@webiny/api-headless-cms 5.40.6-beta.3 → 5.40.7-beta.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.
@@ -24,26 +24,26 @@ export declare const createModelCreateValidation: () => zod.ZodObject<{
24
24
  label: zod.ZodString;
25
25
  selected: zod.ZodDefault<zod.ZodOptional<zod.ZodBoolean>>;
26
26
  }, "strip", zod.ZodTypeAny, {
27
- label: string;
28
27
  value: string;
28
+ label: string;
29
29
  selected: boolean;
30
30
  }, {
31
- label: string;
32
31
  value: string;
32
+ label: string;
33
33
  selected?: boolean | undefined;
34
34
  }>, "many">>;
35
35
  }, "strip", zod.ZodTypeAny, {
36
36
  values: {
37
- label: string;
38
37
  value: string;
38
+ label: string;
39
39
  selected: boolean;
40
40
  }[];
41
41
  enabled: boolean;
42
42
  }, {
43
43
  enabled: boolean;
44
44
  values?: {
45
- label: string;
46
45
  value: string;
46
+ label: string;
47
47
  selected?: boolean | undefined;
48
48
  }[] | undefined;
49
49
  }>>>;
@@ -62,21 +62,21 @@ export declare const createModelCreateValidation: () => zod.ZodObject<{
62
62
  message: zod.ZodDefault<zod.ZodOptional<zod.ZodString>>;
63
63
  settings: zod.ZodDefault<zod.ZodEffects<zod.ZodOptional<zod.ZodNullable<zod.ZodOptional<zod.ZodObject<{}, "passthrough", zod.ZodTypeAny, zod.objectOutputType<{}, zod.ZodTypeAny, "passthrough">, zod.objectInputType<{}, zod.ZodTypeAny, "passthrough">>>>>, zod.objectOutputType<{}, zod.ZodTypeAny, "passthrough">, zod.objectInputType<{}, zod.ZodTypeAny, "passthrough"> | null | undefined>>;
64
64
  }, "strip", zod.ZodTypeAny, {
65
+ message: string;
65
66
  name: string;
66
67
  settings: {} & {
67
68
  [k: string]: unknown;
68
69
  };
69
- message: string;
70
70
  }, {
71
71
  name: string;
72
72
  message?: string | undefined;
73
73
  settings?: zod.objectInputType<{}, zod.ZodTypeAny, "passthrough"> | null | undefined;
74
74
  }>, "many">>>>>, {
75
+ message: string;
75
76
  name: string;
76
77
  settings: {} & {
77
78
  [k: string]: unknown;
78
79
  };
79
- message: string;
80
80
  }[], {
81
81
  name: string;
82
82
  message?: string | undefined;
@@ -87,21 +87,21 @@ export declare const createModelCreateValidation: () => zod.ZodObject<{
87
87
  message: zod.ZodDefault<zod.ZodOptional<zod.ZodString>>;
88
88
  settings: zod.ZodDefault<zod.ZodEffects<zod.ZodOptional<zod.ZodNullable<zod.ZodOptional<zod.ZodObject<{}, "passthrough", zod.ZodTypeAny, zod.objectOutputType<{}, zod.ZodTypeAny, "passthrough">, zod.objectInputType<{}, zod.ZodTypeAny, "passthrough">>>>>, zod.objectOutputType<{}, zod.ZodTypeAny, "passthrough">, zod.objectInputType<{}, zod.ZodTypeAny, "passthrough"> | null | undefined>>;
89
89
  }, "strip", zod.ZodTypeAny, {
90
+ message: string;
90
91
  name: string;
91
92
  settings: {} & {
92
93
  [k: string]: unknown;
93
94
  };
94
- message: string;
95
95
  }, {
96
96
  name: string;
97
97
  message?: string | undefined;
98
98
  settings?: zod.objectInputType<{}, zod.ZodTypeAny, "passthrough"> | null | undefined;
99
99
  }>, "many">>>>>, {
100
+ message: string;
100
101
  name: string;
101
102
  settings: {} & {
102
103
  [k: string]: unknown;
103
104
  };
104
- message: string;
105
105
  }[], {
106
106
  name: string;
107
107
  message?: string | undefined;
@@ -109,11 +109,14 @@ export declare const createModelCreateValidation: () => zod.ZodObject<{
109
109
  }[] | null | undefined>;
110
110
  settings: zod.ZodDefault<zod.ZodEffects<zod.ZodOptional<zod.ZodNullable<zod.ZodOptional<zod.ZodObject<{}, "passthrough", zod.ZodTypeAny, zod.objectOutputType<{}, zod.ZodTypeAny, "passthrough">, zod.objectInputType<{}, zod.ZodTypeAny, "passthrough">>>>>, zod.objectOutputType<{}, zod.ZodTypeAny, "passthrough">, zod.objectInputType<{}, zod.ZodTypeAny, "passthrough"> | null | undefined>>;
111
111
  }, "strip", zod.ZodTypeAny, {
112
- id: string;
113
112
  type: string;
113
+ id: string;
114
+ label: string;
115
+ settings: {} & {
116
+ [k: string]: unknown;
117
+ };
114
118
  storageId: string;
115
119
  fieldId: string;
116
- label: string;
117
120
  helpText: string | null;
118
121
  placeholderText: string | null;
119
122
  renderer: {
@@ -121,37 +124,34 @@ export declare const createModelCreateValidation: () => zod.ZodObject<{
121
124
  settings?: zod.objectOutputType<{}, zod.ZodTypeAny, "passthrough"> | null | undefined;
122
125
  } | null;
123
126
  validation: {
127
+ message: string;
124
128
  name: string;
125
129
  settings: {} & {
126
130
  [k: string]: unknown;
127
131
  };
128
- message: string;
129
132
  }[];
130
133
  listValidation: {
134
+ message: string;
131
135
  name: string;
132
136
  settings: {} & {
133
137
  [k: string]: unknown;
134
138
  };
135
- message: string;
136
139
  }[];
137
140
  multipleValues: boolean;
138
141
  tags: string[];
139
- settings: {} & {
140
- [k: string]: unknown;
141
- };
142
142
  predefinedValues?: {
143
143
  values: {
144
- label: string;
145
144
  value: string;
145
+ label: string;
146
146
  selected: boolean;
147
147
  }[];
148
148
  enabled: boolean;
149
149
  } | undefined;
150
150
  }, {
151
- id: string;
152
151
  type: string;
153
- fieldId: string;
152
+ id: string;
154
153
  label: string;
154
+ fieldId: string;
155
155
  storageId?: string | undefined;
156
156
  helpText?: string | null | undefined;
157
157
  placeholderText?: string | null | undefined;
@@ -160,8 +160,8 @@ export declare const createModelCreateValidation: () => zod.ZodObject<{
160
160
  predefinedValues?: {
161
161
  enabled: boolean;
162
162
  values?: {
163
- label: string;
164
163
  value: string;
164
+ label: string;
165
165
  selected?: boolean | undefined;
166
166
  }[] | undefined;
167
167
  } | undefined;
@@ -189,12 +189,16 @@ export declare const createModelCreateValidation: () => zod.ZodObject<{
189
189
  defaultFields: zod.ZodOptional<zod.ZodNullable<zod.ZodBoolean>>;
190
190
  }, "strip", zod.ZodTypeAny, {
191
191
  name: string;
192
+ group: string;
192
193
  fields: {
193
- id: string;
194
194
  type: string;
195
+ id: string;
196
+ label: string;
197
+ settings: {} & {
198
+ [k: string]: unknown;
199
+ };
195
200
  storageId: string;
196
201
  fieldId: string;
197
- label: string;
198
202
  helpText: string | null;
199
203
  placeholderText: string | null;
200
204
  renderer: {
@@ -202,28 +206,25 @@ export declare const createModelCreateValidation: () => zod.ZodObject<{
202
206
  settings?: zod.objectOutputType<{}, zod.ZodTypeAny, "passthrough"> | null | undefined;
203
207
  } | null;
204
208
  validation: {
209
+ message: string;
205
210
  name: string;
206
211
  settings: {} & {
207
212
  [k: string]: unknown;
208
213
  };
209
- message: string;
210
214
  }[];
211
215
  listValidation: {
216
+ message: string;
212
217
  name: string;
213
218
  settings: {} & {
214
219
  [k: string]: unknown;
215
220
  };
216
- message: string;
217
221
  }[];
218
222
  multipleValues: boolean;
219
223
  tags: string[];
220
- settings: {} & {
221
- [k: string]: unknown;
222
- };
223
224
  predefinedValues?: {
224
225
  values: {
225
- label: string;
226
226
  value: string;
227
+ label: string;
227
228
  selected: boolean;
228
229
  }[];
229
230
  enabled: boolean;
@@ -232,7 +233,6 @@ export declare const createModelCreateValidation: () => zod.ZodObject<{
232
233
  layout: string[][];
233
234
  singularApiName: string;
234
235
  pluralApiName: string;
235
- group: string;
236
236
  modelId?: string | undefined;
237
237
  description?: string | null | undefined;
238
238
  icon?: string | null | undefined;
@@ -243,17 +243,17 @@ export declare const createModelCreateValidation: () => zod.ZodObject<{
243
243
  defaultFields?: boolean | null | undefined;
244
244
  }, {
245
245
  name: string;
246
+ group: string;
246
247
  singularApiName: string;
247
248
  pluralApiName: string;
248
- group: string;
249
249
  modelId?: string | undefined;
250
250
  description?: string | null | undefined;
251
251
  icon?: string | null | undefined;
252
252
  fields?: {
253
- id: string;
254
253
  type: string;
255
- fieldId: string;
254
+ id: string;
256
255
  label: string;
256
+ fieldId: string;
257
257
  storageId?: string | undefined;
258
258
  helpText?: string | null | undefined;
259
259
  placeholderText?: string | null | undefined;
@@ -262,8 +262,8 @@ export declare const createModelCreateValidation: () => zod.ZodObject<{
262
262
  predefinedValues?: {
263
263
  enabled: boolean;
264
264
  values?: {
265
- label: string;
266
265
  value: string;
266
+ label: string;
267
267
  selected?: boolean | undefined;
268
268
  }[] | undefined;
269
269
  } | undefined;
@@ -315,26 +315,26 @@ export declare const createModelImportValidation: () => zod.ZodObject<{
315
315
  label: zod.ZodString;
316
316
  selected: zod.ZodDefault<zod.ZodOptional<zod.ZodBoolean>>;
317
317
  }, "strip", zod.ZodTypeAny, {
318
- label: string;
319
318
  value: string;
319
+ label: string;
320
320
  selected: boolean;
321
321
  }, {
322
- label: string;
323
322
  value: string;
323
+ label: string;
324
324
  selected?: boolean | undefined;
325
325
  }>, "many">>;
326
326
  }, "strip", zod.ZodTypeAny, {
327
327
  values: {
328
- label: string;
329
328
  value: string;
329
+ label: string;
330
330
  selected: boolean;
331
331
  }[];
332
332
  enabled: boolean;
333
333
  }, {
334
334
  enabled: boolean;
335
335
  values?: {
336
- label: string;
337
336
  value: string;
337
+ label: string;
338
338
  selected?: boolean | undefined;
339
339
  }[] | undefined;
340
340
  }>>>;
@@ -353,21 +353,21 @@ export declare const createModelImportValidation: () => zod.ZodObject<{
353
353
  message: zod.ZodDefault<zod.ZodOptional<zod.ZodString>>;
354
354
  settings: zod.ZodDefault<zod.ZodEffects<zod.ZodOptional<zod.ZodNullable<zod.ZodOptional<zod.ZodObject<{}, "passthrough", zod.ZodTypeAny, zod.objectOutputType<{}, zod.ZodTypeAny, "passthrough">, zod.objectInputType<{}, zod.ZodTypeAny, "passthrough">>>>>, zod.objectOutputType<{}, zod.ZodTypeAny, "passthrough">, zod.objectInputType<{}, zod.ZodTypeAny, "passthrough"> | null | undefined>>;
355
355
  }, "strip", zod.ZodTypeAny, {
356
+ message: string;
356
357
  name: string;
357
358
  settings: {} & {
358
359
  [k: string]: unknown;
359
360
  };
360
- message: string;
361
361
  }, {
362
362
  name: string;
363
363
  message?: string | undefined;
364
364
  settings?: zod.objectInputType<{}, zod.ZodTypeAny, "passthrough"> | null | undefined;
365
365
  }>, "many">>>>>, {
366
+ message: string;
366
367
  name: string;
367
368
  settings: {} & {
368
369
  [k: string]: unknown;
369
370
  };
370
- message: string;
371
371
  }[], {
372
372
  name: string;
373
373
  message?: string | undefined;
@@ -378,21 +378,21 @@ export declare const createModelImportValidation: () => zod.ZodObject<{
378
378
  message: zod.ZodDefault<zod.ZodOptional<zod.ZodString>>;
379
379
  settings: zod.ZodDefault<zod.ZodEffects<zod.ZodOptional<zod.ZodNullable<zod.ZodOptional<zod.ZodObject<{}, "passthrough", zod.ZodTypeAny, zod.objectOutputType<{}, zod.ZodTypeAny, "passthrough">, zod.objectInputType<{}, zod.ZodTypeAny, "passthrough">>>>>, zod.objectOutputType<{}, zod.ZodTypeAny, "passthrough">, zod.objectInputType<{}, zod.ZodTypeAny, "passthrough"> | null | undefined>>;
380
380
  }, "strip", zod.ZodTypeAny, {
381
+ message: string;
381
382
  name: string;
382
383
  settings: {} & {
383
384
  [k: string]: unknown;
384
385
  };
385
- message: string;
386
386
  }, {
387
387
  name: string;
388
388
  message?: string | undefined;
389
389
  settings?: zod.objectInputType<{}, zod.ZodTypeAny, "passthrough"> | null | undefined;
390
390
  }>, "many">>>>>, {
391
+ message: string;
391
392
  name: string;
392
393
  settings: {} & {
393
394
  [k: string]: unknown;
394
395
  };
395
- message: string;
396
396
  }[], {
397
397
  name: string;
398
398
  message?: string | undefined;
@@ -400,11 +400,14 @@ export declare const createModelImportValidation: () => zod.ZodObject<{
400
400
  }[] | null | undefined>;
401
401
  settings: zod.ZodDefault<zod.ZodEffects<zod.ZodOptional<zod.ZodNullable<zod.ZodOptional<zod.ZodObject<{}, "passthrough", zod.ZodTypeAny, zod.objectOutputType<{}, zod.ZodTypeAny, "passthrough">, zod.objectInputType<{}, zod.ZodTypeAny, "passthrough">>>>>, zod.objectOutputType<{}, zod.ZodTypeAny, "passthrough">, zod.objectInputType<{}, zod.ZodTypeAny, "passthrough"> | null | undefined>>;
402
402
  }, "strip", zod.ZodTypeAny, {
403
- id: string;
404
403
  type: string;
404
+ id: string;
405
+ label: string;
406
+ settings: {} & {
407
+ [k: string]: unknown;
408
+ };
405
409
  storageId: string;
406
410
  fieldId: string;
407
- label: string;
408
411
  helpText: string | null;
409
412
  placeholderText: string | null;
410
413
  renderer: {
@@ -412,37 +415,34 @@ export declare const createModelImportValidation: () => zod.ZodObject<{
412
415
  settings?: zod.objectOutputType<{}, zod.ZodTypeAny, "passthrough"> | null | undefined;
413
416
  } | null;
414
417
  validation: {
418
+ message: string;
415
419
  name: string;
416
420
  settings: {} & {
417
421
  [k: string]: unknown;
418
422
  };
419
- message: string;
420
423
  }[];
421
424
  listValidation: {
425
+ message: string;
422
426
  name: string;
423
427
  settings: {} & {
424
428
  [k: string]: unknown;
425
429
  };
426
- message: string;
427
430
  }[];
428
431
  multipleValues: boolean;
429
432
  tags: string[];
430
- settings: {} & {
431
- [k: string]: unknown;
432
- };
433
433
  predefinedValues?: {
434
434
  values: {
435
- label: string;
436
435
  value: string;
436
+ label: string;
437
437
  selected: boolean;
438
438
  }[];
439
439
  enabled: boolean;
440
440
  } | undefined;
441
441
  }, {
442
- id: string;
443
442
  type: string;
444
- fieldId: string;
443
+ id: string;
445
444
  label: string;
445
+ fieldId: string;
446
446
  storageId?: string | undefined;
447
447
  helpText?: string | null | undefined;
448
448
  placeholderText?: string | null | undefined;
@@ -451,8 +451,8 @@ export declare const createModelImportValidation: () => zod.ZodObject<{
451
451
  predefinedValues?: {
452
452
  enabled: boolean;
453
453
  values?: {
454
- label: string;
455
454
  value: string;
455
+ label: string;
456
456
  selected?: boolean | undefined;
457
457
  }[] | undefined;
458
458
  } | undefined;
@@ -479,12 +479,16 @@ export declare const createModelImportValidation: () => zod.ZodObject<{
479
479
  imageFieldId: zod.ZodOptional<zod.ZodNullable<zod.ZodOptional<zod.ZodString>>>;
480
480
  }, "strip", zod.ZodTypeAny, {
481
481
  name: string;
482
+ group: string;
482
483
  fields: {
483
- id: string;
484
484
  type: string;
485
+ id: string;
486
+ label: string;
487
+ settings: {} & {
488
+ [k: string]: unknown;
489
+ };
485
490
  storageId: string;
486
491
  fieldId: string;
487
- label: string;
488
492
  helpText: string | null;
489
493
  placeholderText: string | null;
490
494
  renderer: {
@@ -492,28 +496,25 @@ export declare const createModelImportValidation: () => zod.ZodObject<{
492
496
  settings?: zod.objectOutputType<{}, zod.ZodTypeAny, "passthrough"> | null | undefined;
493
497
  } | null;
494
498
  validation: {
499
+ message: string;
495
500
  name: string;
496
501
  settings: {} & {
497
502
  [k: string]: unknown;
498
503
  };
499
- message: string;
500
504
  }[];
501
505
  listValidation: {
506
+ message: string;
502
507
  name: string;
503
508
  settings: {} & {
504
509
  [k: string]: unknown;
505
510
  };
506
- message: string;
507
511
  }[];
508
512
  multipleValues: boolean;
509
513
  tags: string[];
510
- settings: {} & {
511
- [k: string]: unknown;
512
- };
513
514
  predefinedValues?: {
514
515
  values: {
515
- label: string;
516
516
  value: string;
517
+ label: string;
517
518
  selected: boolean;
518
519
  }[];
519
520
  enabled: boolean;
@@ -522,7 +523,6 @@ export declare const createModelImportValidation: () => zod.ZodObject<{
522
523
  layout: string[][];
523
524
  singularApiName: string;
524
525
  pluralApiName: string;
525
- group: string;
526
526
  modelId?: string | undefined;
527
527
  description?: string | null | undefined;
528
528
  icon?: string | null | undefined;
@@ -532,11 +532,12 @@ export declare const createModelImportValidation: () => zod.ZodObject<{
532
532
  imageFieldId?: string | null | undefined;
533
533
  }, {
534
534
  name: string;
535
+ group: string;
535
536
  fields: {
536
- id: string;
537
537
  type: string;
538
- fieldId: string;
538
+ id: string;
539
539
  label: string;
540
+ fieldId: string;
540
541
  storageId?: string | undefined;
541
542
  helpText?: string | null | undefined;
542
543
  placeholderText?: string | null | undefined;
@@ -545,8 +546,8 @@ export declare const createModelImportValidation: () => zod.ZodObject<{
545
546
  predefinedValues?: {
546
547
  enabled: boolean;
547
548
  values?: {
548
- label: string;
549
549
  value: string;
550
+ label: string;
550
551
  selected?: boolean | undefined;
551
552
  }[] | undefined;
552
553
  } | undefined;
@@ -570,7 +571,6 @@ export declare const createModelImportValidation: () => zod.ZodObject<{
570
571
  singularApiName: string;
571
572
  pluralApiName: string;
572
573
  modelId: string;
573
- group: string;
574
574
  description?: string | null | undefined;
575
575
  icon?: string | null | undefined;
576
576
  tags?: string[] | undefined;
@@ -589,18 +589,18 @@ export declare const createModelCreateFromValidation: () => zod.ZodObject<{
589
589
  locale: zod.ZodOptional<zod.ZodString>;
590
590
  }, "strip", zod.ZodTypeAny, {
591
591
  name: string;
592
+ group: string;
592
593
  singularApiName: string;
593
594
  pluralApiName: string;
594
- group: string;
595
595
  modelId?: string | undefined;
596
596
  description?: string | null | undefined;
597
597
  icon?: string | null | undefined;
598
598
  locale?: string | undefined;
599
599
  }, {
600
600
  name: string;
601
+ group: string;
601
602
  singularApiName: string;
602
603
  pluralApiName: string;
603
- group: string;
604
604
  modelId?: string | undefined;
605
605
  description?: string | null | undefined;
606
606
  icon?: string | null | undefined;
@@ -630,26 +630,26 @@ export declare const createModelUpdateValidation: () => zod.ZodObject<{
630
630
  label: zod.ZodString;
631
631
  selected: zod.ZodDefault<zod.ZodOptional<zod.ZodBoolean>>;
632
632
  }, "strip", zod.ZodTypeAny, {
633
- label: string;
634
633
  value: string;
634
+ label: string;
635
635
  selected: boolean;
636
636
  }, {
637
- label: string;
638
637
  value: string;
638
+ label: string;
639
639
  selected?: boolean | undefined;
640
640
  }>, "many">>;
641
641
  }, "strip", zod.ZodTypeAny, {
642
642
  values: {
643
- label: string;
644
643
  value: string;
644
+ label: string;
645
645
  selected: boolean;
646
646
  }[];
647
647
  enabled: boolean;
648
648
  }, {
649
649
  enabled: boolean;
650
650
  values?: {
651
- label: string;
652
651
  value: string;
652
+ label: string;
653
653
  selected?: boolean | undefined;
654
654
  }[] | undefined;
655
655
  }>>>;
@@ -668,21 +668,21 @@ export declare const createModelUpdateValidation: () => zod.ZodObject<{
668
668
  message: zod.ZodDefault<zod.ZodOptional<zod.ZodString>>;
669
669
  settings: zod.ZodDefault<zod.ZodEffects<zod.ZodOptional<zod.ZodNullable<zod.ZodOptional<zod.ZodObject<{}, "passthrough", zod.ZodTypeAny, zod.objectOutputType<{}, zod.ZodTypeAny, "passthrough">, zod.objectInputType<{}, zod.ZodTypeAny, "passthrough">>>>>, zod.objectOutputType<{}, zod.ZodTypeAny, "passthrough">, zod.objectInputType<{}, zod.ZodTypeAny, "passthrough"> | null | undefined>>;
670
670
  }, "strip", zod.ZodTypeAny, {
671
+ message: string;
671
672
  name: string;
672
673
  settings: {} & {
673
674
  [k: string]: unknown;
674
675
  };
675
- message: string;
676
676
  }, {
677
677
  name: string;
678
678
  message?: string | undefined;
679
679
  settings?: zod.objectInputType<{}, zod.ZodTypeAny, "passthrough"> | null | undefined;
680
680
  }>, "many">>>>>, {
681
+ message: string;
681
682
  name: string;
682
683
  settings: {} & {
683
684
  [k: string]: unknown;
684
685
  };
685
- message: string;
686
686
  }[], {
687
687
  name: string;
688
688
  message?: string | undefined;
@@ -693,21 +693,21 @@ export declare const createModelUpdateValidation: () => zod.ZodObject<{
693
693
  message: zod.ZodDefault<zod.ZodOptional<zod.ZodString>>;
694
694
  settings: zod.ZodDefault<zod.ZodEffects<zod.ZodOptional<zod.ZodNullable<zod.ZodOptional<zod.ZodObject<{}, "passthrough", zod.ZodTypeAny, zod.objectOutputType<{}, zod.ZodTypeAny, "passthrough">, zod.objectInputType<{}, zod.ZodTypeAny, "passthrough">>>>>, zod.objectOutputType<{}, zod.ZodTypeAny, "passthrough">, zod.objectInputType<{}, zod.ZodTypeAny, "passthrough"> | null | undefined>>;
695
695
  }, "strip", zod.ZodTypeAny, {
696
+ message: string;
696
697
  name: string;
697
698
  settings: {} & {
698
699
  [k: string]: unknown;
699
700
  };
700
- message: string;
701
701
  }, {
702
702
  name: string;
703
703
  message?: string | undefined;
704
704
  settings?: zod.objectInputType<{}, zod.ZodTypeAny, "passthrough"> | null | undefined;
705
705
  }>, "many">>>>>, {
706
+ message: string;
706
707
  name: string;
707
708
  settings: {} & {
708
709
  [k: string]: unknown;
709
710
  };
710
- message: string;
711
711
  }[], {
712
712
  name: string;
713
713
  message?: string | undefined;
@@ -715,11 +715,14 @@ export declare const createModelUpdateValidation: () => zod.ZodObject<{
715
715
  }[] | null | undefined>;
716
716
  settings: zod.ZodDefault<zod.ZodEffects<zod.ZodOptional<zod.ZodNullable<zod.ZodOptional<zod.ZodObject<{}, "passthrough", zod.ZodTypeAny, zod.objectOutputType<{}, zod.ZodTypeAny, "passthrough">, zod.objectInputType<{}, zod.ZodTypeAny, "passthrough">>>>>, zod.objectOutputType<{}, zod.ZodTypeAny, "passthrough">, zod.objectInputType<{}, zod.ZodTypeAny, "passthrough"> | null | undefined>>;
717
717
  }, "strip", zod.ZodTypeAny, {
718
- id: string;
719
718
  type: string;
719
+ id: string;
720
+ label: string;
721
+ settings: {} & {
722
+ [k: string]: unknown;
723
+ };
720
724
  storageId: string;
721
725
  fieldId: string;
722
- label: string;
723
726
  helpText: string | null;
724
727
  placeholderText: string | null;
725
728
  renderer: {
@@ -727,37 +730,34 @@ export declare const createModelUpdateValidation: () => zod.ZodObject<{
727
730
  settings?: zod.objectOutputType<{}, zod.ZodTypeAny, "passthrough"> | null | undefined;
728
731
  } | null;
729
732
  validation: {
733
+ message: string;
730
734
  name: string;
731
735
  settings: {} & {
732
736
  [k: string]: unknown;
733
737
  };
734
- message: string;
735
738
  }[];
736
739
  listValidation: {
740
+ message: string;
737
741
  name: string;
738
742
  settings: {} & {
739
743
  [k: string]: unknown;
740
744
  };
741
- message: string;
742
745
  }[];
743
746
  multipleValues: boolean;
744
747
  tags: string[];
745
- settings: {} & {
746
- [k: string]: unknown;
747
- };
748
748
  predefinedValues?: {
749
749
  values: {
750
- label: string;
751
750
  value: string;
751
+ label: string;
752
752
  selected: boolean;
753
753
  }[];
754
754
  enabled: boolean;
755
755
  } | undefined;
756
756
  }, {
757
- id: string;
758
757
  type: string;
759
- fieldId: string;
758
+ id: string;
760
759
  label: string;
760
+ fieldId: string;
761
761
  storageId?: string | undefined;
762
762
  helpText?: string | null | undefined;
763
763
  placeholderText?: string | null | undefined;
@@ -766,8 +766,8 @@ export declare const createModelUpdateValidation: () => zod.ZodObject<{
766
766
  predefinedValues?: {
767
767
  enabled: boolean;
768
768
  values?: {
769
- label: string;
770
769
  value: string;
770
+ label: string;
771
771
  selected?: boolean | undefined;
772
772
  }[] | undefined;
773
773
  } | undefined;
@@ -794,11 +794,14 @@ export declare const createModelUpdateValidation: () => zod.ZodObject<{
794
794
  tags: zod.ZodOptional<zod.ZodArray<zod.ZodString, "many">>;
795
795
  }, "strip", zod.ZodTypeAny, {
796
796
  fields: {
797
- id: string;
798
797
  type: string;
798
+ id: string;
799
+ label: string;
800
+ settings: {} & {
801
+ [k: string]: unknown;
802
+ };
799
803
  storageId: string;
800
804
  fieldId: string;
801
- label: string;
802
805
  helpText: string | null;
803
806
  placeholderText: string | null;
804
807
  renderer: {
@@ -806,28 +809,25 @@ export declare const createModelUpdateValidation: () => zod.ZodObject<{
806
809
  settings?: zod.objectOutputType<{}, zod.ZodTypeAny, "passthrough"> | null | undefined;
807
810
  } | null;
808
811
  validation: {
812
+ message: string;
809
813
  name: string;
810
814
  settings: {} & {
811
815
  [k: string]: unknown;
812
816
  };
813
- message: string;
814
817
  }[];
815
818
  listValidation: {
819
+ message: string;
816
820
  name: string;
817
821
  settings: {} & {
818
822
  [k: string]: unknown;
819
823
  };
820
- message: string;
821
824
  }[];
822
825
  multipleValues: boolean;
823
826
  tags: string[];
824
- settings: {} & {
825
- [k: string]: unknown;
826
- };
827
827
  predefinedValues?: {
828
828
  values: {
829
- label: string;
830
829
  value: string;
830
+ label: string;
831
831
  selected: boolean;
832
832
  }[];
833
833
  enabled: boolean;
@@ -846,10 +846,10 @@ export declare const createModelUpdateValidation: () => zod.ZodObject<{
846
846
  tags?: string[] | undefined;
847
847
  }, {
848
848
  fields: {
849
- id: string;
850
849
  type: string;
851
- fieldId: string;
850
+ id: string;
852
851
  label: string;
852
+ fieldId: string;
853
853
  storageId?: string | undefined;
854
854
  helpText?: string | null | undefined;
855
855
  placeholderText?: string | null | undefined;
@@ -858,8 +858,8 @@ export declare const createModelUpdateValidation: () => zod.ZodObject<{
858
858
  predefinedValues?: {
859
859
  enabled: boolean;
860
860
  values?: {
861
- label: string;
862
861
  value: string;
862
+ label: string;
863
863
  selected?: boolean | undefined;
864
864
  }[] | undefined;
865
865
  } | undefined;
@@ -6,9 +6,9 @@ export declare const createGroupCreateValidation: () => zod.ZodObject<{
6
6
  description: zod.ZodEffects<zod.ZodOptional<zod.ZodNullable<zod.ZodOptional<zod.ZodString>>>, string, string | null | undefined>;
7
7
  icon: zod.ZodString;
8
8
  }, "strip", zod.ZodTypeAny, {
9
+ description: string;
9
10
  name: string;
10
11
  slug: string;
11
- description: string;
12
12
  icon: string;
13
13
  id?: string | null | undefined;
14
14
  }, {
@@ -1,3 +1,3 @@
1
1
  import { GraphQLHandlerFactoryParams } from "./graphQLHandlerFactory";
2
2
  export declare type CreateGraphQLParams = GraphQLHandlerFactoryParams;
3
- export declare const createGraphQL: (params: CreateGraphQLParams) => (import("@webiny/handler-graphql").GraphQLSchemaPlugin<import("../types").CmsContext> | import("@webiny/plugins/types").PluginCollection | import("@webiny/api").ContextPlugin<import("@webiny/api/types").Context>)[];
3
+ export declare const createGraphQL: (params: CreateGraphQLParams) => (import("@webiny/plugins/types").PluginCollection | import("@webiny/handler-graphql").GraphQLSchemaPlugin<import("../types").CmsContext> | import("@webiny/api").ContextPlugin<import("@webiny/api/types").Context>)[];
package/index.d.ts CHANGED
@@ -5,7 +5,7 @@ export * from "./utils/isHeadlessCmsReady";
5
5
  export * from "./utils/createModelField";
6
6
  export * from "./graphql/schema/resolvers/manage/normalizeGraphQlInput";
7
7
  export declare type CreateHeadlessCmsGraphQLParams = CreateGraphQLParams;
8
- export declare const createHeadlessCmsGraphQL: (params?: CreateHeadlessCmsGraphQLParams) => (import("./plugins").CmsParametersPlugin | import("@webiny/handler-graphql").GraphQLSchemaPlugin<import("./types").CmsContext> | import("@webiny/plugins/types").PluginCollection | import("@webiny/api").ContextPlugin<import("@webiny/api/types").Context> | import("./plugins").CmsRichTextRendererPlugin<string | undefined>)[];
8
+ export declare const createHeadlessCmsGraphQL: (params?: CreateHeadlessCmsGraphQLParams) => (import("@webiny/plugins/types").PluginCollection | import("./plugins").CmsParametersPlugin | import("@webiny/handler-graphql").GraphQLSchemaPlugin<import("./types").CmsContext> | import("@webiny/api").ContextPlugin<import("@webiny/api/types").Context> | import("./plugins").CmsRichTextRendererPlugin<string | undefined>)[];
9
9
  export declare type ContentContextParams = CrudParams;
10
10
  export declare const createHeadlessCmsContext: (params: ContentContextParams) => (import("./types").ModelManagerPlugin | import("./plugins").StorageTransformPlugin<any, any, import("./types").CmsModelField> | import("@webiny/api").ContextPlugin<import("./types").CmsContext> | import("./types").CmsModelFieldToGraphQLPlugin<any>[] | (import("./types").CmsModelFieldValidatorPlugin | import("./types").CmsModelFieldPatternValidatorPlugin[])[] | (import("./fieldConverters/CmsModelObjectFieldConverterPlugin").CmsModelObjectFieldConverterPlugin | import("./fieldConverters/CmsModelDefaultFieldConverterPlugin").CmsModelDefaultFieldConverterPlugin | import("./fieldConverters/CmsModelDynamicZoneFieldConverterPlugin").CmsModelDynamicZoneFieldConverterPlugin)[])[];
11
11
  export * from "./graphqlFields";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@webiny/api-headless-cms",
3
- "version": "5.40.6-beta.3",
3
+ "version": "5.40.7-beta.0",
4
4
  "main": "index.js",
5
5
  "keywords": [
6
6
  "cms:base"
@@ -20,20 +20,20 @@
20
20
  "dependencies": {
21
21
  "@babel/runtime": "7.24.1",
22
22
  "@graphql-tools/schema": "7.1.5",
23
- "@webiny/api": "5.40.6-beta.3",
24
- "@webiny/api-i18n": "5.40.6-beta.3",
25
- "@webiny/api-security": "5.40.6-beta.3",
26
- "@webiny/api-tenancy": "5.40.6-beta.3",
27
- "@webiny/error": "5.40.6-beta.3",
28
- "@webiny/handler": "5.40.6-beta.3",
29
- "@webiny/handler-aws": "5.40.6-beta.3",
30
- "@webiny/handler-db": "5.40.6-beta.3",
31
- "@webiny/handler-graphql": "5.40.6-beta.3",
32
- "@webiny/lexical-converter": "5.40.6-beta.3",
33
- "@webiny/plugins": "5.40.6-beta.3",
34
- "@webiny/pubsub": "5.40.6-beta.3",
35
- "@webiny/utils": "5.40.6-beta.3",
36
- "@webiny/validation": "5.40.6-beta.3",
23
+ "@webiny/api": "5.40.7-beta.0",
24
+ "@webiny/api-i18n": "5.40.7-beta.0",
25
+ "@webiny/api-security": "5.40.7-beta.0",
26
+ "@webiny/api-tenancy": "5.40.7-beta.0",
27
+ "@webiny/error": "5.40.7-beta.0",
28
+ "@webiny/handler": "5.40.7-beta.0",
29
+ "@webiny/handler-aws": "5.40.7-beta.0",
30
+ "@webiny/handler-db": "5.40.7-beta.0",
31
+ "@webiny/handler-graphql": "5.40.7-beta.0",
32
+ "@webiny/lexical-converter": "5.40.7-beta.0",
33
+ "@webiny/plugins": "5.40.7-beta.0",
34
+ "@webiny/pubsub": "5.40.7-beta.0",
35
+ "@webiny/utils": "5.40.7-beta.0",
36
+ "@webiny/validation": "5.40.7-beta.0",
37
37
  "code-frame": "5.0.0",
38
38
  "dot-prop": "6.0.1",
39
39
  "graphql": "15.8.0",
@@ -51,10 +51,10 @@
51
51
  "@babel/cli": "7.24.1",
52
52
  "@babel/core": "7.24.3",
53
53
  "@babel/preset-env": "7.24.3",
54
- "@webiny/api-wcp": "5.40.6-beta.3",
55
- "@webiny/aws-sdk": "5.40.6-beta.3",
56
- "@webiny/cli": "5.40.6-beta.3",
57
- "@webiny/project-utils": "5.40.6-beta.3",
54
+ "@webiny/api-wcp": "5.40.7-beta.0",
55
+ "@webiny/aws-sdk": "5.40.7-beta.0",
56
+ "@webiny/cli": "5.40.7-beta.0",
57
+ "@webiny/project-utils": "5.40.7-beta.0",
58
58
  "apollo-graphql": "0.9.7",
59
59
  "get-yarn-workspaces": "1.0.2",
60
60
  "graphql": "15.8.0",
@@ -74,5 +74,5 @@
74
74
  "build": "yarn webiny run build",
75
75
  "watch": "yarn webiny run watch"
76
76
  },
77
- "gitHead": "f9da84b373e62f9f269599c4301e5e4418a98d51"
77
+ "gitHead": "7236a5d93457a1dda87e880de76d6d859d49f283"
78
78
  }