@sanity/cli 4.13.0-next.48 → 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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sanity/cli",
3
- "version": "4.13.0-next.48+97a2e0cbcd",
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.48+97a2e0cbcd"
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/package.config": "4.13.0-next.48+97a2e0cbcd",
119
- "@repo/eslint-config": "4.13.0-next.48+97a2e0cbcd",
120
- "@repo/test-config": "4.13.0-next.48+97a2e0cbcd",
121
- "@repo/tsconfig": "4.13.0-next.48+97a2e0cbcd",
122
- "@sanity/types": "4.13.0-next.48+97a2e0cbcd"
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
 
@@ -0,0 +1,15 @@
1
+ import {defineField} from 'sanity'
2
+
3
+ export const shopType = defineField({
4
+ name: 'shop',
5
+ title: 'Shop',
6
+ type: 'object',
7
+ readOnly: true,
8
+ fields: [
9
+ defineField({
10
+ name: 'domain',
11
+ title: 'Domain',
12
+ type: 'string',
13
+ }),
14
+ ],
15
+ })
@@ -98,5 +98,12 @@ export default defineType({
98
98
  title: 'Sort order',
99
99
  type: 'string',
100
100
  }),
101
+ // Shop details
102
+ defineField({
103
+ name: 'shop',
104
+ title: 'Shop',
105
+ type: 'shop',
106
+ description: 'Shopify Shop details',
107
+ }),
101
108
  ],
102
109
  })
@@ -154,5 +154,12 @@ export default defineType({
154
154
  },
155
155
  ],
156
156
  }),
157
+ // Shop details
158
+ defineField({
159
+ name: 'shop',
160
+ title: 'Shop',
161
+ type: 'shop',
162
+ description: 'Shopify Shop details',
163
+ }),
157
164
  ],
158
165
  })
@@ -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
  })