@c-time/frelio-types 2.7.0 → 3.0.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.
@@ -8,73 +8,60 @@ import '@c-time/frelio-dependency-map';
8
8
  * ContentType, ContentTypeUi, FrelioBuildDataRecipe の検証用
9
9
  */
10
10
 
11
- declare const jsonPrimitiveSchema: z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>;
11
+ declare const jsonPrimitiveSchema: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>;
12
12
  declare const jsonValueSchema: z.ZodType<unknown>;
13
13
 
14
- declare const fieldTypeSchema: z.ZodEnum<["text", "html", "markdown", "number", "boolean", "date", "datetime", "image", "file", "select", "relation", "array", "label"]>;
14
+ declare const fieldTypeSchema: z.ZodEnum<{
15
+ number: "number";
16
+ boolean: "boolean";
17
+ date: "date";
18
+ file: "file";
19
+ array: "array";
20
+ text: "text";
21
+ html: "html";
22
+ markdown: "markdown";
23
+ datetime: "datetime";
24
+ image: "image";
25
+ select: "select";
26
+ relation: "relation";
27
+ label: "label";
28
+ }>;
15
29
  declare const fieldDefinitionSchema: z.ZodType<FieldDefinition>;
16
30
  declare const contentTypeSchema: z.ZodObject<{
17
31
  id: z.ZodString;
18
- fields: z.ZodArray<z.ZodType<FieldDefinition, z.ZodTypeDef, FieldDefinition>, "many">;
19
- }, "strip", z.ZodTypeAny, {
20
- id: string;
21
- fields: FieldDefinition[];
22
- }, {
23
- id: string;
24
- fields: FieldDefinition[];
25
- }>;
26
- declare const aspectRatioSchema: z.ZodOptional<z.ZodNullable<z.ZodEnum<["16:9", "4:3", "3:2", "1:1", "free"]>>>;
27
- declare const autoFormatSchema: z.ZodOptional<z.ZodNullable<z.ZodEnum<["trim", "lowercase", "uppercase", "slug", "phone", "postalCode"]>>>;
32
+ fields: z.ZodArray<z.ZodType<FieldDefinition, unknown, z.core.$ZodTypeInternals<FieldDefinition, unknown>>>;
33
+ }, z.core.$strip>;
34
+ declare const aspectRatioSchema: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
35
+ "16:9": "16:9";
36
+ "4:3": "4:3";
37
+ "3:2": "3:2";
38
+ "1:1": "1:1";
39
+ free: "free";
40
+ }>>>;
41
+ declare const autoFormatSchema: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
42
+ trim: "trim";
43
+ lowercase: "lowercase";
44
+ uppercase: "uppercase";
45
+ slug: "slug";
46
+ phone: "phone";
47
+ postalCode: "postalCode";
48
+ }>>>;
28
49
  declare const uiFieldDefinitionSchema: z.ZodType<UiFieldDefinition>;
29
50
  declare const fieldGroupDefinitionSchema: z.ZodObject<{
30
51
  id: z.ZodString;
31
52
  label: z.ZodString;
32
- fieldKeys: z.ZodArray<z.ZodString, "many">;
33
- }, "strip", z.ZodTypeAny, {
34
- label: string;
35
- id: string;
36
- fieldKeys: string[];
37
- }, {
38
- label: string;
39
- id: string;
40
- fieldKeys: string[];
41
- }>;
53
+ fieldKeys: z.ZodArray<z.ZodString>;
54
+ }, z.core.$strip>;
42
55
  declare const contentTypeUiSchema: z.ZodObject<{
43
56
  id: z.ZodString;
44
57
  label: z.ZodString;
45
- fields: z.ZodArray<z.ZodType<UiFieldDefinition, z.ZodTypeDef, UiFieldDefinition>, "many">;
58
+ fields: z.ZodArray<z.ZodType<UiFieldDefinition, unknown, z.core.$ZodTypeInternals<UiFieldDefinition, unknown>>>;
46
59
  groups: z.ZodArray<z.ZodObject<{
47
60
  id: z.ZodString;
48
61
  label: z.ZodString;
49
- fieldKeys: z.ZodArray<z.ZodString, "many">;
50
- }, "strip", z.ZodTypeAny, {
51
- label: string;
52
- id: string;
53
- fieldKeys: string[];
54
- }, {
55
- label: string;
56
- id: string;
57
- fieldKeys: string[];
58
- }>, "many">;
59
- }, "strip", z.ZodTypeAny, {
60
- label: string;
61
- id: string;
62
- fields: UiFieldDefinition[];
63
- groups: {
64
- label: string;
65
- id: string;
66
- fieldKeys: string[];
67
- }[];
68
- }, {
69
- label: string;
70
- id: string;
71
- fields: UiFieldDefinition[];
72
- groups: {
73
- label: string;
74
- id: string;
75
- fieldKeys: string[];
76
- }[];
77
- }>;
62
+ fieldKeys: z.ZodArray<z.ZodString>;
63
+ }, z.core.$strip>>;
64
+ }, z.core.$strip>;
78
65
  declare const contentTypeViewsSchema: z.ZodObject<{
79
66
  defaultViewId: z.ZodString;
80
67
  views: z.ZodArray<z.ZodObject<{
@@ -85,177 +72,83 @@ declare const contentTypeViewsSchema: z.ZodObject<{
85
72
  label: z.ZodString;
86
73
  width: z.ZodOptional<z.ZodString>;
87
74
  sortable: z.ZodOptional<z.ZodBoolean>;
88
- }, "strip", z.ZodTypeAny, {
89
- label: string;
90
- field: string;
91
- width?: string | undefined;
92
- sortable?: boolean | undefined;
93
- }, {
94
- label: string;
95
- field: string;
96
- width?: string | undefined;
97
- sortable?: boolean | undefined;
98
- }>, "many">;
75
+ }, z.core.$strip>>;
99
76
  defaultSort: z.ZodOptional<z.ZodObject<{
100
77
  field: z.ZodString;
101
- direction: z.ZodEnum<["asc", "desc"]>;
102
- }, "strip", z.ZodTypeAny, {
103
- field: string;
104
- direction: "asc" | "desc";
105
- }, {
106
- field: string;
107
- direction: "asc" | "desc";
108
- }>>;
78
+ direction: z.ZodEnum<{
79
+ asc: "asc";
80
+ desc: "desc";
81
+ }>;
82
+ }, z.core.$strip>>;
109
83
  filters: z.ZodOptional<z.ZodArray<z.ZodObject<{
110
84
  field: z.ZodString;
111
- operator: z.ZodEnum<["eq", "neq", "in", "nin", "contains", "startsWith", "endsWith"]>;
112
- value: z.ZodType<unknown, z.ZodTypeDef, unknown>;
113
- }, "strip", z.ZodTypeAny, {
114
- field: string;
115
- operator: "eq" | "neq" | "in" | "nin" | "contains" | "startsWith" | "endsWith";
116
- value?: unknown;
117
- }, {
118
- field: string;
119
- operator: "eq" | "neq" | "in" | "nin" | "contains" | "startsWith" | "endsWith";
120
- value?: unknown;
121
- }>, "many">>;
122
- }, "strip", z.ZodTypeAny, {
123
- label: string;
124
- columns: {
125
- label: string;
126
- field: string;
127
- width?: string | undefined;
128
- sortable?: boolean | undefined;
129
- }[];
130
- id: string;
131
- defaultSort?: {
132
- field: string;
133
- direction: "asc" | "desc";
134
- } | undefined;
135
- filters?: {
136
- field: string;
137
- operator: "eq" | "neq" | "in" | "nin" | "contains" | "startsWith" | "endsWith";
138
- value?: unknown;
139
- }[] | undefined;
140
- }, {
141
- label: string;
142
- columns: {
143
- label: string;
144
- field: string;
145
- width?: string | undefined;
146
- sortable?: boolean | undefined;
147
- }[];
148
- id: string;
149
- defaultSort?: {
150
- field: string;
151
- direction: "asc" | "desc";
152
- } | undefined;
153
- filters?: {
154
- field: string;
155
- operator: "eq" | "neq" | "in" | "nin" | "contains" | "startsWith" | "endsWith";
156
- value?: unknown;
157
- }[] | undefined;
158
- }>, "many">;
159
- }, "strip", z.ZodTypeAny, {
160
- defaultViewId: string;
161
- views: {
162
- label: string;
163
- columns: {
164
- label: string;
165
- field: string;
166
- width?: string | undefined;
167
- sortable?: boolean | undefined;
168
- }[];
169
- id: string;
170
- defaultSort?: {
171
- field: string;
172
- direction: "asc" | "desc";
173
- } | undefined;
174
- filters?: {
175
- field: string;
176
- operator: "eq" | "neq" | "in" | "nin" | "contains" | "startsWith" | "endsWith";
177
- value?: unknown;
178
- }[] | undefined;
179
- }[];
180
- }, {
181
- defaultViewId: string;
182
- views: {
183
- label: string;
184
- columns: {
185
- label: string;
186
- field: string;
187
- width?: string | undefined;
188
- sortable?: boolean | undefined;
189
- }[];
190
- id: string;
191
- defaultSort?: {
192
- field: string;
193
- direction: "asc" | "desc";
194
- } | undefined;
195
- filters?: {
196
- field: string;
197
- operator: "eq" | "neq" | "in" | "nin" | "contains" | "startsWith" | "endsWith";
198
- value?: unknown;
199
- }[] | undefined;
200
- }[];
201
- }>;
85
+ operator: z.ZodEnum<{
86
+ in: "in";
87
+ endsWith: "endsWith";
88
+ startsWith: "startsWith";
89
+ eq: "eq";
90
+ neq: "neq";
91
+ nin: "nin";
92
+ contains: "contains";
93
+ }>;
94
+ value: z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
95
+ }, z.core.$strip>>>;
96
+ }, z.core.$strip>>;
97
+ }, z.core.$strip>;
202
98
  declare const recipeFilterSchema: z.ZodObject<{
203
99
  field: z.ZodString;
204
- operator: z.ZodEnum<["eq", "neq", "gt", "gte", "lt", "lte", "in", "nin", "regex", "isNull", "isNotNull"]>;
205
- value: z.ZodOptional<z.ZodType<unknown, z.ZodTypeDef, unknown>>;
206
- }, "strip", z.ZodTypeAny, {
207
- field: string;
208
- operator: "eq" | "neq" | "in" | "nin" | "gt" | "gte" | "lt" | "lte" | "regex" | "isNull" | "isNotNull";
209
- value?: unknown;
210
- }, {
211
- field: string;
212
- operator: "eq" | "neq" | "in" | "nin" | "gt" | "gte" | "lt" | "lte" | "regex" | "isNull" | "isNotNull";
213
- value?: unknown;
214
- }>;
100
+ operator: z.ZodEnum<{
101
+ in: "in";
102
+ eq: "eq";
103
+ neq: "neq";
104
+ nin: "nin";
105
+ gt: "gt";
106
+ gte: "gte";
107
+ lt: "lt";
108
+ lte: "lte";
109
+ regex: "regex";
110
+ isNull: "isNull";
111
+ isNotNull: "isNotNull";
112
+ }>;
113
+ value: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
114
+ }, z.core.$strip>;
215
115
  declare const customFieldTransformSchema: z.ZodObject<{
216
116
  field: z.ZodString;
217
117
  source: z.ZodString;
218
- type: z.ZodEnum<["string", "date", "number", "escape", "toc", "truncate", "stripHtml", "slug", "lowercase", "uppercase", "default", "count", "first", "last", "join", "url", "picture", "img", "srcset", "fileLink"]>;
118
+ type: z.ZodEnum<{
119
+ string: "string";
120
+ number: "number";
121
+ date: "date";
122
+ default: "default";
123
+ join: "join";
124
+ lowercase: "lowercase";
125
+ uppercase: "uppercase";
126
+ slug: "slug";
127
+ escape: "escape";
128
+ toc: "toc";
129
+ truncate: "truncate";
130
+ stripHtml: "stripHtml";
131
+ count: "count";
132
+ first: "first";
133
+ last: "last";
134
+ url: "url";
135
+ picture: "picture";
136
+ img: "img";
137
+ srcset: "srcset";
138
+ fileLink: "fileLink";
139
+ }>;
219
140
  format: z.ZodOptional<z.ZodString>;
220
141
  timezone: z.ZodOptional<z.ZodString>;
221
142
  length: z.ZodOptional<z.ZodNumber>;
222
143
  suffix: z.ZodOptional<z.ZodString>;
223
144
  separator: z.ZodOptional<z.ZodString>;
224
145
  defaultValue: z.ZodOptional<z.ZodString>;
225
- }, "strip", z.ZodTypeAny, {
226
- type: "string" | "number" | "join" | "date" | "lowercase" | "uppercase" | "slug" | "default" | "escape" | "toc" | "truncate" | "stripHtml" | "count" | "first" | "last" | "url" | "picture" | "img" | "srcset" | "fileLink";
227
- field: string;
228
- source: string;
229
- length?: number | undefined;
230
- defaultValue?: string | undefined;
231
- format?: string | undefined;
232
- timezone?: string | undefined;
233
- suffix?: string | undefined;
234
- separator?: string | undefined;
235
- }, {
236
- type: "string" | "number" | "join" | "date" | "lowercase" | "uppercase" | "slug" | "default" | "escape" | "toc" | "truncate" | "stripHtml" | "count" | "first" | "last" | "url" | "picture" | "img" | "srcset" | "fileLink";
237
- field: string;
238
- source: string;
239
- length?: number | undefined;
240
- defaultValue?: string | undefined;
241
- format?: string | undefined;
242
- timezone?: string | undefined;
243
- suffix?: string | undefined;
244
- separator?: string | undefined;
245
- }>;
146
+ }, z.core.$strip>;
246
147
  declare const customFieldConstantSchema: z.ZodObject<{
247
148
  field: z.ZodString;
248
149
  type: z.ZodLiteral<"constant">;
249
- value: z.ZodType<unknown, z.ZodTypeDef, unknown>;
250
- }, "strip", z.ZodTypeAny, {
251
- type: "constant";
252
- field: string;
253
- value?: unknown;
254
- }, {
255
- type: "constant";
256
- field: string;
257
- value?: unknown;
258
- }>;
150
+ value: z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
151
+ }, z.core.$strip>;
259
152
  declare const customFieldSchema: z.ZodType<unknown>;
