@squiz/dx-page-contents-lib 1.70.0 → 1.70.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 +32 -32
- package/lib/layout-content.d.ts +77 -77
- package/lib/layout-content.js +2 -2
- package/lib/layout-content.js.map +1 -1
- package/lib/layout-content.spec.js +17 -7
- package/lib/layout-content.spec.js.map +1 -1
- package/lib/layouts/index.d.ts +498 -1602
- package/lib/layouts/raw.layout.d.ts +124 -400
- package/lib/layouts/single-column.layout.d.ts +124 -400
- package/lib/layouts/two-column.layout.d.ts +248 -800
- package/lib/mocks/PageContentsHelpers.d.ts +622 -2002
- package/lib/mocks/PageContentsMocks.d.ts +1 -1
- package/lib/page-contents-lib.js +4 -4
- package/lib/page-contents-lib.js.map +1 -1
- package/lib/resolvers/create-variant-resolver.d.ts +1 -0
- package/lib/resolvers/create-variant-resolver.js +30 -12
- package/lib/resolvers/create-variant-resolver.js.map +1 -1
- package/package.json +1 -1
|
@@ -9,27 +9,27 @@ export declare const RawLayout: z.ZodObject<{
|
|
|
9
9
|
type: "matrix-image";
|
|
10
10
|
matrixDomain: string;
|
|
11
11
|
matrixAssetId: string;
|
|
12
|
-
matrixIdentifier?: string | undefined;
|
|
13
|
-
formattingOptions?: {
|
|
14
|
-
alignment: "left" | "center" | "right" | "justify";
|
|
15
|
-
} | undefined;
|
|
16
12
|
attributes?: (Record<string, string> & {
|
|
17
13
|
src?: undefined;
|
|
18
14
|
}) | undefined;
|
|
15
|
+
formattingOptions?: {
|
|
16
|
+
alignment: "left" | "center" | "right" | "justify";
|
|
17
|
+
} | undefined;
|
|
18
|
+
matrixIdentifier?: string | undefined;
|
|
19
19
|
} | {
|
|
20
20
|
type: "dam-image";
|
|
21
21
|
damSystemType: "bynder";
|
|
22
22
|
damSystemIdentifier: string;
|
|
23
23
|
damObjectId: string;
|
|
24
|
-
damAdditional?: {
|
|
25
|
-
variant?: string | undefined;
|
|
26
|
-
} | undefined;
|
|
27
|
-
formattingOptions?: {
|
|
28
|
-
alignment: "left" | "center" | "right" | "justify";
|
|
29
|
-
} | undefined;
|
|
30
24
|
attributes?: (Record<string, string> & {
|
|
31
25
|
src?: undefined;
|
|
32
26
|
}) | undefined;
|
|
27
|
+
formattingOptions?: {
|
|
28
|
+
alignment: "left" | "center" | "right" | "justify";
|
|
29
|
+
} | undefined;
|
|
30
|
+
damAdditional?: {
|
|
31
|
+
variant?: string | undefined;
|
|
32
|
+
} | undefined;
|
|
33
33
|
} | {
|
|
34
34
|
type: "component";
|
|
35
35
|
componentId: string;
|
|
@@ -63,85 +63,16 @@ export declare const RawLayout: z.ZodObject<{
|
|
|
63
63
|
matrixDomain: string;
|
|
64
64
|
matrixAssetId: string;
|
|
65
65
|
target: "_blank" | "_self" | "_parent" | "_top";
|
|
66
|
-
matrixIdentifier?: string | undefined;
|
|
67
|
-
formattingOptions?: {
|
|
68
|
-
alignment: "left" | "center" | "right" | "justify";
|
|
69
|
-
} | undefined;
|
|
70
66
|
attributes?: (Record<string, string> & {
|
|
71
|
-
href?: undefined;
|
|
72
67
|
target?: undefined;
|
|
68
|
+
href?: undefined;
|
|
73
69
|
}) | undefined;
|
|
70
|
+
formattingOptions?: {
|
|
71
|
+
alignment: "left" | "center" | "right" | "justify";
|
|
72
|
+
} | undefined;
|
|
73
|
+
matrixIdentifier?: string | undefined;
|
|
74
74
|
}) & {
|
|
75
|
-
children:
|
|
76
|
-
value: string;
|
|
77
|
-
type: "text";
|
|
78
|
-
} | {
|
|
79
|
-
type: "matrix-image";
|
|
80
|
-
matrixDomain: string;
|
|
81
|
-
matrixAssetId: string;
|
|
82
|
-
matrixIdentifier?: string | undefined;
|
|
83
|
-
formattingOptions?: {
|
|
84
|
-
alignment: "left" | "center" | "right" | "justify";
|
|
85
|
-
} | undefined;
|
|
86
|
-
attributes?: (Record<string, string> & {
|
|
87
|
-
src?: undefined;
|
|
88
|
-
}) | undefined;
|
|
89
|
-
} | {
|
|
90
|
-
type: "dam-image";
|
|
91
|
-
damSystemType: "bynder";
|
|
92
|
-
damSystemIdentifier: string;
|
|
93
|
-
damObjectId: string;
|
|
94
|
-
damAdditional?: {
|
|
95
|
-
variant?: string | undefined;
|
|
96
|
-
} | undefined;
|
|
97
|
-
formattingOptions?: {
|
|
98
|
-
alignment: "left" | "center" | "right" | "justify";
|
|
99
|
-
} | undefined;
|
|
100
|
-
attributes?: (Record<string, string> & {
|
|
101
|
-
src?: undefined;
|
|
102
|
-
}) | undefined;
|
|
103
|
-
} | {
|
|
104
|
-
type: "component";
|
|
105
|
-
componentId: string;
|
|
106
|
-
componentSet: string;
|
|
107
|
-
componentType?: "server" | "edge" | undefined;
|
|
108
|
-
contentItem?: {
|
|
109
|
-
id: string;
|
|
110
|
-
} | {
|
|
111
|
-
content: Record<string, unknown>;
|
|
112
|
-
schemaName: string;
|
|
113
|
-
} | undefined;
|
|
114
|
-
} | (({
|
|
115
|
-
type: "tag";
|
|
116
|
-
tag: string;
|
|
117
|
-
attributes?: Record<string, string> | undefined;
|
|
118
|
-
font?: {
|
|
119
|
-
bold?: boolean | undefined;
|
|
120
|
-
italics?: boolean | undefined;
|
|
121
|
-
underline?: boolean | undefined;
|
|
122
|
-
color?: string | undefined;
|
|
123
|
-
size?: string | undefined;
|
|
124
|
-
fontFamily?: string | undefined;
|
|
125
|
-
} | undefined;
|
|
126
|
-
formattingOptions?: {
|
|
127
|
-
alignment: "left" | "center" | "right" | "justify";
|
|
128
|
-
} | undefined;
|
|
129
|
-
} | {
|
|
130
|
-
type: "fragment";
|
|
131
|
-
} | {
|
|
132
|
-
type: "link-to-matrix-asset";
|
|
133
|
-
matrixDomain: string;
|
|
134
|
-
matrixAssetId: string;
|
|
135
|
-
target: "_blank" | "_self" | "_parent" | "_top";
|
|
136
|
-
matrixIdentifier?: string | undefined;
|
|
137
|
-
formattingOptions?: {
|
|
138
|
-
alignment: "left" | "center" | "right" | "justify";
|
|
139
|
-
} | undefined;
|
|
140
|
-
attributes?: (Record<string, string> & {
|
|
141
|
-
href?: undefined;
|
|
142
|
-
target?: undefined;
|
|
143
|
-
}) | undefined;
|
|
144
|
-
}) & any)))[];
|
|
75
|
+
children: import("../layout-content").LayoutContentNodes[];
|
|
145
76
|
}), z.ZodTypeDef, {
|
|
146
77
|
value: string;
|
|
147
78
|
type: "text";
|
|
@@ -167,39 +98,39 @@ export declare const RawLayout: z.ZodObject<{
|
|
|
167
98
|
matrixDomain: string;
|
|
168
99
|
matrixAssetId: string;
|
|
169
100
|
target: "_blank" | "_self" | "_parent" | "_top";
|
|
170
|
-
matrixIdentifier?: string | undefined;
|
|
171
|
-
formattingOptions?: {
|
|
172
|
-
alignment: "left" | "center" | "right" | "justify";
|
|
173
|
-
} | undefined;
|
|
174
101
|
attributes?: (Record<string, string> & {
|
|
175
|
-
href?: undefined;
|
|
176
102
|
target?: undefined;
|
|
103
|
+
href?: undefined;
|
|
177
104
|
}) | undefined;
|
|
105
|
+
formattingOptions?: {
|
|
106
|
+
alignment: "left" | "center" | "right" | "justify";
|
|
107
|
+
} | undefined;
|
|
108
|
+
matrixIdentifier?: string | undefined;
|
|
178
109
|
} | {
|
|
179
110
|
type: "matrix-image";
|
|
180
111
|
matrixDomain: string;
|
|
181
112
|
matrixAssetId: string;
|
|
182
|
-
matrixIdentifier?: string | undefined;
|
|
183
|
-
formattingOptions?: {
|
|
184
|
-
alignment: "left" | "center" | "right" | "justify";
|
|
185
|
-
} | undefined;
|
|
186
113
|
attributes?: (Record<string, string> & {
|
|
187
114
|
src?: undefined;
|
|
188
115
|
}) | undefined;
|
|
116
|
+
formattingOptions?: {
|
|
117
|
+
alignment: "left" | "center" | "right" | "justify";
|
|
118
|
+
} | undefined;
|
|
119
|
+
matrixIdentifier?: string | undefined;
|
|
189
120
|
} | {
|
|
190
121
|
type: "dam-image";
|
|
191
122
|
damSystemType: "bynder";
|
|
192
123
|
damSystemIdentifier: string;
|
|
193
124
|
damObjectId: string;
|
|
194
|
-
damAdditional?: {
|
|
195
|
-
variant?: string | undefined;
|
|
196
|
-
} | undefined;
|
|
197
|
-
formattingOptions?: {
|
|
198
|
-
alignment: "left" | "center" | "right" | "justify";
|
|
199
|
-
} | undefined;
|
|
200
125
|
attributes?: (Record<string, string> & {
|
|
201
126
|
src?: undefined;
|
|
202
127
|
}) | undefined;
|
|
128
|
+
formattingOptions?: {
|
|
129
|
+
alignment: "left" | "center" | "right" | "justify";
|
|
130
|
+
} | undefined;
|
|
131
|
+
damAdditional?: {
|
|
132
|
+
variant?: string | undefined;
|
|
133
|
+
} | undefined;
|
|
203
134
|
} | {
|
|
204
135
|
type: "component";
|
|
205
136
|
componentId: string;
|
|
@@ -221,27 +152,27 @@ export declare const RawLayout: z.ZodObject<{
|
|
|
221
152
|
type: "matrix-image";
|
|
222
153
|
matrixDomain: string;
|
|
223
154
|
matrixAssetId: string;
|
|
224
|
-
matrixIdentifier?: string | undefined;
|
|
225
|
-
formattingOptions?: {
|
|
226
|
-
alignment: "left" | "center" | "right" | "justify";
|
|
227
|
-
} | undefined;
|
|
228
155
|
attributes?: (Record<string, string> & {
|
|
229
156
|
src?: undefined;
|
|
230
157
|
}) | undefined;
|
|
158
|
+
formattingOptions?: {
|
|
159
|
+
alignment: "left" | "center" | "right" | "justify";
|
|
160
|
+
} | undefined;
|
|
161
|
+
matrixIdentifier?: string | undefined;
|
|
231
162
|
} | {
|
|
232
163
|
type: "dam-image";
|
|
233
164
|
damSystemType: "bynder";
|
|
234
165
|
damSystemIdentifier: string;
|
|
235
166
|
damObjectId: string;
|
|
236
|
-
damAdditional?: {
|
|
237
|
-
variant?: string | undefined;
|
|
238
|
-
} | undefined;
|
|
239
|
-
formattingOptions?: {
|
|
240
|
-
alignment: "left" | "center" | "right" | "justify";
|
|
241
|
-
} | undefined;
|
|
242
167
|
attributes?: (Record<string, string> & {
|
|
243
168
|
src?: undefined;
|
|
244
169
|
}) | undefined;
|
|
170
|
+
formattingOptions?: {
|
|
171
|
+
alignment: "left" | "center" | "right" | "justify";
|
|
172
|
+
} | undefined;
|
|
173
|
+
damAdditional?: {
|
|
174
|
+
variant?: string | undefined;
|
|
175
|
+
} | undefined;
|
|
245
176
|
} | {
|
|
246
177
|
type: "component";
|
|
247
178
|
componentId: string;
|
|
@@ -275,85 +206,16 @@ export declare const RawLayout: z.ZodObject<{
|
|
|
275
206
|
matrixDomain: string;
|
|
276
207
|
matrixAssetId: string;
|
|
277
208
|
target: "_blank" | "_self" | "_parent" | "_top";
|
|
278
|
-
matrixIdentifier?: string | undefined;
|
|
279
|
-
formattingOptions?: {
|
|
280
|
-
alignment: "left" | "center" | "right" | "justify";
|
|
281
|
-
} | undefined;
|
|
282
209
|
attributes?: (Record<string, string> & {
|
|
283
|
-
href?: undefined;
|
|
284
210
|
target?: undefined;
|
|
211
|
+
href?: undefined;
|
|
285
212
|
}) | undefined;
|
|
213
|
+
formattingOptions?: {
|
|
214
|
+
alignment: "left" | "center" | "right" | "justify";
|
|
215
|
+
} | undefined;
|
|
216
|
+
matrixIdentifier?: string | undefined;
|
|
286
217
|
}) & {
|
|
287
|
-
children:
|
|
288
|
-
value: string;
|
|
289
|
-
type: "text";
|
|
290
|
-
} | {
|
|
291
|
-
type: "matrix-image";
|
|
292
|
-
matrixDomain: string;
|
|
293
|
-
matrixAssetId: string;
|
|
294
|
-
matrixIdentifier?: string | undefined;
|
|
295
|
-
formattingOptions?: {
|
|
296
|
-
alignment: "left" | "center" | "right" | "justify";
|
|
297
|
-
} | undefined;
|
|
298
|
-
attributes?: (Record<string, string> & {
|
|
299
|
-
src?: undefined;
|
|
300
|
-
}) | undefined;
|
|
301
|
-
} | {
|
|
302
|
-
type: "dam-image";
|
|
303
|
-
damSystemType: "bynder";
|
|
304
|
-
damSystemIdentifier: string;
|
|
305
|
-
damObjectId: string;
|
|
306
|
-
damAdditional?: {
|
|
307
|
-
variant?: string | undefined;
|
|
308
|
-
} | undefined;
|
|
309
|
-
formattingOptions?: {
|
|
310
|
-
alignment: "left" | "center" | "right" | "justify";
|
|
311
|
-
} | undefined;
|
|
312
|
-
attributes?: (Record<string, string> & {
|
|
313
|
-
src?: undefined;
|
|
314
|
-
}) | undefined;
|
|
315
|
-
} | {
|
|
316
|
-
type: "component";
|
|
317
|
-
componentId: string;
|
|
318
|
-
componentSet: string;
|
|
319
|
-
componentType?: "server" | "edge" | undefined;
|
|
320
|
-
contentItem?: {
|
|
321
|
-
id: string;
|
|
322
|
-
} | {
|
|
323
|
-
content: Record<string, unknown>;
|
|
324
|
-
schemaName: string;
|
|
325
|
-
} | undefined;
|
|
326
|
-
} | (({
|
|
327
|
-
type: "tag";
|
|
328
|
-
tag: string;
|
|
329
|
-
attributes?: Record<string, string> | undefined;
|
|
330
|
-
font?: {
|
|
331
|
-
bold?: boolean | undefined;
|
|
332
|
-
italics?: boolean | undefined;
|
|
333
|
-
underline?: boolean | undefined;
|
|
334
|
-
color?: string | undefined;
|
|
335
|
-
size?: string | undefined;
|
|
336
|
-
fontFamily?: string | undefined;
|
|
337
|
-
} | undefined;
|
|
338
|
-
formattingOptions?: {
|
|
339
|
-
alignment: "left" | "center" | "right" | "justify";
|
|
340
|
-
} | undefined;
|
|
341
|
-
} | {
|
|
342
|
-
type: "fragment";
|
|
343
|
-
} | {
|
|
344
|
-
type: "link-to-matrix-asset";
|
|
345
|
-
matrixDomain: string;
|
|
346
|
-
matrixAssetId: string;
|
|
347
|
-
target: "_blank" | "_self" | "_parent" | "_top";
|
|
348
|
-
matrixIdentifier?: string | undefined;
|
|
349
|
-
formattingOptions?: {
|
|
350
|
-
alignment: "left" | "center" | "right" | "justify";
|
|
351
|
-
} | undefined;
|
|
352
|
-
attributes?: (Record<string, string> & {
|
|
353
|
-
href?: undefined;
|
|
354
|
-
target?: undefined;
|
|
355
|
-
}) | undefined;
|
|
356
|
-
}) & any)))[];
|
|
218
|
+
children: import("../layout-content").LayoutContentNodes[];
|
|
357
219
|
})))[], ({
|
|
358
220
|
value: string;
|
|
359
221
|
type: "text";
|
|
@@ -379,39 +241,39 @@ export declare const RawLayout: z.ZodObject<{
|
|
|
379
241
|
matrixDomain: string;
|
|
380
242
|
matrixAssetId: string;
|
|
381
243
|
target: "_blank" | "_self" | "_parent" | "_top";
|
|
382
|
-
matrixIdentifier?: string | undefined;
|
|
383
|
-
formattingOptions?: {
|
|
384
|
-
alignment: "left" | "center" | "right" | "justify";
|
|
385
|
-
} | undefined;
|
|
386
244
|
attributes?: (Record<string, string> & {
|
|
387
|
-
href?: undefined;
|
|
388
245
|
target?: undefined;
|
|
246
|
+
href?: undefined;
|
|
389
247
|
}) | undefined;
|
|
248
|
+
formattingOptions?: {
|
|
249
|
+
alignment: "left" | "center" | "right" | "justify";
|
|
250
|
+
} | undefined;
|
|
251
|
+
matrixIdentifier?: string | undefined;
|
|
390
252
|
} | {
|
|
391
253
|
type: "matrix-image";
|
|
392
254
|
matrixDomain: string;
|
|
393
255
|
matrixAssetId: string;
|
|
394
|
-
matrixIdentifier?: string | undefined;
|
|
395
|
-
formattingOptions?: {
|
|
396
|
-
alignment: "left" | "center" | "right" | "justify";
|
|
397
|
-
} | undefined;
|
|
398
256
|
attributes?: (Record<string, string> & {
|
|
399
257
|
src?: undefined;
|
|
400
258
|
}) | undefined;
|
|
259
|
+
formattingOptions?: {
|
|
260
|
+
alignment: "left" | "center" | "right" | "justify";
|
|
261
|
+
} | undefined;
|
|
262
|
+
matrixIdentifier?: string | undefined;
|
|
401
263
|
} | {
|
|
402
264
|
type: "dam-image";
|
|
403
265
|
damSystemType: "bynder";
|
|
404
266
|
damSystemIdentifier: string;
|
|
405
267
|
damObjectId: string;
|
|
406
|
-
damAdditional?: {
|
|
407
|
-
variant?: string | undefined;
|
|
408
|
-
} | undefined;
|
|
409
|
-
formattingOptions?: {
|
|
410
|
-
alignment: "left" | "center" | "right" | "justify";
|
|
411
|
-
} | undefined;
|
|
412
268
|
attributes?: (Record<string, string> & {
|
|
413
269
|
src?: undefined;
|
|
414
270
|
}) | undefined;
|
|
271
|
+
formattingOptions?: {
|
|
272
|
+
alignment: "left" | "center" | "right" | "justify";
|
|
273
|
+
} | undefined;
|
|
274
|
+
damAdditional?: {
|
|
275
|
+
variant?: string | undefined;
|
|
276
|
+
} | undefined;
|
|
415
277
|
} | {
|
|
416
278
|
type: "component";
|
|
417
279
|
componentId: string;
|
|
@@ -435,27 +297,27 @@ export declare const RawLayout: z.ZodObject<{
|
|
|
435
297
|
type: "matrix-image";
|
|
436
298
|
matrixDomain: string;
|
|
437
299
|
matrixAssetId: string;
|
|
438
|
-
matrixIdentifier?: string | undefined;
|
|
439
|
-
formattingOptions?: {
|
|
440
|
-
alignment: "left" | "center" | "right" | "justify";
|
|
441
|
-
} | undefined;
|
|
442
300
|
attributes?: (Record<string, string> & {
|
|
443
301
|
src?: undefined;
|
|
444
302
|
}) | undefined;
|
|
303
|
+
formattingOptions?: {
|
|
304
|
+
alignment: "left" | "center" | "right" | "justify";
|
|
305
|
+
} | undefined;
|
|
306
|
+
matrixIdentifier?: string | undefined;
|
|
445
307
|
} | {
|
|
446
308
|
type: "dam-image";
|
|
447
309
|
damSystemType: "bynder";
|
|
448
310
|
damSystemIdentifier: string;
|
|
449
311
|
damObjectId: string;
|
|
450
|
-
damAdditional?: {
|
|
451
|
-
variant?: string | undefined;
|
|
452
|
-
} | undefined;
|
|
453
|
-
formattingOptions?: {
|
|
454
|
-
alignment: "left" | "center" | "right" | "justify";
|
|
455
|
-
} | undefined;
|
|
456
312
|
attributes?: (Record<string, string> & {
|
|
457
313
|
src?: undefined;
|
|
458
314
|
}) | undefined;
|
|
315
|
+
formattingOptions?: {
|
|
316
|
+
alignment: "left" | "center" | "right" | "justify";
|
|
317
|
+
} | undefined;
|
|
318
|
+
damAdditional?: {
|
|
319
|
+
variant?: string | undefined;
|
|
320
|
+
} | undefined;
|
|
459
321
|
} | {
|
|
460
322
|
type: "component";
|
|
461
323
|
componentId: string;
|
|
@@ -489,85 +351,16 @@ export declare const RawLayout: z.ZodObject<{
|
|
|
489
351
|
matrixDomain: string;
|
|
490
352
|
matrixAssetId: string;
|
|
491
353
|
target: "_blank" | "_self" | "_parent" | "_top";
|
|
492
|
-
matrixIdentifier?: string | undefined;
|
|
493
|
-
formattingOptions?: {
|
|
494
|
-
alignment: "left" | "center" | "right" | "justify";
|
|
495
|
-
} | undefined;
|
|
496
354
|
attributes?: (Record<string, string> & {
|
|
497
|
-
href?: undefined;
|
|
498
355
|
target?: undefined;
|
|
356
|
+
href?: undefined;
|
|
499
357
|
}) | undefined;
|
|
358
|
+
formattingOptions?: {
|
|
359
|
+
alignment: "left" | "center" | "right" | "justify";
|
|
360
|
+
} | undefined;
|
|
361
|
+
matrixIdentifier?: string | undefined;
|
|
500
362
|
}) & {
|
|
501
|
-
children:
|
|
502
|
-
value: string;
|
|
503
|
-
type: "text";
|
|
504
|
-
} | {
|
|
505
|
-
type: "matrix-image";
|
|
506
|
-
matrixDomain: string;
|
|
507
|
-
matrixAssetId: string;
|
|
508
|
-
matrixIdentifier?: string | undefined;
|
|
509
|
-
formattingOptions?: {
|
|
510
|
-
alignment: "left" | "center" | "right" | "justify";
|
|
511
|
-
} | undefined;
|
|
512
|
-
attributes?: (Record<string, string> & {
|
|
513
|
-
src?: undefined;
|
|
514
|
-
}) | undefined;
|
|
515
|
-
} | {
|
|
516
|
-
type: "dam-image";
|
|
517
|
-
damSystemType: "bynder";
|
|
518
|
-
damSystemIdentifier: string;
|
|
519
|
-
damObjectId: string;
|
|
520
|
-
damAdditional?: {
|
|
521
|
-
variant?: string | undefined;
|
|
522
|
-
} | undefined;
|
|
523
|
-
formattingOptions?: {
|
|
524
|
-
alignment: "left" | "center" | "right" | "justify";
|
|
525
|
-
} | undefined;
|
|
526
|
-
attributes?: (Record<string, string> & {
|
|
527
|
-
src?: undefined;
|
|
528
|
-
}) | undefined;
|
|
529
|
-
} | {
|
|
530
|
-
type: "component";
|
|
531
|
-
componentId: string;
|
|
532
|
-
componentSet: string;
|
|
533
|
-
componentType?: "server" | "edge" | undefined;
|
|
534
|
-
contentItem?: {
|
|
535
|
-
id: string;
|
|
536
|
-
} | {
|
|
537
|
-
content: Record<string, unknown>;
|
|
538
|
-
schemaName: string;
|
|
539
|
-
} | undefined;
|
|
540
|
-
} | (({
|
|
541
|
-
type: "tag";
|
|
542
|
-
tag: string;
|
|
543
|
-
attributes?: Record<string, string> | undefined;
|
|
544
|
-
font?: {
|
|
545
|
-
bold?: boolean | undefined;
|
|
546
|
-
italics?: boolean | undefined;
|
|
547
|
-
underline?: boolean | undefined;
|
|
548
|
-
color?: string | undefined;
|
|
549
|
-
size?: string | undefined;
|
|
550
|
-
fontFamily?: string | undefined;
|
|
551
|
-
} | undefined;
|
|
552
|
-
formattingOptions?: {
|
|
553
|
-
alignment: "left" | "center" | "right" | "justify";
|
|
554
|
-
} | undefined;
|
|
555
|
-
} | {
|
|
556
|
-
type: "fragment";
|
|
557
|
-
} | {
|
|
558
|
-
type: "link-to-matrix-asset";
|
|
559
|
-
matrixDomain: string;
|
|
560
|
-
matrixAssetId: string;
|
|
561
|
-
target: "_blank" | "_self" | "_parent" | "_top";
|
|
562
|
-
matrixIdentifier?: string | undefined;
|
|
563
|
-
formattingOptions?: {
|
|
564
|
-
alignment: "left" | "center" | "right" | "justify";
|
|
565
|
-
} | undefined;
|
|
566
|
-
attributes?: (Record<string, string> & {
|
|
567
|
-
href?: undefined;
|
|
568
|
-
target?: undefined;
|
|
569
|
-
}) | undefined;
|
|
570
|
-
}) & any)))[];
|
|
363
|
+
children: import("../layout-content").LayoutContentNodes[];
|
|
571
364
|
})))[];
|
|
572
365
|
}, {
|
|
573
366
|
main: ({
|
|
@@ -595,39 +388,39 @@ export declare const RawLayout: z.ZodObject<{
|
|
|
595
388
|
matrixDomain: string;
|
|
596
389
|
matrixAssetId: string;
|
|
597
390
|
target: "_blank" | "_self" | "_parent" | "_top";
|
|
598
|
-
matrixIdentifier?: string | undefined;
|
|
599
|
-
formattingOptions?: {
|
|
600
|
-
alignment: "left" | "center" | "right" | "justify";
|
|
601
|
-
} | undefined;
|
|
602
391
|
attributes?: (Record<string, string> & {
|
|
603
|
-
href?: undefined;
|
|
604
392
|
target?: undefined;
|
|
393
|
+
href?: undefined;
|
|
605
394
|
}) | undefined;
|
|
395
|
+
formattingOptions?: {
|
|
396
|
+
alignment: "left" | "center" | "right" | "justify";
|
|
397
|
+
} | undefined;
|
|
398
|
+
matrixIdentifier?: string | undefined;
|
|
606
399
|
} | {
|
|
607
400
|
type: "matrix-image";
|
|
608
401
|
matrixDomain: string;
|
|
609
402
|
matrixAssetId: string;
|
|
610
|
-
matrixIdentifier?: string | undefined;
|
|
611
|
-
formattingOptions?: {
|
|
612
|
-
alignment: "left" | "center" | "right" | "justify";
|
|
613
|
-
} | undefined;
|
|
614
403
|
attributes?: (Record<string, string> & {
|
|
615
404
|
src?: undefined;
|
|
616
405
|
}) | undefined;
|
|
406
|
+
formattingOptions?: {
|
|
407
|
+
alignment: "left" | "center" | "right" | "justify";
|
|
408
|
+
} | undefined;
|
|
409
|
+
matrixIdentifier?: string | undefined;
|
|
617
410
|
} | {
|
|
618
411
|
type: "dam-image";
|
|
619
412
|
damSystemType: "bynder";
|
|
620
413
|
damSystemIdentifier: string;
|
|
621
414
|
damObjectId: string;
|
|
622
|
-
damAdditional?: {
|
|
623
|
-
variant?: string | undefined;
|
|
624
|
-
} | undefined;
|
|
625
|
-
formattingOptions?: {
|
|
626
|
-
alignment: "left" | "center" | "right" | "justify";
|
|
627
|
-
} | undefined;
|
|
628
415
|
attributes?: (Record<string, string> & {
|
|
629
416
|
src?: undefined;
|
|
630
417
|
}) | undefined;
|
|
418
|
+
formattingOptions?: {
|
|
419
|
+
alignment: "left" | "center" | "right" | "justify";
|
|
420
|
+
} | undefined;
|
|
421
|
+
damAdditional?: {
|
|
422
|
+
variant?: string | undefined;
|
|
423
|
+
} | undefined;
|
|
631
424
|
} | {
|
|
632
425
|
type: "component";
|
|
633
426
|
componentId: string;
|
|
@@ -653,27 +446,27 @@ export declare const RawLayout: z.ZodObject<{
|
|
|
653
446
|
type: "matrix-image";
|
|
654
447
|
matrixDomain: string;
|
|
655
448
|
matrixAssetId: string;
|
|
656
|
-
matrixIdentifier?: string | undefined;
|
|
657
|
-
formattingOptions?: {
|
|
658
|
-
alignment: "left" | "center" | "right" | "justify";
|
|
659
|
-
} | undefined;
|
|
660
449
|
attributes?: (Record<string, string> & {
|
|
661
450
|
src?: undefined;
|
|
662
451
|
}) | undefined;
|
|
452
|
+
formattingOptions?: {
|
|
453
|
+
alignment: "left" | "center" | "right" | "justify";
|
|
454
|
+
} | undefined;
|
|
455
|
+
matrixIdentifier?: string | undefined;
|
|
663
456
|
} | {
|
|
664
457
|
type: "dam-image";
|
|
665
458
|
damSystemType: "bynder";
|
|
666
459
|
damSystemIdentifier: string;
|
|
667
460
|
damObjectId: string;
|
|
668
|
-
damAdditional?: {
|
|
669
|
-
variant?: string | undefined;
|
|
670
|
-
} | undefined;
|
|
671
|
-
formattingOptions?: {
|
|
672
|
-
alignment: "left" | "center" | "right" | "justify";
|
|
673
|
-
} | undefined;
|
|
674
461
|
attributes?: (Record<string, string> & {
|
|
675
462
|
src?: undefined;
|
|
676
463
|
}) | undefined;
|
|
464
|
+
formattingOptions?: {
|
|
465
|
+
alignment: "left" | "center" | "right" | "justify";
|
|
466
|
+
} | undefined;
|
|
467
|
+
damAdditional?: {
|
|
468
|
+
variant?: string | undefined;
|
|
469
|
+
} | undefined;
|
|
677
470
|
} | {
|
|
678
471
|
type: "component";
|
|
679
472
|
componentId: string;
|
|
@@ -707,85 +500,16 @@ export declare const RawLayout: z.ZodObject<{
|
|
|
707
500
|
matrixDomain: string;
|
|
708
501
|
matrixAssetId: string;
|
|
709
502
|
target: "_blank" | "_self" | "_parent" | "_top";
|
|
710
|
-
matrixIdentifier?: string | undefined;
|
|
711
|
-
formattingOptions?: {
|
|
712
|
-
alignment: "left" | "center" | "right" | "justify";
|
|
713
|
-
} | undefined;
|
|
714
503
|
attributes?: (Record<string, string> & {
|
|
715
|
-
href?: undefined;
|
|
716
504
|
target?: undefined;
|
|
505
|
+
href?: undefined;
|
|
717
506
|
}) | undefined;
|
|
507
|
+
formattingOptions?: {
|
|
508
|
+
alignment: "left" | "center" | "right" | "justify";
|
|
509
|
+
} | undefined;
|
|
510
|
+
matrixIdentifier?: string | undefined;
|
|
718
511
|
}) & {
|
|
719
|
-
children:
|
|
720
|
-
value: string;
|
|
721
|
-
type: "text";
|
|
722
|
-
} | {
|
|
723
|
-
type: "matrix-image";
|
|
724
|
-
matrixDomain: string;
|
|
725
|
-
matrixAssetId: string;
|
|
726
|
-
matrixIdentifier?: string | undefined;
|
|
727
|
-
formattingOptions?: {
|
|
728
|
-
alignment: "left" | "center" | "right" | "justify";
|
|
729
|
-
} | undefined;
|
|
730
|
-
attributes?: (Record<string, string> & {
|
|
731
|
-
src?: undefined;
|
|
732
|
-
}) | undefined;
|
|
733
|
-
} | {
|
|
734
|
-
type: "dam-image";
|
|
735
|
-
damSystemType: "bynder";
|
|
736
|
-
damSystemIdentifier: string;
|
|
737
|
-
damObjectId: string;
|
|
738
|
-
damAdditional?: {
|
|
739
|
-
variant?: string | undefined;
|
|
740
|
-
} | undefined;
|
|
741
|
-
formattingOptions?: {
|
|
742
|
-
alignment: "left" | "center" | "right" | "justify";
|
|
743
|
-
} | undefined;
|
|
744
|
-
attributes?: (Record<string, string> & {
|
|
745
|
-
src?: undefined;
|
|
746
|
-
}) | undefined;
|
|
747
|
-
} | {
|
|
748
|
-
type: "component";
|
|
749
|
-
componentId: string;
|
|
750
|
-
componentSet: string;
|
|
751
|
-
componentType?: "server" | "edge" | undefined;
|
|
752
|
-
contentItem?: {
|
|
753
|
-
id: string;
|
|
754
|
-
} | {
|
|
755
|
-
content: Record<string, unknown>;
|
|
756
|
-
schemaName: string;
|
|
757
|
-
} | undefined;
|
|
758
|
-
} | (({
|
|
759
|
-
type: "tag";
|
|
760
|
-
tag: string;
|
|
761
|
-
attributes?: Record<string, string> | undefined;
|
|
762
|
-
font?: {
|
|
763
|
-
bold?: boolean | undefined;
|
|
764
|
-
italics?: boolean | undefined;
|
|
765
|
-
underline?: boolean | undefined;
|
|
766
|
-
color?: string | undefined;
|
|
767
|
-
size?: string | undefined;
|
|
768
|
-
fontFamily?: string | undefined;
|
|
769
|
-
} | undefined;
|
|
770
|
-
formattingOptions?: {
|
|
771
|
-
alignment: "left" | "center" | "right" | "justify";
|
|
772
|
-
} | undefined;
|
|
773
|
-
} | {
|
|
774
|
-
type: "fragment";
|
|
775
|
-
} | {
|
|
776
|
-
type: "link-to-matrix-asset";
|
|
777
|
-
matrixDomain: string;
|
|
778
|
-
matrixAssetId: string;
|
|
779
|
-
target: "_blank" | "_self" | "_parent" | "_top";
|
|
780
|
-
matrixIdentifier?: string | undefined;
|
|
781
|
-
formattingOptions?: {
|
|
782
|
-
alignment: "left" | "center" | "right" | "justify";
|
|
783
|
-
} | undefined;
|
|
784
|
-
attributes?: (Record<string, string> & {
|
|
785
|
-
href?: undefined;
|
|
786
|
-
target?: undefined;
|
|
787
|
-
}) | undefined;
|
|
788
|
-
}) & any)))[];
|
|
512
|
+
children: import("../layout-content").LayoutContentNodes[];
|
|
789
513
|
})))[];
|
|
790
514
|
};
|
|
791
515
|
name: "layout-raw";
|
|
@@ -816,39 +540,39 @@ export declare const RawLayout: z.ZodObject<{
|
|
|
816
540
|
matrixDomain: string;
|
|
817
541
|
matrixAssetId: string;
|
|
818
542
|
target: "_blank" | "_self" | "_parent" | "_top";
|
|
819
|
-
matrixIdentifier?: string | undefined;
|
|
820
|
-
formattingOptions?: {
|
|
821
|
-
alignment: "left" | "center" | "right" | "justify";
|
|
822
|
-
} | undefined;
|
|
823
543
|
attributes?: (Record<string, string> & {
|
|
824
|
-
href?: undefined;
|
|
825
544
|
target?: undefined;
|
|
545
|
+
href?: undefined;
|
|
826
546
|
}) | undefined;
|
|
547
|
+
formattingOptions?: {
|
|
548
|
+
alignment: "left" | "center" | "right" | "justify";
|
|
549
|
+
} | undefined;
|
|
550
|
+
matrixIdentifier?: string | undefined;
|
|
827
551
|
} | {
|
|
828
552
|
type: "matrix-image";
|
|
829
553
|
matrixDomain: string;
|
|
830
554
|
matrixAssetId: string;
|
|
831
|
-
matrixIdentifier?: string | undefined;
|
|
832
|
-
formattingOptions?: {
|
|
833
|
-
alignment: "left" | "center" | "right" | "justify";
|
|
834
|
-
} | undefined;
|
|
835
555
|
attributes?: (Record<string, string> & {
|
|
836
556
|
src?: undefined;
|
|
837
557
|
}) | undefined;
|
|
558
|
+
formattingOptions?: {
|
|
559
|
+
alignment: "left" | "center" | "right" | "justify";
|
|
560
|
+
} | undefined;
|
|
561
|
+
matrixIdentifier?: string | undefined;
|
|
838
562
|
} | {
|
|
839
563
|
type: "dam-image";
|
|
840
564
|
damSystemType: "bynder";
|
|
841
565
|
damSystemIdentifier: string;
|
|
842
566
|
damObjectId: string;
|
|
843
|
-
damAdditional?: {
|
|
844
|
-
variant?: string | undefined;
|
|
845
|
-
} | undefined;
|
|
846
|
-
formattingOptions?: {
|
|
847
|
-
alignment: "left" | "center" | "right" | "justify";
|
|
848
|
-
} | undefined;
|
|
849
567
|
attributes?: (Record<string, string> & {
|
|
850
568
|
src?: undefined;
|
|
851
569
|
}) | undefined;
|
|
570
|
+
formattingOptions?: {
|
|
571
|
+
alignment: "left" | "center" | "right" | "justify";
|
|
572
|
+
} | undefined;
|
|
573
|
+
damAdditional?: {
|
|
574
|
+
variant?: string | undefined;
|
|
575
|
+
} | undefined;
|
|
852
576
|
} | {
|
|
853
577
|
type: "component";
|
|
854
578
|
componentId: string;
|