@webstudio-is/sdk 0.267.0 → 0.269.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/index.js +370 -41
- package/lib/link-utils.js +27 -0
- package/lib/types/expression.d.ts +8 -1
- package/lib/types/index.d.ts +1 -0
- package/lib/types/instances-utils.d.ts +8 -0
- package/lib/types/link-utils.d.ts +19 -0
- package/lib/types/page-meta-generator.d.ts +1 -0
- package/lib/types/page-utils.d.ts +22 -3
- package/lib/types/schema/component-meta.d.ts +49 -4
- package/lib/types/schema/pages.d.ts +824 -39
- package/lib/types/schema/prop-meta.d.ts +27 -0
- package/package.json +13 -7
|
@@ -27,7 +27,57 @@ export declare const Folder: z.ZodObject<{
|
|
|
27
27
|
export type Folder = z.infer<typeof Folder>;
|
|
28
28
|
export declare const PageName: z.ZodEffects<z.ZodString, string, string>;
|
|
29
29
|
export declare const PageTitle: z.ZodEffects<z.ZodString, string, string>;
|
|
30
|
-
export declare const documentTypes: readonly ["html", "xml"];
|
|
30
|
+
export declare const documentTypes: readonly ["html", "xml", "text"];
|
|
31
|
+
export declare const PageAuth: z.ZodUnion<[z.ZodEffects<z.ZodObject<{
|
|
32
|
+
login: z.ZodString;
|
|
33
|
+
password: z.ZodString;
|
|
34
|
+
method: z.ZodLiteral<"basic">;
|
|
35
|
+
}, "strip", z.ZodTypeAny, {
|
|
36
|
+
login: string;
|
|
37
|
+
password: string;
|
|
38
|
+
method: "basic";
|
|
39
|
+
}, {
|
|
40
|
+
login: string;
|
|
41
|
+
password: string;
|
|
42
|
+
method: "basic";
|
|
43
|
+
}>, {
|
|
44
|
+
login: string;
|
|
45
|
+
password: string;
|
|
46
|
+
method: "basic";
|
|
47
|
+
}, {
|
|
48
|
+
login: string;
|
|
49
|
+
password: string;
|
|
50
|
+
method: "basic";
|
|
51
|
+
}>, z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
52
|
+
login: z.ZodString;
|
|
53
|
+
password: z.ZodString;
|
|
54
|
+
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
|
+
}>, {
|
|
72
|
+
method: "basic";
|
|
73
|
+
login: string;
|
|
74
|
+
password: string;
|
|
75
|
+
}, {
|
|
76
|
+
type: "basic";
|
|
77
|
+
login: string;
|
|
78
|
+
password: string;
|
|
79
|
+
}>]>;
|
|
80
|
+
export type PageAuth = z.infer<typeof PageAuth>;
|
|
31
81
|
export declare const HomePagePath: z.ZodEffects<z.ZodString, "", string>;
|
|
32
82
|
export declare const OldPagePath: 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>;
|
|
33
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>;
|
|
@@ -48,45 +98,115 @@ declare const Page: z.ZodObject<{
|
|
|
48
98
|
socialImageUrl: z.ZodOptional<z.ZodString>;
|
|
49
99
|
status: z.ZodOptional<z.ZodString>;
|
|
50
100
|
redirect: z.ZodOptional<z.ZodString>;
|
|
51
|
-
documentType: z.ZodOptional<z.ZodEnum<["html", "xml"]>>;
|
|
101
|
+
documentType: z.ZodOptional<z.ZodEnum<["html", "xml", "text"]>>;
|
|
102
|
+
content: z.ZodOptional<z.ZodString>;
|
|
103
|
+
auth: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodObject<{
|
|
104
|
+
login: z.ZodString;
|
|
105
|
+
password: z.ZodString;
|
|
106
|
+
method: z.ZodLiteral<"basic">;
|
|
107
|
+
}, "strip", z.ZodTypeAny, {
|
|
108
|
+
login: string;
|
|
109
|
+
password: string;
|
|
110
|
+
method: "basic";
|
|
111
|
+
}, {
|
|
112
|
+
login: string;
|
|
113
|
+
password: string;
|
|
114
|
+
method: "basic";
|
|
115
|
+
}>, {
|
|
116
|
+
login: string;
|
|
117
|
+
password: string;
|
|
118
|
+
method: "basic";
|
|
119
|
+
}, {
|
|
120
|
+
login: string;
|
|
121
|
+
password: string;
|
|
122
|
+
method: "basic";
|
|
123
|
+
}>, z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
124
|
+
login: z.ZodString;
|
|
125
|
+
password: z.ZodString;
|
|
126
|
+
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
|
+
}>, {
|
|
144
|
+
method: "basic";
|
|
145
|
+
login: string;
|
|
146
|
+
password: string;
|
|
147
|
+
}, {
|
|
148
|
+
type: "basic";
|
|
149
|
+
login: string;
|
|
150
|
+
password: string;
|
|
151
|
+
}>]>>;
|
|
52
152
|
custom: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
53
153
|
property: z.ZodString;
|
|
54
154
|
content: z.ZodString;
|
|
55
155
|
}, "strip", z.ZodTypeAny, {
|
|
56
|
-
property: string;
|
|
57
156
|
content: string;
|
|
58
|
-
}, {
|
|
59
157
|
property: string;
|
|
158
|
+
}, {
|
|
60
159
|
content: string;
|
|
160
|
+
property: string;
|
|
61
161
|
}>, "many">>;
|
|
62
162
|
}, "strip", z.ZodTypeAny, {
|
|
63
163
|
status?: string | undefined;
|
|
64
164
|
custom?: {
|
|
65
|
-
property: string;
|
|
66
165
|
content: string;
|
|
166
|
+
property: string;
|
|
67
167
|
}[] | undefined;
|
|
68
168
|
description?: string | undefined;
|
|
169
|
+
auth?: {
|
|
170
|
+
login: string;
|
|
171
|
+
password: string;
|
|
172
|
+
method: "basic";
|
|
173
|
+
} | {
|
|
174
|
+
method: "basic";
|
|
175
|
+
login: string;
|
|
176
|
+
password: string;
|
|
177
|
+
} | undefined;
|
|
178
|
+
content?: string | undefined;
|
|
69
179
|
title?: string | undefined;
|
|
70
180
|
excludePageFromSearch?: string | undefined;
|
|
71
181
|
language?: string | undefined;
|
|
72
182
|
socialImageAssetId?: string | undefined;
|
|
73
183
|
socialImageUrl?: string | undefined;
|
|
74
184
|
redirect?: string | undefined;
|
|
75
|
-
documentType?: "html" | "xml" | undefined;
|
|
185
|
+
documentType?: "html" | "xml" | "text" | undefined;
|
|
76
186
|
}, {
|
|
77
187
|
status?: string | undefined;
|
|
78
188
|
custom?: {
|
|
79
|
-
property: string;
|
|
80
189
|
content: string;
|
|
190
|
+
property: string;
|
|
81
191
|
}[] | undefined;
|
|
82
192
|
description?: string | undefined;
|
|
193
|
+
auth?: {
|
|
194
|
+
login: string;
|
|
195
|
+
password: string;
|
|
196
|
+
method: "basic";
|
|
197
|
+
} | {
|
|
198
|
+
type: "basic";
|
|
199
|
+
login: string;
|
|
200
|
+
password: string;
|
|
201
|
+
} | undefined;
|
|
202
|
+
content?: string | undefined;
|
|
83
203
|
title?: string | undefined;
|
|
84
204
|
excludePageFromSearch?: string | undefined;
|
|
85
205
|
language?: string | undefined;
|
|
86
206
|
socialImageAssetId?: string | undefined;
|
|
87
207
|
socialImageUrl?: string | undefined;
|
|
88
208
|
redirect?: string | undefined;
|
|
89
|
-
documentType?: "html" | "xml" | undefined;
|
|
209
|
+
documentType?: "html" | "xml" | "text" | undefined;
|
|
90
210
|
}>;
|
|
91
211
|
marketplace: z.ZodOptional<z.ZodObject<{
|
|
92
212
|
include: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -107,17 +227,27 @@ declare const Page: z.ZodObject<{
|
|
|
107
227
|
meta: {
|
|
108
228
|
status?: string | undefined;
|
|
109
229
|
custom?: {
|
|
110
|
-
property: string;
|
|
111
230
|
content: string;
|
|
231
|
+
property: string;
|
|
112
232
|
}[] | undefined;
|
|
113
233
|
description?: string | undefined;
|
|
234
|
+
auth?: {
|
|
235
|
+
login: string;
|
|
236
|
+
password: string;
|
|
237
|
+
method: "basic";
|
|
238
|
+
} | {
|
|
239
|
+
method: "basic";
|
|
240
|
+
login: string;
|
|
241
|
+
password: string;
|
|
242
|
+
} | undefined;
|
|
243
|
+
content?: string | undefined;
|
|
114
244
|
title?: string | undefined;
|
|
115
245
|
excludePageFromSearch?: string | undefined;
|
|
116
246
|
language?: string | undefined;
|
|
117
247
|
socialImageAssetId?: string | undefined;
|
|
118
248
|
socialImageUrl?: string | undefined;
|
|
119
249
|
redirect?: string | undefined;
|
|
120
|
-
documentType?: "html" | "xml" | undefined;
|
|
250
|
+
documentType?: "html" | "xml" | "text" | undefined;
|
|
121
251
|
};
|
|
122
252
|
id: string;
|
|
123
253
|
title: string;
|
|
@@ -135,17 +265,27 @@ declare const Page: z.ZodObject<{
|
|
|
135
265
|
meta: {
|
|
136
266
|
status?: string | undefined;
|
|
137
267
|
custom?: {
|
|
138
|
-
property: string;
|
|
139
268
|
content: string;
|
|
269
|
+
property: string;
|
|
140
270
|
}[] | undefined;
|
|
141
271
|
description?: string | undefined;
|
|
272
|
+
auth?: {
|
|
273
|
+
login: string;
|
|
274
|
+
password: string;
|
|
275
|
+
method: "basic";
|
|
276
|
+
} | {
|
|
277
|
+
type: "basic";
|
|
278
|
+
login: string;
|
|
279
|
+
password: string;
|
|
280
|
+
} | undefined;
|
|
281
|
+
content?: string | undefined;
|
|
142
282
|
title?: string | undefined;
|
|
143
283
|
excludePageFromSearch?: string | undefined;
|
|
144
284
|
language?: string | undefined;
|
|
145
285
|
socialImageAssetId?: string | undefined;
|
|
146
286
|
socialImageUrl?: string | undefined;
|
|
147
287
|
redirect?: string | undefined;
|
|
148
|
-
documentType?: "html" | "xml" | undefined;
|
|
288
|
+
documentType?: "html" | "xml" | "text" | undefined;
|
|
149
289
|
};
|
|
150
290
|
id: string;
|
|
151
291
|
title: string;
|
|
@@ -158,18 +298,210 @@ declare const Page: z.ZodObject<{
|
|
|
158
298
|
thumbnailAssetId?: string | undefined;
|
|
159
299
|
} | undefined;
|
|
160
300
|
}>;
|
|
301
|
+
export declare const PageTemplate: z.ZodObject<{
|
|
302
|
+
id: z.ZodString;
|
|
303
|
+
name: z.ZodEffects<z.ZodString, string, string>;
|
|
304
|
+
title: z.ZodEffects<z.ZodString, string, string>;
|
|
305
|
+
rootInstanceId: z.ZodString;
|
|
306
|
+
systemDataSourceId: z.ZodOptional<z.ZodString>;
|
|
307
|
+
meta: z.ZodObject<{
|
|
308
|
+
description: z.ZodOptional<z.ZodString>;
|
|
309
|
+
title: z.ZodOptional<z.ZodString>;
|
|
310
|
+
excludePageFromSearch: z.ZodOptional<z.ZodString>;
|
|
311
|
+
language: z.ZodOptional<z.ZodString>;
|
|
312
|
+
socialImageAssetId: z.ZodOptional<z.ZodString>;
|
|
313
|
+
socialImageUrl: z.ZodOptional<z.ZodString>;
|
|
314
|
+
status: z.ZodOptional<z.ZodString>;
|
|
315
|
+
redirect: z.ZodOptional<z.ZodString>;
|
|
316
|
+
documentType: z.ZodOptional<z.ZodEnum<["html", "xml", "text"]>>;
|
|
317
|
+
content: z.ZodOptional<z.ZodString>;
|
|
318
|
+
auth: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodObject<{
|
|
319
|
+
login: z.ZodString;
|
|
320
|
+
password: z.ZodString;
|
|
321
|
+
method: z.ZodLiteral<"basic">;
|
|
322
|
+
}, "strip", z.ZodTypeAny, {
|
|
323
|
+
login: string;
|
|
324
|
+
password: string;
|
|
325
|
+
method: "basic";
|
|
326
|
+
}, {
|
|
327
|
+
login: string;
|
|
328
|
+
password: string;
|
|
329
|
+
method: "basic";
|
|
330
|
+
}>, {
|
|
331
|
+
login: string;
|
|
332
|
+
password: string;
|
|
333
|
+
method: "basic";
|
|
334
|
+
}, {
|
|
335
|
+
login: string;
|
|
336
|
+
password: string;
|
|
337
|
+
method: "basic";
|
|
338
|
+
}>, z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
339
|
+
login: z.ZodString;
|
|
340
|
+
password: z.ZodString;
|
|
341
|
+
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
|
+
}>, {
|
|
359
|
+
method: "basic";
|
|
360
|
+
login: string;
|
|
361
|
+
password: string;
|
|
362
|
+
}, {
|
|
363
|
+
type: "basic";
|
|
364
|
+
login: string;
|
|
365
|
+
password: string;
|
|
366
|
+
}>]>>;
|
|
367
|
+
custom: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
368
|
+
property: z.ZodString;
|
|
369
|
+
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
|
+
login: string;
|
|
386
|
+
password: string;
|
|
387
|
+
method: "basic";
|
|
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
|
+
login: string;
|
|
410
|
+
password: string;
|
|
411
|
+
method: "basic";
|
|
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
|
+
login: string;
|
|
437
|
+
password: string;
|
|
438
|
+
method: "basic";
|
|
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
|
+
login: string;
|
|
468
|
+
password: string;
|
|
469
|
+
method: "basic";
|
|
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
|
+
}>;
|
|
489
|
+
export type PageTemplate = z.infer<typeof PageTemplate>;
|
|
161
490
|
declare const ProjectMeta: z.ZodObject<{
|
|
162
491
|
siteName: z.ZodOptional<z.ZodString>;
|
|
163
492
|
contactEmail: z.ZodOptional<z.ZodString>;
|
|
164
493
|
faviconAssetId: z.ZodOptional<z.ZodString>;
|
|
165
494
|
code: z.ZodOptional<z.ZodString>;
|
|
495
|
+
auth: z.ZodOptional<z.ZodString>;
|
|
166
496
|
}, "strip", z.ZodTypeAny, {
|
|
167
497
|
code?: string | undefined;
|
|
498
|
+
auth?: string | undefined;
|
|
168
499
|
siteName?: string | undefined;
|
|
169
500
|
contactEmail?: string | undefined;
|
|
170
501
|
faviconAssetId?: string | undefined;
|
|
171
502
|
}, {
|
|
172
503
|
code?: string | undefined;
|
|
504
|
+
auth?: string | undefined;
|
|
173
505
|
siteName?: string | undefined;
|
|
174
506
|
contactEmail?: string | undefined;
|
|
175
507
|
faviconAssetId?: string | undefined;
|
|
@@ -205,13 +537,16 @@ export declare const Pages: z.ZodEffects<z.ZodObject<{
|
|
|
205
537
|
contactEmail: z.ZodOptional<z.ZodString>;
|
|
206
538
|
faviconAssetId: z.ZodOptional<z.ZodString>;
|
|
207
539
|
code: z.ZodOptional<z.ZodString>;
|
|
540
|
+
auth: z.ZodOptional<z.ZodString>;
|
|
208
541
|
}, "strip", z.ZodTypeAny, {
|
|
209
542
|
code?: string | undefined;
|
|
543
|
+
auth?: string | undefined;
|
|
210
544
|
siteName?: string | undefined;
|
|
211
545
|
contactEmail?: string | undefined;
|
|
212
546
|
faviconAssetId?: string | undefined;
|
|
213
547
|
}, {
|
|
214
548
|
code?: string | undefined;
|
|
549
|
+
auth?: string | undefined;
|
|
215
550
|
siteName?: string | undefined;
|
|
216
551
|
contactEmail?: string | undefined;
|
|
217
552
|
faviconAssetId?: string | undefined;
|
|
@@ -255,45 +590,115 @@ export declare const Pages: z.ZodEffects<z.ZodObject<{
|
|
|
255
590
|
socialImageUrl: z.ZodOptional<z.ZodString>;
|
|
256
591
|
status: z.ZodOptional<z.ZodString>;
|
|
257
592
|
redirect: z.ZodOptional<z.ZodString>;
|
|
258
|
-
documentType: z.ZodOptional<z.ZodEnum<["html", "xml"]>>;
|
|
593
|
+
documentType: z.ZodOptional<z.ZodEnum<["html", "xml", "text"]>>;
|
|
594
|
+
content: z.ZodOptional<z.ZodString>;
|
|
595
|
+
auth: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodObject<{
|
|
596
|
+
login: z.ZodString;
|
|
597
|
+
password: z.ZodString;
|
|
598
|
+
method: z.ZodLiteral<"basic">;
|
|
599
|
+
}, "strip", z.ZodTypeAny, {
|
|
600
|
+
login: string;
|
|
601
|
+
password: string;
|
|
602
|
+
method: "basic";
|
|
603
|
+
}, {
|
|
604
|
+
login: string;
|
|
605
|
+
password: string;
|
|
606
|
+
method: "basic";
|
|
607
|
+
}>, {
|
|
608
|
+
login: string;
|
|
609
|
+
password: string;
|
|
610
|
+
method: "basic";
|
|
611
|
+
}, {
|
|
612
|
+
login: string;
|
|
613
|
+
password: string;
|
|
614
|
+
method: "basic";
|
|
615
|
+
}>, z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
616
|
+
login: z.ZodString;
|
|
617
|
+
password: z.ZodString;
|
|
618
|
+
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
|
+
}>, {
|
|
636
|
+
method: "basic";
|
|
637
|
+
login: string;
|
|
638
|
+
password: string;
|
|
639
|
+
}, {
|
|
640
|
+
type: "basic";
|
|
641
|
+
login: string;
|
|
642
|
+
password: string;
|
|
643
|
+
}>]>>;
|
|
259
644
|
custom: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
260
645
|
property: z.ZodString;
|
|
261
646
|
content: z.ZodString;
|
|
262
647
|
}, "strip", z.ZodTypeAny, {
|
|
263
|
-
property: string;
|
|
264
648
|
content: string;
|
|
265
|
-
}, {
|
|
266
649
|
property: string;
|
|
650
|
+
}, {
|
|
267
651
|
content: string;
|
|
652
|
+
property: string;
|
|
268
653
|
}>, "many">>;
|
|
269
654
|
}, "strip", z.ZodTypeAny, {
|
|
270
655
|
status?: string | undefined;
|
|
271
656
|
custom?: {
|
|
272
|
-
property: string;
|
|
273
657
|
content: string;
|
|
658
|
+
property: string;
|
|
274
659
|
}[] | undefined;
|
|
275
660
|
description?: string | undefined;
|
|
661
|
+
auth?: {
|
|
662
|
+
login: string;
|
|
663
|
+
password: string;
|
|
664
|
+
method: "basic";
|
|
665
|
+
} | {
|
|
666
|
+
method: "basic";
|
|
667
|
+
login: string;
|
|
668
|
+
password: string;
|
|
669
|
+
} | undefined;
|
|
670
|
+
content?: string | undefined;
|
|
276
671
|
title?: string | undefined;
|
|
277
672
|
excludePageFromSearch?: string | undefined;
|
|
278
673
|
language?: string | undefined;
|
|
279
674
|
socialImageAssetId?: string | undefined;
|
|
280
675
|
socialImageUrl?: string | undefined;
|
|
281
676
|
redirect?: string | undefined;
|
|
282
|
-
documentType?: "html" | "xml" | undefined;
|
|
677
|
+
documentType?: "html" | "xml" | "text" | undefined;
|
|
283
678
|
}, {
|
|
284
679
|
status?: string | undefined;
|
|
285
680
|
custom?: {
|
|
286
|
-
property: string;
|
|
287
681
|
content: string;
|
|
682
|
+
property: string;
|
|
288
683
|
}[] | undefined;
|
|
289
684
|
description?: string | undefined;
|
|
685
|
+
auth?: {
|
|
686
|
+
login: string;
|
|
687
|
+
password: string;
|
|
688
|
+
method: "basic";
|
|
689
|
+
} | {
|
|
690
|
+
type: "basic";
|
|
691
|
+
login: string;
|
|
692
|
+
password: string;
|
|
693
|
+
} | undefined;
|
|
694
|
+
content?: string | undefined;
|
|
290
695
|
title?: string | undefined;
|
|
291
696
|
excludePageFromSearch?: string | undefined;
|
|
292
697
|
language?: string | undefined;
|
|
293
698
|
socialImageAssetId?: string | undefined;
|
|
294
699
|
socialImageUrl?: string | undefined;
|
|
295
700
|
redirect?: string | undefined;
|
|
296
|
-
documentType?: "html" | "xml" | undefined;
|
|
701
|
+
documentType?: "html" | "xml" | "text" | undefined;
|
|
297
702
|
}>;
|
|
298
703
|
marketplace: z.ZodOptional<z.ZodObject<{
|
|
299
704
|
include: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -314,17 +719,27 @@ export declare const Pages: z.ZodEffects<z.ZodObject<{
|
|
|
314
719
|
meta: {
|
|
315
720
|
status?: string | undefined;
|
|
316
721
|
custom?: {
|
|
317
|
-
property: string;
|
|
318
722
|
content: string;
|
|
723
|
+
property: string;
|
|
319
724
|
}[] | undefined;
|
|
320
725
|
description?: string | undefined;
|
|
726
|
+
auth?: {
|
|
727
|
+
login: string;
|
|
728
|
+
password: string;
|
|
729
|
+
method: "basic";
|
|
730
|
+
} | {
|
|
731
|
+
method: "basic";
|
|
732
|
+
login: string;
|
|
733
|
+
password: string;
|
|
734
|
+
} | undefined;
|
|
735
|
+
content?: string | undefined;
|
|
321
736
|
title?: string | undefined;
|
|
322
737
|
excludePageFromSearch?: string | undefined;
|
|
323
738
|
language?: string | undefined;
|
|
324
739
|
socialImageAssetId?: string | undefined;
|
|
325
740
|
socialImageUrl?: string | undefined;
|
|
326
741
|
redirect?: string | undefined;
|
|
327
|
-
documentType?: "html" | "xml" | undefined;
|
|
742
|
+
documentType?: "html" | "xml" | "text" | undefined;
|
|
328
743
|
};
|
|
329
744
|
id: string;
|
|
330
745
|
title: string;
|
|
@@ -342,17 +757,27 @@ export declare const Pages: z.ZodEffects<z.ZodObject<{
|
|
|
342
757
|
meta: {
|
|
343
758
|
status?: string | undefined;
|
|
344
759
|
custom?: {
|
|
345
|
-
property: string;
|
|
346
760
|
content: string;
|
|
761
|
+
property: string;
|
|
347
762
|
}[] | undefined;
|
|
348
763
|
description?: string | undefined;
|
|
764
|
+
auth?: {
|
|
765
|
+
login: string;
|
|
766
|
+
password: string;
|
|
767
|
+
method: "basic";
|
|
768
|
+
} | {
|
|
769
|
+
type: "basic";
|
|
770
|
+
login: string;
|
|
771
|
+
password: string;
|
|
772
|
+
} | undefined;
|
|
773
|
+
content?: string | undefined;
|
|
349
774
|
title?: string | undefined;
|
|
350
775
|
excludePageFromSearch?: string | undefined;
|
|
351
776
|
language?: string | undefined;
|
|
352
777
|
socialImageAssetId?: string | undefined;
|
|
353
778
|
socialImageUrl?: string | undefined;
|
|
354
779
|
redirect?: string | undefined;
|
|
355
|
-
documentType?: "html" | "xml" | undefined;
|
|
780
|
+
documentType?: "html" | "xml" | "text" | undefined;
|
|
356
781
|
};
|
|
357
782
|
id: string;
|
|
358
783
|
title: string;
|
|
@@ -365,6 +790,194 @@ export declare const Pages: z.ZodEffects<z.ZodObject<{
|
|
|
365
790
|
thumbnailAssetId?: string | undefined;
|
|
366
791
|
} | undefined;
|
|
367
792
|
}>>;
|
|
793
|
+
pageTemplates: z.ZodOptional<z.ZodMap<z.ZodString, z.ZodObject<{
|
|
794
|
+
id: z.ZodString;
|
|
795
|
+
name: z.ZodEffects<z.ZodString, string, string>;
|
|
796
|
+
title: z.ZodEffects<z.ZodString, string, string>;
|
|
797
|
+
rootInstanceId: z.ZodString;
|
|
798
|
+
systemDataSourceId: z.ZodOptional<z.ZodString>;
|
|
799
|
+
meta: z.ZodObject<{
|
|
800
|
+
description: z.ZodOptional<z.ZodString>;
|
|
801
|
+
title: z.ZodOptional<z.ZodString>;
|
|
802
|
+
excludePageFromSearch: z.ZodOptional<z.ZodString>;
|
|
803
|
+
language: z.ZodOptional<z.ZodString>;
|
|
804
|
+
socialImageAssetId: z.ZodOptional<z.ZodString>;
|
|
805
|
+
socialImageUrl: z.ZodOptional<z.ZodString>;
|
|
806
|
+
status: z.ZodOptional<z.ZodString>;
|
|
807
|
+
redirect: z.ZodOptional<z.ZodString>;
|
|
808
|
+
documentType: z.ZodOptional<z.ZodEnum<["html", "xml", "text"]>>;
|
|
809
|
+
content: z.ZodOptional<z.ZodString>;
|
|
810
|
+
auth: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodObject<{
|
|
811
|
+
login: z.ZodString;
|
|
812
|
+
password: z.ZodString;
|
|
813
|
+
method: z.ZodLiteral<"basic">;
|
|
814
|
+
}, "strip", z.ZodTypeAny, {
|
|
815
|
+
login: string;
|
|
816
|
+
password: string;
|
|
817
|
+
method: "basic";
|
|
818
|
+
}, {
|
|
819
|
+
login: string;
|
|
820
|
+
password: string;
|
|
821
|
+
method: "basic";
|
|
822
|
+
}>, {
|
|
823
|
+
login: string;
|
|
824
|
+
password: string;
|
|
825
|
+
method: "basic";
|
|
826
|
+
}, {
|
|
827
|
+
login: string;
|
|
828
|
+
password: string;
|
|
829
|
+
method: "basic";
|
|
830
|
+
}>, z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
831
|
+
login: z.ZodString;
|
|
832
|
+
password: z.ZodString;
|
|
833
|
+
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
|
+
}>, {
|
|
851
|
+
method: "basic";
|
|
852
|
+
login: string;
|
|
853
|
+
password: string;
|
|
854
|
+
}, {
|
|
855
|
+
type: "basic";
|
|
856
|
+
login: string;
|
|
857
|
+
password: string;
|
|
858
|
+
}>]>>;
|
|
859
|
+
custom: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
860
|
+
property: z.ZodString;
|
|
861
|
+
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
|
+
login: string;
|
|
878
|
+
password: string;
|
|
879
|
+
method: "basic";
|
|
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
|
+
login: string;
|
|
902
|
+
password: string;
|
|
903
|
+
method: "basic";
|
|
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
|
+
login: string;
|
|
929
|
+
password: string;
|
|
930
|
+
method: "basic";
|
|
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
|
+
login: string;
|
|
960
|
+
password: string;
|
|
961
|
+
method: "basic";
|
|
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
|
+
}>>>;
|
|
368
981
|
folders: z.ZodEffects<z.ZodMap<z.ZodString, z.ZodObject<{
|
|
369
982
|
id: z.ZodString;
|
|
370
983
|
name: z.ZodEffects<z.ZodString, string, string>;
|
|
@@ -392,25 +1005,33 @@ export declare const Pages: z.ZodEffects<z.ZodObject<{
|
|
|
392
1005
|
children: string[];
|
|
393
1006
|
}>>;
|
|
394
1007
|
}, "strip", z.ZodTypeAny, {
|
|
395
|
-
homePageId: string;
|
|
396
|
-
rootFolderId: string;
|
|
397
1008
|
pages: Map<string, {
|
|
398
1009
|
path: string;
|
|
399
1010
|
name: string;
|
|
400
1011
|
meta: {
|
|
401
1012
|
status?: string | undefined;
|
|
402
1013
|
custom?: {
|
|
403
|
-
property: string;
|
|
404
1014
|
content: string;
|
|
1015
|
+
property: string;
|
|
405
1016
|
}[] | undefined;
|
|
406
1017
|
description?: string | undefined;
|
|
1018
|
+
auth?: {
|
|
1019
|
+
login: string;
|
|
1020
|
+
password: string;
|
|
1021
|
+
method: "basic";
|
|
1022
|
+
} | {
|
|
1023
|
+
method: "basic";
|
|
1024
|
+
login: string;
|
|
1025
|
+
password: string;
|
|
1026
|
+
} | undefined;
|
|
1027
|
+
content?: string | undefined;
|
|
407
1028
|
title?: string | undefined;
|
|
408
1029
|
excludePageFromSearch?: string | undefined;
|
|
409
1030
|
language?: string | undefined;
|
|
410
1031
|
socialImageAssetId?: string | undefined;
|
|
411
1032
|
socialImageUrl?: string | undefined;
|
|
412
1033
|
redirect?: string | undefined;
|
|
413
|
-
documentType?: "html" | "xml" | undefined;
|
|
1034
|
+
documentType?: "html" | "xml" | "text" | undefined;
|
|
414
1035
|
};
|
|
415
1036
|
id: string;
|
|
416
1037
|
title: string;
|
|
@@ -423,6 +1044,8 @@ export declare const Pages: z.ZodEffects<z.ZodObject<{
|
|
|
423
1044
|
thumbnailAssetId?: string | undefined;
|
|
424
1045
|
} | undefined;
|
|
425
1046
|
}>;
|
|
1047
|
+
homePageId: string;
|
|
1048
|
+
rootFolderId: string;
|
|
426
1049
|
folders: Map<string, {
|
|
427
1050
|
name: string;
|
|
428
1051
|
id: string;
|
|
@@ -431,6 +1054,7 @@ export declare const Pages: z.ZodEffects<z.ZodObject<{
|
|
|
431
1054
|
}>;
|
|
432
1055
|
meta?: {
|
|
433
1056
|
code?: string | undefined;
|
|
1057
|
+
auth?: string | undefined;
|
|
434
1058
|
siteName?: string | undefined;
|
|
435
1059
|
contactEmail?: string | undefined;
|
|
436
1060
|
faviconAssetId?: string | undefined;
|
|
@@ -443,26 +1067,66 @@ export declare const Pages: z.ZodEffects<z.ZodObject<{
|
|
|
443
1067
|
new: string;
|
|
444
1068
|
status?: "301" | "302" | undefined;
|
|
445
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
|
+
login: string;
|
|
1081
|
+
password: string;
|
|
1082
|
+
method: "basic";
|
|
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;
|
|
446
1102
|
}, {
|
|
447
|
-
homePageId: string;
|
|
448
|
-
rootFolderId: string;
|
|
449
1103
|
pages: Map<string, {
|
|
450
1104
|
path: string;
|
|
451
1105
|
name: string;
|
|
452
1106
|
meta: {
|
|
453
1107
|
status?: string | undefined;
|
|
454
1108
|
custom?: {
|
|
455
|
-
property: string;
|
|
456
1109
|
content: string;
|
|
1110
|
+
property: string;
|
|
457
1111
|
}[] | undefined;
|
|
458
1112
|
description?: string | undefined;
|
|
1113
|
+
auth?: {
|
|
1114
|
+
login: string;
|
|
1115
|
+
password: string;
|
|
1116
|
+
method: "basic";
|
|
1117
|
+
} | {
|
|
1118
|
+
type: "basic";
|
|
1119
|
+
login: string;
|
|
1120
|
+
password: string;
|
|
1121
|
+
} | undefined;
|
|
1122
|
+
content?: string | undefined;
|
|
459
1123
|
title?: string | undefined;
|
|
460
1124
|
excludePageFromSearch?: string | undefined;
|
|
461
1125
|
language?: string | undefined;
|
|
462
1126
|
socialImageAssetId?: string | undefined;
|
|
463
1127
|
socialImageUrl?: string | undefined;
|
|
464
1128
|
redirect?: string | undefined;
|
|
465
|
-
documentType?: "html" | "xml" | undefined;
|
|
1129
|
+
documentType?: "html" | "xml" | "text" | undefined;
|
|
466
1130
|
};
|
|
467
1131
|
id: string;
|
|
468
1132
|
title: string;
|
|
@@ -475,6 +1139,8 @@ export declare const Pages: z.ZodEffects<z.ZodObject<{
|
|
|
475
1139
|
thumbnailAssetId?: string | undefined;
|
|
476
1140
|
} | undefined;
|
|
477
1141
|
}>;
|
|
1142
|
+
homePageId: string;
|
|
1143
|
+
rootFolderId: string;
|
|
478
1144
|
folders: Map<string, {
|
|
479
1145
|
name: string;
|
|
480
1146
|
id: string;
|
|
@@ -483,6 +1149,7 @@ export declare const Pages: z.ZodEffects<z.ZodObject<{
|
|
|
483
1149
|
}>;
|
|
484
1150
|
meta?: {
|
|
485
1151
|
code?: string | undefined;
|
|
1152
|
+
auth?: string | undefined;
|
|
486
1153
|
siteName?: string | undefined;
|
|
487
1154
|
contactEmail?: string | undefined;
|
|
488
1155
|
faviconAssetId?: string | undefined;
|
|
@@ -495,26 +1162,66 @@ export declare const Pages: z.ZodEffects<z.ZodObject<{
|
|
|
495
1162
|
new: string;
|
|
496
1163
|
status?: "301" | "302" | undefined;
|
|
497
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
|
+
login: string;
|
|
1176
|
+
password: string;
|
|
1177
|
+
method: "basic";
|
|
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;
|
|
498
1197
|
}>, {
|
|
499
|
-
homePageId: string;
|
|
500
|
-
rootFolderId: string;
|
|
501
1198
|
pages: Map<string, {
|
|
502
1199
|
path: string;
|
|
503
1200
|
name: string;
|
|
504
1201
|
meta: {
|
|
505
1202
|
status?: string | undefined;
|
|
506
1203
|
custom?: {
|
|
507
|
-
property: string;
|
|
508
1204
|
content: string;
|
|
1205
|
+
property: string;
|
|
509
1206
|
}[] | undefined;
|
|
510
1207
|
description?: string | undefined;
|
|
1208
|
+
auth?: {
|
|
1209
|
+
login: string;
|
|
1210
|
+
password: string;
|
|
1211
|
+
method: "basic";
|
|
1212
|
+
} | {
|
|
1213
|
+
method: "basic";
|
|
1214
|
+
login: string;
|
|
1215
|
+
password: string;
|
|
1216
|
+
} | undefined;
|
|
1217
|
+
content?: string | undefined;
|
|
511
1218
|
title?: string | undefined;
|
|
512
1219
|
excludePageFromSearch?: string | undefined;
|
|
513
1220
|
language?: string | undefined;
|
|
514
1221
|
socialImageAssetId?: string | undefined;
|
|
515
1222
|
socialImageUrl?: string | undefined;
|
|
516
1223
|
redirect?: string | undefined;
|
|
517
|
-
documentType?: "html" | "xml" | undefined;
|
|
1224
|
+
documentType?: "html" | "xml" | "text" | undefined;
|
|
518
1225
|
};
|
|
519
1226
|
id: string;
|
|
520
1227
|
title: string;
|
|
@@ -527,6 +1234,8 @@ export declare const Pages: z.ZodEffects<z.ZodObject<{
|
|
|
527
1234
|
thumbnailAssetId?: string | undefined;
|
|
528
1235
|
} | undefined;
|
|
529
1236
|
}>;
|
|
1237
|
+
homePageId: string;
|
|
1238
|
+
rootFolderId: string;
|
|
530
1239
|
folders: Map<string, {
|
|
531
1240
|
name: string;
|
|
532
1241
|
id: string;
|
|
@@ -535,6 +1244,7 @@ export declare const Pages: z.ZodEffects<z.ZodObject<{
|
|
|
535
1244
|
}>;
|
|
536
1245
|
meta?: {
|
|
537
1246
|
code?: string | undefined;
|
|
1247
|
+
auth?: string | undefined;
|
|
538
1248
|
siteName?: string | undefined;
|
|
539
1249
|
contactEmail?: string | undefined;
|
|
540
1250
|
faviconAssetId?: string | undefined;
|
|
@@ -547,26 +1257,66 @@ export declare const Pages: z.ZodEffects<z.ZodObject<{
|
|
|
547
1257
|
new: string;
|
|
548
1258
|
status?: "301" | "302" | undefined;
|
|
549
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
|
+
login: string;
|
|
1271
|
+
password: string;
|
|
1272
|
+
method: "basic";
|
|
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;
|
|
550
1292
|
}, {
|
|
551
|
-
homePageId: string;
|
|
552
|
-
rootFolderId: string;
|
|
553
1293
|
pages: Map<string, {
|
|
554
1294
|
path: string;
|
|
555
1295
|
name: string;
|
|
556
1296
|
meta: {
|
|
557
1297
|
status?: string | undefined;
|
|
558
1298
|
custom?: {
|
|
559
|
-
property: string;
|
|
560
1299
|
content: string;
|
|
1300
|
+
property: string;
|
|
561
1301
|
}[] | undefined;
|
|
562
1302
|
description?: string | undefined;
|
|
1303
|
+
auth?: {
|
|
1304
|
+
login: string;
|
|
1305
|
+
password: string;
|
|
1306
|
+
method: "basic";
|
|
1307
|
+
} | {
|
|
1308
|
+
type: "basic";
|
|
1309
|
+
login: string;
|
|
1310
|
+
password: string;
|
|
1311
|
+
} | undefined;
|
|
1312
|
+
content?: string | undefined;
|
|
563
1313
|
title?: string | undefined;
|
|
564
1314
|
excludePageFromSearch?: string | undefined;
|
|
565
1315
|
language?: string | undefined;
|
|
566
1316
|
socialImageAssetId?: string | undefined;
|
|
567
1317
|
socialImageUrl?: string | undefined;
|
|
568
1318
|
redirect?: string | undefined;
|
|
569
|
-
documentType?: "html" | "xml" | undefined;
|
|
1319
|
+
documentType?: "html" | "xml" | "text" | undefined;
|
|
570
1320
|
};
|
|
571
1321
|
id: string;
|
|
572
1322
|
title: string;
|
|
@@ -579,6 +1329,8 @@ export declare const Pages: z.ZodEffects<z.ZodObject<{
|
|
|
579
1329
|
thumbnailAssetId?: string | undefined;
|
|
580
1330
|
} | undefined;
|
|
581
1331
|
}>;
|
|
1332
|
+
homePageId: string;
|
|
1333
|
+
rootFolderId: string;
|
|
582
1334
|
folders: Map<string, {
|
|
583
1335
|
name: string;
|
|
584
1336
|
id: string;
|
|
@@ -587,6 +1339,7 @@ export declare const Pages: z.ZodEffects<z.ZodObject<{
|
|
|
587
1339
|
}>;
|
|
588
1340
|
meta?: {
|
|
589
1341
|
code?: string | undefined;
|
|
1342
|
+
auth?: string | undefined;
|
|
590
1343
|
siteName?: string | undefined;
|
|
591
1344
|
contactEmail?: string | undefined;
|
|
592
1345
|
faviconAssetId?: string | undefined;
|
|
@@ -599,6 +1352,38 @@ export declare const Pages: z.ZodEffects<z.ZodObject<{
|
|
|
599
1352
|
new: string;
|
|
600
1353
|
status?: "301" | "302" | undefined;
|
|
601
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
|
+
login: string;
|
|
1366
|
+
password: string;
|
|
1367
|
+
method: "basic";
|
|
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;
|
|
602
1387
|
}>;
|
|
603
1388
|
export type Pages = z.infer<typeof Pages>;
|
|
604
1389
|
export {};
|