260
153
  declare const customFieldRelationListSchema: z.ZodObject<{
261
154
  field: z.ZodString;
@@ -263,39 +156,37 @@ declare const customFieldRelationListSchema: z.ZodObject<{
263
156
  contentTypeId: z.ZodString;
264
157
  limit: z.ZodOptional<z.ZodNumber>;
265
158
  offset: z.ZodOptional<z.ZodNumber>;
266
- sort: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
159
+ sort: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
267
160
  field: z.ZodString;
268
- direction: z.ZodEnum<["asc", "desc"]>;
269
- }, "strip", z.ZodTypeAny, {
270
- field: string;
271
- direction: "asc" | "desc";
272
- }, {
273
- field: string;
274
- direction: "asc" | "desc";
275
- }>, z.ZodArray<z.ZodObject<{
161
+ direction: z.ZodEnum<{
162
+ asc: "asc";
163
+ desc: "desc";
164
+ }>;
165
+ }, z.core.$strip>, z.ZodArray<z.ZodObject<{
276
166
  field: z.ZodString;
277
- direction: z.ZodEnum<["asc", "desc"]>;
278
- }, "strip", z.ZodTypeAny, {
279
- field: string;
280
- direction: "asc" | "desc";
281
- }, {
282
- field: string;
283
- direction: "asc" | "desc";
284
- }>, "many">]>>;
167
+ direction: z.ZodEnum<{
168
+ asc: "asc";
169
+ desc: "desc";
170
+ }>;
171
+ }, z.core.$strip>>]>>;
285
172
  filters: z.ZodOptional<z.ZodArray<z.ZodObject<{
286
173
  field: z.ZodString;
287
- operator: z.ZodEnum<["eq", "neq", "gt", "gte", "lt", "lte", "in", "nin", "regex", "isNull", "isNotNull"]>;
288
- value: z.ZodOptional<z.ZodType<unknown, z.ZodTypeDef, unknown>>;
289
- }, "strip", z.ZodTypeAny, {
290
- field: string;
291
- operator: "eq" | "neq" | "in" | "nin" | "gt" | "gte" | "lt" | "lte" | "regex" | "isNull" | "isNotNull";
292
- value?: unknown;
293
- }, {
294
- field: string;
295
- operator: "eq" | "neq" | "in" | "nin" | "gt" | "gte" | "lt" | "lte" | "regex" | "isNull" | "isNotNull";
296
- value?: unknown;
297
- }>, "many">>;
298
- listFields: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
174
+ operator: z.ZodEnum<{
175
+ in: "in";
176
+ eq: "eq";
177
+ neq: "neq";
178
+ nin: "nin";
179
+ gt: "gt";
180
+ gte: "gte";
181
+ lt: "lt";
182
+ lte: "lte";
183
+ regex: "regex";
184
+ isNull: "isNull";
185
+ isNotNull: "isNotNull";
186
+ }>;
187
+ value: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
188
+ }, z.core.$strip>>>;
189
+ listFields: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
299
190
  expand: z.ZodOptional<z.ZodArray<z.ZodLazy<z.ZodType<{
300
191
  field: string;
301
192
  fields?: string[];
@@ -305,7 +196,7 @@ declare const customFieldRelationListSchema: z.ZodObject<{
305
196
  offset?: number;
306
197
  filters?: unknown[];
307
198
  expand?: unknown[];
308
- }, z.ZodTypeDef, {
199
+ }, unknown, z.core.$ZodTypeInternals<{
309
200
  field: string;
310
201
  fields?: string[];
311
202
  customFields?: unknown[];
@@ -314,92 +205,14 @@ declare const customFieldRelationListSchema: z.ZodObject<{
314
205
  offset?: number;
315
206
  filters?: unknown[];
316
207
  expand?: unknown[];
317
- }>>, "many">>;
318
- customFields: z.ZodOptional<z.ZodArray<z.ZodType<unknown, z.ZodTypeDef, unknown>, "many">>;
208
+ }, unknown>>>>>;
209
+ customFields: z.ZodOptional<z.ZodArray<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>>;
319
210
  pagination: z.ZodOptional<z.ZodObject<{
320
211
  perPage: z.ZodNumber;
321
212
  numberFormatCount: z.ZodOptional<z.ZodNumber>;
322
213
  startPath: z.ZodOptional<z.ZodString>;
323
- }, "strip", z.ZodTypeAny, {
324
- perPage: number;
325
- numberFormatCount?: number | undefined;
326
- startPath?: string | undefined;
327
- }, {
328
- perPage: number;
329
- numberFormatCount?: number | undefined;
330
- startPath?: string | undefined;
331
- }>>;
332
- }, "strip", z.ZodTypeAny, {
333
- type: "relationList";
334
- field: string;
335
- contentTypeId: string;
336
- sort?: {
337
- field: string;
338
- direction: "asc" | "desc";
339
- } | {
340
- field: string;
341
- direction: "asc" | "desc";
342
- }[] | undefined;
343
- filters?: {
344
- field: string;
345
- operator: "eq" | "neq" | "in" | "nin" | "gt" | "gte" | "lt" | "lte" | "regex" | "isNull" | "isNotNull";
346
- value?: unknown;
347
- }[] | undefined;
348
- limit?: number | undefined;
349
- offset?: number | undefined;
350
- listFields?: string[] | null | undefined;
351
- expand?: {
352
- field: string;
353
- fields?: string[];
354
- customFields?: unknown[];
355
- sort?: unknown;
356
- limit?: number;
357
- offset?: number;
358
- filters?: unknown[];
359
- expand?: unknown[];
360
- }[] | undefined;
361
- customFields?: unknown[] | undefined;
362
- pagination?: {
363
- perPage: number;
364
- numberFormatCount?: number | undefined;
365
- startPath?: string | undefined;
366
- } | undefined;
367
- }, {
368
- type: "relationList";
369
- field: string;
370
- contentTypeId: string;
371
- sort?: {
372
- field: string;
373
- direction: "asc" | "desc";
374
- } | {
375
- field: string;
376
- direction: "asc" | "desc";
377
- }[] | undefined;
378
- filters?: {
379
- field: string;
380
- operator: "eq" | "neq" | "in" | "nin" | "gt" | "gte" | "lt" | "lte" | "regex" | "isNull" | "isNotNull";
381
- value?: unknown;
382
- }[] | undefined;
383
- limit?: number | undefined;
384
- offset?: number | undefined;
385
- listFields?: string[] | null | undefined;
386
- expand?: {
387
- field: string;
388
- fields?: string[];
389
- customFields?: unknown[];
390
- sort?: unknown;
391
- limit?: number;
392
- offset?: number;
393
- filters?: unknown[];
394
- expand?: unknown[];
395
- }[] | undefined;
396
- customFields?: unknown[] | undefined;
397
- pagination?: {
398
- perPage: number;
399
- numberFormatCount?: number | undefined;
400
- startPath?: string | undefined;
401
- } | undefined;
402
- }>;
214
+ }, z.core.$strip>>;
215
+ }, z.core.$strip>;
403
216
  declare const relationExpandSchema: z.ZodType<{
404
217
  field: string;
405
218
  fields?: string[];
@@ -423,7 +236,7 @@ declare const detailPageRecipeSchema: z.ZodObject<{
423
236
  offset?: number;
424
237
  filters?: unknown[];
425
238
  expand?: unknown[];
426
- }, z.ZodTypeDef, {
239
+ }, unknown, z.core.$ZodTypeInternals<{
427
240
  field: string;
428
241
  fields?: string[];
429
242
  customFields?: unknown[];
@@ -432,208 +245,88 @@ declare const detailPageRecipeSchema: z.ZodObject<{
432
245
  offset?: number;
433
246
  filters?: unknown[];
434
247
  expand?: unknown[];
435
- }>, "many">>;
248
+ }, unknown>>>>;
436
249
  repeat: z.ZodOptional<z.ZodObject<{
437
250
  as: z.ZodString;
438
251
  field: z.ZodString;
439
252
  outputPath: z.ZodString;
440
- }, "strip", z.ZodTypeAny, {
441
- field: string;
442
- outputPath: string;
443
- as: string;
444
- }, {
445
- field: string;
446
- outputPath: string;
447
- as: string;
448
- }>>;
449
- customFields: z.ZodOptional<z.ZodArray<z.ZodType<unknown, z.ZodTypeDef, unknown>, "many">>;
253
+ }, z.core.$strip>>;
254
+ customFields: z.ZodOptional<z.ZodArray<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>>;
450
255
  navigation: z.ZodOptional<z.ZodObject<{
451
- sort: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
256
+ sort: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
452
257
  field: z.ZodString;
453
- direction: z.ZodEnum<["asc", "desc"]>;
454
- }, "strip", z.ZodTypeAny, {
455
- field: string;
456
- direction: "asc" | "desc";
457
- }, {
458
- field: string;
459
- direction: "asc" | "desc";
460
- }>, z.ZodArray<z.ZodObject<{
258
+ direction: z.ZodEnum<{
259
+ asc: "asc";
260
+ desc: "desc";
261
+ }>;
262
+ }, z.core.$strip>, z.ZodArray<z.ZodObject<{
461
263
  field: z.ZodString;
462
- direction: z.ZodEnum<["asc", "desc"]>;
463
- }, "strip", z.ZodTypeAny, {
464
- field: string;
465
- direction: "asc" | "desc";
466
- }, {
467
- field: string;
468
- direction: "asc" | "desc";
469
- }>, "many">]>>;
264
+ direction: z.ZodEnum<{
265
+ asc: "asc";
266
+ desc: "desc";
267
+ }>;
268
+ }, z.core.$strip>>]>>;
470
269
  filters: z.ZodOptional<z.ZodArray<z.ZodObject<{
471
270
  field: z.ZodString;
472
- operator: z.ZodEnum<["eq", "neq", "gt", "gte", "lt", "lte", "in", "nin", "regex", "isNull", "isNotNull"]>;
473
- value: z.ZodOptional<z.ZodType<unknown, z.ZodTypeDef, unknown>>;
474
- }, "strip", z.ZodTypeAny, {
475
- field: string;
476
- operator: "eq" | "neq" | "in" | "nin" | "gt" | "gte" | "lt" | "lte" | "regex" | "isNull" | "isNotNull";
477
- value?: unknown;
478
- }, {
479
- field: string;
480
- operator: "eq" | "neq" | "in" | "nin" | "gt" | "gte" | "lt" | "lte" | "regex" | "isNull" | "isNotNull";
481
- value?: unknown;
482
- }>, "many">>;
483
- fields: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
484
- }, "strip", z.ZodTypeAny, {
485
- sort?: {
486
- field: string;
487
- direction: "asc" | "desc";
488
- } | {
489
- field: string;
490
- direction: "asc" | "desc";
491
- }[] | undefined;
492
- fields?: string[] | null | undefined;
493
- filters?: {
494
- field: string;
495
- operator: "eq" | "neq" | "in" | "nin" | "gt" | "gte" | "lt" | "lte" | "regex" | "isNull" | "isNotNull";
496
- value?: unknown;
497
- }[] | undefined;
498
- }, {
499
- sort?: {
500
- field: string;
501
- direction: "asc" | "desc";
502
- } | {
503
- field: string;
504
- direction: "asc" | "desc";
505
- }[] | undefined;
506
- fields?: string[] | null | undefined;
507
- filters?: {
508
- field: string;
509
- operator: "eq" | "neq" | "in" | "nin" | "gt" | "gte" | "lt" | "lte" | "regex" | "isNull" | "isNotNull";
510
- value?: unknown;
511
- }[] | undefined;
512
- }>>;
271
+ operator: z.ZodEnum<{
272
+ in: "in";
273
+ eq: "eq";
274
+ neq: "neq";
275
+ nin: "nin";
276
+ gt: "gt";
277
+ gte: "gte";
278
+ lt: "lt";
279
+ lte: "lte";
280
+ regex: "regex";
281
+ isNull: "isNull";
282
+ isNotNull: "isNotNull";
283
+ }>;
284
+ value: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
285
+ }, z.core.$strip>>>;
286
+ fields: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
287
+ }, z.core.$strip>>;
513
288
  include: z.ZodOptional<z.ZodObject<{
514
289
  site: z.ZodOptional<z.ZodBoolean>;
515
- }, "strip", z.ZodTypeAny, {
516
- site?: boolean | undefined;
517
- }, {
518
- site?: boolean | undefined;
519
- }>>;
520
- }, "strip", z.ZodTypeAny, {
521
- type: "detail";
522
- outputPath: string;
523
- templatePath: string;
524
- expand?: {
525
- field: string;
526
- fields?: string[];
527
- customFields?: unknown[];
528
- sort?: unknown;
529
- limit?: number;
530
- offset?: number;
531
- filters?: unknown[];
532
- expand?: unknown[];
533
- }[] | undefined;
534
- customFields?: unknown[] | undefined;
535
- repeat?: {
536
- field: string;
537
- outputPath: string;
538
- as: string;
539
- } | undefined;
540
- navigation?: {
541
- sort?: {
542
- field: string;
543
- direction: "asc" | "desc";
544
- } | {
545
- field: string;
546
- direction: "asc" | "desc";
547
- }[] | undefined;
548
- fields?: string[] | null | undefined;
549
- filters?: {
550
- field: string;
551
- operator: "eq" | "neq" | "in" | "nin" | "gt" | "gte" | "lt" | "lte" | "regex" | "isNull" | "isNotNull";
552
- value?: unknown;
553
- }[] | undefined;
554
- } | undefined;
555
- include?: {
556
- site?: boolean | undefined;
557
- } | undefined;
558
- }, {
559
- type: "detail";
560
- outputPath: string;
561
- templatePath: string;
562
- expand?: {
563
- field: string;
564
- fields?: string[];
565
- customFields?: unknown[];
566
- sort?: unknown;
567
- limit?: number;
568
- offset?: number;
569
- filters?: unknown[];
570
- expand?: unknown[];
571
- }[] | undefined;
572
- customFields?: unknown[] | undefined;
573
- repeat?: {
574
- field: string;
575
- outputPath: string;
576
- as: string;
577
- } | undefined;
578
- navigation?: {
579
- sort?: {
580
- field: string;
581
- direction: "asc" | "desc";
582
- } | {
583
- field: string;
584
- direction: "asc" | "desc";
585
- }[] | undefined;
586
- fields?: string[] | null | undefined;
587
- filters?: {
588
- field: string;
589
- operator: "eq" | "neq" | "in" | "nin" | "gt" | "gte" | "lt" | "lte" | "regex" | "isNull" | "isNotNull";
590
- value?: unknown;
591
- }[] | undefined;
592
- } | undefined;
593
- include?: {
594
- site?: boolean | undefined;
595
- } | undefined;
596
- }>;
290
+ }, z.core.$strip>>;
291
+ }, z.core.$strip>;
597
292
  declare const listPageRecipeSchema: z.ZodObject<{
598
293
  type: z.ZodLiteral<"list">;
599
294
  outputPath: z.ZodString;
600
295
  templatePath: z.ZodString;
601
296
  offset: z.ZodOptional<z.ZodNumber>;
602
297
  limit: z.ZodOptional<z.ZodNumber>;
603
- sort: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
298
+ sort: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
604
299
  field: z.ZodString;
605
- direction: z.ZodEnum<["asc", "desc"]>;
606
- }, "strip", z.ZodTypeAny, {
607
- field: string;
608
- direction: "asc" | "desc";
609
- }, {
610
- field: string;
611
- direction: "asc" | "desc";
612
- }>, z.ZodArray<z.ZodObject<{
300
+ direction: z.ZodEnum<{
301
+ asc: "asc";
302
+ desc: "desc";
303
+ }>;
304
+ }, z.core.$strip>, z.ZodArray<z.ZodObject<{
613
305
  field: z.ZodString;
614
- direction: z.ZodEnum<["asc", "desc"]>;
615
- }, "strip", z.ZodTypeAny, {
616
- field: string;
617
- direction: "asc" | "desc";
618
- }, {
619
- field: string;
620
- direction: "asc" | "desc";
621
- }>, "many">]>>;
306
+ direction: z.ZodEnum<{
307
+ asc: "asc";
308
+ desc: "desc";
309
+ }>;
310
+ }, z.core.$strip>>]>>;
622
311
  filters: z.ZodOptional<z.ZodArray<z.ZodObject<{
623
312
  field: z.ZodString;
624
- operator: z.ZodEnum<["eq", "neq", "gt", "gte", "lt", "lte", "in", "nin", "regex", "isNull", "isNotNull"]>;
625
- value: z.ZodOptional<z.ZodType<unknown, z.ZodTypeDef, unknown>>;
626
- }, "strip", z.ZodTypeAny, {
627
- field: string;
628
- operator: "eq" | "neq" | "in" | "nin" | "gt" | "gte" | "lt" | "lte" | "regex" | "isNull" | "isNotNull";
629
- value?: unknown;
630
- }, {
631
- field: string;
632
- operator: "eq" | "neq" | "in" | "nin" | "gt" | "gte" | "lt" | "lte" | "regex" | "isNull" | "isNotNull";
633
- value?: unknown;
634
- }>, "many">>;
635
- customFields: z.ZodOptional<z.ZodArray<z.ZodType<unknown, z.ZodTypeDef, unknown>, "many">>;
636
- listFields: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
313
+ operator: z.ZodEnum<{
314
+ in: "in";
315
+ eq: "eq";
316
+ neq: "neq";
317
+ nin: "nin";
318
+ gt: "gt";
319
+ gte: "gte";
320
+ lt: "lt";
321
+ lte: "lte";
322
+ regex: "regex";
323
+ isNull: "isNull";
324
+ isNotNull: "isNotNull";
325
+ }>;
326
+ value: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
327
+ }, z.core.$strip>>>;
328
+ customFields: z.ZodOptional<z.ZodArray<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>>;
329
+ listFields: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
637
330
  expand: z.ZodOptional<z.ZodArray<z.ZodType<{
638
331
  field: string;
639
332
  fields?: string[];
@@ -643,7 +336,7 @@ declare const listPageRecipeSchema: z.ZodObject<{
643
336
  offset?: number;
644
337
  filters?: unknown[];
645
338
  expand?: unknown[];
646
- }, z.ZodTypeDef, {
339
+ }, unknown, z.core.$ZodTypeInternals<{
647
340
  field: string;
648
341
  fields?: string[];
649
342
  customFields?: unknown[];
@@ -652,22 +345,14 @@ declare const listPageRecipeSchema: z.ZodObject<{
652
345
  offset?: number;
653
346
  filters?: unknown[];
654
347
  expand?: unknown[];
655
- }>, "many">>;
348
+ }, unknown>>>>;
656
349
  pagination: z.ZodOptional<z.ZodObject<{
657
350
  perPage: z.ZodNumber;
658
351
  numberFormatCount: z.ZodOptional<z.ZodNumber>;
659
352
  startPath: z.ZodOptional<z.ZodString>;
660
- }, "strip", z.ZodTypeAny, {
661
- perPage: number;
662
- numberFormatCount?: number | undefined;
663
- startPath?: string | undefined;
664
- }, {
665
- perPage: number;
666
- numberFormatCount?: number | undefined;
667
- startPath?: string | undefined;
668
- }>>;
353
+ }, z.core.$strip>>;
669
354
  items: z.ZodOptional<z.ZodObject<{
670
- fields: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
355
+ fields: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
671
356
  expand: z.ZodOptional<z.ZodArray<z.ZodType<{
672
357
  field: string;
673
358
  fields?: string[];
@@ -677,127 +362,7 @@ declare const listPageRecipeSchema: z.ZodObject<{
677
362
  offset?: number;
678
363
  filters?: unknown[];
679
364
  expand?: unknown[];
680
- }, z.ZodTypeDef, {
681
- field: string;
682
- fields?: string[];
683
- customFields?: unknown[];
684
- sort?: unknown;
685
- limit?: number;
686
- offset?: number;
687
- filters?: unknown[];
688
- expand?: unknown[];
689
- }>, "many">>;
690
- }, "strip", z.ZodTypeAny, {
691
- fields?: string[] | null | undefined;
692
- expand?: {
693
- field: string;
694
- fields?: string[];
695
- customFields?: unknown[];
696
- sort?: unknown;
697
- limit?: number;
698
- offset?: number;
699
- filters?: unknown[];
700
- expand?: unknown[];
701
- }[] | undefined;
702
- }, {
703
- fields?: string[] | null | undefined;
704
- expand?: {
705
- field: string;
706
- fields?: string[];
707
- customFields?: unknown[];
708
- sort?: unknown;
709
- limit?: number;
710
- offset?: number;
711
- filters?: unknown[];
712
- expand?: unknown[];
713
- }[] | undefined;
714
- }>>;
715
- }, "strip", z.ZodTypeAny, {
716
- type: "list";
717
- outputPath: string;
718
- templatePath: string;
719
- sort?: {
720
- field: string;
721
- direction: "asc" | "desc";
722
- } | {
723
- field: string;
724
- direction: "asc" | "desc";
725
- }[] | undefined;
726
- filters?: {
727
- field: string;
728
- operator: "eq" | "neq" | "in" | "nin" | "gt" | "gte" | "lt" | "lte" | "regex" | "isNull" | "isNotNull";
729
- value?: unknown;
730
- }[] | undefined;
731
- limit?: number | undefined;
732
- offset?: number | undefined;
733
- listFields?: string[] | null | undefined;
734
- expand?: {
735
- field: string;
736
- fields?: string[];
737
- customFields?: unknown[];
738
- sort?: unknown;
739
- limit?: number;
740
- offset?: number;
741
- filters?: unknown[];
742
- expand?: unknown[];
743
- }[] | undefined;
744
- customFields?: unknown[] | undefined;
745
- pagination?: {
746
- perPage: number;
747
- numberFormatCount?: number | undefined;
748
- startPath?: string | undefined;
749
- } | undefined;
750
- items?: {
751
- fields?: string[] | null | undefined;
752
- expand?: {
753
- field: string;
754
- fields?: string[];
755
- customFields?: unknown[];
756
- sort?: unknown;
757
- limit?: number;
758
- offset?: number;
759
- filters?: unknown[];
760
- expand?: unknown[];
761
- }[] | undefined;
762
- } | undefined;
763
- }, {
764
- type: "list";
765
- outputPath: string;
766
- templatePath: string;
767
- sort?: {
768
- field: string;
769
- direction: "asc" | "desc";
770
- } | {
771
- field: string;
772
- direction: "asc" | "desc";
773
- }[] | undefined;
774
- filters?: {
775
- field: string;
776
- operator: "eq" | "neq" | "in" | "nin" | "gt" | "gte" | "lt" | "lte" | "regex" | "isNull" | "isNotNull";
777
- value?: unknown;
778
- }[] | undefined;
779
- limit?: number | undefined;
780
- offset?: number | undefined;
781
- listFields?: string[] | null | undefined;
782
- expand?: {
783
- field: string;
784
- fields?: string[];
785
- customFields?: unknown[];
786
- sort?: unknown;
787
- limit?: number;
788
- offset?: number;
789
- filters?: unknown[];
790
- expand?: unknown[];
791
- }[] | undefined;
792
- customFields?: unknown[] | undefined;
793
- pagination?: {
794
- perPage: number;
795
- numberFormatCount?: number | undefined;
796
- startPath?: string | undefined;
797
- } | undefined;
798
- items?: {
799
- fields?: string[] | null | undefined;
800
- expand?: {
365
+ }, unknown, z.core.$ZodTypeInternals<{
801
366
  field: string;
802
367
  fields?: string[];
803
368
  customFields?: unknown[];
@@ -806,25 +371,15 @@ declare const listPageRecipeSchema: z.ZodObject<{
806
371
  offset?: number;
807
372
  filters?: unknown[];
808
373
  expand?: unknown[];
809
- }[] | undefined;
810
- } | undefined;
811
- }>;
374
+ }, unknown>>>>;
375
+ }, z.core.$strip>>;
376
+ }, z.core.$strip>;
812
377
  declare const staticPageRecipeSchema: z.ZodObject<{
813
378
  type: z.ZodLiteral<"static">;
814
379
  outputPath: z.ZodString;
815
380
  templatePath: z.ZodString;
816
- customFields: z.ZodOptional<z.ZodArray<z.ZodType<unknown, z.ZodTypeDef, unknown>, "many">>;
817
- }, "strip", z.ZodTypeAny, {
818
- type: "static";
819
- outputPath: string;
820
- templatePath: string;
821
- customFields?: unknown[] | undefined;
822
- }, {
823
- type: "static";
824
- outputPath: string;
825
- templatePath: string;
826
- customFields?: unknown[] | undefined;
827
- }>;
381
+ customFields: z.ZodOptional<z.ZodArray<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>>;
382
+ }, z.core.$strip>;
828
383
  declare const siteRecipeSchema: z.ZodObject<{
829
384
  version: z.ZodLiteral<"1.0">;
830
385
  contentTypes: z.ZodRecord<z.ZodString, z.ZodObject<{
@@ -841,7 +396,7 @@ declare const siteRecipeSchema: z.ZodObject<{
841
396
  offset?: number;
842
397
  filters?: unknown[];
843
398
  expand?: unknown[];
844
- }, z.ZodTypeDef, {
399
+ }, unknown, z.core.$ZodTypeInternals<{
845
400
  field: string;
846
401
  fields?: string[];
847
402
  customFields?: unknown[];
@@ -850,208 +405,88 @@ declare const siteRecipeSchema: z.ZodObject<{
850
405
  offset?: number;
851
406
  filters?: unknown[];
852
407
  expand?: unknown[];
853
- }>, "many">>;
408
+ }, unknown>>>>;
854
409
  repeat: z.ZodOptional<z.ZodObject<{
855
410
  as: z.ZodString;
856
411
  field: z.ZodString;
857
412
  outputPath: z.ZodString;
858
- }, "strip", z.ZodTypeAny, {
859
- field: string;
860
- outputPath: string;
861
- as: string;
862
- }, {
863
- field: string;
864
- outputPath: string;
865
- as: string;
866
- }>>;
867
- customFields: z.ZodOptional<z.ZodArray<z.ZodType<unknown, z.ZodTypeDef, unknown>, "many">>;
413
+ }, z.core.$strip>>;
414
+ customFields: z.ZodOptional<z.ZodArray<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>>;
868
415
  navigation: z.ZodOptional<z.ZodObject<{
869
- sort: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
416
+ sort: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
870
417
  field: z.ZodString;
871
- direction: z.ZodEnum<["asc", "desc"]>;
872
- }, "strip", z.ZodTypeAny, {
873
- field: string;
874
- direction: "asc" | "desc";
875
- }, {
876
- field: string;
877
- direction: "asc" | "desc";
878
- }>, z.ZodArray<z.ZodObject<{
418
+ direction: z.ZodEnum<{
419
+ asc: "asc";
420
+ desc: "desc";
421
+ }>;
422
+ }, z.core.$strip>, z.ZodArray<z.ZodObject<{
879
423
  field: z.ZodString;
880
- direction: z.ZodEnum<["asc", "desc"]>;
881
- }, "strip", z.ZodTypeAny, {
882
- field: string;
883
- direction: "asc" | "desc";
884
- }, {
885
- field: string;
886
- direction: "asc" | "desc";
887
- }>, "many">]>>;
424
+ direction: z.ZodEnum<{
425
+ asc: "asc";
426
+ desc: "desc";
427
+ }>;
428
+ }, z.core.$strip>>]>>;
888
429
  filters: z.ZodOptional<z.ZodArray<z.ZodObject<{
889
430
  field: z.ZodString;
890
- operator: z.ZodEnum<["eq", "neq", "gt", "gte", "lt", "lte", "in", "nin", "regex", "isNull", "isNotNull"]>;
891
- value: z.ZodOptional<z.ZodType<unknown, z.ZodTypeDef, unknown>>;
892
- }, "strip", z.ZodTypeAny, {
893
- field: string;
894
- operator: "eq" | "neq" | "in" | "nin" | "gt" | "gte" | "lt" | "lte" | "regex" | "isNull" | "isNotNull";
895
- value?: unknown;
896
- }, {
897
- field: string;
898
- operator: "eq" | "neq" | "in" | "nin" | "gt" | "gte" | "lt" | "lte" | "regex" | "isNull" | "isNotNull";
899
- value?: unknown;
900
- }>, "many">>;
901
- fields: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
902
- }, "strip", z.ZodTypeAny, {
903
- sort?: {
904
- field: string;
905
- direction: "asc" | "desc";
906
- } | {
907
- field: string;
908
- direction: "asc" | "desc";
909
- }[] | undefined;
910
- fields?: string[] | null | undefined;
911
- filters?: {
912
- field: string;
913
- operator: "eq" | "neq" | "in" | "nin" | "gt" | "gte" | "lt" | "lte" | "regex" | "isNull" | "isNotNull";
914
- value?: unknown;
915
- }[] | undefined;
916
- }, {
917
- sort?: {
918
- field: string;
919
- direction: "asc" | "desc";
920
- } | {
921
- field: string;
922
- direction: "asc" | "desc";
923
- }[] | undefined;
924
- fields?: string[] | null | undefined;
925
- filters?: {
926
- field: string;
927
- operator: "eq" | "neq" | "in" | "nin" | "gt" | "gte" | "lt" | "lte" | "regex" | "isNull" | "isNotNull";
928
- value?: unknown;
929
- }[] | undefined;
930
- }>>;
431
+ operator: z.ZodEnum<{
432
+ in: "in";
433
+ eq: "eq";
434
+ neq: "neq";
435
+ nin: "nin";
436
+ gt: "gt";
437
+ gte: "gte";
438
+ lt: "lt";
439
+ lte: "lte";
440
+ regex: "regex";
441
+ isNull: "isNull";
442
+ isNotNull: "isNotNull";
443
+ }>;
444
+ value: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
445
+ }, z.core.$strip>>>;
446
+ fields: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
447
+ }, z.core.$strip>>;
931
448
  include: z.ZodOptional<z.ZodObject<{
932
449
  site: z.ZodOptional<z.ZodBoolean>;
933
- }, "strip", z.ZodTypeAny, {
934
- site?: boolean | undefined;
935
- }, {
936
- site?: boolean | undefined;
937
- }>>;
938
- }, "strip", z.ZodTypeAny, {
939
- type: "detail";
940
- outputPath: string;
941
- templatePath: string;
942
- expand?: {
943
- field: string;
944
- fields?: string[];
945
- customFields?: unknown[];
946
- sort?: unknown;
947
- limit?: number;
948
- offset?: number;
949
- filters?: unknown[];
950
- expand?: unknown[];
951
- }[] | undefined;
952
- customFields?: unknown[] | undefined;
953
- repeat?: {
954
- field: string;
955
- outputPath: string;
956
- as: string;
957
- } | undefined;
958
- navigation?: {
959
- sort?: {
960
- field: string;
961
- direction: "asc" | "desc";
962
- } | {
963
- field: string;
964
- direction: "asc" | "desc";
965
- }[] | undefined;
966
- fields?: string[] | null | undefined;
967
- filters?: {
968
- field: string;
969
- operator: "eq" | "neq" | "in" | "nin" | "gt" | "gte" | "lt" | "lte" | "regex" | "isNull" | "isNotNull";
970
- value?: unknown;
971
- }[] | undefined;
972
- } | undefined;
973
- include?: {
974
- site?: boolean | undefined;
975
- } | undefined;
976
- }, {
977
- type: "detail";
978
- outputPath: string;
979
- templatePath: string;
980
- expand?: {
981
- field: string;
982
- fields?: string[];
983
- customFields?: unknown[];
984
- sort?: unknown;
985
- limit?: number;
986
- offset?: number;
987
- filters?: unknown[];
988
- expand?: unknown[];
989
- }[] | undefined;
990
- customFields?: unknown[] | undefined;
991
- repeat?: {
992
- field: string;
993
- outputPath: string;
994
- as: string;
995
- } | undefined;
996
- navigation?: {
997
- sort?: {
998
- field: string;
999
- direction: "asc" | "desc";
1000
- } | {
1001
- field: string;
1002
- direction: "asc" | "desc";
1003
- }[] | undefined;
1004
- fields?: string[] | null | undefined;
1005
- filters?: {
1006
- field: string;
1007
- operator: "eq" | "neq" | "in" | "nin" | "gt" | "gte" | "lt" | "lte" | "regex" | "isNull" | "isNotNull";
1008
- value?: unknown;
1009
- }[] | undefined;
1010
- } | undefined;
1011
- include?: {
1012
- site?: boolean | undefined;
1013
- } | undefined;
1014
- }>, "many">>;
450
+ }, z.core.$strip>>;
451
+ }, z.core.$strip>>>;
1015
452
  lists: z.ZodOptional<z.ZodArray<z.ZodObject<{
1016
453
  type: z.ZodLiteral<"list">;
1017
454
  outputPath: z.ZodString;
1018
455
  templatePath: z.ZodString;
1019
456
  offset: z.ZodOptional<z.ZodNumber>;
1020
457
  limit: z.ZodOptional<z.ZodNumber>;
1021
- sort: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
458
+ sort: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
1022
459
  field: z.ZodString;
1023
- direction: z.ZodEnum<["asc", "desc"]>;
1024
- }, "strip", z.ZodTypeAny, {
1025
- field: string;
1026
- direction: "asc" | "desc";
1027
- }, {
1028
- field: string;
1029
- direction: "asc" | "desc";
1030
- }>, z.ZodArray<z.ZodObject<{
460
+ direction: z.ZodEnum<{
461
+ asc: "asc";
462
+ desc: "desc";
463
+ }>;
464
+ }, z.core.$strip>, z.ZodArray<z.ZodObject<{
1031
465
  field: z.ZodString;
1032
- direction: z.ZodEnum<["asc", "desc"]>;
1033
- }, "strip", z.ZodTypeAny, {
1034
- field: string;
1035
- direction: "asc" | "desc";
1036
- }, {
1037
- field: string;
1038
- direction: "asc" | "desc";
1039
- }>, "many">]>>;
466
+ direction: z.ZodEnum<{
467
+ asc: "asc";
468
+ desc: "desc";
469
+ }>;
470
+ }, z.core.$strip>>]>>;
1040
471
  filters: z.ZodOptional<z.ZodArray<z.ZodObject<{
1041
472
  field: z.ZodString;
1042
- operator: z.ZodEnum<["eq", "neq", "gt", "gte", "lt", "lte", "in", "nin", "regex", "isNull", "isNotNull"]>;
1043
- value: z.ZodOptional<z.ZodType<unknown, z.ZodTypeDef, unknown>>;
1044
- }, "strip", z.ZodTypeAny, {
1045
- field: string;
1046
- operator: "eq" | "neq" | "in" | "nin" | "gt" | "gte" | "lt" | "lte" | "regex" | "isNull" | "isNotNull";
1047
- value?: unknown;
1048
- }, {
1049
- field: string;
1050
- operator: "eq" | "neq" | "in" | "nin" | "gt" | "gte" | "lt" | "lte" | "regex" | "isNull" | "isNotNull";
1051
- value?: unknown;
1052
- }>, "many">>;
1053
- customFields: z.ZodOptional<z.ZodArray<z.ZodType<unknown, z.ZodTypeDef, unknown>, "many">>;
1054
- listFields: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
473
+ operator: z.ZodEnum<{
474
+ in: "in";
475
+ eq: "eq";
476
+ neq: "neq";
477
+ nin: "nin";
478
+ gt: "gt";
479
+ gte: "gte";
480
+ lt: "lt";
481
+ lte: "lte";
482
+ regex: "regex";
483
+ isNull: "isNull";
484
+ isNotNull: "isNotNull";
485
+ }>;
486
+ value: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
487
+ }, z.core.$strip>>>;
488
+ customFields: z.ZodOptional<z.ZodArray<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>>;
489
+ listFields: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
1055
490
  expand: z.ZodOptional<z.ZodArray<z.ZodType<{
1056
491
  field: string;
1057
492
  fields?: string[];
@@ -1061,7 +496,7 @@ declare const siteRecipeSchema: z.ZodObject<{
1061
496
  offset?: number;
1062
497
  filters?: unknown[];
1063
498
  expand?: unknown[];
1064
- }, z.ZodTypeDef, {
499
+ }, unknown, z.core.$ZodTypeInternals<{
1065
500
  field: string;
1066
501
  fields?: string[];
1067
502
  customFields?: unknown[];
@@ -1070,22 +505,14 @@ declare const siteRecipeSchema: z.ZodObject<{
1070
505
  offset?: number;
1071
506
  filters?: unknown[];
1072
507
  expand?: unknown[];
1073
- }>, "many">>;
508
+ }, unknown>>>>;
1074
509
  pagination: z.ZodOptional<z.ZodObject<{
1075
510
  perPage: z.ZodNumber;
1076
511
  numberFormatCount: z.ZodOptional<z.ZodNumber>;
1077
512
  startPath: z.ZodOptional<z.ZodString>;
1078
- }, "strip", z.ZodTypeAny, {
1079
- perPage: number;
1080
- numberFormatCount?: number | undefined;
1081
- startPath?: string | undefined;
1082
- }, {
1083
- perPage: number;
1084
- numberFormatCount?: number | undefined;
1085
- startPath?: string | undefined;
1086
- }>>;
513
+ }, z.core.$strip>>;
1087
514
  items: z.ZodOptional<z.ZodObject<{
1088
- fields: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
515
+ fields: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
1089
516
  expand: z.ZodOptional<z.ZodArray<z.ZodType<{
1090
517
  field: string;
1091
518
  fields?: string[];
@@ -1095,31 +522,7 @@ declare const siteRecipeSchema: z.ZodObject<{
1095
522
  offset?: number;
1096
523
  filters?: unknown[];
1097
524
  expand?: unknown[];
1098
- }, z.ZodTypeDef, {
1099
- field: string;
1100
- fields?: string[];
1101
- customFields?: unknown[];
1102
- sort?: unknown;
1103
- limit?: number;
1104
- offset?: number;
1105
- filters?: unknown[];
1106
- expand?: unknown[];
1107
- }>, "many">>;
1108
- }, "strip", z.ZodTypeAny, {
1109
- fields?: string[] | null | undefined;
1110
- expand?: {
1111
- field: string;
1112
- fields?: string[];
1113
- customFields?: unknown[];
1114
- sort?: unknown;
1115
- limit?: number;
1116
- offset?: number;
1117
- filters?: unknown[];
1118
- expand?: unknown[];
1119
- }[] | undefined;
1120
- }, {
1121
- fields?: string[] | null | undefined;
1122
- expand?: {
525
+ }, unknown, z.core.$ZodTypeInternals<{
1123
526
  field: string;
1124
527
  fields?: string[];
1125
528
  customFields?: unknown[];
@@ -1128,587 +531,37 @@ declare const siteRecipeSchema: z.ZodObject<{
1128
531
  offset?: number;
1129
532
  filters?: unknown[];
1130
533
  expand?: unknown[];
1131
- }[] | undefined;
1132
- }>>;
1133
- }, "strip", z.ZodTypeAny, {
1134
- type: "list";
1135
- outputPath: string;
1136
- templatePath: string;
1137
- sort?: {
1138
- field: string;
1139
- direction: "asc" | "desc";
1140
- } | {
1141
- field: string;
1142
- direction: "asc" | "desc";
1143
- }[] | undefined;
1144
- filters?: {
1145
- field: string;
1146
- operator: "eq" | "neq" | "in" | "nin" | "gt" | "gte" | "lt" | "lte" | "regex" | "isNull" | "isNotNull";
1147
- value?: unknown;
1148
- }[] | undefined;
1149
- limit?: number | undefined;
1150
- offset?: number | undefined;
1151
- listFields?: string[] | null | undefined;
1152
- expand?: {
1153
- field: string;
1154
- fields?: string[];
1155
- customFields?: unknown[];
1156
- sort?: unknown;
1157
- limit?: number;
1158
- offset?: number;
1159
- filters?: unknown[];
1160
- expand?: unknown[];
1161
- }[] | undefined;
1162
- customFields?: unknown[] | undefined;
1163
- pagination?: {
1164
- perPage: number;
1165
- numberFormatCount?: number | undefined;
1166
- startPath?: string | undefined;
1167
- } | undefined;
1168
- items?: {
1169
- fields?: string[] | null | undefined;
1170
- expand?: {
1171
- field: string;
1172
- fields?: string[];
1173
- customFields?: unknown[];
1174
- sort?: unknown;
1175
- limit?: number;
1176
- offset?: number;
1177
- filters?: unknown[];
1178
- expand?: unknown[];
1179
- }[] | undefined;
1180
- } | undefined;
1181
- }, {
1182
- type: "list";
1183
- outputPath: string;
1184
- templatePath: string;
1185
- sort?: {
1186
- field: string;
1187
- direction: "asc" | "desc";
1188
- } | {
1189
- field: string;
1190
- direction: "asc" | "desc";
1191
- }[] | undefined;
1192
- filters?: {
1193
- field: string;
1194
- operator: "eq" | "neq" | "in" | "nin" | "gt" | "gte" | "lt" | "lte" | "regex" | "isNull" | "isNotNull";
1195
- value?: unknown;
1196
- }[] | undefined;
1197
- limit?: number | undefined;
1198
- offset?: number | undefined;
1199
- listFields?: string[] | null | undefined;
1200
- expand?: {
1201
- field: string;
1202
- fields?: string[];
1203
- customFields?: unknown[];
1204
- sort?: unknown;
1205
- limit?: number;
1206
- offset?: number;
1207
- filters?: unknown[];
1208
- expand?: unknown[];
1209
- }[] | undefined;
1210
- customFields?: unknown[] | undefined;
1211
- pagination?: {
1212
- perPage: number;
1213
- numberFormatCount?: number | undefined;
1214
- startPath?: string | undefined;
1215
- } | undefined;
1216
- items?: {
1217
- fields?: string[] | null | undefined;
1218
- expand?: {
1219
- field: string;
1220
- fields?: string[];
1221
- customFields?: unknown[];
1222
- sort?: unknown;
1223
- limit?: number;
1224
- offset?: number;
1225
- filters?: unknown[];
1226
- expand?: unknown[];
1227
- }[] | undefined;
1228
- } | undefined;
1229
- }>, "many">>;
1230
- }, "strip", z.ZodTypeAny, {
1231
- details?: {
1232
- type: "detail";
1233
- outputPath: string;
1234
- templatePath: string;
1235
- expand?: {
1236
- field: string;
1237
- fields?: string[];
1238
- customFields?: unknown[];
1239
- sort?: unknown;
1240
- limit?: number;
1241
- offset?: number;
1242
- filters?: unknown[];
1243
- expand?: unknown[];
1244
- }[] | undefined;
1245
- customFields?: unknown[] | undefined;
1246
- repeat?: {
1247
- field: string;
1248
- outputPath: string;
1249
- as: string;
1250
- } | undefined;
1251
- navigation?: {
1252
- sort?: {
1253
- field: string;
1254
- direction: "asc" | "desc";
1255
- } | {
1256
- field: string;
1257
- direction: "asc" | "desc";
1258
- }[] | undefined;
1259
- fields?: string[] | null | undefined;
1260
- filters?: {
1261
- field: string;
1262
- operator: "eq" | "neq" | "in" | "nin" | "gt" | "gte" | "lt" | "lte" | "regex" | "isNull" | "isNotNull";
1263
- value?: unknown;
1264
- }[] | undefined;
1265
- } | undefined;
1266
- include?: {
1267
- site?: boolean | undefined;
1268
- } | undefined;
1269
- }[] | undefined;
1270
- lists?: {
1271
- type: "list";
1272
- outputPath: string;
1273
- templatePath: string;
1274
- sort?: {
1275
- field: string;
1276
- direction: "asc" | "desc";
1277
- } | {
1278
- field: string;
1279
- direction: "asc" | "desc";
1280
- }[] | undefined;
1281
- filters?: {
1282
- field: string;
1283
- operator: "eq" | "neq" | "in" | "nin" | "gt" | "gte" | "lt" | "lte" | "regex" | "isNull" | "isNotNull";
1284
- value?: unknown;
1285
- }[] | undefined;
1286
- limit?: number | undefined;
1287
- offset?: number | undefined;
1288
- listFields?: string[] | null | undefined;
1289
- expand?: {
1290
- field: string;
1291
- fields?: string[];
1292
- customFields?: unknown[];
1293
- sort?: unknown;
1294
- limit?: number;
1295
- offset?: number;
1296
- filters?: unknown[];
1297
- expand?: unknown[];
1298
- }[] | undefined;
1299
- customFields?: unknown[] | undefined;
1300
- pagination?: {
1301
- perPage: number;
1302
- numberFormatCount?: number | undefined;
1303
- startPath?: string | undefined;
1304
- } | undefined;
1305
- items?: {
1306
- fields?: string[] | null | undefined;
1307
- expand?: {
1308
- field: string;
1309
- fields?: string[];
1310
- customFields?: unknown[];
1311
- sort?: unknown;
1312
- limit?: number;
1313
- offset?: number;
1314
- filters?: unknown[];
1315
- expand?: unknown[];
1316
- }[] | undefined;
1317
- } | undefined;
1318
- }[] | undefined;
1319
- }, {
1320
- details?: {
1321
- type: "detail";
1322
- outputPath: string;
1323
- templatePath: string;
1324
- expand?: {
1325
- field: string;
1326
- fields?: string[];
1327
- customFields?: unknown[];
1328
- sort?: unknown;
1329
- limit?: number;
1330
- offset?: number;
1331
- filters?: unknown[];
1332
- expand?: unknown[];
1333
- }[] | undefined;
1334
- customFields?: unknown[] | undefined;
1335
- repeat?: {
1336
- field: string;
1337
- outputPath: string;
1338
- as: string;
1339
- } | undefined;
1340
- navigation?: {
1341
- sort?: {
1342
- field: string;
1343
- direction: "asc" | "desc";
1344
- } | {
1345
- field: string;
1346
- direction: "asc" | "desc";
1347
- }[] | undefined;
1348
- fields?: string[] | null | undefined;
1349
- filters?: {
1350
- field: string;
1351
- operator: "eq" | "neq" | "in" | "nin" | "gt" | "gte" | "lt" | "lte" | "regex" | "isNull" | "isNotNull";
1352
- value?: unknown;
1353
- }[] | undefined;
1354
- } | undefined;
1355
- include?: {
1356
- site?: boolean | undefined;
1357
- } | undefined;
1358
- }[] | undefined;
1359
- lists?: {
1360
- type: "list";
1361
- outputPath: string;
1362
- templatePath: string;
1363
- sort?: {
1364
- field: string;
1365
- direction: "asc" | "desc";
1366
- } | {
1367
- field: string;
1368
- direction: "asc" | "desc";
1369
- }[] | undefined;
1370
- filters?: {
1371
- field: string;
1372
- operator: "eq" | "neq" | "in" | "nin" | "gt" | "gte" | "lt" | "lte" | "regex" | "isNull" | "isNotNull";
1373
- value?: unknown;
1374
- }[] | undefined;
1375
- limit?: number | undefined;
1376
- offset?: number | undefined;
1377
- listFields?: string[] | null | undefined;
1378
- expand?: {
1379
- field: string;
1380
- fields?: string[];
1381
- customFields?: unknown[];
1382
- sort?: unknown;
1383
- limit?: number;
1384
- offset?: number;
1385
- filters?: unknown[];
1386
- expand?: unknown[];
1387
- }[] | undefined;
1388
- customFields?: unknown[] | undefined;
1389
- pagination?: {
1390
- perPage: number;
1391
- numberFormatCount?: number | undefined;
1392
- startPath?: string | undefined;
1393
- } | undefined;
1394
- items?: {
1395
- fields?: string[] | null | undefined;
1396
- expand?: {
1397
- field: string;
1398
- fields?: string[];
1399
- customFields?: unknown[];
1400
- sort?: unknown;
1401
- limit?: number;
1402
- offset?: number;
1403
- filters?: unknown[];
1404
- expand?: unknown[];
1405
- }[] | undefined;
1406
- } | undefined;
1407
- }[] | undefined;
1408
- }>>;
534
+ }, unknown>>>>;
535
+ }, z.core.$strip>>;
536
+ }, z.core.$strip>>>;
537
+ }, z.core.$strip>>;
1409
538
  outputTimezone: z.ZodOptional<z.ZodString>;
