@webiny/api-headless-cms 5.38.5 → 5.38.6
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/crud/contentModel/validation.d.ts +84 -84
- package/crud/contentModelGroup/validation.d.ts +1 -1
- package/graphql/index.d.ts +1 -1
- package/index.d.ts +1 -1
- package/package.json +18 -18
|
@@ -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
|
}>>>;
|
|
@@ -60,20 +60,20 @@ export declare const createModelCreateValidation: () => zod.ZodObject<{
|
|
|
60
60
|
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>>;
|
|
61
61
|
}, "strip", zod.ZodTypeAny, {
|
|
62
62
|
name: string;
|
|
63
|
+
message: string;
|
|
63
64
|
settings: {} & {
|
|
64
65
|
[k: string]: unknown;
|
|
65
66
|
};
|
|
66
|
-
message: string;
|
|
67
67
|
}, {
|
|
68
68
|
name: string;
|
|
69
69
|
message?: string | undefined;
|
|
70
70
|
settings?: zod.objectInputType<{}, zod.ZodTypeAny, "passthrough"> | null | undefined;
|
|
71
71
|
}>, "many">>>>>, {
|
|
72
72
|
name: string;
|
|
73
|
+
message: string;
|
|
73
74
|
settings: {} & {
|
|
74
75
|
[k: string]: unknown;
|
|
75
76
|
};
|
|
76
|
-
message: string;
|
|
77
77
|
}[], {
|
|
78
78
|
name: string;
|
|
79
79
|
message?: string | undefined;
|
|
@@ -85,20 +85,20 @@ export declare const createModelCreateValidation: () => zod.ZodObject<{
|
|
|
85
85
|
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>>;
|
|
86
86
|
}, "strip", zod.ZodTypeAny, {
|
|
87
87
|
name: string;
|
|
88
|
+
message: string;
|
|
88
89
|
settings: {} & {
|
|
89
90
|
[k: string]: unknown;
|
|
90
91
|
};
|
|
91
|
-
message: string;
|
|
92
92
|
}, {
|
|
93
93
|
name: string;
|
|
94
94
|
message?: string | undefined;
|
|
95
95
|
settings?: zod.objectInputType<{}, zod.ZodTypeAny, "passthrough"> | null | undefined;
|
|
96
96
|
}>, "many">>>>>, {
|
|
97
97
|
name: string;
|
|
98
|
+
message: string;
|
|
98
99
|
settings: {} & {
|
|
99
100
|
[k: string]: unknown;
|
|
100
101
|
};
|
|
101
|
-
message: string;
|
|
102
102
|
}[], {
|
|
103
103
|
name: string;
|
|
104
104
|
message?: string | undefined;
|
|
@@ -106,8 +106,11 @@ export declare const createModelCreateValidation: () => zod.ZodObject<{
|
|
|
106
106
|
}[] | null | undefined>;
|
|
107
107
|
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>>;
|
|
108
108
|
}, "strip", zod.ZodTypeAny, {
|
|
109
|
-
id: string;
|
|
110
109
|
type: string;
|
|
110
|
+
id: string;
|
|
111
|
+
settings: {} & {
|
|
112
|
+
[k: string]: unknown;
|
|
113
|
+
};
|
|
111
114
|
storageId: string;
|
|
112
115
|
fieldId: string;
|
|
113
116
|
label: string;
|
|
@@ -115,27 +118,24 @@ export declare const createModelCreateValidation: () => zod.ZodObject<{
|
|
|
115
118
|
placeholderText: string | null;
|
|
116
119
|
validation: {
|
|
117
120
|
name: string;
|
|
121
|
+
message: string;
|
|
118
122
|
settings: {} & {
|
|
119
123
|
[k: string]: unknown;
|
|
120
124
|
};
|
|
121
|
-
message: string;
|
|
122
125
|
}[];
|
|
123
126
|
listValidation: {
|
|
124
127
|
name: string;
|
|
128
|
+
message: string;
|
|
125
129
|
settings: {} & {
|
|
126
130
|
[k: string]: unknown;
|
|
127
131
|
};
|
|
128
|
-
message: string;
|
|
129
132
|
}[];
|
|
130
133
|
multipleValues: boolean;
|
|
131
134
|
tags: string[];
|
|
132
|
-
settings: {} & {
|
|
133
|
-
[k: string]: unknown;
|
|
134
|
-
};
|
|
135
135
|
predefinedValues?: {
|
|
136
136
|
values: {
|
|
137
|
-
label: string;
|
|
138
137
|
value: string;
|
|
138
|
+
label: string;
|
|
139
139
|
selected: boolean;
|
|
140
140
|
}[];
|
|
141
141
|
enabled: boolean;
|
|
@@ -144,8 +144,8 @@ export declare const createModelCreateValidation: () => zod.ZodObject<{
|
|
|
144
144
|
name: string;
|
|
145
145
|
} | undefined;
|
|
146
146
|
}, {
|
|
147
|
-
id: string;
|
|
148
147
|
type: string;
|
|
148
|
+
id: string;
|
|
149
149
|
fieldId: string;
|
|
150
150
|
label: string;
|
|
151
151
|
storageId?: string | undefined;
|
|
@@ -156,8 +156,8 @@ export declare const createModelCreateValidation: () => zod.ZodObject<{
|
|
|
156
156
|
predefinedValues?: {
|
|
157
157
|
enabled: boolean;
|
|
158
158
|
values?: {
|
|
159
|
-
label: string;
|
|
160
159
|
value: string;
|
|
160
|
+
label: string;
|
|
161
161
|
selected?: boolean | undefined;
|
|
162
162
|
}[] | undefined;
|
|
163
163
|
} | undefined;
|
|
@@ -183,10 +183,14 @@ export declare const createModelCreateValidation: () => zod.ZodObject<{
|
|
|
183
183
|
imageFieldId: zod.ZodOptional<zod.ZodNullable<zod.ZodOptional<zod.ZodString>>>;
|
|
184
184
|
defaultFields: zod.ZodOptional<zod.ZodNullable<zod.ZodBoolean>>;
|
|
185
185
|
}, "strip", zod.ZodTypeAny, {
|
|
186
|
+
group: string;
|
|
186
187
|
name: string;
|
|
187
188
|
fields: {
|
|
188
|
-
id: string;
|
|
189
189
|
type: string;
|
|
190
|
+
id: string;
|
|
191
|
+
settings: {} & {
|
|
192
|
+
[k: string]: unknown;
|
|
193
|
+
};
|
|
190
194
|
storageId: string;
|
|
191
195
|
fieldId: string;
|
|
192
196
|
label: string;
|
|
@@ -194,27 +198,24 @@ export declare const createModelCreateValidation: () => zod.ZodObject<{
|
|
|
194
198
|
placeholderText: string | null;
|
|
195
199
|
validation: {
|
|
196
200
|
name: string;
|
|
201
|
+
message: string;
|
|
197
202
|
settings: {} & {
|
|
198
203
|
[k: string]: unknown;
|
|
199
204
|
};
|
|
200
|
-
message: string;
|
|
201
205
|
}[];
|
|
202
206
|
listValidation: {
|
|
203
207
|
name: string;
|
|
208
|
+
message: string;
|
|
204
209
|
settings: {} & {
|
|
205
210
|
[k: string]: unknown;
|
|
206
211
|
};
|
|
207
|
-
message: string;
|
|
208
212
|
}[];
|
|
209
213
|
multipleValues: boolean;
|
|
210
214
|
tags: string[];
|
|
211
|
-
settings: {} & {
|
|
212
|
-
[k: string]: unknown;
|
|
213
|
-
};
|
|
214
215
|
predefinedValues?: {
|
|
215
216
|
values: {
|
|
216
|
-
label: string;
|
|
217
217
|
value: string;
|
|
218
|
+
label: string;
|
|
218
219
|
selected: boolean;
|
|
219
220
|
}[];
|
|
220
221
|
enabled: boolean;
|
|
@@ -226,7 +227,6 @@ export declare const createModelCreateValidation: () => zod.ZodObject<{
|
|
|
226
227
|
layout: string[][];
|
|
227
228
|
singularApiName: string;
|
|
228
229
|
pluralApiName: string;
|
|
229
|
-
group: string;
|
|
230
230
|
modelId?: string | undefined;
|
|
231
231
|
description?: string | null | undefined;
|
|
232
232
|
icon?: string | null | undefined;
|
|
@@ -236,16 +236,16 @@ export declare const createModelCreateValidation: () => zod.ZodObject<{
|
|
|
236
236
|
imageFieldId?: string | null | undefined;
|
|
237
237
|
defaultFields?: boolean | null | undefined;
|
|
238
238
|
}, {
|
|
239
|
+
group: string;
|
|
239
240
|
name: string;
|
|
240
241
|
singularApiName: string;
|
|
241
242
|
pluralApiName: string;
|
|
242
|
-
group: string;
|
|
243
243
|
modelId?: string | undefined;
|
|
244
244
|
description?: string | null | undefined;
|
|
245
245
|
icon?: string | null | undefined;
|
|
246
246
|
fields?: {
|
|
247
|
-
id: string;
|
|
248
247
|
type: string;
|
|
248
|
+
id: string;
|
|
249
249
|
fieldId: string;
|
|
250
250
|
label: string;
|
|
251
251
|
storageId?: string | undefined;
|
|
@@ -256,8 +256,8 @@ export declare const createModelCreateValidation: () => zod.ZodObject<{
|
|
|
256
256
|
predefinedValues?: {
|
|
257
257
|
enabled: boolean;
|
|
258
258
|
values?: {
|
|
259
|
-
label: string;
|
|
260
259
|
value: string;
|
|
260
|
+
label: string;
|
|
261
261
|
selected?: boolean | undefined;
|
|
262
262
|
}[] | undefined;
|
|
263
263
|
} | undefined;
|
|
@@ -308,26 +308,26 @@ export declare const createModelImportValidation: () => zod.ZodObject<{
|
|
|
308
308
|
label: zod.ZodString;
|
|
309
309
|
selected: zod.ZodDefault<zod.ZodOptional<zod.ZodBoolean>>;
|
|
310
310
|
}, "strip", zod.ZodTypeAny, {
|
|
311
|
-
label: string;
|
|
312
311
|
value: string;
|
|
312
|
+
label: string;
|
|
313
313
|
selected: boolean;
|
|
314
314
|
}, {
|
|
315
|
-
label: string;
|
|
316
315
|
value: string;
|
|
316
|
+
label: string;
|
|
317
317
|
selected?: boolean | undefined;
|
|
318
318
|
}>, "many">>;
|
|
319
319
|
}, "strip", zod.ZodTypeAny, {
|
|
320
320
|
values: {
|
|
321
|
-
label: string;
|
|
322
321
|
value: string;
|
|
322
|
+
label: string;
|
|
323
323
|
selected: boolean;
|
|
324
324
|
}[];
|
|
325
325
|
enabled: boolean;
|
|
326
326
|
}, {
|
|
327
327
|
enabled: boolean;
|
|
328
328
|
values?: {
|
|
329
|
-
label: string;
|
|
330
329
|
value: string;
|
|
330
|
+
label: string;
|
|
331
331
|
selected?: boolean | undefined;
|
|
332
332
|
}[] | undefined;
|
|
333
333
|
}>>>;
|
|
@@ -344,20 +344,20 @@ export declare const createModelImportValidation: () => zod.ZodObject<{
|
|
|
344
344
|
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>>;
|
|
345
345
|
}, "strip", zod.ZodTypeAny, {
|
|
346
346
|
name: string;
|
|
347
|
+
message: string;
|
|
347
348
|
settings: {} & {
|
|
348
349
|
[k: string]: unknown;
|
|
349
350
|
};
|
|
350
|
-
message: string;
|
|
351
351
|
}, {
|
|
352
352
|
name: string;
|
|
353
353
|
message?: string | undefined;
|
|
354
354
|
settings?: zod.objectInputType<{}, zod.ZodTypeAny, "passthrough"> | null | undefined;
|
|
355
355
|
}>, "many">>>>>, {
|
|
356
356
|
name: string;
|
|
357
|
+
message: 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;
|
|
@@ -369,20 +369,20 @@ export declare const createModelImportValidation: () => zod.ZodObject<{
|
|
|
369
369
|
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>>;
|
|
370
370
|
}, "strip", zod.ZodTypeAny, {
|
|
371
371
|
name: string;
|
|
372
|
+
message: string;
|
|
372
373
|
settings: {} & {
|
|
373
374
|
[k: string]: unknown;
|
|
374
375
|
};
|
|
375
|
-
message: string;
|
|
376
376
|
}, {
|
|
377
377
|
name: string;
|
|
378
378
|
message?: string | undefined;
|
|
379
379
|
settings?: zod.objectInputType<{}, zod.ZodTypeAny, "passthrough"> | null | undefined;
|
|
380
380
|
}>, "many">>>>>, {
|
|
381
381
|
name: string;
|
|
382
|
+
message: 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;
|
|
@@ -390,8 +390,11 @@ export declare const createModelImportValidation: () => zod.ZodObject<{
|
|
|
390
390
|
}[] | null | undefined>;
|
|
391
391
|
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>>;
|
|
392
392
|
}, "strip", zod.ZodTypeAny, {
|
|
393
|
-
id: string;
|
|
394
393
|
type: string;
|
|
394
|
+
id: string;
|
|
395
|
+
settings: {} & {
|
|
396
|
+
[k: string]: unknown;
|
|
397
|
+
};
|
|
395
398
|
storageId: string;
|
|
396
399
|
fieldId: string;
|
|
397
400
|
label: string;
|
|
@@ -399,27 +402,24 @@ export declare const createModelImportValidation: () => zod.ZodObject<{
|
|
|
399
402
|
placeholderText: string | null;
|
|
400
403
|
validation: {
|
|
401
404
|
name: string;
|
|
405
|
+
message: string;
|
|
402
406
|
settings: {} & {
|
|
403
407
|
[k: string]: unknown;
|
|
404
408
|
};
|
|
405
|
-
message: string;
|
|
406
409
|
}[];
|
|
407
410
|
listValidation: {
|
|
408
411
|
name: string;
|
|
412
|
+
message: string;
|
|
409
413
|
settings: {} & {
|
|
410
414
|
[k: string]: unknown;
|
|
411
415
|
};
|
|
412
|
-
message: string;
|
|
413
416
|
}[];
|
|
414
417
|
multipleValues: boolean;
|
|
415
418
|
tags: string[];
|
|
416
|
-
settings: {} & {
|
|
417
|
-
[k: string]: unknown;
|
|
418
|
-
};
|
|
419
419
|
predefinedValues?: {
|
|
420
420
|
values: {
|
|
421
|
-
label: string;
|
|
422
421
|
value: string;
|
|
422
|
+
label: string;
|
|
423
423
|
selected: boolean;
|
|
424
424
|
}[];
|
|
425
425
|
enabled: boolean;
|
|
@@ -428,8 +428,8 @@ export declare const createModelImportValidation: () => zod.ZodObject<{
|
|
|
428
428
|
name: string;
|
|
429
429
|
} | undefined;
|
|
430
430
|
}, {
|
|
431
|
-
id: string;
|
|
432
431
|
type: string;
|
|
432
|
+
id: string;
|
|
433
433
|
fieldId: string;
|
|
434
434
|
label: string;
|
|
435
435
|
storageId?: string | undefined;
|
|
@@ -440,8 +440,8 @@ export declare const createModelImportValidation: () => zod.ZodObject<{
|
|
|
440
440
|
predefinedValues?: {
|
|
441
441
|
enabled: boolean;
|
|
442
442
|
values?: {
|
|
443
|
-
label: string;
|
|
444
443
|
value: string;
|
|
444
|
+
label: string;
|
|
445
445
|
selected?: boolean | undefined;
|
|
446
446
|
}[] | undefined;
|
|
447
447
|
} | undefined;
|
|
@@ -466,10 +466,14 @@ export declare const createModelImportValidation: () => zod.ZodObject<{
|
|
|
466
466
|
descriptionFieldId: zod.ZodOptional<zod.ZodNullable<zod.ZodOptional<zod.ZodString>>>;
|
|
467
467
|
imageFieldId: zod.ZodOptional<zod.ZodNullable<zod.ZodOptional<zod.ZodString>>>;
|
|
468
468
|
}, "strip", zod.ZodTypeAny, {
|
|
469
|
+
group: string;
|
|
469
470
|
name: string;
|
|
470
471
|
fields: {
|
|
471
|
-
id: string;
|
|
472
472
|
type: string;
|
|
473
|
+
id: string;
|
|
474
|
+
settings: {} & {
|
|
475
|
+
[k: string]: unknown;
|
|
476
|
+
};
|
|
473
477
|
storageId: string;
|
|
474
478
|
fieldId: string;
|
|
475
479
|
label: string;
|
|
@@ -477,27 +481,24 @@ export declare const createModelImportValidation: () => zod.ZodObject<{
|
|
|
477
481
|
placeholderText: string | null;
|
|
478
482
|
validation: {
|
|
479
483
|
name: string;
|
|
484
|
+
message: string;
|
|
480
485
|
settings: {} & {
|
|
481
486
|
[k: string]: unknown;
|
|
482
487
|
};
|
|
483
|
-
message: string;
|
|
484
488
|
}[];
|
|
485
489
|
listValidation: {
|
|
486
490
|
name: string;
|
|
491
|
+
message: string;
|
|
487
492
|
settings: {} & {
|
|
488
493
|
[k: string]: unknown;
|
|
489
494
|
};
|
|
490
|
-
message: string;
|
|
491
495
|
}[];
|
|
492
496
|
multipleValues: boolean;
|
|
493
497
|
tags: string[];
|
|
494
|
-
settings: {} & {
|
|
495
|
-
[k: string]: unknown;
|
|
496
|
-
};
|
|
497
498
|
predefinedValues?: {
|
|
498
499
|
values: {
|
|
499
|
-
label: string;
|
|
500
500
|
value: string;
|
|
501
|
+
label: string;
|
|
501
502
|
selected: boolean;
|
|
502
503
|
}[];
|
|
503
504
|
enabled: boolean;
|
|
@@ -509,7 +510,6 @@ export declare const createModelImportValidation: () => zod.ZodObject<{
|
|
|
509
510
|
layout: string[][];
|
|
510
511
|
singularApiName: string;
|
|
511
512
|
pluralApiName: string;
|
|
512
|
-
group: string;
|
|
513
513
|
modelId?: string | undefined;
|
|
514
514
|
description?: string | null | undefined;
|
|
515
515
|
icon?: string | null | undefined;
|
|
@@ -518,10 +518,11 @@ export declare const createModelImportValidation: () => zod.ZodObject<{
|
|
|
518
518
|
descriptionFieldId?: string | null | undefined;
|
|
519
519
|
imageFieldId?: string | null | undefined;
|
|
520
520
|
}, {
|
|
521
|
+
group: string;
|
|
521
522
|
name: string;
|
|
522
523
|
fields: {
|
|
523
|
-
id: string;
|
|
524
524
|
type: string;
|
|
525
|
+
id: string;
|
|
525
526
|
fieldId: string;
|
|
526
527
|
label: string;
|
|
527
528
|
storageId?: string | undefined;
|
|
@@ -532,8 +533,8 @@ export declare const createModelImportValidation: () => zod.ZodObject<{
|
|
|
532
533
|
predefinedValues?: {
|
|
533
534
|
enabled: boolean;
|
|
534
535
|
values?: {
|
|
535
|
-
label: string;
|
|
536
536
|
value: string;
|
|
537
|
+
label: string;
|
|
537
538
|
selected?: boolean | undefined;
|
|
538
539
|
}[] | undefined;
|
|
539
540
|
} | undefined;
|
|
@@ -556,7 +557,6 @@ export declare const createModelImportValidation: () => zod.ZodObject<{
|
|
|
556
557
|
singularApiName: string;
|
|
557
558
|
pluralApiName: string;
|
|
558
559
|
modelId: string;
|
|
559
|
-
group: string;
|
|
560
560
|
description?: string | null | undefined;
|
|
561
561
|
icon?: string | null | undefined;
|
|
562
562
|
tags?: string[] | undefined;
|
|
@@ -574,19 +574,19 @@ export declare const createModelCreateFromValidation: () => zod.ZodObject<{
|
|
|
574
574
|
icon: zod.ZodOptional<zod.ZodNullable<zod.ZodOptional<zod.ZodString>>>;
|
|
575
575
|
locale: zod.ZodOptional<zod.ZodString>;
|
|
576
576
|
}, "strip", zod.ZodTypeAny, {
|
|
577
|
+
group: string;
|
|
577
578
|
name: string;
|
|
578
579
|
singularApiName: string;
|
|
579
580
|
pluralApiName: string;
|
|
580
|
-
group: string;
|
|
581
581
|
modelId?: string | undefined;
|
|
582
582
|
description?: string | null | undefined;
|
|
583
583
|
icon?: string | null | undefined;
|
|
584
584
|
locale?: string | undefined;
|
|
585
585
|
}, {
|
|
586
|
+
group: string;
|
|
586
587
|
name: string;
|
|
587
588
|
singularApiName: string;
|
|
588
589
|
pluralApiName: string;
|
|
589
|
-
group: string;
|
|
590
590
|
modelId?: string | undefined;
|
|
591
591
|
description?: string | null | undefined;
|
|
592
592
|
icon?: string | null | undefined;
|
|
@@ -616,26 +616,26 @@ export declare const createModelUpdateValidation: () => zod.ZodObject<{
|
|
|
616
616
|
label: zod.ZodString;
|
|
617
617
|
selected: zod.ZodDefault<zod.ZodOptional<zod.ZodBoolean>>;
|
|
618
618
|
}, "strip", zod.ZodTypeAny, {
|
|
619
|
-
label: string;
|
|
620
619
|
value: string;
|
|
620
|
+
label: string;
|
|
621
621
|
selected: boolean;
|
|
622
622
|
}, {
|
|
623
|
-
label: string;
|
|
624
623
|
value: string;
|
|
624
|
+
label: string;
|
|
625
625
|
selected?: boolean | undefined;
|
|
626
626
|
}>, "many">>;
|
|
627
627
|
}, "strip", zod.ZodTypeAny, {
|
|
628
628
|
values: {
|
|
629
|
-
label: string;
|
|
630
629
|
value: string;
|
|
630
|
+
label: string;
|
|
631
631
|
selected: boolean;
|
|
632
632
|
}[];
|
|
633
633
|
enabled: boolean;
|
|
634
634
|
}, {
|
|
635
635
|
enabled: boolean;
|
|
636
636
|
values?: {
|
|
637
|
-
label: string;
|
|
638
637
|
value: string;
|
|
638
|
+
label: string;
|
|
639
639
|
selected?: boolean | undefined;
|
|
640
640
|
}[] | undefined;
|
|
641
641
|
}>>>;
|
|
@@ -652,20 +652,20 @@ export declare const createModelUpdateValidation: () => zod.ZodObject<{
|
|
|
652
652
|
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>>;
|
|
653
653
|
}, "strip", zod.ZodTypeAny, {
|
|
654
654
|
name: string;
|
|
655
|
+
message: string;
|
|
655
656
|
settings: {} & {
|
|
656
657
|
[k: string]: unknown;
|
|
657
658
|
};
|
|
658
|
-
message: string;
|
|
659
659
|
}, {
|
|
660
660
|
name: string;
|
|
661
661
|
message?: string | undefined;
|
|
662
662
|
settings?: zod.objectInputType<{}, zod.ZodTypeAny, "passthrough"> | null | undefined;
|
|
663
663
|
}>, "many">>>>>, {
|
|
664
664
|
name: string;
|
|
665
|
+
message: string;
|
|
665
666
|
settings: {} & {
|
|
666
667
|
[k: string]: unknown;
|
|
667
668
|
};
|
|
668
|
-
message: string;
|
|
669
669
|
}[], {
|
|
670
670
|
name: string;
|
|
671
671
|
message?: string | undefined;
|
|
@@ -677,20 +677,20 @@ export declare const createModelUpdateValidation: () => zod.ZodObject<{
|
|
|
677
677
|
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>>;
|
|
678
678
|
}, "strip", zod.ZodTypeAny, {
|
|
679
679
|
name: string;
|
|
680
|
+
message: string;
|
|
680
681
|
settings: {} & {
|
|
681
682
|
[k: string]: unknown;
|
|
682
683
|
};
|
|
683
|
-
message: string;
|
|
684
684
|
}, {
|
|
685
685
|
name: string;
|
|
686
686
|
message?: string | undefined;
|
|
687
687
|
settings?: zod.objectInputType<{}, zod.ZodTypeAny, "passthrough"> | null | undefined;
|
|
688
688
|
}>, "many">>>>>, {
|
|
689
689
|
name: string;
|
|
690
|
+
message: string;
|
|
690
691
|
settings: {} & {
|
|
691
692
|
[k: string]: unknown;
|
|
692
693
|
};
|
|
693
|
-
message: string;
|
|
694
694
|
}[], {
|
|
695
695
|
name: string;
|
|
696
696
|
message?: string | undefined;
|
|
@@ -698,8 +698,11 @@ export declare const createModelUpdateValidation: () => zod.ZodObject<{
|
|
|
698
698
|
}[] | null | undefined>;
|
|
699
699
|
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>>;
|
|
700
700
|
}, "strip", zod.ZodTypeAny, {
|
|
701
|
-
id: string;
|
|
702
701
|
type: string;
|
|
702
|
+
id: string;
|
|
703
|
+
settings: {} & {
|
|
704
|
+
[k: string]: unknown;
|
|
705
|
+
};
|
|
703
706
|
storageId: string;
|
|
704
707
|
fieldId: string;
|
|
705
708
|
label: string;
|
|
@@ -707,27 +710,24 @@ export declare const createModelUpdateValidation: () => zod.ZodObject<{
|
|
|
707
710
|
placeholderText: string | null;
|
|
708
711
|
validation: {
|
|
709
712
|
name: string;
|
|
713
|
+
message: string;
|
|
710
714
|
settings: {} & {
|
|
711
715
|
[k: string]: unknown;
|
|
712
716
|
};
|
|
713
|
-
message: string;
|
|
714
717
|
}[];
|
|
715
718
|
listValidation: {
|
|
716
719
|
name: string;
|
|
720
|
+
message: string;
|
|
717
721
|
settings: {} & {
|
|
718
722
|
[k: string]: unknown;
|
|
719
723
|
};
|
|
720
|
-
message: string;
|
|
721
724
|
}[];
|
|
722
725
|
multipleValues: boolean;
|
|
723
726
|
tags: string[];
|
|
724
|
-
settings: {} & {
|
|
725
|
-
[k: string]: unknown;
|
|
726
|
-
};
|
|
727
727
|
predefinedValues?: {
|
|
728
728
|
values: {
|
|
729
|
-
label: string;
|
|
730
729
|
value: string;
|
|
730
|
+
label: string;
|
|
731
731
|
selected: boolean;
|
|
732
732
|
}[];
|
|
733
733
|
enabled: boolean;
|
|
@@ -736,8 +736,8 @@ export declare const createModelUpdateValidation: () => zod.ZodObject<{
|
|
|
736
736
|
name: string;
|
|
737
737
|
} | undefined;
|
|
738
738
|
}, {
|
|
739
|
-
id: string;
|
|
740
739
|
type: string;
|
|
740
|
+
id: string;
|
|
741
741
|
fieldId: string;
|
|
742
742
|
label: string;
|
|
743
743
|
storageId?: string | undefined;
|
|
@@ -748,8 +748,8 @@ export declare const createModelUpdateValidation: () => zod.ZodObject<{
|
|
|
748
748
|
predefinedValues?: {
|
|
749
749
|
enabled: boolean;
|
|
750
750
|
values?: {
|
|
751
|
-
label: string;
|
|
752
751
|
value: string;
|
|
752
|
+
label: string;
|
|
753
753
|
selected?: boolean | undefined;
|
|
754
754
|
}[] | undefined;
|
|
755
755
|
} | undefined;
|
|
@@ -775,8 +775,11 @@ export declare const createModelUpdateValidation: () => zod.ZodObject<{
|
|
|
775
775
|
tags: zod.ZodOptional<zod.ZodArray<zod.ZodString, "many">>;
|
|
776
776
|
}, "strip", zod.ZodTypeAny, {
|
|
777
777
|
fields: {
|
|
778
|
-
id: string;
|
|
779
778
|
type: string;
|
|
779
|
+
id: string;
|
|
780
|
+
settings: {} & {
|
|
781
|
+
[k: string]: unknown;
|
|
782
|
+
};
|
|
780
783
|
storageId: string;
|
|
781
784
|
fieldId: string;
|
|
782
785
|
label: string;
|
|
@@ -784,27 +787,24 @@ export declare const createModelUpdateValidation: () => zod.ZodObject<{
|
|
|
784
787
|
placeholderText: string | null;
|
|
785
788
|
validation: {
|
|
786
789
|
name: string;
|
|
790
|
+
message: string;
|
|
787
791
|
settings: {} & {
|
|
788
792
|
[k: string]: unknown;
|
|
789
793
|
};
|
|
790
|
-
message: string;
|
|
791
794
|
}[];
|
|
792
795
|
listValidation: {
|
|
793
796
|
name: string;
|
|
797
|
+
message: string;
|
|
794
798
|
settings: {} & {
|
|
795
799
|
[k: string]: unknown;
|
|
796
800
|
};
|
|
797
|
-
message: string;
|
|
798
801
|
}[];
|
|
799
802
|
multipleValues: boolean;
|
|
800
803
|
tags: string[];
|
|
801
|
-
settings: {} & {
|
|
802
|
-
[k: string]: unknown;
|
|
803
|
-
};
|
|
804
804
|
predefinedValues?: {
|
|
805
805
|
values: {
|
|
806
|
-
label: string;
|
|
807
806
|
value: string;
|
|
807
|
+
label: string;
|
|
808
808
|
selected: boolean;
|
|
809
809
|
}[];
|
|
810
810
|
enabled: boolean;
|
|
@@ -826,8 +826,8 @@ export declare const createModelUpdateValidation: () => zod.ZodObject<{
|
|
|
826
826
|
tags?: string[] | undefined;
|
|
827
827
|
}, {
|
|
828
828
|
fields: {
|
|
829
|
-
id: string;
|
|
830
829
|
type: string;
|
|
830
|
+
id: string;
|
|
831
831
|
fieldId: string;
|
|
832
832
|
label: string;
|
|
833
833
|
storageId?: string | undefined;
|
|
@@ -838,8 +838,8 @@ export declare const createModelUpdateValidation: () => zod.ZodObject<{
|
|
|
838
838
|
predefinedValues?: {
|
|
839
839
|
enabled: boolean;
|
|
840
840
|
values?: {
|
|
841
|
-
label: string;
|
|
842
841
|
value: string;
|
|
842
|
+
label: string;
|
|
843
843
|
selected?: boolean | undefined;
|
|
844
844
|
}[] | undefined;
|
|
845
845
|
} | 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
|
}, {
|
package/graphql/index.d.ts
CHANGED
|
@@ -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/
|
|
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
|
@@ -2,7 +2,7 @@ import { CreateGraphQLParams } from "./graphql";
|
|
|
2
2
|
import { CrudParams } from "./context";
|
|
3
3
|
import { entryFieldFromStorageTransform, entryFromStorageTransform, entryToStorageTransform } from "./utils/entryStorage";
|
|
4
4
|
export declare type CreateHeadlessCmsGraphQLParams = CreateGraphQLParams;
|
|
5
|
-
export declare const createHeadlessCmsGraphQL: (params?: CreateHeadlessCmsGraphQLParams) => (import("./plugins").CmsParametersPlugin | import("@webiny/handler-graphql").GraphQLSchemaPlugin<import("./types").CmsContext> | import("@webiny/
|
|
5
|
+
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>)[];
|
|
6
6
|
export declare type ContentContextParams = CrudParams;
|
|
7
7
|
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("./plugins").StorageTransformPlugin<any, any, import("./types").CmsModelDynamicZoneField> | import("./types").CmsModelFieldToGraphQLPlugin<any>[] | (import("./types").CmsModelFieldValidatorPlugin | import("./types").CmsModelFieldPatternValidatorPlugin[])[] | (import("./fieldConverters/CmsModelObjectFieldConverterPlugin").CmsModelObjectFieldConverterPlugin | import("./fieldConverters/CmsModelDefaultFieldConverterPlugin").CmsModelDefaultFieldConverterPlugin | import("./fieldConverters/CmsModelDynamicZoneFieldConverterPlugin").CmsModelDynamicZoneFieldConverterPlugin)[])[];
|
|
8
8
|
export * from "./graphqlFields";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@webiny/api-headless-cms",
|
|
3
|
-
"version": "5.38.
|
|
3
|
+
"version": "5.38.6",
|
|
4
4
|
"main": "index.js",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"cms:base"
|
|
@@ -20,19 +20,19 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@babel/runtime": "7.22.6",
|
|
22
22
|
"@graphql-tools/schema": "7.1.5",
|
|
23
|
-
"@webiny/api": "5.38.
|
|
24
|
-
"@webiny/api-i18n": "5.38.
|
|
25
|
-
"@webiny/api-security": "5.38.
|
|
26
|
-
"@webiny/api-tenancy": "5.38.
|
|
27
|
-
"@webiny/error": "5.38.
|
|
28
|
-
"@webiny/handler": "5.38.
|
|
29
|
-
"@webiny/handler-aws": "5.38.
|
|
30
|
-
"@webiny/handler-db": "5.38.
|
|
31
|
-
"@webiny/handler-graphql": "5.38.
|
|
32
|
-
"@webiny/plugins": "5.38.
|
|
33
|
-
"@webiny/pubsub": "5.38.
|
|
34
|
-
"@webiny/utils": "5.38.
|
|
35
|
-
"@webiny/validation": "5.38.
|
|
23
|
+
"@webiny/api": "5.38.6",
|
|
24
|
+
"@webiny/api-i18n": "5.38.6",
|
|
25
|
+
"@webiny/api-security": "5.38.6",
|
|
26
|
+
"@webiny/api-tenancy": "5.38.6",
|
|
27
|
+
"@webiny/error": "5.38.6",
|
|
28
|
+
"@webiny/handler": "5.38.6",
|
|
29
|
+
"@webiny/handler-aws": "5.38.6",
|
|
30
|
+
"@webiny/handler-db": "5.38.6",
|
|
31
|
+
"@webiny/handler-graphql": "5.38.6",
|
|
32
|
+
"@webiny/plugins": "5.38.6",
|
|
33
|
+
"@webiny/pubsub": "5.38.6",
|
|
34
|
+
"@webiny/utils": "5.38.6",
|
|
35
|
+
"@webiny/validation": "5.38.6",
|
|
36
36
|
"code-frame": "5.0.0",
|
|
37
37
|
"dot-prop": "6.0.1",
|
|
38
38
|
"graphql-tag": "2.12.6",
|
|
@@ -48,9 +48,9 @@
|
|
|
48
48
|
"@babel/cli": "7.22.6",
|
|
49
49
|
"@babel/core": "7.22.8",
|
|
50
50
|
"@babel/preset-env": "7.22.7",
|
|
51
|
-
"@webiny/api-wcp": "5.38.
|
|
52
|
-
"@webiny/cli": "5.38.
|
|
53
|
-
"@webiny/project-utils": "5.38.
|
|
51
|
+
"@webiny/api-wcp": "5.38.6",
|
|
52
|
+
"@webiny/cli": "5.38.6",
|
|
53
|
+
"@webiny/project-utils": "5.38.6",
|
|
54
54
|
"apollo-graphql": "0.9.7",
|
|
55
55
|
"get-yarn-workspaces": "1.0.2",
|
|
56
56
|
"graphql": "15.8.0",
|
|
@@ -70,5 +70,5 @@
|
|
|
70
70
|
"build": "yarn webiny run build",
|
|
71
71
|
"watch": "yarn webiny run watch"
|
|
72
72
|
},
|
|
73
|
-
"gitHead": "
|
|
73
|
+
"gitHead": "65d8c4beef7ebcd3115c97eb1e23d93e8e357d55"
|
|
74
74
|
}
|