@sanity/sfcc
1.0.171.0.18
~
Modified (3 files)
Index: package/package.json
===================================================================
--- package/package.json
+++ package/package.json
@@ -1,7 +1,7 @@
{
"name": "@sanity/sfcc",
- "version": "1.0.17",
+ "version": "1.0.18",
"description": "Sanity plugin for Salesforce Commerce Cloud (SFCC) integration — synced product and category data with editorial enrichment.",
"keywords": [
"salesforce-commerce-cloud",
"sanity",
@@ -29,22 +29,22 @@
"./package.json": "./package.json"
},
"dependencies": {
"@sanity/icons": "^5.0.0",
- "@sanity/ui": "^3.3.1"
+ "@sanity/ui": "^3.3.5"
},
"devDependencies": {
"@sanity/tsconfig": "^2.2.0",
- "@sanity/tsdown-config": "^0.11.0",
- "@types/node": "^24.13.2",
+ "@sanity/tsdown-config": "^0.13.1",
+ "@types/node": "^24.13.3",
"@types/react": "^19.2.17",
"@types/react-dom": "^19.2.3",
"babel-plugin-react-compiler": "^1.0.0",
"react": "^19.2.7",
"react-dom": "^19.2.7",
"sanity": "^6.3.0",
"styled-components": "^6.4.3",
- "tsdown": "^0.22.3"
+ "tsdown": "^0.22.5"
},
"peerDependencies": {
"react": "^19.2",
"react-dom": "^19.2", Index: package/dist/index.d.ts.map
===================================================================
--- package/dist/index.d.ts.map
+++ package/dist/index.d.ts.map
@@ -1,1 +1,1 @@
-{"version":3,"file":"index.d.ts","names":[],"sources":["../src/schemas/category.tsx","../src/schemas/product.tsx","../src/structure/categoryStructure.ts","../src/structure/productStructure.ts","../src/components/SfccDocumentStatus.tsx","../src/components/SfccOfflineBanner.tsx","../src/index.ts"],"mappings":";;;;;;AAYA;;;;cAAa,sBAAA;;;;;;;;;;cA4CA,mBAAA;EACX,MAAA;IACE,QAAA;IACA,QAAA;IACA,WAAA;IACA,KAAA;IACA,IAAA;IACA,UAAA;IACA,iBAAA;IACA,UAAA;IACA,QAAA;EAAA;EAEF,OAAA;IAAO,QAAA;IAAA,WAAA;IAAA,KAAA;IAAA,IAAA;IAAA,UAAA;IAAA,iBAAA;IAAA,UAAA;IAAA,QAAA;IAAA;EAAA;IAWL,QAAA;IACA,WAAA;MAAe,KAAA;IAAA;IACf,KAAA;IACA,IAAA;IACA,UAAA;IACA,iBAAA;MAAqB,KAAA;IAAA;IACrB,UAAA;IACA,QAAA;IACA,QAAA;EAAA;IASE,KAAA;IACA,QAAA;IACA,KAAA,kBAAK,GAAA,CAAA,OAAA;EAAA;AAAA;;;;;AAtFX;;;;cCAa,qBAAA;;;;;;;;;;;cA+IA,kBAAA;;IAET,IAAA;IACA,EAAA;IACA,WAAA;IACA,mBAAA;IACA,KAAA;IACA,IAAA;IACA,UAAA;IACA,MAAA;IACA,YAAA;IACA,QAAA;EAAA;;IAGA,IAAA;MAAQ,KAAA;IAAA;IACR,EAAA;IACA,WAAA;IACA,mBAAA;IACA,KAAA;IACA,IAAA;IACA,UAAA;IACA,MAAA;IACA,YAAA;IACA,QAAA;EAAA;;;;;;cChLS,iBAAA,GAAiB,CAAA,6BAAA,gBAAA,EAAA,OAAA,mBAAA,aAAA,gCAAA,eAAA;AAAA,cCCjB,gBAAA,GAAgB,CAAA,6BAAA,gBAAA,EAAA,OAAA,mBAAA,aAAA,gCAAA,eAAA;AAAA,KCCxB,KAAA;EACH,SAAA;EACA,QAAA;EACA,KAAA;EACA,GAAA,GAAM,GAAG,CAAC,cAAA;AAAA;AAAA,cAGN,kBAAA,GAAkB,KAAA,EAAW,KAAK,qBAAA,GAAA,CAAA,OAAA;;;;;AJCxC;;;iBKDgB,iBAAA,oBAAiB,GAAA,CAAA,OAAA;;;;;;;cCWpB,iBAAA,GAAiB,OAAA,EAAa,YAAA,QAAkB,YAAA,GAAe,gBAAA;;;;;;;;;;cAoB/D,UAAA,mBAAU,MAAA"}
\ No newline at end of file
+{"version":3,"file":"index.d.ts","names":[],"sources":["../src/schemas/category.tsx","../src/schemas/product.tsx","../src/structure/categoryStructure.ts","../src/structure/productStructure.ts","../src/components/SfccDocumentStatus.tsx","../src/components/SfccOfflineBanner.tsx","../src/index.ts"],"mappings":";;;;;;;;;;;cAYa;;;;;;;;;;cA4CA;EACX;IACE;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;;EAEF,UAAO,UAAA,aAAA,OAAA,MAAA,YAAA,mBAAA,YAAA,UAAA;IAWL;IACA;MAAe;;IACf;IACA;IACA;IACA;MAAqB;;IACrB;IACA;IACA;;IASE;IACA;IACA,uBAAK,IAAA;;;;;;;;;;;cCtFE;;;;;;;;;;;cA+IA;;IAET;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;;;IAGA;MAAQ;;IACR;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;;;;;;;cChLS,oBAAiB,8BAAA,kBAAA,0BAAA,6CAAA;cCCjB,mBAAgB,8BAAA,kBAAA,0BAAA,6CAAA;KCCxB;EACH;EACA;EACA;EACA,MAAM,IAAI;;cAGN,qBAAkB,OAAW,0BAAK,IAAA;;;;;;;;iBCAxB,qCAAiB,IAAA;;;;;;;cCWpB,oBAAiB,SAAa,oBAAkB,eAAe;;;;;;;;;;cAoB/D,6BAAU"}
\ No newline at end of file Index: package/dist/index.d.ts
===================================================================
--- package/dist/index.d.ts
+++ package/dist/index.d.ts
@@ -1,6 +1,7 @@
import { DecorationMember, ObjectMember } from "sanity";
import { Ref } from "react";
+import "sanity/structure";
/**
* SFCC category store field — contains all read-only data synced from
* Salesforce Commerce Cloud. Add this to a `category` document type's
* `fields` array alongside your own custom fields.
@@ -29,19 +30,9 @@
parentDisplayName: string;
parentName: string;
parentId: string;
};
- prepare({
- imageUrl,
- displayName,
- title,
- name,
- categoryId,
- parentDisplayName,
- parentName,
- parentId,
- isActive
- }: {
+ prepare({ imageUrl, displayName, title, name, categoryId, parentDisplayName, parentName, parentId, isActive }: {
imageUrl?: string;
displayName?: {
value: string;
}[];