@kontent-ai/migration-toolkit 1.0.0 → 1.1.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.
Files changed (56) hide show
  1. package/README.md +3 -7
  2. package/dist/es2022/core/index.d.ts +1 -0
  3. package/dist/es2022/core/index.js +1 -0
  4. package/dist/es2022/core/index.js.map +1 -1
  5. package/dist/es2022/core/models/migration.models.d.ts +35 -133
  6. package/dist/es2022/core/models/migration.schema.d.ts +1300 -0
  7. package/dist/es2022/core/models/migration.schema.js +114 -0
  8. package/dist/es2022/core/models/migration.schema.js.map +1 -0
  9. package/dist/es2022/core/utils/confirm.utils.js +3 -3
  10. package/dist/es2022/core/utils/confirm.utils.js.map +1 -1
  11. package/dist/es2022/core/utils/error.utils.js +8 -2
  12. package/dist/es2022/core/utils/error.utils.js.map +1 -1
  13. package/dist/es2022/core/utils/global.utils.d.ts +4 -1
  14. package/dist/es2022/core/utils/global.utils.js +1 -3
  15. package/dist/es2022/core/utils/global.utils.js.map +1 -1
  16. package/dist/es2022/export/context/export-context-fetcher.js +10 -6
  17. package/dist/es2022/export/context/export-context-fetcher.js.map +1 -1
  18. package/dist/es2022/export/export-manager.js +3 -3
  19. package/dist/es2022/export/export-manager.js.map +1 -1
  20. package/dist/es2022/import/import-manager.js.map +1 -1
  21. package/dist/es2022/metadata.js +2 -2
  22. package/dist/es2022/node/cli/actions/export-action.js +2 -2
  23. package/dist/es2022/node/cli/actions/export-action.js.map +1 -1
  24. package/dist/es2022/node/cli/actions/import-action.js +2 -2
  25. package/dist/es2022/node/cli/actions/import-action.js.map +1 -1
  26. package/dist/es2022/node/cli/app.js +3 -0
  27. package/dist/es2022/node/cli/app.js.map +1 -1
  28. package/dist/es2022/node/cli/args/args-setter.js +3 -0
  29. package/dist/es2022/node/cli/args/args-setter.js.map +1 -1
  30. package/dist/es2022/node/cli/cli.models.d.ts +1 -0
  31. package/dist/es2022/toolkit/file.js +3 -3
  32. package/dist/es2022/toolkit/file.js.map +1 -1
  33. package/dist/es2022/translation/transforms/export-transforms.js.map +1 -1
  34. package/dist/es2022/zip/zip-transformer.js +9 -6
  35. package/dist/es2022/zip/zip-transformer.js.map +1 -1
  36. package/dist/es2022/zip/zip.models.d.ts +1 -1
  37. package/lib/core/index.ts +1 -0
  38. package/lib/core/models/migration.models.ts +56 -159
  39. package/lib/core/models/migration.schema.ts +180 -0
  40. package/lib/core/utils/confirm.utils.ts +4 -4
  41. package/lib/core/utils/error.utils.ts +9 -6
  42. package/lib/core/utils/global.utils.ts +3 -3
  43. package/lib/export/context/export-context-fetcher.ts +9 -6
  44. package/lib/export/export-manager.ts +16 -20
  45. package/lib/import/import-manager.ts +2 -6
  46. package/lib/metadata.ts +2 -2
  47. package/lib/node/cli/actions/export-action.ts +2 -2
  48. package/lib/node/cli/actions/import-action.ts +2 -2
  49. package/lib/node/cli/app.ts +4 -0
  50. package/lib/node/cli/args/args-setter.ts +3 -0
  51. package/lib/node/cli/cli.models.ts +1 -0
  52. package/lib/toolkit/file.ts +3 -9
  53. package/lib/translation/transforms/export-transforms.ts +1 -4
  54. package/lib/zip/zip-transformer.ts +25 -11
  55. package/lib/zip/zip.models.ts +1 -1
  56. package/package.json +10 -10
