@takeshape/schema 9.43.0 → 9.47.0
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/migration/index.d.ts +1 -0
- package/dist/migration/index.d.ts.map +1 -1
- package/dist/migration/index.js +4 -1
- package/dist/migration/to/v3.34.0.d.ts +7 -0
- package/dist/migration/to/v3.34.0.d.ts.map +1 -0
- package/dist/migration/to/v3.34.0.js +161 -0
- package/dist/project-schema/index.d.ts +4 -1
- package/dist/project-schema/index.d.ts.map +1 -1
- package/dist/project-schema/index.js +20 -3
- package/dist/project-schema/latest.d.ts +1 -1
- package/dist/project-schema/migrate.d.ts.map +1 -1
- package/dist/project-schema/migrate.js +4 -0
- package/dist/project-schema/v3.34.0.d.ts +1446 -0
- package/dist/project-schema/v3.34.0.d.ts.map +1 -0
- package/dist/project-schema/v3.34.0.js +5 -0
- package/dist/schema-util.js +5 -5
- package/dist/schemas/index.d.ts +2 -2
- package/dist/schemas/index.d.ts.map +1 -1
- package/dist/schemas/index.js +6 -4
- package/dist/schemas/index.ts +4 -2
- package/dist/schemas/project-schema/latest.json +3 -3
- package/dist/schemas/project-schema/v3.34.0.json +3088 -0
- package/dist/schemas/project-schema.json +3 -0
- package/dist/types/types.d.ts +2 -2
- package/dist/types/types.d.ts.map +1 -1
- package/es/migration/index.js +3 -1
- package/es/migration/to/v3.34.0.js +140 -0
- package/es/project-schema/index.js +3 -1
- package/es/project-schema/migrate.js +5 -1
- package/es/project-schema/v3.34.0.js +1 -0
- package/es/schema-util.js +5 -5
- package/es/schemas/index.js +4 -3
- package/es/schemas/index.ts +4 -2
- package/es/schemas/project-schema/latest.json +3 -3
- package/es/schemas/project-schema/v3.34.0.json +3088 -0
- package/es/schemas/project-schema.json +3 -0
- package/examples/latest/betzino.json +2012 -1756
- package/examples/latest/blog-schema.json +1 -1
- package/examples/latest/brewery-schema.json +31 -26
- package/examples/latest/complex-project-schema.json +645 -480
- package/examples/latest/complex-schema.json +866 -671
- package/examples/latest/fabric-ecommerce.json +7 -38
- package/examples/latest/frank-and-fred-schema.json +866 -671
- package/examples/latest/klirr-schema.json +1641 -1264
- package/examples/latest/massive-schema.json +897 -681
- package/examples/latest/mill-components-schema.json +1 -1
- package/examples/latest/one-earth.json +3012 -2462
- package/examples/latest/pet-oneof-array.json +1 -1
- package/examples/latest/post-schema.json +1 -1
- package/examples/latest/pruned-shopify-product-schema.json +1 -1
- package/examples/latest/real-world-schema.json +19 -14
- package/examples/latest/recursive-repeater-schema.json +1 -1
- package/examples/latest/recursive-schema.json +1 -1
- package/examples/latest/rick-and-morty-ast.json +39 -226
- package/examples/latest/rick-and-morty-graphql.json +35 -222
- package/examples/latest/rick-and-morty-rest.json +1 -1
- package/examples/latest/schema-with-repeater-draftjs.json +1 -1
- package/examples/latest/shape-books-v3_2_0.json +19 -14
- package/examples/latest/shape-books.json +19 -14
- package/examples/latest/shape-editor-schema-edited.json +1009 -0
- package/examples/latest/shape-editor-schema-initial.json +411 -0
- package/examples/latest/shopify-lookbook.json +9 -39
- package/examples/latest/shopify-product-2022-07.json +21 -213
- package/examples/latest/shopify-product-2023-04.json +21 -213
- package/examples/latest/shopify-store-with-widget.json +97 -360
- package/examples/latest/stripe-product-runtime-schema.json +21 -213
- package/examples/latest/stripe-starter-resolved.json +21 -213
- package/examples/latest/user-schema-no-required.json +1 -1
- package/examples/latest/user-schema-with-defaults.json +1 -1
- package/examples/source/shape-editor-schema-edited.json +1009 -0
- package/examples/source/shape-editor-schema-initial.json +411 -0
- package/package.json +5 -5
|
@@ -81,258 +81,83 @@
|
|
|
81
81
|
}
|
|
82
82
|
}
|
|
83
83
|
},
|
|
84
|
-
"
|
|
84
|
+
"TSStaticSiteEnvironmentVariables": {
|
|
85
85
|
"default": {
|
|
86
|
+
"widget": "repeater",
|
|
86
87
|
"order": [
|
|
87
|
-
"
|
|
88
|
-
"
|
|
89
|
-
"destination",
|
|
90
|
-
"idKey",
|
|
91
|
-
"secretKey",
|
|
92
|
-
"environmentVariables"
|
|
88
|
+
"name",
|
|
89
|
+
"value"
|
|
93
90
|
],
|
|
91
|
+
"disabled": true,
|
|
94
92
|
"properties": {
|
|
95
|
-
"
|
|
96
|
-
"widget": "singleLineText",
|
|
97
|
-
"disabled": true
|
|
98
|
-
},
|
|
99
|
-
"provider": {
|
|
100
|
-
"widget": "dropdown",
|
|
101
|
-
"disabled": true
|
|
102
|
-
},
|
|
103
|
-
"destination": {
|
|
93
|
+
"name": {
|
|
104
94
|
"widget": "singleLineText",
|
|
105
|
-
"instructions": "Deployment Bucket or FTP Host",
|
|
106
95
|
"disabled": true
|
|
107
96
|
},
|
|
108
|
-
"
|
|
97
|
+
"value": {
|
|
109
98
|
"widget": "singleLineText",
|
|
110
|
-
"instructions": "AWS Access Key ID or Google Cloud Storage Client Email or FTP Username",
|
|
111
|
-
"disabled": true
|
|
112
|
-
},
|
|
113
|
-
"secretKey": {
|
|
114
|
-
"widget": "sensitiveField",
|
|
115
|
-
"instructions": "AWS Secret Access Key or Google Cloud Storage Private Key or FTP Password",
|
|
116
|
-
"multiline": true,
|
|
117
99
|
"disabled": true
|
|
118
|
-
},
|
|
119
|
-
"environmentVariables": {
|
|
120
|
-
"widget": "repeater",
|
|
121
|
-
"order": [
|
|
122
|
-
"name",
|
|
123
|
-
"value"
|
|
124
|
-
],
|
|
125
|
-
"disabled": true,
|
|
126
|
-
"properties": {
|
|
127
|
-
"name": {
|
|
128
|
-
"widget": "singleLineText",
|
|
129
|
-
"disabled": true
|
|
130
|
-
},
|
|
131
|
-
"value": {
|
|
132
|
-
"widget": "singleLineText",
|
|
133
|
-
"disabled": true
|
|
134
|
-
}
|
|
135
|
-
}
|
|
136
100
|
}
|
|
137
101
|
}
|
|
138
|
-
}
|
|
139
|
-
|
|
102
|
+
}
|
|
103
|
+
},
|
|
104
|
+
"TSStaticSite": {
|
|
105
|
+
"default": {
|
|
140
106
|
"order": [
|
|
141
107
|
"title",
|
|
142
108
|
"provider",
|
|
143
|
-
"baseUrl"
|
|
144
|
-
],
|
|
145
|
-
"properties": {
|
|
146
|
-
"title": {
|
|
147
|
-
"widget": "singleLineText",
|
|
148
|
-
"disabled": true
|
|
149
|
-
},
|
|
150
|
-
"provider": {
|
|
151
|
-
"widget": "dropdown",
|
|
152
|
-
"disabled": true
|
|
153
|
-
},
|
|
154
|
-
"baseUrl": {
|
|
155
|
-
"widget": "singleLineText",
|
|
156
|
-
"disabled": true
|
|
157
|
-
}
|
|
158
|
-
}
|
|
159
|
-
},
|
|
160
|
-
"generalFooter": {
|
|
161
|
-
"order": [
|
|
162
|
-
"environmentVariables",
|
|
163
|
-
"triggers"
|
|
164
|
-
],
|
|
165
|
-
"properties": {
|
|
166
|
-
"environmentVariables": {
|
|
167
|
-
"widget": "repeater",
|
|
168
|
-
"order": [
|
|
169
|
-
"name",
|
|
170
|
-
"value"
|
|
171
|
-
],
|
|
172
|
-
"disabled": true,
|
|
173
|
-
"properties": {
|
|
174
|
-
"name": {
|
|
175
|
-
"widget": "singleLineText",
|
|
176
|
-
"disabled": true
|
|
177
|
-
},
|
|
178
|
-
"value": {
|
|
179
|
-
"widget": "singleLineText",
|
|
180
|
-
"disabled": true
|
|
181
|
-
}
|
|
182
|
-
}
|
|
183
|
-
},
|
|
184
|
-
"triggers": {
|
|
185
|
-
"widget": "repeater",
|
|
186
|
-
"order": [
|
|
187
|
-
"contentTypeId",
|
|
188
|
-
"status"
|
|
189
|
-
],
|
|
190
|
-
"disabled": true,
|
|
191
|
-
"preview": "siteTriggerPreview",
|
|
192
|
-
"properties": {
|
|
193
|
-
"contentTypeId": {
|
|
194
|
-
"widget": "dropdown",
|
|
195
|
-
"disabled": true
|
|
196
|
-
},
|
|
197
|
-
"status": {
|
|
198
|
-
"widget": "dropdown",
|
|
199
|
-
"disabled": true
|
|
200
|
-
}
|
|
201
|
-
}
|
|
202
|
-
}
|
|
203
|
-
}
|
|
204
|
-
},
|
|
205
|
-
"s3": {
|
|
206
|
-
"order": [
|
|
207
109
|
"destination",
|
|
208
110
|
"idKey",
|
|
209
111
|
"secretKey",
|
|
210
|
-
"
|
|
112
|
+
"environmentVariables"
|
|
211
113
|
],
|
|
212
114
|
"properties": {
|
|
213
|
-
"
|
|
214
|
-
"widget": "singleLineText",
|
|
215
|
-
"instructions": "Deployment Bucket Name",
|
|
216
|
-
"disabled": true
|
|
217
|
-
},
|
|
218
|
-
"idKey": {
|
|
115
|
+
"title": {
|
|
219
116
|
"widget": "singleLineText",
|
|
220
|
-
"instructions": "AWS Access Key ID",
|
|
221
117
|
"disabled": true
|
|
222
118
|
},
|
|
223
|
-
"
|
|
224
|
-
"widget": "
|
|
225
|
-
"instructions": "AWS Secret Access Key",
|
|
226
|
-
"multiline": true,
|
|
119
|
+
"provider": {
|
|
120
|
+
"widget": "dropdown",
|
|
227
121
|
"disabled": true
|
|
228
122
|
},
|
|
229
|
-
"privateAcl": {
|
|
230
|
-
"widget": "checkbox",
|
|
231
|
-
"instructions": "Disable public access to deployed files. This is useful when fronting S3 with CloudFront or with \"Block All Public Access\"",
|
|
232
|
-
"disabled": true
|
|
233
|
-
}
|
|
234
|
-
}
|
|
235
|
-
},
|
|
236
|
-
"gcs": {
|
|
237
|
-
"order": [
|
|
238
|
-
"destination",
|
|
239
|
-
"idKey",
|
|
240
|
-
"secretKey",
|
|
241
|
-
"privateAcl"
|
|
242
|
-
],
|
|
243
|
-
"properties": {
|
|
244
123
|
"destination": {
|
|
245
124
|
"widget": "singleLineText",
|
|
246
|
-
"instructions": "Deployment Bucket
|
|
125
|
+
"instructions": "Deployment Bucket or FTP Host",
|
|
247
126
|
"disabled": true
|
|
248
127
|
},
|
|
249
128
|
"idKey": {
|
|
250
129
|
"widget": "singleLineText",
|
|
251
|
-
"instructions": "Google Cloud Storage Client Email",
|
|
130
|
+
"instructions": "AWS Access Key ID or Google Cloud Storage Client Email or FTP Username",
|
|
252
131
|
"disabled": true
|
|
253
132
|
},
|
|
254
133
|
"secretKey": {
|
|
255
134
|
"widget": "sensitiveField",
|
|
256
|
-
"instructions": "Google Cloud Storage Private Key",
|
|
135
|
+
"instructions": "AWS Secret Access Key or Google Cloud Storage Private Key or FTP Password",
|
|
257
136
|
"multiline": true,
|
|
258
137
|
"disabled": true
|
|
259
138
|
},
|
|
260
|
-
"
|
|
261
|
-
"widget": "
|
|
262
|
-
"instructions": "Disable public access to deployed files.",
|
|
263
|
-
"disabled": true
|
|
264
|
-
}
|
|
265
|
-
}
|
|
266
|
-
},
|
|
267
|
-
"ftp": {
|
|
268
|
-
"order": [
|
|
269
|
-
"destination",
|
|
270
|
-
"idKey",
|
|
271
|
-
"secretKey"
|
|
272
|
-
],
|
|
273
|
-
"properties": {
|
|
274
|
-
"destination": {
|
|
275
|
-
"widget": "singleLineText",
|
|
276
|
-
"instructions": "FTP Host",
|
|
277
|
-
"disabled": true
|
|
278
|
-
},
|
|
279
|
-
"idKey": {
|
|
280
|
-
"widget": "singleLineText",
|
|
281
|
-
"instructions": "FTP Username",
|
|
282
|
-
"disabled": true
|
|
283
|
-
},
|
|
284
|
-
"secretKey": {
|
|
285
|
-
"widget": "sensitiveField",
|
|
286
|
-
"instructions": "FTP Password",
|
|
287
|
-
"multiline": true,
|
|
139
|
+
"environmentVariables": {
|
|
140
|
+
"widget": "shapeArray",
|
|
288
141
|
"disabled": true
|
|
289
142
|
}
|
|
290
143
|
}
|
|
291
|
-
}
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
"secretKey"
|
|
296
|
-
],
|
|
144
|
+
}
|
|
145
|
+
},
|
|
146
|
+
"HomepageHero": {
|
|
147
|
+
"default": {
|
|
297
148
|
"properties": {
|
|
298
|
-
"
|
|
299
|
-
"widget": "
|
|
300
|
-
"instructions": "Storage Account Name",
|
|
301
|
-
"disabled": true
|
|
149
|
+
"image": {
|
|
150
|
+
"widget": "image"
|
|
302
151
|
},
|
|
303
|
-
"
|
|
304
|
-
"widget": "
|
|
305
|
-
"instructions": "Access key",
|
|
306
|
-
"multiline": true,
|
|
307
|
-
"disabled": true
|
|
308
|
-
}
|
|
309
|
-
}
|
|
310
|
-
},
|
|
311
|
-
"netlify": {
|
|
312
|
-
"order": [
|
|
313
|
-
"destination"
|
|
314
|
-
],
|
|
315
|
-
"properties": {
|
|
316
|
-
"destination": {
|
|
317
|
-
"widget": "publishTargets",
|
|
318
|
-
"itemTemplate": "siteDropdownItem",
|
|
319
|
-
"instructions": "Choose existing or create a new site.",
|
|
320
|
-
"disabled": true
|
|
152
|
+
"featuredPost": {
|
|
153
|
+
"widget": "relationship"
|
|
321
154
|
}
|
|
322
|
-
}
|
|
323
|
-
|
|
324
|
-
"vercel": {
|
|
155
|
+
},
|
|
156
|
+
"widget": "object",
|
|
325
157
|
"order": [
|
|
326
|
-
"
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
"destination": {
|
|
330
|
-
"widget": "publishTargets",
|
|
331
|
-
"itemTemplate": "siteDropdownItem",
|
|
332
|
-
"instructions": "Choose existing or create a new project.",
|
|
333
|
-
"disabled": true
|
|
334
|
-
}
|
|
335
|
-
}
|
|
158
|
+
"image",
|
|
159
|
+
"featuredPost"
|
|
160
|
+
]
|
|
336
161
|
}
|
|
337
162
|
},
|
|
338
163
|
"Homepage": {
|
|
@@ -342,19 +167,7 @@
|
|
|
342
167
|
"widget": "singleLineText"
|
|
343
168
|
},
|
|
344
169
|
"hero": {
|
|
345
|
-
"
|
|
346
|
-
"image": {
|
|
347
|
-
"widget": "image"
|
|
348
|
-
},
|
|
349
|
-
"featuredPost": {
|
|
350
|
-
"widget": "relationship"
|
|
351
|
-
}
|
|
352
|
-
},
|
|
353
|
-
"widget": "object",
|
|
354
|
-
"order": [
|
|
355
|
-
"image",
|
|
356
|
-
"featuredPost"
|
|
357
|
-
]
|
|
170
|
+
"widget": "shapeObject"
|
|
358
171
|
}
|
|
359
172
|
},
|
|
360
173
|
"order": [
|
|
@@ -2292,5 +2105,5 @@
|
|
|
2292
2105
|
}
|
|
2293
2106
|
}
|
|
2294
2107
|
},
|
|
2295
|
-
"schemaVersion": "3.
|
|
2108
|
+
"schemaVersion": "3.34.0"
|
|
2296
2109
|
}
|
|
@@ -83,6 +83,23 @@
|
|
|
83
83
|
]
|
|
84
84
|
}
|
|
85
85
|
},
|
|
86
|
+
"HomepageHero": {
|
|
87
|
+
"default": {
|
|
88
|
+
"properties": {
|
|
89
|
+
"image": {
|
|
90
|
+
"widget": "image"
|
|
91
|
+
},
|
|
92
|
+
"featuredPost": {
|
|
93
|
+
"widget": "relationship"
|
|
94
|
+
}
|
|
95
|
+
},
|
|
96
|
+
"widget": "object",
|
|
97
|
+
"order": [
|
|
98
|
+
"image",
|
|
99
|
+
"featuredPost"
|
|
100
|
+
]
|
|
101
|
+
}
|
|
102
|
+
},
|
|
86
103
|
"Homepage": {
|
|
87
104
|
"default": {
|
|
88
105
|
"properties": {
|
|
@@ -93,19 +110,7 @@
|
|
|
93
110
|
"widget": "relationship"
|
|
94
111
|
},
|
|
95
112
|
"hero": {
|
|
96
|
-
"
|
|
97
|
-
"image": {
|
|
98
|
-
"widget": "image"
|
|
99
|
-
},
|
|
100
|
-
"featuredPost": {
|
|
101
|
-
"widget": "relationship"
|
|
102
|
-
}
|
|
103
|
-
},
|
|
104
|
-
"widget": "object",
|
|
105
|
-
"order": [
|
|
106
|
-
"image",
|
|
107
|
-
"featuredPost"
|
|
108
|
-
]
|
|
113
|
+
"widget": "shapeObject"
|
|
109
114
|
}
|
|
110
115
|
},
|
|
111
116
|
"order": [
|
|
@@ -1124,6 +1129,6 @@
|
|
|
1124
1129
|
}
|
|
1125
1130
|
}
|
|
1126
1131
|
},
|
|
1127
|
-
"schemaVersion": "3.
|
|
1132
|
+
"schemaVersion": "3.34.0",
|
|
1128
1133
|
"services": {}
|
|
1129
1134
|
}
|
|
@@ -83,6 +83,23 @@
|
|
|
83
83
|
]
|
|
84
84
|
}
|
|
85
85
|
},
|
|
86
|
+
"HomepageHero": {
|
|
87
|
+
"default": {
|
|
88
|
+
"properties": {
|
|
89
|
+
"image": {
|
|
90
|
+
"widget": "image"
|
|
91
|
+
},
|
|
92
|
+
"featuredPost": {
|
|
93
|
+
"widget": "relationship"
|
|
94
|
+
}
|
|
95
|
+
},
|
|
96
|
+
"widget": "object",
|
|
97
|
+
"order": [
|
|
98
|
+
"image",
|
|
99
|
+
"featuredPost"
|
|
100
|
+
]
|
|
101
|
+
}
|
|
102
|
+
},
|
|
86
103
|
"Homepage": {
|
|
87
104
|
"default": {
|
|
88
105
|
"properties": {
|
|
@@ -93,19 +110,7 @@
|
|
|
93
110
|
"widget": "relationship"
|
|
94
111
|
},
|
|
95
112
|
"hero": {
|
|
96
|
-
"
|
|
97
|
-
"image": {
|
|
98
|
-
"widget": "image"
|
|
99
|
-
},
|
|
100
|
-
"featuredPost": {
|
|
101
|
-
"widget": "relationship"
|
|
102
|
-
}
|
|
103
|
-
},
|
|
104
|
-
"widget": "object",
|
|
105
|
-
"order": [
|
|
106
|
-
"image",
|
|
107
|
-
"featuredPost"
|
|
108
|
-
]
|
|
113
|
+
"widget": "shapeObject"
|
|
109
114
|
}
|
|
110
115
|
},
|
|
111
116
|
"order": [
|
|
@@ -1124,6 +1129,6 @@
|
|
|
1124
1129
|
}
|
|
1125
1130
|
}
|
|
1126
1131
|
},
|
|
1127
|
-
"schemaVersion": "3.
|
|
1132
|
+
"schemaVersion": "3.34.0",
|
|
1128
1133
|
"services": {}
|
|
1129
1134
|
}
|