@webstudio-is/sdk 0.274.4 → 0.275.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.
@@ -7,86 +7,44 @@ export type System = {
7
7
  };
8
8
  export declare const pageId: z.ZodString;
9
9
  export declare const folderId: z.ZodString;
10
- export declare const folderName: z.ZodEffects<z.ZodString, string, string>;
10
+ export declare const folderName: z.ZodString;
11
11
  export declare const folder: z.ZodObject<{
12
12
  id: z.ZodString;
13
- name: z.ZodEffects<z.ZodString, string, string>;
14
- slug: z.ZodEffects<z.ZodString, string, string>;
15
- children: z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodString]>, "many">;
16
- }, "strip", z.ZodTypeAny, {
17
- name: string;
18
- id: string;
19
- slug: string;
20
- children: string[];
21
- }, {
22
- name: string;
23
- id: string;
24
- slug: string;
25
- children: string[];
26
- }>;
13
+ name: z.ZodString;
14
+ slug: z.ZodString;
15
+ children: z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodString]>>;
16
+ }, z.core.$strip>;
27
17
  export type Folder = z.infer<typeof folder>;
28
- export declare const pageName: z.ZodEffects<z.ZodString, string, string>;
29
- export declare const pageTitle: z.ZodEffects<z.ZodString, string, string>;
18
+ export declare const pageName: z.ZodString;
19
+ export declare const pageTitle: z.ZodString;
30
20
  export declare const documentTypes: readonly ["html", "xml", "text"];
31
- export declare const pageAuth: z.ZodUnion<[z.ZodEffects<z.ZodObject<{
21
+ export declare const pageAuth: z.ZodUnion<readonly [z.ZodObject<{
32
22
  login: z.ZodString;
33
23
  password: z.ZodString;
34
24
  method: z.ZodLiteral<"basic">;
35
- }, "strip", z.ZodTypeAny, {
36
- method: "basic";
37
- login: string;
38
- password: string;
39
- }, {
40
- method: "basic";
41
- login: string;
42
- password: string;
43
- }>, {
44
- method: "basic";
45
- login: string;
46
- password: string;
47
- }, {
48
- method: "basic";
49
- login: string;
50
- password: string;
51
- }>, z.ZodEffects<z.ZodEffects<z.ZodObject<{
25
+ }, z.core.$strip>, z.ZodPipe<z.ZodObject<{
52
26
  login: z.ZodString;
53
27
  password: z.ZodString;
54
28
  type: z.ZodLiteral<"basic">;
55
- }, "strip", z.ZodTypeAny, {
56
- type: "basic";
57
- login: string;
58
- password: string;
59
- }, {
60
- type: "basic";
61
- login: string;
62
- password: string;
63
- }>, {
64
- type: "basic";
65
- login: string;
66
- password: string;
67
- }, {
68
- type: "basic";
69
- login: string;
70
- password: string;
71
- }>, {
29
+ }, z.core.$strip>, z.ZodTransform<{
72
30
  method: "basic";
73
31
  login: string;
74
32
  password: string;
75
33
  }, {
76
- type: "basic";
77
34
  login: string;
78
35
  password: string;
79
- }>]>;
36
+ type: "basic";
37
+ }>>]>;
80
38
  export type PageAuth = z.infer<typeof pageAuth>;
