@sanity/cli 4.13.0-next.49 → 4.13.0-next.50
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/package.json +7 -7
- package/templates/shopify/schemaTypes/index.ts +2 -0
- package/templates/shopify/schemaTypes/objects/shopify/shopType.ts +15 -0
- package/templates/shopify-online-storefront/schemaTypes/objects/shopifyCollection.ts +7 -0
- package/templates/shopify-online-storefront/schemaTypes/objects/shopifyProduct.ts +7 -0
- package/templates/shopify-online-storefront/schemaTypes/objects/shopifyProductVariant.ts +7 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sanity/cli",
|
|
3
|
-
"version": "4.13.0-next.
|
|
3
|
+
"version": "4.13.0-next.50+6138bda229",
|
|
4
4
|
"description": "Sanity CLI tool for managing Sanity installations, managing plugins, schemas and datasets",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"sanity",
|
|
@@ -60,7 +60,7 @@
|
|
|
60
60
|
"pkg-dir": "^5.0.0",
|
|
61
61
|
"prettier": "^3.6.2",
|
|
62
62
|
"semver": "^7.7.2",
|
|
63
|
-
"@sanity/codegen": "4.13.0-next.
|
|
63
|
+
"@sanity/codegen": "4.13.0-next.50+6138bda229"
|
|
64
64
|
},
|
|
65
65
|
"devDependencies": {
|
|
66
66
|
"@rexxars/gitconfiglocal": "^3.0.1",
|
|
@@ -115,11 +115,11 @@
|
|
|
115
115
|
"vitest": "^3.2.4",
|
|
116
116
|
"which": "^2.0.2",
|
|
117
117
|
"xdg-basedir": "^4.0.0",
|
|
118
|
-
"@repo/
|
|
119
|
-
"@repo/
|
|
120
|
-
"@
|
|
121
|
-
"@repo/test-config": "4.13.0-next.
|
|
122
|
-
"@
|
|
118
|
+
"@repo/eslint-config": "4.13.0-next.50+6138bda229",
|
|
119
|
+
"@repo/package.config": "4.13.0-next.50+6138bda229",
|
|
120
|
+
"@repo/tsconfig": "4.13.0-next.50+6138bda229",
|
|
121
|
+
"@repo/test-config": "4.13.0-next.50+6138bda229",
|
|
122
|
+
"@sanity/types": "4.13.0-next.50+6138bda229"
|
|
123
123
|
},
|
|
124
124
|
"peerDependencies": {
|
|
125
125
|
"babel-plugin-react-compiler": "*"
|
|
@@ -39,6 +39,7 @@ import {seoType} from './objects/seoType'
|
|
|
39
39
|
import {shopifyCollectionType} from './objects/shopify/shopifyCollectionType'
|
|
40
40
|
import {shopifyProductType} from './objects/shopify/shopifyProductType'
|
|
41
41
|
import {shopifyProductVariantType} from './objects/shopify/shopifyProductVariantType'
|
|
42
|
+
import {shopType} from './objects/shopify/shopType'
|
|
42
43
|
import {spotType} from './objects/hotspot/spotType'
|
|
43
44
|
|
|
44
45
|
// Objects used as annotations must be imported first
|
|
@@ -82,6 +83,7 @@ const objects = [
|
|
|
82
83
|
shopifyCollectionType,
|
|
83
84
|
shopifyProductType,
|
|
84
85
|
shopifyProductVariantType,
|
|
86
|
+
shopType,
|
|
85
87
|
spotType,
|
|
86
88
|
]
|
|
87
89
|
|
|
@@ -139,6 +139,13 @@ export default defineType({
|
|
|
139
139
|
type: 'string',
|
|
140
140
|
description: 'Image displayed in both cart and checkout',
|
|
141
141
|
}),
|
|
142
|
+
// Shop details
|
|
143
|
+
defineField({
|
|
144
|
+
name: 'shop',
|
|
145
|
+
title: 'Shop',
|
|
146
|
+
type: 'shop',
|
|
147
|
+
description: 'Shopify Shop details',
|
|
148
|
+
}),
|
|
142
149
|
],
|
|
143
150
|
readOnly: true,
|
|
144
151
|
})
|