@prismicio/types-internal 1.2.0-alpha.0 → 1.2.0-alpha.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/customtypes/Comparators/SharedSlice.d.ts +260 -260
- package/lib/customtypes/Comparators/Variation.d.ts +258 -258
- package/lib/customtypes/CustomType.d.ts +932 -932
- package/lib/customtypes/Section.d.ts +932 -932
- package/lib/customtypes/widgets/Widget.d.ts +664 -664
- package/lib/customtypes/widgets/slices/Slices.d.ts +792 -792
- package/lib/documents/widgets/nestable/EmbedContent.d.ts +4 -4
- package/lib/documents/widgets/nestable/ImageContent.d.ts +14 -14
- package/lib/documents/widgets/nestable/Link/ExternalLink.d.ts +4 -4
- package/lib/documents/widgets/nestable/Link/LinkContent.d.ts +2 -2
- package/lib/documents/widgets/nestable/Link/index.d.ts +4 -4
- package/lib/documents/widgets/nestable/StructuredTextContent/Block.d.ts +8 -8
- package/lib/utils/Objects.d.ts +3 -3
- package/package.json +1 -1
- package/src/utils/Objects.ts +13 -14
|
@@ -18,328 +18,328 @@ export declare const SliceComparator: {
|
|
|
18
18
|
docURL: string;
|
|
19
19
|
version: string;
|
|
20
20
|
} & {
|
|
21
|
-
display?: string
|
|
21
|
+
display?: string;
|
|
22
22
|
primary?: {
|
|
23
23
|
[x: string]: ({
|
|
24
24
|
type: "Boolean";
|
|
25
25
|
} & {
|
|
26
26
|
config?: {
|
|
27
27
|
label?: string | null | undefined;
|
|
28
|
-
default_value?: boolean
|
|
29
|
-
placeholder_true?: string
|
|
30
|
-
placeholder_false?: string
|
|
31
|
-
}
|
|
28
|
+
default_value?: boolean;
|
|
29
|
+
placeholder_true?: string;
|
|
30
|
+
placeholder_false?: string;
|
|
31
|
+
};
|
|
32
32
|
}) | ({
|
|
33
33
|
type: "Color";
|
|
34
34
|
} & {
|
|
35
35
|
fieldset?: string | null | undefined;
|
|
36
36
|
config?: {
|
|
37
37
|
label?: string | null | undefined;
|
|
38
|
-
placeholder?: string
|
|
39
|
-
}
|
|
38
|
+
placeholder?: string;
|
|
39
|
+
};
|
|
40
40
|
}) | ({
|
|
41
41
|
type: "Date";
|
|
42
42
|
} & {
|
|
43
43
|
fieldset?: string | null | undefined;
|
|
44
44
|
config?: {
|
|
45
45
|
label?: string | null | undefined;
|
|
46
|
-
placeholder?: string
|
|
47
|
-
default?: string
|
|
48
|
-
}
|
|
46
|
+
placeholder?: string;
|
|
47
|
+
default?: string;
|
|
48
|
+
};
|
|
49
49
|
}) | ({
|
|
50
50
|
type: "Embed";
|
|
51
51
|
} & {
|
|
52
52
|
fieldset?: string | null | undefined;
|
|
53
53
|
config?: {
|
|
54
54
|
label?: string | null | undefined;
|
|
55
|
-
placeholder?: string
|
|
56
|
-
useAsTitle?: boolean
|
|
57
|
-
}
|
|
55
|
+
placeholder?: string;
|
|
56
|
+
useAsTitle?: boolean;
|
|
57
|
+
};
|
|
58
58
|
}) | ({
|
|
59
59
|
type: "GeoPoint";
|
|
60
60
|
} & {
|
|
61
61
|
fieldset?: string | null | undefined;
|
|
62
62
|
config?: {
|
|
63
63
|
label?: string | null | undefined;
|
|
64
|
-
}
|
|
64
|
+
};
|
|
65
65
|
}) | ({
|
|
66
66
|
type: "Image";
|
|
67
67
|
} & {
|
|
68
68
|
fieldset?: string | null | undefined;
|
|
69
69
|
config?: {
|
|
70
70
|
label?: string | null | undefined;
|
|
71
|
-
placeholder?: string
|
|
71
|
+
placeholder?: string;
|
|
72
72
|
constraint?: {
|
|
73
|
-
width?: number | null
|
|
74
|
-
height?: number | null
|
|
75
|
-
}
|
|
73
|
+
width?: number | null;
|
|
74
|
+
height?: number | null;
|
|
75
|
+
};
|
|
76
76
|
thumbnails?: readonly ({
|
|
77
77
|
name: string;
|
|
78
78
|
} & {
|
|
79
|
-
width?: number | null
|
|
80
|
-
height?: number | null
|
|
81
|
-
})[]
|
|
82
|
-
}
|
|
79
|
+
width?: number | null;
|
|
80
|
+
height?: number | null;
|
|
81
|
+
})[];
|
|
82
|
+
};
|
|
83
83
|
}) | ({
|
|
84
84
|
type: "IntegrationFields";
|
|
85
85
|
} & {
|
|
86
86
|
fieldset?: string | null | undefined;
|
|
87
87
|
config?: {
|
|
88
88
|
label?: string | null | undefined;
|
|
89
|
-
placeholder?: string
|
|
90
|
-
catalog?: string
|
|
91
|
-
}
|
|
89
|
+
placeholder?: string;
|
|
90
|
+
catalog?: string;
|
|
91
|
+
};
|
|
92
92
|
}) | ({
|
|
93
93
|
type: "Link";
|
|
94
94
|
} & {
|
|
95
95
|
fieldset?: string | null | undefined;
|
|
96
96
|
config?: {
|
|
97
97
|
label?: string | null | undefined;
|
|
98
|
-
useAsTitle?: boolean
|
|
99
|
-
placeholder?: string
|
|
100
|
-
select?: "web" | "media" | "document" | null
|
|
101
|
-
customtypes?: readonly string[]
|
|
102
|
-
masks?: readonly string[]
|
|
103
|
-
tags?: readonly string[]
|
|
104
|
-
allowTargetBlank?: boolean
|
|
105
|
-
}
|
|
98
|
+
useAsTitle?: boolean;
|
|
99
|
+
placeholder?: string;
|
|
100
|
+
select?: "web" | "media" | "document" | null;
|
|
101
|
+
customtypes?: readonly string[];
|
|
102
|
+
masks?: readonly string[];
|
|
103
|
+
tags?: readonly string[];
|
|
104
|
+
allowTargetBlank?: boolean;
|
|
105
|
+
};
|
|
106
106
|
}) | ({
|
|
107
107
|
type: "Number";
|
|
108
108
|
} & {
|
|
109
109
|
fieldset?: string | null | undefined;
|
|
110
110
|
config?: {
|
|
111
111
|
label?: string | null | undefined;
|
|
112
|
-
placeholder?: string
|
|
113
|
-
min?: number
|
|
114
|
-
max?: number
|
|
115
|
-
step?: number
|
|
116
|
-
}
|
|
112
|
+
placeholder?: string;
|
|
113
|
+
min?: number;
|
|
114
|
+
max?: number;
|
|
115
|
+
step?: number;
|
|
116
|
+
};
|
|
117
117
|
}) | ({
|
|
118
118
|
type: "Range";
|
|
119
119
|
} & {
|
|
120
120
|
fieldset?: string | null | undefined;
|
|
121
121
|
config?: {
|
|
122
122
|
label?: string | null | undefined;
|
|
123
|
-
placeholder?: string
|
|
124
|
-
min?: number
|
|
125
|
-
max?: number
|
|
126
|
-
step?: number
|
|
127
|
-
}
|
|
123
|
+
placeholder?: string;
|
|
124
|
+
min?: number;
|
|
125
|
+
max?: number;
|
|
126
|
+
step?: number;
|
|
127
|
+
};
|
|
128
128
|
}) | ({
|
|
129
129
|
type: "StructuredText";
|
|
130
130
|
} & {
|
|
131
131
|
fieldset?: string | null | undefined;
|
|
132
132
|
config?: {
|
|
133
133
|
label?: string | null | undefined;
|
|
134
|
-
placeholder?: string
|
|
135
|
-
useAsTitle?: boolean
|
|
136
|
-
single?: string
|
|
137
|
-
multi?: string
|
|
134
|
+
placeholder?: string;
|
|
135
|
+
useAsTitle?: boolean;
|
|
136
|
+
single?: string;
|
|
137
|
+
multi?: string;
|
|
138
138
|
imageConstraint?: {
|
|
139
|
-
width?: number | null
|
|
140
|
-
height?: number | null
|
|
141
|
-
}
|
|
142
|
-
labels?: readonly string[]
|
|
143
|
-
allowTargetBlank?: boolean
|
|
144
|
-
}
|
|
139
|
+
width?: number | null;
|
|
140
|
+
height?: number | null;
|
|
141
|
+
};
|
|
142
|
+
labels?: readonly string[];
|
|
143
|
+
allowTargetBlank?: boolean;
|
|
144
|
+
};
|
|
145
145
|
}) | ({
|
|
146
146
|
type: "Select";
|
|
147
147
|
} & {
|
|
148
148
|
fieldset?: string | null | undefined;
|
|
149
149
|
config?: {
|
|
150
150
|
label?: string | null | undefined;
|
|
151
|
-
placeholder?: string
|
|
152
|
-
default_value?: string
|
|
153
|
-
options?: readonly string[]
|
|
154
|
-
}
|
|
151
|
+
placeholder?: string;
|
|
152
|
+
default_value?: string;
|
|
153
|
+
options?: readonly string[];
|
|
154
|
+
};
|
|
155
155
|
}) | ({
|
|
156
156
|
type: "Separator";
|
|
157
157
|
} & {
|
|
158
158
|
config?: {
|
|
159
159
|
label?: string | null | undefined;
|
|
160
|
-
}
|
|
160
|
+
};
|
|
161
161
|
}) | ({
|
|
162
162
|
type: "Text";
|
|
163
163
|
} & {
|
|
164
164
|
fieldset?: string | null | undefined;
|
|
165
165
|
config?: {
|
|
166
166
|
label?: string | null | undefined;
|
|
167
|
-
useAsTitle?: boolean
|
|
168
|
-
placeholder?: string
|
|
169
|
-
}
|
|
167
|
+
useAsTitle?: boolean;
|
|
168
|
+
placeholder?: string;
|
|
169
|
+
};
|
|
170
170
|
}) | ({
|
|
171
171
|
type: "Timestamp";
|
|
172
172
|
} & {
|
|
173
173
|
fieldset?: string | null | undefined;
|
|
174
174
|
config?: {
|
|
175
175
|
label?: string | null | undefined;
|
|
176
|
-
placeholder?: string
|
|
177
|
-
default?: string
|
|
178
|
-
}
|
|
176
|
+
placeholder?: string;
|
|
177
|
+
default?: string;
|
|
178
|
+
};
|
|
179
179
|
});
|
|
180
|
-
}
|
|
180
|
+
};
|
|
181
181
|
items?: {
|
|
182
182
|
[x: string]: ({
|
|
183
183
|
type: "Boolean";
|
|
184
184
|
} & {
|
|
185
185
|
config?: {
|
|
186
186
|
label?: string | null | undefined;
|
|
187
|
-
default_value?: boolean
|
|
188
|
-
placeholder_true?: string
|
|
189
|
-
placeholder_false?: string
|
|
190
|
-
}
|
|
187
|
+
default_value?: boolean;
|
|
188
|
+
placeholder_true?: string;
|
|
189
|
+
placeholder_false?: string;
|
|
190
|
+
};
|
|
191
191
|
}) | ({
|
|
192
192
|
type: "Color";
|
|
193
193
|
} & {
|
|
194
194
|
fieldset?: string | null | undefined;
|
|
195
195
|
config?: {
|
|
196
196
|
label?: string | null | undefined;
|
|
197
|
-
placeholder?: string
|
|
198
|
-
}
|
|
197
|
+
placeholder?: string;
|
|
198
|
+
};
|
|
199
199
|
}) | ({
|
|
200
200
|
type: "Date";
|
|
201
201
|
} & {
|
|
202
202
|
fieldset?: string | null | undefined;
|
|
203
203
|
config?: {
|
|
204
204
|
label?: string | null | undefined;
|
|
205
|
-
placeholder?: string
|
|
206
|
-
default?: string
|
|
207
|
-
}
|
|
205
|
+
placeholder?: string;
|
|
206
|
+
default?: string;
|
|
207
|
+
};
|
|
208
208
|
}) | ({
|
|
209
209
|
type: "Embed";
|
|
210
210
|
} & {
|
|
211
211
|
fieldset?: string | null | undefined;
|
|
212
212
|
config?: {
|
|
213
213
|
label?: string | null | undefined;
|
|
214
|
-
placeholder?: string
|
|
215
|
-
useAsTitle?: boolean
|
|
216
|
-
}
|
|
214
|
+
placeholder?: string;
|
|
215
|
+
useAsTitle?: boolean;
|
|
216
|
+
};
|
|
217
217
|
}) | ({
|
|
218
218
|
type: "GeoPoint";
|
|
219
219
|
} & {
|
|
220
220
|
fieldset?: string | null | undefined;
|
|
221
221
|
config?: {
|
|
222
222
|
label?: string | null | undefined;
|
|
223
|
-
}
|
|
223
|
+
};
|
|
224
224
|
}) | ({
|
|
225
225
|
type: "Image";
|
|
226
226
|
} & {
|
|
227
227
|
fieldset?: string | null | undefined;
|
|
228
228
|
config?: {
|
|
229
229
|
label?: string | null | undefined;
|
|
230
|
-
placeholder?: string
|
|
230
|
+
placeholder?: string;
|
|
231
231
|
constraint?: {
|
|
232
|
-
width?: number | null
|
|
233
|
-
height?: number | null
|
|
234
|
-
}
|
|
232
|
+
width?: number | null;
|
|
233
|
+
height?: number | null;
|
|
234
|
+
};
|
|
235
235
|
thumbnails?: readonly ({
|
|
236
236
|
name: string;
|
|
237
237
|
} & {
|
|
238
|
-
width?: number | null
|
|
239
|
-
height?: number | null
|
|
240
|
-
})[]
|
|
241
|
-
}
|
|
238
|
+
width?: number | null;
|
|
239
|
+
height?: number | null;
|
|
240
|
+
})[];
|
|
241
|
+
};
|
|
242
242
|
}) | ({
|
|
243
243
|
type: "IntegrationFields";
|
|
244
244
|
} & {
|
|
245
245
|
fieldset?: string | null | undefined;
|
|
246
246
|
config?: {
|
|
247
247
|
label?: string | null | undefined;
|
|
248
|
-
placeholder?: string
|
|
249
|
-
catalog?: string
|
|
250
|
-
}
|
|
248
|
+
placeholder?: string;
|
|
249
|
+
catalog?: string;
|
|
250
|
+
};
|
|
251
251
|
}) | ({
|
|
252
252
|
type: "Link";
|
|
253
253
|
} & {
|
|
254
254
|
fieldset?: string | null | undefined;
|
|
255
255
|
config?: {
|
|
256
256
|
label?: string | null | undefined;
|
|
257
|
-
useAsTitle?: boolean
|
|
258
|
-
placeholder?: string
|
|
259
|
-
select?: "web" | "media" | "document" | null
|
|
260
|
-
customtypes?: readonly string[]
|
|
261
|
-
masks?: readonly string[]
|
|
262
|
-
tags?: readonly string[]
|
|
263
|
-
allowTargetBlank?: boolean
|
|
264
|
-
}
|
|
257
|
+
useAsTitle?: boolean;
|
|
258
|
+
placeholder?: string;
|
|
259
|
+
select?: "web" | "media" | "document" | null;
|
|
260
|
+
customtypes?: readonly string[];
|
|
261
|
+
masks?: readonly string[];
|
|
262
|
+
tags?: readonly string[];
|
|
263
|
+
allowTargetBlank?: boolean;
|
|
264
|
+
};
|
|
265
265
|
}) | ({
|
|
266
266
|
type: "Number";
|
|
267
267
|
} & {
|
|
268
268
|
fieldset?: string | null | undefined;
|
|
269
269
|
config?: {
|
|
270
270
|
label?: string | null | undefined;
|
|
271
|
-
placeholder?: string
|
|
272
|
-
min?: number
|
|
273
|
-
max?: number
|
|
274
|
-
step?: number
|
|
275
|
-
}
|
|
271
|
+
placeholder?: string;
|
|
272
|
+
min?: number;
|
|
273
|
+
max?: number;
|
|
274
|
+
step?: number;
|
|
275
|
+
};
|
|
276
276
|
}) | ({
|
|
277
277
|
type: "Range";
|
|
278
278
|
} & {
|
|
279
279
|
fieldset?: string | null | undefined;
|
|
280
280
|
config?: {
|
|
281
281
|
label?: string | null | undefined;
|
|
282
|
-
placeholder?: string
|
|
283
|
-
min?: number
|
|
284
|
-
max?: number
|
|
285
|
-
step?: number
|
|
286
|
-
}
|
|
282
|
+
placeholder?: string;
|
|
283
|
+
min?: number;
|
|
284
|
+
max?: number;
|
|
285
|
+
step?: number;
|
|
286
|
+
};
|
|
287
287
|
}) | ({
|
|
288
288
|
type: "StructuredText";
|
|
289
289
|
} & {
|
|
290
290
|
fieldset?: string | null | undefined;
|
|
291
291
|
config?: {
|
|
292
292
|
label?: string | null | undefined;
|
|
293
|
-
placeholder?: string
|
|
294
|
-
useAsTitle?: boolean
|
|
295
|
-
single?: string
|
|
296
|
-
multi?: string
|
|
293
|
+
placeholder?: string;
|
|
294
|
+
useAsTitle?: boolean;
|
|
295
|
+
single?: string;
|
|
296
|
+
multi?: string;
|
|
297
297
|
imageConstraint?: {
|
|
298
|
-
width?: number | null
|
|
299
|
-
height?: number | null
|
|
300
|
-
}
|
|
301
|
-
labels?: readonly string[]
|
|
302
|
-
allowTargetBlank?: boolean
|
|
303
|
-
}
|
|
298
|
+
width?: number | null;
|
|
299
|
+
height?: number | null;
|
|
300
|
+
};
|
|
301
|
+
labels?: readonly string[];
|
|
302
|
+
allowTargetBlank?: boolean;
|
|
303
|
+
};
|
|
304
304
|
}) | ({
|
|
305
305
|
type: "Select";
|
|
306
306
|
} & {
|
|
307
307
|
fieldset?: string | null | undefined;
|
|
308
308
|
config?: {
|
|
309
309
|
label?: string | null | undefined;
|
|
310
|
-
placeholder?: string
|
|
311
|
-
default_value?: string
|
|
312
|
-
options?: readonly string[]
|
|
313
|
-
}
|
|
310
|
+
placeholder?: string;
|
|
311
|
+
default_value?: string;
|
|
312
|
+
options?: readonly string[];
|
|
313
|
+
};
|
|
314
314
|
}) | ({
|
|
315
315
|
type: "Separator";
|
|
316
316
|
} & {
|
|
317
317
|
config?: {
|
|
318
318
|
label?: string | null | undefined;
|
|
319
|
-
}
|
|
319
|
+
};
|
|
320
320
|
}) | ({
|
|
321
321
|
type: "Text";
|
|
322
322
|
} & {
|
|
323
323
|
fieldset?: string | null | undefined;
|
|
324
324
|
config?: {
|
|
325
325
|
label?: string | null | undefined;
|
|
326
|
-
useAsTitle?: boolean
|
|
327
|
-
placeholder?: string
|
|
328
|
-
}
|
|
326
|
+
useAsTitle?: boolean;
|
|
327
|
+
placeholder?: string;
|
|
328
|
+
};
|
|
329
329
|
}) | ({
|
|
330
330
|
type: "Timestamp";
|
|
331
331
|
} & {
|
|
332
332
|
fieldset?: string | null | undefined;
|
|
333
333
|
config?: {
|
|
334
334
|
label?: string | null | undefined;
|
|
335
|
-
placeholder?: string
|
|
336
|
-
default?: string
|
|
337
|
-
}
|
|
335
|
+
placeholder?: string;
|
|
336
|
+
default?: string;
|
|
337
|
+
};
|
|
338
338
|
});
|
|
339
|
-
}
|
|
339
|
+
};
|
|
340
340
|
})[];
|
|
341
341
|
} & {
|
|
342
|
-
description?: string
|
|
342
|
+
description?: string;
|
|
343
343
|
}) | undefined, sliceB?: ({
|
|
344
344
|
id: string;
|
|
345
345
|
type: "SharedSlice";
|
|
@@ -352,328 +352,328 @@ export declare const SliceComparator: {
|
|
|
352
352
|
docURL: string;
|
|
353
353
|
version: string;
|
|
354
354
|
} & {
|
|
355
|
-
display?: string
|
|
355
|
+
display?: string;
|
|
356
356
|
primary?: {
|
|
357
357
|
[x: string]: ({
|
|
358
358
|
type: "Boolean";
|
|
359
359
|
} & {
|
|
360
360
|
config?: {
|
|
361
361
|
label?: string | null | undefined;
|
|
362
|
-
default_value?: boolean
|
|
363
|
-
placeholder_true?: string
|
|
364
|
-
placeholder_false?: string
|
|
365
|
-
}
|
|
362
|
+
default_value?: boolean;
|
|
363
|
+
placeholder_true?: string;
|
|
364
|
+
placeholder_false?: string;
|
|
365
|
+
};
|
|
366
366
|
}) | ({
|
|
367
367
|
type: "Color";
|
|
368
368
|
} & {
|
|
369
369
|
fieldset?: string | null | undefined;
|
|
370
370
|
config?: {
|
|
371
371
|
label?: string | null | undefined;
|
|
372
|
-
placeholder?: string
|
|
373
|
-
}
|
|
372
|
+
placeholder?: string;
|
|
373
|
+
};
|
|
374
374
|
}) | ({
|
|
375
375
|
type: "Date";
|
|
376
376
|
} & {
|
|
377
377
|
fieldset?: string | null | undefined;
|
|
378
378
|
config?: {
|
|
379
379
|
label?: string | null | undefined;
|
|
380
|
-
placeholder?: string
|
|
381
|
-
default?: string
|
|
382
|
-
}
|
|
380
|
+
placeholder?: string;
|
|
381
|
+
default?: string;
|
|
382
|
+
};
|
|
383
383
|
}) | ({
|
|
384
384
|
type: "Embed";
|
|
385
385
|
} & {
|
|
386
386
|
fieldset?: string | null | undefined;
|
|
387
387
|
config?: {
|
|
388
388
|
label?: string | null | undefined;
|
|
389
|
-
placeholder?: string
|
|
390
|
-
useAsTitle?: boolean
|
|
391
|
-
}
|
|
389
|
+
placeholder?: string;
|
|
390
|
+
useAsTitle?: boolean;
|
|
391
|
+
};
|
|
392
392
|
}) | ({
|
|
393
393
|
type: "GeoPoint";
|
|
394
394
|
} & {
|
|
395
395
|
fieldset?: string | null | undefined;
|
|
396
396
|
config?: {
|
|
397
397
|
label?: string | null | undefined;
|
|
398
|
-
}
|
|
398
|
+
};
|
|
399
399
|
}) | ({
|
|
400
400
|
type: "Image";
|
|
401
401
|
} & {
|
|
402
402
|
fieldset?: string | null | undefined;
|
|
403
403
|
config?: {
|
|
404
404
|
label?: string | null | undefined;
|
|
405
|
-
placeholder?: string
|
|
405
|
+
placeholder?: string;
|
|
406
406
|
constraint?: {
|
|
407
|
-
width?: number | null
|
|
408
|
-
height?: number | null
|
|
409
|
-
}
|
|
407
|
+
width?: number | null;
|
|
408
|
+
height?: number | null;
|
|
409
|
+
};
|
|
410
410
|
thumbnails?: readonly ({
|
|
411
411
|
name: string;
|
|
412
412
|
} & {
|
|
413
|
-
width?: number | null
|
|
414
|
-
height?: number | null
|
|
415
|
-
})[]
|
|
416
|
-
}
|
|
413
|
+
width?: number | null;
|
|
414
|
+
height?: number | null;
|
|
415
|
+
})[];
|
|
416
|
+
};
|
|
417
417
|
}) | ({
|
|
418
418
|
type: "IntegrationFields";
|
|
419
419
|
} & {
|
|
420
420
|
fieldset?: string | null | undefined;
|
|
421
421
|
config?: {
|
|
422
422
|
label?: string | null | undefined;
|
|
423
|
-
placeholder?: string
|
|
424
|
-
catalog?: string
|
|
425
|
-
}
|
|
423
|
+
placeholder?: string;
|
|
424
|
+
catalog?: string;
|
|
425
|
+
};
|
|
426
426
|
}) | ({
|
|
427
427
|
type: "Link";
|
|
428
428
|
} & {
|
|
429
429
|
fieldset?: string | null | undefined;
|
|
430
430
|
config?: {
|
|
431
431
|
label?: string | null | undefined;
|
|
432
|
-
useAsTitle?: boolean
|
|
433
|
-
placeholder?: string
|
|
434
|
-
select?: "web" | "media" | "document" | null
|
|
435
|
-
customtypes?: readonly string[]
|
|
436
|
-
masks?: readonly string[]
|
|
437
|
-
tags?: readonly string[]
|
|
438
|
-
allowTargetBlank?: boolean
|
|
439
|
-
}
|
|
432
|
+
useAsTitle?: boolean;
|
|
433
|
+
placeholder?: string;
|
|
434
|
+
select?: "web" | "media" | "document" | null;
|
|
435
|
+
customtypes?: readonly string[];
|
|
436
|
+
masks?: readonly string[];
|
|
437
|
+
tags?: readonly string[];
|
|
438
|
+
allowTargetBlank?: boolean;
|
|
439
|
+
};
|
|
440
440
|
}) | ({
|
|
441
441
|
type: "Number";
|
|
442
442
|
} & {
|
|
443
443
|
fieldset?: string | null | undefined;
|
|
444
444
|
config?: {
|
|
445
445
|
label?: string | null | undefined;
|
|
446
|
-
placeholder?: string
|
|
447
|
-
min?: number
|
|
448
|
-
max?: number
|
|
449
|
-
step?: number
|
|
450
|
-
}
|
|
446
|
+
placeholder?: string;
|
|
447
|
+
min?: number;
|
|
448
|
+
max?: number;
|
|
449
|
+
step?: number;
|
|
450
|
+
};
|
|
451
451
|
}) | ({
|
|
452
452
|
type: "Range";
|
|
453
453
|
} & {
|
|
454
454
|
fieldset?: string | null | undefined;
|
|
455
455
|
config?: {
|
|
456
456
|
label?: string | null | undefined;
|
|
457
|
-
placeholder?: string
|
|
458
|
-
min?: number
|
|
459
|
-
max?: number
|
|
460
|
-
step?: number
|
|
461
|
-
}
|
|
457
|
+
placeholder?: string;
|
|
458
|
+
min?: number;
|
|
459
|
+
max?: number;
|
|
460
|
+
step?: number;
|
|
461
|
+
};
|
|
462
462
|
}) | ({
|
|
463
463
|
type: "StructuredText";
|
|
464
464
|
} & {
|
|
465
465
|
fieldset?: string | null | undefined;
|
|
466
466
|
config?: {
|
|
467
467
|
label?: string | null | undefined;
|
|
468
|
-
placeholder?: string
|
|
469
|
-
useAsTitle?: boolean
|
|
470
|
-
single?: string
|
|
471
|
-
multi?: string
|
|
468
|
+
placeholder?: string;
|
|
469
|
+
useAsTitle?: boolean;
|
|
470
|
+
single?: string;
|
|
471
|
+
multi?: string;
|
|
472
472
|
imageConstraint?: {
|
|
473
|
-
width?: number | null
|
|
474
|
-
height?: number | null
|
|
475
|
-
}
|
|
476
|
-
labels?: readonly string[]
|
|
477
|
-
allowTargetBlank?: boolean
|
|
478
|
-
}
|
|
473
|
+
width?: number | null;
|
|
474
|
+
height?: number | null;
|
|
475
|
+
};
|
|
476
|
+
labels?: readonly string[];
|
|
477
|
+
allowTargetBlank?: boolean;
|
|
478
|
+
};
|
|
479
479
|
}) | ({
|
|
480
480
|
type: "Select";
|
|
481
481
|
} & {
|
|
482
482
|
fieldset?: string | null | undefined;
|
|
483
483
|
config?: {
|
|
484
484
|
label?: string | null | undefined;
|
|
485
|
-
placeholder?: string
|
|
486
|
-
default_value?: string
|
|
487
|
-
options?: readonly string[]
|
|
488
|
-
}
|
|
485
|
+
placeholder?: string;
|
|
486
|
+
default_value?: string;
|
|
487
|
+
options?: readonly string[];
|
|
488
|
+
};
|
|
489
489
|
}) | ({
|
|
490
490
|
type: "Separator";
|
|
491
491
|
} & {
|
|
492
492
|
config?: {
|
|
493
493
|
label?: string | null | undefined;
|
|
494
|
-
}
|
|
494
|
+
};
|
|
495
495
|
}) | ({
|
|
496
496
|
type: "Text";
|
|
497
497
|
} & {
|
|
498
498
|
fieldset?: string | null | undefined;
|
|
499
499
|
config?: {
|
|
500
500
|
label?: string | null | undefined;
|
|
501
|
-
useAsTitle?: boolean
|
|
502
|
-
placeholder?: string
|
|
503
|
-
}
|
|
501
|
+
useAsTitle?: boolean;
|
|
502
|
+
placeholder?: string;
|
|
503
|
+
};
|
|
504
504
|
}) | ({
|
|
505
505
|
type: "Timestamp";
|
|
506
506
|
} & {
|
|
507
507
|
fieldset?: string | null | undefined;
|
|
508
508
|
config?: {
|
|
509
509
|
label?: string | null | undefined;
|
|
510
|
-
placeholder?: string
|
|
511
|
-
default?: string
|
|
512
|
-
}
|
|
510
|
+
placeholder?: string;
|
|
511
|
+
default?: string;
|
|
512
|
+
};
|
|
513
513
|
});
|
|
514
|
-
}
|
|
514
|
+
};
|
|
515
515
|
items?: {
|
|
516
516
|
[x: string]: ({
|
|
517
517
|
type: "Boolean";
|
|
518
518
|
} & {
|
|
519
519
|
config?: {
|
|
520
520
|
label?: string | null | undefined;
|
|
521
|
-
default_value?: boolean
|
|
522
|
-
placeholder_true?: string
|
|
523
|
-
placeholder_false?: string
|
|
524
|
-
}
|
|
521
|
+
default_value?: boolean;
|
|
522
|
+
placeholder_true?: string;
|
|
523
|
+
placeholder_false?: string;
|
|
524
|
+
};
|
|
525
525
|
}) | ({
|
|
526
526
|
type: "Color";
|
|
527
527
|
} & {
|
|
528
528
|
fieldset?: string | null | undefined;
|
|
529
529
|
config?: {
|
|
530
530
|
label?: string | null | undefined;
|
|
531
|
-
placeholder?: string
|
|
532
|
-
}
|
|
531
|
+
placeholder?: string;
|
|
532
|
+
};
|
|
533
533
|
}) | ({
|
|
534
534
|
type: "Date";
|
|
535
535
|
} & {
|
|
536
536
|
fieldset?: string | null | undefined;
|
|
537
537
|
config?: {
|
|
538
538
|
label?: string | null | undefined;
|
|
539
|
-
placeholder?: string
|
|
540
|
-
default?: string
|
|
541
|
-
}
|
|
539
|
+
placeholder?: string;
|
|
540
|
+
default?: string;
|
|
541
|
+
};
|
|
542
542
|
}) | ({
|
|
543
543
|
type: "Embed";
|
|
544
544
|
} & {
|
|
545
545
|
fieldset?: string | null | undefined;
|
|
546
546
|
config?: {
|
|
547
547
|
label?: string | null | undefined;
|
|
548
|
-
placeholder?: string
|
|
549
|
-
useAsTitle?: boolean
|
|
550
|
-
}
|
|
548
|
+
placeholder?: string;
|
|
549
|
+
useAsTitle?: boolean;
|
|
550
|
+
};
|
|
551
551
|
}) | ({
|
|
552
552
|
type: "GeoPoint";
|
|
553
553
|
} & {
|
|
554
554
|
fieldset?: string | null | undefined;
|
|
555
555
|
config?: {
|
|
556
556
|
label?: string | null | undefined;
|
|
557
|
-
}
|
|
557
|
+
};
|
|
558
558
|
}) | ({
|
|
559
559
|
type: "Image";
|
|
560
560
|
} & {
|
|
561
561
|
fieldset?: string | null | undefined;
|
|
562
562
|
config?: {
|
|
563
563
|
label?: string | null | undefined;
|
|
564
|
-
placeholder?: string
|
|
564
|
+
placeholder?: string;
|
|
565
565
|
constraint?: {
|
|
566
|
-
width?: number | null
|
|
567
|
-
height?: number | null
|
|
568
|
-
}
|
|
566
|
+
width?: number | null;
|
|
567
|
+
height?: number | null;
|
|
568
|
+
};
|
|
569
569
|
thumbnails?: readonly ({
|
|
570
570
|
name: string;
|
|
571
571
|
} & {
|
|
572
|
-
width?: number | null
|
|
573
|
-
height?: number | null
|
|
574
|
-
})[]
|
|
575
|
-
}
|
|
572
|
+
width?: number | null;
|
|
573
|
+
height?: number | null;
|
|
574
|
+
})[];
|
|
575
|
+
};
|
|
576
576
|
}) | ({
|
|
577
577
|
type: "IntegrationFields";
|
|
578
578
|
} & {
|
|
579
579
|
fieldset?: string | null | undefined;
|
|
580
580
|
config?: {
|
|
581
581
|
label?: string | null | undefined;
|
|
582
|
-
placeholder?: string
|
|
583
|
-
catalog?: string
|
|
584
|
-
}
|
|
582
|
+
placeholder?: string;
|
|
583
|
+
catalog?: string;
|
|
584
|
+
};
|
|
585
585
|
}) | ({
|
|
586
586
|
type: "Link";
|
|
587
587
|
} & {
|
|
588
588
|
fieldset?: string | null | undefined;
|
|
589
589
|
config?: {
|
|
590
590
|
label?: string | null | undefined;
|
|
591
|
-
useAsTitle?: boolean
|
|
592
|
-
placeholder?: string
|
|
593
|
-
select?: "web" | "media" | "document" | null
|
|
594
|
-
customtypes?: readonly string[]
|
|
595
|
-
masks?: readonly string[]
|
|
596
|
-
tags?: readonly string[]
|
|
597
|
-
allowTargetBlank?: boolean
|
|
598
|
-
}
|
|
591
|
+
useAsTitle?: boolean;
|
|
592
|
+
placeholder?: string;
|
|
593
|
+
select?: "web" | "media" | "document" | null;
|
|
594
|
+
customtypes?: readonly string[];
|
|
595
|
+
masks?: readonly string[];
|
|
596
|
+
tags?: readonly string[];
|
|
597
|
+
allowTargetBlank?: boolean;
|
|
598
|
+
};
|
|
599
599
|
}) | ({
|
|
600
600
|
type: "Number";
|
|
601
601
|
} & {
|
|
602
602
|
fieldset?: string | null | undefined;
|
|
603
603
|
config?: {
|
|
604
604
|
label?: string | null | undefined;
|
|
605
|
-
placeholder?: string
|
|
606
|
-
min?: number
|
|
607
|
-
max?: number
|
|
608
|
-
step?: number
|
|
609
|
-
}
|
|
605
|
+
placeholder?: string;
|
|
606
|
+
min?: number;
|
|
607
|
+
max?: number;
|
|
608
|
+
step?: number;
|
|
609
|
+
};
|
|
610
610
|
}) | ({
|
|
611
611
|
type: "Range";
|
|
612
612
|
} & {
|
|
613
613
|
fieldset?: string | null | undefined;
|
|
614
614
|
config?: {
|
|
615
615
|
label?: string | null | undefined;
|
|
616
|
-
placeholder?: string
|
|
617
|
-
min?: number
|
|
618
|
-
max?: number
|
|
619
|
-
step?: number
|
|
620
|
-
}
|
|
616
|
+
placeholder?: string;
|
|
617
|
+
min?: number;
|
|
618
|
+
max?: number;
|
|
619
|
+
step?: number;
|
|
620
|
+
};
|
|
621
621
|
}) | ({
|
|
622
622
|
type: "StructuredText";
|
|
623
623
|
} & {
|
|
624
624
|
fieldset?: string | null | undefined;
|
|
625
625
|
config?: {
|
|
626
626
|
label?: string | null | undefined;
|
|
627
|
-
placeholder?: string
|
|
628
|
-
useAsTitle?: boolean
|
|
629
|
-
single?: string
|
|
630
|
-
multi?: string
|
|
627
|
+
placeholder?: string;
|
|
628
|
+
useAsTitle?: boolean;
|
|
629
|
+
single?: string;
|
|
630
|
+
multi?: string;
|
|
631
631
|
imageConstraint?: {
|
|
632
|
-
width?: number | null
|
|
633
|
-
height?: number | null
|
|
634
|
-
}
|
|
635
|
-
labels?: readonly string[]
|
|
636
|
-
allowTargetBlank?: boolean
|
|
637
|
-
}
|
|
632
|
+
width?: number | null;
|
|
633
|
+
height?: number | null;
|
|
634
|
+
};
|
|
635
|
+
labels?: readonly string[];
|
|
636
|
+
allowTargetBlank?: boolean;
|
|
637
|
+
};
|
|
638
638
|
}) | ({
|
|
639
639
|
type: "Select";
|
|
640
640
|
} & {
|
|
641
641
|
fieldset?: string | null | undefined;
|
|
642
642
|
config?: {
|
|
643
643
|
label?: string | null | undefined;
|
|
644
|
-
placeholder?: string
|
|
645
|
-
default_value?: string
|
|
646
|
-
options?: readonly string[]
|
|
647
|
-
}
|
|
644
|
+
placeholder?: string;
|
|
645
|
+
default_value?: string;
|
|
646
|
+
options?: readonly string[];
|
|
647
|
+
};
|
|
648
648
|
}) | ({
|
|
649
649
|
type: "Separator";
|
|
650
650
|
} & {
|
|
651
651
|
config?: {
|
|
652
652
|
label?: string | null | undefined;
|
|
653
|
-
}
|
|
653
|
+
};
|
|
654
654
|
}) | ({
|
|
655
655
|
type: "Text";
|
|
656
656
|
} & {
|
|
657
657
|
fieldset?: string | null | undefined;
|
|
658
658
|
config?: {
|
|
659
659
|
label?: string | null | undefined;
|
|
660
|
-
useAsTitle?: boolean
|
|
661
|
-
placeholder?: string
|
|
662
|
-
}
|
|
660
|
+
useAsTitle?: boolean;
|
|
661
|
+
placeholder?: string;
|
|
662
|
+
};
|
|
663
663
|
}) | ({
|
|
664
664
|
type: "Timestamp";
|
|
665
665
|
} & {
|
|
666
666
|
fieldset?: string | null | undefined;
|
|
667
667
|
config?: {
|
|
668
668
|
label?: string | null | undefined;
|
|
669
|
-
placeholder?: string
|
|
670
|
-
default?: string
|
|
671
|
-
}
|
|
669
|
+
placeholder?: string;
|
|
670
|
+
default?: string;
|
|
671
|
+
};
|
|
672
672
|
});
|
|
673
|
-
}
|
|
673
|
+
};
|
|
674
674
|
})[];
|
|
675
675
|
} & {
|
|
676
|
-
description?: string
|
|
676
|
+
description?: string;
|
|
677
677
|
}) | undefined): SliceDiff | undefined;
|
|
678
678
|
};
|
|
679
679
|
export {};
|