@squiz/dx-page-contents-lib 1.74.0 → 1.75.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (33) hide show
  1. package/lib/formatted-text.d.ts +27 -0
  2. package/lib/formatted-text.js +37 -0
  3. package/lib/formatted-text.js.map +1 -1
  4. package/lib/formatted-text.spec.js +4 -0
  5. package/lib/formatted-text.spec.js.map +1 -1
  6. package/lib/layout-content.d.ts +51 -3
  7. package/lib/layout-content.js.map +1 -1
  8. package/lib/layout-content.spec.js +18 -6
  9. package/lib/layout-content.spec.js.map +1 -1
  10. package/lib/layouts/custom-layout.d.ts +73 -0
  11. package/lib/layouts/index.d.ts +320 -0
  12. package/lib/layouts/raw.layout.d.ts +64 -0
  13. package/lib/layouts/single-column.layout.d.ts +64 -0
  14. package/lib/layouts/two-column.layout.d.ts +128 -0
  15. package/lib/mocks/PageContentsHelpers.d.ts +786 -0
  16. package/lib/mocks/PageContentsHelpers.js +51 -1
  17. package/lib/mocks/PageContentsHelpers.js.map +1 -1
  18. package/lib/mocks/PageContentsMocks.d.ts +1 -0
  19. package/lib/mocks/PageContentsMocks.js +27 -0
  20. package/lib/mocks/PageContentsMocks.js.map +1 -1
  21. package/lib/page-contents-lib.d.ts +16 -0
  22. package/lib/page-contents-lib.spec.js +61 -15
  23. package/lib/page-contents-lib.spec.js.map +1 -1
  24. package/lib/resolvers/create-variant-resolver.js +6 -1
  25. package/lib/resolvers/create-variant-resolver.js.map +1 -1
  26. package/lib/resolvers/create-variant-resolver.spec.js +21 -17
  27. package/lib/resolvers/create-variant-resolver.spec.js.map +1 -1
  28. package/lib/resolvers/default-layout-resolver.spec.d.ts +1 -0
  29. package/lib/resolvers/default-layout-resolver.spec.js +36 -0
  30. package/lib/resolvers/default-layout-resolver.spec.js.map +1 -0
  31. package/lib/resolvers/default-variation-resolver.spec.js +8 -4
  32. package/lib/resolvers/default-variation-resolver.spec.js.map +1 -1
  33. package/package.json +1 -1
