@prismicio/types-internal 0.3.0 → 0.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/customtypes/CustomType.d.ts +679 -679
- package/lib/customtypes/Section.d.ts +683 -683
- package/lib/customtypes/Section.js +2 -1
- package/lib/customtypes/widgets/Group.d.ts +1 -1
- package/lib/customtypes/widgets/Group.js +2 -1
- package/lib/customtypes/widgets/Widget.d.ts +678 -678
- package/lib/customtypes/widgets/slices/CompositeSlice.d.ts +2 -2
- package/lib/customtypes/widgets/slices/CompositeSlice.js +3 -2
- package/lib/customtypes/widgets/slices/LegacySlice.d.ts +1 -1
- package/lib/customtypes/widgets/slices/SharedSlice.d.ts +4 -4
- package/lib/customtypes/widgets/slices/SharedSlice.js +3 -2
- package/lib/customtypes/widgets/slices/Slices.d.ts +720 -720
- package/lib/customtypes/widgets/slices/Slices.js +2 -1
- package/lib/documents/widgets/index.d.ts +4 -2
- package/lib/documents/widgets/index.js +8 -4
- package/package.json +1 -1
- package/src/customtypes/CustomType.ts +1 -1
- package/src/customtypes/Section.ts +3 -2
- package/src/customtypes/widgets/Group.ts +2 -1
- package/src/customtypes/widgets/slices/CompositeSlice.ts +3 -2
- package/src/customtypes/widgets/slices/SharedSlice.ts +3 -2
- package/src/customtypes/widgets/slices/Slices.ts +2 -1
- package/src/documents/widgets/index.ts +10 -2
- package/lib/customtypes/Format.d.ts +0 -4
- package/lib/customtypes/Format.js +0 -8
|
@@ -16,7 +16,7 @@ export declare function slicesConfigReader<T extends SharedSlice | SharedSliceRe
|
|
|
16
16
|
}>, t.PartialC<{
|
|
17
17
|
display: t.StringC;
|
|
18
18
|
}>]>>>>, t.NullC]>;
|
|
19
|
-
choices: t.RecordC<t.
|
|
19
|
+
choices: t.RecordC<t.Type<string, string, unknown>, t.UnionC<[t.UnionC<[t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
20
20
|
type: t.LiteralC<WidgetTypes.Color>;
|
|
21
21
|
}>, t.PartialC<{
|
|
22
22
|
fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
@@ -181,7 +181,7 @@ export declare function slicesConfigReader<T extends SharedSlice | SharedSliceRe
|
|
|
181
181
|
config: t.ExactC<t.PartialC<{
|
|
182
182
|
label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
183
183
|
repeat: t.BooleanC;
|
|
184
|
-
fields: t.RecordC<t.
|
|
184
|
+
fields: t.RecordC<t.Type<string, string, unknown>, t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
185
185
|
type: t.LiteralC<WidgetTypes.Color>;
|
|
186
186
|
}>, t.PartialC<{
|
|
187
187
|
fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
@@ -346,7 +346,7 @@ export declare function slicesConfigReader<T extends SharedSlice | SharedSliceRe
|
|
|
346
346
|
description: t.StringC;
|
|
347
347
|
icon: t.StringC;
|
|
348
348
|
display: t.StringC;
|
|
349
|
-
"non-repeat": t.RecordC<t.
|
|
349
|
+
"non-repeat": t.RecordC<t.Type<string, string, unknown>, t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
350
350
|
type: t.LiteralC<WidgetTypes.Color>;
|
|
351
351
|
}>, t.PartialC<{
|
|
352
352
|
fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
@@ -503,7 +503,7 @@ export declare function slicesConfigReader<T extends SharedSlice | SharedSliceRe
|
|
|
503
503
|
catalog: t.StringC;
|
|
504
504
|
}>>;
|
|
505
505
|
}>]>>]>>;
|
|
506
|
-
repeat: t.RecordC<t.
|
|
506
|
+
repeat: t.RecordC<t.Type<string, string, unknown>, t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
507
507
|
type: t.LiteralC<WidgetTypes.Color>;
|
|
508
508
|
}>, t.PartialC<{
|
|
509
509
|
fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
@@ -672,7 +672,7 @@ export declare const StaticSlicesConfig: t.ExactC<t.PartialC<{
|
|
|
672
672
|
}>, t.PartialC<{
|
|
673
673
|
display: t.StringC;
|
|
674
674
|
}>]>>>>, t.NullC]>;
|
|
675
|
-
choices: t.RecordC<t.
|
|
675
|
+
choices: t.RecordC<t.Type<string, string, unknown>, t.UnionC<[t.UnionC<[t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
676
676
|
type: t.LiteralC<WidgetTypes.Color>;
|
|
677
677
|
}>, t.PartialC<{
|
|
678
678
|
fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
@@ -837,7 +837,7 @@ export declare const StaticSlicesConfig: t.ExactC<t.PartialC<{
|
|
|
837
837
|
config: t.ExactC<t.PartialC<{
|
|
838
838
|
label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
839
839
|
repeat: t.BooleanC;
|
|
840
|
-
fields: t.RecordC<t.
|
|
840
|
+
fields: t.RecordC<t.Type<string, string, unknown>, t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
841
841
|
type: t.LiteralC<WidgetTypes.Color>;
|
|
842
842
|
}>, t.PartialC<{
|
|
843
843
|
fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
@@ -1002,7 +1002,7 @@ export declare const StaticSlicesConfig: t.ExactC<t.PartialC<{
|
|
|
1002
1002
|
description: t.StringC;
|
|
1003
1003
|
icon: t.StringC;
|
|
1004
1004
|
display: t.StringC;
|
|
1005
|
-
"non-repeat": t.RecordC<t.
|
|
1005
|
+
"non-repeat": t.RecordC<t.Type<string, string, unknown>, t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
1006
1006
|
type: t.LiteralC<WidgetTypes.Color>;
|
|
1007
1007
|
}>, t.PartialC<{
|
|
1008
1008
|
fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
@@ -1159,7 +1159,7 @@ export declare const StaticSlicesConfig: t.ExactC<t.PartialC<{
|
|
|
1159
1159
|
catalog: t.StringC;
|
|
1160
1160
|
}>>;
|
|
1161
1161
|
}>]>>]>>;
|
|
1162
|
-
repeat: t.RecordC<t.
|
|
1162
|
+
repeat: t.RecordC<t.Type<string, string, unknown>, t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
1163
1163
|
type: t.LiteralC<WidgetTypes.Color>;
|
|
1164
1164
|
}>, t.PartialC<{
|
|
1165
1165
|
fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
@@ -1410,7 +1410,7 @@ export declare const StaticSlicesConfig: t.ExactC<t.PartialC<{
|
|
|
1410
1410
|
label?: string | null | undefined;
|
|
1411
1411
|
useAsTitle?: boolean;
|
|
1412
1412
|
placeholder?: string;
|
|
1413
|
-
select?: "
|
|
1413
|
+
select?: "web" | "media" | "document" | null;
|
|
1414
1414
|
customtypes?: string[];
|
|
1415
1415
|
masks?: string[];
|
|
1416
1416
|
tags?: string[];
|
|
@@ -1569,7 +1569,7 @@ export declare const StaticSlicesConfig: t.ExactC<t.PartialC<{
|
|
|
1569
1569
|
label?: string | null | undefined;
|
|
1570
1570
|
useAsTitle?: boolean;
|
|
1571
1571
|
placeholder?: string;
|
|
1572
|
-
select?: "
|
|
1572
|
+
select?: "web" | "media" | "document" | null;
|
|
1573
1573
|
customtypes?: string[];
|
|
1574
1574
|
masks?: string[];
|
|
1575
1575
|
tags?: string[];
|
|
@@ -1663,7 +1663,7 @@ export declare const DynamicSlicesConfig: t.ExactC<t.PartialC<{
|
|
|
1663
1663
|
}>, t.PartialC<{
|
|
1664
1664
|
display: t.StringC;
|
|
1665
1665
|
}>]>>>>, t.NullC]>;
|
|
1666
|
-
choices: t.RecordC<t.
|
|
1666
|
+
choices: t.RecordC<t.Type<string, string, unknown>, t.UnionC<[t.UnionC<[t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
1667
1667
|
type: t.LiteralC<WidgetTypes.Color>;
|
|
1668
1668
|
}>, t.PartialC<{
|
|
1669
1669
|
fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
@@ -1828,7 +1828,7 @@ export declare const DynamicSlicesConfig: t.ExactC<t.PartialC<{
|
|
|
1828
1828
|
config: t.ExactC<t.PartialC<{
|
|
1829
1829
|
label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
1830
1830
|
repeat: t.BooleanC;
|
|
1831
|
-
fields: t.RecordC<t.
|
|
1831
|
+
fields: t.RecordC<t.Type<string, string, unknown>, t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
1832
1832
|
type: t.LiteralC<WidgetTypes.Color>;
|
|
1833
1833
|
}>, t.PartialC<{
|
|
1834
1834
|
fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
@@ -1993,7 +1993,7 @@ export declare const DynamicSlicesConfig: t.ExactC<t.PartialC<{
|
|
|
1993
1993
|
description: t.StringC;
|
|
1994
1994
|
icon: t.StringC;
|
|
1995
1995
|
display: t.StringC;
|
|
1996
|
-
"non-repeat": t.RecordC<t.
|
|
1996
|
+
"non-repeat": t.RecordC<t.Type<string, string, unknown>, t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
1997
1997
|
type: t.LiteralC<WidgetTypes.Color>;
|
|
1998
1998
|
}>, t.PartialC<{
|
|
1999
1999
|
fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
@@ -2150,7 +2150,7 @@ export declare const DynamicSlicesConfig: t.ExactC<t.PartialC<{
|
|
|
2150
2150
|
catalog: t.StringC;
|
|
2151
2151
|
}>>;
|
|
2152
2152
|
}>]>>]>>;
|
|
2153
|
-
repeat: t.RecordC<t.
|
|
2153
|
+
repeat: t.RecordC<t.Type<string, string, unknown>, t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
2154
2154
|
type: t.LiteralC<WidgetTypes.Color>;
|
|
2155
2155
|
}>, t.PartialC<{
|
|
2156
2156
|
fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
@@ -2412,7 +2412,7 @@ export declare const StaticSlices: t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
|
2412
2412
|
label?: string | null | undefined;
|
|
2413
2413
|
useAsTitle?: boolean;
|
|
2414
2414
|
placeholder?: string;
|
|
2415
|
-
select?: "
|
|
2415
|
+
select?: "web" | "media" | "document" | null;
|
|
2416
2416
|
customtypes?: string[];
|
|
2417
2417
|
masks?: string[];
|
|
2418
2418
|
tags?: string[];
|
|
@@ -2491,509 +2491,6 @@ export declare const StaticSlices: t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
|
2491
2491
|
placeholder?: string;
|
|
2492
2492
|
default?: string;
|
|
2493
2493
|
};
|
|
2494
|
-
}) | ({
|
|
2495
|
-
id: string;
|
|
2496
|
-
type: SlicesTypes.SharedSlice;
|
|
2497
|
-
name: string;
|
|
2498
|
-
variations: ({
|
|
2499
|
-
id: string;
|
|
2500
|
-
name: string;
|
|
2501
|
-
description: string;
|
|
2502
|
-
imageUrl: string;
|
|
2503
|
-
docURL: string;
|
|
2504
|
-
version: string;
|
|
2505
|
-
} & {
|
|
2506
|
-
display?: string;
|
|
2507
|
-
primary?: {
|
|
2508
|
-
[x: string]: ({
|
|
2509
|
-
type: WidgetTypes.BooleanField;
|
|
2510
|
-
} & {
|
|
2511
|
-
config?: {
|
|
2512
|
-
label?: string | null | undefined;
|
|
2513
|
-
default_value?: boolean;
|
|
2514
|
-
placeholder_true?: string;
|
|
2515
|
-
placeholder_false?: string;
|
|
2516
|
-
};
|
|
2517
|
-
}) | ({
|
|
2518
|
-
type: WidgetTypes.Color;
|
|
2519
|
-
} & {
|
|
2520
|
-
fieldset?: string | null | undefined;
|
|
2521
|
-
config?: {
|
|
2522
|
-
label?: string | null | undefined;
|
|
2523
|
-
placeholder?: string;
|
|
2524
|
-
};
|
|
2525
|
-
}) | ({
|
|
2526
|
-
type: WidgetTypes.Date;
|
|
2527
|
-
} & {
|
|
2528
|
-
fieldset?: string | null | undefined;
|
|
2529
|
-
config?: {
|
|
2530
|
-
label?: string | null | undefined;
|
|
2531
|
-
placeholder?: string;
|
|
2532
|
-
default?: string;
|
|
2533
|
-
};
|
|
2534
|
-
}) | ({
|
|
2535
|
-
type: WidgetTypes.Embed;
|
|
2536
|
-
} & {
|
|
2537
|
-
fieldset?: string | null | undefined;
|
|
2538
|
-
config?: {
|
|
2539
|
-
label?: string | null | undefined;
|
|
2540
|
-
placeholder?: string;
|
|
2541
|
-
useAsTitle?: boolean;
|
|
2542
|
-
};
|
|
2543
|
-
}) | ({
|
|
2544
|
-
type: WidgetTypes.GeoPoint;
|
|
2545
|
-
} & {
|
|
2546
|
-
fieldset?: string | null | undefined;
|
|
2547
|
-
config?: {
|
|
2548
|
-
label?: string | null | undefined;
|
|
2549
|
-
};
|
|
2550
|
-
}) | ({
|
|
2551
|
-
type: WidgetTypes.Image;
|
|
2552
|
-
} & {
|
|
2553
|
-
fieldset?: string | null | undefined;
|
|
2554
|
-
config?: {
|
|
2555
|
-
label?: string | null | undefined;
|
|
2556
|
-
placeholder?: string;
|
|
2557
|
-
constraint?: {
|
|
2558
|
-
width?: number | null;
|
|
2559
|
-
height?: number | null;
|
|
2560
|
-
};
|
|
2561
|
-
thumbnails?: ({
|
|
2562
|
-
name: string;
|
|
2563
|
-
} & {
|
|
2564
|
-
width?: number | null;
|
|
2565
|
-
height?: number | null;
|
|
2566
|
-
})[];
|
|
2567
|
-
};
|
|
2568
|
-
}) | ({
|
|
2569
|
-
type: WidgetTypes.IntegrationField;
|
|
2570
|
-
} & {
|
|
2571
|
-
fieldset?: string | null | undefined;
|
|
2572
|
-
config?: {
|
|
2573
|
-
label?: string | null | undefined;
|
|
2574
|
-
placeholder?: string;
|
|
2575
|
-
catalog?: string;
|
|
2576
|
-
};
|
|
2577
|
-
}) | ({
|
|
2578
|
-
type: WidgetTypes.Link;
|
|
2579
|
-
} & {
|
|
2580
|
-
fieldset?: string | null | undefined;
|
|
2581
|
-
config?: {
|
|
2582
|
-
label?: string | null | undefined;
|
|
2583
|
-
useAsTitle?: boolean;
|
|
2584
|
-
placeholder?: string;
|
|
2585
|
-
select?: "media" | "document" | "web" | null;
|
|
2586
|
-
customtypes?: string[];
|
|
2587
|
-
masks?: string[];
|
|
2588
|
-
tags?: string[];
|
|
2589
|
-
allowTargetBlank?: boolean;
|
|
2590
|
-
};
|
|
2591
|
-
}) | ({
|
|
2592
|
-
type: WidgetTypes.Number;
|
|
2593
|
-
} & {
|
|
2594
|
-
fieldset?: string | null | undefined;
|
|
2595
|
-
config?: {
|
|
2596
|
-
label?: string | null | undefined;
|
|
2597
|
-
placeholder?: string;
|
|
2598
|
-
min?: number;
|
|
2599
|
-
max?: number;
|
|
2600
|
-
step?: number;
|
|
2601
|
-
};
|
|
2602
|
-
}) | ({
|
|
2603
|
-
type: WidgetTypes.Range;
|
|
2604
|
-
} & {
|
|
2605
|
-
fieldset?: string | null | undefined;
|
|
2606
|
-
config?: {
|
|
2607
|
-
label?: string | null | undefined;
|
|
2608
|
-
placeholder?: string;
|
|
2609
|
-
min?: number;
|
|
2610
|
-
max?: number;
|
|
2611
|
-
step?: number;
|
|
2612
|
-
};
|
|
2613
|
-
}) | ({
|
|
2614
|
-
type: WidgetTypes.RichText;
|
|
2615
|
-
} & {
|
|
2616
|
-
fieldset?: string | null | undefined;
|
|
2617
|
-
config?: {
|
|
2618
|
-
label?: string | null | undefined;
|
|
2619
|
-
placeholder?: string;
|
|
2620
|
-
useAsTitle?: boolean;
|
|
2621
|
-
single?: string;
|
|
2622
|
-
multi?: string;
|
|
2623
|
-
imageConstraint?: {
|
|
2624
|
-
width?: number | null;
|
|
2625
|
-
height?: number | null;
|
|
2626
|
-
};
|
|
2627
|
-
labels?: string[];
|
|
2628
|
-
allowTargetBlank?: boolean;
|
|
2629
|
-
};
|
|
2630
|
-
}) | ({
|
|
2631
|
-
type: WidgetTypes.Select;
|
|
2632
|
-
} & {
|
|
2633
|
-
fieldset?: string | null | undefined;
|
|
2634
|
-
config?: {
|
|
2635
|
-
label?: string | null | undefined;
|
|
2636
|
-
placeholder?: string;
|
|
2637
|
-
default_value?: string;
|
|
2638
|
-
options?: string[];
|
|
2639
|
-
};
|
|
2640
|
-
}) | ({
|
|
2641
|
-
type: WidgetTypes.Separator;
|
|
2642
|
-
} & {
|
|
2643
|
-
config?: {
|
|
2644
|
-
label?: string | null | undefined;
|
|
2645
|
-
};
|
|
2646
|
-
}) | ({
|
|
2647
|
-
type: WidgetTypes.Text;
|
|
2648
|
-
} & {
|
|
2649
|
-
fieldset?: string | null | undefined;
|
|
2650
|
-
config?: {
|
|
2651
|
-
label?: string | null | undefined;
|
|
2652
|
-
useAsTitle?: boolean;
|
|
2653
|
-
placeholder?: string;
|
|
2654
|
-
};
|
|
2655
|
-
}) | ({
|
|
2656
|
-
type: WidgetTypes.Timestamp;
|
|
2657
|
-
} & {
|
|
2658
|
-
fieldset?: string | null | undefined;
|
|
2659
|
-
config?: {
|
|
2660
|
-
label?: string | null | undefined;
|
|
2661
|
-
placeholder?: string;
|
|
2662
|
-
default?: string;
|
|
2663
|
-
};
|
|
2664
|
-
});
|
|
2665
|
-
};
|
|
2666
|
-
items?: {
|
|
2667
|
-
[x: string]: ({
|
|
2668
|
-
type: WidgetTypes.BooleanField;
|
|
2669
|
-
} & {
|
|
2670
|
-
config?: {
|
|
2671
|
-
label?: string | null | undefined;
|
|
2672
|
-
default_value?: boolean;
|
|
2673
|
-
placeholder_true?: string;
|
|
2674
|
-
placeholder_false?: string;
|
|
2675
|
-
};
|
|
2676
|
-
}) | ({
|
|
2677
|
-
type: WidgetTypes.Color;
|
|
2678
|
-
} & {
|
|
2679
|
-
fieldset?: string | null | undefined;
|
|
2680
|
-
config?: {
|
|
2681
|
-
label?: string | null | undefined;
|
|
2682
|
-
placeholder?: string;
|
|
2683
|
-
};
|
|
2684
|
-
}) | ({
|
|
2685
|
-
type: WidgetTypes.Date;
|
|
2686
|
-
} & {
|
|
2687
|
-
fieldset?: string | null | undefined;
|
|
2688
|
-
config?: {
|
|
2689
|
-
label?: string | null | undefined;
|
|
2690
|
-
placeholder?: string;
|
|
2691
|
-
default?: string;
|
|
2692
|
-
};
|
|
2693
|
-
}) | ({
|
|
2694
|
-
type: WidgetTypes.Embed;
|
|
2695
|
-
} & {
|
|
2696
|
-
fieldset?: string | null | undefined;
|
|
2697
|
-
config?: {
|
|
2698
|
-
label?: string | null | undefined;
|
|
2699
|
-
placeholder?: string;
|
|
2700
|
-
useAsTitle?: boolean;
|
|
2701
|
-
};
|
|
2702
|
-
}) | ({
|
|
2703
|
-
type: WidgetTypes.GeoPoint;
|
|
2704
|
-
} & {
|
|
2705
|
-
fieldset?: string | null | undefined;
|
|
2706
|
-
config?: {
|
|
2707
|
-
label?: string | null | undefined;
|
|
2708
|
-
};
|
|
2709
|
-
}) | ({
|
|
2710
|
-
type: WidgetTypes.Image;
|
|
2711
|
-
} & {
|
|
2712
|
-
fieldset?: string | null | undefined;
|
|
2713
|
-
config?: {
|
|
2714
|
-
label?: string | null | undefined;
|
|
2715
|
-
placeholder?: string;
|
|
2716
|
-
constraint?: {
|
|
2717
|
-
width?: number | null;
|
|
2718
|
-
height?: number | null;
|
|
2719
|
-
};
|
|
2720
|
-
thumbnails?: ({
|
|
2721
|
-
name: string;
|
|
2722
|
-
} & {
|
|
2723
|
-
width?: number | null;
|
|
2724
|
-
height?: number | null;
|
|
2725
|
-
})[];
|
|
2726
|
-
};
|
|
2727
|
-
}) | ({
|
|
2728
|
-
type: WidgetTypes.IntegrationField;
|
|
2729
|
-
} & {
|
|
2730
|
-
fieldset?: string | null | undefined;
|
|
2731
|
-
config?: {
|
|
2732
|
-
label?: string | null | undefined;
|
|
2733
|
-
placeholder?: string;
|
|
2734
|
-
catalog?: string;
|
|
2735
|
-
};
|
|
2736
|
-
}) | ({
|
|
2737
|
-
type: WidgetTypes.Link;
|
|
2738
|
-
} & {
|
|
2739
|
-
fieldset?: string | null | undefined;
|
|
2740
|
-
config?: {
|
|
2741
|
-
label?: string | null | undefined;
|
|
2742
|
-
useAsTitle?: boolean;
|
|
2743
|
-
placeholder?: string;
|
|
2744
|
-
select?: "media" | "document" | "web" | null;
|
|
2745
|
-
customtypes?: string[];
|
|
2746
|
-
masks?: string[];
|
|
2747
|
-
tags?: string[];
|
|
2748
|
-
allowTargetBlank?: boolean;
|
|
2749
|
-
};
|
|
2750
|
-
}) | ({
|
|
2751
|
-
type: WidgetTypes.Number;
|
|
2752
|
-
} & {
|
|
2753
|
-
fieldset?: string | null | undefined;
|
|
2754
|
-
config?: {
|
|
2755
|
-
label?: string | null | undefined;
|
|
2756
|
-
placeholder?: string;
|
|
2757
|
-
min?: number;
|
|
2758
|
-
max?: number;
|
|
2759
|
-
step?: number;
|
|
2760
|
-
};
|
|
2761
|
-
}) | ({
|
|
2762
|
-
type: WidgetTypes.Range;
|
|
2763
|
-
} & {
|
|
2764
|
-
fieldset?: string | null | undefined;
|
|
2765
|
-
config?: {
|
|
2766
|
-
label?: string | null | undefined;
|
|
2767
|
-
placeholder?: string;
|
|
2768
|
-
min?: number;
|
|
2769
|
-
max?: number;
|
|
2770
|
-
step?: number;
|
|
2771
|
-
};
|
|
2772
|
-
}) | ({
|
|
2773
|
-
type: WidgetTypes.RichText;
|
|
2774
|
-
} & {
|
|
2775
|
-
fieldset?: string | null | undefined;
|
|
2776
|
-
config?: {
|
|
2777
|
-
label?: string | null | undefined;
|
|
2778
|
-
placeholder?: string;
|
|
2779
|
-
useAsTitle?: boolean;
|
|
2780
|
-
single?: string;
|
|
2781
|
-
multi?: string;
|
|
2782
|
-
imageConstraint?: {
|
|
2783
|
-
width?: number | null;
|
|
2784
|
-
height?: number | null;
|
|
2785
|
-
};
|
|
2786
|
-
labels?: string[];
|
|
2787
|
-
allowTargetBlank?: boolean;
|
|
2788
|
-
};
|
|
2789
|
-
}) | ({
|
|
2790
|
-
type: WidgetTypes.Select;
|
|
2791
|
-
} & {
|
|
2792
|
-
fieldset?: string | null | undefined;
|
|
2793
|
-
config?: {
|
|
2794
|
-
label?: string | null | undefined;
|
|
2795
|
-
placeholder?: string;
|
|
2796
|
-
default_value?: string;
|
|
2797
|
-
options?: string[];
|
|
2798
|
-
};
|
|
2799
|
-
}) | ({
|
|
2800
|
-
type: WidgetTypes.Separator;
|
|
2801
|
-
} & {
|
|
2802
|
-
config?: {
|
|
2803
|
-
label?: string | null | undefined;
|
|
2804
|
-
};
|
|
2805
|
-
}) | ({
|
|
2806
|
-
type: WidgetTypes.Text;
|
|
2807
|
-
} & {
|
|
2808
|
-
fieldset?: string | null | undefined;
|
|
2809
|
-
config?: {
|
|
2810
|
-
label?: string | null | undefined;
|
|
2811
|
-
useAsTitle?: boolean;
|
|
2812
|
-
placeholder?: string;
|
|
2813
|
-
};
|
|
2814
|
-
}) | ({
|
|
2815
|
-
type: WidgetTypes.Timestamp;
|
|
2816
|
-
} & {
|
|
2817
|
-
fieldset?: string | null | undefined;
|
|
2818
|
-
config?: {
|
|
2819
|
-
label?: string | null | undefined;
|
|
2820
|
-
placeholder?: string;
|
|
2821
|
-
default?: string;
|
|
2822
|
-
};
|
|
2823
|
-
});
|
|
2824
|
-
};
|
|
2825
|
-
})[];
|
|
2826
|
-
} & {
|
|
2827
|
-
description?: string;
|
|
2828
|
-
}) | ({
|
|
2829
|
-
type: WidgetTypes.Group;
|
|
2830
|
-
} & {
|
|
2831
|
-
fieldset?: string | null | undefined;
|
|
2832
|
-
icon?: string;
|
|
2833
|
-
description?: string;
|
|
2834
|
-
config?: {
|
|
2835
|
-
label?: string | null | undefined;
|
|
2836
|
-
repeat?: boolean;
|
|
2837
|
-
fields?: {
|
|
2838
|
-
[x: string]: ({
|
|
2839
|
-
type: WidgetTypes.BooleanField;
|
|
2840
|
-
} & {
|
|
2841
|
-
config?: {
|
|
2842
|
-
label?: string | null | undefined;
|
|
2843
|
-
default_value?: boolean;
|
|
2844
|
-
placeholder_true?: string;
|
|
2845
|
-
placeholder_false?: string;
|
|
2846
|
-
};
|
|
2847
|
-
}) | ({
|
|
2848
|
-
type: WidgetTypes.Color;
|
|
2849
|
-
} & {
|
|
2850
|
-
fieldset?: string | null | undefined;
|
|
2851
|
-
config?: {
|
|
2852
|
-
label?: string | null | undefined;
|
|
2853
|
-
placeholder?: string;
|
|
2854
|
-
};
|
|
2855
|
-
}) | ({
|
|
2856
|
-
type: WidgetTypes.Date;
|
|
2857
|
-
} & {
|
|
2858
|
-
fieldset?: string | null | undefined;
|
|
2859
|
-
config?: {
|
|
2860
|
-
label?: string | null | undefined;
|
|
2861
|
-
placeholder?: string;
|
|
2862
|
-
default?: string;
|
|
2863
|
-
};
|
|
2864
|
-
}) | ({
|
|
2865
|
-
type: WidgetTypes.Embed;
|
|
2866
|
-
} & {
|
|
2867
|
-
fieldset?: string | null | undefined;
|
|
2868
|
-
config?: {
|
|
2869
|
-
label?: string | null | undefined;
|
|
2870
|
-
placeholder?: string;
|
|
2871
|
-
useAsTitle?: boolean;
|
|
2872
|
-
};
|
|
2873
|
-
}) | ({
|
|
2874
|
-
type: WidgetTypes.GeoPoint;
|
|
2875
|
-
} & {
|
|
2876
|
-
fieldset?: string | null | undefined;
|
|
2877
|
-
config?: {
|
|
2878
|
-
label?: string | null | undefined;
|
|
2879
|
-
};
|
|
2880
|
-
}) | ({
|
|
2881
|
-
type: WidgetTypes.Image;
|
|
2882
|
-
} & {
|
|
2883
|
-
fieldset?: string | null | undefined;
|
|
2884
|
-
config?: {
|
|
2885
|
-
label?: string | null | undefined;
|
|
2886
|
-
placeholder?: string;
|
|
2887
|
-
constraint?: {
|
|
2888
|
-
width?: number | null;
|
|
2889
|
-
height?: number | null;
|
|
2890
|
-
};
|
|
2891
|
-
thumbnails?: ({
|
|
2892
|
-
name: string;
|
|
2893
|
-
} & {
|
|
2894
|
-
width?: number | null;
|
|
2895
|
-
height?: number | null;
|
|
2896
|
-
})[];
|
|
2897
|
-
};
|
|
2898
|
-
}) | ({
|
|
2899
|
-
type: WidgetTypes.IntegrationField;
|
|
2900
|
-
} & {
|
|
2901
|
-
fieldset?: string | null | undefined;
|
|
2902
|
-
config?: {
|
|
2903
|
-
label?: string | null | undefined;
|
|
2904
|
-
placeholder?: string;
|
|
2905
|
-
catalog?: string;
|
|
2906
|
-
};
|
|
2907
|
-
}) | ({
|
|
2908
|
-
type: WidgetTypes.Link;
|
|
2909
|
-
} & {
|
|
2910
|
-
fieldset?: string | null | undefined;
|
|
2911
|
-
config?: {
|
|
2912
|
-
label?: string | null | undefined;
|
|
2913
|
-
useAsTitle?: boolean;
|
|
2914
|
-
placeholder?: string;
|
|
2915
|
-
select?: "media" | "document" | "web" | null;
|
|
2916
|
-
customtypes?: string[];
|
|
2917
|
-
masks?: string[];
|
|
2918
|
-
tags?: string[];
|
|
2919
|
-
allowTargetBlank?: boolean;
|
|
2920
|
-
};
|
|
2921
|
-
}) | ({
|
|
2922
|
-
type: WidgetTypes.Number;
|
|
2923
|
-
} & {
|
|
2924
|
-
fieldset?: string | null | undefined;
|
|
2925
|
-
config?: {
|
|
2926
|
-
label?: string | null | undefined;
|
|
2927
|
-
placeholder?: string;
|
|
2928
|
-
min?: number;
|
|
2929
|
-
max?: number;
|
|
2930
|
-
step?: number;
|
|
2931
|
-
};
|
|
2932
|
-
}) | ({
|
|
2933
|
-
type: WidgetTypes.Range;
|
|
2934
|
-
} & {
|
|
2935
|
-
fieldset?: string | null | undefined;
|
|
2936
|
-
config?: {
|
|
2937
|
-
label?: string | null | undefined;
|
|
2938
|
-
placeholder?: string;
|
|
2939
|
-
min?: number;
|
|
2940
|
-
max?: number;
|
|
2941
|
-
step?: number;
|
|
2942
|
-
};
|
|
2943
|
-
}) | ({
|
|
2944
|
-
type: WidgetTypes.RichText;
|
|
2945
|
-
} & {
|
|
2946
|
-
fieldset?: string | null | undefined;
|
|
2947
|
-
config?: {
|
|
2948
|
-
label?: string | null | undefined;
|
|
2949
|
-
placeholder?: string;
|
|
2950
|
-
useAsTitle?: boolean;
|
|
2951
|
-
single?: string;
|
|
2952
|
-
multi?: string;
|
|
2953
|
-
imageConstraint?: {
|
|
2954
|
-
width?: number | null;
|
|
2955
|
-
height?: number | null;
|
|
2956
|
-
};
|
|
2957
|
-
labels?: string[];
|
|
2958
|
-
allowTargetBlank?: boolean;
|
|
2959
|
-
};
|
|
2960
|
-
}) | ({
|
|
2961
|
-
type: WidgetTypes.Select;
|
|
2962
|
-
} & {
|
|
2963
|
-
fieldset?: string | null | undefined;
|
|
2964
|
-
config?: {
|
|
2965
|
-
label?: string | null | undefined;
|
|
2966
|
-
placeholder?: string;
|
|
2967
|
-
default_value?: string;
|
|
2968
|
-
options?: string[];
|
|
2969
|
-
};
|
|
2970
|
-
}) | ({
|
|
2971
|
-
type: WidgetTypes.Separator;
|
|
2972
|
-
} & {
|
|
2973
|
-
config?: {
|
|
2974
|
-
label?: string | null | undefined;
|
|
2975
|
-
};
|
|
2976
|
-
}) | ({
|
|
2977
|
-
type: WidgetTypes.Text;
|
|
2978
|
-
} & {
|
|
2979
|
-
fieldset?: string | null | undefined;
|
|
2980
|
-
config?: {
|
|
2981
|
-
label?: string | null | undefined;
|
|
2982
|
-
useAsTitle?: boolean;
|
|
2983
|
-
placeholder?: string;
|
|
2984
|
-
};
|
|
2985
|
-
}) | ({
|
|
2986
|
-
type: WidgetTypes.Timestamp;
|
|
2987
|
-
} & {
|
|
2988
|
-
fieldset?: string | null | undefined;
|
|
2989
|
-
config?: {
|
|
2990
|
-
label?: string | null | undefined;
|
|
2991
|
-
placeholder?: string;
|
|
2992
|
-
default?: string;
|
|
2993
|
-
};
|
|
2994
|
-
});
|
|
2995
|
-
};
|
|
2996
|
-
};
|
|
2997
2494
|
}) | ({
|
|
2998
2495
|
type: SlicesTypes.Slice;
|
|
2999
2496
|
} & {
|
|
@@ -3079,7 +2576,7 @@ export declare const StaticSlices: t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
|
3079
2576
|
label?: string | null | undefined;
|
|
3080
2577
|
useAsTitle?: boolean;
|
|
3081
2578
|
placeholder?: string;
|
|
3082
|
-
select?: "
|
|
2579
|
+
select?: "web" | "media" | "document" | null;
|
|
3083
2580
|
customtypes?: string[];
|
|
3084
2581
|
masks?: string[];
|
|
3085
2582
|
tags?: string[];
|
|
@@ -3238,7 +2735,7 @@ export declare const StaticSlices: t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
|
3238
2735
|
label?: string | null | undefined;
|
|
3239
2736
|
useAsTitle?: boolean;
|
|
3240
2737
|
placeholder?: string;
|
|
3241
|
-
select?: "
|
|
2738
|
+
select?: "web" | "media" | "document" | null;
|
|
3242
2739
|
customtypes?: string[];
|
|
3243
2740
|
masks?: string[];
|
|
3244
2741
|
tags?: string[];
|
|
@@ -3298,215 +2795,372 @@ export declare const StaticSlices: t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
|
3298
2795
|
} & {
|
|
3299
2796
|
config?: {
|
|
3300
2797
|
label?: string | null | undefined;
|
|
3301
|
-
};
|
|
3302
|
-
}) | ({
|
|
3303
|
-
type: WidgetTypes.Text;
|
|
3304
|
-
} & {
|
|
3305
|
-
fieldset?: string | null | undefined;
|
|
3306
|
-
config?: {
|
|
3307
|
-
label?: string | null | undefined;
|
|
3308
|
-
useAsTitle?: boolean;
|
|
3309
|
-
placeholder?: string;
|
|
3310
|
-
};
|
|
3311
|
-
}) | ({
|
|
3312
|
-
type: WidgetTypes.Timestamp;
|
|
3313
|
-
} & {
|
|
3314
|
-
fieldset?: string | null | undefined;
|
|
3315
|
-
config?: {
|
|
3316
|
-
label?: string | null | undefined;
|
|
3317
|
-
placeholder?: string;
|
|
3318
|
-
default?: string;
|
|
3319
|
-
};
|
|
3320
|
-
});
|
|
3321
|
-
};
|
|
3322
|
-
config?: {
|
|
3323
|
-
label?: string | null | undefined;
|
|
3324
|
-
};
|
|
3325
|
-
});
|
|
3326
|
-
};
|
|
3327
|
-
}, unknown, unknown>;
|
|
3328
|
-
}>]>>;
|
|
3329
|
-
export declare type StaticSlices = t.TypeOf<typeof StaticSlices>;
|
|
3330
|
-
export declare const DynamicSlices: t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
3331
|
-
type: t.UnionC<[t.LiteralC<WidgetTypes.Slices>, t.LiteralC<WidgetTypes.LegacySlices>]>;
|
|
3332
|
-
}>, t.PartialC<{
|
|
3333
|
-
fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
3334
|
-
config: t.Type<{
|
|
3335
|
-
label?: string | null | undefined;
|
|
3336
|
-
labels?: {
|
|
3337
|
-
[x: string]: ({
|
|
3338
|
-
name: string;
|
|
3339
|
-
} & {
|
|
3340
|
-
display?: string;
|
|
3341
|
-
})[];
|
|
3342
|
-
} | null;
|
|
3343
|
-
choices?: {
|
|
3344
|
-
[x: string]: ({
|
|
3345
|
-
type: WidgetTypes.BooleanField;
|
|
3346
|
-
} & {
|
|
3347
|
-
config?: {
|
|
3348
|
-
label?: string | null | undefined;
|
|
3349
|
-
default_value?: boolean;
|
|
3350
|
-
placeholder_true?: string;
|
|
3351
|
-
placeholder_false?: string;
|
|
3352
|
-
};
|
|
3353
|
-
}) | ({
|
|
3354
|
-
type: WidgetTypes.Color;
|
|
3355
|
-
} & {
|
|
3356
|
-
fieldset?: string | null | undefined;
|
|
3357
|
-
config?: {
|
|
3358
|
-
label?: string | null | undefined;
|
|
3359
|
-
placeholder?: string;
|
|
3360
|
-
};
|
|
3361
|
-
}) | ({
|
|
3362
|
-
type: WidgetTypes.Date;
|
|
3363
|
-
} & {
|
|
3364
|
-
fieldset?: string | null | undefined;
|
|
3365
|
-
config?: {
|
|
3366
|
-
label?: string | null | undefined;
|
|
3367
|
-
placeholder?: string;
|
|
3368
|
-
default?: string;
|
|
3369
|
-
};
|
|
3370
|
-
}) | ({
|
|
3371
|
-
type: WidgetTypes.Embed;
|
|
3372
|
-
} & {
|
|
3373
|
-
fieldset?: string | null | undefined;
|
|
3374
|
-
config?: {
|
|
3375
|
-
label?: string | null | undefined;
|
|
3376
|
-
placeholder?: string;
|
|
3377
|
-
useAsTitle?: boolean;
|
|
3378
|
-
};
|
|
3379
|
-
}) | ({
|
|
3380
|
-
type: WidgetTypes.GeoPoint;
|
|
3381
|
-
} & {
|
|
3382
|
-
fieldset?: string | null | undefined;
|
|
3383
|
-
config?: {
|
|
3384
|
-
label?: string | null | undefined;
|
|
3385
|
-
};
|
|
3386
|
-
}) | ({
|
|
3387
|
-
type: WidgetTypes.Image;
|
|
3388
|
-
} & {
|
|
3389
|
-
fieldset?: string | null | undefined;
|
|
3390
|
-
config?: {
|
|
3391
|
-
label?: string | null | undefined;
|
|
3392
|
-
placeholder?: string;
|
|
3393
|
-
constraint?: {
|
|
3394
|
-
width?: number | null;
|
|
3395
|
-
height?: number | null;
|
|
3396
|
-
};
|
|
3397
|
-
thumbnails?: ({
|
|
3398
|
-
name: string;
|
|
3399
|
-
} & {
|
|
3400
|
-
width?: number | null;
|
|
3401
|
-
height?: number | null;
|
|
3402
|
-
})[];
|
|
3403
|
-
};
|
|
3404
|
-
}) | ({
|
|
3405
|
-
type: WidgetTypes.IntegrationField;
|
|
3406
|
-
} & {
|
|
3407
|
-
fieldset?: string | null | undefined;
|
|
3408
|
-
config?: {
|
|
3409
|
-
label?: string | null | undefined;
|
|
3410
|
-
placeholder?: string;
|
|
3411
|
-
catalog?: string;
|
|
3412
|
-
};
|
|
3413
|
-
}) | ({
|
|
3414
|
-
type: WidgetTypes.Link;
|
|
3415
|
-
} & {
|
|
3416
|
-
fieldset?: string | null | undefined;
|
|
3417
|
-
config?: {
|
|
3418
|
-
label?: string | null | undefined;
|
|
3419
|
-
useAsTitle?: boolean;
|
|
3420
|
-
placeholder?: string;
|
|
3421
|
-
select?: "media" | "document" | "web" | null;
|
|
3422
|
-
customtypes?: string[];
|
|
3423
|
-
masks?: string[];
|
|
3424
|
-
tags?: string[];
|
|
3425
|
-
allowTargetBlank?: boolean;
|
|
2798
|
+
};
|
|
2799
|
+
}) | ({
|
|
2800
|
+
type: WidgetTypes.Text;
|
|
2801
|
+
} & {
|
|
2802
|
+
fieldset?: string | null | undefined;
|
|
2803
|
+
config?: {
|
|
2804
|
+
label?: string | null | undefined;
|
|
2805
|
+
useAsTitle?: boolean;
|
|
2806
|
+
placeholder?: string;
|
|
2807
|
+
};
|
|
2808
|
+
}) | ({
|
|
2809
|
+
type: WidgetTypes.Timestamp;
|
|
2810
|
+
} & {
|
|
2811
|
+
fieldset?: string | null | undefined;
|
|
2812
|
+
config?: {
|
|
2813
|
+
label?: string | null | undefined;
|
|
2814
|
+
placeholder?: string;
|
|
2815
|
+
default?: string;
|
|
2816
|
+
};
|
|
2817
|
+
});
|
|
3426
2818
|
};
|
|
3427
|
-
}) | ({
|
|
3428
|
-
type: WidgetTypes.Number;
|
|
3429
|
-
} & {
|
|
3430
|
-
fieldset?: string | null | undefined;
|
|
3431
2819
|
config?: {
|
|
3432
2820
|
label?: string | null | undefined;
|
|
3433
|
-
placeholder?: string;
|
|
3434
|
-
min?: number;
|
|
3435
|
-
max?: number;
|
|
3436
|
-
step?: number;
|
|
3437
2821
|
};
|
|
3438
2822
|
}) | ({
|
|
3439
|
-
type: WidgetTypes.
|
|
2823
|
+
type: WidgetTypes.Group;
|
|
3440
2824
|
} & {
|
|
3441
2825
|
fieldset?: string | null | undefined;
|
|
2826
|
+
icon?: string;
|
|
2827
|
+
description?: string;
|
|
3442
2828
|
config?: {
|
|
3443
2829
|
label?: string | null | undefined;
|
|
3444
|
-
|
|
3445
|
-
|
|
3446
|
-
|
|
3447
|
-
|
|
2830
|
+
repeat?: boolean;
|
|
2831
|
+
fields?: {
|
|
2832
|
+
[x: string]: ({
|
|
2833
|
+
type: WidgetTypes.BooleanField;
|
|
2834
|
+
} & {
|
|
2835
|
+
config?: {
|
|
2836
|
+
label?: string | null | undefined;
|
|
2837
|
+
default_value?: boolean;
|
|
2838
|
+
placeholder_true?: string;
|
|
2839
|
+
placeholder_false?: string;
|
|
2840
|
+
};
|
|
2841
|
+
}) | ({
|
|
2842
|
+
type: WidgetTypes.Color;
|
|
2843
|
+
} & {
|
|
2844
|
+
fieldset?: string | null | undefined;
|
|
2845
|
+
config?: {
|
|
2846
|
+
label?: string | null | undefined;
|
|
2847
|
+
placeholder?: string;
|
|
2848
|
+
};
|
|
2849
|
+
}) | ({
|
|
2850
|
+
type: WidgetTypes.Date;
|
|
2851
|
+
} & {
|
|
2852
|
+
fieldset?: string | null | undefined;
|
|
2853
|
+
config?: {
|
|
2854
|
+
label?: string | null | undefined;
|
|
2855
|
+
placeholder?: string;
|
|
2856
|
+
default?: string;
|
|
2857
|
+
};
|
|
2858
|
+
}) | ({
|
|
2859
|
+
type: WidgetTypes.Embed;
|
|
2860
|
+
} & {
|
|
2861
|
+
fieldset?: string | null | undefined;
|
|
2862
|
+
config?: {
|
|
2863
|
+
label?: string | null | undefined;
|
|
2864
|
+
placeholder?: string;
|
|
2865
|
+
useAsTitle?: boolean;
|
|
2866
|
+
};
|
|
2867
|
+
}) | ({
|
|
2868
|
+
type: WidgetTypes.GeoPoint;
|
|
2869
|
+
} & {
|
|
2870
|
+
fieldset?: string | null | undefined;
|
|
2871
|
+
config?: {
|
|
2872
|
+
label?: string | null | undefined;
|
|
2873
|
+
};
|
|
2874
|
+
}) | ({
|
|
2875
|
+
type: WidgetTypes.Image;
|
|
2876
|
+
} & {
|
|
2877
|
+
fieldset?: string | null | undefined;
|
|
2878
|
+
config?: {
|
|
2879
|
+
label?: string | null | undefined;
|
|
2880
|
+
placeholder?: string;
|
|
2881
|
+
constraint?: {
|
|
2882
|
+
width?: number | null;
|
|
2883
|
+
height?: number | null;
|
|
2884
|
+
};
|
|
2885
|
+
thumbnails?: ({
|
|
2886
|
+
name: string;
|
|
2887
|
+
} & {
|
|
2888
|
+
width?: number | null;
|
|
2889
|
+
height?: number | null;
|
|
2890
|
+
})[];
|
|
2891
|
+
};
|
|
2892
|
+
}) | ({
|
|
2893
|
+
type: WidgetTypes.IntegrationField;
|
|
2894
|
+
} & {
|
|
2895
|
+
fieldset?: string | null | undefined;
|
|
2896
|
+
config?: {
|
|
2897
|
+
label?: string | null | undefined;
|
|
2898
|
+
placeholder?: string;
|
|
2899
|
+
catalog?: string;
|
|
2900
|
+
};
|
|
2901
|
+
}) | ({
|
|
2902
|
+
type: WidgetTypes.Link;
|
|
2903
|
+
} & {
|
|
2904
|
+
fieldset?: string | null | undefined;
|
|
2905
|
+
config?: {
|
|
2906
|
+
label?: string | null | undefined;
|
|
2907
|
+
useAsTitle?: boolean;
|
|
2908
|
+
placeholder?: string;
|
|
2909
|
+
select?: "web" | "media" | "document" | null;
|
|
2910
|
+
customtypes?: string[];
|
|
2911
|
+
masks?: string[];
|
|
2912
|
+
tags?: string[];
|
|
2913
|
+
allowTargetBlank?: boolean;
|
|
2914
|
+
};
|
|
2915
|
+
}) | ({
|
|
2916
|
+
type: WidgetTypes.Number;
|
|
2917
|
+
} & {
|
|
2918
|
+
fieldset?: string | null | undefined;
|
|
2919
|
+
config?: {
|
|
2920
|
+
label?: string | null | undefined;
|
|
2921
|
+
placeholder?: string;
|
|
2922
|
+
min?: number;
|
|
2923
|
+
max?: number;
|
|
2924
|
+
step?: number;
|
|
2925
|
+
};
|
|
2926
|
+
}) | ({
|
|
2927
|
+
type: WidgetTypes.Range;
|
|
2928
|
+
} & {
|
|
2929
|
+
fieldset?: string | null | undefined;
|
|
2930
|
+
config?: {
|
|
2931
|
+
label?: string | null | undefined;
|
|
2932
|
+
placeholder?: string;
|
|
2933
|
+
min?: number;
|
|
2934
|
+
max?: number;
|
|
2935
|
+
step?: number;
|
|
2936
|
+
};
|
|
2937
|
+
}) | ({
|
|
2938
|
+
type: WidgetTypes.RichText;
|
|
2939
|
+
} & {
|
|
2940
|
+
fieldset?: string | null | undefined;
|
|
2941
|
+
config?: {
|
|
2942
|
+
label?: string | null | undefined;
|
|
2943
|
+
placeholder?: string;
|
|
2944
|
+
useAsTitle?: boolean;
|
|
2945
|
+
single?: string;
|
|
2946
|
+
multi?: string;
|
|
2947
|
+
imageConstraint?: {
|
|
2948
|
+
width?: number | null;
|
|
2949
|
+
height?: number | null;
|
|
2950
|
+
};
|
|
2951
|
+
labels?: string[];
|
|
2952
|
+
allowTargetBlank?: boolean;
|
|
2953
|
+
};
|
|
2954
|
+
}) | ({
|
|
2955
|
+
type: WidgetTypes.Select;
|
|
2956
|
+
} & {
|
|
2957
|
+
fieldset?: string | null | undefined;
|
|
2958
|
+
config?: {
|
|
2959
|
+
label?: string | null | undefined;
|
|
2960
|
+
placeholder?: string;
|
|
2961
|
+
default_value?: string;
|
|
2962
|
+
options?: string[];
|
|
2963
|
+
};
|
|
2964
|
+
}) | ({
|
|
2965
|
+
type: WidgetTypes.Separator;
|
|
2966
|
+
} & {
|
|
2967
|
+
config?: {
|
|
2968
|
+
label?: string | null | undefined;
|
|
2969
|
+
};
|
|
2970
|
+
}) | ({
|
|
2971
|
+
type: WidgetTypes.Text;
|
|
2972
|
+
} & {
|
|
2973
|
+
fieldset?: string | null | undefined;
|
|
2974
|
+
config?: {
|
|
2975
|
+
label?: string | null | undefined;
|
|
2976
|
+
useAsTitle?: boolean;
|
|
2977
|
+
placeholder?: string;
|
|
2978
|
+
};
|
|
2979
|
+
}) | ({
|
|
2980
|
+
type: WidgetTypes.Timestamp;
|
|
2981
|
+
} & {
|
|
2982
|
+
fieldset?: string | null | undefined;
|
|
2983
|
+
config?: {
|
|
2984
|
+
label?: string | null | undefined;
|
|
2985
|
+
placeholder?: string;
|
|
2986
|
+
default?: string;
|
|
2987
|
+
};
|
|
2988
|
+
});
|
|
2989
|
+
};
|
|
3448
2990
|
};
|
|
3449
2991
|
}) | ({
|
|
3450
|
-
|
|
3451
|
-
|
|
3452
|
-
|
|
3453
|
-
|
|
3454
|
-
|
|
3455
|
-
|
|
3456
|
-
|
|
3457
|
-
|
|
3458
|
-
|
|
3459
|
-
|
|
3460
|
-
|
|
3461
|
-
|
|
2992
|
+
id: string;
|
|
2993
|
+
type: SlicesTypes.SharedSlice;
|
|
2994
|
+
name: string;
|
|
2995
|
+
variations: ({
|
|
2996
|
+
id: string;
|
|
2997
|
+
name: string;
|
|
2998
|
+
description: string;
|
|
2999
|
+
imageUrl: string;
|
|
3000
|
+
docURL: string;
|
|
3001
|
+
version: string;
|
|
3002
|
+
} & {
|
|
3003
|
+
display?: string;
|
|
3004
|
+
primary?: {
|
|
3005
|
+
[x: string]: ({
|
|
3006
|
+
type: WidgetTypes.BooleanField;
|
|
3007
|
+
} & {
|
|
3008
|
+
config?: {
|
|
3009
|
+
label?: string | null | undefined;
|
|
3010
|
+
default_value?: boolean;
|
|
3011
|
+
placeholder_true?: string;
|
|
3012
|
+
placeholder_false?: string;
|
|
3013
|
+
};
|
|
3014
|
+
}) | ({
|
|
3015
|
+
type: WidgetTypes.Color;
|
|
3016
|
+
} & {
|
|
3017
|
+
fieldset?: string | null | undefined;
|
|
3018
|
+
config?: {
|
|
3019
|
+
label?: string | null | undefined;
|
|
3020
|
+
placeholder?: string;
|
|
3021
|
+
};
|
|
3022
|
+
}) | ({
|
|
3023
|
+
type: WidgetTypes.Date;
|
|
3024
|
+
} & {
|
|
3025
|
+
fieldset?: string | null | undefined;
|
|
3026
|
+
config?: {
|
|
3027
|
+
label?: string | null | undefined;
|
|
3028
|
+
placeholder?: string;
|
|
3029
|
+
default?: string;
|
|
3030
|
+
};
|
|
3031
|
+
}) | ({
|
|
3032
|
+
type: WidgetTypes.Embed;
|
|
3033
|
+
} & {
|
|
3034
|
+
fieldset?: string | null | undefined;
|
|
3035
|
+
config?: {
|
|
3036
|
+
label?: string | null | undefined;
|
|
3037
|
+
placeholder?: string;
|
|
3038
|
+
useAsTitle?: boolean;
|
|
3039
|
+
};
|
|
3040
|
+
}) | ({
|
|
3041
|
+
type: WidgetTypes.GeoPoint;
|
|
3042
|
+
} & {
|
|
3043
|
+
fieldset?: string | null | undefined;
|
|
3044
|
+
config?: {
|
|
3045
|
+
label?: string | null | undefined;
|
|
3046
|
+
};
|
|
3047
|
+
}) | ({
|
|
3048
|
+
type: WidgetTypes.Image;
|
|
3049
|
+
} & {
|
|
3050
|
+
fieldset?: string | null | undefined;
|
|
3051
|
+
config?: {
|
|
3052
|
+
label?: string | null | undefined;
|
|
3053
|
+
placeholder?: string;
|
|
3054
|
+
constraint?: {
|
|
3055
|
+
width?: number | null;
|
|
3056
|
+
height?: number | null;
|
|
3057
|
+
};
|
|
3058
|
+
thumbnails?: ({
|
|
3059
|
+
name: string;
|
|
3060
|
+
} & {
|
|
3061
|
+
width?: number | null;
|
|
3062
|
+
height?: number | null;
|
|
3063
|
+
})[];
|
|
3064
|
+
};
|
|
3065
|
+
}) | ({
|
|
3066
|
+
type: WidgetTypes.IntegrationField;
|
|
3067
|
+
} & {
|
|
3068
|
+
fieldset?: string | null | undefined;
|
|
3069
|
+
config?: {
|
|
3070
|
+
label?: string | null | undefined;
|
|
3071
|
+
placeholder?: string;
|
|
3072
|
+
catalog?: string;
|
|
3073
|
+
};
|
|
3074
|
+
}) | ({
|
|
3075
|
+
type: WidgetTypes.Link;
|
|
3076
|
+
} & {
|
|
3077
|
+
fieldset?: string | null | undefined;
|
|
3078
|
+
config?: {
|
|
3079
|
+
label?: string | null | undefined;
|
|
3080
|
+
useAsTitle?: boolean;
|
|
3081
|
+
placeholder?: string;
|
|
3082
|
+
select?: "web" | "media" | "document" | null;
|
|
3083
|
+
customtypes?: string[];
|
|
3084
|
+
masks?: string[];
|
|
3085
|
+
tags?: string[];
|
|
3086
|
+
allowTargetBlank?: boolean;
|
|
3087
|
+
};
|
|
3088
|
+
}) | ({
|
|
3089
|
+
type: WidgetTypes.Number;
|
|
3090
|
+
} & {
|
|
3091
|
+
fieldset?: string | null | undefined;
|
|
3092
|
+
config?: {
|
|
3093
|
+
label?: string | null | undefined;
|
|
3094
|
+
placeholder?: string;
|
|
3095
|
+
min?: number;
|
|
3096
|
+
max?: number;
|
|
3097
|
+
step?: number;
|
|
3098
|
+
};
|
|
3099
|
+
}) | ({
|
|
3100
|
+
type: WidgetTypes.Range;
|
|
3101
|
+
} & {
|
|
3102
|
+
fieldset?: string | null | undefined;
|
|
3103
|
+
config?: {
|
|
3104
|
+
label?: string | null | undefined;
|
|
3105
|
+
placeholder?: string;
|
|
3106
|
+
min?: number;
|
|
3107
|
+
max?: number;
|
|
3108
|
+
step?: number;
|
|
3109
|
+
};
|
|
3110
|
+
}) | ({
|
|
3111
|
+
type: WidgetTypes.RichText;
|
|
3112
|
+
} & {
|
|
3113
|
+
fieldset?: string | null | undefined;
|
|
3114
|
+
config?: {
|
|
3115
|
+
label?: string | null | undefined;
|
|
3116
|
+
placeholder?: string;
|
|
3117
|
+
useAsTitle?: boolean;
|
|
3118
|
+
single?: string;
|
|
3119
|
+
multi?: string;
|
|
3120
|
+
imageConstraint?: {
|
|
3121
|
+
width?: number | null;
|
|
3122
|
+
height?: number | null;
|
|
3123
|
+
};
|
|
3124
|
+
labels?: string[];
|
|
3125
|
+
allowTargetBlank?: boolean;
|
|
3126
|
+
};
|
|
3127
|
+
}) | ({
|
|
3128
|
+
type: WidgetTypes.Select;
|
|
3129
|
+
} & {
|
|
3130
|
+
fieldset?: string | null | undefined;
|
|
3131
|
+
config?: {
|
|
3132
|
+
label?: string | null | undefined;
|
|
3133
|
+
placeholder?: string;
|
|
3134
|
+
default_value?: string;
|
|
3135
|
+
options?: string[];
|
|
3136
|
+
};
|
|
3137
|
+
}) | ({
|
|
3138
|
+
type: WidgetTypes.Separator;
|
|
3139
|
+
} & {
|
|
3140
|
+
config?: {
|
|
3141
|
+
label?: string | null | undefined;
|
|
3142
|
+
};
|
|
3143
|
+
}) | ({
|
|
3144
|
+
type: WidgetTypes.Text;
|
|
3145
|
+
} & {
|
|
3146
|
+
fieldset?: string | null | undefined;
|
|
3147
|
+
config?: {
|
|
3148
|
+
label?: string | null | undefined;
|
|
3149
|
+
useAsTitle?: boolean;
|
|
3150
|
+
placeholder?: string;
|
|
3151
|
+
};
|
|
3152
|
+
}) | ({
|
|
3153
|
+
type: WidgetTypes.Timestamp;
|
|
3154
|
+
} & {
|
|
3155
|
+
fieldset?: string | null | undefined;
|
|
3156
|
+
config?: {
|
|
3157
|
+
label?: string | null | undefined;
|
|
3158
|
+
placeholder?: string;
|
|
3159
|
+
default?: string;
|
|
3160
|
+
};
|
|
3161
|
+
});
|
|
3462
3162
|
};
|
|
3463
|
-
|
|
3464
|
-
allowTargetBlank?: boolean;
|
|
3465
|
-
};
|
|
3466
|
-
}) | ({
|
|
3467
|
-
type: WidgetTypes.Select;
|
|
3468
|
-
} & {
|
|
3469
|
-
fieldset?: string | null | undefined;
|
|
3470
|
-
config?: {
|
|
3471
|
-
label?: string | null | undefined;
|
|
3472
|
-
placeholder?: string;
|
|
3473
|
-
default_value?: string;
|
|
3474
|
-
options?: string[];
|
|
3475
|
-
};
|
|
3476
|
-
}) | ({
|
|
3477
|
-
type: WidgetTypes.Separator;
|
|
3478
|
-
} & {
|
|
3479
|
-
config?: {
|
|
3480
|
-
label?: string | null | undefined;
|
|
3481
|
-
};
|
|
3482
|
-
}) | ({
|
|
3483
|
-
type: WidgetTypes.Text;
|
|
3484
|
-
} & {
|
|
3485
|
-
fieldset?: string | null | undefined;
|
|
3486
|
-
config?: {
|
|
3487
|
-
label?: string | null | undefined;
|
|
3488
|
-
useAsTitle?: boolean;
|
|
3489
|
-
placeholder?: string;
|
|
3490
|
-
};
|
|
3491
|
-
}) | ({
|
|
3492
|
-
type: WidgetTypes.Timestamp;
|
|
3493
|
-
} & {
|
|
3494
|
-
fieldset?: string | null | undefined;
|
|
3495
|
-
config?: {
|
|
3496
|
-
label?: string | null | undefined;
|
|
3497
|
-
placeholder?: string;
|
|
3498
|
-
default?: string;
|
|
3499
|
-
};
|
|
3500
|
-
}) | ({
|
|
3501
|
-
type: WidgetTypes.Group;
|
|
3502
|
-
} & {
|
|
3503
|
-
fieldset?: string | null | undefined;
|
|
3504
|
-
icon?: string;
|
|
3505
|
-
description?: string;
|
|
3506
|
-
config?: {
|
|
3507
|
-
label?: string | null | undefined;
|
|
3508
|
-
repeat?: boolean;
|
|
3509
|
-
fields?: {
|
|
3163
|
+
items?: {
|
|
3510
3164
|
[x: string]: ({
|
|
3511
3165
|
type: WidgetTypes.BooleanField;
|
|
3512
3166
|
} & {
|
|
@@ -3584,7 +3238,7 @@ export declare const DynamicSlices: t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
|
3584
3238
|
label?: string | null | undefined;
|
|
3585
3239
|
useAsTitle?: boolean;
|
|
3586
3240
|
placeholder?: string;
|
|
3587
|
-
select?: "
|
|
3241
|
+
select?: "web" | "media" | "document" | null;
|
|
3588
3242
|
customtypes?: string[];
|
|
3589
3243
|
masks?: string[];
|
|
3590
3244
|
tags?: string[];
|
|
@@ -3665,6 +3319,183 @@ export declare const DynamicSlices: t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
|
3665
3319
|
};
|
|
3666
3320
|
});
|
|
3667
3321
|
};
|
|
3322
|
+
})[];
|
|
3323
|
+
} & {
|
|
3324
|
+
description?: string;
|
|
3325
|
+
});
|
|
3326
|
+
};
|
|
3327
|
+
}, unknown, unknown>;
|
|
3328
|
+
}>]>>;
|
|
3329
|
+
export declare type StaticSlices = t.TypeOf<typeof StaticSlices>;
|
|
3330
|
+
export declare const DynamicSlices: t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
3331
|
+
type: t.UnionC<[t.LiteralC<WidgetTypes.Slices>, t.LiteralC<WidgetTypes.LegacySlices>]>;
|
|
3332
|
+
}>, t.PartialC<{
|
|
3333
|
+
fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
3334
|
+
config: t.Type<{
|
|
3335
|
+
label?: string | null | undefined;
|
|
3336
|
+
labels?: {
|
|
3337
|
+
[x: string]: ({
|
|
3338
|
+
name: string;
|
|
3339
|
+
} & {
|
|
3340
|
+
display?: string;
|
|
3341
|
+
})[];
|
|
3342
|
+
} | null;
|
|
3343
|
+
choices?: {
|
|
3344
|
+
[x: string]: ({
|
|
3345
|
+
type: WidgetTypes.BooleanField;
|
|
3346
|
+
} & {
|
|
3347
|
+
config?: {
|
|
3348
|
+
label?: string | null | undefined;
|
|
3349
|
+
default_value?: boolean;
|
|
3350
|
+
placeholder_true?: string;
|
|
3351
|
+
placeholder_false?: string;
|
|
3352
|
+
};
|
|
3353
|
+
}) | ({
|
|
3354
|
+
type: WidgetTypes.Color;
|
|
3355
|
+
} & {
|
|
3356
|
+
fieldset?: string | null | undefined;
|
|
3357
|
+
config?: {
|
|
3358
|
+
label?: string | null | undefined;
|
|
3359
|
+
placeholder?: string;
|
|
3360
|
+
};
|
|
3361
|
+
}) | ({
|
|
3362
|
+
type: WidgetTypes.Date;
|
|
3363
|
+
} & {
|
|
3364
|
+
fieldset?: string | null | undefined;
|
|
3365
|
+
config?: {
|
|
3366
|
+
label?: string | null | undefined;
|
|
3367
|
+
placeholder?: string;
|
|
3368
|
+
default?: string;
|
|
3369
|
+
};
|
|
3370
|
+
}) | ({
|
|
3371
|
+
type: WidgetTypes.Embed;
|
|
3372
|
+
} & {
|
|
3373
|
+
fieldset?: string | null | undefined;
|
|
3374
|
+
config?: {
|
|
3375
|
+
label?: string | null | undefined;
|
|
3376
|
+
placeholder?: string;
|
|
3377
|
+
useAsTitle?: boolean;
|
|
3378
|
+
};
|
|
3379
|
+
}) | ({
|
|
3380
|
+
type: WidgetTypes.GeoPoint;
|
|
3381
|
+
} & {
|
|
3382
|
+
fieldset?: string | null | undefined;
|
|
3383
|
+
config?: {
|
|
3384
|
+
label?: string | null | undefined;
|
|
3385
|
+
};
|
|
3386
|
+
}) | ({
|
|
3387
|
+
type: WidgetTypes.Image;
|
|
3388
|
+
} & {
|
|
3389
|
+
fieldset?: string | null | undefined;
|
|
3390
|
+
config?: {
|
|
3391
|
+
label?: string | null | undefined;
|
|
3392
|
+
placeholder?: string;
|
|
3393
|
+
constraint?: {
|
|
3394
|
+
width?: number | null;
|
|
3395
|
+
height?: number | null;
|
|
3396
|
+
};
|
|
3397
|
+
thumbnails?: ({
|
|
3398
|
+
name: string;
|
|
3399
|
+
} & {
|
|
3400
|
+
width?: number | null;
|
|
3401
|
+
height?: number | null;
|
|
3402
|
+
})[];
|
|
3403
|
+
};
|
|
3404
|
+
}) | ({
|
|
3405
|
+
type: WidgetTypes.IntegrationField;
|
|
3406
|
+
} & {
|
|
3407
|
+
fieldset?: string | null | undefined;
|
|
3408
|
+
config?: {
|
|
3409
|
+
label?: string | null | undefined;
|
|
3410
|
+
placeholder?: string;
|
|
3411
|
+
catalog?: string;
|
|
3412
|
+
};
|
|
3413
|
+
}) | ({
|
|
3414
|
+
type: WidgetTypes.Link;
|
|
3415
|
+
} & {
|
|
3416
|
+
fieldset?: string | null | undefined;
|
|
3417
|
+
config?: {
|
|
3418
|
+
label?: string | null | undefined;
|
|
3419
|
+
useAsTitle?: boolean;
|
|
3420
|
+
placeholder?: string;
|
|
3421
|
+
select?: "web" | "media" | "document" | null;
|
|
3422
|
+
customtypes?: string[];
|
|
3423
|
+
masks?: string[];
|
|
3424
|
+
tags?: string[];
|
|
3425
|
+
allowTargetBlank?: boolean;
|
|
3426
|
+
};
|
|
3427
|
+
}) | ({
|
|
3428
|
+
type: WidgetTypes.Number;
|
|
3429
|
+
} & {
|
|
3430
|
+
fieldset?: string | null | undefined;
|
|
3431
|
+
config?: {
|
|
3432
|
+
label?: string | null | undefined;
|
|
3433
|
+
placeholder?: string;
|
|
3434
|
+
min?: number;
|
|
3435
|
+
max?: number;
|
|
3436
|
+
step?: number;
|
|
3437
|
+
};
|
|
3438
|
+
}) | ({
|
|
3439
|
+
type: WidgetTypes.Range;
|
|
3440
|
+
} & {
|
|
3441
|
+
fieldset?: string | null | undefined;
|
|
3442
|
+
config?: {
|
|
3443
|
+
label?: string | null | undefined;
|
|
3444
|
+
placeholder?: string;
|
|
3445
|
+
min?: number;
|
|
3446
|
+
max?: number;
|
|
3447
|
+
step?: number;
|
|
3448
|
+
};
|
|
3449
|
+
}) | ({
|
|
3450
|
+
type: WidgetTypes.RichText;
|
|
3451
|
+
} & {
|
|
3452
|
+
fieldset?: string | null | undefined;
|
|
3453
|
+
config?: {
|
|
3454
|
+
label?: string | null | undefined;
|
|
3455
|
+
placeholder?: string;
|
|
3456
|
+
useAsTitle?: boolean;
|
|
3457
|
+
single?: string;
|
|
3458
|
+
multi?: string;
|
|
3459
|
+
imageConstraint?: {
|
|
3460
|
+
width?: number | null;
|
|
3461
|
+
height?: number | null;
|
|
3462
|
+
};
|
|
3463
|
+
labels?: string[];
|
|
3464
|
+
allowTargetBlank?: boolean;
|
|
3465
|
+
};
|
|
3466
|
+
}) | ({
|
|
3467
|
+
type: WidgetTypes.Select;
|
|
3468
|
+
} & {
|
|
3469
|
+
fieldset?: string | null | undefined;
|
|
3470
|
+
config?: {
|
|
3471
|
+
label?: string | null | undefined;
|
|
3472
|
+
placeholder?: string;
|
|
3473
|
+
default_value?: string;
|
|
3474
|
+
options?: string[];
|
|
3475
|
+
};
|
|
3476
|
+
}) | ({
|
|
3477
|
+
type: WidgetTypes.Separator;
|
|
3478
|
+
} & {
|
|
3479
|
+
config?: {
|
|
3480
|
+
label?: string | null | undefined;
|
|
3481
|
+
};
|
|
3482
|
+
}) | ({
|
|
3483
|
+
type: WidgetTypes.Text;
|
|
3484
|
+
} & {
|
|
3485
|
+
fieldset?: string | null | undefined;
|
|
3486
|
+
config?: {
|
|
3487
|
+
label?: string | null | undefined;
|
|
3488
|
+
useAsTitle?: boolean;
|
|
3489
|
+
placeholder?: string;
|
|
3490
|
+
};
|
|
3491
|
+
}) | ({
|
|
3492
|
+
type: WidgetTypes.Timestamp;
|
|
3493
|
+
} & {
|
|
3494
|
+
fieldset?: string | null | undefined;
|
|
3495
|
+
config?: {
|
|
3496
|
+
label?: string | null | undefined;
|
|
3497
|
+
placeholder?: string;
|
|
3498
|
+
default?: string;
|
|
3668
3499
|
};
|
|
3669
3500
|
}) | ({
|
|
3670
3501
|
type: SlicesTypes.Slice;
|
|
@@ -3751,7 +3582,7 @@ export declare const DynamicSlices: t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
|
3751
3582
|
label?: string | null | undefined;
|
|
3752
3583
|
useAsTitle?: boolean;
|
|
3753
3584
|
placeholder?: string;
|
|
3754
|
-
select?: "
|
|
3585
|
+
select?: "web" | "media" | "document" | null;
|
|
3755
3586
|
customtypes?: string[];
|
|
3756
3587
|
masks?: string[];
|
|
3757
3588
|
tags?: string[];
|
|
@@ -3910,7 +3741,7 @@ export declare const DynamicSlices: t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
|
3910
3741
|
label?: string | null | undefined;
|
|
3911
3742
|
useAsTitle?: boolean;
|
|
3912
3743
|
placeholder?: string;
|
|
3913
|
-
select?: "
|
|
3744
|
+
select?: "web" | "media" | "document" | null;
|
|
3914
3745
|
customtypes?: string[];
|
|
3915
3746
|
masks?: string[];
|
|
3916
3747
|
tags?: string[];
|
|
@@ -3994,6 +3825,175 @@ export declare const DynamicSlices: t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
|
3994
3825
|
config?: {
|
|
3995
3826
|
label?: string | null | undefined;
|
|
3996
3827
|
};
|
|
3828
|
+
}) | ({
|
|
3829
|
+
type: WidgetTypes.Group;
|
|
3830
|
+
} & {
|
|
3831
|
+
fieldset?: string | null | undefined;
|
|
3832
|
+
icon?: string;
|
|
3833
|
+
description?: string;
|
|
3834
|
+
config?: {
|
|
3835
|
+
label?: string | null | undefined;
|
|
3836
|
+
repeat?: boolean;
|
|
3837
|
+
fields?: {
|
|
3838
|
+
[x: string]: ({
|
|
3839
|
+
type: WidgetTypes.BooleanField;
|
|
3840
|
+
} & {
|
|
3841
|
+
config?: {
|
|
3842
|
+
label?: string | null | undefined;
|
|
3843
|
+
default_value?: boolean;
|
|
3844
|
+
placeholder_true?: string;
|
|
3845
|
+
placeholder_false?: string;
|
|
3846
|
+
};
|
|
3847
|
+
}) | ({
|
|
3848
|
+
type: WidgetTypes.Color;
|
|
3849
|
+
} & {
|
|
3850
|
+
fieldset?: string | null | undefined;
|
|
3851
|
+
config?: {
|
|
3852
|
+
label?: string | null | undefined;
|
|
3853
|
+
placeholder?: string;
|
|
3854
|
+
};
|
|
3855
|
+
}) | ({
|
|
3856
|
+
type: WidgetTypes.Date;
|
|
3857
|
+
} & {
|
|
3858
|
+
fieldset?: string | null | undefined;
|
|
3859
|
+
config?: {
|
|
3860
|
+
label?: string | null | undefined;
|
|
3861
|
+
placeholder?: string;
|
|
3862
|
+
default?: string;
|
|
3863
|
+
};
|
|
3864
|
+
}) | ({
|
|
3865
|
+
type: WidgetTypes.Embed;
|
|
3866
|
+
} & {
|
|
3867
|
+
fieldset?: string | null | undefined;
|
|
3868
|
+
config?: {
|
|
3869
|
+
label?: string | null | undefined;
|
|
3870
|
+
placeholder?: string;
|
|
3871
|
+
useAsTitle?: boolean;
|
|
3872
|
+
};
|
|
3873
|
+
}) | ({
|
|
3874
|
+
type: WidgetTypes.GeoPoint;
|
|
3875
|
+
} & {
|
|
3876
|
+
fieldset?: string | null | undefined;
|
|
3877
|
+
config?: {
|
|
3878
|
+
label?: string | null | undefined;
|
|
3879
|
+
};
|
|
3880
|
+
}) | ({
|
|
3881
|
+
type: WidgetTypes.Image;
|
|
3882
|
+
} & {
|
|
3883
|
+
fieldset?: string | null | undefined;
|
|
3884
|
+
config?: {
|
|
3885
|
+
label?: string | null | undefined;
|
|
3886
|
+
placeholder?: string;
|
|
3887
|
+
constraint?: {
|
|
3888
|
+
width?: number | null;
|
|
3889
|
+
height?: number | null;
|
|
3890
|
+
};
|
|
3891
|
+
thumbnails?: ({
|
|
3892
|
+
name: string;
|
|
3893
|
+
} & {
|
|
3894
|
+
width?: number | null;
|
|
3895
|
+
height?: number | null;
|
|
3896
|
+
})[];
|
|
3897
|
+
};
|
|
3898
|
+
}) | ({
|
|
3899
|
+
type: WidgetTypes.IntegrationField;
|
|
3900
|
+
} & {
|
|
3901
|
+
fieldset?: string | null | undefined;
|
|
3902
|
+
config?: {
|
|
3903
|
+
label?: string | null | undefined;
|
|
3904
|
+
placeholder?: string;
|
|
3905
|
+
catalog?: string;
|
|
3906
|
+
};
|
|
3907
|
+
}) | ({
|
|
3908
|
+
type: WidgetTypes.Link;
|
|
3909
|
+
} & {
|
|
3910
|
+
fieldset?: string | null | undefined;
|
|
3911
|
+
config?: {
|
|
3912
|
+
label?: string | null | undefined;
|
|
3913
|
+
useAsTitle?: boolean;
|
|
3914
|
+
placeholder?: string;
|
|
3915
|
+
select?: "web" | "media" | "document" | null;
|
|
3916
|
+
customtypes?: string[];
|
|
3917
|
+
masks?: string[];
|
|
3918
|
+
tags?: string[];
|
|
3919
|
+
allowTargetBlank?: boolean;
|
|
3920
|
+
};
|
|
3921
|
+
}) | ({
|
|
3922
|
+
type: WidgetTypes.Number;
|
|
3923
|
+
} & {
|
|
3924
|
+
fieldset?: string | null | undefined;
|
|
3925
|
+
config?: {
|
|
3926
|
+
label?: string | null | undefined;
|
|
3927
|
+
placeholder?: string;
|
|
3928
|
+
min?: number;
|
|
3929
|
+
max?: number;
|
|
3930
|
+
step?: number;
|
|
3931
|
+
};
|
|
3932
|
+
}) | ({
|
|
3933
|
+
type: WidgetTypes.Range;
|
|
3934
|
+
} & {
|
|
3935
|
+
fieldset?: string | null | undefined;
|
|
3936
|
+
config?: {
|
|
3937
|
+
label?: string | null | undefined;
|
|
3938
|
+
placeholder?: string;
|
|
3939
|
+
min?: number;
|
|
3940
|
+
max?: number;
|
|
3941
|
+
step?: number;
|
|
3942
|
+
};
|
|
3943
|
+
}) | ({
|
|
3944
|
+
type: WidgetTypes.RichText;
|
|
3945
|
+
} & {
|
|
3946
|
+
fieldset?: string | null | undefined;
|
|
3947
|
+
config?: {
|
|
3948
|
+
label?: string | null | undefined;
|
|
3949
|
+
placeholder?: string;
|
|
3950
|
+
useAsTitle?: boolean;
|
|
3951
|
+
single?: string;
|
|
3952
|
+
multi?: string;
|
|
3953
|
+
imageConstraint?: {
|
|
3954
|
+
width?: number | null;
|
|
3955
|
+
height?: number | null;
|
|
3956
|
+
};
|
|
3957
|
+
labels?: string[];
|
|
3958
|
+
allowTargetBlank?: boolean;
|
|
3959
|
+
};
|
|
3960
|
+
}) | ({
|
|
3961
|
+
type: WidgetTypes.Select;
|
|
3962
|
+
} & {
|
|
3963
|
+
fieldset?: string | null | undefined;
|
|
3964
|
+
config?: {
|
|
3965
|
+
label?: string | null | undefined;
|
|
3966
|
+
placeholder?: string;
|
|
3967
|
+
default_value?: string;
|
|
3968
|
+
options?: string[];
|
|
3969
|
+
};
|
|
3970
|
+
}) | ({
|
|
3971
|
+
type: WidgetTypes.Separator;
|
|
3972
|
+
} & {
|
|
3973
|
+
config?: {
|
|
3974
|
+
label?: string | null | undefined;
|
|
3975
|
+
};
|
|
3976
|
+
}) | ({
|
|
3977
|
+
type: WidgetTypes.Text;
|
|
3978
|
+
} & {
|
|
3979
|
+
fieldset?: string | null | undefined;
|
|
3980
|
+
config?: {
|
|
3981
|
+
label?: string | null | undefined;
|
|
3982
|
+
useAsTitle?: boolean;
|
|
3983
|
+
placeholder?: string;
|
|
3984
|
+
};
|
|
3985
|
+
}) | ({
|
|
3986
|
+
type: WidgetTypes.Timestamp;
|
|
3987
|
+
} & {
|
|
3988
|
+
fieldset?: string | null | undefined;
|
|
3989
|
+
config?: {
|
|
3990
|
+
label?: string | null | undefined;
|
|
3991
|
+
placeholder?: string;
|
|
3992
|
+
default?: string;
|
|
3993
|
+
};
|
|
3994
|
+
});
|
|
3995
|
+
};
|
|
3996
|
+
};
|
|
3997
3997
|
}) | {
|
|
3998
3998
|
type: SlicesTypes.SharedSlice;
|
|
3999
3999
|
};
|