@shushed/helpers 0.0.246 → 0.0.247-airtable-helper-views-20260130114235
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/cjs/contracts/product-draft.schema.json +0 -14
- package/dist/cjs/contracts/product.schema.json +376 -119
- package/dist/cjs/dist-dereferenced/messages/product-draft.js +1 -1
- package/dist/cjs/dist-dereferenced/messages/product.js +1 -1
- package/dist/cjs/dist-dereferenced/product-draft.js +1 -1
- package/dist/cjs/dist-dereferenced/product.js +1 -1
- package/dist/cjs/src-public/airtable.js +11 -4
- package/dist/types/dist-dereferenced/messages/product-draft.d.ts +0 -6
- package/dist/types/dist-dereferenced/messages/product.d.ts +286 -98
- package/dist/types/dist-dereferenced/product-draft.d.ts +0 -6
- package/dist/types/dist-dereferenced/product.d.ts +286 -98
- package/dist/types/dist-types/messages/product-draft.d.ts +0 -2
- package/dist/types/dist-types/messages/product.d.ts +66 -29
- package/dist/types/dist-types/product-draft.d.ts +0 -2
- package/dist/types/dist-types/product.d.ts +66 -29
- package/dist/types/src-public/airtable.d.ts +2 -0
- package/package.json +1 -1
|
@@ -10,6 +10,9 @@ declare const schema: {
|
|
|
10
10
|
readonly slug: {
|
|
11
11
|
readonly type: readonly ["string"];
|
|
12
12
|
};
|
|
13
|
+
readonly style_slug: {
|
|
14
|
+
readonly type: readonly ["string"];
|
|
15
|
+
};
|
|
13
16
|
readonly style_id: {
|
|
14
17
|
readonly type: readonly ["string"];
|
|
15
18
|
};
|
|
@@ -19,8 +22,11 @@ declare const schema: {
|
|
|
19
22
|
readonly style_name: {
|
|
20
23
|
readonly type: "string";
|
|
21
24
|
};
|
|
25
|
+
readonly product_name: {
|
|
26
|
+
readonly type: "string";
|
|
27
|
+
};
|
|
22
28
|
readonly display_name: {
|
|
23
|
-
readonly type: readonly ["string"];
|
|
29
|
+
readonly type: readonly ["string", "null"];
|
|
24
30
|
};
|
|
25
31
|
readonly buffer_quantity: {
|
|
26
32
|
readonly type: "integer";
|
|
@@ -34,6 +40,30 @@ declare const schema: {
|
|
|
34
40
|
readonly type: readonly ["string", "null"];
|
|
35
41
|
readonly format: "date";
|
|
36
42
|
};
|
|
43
|
+
readonly online_from: {
|
|
44
|
+
readonly type: readonly ["string", "null"];
|
|
45
|
+
readonly format: "date-time";
|
|
46
|
+
};
|
|
47
|
+
readonly online_to: {
|
|
48
|
+
readonly type: readonly ["string", "null"];
|
|
49
|
+
readonly format: "date-time";
|
|
50
|
+
};
|
|
51
|
+
readonly first_online_at: {
|
|
52
|
+
readonly type: readonly ["string", "null"];
|
|
53
|
+
readonly format: "date-time";
|
|
54
|
+
};
|
|
55
|
+
readonly last_online_at: {
|
|
56
|
+
readonly type: readonly ["string", "null"];
|
|
57
|
+
readonly format: "date-time";
|
|
58
|
+
};
|
|
59
|
+
readonly first_purchased_at: {
|
|
60
|
+
readonly type: "string";
|
|
61
|
+
readonly format: "date-time";
|
|
62
|
+
};
|
|
63
|
+
readonly first_markdown_at: {
|
|
64
|
+
readonly type: readonly ["string", "null"];
|
|
65
|
+
readonly format: "date-time";
|
|
66
|
+
};
|
|
37
67
|
readonly created_at: {
|
|
38
68
|
readonly type: "string";
|
|
39
69
|
readonly format: "date-time";
|
|
@@ -45,6 +75,9 @@ declare const schema: {
|
|
|
45
75
|
readonly colour_family_name: {
|
|
46
76
|
readonly type: "string";
|
|
47
77
|
};
|
|
78
|
+
readonly colour_code: {
|
|
79
|
+
readonly type: "string";
|
|
80
|
+
};
|
|
48
81
|
readonly colour_name: {
|
|
49
82
|
readonly type: "string";
|
|
50
83
|
};
|
|
@@ -57,6 +90,9 @@ declare const schema: {
|
|
|
57
90
|
readonly sizerange_code: {
|
|
58
91
|
readonly type: "string";
|
|
59
92
|
};
|
|
93
|
+
readonly sizerange_name: {
|
|
94
|
+
readonly type: "string";
|
|
95
|
+
};
|
|
60
96
|
readonly variants: {
|
|
61
97
|
readonly type: "array";
|
|
62
98
|
readonly items: {
|
|
@@ -68,13 +104,27 @@ declare const schema: {
|
|
|
68
104
|
readonly name: {
|
|
69
105
|
readonly type: readonly ["string"];
|
|
70
106
|
};
|
|
71
|
-
readonly ean: {
|
|
72
|
-
readonly type: readonly ["string", "null"];
|
|
73
|
-
};
|
|
74
107
|
};
|
|
75
108
|
readonly required: readonly ["code", "name"];
|
|
76
109
|
};
|
|
77
110
|
};
|
|
111
|
+
readonly images: {
|
|
112
|
+
readonly type: "array";
|
|
113
|
+
readonly items: {
|
|
114
|
+
readonly type: "object";
|
|
115
|
+
readonly properties: {
|
|
116
|
+
readonly type: {
|
|
117
|
+
readonly type: "string";
|
|
118
|
+
readonly enum: readonly ["Campaign", "Ecom", "Flatlay", "UGC", "AI"];
|
|
119
|
+
};
|
|
120
|
+
readonly url: {
|
|
121
|
+
readonly type: "string";
|
|
122
|
+
readonly format: "uri";
|
|
123
|
+
};
|
|
124
|
+
};
|
|
125
|
+
readonly required: readonly ["type", "url"];
|
|
126
|
+
};
|
|
127
|
+
};
|
|
78
128
|
readonly vat_rate_uk: {
|
|
79
129
|
readonly type: readonly ["number", "null"];
|
|
80
130
|
readonly minimum: 0;
|
|
@@ -97,6 +147,17 @@ declare const schema: {
|
|
|
97
147
|
readonly port_of_origin: {
|
|
98
148
|
readonly type: "string";
|
|
99
149
|
};
|
|
150
|
+
readonly supplier_id: {
|
|
151
|
+
readonly type: "string";
|
|
152
|
+
readonly pattern: "^SUP\\d{5}$";
|
|
153
|
+
};
|
|
154
|
+
readonly supplier_name: {
|
|
155
|
+
readonly type: "string";
|
|
156
|
+
};
|
|
157
|
+
readonly factory_id: {
|
|
158
|
+
readonly type: "string";
|
|
159
|
+
readonly pattern: "^FAC\\d{5}$";
|
|
160
|
+
};
|
|
100
161
|
readonly packing_method: {
|
|
101
162
|
readonly type: readonly ["string", "null"];
|
|
102
163
|
readonly enum: readonly ["Standard", "Hanging"];
|
|
@@ -113,78 +174,60 @@ declare const schema: {
|
|
|
113
174
|
readonly strategy_type: {
|
|
114
175
|
readonly type: "string";
|
|
115
176
|
};
|
|
177
|
+
readonly product_type: {
|
|
178
|
+
readonly type: "string";
|
|
179
|
+
};
|
|
180
|
+
readonly stock_type: {
|
|
181
|
+
readonly type: "string";
|
|
182
|
+
};
|
|
116
183
|
readonly category: {
|
|
117
184
|
readonly type: "string";
|
|
118
185
|
};
|
|
119
186
|
readonly subcategory: {
|
|
120
187
|
readonly type: "string";
|
|
121
188
|
};
|
|
122
|
-
readonly
|
|
189
|
+
readonly range: {
|
|
190
|
+
readonly type: readonly ["string", "null"];
|
|
191
|
+
readonly enum: readonly ["Main Collection", "Seasonal"];
|
|
192
|
+
};
|
|
193
|
+
readonly channels_availability: {
|
|
123
194
|
readonly type: readonly ["array"];
|
|
124
195
|
readonly items: {
|
|
125
196
|
readonly type: "string";
|
|
197
|
+
readonly enum: readonly ["DIRECT-UK", "DIRECT-INT", "DIRECT-US", "JL-STORES", "JL-WEB", "NEXT", "MS", "FENWICK", "MORLEYS"];
|
|
126
198
|
};
|
|
127
199
|
};
|
|
128
|
-
readonly
|
|
200
|
+
readonly collections: {
|
|
201
|
+
readonly type: readonly ["string"];
|
|
202
|
+
};
|
|
203
|
+
readonly seasons: {
|
|
129
204
|
readonly type: readonly ["array"];
|
|
130
205
|
readonly items: {
|
|
131
206
|
readonly type: "string";
|
|
132
207
|
};
|
|
133
208
|
};
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
readonly category_assignments: {
|
|
138
|
-
readonly type: "array";
|
|
139
|
-
readonly items: {
|
|
140
|
-
readonly type: "object";
|
|
141
|
-
readonly properties: {
|
|
142
|
-
readonly display_path: {
|
|
143
|
-
readonly type: "array";
|
|
144
|
-
readonly items: {
|
|
145
|
-
readonly type: "string";
|
|
146
|
-
};
|
|
147
|
-
};
|
|
148
|
-
readonly path: {
|
|
149
|
-
readonly type: "array";
|
|
150
|
-
readonly items: {
|
|
151
|
-
readonly type: "string";
|
|
152
|
-
};
|
|
153
|
-
};
|
|
154
|
-
readonly name: {
|
|
155
|
-
readonly type: "string";
|
|
156
|
-
};
|
|
157
|
-
readonly id: {
|
|
209
|
+
readonly drops: {
|
|
210
|
+
readonly type: readonly ["array"];
|
|
211
|
+
readonly items: {
|
|
158
212
|
readonly type: "string";
|
|
159
213
|
};
|
|
160
214
|
};
|
|
215
|
+
readonly fashionability: {
|
|
216
|
+
readonly type: readonly ["string", "null"];
|
|
217
|
+
};
|
|
161
218
|
};
|
|
219
|
+
readonly required: readonly [];
|
|
162
220
|
};
|
|
163
221
|
readonly attributes: {
|
|
164
222
|
readonly type: "object";
|
|
165
223
|
readonly properties: {
|
|
166
|
-
readonly stock_quantity_score: {
|
|
167
|
-
readonly type: "number";
|
|
168
|
-
};
|
|
169
|
-
readonly stock_availability: {
|
|
170
|
-
readonly type: "number";
|
|
171
|
-
};
|
|
172
|
-
readonly measurement_chart: {
|
|
173
|
-
readonly type: readonly ["string", "null"];
|
|
174
|
-
};
|
|
175
|
-
readonly sizeguide_type: {
|
|
176
|
-
readonly type: readonly ["string", "null"];
|
|
177
|
-
};
|
|
178
|
-
readonly brand: {
|
|
179
|
-
readonly type: readonly ["string", "null"];
|
|
180
|
-
};
|
|
181
|
-
readonly shoes_type: {
|
|
182
|
-
readonly type: readonly ["string", "null"];
|
|
183
|
-
};
|
|
184
224
|
readonly seo_url_name: {
|
|
185
225
|
readonly type: "string";
|
|
186
226
|
readonly pattern: "^[a-z-]+$";
|
|
187
227
|
};
|
|
228
|
+
readonly embellishment: {
|
|
229
|
+
readonly type: readonly ["string", "null"];
|
|
230
|
+
};
|
|
188
231
|
readonly seo_title: {
|
|
189
232
|
readonly type: readonly ["string", "null"];
|
|
190
233
|
};
|
|
@@ -197,53 +240,125 @@ declare const schema: {
|
|
|
197
240
|
readonly fabric_care: {
|
|
198
241
|
readonly type: readonly ["string", "null"];
|
|
199
242
|
};
|
|
243
|
+
readonly delivery_returns: {
|
|
244
|
+
readonly type: readonly ["string", "null"];
|
|
245
|
+
};
|
|
200
246
|
readonly weight: {
|
|
201
247
|
readonly type: readonly ["number", "null"];
|
|
202
248
|
};
|
|
249
|
+
readonly weight_statement: {
|
|
250
|
+
readonly type: readonly ["string", "null"];
|
|
251
|
+
};
|
|
203
252
|
readonly main_fibre: {
|
|
204
253
|
readonly type: readonly ["string", "null"];
|
|
205
254
|
};
|
|
206
255
|
readonly main_metal: {
|
|
207
256
|
readonly type: readonly ["string", "null"];
|
|
208
257
|
};
|
|
258
|
+
readonly extra_selling_points: {
|
|
259
|
+
readonly type: "array";
|
|
260
|
+
readonly items: {
|
|
261
|
+
readonly type: "string";
|
|
262
|
+
};
|
|
263
|
+
};
|
|
264
|
+
readonly length_measurement: {
|
|
265
|
+
readonly type: readonly ["string", "null"];
|
|
266
|
+
};
|
|
267
|
+
readonly measurement_table_code: {
|
|
268
|
+
readonly type: readonly ["string"];
|
|
269
|
+
};
|
|
270
|
+
readonly fit: {
|
|
271
|
+
readonly type: readonly ["string", "null"];
|
|
272
|
+
};
|
|
273
|
+
readonly pockets: {
|
|
274
|
+
readonly type: readonly ["string", "null"];
|
|
275
|
+
};
|
|
276
|
+
readonly pleats_gathers: {
|
|
277
|
+
readonly type: readonly ["string", "null"];
|
|
278
|
+
};
|
|
279
|
+
readonly lining: {
|
|
280
|
+
readonly type: readonly ["string", "null"];
|
|
281
|
+
};
|
|
282
|
+
readonly bias_cut: {
|
|
283
|
+
readonly type: readonly ["string", "null"];
|
|
284
|
+
};
|
|
209
285
|
readonly designer: {
|
|
210
286
|
readonly type: readonly ["string", "null"];
|
|
211
287
|
};
|
|
288
|
+
readonly fabric: {
|
|
289
|
+
readonly type: readonly ["string", "null"];
|
|
290
|
+
};
|
|
291
|
+
readonly fabric_composition: {
|
|
292
|
+
readonly type: readonly ["string", "null"];
|
|
293
|
+
};
|
|
212
294
|
readonly certificate_code: {
|
|
213
295
|
readonly type: readonly ["string", "null"];
|
|
214
296
|
};
|
|
297
|
+
readonly shape: {
|
|
298
|
+
readonly type: readonly ["string", "null"];
|
|
299
|
+
};
|
|
300
|
+
readonly development_type: {
|
|
301
|
+
readonly type: "string";
|
|
302
|
+
};
|
|
303
|
+
readonly occasion: {
|
|
304
|
+
readonly type: readonly ["string", "null"];
|
|
305
|
+
};
|
|
306
|
+
readonly design: {
|
|
307
|
+
readonly type: readonly ["string", "null"];
|
|
308
|
+
};
|
|
309
|
+
readonly block: {
|
|
310
|
+
readonly type: readonly ["string", "null"];
|
|
311
|
+
};
|
|
215
312
|
readonly pattern_name: {
|
|
216
313
|
readonly type: readonly ["string", "null"];
|
|
217
314
|
};
|
|
218
315
|
readonly fit_type: {
|
|
219
316
|
readonly type: readonly ["string", "null"];
|
|
220
317
|
};
|
|
221
|
-
readonly
|
|
318
|
+
readonly neckline: {
|
|
319
|
+
readonly type: readonly ["string", "null"];
|
|
320
|
+
};
|
|
321
|
+
readonly sleeve_length: {
|
|
322
|
+
readonly type: readonly ["string", "null"];
|
|
323
|
+
readonly nullable: true;
|
|
324
|
+
};
|
|
325
|
+
readonly sleeve_type: {
|
|
222
326
|
readonly type: readonly ["string", "null"];
|
|
223
327
|
readonly nullable: true;
|
|
224
328
|
};
|
|
225
|
-
readonly
|
|
329
|
+
readonly heel_height: {
|
|
226
330
|
readonly type: readonly ["string", "null"];
|
|
227
331
|
};
|
|
228
|
-
readonly
|
|
332
|
+
readonly heel_shape: {
|
|
229
333
|
readonly type: readonly ["string", "null"];
|
|
230
334
|
};
|
|
231
|
-
readonly
|
|
335
|
+
readonly toe_shape: {
|
|
232
336
|
readonly type: readonly ["string", "null"];
|
|
233
337
|
};
|
|
234
|
-
readonly
|
|
338
|
+
readonly trouser_fit: {
|
|
235
339
|
readonly type: readonly ["string", "null"];
|
|
340
|
+
readonly nullable: true;
|
|
236
341
|
};
|
|
237
|
-
readonly
|
|
342
|
+
readonly leg_length: {
|
|
238
343
|
readonly type: readonly ["string", "null"];
|
|
239
344
|
};
|
|
240
|
-
readonly
|
|
345
|
+
readonly handle_straps: {
|
|
241
346
|
readonly type: readonly ["string", "null"];
|
|
242
347
|
};
|
|
243
|
-
readonly
|
|
348
|
+
readonly straps_features: {
|
|
244
349
|
readonly type: readonly ["string", "null"];
|
|
245
350
|
};
|
|
246
|
-
readonly
|
|
351
|
+
readonly fastening: {
|
|
352
|
+
readonly anyOf: readonly [{
|
|
353
|
+
readonly type: readonly ["array", "null"];
|
|
354
|
+
readonly items: {
|
|
355
|
+
readonly type: "string";
|
|
356
|
+
};
|
|
357
|
+
}, {
|
|
358
|
+
readonly type: "null";
|
|
359
|
+
}];
|
|
360
|
+
};
|
|
361
|
+
readonly sole_material: {
|
|
247
362
|
readonly type: readonly ["string", "null"];
|
|
248
363
|
};
|
|
249
364
|
readonly care_instructions: {
|
|
@@ -255,13 +370,7 @@ declare const schema: {
|
|
|
255
370
|
};
|
|
256
371
|
readonly required: readonly [];
|
|
257
372
|
};
|
|
258
|
-
readonly
|
|
259
|
-
readonly type: "array";
|
|
260
|
-
readonly items: {
|
|
261
|
-
readonly type: "string";
|
|
262
|
-
};
|
|
263
|
-
};
|
|
264
|
-
readonly markets_overrides: {
|
|
373
|
+
readonly presentations: {
|
|
265
374
|
readonly type: "object";
|
|
266
375
|
readonly additionalProperties: false;
|
|
267
376
|
readonly patternProperties: {
|
|
@@ -273,17 +382,20 @@ declare const schema: {
|
|
|
273
382
|
readonly type: "string";
|
|
274
383
|
readonly pattern: "^[a-z]{2}-[A-Z]{2}$";
|
|
275
384
|
};
|
|
276
|
-
readonly
|
|
385
|
+
readonly presentation_type: {
|
|
277
386
|
readonly type: "string";
|
|
278
387
|
};
|
|
279
388
|
readonly slug: {
|
|
280
389
|
readonly type: readonly ["string"];
|
|
281
390
|
};
|
|
391
|
+
readonly style_slug: {
|
|
392
|
+
readonly type: readonly ["string"];
|
|
393
|
+
};
|
|
282
394
|
readonly style_name: {
|
|
283
395
|
readonly type: "string";
|
|
284
396
|
};
|
|
285
397
|
readonly display_name: {
|
|
286
|
-
readonly type: readonly ["string"];
|
|
398
|
+
readonly type: readonly ["string", "null"];
|
|
287
399
|
};
|
|
288
400
|
readonly display_type: {
|
|
289
401
|
readonly type: "string";
|
|
@@ -293,6 +405,26 @@ declare const schema: {
|
|
|
293
405
|
readonly type: readonly ["string", "null"];
|
|
294
406
|
readonly format: "date";
|
|
295
407
|
};
|
|
408
|
+
readonly online_from: {
|
|
409
|
+
readonly type: readonly ["string", "null"];
|
|
410
|
+
readonly format: "date-time";
|
|
411
|
+
};
|
|
412
|
+
readonly online_to: {
|
|
413
|
+
readonly type: readonly ["string", "null"];
|
|
414
|
+
readonly format: "date-time";
|
|
415
|
+
};
|
|
416
|
+
readonly last_online_at: {
|
|
417
|
+
readonly type: readonly ["string", "null"];
|
|
418
|
+
readonly format: "date-time";
|
|
419
|
+
};
|
|
420
|
+
readonly first_purchased_at: {
|
|
421
|
+
readonly type: "string";
|
|
422
|
+
readonly format: "date-time";
|
|
423
|
+
};
|
|
424
|
+
readonly first_markdown_at: {
|
|
425
|
+
readonly type: readonly ["string", "null"];
|
|
426
|
+
readonly format: "date-time";
|
|
427
|
+
};
|
|
296
428
|
readonly colour_family_name: {
|
|
297
429
|
readonly type: "string";
|
|
298
430
|
};
|
|
@@ -305,9 +437,8 @@ declare const schema: {
|
|
|
305
437
|
readonly type: "string";
|
|
306
438
|
};
|
|
307
439
|
};
|
|
308
|
-
readonly
|
|
309
|
-
readonly type:
|
|
310
|
-
readonly format: "date-time";
|
|
440
|
+
readonly sizerange_name: {
|
|
441
|
+
readonly type: "string";
|
|
311
442
|
};
|
|
312
443
|
readonly variants: {
|
|
313
444
|
readonly type: "array";
|
|
@@ -327,28 +458,13 @@ declare const schema: {
|
|
|
327
458
|
readonly attributes: {
|
|
328
459
|
readonly type: "object";
|
|
329
460
|
readonly properties: {
|
|
330
|
-
readonly stock_quantity_score: {
|
|
331
|
-
readonly type: "number";
|
|
332
|
-
};
|
|
333
|
-
readonly stock_availability: {
|
|
334
|
-
readonly type: "number";
|
|
335
|
-
};
|
|
336
|
-
readonly measurement_chart: {
|
|
337
|
-
readonly type: readonly ["string", "null"];
|
|
338
|
-
};
|
|
339
|
-
readonly sizeguide_type: {
|
|
340
|
-
readonly type: readonly ["string", "null"];
|
|
341
|
-
};
|
|
342
|
-
readonly brand: {
|
|
343
|
-
readonly type: readonly ["string", "null"];
|
|
344
|
-
};
|
|
345
|
-
readonly shoes_type: {
|
|
346
|
-
readonly type: readonly ["string", "null"];
|
|
347
|
-
};
|
|
348
461
|
readonly seo_url_name: {
|
|
349
462
|
readonly type: "string";
|
|
350
463
|
readonly pattern: "^[a-z-]+$";
|
|
351
464
|
};
|
|
465
|
+
readonly embellishment: {
|
|
466
|
+
readonly type: readonly ["string", "null"];
|
|
467
|
+
};
|
|
352
468
|
readonly seo_title: {
|
|
353
469
|
readonly type: readonly ["string", "null"];
|
|
354
470
|
};
|
|
@@ -361,53 +477,125 @@ declare const schema: {
|
|
|
361
477
|
readonly fabric_care: {
|
|
362
478
|
readonly type: readonly ["string", "null"];
|
|
363
479
|
};
|
|
480
|
+
readonly delivery_returns: {
|
|
481
|
+
readonly type: readonly ["string", "null"];
|
|
482
|
+
};
|
|
364
483
|
readonly weight: {
|
|
365
484
|
readonly type: readonly ["number", "null"];
|
|
366
485
|
};
|
|
486
|
+
readonly weight_statement: {
|
|
487
|
+
readonly type: readonly ["string", "null"];
|
|
488
|
+
};
|
|
367
489
|
readonly main_fibre: {
|
|
368
490
|
readonly type: readonly ["string", "null"];
|
|
369
491
|
};
|
|
370
492
|
readonly main_metal: {
|
|
371
493
|
readonly type: readonly ["string", "null"];
|
|
372
494
|
};
|
|
495
|
+
readonly extra_selling_points: {
|
|
496
|
+
readonly type: "array";
|
|
497
|
+
readonly items: {
|
|
498
|
+
readonly type: "string";
|
|
499
|
+
};
|
|
500
|
+
};
|
|
501
|
+
readonly length_measurement: {
|
|
502
|
+
readonly type: readonly ["string", "null"];
|
|
503
|
+
};
|
|
504
|
+
readonly measurement_table_code: {
|
|
505
|
+
readonly type: readonly ["string"];
|
|
506
|
+
};
|
|
507
|
+
readonly fit: {
|
|
508
|
+
readonly type: readonly ["string", "null"];
|
|
509
|
+
};
|
|
510
|
+
readonly pockets: {
|
|
511
|
+
readonly type: readonly ["string", "null"];
|
|
512
|
+
};
|
|
513
|
+
readonly pleats_gathers: {
|
|
514
|
+
readonly type: readonly ["string", "null"];
|
|
515
|
+
};
|
|
516
|
+
readonly lining: {
|
|
517
|
+
readonly type: readonly ["string", "null"];
|
|
518
|
+
};
|
|
519
|
+
readonly bias_cut: {
|
|
520
|
+
readonly type: readonly ["string", "null"];
|
|
521
|
+
};
|
|
373
522
|
readonly designer: {
|
|
374
523
|
readonly type: readonly ["string", "null"];
|
|
375
524
|
};
|
|
525
|
+
readonly fabric: {
|
|
526
|
+
readonly type: readonly ["string", "null"];
|
|
527
|
+
};
|
|
528
|
+
readonly fabric_composition: {
|
|
529
|
+
readonly type: readonly ["string", "null"];
|
|
530
|
+
};
|
|
376
531
|
readonly certificate_code: {
|
|
377
532
|
readonly type: readonly ["string", "null"];
|
|
378
533
|
};
|
|
534
|
+
readonly shape: {
|
|
535
|
+
readonly type: readonly ["string", "null"];
|
|
536
|
+
};
|
|
537
|
+
readonly development_type: {
|
|
538
|
+
readonly type: "string";
|
|
539
|
+
};
|
|
540
|
+
readonly occasion: {
|
|
541
|
+
readonly type: readonly ["string", "null"];
|
|
542
|
+
};
|
|
543
|
+
readonly design: {
|
|
544
|
+
readonly type: readonly ["string", "null"];
|
|
545
|
+
};
|
|
546
|
+
readonly block: {
|
|
547
|
+
readonly type: readonly ["string", "null"];
|
|
548
|
+
};
|
|
379
549
|
readonly pattern_name: {
|
|
380
550
|
readonly type: readonly ["string", "null"];
|
|
381
551
|
};
|
|
382
552
|
readonly fit_type: {
|
|
383
553
|
readonly type: readonly ["string", "null"];
|
|
384
554
|
};
|
|
385
|
-
readonly
|
|
555
|
+
readonly neckline: {
|
|
556
|
+
readonly type: readonly ["string", "null"];
|
|
557
|
+
};
|
|
558
|
+
readonly sleeve_length: {
|
|
386
559
|
readonly type: readonly ["string", "null"];
|
|
387
560
|
readonly nullable: true;
|
|
388
561
|
};
|
|
389
|
-
readonly
|
|
562
|
+
readonly sleeve_type: {
|
|
390
563
|
readonly type: readonly ["string", "null"];
|
|
564
|
+
readonly nullable: true;
|
|
391
565
|
};
|
|
392
|
-
readonly
|
|
566
|
+
readonly heel_height: {
|
|
393
567
|
readonly type: readonly ["string", "null"];
|
|
394
568
|
};
|
|
395
|
-
readonly
|
|
569
|
+
readonly heel_shape: {
|
|
396
570
|
readonly type: readonly ["string", "null"];
|
|
397
571
|
};
|
|
398
|
-
readonly
|
|
572
|
+
readonly toe_shape: {
|
|
399
573
|
readonly type: readonly ["string", "null"];
|
|
400
574
|
};
|
|
401
|
-
readonly
|
|
575
|
+
readonly trouser_fit: {
|
|
402
576
|
readonly type: readonly ["string", "null"];
|
|
577
|
+
readonly nullable: true;
|
|
403
578
|
};
|
|
404
|
-
readonly
|
|
579
|
+
readonly leg_length: {
|
|
405
580
|
readonly type: readonly ["string", "null"];
|
|
406
581
|
};
|
|
407
|
-
readonly
|
|
582
|
+
readonly handle_straps: {
|
|
408
583
|
readonly type: readonly ["string", "null"];
|
|
409
584
|
};
|
|
410
|
-
readonly
|
|
585
|
+
readonly straps_features: {
|
|
586
|
+
readonly type: readonly ["string", "null"];
|
|
587
|
+
};
|
|
588
|
+
readonly fastening: {
|
|
589
|
+
readonly anyOf: readonly [{
|
|
590
|
+
readonly type: readonly ["array", "null"];
|
|
591
|
+
readonly items: {
|
|
592
|
+
readonly type: "string";
|
|
593
|
+
};
|
|
594
|
+
}, {
|
|
595
|
+
readonly type: "null";
|
|
596
|
+
}];
|
|
597
|
+
};
|
|
598
|
+
readonly sole_material: {
|
|
411
599
|
readonly type: readonly ["string", "null"];
|
|
412
600
|
};
|
|
413
601
|
readonly care_instructions: {
|
|
@@ -420,12 +608,12 @@ declare const schema: {
|
|
|
420
608
|
readonly required: readonly [];
|
|
421
609
|
};
|
|
422
610
|
};
|
|
423
|
-
readonly required: readonly ["locale", "
|
|
611
|
+
readonly required: readonly ["locale", "presentation_type"];
|
|
424
612
|
};
|
|
425
613
|
};
|
|
426
614
|
};
|
|
427
615
|
};
|
|
428
|
-
readonly required: readonly ["product_id", "style_id", "
|
|
616
|
+
readonly required: readonly ["product_id", "style_id", "product_name", "online_from"];
|
|
429
617
|
readonly $id: "https://shushed.example.com/product.schema.json";
|
|
430
618
|
};
|
|
431
619
|
export default schema;
|
|
@@ -85,7 +85,6 @@ export interface ProductDraft {
|
|
|
85
85
|
strategy_type?: (string | null);
|
|
86
86
|
pattern_name?: (string | null);
|
|
87
87
|
neckline?: (string | null);
|
|
88
|
-
neckline_statement?: (string | null);
|
|
89
88
|
sleeve_length?: (string | null);
|
|
90
89
|
leg_length?: (string | null);
|
|
91
90
|
heel_height?: (string | null);
|
|
@@ -100,7 +99,6 @@ export interface ProductDraft {
|
|
|
100
99
|
weight_statement?: (string | null);
|
|
101
100
|
weight?: (number | null);
|
|
102
101
|
extra_selling_points?: string[];
|
|
103
|
-
length_statement?: (string | null);
|
|
104
102
|
length_measurement?: (string | null);
|
|
105
103
|
fabric_composition?: (string | null);
|
|
106
104
|
};
|