@squiz/dx-page-contents-lib 1.78.1 → 1.79.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (46) hide show
  1. package/lib/formatted-text.d.ts +20 -50
  2. package/lib/formatted-text.js +5 -46
  3. package/lib/formatted-text.js.map +1 -1
  4. package/lib/formatted-text.spec.js +0 -10
  5. package/lib/formatted-text.spec.js.map +1 -1
  6. package/lib/layout-content.d.ts +316 -510
  7. package/lib/layout-content.js +30 -24
  8. package/lib/layout-content.js.map +1 -1
  9. package/lib/layout-content.spec.js +49 -10
  10. package/lib/layout-content.spec.js.map +1 -1
  11. package/lib/layouts/custom-layout.d.ts +6 -1056
  12. package/lib/layouts/index.d.ts +10 -4683
  13. package/lib/layouts/index.js +0 -6
  14. package/lib/layouts/index.js.map +1 -1
  15. package/lib/layouts/raw.layout.d.ts +5 -927
  16. package/lib/mocks/PageContentsHelpers.d.ts +37 -6359
  17. package/lib/mocks/PageContentsHelpers.js +40 -76
  18. package/lib/mocks/PageContentsHelpers.js.map +1 -1
  19. package/lib/mocks/PageContentsMocks.d.ts +7 -6
  20. package/lib/mocks/PageContentsMocks.js +54 -36
  21. package/lib/mocks/PageContentsMocks.js.map +1 -1
  22. package/lib/page-contents-lib.d.ts +17 -236
  23. package/lib/page-contents-lib.js +3 -23
  24. package/lib/page-contents-lib.js.map +1 -1
  25. package/lib/page-contents-lib.spec.js +133 -242
  26. package/lib/page-contents-lib.spec.js.map +1 -1
  27. package/lib/resolvers/create-variant-resolver.js +1 -1
  28. package/lib/resolvers/create-variant-resolver.js.map +1 -1
  29. package/lib/resolvers/create-variant-resolver.spec.js +50 -20
  30. package/lib/resolvers/create-variant-resolver.spec.js.map +1 -1
  31. package/lib/resolvers/default-layout-resolver.d.ts +2 -2
  32. package/lib/resolvers/default-layout-resolver.js +10 -4
  33. package/lib/resolvers/default-layout-resolver.js.map +1 -1
  34. package/lib/resolvers/default-layout-resolver.spec.js.map +1 -1
  35. package/lib/resolvers/default-variation-resolver.d.ts +2 -2
  36. package/lib/resolvers/default-variation-resolver.js +15 -5
  37. package/lib/resolvers/default-variation-resolver.js.map +1 -1
  38. package/lib/resolvers/default-variation-resolver.spec.js +22 -5
  39. package/lib/resolvers/default-variation-resolver.spec.js.map +1 -1
  40. package/package.json +1 -1
  41. package/lib/layouts/single-column.layout.d.ts +0 -950
  42. package/lib/layouts/single-column.layout.js +0 -15
  43. package/lib/layouts/single-column.layout.js.map +0 -1
  44. package/lib/layouts/two-column.layout.d.ts +0 -1883
  45. package/lib/layouts/two-column.layout.js +0 -16
  46. package/lib/layouts/two-column.layout.js.map +0 -1