81
- export declare const homePagePath: z.ZodEffects<z.ZodString, "", string>;
82
- export declare const redirectSourcePath: z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>, string, string>, string, string>, string, string>, string, string>;
83
- export declare const pagePath: z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>, string, string>, string, string>, string, string>, string, string>, string, string>, string, string>, string, string>;
39
+ export declare const homePagePath: z.ZodString & z.ZodType<"", string, z.core.$ZodTypeInternals<"", string>>;
40
+ export declare const redirectSourcePath: z.ZodString;
41
+ export declare const pagePath: z.ZodString;
84
42
  export declare const page: z.ZodObject<{
85
- path: z.ZodUnion<[z.ZodEffects<z.ZodString, "", string>, z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>, string, string>, string, string>, string, string>, string, string>, string, string>, string, string>, string, string>]>;
43
+ path: z.ZodUnion<readonly [z.ZodString & z.ZodType<"", string, z.core.$ZodTypeInternals<"", string>>, z.ZodString]>;
86
44
  id: z.ZodString;
87
- name: z.ZodEffects<z.ZodString, string, string>;
88
- title: z.ZodEffects<z.ZodString, string, string>;
89
- history: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
45
+ name: z.ZodString;
46
+ title: z.ZodString;
47
+ history: z.ZodOptional<z.ZodArray<z.ZodString>>;
90
48
  rootInstanceId: z.ZodString;
91
49
  systemDataSourceId: z.ZodOptional<z.ZodString>;
92
50
  meta: z.ZodObject<{
@@ -98,210 +56,44 @@ export declare const page: z.ZodObject<{
98
56
  socialImageUrl: z.ZodOptional<z.ZodString>;
99
57
  status: z.ZodOptional<z.ZodString>;
100
58
  redirect: z.ZodOptional<z.ZodString>;
101
- documentType: z.ZodOptional<z.ZodEnum<["html", "xml", "text"]>>;
59
+ documentType: z.ZodOptional<z.ZodEnum<{
60
+ html: "html";
61
+ xml: "xml";
62
+ text: "text";
63
+ }>>;
102
64
  content: z.ZodOptional<z.ZodString>;
103
- auth: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodObject<{
65
+ auth: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
104
66
  login: z.ZodString;
105
67
  password: z.ZodString;
106
68
  method: z.ZodLiteral<"basic">;
107
- }, "strip", z.ZodTypeAny, {
108
- method: "basic";
109
- login: string;
110
- password: string;
111
- }, {
112
- method: "basic";
113
- login: string;
114
- password: string;
115
- }>, {
116
- method: "basic";
117
- login: string;
118
- password: string;
119
- }, {
120
- method: "basic";
121
- login: string;
122
- password: string;
123
- }>, z.ZodEffects<z.ZodEffects<z.ZodObject<{
69
+ }, z.core.$strip>, z.ZodPipe<z.ZodObject<{
124
70
  login: z.ZodString;
125
71
  password: z.ZodString;
126
72
  type: z.ZodLiteral<"basic">;
127
- }, "strip", z.ZodTypeAny, {
128
- type: "basic";
129
- login: string;
130
- password: string;
131
- }, {
132
- type: "basic";
133
- login: string;
134
- password: string;
135
- }>, {
136
- type: "basic";
137
- login: string;
138
- password: string;
139
- }, {
140
- type: "basic";
141
- login: string;
142
- password: string;
143
- }>, {
73
+ }, z.core.$strip>, z.ZodTransform<{
144
74
  method: "basic";
145
75
  login: string;
146
76
  password: string;
147
77
  }, {
148
- type: "basic";
149
78
  login: string;
150
79
  password: string;
151
- }>]>>;
80
+ type: "basic";
81
+ }>>]>>;
152
82
  custom: z.ZodOptional<z.ZodArray<z.ZodObject<{
153
83
  property: z.ZodString;
154
84
  content: z.ZodString;
155
- }, "strip", z.ZodTypeAny, {
156
- content: string;
157
- property: string;
158
- }, {
159
- content: string;
160
- property: string;
161
- }>, "many">>;
162
- }, "strip", z.ZodTypeAny, {
163
- status?: string | undefined;
164
- custom?: {
165
- content: string;
166
- property: string;
167
- }[] | undefined;
168
- description?: string | undefined;
169
- auth?: {
170
- method: "basic";
171
- login: string;
172
- password: string;
173
- } | {
174
- method: "basic";
175
- login: string;
176
- password: string;
177
- } | undefined;
178
- content?: string | undefined;
179
- title?: string | undefined;
180
- excludePageFromSearch?: string | undefined;
181
- language?: string | undefined;
182
- socialImageAssetId?: string | undefined;
183
- socialImageUrl?: string | undefined;
184
- redirect?: string | undefined;
185
- documentType?: "html" | "xml" | "text" | undefined;
186
- }, {
187
- status?: string | undefined;
188
- custom?: {
189
- content: string;
190
- property: string;
191
- }[] | undefined;
192
- description?: string | undefined;
193
- auth?: {
194
- method: "basic";
195
- login: string;
196
- password: string;
197
- } | {
198
- type: "basic";
199
- login: string;
200
- password: string;
201
- } | undefined;
202
- content?: string | undefined;
203
- title?: string | undefined;
204
- excludePageFromSearch?: string | undefined;
205
- language?: string | undefined;
206
- socialImageAssetId?: string | undefined;
207
- socialImageUrl?: string | undefined;
208
- redirect?: string | undefined;
209
- documentType?: "html" | "xml" | "text" | undefined;
210
- }>;
85
+ }, z.core.$strip>>>;
86
+ }, z.core.$strip>;
211
87
  marketplace: z.ZodOptional<z.ZodObject<{
212
88
  include: z.ZodOptional<z.ZodBoolean>;
213
89
  category: z.ZodOptional<z.ZodString>;
214
90
  thumbnailAssetId: z.ZodOptional<z.ZodString>;
215
- }, "strip", z.ZodTypeAny, {
216
- include?: boolean | undefined;
217
- category?: string | undefined;
218
- thumbnailAssetId?: string | undefined;
219
- }, {
220
- include?: boolean | undefined;
221
- category?: string | undefined;
222
- thumbnailAssetId?: string | undefined;
223
- }>>;
224
- }, "strip", z.ZodTypeAny, {
225
- path: string;
226
- name: string;
227
- meta: {
228
- status?: string | undefined;
229
- custom?: {
230
- content: string;
231
- property: string;
232
- }[] | undefined;
233
- description?: string | undefined;
234
- auth?: {
235
- method: "basic";
236
- login: string;
237
- password: string;
238
- } | {
239
- method: "basic";
240
- login: string;
241
- password: string;
242
- } | undefined;
243
- content?: string | undefined;
244
- title?: string | undefined;
245
- excludePageFromSearch?: string | undefined;
246
- language?: string | undefined;
247
- socialImageAssetId?: string | undefined;
248
- socialImageUrl?: string | undefined;
249
- redirect?: string | undefined;
250
- documentType?: "html" | "xml" | "text" | undefined;
251
- };
252
- id: string;
253
- title: string;
254
- rootInstanceId: string;
255
- history?: string[] | undefined;
256
- systemDataSourceId?: string | undefined;
257
- marketplace?: {
258
- include?: boolean | undefined;
259
- category?: string | undefined;
260
- thumbnailAssetId?: string | undefined;
261
- } | undefined;
262
- }, {
263
- path: string;
264
- name: string;
265
- meta: {
266
- status?: string | undefined;
267
- custom?: {
268
- content: string;
269
- property: string;
270
- }[] | undefined;
271
- description?: string | undefined;
272
- auth?: {
273
- method: "basic";
274
- login: string;
275
- password: string;
276
- } | {
277
- type: "basic";
278
- login: string;
279
- password: string;
280
- } | undefined;
281
- content?: string | undefined;
282
- title?: string | undefined;
283
- excludePageFromSearch?: string | undefined;
284
- language?: string | undefined;
285
- socialImageAssetId?: string | undefined;
286
- socialImageUrl?: string | undefined;
287
- redirect?: string | undefined;
288
- documentType?: "html" | "xml" | "text" | undefined;
289
- };
290
- id: string;
291
- title: string;
292
- rootInstanceId: string;
293
- history?: string[] | undefined;
294
- systemDataSourceId?: string | undefined;
295
- marketplace?: {
296
- include?: boolean | undefined;
297
- category?: string | undefined;
298
- thumbnailAssetId?: string | undefined;
299
- } | undefined;
300
- }>;
91
+ }, z.core.$strip>>;
92
+ }, z.core.$strip>;
301
93
  export declare const pageTemplate: z.ZodObject<{
302
94
  id: z.ZodString;
303
- name: z.ZodEffects<z.ZodString, string, string>;
304
- title: z.ZodEffects<z.ZodString, string, string>;
95
+ name: z.ZodString;
96
+ title: z.ZodString;
305
97
  rootInstanceId: z.ZodString;
306
98
  systemDataSourceId: z.ZodOptional<z.ZodString>;
307
99
  meta: z.ZodObject<{
@@ -313,179 +105,35 @@ export declare const pageTemplate: z.ZodObject<{
313
105
  socialImageUrl: z.ZodOptional<z.ZodString>;
314
106
  status: z.ZodOptional<z.ZodString>;
315
107
  redirect: z.ZodOptional<z.ZodString>;
316
- documentType: z.ZodOptional<z.ZodEnum<["html", "xml", "text"]>>;
108
+ documentType: z.ZodOptional<z.ZodEnum<{
109
+ html: "html";
110
+ xml: "xml";
111
+ text: "text";
112
+ }>>;
317
113
  content: z.ZodOptional<z.ZodString>;
318
- auth: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodObject<{
114
+ auth: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
319
115
  login: z.ZodString;
320
116
  password: z.ZodString;
321
117
  method: z.ZodLiteral<"basic">;
322
- }, "strip", z.ZodTypeAny, {
323
- method: "basic";
324
- login: string;
325
- password: string;
326
- }, {
327
- method: "basic";
328
- login: string;
329
- password: string;
330
- }>, {
331
- method: "basic";
332
- login: string;
333
- password: string;
334
- }, {
335
- method: "basic";
336
- login: string;
337
- password: string;
338
- }>, z.ZodEffects<z.ZodEffects<z.ZodObject<{
118
+ }, z.core.$strip>, z.ZodPipe<z.ZodObject<{
339
119
  login: z.ZodString;
340
120
  password: z.ZodString;
341
121
  type: z.ZodLiteral<"basic">;
342
- }, "strip", z.ZodTypeAny, {
343
- type: "basic";
344
- login: string;
345
- password: string;
346
- }, {
347
- type: "basic";
348
- login: string;
349
- password: string;
350
- }>, {
351
- type: "basic";
352
- login: string;
353
- password: string;
354
- }, {
355
- type: "basic";
356
- login: string;
357
- password: string;
358
- }>, {
122
+ }, z.core.$strip>, z.ZodTransform<{
359
123
  method: "basic";
360
124
  login: string;
361
125
  password: string;
362
126
  }, {
363
- type: "basic";
364
127
  login: string;
365
128
  password: string;
366
- }>]>>;
129
+ type: "basic";
130
+ }>>]>>;
367
131
  custom: z.ZodOptional<z.ZodArray<z.ZodObject<{
368
132
  property: z.ZodString;
369
133
  content: z.ZodString;
370
- }, "strip", z.ZodTypeAny, {
371
- content: string;
372
- property: string;
373
- }, {
374
- content: string;
375
- property: string;
376
- }>, "many">>;
377
- }, "strip", z.ZodTypeAny, {
378
- status?: string | undefined;
379
- custom?: {
380
- content: string;
381
- property: string;
382
- }[] | undefined;
383
- description?: string | undefined;
384
- auth?: {
385
- method: "basic";
386
- login: string;
387
- password: string;
388
- } | {
389
- method: "basic";
390
- login: string;
391
- password: string;
392
- } | undefined;
393
- content?: string | undefined;
394
- title?: string | undefined;
395
- excludePageFromSearch?: string | undefined;
396
- language?: string | undefined;
397
- socialImageAssetId?: string | undefined;
398
- socialImageUrl?: string | undefined;
399
- redirect?: string | undefined;
400
- documentType?: "html" | "xml" | "text" | undefined;
401
- }, {
402
- status?: string | undefined;
403
- custom?: {
404
- content: string;
405
- property: string;
406
- }[] | undefined;
407
- description?: string | undefined;
408
- auth?: {
409
- method: "basic";
410
- login: string;
411
- password: string;
412
- } | {
413
- type: "basic";
414
- login: string;
415
- password: string;
416
- } | undefined;
417
- content?: string | undefined;
418
- title?: string | undefined;
419
- excludePageFromSearch?: string | undefined;
420
- language?: string | undefined;
421
- socialImageAssetId?: string | undefined;
422
- socialImageUrl?: string | undefined;
423
- redirect?: string | undefined;
424
- documentType?: "html" | "xml" | "text" | undefined;
425
- }>;
426
- }, "strip", z.ZodTypeAny, {
427
- name: string;
428
- meta: {
429
- status?: string | undefined;
430
- custom?: {
431
- content: string;
432
- property: string;
433
- }[] | undefined;
434
- description?: string | undefined;
435
- auth?: {
436
- method: "basic";
437
- login: string;
438
- password: string;
439
- } | {
440
- method: "basic";
441
- login: string;
442
- password: string;
443
- } | undefined;
444
- content?: string | undefined;
445
- title?: string | undefined;
446
- excludePageFromSearch?: string | undefined;
447
- language?: string | undefined;
448
- socialImageAssetId?: string | undefined;
449
- socialImageUrl?: string | undefined;
450
- redirect?: string | undefined;
451
- documentType?: "html" | "xml" | "text" | undefined;
452
- };
453
- id: string;
454
- title: string;
455
- rootInstanceId: string;
456
- systemDataSourceId?: string | undefined;
457
- }, {
458
- name: string;
459
- meta: {
460
- status?: string | undefined;
461
- custom?: {
462
- content: string;
463
- property: string;
464
- }[] | undefined;
465
- description?: string | undefined;
466
- auth?: {
467
- method: "basic";
468
- login: string;
469
- password: string;
470
- } | {
471
- type: "basic";
472
- login: string;
473
- password: string;
474
- } | undefined;
475
- content?: string | undefined;
476
- title?: string | undefined;
477
- excludePageFromSearch?: string | undefined;
478
- language?: string | undefined;
479
- socialImageAssetId?: string | undefined;
480
- socialImageUrl?: string | undefined;
481
- redirect?: string | undefined;
482
- documentType?: "html" | "xml" | "text" | undefined;
483
- };
484
- id: string;
485
- title: string;
486
- rootInstanceId: string;
487
- systemDataSourceId?: string | undefined;
488
- }>;
134
+ }, z.core.$strip>>>;
135
+ }, z.core.$strip>;
136
+ }, z.core.$strip>;
489
137
  export type PageTemplate = z.infer<typeof pageTemplate>;
