@squiz/dx-page-contents-lib 1.74.0 → 1.75.1
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/formatted-text.d.ts +27 -0
- package/lib/formatted-text.js +37 -0
- package/lib/formatted-text.js.map +1 -1
- package/lib/formatted-text.spec.js +4 -0
- package/lib/formatted-text.spec.js.map +1 -1
- package/lib/layout-content.d.ts +51 -3
- package/lib/layout-content.js.map +1 -1
- package/lib/layout-content.spec.js +18 -6
- package/lib/layout-content.spec.js.map +1 -1
- package/lib/layouts/custom-layout.d.ts +73 -0
- package/lib/layouts/index.d.ts +320 -0
- package/lib/layouts/raw.layout.d.ts +64 -0
- package/lib/layouts/single-column.layout.d.ts +64 -0
- package/lib/layouts/two-column.layout.d.ts +128 -0
- package/lib/mocks/PageContentsHelpers.d.ts +786 -0
- package/lib/mocks/PageContentsHelpers.js +51 -1
- package/lib/mocks/PageContentsHelpers.js.map +1 -1
- package/lib/mocks/PageContentsMocks.d.ts +1 -0
- package/lib/mocks/PageContentsMocks.js +27 -0
- package/lib/mocks/PageContentsMocks.js.map +1 -1
- package/lib/page-contents-lib.d.ts +16 -0
- package/lib/page-contents-lib.spec.js +61 -15
- package/lib/page-contents-lib.spec.js.map +1 -1
- package/lib/resolvers/create-variant-resolver.js +6 -1
- package/lib/resolvers/create-variant-resolver.js.map +1 -1
- package/lib/resolvers/create-variant-resolver.spec.js +21 -17
- package/lib/resolvers/create-variant-resolver.spec.js.map +1 -1
- package/lib/resolvers/default-layout-resolver.spec.d.ts +1 -0
- package/lib/resolvers/default-layout-resolver.spec.js +36 -0
- package/lib/resolvers/default-layout-resolver.spec.js.map +1 -0
- package/lib/resolvers/default-variation-resolver.spec.js +8 -4
- package/lib/resolvers/default-variation-resolver.spec.js.map +1 -1
- package/package.json +1 -1
|
@@ -3,6 +3,7 @@ import { LayoutContentNodes, LayoutVariant, LayoutVariationNode } from '../layou
|
|
|
3
3
|
import { PageLayout } from '../layouts';
|
|
4
4
|
import { ContentNodeTypes, InvalidContentNodeTypes } from './PageContentsMocks';
|
|
5
5
|
import { CustomLayoutConfig } from '../layouts/custom-layout';
|
|
6
|
+
import { ContentStructure } from '../page-contents-lib';
|
|
6
7
|
declare const PageContentsResolved: z.ZodObject<{
|
|
7
8
|
id: z.ZodString;
|
|
8
9
|
name: z.ZodString;
|
|
@@ -12,8 +13,10 @@ declare const PageContentsResolved: z.ZodObject<{
|
|
|
12
13
|
main: z.ZodEffects<z.ZodArray<z.ZodUnion<[z.ZodType<{
|
|
13
14
|
value: string;
|
|
14
15
|
type: "text";
|
|
16
|
+
nodeId: string;
|
|
15
17
|
} | {
|
|
16
18
|
type: "matrix-image";
|
|
19
|
+
nodeId: string;
|
|
17
20
|
matrixDomain: string;
|
|
18
21
|
matrixAssetId: string;
|
|
19
22
|
attributes?: (Record<string, string> & {
|
|
@@ -25,6 +28,7 @@ declare const PageContentsResolved: z.ZodObject<{
|
|
|
25
28
|
matrixIdentifier?: string | undefined;
|
|
26
29
|
} | {
|
|
27
30
|
type: "dam-image";
|
|
31
|
+
nodeId: string;
|
|
28
32
|
damSystemType: "bynder";
|
|
29
33
|
damSystemIdentifier: string;
|
|
30
34
|
damObjectId: string;
|
|
@@ -39,6 +43,7 @@ declare const PageContentsResolved: z.ZodObject<{
|
|
|
39
43
|
} | undefined;
|
|
40
44
|
} | {
|
|
41
45
|
type: "component";
|
|
46
|
+
nodeId: string;
|
|
42
47
|
componentId: string;
|
|
43
48
|
componentSet: string;
|
|
44
49
|
componentType?: "server" | "edge" | undefined;
|
|
@@ -50,6 +55,7 @@ declare const PageContentsResolved: z.ZodObject<{
|
|
|
50
55
|
} | undefined;
|
|
51
56
|
} | (({
|
|
52
57
|
type: "tag";
|
|
58
|
+
nodeId: string;
|
|
53
59
|
tag: string;
|
|
54
60
|
attributes?: Record<string, string> | undefined;
|
|
55
61
|
font?: {
|
|
@@ -65,8 +71,10 @@ declare const PageContentsResolved: z.ZodObject<{
|
|
|
65
71
|
} | undefined;
|
|
66
72
|
} | {
|
|
67
73
|
type: "fragment";
|
|
74
|
+
nodeId: string;
|
|
68
75
|
} | {
|
|
69
76
|
type: "link-to-matrix-asset";
|
|
77
|
+
nodeId: string;
|
|
70
78
|
matrixDomain: string;
|
|
71
79
|
matrixAssetId: string;
|
|
72
80
|
target: "_blank" | "_self" | "_parent" | "_top";
|
|
@@ -83,9 +91,11 @@ declare const PageContentsResolved: z.ZodObject<{
|
|
|
83
91
|
}), z.ZodTypeDef, {
|
|
84
92
|
value: string;
|
|
85
93
|
type: "text";
|
|
94
|
+
nodeId?: string | undefined;
|
|
86
95
|
} | {
|
|
87
96
|
type: "tag";
|
|
88
97
|
tag: string;
|
|
98
|
+
nodeId?: string | undefined;
|
|
89
99
|
attributes?: Record<string, string> | undefined;
|
|
90
100
|
font?: {
|
|
91
101
|
bold?: boolean | undefined;
|
|
@@ -100,11 +110,13 @@ declare const PageContentsResolved: z.ZodObject<{
|
|
|
100
110
|
} | undefined;
|
|
101
111
|
} | {
|
|
102
112
|
type: "fragment";
|
|
113
|
+
nodeId?: string | undefined;
|
|
103
114
|
} | {
|
|
104
115
|
type: "link-to-matrix-asset";
|
|
105
116
|
matrixDomain: string;
|
|
106
117
|
matrixAssetId: string;
|
|
107
118
|
target: "_blank" | "_self" | "_parent" | "_top";
|
|
119
|
+
nodeId?: string | undefined;
|
|
108
120
|
attributes?: (Record<string, string> & {
|
|
109
121
|
target?: undefined;
|
|
110
122
|
href?: undefined;
|
|
@@ -117,6 +129,7 @@ declare const PageContentsResolved: z.ZodObject<{
|
|
|
117
129
|
type: "matrix-image";
|
|
118
130
|
matrixDomain: string;
|
|
119
131
|
matrixAssetId: string;
|
|
132
|
+
nodeId?: string | undefined;
|
|
120
133
|
attributes?: (Record<string, string> & {
|
|
121
134
|
src?: undefined;
|
|
122
135
|
}) | undefined;
|
|
@@ -129,6 +142,7 @@ declare const PageContentsResolved: z.ZodObject<{
|
|
|
129
142
|
damSystemType: "bynder";
|
|
130
143
|
damSystemIdentifier: string;
|
|
131
144
|
damObjectId: string;
|
|
145
|
+
nodeId?: string | undefined;
|
|
132
146
|
attributes?: (Record<string, string> & {
|
|
133
147
|
src?: undefined;
|
|
134
148
|
}) | undefined;
|
|
@@ -142,6 +156,7 @@ declare const PageContentsResolved: z.ZodObject<{
|
|
|
142
156
|
type: "component";
|
|
143
157
|
componentId: string;
|
|
144
158
|
componentSet: string;
|
|
159
|
+
nodeId?: string | undefined;
|
|
145
160
|
componentType?: "server" | "edge" | undefined;
|
|
146
161
|
contentItem?: {
|
|
147
162
|
id: string;
|
|
@@ -152,6 +167,7 @@ declare const PageContentsResolved: z.ZodObject<{
|
|
|
152
167
|
}>, z.ZodType<LayoutVariationNode, z.ZodTypeDef, {
|
|
153
168
|
type: "variation";
|
|
154
169
|
default: {};
|
|
170
|
+
nodeId?: string | undefined;
|
|
155
171
|
}>, z.ZodType<import("../layout-content").DeveloperDefinedLayoutNode, z.ZodTypeDef, {
|
|
156
172
|
type: "layout";
|
|
157
173
|
layout: {
|
|
@@ -177,11 +193,14 @@ declare const PageContentsResolved: z.ZodObject<{
|
|
|
177
193
|
}>;
|
|
178
194
|
name: string;
|
|
179
195
|
};
|
|
196
|
+
nodeId?: string | undefined;
|
|
180
197
|
}>]>, "many">, (LayoutVariationNode | ({
|
|
181
198
|
value: string;
|
|
182
199
|
type: "text";
|
|
200
|
+
nodeId: string;
|
|
183
201
|
} | {
|
|
184
202
|
type: "matrix-image";
|
|
203
|
+
nodeId: string;
|
|
185
204
|
matrixDomain: string;
|
|
186
205
|
matrixAssetId: string;
|
|
187
206
|
attributes?: (Record<string, string> & {
|
|
@@ -193,6 +212,7 @@ declare const PageContentsResolved: z.ZodObject<{
|
|
|
193
212
|
matrixIdentifier?: string | undefined;
|
|
194
213
|
} | {
|
|
195
214
|
type: "dam-image";
|
|
215
|
+
nodeId: string;
|
|
196
216
|
damSystemType: "bynder";
|
|
197
217
|
damSystemIdentifier: string;
|
|
198
218
|
damObjectId: string;
|
|
@@ -207,6 +227,7 @@ declare const PageContentsResolved: z.ZodObject<{
|
|
|
207
227
|
} | undefined;
|
|
208
228
|
} | {
|
|
209
229
|
type: "component";
|
|
230
|
+
nodeId: string;
|
|
210
231
|
componentId: string;
|
|
211
232
|
componentSet: string;
|
|
212
233
|
componentType?: "server" | "edge" | undefined;
|
|
@@ -218,6 +239,7 @@ declare const PageContentsResolved: z.ZodObject<{
|
|
|
218
239
|
} | undefined;
|
|
219
240
|
} | (({
|
|
220
241
|
type: "tag";
|
|
242
|
+
nodeId: string;
|
|
221
243
|
tag: string;
|
|
222
244
|
attributes?: Record<string, string> | undefined;
|
|
223
245
|
font?: {
|
|
@@ -233,8 +255,10 @@ declare const PageContentsResolved: z.ZodObject<{
|
|
|
233
255
|
} | undefined;
|
|
234
256
|
} | {
|
|
235
257
|
type: "fragment";
|
|
258
|
+
nodeId: string;
|
|
236
259
|
} | {
|
|
237
260
|
type: "link-to-matrix-asset";
|
|
261
|
+
nodeId: string;
|
|
238
262
|
matrixDomain: string;
|
|
239
263
|
matrixAssetId: string;
|
|
240
264
|
target: "_blank" | "_self" | "_parent" | "_top";
|
|
@@ -251,9 +275,11 @@ declare const PageContentsResolved: z.ZodObject<{
|
|
|
251
275
|
})) | import("../layout-content").DeveloperDefinedLayoutNode)[], ({
|
|
252
276
|
value: string;
|
|
253
277
|
type: "text";
|
|
278
|
+
nodeId?: string | undefined;
|
|
254
279
|
} | {
|
|
255
280
|
type: "tag";
|
|
256
281
|
tag: string;
|
|
282
|
+
nodeId?: string | undefined;
|
|
257
283
|
attributes?: Record<string, string> | undefined;
|
|
258
284
|
font?: {
|
|
259
285
|
bold?: boolean | undefined;
|
|
@@ -268,11 +294,13 @@ declare const PageContentsResolved: z.ZodObject<{
|
|
|
268
294
|
} | undefined;
|
|
269
295
|
} | {
|
|
270
296
|
type: "fragment";
|
|
297
|
+
nodeId?: string | undefined;
|
|
271
298
|
} | {
|
|
272
299
|
type: "link-to-matrix-asset";
|
|
273
300
|
matrixDomain: string;
|
|
274
301
|
matrixAssetId: string;
|
|
275
302
|
target: "_blank" | "_self" | "_parent" | "_top";
|
|
303
|
+
nodeId?: string | undefined;
|
|
276
304
|
attributes?: (Record<string, string> & {
|
|
277
305
|
target?: undefined;
|
|
278
306
|
href?: undefined;
|
|
@@ -285,6 +313,7 @@ declare const PageContentsResolved: z.ZodObject<{
|
|
|
285
313
|
type: "matrix-image";
|
|
286
314
|
matrixDomain: string;
|
|
287
315
|
matrixAssetId: string;
|
|
316
|
+
nodeId?: string | undefined;
|
|
288
317
|
attributes?: (Record<string, string> & {
|
|
289
318
|
src?: undefined;
|
|
290
319
|
}) | undefined;
|
|
@@ -297,6 +326,7 @@ declare const PageContentsResolved: z.ZodObject<{
|
|
|
297
326
|
damSystemType: "bynder";
|
|
298
327
|
damSystemIdentifier: string;
|
|
299
328
|
damObjectId: string;
|
|
329
|
+
nodeId?: string | undefined;
|
|
300
330
|
attributes?: (Record<string, string> & {
|
|
301
331
|
src?: undefined;
|
|
302
332
|
}) | undefined;
|
|
@@ -310,6 +340,7 @@ declare const PageContentsResolved: z.ZodObject<{
|
|
|
310
340
|
type: "component";
|
|
311
341
|
componentId: string;
|
|
312
342
|
componentSet: string;
|
|
343
|
+
nodeId?: string | undefined;
|
|
313
344
|
componentType?: "server" | "edge" | undefined;
|
|
314
345
|
contentItem?: {
|
|
315
346
|
id: string;
|
|
@@ -320,6 +351,7 @@ declare const PageContentsResolved: z.ZodObject<{
|
|
|
320
351
|
} | {
|
|
321
352
|
type: "variation";
|
|
322
353
|
default: {};
|
|
354
|
+
nodeId?: string | undefined;
|
|
323
355
|
} | {
|
|
324
356
|
type: "layout";
|
|
325
357
|
layout: {
|
|
@@ -345,13 +377,16 @@ declare const PageContentsResolved: z.ZodObject<{
|
|
|
345
377
|
}>;
|
|
346
378
|
name: string;
|
|
347
379
|
};
|
|
380
|
+
nodeId?: string | undefined;
|
|
348
381
|
})[]>;
|
|
349
382
|
}, "strip", z.ZodTypeAny, {
|
|
350
383
|
main: (LayoutVariationNode | ({
|
|
351
384
|
value: string;
|
|
352
385
|
type: "text";
|
|
386
|
+
nodeId: string;
|
|
353
387
|
} | {
|
|
354
388
|
type: "matrix-image";
|
|
389
|
+
nodeId: string;
|
|
355
390
|
matrixDomain: string;
|
|
356
391
|
matrixAssetId: string;
|
|
357
392
|
attributes?: (Record<string, string> & {
|
|
@@ -363,6 +398,7 @@ declare const PageContentsResolved: z.ZodObject<{
|
|
|
363
398
|
matrixIdentifier?: string | undefined;
|
|
364
399
|
} | {
|
|
365
400
|
type: "dam-image";
|
|
401
|
+
nodeId: string;
|
|
366
402
|
damSystemType: "bynder";
|
|
367
403
|
damSystemIdentifier: string;
|
|
368
404
|
damObjectId: string;
|
|
@@ -377,6 +413,7 @@ declare const PageContentsResolved: z.ZodObject<{
|
|
|
377
413
|
} | undefined;
|
|
378
414
|
} | {
|
|
379
415
|
type: "component";
|
|
416
|
+
nodeId: string;
|
|
380
417
|
componentId: string;
|
|
381
418
|
componentSet: string;
|
|
382
419
|
componentType?: "server" | "edge" | undefined;
|
|
@@ -388,6 +425,7 @@ declare const PageContentsResolved: z.ZodObject<{
|
|
|
388
425
|
} | undefined;
|
|
389
426
|
} | (({
|
|
390
427
|
type: "tag";
|
|
428
|
+
nodeId: string;
|
|
391
429
|
tag: string;
|
|
392
430
|
attributes?: Record<string, string> | undefined;
|
|
393
431
|
font?: {
|
|
@@ -403,8 +441,10 @@ declare const PageContentsResolved: z.ZodObject<{
|
|
|
403
441
|
} | undefined;
|
|
404
442
|
} | {
|
|
405
443
|
type: "fragment";
|
|
444
|
+
nodeId: string;
|
|
406
445
|
} | {
|
|
407
446
|
type: "link-to-matrix-asset";
|
|
447
|
+
nodeId: string;
|
|
408
448
|
matrixDomain: string;
|
|
409
449
|
matrixAssetId: string;
|
|
410
450
|
target: "_blank" | "_self" | "_parent" | "_top";
|
|
@@ -423,9 +463,11 @@ declare const PageContentsResolved: z.ZodObject<{
|
|
|
423
463
|
main: ({
|
|
424
464
|
value: string;
|
|
425
465
|
type: "text";
|
|
466
|
+
nodeId?: string | undefined;
|
|
426
467
|
} | {
|
|
427
468
|
type: "tag";
|
|
428
469
|
tag: string;
|
|
470
|
+
nodeId?: string | undefined;
|
|
429
471
|
attributes?: Record<string, string> | undefined;
|
|
430
472
|
font?: {
|
|
431
473
|
bold?: boolean | undefined;
|
|
@@ -440,11 +482,13 @@ declare const PageContentsResolved: z.ZodObject<{
|
|
|
440
482
|
} | undefined;
|
|
441
483
|
} | {
|
|
442
484
|
type: "fragment";
|
|
485
|
+
nodeId?: string | undefined;
|
|
443
486
|
} | {
|
|
444
487
|
type: "link-to-matrix-asset";
|
|
445
488
|
matrixDomain: string;
|
|
446
489
|
matrixAssetId: string;
|
|
447
490
|
target: "_blank" | "_self" | "_parent" | "_top";
|
|
491
|
+
nodeId?: string | undefined;
|
|
448
492
|
attributes?: (Record<string, string> & {
|
|
449
493
|
target?: undefined;
|
|
450
494
|
href?: undefined;
|
|
@@ -457,6 +501,7 @@ declare const PageContentsResolved: z.ZodObject<{
|
|
|
457
501
|
type: "matrix-image";
|
|
458
502
|
matrixDomain: string;
|
|
459
503
|
matrixAssetId: string;
|
|
504
|
+
nodeId?: string | undefined;
|
|
460
505
|
attributes?: (Record<string, string> & {
|
|
461
506
|
src?: undefined;
|
|
462
507
|
}) | undefined;
|
|
@@ -469,6 +514,7 @@ declare const PageContentsResolved: z.ZodObject<{
|
|
|
469
514
|
damSystemType: "bynder";
|
|
470
515
|
damSystemIdentifier: string;
|
|
471
516
|
damObjectId: string;
|
|
517
|
+
nodeId?: string | undefined;
|
|
472
518
|
attributes?: (Record<string, string> & {
|
|
473
519
|
src?: undefined;
|
|
474
520
|
}) | undefined;
|
|
@@ -482,6 +528,7 @@ declare const PageContentsResolved: z.ZodObject<{
|
|
|
482
528
|
type: "component";
|
|
483
529
|
componentId: string;
|
|
484
530
|
componentSet: string;
|
|
531
|
+
nodeId?: string | undefined;
|
|
485
532
|
componentType?: "server" | "edge" | undefined;
|
|
486
533
|
contentItem?: {
|
|
487
534
|
id: string;
|
|
@@ -492,6 +539,7 @@ declare const PageContentsResolved: z.ZodObject<{
|
|
|
492
539
|
} | {
|
|
493
540
|
type: "variation";
|
|
494
541
|
default: {};
|
|
542
|
+
nodeId?: string | undefined;
|
|
495
543
|
} | {
|
|
496
544
|
type: "layout";
|
|
497
545
|
layout: {
|
|
@@ -517,6 +565,7 @@ declare const PageContentsResolved: z.ZodObject<{
|
|
|
517
565
|
}>;
|
|
518
566
|
name: string;
|
|
519
567
|
};
|
|
568
|
+
nodeId?: string | undefined;
|
|
520
569
|
})[];
|
|
521
570
|
}>;
|
|
522
571
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -524,8 +573,10 @@ declare const PageContentsResolved: z.ZodObject<{
|
|
|
524
573
|
main: (LayoutVariationNode | ({
|
|
525
574
|
value: string;
|
|
526
575
|
type: "text";
|
|
576
|
+
nodeId: string;
|
|
527
577
|
} | {
|
|
528
578
|
type: "matrix-image";
|
|
579
|
+
nodeId: string;
|
|
529
580
|
matrixDomain: string;
|
|
530
581
|
matrixAssetId: string;
|
|
531
582
|
attributes?: (Record<string, string> & {
|
|
@@ -537,6 +588,7 @@ declare const PageContentsResolved: z.ZodObject<{
|
|
|
537
588
|
matrixIdentifier?: string | undefined;
|
|
538
589
|
} | {
|
|
539
590
|
type: "dam-image";
|
|
591
|
+
nodeId: string;
|
|
540
592
|
damSystemType: "bynder";
|
|
541
593
|
damSystemIdentifier: string;
|
|
542
594
|
damObjectId: string;
|
|
@@ -551,6 +603,7 @@ declare const PageContentsResolved: z.ZodObject<{
|
|
|
551
603
|
} | undefined;
|
|
552
604
|
} | {
|
|
553
605
|
type: "component";
|
|
606
|
+
nodeId: string;
|
|
554
607
|
componentId: string;
|
|
555
608
|
componentSet: string;
|
|
556
609
|
componentType?: "server" | "edge" | undefined;
|
|
@@ -562,6 +615,7 @@ declare const PageContentsResolved: z.ZodObject<{
|
|
|
562
615
|
} | undefined;
|
|
563
616
|
} | (({
|
|
564
617
|
type: "tag";
|
|
618
|
+
nodeId: string;
|
|
565
619
|
tag: string;
|
|
566
620
|
attributes?: Record<string, string> | undefined;
|
|
567
621
|
font?: {
|
|
@@ -577,8 +631,10 @@ declare const PageContentsResolved: z.ZodObject<{
|
|
|
577
631
|
} | undefined;
|
|
578
632
|
} | {
|
|
579
633
|
type: "fragment";
|
|
634
|
+
nodeId: string;
|
|
580
635
|
} | {
|
|
581
636
|
type: "link-to-matrix-asset";
|
|
637
|
+
nodeId: string;
|
|
582
638
|
matrixDomain: string;
|
|
583
639
|
matrixAssetId: string;
|
|
584
640
|
target: "_blank" | "_self" | "_parent" | "_top";
|
|
@@ -600,9 +656,11 @@ declare const PageContentsResolved: z.ZodObject<{
|
|
|
600
656
|
main: ({
|
|
601
657
|
value: string;
|
|
602
658
|
type: "text";
|
|
659
|
+
nodeId?: string | undefined;
|
|
603
660
|
} | {
|
|
604
661
|
type: "tag";
|
|
605
662
|
tag: string;
|
|
663
|
+
nodeId?: string | undefined;
|
|
606
664
|
attributes?: Record<string, string> | undefined;
|
|
607
665
|
font?: {
|
|
608
666
|
bold?: boolean | undefined;
|
|
@@ -617,11 +675,13 @@ declare const PageContentsResolved: z.ZodObject<{
|
|
|
617
675
|
} | undefined;
|
|
618
676
|
} | {
|
|
619
677
|
type: "fragment";
|
|
678
|
+
nodeId?: string | undefined;
|
|
620
679
|
} | {
|
|
621
680
|
type: "link-to-matrix-asset";
|
|
622
681
|
matrixDomain: string;
|
|
623
682
|
matrixAssetId: string;
|
|
624
683
|
target: "_blank" | "_self" | "_parent" | "_top";
|
|
684
|
+
nodeId?: string | undefined;
|
|
625
685
|
attributes?: (Record<string, string> & {
|
|
626
686
|
target?: undefined;
|
|
627
687
|
href?: undefined;
|
|
@@ -634,6 +694,7 @@ declare const PageContentsResolved: z.ZodObject<{
|
|
|
634
694
|
type: "matrix-image";
|
|
635
695
|
matrixDomain: string;
|
|
636
696
|
matrixAssetId: string;
|
|
697
|
+
nodeId?: string | undefined;
|
|
637
698
|
attributes?: (Record<string, string> & {
|
|
638
699
|
src?: undefined;
|
|
639
700
|
}) | undefined;
|
|
@@ -646,6 +707,7 @@ declare const PageContentsResolved: z.ZodObject<{
|
|
|
646
707
|
damSystemType: "bynder";
|
|
647
708
|
damSystemIdentifier: string;
|
|
648
709
|
damObjectId: string;
|
|
710
|
+
nodeId?: string | undefined;
|
|
649
711
|
attributes?: (Record<string, string> & {
|
|
650
712
|
src?: undefined;
|
|
651
713
|
}) | undefined;
|
|
@@ -659,6 +721,7 @@ declare const PageContentsResolved: z.ZodObject<{
|
|
|
659
721
|
type: "component";
|
|
660
722
|
componentId: string;
|
|
661
723
|
componentSet: string;
|
|
724
|
+
nodeId?: string | undefined;
|
|
662
725
|
componentType?: "server" | "edge" | undefined;
|
|
663
726
|
contentItem?: {
|
|
664
727
|
id: string;
|
|
@@ -669,6 +732,7 @@ declare const PageContentsResolved: z.ZodObject<{
|
|
|
669
732
|
} | {
|
|
670
733
|
type: "variation";
|
|
671
734
|
default: {};
|
|
735
|
+
nodeId?: string | undefined;
|
|
672
736
|
} | {
|
|
673
737
|
type: "layout";
|
|
674
738
|
layout: {
|
|
@@ -694,6 +758,7 @@ declare const PageContentsResolved: z.ZodObject<{
|
|
|
694
758
|
}>;
|
|
695
759
|
name: string;
|
|
696
760
|
};
|
|
761
|
+
nodeId?: string | undefined;
|
|
697
762
|
})[];
|
|
698
763
|
};
|
|
699
764
|
name: "layout-raw";
|
|
@@ -703,8 +768,10 @@ declare const PageContentsResolved: z.ZodObject<{
|
|
|
703
768
|
main: z.ZodEffects<z.ZodArray<z.ZodUnion<[z.ZodType<{
|
|
704
769
|
value: string;
|
|
705
770
|
type: "text";
|
|
771
|
+
nodeId: string;
|
|
706
772
|
} | {
|
|
707
773
|
type: "matrix-image";
|
|
774
|
+
nodeId: string;
|
|
708
775
|
matrixDomain: string;
|
|
709
776
|
matrixAssetId: string;
|
|
710
777
|
attributes?: (Record<string, string> & {
|
|
@@ -716,6 +783,7 @@ declare const PageContentsResolved: z.ZodObject<{
|
|
|
716
783
|
matrixIdentifier?: string | undefined;
|
|
717
784
|
} | {
|
|
718
785
|
type: "dam-image";
|
|
786
|
+
nodeId: string;
|
|
719
787
|
damSystemType: "bynder";
|
|
720
788
|
damSystemIdentifier: string;
|
|
721
789
|
damObjectId: string;
|
|
@@ -730,6 +798,7 @@ declare const PageContentsResolved: z.ZodObject<{
|
|
|
730
798
|
} | undefined;
|
|
731
799
|
} | {
|
|
732
800
|
type: "component";
|
|
801
|
+
nodeId: string;
|
|
733
802
|
componentId: string;
|
|
734
803
|
componentSet: string;
|
|
735
804
|
componentType?: "server" | "edge" | undefined;
|
|
@@ -741,6 +810,7 @@ declare const PageContentsResolved: z.ZodObject<{
|
|
|
741
810
|
} | undefined;
|
|
742
811
|
} | (({
|
|
743
812
|
type: "tag";
|
|
813
|
+
nodeId: string;
|
|
744
814
|
tag: string;
|
|
745
815
|
attributes?: Record<string, string> | undefined;
|
|
746
816
|
font?: {
|
|
@@ -756,8 +826,10 @@ declare const PageContentsResolved: z.ZodObject<{
|
|
|
756
826
|
} | undefined;
|
|
757
827
|
} | {
|
|
758
828
|
type: "fragment";
|
|
829
|
+
nodeId: string;
|
|
759
830
|
} | {
|
|
760
831
|
type: "link-to-matrix-asset";
|
|
832
|
+
nodeId: string;
|
|
761
833
|
matrixDomain: string;
|
|
762
834
|
matrixAssetId: string;
|
|
763
835
|
target: "_blank" | "_self" | "_parent" | "_top";
|
|
@@ -774,9 +846,11 @@ declare const PageContentsResolved: z.ZodObject<{
|
|
|
774
846
|
}), z.ZodTypeDef, {
|
|
775
847
|
value: string;
|
|
776
848
|
type: "text";
|
|
849
|
+
nodeId?: string | undefined;
|
|
777
850
|
} | {
|
|
778
851
|
type: "tag";
|
|
779
852
|
tag: string;
|
|
853
|
+
nodeId?: string | undefined;
|
|
780
854
|
attributes?: Record<string, string> | undefined;
|
|
781
855
|
font?: {
|
|
782
856
|
bold?: boolean | undefined;
|
|
@@ -791,11 +865,13 @@ declare const PageContentsResolved: z.ZodObject<{
|
|
|
791
865
|
} | undefined;
|
|
792
866
|
} | {
|
|
793
867
|
type: "fragment";
|
|
868
|
+
nodeId?: string | undefined;
|
|
794
869
|
} | {
|
|
795
870
|
type: "link-to-matrix-asset";
|
|
796
871
|
matrixDomain: string;
|
|
797
872
|
matrixAssetId: string;
|
|
798
873
|
target: "_blank" | "_self" | "_parent" | "_top";
|
|
874
|
+
nodeId?: string | undefined;
|
|
799
875
|
attributes?: (Record<string, string> & {
|
|
800
876
|
target?: undefined;
|
|
801
877
|
href?: undefined;
|
|
@@ -808,6 +884,7 @@ declare const PageContentsResolved: z.ZodObject<{
|
|
|
808
884
|
type: "matrix-image";
|
|
809
885
|
matrixDomain: string;
|
|
810
886
|
matrixAssetId: string;
|
|
887
|
+
nodeId?: string | undefined;
|
|
811
888
|
attributes?: (Record<string, string> & {
|
|
812
889
|
src?: undefined;
|
|
813
890
|
}) | undefined;
|
|
@@ -820,6 +897,7 @@ declare const PageContentsResolved: z.ZodObject<{
|
|
|
820
897
|
damSystemType: "bynder";
|
|
821
898
|
damSystemIdentifier: string;
|
|
822
899
|
damObjectId: string;
|
|
900
|
+
nodeId?: string | undefined;
|
|
823
901
|
attributes?: (Record<string, string> & {
|
|
824
902
|
src?: undefined;
|
|
825
903
|
}) | undefined;
|
|
@@ -833,6 +911,7 @@ declare const PageContentsResolved: z.ZodObject<{
|
|
|
833
911
|
type: "component";
|
|
834
912
|
componentId: string;
|
|
835
913
|
componentSet: string;
|
|
914
|
+
nodeId?: string | undefined;
|
|
836
915
|
componentType?: "server" | "edge" | undefined;
|
|
837
916
|
contentItem?: {
|
|
838
917
|
id: string;
|
|
@@ -843,6 +922,7 @@ declare const PageContentsResolved: z.ZodObject<{
|
|
|
843
922
|
}>, z.ZodType<LayoutVariationNode, z.ZodTypeDef, {
|
|
844
923
|
type: "variation";
|
|
845
924
|
default: {};
|
|
925
|
+
nodeId?: string | undefined;
|
|
846
926
|
}>, z.ZodType<import("../layout-content").DeveloperDefinedLayoutNode, z.ZodTypeDef, {
|
|
847
927
|
type: "layout";
|
|
848
928
|
layout: {
|
|
@@ -868,11 +948,14 @@ declare const PageContentsResolved: z.ZodObject<{
|
|
|
868
948
|
}>;
|
|
869
949
|
name: string;
|
|
870
950
|
};
|
|
951
|
+
nodeId?: string | undefined;
|
|
871
952
|
}>]>, "many">, (LayoutVariationNode | ({
|
|
872
953
|
value: string;
|
|
873
954
|
type: "text";
|
|
955
|
+
nodeId: string;
|
|
874
956
|
} | {
|
|
875
957
|
type: "matrix-image";
|
|
958
|
+
nodeId: string;
|
|
876
959
|
matrixDomain: string;
|
|
877
960
|
matrixAssetId: string;
|
|
878
961
|
attributes?: (Record<string, string> & {
|
|
@@ -884,6 +967,7 @@ declare const PageContentsResolved: z.ZodObject<{
|
|
|
884
967
|
matrixIdentifier?: string | undefined;
|
|
885
968
|
} | {
|
|
886
969
|
type: "dam-image";
|
|
970
|
+
nodeId: string;
|
|
887
971
|
damSystemType: "bynder";
|
|
888
972
|
damSystemIdentifier: string;
|
|
889
973
|
damObjectId: string;
|
|
@@ -898,6 +982,7 @@ declare const PageContentsResolved: z.ZodObject<{
|
|
|
898
982
|
} | undefined;
|
|
899
983
|
} | {
|
|
900
984
|
type: "component";
|
|
985
|
+
nodeId: string;
|
|
901
986
|
componentId: string;
|
|
902
987
|
componentSet: string;
|
|
903
988
|
componentType?: "server" | "edge" | undefined;
|
|
@@ -909,6 +994,7 @@ declare const PageContentsResolved: z.ZodObject<{
|
|
|
909
994
|
} | undefined;
|
|
910
995
|
} | (({
|
|
911
996
|
type: "tag";
|
|
997
|
+
nodeId: string;
|
|
912
998
|
tag: string;
|
|
913
999
|
attributes?: Record<string, string> | undefined;
|
|
914
1000
|
font?: {
|
|
@@ -924,8 +1010,10 @@ declare const PageContentsResolved: z.ZodObject<{
|
|
|
924
1010
|
} | undefined;
|
|
925
1011
|
} | {
|
|
926
1012
|
type: "fragment";
|
|
1013
|
+
nodeId: string;
|
|
927
1014
|
} | {
|
|
928
1015
|
type: "link-to-matrix-asset";
|
|
1016
|
+
nodeId: string;
|
|
929
1017
|
matrixDomain: string;
|
|
930
1018
|
matrixAssetId: string;
|
|
931
1019
|
target: "_blank" | "_self" | "_parent" | "_top";
|
|
@@ -942,9 +1030,11 @@ declare const PageContentsResolved: z.ZodObject<{
|
|
|
942
1030
|
})) | import("../layout-content").DeveloperDefinedLayoutNode)[], ({
|
|
943
1031
|
value: string;
|
|
944
1032
|
type: "text";
|
|
1033
|
+
nodeId?: string | undefined;
|
|
945
1034
|
} | {
|
|
946
1035
|
type: "tag";
|
|
947
1036
|
tag: string;
|
|
1037
|
+
nodeId?: string | undefined;
|
|
948
1038
|
attributes?: Record<string, string> | undefined;
|
|
949
1039
|
font?: {
|
|
950
1040
|
bold?: boolean | undefined;
|
|
@@ -959,11 +1049,13 @@ declare const PageContentsResolved: z.ZodObject<{
|
|
|
959
1049
|
} | undefined;
|
|
960
1050
|
} | {
|
|
961
1051
|
type: "fragment";
|
|
1052
|
+
nodeId?: string | undefined;
|
|
962
1053
|
} | {
|
|
963
1054
|
type: "link-to-matrix-asset";
|
|
964
1055
|
matrixDomain: string;
|
|
965
1056
|
matrixAssetId: string;
|
|
966
1057
|
target: "_blank" | "_self" | "_parent" | "_top";
|
|
1058
|
+
nodeId?: string | undefined;
|
|
967
1059
|
attributes?: (Record<string, string> & {
|
|
968
1060
|
target?: undefined;
|
|
969
1061
|
href?: undefined;
|
|
@@ -976,6 +1068,7 @@ declare const PageContentsResolved: z.ZodObject<{
|
|
|
976
1068
|
type: "matrix-image";
|
|
977
1069
|
matrixDomain: string;
|
|
978
1070
|
matrixAssetId: string;
|
|
1071
|
+
nodeId?: string | undefined;
|
|
979
1072
|
attributes?: (Record<string, string> & {
|
|
980
1073
|
src?: undefined;
|
|
981
1074
|
}) | undefined;
|
|
@@ -988,6 +1081,7 @@ declare const PageContentsResolved: z.ZodObject<{
|
|
|
988
1081
|
damSystemType: "bynder";
|
|
989
1082
|
damSystemIdentifier: string;
|
|
990
1083
|
damObjectId: string;
|
|
1084
|
+
nodeId?: string | undefined;
|
|
991
1085
|
attributes?: (Record<string, string> & {
|
|
992
1086
|
src?: undefined;
|
|
993
1087
|
}) | undefined;
|
|
@@ -1001,6 +1095,7 @@ declare const PageContentsResolved: z.ZodObject<{
|
|
|
1001
1095
|
type: "component";
|
|
1002
1096
|
componentId: string;
|
|
1003
1097
|
componentSet: string;
|
|
1098
|
+
nodeId?: string | undefined;
|
|
1004
1099
|
componentType?: "server" | "edge" | undefined;
|
|
1005
1100
|
contentItem?: {
|
|
1006
1101
|
id: string;
|
|
@@ -1011,6 +1106,7 @@ declare const PageContentsResolved: z.ZodObject<{
|
|
|
1011
1106
|
} | {
|
|
1012
1107
|
type: "variation";
|
|
1013
1108
|
default: {};
|
|
1109
|
+
nodeId?: string | undefined;
|
|
1014
1110
|
} | {
|
|
1015
1111
|
type: "layout";
|
|
1016
1112
|
layout: {
|
|
@@ -1036,13 +1132,16 @@ declare const PageContentsResolved: z.ZodObject<{
|
|
|
1036
1132
|
}>;
|
|
1037
1133
|
name: string;
|
|
1038
1134
|
};
|
|
1135
|
+
nodeId?: string | undefined;
|
|
1039
1136
|
})[]>;
|
|
1040
1137
|
}, "strip", z.ZodTypeAny, {
|
|
1041
1138
|
main: (LayoutVariationNode | ({
|
|
1042
1139
|
value: string;
|
|
1043
1140
|
type: "text";
|
|
1141
|
+
nodeId: string;
|
|
1044
1142
|
} | {
|
|
1045
1143
|
type: "matrix-image";
|
|
1144
|
+
nodeId: string;
|
|
1046
1145
|
matrixDomain: string;
|
|
1047
1146
|
matrixAssetId: string;
|
|
1048
1147
|
attributes?: (Record<string, string> & {
|
|
@@ -1054,6 +1153,7 @@ declare const PageContentsResolved: z.ZodObject<{
|
|
|
1054
1153
|
matrixIdentifier?: string | undefined;
|
|
1055
1154
|
} | {
|
|
1056
1155
|
type: "dam-image";
|
|
1156
|
+
nodeId: string;
|
|
1057
1157
|
damSystemType: "bynder";
|
|
1058
1158
|
damSystemIdentifier: string;
|
|
1059
1159
|
damObjectId: string;
|
|
@@ -1068,6 +1168,7 @@ declare const PageContentsResolved: z.ZodObject<{
|
|
|
1068
1168
|
} | undefined;
|
|
1069
1169
|
} | {
|
|
1070
1170
|
type: "component";
|
|
1171
|
+
nodeId: string;
|
|
1071
1172
|
componentId: string;
|
|
1072
1173
|
componentSet: string;
|
|
1073
1174
|
componentType?: "server" | "edge" | undefined;
|
|
@@ -1079,6 +1180,7 @@ declare const PageContentsResolved: z.ZodObject<{
|
|
|
1079
1180
|
} | undefined;
|
|
1080
1181
|
} | (({
|
|
1081
1182
|
type: "tag";
|
|
1183
|
+
nodeId: string;
|
|
1082
1184
|
tag: string;
|
|
1083
1185
|
attributes?: Record<string, string> | undefined;
|
|
1084
1186
|
font?: {
|
|
@@ -1094,8 +1196,10 @@ declare const PageContentsResolved: z.ZodObject<{
|
|
|
1094
1196
|
} | undefined;
|
|
1095
1197
|
} | {
|
|
1096
1198
|
type: "fragment";
|
|
1199
|
+
nodeId: string;
|
|
1097
1200
|
} | {
|
|
1098
1201
|
type: "link-to-matrix-asset";
|
|
1202
|
+
nodeId: string;
|
|
1099
1203
|
matrixDomain: string;
|
|
1100
1204
|
matrixAssetId: string;
|
|
1101
1205
|
target: "_blank" | "_self" | "_parent" | "_top";
|
|
@@ -1114,9 +1218,11 @@ declare const PageContentsResolved: z.ZodObject<{
|
|
|
1114
1218
|
main: ({
|
|
1115
1219
|
value: string;
|
|
1116
1220
|
type: "text";
|
|
1221
|
+
nodeId?: string | undefined;
|
|
1117
1222
|
} | {
|
|
1118
1223
|
type: "tag";
|
|
1119
1224
|
tag: string;
|
|
1225
|
+
nodeId?: string | undefined;
|
|
1120
1226
|
attributes?: Record<string, string> | undefined;
|
|
1121
1227
|
font?: {
|
|
1122
1228
|
bold?: boolean | undefined;
|
|
@@ -1131,11 +1237,13 @@ declare const PageContentsResolved: z.ZodObject<{
|
|
|
1131
1237
|
} | undefined;
|
|
1132
1238
|
} | {
|
|
1133
1239
|
type: "fragment";
|
|
1240
|
+
nodeId?: string | undefined;
|
|
1134
1241
|
} | {
|
|
1135
1242
|
type: "link-to-matrix-asset";
|
|
1136
1243
|
matrixDomain: string;
|
|
1137
1244
|
matrixAssetId: string;
|
|
1138
1245
|
target: "_blank" | "_self" | "_parent" | "_top";
|
|
1246
|
+
nodeId?: string | undefined;
|
|
1139
1247
|
attributes?: (Record<string, string> & {
|
|
1140
1248
|
target?: undefined;
|
|
1141
1249
|
href?: undefined;
|
|
@@ -1148,6 +1256,7 @@ declare const PageContentsResolved: z.ZodObject<{
|
|
|
1148
1256
|
type: "matrix-image";
|
|
1149
1257
|
matrixDomain: string;
|
|
1150
1258
|
matrixAssetId: string;
|
|
1259
|
+
nodeId?: string | undefined;
|
|
1151
1260
|
attributes?: (Record<string, string> & {
|
|
1152
1261
|
src?: undefined;
|
|
1153
1262
|
}) | undefined;
|
|
@@ -1160,6 +1269,7 @@ declare const PageContentsResolved: z.ZodObject<{
|
|
|
1160
1269
|
damSystemType: "bynder";
|
|
1161
1270
|
damSystemIdentifier: string;
|
|
1162
1271
|
damObjectId: string;
|
|
1272
|
+
nodeId?: string | undefined;
|
|
1163
1273
|
attributes?: (Record<string, string> & {
|
|
1164
1274
|
src?: undefined;
|
|
1165
1275
|
}) | undefined;
|
|
@@ -1173,6 +1283,7 @@ declare const PageContentsResolved: z.ZodObject<{
|
|
|
1173
1283
|
type: "component";
|
|
1174
1284
|
componentId: string;
|
|
1175
1285
|
componentSet: string;
|
|
1286
|
+
nodeId?: string | undefined;
|
|
1176
1287
|
componentType?: "server" | "edge" | undefined;
|
|
1177
1288
|
contentItem?: {
|
|
1178
1289
|
id: string;
|
|
@@ -1183,6 +1294,7 @@ declare const PageContentsResolved: z.ZodObject<{
|
|
|
1183
1294
|
} | {
|
|
1184
1295
|
type: "variation";
|
|
1185
1296
|
default: {};
|
|
1297
|
+
nodeId?: string | undefined;
|
|
1186
1298
|
} | {
|
|
1187
1299
|
type: "layout";
|
|
1188
1300
|
layout: {
|
|
@@ -1208,6 +1320,7 @@ declare const PageContentsResolved: z.ZodObject<{
|
|
|
1208
1320
|
}>;
|
|
1209
1321
|
name: string;
|
|
1210
1322
|
};
|
|
1323
|
+
nodeId?: string | undefined;
|
|
1211
1324
|
})[];
|
|
1212
1325
|
}>;
|
|
1213
1326
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -1215,8 +1328,10 @@ declare const PageContentsResolved: z.ZodObject<{
|
|
|
1215
1328
|
main: (LayoutVariationNode | ({
|
|
1216
1329
|
value: string;
|
|
1217
1330
|
type: "text";
|
|
1331
|
+
nodeId: string;
|
|
1218
1332
|
} | {
|
|
1219
1333
|
type: "matrix-image";
|
|
1334
|
+
nodeId: string;
|
|
1220
1335
|
matrixDomain: string;
|
|
1221
1336
|
matrixAssetId: string;
|
|
1222
1337
|
attributes?: (Record<string, string> & {
|
|
@@ -1228,6 +1343,7 @@ declare const PageContentsResolved: z.ZodObject<{
|
|
|
1228
1343
|
matrixIdentifier?: string | undefined;
|
|
1229
1344
|
} | {
|
|
1230
1345
|
type: "dam-image";
|
|
1346
|
+
nodeId: string;
|
|
1231
1347
|
damSystemType: "bynder";
|
|
1232
1348
|
damSystemIdentifier: string;
|
|
1233
1349
|
damObjectId: string;
|
|
@@ -1242,6 +1358,7 @@ declare const PageContentsResolved: z.ZodObject<{
|
|
|
1242
1358
|
} | undefined;
|
|
1243
1359
|
} | {
|
|
1244
1360
|
type: "component";
|
|
1361
|
+
nodeId: string;
|
|
1245
1362
|
componentId: string;
|
|
1246
1363
|
componentSet: string;
|
|
1247
1364
|
componentType?: "server" | "edge" | undefined;
|
|
@@ -1253,6 +1370,7 @@ declare const PageContentsResolved: z.ZodObject<{
|
|
|
1253
1370
|
} | undefined;
|
|
1254
1371
|
} | (({
|
|
1255
1372
|
type: "tag";
|
|
1373
|
+
nodeId: string;
|
|
1256
1374
|
tag: string;
|
|
1257
1375
|
attributes?: Record<string, string> | undefined;
|
|
1258
1376
|
font?: {
|
|
@@ -1268,8 +1386,10 @@ declare const PageContentsResolved: z.ZodObject<{
|
|
|
1268
1386
|
} | undefined;
|
|
1269
1387
|
} | {
|
|
1270
1388
|
type: "fragment";
|
|
1389
|
+
nodeId: string;
|
|
1271
1390
|
} | {
|
|
1272
1391
|
type: "link-to-matrix-asset";
|
|
1392
|
+
nodeId: string;
|
|
1273
1393
|
matrixDomain: string;
|
|
1274
1394
|
matrixAssetId: string;
|
|
1275
1395
|
target: "_blank" | "_self" | "_parent" | "_top";
|
|
@@ -1291,9 +1411,11 @@ declare const PageContentsResolved: z.ZodObject<{
|
|
|
1291
1411
|
main: ({
|
|
1292
1412
|
value: string;
|
|
1293
1413
|
type: "text";
|
|
1414
|
+
nodeId?: string | undefined;
|
|
1294
1415
|
} | {
|
|
1295
1416
|
type: "tag";
|
|
1296
1417
|
tag: string;
|
|
1418
|
+
nodeId?: string | undefined;
|
|
1297
1419
|
attributes?: Record<string, string> | undefined;
|
|
1298
1420
|
font?: {
|
|
1299
1421
|
bold?: boolean | undefined;
|
|
@@ -1308,11 +1430,13 @@ declare const PageContentsResolved: z.ZodObject<{
|
|
|
1308
1430
|
} | undefined;
|
|
1309
1431
|
} | {
|
|
1310
1432
|
type: "fragment";
|
|
1433
|
+
nodeId?: string | undefined;
|
|
1311
1434
|
} | {
|
|
1312
1435
|
type: "link-to-matrix-asset";
|
|
1313
1436
|
matrixDomain: string;
|
|
1314
1437
|
matrixAssetId: string;
|
|
1315
1438
|
target: "_blank" | "_self" | "_parent" | "_top";
|
|
1439
|
+
nodeId?: string | undefined;
|
|
1316
1440
|
attributes?: (Record<string, string> & {
|
|
1317
1441
|
target?: undefined;
|
|
1318
1442
|
href?: undefined;
|
|
@@ -1325,6 +1449,7 @@ declare const PageContentsResolved: z.ZodObject<{
|
|
|
1325
1449
|
type: "matrix-image";
|
|
1326
1450
|
matrixDomain: string;
|
|
1327
1451
|
matrixAssetId: string;
|
|
1452
|
+
nodeId?: string | undefined;
|
|
1328
1453
|
attributes?: (Record<string, string> & {
|
|
1329
1454
|
src?: undefined;
|
|
1330
1455
|
}) | undefined;
|
|
@@ -1337,6 +1462,7 @@ declare const PageContentsResolved: z.ZodObject<{
|
|
|
1337
1462
|
damSystemType: "bynder";
|
|
1338
1463
|
damSystemIdentifier: string;
|
|
1339
1464
|
damObjectId: string;
|
|
1465
|
+
nodeId?: string | undefined;
|
|
1340
1466
|
attributes?: (Record<string, string> & {
|
|
1341
1467
|
src?: undefined;
|
|
1342
1468
|
}) | undefined;
|
|
@@ -1350,6 +1476,7 @@ declare const PageContentsResolved: z.ZodObject<{
|
|
|
1350
1476
|
type: "component";
|
|
1351
1477
|
componentId: string;
|
|
1352
1478
|
componentSet: string;
|
|
1479
|
+
nodeId?: string | undefined;
|
|
1353
1480
|
componentType?: "server" | "edge" | undefined;
|
|
1354
1481
|
contentItem?: {
|
|
1355
1482
|
id: string;
|
|
@@ -1360,6 +1487,7 @@ declare const PageContentsResolved: z.ZodObject<{
|
|
|
1360
1487
|
} | {
|
|
1361
1488
|
type: "variation";
|
|
1362
1489
|
default: {};
|
|
1490
|
+
nodeId?: string | undefined;
|
|
1363
1491
|
} | {
|
|
1364
1492
|
type: "layout";
|
|
1365
1493
|
layout: {
|
|
@@ -1385,6 +1513,7 @@ declare const PageContentsResolved: z.ZodObject<{
|
|
|
1385
1513
|
}>;
|
|
1386
1514
|
name: string;
|
|
1387
1515
|
};
|
|
1516
|
+
nodeId?: string | undefined;
|
|
1388
1517
|
})[];
|
|
1389
1518
|
};
|
|
1390
1519
|
name: "single-column";
|
|
@@ -1394,8 +1523,10 @@ declare const PageContentsResolved: z.ZodObject<{
|
|
|
1394
1523
|
left: z.ZodEffects<z.ZodArray<z.ZodUnion<[z.ZodType<{
|
|
1395
1524
|
value: string;
|
|
1396
1525
|
type: "text";
|
|
1526
|
+
nodeId: string;
|
|
1397
1527
|
} | {
|
|
1398
1528
|
type: "matrix-image";
|
|
1529
|
+
nodeId: string;
|
|
1399
1530
|
matrixDomain: string;
|
|
1400
1531
|
matrixAssetId: string;
|
|
1401
1532
|
attributes?: (Record<string, string> & {
|
|
@@ -1407,6 +1538,7 @@ declare const PageContentsResolved: z.ZodObject<{
|
|
|
1407
1538
|
matrixIdentifier?: string | undefined;
|
|
1408
1539
|
} | {
|
|
1409
1540
|
type: "dam-image";
|
|
1541
|
+
nodeId: string;
|
|
1410
1542
|
damSystemType: "bynder";
|
|
1411
1543
|
damSystemIdentifier: string;
|
|
1412
1544
|
damObjectId: string;
|
|
@@ -1421,6 +1553,7 @@ declare const PageContentsResolved: z.ZodObject<{
|
|
|
1421
1553
|
} | undefined;
|
|
1422
1554
|
} | {
|
|
1423
1555
|
type: "component";
|
|
1556
|
+
nodeId: string;
|
|
1424
1557
|
componentId: string;
|
|
1425
1558
|
componentSet: string;
|
|
1426
1559
|
componentType?: "server" | "edge" | undefined;
|
|
@@ -1432,6 +1565,7 @@ declare const PageContentsResolved: z.ZodObject<{
|
|
|
1432
1565
|
} | undefined;
|
|
1433
1566
|
} | (({
|
|
1434
1567
|
type: "tag";
|
|
1568
|
+
nodeId: string;
|
|
1435
1569
|
tag: string;
|
|
1436
1570
|
attributes?: Record<string, string> | undefined;
|
|
1437
1571
|
font?: {
|
|
@@ -1447,8 +1581,10 @@ declare const PageContentsResolved: z.ZodObject<{
|
|
|
1447
1581
|
} | undefined;
|
|
1448
1582
|
} | {
|
|
1449
1583
|
type: "fragment";
|
|
1584
|
+
nodeId: string;
|
|
1450
1585
|
} | {
|
|
1451
1586
|
type: "link-to-matrix-asset";
|
|
1587
|
+
nodeId: string;
|
|
1452
1588
|
matrixDomain: string;
|
|
1453
1589
|
matrixAssetId: string;
|
|
1454
1590
|
target: "_blank" | "_self" | "_parent" | "_top";
|
|
@@ -1465,9 +1601,11 @@ declare const PageContentsResolved: z.ZodObject<{
|
|
|
1465
1601
|
}), z.ZodTypeDef, {
|
|
1466
1602
|
value: string;
|
|
1467
1603
|
type: "text";
|
|
1604
|
+
nodeId?: string | undefined;
|
|
1468
1605
|
} | {
|
|
1469
1606
|
type: "tag";
|
|
1470
1607
|
tag: string;
|
|
1608
|
+
nodeId?: string | undefined;
|
|
1471
1609
|
attributes?: Record<string, string> | undefined;
|
|
1472
1610
|
font?: {
|
|
1473
1611
|
bold?: boolean | undefined;
|
|
@@ -1482,11 +1620,13 @@ declare const PageContentsResolved: z.ZodObject<{
|
|
|
1482
1620
|
} | undefined;
|
|
1483
1621
|
} | {
|
|
1484
1622
|
type: "fragment";
|
|
1623
|
+
nodeId?: string | undefined;
|
|
1485
1624
|
} | {
|
|
1486
1625
|
type: "link-to-matrix-asset";
|
|
1487
1626
|
matrixDomain: string;
|
|
1488
1627
|
matrixAssetId: string;
|
|
1489
1628
|
target: "_blank" | "_self" | "_parent" | "_top";
|
|
1629
|
+
nodeId?: string | undefined;
|
|
1490
1630
|
attributes?: (Record<string, string> & {
|
|
1491
1631
|
target?: undefined;
|
|
1492
1632
|
href?: undefined;
|
|
@@ -1499,6 +1639,7 @@ declare const PageContentsResolved: z.ZodObject<{
|
|
|
1499
1639
|
type: "matrix-image";
|
|
1500
1640
|
matrixDomain: string;
|
|
1501
1641
|
matrixAssetId: string;
|
|
1642
|
+
nodeId?: string | undefined;
|
|
1502
1643
|
attributes?: (Record<string, string> & {
|
|
1503
1644
|
src?: undefined;
|
|
1504
1645
|
}) | undefined;
|
|
@@ -1511,6 +1652,7 @@ declare const PageContentsResolved: z.ZodObject<{
|
|
|
1511
1652
|
damSystemType: "bynder";
|
|
1512
1653
|
damSystemIdentifier: string;
|
|
1513
1654
|
damObjectId: string;
|
|
1655
|
+
nodeId?: string | undefined;
|
|
1514
1656
|
attributes?: (Record<string, string> & {
|
|
1515
1657
|
src?: undefined;
|
|
1516
1658
|
}) | undefined;
|
|
@@ -1524,6 +1666,7 @@ declare const PageContentsResolved: z.ZodObject<{
|
|
|
1524
1666
|
type: "component";
|
|
1525
1667
|
componentId: string;
|
|
1526
1668
|
componentSet: string;
|
|
1669
|
+
nodeId?: string | undefined;
|
|
1527
1670
|
componentType?: "server" | "edge" | undefined;
|
|
1528
1671
|
contentItem?: {
|
|
1529
1672
|
id: string;
|
|
@@ -1534,6 +1677,7 @@ declare const PageContentsResolved: z.ZodObject<{
|
|
|
1534
1677
|
}>, z.ZodType<LayoutVariationNode, z.ZodTypeDef, {
|
|
1535
1678
|
type: "variation";
|
|
1536
1679
|
default: {};
|
|
1680
|
+
nodeId?: string | undefined;
|
|
1537
1681
|
}>, z.ZodType<import("../layout-content").DeveloperDefinedLayoutNode, z.ZodTypeDef, {
|
|
1538
1682
|
type: "layout";
|
|
1539
1683
|
layout: {
|
|
@@ -1559,11 +1703,14 @@ declare const PageContentsResolved: z.ZodObject<{
|
|
|
1559
1703
|
}>;
|
|
1560
1704
|
name: string;
|
|
1561
1705
|
};
|
|
1706
|
+
nodeId?: string | undefined;
|
|
1562
1707
|
}>]>, "many">, (LayoutVariationNode | ({
|
|
1563
1708
|
value: string;
|
|
1564
1709
|
type: "text";
|
|
1710
|
+
nodeId: string;
|
|
1565
1711
|
} | {
|
|
1566
1712
|
type: "matrix-image";
|
|
1713
|
+
nodeId: string;
|
|
1567
1714
|
matrixDomain: string;
|
|
1568
1715
|
matrixAssetId: string;
|
|
1569
1716
|
attributes?: (Record<string, string> & {
|
|
@@ -1575,6 +1722,7 @@ declare const PageContentsResolved: z.ZodObject<{
|
|
|
1575
1722
|
matrixIdentifier?: string | undefined;
|
|
1576
1723
|
} | {
|
|
1577
1724
|
type: "dam-image";
|
|
1725
|
+
nodeId: string;
|
|
1578
1726
|
damSystemType: "bynder";
|
|
1579
1727
|
damSystemIdentifier: string;
|
|
1580
1728
|
damObjectId: string;
|
|
@@ -1589,6 +1737,7 @@ declare const PageContentsResolved: z.ZodObject<{
|
|
|
1589
1737
|
} | undefined;
|
|
1590
1738
|
} | {
|
|
1591
1739
|
type: "component";
|
|
1740
|
+
nodeId: string;
|
|
1592
1741
|
componentId: string;
|
|
1593
1742
|
componentSet: string;
|
|
1594
1743
|
componentType?: "server" | "edge" | undefined;
|
|
@@ -1600,6 +1749,7 @@ declare const PageContentsResolved: z.ZodObject<{
|
|
|
1600
1749
|
} | undefined;
|
|
1601
1750
|
} | (({
|
|
1602
1751
|
type: "tag";
|
|
1752
|
+
nodeId: string;
|
|
1603
1753
|
tag: string;
|
|
1604
1754
|
attributes?: Record<string, string> | undefined;
|
|
1605
1755
|
font?: {
|
|
@@ -1615,8 +1765,10 @@ declare const PageContentsResolved: z.ZodObject<{
|
|
|
1615
1765
|
} | undefined;
|
|
1616
1766
|
} | {
|
|
1617
1767
|
type: "fragment";
|
|
1768
|
+
nodeId: string;
|
|
1618
1769
|
} | {
|
|
1619
1770
|
type: "link-to-matrix-asset";
|
|
1771
|
+
nodeId: string;
|
|
1620
1772
|
matrixDomain: string;
|
|
1621
1773
|
matrixAssetId: string;
|
|
1622
1774
|
target: "_blank" | "_self" | "_parent" | "_top";
|
|
@@ -1633,9 +1785,11 @@ declare const PageContentsResolved: z.ZodObject<{
|
|
|
1633
1785
|
})) | import("../layout-content").DeveloperDefinedLayoutNode)[], ({
|
|
1634
1786
|
value: string;
|
|
1635
1787
|
type: "text";
|
|
1788
|
+
nodeId?: string | undefined;
|
|
1636
1789
|
} | {
|
|
1637
1790
|
type: "tag";
|
|
1638
1791
|
tag: string;
|
|
1792
|
+
nodeId?: string | undefined;
|
|
1639
1793
|
attributes?: Record<string, string> | undefined;
|
|
1640
1794
|
font?: {
|
|
1641
1795
|
bold?: boolean | undefined;
|
|
@@ -1650,11 +1804,13 @@ declare const PageContentsResolved: z.ZodObject<{
|
|
|
1650
1804
|
} | undefined;
|
|
1651
1805
|
} | {
|
|
1652
1806
|
type: "fragment";
|
|
1807
|
+
nodeId?: string | undefined;
|
|
1653
1808
|
} | {
|
|
1654
1809
|
type: "link-to-matrix-asset";
|
|
1655
1810
|
matrixDomain: string;
|
|
1656
1811
|
matrixAssetId: string;
|
|
1657
1812
|
target: "_blank" | "_self" | "_parent" | "_top";
|
|
1813
|
+
nodeId?: string | undefined;
|
|
1658
1814
|
attributes?: (Record<string, string> & {
|
|
1659
1815
|
target?: undefined;
|
|
1660
1816
|
href?: undefined;
|
|
@@ -1667,6 +1823,7 @@ declare const PageContentsResolved: z.ZodObject<{
|
|
|
1667
1823
|
type: "matrix-image";
|
|
1668
1824
|
matrixDomain: string;
|
|
1669
1825
|
matrixAssetId: string;
|
|
1826
|
+
nodeId?: string | undefined;
|
|
1670
1827
|
attributes?: (Record<string, string> & {
|
|
1671
1828
|
src?: undefined;
|
|
1672
1829
|
}) | undefined;
|
|
@@ -1679,6 +1836,7 @@ declare const PageContentsResolved: z.ZodObject<{
|
|
|
1679
1836
|
damSystemType: "bynder";
|
|
1680
1837
|
damSystemIdentifier: string;
|
|
1681
1838
|
damObjectId: string;
|
|
1839
|
+
nodeId?: string | undefined;
|
|
1682
1840
|
attributes?: (Record<string, string> & {
|
|
1683
1841
|
src?: undefined;
|
|
1684
1842
|
}) | undefined;
|
|
@@ -1692,6 +1850,7 @@ declare const PageContentsResolved: z.ZodObject<{
|
|
|
1692
1850
|
type: "component";
|
|
1693
1851
|
componentId: string;
|
|
1694
1852
|
componentSet: string;
|
|
1853
|
+
nodeId?: string | undefined;
|
|
1695
1854
|
componentType?: "server" | "edge" | undefined;
|
|
1696
1855
|
contentItem?: {
|
|
1697
1856
|
id: string;
|
|
@@ -1702,6 +1861,7 @@ declare const PageContentsResolved: z.ZodObject<{
|
|
|
1702
1861
|
} | {
|
|
1703
1862
|
type: "variation";
|
|
1704
1863
|
default: {};
|
|
1864
|
+
nodeId?: string | undefined;
|
|
1705
1865
|
} | {
|
|
1706
1866
|
type: "layout";
|
|
1707
1867
|
layout: {
|
|
@@ -1727,12 +1887,15 @@ declare const PageContentsResolved: z.ZodObject<{
|
|
|
1727
1887
|
}>;
|
|
1728
1888
|
name: string;
|
|
1729
1889
|
};
|
|
1890
|
+
nodeId?: string | undefined;
|
|
1730
1891
|
})[]>;
|
|
1731
1892
|
right: z.ZodEffects<z.ZodArray<z.ZodUnion<[z.ZodType<{
|
|
1732
1893
|
value: string;
|
|
1733
1894
|
type: "text";
|
|
1895
|
+
nodeId: string;
|
|
1734
1896
|
} | {
|
|
1735
1897
|
type: "matrix-image";
|
|
1898
|
+
nodeId: string;
|
|
1736
1899
|
matrixDomain: string;
|
|
1737
1900
|
matrixAssetId: string;
|
|
1738
1901
|
attributes?: (Record<string, string> & {
|
|
@@ -1744,6 +1907,7 @@ declare const PageContentsResolved: z.ZodObject<{
|
|
|
1744
1907
|
matrixIdentifier?: string | undefined;
|
|
1745
1908
|
} | {
|
|
1746
1909
|
type: "dam-image";
|
|
1910
|
+
nodeId: string;
|
|
1747
1911
|
damSystemType: "bynder";
|
|
1748
1912
|
damSystemIdentifier: string;
|
|
1749
1913
|
damObjectId: string;
|
|
@@ -1758,6 +1922,7 @@ declare const PageContentsResolved: z.ZodObject<{
|
|
|
1758
1922
|
} | undefined;
|
|
1759
1923
|
} | {
|
|
1760
1924
|
type: "component";
|
|
1925
|
+
nodeId: string;
|
|
1761
1926
|
componentId: string;
|
|
1762
1927
|
componentSet: string;
|
|
1763
1928
|
componentType?: "server" | "edge" | undefined;
|
|
@@ -1769,6 +1934,7 @@ declare const PageContentsResolved: z.ZodObject<{
|
|
|
1769
1934
|
} | undefined;
|
|
1770
1935
|
} | (({
|
|
1771
1936
|
type: "tag";
|
|
1937
|
+
nodeId: string;
|
|
1772
1938
|
tag: string;
|
|
1773
1939
|
attributes?: Record<string, string> | undefined;
|
|
1774
1940
|
font?: {
|
|
@@ -1784,8 +1950,10 @@ declare const PageContentsResolved: z.ZodObject<{
|
|
|
1784
1950
|
} | undefined;
|
|
1785
1951
|
} | {
|
|
1786
1952
|
type: "fragment";
|
|
1953
|
+
nodeId: string;
|
|
1787
1954
|
} | {
|
|
1788
1955
|
type: "link-to-matrix-asset";
|
|
1956
|
+
nodeId: string;
|
|
1789
1957
|
matrixDomain: string;
|
|
1790
1958
|
matrixAssetId: string;
|
|
1791
1959
|
target: "_blank" | "_self" | "_parent" | "_top";
|
|
@@ -1802,9 +1970,11 @@ declare const PageContentsResolved: z.ZodObject<{
|
|
|
1802
1970
|
}), z.ZodTypeDef, {
|
|
1803
1971
|
value: string;
|
|
1804
1972
|
type: "text";
|
|
1973
|
+
nodeId?: string | undefined;
|
|
1805
1974
|
} | {
|
|
1806
1975
|
type: "tag";
|
|
1807
1976
|
tag: string;
|
|
1977
|
+
nodeId?: string | undefined;
|
|
1808
1978
|
attributes?: Record<string, string> | undefined;
|
|
1809
1979
|
font?: {
|
|
1810
1980
|
bold?: boolean | undefined;
|
|
@@ -1819,11 +1989,13 @@ declare const PageContentsResolved: z.ZodObject<{
|
|
|
1819
1989
|
} | undefined;
|
|
1820
1990
|
} | {
|
|
1821
1991
|
type: "fragment";
|
|
1992
|
+
nodeId?: string | undefined;
|
|
1822
1993
|
} | {
|
|
1823
1994
|
type: "link-to-matrix-asset";
|
|
1824
1995
|
matrixDomain: string;
|
|
1825
1996
|
matrixAssetId: string;
|
|
1826
1997
|
target: "_blank" | "_self" | "_parent" | "_top";
|
|
1998
|
+
nodeId?: string | undefined;
|
|
1827
1999
|
attributes?: (Record<string, string> & {
|
|
1828
2000
|
target?: undefined;
|
|
1829
2001
|
href?: undefined;
|
|
@@ -1836,6 +2008,7 @@ declare const PageContentsResolved: z.ZodObject<{
|
|
|
1836
2008
|
type: "matrix-image";
|
|
1837
2009
|
matrixDomain: string;
|
|
1838
2010
|
matrixAssetId: string;
|
|
2011
|
+
nodeId?: string | undefined;
|
|
1839
2012
|
attributes?: (Record<string, string> & {
|
|
1840
2013
|
src?: undefined;
|
|
1841
2014
|
}) | undefined;
|
|
@@ -1848,6 +2021,7 @@ declare const PageContentsResolved: z.ZodObject<{
|
|
|
1848
2021
|
damSystemType: "bynder";
|
|
1849
2022
|
damSystemIdentifier: string;
|
|
1850
2023
|
damObjectId: string;
|
|
2024
|
+
nodeId?: string | undefined;
|
|
1851
2025
|
attributes?: (Record<string, string> & {
|
|
1852
2026
|
src?: undefined;
|
|
1853
2027
|
}) | undefined;
|
|
@@ -1861,6 +2035,7 @@ declare const PageContentsResolved: z.ZodObject<{
|
|
|
1861
2035
|
type: "component";
|
|
1862
2036
|
componentId: string;
|
|
1863
2037
|
componentSet: string;
|
|
2038
|
+
nodeId?: string | undefined;
|
|
1864
2039
|
componentType?: "server" | "edge" | undefined;
|
|
1865
2040
|
contentItem?: {
|
|
1866
2041
|
id: string;
|
|
@@ -1871,6 +2046,7 @@ declare const PageContentsResolved: z.ZodObject<{
|
|
|
1871
2046
|
}>, z.ZodType<LayoutVariationNode, z.ZodTypeDef, {
|
|
1872
2047
|
type: "variation";
|
|
1873
2048
|
default: {};
|
|
2049
|
+
nodeId?: string | undefined;
|
|
1874
2050
|
}>, z.ZodType<import("../layout-content").DeveloperDefinedLayoutNode, z.ZodTypeDef, {
|
|
1875
2051
|
type: "layout";
|
|
1876
2052
|
layout: {
|
|
@@ -1896,11 +2072,14 @@ declare const PageContentsResolved: z.ZodObject<{
|
|
|
1896
2072
|
}>;
|
|
1897
2073
|
name: string;
|
|
1898
2074
|
};
|
|
2075
|
+
nodeId?: string | undefined;
|
|
1899
2076
|
}>]>, "many">, (LayoutVariationNode | ({
|
|
1900
2077
|
value: string;
|
|
1901
2078
|
type: "text";
|
|
2079
|
+
nodeId: string;
|
|
1902
2080
|
} | {
|
|
1903
2081
|
type: "matrix-image";
|
|
2082
|
+
nodeId: string;
|
|
1904
2083
|
matrixDomain: string;
|
|
1905
2084
|
matrixAssetId: string;
|
|
1906
2085
|
attributes?: (Record<string, string> & {
|
|
@@ -1912,6 +2091,7 @@ declare const PageContentsResolved: z.ZodObject<{
|
|
|
1912
2091
|
matrixIdentifier?: string | undefined;
|
|
1913
2092
|
} | {
|
|
1914
2093
|
type: "dam-image";
|
|
2094
|
+
nodeId: string;
|
|
1915
2095
|
damSystemType: "bynder";
|
|
1916
2096
|
damSystemIdentifier: string;
|
|
1917
2097
|
damObjectId: string;
|
|
@@ -1926,6 +2106,7 @@ declare const PageContentsResolved: z.ZodObject<{
|
|
|
1926
2106
|
} | undefined;
|
|
1927
2107
|
} | {
|
|
1928
2108
|
type: "component";
|
|
2109
|
+
nodeId: string;
|
|
1929
2110
|
componentId: string;
|
|
1930
2111
|
componentSet: string;
|
|
1931
2112
|
componentType?: "server" | "edge" | undefined;
|
|
@@ -1937,6 +2118,7 @@ declare const PageContentsResolved: z.ZodObject<{
|
|
|
1937
2118
|
} | undefined;
|
|
1938
2119
|
} | (({
|
|
1939
2120
|
type: "tag";
|
|
2121
|
+
nodeId: string;
|
|
1940
2122
|
tag: string;
|
|
1941
2123
|
attributes?: Record<string, string> | undefined;
|
|
1942
2124
|
font?: {
|
|
@@ -1952,8 +2134,10 @@ declare const PageContentsResolved: z.ZodObject<{
|
|
|
1952
2134
|
} | undefined;
|
|
1953
2135
|
} | {
|
|
1954
2136
|
type: "fragment";
|
|
2137
|
+
nodeId: string;
|
|
1955
2138
|
} | {
|
|
1956
2139
|
type: "link-to-matrix-asset";
|
|
2140
|
+
nodeId: string;
|
|
1957
2141
|
matrixDomain: string;
|
|
1958
2142
|
matrixAssetId: string;
|
|
1959
2143
|
target: "_blank" | "_self" | "_parent" | "_top";
|
|
@@ -1970,9 +2154,11 @@ declare const PageContentsResolved: z.ZodObject<{
|
|
|
1970
2154
|
})) | import("../layout-content").DeveloperDefinedLayoutNode)[], ({
|
|
1971
2155
|
value: string;
|
|
1972
2156
|
type: "text";
|
|
2157
|
+
nodeId?: string | undefined;
|
|
1973
2158
|
} | {
|
|
1974
2159
|
type: "tag";
|
|
1975
2160
|
tag: string;
|
|
2161
|
+
nodeId?: string | undefined;
|
|
1976
2162
|
attributes?: Record<string, string> | undefined;
|
|
1977
2163
|
font?: {
|
|
1978
2164
|
bold?: boolean | undefined;
|
|
@@ -1987,11 +2173,13 @@ declare const PageContentsResolved: z.ZodObject<{
|
|
|
1987
2173
|
} | undefined;
|
|
1988
2174
|
} | {
|
|
1989
2175
|
type: "fragment";
|
|
2176
|
+
nodeId?: string | undefined;
|
|
1990
2177
|
} | {
|
|
1991
2178
|
type: "link-to-matrix-asset";
|
|
1992
2179
|
matrixDomain: string;
|
|
1993
2180
|
matrixAssetId: string;
|
|
1994
2181
|
target: "_blank" | "_self" | "_parent" | "_top";
|
|
2182
|
+
nodeId?: string | undefined;
|
|
1995
2183
|
attributes?: (Record<string, string> & {
|
|
1996
2184
|
target?: undefined;
|
|
1997
2185
|
href?: undefined;
|
|
@@ -2004,6 +2192,7 @@ declare const PageContentsResolved: z.ZodObject<{
|
|
|
2004
2192
|
type: "matrix-image";
|
|
2005
2193
|
matrixDomain: string;
|
|
2006
2194
|
matrixAssetId: string;
|
|
2195
|
+
nodeId?: string | undefined;
|
|
2007
2196
|
attributes?: (Record<string, string> & {
|
|
2008
2197
|
src?: undefined;
|
|
2009
2198
|
}) | undefined;
|
|
@@ -2016,6 +2205,7 @@ declare const PageContentsResolved: z.ZodObject<{
|
|
|
2016
2205
|
damSystemType: "bynder";
|
|
2017
2206
|
damSystemIdentifier: string;
|
|
2018
2207
|
damObjectId: string;
|
|
2208
|
+
nodeId?: string | undefined;
|
|
2019
2209
|
attributes?: (Record<string, string> & {
|
|
2020
2210
|
src?: undefined;
|
|
2021
2211
|
}) | undefined;
|
|
@@ -2029,6 +2219,7 @@ declare const PageContentsResolved: z.ZodObject<{
|
|
|
2029
2219
|
type: "component";
|
|
2030
2220
|
componentId: string;
|
|
2031
2221
|
componentSet: string;
|
|
2222
|
+
nodeId?: string | undefined;
|
|
2032
2223
|
componentType?: "server" | "edge" | undefined;
|
|
2033
2224
|
contentItem?: {
|
|
2034
2225
|
id: string;
|
|
@@ -2039,6 +2230,7 @@ declare const PageContentsResolved: z.ZodObject<{
|
|
|
2039
2230
|
} | {
|
|
2040
2231
|
type: "variation";
|
|
2041
2232
|
default: {};
|
|
2233
|
+
nodeId?: string | undefined;
|
|
2042
2234
|
} | {
|
|
2043
2235
|
type: "layout";
|
|
2044
2236
|
layout: {
|
|
@@ -2064,13 +2256,16 @@ declare const PageContentsResolved: z.ZodObject<{
|
|
|
2064
2256
|
}>;
|
|
2065
2257
|
name: string;
|
|
2066
2258
|
};
|
|
2259
|
+
nodeId?: string | undefined;
|
|
2067
2260
|
})[]>;
|
|
2068
2261
|
}, "strip", z.ZodTypeAny, {
|
|
2069
2262
|
left: (LayoutVariationNode | ({
|
|
2070
2263
|
value: string;
|
|
2071
2264
|
type: "text";
|
|
2265
|
+
nodeId: string;
|
|
2072
2266
|
} | {
|
|
2073
2267
|
type: "matrix-image";
|
|
2268
|
+
nodeId: string;
|
|
2074
2269
|
matrixDomain: string;
|
|
2075
2270
|
matrixAssetId: string;
|
|
2076
2271
|
attributes?: (Record<string, string> & {
|
|
@@ -2082,6 +2277,7 @@ declare const PageContentsResolved: z.ZodObject<{
|
|
|
2082
2277
|
matrixIdentifier?: string | undefined;
|
|
2083
2278
|
} | {
|
|
2084
2279
|
type: "dam-image";
|
|
2280
|
+
nodeId: string;
|
|
2085
2281
|
damSystemType: "bynder";
|
|
2086
2282
|
damSystemIdentifier: string;
|
|
2087
2283
|
damObjectId: string;
|
|
@@ -2096,6 +2292,7 @@ declare const PageContentsResolved: z.ZodObject<{
|
|
|
2096
2292
|
} | undefined;
|
|
2097
2293
|
} | {
|
|
2098
2294
|
type: "component";
|
|
2295
|
+
nodeId: string;
|
|
2099
2296
|
componentId: string;
|
|
2100
2297
|
componentSet: string;
|
|
2101
2298
|
componentType?: "server" | "edge" | undefined;
|
|
@@ -2107,6 +2304,7 @@ declare const PageContentsResolved: z.ZodObject<{
|
|
|
2107
2304
|
} | undefined;
|
|
2108
2305
|
} | (({
|
|
2109
2306
|
type: "tag";
|
|
2307
|
+
nodeId: string;
|
|
2110
2308
|
tag: string;
|
|
2111
2309
|
attributes?: Record<string, string> | undefined;
|
|
2112
2310
|
font?: {
|
|
@@ -2122,8 +2320,10 @@ declare const PageContentsResolved: z.ZodObject<{
|
|
|
2122
2320
|
} | undefined;
|
|
2123
2321
|
} | {
|
|
2124
2322
|
type: "fragment";
|
|
2323
|
+
nodeId: string;
|
|
2125
2324
|
} | {
|
|
2126
2325
|
type: "link-to-matrix-asset";
|
|
2326
|
+
nodeId: string;
|
|
2127
2327
|
matrixDomain: string;
|
|
2128
2328
|
matrixAssetId: string;
|
|
2129
2329
|
target: "_blank" | "_self" | "_parent" | "_top";
|
|
@@ -2141,8 +2341,10 @@ declare const PageContentsResolved: z.ZodObject<{
|
|
|
2141
2341
|
right: (LayoutVariationNode | ({
|
|
2142
2342
|
value: string;
|
|
2143
2343
|
type: "text";
|
|
2344
|
+
nodeId: string;
|
|
2144
2345
|
} | {
|
|
2145
2346
|
type: "matrix-image";
|
|
2347
|
+
nodeId: string;
|
|
2146
2348
|
matrixDomain: string;
|
|
2147
2349
|
matrixAssetId: string;
|
|
2148
2350
|
attributes?: (Record<string, string> & {
|
|
@@ -2154,6 +2356,7 @@ declare const PageContentsResolved: z.ZodObject<{
|
|
|
2154
2356
|
matrixIdentifier?: string | undefined;
|
|
2155
2357
|
} | {
|
|
2156
2358
|
type: "dam-image";
|
|
2359
|
+
nodeId: string;
|
|
2157
2360
|
damSystemType: "bynder";
|
|
2158
2361
|
damSystemIdentifier: string;
|
|
2159
2362
|
damObjectId: string;
|
|
@@ -2168,6 +2371,7 @@ declare const PageContentsResolved: z.ZodObject<{
|
|
|
2168
2371
|
} | undefined;
|
|
2169
2372
|
} | {
|
|
2170
2373
|
type: "component";
|
|
2374
|
+
nodeId: string;
|
|
2171
2375
|
componentId: string;
|
|
2172
2376
|
componentSet: string;
|
|
2173
2377
|
componentType?: "server" | "edge" | undefined;
|
|
@@ -2179,6 +2383,7 @@ declare const PageContentsResolved: z.ZodObject<{
|
|
|
2179
2383
|
} | undefined;
|
|
2180
2384
|
} | (({
|
|
2181
2385
|
type: "tag";
|
|
2386
|
+
nodeId: string;
|
|
2182
2387
|
tag: string;
|
|
2183
2388
|
attributes?: Record<string, string> | undefined;
|
|
2184
2389
|
font?: {
|
|
@@ -2194,8 +2399,10 @@ declare const PageContentsResolved: z.ZodObject<{
|
|
|
2194
2399
|
} | undefined;
|
|
2195
2400
|
} | {
|
|
2196
2401
|
type: "fragment";
|
|
2402
|
+
nodeId: string;
|
|
2197
2403
|
} | {
|
|
2198
2404
|
type: "link-to-matrix-asset";
|
|
2405
|
+
nodeId: string;
|
|
2199
2406
|
matrixDomain: string;
|
|
2200
2407
|
matrixAssetId: string;
|
|
2201
2408
|
target: "_blank" | "_self" | "_parent" | "_top";
|
|
@@ -2214,9 +2421,11 @@ declare const PageContentsResolved: z.ZodObject<{
|
|
|
2214
2421
|
left: ({
|
|
2215
2422
|
value: string;
|
|
2216
2423
|
type: "text";
|
|
2424
|
+
nodeId?: string | undefined;
|
|
2217
2425
|
} | {
|
|
2218
2426
|
type: "tag";
|
|
2219
2427
|
tag: string;
|
|
2428
|
+
nodeId?: string | undefined;
|
|
2220
2429
|
attributes?: Record<string, string> | undefined;
|
|
2221
2430
|
font?: {
|
|
2222
2431
|
bold?: boolean | undefined;
|
|
@@ -2231,11 +2440,13 @@ declare const PageContentsResolved: z.ZodObject<{
|
|
|
2231
2440
|
} | undefined;
|
|
2232
2441
|
} | {
|
|
2233
2442
|
type: "fragment";
|
|
2443
|
+
nodeId?: string | undefined;
|
|
2234
2444
|
} | {
|
|
2235
2445
|
type: "link-to-matrix-asset";
|
|
2236
2446
|
matrixDomain: string;
|
|
2237
2447
|
matrixAssetId: string;
|
|
2238
2448
|
target: "_blank" | "_self" | "_parent" | "_top";
|
|
2449
|
+
nodeId?: string | undefined;
|
|
2239
2450
|
attributes?: (Record<string, string> & {
|
|
2240
2451
|
target?: undefined;
|
|
2241
2452
|
href?: undefined;
|
|
@@ -2248,6 +2459,7 @@ declare const PageContentsResolved: z.ZodObject<{
|
|
|
2248
2459
|
type: "matrix-image";
|
|
2249
2460
|
matrixDomain: string;
|
|
2250
2461
|
matrixAssetId: string;
|
|
2462
|
+
nodeId?: string | undefined;
|
|
2251
2463
|
attributes?: (Record<string, string> & {
|
|
2252
2464
|
src?: undefined;
|
|
2253
2465
|
}) | undefined;
|
|
@@ -2260,6 +2472,7 @@ declare const PageContentsResolved: z.ZodObject<{
|
|
|
2260
2472
|
damSystemType: "bynder";
|
|
2261
2473
|
damSystemIdentifier: string;
|
|
2262
2474
|
damObjectId: string;
|
|
2475
|
+
nodeId?: string | undefined;
|
|
2263
2476
|
attributes?: (Record<string, string> & {
|
|
2264
2477
|
src?: undefined;
|
|
2265
2478
|
}) | undefined;
|
|
@@ -2273,6 +2486,7 @@ declare const PageContentsResolved: z.ZodObject<{
|
|
|
2273
2486
|
type: "component";
|
|
2274
2487
|
componentId: string;
|
|
2275
2488
|
componentSet: string;
|
|
2489
|
+
nodeId?: string | undefined;
|
|
2276
2490
|
componentType?: "server" | "edge" | undefined;
|
|
2277
2491
|
contentItem?: {
|
|
2278
2492
|
id: string;
|
|
@@ -2283,6 +2497,7 @@ declare const PageContentsResolved: z.ZodObject<{
|
|
|
2283
2497
|
} | {
|
|
2284
2498
|
type: "variation";
|
|
2285
2499
|
default: {};
|
|
2500
|
+
nodeId?: string | undefined;
|
|
2286
2501
|
} | {
|
|
2287
2502
|
type: "layout";
|
|
2288
2503
|
layout: {
|
|
@@ -2308,13 +2523,16 @@ declare const PageContentsResolved: z.ZodObject<{
|
|
|
2308
2523
|
}>;
|
|
2309
2524
|
name: string;
|
|
2310
2525
|
};
|
|
2526
|
+
nodeId?: string | undefined;
|
|
2311
2527
|
})[];
|
|
2312
2528
|
right: ({
|
|
2313
2529
|
value: string;
|
|
2314
2530
|
type: "text";
|
|
2531
|
+
nodeId?: string | undefined;
|
|
2315
2532
|
} | {
|
|
2316
2533
|
type: "tag";
|
|
2317
2534
|
tag: string;
|
|
2535
|
+
nodeId?: string | undefined;
|
|
2318
2536
|
attributes?: Record<string, string> | undefined;
|
|
2319
2537
|
font?: {
|
|
2320
2538
|
bold?: boolean | undefined;
|
|
@@ -2329,11 +2547,13 @@ declare const PageContentsResolved: z.ZodObject<{
|
|
|
2329
2547
|
} | undefined;
|
|
2330
2548
|
} | {
|
|
2331
2549
|
type: "fragment";
|
|
2550
|
+
nodeId?: string | undefined;
|
|
2332
2551
|
} | {
|
|
2333
2552
|
type: "link-to-matrix-asset";
|
|
2334
2553
|
matrixDomain: string;
|
|
2335
2554
|
matrixAssetId: string;
|
|
2336
2555
|
target: "_blank" | "_self" | "_parent" | "_top";
|
|
2556
|
+
nodeId?: string | undefined;
|
|
2337
2557
|
attributes?: (Record<string, string> & {
|
|
2338
2558
|
target?: undefined;
|
|
2339
2559
|
href?: undefined;
|
|
@@ -2346,6 +2566,7 @@ declare const PageContentsResolved: z.ZodObject<{
|
|
|
2346
2566
|
type: "matrix-image";
|
|
2347
2567
|
matrixDomain: string;
|
|
2348
2568
|
matrixAssetId: string;
|
|
2569
|
+
nodeId?: string | undefined;
|
|
2349
2570
|
attributes?: (Record<string, string> & {
|
|
2350
2571
|
src?: undefined;
|
|
2351
2572
|
}) | undefined;
|
|
@@ -2358,6 +2579,7 @@ declare const PageContentsResolved: z.ZodObject<{
|
|
|
2358
2579
|
damSystemType: "bynder";
|
|
2359
2580
|
damSystemIdentifier: string;
|
|
2360
2581
|
damObjectId: string;
|
|
2582
|
+
nodeId?: string | undefined;
|
|
2361
2583
|
attributes?: (Record<string, string> & {
|
|
2362
2584
|
src?: undefined;
|
|
2363
2585
|
}) | undefined;
|
|
@@ -2371,6 +2593,7 @@ declare const PageContentsResolved: z.ZodObject<{
|
|
|
2371
2593
|
type: "component";
|
|
2372
2594
|
componentId: string;
|
|
2373
2595
|
componentSet: string;
|
|
2596
|
+
nodeId?: string | undefined;
|
|
2374
2597
|
componentType?: "server" | "edge" | undefined;
|
|
2375
2598
|
contentItem?: {
|
|
2376
2599
|
id: string;
|
|
@@ -2381,6 +2604,7 @@ declare const PageContentsResolved: z.ZodObject<{
|
|
|
2381
2604
|
} | {
|
|
2382
2605
|
type: "variation";
|
|
2383
2606
|
default: {};
|
|
2607
|
+
nodeId?: string | undefined;
|
|
2384
2608
|
} | {
|
|
2385
2609
|
type: "layout";
|
|
2386
2610
|
layout: {
|
|
@@ -2406,6 +2630,7 @@ declare const PageContentsResolved: z.ZodObject<{
|
|
|
2406
2630
|
}>;
|
|
2407
2631
|
name: string;
|
|
2408
2632
|
};
|
|
2633
|
+
nodeId?: string | undefined;
|
|
2409
2634
|
})[];
|
|
2410
2635
|
}>;
|
|
2411
2636
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -2413,8 +2638,10 @@ declare const PageContentsResolved: z.ZodObject<{
|
|
|
2413
2638
|
left: (LayoutVariationNode | ({
|
|
2414
2639
|
value: string;
|
|
2415
2640
|
type: "text";
|
|
2641
|
+
nodeId: string;
|
|
2416
2642
|
} | {
|
|
2417
2643
|
type: "matrix-image";
|
|
2644
|
+
nodeId: string;
|
|
2418
2645
|
matrixDomain: string;
|
|
2419
2646
|
matrixAssetId: string;
|
|
2420
2647
|
attributes?: (Record<string, string> & {
|
|
@@ -2426,6 +2653,7 @@ declare const PageContentsResolved: z.ZodObject<{
|
|
|
2426
2653
|
matrixIdentifier?: string | undefined;
|
|
2427
2654
|
} | {
|
|
2428
2655
|
type: "dam-image";
|
|
2656
|
+
nodeId: string;
|
|
2429
2657
|
damSystemType: "bynder";
|
|
2430
2658
|
damSystemIdentifier: string;
|
|
2431
2659
|
damObjectId: string;
|
|
@@ -2440,6 +2668,7 @@ declare const PageContentsResolved: z.ZodObject<{
|
|
|
2440
2668
|
} | undefined;
|
|
2441
2669
|
} | {
|
|
2442
2670
|
type: "component";
|
|
2671
|
+
nodeId: string;
|
|
2443
2672
|
componentId: string;
|
|
2444
2673
|
componentSet: string;
|
|
2445
2674
|
componentType?: "server" | "edge" | undefined;
|
|
@@ -2451,6 +2680,7 @@ declare const PageContentsResolved: z.ZodObject<{
|
|
|
2451
2680
|
} | undefined;
|
|
2452
2681
|
} | (({
|
|
2453
2682
|
type: "tag";
|
|
2683
|
+
nodeId: string;
|
|
2454
2684
|
tag: string;
|
|
2455
2685
|
attributes?: Record<string, string> | undefined;
|
|
2456
2686
|
font?: {
|
|
@@ -2466,8 +2696,10 @@ declare const PageContentsResolved: z.ZodObject<{
|
|
|
2466
2696
|
} | undefined;
|
|
2467
2697
|
} | {
|
|
2468
2698
|
type: "fragment";
|
|
2699
|
+
nodeId: string;
|
|
2469
2700
|
} | {
|
|
2470
2701
|
type: "link-to-matrix-asset";
|
|
2702
|
+
nodeId: string;
|
|
2471
2703
|
matrixDomain: string;
|
|
2472
2704
|
matrixAssetId: string;
|
|
2473
2705
|
target: "_blank" | "_self" | "_parent" | "_top";
|
|
@@ -2485,8 +2717,10 @@ declare const PageContentsResolved: z.ZodObject<{
|
|
|
2485
2717
|
right: (LayoutVariationNode | ({
|
|
2486
2718
|
value: string;
|
|
2487
2719
|
type: "text";
|
|
2720
|
+
nodeId: string;
|
|
2488
2721
|
} | {
|
|
2489
2722
|
type: "matrix-image";
|
|
2723
|
+
nodeId: string;
|
|
2490
2724
|
matrixDomain: string;
|
|
2491
2725
|
matrixAssetId: string;
|
|
2492
2726
|
attributes?: (Record<string, string> & {
|
|
@@ -2498,6 +2732,7 @@ declare const PageContentsResolved: z.ZodObject<{
|
|
|
2498
2732
|
matrixIdentifier?: string | undefined;
|
|
2499
2733
|
} | {
|
|
2500
2734
|
type: "dam-image";
|
|
2735
|
+
nodeId: string;
|
|
2501
2736
|
damSystemType: "bynder";
|
|
2502
2737
|
damSystemIdentifier: string;
|
|
2503
2738
|
damObjectId: string;
|
|
@@ -2512,6 +2747,7 @@ declare const PageContentsResolved: z.ZodObject<{
|
|
|
2512
2747
|
} | undefined;
|
|
2513
2748
|
} | {
|
|
2514
2749
|
type: "component";
|
|
2750
|
+
nodeId: string;
|
|
2515
2751
|
componentId: string;
|
|
2516
2752
|
componentSet: string;
|
|
2517
2753
|
componentType?: "server" | "edge" | undefined;
|
|
@@ -2523,6 +2759,7 @@ declare const PageContentsResolved: z.ZodObject<{
|
|
|
2523
2759
|
} | undefined;
|
|
2524
2760
|
} | (({
|
|
2525
2761
|
type: "tag";
|
|
2762
|
+
nodeId: string;
|
|
2526
2763
|
tag: string;
|
|
2527
2764
|
attributes?: Record<string, string> | undefined;
|
|
2528
2765
|
font?: {
|
|
@@ -2538,8 +2775,10 @@ declare const PageContentsResolved: z.ZodObject<{
|
|
|
2538
2775
|
} | undefined;
|
|
2539
2776
|
} | {
|
|
2540
2777
|
type: "fragment";
|
|
2778
|
+
nodeId: string;
|
|
2541
2779
|
} | {
|
|
2542
2780
|
type: "link-to-matrix-asset";
|
|
2781
|
+
nodeId: string;
|
|
2543
2782
|
matrixDomain: string;
|
|
2544
2783
|
matrixAssetId: string;
|
|
2545
2784
|
target: "_blank" | "_self" | "_parent" | "_top";
|
|
@@ -2561,9 +2800,11 @@ declare const PageContentsResolved: z.ZodObject<{
|
|
|
2561
2800
|
left: ({
|
|
2562
2801
|
value: string;
|
|
2563
2802
|
type: "text";
|
|
2803
|
+
nodeId?: string | undefined;
|
|
2564
2804
|
} | {
|
|
2565
2805
|
type: "tag";
|
|
2566
2806
|
tag: string;
|
|
2807
|
+
nodeId?: string | undefined;
|
|
2567
2808
|
attributes?: Record<string, string> | undefined;
|
|
2568
2809
|
font?: {
|
|
2569
2810
|
bold?: boolean | undefined;
|
|
@@ -2578,11 +2819,13 @@ declare const PageContentsResolved: z.ZodObject<{
|
|
|
2578
2819
|
} | undefined;
|
|
2579
2820
|
} | {
|
|
2580
2821
|
type: "fragment";
|
|
2822
|
+
nodeId?: string | undefined;
|
|
2581
2823
|
} | {
|
|
2582
2824
|
type: "link-to-matrix-asset";
|
|
2583
2825
|
matrixDomain: string;
|
|
2584
2826
|
matrixAssetId: string;
|
|
2585
2827
|
target: "_blank" | "_self" | "_parent" | "_top";
|
|
2828
|
+
nodeId?: string | undefined;
|
|
2586
2829
|
attributes?: (Record<string, string> & {
|
|
2587
2830
|
target?: undefined;
|
|
2588
2831
|
href?: undefined;
|
|
@@ -2595,6 +2838,7 @@ declare const PageContentsResolved: z.ZodObject<{
|
|
|
2595
2838
|
type: "matrix-image";
|
|
2596
2839
|
matrixDomain: string;
|
|
2597
2840
|
matrixAssetId: string;
|
|
2841
|
+
nodeId?: string | undefined;
|
|
2598
2842
|
attributes?: (Record<string, string> & {
|
|
2599
2843
|
src?: undefined;
|
|
2600
2844
|
}) | undefined;
|
|
@@ -2607,6 +2851,7 @@ declare const PageContentsResolved: z.ZodObject<{
|
|
|
2607
2851
|
damSystemType: "bynder";
|
|
2608
2852
|
damSystemIdentifier: string;
|
|
2609
2853
|
damObjectId: string;
|
|
2854
|
+
nodeId?: string | undefined;
|
|
2610
2855
|
attributes?: (Record<string, string> & {
|
|
2611
2856
|
src?: undefined;
|
|
2612
2857
|
}) | undefined;
|
|
@@ -2620,6 +2865,7 @@ declare const PageContentsResolved: z.ZodObject<{
|
|
|
2620
2865
|
type: "component";
|
|
2621
2866
|
componentId: string;
|
|
2622
2867
|
componentSet: string;
|
|
2868
|
+
nodeId?: string | undefined;
|
|
2623
2869
|
componentType?: "server" | "edge" | undefined;
|
|
2624
2870
|
contentItem?: {
|
|
2625
2871
|
id: string;
|
|
@@ -2630,6 +2876,7 @@ declare const PageContentsResolved: z.ZodObject<{
|
|
|
2630
2876
|
} | {
|
|
2631
2877
|
type: "variation";
|
|
2632
2878
|
default: {};
|
|
2879
|
+
nodeId?: string | undefined;
|
|
2633
2880
|
} | {
|
|
2634
2881
|
type: "layout";
|
|
2635
2882
|
layout: {
|
|
@@ -2655,13 +2902,16 @@ declare const PageContentsResolved: z.ZodObject<{
|
|
|
2655
2902
|
}>;
|
|
2656
2903
|
name: string;
|
|
2657
2904
|
};
|
|
2905
|
+
nodeId?: string | undefined;
|
|
2658
2906
|
})[];
|
|
2659
2907
|
right: ({
|
|
2660
2908
|
value: string;
|
|
2661
2909
|
type: "text";
|
|
2910
|
+
nodeId?: string | undefined;
|
|
2662
2911
|
} | {
|
|
2663
2912
|
type: "tag";
|
|
2664
2913
|
tag: string;
|
|
2914
|
+
nodeId?: string | undefined;
|
|
2665
2915
|
attributes?: Record<string, string> | undefined;
|
|
2666
2916
|
font?: {
|
|
2667
2917
|
bold?: boolean | undefined;
|
|
@@ -2676,11 +2926,13 @@ declare const PageContentsResolved: z.ZodObject<{
|
|
|
2676
2926
|
} | undefined;
|
|
2677
2927
|
} | {
|
|
2678
2928
|
type: "fragment";
|
|
2929
|
+
nodeId?: string | undefined;
|
|
2679
2930
|
} | {
|
|
2680
2931
|
type: "link-to-matrix-asset";
|
|
2681
2932
|
matrixDomain: string;
|
|
2682
2933
|
matrixAssetId: string;
|
|
2683
2934
|
target: "_blank" | "_self" | "_parent" | "_top";
|
|
2935
|
+
nodeId?: string | undefined;
|
|
2684
2936
|
attributes?: (Record<string, string> & {
|
|
2685
2937
|
target?: undefined;
|
|
2686
2938
|
href?: undefined;
|
|
@@ -2693,6 +2945,7 @@ declare const PageContentsResolved: z.ZodObject<{
|
|
|
2693
2945
|
type: "matrix-image";
|
|
2694
2946
|
matrixDomain: string;
|
|
2695
2947
|
matrixAssetId: string;
|
|
2948
|
+
nodeId?: string | undefined;
|
|
2696
2949
|
attributes?: (Record<string, string> & {
|
|
2697
2950
|
src?: undefined;
|
|
2698
2951
|
}) | undefined;
|
|
@@ -2705,6 +2958,7 @@ declare const PageContentsResolved: z.ZodObject<{
|
|
|
2705
2958
|
damSystemType: "bynder";
|
|
2706
2959
|
damSystemIdentifier: string;
|
|
2707
2960
|
damObjectId: string;
|
|
2961
|
+
nodeId?: string | undefined;
|
|
2708
2962
|
attributes?: (Record<string, string> & {
|
|
2709
2963
|
src?: undefined;
|
|
2710
2964
|
}) | undefined;
|
|
@@ -2718,6 +2972,7 @@ declare const PageContentsResolved: z.ZodObject<{
|
|
|
2718
2972
|
type: "component";
|
|
2719
2973
|
componentId: string;
|
|
2720
2974
|
componentSet: string;
|
|
2975
|
+
nodeId?: string | undefined;
|
|
2721
2976
|
componentType?: "server" | "edge" | undefined;
|
|
2722
2977
|
contentItem?: {
|
|
2723
2978
|
id: string;
|
|
@@ -2728,6 +2983,7 @@ declare const PageContentsResolved: z.ZodObject<{
|
|
|
2728
2983
|
} | {
|
|
2729
2984
|
type: "variation";
|
|
2730
2985
|
default: {};
|
|
2986
|
+
nodeId?: string | undefined;
|
|
2731
2987
|
} | {
|
|
2732
2988
|
type: "layout";
|
|
2733
2989
|
layout: {
|
|
@@ -2753,6 +3009,7 @@ declare const PageContentsResolved: z.ZodObject<{
|
|
|
2753
3009
|
}>;
|
|
2754
3010
|
name: string;
|
|
2755
3011
|
};
|
|
3012
|
+
nodeId?: string | undefined;
|
|
2756
3013
|
})[];
|
|
2757
3014
|
};
|
|
2758
3015
|
name: "two-column";
|
|
@@ -2830,8 +3087,10 @@ declare const PageContentsResolved: z.ZodObject<{
|
|
|
2830
3087
|
main: z.ZodEffects<z.ZodArray<z.ZodUnion<[z.ZodType<{
|
|
2831
3088
|
value: string;
|
|
2832
3089
|
type: "text";
|
|
3090
|
+
nodeId: string;
|
|
2833
3091
|
} | {
|
|
2834
3092
|
type: "matrix-image";
|
|
3093
|
+
nodeId: string;
|
|
2835
3094
|
matrixDomain: string;
|
|
2836
3095
|
matrixAssetId: string;
|
|
2837
3096
|
attributes?: (Record<string, string> & {
|
|
@@ -2843,6 +3102,7 @@ declare const PageContentsResolved: z.ZodObject<{
|
|
|
2843
3102
|
matrixIdentifier?: string | undefined;
|
|
2844
3103
|
} | {
|
|
2845
3104
|
type: "dam-image";
|
|
3105
|
+
nodeId: string;
|
|
2846
3106
|
damSystemType: "bynder";
|
|
2847
3107
|
damSystemIdentifier: string;
|
|
2848
3108
|
damObjectId: string;
|
|
@@ -2857,6 +3117,7 @@ declare const PageContentsResolved: z.ZodObject<{
|
|
|
2857
3117
|
} | undefined;
|
|
2858
3118
|
} | {
|
|
2859
3119
|
type: "component";
|
|
3120
|
+
nodeId: string;
|
|
2860
3121
|
componentId: string;
|
|
2861
3122
|
componentSet: string;
|
|
2862
3123
|
componentType?: "server" | "edge" | undefined;
|
|
@@ -2868,6 +3129,7 @@ declare const PageContentsResolved: z.ZodObject<{
|
|
|
2868
3129
|
} | undefined;
|
|
2869
3130
|
} | (({
|
|
2870
3131
|
type: "tag";
|
|
3132
|
+
nodeId: string;
|
|
2871
3133
|
tag: string;
|
|
2872
3134
|
attributes?: Record<string, string> | undefined;
|
|
2873
3135
|
font?: {
|
|
@@ -2883,8 +3145,10 @@ declare const PageContentsResolved: z.ZodObject<{
|
|
|
2883
3145
|
} | undefined;
|
|
2884
3146
|
} | {
|
|
2885
3147
|
type: "fragment";
|
|
3148
|
+
nodeId: string;
|
|
2886
3149
|
} | {
|
|
2887
3150
|
type: "link-to-matrix-asset";
|
|
3151
|
+
nodeId: string;
|
|
2888
3152
|
matrixDomain: string;
|
|
2889
3153
|
matrixAssetId: string;
|
|
2890
3154
|
target: "_blank" | "_self" | "_parent" | "_top";
|
|
@@ -2901,9 +3165,11 @@ declare const PageContentsResolved: z.ZodObject<{
|
|
|
2901
3165
|
}), z.ZodTypeDef, {
|
|
2902
3166
|
value: string;
|
|
2903
3167
|
type: "text";
|
|
3168
|
+
nodeId?: string | undefined;
|
|
2904
3169
|
} | {
|
|
2905
3170
|
type: "tag";
|
|
2906
3171
|
tag: string;
|
|
3172
|
+
nodeId?: string | undefined;
|
|
2907
3173
|
attributes?: Record<string, string> | undefined;
|
|
2908
3174
|
font?: {
|
|
2909
3175
|
bold?: boolean | undefined;
|
|
@@ -2918,11 +3184,13 @@ declare const PageContentsResolved: z.ZodObject<{
|
|
|
2918
3184
|
} | undefined;
|
|
2919
3185
|
} | {
|
|
2920
3186
|
type: "fragment";
|
|
3187
|
+
nodeId?: string | undefined;
|
|
2921
3188
|
} | {
|
|
2922
3189
|
type: "link-to-matrix-asset";
|
|
2923
3190
|
matrixDomain: string;
|
|
2924
3191
|
matrixAssetId: string;
|
|
2925
3192
|
target: "_blank" | "_self" | "_parent" | "_top";
|
|
3193
|
+
nodeId?: string | undefined;
|
|
2926
3194
|
attributes?: (Record<string, string> & {
|
|
2927
3195
|
target?: undefined;
|
|
2928
3196
|
href?: undefined;
|
|
@@ -2935,6 +3203,7 @@ declare const PageContentsResolved: z.ZodObject<{
|
|
|
2935
3203
|
type: "matrix-image";
|
|
2936
3204
|
matrixDomain: string;
|
|
2937
3205
|
matrixAssetId: string;
|
|
3206
|
+
nodeId?: string | undefined;
|
|
2938
3207
|
attributes?: (Record<string, string> & {
|
|
2939
3208
|
src?: undefined;
|
|
2940
3209
|
}) | undefined;
|
|
@@ -2947,6 +3216,7 @@ declare const PageContentsResolved: z.ZodObject<{
|
|
|
2947
3216
|
damSystemType: "bynder";
|
|
2948
3217
|
damSystemIdentifier: string;
|
|
2949
3218
|
damObjectId: string;
|
|
3219
|
+
nodeId?: string | undefined;
|
|
2950
3220
|
attributes?: (Record<string, string> & {
|
|
2951
3221
|
src?: undefined;
|
|
2952
3222
|
}) | undefined;
|
|
@@ -2960,6 +3230,7 @@ declare const PageContentsResolved: z.ZodObject<{
|
|
|
2960
3230
|
type: "component";
|
|
2961
3231
|
componentId: string;
|
|
2962
3232
|
componentSet: string;
|
|
3233
|
+
nodeId?: string | undefined;
|
|
2963
3234
|
componentType?: "server" | "edge" | undefined;
|
|
2964
3235
|
contentItem?: {
|
|
2965
3236
|
id: string;
|
|
@@ -2970,6 +3241,7 @@ declare const PageContentsResolved: z.ZodObject<{
|
|
|
2970
3241
|
}>, z.ZodType<LayoutVariationNode, z.ZodTypeDef, {
|
|
2971
3242
|
type: "variation";
|
|
2972
3243
|
default: {};
|
|
3244
|
+
nodeId?: string | undefined;
|
|
2973
3245
|
}>, z.ZodType<import("../layout-content").DeveloperDefinedLayoutNode, z.ZodTypeDef, {
|
|
2974
3246
|
type: "layout";
|
|
2975
3247
|
layout: {
|
|
@@ -2995,11 +3267,14 @@ declare const PageContentsResolved: z.ZodObject<{
|
|
|
2995
3267
|
}>;
|
|
2996
3268
|
name: string;
|
|
2997
3269
|
};
|
|
3270
|
+
nodeId?: string | undefined;
|
|
2998
3271
|
}>]>, "many">, (LayoutVariationNode | ({
|
|
2999
3272
|
value: string;
|
|
3000
3273
|
type: "text";
|
|
3274
|
+
nodeId: string;
|
|
3001
3275
|
} | {
|
|
3002
3276
|
type: "matrix-image";
|
|
3277
|
+
nodeId: string;
|
|
3003
3278
|
matrixDomain: string;
|
|
3004
3279
|
matrixAssetId: string;
|
|
3005
3280
|
attributes?: (Record<string, string> & {
|
|
@@ -3011,6 +3286,7 @@ declare const PageContentsResolved: z.ZodObject<{
|
|
|
3011
3286
|
matrixIdentifier?: string | undefined;
|
|
3012
3287
|
} | {
|
|
3013
3288
|
type: "dam-image";
|
|
3289
|
+
nodeId: string;
|
|
3014
3290
|
damSystemType: "bynder";
|
|
3015
3291
|
damSystemIdentifier: string;
|
|
3016
3292
|
damObjectId: string;
|
|
@@ -3025,6 +3301,7 @@ declare const PageContentsResolved: z.ZodObject<{
|
|
|
3025
3301
|
} | undefined;
|
|
3026
3302
|
} | {
|
|
3027
3303
|
type: "component";
|
|
3304
|
+
nodeId: string;
|
|
3028
3305
|
componentId: string;
|
|
3029
3306
|
componentSet: string;
|
|
3030
3307
|
componentType?: "server" | "edge" | undefined;
|
|
@@ -3036,6 +3313,7 @@ declare const PageContentsResolved: z.ZodObject<{
|
|
|
3036
3313
|
} | undefined;
|
|
3037
3314
|
} | (({
|
|
3038
3315
|
type: "tag";
|
|
3316
|
+
nodeId: string;
|
|
3039
3317
|
tag: string;
|
|
3040
3318
|
attributes?: Record<string, string> | undefined;
|
|
3041
3319
|
font?: {
|
|
@@ -3051,8 +3329,10 @@ declare const PageContentsResolved: z.ZodObject<{
|
|
|
3051
3329
|
} | undefined;
|
|
3052
3330
|
} | {
|
|
3053
3331
|
type: "fragment";
|
|
3332
|
+
nodeId: string;
|
|
3054
3333
|
} | {
|
|
3055
3334
|
type: "link-to-matrix-asset";
|
|
3335
|
+
nodeId: string;
|
|
3056
3336
|
matrixDomain: string;
|
|
3057
3337
|
matrixAssetId: string;
|
|
3058
3338
|
target: "_blank" | "_self" | "_parent" | "_top";
|
|
@@ -3069,9 +3349,11 @@ declare const PageContentsResolved: z.ZodObject<{
|
|
|
3069
3349
|
})) | import("../layout-content").DeveloperDefinedLayoutNode)[], ({
|
|
3070
3350
|
value: string;
|
|
3071
3351
|
type: "text";
|
|
3352
|
+
nodeId?: string | undefined;
|
|
3072
3353
|
} | {
|
|
3073
3354
|
type: "tag";
|
|
3074
3355
|
tag: string;
|
|
3356
|
+
nodeId?: string | undefined;
|
|
3075
3357
|
attributes?: Record<string, string> | undefined;
|
|
3076
3358
|
font?: {
|
|
3077
3359
|
bold?: boolean | undefined;
|
|
@@ -3086,11 +3368,13 @@ declare const PageContentsResolved: z.ZodObject<{
|
|
|
3086
3368
|
} | undefined;
|
|
3087
3369
|
} | {
|
|
3088
3370
|
type: "fragment";
|
|
3371
|
+
nodeId?: string | undefined;
|
|
3089
3372
|
} | {
|
|
3090
3373
|
type: "link-to-matrix-asset";
|
|
3091
3374
|
matrixDomain: string;
|
|
3092
3375
|
matrixAssetId: string;
|
|
3093
3376
|
target: "_blank" | "_self" | "_parent" | "_top";
|
|
3377
|
+
nodeId?: string | undefined;
|
|
3094
3378
|
attributes?: (Record<string, string> & {
|
|
3095
3379
|
target?: undefined;
|
|
3096
3380
|
href?: undefined;
|
|
@@ -3103,6 +3387,7 @@ declare const PageContentsResolved: z.ZodObject<{
|
|
|
3103
3387
|
type: "matrix-image";
|
|
3104
3388
|
matrixDomain: string;
|
|
3105
3389
|
matrixAssetId: string;
|
|
3390
|
+
nodeId?: string | undefined;
|
|
3106
3391
|
attributes?: (Record<string, string> & {
|
|
3107
3392
|
src?: undefined;
|
|
3108
3393
|
}) | undefined;
|
|
@@ -3115,6 +3400,7 @@ declare const PageContentsResolved: z.ZodObject<{
|
|
|
3115
3400
|
damSystemType: "bynder";
|
|
3116
3401
|
damSystemIdentifier: string;
|
|
3117
3402
|
damObjectId: string;
|
|
3403
|
+
nodeId?: string | undefined;
|
|
3118
3404
|
attributes?: (Record<string, string> & {
|
|
3119
3405
|
src?: undefined;
|
|
3120
3406
|
}) | undefined;
|
|
@@ -3128,6 +3414,7 @@ declare const PageContentsResolved: z.ZodObject<{
|
|
|
3128
3414
|
type: "component";
|
|
3129
3415
|
componentId: string;
|
|
3130
3416
|
componentSet: string;
|
|
3417
|
+
nodeId?: string | undefined;
|
|
3131
3418
|
componentType?: "server" | "edge" | undefined;
|
|
3132
3419
|
contentItem?: {
|
|
3133
3420
|
id: string;
|
|
@@ -3138,6 +3425,7 @@ declare const PageContentsResolved: z.ZodObject<{
|
|
|
3138
3425
|
} | {
|
|
3139
3426
|
type: "variation";
|
|
3140
3427
|
default: {};
|
|
3428
|
+
nodeId?: string | undefined;
|
|
3141
3429
|
} | {
|
|
3142
3430
|
type: "layout";
|
|
3143
3431
|
layout: {
|
|
@@ -3163,13 +3451,16 @@ declare const PageContentsResolved: z.ZodObject<{
|
|
|
3163
3451
|
}>;
|
|
3164
3452
|
name: string;
|
|
3165
3453
|
};
|
|
3454
|
+
nodeId?: string | undefined;
|
|
3166
3455
|
})[]>;
|
|
3167
3456
|
}, "strip", z.ZodTypeAny, {
|
|
3168
3457
|
main: (LayoutVariationNode | ({
|
|
3169
3458
|
value: string;
|
|
3170
3459
|
type: "text";
|
|
3460
|
+
nodeId: string;
|
|
3171
3461
|
} | {
|
|
3172
3462
|
type: "matrix-image";
|
|
3463
|
+
nodeId: string;
|
|
3173
3464
|
matrixDomain: string;
|
|
3174
3465
|
matrixAssetId: string;
|
|
3175
3466
|
attributes?: (Record<string, string> & {
|
|
@@ -3181,6 +3472,7 @@ declare const PageContentsResolved: z.ZodObject<{
|
|
|
3181
3472
|
matrixIdentifier?: string | undefined;
|
|
3182
3473
|
} | {
|
|
3183
3474
|
type: "dam-image";
|
|
3475
|
+
nodeId: string;
|
|
3184
3476
|
damSystemType: "bynder";
|
|
3185
3477
|
damSystemIdentifier: string;
|
|
3186
3478
|
damObjectId: string;
|
|
@@ -3195,6 +3487,7 @@ declare const PageContentsResolved: z.ZodObject<{
|
|
|
3195
3487
|
} | undefined;
|
|
3196
3488
|
} | {
|
|
3197
3489
|
type: "component";
|
|
3490
|
+
nodeId: string;
|
|
3198
3491
|
componentId: string;
|
|
3199
3492
|
componentSet: string;
|
|
3200
3493
|
componentType?: "server" | "edge" | undefined;
|
|
@@ -3206,6 +3499,7 @@ declare const PageContentsResolved: z.ZodObject<{
|
|
|
3206
3499
|
} | undefined;
|
|
3207
3500
|
} | (({
|
|
3208
3501
|
type: "tag";
|
|
3502
|
+
nodeId: string;
|
|
3209
3503
|
tag: string;
|
|
3210
3504
|
attributes?: Record<string, string> | undefined;
|
|
3211
3505
|
font?: {
|
|
@@ -3221,8 +3515,10 @@ declare const PageContentsResolved: z.ZodObject<{
|
|
|
3221
3515
|
} | undefined;
|
|
3222
3516
|
} | {
|
|
3223
3517
|
type: "fragment";
|
|
3518
|
+
nodeId: string;
|
|
3224
3519
|
} | {
|
|
3225
3520
|
type: "link-to-matrix-asset";
|
|
3521
|
+
nodeId: string;
|
|
3226
3522
|
matrixDomain: string;
|
|
3227
3523
|
matrixAssetId: string;
|
|
3228
3524
|
target: "_blank" | "_self" | "_parent" | "_top";
|
|
@@ -3241,9 +3537,11 @@ declare const PageContentsResolved: z.ZodObject<{
|
|
|
3241
3537
|
main: ({
|
|
3242
3538
|
value: string;
|
|
3243
3539
|
type: "text";
|
|
3540
|
+
nodeId?: string | undefined;
|
|
3244
3541
|
} | {
|
|
3245
3542
|
type: "tag";
|
|
3246
3543
|
tag: string;
|
|
3544
|
+
nodeId?: string | undefined;
|
|
3247
3545
|
attributes?: Record<string, string> | undefined;
|
|
3248
3546
|
font?: {
|
|
3249
3547
|
bold?: boolean | undefined;
|
|
@@ -3258,11 +3556,13 @@ declare const PageContentsResolved: z.ZodObject<{
|
|
|
3258
3556
|
} | undefined;
|
|
3259
3557
|
} | {
|
|
3260
3558
|
type: "fragment";
|
|
3559
|
+
nodeId?: string | undefined;
|
|
3261
3560
|
} | {
|
|
3262
3561
|
type: "link-to-matrix-asset";
|
|
3263
3562
|
matrixDomain: string;
|
|
3264
3563
|
matrixAssetId: string;
|
|
3265
3564
|
target: "_blank" | "_self" | "_parent" | "_top";
|
|
3565
|
+
nodeId?: string | undefined;
|
|
3266
3566
|
attributes?: (Record<string, string> & {
|
|
3267
3567
|
target?: undefined;
|
|
3268
3568
|
href?: undefined;
|
|
@@ -3275,6 +3575,7 @@ declare const PageContentsResolved: z.ZodObject<{
|
|
|
3275
3575
|
type: "matrix-image";
|
|
3276
3576
|
matrixDomain: string;
|
|
3277
3577
|
matrixAssetId: string;
|
|
3578
|
+
nodeId?: string | undefined;
|
|
3278
3579
|
attributes?: (Record<string, string> & {
|
|
3279
3580
|
src?: undefined;
|
|
3280
3581
|
}) | undefined;
|
|
@@ -3287,6 +3588,7 @@ declare const PageContentsResolved: z.ZodObject<{
|
|
|
3287
3588
|
damSystemType: "bynder";
|
|
3288
3589
|
damSystemIdentifier: string;
|
|
3289
3590
|
damObjectId: string;
|
|
3591
|
+
nodeId?: string | undefined;
|
|
3290
3592
|
attributes?: (Record<string, string> & {
|
|
3291
3593
|
src?: undefined;
|
|
3292
3594
|
}) | undefined;
|
|
@@ -3300,6 +3602,7 @@ declare const PageContentsResolved: z.ZodObject<{
|
|
|
3300
3602
|
type: "component";
|
|
3301
3603
|
componentId: string;
|
|
3302
3604
|
componentSet: string;
|
|
3605
|
+
nodeId?: string | undefined;
|
|
3303
3606
|
componentType?: "server" | "edge" | undefined;
|
|
3304
3607
|
contentItem?: {
|
|
3305
3608
|
id: string;
|
|
@@ -3310,6 +3613,7 @@ declare const PageContentsResolved: z.ZodObject<{
|
|
|
3310
3613
|
} | {
|
|
3311
3614
|
type: "variation";
|
|
3312
3615
|
default: {};
|
|
3616
|
+
nodeId?: string | undefined;
|
|
3313
3617
|
} | {
|
|
3314
3618
|
type: "layout";
|
|
3315
3619
|
layout: {
|
|
@@ -3335,6 +3639,7 @@ declare const PageContentsResolved: z.ZodObject<{
|
|
|
3335
3639
|
}>;
|
|
3336
3640
|
name: string;
|
|
3337
3641
|
};
|
|
3642
|
+
nodeId?: string | undefined;
|
|
3338
3643
|
})[];
|
|
3339
3644
|
}>;
|
|
3340
3645
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -3342,8 +3647,10 @@ declare const PageContentsResolved: z.ZodObject<{
|
|
|
3342
3647
|
main: (LayoutVariationNode | ({
|
|
3343
3648
|
value: string;
|
|
3344
3649
|
type: "text";
|
|
3650
|
+
nodeId: string;
|
|
3345
3651
|
} | {
|
|
3346
3652
|
type: "matrix-image";
|
|
3653
|
+
nodeId: string;
|
|
3347
3654
|
matrixDomain: string;
|
|
3348
3655
|
matrixAssetId: string;
|
|
3349
3656
|
attributes?: (Record<string, string> & {
|
|
@@ -3355,6 +3662,7 @@ declare const PageContentsResolved: z.ZodObject<{
|
|
|
3355
3662
|
matrixIdentifier?: string | undefined;
|
|
3356
3663
|
} | {
|
|
3357
3664
|
type: "dam-image";
|
|
3665
|
+
nodeId: string;
|
|
3358
3666
|
damSystemType: "bynder";
|
|
3359
3667
|
damSystemIdentifier: string;
|
|
3360
3668
|
damObjectId: string;
|
|
@@ -3369,6 +3677,7 @@ declare const PageContentsResolved: z.ZodObject<{
|
|
|
3369
3677
|
} | undefined;
|
|
3370
3678
|
} | {
|
|
3371
3679
|
type: "component";
|
|
3680
|
+
nodeId: string;
|
|
3372
3681
|
componentId: string;
|
|
3373
3682
|
componentSet: string;
|
|
3374
3683
|
componentType?: "server" | "edge" | undefined;
|
|
@@ -3380,6 +3689,7 @@ declare const PageContentsResolved: z.ZodObject<{
|
|
|
3380
3689
|
} | undefined;
|
|
3381
3690
|
} | (({
|
|
3382
3691
|
type: "tag";
|
|
3692
|
+
nodeId: string;
|
|
3383
3693
|
tag: string;
|
|
3384
3694
|
attributes?: Record<string, string> | undefined;
|
|
3385
3695
|
font?: {
|
|
@@ -3395,8 +3705,10 @@ declare const PageContentsResolved: z.ZodObject<{
|
|
|
3395
3705
|
} | undefined;
|
|
3396
3706
|
} | {
|
|
3397
3707
|
type: "fragment";
|
|
3708
|
+
nodeId: string;
|
|
3398
3709
|
} | {
|
|
3399
3710
|
type: "link-to-matrix-asset";
|
|
3711
|
+
nodeId: string;
|
|
3400
3712
|
matrixDomain: string;
|
|
3401
3713
|
matrixAssetId: string;
|
|
3402
3714
|
target: "_blank" | "_self" | "_parent" | "_top";
|
|
@@ -3430,9 +3742,11 @@ declare const PageContentsResolved: z.ZodObject<{
|
|
|
3430
3742
|
main: ({
|
|
3431
3743
|
value: string;
|
|
3432
3744
|
type: "text";
|
|
3745
|
+
nodeId?: string | undefined;
|
|
3433
3746
|
} | {
|
|
3434
3747
|
type: "tag";
|
|
3435
3748
|
tag: string;
|
|
3749
|
+
nodeId?: string | undefined;
|
|
3436
3750
|
attributes?: Record<string, string> | undefined;
|
|
3437
3751
|
font?: {
|
|
3438
3752
|
bold?: boolean | undefined;
|
|
@@ -3447,11 +3761,13 @@ declare const PageContentsResolved: z.ZodObject<{
|
|
|
3447
3761
|
} | undefined;
|
|
3448
3762
|
} | {
|
|
3449
3763
|
type: "fragment";
|
|
3764
|
+
nodeId?: string | undefined;
|
|
3450
3765
|
} | {
|
|
3451
3766
|
type: "link-to-matrix-asset";
|
|
3452
3767
|
matrixDomain: string;
|
|
3453
3768
|
matrixAssetId: string;
|
|
3454
3769
|
target: "_blank" | "_self" | "_parent" | "_top";
|
|
3770
|
+
nodeId?: string | undefined;
|
|
3455
3771
|
attributes?: (Record<string, string> & {
|
|
3456
3772
|
target?: undefined;
|
|
3457
3773
|
href?: undefined;
|
|
@@ -3464,6 +3780,7 @@ declare const PageContentsResolved: z.ZodObject<{
|
|
|
3464
3780
|
type: "matrix-image";
|
|
3465
3781
|
matrixDomain: string;
|
|
3466
3782
|
matrixAssetId: string;
|
|
3783
|
+
nodeId?: string | undefined;
|
|
3467
3784
|
attributes?: (Record<string, string> & {
|
|
3468
3785
|
src?: undefined;
|
|
3469
3786
|
}) | undefined;
|
|
@@ -3476,6 +3793,7 @@ declare const PageContentsResolved: z.ZodObject<{
|
|
|
3476
3793
|
damSystemType: "bynder";
|
|
3477
3794
|
damSystemIdentifier: string;
|
|
3478
3795
|
damObjectId: string;
|
|
3796
|
+
nodeId?: string | undefined;
|
|
3479
3797
|
attributes?: (Record<string, string> & {
|
|
3480
3798
|
src?: undefined;
|
|
3481
3799
|
}) | undefined;
|
|
@@ -3489,6 +3807,7 @@ declare const PageContentsResolved: z.ZodObject<{
|
|
|
3489
3807
|
type: "component";
|
|
3490
3808
|
componentId: string;
|
|
3491
3809
|
componentSet: string;
|
|
3810
|
+
nodeId?: string | undefined;
|
|
3492
3811
|
componentType?: "server" | "edge" | undefined;
|
|
3493
3812
|
contentItem?: {
|
|
3494
3813
|
id: string;
|
|
@@ -3499,6 +3818,7 @@ declare const PageContentsResolved: z.ZodObject<{
|
|
|
3499
3818
|
} | {
|
|
3500
3819
|
type: "variation";
|
|
3501
3820
|
default: {};
|
|
3821
|
+
nodeId?: string | undefined;
|
|
3502
3822
|
} | {
|
|
3503
3823
|
type: "layout";
|
|
3504
3824
|
layout: {
|
|
@@ -3524,6 +3844,7 @@ declare const PageContentsResolved: z.ZodObject<{
|
|
|
3524
3844
|
}>;
|
|
3525
3845
|
name: string;
|
|
3526
3846
|
};
|
|
3847
|
+
nodeId?: string | undefined;
|
|
3527
3848
|
})[];
|
|
3528
3849
|
};
|
|
3529
3850
|
name: "custom-layout";
|
|
@@ -3540,6 +3861,191 @@ declare const PageContentsResolved: z.ZodObject<{
|
|
|
3540
3861
|
} | undefined;
|
|
3541
3862
|
};
|
|
3542
3863
|
}>]>, "many">;
|
|
3864
|
+
content: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodUnion<[z.ZodType<{
|
|
3865
|
+
value: string;
|
|
3866
|
+
type: "text";
|
|
3867
|
+
nodeId: string;
|
|
3868
|
+
} | {
|
|
3869
|
+
type: "matrix-image";
|
|
3870
|
+
nodeId: string;
|
|
3871
|
+
matrixDomain: string;
|
|
3872
|
+
matrixAssetId: string;
|
|
3873
|
+
attributes?: (Record<string, string> & {
|
|
3874
|
+
src?: undefined;
|
|
3875
|
+
}) | undefined;
|
|
3876
|
+
formattingOptions?: {
|
|
3877
|
+
alignment: "left" | "center" | "right" | "justify";
|
|
3878
|
+
} | undefined;
|
|
3879
|
+
matrixIdentifier?: string | undefined;
|
|
3880
|
+
} | {
|
|
3881
|
+
type: "dam-image";
|
|
3882
|
+
nodeId: string;
|
|
3883
|
+
damSystemType: "bynder";
|
|
3884
|
+
damSystemIdentifier: string;
|
|
3885
|
+
damObjectId: string;
|
|
3886
|
+
attributes?: (Record<string, string> & {
|
|
3887
|
+
src?: undefined;
|
|
3888
|
+
}) | undefined;
|
|
3889
|
+
formattingOptions?: {
|
|
3890
|
+
alignment: "left" | "center" | "right" | "justify";
|
|
3891
|
+
} | undefined;
|
|
3892
|
+
damAdditional?: {
|
|
3893
|
+
variant?: string | undefined;
|
|
3894
|
+
} | undefined;
|
|
3895
|
+
} | {
|
|
3896
|
+
type: "component";
|
|
3897
|
+
nodeId: string;
|
|
3898
|
+
componentId: string;
|
|
3899
|
+
componentSet: string;
|
|
3900
|
+
componentType?: "server" | "edge" | undefined;
|
|
3901
|
+
contentItem?: {
|
|
3902
|
+
id: string;
|
|
3903
|
+
} | {
|
|
3904
|
+
content: Record<string, unknown>;
|
|
3905
|
+
schemaName: string;
|
|
3906
|
+
} | undefined;
|
|
3907
|
+
} | (({
|
|
3908
|
+
type: "tag";
|
|
3909
|
+
nodeId: string;
|
|
3910
|
+
tag: string;
|
|
3911
|
+
attributes?: Record<string, string> | undefined;
|
|
3912
|
+
font?: {
|
|
3913
|
+
bold?: boolean | undefined;
|
|
3914
|
+
italics?: boolean | undefined;
|
|
3915
|
+
underline?: boolean | undefined;
|
|
3916
|
+
color?: string | undefined;
|
|
3917
|
+
size?: string | undefined;
|
|
3918
|
+
fontFamily?: string | undefined;
|
|
3919
|
+
} | undefined;
|
|
3920
|
+
formattingOptions?: {
|
|
3921
|
+
alignment: "left" | "center" | "right" | "justify";
|
|
3922
|
+
} | undefined;
|
|
3923
|
+
} | {
|
|
3924
|
+
type: "fragment";
|
|
3925
|
+
nodeId: string;
|
|
3926
|
+
} | {
|
|
3927
|
+
type: "link-to-matrix-asset";
|
|
3928
|
+
nodeId: string;
|
|
3929
|
+
matrixDomain: string;
|
|
3930
|
+
matrixAssetId: string;
|
|
3931
|
+
target: "_blank" | "_self" | "_parent" | "_top";
|
|
3932
|
+
attributes?: (Record<string, string> & {
|
|
3933
|
+
target?: undefined;
|
|
3934
|
+
href?: undefined;
|
|
3935
|
+
}) | undefined;
|
|
3936
|
+
formattingOptions?: {
|
|
3937
|
+
alignment: "left" | "center" | "right" | "justify";
|
|
3938
|
+
} | undefined;
|
|
3939
|
+
matrixIdentifier?: string | undefined;
|
|
3940
|
+
}) & {
|
|
3941
|
+
children: LayoutContentNodes[];
|
|
3942
|
+
}), z.ZodTypeDef, {
|
|
3943
|
+
value: string;
|
|
3944
|
+
type: "text";
|
|
3945
|
+
nodeId?: string | undefined;
|
|
3946
|
+
} | {
|
|
3947
|
+
type: "tag";
|
|
3948
|
+
tag: string;
|
|
3949
|
+
nodeId?: string | undefined;
|
|
3950
|
+
attributes?: Record<string, string> | undefined;
|
|
3951
|
+
font?: {
|
|
3952
|
+
bold?: boolean | undefined;
|
|
3953
|
+
italics?: boolean | undefined;
|
|
3954
|
+
underline?: boolean | undefined;
|
|
3955
|
+
color?: string | undefined;
|
|
3956
|
+
size?: string | undefined;
|
|
3957
|
+
fontFamily?: string | undefined;
|
|
3958
|
+
} | undefined;
|
|
3959
|
+
formattingOptions?: {
|
|
3960
|
+
alignment: "left" | "center" | "right" | "justify";
|
|
3961
|
+
} | undefined;
|
|
3962
|
+
} | {
|
|
3963
|
+
type: "fragment";
|
|
3964
|
+
nodeId?: string | undefined;
|
|
3965
|
+
} | {
|
|
3966
|
+
type: "link-to-matrix-asset";
|
|
3967
|
+
matrixDomain: string;
|
|
3968
|
+
matrixAssetId: string;
|
|
3969
|
+
target: "_blank" | "_self" | "_parent" | "_top";
|
|
3970
|
+
nodeId?: string | undefined;
|
|
3971
|
+
attributes?: (Record<string, string> & {
|
|
3972
|
+
target?: undefined;
|
|
3973
|
+
href?: undefined;
|
|
3974
|
+
}) | undefined;
|
|
3975
|
+
formattingOptions?: {
|
|
3976
|
+
alignment: "left" | "center" | "right" | "justify";
|
|
3977
|
+
} | undefined;
|
|
3978
|
+
matrixIdentifier?: string | undefined;
|
|
3979
|
+
} | {
|
|
3980
|
+
type: "matrix-image";
|
|
3981
|
+
matrixDomain: string;
|
|
3982
|
+
matrixAssetId: string;
|
|
3983
|
+
nodeId?: string | undefined;
|
|
3984
|
+
attributes?: (Record<string, string> & {
|
|
3985
|
+
src?: undefined;
|
|
3986
|
+
}) | undefined;
|
|
3987
|
+
formattingOptions?: {
|
|
3988
|
+
alignment: "left" | "center" | "right" | "justify";
|
|
3989
|
+
} | undefined;
|
|
3990
|
+
matrixIdentifier?: string | undefined;
|
|
3991
|
+
} | {
|
|
3992
|
+
type: "dam-image";
|
|
3993
|
+
damSystemType: "bynder";
|
|
3994
|
+
damSystemIdentifier: string;
|
|
3995
|
+
damObjectId: string;
|
|
3996
|
+
nodeId?: string | undefined;
|
|
3997
|
+
attributes?: (Record<string, string> & {
|
|
3998
|
+
src?: undefined;
|
|
3999
|
+
}) | undefined;
|
|
4000
|
+
formattingOptions?: {
|
|
4001
|
+
alignment: "left" | "center" | "right" | "justify";
|
|
4002
|
+
} | undefined;
|
|
4003
|
+
damAdditional?: {
|
|
4004
|
+
variant?: string | undefined;
|
|
4005
|
+
} | undefined;
|
|
4006
|
+
} | {
|
|
4007
|
+
type: "component";
|
|
4008
|
+
componentId: string;
|
|
4009
|
+
componentSet: string;
|
|
4010
|
+
nodeId?: string | undefined;
|
|
4011
|
+
componentType?: "server" | "edge" | undefined;
|
|
4012
|
+
contentItem?: {
|
|
4013
|
+
id: string;
|
|
4014
|
+
} | {
|
|
4015
|
+
content: Record<string, unknown>;
|
|
4016
|
+
schemaName: string;
|
|
4017
|
+
} | undefined;
|
|
4018
|
+
}>, z.ZodType<LayoutVariationNode, z.ZodTypeDef, {
|
|
4019
|
+
type: "variation";
|
|
4020
|
+
default: {};
|
|
4021
|
+
nodeId?: string | undefined;
|
|
4022
|
+
}>, z.ZodType<import("../layout-content").DeveloperDefinedLayoutNode, z.ZodTypeDef, {
|
|
4023
|
+
type: "layout";
|
|
4024
|
+
layout: {
|
|
4025
|
+
options: Record<string, {
|
|
4026
|
+
values: string[];
|
|
4027
|
+
displayName: string;
|
|
4028
|
+
description: string;
|
|
4029
|
+
selectedValue: string;
|
|
4030
|
+
}>;
|
|
4031
|
+
name: string;
|
|
4032
|
+
displayName: string;
|
|
4033
|
+
description: string;
|
|
4034
|
+
template: string;
|
|
4035
|
+
zones: Record<string, {
|
|
4036
|
+
displayName: string;
|
|
4037
|
+
description: string;
|
|
4038
|
+
minNodes: number;
|
|
4039
|
+
maxNodes?: number | undefined;
|
|
4040
|
+
}>;
|
|
4041
|
+
} | {
|
|
4042
|
+
options: Record<string, {
|
|
4043
|
+
selectedValue: string;
|
|
4044
|
+
}>;
|
|
4045
|
+
name: string;
|
|
4046
|
+
};
|
|
4047
|
+
nodeId?: string | undefined;
|
|
4048
|
+
}>]>, "many">>>;
|
|
3543
4049
|
}, "strip", z.ZodTypeAny, {
|
|
3544
4050
|
id: string;
|
|
3545
4051
|
name: string;
|
|
@@ -3548,8 +4054,10 @@ declare const PageContentsResolved: z.ZodObject<{
|
|
|
3548
4054
|
main: (LayoutVariationNode | ({
|
|
3549
4055
|
value: string;
|
|
3550
4056
|
type: "text";
|
|
4057
|
+
nodeId: string;
|
|
3551
4058
|
} | {
|
|
3552
4059
|
type: "matrix-image";
|
|
4060
|
+
nodeId: string;
|
|
3553
4061
|
matrixDomain: string;
|
|
3554
4062
|
matrixAssetId: string;
|
|
3555
4063
|
attributes?: (Record<string, string> & {
|
|
@@ -3561,6 +4069,7 @@ declare const PageContentsResolved: z.ZodObject<{
|
|
|
3561
4069
|
matrixIdentifier?: string | undefined;
|
|
3562
4070
|
} | {
|
|
3563
4071
|
type: "dam-image";
|
|
4072
|
+
nodeId: string;
|
|
3564
4073
|
damSystemType: "bynder";
|
|
3565
4074
|
damSystemIdentifier: string;
|
|
3566
4075
|
damObjectId: string;
|
|
@@ -3575,6 +4084,7 @@ declare const PageContentsResolved: z.ZodObject<{
|
|
|
3575
4084
|
} | undefined;
|
|
3576
4085
|
} | {
|
|
3577
4086
|
type: "component";
|
|
4087
|
+
nodeId: string;
|
|
3578
4088
|
componentId: string;
|
|
3579
4089
|
componentSet: string;
|
|
3580
4090
|
componentType?: "server" | "edge" | undefined;
|
|
@@ -3586,6 +4096,7 @@ declare const PageContentsResolved: z.ZodObject<{
|
|
|
3586
4096
|
} | undefined;
|
|
3587
4097
|
} | (({
|
|
3588
4098
|
type: "tag";
|
|
4099
|
+
nodeId: string;
|
|
3589
4100
|
tag: string;
|
|
3590
4101
|
attributes?: Record<string, string> | undefined;
|
|
3591
4102
|
font?: {
|
|
@@ -3601,8 +4112,10 @@ declare const PageContentsResolved: z.ZodObject<{
|
|
|
3601
4112
|
} | undefined;
|
|
3602
4113
|
} | {
|
|
3603
4114
|
type: "fragment";
|
|
4115
|
+
nodeId: string;
|
|
3604
4116
|
} | {
|
|
3605
4117
|
type: "link-to-matrix-asset";
|
|
4118
|
+
nodeId: string;
|
|
3606
4119
|
matrixDomain: string;
|
|
3607
4120
|
matrixAssetId: string;
|
|
3608
4121
|
target: "_blank" | "_self" | "_parent" | "_top";
|
|
@@ -3624,8 +4137,10 @@ declare const PageContentsResolved: z.ZodObject<{
|
|
|
3624
4137
|
main: (LayoutVariationNode | ({
|
|
3625
4138
|
value: string;
|
|
3626
4139
|
type: "text";
|
|
4140
|
+
nodeId: string;
|
|
3627
4141
|
} | {
|
|
3628
4142
|
type: "matrix-image";
|
|
4143
|
+
nodeId: string;
|
|
3629
4144
|
matrixDomain: string;
|
|
3630
4145
|
matrixAssetId: string;
|
|
3631
4146
|
attributes?: (Record<string, string> & {
|
|
@@ -3637,6 +4152,7 @@ declare const PageContentsResolved: z.ZodObject<{
|
|
|
3637
4152
|
matrixIdentifier?: string | undefined;
|
|
3638
4153
|
} | {
|
|
3639
4154
|
type: "dam-image";
|
|
4155
|
+
nodeId: string;
|
|
3640
4156
|
damSystemType: "bynder";
|
|
3641
4157
|
damSystemIdentifier: string;
|
|
3642
4158
|
damObjectId: string;
|
|
@@ -3651,6 +4167,7 @@ declare const PageContentsResolved: z.ZodObject<{
|
|
|
3651
4167
|
} | undefined;
|
|
3652
4168
|
} | {
|
|
3653
4169
|
type: "component";
|
|
4170
|
+
nodeId: string;
|
|
3654
4171
|
componentId: string;
|
|
3655
4172
|
componentSet: string;
|
|
3656
4173
|
componentType?: "server" | "edge" | undefined;
|
|
@@ -3662,6 +4179,7 @@ declare const PageContentsResolved: z.ZodObject<{
|
|
|
3662
4179
|
} | undefined;
|
|
3663
4180
|
} | (({
|
|
3664
4181
|
type: "tag";
|
|
4182
|
+
nodeId: string;
|
|
3665
4183
|
tag: string;
|
|
3666
4184
|
attributes?: Record<string, string> | undefined;
|
|
3667
4185
|
font?: {
|
|
@@ -3677,8 +4195,10 @@ declare const PageContentsResolved: z.ZodObject<{
|
|
|
3677
4195
|
} | undefined;
|
|
3678
4196
|
} | {
|
|
3679
4197
|
type: "fragment";
|
|
4198
|
+
nodeId: string;
|
|
3680
4199
|
} | {
|
|
3681
4200
|
type: "link-to-matrix-asset";
|
|
4201
|
+
nodeId: string;
|
|
3682
4202
|
matrixDomain: string;
|
|
3683
4203
|
matrixAssetId: string;
|
|
3684
4204
|
target: "_blank" | "_self" | "_parent" | "_top";
|
|
@@ -3700,8 +4220,10 @@ declare const PageContentsResolved: z.ZodObject<{
|
|
|
3700
4220
|
left: (LayoutVariationNode | ({
|
|
3701
4221
|
value: string;
|
|
3702
4222
|
type: "text";
|
|
4223
|
+
nodeId: string;
|
|
3703
4224
|
} | {
|
|
3704
4225
|
type: "matrix-image";
|
|
4226
|
+
nodeId: string;
|
|
3705
4227
|
matrixDomain: string;
|
|
3706
4228
|
matrixAssetId: string;
|
|
3707
4229
|
attributes?: (Record<string, string> & {
|
|
@@ -3713,6 +4235,7 @@ declare const PageContentsResolved: z.ZodObject<{
|
|
|
3713
4235
|
matrixIdentifier?: string | undefined;
|
|
3714
4236
|
} | {
|
|
3715
4237
|
type: "dam-image";
|
|
4238
|
+
nodeId: string;
|
|
3716
4239
|
damSystemType: "bynder";
|
|
3717
4240
|
damSystemIdentifier: string;
|
|
3718
4241
|
damObjectId: string;
|
|
@@ -3727,6 +4250,7 @@ declare const PageContentsResolved: z.ZodObject<{
|
|
|
3727
4250
|
} | undefined;
|
|
3728
4251
|
} | {
|
|
3729
4252
|
type: "component";
|
|
4253
|
+
nodeId: string;
|
|
3730
4254
|
componentId: string;
|
|
3731
4255
|
componentSet: string;
|
|
3732
4256
|
componentType?: "server" | "edge" | undefined;
|
|
@@ -3738,6 +4262,7 @@ declare const PageContentsResolved: z.ZodObject<{
|
|
|
3738
4262
|
} | undefined;
|
|
3739
4263
|
} | (({
|
|
3740
4264
|
type: "tag";
|
|
4265
|
+
nodeId: string;
|
|
3741
4266
|
tag: string;
|
|
3742
4267
|
attributes?: Record<string, string> | undefined;
|
|
3743
4268
|
font?: {
|
|
@@ -3753,8 +4278,10 @@ declare const PageContentsResolved: z.ZodObject<{
|
|
|
3753
4278
|
} | undefined;
|
|
3754
4279
|
} | {
|
|
3755
4280
|
type: "fragment";
|
|
4281
|
+
nodeId: string;
|
|
3756
4282
|
} | {
|
|
3757
4283
|
type: "link-to-matrix-asset";
|
|
4284
|
+
nodeId: string;
|
|
3758
4285
|
matrixDomain: string;
|
|
3759
4286
|
matrixAssetId: string;
|
|
3760
4287
|
target: "_blank" | "_self" | "_parent" | "_top";
|
|
@@ -3772,8 +4299,10 @@ declare const PageContentsResolved: z.ZodObject<{
|
|
|
3772
4299
|
right: (LayoutVariationNode | ({
|
|
3773
4300
|
value: string;
|
|
3774
4301
|
type: "text";
|
|
4302
|
+
nodeId: string;
|
|
3775
4303
|
} | {
|
|
3776
4304
|
type: "matrix-image";
|
|
4305
|
+
nodeId: string;
|
|
3777
4306
|
matrixDomain: string;
|
|
3778
4307
|
matrixAssetId: string;
|
|
3779
4308
|
attributes?: (Record<string, string> & {
|
|
@@ -3785,6 +4314,7 @@ declare const PageContentsResolved: z.ZodObject<{
|
|
|
3785
4314
|
matrixIdentifier?: string | undefined;
|
|
3786
4315
|
} | {
|
|
3787
4316
|
type: "dam-image";
|
|
4317
|
+
nodeId: string;
|
|
3788
4318
|
damSystemType: "bynder";
|
|
3789
4319
|
damSystemIdentifier: string;
|
|
3790
4320
|
damObjectId: string;
|
|
@@ -3799,6 +4329,7 @@ declare const PageContentsResolved: z.ZodObject<{
|
|
|
3799
4329
|
} | undefined;
|
|
3800
4330
|
} | {
|
|
3801
4331
|
type: "component";
|
|
4332
|
+
nodeId: string;
|
|
3802
4333
|
componentId: string;
|
|
3803
4334
|
componentSet: string;
|
|
3804
4335
|
componentType?: "server" | "edge" | undefined;
|
|
@@ -3810,6 +4341,7 @@ declare const PageContentsResolved: z.ZodObject<{
|
|
|
3810
4341
|
} | undefined;
|
|
3811
4342
|
} | (({
|
|
3812
4343
|
type: "tag";
|
|
4344
|
+
nodeId: string;
|
|
3813
4345
|
tag: string;
|
|
3814
4346
|
attributes?: Record<string, string> | undefined;
|
|
3815
4347
|
font?: {
|
|
@@ -3825,8 +4357,10 @@ declare const PageContentsResolved: z.ZodObject<{
|
|
|
3825
4357
|
} | undefined;
|
|
3826
4358
|
} | {
|
|
3827
4359
|
type: "fragment";
|
|
4360
|
+
nodeId: string;
|
|
3828
4361
|
} | {
|
|
3829
4362
|
type: "link-to-matrix-asset";
|
|
4363
|
+
nodeId: string;
|
|
3830
4364
|
matrixDomain: string;
|
|
3831
4365
|
matrixAssetId: string;
|
|
3832
4366
|
target: "_blank" | "_self" | "_parent" | "_top";
|
|
@@ -3848,8 +4382,10 @@ declare const PageContentsResolved: z.ZodObject<{
|
|
|
3848
4382
|
main: (LayoutVariationNode | ({
|
|
3849
4383
|
value: string;
|
|
3850
4384
|
type: "text";
|
|
4385
|
+
nodeId: string;
|
|
3851
4386
|
} | {
|
|
3852
4387
|
type: "matrix-image";
|
|
4388
|
+
nodeId: string;
|
|
3853
4389
|
matrixDomain: string;
|
|
3854
4390
|
matrixAssetId: string;
|
|
3855
4391
|
attributes?: (Record<string, string> & {
|
|
@@ -3861,6 +4397,7 @@ declare const PageContentsResolved: z.ZodObject<{
|
|
|
3861
4397
|
matrixIdentifier?: string | undefined;
|
|
3862
4398
|
} | {
|
|
3863
4399
|
type: "dam-image";
|
|
4400
|
+
nodeId: string;
|
|
3864
4401
|
damSystemType: "bynder";
|
|
3865
4402
|
damSystemIdentifier: string;
|
|
3866
4403
|
damObjectId: string;
|
|
@@ -3875,6 +4412,7 @@ declare const PageContentsResolved: z.ZodObject<{
|
|
|
3875
4412
|
} | undefined;
|
|
3876
4413
|
} | {
|
|
3877
4414
|
type: "component";
|
|
4415
|
+
nodeId: string;
|
|
3878
4416
|
componentId: string;
|
|
3879
4417
|
componentSet: string;
|
|
3880
4418
|
componentType?: "server" | "edge" | undefined;
|
|
@@ -3886,6 +4424,7 @@ declare const PageContentsResolved: z.ZodObject<{
|
|
|
3886
4424
|
} | undefined;
|
|
3887
4425
|
} | (({
|
|
3888
4426
|
type: "tag";
|
|
4427
|
+
nodeId: string;
|
|
3889
4428
|
tag: string;
|
|
3890
4429
|
attributes?: Record<string, string> | undefined;
|
|
3891
4430
|
font?: {
|
|
@@ -3901,8 +4440,10 @@ declare const PageContentsResolved: z.ZodObject<{
|
|
|
3901
4440
|
} | undefined;
|
|
3902
4441
|
} | {
|
|
3903
4442
|
type: "fragment";
|
|
4443
|
+
nodeId: string;
|
|
3904
4444
|
} | {
|
|
3905
4445
|
type: "link-to-matrix-asset";
|
|
4446
|
+
nodeId: string;
|
|
3906
4447
|
matrixDomain: string;
|
|
3907
4448
|
matrixAssetId: string;
|
|
3908
4449
|
target: "_blank" | "_self" | "_parent" | "_top";
|
|
@@ -3932,6 +4473,85 @@ declare const PageContentsResolved: z.ZodObject<{
|
|
|
3932
4473
|
} | undefined;
|
|
3933
4474
|
};
|
|
3934
4475
|
})[];
|
|
4476
|
+
content?: Record<string, (LayoutVariationNode | ({
|
|
4477
|
+
value: string;
|
|
4478
|
+
type: "text";
|
|
4479
|
+
nodeId: string;
|
|
4480
|
+
} | {
|
|
4481
|
+
type: "matrix-image";
|
|
4482
|
+
nodeId: string;
|
|
4483
|
+
matrixDomain: string;
|
|
4484
|
+
matrixAssetId: string;
|
|
4485
|
+
attributes?: (Record<string, string> & {
|
|
4486
|
+
src?: undefined;
|
|
4487
|
+
}) | undefined;
|
|
4488
|
+
formattingOptions?: {
|
|
4489
|
+
alignment: "left" | "center" | "right" | "justify";
|
|
4490
|
+
} | undefined;
|
|
4491
|
+
matrixIdentifier?: string | undefined;
|
|
4492
|
+
} | {
|
|
4493
|
+
type: "dam-image";
|
|
4494
|
+
nodeId: string;
|
|
4495
|
+
damSystemType: "bynder";
|
|
4496
|
+
damSystemIdentifier: string;
|
|
4497
|
+
damObjectId: string;
|
|
4498
|
+
attributes?: (Record<string, string> & {
|
|
4499
|
+
src?: undefined;
|
|
4500
|
+
}) | undefined;
|
|
4501
|
+
formattingOptions?: {
|
|
4502
|
+
alignment: "left" | "center" | "right" | "justify";
|
|
4503
|
+
} | undefined;
|
|
4504
|
+
damAdditional?: {
|
|
4505
|
+
variant?: string | undefined;
|
|
4506
|
+
} | undefined;
|
|
4507
|
+
} | {
|
|
4508
|
+
type: "component";
|
|
4509
|
+
nodeId: string;
|
|
4510
|
+
componentId: string;
|
|
4511
|
+
componentSet: string;
|
|
4512
|
+
componentType?: "server" | "edge" | undefined;
|
|
4513
|
+
contentItem?: {
|
|
4514
|
+
id: string;
|
|
4515
|
+
} | {
|
|
4516
|
+
content: Record<string, unknown>;
|
|
4517
|
+
schemaName: string;
|
|
4518
|
+
} | undefined;
|
|
4519
|
+
} | (({
|
|
4520
|
+
type: "tag";
|
|
4521
|
+
nodeId: string;
|
|
4522
|
+
tag: string;
|
|
4523
|
+
attributes?: Record<string, string> | undefined;
|
|
4524
|
+
font?: {
|
|
4525
|
+
bold?: boolean | undefined;
|
|
4526
|
+
italics?: boolean | undefined;
|
|
4527
|
+
underline?: boolean | undefined;
|
|
4528
|
+
color?: string | undefined;
|
|
4529
|
+
size?: string | undefined;
|
|
4530
|
+
fontFamily?: string | undefined;
|
|
4531
|
+
} | undefined;
|
|
4532
|
+
formattingOptions?: {
|
|
4533
|
+
alignment: "left" | "center" | "right" | "justify";
|
|
4534
|
+
} | undefined;
|
|
4535
|
+
} | {
|
|
4536
|
+
type: "fragment";
|
|
4537
|
+
nodeId: string;
|
|
4538
|
+
} | {
|
|
4539
|
+
type: "link-to-matrix-asset";
|
|
4540
|
+
nodeId: string;
|
|
4541
|
+
matrixDomain: string;
|
|
4542
|
+
matrixAssetId: string;
|
|
4543
|
+
target: "_blank" | "_self" | "_parent" | "_top";
|
|
4544
|
+
attributes?: (Record<string, string> & {
|
|
4545
|
+
target?: undefined;
|
|
4546
|
+
href?: undefined;
|
|
4547
|
+
}) | undefined;
|
|
4548
|
+
formattingOptions?: {
|
|
4549
|
+
alignment: "left" | "center" | "right" | "justify";
|
|
4550
|
+
} | undefined;
|
|
4551
|
+
matrixIdentifier?: string | undefined;
|
|
4552
|
+
}) & {
|
|
4553
|
+
children: LayoutContentNodes[];
|
|
4554
|
+
})) | import("../layout-content").DeveloperDefinedLayoutNode)[]> | undefined;
|
|
3935
4555
|
}, {
|
|
3936
4556
|
id: string;
|
|
3937
4557
|
name: string;
|
|
@@ -3940,9 +4560,11 @@ declare const PageContentsResolved: z.ZodObject<{
|
|
|
3940
4560
|
main: ({
|
|
3941
4561
|
value: string;
|
|
3942
4562
|
type: "text";
|
|
4563
|
+
nodeId?: string | undefined;
|
|
3943
4564
|
} | {
|
|
3944
4565
|
type: "tag";
|
|
3945
4566
|
tag: string;
|
|
4567
|
+
nodeId?: string | undefined;
|
|
3946
4568
|
attributes?: Record<string, string> | undefined;
|
|
3947
4569
|
font?: {
|
|
3948
4570
|
bold?: boolean | undefined;
|
|
@@ -3957,11 +4579,13 @@ declare const PageContentsResolved: z.ZodObject<{
|
|
|
3957
4579
|
} | undefined;
|
|
3958
4580
|
} | {
|
|
3959
4581
|
type: "fragment";
|
|
4582
|
+
nodeId?: string | undefined;
|
|
3960
4583
|
} | {
|
|
3961
4584
|
type: "link-to-matrix-asset";
|
|
3962
4585
|
matrixDomain: string;
|
|
3963
4586
|
matrixAssetId: string;
|
|
3964
4587
|
target: "_blank" | "_self" | "_parent" | "_top";
|
|
4588
|
+
nodeId?: string | undefined;
|
|
3965
4589
|
attributes?: (Record<string, string> & {
|
|
3966
4590
|
target?: undefined;
|
|
3967
4591
|
href?: undefined;
|
|
@@ -3974,6 +4598,7 @@ declare const PageContentsResolved: z.ZodObject<{
|
|
|
3974
4598
|
type: "matrix-image";
|
|
3975
4599
|
matrixDomain: string;
|
|
3976
4600
|
matrixAssetId: string;
|
|
4601
|
+
nodeId?: string | undefined;
|
|
3977
4602
|
attributes?: (Record<string, string> & {
|
|
3978
4603
|
src?: undefined;
|
|
3979
4604
|
}) | undefined;
|
|
@@ -3986,6 +4611,7 @@ declare const PageContentsResolved: z.ZodObject<{
|
|
|
3986
4611
|
damSystemType: "bynder";
|
|
3987
4612
|
damSystemIdentifier: string;
|
|
3988
4613
|
damObjectId: string;
|
|
4614
|
+
nodeId?: string | undefined;
|
|
3989
4615
|
attributes?: (Record<string, string> & {
|
|
3990
4616
|
src?: undefined;
|
|
3991
4617
|
}) | undefined;
|
|
@@ -3999,6 +4625,7 @@ declare const PageContentsResolved: z.ZodObject<{
|
|
|
3999
4625
|
type: "component";
|
|
4000
4626
|
componentId: string;
|
|
4001
4627
|
componentSet: string;
|
|
4628
|
+
nodeId?: string | undefined;
|
|
4002
4629
|
componentType?: "server" | "edge" | undefined;
|
|
4003
4630
|
contentItem?: {
|
|
4004
4631
|
id: string;
|
|
@@ -4009,6 +4636,7 @@ declare const PageContentsResolved: z.ZodObject<{
|
|
|
4009
4636
|
} | {
|
|
4010
4637
|
type: "variation";
|
|
4011
4638
|
default: {};
|
|
4639
|
+
nodeId?: string | undefined;
|
|
4012
4640
|
} | {
|
|
4013
4641
|
type: "layout";
|
|
4014
4642
|
layout: {
|
|
@@ -4034,6 +4662,7 @@ declare const PageContentsResolved: z.ZodObject<{
|
|
|
4034
4662
|
}>;
|
|
4035
4663
|
name: string;
|
|
4036
4664
|
};
|
|
4665
|
+
nodeId?: string | undefined;
|
|
4037
4666
|
})[];
|
|
4038
4667
|
};
|
|
4039
4668
|
name: "layout-raw";
|
|
@@ -4042,9 +4671,11 @@ declare const PageContentsResolved: z.ZodObject<{
|
|
|
4042
4671
|
main: ({
|
|
4043
4672
|
value: string;
|
|
4044
4673
|
type: "text";
|
|
4674
|
+
nodeId?: string | undefined;
|
|
4045
4675
|
} | {
|
|
4046
4676
|
type: "tag";
|
|
4047
4677
|
tag: string;
|
|
4678
|
+
nodeId?: string | undefined;
|
|
4048
4679
|
attributes?: Record<string, string> | undefined;
|
|
4049
4680
|
font?: {
|
|
4050
4681
|
bold?: boolean | undefined;
|
|
@@ -4059,11 +4690,13 @@ declare const PageContentsResolved: z.ZodObject<{
|
|
|
4059
4690
|
} | undefined;
|
|
4060
4691
|
} | {
|
|
4061
4692
|
type: "fragment";
|
|
4693
|
+
nodeId?: string | undefined;
|
|
4062
4694
|
} | {
|
|
4063
4695
|
type: "link-to-matrix-asset";
|
|
4064
4696
|
matrixDomain: string;
|
|
4065
4697
|
matrixAssetId: string;
|
|
4066
4698
|
target: "_blank" | "_self" | "_parent" | "_top";
|
|
4699
|
+
nodeId?: string | undefined;
|
|
4067
4700
|
attributes?: (Record<string, string> & {
|
|
4068
4701
|
target?: undefined;
|
|
4069
4702
|
href?: undefined;
|
|
@@ -4076,6 +4709,7 @@ declare const PageContentsResolved: z.ZodObject<{
|
|
|
4076
4709
|
type: "matrix-image";
|
|
4077
4710
|
matrixDomain: string;
|
|
4078
4711
|
matrixAssetId: string;
|
|
4712
|
+
nodeId?: string | undefined;
|
|
4079
4713
|
attributes?: (Record<string, string> & {
|
|
4080
4714
|
src?: undefined;
|
|
4081
4715
|
}) | undefined;
|
|
@@ -4088,6 +4722,7 @@ declare const PageContentsResolved: z.ZodObject<{
|
|
|
4088
4722
|
damSystemType: "bynder";
|
|
4089
4723
|
damSystemIdentifier: string;
|
|
4090
4724
|
damObjectId: string;
|
|
4725
|
+
nodeId?: string | undefined;
|
|
4091
4726
|
attributes?: (Record<string, string> & {
|
|
4092
4727
|
src?: undefined;
|
|
4093
4728
|
}) | undefined;
|
|
@@ -4101,6 +4736,7 @@ declare const PageContentsResolved: z.ZodObject<{
|
|
|
4101
4736
|
type: "component";
|
|
4102
4737
|
componentId: string;
|
|
4103
4738
|
componentSet: string;
|
|
4739
|
+
nodeId?: string | undefined;
|
|
4104
4740
|
componentType?: "server" | "edge" | undefined;
|
|
4105
4741
|
contentItem?: {
|
|
4106
4742
|
id: string;
|
|
@@ -4111,6 +4747,7 @@ declare const PageContentsResolved: z.ZodObject<{
|
|
|
4111
4747
|
} | {
|
|
4112
4748
|
type: "variation";
|
|
4113
4749
|
default: {};
|
|
4750
|
+
nodeId?: string | undefined;
|
|
4114
4751
|
} | {
|
|
4115
4752
|
type: "layout";
|
|
4116
4753
|
layout: {
|
|
@@ -4136,6 +4773,7 @@ declare const PageContentsResolved: z.ZodObject<{
|
|
|
4136
4773
|
}>;
|
|
4137
4774
|
name: string;
|
|
4138
4775
|
};
|
|
4776
|
+
nodeId?: string | undefined;
|
|
4139
4777
|
})[];
|
|
4140
4778
|
};
|
|
4141
4779
|
name: "single-column";
|
|
@@ -4144,9 +4782,11 @@ declare const PageContentsResolved: z.ZodObject<{
|
|
|
4144
4782
|
left: ({
|
|
4145
4783
|
value: string;
|
|
4146
4784
|
type: "text";
|
|
4785
|
+
nodeId?: string | undefined;
|
|
4147
4786
|
} | {
|
|
4148
4787
|
type: "tag";
|
|
4149
4788
|
tag: string;
|
|
4789
|
+
nodeId?: string | undefined;
|
|
4150
4790
|
attributes?: Record<string, string> | undefined;
|
|
4151
4791
|
font?: {
|
|
4152
4792
|
bold?: boolean | undefined;
|
|
@@ -4161,11 +4801,13 @@ declare const PageContentsResolved: z.ZodObject<{
|
|
|
4161
4801
|
} | undefined;
|
|
4162
4802
|
} | {
|
|
4163
4803
|
type: "fragment";
|
|
4804
|
+
nodeId?: string | undefined;
|
|
4164
4805
|
} | {
|
|
4165
4806
|
type: "link-to-matrix-asset";
|
|
4166
4807
|
matrixDomain: string;
|
|
4167
4808
|
matrixAssetId: string;
|
|
4168
4809
|
target: "_blank" | "_self" | "_parent" | "_top";
|
|
4810
|
+
nodeId?: string | undefined;
|
|
4169
4811
|
attributes?: (Record<string, string> & {
|
|
4170
4812
|
target?: undefined;
|
|
4171
4813
|
href?: undefined;
|
|
@@ -4178,6 +4820,7 @@ declare const PageContentsResolved: z.ZodObject<{
|
|
|
4178
4820
|
type: "matrix-image";
|
|
4179
4821
|
matrixDomain: string;
|
|
4180
4822
|
matrixAssetId: string;
|
|
4823
|
+
nodeId?: string | undefined;
|
|
4181
4824
|
attributes?: (Record<string, string> & {
|
|
4182
4825
|
src?: undefined;
|
|
4183
4826
|
}) | undefined;
|
|
@@ -4190,6 +4833,7 @@ declare const PageContentsResolved: z.ZodObject<{
|
|
|
4190
4833
|
damSystemType: "bynder";
|
|
4191
4834
|
damSystemIdentifier: string;
|
|
4192
4835
|
damObjectId: string;
|
|
4836
|
+
nodeId?: string | undefined;
|
|
4193
4837
|
attributes?: (Record<string, string> & {
|
|
4194
4838
|
src?: undefined;
|
|
4195
4839
|
}) | undefined;
|
|
@@ -4203,6 +4847,7 @@ declare const PageContentsResolved: z.ZodObject<{
|
|
|
4203
4847
|
type: "component";
|
|
4204
4848
|
componentId: string;
|
|
4205
4849
|
componentSet: string;
|
|
4850
|
+
nodeId?: string | undefined;
|
|
4206
4851
|
componentType?: "server" | "edge" | undefined;
|
|
4207
4852
|
contentItem?: {
|
|
4208
4853
|
id: string;
|
|
@@ -4213,6 +4858,7 @@ declare const PageContentsResolved: z.ZodObject<{
|
|
|
4213
4858
|
} | {
|
|
4214
4859
|
type: "variation";
|
|
4215
4860
|
default: {};
|
|
4861
|
+
nodeId?: string | undefined;
|
|
4216
4862
|
} | {
|
|
4217
4863
|
type: "layout";
|
|
4218
4864
|
layout: {
|
|
@@ -4238,13 +4884,16 @@ declare const PageContentsResolved: z.ZodObject<{
|
|
|
4238
4884
|
}>;
|
|
4239
4885
|
name: string;
|
|
4240
4886
|
};
|
|
4887
|
+
nodeId?: string | undefined;
|
|
4241
4888
|
})[];
|
|
4242
4889
|
right: ({
|
|
4243
4890
|
value: string;
|
|
4244
4891
|
type: "text";
|
|
4892
|
+
nodeId?: string | undefined;
|
|
4245
4893
|
} | {
|
|
4246
4894
|
type: "tag";
|
|
4247
4895
|
tag: string;
|
|
4896
|
+
nodeId?: string | undefined;
|
|
4248
4897
|
attributes?: Record<string, string> | undefined;
|
|
4249
4898
|
font?: {
|
|
4250
4899
|
bold?: boolean | undefined;
|
|
@@ -4259,11 +4908,13 @@ declare const PageContentsResolved: z.ZodObject<{
|
|
|
4259
4908
|
} | undefined;
|
|
4260
4909
|
} | {
|
|
4261
4910
|
type: "fragment";
|
|
4911
|
+
nodeId?: string | undefined;
|
|
4262
4912
|
} | {
|
|
4263
4913
|
type: "link-to-matrix-asset";
|
|
4264
4914
|
matrixDomain: string;
|
|
4265
4915
|
matrixAssetId: string;
|
|
4266
4916
|
target: "_blank" | "_self" | "_parent" | "_top";
|
|
4917
|
+
nodeId?: string | undefined;
|
|
4267
4918
|
attributes?: (Record<string, string> & {
|
|
4268
4919
|
target?: undefined;
|
|
4269
4920
|
href?: undefined;
|
|
@@ -4276,6 +4927,7 @@ declare const PageContentsResolved: z.ZodObject<{
|
|
|
4276
4927
|
type: "matrix-image";
|
|
4277
4928
|
matrixDomain: string;
|
|
4278
4929
|
matrixAssetId: string;
|
|
4930
|
+
nodeId?: string | undefined;
|
|
4279
4931
|
attributes?: (Record<string, string> & {
|
|
4280
4932
|
src?: undefined;
|
|
4281
4933
|
}) | undefined;
|
|
@@ -4288,6 +4940,7 @@ declare const PageContentsResolved: z.ZodObject<{
|
|
|
4288
4940
|
damSystemType: "bynder";
|
|
4289
4941
|
damSystemIdentifier: string;
|
|
4290
4942
|
damObjectId: string;
|
|
4943
|
+
nodeId?: string | undefined;
|
|
4291
4944
|
attributes?: (Record<string, string> & {
|
|
4292
4945
|
src?: undefined;
|
|
4293
4946
|
}) | undefined;
|
|
@@ -4301,6 +4954,7 @@ declare const PageContentsResolved: z.ZodObject<{
|
|
|
4301
4954
|
type: "component";
|
|
4302
4955
|
componentId: string;
|
|
4303
4956
|
componentSet: string;
|
|
4957
|
+
nodeId?: string | undefined;
|
|
4304
4958
|
componentType?: "server" | "edge" | undefined;
|
|
4305
4959
|
contentItem?: {
|
|
4306
4960
|
id: string;
|
|
@@ -4311,6 +4965,7 @@ declare const PageContentsResolved: z.ZodObject<{
|
|
|
4311
4965
|
} | {
|
|
4312
4966
|
type: "variation";
|
|
4313
4967
|
default: {};
|
|
4968
|
+
nodeId?: string | undefined;
|
|
4314
4969
|
} | {
|
|
4315
4970
|
type: "layout";
|
|
4316
4971
|
layout: {
|
|
@@ -4336,6 +4991,7 @@ declare const PageContentsResolved: z.ZodObject<{
|
|
|
4336
4991
|
}>;
|
|
4337
4992
|
name: string;
|
|
4338
4993
|
};
|
|
4994
|
+
nodeId?: string | undefined;
|
|
4339
4995
|
})[];
|
|
4340
4996
|
};
|
|
4341
4997
|
name: "two-column";
|
|
@@ -4344,9 +5000,11 @@ declare const PageContentsResolved: z.ZodObject<{
|
|
|
4344
5000
|
main: ({
|
|
4345
5001
|
value: string;
|
|
4346
5002
|
type: "text";
|
|
5003
|
+
nodeId?: string | undefined;
|
|
4347
5004
|
} | {
|
|
4348
5005
|
type: "tag";
|
|
4349
5006
|
tag: string;
|
|
5007
|
+
nodeId?: string | undefined;
|
|
4350
5008
|
attributes?: Record<string, string> | undefined;
|
|
4351
5009
|
font?: {
|
|
4352
5010
|
bold?: boolean | undefined;
|
|
@@ -4361,11 +5019,13 @@ declare const PageContentsResolved: z.ZodObject<{
|
|
|
4361
5019
|
} | undefined;
|
|
4362
5020
|
} | {
|
|
4363
5021
|
type: "fragment";
|
|
5022
|
+
nodeId?: string | undefined;
|
|
4364
5023
|
} | {
|
|
4365
5024
|
type: "link-to-matrix-asset";
|
|
4366
5025
|
matrixDomain: string;
|
|
4367
5026
|
matrixAssetId: string;
|
|
4368
5027
|
target: "_blank" | "_self" | "_parent" | "_top";
|
|
5028
|
+
nodeId?: string | undefined;
|
|
4369
5029
|
attributes?: (Record<string, string> & {
|
|
4370
5030
|
target?: undefined;
|
|
4371
5031
|
href?: undefined;
|
|
@@ -4378,6 +5038,7 @@ declare const PageContentsResolved: z.ZodObject<{
|
|
|
4378
5038
|
type: "matrix-image";
|
|
4379
5039
|
matrixDomain: string;
|
|
4380
5040
|
matrixAssetId: string;
|
|
5041
|
+
nodeId?: string | undefined;
|
|
4381
5042
|
attributes?: (Record<string, string> & {
|
|
4382
5043
|
src?: undefined;
|
|
4383
5044
|
}) | undefined;
|
|
@@ -4390,6 +5051,7 @@ declare const PageContentsResolved: z.ZodObject<{
|
|
|
4390
5051
|
damSystemType: "bynder";
|
|
4391
5052
|
damSystemIdentifier: string;
|
|
4392
5053
|
damObjectId: string;
|
|
5054
|
+
nodeId?: string | undefined;
|
|
4393
5055
|
attributes?: (Record<string, string> & {
|
|
4394
5056
|
src?: undefined;
|
|
4395
5057
|
}) | undefined;
|
|
@@ -4403,6 +5065,7 @@ declare const PageContentsResolved: z.ZodObject<{
|
|
|
4403
5065
|
type: "component";
|
|
4404
5066
|
componentId: string;
|
|
4405
5067
|
componentSet: string;
|
|
5068
|
+
nodeId?: string | undefined;
|
|
4406
5069
|
componentType?: "server" | "edge" | undefined;
|
|
4407
5070
|
contentItem?: {
|
|
4408
5071
|
id: string;
|
|
@@ -4413,6 +5076,7 @@ declare const PageContentsResolved: z.ZodObject<{
|
|
|
4413
5076
|
} | {
|
|
4414
5077
|
type: "variation";
|
|
4415
5078
|
default: {};
|
|
5079
|
+
nodeId?: string | undefined;
|
|
4416
5080
|
} | {
|
|
4417
5081
|
type: "layout";
|
|
4418
5082
|
layout: {
|
|
@@ -4438,6 +5102,7 @@ declare const PageContentsResolved: z.ZodObject<{
|
|
|
4438
5102
|
}>;
|
|
4439
5103
|
name: string;
|
|
4440
5104
|
};
|
|
5105
|
+
nodeId?: string | undefined;
|
|
4441
5106
|
})[];
|
|
4442
5107
|
};
|
|
4443
5108
|
name: "custom-layout";
|
|
@@ -4454,6 +5119,113 @@ declare const PageContentsResolved: z.ZodObject<{
|
|
|
4454
5119
|
} | undefined;
|
|
4455
5120
|
};
|
|
4456
5121
|
})[];
|
|
5122
|
+
content?: Record<string, ({
|
|
5123
|
+
value: string;
|
|
5124
|
+
type: "text";
|
|
5125
|
+
nodeId?: string | undefined;
|
|
5126
|
+
} | {
|
|
5127
|
+
type: "tag";
|
|
5128
|
+
tag: string;
|
|
5129
|
+
nodeId?: string | undefined;
|
|
5130
|
+
attributes?: Record<string, string> | undefined;
|
|
5131
|
+
font?: {
|
|
5132
|
+
bold?: boolean | undefined;
|
|
5133
|
+
italics?: boolean | undefined;
|
|
5134
|
+
underline?: boolean | undefined;
|
|
5135
|
+
color?: string | undefined;
|
|
5136
|
+
size?: string | undefined;
|
|
5137
|
+
fontFamily?: string | undefined;
|
|
5138
|
+
} | undefined;
|
|
5139
|
+
formattingOptions?: {
|
|
5140
|
+
alignment: "left" | "center" | "right" | "justify";
|
|
5141
|
+
} | undefined;
|
|
5142
|
+
} | {
|
|
5143
|
+
type: "fragment";
|
|
5144
|
+
nodeId?: string | undefined;
|
|
5145
|
+
} | {
|
|
5146
|
+
type: "link-to-matrix-asset";
|
|
5147
|
+
matrixDomain: string;
|
|
5148
|
+
matrixAssetId: string;
|
|
5149
|
+
target: "_blank" | "_self" | "_parent" | "_top";
|
|
5150
|
+
nodeId?: string | undefined;
|
|
5151
|
+
attributes?: (Record<string, string> & {
|
|
5152
|
+
target?: undefined;
|
|
5153
|
+
href?: undefined;
|
|
5154
|
+
}) | undefined;
|
|
5155
|
+
formattingOptions?: {
|
|
5156
|
+
alignment: "left" | "center" | "right" | "justify";
|
|
5157
|
+
} | undefined;
|
|
5158
|
+
matrixIdentifier?: string | undefined;
|
|
5159
|
+
} | {
|
|
5160
|
+
type: "matrix-image";
|
|
5161
|
+
matrixDomain: string;
|
|
5162
|
+
matrixAssetId: string;
|
|
5163
|
+
nodeId?: string | undefined;
|
|
5164
|
+
attributes?: (Record<string, string> & {
|
|
5165
|
+
src?: undefined;
|
|
5166
|
+
}) | undefined;
|
|
5167
|
+
formattingOptions?: {
|
|
5168
|
+
alignment: "left" | "center" | "right" | "justify";
|
|
5169
|
+
} | undefined;
|
|
5170
|
+
matrixIdentifier?: string | undefined;
|
|
5171
|
+
} | {
|
|
5172
|
+
type: "dam-image";
|
|
5173
|
+
damSystemType: "bynder";
|
|
5174
|
+
damSystemIdentifier: string;
|
|
5175
|
+
damObjectId: string;
|
|
5176
|
+
nodeId?: string | undefined;
|
|
5177
|
+
attributes?: (Record<string, string> & {
|
|
5178
|
+
src?: undefined;
|
|
5179
|
+
}) | undefined;
|
|
5180
|
+
formattingOptions?: {
|
|
5181
|
+
alignment: "left" | "center" | "right" | "justify";
|
|
5182
|
+
} | undefined;
|
|
5183
|
+
damAdditional?: {
|
|
5184
|
+
variant?: string | undefined;
|
|
5185
|
+
} | undefined;
|
|
5186
|
+
} | {
|
|
5187
|
+
type: "component";
|
|
5188
|
+
componentId: string;
|
|
5189
|
+
componentSet: string;
|
|
5190
|
+
nodeId?: string | undefined;
|
|
5191
|
+
componentType?: "server" | "edge" | undefined;
|
|
5192
|
+
contentItem?: {
|
|
5193
|
+
id: string;
|
|
5194
|
+
} | {
|
|
5195
|
+
content: Record<string, unknown>;
|
|
5196
|
+
schemaName: string;
|
|
5197
|
+
} | undefined;
|
|
5198
|
+
} | {
|
|
5199
|
+
type: "variation";
|
|
5200
|
+
default: {};
|
|
5201
|
+
nodeId?: string | undefined;
|
|
5202
|
+
} | {
|
|
5203
|
+
type: "layout";
|
|
5204
|
+
layout: {
|
|
5205
|
+
options: Record<string, {
|
|
5206
|
+
values: string[];
|
|
5207
|
+
displayName: string;
|
|
5208
|
+
description: string;
|
|
5209
|
+
selectedValue: string;
|
|
5210
|
+
}>;
|
|
5211
|
+
name: string;
|
|
5212
|
+
displayName: string;
|
|
5213
|
+
description: string;
|
|
5214
|
+
template: string;
|
|
5215
|
+
zones: Record<string, {
|
|
5216
|
+
displayName: string;
|
|
5217
|
+
description: string;
|
|
5218
|
+
minNodes: number;
|
|
5219
|
+
maxNodes?: number | undefined;
|
|
5220
|
+
}>;
|
|
5221
|
+
} | {
|
|
5222
|
+
options: Record<string, {
|
|
5223
|
+
selectedValue: string;
|
|
5224
|
+
}>;
|
|
5225
|
+
name: string;
|
|
5226
|
+
};
|
|
5227
|
+
nodeId?: string | undefined;
|
|
5228
|
+
})[]> | undefined;
|
|
4457
5229
|
}>;
|
|
4458
5230
|
type MockPageContentsResolved = z.infer<typeof PageContentsResolved>;
|
|
4459
5231
|
type ExtractColumnType<T extends PageLayout['name']> = Extract<PageLayout, {
|
|
@@ -4472,6 +5244,17 @@ export declare class PageRawLayoutBuilder {
|
|
|
4472
5244
|
reset(): PageRawLayoutBuilder;
|
|
4473
5245
|
build(): PageLayout;
|
|
4474
5246
|
}
|
|
5247
|
+
/**
|
|
5248
|
+
* Use this builder for creating mock content structures for tests.
|
|
5249
|
+
* @export
|
|
5250
|
+
* @class PageRawLayoutBuilder
|
|
5251
|
+
*/
|
|
5252
|
+
export declare class ContentStructureBuilder {
|
|
5253
|
+
private content;
|
|
5254
|
+
addNode(node: LayoutContentNodes, zone?: string): ContentStructureBuilder;
|
|
5255
|
+
reset(): ContentStructureBuilder;
|
|
5256
|
+
build(): ContentStructure;
|
|
5257
|
+
}
|
|
4475
5258
|
/**
|
|
4476
5259
|
* Use this builder for creating mock single column layouts for tests.
|
|
4477
5260
|
* @export
|
|
@@ -4514,11 +5297,14 @@ export declare class PageContentResolvedMockBuilder {
|
|
|
4514
5297
|
setId(id: string): this;
|
|
4515
5298
|
setName(name: string): PageContentResolvedMockBuilder;
|
|
4516
5299
|
setLayouts(layouts: PageLayout[]): PageContentResolvedMockBuilder;
|
|
5300
|
+
createZone(zoneId: string): PageContentResolvedMockBuilder;
|
|
5301
|
+
createContent(): ContentStructureBuilder;
|
|
4517
5302
|
createLayout(): PageRawLayoutBuilder;
|
|
4518
5303
|
createCustomLayout(config: CustomLayoutConfig): CustomLayoutBuilder;
|
|
4519
5304
|
createTwoColumnLayout(): PageTwoColumnLayoutBuilder;
|
|
4520
5305
|
createRawLayout(): PageRawLayoutBuilder;
|
|
4521
5306
|
addLayout(layout: PageLayout): PageContentResolvedMockBuilder;
|
|
5307
|
+
addContent(content: ContentStructure): PageContentResolvedMockBuilder;
|
|
4522
5308
|
nodeFactory(): MockNodeFactory;
|
|
4523
5309
|
reset(): PageContentResolvedMockBuilder;
|
|
4524
5310
|
build(): MockPageContentsResolved;
|