@@ -0,0 +1,1300 @@
1
+ import { z } from 'zod';
2
+ interface Elements {
3
+ readonly [key: string]: Element;
4
+ }
5
+ type UrlSlugMode = 'autogenerated' | 'custom';
6
+ type UrlSlugElementValue = {
7
+ readonly value?: string;
8
+ readonly mode: UrlSlugMode;
9
+ };
10
+ type Reference = {
11
+ readonly codename: string;
12
+ };
13
+ type Component = {
14
+ readonly system: {
15
+ readonly id: string;
16
+ readonly type: Reference;
17
+ };
18
+ readonly elements: Elements;
19
+ };
20
+ type RichTextElementValue = {
21
+ readonly value: string;
22
+ readonly components: Readonly<Component[]>;
23
+ };
24
+ type ElementValue = string | undefined | number | Reference[] | RichTextElementValue | UrlSlugElementValue;
25
+ type Element = {
26
+ readonly type: ElementType;
27
+ readonly value?: ElementValue;
28
+ };
29
+ type ElementType = 'text' | 'rich_text' | 'number' | 'multiple_choice' | 'date_time' | 'asset' | 'modular_content' | 'taxonomy' | 'url_slug' | 'custom' | 'subpages';
30
+ export declare const MigrationUrlSlugModeSchema: z.ZodReadonly<z.ZodEnum<["autogenerated", "custom"]>>;
31
+ export declare const MigrationElementTypeSchema: z.ZodReadonly<z.ZodEnum<["text", "rich_text", "number", "multiple_choice", "date_time", "asset", "modular_content", "taxonomy", "url_slug", "custom", "subpages"]>>;
32
+ export declare const MigrationReferenceSchema: z.ZodReadonly<z.ZodObject<{
33
+ codename: z.ZodReadonly<z.ZodString>;
34
+ }, "strict", z.ZodTypeAny, {
35
+ codename: string;
36
+ }, {
37
+ codename: string;
38
+ }>>;
39
+ /**
40
+ * ZodType is needed to be specified here due to the use of 'lazy' & circular dependency between types
41
+ * Otherwise TS has no way of statically inferring the type
42
+ */
43
+ export declare const MigrationElementsSchema: z.ZodReadonly<z.ZodType<Elements>>;
44
+ export declare const MigrationComponentSchema: z.ZodReadonly<z.ZodObject<{
45
+ system: z.ZodObject<{
46
+ id: z.ZodString;
47
+ type: z.ZodReadonly<z.ZodObject<{
48
+ codename: z.ZodReadonly<z.ZodString>;
49
+ }, "strict", z.ZodTypeAny, {
50
+ codename: string;
51
+ }, {
52
+ codename: string;
53
+ }>>;
54
+ }, "strict", z.ZodTypeAny, {
55
+ type: Readonly<{
56
+ codename: string;
57
+ }>;
58
+ id: string;
59
+ }, {
60
+ type: Readonly<{
61
+ codename: string;
62
+ }>;
63
+ id: string;
64
+ }>;
65
+ elements: z.ZodReadonly<z.ZodType<Elements, z.ZodTypeDef, Elements>>;
66
+ }, "strict", z.ZodTypeAny, {
67
+ system: {
68
+ type: Readonly<{
69
+ codename: string;
70
+ }>;
71
+ id: string;
72
+ };
73
+ elements: Readonly<Elements>;
74
+ }, {
75
+ system: {
76
+ type: Readonly<{
77
+ codename: string;
78
+ }>;
79
+ id: string;
80
+ };
81
+ elements: Readonly<Elements>;
82
+ }>>;
83
+ export declare const MigrationUrlSlugElementValueSchema: z.ZodReadonly<z.ZodObject<{
84
+ value: z.ZodOptional<z.ZodString>;
85
+ mode: z.ZodReadonly<z.ZodEnum<["autogenerated", "custom"]>>;
86
+ }, "strict", z.ZodTypeAny, {
87
+ mode: "autogenerated" | "custom";
88
+ value?: string | undefined;
89
+ }, {
90
+ mode: "autogenerated" | "custom";
91
+ value?: string | undefined;
92
+ }>>;
93
+ export declare const MigrationRichTextElementValueSchema: z.ZodReadonly<z.ZodObject<{
94
+ value: z.ZodString;
95
+ components: z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
96
+ system: z.ZodObject<{
97
+ id: z.ZodString;
98
+ type: z.ZodReadonly<z.ZodObject<{
99
+ codename: z.ZodReadonly<z.ZodString>;
100
+ }, "strict", z.ZodTypeAny, {
101
+ codename: string;
102
+ }, {
103
+ codename: string;
104
+ }>>;
105
+ }, "strict", z.ZodTypeAny, {
106
+ type: Readonly<{
107
+ codename: string;
108
+ }>;
109
+ id: string;
110
+ }, {
111
+ type: Readonly<{
112
+ codename: string;
113
+ }>;
114
+ id: string;
115
+ }>;
116
+ elements: z.ZodReadonly<z.ZodType<Elements, z.ZodTypeDef, Elements>>;
117
+ }, "strict", z.ZodTypeAny, {
118
+ system: {
119
+ type: Readonly<{
120
+ codename: string;
121
+ }>;
122
+ id: string;
123
+ };
124
+ elements: Readonly<Elements>;
125
+ }, {
126
+ system: {
127
+ type: Readonly<{
128
+ codename: string;
129
+ }>;
130
+ id: string;
131
+ };
132
+ elements: Readonly<Elements>;
133
+ }>>, "many">>;
134
+ }, "strict", z.ZodTypeAny, {
135
+ value: string;
136
+ components: readonly Readonly<{
137
+ system: {
138
+ type: Readonly<{
139
+ codename: string;
140
+ }>;
141
+ id: string;
142
+ };
143
+ elements: Readonly<Elements>;
144
+ }>[];
145
+ }, {
146
+ value: string;
147
+ components: readonly Readonly<{
148
+ system: {
149
+ type: Readonly<{
150
+ codename: string;
151
+ }>;
152
+ id: string;
153
+ };
154
+ elements: Readonly<Elements>;
155
+ }>[];
156
+ }>>;
157
+ export declare const MigrationElementValueSchema: z.ZodUnion<[z.ZodString, z.ZodUndefined, z.ZodNumber, z.ZodArray<z.ZodReadonly<z.ZodObject<{
158
+ codename: z.ZodReadonly<z.ZodString>;
159
+ }, "strict", z.ZodTypeAny, {
160
+ codename: string;
161
+ }, {
162
+ codename: string;
163
+ }>>, "many">, z.ZodReadonly<z.ZodObject<{
164
+ value: z.ZodString;
165
+ components: z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
166
+ system: z.ZodObject<{
167
+ id: z.ZodString;
168
+ type: z.ZodReadonly<z.ZodObject<{
169
+ codename: z.ZodReadonly<z.ZodString>;
170
+ }, "strict", z.ZodTypeAny, {
171
+ codename: string;
172
+ }, {
173
+ codename: string;
174
+ }>>;
175
+ }, "strict", z.ZodTypeAny, {
176
+ type: Readonly<{
177
+ codename: string;
178
+ }>;
179
+ id: string;
180
+ }, {
181
+ type: Readonly<{
182
+ codename: string;
183
+ }>;
184
+ id: string;
185
+ }>;
186
+ elements: z.ZodReadonly<z.ZodType<Elements, z.ZodTypeDef, Elements>>;
187
+ }, "strict", z.ZodTypeAny, {
188
+ system: {
189
+ type: Readonly<{
190
+ codename: string;
191
+ }>;
192
+ id: string;
193
+ };
194
+ elements: Readonly<Elements>;
195
+ }, {
196
+ system: {
197
+ type: Readonly<{
198
+ codename: string;
199
+ }>;
200
+ id: string;
201
+ };
202
+ elements: Readonly<Elements>;
203
+ }>>, "many">>;
204
+ }, "strict", z.ZodTypeAny, {
205
+ value: string;
206
+ components: readonly Readonly<{
207
+ system: {
208
+ type: Readonly<{
209
+ codename: string;
210
+ }>;
211
+ id: string;
212
+ };
213
+ elements: Readonly<Elements>;
214
+ }>[];
215
+ }, {
216
+ value: string;
217
+ components: readonly Readonly<{
218
+ system: {
219
+ type: Readonly<{
220
+ codename: string;
221
+ }>;
222
+ id: string;
223
+ };
224
+ elements: Readonly<Elements>;
225
+ }>[];
226
+ }>>, z.ZodReadonly<z.ZodObject<{
227
+ value: z.ZodOptional<z.ZodString>;
228
+ mode: z.ZodReadonly<z.ZodEnum<["autogenerated", "custom"]>>;
229
+ }, "strict", z.ZodTypeAny, {
230
+ mode: "autogenerated" | "custom";
231
+ value?: string | undefined;
232
+ }, {
233
+ mode: "autogenerated" | "custom";
234
+ value?: string | undefined;
235
+ }>>]>;
236
+ export declare const MigrationElementSchema: z.ZodReadonly<z.ZodObject<{
237
+ type: z.ZodReadonly<z.ZodEnum<["text", "rich_text", "number", "multiple_choice", "date_time", "asset", "modular_content", "taxonomy", "url_slug", "custom", "subpages"]>>;
238
+ value: z.ZodUnion<[z.ZodString, z.ZodUndefined, z.ZodNumber, z.ZodArray<z.ZodReadonly<z.ZodObject<{
239
+ codename: z.ZodReadonly<z.ZodString>;
240
+ }, "strict", z.ZodTypeAny, {
241
+ codename: string;
242
+ }, {
243
+ codename: string;
244
+ }>>, "many">, z.ZodReadonly<z.ZodObject<{
245
+ value: z.ZodString;
246
+ components: z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
247
+ system: z.ZodObject<{
248
+ id: z.ZodString;
249
+ type: z.ZodReadonly<z.ZodObject<{
250
+ codename: z.ZodReadonly<z.ZodString>;
251
+ }, "strict", z.ZodTypeAny, {
252
+ codename: string;
253
+ }, {
254
+ codename: string;
255
+ }>>;
256
+ }, "strict", z.ZodTypeAny, {
257
+ type: Readonly<{
258
+ codename: string;
259
+ }>;
260
+ id: string;
261
+ }, {
262
+ type: Readonly<{
263
+ codename: string;
264
+ }>;
265
+ id: string;
266
+ }>;
267
+ elements: z.ZodReadonly<z.ZodType<Elements, z.ZodTypeDef, Elements>>;
268
+ }, "strict", z.ZodTypeAny, {
269
+ system: {
270
+ type: Readonly<{
271
+ codename: string;
272
+ }>;
273
+ id: string;
274
+ };
275
+ elements: Readonly<Elements>;
276
+ }, {
277
+ system: {
278
+ type: Readonly<{
279
+ codename: string;
280
+ }>;
281
+ id: string;
282
+ };
283
+ elements: Readonly<Elements>;
284
+ }>>, "many">>;
285
+ }, "strict", z.ZodTypeAny, {
286
+ value: string;
287
+ components: readonly Readonly<{
288
+ system: {
289
+ type: Readonly<{
290
+ codename: string;
291
+ }>;
292
+ id: string;
293
+ };
294
+ elements: Readonly<Elements>;
295
+ }>[];
296
+ }, {
297
+ value: string;
298
+ components: readonly Readonly<{
299
+ system: {
300
+ type: Readonly<{
301
+ codename: string;
302
+ }>;
303
+ id: string;
304
+ };
305
+ elements: Readonly<Elements>;
306
+ }>[];
307
+ }>>, z.ZodReadonly<z.ZodObject<{
308
+ value: z.ZodOptional<z.ZodString>;
309
+ mode: z.ZodReadonly<z.ZodEnum<["autogenerated", "custom"]>>;
310
+ }, "strict", z.ZodTypeAny, {
311
+ mode: "autogenerated" | "custom";
312
+ value?: string | undefined;
313
+ }, {
314
+ mode: "autogenerated" | "custom";
315
+ value?: string | undefined;
316
+ }>>]>;
317
+ }, "strict", z.ZodTypeAny, {
318
+ type: "number" | "custom" | "text" | "rich_text" | "multiple_choice" | "date_time" | "asset" | "modular_content" | "taxonomy" | "url_slug" | "subpages";
319
+ value?: string | number | Readonly<{
320
+ codename: string;
321
+ }>[] | Readonly<{
322
+ value: string;
323
+ components: readonly Readonly<{
324
+ system: {
325
+ type: Readonly<{
326
+ codename: string;
327
+ }>;
328
+ id: string;
329
+ };
330
+ elements: Readonly<Elements>;
331
+ }>[];
332
+ }> | Readonly<{
333
+ mode: "autogenerated" | "custom";
334
+ value?: string | undefined;
335
+ }> | undefined;
336
+ }, {
337
+ type: "number" | "custom" | "text" | "rich_text" | "multiple_choice" | "date_time" | "asset" | "modular_content" | "taxonomy" | "url_slug" | "subpages";
338
+ value?: string | number | Readonly<{
339
+ codename: string;
340
+ }>[] | Readonly<{
341
+ value: string;
342
+ components: readonly Readonly<{
343
+ system: {
344
+ type: Readonly<{
345
+ codename: string;
346
+ }>;
347
+ id: string;
348
+ };
349
+ elements: Readonly<Elements>;
350
+ }>[];
351
+ }> | Readonly<{
352
+ mode: "autogenerated" | "custom";
353
+ value?: string | undefined;
354
+ }> | undefined;
355
+ }>>;
356
+ export declare const BaseMigrationItemVersionSchema: z.ZodObject<{
357
+ workflow_step: z.ZodReadonly<z.ZodObject<{
358
+ codename: z.ZodReadonly<z.ZodString>;
359
+ }, "strict", z.ZodTypeAny, {
360
+ codename: string;
361
+ }, {
362
+ codename: string;
363
+ }>>;
364
+ }, "strict", z.ZodTypeAny, {
365
+ workflow_step: Readonly<{
366
+ codename: string;
367
+ }>;
368
+ }, {
369
+ workflow_step: Readonly<{
370
+ codename: string;
371
+ }>;
372
+ }>;
373
+ export declare const MigrationItemVersionSchema: z.ZodReadonly<z.ZodObject<z.objectUtil.extendShape<{
374
+ workflow_step: z.ZodReadonly<z.ZodObject<{
375
+ codename: z.ZodReadonly<z.ZodString>;
376
+ }, "strict", z.ZodTypeAny, {
377
+ codename: string;
378
+ }, {
379
+ codename: string;
380
+ }>>;
381
+ }, {
382
+ elements: z.ZodReadonly<z.ZodType<Elements, z.ZodTypeDef, Elements>>;
383
+ }>, "strict", z.ZodTypeAny, {
384
+ elements: Readonly<Elements>;
385
+ workflow_step: Readonly<{
386
+ codename: string;
387
+ }>;
388
+ }, {
389
+ elements: Readonly<Elements>;
390
+ workflow_step: Readonly<{
391
+ codename: string;
392
+ }>;
393
+ }>>;
394
+ export declare const BaseMigrationItemSchema: z.ZodObject<{
395
+ system: z.ZodReadonly<z.ZodObject<{
396
+ codename: z.ZodString;
397
+ name: z.ZodString;
398
+ language: z.ZodReadonly<z.ZodObject<{
399
+ codename: z.ZodReadonly<z.ZodString>;
400
+ }, "strict", z.ZodTypeAny, {
401
+ codename: string;
402
+ }, {
403
+ codename: string;
404
+ }>>;
405
+ type: z.ZodReadonly<z.ZodObject<{
406
+ codename: z.ZodReadonly<z.ZodString>;
407
+ }, "strict", z.ZodTypeAny, {
408
+ codename: string;
409
+ }, {
410
+ codename: string;
411
+ }>>;
412
+ collection: z.ZodReadonly<z.ZodObject<{
413
+ codename: z.ZodReadonly<z.ZodString>;
414
+ }, "strict", z.ZodTypeAny, {
415
+ codename: string;
416
+ }, {
417
+ codename: string;
418
+ }>>;
419
+ workflow: z.ZodReadonly<z.ZodObject<{
420
+ codename: z.ZodReadonly<z.ZodString>;
421
+ }, "strict", z.ZodTypeAny, {
422
+ codename: string;
423
+ }, {
424
+ codename: string;
425
+ }>>;
426
+ }, "strict", z.ZodTypeAny, {
427
+ codename: string;
428
+ type: Readonly<{
429
+ codename: string;
430
+ }>;
431
+ name: string;
432
+ language: Readonly<{
433
+ codename: string;
434
+ }>;
435
+ collection: Readonly<{
436
+ codename: string;
437
+ }>;
438
+ workflow: Readonly<{
439
+ codename: string;
440
+ }>;
441
+ }, {
442
+ codename: string;
443
+ type: Readonly<{
444
+ codename: string;
445
+ }>;
446
+ name: string;
447
+ language: Readonly<{
448
+ codename: string;
449
+ }>;
450
+ collection: Readonly<{
451
+ codename: string;
452
+ }>;
453
+ workflow: Readonly<{
454
+ codename: string;
455
+ }>;
456
+ }>>;
457
+ }, "strict", z.ZodTypeAny, {
458
+ system: Readonly<{
459
+ codename: string;
460
+ type: Readonly<{
461
+ codename: string;
462
+ }>;
463
+ name: string;
464
+ language: Readonly<{
465
+ codename: string;
466
+ }>;
467
+ collection: Readonly<{
468
+ codename: string;
469
+ }>;
470
+ workflow: Readonly<{
471
+ codename: string;
472
+ }>;
473
+ }>;
474
+ }, {
475
+ system: Readonly<{
476
+ codename: string;
477
+ type: Readonly<{
478
+ codename: string;
479
+ }>;
480
+ name: string;
481
+ language: Readonly<{
482
+ codename: string;
483
+ }>;
484
+ collection: Readonly<{
485
+ codename: string;
486
+ }>;
487
+ workflow: Readonly<{
488
+ codename: string;
489
+ }>;
490
+ }>;
491
+ }>;
492
+ export declare const MigrationItemSchema: z.ZodReadonly<z.ZodObject<z.objectUtil.extendShape<{
493
+ system: z.ZodReadonly<z.ZodObject<{
494
+ codename: z.ZodString;
495
+ name: z.ZodString;
496
+ language: z.ZodReadonly<z.ZodObject<{
497
+ codename: z.ZodReadonly<z.ZodString>;
498
+ }, "strict", z.ZodTypeAny, {
499
+ codename: string;
500
+ }, {
501
+ codename: string;
502
+ }>>;
503
+ type: z.ZodReadonly<z.ZodObject<{
504
+ codename: z.ZodReadonly<z.ZodString>;
505
+ }, "strict", z.ZodTypeAny, {
506
+ codename: string;
507
+ }, {
508
+ codename: string;
509
+ }>>;
510
+ collection: z.ZodReadonly<z.ZodObject<{
511
+ codename: z.ZodReadonly<z.ZodString>;
512
+ }, "strict", z.ZodTypeAny, {
513
+ codename: string;
514
+ }, {
515
+ codename: string;
516
+ }>>;
517
+ workflow: z.ZodReadonly<z.ZodObject<{
518
+ codename: z.ZodReadonly<z.ZodString>;
519
+ }, "strict", z.ZodTypeAny, {
520
+ codename: string;
521
+ }, {
522
+ codename: string;
523
+ }>>;
524
+ }, "strict", z.ZodTypeAny, {
525
+ codename: string;
526
+ type: Readonly<{
527
+ codename: string;
528
+ }>;
529
+ name: string;
530
+ language: Readonly<{
531
+ codename: string;
532
+ }>;
533
+ collection: Readonly<{
534
+ codename: string;
535
+ }>;
536
+ workflow: Readonly<{
537
+ codename: string;
538
+ }>;
539
+ }, {
540
+ codename: string;
541
+ type: Readonly<{
542
+ codename: string;
543
+ }>;
544
+ name: string;
545
+ language: Readonly<{
546
+ codename: string;
547
+ }>;
548
+ collection: Readonly<{
549
+ codename: string;
550
+ }>;
551
+ workflow: Readonly<{
552
+ codename: string;
553
+ }>;
554
+ }>>;
555
+ }, {
556
+ versions: z.ZodArray<z.ZodReadonly<z.ZodObject<z.objectUtil.extendShape<{
557
+ workflow_step: z.ZodReadonly<z.ZodObject<{
558
+ codename: z.ZodReadonly<z.ZodString>;
559
+ }, "strict", z.ZodTypeAny, {
560
+ codename: string;
561
+ }, {
562
+ codename: string;
563
+ }>>;
564
+ }, {
565
+ elements: z.ZodReadonly<z.ZodType<Elements, z.ZodTypeDef, Elements>>;
566
+ }>, "strict", z.ZodTypeAny, {
567
+ elements: Readonly<Elements>;
568
+ workflow_step: Readonly<{
569
+ codename: string;
570
+ }>;
571
+ }, {
572
+ elements: Readonly<Elements>;
573
+ workflow_step: Readonly<{
574
+ codename: string;
575
+ }>;
576
+ }>>, "many">;
577
+ }>, "strict", z.ZodTypeAny, {
578
+ system: Readonly<{
579
+ codename: string;
580
+ type: Readonly<{
581
+ codename: string;
582
+ }>;
583
+ name: string;
584
+ language: Readonly<{
585
+ codename: string;
586
+ }>;
587
+ collection: Readonly<{
588
+ codename: string;
589
+ }>;
590
+ workflow: Readonly<{
591
+ codename: string;
592
+ }>;
593
+ }>;
594
+ versions: Readonly<{
595
+ elements: Readonly<Elements>;
596
+ workflow_step: Readonly<{
597
+ codename: string;
598
+ }>;
599
+ }>[];
600
+ }, {
601
+ system: Readonly<{
602
+ codename: string;
603
+ type: Readonly<{
604
+ codename: string;
605
+ }>;
606
+ name: string;
607
+ language: Readonly<{
608
+ codename: string;
609
+ }>;
610
+ collection: Readonly<{
611
+ codename: string;
612
+ }>;
613
+ workflow: Readonly<{
614
+ codename: string;
615
+ }>;
616
+ }>;
617
+ versions: Readonly<{
618
+ elements: Readonly<Elements>;
619
+ workflow_step: Readonly<{
620
+ codename: string;
621
+ }>;
622
+ }>[];
623
+ }>>;
624
+ export declare const MigrationAssetDescriptionSchema: z.ZodReadonly<z.ZodObject<{
625
+ language: z.ZodReadonly<z.ZodObject<{
626
+ codename: z.ZodReadonly<z.ZodString>;
627
+ }, "strict", z.ZodTypeAny, {
628
+ codename: string;
629
+ }, {
630
+ codename: string;
631
+ }>>;
632
+ description: z.ZodOptional<z.ZodString>;
633
+ }, "strict", z.ZodTypeAny, {
634
+ language: Readonly<{
635
+ codename: string;
636
+ }>;
637
+ description?: string | undefined;
638
+ }, {
639
+ language: Readonly<{
640
+ codename: string;
641
+ }>;
642
+ description?: string | undefined;
643
+ }>>;
644
+ export declare const MigrationAssetSchema: z.ZodReadonly<z.ZodObject<z.objectUtil.extendShape<{
645
+ codename: z.ZodString;
646
+ filename: z.ZodString;
647
+ title: z.ZodString;
648
+ collection: z.ZodOptional<z.ZodReadonly<z.ZodObject<{
649
+ codename: z.ZodReadonly<z.ZodString>;
650
+ }, "strict", z.ZodTypeAny, {
651
+ codename: string;
652
+ }, {
653
+ codename: string;
654
+ }>>>;
655
+ descriptions: z.ZodReadonly<z.ZodOptional<z.ZodArray<z.ZodReadonly<z.ZodObject<{
656
+ language: z.ZodReadonly<z.ZodObject<{
657
+ codename: z.ZodReadonly<z.ZodString>;
658
+ }, "strict", z.ZodTypeAny, {
659
+ codename: string;
660
+ }, {
661
+ codename: string;
662
+ }>>;
663
+ description: z.ZodOptional<z.ZodString>;
664
+ }, "strict", z.ZodTypeAny, {
665
+ language: Readonly<{
666
+ codename: string;
667
+ }>;
668
+ description?: string | undefined;
669
+ }, {
670
+ language: Readonly<{
671
+ codename: string;
672
+ }>;
673
+ description?: string | undefined;
674
+ }>>, "many">>>;
675
+ }, {
676
+ binaryData: z.ZodUnion<[z.ZodType<Buffer, z.ZodTypeDef, Buffer>, z.ZodType<import("buffer").Blob, z.ZodTypeDef, import("buffer").Blob>]>;
677
+ }>, "strict", z.ZodTypeAny, {
678
+ codename: string;
679
+ filename: string;
680
+ title: string;
681
+ binaryData: Buffer | import("buffer").Blob;
682
+ collection?: Readonly<{
683
+ codename: string;
684
+ }> | undefined;
685
+ descriptions?: readonly Readonly<{
686
+ language: Readonly<{
687
+ codename: string;
688
+ }>;
689
+ description?: string | undefined;
690
+ }>[] | undefined;
691
+ }, {
692
+ codename: string;
693
+ filename: string;
694
+ title: string;
695
+ binaryData: Buffer | import("buffer").Blob;
696
+ collection?: Readonly<{
697
+ codename: string;
698
+ }> | undefined;
699
+ descriptions?: readonly Readonly<{
700
+ language: Readonly<{
701
+ codename: string;
702
+ }>;
703
+ description?: string | undefined;
704
+ }>[] | undefined;
705
+ }>>;
706
+ export declare const ZipMigrationAssetSchema: z.ZodReadonly<z.ZodObject<z.objectUtil.extendShape<{
707
+ codename: z.ZodString;
708
+ filename: z.ZodString;
709
+ title: z.ZodString;
710
+ collection: z.ZodOptional<z.ZodReadonly<z.ZodObject<{
711
+ codename: z.ZodReadonly<z.ZodString>;
712
+ }, "strict", z.ZodTypeAny, {
713
+ codename: string;
714
+ }, {
715
+ codename: string;
716
+ }>>>;
717
+ descriptions: z.ZodReadonly<z.ZodOptional<z.ZodArray<z.ZodReadonly<z.ZodObject<{
718
+ language: z.ZodReadonly<z.ZodObject<{
719
+ codename: z.ZodReadonly<z.ZodString>;
720
+ }, "strict", z.ZodTypeAny, {
721
+ codename: string;
722
+ }, {
723
+ codename: string;
724
+ }>>;
725
+ description: z.ZodOptional<z.ZodString>;
726
+ }, "strict", z.ZodTypeAny, {
727
+ language: Readonly<{
728
+ codename: string;
729
+ }>;
730
+ description?: string | undefined;
731
+ }, {
732
+ language: Readonly<{
733
+ codename: string;
734
+ }>;
735
+ description?: string | undefined;
736
+ }>>, "many">>>;
737
+ }, {
738
+ _zipFilename: z.ZodString;
739
+ }>, "strict", z.ZodTypeAny, {
740
+ codename: string;
741
+ filename: string;
742
+ title: string;
743
+ _zipFilename: string;
744
+ collection?: Readonly<{
745
+ codename: string;
746
+ }> | undefined;
747
+ descriptions?: readonly Readonly<{
748
+ language: Readonly<{
749
+ codename: string;
750
+ }>;
751
+ description?: string | undefined;
752
+ }>[] | undefined;
753
+ }, {
754
+ codename: string;
755
+ filename: string;
756
+ title: string;
757
+ _zipFilename: string;
758
+ collection?: Readonly<{
759
+ codename: string;
760
+ }> | undefined;
761
+ descriptions?: readonly Readonly<{
762
+ language: Readonly<{
763
+ codename: string;
764
+ }>;
765
+ description?: string | undefined;
766
+ }>[] | undefined;
767
+ }>>;
768
+ export declare const MigrationAssetsSchema: z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<z.objectUtil.extendShape<{
769
+ codename: z.ZodString;
770
+ filename: z.ZodString;
771
+ title: z.ZodString;
772
+ collection: z.ZodOptional<z.ZodReadonly<z.ZodObject<{
773
+ codename: z.ZodReadonly<z.ZodString>;
774
+ }, "strict", z.ZodTypeAny, {
775
+ codename: string;
776
+ }, {
777
+ codename: string;
778
+ }>>>;
779
+ descriptions: z.ZodReadonly<z.ZodOptional<z.ZodArray<z.ZodReadonly<z.ZodObject<{
780
+ language: z.ZodReadonly<z.ZodObject<{
781
+ codename: z.ZodReadonly<z.ZodString>;
782
+ }, "strict", z.ZodTypeAny, {
783
+ codename: string;
784
+ }, {
785
+ codename: string;
786
+ }>>;
787
+ description: z.ZodOptional<z.ZodString>;
788
+ }, "strict", z.ZodTypeAny, {
789
+ language: Readonly<{
790
+ codename: string;
791
+ }>;
792
+ description?: string | undefined;
793
+ }, {
794
+ language: Readonly<{
795
+ codename: string;
796
+ }>;
797
+ description?: string | undefined;
798
+ }>>, "many">>>;
799
+ }, {
800
+ binaryData: z.ZodUnion<[z.ZodType<Buffer, z.ZodTypeDef, Buffer>, z.ZodType<import("buffer").Blob, z.ZodTypeDef, import("buffer").Blob>]>;
801
+ }>, "strict", z.ZodTypeAny, {
802
+ codename: string;
803
+ filename: string;
804
+ title: string;
805
+ binaryData: Buffer | import("buffer").Blob;
806
+ collection?: Readonly<{
807
+ codename: string;
808
+ }> | undefined;
809
+ descriptions?: readonly Readonly<{
810
+ language: Readonly<{
811
+ codename: string;
812
+ }>;
813
+ description?: string | undefined;
814
+ }>[] | undefined;
815
+ }, {
816
+ codename: string;
817
+ filename: string;
818
+ title: string;
819
+ binaryData: Buffer | import("buffer").Blob;
820
+ collection?: Readonly<{
821
+ codename: string;
822
+ }> | undefined;
823
+ descriptions?: readonly Readonly<{
824
+ language: Readonly<{
825
+ codename: string;
826
+ }>;
827
+ description?: string | undefined;
828
+ }>[] | undefined;
829
+ }>>, "many">>;
830
+ export declare const ZipMigrationAssetsSchema: z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<z.objectUtil.extendShape<{
831
+ codename: z.ZodString;
832
+ filename: z.ZodString;
833
+ title: z.ZodString;
834
+ collection: z.ZodOptional<z.ZodReadonly<z.ZodObject<{
835
+ codename: z.ZodReadonly<z.ZodString>;
836
+ }, "strict", z.ZodTypeAny, {
837
+ codename: string;
838
+ }, {
839
+ codename: string;
840
+ }>>>;
841
+ descriptions: z.ZodReadonly<z.ZodOptional<z.ZodArray<z.ZodReadonly<z.ZodObject<{
842
+ language: z.ZodReadonly<z.ZodObject<{
843
+ codename: z.ZodReadonly<z.ZodString>;
844
+ }, "strict", z.ZodTypeAny, {
845
+ codename: string;
846
+ }, {
847
+ codename: string;
848
+ }>>;
849
+ description: z.ZodOptional<z.ZodString>;
850
+ }, "strict", z.ZodTypeAny, {
851
+ language: Readonly<{
852
+ codename: string;
853
+ }>;
854
+ description?: string | undefined;
855
+ }, {
856
+ language: Readonly<{
857
+ codename: string;
858
+ }>;
859
+ description?: string | undefined;
860
+ }>>, "many">>>;
861
+ }, {
862
+ _zipFilename: z.ZodString;
863
+ }>, "strict", z.ZodTypeAny, {
864
+ codename: string;
865
+ filename: string;
866
+ title: string;
867
+ _zipFilename: string;
868
+ collection?: Readonly<{
869
+ codename: string;
870
+ }> | undefined;
871
+ descriptions?: readonly Readonly<{
872
+ language: Readonly<{
873
+ codename: string;
874
+ }>;
875
+ description?: string | undefined;
876
+ }>[] | undefined;
877
+ }, {
878
+ codename: string;
879
+ filename: string;
880
+ title: string;
881
+ _zipFilename: string;
882
+ collection?: Readonly<{
883
+ codename: string;
884
+ }> | undefined;
885
+ descriptions?: readonly Readonly<{
886
+ language: Readonly<{
887
+ codename: string;
888
+ }>;
889
+ description?: string | undefined;
890
+ }>[] | undefined;
891
+ }>>, "many">>;
892
+ export declare const MigrationItemsSchema: z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<z.objectUtil.extendShape<{
893
+ system: z.ZodReadonly<z.ZodObject<{
894
+ codename: z.ZodString;
895
+ name: z.ZodString;
896
+ language: z.ZodReadonly<z.ZodObject<{
897
+ codename: z.ZodReadonly<z.ZodString>;
898
+ }, "strict", z.ZodTypeAny, {
899
+ codename: string;
900
+ }, {
901
+ codename: string;
902
+ }>>;
903
+ type: z.ZodReadonly<z.ZodObject<{
904
+ codename: z.ZodReadonly<z.ZodString>;
905
+ }, "strict", z.ZodTypeAny, {
906
+ codename: string;
907
+ }, {
908
+ codename: string;
909
+ }>>;
910
+ collection: z.ZodReadonly<z.ZodObject<{
911
+ codename: z.ZodReadonly<z.ZodString>;
912
+ }, "strict", z.ZodTypeAny, {
913
+ codename: string;
914
+ }, {
915
+ codename: string;
916
+ }>>;
917
+ workflow: z.ZodReadonly<z.ZodObject<{
918
+ codename: z.ZodReadonly<z.ZodString>;
919
+ }, "strict", z.ZodTypeAny, {
920
+ codename: string;
921
+ }, {
922
+ codename: string;
923
+ }>>;
924
+ }, "strict", z.ZodTypeAny, {
925
+ codename: string;
926
+ type: Readonly<{
927
+ codename: string;
928
+ }>;
929
+ name: string;
930
+ language: Readonly<{
931
+ codename: string;
932
+ }>;
933
+ collection: Readonly<{
934
+ codename: string;
935
+ }>;
936
+ workflow: Readonly<{
937
+ codename: string;
938
+ }>;
939
+ }, {
940
+ codename: string;
941
+ type: Readonly<{
942
+ codename: string;
943
+ }>;
944
+ name: string;
945
+ language: Readonly<{
946
+ codename: string;
947
+ }>;
948
+ collection: Readonly<{
949
+ codename: string;
950
+ }>;
951
+ workflow: Readonly<{
952
+ codename: string;
953
+ }>;
954
+ }>>;
955
+ }, {
956
+ versions: z.ZodArray<z.ZodReadonly<z.ZodObject<z.objectUtil.extendShape<{
957
+ workflow_step: z.ZodReadonly<z.ZodObject<{
958
+ codename: z.ZodReadonly<z.ZodString>;
959
+ }, "strict", z.ZodTypeAny, {
960
+ codename: string;
961
+ }, {
962
+ codename: string;
963
+ }>>;
964
+ }, {
965
+ elements: z.ZodReadonly<z.ZodType<Elements, z.ZodTypeDef, Elements>>;
966
+ }>, "strict", z.ZodTypeAny, {
967
+ elements: Readonly<Elements>;
968
+ workflow_step: Readonly<{
969
+ codename: string;
970
+ }>;
971
+ }, {
972
+ elements: Readonly<Elements>;
973
+ workflow_step: Readonly<{
974
+ codename: string;
975
+ }>;
976
+ }>>, "many">;
977
+ }>, "strict", z.ZodTypeAny, {
978
+ system: Readonly<{
979
+ codename: string;
980
+ type: Readonly<{
981
+ codename: string;
982
+ }>;
983
+ name: string;
984
+ language: Readonly<{
985
+ codename: string;
986
+ }>;
987
+ collection: Readonly<{
988
+ codename: string;
989
+ }>;
990
+ workflow: Readonly<{
991
+ codename: string;
992
+ }>;
993
+ }>;
994
+ versions: Readonly<{
995
+ elements: Readonly<Elements>;
996
+ workflow_step: Readonly<{
997
+ codename: string;
998
+ }>;
999
+ }>[];
1000
+ }, {
1001
+ system: Readonly<{
1002
+ codename: string;
1003
+ type: Readonly<{
1004
+ codename: string;
1005
+ }>;
1006
+ name: string;
1007
+ language: Readonly<{
1008
+ codename: string;
1009
+ }>;
1010
+ collection: Readonly<{
1011
+ codename: string;
1012
+ }>;
1013
+ workflow: Readonly<{
1014
+ codename: string;
1015
+ }>;
1016
+ }>;
1017
+ versions: Readonly<{
1018
+ elements: Readonly<Elements>;
1019
+ workflow_step: Readonly<{
1020
+ codename: string;
1021
+ }>;
1022
+ }>[];
1023
+ }>>, "many">>;
1024
+ export declare const MigrationDataSchema: z.ZodReadonly<z.ZodObject<{
1025
+ items: z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<z.objectUtil.extendShape<{
1026
+ system: z.ZodReadonly<z.ZodObject<{
1027
+ codename: z.ZodString;
1028
+ name: z.ZodString;
1029
+ language: z.ZodReadonly<z.ZodObject<{
1030
+ codename: z.ZodReadonly<z.ZodString>;
1031
+ }, "strict", z.ZodTypeAny, {
1032
+ codename: string;
1033
+ }, {
1034
+ codename: string;
1035
+ }>>;
1036
+ type: z.ZodReadonly<z.ZodObject<{
1037
+ codename: z.ZodReadonly<z.ZodString>;
1038
+ }, "strict", z.ZodTypeAny, {
1039
+ codename: string;
1040
+ }, {
1041
+ codename: string;
1042
+ }>>;
1043
+ collection: z.ZodReadonly<z.ZodObject<{
1044
+ codename: z.ZodReadonly<z.ZodString>;
1045
+ }, "strict", z.ZodTypeAny, {
1046
+ codename: string;
1047
+ }, {
1048
+ codename: string;
1049
+ }>>;
1050
+ workflow: z.ZodReadonly<z.ZodObject<{
1051
+ codename: z.ZodReadonly<z.ZodString>;
1052
+ }, "strict", z.ZodTypeAny, {
1053
+ codename: string;
1054
+ }, {
1055
+ codename: string;
1056
+ }>>;
1057
+ }, "strict", z.ZodTypeAny, {
1058
+ codename: string;
1059
+ type: Readonly<{
1060
+ codename: string;
1061
+ }>;
1062
+ name: string;
1063
+ language: Readonly<{
1064
+ codename: string;
1065
+ }>;
1066
+ collection: Readonly<{
1067
+ codename: string;
1068
+ }>;
1069
+ workflow: Readonly<{
1070
+ codename: string;
1071
+ }>;
1072
+ }, {
1073
+ codename: string;
1074
+ type: Readonly<{
1075
+ codename: string;
1076
+ }>;
1077
+ name: string;
1078
+ language: Readonly<{
1079
+ codename: string;
1080
+ }>;
1081
+ collection: Readonly<{
1082
+ codename: string;
1083
+ }>;
1084
+ workflow: Readonly<{
1085
+ codename: string;
1086
+ }>;
1087
+ }>>;
1088
+ }, {
1089
+ versions: z.ZodArray<z.ZodReadonly<z.ZodObject<z.objectUtil.extendShape<{
1090
+ workflow_step: z.ZodReadonly<z.ZodObject<{
1091
+ codename: z.ZodReadonly<z.ZodString>;
1092
+ }, "strict", z.ZodTypeAny, {
1093
+ codename: string;
1094
+ }, {
1095
+ codename: string;
1096
+ }>>;
1097
+ }, {
1098
+ elements: z.ZodReadonly<z.ZodType<Elements, z.ZodTypeDef, Elements>>;
1099
+ }>, "strict", z.ZodTypeAny, {
1100
+ elements: Readonly<Elements>;
1101
+ workflow_step: Readonly<{
1102
+ codename: string;
1103
+ }>;
1104
+ }, {
1105
+ elements: Readonly<Elements>;
1106
+ workflow_step: Readonly<{
1107
+ codename: string;
1108
+ }>;
1109
+ }>>, "many">;
1110
+ }>, "strict", z.ZodTypeAny, {
1111
+ system: Readonly<{
1112
+ codename: string;
1113
+ type: Readonly<{
1114
+ codename: string;
1115
+ }>;
1116
+ name: string;
1117
+ language: Readonly<{
1118
+ codename: string;
1119
+ }>;
1120
+ collection: Readonly<{
1121
+ codename: string;
1122
+ }>;
1123
+ workflow: Readonly<{
1124
+ codename: string;
1125
+ }>;
1126
+ }>;
1127
+ versions: Readonly<{
1128
+ elements: Readonly<Elements>;
1129
+ workflow_step: Readonly<{
1130
+ codename: string;
1131
+ }>;
1132
+ }>[];
1133
+ }, {
1134
+ system: Readonly<{
1135
+ codename: string;
1136
+ type: Readonly<{
1137
+ codename: string;
1138
+ }>;
1139
+ name: string;
1140
+ language: Readonly<{
1141
+ codename: string;
1142
+ }>;
1143
+ collection: Readonly<{
1144
+ codename: string;
1145
+ }>;
1146
+ workflow: Readonly<{
1147
+ codename: string;
1148
+ }>;
1149
+ }>;
1150
+ versions: Readonly<{
1151
+ elements: Readonly<Elements>;
1152
+ workflow_step: Readonly<{
1153
+ codename: string;
1154
+ }>;
1155
+ }>[];
1156
+ }>>, "many">>;
1157
+ assets: z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<z.objectUtil.extendShape<{
1158
+ codename: z.ZodString;
1159
+ filename: z.ZodString;
1160
+ title: z.ZodString;
1161
+ collection: z.ZodOptional<z.ZodReadonly<z.ZodObject<{
1162
+ codename: z.ZodReadonly<z.ZodString>;
1163
+ }, "strict", z.ZodTypeAny, {
1164
+ codename: string;
1165
+ }, {
1166
+ codename: string;
1167
+ }>>>;
1168
+ descriptions: z.ZodReadonly<z.ZodOptional<z.ZodArray<z.ZodReadonly<z.ZodObject<{
1169
+ language: z.ZodReadonly<z.ZodObject<{
1170
+ codename: z.ZodReadonly<z.ZodString>;
1171
+ }, "strict", z.ZodTypeAny, {
1172
+ codename: string;
1173
+ }, {
1174
+ codename: string;
1175
+ }>>;
1176
+ description: z.ZodOptional<z.ZodString>;
1177
+ }, "strict", z.ZodTypeAny, {
1178
+ language: Readonly<{
1179
+ codename: string;
1180
+ }>;
1181
+ description?: string | undefined;
1182
+ }, {
1183
+ language: Readonly<{
1184
+ codename: string;
1185
+ }>;
1186
+ description?: string | undefined;
1187
+ }>>, "many">>>;
1188
+ }, {
1189
+ binaryData: z.ZodUnion<[z.ZodType<Buffer, z.ZodTypeDef, Buffer>, z.ZodType<import("buffer").Blob, z.ZodTypeDef, import("buffer").Blob>]>;
1190
+ }>, "strict", z.ZodTypeAny, {
1191
+ codename: string;
1192
+ filename: string;
1193
+ title: string;
1194
+ binaryData: Buffer | import("buffer").Blob;
1195
+ collection?: Readonly<{
1196
+ codename: string;
1197
+ }> | undefined;
1198
+ descriptions?: readonly Readonly<{
1199
+ language: Readonly<{
1200
+ codename: string;
1201
+ }>;
1202
+ description?: string | undefined;
1203
+ }>[] | undefined;
1204
+ }, {
1205
+ codename: string;
1206
+ filename: string;
1207
+ title: string;
1208
+ binaryData: Buffer | import("buffer").Blob;
1209
+ collection?: Readonly<{
1210
+ codename: string;
1211
+ }> | undefined;
1212
+ descriptions?: readonly Readonly<{
1213
+ language: Readonly<{
1214
+ codename: string;
1215
+ }>;
1216
+ description?: string | undefined;
1217
+ }>[] | undefined;
1218
+ }>>, "many">>;
1219
+ }, "strict", z.ZodTypeAny, {
1220
+ items: readonly Readonly<{
1221
+ system: Readonly<{
1222
+ codename: string;
1223
+ type: Readonly<{
1224
+ codename: string;
1225
+ }>;
1226
+ name: string;
1227
+ language: Readonly<{
1228
+ codename: string;
1229
+ }>;
1230
+ collection: Readonly<{
1231
+ codename: string;
1232
+ }>;
1233
+ workflow: Readonly<{
1234
+ codename: string;
1235
+ }>;
1236
+ }>;
1237
+ versions: Readonly<{
1238
+ elements: Readonly<Elements>;
1239
+ workflow_step: Readonly<{
1240
+ codename: string;
1241
+ }>;
1242
+ }>[];
1243
+ }>[];
1244
+ assets: readonly Readonly<{
1245
+ codename: string;
1246
+ filename: string;
1247
+ title: string;
1248
+ binaryData: Buffer | import("buffer").Blob;
1249
+ collection?: Readonly<{
1250
+ codename: string;
1251
+ }> | undefined;
1252
+ descriptions?: readonly Readonly<{
1253
+ language: Readonly<{
1254
+ codename: string;
1255
+ }>;
1256
+ description?: string | undefined;
1257
+ }>[] | undefined;
1258
+ }>[];
1259
+ }, {
1260
+ items: readonly Readonly<{
1261
+ system: Readonly<{
1262
+ codename: string;
1263
+ type: Readonly<{
1264
+ codename: string;
1265
+ }>;
1266
+ name: string;
1267
+ language: Readonly<{
1268
+ codename: string;
1269
+ }>;
1270
+ collection: Readonly<{
1271
+ codename: string;
1272
+ }>;
1273
+ workflow: Readonly<{
1274
+ codename: string;
1275
+ }>;
1276
+ }>;
1277
+ versions: Readonly<{
1278
+ elements: Readonly<Elements>;
1279
+ workflow_step: Readonly<{
1280
+ codename: string;
1281
+ }>;
1282
+ }>[];
1283
+ }>[];
1284
+ assets: readonly Readonly<{
1285
+ codename: string;
1286
+ filename: string;
1287
+ title: string;
1288
+ binaryData: Buffer | import("buffer").Blob;
1289
+ collection?: Readonly<{
1290
+ codename: string;
1291
+ }> | undefined;
1292
+ descriptions?: readonly Readonly<{
1293
+ language: Readonly<{
1294
+ codename: string;
1295
+ }>;
1296
+ description?: string | undefined;
1297
+ }>[] | undefined;
1298
+ }>[];
1299
+ }>>;
1300
+ export {};