@squiz/dx-page-contents-lib 1.75.0 → 1.75.2
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 +93 -0
- package/lib/formatted-text.js +62 -1
- package/lib/formatted-text.js.map +1 -1
- package/lib/formatted-text.spec.js +52 -0
- package/lib/formatted-text.spec.js.map +1 -1
- package/lib/layout-content.d.ts +168 -4
- package/lib/layout-content.js +2 -1
- 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 +226 -0
- package/lib/layouts/index.d.ts +1001 -1
- package/lib/layouts/raw.layout.d.ts +200 -0
- package/lib/layouts/single-column.layout.d.ts +200 -0
- package/lib/layouts/two-column.layout.d.ts +400 -0
- package/lib/mocks/PageContentsHelpers.d.ts +1351 -1
- package/lib/mocks/PageContentsHelpers.js +7 -0
- package/lib/mocks/PageContentsHelpers.js.map +1 -1
- package/lib/mocks/PageContentsMocks.d.ts +1 -0
- package/lib/mocks/PageContentsMocks.js +36 -0
- package/lib/mocks/PageContentsMocks.js.map +1 -1
- package/lib/page-contents-lib.d.ts +50 -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 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";
|
|
@@ -71,14 +78,33 @@ export declare const TwoColumnLayout: z.ZodObject<{
|
|
|
71
78
|
alignment: "left" | "center" | "right" | "justify";
|
|
72
79
|
} | undefined;
|
|
73
80
|
matrixIdentifier?: string | undefined;
|
|
81
|
+
} | {
|
|
82
|
+
type: "link-to-dam-asset";
|
|
83
|
+
nodeId: string;
|
|
84
|
+
target: "_blank" | "_self" | "_parent" | "_top";
|
|
85
|
+
damSystemType: "bynder";
|
|
86
|
+
damSystemIdentifier: string;
|
|
87
|
+
damObjectId: string;
|
|
88
|
+
attributes?: (Record<string, string> & {
|
|
89
|
+
target?: undefined;
|
|
90
|
+
href?: undefined;
|
|
91
|
+
}) | undefined;
|
|
92
|
+
formattingOptions?: {
|
|
93
|
+
alignment: "left" | "center" | "right" | "justify";
|
|
94
|
+
} | undefined;
|
|
95
|
+
damAdditional?: {
|
|
96
|
+
variant?: string | undefined;
|
|
97
|
+
} | undefined;
|
|
74
98
|
}) & {
|
|
75
99
|
children: import("../layout-content").LayoutContentNodes[];
|
|
76
100
|
}), z.ZodTypeDef, {
|
|
77
101
|
value: string;
|
|
78
102
|
type: "text";
|
|
103
|
+
nodeId?: string | undefined;
|
|
79
104
|
} | {
|
|
80
105
|
type: "tag";
|
|
81
106
|
tag: string;
|
|
107
|
+
nodeId?: string | undefined;
|
|
82
108
|
attributes?: Record<string, string> | undefined;
|
|
83
109
|
font?: {
|
|
84
110
|
bold?: boolean | undefined;
|
|
@@ -93,11 +119,13 @@ export declare const TwoColumnLayout: z.ZodObject<{
|
|
|
93
119
|
} | undefined;
|
|
94
120
|
} | {
|
|
95
121
|
type: "fragment";
|
|
122
|
+
nodeId?: string | undefined;
|
|
96
123
|
} | {
|
|
97
124
|
type: "link-to-matrix-asset";
|
|
98
125
|
matrixDomain: string;
|
|
99
126
|
matrixAssetId: string;
|
|
100
127
|
target: "_blank" | "_self" | "_parent" | "_top";
|
|
128
|
+
nodeId?: string | undefined;
|
|
101
129
|
attributes?: (Record<string, string> & {
|
|
102
130
|
target?: undefined;
|
|
103
131
|
href?: undefined;
|
|
@@ -106,10 +134,28 @@ export declare const TwoColumnLayout: z.ZodObject<{
|
|
|
106
134
|
alignment: "left" | "center" | "right" | "justify";
|
|
107
135
|
} | undefined;
|
|
108
136
|
matrixIdentifier?: string | undefined;
|
|
137
|
+
} | {
|
|
138
|
+
type: "link-to-dam-asset";
|
|
139
|
+
target: "_blank" | "_self" | "_parent" | "_top";
|
|
140
|
+
damSystemType: "bynder";
|
|
141
|
+
damSystemIdentifier: string;
|
|
142
|
+
damObjectId: string;
|
|
143
|
+
nodeId?: string | undefined;
|
|
144
|
+
attributes?: (Record<string, string> & {
|
|
145
|
+
target?: undefined;
|
|
146
|
+
href?: undefined;
|
|
147
|
+
}) | undefined;
|
|
148
|
+
formattingOptions?: {
|
|
149
|
+
alignment: "left" | "center" | "right" | "justify";
|
|
150
|
+
} | undefined;
|
|
151
|
+
damAdditional?: {
|
|
152
|
+
variant?: string | undefined;
|
|
153
|
+
} | undefined;
|
|
109
154
|
} | {
|
|
110
155
|
type: "matrix-image";
|
|
111
156
|
matrixDomain: string;
|
|
112
157
|
matrixAssetId: string;
|
|
158
|
+
nodeId?: string | undefined;
|
|
113
159
|
attributes?: (Record<string, string> & {
|
|
114
160
|
src?: undefined;
|
|
115
161
|
}) | undefined;
|
|
@@ -122,6 +168,7 @@ export declare const TwoColumnLayout: z.ZodObject<{
|
|
|
122
168
|
damSystemType: "bynder";
|
|
123
169
|
damSystemIdentifier: string;
|
|
124
170
|
damObjectId: string;
|
|
171
|
+
nodeId?: string | undefined;
|
|
125
172
|
attributes?: (Record<string, string> & {
|
|
126
173
|
src?: undefined;
|
|
127
174
|
}) | undefined;
|
|
@@ -135,6 +182,7 @@ export declare const TwoColumnLayout: z.ZodObject<{
|
|
|
135
182
|
type: "component";
|
|
136
183
|
componentId: string;
|
|
137
184
|
componentSet: string;
|
|
185
|
+
nodeId?: string | undefined;
|
|
138
186
|
componentType?: "server" | "edge" | undefined;
|
|
139
187
|
contentItem?: {
|
|
140
188
|
id: string;
|
|
@@ -145,6 +193,7 @@ export declare const TwoColumnLayout: z.ZodObject<{
|
|
|
145
193
|
}>, z.ZodType<import("../layout-content").LayoutVariationNode, z.ZodTypeDef, {
|
|
146
194
|
type: "variation";
|
|
147
195
|
default: {};
|
|
196
|
+
nodeId?: string | undefined;
|
|
148
197
|
}>, z.ZodType<import("../layout-content").DeveloperDefinedLayoutNode, z.ZodTypeDef, {
|
|
149
198
|
type: "layout";
|
|
150
199
|
layout: {
|
|
@@ -170,11 +219,14 @@ export declare const TwoColumnLayout: z.ZodObject<{
|
|
|
170
219
|
}>;
|
|
171
220
|
name: string;
|
|
172
221
|
};
|
|
222
|
+
nodeId?: string | undefined;
|
|
173
223
|
}>]>, "many">, (import("../layout-content").LayoutVariationNode | ({
|
|
174
224
|
value: string;
|
|
175
225
|
type: "text";
|
|
226
|
+
nodeId: string;
|
|
176
227
|
} | {
|
|
177
228
|
type: "matrix-image";
|
|
229
|
+
nodeId: string;
|
|
178
230
|
matrixDomain: string;
|
|
179
231
|
matrixAssetId: string;
|
|
180
232
|
attributes?: (Record<string, string> & {
|
|
@@ -186,6 +238,7 @@ export declare const TwoColumnLayout: z.ZodObject<{
|
|
|
186
238
|
matrixIdentifier?: string | undefined;
|
|
187
239
|
} | {
|
|
188
240
|
type: "dam-image";
|
|
241
|
+
nodeId: string;
|
|
189
242
|
damSystemType: "bynder";
|
|
190
243
|
damSystemIdentifier: string;
|
|
191
244
|
damObjectId: string;
|
|
@@ -200,6 +253,7 @@ export declare const TwoColumnLayout: z.ZodObject<{
|
|
|
200
253
|
} | undefined;
|
|
201
254
|
} | {
|
|
202
255
|
type: "component";
|
|
256
|
+
nodeId: string;
|
|
203
257
|
componentId: string;
|
|
204
258
|
componentSet: string;
|
|
205
259
|
componentType?: "server" | "edge" | undefined;
|
|
@@ -211,6 +265,7 @@ export declare const TwoColumnLayout: z.ZodObject<{
|
|
|
211
265
|
} | undefined;
|
|
212
266
|
} | (({
|
|
213
267
|
type: "tag";
|
|
268
|
+
nodeId: string;
|
|
214
269
|
tag: string;
|
|
215
270
|
attributes?: Record<string, string> | undefined;
|
|
216
271
|
font?: {
|
|
@@ -226,8 +281,10 @@ export declare const TwoColumnLayout: z.ZodObject<{
|
|
|
226
281
|
} | undefined;
|
|
227
282
|
} | {
|
|
228
283
|
type: "fragment";
|
|
284
|
+
nodeId: string;
|
|
229
285
|
} | {
|
|
230
286
|
type: "link-to-matrix-asset";
|
|
287
|
+
nodeId: string;
|
|
231
288
|
matrixDomain: string;
|
|
232
289
|
matrixAssetId: string;
|
|
233
290
|
target: "_blank" | "_self" | "_parent" | "_top";
|
|
@@ -239,14 +296,33 @@ export declare const TwoColumnLayout: z.ZodObject<{
|
|
|
239
296
|
alignment: "left" | "center" | "right" | "justify";
|
|
240
297
|
} | undefined;
|
|
241
298
|
matrixIdentifier?: string | undefined;
|
|
299
|
+
} | {
|
|
300
|
+
type: "link-to-dam-asset";
|
|
301
|
+
nodeId: string;
|
|
302
|
+
target: "_blank" | "_self" | "_parent" | "_top";
|
|
303
|
+
damSystemType: "bynder";
|
|
304
|
+
damSystemIdentifier: string;
|
|
305
|
+
damObjectId: string;
|
|
306
|
+
attributes?: (Record<string, string> & {
|
|
307
|
+
target?: undefined;
|
|
308
|
+
href?: undefined;
|
|
309
|
+
}) | undefined;
|
|
310
|
+
formattingOptions?: {
|
|
311
|
+
alignment: "left" | "center" | "right" | "justify";
|
|
312
|
+
} | undefined;
|
|
313
|
+
damAdditional?: {
|
|
314
|
+
variant?: string | undefined;
|
|
315
|
+
} | undefined;
|
|
242
316
|
}) & {
|
|
243
317
|
children: import("../layout-content").LayoutContentNodes[];
|
|
244
318
|
})) | import("../layout-content").DeveloperDefinedLayoutNode)[], ({
|
|
245
319
|
value: string;
|
|
246
320
|
type: "text";
|
|
321
|
+
nodeId?: string | undefined;
|
|
247
322
|
} | {
|
|
248
323
|
type: "tag";
|
|
249
324
|
tag: string;
|
|
325
|
+
nodeId?: string | undefined;
|
|
250
326
|
attributes?: Record<string, string> | undefined;
|
|
251
327
|
font?: {
|
|
252
328
|
bold?: boolean | undefined;
|
|
@@ -261,11 +337,13 @@ export declare const TwoColumnLayout: z.ZodObject<{
|
|
|
261
337
|
} | undefined;
|
|
262
338
|
} | {
|
|
263
339
|
type: "fragment";
|
|
340
|
+
nodeId?: string | undefined;
|
|
264
341
|
} | {
|
|
265
342
|
type: "link-to-matrix-asset";
|
|
266
343
|
matrixDomain: string;
|
|
267
344
|
matrixAssetId: string;
|
|
268
345
|
target: "_blank" | "_self" | "_parent" | "_top";
|
|
346
|
+
nodeId?: string | undefined;
|
|
269
347
|
attributes?: (Record<string, string> & {
|
|
270
348
|
target?: undefined;
|
|
271
349
|
href?: undefined;
|
|
@@ -274,10 +352,28 @@ export declare const TwoColumnLayout: z.ZodObject<{
|
|
|
274
352
|
alignment: "left" | "center" | "right" | "justify";
|
|
275
353
|
} | undefined;
|
|
276
354
|
matrixIdentifier?: string | undefined;
|
|
355
|
+
} | {
|
|
356
|
+
type: "link-to-dam-asset";
|
|
357
|
+
target: "_blank" | "_self" | "_parent" | "_top";
|
|
358
|
+
damSystemType: "bynder";
|
|
359
|
+
damSystemIdentifier: string;
|
|
360
|
+
damObjectId: string;
|
|
361
|
+
nodeId?: string | undefined;
|
|
362
|
+
attributes?: (Record<string, string> & {
|
|
363
|
+
target?: undefined;
|
|
364
|
+
href?: undefined;
|
|
365
|
+
}) | undefined;
|
|
366
|
+
formattingOptions?: {
|
|
367
|
+
alignment: "left" | "center" | "right" | "justify";
|
|
368
|
+
} | undefined;
|
|
369
|
+
damAdditional?: {
|
|
370
|
+
variant?: string | undefined;
|
|
371
|
+
} | undefined;
|
|
277
372
|
} | {
|
|
278
373
|
type: "matrix-image";
|
|
279
374
|
matrixDomain: string;
|
|
280
375
|
matrixAssetId: string;
|
|
376
|
+
nodeId?: string | undefined;
|
|
281
377
|
attributes?: (Record<string, string> & {
|
|
282
378
|
src?: undefined;
|
|
283
379
|
}) | undefined;
|
|
@@ -290,6 +386,7 @@ export declare const TwoColumnLayout: z.ZodObject<{
|
|
|
290
386
|
damSystemType: "bynder";
|
|
291
387
|
damSystemIdentifier: string;
|
|
292
388
|
damObjectId: string;
|
|
389
|
+
nodeId?: string | undefined;
|
|
293
390
|
attributes?: (Record<string, string> & {
|
|
294
391
|
src?: undefined;
|
|
295
392
|
}) | undefined;
|
|
@@ -303,6 +400,7 @@ export declare const TwoColumnLayout: z.ZodObject<{
|
|
|
303
400
|
type: "component";
|
|
304
401
|
componentId: string;
|
|
305
402
|
componentSet: string;
|
|
403
|
+
nodeId?: string | undefined;
|
|
306
404
|
componentType?: "server" | "edge" | undefined;
|
|
307
405
|
contentItem?: {
|
|
308
406
|
id: string;
|
|
@@ -313,6 +411,7 @@ export declare const TwoColumnLayout: z.ZodObject<{
|
|
|
313
411
|
} | {
|
|
314
412
|
type: "variation";
|
|
315
413
|
default: {};
|
|
414
|
+
nodeId?: string | undefined;
|
|
316
415
|
} | {
|
|
317
416
|
type: "layout";
|
|
318
417
|
layout: {
|
|
@@ -338,12 +437,15 @@ export declare const TwoColumnLayout: z.ZodObject<{
|
|
|
338
437
|
}>;
|
|
339
438
|
name: string;
|
|
340
439
|
};
|
|
440
|
+
nodeId?: string | undefined;
|
|
341
441
|
})[]>;
|
|
342
442
|
right: z.ZodEffects<z.ZodArray<z.ZodUnion<[z.ZodType<{
|
|
343
443
|
value: string;
|
|
344
444
|
type: "text";
|
|
445
|
+
nodeId: string;
|
|
345
446
|
} | {
|
|
346
447
|
type: "matrix-image";
|
|
448
|
+
nodeId: string;
|
|
347
449
|
matrixDomain: string;
|
|
348
450
|
matrixAssetId: string;
|
|
349
451
|
attributes?: (Record<string, string> & {
|
|
@@ -355,6 +457,7 @@ export declare const TwoColumnLayout: z.ZodObject<{
|
|
|
355
457
|
matrixIdentifier?: string | undefined;
|
|
356
458
|
} | {
|
|
357
459
|
type: "dam-image";
|
|
460
|
+
nodeId: string;
|
|
358
461
|
damSystemType: "bynder";
|
|
359
462
|
damSystemIdentifier: string;
|
|
360
463
|
damObjectId: string;
|
|
@@ -369,6 +472,7 @@ export declare const TwoColumnLayout: z.ZodObject<{
|
|
|
369
472
|
} | undefined;
|
|
370
473
|
} | {
|
|
371
474
|
type: "component";
|
|
475
|
+
nodeId: string;
|
|
372
476
|
componentId: string;
|
|
373
477
|
componentSet: string;
|
|
374
478
|
componentType?: "server" | "edge" | undefined;
|
|
@@ -380,6 +484,7 @@ export declare const TwoColumnLayout: z.ZodObject<{
|
|
|
380
484
|
} | undefined;
|
|
381
485
|
} | (({
|
|
382
486
|
type: "tag";
|
|
487
|
+
nodeId: string;
|
|
383
488
|
tag: string;
|
|
384
489
|
attributes?: Record<string, string> | undefined;
|
|
385
490
|
font?: {
|
|
@@ -395,8 +500,10 @@ export declare const TwoColumnLayout: z.ZodObject<{
|
|
|
395
500
|
} | undefined;
|
|
396
501
|
} | {
|
|
397
502
|
type: "fragment";
|
|
503
|
+
nodeId: string;
|
|
398
504
|
} | {
|
|
399
505
|
type: "link-to-matrix-asset";
|
|
506
|
+
nodeId: string;
|
|
400
507
|
matrixDomain: string;
|
|
401
508
|
matrixAssetId: string;
|
|
402
509
|
target: "_blank" | "_self" | "_parent" | "_top";
|
|
@@ -408,14 +515,33 @@ export declare const TwoColumnLayout: z.ZodObject<{
|
|
|
408
515
|
alignment: "left" | "center" | "right" | "justify";
|
|
409
516
|
} | undefined;
|
|
410
517
|
matrixIdentifier?: string | undefined;
|
|
518
|
+
} | {
|
|
519
|
+
type: "link-to-dam-asset";
|
|
520
|
+
nodeId: string;
|
|
521
|
+
target: "_blank" | "_self" | "_parent" | "_top";
|
|
522
|
+
damSystemType: "bynder";
|
|
523
|
+
damSystemIdentifier: string;
|
|
524
|
+
damObjectId: string;
|
|
525
|
+
attributes?: (Record<string, string> & {
|
|
526
|
+
target?: undefined;
|
|
527
|
+
href?: undefined;
|
|
528
|
+
}) | undefined;
|
|
529
|
+
formattingOptions?: {
|
|
530
|
+
alignment: "left" | "center" | "right" | "justify";
|
|
531
|
+
} | undefined;
|
|
532
|
+
damAdditional?: {
|
|
533
|
+
variant?: string | undefined;
|
|
534
|
+
} | undefined;
|
|
411
535
|
}) & {
|
|
412
536
|
children: import("../layout-content").LayoutContentNodes[];
|
|
413
537
|
}), z.ZodTypeDef, {
|
|
414
538
|
value: string;
|
|
415
539
|
type: "text";
|
|
540
|
+
nodeId?: string | undefined;
|
|
416
541
|
} | {
|
|
417
542
|
type: "tag";
|
|
418
543
|
tag: string;
|
|
544
|
+
nodeId?: string | undefined;
|
|
419
545
|
attributes?: Record<string, string> | undefined;
|
|
420
546
|
font?: {
|
|
421
547
|
bold?: boolean | undefined;
|
|
@@ -430,11 +556,13 @@ export declare const TwoColumnLayout: z.ZodObject<{
|
|
|
430
556
|
} | undefined;
|
|
431
557
|
} | {
|
|
432
558
|
type: "fragment";
|
|
559
|
+
nodeId?: string | undefined;
|
|
433
560
|
} | {
|
|
434
561
|
type: "link-to-matrix-asset";
|
|
435
562
|
matrixDomain: string;
|
|
436
563
|
matrixAssetId: string;
|
|
437
564
|
target: "_blank" | "_self" | "_parent" | "_top";
|
|
565
|
+
nodeId?: string | undefined;
|
|
438
566
|
attributes?: (Record<string, string> & {
|
|
439
567
|
target?: undefined;
|
|
440
568
|
href?: undefined;
|
|
@@ -443,10 +571,28 @@ export declare const TwoColumnLayout: z.ZodObject<{
|
|
|
443
571
|
alignment: "left" | "center" | "right" | "justify";
|
|
444
572
|
} | undefined;
|
|
445
573
|
matrixIdentifier?: string | undefined;
|
|
574
|
+
} | {
|
|
575
|
+
type: "link-to-dam-asset";
|
|
576
|
+
target: "_blank" | "_self" | "_parent" | "_top";
|
|
577
|
+
damSystemType: "bynder";
|
|
578
|
+
damSystemIdentifier: string;
|
|
579
|
+
damObjectId: string;
|
|
580
|
+
nodeId?: string | undefined;
|
|
581
|
+
attributes?: (Record<string, string> & {
|
|
582
|
+
target?: undefined;
|
|
583
|
+
href?: undefined;
|
|
584
|
+
}) | undefined;
|
|
585
|
+
formattingOptions?: {
|
|
586
|
+
alignment: "left" | "center" | "right" | "justify";
|
|
587
|
+
} | undefined;
|
|
588
|
+
damAdditional?: {
|
|
589
|
+
variant?: string | undefined;
|
|
590
|
+
} | undefined;
|
|
446
591
|
} | {
|
|
447
592
|
type: "matrix-image";
|
|
448
593
|
matrixDomain: string;
|
|
449
594
|
matrixAssetId: string;
|
|
595
|
+
nodeId?: string | undefined;
|
|
450
596
|
attributes?: (Record<string, string> & {
|
|
451
597
|
src?: undefined;
|
|
452
598
|
}) | undefined;
|
|
@@ -459,6 +605,7 @@ export declare const TwoColumnLayout: z.ZodObject<{
|
|
|
459
605
|
damSystemType: "bynder";
|
|
460
606
|
damSystemIdentifier: string;
|
|
461
607
|
damObjectId: string;
|
|
608
|
+
nodeId?: string | undefined;
|
|
462
609
|
attributes?: (Record<string, string> & {
|
|
463
610
|
src?: undefined;
|
|
464
611
|
}) | undefined;
|
|
@@ -472,6 +619,7 @@ export declare const TwoColumnLayout: z.ZodObject<{
|
|
|
472
619
|
type: "component";
|
|
473
620
|
componentId: string;
|
|
474
621
|
componentSet: string;
|
|
622
|
+
nodeId?: string | undefined;
|
|
475
623
|
componentType?: "server" | "edge" | undefined;
|
|
476
624
|
contentItem?: {
|
|
477
625
|
id: string;
|
|
@@ -482,6 +630,7 @@ export declare const TwoColumnLayout: z.ZodObject<{
|
|
|
482
630
|
}>, z.ZodType<import("../layout-content").LayoutVariationNode, z.ZodTypeDef, {
|
|
483
631
|
type: "variation";
|
|
484
632
|
default: {};
|
|
633
|
+
nodeId?: string | undefined;
|
|
485
634
|
}>, z.ZodType<import("../layout-content").DeveloperDefinedLayoutNode, z.ZodTypeDef, {
|
|
486
635
|
type: "layout";
|
|
487
636
|
layout: {
|
|
@@ -507,11 +656,14 @@ export declare const TwoColumnLayout: z.ZodObject<{
|
|
|
507
656
|
}>;
|
|
508
657
|
name: string;
|
|
509
658
|
};
|
|
659
|
+
nodeId?: string | undefined;
|
|
510
660
|
}>]>, "many">, (import("../layout-content").LayoutVariationNode | ({
|
|
511
661
|
value: string;
|
|
512
662
|
type: "text";
|
|
663
|
+
nodeId: string;
|
|
513
664
|
} | {
|
|
514
665
|
type: "matrix-image";
|
|
666
|
+
nodeId: string;
|
|
515
667
|
matrixDomain: string;
|
|
516
668
|
matrixAssetId: string;
|
|
517
669
|
attributes?: (Record<string, string> & {
|
|
@@ -523,6 +675,7 @@ export declare const TwoColumnLayout: z.ZodObject<{
|
|
|
523
675
|
matrixIdentifier?: string | undefined;
|
|
524
676
|
} | {
|
|
525
677
|
type: "dam-image";
|
|
678
|
+
nodeId: string;
|
|
526
679
|
damSystemType: "bynder";
|
|
527
680
|
damSystemIdentifier: string;
|
|
528
681
|
damObjectId: string;
|
|
@@ -537,6 +690,7 @@ export declare const TwoColumnLayout: z.ZodObject<{
|
|
|
537
690
|
} | undefined;
|
|
538
691
|
} | {
|
|
539
692
|
type: "component";
|
|
693
|
+
nodeId: string;
|
|
540
694
|
componentId: string;
|
|
541
695
|
componentSet: string;
|
|
542
696
|
componentType?: "server" | "edge" | undefined;
|
|
@@ -548,6 +702,7 @@ export declare const TwoColumnLayout: z.ZodObject<{
|
|
|
548
702
|
} | undefined;
|
|
549
703
|
} | (({
|
|
550
704
|
type: "tag";
|
|
705
|
+
nodeId: string;
|
|
551
706
|
tag: string;
|
|
552
707
|
attributes?: Record<string, string> | undefined;
|
|
553
708
|
font?: {
|
|
@@ -563,8 +718,10 @@ export declare const TwoColumnLayout: z.ZodObject<{
|
|
|
563
718
|
} | undefined;
|
|
564
719
|
} | {
|
|
565
720
|
type: "fragment";
|
|
721
|
+
nodeId: string;
|
|
566
722
|
} | {
|
|
567
723
|
type: "link-to-matrix-asset";
|
|
724
|
+
nodeId: string;
|
|
568
725
|
matrixDomain: string;
|
|
569
726
|
matrixAssetId: string;
|
|
570
727
|
target: "_blank" | "_self" | "_parent" | "_top";
|
|
@@ -576,14 +733,33 @@ export declare const TwoColumnLayout: z.ZodObject<{
|
|
|
576
733
|
alignment: "left" | "center" | "right" | "justify";
|
|
577
734
|
} | undefined;
|
|
578
735
|
matrixIdentifier?: string | undefined;
|
|
736
|
+
} | {
|
|
737
|
+
type: "link-to-dam-asset";
|
|
738
|
+
nodeId: string;
|
|
739
|
+
target: "_blank" | "_self" | "_parent" | "_top";
|
|
740
|
+
damSystemType: "bynder";
|
|
741
|
+
damSystemIdentifier: string;
|
|
742
|
+
damObjectId: string;
|
|
743
|
+
attributes?: (Record<string, string> & {
|
|
744
|
+
target?: undefined;
|
|
745
|
+
href?: undefined;
|
|
746
|
+
}) | undefined;
|
|
747
|
+
formattingOptions?: {
|
|
748
|
+
alignment: "left" | "center" | "right" | "justify";
|
|
749
|
+
} | undefined;
|
|
750
|
+
damAdditional?: {
|
|
751
|
+
variant?: string | undefined;
|
|
752
|
+
} | undefined;
|
|
579
753
|
}) & {
|
|
580
754
|
children: import("../layout-content").LayoutContentNodes[];
|
|
581
755
|
})) | import("../layout-content").DeveloperDefinedLayoutNode)[], ({
|
|
582
756
|
value: string;
|
|
583
757
|
type: "text";
|
|
758
|
+
nodeId?: string | undefined;
|
|
584
759
|
} | {
|
|
585
760
|
type: "tag";
|
|
586
761
|
tag: string;
|
|
762
|
+
nodeId?: string | undefined;
|
|
587
763
|
attributes?: Record<string, string> | undefined;
|
|
588
764
|
font?: {
|
|
589
765
|
bold?: boolean | undefined;
|
|
@@ -598,11 +774,13 @@ export declare const TwoColumnLayout: z.ZodObject<{
|
|
|
598
774
|
} | undefined;
|
|
599
775
|
} | {
|
|
600
776
|
type: "fragment";
|
|
777
|
+
nodeId?: string | undefined;
|
|
601
778
|
} | {
|
|
602
779
|
type: "link-to-matrix-asset";
|
|
603
780
|
matrixDomain: string;
|
|
604
781
|
matrixAssetId: string;
|
|
605
782
|
target: "_blank" | "_self" | "_parent" | "_top";
|
|
783
|
+
nodeId?: string | undefined;
|
|
606
784
|
attributes?: (Record<string, string> & {
|
|
607
785
|
target?: undefined;
|
|
608
786
|
href?: undefined;
|
|
@@ -611,10 +789,28 @@ export declare const TwoColumnLayout: z.ZodObject<{
|
|
|
611
789
|
alignment: "left" | "center" | "right" | "justify";
|
|
612
790
|
} | undefined;
|
|
613
791
|
matrixIdentifier?: string | undefined;
|
|
792
|
+
} | {
|
|
793
|
+
type: "link-to-dam-asset";
|
|
794
|
+
target: "_blank" | "_self" | "_parent" | "_top";
|
|
795
|
+
damSystemType: "bynder";
|
|
796
|
+
damSystemIdentifier: string;
|
|
797
|
+
damObjectId: string;
|
|
798
|
+
nodeId?: string | undefined;
|
|
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;
|
|
614
809
|
} | {
|
|
615
810
|
type: "matrix-image";
|
|
616
811
|
matrixDomain: string;
|
|
617
812
|
matrixAssetId: string;
|
|
813
|
+
nodeId?: string | undefined;
|
|
618
814
|
attributes?: (Record<string, string> & {
|
|
619
815
|
src?: undefined;
|
|
620
816
|
}) | undefined;
|
|
@@ -627,6 +823,7 @@ export declare const TwoColumnLayout: z.ZodObject<{
|
|
|
627
823
|
damSystemType: "bynder";
|
|
628
824
|
damSystemIdentifier: string;
|
|
629
825
|
damObjectId: string;
|
|
826
|
+
nodeId?: string | undefined;
|
|
630
827
|
attributes?: (Record<string, string> & {
|
|
631
828
|
src?: undefined;
|
|
632
829
|
}) | undefined;
|
|
@@ -640,6 +837,7 @@ export declare const TwoColumnLayout: z.ZodObject<{
|
|
|
640
837
|
type: "component";
|
|
641
838
|
componentId: string;
|
|
642
839
|
componentSet: string;
|
|
840
|
+
nodeId?: string | undefined;
|
|
643
841
|
componentType?: "server" | "edge" | undefined;
|
|
644
842
|
contentItem?: {
|
|
645
843
|
id: string;
|
|
@@ -650,6 +848,7 @@ export declare const TwoColumnLayout: z.ZodObject<{
|
|
|
650
848
|
} | {
|
|
651
849
|
type: "variation";
|
|
652
850
|
default: {};
|
|
851
|
+
nodeId?: string | undefined;
|
|
653
852
|
} | {
|
|
654
853
|
type: "layout";
|
|
655
854
|
layout: {
|
|
@@ -675,13 +874,16 @@ export declare const TwoColumnLayout: z.ZodObject<{
|
|
|
675
874
|
}>;
|
|
676
875
|
name: string;
|
|
677
876
|
};
|
|
877
|
+
nodeId?: string | undefined;
|
|
678
878
|
})[]>;
|
|
679
879
|
}, "strip", z.ZodTypeAny, {
|
|
680
880
|
left: (import("../layout-content").LayoutVariationNode | ({
|
|
681
881
|
value: string;
|
|
682
882
|
type: "text";
|
|
883
|
+
nodeId: string;
|
|
683
884
|
} | {
|
|
684
885
|
type: "matrix-image";
|
|
886
|
+
nodeId: string;
|
|
685
887
|
matrixDomain: string;
|
|
686
888
|
matrixAssetId: string;
|
|
687
889
|
attributes?: (Record<string, string> & {
|
|
@@ -693,6 +895,7 @@ export declare const TwoColumnLayout: z.ZodObject<{
|
|
|
693
895
|
matrixIdentifier?: string | undefined;
|
|
694
896
|
} | {
|
|
695
897
|
type: "dam-image";
|
|
898
|
+
nodeId: string;
|
|
696
899
|
damSystemType: "bynder";
|
|
697
900
|
damSystemIdentifier: string;
|
|
698
901
|
damObjectId: string;
|
|
@@ -707,6 +910,7 @@ export declare const TwoColumnLayout: z.ZodObject<{
|
|
|
707
910
|
} | undefined;
|
|
708
911
|
} | {
|
|
709
912
|
type: "component";
|
|
913
|
+
nodeId: string;
|
|
710
914
|
componentId: string;
|
|
711
915
|
componentSet: string;
|
|
712
916
|
componentType?: "server" | "edge" | undefined;
|
|
@@ -718,6 +922,7 @@ export declare const TwoColumnLayout: z.ZodObject<{
|
|
|
718
922
|
} | undefined;
|
|
719
923
|
} | (({
|
|
720
924
|
type: "tag";
|
|
925
|
+
nodeId: string;
|
|
721
926
|
tag: string;
|
|
722
927
|
attributes?: Record<string, string> | undefined;
|
|
723
928
|
font?: {
|
|
@@ -733,8 +938,10 @@ export declare const TwoColumnLayout: z.ZodObject<{
|
|
|
733
938
|
} | undefined;
|
|
734
939
|
} | {
|
|
735
940
|
type: "fragment";
|
|
941
|
+
nodeId: string;
|
|
736
942
|
} | {
|
|
737
943
|
type: "link-to-matrix-asset";
|
|
944
|
+
nodeId: string;
|
|
738
945
|
matrixDomain: string;
|
|
739
946
|
matrixAssetId: string;
|
|
740
947
|
target: "_blank" | "_self" | "_parent" | "_top";
|
|
@@ -746,14 +953,33 @@ export declare const TwoColumnLayout: z.ZodObject<{
|
|
|
746
953
|
alignment: "left" | "center" | "right" | "justify";
|
|
747
954
|
} | undefined;
|
|
748
955
|
matrixIdentifier?: string | undefined;
|
|
956
|
+
} | {
|
|
957
|
+
type: "link-to-dam-asset";
|
|
958
|
+
nodeId: string;
|
|
959
|
+
target: "_blank" | "_self" | "_parent" | "_top";
|
|
960
|
+
damSystemType: "bynder";
|
|
961
|
+
damSystemIdentifier: string;
|
|
962
|
+
damObjectId: string;
|
|
963
|
+
attributes?: (Record<string, string> & {
|
|
964
|
+
target?: undefined;
|
|
965
|
+
href?: undefined;
|
|
966
|
+
}) | undefined;
|
|
967
|
+
formattingOptions?: {
|
|
968
|
+
alignment: "left" | "center" | "right" | "justify";
|
|
969
|
+
} | undefined;
|
|
970
|
+
damAdditional?: {
|
|
971
|
+
variant?: string | undefined;
|
|
972
|
+
} | undefined;
|
|
749
973
|
}) & {
|
|
750
974
|
children: import("../layout-content").LayoutContentNodes[];
|
|
751
975
|
})) | import("../layout-content").DeveloperDefinedLayoutNode)[];
|
|
752
976
|
right: (import("../layout-content").LayoutVariationNode | ({
|
|
753
977
|
value: string;
|
|
754
978
|
type: "text";
|
|
979
|
+
nodeId: string;
|
|
755
980
|
} | {
|
|
756
981
|
type: "matrix-image";
|
|
982
|
+
nodeId: string;
|
|
757
983
|
matrixDomain: string;
|
|
758
984
|
matrixAssetId: string;
|
|
759
985
|
attributes?: (Record<string, string> & {
|
|
@@ -765,6 +991,7 @@ export declare const TwoColumnLayout: z.ZodObject<{
|
|
|
765
991
|
matrixIdentifier?: string | undefined;
|
|
766
992
|
} | {
|
|
767
993
|
type: "dam-image";
|
|
994
|
+
nodeId: string;
|
|
768
995
|
damSystemType: "bynder";
|
|
769
996
|
damSystemIdentifier: string;
|
|
770
997
|
damObjectId: string;
|
|
@@ -779,6 +1006,7 @@ export declare const TwoColumnLayout: z.ZodObject<{
|
|
|
779
1006
|
} | undefined;
|
|
780
1007
|
} | {
|
|
781
1008
|
type: "component";
|
|
1009
|
+
nodeId: string;
|
|
782
1010
|
componentId: string;
|
|
783
1011
|
componentSet: string;
|
|
784
1012
|
componentType?: "server" | "edge" | undefined;
|
|
@@ -790,6 +1018,7 @@ export declare const TwoColumnLayout: z.ZodObject<{
|
|
|
790
1018
|
} | undefined;
|
|
791
1019
|
} | (({
|
|
792
1020
|
type: "tag";
|
|
1021
|
+
nodeId: string;
|
|
793
1022
|
tag: string;
|
|
794
1023
|
attributes?: Record<string, string> | undefined;
|
|
795
1024
|
font?: {
|
|
@@ -805,8 +1034,10 @@ export declare const TwoColumnLayout: z.ZodObject<{
|
|
|
805
1034
|
} | undefined;
|
|
806
1035
|
} | {
|
|
807
1036
|
type: "fragment";
|
|
1037
|
+
nodeId: string;
|
|
808
1038
|
} | {
|
|
809
1039
|
type: "link-to-matrix-asset";
|
|
1040
|
+
nodeId: string;
|
|
810
1041
|
matrixDomain: string;
|
|
811
1042
|
matrixAssetId: string;
|
|
812
1043
|
target: "_blank" | "_self" | "_parent" | "_top";
|
|
@@ -818,6 +1049,23 @@ export declare const TwoColumnLayout: z.ZodObject<{
|
|
|
818
1049
|
alignment: "left" | "center" | "right" | "justify";
|
|
819
1050
|
} | undefined;
|
|
820
1051
|
matrixIdentifier?: string | undefined;
|
|
1052
|
+
} | {
|
|
1053
|
+
type: "link-to-dam-asset";
|
|
1054
|
+
nodeId: string;
|
|
1055
|
+
target: "_blank" | "_self" | "_parent" | "_top";
|
|
1056
|
+
damSystemType: "bynder";
|
|
1057
|
+
damSystemIdentifier: string;
|
|
1058
|
+
damObjectId: string;
|
|
1059
|
+
attributes?: (Record<string, string> & {
|
|
1060
|
+
target?: undefined;
|
|
1061
|
+
href?: undefined;
|
|
1062
|
+
}) | undefined;
|
|
1063
|
+
formattingOptions?: {
|
|
1064
|
+
alignment: "left" | "center" | "right" | "justify";
|
|
1065
|
+
} | undefined;
|
|
1066
|
+
damAdditional?: {
|
|
1067
|
+
variant?: string | undefined;
|
|
1068
|
+
} | undefined;
|
|
821
1069
|
}) & {
|
|
822
1070
|
children: import("../layout-content").LayoutContentNodes[];
|
|
823
1071
|
})) | import("../layout-content").DeveloperDefinedLayoutNode)[];
|
|
@@ -825,9 +1073,11 @@ export declare const TwoColumnLayout: z.ZodObject<{
|
|
|
825
1073
|
left: ({
|
|
826
1074
|
value: string;
|
|
827
1075
|
type: "text";
|
|
1076
|
+
nodeId?: string | undefined;
|
|
828
1077
|
} | {
|
|
829
1078
|
type: "tag";
|
|
830
1079
|
tag: string;
|
|
1080
|
+
nodeId?: string | undefined;
|
|
831
1081
|
attributes?: Record<string, string> | undefined;
|
|
832
1082
|
font?: {
|
|
833
1083
|
bold?: boolean | undefined;
|
|
@@ -842,11 +1092,13 @@ export declare const TwoColumnLayout: z.ZodObject<{
|
|
|
842
1092
|
} | undefined;
|
|
843
1093
|
} | {
|
|
844
1094
|
type: "fragment";
|
|
1095
|
+
nodeId?: string | undefined;
|
|
845
1096
|
} | {
|
|
846
1097
|
type: "link-to-matrix-asset";
|
|
847
1098
|
matrixDomain: string;
|
|
848
1099
|
matrixAssetId: string;
|
|
849
1100
|
target: "_blank" | "_self" | "_parent" | "_top";
|
|
1101
|
+
nodeId?: string | undefined;
|
|
850
1102
|
attributes?: (Record<string, string> & {
|
|
851
1103
|
target?: undefined;
|
|
852
1104
|
href?: undefined;
|
|
@@ -855,10 +1107,28 @@ export declare const TwoColumnLayout: z.ZodObject<{
|
|
|
855
1107
|
alignment: "left" | "center" | "right" | "justify";
|
|
856
1108
|
} | undefined;
|
|
857
1109
|
matrixIdentifier?: string | undefined;
|
|
1110
|
+
} | {
|
|
1111
|
+
type: "link-to-dam-asset";
|
|
1112
|
+
target: "_blank" | "_self" | "_parent" | "_top";
|
|
1113
|
+
damSystemType: "bynder";
|
|
1114
|
+
damSystemIdentifier: string;
|
|
1115
|
+
damObjectId: string;
|
|
1116
|
+
nodeId?: string | undefined;
|
|
1117
|
+
attributes?: (Record<string, string> & {
|
|
1118
|
+
target?: undefined;
|
|
1119
|
+
href?: undefined;
|
|
1120
|
+
}) | undefined;
|
|
1121
|
+
formattingOptions?: {
|
|
1122
|
+
alignment: "left" | "center" | "right" | "justify";
|
|
1123
|
+
} | undefined;
|
|
1124
|
+
damAdditional?: {
|
|
1125
|
+
variant?: string | undefined;
|
|
1126
|
+
} | undefined;
|
|
858
1127
|
} | {
|
|
859
1128
|
type: "matrix-image";
|
|
860
1129
|
matrixDomain: string;
|
|
861
1130
|
matrixAssetId: string;
|
|
1131
|
+
nodeId?: string | undefined;
|
|
862
1132
|
attributes?: (Record<string, string> & {
|
|
863
1133
|
src?: undefined;
|
|
864
1134
|
}) | undefined;
|
|
@@ -871,6 +1141,7 @@ export declare const TwoColumnLayout: z.ZodObject<{
|
|
|
871
1141
|
damSystemType: "bynder";
|
|
872
1142
|
damSystemIdentifier: string;
|
|
873
1143
|
damObjectId: string;
|
|
1144
|
+
nodeId?: string | undefined;
|
|
874
1145
|
attributes?: (Record<string, string> & {
|
|
875
1146
|
src?: undefined;
|
|
876
1147
|
}) | undefined;
|
|
@@ -884,6 +1155,7 @@ export declare const TwoColumnLayout: z.ZodObject<{
|
|
|
884
1155
|
type: "component";
|
|
885
1156
|
componentId: string;
|
|
886
1157
|
componentSet: string;
|
|
1158
|
+
nodeId?: string | undefined;
|
|
887
1159
|
componentType?: "server" | "edge" | undefined;
|
|
888
1160
|
contentItem?: {
|
|
889
1161
|
id: string;
|
|
@@ -894,6 +1166,7 @@ export declare const TwoColumnLayout: z.ZodObject<{
|
|
|
894
1166
|
} | {
|
|
895
1167
|
type: "variation";
|
|
896
1168
|
default: {};
|
|
1169
|
+
nodeId?: string | undefined;
|
|
897
1170
|
} | {
|
|
898
1171
|
type: "layout";
|
|
899
1172
|
layout: {
|
|
@@ -919,13 +1192,16 @@ export declare const TwoColumnLayout: z.ZodObject<{
|
|
|
919
1192
|
}>;
|
|
920
1193
|
name: string;
|
|
921
1194
|
};
|
|
1195
|
+
nodeId?: string | undefined;
|
|
922
1196
|
})[];
|
|
923
1197
|
right: ({
|
|
924
1198
|
value: string;
|
|
925
1199
|
type: "text";
|
|
1200
|
+
nodeId?: string | undefined;
|
|
926
1201
|
} | {
|
|
927
1202
|
type: "tag";
|
|
928
1203
|
tag: string;
|
|
1204
|
+
nodeId?: string | undefined;
|
|
929
1205
|
attributes?: Record<string, string> | undefined;
|
|
930
1206
|
font?: {
|
|
931
1207
|
bold?: boolean | undefined;
|
|
@@ -940,11 +1216,13 @@ export declare const TwoColumnLayout: z.ZodObject<{
|
|
|
940
1216
|
} | undefined;
|
|
941
1217
|
} | {
|
|
942
1218
|
type: "fragment";
|
|
1219
|
+
nodeId?: string | undefined;
|
|
943
1220
|
} | {
|
|
944
1221
|
type: "link-to-matrix-asset";
|
|
945
1222
|
matrixDomain: string;
|
|
946
1223
|
matrixAssetId: string;
|
|
947
1224
|
target: "_blank" | "_self" | "_parent" | "_top";
|
|
1225
|
+
nodeId?: string | undefined;
|
|
948
1226
|
attributes?: (Record<string, string> & {
|
|
949
1227
|
target?: undefined;
|
|
950
1228
|
href?: undefined;
|
|
@@ -953,10 +1231,28 @@ export declare const TwoColumnLayout: z.ZodObject<{
|
|
|
953
1231
|
alignment: "left" | "center" | "right" | "justify";
|
|
954
1232
|
} | undefined;
|
|
955
1233
|
matrixIdentifier?: string | undefined;
|
|
1234
|
+
} | {
|
|
1235
|
+
type: "link-to-dam-asset";
|
|
1236
|
+
target: "_blank" | "_self" | "_parent" | "_top";
|
|
1237
|
+
damSystemType: "bynder";
|
|
1238
|
+
damSystemIdentifier: string;
|
|
1239
|
+
damObjectId: string;
|
|
1240
|
+
nodeId?: string | undefined;
|
|
1241
|
+
attributes?: (Record<string, string> & {
|
|
1242
|
+
target?: undefined;
|
|
1243
|
+
href?: undefined;
|
|
1244
|
+
}) | undefined;
|
|
1245
|
+
formattingOptions?: {
|
|
1246
|
+
alignment: "left" | "center" | "right" | "justify";
|
|
1247
|
+
} | undefined;
|
|
1248
|
+
damAdditional?: {
|
|
1249
|
+
variant?: string | undefined;
|
|
1250
|
+
} | undefined;
|
|
956
1251
|
} | {
|
|
957
1252
|
type: "matrix-image";
|
|
958
1253
|
matrixDomain: string;
|
|
959
1254
|
matrixAssetId: string;
|
|
1255
|
+
nodeId?: string | undefined;
|
|
960
1256
|
attributes?: (Record<string, string> & {
|
|
961
1257
|
src?: undefined;
|
|
962
1258
|
}) | undefined;
|
|
@@ -969,6 +1265,7 @@ export declare const TwoColumnLayout: z.ZodObject<{
|
|
|
969
1265
|
damSystemType: "bynder";
|
|
970
1266
|
damSystemIdentifier: string;
|
|
971
1267
|
damObjectId: string;
|
|
1268
|
+
nodeId?: string | undefined;
|
|
972
1269
|
attributes?: (Record<string, string> & {
|
|
973
1270
|
src?: undefined;
|
|
974
1271
|
}) | undefined;
|
|
@@ -982,6 +1279,7 @@ export declare const TwoColumnLayout: z.ZodObject<{
|
|
|
982
1279
|
type: "component";
|
|
983
1280
|
componentId: string;
|
|
984
1281
|
componentSet: string;
|
|
1282
|
+
nodeId?: string | undefined;
|
|
985
1283
|
componentType?: "server" | "edge" | undefined;
|
|
986
1284
|
contentItem?: {
|
|
987
1285
|
id: string;
|
|
@@ -992,6 +1290,7 @@ export declare const TwoColumnLayout: z.ZodObject<{
|
|
|
992
1290
|
} | {
|
|
993
1291
|
type: "variation";
|
|
994
1292
|
default: {};
|
|
1293
|
+
nodeId?: string | undefined;
|
|
995
1294
|
} | {
|
|
996
1295
|
type: "layout";
|
|
997
1296
|
layout: {
|
|
@@ -1017,6 +1316,7 @@ export declare const TwoColumnLayout: z.ZodObject<{
|
|
|
1017
1316
|
}>;
|
|
1018
1317
|
name: string;
|
|
1019
1318
|
};
|
|
1319
|
+
nodeId?: string | undefined;
|
|
1020
1320
|
})[];
|
|
1021
1321
|
}>;
|
|
1022
1322
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -1024,8 +1324,10 @@ export declare const TwoColumnLayout: z.ZodObject<{
|
|
|
1024
1324
|
left: (import("../layout-content").LayoutVariationNode | ({
|
|
1025
1325
|
value: string;
|
|
1026
1326
|
type: "text";
|
|
1327
|
+
nodeId: string;
|
|
1027
1328
|
} | {
|
|
1028
1329
|
type: "matrix-image";
|
|
1330
|
+
nodeId: string;
|
|
1029
1331
|
matrixDomain: string;
|
|
1030
1332
|
matrixAssetId: string;
|
|
1031
1333
|
attributes?: (Record<string, string> & {
|
|
@@ -1037,6 +1339,7 @@ export declare const TwoColumnLayout: z.ZodObject<{
|
|
|
1037
1339
|
matrixIdentifier?: string | undefined;
|
|
1038
1340
|
} | {
|
|
1039
1341
|
type: "dam-image";
|
|
1342
|
+
nodeId: string;
|
|
1040
1343
|
damSystemType: "bynder";
|
|
1041
1344
|
damSystemIdentifier: string;
|
|
1042
1345
|
damObjectId: string;
|
|
@@ -1051,6 +1354,7 @@ export declare const TwoColumnLayout: z.ZodObject<{
|
|
|
1051
1354
|
} | undefined;
|
|
1052
1355
|
} | {
|
|
1053
1356
|
type: "component";
|
|
1357
|
+
nodeId: string;
|
|
1054
1358
|
componentId: string;
|
|
1055
1359
|
componentSet: string;
|
|
1056
1360
|
componentType?: "server" | "edge" | undefined;
|
|
@@ -1062,6 +1366,7 @@ export declare const TwoColumnLayout: z.ZodObject<{
|
|
|
1062
1366
|
} | undefined;
|
|
1063
1367
|
} | (({
|
|
1064
1368
|
type: "tag";
|
|
1369
|
+
nodeId: string;
|
|
1065
1370
|
tag: string;
|
|
1066
1371
|
attributes?: Record<string, string> | undefined;
|
|
1067
1372
|
font?: {
|
|
@@ -1077,8 +1382,10 @@ export declare const TwoColumnLayout: z.ZodObject<{
|
|
|
1077
1382
|
} | undefined;
|
|
1078
1383
|
} | {
|
|
1079
1384
|
type: "fragment";
|
|
1385
|
+
nodeId: string;
|
|
1080
1386
|
} | {
|
|
1081
1387
|
type: "link-to-matrix-asset";
|
|
1388
|
+
nodeId: string;
|
|
1082
1389
|
matrixDomain: string;
|
|
1083
1390
|
matrixAssetId: string;
|
|
1084
1391
|
target: "_blank" | "_self" | "_parent" | "_top";
|
|
@@ -1090,14 +1397,33 @@ export declare const TwoColumnLayout: z.ZodObject<{
|
|
|
1090
1397
|
alignment: "left" | "center" | "right" | "justify";
|
|
1091
1398
|
} | undefined;
|
|
1092
1399
|
matrixIdentifier?: string | undefined;
|
|
1400
|
+
} | {
|
|
1401
|
+
type: "link-to-dam-asset";
|
|
1402
|
+
nodeId: string;
|
|
1403
|
+
target: "_blank" | "_self" | "_parent" | "_top";
|
|
1404
|
+
damSystemType: "bynder";
|
|
1405
|
+
damSystemIdentifier: string;
|
|
1406
|
+
damObjectId: string;
|
|
1407
|
+
attributes?: (Record<string, string> & {
|
|
1408
|
+
target?: undefined;
|
|
1409
|
+
href?: undefined;
|
|
1410
|
+
}) | undefined;
|
|
1411
|
+
formattingOptions?: {
|
|
1412
|
+
alignment: "left" | "center" | "right" | "justify";
|
|
1413
|
+
} | undefined;
|
|
1414
|
+
damAdditional?: {
|
|
1415
|
+
variant?: string | undefined;
|
|
1416
|
+
} | undefined;
|
|
1093
1417
|
}) & {
|
|
1094
1418
|
children: import("../layout-content").LayoutContentNodes[];
|
|
1095
1419
|
})) | import("../layout-content").DeveloperDefinedLayoutNode)[];
|
|
1096
1420
|
right: (import("../layout-content").LayoutVariationNode | ({
|
|
1097
1421
|
value: string;
|
|
1098
1422
|
type: "text";
|
|
1423
|
+
nodeId: string;
|
|
1099
1424
|
} | {
|
|
1100
1425
|
type: "matrix-image";
|
|
1426
|
+
nodeId: string;
|
|
1101
1427
|
matrixDomain: string;
|
|
1102
1428
|
matrixAssetId: string;
|
|
1103
1429
|
attributes?: (Record<string, string> & {
|
|
@@ -1109,6 +1435,7 @@ export declare const TwoColumnLayout: z.ZodObject<{
|
|
|
1109
1435
|
matrixIdentifier?: string | undefined;
|
|
1110
1436
|
} | {
|
|
1111
1437
|
type: "dam-image";
|
|
1438
|
+
nodeId: string;
|
|
1112
1439
|
damSystemType: "bynder";
|
|
1113
1440
|
damSystemIdentifier: string;
|
|
1114
1441
|
damObjectId: string;
|
|
@@ -1123,6 +1450,7 @@ export declare const TwoColumnLayout: z.ZodObject<{
|
|
|
1123
1450
|
} | undefined;
|
|
1124
1451
|
} | {
|
|
1125
1452
|
type: "component";
|
|
1453
|
+
nodeId: string;
|
|
1126
1454
|
componentId: string;
|
|
1127
1455
|
componentSet: string;
|
|
1128
1456
|
componentType?: "server" | "edge" | undefined;
|
|
@@ -1134,6 +1462,7 @@ export declare const TwoColumnLayout: z.ZodObject<{
|
|
|
1134
1462
|
} | undefined;
|
|
1135
1463
|
} | (({
|
|
1136
1464
|
type: "tag";
|
|
1465
|
+
nodeId: string;
|
|
1137
1466
|
tag: string;
|
|
1138
1467
|
attributes?: Record<string, string> | undefined;
|
|
1139
1468
|
font?: {
|
|
@@ -1149,8 +1478,10 @@ export declare const TwoColumnLayout: z.ZodObject<{
|
|
|
1149
1478
|
} | undefined;
|
|
1150
1479
|
} | {
|
|
1151
1480
|
type: "fragment";
|
|
1481
|
+
nodeId: string;
|
|
1152
1482
|
} | {
|
|
1153
1483
|
type: "link-to-matrix-asset";
|
|
1484
|
+
nodeId: string;
|
|
1154
1485
|
matrixDomain: string;
|
|
1155
1486
|
matrixAssetId: string;
|
|
1156
1487
|
target: "_blank" | "_self" | "_parent" | "_top";
|
|
@@ -1162,6 +1493,23 @@ export declare const TwoColumnLayout: z.ZodObject<{
|
|
|
1162
1493
|
alignment: "left" | "center" | "right" | "justify";
|
|
1163
1494
|
} | undefined;
|
|
1164
1495
|
matrixIdentifier?: string | undefined;
|
|
1496
|
+
} | {
|
|
1497
|
+
type: "link-to-dam-asset";
|
|
1498
|
+
nodeId: string;
|
|
1499
|
+
target: "_blank" | "_self" | "_parent" | "_top";
|
|
1500
|
+
damSystemType: "bynder";
|
|
1501
|
+
damSystemIdentifier: string;
|
|
1502
|
+
damObjectId: string;
|
|
1503
|
+
attributes?: (Record<string, string> & {
|
|
1504
|
+
target?: undefined;
|
|
1505
|
+
href?: undefined;
|
|
1506
|
+
}) | undefined;
|
|
1507
|
+
formattingOptions?: {
|
|
1508
|
+
alignment: "left" | "center" | "right" | "justify";
|
|
1509
|
+
} | undefined;
|
|
1510
|
+
damAdditional?: {
|
|
1511
|
+
variant?: string | undefined;
|
|
1512
|
+
} | undefined;
|
|
1165
1513
|
}) & {
|
|
1166
1514
|
children: import("../layout-content").LayoutContentNodes[];
|
|
1167
1515
|
})) | import("../layout-content").DeveloperDefinedLayoutNode)[];
|
|
@@ -1172,9 +1520,11 @@ export declare const TwoColumnLayout: z.ZodObject<{
|
|
|
1172
1520
|
left: ({
|
|
1173
1521
|
value: string;
|
|
1174
1522
|
type: "text";
|
|
1523
|
+
nodeId?: string | undefined;
|
|
1175
1524
|
} | {
|
|
1176
1525
|
type: "tag";
|
|
1177
1526
|
tag: string;
|
|
1527
|
+
nodeId?: string | undefined;
|
|
1178
1528
|
attributes?: Record<string, string> | undefined;
|
|
1179
1529
|
font?: {
|
|
1180
1530
|
bold?: boolean | undefined;
|
|
@@ -1189,11 +1539,13 @@ export declare const TwoColumnLayout: z.ZodObject<{
|
|
|
1189
1539
|
} | undefined;
|
|
1190
1540
|
} | {
|
|
1191
1541
|
type: "fragment";
|
|
1542
|
+
nodeId?: string | undefined;
|
|
1192
1543
|
} | {
|
|
1193
1544
|
type: "link-to-matrix-asset";
|
|
1194
1545
|
matrixDomain: string;
|
|
1195
1546
|
matrixAssetId: string;
|
|
1196
1547
|
target: "_blank" | "_self" | "_parent" | "_top";
|
|
1548
|
+
nodeId?: string | undefined;
|
|
1197
1549
|
attributes?: (Record<string, string> & {
|
|
1198
1550
|
target?: undefined;
|
|
1199
1551
|
href?: undefined;
|
|
@@ -1202,10 +1554,28 @@ export declare const TwoColumnLayout: z.ZodObject<{
|
|
|
1202
1554
|
alignment: "left" | "center" | "right" | "justify";
|
|
1203
1555
|
} | undefined;
|
|
1204
1556
|
matrixIdentifier?: string | undefined;
|
|
1557
|
+
} | {
|
|
1558
|
+
type: "link-to-dam-asset";
|
|
1559
|
+
target: "_blank" | "_self" | "_parent" | "_top";
|
|
1560
|
+
damSystemType: "bynder";
|
|
1561
|
+
damSystemIdentifier: string;
|
|
1562
|
+
damObjectId: string;
|
|
1563
|
+
nodeId?: string | undefined;
|
|
1564
|
+
attributes?: (Record<string, string> & {
|
|
1565
|
+
target?: undefined;
|
|
1566
|
+
href?: undefined;
|
|
1567
|
+
}) | undefined;
|
|
1568
|
+
formattingOptions?: {
|
|
1569
|
+
alignment: "left" | "center" | "right" | "justify";
|
|
1570
|
+
} | undefined;
|
|
1571
|
+
damAdditional?: {
|
|
1572
|
+
variant?: string | undefined;
|
|
1573
|
+
} | undefined;
|
|
1205
1574
|
} | {
|
|
1206
1575
|
type: "matrix-image";
|
|
1207
1576
|
matrixDomain: string;
|
|
1208
1577
|
matrixAssetId: string;
|
|
1578
|
+
nodeId?: string | undefined;
|
|
1209
1579
|
attributes?: (Record<string, string> & {
|
|
1210
1580
|
src?: undefined;
|
|
1211
1581
|
}) | undefined;
|
|
@@ -1218,6 +1588,7 @@ export declare const TwoColumnLayout: z.ZodObject<{
|
|
|
1218
1588
|
damSystemType: "bynder";
|
|
1219
1589
|
damSystemIdentifier: string;
|
|
1220
1590
|
damObjectId: string;
|
|
1591
|
+
nodeId?: string | undefined;
|
|
1221
1592
|
attributes?: (Record<string, string> & {
|
|
1222
1593
|
src?: undefined;
|
|
1223
1594
|
}) | undefined;
|
|
@@ -1231,6 +1602,7 @@ export declare const TwoColumnLayout: z.ZodObject<{
|
|
|
1231
1602
|
type: "component";
|
|
1232
1603
|
componentId: string;
|
|
1233
1604
|
componentSet: string;
|
|
1605
|
+
nodeId?: string | undefined;
|
|
1234
1606
|
componentType?: "server" | "edge" | undefined;
|
|
1235
1607
|
contentItem?: {
|
|
1236
1608
|
id: string;
|
|
@@ -1241,6 +1613,7 @@ export declare const TwoColumnLayout: z.ZodObject<{
|
|
|
1241
1613
|
} | {
|
|
1242
1614
|
type: "variation";
|
|
1243
1615
|
default: {};
|
|
1616
|
+
nodeId?: string | undefined;
|
|
1244
1617
|
} | {
|
|
1245
1618
|
type: "layout";
|
|
1246
1619
|
layout: {
|
|
@@ -1266,13 +1639,16 @@ export declare const TwoColumnLayout: z.ZodObject<{
|
|
|
1266
1639
|
}>;
|
|
1267
1640
|
name: string;
|
|
1268
1641
|
};
|
|
1642
|
+
nodeId?: string | undefined;
|
|
1269
1643
|
})[];
|
|
1270
1644
|
right: ({
|
|
1271
1645
|
value: string;
|
|
1272
1646
|
type: "text";
|
|
1647
|
+
nodeId?: string | undefined;
|
|
1273
1648
|
} | {
|
|
1274
1649
|
type: "tag";
|
|
1275
1650
|
tag: string;
|
|
1651
|
+
nodeId?: string | undefined;
|
|
1276
1652
|
attributes?: Record<string, string> | undefined;
|
|
1277
1653
|
font?: {
|
|
1278
1654
|
bold?: boolean | undefined;
|
|
@@ -1287,11 +1663,13 @@ export declare const TwoColumnLayout: z.ZodObject<{
|
|
|
1287
1663
|
} | undefined;
|
|
1288
1664
|
} | {
|
|
1289
1665
|
type: "fragment";
|
|
1666
|
+
nodeId?: string | undefined;
|
|
1290
1667
|
} | {
|
|
1291
1668
|
type: "link-to-matrix-asset";
|
|
1292
1669
|
matrixDomain: string;
|
|
1293
1670
|
matrixAssetId: string;
|
|
1294
1671
|
target: "_blank" | "_self" | "_parent" | "_top";
|
|
1672
|
+
nodeId?: string | undefined;
|
|
1295
1673
|
attributes?: (Record<string, string> & {
|
|
1296
1674
|
target?: undefined;
|
|
1297
1675
|
href?: undefined;
|
|
@@ -1300,10 +1678,28 @@ export declare const TwoColumnLayout: z.ZodObject<{
|
|
|
1300
1678
|
alignment: "left" | "center" | "right" | "justify";
|
|
1301
1679
|
} | undefined;
|
|
1302
1680
|
matrixIdentifier?: string | undefined;
|
|
1681
|
+
} | {
|
|
1682
|
+
type: "link-to-dam-asset";
|
|
1683
|
+
target: "_blank" | "_self" | "_parent" | "_top";
|
|
1684
|
+
damSystemType: "bynder";
|
|
1685
|
+
damSystemIdentifier: string;
|
|
1686
|
+
damObjectId: string;
|
|
1687
|
+
nodeId?: string | undefined;
|
|
1688
|
+
attributes?: (Record<string, string> & {
|
|
1689
|
+
target?: undefined;
|
|
1690
|
+
href?: undefined;
|
|
1691
|
+
}) | undefined;
|
|
1692
|
+
formattingOptions?: {
|
|
1693
|
+
alignment: "left" | "center" | "right" | "justify";
|
|
1694
|
+
} | undefined;
|
|
1695
|
+
damAdditional?: {
|
|
1696
|
+
variant?: string | undefined;
|
|
1697
|
+
} | undefined;
|
|
1303
1698
|
} | {
|
|
1304
1699
|
type: "matrix-image";
|
|
1305
1700
|
matrixDomain: string;
|
|
1306
1701
|
matrixAssetId: string;
|
|
1702
|
+
nodeId?: string | undefined;
|
|
1307
1703
|
attributes?: (Record<string, string> & {
|
|
1308
1704
|
src?: undefined;
|
|
1309
1705
|
}) | undefined;
|
|
@@ -1316,6 +1712,7 @@ export declare const TwoColumnLayout: z.ZodObject<{
|
|
|
1316
1712
|
damSystemType: "bynder";
|
|
1317
1713
|
damSystemIdentifier: string;
|
|
1318
1714
|
damObjectId: string;
|
|
1715
|
+
nodeId?: string | undefined;
|
|
1319
1716
|
attributes?: (Record<string, string> & {
|
|
1320
1717
|
src?: undefined;
|
|
1321
1718
|
}) | undefined;
|
|
@@ -1329,6 +1726,7 @@ export declare const TwoColumnLayout: z.ZodObject<{
|
|
|
1329
1726
|
type: "component";
|
|
1330
1727
|
componentId: string;
|
|
1331
1728
|
componentSet: string;
|
|
1729
|
+
nodeId?: string | undefined;
|
|
1332
1730
|
componentType?: "server" | "edge" | undefined;
|
|
1333
1731
|
contentItem?: {
|
|
1334
1732
|
id: string;
|
|
@@ -1339,6 +1737,7 @@ export declare const TwoColumnLayout: z.ZodObject<{
|
|
|
1339
1737
|
} | {
|
|
1340
1738
|
type: "variation";
|
|
1341
1739
|
default: {};
|
|
1740
|
+
nodeId?: string | undefined;
|
|
1342
1741
|
} | {
|
|
1343
1742
|
type: "layout";
|
|
1344
1743
|
layout: {
|
|
@@ -1364,6 +1763,7 @@ export declare const TwoColumnLayout: z.ZodObject<{
|
|
|
1364
1763
|
}>;
|
|
1365
1764
|
name: string;
|
|
1366
1765
|
};
|
|
1766
|
+
nodeId?: string | undefined;
|
|
1367
1767
|
})[];
|
|
1368
1768
|
};
|
|
1369
1769
|
name: "two-column";
|