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