@@ -2,3777 +2,28 @@ import { z } from 'zod';
2
2
  export declare const PageLayout: z.ZodDiscriminatedUnion<"name", [z.ZodObject<{
3
3
  name: z.ZodLiteral<"layout-raw">;
4
4
  content: z.ZodObject<{
5
- main: z.ZodEffects<z.ZodArray<z.ZodUnion<[z.ZodType<{
6
- value: string;
7
- type: "text";
8
- nodeId: string;
9
- } | {
10
- type: "matrix-image";
11
- nodeId: string;
12
- matrixDomain: string;
13
- matrixAssetId: string;
14
- attributes?: (Record<string, string> & {
15
- src?: undefined;
16
- }) | undefined;
17
- formattingOptions?: {
18
- alignment: "left" | "center" | "right" | "justify";
19
- } | undefined;
20
- matrixIdentifier?: string | undefined;
21
- } | {
22
- type: "dam-image";
23
- nodeId: string;
24
- damSystemType: string;
25
- damSystemIdentifier: string;
26
- damObjectId: string;
27
- attributes?: (Record<string, string> & {
28
- src?: undefined;
29
- }) | undefined;
30
- formattingOptions?: {
31
- alignment: "left" | "center" | "right" | "justify";
32
- } | undefined;
33
- damAdditional?: {
34
- variant?: string | undefined;
35
- } | undefined;
36
- } | {
37
- type: "component";
38
- nodeId: string;
39
- componentId: string;
40
- componentSet: string;
41
- i18n?: Record<string, {
42
- id: string;
43
- } | {
44
- content: Record<string, unknown>;
45
- schemaName: string;
46
- }> | undefined;
47
- componentType?: "server" | "edge" | undefined;
48
- contentItem?: {
49
- id: string;
50
- } | {
51
- content: Record<string, unknown>;
52
- schemaName: string;
53
- } | undefined;
54
- } | (({
55
- type: "tag";
56
- nodeId: string;
57
- tag: string;
58
- attributes?: Record<string, string> | undefined;
59
- font?: {
60
- bold?: boolean | undefined;
61
- italics?: boolean | undefined;
62
- underline?: boolean | undefined;
63
- color?: string | undefined;
64
- size?: string | undefined;
65
- fontFamily?: string | undefined;
66
- } | undefined;
67
- formattingOptions?: {
68
- alignment: "left" | "center" | "right" | "justify";
69
- } | undefined;
70
- } | {
71
- type: "fragment";
72
- nodeId: string;
73
- i18n?: Record<string, {}> | undefined;
74
- } | {
75
- type: "link-to-matrix-asset";
76
- nodeId: string;
77
- matrixDomain: string;
78
- matrixAssetId: string;
79
- target: "_blank" | "_self" | "_parent" | "_top";
80
- attributes?: (Record<string, string> & {
81
- target?: undefined;
82
- href?: undefined;
83
- }) | undefined;
84
- formattingOptions?: {
85
- alignment: "left" | "center" | "right" | "justify";
86
- } | undefined;
87
- matrixIdentifier?: string | undefined;
88
- } | {
89
- type: "link-to-dam-asset";
90
- nodeId: string;
91
- target: "_blank" | "_self" | "_parent" | "_top";
92
- damSystemType: string;
93
- damSystemIdentifier: string;
94
- damObjectId: string;
95
- attributes?: (Record<string, string> & {
96
- target?: undefined;
97
- href?: undefined;
98
- }) | undefined;
99
- formattingOptions?: {
100
- alignment: "left" | "center" | "right" | "justify";
101
- } | undefined;
102
- damAdditional?: {
103
- variant?: string | undefined;
104
- } | undefined;
105
- }) & {
106
- children: import("../layout-content").LayoutContentNodes[];
107
- }), z.ZodTypeDef, {
108
- value: string;
109
- type: "text";
110
- nodeId?: string | undefined;
111
- } | {
112
- type: "tag";
113
- tag: string;
114
- nodeId?: string | undefined;
115
- attributes?: Record<string, string> | undefined;
116
- font?: {
117
- bold?: boolean | undefined;
118
- italics?: boolean | undefined;
119
- underline?: boolean | undefined;
120
- color?: string | undefined;
121
- size?: string | undefined;
122
- fontFamily?: string | undefined;
123
- } | undefined;
124
- formattingOptions?: {
125
- alignment: "left" | "center" | "right" | "justify";
126
- } | undefined;
127
- } | {
128
- type: "fragment";
129
- nodeId?: string | undefined;
130
- i18n?: Record<string, {}> | undefined;
131
- } | {
132
- type: "link-to-matrix-asset";
133
- matrixDomain: string;
134
- matrixAssetId: string;
135
- target: "_blank" | "_self" | "_parent" | "_top";
136
- nodeId?: string | undefined;
137
- attributes?: (Record<string, string> & {
138
- target?: undefined;
139
- href?: undefined;
140
- }) | undefined;
141
- formattingOptions?: {
142
- alignment: "left" | "center" | "right" | "justify";
143
- } | undefined;
144
- matrixIdentifier?: string | undefined;
145
- } | {
146
- type: "link-to-dam-asset";
147
- target: "_blank" | "_self" | "_parent" | "_top";
148
- damSystemType: string;
149
- damSystemIdentifier: string;
150
- damObjectId: string;
151
- nodeId?: string | undefined;
152
- attributes?: (Record<string, string> & {
153
- target?: undefined;
154
- href?: undefined;
155
- }) | undefined;
156
- formattingOptions?: {
157
- alignment: "left" | "center" | "right" | "justify";
158
- } | undefined;
159
- damAdditional?: {
160
- variant?: string | undefined;
161
- } | undefined;
162
- } | {
163
- type: "matrix-image";
164
- matrixDomain: string;
165
- matrixAssetId: string;
166
- nodeId?: string | undefined;
167
- attributes?: (Record<string, string> & {
168
- src?: undefined;
169
- }) | undefined;
170
- formattingOptions?: {
171
- alignment: "left" | "center" | "right" | "justify";
172
- } | undefined;
173
- matrixIdentifier?: string | undefined;
174
- } | {
175
- type: "dam-image";
176
- damSystemType: string;
177
- damSystemIdentifier: string;
178
- damObjectId: string;
179
- nodeId?: string | undefined;
180
- attributes?: (Record<string, string> & {
181
- src?: undefined;
182
- }) | undefined;
183
- formattingOptions?: {
184
- alignment: "left" | "center" | "right" | "justify";
185
- } | undefined;
186
- damAdditional?: {
187
- variant?: string | undefined;
188
- } | undefined;
189
- } | {
190
- type: "component";
191
- componentId: string;
192
- componentSet: string;
193
- nodeId?: string | undefined;
194
- i18n?: Record<string, {
195
- id: string;
196
- } | {
197
- content: Record<string, unknown>;
198
- schemaName: string;
199
- }> | undefined;
200
- componentType?: "server" | "edge" | undefined;
201
- contentItem?: {
202
- id: string;
203
- } | {
204
- content: Record<string, unknown>;
205
- schemaName: string;
206
- } | undefined;
207
- }>, z.ZodType<import("../layout-content").LayoutVariationNode, z.ZodTypeDef, {
208
- type: "variation";
209
- default: {};
210
- nodeId?: string | undefined;
211
- }>, z.ZodType<import("../layout-content").DeveloperDefinedLayoutNode, z.ZodTypeDef, {
212
- type: "layout";
213
- layout: {
214
- options: Record<string, {
215
- values: string[];
216
- displayName: string;
217
- description: string;
218
- selectedValue: string;
219
- }>;
220
- name: string;
221
- displayName: string;
222
- description: string;
223
- template: string;
224
- zones: Record<string, {
225
- displayName: string;
226
- description: string;
227
- minNodes: number;
228
- maxNodes?: number | undefined;
229
- }>;
230
- } | {
231
- options: Record<string, {
232
- selectedValue: string;
233
- }>;
234
- name: string;
235
- };
236
- nodeId?: string | undefined;
237
- }>]>, "many">, (import("../layout-content").LayoutVariationNode | ({
238
- value: string;
239
- type: "text";
240
- nodeId: string;
241
- } | {
242
- type: "matrix-image";
243
- nodeId: string;
244
- matrixDomain: string;
245
- matrixAssetId: string;
246
- attributes?: (Record<string, string> & {
247
- src?: undefined;
248
- }) | undefined;
249
- formattingOptions?: {
250
- alignment: "left" | "center" | "right" | "justify";
251
- } | undefined;
252
- matrixIdentifier?: string | undefined;
253
- } | {
254
- type: "dam-image";
255
- nodeId: string;
256
- damSystemType: string;
257
- damSystemIdentifier: string;
258
- damObjectId: string;
259
- attributes?: (Record<string, string> & {
260
- src?: undefined;
261
- }) | undefined;
262
- formattingOptions?: {
263
- alignment: "left" | "center" | "right" | "justify";
264
- } | undefined;
265
- damAdditional?: {
266
- variant?: string | undefined;
267
- } | undefined;
268
- } | {
269
- type: "component";
270
- nodeId: string;
271
- componentId: string;
272
- componentSet: string;
273
- i18n?: Record<string, {
274
- id: string;
275
- } | {
276
- content: Record<string, unknown>;
277
- schemaName: string;
278
- }> | undefined;
279
- componentType?: "server" | "edge" | undefined;
280
- contentItem?: {
281
- id: string;
282
- } | {
283
- content: Record<string, unknown>;
284
- schemaName: string;
285
- } | undefined;
286
- } | (({
287
- type: "tag";
288
- nodeId: string;
289
- tag: string;
290
- attributes?: Record<string, string> | undefined;
291
- font?: {
292
- bold?: boolean | undefined;
293
- italics?: boolean | undefined;
294
- underline?: boolean | undefined;
295
- color?: string | undefined;
296
- size?: string | undefined;
297
- fontFamily?: string | undefined;
298
- } | undefined;
299
- formattingOptions?: {
300
- alignment: "left" | "center" | "right" | "justify";
301
- } | undefined;
302
- } | {
303
- type: "fragment";
304
- nodeId: string;
305
- i18n?: Record<string, {}> | undefined;
306
- } | {
307
- type: "link-to-matrix-asset";
308
- nodeId: string;
309
- matrixDomain: string;
310
- matrixAssetId: string;
311
- target: "_blank" | "_self" | "_parent" | "_top";
312
- attributes?: (Record<string, string> & {
313
- target?: undefined;
314
- href?: undefined;
315
- }) | undefined;
316
- formattingOptions?: {
317
- alignment: "left" | "center" | "right" | "justify";
318
- } | undefined;
319
- matrixIdentifier?: string | undefined;
320
- } | {
321
- type: "link-to-dam-asset";
322
- nodeId: string;
323
- target: "_blank" | "_self" | "_parent" | "_top";
324
- damSystemType: string;
325
- damSystemIdentifier: string;
326
- damObjectId: string;
327
- attributes?: (Record<string, string> & {
328
- target?: undefined;
329
- href?: undefined;
330
- }) | undefined;
331
- formattingOptions?: {
332
- alignment: "left" | "center" | "right" | "justify";
333
- } | undefined;
334
- damAdditional?: {
335
- variant?: string | undefined;
336
- } | undefined;
337
- }) & {
338
- children: import("../layout-content").LayoutContentNodes[];
339
- })) | import("../layout-content").DeveloperDefinedLayoutNode)[], ({
340
- value: string;
341
- type: "text";
342
- nodeId?: string | undefined;
343
- } | {
344
- type: "tag";
345
- tag: string;
346
- nodeId?: string | undefined;
347
- attributes?: Record<string, string> | undefined;
348
- font?: {
349
- bold?: boolean | undefined;
350
- italics?: boolean | undefined;
351
- underline?: boolean | undefined;
352
- color?: string | undefined;
353
- size?: string | undefined;
354
- fontFamily?: string | undefined;
355
- } | undefined;
356
- formattingOptions?: {
357
- alignment: "left" | "center" | "right" | "justify";
358
- } | undefined;
359
- } | {
360
- type: "fragment";
361
- nodeId?: string | undefined;
362
- i18n?: Record<string, {}> | undefined;
363
- } | {
364
- type: "link-to-matrix-asset";
365
- matrixDomain: string;
366
- matrixAssetId: string;
367
- target: "_blank" | "_self" | "_parent" | "_top";
368
- nodeId?: string | undefined;
369
- attributes?: (Record<string, string> & {
370
- target?: undefined;
371
- href?: undefined;
372
- }) | undefined;
373
- formattingOptions?: {
374
- alignment: "left" | "center" | "right" | "justify";
375
- } | undefined;
376
- matrixIdentifier?: string | undefined;
377
- } | {
378
- type: "link-to-dam-asset";
379
- target: "_blank" | "_self" | "_parent" | "_top";
380
- damSystemType: string;
381
- damSystemIdentifier: string;
382
- damObjectId: string;
383
- nodeId?: string | undefined;
384
- attributes?: (Record<string, string> & {
385
- target?: undefined;
386
- href?: undefined;
387
- }) | undefined;
388
- formattingOptions?: {
389
- alignment: "left" | "center" | "right" | "justify";
390
- } | undefined;
391
- damAdditional?: {
392
- variant?: string | undefined;
393
- } | undefined;
394
- } | {
395
- type: "matrix-image";
396
- matrixDomain: string;
397
- matrixAssetId: string;
398
- nodeId?: string | undefined;
399
- attributes?: (Record<string, string> & {
400
- src?: undefined;
401
- }) | undefined;
402
- formattingOptions?: {
403
- alignment: "left" | "center" | "right" | "justify";
404
- } | undefined;
405
- matrixIdentifier?: string | undefined;
406
- } | {
407
- type: "dam-image";
408
- damSystemType: string;
409
- damSystemIdentifier: string;
410
- damObjectId: string;
411
- nodeId?: string | undefined;
412
- attributes?: (Record<string, string> & {
413
- src?: undefined;
414
- }) | undefined;
415
- formattingOptions?: {
416
- alignment: "left" | "center" | "right" | "justify";
417
- } | undefined;
418
- damAdditional?: {
419
- variant?: string | undefined;
420
- } | undefined;
421
- } | {
422
- type: "component";
423
- componentId: string;
424
- componentSet: string;
425
- nodeId?: string | undefined;
426
- i18n?: Record<string, {
427
- id: string;
428
- } | {
429
- content: Record<string, unknown>;
430
- schemaName: string;
431
- }> | undefined;
432
- componentType?: "server" | "edge" | undefined;
433
- contentItem?: {
434
- id: string;
435
- } | {
436
- content: Record<string, unknown>;
437
- schemaName: string;
438
- } | undefined;
439
- } | {
440
- type: "variation";
441
- default: {};
442
- nodeId?: string | undefined;
443
- } | {
444
- type: "layout";
445
- layout: {
446
- options: Record<string, {
447
- values: string[];
448
- displayName: string;
449
- description: string;
450
- selectedValue: string;
451
- }>;
452
- name: string;
453
- displayName: string;
454
- description: string;
455
- template: string;
456
- zones: Record<string, {
457
- displayName: string;
458
- description: string;
459
- minNodes: number;
460
- maxNodes?: number | undefined;
461
- }>;
462
- } | {
463
- options: Record<string, {
464
- selectedValue: string;
465
- }>;
466
- name: string;
467
- };
5
+ main: z.ZodType<import("../layout-content").LayoutContentNodes[], z.ZodTypeDef, (Omit<import("../layout-content").LayoutContentNodes, "nodeId"> & {
468
6
  nodeId?: string | undefined;
469
7
  })[]>;
470
8
  }, "strip", z.ZodTypeAny, {
471
- main: (import("../layout-content").LayoutVariationNode | ({
472
- value: string;
473
- type: "text";
474
- nodeId: string;
475
- } | {
476
- type: "matrix-image";
477
- nodeId: string;
478
- matrixDomain: string;
479
- matrixAssetId: string;
480
- attributes?: (Record<string, string> & {
481
- src?: undefined;
482
- }) | undefined;
483
- formattingOptions?: {
484
- alignment: "left" | "center" | "right" | "justify";
485
- } | undefined;
486
- matrixIdentifier?: string | undefined;
487
- } | {
488
- type: "dam-image";
489
- nodeId: string;
490
- damSystemType: string;
491
- damSystemIdentifier: string;
492
- damObjectId: string;
493
- attributes?: (Record<string, string> & {
494
- src?: undefined;
495
- }) | undefined;
496
- formattingOptions?: {
497
- alignment: "left" | "center" | "right" | "justify";
498
- } | undefined;
499
- damAdditional?: {
500
- variant?: string | undefined;
501
- } | undefined;
502
- } | {
503
- type: "component";
504
- nodeId: string;
505
- componentId: string;
506
- componentSet: string;
507
- i18n?: Record<string, {
508
- id: string;
509
- } | {
510
- content: Record<string, unknown>;
511
- schemaName: string;
512
- }> | undefined;
513
- componentType?: "server" | "edge" | undefined;
514
- contentItem?: {
515
- id: string;
516
- } | {
517
- content: Record<string, unknown>;
518
- schemaName: string;
519
- } | undefined;
520
- } | (({
521
- type: "tag";
522
- nodeId: string;
523
- tag: string;
524
- attributes?: Record<string, string> | undefined;
525
- font?: {
526
- bold?: boolean | undefined;
527
- italics?: boolean | undefined;
528
- underline?: boolean | undefined;
529
- color?: string | undefined;
530
- size?: string | undefined;
531
- fontFamily?: string | undefined;
532
- } | undefined;
533
- formattingOptions?: {
534
- alignment: "left" | "center" | "right" | "justify";
535
- } | undefined;
536
- } | {
537
- type: "fragment";
538
- nodeId: string;
539
- i18n?: Record<string, {}> | undefined;
540
- } | {
541
- type: "link-to-matrix-asset";
542
- nodeId: string;
543
- matrixDomain: string;
544
- matrixAssetId: string;
545
- target: "_blank" | "_self" | "_parent" | "_top";
546
- attributes?: (Record<string, string> & {
547
- target?: undefined;
548
- href?: undefined;
549
- }) | undefined;
550
- formattingOptions?: {
551
- alignment: "left" | "center" | "right" | "justify";
552
- } | undefined;
553
- matrixIdentifier?: string | undefined;
554
- } | {
555
- type: "link-to-dam-asset";
556
- nodeId: string;
557
- target: "_blank" | "_self" | "_parent" | "_top";
558
- damSystemType: string;
559
- damSystemIdentifier: string;
560
- damObjectId: string;
561
- attributes?: (Record<string, string> & {
562
- target?: undefined;
563
- href?: undefined;
564
- }) | undefined;
565
- formattingOptions?: {
566
- alignment: "left" | "center" | "right" | "justify";
567
- } | undefined;
568
- damAdditional?: {
569
- variant?: string | undefined;
570
- } | undefined;
571
- }) & {
572
- children: import("../layout-content").LayoutContentNodes[];
573
- })) | import("../layout-content").DeveloperDefinedLayoutNode)[];
9
+ main: import("../layout-content").LayoutContentNodes[];
574
10
  }, {
575
- main: ({
576
- value: string;
577
- type: "text";
578
- nodeId?: string | undefined;
579
- } | {
580
- type: "tag";
581
- tag: string;
582
- nodeId?: string | undefined;
583
- attributes?: Record<string, string> | undefined;
584
- font?: {
585
- bold?: boolean | undefined;
586
- italics?: boolean | undefined;
587
- underline?: boolean | undefined;
588
- color?: string | undefined;
589
- size?: string | undefined;
590
- fontFamily?: string | undefined;
591
- } | undefined;
592
- formattingOptions?: {
593
- alignment: "left" | "center" | "right" | "justify";
594
- } | undefined;
595
- } | {
596
- type: "fragment";
597
- nodeId?: string | undefined;
598
- i18n?: Record<string, {}> | undefined;
599
- } | {
600
- type: "link-to-matrix-asset";
601
- matrixDomain: string;
602
- matrixAssetId: string;
603
- target: "_blank" | "_self" | "_parent" | "_top";
604
- nodeId?: string | undefined;
605
- attributes?: (Record<string, string> & {
606
- target?: undefined;
607
- href?: undefined;
608
- }) | undefined;
609
- formattingOptions?: {
610
- alignment: "left" | "center" | "right" | "justify";
611
- } | undefined;
612
- matrixIdentifier?: string | undefined;
613
- } | {
614
- type: "link-to-dam-asset";
615
- target: "_blank" | "_self" | "_parent" | "_top";
616
- damSystemType: string;
617
- damSystemIdentifier: string;
618
- damObjectId: string;
619
- nodeId?: string | undefined;
620
- attributes?: (Record<string, string> & {
621
- target?: undefined;
622
- href?: undefined;
623
- }) | undefined;
624
- formattingOptions?: {
625
- alignment: "left" | "center" | "right" | "justify";
626
- } | undefined;
627
- damAdditional?: {
628
- variant?: string | undefined;
629
- } | undefined;
630
- } | {
631
- type: "matrix-image";
632
- matrixDomain: string;
633
- matrixAssetId: string;
634
- nodeId?: string | undefined;
635
- attributes?: (Record<string, string> & {
636
- src?: undefined;
637
- }) | undefined;
638
- formattingOptions?: {
639
- alignment: "left" | "center" | "right" | "justify";
640
- } | undefined;
641
- matrixIdentifier?: string | undefined;
642
- } | {
643
- type: "dam-image";
644
- damSystemType: string;
645
- damSystemIdentifier: string;
646
- damObjectId: string;
647
- nodeId?: string | undefined;
648
- attributes?: (Record<string, string> & {
649
- src?: undefined;
650
- }) | undefined;
651
- formattingOptions?: {
652
- alignment: "left" | "center" | "right" | "justify";
653
- } | undefined;
654
- damAdditional?: {
655
- variant?: string | undefined;
656
- } | undefined;
657
- } | {
658
- type: "component";
659
- componentId: string;
660
- componentSet: string;
661
- nodeId?: string | undefined;
662
- i18n?: Record<string, {
663
- id: string;
664
- } | {
665
- content: Record<string, unknown>;
666
- schemaName: string;
667
- }> | undefined;
668
- componentType?: "server" | "edge" | undefined;
669
- contentItem?: {
670
- id: string;
671
- } | {
672
- content: Record<string, unknown>;
673
- schemaName: string;
674
- } | undefined;
675
- } | {
676
- type: "variation";
677
- default: {};
678
- nodeId?: string | undefined;
679
- } | {
680
- type: "layout";
681
- layout: {
682
- options: Record<string, {
683
- values: string[];
684
- displayName: string;
685
- description: string;
686
- selectedValue: string;
687
- }>;
688
- name: string;
689
- displayName: string;
690
- description: string;
691
- template: string;
692
- zones: Record<string, {
693
- displayName: string;
694
- description: string;
695
- minNodes: number;
696
- maxNodes?: number | undefined;
697
- }>;
698
- } | {
699
- options: Record<string, {
700
- selectedValue: string;
701
- }>;
702
- name: string;
703
- };
11
+ main: (Omit<import("../layout-content").LayoutContentNodes, "nodeId"> & {
704
12
  nodeId?: string | undefined;
705
13
  })[];
706
14
  }>;
707
15
  }, "strip", z.ZodTypeAny, {
708
16
  content: {
709
- main: (import("../layout-content").LayoutVariationNode | ({
710
- value: string;
711
- type: "text";
712
- nodeId: string;
713
- } | {
714
- type: "matrix-image";
715
- nodeId: string;
716
- matrixDomain: string;
717
- matrixAssetId: string;
718
- attributes?: (Record<string, string> & {
719
- src?: undefined;
720
- }) | undefined;
721
- formattingOptions?: {
722
- alignment: "left" | "center" | "right" | "justify";
723
- } | undefined;
724
- matrixIdentifier?: string | undefined;
725
- } | {
726
- type: "dam-image";
727
- nodeId: string;
728
- damSystemType: string;
729
- damSystemIdentifier: string;
730
- damObjectId: string;
731
- attributes?: (Record<string, string> & {
732
- src?: undefined;
733
- }) | undefined;
734
- formattingOptions?: {
735
- alignment: "left" | "center" | "right" | "justify";
736
- } | undefined;
737
- damAdditional?: {
738
- variant?: string | undefined;
739
- } | undefined;
740
- } | {
741
- type: "component";
742
- nodeId: string;
743
- componentId: string;
744
- componentSet: string;
745
- i18n?: Record<string, {
746
- id: string;
747
- } | {
748
- content: Record<string, unknown>;
749
- schemaName: string;
750
- }> | undefined;
751
- componentType?: "server" | "edge" | undefined;
752
- contentItem?: {
753
- id: string;
754
- } | {
755
- content: Record<string, unknown>;
756
- schemaName: string;
757
- } | undefined;
758
- } | (({
759
- type: "tag";
760
- nodeId: string;
761
- tag: string;
762
- attributes?: Record<string, string> | undefined;
763
- font?: {
764
- bold?: boolean | undefined;
765
- italics?: boolean | undefined;
766
- underline?: boolean | undefined;
767
- color?: string | undefined;
768
- size?: string | undefined;
769
- fontFamily?: string | undefined;
770
- } | undefined;
771
- formattingOptions?: {
772
- alignment: "left" | "center" | "right" | "justify";
773
- } | undefined;
774
- } | {
775
- type: "fragment";
776
- nodeId: string;
777
- i18n?: Record<string, {}> | undefined;
778
- } | {
779
- type: "link-to-matrix-asset";
780
- nodeId: string;
781
- matrixDomain: string;
782
- matrixAssetId: string;
783
- target: "_blank" | "_self" | "_parent" | "_top";
784
- attributes?: (Record<string, string> & {
785
- target?: undefined;
786
- href?: undefined;
787
- }) | undefined;
788
- formattingOptions?: {
789
- alignment: "left" | "center" | "right" | "justify";
790
- } | undefined;
791
- matrixIdentifier?: string | undefined;
792
- } | {
793
- type: "link-to-dam-asset";
794
- nodeId: string;
795
- target: "_blank" | "_self" | "_parent" | "_top";
796
- damSystemType: string;
797
- damSystemIdentifier: string;
798
- damObjectId: string;
799
- attributes?: (Record<string, string> & {
800
- target?: undefined;
801
- href?: undefined;
802
- }) | undefined;
803
- formattingOptions?: {
804
- alignment: "left" | "center" | "right" | "justify";
805
- } | undefined;
806
- damAdditional?: {
807
- variant?: string | undefined;
808
- } | undefined;
809
- }) & {
810
- children: import("../layout-content").LayoutContentNodes[];
811
- })) | import("../layout-content").DeveloperDefinedLayoutNode)[];
17
+ main: import("../layout-content").LayoutContentNodes[];
812
18
  };
813
19
  name: "layout-raw";
814
20
  }, {
815
21
  content: {
816
- main: ({
817
- value: string;
818
- type: "text";
819
- nodeId?: string | undefined;
820
- } | {
821
- type: "tag";
822
- tag: string;
823
- nodeId?: string | undefined;
824
- attributes?: Record<string, string> | undefined;
825
- font?: {
826
- bold?: boolean | undefined;
827
- italics?: boolean | undefined;
828
- underline?: boolean | undefined;
829
- color?: string | undefined;
830
- size?: string | undefined;
831
- fontFamily?: string | undefined;
832
- } | undefined;
833
- formattingOptions?: {
834
- alignment: "left" | "center" | "right" | "justify";
835
- } | undefined;
836
- } | {
837
- type: "fragment";
838
- nodeId?: string | undefined;
839
- i18n?: Record<string, {}> | undefined;
840
- } | {
841
- type: "link-to-matrix-asset";
842
- matrixDomain: string;
843
- matrixAssetId: string;
844
- target: "_blank" | "_self" | "_parent" | "_top";
845
- nodeId?: string | undefined;
846
- attributes?: (Record<string, string> & {
847
- target?: undefined;
848
- href?: undefined;
849
- }) | undefined;
850
- formattingOptions?: {
851
- alignment: "left" | "center" | "right" | "justify";
852
- } | undefined;
853
- matrixIdentifier?: string | undefined;
854
- } | {
855
- type: "link-to-dam-asset";
856
- target: "_blank" | "_self" | "_parent" | "_top";
857
- damSystemType: string;
858
- damSystemIdentifier: string;
859
- damObjectId: string;
860
- nodeId?: string | undefined;
861
- attributes?: (Record<string, string> & {
862
- target?: undefined;
863
- href?: undefined;
864
- }) | undefined;
865
- formattingOptions?: {
866
- alignment: "left" | "center" | "right" | "justify";
867
- } | undefined;
868
- damAdditional?: {
869
- variant?: string | undefined;
870
- } | undefined;
871
- } | {
872
- type: "matrix-image";
873
- matrixDomain: string;
874
- matrixAssetId: string;
875
- nodeId?: string | undefined;
876
- attributes?: (Record<string, string> & {
877
- src?: undefined;
878
- }) | undefined;
879
- formattingOptions?: {
880
- alignment: "left" | "center" | "right" | "justify";
881
- } | undefined;
882
- matrixIdentifier?: string | undefined;
883
- } | {
884
- type: "dam-image";
885
- damSystemType: string;
886
- damSystemIdentifier: string;
887
- damObjectId: string;
888
- nodeId?: string | undefined;
889
- attributes?: (Record<string, string> & {
890
- src?: undefined;
891
- }) | undefined;
892
- formattingOptions?: {
893
- alignment: "left" | "center" | "right" | "justify";
894
- } | undefined;
895
- damAdditional?: {
896
- variant?: string | undefined;
897
- } | undefined;
898
- } | {
899
- type: "component";
900
- componentId: string;
901
- componentSet: string;
902
- nodeId?: string | undefined;
903
- i18n?: Record<string, {
904
- id: string;
905
- } | {
906
- content: Record<string, unknown>;
907
- schemaName: string;
908
- }> | undefined;
909
- componentType?: "server" | "edge" | undefined;
910
- contentItem?: {
911
- id: string;
912
- } | {
913
- content: Record<string, unknown>;
914
- schemaName: string;
915
- } | undefined;
916
- } | {
917
- type: "variation";
918
- default: {};
919
- nodeId?: string | undefined;
920
- } | {
921
- type: "layout";
922
- layout: {
923
- options: Record<string, {
924
- values: string[];
925
- displayName: string;
926
- description: string;
927
- selectedValue: string;
928
- }>;
929
- name: string;
930
- displayName: string;
931
- description: string;
932
- template: string;
933
- zones: Record<string, {
934
- displayName: string;
935
- description: string;
936
- minNodes: number;
937
- maxNodes?: number | undefined;
938
- }>;
939
- } | {
940
- options: Record<string, {
941
- selectedValue: string;
942
- }>;
943
- name: string;
944
- };
22
+ main: (Omit<import("../layout-content").LayoutContentNodes, "nodeId"> & {
945
23
  nodeId?: string | undefined;
946
24
  })[];
947
25
  };
948
26
  name: "layout-raw";
949
- }>, z.ZodObject<{
950
- name: z.ZodLiteral<"single-column">;
951
- content: z.ZodObject<{
952
- main: z.ZodEffects<z.ZodArray<z.ZodUnion<[z.ZodType<{
953
- value: string;
954
- type: "text";
955
- nodeId: string;
956
- } | {
957
- type: "matrix-image";
958
- nodeId: string;
959
- matrixDomain: string;
960
- matrixAssetId: string;
961
- attributes?: (Record<string, string> & {
962
- src?: undefined;
963
- }) | undefined;
964
- formattingOptions?: {
965
- alignment: "left" | "center" | "right" | "justify";
966
- } | undefined;
967
- matrixIdentifier?: string | undefined;
968
- } | {
969
- type: "dam-image";
970
- nodeId: string;
971
- damSystemType: string;
972
- damSystemIdentifier: string;
973
- damObjectId: string;
974
- attributes?: (Record<string, string> & {
975
- src?: undefined;
976
- }) | undefined;
977
- formattingOptions?: {
978
- alignment: "left" | "center" | "right" | "justify";
979
- } | undefined;
980
- damAdditional?: {
981
- variant?: string | undefined;
982
- } | undefined;
983
- } | {
984
- type: "component";
985
- nodeId: string;
986
- componentId: string;
987
- componentSet: string;
988
- i18n?: Record<string, {
989
- id: string;
990
- } | {
991
- content: Record<string, unknown>;
992
- schemaName: string;
993
- }> | undefined;
994
- componentType?: "server" | "edge" | undefined;
995
- contentItem?: {
996
- id: string;
997
- } | {
998
- content: Record<string, unknown>;
999
- schemaName: string;
1000
- } | undefined;
1001
- } | (({
1002
- type: "tag";
1003
- nodeId: string;
1004
- tag: string;
1005
- attributes?: Record<string, string> | undefined;
1006
- font?: {
1007
- bold?: boolean | undefined;
1008
- italics?: boolean | undefined;
1009
- underline?: boolean | undefined;
1010
- color?: string | undefined;
1011
- size?: string | undefined;
1012
- fontFamily?: string | undefined;
1013
- } | undefined;
1014
- formattingOptions?: {
1015
- alignment: "left" | "center" | "right" | "justify";
1016
- } | undefined;
1017
- } | {
1018
- type: "fragment";
1019
- nodeId: string;
1020
- i18n?: Record<string, {}> | undefined;
1021
- } | {
1022
- type: "link-to-matrix-asset";
1023
- nodeId: string;
1024
- matrixDomain: string;
1025
- matrixAssetId: string;
1026
- target: "_blank" | "_self" | "_parent" | "_top";
1027
- attributes?: (Record<string, string> & {
1028
- target?: undefined;
1029
- href?: undefined;
1030
- }) | undefined;
1031
- formattingOptions?: {
1032
- alignment: "left" | "center" | "right" | "justify";
1033
- } | undefined;
1034
- matrixIdentifier?: string | undefined;
1035
- } | {
1036
- type: "link-to-dam-asset";
1037
- nodeId: string;
1038
- target: "_blank" | "_self" | "_parent" | "_top";
1039
- damSystemType: string;
1040
- damSystemIdentifier: string;
1041
- damObjectId: string;
1042
- attributes?: (Record<string, string> & {
1043
- target?: undefined;
1044
- href?: undefined;
1045
- }) | undefined;
1046
- formattingOptions?: {
1047
- alignment: "left" | "center" | "right" | "justify";
1048
- } | undefined;
1049
- damAdditional?: {
1050
- variant?: string | undefined;
1051
- } | undefined;
1052
- }) & {
1053
- children: import("../layout-content").LayoutContentNodes[];
1054
- }), z.ZodTypeDef, {
1055
- value: string;
1056
- type: "text";
1057
- nodeId?: string | undefined;
1058
- } | {
1059
- type: "tag";
1060
- tag: string;
1061
- nodeId?: string | undefined;
1062
- attributes?: Record<string, string> | undefined;
1063
- font?: {
1064
- bold?: boolean | undefined;
1065
- italics?: boolean | undefined;
1066
- underline?: boolean | undefined;
1067
- color?: string | undefined;
1068
- size?: string | undefined;
1069
- fontFamily?: string | undefined;
1070
- } | undefined;
1071
- formattingOptions?: {
1072
- alignment: "left" | "center" | "right" | "justify";
1073
- } | undefined;
1074
- } | {
1075
- type: "fragment";
1076
- nodeId?: string | undefined;
1077
- i18n?: Record<string, {}> | undefined;
1078
- } | {
1079
- type: "link-to-matrix-asset";
1080
- matrixDomain: string;
1081
- matrixAssetId: string;
1082
- target: "_blank" | "_self" | "_parent" | "_top";
1083
- nodeId?: string | undefined;
1084
- attributes?: (Record<string, string> & {
1085
- target?: undefined;
1086
- href?: undefined;
1087
- }) | undefined;
1088
- formattingOptions?: {
1089
- alignment: "left" | "center" | "right" | "justify";
1090
- } | undefined;
1091
- matrixIdentifier?: string | undefined;
1092
- } | {
1093
- type: "link-to-dam-asset";
1094
- target: "_blank" | "_self" | "_parent" | "_top";
1095
- damSystemType: string;
1096
- damSystemIdentifier: string;
1097
- damObjectId: string;
1098
- nodeId?: string | undefined;
1099
- attributes?: (Record<string, string> & {
1100
- target?: undefined;
1101
- href?: undefined;
1102
- }) | undefined;
1103
- formattingOptions?: {
1104
- alignment: "left" | "center" | "right" | "justify";
1105
- } | undefined;
1106
- damAdditional?: {
1107
- variant?: string | undefined;
1108
- } | undefined;
1109
- } | {
1110
- type: "matrix-image";
1111
- matrixDomain: string;
1112
- matrixAssetId: string;
1113
- nodeId?: string | undefined;
1114
- attributes?: (Record<string, string> & {
1115
- src?: undefined;
1116
- }) | undefined;
1117
- formattingOptions?: {
1118
- alignment: "left" | "center" | "right" | "justify";
1119
- } | undefined;
1120
- matrixIdentifier?: string | undefined;
1121
- } | {
1122
- type: "dam-image";
1123
- damSystemType: string;
1124
- damSystemIdentifier: string;
1125
- damObjectId: string;
1126
- nodeId?: string | undefined;
1127
- attributes?: (Record<string, string> & {
1128
- src?: undefined;
1129
- }) | undefined;
1130
- formattingOptions?: {
1131
- alignment: "left" | "center" | "right" | "justify";
1132
- } | undefined;
1133
- damAdditional?: {
1134
- variant?: string | undefined;
1135
- } | undefined;
1136
- } | {
1137
- type: "component";
1138
- componentId: string;
1139
- componentSet: string;
1140
- nodeId?: string | undefined;
1141
- i18n?: Record<string, {
1142
- id: string;
1143
- } | {
1144
- content: Record<string, unknown>;
1145
- schemaName: string;
1146
- }> | undefined;
1147
- componentType?: "server" | "edge" | undefined;
1148
- contentItem?: {
1149
- id: string;
1150
- } | {
1151
- content: Record<string, unknown>;
1152
- schemaName: string;
1153
- } | undefined;
1154
- }>, z.ZodType<import("../layout-content").LayoutVariationNode, z.ZodTypeDef, {
1155
- type: "variation";
1156
- default: {};
1157
- nodeId?: string | undefined;
1158
- }>, z.ZodType<import("../layout-content").DeveloperDefinedLayoutNode, z.ZodTypeDef, {
1159
- type: "layout";
1160
- layout: {
1161
- options: Record<string, {
1162
- values: string[];
1163
- displayName: string;
1164
- description: string;
1165
- selectedValue: string;
1166
- }>;
1167
- name: string;
1168
- displayName: string;
1169
- description: string;
1170
- template: string;
1171
- zones: Record<string, {
1172
- displayName: string;
1173
- description: string;
1174
- minNodes: number;
1175
- maxNodes?: number | undefined;
1176
- }>;
1177
- } | {
1178
- options: Record<string, {
1179
- selectedValue: string;
1180
- }>;
1181
- name: string;
1182
- };
1183
- nodeId?: string | undefined;
1184
- }>]>, "many">, (import("../layout-content").LayoutVariationNode | ({
1185
- value: string;
1186
- type: "text";
1187
- nodeId: string;
1188
- } | {
1189
- type: "matrix-image";
1190
- nodeId: string;
1191
- matrixDomain: string;
1192
- matrixAssetId: string;
1193
- attributes?: (Record<string, string> & {
1194
- src?: undefined;
1195
- }) | undefined;
1196
- formattingOptions?: {
1197
- alignment: "left" | "center" | "right" | "justify";
1198
- } | undefined;
1199
- matrixIdentifier?: string | undefined;
1200
- } | {
1201
- type: "dam-image";
1202
- nodeId: string;
1203
- damSystemType: string;
1204
- damSystemIdentifier: string;
1205
- damObjectId: string;
1206
- attributes?: (Record<string, string> & {
1207
- src?: undefined;
1208
- }) | undefined;
1209
- formattingOptions?: {
1210
- alignment: "left" | "center" | "right" | "justify";
1211
- } | undefined;
1212
- damAdditional?: {
1213
- variant?: string | undefined;
1214
- } | undefined;
1215
- } | {
1216
- type: "component";
1217
- nodeId: string;
1218
- componentId: string;
1219
- componentSet: string;
1220
- i18n?: Record<string, {
1221
- id: string;
1222
- } | {
1223
- content: Record<string, unknown>;
1224
- schemaName: string;
1225
- }> | undefined;
1226
- componentType?: "server" | "edge" | undefined;
1227
- contentItem?: {
1228
- id: string;
1229
- } | {
1230
- content: Record<string, unknown>;
1231
- schemaName: string;
1232
- } | undefined;
1233
- } | (({
1234
- type: "tag";
1235
- nodeId: string;
1236
- tag: string;
1237
- attributes?: Record<string, string> | undefined;
1238
- font?: {
1239
- bold?: boolean | undefined;
1240
- italics?: boolean | undefined;
1241
- underline?: boolean | undefined;
1242
- color?: string | undefined;
1243
- size?: string | undefined;
1244
- fontFamily?: string | undefined;
1245
- } | undefined;
1246
- formattingOptions?: {
1247
- alignment: "left" | "center" | "right" | "justify";
1248
- } | undefined;
1249
- } | {
1250
- type: "fragment";
1251
- nodeId: string;
1252
- i18n?: Record<string, {}> | undefined;
1253
- } | {
1254
- type: "link-to-matrix-asset";
1255
- nodeId: string;
1256
- matrixDomain: string;
1257
- matrixAssetId: string;
1258
- target: "_blank" | "_self" | "_parent" | "_top";
1259
- attributes?: (Record<string, string> & {
1260
- target?: undefined;
1261
- href?: undefined;
1262
- }) | undefined;
1263
- formattingOptions?: {
1264
- alignment: "left" | "center" | "right" | "justify";
1265
- } | undefined;
1266
- matrixIdentifier?: string | undefined;
1267
- } | {
1268
- type: "link-to-dam-asset";
1269
- nodeId: string;
1270
- target: "_blank" | "_self" | "_parent" | "_top";
1271
- damSystemType: string;
1272
- damSystemIdentifier: string;
1273
- damObjectId: string;
1274
- attributes?: (Record<string, string> & {
1275
- target?: undefined;
1276
- href?: undefined;
1277
- }) | undefined;
1278
- formattingOptions?: {
1279
- alignment: "left" | "center" | "right" | "justify";
1280
- } | undefined;
1281
- damAdditional?: {
1282
- variant?: string | undefined;
1283
- } | undefined;
1284
- }) & {
1285
- children: import("../layout-content").LayoutContentNodes[];
1286
- })) | import("../layout-content").DeveloperDefinedLayoutNode)[], ({
1287
- value: string;
1288
- type: "text";
1289
- nodeId?: string | undefined;
1290
- } | {
1291
- type: "tag";
1292
- tag: string;
1293
- nodeId?: string | undefined;
1294
- attributes?: Record<string, string> | undefined;
1295
- font?: {
1296
- bold?: boolean | undefined;
1297
- italics?: boolean | undefined;
1298
- underline?: boolean | undefined;
1299
- color?: string | undefined;
1300
- size?: string | undefined;
1301
- fontFamily?: string | undefined;
1302
- } | undefined;
1303
- formattingOptions?: {
1304
- alignment: "left" | "center" | "right" | "justify";
1305
- } | undefined;
1306
- } | {
1307
- type: "fragment";
1308
- nodeId?: string | undefined;
1309
- i18n?: Record<string, {}> | undefined;
1310
- } | {
1311
- type: "link-to-matrix-asset";
1312
- matrixDomain: string;
1313
- matrixAssetId: string;
1314
- target: "_blank" | "_self" | "_parent" | "_top";
1315
- nodeId?: string | undefined;
1316
- attributes?: (Record<string, string> & {
1317
- target?: undefined;
1318
- href?: undefined;
1319
- }) | undefined;
1320
- formattingOptions?: {
1321
- alignment: "left" | "center" | "right" | "justify";
1322
- } | undefined;
1323
- matrixIdentifier?: string | undefined;
1324
- } | {
1325
- type: "link-to-dam-asset";
1326
- target: "_blank" | "_self" | "_parent" | "_top";
1327
- damSystemType: string;
1328
- damSystemIdentifier: string;
1329
- damObjectId: string;
1330
- nodeId?: string | undefined;
1331
- attributes?: (Record<string, string> & {
1332
- target?: undefined;
1333
- href?: undefined;
1334
- }) | undefined;
1335
- formattingOptions?: {
1336
- alignment: "left" | "center" | "right" | "justify";
1337
- } | undefined;
1338
- damAdditional?: {
1339
- variant?: string | undefined;
1340
- } | undefined;
1341
- } | {
1342
- type: "matrix-image";
1343
- matrixDomain: string;
1344
- matrixAssetId: string;
1345
- nodeId?: string | undefined;
1346
- attributes?: (Record<string, string> & {
1347
- src?: undefined;
1348
- }) | undefined;
1349
- formattingOptions?: {
1350
- alignment: "left" | "center" | "right" | "justify";
1351
- } | undefined;
1352
- matrixIdentifier?: string | undefined;
1353
- } | {
1354
- type: "dam-image";
1355
- damSystemType: string;
1356
- damSystemIdentifier: string;
1357
- damObjectId: string;
1358
- nodeId?: string | undefined;
1359
- attributes?: (Record<string, string> & {
1360
- src?: undefined;
1361
- }) | undefined;
1362
- formattingOptions?: {
1363
- alignment: "left" | "center" | "right" | "justify";
1364
- } | undefined;
1365
- damAdditional?: {
1366
- variant?: string | undefined;
1367
- } | undefined;
1368
- } | {
1369
- type: "component";
1370
- componentId: string;
1371
- componentSet: string;
1372
- nodeId?: string | undefined;
1373
- i18n?: Record<string, {
1374
- id: string;
1375
- } | {
1376
- content: Record<string, unknown>;
1377
- schemaName: string;
1378
- }> | undefined;
1379
- componentType?: "server" | "edge" | undefined;
1380
- contentItem?: {
1381
- id: string;
1382
- } | {
1383
- content: Record<string, unknown>;
1384
- schemaName: string;
1385
- } | undefined;
1386
- } | {
1387
- type: "variation";
1388
- default: {};
1389
- nodeId?: string | undefined;
1390
- } | {
1391
- type: "layout";
1392
- layout: {
1393
- options: Record<string, {
1394
- values: string[];
1395
- displayName: string;
1396
- description: string;
1397
- selectedValue: string;
1398
- }>;
1399
- name: string;
1400
- displayName: string;
1401
- description: string;
1402
- template: string;
1403
- zones: Record<string, {
1404
- displayName: string;
1405
- description: string;
1406
- minNodes: number;
1407
- maxNodes?: number | undefined;
1408
- }>;
1409
- } | {
1410
- options: Record<string, {
1411
- selectedValue: string;
1412
- }>;
1413
- name: string;
1414
- };
1415
- nodeId?: string | undefined;
1416
- })[]>;
1417
- }, "strip", z.ZodTypeAny, {
1418
- main: (import("../layout-content").LayoutVariationNode | ({
1419
- value: string;
1420
- type: "text";
1421
- nodeId: string;
1422
- } | {
1423
- type: "matrix-image";
1424
- nodeId: string;
1425
- matrixDomain: string;
1426
- matrixAssetId: string;
1427
- attributes?: (Record<string, string> & {
1428
- src?: undefined;
1429
- }) | undefined;
1430
- formattingOptions?: {
1431
- alignment: "left" | "center" | "right" | "justify";
1432
- } | undefined;
1433
- matrixIdentifier?: string | undefined;
1434
- } | {
1435
- type: "dam-image";
1436
- nodeId: string;
1437
- damSystemType: string;
1438
- damSystemIdentifier: string;
1439
- damObjectId: string;
1440
- attributes?: (Record<string, string> & {
1441
- src?: undefined;
1442
- }) | undefined;
1443
- formattingOptions?: {
1444
- alignment: "left" | "center" | "right" | "justify";
1445
- } | undefined;
1446
- damAdditional?: {
1447
- variant?: string | undefined;
1448
- } | undefined;
1449
- } | {
1450
- type: "component";
1451
- nodeId: string;
1452
- componentId: string;
1453
- componentSet: string;
1454
- i18n?: Record<string, {
1455
- id: string;
1456
- } | {
1457
- content: Record<string, unknown>;
1458
- schemaName: string;
1459
- }> | undefined;
1460
- componentType?: "server" | "edge" | undefined;
1461
- contentItem?: {
1462
- id: string;
1463
- } | {
1464
- content: Record<string, unknown>;
1465
- schemaName: string;
1466
- } | undefined;
1467
- } | (({
1468
- type: "tag";
1469
- nodeId: string;
1470
- tag: string;
1471
- attributes?: Record<string, string> | undefined;
1472
- font?: {
1473
- bold?: boolean | undefined;
1474
- italics?: boolean | undefined;
1475
- underline?: boolean | undefined;
1476
- color?: string | undefined;
1477
- size?: string | undefined;
1478
- fontFamily?: string | undefined;
1479
- } | undefined;
1480
- formattingOptions?: {
1481
- alignment: "left" | "center" | "right" | "justify";
1482
- } | undefined;
1483
- } | {
1484
- type: "fragment";
1485
- nodeId: string;
1486
- i18n?: Record<string, {}> | undefined;
1487
- } | {
1488
- type: "link-to-matrix-asset";
1489
- nodeId: string;
1490
- matrixDomain: string;
1491
- matrixAssetId: string;
1492
- target: "_blank" | "_self" | "_parent" | "_top";
1493
- attributes?: (Record<string, string> & {
1494
- target?: undefined;
1495
- href?: undefined;
1496
- }) | undefined;
1497
- formattingOptions?: {
1498
- alignment: "left" | "center" | "right" | "justify";
1499
- } | undefined;
1500
- matrixIdentifier?: string | undefined;
1501
- } | {
1502
- type: "link-to-dam-asset";
1503
- nodeId: string;
1504
- target: "_blank" | "_self" | "_parent" | "_top";
1505
- damSystemType: string;
1506
- damSystemIdentifier: string;
1507
- damObjectId: string;
1508
- attributes?: (Record<string, string> & {
1509
- target?: undefined;
1510
- href?: undefined;
1511
- }) | undefined;
1512
- formattingOptions?: {
1513
- alignment: "left" | "center" | "right" | "justify";
1514
- } | undefined;
1515
- damAdditional?: {
1516
- variant?: string | undefined;
1517
- } | undefined;
1518
- }) & {
1519
- children: import("../layout-content").LayoutContentNodes[];
1520
- })) | import("../layout-content").DeveloperDefinedLayoutNode)[];
1521
- }, {
1522
- main: ({
1523
- value: string;
1524
- type: "text";
1525
- nodeId?: string | undefined;
1526
- } | {
1527
- type: "tag";
1528
- tag: string;
1529
- nodeId?: string | undefined;
1530
- attributes?: Record<string, string> | undefined;
1531
- font?: {
1532
- bold?: boolean | undefined;
1533
- italics?: boolean | undefined;
1534
- underline?: boolean | undefined;
1535
- color?: string | undefined;
1536
- size?: string | undefined;
1537
- fontFamily?: string | undefined;
1538
- } | undefined;
1539
- formattingOptions?: {
1540
- alignment: "left" | "center" | "right" | "justify";
1541
- } | undefined;
1542
- } | {
1543
- type: "fragment";
1544
- nodeId?: string | undefined;
1545
- i18n?: Record<string, {}> | undefined;
1546
- } | {
1547
- type: "link-to-matrix-asset";
1548
- matrixDomain: string;
1549
- matrixAssetId: string;
1550
- target: "_blank" | "_self" | "_parent" | "_top";
1551
- nodeId?: string | undefined;
1552
- attributes?: (Record<string, string> & {
1553
- target?: undefined;
1554
- href?: undefined;
1555
- }) | undefined;
1556
- formattingOptions?: {
1557
- alignment: "left" | "center" | "right" | "justify";
1558
- } | undefined;
1559
- matrixIdentifier?: string | undefined;
1560
- } | {
1561
- type: "link-to-dam-asset";
1562
- target: "_blank" | "_self" | "_parent" | "_top";
1563
- damSystemType: string;
1564
- damSystemIdentifier: string;
1565
- damObjectId: string;
1566
- nodeId?: string | undefined;
1567
- attributes?: (Record<string, string> & {
1568
- target?: undefined;
1569
- href?: undefined;
1570
- }) | undefined;
1571
- formattingOptions?: {
1572
- alignment: "left" | "center" | "right" | "justify";
1573
- } | undefined;
1574
- damAdditional?: {
1575
- variant?: string | undefined;
1576
- } | undefined;
1577
- } | {
1578
- type: "matrix-image";
1579
- matrixDomain: string;
1580
- matrixAssetId: string;
1581
- nodeId?: string | undefined;
1582
- attributes?: (Record<string, string> & {
1583
- src?: undefined;
1584
- }) | undefined;
1585
- formattingOptions?: {
1586
- alignment: "left" | "center" | "right" | "justify";
1587
- } | undefined;
1588
- matrixIdentifier?: string | undefined;
1589
- } | {
1590
- type: "dam-image";
1591
- damSystemType: string;
1592
- damSystemIdentifier: string;
1593
- damObjectId: string;
1594
- nodeId?: string | undefined;
1595
- attributes?: (Record<string, string> & {
1596
- src?: undefined;
1597
- }) | undefined;
1598
- formattingOptions?: {
1599
- alignment: "left" | "center" | "right" | "justify";
1600
- } | undefined;
1601
- damAdditional?: {
1602
- variant?: string | undefined;
1603
- } | undefined;
1604
- } | {
1605
- type: "component";
1606
- componentId: string;
1607
- componentSet: string;
1608
- nodeId?: string | undefined;
1609
- i18n?: Record<string, {
1610
- id: string;
1611
- } | {
1612
- content: Record<string, unknown>;
1613
- schemaName: string;
1614
- }> | undefined;
1615
- componentType?: "server" | "edge" | undefined;
1616
- contentItem?: {
1617
- id: string;
1618
- } | {
1619
- content: Record<string, unknown>;
1620
- schemaName: string;
1621
- } | undefined;
1622
- } | {
1623
- type: "variation";
1624
- default: {};
1625
- nodeId?: string | undefined;
1626
- } | {
1627
- type: "layout";
1628
- layout: {
1629
- options: Record<string, {
1630
- values: string[];
1631
- displayName: string;
1632
- description: string;
1633
- selectedValue: string;
1634
- }>;
1635
- name: string;
1636
- displayName: string;
1637
- description: string;
1638
- template: string;
1639
- zones: Record<string, {
1640
- displayName: string;
1641
- description: string;
1642
- minNodes: number;
1643
- maxNodes?: number | undefined;
1644
- }>;
1645
- } | {
1646
- options: Record<string, {
1647
- selectedValue: string;
1648
- }>;
1649
- name: string;
1650
- };
1651
- nodeId?: string | undefined;
1652
- })[];
1653
- }>;
1654
- }, "strip", z.ZodTypeAny, {
1655
- content: {
1656
- main: (import("../layout-content").LayoutVariationNode | ({
1657
- value: string;
1658
- type: "text";
1659
- nodeId: string;
1660
- } | {
1661
- type: "matrix-image";
1662
- nodeId: string;
1663
- matrixDomain: string;
1664
- matrixAssetId: string;
1665
- attributes?: (Record<string, string> & {
1666
- src?: undefined;
1667
- }) | undefined;
1668
- formattingOptions?: {
1669
- alignment: "left" | "center" | "right" | "justify";
1670
- } | undefined;
1671
- matrixIdentifier?: string | undefined;
1672
- } | {
1673
- type: "dam-image";
1674
- nodeId: string;
1675
- damSystemType: string;
1676
- damSystemIdentifier: string;
1677
- damObjectId: string;
1678
- attributes?: (Record<string, string> & {
1679
- src?: undefined;
1680
- }) | undefined;
1681
- formattingOptions?: {
1682
- alignment: "left" | "center" | "right" | "justify";
1683
- } | undefined;
1684
- damAdditional?: {
1685
- variant?: string | undefined;
1686
- } | undefined;
1687
- } | {
1688
- type: "component";
1689
- nodeId: string;
1690
- componentId: string;
1691
- componentSet: string;
1692
- i18n?: Record<string, {
1693
- id: string;
1694
- } | {
1695
- content: Record<string, unknown>;
1696
- schemaName: string;
1697
- }> | undefined;
1698
- componentType?: "server" | "edge" | undefined;
1699
- contentItem?: {
1700
- id: string;
1701
- } | {
1702
- content: Record<string, unknown>;
1703
- schemaName: string;
1704
- } | undefined;
1705
- } | (({
1706
- type: "tag";
1707
- nodeId: string;
1708
- tag: string;
1709
- attributes?: Record<string, string> | undefined;
1710
- font?: {
1711
- bold?: boolean | undefined;
1712
- italics?: boolean | undefined;
1713
- underline?: boolean | undefined;
1714
- color?: string | undefined;
1715
- size?: string | undefined;
1716
- fontFamily?: string | undefined;
1717
- } | undefined;
1718
- formattingOptions?: {
1719
- alignment: "left" | "center" | "right" | "justify";
1720
- } | undefined;
1721
- } | {
1722
- type: "fragment";
1723
- nodeId: string;
1724
- i18n?: Record<string, {}> | undefined;
1725
- } | {
1726
- type: "link-to-matrix-asset";
1727
- nodeId: string;
1728
- matrixDomain: string;
1729
- matrixAssetId: string;
1730
- target: "_blank" | "_self" | "_parent" | "_top";
1731
- attributes?: (Record<string, string> & {
1732
- target?: undefined;
1733
- href?: undefined;
1734
- }) | undefined;
1735
- formattingOptions?: {
1736
- alignment: "left" | "center" | "right" | "justify";
1737
- } | undefined;
1738
- matrixIdentifier?: string | undefined;
1739
- } | {
1740
- type: "link-to-dam-asset";
1741
- nodeId: string;
1742
- target: "_blank" | "_self" | "_parent" | "_top";
1743
- damSystemType: string;
1744
- damSystemIdentifier: string;
1745
- damObjectId: string;
1746
- attributes?: (Record<string, string> & {
1747
- target?: undefined;
1748
- href?: undefined;
1749
- }) | undefined;
1750
- formattingOptions?: {
1751
- alignment: "left" | "center" | "right" | "justify";
1752
- } | undefined;
1753
- damAdditional?: {
1754
- variant?: string | undefined;
1755
- } | undefined;
1756
- }) & {
1757
- children: import("../layout-content").LayoutContentNodes[];
1758
- })) | import("../layout-content").DeveloperDefinedLayoutNode)[];
1759
- };
1760
- name: "single-column";
1761
- }, {
1762
- content: {
1763
- main: ({
1764
- value: string;
1765
- type: "text";
1766
- nodeId?: string | undefined;
1767
- } | {
1768
- type: "tag";
1769
- tag: string;
1770
- nodeId?: string | undefined;
1771
- attributes?: Record<string, string> | undefined;
1772
- font?: {
1773
- bold?: boolean | undefined;
1774
- italics?: boolean | undefined;
1775
- underline?: boolean | undefined;
1776
- color?: string | undefined;
1777
- size?: string | undefined;
1778
- fontFamily?: string | undefined;
1779
- } | undefined;
1780
- formattingOptions?: {
1781
- alignment: "left" | "center" | "right" | "justify";
1782
- } | undefined;
1783
- } | {
1784
- type: "fragment";
1785
- nodeId?: string | undefined;
1786
- i18n?: Record<string, {}> | undefined;
1787
- } | {
1788
- type: "link-to-matrix-asset";
1789
- matrixDomain: string;
1790
- matrixAssetId: string;
1791
- target: "_blank" | "_self" | "_parent" | "_top";
1792
- nodeId?: string | undefined;
1793
- attributes?: (Record<string, string> & {
1794
- target?: undefined;
1795
- href?: undefined;
1796
- }) | undefined;
1797
- formattingOptions?: {
1798
- alignment: "left" | "center" | "right" | "justify";
1799
- } | undefined;
1800
- matrixIdentifier?: string | undefined;
1801
- } | {
1802
- type: "link-to-dam-asset";
1803
- target: "_blank" | "_self" | "_parent" | "_top";
1804
- damSystemType: string;
1805
- damSystemIdentifier: string;
1806
- damObjectId: string;
1807
- nodeId?: string | undefined;
1808
- attributes?: (Record<string, string> & {
1809
- target?: undefined;
1810
- href?: undefined;
1811
- }) | undefined;
1812
- formattingOptions?: {
1813
- alignment: "left" | "center" | "right" | "justify";
1814
- } | undefined;
1815
- damAdditional?: {
1816
- variant?: string | undefined;
1817
- } | undefined;
1818
- } | {
1819
- type: "matrix-image";
1820
- matrixDomain: string;
1821
- matrixAssetId: string;
1822
- nodeId?: string | undefined;
1823
- attributes?: (Record<string, string> & {
1824
- src?: undefined;
1825
- }) | undefined;
1826
- formattingOptions?: {
1827
- alignment: "left" | "center" | "right" | "justify";
1828
- } | undefined;
1829
- matrixIdentifier?: string | undefined;
1830
- } | {
1831
- type: "dam-image";
1832
- damSystemType: string;
1833
- damSystemIdentifier: string;
1834
- damObjectId: string;
1835
- nodeId?: string | undefined;
1836
- attributes?: (Record<string, string> & {
1837
- src?: undefined;
1838
- }) | undefined;
1839
- formattingOptions?: {
1840
- alignment: "left" | "center" | "right" | "justify";
1841
- } | undefined;
1842
- damAdditional?: {
1843
- variant?: string | undefined;
1844
- } | undefined;
1845
- } | {
1846
- type: "component";
1847
- componentId: string;
1848
- componentSet: string;
1849
- nodeId?: string | undefined;
1850
- i18n?: Record<string, {
1851
- id: string;
1852
- } | {
1853
- content: Record<string, unknown>;
1854
- schemaName: string;
1855
- }> | undefined;
1856
- componentType?: "server" | "edge" | undefined;
1857
- contentItem?: {
1858
- id: string;
1859
- } | {
1860
- content: Record<string, unknown>;
1861
- schemaName: string;
1862
- } | undefined;
1863
- } | {
1864
- type: "variation";
1865
- default: {};
1866
- nodeId?: string | undefined;
1867
- } | {
1868
- type: "layout";
1869
- layout: {
1870
- options: Record<string, {
1871
- values: string[];
1872
- displayName: string;
1873
- description: string;
1874
- selectedValue: string;
1875
- }>;
1876
- name: string;
1877
- displayName: string;
1878
- description: string;
1879
- template: string;
1880
- zones: Record<string, {
1881
- displayName: string;
1882
- description: string;
1883
- minNodes: number;
1884
- maxNodes?: number | undefined;
1885
- }>;
1886
- } | {
1887
- options: Record<string, {
1888
- selectedValue: string;
1889
- }>;
1890
- name: string;
1891
- };
1892
- nodeId?: string | undefined;
1893
- })[];
1894
- };
1895
- name: "single-column";
1896
- }>, z.ZodObject<{
1897
- name: z.ZodLiteral<"two-column">;
1898
- content: z.ZodObject<{
1899
- left: z.ZodEffects<z.ZodArray<z.ZodUnion<[z.ZodType<{
1900
- value: string;
1901
- type: "text";
1902
- nodeId: string;
1903
- } | {
1904
- type: "matrix-image";
1905
- nodeId: string;
1906
- matrixDomain: string;
1907
- matrixAssetId: string;
1908
- attributes?: (Record<string, string> & {
1909
- src?: undefined;
1910
- }) | undefined;
1911
- formattingOptions?: {
1912
- alignment: "left" | "center" | "right" | "justify";
1913
- } | undefined;
1914
- matrixIdentifier?: string | undefined;
1915
- } | {
1916
- type: "dam-image";
1917
- nodeId: string;
1918
- damSystemType: string;
1919
- damSystemIdentifier: string;
1920
- damObjectId: string;
1921
- attributes?: (Record<string, string> & {
1922
- src?: undefined;
1923
- }) | undefined;
1924
- formattingOptions?: {
1925
- alignment: "left" | "center" | "right" | "justify";
1926
- } | undefined;
1927
- damAdditional?: {
1928
- variant?: string | undefined;
1929
- } | undefined;
1930
- } | {
1931
- type: "component";
1932
- nodeId: string;
1933
- componentId: string;
1934
- componentSet: string;
1935
- i18n?: Record<string, {
1936
- id: string;
1937
- } | {
1938
- content: Record<string, unknown>;
1939
- schemaName: string;
1940
- }> | undefined;
1941
- componentType?: "server" | "edge" | undefined;
1942
- contentItem?: {
1943
- id: string;
1944
- } | {
1945
- content: Record<string, unknown>;
1946
- schemaName: string;
1947
- } | undefined;
1948
- } | (({
1949
- type: "tag";
1950
- nodeId: string;
1951
- tag: string;
1952
- attributes?: Record<string, string> | undefined;
1953
- font?: {
1954
- bold?: boolean | undefined;
1955
- italics?: boolean | undefined;
1956
- underline?: boolean | undefined;
1957
- color?: string | undefined;
1958
- size?: string | undefined;
1959
- fontFamily?: string | undefined;
1960
- } | undefined;
1961
- formattingOptions?: {
1962
- alignment: "left" | "center" | "right" | "justify";
1963
- } | undefined;
1964
- } | {
1965
- type: "fragment";
1966
- nodeId: string;
1967
- i18n?: Record<string, {}> | undefined;
1968
- } | {
1969
- type: "link-to-matrix-asset";
1970
- nodeId: string;
1971
- matrixDomain: string;
1972
- matrixAssetId: string;
1973
- target: "_blank" | "_self" | "_parent" | "_top";
1974
- attributes?: (Record<string, string> & {
1975
- target?: undefined;
1976
- href?: undefined;
1977
- }) | undefined;
1978
- formattingOptions?: {
1979
- alignment: "left" | "center" | "right" | "justify";
1980
- } | undefined;
1981
- matrixIdentifier?: string | undefined;
1982
- } | {
1983
- type: "link-to-dam-asset";
1984
- nodeId: string;
1985
- target: "_blank" | "_self" | "_parent" | "_top";
1986
- damSystemType: string;
1987
- damSystemIdentifier: string;
1988
- damObjectId: string;
1989
- attributes?: (Record<string, string> & {
1990
- target?: undefined;
1991
- href?: undefined;
1992
- }) | undefined;
1993
- formattingOptions?: {
1994
- alignment: "left" | "center" | "right" | "justify";
1995
- } | undefined;
1996
- damAdditional?: {
1997
- variant?: string | undefined;
1998
- } | undefined;
1999
- }) & {
2000
- children: import("../layout-content").LayoutContentNodes[];
2001
- }), z.ZodTypeDef, {
2002
- value: string;
2003
- type: "text";
2004
- nodeId?: string | undefined;
2005
- } | {
2006
- type: "tag";
2007
- tag: string;
2008
- nodeId?: string | undefined;
2009
- attributes?: Record<string, string> | undefined;
2010
- font?: {
2011
- bold?: boolean | undefined;
2012
- italics?: boolean | undefined;
2013
- underline?: boolean | undefined;
2014
- color?: string | undefined;
2015
- size?: string | undefined;
2016
- fontFamily?: string | undefined;
2017
- } | undefined;
2018
- formattingOptions?: {
2019
- alignment: "left" | "center" | "right" | "justify";
2020
- } | undefined;
2021
- } | {
2022
- type: "fragment";
2023
- nodeId?: string | undefined;
2024
- i18n?: Record<string, {}> | undefined;
2025
- } | {
2026
- type: "link-to-matrix-asset";
2027
- matrixDomain: string;
2028
- matrixAssetId: string;
2029
- target: "_blank" | "_self" | "_parent" | "_top";
2030
- nodeId?: string | undefined;
2031
- attributes?: (Record<string, string> & {
2032
- target?: undefined;
2033
- href?: undefined;
2034
- }) | undefined;
2035
- formattingOptions?: {
2036
- alignment: "left" | "center" | "right" | "justify";
2037
- } | undefined;
2038
- matrixIdentifier?: string | undefined;
2039
- } | {
2040
- type: "link-to-dam-asset";
2041
- target: "_blank" | "_self" | "_parent" | "_top";
2042
- damSystemType: string;
2043
- damSystemIdentifier: string;
2044
- damObjectId: string;
2045
- nodeId?: string | undefined;
2046
- attributes?: (Record<string, string> & {
2047
- target?: undefined;
2048
- href?: undefined;
2049
- }) | undefined;
2050
- formattingOptions?: {
2051
- alignment: "left" | "center" | "right" | "justify";
2052
- } | undefined;
2053
- damAdditional?: {
2054
- variant?: string | undefined;
2055
- } | undefined;
2056
- } | {
2057
- type: "matrix-image";
2058
- matrixDomain: string;
2059
- matrixAssetId: string;
2060
- nodeId?: string | undefined;
2061
- attributes?: (Record<string, string> & {
2062
- src?: undefined;
2063
- }) | undefined;
2064
- formattingOptions?: {
2065
- alignment: "left" | "center" | "right" | "justify";
2066
- } | undefined;
2067
- matrixIdentifier?: string | undefined;
2068
- } | {
2069
- type: "dam-image";
2070
- damSystemType: string;
2071
- damSystemIdentifier: string;
2072
- damObjectId: string;
2073
- nodeId?: string | undefined;
2074
- attributes?: (Record<string, string> & {
2075
- src?: undefined;
2076
- }) | undefined;
2077
- formattingOptions?: {
2078
- alignment: "left" | "center" | "right" | "justify";
2079
- } | undefined;
2080
- damAdditional?: {
2081
- variant?: string | undefined;
2082
- } | undefined;
2083
- } | {
2084
- type: "component";
2085
- componentId: string;
2086
- componentSet: string;
2087
- nodeId?: string | undefined;
2088
- i18n?: Record<string, {
2089
- id: string;
2090
- } | {
2091
- content: Record<string, unknown>;
2092
- schemaName: string;
2093
- }> | undefined;
2094
- componentType?: "server" | "edge" | undefined;
2095
- contentItem?: {
2096
- id: string;
2097
- } | {
2098
- content: Record<string, unknown>;
2099
- schemaName: string;
2100
- } | undefined;
2101
- }>, z.ZodType<import("../layout-content").LayoutVariationNode, z.ZodTypeDef, {
2102
- type: "variation";
2103
- default: {};
2104
- nodeId?: string | undefined;
2105
- }>, z.ZodType<import("../layout-content").DeveloperDefinedLayoutNode, z.ZodTypeDef, {
2106
- type: "layout";
2107
- layout: {
2108
- options: Record<string, {
2109
- values: string[];
2110
- displayName: string;
2111
- description: string;
2112
- selectedValue: string;
2113
- }>;
2114
- name: string;
2115
- displayName: string;
2116
- description: string;
2117
- template: string;
2118
- zones: Record<string, {
2119
- displayName: string;
2120
- description: string;
2121
- minNodes: number;
2122
- maxNodes?: number | undefined;
2123
- }>;
2124
- } | {
2125
- options: Record<string, {
2126
- selectedValue: string;
2127
- }>;
2128
- name: string;
2129
- };
2130
- nodeId?: string | undefined;
2131
- }>]>, "many">, (import("../layout-content").LayoutVariationNode | ({
2132
- value: string;
2133
- type: "text";
2134
- nodeId: string;
2135
- } | {
2136
- type: "matrix-image";
2137
- nodeId: string;
2138
- matrixDomain: string;
2139
- matrixAssetId: string;
2140
- attributes?: (Record<string, string> & {
2141
- src?: undefined;
2142
- }) | undefined;
2143
- formattingOptions?: {
2144
- alignment: "left" | "center" | "right" | "justify";
2145
- } | undefined;
2146
- matrixIdentifier?: string | undefined;
2147
- } | {
2148
- type: "dam-image";
2149
- nodeId: string;
2150
- damSystemType: string;
2151
- damSystemIdentifier: string;
2152
- damObjectId: string;
2153
- attributes?: (Record<string, string> & {
2154
- src?: undefined;
2155
- }) | undefined;
2156
- formattingOptions?: {
2157
- alignment: "left" | "center" | "right" | "justify";
2158
- } | undefined;
2159
- damAdditional?: {
2160
- variant?: string | undefined;
2161
- } | undefined;
2162
- } | {
2163
- type: "component";
2164
- nodeId: string;
2165
- componentId: string;
2166
- componentSet: string;
2167
- i18n?: Record<string, {
2168
- id: string;
2169
- } | {
2170
- content: Record<string, unknown>;
2171
- schemaName: string;
2172
- }> | undefined;
2173
- componentType?: "server" | "edge" | undefined;
2174
- contentItem?: {
2175
- id: string;
2176
- } | {
2177
- content: Record<string, unknown>;
2178
- schemaName: string;
2179
- } | undefined;
2180
- } | (({
2181
- type: "tag";
2182
- nodeId: string;
2183
- tag: string;
2184
- attributes?: Record<string, string> | undefined;
2185
- font?: {
2186
- bold?: boolean | undefined;
2187
- italics?: boolean | undefined;
2188
- underline?: boolean | undefined;
2189
- color?: string | undefined;
2190
- size?: string | undefined;
2191
- fontFamily?: string | undefined;
2192
- } | undefined;
2193
- formattingOptions?: {
2194
- alignment: "left" | "center" | "right" | "justify";
2195
- } | undefined;
2196
- } | {
2197
- type: "fragment";
2198
- nodeId: string;
2199
- i18n?: Record<string, {}> | undefined;
2200
- } | {
2201
- type: "link-to-matrix-asset";
2202
- nodeId: string;
2203
- matrixDomain: string;
2204
- matrixAssetId: string;
2205
- target: "_blank" | "_self" | "_parent" | "_top";
2206
- attributes?: (Record<string, string> & {
2207
- target?: undefined;
2208
- href?: undefined;
2209
- }) | undefined;
2210
- formattingOptions?: {
2211
- alignment: "left" | "center" | "right" | "justify";
2212
- } | undefined;
2213
- matrixIdentifier?: string | undefined;
2214
- } | {
2215
- type: "link-to-dam-asset";
2216
- nodeId: string;
2217
- target: "_blank" | "_self" | "_parent" | "_top";
2218
- damSystemType: string;
2219
- damSystemIdentifier: string;
2220
- damObjectId: string;
2221
- attributes?: (Record<string, string> & {
2222
- target?: undefined;
2223
- href?: undefined;
2224
- }) | undefined;
2225
- formattingOptions?: {
2226
- alignment: "left" | "center" | "right" | "justify";
2227
- } | undefined;
2228
- damAdditional?: {
2229
- variant?: string | undefined;
2230
- } | undefined;
2231
- }) & {
2232
- children: import("../layout-content").LayoutContentNodes[];
2233
- })) | import("../layout-content").DeveloperDefinedLayoutNode)[], ({
2234
- value: string;
2235
- type: "text";
2236
- nodeId?: string | undefined;
2237
- } | {
2238
- type: "tag";
2239
- tag: string;
2240
- nodeId?: string | undefined;
2241
- attributes?: Record<string, string> | undefined;
2242
- font?: {
2243
- bold?: boolean | undefined;
2244
- italics?: boolean | undefined;
2245
- underline?: boolean | undefined;
2246
- color?: string | undefined;
2247
- size?: string | undefined;
2248
- fontFamily?: string | undefined;
2249
- } | undefined;
2250
- formattingOptions?: {
2251
- alignment: "left" | "center" | "right" | "justify";
2252
- } | undefined;
2253
- } | {
2254
- type: "fragment";
2255
- nodeId?: string | undefined;
2256
- i18n?: Record<string, {}> | undefined;
2257
- } | {
2258
- type: "link-to-matrix-asset";
2259
- matrixDomain: string;
2260
- matrixAssetId: string;
2261
- target: "_blank" | "_self" | "_parent" | "_top";
2262
- nodeId?: string | undefined;
2263
- attributes?: (Record<string, string> & {
2264
- target?: undefined;
2265
- href?: undefined;
2266
- }) | undefined;
2267
- formattingOptions?: {
2268
- alignment: "left" | "center" | "right" | "justify";
2269
- } | undefined;
2270
- matrixIdentifier?: string | undefined;
2271
- } | {
2272
- type: "link-to-dam-asset";
2273
- target: "_blank" | "_self" | "_parent" | "_top";
2274
- damSystemType: string;
2275
- damSystemIdentifier: string;
2276
- damObjectId: string;
2277
- nodeId?: string | undefined;
2278
- attributes?: (Record<string, string> & {
2279
- target?: undefined;
2280
- href?: undefined;
2281
- }) | undefined;
2282
- formattingOptions?: {
2283
- alignment: "left" | "center" | "right" | "justify";
2284
- } | undefined;
2285
- damAdditional?: {
2286
- variant?: string | undefined;
2287
- } | undefined;
2288
- } | {
2289
- type: "matrix-image";
2290
- matrixDomain: string;
2291
- matrixAssetId: string;
2292
- nodeId?: string | undefined;
2293
- attributes?: (Record<string, string> & {
2294
- src?: undefined;
2295
- }) | undefined;
2296
- formattingOptions?: {
2297
- alignment: "left" | "center" | "right" | "justify";
2298
- } | undefined;
2299
- matrixIdentifier?: string | undefined;
2300
- } | {
2301
- type: "dam-image";
2302
- damSystemType: string;
2303
- damSystemIdentifier: string;
2304
- damObjectId: string;
2305
- nodeId?: string | undefined;
2306
- attributes?: (Record<string, string> & {
2307
- src?: undefined;
2308
- }) | undefined;
2309
- formattingOptions?: {
2310
- alignment: "left" | "center" | "right" | "justify";
2311
- } | undefined;
2312
- damAdditional?: {
2313
- variant?: string | undefined;
2314
- } | undefined;
2315
- } | {
2316
- type: "component";
2317
- componentId: string;
2318
- componentSet: string;
2319
- nodeId?: string | undefined;
2320
- i18n?: Record<string, {
2321
- id: string;
2322
- } | {
2323
- content: Record<string, unknown>;
2324
- schemaName: string;
2325
- }> | undefined;
2326
- componentType?: "server" | "edge" | undefined;
2327
- contentItem?: {
2328
- id: string;
2329
- } | {
2330
- content: Record<string, unknown>;
2331
- schemaName: string;
2332
- } | undefined;
2333
- } | {
2334
- type: "variation";
2335
- default: {};
2336
- nodeId?: string | undefined;
2337
- } | {
2338
- type: "layout";
2339
- layout: {
2340
- options: Record<string, {
2341
- values: string[];
2342
- displayName: string;
2343
- description: string;
2344
- selectedValue: string;
2345
- }>;
2346
- name: string;
2347
- displayName: string;
2348
- description: string;
2349
- template: string;
2350
- zones: Record<string, {
2351
- displayName: string;
2352
- description: string;
2353
- minNodes: number;
2354
- maxNodes?: number | undefined;
2355
- }>;
2356
- } | {
2357
- options: Record<string, {
2358
- selectedValue: string;
2359
- }>;
2360
- name: string;
2361
- };
2362
- nodeId?: string | undefined;
2363
- })[]>;
2364
- right: z.ZodEffects<z.ZodArray<z.ZodUnion<[z.ZodType<{
2365
- value: string;
2366
- type: "text";
2367
- nodeId: string;
2368
- } | {
2369
- type: "matrix-image";
2370
- nodeId: string;
2371
- matrixDomain: string;
2372
- matrixAssetId: string;
2373
- attributes?: (Record<string, string> & {
2374
- src?: undefined;
2375
- }) | undefined;
2376
- formattingOptions?: {
2377
- alignment: "left" | "center" | "right" | "justify";
2378
- } | undefined;
2379
- matrixIdentifier?: string | undefined;
2380
- } | {
2381
- type: "dam-image";
2382
- nodeId: string;
2383
- damSystemType: string;
2384
- damSystemIdentifier: string;
2385
- damObjectId: string;
2386
- attributes?: (Record<string, string> & {
2387
- src?: undefined;
2388
- }) | undefined;
2389
- formattingOptions?: {
2390
- alignment: "left" | "center" | "right" | "justify";
2391
- } | undefined;
2392
- damAdditional?: {
2393
- variant?: string | undefined;
2394
- } | undefined;
2395
- } | {
2396
- type: "component";
2397
- nodeId: string;
2398
- componentId: string;
2399
- componentSet: string;
2400
- i18n?: Record<string, {
2401
- id: string;
2402
- } | {
2403
- content: Record<string, unknown>;
2404
- schemaName: string;
2405
- }> | undefined;
2406
- componentType?: "server" | "edge" | undefined;
2407
- contentItem?: {
2408
- id: string;
2409
- } | {
2410
- content: Record<string, unknown>;
2411
- schemaName: string;
2412
- } | undefined;
2413
- } | (({
2414
- type: "tag";
2415
- nodeId: string;
2416
- tag: string;
2417
- attributes?: Record<string, string> | undefined;
2418
- font?: {
2419
- bold?: boolean | undefined;
2420
- italics?: boolean | undefined;
2421
- underline?: boolean | undefined;
2422
- color?: string | undefined;
2423
- size?: string | undefined;
2424
- fontFamily?: string | undefined;
2425
- } | undefined;
2426
- formattingOptions?: {
2427
- alignment: "left" | "center" | "right" | "justify";
2428
- } | undefined;
2429
- } | {
2430
- type: "fragment";
2431
- nodeId: string;
2432
- i18n?: Record<string, {}> | undefined;
2433
- } | {
2434
- type: "link-to-matrix-asset";
2435
- nodeId: string;
2436
- matrixDomain: string;
2437
- matrixAssetId: string;
2438
- target: "_blank" | "_self" | "_parent" | "_top";
2439
- attributes?: (Record<string, string> & {
2440
- target?: undefined;
2441
- href?: undefined;
2442
- }) | undefined;
2443
- formattingOptions?: {
2444
- alignment: "left" | "center" | "right" | "justify";
2445
- } | undefined;
2446
- matrixIdentifier?: string | undefined;
2447
- } | {
2448
- type: "link-to-dam-asset";
2449
- nodeId: string;
2450
- target: "_blank" | "_self" | "_parent" | "_top";
2451
- damSystemType: string;
2452
- damSystemIdentifier: string;
2453
- damObjectId: string;
2454
- attributes?: (Record<string, string> & {
2455
- target?: undefined;
2456
- href?: undefined;
2457
- }) | undefined;
2458
- formattingOptions?: {
2459
- alignment: "left" | "center" | "right" | "justify";
2460
- } | undefined;
2461
- damAdditional?: {
2462
- variant?: string | undefined;
2463
- } | undefined;
2464
- }) & {
2465
- children: import("../layout-content").LayoutContentNodes[];
2466
- }), z.ZodTypeDef, {
2467
- value: string;
2468
- type: "text";
2469
- nodeId?: string | undefined;
2470
- } | {
2471
- type: "tag";
2472
- tag: string;
2473
- nodeId?: string | undefined;
2474
- attributes?: Record<string, string> | undefined;
2475
- font?: {
2476
- bold?: boolean | undefined;
2477
- italics?: boolean | undefined;
2478
- underline?: boolean | undefined;
2479
- color?: string | undefined;
2480
- size?: string | undefined;
2481
- fontFamily?: string | undefined;
2482
- } | undefined;
2483
- formattingOptions?: {
2484
- alignment: "left" | "center" | "right" | "justify";
2485
- } | undefined;
2486
- } | {
2487
- type: "fragment";
2488
- nodeId?: string | undefined;
2489
- i18n?: Record<string, {}> | undefined;
2490
- } | {
2491
- type: "link-to-matrix-asset";
2492
- matrixDomain: string;
2493
- matrixAssetId: string;
2494
- target: "_blank" | "_self" | "_parent" | "_top";
2495
- nodeId?: string | undefined;
2496
- attributes?: (Record<string, string> & {
2497
- target?: undefined;
2498
- href?: undefined;
2499
- }) | undefined;
2500
- formattingOptions?: {
2501
- alignment: "left" | "center" | "right" | "justify";
2502
- } | undefined;
2503
- matrixIdentifier?: string | undefined;
2504
- } | {
2505
- type: "link-to-dam-asset";
2506
- target: "_blank" | "_self" | "_parent" | "_top";
2507
- damSystemType: string;
2508
- damSystemIdentifier: string;
2509
- damObjectId: string;
2510
- nodeId?: string | undefined;
2511
- attributes?: (Record<string, string> & {
2512
- target?: undefined;
2513
- href?: undefined;
2514
- }) | undefined;
2515
- formattingOptions?: {
2516
- alignment: "left" | "center" | "right" | "justify";
2517
- } | undefined;
2518
- damAdditional?: {
2519
- variant?: string | undefined;
2520
- } | undefined;
2521
- } | {
2522
- type: "matrix-image";
2523
- matrixDomain: string;
2524
- matrixAssetId: string;
2525
- nodeId?: string | undefined;
2526
- attributes?: (Record<string, string> & {
2527
- src?: undefined;
2528
- }) | undefined;
2529
- formattingOptions?: {
2530
- alignment: "left" | "center" | "right" | "justify";
2531
- } | undefined;
2532
- matrixIdentifier?: string | undefined;
2533
- } | {
2534
- type: "dam-image";
2535
- damSystemType: string;
2536
- damSystemIdentifier: string;
2537
- damObjectId: string;
2538
- nodeId?: string | undefined;
2539
- attributes?: (Record<string, string> & {
2540
- src?: undefined;
2541
- }) | undefined;
2542
- formattingOptions?: {
2543
- alignment: "left" | "center" | "right" | "justify";
2544
- } | undefined;
2545
- damAdditional?: {
2546
- variant?: string | undefined;
2547
- } | undefined;
2548
- } | {
2549
- type: "component";
2550
- componentId: string;
2551
- componentSet: string;
2552
- nodeId?: string | undefined;
2553
- i18n?: Record<string, {
2554
- id: string;
2555
- } | {
2556
- content: Record<string, unknown>;
2557
- schemaName: string;
2558
- }> | undefined;
2559
- componentType?: "server" | "edge" | undefined;
2560
- contentItem?: {
2561
- id: string;
2562
- } | {
2563
- content: Record<string, unknown>;
2564
- schemaName: string;
2565
- } | undefined;
2566
- }>, z.ZodType<import("../layout-content").LayoutVariationNode, z.ZodTypeDef, {
2567
- type: "variation";
2568
- default: {};
2569
- nodeId?: string | undefined;
2570
- }>, z.ZodType<import("../layout-content").DeveloperDefinedLayoutNode, z.ZodTypeDef, {
2571
- type: "layout";
2572
- layout: {
2573
- options: Record<string, {
2574
- values: string[];
2575
- displayName: string;
2576
- description: string;
2577
- selectedValue: string;
2578
- }>;
2579
- name: string;
2580
- displayName: string;
2581
- description: string;
2582
- template: string;
2583
- zones: Record<string, {
2584
- displayName: string;
2585
- description: string;
2586
- minNodes: number;
2587
- maxNodes?: number | undefined;
2588
- }>;
2589
- } | {
2590
- options: Record<string, {
2591
- selectedValue: string;
2592
- }>;
2593
- name: string;
2594
- };
2595
- nodeId?: string | undefined;
2596
- }>]>, "many">, (import("../layout-content").LayoutVariationNode | ({
2597
- value: string;
2598
- type: "text";
2599
- nodeId: string;
2600
- } | {
2601
- type: "matrix-image";
2602
- nodeId: string;
2603
- matrixDomain: string;
2604
- matrixAssetId: string;
2605
- attributes?: (Record<string, string> & {
2606
- src?: undefined;
2607
- }) | undefined;
2608
- formattingOptions?: {
2609
- alignment: "left" | "center" | "right" | "justify";
2610
- } | undefined;
2611
- matrixIdentifier?: string | undefined;
2612
- } | {
2613
- type: "dam-image";
2614
- nodeId: string;
2615
- damSystemType: string;
2616
- damSystemIdentifier: string;
2617
- damObjectId: string;
2618
- attributes?: (Record<string, string> & {
2619
- src?: undefined;
2620
- }) | undefined;
2621
- formattingOptions?: {
2622
- alignment: "left" | "center" | "right" | "justify";
2623
- } | undefined;
2624
- damAdditional?: {
2625
- variant?: string | undefined;
2626
- } | undefined;
2627
- } | {
2628
- type: "component";
2629
- nodeId: string;
2630
- componentId: string;
2631
- componentSet: string;
2632
- i18n?: Record<string, {
2633
- id: string;
2634
- } | {
2635
- content: Record<string, unknown>;
2636
- schemaName: string;
2637
- }> | undefined;
2638
- componentType?: "server" | "edge" | undefined;
2639
- contentItem?: {
2640
- id: string;
2641
- } | {
2642
- content: Record<string, unknown>;
2643
- schemaName: string;
2644
- } | undefined;
2645
- } | (({
2646
- type: "tag";
2647
- nodeId: string;
2648
- tag: string;
2649
- attributes?: Record<string, string> | undefined;
2650
- font?: {
2651
- bold?: boolean | undefined;
2652
- italics?: boolean | undefined;
2653
- underline?: boolean | undefined;
2654
- color?: string | undefined;
2655
- size?: string | undefined;
2656
- fontFamily?: string | undefined;
2657
- } | undefined;
2658
- formattingOptions?: {
2659
- alignment: "left" | "center" | "right" | "justify";
2660
- } | undefined;
2661
- } | {
2662
- type: "fragment";
2663
- nodeId: string;
2664
- i18n?: Record<string, {}> | undefined;
2665
- } | {
2666
- type: "link-to-matrix-asset";
2667
- nodeId: string;
2668
- matrixDomain: string;
2669
- matrixAssetId: string;
2670
- target: "_blank" | "_self" | "_parent" | "_top";
2671
- attributes?: (Record<string, string> & {
2672
- target?: undefined;
2673
- href?: undefined;
2674
- }) | undefined;
2675
- formattingOptions?: {
2676
- alignment: "left" | "center" | "right" | "justify";
2677
- } | undefined;
2678
- matrixIdentifier?: string | undefined;
2679
- } | {
2680
- type: "link-to-dam-asset";
2681
- nodeId: string;
2682
- target: "_blank" | "_self" | "_parent" | "_top";
2683
- damSystemType: string;
2684
- damSystemIdentifier: string;
2685
- damObjectId: string;
2686
- attributes?: (Record<string, string> & {
2687
- target?: undefined;
2688
- href?: undefined;
2689
- }) | undefined;
2690
- formattingOptions?: {
2691
- alignment: "left" | "center" | "right" | "justify";
2692
- } | undefined;
2693
- damAdditional?: {
2694
- variant?: string | undefined;
2695
- } | undefined;
2696
- }) & {
2697
- children: import("../layout-content").LayoutContentNodes[];
2698
- })) | import("../layout-content").DeveloperDefinedLayoutNode)[], ({
2699
- value: string;
2700
- type: "text";
2701
- nodeId?: string | undefined;
2702
- } | {
2703
- type: "tag";
2704
- tag: string;
2705
- nodeId?: string | undefined;
2706
- attributes?: Record<string, string> | undefined;
2707
- font?: {
2708
- bold?: boolean | undefined;
2709
- italics?: boolean | undefined;
2710
- underline?: boolean | undefined;
2711
- color?: string | undefined;
2712
- size?: string | undefined;
2713
- fontFamily?: string | undefined;
2714
- } | undefined;
2715
- formattingOptions?: {
2716
- alignment: "left" | "center" | "right" | "justify";
2717
- } | undefined;
2718
- } | {
2719
- type: "fragment";
2720
- nodeId?: string | undefined;
2721
- i18n?: Record<string, {}> | undefined;
2722
- } | {
2723
- type: "link-to-matrix-asset";
2724
- matrixDomain: string;
2725
- matrixAssetId: string;
2726
- target: "_blank" | "_self" | "_parent" | "_top";
2727
- nodeId?: string | undefined;
2728
- attributes?: (Record<string, string> & {
2729
- target?: undefined;
2730
- href?: undefined;
2731
- }) | undefined;
2732
- formattingOptions?: {
2733
- alignment: "left" | "center" | "right" | "justify";
2734
- } | undefined;
2735
- matrixIdentifier?: string | undefined;
2736
- } | {
2737
- type: "link-to-dam-asset";
2738
- target: "_blank" | "_self" | "_parent" | "_top";
2739
- damSystemType: string;
2740
- damSystemIdentifier: string;
2741
- damObjectId: string;
2742
- nodeId?: string | undefined;
2743
- attributes?: (Record<string, string> & {
2744
- target?: undefined;
2745
- href?: undefined;
2746
- }) | undefined;
2747
- formattingOptions?: {
2748
- alignment: "left" | "center" | "right" | "justify";
2749
- } | undefined;
2750
- damAdditional?: {
2751
- variant?: string | undefined;
2752
- } | undefined;
2753
- } | {
2754
- type: "matrix-image";
2755
- matrixDomain: string;
2756
- matrixAssetId: string;
2757
- nodeId?: string | undefined;
2758
- attributes?: (Record<string, string> & {
2759
- src?: undefined;
2760
- }) | undefined;
2761
- formattingOptions?: {
2762
- alignment: "left" | "center" | "right" | "justify";
2763
- } | undefined;
2764
- matrixIdentifier?: string | undefined;
2765
- } | {
2766
- type: "dam-image";
2767
- damSystemType: string;
2768
- damSystemIdentifier: string;
2769
- damObjectId: string;
2770
- nodeId?: string | undefined;
2771
- attributes?: (Record<string, string> & {
2772
- src?: undefined;
2773
- }) | undefined;
2774
- formattingOptions?: {
2775
- alignment: "left" | "center" | "right" | "justify";
2776
- } | undefined;
2777
- damAdditional?: {
2778
- variant?: string | undefined;
2779
- } | undefined;
2780
- } | {
2781
- type: "component";
2782
- componentId: string;
2783
- componentSet: string;
2784
- nodeId?: string | undefined;
2785
- i18n?: Record<string, {
2786
- id: string;
2787
- } | {
2788
- content: Record<string, unknown>;
2789
- schemaName: string;
2790
- }> | undefined;
2791
- componentType?: "server" | "edge" | undefined;
2792
- contentItem?: {
2793
- id: string;
2794
- } | {
2795
- content: Record<string, unknown>;
2796
- schemaName: string;
2797
- } | undefined;
2798
- } | {
2799
- type: "variation";
2800
- default: {};
2801
- nodeId?: string | undefined;
2802
- } | {
2803
- type: "layout";
2804
- layout: {
2805
- options: Record<string, {
2806
- values: string[];
2807
- displayName: string;
2808
- description: string;
2809
- selectedValue: string;
2810
- }>;
2811
- name: string;
2812
- displayName: string;
2813
- description: string;
2814
- template: string;
2815
- zones: Record<string, {
2816
- displayName: string;
2817
- description: string;
2818
- minNodes: number;
2819
- maxNodes?: number | undefined;
2820
- }>;
2821
- } | {
2822
- options: Record<string, {
2823
- selectedValue: string;
2824
- }>;
2825
- name: string;
2826
- };
2827
- nodeId?: string | undefined;
2828
- })[]>;
2829
- }, "strip", z.ZodTypeAny, {
2830
- left: (import("../layout-content").LayoutVariationNode | ({
2831
- value: string;
2832
- type: "text";
2833
- nodeId: string;
2834
- } | {
2835
- type: "matrix-image";
2836
- nodeId: string;
2837
- matrixDomain: string;
2838
- matrixAssetId: string;
2839
- attributes?: (Record<string, string> & {
2840
- src?: undefined;
2841
- }) | undefined;
2842
- formattingOptions?: {
2843
- alignment: "left" | "center" | "right" | "justify";
2844
- } | undefined;
2845
- matrixIdentifier?: string | undefined;
2846
- } | {
2847
- type: "dam-image";
2848
- nodeId: string;
2849
- damSystemType: string;
2850
- damSystemIdentifier: string;
2851
- damObjectId: string;
2852
- attributes?: (Record<string, string> & {
2853
- src?: undefined;
2854
- }) | undefined;
2855
- formattingOptions?: {
2856
- alignment: "left" | "center" | "right" | "justify";
2857
- } | undefined;
2858
- damAdditional?: {
2859
- variant?: string | undefined;
2860
- } | undefined;
2861
- } | {
2862
- type: "component";
2863
- nodeId: string;
2864
- componentId: string;
2865
- componentSet: string;
2866
- i18n?: Record<string, {
2867
- id: string;
2868
- } | {
2869
- content: Record<string, unknown>;
2870
- schemaName: string;
2871
- }> | undefined;
2872
- componentType?: "server" | "edge" | undefined;
2873
- contentItem?: {
2874
- id: string;
2875
- } | {
2876
- content: Record<string, unknown>;
2877
- schemaName: string;
2878
- } | undefined;
2879
- } | (({
2880
- type: "tag";
2881
- nodeId: string;
2882
- tag: string;
2883
- attributes?: Record<string, string> | undefined;
2884
- font?: {
2885
- bold?: boolean | undefined;
2886
- italics?: boolean | undefined;
2887
- underline?: boolean | undefined;
2888
- color?: string | undefined;
2889
- size?: string | undefined;
2890
- fontFamily?: string | undefined;
2891
- } | undefined;
2892
- formattingOptions?: {
2893
- alignment: "left" | "center" | "right" | "justify";
2894
- } | undefined;
2895
- } | {
2896
- type: "fragment";
2897
- nodeId: string;
2898
- i18n?: Record<string, {}> | undefined;
2899
- } | {
2900
- type: "link-to-matrix-asset";
2901
- nodeId: string;
2902
- matrixDomain: string;
2903
- matrixAssetId: string;
2904
- target: "_blank" | "_self" | "_parent" | "_top";
2905
- attributes?: (Record<string, string> & {
2906
- target?: undefined;
2907
- href?: undefined;
2908
- }) | undefined;
2909
- formattingOptions?: {
2910
- alignment: "left" | "center" | "right" | "justify";
2911
- } | undefined;
2912
- matrixIdentifier?: string | undefined;
2913
- } | {
2914
- type: "link-to-dam-asset";
2915
- nodeId: string;
2916
- target: "_blank" | "_self" | "_parent" | "_top";
2917
- damSystemType: string;
2918
- damSystemIdentifier: string;
2919
- damObjectId: string;
2920
- attributes?: (Record<string, string> & {
2921
- target?: undefined;
2922
- href?: undefined;
2923
- }) | undefined;
2924
- formattingOptions?: {
2925
- alignment: "left" | "center" | "right" | "justify";
2926
- } | undefined;
2927
- damAdditional?: {
2928
- variant?: string | undefined;
2929
- } | undefined;
2930
- }) & {
2931
- children: import("../layout-content").LayoutContentNodes[];
2932
- })) | import("../layout-content").DeveloperDefinedLayoutNode)[];
2933
- right: (import("../layout-content").LayoutVariationNode | ({
2934
- value: string;
2935
- type: "text";
2936
- nodeId: string;
2937
- } | {
2938
- type: "matrix-image";
2939
- nodeId: string;
2940
- matrixDomain: string;
2941
- matrixAssetId: string;
2942
- attributes?: (Record<string, string> & {
2943
- src?: undefined;
2944
- }) | undefined;
2945
- formattingOptions?: {
2946
- alignment: "left" | "center" | "right" | "justify";
2947
- } | undefined;
2948
- matrixIdentifier?: string | undefined;
2949
- } | {
2950
- type: "dam-image";
2951
- nodeId: string;
2952
- damSystemType: string;
2953
- damSystemIdentifier: string;
2954
- damObjectId: string;
2955
- attributes?: (Record<string, string> & {
2956
- src?: undefined;
2957
- }) | undefined;
2958
- formattingOptions?: {
2959
- alignment: "left" | "center" | "right" | "justify";
2960
- } | undefined;
2961
- damAdditional?: {
2962
- variant?: string | undefined;
2963
- } | undefined;
2964
- } | {
2965
- type: "component";
2966
- nodeId: string;
2967
- componentId: string;
2968
- componentSet: string;
2969
- i18n?: Record<string, {
2970
- id: string;
2971
- } | {
2972
- content: Record<string, unknown>;
2973
- schemaName: string;
2974
- }> | undefined;
2975
- componentType?: "server" | "edge" | undefined;
2976
- contentItem?: {
2977
- id: string;
2978
- } | {
2979
- content: Record<string, unknown>;
2980
- schemaName: string;
2981
- } | undefined;
2982
- } | (({
2983
- type: "tag";
2984
- nodeId: string;
2985
- tag: string;
2986
- attributes?: Record<string, string> | undefined;
2987
- font?: {
2988
- bold?: boolean | undefined;
2989
- italics?: boolean | undefined;
2990
- underline?: boolean | undefined;
2991
- color?: string | undefined;
2992
- size?: string | undefined;
2993
- fontFamily?: string | undefined;
2994
- } | undefined;
2995
- formattingOptions?: {
2996
- alignment: "left" | "center" | "right" | "justify";
2997
- } | undefined;
2998
- } | {
2999
- type: "fragment";
3000
- nodeId: string;
3001
- i18n?: Record<string, {}> | undefined;
3002
- } | {
3003
- type: "link-to-matrix-asset";
3004
- nodeId: string;
3005
- matrixDomain: string;
3006
- matrixAssetId: string;
3007
- target: "_blank" | "_self" | "_parent" | "_top";
3008
- attributes?: (Record<string, string> & {
3009
- target?: undefined;
3010
- href?: undefined;
3011
- }) | undefined;
3012
- formattingOptions?: {
3013
- alignment: "left" | "center" | "right" | "justify";
3014
- } | undefined;
3015
- matrixIdentifier?: string | undefined;
3016
- } | {
3017
- type: "link-to-dam-asset";
3018
- nodeId: string;
3019
- target: "_blank" | "_self" | "_parent" | "_top";
3020
- damSystemType: string;
3021
- damSystemIdentifier: string;
3022
- damObjectId: string;
3023
- attributes?: (Record<string, string> & {
3024
- target?: undefined;
3025
- href?: undefined;
3026
- }) | undefined;
3027
- formattingOptions?: {
3028
- alignment: "left" | "center" | "right" | "justify";
3029
- } | undefined;
3030
- damAdditional?: {
3031
- variant?: string | undefined;
3032
- } | undefined;
3033
- }) & {
3034
- children: import("../layout-content").LayoutContentNodes[];
3035
- })) | import("../layout-content").DeveloperDefinedLayoutNode)[];
3036
- }, {
3037
- left: ({
3038
- value: string;
3039
- type: "text";
3040
- nodeId?: string | undefined;
3041
- } | {
3042
- type: "tag";
3043
- tag: string;
3044
- nodeId?: string | undefined;
3045
- attributes?: Record<string, string> | undefined;
3046
- font?: {
3047
- bold?: boolean | undefined;
3048
- italics?: boolean | undefined;
3049
- underline?: boolean | undefined;
3050
- color?: string | undefined;
3051
- size?: string | undefined;
3052
- fontFamily?: string | undefined;
3053
- } | undefined;
3054
- formattingOptions?: {
3055
- alignment: "left" | "center" | "right" | "justify";
3056
- } | undefined;
3057
- } | {
3058
- type: "fragment";
3059
- nodeId?: string | undefined;
3060
- i18n?: Record<string, {}> | undefined;
3061
- } | {
3062
- type: "link-to-matrix-asset";
3063
- matrixDomain: string;
3064
- matrixAssetId: string;
3065
- target: "_blank" | "_self" | "_parent" | "_top";
3066
- nodeId?: string | undefined;
3067
- attributes?: (Record<string, string> & {
3068
- target?: undefined;
3069
- href?: undefined;
3070
- }) | undefined;
3071
- formattingOptions?: {
3072
- alignment: "left" | "center" | "right" | "justify";
3073
- } | undefined;
3074
- matrixIdentifier?: string | undefined;
3075
- } | {
3076
- type: "link-to-dam-asset";
3077
- target: "_blank" | "_self" | "_parent" | "_top";
3078
- damSystemType: string;
3079
- damSystemIdentifier: string;
3080
- damObjectId: string;
3081
- nodeId?: string | undefined;
3082
- attributes?: (Record<string, string> & {
3083
- target?: undefined;
3084
- href?: undefined;
3085
- }) | undefined;
3086
- formattingOptions?: {
3087
- alignment: "left" | "center" | "right" | "justify";
3088
- } | undefined;
3089
- damAdditional?: {
3090
- variant?: string | undefined;
3091
- } | undefined;
3092
- } | {
3093
- type: "matrix-image";
3094
- matrixDomain: string;
3095
- matrixAssetId: string;
3096
- nodeId?: string | undefined;
3097
- attributes?: (Record<string, string> & {
3098
- src?: undefined;
3099
- }) | undefined;
3100
- formattingOptions?: {
3101
- alignment: "left" | "center" | "right" | "justify";
3102
- } | undefined;
3103
- matrixIdentifier?: string | undefined;
3104
- } | {
3105
- type: "dam-image";
3106
- damSystemType: string;
3107
- damSystemIdentifier: string;
3108
- damObjectId: string;
3109
- nodeId?: string | undefined;
3110
- attributes?: (Record<string, string> & {
3111
- src?: undefined;
3112
- }) | undefined;
3113
- formattingOptions?: {
3114
- alignment: "left" | "center" | "right" | "justify";
3115
- } | undefined;
3116
- damAdditional?: {
3117
- variant?: string | undefined;
3118
- } | undefined;
3119
- } | {
3120
- type: "component";
3121
- componentId: string;
3122
- componentSet: string;
3123
- nodeId?: string | undefined;
3124
- i18n?: Record<string, {
3125
- id: string;
3126
- } | {
3127
- content: Record<string, unknown>;
3128
- schemaName: string;
3129
- }> | undefined;
3130
- componentType?: "server" | "edge" | undefined;
3131
- contentItem?: {
3132
- id: string;
3133
- } | {
3134
- content: Record<string, unknown>;
3135
- schemaName: string;
3136
- } | undefined;
3137
- } | {
3138
- type: "variation";
3139
- default: {};
3140
- nodeId?: string | undefined;
3141
- } | {
3142
- type: "layout";
3143
- layout: {
3144
- options: Record<string, {
3145
- values: string[];
3146
- displayName: string;
3147
- description: string;
3148
- selectedValue: string;
3149
- }>;
3150
- name: string;
3151
- displayName: string;
3152
- description: string;
3153
- template: string;
3154
- zones: Record<string, {
3155
- displayName: string;
3156
- description: string;
3157
- minNodes: number;
3158
- maxNodes?: number | undefined;
3159
- }>;
3160
- } | {
3161
- options: Record<string, {
3162
- selectedValue: string;
3163
- }>;
3164
- name: string;
3165
- };
3166
- nodeId?: string | undefined;
3167
- })[];
3168
- right: ({
3169
- value: string;
3170
- type: "text";
3171
- nodeId?: string | undefined;
3172
- } | {
3173
- type: "tag";
3174
- tag: string;
3175
- nodeId?: string | undefined;
3176
- attributes?: Record<string, string> | undefined;
3177
- font?: {
3178
- bold?: boolean | undefined;
3179
- italics?: boolean | undefined;
3180
- underline?: boolean | undefined;
3181
- color?: string | undefined;
3182
- size?: string | undefined;
3183
- fontFamily?: string | undefined;
3184
- } | undefined;
3185
- formattingOptions?: {
3186
- alignment: "left" | "center" | "right" | "justify";
3187
- } | undefined;
3188
- } | {
3189
- type: "fragment";
3190
- nodeId?: string | undefined;
3191
- i18n?: Record<string, {}> | undefined;
3192
- } | {
3193
- type: "link-to-matrix-asset";
3194
- matrixDomain: string;
3195
- matrixAssetId: string;
3196
- target: "_blank" | "_self" | "_parent" | "_top";
3197
- nodeId?: string | undefined;
3198
- attributes?: (Record<string, string> & {
3199
- target?: undefined;
3200
- href?: undefined;
3201
- }) | undefined;
3202
- formattingOptions?: {
3203
- alignment: "left" | "center" | "right" | "justify";
3204
- } | undefined;
3205
- matrixIdentifier?: string | undefined;
3206
- } | {
3207
- type: "link-to-dam-asset";
3208
- target: "_blank" | "_self" | "_parent" | "_top";
3209
- damSystemType: string;
3210
- damSystemIdentifier: string;
3211
- damObjectId: string;
3212
- nodeId?: string | undefined;
3213
- attributes?: (Record<string, string> & {
3214
- target?: undefined;
3215
- href?: undefined;
3216
- }) | undefined;
3217
- formattingOptions?: {
3218
- alignment: "left" | "center" | "right" | "justify";
3219
- } | undefined;
3220
- damAdditional?: {
3221
- variant?: string | undefined;
3222
- } | undefined;
3223
- } | {
3224
- type: "matrix-image";
3225
- matrixDomain: string;
3226
- matrixAssetId: string;
3227
- nodeId?: string | undefined;
3228
- attributes?: (Record<string, string> & {
3229
- src?: undefined;
3230
- }) | undefined;
3231
- formattingOptions?: {
3232
- alignment: "left" | "center" | "right" | "justify";
3233
- } | undefined;
3234
- matrixIdentifier?: string | undefined;
3235
- } | {
3236
- type: "dam-image";
3237
- damSystemType: string;
3238
- damSystemIdentifier: string;
3239
- damObjectId: string;
3240
- nodeId?: string | undefined;
3241
- attributes?: (Record<string, string> & {
3242
- src?: undefined;
3243
- }) | undefined;
3244
- formattingOptions?: {
3245
- alignment: "left" | "center" | "right" | "justify";
3246
- } | undefined;
3247
- damAdditional?: {
3248
- variant?: string | undefined;
3249
- } | undefined;
3250
- } | {
3251
- type: "component";
3252
- componentId: string;
3253
- componentSet: string;
3254
- nodeId?: string | undefined;
3255
- i18n?: Record<string, {
3256
- id: string;
3257
- } | {
3258
- content: Record<string, unknown>;
3259
- schemaName: string;
3260
- }> | undefined;
3261
- componentType?: "server" | "edge" | undefined;
3262
- contentItem?: {
3263
- id: string;
3264
- } | {
3265
- content: Record<string, unknown>;
3266
- schemaName: string;
3267
- } | undefined;
3268
- } | {
3269
- type: "variation";
3270
- default: {};
3271
- nodeId?: string | undefined;
3272
- } | {
3273
- type: "layout";
3274
- layout: {
3275
- options: Record<string, {
3276
- values: string[];
3277
- displayName: string;
3278
- description: string;
3279
- selectedValue: string;
3280
- }>;
3281
- name: string;
3282
- displayName: string;
3283
- description: string;
3284
- template: string;
3285
- zones: Record<string, {
3286
- displayName: string;
3287
- description: string;
3288
- minNodes: number;
3289
- maxNodes?: number | undefined;
3290
- }>;
3291
- } | {
3292
- options: Record<string, {
3293
- selectedValue: string;
3294
- }>;
3295
- name: string;
3296
- };
3297
- nodeId?: string | undefined;
3298
- })[];
3299
- }>;
3300
- }, "strip", z.ZodTypeAny, {
3301
- content: {
3302
- left: (import("../layout-content").LayoutVariationNode | ({
3303
- value: string;
3304
- type: "text";
3305
- nodeId: string;
3306
- } | {
3307
- type: "matrix-image";
3308
- nodeId: string;
3309
- matrixDomain: string;
3310
- matrixAssetId: string;
3311
- attributes?: (Record<string, string> & {
3312
- src?: undefined;
3313
- }) | undefined;
3314
- formattingOptions?: {
3315
- alignment: "left" | "center" | "right" | "justify";
3316
- } | undefined;
3317
- matrixIdentifier?: string | undefined;
3318
- } | {
3319
- type: "dam-image";
3320
- nodeId: string;
3321
- damSystemType: string;
3322
- damSystemIdentifier: string;
3323
- damObjectId: string;
3324
- attributes?: (Record<string, string> & {
3325
- src?: undefined;
3326
- }) | undefined;
3327
- formattingOptions?: {
3328
- alignment: "left" | "center" | "right" | "justify";
3329
- } | undefined;
3330
- damAdditional?: {
3331
- variant?: string | undefined;
3332
- } | undefined;
3333
- } | {
3334
- type: "component";
3335
- nodeId: string;
3336
- componentId: string;
3337
- componentSet: string;
3338
- i18n?: Record<string, {
3339
- id: string;
3340
- } | {
3341
- content: Record<string, unknown>;
3342
- schemaName: string;
3343
- }> | undefined;
3344
- componentType?: "server" | "edge" | undefined;
3345
- contentItem?: {
3346
- id: string;
3347
- } | {
3348
- content: Record<string, unknown>;
3349
- schemaName: string;
3350
- } | undefined;
3351
- } | (({
3352
- type: "tag";
3353
- nodeId: string;
3354
- tag: string;
3355
- attributes?: Record<string, string> | undefined;
3356
- font?: {
3357
- bold?: boolean | undefined;
3358
- italics?: boolean | undefined;
3359
- underline?: boolean | undefined;
3360
- color?: string | undefined;
3361
- size?: string | undefined;
3362
- fontFamily?: string | undefined;
3363
- } | undefined;
3364
- formattingOptions?: {
3365
- alignment: "left" | "center" | "right" | "justify";
3366
- } | undefined;
3367
- } | {
3368
- type: "fragment";
3369
- nodeId: string;
3370
- i18n?: Record<string, {}> | undefined;
3371
- } | {
3372
- type: "link-to-matrix-asset";
3373
- nodeId: string;
3374
- matrixDomain: string;
3375
- matrixAssetId: string;
3376
- target: "_blank" | "_self" | "_parent" | "_top";
3377
- attributes?: (Record<string, string> & {
3378
- target?: undefined;
3379
- href?: undefined;
3380
- }) | undefined;
3381
- formattingOptions?: {
3382
- alignment: "left" | "center" | "right" | "justify";
3383
- } | undefined;
3384
- matrixIdentifier?: string | undefined;
3385
- } | {
3386
- type: "link-to-dam-asset";
3387
- nodeId: string;
3388
- target: "_blank" | "_self" | "_parent" | "_top";
3389
- damSystemType: string;
3390
- damSystemIdentifier: string;
3391
- damObjectId: string;
3392
- attributes?: (Record<string, string> & {
3393
- target?: undefined;
3394
- href?: undefined;
3395
- }) | undefined;
3396
- formattingOptions?: {
3397
- alignment: "left" | "center" | "right" | "justify";
3398
- } | undefined;
3399
- damAdditional?: {
3400
- variant?: string | undefined;
3401
- } | undefined;
3402
- }) & {
3403
- children: import("../layout-content").LayoutContentNodes[];
3404
- })) | import("../layout-content").DeveloperDefinedLayoutNode)[];
3405
- right: (import("../layout-content").LayoutVariationNode | ({
3406
- value: string;
3407
- type: "text";
3408
- nodeId: string;
3409
- } | {
3410
- type: "matrix-image";
3411
- nodeId: string;
3412
- matrixDomain: string;
3413
- matrixAssetId: string;
3414
- attributes?: (Record<string, string> & {
3415
- src?: undefined;
3416
- }) | undefined;
3417
- formattingOptions?: {
3418
- alignment: "left" | "center" | "right" | "justify";
3419
- } | undefined;
3420
- matrixIdentifier?: string | undefined;
3421
- } | {
3422
- type: "dam-image";
3423
- nodeId: string;
3424
- damSystemType: string;
3425
- damSystemIdentifier: string;
3426
- damObjectId: string;
3427
- attributes?: (Record<string, string> & {
3428
- src?: undefined;
3429
- }) | undefined;
3430
- formattingOptions?: {
3431
- alignment: "left" | "center" | "right" | "justify";
3432
- } | undefined;
3433
- damAdditional?: {
3434
- variant?: string | undefined;
3435
- } | undefined;
3436
- } | {
3437
- type: "component";
3438
- nodeId: string;
3439
- componentId: string;
3440
- componentSet: string;
3441
- i18n?: Record<string, {
3442
- id: string;
3443
- } | {
3444
- content: Record<string, unknown>;
3445
- schemaName: string;
3446
- }> | undefined;
3447
- componentType?: "server" | "edge" | undefined;
3448
- contentItem?: {
3449
- id: string;
3450
- } | {
3451
- content: Record<string, unknown>;
3452
- schemaName: string;
3453
- } | undefined;
3454
- } | (({
3455
- type: "tag";
3456
- nodeId: string;
3457
- tag: string;
3458
- attributes?: Record<string, string> | undefined;
3459
- font?: {
3460
- bold?: boolean | undefined;
3461
- italics?: boolean | undefined;
3462
- underline?: boolean | undefined;
3463
- color?: string | undefined;
3464
- size?: string | undefined;
3465
- fontFamily?: string | undefined;
3466
- } | undefined;
3467
- formattingOptions?: {
3468
- alignment: "left" | "center" | "right" | "justify";
3469
- } | undefined;
3470
- } | {
3471
- type: "fragment";
3472
- nodeId: string;
3473
- i18n?: Record<string, {}> | undefined;
3474
- } | {
3475
- type: "link-to-matrix-asset";
3476
- nodeId: string;
3477
- matrixDomain: string;
3478
- matrixAssetId: string;
3479
- target: "_blank" | "_self" | "_parent" | "_top";
3480
- attributes?: (Record<string, string> & {
3481
- target?: undefined;
3482
- href?: undefined;
3483
- }) | undefined;
3484
- formattingOptions?: {
3485
- alignment: "left" | "center" | "right" | "justify";
3486
- } | undefined;
3487
- matrixIdentifier?: string | undefined;
3488
- } | {
3489
- type: "link-to-dam-asset";
3490
- nodeId: string;
3491
- target: "_blank" | "_self" | "_parent" | "_top";
3492
- damSystemType: string;
3493
- damSystemIdentifier: string;
3494
- damObjectId: string;
3495
- attributes?: (Record<string, string> & {
3496
- target?: undefined;
3497
- href?: undefined;
3498
- }) | undefined;
3499
- formattingOptions?: {
3500
- alignment: "left" | "center" | "right" | "justify";
3501
- } | undefined;
3502
- damAdditional?: {
3503
- variant?: string | undefined;
3504
- } | undefined;
3505
- }) & {
3506
- children: import("../layout-content").LayoutContentNodes[];
3507
- })) | import("../layout-content").DeveloperDefinedLayoutNode)[];
3508
- };
3509
- name: "two-column";
3510
- }, {
3511
- content: {
3512
- left: ({
3513
- value: string;
3514
- type: "text";
3515
- nodeId?: string | undefined;
3516
- } | {
3517
- type: "tag";
3518
- tag: string;
3519
- nodeId?: string | undefined;
3520
- attributes?: Record<string, string> | undefined;
3521
- font?: {
3522
- bold?: boolean | undefined;
3523
- italics?: boolean | undefined;
3524
- underline?: boolean | undefined;
3525
- color?: string | undefined;
3526
- size?: string | undefined;
3527
- fontFamily?: string | undefined;
3528
- } | undefined;
3529
- formattingOptions?: {
3530
- alignment: "left" | "center" | "right" | "justify";
3531
- } | undefined;
3532
- } | {
3533
- type: "fragment";
3534
- nodeId?: string | undefined;
3535
- i18n?: Record<string, {}> | undefined;
3536
- } | {
3537
- type: "link-to-matrix-asset";
3538
- matrixDomain: string;
3539
- matrixAssetId: string;
3540
- target: "_blank" | "_self" | "_parent" | "_top";
3541
- nodeId?: string | undefined;
3542
- attributes?: (Record<string, string> & {
3543
- target?: undefined;
3544
- href?: undefined;
3545
- }) | undefined;
3546
- formattingOptions?: {
3547
- alignment: "left" | "center" | "right" | "justify";
3548
- } | undefined;
3549
- matrixIdentifier?: string | undefined;
3550
- } | {
3551
- type: "link-to-dam-asset";
3552
- target: "_blank" | "_self" | "_parent" | "_top";
3553
- damSystemType: string;
3554
- damSystemIdentifier: string;
3555
- damObjectId: string;
3556
- nodeId?: string | undefined;
3557
- attributes?: (Record<string, string> & {
3558
- target?: undefined;
3559
- href?: undefined;
3560
- }) | undefined;
3561
- formattingOptions?: {
3562
- alignment: "left" | "center" | "right" | "justify";
3563
- } | undefined;
3564
- damAdditional?: {
3565
- variant?: string | undefined;
3566
- } | undefined;
3567
- } | {
3568
- type: "matrix-image";
3569
- matrixDomain: string;
3570
- matrixAssetId: string;
3571
- nodeId?: string | undefined;
3572
- attributes?: (Record<string, string> & {
3573
- src?: undefined;
3574
- }) | undefined;
3575
- formattingOptions?: {
3576
- alignment: "left" | "center" | "right" | "justify";
3577
- } | undefined;
3578
- matrixIdentifier?: string | undefined;
3579
- } | {
3580
- type: "dam-image";
3581
- damSystemType: string;
3582
- damSystemIdentifier: string;
3583
- damObjectId: string;
3584
- nodeId?: string | undefined;
3585
- attributes?: (Record<string, string> & {
3586
- src?: undefined;
3587
- }) | undefined;
3588
- formattingOptions?: {
3589
- alignment: "left" | "center" | "right" | "justify";
3590
- } | undefined;
3591
- damAdditional?: {
3592
- variant?: string | undefined;
3593
- } | undefined;
3594
- } | {
3595
- type: "component";
3596
- componentId: string;
3597
- componentSet: string;
3598
- nodeId?: string | undefined;
3599
- i18n?: Record<string, {
3600
- id: string;
3601
- } | {
3602
- content: Record<string, unknown>;
3603
- schemaName: string;
3604
- }> | undefined;
3605
- componentType?: "server" | "edge" | undefined;
3606
- contentItem?: {
3607
- id: string;
3608
- } | {
3609
- content: Record<string, unknown>;
3610
- schemaName: string;
3611
- } | undefined;
3612
- } | {
3613
- type: "variation";
3614
- default: {};
3615
- nodeId?: string | undefined;
3616
- } | {
3617
- type: "layout";
3618
- layout: {
3619
- options: Record<string, {
3620
- values: string[];
3621
- displayName: string;
3622
- description: string;
3623
- selectedValue: string;
3624
- }>;
3625
- name: string;
3626
- displayName: string;
3627
- description: string;
3628
- template: string;
3629
- zones: Record<string, {
3630
- displayName: string;
3631
- description: string;
3632
- minNodes: number;
3633
- maxNodes?: number | undefined;
3634
- }>;
3635
- } | {
3636
- options: Record<string, {
3637
- selectedValue: string;
3638
- }>;
3639
- name: string;
3640
- };
3641
- nodeId?: string | undefined;
3642
- })[];
3643
- right: ({
3644
- value: string;
3645
- type: "text";
3646
- nodeId?: string | undefined;
3647
- } | {
3648
- type: "tag";
3649
- tag: string;
3650
- nodeId?: string | undefined;
3651
- attributes?: Record<string, string> | undefined;
3652
- font?: {
3653
- bold?: boolean | undefined;
3654
- italics?: boolean | undefined;
3655
- underline?: boolean | undefined;
3656
- color?: string | undefined;
3657
- size?: string | undefined;
3658
- fontFamily?: string | undefined;
3659
- } | undefined;
3660
- formattingOptions?: {
3661
- alignment: "left" | "center" | "right" | "justify";
3662
- } | undefined;
3663
- } | {
3664
- type: "fragment";
3665
- nodeId?: string | undefined;
3666
- i18n?: Record<string, {}> | undefined;
3667
- } | {
3668
- type: "link-to-matrix-asset";
3669
- matrixDomain: string;
3670
- matrixAssetId: string;
3671
- target: "_blank" | "_self" | "_parent" | "_top";
3672
- nodeId?: string | undefined;
3673
- attributes?: (Record<string, string> & {
3674
- target?: undefined;
3675
- href?: undefined;
3676
- }) | undefined;
3677
- formattingOptions?: {
3678
- alignment: "left" | "center" | "right" | "justify";
3679
- } | undefined;
3680
- matrixIdentifier?: string | undefined;
3681
- } | {
3682
- type: "link-to-dam-asset";
3683
- target: "_blank" | "_self" | "_parent" | "_top";
3684
- damSystemType: string;
3685
- damSystemIdentifier: string;
3686
- damObjectId: string;
3687
- nodeId?: string | undefined;
3688
- attributes?: (Record<string, string> & {
3689
- target?: undefined;
3690
- href?: undefined;
3691
- }) | undefined;
3692
- formattingOptions?: {
3693
- alignment: "left" | "center" | "right" | "justify";
3694
- } | undefined;
3695
- damAdditional?: {
3696
- variant?: string | undefined;
3697
- } | undefined;
3698
- } | {
3699
- type: "matrix-image";
3700
- matrixDomain: string;
3701
- matrixAssetId: string;
3702
- nodeId?: string | undefined;
3703
- attributes?: (Record<string, string> & {
3704
- src?: undefined;
3705
- }) | undefined;
3706
- formattingOptions?: {
3707
- alignment: "left" | "center" | "right" | "justify";
3708
- } | undefined;
3709
- matrixIdentifier?: string | undefined;
3710
- } | {
3711
- type: "dam-image";
3712
- damSystemType: string;
3713
- damSystemIdentifier: string;
3714
- damObjectId: string;
3715
- nodeId?: string | undefined;
3716
- attributes?: (Record<string, string> & {
3717
- src?: undefined;
3718
- }) | undefined;
3719
- formattingOptions?: {
3720
- alignment: "left" | "center" | "right" | "justify";
3721
- } | undefined;
3722
- damAdditional?: {
3723
- variant?: string | undefined;
3724
- } | undefined;
3725
- } | {
3726
- type: "component";
3727
- componentId: string;
3728
- componentSet: string;
3729
- nodeId?: string | undefined;
3730
- i18n?: Record<string, {
3731
- id: string;
3732
- } | {
3733
- content: Record<string, unknown>;
3734
- schemaName: string;
3735
- }> | undefined;
3736
- componentType?: "server" | "edge" | undefined;
3737
- contentItem?: {
3738
- id: string;
3739
- } | {
3740
- content: Record<string, unknown>;
3741
- schemaName: string;
3742
- } | undefined;
3743
- } | {
3744
- type: "variation";
3745
- default: {};
3746
- nodeId?: string | undefined;
3747
- } | {
3748
- type: "layout";
3749
- layout: {
3750
- options: Record<string, {
3751
- values: string[];
3752
- displayName: string;
3753
- description: string;
3754
- selectedValue: string;
3755
- }>;
3756
- name: string;
3757
- displayName: string;
3758
- description: string;
3759
- template: string;
3760
- zones: Record<string, {
3761
- displayName: string;
3762
- description: string;
3763
- minNodes: number;
3764
- maxNodes?: number | undefined;
3765
- }>;
3766
- } | {
3767
- options: Record<string, {
3768
- selectedValue: string;
3769
- }>;
3770
- name: string;
3771
- };
3772
- nodeId?: string | undefined;
3773
- })[];
3774
- };
3775
- name: "two-column";
3776
27
  }>, z.ZodObject<{
3777
28
  name: z.ZodLiteral<"custom-layout">;
3778
29
  config: z.ZodEffects<z.ZodObject<{
@@ -3844,813 +95,19 @@ export declare const PageLayout: z.ZodDiscriminatedUnion<"name", [z.ZodObject<{
3844
95
  } | undefined;
3845
96
  }>;
3846
97
  content: z.ZodObject<{
3847
- main: z.ZodEffects<z.ZodArray<z.ZodUnion<[z.ZodType<{
3848
- value: string;
3849
- type: "text";
3850
- nodeId: string;
3851
- } | {
3852
- type: "matrix-image";
3853
- nodeId: string;
3854
- matrixDomain: string;
3855
- matrixAssetId: string;
3856
- attributes?: (Record<string, string> & {
3857
- src?: undefined;
3858
- }) | undefined;
3859
- formattingOptions?: {
3860
- alignment: "left" | "center" | "right" | "justify";
3861
- } | undefined;
3862
- matrixIdentifier?: string | undefined;
3863
- } | {
3864
- type: "dam-image";
3865
- nodeId: string;
3866
- damSystemType: string;
3867
- damSystemIdentifier: string;
3868
- damObjectId: string;
3869
- attributes?: (Record<string, string> & {
3870
- src?: undefined;
3871
- }) | undefined;
3872
- formattingOptions?: {
3873
- alignment: "left" | "center" | "right" | "justify";
3874
- } | undefined;
3875
- damAdditional?: {
3876
- variant?: string | undefined;
3877
- } | undefined;
3878
- } | {
3879
- type: "component";
3880
- nodeId: string;
3881
- componentId: string;
3882
- componentSet: string;
3883
- i18n?: Record<string, {
3884
- id: string;
3885
- } | {
3886
- content: Record<string, unknown>;
3887
- schemaName: string;
3888
- }> | undefined;
3889
- componentType?: "server" | "edge" | undefined;
3890
- contentItem?: {
3891
- id: string;
3892
- } | {
3893
- content: Record<string, unknown>;
3894
- schemaName: string;
3895
- } | undefined;
3896
- } | (({
3897
- type: "tag";
3898
- nodeId: string;
3899
- tag: string;
3900
- attributes?: Record<string, string> | undefined;
3901
- font?: {
3902
- bold?: boolean | undefined;
3903
- italics?: boolean | undefined;
3904
- underline?: boolean | undefined;
3905
- color?: string | undefined;
3906
- size?: string | undefined;
3907
- fontFamily?: string | undefined;
3908
- } | undefined;
3909
- formattingOptions?: {
3910
- alignment: "left" | "center" | "right" | "justify";
3911
- } | undefined;
3912
- } | {
3913
- type: "fragment";
3914
- nodeId: string;
3915
- i18n?: Record<string, {}> | undefined;
3916
- } | {
3917
- type: "link-to-matrix-asset";
3918
- nodeId: string;
3919
- matrixDomain: string;
3920
- matrixAssetId: string;
3921
- target: "_blank" | "_self" | "_parent" | "_top";
3922
- attributes?: (Record<string, string> & {
3923
- target?: undefined;
3924
- href?: undefined;
3925
- }) | undefined;
3926
- formattingOptions?: {
3927
- alignment: "left" | "center" | "right" | "justify";
3928
- } | undefined;
3929
- matrixIdentifier?: string | undefined;
3930
- } | {
3931
- type: "link-to-dam-asset";
3932
- nodeId: string;
3933
- target: "_blank" | "_self" | "_parent" | "_top";
3934
- damSystemType: string;
3935
- damSystemIdentifier: string;
3936
- damObjectId: string;
3937
- attributes?: (Record<string, string> & {
3938
- target?: undefined;
3939
- href?: undefined;
3940
- }) | undefined;
3941
- formattingOptions?: {
3942
- alignment: "left" | "center" | "right" | "justify";
3943
- } | undefined;
3944
- damAdditional?: {
3945
- variant?: string | undefined;
3946
- } | undefined;
3947
- }) & {
3948
- children: import("../layout-content").LayoutContentNodes[];
3949
- }), z.ZodTypeDef, {
3950
- value: string;
3951
- type: "text";
3952
- nodeId?: string | undefined;
3953
- } | {
3954
- type: "tag";
3955
- tag: string;
3956
- nodeId?: string | undefined;
3957
- attributes?: Record<string, string> | undefined;
3958
- font?: {
3959
- bold?: boolean | undefined;
3960
- italics?: boolean | undefined;
3961
- underline?: boolean | undefined;
3962
- color?: string | undefined;
3963
- size?: string | undefined;
3964
- fontFamily?: string | undefined;
3965
- } | undefined;
3966
- formattingOptions?: {
3967
- alignment: "left" | "center" | "right" | "justify";
3968
- } | undefined;
3969
- } | {
3970
- type: "fragment";
3971
- nodeId?: string | undefined;
3972
- i18n?: Record<string, {}> | undefined;
3973
- } | {
3974
- type: "link-to-matrix-asset";
3975
- matrixDomain: string;
3976
- matrixAssetId: string;
3977
- target: "_blank" | "_self" | "_parent" | "_top";
3978
- nodeId?: string | undefined;
3979
- attributes?: (Record<string, string> & {
3980
- target?: undefined;
3981
- href?: undefined;
3982
- }) | undefined;
3983
- formattingOptions?: {
3984
- alignment: "left" | "center" | "right" | "justify";
3985
- } | undefined;
3986
- matrixIdentifier?: string | undefined;
3987
- } | {
3988
- type: "link-to-dam-asset";
3989
- target: "_blank" | "_self" | "_parent" | "_top";
3990
- damSystemType: string;
3991
- damSystemIdentifier: string;
3992
- damObjectId: string;
3993
- nodeId?: string | undefined;
3994
- attributes?: (Record<string, string> & {
3995
- target?: undefined;
3996
- href?: undefined;
3997
- }) | undefined;
3998
- formattingOptions?: {
3999
- alignment: "left" | "center" | "right" | "justify";
4000
- } | undefined;
4001
- damAdditional?: {
4002
- variant?: string | undefined;
4003
- } | undefined;
4004
- } | {
4005
- type: "matrix-image";
4006
- matrixDomain: string;
4007
- matrixAssetId: string;
4008
- nodeId?: string | undefined;
4009
- attributes?: (Record<string, string> & {
4010
- src?: undefined;
4011
- }) | undefined;
4012
- formattingOptions?: {
4013
- alignment: "left" | "center" | "right" | "justify";
4014
- } | undefined;
4015
- matrixIdentifier?: string | undefined;
4016
- } | {
4017
- type: "dam-image";
4018
- damSystemType: string;
4019
- damSystemIdentifier: string;
4020
- damObjectId: string;
4021
- nodeId?: string | undefined;
4022
- attributes?: (Record<string, string> & {
4023
- src?: undefined;
4024
- }) | undefined;
4025
- formattingOptions?: {
4026
- alignment: "left" | "center" | "right" | "justify";
4027
- } | undefined;
4028
- damAdditional?: {
4029
- variant?: string | undefined;
4030
- } | undefined;
4031
- } | {
4032
- type: "component";
4033
- componentId: string;
4034
- componentSet: string;
4035
- nodeId?: string | undefined;
4036
- i18n?: Record<string, {
4037
- id: string;
4038
- } | {
4039
- content: Record<string, unknown>;
4040
- schemaName: string;
4041
- }> | undefined;
4042
- componentType?: "server" | "edge" | undefined;
4043
- contentItem?: {
4044
- id: string;
4045
- } | {
4046
- content: Record<string, unknown>;
4047
- schemaName: string;
4048
- } | undefined;
4049
- }>, z.ZodType<import("../layout-content").LayoutVariationNode, z.ZodTypeDef, {
4050
- type: "variation";
4051
- default: {};
4052
- nodeId?: string | undefined;
4053
- }>, z.ZodType<import("../layout-content").DeveloperDefinedLayoutNode, z.ZodTypeDef, {
4054
- type: "layout";
4055
- layout: {
4056
- options: Record<string, {
4057
- values: string[];
4058
- displayName: string;
4059
- description: string;
4060
- selectedValue: string;
4061
- }>;
4062
- name: string;
4063
- displayName: string;
4064
- description: string;
4065
- template: string;
4066
- zones: Record<string, {
4067
- displayName: string;
4068
- description: string;
4069
- minNodes: number;
4070
- maxNodes?: number | undefined;
4071
- }>;
4072
- } | {
4073
- options: Record<string, {
4074
- selectedValue: string;
4075
- }>;
4076
- name: string;
4077
- };
4078
- nodeId?: string | undefined;
4079
- }>]>, "many">, (import("../layout-content").LayoutVariationNode | ({
4080
- value: string;
4081
- type: "text";
4082
- nodeId: string;
4083
- } | {
4084
- type: "matrix-image";
4085
- nodeId: string;
4086
- matrixDomain: string;
4087
- matrixAssetId: string;
4088
- attributes?: (Record<string, string> & {
4089
- src?: undefined;
4090
- }) | undefined;
4091
- formattingOptions?: {
4092
- alignment: "left" | "center" | "right" | "justify";
4093
- } | undefined;
4094
- matrixIdentifier?: string | undefined;
4095
- } | {
4096
- type: "dam-image";
4097
- nodeId: string;
4098
- damSystemType: string;
4099
- damSystemIdentifier: string;
4100
- damObjectId: string;
4101
- attributes?: (Record<string, string> & {
4102
- src?: undefined;
4103
- }) | undefined;
4104
- formattingOptions?: {
4105
- alignment: "left" | "center" | "right" | "justify";
4106
- } | undefined;
4107
- damAdditional?: {
4108
- variant?: string | undefined;
4109
- } | undefined;
4110
- } | {
4111
- type: "component";
4112
- nodeId: string;
4113
- componentId: string;
4114
- componentSet: string;
4115
- i18n?: Record<string, {
4116
- id: string;
4117
- } | {
4118
- content: Record<string, unknown>;
4119
- schemaName: string;
4120
- }> | undefined;
4121
- componentType?: "server" | "edge" | undefined;
4122
- contentItem?: {
4123
- id: string;
4124
- } | {
4125
- content: Record<string, unknown>;
4126
- schemaName: string;
4127
- } | undefined;
4128
- } | (({
4129
- type: "tag";
4130
- nodeId: string;
4131
- tag: string;
4132
- attributes?: Record<string, string> | undefined;
4133
- font?: {
4134
- bold?: boolean | undefined;
4135
- italics?: boolean | undefined;
4136
- underline?: boolean | undefined;
4137
- color?: string | undefined;
4138
- size?: string | undefined;
4139
- fontFamily?: string | undefined;
4140
- } | undefined;
4141
- formattingOptions?: {
4142
- alignment: "left" | "center" | "right" | "justify";
4143
- } | undefined;
4144
- } | {
4145
- type: "fragment";
4146
- nodeId: string;
4147
- i18n?: Record<string, {}> | undefined;
4148
- } | {
4149
- type: "link-to-matrix-asset";
4150
- nodeId: string;
4151
- matrixDomain: string;
4152
- matrixAssetId: string;
4153
- target: "_blank" | "_self" | "_parent" | "_top";
4154
- attributes?: (Record<string, string> & {
4155
- target?: undefined;
4156
- href?: undefined;
4157
- }) | undefined;
4158
- formattingOptions?: {
4159
- alignment: "left" | "center" | "right" | "justify";
4160
- } | undefined;
4161
- matrixIdentifier?: string | undefined;
4162
- } | {
4163
- type: "link-to-dam-asset";
4164
- nodeId: string;
4165
- target: "_blank" | "_self" | "_parent" | "_top";
4166
- damSystemType: string;
4167
- damSystemIdentifier: string;
4168
- damObjectId: string;
4169
- attributes?: (Record<string, string> & {
4170
- target?: undefined;
4171
- href?: undefined;
4172
- }) | undefined;
4173
- formattingOptions?: {
4174
- alignment: "left" | "center" | "right" | "justify";
4175
- } | undefined;
4176
- damAdditional?: {
4177
- variant?: string | undefined;
4178
- } | undefined;
4179
- }) & {
4180
- children: import("../layout-content").LayoutContentNodes[];
4181
- })) | import("../layout-content").DeveloperDefinedLayoutNode)[], ({
4182
- value: string;
4183
- type: "text";
4184
- nodeId?: string | undefined;
4185
- } | {
4186
- type: "tag";
4187
- tag: string;
4188
- nodeId?: string | undefined;
4189
- attributes?: Record<string, string> | undefined;
4190
- font?: {
4191
- bold?: boolean | undefined;
4192
- italics?: boolean | undefined;
4193
- underline?: boolean | undefined;
4194
- color?: string | undefined;
4195
- size?: string | undefined;
4196
- fontFamily?: string | undefined;
4197
- } | undefined;
4198
- formattingOptions?: {
4199
- alignment: "left" | "center" | "right" | "justify";
4200
- } | undefined;
4201
- } | {
4202
- type: "fragment";
4203
- nodeId?: string | undefined;
4204
- i18n?: Record<string, {}> | undefined;
4205
- } | {
4206
- type: "link-to-matrix-asset";
4207
- matrixDomain: string;
4208
- matrixAssetId: string;
4209
- target: "_blank" | "_self" | "_parent" | "_top";
4210
- nodeId?: string | undefined;
4211
- attributes?: (Record<string, string> & {
4212
- target?: undefined;
4213
- href?: undefined;
4214
- }) | undefined;
4215
- formattingOptions?: {
4216
- alignment: "left" | "center" | "right" | "justify";
4217
- } | undefined;
4218
- matrixIdentifier?: string | undefined;
4219
- } | {
4220
- type: "link-to-dam-asset";
4221
- target: "_blank" | "_self" | "_parent" | "_top";
4222
- damSystemType: string;
4223
- damSystemIdentifier: string;
4224
- damObjectId: string;
4225
- nodeId?: string | undefined;
4226
- attributes?: (Record<string, string> & {
4227
- target?: undefined;
4228
- href?: undefined;
4229
- }) | undefined;
4230
- formattingOptions?: {
4231
- alignment: "left" | "center" | "right" | "justify";
4232
- } | undefined;
4233
- damAdditional?: {
4234
- variant?: string | undefined;
4235
- } | undefined;
4236
- } | {
4237
- type: "matrix-image";
4238
- matrixDomain: string;
4239
- matrixAssetId: string;
4240
- nodeId?: string | undefined;
4241
- attributes?: (Record<string, string> & {
4242
- src?: undefined;
4243
- }) | undefined;
4244
- formattingOptions?: {
4245
- alignment: "left" | "center" | "right" | "justify";
4246
- } | undefined;
4247
- matrixIdentifier?: string | undefined;
4248
- } | {
4249
- type: "dam-image";
4250
- damSystemType: string;
4251
- damSystemIdentifier: string;
4252
- damObjectId: string;
4253
- nodeId?: string | undefined;
4254
- attributes?: (Record<string, string> & {
4255
- src?: undefined;
4256
- }) | undefined;
4257
- formattingOptions?: {
4258
- alignment: "left" | "center" | "right" | "justify";
4259
- } | undefined;
4260
- damAdditional?: {
4261
- variant?: string | undefined;
4262
- } | undefined;
4263
- } | {
4264
- type: "component";
4265
- componentId: string;
4266
- componentSet: string;
4267
- nodeId?: string | undefined;
4268
- i18n?: Record<string, {
4269
- id: string;
4270
- } | {
4271
- content: Record<string, unknown>;
4272
- schemaName: string;
4273
- }> | undefined;
4274
- componentType?: "server" | "edge" | undefined;
4275
- contentItem?: {
4276
- id: string;
4277
- } | {
4278
- content: Record<string, unknown>;
4279
- schemaName: string;
4280
- } | undefined;
4281
- } | {
4282
- type: "variation";
4283
- default: {};
4284
- nodeId?: string | undefined;
4285
- } | {
4286
- type: "layout";
4287
- layout: {
4288
- options: Record<string, {
4289
- values: string[];
4290
- displayName: string;
4291
- description: string;
4292
- selectedValue: string;
4293
- }>;
4294
- name: string;
4295
- displayName: string;
4296
- description: string;
4297
- template: string;
4298
- zones: Record<string, {
4299
- displayName: string;
4300
- description: string;
4301
- minNodes: number;
4302
- maxNodes?: number | undefined;
4303
- }>;
4304
- } | {
4305
- options: Record<string, {
4306
- selectedValue: string;
4307
- }>;
4308
- name: string;
4309
- };
98
+ main: z.ZodType<import("../layout-content").LayoutContentNodes[], z.ZodTypeDef, (Omit<import("../layout-content").LayoutContentNodes, "nodeId"> & {
4310
99
  nodeId?: string | undefined;
4311
100
  })[]>;
4312
101
  }, "strip", z.ZodTypeAny, {
4313
- main: (import("../layout-content").LayoutVariationNode | ({
4314
- value: string;
4315
- type: "text";
4316
- nodeId: string;
4317
- } | {
4318
- type: "matrix-image";
4319
- nodeId: string;
4320
- matrixDomain: string;
4321
- matrixAssetId: string;
4322
- attributes?: (Record<string, string> & {
4323
- src?: undefined;
4324
- }) | undefined;
4325
- formattingOptions?: {
4326
- alignment: "left" | "center" | "right" | "justify";
4327
- } | undefined;
4328
- matrixIdentifier?: string | undefined;
4329
- } | {
4330
- type: "dam-image";
4331
- nodeId: string;
4332
- damSystemType: string;
4333
- damSystemIdentifier: string;
4334
- damObjectId: string;
4335
- attributes?: (Record<string, string> & {
4336
- src?: undefined;
4337
- }) | undefined;
4338
- formattingOptions?: {
4339
- alignment: "left" | "center" | "right" | "justify";
4340
- } | undefined;
4341
- damAdditional?: {
4342
- variant?: string | undefined;
4343
- } | undefined;
4344
- } | {
4345
- type: "component";
4346
- nodeId: string;
4347
- componentId: string;
4348
- componentSet: string;
4349
- i18n?: Record<string, {
4350
- id: string;
4351
- } | {
4352
- content: Record<string, unknown>;
4353
- schemaName: string;
4354
- }> | undefined;
4355
- componentType?: "server" | "edge" | undefined;
4356
- contentItem?: {
4357
- id: string;
4358
- } | {
4359
- content: Record<string, unknown>;
4360
- schemaName: string;
4361
- } | undefined;
4362
- } | (({
4363
- type: "tag";
4364
- nodeId: string;
4365
- tag: string;
4366
- attributes?: Record<string, string> | undefined;
4367
- font?: {
4368
- bold?: boolean | undefined;
4369
- italics?: boolean | undefined;
4370
- underline?: boolean | undefined;
4371
- color?: string | undefined;
4372
- size?: string | undefined;
4373
- fontFamily?: string | undefined;
4374
- } | undefined;
4375
- formattingOptions?: {
4376
- alignment: "left" | "center" | "right" | "justify";
4377
- } | undefined;
4378
- } | {
4379
- type: "fragment";
4380
- nodeId: string;
4381
- i18n?: Record<string, {}> | undefined;
4382
- } | {
4383
- type: "link-to-matrix-asset";
4384
- nodeId: string;
4385
- matrixDomain: string;
4386
- matrixAssetId: string;
4387
- target: "_blank" | "_self" | "_parent" | "_top";
4388
- attributes?: (Record<string, string> & {
4389
- target?: undefined;
4390
- href?: undefined;
4391
- }) | undefined;
4392
- formattingOptions?: {
4393
- alignment: "left" | "center" | "right" | "justify";
4394
- } | undefined;
4395
- matrixIdentifier?: string | undefined;
4396
- } | {
4397
- type: "link-to-dam-asset";
4398
- nodeId: string;
4399
- target: "_blank" | "_self" | "_parent" | "_top";
4400
- damSystemType: string;
4401
- damSystemIdentifier: string;
4402
- damObjectId: string;
4403
- attributes?: (Record<string, string> & {
4404
- target?: undefined;
4405
- href?: undefined;
4406
- }) | undefined;
4407
- formattingOptions?: {
4408
- alignment: "left" | "center" | "right" | "justify";
4409
- } | undefined;
4410
- damAdditional?: {
4411
- variant?: string | undefined;
4412
- } | undefined;
4413
- }) & {
4414
- children: import("../layout-content").LayoutContentNodes[];
4415
- })) | import("../layout-content").DeveloperDefinedLayoutNode)[];
102
+ main: import("../layout-content").LayoutContentNodes[];
4416
103
  }, {
4417
- main: ({
4418
- value: string;
4419
- type: "text";
4420
- nodeId?: string | undefined;
4421
- } | {
4422
- type: "tag";
4423
- tag: string;
4424
- nodeId?: string | undefined;
4425
- attributes?: Record<string, string> | undefined;
4426
- font?: {
4427
- bold?: boolean | undefined;
4428
- italics?: boolean | undefined;
4429
- underline?: boolean | undefined;
4430
- color?: string | undefined;
4431
- size?: string | undefined;
4432
- fontFamily?: string | undefined;
4433
- } | undefined;
4434
- formattingOptions?: {
4435
- alignment: "left" | "center" | "right" | "justify";
4436
- } | undefined;
4437
- } | {
4438
- type: "fragment";
4439
- nodeId?: string | undefined;
4440
- i18n?: Record<string, {}> | undefined;
4441
- } | {
4442
- type: "link-to-matrix-asset";
4443
- matrixDomain: string;
4444
- matrixAssetId: string;
4445
- target: "_blank" | "_self" | "_parent" | "_top";
4446
- nodeId?: string | undefined;
4447
- attributes?: (Record<string, string> & {
4448
- target?: undefined;
4449
- href?: undefined;
4450
- }) | undefined;
4451
- formattingOptions?: {
4452
- alignment: "left" | "center" | "right" | "justify";
4453
- } | undefined;
4454
- matrixIdentifier?: string | undefined;
4455
- } | {
4456
- type: "link-to-dam-asset";
4457
- target: "_blank" | "_self" | "_parent" | "_top";
4458
- damSystemType: string;
4459
- damSystemIdentifier: string;
4460
- damObjectId: string;
4461
- nodeId?: string | undefined;
4462
- attributes?: (Record<string, string> & {
4463
- target?: undefined;
4464
- href?: undefined;
4465
- }) | undefined;
4466
- formattingOptions?: {
4467
- alignment: "left" | "center" | "right" | "justify";
4468
- } | undefined;
4469
- damAdditional?: {
4470
- variant?: string | undefined;
4471
- } | undefined;
4472
- } | {
4473
- type: "matrix-image";
4474
- matrixDomain: string;
4475
- matrixAssetId: string;
4476
- nodeId?: string | undefined;
4477
- attributes?: (Record<string, string> & {
4478
- src?: undefined;
4479
- }) | undefined;
4480
- formattingOptions?: {
4481
- alignment: "left" | "center" | "right" | "justify";
4482
- } | undefined;
4483
- matrixIdentifier?: string | undefined;
4484
- } | {
4485
- type: "dam-image";
4486
- damSystemType: string;
4487
- damSystemIdentifier: string;
4488
- damObjectId: string;
4489
- nodeId?: string | undefined;
4490
- attributes?: (Record<string, string> & {
4491
- src?: undefined;
4492
- }) | undefined;
4493
- formattingOptions?: {
4494
- alignment: "left" | "center" | "right" | "justify";
4495
- } | undefined;
4496
- damAdditional?: {
4497
- variant?: string | undefined;
4498
- } | undefined;
4499
- } | {
4500
- type: "component";
4501
- componentId: string;
4502
- componentSet: string;
4503
- nodeId?: string | undefined;
4504
- i18n?: Record<string, {
4505
- id: string;
4506
- } | {
4507
- content: Record<string, unknown>;
4508
- schemaName: string;
4509
- }> | undefined;
4510
- componentType?: "server" | "edge" | undefined;
4511
- contentItem?: {
4512
- id: string;
4513
- } | {
4514
- content: Record<string, unknown>;
4515
- schemaName: string;
4516
- } | undefined;
4517
- } | {
4518
- type: "variation";
4519
- default: {};
4520
- nodeId?: string | undefined;
4521
- } | {
4522
- type: "layout";
4523
- layout: {
4524
- options: Record<string, {
4525
- values: string[];
4526
- displayName: string;
4527
- description: string;
4528
- selectedValue: string;
4529
- }>;
4530
- name: string;
4531
- displayName: string;
4532
- description: string;
4533
- template: string;
4534
- zones: Record<string, {
4535
- displayName: string;
4536
- description: string;
4537
- minNodes: number;
4538
- maxNodes?: number | undefined;
4539
- }>;
4540
- } | {
4541
- options: Record<string, {
4542
- selectedValue: string;
4543
- }>;
4544
- name: string;
4545
- };
104
+ main: (Omit<import("../layout-content").LayoutContentNodes, "nodeId"> & {
4546
105
  nodeId?: string | undefined;
4547
106
  })[];
4548
107
  }>;
4549
108
  }, "strip", z.ZodTypeAny, {
4550
109
  content: {
4551
- main: (import("../layout-content").LayoutVariationNode | ({
4552
- value: string;
4553
- type: "text";
4554
- nodeId: string;
4555
- } | {
4556
- type: "matrix-image";
4557
- nodeId: string;
4558
- matrixDomain: string;
4559
- matrixAssetId: string;
4560
- attributes?: (Record<string, string> & {
4561
- src?: undefined;
4562
- }) | undefined;
4563
- formattingOptions?: {
4564
- alignment: "left" | "center" | "right" | "justify";
4565
- } | undefined;
4566
- matrixIdentifier?: string | undefined;
4567
- } | {
4568
- type: "dam-image";
4569
- nodeId: string;
4570
- damSystemType: string;
4571
- damSystemIdentifier: string;
4572
- damObjectId: string;
4573
- attributes?: (Record<string, string> & {
4574
- src?: undefined;
4575
- }) | undefined;
4576
- formattingOptions?: {
4577
- alignment: "left" | "center" | "right" | "justify";
4578
- } | undefined;
4579
- damAdditional?: {
4580
- variant?: string | undefined;
4581
- } | undefined;
4582
- } | {
4583
- type: "component";
4584
- nodeId: string;
4585
- componentId: string;
4586
- componentSet: string;
4587
- i18n?: Record<string, {
4588
- id: string;
4589
- } | {
4590
- content: Record<string, unknown>;
4591
- schemaName: string;
4592
- }> | undefined;
4593
- componentType?: "server" | "edge" | undefined;
4594
- contentItem?: {
4595
- id: string;
4596
- } | {
4597
- content: Record<string, unknown>;
4598
- schemaName: string;
4599
- } | undefined;
4600
- } | (({
4601
- type: "tag";
4602
- nodeId: string;
4603
- tag: string;
4604
- attributes?: Record<string, string> | undefined;
4605
- font?: {
4606
- bold?: boolean | undefined;
4607
- italics?: boolean | undefined;
4608
- underline?: boolean | undefined;
4609
- color?: string | undefined;
4610
- size?: string | undefined;
4611
- fontFamily?: string | undefined;
4612
- } | undefined;
4613
- formattingOptions?: {
4614
- alignment: "left" | "center" | "right" | "justify";
4615
- } | undefined;
4616
- } | {
4617
- type: "fragment";
4618
- nodeId: string;
4619
- i18n?: Record<string, {}> | undefined;
4620
- } | {
4621
- type: "link-to-matrix-asset";
4622
- nodeId: string;
4623
- matrixDomain: string;
4624
- matrixAssetId: string;
4625
- target: "_blank" | "_self" | "_parent" | "_top";
4626
- attributes?: (Record<string, string> & {
4627
- target?: undefined;
4628
- href?: undefined;
4629
- }) | undefined;
4630
- formattingOptions?: {
4631
- alignment: "left" | "center" | "right" | "justify";
4632
- } | undefined;
4633
- matrixIdentifier?: string | undefined;
4634
- } | {
4635
- type: "link-to-dam-asset";
4636
- nodeId: string;
4637
- target: "_blank" | "_self" | "_parent" | "_top";
4638
- damSystemType: string;
4639
- damSystemIdentifier: string;
4640
- damObjectId: string;
4641
- attributes?: (Record<string, string> & {
4642
- target?: undefined;
4643
- href?: undefined;
4644
- }) | undefined;
4645
- formattingOptions?: {
4646
- alignment: "left" | "center" | "right" | "justify";
4647
- } | undefined;
4648
- damAdditional?: {
4649
- variant?: string | undefined;
4650
- } | undefined;
4651
- }) & {
4652
- children: import("../layout-content").LayoutContentNodes[];
4653
- })) | import("../layout-content").DeveloperDefinedLayoutNode)[];
110
+ main: import("../layout-content").LayoutContentNodes[];
4654
111
  };
4655
112
  name: "custom-layout";
4656
113
  config: {
@@ -4667,135 +124,7 @@ export declare const PageLayout: z.ZodDiscriminatedUnion<"name", [z.ZodObject<{
4667
124
  };
4668
125
  }, {
4669
126
  content: {
4670
- main: ({
4671
- value: string;
4672
- type: "text";
4673
- nodeId?: string | undefined;
4674
- } | {
4675
- type: "tag";
4676
- tag: string;
4677
- nodeId?: string | undefined;
4678
- attributes?: Record<string, string> | undefined;
4679
- font?: {
4680
- bold?: boolean | undefined;
4681
- italics?: boolean | undefined;
4682
- underline?: boolean | undefined;
4683
- color?: string | undefined;
4684
- size?: string | undefined;
4685
- fontFamily?: string | undefined;
4686
- } | undefined;
4687
- formattingOptions?: {
4688
- alignment: "left" | "center" | "right" | "justify";
4689
- } | undefined;
4690
- } | {
4691
- type: "fragment";
4692
- nodeId?: string | undefined;
4693
- i18n?: Record<string, {}> | undefined;
4694
- } | {
4695
- type: "link-to-matrix-asset";
4696
- matrixDomain: string;
4697
- matrixAssetId: string;
4698
- target: "_blank" | "_self" | "_parent" | "_top";
4699
- nodeId?: string | undefined;
4700
- attributes?: (Record<string, string> & {
4701
- target?: undefined;
4702
- href?: undefined;
4703
- }) | undefined;
4704
- formattingOptions?: {
4705
- alignment: "left" | "center" | "right" | "justify";
4706
- } | undefined;
4707
- matrixIdentifier?: string | undefined;
4708
- } | {
4709
- type: "link-to-dam-asset";
4710
- target: "_blank" | "_self" | "_parent" | "_top";
4711
- damSystemType: string;
4712
- damSystemIdentifier: string;
4713
- damObjectId: string;
4714
- nodeId?: string | undefined;
4715
- attributes?: (Record<string, string> & {
4716
- target?: undefined;
4717
- href?: undefined;
4718
- }) | undefined;
4719
- formattingOptions?: {
4720
- alignment: "left" | "center" | "right" | "justify";
4721
- } | undefined;
4722
- damAdditional?: {
4723
- variant?: string | undefined;
4724
- } | undefined;
4725
- } | {
4726
- type: "matrix-image";
4727
- matrixDomain: string;
4728
- matrixAssetId: string;
4729
- nodeId?: string | undefined;
4730
- attributes?: (Record<string, string> & {
4731
- src?: undefined;
4732
- }) | undefined;
4733
- formattingOptions?: {
4734
- alignment: "left" | "center" | "right" | "justify";
4735
- } | undefined;
4736
- matrixIdentifier?: string | undefined;
4737
- } | {
4738
- type: "dam-image";
4739
- damSystemType: string;
4740
- damSystemIdentifier: string;
4741
- damObjectId: string;
4742
- nodeId?: string | undefined;
4743
- attributes?: (Record<string, string> & {
4744
- src?: undefined;
4745
- }) | undefined;
4746
- formattingOptions?: {
4747
- alignment: "left" | "center" | "right" | "justify";
4748
- } | undefined;
4749
- damAdditional?: {
4750
- variant?: string | undefined;
4751
- } | undefined;
4752
- } | {
4753
- type: "component";
4754
- componentId: string;
4755
- componentSet: string;
4756
- nodeId?: string | undefined;
4757
- i18n?: Record<string, {
4758
- id: string;
4759
- } | {
4760
- content: Record<string, unknown>;
4761
- schemaName: string;
4762
- }> | undefined;
4763
- componentType?: "server" | "edge" | undefined;
4764
- contentItem?: {
4765
- id: string;
4766
- } | {
4767
- content: Record<string, unknown>;
4768
- schemaName: string;
4769
- } | undefined;
4770
- } | {
4771
- type: "variation";
4772
- default: {};
4773
- nodeId?: string | undefined;
4774
- } | {
4775
- type: "layout";
4776
- layout: {
4777
- options: Record<string, {
4778
- values: string[];
4779
- displayName: string;
4780
- description: string;
4781
- selectedValue: string;
4782
- }>;
4783
- name: string;
4784
- displayName: string;
4785
- description: string;
4786
- template: string;
4787
- zones: Record<string, {
4788
- displayName: string;
4789
- description: string;
4790
- minNodes: number;
4791
- maxNodes?: number | undefined;
4792
- }>;
4793
- } | {
4794
- options: Record<string, {
4795
- selectedValue: string;
4796
- }>;
4797
- name: string;
4798
- };
127
+ main: (Omit<import("../layout-content").LayoutContentNodes, "nodeId"> & {
4799
128
  nodeId?: string | undefined;
4800
129
  })[];
4801
130
  };
@@ -4816,7 +145,5 @@ export declare const PageLayout: z.ZodDiscriminatedUnion<"name", [z.ZodObject<{
4816
145
  export type PageLayout = z.infer<typeof PageLayout>;
4817
146
  export declare const LAYOUT_TEMPLATES: {
4818
147
  'layout-raw': string;
4819
- 'single-column': string;
4820
- 'two-column': string;
4821
148
  'custom-layout': string;
4822
149
  };