@prismicio/types-internal 2.5.0-alpha.2 → 2.5.0-alpha.4
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/content/Document.d.ts +957 -45
- package/lib/content/fields/GroupContent.d.ts +8 -8
- package/lib/content/fields/GroupContent.js +14 -32
- package/lib/content/fields/WidgetContent.d.ts +957 -45
- package/lib/content/fields/nestable/NestableContent.d.ts +155 -3
- package/lib/content/fields/nestable/RichTextContent/Blocks.d.ts +232 -4
- package/lib/content/fields/nestable/RichTextContent/Blocks.js +5 -2
- package/lib/content/fields/nestable/RichTextContent/index.d.ts +194 -4
- package/lib/content/fields/slices/Slice/CompositeSliceContent.d.ts +314 -10
- package/lib/content/fields/slices/Slice/CompositeSliceContent.js +0 -3
- package/lib/content/fields/slices/Slice/RepeatableContent.d.ts +80 -3
- package/lib/content/fields/slices/Slice/RepeatableContent.js +4 -1
- package/lib/content/fields/slices/Slice/SharedSliceContent.d.ts +314 -10
- package/lib/content/fields/slices/Slice/SharedSliceContent.js +0 -2
- package/lib/content/fields/slices/Slice/SimpleSliceContent.d.ts +155 -3
- package/lib/content/fields/slices/Slice/SimpleSliceContent.js +0 -1
- package/lib/content/fields/slices/Slice/SlicePrimaryContent.d.ts +155 -3
- package/lib/content/fields/slices/Slice/index.d.ts +586 -16
- package/lib/content/fields/slices/SliceItem.d.ts +586 -16
- package/lib/content/fields/slices/SlicesContent.d.ts +817 -57
- package/lib/customtypes/CustomType.d.ts +2042 -690
- package/lib/customtypes/Section.d.ts +2028 -676
- package/lib/customtypes/diff/SharedSlice.d.ts +678 -2
- package/lib/customtypes/diff/Variation.d.ts +678 -3
- package/lib/customtypes/widgets/Group.d.ts +996 -15
- package/lib/customtypes/widgets/Group.js +15 -27
- package/lib/customtypes/widgets/Widget.d.ts +1684 -7
- package/lib/customtypes/widgets/slices/LegacySlice.d.ts +168 -2
- package/lib/customtypes/widgets/slices/LegacySlice.js +1 -1
- package/lib/customtypes/widgets/slices/SharedSlice.d.ts +670 -2
- package/lib/customtypes/widgets/slices/SlicePrimaryWidget.d.ts +674 -3
- package/lib/customtypes/widgets/slices/Slices.d.ts +1522 -7
- package/package.json +1 -1
- package/src/content/fields/GroupContent.ts +24 -48
- package/src/content/fields/nestable/RichTextContent/Blocks.ts +6 -3
- package/src/content/fields/slices/Slice/CompositeSliceContent.ts +4 -7
- package/src/content/fields/slices/Slice/RepeatableContent.ts +9 -2
- package/src/content/fields/slices/Slice/SharedSliceContent.ts +3 -5
- package/src/content/fields/slices/Slice/SimpleSliceContent.ts +1 -3
- package/src/customtypes/widgets/Group.ts +34 -61
- package/src/customtypes/widgets/slices/LegacySlice.ts +2 -2
|
@@ -172,7 +172,174 @@ export declare function slicesConfigReader<T extends SharedSlice | SharedSliceRe
|
|
|
172
172
|
placeholder: t.StringC;
|
|
173
173
|
catalog: t.StringC;
|
|
174
174
|
}>>;
|
|
175
|
-
}>]>>]>, t.
|
|
175
|
+
}>]>>]>, t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
176
|
+
type: t.LiteralC<"Group">;
|
|
177
|
+
}>, t.PartialC<{
|
|
178
|
+
fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
179
|
+
icon: t.StringC;
|
|
180
|
+
description: t.StringC;
|
|
181
|
+
config: t.ExactC<t.PartialC<{
|
|
182
|
+
label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
183
|
+
repeat: t.BooleanC;
|
|
184
|
+
fields: t.RecordC<t.Type<string, string, unknown>, t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
185
|
+
type: t.LiteralC<"Color">;
|
|
186
|
+
}>, t.PartialC<{
|
|
187
|
+
fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
188
|
+
config: t.ExactC<t.PartialC<{
|
|
189
|
+
label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
190
|
+
placeholder: t.StringC;
|
|
191
|
+
}>>;
|
|
192
|
+
}>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
193
|
+
type: t.LiteralC<"Boolean">;
|
|
194
|
+
}>, t.PartialC<{
|
|
195
|
+
config: t.ExactC<t.PartialC<{
|
|
196
|
+
label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
197
|
+
default_value: t.BooleanC;
|
|
198
|
+
placeholder_true: t.StringC;
|
|
199
|
+
placeholder_false: t.StringC;
|
|
200
|
+
}>>;
|
|
201
|
+
}>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
202
|
+
type: t.LiteralC<"Embed">;
|
|
203
|
+
}>, t.PartialC<{
|
|
204
|
+
fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
205
|
+
config: t.ExactC<t.PartialC<{
|
|
206
|
+
label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
207
|
+
placeholder: t.StringC;
|
|
208
|
+
useAsTitle: t.BooleanC;
|
|
209
|
+
}>>;
|
|
210
|
+
}>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
211
|
+
type: t.LiteralC<"GeoPoint">;
|
|
212
|
+
}>, t.PartialC<{
|
|
213
|
+
fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
214
|
+
config: t.ExactC<t.PartialC<{
|
|
215
|
+
label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
216
|
+
}>>;
|
|
217
|
+
}>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
218
|
+
type: t.LiteralC<"Date">;
|
|
219
|
+
}>, t.PartialC<{
|
|
220
|
+
fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
221
|
+
config: t.ExactC<t.PartialC<{
|
|
222
|
+
label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
223
|
+
placeholder: t.StringC;
|
|
224
|
+
default: t.StringC;
|
|
225
|
+
}>>;
|
|
226
|
+
}>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
227
|
+
type: t.LiteralC<"Number">;
|
|
228
|
+
}>, t.PartialC<{
|
|
229
|
+
fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
230
|
+
config: t.ExactC<t.PartialC<{
|
|
231
|
+
label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
232
|
+
placeholder: t.StringC;
|
|
233
|
+
min: t.UnionC<[t.NumberC, import("io-ts-types").NumberFromStringC]>;
|
|
234
|
+
max: t.UnionC<[t.NumberC, import("io-ts-types").NumberFromStringC]>;
|
|
235
|
+
step: t.UnionC<[t.NumberC, import("io-ts-types").NumberFromStringC]>;
|
|
236
|
+
}>>;
|
|
237
|
+
}>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
238
|
+
type: t.LiteralC<"Range">;
|
|
239
|
+
}>, t.PartialC<{
|
|
240
|
+
fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
241
|
+
config: t.ExactC<t.PartialC<{
|
|
242
|
+
label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
243
|
+
placeholder: t.StringC;
|
|
244
|
+
min: t.UnionC<[t.NumberC, import("io-ts-types").NumberFromStringC]>;
|
|
245
|
+
max: t.UnionC<[t.NumberC, import("io-ts-types").NumberFromStringC]>;
|
|
246
|
+
step: t.UnionC<[t.NumberC, import("io-ts-types").NumberFromStringC]>;
|
|
247
|
+
}>>;
|
|
248
|
+
}>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
249
|
+
type: t.LiteralC<"StructuredText">;
|
|
250
|
+
}>, t.PartialC<{
|
|
251
|
+
fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
252
|
+
config: t.ExactC<t.PartialC<{
|
|
253
|
+
label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
254
|
+
placeholder: t.StringC;
|
|
255
|
+
useAsTitle: t.BooleanC;
|
|
256
|
+
single: t.Type<string, string, unknown>;
|
|
257
|
+
multi: t.Type<string, string, unknown>;
|
|
258
|
+
imageConstraint: t.PartialC<{
|
|
259
|
+
width: t.Type<number | null, unknown, unknown>;
|
|
260
|
+
height: t.Type<number | null, unknown, unknown>;
|
|
261
|
+
}>;
|
|
262
|
+
labels: t.Type<readonly string[], object, unknown>;
|
|
263
|
+
allowTargetBlank: t.BooleanC;
|
|
264
|
+
}>>;
|
|
265
|
+
}>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
266
|
+
type: t.LiteralC<"Select">;
|
|
267
|
+
}>, t.PartialC<{
|
|
268
|
+
fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
269
|
+
config: t.ExactC<t.PartialC<{
|
|
270
|
+
label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
271
|
+
placeholder: t.StringC;
|
|
272
|
+
default_value: t.StringC;
|
|
273
|
+
options: t.ReadonlyArrayC<t.UnionC<[t.StringC, t.Type<string, string, unknown>, t.Type<string, string, unknown>]>>;
|
|
274
|
+
}>>;
|
|
275
|
+
}>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
276
|
+
type: t.LiteralC<"Separator">;
|
|
277
|
+
}>, t.PartialC<{
|
|
278
|
+
config: t.ExactC<t.PartialC<{
|
|
279
|
+
label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
280
|
+
}>>;
|
|
281
|
+
}>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
282
|
+
type: t.LiteralC<"Text">;
|
|
283
|
+
}>, t.PartialC<{
|
|
284
|
+
fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
285
|
+
config: t.ExactC<t.PartialC<{
|
|
286
|
+
label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
287
|
+
useAsTitle: t.BooleanC;
|
|
288
|
+
placeholder: t.StringC;
|
|
289
|
+
}>>;
|
|
290
|
+
}>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
291
|
+
type: t.LiteralC<"Timestamp">;
|
|
292
|
+
}>, t.PartialC<{
|
|
293
|
+
fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
294
|
+
config: t.ExactC<t.PartialC<{
|
|
295
|
+
label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
296
|
+
placeholder: t.StringC;
|
|
297
|
+
default: t.StringC;
|
|
298
|
+
}>>;
|
|
299
|
+
}>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
300
|
+
type: t.LiteralC<"Link">;
|
|
301
|
+
}>, t.PartialC<{
|
|
302
|
+
fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
303
|
+
config: t.ExactC<t.PartialC<{
|
|
304
|
+
label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
305
|
+
useAsTitle: t.BooleanC;
|
|
306
|
+
placeholder: t.StringC;
|
|
307
|
+
select: t.UnionC<[t.LiteralC<"media">, t.LiteralC<"document">, t.LiteralC<"web">, t.NullC]>;
|
|
308
|
+
customtypes: t.ReadonlyArrayC<t.StringC>;
|
|
309
|
+
masks: t.Type<readonly string[], object, unknown>;
|
|
310
|
+
tags: t.Type<readonly string[], object, unknown>;
|
|
311
|
+
allowTargetBlank: t.BooleanC;
|
|
312
|
+
}>>;
|
|
313
|
+
}>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
314
|
+
type: t.LiteralC<"Image">;
|
|
315
|
+
}>, t.PartialC<{
|
|
316
|
+
fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
317
|
+
config: t.ExactC<t.PartialC<{
|
|
318
|
+
label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
319
|
+
placeholder: t.StringC;
|
|
320
|
+
constraint: t.PartialC<{
|
|
321
|
+
width: t.Type<number | null, unknown, unknown>;
|
|
322
|
+
height: t.Type<number | null, unknown, unknown>;
|
|
323
|
+
}>;
|
|
324
|
+
thumbnails: t.ReadonlyArrayC<t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
325
|
+
name: t.StringC;
|
|
326
|
+
}>, t.PartialC<{
|
|
327
|
+
width: t.Type<number | null, unknown, unknown>;
|
|
328
|
+
height: t.Type<number | null, unknown, unknown>;
|
|
329
|
+
}>]>>>;
|
|
330
|
+
}>>;
|
|
331
|
+
}>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
332
|
+
type: t.LiteralC<"IntegrationFields">;
|
|
333
|
+
}>, t.PartialC<{
|
|
334
|
+
fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
335
|
+
config: t.ExactC<t.PartialC<{
|
|
336
|
+
label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
337
|
+
placeholder: t.StringC;
|
|
338
|
+
catalog: t.StringC;
|
|
339
|
+
}>>;
|
|
340
|
+
}>]>>]>>;
|
|
341
|
+
}>>;
|
|
342
|
+
}>]>>]>, t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
176
343
|
type: t.LiteralC<"Slice">;
|
|
177
344
|
}>, t.PartialC<{
|
|
178
345
|
fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
@@ -661,7 +828,174 @@ export declare const StaticSlicesConfig: t.ExactC<t.PartialC<{
|
|
|
661
828
|
placeholder: t.StringC;
|
|
662
829
|
catalog: t.StringC;
|
|
663
830
|
}>>;
|
|
664
|
-
}>]>>]>, t.
|
|
831
|
+
}>]>>]>, t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
832
|
+
type: t.LiteralC<"Group">;
|
|
833
|
+
}>, t.PartialC<{
|
|
834
|
+
fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
835
|
+
icon: t.StringC;
|
|
836
|
+
description: t.StringC;
|
|
837
|
+
config: t.ExactC<t.PartialC<{
|
|
838
|
+
label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
839
|
+
repeat: t.BooleanC;
|
|
840
|
+
fields: t.RecordC<t.Type<string, string, unknown>, t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
841
|
+
type: t.LiteralC<"Color">;
|
|
842
|
+
}>, t.PartialC<{
|
|
843
|
+
fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
844
|
+
config: t.ExactC<t.PartialC<{
|
|
845
|
+
label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
846
|
+
placeholder: t.StringC;
|
|
847
|
+
}>>;
|
|
848
|
+
}>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
849
|
+
type: t.LiteralC<"Boolean">;
|
|
850
|
+
}>, t.PartialC<{
|
|
851
|
+
config: t.ExactC<t.PartialC<{
|
|
852
|
+
label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
853
|
+
default_value: t.BooleanC;
|
|
854
|
+
placeholder_true: t.StringC;
|
|
855
|
+
placeholder_false: t.StringC;
|
|
856
|
+
}>>;
|
|
857
|
+
}>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
858
|
+
type: t.LiteralC<"Embed">;
|
|
859
|
+
}>, t.PartialC<{
|
|
860
|
+
fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
861
|
+
config: t.ExactC<t.PartialC<{
|
|
862
|
+
label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
863
|
+
placeholder: t.StringC;
|
|
864
|
+
useAsTitle: t.BooleanC;
|
|
865
|
+
}>>;
|
|
866
|
+
}>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
867
|
+
type: t.LiteralC<"GeoPoint">;
|
|
868
|
+
}>, t.PartialC<{
|
|
869
|
+
fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
870
|
+
config: t.ExactC<t.PartialC<{
|
|
871
|
+
label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
872
|
+
}>>;
|
|
873
|
+
}>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
874
|
+
type: t.LiteralC<"Date">;
|
|
875
|
+
}>, t.PartialC<{
|
|
876
|
+
fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
877
|
+
config: t.ExactC<t.PartialC<{
|
|
878
|
+
label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
879
|
+
placeholder: t.StringC;
|
|
880
|
+
default: t.StringC;
|
|
881
|
+
}>>;
|
|
882
|
+
}>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
883
|
+
type: t.LiteralC<"Number">;
|
|
884
|
+
}>, t.PartialC<{
|
|
885
|
+
fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
886
|
+
config: t.ExactC<t.PartialC<{
|
|
887
|
+
label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
888
|
+
placeholder: t.StringC;
|
|
889
|
+
min: t.UnionC<[t.NumberC, import("io-ts-types").NumberFromStringC]>;
|
|
890
|
+
max: t.UnionC<[t.NumberC, import("io-ts-types").NumberFromStringC]>;
|
|
891
|
+
step: t.UnionC<[t.NumberC, import("io-ts-types").NumberFromStringC]>;
|
|
892
|
+
}>>;
|
|
893
|
+
}>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
894
|
+
type: t.LiteralC<"Range">;
|
|
895
|
+
}>, t.PartialC<{
|
|
896
|
+
fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
897
|
+
config: t.ExactC<t.PartialC<{
|
|
898
|
+
label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
899
|
+
placeholder: t.StringC;
|
|
900
|
+
min: t.UnionC<[t.NumberC, import("io-ts-types").NumberFromStringC]>;
|
|
901
|
+
max: t.UnionC<[t.NumberC, import("io-ts-types").NumberFromStringC]>;
|
|
902
|
+
step: t.UnionC<[t.NumberC, import("io-ts-types").NumberFromStringC]>;
|
|
903
|
+
}>>;
|
|
904
|
+
}>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
905
|
+
type: t.LiteralC<"StructuredText">;
|
|
906
|
+
}>, t.PartialC<{
|
|
907
|
+
fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
908
|
+
config: t.ExactC<t.PartialC<{
|
|
909
|
+
label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
910
|
+
placeholder: t.StringC;
|
|
911
|
+
useAsTitle: t.BooleanC;
|
|
912
|
+
single: t.Type<string, string, unknown>;
|
|
913
|
+
multi: t.Type<string, string, unknown>;
|
|
914
|
+
imageConstraint: t.PartialC<{
|
|
915
|
+
width: t.Type<number | null, unknown, unknown>;
|
|
916
|
+
height: t.Type<number | null, unknown, unknown>;
|
|
917
|
+
}>;
|
|
918
|
+
labels: t.Type<readonly string[], object, unknown>;
|
|
919
|
+
allowTargetBlank: t.BooleanC;
|
|
920
|
+
}>>;
|
|
921
|
+
}>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
922
|
+
type: t.LiteralC<"Select">;
|
|
923
|
+
}>, t.PartialC<{
|
|
924
|
+
fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
925
|
+
config: t.ExactC<t.PartialC<{
|
|
926
|
+
label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
927
|
+
placeholder: t.StringC;
|
|
928
|
+
default_value: t.StringC;
|
|
929
|
+
options: t.ReadonlyArrayC<t.UnionC<[t.StringC, t.Type<string, string, unknown>, t.Type<string, string, unknown>]>>;
|
|
930
|
+
}>>;
|
|
931
|
+
}>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
932
|
+
type: t.LiteralC<"Separator">;
|
|
933
|
+
}>, t.PartialC<{
|
|
934
|
+
config: t.ExactC<t.PartialC<{
|
|
935
|
+
label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
936
|
+
}>>;
|
|
937
|
+
}>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
938
|
+
type: t.LiteralC<"Text">;
|
|
939
|
+
}>, t.PartialC<{
|
|
940
|
+
fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
941
|
+
config: t.ExactC<t.PartialC<{
|
|
942
|
+
label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
943
|
+
useAsTitle: t.BooleanC;
|
|
944
|
+
placeholder: t.StringC;
|
|
945
|
+
}>>;
|
|
946
|
+
}>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
947
|
+
type: t.LiteralC<"Timestamp">;
|
|
948
|
+
}>, t.PartialC<{
|
|
949
|
+
fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
950
|
+
config: t.ExactC<t.PartialC<{
|
|
951
|
+
label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
952
|
+
placeholder: t.StringC;
|
|
953
|
+
default: t.StringC;
|
|
954
|
+
}>>;
|
|
955
|
+
}>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
956
|
+
type: t.LiteralC<"Link">;
|
|
957
|
+
}>, t.PartialC<{
|
|
958
|
+
fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
959
|
+
config: t.ExactC<t.PartialC<{
|
|
960
|
+
label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
961
|
+
useAsTitle: t.BooleanC;
|
|
962
|
+
placeholder: t.StringC;
|
|
963
|
+
select: t.UnionC<[t.LiteralC<"media">, t.LiteralC<"document">, t.LiteralC<"web">, t.NullC]>;
|
|
964
|
+
customtypes: t.ReadonlyArrayC<t.StringC>;
|
|
965
|
+
masks: t.Type<readonly string[], object, unknown>;
|
|
966
|
+
tags: t.Type<readonly string[], object, unknown>;
|
|
967
|
+
allowTargetBlank: t.BooleanC;
|
|
968
|
+
}>>;
|
|
969
|
+
}>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
970
|
+
type: t.LiteralC<"Image">;
|
|
971
|
+
}>, t.PartialC<{
|
|
972
|
+
fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
973
|
+
config: t.ExactC<t.PartialC<{
|
|
974
|
+
label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
975
|
+
placeholder: t.StringC;
|
|
976
|
+
constraint: t.PartialC<{
|
|
977
|
+
width: t.Type<number | null, unknown, unknown>;
|
|
978
|
+
height: t.Type<number | null, unknown, unknown>;
|
|
979
|
+
}>;
|
|
980
|
+
thumbnails: t.ReadonlyArrayC<t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
981
|
+
name: t.StringC;
|
|
982
|
+
}>, t.PartialC<{
|
|
983
|
+
width: t.Type<number | null, unknown, unknown>;
|
|
984
|
+
height: t.Type<number | null, unknown, unknown>;
|
|
985
|
+
}>]>>>;
|
|
986
|
+
}>>;
|
|
987
|
+
}>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
988
|
+
type: t.LiteralC<"IntegrationFields">;
|
|
989
|
+
}>, t.PartialC<{
|
|
990
|
+
fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
991
|
+
config: t.ExactC<t.PartialC<{
|
|
992
|
+
label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
993
|
+
placeholder: t.StringC;
|
|
994
|
+
catalog: t.StringC;
|
|
995
|
+
}>>;
|
|
996
|
+
}>]>>]>>;
|
|
997
|
+
}>>;
|
|
998
|
+
}>]>>]>, t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
665
999
|
type: t.LiteralC<"Slice">;
|
|
666
1000
|
}>, t.PartialC<{
|
|
667
1001
|
fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
@@ -1155,7 +1489,345 @@ export declare const StaticSlicesConfig: t.ExactC<t.PartialC<{
|
|
|
1155
1489
|
placeholder?: string;
|
|
1156
1490
|
default?: string;
|
|
1157
1491
|
};
|
|
1158
|
-
}) |
|
|
1492
|
+
}) | ({
|
|
1493
|
+
type: "Group";
|
|
1494
|
+
} & {
|
|
1495
|
+
fieldset?: string | null | undefined;
|
|
1496
|
+
icon?: string;
|
|
1497
|
+
description?: string;
|
|
1498
|
+
config?: {
|
|
1499
|
+
label?: string | null | undefined;
|
|
1500
|
+
repeat?: boolean;
|
|
1501
|
+
fields?: {
|
|
1502
|
+
[x: string]: ({
|
|
1503
|
+
type: "Boolean";
|
|
1504
|
+
} & {
|
|
1505
|
+
config?: {
|
|
1506
|
+
label?: string | null | undefined;
|
|
1507
|
+
default_value?: boolean;
|
|
1508
|
+
placeholder_true?: string;
|
|
1509
|
+
placeholder_false?: string;
|
|
1510
|
+
};
|
|
1511
|
+
}) | ({
|
|
1512
|
+
type: "Color";
|
|
1513
|
+
} & {
|
|
1514
|
+
fieldset?: string | null | undefined;
|
|
1515
|
+
config?: {
|
|
1516
|
+
label?: string | null | undefined;
|
|
1517
|
+
placeholder?: string;
|
|
1518
|
+
};
|
|
1519
|
+
}) | ({
|
|
1520
|
+
type: "Date";
|
|
1521
|
+
} & {
|
|
1522
|
+
fieldset?: string | null | undefined;
|
|
1523
|
+
config?: {
|
|
1524
|
+
label?: string | null | undefined;
|
|
1525
|
+
placeholder?: string;
|
|
1526
|
+
default?: string;
|
|
1527
|
+
};
|
|
1528
|
+
}) | ({
|
|
1529
|
+
type: "Embed";
|
|
1530
|
+
} & {
|
|
1531
|
+
fieldset?: string | null | undefined;
|
|
1532
|
+
config?: {
|
|
1533
|
+
label?: string | null | undefined;
|
|
1534
|
+
placeholder?: string;
|
|
1535
|
+
useAsTitle?: boolean;
|
|
1536
|
+
};
|
|
1537
|
+
}) | ({
|
|
1538
|
+
type: "GeoPoint";
|
|
1539
|
+
} & {
|
|
1540
|
+
fieldset?: string | null | undefined;
|
|
1541
|
+
config?: {
|
|
1542
|
+
label?: string | null | undefined;
|
|
1543
|
+
};
|
|
1544
|
+
}) | ({
|
|
1545
|
+
type: "Image";
|
|
1546
|
+
} & {
|
|
1547
|
+
fieldset?: string | null | undefined;
|
|
1548
|
+
config?: {
|
|
1549
|
+
label?: string | null | undefined;
|
|
1550
|
+
placeholder?: string;
|
|
1551
|
+
constraint?: {
|
|
1552
|
+
width?: number | null;
|
|
1553
|
+
height?: number | null;
|
|
1554
|
+
};
|
|
1555
|
+
thumbnails?: readonly ({
|
|
1556
|
+
name: string;
|
|
1557
|
+
} & {
|
|
1558
|
+
width?: number | null;
|
|
1559
|
+
height?: number | null;
|
|
1560
|
+
})[];
|
|
1561
|
+
};
|
|
1562
|
+
}) | ({
|
|
1563
|
+
type: "IntegrationFields";
|
|
1564
|
+
} & {
|
|
1565
|
+
fieldset?: string | null | undefined;
|
|
1566
|
+
config?: {
|
|
1567
|
+
label?: string | null | undefined;
|
|
1568
|
+
placeholder?: string;
|
|
1569
|
+
catalog?: string;
|
|
1570
|
+
};
|
|
1571
|
+
}) | ({
|
|
1572
|
+
type: "Link";
|
|
1573
|
+
} & {
|
|
1574
|
+
fieldset?: string | null | undefined;
|
|
1575
|
+
config?: {
|
|
1576
|
+
label?: string | null | undefined;
|
|
1577
|
+
useAsTitle?: boolean;
|
|
1578
|
+
placeholder?: string;
|
|
1579
|
+
select?: "media" | "document" | "web" | null;
|
|
1580
|
+
customtypes?: readonly string[];
|
|
1581
|
+
masks?: readonly string[];
|
|
1582
|
+
tags?: readonly string[];
|
|
1583
|
+
allowTargetBlank?: boolean;
|
|
1584
|
+
};
|
|
1585
|
+
}) | ({
|
|
1586
|
+
type: "Number";
|
|
1587
|
+
} & {
|
|
1588
|
+
fieldset?: string | null | undefined;
|
|
1589
|
+
config?: {
|
|
1590
|
+
label?: string | null | undefined;
|
|
1591
|
+
placeholder?: string;
|
|
1592
|
+
min?: number;
|
|
1593
|
+
max?: number;
|
|
1594
|
+
step?: number;
|
|
1595
|
+
};
|
|
1596
|
+
}) | ({
|
|
1597
|
+
type: "Range";
|
|
1598
|
+
} & {
|
|
1599
|
+
fieldset?: string | null | undefined;
|
|
1600
|
+
config?: {
|
|
1601
|
+
label?: string | null | undefined;
|
|
1602
|
+
placeholder?: string;
|
|
1603
|
+
min?: number;
|
|
1604
|
+
max?: number;
|
|
1605
|
+
step?: number;
|
|
1606
|
+
};
|
|
1607
|
+
}) | ({
|
|
1608
|
+
type: "StructuredText";
|
|
1609
|
+
} & {
|
|
1610
|
+
fieldset?: string | null | undefined;
|
|
1611
|
+
config?: {
|
|
1612
|
+
label?: string | null | undefined;
|
|
1613
|
+
placeholder?: string;
|
|
1614
|
+
useAsTitle?: boolean;
|
|
1615
|
+
single?: string;
|
|
1616
|
+
multi?: string;
|
|
1617
|
+
imageConstraint?: {
|
|
1618
|
+
width?: number | null;
|
|
1619
|
+
height?: number | null;
|
|
1620
|
+
};
|
|
1621
|
+
labels?: readonly string[];
|
|
1622
|
+
allowTargetBlank?: boolean;
|
|
1623
|
+
};
|
|
1624
|
+
}) | ({
|
|
1625
|
+
type: "Select";
|
|
1626
|
+
} & {
|
|
1627
|
+
fieldset?: string | null | undefined;
|
|
1628
|
+
config?: {
|
|
1629
|
+
label?: string | null | undefined;
|
|
1630
|
+
placeholder?: string;
|
|
1631
|
+
default_value?: string;
|
|
1632
|
+
options?: readonly string[];
|
|
1633
|
+
};
|
|
1634
|
+
}) | ({
|
|
1635
|
+
type: "Separator";
|
|
1636
|
+
} & {
|
|
1637
|
+
config?: {
|
|
1638
|
+
label?: string | null | undefined;
|
|
1639
|
+
};
|
|
1640
|
+
}) | ({
|
|
1641
|
+
type: "Text";
|
|
1642
|
+
} & {
|
|
1643
|
+
fieldset?: string | null | undefined;
|
|
1644
|
+
config?: {
|
|
1645
|
+
label?: string | null | undefined;
|
|
1646
|
+
useAsTitle?: boolean;
|
|
1647
|
+
placeholder?: string;
|
|
1648
|
+
};
|
|
1649
|
+
}) | ({
|
|
1650
|
+
type: "Timestamp";
|
|
1651
|
+
} & {
|
|
1652
|
+
fieldset?: string | null | undefined;
|
|
1653
|
+
config?: {
|
|
1654
|
+
label?: string | null | undefined;
|
|
1655
|
+
placeholder?: string;
|
|
1656
|
+
default?: string;
|
|
1657
|
+
};
|
|
1658
|
+
}) | ({
|
|
1659
|
+
type: "Group";
|
|
1660
|
+
} & {
|
|
1661
|
+
fieldset?: string | null | undefined;
|
|
1662
|
+
icon?: string;
|
|
1663
|
+
description?: string;
|
|
1664
|
+
config?: {
|
|
1665
|
+
label?: string | null | undefined;
|
|
1666
|
+
repeat?: boolean;
|
|
1667
|
+
fields?: {
|
|
1668
|
+
[x: string]: ({
|
|
1669
|
+
type: "Boolean";
|
|
1670
|
+
} & {
|
|
1671
|
+
config?: {
|
|
1672
|
+
label?: string | null | undefined;
|
|
1673
|
+
default_value?: boolean;
|
|
1674
|
+
placeholder_true?: string;
|
|
1675
|
+
placeholder_false?: string;
|
|
1676
|
+
};
|
|
1677
|
+
}) | ({
|
|
1678
|
+
type: "Color";
|
|
1679
|
+
} & {
|
|
1680
|
+
fieldset?: string | null | undefined;
|
|
1681
|
+
config?: {
|
|
1682
|
+
label?: string | null | undefined;
|
|
1683
|
+
placeholder?: string;
|
|
1684
|
+
};
|
|
1685
|
+
}) | ({
|
|
1686
|
+
type: "Date";
|
|
1687
|
+
} & {
|
|
1688
|
+
fieldset?: string | null | undefined;
|
|
1689
|
+
config?: {
|
|
1690
|
+
label?: string | null | undefined;
|
|
1691
|
+
placeholder?: string;
|
|
1692
|
+
default?: string;
|
|
1693
|
+
};
|
|
1694
|
+
}) | ({
|
|
1695
|
+
type: "Embed";
|
|
1696
|
+
} & {
|
|
1697
|
+
fieldset?: string | null | undefined;
|
|
1698
|
+
config?: {
|
|
1699
|
+
label?: string | null | undefined;
|
|
1700
|
+
placeholder?: string;
|
|
1701
|
+
useAsTitle?: boolean;
|
|
1702
|
+
};
|
|
1703
|
+
}) | ({
|
|
1704
|
+
type: "GeoPoint";
|
|
1705
|
+
} & {
|
|
1706
|
+
fieldset?: string | null | undefined;
|
|
1707
|
+
config?: {
|
|
1708
|
+
label?: string | null | undefined;
|
|
1709
|
+
};
|
|
1710
|
+
}) | ({
|
|
1711
|
+
type: "Image";
|
|
1712
|
+
} & {
|
|
1713
|
+
fieldset?: string | null | undefined;
|
|
1714
|
+
config?: {
|
|
1715
|
+
label?: string | null | undefined;
|
|
1716
|
+
placeholder?: string;
|
|
1717
|
+
constraint?: {
|
|
1718
|
+
width?: number | null;
|
|
1719
|
+
height?: number | null;
|
|
1720
|
+
};
|
|
1721
|
+
thumbnails?: readonly ({
|
|
1722
|
+
name: string;
|
|
1723
|
+
} & {
|
|
1724
|
+
width?: number | null;
|
|
1725
|
+
height?: number | null;
|
|
1726
|
+
})[];
|
|
1727
|
+
};
|
|
1728
|
+
}) | ({
|
|
1729
|
+
type: "IntegrationFields";
|
|
1730
|
+
} & {
|
|
1731
|
+
fieldset?: string | null | undefined;
|
|
1732
|
+
config?: {
|
|
1733
|
+
label?: string | null | undefined;
|
|
1734
|
+
placeholder?: string;
|
|
1735
|
+
catalog?: string;
|
|
1736
|
+
};
|
|
1737
|
+
}) | ({
|
|
1738
|
+
type: "Link";
|
|
1739
|
+
} & {
|
|
1740
|
+
fieldset?: string | null | undefined;
|
|
1741
|
+
config?: {
|
|
1742
|
+
label?: string | null | undefined;
|
|
1743
|
+
useAsTitle?: boolean;
|
|
1744
|
+
placeholder?: string;
|
|
1745
|
+
select?: "media" | "document" | "web" | null;
|
|
1746
|
+
customtypes?: readonly string[];
|
|
1747
|
+
masks?: readonly string[];
|
|
1748
|
+
tags?: readonly string[];
|
|
1749
|
+
allowTargetBlank?: boolean;
|
|
1750
|
+
};
|
|
1751
|
+
}) | ({
|
|
1752
|
+
type: "Number";
|
|
1753
|
+
} & {
|
|
1754
|
+
fieldset?: string | null | undefined;
|
|
1755
|
+
config?: {
|
|
1756
|
+
label?: string | null | undefined;
|
|
1757
|
+
placeholder?: string;
|
|
1758
|
+
min?: number;
|
|
1759
|
+
max?: number;
|
|
1760
|
+
step?: number;
|
|
1761
|
+
};
|
|
1762
|
+
}) | ({
|
|
1763
|
+
type: "Range";
|
|
1764
|
+
} & {
|
|
1765
|
+
fieldset?: string | null | undefined;
|
|
1766
|
+
config?: {
|
|
1767
|
+
label?: string | null | undefined;
|
|
1768
|
+
placeholder?: string;
|
|
1769
|
+
min?: number;
|
|
1770
|
+
max?: number;
|
|
1771
|
+
step?: number;
|
|
1772
|
+
};
|
|
1773
|
+
}) | ({
|
|
1774
|
+
type: "StructuredText";
|
|
1775
|
+
} & {
|
|
1776
|
+
fieldset?: string | null | undefined;
|
|
1777
|
+
config?: {
|
|
1778
|
+
label?: string | null | undefined;
|
|
1779
|
+
placeholder?: string;
|
|
1780
|
+
useAsTitle?: boolean;
|
|
1781
|
+
single?: string;
|
|
1782
|
+
multi?: string;
|
|
1783
|
+
imageConstraint?: {
|
|
1784
|
+
width?: number | null;
|
|
1785
|
+
height?: number | null;
|
|
1786
|
+
};
|
|
1787
|
+
labels?: readonly string[];
|
|
1788
|
+
allowTargetBlank?: boolean;
|
|
1789
|
+
};
|
|
1790
|
+
}) | ({
|
|
1791
|
+
type: "Select";
|
|
1792
|
+
} & {
|
|
1793
|
+
fieldset?: string | null | undefined;
|
|
1794
|
+
config?: {
|
|
1795
|
+
label?: string | null | undefined;
|
|
1796
|
+
placeholder?: string;
|
|
1797
|
+
default_value?: string;
|
|
1798
|
+
options?: readonly string[];
|
|
1799
|
+
};
|
|
1800
|
+
}) | ({
|
|
1801
|
+
type: "Separator";
|
|
1802
|
+
} & {
|
|
1803
|
+
config?: {
|
|
1804
|
+
label?: string | null | undefined;
|
|
1805
|
+
};
|
|
1806
|
+
}) | ({
|
|
1807
|
+
type: "Text";
|
|
1808
|
+
} & {
|
|
1809
|
+
fieldset?: string | null | undefined;
|
|
1810
|
+
config?: {
|
|
1811
|
+
label?: string | null | undefined;
|
|
1812
|
+
useAsTitle?: boolean;
|
|
1813
|
+
placeholder?: string;
|
|
1814
|
+
};
|
|
1815
|
+
}) | ({
|
|
1816
|
+
type: "Timestamp";
|
|
1817
|
+
} & {
|
|
1818
|
+
fieldset?: string | null | undefined;
|
|
1819
|
+
config?: {
|
|
1820
|
+
label?: string | null | undefined;
|
|
1821
|
+
placeholder?: string;
|
|
1822
|
+
default?: string;
|
|
1823
|
+
};
|
|
1824
|
+
});
|
|
1825
|
+
};
|
|
1826
|
+
};
|
|
1827
|
+
});
|
|
1828
|
+
};
|
|
1829
|
+
};
|
|
1830
|
+
});
|
|
1159
1831
|
};
|
|
1160
1832
|
items?: {
|
|
1161
1833
|
[x: string]: ({
|
|
@@ -1488,7 +2160,174 @@ export declare const DynamicSlicesConfig: t.ExactC<t.PartialC<{
|
|
|
1488
2160
|
placeholder: t.StringC;
|
|
1489
2161
|
catalog: t.StringC;
|
|
1490
2162
|
}>>;
|
|
1491
|
-
}>]>>]>, t.
|
|
2163
|
+
}>]>>]>, t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
2164
|
+
type: t.LiteralC<"Group">;
|
|
2165
|
+
}>, t.PartialC<{
|
|
2166
|
+
fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
2167
|
+
icon: t.StringC;
|
|
2168
|
+
description: t.StringC;
|
|
2169
|
+
config: t.ExactC<t.PartialC<{
|
|
2170
|
+
label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
2171
|
+
repeat: t.BooleanC;
|
|
2172
|
+
fields: t.RecordC<t.Type<string, string, unknown>, t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
2173
|
+
type: t.LiteralC<"Color">;
|
|
2174
|
+
}>, t.PartialC<{
|
|
2175
|
+
fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
2176
|
+
config: t.ExactC<t.PartialC<{
|
|
2177
|
+
label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
2178
|
+
placeholder: t.StringC;
|
|
2179
|
+
}>>;
|
|
2180
|
+
}>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
2181
|
+
type: t.LiteralC<"Boolean">;
|
|
2182
|
+
}>, t.PartialC<{
|
|
2183
|
+
config: t.ExactC<t.PartialC<{
|
|
2184
|
+
label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
2185
|
+
default_value: t.BooleanC;
|
|
2186
|
+
placeholder_true: t.StringC;
|
|
2187
|
+
placeholder_false: t.StringC;
|
|
2188
|
+
}>>;
|
|
2189
|
+
}>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
2190
|
+
type: t.LiteralC<"Embed">;
|
|
2191
|
+
}>, t.PartialC<{
|
|
2192
|
+
fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
2193
|
+
config: t.ExactC<t.PartialC<{
|
|
2194
|
+
label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
2195
|
+
placeholder: t.StringC;
|
|
2196
|
+
useAsTitle: t.BooleanC;
|
|
2197
|
+
}>>;
|
|
2198
|
+
}>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
2199
|
+
type: t.LiteralC<"GeoPoint">;
|
|
2200
|
+
}>, t.PartialC<{
|
|
2201
|
+
fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
2202
|
+
config: t.ExactC<t.PartialC<{
|
|
2203
|
+
label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
2204
|
+
}>>;
|
|
2205
|
+
}>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
2206
|
+
type: t.LiteralC<"Date">;
|
|
2207
|
+
}>, t.PartialC<{
|
|
2208
|
+
fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
2209
|
+
config: t.ExactC<t.PartialC<{
|
|
2210
|
+
label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
2211
|
+
placeholder: t.StringC;
|
|
2212
|
+
default: t.StringC;
|
|
2213
|
+
}>>;
|
|
2214
|
+
}>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
2215
|
+
type: t.LiteralC<"Number">;
|
|
2216
|
+
}>, t.PartialC<{
|
|
2217
|
+
fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
2218
|
+
config: t.ExactC<t.PartialC<{
|
|
2219
|
+
label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
2220
|
+
placeholder: t.StringC;
|
|
2221
|
+
min: t.UnionC<[t.NumberC, import("io-ts-types").NumberFromStringC]>;
|
|
2222
|
+
max: t.UnionC<[t.NumberC, import("io-ts-types").NumberFromStringC]>;
|
|
2223
|
+
step: t.UnionC<[t.NumberC, import("io-ts-types").NumberFromStringC]>;
|
|
2224
|
+
}>>;
|
|
2225
|
+
}>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
2226
|
+
type: t.LiteralC<"Range">;
|
|
2227
|
+
}>, t.PartialC<{
|
|
2228
|
+
fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
2229
|
+
config: t.ExactC<t.PartialC<{
|
|
2230
|
+
label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
2231
|
+
placeholder: t.StringC;
|
|
2232
|
+
min: t.UnionC<[t.NumberC, import("io-ts-types").NumberFromStringC]>;
|
|
2233
|
+
max: t.UnionC<[t.NumberC, import("io-ts-types").NumberFromStringC]>;
|
|
2234
|
+
step: t.UnionC<[t.NumberC, import("io-ts-types").NumberFromStringC]>;
|
|
2235
|
+
}>>;
|
|
2236
|
+
}>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
2237
|
+
type: t.LiteralC<"StructuredText">;
|
|
2238
|
+
}>, t.PartialC<{
|
|
2239
|
+
fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
2240
|
+
config: t.ExactC<t.PartialC<{
|
|
2241
|
+
label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
2242
|
+
placeholder: t.StringC;
|
|
2243
|
+
useAsTitle: t.BooleanC;
|
|
2244
|
+
single: t.Type<string, string, unknown>;
|
|
2245
|
+
multi: t.Type<string, string, unknown>;
|
|
2246
|
+
imageConstraint: t.PartialC<{
|
|
2247
|
+
width: t.Type<number | null, unknown, unknown>;
|
|
2248
|
+
height: t.Type<number | null, unknown, unknown>;
|
|
2249
|
+
}>;
|
|
2250
|
+
labels: t.Type<readonly string[], object, unknown>;
|
|
2251
|
+
allowTargetBlank: t.BooleanC;
|
|
2252
|
+
}>>;
|
|
2253
|
+
}>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
2254
|
+
type: t.LiteralC<"Select">;
|
|
2255
|
+
}>, t.PartialC<{
|
|
2256
|
+
fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
2257
|
+
config: t.ExactC<t.PartialC<{
|
|
2258
|
+
label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
2259
|
+
placeholder: t.StringC;
|
|
2260
|
+
default_value: t.StringC;
|
|
2261
|
+
options: t.ReadonlyArrayC<t.UnionC<[t.StringC, t.Type<string, string, unknown>, t.Type<string, string, unknown>]>>;
|
|
2262
|
+
}>>;
|
|
2263
|
+
}>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
2264
|
+
type: t.LiteralC<"Separator">;
|
|
2265
|
+
}>, t.PartialC<{
|
|
2266
|
+
config: t.ExactC<t.PartialC<{
|
|
2267
|
+
label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
2268
|
+
}>>;
|
|
2269
|
+
}>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
2270
|
+
type: t.LiteralC<"Text">;
|
|
2271
|
+
}>, t.PartialC<{
|
|
2272
|
+
fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
2273
|
+
config: t.ExactC<t.PartialC<{
|
|
2274
|
+
label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
2275
|
+
useAsTitle: t.BooleanC;
|
|
2276
|
+
placeholder: t.StringC;
|
|
2277
|
+
}>>;
|
|
2278
|
+
}>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
2279
|
+
type: t.LiteralC<"Timestamp">;
|
|
2280
|
+
}>, t.PartialC<{
|
|
2281
|
+
fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
2282
|
+
config: t.ExactC<t.PartialC<{
|
|
2283
|
+
label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
2284
|
+
placeholder: t.StringC;
|
|
2285
|
+
default: t.StringC;
|
|
2286
|
+
}>>;
|
|
2287
|
+
}>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
2288
|
+
type: t.LiteralC<"Link">;
|
|
2289
|
+
}>, t.PartialC<{
|
|
2290
|
+
fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
2291
|
+
config: t.ExactC<t.PartialC<{
|
|
2292
|
+
label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
2293
|
+
useAsTitle: t.BooleanC;
|
|
2294
|
+
placeholder: t.StringC;
|
|
2295
|
+
select: t.UnionC<[t.LiteralC<"media">, t.LiteralC<"document">, t.LiteralC<"web">, t.NullC]>;
|
|
2296
|
+
customtypes: t.ReadonlyArrayC<t.StringC>;
|
|
2297
|
+
masks: t.Type<readonly string[], object, unknown>;
|
|
2298
|
+
tags: t.Type<readonly string[], object, unknown>;
|
|
2299
|
+
allowTargetBlank: t.BooleanC;
|
|
2300
|
+
}>>;
|
|
2301
|
+
}>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
2302
|
+
type: t.LiteralC<"Image">;
|
|
2303
|
+
}>, t.PartialC<{
|
|
2304
|
+
fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
2305
|
+
config: t.ExactC<t.PartialC<{
|
|
2306
|
+
label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
2307
|
+
placeholder: t.StringC;
|
|
2308
|
+
constraint: t.PartialC<{
|
|
2309
|
+
width: t.Type<number | null, unknown, unknown>;
|
|
2310
|
+
height: t.Type<number | null, unknown, unknown>;
|
|
2311
|
+
}>;
|
|
2312
|
+
thumbnails: t.ReadonlyArrayC<t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
2313
|
+
name: t.StringC;
|
|
2314
|
+
}>, t.PartialC<{
|
|
2315
|
+
width: t.Type<number | null, unknown, unknown>;
|
|
2316
|
+
height: t.Type<number | null, unknown, unknown>;
|
|
2317
|
+
}>]>>>;
|
|
2318
|
+
}>>;
|
|
2319
|
+
}>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
2320
|
+
type: t.LiteralC<"IntegrationFields">;
|
|
2321
|
+
}>, t.PartialC<{
|
|
2322
|
+
fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
2323
|
+
config: t.ExactC<t.PartialC<{
|
|
2324
|
+
label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
2325
|
+
placeholder: t.StringC;
|
|
2326
|
+
catalog: t.StringC;
|
|
2327
|
+
}>>;
|
|
2328
|
+
}>]>>]>>;
|
|
2329
|
+
}>>;
|
|
2330
|
+
}>]>>]>, t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
1492
2331
|
type: t.LiteralC<"Slice">;
|
|
1493
2332
|
}>, t.PartialC<{
|
|
1494
2333
|
fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
@@ -1999,7 +2838,176 @@ export declare const StaticSlices: t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
|
1999
2838
|
placeholder?: string;
|
|
2000
2839
|
default?: string;
|
|
2001
2840
|
};
|
|
2002
|
-
}) |
|
|
2841
|
+
}) | ({
|
|
2842
|
+
type: "Group";
|
|
2843
|
+
} & {
|
|
2844
|
+
fieldset?: string | null | undefined;
|
|
2845
|
+
icon?: string;
|
|
2846
|
+
description?: string;
|
|
2847
|
+
config?: {
|
|
2848
|
+
label?: string | null | undefined;
|
|
2849
|
+
repeat?: boolean;
|
|
2850
|
+
fields?: {
|
|
2851
|
+
[x: string]: ({
|
|
2852
|
+
type: "Boolean";
|
|
2853
|
+
} & {
|
|
2854
|
+
config?: {
|
|
2855
|
+
label?: string | null | undefined;
|
|
2856
|
+
default_value?: boolean;
|
|
2857
|
+
placeholder_true?: string;
|
|
2858
|
+
placeholder_false?: string;
|
|
2859
|
+
};
|
|
2860
|
+
}) | ({
|
|
2861
|
+
type: "Color";
|
|
2862
|
+
} & {
|
|
2863
|
+
fieldset?: string | null | undefined;
|
|
2864
|
+
config?: {
|
|
2865
|
+
label?: string | null | undefined;
|
|
2866
|
+
placeholder?: string;
|
|
2867
|
+
};
|
|
2868
|
+
}) | ({
|
|
2869
|
+
type: "Date";
|
|
2870
|
+
} & {
|
|
2871
|
+
fieldset?: string | null | undefined;
|
|
2872
|
+
config?: {
|
|
2873
|
+
label?: string | null | undefined;
|
|
2874
|
+
placeholder?: string;
|
|
2875
|
+
default?: string;
|
|
2876
|
+
};
|
|
2877
|
+
}) | ({
|
|
2878
|
+
type: "Embed";
|
|
2879
|
+
} & {
|
|
2880
|
+
fieldset?: string | null | undefined;
|
|
2881
|
+
config?: {
|
|
2882
|
+
label?: string | null | undefined;
|
|
2883
|
+
placeholder?: string;
|
|
2884
|
+
useAsTitle?: boolean;
|
|
2885
|
+
};
|
|
2886
|
+
}) | ({
|
|
2887
|
+
type: "GeoPoint";
|
|
2888
|
+
} & {
|
|
2889
|
+
fieldset?: string | null | undefined;
|
|
2890
|
+
config?: {
|
|
2891
|
+
label?: string | null | undefined;
|
|
2892
|
+
};
|
|
2893
|
+
}) | ({
|
|
2894
|
+
type: "Image";
|
|
2895
|
+
} & {
|
|
2896
|
+
fieldset?: string | null | undefined;
|
|
2897
|
+
config?: {
|
|
2898
|
+
label?: string | null | undefined;
|
|
2899
|
+
placeholder?: string;
|
|
2900
|
+
constraint?: {
|
|
2901
|
+
width?: number | null;
|
|
2902
|
+
height?: number | null;
|
|
2903
|
+
};
|
|
2904
|
+
thumbnails?: readonly ({
|
|
2905
|
+
name: string;
|
|
2906
|
+
} & {
|
|
2907
|
+
width?: number | null;
|
|
2908
|
+
height?: number | null;
|
|
2909
|
+
})[];
|
|
2910
|
+
};
|
|
2911
|
+
}) | ({
|
|
2912
|
+
type: "IntegrationFields";
|
|
2913
|
+
} & {
|
|
2914
|
+
fieldset?: string | null | undefined;
|
|
2915
|
+
config?: {
|
|
2916
|
+
label?: string | null | undefined;
|
|
2917
|
+
placeholder?: string;
|
|
2918
|
+
catalog?: string;
|
|
2919
|
+
};
|
|
2920
|
+
}) | ({
|
|
2921
|
+
type: "Link";
|
|
2922
|
+
} & {
|
|
2923
|
+
fieldset?: string | null | undefined;
|
|
2924
|
+
config?: {
|
|
2925
|
+
label?: string | null | undefined;
|
|
2926
|
+
useAsTitle?: boolean;
|
|
2927
|
+
placeholder?: string;
|
|
2928
|
+
select?: "media" | "document" | "web" | null;
|
|
2929
|
+
customtypes?: readonly string[];
|
|
2930
|
+
masks?: readonly string[];
|
|
2931
|
+
tags?: readonly string[];
|
|
2932
|
+
allowTargetBlank?: boolean;
|
|
2933
|
+
};
|
|
2934
|
+
}) | ({
|
|
2935
|
+
type: "Number";
|
|
2936
|
+
} & {
|
|
2937
|
+
fieldset?: string | null | undefined;
|
|
2938
|
+
config?: {
|
|
2939
|
+
label?: string | null | undefined;
|
|
2940
|
+
placeholder?: string;
|
|
2941
|
+
min?: number;
|
|
2942
|
+
max?: number;
|
|
2943
|
+
step?: number;
|
|
2944
|
+
};
|
|
2945
|
+
}) | ({
|
|
2946
|
+
type: "Range";
|
|
2947
|
+
} & {
|
|
2948
|
+
fieldset?: string | null | undefined;
|
|
2949
|
+
config?: {
|
|
2950
|
+
label?: string | null | undefined;
|
|
2951
|
+
placeholder?: string;
|
|
2952
|
+
min?: number;
|
|
2953
|
+
max?: number;
|
|
2954
|
+
step?: number;
|
|
2955
|
+
};
|
|
2956
|
+
}) | ({
|
|
2957
|
+
type: "StructuredText";
|
|
2958
|
+
} & {
|
|
2959
|
+
fieldset?: string | null | undefined;
|
|
2960
|
+
config?: {
|
|
2961
|
+
label?: string | null | undefined;
|
|
2962
|
+
placeholder?: string;
|
|
2963
|
+
useAsTitle?: boolean;
|
|
2964
|
+
single?: string;
|
|
2965
|
+
multi?: string;
|
|
2966
|
+
imageConstraint?: {
|
|
2967
|
+
width?: number | null;
|
|
2968
|
+
height?: number | null;
|
|
2969
|
+
};
|
|
2970
|
+
labels?: readonly string[];
|
|
2971
|
+
allowTargetBlank?: boolean;
|
|
2972
|
+
};
|
|
2973
|
+
}) | ({
|
|
2974
|
+
type: "Select";
|
|
2975
|
+
} & {
|
|
2976
|
+
fieldset?: string | null | undefined;
|
|
2977
|
+
config?: {
|
|
2978
|
+
label?: string | null | undefined;
|
|
2979
|
+
placeholder?: string;
|
|
2980
|
+
default_value?: string;
|
|
2981
|
+
options?: readonly string[];
|
|
2982
|
+
};
|
|
2983
|
+
}) | ({
|
|
2984
|
+
type: "Separator";
|
|
2985
|
+
} & {
|
|
2986
|
+
config?: {
|
|
2987
|
+
label?: string | null | undefined;
|
|
2988
|
+
};
|
|
2989
|
+
}) | ({
|
|
2990
|
+
type: "Text";
|
|
2991
|
+
} & {
|
|
2992
|
+
fieldset?: string | null | undefined;
|
|
2993
|
+
config?: {
|
|
2994
|
+
label?: string | null | undefined;
|
|
2995
|
+
useAsTitle?: boolean;
|
|
2996
|
+
placeholder?: string;
|
|
2997
|
+
};
|
|
2998
|
+
}) | ({
|
|
2999
|
+
type: "Timestamp";
|
|
3000
|
+
} & {
|
|
3001
|
+
fieldset?: string | null | undefined;
|
|
3002
|
+
config?: {
|
|
3003
|
+
label?: string | null | undefined;
|
|
3004
|
+
placeholder?: string;
|
|
3005
|
+
default?: string;
|
|
3006
|
+
};
|
|
3007
|
+
});
|
|
3008
|
+
};
|
|
3009
|
+
};
|
|
3010
|
+
}) | ({
|
|
2003
3011
|
type: "Slice";
|
|
2004
3012
|
} & {
|
|
2005
3013
|
fieldset?: string | null | undefined;
|
|
@@ -2497,7 +3505,345 @@ export declare const StaticSlices: t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
|
2497
3505
|
placeholder?: string;
|
|
2498
3506
|
default?: string;
|
|
2499
3507
|
};
|
|
2500
|
-
}) |
|
|
3508
|
+
}) | ({
|
|
3509
|
+
type: "Group";
|
|
3510
|
+
} & {
|
|
3511
|
+
fieldset?: string | null | undefined;
|
|
3512
|
+
icon?: string;
|
|
3513
|
+
description?: string;
|
|
3514
|
+
config?: {
|
|
3515
|
+
label?: string | null | undefined;
|
|
3516
|
+
repeat?: boolean;
|
|
3517
|
+
fields?: {
|
|
3518
|
+
[x: string]: ({
|
|
3519
|
+
type: "Boolean";
|
|
3520
|
+
} & {
|
|
3521
|
+
config?: {
|
|
3522
|
+
label?: string | null | undefined;
|
|
3523
|
+
default_value?: boolean;
|
|
3524
|
+
placeholder_true?: string;
|
|
3525
|
+
placeholder_false?: string;
|
|
3526
|
+
};
|
|
3527
|
+
}) | ({
|
|
3528
|
+
type: "Color";
|
|
3529
|
+
} & {
|
|
3530
|
+
fieldset?: string | null | undefined;
|
|
3531
|
+
config?: {
|
|
3532
|
+
label?: string | null | undefined;
|
|
3533
|
+
placeholder?: string;
|
|
3534
|
+
};
|
|
3535
|
+
}) | ({
|
|
3536
|
+
type: "Date";
|
|
3537
|
+
} & {
|
|
3538
|
+
fieldset?: string | null | undefined;
|
|
3539
|
+
config?: {
|
|
3540
|
+
label?: string | null | undefined;
|
|
3541
|
+
placeholder?: string;
|
|
3542
|
+
default?: string;
|
|
3543
|
+
};
|
|
3544
|
+
}) | ({
|
|
3545
|
+
type: "Embed";
|
|
3546
|
+
} & {
|
|
3547
|
+
fieldset?: string | null | undefined;
|
|
3548
|
+
config?: {
|
|
3549
|
+
label?: string | null | undefined;
|
|
3550
|
+
placeholder?: string;
|
|
3551
|
+
useAsTitle?: boolean;
|
|
3552
|
+
};
|
|
3553
|
+
}) | ({
|
|
3554
|
+
type: "GeoPoint";
|
|
3555
|
+
} & {
|
|
3556
|
+
fieldset?: string | null | undefined;
|
|
3557
|
+
config?: {
|
|
3558
|
+
label?: string | null | undefined;
|
|
3559
|
+
};
|
|
3560
|
+
}) | ({
|
|
3561
|
+
type: "Image";
|
|
3562
|
+
} & {
|
|
3563
|
+
fieldset?: string | null | undefined;
|
|
3564
|
+
config?: {
|
|
3565
|
+
label?: string | null | undefined;
|
|
3566
|
+
placeholder?: string;
|
|
3567
|
+
constraint?: {
|
|
3568
|
+
width?: number | null;
|
|
3569
|
+
height?: number | null;
|
|
3570
|
+
};
|
|
3571
|
+
thumbnails?: readonly ({
|
|
3572
|
+
name: string;
|
|
3573
|
+
} & {
|
|
3574
|
+
width?: number | null;
|
|
3575
|
+
height?: number | null;
|
|
3576
|
+
})[];
|
|
3577
|
+
};
|
|
3578
|
+
}) | ({
|
|
3579
|
+
type: "IntegrationFields";
|
|
3580
|
+
} & {
|
|
3581
|
+
fieldset?: string | null | undefined;
|
|
3582
|
+
config?: {
|
|
3583
|
+
label?: string | null | undefined;
|
|
3584
|
+
placeholder?: string;
|
|
3585
|
+
catalog?: string;
|
|
3586
|
+
};
|
|
3587
|
+
}) | ({
|
|
3588
|
+
type: "Link";
|
|
3589
|
+
} & {
|
|
3590
|
+
fieldset?: string | null | undefined;
|
|
3591
|
+
config?: {
|
|
3592
|
+
label?: string | null | undefined;
|
|
3593
|
+
useAsTitle?: boolean;
|
|
3594
|
+
placeholder?: string;
|
|
3595
|
+
select?: "media" | "document" | "web" | null;
|
|
3596
|
+
customtypes?: readonly string[];
|
|
3597
|
+
masks?: readonly string[];
|
|
3598
|
+
tags?: readonly string[];
|
|
3599
|
+
allowTargetBlank?: boolean;
|
|
3600
|
+
};
|
|
3601
|
+
}) | ({
|
|
3602
|
+
type: "Number";
|
|
3603
|
+
} & {
|
|
3604
|
+
fieldset?: string | null | undefined;
|
|
3605
|
+
config?: {
|
|
3606
|
+
label?: string | null | undefined;
|
|
3607
|
+
placeholder?: string;
|
|
3608
|
+
min?: number;
|
|
3609
|
+
max?: number;
|
|
3610
|
+
step?: number;
|
|
3611
|
+
};
|
|
3612
|
+
}) | ({
|
|
3613
|
+
type: "Range";
|
|
3614
|
+
} & {
|
|
3615
|
+
fieldset?: string | null | undefined;
|
|
3616
|
+
config?: {
|
|
3617
|
+
label?: string | null | undefined;
|
|
3618
|
+
placeholder?: string;
|
|
3619
|
+
min?: number;
|
|
3620
|
+
max?: number;
|
|
3621
|
+
step?: number;
|
|
3622
|
+
};
|
|
3623
|
+
}) | ({
|
|
3624
|
+
type: "StructuredText";
|
|
3625
|
+
} & {
|
|
3626
|
+
fieldset?: string | null | undefined;
|
|
3627
|
+
config?: {
|
|
3628
|
+
label?: string | null | undefined;
|
|
3629
|
+
placeholder?: string;
|
|
3630
|
+
useAsTitle?: boolean;
|
|
3631
|
+
single?: string;
|
|
3632
|
+
multi?: string;
|
|
3633
|
+
imageConstraint?: {
|
|
3634
|
+
width?: number | null;
|
|
3635
|
+
height?: number | null;
|
|
3636
|
+
};
|
|
3637
|
+
labels?: readonly string[];
|
|
3638
|
+
allowTargetBlank?: boolean;
|
|
3639
|
+
};
|
|
3640
|
+
}) | ({
|
|
3641
|
+
type: "Select";
|
|
3642
|
+
} & {
|
|
3643
|
+
fieldset?: string | null | undefined;
|
|
3644
|
+
config?: {
|
|
3645
|
+
label?: string | null | undefined;
|
|
3646
|
+
placeholder?: string;
|
|
3647
|
+
default_value?: string;
|
|
3648
|
+
options?: readonly string[];
|
|
3649
|
+
};
|
|
3650
|
+
}) | ({
|
|
3651
|
+
type: "Separator";
|
|
3652
|
+
} & {
|
|
3653
|
+
config?: {
|
|
3654
|
+
label?: string | null | undefined;
|
|
3655
|
+
};
|
|
3656
|
+
}) | ({
|
|
3657
|
+
type: "Text";
|
|
3658
|
+
} & {
|
|
3659
|
+
fieldset?: string | null | undefined;
|
|
3660
|
+
config?: {
|
|
3661
|
+
label?: string | null | undefined;
|
|
3662
|
+
useAsTitle?: boolean;
|
|
3663
|
+
placeholder?: string;
|
|
3664
|
+
};
|
|
3665
|
+
}) | ({
|
|
3666
|
+
type: "Timestamp";
|
|
3667
|
+
} & {
|
|
3668
|
+
fieldset?: string | null | undefined;
|
|
3669
|
+
config?: {
|
|
3670
|
+
label?: string | null | undefined;
|
|
3671
|
+
placeholder?: string;
|
|
3672
|
+
default?: string;
|
|
3673
|
+
};
|
|
3674
|
+
}) | ({
|
|
3675
|
+
type: "Group";
|
|
3676
|
+
} & {
|
|
3677
|
+
fieldset?: string | null | undefined;
|
|
3678
|
+
icon?: string;
|
|
3679
|
+
description?: string;
|
|
3680
|
+
config?: {
|
|
3681
|
+
label?: string | null | undefined;
|
|
3682
|
+
repeat?: boolean;
|
|
3683
|
+
fields?: {
|
|
3684
|
+
[x: string]: ({
|
|
3685
|
+
type: "Boolean";
|
|
3686
|
+
} & {
|
|
3687
|
+
config?: {
|
|
3688
|
+
label?: string | null | undefined;
|
|
3689
|
+
default_value?: boolean;
|
|
3690
|
+
placeholder_true?: string;
|
|
3691
|
+
placeholder_false?: string;
|
|
3692
|
+
};
|
|
3693
|
+
}) | ({
|
|
3694
|
+
type: "Color";
|
|
3695
|
+
} & {
|
|
3696
|
+
fieldset?: string | null | undefined;
|
|
3697
|
+
config?: {
|
|
3698
|
+
label?: string | null | undefined;
|
|
3699
|
+
placeholder?: string;
|
|
3700
|
+
};
|
|
3701
|
+
}) | ({
|
|
3702
|
+
type: "Date";
|
|
3703
|
+
} & {
|
|
3704
|
+
fieldset?: string | null | undefined;
|
|
3705
|
+
config?: {
|
|
3706
|
+
label?: string | null | undefined;
|
|
3707
|
+
placeholder?: string;
|
|
3708
|
+
default?: string;
|
|
3709
|
+
};
|
|
3710
|
+
}) | ({
|
|
3711
|
+
type: "Embed";
|
|
3712
|
+
} & {
|
|
3713
|
+
fieldset?: string | null | undefined;
|
|
3714
|
+
config?: {
|
|
3715
|
+
label?: string | null | undefined;
|
|
3716
|
+
placeholder?: string;
|
|
3717
|
+
useAsTitle?: boolean;
|
|
3718
|
+
};
|
|
3719
|
+
}) | ({
|
|
3720
|
+
type: "GeoPoint";
|
|
3721
|
+
} & {
|
|
3722
|
+
fieldset?: string | null | undefined;
|
|
3723
|
+
config?: {
|
|
3724
|
+
label?: string | null | undefined;
|
|
3725
|
+
};
|
|
3726
|
+
}) | ({
|
|
3727
|
+
type: "Image";
|
|
3728
|
+
} & {
|
|
3729
|
+
fieldset?: string | null | undefined;
|
|
3730
|
+
config?: {
|
|
3731
|
+
label?: string | null | undefined;
|
|
3732
|
+
placeholder?: string;
|
|
3733
|
+
constraint?: {
|
|
3734
|
+
width?: number | null;
|
|
3735
|
+
height?: number | null;
|
|
3736
|
+
};
|
|
3737
|
+
thumbnails?: readonly ({
|
|
3738
|
+
name: string;
|
|
3739
|
+
} & {
|
|
3740
|
+
width?: number | null;
|
|
3741
|
+
height?: number | null;
|
|
3742
|
+
})[];
|
|
3743
|
+
};
|
|
3744
|
+
}) | ({
|
|
3745
|
+
type: "IntegrationFields";
|
|
3746
|
+
} & {
|
|
3747
|
+
fieldset?: string | null | undefined;
|
|
3748
|
+
config?: {
|
|
3749
|
+
label?: string | null | undefined;
|
|
3750
|
+
placeholder?: string;
|
|
3751
|
+
catalog?: string;
|
|
3752
|
+
};
|
|
3753
|
+
}) | ({
|
|
3754
|
+
type: "Link";
|
|
3755
|
+
} & {
|
|
3756
|
+
fieldset?: string | null | undefined;
|
|
3757
|
+
config?: {
|
|
3758
|
+
label?: string | null | undefined;
|
|
3759
|
+
useAsTitle?: boolean;
|
|
3760
|
+
placeholder?: string;
|
|
3761
|
+
select?: "media" | "document" | "web" | null;
|
|
3762
|
+
customtypes?: readonly string[];
|
|
3763
|
+
masks?: readonly string[];
|
|
3764
|
+
tags?: readonly string[];
|
|
3765
|
+
allowTargetBlank?: boolean;
|
|
3766
|
+
};
|
|
3767
|
+
}) | ({
|
|
3768
|
+
type: "Number";
|
|
3769
|
+
} & {
|
|
3770
|
+
fieldset?: string | null | undefined;
|
|
3771
|
+
config?: {
|
|
3772
|
+
label?: string | null | undefined;
|
|
3773
|
+
placeholder?: string;
|
|
3774
|
+
min?: number;
|
|
3775
|
+
max?: number;
|
|
3776
|
+
step?: number;
|
|
3777
|
+
};
|
|
3778
|
+
}) | ({
|
|
3779
|
+
type: "Range";
|
|
3780
|
+
} & {
|
|
3781
|
+
fieldset?: string | null | undefined;
|
|
3782
|
+
config?: {
|
|
3783
|
+
label?: string | null | undefined;
|
|
3784
|
+
placeholder?: string;
|
|
3785
|
+
min?: number;
|
|
3786
|
+
max?: number;
|
|
3787
|
+
step?: number;
|
|
3788
|
+
};
|
|
3789
|
+
}) | ({
|
|
3790
|
+
type: "StructuredText";
|
|
3791
|
+
} & {
|
|
3792
|
+
fieldset?: string | null | undefined;
|
|
3793
|
+
config?: {
|
|
3794
|
+
label?: string | null | undefined;
|
|
3795
|
+
placeholder?: string;
|
|
3796
|
+
useAsTitle?: boolean;
|
|
3797
|
+
single?: string;
|
|
3798
|
+
multi?: string;
|
|
3799
|
+
imageConstraint?: {
|
|
3800
|
+
width?: number | null;
|
|
3801
|
+
height?: number | null;
|
|
3802
|
+
};
|
|
3803
|
+
labels?: readonly string[];
|
|
3804
|
+
allowTargetBlank?: boolean;
|
|
3805
|
+
};
|
|
3806
|
+
}) | ({
|
|
3807
|
+
type: "Select";
|
|
3808
|
+
} & {
|
|
3809
|
+
fieldset?: string | null | undefined;
|
|
3810
|
+
config?: {
|
|
3811
|
+
label?: string | null | undefined;
|
|
3812
|
+
placeholder?: string;
|
|
3813
|
+
default_value?: string;
|
|
3814
|
+
options?: readonly string[];
|
|
3815
|
+
};
|
|
3816
|
+
}) | ({
|
|
3817
|
+
type: "Separator";
|
|
3818
|
+
} & {
|
|
3819
|
+
config?: {
|
|
3820
|
+
label?: string | null | undefined;
|
|
3821
|
+
};
|
|
3822
|
+
}) | ({
|
|
3823
|
+
type: "Text";
|
|
3824
|
+
} & {
|
|
3825
|
+
fieldset?: string | null | undefined;
|
|
3826
|
+
config?: {
|
|
3827
|
+
label?: string | null | undefined;
|
|
3828
|
+
useAsTitle?: boolean;
|
|
3829
|
+
placeholder?: string;
|
|
3830
|
+
};
|
|
3831
|
+
}) | ({
|
|
3832
|
+
type: "Timestamp";
|
|
3833
|
+
} & {
|
|
3834
|
+
fieldset?: string | null | undefined;
|
|
3835
|
+
config?: {
|
|
3836
|
+
label?: string | null | undefined;
|
|
3837
|
+
placeholder?: string;
|
|
3838
|
+
default?: string;
|
|
3839
|
+
};
|
|
3840
|
+
});
|
|
3841
|
+
};
|
|
3842
|
+
};
|
|
3843
|
+
});
|
|
3844
|
+
};
|
|
3845
|
+
};
|
|
3846
|
+
});
|
|
2501
3847
|
};
|
|
2502
3848
|
items?: {
|
|
2503
3849
|
[x: string]: ({
|
|
@@ -2842,7 +4188,176 @@ export declare const DynamicSlices: t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
|
2842
4188
|
placeholder?: string;
|
|
2843
4189
|
default?: string;
|
|
2844
4190
|
};
|
|
2845
|
-
}) |
|
|
4191
|
+
}) | ({
|
|
4192
|
+
type: "Group";
|
|
4193
|
+
} & {
|
|
4194
|
+
fieldset?: string | null | undefined;
|
|
4195
|
+
icon?: string;
|
|
4196
|
+
description?: string;
|
|
4197
|
+
config?: {
|
|
4198
|
+
label?: string | null | undefined;
|
|
4199
|
+
repeat?: boolean;
|
|
4200
|
+
fields?: {
|
|
4201
|
+
[x: string]: ({
|
|
4202
|
+
type: "Boolean";
|
|
4203
|
+
} & {
|
|
4204
|
+
config?: {
|
|
4205
|
+
label?: string | null | undefined;
|
|
4206
|
+
default_value?: boolean;
|
|
4207
|
+
placeholder_true?: string;
|
|
4208
|
+
placeholder_false?: string;
|
|
4209
|
+
};
|
|
4210
|
+
}) | ({
|
|
4211
|
+
type: "Color";
|
|
4212
|
+
} & {
|
|
4213
|
+
fieldset?: string | null | undefined;
|
|
4214
|
+
config?: {
|
|
4215
|
+
label?: string | null | undefined;
|
|
4216
|
+
placeholder?: string;
|
|
4217
|
+
};
|
|
4218
|
+
}) | ({
|
|
4219
|
+
type: "Date";
|
|
4220
|
+
} & {
|
|
4221
|
+
fieldset?: string | null | undefined;
|
|
4222
|
+
config?: {
|
|
4223
|
+
label?: string | null | undefined;
|
|
4224
|
+
placeholder?: string;
|
|
4225
|
+
default?: string;
|
|
4226
|
+
};
|
|
4227
|
+
}) | ({
|
|
4228
|
+
type: "Embed";
|
|
4229
|
+
} & {
|
|
4230
|
+
fieldset?: string | null | undefined;
|
|
4231
|
+
config?: {
|
|
4232
|
+
label?: string | null | undefined;
|
|
4233
|
+
placeholder?: string;
|
|
4234
|
+
useAsTitle?: boolean;
|
|
4235
|
+
};
|
|
4236
|
+
}) | ({
|
|
4237
|
+
type: "GeoPoint";
|
|
4238
|
+
} & {
|
|
4239
|
+
fieldset?: string | null | undefined;
|
|
4240
|
+
config?: {
|
|
4241
|
+
label?: string | null | undefined;
|
|
4242
|
+
};
|
|
4243
|
+
}) | ({
|
|
4244
|
+
type: "Image";
|
|
4245
|
+
} & {
|
|
4246
|
+
fieldset?: string | null | undefined;
|
|
4247
|
+
config?: {
|
|
4248
|
+
label?: string | null | undefined;
|
|
4249
|
+
placeholder?: string;
|
|
4250
|
+
constraint?: {
|
|
4251
|
+
width?: number | null;
|
|
4252
|
+
height?: number | null;
|
|
4253
|
+
};
|
|
4254
|
+
thumbnails?: readonly ({
|
|
4255
|
+
name: string;
|
|
4256
|
+
} & {
|
|
4257
|
+
width?: number | null;
|
|
4258
|
+
height?: number | null;
|
|
4259
|
+
})[];
|
|
4260
|
+
};
|
|
4261
|
+
}) | ({
|
|
4262
|
+
type: "IntegrationFields";
|
|
4263
|
+
} & {
|
|
4264
|
+
fieldset?: string | null | undefined;
|
|
4265
|
+
config?: {
|
|
4266
|
+
label?: string | null | undefined;
|
|
4267
|
+
placeholder?: string;
|
|
4268
|
+
catalog?: string;
|
|
4269
|
+
};
|
|
4270
|
+
}) | ({
|
|
4271
|
+
type: "Link";
|
|
4272
|
+
} & {
|
|
4273
|
+
fieldset?: string | null | undefined;
|
|
4274
|
+
config?: {
|
|
4275
|
+
label?: string | null | undefined;
|
|
4276
|
+
useAsTitle?: boolean;
|
|
4277
|
+
placeholder?: string;
|
|
4278
|
+
select?: "media" | "document" | "web" | null;
|
|
4279
|
+
customtypes?: readonly string[];
|
|
4280
|
+
masks?: readonly string[];
|
|
4281
|
+
tags?: readonly string[];
|
|
4282
|
+
allowTargetBlank?: boolean;
|
|
4283
|
+
};
|
|
4284
|
+
}) | ({
|
|
4285
|
+
type: "Number";
|
|
4286
|
+
} & {
|
|
4287
|
+
fieldset?: string | null | undefined;
|
|
4288
|
+
config?: {
|
|
4289
|
+
label?: string | null | undefined;
|
|
4290
|
+
placeholder?: string;
|
|
4291
|
+
min?: number;
|
|
4292
|
+
max?: number;
|
|
4293
|
+
step?: number;
|
|
4294
|
+
};
|
|
4295
|
+
}) | ({
|
|
4296
|
+
type: "Range";
|
|
4297
|
+
} & {
|
|
4298
|
+
fieldset?: string | null | undefined;
|
|
4299
|
+
config?: {
|
|
4300
|
+
label?: string | null | undefined;
|
|
4301
|
+
placeholder?: string;
|
|
4302
|
+
min?: number;
|
|
4303
|
+
max?: number;
|
|
4304
|
+
step?: number;
|
|
4305
|
+
};
|
|
4306
|
+
}) | ({
|
|
4307
|
+
type: "StructuredText";
|
|
4308
|
+
} & {
|
|
4309
|
+
fieldset?: string | null | undefined;
|
|
4310
|
+
config?: {
|
|
4311
|
+
label?: string | null | undefined;
|
|
4312
|
+
placeholder?: string;
|
|
4313
|
+
useAsTitle?: boolean;
|
|
4314
|
+
single?: string;
|
|
4315
|
+
multi?: string;
|
|
4316
|
+
imageConstraint?: {
|
|
4317
|
+
width?: number | null;
|
|
4318
|
+
height?: number | null;
|
|
4319
|
+
};
|
|
4320
|
+
labels?: readonly string[];
|
|
4321
|
+
allowTargetBlank?: boolean;
|
|
4322
|
+
};
|
|
4323
|
+
}) | ({
|
|
4324
|
+
type: "Select";
|
|
4325
|
+
} & {
|
|
4326
|
+
fieldset?: string | null | undefined;
|
|
4327
|
+
config?: {
|
|
4328
|
+
label?: string | null | undefined;
|
|
4329
|
+
placeholder?: string;
|
|
4330
|
+
default_value?: string;
|
|
4331
|
+
options?: readonly string[];
|
|
4332
|
+
};
|
|
4333
|
+
}) | ({
|
|
4334
|
+
type: "Separator";
|
|
4335
|
+
} & {
|
|
4336
|
+
config?: {
|
|
4337
|
+
label?: string | null | undefined;
|
|
4338
|
+
};
|
|
4339
|
+
}) | ({
|
|
4340
|
+
type: "Text";
|
|
4341
|
+
} & {
|
|
4342
|
+
fieldset?: string | null | undefined;
|
|
4343
|
+
config?: {
|
|
4344
|
+
label?: string | null | undefined;
|
|
4345
|
+
useAsTitle?: boolean;
|
|
4346
|
+
placeholder?: string;
|
|
4347
|
+
};
|
|
4348
|
+
}) | ({
|
|
4349
|
+
type: "Timestamp";
|
|
4350
|
+
} & {
|
|
4351
|
+
fieldset?: string | null | undefined;
|
|
4352
|
+
config?: {
|
|
4353
|
+
label?: string | null | undefined;
|
|
4354
|
+
placeholder?: string;
|
|
4355
|
+
default?: string;
|
|
4356
|
+
};
|
|
4357
|
+
});
|
|
4358
|
+
};
|
|
4359
|
+
};
|
|
4360
|
+
}) | ({
|
|
2846
4361
|
type: "Slice";
|
|
2847
4362
|
} & {
|
|
2848
4363
|
fieldset?: string | null | undefined;
|