@webiny/api-headless-cms 5.43.2 → 6.0.0-alpha.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/crud/contentEntry/entryDataFactories/createEntryData.js +1 -1
- package/crud/contentEntry/entryDataFactories/createEntryData.js.map +1 -1
- package/crud/contentModel/validation.d.ts +132 -132
- package/crud/contentModelGroup/validation.d.ts +2 -2
- package/graphql/schema/baseSchema.js +0 -1
- package/graphql/schema/baseSchema.js.map +1 -1
- package/graphql/schema/createPreviewResolvers.js +0 -5
- package/graphql/schema/createPreviewResolvers.js.map +1 -1
- package/graphql/schema/createReadResolvers.js +0 -5
- package/graphql/schema/createReadResolvers.js.map +1 -1
- package/graphql/schema/createReadSDL.d.ts +1 -1
- package/graphql/schema/createReadSDL.js +0 -1
- package/graphql/schema/createReadSDL.js.map +1 -1
- package/graphql/schema/resolvers/preview/resolveGet.js.map +1 -1
- package/graphql/schema/resolvers/preview/resolveList.js.map +1 -1
- package/graphqlFields/index.js +2 -1
- package/graphqlFields/index.js.map +1 -1
- package/graphqlFields/searchableJson.d.ts +2 -0
- package/graphqlFields/searchableJson.js +55 -0
- package/graphqlFields/searchableJson.js.map +1 -0
- package/package.json +21 -21
- package/types/types.d.ts +0 -1
- package/types/types.js.map +1 -1
- package/graphql/schema/resolvers/preview/resolveGetById.d.ts +0 -7
- package/graphql/schema/resolvers/preview/resolveGetById.js +0 -24
- package/graphql/schema/resolvers/preview/resolveGetById.js.map +0 -1
- package/graphql/schema/resolvers/read/resolveGetById.d.ts +0 -7
- package/graphql/schema/resolvers/read/resolveGetById.js +0 -24
- package/graphql/schema/resolvers/read/resolveGetById.js.map +0 -1
|
@@ -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,58 +62,61 @@ 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
|
-
settings?: zod.objectInputType<{}, zod.ZodTypeAny, "passthrough"> | null | undefined;
|
|
73
72
|
message?: string | undefined;
|
|
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
|
-
settings?: zod.objectInputType<{}, zod.ZodTypeAny, "passthrough"> | null | undefined;
|
|
83
82
|
message?: string | undefined;
|
|
83
|
+
settings?: zod.objectInputType<{}, zod.ZodTypeAny, "passthrough"> | null | undefined;
|
|
84
84
|
}[] | null | undefined>;
|
|
85
85
|
listValidation: zod.ZodEffects<zod.ZodDefault<zod.ZodOptional<zod.ZodOptional<zod.ZodNullable<zod.ZodArray<zod.ZodObject<{
|
|
86
86
|
name: zod.ZodString;
|
|
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
|
-
settings?: zod.objectInputType<{}, zod.ZodTypeAny, "passthrough"> | null | undefined;
|
|
98
97
|
message?: string | undefined;
|
|
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
|
-
settings?: zod.objectInputType<{}, zod.ZodTypeAny, "passthrough"> | null | undefined;
|
|
108
107
|
message?: string | undefined;
|
|
108
|
+
settings?: zod.objectInputType<{}, zod.ZodTypeAny, "passthrough"> | null | undefined;
|
|
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,45 +124,43 @@ 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
|
-
|
|
152
|
+
id: string;
|
|
154
153
|
label: string;
|
|
154
|
+
fieldId: string;
|
|
155
|
+
settings?: zod.objectInputType<{}, zod.ZodTypeAny, "passthrough"> | null | undefined;
|
|
155
156
|
storageId?: string | undefined;
|
|
156
157
|
helpText?: string | null | undefined;
|
|
157
158
|
placeholderText?: string | null | undefined;
|
|
158
159
|
predefinedValues?: {
|
|
159
160
|
enabled: boolean;
|
|
160
161
|
values?: {
|
|
161
|
-
label: string;
|
|
162
162
|
value: string;
|
|
163
|
+
label: string;
|
|
163
164
|
selected?: boolean | undefined;
|
|
164
165
|
}[] | undefined;
|
|
165
166
|
} | undefined;
|
|
@@ -169,17 +170,16 @@ export declare const createModelCreateValidation: () => zod.ZodObject<{
|
|
|
169
170
|
} | null | undefined;
|
|
170
171
|
validation?: {
|
|
171
172
|
name: string;
|
|
172
|
-
settings?: zod.objectInputType<{}, zod.ZodTypeAny, "passthrough"> | null | undefined;
|
|
173
173
|
message?: string | undefined;
|
|
174
|
+
settings?: zod.objectInputType<{}, zod.ZodTypeAny, "passthrough"> | null | undefined;
|
|
174
175
|
}[] | null | undefined;
|
|
175
176
|
listValidation?: {
|
|
176
177
|
name: string;
|
|
177
|
-
settings?: zod.objectInputType<{}, zod.ZodTypeAny, "passthrough"> | null | undefined;
|
|
178
178
|
message?: string | undefined;
|
|
179
|
+
settings?: zod.objectInputType<{}, zod.ZodTypeAny, "passthrough"> | null | undefined;
|
|
179
180
|
}[] | null | undefined;
|
|
180
181
|
multipleValues?: boolean | null | undefined;
|
|
181
182
|
tags?: string[] | undefined;
|
|
182
|
-
settings?: zod.objectInputType<{}, zod.ZodTypeAny, "passthrough"> | null | undefined;
|
|
183
183
|
}>, "many">>;
|
|
184
184
|
layout: zod.ZodDefault<zod.ZodArray<zod.ZodArray<zod.ZodString, "many">, "many">>;
|
|
185
185
|
tags: zod.ZodOptional<zod.ZodArray<zod.ZodString, "many">>;
|
|
@@ -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
|
description?: string | null | undefined;
|
|
237
237
|
icon?: string | null | undefined;
|
|
238
238
|
tags?: string[] | undefined;
|
|
@@ -243,25 +243,24 @@ 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
|
description?: string | null | undefined;
|
|
250
|
-
icon?: string | null | undefined;
|
|
251
|
-
tags?: string[] | undefined;
|
|
252
250
|
fields?: {
|
|
253
|
-
id: string;
|
|
254
251
|
type: string;
|
|
255
|
-
|
|
252
|
+
id: string;
|
|
256
253
|
label: string;
|
|
254
|
+
fieldId: string;
|
|
255
|
+
settings?: zod.objectInputType<{}, zod.ZodTypeAny, "passthrough"> | null | undefined;
|
|
257
256
|
storageId?: string | undefined;
|
|
258
257
|
helpText?: string | null | undefined;
|
|
259
258
|
placeholderText?: string | null | undefined;
|
|
260
259
|
predefinedValues?: {
|
|
261
260
|
enabled: boolean;
|
|
262
261
|
values?: {
|
|
263
|
-
label: string;
|
|
264
262
|
value: string;
|
|
263
|
+
label: string;
|
|
265
264
|
selected?: boolean | undefined;
|
|
266
265
|
}[] | undefined;
|
|
267
266
|
} | undefined;
|
|
@@ -271,18 +270,19 @@ export declare const createModelCreateValidation: () => zod.ZodObject<{
|
|
|
271
270
|
} | null | undefined;
|
|
272
271
|
validation?: {
|
|
273
272
|
name: string;
|
|
274
|
-
settings?: zod.objectInputType<{}, zod.ZodTypeAny, "passthrough"> | null | undefined;
|
|
275
273
|
message?: string | undefined;
|
|
274
|
+
settings?: zod.objectInputType<{}, zod.ZodTypeAny, "passthrough"> | null | undefined;
|
|
276
275
|
}[] | null | undefined;
|
|
277
276
|
listValidation?: {
|
|
278
277
|
name: string;
|
|
279
|
-
settings?: zod.objectInputType<{}, zod.ZodTypeAny, "passthrough"> | null | undefined;
|
|
280
278
|
message?: string | undefined;
|
|
279
|
+
settings?: zod.objectInputType<{}, zod.ZodTypeAny, "passthrough"> | null | undefined;
|
|
281
280
|
}[] | null | undefined;
|
|
282
281
|
multipleValues?: boolean | null | undefined;
|
|
283
282
|
tags?: string[] | undefined;
|
|
284
|
-
settings?: zod.objectInputType<{}, zod.ZodTypeAny, "passthrough"> | null | undefined;
|
|
285
283
|
}[] | undefined;
|
|
284
|
+
icon?: string | null | undefined;
|
|
285
|
+
tags?: string[] | undefined;
|
|
286
286
|
layout?: string[][] | undefined;
|
|
287
287
|
modelId?: string | undefined;
|
|
288
288
|
titleFieldId?: string | null | 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,58 +353,61 @@ 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
|
-
settings?: zod.objectInputType<{}, zod.ZodTypeAny, "passthrough"> | null | undefined;
|
|
364
363
|
message?: string | undefined;
|
|
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
|
-
settings?: zod.objectInputType<{}, zod.ZodTypeAny, "passthrough"> | null | undefined;
|
|
374
373
|
message?: string | undefined;
|
|
374
|
+
settings?: zod.objectInputType<{}, zod.ZodTypeAny, "passthrough"> | null | undefined;
|
|
375
375
|
}[] | null | undefined>;
|
|
376
376
|
listValidation: zod.ZodEffects<zod.ZodDefault<zod.ZodOptional<zod.ZodOptional<zod.ZodNullable<zod.ZodArray<zod.ZodObject<{
|
|
377
377
|
name: zod.ZodString;
|
|
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
|
-
settings?: zod.objectInputType<{}, zod.ZodTypeAny, "passthrough"> | null | undefined;
|
|
389
388
|
message?: string | undefined;
|
|
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
|
-
settings?: zod.objectInputType<{}, zod.ZodTypeAny, "passthrough"> | null | undefined;
|
|
399
398
|
message?: string | undefined;
|
|
399
|
+
settings?: zod.objectInputType<{}, zod.ZodTypeAny, "passthrough"> | null | undefined;
|
|
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,45 +415,43 @@ 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
|
-
|
|
443
|
+
id: string;
|
|
445
444
|
label: string;
|
|
445
|
+
fieldId: string;
|
|
446
|
+
settings?: zod.objectInputType<{}, zod.ZodTypeAny, "passthrough"> | null | undefined;
|
|
446
447
|
storageId?: string | undefined;
|
|
447
448
|
helpText?: string | null | undefined;
|
|
448
449
|
placeholderText?: string | null | undefined;
|
|
449
450
|
predefinedValues?: {
|
|
450
451
|
enabled: boolean;
|
|
451
452
|
values?: {
|
|
452
|
-
label: string;
|
|
453
453
|
value: string;
|
|
454
|
+
label: string;
|
|
454
455
|
selected?: boolean | undefined;
|
|
455
456
|
}[] | undefined;
|
|
456
457
|
} | undefined;
|
|
@@ -460,17 +461,16 @@ export declare const createModelImportValidation: () => zod.ZodObject<{
|
|
|
460
461
|
} | null | undefined;
|
|
461
462
|
validation?: {
|
|
462
463
|
name: string;
|
|
463
|
-
settings?: zod.objectInputType<{}, zod.ZodTypeAny, "passthrough"> | null | undefined;
|
|
464
464
|
message?: string | undefined;
|
|
465
|
+
settings?: zod.objectInputType<{}, zod.ZodTypeAny, "passthrough"> | null | undefined;
|
|
465
466
|
}[] | null | undefined;
|
|
466
467
|
listValidation?: {
|
|
467
468
|
name: string;
|
|
468
|
-
settings?: zod.objectInputType<{}, zod.ZodTypeAny, "passthrough"> | null | undefined;
|
|
469
469
|
message?: string | undefined;
|
|
470
|
+
settings?: zod.objectInputType<{}, zod.ZodTypeAny, "passthrough"> | null | undefined;
|
|
470
471
|
}[] | null | undefined;
|
|
471
472
|
multipleValues?: boolean | null | undefined;
|
|
472
473
|
tags?: string[] | undefined;
|
|
473
|
-
settings?: zod.objectInputType<{}, zod.ZodTypeAny, "passthrough"> | null | undefined;
|
|
474
474
|
}>, "many">;
|
|
475
475
|
layout: zod.ZodArray<zod.ZodArray<zod.ZodString, "many">, "many">;
|
|
476
476
|
tags: zod.ZodOptional<zod.ZodArray<zod.ZodString, "many">>;
|
|
@@ -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
|
description?: string | null | undefined;
|
|
527
527
|
icon?: string | null | undefined;
|
|
528
528
|
tags?: string[] | undefined;
|
|
@@ -532,19 +532,21 @@ 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
|
-
|
|
538
|
+
id: string;
|
|
539
539
|
label: string;
|
|
540
|
+
fieldId: string;
|
|
541
|
+
settings?: zod.objectInputType<{}, zod.ZodTypeAny, "passthrough"> | null | undefined;
|
|
540
542
|
storageId?: string | undefined;
|
|
541
543
|
helpText?: string | null | undefined;
|
|
542
544
|
placeholderText?: string | null | undefined;
|
|
543
545
|
predefinedValues?: {
|
|
544
546
|
enabled: boolean;
|
|
545
547
|
values?: {
|
|
546
|
-
label: string;
|
|
547
548
|
value: string;
|
|
549
|
+
label: string;
|
|
548
550
|
selected?: boolean | undefined;
|
|
549
551
|
}[] | undefined;
|
|
550
552
|
} | undefined;
|
|
@@ -554,23 +556,21 @@ export declare const createModelImportValidation: () => zod.ZodObject<{
|
|
|
554
556
|
} | null | undefined;
|
|
555
557
|
validation?: {
|
|
556
558
|
name: string;
|
|
557
|
-
settings?: zod.objectInputType<{}, zod.ZodTypeAny, "passthrough"> | null | undefined;
|
|
558
559
|
message?: string | undefined;
|
|
560
|
+
settings?: zod.objectInputType<{}, zod.ZodTypeAny, "passthrough"> | null | undefined;
|
|
559
561
|
}[] | null | undefined;
|
|
560
562
|
listValidation?: {
|
|
561
563
|
name: string;
|
|
562
|
-
settings?: zod.objectInputType<{}, zod.ZodTypeAny, "passthrough"> | null | undefined;
|
|
563
564
|
message?: string | undefined;
|
|
565
|
+
settings?: zod.objectInputType<{}, zod.ZodTypeAny, "passthrough"> | null | undefined;
|
|
564
566
|
}[] | null | undefined;
|
|
565
567
|
multipleValues?: boolean | null | undefined;
|
|
566
568
|
tags?: string[] | undefined;
|
|
567
|
-
settings?: zod.objectInputType<{}, zod.ZodTypeAny, "passthrough"> | null | undefined;
|
|
568
569
|
}[];
|
|
569
570
|
layout: string[][];
|
|
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,20 +589,20 @@ 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
|
-
locale?: string | undefined;
|
|
596
595
|
description?: string | null | undefined;
|
|
596
|
+
locale?: string | undefined;
|
|
597
597
|
icon?: string | null | undefined;
|
|
598
598
|
modelId?: string | undefined;
|
|
599
599
|
}, {
|
|
600
600
|
name: string;
|
|
601
|
+
group: string;
|
|
601
602
|
singularApiName: string;
|
|
602
603
|
pluralApiName: string;
|
|
603
|
-
group: string;
|
|
604
|
-
locale?: string | undefined;
|
|
605
604
|
description?: string | null | undefined;
|
|
605
|
+
locale?: string | undefined;
|
|
606
606
|
icon?: string | null | undefined;
|
|
607
607
|
modelId?: string | undefined;
|
|
608
608
|
}>;
|
|
@@ -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,58 +668,61 @@ 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
|
-
settings?: zod.objectInputType<{}, zod.ZodTypeAny, "passthrough"> | null | undefined;
|
|
679
678
|
message?: string | undefined;
|
|
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
|
-
settings?: zod.objectInputType<{}, zod.ZodTypeAny, "passthrough"> | null | undefined;
|
|
689
688
|
message?: string | undefined;
|
|
689
|
+
settings?: zod.objectInputType<{}, zod.ZodTypeAny, "passthrough"> | null | undefined;
|
|
690
690
|
}[] | null | undefined>;
|
|
691
691
|
listValidation: zod.ZodEffects<zod.ZodDefault<zod.ZodOptional<zod.ZodOptional<zod.ZodNullable<zod.ZodArray<zod.ZodObject<{
|
|
692
692
|
name: zod.ZodString;
|
|
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
|
-
settings?: zod.objectInputType<{}, zod.ZodTypeAny, "passthrough"> | null | undefined;
|
|
704
703
|
message?: string | undefined;
|
|
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
|
-
settings?: zod.objectInputType<{}, zod.ZodTypeAny, "passthrough"> | null | undefined;
|
|
714
713
|
message?: string | undefined;
|
|
714
|
+
settings?: zod.objectInputType<{}, zod.ZodTypeAny, "passthrough"> | null | undefined;
|
|
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,45 +730,43 @@ 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
|
-
|
|
758
|
+
id: string;
|
|
760
759
|
label: string;
|
|
760
|
+
fieldId: string;
|
|
761
|
+
settings?: zod.objectInputType<{}, zod.ZodTypeAny, "passthrough"> | null | undefined;
|
|
761
762
|
storageId?: string | undefined;
|
|
762
763
|
helpText?: string | null | undefined;
|
|
763
764
|
placeholderText?: string | null | undefined;
|
|
764
765
|
predefinedValues?: {
|
|
765
766
|
enabled: boolean;
|
|
766
767
|
values?: {
|
|
767
|
-
label: string;
|
|
768
768
|
value: string;
|
|
769
|
+
label: string;
|
|
769
770
|
selected?: boolean | undefined;
|
|
770
771
|
}[] | undefined;
|
|
771
772
|
} | undefined;
|
|
@@ -775,17 +776,16 @@ export declare const createModelUpdateValidation: () => zod.ZodObject<{
|
|
|
775
776
|
} | null | undefined;
|
|
776
777
|
validation?: {
|
|
777
778
|
name: string;
|
|
778
|
-
settings?: zod.objectInputType<{}, zod.ZodTypeAny, "passthrough"> | null | undefined;
|
|
779
779
|
message?: string | undefined;
|
|
780
|
+
settings?: zod.objectInputType<{}, zod.ZodTypeAny, "passthrough"> | null | undefined;
|
|
780
781
|
}[] | null | undefined;
|
|
781
782
|
listValidation?: {
|
|
782
783
|
name: string;
|
|
783
|
-
settings?: zod.objectInputType<{}, zod.ZodTypeAny, "passthrough"> | null | undefined;
|
|
784
784
|
message?: string | undefined;
|
|
785
|
+
settings?: zod.objectInputType<{}, zod.ZodTypeAny, "passthrough"> | null | undefined;
|
|
785
786
|
}[] | null | undefined;
|
|
786
787
|
multipleValues?: boolean | null | undefined;
|
|
787
788
|
tags?: string[] | undefined;
|
|
788
|
-
settings?: zod.objectInputType<{}, zod.ZodTypeAny, "passthrough"> | null | undefined;
|
|
789
789
|
}>, "many">;
|
|
790
790
|
layout: zod.ZodArray<zod.ZodArray<zod.ZodString, "many">, "many">;
|
|
791
791
|
titleFieldId: zod.ZodOptional<zod.ZodNullable<zod.ZodOptional<zod.ZodString>>>;
|
|
@@ -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;
|
|
@@ -836,28 +836,29 @@ export declare const createModelUpdateValidation: () => zod.ZodObject<{
|
|
|
836
836
|
layout: string[][];
|
|
837
837
|
name?: string | undefined;
|
|
838
838
|
description?: string | null | undefined;
|
|
839
|
+
group?: string | undefined;
|
|
839
840
|
icon?: string | null | undefined;
|
|
840
841
|
tags?: string[] | undefined;
|
|
841
842
|
singularApiName?: string | undefined;
|
|
842
843
|
pluralApiName?: string | undefined;
|
|
843
|
-
group?: string | undefined;
|
|
844
844
|
titleFieldId?: string | null | undefined;
|
|
845
845
|
descriptionFieldId?: string | null | undefined;
|
|
846
846
|
imageFieldId?: string | null | undefined;
|
|
847
847
|
}, {
|
|
848
848
|
fields: {
|
|
849
|
-
id: string;
|
|
850
849
|
type: string;
|
|
851
|
-
|
|
850
|
+
id: string;
|
|
852
851
|
label: string;
|
|
852
|
+
fieldId: string;
|
|
853
|
+
settings?: zod.objectInputType<{}, zod.ZodTypeAny, "passthrough"> | null | undefined;
|
|
853
854
|
storageId?: string | undefined;
|
|
854
855
|
helpText?: string | null | undefined;
|
|
855
856
|
placeholderText?: string | null | undefined;
|
|
856
857
|
predefinedValues?: {
|
|
857
858
|
enabled: boolean;
|
|
858
859
|
values?: {
|
|
859
|
-
label: string;
|
|
860
860
|
value: string;
|
|
861
|
+
label: string;
|
|
861
862
|
selected?: boolean | undefined;
|
|
862
863
|
}[] | undefined;
|
|
863
864
|
} | undefined;
|
|
@@ -867,26 +868,25 @@ export declare const createModelUpdateValidation: () => zod.ZodObject<{
|
|
|
867
868
|
} | null | undefined;
|
|
868
869
|
validation?: {
|
|
869
870
|
name: string;
|
|
870
|
-
settings?: zod.objectInputType<{}, zod.ZodTypeAny, "passthrough"> | null | undefined;
|
|
871
871
|
message?: string | undefined;
|
|
872
|
+
settings?: zod.objectInputType<{}, zod.ZodTypeAny, "passthrough"> | null | undefined;
|
|
872
873
|
}[] | null | undefined;
|
|
873
874
|
listValidation?: {
|
|
874
875
|
name: string;
|
|
875
|
-
settings?: zod.objectInputType<{}, zod.ZodTypeAny, "passthrough"> | null | undefined;
|
|
876
876
|
message?: string | undefined;
|
|
877
|
+
settings?: zod.objectInputType<{}, zod.ZodTypeAny, "passthrough"> | null | undefined;
|
|
877
878
|
}[] | null | undefined;
|
|
878
879
|
multipleValues?: boolean | null | undefined;
|
|
879
880
|
tags?: string[] | undefined;
|
|
880
|
-
settings?: zod.objectInputType<{}, zod.ZodTypeAny, "passthrough"> | null | undefined;
|
|
881
881
|
}[];
|
|
882
882
|
layout: string[][];
|
|
883
883
|
name?: string | undefined;
|
|
884
884
|
description?: string | null | undefined;
|
|
885
|
+
group?: string | undefined;
|
|
885
886
|
icon?: string | null | undefined;
|
|
886
887
|
tags?: string[] | undefined;
|
|
887
888
|
singularApiName?: string | undefined;
|
|
888
889
|
pluralApiName?: string | undefined;
|
|
889
|
-
group?: string | undefined;
|
|
890
890
|
titleFieldId?: string | null | undefined;
|
|
891
891
|
descriptionFieldId?: string | null | undefined;
|
|
892
892
|
imageFieldId?: string | null | undefined;
|