490
138
  export declare const projectMeta: z.ZodObject<{
491
139
  siteName: z.ZodOptional<z.ZodString>;
@@ -493,92 +141,50 @@ export declare const projectMeta: z.ZodObject<{
493
141
  faviconAssetId: z.ZodOptional<z.ZodString>;
494
142
  code: z.ZodOptional<z.ZodString>;
495
143
  auth: z.ZodOptional<z.ZodString>;
496
- }, "strip", z.ZodTypeAny, {
497
- code?: string | undefined;
498
- auth?: string | undefined;
499
- siteName?: string | undefined;
500
- contactEmail?: string | undefined;
501
- faviconAssetId?: string | undefined;
502
- }, {
503
- code?: string | undefined;
504
- auth?: string | undefined;
505
- siteName?: string | undefined;
506
- contactEmail?: string | undefined;
507
- faviconAssetId?: string | undefined;
508
- }>;
144
+ }, z.core.$strip>;
509
145
  export type ProjectMeta = z.infer<typeof projectMeta>;
510
- export declare const projectNewRedirectPath: z.ZodEffects<z.ZodString, string, string>;
146
+ export declare const projectNewRedirectPath: z.ZodString;
511
147
  export declare const pageRedirect: z.ZodObject<{
512
- old: z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>, string, string>, string, string>, string, string>, string, string>;
513
- new: z.ZodEffects<z.ZodString, string, string>;
514
- status: z.ZodOptional<z.ZodEnum<["301", "302"]>>;
515
- }, "strip", z.ZodTypeAny, {
516
- old: string;
517
- new: string;
518
- status?: "301" | "302" | undefined;
519
- }, {
520
- old: string;
521
- new: string;
522
- status?: "301" | "302" | undefined;
523
- }>;
148
+ old: z.ZodString;
149
+ new: z.ZodString;
150
+ status: z.ZodOptional<z.ZodEnum<{
151
+ 301: "301";
152
+ 302: "302";
153
+ }>>;
154
+ }, z.core.$strip>;
524
155
  export type PageRedirect = z.infer<typeof pageRedirect>;
