@sanity/sfcc 1.0.17 → 1.0.19
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +2 -11
- package/dist/index.d.ts.map +1 -1
- package/package.json +7 -7
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { DecorationMember, ObjectMember } from "sanity";
|
|
2
2
|
import { Ref } from "react";
|
|
3
|
+
import "sanity/structure";
|
|
3
4
|
/**
|
|
4
5
|
* SFCC category store field — contains all read-only data synced from
|
|
5
6
|
* Salesforce Commerce Cloud. Add this to a `category` document type's
|
|
@@ -30,17 +31,7 @@ declare const sfccCategoryPreview: {
|
|
|
30
31
|
parentName: string;
|
|
31
32
|
parentId: string;
|
|
32
33
|
};
|
|
33
|
-
prepare({
|
|
34
|
-
imageUrl,
|
|
35
|
-
displayName,
|
|
36
|
-
title,
|
|
37
|
-
name,
|
|
38
|
-
categoryId,
|
|
39
|
-
parentDisplayName,
|
|
40
|
-
parentName,
|
|
41
|
-
parentId,
|
|
42
|
-
isActive
|
|
43
|
-
}: {
|
|
34
|
+
prepare({ imageUrl, displayName, title, name, categoryId, parentDisplayName, parentName, parentId, isActive }: {
|
|
44
35
|
imageUrl?: string;
|
|
45
36
|
displayName?: {
|
|
46
37
|
value: string;
|
package/dist/index.d.ts.map
CHANGED
|
@@ -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":"
|
|
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":";;;;;;;;;;;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"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sanity/sfcc",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.19",
|
|
4
4
|
"description": "Sanity plugin for Salesforce Commerce Cloud (SFCC) integration — synced product and category data with editorial enrichment.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"salesforce-commerce-cloud",
|
|
@@ -29,21 +29,21 @@
|
|
|
29
29
|
"./package.json": "./package.json"
|
|
30
30
|
},
|
|
31
31
|
"dependencies": {
|
|
32
|
-
"@sanity/icons": "^5.
|
|
33
|
-
"@sanity/ui": "^3.3.
|
|
32
|
+
"@sanity/icons": "^5.1.0",
|
|
33
|
+
"@sanity/ui": "^3.3.5"
|
|
34
34
|
},
|
|
35
35
|
"devDependencies": {
|
|
36
36
|
"@sanity/tsconfig": "^2.2.0",
|
|
37
|
-
"@sanity/tsdown-config": "^0.
|
|
38
|
-
"@types/node": "^24.13.
|
|
37
|
+
"@sanity/tsdown-config": "^0.14.0",
|
|
38
|
+
"@types/node": "^24.13.3",
|
|
39
39
|
"@types/react": "^19.2.17",
|
|
40
40
|
"@types/react-dom": "^19.2.3",
|
|
41
41
|
"babel-plugin-react-compiler": "^1.0.0",
|
|
42
42
|
"react": "^19.2.7",
|
|
43
43
|
"react-dom": "^19.2.7",
|
|
44
|
-
"sanity": "^6.
|
|
44
|
+
"sanity": "^6.4.0",
|
|
45
45
|
"styled-components": "^6.4.3",
|
|
46
|
-
"tsdown": "^0.22.
|
|
46
|
+
"tsdown": "^0.22.7"
|
|
47
47
|
},
|
|
48
48
|
"peerDependencies": {
|
|
49
49
|
"react": "^19.2",
|