@prismicio/types-internal 4.0.0 → 4.1.0-canary.18ae460
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/README.md +5 -5
- package/dist/content/boolean.d.ts.map +1 -1
- package/dist/content/boolean.js.map +1 -1
- package/dist/content/codec/link.js.map +1 -1
- package/dist/content/codec/nestable.js +4 -4
- package/dist/content/field.d.ts.map +1 -1
- package/dist/content/field.js +1 -1
- package/dist/content/field.js.map +1 -1
- package/dist/content/group.d.ts.map +1 -1
- package/dist/content/group.js.map +1 -1
- package/dist/content/image.d.ts +3 -1
- package/dist/content/image.d.ts.map +1 -1
- package/dist/content/image.js +3 -3
- package/dist/content/image.js.map +1 -1
- package/dist/content/legacy/boolean.d.ts +1 -0
- package/dist/content/legacy/embed.d.ts +1 -0
- package/dist/content/legacy/empty.d.ts +1 -0
- package/dist/content/legacy/field.d.ts +1 -0
- package/dist/content/legacy/geopoint.d.ts +1 -0
- package/dist/content/legacy/image.d.ts +28 -0
- package/dist/content/legacy/image.d.ts.map +1 -0
- package/dist/content/legacy/image.js +3 -3
- package/dist/content/legacy/image.js.map +1 -1
- package/dist/content/legacy/integrationField.d.ts +1 -0
- package/dist/content/legacy/link.d.ts +10 -10
- package/dist/content/legacy/link.js +23 -23
- package/dist/content/legacy/link.js.map +1 -1
- package/dist/content/legacy/nestable.d.ts +1 -0
- package/dist/content/legacy/nestable.js +1 -1
- package/dist/content/legacy/repeatable.d.ts +1 -0
- package/dist/content/legacy/richText.d.ts +9 -8
- package/dist/content/legacy/richText.d.ts.map +1 -1
- package/dist/content/legacy/richText.js +5 -5
- package/dist/content/legacy/richText.js.map +1 -1
- package/dist/content/legacy/separator.d.ts +1 -0
- package/dist/content/legacy/table.d.ts +1 -0
- package/dist/content/link.d.ts +62 -85
- package/dist/content/link.d.ts.map +1 -1
- package/dist/content/link.js +30 -27
- package/dist/content/link.js.map +1 -1
- package/dist/content/nestable.d.ts.map +1 -1
- package/dist/content/nestable.js +4 -4
- package/dist/content/nestable.js.map +1 -1
- package/dist/content/repeatable.d.ts +4 -69
- package/dist/content/repeatable.d.ts.map +1 -1
- package/dist/content/richText.d.ts +13 -13
- package/dist/content/richText.d.ts.map +1 -1
- package/dist/content/richText.js +9 -9
- package/dist/content/richText.js.map +1 -1
- package/dist/helpers/customTypeModel.d.ts +2 -1
- package/dist/helpers/customTypeModel.d.ts.map +1 -1
- package/dist/helpers/customTypeModel.js +30 -0
- package/dist/helpers/customTypeModel.js.map +1 -1
- package/dist/helpers/imageContent.d.ts +33 -0
- package/dist/helpers/imageContent.d.ts.map +1 -0
- package/dist/helpers/imageContent.js +55 -0
- package/dist/helpers/imageContent.js.map +1 -0
- package/dist/helpers/traverseContent.d.ts +4 -4
- package/dist/helpers/traverseContent.d.ts.map +1 -1
- package/dist/helpers/traverseContent.js +5 -3
- package/dist/helpers/traverseContent.js.map +1 -1
- package/dist/helpers/traverseContentWithModel.d.ts +4 -4
- package/dist/helpers/traverseContentWithModel.js +1 -1
- package/dist/helpers/withDefaultContent.d.ts +21 -0
- package/dist/helpers/withDefaultContent.d.ts.map +1 -0
- package/dist/helpers/withDefaultContent.js +120 -0
- package/dist/helpers/withDefaultContent.js.map +1 -0
- package/dist/index.d.ts +25 -22
- package/dist/index.js +6 -1
- package/dist/io-ts.d.ts +1156 -727
- package/dist/io-ts.d.ts.map +1 -1
- package/dist/io-ts.js +11 -7
- package/dist/io-ts.js.map +1 -1
- package/dist/model/richText.d.ts +20 -1
- package/dist/model/richText.d.ts.map +1 -1
- package/dist/model/richText.js +3 -3
- package/dist/model/richText.js.map +1 -1
- package/dist/model/slice.d.ts +1251 -643
- package/dist/model/slice.d.ts.map +1 -1
- package/dist/model/slice.js +4 -4
- package/dist/model/slice.js.map +1 -1
- package/dist/model/table.js +5 -5
- package/dist/model/table.js.map +1 -1
- package/dist/model/widget.d.ts +1 -3
- package/dist/model/widget.d.ts.map +1 -1
- package/dist/model/widget.js +5 -2
- package/dist/model/widget.js.map +1 -1
- package/dist/zod4.d.ts +2392 -1873
- package/dist/zod4.d.ts.map +1 -1
- package/dist/zod4.js +11 -7
- package/dist/zod4.js.map +1 -1
- package/package.json +19 -12
- package/src/content/boolean.ts +0 -13
- package/src/content/codec/link.ts +12 -12
- package/src/content/field.ts +0 -14
- package/src/content/group.ts +1 -54
- package/src/content/image.ts +3 -91
- package/src/content/legacy/image.ts +4 -4
- package/src/content/legacy/link.ts +46 -46
- package/src/content/legacy/richText.ts +18 -16
- package/src/content/link.ts +100 -89
- package/src/content/nestable.ts +1 -20
- package/src/content/richText.ts +23 -17
- package/src/helpers/customTypeModel.ts +44 -0
- package/src/helpers/imageContent.ts +84 -0
- package/src/helpers/traverseContent.ts +4 -1
- package/src/helpers/withDefaultContent.ts +180 -0
- package/src/index.ts +18 -5
- package/src/io-ts.ts +14 -2
- package/src/model/diff/sharedSlice.ts +2 -2
- package/src/model/diff/variation.ts +7 -7
- package/src/model/richText.ts +5 -2
- package/src/model/slice.ts +6 -8
- package/src/model/table.ts +5 -5
- package/src/model/widget.ts +6 -2
- package/src/zod4.ts +14 -2
- package/src/content/withDefaultValues.ts +0 -114
package/dist/io-ts.d.ts
CHANGED
|
@@ -1,11 +1,12 @@
|
|
|
1
|
-
import { NestableModel } from "./model/nestable.js";
|
|
2
1
|
import { FieldContent } from "./content/field.js";
|
|
2
|
+
import { EmptyLinkContentValue, FilledLinkContentValue, LinkContentValue } from "./content/link.js";
|
|
3
3
|
import { RichTextLegacyBlock } from "./content/legacy/richText.js";
|
|
4
4
|
import { RichTextContent, RichTextContentBlock, RichTextContentSpan } from "./content/richText.js";
|
|
5
5
|
import { NestableContent } from "./content/nestable.js";
|
|
6
6
|
import { GroupItemContent, NestableAndGroupContent } from "./content/group.js";
|
|
7
7
|
import { SliceContent } from "./content/slice.js";
|
|
8
8
|
import { WidgetContent } from "./content/widget.js";
|
|
9
|
+
import { NestableModel } from "./model/nestable.js";
|
|
9
10
|
import { DynamicSliceModel, LegacySliceModel, SliceContentModel, StaticSliceModel } from "./model/slice.js";
|
|
10
11
|
import { DynamicWidgetModel, FieldOrSliceType, StaticWidgetModel } from "./model/widget.js";
|
|
11
12
|
import { LegacyContentCtx } from "./content/codec/legacyContentCtx.js";
|
|
@@ -117,150 +118,50 @@ declare const GeoPointContentSchema: t.Type<{
|
|
|
117
118
|
};
|
|
118
119
|
__TYPE__: "GeoPointContent";
|
|
119
120
|
}, unknown>;
|
|
120
|
-
declare const
|
|
121
|
+
declare const FilledLinkContentSchema: t.Type<{
|
|
121
122
|
__TYPE__: "LinkContent";
|
|
122
123
|
key: string;
|
|
123
124
|
value: {
|
|
124
|
-
kind: "image";
|
|
125
|
-
id: string;
|
|
126
|
-
url: string;
|
|
127
|
-
height: string;
|
|
128
|
-
width: string;
|
|
129
|
-
size: string;
|
|
130
|
-
name: string;
|
|
131
|
-
__TYPE__: "ImageLink";
|
|
132
|
-
date?: string | null | undefined;
|
|
133
|
-
variant?: string | undefined;
|
|
134
|
-
text?: string | undefined;
|
|
135
|
-
} | {
|
|
136
|
-
kind: "file";
|
|
137
|
-
id: string;
|
|
138
|
-
url: string;
|
|
139
|
-
name: string;
|
|
140
|
-
size: string;
|
|
141
|
-
__TYPE__: "FileLink";
|
|
142
|
-
date?: string | null | undefined;
|
|
143
|
-
variant?: string | undefined;
|
|
144
|
-
text?: string | undefined;
|
|
145
|
-
} | {
|
|
146
|
-
kind: "document";
|
|
147
|
-
id: string;
|
|
148
|
-
__TYPE__: "DocumentLink";
|
|
149
|
-
variant?: string | undefined;
|
|
150
|
-
text?: string | undefined;
|
|
151
|
-
} | {
|
|
152
|
-
kind: "web";
|
|
153
|
-
url: string;
|
|
154
|
-
__TYPE__: "ExternalLink";
|
|
155
|
-
target?: string | null | undefined;
|
|
156
|
-
preview?: {
|
|
157
|
-
title?: string | undefined;
|
|
158
|
-
} | null | undefined;
|
|
159
|
-
variant?: string | undefined;
|
|
160
|
-
text?: string | undefined;
|
|
161
|
-
} | {
|
|
162
|
-
kind: "image";
|
|
163
|
-
__TYPE__: "ImageLink";
|
|
164
|
-
variant?: string | undefined;
|
|
165
|
-
text?: string | undefined;
|
|
166
|
-
} | {
|
|
167
|
-
kind: "file";
|
|
168
|
-
__TYPE__: "FileLink";
|
|
169
|
-
variant?: string | undefined;
|
|
170
|
-
text?: string | undefined;
|
|
171
|
-
} | {
|
|
172
|
-
kind: "media";
|
|
173
|
-
__TYPE__: "MediaLink";
|
|
174
|
-
variant?: string | undefined;
|
|
175
|
-
text?: string | undefined;
|
|
176
|
-
} | {
|
|
177
|
-
kind: "document";
|
|
178
|
-
__TYPE__: "DocumentLink";
|
|
179
|
-
variant?: string | undefined;
|
|
180
|
-
text?: string | undefined;
|
|
181
|
-
} | {
|
|
182
|
-
kind: "web";
|
|
183
|
-
__TYPE__: "ExternalLink";
|
|
184
|
-
variant?: string | undefined;
|
|
185
|
-
text?: string | undefined;
|
|
186
|
-
} | {
|
|
187
|
-
kind: "any";
|
|
188
|
-
__TYPE__: "AnyLink";
|
|
189
125
|
variant?: string | undefined;
|
|
190
126
|
text?: string | undefined;
|
|
191
|
-
};
|
|
127
|
+
} & FilledLinkContentValue;
|
|
192
128
|
}, {
|
|
193
129
|
__TYPE__: "LinkContent";
|
|
194
130
|
key: string;
|
|
195
131
|
value: {
|
|
196
|
-
kind: "image";
|
|
197
|
-
id: string;
|
|
198
|
-
url: string;
|
|
199
|
-
height: string;
|
|
200
|
-
width: string;
|
|
201
|
-
size: string;
|
|
202
|
-
name: string;
|
|
203
|
-
__TYPE__: "ImageLink";
|
|
204
|
-
date?: string | null | undefined;
|
|
205
|
-
variant?: string | undefined;
|
|
206
|
-
text?: string | undefined;
|
|
207
|
-
} | {
|
|
208
|
-
kind: "file";
|
|
209
|
-
id: string;
|
|
210
|
-
url: string;
|
|
211
|
-
name: string;
|
|
212
|
-
size: string;
|
|
213
|
-
__TYPE__: "FileLink";
|
|
214
|
-
date?: string | null | undefined;
|
|
215
|
-
variant?: string | undefined;
|
|
216
|
-
text?: string | undefined;
|
|
217
|
-
} | {
|
|
218
|
-
kind: "document";
|
|
219
|
-
id: string;
|
|
220
|
-
__TYPE__: "DocumentLink";
|
|
221
|
-
variant?: string | undefined;
|
|
222
|
-
text?: string | undefined;
|
|
223
|
-
} | {
|
|
224
|
-
kind: "web";
|
|
225
|
-
url: string;
|
|
226
|
-
__TYPE__: "ExternalLink";
|
|
227
|
-
target?: string | null | undefined;
|
|
228
|
-
preview?: {
|
|
229
|
-
title?: string | undefined;
|
|
230
|
-
} | null | undefined;
|
|
231
|
-
variant?: string | undefined;
|
|
232
|
-
text?: string | undefined;
|
|
233
|
-
} | {
|
|
234
|
-
kind: "image";
|
|
235
|
-
__TYPE__: "ImageLink";
|
|
236
|
-
variant?: string | undefined;
|
|
237
|
-
text?: string | undefined;
|
|
238
|
-
} | {
|
|
239
|
-
kind: "file";
|
|
240
|
-
__TYPE__: "FileLink";
|
|
241
132
|
variant?: string | undefined;
|
|
242
133
|
text?: string | undefined;
|
|
243
|
-
}
|
|
244
|
-
|
|
245
|
-
|
|
134
|
+
} & FilledLinkContentValue;
|
|
135
|
+
}, unknown>;
|
|
136
|
+
declare const EmptyLinkContentSchema: t.Type<{
|
|
137
|
+
__TYPE__: "LinkContent";
|
|
138
|
+
key: string;
|
|
139
|
+
value: {
|
|
246
140
|
variant?: string | undefined;
|
|
247
141
|
text?: string | undefined;
|
|
248
|
-
}
|
|
249
|
-
|
|
250
|
-
|
|
142
|
+
} & EmptyLinkContentValue;
|
|
143
|
+
}, {
|
|
144
|
+
__TYPE__: "LinkContent";
|
|
145
|
+
key: string;
|
|
146
|
+
value: {
|
|
251
147
|
variant?: string | undefined;
|
|
252
148
|
text?: string | undefined;
|
|
253
|
-
}
|
|
254
|
-
|
|
255
|
-
|
|
149
|
+
} & EmptyLinkContentValue;
|
|
150
|
+
}, unknown>;
|
|
151
|
+
declare const LinkContentSchema: t.Type<{
|
|
152
|
+
__TYPE__: "LinkContent";
|
|
153
|
+
key: string;
|
|
154
|
+
value: {
|
|
256
155
|
variant?: string | undefined;
|
|
257
156
|
text?: string | undefined;
|
|
258
|
-
}
|
|
259
|
-
|
|
260
|
-
|
|
157
|
+
} & LinkContentValue;
|
|
158
|
+
}, {
|
|
159
|
+
__TYPE__: "LinkContent";
|
|
160
|
+
key: string;
|
|
161
|
+
value: {
|
|
261
162
|
variant?: string | undefined;
|
|
262
163
|
text?: string | undefined;
|
|
263
|
-
};
|
|
164
|
+
} & LinkContentValue;
|
|
264
165
|
}, unknown>;
|
|
265
166
|
declare const NumberContentSchema: t.Type<{
|
|
266
167
|
type: "Number";
|
|
@@ -371,6 +272,49 @@ declare const EmbedContentSchema: t.Type<{
|
|
|
371
272
|
thumbnail_height?: number | null | undefined;
|
|
372
273
|
html?: string | null | undefined;
|
|
373
274
|
}, unknown>;
|
|
275
|
+
declare const ImageContentViewSchema: t.Type<{
|
|
276
|
+
origin: {
|
|
277
|
+
id: string;
|
|
278
|
+
url: string;
|
|
279
|
+
width: number;
|
|
280
|
+
height: number;
|
|
281
|
+
};
|
|
282
|
+
width: number;
|
|
283
|
+
height: number;
|
|
284
|
+
edit: {
|
|
285
|
+
zoom: number;
|
|
286
|
+
crop: {
|
|
287
|
+
x: number;
|
|
288
|
+
y: number;
|
|
289
|
+
};
|
|
290
|
+
background: string;
|
|
291
|
+
};
|
|
292
|
+
url?: string | undefined;
|
|
293
|
+
credits?: string | null | undefined;
|
|
294
|
+
alt?: string | null | undefined;
|
|
295
|
+
provider?: string | null | undefined;
|
|
296
|
+
}, {
|
|
297
|
+
origin: {
|
|
298
|
+
id: string;
|
|
299
|
+
url: string;
|
|
300
|
+
width: number;
|
|
301
|
+
height: number;
|
|
302
|
+
};
|
|
303
|
+
width: number;
|
|
304
|
+
height: number;
|
|
305
|
+
edit: {
|
|
306
|
+
zoom: number;
|
|
307
|
+
crop: {
|
|
308
|
+
x: number;
|
|
309
|
+
y: number;
|
|
310
|
+
};
|
|
311
|
+
background: string;
|
|
312
|
+
};
|
|
313
|
+
url?: string | undefined;
|
|
314
|
+
credits?: string | null | undefined;
|
|
315
|
+
alt?: string | null | undefined;
|
|
316
|
+
provider?: string | null | undefined;
|
|
317
|
+
}, unknown>;
|
|
374
318
|
declare const ImageContentSchema: t.Type<{
|
|
375
319
|
origin: {
|
|
376
320
|
id: string;
|
|
@@ -495,74 +439,9 @@ declare const RepeatableContentSchema: t.Type<{
|
|
|
495
439
|
__TYPE__: "LinkContent";
|
|
496
440
|
key: string;
|
|
497
441
|
value: {
|
|
498
|
-
kind: "image";
|
|
499
|
-
id: string;
|
|
500
|
-
url: string;
|
|
501
|
-
height: string;
|
|
502
|
-
width: string;
|
|
503
|
-
size: string;
|
|
504
|
-
name: string;
|
|
505
|
-
__TYPE__: "ImageLink";
|
|
506
|
-
date?: string | null | undefined;
|
|
507
|
-
variant?: string | undefined;
|
|
508
|
-
text?: string | undefined;
|
|
509
|
-
} | {
|
|
510
|
-
kind: "file";
|
|
511
|
-
id: string;
|
|
512
|
-
url: string;
|
|
513
|
-
name: string;
|
|
514
|
-
size: string;
|
|
515
|
-
__TYPE__: "FileLink";
|
|
516
|
-
date?: string | null | undefined;
|
|
517
|
-
variant?: string | undefined;
|
|
518
|
-
text?: string | undefined;
|
|
519
|
-
} | {
|
|
520
|
-
kind: "document";
|
|
521
|
-
id: string;
|
|
522
|
-
__TYPE__: "DocumentLink";
|
|
523
|
-
variant?: string | undefined;
|
|
524
|
-
text?: string | undefined;
|
|
525
|
-
} | {
|
|
526
|
-
kind: "web";
|
|
527
|
-
url: string;
|
|
528
|
-
__TYPE__: "ExternalLink";
|
|
529
|
-
target?: string | null | undefined;
|
|
530
|
-
preview?: {
|
|
531
|
-
title?: string | undefined;
|
|
532
|
-
} | null | undefined;
|
|
533
|
-
variant?: string | undefined;
|
|
534
|
-
text?: string | undefined;
|
|
535
|
-
} | {
|
|
536
|
-
kind: "image";
|
|
537
|
-
__TYPE__: "ImageLink";
|
|
538
|
-
variant?: string | undefined;
|
|
539
|
-
text?: string | undefined;
|
|
540
|
-
} | {
|
|
541
|
-
kind: "file";
|
|
542
|
-
__TYPE__: "FileLink";
|
|
543
|
-
variant?: string | undefined;
|
|
544
|
-
text?: string | undefined;
|
|
545
|
-
} | {
|
|
546
|
-
kind: "media";
|
|
547
|
-
__TYPE__: "MediaLink";
|
|
548
442
|
variant?: string | undefined;
|
|
549
443
|
text?: string | undefined;
|
|
550
|
-
}
|
|
551
|
-
kind: "document";
|
|
552
|
-
__TYPE__: "DocumentLink";
|
|
553
|
-
variant?: string | undefined;
|
|
554
|
-
text?: string | undefined;
|
|
555
|
-
} | {
|
|
556
|
-
kind: "web";
|
|
557
|
-
__TYPE__: "ExternalLink";
|
|
558
|
-
variant?: string | undefined;
|
|
559
|
-
text?: string | undefined;
|
|
560
|
-
} | {
|
|
561
|
-
kind: "any";
|
|
562
|
-
__TYPE__: "AnyLink";
|
|
563
|
-
variant?: string | undefined;
|
|
564
|
-
text?: string | undefined;
|
|
565
|
-
};
|
|
444
|
+
} & LinkContentValue;
|
|
566
445
|
}[];
|
|
567
446
|
}, {
|
|
568
447
|
__TYPE__: "RepeatableContent";
|
|
@@ -571,74 +450,9 @@ declare const RepeatableContentSchema: t.Type<{
|
|
|
571
450
|
__TYPE__: "LinkContent";
|
|
572
451
|
key: string;
|
|
573
452
|
value: {
|
|
574
|
-
kind: "image";
|
|
575
|
-
id: string;
|
|
576
|
-
url: string;
|
|
577
|
-
height: string;
|
|
578
|
-
width: string;
|
|
579
|
-
size: string;
|
|
580
|
-
name: string;
|
|
581
|
-
__TYPE__: "ImageLink";
|
|
582
|
-
date?: string | null | undefined;
|
|
583
|
-
variant?: string | undefined;
|
|
584
|
-
text?: string | undefined;
|
|
585
|
-
} | {
|
|
586
|
-
kind: "file";
|
|
587
|
-
id: string;
|
|
588
|
-
url: string;
|
|
589
|
-
name: string;
|
|
590
|
-
size: string;
|
|
591
|
-
__TYPE__: "FileLink";
|
|
592
|
-
date?: string | null | undefined;
|
|
593
|
-
variant?: string | undefined;
|
|
594
|
-
text?: string | undefined;
|
|
595
|
-
} | {
|
|
596
|
-
kind: "document";
|
|
597
|
-
id: string;
|
|
598
|
-
__TYPE__: "DocumentLink";
|
|
599
|
-
variant?: string | undefined;
|
|
600
|
-
text?: string | undefined;
|
|
601
|
-
} | {
|
|
602
|
-
kind: "web";
|
|
603
|
-
url: string;
|
|
604
|
-
__TYPE__: "ExternalLink";
|
|
605
|
-
target?: string | null | undefined;
|
|
606
|
-
preview?: {
|
|
607
|
-
title?: string | undefined;
|
|
608
|
-
} | null | undefined;
|
|
609
|
-
variant?: string | undefined;
|
|
610
|
-
text?: string | undefined;
|
|
611
|
-
} | {
|
|
612
|
-
kind: "image";
|
|
613
|
-
__TYPE__: "ImageLink";
|
|
614
|
-
variant?: string | undefined;
|
|
615
|
-
text?: string | undefined;
|
|
616
|
-
} | {
|
|
617
|
-
kind: "file";
|
|
618
|
-
__TYPE__: "FileLink";
|
|
619
|
-
variant?: string | undefined;
|
|
620
|
-
text?: string | undefined;
|
|
621
|
-
} | {
|
|
622
|
-
kind: "media";
|
|
623
|
-
__TYPE__: "MediaLink";
|
|
624
|
-
variant?: string | undefined;
|
|
625
|
-
text?: string | undefined;
|
|
626
|
-
} | {
|
|
627
|
-
kind: "document";
|
|
628
|
-
__TYPE__: "DocumentLink";
|
|
629
|
-
variant?: string | undefined;
|
|
630
|
-
text?: string | undefined;
|
|
631
|
-
} | {
|
|
632
|
-
kind: "web";
|
|
633
|
-
__TYPE__: "ExternalLink";
|
|
634
|
-
variant?: string | undefined;
|
|
635
|
-
text?: string | undefined;
|
|
636
|
-
} | {
|
|
637
|
-
kind: "any";
|
|
638
|
-
__TYPE__: "AnyLink";
|
|
639
453
|
variant?: string | undefined;
|
|
640
454
|
text?: string | undefined;
|
|
641
|
-
};
|
|
455
|
+
} & LinkContentValue;
|
|
642
456
|
}[];
|
|
643
457
|
}, unknown>;
|
|
644
458
|
declare const NestableContentSchema: t.Type<NestableContent, NestableContent, unknown>;
|
|
@@ -970,6 +784,13 @@ declare const LinkLegacy: (ctx: LegacyContentCtx) => t.Type<{
|
|
|
970
784
|
__TYPE__: "LinkContent";
|
|
971
785
|
key: string;
|
|
972
786
|
value: {
|
|
787
|
+
variant?: string | undefined;
|
|
788
|
+
text?: string | undefined;
|
|
789
|
+
} & LinkContentValue;
|
|
790
|
+
}, {
|
|
791
|
+
keys: Record<string, string>;
|
|
792
|
+
types: Record<string, FieldOrSliceType>;
|
|
793
|
+
content: {
|
|
973
794
|
kind: "image";
|
|
974
795
|
id: string;
|
|
975
796
|
url: string;
|
|
@@ -977,138 +798,66 @@ declare const LinkLegacy: (ctx: LegacyContentCtx) => t.Type<{
|
|
|
977
798
|
width: string;
|
|
978
799
|
size: string;
|
|
979
800
|
name: string;
|
|
980
|
-
__TYPE__: "ImageLink";
|
|
981
801
|
date?: string | null | undefined;
|
|
982
802
|
variant?: string | undefined;
|
|
983
803
|
text?: string | undefined;
|
|
804
|
+
key: string;
|
|
984
805
|
} | {
|
|
985
806
|
kind: "file";
|
|
986
807
|
id: string;
|
|
987
808
|
url: string;
|
|
988
809
|
name: string;
|
|
989
810
|
size: string;
|
|
990
|
-
__TYPE__: "FileLink";
|
|
991
811
|
date?: string | null | undefined;
|
|
992
812
|
variant?: string | undefined;
|
|
993
813
|
text?: string | undefined;
|
|
814
|
+
key: string;
|
|
994
815
|
} | {
|
|
995
816
|
kind: "document";
|
|
996
817
|
id: string;
|
|
997
|
-
__TYPE__: "DocumentLink";
|
|
998
818
|
variant?: string | undefined;
|
|
999
819
|
text?: string | undefined;
|
|
820
|
+
key: string;
|
|
1000
821
|
} | {
|
|
1001
822
|
kind: "web";
|
|
1002
823
|
url: string;
|
|
1003
|
-
__TYPE__: "ExternalLink";
|
|
1004
824
|
target?: string | null | undefined;
|
|
1005
825
|
preview?: {
|
|
1006
826
|
title?: string | undefined;
|
|
1007
827
|
} | null | undefined;
|
|
1008
828
|
variant?: string | undefined;
|
|
1009
829
|
text?: string | undefined;
|
|
830
|
+
key: string;
|
|
1010
831
|
} | {
|
|
1011
832
|
kind: "image";
|
|
1012
|
-
__TYPE__: "ImageLink";
|
|
1013
833
|
variant?: string | undefined;
|
|
1014
834
|
text?: string | undefined;
|
|
835
|
+
key: string;
|
|
1015
836
|
} | {
|
|
1016
837
|
kind: "file";
|
|
1017
|
-
__TYPE__: "FileLink";
|
|
1018
838
|
variant?: string | undefined;
|
|
1019
839
|
text?: string | undefined;
|
|
840
|
+
key: string;
|
|
1020
841
|
} | {
|
|
1021
842
|
kind: "media";
|
|
1022
|
-
__TYPE__: "MediaLink";
|
|
1023
843
|
variant?: string | undefined;
|
|
1024
844
|
text?: string | undefined;
|
|
845
|
+
key: string;
|
|
1025
846
|
} | {
|
|
1026
847
|
kind: "document";
|
|
1027
|
-
__TYPE__: "DocumentLink";
|
|
1028
848
|
variant?: string | undefined;
|
|
1029
849
|
text?: string | undefined;
|
|
850
|
+
key: string;
|
|
1030
851
|
} | {
|
|
1031
852
|
kind: "web";
|
|
1032
|
-
__TYPE__: "ExternalLink";
|
|
1033
853
|
variant?: string | undefined;
|
|
1034
854
|
text?: string | undefined;
|
|
855
|
+
key: string;
|
|
1035
856
|
} | {
|
|
1036
857
|
kind: "any";
|
|
1037
|
-
__TYPE__: "AnyLink";
|
|
1038
858
|
variant?: string | undefined;
|
|
1039
859
|
text?: string | undefined;
|
|
1040
|
-
|
|
1041
|
-
}, {
|
|
1042
|
-
keys: Record<string, string>;
|
|
1043
|
-
types: Record<string, FieldOrSliceType>;
|
|
1044
|
-
content: {
|
|
1045
|
-
kind: "image";
|
|
1046
|
-
id: string;
|
|
1047
|
-
url: string;
|
|
1048
|
-
height: string;
|
|
1049
|
-
width: string;
|
|
1050
|
-
size: string;
|
|
1051
|
-
name: string;
|
|
1052
|
-
date?: string | null | undefined;
|
|
1053
|
-
variant?: string | undefined;
|
|
1054
|
-
text?: string | undefined;
|
|
1055
|
-
key: string;
|
|
1056
|
-
} | {
|
|
1057
|
-
kind: "file";
|
|
1058
|
-
id: string;
|
|
1059
|
-
url: string;
|
|
1060
|
-
name: string;
|
|
1061
|
-
size: string;
|
|
1062
|
-
date?: string | null | undefined;
|
|
1063
|
-
variant?: string | undefined;
|
|
1064
|
-
text?: string | undefined;
|
|
1065
|
-
key: string;
|
|
1066
|
-
} | {
|
|
1067
|
-
kind: "document";
|
|
1068
|
-
id: string;
|
|
1069
|
-
variant?: string | undefined;
|
|
1070
|
-
text?: string | undefined;
|
|
1071
|
-
key: string;
|
|
1072
|
-
} | {
|
|
1073
|
-
kind: "web";
|
|
1074
|
-
url: string;
|
|
1075
|
-
target?: string | null | undefined;
|
|
1076
|
-
preview?: {
|
|
1077
|
-
title?: string | undefined;
|
|
1078
|
-
} | null | undefined;
|
|
1079
|
-
variant?: string | undefined;
|
|
1080
|
-
text?: string | undefined;
|
|
1081
|
-
key: string;
|
|
1082
|
-
} | {
|
|
1083
|
-
kind: "image";
|
|
1084
|
-
variant?: string | undefined;
|
|
1085
|
-
text?: string | undefined;
|
|
1086
|
-
key: string;
|
|
1087
|
-
} | {
|
|
1088
|
-
kind: "file";
|
|
1089
|
-
variant?: string | undefined;
|
|
1090
|
-
text?: string | undefined;
|
|
1091
|
-
key: string;
|
|
1092
|
-
} | {
|
|
1093
|
-
kind: "media";
|
|
1094
|
-
variant?: string | undefined;
|
|
1095
|
-
text?: string | undefined;
|
|
1096
|
-
key: string;
|
|
1097
|
-
} | {
|
|
1098
|
-
kind: "document";
|
|
1099
|
-
variant?: string | undefined;
|
|
1100
|
-
text?: string | undefined;
|
|
1101
|
-
key: string;
|
|
1102
|
-
} | {
|
|
1103
|
-
kind: "web";
|
|
1104
|
-
variant?: string | undefined;
|
|
1105
|
-
text?: string | undefined;
|
|
1106
|
-
key: string;
|
|
1107
|
-
} | {
|
|
1108
|
-
kind: "any";
|
|
1109
|
-
variant?: string | undefined;
|
|
1110
|
-
text?: string | undefined;
|
|
1111
|
-
key: string;
|
|
860
|
+
key: string;
|
|
1112
861
|
};
|
|
1113
862
|
}, unknown>;
|
|
1114
863
|
declare const RepeatableLegacy: (ctx: LegacyContentCtx, fieldType: "Link") => t.Type<{
|
|
@@ -1118,74 +867,9 @@ declare const RepeatableLegacy: (ctx: LegacyContentCtx, fieldType: "Link") => t.
|
|
|
1118
867
|
__TYPE__: "LinkContent";
|
|
1119
868
|
key: string;
|
|
1120
869
|
value: {
|
|
1121
|
-
kind: "image";
|
|
1122
|
-
id: string;
|
|
1123
|
-
url: string;
|
|
1124
|
-
height: string;
|
|
1125
|
-
width: string;
|
|
1126
|
-
size: string;
|
|
1127
|
-
name: string;
|
|
1128
|
-
__TYPE__: "ImageLink";
|
|
1129
|
-
date?: string | null | undefined;
|
|
1130
|
-
variant?: string | undefined;
|
|
1131
|
-
text?: string | undefined;
|
|
1132
|
-
} | {
|
|
1133
|
-
kind: "file";
|
|
1134
|
-
id: string;
|
|
1135
|
-
url: string;
|
|
1136
|
-
name: string;
|
|
1137
|
-
size: string;
|
|
1138
|
-
__TYPE__: "FileLink";
|
|
1139
|
-
date?: string | null | undefined;
|
|
1140
|
-
variant?: string | undefined;
|
|
1141
|
-
text?: string | undefined;
|
|
1142
|
-
} | {
|
|
1143
|
-
kind: "document";
|
|
1144
|
-
id: string;
|
|
1145
|
-
__TYPE__: "DocumentLink";
|
|
1146
|
-
variant?: string | undefined;
|
|
1147
|
-
text?: string | undefined;
|
|
1148
|
-
} | {
|
|
1149
|
-
kind: "web";
|
|
1150
|
-
url: string;
|
|
1151
|
-
__TYPE__: "ExternalLink";
|
|
1152
|
-
target?: string | null | undefined;
|
|
1153
|
-
preview?: {
|
|
1154
|
-
title?: string | undefined;
|
|
1155
|
-
} | null | undefined;
|
|
1156
|
-
variant?: string | undefined;
|
|
1157
|
-
text?: string | undefined;
|
|
1158
|
-
} | {
|
|
1159
|
-
kind: "image";
|
|
1160
|
-
__TYPE__: "ImageLink";
|
|
1161
|
-
variant?: string | undefined;
|
|
1162
|
-
text?: string | undefined;
|
|
1163
|
-
} | {
|
|
1164
|
-
kind: "file";
|
|
1165
|
-
__TYPE__: "FileLink";
|
|
1166
|
-
variant?: string | undefined;
|
|
1167
|
-
text?: string | undefined;
|
|
1168
|
-
} | {
|
|
1169
|
-
kind: "media";
|
|
1170
|
-
__TYPE__: "MediaLink";
|
|
1171
870
|
variant?: string | undefined;
|
|
1172
871
|
text?: string | undefined;
|
|
1173
|
-
}
|
|
1174
|
-
kind: "document";
|
|
1175
|
-
__TYPE__: "DocumentLink";
|
|
1176
|
-
variant?: string | undefined;
|
|
1177
|
-
text?: string | undefined;
|
|
1178
|
-
} | {
|
|
1179
|
-
kind: "web";
|
|
1180
|
-
__TYPE__: "ExternalLink";
|
|
1181
|
-
variant?: string | undefined;
|
|
1182
|
-
text?: string | undefined;
|
|
1183
|
-
} | {
|
|
1184
|
-
kind: "any";
|
|
1185
|
-
__TYPE__: "AnyLink";
|
|
1186
|
-
variant?: string | undefined;
|
|
1187
|
-
text?: string | undefined;
|
|
1188
|
-
};
|
|
872
|
+
} & LinkContentValue;
|
|
1189
873
|
}[];
|
|
1190
874
|
}, {
|
|
1191
875
|
keys: Record<string, string>;
|
|
@@ -2023,177 +1707,178 @@ declare const SharedSliceModelSchema: t.Type<{
|
|
|
2023
1707
|
config?: {
|
|
2024
1708
|
label?: string | null | undefined;
|
|
2025
1709
|
repeat?: boolean | undefined;
|
|
2026
|
-
fields?: Record<string, {
|
|
2027
|
-
type: "
|
|
2028
|
-
config?: {
|
|
2029
|
-
label?: string | null | undefined;
|
|
2030
|
-
default_value?: boolean | undefined;
|
|
2031
|
-
placeholder_true?: string | undefined;
|
|
2032
|
-
placeholder_false?: string | undefined;
|
|
2033
|
-
} | undefined;
|
|
2034
|
-
} | {
|
|
2035
|
-
type: "Color";
|
|
2036
|
-
fieldset?: string | null | undefined;
|
|
2037
|
-
config?: {
|
|
2038
|
-
label?: string | null | undefined;
|
|
2039
|
-
placeholder?: string | undefined;
|
|
2040
|
-
} | undefined;
|
|
2041
|
-
} | {
|
|
2042
|
-
type: "Date";
|
|
2043
|
-
fieldset?: string | null | undefined;
|
|
2044
|
-
config?: {
|
|
2045
|
-
label?: string | null | undefined;
|
|
2046
|
-
placeholder?: string | undefined;
|
|
2047
|
-
default?: string | undefined;
|
|
2048
|
-
} | undefined;
|
|
2049
|
-
} | {
|
|
2050
|
-
type: "Embed";
|
|
2051
|
-
fieldset?: string | null | undefined;
|
|
2052
|
-
config?: {
|
|
2053
|
-
label?: string | null | undefined;
|
|
2054
|
-
placeholder?: string | undefined;
|
|
2055
|
-
useAsTitle?: boolean | undefined;
|
|
2056
|
-
} | undefined;
|
|
2057
|
-
} | {
|
|
2058
|
-
type: "GeoPoint";
|
|
2059
|
-
fieldset?: string | null | undefined;
|
|
2060
|
-
config?: {
|
|
2061
|
-
label?: string | null | undefined;
|
|
2062
|
-
} | undefined;
|
|
2063
|
-
} | {
|
|
2064
|
-
type: "Image";
|
|
2065
|
-
fieldset?: string | null | undefined;
|
|
2066
|
-
config?: {
|
|
2067
|
-
label?: string | null | undefined;
|
|
2068
|
-
placeholder?: string | undefined;
|
|
2069
|
-
constraint?: {
|
|
2070
|
-
width?: number | null | undefined;
|
|
2071
|
-
height?: number | null | undefined;
|
|
2072
|
-
} | undefined;
|
|
2073
|
-
thumbnails?: {
|
|
2074
|
-
name: string;
|
|
2075
|
-
width?: number | null | undefined;
|
|
2076
|
-
height?: number | null | undefined;
|
|
2077
|
-
}[] | undefined;
|
|
2078
|
-
} | undefined;
|
|
2079
|
-
} | {
|
|
2080
|
-
type: "IntegrationFields";
|
|
2081
|
-
fieldset?: string | null | undefined;
|
|
2082
|
-
config?: {
|
|
2083
|
-
label?: string | null | undefined;
|
|
2084
|
-
placeholder?: string | undefined;
|
|
2085
|
-
catalog?: string | undefined;
|
|
2086
|
-
} | undefined;
|
|
2087
|
-
} | {
|
|
2088
|
-
type: "Link";
|
|
1710
|
+
fields?: Record<string, NestableModel | {
|
|
1711
|
+
type: "Group";
|
|
2089
1712
|
fieldset?: string | null | undefined;
|
|
1713
|
+
icon?: string | undefined;
|
|
1714
|
+
description?: string | undefined;
|
|
2090
1715
|
config?: {
|
|
2091
1716
|
label?: string | null | undefined;
|
|
2092
|
-
|
|
2093
|
-
|
|
2094
|
-
|
|
2095
|
-
|
|
2096
|
-
|
|
2097
|
-
|
|
2098
|
-
|
|
2099
|
-
|
|
1717
|
+
repeat?: boolean | undefined;
|
|
1718
|
+
fields?: Record<string, {
|
|
1719
|
+
type: "Boolean";
|
|
1720
|
+
config?: {
|
|
1721
|
+
label?: string | null | undefined;
|
|
1722
|
+
default_value?: boolean | undefined;
|
|
1723
|
+
placeholder_true?: string | undefined;
|
|
1724
|
+
placeholder_false?: string | undefined;
|
|
1725
|
+
} | undefined;
|
|
1726
|
+
} | {
|
|
1727
|
+
type: "Color";
|
|
1728
|
+
fieldset?: string | null | undefined;
|
|
1729
|
+
config?: {
|
|
1730
|
+
label?: string | null | undefined;
|
|
1731
|
+
placeholder?: string | undefined;
|
|
1732
|
+
} | undefined;
|
|
1733
|
+
} | {
|
|
1734
|
+
type: "Date";
|
|
1735
|
+
fieldset?: string | null | undefined;
|
|
1736
|
+
config?: {
|
|
1737
|
+
label?: string | null | undefined;
|
|
1738
|
+
placeholder?: string | undefined;
|
|
1739
|
+
default?: string | undefined;
|
|
1740
|
+
} | undefined;
|
|
1741
|
+
} | {
|
|
1742
|
+
type: "Embed";
|
|
1743
|
+
fieldset?: string | null | undefined;
|
|
1744
|
+
config?: {
|
|
1745
|
+
label?: string | null | undefined;
|
|
1746
|
+
placeholder?: string | undefined;
|
|
1747
|
+
useAsTitle?: boolean | undefined;
|
|
1748
|
+
} | undefined;
|
|
1749
|
+
} | {
|
|
1750
|
+
type: "GeoPoint";
|
|
1751
|
+
fieldset?: string | null | undefined;
|
|
1752
|
+
config?: {
|
|
1753
|
+
label?: string | null | undefined;
|
|
1754
|
+
} | undefined;
|
|
1755
|
+
} | {
|
|
1756
|
+
type: "Image";
|
|
1757
|
+
fieldset?: string | null | undefined;
|
|
1758
|
+
config?: {
|
|
1759
|
+
label?: string | null | undefined;
|
|
1760
|
+
placeholder?: string | undefined;
|
|
1761
|
+
constraint?: {
|
|
1762
|
+
width?: number | null | undefined;
|
|
1763
|
+
height?: number | null | undefined;
|
|
1764
|
+
} | undefined;
|
|
1765
|
+
thumbnails?: {
|
|
1766
|
+
name: string;
|
|
1767
|
+
width?: number | null | undefined;
|
|
1768
|
+
height?: number | null | undefined;
|
|
1769
|
+
}[] | undefined;
|
|
1770
|
+
} | undefined;
|
|
1771
|
+
} | {
|
|
1772
|
+
type: "IntegrationFields";
|
|
1773
|
+
fieldset?: string | null | undefined;
|
|
1774
|
+
config?: {
|
|
1775
|
+
label?: string | null | undefined;
|
|
1776
|
+
placeholder?: string | undefined;
|
|
1777
|
+
catalog?: string | undefined;
|
|
1778
|
+
} | undefined;
|
|
1779
|
+
} | {
|
|
1780
|
+
type: "Link";
|
|
1781
|
+
fieldset?: string | null | undefined;
|
|
1782
|
+
config?: {
|
|
1783
|
+
label?: string | null | undefined;
|
|
1784
|
+
useAsTitle?: boolean | undefined;
|
|
1785
|
+
placeholder?: string | undefined;
|
|
1786
|
+
select?: "media" | "document" | "web" | null | undefined;
|
|
1787
|
+
customtypes?: (string | {
|
|
2100
1788
|
id: string;
|
|
2101
1789
|
fields: (string | {
|
|
2102
1790
|
id: string;
|
|
2103
|
-
|
|
2104
|
-
|
|
2105
|
-
|
|
2106
|
-
|
|
2107
|
-
|
|
2108
|
-
fields: (string | {
|
|
2109
|
-
id: string;
|
|
2110
|
-
customtypes: (string | {
|
|
1791
|
+
customtypes: (string | {
|
|
1792
|
+
id: string;
|
|
1793
|
+
fields: (string | /*elided*/any)[];
|
|
1794
|
+
})[];
|
|
1795
|
+
} | {
|
|
2111
1796
|
id: string;
|
|
2112
1797
|
fields: (string | {
|
|
2113
1798
|
id: string;
|
|
2114
|
-
|
|
1799
|
+
customtypes: (string | /*elided*/any)[];
|
|
2115
1800
|
})[];
|
|
2116
1801
|
})[];
|
|
2117
|
-
})[];
|
|
2118
|
-
|
|
2119
|
-
|
|
2120
|
-
|
|
2121
|
-
|
|
2122
|
-
|
|
2123
|
-
|
|
2124
|
-
|
|
2125
|
-
|
|
2126
|
-
|
|
2127
|
-
|
|
2128
|
-
|
|
2129
|
-
|
|
2130
|
-
|
|
2131
|
-
|
|
2132
|
-
|
|
2133
|
-
|
|
2134
|
-
|
|
2135
|
-
|
|
2136
|
-
|
|
2137
|
-
|
|
2138
|
-
|
|
2139
|
-
|
|
2140
|
-
|
|
2141
|
-
|
|
2142
|
-
|
|
2143
|
-
|
|
2144
|
-
|
|
2145
|
-
|
|
2146
|
-
|
|
2147
|
-
|
|
2148
|
-
|
|
2149
|
-
|
|
2150
|
-
|
|
2151
|
-
|
|
2152
|
-
|
|
2153
|
-
|
|
2154
|
-
|
|
2155
|
-
|
|
2156
|
-
|
|
2157
|
-
|
|
2158
|
-
|
|
2159
|
-
|
|
2160
|
-
|
|
2161
|
-
|
|
2162
|
-
|
|
2163
|
-
|
|
2164
|
-
|
|
2165
|
-
|
|
2166
|
-
|
|
2167
|
-
|
|
2168
|
-
|
|
2169
|
-
|
|
2170
|
-
|
|
2171
|
-
|
|
2172
|
-
|
|
2173
|
-
|
|
2174
|
-
|
|
2175
|
-
|
|
2176
|
-
|
|
2177
|
-
|
|
2178
|
-
|
|
2179
|
-
|
|
2180
|
-
|
|
2181
|
-
|
|
2182
|
-
|
|
2183
|
-
|
|
2184
|
-
|
|
2185
|
-
|
|
2186
|
-
|
|
2187
|
-
|
|
2188
|
-
|
|
2189
|
-
|
|
2190
|
-
|
|
2191
|
-
|
|
2192
|
-
|
|
2193
|
-
|
|
2194
|
-
|
|
2195
|
-
|
|
2196
|
-
|
|
1802
|
+
})[] | undefined;
|
|
1803
|
+
masks?: string[] | undefined;
|
|
1804
|
+
tags?: string[] | undefined;
|
|
1805
|
+
allowTargetBlank?: boolean | undefined;
|
|
1806
|
+
allowText?: boolean | undefined;
|
|
1807
|
+
repeat?: boolean | undefined;
|
|
1808
|
+
variants?: string[] | undefined;
|
|
1809
|
+
} | undefined;
|
|
1810
|
+
} | {
|
|
1811
|
+
type: "Number";
|
|
1812
|
+
fieldset?: string | null | undefined;
|
|
1813
|
+
config?: {
|
|
1814
|
+
label?: string | null | undefined;
|
|
1815
|
+
placeholder?: string | undefined;
|
|
1816
|
+
min?: number | undefined;
|
|
1817
|
+
max?: number | undefined;
|
|
1818
|
+
step?: number | undefined;
|
|
1819
|
+
} | undefined;
|
|
1820
|
+
} | {
|
|
1821
|
+
type: "Range";
|
|
1822
|
+
fieldset?: string | null | undefined;
|
|
1823
|
+
config?: {
|
|
1824
|
+
label?: string | null | undefined;
|
|
1825
|
+
placeholder?: string | undefined;
|
|
1826
|
+
min?: number | undefined;
|
|
1827
|
+
max?: number | undefined;
|
|
1828
|
+
step?: number | undefined;
|
|
1829
|
+
} | undefined;
|
|
1830
|
+
} | {
|
|
1831
|
+
type: "StructuredText";
|
|
1832
|
+
fieldset?: string | null | undefined;
|
|
1833
|
+
config?: {
|
|
1834
|
+
label?: string | null | undefined;
|
|
1835
|
+
placeholder?: string | undefined;
|
|
1836
|
+
useAsTitle?: boolean | undefined;
|
|
1837
|
+
single?: string | undefined;
|
|
1838
|
+
multi?: string | undefined;
|
|
1839
|
+
imageConstraint?: {
|
|
1840
|
+
width?: number | null | undefined;
|
|
1841
|
+
height?: number | null | undefined;
|
|
1842
|
+
} | undefined;
|
|
1843
|
+
labels?: string[] | undefined;
|
|
1844
|
+
allowTargetBlank?: boolean | undefined;
|
|
1845
|
+
} | undefined;
|
|
1846
|
+
} | {
|
|
1847
|
+
type: "Select";
|
|
1848
|
+
fieldset?: string | null | undefined;
|
|
1849
|
+
config?: {
|
|
1850
|
+
label?: string | null | undefined;
|
|
1851
|
+
placeholder?: string | undefined;
|
|
1852
|
+
default_value?: string | undefined;
|
|
1853
|
+
options?: string[] | undefined;
|
|
1854
|
+
} | undefined;
|
|
1855
|
+
} | {
|
|
1856
|
+
type: "Separator";
|
|
1857
|
+
config?: {
|
|
1858
|
+
label?: string | null | undefined;
|
|
1859
|
+
} | undefined;
|
|
1860
|
+
} | {
|
|
1861
|
+
type: "Table";
|
|
1862
|
+
config?: {
|
|
1863
|
+
label?: string | null | undefined;
|
|
1864
|
+
} | undefined;
|
|
1865
|
+
} | {
|
|
1866
|
+
type: "Text";
|
|
1867
|
+
fieldset?: string | null | undefined;
|
|
1868
|
+
config?: {
|
|
1869
|
+
label?: string | null | undefined;
|
|
1870
|
+
useAsTitle?: boolean | undefined;
|
|
1871
|
+
placeholder?: string | undefined;
|
|
1872
|
+
} | undefined;
|
|
1873
|
+
} | {
|
|
1874
|
+
type: "Timestamp";
|
|
1875
|
+
fieldset?: string | null | undefined;
|
|
1876
|
+
config?: {
|
|
1877
|
+
label?: string | null | undefined;
|
|
1878
|
+
placeholder?: string | undefined;
|
|
1879
|
+
default?: string | undefined;
|
|
1880
|
+
} | undefined;
|
|
1881
|
+
}> | undefined;
|
|
2197
1882
|
} | undefined;
|
|
2198
1883
|
}> | undefined;
|
|
2199
1884
|
} | undefined;
|
|
@@ -2394,177 +2079,178 @@ declare const SharedSliceModelSchema: t.Type<{
|
|
|
2394
2079
|
config?: {
|
|
2395
2080
|
label?: string | null | undefined;
|
|
2396
2081
|
repeat?: boolean | undefined;
|
|
2397
|
-
fields?: Record<string, {
|
|
2398
|
-
type: "
|
|
2399
|
-
config?: {
|
|
2400
|
-
label?: string | null | undefined;
|
|
2401
|
-
default_value?: boolean | undefined;
|
|
2402
|
-
placeholder_true?: string | undefined;
|
|
2403
|
-
placeholder_false?: string | undefined;
|
|
2404
|
-
} | undefined;
|
|
2405
|
-
} | {
|
|
2406
|
-
type: "Color";
|
|
2407
|
-
fieldset?: string | null | undefined;
|
|
2408
|
-
config?: {
|
|
2409
|
-
label?: string | null | undefined;
|
|
2410
|
-
placeholder?: string | undefined;
|
|
2411
|
-
} | undefined;
|
|
2412
|
-
} | {
|
|
2413
|
-
type: "Date";
|
|
2414
|
-
fieldset?: string | null | undefined;
|
|
2415
|
-
config?: {
|
|
2416
|
-
label?: string | null | undefined;
|
|
2417
|
-
placeholder?: string | undefined;
|
|
2418
|
-
default?: string | undefined;
|
|
2419
|
-
} | undefined;
|
|
2420
|
-
} | {
|
|
2421
|
-
type: "Embed";
|
|
2422
|
-
fieldset?: string | null | undefined;
|
|
2423
|
-
config?: {
|
|
2424
|
-
label?: string | null | undefined;
|
|
2425
|
-
placeholder?: string | undefined;
|
|
2426
|
-
useAsTitle?: boolean | undefined;
|
|
2427
|
-
} | undefined;
|
|
2428
|
-
} | {
|
|
2429
|
-
type: "GeoPoint";
|
|
2430
|
-
fieldset?: string | null | undefined;
|
|
2431
|
-
config?: {
|
|
2432
|
-
label?: string | null | undefined;
|
|
2433
|
-
} | undefined;
|
|
2434
|
-
} | {
|
|
2435
|
-
type: "Image";
|
|
2436
|
-
fieldset?: string | null | undefined;
|
|
2437
|
-
config?: {
|
|
2438
|
-
label?: string | null | undefined;
|
|
2439
|
-
placeholder?: string | undefined;
|
|
2440
|
-
constraint?: {
|
|
2441
|
-
width?: number | null | undefined;
|
|
2442
|
-
height?: number | null | undefined;
|
|
2443
|
-
} | undefined;
|
|
2444
|
-
thumbnails?: {
|
|
2445
|
-
name: string;
|
|
2446
|
-
width?: number | null | undefined;
|
|
2447
|
-
height?: number | null | undefined;
|
|
2448
|
-
}[] | undefined;
|
|
2449
|
-
} | undefined;
|
|
2450
|
-
} | {
|
|
2451
|
-
type: "IntegrationFields";
|
|
2452
|
-
fieldset?: string | null | undefined;
|
|
2453
|
-
config?: {
|
|
2454
|
-
label?: string | null | undefined;
|
|
2455
|
-
placeholder?: string | undefined;
|
|
2456
|
-
catalog?: string | undefined;
|
|
2457
|
-
} | undefined;
|
|
2458
|
-
} | {
|
|
2459
|
-
type: "Link";
|
|
2082
|
+
fields?: Record<string, NestableModel | {
|
|
2083
|
+
type: "Group";
|
|
2460
2084
|
fieldset?: string | null | undefined;
|
|
2085
|
+
icon?: string | undefined;
|
|
2086
|
+
description?: string | undefined;
|
|
2461
2087
|
config?: {
|
|
2462
2088
|
label?: string | null | undefined;
|
|
2463
|
-
|
|
2464
|
-
|
|
2465
|
-
|
|
2466
|
-
|
|
2467
|
-
|
|
2468
|
-
|
|
2469
|
-
|
|
2470
|
-
|
|
2089
|
+
repeat?: boolean | undefined;
|
|
2090
|
+
fields?: Record<string, {
|
|
2091
|
+
type: "Boolean";
|
|
2092
|
+
config?: {
|
|
2093
|
+
label?: string | null | undefined;
|
|
2094
|
+
default_value?: boolean | undefined;
|
|
2095
|
+
placeholder_true?: string | undefined;
|
|
2096
|
+
placeholder_false?: string | undefined;
|
|
2097
|
+
} | undefined;
|
|
2098
|
+
} | {
|
|
2099
|
+
type: "Color";
|
|
2100
|
+
fieldset?: string | null | undefined;
|
|
2101
|
+
config?: {
|
|
2102
|
+
label?: string | null | undefined;
|
|
2103
|
+
placeholder?: string | undefined;
|
|
2104
|
+
} | undefined;
|
|
2105
|
+
} | {
|
|
2106
|
+
type: "Date";
|
|
2107
|
+
fieldset?: string | null | undefined;
|
|
2108
|
+
config?: {
|
|
2109
|
+
label?: string | null | undefined;
|
|
2110
|
+
placeholder?: string | undefined;
|
|
2111
|
+
default?: string | undefined;
|
|
2112
|
+
} | undefined;
|
|
2113
|
+
} | {
|
|
2114
|
+
type: "Embed";
|
|
2115
|
+
fieldset?: string | null | undefined;
|
|
2116
|
+
config?: {
|
|
2117
|
+
label?: string | null | undefined;
|
|
2118
|
+
placeholder?: string | undefined;
|
|
2119
|
+
useAsTitle?: boolean | undefined;
|
|
2120
|
+
} | undefined;
|
|
2121
|
+
} | {
|
|
2122
|
+
type: "GeoPoint";
|
|
2123
|
+
fieldset?: string | null | undefined;
|
|
2124
|
+
config?: {
|
|
2125
|
+
label?: string | null | undefined;
|
|
2126
|
+
} | undefined;
|
|
2127
|
+
} | {
|
|
2128
|
+
type: "Image";
|
|
2129
|
+
fieldset?: string | null | undefined;
|
|
2130
|
+
config?: {
|
|
2131
|
+
label?: string | null | undefined;
|
|
2132
|
+
placeholder?: string | undefined;
|
|
2133
|
+
constraint?: {
|
|
2134
|
+
width?: number | null | undefined;
|
|
2135
|
+
height?: number | null | undefined;
|
|
2136
|
+
} | undefined;
|
|
2137
|
+
thumbnails?: {
|
|
2138
|
+
name: string;
|
|
2139
|
+
width?: number | null | undefined;
|
|
2140
|
+
height?: number | null | undefined;
|
|
2141
|
+
}[] | undefined;
|
|
2142
|
+
} | undefined;
|
|
2143
|
+
} | {
|
|
2144
|
+
type: "IntegrationFields";
|
|
2145
|
+
fieldset?: string | null | undefined;
|
|
2146
|
+
config?: {
|
|
2147
|
+
label?: string | null | undefined;
|
|
2148
|
+
placeholder?: string | undefined;
|
|
2149
|
+
catalog?: string | undefined;
|
|
2150
|
+
} | undefined;
|
|
2151
|
+
} | {
|
|
2152
|
+
type: "Link";
|
|
2153
|
+
fieldset?: string | null | undefined;
|
|
2154
|
+
config?: {
|
|
2155
|
+
label?: string | null | undefined;
|
|
2156
|
+
useAsTitle?: boolean | undefined;
|
|
2157
|
+
placeholder?: string | undefined;
|
|
2158
|
+
select?: "media" | "document" | "web" | null | undefined;
|
|
2159
|
+
customtypes?: (string | {
|
|
2471
2160
|
id: string;
|
|
2472
2161
|
fields: (string | {
|
|
2473
2162
|
id: string;
|
|
2474
|
-
|
|
2475
|
-
|
|
2476
|
-
|
|
2477
|
-
|
|
2478
|
-
|
|
2479
|
-
fields: (string | {
|
|
2480
|
-
id: string;
|
|
2481
|
-
customtypes: (string | {
|
|
2163
|
+
customtypes: (string | {
|
|
2164
|
+
id: string;
|
|
2165
|
+
fields: (string | /*elided*/any)[];
|
|
2166
|
+
})[];
|
|
2167
|
+
} | {
|
|
2482
2168
|
id: string;
|
|
2483
2169
|
fields: (string | {
|
|
2484
2170
|
id: string;
|
|
2485
|
-
|
|
2171
|
+
customtypes: (string | /*elided*/any)[];
|
|
2486
2172
|
})[];
|
|
2487
2173
|
})[];
|
|
2488
|
-
})[];
|
|
2489
|
-
|
|
2490
|
-
|
|
2491
|
-
|
|
2492
|
-
|
|
2493
|
-
|
|
2494
|
-
|
|
2495
|
-
|
|
2496
|
-
|
|
2497
|
-
|
|
2498
|
-
|
|
2499
|
-
|
|
2500
|
-
|
|
2501
|
-
|
|
2502
|
-
|
|
2503
|
-
|
|
2504
|
-
|
|
2505
|
-
|
|
2506
|
-
|
|
2507
|
-
|
|
2508
|
-
|
|
2509
|
-
|
|
2510
|
-
|
|
2511
|
-
|
|
2512
|
-
|
|
2513
|
-
|
|
2514
|
-
|
|
2515
|
-
|
|
2516
|
-
|
|
2517
|
-
|
|
2518
|
-
|
|
2519
|
-
|
|
2520
|
-
|
|
2521
|
-
|
|
2522
|
-
|
|
2523
|
-
|
|
2524
|
-
|
|
2525
|
-
|
|
2526
|
-
|
|
2527
|
-
|
|
2528
|
-
|
|
2529
|
-
|
|
2530
|
-
|
|
2531
|
-
|
|
2532
|
-
|
|
2533
|
-
|
|
2534
|
-
|
|
2535
|
-
|
|
2536
|
-
|
|
2537
|
-
|
|
2538
|
-
|
|
2539
|
-
|
|
2540
|
-
|
|
2541
|
-
|
|
2542
|
-
|
|
2543
|
-
|
|
2544
|
-
|
|
2545
|
-
|
|
2546
|
-
|
|
2547
|
-
|
|
2548
|
-
|
|
2549
|
-
|
|
2550
|
-
|
|
2551
|
-
|
|
2552
|
-
|
|
2553
|
-
|
|
2554
|
-
|
|
2555
|
-
|
|
2556
|
-
|
|
2557
|
-
|
|
2558
|
-
|
|
2559
|
-
|
|
2560
|
-
|
|
2561
|
-
|
|
2562
|
-
|
|
2563
|
-
|
|
2564
|
-
|
|
2565
|
-
|
|
2566
|
-
|
|
2567
|
-
|
|
2174
|
+
})[] | undefined;
|
|
2175
|
+
masks?: string[] | undefined;
|
|
2176
|
+
tags?: string[] | undefined;
|
|
2177
|
+
allowTargetBlank?: boolean | undefined;
|
|
2178
|
+
allowText?: boolean | undefined;
|
|
2179
|
+
repeat?: boolean | undefined;
|
|
2180
|
+
variants?: string[] | undefined;
|
|
2181
|
+
} | undefined;
|
|
2182
|
+
} | {
|
|
2183
|
+
type: "Number";
|
|
2184
|
+
fieldset?: string | null | undefined;
|
|
2185
|
+
config?: {
|
|
2186
|
+
label?: string | null | undefined;
|
|
2187
|
+
placeholder?: string | undefined;
|
|
2188
|
+
min?: number | undefined;
|
|
2189
|
+
max?: number | undefined;
|
|
2190
|
+
step?: number | undefined;
|
|
2191
|
+
} | undefined;
|
|
2192
|
+
} | {
|
|
2193
|
+
type: "Range";
|
|
2194
|
+
fieldset?: string | null | undefined;
|
|
2195
|
+
config?: {
|
|
2196
|
+
label?: string | null | undefined;
|
|
2197
|
+
placeholder?: string | undefined;
|
|
2198
|
+
min?: number | undefined;
|
|
2199
|
+
max?: number | undefined;
|
|
2200
|
+
step?: number | undefined;
|
|
2201
|
+
} | undefined;
|
|
2202
|
+
} | {
|
|
2203
|
+
type: "StructuredText";
|
|
2204
|
+
fieldset?: string | null | undefined;
|
|
2205
|
+
config?: {
|
|
2206
|
+
label?: string | null | undefined;
|
|
2207
|
+
placeholder?: string | undefined;
|
|
2208
|
+
useAsTitle?: boolean | undefined;
|
|
2209
|
+
single?: string | undefined;
|
|
2210
|
+
multi?: string | undefined;
|
|
2211
|
+
imageConstraint?: {
|
|
2212
|
+
width?: number | null | undefined;
|
|
2213
|
+
height?: number | null | undefined;
|
|
2214
|
+
} | undefined;
|
|
2215
|
+
labels?: string[] | undefined;
|
|
2216
|
+
allowTargetBlank?: boolean | undefined;
|
|
2217
|
+
} | undefined;
|
|
2218
|
+
} | {
|
|
2219
|
+
type: "Select";
|
|
2220
|
+
fieldset?: string | null | undefined;
|
|
2221
|
+
config?: {
|
|
2222
|
+
label?: string | null | undefined;
|
|
2223
|
+
placeholder?: string | undefined;
|
|
2224
|
+
default_value?: string | undefined;
|
|
2225
|
+
options?: string[] | undefined;
|
|
2226
|
+
} | undefined;
|
|
2227
|
+
} | {
|
|
2228
|
+
type: "Separator";
|
|
2229
|
+
config?: {
|
|
2230
|
+
label?: string | null | undefined;
|
|
2231
|
+
} | undefined;
|
|
2232
|
+
} | {
|
|
2233
|
+
type: "Table";
|
|
2234
|
+
config?: {
|
|
2235
|
+
label?: string | null | undefined;
|
|
2236
|
+
} | undefined;
|
|
2237
|
+
} | {
|
|
2238
|
+
type: "Text";
|
|
2239
|
+
fieldset?: string | null | undefined;
|
|
2240
|
+
config?: {
|
|
2241
|
+
label?: string | null | undefined;
|
|
2242
|
+
useAsTitle?: boolean | undefined;
|
|
2243
|
+
placeholder?: string | undefined;
|
|
2244
|
+
} | undefined;
|
|
2245
|
+
} | {
|
|
2246
|
+
type: "Timestamp";
|
|
2247
|
+
fieldset?: string | null | undefined;
|
|
2248
|
+
config?: {
|
|
2249
|
+
label?: string | null | undefined;
|
|
2250
|
+
placeholder?: string | undefined;
|
|
2251
|
+
default?: string | undefined;
|
|
2252
|
+
} | undefined;
|
|
2253
|
+
}> | undefined;
|
|
2568
2254
|
} | undefined;
|
|
2569
2255
|
}> | undefined;
|
|
2570
2256
|
} | undefined;
|
|
@@ -3558,6 +3244,749 @@ declare const NestedGroupModelSchema: t.Type<{
|
|
|
3558
3244
|
}> | undefined;
|
|
3559
3245
|
} | undefined;
|
|
3560
3246
|
}, unknown>;
|
|
3247
|
+
declare const SharedSliceModelVariationSchema: t.Type<{
|
|
3248
|
+
id: string;
|
|
3249
|
+
name: string;
|
|
3250
|
+
description: string;
|
|
3251
|
+
imageUrl: string;
|
|
3252
|
+
docURL: string;
|
|
3253
|
+
version: string;
|
|
3254
|
+
display?: string | undefined;
|
|
3255
|
+
primary?: Record<string, NestableModel | {
|
|
3256
|
+
type: "Group";
|
|
3257
|
+
fieldset?: string | null | undefined;
|
|
3258
|
+
icon?: string | undefined;
|
|
3259
|
+
description?: string | undefined;
|
|
3260
|
+
config?: {
|
|
3261
|
+
label?: string | null | undefined;
|
|
3262
|
+
repeat?: boolean | undefined;
|
|
3263
|
+
fields?: Record<string, NestableModel | {
|
|
3264
|
+
type: "Group";
|
|
3265
|
+
fieldset?: string | null | undefined;
|
|
3266
|
+
icon?: string | undefined;
|
|
3267
|
+
description?: string | undefined;
|
|
3268
|
+
config?: {
|
|
3269
|
+
label?: string | null | undefined;
|
|
3270
|
+
repeat?: boolean | undefined;
|
|
3271
|
+
fields?: Record<string, {
|
|
3272
|
+
type: "Boolean";
|
|
3273
|
+
config?: {
|
|
3274
|
+
label?: string | null | undefined;
|
|
3275
|
+
default_value?: boolean | undefined;
|
|
3276
|
+
placeholder_true?: string | undefined;
|
|
3277
|
+
placeholder_false?: string | undefined;
|
|
3278
|
+
} | undefined;
|
|
3279
|
+
} | {
|
|
3280
|
+
type: "Color";
|
|
3281
|
+
fieldset?: string | null | undefined;
|
|
3282
|
+
config?: {
|
|
3283
|
+
label?: string | null | undefined;
|
|
3284
|
+
placeholder?: string | undefined;
|
|
3285
|
+
} | undefined;
|
|
3286
|
+
} | {
|
|
3287
|
+
type: "Date";
|
|
3288
|
+
fieldset?: string | null | undefined;
|
|
3289
|
+
config?: {
|
|
3290
|
+
label?: string | null | undefined;
|
|
3291
|
+
placeholder?: string | undefined;
|
|
3292
|
+
default?: string | undefined;
|
|
3293
|
+
} | undefined;
|
|
3294
|
+
} | {
|
|
3295
|
+
type: "Embed";
|
|
3296
|
+
fieldset?: string | null | undefined;
|
|
3297
|
+
config?: {
|
|
3298
|
+
label?: string | null | undefined;
|
|
3299
|
+
placeholder?: string | undefined;
|
|
3300
|
+
useAsTitle?: boolean | undefined;
|
|
3301
|
+
} | undefined;
|
|
3302
|
+
} | {
|
|
3303
|
+
type: "GeoPoint";
|
|
3304
|
+
fieldset?: string | null | undefined;
|
|
3305
|
+
config?: {
|
|
3306
|
+
label?: string | null | undefined;
|
|
3307
|
+
} | undefined;
|
|
3308
|
+
} | {
|
|
3309
|
+
type: "Image";
|
|
3310
|
+
fieldset?: string | null | undefined;
|
|
3311
|
+
config?: {
|
|
3312
|
+
label?: string | null | undefined;
|
|
3313
|
+
placeholder?: string | undefined;
|
|
3314
|
+
constraint?: {
|
|
3315
|
+
width?: number | null | undefined;
|
|
3316
|
+
height?: number | null | undefined;
|
|
3317
|
+
} | undefined;
|
|
3318
|
+
thumbnails?: {
|
|
3319
|
+
name: string;
|
|
3320
|
+
width?: number | null | undefined;
|
|
3321
|
+
height?: number | null | undefined;
|
|
3322
|
+
}[] | undefined;
|
|
3323
|
+
} | undefined;
|
|
3324
|
+
} | {
|
|
3325
|
+
type: "IntegrationFields";
|
|
3326
|
+
fieldset?: string | null | undefined;
|
|
3327
|
+
config?: {
|
|
3328
|
+
label?: string | null | undefined;
|
|
3329
|
+
placeholder?: string | undefined;
|
|
3330
|
+
catalog?: string | undefined;
|
|
3331
|
+
} | undefined;
|
|
3332
|
+
} | {
|
|
3333
|
+
type: "Link";
|
|
3334
|
+
fieldset?: string | null | undefined;
|
|
3335
|
+
config?: {
|
|
3336
|
+
label?: string | null | undefined;
|
|
3337
|
+
useAsTitle?: boolean | undefined;
|
|
3338
|
+
placeholder?: string | undefined;
|
|
3339
|
+
select?: "media" | "document" | "web" | null | undefined;
|
|
3340
|
+
customtypes?: (string | {
|
|
3341
|
+
id: string;
|
|
3342
|
+
fields: (string | {
|
|
3343
|
+
id: string;
|
|
3344
|
+
customtypes: (string | {
|
|
3345
|
+
id: string;
|
|
3346
|
+
fields: (string | {
|
|
3347
|
+
id: string;
|
|
3348
|
+
fields: string[];
|
|
3349
|
+
})[];
|
|
3350
|
+
})[];
|
|
3351
|
+
} | {
|
|
3352
|
+
id: string;
|
|
3353
|
+
fields: (string | {
|
|
3354
|
+
id: string;
|
|
3355
|
+
customtypes: (string | {
|
|
3356
|
+
id: string;
|
|
3357
|
+
fields: (string | /*elided*/any)[];
|
|
3358
|
+
})[];
|
|
3359
|
+
})[];
|
|
3360
|
+
})[];
|
|
3361
|
+
})[] | undefined;
|
|
3362
|
+
masks?: string[] | undefined;
|
|
3363
|
+
tags?: string[] | undefined;
|
|
3364
|
+
allowTargetBlank?: boolean | undefined;
|
|
3365
|
+
allowText?: boolean | undefined;
|
|
3366
|
+
repeat?: boolean | undefined;
|
|
3367
|
+
variants?: string[] | undefined;
|
|
3368
|
+
} | undefined;
|
|
3369
|
+
} | {
|
|
3370
|
+
type: "Number";
|
|
3371
|
+
fieldset?: string | null | undefined;
|
|
3372
|
+
config?: {
|
|
3373
|
+
label?: string | null | undefined;
|
|
3374
|
+
placeholder?: string | undefined;
|
|
3375
|
+
min?: number | undefined;
|
|
3376
|
+
max?: number | undefined;
|
|
3377
|
+
step?: number | undefined;
|
|
3378
|
+
} | undefined;
|
|
3379
|
+
} | {
|
|
3380
|
+
type: "Range";
|
|
3381
|
+
fieldset?: string | null | undefined;
|
|
3382
|
+
config?: {
|
|
3383
|
+
label?: string | null | undefined;
|
|
3384
|
+
placeholder?: string | undefined;
|
|
3385
|
+
min?: number | undefined;
|
|
3386
|
+
max?: number | undefined;
|
|
3387
|
+
step?: number | undefined;
|
|
3388
|
+
} | undefined;
|
|
3389
|
+
} | {
|
|
3390
|
+
type: "StructuredText";
|
|
3391
|
+
fieldset?: string | null | undefined;
|
|
3392
|
+
config?: {
|
|
3393
|
+
label?: string | null | undefined;
|
|
3394
|
+
placeholder?: string | undefined;
|
|
3395
|
+
useAsTitle?: boolean | undefined;
|
|
3396
|
+
single?: string | undefined;
|
|
3397
|
+
multi?: string | undefined;
|
|
3398
|
+
imageConstraint?: {
|
|
3399
|
+
width?: number | null | undefined;
|
|
3400
|
+
height?: number | null | undefined;
|
|
3401
|
+
} | undefined;
|
|
3402
|
+
labels?: string[] | undefined;
|
|
3403
|
+
allowTargetBlank?: boolean | undefined;
|
|
3404
|
+
} | undefined;
|
|
3405
|
+
} | {
|
|
3406
|
+
type: "Select";
|
|
3407
|
+
fieldset?: string | null | undefined;
|
|
3408
|
+
config?: {
|
|
3409
|
+
label?: string | null | undefined;
|
|
3410
|
+
placeholder?: string | undefined;
|
|
3411
|
+
default_value?: string | undefined;
|
|
3412
|
+
options?: string[] | undefined;
|
|
3413
|
+
} | undefined;
|
|
3414
|
+
} | {
|
|
3415
|
+
type: "Separator";
|
|
3416
|
+
config?: {
|
|
3417
|
+
label?: string | null | undefined;
|
|
3418
|
+
} | undefined;
|
|
3419
|
+
} | {
|
|
3420
|
+
type: "Table";
|
|
3421
|
+
config?: {
|
|
3422
|
+
label?: string | null | undefined;
|
|
3423
|
+
} | undefined;
|
|
3424
|
+
} | {
|
|
3425
|
+
type: "Text";
|
|
3426
|
+
fieldset?: string | null | undefined;
|
|
3427
|
+
config?: {
|
|
3428
|
+
label?: string | null | undefined;
|
|
3429
|
+
useAsTitle?: boolean | undefined;
|
|
3430
|
+
placeholder?: string | undefined;
|
|
3431
|
+
} | undefined;
|
|
3432
|
+
} | {
|
|
3433
|
+
type: "Timestamp";
|
|
3434
|
+
fieldset?: string | null | undefined;
|
|
3435
|
+
config?: {
|
|
3436
|
+
label?: string | null | undefined;
|
|
3437
|
+
placeholder?: string | undefined;
|
|
3438
|
+
default?: string | undefined;
|
|
3439
|
+
} | undefined;
|
|
3440
|
+
}> | undefined;
|
|
3441
|
+
} | undefined;
|
|
3442
|
+
}> | undefined;
|
|
3443
|
+
} | undefined;
|
|
3444
|
+
}> | undefined;
|
|
3445
|
+
items?: Record<string, {
|
|
3446
|
+
type: "Boolean";
|
|
3447
|
+
config?: {
|
|
3448
|
+
label?: string | null | undefined;
|
|
3449
|
+
default_value?: boolean | undefined;
|
|
3450
|
+
placeholder_true?: string | undefined;
|
|
3451
|
+
placeholder_false?: string | undefined;
|
|
3452
|
+
} | undefined;
|
|
3453
|
+
} | {
|
|
3454
|
+
type: "Color";
|
|
3455
|
+
fieldset?: string | null | undefined;
|
|
3456
|
+
config?: {
|
|
3457
|
+
label?: string | null | undefined;
|
|
3458
|
+
placeholder?: string | undefined;
|
|
3459
|
+
} | undefined;
|
|
3460
|
+
} | {
|
|
3461
|
+
type: "Date";
|
|
3462
|
+
fieldset?: string | null | undefined;
|
|
3463
|
+
config?: {
|
|
3464
|
+
label?: string | null | undefined;
|
|
3465
|
+
placeholder?: string | undefined;
|
|
3466
|
+
default?: string | undefined;
|
|
3467
|
+
} | undefined;
|
|
3468
|
+
} | {
|
|
3469
|
+
type: "Embed";
|
|
3470
|
+
fieldset?: string | null | undefined;
|
|
3471
|
+
config?: {
|
|
3472
|
+
label?: string | null | undefined;
|
|
3473
|
+
placeholder?: string | undefined;
|
|
3474
|
+
useAsTitle?: boolean | undefined;
|
|
3475
|
+
} | undefined;
|
|
3476
|
+
} | {
|
|
3477
|
+
type: "GeoPoint";
|
|
3478
|
+
fieldset?: string | null | undefined;
|
|
3479
|
+
config?: {
|
|
3480
|
+
label?: string | null | undefined;
|
|
3481
|
+
} | undefined;
|
|
3482
|
+
} | {
|
|
3483
|
+
type: "Image";
|
|
3484
|
+
fieldset?: string | null | undefined;
|
|
3485
|
+
config?: {
|
|
3486
|
+
label?: string | null | undefined;
|
|
3487
|
+
placeholder?: string | undefined;
|
|
3488
|
+
constraint?: {
|
|
3489
|
+
width?: number | null | undefined;
|
|
3490
|
+
height?: number | null | undefined;
|
|
3491
|
+
} | undefined;
|
|
3492
|
+
thumbnails?: {
|
|
3493
|
+
name: string;
|
|
3494
|
+
width?: number | null | undefined;
|
|
3495
|
+
height?: number | null | undefined;
|
|
3496
|
+
}[] | undefined;
|
|
3497
|
+
} | undefined;
|
|
3498
|
+
} | {
|
|
3499
|
+
type: "IntegrationFields";
|
|
3500
|
+
fieldset?: string | null | undefined;
|
|
3501
|
+
config?: {
|
|
3502
|
+
label?: string | null | undefined;
|
|
3503
|
+
placeholder?: string | undefined;
|
|
3504
|
+
catalog?: string | undefined;
|
|
3505
|
+
} | undefined;
|
|
3506
|
+
} | {
|
|
3507
|
+
type: "Link";
|
|
3508
|
+
fieldset?: string | null | undefined;
|
|
3509
|
+
config?: {
|
|
3510
|
+
label?: string | null | undefined;
|
|
3511
|
+
useAsTitle?: boolean | undefined;
|
|
3512
|
+
placeholder?: string | undefined;
|
|
3513
|
+
select?: "media" | "document" | "web" | null | undefined;
|
|
3514
|
+
customtypes?: (string | {
|
|
3515
|
+
id: string;
|
|
3516
|
+
fields: (string | {
|
|
3517
|
+
id: string;
|
|
3518
|
+
customtypes: (string | {
|
|
3519
|
+
id: string;
|
|
3520
|
+
fields: (string | {
|
|
3521
|
+
id: string;
|
|
3522
|
+
fields: string[];
|
|
3523
|
+
})[];
|
|
3524
|
+
})[];
|
|
3525
|
+
} | {
|
|
3526
|
+
id: string;
|
|
3527
|
+
fields: (string | {
|
|
3528
|
+
id: string;
|
|
3529
|
+
customtypes: (string | {
|
|
3530
|
+
id: string;
|
|
3531
|
+
fields: (string | {
|
|
3532
|
+
id: string;
|
|
3533
|
+
fields: string[];
|
|
3534
|
+
})[];
|
|
3535
|
+
})[];
|
|
3536
|
+
})[];
|
|
3537
|
+
})[];
|
|
3538
|
+
})[] | undefined;
|
|
3539
|
+
masks?: string[] | undefined;
|
|
3540
|
+
tags?: string[] | undefined;
|
|
3541
|
+
allowTargetBlank?: boolean | undefined;
|
|
3542
|
+
allowText?: boolean | undefined;
|
|
3543
|
+
repeat?: boolean | undefined;
|
|
3544
|
+
variants?: string[] | undefined;
|
|
3545
|
+
} | undefined;
|
|
3546
|
+
} | {
|
|
3547
|
+
type: "Number";
|
|
3548
|
+
fieldset?: string | null | undefined;
|
|
3549
|
+
config?: {
|
|
3550
|
+
label?: string | null | undefined;
|
|
3551
|
+
placeholder?: string | undefined;
|
|
3552
|
+
min?: number | undefined;
|
|
3553
|
+
max?: number | undefined;
|
|
3554
|
+
step?: number | undefined;
|
|
3555
|
+
} | undefined;
|
|
3556
|
+
} | {
|
|
3557
|
+
type: "Range";
|
|
3558
|
+
fieldset?: string | null | undefined;
|
|
3559
|
+
config?: {
|
|
3560
|
+
label?: string | null | undefined;
|
|
3561
|
+
placeholder?: string | undefined;
|
|
3562
|
+
min?: number | undefined;
|
|
3563
|
+
max?: number | undefined;
|
|
3564
|
+
step?: number | undefined;
|
|
3565
|
+
} | undefined;
|
|
3566
|
+
} | {
|
|
3567
|
+
type: "StructuredText";
|
|
3568
|
+
fieldset?: string | null | undefined;
|
|
3569
|
+
config?: {
|
|
3570
|
+
label?: string | null | undefined;
|
|
3571
|
+
placeholder?: string | undefined;
|
|
3572
|
+
useAsTitle?: boolean | undefined;
|
|
3573
|
+
single?: string | undefined;
|
|
3574
|
+
multi?: string | undefined;
|
|
3575
|
+
imageConstraint?: {
|
|
3576
|
+
width?: number | null | undefined;
|
|
3577
|
+
height?: number | null | undefined;
|
|
3578
|
+
} | undefined;
|
|
3579
|
+
labels?: string[] | undefined;
|
|
3580
|
+
allowTargetBlank?: boolean | undefined;
|
|
3581
|
+
} | undefined;
|
|
3582
|
+
} | {
|
|
3583
|
+
type: "Select";
|
|
3584
|
+
fieldset?: string | null | undefined;
|
|
3585
|
+
config?: {
|
|
3586
|
+
label?: string | null | undefined;
|
|
3587
|
+
placeholder?: string | undefined;
|
|
3588
|
+
default_value?: string | undefined;
|
|
3589
|
+
options?: string[] | undefined;
|
|
3590
|
+
} | undefined;
|
|
3591
|
+
} | {
|
|
3592
|
+
type: "Separator";
|
|
3593
|
+
config?: {
|
|
3594
|
+
label?: string | null | undefined;
|
|
3595
|
+
} | undefined;
|
|
3596
|
+
} | {
|
|
3597
|
+
type: "Table";
|
|
3598
|
+
config?: {
|
|
3599
|
+
label?: string | null | undefined;
|
|
3600
|
+
} | undefined;
|
|
3601
|
+
} | {
|
|
3602
|
+
type: "Text";
|
|
3603
|
+
fieldset?: string | null | undefined;
|
|
3604
|
+
config?: {
|
|
3605
|
+
label?: string | null | undefined;
|
|
3606
|
+
useAsTitle?: boolean | undefined;
|
|
3607
|
+
placeholder?: string | undefined;
|
|
3608
|
+
} | undefined;
|
|
3609
|
+
} | {
|
|
3610
|
+
type: "Timestamp";
|
|
3611
|
+
fieldset?: string | null | undefined;
|
|
3612
|
+
config?: {
|
|
3613
|
+
label?: string | null | undefined;
|
|
3614
|
+
placeholder?: string | undefined;
|
|
3615
|
+
default?: string | undefined;
|
|
3616
|
+
} | undefined;
|
|
3617
|
+
}> | undefined;
|
|
3618
|
+
}, {
|
|
3619
|
+
id: string;
|
|
3620
|
+
name: string;
|
|
3621
|
+
description: string;
|
|
3622
|
+
imageUrl: string;
|
|
3623
|
+
docURL: string;
|
|
3624
|
+
version: string;
|
|
3625
|
+
display?: string | undefined;
|
|
3626
|
+
primary?: Record<string, NestableModel | {
|
|
3627
|
+
type: "Group";
|
|
3628
|
+
fieldset?: string | null | undefined;
|
|
3629
|
+
icon?: string | undefined;
|
|
3630
|
+
description?: string | undefined;
|
|
3631
|
+
config?: {
|
|
3632
|
+
label?: string | null | undefined;
|
|
3633
|
+
repeat?: boolean | undefined;
|
|
3634
|
+
fields?: Record<string, NestableModel | {
|
|
3635
|
+
type: "Group";
|
|
3636
|
+
fieldset?: string | null | undefined;
|
|
3637
|
+
icon?: string | undefined;
|
|
3638
|
+
description?: string | undefined;
|
|
3639
|
+
config?: {
|
|
3640
|
+
label?: string | null | undefined;
|
|
3641
|
+
repeat?: boolean | undefined;
|
|
3642
|
+
fields?: Record<string, {
|
|
3643
|
+
type: "Boolean";
|
|
3644
|
+
config?: {
|
|
3645
|
+
label?: string | null | undefined;
|
|
3646
|
+
default_value?: boolean | undefined;
|
|
3647
|
+
placeholder_true?: string | undefined;
|
|
3648
|
+
placeholder_false?: string | undefined;
|
|
3649
|
+
} | undefined;
|
|
3650
|
+
} | {
|
|
3651
|
+
type: "Color";
|
|
3652
|
+
fieldset?: string | null | undefined;
|
|
3653
|
+
config?: {
|
|
3654
|
+
label?: string | null | undefined;
|
|
3655
|
+
placeholder?: string | undefined;
|
|
3656
|
+
} | undefined;
|
|
3657
|
+
} | {
|
|
3658
|
+
type: "Date";
|
|
3659
|
+
fieldset?: string | null | undefined;
|
|
3660
|
+
config?: {
|
|
3661
|
+
label?: string | null | undefined;
|
|
3662
|
+
placeholder?: string | undefined;
|
|
3663
|
+
default?: string | undefined;
|
|
3664
|
+
} | undefined;
|
|
3665
|
+
} | {
|
|
3666
|
+
type: "Embed";
|
|
3667
|
+
fieldset?: string | null | undefined;
|
|
3668
|
+
config?: {
|
|
3669
|
+
label?: string | null | undefined;
|
|
3670
|
+
placeholder?: string | undefined;
|
|
3671
|
+
useAsTitle?: boolean | undefined;
|
|
3672
|
+
} | undefined;
|
|
3673
|
+
} | {
|
|
3674
|
+
type: "GeoPoint";
|
|
3675
|
+
fieldset?: string | null | undefined;
|
|
3676
|
+
config?: {
|
|
3677
|
+
label?: string | null | undefined;
|
|
3678
|
+
} | undefined;
|
|
3679
|
+
} | {
|
|
3680
|
+
type: "Image";
|
|
3681
|
+
fieldset?: string | null | undefined;
|
|
3682
|
+
config?: {
|
|
3683
|
+
label?: string | null | undefined;
|
|
3684
|
+
placeholder?: string | undefined;
|
|
3685
|
+
constraint?: {
|
|
3686
|
+
width?: number | null | undefined;
|
|
3687
|
+
height?: number | null | undefined;
|
|
3688
|
+
} | undefined;
|
|
3689
|
+
thumbnails?: {
|
|
3690
|
+
name: string;
|
|
3691
|
+
width?: number | null | undefined;
|
|
3692
|
+
height?: number | null | undefined;
|
|
3693
|
+
}[] | undefined;
|
|
3694
|
+
} | undefined;
|
|
3695
|
+
} | {
|
|
3696
|
+
type: "IntegrationFields";
|
|
3697
|
+
fieldset?: string | null | undefined;
|
|
3698
|
+
config?: {
|
|
3699
|
+
label?: string | null | undefined;
|
|
3700
|
+
placeholder?: string | undefined;
|
|
3701
|
+
catalog?: string | undefined;
|
|
3702
|
+
} | undefined;
|
|
3703
|
+
} | {
|
|
3704
|
+
type: "Link";
|
|
3705
|
+
fieldset?: string | null | undefined;
|
|
3706
|
+
config?: {
|
|
3707
|
+
label?: string | null | undefined;
|
|
3708
|
+
useAsTitle?: boolean | undefined;
|
|
3709
|
+
placeholder?: string | undefined;
|
|
3710
|
+
select?: "media" | "document" | "web" | null | undefined;
|
|
3711
|
+
customtypes?: (string | {
|
|
3712
|
+
id: string;
|
|
3713
|
+
fields: (string | {
|
|
3714
|
+
id: string;
|
|
3715
|
+
customtypes: (string | {
|
|
3716
|
+
id: string;
|
|
3717
|
+
fields: (string | {
|
|
3718
|
+
id: string;
|
|
3719
|
+
fields: string[];
|
|
3720
|
+
})[];
|
|
3721
|
+
})[];
|
|
3722
|
+
} | {
|
|
3723
|
+
id: string;
|
|
3724
|
+
fields: (string | {
|
|
3725
|
+
id: string;
|
|
3726
|
+
customtypes: (string | {
|
|
3727
|
+
id: string;
|
|
3728
|
+
fields: (string | /*elided*/any)[];
|
|
3729
|
+
})[];
|
|
3730
|
+
})[];
|
|
3731
|
+
})[];
|
|
3732
|
+
})[] | undefined;
|
|
3733
|
+
masks?: string[] | undefined;
|
|
3734
|
+
tags?: string[] | undefined;
|
|
3735
|
+
allowTargetBlank?: boolean | undefined;
|
|
3736
|
+
allowText?: boolean | undefined;
|
|
3737
|
+
repeat?: boolean | undefined;
|
|
3738
|
+
variants?: string[] | undefined;
|
|
3739
|
+
} | undefined;
|
|
3740
|
+
} | {
|
|
3741
|
+
type: "Number";
|
|
3742
|
+
fieldset?: string | null | undefined;
|
|
3743
|
+
config?: {
|
|
3744
|
+
label?: string | null | undefined;
|
|
3745
|
+
placeholder?: string | undefined;
|
|
3746
|
+
min?: number | undefined;
|
|
3747
|
+
max?: number | undefined;
|
|
3748
|
+
step?: number | undefined;
|
|
3749
|
+
} | undefined;
|
|
3750
|
+
} | {
|
|
3751
|
+
type: "Range";
|
|
3752
|
+
fieldset?: string | null | undefined;
|
|
3753
|
+
config?: {
|
|
3754
|
+
label?: string | null | undefined;
|
|
3755
|
+
placeholder?: string | undefined;
|
|
3756
|
+
min?: number | undefined;
|
|
3757
|
+
max?: number | undefined;
|
|
3758
|
+
step?: number | undefined;
|
|
3759
|
+
} | undefined;
|
|
3760
|
+
} | {
|
|
3761
|
+
type: "StructuredText";
|
|
3762
|
+
fieldset?: string | null | undefined;
|
|
3763
|
+
config?: {
|
|
3764
|
+
label?: string | null | undefined;
|
|
3765
|
+
placeholder?: string | undefined;
|
|
3766
|
+
useAsTitle?: boolean | undefined;
|
|
3767
|
+
single?: string | undefined;
|
|
3768
|
+
multi?: string | undefined;
|
|
3769
|
+
imageConstraint?: {
|
|
3770
|
+
width?: number | null | undefined;
|
|
3771
|
+
height?: number | null | undefined;
|
|
3772
|
+
} | undefined;
|
|
3773
|
+
labels?: string[] | undefined;
|
|
3774
|
+
allowTargetBlank?: boolean | undefined;
|
|
3775
|
+
} | undefined;
|
|
3776
|
+
} | {
|
|
3777
|
+
type: "Select";
|
|
3778
|
+
fieldset?: string | null | undefined;
|
|
3779
|
+
config?: {
|
|
3780
|
+
label?: string | null | undefined;
|
|
3781
|
+
placeholder?: string | undefined;
|
|
3782
|
+
default_value?: string | undefined;
|
|
3783
|
+
options?: string[] | undefined;
|
|
3784
|
+
} | undefined;
|
|
3785
|
+
} | {
|
|
3786
|
+
type: "Separator";
|
|
3787
|
+
config?: {
|
|
3788
|
+
label?: string | null | undefined;
|
|
3789
|
+
} | undefined;
|
|
3790
|
+
} | {
|
|
3791
|
+
type: "Table";
|
|
3792
|
+
config?: {
|
|
3793
|
+
label?: string | null | undefined;
|
|
3794
|
+
} | undefined;
|
|
3795
|
+
} | {
|
|
3796
|
+
type: "Text";
|
|
3797
|
+
fieldset?: string | null | undefined;
|
|
3798
|
+
config?: {
|
|
3799
|
+
label?: string | null | undefined;
|
|
3800
|
+
useAsTitle?: boolean | undefined;
|
|
3801
|
+
placeholder?: string | undefined;
|
|
3802
|
+
} | undefined;
|
|
3803
|
+
} | {
|
|
3804
|
+
type: "Timestamp";
|
|
3805
|
+
fieldset?: string | null | undefined;
|
|
3806
|
+
config?: {
|
|
3807
|
+
label?: string | null | undefined;
|
|
3808
|
+
placeholder?: string | undefined;
|
|
3809
|
+
default?: string | undefined;
|
|
3810
|
+
} | undefined;
|
|
3811
|
+
}> | undefined;
|
|
3812
|
+
} | undefined;
|
|
3813
|
+
}> | undefined;
|
|
3814
|
+
} | undefined;
|
|
3815
|
+
}> | undefined;
|
|
3816
|
+
items?: Record<string, {
|
|
3817
|
+
type: "Boolean";
|
|
3818
|
+
config?: {
|
|
3819
|
+
label?: string | null | undefined;
|
|
3820
|
+
default_value?: boolean | undefined;
|
|
3821
|
+
placeholder_true?: string | undefined;
|
|
3822
|
+
placeholder_false?: string | undefined;
|
|
3823
|
+
} | undefined;
|
|
3824
|
+
} | {
|
|
3825
|
+
type: "Color";
|
|
3826
|
+
fieldset?: string | null | undefined;
|
|
3827
|
+
config?: {
|
|
3828
|
+
label?: string | null | undefined;
|
|
3829
|
+
placeholder?: string | undefined;
|
|
3830
|
+
} | undefined;
|
|
3831
|
+
} | {
|
|
3832
|
+
type: "Date";
|
|
3833
|
+
fieldset?: string | null | undefined;
|
|
3834
|
+
config?: {
|
|
3835
|
+
label?: string | null | undefined;
|
|
3836
|
+
placeholder?: string | undefined;
|
|
3837
|
+
default?: string | undefined;
|
|
3838
|
+
} | undefined;
|
|
3839
|
+
} | {
|
|
3840
|
+
type: "Embed";
|
|
3841
|
+
fieldset?: string | null | undefined;
|
|
3842
|
+
config?: {
|
|
3843
|
+
label?: string | null | undefined;
|
|
3844
|
+
placeholder?: string | undefined;
|
|
3845
|
+
useAsTitle?: boolean | undefined;
|
|
3846
|
+
} | undefined;
|
|
3847
|
+
} | {
|
|
3848
|
+
type: "GeoPoint";
|
|
3849
|
+
fieldset?: string | null | undefined;
|
|
3850
|
+
config?: {
|
|
3851
|
+
label?: string | null | undefined;
|
|
3852
|
+
} | undefined;
|
|
3853
|
+
} | {
|
|
3854
|
+
type: "Image";
|
|
3855
|
+
fieldset?: string | null | undefined;
|
|
3856
|
+
config?: {
|
|
3857
|
+
label?: string | null | undefined;
|
|
3858
|
+
placeholder?: string | undefined;
|
|
3859
|
+
constraint?: {
|
|
3860
|
+
width?: number | null | undefined;
|
|
3861
|
+
height?: number | null | undefined;
|
|
3862
|
+
} | undefined;
|
|
3863
|
+
thumbnails?: {
|
|
3864
|
+
name: string;
|
|
3865
|
+
width?: number | null | undefined;
|
|
3866
|
+
height?: number | null | undefined;
|
|
3867
|
+
}[] | undefined;
|
|
3868
|
+
} | undefined;
|
|
3869
|
+
} | {
|
|
3870
|
+
type: "IntegrationFields";
|
|
3871
|
+
fieldset?: string | null | undefined;
|
|
3872
|
+
config?: {
|
|
3873
|
+
label?: string | null | undefined;
|
|
3874
|
+
placeholder?: string | undefined;
|
|
3875
|
+
catalog?: string | undefined;
|
|
3876
|
+
} | undefined;
|
|
3877
|
+
} | {
|
|
3878
|
+
type: "Link";
|
|
3879
|
+
fieldset?: string | null | undefined;
|
|
3880
|
+
config?: {
|
|
3881
|
+
label?: string | null | undefined;
|
|
3882
|
+
useAsTitle?: boolean | undefined;
|
|
3883
|
+
placeholder?: string | undefined;
|
|
3884
|
+
select?: "media" | "document" | "web" | null | undefined;
|
|
3885
|
+
customtypes?: (string | {
|
|
3886
|
+
id: string;
|
|
3887
|
+
fields: (string | {
|
|
3888
|
+
id: string;
|
|
3889
|
+
customtypes: (string | {
|
|
3890
|
+
id: string;
|
|
3891
|
+
fields: (string | {
|
|
3892
|
+
id: string;
|
|
3893
|
+
fields: string[];
|
|
3894
|
+
})[];
|
|
3895
|
+
})[];
|
|
3896
|
+
} | {
|
|
3897
|
+
id: string;
|
|
3898
|
+
fields: (string | {
|
|
3899
|
+
id: string;
|
|
3900
|
+
customtypes: (string | {
|
|
3901
|
+
id: string;
|
|
3902
|
+
fields: (string | {
|
|
3903
|
+
id: string;
|
|
3904
|
+
fields: string[];
|
|
3905
|
+
})[];
|
|
3906
|
+
})[];
|
|
3907
|
+
})[];
|
|
3908
|
+
})[];
|
|
3909
|
+
})[] | undefined;
|
|
3910
|
+
masks?: string[] | undefined;
|
|
3911
|
+
tags?: string[] | undefined;
|
|
3912
|
+
allowTargetBlank?: boolean | undefined;
|
|
3913
|
+
allowText?: boolean | undefined;
|
|
3914
|
+
repeat?: boolean | undefined;
|
|
3915
|
+
variants?: string[] | undefined;
|
|
3916
|
+
} | undefined;
|
|
3917
|
+
} | {
|
|
3918
|
+
type: "Number";
|
|
3919
|
+
fieldset?: string | null | undefined;
|
|
3920
|
+
config?: {
|
|
3921
|
+
label?: string | null | undefined;
|
|
3922
|
+
placeholder?: string | undefined;
|
|
3923
|
+
min?: number | undefined;
|
|
3924
|
+
max?: number | undefined;
|
|
3925
|
+
step?: number | undefined;
|
|
3926
|
+
} | undefined;
|
|
3927
|
+
} | {
|
|
3928
|
+
type: "Range";
|
|
3929
|
+
fieldset?: string | null | undefined;
|
|
3930
|
+
config?: {
|
|
3931
|
+
label?: string | null | undefined;
|
|
3932
|
+
placeholder?: string | undefined;
|
|
3933
|
+
min?: number | undefined;
|
|
3934
|
+
max?: number | undefined;
|
|
3935
|
+
step?: number | undefined;
|
|
3936
|
+
} | undefined;
|
|
3937
|
+
} | {
|
|
3938
|
+
type: "StructuredText";
|
|
3939
|
+
fieldset?: string | null | undefined;
|
|
3940
|
+
config?: {
|
|
3941
|
+
label?: string | null | undefined;
|
|
3942
|
+
placeholder?: string | undefined;
|
|
3943
|
+
useAsTitle?: boolean | undefined;
|
|
3944
|
+
single?: string | undefined;
|
|
3945
|
+
multi?: string | undefined;
|
|
3946
|
+
imageConstraint?: {
|
|
3947
|
+
width?: number | null | undefined;
|
|
3948
|
+
height?: number | null | undefined;
|
|
3949
|
+
} | undefined;
|
|
3950
|
+
labels?: string[] | undefined;
|
|
3951
|
+
allowTargetBlank?: boolean | undefined;
|
|
3952
|
+
} | undefined;
|
|
3953
|
+
} | {
|
|
3954
|
+
type: "Select";
|
|
3955
|
+
fieldset?: string | null | undefined;
|
|
3956
|
+
config?: {
|
|
3957
|
+
label?: string | null | undefined;
|
|
3958
|
+
placeholder?: string | undefined;
|
|
3959
|
+
default_value?: string | undefined;
|
|
3960
|
+
options?: string[] | undefined;
|
|
3961
|
+
} | undefined;
|
|
3962
|
+
} | {
|
|
3963
|
+
type: "Separator";
|
|
3964
|
+
config?: {
|
|
3965
|
+
label?: string | null | undefined;
|
|
3966
|
+
} | undefined;
|
|
3967
|
+
} | {
|
|
3968
|
+
type: "Table";
|
|
3969
|
+
config?: {
|
|
3970
|
+
label?: string | null | undefined;
|
|
3971
|
+
} | undefined;
|
|
3972
|
+
} | {
|
|
3973
|
+
type: "Text";
|
|
3974
|
+
fieldset?: string | null | undefined;
|
|
3975
|
+
config?: {
|
|
3976
|
+
label?: string | null | undefined;
|
|
3977
|
+
useAsTitle?: boolean | undefined;
|
|
3978
|
+
placeholder?: string | undefined;
|
|
3979
|
+
} | undefined;
|
|
3980
|
+
} | {
|
|
3981
|
+
type: "Timestamp";
|
|
3982
|
+
fieldset?: string | null | undefined;
|
|
3983
|
+
config?: {
|
|
3984
|
+
label?: string | null | undefined;
|
|
3985
|
+
placeholder?: string | undefined;
|
|
3986
|
+
default?: string | undefined;
|
|
3987
|
+
} | undefined;
|
|
3988
|
+
}> | undefined;
|
|
3989
|
+
}, unknown>;
|
|
3561
3990
|
declare const SharedSliceRefModelSchema: t.Type<{
|
|
3562
3991
|
type: "SharedSlice";
|
|
3563
3992
|
}, {
|
|
@@ -4359,5 +4788,5 @@ declare const CustomTypeModelSchema: t.Type<{
|
|
|
4359
4788
|
label?: string | null | undefined;
|
|
4360
4789
|
}, unknown>;
|
|
4361
4790
|
//#endregion
|
|
4362
|
-
export { AssetSchema, BooleanContentSchema, BooleanLegacy, BooleanModelSchema, ColorContentSchema, ColorLegacy, ColorModelSchema, CompositeSliceContentSchema, CompositeSliceItemContentSchema, CompositeSliceLegacy, CompositeSliceModelSchema, CustomTypeModelSchema, DateContentSchema, DateLegacy, DateModelSchema, DocumentContentSchema, DocumentLegacy, DynamicSectionModelSchema, DynamicSliceModelSchema, DynamicSlicesModelSchema, DynamicWidgetModelSchema, EmbedContentSchema, EmbedLegacy, EmbedModelSchema, EmbedSchema, EmptyContentSchema, EmptyLegacy, FieldContentSchema, GeoPointContentSchema, GeoPointLegacy, GeoPointModelSchema, GroupContentSchema, GroupItemContentSchema, GroupItemLegacy, GroupLegacy, GroupModelSchema, HexaColorCodeSchema, ImageContentSchema, ImageLegacy, ImageModelSchema, IntegrationFieldContentSchema, IntegrationFieldLegacy, IntegrationFieldModelSchema, LegacySliceContentSchema, LegacySliceItemContentSchema, LegacySliceLegacy, LegacySliceModelSchema, LinkContentSchema, LinkLegacy, LinkModelSchema, NestableContentSchema, NestableLegacy, NestableModelSchema, NestedGroupModelSchema, NonEmptyStringSchema, NumberContentSchema, NumberLegacy, NumberModelSchema, RangeContentSchema, RangeLegacy, RangeModelSchema, RepeatableContentSchema, RepeatableLegacy, RichTextContentBlockSchema, RichTextContentSchema, RichTextContentSpanSchema, RichTextLegacy, RichTextModelSchema, SelectContentSchema, SelectLegacy, SelectModelSchema, SeparatorContentSchema, SeparatorLegacy, SeparatorModelSchema, SharedSliceContentSchema, SharedSliceItemContentSchema, SharedSliceLegacy, SharedSliceModelSchema, SharedSliceRefModelSchema, SliceContentModelSchema, SliceContentSchema, SliceItemContentSchema, SliceItemLegacy, SliceLegacy, SlicesContentSchema, SlicesLegacy, StaticCustomTypeModelSchema, StaticSectionModelSchema, StaticSliceModelSchema, StaticSlicesModelSchema, StaticWidgetModelSchema, TableContentSchema, TableLegacy, TableModelSchema, TextContentSchema, TextLegacy, TextModelSchema, TimestampContentSchema, TimestampLegacy, TimestampModelSchema, UIDContentSchema, UIDLegacy, UIDModelSchema, WidgetContentSchema, WidgetKeySchema, WidgetLegacy };
|
|
4791
|
+
export { AssetSchema, BooleanContentSchema, BooleanLegacy, BooleanModelSchema, ColorContentSchema, ColorLegacy, ColorModelSchema, CompositeSliceContentSchema, CompositeSliceItemContentSchema, CompositeSliceLegacy, CompositeSliceModelSchema, CustomTypeModelSchema, DateContentSchema, DateLegacy, DateModelSchema, DocumentContentSchema, DocumentLegacy, DynamicSectionModelSchema, DynamicSliceModelSchema, DynamicSlicesModelSchema, DynamicWidgetModelSchema, EmbedContentSchema, EmbedLegacy, EmbedModelSchema, EmbedSchema, EmptyContentSchema, EmptyLegacy, EmptyLinkContentSchema, FieldContentSchema, FilledLinkContentSchema, GeoPointContentSchema, GeoPointLegacy, GeoPointModelSchema, GroupContentSchema, GroupItemContentSchema, GroupItemLegacy, GroupLegacy, GroupModelSchema, HexaColorCodeSchema, ImageContentSchema, ImageContentViewSchema, ImageLegacy, ImageModelSchema, IntegrationFieldContentSchema, IntegrationFieldLegacy, IntegrationFieldModelSchema, LegacySliceContentSchema, LegacySliceItemContentSchema, LegacySliceLegacy, LegacySliceModelSchema, LinkContentSchema, LinkLegacy, LinkModelSchema, NestableContentSchema, NestableLegacy, NestableModelSchema, NestedGroupModelSchema, NonEmptyStringSchema, NumberContentSchema, NumberLegacy, NumberModelSchema, RangeContentSchema, RangeLegacy, RangeModelSchema, RepeatableContentSchema, RepeatableLegacy, RichTextContentBlockSchema, RichTextContentSchema, RichTextContentSpanSchema, RichTextLegacy, RichTextModelSchema, SelectContentSchema, SelectLegacy, SelectModelSchema, SeparatorContentSchema, SeparatorLegacy, SeparatorModelSchema, SharedSliceContentSchema, SharedSliceItemContentSchema, SharedSliceLegacy, SharedSliceModelSchema, SharedSliceModelVariationSchema, SharedSliceRefModelSchema, SliceContentModelSchema, SliceContentSchema, SliceItemContentSchema, SliceItemLegacy, SliceLegacy, SlicesContentSchema, SlicesLegacy, StaticCustomTypeModelSchema, StaticSectionModelSchema, StaticSliceModelSchema, StaticSlicesModelSchema, StaticWidgetModelSchema, TableContentSchema, TableLegacy, TableModelSchema, TextContentSchema, TextLegacy, TextModelSchema, TimestampContentSchema, TimestampLegacy, TimestampModelSchema, UIDContentSchema, UIDLegacy, UIDModelSchema, WidgetContentSchema, WidgetKeySchema, WidgetLegacy };
|
|
4363
4792
|
//# sourceMappingURL=io-ts.d.ts.map
|