@@ -5,8 +5,10 @@ export declare const TwoColumnLayout: z.ZodObject<{
5
5
  left: z.ZodEffects<z.ZodArray<z.ZodUnion<[z.ZodType<{
6
6
  value: string;
7
7
  type: "text";
8
+ nodeId: string;
8
9
  } | {
9
10
  type: "matrix-image";
11
+ nodeId: string;
10
12
  matrixDomain: string;
11
13
  matrixAssetId: string;
12
14
  attributes?: (Record<string, string> & {
@@ -18,6 +20,7 @@ export declare const TwoColumnLayout: z.ZodObject<{
18
20
  matrixIdentifier?: string | undefined;
19
21
  } | {
20
22
  type: "dam-image";
23
+ nodeId: string;
21
24
  damSystemType: "bynder";
22
25
  damSystemIdentifier: string;
23
26
  damObjectId: string;
@@ -32,6 +35,7 @@ export declare const TwoColumnLayout: z.ZodObject<{
32
35
  } | undefined;
33
36
  } | {
34
37
  type: "component";
38
+ nodeId: string;
35
39
  componentId: string;
36
40
  componentSet: string;
37
41
  componentType?: "server" | "edge" | undefined;
@@ -43,6 +47,7 @@ export declare const TwoColumnLayout: z.ZodObject<{
43
47
  } | undefined;
44
48
  } | (({
45
49
  type: "tag";
50
+ nodeId: string;
46
51
  tag: string;
47
52
  attributes?: Record<string, string> | undefined;
48
53
  font?: {
@@ -58,8 +63,10 @@ export declare const TwoColumnLayout: z.ZodObject<{
58
63
  } | undefined;
59
64
  } | {
60
65
  type: "fragment";
66
+ nodeId: string;
61
67
  } | {
62
68
  type: "link-to-matrix-asset";
69
+ nodeId: string;
63
70
  matrixDomain: string;
64
71
  matrixAssetId: string;
65
72
  target: "_blank" | "_self" | "_parent" | "_top";
@@ -76,9 +83,11 @@ export declare const TwoColumnLayout: z.ZodObject<{
76
83
  }), z.ZodTypeDef, {
77
84
  value: string;
78
85
  type: "text";
86
+ nodeId?: string | undefined;
79
87
  } | {
80
88
  type: "tag";
81
89
  tag: string;
90
+ nodeId?: string | undefined;
82
91
  attributes?: Record<string, string> | undefined;
83
92
  font?: {
84
93
  bold?: boolean | undefined;
@@ -93,11 +102,13 @@ export declare const TwoColumnLayout: z.ZodObject<{
93
102
  } | undefined;
94
103
  } | {
95
104
  type: "fragment";
105
+ nodeId?: string | undefined;
96
106
  } | {
97
107
  type: "link-to-matrix-asset";
98
108
  matrixDomain: string;
99
109
  matrixAssetId: string;
100
110
  target: "_blank" | "_self" | "_parent" | "_top";
111
+ nodeId?: string | undefined;
101
112
  attributes?: (Record<string, string> & {
102
113
  target?: undefined;
103
114
  href?: undefined;
@@ -110,6 +121,7 @@ export declare const TwoColumnLayout: z.ZodObject<{
110
121
  type: "matrix-image";
111
122
  matrixDomain: string;
112
123
  matrixAssetId: string;
124
+ nodeId?: string | undefined;
113
125
  attributes?: (Record<string, string> & {
114
126
  src?: undefined;
115
127
  }) | undefined;
@@ -122,6 +134,7 @@ export declare const TwoColumnLayout: z.ZodObject<{
122
134
  damSystemType: "bynder";
123
135
  damSystemIdentifier: string;
124
136
  damObjectId: string;
137
+ nodeId?: string | undefined;
125
138
  attributes?: (Record<string, string> & {
126
139
  src?: undefined;
127
140
  }) | undefined;
@@ -135,6 +148,7 @@ export declare const TwoColumnLayout: z.ZodObject<{
135
148
  type: "component";
136
149
  componentId: string;
137
150
  componentSet: string;
151
+ nodeId?: string | undefined;
138
152
  componentType?: "server" | "edge" | undefined;
139
153
  contentItem?: {
140
154
  id: string;
@@ -145,6 +159,7 @@ export declare const TwoColumnLayout: z.ZodObject<{
145
159
  }>, z.ZodType<import("../layout-content").LayoutVariationNode, z.ZodTypeDef, {
146
160
  type: "variation";
147
161
  default: {};
162
+ nodeId?: string | undefined;
148
163
  }>, z.ZodType<import("../layout-content").DeveloperDefinedLayoutNode, z.ZodTypeDef, {
149
164
  type: "layout";
150
165
  layout: {
@@ -170,11 +185,14 @@ export declare const TwoColumnLayout: z.ZodObject<{
170
185
  }>;
171
186
  name: string;
172
187
  };
188
+ nodeId?: string | undefined;
173
189
  }>]>, "many">, (import("../layout-content").LayoutVariationNode | ({
174
190
  value: string;
175
191
  type: "text";
192
+ nodeId: string;
176
193
  } | {
177
194
  type: "matrix-image";
195
+ nodeId: string;
178
196
  matrixDomain: string;
179
197
  matrixAssetId: string;
180
198
  attributes?: (Record<string, string> & {
@@ -186,6 +204,7 @@ export declare const TwoColumnLayout: z.ZodObject<{
186
204
  matrixIdentifier?: string | undefined;
187
205
  } | {
188
206
  type: "dam-image";
207
+ nodeId: string;
189
208
  damSystemType: "bynder";
190
209
  damSystemIdentifier: string;
191
210
  damObjectId: string;
@@ -200,6 +219,7 @@ export declare const TwoColumnLayout: z.ZodObject<{
200
219
  } | undefined;
201
220
  } | {
202
221
  type: "component";
222
+ nodeId: string;
203
223
  componentId: string;
204
224
  componentSet: string;
205
225
  componentType?: "server" | "edge" | undefined;
@@ -211,6 +231,7 @@ export declare const TwoColumnLayout: z.ZodObject<{
211
231
  } | undefined;
212
232
  } | (({
213
233
  type: "tag";
234
+ nodeId: string;
214
235
  tag: string;
215
236
  attributes?: Record<string, string> | undefined;
216
237
  font?: {
@@ -226,8 +247,10 @@ export declare const TwoColumnLayout: z.ZodObject<{
226
247
  } | undefined;
227
248
  } | {
228
249
  type: "fragment";
250
+ nodeId: string;
229
251
  } | {
230
252
  type: "link-to-matrix-asset";
253
+ nodeId: string;
231
254
  matrixDomain: string;
232
255
  matrixAssetId: string;
233
256
  target: "_blank" | "_self" | "_parent" | "_top";
@@ -244,9 +267,11 @@ export declare const TwoColumnLayout: z.ZodObject<{
244
267
  })) | import("../layout-content").DeveloperDefinedLayoutNode)[], ({
245
268
  value: string;
246
269
  type: "text";
270
+ nodeId?: string | undefined;
247
271
  } | {
248
272
  type: "tag";
249
273
  tag: string;
274
+ nodeId?: string | undefined;
250
275
  attributes?: Record<string, string> | undefined;
251
276
  font?: {
252
277
  bold?: boolean | undefined;
@@ -261,11 +286,13 @@ export declare const TwoColumnLayout: z.ZodObject<{
261
286
  } | undefined;
262
287
  } | {
263
288
  type: "fragment";
289
+ nodeId?: string | undefined;
264
290
  } | {
265
291
  type: "link-to-matrix-asset";
266
292
  matrixDomain: string;
267
293
  matrixAssetId: string;
268
294
  target: "_blank" | "_self" | "_parent" | "_top";
295
+ nodeId?: string | undefined;
269
296
  attributes?: (Record<string, string> & {
270
297
  target?: undefined;
271
298
  href?: undefined;
@@ -278,6 +305,7 @@ export declare const TwoColumnLayout: z.ZodObject<{
278
305
  type: "matrix-image";
279
306
  matrixDomain: string;
280
307
  matrixAssetId: string;
308
+ nodeId?: string | undefined;
281
309
  attributes?: (Record<string, string> & {
282
310
  src?: undefined;
283
311
  }) | undefined;
@@ -290,6 +318,7 @@ export declare const TwoColumnLayout: z.ZodObject<{
290
318
  damSystemType: "bynder";
291
319
  damSystemIdentifier: string;
292
320
  damObjectId: string;
321
+ nodeId?: string | undefined;
293
322
  attributes?: (Record<string, string> & {
294
323
  src?: undefined;
295
324
  }) | undefined;
@@ -303,6 +332,7 @@ export declare const TwoColumnLayout: z.ZodObject<{
303
332
  type: "component";
304
333
  componentId: string;
305
334
  componentSet: string;
335
+ nodeId?: string | undefined;
306
336
  componentType?: "server" | "edge" | undefined;
307
337
  contentItem?: {
308
338
  id: string;
@@ -313,6 +343,7 @@ export declare const TwoColumnLayout: z.ZodObject<{
313
343
  } | {
314
344
  type: "variation";
315
345
  default: {};
346
+ nodeId?: string | undefined;
316
347
  } | {
317
348
  type: "layout";
318
349
  layout: {
@@ -338,12 +369,15 @@ export declare const TwoColumnLayout: z.ZodObject<{
338
369
  }>;
339
370
  name: string;
340
371
  };
372
+ nodeId?: string | undefined;
341
373
  })[]>;
342
374
  right: z.ZodEffects<z.ZodArray<z.ZodUnion<[z.ZodType<{
343
375
  value: string;
344
376
  type: "text";
377
+ nodeId: string;
345
378
  } | {
346
379
  type: "matrix-image";
380
+ nodeId: string;
347
381
  matrixDomain: string;
348
382
  matrixAssetId: string;
349
383
  attributes?: (Record<string, string> & {
@@ -355,6 +389,7 @@ export declare const TwoColumnLayout: z.ZodObject<{
355
389
  matrixIdentifier?: string | undefined;
356
390
  } | {
357
391
  type: "dam-image";
392
+ nodeId: string;
358
393
  damSystemType: "bynder";
359
394
  damSystemIdentifier: string;
360
395
  damObjectId: string;
@@ -369,6 +404,7 @@ export declare const TwoColumnLayout: z.ZodObject<{
369
404
  } | undefined;
370
405
  } | {
371
406
  type: "component";
407
+ nodeId: string;
372
408
  componentId: string;
373
409
  componentSet: string;
374
410
  componentType?: "server" | "edge" | undefined;
@@ -380,6 +416,7 @@ export declare const TwoColumnLayout: z.ZodObject<{
380
416
  } | undefined;
381
417
  } | (({
382
418
  type: "tag";
419
+ nodeId: string;
383
420
  tag: string;
384
421
  attributes?: Record<string, string> | undefined;
385
422
  font?: {
@@ -395,8 +432,10 @@ export declare const TwoColumnLayout: z.ZodObject<{
395
432
  } | undefined;
396
433
  } | {
397
434
  type: "fragment";
435
+ nodeId: string;
398
436
  } | {
399
437
  type: "link-to-matrix-asset";
438
+ nodeId: string;
400
439
  matrixDomain: string;
401
440
  matrixAssetId: string;
402
441
  target: "_blank" | "_self" | "_parent" | "_top";
@@ -413,9 +452,11 @@ export declare const TwoColumnLayout: z.ZodObject<{
413
452
  }), z.ZodTypeDef, {
414
453
  value: string;
415
454
  type: "text";
455
+ nodeId?: string | undefined;
416
456
  } | {
417
457
  type: "tag";
418
458
  tag: string;
459
+ nodeId?: string | undefined;
419
460
  attributes?: Record<string, string> | undefined;
420
461
  font?: {
421
462
  bold?: boolean | undefined;
@@ -430,11 +471,13 @@ export declare const TwoColumnLayout: z.ZodObject<{
430
471
  } | undefined;
431
472
  } | {
432
473
  type: "fragment";
474
+ nodeId?: string | undefined;
433
475
  } | {
434
476
  type: "link-to-matrix-asset";
435
477
  matrixDomain: string;
436
478
  matrixAssetId: string;
437
479
  target: "_blank" | "_self" | "_parent" | "_top";
480
+ nodeId?: string | undefined;
438
481
  attributes?: (Record<string, string> & {
439
482
  target?: undefined;
440
483
  href?: undefined;
@@ -447,6 +490,7 @@ export declare const TwoColumnLayout: z.ZodObject<{
447
490
  type: "matrix-image";
448
491
  matrixDomain: string;
449
492
  matrixAssetId: string;
493
+ nodeId?: string | undefined;
450
494
  attributes?: (Record<string, string> & {
451
495
  src?: undefined;
452
496
  }) | undefined;
@@ -459,6 +503,7 @@ export declare const TwoColumnLayout: z.ZodObject<{
459
503
  damSystemType: "bynder";
460
504
  damSystemIdentifier: string;
461
505
  damObjectId: string;
506
+ nodeId?: string | undefined;
462
507
  attributes?: (Record<string, string> & {
463
508
  src?: undefined;
464
509
  }) | undefined;
@@ -472,6 +517,7 @@ export declare const TwoColumnLayout: z.ZodObject<{
472
517
  type: "component";
473
518
  componentId: string;
474
519
  componentSet: string;
520
+ nodeId?: string | undefined;
475
521
  componentType?: "server" | "edge" | undefined;
476
522
  contentItem?: {
477
523
  id: string;
@@ -482,6 +528,7 @@ export declare const TwoColumnLayout: z.ZodObject<{
482
528
  }>, z.ZodType<import("../layout-content").LayoutVariationNode, z.ZodTypeDef, {
483
529
  type: "variation";
484
530
  default: {};
531
+ nodeId?: string | undefined;
485
532
  }>, z.ZodType<import("../layout-content").DeveloperDefinedLayoutNode, z.ZodTypeDef, {
486
533
  type: "layout";
487
534
  layout: {
@@ -507,11 +554,14 @@ export declare const TwoColumnLayout: z.ZodObject<{
507
554
  }>;
508
555
  name: string;
509
556
  };
557
+ nodeId?: string | undefined;
510
558
  }>]>, "many">, (import("../layout-content").LayoutVariationNode | ({
511
559
  value: string;
512
560
  type: "text";
561
+ nodeId: string;
513
562
  } | {
514
563
  type: "matrix-image";
564
+ nodeId: string;
515
565
  matrixDomain: string;
516
566
  matrixAssetId: string;
517
567
  attributes?: (Record<string, string> & {
@@ -523,6 +573,7 @@ export declare const TwoColumnLayout: z.ZodObject<{
523
573
  matrixIdentifier?: string | undefined;
524
574
  } | {
525
575
  type: "dam-image";
576
+ nodeId: string;
526
577
  damSystemType: "bynder";
527
578
  damSystemIdentifier: string;
528
579
  damObjectId: string;
@@ -537,6 +588,7 @@ export declare const TwoColumnLayout: z.ZodObject<{
537
588
  } | undefined;
538
589
  } | {
539
590
  type: "component";
591
+ nodeId: string;
540
592
  componentId: string;
541
593
  componentSet: string;
542
594
  componentType?: "server" | "edge" | undefined;
@@ -548,6 +600,7 @@ export declare const TwoColumnLayout: z.ZodObject<{
548
600
  } | undefined;
549
601
  } | (({
550
602
  type: "tag";
603
+ nodeId: string;
551
604
  tag: string;
552
605
  attributes?: Record<string, string> | undefined;
553
606
  font?: {
@@ -563,8 +616,10 @@ export declare const TwoColumnLayout: z.ZodObject<{
563
616
  } | undefined;
564
617
  } | {
565
618
  type: "fragment";
619
+ nodeId: string;
566
620
  } | {
567
621
  type: "link-to-matrix-asset";
622
+ nodeId: string;
568
623
  matrixDomain: string;
569
624
  matrixAssetId: string;
570
625
  target: "_blank" | "_self" | "_parent" | "_top";
@@ -581,9 +636,11 @@ export declare const TwoColumnLayout: z.ZodObject<{
581
636
  })) | import("../layout-content").DeveloperDefinedLayoutNode)[], ({
582
637
  value: string;
583
638
  type: "text";
639
+ nodeId?: string | undefined;
584
640
  } | {
585
641
  type: "tag";
586
642
  tag: string;
643
+ nodeId?: string | undefined;
587
644
  attributes?: Record<string, string> | undefined;
588
645
  font?: {
589
646
  bold?: boolean | undefined;
@@ -598,11 +655,13 @@ export declare const TwoColumnLayout: z.ZodObject<{
598
655
  } | undefined;
599
656
  } | {
600
657
  type: "fragment";
658
+ nodeId?: string | undefined;
601
659
  } | {
602
660
  type: "link-to-matrix-asset";
603
661
  matrixDomain: string;
604
662
  matrixAssetId: string;
605
663
  target: "_blank" | "_self" | "_parent" | "_top";
664
+ nodeId?: string | undefined;
606
665
  attributes?: (Record<string, string> & {
607
666
  target?: undefined;
608
667
  href?: undefined;
@@ -615,6 +674,7 @@ export declare const TwoColumnLayout: z.ZodObject<{
615
674
  type: "matrix-image";
616
675
  matrixDomain: string;
617
676
  matrixAssetId: string;
677
+ nodeId?: string | undefined;
618
678
  attributes?: (Record<string, string> & {
619
679
  src?: undefined;
620
680
  }) | undefined;
@@ -627,6 +687,7 @@ export declare const TwoColumnLayout: z.ZodObject<{
627
687
  damSystemType: "bynder";
628
688
  damSystemIdentifier: string;
629
689
  damObjectId: string;
690
+ nodeId?: string | undefined;
630
691
  attributes?: (Record<string, string> & {
631
692
  src?: undefined;
632
693
  }) | undefined;
@@ -640,6 +701,7 @@ export declare const TwoColumnLayout: z.ZodObject<{
640
701
  type: "component";
641
702
  componentId: string;
642
703
  componentSet: string;
704
+ nodeId?: string | undefined;
643
705
  componentType?: "server" | "edge" | undefined;
644
706
  contentItem?: {
645
707
  id: string;
@@ -650,6 +712,7 @@ export declare const TwoColumnLayout: z.ZodObject<{
650
712
  } | {
651
713
  type: "variation";
652
714
  default: {};
715
+ nodeId?: string | undefined;
653
716
  } | {
654
717
  type: "layout";
655
718
  layout: {
@@ -675,13 +738,16 @@ export declare const TwoColumnLayout: z.ZodObject<{
675
738
  }>;
676
739
  name: string;
677
740
  };
741
+ nodeId?: string | undefined;
678
742
  })[]>;
679
743
  }, "strip", z.ZodTypeAny, {
680
744
  left: (import("../layout-content").LayoutVariationNode | ({
681
745
  value: string;
682
746
  type: "text";
747
+ nodeId: string;
683
748
  } | {
684
749
  type: "matrix-image";
750
+ nodeId: string;
685
751
  matrixDomain: string;
686
752
  matrixAssetId: string;
687
753
  attributes?: (Record<string, string> & {
@@ -693,6 +759,7 @@ export declare const TwoColumnLayout: z.ZodObject<{
693
759
  matrixIdentifier?: string | undefined;
694
760
  } | {
695
761
  type: "dam-image";
762
+ nodeId: string;
696
763
  damSystemType: "bynder";
697
764
  damSystemIdentifier: string;
698
765
  damObjectId: string;
@@ -707,6 +774,7 @@ export declare const TwoColumnLayout: z.ZodObject<{
707
774
  } | undefined;
708
775
  } | {
709
776
  type: "component";
777
+ nodeId: string;
710
778
  componentId: string;
711
779
  componentSet: string;
712
780
  componentType?: "server" | "edge" | undefined;
@@ -718,6 +786,7 @@ export declare const TwoColumnLayout: z.ZodObject<{
718
786
  } | undefined;
719
787
  } | (({
720
788
  type: "tag";
789
+ nodeId: string;
721
790
  tag: string;
722
791
  attributes?: Record<string, string> | undefined;
723
792
  font?: {
@@ -733,8 +802,10 @@ export declare const TwoColumnLayout: z.ZodObject<{
733
802
  } | undefined;
734
803
  } | {
735
804
  type: "fragment";
805
+ nodeId: string;
736
806
  } | {
737
807
  type: "link-to-matrix-asset";
808
+ nodeId: string;
738
809
  matrixDomain: string;
739
810
  matrixAssetId: string;
740
811
  target: "_blank" | "_self" | "_parent" | "_top";
@@ -752,8 +823,10 @@ export declare const TwoColumnLayout: z.ZodObject<{
752
823
  right: (import("../layout-content").LayoutVariationNode | ({
753
824
  value: string;
754
825
  type: "text";
826
+ nodeId: string;
755
827
  } | {
756
828
  type: "matrix-image";
829
+ nodeId: string;
757
830
  matrixDomain: string;
758
831
  matrixAssetId: string;
759
832
  attributes?: (Record<string, string> & {
@@ -765,6 +838,7 @@ export declare const TwoColumnLayout: z.ZodObject<{
765
838
  matrixIdentifier?: string | undefined;
766
839
  } | {
767
840
  type: "dam-image";
841
+ nodeId: string;
768
842
  damSystemType: "bynder";
769
843
  damSystemIdentifier: string;
770
844
  damObjectId: string;
@@ -779,6 +853,7 @@ export declare const TwoColumnLayout: z.ZodObject<{
779
853
  } | undefined;
780
854
  } | {
781
855
  type: "component";
856
+ nodeId: string;
782
857
  componentId: string;
783
858
  componentSet: string;
784
859
  componentType?: "server" | "edge" | undefined;
@@ -790,6 +865,7 @@ export declare const TwoColumnLayout: z.ZodObject<{
790
865
  } | undefined;
791
866
  } | (({
792
867
  type: "tag";
868
+ nodeId: string;
793
869
  tag: string;
794
870
  attributes?: Record<string, string> | undefined;
795
871
  font?: {
@@ -805,8 +881,10 @@ export declare const TwoColumnLayout: z.ZodObject<{
805
881
  } | undefined;
806
882
  } | {
807
883
  type: "fragment";
884
+ nodeId: string;
808
885
  } | {
809
886
  type: "link-to-matrix-asset";
887
+ nodeId: string;
810
888
  matrixDomain: string;
811
889
  matrixAssetId: string;
812
890
  target: "_blank" | "_self" | "_parent" | "_top";
@@ -825,9 +903,11 @@ export declare const TwoColumnLayout: z.ZodObject<{
825
903
  left: ({
826
904
  value: string;
827
905
  type: "text";
906
+ nodeId?: string | undefined;
828
907
  } | {
829
908
  type: "tag";
830
909
  tag: string;
910
+ nodeId?: string | undefined;
831
911
  attributes?: Record<string, string> | undefined;
832
912
  font?: {
833
913
  bold?: boolean | undefined;
@@ -842,11 +922,13 @@ export declare const TwoColumnLayout: z.ZodObject<{
842
922
  } | undefined;
843
923
  } | {
844
924
  type: "fragment";
925
+ nodeId?: string | undefined;
845
926
  } | {
846
927
  type: "link-to-matrix-asset";
847
928
  matrixDomain: string;
848
929
  matrixAssetId: string;
849
930
  target: "_blank" | "_self" | "_parent" | "_top";
931
+ nodeId?: string | undefined;
850
932
  attributes?: (Record<string, string> & {
851
933
  target?: undefined;
852
934
  href?: undefined;
@@ -859,6 +941,7 @@ export declare const TwoColumnLayout: z.ZodObject<{
859
941
  type: "matrix-image";
860
942
  matrixDomain: string;
861
943
  matrixAssetId: string;
944
+ nodeId?: string | undefined;
862
945
  attributes?: (Record<string, string> & {
863
946
  src?: undefined;
864
947
  }) | undefined;
@@ -871,6 +954,7 @@ export declare const TwoColumnLayout: z.ZodObject<{
871
954
  damSystemType: "bynder";
872
955
  damSystemIdentifier: string;
873
956
  damObjectId: string;
957
+ nodeId?: string | undefined;
874
958
  attributes?: (Record<string, string> & {
875
959
  src?: undefined;
876
960
  }) | undefined;
@@ -884,6 +968,7 @@ export declare const TwoColumnLayout: z.ZodObject<{
884
968
  type: "component";
885
969
  componentId: string;
886
970
  componentSet: string;
971
+ nodeId?: string | undefined;
887
972
  componentType?: "server" | "edge" | undefined;
888
973
  contentItem?: {
889
974
  id: string;
@@ -894,6 +979,7 @@ export declare const TwoColumnLayout: z.ZodObject<{
894
979
  } | {
895
980
  type: "variation";
896
981
  default: {};
982
+ nodeId?: string | undefined;
897
983
  } | {
898
984
  type: "layout";
899
985
  layout: {
@@ -919,13 +1005,16 @@ export declare const TwoColumnLayout: z.ZodObject<{
919
1005
  }>;
920
1006
  name: string;
921
1007
  };
1008
+ nodeId?: string | undefined;
922
1009
  })[];
923
1010
  right: ({
924
1011
  value: string;
925
1012
  type: "text";
1013
+ nodeId?: string | undefined;
926
1014
  } | {
927
1015
  type: "tag";
928
1016
  tag: string;
1017
+ nodeId?: string | undefined;
929
1018
  attributes?: Record<string, string> | undefined;
930
1019
  font?: {
931
1020
  bold?: boolean | undefined;
@@ -940,11 +1029,13 @@ export declare const TwoColumnLayout: z.ZodObject<{
940
1029
  } | undefined;
941
1030
  } | {
942
1031
  type: "fragment";
1032
+ nodeId?: string | undefined;
943
1033
  } | {
944
1034
  type: "link-to-matrix-asset";
945
1035
  matrixDomain: string;
946
1036
  matrixAssetId: string;
947
1037
  target: "_blank" | "_self" | "_parent" | "_top";
1038
+ nodeId?: string | undefined;
948
1039
  attributes?: (Record<string, string> & {
949
1040
  target?: undefined;
950
1041
  href?: undefined;
@@ -957,6 +1048,7 @@ export declare const TwoColumnLayout: z.ZodObject<{
957
1048
  type: "matrix-image";
958
1049
  matrixDomain: string;
959
1050
  matrixAssetId: string;
1051
+ nodeId?: string | undefined;
960
1052
  attributes?: (Record<string, string> & {
961
1053
  src?: undefined;
962
1054
  }) | undefined;
@@ -969,6 +1061,7 @@ export declare const TwoColumnLayout: z.ZodObject<{
969
1061
  damSystemType: "bynder";
970
1062
  damSystemIdentifier: string;
971
1063
  damObjectId: string;
1064
+ nodeId?: string | undefined;
972
1065
  attributes?: (Record<string, string> & {
973
1066
  src?: undefined;
974
1067
  }) | undefined;
@@ -982,6 +1075,7 @@ export declare const TwoColumnLayout: z.ZodObject<{
982
1075
  type: "component";
983
1076
  componentId: string;
984
1077
  componentSet: string;
1078
+ nodeId?: string | undefined;
985
1079
  componentType?: "server" | "edge" | undefined;
986
1080
  contentItem?: {
987
1081
  id: string;
@@ -992,6 +1086,7 @@ export declare const TwoColumnLayout: z.ZodObject<{
992
1086
  } | {
993
1087
  type: "variation";
994
1088
  default: {};
1089
+ nodeId?: string | undefined;
995
1090
  } | {
996
1091
  type: "layout";
997
1092
  layout: {
@@ -1017,6 +1112,7 @@ export declare const TwoColumnLayout: z.ZodObject<{
1017
1112
  }>;
1018
1113
  name: string;
1019
1114
  };
1115
+ nodeId?: string | undefined;
1020
1116
  })[];
1021
1117
  }>;
1022
1118
  }, "strip", z.ZodTypeAny, {
@@ -1024,8 +1120,10 @@ export declare const TwoColumnLayout: z.ZodObject<{
1024
1120
  left: (import("../layout-content").LayoutVariationNode | ({
1025
1121
  value: string;
1026
1122
  type: "text";
1123
+ nodeId: string;
1027
1124
  } | {
1028
1125
  type: "matrix-image";
1126
+ nodeId: string;
1029
1127
  matrixDomain: string;
1030
1128
  matrixAssetId: string;
1031
1129
  attributes?: (Record<string, string> & {
@@ -1037,6 +1135,7 @@ export declare const TwoColumnLayout: z.ZodObject<{
1037
1135
  matrixIdentifier?: string | undefined;
1038
1136
  } | {
1039
1137
  type: "dam-image";
1138
+ nodeId: string;
1040
1139
  damSystemType: "bynder";
1041
1140
  damSystemIdentifier: string;
1042
1141
  damObjectId: string;
@@ -1051,6 +1150,7 @@ export declare const TwoColumnLayout: z.ZodObject<{
1051
1150
  } | undefined;
1052
1151
  } | {
1053
1152
  type: "component";
1153
+ nodeId: string;
1054
1154
  componentId: string;
1055
1155
  componentSet: string;
1056
1156
  componentType?: "server" | "edge" | undefined;
@@ -1062,6 +1162,7 @@ export declare const TwoColumnLayout: z.ZodObject<{
1062
1162
  } | undefined;
1063
1163
  } | (({
1064
1164
  type: "tag";
1165
+ nodeId: string;
1065
1166
  tag: string;
1066
1167
  attributes?: Record<string, string> | undefined;
1067
1168
  font?: {
@@ -1077,8 +1178,10 @@ export declare const TwoColumnLayout: z.ZodObject<{
1077
1178
  } | undefined;
1078
1179
  } | {
1079
1180
  type: "fragment";
1181
+ nodeId: string;
1080
1182
  } | {
1081
1183
  type: "link-to-matrix-asset";
1184
+ nodeId: string;
1082
1185
  matrixDomain: string;
1083
1186
  matrixAssetId: string;
1084
1187
  target: "_blank" | "_self" | "_parent" | "_top";
@@ -1096,8 +1199,10 @@ export declare const TwoColumnLayout: z.ZodObject<{
1096
1199
  right: (import("../layout-content").LayoutVariationNode | ({
1097
1200
  value: string;
1098
1201
  type: "text";
1202
+ nodeId: string;
1099
1203
  } | {
1100
1204
  type: "matrix-image";
1205
+ nodeId: string;
1101
1206
  matrixDomain: string;
1102
1207
  matrixAssetId: string;
1103
1208
  attributes?: (Record<string, string> & {
@@ -1109,6 +1214,7 @@ export declare const TwoColumnLayout: z.ZodObject<{
1109
1214
  matrixIdentifier?: string | undefined;
1110
1215
  } | {
1111
1216
  type: "dam-image";
1217
+ nodeId: string;
1112
1218
  damSystemType: "bynder";
1113
1219
  damSystemIdentifier: string;
1114
1220
  damObjectId: string;
@@ -1123,6 +1229,7 @@ export declare const TwoColumnLayout: z.ZodObject<{
1123
1229
  } | undefined;
1124
1230
  } | {
1125
1231
  type: "component";
1232
+ nodeId: string;
1126
1233
  componentId: string;
1127
1234
  componentSet: string;
1128
1235
  componentType?: "server" | "edge" | undefined;
@@ -1134,6 +1241,7 @@ export declare const TwoColumnLayout: z.ZodObject<{
1134
1241
  } | undefined;
1135
1242
  } | (({
1136
1243
  type: "tag";
1244
+ nodeId: string;
1137
1245
  tag: string;
1138
1246
  attributes?: Record<string, string> | undefined;
1139
1247
  font?: {
@@ -1149,8 +1257,10 @@ export declare const TwoColumnLayout: z.ZodObject<{
1149
1257
  } | undefined;
1150
1258
  } | {
1151
1259
  type: "fragment";
1260
+ nodeId: string;
1152
1261
  } | {
1153
1262
  type: "link-to-matrix-asset";
1263
+ nodeId: string;
1154
1264
  matrixDomain: string;
1155
1265
  matrixAssetId: string;
1156
1266
  target: "_blank" | "_self" | "_parent" | "_top";
@@ -1172,9 +1282,11 @@ export declare const TwoColumnLayout: z.ZodObject<{
1172
1282
  left: ({
1173
1283
  value: string;
1174
1284
  type: "text";
1285
+ nodeId?: string | undefined;
1175
1286
  } | {
1176
1287
  type: "tag";
1177
1288
  tag: string;
1289
+ nodeId?: string | undefined;
1178
1290
  attributes?: Record<string, string> | undefined;
1179
1291
  font?: {
1180
1292
  bold?: boolean | undefined;
@@ -1189,11 +1301,13 @@ export declare const TwoColumnLayout: z.ZodObject<{
1189
1301
  } | undefined;
1190
1302
  } | {
1191
1303
  type: "fragment";
1304
+ nodeId?: string | undefined;
1192
1305
  } | {
1193
1306
  type: "link-to-matrix-asset";
1194
1307
  matrixDomain: string;
1195
1308
  matrixAssetId: string;
1196
1309
  target: "_blank" | "_self" | "_parent" | "_top";
1310
+ nodeId?: string | undefined;
1197
1311
  attributes?: (Record<string, string> & {
1198
1312
  target?: undefined;
1199
1313
  href?: undefined;
@@ -1206,6 +1320,7 @@ export declare const TwoColumnLayout: z.ZodObject<{
1206
1320
  type: "matrix-image";
1207
1321
  matrixDomain: string;
1208
1322
  matrixAssetId: string;
1323
+ nodeId?: string | undefined;
1209
1324
  attributes?: (Record<string, string> & {
1210
1325
  src?: undefined;
1211
1326
  }) | undefined;
@@ -1218,6 +1333,7 @@ export declare const TwoColumnLayout: z.ZodObject<{
1218
1333
  damSystemType: "bynder";
1219
1334
  damSystemIdentifier: string;
1220
1335
  damObjectId: string;
1336
+ nodeId?: string | undefined;
1221
1337
  attributes?: (Record<string, string> & {
1222
1338
  src?: undefined;
1223
1339
  }) | undefined;
@@ -1231,6 +1347,7 @@ export declare const TwoColumnLayout: z.ZodObject<{
1231
1347
  type: "component";
1232
1348
  componentId: string;
1233
1349
  componentSet: string;
1350
+ nodeId?: string | undefined;
1234
1351
  componentType?: "server" | "edge" | undefined;
1235
1352
  contentItem?: {
1236
1353
  id: string;
@@ -1241,6 +1358,7 @@ export declare const TwoColumnLayout: z.ZodObject<{
1241
1358
  } | {
1242
1359
  type: "variation";
1243
1360
  default: {};
1361
+ nodeId?: string | undefined;
1244
1362
  } | {
1245
1363
  type: "layout";
1246
1364
  layout: {
@@ -1266,13 +1384,16 @@ export declare const TwoColumnLayout: z.ZodObject<{
1266
1384
  }>;
1267
1385
  name: string;
1268
1386
  };
1387
+ nodeId?: string | undefined;
1269
1388
  })[];
1270
1389
  right: ({
1271
1390
  value: string;
1272
1391
  type: "text";
1392
+ nodeId?: string | undefined;
1273
1393
  } | {
1274
1394
  type: "tag";
1275
1395
  tag: string;
1396
+ nodeId?: string | undefined;
1276
1397
  attributes?: Record<string, string> | undefined;
1277
1398
  font?: {
1278
1399
  bold?: boolean | undefined;
@@ -1287,11 +1408,13 @@ export declare const TwoColumnLayout: z.ZodObject<{
1287
1408
  } | undefined;
1288
1409
  } | {
1289
1410
  type: "fragment";
1411
+ nodeId?: string | undefined;
1290
1412
  } | {
1291
1413
  type: "link-to-matrix-asset";
1292
1414
  matrixDomain: string;
1293
1415
  matrixAssetId: string;
1294
1416
  target: "_blank" | "_self" | "_parent" | "_top";
1417
+ nodeId?: string | undefined;
1295
1418
  attributes?: (Record<string, string> & {
1296
1419
  target?: undefined;
1297
1420
  href?: undefined;
@@ -1304,6 +1427,7 @@ export declare const TwoColumnLayout: z.ZodObject<{
1304
1427
  type: "matrix-image";
1305
1428
  matrixDomain: string;
1306
1429
  matrixAssetId: string;
1430
+ nodeId?: string | undefined;
1307
1431
  attributes?: (Record<string, string> & {
1308
1432
  src?: undefined;
1309
1433
  }) | undefined;
@@ -1316,6 +1440,7 @@ export declare const TwoColumnLayout: z.ZodObject<{
1316
1440
  damSystemType: "bynder";
1317
1441
  damSystemIdentifier: string;
1318
1442
  damObjectId: string;
1443
+ nodeId?: string | undefined;
1319
1444
  attributes?: (Record<string, string> & {
1320
1445
  src?: undefined;
1321
1446
  }) | undefined;
@@ -1329,6 +1454,7 @@ export declare const TwoColumnLayout: z.ZodObject<{
1329
1454
  type: "component";
1330
1455
  componentId: string;
1331
1456
  componentSet: string;
1457
+ nodeId?: string | undefined;
1332
1458
  componentType?: "server" | "edge" | undefined;
1333
1459
  contentItem?: {
1334
1460
  id: string;
@@ -1339,6 +1465,7 @@ export declare const TwoColumnLayout: z.ZodObject<{
1339
1465
  } | {
1340
1466
  type: "variation";
1341
1467
  default: {};
1468
+ nodeId?: string | undefined;
1342
1469
  } | {
1343
1470
  type: "layout";
1344
1471
  layout: {
@@ -1364,6 +1491,7 @@ export declare const TwoColumnLayout: z.ZodObject<{
1364
1491
  }>;
1365
1492
  name: string;
1366
1493
  };
1494
+ nodeId?: string | undefined;
1367
1495
  })[];
1368
1496
  };
1369
1497
  name: "two-column";