@squiz/dx-page-contents-lib 1.74.0 → 1.75.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/formatted-text.d.ts +27 -0
- package/lib/formatted-text.js +37 -0
- package/lib/formatted-text.js.map +1 -1
- package/lib/formatted-text.spec.js +4 -0
- package/lib/formatted-text.spec.js.map +1 -1
- package/lib/layout-content.d.ts +51 -3
- package/lib/layout-content.js.map +1 -1
- package/lib/layout-content.spec.js +18 -6
- package/lib/layout-content.spec.js.map +1 -1
- package/lib/layouts/custom-layout.d.ts +73 -0
- package/lib/layouts/index.d.ts +320 -0
- package/lib/layouts/raw.layout.d.ts +64 -0
- package/lib/layouts/single-column.layout.d.ts +64 -0
- package/lib/layouts/two-column.layout.d.ts +128 -0
- package/lib/mocks/PageContentsHelpers.d.ts +786 -0
- package/lib/mocks/PageContentsHelpers.js +51 -1
- package/lib/mocks/PageContentsHelpers.js.map +1 -1
- package/lib/mocks/PageContentsMocks.d.ts +1 -0
- package/lib/mocks/PageContentsMocks.js +27 -0
- package/lib/mocks/PageContentsMocks.js.map +1 -1
- package/lib/page-contents-lib.d.ts +16 -0
- package/lib/page-contents-lib.spec.js +61 -15
- package/lib/page-contents-lib.spec.js.map +1 -1
- package/lib/resolvers/create-variant-resolver.js +6 -1
- package/lib/resolvers/create-variant-resolver.js.map +1 -1
- package/lib/resolvers/create-variant-resolver.spec.js +21 -17
- package/lib/resolvers/create-variant-resolver.spec.js.map +1 -1
- package/lib/resolvers/default-layout-resolver.spec.d.ts +1 -0
- package/lib/resolvers/default-layout-resolver.spec.js +36 -0
- package/lib/resolvers/default-layout-resolver.spec.js.map +1 -0
- package/lib/resolvers/default-variation-resolver.spec.js +8 -4
- package/lib/resolvers/default-variation-resolver.spec.js.map +1 -1
- package/package.json +1 -1
|
@@ -5,8 +5,10 @@ export declare const RawLayout: z.ZodObject<{
|
|
|
5
5
|
main: 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 RawLayout: 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 RawLayout: 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 RawLayout: 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 RawLayout: 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 RawLayout: 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 RawLayout: 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 RawLayout: 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 RawLayout: 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 RawLayout: 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 RawLayout: 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 RawLayout: 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 RawLayout: 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 RawLayout: 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 RawLayout: 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 RawLayout: 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 RawLayout: 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 RawLayout: 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 RawLayout: 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 RawLayout: 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 RawLayout: 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 RawLayout: 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,13 +369,16 @@ export declare const RawLayout: z.ZodObject<{
|
|
|
338
369
|
}>;
|
|
339
370
|
name: string;
|
|
340
371
|
};
|
|
372
|
+
nodeId?: string | undefined;
|
|
341
373
|
})[]>;
|
|
342
374
|
}, "strip", z.ZodTypeAny, {
|
|
343
375
|
main: (import("../layout-content").LayoutVariationNode | ({
|
|
344
376
|
value: string;
|
|
345
377
|
type: "text";
|
|
378
|
+
nodeId: string;
|
|
346
379
|
} | {
|
|
347
380
|
type: "matrix-image";
|
|
381
|
+
nodeId: string;
|
|
348
382
|
matrixDomain: string;
|
|
349
383
|
matrixAssetId: string;
|
|
350
384
|
attributes?: (Record<string, string> & {
|
|
@@ -356,6 +390,7 @@ export declare const RawLayout: z.ZodObject<{
|
|
|
356
390
|
matrixIdentifier?: string | undefined;
|
|
357
391
|
} | {
|
|
358
392
|
type: "dam-image";
|
|
393
|
+
nodeId: string;
|
|
359
394
|
damSystemType: "bynder";
|
|
360
395
|
damSystemIdentifier: string;
|
|
361
396
|
damObjectId: string;
|
|
@@ -370,6 +405,7 @@ export declare const RawLayout: z.ZodObject<{
|
|
|
370
405
|
} | undefined;
|
|
371
406
|
} | {
|
|
372
407
|
type: "component";
|
|
408
|
+
nodeId: string;
|
|
373
409
|
componentId: string;
|
|
374
410
|
componentSet: string;
|
|
375
411
|
componentType?: "server" | "edge" | undefined;
|
|
@@ -381,6 +417,7 @@ export declare const RawLayout: z.ZodObject<{
|
|
|
381
417
|
} | undefined;
|
|
382
418
|
} | (({
|
|
383
419
|
type: "tag";
|
|
420
|
+
nodeId: string;
|
|
384
421
|
tag: string;
|
|
385
422
|
attributes?: Record<string, string> | undefined;
|
|
386
423
|
font?: {
|
|
@@ -396,8 +433,10 @@ export declare const RawLayout: z.ZodObject<{
|
|
|
396
433
|
} | undefined;
|
|
397
434
|
} | {
|
|
398
435
|
type: "fragment";
|
|
436
|
+
nodeId: string;
|
|
399
437
|
} | {
|
|
400
438
|
type: "link-to-matrix-asset";
|
|
439
|
+
nodeId: string;
|
|
401
440
|
matrixDomain: string;
|
|
402
441
|
matrixAssetId: string;
|
|
403
442
|
target: "_blank" | "_self" | "_parent" | "_top";
|
|
@@ -416,9 +455,11 @@ export declare const RawLayout: z.ZodObject<{
|
|
|
416
455
|
main: ({
|
|
417
456
|
value: string;
|
|
418
457
|
type: "text";
|
|
458
|
+
nodeId?: string | undefined;
|
|
419
459
|
} | {
|
|
420
460
|
type: "tag";
|
|
421
461
|
tag: string;
|
|
462
|
+
nodeId?: string | undefined;
|
|
422
463
|
attributes?: Record<string, string> | undefined;
|
|
423
464
|
font?: {
|
|
424
465
|
bold?: boolean | undefined;
|
|
@@ -433,11 +474,13 @@ export declare const RawLayout: z.ZodObject<{
|
|
|
433
474
|
} | undefined;
|
|
434
475
|
} | {
|
|
435
476
|
type: "fragment";
|
|
477
|
+
nodeId?: string | undefined;
|
|
436
478
|
} | {
|
|
437
479
|
type: "link-to-matrix-asset";
|
|
438
480
|
matrixDomain: string;
|
|
439
481
|
matrixAssetId: string;
|
|
440
482
|
target: "_blank" | "_self" | "_parent" | "_top";
|
|
483
|
+
nodeId?: string | undefined;
|
|
441
484
|
attributes?: (Record<string, string> & {
|
|
442
485
|
target?: undefined;
|
|
443
486
|
href?: undefined;
|
|
@@ -450,6 +493,7 @@ export declare const RawLayout: z.ZodObject<{
|
|
|
450
493
|
type: "matrix-image";
|
|
451
494
|
matrixDomain: string;
|
|
452
495
|
matrixAssetId: string;
|
|
496
|
+
nodeId?: string | undefined;
|
|
453
497
|
attributes?: (Record<string, string> & {
|
|
454
498
|
src?: undefined;
|
|
455
499
|
}) | undefined;
|
|
@@ -462,6 +506,7 @@ export declare const RawLayout: z.ZodObject<{
|
|
|
462
506
|
damSystemType: "bynder";
|
|
463
507
|
damSystemIdentifier: string;
|
|
464
508
|
damObjectId: string;
|
|
509
|
+
nodeId?: string | undefined;
|
|
465
510
|
attributes?: (Record<string, string> & {
|
|
466
511
|
src?: undefined;
|
|
467
512
|
}) | undefined;
|
|
@@ -475,6 +520,7 @@ export declare const RawLayout: z.ZodObject<{
|
|
|
475
520
|
type: "component";
|
|
476
521
|
componentId: string;
|
|
477
522
|
componentSet: string;
|
|
523
|
+
nodeId?: string | undefined;
|
|
478
524
|
componentType?: "server" | "edge" | undefined;
|
|
479
525
|
contentItem?: {
|
|
480
526
|
id: string;
|
|
@@ -485,6 +531,7 @@ export declare const RawLayout: z.ZodObject<{
|
|
|
485
531
|
} | {
|
|
486
532
|
type: "variation";
|
|
487
533
|
default: {};
|
|
534
|
+
nodeId?: string | undefined;
|
|
488
535
|
} | {
|
|
489
536
|
type: "layout";
|
|
490
537
|
layout: {
|
|
@@ -510,6 +557,7 @@ export declare const RawLayout: z.ZodObject<{
|
|
|
510
557
|
}>;
|
|
511
558
|
name: string;
|
|
512
559
|
};
|
|
560
|
+
nodeId?: string | undefined;
|
|
513
561
|
})[];
|
|
514
562
|
}>;
|
|
515
563
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -517,8 +565,10 @@ export declare const RawLayout: z.ZodObject<{
|
|
|
517
565
|
main: (import("../layout-content").LayoutVariationNode | ({
|
|
518
566
|
value: string;
|
|
519
567
|
type: "text";
|
|
568
|
+
nodeId: string;
|
|
520
569
|
} | {
|
|
521
570
|
type: "matrix-image";
|
|
571
|
+
nodeId: string;
|
|
522
572
|
matrixDomain: string;
|
|
523
573
|
matrixAssetId: string;
|
|
524
574
|
attributes?: (Record<string, string> & {
|
|
@@ -530,6 +580,7 @@ export declare const RawLayout: z.ZodObject<{
|
|
|
530
580
|
matrixIdentifier?: string | undefined;
|
|
531
581
|
} | {
|
|
532
582
|
type: "dam-image";
|
|
583
|
+
nodeId: string;
|
|
533
584
|
damSystemType: "bynder";
|
|
534
585
|
damSystemIdentifier: string;
|
|
535
586
|
damObjectId: string;
|
|
@@ -544,6 +595,7 @@ export declare const RawLayout: z.ZodObject<{
|
|
|
544
595
|
} | undefined;
|
|
545
596
|
} | {
|
|
546
597
|
type: "component";
|
|
598
|
+
nodeId: string;
|
|
547
599
|
componentId: string;
|
|
548
600
|
componentSet: string;
|
|
549
601
|
componentType?: "server" | "edge" | undefined;
|
|
@@ -555,6 +607,7 @@ export declare const RawLayout: z.ZodObject<{
|
|
|
555
607
|
} | undefined;
|
|
556
608
|
} | (({
|
|
557
609
|
type: "tag";
|
|
610
|
+
nodeId: string;
|
|
558
611
|
tag: string;
|
|
559
612
|
attributes?: Record<string, string> | undefined;
|
|
560
613
|
font?: {
|
|
@@ -570,8 +623,10 @@ export declare const RawLayout: z.ZodObject<{
|
|
|
570
623
|
} | undefined;
|
|
571
624
|
} | {
|
|
572
625
|
type: "fragment";
|
|
626
|
+
nodeId: string;
|
|
573
627
|
} | {
|
|
574
628
|
type: "link-to-matrix-asset";
|
|
629
|
+
nodeId: string;
|
|
575
630
|
matrixDomain: string;
|
|
576
631
|
matrixAssetId: string;
|
|
577
632
|
target: "_blank" | "_self" | "_parent" | "_top";
|
|
@@ -593,9 +648,11 @@ export declare const RawLayout: z.ZodObject<{
|
|
|
593
648
|
main: ({
|
|
594
649
|
value: string;
|
|
595
650
|
type: "text";
|
|
651
|
+
nodeId?: string | undefined;
|
|
596
652
|
} | {
|
|
597
653
|
type: "tag";
|
|
598
654
|
tag: string;
|
|
655
|
+
nodeId?: string | undefined;
|
|
599
656
|
attributes?: Record<string, string> | undefined;
|
|
600
657
|
font?: {
|
|
601
658
|
bold?: boolean | undefined;
|
|
@@ -610,11 +667,13 @@ export declare const RawLayout: z.ZodObject<{
|
|
|
610
667
|
} | undefined;
|
|
611
668
|
} | {
|
|
612
669
|
type: "fragment";
|
|
670
|
+
nodeId?: string | undefined;
|
|
613
671
|
} | {
|
|
614
672
|
type: "link-to-matrix-asset";
|
|
615
673
|
matrixDomain: string;
|
|
616
674
|
matrixAssetId: string;
|
|
617
675
|
target: "_blank" | "_self" | "_parent" | "_top";
|
|
676
|
+
nodeId?: string | undefined;
|
|
618
677
|
attributes?: (Record<string, string> & {
|
|
619
678
|
target?: undefined;
|
|
620
679
|
href?: undefined;
|
|
@@ -627,6 +686,7 @@ export declare const RawLayout: z.ZodObject<{
|
|
|
627
686
|
type: "matrix-image";
|
|
628
687
|
matrixDomain: string;
|
|
629
688
|
matrixAssetId: string;
|
|
689
|
+
nodeId?: string | undefined;
|
|
630
690
|
attributes?: (Record<string, string> & {
|
|
631
691
|
src?: undefined;
|
|
632
692
|
}) | undefined;
|
|
@@ -639,6 +699,7 @@ export declare const RawLayout: z.ZodObject<{
|
|
|
639
699
|
damSystemType: "bynder";
|
|
640
700
|
damSystemIdentifier: string;
|
|
641
701
|
damObjectId: string;
|
|
702
|
+
nodeId?: string | undefined;
|
|
642
703
|
attributes?: (Record<string, string> & {
|
|
643
704
|
src?: undefined;
|
|
644
705
|
}) | undefined;
|
|
@@ -652,6 +713,7 @@ export declare const RawLayout: z.ZodObject<{
|
|
|
652
713
|
type: "component";
|
|
653
714
|
componentId: string;
|
|
654
715
|
componentSet: string;
|
|
716
|
+
nodeId?: string | undefined;
|
|
655
717
|
componentType?: "server" | "edge" | undefined;
|
|
656
718
|
contentItem?: {
|
|
657
719
|
id: string;
|
|
@@ -662,6 +724,7 @@ export declare const RawLayout: z.ZodObject<{
|
|
|
662
724
|
} | {
|
|
663
725
|
type: "variation";
|
|
664
726
|
default: {};
|
|
727
|
+
nodeId?: string | undefined;
|
|
665
728
|
} | {
|
|
666
729
|
type: "layout";
|
|
667
730
|
layout: {
|
|
@@ -687,6 +750,7 @@ export declare const RawLayout: z.ZodObject<{
|
|
|
687
750
|
}>;
|
|
688
751
|
name: string;
|
|
689
752
|
};
|
|
753
|
+
nodeId?: string | undefined;
|
|
690
754
|
})[];
|
|
691
755
|
};
|
|
692
756
|
name: "layout-raw";
|