@prismicio/types-internal 0.3.3 → 1.0.0
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 +309 -311
- package/lib/customtypes/CustomType.js +6 -6
- package/lib/customtypes/Format.d.ts +4 -0
- package/lib/customtypes/Format.js +8 -0
- package/lib/customtypes/Section.d.ts +309 -309
- package/lib/customtypes/widgets/Group.d.ts +22 -23
- package/lib/customtypes/widgets/Group.js +2 -2
- package/lib/customtypes/widgets/UID.d.ts +1 -2
- package/lib/customtypes/widgets/UID.js +2 -2
- package/lib/customtypes/widgets/Widget.d.ts +353 -354
- package/lib/customtypes/widgets/Widget.js +3 -3
- package/lib/customtypes/widgets/WidgetTypes.d.ts +22 -22
- package/lib/customtypes/widgets/WidgetTypes.js +22 -23
- package/lib/customtypes/widgets/index.d.ts +1 -1
- package/lib/customtypes/widgets/index.js +1 -1
- package/lib/customtypes/widgets/nestable/BooleanField.d.ts +1 -2
- package/lib/customtypes/widgets/nestable/BooleanField.js +2 -2
- package/lib/customtypes/widgets/nestable/Color.d.ts +1 -2
- package/lib/customtypes/widgets/nestable/Color.js +2 -2
- package/lib/customtypes/widgets/nestable/Date.d.ts +1 -2
- package/lib/customtypes/widgets/nestable/Date.js +2 -2
- package/lib/customtypes/widgets/nestable/Embed.d.ts +1 -2
- package/lib/customtypes/widgets/nestable/Embed.js +2 -2
- package/lib/customtypes/widgets/nestable/GeoPoint.d.ts +1 -2
- package/lib/customtypes/widgets/nestable/GeoPoint.js +2 -2
- package/lib/customtypes/widgets/nestable/Image.d.ts +2 -3
- package/lib/customtypes/widgets/nestable/Image.js +3 -3
- package/lib/customtypes/widgets/nestable/IntegrationField.d.ts +1 -2
- package/lib/customtypes/widgets/nestable/IntegrationField.js +2 -2
- package/lib/customtypes/widgets/nestable/Link.d.ts +4 -5
- package/lib/customtypes/widgets/nestable/Link.js +3 -3
- package/lib/customtypes/widgets/nestable/NestableWidget.d.ts +21 -21
- package/lib/customtypes/widgets/nestable/Number.d.ts +1 -2
- package/lib/customtypes/widgets/nestable/Number.js +2 -2
- package/lib/customtypes/widgets/nestable/Range.d.ts +1 -2
- package/lib/customtypes/widgets/nestable/Range.js +2 -2
- package/lib/customtypes/widgets/nestable/RichText.d.ts +22 -22
- package/lib/customtypes/widgets/nestable/RichText.js +38 -39
- package/lib/customtypes/widgets/nestable/Select.d.ts +2 -3
- package/lib/customtypes/widgets/nestable/Select.js +3 -3
- package/lib/customtypes/widgets/nestable/Separator.d.ts +1 -2
- package/lib/customtypes/widgets/nestable/Separator.js +2 -2
- package/lib/customtypes/widgets/nestable/Text.d.ts +1 -2
- package/lib/customtypes/widgets/nestable/Text.js +2 -2
- package/lib/customtypes/widgets/nestable/Timestamp.d.ts +1 -2
- package/lib/customtypes/widgets/nestable/Timestamp.js +2 -2
- package/lib/customtypes/widgets/slices/CompositeSlice.d.ts +43 -44
- package/lib/customtypes/widgets/slices/CompositeSlice.js +2 -2
- package/lib/customtypes/widgets/slices/LegacySlice.d.ts +43 -43
- package/lib/customtypes/widgets/slices/SharedSlice.d.ts +86 -87
- package/lib/customtypes/widgets/slices/SharedSlice.js +3 -3
- package/lib/customtypes/widgets/slices/SharedSliceRef.d.ts +1 -2
- package/lib/customtypes/widgets/slices/SharedSliceRef.js +2 -2
- package/lib/customtypes/widgets/slices/Slices.d.ts +529 -531
- package/lib/customtypes/widgets/slices/Slices.js +6 -6
- package/lib/customtypes/widgets/slices/SlicesTypes.d.ts +5 -5
- package/lib/customtypes/widgets/slices/SlicesTypes.js +5 -6
- package/lib/customtypes/widgets/slices/index.d.ts +1 -1
- package/lib/customtypes/widgets/slices/index.js +1 -1
- package/lib/documents/widgets/index.d.ts +1 -0
- package/lib/documents/widgets/nestable/Link/index.d.ts +1 -0
- package/lib/documents/widgets/nestable/StructuredTextContent/Block.d.ts +16 -17
- package/lib/documents/widgets/nestable/StructuredTextContent/Block.js +1 -1
- package/package.json +1 -1
- package/src/customtypes/CustomType.ts +2 -2
- package/src/customtypes/widgets/Group.ts +1 -1
- package/src/customtypes/widgets/UID.ts +1 -1
- package/src/customtypes/widgets/Widget.ts +1 -1
- package/src/customtypes/widgets/WidgetTypes.ts +22 -22
- package/src/customtypes/widgets/index.ts +1 -1
- package/src/customtypes/widgets/nestable/BooleanField.ts +1 -1
- package/src/customtypes/widgets/nestable/Color.ts +1 -1
- package/src/customtypes/widgets/nestable/Date.ts +1 -1
- package/src/customtypes/widgets/nestable/Embed.ts +1 -1
- package/src/customtypes/widgets/nestable/GeoPoint.ts +1 -1
- package/src/customtypes/widgets/nestable/Image.ts +2 -2
- package/src/customtypes/widgets/nestable/IntegrationField.ts +1 -1
- package/src/customtypes/widgets/nestable/Link.ts +4 -4
- package/src/customtypes/widgets/nestable/Number.ts +1 -1
- package/src/customtypes/widgets/nestable/Range.ts +1 -1
- package/src/customtypes/widgets/nestable/RichText.ts +37 -35
- package/src/customtypes/widgets/nestable/Select.ts +4 -2
- package/src/customtypes/widgets/nestable/Separator.ts +1 -1
- package/src/customtypes/widgets/nestable/Text.ts +1 -1
- package/src/customtypes/widgets/nestable/Timestamp.ts +1 -1
- package/src/customtypes/widgets/slices/CompositeSlice.ts +1 -1
- package/src/customtypes/widgets/slices/SharedSlice.ts +2 -2
- package/src/customtypes/widgets/slices/SharedSliceRef.ts +1 -1
- package/src/customtypes/widgets/slices/Slices.ts +3 -3
- package/src/customtypes/widgets/slices/SlicesTypes.ts +5 -5
- package/src/customtypes/widgets/slices/index.ts +1 -1
- package/src/documents/widgets/index.ts +1 -5
- package/src/documents/widgets/nestable/Link/index.ts +2 -0
- package/src/documents/widgets/nestable/StructuredTextContent/Block.ts +1 -1
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import * as t from "io-ts";
|
|
2
|
-
import SlicesTypes from "./SlicesTypes";
|
|
3
2
|
export declare const Variation: t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
4
3
|
id: t.StringC;
|
|
5
4
|
name: t.StringC;
|
|
@@ -10,7 +9,7 @@ export declare const Variation: t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
|
10
9
|
}>, t.PartialC<{
|
|
11
10
|
display: t.StringC;
|
|
12
11
|
primary: t.RecordC<t.StringC, t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
13
|
-
type: t.LiteralC<
|
|
12
|
+
type: t.LiteralC<"Color">;
|
|
14
13
|
}>, t.PartialC<{
|
|
15
14
|
fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
16
15
|
config: t.ExactC<t.PartialC<{
|
|
@@ -18,7 +17,7 @@ export declare const Variation: t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
|
18
17
|
placeholder: t.StringC;
|
|
19
18
|
}>>;
|
|
20
19
|
}>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
21
|
-
type: t.LiteralC<
|
|
20
|
+
type: t.LiteralC<"Boolean">;
|
|
22
21
|
}>, t.PartialC<{
|
|
23
22
|
config: t.ExactC<t.PartialC<{
|
|
24
23
|
label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
@@ -27,7 +26,7 @@ export declare const Variation: t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
|
27
26
|
placeholder_false: t.StringC;
|
|
28
27
|
}>>;
|
|
29
28
|
}>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
30
|
-
type: t.LiteralC<
|
|
29
|
+
type: t.LiteralC<"Embed">;
|
|
31
30
|
}>, t.PartialC<{
|
|
32
31
|
fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
33
32
|
config: t.ExactC<t.PartialC<{
|
|
@@ -36,14 +35,14 @@ export declare const Variation: t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
|
36
35
|
useAsTitle: t.BooleanC;
|
|
37
36
|
}>>;
|
|
38
37
|
}>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
39
|
-
type: t.LiteralC<
|
|
38
|
+
type: t.LiteralC<"GeoPoint">;
|
|
40
39
|
}>, t.PartialC<{
|
|
41
40
|
fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
42
41
|
config: t.ExactC<t.PartialC<{
|
|
43
42
|
label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
44
43
|
}>>;
|
|
45
44
|
}>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
46
|
-
type: t.LiteralC<
|
|
45
|
+
type: t.LiteralC<"Date">;
|
|
47
46
|
}>, t.PartialC<{
|
|
48
47
|
fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
49
48
|
config: t.ExactC<t.PartialC<{
|
|
@@ -52,7 +51,7 @@ export declare const Variation: t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
|
52
51
|
default: t.StringC;
|
|
53
52
|
}>>;
|
|
54
53
|
}>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
55
|
-
type: t.LiteralC<
|
|
54
|
+
type: t.LiteralC<"Number">;
|
|
56
55
|
}>, t.PartialC<{
|
|
57
56
|
fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
58
57
|
config: t.ExactC<t.PartialC<{
|
|
@@ -63,7 +62,7 @@ export declare const Variation: t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
|
63
62
|
step: t.UnionC<[t.NumberC, import("io-ts-types").NumberFromStringC]>;
|
|
64
63
|
}>>;
|
|
65
64
|
}>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
66
|
-
type: t.LiteralC<
|
|
65
|
+
type: t.LiteralC<"Range">;
|
|
67
66
|
}>, t.PartialC<{
|
|
68
67
|
fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
69
68
|
config: t.ExactC<t.PartialC<{
|
|
@@ -74,7 +73,7 @@ export declare const Variation: t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
|
74
73
|
step: t.UnionC<[t.NumberC, import("io-ts-types").NumberFromStringC]>;
|
|
75
74
|
}>>;
|
|
76
75
|
}>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
77
|
-
type: t.LiteralC<
|
|
76
|
+
type: t.LiteralC<"StructuredText">;
|
|
78
77
|
}>, t.PartialC<{
|
|
79
78
|
fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
80
79
|
config: t.ExactC<t.PartialC<{
|
|
@@ -87,27 +86,27 @@ export declare const Variation: t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
|
87
86
|
width: t.Type<number | null, unknown, unknown>;
|
|
88
87
|
height: t.Type<number | null, unknown, unknown>;
|
|
89
88
|
}>;
|
|
90
|
-
labels: t.Type<string[], object, unknown>;
|
|
89
|
+
labels: t.Type<readonly string[], object, unknown>;
|
|
91
90
|
allowTargetBlank: t.BooleanC;
|
|
92
91
|
}>>;
|
|
93
92
|
}>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
94
|
-
type: t.LiteralC<
|
|
93
|
+
type: t.LiteralC<"Select">;
|
|
95
94
|
}>, t.PartialC<{
|
|
96
95
|
fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
97
96
|
config: t.ExactC<t.PartialC<{
|
|
98
97
|
label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
99
98
|
placeholder: t.StringC;
|
|
100
99
|
default_value: t.StringC;
|
|
101
|
-
options: t.
|
|
100
|
+
options: t.ReadonlyArrayC<t.UnionC<[t.StringC, t.Type<string, string, unknown>, t.Type<string, string, unknown>]>>;
|
|
102
101
|
}>>;
|
|
103
102
|
}>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
104
|
-
type: t.LiteralC<
|
|
103
|
+
type: t.LiteralC<"Separator">;
|
|
105
104
|
}>, t.PartialC<{
|
|
106
105
|
config: t.ExactC<t.PartialC<{
|
|
107
106
|
label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
108
107
|
}>>;
|
|
109
108
|
}>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
110
|
-
type: t.LiteralC<
|
|
109
|
+
type: t.LiteralC<"Text">;
|
|
111
110
|
}>, t.PartialC<{
|
|
112
111
|
fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
113
112
|
config: t.ExactC<t.PartialC<{
|
|
@@ -116,7 +115,7 @@ export declare const Variation: t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
|
116
115
|
placeholder: t.StringC;
|
|
117
116
|
}>>;
|
|
118
117
|
}>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
119
|
-
type: t.LiteralC<
|
|
118
|
+
type: t.LiteralC<"Timestamp">;
|
|
120
119
|
}>, t.PartialC<{
|
|
121
120
|
fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
122
121
|
config: t.ExactC<t.PartialC<{
|
|
@@ -125,7 +124,7 @@ export declare const Variation: t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
|
125
124
|
default: t.StringC;
|
|
126
125
|
}>>;
|
|
127
126
|
}>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
128
|
-
type: t.LiteralC<
|
|
127
|
+
type: t.LiteralC<"Link">;
|
|
129
128
|
}>, t.PartialC<{
|
|
130
129
|
fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
131
130
|
config: t.ExactC<t.PartialC<{
|
|
@@ -133,13 +132,13 @@ export declare const Variation: t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
|
133
132
|
useAsTitle: t.BooleanC;
|
|
134
133
|
placeholder: t.StringC;
|
|
135
134
|
select: t.UnionC<[t.LiteralC<"media">, t.LiteralC<"document">, t.LiteralC<"web">, t.NullC]>;
|
|
136
|
-
customtypes: t.
|
|
137
|
-
masks: t.Type<string[], object, unknown>;
|
|
138
|
-
tags: t.Type<string[], object, unknown>;
|
|
135
|
+
customtypes: t.ReadonlyArrayC<t.StringC>;
|
|
136
|
+
masks: t.Type<readonly string[], object, unknown>;
|
|
137
|
+
tags: t.Type<readonly string[], object, unknown>;
|
|
139
138
|
allowTargetBlank: t.BooleanC;
|
|
140
139
|
}>>;
|
|
141
140
|
}>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
142
|
-
type: t.LiteralC<
|
|
141
|
+
type: t.LiteralC<"Image">;
|
|
143
142
|
}>, t.PartialC<{
|
|
144
143
|
fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
145
144
|
config: t.ExactC<t.PartialC<{
|
|
@@ -149,7 +148,7 @@ export declare const Variation: t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
|
149
148
|
width: t.Type<number | null, unknown, unknown>;
|
|
150
149
|
height: t.Type<number | null, unknown, unknown>;
|
|
151
150
|
}>;
|
|
152
|
-
thumbnails: t.
|
|
151
|
+
thumbnails: t.ReadonlyArrayC<t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
153
152
|
name: t.StringC;
|
|
154
153
|
}>, t.PartialC<{
|
|
155
154
|
width: t.Type<number | null, unknown, unknown>;
|
|
@@ -157,7 +156,7 @@ export declare const Variation: t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
|
157
156
|
}>]>>>;
|
|
158
157
|
}>>;
|
|
159
158
|
}>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
160
|
-
type: t.LiteralC<
|
|
159
|
+
type: t.LiteralC<"IntegrationFields">;
|
|
161
160
|
}>, t.PartialC<{
|
|
162
161
|
fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
163
162
|
config: t.ExactC<t.PartialC<{
|
|
@@ -167,7 +166,7 @@ export declare const Variation: t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
|
167
166
|
}>>;
|
|
168
167
|
}>]>>]>>;
|
|
169
168
|
items: t.RecordC<t.StringC, t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
170
|
-
type: t.LiteralC<
|
|
169
|
+
type: t.LiteralC<"Color">;
|
|
171
170
|
}>, t.PartialC<{
|
|
172
171
|
fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
173
172
|
config: t.ExactC<t.PartialC<{
|
|
@@ -175,7 +174,7 @@ export declare const Variation: t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
|
175
174
|
placeholder: t.StringC;
|
|
176
175
|
}>>;
|
|
177
176
|
}>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
178
|
-
type: t.LiteralC<
|
|
177
|
+
type: t.LiteralC<"Boolean">;
|
|
179
178
|
}>, t.PartialC<{
|
|
180
179
|
config: t.ExactC<t.PartialC<{
|
|
181
180
|
label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
@@ -184,7 +183,7 @@ export declare const Variation: t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
|
184
183
|
placeholder_false: t.StringC;
|
|
185
184
|
}>>;
|
|
186
185
|
}>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
187
|
-
type: t.LiteralC<
|
|
186
|
+
type: t.LiteralC<"Embed">;
|
|
188
187
|
}>, t.PartialC<{
|
|
189
188
|
fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
190
189
|
config: t.ExactC<t.PartialC<{
|
|
@@ -193,14 +192,14 @@ export declare const Variation: t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
|
193
192
|
useAsTitle: t.BooleanC;
|
|
194
193
|
}>>;
|
|
195
194
|
}>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
196
|
-
type: t.LiteralC<
|
|
195
|
+
type: t.LiteralC<"GeoPoint">;
|
|
197
196
|
}>, t.PartialC<{
|
|
198
197
|
fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
199
198
|
config: t.ExactC<t.PartialC<{
|
|
200
199
|
label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
201
200
|
}>>;
|
|
202
201
|
}>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
203
|
-
type: t.LiteralC<
|
|
202
|
+
type: t.LiteralC<"Date">;
|
|
204
203
|
}>, t.PartialC<{
|
|
205
204
|
fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
206
205
|
config: t.ExactC<t.PartialC<{
|
|
@@ -209,7 +208,7 @@ export declare const Variation: t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
|
209
208
|
default: t.StringC;
|
|
210
209
|
}>>;
|
|
211
210
|
}>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
212
|
-
type: t.LiteralC<
|
|
211
|
+
type: t.LiteralC<"Number">;
|
|
213
212
|
}>, t.PartialC<{
|
|
214
213
|
fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
215
214
|
config: t.ExactC<t.PartialC<{
|
|
@@ -220,7 +219,7 @@ export declare const Variation: t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
|
220
219
|
step: t.UnionC<[t.NumberC, import("io-ts-types").NumberFromStringC]>;
|
|
221
220
|
}>>;
|
|
222
221
|
}>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
223
|
-
type: t.LiteralC<
|
|
222
|
+
type: t.LiteralC<"Range">;
|
|
224
223
|
}>, t.PartialC<{
|
|
225
224
|
fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
226
225
|
config: t.ExactC<t.PartialC<{
|
|
@@ -231,7 +230,7 @@ export declare const Variation: t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
|
231
230
|
step: t.UnionC<[t.NumberC, import("io-ts-types").NumberFromStringC]>;
|
|
232
231
|
}>>;
|
|
233
232
|
}>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
234
|
-
type: t.LiteralC<
|
|
233
|
+
type: t.LiteralC<"StructuredText">;
|
|
235
234
|
}>, t.PartialC<{
|
|
236
235
|
fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
237
236
|
config: t.ExactC<t.PartialC<{
|
|
@@ -244,27 +243,27 @@ export declare const Variation: t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
|
244
243
|
width: t.Type<number | null, unknown, unknown>;
|
|
245
244
|
height: t.Type<number | null, unknown, unknown>;
|
|
246
245
|
}>;
|
|
247
|
-
labels: t.Type<string[], object, unknown>;
|
|
246
|
+
labels: t.Type<readonly string[], object, unknown>;
|
|
248
247
|
allowTargetBlank: t.BooleanC;
|
|
249
248
|
}>>;
|
|
250
249
|
}>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
251
|
-
type: t.LiteralC<
|
|
250
|
+
type: t.LiteralC<"Select">;
|
|
252
251
|
}>, t.PartialC<{
|
|
253
252
|
fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
254
253
|
config: t.ExactC<t.PartialC<{
|
|
255
254
|
label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
256
255
|
placeholder: t.StringC;
|
|
257
256
|
default_value: t.StringC;
|
|
258
|
-
options: t.
|
|
257
|
+
options: t.ReadonlyArrayC<t.UnionC<[t.StringC, t.Type<string, string, unknown>, t.Type<string, string, unknown>]>>;
|
|
259
258
|
}>>;
|
|
260
259
|
}>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
261
|
-
type: t.LiteralC<
|
|
260
|
+
type: t.LiteralC<"Separator">;
|
|
262
261
|
}>, t.PartialC<{
|
|
263
262
|
config: t.ExactC<t.PartialC<{
|
|
264
263
|
label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
265
264
|
}>>;
|
|
266
265
|
}>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
267
|
-
type: t.LiteralC<
|
|
266
|
+
type: t.LiteralC<"Text">;
|
|
268
267
|
}>, t.PartialC<{
|
|
269
268
|
fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
270
269
|
config: t.ExactC<t.PartialC<{
|
|
@@ -273,7 +272,7 @@ export declare const Variation: t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
|
273
272
|
placeholder: t.StringC;
|
|
274
273
|
}>>;
|
|
275
274
|
}>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
276
|
-
type: t.LiteralC<
|
|
275
|
+
type: t.LiteralC<"Timestamp">;
|
|
277
276
|
}>, t.PartialC<{
|
|
278
277
|
fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
279
278
|
config: t.ExactC<t.PartialC<{
|
|
@@ -282,7 +281,7 @@ export declare const Variation: t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
|
282
281
|
default: t.StringC;
|
|
283
282
|
}>>;
|
|
284
283
|
}>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
285
|
-
type: t.LiteralC<
|
|
284
|
+
type: t.LiteralC<"Link">;
|
|
286
285
|
}>, t.PartialC<{
|
|
287
286
|
fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
288
287
|
config: t.ExactC<t.PartialC<{
|
|
@@ -290,13 +289,13 @@ export declare const Variation: t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
|
290
289
|
useAsTitle: t.BooleanC;
|
|
291
290
|
placeholder: t.StringC;
|
|
292
291
|
select: t.UnionC<[t.LiteralC<"media">, t.LiteralC<"document">, t.LiteralC<"web">, t.NullC]>;
|
|
293
|
-
customtypes: t.
|
|
294
|
-
masks: t.Type<string[], object, unknown>;
|
|
295
|
-
tags: t.Type<string[], object, unknown>;
|
|
292
|
+
customtypes: t.ReadonlyArrayC<t.StringC>;
|
|
293
|
+
masks: t.Type<readonly string[], object, unknown>;
|
|
294
|
+
tags: t.Type<readonly string[], object, unknown>;
|
|
296
295
|
allowTargetBlank: t.BooleanC;
|
|
297
296
|
}>>;
|
|
298
297
|
}>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
299
|
-
type: t.LiteralC<
|
|
298
|
+
type: t.LiteralC<"Image">;
|
|
300
299
|
}>, t.PartialC<{
|
|
301
300
|
fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
302
301
|
config: t.ExactC<t.PartialC<{
|
|
@@ -306,7 +305,7 @@ export declare const Variation: t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
|
306
305
|
width: t.Type<number | null, unknown, unknown>;
|
|
307
306
|
height: t.Type<number | null, unknown, unknown>;
|
|
308
307
|
}>;
|
|
309
|
-
thumbnails: t.
|
|
308
|
+
thumbnails: t.ReadonlyArrayC<t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
310
309
|
name: t.StringC;
|
|
311
310
|
}>, t.PartialC<{
|
|
312
311
|
width: t.Type<number | null, unknown, unknown>;
|
|
@@ -314,7 +313,7 @@ export declare const Variation: t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
|
314
313
|
}>]>>>;
|
|
315
314
|
}>>;
|
|
316
315
|
}>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
317
|
-
type: t.LiteralC<
|
|
316
|
+
type: t.LiteralC<"IntegrationFields">;
|
|
318
317
|
}>, t.PartialC<{
|
|
319
318
|
fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
320
319
|
config: t.ExactC<t.PartialC<{
|
|
@@ -327,9 +326,9 @@ export declare const Variation: t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
|
327
326
|
export declare type Variation = t.TypeOf<typeof Variation>;
|
|
328
327
|
export declare const SharedSlice: t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
329
328
|
id: t.StringC;
|
|
330
|
-
type: t.LiteralC<
|
|
329
|
+
type: t.LiteralC<"SharedSlice">;
|
|
331
330
|
name: t.StringC;
|
|
332
|
-
variations: t.
|
|
331
|
+
variations: t.ReadonlyArrayC<t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
333
332
|
id: t.StringC;
|
|
334
333
|
name: t.StringC;
|
|
335
334
|
description: t.StringC;
|
|
@@ -339,7 +338,7 @@ export declare const SharedSlice: t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
|
339
338
|
}>, t.PartialC<{
|
|
340
339
|
display: t.StringC;
|
|
341
340
|
primary: t.RecordC<t.StringC, t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
342
|
-
type: t.LiteralC<
|
|
341
|
+
type: t.LiteralC<"Color">;
|
|
343
342
|
}>, t.PartialC<{
|
|
344
343
|
fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
345
344
|
config: t.ExactC<t.PartialC<{
|
|
@@ -347,7 +346,7 @@ export declare const SharedSlice: t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
|
347
346
|
placeholder: t.StringC;
|
|
348
347
|
}>>;
|
|
349
348
|
}>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
350
|
-
type: t.LiteralC<
|
|
349
|
+
type: t.LiteralC<"Boolean">;
|
|
351
350
|
}>, t.PartialC<{
|
|
352
351
|
config: t.ExactC<t.PartialC<{
|
|
353
352
|
label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
@@ -356,7 +355,7 @@ export declare const SharedSlice: t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
|
356
355
|
placeholder_false: t.StringC;
|
|
357
356
|
}>>;
|
|
358
357
|
}>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
359
|
-
type: t.LiteralC<
|
|
358
|
+
type: t.LiteralC<"Embed">;
|
|
360
359
|
}>, t.PartialC<{
|
|
361
360
|
fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
362
361
|
config: t.ExactC<t.PartialC<{
|
|
@@ -365,14 +364,14 @@ export declare const SharedSlice: t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
|
365
364
|
useAsTitle: t.BooleanC;
|
|
366
365
|
}>>;
|
|
367
366
|
}>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
368
|
-
type: t.LiteralC<
|
|
367
|
+
type: t.LiteralC<"GeoPoint">;
|
|
369
368
|
}>, t.PartialC<{
|
|
370
369
|
fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
371
370
|
config: t.ExactC<t.PartialC<{
|
|
372
371
|
label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
373
372
|
}>>;
|
|
374
373
|
}>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
375
|
-
type: t.LiteralC<
|
|
374
|
+
type: t.LiteralC<"Date">;
|
|
376
375
|
}>, t.PartialC<{
|
|
377
376
|
fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
378
377
|
config: t.ExactC<t.PartialC<{
|
|
@@ -381,7 +380,7 @@ export declare const SharedSlice: t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
|
381
380
|
default: t.StringC;
|
|
382
381
|
}>>;
|
|
383
382
|
}>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
384
|
-
type: t.LiteralC<
|
|
383
|
+
type: t.LiteralC<"Number">;
|
|
385
384
|
}>, t.PartialC<{
|
|
386
385
|
fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
387
386
|
config: t.ExactC<t.PartialC<{
|
|
@@ -392,7 +391,7 @@ export declare const SharedSlice: t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
|
392
391
|
step: t.UnionC<[t.NumberC, import("io-ts-types").NumberFromStringC]>;
|
|
393
392
|
}>>;
|
|
394
393
|
}>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
395
|
-
type: t.LiteralC<
|
|
394
|
+
type: t.LiteralC<"Range">;
|
|
396
395
|
}>, t.PartialC<{
|
|
397
396
|
fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
398
397
|
config: t.ExactC<t.PartialC<{
|
|
@@ -403,7 +402,7 @@ export declare const SharedSlice: t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
|
403
402
|
step: t.UnionC<[t.NumberC, import("io-ts-types").NumberFromStringC]>;
|
|
404
403
|
}>>;
|
|
405
404
|
}>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
406
|
-
type: t.LiteralC<
|
|
405
|
+
type: t.LiteralC<"StructuredText">;
|
|
407
406
|
}>, t.PartialC<{
|
|
408
407
|
fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
409
408
|
config: t.ExactC<t.PartialC<{
|
|
@@ -416,27 +415,27 @@ export declare const SharedSlice: t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
|
416
415
|
width: t.Type<number | null, unknown, unknown>;
|
|
417
416
|
height: t.Type<number | null, unknown, unknown>;
|
|
418
417
|
}>;
|
|
419
|
-
labels: t.Type<string[], object, unknown>;
|
|
418
|
+
labels: t.Type<readonly string[], object, unknown>;
|
|
420
419
|
allowTargetBlank: t.BooleanC;
|
|
421
420
|
}>>;
|
|
422
421
|
}>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
423
|
-
type: t.LiteralC<
|
|
422
|
+
type: t.LiteralC<"Select">;
|
|
424
423
|
}>, t.PartialC<{
|
|
425
424
|
fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
426
425
|
config: t.ExactC<t.PartialC<{
|
|
427
426
|
label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
428
427
|
placeholder: t.StringC;
|
|
429
428
|
default_value: t.StringC;
|
|
430
|
-
options: t.
|
|
429
|
+
options: t.ReadonlyArrayC<t.UnionC<[t.StringC, t.Type<string, string, unknown>, t.Type<string, string, unknown>]>>;
|
|
431
430
|
}>>;
|
|
432
431
|
}>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
433
|
-
type: t.LiteralC<
|
|
432
|
+
type: t.LiteralC<"Separator">;
|
|
434
433
|
}>, t.PartialC<{
|
|
435
434
|
config: t.ExactC<t.PartialC<{
|
|
436
435
|
label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
437
436
|
}>>;
|
|
438
437
|
}>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
439
|
-
type: t.LiteralC<
|
|
438
|
+
type: t.LiteralC<"Text">;
|
|
440
439
|
}>, t.PartialC<{
|
|
441
440
|
fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
442
441
|
config: t.ExactC<t.PartialC<{
|
|
@@ -445,7 +444,7 @@ export declare const SharedSlice: t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
|
445
444
|
placeholder: t.StringC;
|
|
446
445
|
}>>;
|
|
447
446
|
}>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
448
|
-
type: t.LiteralC<
|
|
447
|
+
type: t.LiteralC<"Timestamp">;
|
|
449
448
|
}>, t.PartialC<{
|
|
450
449
|
fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
451
450
|
config: t.ExactC<t.PartialC<{
|
|
@@ -454,7 +453,7 @@ export declare const SharedSlice: t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
|
454
453
|
default: t.StringC;
|
|
455
454
|
}>>;
|
|
456
455
|
}>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
457
|
-
type: t.LiteralC<
|
|
456
|
+
type: t.LiteralC<"Link">;
|
|
458
457
|
}>, t.PartialC<{
|
|
459
458
|
fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
460
459
|
config: t.ExactC<t.PartialC<{
|
|
@@ -462,13 +461,13 @@ export declare const SharedSlice: t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
|
462
461
|
useAsTitle: t.BooleanC;
|
|
463
462
|
placeholder: t.StringC;
|
|
464
463
|
select: t.UnionC<[t.LiteralC<"media">, t.LiteralC<"document">, t.LiteralC<"web">, t.NullC]>;
|
|
465
|
-
customtypes: t.
|
|
466
|
-
masks: t.Type<string[], object, unknown>;
|
|
467
|
-
tags: t.Type<string[], object, unknown>;
|
|
464
|
+
customtypes: t.ReadonlyArrayC<t.StringC>;
|
|
465
|
+
masks: t.Type<readonly string[], object, unknown>;
|
|
466
|
+
tags: t.Type<readonly string[], object, unknown>;
|
|
468
467
|
allowTargetBlank: t.BooleanC;
|
|
469
468
|
}>>;
|
|
470
469
|
}>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
471
|
-
type: t.LiteralC<
|
|
470
|
+
type: t.LiteralC<"Image">;
|
|
472
471
|
}>, t.PartialC<{
|
|
473
472
|
fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
474
473
|
config: t.ExactC<t.PartialC<{
|
|
@@ -478,7 +477,7 @@ export declare const SharedSlice: t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
|
478
477
|
width: t.Type<number | null, unknown, unknown>;
|
|
479
478
|
height: t.Type<number | null, unknown, unknown>;
|
|
480
479
|
}>;
|
|
481
|
-
thumbnails: t.
|
|
480
|
+
thumbnails: t.ReadonlyArrayC<t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
482
481
|
name: t.StringC;
|
|
483
482
|
}>, t.PartialC<{
|
|
484
483
|
width: t.Type<number | null, unknown, unknown>;
|
|
@@ -486,7 +485,7 @@ export declare const SharedSlice: t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
|
486
485
|
}>]>>>;
|
|
487
486
|
}>>;
|
|
488
487
|
}>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
489
|
-
type: t.LiteralC<
|
|
488
|
+
type: t.LiteralC<"IntegrationFields">;
|
|
490
489
|
}>, t.PartialC<{
|
|
491
490
|
fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
492
491
|
config: t.ExactC<t.PartialC<{
|
|
@@ -496,7 +495,7 @@ export declare const SharedSlice: t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
|
496
495
|
}>>;
|
|
497
496
|
}>]>>]>>;
|
|
498
497
|
items: t.RecordC<t.StringC, t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
499
|
-
type: t.LiteralC<
|
|
498
|
+
type: t.LiteralC<"Color">;
|
|
500
499
|
}>, t.PartialC<{
|
|
501
500
|
fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
502
501
|
config: t.ExactC<t.PartialC<{
|
|
@@ -504,7 +503,7 @@ export declare const SharedSlice: t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
|
504
503
|
placeholder: t.StringC;
|
|
505
504
|
}>>;
|
|
506
505
|
}>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
507
|
-
type: t.LiteralC<
|
|
506
|
+
type: t.LiteralC<"Boolean">;
|
|
508
507
|
}>, t.PartialC<{
|
|
509
508
|
config: t.ExactC<t.PartialC<{
|
|
510
509
|
label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
@@ -513,7 +512,7 @@ export declare const SharedSlice: t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
|
513
512
|
placeholder_false: t.StringC;
|
|
514
513
|
}>>;
|
|
515
514
|
}>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
516
|
-
type: t.LiteralC<
|
|
515
|
+
type: t.LiteralC<"Embed">;
|
|
517
516
|
}>, t.PartialC<{
|
|
518
517
|
fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
519
518
|
config: t.ExactC<t.PartialC<{
|
|
@@ -522,14 +521,14 @@ export declare const SharedSlice: t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
|
522
521
|
useAsTitle: t.BooleanC;
|
|
523
522
|
}>>;
|
|
524
523
|
}>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
525
|
-
type: t.LiteralC<
|
|
524
|
+
type: t.LiteralC<"GeoPoint">;
|
|
526
525
|
}>, t.PartialC<{
|
|
527
526
|
fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
528
527
|
config: t.ExactC<t.PartialC<{
|
|
529
528
|
label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
530
529
|
}>>;
|
|
531
530
|
}>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
532
|
-
type: t.LiteralC<
|
|
531
|
+
type: t.LiteralC<"Date">;
|
|
533
532
|
}>, t.PartialC<{
|
|
534
533
|
fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
535
534
|
config: t.ExactC<t.PartialC<{
|
|
@@ -538,7 +537,7 @@ export declare const SharedSlice: t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
|
538
537
|
default: t.StringC;
|
|
539
538
|
}>>;
|
|
540
539
|
}>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
541
|
-
type: t.LiteralC<
|
|
540
|
+
type: t.LiteralC<"Number">;
|
|
542
541
|
}>, t.PartialC<{
|
|
543
542
|
fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
544
543
|
config: t.ExactC<t.PartialC<{
|
|
@@ -549,7 +548,7 @@ export declare const SharedSlice: t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
|
549
548
|
step: t.UnionC<[t.NumberC, import("io-ts-types").NumberFromStringC]>;
|
|
550
549
|
}>>;
|
|
551
550
|
}>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
552
|
-
type: t.LiteralC<
|
|
551
|
+
type: t.LiteralC<"Range">;
|
|
553
552
|
}>, t.PartialC<{
|
|
554
553
|
fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
555
554
|
config: t.ExactC<t.PartialC<{
|
|
@@ -560,7 +559,7 @@ export declare const SharedSlice: t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
|
560
559
|
step: t.UnionC<[t.NumberC, import("io-ts-types").NumberFromStringC]>;
|
|
561
560
|
}>>;
|
|
562
561
|
}>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
563
|
-
type: t.LiteralC<
|
|
562
|
+
type: t.LiteralC<"StructuredText">;
|
|
564
563
|
}>, t.PartialC<{
|
|
565
564
|
fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
566
565
|
config: t.ExactC<t.PartialC<{
|
|
@@ -573,27 +572,27 @@ export declare const SharedSlice: t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
|
573
572
|
width: t.Type<number | null, unknown, unknown>;
|
|
574
573
|
height: t.Type<number | null, unknown, unknown>;
|
|
575
574
|
}>;
|
|
576
|
-
labels: t.Type<string[], object, unknown>;
|
|
575
|
+
labels: t.Type<readonly string[], object, unknown>;
|
|
577
576
|
allowTargetBlank: t.BooleanC;
|
|
578
577
|
}>>;
|
|
579
578
|
}>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
580
|
-
type: t.LiteralC<
|
|
579
|
+
type: t.LiteralC<"Select">;
|
|
581
580
|
}>, t.PartialC<{
|
|
582
581
|
fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
583
582
|
config: t.ExactC<t.PartialC<{
|
|
584
583
|
label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
585
584
|
placeholder: t.StringC;
|
|
586
585
|
default_value: t.StringC;
|
|
587
|
-
options: t.
|
|
586
|
+
options: t.ReadonlyArrayC<t.UnionC<[t.StringC, t.Type<string, string, unknown>, t.Type<string, string, unknown>]>>;
|
|
588
587
|
}>>;
|
|
589
588
|
}>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
590
|
-
type: t.LiteralC<
|
|
589
|
+
type: t.LiteralC<"Separator">;
|
|
591
590
|
}>, t.PartialC<{
|
|
592
591
|
config: t.ExactC<t.PartialC<{
|
|
593
592
|
label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
594
593
|
}>>;
|
|
595
594
|
}>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
596
|
-
type: t.LiteralC<
|
|
595
|
+
type: t.LiteralC<"Text">;
|
|
597
596
|
}>, t.PartialC<{
|
|
598
597
|
fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
599
598
|
config: t.ExactC<t.PartialC<{
|
|
@@ -602,7 +601,7 @@ export declare const SharedSlice: t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
|
602
601
|
placeholder: t.StringC;
|
|
603
602
|
}>>;
|
|
604
603
|
}>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
605
|
-
type: t.LiteralC<
|
|
604
|
+
type: t.LiteralC<"Timestamp">;
|
|
606
605
|
}>, t.PartialC<{
|
|
607
606
|
fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
608
607
|
config: t.ExactC<t.PartialC<{
|
|
@@ -611,7 +610,7 @@ export declare const SharedSlice: t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
|
611
610
|
default: t.StringC;
|
|
612
611
|
}>>;
|
|
613
612
|
}>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
614
|
-
type: t.LiteralC<
|
|
613
|
+
type: t.LiteralC<"Link">;
|
|
615
614
|
}>, t.PartialC<{
|
|
616
615
|
fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
617
616
|
config: t.ExactC<t.PartialC<{
|
|
@@ -619,13 +618,13 @@ export declare const SharedSlice: t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
|
619
618
|
useAsTitle: t.BooleanC;
|
|
620
619
|
placeholder: t.StringC;
|
|
621
620
|
select: t.UnionC<[t.LiteralC<"media">, t.LiteralC<"document">, t.LiteralC<"web">, t.NullC]>;
|
|
622
|
-
customtypes: t.
|
|
623
|
-
masks: t.Type<string[], object, unknown>;
|
|
624
|
-
tags: t.Type<string[], object, unknown>;
|
|
621
|
+
customtypes: t.ReadonlyArrayC<t.StringC>;
|
|
622
|
+
masks: t.Type<readonly string[], object, unknown>;
|
|
623
|
+
tags: t.Type<readonly string[], object, unknown>;
|
|
625
624
|
allowTargetBlank: t.BooleanC;
|
|
626
625
|
}>>;
|
|
627
626
|
}>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
628
|
-
type: t.LiteralC<
|
|
627
|
+
type: t.LiteralC<"Image">;
|
|
629
628
|
}>, t.PartialC<{
|
|
630
629
|
fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
631
630
|
config: t.ExactC<t.PartialC<{
|
|
@@ -635,7 +634,7 @@ export declare const SharedSlice: t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
|
635
634
|
width: t.Type<number | null, unknown, unknown>;
|
|
636
635
|
height: t.Type<number | null, unknown, unknown>;
|
|
637
636
|
}>;
|
|
638
|
-
thumbnails: t.
|
|
637
|
+
thumbnails: t.ReadonlyArrayC<t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
639
638
|
name: t.StringC;
|
|
640
639
|
}>, t.PartialC<{
|
|
641
640
|
width: t.Type<number | null, unknown, unknown>;
|
|
@@ -643,7 +642,7 @@ export declare const SharedSlice: t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
|
643
642
|
}>]>>>;
|
|
644
643
|
}>>;
|
|
645
644
|
}>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
646
|
-
type: t.LiteralC<
|
|
645
|
+
type: t.LiteralC<"IntegrationFields">;
|
|
647
646
|
}>, t.PartialC<{
|
|
648
647
|
fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
649
648
|
config: t.ExactC<t.PartialC<{
|