525
156
  export declare const compilerSettings: z.ZodObject<{
526
157
  atomicStyles: z.ZodOptional<z.ZodBoolean>;
527
- }, "strip", z.ZodTypeAny, {
528
- atomicStyles?: boolean | undefined;
529
- }, {
530
- atomicStyles?: boolean | undefined;
531
- }>;
158
+ }, z.core.$strip>;
532
159
  export type CompilerSettings = z.infer<typeof compilerSettings>;
533
160
  export type Page = z.infer<typeof page>;
534
- export declare const pages: z.ZodEffects<z.ZodObject<{
161
+ export declare const pages: z.ZodObject<{
535
162
  meta: z.ZodOptional<z.ZodObject<{
536
163
  siteName: z.ZodOptional<z.ZodString>;
537
164
  contactEmail: z.ZodOptional<z.ZodString>;
538
165
  faviconAssetId: z.ZodOptional<z.ZodString>;
539
166
  code: z.ZodOptional<z.ZodString>;
540
167
  auth: z.ZodOptional<z.ZodString>;
541
- }, "strip", z.ZodTypeAny, {
542
- code?: string | undefined;
543
- auth?: string | undefined;
544
- siteName?: string | undefined;
545
- contactEmail?: string | undefined;
546
- faviconAssetId?: string | undefined;
547
- }, {
548
- code?: string | undefined;
549
- auth?: string | undefined;
550
- siteName?: string | undefined;
551
- contactEmail?: string | undefined;
552
- faviconAssetId?: string | undefined;
553
- }>>;
168
+ }, z.core.$strip>>;
554
169
  compiler: z.ZodOptional<z.ZodObject<{
555
170
  atomicStyles: z.ZodOptional<z.ZodBoolean>;
556
- }, "strip", z.ZodTypeAny, {
557
- atomicStyles?: boolean | undefined;
558
- }, {
559
- atomicStyles?: boolean | undefined;
560
- }>>;
171
+ }, z.core.$strip>>;
561
172
  redirects: z.ZodOptional<z.ZodArray<z.ZodObject<{
562
- old: z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>, string, string>, string, string>, string, string>, string, string>;
563
- new: z.ZodEffects<z.ZodString, string, string>;
564
- status: z.ZodOptional<z.ZodEnum<["301", "302"]>>;
565
- }, "strip", z.ZodTypeAny, {
566
- old: string;
567
- new: string;
568
- status?: "301" | "302" | undefined;
569
- }, {
570
- old: string;
571
- new: string;
572
- status?: "301" | "302" | undefined;
573
- }>, "many">>;
173
+ old: z.ZodString;
174
+ new: z.ZodString;
175
+ status: z.ZodOptional<z.ZodEnum<{
176
+ 301: "301";
177
+ 302: "302";
178
+ }>>;
179
+ }, z.core.$strip>>>;
574
180
  homePageId: z.ZodString;
575
181
  rootFolderId: z.ZodString;