1410
539
  staticPages: z.ZodOptional<z.ZodArray<z.ZodObject<{
1411
540
  type: z.ZodLiteral<"static">;
1412
541
  outputPath: z.ZodString;
1413
542
  templatePath: z.ZodString;
1414
- customFields: z.ZodOptional<z.ZodArray<z.ZodType<unknown, z.ZodTypeDef, unknown>, "many">>;
1415
- }, "strip", z.ZodTypeAny, {
1416
- type: "static";
1417
- outputPath: string;
1418
- templatePath: string;
1419
- customFields?: unknown[] | undefined;
1420
- }, {
1421
- type: "static";
1422
- outputPath: string;
1423
- templatePath: string;
1424
- customFields?: unknown[] | undefined;
1425
- }>, "many">>;
1426
- templateIncludes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString, "many">>>;
543
+ customFields: z.ZodOptional<z.ZodArray<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>>;
544
+ }, z.core.$strip>>>;
545
+ templateIncludes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString>>>;
1427
546
  lastUpdatedAt: z.ZodString;
1428
547
  lastUpdatedBy: z.ZodString;
1429
- }, "strip", z.ZodTypeAny, {
1430
- version: "1.0";
1431
- contentTypes: Record<string, {
1432
- details?: {
1433
- type: "detail";
1434
- outputPath: string;
1435
- templatePath: string;
1436
- expand?: {
1437
- field: string;
1438
- fields?: string[];
1439
- customFields?: unknown[];
1440
- sort?: unknown;
1441
- limit?: number;
1442
- offset?: number;
1443
- filters?: unknown[];
1444
- expand?: unknown[];
1445
- }[] | undefined;
1446
- customFields?: unknown[] | undefined;
1447
- repeat?: {
1448
- field: string;
1449
- outputPath: string;
1450
- as: string;
1451
- } | undefined;
1452
- navigation?: {
1453
- sort?: {
1454
- field: string;
1455
- direction: "asc" | "desc";
1456
- } | {
1457
- field: string;
1458
- direction: "asc" | "desc";
1459
- }[] | undefined;
1460
- fields?: string[] | null | undefined;
1461
- filters?: {
1462
- field: string;
1463
- operator: "eq" | "neq" | "in" | "nin" | "gt" | "gte" | "lt" | "lte" | "regex" | "isNull" | "isNotNull";
1464
- value?: unknown;
1465
- }[] | undefined;
1466
- } | undefined;
1467
- include?: {
1468
- site?: boolean | undefined;
1469
- } | undefined;
1470
- }[] | undefined;
1471
- lists?: {
1472
- type: "list";
1473
- outputPath: string;
1474
- templatePath: string;
1475
- sort?: {
1476
- field: string;
1477
- direction: "asc" | "desc";
1478
- } | {
1479
- field: string;
1480
- direction: "asc" | "desc";
1481
- }[] | undefined;
1482
- filters?: {
1483
- field: string;
1484
- operator: "eq" | "neq" | "in" | "nin" | "gt" | "gte" | "lt" | "lte" | "regex" | "isNull" | "isNotNull";
1485
- value?: unknown;
1486
- }[] | undefined;
1487
- limit?: number | undefined;
1488
- offset?: number | undefined;
1489
- listFields?: string[] | null | undefined;
1490
- expand?: {
1491
- field: string;
1492
- fields?: string[];
1493
- customFields?: unknown[];
1494
- sort?: unknown;
1495
- limit?: number;
1496
- offset?: number;
1497
- filters?: unknown[];
1498
- expand?: unknown[];
1499
- }[] | undefined;
1500
- customFields?: unknown[] | undefined;
1501
- pagination?: {
1502
- perPage: number;
1503
- numberFormatCount?: number | undefined;
1504
- startPath?: string | undefined;
1505
- } | undefined;
1506
- items?: {
1507
- fields?: string[] | null | undefined;
1508
- expand?: {
1509
- field: string;
1510
- fields?: string[];
1511
- customFields?: unknown[];
1512
- sort?: unknown;
1513
- limit?: number;
1514
- offset?: number;
1515
- filters?: unknown[];
1516
- expand?: unknown[];
1517
- }[] | undefined;
1518
- } | undefined;
1519
- }[] | undefined;
1520
- }>;
1521
- lastUpdatedAt: string;
1522
- lastUpdatedBy: string;
1523
- outputTimezone?: string | undefined;
1524
- staticPages?: {
1525
- type: "static";
1526
- outputPath: string;
1527
- templatePath: string;
1528
- customFields?: unknown[] | undefined;
1529
- }[] | undefined;
1530
- templateIncludes?: Record<string, string[]> | undefined;
1531
- }, {
1532
- version: "1.0";
1533
- contentTypes: Record<string, {
1534
- details?: {
1535
- type: "detail";
1536
- outputPath: string;
1537
- templatePath: string;
1538
- expand?: {
1539
- field: string;
1540
- fields?: string[];
1541
- customFields?: unknown[];
1542
- sort?: unknown;
1543
- limit?: number;
1544
- offset?: number;
1545
- filters?: unknown[];
1546
- expand?: unknown[];
1547
- }[] | undefined;
1548
- customFields?: unknown[] | undefined;
1549
- repeat?: {
1550
- field: string;
1551
- outputPath: string;
1552
- as: string;
1553
- } | undefined;
1554
- navigation?: {
1555
- sort?: {
1556
- field: string;
1557
- direction: "asc" | "desc";
1558
- } | {
1559
- field: string;
1560
- direction: "asc" | "desc";
1561
- }[] | undefined;
1562
- fields?: string[] | null | undefined;
1563
- filters?: {
1564
- field: string;
1565
- operator: "eq" | "neq" | "in" | "nin" | "gt" | "gte" | "lt" | "lte" | "regex" | "isNull" | "isNotNull";
1566
- value?: unknown;
1567
- }[] | undefined;
1568
- } | undefined;
1569
- include?: {
1570
- site?: boolean | undefined;
1571
- } | undefined;
1572
- }[] | undefined;
1573
- lists?: {
1574
- type: "list";
1575
- outputPath: string;
1576
- templatePath: string;
1577
- sort?: {
1578
- field: string;
1579
- direction: "asc" | "desc";
1580
- } | {
1581
- field: string;
1582
- direction: "asc" | "desc";
1583
- }[] | undefined;
1584
- filters?: {
1585
- field: string;
1586
- operator: "eq" | "neq" | "in" | "nin" | "gt" | "gte" | "lt" | "lte" | "regex" | "isNull" | "isNotNull";
1587
- value?: unknown;
1588
- }[] | undefined;
1589
- limit?: number | undefined;
1590
- offset?: number | undefined;
1591
- listFields?: string[] | null | undefined;
1592
- expand?: {
1593
- field: string;
1594
- fields?: string[];
1595
- customFields?: unknown[];
1596
- sort?: unknown;
1597
- limit?: number;
1598
- offset?: number;
1599
- filters?: unknown[];
1600
- expand?: unknown[];
1601
- }[] | undefined;
1602
- customFields?: unknown[] | undefined;
1603
- pagination?: {
1604
- perPage: number;
1605
- numberFormatCount?: number | undefined;
1606
- startPath?: string | undefined;
1607
- } | undefined;
1608
- items?: {
1609
- fields?: string[] | null | undefined;
1610
- expand?: {
1611
- field: string;
1612
- fields?: string[];
1613
- customFields?: unknown[];
1614
- sort?: unknown;
1615
- limit?: number;
1616
- offset?: number;
1617
- filters?: unknown[];
1618
- expand?: unknown[];
1619
- }[] | undefined;
1620
- } | undefined;
1621
- }[] | undefined;
1622
- }>;
1623
- lastUpdatedAt: string;
1624
- lastUpdatedBy: string;
1625
- outputTimezone?: string | undefined;
1626
- staticPages?: {
1627
- type: "static";
1628
- outputPath: string;
1629
- templatePath: string;
1630
- customFields?: unknown[] | undefined;
1631
- }[] | undefined;
1632
- templateIncludes?: Record<string, string[]> | undefined;
1633
- }>;
548
+ }, z.core.$strip>;
1634
549
  declare const contentTypeJsonSchema: z.ZodObject<{
1635
550
  contentType: z.ZodObject<{
1636
551
  id: z.ZodString;
1637
- fields: z.ZodArray<z.ZodType<FieldDefinition, z.ZodTypeDef, FieldDefinition>, "many">;
1638
- }, "strip", z.ZodTypeAny, {
1639
- id: string;
1640
- fields: FieldDefinition[];
1641
- }, {
1642
- id: string;
1643
- fields: FieldDefinition[];
1644
- }>;
552
+ fields: z.ZodArray<z.ZodType<FieldDefinition, unknown, z.core.$ZodTypeInternals<FieldDefinition, unknown>>>;
553
+ }, z.core.$strip>;
1645
554
  contentTypeUi: z.ZodObject<{
1646
555
  id: z.ZodString;
1647
556
  label: z.ZodString;
1648
- fields: z.ZodArray<z.ZodType<UiFieldDefinition, z.ZodTypeDef, UiFieldDefinition>, "many">;
557
+ fields: z.ZodArray<z.ZodType<UiFieldDefinition, unknown, z.core.$ZodTypeInternals<UiFieldDefinition, unknown>>>;
1649
558
  groups: z.ZodArray<z.ZodObject<{
1650
559
  id: z.ZodString;
1651
560
  label: z.ZodString;
1652
- fieldKeys: z.ZodArray<z.ZodString, "many">;
1653
- }, "strip", z.ZodTypeAny, {
1654
- label: string;
1655
- id: string;
1656
- fieldKeys: string[];
1657
- }, {
1658
- label: string;
1659
- id: string;
1660
- fieldKeys: string[];
1661
- }>, "many">;
1662
- }, "strip", z.ZodTypeAny, {
1663
- label: string;
1664
- id: string;
1665
- fields: UiFieldDefinition[];
1666
- groups: {
1667
- label: string;
1668
- id: string;
1669
- fieldKeys: string[];
1670
- }[];
1671
- }, {
1672
- label: string;
1673
- id: string;
1674
- fields: UiFieldDefinition[];
1675
- groups: {
1676
- label: string;
1677
- id: string;
1678
- fieldKeys: string[];
1679
- }[];
1680
- }>;
1681
- }, "strip", z.ZodTypeAny, {
1682
- contentType: {
1683
- id: string;
1684
- fields: FieldDefinition[];
1685
- };
1686
- contentTypeUi: {
1687
- label: string;
1688
- id: string;
1689
- fields: UiFieldDefinition[];
1690
- groups: {
1691
- label: string;
1692
- id: string;
1693
- fieldKeys: string[];
1694
- }[];
1695
- };
1696
- }, {
1697
- contentType: {
1698
- id: string;
1699
- fields: FieldDefinition[];
1700
- };
1701
- contentTypeUi: {
1702
- label: string;
1703
- id: string;
1704
- fields: UiFieldDefinition[];
1705
- groups: {
1706
- label: string;
1707
- id: string;
1708
- fieldKeys: string[];
1709
- }[];
1710
- };
1711
- }>;
561
+ fieldKeys: z.ZodArray<z.ZodString>;
562
+ }, z.core.$strip>>;
563
+ }, z.core.$strip>;
564
+ }, z.core.$strip>;
1712
565
  type ContentTypeJson = z.infer<typeof contentTypeJsonSchema>;
1713
566
  type ValidationResult<T> = {
1714
567
  success: true;