@prismicio/types-internal 4.7.0 → 4.8.0-canary.6451918
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/dist/content/codec/group.js +3 -2
- package/dist/content/codec/group.js.map +1 -1
- package/dist/content/codec/legacyContentCtx.d.ts.map +1 -1
- package/dist/content/codec/legacyContentCtx.js +5 -1
- package/dist/content/codec/legacyContentCtx.js.map +1 -1
- package/dist/content/embed.d.ts +1 -1
- package/dist/content/embed.js +1 -1
- package/dist/content/embed.js.map +1 -1
- package/dist/content/image.d.ts +4 -4
- package/dist/content/legacy/image.d.ts +2 -2
- package/dist/content/legacy/image.js +2 -2
- package/dist/content/legacy/image.js.map +1 -1
- package/dist/content/legacy/richText.d.ts +3 -3
- package/dist/content/legacy/richText.js +1 -1
- package/dist/content/legacy/richText.js.map +1 -1
- package/dist/content/richText.d.ts +3 -3
- package/dist/content/slice.d.ts +15 -15
- package/dist/content/slices.d.ts +15 -15
- package/dist/helpers/customTypeModel.d.ts +2 -2
- package/dist/helpers/customTypeModel.d.ts.map +1 -1
- package/dist/helpers/customTypeModel.js +1 -1
- package/dist/helpers/customTypeModel.js.map +1 -1
- package/dist/helpers/documentContent.d.ts +4 -3
- package/dist/helpers/documentContent.d.ts.map +1 -1
- package/dist/helpers/documentContent.js +12 -15
- package/dist/helpers/documentContent.js.map +1 -1
- package/dist/helpers/sliceContent.d.ts +4 -2
- package/dist/helpers/sliceContent.d.ts.map +1 -1
- package/dist/helpers/sliceContent.js +11 -2
- package/dist/helpers/sliceContent.js.map +1 -1
- package/dist/helpers/traverseContent.d.ts +2 -2
- package/dist/helpers/traverseContent.d.ts.map +1 -1
- package/dist/helpers/traverseContent.js +6 -3
- package/dist/helpers/traverseContent.js.map +1 -1
- package/dist/index.d.ts +6 -6
- package/dist/index.js +2 -2
- package/dist/io-ts.d.ts +1072 -1022
- package/dist/io-ts.d.ts.map +1 -1
- package/dist/io-ts.js +5 -3
- package/dist/io-ts.js.map +1 -1
- package/dist/model/customType.d.ts +5 -1
- package/dist/model/customType.d.ts.map +1 -1
- package/dist/model/customType.js.map +1 -1
- package/dist/model/group.d.ts +32 -32
- package/dist/model/link.d.ts +27 -1
- package/dist/model/link.d.ts.map +1 -1
- package/dist/model/link.js +3 -3
- package/dist/model/link.js.map +1 -1
- package/dist/model/table.d.ts +3 -2
- package/dist/model/table.d.ts.map +1 -1
- package/dist/zod4.d.ts +90 -43
- package/dist/zod4.d.ts.map +1 -1
- package/dist/zod4.js +5 -3
- package/dist/zod4.js.map +1 -1
- package/package.json +8 -5
- package/src/content/codec/group.ts +1 -1
- package/src/content/codec/legacyContentCtx.ts +7 -1
- package/src/content/embed.ts +1 -1
- package/src/content/legacy/image.ts +2 -2
- package/src/content/legacy/richText.ts +1 -1
- package/src/helpers/customTypeModel.ts +3 -2
- package/src/helpers/documentContent.ts +21 -28
- package/src/helpers/sliceContent.ts +16 -0
- package/src/helpers/traverseContent.ts +8 -5
- package/src/index.ts +9 -3
- package/src/io-ts.ts +7 -1
- package/src/model/customType.ts +5 -0
- package/src/model/link.ts +4 -2
- package/src/zod4.ts +7 -1
package/dist/io-ts.d.ts
CHANGED
|
@@ -198,44 +198,86 @@ declare const SharedSliceContentSchema: t.Type<{
|
|
|
198
198
|
__TYPE__: "SharedSliceContent";
|
|
199
199
|
variation: string;
|
|
200
200
|
primary: Record<string, {
|
|
201
|
-
|
|
202
|
-
|
|
201
|
+
__TYPE__: "BooleanContent";
|
|
202
|
+
value: boolean;
|
|
203
203
|
} | {
|
|
204
|
-
|
|
204
|
+
type: "Color";
|
|
205
205
|
value: string;
|
|
206
|
+
__TYPE__: "FieldContent";
|
|
206
207
|
} | {
|
|
207
|
-
|
|
208
|
-
} | {
|
|
209
|
-
type: "Text";
|
|
208
|
+
type: "Date";
|
|
210
209
|
value: string;
|
|
211
210
|
__TYPE__: "FieldContent";
|
|
212
211
|
} | {
|
|
213
|
-
type:
|
|
212
|
+
type: string;
|
|
213
|
+
__TYPE__: "EmptyContent";
|
|
214
|
+
} | {
|
|
215
|
+
position: {
|
|
216
|
+
lat: number;
|
|
217
|
+
lng: number;
|
|
218
|
+
};
|
|
219
|
+
__TYPE__: "GeoPointContent";
|
|
220
|
+
} | {
|
|
221
|
+
__TYPE__: "LinkContent";
|
|
222
|
+
key: string;
|
|
223
|
+
value: {
|
|
224
|
+
text?: string | undefined;
|
|
225
|
+
variant?: string | undefined;
|
|
226
|
+
} & LinkContentValue;
|
|
227
|
+
} | {
|
|
228
|
+
type: "Number";
|
|
214
229
|
value: string;
|
|
215
230
|
__TYPE__: "FieldContent";
|
|
216
231
|
} | {
|
|
217
|
-
type: "
|
|
232
|
+
type: "Range";
|
|
218
233
|
value: string;
|
|
219
234
|
__TYPE__: "FieldContent";
|
|
220
235
|
} | {
|
|
221
|
-
type: "
|
|
236
|
+
type: "Select";
|
|
222
237
|
value: string;
|
|
223
238
|
__TYPE__: "FieldContent";
|
|
224
239
|
} | {
|
|
225
|
-
|
|
240
|
+
__TYPE__: "SeparatorContent";
|
|
241
|
+
} | {
|
|
242
|
+
type: "Text";
|
|
226
243
|
value: string;
|
|
227
244
|
__TYPE__: "FieldContent";
|
|
228
245
|
} | {
|
|
229
|
-
type: "
|
|
246
|
+
type: "Timestamp";
|
|
230
247
|
value: string;
|
|
231
248
|
__TYPE__: "FieldContent";
|
|
232
249
|
} | {
|
|
233
|
-
|
|
250
|
+
__TYPE__: "IntegrationFieldsContent";
|
|
234
251
|
value: string;
|
|
235
|
-
__TYPE__: "FieldContent";
|
|
236
252
|
} | {
|
|
237
|
-
__TYPE__: "
|
|
238
|
-
|
|
253
|
+
__TYPE__: "RepeatableContent";
|
|
254
|
+
type: "Link";
|
|
255
|
+
value: {
|
|
256
|
+
__TYPE__: "LinkContent";
|
|
257
|
+
key: string;
|
|
258
|
+
value: {
|
|
259
|
+
text?: string | undefined;
|
|
260
|
+
variant?: string | undefined;
|
|
261
|
+
} & LinkContentValue;
|
|
262
|
+
}[];
|
|
263
|
+
} | {
|
|
264
|
+
__TYPE__: "StructuredTextContent";
|
|
265
|
+
value: RichTextContentBlock[];
|
|
266
|
+
} | {
|
|
267
|
+
__TYPE__: "TableContent";
|
|
268
|
+
content: {
|
|
269
|
+
key: string;
|
|
270
|
+
type: "tableRow";
|
|
271
|
+
content: {
|
|
272
|
+
key: string;
|
|
273
|
+
type: "tableCell" | "tableHeader";
|
|
274
|
+
content: {
|
|
275
|
+
__TYPE__: "StructuredTextContent";
|
|
276
|
+
value: RichTextContentBlock[];
|
|
277
|
+
};
|
|
278
|
+
columnWidth?: number | undefined;
|
|
279
|
+
}[];
|
|
280
|
+
}[];
|
|
239
281
|
} | {
|
|
240
282
|
embed_url: string;
|
|
241
283
|
type: string;
|
|
@@ -251,13 +293,7 @@ declare const SharedSliceContentSchema: t.Type<{
|
|
|
251
293
|
thumbnail_height?: number | null | undefined;
|
|
252
294
|
html?: string | null | undefined;
|
|
253
295
|
__TYPE__: "EmbedContent";
|
|
254
|
-
all
|
|
255
|
-
} | {
|
|
256
|
-
position: {
|
|
257
|
-
lat: number;
|
|
258
|
-
lng: number;
|
|
259
|
-
};
|
|
260
|
-
__TYPE__: "GeoPointContent";
|
|
296
|
+
all?: unknown;
|
|
261
297
|
} | {
|
|
262
298
|
origin: {
|
|
263
299
|
id: string;
|
|
@@ -302,6 +338,34 @@ declare const SharedSliceContentSchema: t.Type<{
|
|
|
302
338
|
provider?: string | null | undefined;
|
|
303
339
|
}> | undefined;
|
|
304
340
|
__TYPE__: "ImageContent";
|
|
341
|
+
} | {
|
|
342
|
+
__TYPE__: "GroupContentType";
|
|
343
|
+
value: GroupItemContent[];
|
|
344
|
+
}>;
|
|
345
|
+
items: GroupItemContent[];
|
|
346
|
+
}, {
|
|
347
|
+
__TYPE__: "SharedSliceContent";
|
|
348
|
+
variation: string;
|
|
349
|
+
primary: Record<string, {
|
|
350
|
+
__TYPE__: "BooleanContent";
|
|
351
|
+
value: boolean;
|
|
352
|
+
} | {
|
|
353
|
+
type: "Color";
|
|
354
|
+
value: string;
|
|
355
|
+
__TYPE__: "FieldContent";
|
|
356
|
+
} | {
|
|
357
|
+
type: "Date";
|
|
358
|
+
value: string;
|
|
359
|
+
__TYPE__: "FieldContent";
|
|
360
|
+
} | {
|
|
361
|
+
type: string;
|
|
362
|
+
__TYPE__: "EmptyContent";
|
|
363
|
+
} | {
|
|
364
|
+
position: {
|
|
365
|
+
lat: number;
|
|
366
|
+
lng: number;
|
|
367
|
+
};
|
|
368
|
+
__TYPE__: "GeoPointContent";
|
|
305
369
|
} | {
|
|
306
370
|
__TYPE__: "LinkContent";
|
|
307
371
|
key: string;
|
|
@@ -309,6 +373,31 @@ declare const SharedSliceContentSchema: t.Type<{
|
|
|
309
373
|
text?: string | undefined;
|
|
310
374
|
variant?: string | undefined;
|
|
311
375
|
} & LinkContentValue;
|
|
376
|
+
} | {
|
|
377
|
+
type: "Number";
|
|
378
|
+
value: string;
|
|
379
|
+
__TYPE__: "FieldContent";
|
|
380
|
+
} | {
|
|
381
|
+
type: "Range";
|
|
382
|
+
value: string;
|
|
383
|
+
__TYPE__: "FieldContent";
|
|
384
|
+
} | {
|
|
385
|
+
type: "Select";
|
|
386
|
+
value: string;
|
|
387
|
+
__TYPE__: "FieldContent";
|
|
388
|
+
} | {
|
|
389
|
+
__TYPE__: "SeparatorContent";
|
|
390
|
+
} | {
|
|
391
|
+
type: "Text";
|
|
392
|
+
value: string;
|
|
393
|
+
__TYPE__: "FieldContent";
|
|
394
|
+
} | {
|
|
395
|
+
type: "Timestamp";
|
|
396
|
+
value: string;
|
|
397
|
+
__TYPE__: "FieldContent";
|
|
398
|
+
} | {
|
|
399
|
+
__TYPE__: "IntegrationFieldsContent";
|
|
400
|
+
value: string;
|
|
312
401
|
} | {
|
|
313
402
|
__TYPE__: "RepeatableContent";
|
|
314
403
|
type: "Link";
|
|
@@ -338,53 +427,6 @@ declare const SharedSliceContentSchema: t.Type<{
|
|
|
338
427
|
columnWidth?: number | undefined;
|
|
339
428
|
}[];
|
|
340
429
|
}[];
|
|
341
|
-
} | {
|
|
342
|
-
__TYPE__: "GroupContentType";
|
|
343
|
-
value: GroupItemContent[];
|
|
344
|
-
}>;
|
|
345
|
-
items: GroupItemContent[];
|
|
346
|
-
}, {
|
|
347
|
-
__TYPE__: "SharedSliceContent";
|
|
348
|
-
variation: string;
|
|
349
|
-
primary: Record<string, {
|
|
350
|
-
type: string;
|
|
351
|
-
__TYPE__: "EmptyContent";
|
|
352
|
-
} | {
|
|
353
|
-
__TYPE__: "IntegrationFieldsContent";
|
|
354
|
-
value: string;
|
|
355
|
-
} | {
|
|
356
|
-
__TYPE__: "SeparatorContent";
|
|
357
|
-
} | {
|
|
358
|
-
type: "Text";
|
|
359
|
-
value: string;
|
|
360
|
-
__TYPE__: "FieldContent";
|
|
361
|
-
} | {
|
|
362
|
-
type: "Color";
|
|
363
|
-
value: string;
|
|
364
|
-
__TYPE__: "FieldContent";
|
|
365
|
-
} | {
|
|
366
|
-
type: "Date";
|
|
367
|
-
value: string;
|
|
368
|
-
__TYPE__: "FieldContent";
|
|
369
|
-
} | {
|
|
370
|
-
type: "Timestamp";
|
|
371
|
-
value: string;
|
|
372
|
-
__TYPE__: "FieldContent";
|
|
373
|
-
} | {
|
|
374
|
-
type: "Number";
|
|
375
|
-
value: string;
|
|
376
|
-
__TYPE__: "FieldContent";
|
|
377
|
-
} | {
|
|
378
|
-
type: "Range";
|
|
379
|
-
value: string;
|
|
380
|
-
__TYPE__: "FieldContent";
|
|
381
|
-
} | {
|
|
382
|
-
type: "Select";
|
|
383
|
-
value: string;
|
|
384
|
-
__TYPE__: "FieldContent";
|
|
385
|
-
} | {
|
|
386
|
-
__TYPE__: "BooleanContent";
|
|
387
|
-
value: boolean;
|
|
388
430
|
} | {
|
|
389
431
|
embed_url: string;
|
|
390
432
|
type: string;
|
|
@@ -400,13 +442,7 @@ declare const SharedSliceContentSchema: t.Type<{
|
|
|
400
442
|
thumbnail_height?: number | null | undefined;
|
|
401
443
|
html?: string | null | undefined;
|
|
402
444
|
__TYPE__: "EmbedContent";
|
|
403
|
-
all
|
|
404
|
-
} | {
|
|
405
|
-
position: {
|
|
406
|
-
lat: number;
|
|
407
|
-
lng: number;
|
|
408
|
-
};
|
|
409
|
-
__TYPE__: "GeoPointContent";
|
|
445
|
+
all?: unknown;
|
|
410
446
|
} | {
|
|
411
447
|
origin: {
|
|
412
448
|
id: string;
|
|
@@ -451,42 +487,6 @@ declare const SharedSliceContentSchema: t.Type<{
|
|
|
451
487
|
provider?: string | null | undefined;
|
|
452
488
|
}> | undefined;
|
|
453
489
|
__TYPE__: "ImageContent";
|
|
454
|
-
} | {
|
|
455
|
-
__TYPE__: "LinkContent";
|
|
456
|
-
key: string;
|
|
457
|
-
value: {
|
|
458
|
-
text?: string | undefined;
|
|
459
|
-
variant?: string | undefined;
|
|
460
|
-
} & LinkContentValue;
|
|
461
|
-
} | {
|
|
462
|
-
__TYPE__: "RepeatableContent";
|
|
463
|
-
type: "Link";
|
|
464
|
-
value: {
|
|
465
|
-
__TYPE__: "LinkContent";
|
|
466
|
-
key: string;
|
|
467
|
-
value: {
|
|
468
|
-
text?: string | undefined;
|
|
469
|
-
variant?: string | undefined;
|
|
470
|
-
} & LinkContentValue;
|
|
471
|
-
}[];
|
|
472
|
-
} | {
|
|
473
|
-
__TYPE__: "StructuredTextContent";
|
|
474
|
-
value: RichTextContentBlock[];
|
|
475
|
-
} | {
|
|
476
|
-
__TYPE__: "TableContent";
|
|
477
|
-
content: {
|
|
478
|
-
key: string;
|
|
479
|
-
type: "tableRow";
|
|
480
|
-
content: {
|
|
481
|
-
key: string;
|
|
482
|
-
type: "tableCell" | "tableHeader";
|
|
483
|
-
content: {
|
|
484
|
-
__TYPE__: "StructuredTextContent";
|
|
485
|
-
value: RichTextContentBlock[];
|
|
486
|
-
};
|
|
487
|
-
columnWidth?: number | undefined;
|
|
488
|
-
}[];
|
|
489
|
-
}[];
|
|
490
490
|
} | {
|
|
491
491
|
__TYPE__: "GroupContentType";
|
|
492
492
|
value: GroupItemContent[];
|
|
@@ -512,10 +512,6 @@ declare const TimestampContentSchema: t.Type<{
|
|
|
512
512
|
__TYPE__: "FieldContent";
|
|
513
513
|
}, unknown>;
|
|
514
514
|
declare const FieldContentSchema: t.Type<{
|
|
515
|
-
type: "Text";
|
|
516
|
-
value: string;
|
|
517
|
-
__TYPE__: "FieldContent";
|
|
518
|
-
} | {
|
|
519
515
|
type: "Color";
|
|
520
516
|
value: string;
|
|
521
517
|
__TYPE__: "FieldContent";
|
|
@@ -523,10 +519,6 @@ declare const FieldContentSchema: t.Type<{
|
|
|
523
519
|
type: "Date";
|
|
524
520
|
value: string;
|
|
525
521
|
__TYPE__: "FieldContent";
|
|
526
|
-
} | {
|
|
527
|
-
type: "Timestamp";
|
|
528
|
-
value: string;
|
|
529
|
-
__TYPE__: "FieldContent";
|
|
530
522
|
} | {
|
|
531
523
|
type: "Number";
|
|
532
524
|
value: string;
|
|
@@ -539,20 +531,20 @@ declare const FieldContentSchema: t.Type<{
|
|
|
539
531
|
type: "Select";
|
|
540
532
|
value: string;
|
|
541
533
|
__TYPE__: "FieldContent";
|
|
542
|
-
}
|
|
534
|
+
} | {
|
|
543
535
|
type: "Text";
|
|
544
536
|
value: string;
|
|
545
537
|
__TYPE__: "FieldContent";
|
|
546
538
|
} | {
|
|
547
|
-
type: "
|
|
539
|
+
type: "Timestamp";
|
|
548
540
|
value: string;
|
|
549
541
|
__TYPE__: "FieldContent";
|
|
550
|
-
}
|
|
551
|
-
type: "
|
|
542
|
+
}, {
|
|
543
|
+
type: "Color";
|
|
552
544
|
value: string;
|
|
553
545
|
__TYPE__: "FieldContent";
|
|
554
546
|
} | {
|
|
555
|
-
type: "
|
|
547
|
+
type: "Date";
|
|
556
548
|
value: string;
|
|
557
549
|
__TYPE__: "FieldContent";
|
|
558
550
|
} | {
|
|
@@ -567,6 +559,14 @@ declare const FieldContentSchema: t.Type<{
|
|
|
567
559
|
type: "Select";
|
|
568
560
|
value: string;
|
|
569
561
|
__TYPE__: "FieldContent";
|
|
562
|
+
} | {
|
|
563
|
+
type: "Text";
|
|
564
|
+
value: string;
|
|
565
|
+
__TYPE__: "FieldContent";
|
|
566
|
+
} | {
|
|
567
|
+
type: "Timestamp";
|
|
568
|
+
value: string;
|
|
569
|
+
__TYPE__: "FieldContent";
|
|
570
570
|
}, unknown>;
|
|
571
571
|
declare const UIDContentSchema: t.Type<{
|
|
572
572
|
__TYPE__: "UIDContent";
|
|
@@ -597,7 +597,7 @@ declare const EmbedContentSchema: t.Type<{
|
|
|
597
597
|
thumbnail_height?: number | null | undefined;
|
|
598
598
|
html?: string | null | undefined;
|
|
599
599
|
__TYPE__: "EmbedContent";
|
|
600
|
-
all
|
|
600
|
+
all?: unknown;
|
|
601
601
|
}, {
|
|
602
602
|
embed_url: string;
|
|
603
603
|
type: string;
|
|
@@ -613,7 +613,7 @@ declare const EmbedContentSchema: t.Type<{
|
|
|
613
613
|
thumbnail_height?: number | null | undefined;
|
|
614
614
|
html?: string | null | undefined;
|
|
615
615
|
__TYPE__: "EmbedContent";
|
|
616
|
-
all
|
|
616
|
+
all?: unknown;
|
|
617
617
|
}, unknown>;
|
|
618
618
|
declare const ImageContentViewSchema: t.Type<{
|
|
619
619
|
origin: {
|
|
@@ -811,44 +811,86 @@ declare const RepeatableContentSchema: t.Type<{
|
|
|
811
811
|
}[];
|
|
812
812
|
}, unknown>;
|
|
813
813
|
declare const NestableContentSchema: t.Type<{
|
|
814
|
-
|
|
815
|
-
|
|
814
|
+
__TYPE__: "BooleanContent";
|
|
815
|
+
value: boolean;
|
|
816
816
|
} | {
|
|
817
|
-
|
|
817
|
+
type: "Color";
|
|
818
818
|
value: string;
|
|
819
|
+
__TYPE__: "FieldContent";
|
|
819
820
|
} | {
|
|
820
|
-
|
|
821
|
-
} | {
|
|
822
|
-
type: "Text";
|
|
821
|
+
type: "Date";
|
|
823
822
|
value: string;
|
|
824
823
|
__TYPE__: "FieldContent";
|
|
825
824
|
} | {
|
|
826
|
-
type:
|
|
825
|
+
type: string;
|
|
826
|
+
__TYPE__: "EmptyContent";
|
|
827
|
+
} | {
|
|
828
|
+
position: {
|
|
829
|
+
lat: number;
|
|
830
|
+
lng: number;
|
|
831
|
+
};
|
|
832
|
+
__TYPE__: "GeoPointContent";
|
|
833
|
+
} | {
|
|
834
|
+
__TYPE__: "LinkContent";
|
|
835
|
+
key: string;
|
|
836
|
+
value: {
|
|
837
|
+
text?: string | undefined;
|
|
838
|
+
variant?: string | undefined;
|
|
839
|
+
} & LinkContentValue;
|
|
840
|
+
} | {
|
|
841
|
+
type: "Number";
|
|
827
842
|
value: string;
|
|
828
843
|
__TYPE__: "FieldContent";
|
|
829
844
|
} | {
|
|
830
|
-
type: "
|
|
845
|
+
type: "Range";
|
|
831
846
|
value: string;
|
|
832
847
|
__TYPE__: "FieldContent";
|
|
833
848
|
} | {
|
|
834
|
-
type: "
|
|
849
|
+
type: "Select";
|
|
835
850
|
value: string;
|
|
836
851
|
__TYPE__: "FieldContent";
|
|
837
852
|
} | {
|
|
838
|
-
|
|
853
|
+
__TYPE__: "SeparatorContent";
|
|
854
|
+
} | {
|
|
855
|
+
type: "Text";
|
|
839
856
|
value: string;
|
|
840
857
|
__TYPE__: "FieldContent";
|
|
841
858
|
} | {
|
|
842
|
-
type: "
|
|
859
|
+
type: "Timestamp";
|
|
843
860
|
value: string;
|
|
844
861
|
__TYPE__: "FieldContent";
|
|
845
862
|
} | {
|
|
846
|
-
|
|
863
|
+
__TYPE__: "IntegrationFieldsContent";
|
|
847
864
|
value: string;
|
|
848
|
-
__TYPE__: "FieldContent";
|
|
849
865
|
} | {
|
|
850
|
-
__TYPE__: "
|
|
851
|
-
|
|
866
|
+
__TYPE__: "RepeatableContent";
|
|
867
|
+
type: "Link";
|
|
868
|
+
value: {
|
|
869
|
+
__TYPE__: "LinkContent";
|
|
870
|
+
key: string;
|
|
871
|
+
value: {
|
|
872
|
+
text?: string | undefined;
|
|
873
|
+
variant?: string | undefined;
|
|
874
|
+
} & LinkContentValue;
|
|
875
|
+
}[];
|
|
876
|
+
} | {
|
|
877
|
+
__TYPE__: "StructuredTextContent";
|
|
878
|
+
value: RichTextContentBlock[];
|
|
879
|
+
} | {
|
|
880
|
+
__TYPE__: "TableContent";
|
|
881
|
+
content: {
|
|
882
|
+
key: string;
|
|
883
|
+
type: "tableRow";
|
|
884
|
+
content: {
|
|
885
|
+
key: string;
|
|
886
|
+
type: "tableCell" | "tableHeader";
|
|
887
|
+
content: {
|
|
888
|
+
__TYPE__: "StructuredTextContent";
|
|
889
|
+
value: RichTextContentBlock[];
|
|
890
|
+
};
|
|
891
|
+
columnWidth?: number | undefined;
|
|
892
|
+
}[];
|
|
893
|
+
}[];
|
|
852
894
|
} | {
|
|
853
895
|
embed_url: string;
|
|
854
896
|
type: string;
|
|
@@ -864,13 +906,7 @@ declare const NestableContentSchema: t.Type<{
|
|
|
864
906
|
thumbnail_height?: number | null | undefined;
|
|
865
907
|
html?: string | null | undefined;
|
|
866
908
|
__TYPE__: "EmbedContent";
|
|
867
|
-
all
|
|
868
|
-
} | {
|
|
869
|
-
position: {
|
|
870
|
-
lat: number;
|
|
871
|
-
lng: number;
|
|
872
|
-
};
|
|
873
|
-
__TYPE__: "GeoPointContent";
|
|
909
|
+
all?: unknown;
|
|
874
910
|
} | {
|
|
875
911
|
origin: {
|
|
876
912
|
id: string;
|
|
@@ -915,6 +951,26 @@ declare const NestableContentSchema: t.Type<{
|
|
|
915
951
|
provider?: string | null | undefined;
|
|
916
952
|
}> | undefined;
|
|
917
953
|
__TYPE__: "ImageContent";
|
|
954
|
+
}, {
|
|
955
|
+
__TYPE__: "BooleanContent";
|
|
956
|
+
value: boolean;
|
|
957
|
+
} | {
|
|
958
|
+
type: "Color";
|
|
959
|
+
value: string;
|
|
960
|
+
__TYPE__: "FieldContent";
|
|
961
|
+
} | {
|
|
962
|
+
type: "Date";
|
|
963
|
+
value: string;
|
|
964
|
+
__TYPE__: "FieldContent";
|
|
965
|
+
} | {
|
|
966
|
+
type: string;
|
|
967
|
+
__TYPE__: "EmptyContent";
|
|
968
|
+
} | {
|
|
969
|
+
position: {
|
|
970
|
+
lat: number;
|
|
971
|
+
lng: number;
|
|
972
|
+
};
|
|
973
|
+
__TYPE__: "GeoPointContent";
|
|
918
974
|
} | {
|
|
919
975
|
__TYPE__: "LinkContent";
|
|
920
976
|
key: string;
|
|
@@ -922,6 +978,31 @@ declare const NestableContentSchema: t.Type<{
|
|
|
922
978
|
text?: string | undefined;
|
|
923
979
|
variant?: string | undefined;
|
|
924
980
|
} & LinkContentValue;
|
|
981
|
+
} | {
|
|
982
|
+
type: "Number";
|
|
983
|
+
value: string;
|
|
984
|
+
__TYPE__: "FieldContent";
|
|
985
|
+
} | {
|
|
986
|
+
type: "Range";
|
|
987
|
+
value: string;
|
|
988
|
+
__TYPE__: "FieldContent";
|
|
989
|
+
} | {
|
|
990
|
+
type: "Select";
|
|
991
|
+
value: string;
|
|
992
|
+
__TYPE__: "FieldContent";
|
|
993
|
+
} | {
|
|
994
|
+
__TYPE__: "SeparatorContent";
|
|
995
|
+
} | {
|
|
996
|
+
type: "Text";
|
|
997
|
+
value: string;
|
|
998
|
+
__TYPE__: "FieldContent";
|
|
999
|
+
} | {
|
|
1000
|
+
type: "Timestamp";
|
|
1001
|
+
value: string;
|
|
1002
|
+
__TYPE__: "FieldContent";
|
|
1003
|
+
} | {
|
|
1004
|
+
__TYPE__: "IntegrationFieldsContent";
|
|
1005
|
+
value: string;
|
|
925
1006
|
} | {
|
|
926
1007
|
__TYPE__: "RepeatableContent";
|
|
927
1008
|
type: "Link";
|
|
@@ -951,45 +1032,6 @@ declare const NestableContentSchema: t.Type<{
|
|
|
951
1032
|
columnWidth?: number | undefined;
|
|
952
1033
|
}[];
|
|
953
1034
|
}[];
|
|
954
|
-
}, {
|
|
955
|
-
type: string;
|
|
956
|
-
__TYPE__: "EmptyContent";
|
|
957
|
-
} | {
|
|
958
|
-
__TYPE__: "IntegrationFieldsContent";
|
|
959
|
-
value: string;
|
|
960
|
-
} | {
|
|
961
|
-
__TYPE__: "SeparatorContent";
|
|
962
|
-
} | {
|
|
963
|
-
type: "Text";
|
|
964
|
-
value: string;
|
|
965
|
-
__TYPE__: "FieldContent";
|
|
966
|
-
} | {
|
|
967
|
-
type: "Color";
|
|
968
|
-
value: string;
|
|
969
|
-
__TYPE__: "FieldContent";
|
|
970
|
-
} | {
|
|
971
|
-
type: "Date";
|
|
972
|
-
value: string;
|
|
973
|
-
__TYPE__: "FieldContent";
|
|
974
|
-
} | {
|
|
975
|
-
type: "Timestamp";
|
|
976
|
-
value: string;
|
|
977
|
-
__TYPE__: "FieldContent";
|
|
978
|
-
} | {
|
|
979
|
-
type: "Number";
|
|
980
|
-
value: string;
|
|
981
|
-
__TYPE__: "FieldContent";
|
|
982
|
-
} | {
|
|
983
|
-
type: "Range";
|
|
984
|
-
value: string;
|
|
985
|
-
__TYPE__: "FieldContent";
|
|
986
|
-
} | {
|
|
987
|
-
type: "Select";
|
|
988
|
-
value: string;
|
|
989
|
-
__TYPE__: "FieldContent";
|
|
990
|
-
} | {
|
|
991
|
-
__TYPE__: "BooleanContent";
|
|
992
|
-
value: boolean;
|
|
993
1035
|
} | {
|
|
994
1036
|
embed_url: string;
|
|
995
1037
|
type: string;
|
|
@@ -1005,13 +1047,7 @@ declare const NestableContentSchema: t.Type<{
|
|
|
1005
1047
|
thumbnail_height?: number | null | undefined;
|
|
1006
1048
|
html?: string | null | undefined;
|
|
1007
1049
|
__TYPE__: "EmbedContent";
|
|
1008
|
-
all
|
|
1009
|
-
} | {
|
|
1010
|
-
position: {
|
|
1011
|
-
lat: number;
|
|
1012
|
-
lng: number;
|
|
1013
|
-
};
|
|
1014
|
-
__TYPE__: "GeoPointContent";
|
|
1050
|
+
all?: unknown;
|
|
1015
1051
|
} | {
|
|
1016
1052
|
origin: {
|
|
1017
1053
|
id: string;
|
|
@@ -1056,42 +1092,6 @@ declare const NestableContentSchema: t.Type<{
|
|
|
1056
1092
|
provider?: string | null | undefined;
|
|
1057
1093
|
}> | undefined;
|
|
1058
1094
|
__TYPE__: "ImageContent";
|
|
1059
|
-
} | {
|
|
1060
|
-
__TYPE__: "LinkContent";
|
|
1061
|
-
key: string;
|
|
1062
|
-
value: {
|
|
1063
|
-
text?: string | undefined;
|
|
1064
|
-
variant?: string | undefined;
|
|
1065
|
-
} & LinkContentValue;
|
|
1066
|
-
} | {
|
|
1067
|
-
__TYPE__: "RepeatableContent";
|
|
1068
|
-
type: "Link";
|
|
1069
|
-
value: {
|
|
1070
|
-
__TYPE__: "LinkContent";
|
|
1071
|
-
key: string;
|
|
1072
|
-
value: {
|
|
1073
|
-
text?: string | undefined;
|
|
1074
|
-
variant?: string | undefined;
|
|
1075
|
-
} & LinkContentValue;
|
|
1076
|
-
}[];
|
|
1077
|
-
} | {
|
|
1078
|
-
__TYPE__: "StructuredTextContent";
|
|
1079
|
-
value: RichTextContentBlock[];
|
|
1080
|
-
} | {
|
|
1081
|
-
__TYPE__: "TableContent";
|
|
1082
|
-
content: {
|
|
1083
|
-
key: string;
|
|
1084
|
-
type: "tableRow";
|
|
1085
|
-
content: {
|
|
1086
|
-
key: string;
|
|
1087
|
-
type: "tableCell" | "tableHeader";
|
|
1088
|
-
content: {
|
|
1089
|
-
__TYPE__: "StructuredTextContent";
|
|
1090
|
-
value: RichTextContentBlock[];
|
|
1091
|
-
};
|
|
1092
|
-
columnWidth?: number | undefined;
|
|
1093
|
-
}[];
|
|
1094
|
-
}[];
|
|
1095
1095
|
}, unknown>;
|
|
1096
1096
|
declare const GroupContentSchema: t.Type<{
|
|
1097
1097
|
__TYPE__: "GroupContentType";
|
|
@@ -1104,17 +1104,8 @@ declare const GroupItemContentSchema: t.Type<GroupItemContent, GroupItemContent,
|
|
|
1104
1104
|
declare const CompositeSliceContentSchema: t.Type<{
|
|
1105
1105
|
__TYPE__: "CompositeSliceContent";
|
|
1106
1106
|
nonRepeat: Record<string, {
|
|
1107
|
-
|
|
1108
|
-
|
|
1109
|
-
} | {
|
|
1110
|
-
__TYPE__: "IntegrationFieldsContent";
|
|
1111
|
-
value: string;
|
|
1112
|
-
} | {
|
|
1113
|
-
__TYPE__: "SeparatorContent";
|
|
1114
|
-
} | {
|
|
1115
|
-
type: "Text";
|
|
1116
|
-
value: string;
|
|
1117
|
-
__TYPE__: "FieldContent";
|
|
1107
|
+
__TYPE__: "BooleanContent";
|
|
1108
|
+
value: boolean;
|
|
1118
1109
|
} | {
|
|
1119
1110
|
type: "Color";
|
|
1120
1111
|
value: string;
|
|
@@ -1124,9 +1115,21 @@ declare const CompositeSliceContentSchema: t.Type<{
|
|
|
1124
1115
|
value: string;
|
|
1125
1116
|
__TYPE__: "FieldContent";
|
|
1126
1117
|
} | {
|
|
1127
|
-
type:
|
|
1128
|
-
|
|
1129
|
-
|
|
1118
|
+
type: string;
|
|
1119
|
+
__TYPE__: "EmptyContent";
|
|
1120
|
+
} | {
|
|
1121
|
+
position: {
|
|
1122
|
+
lat: number;
|
|
1123
|
+
lng: number;
|
|
1124
|
+
};
|
|
1125
|
+
__TYPE__: "GeoPointContent";
|
|
1126
|
+
} | {
|
|
1127
|
+
__TYPE__: "LinkContent";
|
|
1128
|
+
key: string;
|
|
1129
|
+
value: {
|
|
1130
|
+
text?: string | undefined;
|
|
1131
|
+
variant?: string | undefined;
|
|
1132
|
+
} & LinkContentValue;
|
|
1130
1133
|
} | {
|
|
1131
1134
|
type: "Number";
|
|
1132
1135
|
value: string;
|
|
@@ -1140,34 +1143,67 @@ declare const CompositeSliceContentSchema: t.Type<{
|
|
|
1140
1143
|
value: string;
|
|
1141
1144
|
__TYPE__: "FieldContent";
|
|
1142
1145
|
} | {
|
|
1143
|
-
__TYPE__: "
|
|
1144
|
-
value: boolean;
|
|
1146
|
+
__TYPE__: "SeparatorContent";
|
|
1145
1147
|
} | {
|
|
1146
|
-
|
|
1147
|
-
|
|
1148
|
-
|
|
1149
|
-
title?: string | null | undefined;
|
|
1150
|
-
author_name?: string | null | undefined;
|
|
1151
|
-
author_url?: string | null | undefined;
|
|
1152
|
-
provider_name?: string | null | undefined;
|
|
1153
|
-
provider_url?: string | null | undefined;
|
|
1154
|
-
cache_age?: string | number | null | undefined;
|
|
1155
|
-
thumbnail_url?: string | null | undefined;
|
|
1156
|
-
thumbnail_width?: number | null | undefined;
|
|
1157
|
-
thumbnail_height?: number | null | undefined;
|
|
1158
|
-
html?: string | null | undefined;
|
|
1159
|
-
__TYPE__: "EmbedContent";
|
|
1160
|
-
all: unknown;
|
|
1148
|
+
type: "Text";
|
|
1149
|
+
value: string;
|
|
1150
|
+
__TYPE__: "FieldContent";
|
|
1161
1151
|
} | {
|
|
1162
|
-
|
|
1163
|
-
|
|
1164
|
-
|
|
1165
|
-
};
|
|
1166
|
-
__TYPE__: "GeoPointContent";
|
|
1152
|
+
type: "Timestamp";
|
|
1153
|
+
value: string;
|
|
1154
|
+
__TYPE__: "FieldContent";
|
|
1167
1155
|
} | {
|
|
1168
|
-
|
|
1169
|
-
|
|
1170
|
-
|
|
1156
|
+
__TYPE__: "IntegrationFieldsContent";
|
|
1157
|
+
value: string;
|
|
1158
|
+
} | {
|
|
1159
|
+
__TYPE__: "RepeatableContent";
|
|
1160
|
+
type: "Link";
|
|
1161
|
+
value: {
|
|
1162
|
+
__TYPE__: "LinkContent";
|
|
1163
|
+
key: string;
|
|
1164
|
+
value: {
|
|
1165
|
+
text?: string | undefined;
|
|
1166
|
+
variant?: string | undefined;
|
|
1167
|
+
} & LinkContentValue;
|
|
1168
|
+
}[];
|
|
1169
|
+
} | {
|
|
1170
|
+
__TYPE__: "StructuredTextContent";
|
|
1171
|
+
value: RichTextContentBlock[];
|
|
1172
|
+
} | {
|
|
1173
|
+
__TYPE__: "TableContent";
|
|
1174
|
+
content: {
|
|
1175
|
+
key: string;
|
|
1176
|
+
type: "tableRow";
|
|
1177
|
+
content: {
|
|
1178
|
+
key: string;
|
|
1179
|
+
type: "tableCell" | "tableHeader";
|
|
1180
|
+
content: {
|
|
1181
|
+
__TYPE__: "StructuredTextContent";
|
|
1182
|
+
value: RichTextContentBlock[];
|
|
1183
|
+
};
|
|
1184
|
+
columnWidth?: number | undefined;
|
|
1185
|
+
}[];
|
|
1186
|
+
}[];
|
|
1187
|
+
} | {
|
|
1188
|
+
embed_url: string;
|
|
1189
|
+
type: string;
|
|
1190
|
+
version?: string | number | null | undefined;
|
|
1191
|
+
title?: string | null | undefined;
|
|
1192
|
+
author_name?: string | null | undefined;
|
|
1193
|
+
author_url?: string | null | undefined;
|
|
1194
|
+
provider_name?: string | null | undefined;
|
|
1195
|
+
provider_url?: string | null | undefined;
|
|
1196
|
+
cache_age?: string | number | null | undefined;
|
|
1197
|
+
thumbnail_url?: string | null | undefined;
|
|
1198
|
+
thumbnail_width?: number | null | undefined;
|
|
1199
|
+
thumbnail_height?: number | null | undefined;
|
|
1200
|
+
html?: string | null | undefined;
|
|
1201
|
+
__TYPE__: "EmbedContent";
|
|
1202
|
+
all?: unknown;
|
|
1203
|
+
} | {
|
|
1204
|
+
origin: {
|
|
1205
|
+
id: string;
|
|
1206
|
+
url: string;
|
|
1171
1207
|
width: number;
|
|
1172
1208
|
height: number;
|
|
1173
1209
|
};
|
|
@@ -1208,6 +1244,30 @@ declare const CompositeSliceContentSchema: t.Type<{
|
|
|
1208
1244
|
provider?: string | null | undefined;
|
|
1209
1245
|
}> | undefined;
|
|
1210
1246
|
__TYPE__: "ImageContent";
|
|
1247
|
+
}>;
|
|
1248
|
+
repeat: GroupItemContent[];
|
|
1249
|
+
}, {
|
|
1250
|
+
__TYPE__: "CompositeSliceContent";
|
|
1251
|
+
nonRepeat: Record<string, {
|
|
1252
|
+
__TYPE__: "BooleanContent";
|
|
1253
|
+
value: boolean;
|
|
1254
|
+
} | {
|
|
1255
|
+
type: "Color";
|
|
1256
|
+
value: string;
|
|
1257
|
+
__TYPE__: "FieldContent";
|
|
1258
|
+
} | {
|
|
1259
|
+
type: "Date";
|
|
1260
|
+
value: string;
|
|
1261
|
+
__TYPE__: "FieldContent";
|
|
1262
|
+
} | {
|
|
1263
|
+
type: string;
|
|
1264
|
+
__TYPE__: "EmptyContent";
|
|
1265
|
+
} | {
|
|
1266
|
+
position: {
|
|
1267
|
+
lat: number;
|
|
1268
|
+
lng: number;
|
|
1269
|
+
};
|
|
1270
|
+
__TYPE__: "GeoPointContent";
|
|
1211
1271
|
} | {
|
|
1212
1272
|
__TYPE__: "LinkContent";
|
|
1213
1273
|
key: string;
|
|
@@ -1215,6 +1275,31 @@ declare const CompositeSliceContentSchema: t.Type<{
|
|
|
1215
1275
|
text?: string | undefined;
|
|
1216
1276
|
variant?: string | undefined;
|
|
1217
1277
|
} & LinkContentValue;
|
|
1278
|
+
} | {
|
|
1279
|
+
type: "Number";
|
|
1280
|
+
value: string;
|
|
1281
|
+
__TYPE__: "FieldContent";
|
|
1282
|
+
} | {
|
|
1283
|
+
type: "Range";
|
|
1284
|
+
value: string;
|
|
1285
|
+
__TYPE__: "FieldContent";
|
|
1286
|
+
} | {
|
|
1287
|
+
type: "Select";
|
|
1288
|
+
value: string;
|
|
1289
|
+
__TYPE__: "FieldContent";
|
|
1290
|
+
} | {
|
|
1291
|
+
__TYPE__: "SeparatorContent";
|
|
1292
|
+
} | {
|
|
1293
|
+
type: "Text";
|
|
1294
|
+
value: string;
|
|
1295
|
+
__TYPE__: "FieldContent";
|
|
1296
|
+
} | {
|
|
1297
|
+
type: "Timestamp";
|
|
1298
|
+
value: string;
|
|
1299
|
+
__TYPE__: "FieldContent";
|
|
1300
|
+
} | {
|
|
1301
|
+
__TYPE__: "IntegrationFieldsContent";
|
|
1302
|
+
value: string;
|
|
1218
1303
|
} | {
|
|
1219
1304
|
__TYPE__: "RepeatableContent";
|
|
1220
1305
|
type: "Link";
|
|
@@ -1244,49 +1329,6 @@ declare const CompositeSliceContentSchema: t.Type<{
|
|
|
1244
1329
|
columnWidth?: number | undefined;
|
|
1245
1330
|
}[];
|
|
1246
1331
|
}[];
|
|
1247
|
-
}>;
|
|
1248
|
-
repeat: GroupItemContent[];
|
|
1249
|
-
}, {
|
|
1250
|
-
__TYPE__: "CompositeSliceContent";
|
|
1251
|
-
nonRepeat: Record<string, {
|
|
1252
|
-
type: string;
|
|
1253
|
-
__TYPE__: "EmptyContent";
|
|
1254
|
-
} | {
|
|
1255
|
-
__TYPE__: "IntegrationFieldsContent";
|
|
1256
|
-
value: string;
|
|
1257
|
-
} | {
|
|
1258
|
-
__TYPE__: "SeparatorContent";
|
|
1259
|
-
} | {
|
|
1260
|
-
type: "Text";
|
|
1261
|
-
value: string;
|
|
1262
|
-
__TYPE__: "FieldContent";
|
|
1263
|
-
} | {
|
|
1264
|
-
type: "Color";
|
|
1265
|
-
value: string;
|
|
1266
|
-
__TYPE__: "FieldContent";
|
|
1267
|
-
} | {
|
|
1268
|
-
type: "Date";
|
|
1269
|
-
value: string;
|
|
1270
|
-
__TYPE__: "FieldContent";
|
|
1271
|
-
} | {
|
|
1272
|
-
type: "Timestamp";
|
|
1273
|
-
value: string;
|
|
1274
|
-
__TYPE__: "FieldContent";
|
|
1275
|
-
} | {
|
|
1276
|
-
type: "Number";
|
|
1277
|
-
value: string;
|
|
1278
|
-
__TYPE__: "FieldContent";
|
|
1279
|
-
} | {
|
|
1280
|
-
type: "Range";
|
|
1281
|
-
value: string;
|
|
1282
|
-
__TYPE__: "FieldContent";
|
|
1283
|
-
} | {
|
|
1284
|
-
type: "Select";
|
|
1285
|
-
value: string;
|
|
1286
|
-
__TYPE__: "FieldContent";
|
|
1287
|
-
} | {
|
|
1288
|
-
__TYPE__: "BooleanContent";
|
|
1289
|
-
value: boolean;
|
|
1290
1332
|
} | {
|
|
1291
1333
|
embed_url: string;
|
|
1292
1334
|
type: string;
|
|
@@ -1302,13 +1344,7 @@ declare const CompositeSliceContentSchema: t.Type<{
|
|
|
1302
1344
|
thumbnail_height?: number | null | undefined;
|
|
1303
1345
|
html?: string | null | undefined;
|
|
1304
1346
|
__TYPE__: "EmbedContent";
|
|
1305
|
-
all
|
|
1306
|
-
} | {
|
|
1307
|
-
position: {
|
|
1308
|
-
lat: number;
|
|
1309
|
-
lng: number;
|
|
1310
|
-
};
|
|
1311
|
-
__TYPE__: "GeoPointContent";
|
|
1347
|
+
all?: unknown;
|
|
1312
1348
|
} | {
|
|
1313
1349
|
origin: {
|
|
1314
1350
|
id: string;
|
|
@@ -1353,84 +1389,90 @@ declare const CompositeSliceContentSchema: t.Type<{
|
|
|
1353
1389
|
provider?: string | null | undefined;
|
|
1354
1390
|
}> | undefined;
|
|
1355
1391
|
__TYPE__: "ImageContent";
|
|
1356
|
-
} | {
|
|
1357
|
-
__TYPE__: "LinkContent";
|
|
1358
|
-
key: string;
|
|
1359
|
-
value: {
|
|
1360
|
-
text?: string | undefined;
|
|
1361
|
-
variant?: string | undefined;
|
|
1362
|
-
} & LinkContentValue;
|
|
1363
|
-
} | {
|
|
1364
|
-
__TYPE__: "RepeatableContent";
|
|
1365
|
-
type: "Link";
|
|
1366
|
-
value: {
|
|
1367
|
-
__TYPE__: "LinkContent";
|
|
1368
|
-
key: string;
|
|
1369
|
-
value: {
|
|
1370
|
-
text?: string | undefined;
|
|
1371
|
-
variant?: string | undefined;
|
|
1372
|
-
} & LinkContentValue;
|
|
1373
|
-
}[];
|
|
1374
|
-
} | {
|
|
1375
|
-
__TYPE__: "StructuredTextContent";
|
|
1376
|
-
value: RichTextContentBlock[];
|
|
1377
|
-
} | {
|
|
1378
|
-
__TYPE__: "TableContent";
|
|
1379
|
-
content: {
|
|
1380
|
-
key: string;
|
|
1381
|
-
type: "tableRow";
|
|
1382
|
-
content: {
|
|
1383
|
-
key: string;
|
|
1384
|
-
type: "tableCell" | "tableHeader";
|
|
1385
|
-
content: {
|
|
1386
|
-
__TYPE__: "StructuredTextContent";
|
|
1387
|
-
value: RichTextContentBlock[];
|
|
1388
|
-
};
|
|
1389
|
-
columnWidth?: number | undefined;
|
|
1390
|
-
}[];
|
|
1391
|
-
}[];
|
|
1392
1392
|
}>;
|
|
1393
1393
|
repeat: GroupItemContent[];
|
|
1394
1394
|
}, unknown>;
|
|
1395
1395
|
declare const LegacySliceContentSchema: t.Type<{
|
|
1396
|
-
|
|
1397
|
-
|
|
1396
|
+
__TYPE__: "BooleanContent";
|
|
1397
|
+
value: boolean;
|
|
1398
1398
|
} | {
|
|
1399
|
-
|
|
1399
|
+
type: "Color";
|
|
1400
1400
|
value: string;
|
|
1401
|
+
__TYPE__: "FieldContent";
|
|
1401
1402
|
} | {
|
|
1402
|
-
|
|
1403
|
-
} | {
|
|
1404
|
-
type: "Text";
|
|
1403
|
+
type: "Date";
|
|
1405
1404
|
value: string;
|
|
1406
1405
|
__TYPE__: "FieldContent";
|
|
1407
1406
|
} | {
|
|
1408
|
-
type:
|
|
1407
|
+
type: string;
|
|
1408
|
+
__TYPE__: "EmptyContent";
|
|
1409
|
+
} | {
|
|
1410
|
+
position: {
|
|
1411
|
+
lat: number;
|
|
1412
|
+
lng: number;
|
|
1413
|
+
};
|
|
1414
|
+
__TYPE__: "GeoPointContent";
|
|
1415
|
+
} | {
|
|
1416
|
+
__TYPE__: "LinkContent";
|
|
1417
|
+
key: string;
|
|
1418
|
+
value: {
|
|
1419
|
+
text?: string | undefined;
|
|
1420
|
+
variant?: string | undefined;
|
|
1421
|
+
} & LinkContentValue;
|
|
1422
|
+
} | {
|
|
1423
|
+
type: "Number";
|
|
1409
1424
|
value: string;
|
|
1410
1425
|
__TYPE__: "FieldContent";
|
|
1411
1426
|
} | {
|
|
1412
|
-
type: "
|
|
1427
|
+
type: "Range";
|
|
1413
1428
|
value: string;
|
|
1414
1429
|
__TYPE__: "FieldContent";
|
|
1415
1430
|
} | {
|
|
1416
|
-
type: "
|
|
1431
|
+
type: "Select";
|
|
1417
1432
|
value: string;
|
|
1418
1433
|
__TYPE__: "FieldContent";
|
|
1419
1434
|
} | {
|
|
1420
|
-
|
|
1435
|
+
__TYPE__: "SeparatorContent";
|
|
1436
|
+
} | {
|
|
1437
|
+
type: "Text";
|
|
1421
1438
|
value: string;
|
|
1422
1439
|
__TYPE__: "FieldContent";
|
|
1423
1440
|
} | {
|
|
1424
|
-
type: "
|
|
1441
|
+
type: "Timestamp";
|
|
1425
1442
|
value: string;
|
|
1426
1443
|
__TYPE__: "FieldContent";
|
|
1427
1444
|
} | {
|
|
1428
|
-
|
|
1445
|
+
__TYPE__: "IntegrationFieldsContent";
|
|
1429
1446
|
value: string;
|
|
1430
|
-
__TYPE__: "FieldContent";
|
|
1431
1447
|
} | {
|
|
1432
|
-
__TYPE__: "
|
|
1433
|
-
|
|
1448
|
+
__TYPE__: "RepeatableContent";
|
|
1449
|
+
type: "Link";
|
|
1450
|
+
value: {
|
|
1451
|
+
__TYPE__: "LinkContent";
|
|
1452
|
+
key: string;
|
|
1453
|
+
value: {
|
|
1454
|
+
text?: string | undefined;
|
|
1455
|
+
variant?: string | undefined;
|
|
1456
|
+
} & LinkContentValue;
|
|
1457
|
+
}[];
|
|
1458
|
+
} | {
|
|
1459
|
+
__TYPE__: "StructuredTextContent";
|
|
1460
|
+
value: RichTextContentBlock[];
|
|
1461
|
+
} | {
|
|
1462
|
+
__TYPE__: "TableContent";
|
|
1463
|
+
content: {
|
|
1464
|
+
key: string;
|
|
1465
|
+
type: "tableRow";
|
|
1466
|
+
content: {
|
|
1467
|
+
key: string;
|
|
1468
|
+
type: "tableCell" | "tableHeader";
|
|
1469
|
+
content: {
|
|
1470
|
+
__TYPE__: "StructuredTextContent";
|
|
1471
|
+
value: RichTextContentBlock[];
|
|
1472
|
+
};
|
|
1473
|
+
columnWidth?: number | undefined;
|
|
1474
|
+
}[];
|
|
1475
|
+
}[];
|
|
1434
1476
|
} | {
|
|
1435
1477
|
embed_url: string;
|
|
1436
1478
|
type: string;
|
|
@@ -1446,13 +1488,7 @@ declare const LegacySliceContentSchema: t.Type<{
|
|
|
1446
1488
|
thumbnail_height?: number | null | undefined;
|
|
1447
1489
|
html?: string | null | undefined;
|
|
1448
1490
|
__TYPE__: "EmbedContent";
|
|
1449
|
-
all
|
|
1450
|
-
} | {
|
|
1451
|
-
position: {
|
|
1452
|
-
lat: number;
|
|
1453
|
-
lng: number;
|
|
1454
|
-
};
|
|
1455
|
-
__TYPE__: "GeoPointContent";
|
|
1491
|
+
all?: unknown;
|
|
1456
1492
|
} | {
|
|
1457
1493
|
origin: {
|
|
1458
1494
|
id: string;
|
|
@@ -1497,6 +1533,29 @@ declare const LegacySliceContentSchema: t.Type<{
|
|
|
1497
1533
|
provider?: string | null | undefined;
|
|
1498
1534
|
}> | undefined;
|
|
1499
1535
|
__TYPE__: "ImageContent";
|
|
1536
|
+
} | {
|
|
1537
|
+
__TYPE__: "GroupContentType";
|
|
1538
|
+
value: GroupItemContent[];
|
|
1539
|
+
}, {
|
|
1540
|
+
__TYPE__: "BooleanContent";
|
|
1541
|
+
value: boolean;
|
|
1542
|
+
} | {
|
|
1543
|
+
type: "Color";
|
|
1544
|
+
value: string;
|
|
1545
|
+
__TYPE__: "FieldContent";
|
|
1546
|
+
} | {
|
|
1547
|
+
type: "Date";
|
|
1548
|
+
value: string;
|
|
1549
|
+
__TYPE__: "FieldContent";
|
|
1550
|
+
} | {
|
|
1551
|
+
type: string;
|
|
1552
|
+
__TYPE__: "EmptyContent";
|
|
1553
|
+
} | {
|
|
1554
|
+
position: {
|
|
1555
|
+
lat: number;
|
|
1556
|
+
lng: number;
|
|
1557
|
+
};
|
|
1558
|
+
__TYPE__: "GeoPointContent";
|
|
1500
1559
|
} | {
|
|
1501
1560
|
__TYPE__: "LinkContent";
|
|
1502
1561
|
key: string;
|
|
@@ -1504,6 +1563,31 @@ declare const LegacySliceContentSchema: t.Type<{
|
|
|
1504
1563
|
text?: string | undefined;
|
|
1505
1564
|
variant?: string | undefined;
|
|
1506
1565
|
} & LinkContentValue;
|
|
1566
|
+
} | {
|
|
1567
|
+
type: "Number";
|
|
1568
|
+
value: string;
|
|
1569
|
+
__TYPE__: "FieldContent";
|
|
1570
|
+
} | {
|
|
1571
|
+
type: "Range";
|
|
1572
|
+
value: string;
|
|
1573
|
+
__TYPE__: "FieldContent";
|
|
1574
|
+
} | {
|
|
1575
|
+
type: "Select";
|
|
1576
|
+
value: string;
|
|
1577
|
+
__TYPE__: "FieldContent";
|
|
1578
|
+
} | {
|
|
1579
|
+
__TYPE__: "SeparatorContent";
|
|
1580
|
+
} | {
|
|
1581
|
+
type: "Text";
|
|
1582
|
+
value: string;
|
|
1583
|
+
__TYPE__: "FieldContent";
|
|
1584
|
+
} | {
|
|
1585
|
+
type: "Timestamp";
|
|
1586
|
+
value: string;
|
|
1587
|
+
__TYPE__: "FieldContent";
|
|
1588
|
+
} | {
|
|
1589
|
+
__TYPE__: "IntegrationFieldsContent";
|
|
1590
|
+
value: string;
|
|
1507
1591
|
} | {
|
|
1508
1592
|
__TYPE__: "RepeatableContent";
|
|
1509
1593
|
type: "Link";
|
|
@@ -1533,48 +1617,6 @@ declare const LegacySliceContentSchema: t.Type<{
|
|
|
1533
1617
|
columnWidth?: number | undefined;
|
|
1534
1618
|
}[];
|
|
1535
1619
|
}[];
|
|
1536
|
-
} | {
|
|
1537
|
-
__TYPE__: "GroupContentType";
|
|
1538
|
-
value: GroupItemContent[];
|
|
1539
|
-
}, {
|
|
1540
|
-
type: string;
|
|
1541
|
-
__TYPE__: "EmptyContent";
|
|
1542
|
-
} | {
|
|
1543
|
-
__TYPE__: "IntegrationFieldsContent";
|
|
1544
|
-
value: string;
|
|
1545
|
-
} | {
|
|
1546
|
-
__TYPE__: "SeparatorContent";
|
|
1547
|
-
} | {
|
|
1548
|
-
type: "Text";
|
|
1549
|
-
value: string;
|
|
1550
|
-
__TYPE__: "FieldContent";
|
|
1551
|
-
} | {
|
|
1552
|
-
type: "Color";
|
|
1553
|
-
value: string;
|
|
1554
|
-
__TYPE__: "FieldContent";
|
|
1555
|
-
} | {
|
|
1556
|
-
type: "Date";
|
|
1557
|
-
value: string;
|
|
1558
|
-
__TYPE__: "FieldContent";
|
|
1559
|
-
} | {
|
|
1560
|
-
type: "Timestamp";
|
|
1561
|
-
value: string;
|
|
1562
|
-
__TYPE__: "FieldContent";
|
|
1563
|
-
} | {
|
|
1564
|
-
type: "Number";
|
|
1565
|
-
value: string;
|
|
1566
|
-
__TYPE__: "FieldContent";
|
|
1567
|
-
} | {
|
|
1568
|
-
type: "Range";
|
|
1569
|
-
value: string;
|
|
1570
|
-
__TYPE__: "FieldContent";
|
|
1571
|
-
} | {
|
|
1572
|
-
type: "Select";
|
|
1573
|
-
value: string;
|
|
1574
|
-
__TYPE__: "FieldContent";
|
|
1575
|
-
} | {
|
|
1576
|
-
__TYPE__: "BooleanContent";
|
|
1577
|
-
value: boolean;
|
|
1578
1620
|
} | {
|
|
1579
1621
|
embed_url: string;
|
|
1580
1622
|
type: string;
|
|
@@ -1590,13 +1632,7 @@ declare const LegacySliceContentSchema: t.Type<{
|
|
|
1590
1632
|
thumbnail_height?: number | null | undefined;
|
|
1591
1633
|
html?: string | null | undefined;
|
|
1592
1634
|
__TYPE__: "EmbedContent";
|
|
1593
|
-
all
|
|
1594
|
-
} | {
|
|
1595
|
-
position: {
|
|
1596
|
-
lat: number;
|
|
1597
|
-
lng: number;
|
|
1598
|
-
};
|
|
1599
|
-
__TYPE__: "GeoPointContent";
|
|
1635
|
+
all?: unknown;
|
|
1600
1636
|
} | {
|
|
1601
1637
|
origin: {
|
|
1602
1638
|
id: string;
|
|
@@ -1641,42 +1677,6 @@ declare const LegacySliceContentSchema: t.Type<{
|
|
|
1641
1677
|
provider?: string | null | undefined;
|
|
1642
1678
|
}> | undefined;
|
|
1643
1679
|
__TYPE__: "ImageContent";
|
|
1644
|
-
} | {
|
|
1645
|
-
__TYPE__: "LinkContent";
|
|
1646
|
-
key: string;
|
|
1647
|
-
value: {
|
|
1648
|
-
text?: string | undefined;
|
|
1649
|
-
variant?: string | undefined;
|
|
1650
|
-
} & LinkContentValue;
|
|
1651
|
-
} | {
|
|
1652
|
-
__TYPE__: "RepeatableContent";
|
|
1653
|
-
type: "Link";
|
|
1654
|
-
value: {
|
|
1655
|
-
__TYPE__: "LinkContent";
|
|
1656
|
-
key: string;
|
|
1657
|
-
value: {
|
|
1658
|
-
text?: string | undefined;
|
|
1659
|
-
variant?: string | undefined;
|
|
1660
|
-
} & LinkContentValue;
|
|
1661
|
-
}[];
|
|
1662
|
-
} | {
|
|
1663
|
-
__TYPE__: "StructuredTextContent";
|
|
1664
|
-
value: RichTextContentBlock[];
|
|
1665
|
-
} | {
|
|
1666
|
-
__TYPE__: "TableContent";
|
|
1667
|
-
content: {
|
|
1668
|
-
key: string;
|
|
1669
|
-
type: "tableRow";
|
|
1670
|
-
content: {
|
|
1671
|
-
key: string;
|
|
1672
|
-
type: "tableCell" | "tableHeader";
|
|
1673
|
-
content: {
|
|
1674
|
-
__TYPE__: "StructuredTextContent";
|
|
1675
|
-
value: RichTextContentBlock[];
|
|
1676
|
-
};
|
|
1677
|
-
columnWidth?: number | undefined;
|
|
1678
|
-
}[];
|
|
1679
|
-
}[];
|
|
1680
1680
|
} | {
|
|
1681
1681
|
__TYPE__: "GroupContentType";
|
|
1682
1682
|
value: GroupItemContent[];
|
|
@@ -1687,44 +1687,86 @@ declare const LegacySliceItemContentSchema: t.Type<{
|
|
|
1687
1687
|
name: string;
|
|
1688
1688
|
maybeLabel?: string | undefined;
|
|
1689
1689
|
widget: {
|
|
1690
|
-
|
|
1691
|
-
|
|
1690
|
+
__TYPE__: "BooleanContent";
|
|
1691
|
+
value: boolean;
|
|
1692
1692
|
} | {
|
|
1693
|
-
|
|
1693
|
+
type: "Color";
|
|
1694
1694
|
value: string;
|
|
1695
|
+
__TYPE__: "FieldContent";
|
|
1695
1696
|
} | {
|
|
1696
|
-
|
|
1697
|
-
} | {
|
|
1698
|
-
type: "Text";
|
|
1697
|
+
type: "Date";
|
|
1699
1698
|
value: string;
|
|
1700
1699
|
__TYPE__: "FieldContent";
|
|
1701
1700
|
} | {
|
|
1702
|
-
type:
|
|
1701
|
+
type: string;
|
|
1702
|
+
__TYPE__: "EmptyContent";
|
|
1703
|
+
} | {
|
|
1704
|
+
position: {
|
|
1705
|
+
lat: number;
|
|
1706
|
+
lng: number;
|
|
1707
|
+
};
|
|
1708
|
+
__TYPE__: "GeoPointContent";
|
|
1709
|
+
} | {
|
|
1710
|
+
__TYPE__: "LinkContent";
|
|
1711
|
+
key: string;
|
|
1712
|
+
value: {
|
|
1713
|
+
text?: string | undefined;
|
|
1714
|
+
variant?: string | undefined;
|
|
1715
|
+
} & LinkContentValue;
|
|
1716
|
+
} | {
|
|
1717
|
+
type: "Number";
|
|
1703
1718
|
value: string;
|
|
1704
1719
|
__TYPE__: "FieldContent";
|
|
1705
1720
|
} | {
|
|
1706
|
-
type: "
|
|
1721
|
+
type: "Range";
|
|
1707
1722
|
value: string;
|
|
1708
1723
|
__TYPE__: "FieldContent";
|
|
1709
1724
|
} | {
|
|
1710
|
-
type: "
|
|
1725
|
+
type: "Select";
|
|
1711
1726
|
value: string;
|
|
1712
1727
|
__TYPE__: "FieldContent";
|
|
1713
1728
|
} | {
|
|
1714
|
-
|
|
1729
|
+
__TYPE__: "SeparatorContent";
|
|
1730
|
+
} | {
|
|
1731
|
+
type: "Text";
|
|
1715
1732
|
value: string;
|
|
1716
1733
|
__TYPE__: "FieldContent";
|
|
1717
1734
|
} | {
|
|
1718
|
-
type: "
|
|
1735
|
+
type: "Timestamp";
|
|
1719
1736
|
value: string;
|
|
1720
1737
|
__TYPE__: "FieldContent";
|
|
1721
1738
|
} | {
|
|
1722
|
-
|
|
1739
|
+
__TYPE__: "IntegrationFieldsContent";
|
|
1723
1740
|
value: string;
|
|
1724
|
-
__TYPE__: "FieldContent";
|
|
1725
1741
|
} | {
|
|
1726
|
-
__TYPE__: "
|
|
1727
|
-
|
|
1742
|
+
__TYPE__: "RepeatableContent";
|
|
1743
|
+
type: "Link";
|
|
1744
|
+
value: {
|
|
1745
|
+
__TYPE__: "LinkContent";
|
|
1746
|
+
key: string;
|
|
1747
|
+
value: {
|
|
1748
|
+
text?: string | undefined;
|
|
1749
|
+
variant?: string | undefined;
|
|
1750
|
+
} & LinkContentValue;
|
|
1751
|
+
}[];
|
|
1752
|
+
} | {
|
|
1753
|
+
__TYPE__: "StructuredTextContent";
|
|
1754
|
+
value: RichTextContentBlock[];
|
|
1755
|
+
} | {
|
|
1756
|
+
__TYPE__: "TableContent";
|
|
1757
|
+
content: {
|
|
1758
|
+
key: string;
|
|
1759
|
+
type: "tableRow";
|
|
1760
|
+
content: {
|
|
1761
|
+
key: string;
|
|
1762
|
+
type: "tableCell" | "tableHeader";
|
|
1763
|
+
content: {
|
|
1764
|
+
__TYPE__: "StructuredTextContent";
|
|
1765
|
+
value: RichTextContentBlock[];
|
|
1766
|
+
};
|
|
1767
|
+
columnWidth?: number | undefined;
|
|
1768
|
+
}[];
|
|
1769
|
+
}[];
|
|
1728
1770
|
} | {
|
|
1729
1771
|
embed_url: string;
|
|
1730
1772
|
type: string;
|
|
@@ -1740,13 +1782,7 @@ declare const LegacySliceItemContentSchema: t.Type<{
|
|
|
1740
1782
|
thumbnail_height?: number | null | undefined;
|
|
1741
1783
|
html?: string | null | undefined;
|
|
1742
1784
|
__TYPE__: "EmbedContent";
|
|
1743
|
-
all
|
|
1744
|
-
} | {
|
|
1745
|
-
position: {
|
|
1746
|
-
lat: number;
|
|
1747
|
-
lng: number;
|
|
1748
|
-
};
|
|
1749
|
-
__TYPE__: "GeoPointContent";
|
|
1785
|
+
all?: unknown;
|
|
1750
1786
|
} | {
|
|
1751
1787
|
origin: {
|
|
1752
1788
|
id: string;
|
|
@@ -1791,6 +1827,34 @@ declare const LegacySliceItemContentSchema: t.Type<{
|
|
|
1791
1827
|
provider?: string | null | undefined;
|
|
1792
1828
|
}> | undefined;
|
|
1793
1829
|
__TYPE__: "ImageContent";
|
|
1830
|
+
} | {
|
|
1831
|
+
__TYPE__: "GroupContentType";
|
|
1832
|
+
value: GroupItemContent[];
|
|
1833
|
+
};
|
|
1834
|
+
}, {
|
|
1835
|
+
key: string;
|
|
1836
|
+
name: string;
|
|
1837
|
+
maybeLabel?: string | undefined;
|
|
1838
|
+
widget: {
|
|
1839
|
+
__TYPE__: "BooleanContent";
|
|
1840
|
+
value: boolean;
|
|
1841
|
+
} | {
|
|
1842
|
+
type: "Color";
|
|
1843
|
+
value: string;
|
|
1844
|
+
__TYPE__: "FieldContent";
|
|
1845
|
+
} | {
|
|
1846
|
+
type: "Date";
|
|
1847
|
+
value: string;
|
|
1848
|
+
__TYPE__: "FieldContent";
|
|
1849
|
+
} | {
|
|
1850
|
+
type: string;
|
|
1851
|
+
__TYPE__: "EmptyContent";
|
|
1852
|
+
} | {
|
|
1853
|
+
position: {
|
|
1854
|
+
lat: number;
|
|
1855
|
+
lng: number;
|
|
1856
|
+
};
|
|
1857
|
+
__TYPE__: "GeoPointContent";
|
|
1794
1858
|
} | {
|
|
1795
1859
|
__TYPE__: "LinkContent";
|
|
1796
1860
|
key: string;
|
|
@@ -1798,6 +1862,31 @@ declare const LegacySliceItemContentSchema: t.Type<{
|
|
|
1798
1862
|
text?: string | undefined;
|
|
1799
1863
|
variant?: string | undefined;
|
|
1800
1864
|
} & LinkContentValue;
|
|
1865
|
+
} | {
|
|
1866
|
+
type: "Number";
|
|
1867
|
+
value: string;
|
|
1868
|
+
__TYPE__: "FieldContent";
|
|
1869
|
+
} | {
|
|
1870
|
+
type: "Range";
|
|
1871
|
+
value: string;
|
|
1872
|
+
__TYPE__: "FieldContent";
|
|
1873
|
+
} | {
|
|
1874
|
+
type: "Select";
|
|
1875
|
+
value: string;
|
|
1876
|
+
__TYPE__: "FieldContent";
|
|
1877
|
+
} | {
|
|
1878
|
+
__TYPE__: "SeparatorContent";
|
|
1879
|
+
} | {
|
|
1880
|
+
type: "Text";
|
|
1881
|
+
value: string;
|
|
1882
|
+
__TYPE__: "FieldContent";
|
|
1883
|
+
} | {
|
|
1884
|
+
type: "Timestamp";
|
|
1885
|
+
value: string;
|
|
1886
|
+
__TYPE__: "FieldContent";
|
|
1887
|
+
} | {
|
|
1888
|
+
__TYPE__: "IntegrationFieldsContent";
|
|
1889
|
+
value: string;
|
|
1801
1890
|
} | {
|
|
1802
1891
|
__TYPE__: "RepeatableContent";
|
|
1803
1892
|
type: "Link";
|
|
@@ -1827,53 +1916,6 @@ declare const LegacySliceItemContentSchema: t.Type<{
|
|
|
1827
1916
|
columnWidth?: number | undefined;
|
|
1828
1917
|
}[];
|
|
1829
1918
|
}[];
|
|
1830
|
-
} | {
|
|
1831
|
-
__TYPE__: "GroupContentType";
|
|
1832
|
-
value: GroupItemContent[];
|
|
1833
|
-
};
|
|
1834
|
-
}, {
|
|
1835
|
-
key: string;
|
|
1836
|
-
name: string;
|
|
1837
|
-
maybeLabel?: string | undefined;
|
|
1838
|
-
widget: {
|
|
1839
|
-
type: string;
|
|
1840
|
-
__TYPE__: "EmptyContent";
|
|
1841
|
-
} | {
|
|
1842
|
-
__TYPE__: "IntegrationFieldsContent";
|
|
1843
|
-
value: string;
|
|
1844
|
-
} | {
|
|
1845
|
-
__TYPE__: "SeparatorContent";
|
|
1846
|
-
} | {
|
|
1847
|
-
type: "Text";
|
|
1848
|
-
value: string;
|
|
1849
|
-
__TYPE__: "FieldContent";
|
|
1850
|
-
} | {
|
|
1851
|
-
type: "Color";
|
|
1852
|
-
value: string;
|
|
1853
|
-
__TYPE__: "FieldContent";
|
|
1854
|
-
} | {
|
|
1855
|
-
type: "Date";
|
|
1856
|
-
value: string;
|
|
1857
|
-
__TYPE__: "FieldContent";
|
|
1858
|
-
} | {
|
|
1859
|
-
type: "Timestamp";
|
|
1860
|
-
value: string;
|
|
1861
|
-
__TYPE__: "FieldContent";
|
|
1862
|
-
} | {
|
|
1863
|
-
type: "Number";
|
|
1864
|
-
value: string;
|
|
1865
|
-
__TYPE__: "FieldContent";
|
|
1866
|
-
} | {
|
|
1867
|
-
type: "Range";
|
|
1868
|
-
value: string;
|
|
1869
|
-
__TYPE__: "FieldContent";
|
|
1870
|
-
} | {
|
|
1871
|
-
type: "Select";
|
|
1872
|
-
value: string;
|
|
1873
|
-
__TYPE__: "FieldContent";
|
|
1874
|
-
} | {
|
|
1875
|
-
__TYPE__: "BooleanContent";
|
|
1876
|
-
value: boolean;
|
|
1877
1919
|
} | {
|
|
1878
1920
|
embed_url: string;
|
|
1879
1921
|
type: string;
|
|
@@ -1889,13 +1931,7 @@ declare const LegacySliceItemContentSchema: t.Type<{
|
|
|
1889
1931
|
thumbnail_height?: number | null | undefined;
|
|
1890
1932
|
html?: string | null | undefined;
|
|
1891
1933
|
__TYPE__: "EmbedContent";
|
|
1892
|
-
all
|
|
1893
|
-
} | {
|
|
1894
|
-
position: {
|
|
1895
|
-
lat: number;
|
|
1896
|
-
lng: number;
|
|
1897
|
-
};
|
|
1898
|
-
__TYPE__: "GeoPointContent";
|
|
1934
|
+
all?: unknown;
|
|
1899
1935
|
} | {
|
|
1900
1936
|
origin: {
|
|
1901
1937
|
id: string;
|
|
@@ -1940,42 +1976,6 @@ declare const LegacySliceItemContentSchema: t.Type<{
|
|
|
1940
1976
|
provider?: string | null | undefined;
|
|
1941
1977
|
}> | undefined;
|
|
1942
1978
|
__TYPE__: "ImageContent";
|
|
1943
|
-
} | {
|
|
1944
|
-
__TYPE__: "LinkContent";
|
|
1945
|
-
key: string;
|
|
1946
|
-
value: {
|
|
1947
|
-
text?: string | undefined;
|
|
1948
|
-
variant?: string | undefined;
|
|
1949
|
-
} & LinkContentValue;
|
|
1950
|
-
} | {
|
|
1951
|
-
__TYPE__: "RepeatableContent";
|
|
1952
|
-
type: "Link";
|
|
1953
|
-
value: {
|
|
1954
|
-
__TYPE__: "LinkContent";
|
|
1955
|
-
key: string;
|
|
1956
|
-
value: {
|
|
1957
|
-
text?: string | undefined;
|
|
1958
|
-
variant?: string | undefined;
|
|
1959
|
-
} & LinkContentValue;
|
|
1960
|
-
}[];
|
|
1961
|
-
} | {
|
|
1962
|
-
__TYPE__: "StructuredTextContent";
|
|
1963
|
-
value: RichTextContentBlock[];
|
|
1964
|
-
} | {
|
|
1965
|
-
__TYPE__: "TableContent";
|
|
1966
|
-
content: {
|
|
1967
|
-
key: string;
|
|
1968
|
-
type: "tableRow";
|
|
1969
|
-
content: {
|
|
1970
|
-
key: string;
|
|
1971
|
-
type: "tableCell" | "tableHeader";
|
|
1972
|
-
content: {
|
|
1973
|
-
__TYPE__: "StructuredTextContent";
|
|
1974
|
-
value: RichTextContentBlock[];
|
|
1975
|
-
};
|
|
1976
|
-
columnWidth?: number | undefined;
|
|
1977
|
-
}[];
|
|
1978
|
-
}[];
|
|
1979
1979
|
} | {
|
|
1980
1980
|
__TYPE__: "GroupContentType";
|
|
1981
1981
|
value: GroupItemContent[];
|
|
@@ -1988,17 +1988,8 @@ declare const CompositeSliceItemContentSchema: t.Type<{
|
|
|
1988
1988
|
widget: {
|
|
1989
1989
|
__TYPE__: "CompositeSliceContent";
|
|
1990
1990
|
nonRepeat: Record<string, {
|
|
1991
|
-
|
|
1992
|
-
|
|
1993
|
-
} | {
|
|
1994
|
-
__TYPE__: "IntegrationFieldsContent";
|
|
1995
|
-
value: string;
|
|
1996
|
-
} | {
|
|
1997
|
-
__TYPE__: "SeparatorContent";
|
|
1998
|
-
} | {
|
|
1999
|
-
type: "Text";
|
|
2000
|
-
value: string;
|
|
2001
|
-
__TYPE__: "FieldContent";
|
|
1991
|
+
__TYPE__: "BooleanContent";
|
|
1992
|
+
value: boolean;
|
|
2002
1993
|
} | {
|
|
2003
1994
|
type: "Color";
|
|
2004
1995
|
value: string;
|
|
@@ -2008,90 +1999,14 @@ declare const CompositeSliceItemContentSchema: t.Type<{
|
|
|
2008
1999
|
value: string;
|
|
2009
2000
|
__TYPE__: "FieldContent";
|
|
2010
2001
|
} | {
|
|
2011
|
-
type: "Timestamp";
|
|
2012
|
-
value: string;
|
|
2013
|
-
__TYPE__: "FieldContent";
|
|
2014
|
-
} | {
|
|
2015
|
-
type: "Number";
|
|
2016
|
-
value: string;
|
|
2017
|
-
__TYPE__: "FieldContent";
|
|
2018
|
-
} | {
|
|
2019
|
-
type: "Range";
|
|
2020
|
-
value: string;
|
|
2021
|
-
__TYPE__: "FieldContent";
|
|
2022
|
-
} | {
|
|
2023
|
-
type: "Select";
|
|
2024
|
-
value: string;
|
|
2025
|
-
__TYPE__: "FieldContent";
|
|
2026
|
-
} | {
|
|
2027
|
-
__TYPE__: "BooleanContent";
|
|
2028
|
-
value: boolean;
|
|
2029
|
-
} | {
|
|
2030
|
-
embed_url: string;
|
|
2031
2002
|
type: string;
|
|
2032
|
-
|
|
2033
|
-
title?: string | null | undefined;
|
|
2034
|
-
author_name?: string | null | undefined;
|
|
2035
|
-
author_url?: string | null | undefined;
|
|
2036
|
-
provider_name?: string | null | undefined;
|
|
2037
|
-
provider_url?: string | null | undefined;
|
|
2038
|
-
cache_age?: string | number | null | undefined;
|
|
2039
|
-
thumbnail_url?: string | null | undefined;
|
|
2040
|
-
thumbnail_width?: number | null | undefined;
|
|
2041
|
-
thumbnail_height?: number | null | undefined;
|
|
2042
|
-
html?: string | null | undefined;
|
|
2043
|
-
__TYPE__: "EmbedContent";
|
|
2044
|
-
all: unknown;
|
|
2003
|
+
__TYPE__: "EmptyContent";
|
|
2045
2004
|
} | {
|
|
2046
2005
|
position: {
|
|
2047
2006
|
lat: number;
|
|
2048
2007
|
lng: number;
|
|
2049
2008
|
};
|
|
2050
2009
|
__TYPE__: "GeoPointContent";
|
|
2051
|
-
} | {
|
|
2052
|
-
origin: {
|
|
2053
|
-
id: string;
|
|
2054
|
-
url: string;
|
|
2055
|
-
width: number;
|
|
2056
|
-
height: number;
|
|
2057
|
-
};
|
|
2058
|
-
width: number;
|
|
2059
|
-
height: number;
|
|
2060
|
-
edit: {
|
|
2061
|
-
zoom: number;
|
|
2062
|
-
crop: {
|
|
2063
|
-
x: number;
|
|
2064
|
-
y: number;
|
|
2065
|
-
};
|
|
2066
|
-
background: string;
|
|
2067
|
-
};
|
|
2068
|
-
url?: string | undefined;
|
|
2069
|
-
credits?: string | null | undefined;
|
|
2070
|
-
alt?: string | null | undefined;
|
|
2071
|
-
provider?: string | null | undefined;
|
|
2072
|
-
thumbnails?: Record<string, {
|
|
2073
|
-
origin: {
|
|
2074
|
-
id: string;
|
|
2075
|
-
url: string;
|
|
2076
|
-
width: number;
|
|
2077
|
-
height: number;
|
|
2078
|
-
};
|
|
2079
|
-
width: number;
|
|
2080
|
-
height: number;
|
|
2081
|
-
edit: {
|
|
2082
|
-
zoom: number;
|
|
2083
|
-
crop: {
|
|
2084
|
-
x: number;
|
|
2085
|
-
y: number;
|
|
2086
|
-
};
|
|
2087
|
-
background: string;
|
|
2088
|
-
};
|
|
2089
|
-
url?: string | undefined;
|
|
2090
|
-
credits?: string | null | undefined;
|
|
2091
|
-
alt?: string | null | undefined;
|
|
2092
|
-
provider?: string | null | undefined;
|
|
2093
|
-
}> | undefined;
|
|
2094
|
-
__TYPE__: "ImageContent";
|
|
2095
2010
|
} | {
|
|
2096
2011
|
__TYPE__: "LinkContent";
|
|
2097
2012
|
key: string;
|
|
@@ -2100,82 +2015,59 @@ declare const CompositeSliceItemContentSchema: t.Type<{
|
|
|
2100
2015
|
variant?: string | undefined;
|
|
2101
2016
|
} & LinkContentValue;
|
|
2102
2017
|
} | {
|
|
2103
|
-
|
|
2104
|
-
type: "Link";
|
|
2105
|
-
value: {
|
|
2106
|
-
__TYPE__: "LinkContent";
|
|
2107
|
-
key: string;
|
|
2108
|
-
value: {
|
|
2109
|
-
text?: string | undefined;
|
|
2110
|
-
variant?: string | undefined;
|
|
2111
|
-
} & LinkContentValue;
|
|
2112
|
-
}[];
|
|
2113
|
-
} | {
|
|
2114
|
-
__TYPE__: "StructuredTextContent";
|
|
2115
|
-
value: RichTextContentBlock[];
|
|
2116
|
-
} | {
|
|
2117
|
-
__TYPE__: "TableContent";
|
|
2118
|
-
content: {
|
|
2119
|
-
key: string;
|
|
2120
|
-
type: "tableRow";
|
|
2121
|
-
content: {
|
|
2122
|
-
key: string;
|
|
2123
|
-
type: "tableCell" | "tableHeader";
|
|
2124
|
-
content: {
|
|
2125
|
-
__TYPE__: "StructuredTextContent";
|
|
2126
|
-
value: RichTextContentBlock[];
|
|
2127
|
-
};
|
|
2128
|
-
columnWidth?: number | undefined;
|
|
2129
|
-
}[];
|
|
2130
|
-
}[];
|
|
2131
|
-
}>;
|
|
2132
|
-
repeat: GroupItemContent[];
|
|
2133
|
-
};
|
|
2134
|
-
}, {
|
|
2135
|
-
key: string;
|
|
2136
|
-
name: string;
|
|
2137
|
-
maybeLabel?: string | undefined;
|
|
2138
|
-
widget: {
|
|
2139
|
-
__TYPE__: "CompositeSliceContent";
|
|
2140
|
-
nonRepeat: Record<string, {
|
|
2141
|
-
type: string;
|
|
2142
|
-
__TYPE__: "EmptyContent";
|
|
2143
|
-
} | {
|
|
2144
|
-
__TYPE__: "IntegrationFieldsContent";
|
|
2145
|
-
value: string;
|
|
2146
|
-
} | {
|
|
2147
|
-
__TYPE__: "SeparatorContent";
|
|
2148
|
-
} | {
|
|
2149
|
-
type: "Text";
|
|
2018
|
+
type: "Number";
|
|
2150
2019
|
value: string;
|
|
2151
2020
|
__TYPE__: "FieldContent";
|
|
2152
2021
|
} | {
|
|
2153
|
-
type: "
|
|
2022
|
+
type: "Range";
|
|
2154
2023
|
value: string;
|
|
2155
2024
|
__TYPE__: "FieldContent";
|
|
2156
2025
|
} | {
|
|
2157
|
-
type: "
|
|
2026
|
+
type: "Select";
|
|
2158
2027
|
value: string;
|
|
2159
2028
|
__TYPE__: "FieldContent";
|
|
2160
2029
|
} | {
|
|
2161
|
-
|
|
2162
|
-
value: string;
|
|
2163
|
-
__TYPE__: "FieldContent";
|
|
2030
|
+
__TYPE__: "SeparatorContent";
|
|
2164
2031
|
} | {
|
|
2165
|
-
type: "
|
|
2032
|
+
type: "Text";
|
|
2166
2033
|
value: string;
|
|
2167
2034
|
__TYPE__: "FieldContent";
|
|
2168
2035
|
} | {
|
|
2169
|
-
type: "
|
|
2036
|
+
type: "Timestamp";
|
|
2170
2037
|
value: string;
|
|
2171
2038
|
__TYPE__: "FieldContent";
|
|
2172
2039
|
} | {
|
|
2173
|
-
|
|
2040
|
+
__TYPE__: "IntegrationFieldsContent";
|
|
2174
2041
|
value: string;
|
|
2175
|
-
__TYPE__: "FieldContent";
|
|
2176
2042
|
} | {
|
|
2177
|
-
__TYPE__: "
|
|
2178
|
-
|
|
2043
|
+
__TYPE__: "RepeatableContent";
|
|
2044
|
+
type: "Link";
|
|
2045
|
+
value: {
|
|
2046
|
+
__TYPE__: "LinkContent";
|
|
2047
|
+
key: string;
|
|
2048
|
+
value: {
|
|
2049
|
+
text?: string | undefined;
|
|
2050
|
+
variant?: string | undefined;
|
|
2051
|
+
} & LinkContentValue;
|
|
2052
|
+
}[];
|
|
2053
|
+
} | {
|
|
2054
|
+
__TYPE__: "StructuredTextContent";
|
|
2055
|
+
value: RichTextContentBlock[];
|
|
2056
|
+
} | {
|
|
2057
|
+
__TYPE__: "TableContent";
|
|
2058
|
+
content: {
|
|
2059
|
+
key: string;
|
|
2060
|
+
type: "tableRow";
|
|
2061
|
+
content: {
|
|
2062
|
+
key: string;
|
|
2063
|
+
type: "tableCell" | "tableHeader";
|
|
2064
|
+
content: {
|
|
2065
|
+
__TYPE__: "StructuredTextContent";
|
|
2066
|
+
value: RichTextContentBlock[];
|
|
2067
|
+
};
|
|
2068
|
+
columnWidth?: number | undefined;
|
|
2069
|
+
}[];
|
|
2070
|
+
}[];
|
|
2179
2071
|
} | {
|
|
2180
2072
|
embed_url: string;
|
|
2181
2073
|
type: string;
|
|
@@ -2191,13 +2083,7 @@ declare const CompositeSliceItemContentSchema: t.Type<{
|
|
|
2191
2083
|
thumbnail_height?: number | null | undefined;
|
|
2192
2084
|
html?: string | null | undefined;
|
|
2193
2085
|
__TYPE__: "EmbedContent";
|
|
2194
|
-
all
|
|
2195
|
-
} | {
|
|
2196
|
-
position: {
|
|
2197
|
-
lat: number;
|
|
2198
|
-
lng: number;
|
|
2199
|
-
};
|
|
2200
|
-
__TYPE__: "GeoPointContent";
|
|
2086
|
+
all?: unknown;
|
|
2201
2087
|
} | {
|
|
2202
2088
|
origin: {
|
|
2203
2089
|
id: string;
|
|
@@ -2242,6 +2128,35 @@ declare const CompositeSliceItemContentSchema: t.Type<{
|
|
|
2242
2128
|
provider?: string | null | undefined;
|
|
2243
2129
|
}> | undefined;
|
|
2244
2130
|
__TYPE__: "ImageContent";
|
|
2131
|
+
}>;
|
|
2132
|
+
repeat: GroupItemContent[];
|
|
2133
|
+
};
|
|
2134
|
+
}, {
|
|
2135
|
+
key: string;
|
|
2136
|
+
name: string;
|
|
2137
|
+
maybeLabel?: string | undefined;
|
|
2138
|
+
widget: {
|
|
2139
|
+
__TYPE__: "CompositeSliceContent";
|
|
2140
|
+
nonRepeat: Record<string, {
|
|
2141
|
+
__TYPE__: "BooleanContent";
|
|
2142
|
+
value: boolean;
|
|
2143
|
+
} | {
|
|
2144
|
+
type: "Color";
|
|
2145
|
+
value: string;
|
|
2146
|
+
__TYPE__: "FieldContent";
|
|
2147
|
+
} | {
|
|
2148
|
+
type: "Date";
|
|
2149
|
+
value: string;
|
|
2150
|
+
__TYPE__: "FieldContent";
|
|
2151
|
+
} | {
|
|
2152
|
+
type: string;
|
|
2153
|
+
__TYPE__: "EmptyContent";
|
|
2154
|
+
} | {
|
|
2155
|
+
position: {
|
|
2156
|
+
lat: number;
|
|
2157
|
+
lng: number;
|
|
2158
|
+
};
|
|
2159
|
+
__TYPE__: "GeoPointContent";
|
|
2245
2160
|
} | {
|
|
2246
2161
|
__TYPE__: "LinkContent";
|
|
2247
2162
|
key: string;
|
|
@@ -2249,6 +2164,31 @@ declare const CompositeSliceItemContentSchema: t.Type<{
|
|
|
2249
2164
|
text?: string | undefined;
|
|
2250
2165
|
variant?: string | undefined;
|
|
2251
2166
|
} & LinkContentValue;
|
|
2167
|
+
} | {
|
|
2168
|
+
type: "Number";
|
|
2169
|
+
value: string;
|
|
2170
|
+
__TYPE__: "FieldContent";
|
|
2171
|
+
} | {
|
|
2172
|
+
type: "Range";
|
|
2173
|
+
value: string;
|
|
2174
|
+
__TYPE__: "FieldContent";
|
|
2175
|
+
} | {
|
|
2176
|
+
type: "Select";
|
|
2177
|
+
value: string;
|
|
2178
|
+
__TYPE__: "FieldContent";
|
|
2179
|
+
} | {
|
|
2180
|
+
__TYPE__: "SeparatorContent";
|
|
2181
|
+
} | {
|
|
2182
|
+
type: "Text";
|
|
2183
|
+
value: string;
|
|
2184
|
+
__TYPE__: "FieldContent";
|
|
2185
|
+
} | {
|
|
2186
|
+
type: "Timestamp";
|
|
2187
|
+
value: string;
|
|
2188
|
+
__TYPE__: "FieldContent";
|
|
2189
|
+
} | {
|
|
2190
|
+
__TYPE__: "IntegrationFieldsContent";
|
|
2191
|
+
value: string;
|
|
2252
2192
|
} | {
|
|
2253
2193
|
__TYPE__: "RepeatableContent";
|
|
2254
2194
|
type: "Link";
|
|
@@ -2278,56 +2218,6 @@ declare const CompositeSliceItemContentSchema: t.Type<{
|
|
|
2278
2218
|
columnWidth?: number | undefined;
|
|
2279
2219
|
}[];
|
|
2280
2220
|
}[];
|
|
2281
|
-
}>;
|
|
2282
|
-
repeat: GroupItemContent[];
|
|
2283
|
-
};
|
|
2284
|
-
}, unknown>;
|
|
2285
|
-
declare const SharedSliceItemContentSchema: t.Type<{
|
|
2286
|
-
key: string;
|
|
2287
|
-
name: string;
|
|
2288
|
-
maybeLabel?: string | undefined;
|
|
2289
|
-
widget: {
|
|
2290
|
-
__TYPE__: "SharedSliceContent";
|
|
2291
|
-
variation: string;
|
|
2292
|
-
primary: Record<string, {
|
|
2293
|
-
type: string;
|
|
2294
|
-
__TYPE__: "EmptyContent";
|
|
2295
|
-
} | {
|
|
2296
|
-
__TYPE__: "IntegrationFieldsContent";
|
|
2297
|
-
value: string;
|
|
2298
|
-
} | {
|
|
2299
|
-
__TYPE__: "SeparatorContent";
|
|
2300
|
-
} | {
|
|
2301
|
-
type: "Text";
|
|
2302
|
-
value: string;
|
|
2303
|
-
__TYPE__: "FieldContent";
|
|
2304
|
-
} | {
|
|
2305
|
-
type: "Color";
|
|
2306
|
-
value: string;
|
|
2307
|
-
__TYPE__: "FieldContent";
|
|
2308
|
-
} | {
|
|
2309
|
-
type: "Date";
|
|
2310
|
-
value: string;
|
|
2311
|
-
__TYPE__: "FieldContent";
|
|
2312
|
-
} | {
|
|
2313
|
-
type: "Timestamp";
|
|
2314
|
-
value: string;
|
|
2315
|
-
__TYPE__: "FieldContent";
|
|
2316
|
-
} | {
|
|
2317
|
-
type: "Number";
|
|
2318
|
-
value: string;
|
|
2319
|
-
__TYPE__: "FieldContent";
|
|
2320
|
-
} | {
|
|
2321
|
-
type: "Range";
|
|
2322
|
-
value: string;
|
|
2323
|
-
__TYPE__: "FieldContent";
|
|
2324
|
-
} | {
|
|
2325
|
-
type: "Select";
|
|
2326
|
-
value: string;
|
|
2327
|
-
__TYPE__: "FieldContent";
|
|
2328
|
-
} | {
|
|
2329
|
-
__TYPE__: "BooleanContent";
|
|
2330
|
-
value: boolean;
|
|
2331
2221
|
} | {
|
|
2332
2222
|
embed_url: string;
|
|
2333
2223
|
type: string;
|
|
@@ -2343,13 +2233,7 @@ declare const SharedSliceItemContentSchema: t.Type<{
|
|
|
2343
2233
|
thumbnail_height?: number | null | undefined;
|
|
2344
2234
|
html?: string | null | undefined;
|
|
2345
2235
|
__TYPE__: "EmbedContent";
|
|
2346
|
-
all
|
|
2347
|
-
} | {
|
|
2348
|
-
position: {
|
|
2349
|
-
lat: number;
|
|
2350
|
-
lng: number;
|
|
2351
|
-
};
|
|
2352
|
-
__TYPE__: "GeoPointContent";
|
|
2236
|
+
all?: unknown;
|
|
2353
2237
|
} | {
|
|
2354
2238
|
origin: {
|
|
2355
2239
|
id: string;
|
|
@@ -2394,6 +2278,37 @@ declare const SharedSliceItemContentSchema: t.Type<{
|
|
|
2394
2278
|
provider?: string | null | undefined;
|
|
2395
2279
|
}> | undefined;
|
|
2396
2280
|
__TYPE__: "ImageContent";
|
|
2281
|
+
}>;
|
|
2282
|
+
repeat: GroupItemContent[];
|
|
2283
|
+
};
|
|
2284
|
+
}, unknown>;
|
|
2285
|
+
declare const SharedSliceItemContentSchema: t.Type<{
|
|
2286
|
+
key: string;
|
|
2287
|
+
name: string;
|
|
2288
|
+
maybeLabel?: string | undefined;
|
|
2289
|
+
widget: {
|
|
2290
|
+
__TYPE__: "SharedSliceContent";
|
|
2291
|
+
variation: string;
|
|
2292
|
+
primary: Record<string, {
|
|
2293
|
+
__TYPE__: "BooleanContent";
|
|
2294
|
+
value: boolean;
|
|
2295
|
+
} | {
|
|
2296
|
+
type: "Color";
|
|
2297
|
+
value: string;
|
|
2298
|
+
__TYPE__: "FieldContent";
|
|
2299
|
+
} | {
|
|
2300
|
+
type: "Date";
|
|
2301
|
+
value: string;
|
|
2302
|
+
__TYPE__: "FieldContent";
|
|
2303
|
+
} | {
|
|
2304
|
+
type: string;
|
|
2305
|
+
__TYPE__: "EmptyContent";
|
|
2306
|
+
} | {
|
|
2307
|
+
position: {
|
|
2308
|
+
lat: number;
|
|
2309
|
+
lng: number;
|
|
2310
|
+
};
|
|
2311
|
+
__TYPE__: "GeoPointContent";
|
|
2397
2312
|
} | {
|
|
2398
2313
|
__TYPE__: "LinkContent";
|
|
2399
2314
|
key: string;
|
|
@@ -2401,6 +2316,31 @@ declare const SharedSliceItemContentSchema: t.Type<{
|
|
|
2401
2316
|
text?: string | undefined;
|
|
2402
2317
|
variant?: string | undefined;
|
|
2403
2318
|
} & LinkContentValue;
|
|
2319
|
+
} | {
|
|
2320
|
+
type: "Number";
|
|
2321
|
+
value: string;
|
|
2322
|
+
__TYPE__: "FieldContent";
|
|
2323
|
+
} | {
|
|
2324
|
+
type: "Range";
|
|
2325
|
+
value: string;
|
|
2326
|
+
__TYPE__: "FieldContent";
|
|
2327
|
+
} | {
|
|
2328
|
+
type: "Select";
|
|
2329
|
+
value: string;
|
|
2330
|
+
__TYPE__: "FieldContent";
|
|
2331
|
+
} | {
|
|
2332
|
+
__TYPE__: "SeparatorContent";
|
|
2333
|
+
} | {
|
|
2334
|
+
type: "Text";
|
|
2335
|
+
value: string;
|
|
2336
|
+
__TYPE__: "FieldContent";
|
|
2337
|
+
} | {
|
|
2338
|
+
type: "Timestamp";
|
|
2339
|
+
value: string;
|
|
2340
|
+
__TYPE__: "FieldContent";
|
|
2341
|
+
} | {
|
|
2342
|
+
__TYPE__: "IntegrationFieldsContent";
|
|
2343
|
+
value: string;
|
|
2404
2344
|
} | {
|
|
2405
2345
|
__TYPE__: "RepeatableContent";
|
|
2406
2346
|
type: "Link";
|
|
@@ -2427,9 +2367,69 @@ declare const SharedSliceItemContentSchema: t.Type<{
|
|
|
2427
2367
|
__TYPE__: "StructuredTextContent";
|
|
2428
2368
|
value: RichTextContentBlock[];
|
|
2429
2369
|
};
|
|
2430
|
-
columnWidth?: number | undefined;
|
|
2431
|
-
}[];
|
|
2432
|
-
}[];
|
|
2370
|
+
columnWidth?: number | undefined;
|
|
2371
|
+
}[];
|
|
2372
|
+
}[];
|
|
2373
|
+
} | {
|
|
2374
|
+
embed_url: string;
|
|
2375
|
+
type: string;
|
|
2376
|
+
version?: string | number | null | undefined;
|
|
2377
|
+
title?: string | null | undefined;
|
|
2378
|
+
author_name?: string | null | undefined;
|
|
2379
|
+
author_url?: string | null | undefined;
|
|
2380
|
+
provider_name?: string | null | undefined;
|
|
2381
|
+
provider_url?: string | null | undefined;
|
|
2382
|
+
cache_age?: string | number | null | undefined;
|
|
2383
|
+
thumbnail_url?: string | null | undefined;
|
|
2384
|
+
thumbnail_width?: number | null | undefined;
|
|
2385
|
+
thumbnail_height?: number | null | undefined;
|
|
2386
|
+
html?: string | null | undefined;
|
|
2387
|
+
__TYPE__: "EmbedContent";
|
|
2388
|
+
all?: unknown;
|
|
2389
|
+
} | {
|
|
2390
|
+
origin: {
|
|
2391
|
+
id: string;
|
|
2392
|
+
url: string;
|
|
2393
|
+
width: number;
|
|
2394
|
+
height: number;
|
|
2395
|
+
};
|
|
2396
|
+
width: number;
|
|
2397
|
+
height: number;
|
|
2398
|
+
edit: {
|
|
2399
|
+
zoom: number;
|
|
2400
|
+
crop: {
|
|
2401
|
+
x: number;
|
|
2402
|
+
y: number;
|
|
2403
|
+
};
|
|
2404
|
+
background: string;
|
|
2405
|
+
};
|
|
2406
|
+
url?: string | undefined;
|
|
2407
|
+
credits?: string | null | undefined;
|
|
2408
|
+
alt?: string | null | undefined;
|
|
2409
|
+
provider?: string | null | undefined;
|
|
2410
|
+
thumbnails?: Record<string, {
|
|
2411
|
+
origin: {
|
|
2412
|
+
id: string;
|
|
2413
|
+
url: string;
|
|
2414
|
+
width: number;
|
|
2415
|
+
height: number;
|
|
2416
|
+
};
|
|
2417
|
+
width: number;
|
|
2418
|
+
height: number;
|
|
2419
|
+
edit: {
|
|
2420
|
+
zoom: number;
|
|
2421
|
+
crop: {
|
|
2422
|
+
x: number;
|
|
2423
|
+
y: number;
|
|
2424
|
+
};
|
|
2425
|
+
background: string;
|
|
2426
|
+
};
|
|
2427
|
+
url?: string | undefined;
|
|
2428
|
+
credits?: string | null | undefined;
|
|
2429
|
+
alt?: string | null | undefined;
|
|
2430
|
+
provider?: string | null | undefined;
|
|
2431
|
+
}> | undefined;
|
|
2432
|
+
__TYPE__: "ImageContent";
|
|
2433
2433
|
} | {
|
|
2434
2434
|
__TYPE__: "GroupContentType";
|
|
2435
2435
|
value: GroupItemContent[];
|
|
@@ -2444,44 +2444,86 @@ declare const SharedSliceItemContentSchema: t.Type<{
|
|
|
2444
2444
|
__TYPE__: "SharedSliceContent";
|
|
2445
2445
|
variation: string;
|
|
2446
2446
|
primary: Record<string, {
|
|
2447
|
-
|
|
2448
|
-
|
|
2447
|
+
__TYPE__: "BooleanContent";
|
|
2448
|
+
value: boolean;
|
|
2449
2449
|
} | {
|
|
2450
|
-
|
|
2450
|
+
type: "Color";
|
|
2451
2451
|
value: string;
|
|
2452
|
+
__TYPE__: "FieldContent";
|
|
2452
2453
|
} | {
|
|
2453
|
-
|
|
2454
|
-
} | {
|
|
2455
|
-
type: "Text";
|
|
2454
|
+
type: "Date";
|
|
2456
2455
|
value: string;
|
|
2457
2456
|
__TYPE__: "FieldContent";
|
|
2458
2457
|
} | {
|
|
2459
|
-
type:
|
|
2458
|
+
type: string;
|
|
2459
|
+
__TYPE__: "EmptyContent";
|
|
2460
|
+
} | {
|
|
2461
|
+
position: {
|
|
2462
|
+
lat: number;
|
|
2463
|
+
lng: number;
|
|
2464
|
+
};
|
|
2465
|
+
__TYPE__: "GeoPointContent";
|
|
2466
|
+
} | {
|
|
2467
|
+
__TYPE__: "LinkContent";
|
|
2468
|
+
key: string;
|
|
2469
|
+
value: {
|
|
2470
|
+
text?: string | undefined;
|
|
2471
|
+
variant?: string | undefined;
|
|
2472
|
+
} & LinkContentValue;
|
|
2473
|
+
} | {
|
|
2474
|
+
type: "Number";
|
|
2460
2475
|
value: string;
|
|
2461
2476
|
__TYPE__: "FieldContent";
|
|
2462
2477
|
} | {
|
|
2463
|
-
type: "
|
|
2478
|
+
type: "Range";
|
|
2464
2479
|
value: string;
|
|
2465
2480
|
__TYPE__: "FieldContent";
|
|
2466
2481
|
} | {
|
|
2467
|
-
type: "
|
|
2482
|
+
type: "Select";
|
|
2468
2483
|
value: string;
|
|
2469
2484
|
__TYPE__: "FieldContent";
|
|
2470
2485
|
} | {
|
|
2471
|
-
|
|
2486
|
+
__TYPE__: "SeparatorContent";
|
|
2487
|
+
} | {
|
|
2488
|
+
type: "Text";
|
|
2472
2489
|
value: string;
|
|
2473
2490
|
__TYPE__: "FieldContent";
|
|
2474
2491
|
} | {
|
|
2475
|
-
type: "
|
|
2492
|
+
type: "Timestamp";
|
|
2476
2493
|
value: string;
|
|
2477
2494
|
__TYPE__: "FieldContent";
|
|
2478
2495
|
} | {
|
|
2479
|
-
|
|
2496
|
+
__TYPE__: "IntegrationFieldsContent";
|
|
2480
2497
|
value: string;
|
|
2481
|
-
__TYPE__: "FieldContent";
|
|
2482
2498
|
} | {
|
|
2483
|
-
__TYPE__: "
|
|
2484
|
-
|
|
2499
|
+
__TYPE__: "RepeatableContent";
|
|
2500
|
+
type: "Link";
|
|
2501
|
+
value: {
|
|
2502
|
+
__TYPE__: "LinkContent";
|
|
2503
|
+
key: string;
|
|
2504
|
+
value: {
|
|
2505
|
+
text?: string | undefined;
|
|
2506
|
+
variant?: string | undefined;
|
|
2507
|
+
} & LinkContentValue;
|
|
2508
|
+
}[];
|
|
2509
|
+
} | {
|
|
2510
|
+
__TYPE__: "StructuredTextContent";
|
|
2511
|
+
value: RichTextContentBlock[];
|
|
2512
|
+
} | {
|
|
2513
|
+
__TYPE__: "TableContent";
|
|
2514
|
+
content: {
|
|
2515
|
+
key: string;
|
|
2516
|
+
type: "tableRow";
|
|
2517
|
+
content: {
|
|
2518
|
+
key: string;
|
|
2519
|
+
type: "tableCell" | "tableHeader";
|
|
2520
|
+
content: {
|
|
2521
|
+
__TYPE__: "StructuredTextContent";
|
|
2522
|
+
value: RichTextContentBlock[];
|
|
2523
|
+
};
|
|
2524
|
+
columnWidth?: number | undefined;
|
|
2525
|
+
}[];
|
|
2526
|
+
}[];
|
|
2485
2527
|
} | {
|
|
2486
2528
|
embed_url: string;
|
|
2487
2529
|
type: string;
|
|
@@ -2497,13 +2539,7 @@ declare const SharedSliceItemContentSchema: t.Type<{
|
|
|
2497
2539
|
thumbnail_height?: number | null | undefined;
|
|
2498
2540
|
html?: string | null | undefined;
|
|
2499
2541
|
__TYPE__: "EmbedContent";
|
|
2500
|
-
all
|
|
2501
|
-
} | {
|
|
2502
|
-
position: {
|
|
2503
|
-
lat: number;
|
|
2504
|
-
lng: number;
|
|
2505
|
-
};
|
|
2506
|
-
__TYPE__: "GeoPointContent";
|
|
2542
|
+
all?: unknown;
|
|
2507
2543
|
} | {
|
|
2508
2544
|
origin: {
|
|
2509
2545
|
id: string;
|
|
@@ -2548,42 +2584,6 @@ declare const SharedSliceItemContentSchema: t.Type<{
|
|
|
2548
2584
|
provider?: string | null | undefined;
|
|
2549
2585
|
}> | undefined;
|
|
2550
2586
|
__TYPE__: "ImageContent";
|
|
2551
|
-
} | {
|
|
2552
|
-
__TYPE__: "LinkContent";
|
|
2553
|
-
key: string;
|
|
2554
|
-
value: {
|
|
2555
|
-
text?: string | undefined;
|
|
2556
|
-
variant?: string | undefined;
|
|
2557
|
-
} & LinkContentValue;
|
|
2558
|
-
} | {
|
|
2559
|
-
__TYPE__: "RepeatableContent";
|
|
2560
|
-
type: "Link";
|
|
2561
|
-
value: {
|
|
2562
|
-
__TYPE__: "LinkContent";
|
|
2563
|
-
key: string;
|
|
2564
|
-
value: {
|
|
2565
|
-
text?: string | undefined;
|
|
2566
|
-
variant?: string | undefined;
|
|
2567
|
-
} & LinkContentValue;
|
|
2568
|
-
}[];
|
|
2569
|
-
} | {
|
|
2570
|
-
__TYPE__: "StructuredTextContent";
|
|
2571
|
-
value: RichTextContentBlock[];
|
|
2572
|
-
} | {
|
|
2573
|
-
__TYPE__: "TableContent";
|
|
2574
|
-
content: {
|
|
2575
|
-
key: string;
|
|
2576
|
-
type: "tableRow";
|
|
2577
|
-
content: {
|
|
2578
|
-
key: string;
|
|
2579
|
-
type: "tableCell" | "tableHeader";
|
|
2580
|
-
content: {
|
|
2581
|
-
__TYPE__: "StructuredTextContent";
|
|
2582
|
-
value: RichTextContentBlock[];
|
|
2583
|
-
};
|
|
2584
|
-
columnWidth?: number | undefined;
|
|
2585
|
-
}[];
|
|
2586
|
-
}[];
|
|
2587
2587
|
} | {
|
|
2588
2588
|
__TYPE__: "GroupContentType";
|
|
2589
2589
|
value: GroupItemContent[];
|
|
@@ -2733,7 +2733,7 @@ declare const EmbedLegacy: (ctx: LegacyContentCtx) => t.Type<{
|
|
|
2733
2733
|
thumbnail_height?: number | null | undefined;
|
|
2734
2734
|
html?: string | null | undefined;
|
|
2735
2735
|
__TYPE__: "EmbedContent";
|
|
2736
|
-
all
|
|
2736
|
+
all?: unknown;
|
|
2737
2737
|
}, {
|
|
2738
2738
|
keys: Record<string, string>;
|
|
2739
2739
|
types: Record<string, FieldOrSliceType>;
|
|
@@ -3019,44 +3019,86 @@ declare const GroupLegacy: (ctx: LegacyContentCtx) => t.Type<{
|
|
|
3019
3019
|
content: GroupLegacy$1;
|
|
3020
3020
|
}, unknown>;
|
|
3021
3021
|
declare const LegacySliceLegacy: (ctx: LegacyContentCtx) => t.Type<{
|
|
3022
|
-
|
|
3023
|
-
|
|
3022
|
+
__TYPE__: "BooleanContent";
|
|
3023
|
+
value: boolean;
|
|
3024
3024
|
} | {
|
|
3025
|
-
|
|
3025
|
+
type: "Color";
|
|
3026
3026
|
value: string;
|
|
3027
|
+
__TYPE__: "FieldContent";
|
|
3027
3028
|
} | {
|
|
3028
|
-
|
|
3029
|
-
} | {
|
|
3030
|
-
type: "Text";
|
|
3029
|
+
type: "Date";
|
|
3031
3030
|
value: string;
|
|
3032
3031
|
__TYPE__: "FieldContent";
|
|
3033
3032
|
} | {
|
|
3034
|
-
type:
|
|
3033
|
+
type: string;
|
|
3034
|
+
__TYPE__: "EmptyContent";
|
|
3035
|
+
} | {
|
|
3036
|
+
position: {
|
|
3037
|
+
lat: number;
|
|
3038
|
+
lng: number;
|
|
3039
|
+
};
|
|
3040
|
+
__TYPE__: "GeoPointContent";
|
|
3041
|
+
} | {
|
|
3042
|
+
__TYPE__: "LinkContent";
|
|
3043
|
+
key: string;
|
|
3044
|
+
value: {
|
|
3045
|
+
text?: string | undefined;
|
|
3046
|
+
variant?: string | undefined;
|
|
3047
|
+
} & LinkContentValue;
|
|
3048
|
+
} | {
|
|
3049
|
+
type: "Number";
|
|
3035
3050
|
value: string;
|
|
3036
3051
|
__TYPE__: "FieldContent";
|
|
3037
3052
|
} | {
|
|
3038
|
-
type: "
|
|
3053
|
+
type: "Range";
|
|
3039
3054
|
value: string;
|
|
3040
3055
|
__TYPE__: "FieldContent";
|
|
3041
3056
|
} | {
|
|
3042
|
-
type: "
|
|
3057
|
+
type: "Select";
|
|
3043
3058
|
value: string;
|
|
3044
3059
|
__TYPE__: "FieldContent";
|
|
3045
3060
|
} | {
|
|
3046
|
-
|
|
3061
|
+
__TYPE__: "SeparatorContent";
|
|
3062
|
+
} | {
|
|
3063
|
+
type: "Text";
|
|
3047
3064
|
value: string;
|
|
3048
3065
|
__TYPE__: "FieldContent";
|
|
3049
3066
|
} | {
|
|
3050
|
-
type: "
|
|
3067
|
+
type: "Timestamp";
|
|
3051
3068
|
value: string;
|
|
3052
3069
|
__TYPE__: "FieldContent";
|
|
3053
3070
|
} | {
|
|
3054
|
-
|
|
3071
|
+
__TYPE__: "IntegrationFieldsContent";
|
|
3055
3072
|
value: string;
|
|
3056
|
-
__TYPE__: "FieldContent";
|
|
3057
3073
|
} | {
|
|
3058
|
-
__TYPE__: "
|
|
3059
|
-
|
|
3074
|
+
__TYPE__: "RepeatableContent";
|
|
3075
|
+
type: "Link";
|
|
3076
|
+
value: {
|
|
3077
|
+
__TYPE__: "LinkContent";
|
|
3078
|
+
key: string;
|
|
3079
|
+
value: {
|
|
3080
|
+
text?: string | undefined;
|
|
3081
|
+
variant?: string | undefined;
|
|
3082
|
+
} & LinkContentValue;
|
|
3083
|
+
}[];
|
|
3084
|
+
} | {
|
|
3085
|
+
__TYPE__: "StructuredTextContent";
|
|
3086
|
+
value: RichTextContentBlock[];
|
|
3087
|
+
} | {
|
|
3088
|
+
__TYPE__: "TableContent";
|
|
3089
|
+
content: {
|
|
3090
|
+
key: string;
|
|
3091
|
+
type: "tableRow";
|
|
3092
|
+
content: {
|
|
3093
|
+
key: string;
|
|
3094
|
+
type: "tableCell" | "tableHeader";
|
|
3095
|
+
content: {
|
|
3096
|
+
__TYPE__: "StructuredTextContent";
|
|
3097
|
+
value: RichTextContentBlock[];
|
|
3098
|
+
};
|
|
3099
|
+
columnWidth?: number | undefined;
|
|
3100
|
+
}[];
|
|
3101
|
+
}[];
|
|
3060
3102
|
} | {
|
|
3061
3103
|
embed_url: string;
|
|
3062
3104
|
type: string;
|
|
@@ -3072,13 +3114,7 @@ declare const LegacySliceLegacy: (ctx: LegacyContentCtx) => t.Type<{
|
|
|
3072
3114
|
thumbnail_height?: number | null | undefined;
|
|
3073
3115
|
html?: string | null | undefined;
|
|
3074
3116
|
__TYPE__: "EmbedContent";
|
|
3075
|
-
all
|
|
3076
|
-
} | {
|
|
3077
|
-
position: {
|
|
3078
|
-
lat: number;
|
|
3079
|
-
lng: number;
|
|
3080
|
-
};
|
|
3081
|
-
__TYPE__: "GeoPointContent";
|
|
3117
|
+
all?: unknown;
|
|
3082
3118
|
} | {
|
|
3083
3119
|
origin: {
|
|
3084
3120
|
id: string;
|
|
@@ -3123,42 +3159,6 @@ declare const LegacySliceLegacy: (ctx: LegacyContentCtx) => t.Type<{
|
|
|
3123
3159
|
provider?: string | null | undefined;
|
|
3124
3160
|
}> | undefined;
|
|
3125
3161
|
__TYPE__: "ImageContent";
|
|
3126
|
-
} | {
|
|
3127
|
-
__TYPE__: "LinkContent";
|
|
3128
|
-
key: string;
|
|
3129
|
-
value: {
|
|
3130
|
-
text?: string | undefined;
|
|
3131
|
-
variant?: string | undefined;
|
|
3132
|
-
} & LinkContentValue;
|
|
3133
|
-
} | {
|
|
3134
|
-
__TYPE__: "RepeatableContent";
|
|
3135
|
-
type: "Link";
|
|
3136
|
-
value: {
|
|
3137
|
-
__TYPE__: "LinkContent";
|
|
3138
|
-
key: string;
|
|
3139
|
-
value: {
|
|
3140
|
-
text?: string | undefined;
|
|
3141
|
-
variant?: string | undefined;
|
|
3142
|
-
} & LinkContentValue;
|
|
3143
|
-
}[];
|
|
3144
|
-
} | {
|
|
3145
|
-
__TYPE__: "StructuredTextContent";
|
|
3146
|
-
value: RichTextContentBlock[];
|
|
3147
|
-
} | {
|
|
3148
|
-
__TYPE__: "TableContent";
|
|
3149
|
-
content: {
|
|
3150
|
-
key: string;
|
|
3151
|
-
type: "tableRow";
|
|
3152
|
-
content: {
|
|
3153
|
-
key: string;
|
|
3154
|
-
type: "tableCell" | "tableHeader";
|
|
3155
|
-
content: {
|
|
3156
|
-
__TYPE__: "StructuredTextContent";
|
|
3157
|
-
value: RichTextContentBlock[];
|
|
3158
|
-
};
|
|
3159
|
-
columnWidth?: number | undefined;
|
|
3160
|
-
}[];
|
|
3161
|
-
}[];
|
|
3162
3162
|
} | {
|
|
3163
3163
|
__TYPE__: "GroupContentType";
|
|
3164
3164
|
value: GroupItemContent[];
|
|
@@ -3170,44 +3170,86 @@ declare const LegacySliceLegacy: (ctx: LegacyContentCtx) => t.Type<{
|
|
|
3170
3170
|
declare const CompositeSliceLegacy: (ctx: LegacyContentCtx) => t.Type<{
|
|
3171
3171
|
__TYPE__: "CompositeSliceContent";
|
|
3172
3172
|
nonRepeat: Record<string, {
|
|
3173
|
-
|
|
3174
|
-
|
|
3173
|
+
__TYPE__: "BooleanContent";
|
|
3174
|
+
value: boolean;
|
|
3175
3175
|
} | {
|
|
3176
|
-
|
|
3176
|
+
type: "Color";
|
|
3177
3177
|
value: string;
|
|
3178
|
+
__TYPE__: "FieldContent";
|
|
3178
3179
|
} | {
|
|
3179
|
-
|
|
3180
|
-
} | {
|
|
3181
|
-
type: "Text";
|
|
3180
|
+
type: "Date";
|
|
3182
3181
|
value: string;
|
|
3183
3182
|
__TYPE__: "FieldContent";
|
|
3184
3183
|
} | {
|
|
3185
|
-
type:
|
|
3184
|
+
type: string;
|
|
3185
|
+
__TYPE__: "EmptyContent";
|
|
3186
|
+
} | {
|
|
3187
|
+
position: {
|
|
3188
|
+
lat: number;
|
|
3189
|
+
lng: number;
|
|
3190
|
+
};
|
|
3191
|
+
__TYPE__: "GeoPointContent";
|
|
3192
|
+
} | {
|
|
3193
|
+
__TYPE__: "LinkContent";
|
|
3194
|
+
key: string;
|
|
3195
|
+
value: {
|
|
3196
|
+
text?: string | undefined;
|
|
3197
|
+
variant?: string | undefined;
|
|
3198
|
+
} & LinkContentValue;
|
|
3199
|
+
} | {
|
|
3200
|
+
type: "Number";
|
|
3186
3201
|
value: string;
|
|
3187
3202
|
__TYPE__: "FieldContent";
|
|
3188
3203
|
} | {
|
|
3189
|
-
type: "
|
|
3204
|
+
type: "Range";
|
|
3190
3205
|
value: string;
|
|
3191
3206
|
__TYPE__: "FieldContent";
|
|
3192
3207
|
} | {
|
|
3193
|
-
type: "
|
|
3208
|
+
type: "Select";
|
|
3194
3209
|
value: string;
|
|
3195
3210
|
__TYPE__: "FieldContent";
|
|
3196
3211
|
} | {
|
|
3197
|
-
|
|
3212
|
+
__TYPE__: "SeparatorContent";
|
|
3213
|
+
} | {
|
|
3214
|
+
type: "Text";
|
|
3198
3215
|
value: string;
|
|
3199
3216
|
__TYPE__: "FieldContent";
|
|
3200
3217
|
} | {
|
|
3201
|
-
type: "
|
|
3218
|
+
type: "Timestamp";
|
|
3202
3219
|
value: string;
|
|
3203
3220
|
__TYPE__: "FieldContent";
|
|
3204
3221
|
} | {
|
|
3205
|
-
|
|
3222
|
+
__TYPE__: "IntegrationFieldsContent";
|
|
3206
3223
|
value: string;
|
|
3207
|
-
__TYPE__: "FieldContent";
|
|
3208
3224
|
} | {
|
|
3209
|
-
__TYPE__: "
|
|
3210
|
-
|
|
3225
|
+
__TYPE__: "RepeatableContent";
|
|
3226
|
+
type: "Link";
|
|
3227
|
+
value: {
|
|
3228
|
+
__TYPE__: "LinkContent";
|
|
3229
|
+
key: string;
|
|
3230
|
+
value: {
|
|
3231
|
+
text?: string | undefined;
|
|
3232
|
+
variant?: string | undefined;
|
|
3233
|
+
} & LinkContentValue;
|
|
3234
|
+
}[];
|
|
3235
|
+
} | {
|
|
3236
|
+
__TYPE__: "StructuredTextContent";
|
|
3237
|
+
value: RichTextContentBlock[];
|
|
3238
|
+
} | {
|
|
3239
|
+
__TYPE__: "TableContent";
|
|
3240
|
+
content: {
|
|
3241
|
+
key: string;
|
|
3242
|
+
type: "tableRow";
|
|
3243
|
+
content: {
|
|
3244
|
+
key: string;
|
|
3245
|
+
type: "tableCell" | "tableHeader";
|
|
3246
|
+
content: {
|
|
3247
|
+
__TYPE__: "StructuredTextContent";
|
|
3248
|
+
value: RichTextContentBlock[];
|
|
3249
|
+
};
|
|
3250
|
+
columnWidth?: number | undefined;
|
|
3251
|
+
}[];
|
|
3252
|
+
}[];
|
|
3211
3253
|
} | {
|
|
3212
3254
|
embed_url: string;
|
|
3213
3255
|
type: string;
|
|
@@ -3223,13 +3265,7 @@ declare const CompositeSliceLegacy: (ctx: LegacyContentCtx) => t.Type<{
|
|
|
3223
3265
|
thumbnail_height?: number | null | undefined;
|
|
3224
3266
|
html?: string | null | undefined;
|
|
3225
3267
|
__TYPE__: "EmbedContent";
|
|
3226
|
-
all
|
|
3227
|
-
} | {
|
|
3228
|
-
position: {
|
|
3229
|
-
lat: number;
|
|
3230
|
-
lng: number;
|
|
3231
|
-
};
|
|
3232
|
-
__TYPE__: "GeoPointContent";
|
|
3268
|
+
all?: unknown;
|
|
3233
3269
|
} | {
|
|
3234
3270
|
origin: {
|
|
3235
3271
|
id: string;
|
|
@@ -3274,42 +3310,6 @@ declare const CompositeSliceLegacy: (ctx: LegacyContentCtx) => t.Type<{
|
|
|
3274
3310
|
provider?: string | null | undefined;
|
|
3275
3311
|
}> | undefined;
|
|
3276
3312
|
__TYPE__: "ImageContent";
|
|
3277
|
-
} | {
|
|
3278
|
-
__TYPE__: "LinkContent";
|
|
3279
|
-
key: string;
|
|
3280
|
-
value: {
|
|
3281
|
-
text?: string | undefined;
|
|
3282
|
-
variant?: string | undefined;
|
|
3283
|
-
} & LinkContentValue;
|
|
3284
|
-
} | {
|
|
3285
|
-
__TYPE__: "RepeatableContent";
|
|
3286
|
-
type: "Link";
|
|
3287
|
-
value: {
|
|
3288
|
-
__TYPE__: "LinkContent";
|
|
3289
|
-
key: string;
|
|
3290
|
-
value: {
|
|
3291
|
-
text?: string | undefined;
|
|
3292
|
-
variant?: string | undefined;
|
|
3293
|
-
} & LinkContentValue;
|
|
3294
|
-
}[];
|
|
3295
|
-
} | {
|
|
3296
|
-
__TYPE__: "StructuredTextContent";
|
|
3297
|
-
value: RichTextContentBlock[];
|
|
3298
|
-
} | {
|
|
3299
|
-
__TYPE__: "TableContent";
|
|
3300
|
-
content: {
|
|
3301
|
-
key: string;
|
|
3302
|
-
type: "tableRow";
|
|
3303
|
-
content: {
|
|
3304
|
-
key: string;
|
|
3305
|
-
type: "tableCell" | "tableHeader";
|
|
3306
|
-
content: {
|
|
3307
|
-
__TYPE__: "StructuredTextContent";
|
|
3308
|
-
value: RichTextContentBlock[];
|
|
3309
|
-
};
|
|
3310
|
-
columnWidth?: number | undefined;
|
|
3311
|
-
}[];
|
|
3312
|
-
}[];
|
|
3313
3313
|
}>;
|
|
3314
3314
|
repeat: GroupItemContent[];
|
|
3315
3315
|
}, {
|
|
@@ -3324,44 +3324,86 @@ declare const SharedSliceLegacy: (ctx: LegacyContentCtx) => t.Type<{
|
|
|
3324
3324
|
__TYPE__: "SharedSliceContent";
|
|
3325
3325
|
variation: string;
|
|
3326
3326
|
primary: Record<string, {
|
|
3327
|
-
|
|
3328
|
-
|
|
3327
|
+
__TYPE__: "BooleanContent";
|
|
3328
|
+
value: boolean;
|
|
3329
3329
|
} | {
|
|
3330
|
-
|
|
3330
|
+
type: "Color";
|
|
3331
3331
|
value: string;
|
|
3332
|
+
__TYPE__: "FieldContent";
|
|
3332
3333
|
} | {
|
|
3333
|
-
|
|
3334
|
-
} | {
|
|
3335
|
-
type: "Text";
|
|
3334
|
+
type: "Date";
|
|
3336
3335
|
value: string;
|
|
3337
3336
|
__TYPE__: "FieldContent";
|
|
3338
3337
|
} | {
|
|
3339
|
-
type:
|
|
3338
|
+
type: string;
|
|
3339
|
+
__TYPE__: "EmptyContent";
|
|
3340
|
+
} | {
|
|
3341
|
+
position: {
|
|
3342
|
+
lat: number;
|
|
3343
|
+
lng: number;
|
|
3344
|
+
};
|
|
3345
|
+
__TYPE__: "GeoPointContent";
|
|
3346
|
+
} | {
|
|
3347
|
+
__TYPE__: "LinkContent";
|
|
3348
|
+
key: string;
|
|
3349
|
+
value: {
|
|
3350
|
+
text?: string | undefined;
|
|
3351
|
+
variant?: string | undefined;
|
|
3352
|
+
} & LinkContentValue;
|
|
3353
|
+
} | {
|
|
3354
|
+
type: "Number";
|
|
3340
3355
|
value: string;
|
|
3341
3356
|
__TYPE__: "FieldContent";
|
|
3342
3357
|
} | {
|
|
3343
|
-
type: "
|
|
3358
|
+
type: "Range";
|
|
3344
3359
|
value: string;
|
|
3345
3360
|
__TYPE__: "FieldContent";
|
|
3346
3361
|
} | {
|
|
3347
|
-
type: "
|
|
3362
|
+
type: "Select";
|
|
3348
3363
|
value: string;
|
|
3349
3364
|
__TYPE__: "FieldContent";
|
|
3350
3365
|
} | {
|
|
3351
|
-
|
|
3366
|
+
__TYPE__: "SeparatorContent";
|
|
3367
|
+
} | {
|
|
3368
|
+
type: "Text";
|
|
3352
3369
|
value: string;
|
|
3353
3370
|
__TYPE__: "FieldContent";
|
|
3354
3371
|
} | {
|
|
3355
|
-
type: "
|
|
3372
|
+
type: "Timestamp";
|
|
3356
3373
|
value: string;
|
|
3357
3374
|
__TYPE__: "FieldContent";
|
|
3358
3375
|
} | {
|
|
3359
|
-
|
|
3376
|
+
__TYPE__: "IntegrationFieldsContent";
|
|
3360
3377
|
value: string;
|
|
3361
|
-
__TYPE__: "FieldContent";
|
|
3362
3378
|
} | {
|
|
3363
|
-
__TYPE__: "
|
|
3364
|
-
|
|
3379
|
+
__TYPE__: "RepeatableContent";
|
|
3380
|
+
type: "Link";
|
|
3381
|
+
value: {
|
|
3382
|
+
__TYPE__: "LinkContent";
|
|
3383
|
+
key: string;
|
|
3384
|
+
value: {
|
|
3385
|
+
text?: string | undefined;
|
|
3386
|
+
variant?: string | undefined;
|
|
3387
|
+
} & LinkContentValue;
|
|
3388
|
+
}[];
|
|
3389
|
+
} | {
|
|
3390
|
+
__TYPE__: "StructuredTextContent";
|
|
3391
|
+
value: RichTextContentBlock[];
|
|
3392
|
+
} | {
|
|
3393
|
+
__TYPE__: "TableContent";
|
|
3394
|
+
content: {
|
|
3395
|
+
key: string;
|
|
3396
|
+
type: "tableRow";
|
|
3397
|
+
content: {
|
|
3398
|
+
key: string;
|
|
3399
|
+
type: "tableCell" | "tableHeader";
|
|
3400
|
+
content: {
|
|
3401
|
+
__TYPE__: "StructuredTextContent";
|
|
3402
|
+
value: RichTextContentBlock[];
|
|
3403
|
+
};
|
|
3404
|
+
columnWidth?: number | undefined;
|
|
3405
|
+
}[];
|
|
3406
|
+
}[];
|
|
3365
3407
|
} | {
|
|
3366
3408
|
embed_url: string;
|
|
3367
3409
|
type: string;
|
|
@@ -3377,13 +3419,7 @@ declare const SharedSliceLegacy: (ctx: LegacyContentCtx) => t.Type<{
|
|
|
3377
3419
|
thumbnail_height?: number | null | undefined;
|
|
3378
3420
|
html?: string | null | undefined;
|
|
3379
3421
|
__TYPE__: "EmbedContent";
|
|
3380
|
-
all
|
|
3381
|
-
} | {
|
|
3382
|
-
position: {
|
|
3383
|
-
lat: number;
|
|
3384
|
-
lng: number;
|
|
3385
|
-
};
|
|
3386
|
-
__TYPE__: "GeoPointContent";
|
|
3422
|
+
all?: unknown;
|
|
3387
3423
|
} | {
|
|
3388
3424
|
origin: {
|
|
3389
3425
|
id: string;
|
|
@@ -3428,42 +3464,6 @@ declare const SharedSliceLegacy: (ctx: LegacyContentCtx) => t.Type<{
|
|
|
3428
3464
|
provider?: string | null | undefined;
|
|
3429
3465
|
}> | undefined;
|
|
3430
3466
|
__TYPE__: "ImageContent";
|
|
3431
|
-
} | {
|
|
3432
|
-
__TYPE__: "LinkContent";
|
|
3433
|
-
key: string;
|
|
3434
|
-
value: {
|
|
3435
|
-
text?: string | undefined;
|
|
3436
|
-
variant?: string | undefined;
|
|
3437
|
-
} & LinkContentValue;
|
|
3438
|
-
} | {
|
|
3439
|
-
__TYPE__: "RepeatableContent";
|
|
3440
|
-
type: "Link";
|
|
3441
|
-
value: {
|
|
3442
|
-
__TYPE__: "LinkContent";
|
|
3443
|
-
key: string;
|
|
3444
|
-
value: {
|
|
3445
|
-
text?: string | undefined;
|
|
3446
|
-
variant?: string | undefined;
|
|
3447
|
-
} & LinkContentValue;
|
|
3448
|
-
}[];
|
|
3449
|
-
} | {
|
|
3450
|
-
__TYPE__: "StructuredTextContent";
|
|
3451
|
-
value: RichTextContentBlock[];
|
|
3452
|
-
} | {
|
|
3453
|
-
__TYPE__: "TableContent";
|
|
3454
|
-
content: {
|
|
3455
|
-
key: string;
|
|
3456
|
-
type: "tableRow";
|
|
3457
|
-
content: {
|
|
3458
|
-
key: string;
|
|
3459
|
-
type: "tableCell" | "tableHeader";
|
|
3460
|
-
content: {
|
|
3461
|
-
__TYPE__: "StructuredTextContent";
|
|
3462
|
-
value: RichTextContentBlock[];
|
|
3463
|
-
};
|
|
3464
|
-
columnWidth?: number | undefined;
|
|
3465
|
-
}[];
|
|
3466
|
-
}[];
|
|
3467
3467
|
} | {
|
|
3468
3468
|
__TYPE__: "GroupContentType";
|
|
3469
3469
|
value: GroupItemContent[];
|
|
@@ -3734,6 +3734,55 @@ declare const LinkModelSchema: t.Type<{
|
|
|
3734
3734
|
variants?: string[] | undefined;
|
|
3735
3735
|
} | undefined;
|
|
3736
3736
|
}, unknown>;
|
|
3737
|
+
declare const LinkConfigCustomtypesSchema: t.Type<(string | {
|
|
3738
|
+
id: string;
|
|
3739
|
+
fields: (string | {
|
|
3740
|
+
id: string;
|
|
3741
|
+
customtypes: (string | {
|
|
3742
|
+
id: string;
|
|
3743
|
+
fields: (string | {
|
|
3744
|
+
id: string;
|
|
3745
|
+
fields: string[];
|
|
3746
|
+
})[];
|
|
3747
|
+
})[];
|
|
3748
|
+
} | {
|
|
3749
|
+
id: string;
|
|
3750
|
+
fields: (string | {
|
|
3751
|
+
id: string;
|
|
3752
|
+
customtypes: (string | {
|
|
3753
|
+
id: string;
|
|
3754
|
+
fields: (string | {
|
|
3755
|
+
id: string;
|
|
3756
|
+
fields: string[];
|
|
3757
|
+
})[];
|
|
3758
|
+
})[];
|
|
3759
|
+
})[];
|
|
3760
|
+
})[];
|
|
3761
|
+
})[], (string | {
|
|
3762
|
+
id: string;
|
|
3763
|
+
fields: (string | {
|
|
3764
|
+
id: string;
|
|
3765
|
+
customtypes: (string | {
|
|
3766
|
+
id: string;
|
|
3767
|
+
fields: (string | {
|
|
3768
|
+
id: string;
|
|
3769
|
+
fields: string[];
|
|
3770
|
+
})[];
|
|
3771
|
+
})[];
|
|
3772
|
+
} | {
|
|
3773
|
+
id: string;
|
|
3774
|
+
fields: (string | {
|
|
3775
|
+
id: string;
|
|
3776
|
+
customtypes: (string | {
|
|
3777
|
+
id: string;
|
|
3778
|
+
fields: (string | {
|
|
3779
|
+
id: string;
|
|
3780
|
+
fields: string[];
|
|
3781
|
+
})[];
|
|
3782
|
+
})[];
|
|
3783
|
+
})[];
|
|
3784
|
+
})[];
|
|
3785
|
+
})[], unknown>;
|
|
3737
3786
|
declare const NestableModelSchema: t.Type<{
|
|
3738
3787
|
type: "Boolean";
|
|
3739
3788
|
config?: {
|
|
@@ -8702,6 +8751,7 @@ declare const StaticSlicesModelSchema: t.Type<{
|
|
|
8702
8751
|
}, unknown>;
|
|
8703
8752
|
declare const StaticWidgetModelSchema: t.Type<StaticWidgetModel, StaticWidgetModel, unknown>;
|
|
8704
8753
|
declare const DynamicWidgetModelSchema: t.Type<DynamicWidgetModel, DynamicWidgetModel, unknown>;
|
|
8754
|
+
declare const FieldOrSliceTypeSchema: t.Type<"Boolean" | "Choice" | "Color" | "Date" | "Embed" | "GeoPoint" | "Group" | "Image" | "IntegrationFields" | "Link" | "Number" | "Range" | "Repeatable.Link" | "Select" | "Separator" | "SharedSlice" | "Slice" | "Slices" | "StructuredText" | "Table" | "Text" | "Timestamp" | "UID", "Boolean" | "Choice" | "Color" | "Date" | "Embed" | "GeoPoint" | "Group" | "Image" | "IntegrationFields" | "Link" | "Number" | "Range" | "Repeatable.Link" | "Select" | "Separator" | "SharedSlice" | "Slice" | "Slices" | "StructuredText" | "Table" | "Text" | "Timestamp" | "UID", unknown>;
|
|
8705
8755
|
declare const StaticCustomTypeModelTabSchema: t.Type<Record<string, StaticWidgetModel>, Record<string, StaticWidgetModel>, unknown>;
|
|
8706
8756
|
declare const DynamicCustomTypeModelTabSchema: t.Type<Record<string, DynamicWidgetModel>, Record<string, DynamicWidgetModel>, unknown>;
|
|
8707
8757
|
declare const StaticCustomTypeModelSchema: t.Type<{
|
|
@@ -8805,5 +8855,5 @@ declare const CustomTypeModelSchema: t.Type<{
|
|
|
8805
8855
|
schema: "@prismicio/types-internal@4.5.0";
|
|
8806
8856
|
}, unknown>;
|
|
8807
8857
|
//#endregion
|
|
8808
|
-
export { AssetSchema, BooleanContentSchema, BooleanLegacy, BooleanModelSchema, ColorContentSchema, ColorLegacy, ColorModelSchema, CompositeSliceContentSchema, CompositeSliceItemContentSchema, CompositeSliceLegacy, CompositeSliceModelSchema, CustomTypeModelSchema, DateContentSchema, DateLegacy, DateModelSchema, DocumentContentSchema, DocumentLegacy, DynamicCustomTypeModelSchema, DynamicCustomTypeModelTabSchema, DynamicSliceModelSchema, DynamicSlicesModelSchema, DynamicWidgetModelSchema, EmbedContentSchema, EmbedLegacy, EmbedModelSchema, EmbedSchema, EmptyContentSchema, EmptyLegacy, EmptyLinkContentSchema, FieldContentSchema, FilledLinkContentSchema, GeoPointContentSchema, GeoPointLegacy, GeoPointModelSchema, GroupContentSchema, GroupItemContentSchema, GroupItemLegacy, GroupLegacy, GroupModelSchema, HexaColorCodeSchema, ImageContentSchema, ImageContentViewSchema, ImageLegacy, ImageModelSchema, IntegrationFieldContentSchema, IntegrationFieldLegacy, IntegrationFieldModelSchema, LegacySliceContentSchema, LegacySliceItemContentSchema, LegacySliceLegacy, LegacySliceModelSchema, LinkContentSchema, LinkLegacy, LinkModelSchema, NestableContentSchema, NestableLegacy, NestableModelSchema, NestedGroupModelSchema, NonEmptyStringSchema, NumberContentSchema, NumberLegacy, NumberModelSchema, RangeContentSchema, RangeLegacy, RangeModelSchema, RepeatableContentSchema, RepeatableLegacy, RichTextContentBlockSchema, RichTextContentSchema, RichTextContentSpanSchema, RichTextLegacy, RichTextModelSchema, SelectContentSchema, SelectLegacy, SelectModelSchema, SeparatorContentSchema, SeparatorLegacy, SeparatorModelSchema, SharedSliceContentSchema, SharedSliceItemContentSchema, SharedSliceLegacy, SharedSliceModelSchema, SharedSliceModelVariationSchema, SharedSliceRefModelSchema, SliceContentModelSchema, SliceContentSchema, SliceItemContentSchema, SliceItemLegacy, SliceLegacy, SlicesContentSchema, SlicesLegacy, StaticCustomTypeModelSchema, StaticCustomTypeModelTabSchema, StaticSliceModelSchema, StaticSlicesModelSchema, StaticWidgetModelSchema, TableContentSchema, TableLegacy, TableModelSchema, TextContentSchema, TextLegacy, TextModelSchema, TimestampContentSchema, TimestampLegacy, TimestampModelSchema, UIDContentSchema, UIDLegacy, UIDModelSchema, WidgetContentSchema, WidgetKeySchema, WidgetLegacy };
|
|
8858
|
+
export { AssetSchema, BooleanContentSchema, BooleanLegacy, BooleanModelSchema, ColorContentSchema, ColorLegacy, ColorModelSchema, CompositeSliceContentSchema, CompositeSliceItemContentSchema, CompositeSliceLegacy, CompositeSliceModelSchema, CustomTypeModelSchema, DateContentSchema, DateLegacy, DateModelSchema, DocumentContentSchema, DocumentLegacy, DynamicCustomTypeModelSchema, DynamicCustomTypeModelTabSchema, DynamicSliceModelSchema, DynamicSlicesModelSchema, DynamicWidgetModelSchema, EmbedContentSchema, EmbedLegacy, EmbedModelSchema, EmbedSchema, EmptyContentSchema, EmptyLegacy, EmptyLinkContentSchema, FieldContentSchema, FieldOrSliceTypeSchema, FilledLinkContentSchema, GeoPointContentSchema, GeoPointLegacy, GeoPointModelSchema, GroupContentSchema, GroupItemContentSchema, GroupItemLegacy, GroupLegacy, GroupModelSchema, HexaColorCodeSchema, ImageContentSchema, ImageContentViewSchema, ImageLegacy, ImageModelSchema, IntegrationFieldContentSchema, IntegrationFieldLegacy, IntegrationFieldModelSchema, LegacySliceContentSchema, LegacySliceItemContentSchema, LegacySliceLegacy, LegacySliceModelSchema, LinkConfigCustomtypesSchema, LinkContentSchema, LinkLegacy, LinkModelSchema, NestableContentSchema, NestableLegacy, NestableModelSchema, NestedGroupModelSchema, NonEmptyStringSchema, NumberContentSchema, NumberLegacy, NumberModelSchema, RangeContentSchema, RangeLegacy, RangeModelSchema, RepeatableContentSchema, RepeatableLegacy, RichTextContentBlockSchema, RichTextContentSchema, RichTextContentSpanSchema, RichTextLegacy, RichTextModelSchema, SelectContentSchema, SelectLegacy, SelectModelSchema, SeparatorContentSchema, SeparatorLegacy, SeparatorModelSchema, SharedSliceContentSchema, SharedSliceItemContentSchema, SharedSliceLegacy, SharedSliceModelSchema, SharedSliceModelVariationSchema, SharedSliceRefModelSchema, SliceContentModelSchema, SliceContentSchema, SliceItemContentSchema, SliceItemLegacy, SliceLegacy, SlicesContentSchema, SlicesLegacy, StaticCustomTypeModelSchema, StaticCustomTypeModelTabSchema, StaticSliceModelSchema, StaticSlicesModelSchema, StaticWidgetModelSchema, TableContentSchema, TableLegacy, TableModelSchema, TextContentSchema, TextLegacy, TextModelSchema, TimestampContentSchema, TimestampLegacy, TimestampModelSchema, UIDContentSchema, UIDLegacy, UIDModelSchema, WidgetContentSchema, WidgetKeySchema, WidgetLegacy };
|
|
8809
8859
|
//# sourceMappingURL=io-ts.d.ts.map
|