576
182
  pages: z.ZodMap<z.ZodString, z.ZodObject<{
577
- path: z.ZodUnion<[z.ZodEffects<z.ZodString, "", string>, z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>, string, string>, string, string>, string, string>, string, string>, string, string>, string, string>, string, string>]>;
183
+ path: z.ZodUnion<readonly [z.ZodString & z.ZodType<"", string, z.core.$ZodTypeInternals<"", string>>, z.ZodString]>;
578
184
  id: z.ZodString;
579
- name: z.ZodEffects<z.ZodString, string, string>;
580
- title: z.ZodEffects<z.ZodString, string, string>;
581
- history: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
185
+ name: z.ZodString;
186
+ title: z.ZodString;
187
+ history: z.ZodOptional<z.ZodArray<z.ZodString>>;
582
188
  rootInstanceId: z.ZodString;
583
189
  systemDataSourceId: z.ZodOptional<z.ZodString>;
584
190
  meta: z.ZodObject<{
@@ -590,210 +196,44 @@ export declare const pages: z.ZodEffects<z.ZodObject<{
590
196
  socialImageUrl: z.ZodOptional<z.ZodString>;
591
197
  status: z.ZodOptional<z.ZodString>;
592
198
  redirect: z.ZodOptional<z.ZodString>;
593
- documentType: z.ZodOptional<z.ZodEnum<["html", "xml", "text"]>>;
199
+ documentType: z.ZodOptional<z.ZodEnum<{
200
+ html: "html";
201
+ xml: "xml";
202
+ text: "text";
203
+ }>>;
594
204
  content: z.ZodOptional<z.ZodString>;
595
- auth: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodObject<{
205
+ auth: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
596
206
  login: z.ZodString;
597
207
  password: z.ZodString;
598
208
  method: z.ZodLiteral<"basic">;
599
- }, "strip", z.ZodTypeAny, {
600
- method: "basic";
601
- login: string;
602
- password: string;
603
- }, {
604
- method: "basic";
605
- login: string;
606
- password: string;
607
- }>, {
608
- method: "basic";
609
- login: string;
610
- password: string;
611
- }, {
612
- method: "basic";
613
- login: string;
614
- password: string;
615
- }>, z.ZodEffects<z.ZodEffects<z.ZodObject<{
209
+ }, z.core.$strip>, z.ZodPipe<z.ZodObject<{
616
210
  login: z.ZodString;
617
211
  password: z.ZodString;
618
212
  type: z.ZodLiteral<"basic">;
619
- }, "strip", z.ZodTypeAny, {
620
- type: "basic";
621
- login: string;
622
- password: string;
623
- }, {
624
- type: "basic";
625
- login: string;
626
- password: string;
627
- }>, {
628
- type: "basic";
629
- login: string;
630
- password: string;
631
- }, {
632
- type: "basic";
633
- login: string;
634
- password: string;
635
- }>, {
213
+ }, z.core.$strip>, z.ZodTransform<{
636
214
  method: "basic";
637
215
  login: string;
638
216
  password: string;
639
217
  }, {
640
- type: "basic";
641
218
  login: string;
642
219
  password: string;
643
- }>]>>;
220
+ type: "basic";
221
+ }>>]>>;
644
222
  custom: z.ZodOptional<z.ZodArray<z.ZodObject<{
645
223
  property: z.ZodString;
646
224
  content: z.ZodString;
647
- }, "strip", z.ZodTypeAny, {
648
- content: string;
649
- property: string;
650
- }, {
651
- content: string;
652
- property: string;
653
- }>, "many">>;
654
- }, "strip", z.ZodTypeAny, {
655
- status?: string | undefined;
656
- custom?: {
657
- content: string;
658
- property: string;
659
- }[] | undefined;
660
- description?: string | undefined;
661
- auth?: {
662
- method: "basic";
663
- login: string;
664
- password: string;
665
- } | {
666
- method: "basic";
667
- login: string;
668
- password: string;
669
- } | undefined;
670
- content?: string | undefined;
671
- title?: string | undefined;
672
- excludePageFromSearch?: string | undefined;
673
- language?: string | undefined;
674
- socialImageAssetId?: string | undefined;
675
- socialImageUrl?: string | undefined;
676
- redirect?: string | undefined;
677
- documentType?: "html" | "xml" | "text" | undefined;
678
- }, {
679
- status?: string | undefined;
680
- custom?: {
681
- content: string;
682
- property: string;
683
- }[] | undefined;
684
- description?: string | undefined;
685
- auth?: {
686
- method: "basic";
687
- login: string;
688
- password: string;
689
- } | {
690
- type: "basic";
691
- login: string;
692
- password: string;
693
- } | undefined;
694
- content?: string | undefined;
695
- title?: string | undefined;
696
- excludePageFromSearch?: string | undefined;
697
- language?: string | undefined;
698
- socialImageAssetId?: string | undefined;
699
- socialImageUrl?: string | undefined;
700
- redirect?: string | undefined;
701
- documentType?: "html" | "xml" | "text" | undefined;
702
- }>;
225
+ }, z.core.$strip>>>;
226
+ }, z.core.$strip>;
703
227
  marketplace: z.ZodOptional<z.ZodObject<{
704
228
  include: z.ZodOptional<z.ZodBoolean>;
705
229
  category: z.ZodOptional<z.ZodString>;
706
230
  thumbnailAssetId: z.ZodOptional<z.ZodString>;
707
- }, "strip", z.ZodTypeAny, {
708
- include?: boolean | undefined;
709
- category?: string | undefined;
710
- thumbnailAssetId?: string | undefined;
711
- }, {
712
- include?: boolean | undefined;
713
- category?: string | undefined;
714
- thumbnailAssetId?: string | undefined;
715
- }>>;
716
- }, "strip", z.ZodTypeAny, {
717
- path: string;
718
- name: string;
719
- meta: {
720
- status?: string | undefined;
721
- custom?: {
722
- content: string;
723
- property: string;
724
- }[] | undefined;
725
- description?: string | undefined;
726
- auth?: {
727
- method: "basic";
728
- login: string;
729
- password: string;
730
- } | {
731
- method: "basic";
732
- login: string;
733
- password: string;
734
- } | undefined;
735
- content?: string | undefined;
736
- title?: string | undefined;
737
- excludePageFromSearch?: string | undefined;
738
- language?: string | undefined;
739
- socialImageAssetId?: string | undefined;
740
- socialImageUrl?: string | undefined;
741
- redirect?: string | undefined;
742
- documentType?: "html" | "xml" | "text" | undefined;
743
- };
744
- id: string;
745
- title: string;
746
- rootInstanceId: string;
747
- history?: string[] | undefined;
748
- systemDataSourceId?: string | undefined;
749
- marketplace?: {
750
- include?: boolean | undefined;
751
- category?: string | undefined;
752
- thumbnailAssetId?: string | undefined;
753
- } | undefined;
754
- }, {
755
- path: string;
756
- name: string;
757
- meta: {
758
- status?: string | undefined;
759
- custom?: {
760
- content: string;
761
- property: string;
762
- }[] | undefined;
763
- description?: string | undefined;
764
- auth?: {
765
- method: "basic";
766
- login: string;
767
- password: string;
768
- } | {
769
- type: "basic";
770
- login: string;
771
- password: string;
772
- } | undefined;
773
- content?: string | undefined;
774
- title?: string | undefined;
775
- excludePageFromSearch?: string | undefined;
776
- language?: string | undefined;
777
- socialImageAssetId?: string | undefined;
778
- socialImageUrl?: string | undefined;
779
- redirect?: string | undefined;
780
- documentType?: "html" | "xml" | "text" | undefined;
781
- };
782
- id: string;
783
- title: string;
784
- rootInstanceId: string;
785
- history?: string[] | undefined;
786
- systemDataSourceId?: string | undefined;
787
- marketplace?: {
788
- include?: boolean | undefined;
789
- category?: string | undefined;
790
- thumbnailAssetId?: string | undefined;
791
- } | undefined;
792
- }>>;
231
+ }, z.core.$strip>>;
232
+ }, z.core.$strip>>;
793
233
  pageTemplates: z.ZodOptional<z.ZodMap<z.ZodString, z.ZodObject<{
794
234
  id: z.ZodString;
795
- name: z.ZodEffects<z.ZodString, string, string>;
796
- title: z.ZodEffects<z.ZodString, string, string>;
235
+ name: z.ZodString;
236
+ title: z.ZodString;
797
237
  rootInstanceId: z.ZodString;
798
238
  systemDataSourceId: z.ZodOptional<z.ZodString>;
799
239
  meta: z.ZodObject<{
@@ -805,584 +245,40 @@ export declare const pages: z.ZodEffects<z.ZodObject<{
805
245
  socialImageUrl: z.ZodOptional<z.ZodString>;
806
246
  status: z.ZodOptional<z.ZodString>;
807
247
  redirect: z.ZodOptional<z.ZodString>;
808
- documentType: z.ZodOptional<z.ZodEnum<["html", "xml", "text"]>>;
248
+ documentType: z.ZodOptional<z.ZodEnum<{
249
+ html: "html";
250
+ xml: "xml";
251
+ text: "text";
252
+ }>>;
809
253
  content: z.ZodOptional<z.ZodString>;
810
- auth: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodObject<{
254
+ auth: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
811
255
  login: z.ZodString;
812
256
  password: z.ZodString;
813
257
  method: z.ZodLiteral<"basic">;
814
- }, "strip", z.ZodTypeAny, {
815
- method: "basic";
816
- login: string;
817
- password: string;
818
- }, {
819
- method: "basic";
820
- login: string;
821
- password: string;
822
- }>, {
823
- method: "basic";
824
- login: string;
825
- password: string;
826
- }, {
827
- method: "basic";
828
- login: string;
829
- password: string;
830
- }>, z.ZodEffects<z.ZodEffects<z.ZodObject<{
258
+ }, z.core.$strip>, z.ZodPipe<z.ZodObject<{
831
259
  login: z.ZodString;
832
260
  password: z.ZodString;
833
261
  type: z.ZodLiteral<"basic">;
834
- }, "strip", z.ZodTypeAny, {
835
- type: "basic";
836
- login: string;
837
- password: string;
838
- }, {
839
- type: "basic";
840
- login: string;
841
- password: string;
842
- }>, {
843
- type: "basic";
844
- login: string;
845
- password: string;
846
- }, {
847
- type: "basic";
848
- login: string;
849
- password: string;
850
- }>, {
262
+ }, z.core.$strip>, z.ZodTransform<{
851
263
  method: "basic";
852
264
  login: string;
853
265
  password: string;
854
266
  }, {
855
- type: "basic";
856
267
  login: string;
857
268
  password: string;
858
- }>]>>;
269
+ type: "basic";
270
+ }>>]>>;
859
271
  custom: z.ZodOptional<z.ZodArray<z.ZodObject<{
860
272
  property: z.ZodString;
861
273
  content: z.ZodString;
862
- }, "strip", z.ZodTypeAny, {
863
- content: string;
864
- property: string;
865
- }, {
866
- content: string;
867
- property: string;
868
- }>, "many">>;
869
- }, "strip", z.ZodTypeAny, {
870
- status?: string | undefined;
871
- custom?: {
872
- content: string;
873
- property: string;
874
- }[] | undefined;
875
- description?: string | undefined;
876
- auth?: {
877
- method: "basic";
878
- login: string;
879
- password: string;
880
- } | {
881
- method: "basic";
882
- login: string;
883
- password: string;
884
- } | undefined;
885
- content?: string | undefined;
886
- title?: string | undefined;
887
- excludePageFromSearch?: string | undefined;
888
- language?: string | undefined;
889
- socialImageAssetId?: string | undefined;
890
- socialImageUrl?: string | undefined;
891
- redirect?: string | undefined;
892
- documentType?: "html" | "xml" | "text" | undefined;
893
- }, {
894
- status?: string | undefined;
895
- custom?: {
896
- content: string;
897
- property: string;
898
- }[] | undefined;
899
- description?: string | undefined;
900
- auth?: {
901
- method: "basic";
902
- login: string;
903
- password: string;
904
- } | {
905
- type: "basic";
906
- login: string;
907
- password: string;
908
- } | undefined;
909
- content?: string | undefined;
910
- title?: string | undefined;
911
- excludePageFromSearch?: string | undefined;
912
- language?: string | undefined;
913
- socialImageAssetId?: string | undefined;
914
- socialImageUrl?: string | undefined;
915
- redirect?: string | undefined;
916
- documentType?: "html" | "xml" | "text" | undefined;
917
- }>;
918
- }, "strip", z.ZodTypeAny, {
919
- name: string;
920
- meta: {
921
- status?: string | undefined;
922
- custom?: {
923
- content: string;
924
- property: string;
925
- }[] | undefined;
926
- description?: string | undefined;
927
- auth?: {
928
- method: "basic";
929
- login: string;
930
- password: string;
931
- } | {
932
- method: "basic";
933
- login: string;
934
- password: string;
935
- } | undefined;
936
- content?: string | undefined;
937
- title?: string | undefined;
938
- excludePageFromSearch?: string | undefined;
939
- language?: string | undefined;
940
- socialImageAssetId?: string | undefined;
941
- socialImageUrl?: string | undefined;
942
- redirect?: string | undefined;
943
- documentType?: "html" | "xml" | "text" | undefined;
944
- };
945
- id: string;
946
- title: string;
947
- rootInstanceId: string;
948
- systemDataSourceId?: string | undefined;
949
- }, {
950
- name: string;
951
- meta: {
952
- status?: string | undefined;
953
- custom?: {
954
- content: string;
955
- property: string;
956
- }[] | undefined;
957
- description?: string | undefined;
958
- auth?: {
959
- method: "basic";
960
- login: string;
961
- password: string;
962
- } | {
963
- type: "basic";
964
- login: string;
965
- password: string;
966
- } | undefined;
967
- content?: string | undefined;
968
- title?: string | undefined;
969
- excludePageFromSearch?: string | undefined;
970
- language?: string | undefined;
971
- socialImageAssetId?: string | undefined;
972
- socialImageUrl?: string | undefined;
973
- redirect?: string | undefined;
974
- documentType?: "html" | "xml" | "text" | undefined;
975
- };
976
- id: string;
977
- title: string;
978
- rootInstanceId: string;
979
- systemDataSourceId?: string | undefined;
980
- }>>>;
981
- folders: z.ZodEffects<z.ZodMap<z.ZodString, z.ZodObject<{
274
+ }, z.core.$strip>>>;
275
+ }, z.core.$strip>;
276
+ }, z.core.$strip>>>;
277
+ folders: z.ZodMap<z.ZodString, z.ZodObject<{
982
278
  id: z.ZodString;
983
- name: z.ZodEffects<z.ZodString, string, string>;
984
- slug: z.ZodEffects<z.ZodString, string, string>;
985
- children: z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodString]>, "many">;
986
- }, "strip", z.ZodTypeAny, {
987
- name: string;
988
- id: string;
989
- slug: string;
990
- children: string[];
991
- }, {
992
- name: string;
993
- id: string;
994
- slug: string;
995
- children: string[];
996
- }>>, Map<string, {
997
- name: string;
998
- id: string;
999
- slug: string;
1000
- children: string[];
1001
- }>, Map<string, {
1002
- name: string;
1003
- id: string;
1004
- slug: string;
1005
- children: string[];
1006
- }>>;
1007
- }, "strip", z.ZodTypeAny, {
1008
- pages: Map<string, {
1009
- path: string;
1010
- name: string;
1011
- meta: {
1012
- status?: string | undefined;
1013
- custom?: {
1014
- content: string;
1015
- property: string;
1016
- }[] | undefined;
1017
- description?: string | undefined;
1018
- auth?: {
1019
- method: "basic";
1020
- login: string;
1021
- password: string;
1022
- } | {
1023
- method: "basic";
1024
- login: string;
1025
- password: string;
1026
- } | undefined;
1027
- content?: string | undefined;
1028
- title?: string | undefined;
1029
- excludePageFromSearch?: string | undefined;
1030
- language?: string | undefined;
1031
- socialImageAssetId?: string | undefined;
1032
- socialImageUrl?: string | undefined;
1033
- redirect?: string | undefined;
1034
- documentType?: "html" | "xml" | "text" | undefined;
1035
- };
1036
- id: string;
1037
- title: string;
1038
- rootInstanceId: string;
1039
- history?: string[] | undefined;
1040
- systemDataSourceId?: string | undefined;
1041
- marketplace?: {
1042
- include?: boolean | undefined;
1043
- category?: string | undefined;
1044
- thumbnailAssetId?: string | undefined;
1045
- } | undefined;
1046
- }>;
1047
- homePageId: string;
1048
- rootFolderId: string;
1049
- folders: Map<string, {
1050
- name: string;
1051
- id: string;
1052
- slug: string;
1053
- children: string[];
1054
- }>;
1055
- meta?: {
1056
- code?: string | undefined;
1057
- auth?: string | undefined;
1058
- siteName?: string | undefined;
1059
- contactEmail?: string | undefined;
1060
- faviconAssetId?: string | undefined;
1061
- } | undefined;
1062
- compiler?: {
1063
- atomicStyles?: boolean | undefined;
1064
- } | undefined;
1065
- redirects?: {
1066
- old: string;
1067
- new: string;
1068
- status?: "301" | "302" | undefined;
1069
- }[] | undefined;
1070
- pageTemplates?: Map<string, {
1071
- name: string;
1072
- meta: {
1073
- status?: string | undefined;
1074
- custom?: {
1075
- content: string;
1076
- property: string;
1077
- }[] | undefined;
1078
- description?: string | undefined;
1079
- auth?: {
1080
- method: "basic";
1081
- login: string;
1082
- password: string;
1083
- } | {
1084
- method: "basic";
1085
- login: string;
1086
- password: string;
1087
- } | undefined;
1088
- content?: string | undefined;
1089
- title?: string | undefined;
1090
- excludePageFromSearch?: string | undefined;
1091
- language?: string | undefined;
1092
- socialImageAssetId?: string | undefined;
1093
- socialImageUrl?: string | undefined;
1094
- redirect?: string | undefined;
1095
- documentType?: "html" | "xml" | "text" | undefined;
1096
- };
1097
- id: string;
1098
- title: string;
1099
- rootInstanceId: string;
1100
- systemDataSourceId?: string | undefined;
1101
- }> | undefined;
1102
- }, {
1103
- pages: Map<string, {
1104
- path: string;
1105
- name: string;
1106
- meta: {
1107
- status?: string | undefined;
1108
- custom?: {
1109
- content: string;
1110
- property: string;
1111
- }[] | undefined;
1112
- description?: string | undefined;
1113
- auth?: {
1114
- method: "basic";
1115
- login: string;
1116
- password: string;
1117
- } | {
1118
- type: "basic";
1119
- login: string;
1120
- password: string;
1121
- } | undefined;
1122
- content?: string | undefined;
1123
- title?: string | undefined;
1124
- excludePageFromSearch?: string | undefined;
1125
- language?: string | undefined;
1126
- socialImageAssetId?: string | undefined;
1127
- socialImageUrl?: string | undefined;
1128
- redirect?: string | undefined;
1129
- documentType?: "html" | "xml" | "text" | undefined;
1130
- };
1131
- id: string;
1132
- title: string;
1133
- rootInstanceId: string;
1134
- history?: string[] | undefined;
1135
- systemDataSourceId?: string | undefined;
1136
- marketplace?: {
1137
- include?: boolean | undefined;
1138
- category?: string | undefined;
1139
- thumbnailAssetId?: string | undefined;
1140
- } | undefined;
1141
- }>;
1142
- homePageId: string;
1143
- rootFolderId: string;
1144
- folders: Map<string, {
1145
- name: string;
1146
- id: string;
1147
- slug: string;
1148
- children: string[];
1149
- }>;
1150
- meta?: {
1151
- code?: string | undefined;
1152
- auth?: string | undefined;
1153
- siteName?: string | undefined;
1154
- contactEmail?: string | undefined;
1155
- faviconAssetId?: string | undefined;
1156
- } | undefined;
1157
- compiler?: {
1158
- atomicStyles?: boolean | undefined;
1159
- } | undefined;
1160
- redirects?: {
1161
- old: string;
1162
- new: string;
1163
- status?: "301" | "302" | undefined;
1164
- }[] | undefined;
1165
- pageTemplates?: Map<string, {
1166
- name: string;
1167
- meta: {
1168
- status?: string | undefined;
1169
- custom?: {
1170
- content: string;
1171
- property: string;
1172
- }[] | undefined;
1173
- description?: string | undefined;
1174
- auth?: {
1175
- method: "basic";
1176
- login: string;
1177
- password: string;
1178
- } | {
1179
- type: "basic";
1180
- login: string;
1181
- password: string;
1182
- } | undefined;
1183
- content?: string | undefined;
1184
- title?: string | undefined;
1185
- excludePageFromSearch?: string | undefined;
1186
- language?: string | undefined;
1187
- socialImageAssetId?: string | undefined;
1188
- socialImageUrl?: string | undefined;
1189
- redirect?: string | undefined;
1190
- documentType?: "html" | "xml" | "text" | undefined;
1191
- };
1192
- id: string;
1193
- title: string;
1194
- rootInstanceId: string;
1195
- systemDataSourceId?: string | undefined;
1196
- }> | undefined;
1197
- }>, {
1198
- pages: Map<string, {
1199
- path: string;
1200
- name: string;
1201
- meta: {
1202
- status?: string | undefined;
1203
- custom?: {
1204
- content: string;
1205
- property: string;
1206
- }[] | undefined;
1207
- description?: string | undefined;
1208
- auth?: {
1209
- method: "basic";
1210
- login: string;
1211
- password: string;
1212
- } | {
1213
- method: "basic";
1214
- login: string;
1215
- password: string;
1216
- } | undefined;
1217
- content?: string | undefined;
1218
- title?: string | undefined;
1219
- excludePageFromSearch?: string | undefined;
1220
- language?: string | undefined;
1221
- socialImageAssetId?: string | undefined;
1222
- socialImageUrl?: string | undefined;
1223
- redirect?: string | undefined;
1224
- documentType?: "html" | "xml" | "text" | undefined;
1225
- };
1226
- id: string;
1227
- title: string;
1228
- rootInstanceId: string;
1229
- history?: string[] | undefined;
1230
- systemDataSourceId?: string | undefined;
1231
- marketplace?: {
1232
- include?: boolean | undefined;
1233
- category?: string | undefined;
1234
- thumbnailAssetId?: string | undefined;
1235
- } | undefined;
1236
- }>;
1237
- homePageId: string;
1238
- rootFolderId: string;
1239
- folders: Map<string, {
1240
- name: string;
1241
- id: string;
1242
- slug: string;
1243
- children: string[];
1244
- }>;
1245
- meta?: {
1246
- code?: string | undefined;
1247
- auth?: string | undefined;
1248
- siteName?: string | undefined;
1249
- contactEmail?: string | undefined;
1250
- faviconAssetId?: string | undefined;
1251
- } | undefined;
1252
- compiler?: {
1253
- atomicStyles?: boolean | undefined;
1254
- } | undefined;
1255
- redirects?: {
1256
- old: string;
1257
- new: string;
1258
- status?: "301" | "302" | undefined;
1259
- }[] | undefined;
1260
- pageTemplates?: Map<string, {
1261
- name: string;
1262
- meta: {
1263
- status?: string | undefined;
1264
- custom?: {
1265
- content: string;
1266
- property: string;
1267
- }[] | undefined;
1268
- description?: string | undefined;
1269
- auth?: {
1270
- method: "basic";
1271
- login: string;
1272
- password: string;
1273
- } | {
1274
- method: "basic";
1275
- login: string;
1276
- password: string;
1277
- } | undefined;
1278
- content?: string | undefined;
1279
- title?: string | undefined;
1280
- excludePageFromSearch?: string | undefined;
1281
- language?: string | undefined;
1282
- socialImageAssetId?: string | undefined;
1283
- socialImageUrl?: string | undefined;
1284
- redirect?: string | undefined;
1285
- documentType?: "html" | "xml" | "text" | undefined;
1286
- };
1287
- id: string;
1288
- title: string;
1289
- rootInstanceId: string;
1290
- systemDataSourceId?: string | undefined;
1291
- }> | undefined;
1292
- }, {
1293
- pages: Map<string, {
1294
- path: string;
1295
- name: string;
1296
- meta: {
1297
- status?: string | undefined;
1298
- custom?: {
1299
- content: string;
1300
- property: string;
1301
- }[] | undefined;
1302
- description?: string | undefined;
1303
- auth?: {
1304
- method: "basic";
1305
- login: string;
1306
- password: string;
1307
- } | {
1308
- type: "basic";
1309
- login: string;
1310
- password: string;
1311
- } | undefined;
1312
- content?: string | undefined;
1313
- title?: string | undefined;
1314
- excludePageFromSearch?: string | undefined;
1315
- language?: string | undefined;
1316
- socialImageAssetId?: string | undefined;
1317
- socialImageUrl?: string | undefined;
1318
- redirect?: string | undefined;
1319
- documentType?: "html" | "xml" | "text" | undefined;
1320
- };
1321
- id: string;
1322
- title: string;
1323
- rootInstanceId: string;
1324
- history?: string[] | undefined;
1325
- systemDataSourceId?: string | undefined;
1326
- marketplace?: {
1327
- include?: boolean | undefined;
1328
- category?: string | undefined;
1329
- thumbnailAssetId?: string | undefined;
1330
- } | undefined;
1331
- }>;
1332
- homePageId: string;
1333
- rootFolderId: string;
1334
- folders: Map<string, {
1335
- name: string;
1336
- id: string;
1337
- slug: string;
1338
- children: string[];
1339
- }>;
1340
- meta?: {
1341
- code?: string | undefined;
1342
- auth?: string | undefined;
1343
- siteName?: string | undefined;
1344
- contactEmail?: string | undefined;
1345
- faviconAssetId?: string | undefined;
1346
- } | undefined;
1347
- compiler?: {
1348
- atomicStyles?: boolean | undefined;
1349
- } | undefined;
1350
- redirects?: {
1351
- old: string;
1352
- new: string;
1353
- status?: "301" | "302" | undefined;
1354
- }[] | undefined;
1355
- pageTemplates?: Map<string, {
1356
- name: string;
1357
- meta: {
1358
- status?: string | undefined;
1359
- custom?: {
1360
- content: string;
1361
- property: string;
1362
- }[] | undefined;
1363
- description?: string | undefined;
1364
- auth?: {
1365
- method: "basic";
1366
- login: string;
1367
- password: string;
1368
- } | {
1369
- type: "basic";
1370
- login: string;
1371
- password: string;
1372
- } | undefined;
1373
- content?: string | undefined;
1374
- title?: string | undefined;
1375
- excludePageFromSearch?: string | undefined;
1376
- language?: string | undefined;
1377
- socialImageAssetId?: string | undefined;
1378
- socialImageUrl?: string | undefined;
1379
- redirect?: string | undefined;
1380
- documentType?: "html" | "xml" | "text" | undefined;
1381
- };
1382
- id: string;
1383
- title: string;
1384
- rootInstanceId: string;
1385
- systemDataSourceId?: string | undefined;
1386
- }> | undefined;
1387
- }>;
279
+ name: z.ZodString;
280
+ slug: z.ZodString;
281
+ children: z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodString]>>;
282
+ }, z.core.$strip>>;
283
+ }, z.core.$strip>;
1388
284
  export type Pages = z.infer<typeof pages>;