@prismicio/types-internal 4.6.0 → 4.7.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/dist/common/asset.d.ts +1 -2
- package/dist/common/asset.d.ts.map +1 -1
- package/dist/common/asset.js.map +1 -1
- package/dist/common/embed.d.ts +1 -2
- package/dist/common/embed.d.ts.map +1 -1
- package/dist/common/embed.js.map +1 -1
- package/dist/common/hexaColorCode.d.ts +1 -2
- package/dist/common/hexaColorCode.d.ts.map +1 -1
- package/dist/common/hexaColorCode.js.map +1 -1
- package/dist/common/nonEmptyString.d.ts +1 -2
- package/dist/common/nonEmptyString.d.ts.map +1 -1
- package/dist/common/nonEmptyString.js.map +1 -1
- package/dist/common/widgetKey.d.ts +1 -2
- package/dist/common/widgetKey.d.ts.map +1 -1
- package/dist/common/widgetKey.js.map +1 -1
- package/dist/content/boolean.d.ts +1 -2
- package/dist/content/boolean.d.ts.map +1 -1
- package/dist/content/boolean.js.map +1 -1
- package/dist/content/codec/boolean.js.map +1 -1
- package/dist/content/codec/document.js.map +1 -1
- package/dist/content/codec/embed.js.map +1 -1
- package/dist/content/codec/empty.js.map +1 -1
- package/dist/content/codec/field.js.map +1 -1
- package/dist/content/codec/geopoint.js.map +1 -1
- package/dist/content/codec/group.js +6 -4
- package/dist/content/codec/group.js.map +1 -1
- package/dist/content/codec/image.js.map +1 -1
- package/dist/content/codec/integrationField.js.map +1 -1
- package/dist/content/codec/legacyContentCtx.d.ts +2 -15
- package/dist/content/codec/legacyContentCtx.d.ts.map +1 -1
- package/dist/content/codec/legacyContentCtx.js.map +1 -1
- package/dist/content/codec/link.js.map +1 -1
- package/dist/content/codec/nestable.js.map +1 -1
- package/dist/content/codec/repeatable.js.map +1 -1
- package/dist/content/codec/richText.js.map +1 -1
- package/dist/content/codec/separator.js.map +1 -1
- package/dist/content/codec/slice.js.map +1 -1
- package/dist/content/codec/slices.js.map +1 -1
- package/dist/content/codec/table.js.map +1 -1
- package/dist/content/codec/uid.js.map +1 -1
- package/dist/content/codec/widget.js.map +1 -1
- package/dist/content/document.d.ts +1 -2
- package/dist/content/document.d.ts.map +1 -1
- package/dist/content/document.js.map +1 -1
- package/dist/content/embed.d.ts +1 -2
- package/dist/content/embed.d.ts.map +1 -1
- package/dist/content/embed.js.map +1 -1
- package/dist/content/empty.d.ts +1 -2
- package/dist/content/empty.d.ts.map +1 -1
- package/dist/content/empty.js.map +1 -1
- package/dist/content/field.d.ts +1 -2
- package/dist/content/field.d.ts.map +1 -1
- package/dist/content/field.js.map +1 -1
- package/dist/content/geopoint.d.ts +1 -2
- package/dist/content/geopoint.d.ts.map +1 -1
- package/dist/content/geopoint.js.map +1 -1
- package/dist/content/group.d.ts +3 -2
- package/dist/content/group.d.ts.map +1 -1
- package/dist/content/group.js.map +1 -1
- package/dist/content/image.d.ts +1 -2
- package/dist/content/image.d.ts.map +1 -1
- package/dist/content/image.js.map +1 -1
- package/dist/content/integrationField.d.ts +1 -2
- package/dist/content/integrationField.d.ts.map +1 -1
- package/dist/content/integrationField.js.map +1 -1
- package/dist/content/legacy/boolean.js.map +1 -1
- package/dist/content/legacy/document.d.ts +1 -2
- package/dist/content/legacy/document.d.ts.map +1 -1
- package/dist/content/legacy/document.js.map +1 -1
- package/dist/content/legacy/embed.js.map +1 -1
- package/dist/content/legacy/empty.js.map +1 -1
- package/dist/content/legacy/field.js.map +1 -1
- package/dist/content/legacy/geopoint.js.map +1 -1
- package/dist/content/legacy/group.d.ts +2 -2
- package/dist/content/legacy/group.d.ts.map +1 -1
- package/dist/content/legacy/group.js.map +1 -1
- package/dist/content/legacy/image.d.ts +0 -1
- package/dist/content/legacy/image.d.ts.map +1 -1
- package/dist/content/legacy/image.js.map +1 -1
- package/dist/content/legacy/integrationField.js.map +1 -1
- package/dist/content/legacy/link.d.ts +1 -2
- package/dist/content/legacy/link.d.ts.map +1 -1
- package/dist/content/legacy/link.js.map +1 -1
- package/dist/content/legacy/nestable.d.ts +12 -0
- package/dist/content/legacy/nestable.js.map +1 -1
- package/dist/content/legacy/repeatable.js.map +1 -1
- package/dist/content/legacy/richText.d.ts +5 -2
- package/dist/content/legacy/richText.d.ts.map +1 -1
- package/dist/content/legacy/richText.js.map +1 -1
- package/dist/content/legacy/separator.js.map +1 -1
- package/dist/content/legacy/slice.js +1 -1
- package/dist/content/legacy/slice.js.map +1 -1
- package/dist/content/legacy/slices.js.map +1 -1
- package/dist/content/legacy/table.d.ts +2 -0
- package/dist/content/legacy/table.js.map +1 -1
- package/dist/content/legacy/uid.js.map +1 -1
- package/dist/content/link.d.ts +7 -8
- package/dist/content/link.d.ts.map +1 -1
- package/dist/content/link.js.map +1 -1
- package/dist/content/nestable.d.ts +0 -1
- package/dist/content/nestable.d.ts.map +1 -1
- package/dist/content/nestable.js.map +1 -1
- package/dist/content/repeatable.d.ts +3 -4
- package/dist/content/repeatable.d.ts.map +1 -1
- package/dist/content/repeatable.js.map +1 -1
- package/dist/content/richText.d.ts +2 -3
- package/dist/content/richText.d.ts.map +1 -1
- package/dist/content/richText.js +2 -2
- package/dist/content/richText.js.map +1 -1
- package/dist/content/separator.d.ts +1 -2
- package/dist/content/separator.d.ts.map +1 -1
- package/dist/content/separator.js.map +1 -1
- package/dist/content/slice.d.ts +13 -14
- package/dist/content/slice.d.ts.map +1 -1
- package/dist/content/slice.js.map +1 -1
- package/dist/content/slices.d.ts +13 -14
- package/dist/content/slices.d.ts.map +1 -1
- package/dist/content/slices.js.map +1 -1
- package/dist/content/table.d.ts +1 -2
- package/dist/content/table.d.ts.map +1 -1
- package/dist/content/table.js.map +1 -1
- package/dist/content/uid.d.ts +1 -2
- package/dist/content/uid.d.ts.map +1 -1
- package/dist/content/uid.js.map +1 -1
- package/dist/content/widget.d.ts +0 -1
- package/dist/content/widget.d.ts.map +1 -1
- package/dist/content/widget.js.map +1 -1
- package/dist/helpers/contentPath.d.ts +1 -1
- package/dist/helpers/contentPath.d.ts.map +1 -1
- package/dist/helpers/contentPath.js +1 -1
- package/dist/helpers/contentPath.js.map +1 -1
- package/dist/helpers/customTypeModel.d.ts +1 -3
- package/dist/helpers/customTypeModel.d.ts.map +1 -1
- package/dist/helpers/customTypeModel.js +1 -1
- package/dist/helpers/customTypeModel.js.map +1 -1
- package/dist/helpers/documentContent.d.ts +1 -3
- package/dist/helpers/documentContent.d.ts.map +1 -1
- package/dist/helpers/documentContent.js +1 -1
- package/dist/helpers/documentContent.js.map +1 -1
- package/dist/helpers/fieldModel.d.ts +1 -1
- package/dist/helpers/fieldModel.d.ts.map +1 -1
- package/dist/helpers/fieldModel.js +1 -1
- package/dist/helpers/fieldModel.js.map +1 -1
- package/dist/helpers/imageContent.d.ts +2 -6
- package/dist/helpers/imageContent.d.ts.map +1 -1
- package/dist/helpers/imageContent.js +1 -1
- package/dist/helpers/imageContent.js.map +1 -1
- package/dist/helpers/repository.d.ts +1 -1
- package/dist/helpers/repository.d.ts.map +1 -1
- package/dist/helpers/repository.js +1 -1
- package/dist/helpers/repository.js.map +1 -1
- package/dist/helpers/sliceContent.d.ts +1 -3
- package/dist/helpers/sliceContent.d.ts.map +1 -1
- package/dist/helpers/sliceContent.js.map +1 -1
- package/dist/helpers/sliceModel.d.ts +1 -1
- package/dist/helpers/sliceModel.d.ts.map +1 -1
- package/dist/helpers/sliceModel.js +1 -1
- package/dist/helpers/sliceModel.js.map +1 -1
- package/dist/helpers/traverseContent.d.ts +0 -1
- package/dist/helpers/traverseContent.d.ts.map +1 -1
- package/dist/helpers/traverseContent.js.map +1 -1
- package/dist/helpers/traverseContentWithModel.d.ts +0 -1
- package/dist/helpers/traverseContentWithModel.d.ts.map +1 -1
- package/dist/helpers/traverseContentWithModel.js.map +1 -1
- package/dist/helpers/withDefaultContent.d.ts +1 -3
- package/dist/helpers/withDefaultContent.d.ts.map +1 -1
- package/dist/helpers/withDefaultContent.js +1 -1
- package/dist/helpers/withDefaultContent.js.map +1 -1
- package/dist/index.d.ts +5 -1
- package/dist/index.js +4 -1
- package/dist/io-ts.d.ts +434 -440
- package/dist/io-ts.d.ts.map +1 -1
- package/dist/io-ts.js +16 -16
- package/dist/io-ts.js.map +1 -1
- package/dist/model/boolean.d.ts +1 -2
- package/dist/model/boolean.d.ts.map +1 -1
- package/dist/model/boolean.js.map +1 -1
- package/dist/model/color.d.ts +1 -2
- package/dist/model/color.d.ts.map +1 -1
- package/dist/model/color.js.map +1 -1
- package/dist/model/customType.d.ts +3 -4
- package/dist/model/customType.d.ts.map +1 -1
- package/dist/model/customType.js +1 -1
- package/dist/model/customType.js.map +1 -1
- package/dist/model/date.d.ts +1 -2
- package/dist/model/date.d.ts.map +1 -1
- package/dist/model/date.js.map +1 -1
- package/dist/model/diff/changes.d.ts +21 -0
- package/dist/model/diff/changes.d.ts.map +1 -0
- package/dist/model/diff/changes.js +11 -0
- package/dist/model/diff/changes.js.map +1 -0
- package/dist/model/diff/sharedSlice.d.ts +14 -0
- package/dist/model/diff/sharedSlice.d.ts.map +1 -0
- package/dist/model/diff/sharedSlice.js +45 -0
- package/dist/model/diff/sharedSlice.js.map +1 -0
- package/dist/model/diff/utils.js +40 -0
- package/dist/model/diff/utils.js.map +1 -0
- package/dist/model/diff/variation.d.ts +15 -0
- package/dist/model/diff/variation.d.ts.map +1 -0
- package/dist/model/diff/variation.js +92 -0
- package/dist/model/diff/variation.js.map +1 -0
- package/dist/model/diff/widgets.d.ts +15 -0
- package/dist/model/diff/widgets.d.ts.map +1 -0
- package/dist/model/embed.d.ts +1 -2
- package/dist/model/embed.d.ts.map +1 -1
- package/dist/model/embed.js.map +1 -1
- package/dist/model/geopoint.d.ts +1 -2
- package/dist/model/geopoint.d.ts.map +1 -1
- package/dist/model/geopoint.js.map +1 -1
- package/dist/model/group.d.ts +39 -40
- package/dist/model/group.d.ts.map +1 -1
- package/dist/model/group.js +1 -1
- package/dist/model/group.js.map +1 -1
- package/dist/model/image.d.ts +1 -2
- package/dist/model/image.d.ts.map +1 -1
- package/dist/model/image.js +1 -1
- package/dist/model/image.js.map +1 -1
- package/dist/model/integrationField.d.ts +1 -2
- package/dist/model/integrationField.d.ts.map +1 -1
- package/dist/model/integrationField.js.map +1 -1
- package/dist/model/link.d.ts +2 -3
- package/dist/model/link.d.ts.map +1 -1
- package/dist/model/link.js.map +1 -1
- package/dist/model/nestable.d.ts +0 -1
- package/dist/model/nestable.d.ts.map +1 -1
- package/dist/model/nestable.js +3 -3
- package/dist/model/nestable.js.map +1 -1
- package/dist/model/number.d.ts +1 -2
- package/dist/model/number.d.ts.map +1 -1
- package/dist/model/number.js.map +1 -1
- package/dist/model/range.d.ts +1 -2
- package/dist/model/range.d.ts.map +1 -1
- package/dist/model/range.js.map +1 -1
- package/dist/model/richText.d.ts +1 -2
- package/dist/model/richText.d.ts.map +1 -1
- package/dist/model/richText.js +1 -1
- package/dist/model/richText.js.map +1 -1
- package/dist/model/select.d.ts +1 -2
- package/dist/model/select.d.ts.map +1 -1
- package/dist/model/select.js.map +1 -1
- package/dist/model/separator.d.ts +1 -2
- package/dist/model/separator.d.ts.map +1 -1
- package/dist/model/separator.js.map +1 -1
- package/dist/model/slice.d.ts +44 -45
- package/dist/model/slice.d.ts.map +1 -1
- package/dist/model/slice.js +1 -1
- package/dist/model/slice.js.map +1 -1
- package/dist/model/slices.d.ts +1 -2
- package/dist/model/slices.d.ts.map +1 -1
- package/dist/model/slices.js +1 -1
- package/dist/model/slices.js.map +1 -1
- package/dist/model/table.d.ts +3 -3
- package/dist/model/table.d.ts.map +1 -1
- package/dist/model/table.js.map +1 -1
- package/dist/model/text.d.ts +1 -2
- package/dist/model/text.d.ts.map +1 -1
- package/dist/model/text.js.map +1 -1
- package/dist/model/timestamp.d.ts +1 -2
- package/dist/model/timestamp.d.ts.map +1 -1
- package/dist/model/timestamp.js.map +1 -1
- package/dist/model/uid.d.ts +1 -2
- package/dist/model/uid.d.ts.map +1 -1
- package/dist/model/uid.js.map +1 -1
- package/dist/model/widget.d.ts +23 -24
- package/dist/model/widget.d.ts.map +1 -1
- package/dist/model/widget.js +1 -1
- package/dist/model/widget.js.map +1 -1
- package/dist/zod4.d.ts +3351 -3353
- package/dist/zod4.d.ts.map +1 -1
- package/dist/zod4.js +16 -16
- package/dist/zod4.js.map +1 -1
- package/package.json +12 -13
- package/src/helpers/customTypeModel.ts +3 -1
- package/src/index.ts +12 -0
- package/src/model/diff/changes.ts +4 -4
- package/src/model/diff/sharedSlice.ts +8 -8
- package/src/model/diff/variation.ts +6 -6
- package/src/model/diff/widgets.ts +3 -3
- package/src/model/image.ts +4 -1
package/dist/io-ts.d.ts
CHANGED
|
@@ -9,19 +9,19 @@ import { NestableModel } from "./model/nestable.js";
|
|
|
9
9
|
import { DynamicSliceModel, SliceContentModel, StaticSliceModel } from "./model/slice.js";
|
|
10
10
|
import { DynamicWidgetModel, FieldOrSliceType, StaticWidgetModel } from "./model/widget.js";
|
|
11
11
|
import { LegacyContentCtx } from "./content/codec/legacyContentCtx.js";
|
|
12
|
+
import "./index.js";
|
|
12
13
|
import { GroupLegacy as GroupLegacy$1 } from "./content/legacy/group.js";
|
|
13
14
|
import * as t from "io-ts";
|
|
14
|
-
|
|
15
15
|
//#region src/io-ts.d.ts
|
|
16
16
|
declare const AssetSchema: t.Type<{
|
|
17
17
|
id: string;
|
|
18
18
|
last_modified: string;
|
|
19
|
-
kind: "
|
|
20
|
-
origin_url: string;
|
|
21
|
-
url: string;
|
|
19
|
+
kind: "all" | "image";
|
|
22
20
|
filename?: string | undefined;
|
|
23
21
|
extension?: string | undefined;
|
|
24
22
|
size?: number | undefined;
|
|
23
|
+
origin_url: string;
|
|
24
|
+
url: string;
|
|
25
25
|
width?: number | undefined;
|
|
26
26
|
height?: number | undefined;
|
|
27
27
|
notes?: string | undefined;
|
|
@@ -30,12 +30,12 @@ declare const AssetSchema: t.Type<{
|
|
|
30
30
|
}, {
|
|
31
31
|
id: string;
|
|
32
32
|
last_modified: string;
|
|
33
|
-
kind: "
|
|
34
|
-
origin_url: string;
|
|
35
|
-
url: string;
|
|
33
|
+
kind: "all" | "image";
|
|
36
34
|
filename?: string | undefined;
|
|
37
35
|
extension?: string | undefined;
|
|
38
36
|
size?: number | undefined;
|
|
37
|
+
origin_url: string;
|
|
38
|
+
url: string;
|
|
39
39
|
width?: number | undefined;
|
|
40
40
|
height?: number | undefined;
|
|
41
41
|
notes?: string | undefined;
|
|
@@ -121,45 +121,45 @@ declare const FilledLinkContentSchema: t.Type<{
|
|
|
121
121
|
__TYPE__: "LinkContent";
|
|
122
122
|
key: string;
|
|
123
123
|
value: {
|
|
124
|
-
variant?: string | undefined;
|
|
125
124
|
text?: string | undefined;
|
|
125
|
+
variant?: string | undefined;
|
|
126
126
|
} & FilledLinkContentValue;
|
|
127
127
|
}, {
|
|
128
128
|
__TYPE__: "LinkContent";
|
|
129
129
|
key: string;
|
|
130
130
|
value: {
|
|
131
|
-
variant?: string | undefined;
|
|
132
131
|
text?: string | undefined;
|
|
132
|
+
variant?: string | undefined;
|
|
133
133
|
} & FilledLinkContentValue;
|
|
134
134
|
}, unknown>;
|
|
135
135
|
declare const EmptyLinkContentSchema: t.Type<{
|
|
136
136
|
__TYPE__: "LinkContent";
|
|
137
137
|
key: string;
|
|
138
138
|
value: {
|
|
139
|
-
variant?: string | undefined;
|
|
140
139
|
text?: string | undefined;
|
|
140
|
+
variant?: string | undefined;
|
|
141
141
|
} & EmptyLinkContentValue;
|
|
142
142
|
}, {
|
|
143
143
|
__TYPE__: "LinkContent";
|
|
144
144
|
key: string;
|
|
145
145
|
value: {
|
|
146
|
-
variant?: string | undefined;
|
|
147
146
|
text?: string | undefined;
|
|
147
|
+
variant?: string | undefined;
|
|
148
148
|
} & EmptyLinkContentValue;
|
|
149
149
|
}, unknown>;
|
|
150
150
|
declare const LinkContentSchema: t.Type<{
|
|
151
151
|
__TYPE__: "LinkContent";
|
|
152
152
|
key: string;
|
|
153
153
|
value: {
|
|
154
|
-
variant?: string | undefined;
|
|
155
154
|
text?: string | undefined;
|
|
155
|
+
variant?: string | undefined;
|
|
156
156
|
} & LinkContentValue;
|
|
157
157
|
}, {
|
|
158
158
|
__TYPE__: "LinkContent";
|
|
159
159
|
key: string;
|
|
160
160
|
value: {
|
|
161
|
-
variant?: string | undefined;
|
|
162
161
|
text?: string | undefined;
|
|
162
|
+
variant?: string | undefined;
|
|
163
163
|
} & LinkContentValue;
|
|
164
164
|
}, unknown>;
|
|
165
165
|
declare const NumberContentSchema: t.Type<{
|
|
@@ -198,6 +198,14 @@ declare const SharedSliceContentSchema: t.Type<{
|
|
|
198
198
|
__TYPE__: "SharedSliceContent";
|
|
199
199
|
variation: string;
|
|
200
200
|
primary: Record<string, {
|
|
201
|
+
type: string;
|
|
202
|
+
__TYPE__: "EmptyContent";
|
|
203
|
+
} | {
|
|
204
|
+
__TYPE__: "IntegrationFieldsContent";
|
|
205
|
+
value: string;
|
|
206
|
+
} | {
|
|
207
|
+
__TYPE__: "SeparatorContent";
|
|
208
|
+
} | {
|
|
201
209
|
type: "Text";
|
|
202
210
|
value: string;
|
|
203
211
|
__TYPE__: "FieldContent";
|
|
@@ -225,17 +233,12 @@ declare const SharedSliceContentSchema: t.Type<{
|
|
|
225
233
|
type: "Select";
|
|
226
234
|
value: string;
|
|
227
235
|
__TYPE__: "FieldContent";
|
|
228
|
-
} | {
|
|
229
|
-
type: string;
|
|
230
|
-
__TYPE__: "EmptyContent";
|
|
231
236
|
} | {
|
|
232
237
|
__TYPE__: "BooleanContent";
|
|
233
238
|
value: boolean;
|
|
234
239
|
} | {
|
|
235
240
|
embed_url: string;
|
|
236
241
|
type: string;
|
|
237
|
-
__TYPE__: "EmbedContent";
|
|
238
|
-
all: unknown;
|
|
239
242
|
version?: string | number | null | undefined;
|
|
240
243
|
title?: string | null | undefined;
|
|
241
244
|
author_name?: string | null | undefined;
|
|
@@ -247,6 +250,8 @@ declare const SharedSliceContentSchema: t.Type<{
|
|
|
247
250
|
thumbnail_width?: number | null | undefined;
|
|
248
251
|
thumbnail_height?: number | null | undefined;
|
|
249
252
|
html?: string | null | undefined;
|
|
253
|
+
__TYPE__: "EmbedContent";
|
|
254
|
+
all: unknown;
|
|
250
255
|
} | {
|
|
251
256
|
position: {
|
|
252
257
|
lat: number;
|
|
@@ -270,7 +275,6 @@ declare const SharedSliceContentSchema: t.Type<{
|
|
|
270
275
|
};
|
|
271
276
|
background: string;
|
|
272
277
|
};
|
|
273
|
-
__TYPE__: "ImageContent";
|
|
274
278
|
url?: string | undefined;
|
|
275
279
|
credits?: string | null | undefined;
|
|
276
280
|
alt?: string | null | undefined;
|
|
@@ -297,15 +301,13 @@ declare const SharedSliceContentSchema: t.Type<{
|
|
|
297
301
|
alt?: string | null | undefined;
|
|
298
302
|
provider?: string | null | undefined;
|
|
299
303
|
}> | undefined;
|
|
300
|
-
|
|
301
|
-
__TYPE__: "IntegrationFieldsContent";
|
|
302
|
-
value: string;
|
|
304
|
+
__TYPE__: "ImageContent";
|
|
303
305
|
} | {
|
|
304
306
|
__TYPE__: "LinkContent";
|
|
305
307
|
key: string;
|
|
306
308
|
value: {
|
|
307
|
-
variant?: string | undefined;
|
|
308
309
|
text?: string | undefined;
|
|
310
|
+
variant?: string | undefined;
|
|
309
311
|
} & LinkContentValue;
|
|
310
312
|
} | {
|
|
311
313
|
__TYPE__: "RepeatableContent";
|
|
@@ -314,15 +316,13 @@ declare const SharedSliceContentSchema: t.Type<{
|
|
|
314
316
|
__TYPE__: "LinkContent";
|
|
315
317
|
key: string;
|
|
316
318
|
value: {
|
|
317
|
-
variant?: string | undefined;
|
|
318
319
|
text?: string | undefined;
|
|
320
|
+
variant?: string | undefined;
|
|
319
321
|
} & LinkContentValue;
|
|
320
322
|
}[];
|
|
321
323
|
} | {
|
|
322
324
|
__TYPE__: "StructuredTextContent";
|
|
323
325
|
value: RichTextContentBlock[];
|
|
324
|
-
} | {
|
|
325
|
-
__TYPE__: "SeparatorContent";
|
|
326
326
|
} | {
|
|
327
327
|
__TYPE__: "TableContent";
|
|
328
328
|
content: {
|
|
@@ -330,7 +330,7 @@ declare const SharedSliceContentSchema: t.Type<{
|
|
|
330
330
|
type: "tableRow";
|
|
331
331
|
content: {
|
|
332
332
|
key: string;
|
|
333
|
-
type: "
|
|
333
|
+
type: "tableCell" | "tableHeader";
|
|
334
334
|
content: {
|
|
335
335
|
__TYPE__: "StructuredTextContent";
|
|
336
336
|
value: RichTextContentBlock[];
|
|
@@ -347,6 +347,14 @@ declare const SharedSliceContentSchema: t.Type<{
|
|
|
347
347
|
__TYPE__: "SharedSliceContent";
|
|
348
348
|
variation: string;
|
|
349
349
|
primary: Record<string, {
|
|
350
|
+
type: string;
|
|
351
|
+
__TYPE__: "EmptyContent";
|
|
352
|
+
} | {
|
|
353
|
+
__TYPE__: "IntegrationFieldsContent";
|
|
354
|
+
value: string;
|
|
355
|
+
} | {
|
|
356
|
+
__TYPE__: "SeparatorContent";
|
|
357
|
+
} | {
|
|
350
358
|
type: "Text";
|
|
351
359
|
value: string;
|
|
352
360
|
__TYPE__: "FieldContent";
|
|
@@ -374,17 +382,12 @@ declare const SharedSliceContentSchema: t.Type<{
|
|
|
374
382
|
type: "Select";
|
|
375
383
|
value: string;
|
|
376
384
|
__TYPE__: "FieldContent";
|
|
377
|
-
} | {
|
|
378
|
-
type: string;
|
|
379
|
-
__TYPE__: "EmptyContent";
|
|
380
385
|
} | {
|
|
381
386
|
__TYPE__: "BooleanContent";
|
|
382
387
|
value: boolean;
|
|
383
388
|
} | {
|
|
384
389
|
embed_url: string;
|
|
385
390
|
type: string;
|
|
386
|
-
__TYPE__: "EmbedContent";
|
|
387
|
-
all: unknown;
|
|
388
391
|
version?: string | number | null | undefined;
|
|
389
392
|
title?: string | null | undefined;
|
|
390
393
|
author_name?: string | null | undefined;
|
|
@@ -396,6 +399,8 @@ declare const SharedSliceContentSchema: t.Type<{
|
|
|
396
399
|
thumbnail_width?: number | null | undefined;
|
|
397
400
|
thumbnail_height?: number | null | undefined;
|
|
398
401
|
html?: string | null | undefined;
|
|
402
|
+
__TYPE__: "EmbedContent";
|
|
403
|
+
all: unknown;
|
|
399
404
|
} | {
|
|
400
405
|
position: {
|
|
401
406
|
lat: number;
|
|
@@ -419,7 +424,6 @@ declare const SharedSliceContentSchema: t.Type<{
|
|
|
419
424
|
};
|
|
420
425
|
background: string;
|
|
421
426
|
};
|
|
422
|
-
__TYPE__: "ImageContent";
|
|
423
427
|
url?: string | undefined;
|
|
424
428
|
credits?: string | null | undefined;
|
|
425
429
|
alt?: string | null | undefined;
|
|
@@ -446,15 +450,13 @@ declare const SharedSliceContentSchema: t.Type<{
|
|
|
446
450
|
alt?: string | null | undefined;
|
|
447
451
|
provider?: string | null | undefined;
|
|
448
452
|
}> | undefined;
|
|
449
|
-
|
|
450
|
-
__TYPE__: "IntegrationFieldsContent";
|
|
451
|
-
value: string;
|
|
453
|
+
__TYPE__: "ImageContent";
|
|
452
454
|
} | {
|
|
453
455
|
__TYPE__: "LinkContent";
|
|
454
456
|
key: string;
|
|
455
457
|
value: {
|
|
456
|
-
variant?: string | undefined;
|
|
457
458
|
text?: string | undefined;
|
|
459
|
+
variant?: string | undefined;
|
|
458
460
|
} & LinkContentValue;
|
|
459
461
|
} | {
|
|
460
462
|
__TYPE__: "RepeatableContent";
|
|
@@ -463,15 +465,13 @@ declare const SharedSliceContentSchema: t.Type<{
|
|
|
463
465
|
__TYPE__: "LinkContent";
|
|
464
466
|
key: string;
|
|
465
467
|
value: {
|
|
466
|
-
variant?: string | undefined;
|
|
467
468
|
text?: string | undefined;
|
|
469
|
+
variant?: string | undefined;
|
|
468
470
|
} & LinkContentValue;
|
|
469
471
|
}[];
|
|
470
472
|
} | {
|
|
471
473
|
__TYPE__: "StructuredTextContent";
|
|
472
474
|
value: RichTextContentBlock[];
|
|
473
|
-
} | {
|
|
474
|
-
__TYPE__: "SeparatorContent";
|
|
475
475
|
} | {
|
|
476
476
|
__TYPE__: "TableContent";
|
|
477
477
|
content: {
|
|
@@ -479,7 +479,7 @@ declare const SharedSliceContentSchema: t.Type<{
|
|
|
479
479
|
type: "tableRow";
|
|
480
480
|
content: {
|
|
481
481
|
key: string;
|
|
482
|
-
type: "
|
|
482
|
+
type: "tableCell" | "tableHeader";
|
|
483
483
|
content: {
|
|
484
484
|
__TYPE__: "StructuredTextContent";
|
|
485
485
|
value: RichTextContentBlock[];
|
|
@@ -585,8 +585,6 @@ declare const IntegrationFieldContentSchema: t.Type<{
|
|
|
585
585
|
declare const EmbedContentSchema: t.Type<{
|
|
586
586
|
embed_url: string;
|
|
587
587
|
type: string;
|
|
588
|
-
__TYPE__: "EmbedContent";
|
|
589
|
-
all: unknown;
|
|
590
588
|
version?: string | number | null | undefined;
|
|
591
589
|
title?: string | null | undefined;
|
|
592
590
|
author_name?: string | null | undefined;
|
|
@@ -598,11 +596,11 @@ declare const EmbedContentSchema: t.Type<{
|
|
|
598
596
|
thumbnail_width?: number | null | undefined;
|
|
599
597
|
thumbnail_height?: number | null | undefined;
|
|
600
598
|
html?: string | null | undefined;
|
|
599
|
+
__TYPE__: "EmbedContent";
|
|
600
|
+
all: unknown;
|
|
601
601
|
}, {
|
|
602
602
|
embed_url: string;
|
|
603
603
|
type: string;
|
|
604
|
-
__TYPE__: "EmbedContent";
|
|
605
|
-
all: unknown;
|
|
606
604
|
version?: string | number | null | undefined;
|
|
607
605
|
title?: string | null | undefined;
|
|
608
606
|
author_name?: string | null | undefined;
|
|
@@ -614,6 +612,8 @@ declare const EmbedContentSchema: t.Type<{
|
|
|
614
612
|
thumbnail_width?: number | null | undefined;
|
|
615
613
|
thumbnail_height?: number | null | undefined;
|
|
616
614
|
html?: string | null | undefined;
|
|
615
|
+
__TYPE__: "EmbedContent";
|
|
616
|
+
all: unknown;
|
|
617
617
|
}, unknown>;
|
|
618
618
|
declare const ImageContentViewSchema: t.Type<{
|
|
619
619
|
origin: {
|
|
@@ -675,7 +675,6 @@ declare const ImageContentSchema: t.Type<{
|
|
|
675
675
|
};
|
|
676
676
|
background: string;
|
|
677
677
|
};
|
|
678
|
-
__TYPE__: "ImageContent";
|
|
679
678
|
url?: string | undefined;
|
|
680
679
|
credits?: string | null | undefined;
|
|
681
680
|
alt?: string | null | undefined;
|
|
@@ -702,6 +701,7 @@ declare const ImageContentSchema: t.Type<{
|
|
|
702
701
|
alt?: string | null | undefined;
|
|
703
702
|
provider?: string | null | undefined;
|
|
704
703
|
}> | undefined;
|
|
704
|
+
__TYPE__: "ImageContent";
|
|
705
705
|
}, {
|
|
706
706
|
origin: {
|
|
707
707
|
id: string;
|
|
@@ -719,7 +719,6 @@ declare const ImageContentSchema: t.Type<{
|
|
|
719
719
|
};
|
|
720
720
|
background: string;
|
|
721
721
|
};
|
|
722
|
-
__TYPE__: "ImageContent";
|
|
723
722
|
url?: string | undefined;
|
|
724
723
|
credits?: string | null | undefined;
|
|
725
724
|
alt?: string | null | undefined;
|
|
@@ -746,6 +745,7 @@ declare const ImageContentSchema: t.Type<{
|
|
|
746
745
|
alt?: string | null | undefined;
|
|
747
746
|
provider?: string | null | undefined;
|
|
748
747
|
}> | undefined;
|
|
748
|
+
__TYPE__: "ImageContent";
|
|
749
749
|
}, unknown>;
|
|
750
750
|
declare const RichTextContentSchema: t.Type<{
|
|
751
751
|
__TYPE__: "StructuredTextContent";
|
|
@@ -763,7 +763,7 @@ declare const TableContentSchema: t.Type<{
|
|
|
763
763
|
type: "tableRow";
|
|
764
764
|
content: {
|
|
765
765
|
key: string;
|
|
766
|
-
type: "
|
|
766
|
+
type: "tableCell" | "tableHeader";
|
|
767
767
|
content: {
|
|
768
768
|
__TYPE__: "StructuredTextContent";
|
|
769
769
|
value: RichTextContentBlock[];
|
|
@@ -778,7 +778,7 @@ declare const TableContentSchema: t.Type<{
|
|
|
778
778
|
type: "tableRow";
|
|
779
779
|
content: {
|
|
780
780
|
key: string;
|
|
781
|
-
type: "
|
|
781
|
+
type: "tableCell" | "tableHeader";
|
|
782
782
|
content: {
|
|
783
783
|
__TYPE__: "StructuredTextContent";
|
|
784
784
|
value: RichTextContentBlock[];
|
|
@@ -794,8 +794,8 @@ declare const RepeatableContentSchema: t.Type<{
|
|
|
794
794
|
__TYPE__: "LinkContent";
|
|
795
795
|
key: string;
|
|
796
796
|
value: {
|
|
797
|
-
variant?: string | undefined;
|
|
798
797
|
text?: string | undefined;
|
|
798
|
+
variant?: string | undefined;
|
|
799
799
|
} & LinkContentValue;
|
|
800
800
|
}[];
|
|
801
801
|
}, {
|
|
@@ -805,12 +805,20 @@ declare const RepeatableContentSchema: t.Type<{
|
|
|
805
805
|
__TYPE__: "LinkContent";
|
|
806
806
|
key: string;
|
|
807
807
|
value: {
|
|
808
|
-
variant?: string | undefined;
|
|
809
808
|
text?: string | undefined;
|
|
809
|
+
variant?: string | undefined;
|
|
810
810
|
} & LinkContentValue;
|
|
811
811
|
}[];
|
|
812
812
|
}, unknown>;
|
|
813
813
|
declare const NestableContentSchema: t.Type<{
|
|
814
|
+
type: string;
|
|
815
|
+
__TYPE__: "EmptyContent";
|
|
816
|
+
} | {
|
|
817
|
+
__TYPE__: "IntegrationFieldsContent";
|
|
818
|
+
value: string;
|
|
819
|
+
} | {
|
|
820
|
+
__TYPE__: "SeparatorContent";
|
|
821
|
+
} | {
|
|
814
822
|
type: "Text";
|
|
815
823
|
value: string;
|
|
816
824
|
__TYPE__: "FieldContent";
|
|
@@ -838,17 +846,12 @@ declare const NestableContentSchema: t.Type<{
|
|
|
838
846
|
type: "Select";
|
|
839
847
|
value: string;
|
|
840
848
|
__TYPE__: "FieldContent";
|
|
841
|
-
} | {
|
|
842
|
-
type: string;
|
|
843
|
-
__TYPE__: "EmptyContent";
|
|
844
849
|
} | {
|
|
845
850
|
__TYPE__: "BooleanContent";
|
|
846
851
|
value: boolean;
|
|
847
852
|
} | {
|
|
848
853
|
embed_url: string;
|
|
849
854
|
type: string;
|
|
850
|
-
__TYPE__: "EmbedContent";
|
|
851
|
-
all: unknown;
|
|
852
855
|
version?: string | number | null | undefined;
|
|
853
856
|
title?: string | null | undefined;
|
|
854
857
|
author_name?: string | null | undefined;
|
|
@@ -860,6 +863,8 @@ declare const NestableContentSchema: t.Type<{
|
|
|
860
863
|
thumbnail_width?: number | null | undefined;
|
|
861
864
|
thumbnail_height?: number | null | undefined;
|
|
862
865
|
html?: string | null | undefined;
|
|
866
|
+
__TYPE__: "EmbedContent";
|
|
867
|
+
all: unknown;
|
|
863
868
|
} | {
|
|
864
869
|
position: {
|
|
865
870
|
lat: number;
|
|
@@ -883,7 +888,6 @@ declare const NestableContentSchema: t.Type<{
|
|
|
883
888
|
};
|
|
884
889
|
background: string;
|
|
885
890
|
};
|
|
886
|
-
__TYPE__: "ImageContent";
|
|
887
891
|
url?: string | undefined;
|
|
888
892
|
credits?: string | null | undefined;
|
|
889
893
|
alt?: string | null | undefined;
|
|
@@ -910,15 +914,13 @@ declare const NestableContentSchema: t.Type<{
|
|
|
910
914
|
alt?: string | null | undefined;
|
|
911
915
|
provider?: string | null | undefined;
|
|
912
916
|
}> | undefined;
|
|
913
|
-
|
|
914
|
-
__TYPE__: "IntegrationFieldsContent";
|
|
915
|
-
value: string;
|
|
917
|
+
__TYPE__: "ImageContent";
|
|
916
918
|
} | {
|
|
917
919
|
__TYPE__: "LinkContent";
|
|
918
920
|
key: string;
|
|
919
921
|
value: {
|
|
920
|
-
variant?: string | undefined;
|
|
921
922
|
text?: string | undefined;
|
|
923
|
+
variant?: string | undefined;
|
|
922
924
|
} & LinkContentValue;
|
|
923
925
|
} | {
|
|
924
926
|
__TYPE__: "RepeatableContent";
|
|
@@ -927,15 +929,13 @@ declare const NestableContentSchema: t.Type<{
|
|
|
927
929
|
__TYPE__: "LinkContent";
|
|
928
930
|
key: string;
|
|
929
931
|
value: {
|
|
930
|
-
variant?: string | undefined;
|
|
931
932
|
text?: string | undefined;
|
|
933
|
+
variant?: string | undefined;
|
|
932
934
|
} & LinkContentValue;
|
|
933
935
|
}[];
|
|
934
936
|
} | {
|
|
935
937
|
__TYPE__: "StructuredTextContent";
|
|
936
938
|
value: RichTextContentBlock[];
|
|
937
|
-
} | {
|
|
938
|
-
__TYPE__: "SeparatorContent";
|
|
939
939
|
} | {
|
|
940
940
|
__TYPE__: "TableContent";
|
|
941
941
|
content: {
|
|
@@ -943,7 +943,7 @@ declare const NestableContentSchema: t.Type<{
|
|
|
943
943
|
type: "tableRow";
|
|
944
944
|
content: {
|
|
945
945
|
key: string;
|
|
946
|
-
type: "
|
|
946
|
+
type: "tableCell" | "tableHeader";
|
|
947
947
|
content: {
|
|
948
948
|
__TYPE__: "StructuredTextContent";
|
|
949
949
|
value: RichTextContentBlock[];
|
|
@@ -952,6 +952,14 @@ declare const NestableContentSchema: t.Type<{
|
|
|
952
952
|
}[];
|
|
953
953
|
}[];
|
|
954
954
|
}, {
|
|
955
|
+
type: string;
|
|
956
|
+
__TYPE__: "EmptyContent";
|
|
957
|
+
} | {
|
|
958
|
+
__TYPE__: "IntegrationFieldsContent";
|
|
959
|
+
value: string;
|
|
960
|
+
} | {
|
|
961
|
+
__TYPE__: "SeparatorContent";
|
|
962
|
+
} | {
|
|
955
963
|
type: "Text";
|
|
956
964
|
value: string;
|
|
957
965
|
__TYPE__: "FieldContent";
|
|
@@ -979,17 +987,12 @@ declare const NestableContentSchema: t.Type<{
|
|
|
979
987
|
type: "Select";
|
|
980
988
|
value: string;
|
|
981
989
|
__TYPE__: "FieldContent";
|
|
982
|
-
} | {
|
|
983
|
-
type: string;
|
|
984
|
-
__TYPE__: "EmptyContent";
|
|
985
990
|
} | {
|
|
986
991
|
__TYPE__: "BooleanContent";
|
|
987
992
|
value: boolean;
|
|
988
993
|
} | {
|
|
989
994
|
embed_url: string;
|
|
990
995
|
type: string;
|
|
991
|
-
__TYPE__: "EmbedContent";
|
|
992
|
-
all: unknown;
|
|
993
996
|
version?: string | number | null | undefined;
|
|
994
997
|
title?: string | null | undefined;
|
|
995
998
|
author_name?: string | null | undefined;
|
|
@@ -1001,6 +1004,8 @@ declare const NestableContentSchema: t.Type<{
|
|
|
1001
1004
|
thumbnail_width?: number | null | undefined;
|
|
1002
1005
|
thumbnail_height?: number | null | undefined;
|
|
1003
1006
|
html?: string | null | undefined;
|
|
1007
|
+
__TYPE__: "EmbedContent";
|
|
1008
|
+
all: unknown;
|
|
1004
1009
|
} | {
|
|
1005
1010
|
position: {
|
|
1006
1011
|
lat: number;
|
|
@@ -1024,7 +1029,6 @@ declare const NestableContentSchema: t.Type<{
|
|
|
1024
1029
|
};
|
|
1025
1030
|
background: string;
|
|
1026
1031
|
};
|
|
1027
|
-
__TYPE__: "ImageContent";
|
|
1028
1032
|
url?: string | undefined;
|
|
1029
1033
|
credits?: string | null | undefined;
|
|
1030
1034
|
alt?: string | null | undefined;
|
|
@@ -1051,15 +1055,13 @@ declare const NestableContentSchema: t.Type<{
|
|
|
1051
1055
|
alt?: string | null | undefined;
|
|
1052
1056
|
provider?: string | null | undefined;
|
|
1053
1057
|
}> | undefined;
|
|
1054
|
-
|
|
1055
|
-
__TYPE__: "IntegrationFieldsContent";
|
|
1056
|
-
value: string;
|
|
1058
|
+
__TYPE__: "ImageContent";
|
|
1057
1059
|
} | {
|
|
1058
1060
|
__TYPE__: "LinkContent";
|
|
1059
1061
|
key: string;
|
|
1060
1062
|
value: {
|
|
1061
|
-
variant?: string | undefined;
|
|
1062
1063
|
text?: string | undefined;
|
|
1064
|
+
variant?: string | undefined;
|
|
1063
1065
|
} & LinkContentValue;
|
|
1064
1066
|
} | {
|
|
1065
1067
|
__TYPE__: "RepeatableContent";
|
|
@@ -1068,15 +1070,13 @@ declare const NestableContentSchema: t.Type<{
|
|
|
1068
1070
|
__TYPE__: "LinkContent";
|
|
1069
1071
|
key: string;
|
|
1070
1072
|
value: {
|
|
1071
|
-
variant?: string | undefined;
|
|
1072
1073
|
text?: string | undefined;
|
|
1074
|
+
variant?: string | undefined;
|
|
1073
1075
|
} & LinkContentValue;
|
|
1074
1076
|
}[];
|
|
1075
1077
|
} | {
|
|
1076
1078
|
__TYPE__: "StructuredTextContent";
|
|
1077
1079
|
value: RichTextContentBlock[];
|
|
1078
|
-
} | {
|
|
1079
|
-
__TYPE__: "SeparatorContent";
|
|
1080
1080
|
} | {
|
|
1081
1081
|
__TYPE__: "TableContent";
|
|
1082
1082
|
content: {
|
|
@@ -1084,7 +1084,7 @@ declare const NestableContentSchema: t.Type<{
|
|
|
1084
1084
|
type: "tableRow";
|
|
1085
1085
|
content: {
|
|
1086
1086
|
key: string;
|
|
1087
|
-
type: "
|
|
1087
|
+
type: "tableCell" | "tableHeader";
|
|
1088
1088
|
content: {
|
|
1089
1089
|
__TYPE__: "StructuredTextContent";
|
|
1090
1090
|
value: RichTextContentBlock[];
|
|
@@ -1104,6 +1104,14 @@ declare const GroupItemContentSchema: t.Type<GroupItemContent, GroupItemContent,
|
|
|
1104
1104
|
declare const CompositeSliceContentSchema: t.Type<{
|
|
1105
1105
|
__TYPE__: "CompositeSliceContent";
|
|
1106
1106
|
nonRepeat: Record<string, {
|
|
1107
|
+
type: string;
|
|
1108
|
+
__TYPE__: "EmptyContent";
|
|
1109
|
+
} | {
|
|
1110
|
+
__TYPE__: "IntegrationFieldsContent";
|
|
1111
|
+
value: string;
|
|
1112
|
+
} | {
|
|
1113
|
+
__TYPE__: "SeparatorContent";
|
|
1114
|
+
} | {
|
|
1107
1115
|
type: "Text";
|
|
1108
1116
|
value: string;
|
|
1109
1117
|
__TYPE__: "FieldContent";
|
|
@@ -1131,17 +1139,12 @@ declare const CompositeSliceContentSchema: t.Type<{
|
|
|
1131
1139
|
type: "Select";
|
|
1132
1140
|
value: string;
|
|
1133
1141
|
__TYPE__: "FieldContent";
|
|
1134
|
-
} | {
|
|
1135
|
-
type: string;
|
|
1136
|
-
__TYPE__: "EmptyContent";
|
|
1137
1142
|
} | {
|
|
1138
1143
|
__TYPE__: "BooleanContent";
|
|
1139
1144
|
value: boolean;
|
|
1140
1145
|
} | {
|
|
1141
1146
|
embed_url: string;
|
|
1142
1147
|
type: string;
|
|
1143
|
-
__TYPE__: "EmbedContent";
|
|
1144
|
-
all: unknown;
|
|
1145
1148
|
version?: string | number | null | undefined;
|
|
1146
1149
|
title?: string | null | undefined;
|
|
1147
1150
|
author_name?: string | null | undefined;
|
|
@@ -1153,6 +1156,8 @@ declare const CompositeSliceContentSchema: t.Type<{
|
|
|
1153
1156
|
thumbnail_width?: number | null | undefined;
|
|
1154
1157
|
thumbnail_height?: number | null | undefined;
|
|
1155
1158
|
html?: string | null | undefined;
|
|
1159
|
+
__TYPE__: "EmbedContent";
|
|
1160
|
+
all: unknown;
|
|
1156
1161
|
} | {
|
|
1157
1162
|
position: {
|
|
1158
1163
|
lat: number;
|
|
@@ -1176,7 +1181,6 @@ declare const CompositeSliceContentSchema: t.Type<{
|
|
|
1176
1181
|
};
|
|
1177
1182
|
background: string;
|
|
1178
1183
|
};
|
|
1179
|
-
__TYPE__: "ImageContent";
|
|
1180
1184
|
url?: string | undefined;
|
|
1181
1185
|
credits?: string | null | undefined;
|
|
1182
1186
|
alt?: string | null | undefined;
|
|
@@ -1203,15 +1207,13 @@ declare const CompositeSliceContentSchema: t.Type<{
|
|
|
1203
1207
|
alt?: string | null | undefined;
|
|
1204
1208
|
provider?: string | null | undefined;
|
|
1205
1209
|
}> | undefined;
|
|
1206
|
-
|
|
1207
|
-
__TYPE__: "IntegrationFieldsContent";
|
|
1208
|
-
value: string;
|
|
1210
|
+
__TYPE__: "ImageContent";
|
|
1209
1211
|
} | {
|
|
1210
1212
|
__TYPE__: "LinkContent";
|
|
1211
1213
|
key: string;
|
|
1212
1214
|
value: {
|
|
1213
|
-
variant?: string | undefined;
|
|
1214
1215
|
text?: string | undefined;
|
|
1216
|
+
variant?: string | undefined;
|
|
1215
1217
|
} & LinkContentValue;
|
|
1216
1218
|
} | {
|
|
1217
1219
|
__TYPE__: "RepeatableContent";
|
|
@@ -1220,15 +1222,13 @@ declare const CompositeSliceContentSchema: t.Type<{
|
|
|
1220
1222
|
__TYPE__: "LinkContent";
|
|
1221
1223
|
key: string;
|
|
1222
1224
|
value: {
|
|
1223
|
-
variant?: string | undefined;
|
|
1224
1225
|
text?: string | undefined;
|
|
1226
|
+
variant?: string | undefined;
|
|
1225
1227
|
} & LinkContentValue;
|
|
1226
1228
|
}[];
|
|
1227
1229
|
} | {
|
|
1228
1230
|
__TYPE__: "StructuredTextContent";
|
|
1229
1231
|
value: RichTextContentBlock[];
|
|
1230
|
-
} | {
|
|
1231
|
-
__TYPE__: "SeparatorContent";
|
|
1232
1232
|
} | {
|
|
1233
1233
|
__TYPE__: "TableContent";
|
|
1234
1234
|
content: {
|
|
@@ -1236,7 +1236,7 @@ declare const CompositeSliceContentSchema: t.Type<{
|
|
|
1236
1236
|
type: "tableRow";
|
|
1237
1237
|
content: {
|
|
1238
1238
|
key: string;
|
|
1239
|
-
type: "
|
|
1239
|
+
type: "tableCell" | "tableHeader";
|
|
1240
1240
|
content: {
|
|
1241
1241
|
__TYPE__: "StructuredTextContent";
|
|
1242
1242
|
value: RichTextContentBlock[];
|
|
@@ -1249,6 +1249,14 @@ declare const CompositeSliceContentSchema: t.Type<{
|
|
|
1249
1249
|
}, {
|
|
1250
1250
|
__TYPE__: "CompositeSliceContent";
|
|
1251
1251
|
nonRepeat: Record<string, {
|
|
1252
|
+
type: string;
|
|
1253
|
+
__TYPE__: "EmptyContent";
|
|
1254
|
+
} | {
|
|
1255
|
+
__TYPE__: "IntegrationFieldsContent";
|
|
1256
|
+
value: string;
|
|
1257
|
+
} | {
|
|
1258
|
+
__TYPE__: "SeparatorContent";
|
|
1259
|
+
} | {
|
|
1252
1260
|
type: "Text";
|
|
1253
1261
|
value: string;
|
|
1254
1262
|
__TYPE__: "FieldContent";
|
|
@@ -1276,17 +1284,12 @@ declare const CompositeSliceContentSchema: t.Type<{
|
|
|
1276
1284
|
type: "Select";
|
|
1277
1285
|
value: string;
|
|
1278
1286
|
__TYPE__: "FieldContent";
|
|
1279
|
-
} | {
|
|
1280
|
-
type: string;
|
|
1281
|
-
__TYPE__: "EmptyContent";
|
|
1282
1287
|
} | {
|
|
1283
1288
|
__TYPE__: "BooleanContent";
|
|
1284
1289
|
value: boolean;
|
|
1285
1290
|
} | {
|
|
1286
1291
|
embed_url: string;
|
|
1287
1292
|
type: string;
|
|
1288
|
-
__TYPE__: "EmbedContent";
|
|
1289
|
-
all: unknown;
|
|
1290
1293
|
version?: string | number | null | undefined;
|
|
1291
1294
|
title?: string | null | undefined;
|
|
1292
1295
|
author_name?: string | null | undefined;
|
|
@@ -1298,6 +1301,8 @@ declare const CompositeSliceContentSchema: t.Type<{
|
|
|
1298
1301
|
thumbnail_width?: number | null | undefined;
|
|
1299
1302
|
thumbnail_height?: number | null | undefined;
|
|
1300
1303
|
html?: string | null | undefined;
|
|
1304
|
+
__TYPE__: "EmbedContent";
|
|
1305
|
+
all: unknown;
|
|
1301
1306
|
} | {
|
|
1302
1307
|
position: {
|
|
1303
1308
|
lat: number;
|
|
@@ -1321,7 +1326,6 @@ declare const CompositeSliceContentSchema: t.Type<{
|
|
|
1321
1326
|
};
|
|
1322
1327
|
background: string;
|
|
1323
1328
|
};
|
|
1324
|
-
__TYPE__: "ImageContent";
|
|
1325
1329
|
url?: string | undefined;
|
|
1326
1330
|
credits?: string | null | undefined;
|
|
1327
1331
|
alt?: string | null | undefined;
|
|
@@ -1348,15 +1352,13 @@ declare const CompositeSliceContentSchema: t.Type<{
|
|
|
1348
1352
|
alt?: string | null | undefined;
|
|
1349
1353
|
provider?: string | null | undefined;
|
|
1350
1354
|
}> | undefined;
|
|
1351
|
-
|
|
1352
|
-
__TYPE__: "IntegrationFieldsContent";
|
|
1353
|
-
value: string;
|
|
1355
|
+
__TYPE__: "ImageContent";
|
|
1354
1356
|
} | {
|
|
1355
1357
|
__TYPE__: "LinkContent";
|
|
1356
1358
|
key: string;
|
|
1357
1359
|
value: {
|
|
1358
|
-
variant?: string | undefined;
|
|
1359
1360
|
text?: string | undefined;
|
|
1361
|
+
variant?: string | undefined;
|
|
1360
1362
|
} & LinkContentValue;
|
|
1361
1363
|
} | {
|
|
1362
1364
|
__TYPE__: "RepeatableContent";
|
|
@@ -1365,15 +1367,13 @@ declare const CompositeSliceContentSchema: t.Type<{
|
|
|
1365
1367
|
__TYPE__: "LinkContent";
|
|
1366
1368
|
key: string;
|
|
1367
1369
|
value: {
|
|
1368
|
-
variant?: string | undefined;
|
|
1369
1370
|
text?: string | undefined;
|
|
1371
|
+
variant?: string | undefined;
|
|
1370
1372
|
} & LinkContentValue;
|
|
1371
1373
|
}[];
|
|
1372
1374
|
} | {
|
|
1373
1375
|
__TYPE__: "StructuredTextContent";
|
|
1374
1376
|
value: RichTextContentBlock[];
|
|
1375
|
-
} | {
|
|
1376
|
-
__TYPE__: "SeparatorContent";
|
|
1377
1377
|
} | {
|
|
1378
1378
|
__TYPE__: "TableContent";
|
|
1379
1379
|
content: {
|
|
@@ -1381,7 +1381,7 @@ declare const CompositeSliceContentSchema: t.Type<{
|
|
|
1381
1381
|
type: "tableRow";
|
|
1382
1382
|
content: {
|
|
1383
1383
|
key: string;
|
|
1384
|
-
type: "
|
|
1384
|
+
type: "tableCell" | "tableHeader";
|
|
1385
1385
|
content: {
|
|
1386
1386
|
__TYPE__: "StructuredTextContent";
|
|
1387
1387
|
value: RichTextContentBlock[];
|
|
@@ -1393,6 +1393,14 @@ declare const CompositeSliceContentSchema: t.Type<{
|
|
|
1393
1393
|
repeat: GroupItemContent[];
|
|
1394
1394
|
}, unknown>;
|
|
1395
1395
|
declare const LegacySliceContentSchema: t.Type<{
|
|
1396
|
+
type: string;
|
|
1397
|
+
__TYPE__: "EmptyContent";
|
|
1398
|
+
} | {
|
|
1399
|
+
__TYPE__: "IntegrationFieldsContent";
|
|
1400
|
+
value: string;
|
|
1401
|
+
} | {
|
|
1402
|
+
__TYPE__: "SeparatorContent";
|
|
1403
|
+
} | {
|
|
1396
1404
|
type: "Text";
|
|
1397
1405
|
value: string;
|
|
1398
1406
|
__TYPE__: "FieldContent";
|
|
@@ -1420,17 +1428,12 @@ declare const LegacySliceContentSchema: t.Type<{
|
|
|
1420
1428
|
type: "Select";
|
|
1421
1429
|
value: string;
|
|
1422
1430
|
__TYPE__: "FieldContent";
|
|
1423
|
-
} | {
|
|
1424
|
-
type: string;
|
|
1425
|
-
__TYPE__: "EmptyContent";
|
|
1426
1431
|
} | {
|
|
1427
1432
|
__TYPE__: "BooleanContent";
|
|
1428
1433
|
value: boolean;
|
|
1429
1434
|
} | {
|
|
1430
1435
|
embed_url: string;
|
|
1431
1436
|
type: string;
|
|
1432
|
-
__TYPE__: "EmbedContent";
|
|
1433
|
-
all: unknown;
|
|
1434
1437
|
version?: string | number | null | undefined;
|
|
1435
1438
|
title?: string | null | undefined;
|
|
1436
1439
|
author_name?: string | null | undefined;
|
|
@@ -1442,6 +1445,8 @@ declare const LegacySliceContentSchema: t.Type<{
|
|
|
1442
1445
|
thumbnail_width?: number | null | undefined;
|
|
1443
1446
|
thumbnail_height?: number | null | undefined;
|
|
1444
1447
|
html?: string | null | undefined;
|
|
1448
|
+
__TYPE__: "EmbedContent";
|
|
1449
|
+
all: unknown;
|
|
1445
1450
|
} | {
|
|
1446
1451
|
position: {
|
|
1447
1452
|
lat: number;
|
|
@@ -1465,7 +1470,6 @@ declare const LegacySliceContentSchema: t.Type<{
|
|
|
1465
1470
|
};
|
|
1466
1471
|
background: string;
|
|
1467
1472
|
};
|
|
1468
|
-
__TYPE__: "ImageContent";
|
|
1469
1473
|
url?: string | undefined;
|
|
1470
1474
|
credits?: string | null | undefined;
|
|
1471
1475
|
alt?: string | null | undefined;
|
|
@@ -1492,15 +1496,13 @@ declare const LegacySliceContentSchema: t.Type<{
|
|
|
1492
1496
|
alt?: string | null | undefined;
|
|
1493
1497
|
provider?: string | null | undefined;
|
|
1494
1498
|
}> | undefined;
|
|
1495
|
-
|
|
1496
|
-
__TYPE__: "IntegrationFieldsContent";
|
|
1497
|
-
value: string;
|
|
1499
|
+
__TYPE__: "ImageContent";
|
|
1498
1500
|
} | {
|
|
1499
1501
|
__TYPE__: "LinkContent";
|
|
1500
1502
|
key: string;
|
|
1501
1503
|
value: {
|
|
1502
|
-
variant?: string | undefined;
|
|
1503
1504
|
text?: string | undefined;
|
|
1505
|
+
variant?: string | undefined;
|
|
1504
1506
|
} & LinkContentValue;
|
|
1505
1507
|
} | {
|
|
1506
1508
|
__TYPE__: "RepeatableContent";
|
|
@@ -1509,15 +1511,13 @@ declare const LegacySliceContentSchema: t.Type<{
|
|
|
1509
1511
|
__TYPE__: "LinkContent";
|
|
1510
1512
|
key: string;
|
|
1511
1513
|
value: {
|
|
1512
|
-
variant?: string | undefined;
|
|
1513
1514
|
text?: string | undefined;
|
|
1515
|
+
variant?: string | undefined;
|
|
1514
1516
|
} & LinkContentValue;
|
|
1515
1517
|
}[];
|
|
1516
1518
|
} | {
|
|
1517
1519
|
__TYPE__: "StructuredTextContent";
|
|
1518
1520
|
value: RichTextContentBlock[];
|
|
1519
|
-
} | {
|
|
1520
|
-
__TYPE__: "SeparatorContent";
|
|
1521
1521
|
} | {
|
|
1522
1522
|
__TYPE__: "TableContent";
|
|
1523
1523
|
content: {
|
|
@@ -1525,7 +1525,7 @@ declare const LegacySliceContentSchema: t.Type<{
|
|
|
1525
1525
|
type: "tableRow";
|
|
1526
1526
|
content: {
|
|
1527
1527
|
key: string;
|
|
1528
|
-
type: "
|
|
1528
|
+
type: "tableCell" | "tableHeader";
|
|
1529
1529
|
content: {
|
|
1530
1530
|
__TYPE__: "StructuredTextContent";
|
|
1531
1531
|
value: RichTextContentBlock[];
|
|
@@ -1537,6 +1537,14 @@ declare const LegacySliceContentSchema: t.Type<{
|
|
|
1537
1537
|
__TYPE__: "GroupContentType";
|
|
1538
1538
|
value: GroupItemContent[];
|
|
1539
1539
|
}, {
|
|
1540
|
+
type: string;
|
|
1541
|
+
__TYPE__: "EmptyContent";
|
|
1542
|
+
} | {
|
|
1543
|
+
__TYPE__: "IntegrationFieldsContent";
|
|
1544
|
+
value: string;
|
|
1545
|
+
} | {
|
|
1546
|
+
__TYPE__: "SeparatorContent";
|
|
1547
|
+
} | {
|
|
1540
1548
|
type: "Text";
|
|
1541
1549
|
value: string;
|
|
1542
1550
|
__TYPE__: "FieldContent";
|
|
@@ -1564,17 +1572,12 @@ declare const LegacySliceContentSchema: t.Type<{
|
|
|
1564
1572
|
type: "Select";
|
|
1565
1573
|
value: string;
|
|
1566
1574
|
__TYPE__: "FieldContent";
|
|
1567
|
-
} | {
|
|
1568
|
-
type: string;
|
|
1569
|
-
__TYPE__: "EmptyContent";
|
|
1570
1575
|
} | {
|
|
1571
1576
|
__TYPE__: "BooleanContent";
|
|
1572
1577
|
value: boolean;
|
|
1573
1578
|
} | {
|
|
1574
1579
|
embed_url: string;
|
|
1575
1580
|
type: string;
|
|
1576
|
-
__TYPE__: "EmbedContent";
|
|
1577
|
-
all: unknown;
|
|
1578
1581
|
version?: string | number | null | undefined;
|
|
1579
1582
|
title?: string | null | undefined;
|
|
1580
1583
|
author_name?: string | null | undefined;
|
|
@@ -1586,6 +1589,8 @@ declare const LegacySliceContentSchema: t.Type<{
|
|
|
1586
1589
|
thumbnail_width?: number | null | undefined;
|
|
1587
1590
|
thumbnail_height?: number | null | undefined;
|
|
1588
1591
|
html?: string | null | undefined;
|
|
1592
|
+
__TYPE__: "EmbedContent";
|
|
1593
|
+
all: unknown;
|
|
1589
1594
|
} | {
|
|
1590
1595
|
position: {
|
|
1591
1596
|
lat: number;
|
|
@@ -1609,7 +1614,6 @@ declare const LegacySliceContentSchema: t.Type<{
|
|
|
1609
1614
|
};
|
|
1610
1615
|
background: string;
|
|
1611
1616
|
};
|
|
1612
|
-
__TYPE__: "ImageContent";
|
|
1613
1617
|
url?: string | undefined;
|
|
1614
1618
|
credits?: string | null | undefined;
|
|
1615
1619
|
alt?: string | null | undefined;
|
|
@@ -1636,15 +1640,13 @@ declare const LegacySliceContentSchema: t.Type<{
|
|
|
1636
1640
|
alt?: string | null | undefined;
|
|
1637
1641
|
provider?: string | null | undefined;
|
|
1638
1642
|
}> | undefined;
|
|
1639
|
-
|
|
1640
|
-
__TYPE__: "IntegrationFieldsContent";
|
|
1641
|
-
value: string;
|
|
1643
|
+
__TYPE__: "ImageContent";
|
|
1642
1644
|
} | {
|
|
1643
1645
|
__TYPE__: "LinkContent";
|
|
1644
1646
|
key: string;
|
|
1645
1647
|
value: {
|
|
1646
|
-
variant?: string | undefined;
|
|
1647
1648
|
text?: string | undefined;
|
|
1649
|
+
variant?: string | undefined;
|
|
1648
1650
|
} & LinkContentValue;
|
|
1649
1651
|
} | {
|
|
1650
1652
|
__TYPE__: "RepeatableContent";
|
|
@@ -1653,15 +1655,13 @@ declare const LegacySliceContentSchema: t.Type<{
|
|
|
1653
1655
|
__TYPE__: "LinkContent";
|
|
1654
1656
|
key: string;
|
|
1655
1657
|
value: {
|
|
1656
|
-
variant?: string | undefined;
|
|
1657
1658
|
text?: string | undefined;
|
|
1659
|
+
variant?: string | undefined;
|
|
1658
1660
|
} & LinkContentValue;
|
|
1659
1661
|
}[];
|
|
1660
1662
|
} | {
|
|
1661
1663
|
__TYPE__: "StructuredTextContent";
|
|
1662
1664
|
value: RichTextContentBlock[];
|
|
1663
|
-
} | {
|
|
1664
|
-
__TYPE__: "SeparatorContent";
|
|
1665
1665
|
} | {
|
|
1666
1666
|
__TYPE__: "TableContent";
|
|
1667
1667
|
content: {
|
|
@@ -1669,7 +1669,7 @@ declare const LegacySliceContentSchema: t.Type<{
|
|
|
1669
1669
|
type: "tableRow";
|
|
1670
1670
|
content: {
|
|
1671
1671
|
key: string;
|
|
1672
|
-
type: "
|
|
1672
|
+
type: "tableCell" | "tableHeader";
|
|
1673
1673
|
content: {
|
|
1674
1674
|
__TYPE__: "StructuredTextContent";
|
|
1675
1675
|
value: RichTextContentBlock[];
|
|
@@ -1685,7 +1685,16 @@ declare const SliceContentSchema: t.Type<SliceContent, SliceContent, unknown>;
|
|
|
1685
1685
|
declare const LegacySliceItemContentSchema: t.Type<{
|
|
1686
1686
|
key: string;
|
|
1687
1687
|
name: string;
|
|
1688
|
+
maybeLabel?: string | undefined;
|
|
1688
1689
|
widget: {
|
|
1690
|
+
type: string;
|
|
1691
|
+
__TYPE__: "EmptyContent";
|
|
1692
|
+
} | {
|
|
1693
|
+
__TYPE__: "IntegrationFieldsContent";
|
|
1694
|
+
value: string;
|
|
1695
|
+
} | {
|
|
1696
|
+
__TYPE__: "SeparatorContent";
|
|
1697
|
+
} | {
|
|
1689
1698
|
type: "Text";
|
|
1690
1699
|
value: string;
|
|
1691
1700
|
__TYPE__: "FieldContent";
|
|
@@ -1713,17 +1722,12 @@ declare const LegacySliceItemContentSchema: t.Type<{
|
|
|
1713
1722
|
type: "Select";
|
|
1714
1723
|
value: string;
|
|
1715
1724
|
__TYPE__: "FieldContent";
|
|
1716
|
-
} | {
|
|
1717
|
-
type: string;
|
|
1718
|
-
__TYPE__: "EmptyContent";
|
|
1719
1725
|
} | {
|
|
1720
1726
|
__TYPE__: "BooleanContent";
|
|
1721
1727
|
value: boolean;
|
|
1722
1728
|
} | {
|
|
1723
1729
|
embed_url: string;
|
|
1724
1730
|
type: string;
|
|
1725
|
-
__TYPE__: "EmbedContent";
|
|
1726
|
-
all: unknown;
|
|
1727
1731
|
version?: string | number | null | undefined;
|
|
1728
1732
|
title?: string | null | undefined;
|
|
1729
1733
|
author_name?: string | null | undefined;
|
|
@@ -1735,6 +1739,8 @@ declare const LegacySliceItemContentSchema: t.Type<{
|
|
|
1735
1739
|
thumbnail_width?: number | null | undefined;
|
|
1736
1740
|
thumbnail_height?: number | null | undefined;
|
|
1737
1741
|
html?: string | null | undefined;
|
|
1742
|
+
__TYPE__: "EmbedContent";
|
|
1743
|
+
all: unknown;
|
|
1738
1744
|
} | {
|
|
1739
1745
|
position: {
|
|
1740
1746
|
lat: number;
|
|
@@ -1758,7 +1764,6 @@ declare const LegacySliceItemContentSchema: t.Type<{
|
|
|
1758
1764
|
};
|
|
1759
1765
|
background: string;
|
|
1760
1766
|
};
|
|
1761
|
-
__TYPE__: "ImageContent";
|
|
1762
1767
|
url?: string | undefined;
|
|
1763
1768
|
credits?: string | null | undefined;
|
|
1764
1769
|
alt?: string | null | undefined;
|
|
@@ -1785,15 +1790,13 @@ declare const LegacySliceItemContentSchema: t.Type<{
|
|
|
1785
1790
|
alt?: string | null | undefined;
|
|
1786
1791
|
provider?: string | null | undefined;
|
|
1787
1792
|
}> | undefined;
|
|
1788
|
-
|
|
1789
|
-
__TYPE__: "IntegrationFieldsContent";
|
|
1790
|
-
value: string;
|
|
1793
|
+
__TYPE__: "ImageContent";
|
|
1791
1794
|
} | {
|
|
1792
1795
|
__TYPE__: "LinkContent";
|
|
1793
1796
|
key: string;
|
|
1794
1797
|
value: {
|
|
1795
|
-
variant?: string | undefined;
|
|
1796
1798
|
text?: string | undefined;
|
|
1799
|
+
variant?: string | undefined;
|
|
1797
1800
|
} & LinkContentValue;
|
|
1798
1801
|
} | {
|
|
1799
1802
|
__TYPE__: "RepeatableContent";
|
|
@@ -1802,15 +1805,13 @@ declare const LegacySliceItemContentSchema: t.Type<{
|
|
|
1802
1805
|
__TYPE__: "LinkContent";
|
|
1803
1806
|
key: string;
|
|
1804
1807
|
value: {
|
|
1805
|
-
variant?: string | undefined;
|
|
1806
1808
|
text?: string | undefined;
|
|
1809
|
+
variant?: string | undefined;
|
|
1807
1810
|
} & LinkContentValue;
|
|
1808
1811
|
}[];
|
|
1809
1812
|
} | {
|
|
1810
1813
|
__TYPE__: "StructuredTextContent";
|
|
1811
1814
|
value: RichTextContentBlock[];
|
|
1812
|
-
} | {
|
|
1813
|
-
__TYPE__: "SeparatorContent";
|
|
1814
1815
|
} | {
|
|
1815
1816
|
__TYPE__: "TableContent";
|
|
1816
1817
|
content: {
|
|
@@ -1818,7 +1819,7 @@ declare const LegacySliceItemContentSchema: t.Type<{
|
|
|
1818
1819
|
type: "tableRow";
|
|
1819
1820
|
content: {
|
|
1820
1821
|
key: string;
|
|
1821
|
-
type: "
|
|
1822
|
+
type: "tableCell" | "tableHeader";
|
|
1822
1823
|
content: {
|
|
1823
1824
|
__TYPE__: "StructuredTextContent";
|
|
1824
1825
|
value: RichTextContentBlock[];
|
|
@@ -1830,11 +1831,19 @@ declare const LegacySliceItemContentSchema: t.Type<{
|
|
|
1830
1831
|
__TYPE__: "GroupContentType";
|
|
1831
1832
|
value: GroupItemContent[];
|
|
1832
1833
|
};
|
|
1833
|
-
maybeLabel?: string | undefined;
|
|
1834
1834
|
}, {
|
|
1835
1835
|
key: string;
|
|
1836
1836
|
name: string;
|
|
1837
|
+
maybeLabel?: string | undefined;
|
|
1837
1838
|
widget: {
|
|
1839
|
+
type: string;
|
|
1840
|
+
__TYPE__: "EmptyContent";
|
|
1841
|
+
} | {
|
|
1842
|
+
__TYPE__: "IntegrationFieldsContent";
|
|
1843
|
+
value: string;
|
|
1844
|
+
} | {
|
|
1845
|
+
__TYPE__: "SeparatorContent";
|
|
1846
|
+
} | {
|
|
1838
1847
|
type: "Text";
|
|
1839
1848
|
value: string;
|
|
1840
1849
|
__TYPE__: "FieldContent";
|
|
@@ -1862,17 +1871,12 @@ declare const LegacySliceItemContentSchema: t.Type<{
|
|
|
1862
1871
|
type: "Select";
|
|
1863
1872
|
value: string;
|
|
1864
1873
|
__TYPE__: "FieldContent";
|
|
1865
|
-
} | {
|
|
1866
|
-
type: string;
|
|
1867
|
-
__TYPE__: "EmptyContent";
|
|
1868
1874
|
} | {
|
|
1869
1875
|
__TYPE__: "BooleanContent";
|
|
1870
1876
|
value: boolean;
|
|
1871
1877
|
} | {
|
|
1872
1878
|
embed_url: string;
|
|
1873
1879
|
type: string;
|
|
1874
|
-
__TYPE__: "EmbedContent";
|
|
1875
|
-
all: unknown;
|
|
1876
1880
|
version?: string | number | null | undefined;
|
|
1877
1881
|
title?: string | null | undefined;
|
|
1878
1882
|
author_name?: string | null | undefined;
|
|
@@ -1884,6 +1888,8 @@ declare const LegacySliceItemContentSchema: t.Type<{
|
|
|
1884
1888
|
thumbnail_width?: number | null | undefined;
|
|
1885
1889
|
thumbnail_height?: number | null | undefined;
|
|
1886
1890
|
html?: string | null | undefined;
|
|
1891
|
+
__TYPE__: "EmbedContent";
|
|
1892
|
+
all: unknown;
|
|
1887
1893
|
} | {
|
|
1888
1894
|
position: {
|
|
1889
1895
|
lat: number;
|
|
@@ -1907,7 +1913,6 @@ declare const LegacySliceItemContentSchema: t.Type<{
|
|
|
1907
1913
|
};
|
|
1908
1914
|
background: string;
|
|
1909
1915
|
};
|
|
1910
|
-
__TYPE__: "ImageContent";
|
|
1911
1916
|
url?: string | undefined;
|
|
1912
1917
|
credits?: string | null | undefined;
|
|
1913
1918
|
alt?: string | null | undefined;
|
|
@@ -1934,15 +1939,13 @@ declare const LegacySliceItemContentSchema: t.Type<{
|
|
|
1934
1939
|
alt?: string | null | undefined;
|
|
1935
1940
|
provider?: string | null | undefined;
|
|
1936
1941
|
}> | undefined;
|
|
1937
|
-
|
|
1938
|
-
__TYPE__: "IntegrationFieldsContent";
|
|
1939
|
-
value: string;
|
|
1942
|
+
__TYPE__: "ImageContent";
|
|
1940
1943
|
} | {
|
|
1941
1944
|
__TYPE__: "LinkContent";
|
|
1942
1945
|
key: string;
|
|
1943
1946
|
value: {
|
|
1944
|
-
variant?: string | undefined;
|
|
1945
1947
|
text?: string | undefined;
|
|
1948
|
+
variant?: string | undefined;
|
|
1946
1949
|
} & LinkContentValue;
|
|
1947
1950
|
} | {
|
|
1948
1951
|
__TYPE__: "RepeatableContent";
|
|
@@ -1951,15 +1954,13 @@ declare const LegacySliceItemContentSchema: t.Type<{
|
|
|
1951
1954
|
__TYPE__: "LinkContent";
|
|
1952
1955
|
key: string;
|
|
1953
1956
|
value: {
|
|
1954
|
-
variant?: string | undefined;
|
|
1955
1957
|
text?: string | undefined;
|
|
1958
|
+
variant?: string | undefined;
|
|
1956
1959
|
} & LinkContentValue;
|
|
1957
1960
|
}[];
|
|
1958
1961
|
} | {
|
|
1959
1962
|
__TYPE__: "StructuredTextContent";
|
|
1960
1963
|
value: RichTextContentBlock[];
|
|
1961
|
-
} | {
|
|
1962
|
-
__TYPE__: "SeparatorContent";
|
|
1963
1964
|
} | {
|
|
1964
1965
|
__TYPE__: "TableContent";
|
|
1965
1966
|
content: {
|
|
@@ -1967,7 +1968,7 @@ declare const LegacySliceItemContentSchema: t.Type<{
|
|
|
1967
1968
|
type: "tableRow";
|
|
1968
1969
|
content: {
|
|
1969
1970
|
key: string;
|
|
1970
|
-
type: "
|
|
1971
|
+
type: "tableCell" | "tableHeader";
|
|
1971
1972
|
content: {
|
|
1972
1973
|
__TYPE__: "StructuredTextContent";
|
|
1973
1974
|
value: RichTextContentBlock[];
|
|
@@ -1979,14 +1980,22 @@ declare const LegacySliceItemContentSchema: t.Type<{
|
|
|
1979
1980
|
__TYPE__: "GroupContentType";
|
|
1980
1981
|
value: GroupItemContent[];
|
|
1981
1982
|
};
|
|
1982
|
-
maybeLabel?: string | undefined;
|
|
1983
1983
|
}, unknown>;
|
|
1984
1984
|
declare const CompositeSliceItemContentSchema: t.Type<{
|
|
1985
1985
|
key: string;
|
|
1986
1986
|
name: string;
|
|
1987
|
+
maybeLabel?: string | undefined;
|
|
1987
1988
|
widget: {
|
|
1988
1989
|
__TYPE__: "CompositeSliceContent";
|
|
1989
1990
|
nonRepeat: Record<string, {
|
|
1991
|
+
type: string;
|
|
1992
|
+
__TYPE__: "EmptyContent";
|
|
1993
|
+
} | {
|
|
1994
|
+
__TYPE__: "IntegrationFieldsContent";
|
|
1995
|
+
value: string;
|
|
1996
|
+
} | {
|
|
1997
|
+
__TYPE__: "SeparatorContent";
|
|
1998
|
+
} | {
|
|
1990
1999
|
type: "Text";
|
|
1991
2000
|
value: string;
|
|
1992
2001
|
__TYPE__: "FieldContent";
|
|
@@ -2014,17 +2023,12 @@ declare const CompositeSliceItemContentSchema: t.Type<{
|
|
|
2014
2023
|
type: "Select";
|
|
2015
2024
|
value: string;
|
|
2016
2025
|
__TYPE__: "FieldContent";
|
|
2017
|
-
} | {
|
|
2018
|
-
type: string;
|
|
2019
|
-
__TYPE__: "EmptyContent";
|
|
2020
2026
|
} | {
|
|
2021
2027
|
__TYPE__: "BooleanContent";
|
|
2022
2028
|
value: boolean;
|
|
2023
2029
|
} | {
|
|
2024
2030
|
embed_url: string;
|
|
2025
2031
|
type: string;
|
|
2026
|
-
__TYPE__: "EmbedContent";
|
|
2027
|
-
all: unknown;
|
|
2028
2032
|
version?: string | number | null | undefined;
|
|
2029
2033
|
title?: string | null | undefined;
|
|
2030
2034
|
author_name?: string | null | undefined;
|
|
@@ -2036,6 +2040,8 @@ declare const CompositeSliceItemContentSchema: t.Type<{
|
|
|
2036
2040
|
thumbnail_width?: number | null | undefined;
|
|
2037
2041
|
thumbnail_height?: number | null | undefined;
|
|
2038
2042
|
html?: string | null | undefined;
|
|
2043
|
+
__TYPE__: "EmbedContent";
|
|
2044
|
+
all: unknown;
|
|
2039
2045
|
} | {
|
|
2040
2046
|
position: {
|
|
2041
2047
|
lat: number;
|
|
@@ -2059,7 +2065,6 @@ declare const CompositeSliceItemContentSchema: t.Type<{
|
|
|
2059
2065
|
};
|
|
2060
2066
|
background: string;
|
|
2061
2067
|
};
|
|
2062
|
-
__TYPE__: "ImageContent";
|
|
2063
2068
|
url?: string | undefined;
|
|
2064
2069
|
credits?: string | null | undefined;
|
|
2065
2070
|
alt?: string | null | undefined;
|
|
@@ -2086,15 +2091,13 @@ declare const CompositeSliceItemContentSchema: t.Type<{
|
|
|
2086
2091
|
alt?: string | null | undefined;
|
|
2087
2092
|
provider?: string | null | undefined;
|
|
2088
2093
|
}> | undefined;
|
|
2089
|
-
|
|
2090
|
-
__TYPE__: "IntegrationFieldsContent";
|
|
2091
|
-
value: string;
|
|
2094
|
+
__TYPE__: "ImageContent";
|
|
2092
2095
|
} | {
|
|
2093
2096
|
__TYPE__: "LinkContent";
|
|
2094
2097
|
key: string;
|
|
2095
2098
|
value: {
|
|
2096
|
-
variant?: string | undefined;
|
|
2097
2099
|
text?: string | undefined;
|
|
2100
|
+
variant?: string | undefined;
|
|
2098
2101
|
} & LinkContentValue;
|
|
2099
2102
|
} | {
|
|
2100
2103
|
__TYPE__: "RepeatableContent";
|
|
@@ -2103,15 +2106,13 @@ declare const CompositeSliceItemContentSchema: t.Type<{
|
|
|
2103
2106
|
__TYPE__: "LinkContent";
|
|
2104
2107
|
key: string;
|
|
2105
2108
|
value: {
|
|
2106
|
-
variant?: string | undefined;
|
|
2107
2109
|
text?: string | undefined;
|
|
2110
|
+
variant?: string | undefined;
|
|
2108
2111
|
} & LinkContentValue;
|
|
2109
2112
|
}[];
|
|
2110
2113
|
} | {
|
|
2111
2114
|
__TYPE__: "StructuredTextContent";
|
|
2112
2115
|
value: RichTextContentBlock[];
|
|
2113
|
-
} | {
|
|
2114
|
-
__TYPE__: "SeparatorContent";
|
|
2115
2116
|
} | {
|
|
2116
2117
|
__TYPE__: "TableContent";
|
|
2117
2118
|
content: {
|
|
@@ -2119,7 +2120,7 @@ declare const CompositeSliceItemContentSchema: t.Type<{
|
|
|
2119
2120
|
type: "tableRow";
|
|
2120
2121
|
content: {
|
|
2121
2122
|
key: string;
|
|
2122
|
-
type: "
|
|
2123
|
+
type: "tableCell" | "tableHeader";
|
|
2123
2124
|
content: {
|
|
2124
2125
|
__TYPE__: "StructuredTextContent";
|
|
2125
2126
|
value: RichTextContentBlock[];
|
|
@@ -2130,13 +2131,21 @@ declare const CompositeSliceItemContentSchema: t.Type<{
|
|
|
2130
2131
|
}>;
|
|
2131
2132
|
repeat: GroupItemContent[];
|
|
2132
2133
|
};
|
|
2133
|
-
maybeLabel?: string | undefined;
|
|
2134
2134
|
}, {
|
|
2135
2135
|
key: string;
|
|
2136
2136
|
name: string;
|
|
2137
|
+
maybeLabel?: string | undefined;
|
|
2137
2138
|
widget: {
|
|
2138
2139
|
__TYPE__: "CompositeSliceContent";
|
|
2139
2140
|
nonRepeat: Record<string, {
|
|
2141
|
+
type: string;
|
|
2142
|
+
__TYPE__: "EmptyContent";
|
|
2143
|
+
} | {
|
|
2144
|
+
__TYPE__: "IntegrationFieldsContent";
|
|
2145
|
+
value: string;
|
|
2146
|
+
} | {
|
|
2147
|
+
__TYPE__: "SeparatorContent";
|
|
2148
|
+
} | {
|
|
2140
2149
|
type: "Text";
|
|
2141
2150
|
value: string;
|
|
2142
2151
|
__TYPE__: "FieldContent";
|
|
@@ -2164,17 +2173,12 @@ declare const CompositeSliceItemContentSchema: t.Type<{
|
|
|
2164
2173
|
type: "Select";
|
|
2165
2174
|
value: string;
|
|
2166
2175
|
__TYPE__: "FieldContent";
|
|
2167
|
-
} | {
|
|
2168
|
-
type: string;
|
|
2169
|
-
__TYPE__: "EmptyContent";
|
|
2170
2176
|
} | {
|
|
2171
2177
|
__TYPE__: "BooleanContent";
|
|
2172
2178
|
value: boolean;
|
|
2173
2179
|
} | {
|
|
2174
2180
|
embed_url: string;
|
|
2175
2181
|
type: string;
|
|
2176
|
-
__TYPE__: "EmbedContent";
|
|
2177
|
-
all: unknown;
|
|
2178
2182
|
version?: string | number | null | undefined;
|
|
2179
2183
|
title?: string | null | undefined;
|
|
2180
2184
|
author_name?: string | null | undefined;
|
|
@@ -2186,6 +2190,8 @@ declare const CompositeSliceItemContentSchema: t.Type<{
|
|
|
2186
2190
|
thumbnail_width?: number | null | undefined;
|
|
2187
2191
|
thumbnail_height?: number | null | undefined;
|
|
2188
2192
|
html?: string | null | undefined;
|
|
2193
|
+
__TYPE__: "EmbedContent";
|
|
2194
|
+
all: unknown;
|
|
2189
2195
|
} | {
|
|
2190
2196
|
position: {
|
|
2191
2197
|
lat: number;
|
|
@@ -2209,7 +2215,6 @@ declare const CompositeSliceItemContentSchema: t.Type<{
|
|
|
2209
2215
|
};
|
|
2210
2216
|
background: string;
|
|
2211
2217
|
};
|
|
2212
|
-
__TYPE__: "ImageContent";
|
|
2213
2218
|
url?: string | undefined;
|
|
2214
2219
|
credits?: string | null | undefined;
|
|
2215
2220
|
alt?: string | null | undefined;
|
|
@@ -2236,15 +2241,13 @@ declare const CompositeSliceItemContentSchema: t.Type<{
|
|
|
2236
2241
|
alt?: string | null | undefined;
|
|
2237
2242
|
provider?: string | null | undefined;
|
|
2238
2243
|
}> | undefined;
|
|
2239
|
-
|
|
2240
|
-
__TYPE__: "IntegrationFieldsContent";
|
|
2241
|
-
value: string;
|
|
2244
|
+
__TYPE__: "ImageContent";
|
|
2242
2245
|
} | {
|
|
2243
2246
|
__TYPE__: "LinkContent";
|
|
2244
2247
|
key: string;
|
|
2245
2248
|
value: {
|
|
2246
|
-
variant?: string | undefined;
|
|
2247
2249
|
text?: string | undefined;
|
|
2250
|
+
variant?: string | undefined;
|
|
2248
2251
|
} & LinkContentValue;
|
|
2249
2252
|
} | {
|
|
2250
2253
|
__TYPE__: "RepeatableContent";
|
|
@@ -2253,15 +2256,13 @@ declare const CompositeSliceItemContentSchema: t.Type<{
|
|
|
2253
2256
|
__TYPE__: "LinkContent";
|
|
2254
2257
|
key: string;
|
|
2255
2258
|
value: {
|
|
2256
|
-
variant?: string | undefined;
|
|
2257
2259
|
text?: string | undefined;
|
|
2260
|
+
variant?: string | undefined;
|
|
2258
2261
|
} & LinkContentValue;
|
|
2259
2262
|
}[];
|
|
2260
2263
|
} | {
|
|
2261
2264
|
__TYPE__: "StructuredTextContent";
|
|
2262
2265
|
value: RichTextContentBlock[];
|
|
2263
|
-
} | {
|
|
2264
|
-
__TYPE__: "SeparatorContent";
|
|
2265
2266
|
} | {
|
|
2266
2267
|
__TYPE__: "TableContent";
|
|
2267
2268
|
content: {
|
|
@@ -2269,7 +2270,7 @@ declare const CompositeSliceItemContentSchema: t.Type<{
|
|
|
2269
2270
|
type: "tableRow";
|
|
2270
2271
|
content: {
|
|
2271
2272
|
key: string;
|
|
2272
|
-
type: "
|
|
2273
|
+
type: "tableCell" | "tableHeader";
|
|
2273
2274
|
content: {
|
|
2274
2275
|
__TYPE__: "StructuredTextContent";
|
|
2275
2276
|
value: RichTextContentBlock[];
|
|
@@ -2280,15 +2281,23 @@ declare const CompositeSliceItemContentSchema: t.Type<{
|
|
|
2280
2281
|
}>;
|
|
2281
2282
|
repeat: GroupItemContent[];
|
|
2282
2283
|
};
|
|
2283
|
-
maybeLabel?: string | undefined;
|
|
2284
2284
|
}, unknown>;
|
|
2285
2285
|
declare const SharedSliceItemContentSchema: t.Type<{
|
|
2286
2286
|
key: string;
|
|
2287
2287
|
name: string;
|
|
2288
|
+
maybeLabel?: string | undefined;
|
|
2288
2289
|
widget: {
|
|
2289
2290
|
__TYPE__: "SharedSliceContent";
|
|
2290
2291
|
variation: string;
|
|
2291
2292
|
primary: Record<string, {
|
|
2293
|
+
type: string;
|
|
2294
|
+
__TYPE__: "EmptyContent";
|
|
2295
|
+
} | {
|
|
2296
|
+
__TYPE__: "IntegrationFieldsContent";
|
|
2297
|
+
value: string;
|
|
2298
|
+
} | {
|
|
2299
|
+
__TYPE__: "SeparatorContent";
|
|
2300
|
+
} | {
|
|
2292
2301
|
type: "Text";
|
|
2293
2302
|
value: string;
|
|
2294
2303
|
__TYPE__: "FieldContent";
|
|
@@ -2316,17 +2325,12 @@ declare const SharedSliceItemContentSchema: t.Type<{
|
|
|
2316
2325
|
type: "Select";
|
|
2317
2326
|
value: string;
|
|
2318
2327
|
__TYPE__: "FieldContent";
|
|
2319
|
-
} | {
|
|
2320
|
-
type: string;
|
|
2321
|
-
__TYPE__: "EmptyContent";
|
|
2322
2328
|
} | {
|
|
2323
2329
|
__TYPE__: "BooleanContent";
|
|
2324
2330
|
value: boolean;
|
|
2325
2331
|
} | {
|
|
2326
2332
|
embed_url: string;
|
|
2327
2333
|
type: string;
|
|
2328
|
-
__TYPE__: "EmbedContent";
|
|
2329
|
-
all: unknown;
|
|
2330
2334
|
version?: string | number | null | undefined;
|
|
2331
2335
|
title?: string | null | undefined;
|
|
2332
2336
|
author_name?: string | null | undefined;
|
|
@@ -2338,6 +2342,8 @@ declare const SharedSliceItemContentSchema: t.Type<{
|
|
|
2338
2342
|
thumbnail_width?: number | null | undefined;
|
|
2339
2343
|
thumbnail_height?: number | null | undefined;
|
|
2340
2344
|
html?: string | null | undefined;
|
|
2345
|
+
__TYPE__: "EmbedContent";
|
|
2346
|
+
all: unknown;
|
|
2341
2347
|
} | {
|
|
2342
2348
|
position: {
|
|
2343
2349
|
lat: number;
|
|
@@ -2361,7 +2367,6 @@ declare const SharedSliceItemContentSchema: t.Type<{
|
|
|
2361
2367
|
};
|
|
2362
2368
|
background: string;
|
|
2363
2369
|
};
|
|
2364
|
-
__TYPE__: "ImageContent";
|
|
2365
2370
|
url?: string | undefined;
|
|
2366
2371
|
credits?: string | null | undefined;
|
|
2367
2372
|
alt?: string | null | undefined;
|
|
@@ -2388,15 +2393,13 @@ declare const SharedSliceItemContentSchema: t.Type<{
|
|
|
2388
2393
|
alt?: string | null | undefined;
|
|
2389
2394
|
provider?: string | null | undefined;
|
|
2390
2395
|
}> | undefined;
|
|
2391
|
-
|
|
2392
|
-
__TYPE__: "IntegrationFieldsContent";
|
|
2393
|
-
value: string;
|
|
2396
|
+
__TYPE__: "ImageContent";
|
|
2394
2397
|
} | {
|
|
2395
2398
|
__TYPE__: "LinkContent";
|
|
2396
2399
|
key: string;
|
|
2397
2400
|
value: {
|
|
2398
|
-
variant?: string | undefined;
|
|
2399
2401
|
text?: string | undefined;
|
|
2402
|
+
variant?: string | undefined;
|
|
2400
2403
|
} & LinkContentValue;
|
|
2401
2404
|
} | {
|
|
2402
2405
|
__TYPE__: "RepeatableContent";
|
|
@@ -2405,15 +2408,13 @@ declare const SharedSliceItemContentSchema: t.Type<{
|
|
|
2405
2408
|
__TYPE__: "LinkContent";
|
|
2406
2409
|
key: string;
|
|
2407
2410
|
value: {
|
|
2408
|
-
variant?: string | undefined;
|
|
2409
2411
|
text?: string | undefined;
|
|
2412
|
+
variant?: string | undefined;
|
|
2410
2413
|
} & LinkContentValue;
|
|
2411
2414
|
}[];
|
|
2412
2415
|
} | {
|
|
2413
2416
|
__TYPE__: "StructuredTextContent";
|
|
2414
2417
|
value: RichTextContentBlock[];
|
|
2415
|
-
} | {
|
|
2416
|
-
__TYPE__: "SeparatorContent";
|
|
2417
2418
|
} | {
|
|
2418
2419
|
__TYPE__: "TableContent";
|
|
2419
2420
|
content: {
|
|
@@ -2421,7 +2422,7 @@ declare const SharedSliceItemContentSchema: t.Type<{
|
|
|
2421
2422
|
type: "tableRow";
|
|
2422
2423
|
content: {
|
|
2423
2424
|
key: string;
|
|
2424
|
-
type: "
|
|
2425
|
+
type: "tableCell" | "tableHeader";
|
|
2425
2426
|
content: {
|
|
2426
2427
|
__TYPE__: "StructuredTextContent";
|
|
2427
2428
|
value: RichTextContentBlock[];
|
|
@@ -2435,14 +2436,22 @@ declare const SharedSliceItemContentSchema: t.Type<{
|
|
|
2435
2436
|
}>;
|
|
2436
2437
|
items: GroupItemContent[];
|
|
2437
2438
|
};
|
|
2438
|
-
maybeLabel?: string | undefined;
|
|
2439
2439
|
}, {
|
|
2440
2440
|
key: string;
|
|
2441
2441
|
name: string;
|
|
2442
|
+
maybeLabel?: string | undefined;
|
|
2442
2443
|
widget: {
|
|
2443
2444
|
__TYPE__: "SharedSliceContent";
|
|
2444
2445
|
variation: string;
|
|
2445
2446
|
primary: Record<string, {
|
|
2447
|
+
type: string;
|
|
2448
|
+
__TYPE__: "EmptyContent";
|
|
2449
|
+
} | {
|
|
2450
|
+
__TYPE__: "IntegrationFieldsContent";
|
|
2451
|
+
value: string;
|
|
2452
|
+
} | {
|
|
2453
|
+
__TYPE__: "SeparatorContent";
|
|
2454
|
+
} | {
|
|
2446
2455
|
type: "Text";
|
|
2447
2456
|
value: string;
|
|
2448
2457
|
__TYPE__: "FieldContent";
|
|
@@ -2470,17 +2479,12 @@ declare const SharedSliceItemContentSchema: t.Type<{
|
|
|
2470
2479
|
type: "Select";
|
|
2471
2480
|
value: string;
|
|
2472
2481
|
__TYPE__: "FieldContent";
|
|
2473
|
-
} | {
|
|
2474
|
-
type: string;
|
|
2475
|
-
__TYPE__: "EmptyContent";
|
|
2476
2482
|
} | {
|
|
2477
2483
|
__TYPE__: "BooleanContent";
|
|
2478
2484
|
value: boolean;
|
|
2479
2485
|
} | {
|
|
2480
2486
|
embed_url: string;
|
|
2481
2487
|
type: string;
|
|
2482
|
-
__TYPE__: "EmbedContent";
|
|
2483
|
-
all: unknown;
|
|
2484
2488
|
version?: string | number | null | undefined;
|
|
2485
2489
|
title?: string | null | undefined;
|
|
2486
2490
|
author_name?: string | null | undefined;
|
|
@@ -2492,6 +2496,8 @@ declare const SharedSliceItemContentSchema: t.Type<{
|
|
|
2492
2496
|
thumbnail_width?: number | null | undefined;
|
|
2493
2497
|
thumbnail_height?: number | null | undefined;
|
|
2494
2498
|
html?: string | null | undefined;
|
|
2499
|
+
__TYPE__: "EmbedContent";
|
|
2500
|
+
all: unknown;
|
|
2495
2501
|
} | {
|
|
2496
2502
|
position: {
|
|
2497
2503
|
lat: number;
|
|
@@ -2515,7 +2521,6 @@ declare const SharedSliceItemContentSchema: t.Type<{
|
|
|
2515
2521
|
};
|
|
2516
2522
|
background: string;
|
|
2517
2523
|
};
|
|
2518
|
-
__TYPE__: "ImageContent";
|
|
2519
2524
|
url?: string | undefined;
|
|
2520
2525
|
credits?: string | null | undefined;
|
|
2521
2526
|
alt?: string | null | undefined;
|
|
@@ -2542,15 +2547,13 @@ declare const SharedSliceItemContentSchema: t.Type<{
|
|
|
2542
2547
|
alt?: string | null | undefined;
|
|
2543
2548
|
provider?: string | null | undefined;
|
|
2544
2549
|
}> | undefined;
|
|
2545
|
-
|
|
2546
|
-
__TYPE__: "IntegrationFieldsContent";
|
|
2547
|
-
value: string;
|
|
2550
|
+
__TYPE__: "ImageContent";
|
|
2548
2551
|
} | {
|
|
2549
2552
|
__TYPE__: "LinkContent";
|
|
2550
2553
|
key: string;
|
|
2551
2554
|
value: {
|
|
2552
|
-
variant?: string | undefined;
|
|
2553
2555
|
text?: string | undefined;
|
|
2556
|
+
variant?: string | undefined;
|
|
2554
2557
|
} & LinkContentValue;
|
|
2555
2558
|
} | {
|
|
2556
2559
|
__TYPE__: "RepeatableContent";
|
|
@@ -2559,15 +2562,13 @@ declare const SharedSliceItemContentSchema: t.Type<{
|
|
|
2559
2562
|
__TYPE__: "LinkContent";
|
|
2560
2563
|
key: string;
|
|
2561
2564
|
value: {
|
|
2562
|
-
variant?: string | undefined;
|
|
2563
2565
|
text?: string | undefined;
|
|
2566
|
+
variant?: string | undefined;
|
|
2564
2567
|
} & LinkContentValue;
|
|
2565
2568
|
}[];
|
|
2566
2569
|
} | {
|
|
2567
2570
|
__TYPE__: "StructuredTextContent";
|
|
2568
2571
|
value: RichTextContentBlock[];
|
|
2569
|
-
} | {
|
|
2570
|
-
__TYPE__: "SeparatorContent";
|
|
2571
2572
|
} | {
|
|
2572
2573
|
__TYPE__: "TableContent";
|
|
2573
2574
|
content: {
|
|
@@ -2575,7 +2576,7 @@ declare const SharedSliceItemContentSchema: t.Type<{
|
|
|
2575
2576
|
type: "tableRow";
|
|
2576
2577
|
content: {
|
|
2577
2578
|
key: string;
|
|
2578
|
-
type: "
|
|
2579
|
+
type: "tableCell" | "tableHeader";
|
|
2579
2580
|
content: {
|
|
2580
2581
|
__TYPE__: "StructuredTextContent";
|
|
2581
2582
|
value: RichTextContentBlock[];
|
|
@@ -2589,34 +2590,33 @@ declare const SharedSliceItemContentSchema: t.Type<{
|
|
|
2589
2590
|
}>;
|
|
2590
2591
|
items: GroupItemContent[];
|
|
2591
2592
|
};
|
|
2592
|
-
maybeLabel?: string | undefined;
|
|
2593
2593
|
}, unknown>;
|
|
2594
2594
|
declare const SliceItemContentSchema: t.Type<{
|
|
2595
2595
|
key: string;
|
|
2596
2596
|
name: string;
|
|
2597
|
-
widget: SliceContent;
|
|
2598
2597
|
maybeLabel?: string | undefined;
|
|
2598
|
+
widget: SliceContent;
|
|
2599
2599
|
}, {
|
|
2600
2600
|
key: string;
|
|
2601
2601
|
name: string;
|
|
2602
|
-
widget: SliceContent;
|
|
2603
2602
|
maybeLabel?: string | undefined;
|
|
2603
|
+
widget: SliceContent;
|
|
2604
2604
|
}, unknown>;
|
|
2605
2605
|
declare const SlicesContentSchema: t.Type<{
|
|
2606
2606
|
__TYPE__: "SliceContentType";
|
|
2607
2607
|
value: {
|
|
2608
2608
|
key: string;
|
|
2609
2609
|
name: string;
|
|
2610
|
-
widget: SliceContent;
|
|
2611
2610
|
maybeLabel?: string | undefined;
|
|
2611
|
+
widget: SliceContent;
|
|
2612
2612
|
}[];
|
|
2613
2613
|
}, {
|
|
2614
2614
|
__TYPE__: "SliceContentType";
|
|
2615
2615
|
value: {
|
|
2616
2616
|
key: string;
|
|
2617
2617
|
name: string;
|
|
2618
|
-
widget: SliceContent;
|
|
2619
2618
|
maybeLabel?: string | undefined;
|
|
2619
|
+
widget: SliceContent;
|
|
2620
2620
|
}[];
|
|
2621
2621
|
}, unknown>;
|
|
2622
2622
|
declare const WidgetContentSchema: t.Type<WidgetContent, WidgetContent, unknown>;
|
|
@@ -2721,8 +2721,6 @@ declare const GeoPointLegacy: (ctx: LegacyContentCtx) => t.Type<{
|
|
|
2721
2721
|
declare const EmbedLegacy: (ctx: LegacyContentCtx) => t.Type<{
|
|
2722
2722
|
embed_url: string;
|
|
2723
2723
|
type: string;
|
|
2724
|
-
__TYPE__: "EmbedContent";
|
|
2725
|
-
all: unknown;
|
|
2726
2724
|
version?: string | number | null | undefined;
|
|
2727
2725
|
title?: string | null | undefined;
|
|
2728
2726
|
author_name?: string | null | undefined;
|
|
@@ -2734,6 +2732,8 @@ declare const EmbedLegacy: (ctx: LegacyContentCtx) => t.Type<{
|
|
|
2734
2732
|
thumbnail_width?: number | null | undefined;
|
|
2735
2733
|
thumbnail_height?: number | null | undefined;
|
|
2736
2734
|
html?: string | null | undefined;
|
|
2735
|
+
__TYPE__: "EmbedContent";
|
|
2736
|
+
all: unknown;
|
|
2737
2737
|
}, {
|
|
2738
2738
|
keys: Record<string, string>;
|
|
2739
2739
|
types: Record<string, FieldOrSliceType>;
|
|
@@ -2770,7 +2770,6 @@ declare const ImageLegacy: (ctx: LegacyContentCtx) => t.Type<{
|
|
|
2770
2770
|
};
|
|
2771
2771
|
background: string;
|
|
2772
2772
|
};
|
|
2773
|
-
__TYPE__: "ImageContent";
|
|
2774
2773
|
url?: string | undefined;
|
|
2775
2774
|
credits?: string | null | undefined;
|
|
2776
2775
|
alt?: string | null | undefined;
|
|
@@ -2797,6 +2796,7 @@ declare const ImageLegacy: (ctx: LegacyContentCtx) => t.Type<{
|
|
|
2797
2796
|
alt?: string | null | undefined;
|
|
2798
2797
|
provider?: string | null | undefined;
|
|
2799
2798
|
}> | undefined;
|
|
2799
|
+
__TYPE__: "ImageContent";
|
|
2800
2800
|
}, {
|
|
2801
2801
|
keys: Record<string, string>;
|
|
2802
2802
|
types: Record<string, FieldOrSliceType>;
|
|
@@ -2849,13 +2849,43 @@ declare const LinkLegacy: (ctx: LegacyContentCtx) => t.Type<{
|
|
|
2849
2849
|
__TYPE__: "LinkContent";
|
|
2850
2850
|
key: string;
|
|
2851
2851
|
value: {
|
|
2852
|
-
variant?: string | undefined;
|
|
2853
2852
|
text?: string | undefined;
|
|
2853
|
+
variant?: string | undefined;
|
|
2854
2854
|
} & LinkContentValue;
|
|
2855
2855
|
}, {
|
|
2856
2856
|
keys: Record<string, string>;
|
|
2857
2857
|
types: Record<string, FieldOrSliceType>;
|
|
2858
2858
|
content: {
|
|
2859
|
+
kind: "image";
|
|
2860
|
+
key: string;
|
|
2861
|
+
text?: string | undefined;
|
|
2862
|
+
variant?: string | undefined;
|
|
2863
|
+
} | {
|
|
2864
|
+
kind: "file";
|
|
2865
|
+
key: string;
|
|
2866
|
+
text?: string | undefined;
|
|
2867
|
+
variant?: string | undefined;
|
|
2868
|
+
} | {
|
|
2869
|
+
kind: "media";
|
|
2870
|
+
key: string;
|
|
2871
|
+
text?: string | undefined;
|
|
2872
|
+
variant?: string | undefined;
|
|
2873
|
+
} | {
|
|
2874
|
+
kind: "document";
|
|
2875
|
+
key: string;
|
|
2876
|
+
text?: string | undefined;
|
|
2877
|
+
variant?: string | undefined;
|
|
2878
|
+
} | {
|
|
2879
|
+
kind: "web";
|
|
2880
|
+
key: string;
|
|
2881
|
+
text?: string | undefined;
|
|
2882
|
+
variant?: string | undefined;
|
|
2883
|
+
} | {
|
|
2884
|
+
kind: "any";
|
|
2885
|
+
key: string;
|
|
2886
|
+
text?: string | undefined;
|
|
2887
|
+
variant?: string | undefined;
|
|
2888
|
+
} | {
|
|
2859
2889
|
kind: "image";
|
|
2860
2890
|
id: string;
|
|
2861
2891
|
url: string;
|
|
@@ -2864,9 +2894,9 @@ declare const LinkLegacy: (ctx: LegacyContentCtx) => t.Type<{
|
|
|
2864
2894
|
size: string;
|
|
2865
2895
|
name: string;
|
|
2866
2896
|
date?: string | null | undefined;
|
|
2867
|
-
variant?: string | undefined;
|
|
2868
|
-
text?: string | undefined;
|
|
2869
2897
|
key: string;
|
|
2898
|
+
text?: string | undefined;
|
|
2899
|
+
variant?: string | undefined;
|
|
2870
2900
|
} | {
|
|
2871
2901
|
kind: "file";
|
|
2872
2902
|
id: string;
|
|
@@ -2874,15 +2904,15 @@ declare const LinkLegacy: (ctx: LegacyContentCtx) => t.Type<{
|
|
|
2874
2904
|
name: string;
|
|
2875
2905
|
size: string;
|
|
2876
2906
|
date?: string | null | undefined;
|
|
2877
|
-
variant?: string | undefined;
|
|
2878
|
-
text?: string | undefined;
|
|
2879
2907
|
key: string;
|
|
2908
|
+
text?: string | undefined;
|
|
2909
|
+
variant?: string | undefined;
|
|
2880
2910
|
} | {
|
|
2881
2911
|
kind: "document";
|
|
2882
2912
|
id: string;
|
|
2883
|
-
variant?: string | undefined;
|
|
2884
|
-
text?: string | undefined;
|
|
2885
2913
|
key: string;
|
|
2914
|
+
text?: string | undefined;
|
|
2915
|
+
variant?: string | undefined;
|
|
2886
2916
|
} | {
|
|
2887
2917
|
kind: "web";
|
|
2888
2918
|
url: string;
|
|
@@ -2890,39 +2920,9 @@ declare const LinkLegacy: (ctx: LegacyContentCtx) => t.Type<{
|
|
|
2890
2920
|
preview?: {
|
|
2891
2921
|
title?: string | undefined;
|
|
2892
2922
|
} | null | undefined;
|
|
2893
|
-
variant?: string | undefined;
|
|
2894
|
-
text?: string | undefined;
|
|
2895
|
-
key: string;
|
|
2896
|
-
} | {
|
|
2897
|
-
kind: "image";
|
|
2898
|
-
variant?: string | undefined;
|
|
2899
|
-
text?: string | undefined;
|
|
2900
|
-
key: string;
|
|
2901
|
-
} | {
|
|
2902
|
-
kind: "file";
|
|
2903
|
-
variant?: string | undefined;
|
|
2904
|
-
text?: string | undefined;
|
|
2905
|
-
key: string;
|
|
2906
|
-
} | {
|
|
2907
|
-
kind: "media";
|
|
2908
|
-
variant?: string | undefined;
|
|
2909
|
-
text?: string | undefined;
|
|
2910
|
-
key: string;
|
|
2911
|
-
} | {
|
|
2912
|
-
kind: "document";
|
|
2913
|
-
variant?: string | undefined;
|
|
2914
|
-
text?: string | undefined;
|
|
2915
2923
|
key: string;
|
|
2916
|
-
} | {
|
|
2917
|
-
kind: "web";
|
|
2918
|
-
variant?: string | undefined;
|
|
2919
2924
|
text?: string | undefined;
|
|
2920
|
-
key: string;
|
|
2921
|
-
} | {
|
|
2922
|
-
kind: "any";
|
|
2923
2925
|
variant?: string | undefined;
|
|
2924
|
-
text?: string | undefined;
|
|
2925
|
-
key: string;
|
|
2926
2926
|
};
|
|
2927
2927
|
}, unknown>;
|
|
2928
2928
|
declare const RepeatableLegacy: (ctx: LegacyContentCtx, fieldType: "Link") => t.Type<{
|
|
@@ -2932,8 +2932,8 @@ declare const RepeatableLegacy: (ctx: LegacyContentCtx, fieldType: "Link") => t.
|
|
|
2932
2932
|
__TYPE__: "LinkContent";
|
|
2933
2933
|
key: string;
|
|
2934
2934
|
value: {
|
|
2935
|
-
variant?: string | undefined;
|
|
2936
2935
|
text?: string | undefined;
|
|
2936
|
+
variant?: string | undefined;
|
|
2937
2937
|
} & LinkContentValue;
|
|
2938
2938
|
}[];
|
|
2939
2939
|
}, {
|
|
@@ -2968,7 +2968,7 @@ declare const TableLegacy: (ctx: LegacyContentCtx) => t.Type<{
|
|
|
2968
2968
|
type: "tableRow";
|
|
2969
2969
|
content: {
|
|
2970
2970
|
key: string;
|
|
2971
|
-
type: "
|
|
2971
|
+
type: "tableCell" | "tableHeader";
|
|
2972
2972
|
content: {
|
|
2973
2973
|
__TYPE__: "StructuredTextContent";
|
|
2974
2974
|
value: RichTextContentBlock[];
|
|
@@ -2985,7 +2985,7 @@ declare const TableLegacy: (ctx: LegacyContentCtx) => t.Type<{
|
|
|
2985
2985
|
type: "tableRow";
|
|
2986
2986
|
content: {
|
|
2987
2987
|
key: string;
|
|
2988
|
-
type: "
|
|
2988
|
+
type: "tableCell" | "tableHeader";
|
|
2989
2989
|
content: RichTextLegacyBlock[];
|
|
2990
2990
|
columnWidth?: number | undefined;
|
|
2991
2991
|
}[];
|
|
@@ -3019,6 +3019,14 @@ declare const GroupLegacy: (ctx: LegacyContentCtx) => t.Type<{
|
|
|
3019
3019
|
content: GroupLegacy$1;
|
|
3020
3020
|
}, unknown>;
|
|
3021
3021
|
declare const LegacySliceLegacy: (ctx: LegacyContentCtx) => t.Type<{
|
|
3022
|
+
type: string;
|
|
3023
|
+
__TYPE__: "EmptyContent";
|
|
3024
|
+
} | {
|
|
3025
|
+
__TYPE__: "IntegrationFieldsContent";
|
|
3026
|
+
value: string;
|
|
3027
|
+
} | {
|
|
3028
|
+
__TYPE__: "SeparatorContent";
|
|
3029
|
+
} | {
|
|
3022
3030
|
type: "Text";
|
|
3023
3031
|
value: string;
|
|
3024
3032
|
__TYPE__: "FieldContent";
|
|
@@ -3046,17 +3054,12 @@ declare const LegacySliceLegacy: (ctx: LegacyContentCtx) => t.Type<{
|
|
|
3046
3054
|
type: "Select";
|
|
3047
3055
|
value: string;
|
|
3048
3056
|
__TYPE__: "FieldContent";
|
|
3049
|
-
} | {
|
|
3050
|
-
type: string;
|
|
3051
|
-
__TYPE__: "EmptyContent";
|
|
3052
3057
|
} | {
|
|
3053
3058
|
__TYPE__: "BooleanContent";
|
|
3054
3059
|
value: boolean;
|
|
3055
3060
|
} | {
|
|
3056
3061
|
embed_url: string;
|
|
3057
3062
|
type: string;
|
|
3058
|
-
__TYPE__: "EmbedContent";
|
|
3059
|
-
all: unknown;
|
|
3060
3063
|
version?: string | number | null | undefined;
|
|
3061
3064
|
title?: string | null | undefined;
|
|
3062
3065
|
author_name?: string | null | undefined;
|
|
@@ -3068,6 +3071,8 @@ declare const LegacySliceLegacy: (ctx: LegacyContentCtx) => t.Type<{
|
|
|
3068
3071
|
thumbnail_width?: number | null | undefined;
|
|
3069
3072
|
thumbnail_height?: number | null | undefined;
|
|
3070
3073
|
html?: string | null | undefined;
|
|
3074
|
+
__TYPE__: "EmbedContent";
|
|
3075
|
+
all: unknown;
|
|
3071
3076
|
} | {
|
|
3072
3077
|
position: {
|
|
3073
3078
|
lat: number;
|
|
@@ -3091,7 +3096,6 @@ declare const LegacySliceLegacy: (ctx: LegacyContentCtx) => t.Type<{
|
|
|
3091
3096
|
};
|
|
3092
3097
|
background: string;
|
|
3093
3098
|
};
|
|
3094
|
-
__TYPE__: "ImageContent";
|
|
3095
3099
|
url?: string | undefined;
|
|
3096
3100
|
credits?: string | null | undefined;
|
|
3097
3101
|
alt?: string | null | undefined;
|
|
@@ -3118,15 +3122,13 @@ declare const LegacySliceLegacy: (ctx: LegacyContentCtx) => t.Type<{
|
|
|
3118
3122
|
alt?: string | null | undefined;
|
|
3119
3123
|
provider?: string | null | undefined;
|
|
3120
3124
|
}> | undefined;
|
|
3121
|
-
|
|
3122
|
-
__TYPE__: "IntegrationFieldsContent";
|
|
3123
|
-
value: string;
|
|
3125
|
+
__TYPE__: "ImageContent";
|
|
3124
3126
|
} | {
|
|
3125
3127
|
__TYPE__: "LinkContent";
|
|
3126
3128
|
key: string;
|
|
3127
3129
|
value: {
|
|
3128
|
-
variant?: string | undefined;
|
|
3129
3130
|
text?: string | undefined;
|
|
3131
|
+
variant?: string | undefined;
|
|
3130
3132
|
} & LinkContentValue;
|
|
3131
3133
|
} | {
|
|
3132
3134
|
__TYPE__: "RepeatableContent";
|
|
@@ -3135,15 +3137,13 @@ declare const LegacySliceLegacy: (ctx: LegacyContentCtx) => t.Type<{
|
|
|
3135
3137
|
__TYPE__: "LinkContent";
|
|
3136
3138
|
key: string;
|
|
3137
3139
|
value: {
|
|
3138
|
-
variant?: string | undefined;
|
|
3139
3140
|
text?: string | undefined;
|
|
3141
|
+
variant?: string | undefined;
|
|
3140
3142
|
} & LinkContentValue;
|
|
3141
3143
|
}[];
|
|
3142
3144
|
} | {
|
|
3143
3145
|
__TYPE__: "StructuredTextContent";
|
|
3144
3146
|
value: RichTextContentBlock[];
|
|
3145
|
-
} | {
|
|
3146
|
-
__TYPE__: "SeparatorContent";
|
|
3147
3147
|
} | {
|
|
3148
3148
|
__TYPE__: "TableContent";
|
|
3149
3149
|
content: {
|
|
@@ -3151,7 +3151,7 @@ declare const LegacySliceLegacy: (ctx: LegacyContentCtx) => t.Type<{
|
|
|
3151
3151
|
type: "tableRow";
|
|
3152
3152
|
content: {
|
|
3153
3153
|
key: string;
|
|
3154
|
-
type: "
|
|
3154
|
+
type: "tableCell" | "tableHeader";
|
|
3155
3155
|
content: {
|
|
3156
3156
|
__TYPE__: "StructuredTextContent";
|
|
3157
3157
|
value: RichTextContentBlock[];
|
|
@@ -3170,6 +3170,14 @@ declare const LegacySliceLegacy: (ctx: LegacyContentCtx) => t.Type<{
|
|
|
3170
3170
|
declare const CompositeSliceLegacy: (ctx: LegacyContentCtx) => t.Type<{
|
|
3171
3171
|
__TYPE__: "CompositeSliceContent";
|
|
3172
3172
|
nonRepeat: Record<string, {
|
|
3173
|
+
type: string;
|
|
3174
|
+
__TYPE__: "EmptyContent";
|
|
3175
|
+
} | {
|
|
3176
|
+
__TYPE__: "IntegrationFieldsContent";
|
|
3177
|
+
value: string;
|
|
3178
|
+
} | {
|
|
3179
|
+
__TYPE__: "SeparatorContent";
|
|
3180
|
+
} | {
|
|
3173
3181
|
type: "Text";
|
|
3174
3182
|
value: string;
|
|
3175
3183
|
__TYPE__: "FieldContent";
|
|
@@ -3197,17 +3205,12 @@ declare const CompositeSliceLegacy: (ctx: LegacyContentCtx) => t.Type<{
|
|
|
3197
3205
|
type: "Select";
|
|
3198
3206
|
value: string;
|
|
3199
3207
|
__TYPE__: "FieldContent";
|
|
3200
|
-
} | {
|
|
3201
|
-
type: string;
|
|
3202
|
-
__TYPE__: "EmptyContent";
|
|
3203
3208
|
} | {
|
|
3204
3209
|
__TYPE__: "BooleanContent";
|
|
3205
3210
|
value: boolean;
|
|
3206
3211
|
} | {
|
|
3207
3212
|
embed_url: string;
|
|
3208
3213
|
type: string;
|
|
3209
|
-
__TYPE__: "EmbedContent";
|
|
3210
|
-
all: unknown;
|
|
3211
3214
|
version?: string | number | null | undefined;
|
|
3212
3215
|
title?: string | null | undefined;
|
|
3213
3216
|
author_name?: string | null | undefined;
|
|
@@ -3219,6 +3222,8 @@ declare const CompositeSliceLegacy: (ctx: LegacyContentCtx) => t.Type<{
|
|
|
3219
3222
|
thumbnail_width?: number | null | undefined;
|
|
3220
3223
|
thumbnail_height?: number | null | undefined;
|
|
3221
3224
|
html?: string | null | undefined;
|
|
3225
|
+
__TYPE__: "EmbedContent";
|
|
3226
|
+
all: unknown;
|
|
3222
3227
|
} | {
|
|
3223
3228
|
position: {
|
|
3224
3229
|
lat: number;
|
|
@@ -3242,7 +3247,6 @@ declare const CompositeSliceLegacy: (ctx: LegacyContentCtx) => t.Type<{
|
|
|
3242
3247
|
};
|
|
3243
3248
|
background: string;
|
|
3244
3249
|
};
|
|
3245
|
-
__TYPE__: "ImageContent";
|
|
3246
3250
|
url?: string | undefined;
|
|
3247
3251
|
credits?: string | null | undefined;
|
|
3248
3252
|
alt?: string | null | undefined;
|
|
@@ -3269,15 +3273,13 @@ declare const CompositeSliceLegacy: (ctx: LegacyContentCtx) => t.Type<{
|
|
|
3269
3273
|
alt?: string | null | undefined;
|
|
3270
3274
|
provider?: string | null | undefined;
|
|
3271
3275
|
}> | undefined;
|
|
3272
|
-
|
|
3273
|
-
__TYPE__: "IntegrationFieldsContent";
|
|
3274
|
-
value: string;
|
|
3276
|
+
__TYPE__: "ImageContent";
|
|
3275
3277
|
} | {
|
|
3276
3278
|
__TYPE__: "LinkContent";
|
|
3277
3279
|
key: string;
|
|
3278
3280
|
value: {
|
|
3279
|
-
variant?: string | undefined;
|
|
3280
3281
|
text?: string | undefined;
|
|
3282
|
+
variant?: string | undefined;
|
|
3281
3283
|
} & LinkContentValue;
|
|
3282
3284
|
} | {
|
|
3283
3285
|
__TYPE__: "RepeatableContent";
|
|
@@ -3286,15 +3288,13 @@ declare const CompositeSliceLegacy: (ctx: LegacyContentCtx) => t.Type<{
|
|
|
3286
3288
|
__TYPE__: "LinkContent";
|
|
3287
3289
|
key: string;
|
|
3288
3290
|
value: {
|
|
3289
|
-
variant?: string | undefined;
|
|
3290
3291
|
text?: string | undefined;
|
|
3292
|
+
variant?: string | undefined;
|
|
3291
3293
|
} & LinkContentValue;
|
|
3292
3294
|
}[];
|
|
3293
3295
|
} | {
|
|
3294
3296
|
__TYPE__: "StructuredTextContent";
|
|
3295
3297
|
value: RichTextContentBlock[];
|
|
3296
|
-
} | {
|
|
3297
|
-
__TYPE__: "SeparatorContent";
|
|
3298
3298
|
} | {
|
|
3299
3299
|
__TYPE__: "TableContent";
|
|
3300
3300
|
content: {
|
|
@@ -3302,7 +3302,7 @@ declare const CompositeSliceLegacy: (ctx: LegacyContentCtx) => t.Type<{
|
|
|
3302
3302
|
type: "tableRow";
|
|
3303
3303
|
content: {
|
|
3304
3304
|
key: string;
|
|
3305
|
-
type: "
|
|
3305
|
+
type: "tableCell" | "tableHeader";
|
|
3306
3306
|
content: {
|
|
3307
3307
|
__TYPE__: "StructuredTextContent";
|
|
3308
3308
|
value: RichTextContentBlock[];
|
|
@@ -3324,6 +3324,14 @@ declare const SharedSliceLegacy: (ctx: LegacyContentCtx) => t.Type<{
|
|
|
3324
3324
|
__TYPE__: "SharedSliceContent";
|
|
3325
3325
|
variation: string;
|
|
3326
3326
|
primary: Record<string, {
|
|
3327
|
+
type: string;
|
|
3328
|
+
__TYPE__: "EmptyContent";
|
|
3329
|
+
} | {
|
|
3330
|
+
__TYPE__: "IntegrationFieldsContent";
|
|
3331
|
+
value: string;
|
|
3332
|
+
} | {
|
|
3333
|
+
__TYPE__: "SeparatorContent";
|
|
3334
|
+
} | {
|
|
3327
3335
|
type: "Text";
|
|
3328
3336
|
value: string;
|
|
3329
3337
|
__TYPE__: "FieldContent";
|
|
@@ -3351,17 +3359,12 @@ declare const SharedSliceLegacy: (ctx: LegacyContentCtx) => t.Type<{
|
|
|
3351
3359
|
type: "Select";
|
|
3352
3360
|
value: string;
|
|
3353
3361
|
__TYPE__: "FieldContent";
|
|
3354
|
-
} | {
|
|
3355
|
-
type: string;
|
|
3356
|
-
__TYPE__: "EmptyContent";
|
|
3357
3362
|
} | {
|
|
3358
3363
|
__TYPE__: "BooleanContent";
|
|
3359
3364
|
value: boolean;
|
|
3360
3365
|
} | {
|
|
3361
3366
|
embed_url: string;
|
|
3362
3367
|
type: string;
|
|
3363
|
-
__TYPE__: "EmbedContent";
|
|
3364
|
-
all: unknown;
|
|
3365
3368
|
version?: string | number | null | undefined;
|
|
3366
3369
|
title?: string | null | undefined;
|
|
3367
3370
|
author_name?: string | null | undefined;
|
|
@@ -3373,6 +3376,8 @@ declare const SharedSliceLegacy: (ctx: LegacyContentCtx) => t.Type<{
|
|
|
3373
3376
|
thumbnail_width?: number | null | undefined;
|
|
3374
3377
|
thumbnail_height?: number | null | undefined;
|
|
3375
3378
|
html?: string | null | undefined;
|
|
3379
|
+
__TYPE__: "EmbedContent";
|
|
3380
|
+
all: unknown;
|
|
3376
3381
|
} | {
|
|
3377
3382
|
position: {
|
|
3378
3383
|
lat: number;
|
|
@@ -3396,7 +3401,6 @@ declare const SharedSliceLegacy: (ctx: LegacyContentCtx) => t.Type<{
|
|
|
3396
3401
|
};
|
|
3397
3402
|
background: string;
|
|
3398
3403
|
};
|
|
3399
|
-
__TYPE__: "ImageContent";
|
|
3400
3404
|
url?: string | undefined;
|
|
3401
3405
|
credits?: string | null | undefined;
|
|
3402
3406
|
alt?: string | null | undefined;
|
|
@@ -3423,15 +3427,13 @@ declare const SharedSliceLegacy: (ctx: LegacyContentCtx) => t.Type<{
|
|
|
3423
3427
|
alt?: string | null | undefined;
|
|
3424
3428
|
provider?: string | null | undefined;
|
|
3425
3429
|
}> | undefined;
|
|
3426
|
-
|
|
3427
|
-
__TYPE__: "IntegrationFieldsContent";
|
|
3428
|
-
value: string;
|
|
3430
|
+
__TYPE__: "ImageContent";
|
|
3429
3431
|
} | {
|
|
3430
3432
|
__TYPE__: "LinkContent";
|
|
3431
3433
|
key: string;
|
|
3432
3434
|
value: {
|
|
3433
|
-
variant?: string | undefined;
|
|
3434
3435
|
text?: string | undefined;
|
|
3436
|
+
variant?: string | undefined;
|
|
3435
3437
|
} & LinkContentValue;
|
|
3436
3438
|
} | {
|
|
3437
3439
|
__TYPE__: "RepeatableContent";
|
|
@@ -3440,15 +3442,13 @@ declare const SharedSliceLegacy: (ctx: LegacyContentCtx) => t.Type<{
|
|
|
3440
3442
|
__TYPE__: "LinkContent";
|
|
3441
3443
|
key: string;
|
|
3442
3444
|
value: {
|
|
3443
|
-
variant?: string | undefined;
|
|
3444
3445
|
text?: string | undefined;
|
|
3446
|
+
variant?: string | undefined;
|
|
3445
3447
|
} & LinkContentValue;
|
|
3446
3448
|
}[];
|
|
3447
3449
|
} | {
|
|
3448
3450
|
__TYPE__: "StructuredTextContent";
|
|
3449
3451
|
value: RichTextContentBlock[];
|
|
3450
|
-
} | {
|
|
3451
|
-
__TYPE__: "SeparatorContent";
|
|
3452
3452
|
} | {
|
|
3453
3453
|
__TYPE__: "TableContent";
|
|
3454
3454
|
content: {
|
|
@@ -3456,7 +3456,7 @@ declare const SharedSliceLegacy: (ctx: LegacyContentCtx) => t.Type<{
|
|
|
3456
3456
|
type: "tableRow";
|
|
3457
3457
|
content: {
|
|
3458
3458
|
key: string;
|
|
3459
|
-
type: "
|
|
3459
|
+
type: "tableCell" | "tableHeader";
|
|
3460
3460
|
content: {
|
|
3461
3461
|
__TYPE__: "StructuredTextContent";
|
|
3462
3462
|
value: RichTextContentBlock[];
|
|
@@ -3486,15 +3486,15 @@ declare const SliceLegacy: (ctx: LegacyContentCtx) => t.Type<SliceContent, {
|
|
|
3486
3486
|
declare const SliceItemLegacy: (ctx: LegacyContentCtx) => t.Type<{
|
|
3487
3487
|
key: string;
|
|
3488
3488
|
name: string;
|
|
3489
|
-
widget: SliceContent;
|
|
3490
3489
|
maybeLabel?: string | undefined;
|
|
3490
|
+
widget: SliceContent;
|
|
3491
3491
|
}, {
|
|
3492
3492
|
keys: Record<string, string>;
|
|
3493
3493
|
types: Record<string, FieldOrSliceType>;
|
|
3494
3494
|
content: {
|
|
3495
3495
|
key: string;
|
|
3496
|
-
value: unknown;
|
|
3497
3496
|
label?: string | null | undefined;
|
|
3497
|
+
value: unknown;
|
|
3498
3498
|
};
|
|
3499
3499
|
}, unknown>;
|
|
3500
3500
|
declare const SlicesLegacy: (ctx: LegacyContentCtx) => t.Type<{
|
|
@@ -3502,16 +3502,16 @@ declare const SlicesLegacy: (ctx: LegacyContentCtx) => t.Type<{
|
|
|
3502
3502
|
value: {
|
|
3503
3503
|
key: string;
|
|
3504
3504
|
name: string;
|
|
3505
|
-
widget: SliceContent;
|
|
3506
3505
|
maybeLabel?: string | undefined;
|
|
3506
|
+
widget: SliceContent;
|
|
3507
3507
|
}[];
|
|
3508
3508
|
}, {
|
|
3509
3509
|
keys: Record<string, string>;
|
|
3510
3510
|
types: Record<string, FieldOrSliceType>;
|
|
3511
3511
|
content: {
|
|
3512
3512
|
key: string;
|
|
3513
|
-
value: unknown;
|
|
3514
3513
|
label?: string | null | undefined;
|
|
3514
|
+
value: unknown;
|
|
3515
3515
|
}[];
|
|
3516
3516
|
}, unknown>;
|
|
3517
3517
|
declare const WidgetLegacy: (ctx: LegacyContentCtx) => t.Type<WidgetContent, {
|
|
@@ -3660,7 +3660,7 @@ declare const LinkModelSchema: t.Type<{
|
|
|
3660
3660
|
label?: string | null | undefined;
|
|
3661
3661
|
useAsTitle?: boolean | undefined;
|
|
3662
3662
|
placeholder?: string | undefined;
|
|
3663
|
-
select?: "
|
|
3663
|
+
select?: "document" | "media" | "web" | null | undefined;
|
|
3664
3664
|
customtypes?: (string | {
|
|
3665
3665
|
id: string;
|
|
3666
3666
|
fields: (string | {
|
|
@@ -3700,7 +3700,7 @@ declare const LinkModelSchema: t.Type<{
|
|
|
3700
3700
|
label?: string | null | undefined;
|
|
3701
3701
|
useAsTitle?: boolean | undefined;
|
|
3702
3702
|
placeholder?: string | undefined;
|
|
3703
|
-
select?: "
|
|
3703
|
+
select?: "document" | "media" | "web" | null | undefined;
|
|
3704
3704
|
customtypes?: (string | {
|
|
3705
3705
|
id: string;
|
|
3706
3706
|
fields: (string | {
|
|
@@ -3802,7 +3802,7 @@ declare const NestableModelSchema: t.Type<{
|
|
|
3802
3802
|
label?: string | null | undefined;
|
|
3803
3803
|
useAsTitle?: boolean | undefined;
|
|
3804
3804
|
placeholder?: string | undefined;
|
|
3805
|
-
select?: "
|
|
3805
|
+
select?: "document" | "media" | "web" | null | undefined;
|
|
3806
3806
|
customtypes?: (string | {
|
|
3807
3807
|
id: string;
|
|
3808
3808
|
fields: (string | {
|
|
@@ -3974,7 +3974,7 @@ declare const NestableModelSchema: t.Type<{
|
|
|
3974
3974
|
label?: string | null | undefined;
|
|
3975
3975
|
useAsTitle?: boolean | undefined;
|
|
3976
3976
|
placeholder?: string | undefined;
|
|
3977
|
-
select?: "
|
|
3977
|
+
select?: "document" | "media" | "web" | null | undefined;
|
|
3978
3978
|
customtypes?: (string | {
|
|
3979
3979
|
id: string;
|
|
3980
3980
|
fields: (string | {
|
|
@@ -4196,7 +4196,7 @@ declare const SharedSliceModelSchema: t.Type<{
|
|
|
4196
4196
|
docURL: string;
|
|
4197
4197
|
version: string;
|
|
4198
4198
|
display?: string | undefined;
|
|
4199
|
-
primary?: Record<string,
|
|
4199
|
+
primary?: Record<string, {
|
|
4200
4200
|
type: "Group";
|
|
4201
4201
|
fieldset?: string | null | undefined;
|
|
4202
4202
|
icon?: string | undefined;
|
|
@@ -4204,7 +4204,7 @@ declare const SharedSliceModelSchema: t.Type<{
|
|
|
4204
4204
|
config?: {
|
|
4205
4205
|
label?: string | null | undefined;
|
|
4206
4206
|
repeat?: boolean | undefined;
|
|
4207
|
-
fields?: Record<string,
|
|
4207
|
+
fields?: Record<string, {
|
|
4208
4208
|
type: "Group";
|
|
4209
4209
|
fieldset?: string | null | undefined;
|
|
4210
4210
|
icon?: string | undefined;
|
|
@@ -4280,20 +4280,23 @@ declare const SharedSliceModelSchema: t.Type<{
|
|
|
4280
4280
|
label?: string | null | undefined;
|
|
4281
4281
|
useAsTitle?: boolean | undefined;
|
|
4282
4282
|
placeholder?: string | undefined;
|
|
4283
|
-
select?: "
|
|
4283
|
+
select?: "document" | "media" | "web" | null | undefined;
|
|
4284
4284
|
customtypes?: (string | {
|
|
4285
4285
|
id: string;
|
|
4286
4286
|
fields: (string | {
|
|
4287
4287
|
id: string;
|
|
4288
4288
|
customtypes: (string | {
|
|
4289
4289
|
id: string;
|
|
4290
|
-
fields: (string | /*elided*/any)[];
|
|
4290
|
+
fields: (string | /*elided*/ any)[];
|
|
4291
4291
|
})[];
|
|
4292
4292
|
} | {
|
|
4293
4293
|
id: string;
|
|
4294
4294
|
fields: (string | {
|
|
4295
4295
|
id: string;
|
|
4296
|
-
customtypes: (string |
|
|
4296
|
+
customtypes: (string | {
|
|
4297
|
+
id: string;
|
|
4298
|
+
fields: (string | any)[];
|
|
4299
|
+
})[];
|
|
4297
4300
|
})[];
|
|
4298
4301
|
})[];
|
|
4299
4302
|
})[] | undefined;
|
|
@@ -4377,9 +4380,9 @@ declare const SharedSliceModelSchema: t.Type<{
|
|
|
4377
4380
|
} | undefined;
|
|
4378
4381
|
}> | undefined;
|
|
4379
4382
|
} | undefined;
|
|
4380
|
-
}> | undefined;
|
|
4383
|
+
} | NestableModel> | undefined;
|
|
4381
4384
|
} | undefined;
|
|
4382
|
-
}> | undefined;
|
|
4385
|
+
} | NestableModel> | undefined;
|
|
4383
4386
|
items?: Record<string, {
|
|
4384
4387
|
type: "Boolean";
|
|
4385
4388
|
config?: {
|
|
@@ -4448,17 +4451,14 @@ declare const SharedSliceModelSchema: t.Type<{
|
|
|
4448
4451
|
label?: string | null | undefined;
|
|
4449
4452
|
useAsTitle?: boolean | undefined;
|
|
4450
4453
|
placeholder?: string | undefined;
|
|
4451
|
-
select?: "
|
|
4454
|
+
select?: "document" | "media" | "web" | null | undefined;
|
|
4452
4455
|
customtypes?: (string | {
|
|
4453
4456
|
id: string;
|
|
4454
4457
|
fields: (string | {
|
|
4455
4458
|
id: string;
|
|
4456
4459
|
customtypes: (string | {
|
|
4457
4460
|
id: string;
|
|
4458
|
-
fields: (string |
|
|
4459
|
-
id: string;
|
|
4460
|
-
fields: string[];
|
|
4461
|
-
})[];
|
|
4461
|
+
fields: (string | any)[];
|
|
4462
4462
|
})[];
|
|
4463
4463
|
} | {
|
|
4464
4464
|
id: string;
|
|
@@ -4466,10 +4466,7 @@ declare const SharedSliceModelSchema: t.Type<{
|
|
|
4466
4466
|
id: string;
|
|
4467
4467
|
customtypes: (string | {
|
|
4468
4468
|
id: string;
|
|
4469
|
-
fields: (string |
|
|
4470
|
-
id: string;
|
|
4471
|
-
fields: string[];
|
|
4472
|
-
})[];
|
|
4469
|
+
fields: (string | any)[];
|
|
4473
4470
|
})[];
|
|
4474
4471
|
})[];
|
|
4475
4472
|
})[];
|
|
@@ -4558,7 +4555,6 @@ declare const SharedSliceModelSchema: t.Type<{
|
|
|
4558
4555
|
legacyPaths?: Record<string, string> | undefined;
|
|
4559
4556
|
schema?: undefined;
|
|
4560
4557
|
} | {
|
|
4561
|
-
schema: "@prismicio/types-internal@4.5.0";
|
|
4562
4558
|
id: string;
|
|
4563
4559
|
type: "SharedSlice";
|
|
4564
4560
|
name: string;
|
|
@@ -4570,7 +4566,7 @@ declare const SharedSliceModelSchema: t.Type<{
|
|
|
4570
4566
|
docURL: string;
|
|
4571
4567
|
version: string;
|
|
4572
4568
|
display?: string | undefined;
|
|
4573
|
-
primary?: Record<string,
|
|
4569
|
+
primary?: Record<string, {
|
|
4574
4570
|
type: "Group";
|
|
4575
4571
|
fieldset?: string | null | undefined;
|
|
4576
4572
|
icon?: string | undefined;
|
|
@@ -4578,7 +4574,7 @@ declare const SharedSliceModelSchema: t.Type<{
|
|
|
4578
4574
|
config?: {
|
|
4579
4575
|
label?: string | null | undefined;
|
|
4580
4576
|
repeat?: boolean | undefined;
|
|
4581
|
-
fields?: Record<string,
|
|
4577
|
+
fields?: Record<string, {
|
|
4582
4578
|
type: "Group";
|
|
4583
4579
|
fieldset?: string | null | undefined;
|
|
4584
4580
|
icon?: string | undefined;
|
|
@@ -4654,20 +4650,23 @@ declare const SharedSliceModelSchema: t.Type<{
|
|
|
4654
4650
|
label?: string | null | undefined;
|
|
4655
4651
|
useAsTitle?: boolean | undefined;
|
|
4656
4652
|
placeholder?: string | undefined;
|
|
4657
|
-
select?: "
|
|
4653
|
+
select?: "document" | "media" | "web" | null | undefined;
|
|
4658
4654
|
customtypes?: (string | {
|
|
4659
4655
|
id: string;
|
|
4660
4656
|
fields: (string | {
|
|
4661
4657
|
id: string;
|
|
4662
4658
|
customtypes: (string | {
|
|
4663
4659
|
id: string;
|
|
4664
|
-
fields: (string |
|
|
4660
|
+
fields: (string | any)[];
|
|
4665
4661
|
})[];
|
|
4666
4662
|
} | {
|
|
4667
4663
|
id: string;
|
|
4668
4664
|
fields: (string | {
|
|
4669
4665
|
id: string;
|
|
4670
|
-
customtypes: (string |
|
|
4666
|
+
customtypes: (string | {
|
|
4667
|
+
id: string;
|
|
4668
|
+
fields: (string | any)[];
|
|
4669
|
+
})[];
|
|
4671
4670
|
})[];
|
|
4672
4671
|
})[];
|
|
4673
4672
|
})[] | undefined;
|
|
@@ -4751,9 +4750,9 @@ declare const SharedSliceModelSchema: t.Type<{
|
|
|
4751
4750
|
} | undefined;
|
|
4752
4751
|
}> | undefined;
|
|
4753
4752
|
} | undefined;
|
|
4754
|
-
}> | undefined;
|
|
4753
|
+
} | NestableModel> | undefined;
|
|
4755
4754
|
} | undefined;
|
|
4756
|
-
}> | undefined;
|
|
4755
|
+
} | NestableModel> | undefined;
|
|
4757
4756
|
items?: Record<string, {
|
|
4758
4757
|
type: "Boolean";
|
|
4759
4758
|
config?: {
|
|
@@ -4822,17 +4821,14 @@ declare const SharedSliceModelSchema: t.Type<{
|
|
|
4822
4821
|
label?: string | null | undefined;
|
|
4823
4822
|
useAsTitle?: boolean | undefined;
|
|
4824
4823
|
placeholder?: string | undefined;
|
|
4825
|
-
select?: "
|
|
4824
|
+
select?: "document" | "media" | "web" | null | undefined;
|
|
4826
4825
|
customtypes?: (string | {
|
|
4827
4826
|
id: string;
|
|
4828
4827
|
fields: (string | {
|
|
4829
4828
|
id: string;
|
|
4830
4829
|
customtypes: (string | {
|
|
4831
4830
|
id: string;
|
|
4832
|
-
fields: (string |
|
|
4833
|
-
id: string;
|
|
4834
|
-
fields: string[];
|
|
4835
|
-
})[];
|
|
4831
|
+
fields: (string | any)[];
|
|
4836
4832
|
})[];
|
|
4837
4833
|
} | {
|
|
4838
4834
|
id: string;
|
|
@@ -4840,10 +4836,7 @@ declare const SharedSliceModelSchema: t.Type<{
|
|
|
4840
4836
|
id: string;
|
|
4841
4837
|
customtypes: (string | {
|
|
4842
4838
|
id: string;
|
|
4843
|
-
fields: (string |
|
|
4844
|
-
id: string;
|
|
4845
|
-
fields: string[];
|
|
4846
|
-
})[];
|
|
4839
|
+
fields: (string | any)[];
|
|
4847
4840
|
})[];
|
|
4848
4841
|
})[];
|
|
4849
4842
|
})[];
|
|
@@ -4930,6 +4923,7 @@ declare const SharedSliceModelSchema: t.Type<{
|
|
|
4930
4923
|
}[];
|
|
4931
4924
|
description?: string | undefined;
|
|
4932
4925
|
legacyPaths?: Record<string, string> | undefined;
|
|
4926
|
+
schema: "@prismicio/types-internal@4.5.0";
|
|
4933
4927
|
}, {
|
|
4934
4928
|
id: string;
|
|
4935
4929
|
type: "SharedSlice";
|
|
@@ -4942,7 +4936,7 @@ declare const SharedSliceModelSchema: t.Type<{
|
|
|
4942
4936
|
docURL: string;
|
|
4943
4937
|
version: string;
|
|
4944
4938
|
display?: string | undefined;
|
|
4945
|
-
primary?: Record<string,
|
|
4939
|
+
primary?: Record<string, {
|
|
4946
4940
|
type: "Group";
|
|
4947
4941
|
fieldset?: string | null | undefined;
|
|
4948
4942
|
icon?: string | undefined;
|
|
@@ -4950,7 +4944,7 @@ declare const SharedSliceModelSchema: t.Type<{
|
|
|
4950
4944
|
config?: {
|
|
4951
4945
|
label?: string | null | undefined;
|
|
4952
4946
|
repeat?: boolean | undefined;
|
|
4953
|
-
fields?: Record<string,
|
|
4947
|
+
fields?: Record<string, {
|
|
4954
4948
|
type: "Group";
|
|
4955
4949
|
fieldset?: string | null | undefined;
|
|
4956
4950
|
icon?: string | undefined;
|
|
@@ -5026,20 +5020,23 @@ declare const SharedSliceModelSchema: t.Type<{
|
|
|
5026
5020
|
label?: string | null | undefined;
|
|
5027
5021
|
useAsTitle?: boolean | undefined;
|
|
5028
5022
|
placeholder?: string | undefined;
|
|
5029
|
-
select?: "
|
|
5023
|
+
select?: "document" | "media" | "web" | null | undefined;
|
|
5030
5024
|
customtypes?: (string | {
|
|
5031
5025
|
id: string;
|
|
5032
5026
|
fields: (string | {
|
|
5033
5027
|
id: string;
|
|
5034
5028
|
customtypes: (string | {
|
|
5035
5029
|
id: string;
|
|
5036
|
-
fields: (string |
|
|
5030
|
+
fields: (string | any)[];
|
|
5037
5031
|
})[];
|
|
5038
5032
|
} | {
|
|
5039
5033
|
id: string;
|
|
5040
5034
|
fields: (string | {
|
|
5041
5035
|
id: string;
|
|
5042
|
-
customtypes: (string |
|
|
5036
|
+
customtypes: (string | {
|
|
5037
|
+
id: string;
|
|
5038
|
+
fields: (string | any)[];
|
|
5039
|
+
})[];
|
|
5043
5040
|
})[];
|
|
5044
5041
|
})[];
|
|
5045
5042
|
})[] | undefined;
|
|
@@ -5123,9 +5120,9 @@ declare const SharedSliceModelSchema: t.Type<{
|
|
|
5123
5120
|
} | undefined;
|
|
5124
5121
|
}> | undefined;
|
|
5125
5122
|
} | undefined;
|
|
5126
|
-
}> | undefined;
|
|
5123
|
+
} | NestableModel> | undefined;
|
|
5127
5124
|
} | undefined;
|
|
5128
|
-
}> | undefined;
|
|
5125
|
+
} | NestableModel> | undefined;
|
|
5129
5126
|
items?: Record<string, {
|
|
5130
5127
|
type: "Boolean";
|
|
5131
5128
|
config?: {
|
|
@@ -5194,17 +5191,14 @@ declare const SharedSliceModelSchema: t.Type<{
|
|
|
5194
5191
|
label?: string | null | undefined;
|
|
5195
5192
|
useAsTitle?: boolean | undefined;
|
|
5196
5193
|
placeholder?: string | undefined;
|
|
5197
|
-
select?: "
|
|
5194
|
+
select?: "document" | "media" | "web" | null | undefined;
|
|
5198
5195
|
customtypes?: (string | {
|
|
5199
5196
|
id: string;
|
|
5200
5197
|
fields: (string | {
|
|
5201
5198
|
id: string;
|
|
5202
5199
|
customtypes: (string | {
|
|
5203
5200
|
id: string;
|
|
5204
|
-
fields: (string |
|
|
5205
|
-
id: string;
|
|
5206
|
-
fields: string[];
|
|
5207
|
-
})[];
|
|
5201
|
+
fields: (string | any)[];
|
|
5208
5202
|
})[];
|
|
5209
5203
|
} | {
|
|
5210
5204
|
id: string;
|
|
@@ -5212,10 +5206,7 @@ declare const SharedSliceModelSchema: t.Type<{
|
|
|
5212
5206
|
id: string;
|
|
5213
5207
|
customtypes: (string | {
|
|
5214
5208
|
id: string;
|
|
5215
|
-
fields: (string |
|
|
5216
|
-
id: string;
|
|
5217
|
-
fields: string[];
|
|
5218
|
-
})[];
|
|
5209
|
+
fields: (string | any)[];
|
|
5219
5210
|
})[];
|
|
5220
5211
|
})[];
|
|
5221
5212
|
})[];
|
|
@@ -5304,7 +5295,6 @@ declare const SharedSliceModelSchema: t.Type<{
|
|
|
5304
5295
|
legacyPaths?: Record<string, string> | undefined;
|
|
5305
5296
|
schema?: undefined;
|
|
5306
5297
|
} | {
|
|
5307
|
-
schema: "@prismicio/types-internal@4.5.0";
|
|
5308
5298
|
id: string;
|
|
5309
5299
|
type: "SharedSlice";
|
|
5310
5300
|
name: string;
|
|
@@ -5316,7 +5306,7 @@ declare const SharedSliceModelSchema: t.Type<{
|
|
|
5316
5306
|
docURL: string;
|
|
5317
5307
|
version: string;
|
|
5318
5308
|
display?: string | undefined;
|
|
5319
|
-
primary?: Record<string,
|
|
5309
|
+
primary?: Record<string, {
|
|
5320
5310
|
type: "Group";
|
|
5321
5311
|
fieldset?: string | null | undefined;
|
|
5322
5312
|
icon?: string | undefined;
|
|
@@ -5324,7 +5314,7 @@ declare const SharedSliceModelSchema: t.Type<{
|
|
|
5324
5314
|
config?: {
|
|
5325
5315
|
label?: string | null | undefined;
|
|
5326
5316
|
repeat?: boolean | undefined;
|
|
5327
|
-
fields?: Record<string,
|
|
5317
|
+
fields?: Record<string, {
|
|
5328
5318
|
type: "Group";
|
|
5329
5319
|
fieldset?: string | null | undefined;
|
|
5330
5320
|
icon?: string | undefined;
|
|
@@ -5400,20 +5390,23 @@ declare const SharedSliceModelSchema: t.Type<{
|
|
|
5400
5390
|
label?: string | null | undefined;
|
|
5401
5391
|
useAsTitle?: boolean | undefined;
|
|
5402
5392
|
placeholder?: string | undefined;
|
|
5403
|
-
select?: "
|
|
5393
|
+
select?: "document" | "media" | "web" | null | undefined;
|
|
5404
5394
|
customtypes?: (string | {
|
|
5405
5395
|
id: string;
|
|
5406
5396
|
fields: (string | {
|
|
5407
5397
|
id: string;
|
|
5408
5398
|
customtypes: (string | {
|
|
5409
5399
|
id: string;
|
|
5410
|
-
fields: (string |
|
|
5400
|
+
fields: (string | any)[];
|
|
5411
5401
|
})[];
|
|
5412
5402
|
} | {
|
|
5413
5403
|
id: string;
|
|
5414
5404
|
fields: (string | {
|
|
5415
5405
|
id: string;
|
|
5416
|
-
customtypes: (string |
|
|
5406
|
+
customtypes: (string | {
|
|
5407
|
+
id: string;
|
|
5408
|
+
fields: (string | any)[];
|
|
5409
|
+
})[];
|
|
5417
5410
|
})[];
|
|
5418
5411
|
})[];
|
|
5419
5412
|
})[] | undefined;
|
|
@@ -5497,9 +5490,9 @@ declare const SharedSliceModelSchema: t.Type<{
|
|
|
5497
5490
|
} | undefined;
|
|
5498
5491
|
}> | undefined;
|
|
5499
5492
|
} | undefined;
|
|
5500
|
-
}> | undefined;
|
|
5493
|
+
} | NestableModel> | undefined;
|
|
5501
5494
|
} | undefined;
|
|
5502
|
-
}> | undefined;
|
|
5495
|
+
} | NestableModel> | undefined;
|
|
5503
5496
|
items?: Record<string, {
|
|
5504
5497
|
type: "Boolean";
|
|
5505
5498
|
config?: {
|
|
@@ -5568,17 +5561,14 @@ declare const SharedSliceModelSchema: t.Type<{
|
|
|
5568
5561
|
label?: string | null | undefined;
|
|
5569
5562
|
useAsTitle?: boolean | undefined;
|
|
5570
5563
|
placeholder?: string | undefined;
|
|
5571
|
-
select?: "
|
|
5564
|
+
select?: "document" | "media" | "web" | null | undefined;
|
|
5572
5565
|
customtypes?: (string | {
|
|
5573
5566
|
id: string;
|
|
5574
5567
|
fields: (string | {
|
|
5575
5568
|
id: string;
|
|
5576
5569
|
customtypes: (string | {
|
|
5577
5570
|
id: string;
|
|
5578
|
-
fields: (string |
|
|
5579
|
-
id: string;
|
|
5580
|
-
fields: string[];
|
|
5581
|
-
})[];
|
|
5571
|
+
fields: (string | any)[];
|
|
5582
5572
|
})[];
|
|
5583
5573
|
} | {
|
|
5584
5574
|
id: string;
|
|
@@ -5586,10 +5576,7 @@ declare const SharedSliceModelSchema: t.Type<{
|
|
|
5586
5576
|
id: string;
|
|
5587
5577
|
customtypes: (string | {
|
|
5588
5578
|
id: string;
|
|
5589
|
-
fields: (string |
|
|
5590
|
-
id: string;
|
|
5591
|
-
fields: string[];
|
|
5592
|
-
})[];
|
|
5579
|
+
fields: (string | any)[];
|
|
5593
5580
|
})[];
|
|
5594
5581
|
})[];
|
|
5595
5582
|
})[];
|
|
@@ -5676,6 +5663,7 @@ declare const SharedSliceModelSchema: t.Type<{
|
|
|
5676
5663
|
}[];
|
|
5677
5664
|
description?: string | undefined;
|
|
5678
5665
|
legacyPaths?: Record<string, string> | undefined;
|
|
5666
|
+
schema: "@prismicio/types-internal@4.5.0";
|
|
5679
5667
|
}, unknown>;
|
|
5680
5668
|
declare const TableModelSchema: t.Type<{
|
|
5681
5669
|
type: "Table";
|
|
@@ -5747,7 +5735,7 @@ declare const GroupModelSchema: t.Type<{
|
|
|
5747
5735
|
config?: {
|
|
5748
5736
|
label?: string | null | undefined;
|
|
5749
5737
|
repeat?: boolean | undefined;
|
|
5750
|
-
fields?: Record<string,
|
|
5738
|
+
fields?: Record<string, {
|
|
5751
5739
|
type: "Group";
|
|
5752
5740
|
fieldset?: string | null | undefined;
|
|
5753
5741
|
icon?: string | undefined;
|
|
@@ -5823,7 +5811,7 @@ declare const GroupModelSchema: t.Type<{
|
|
|
5823
5811
|
label?: string | null | undefined;
|
|
5824
5812
|
useAsTitle?: boolean | undefined;
|
|
5825
5813
|
placeholder?: string | undefined;
|
|
5826
|
-
select?: "
|
|
5814
|
+
select?: "document" | "media" | "web" | null | undefined;
|
|
5827
5815
|
customtypes?: (string | {
|
|
5828
5816
|
id: string;
|
|
5829
5817
|
fields: (string | {
|
|
@@ -5929,7 +5917,7 @@ declare const GroupModelSchema: t.Type<{
|
|
|
5929
5917
|
} | undefined;
|
|
5930
5918
|
}> | undefined;
|
|
5931
5919
|
} | undefined;
|
|
5932
|
-
}> | undefined;
|
|
5920
|
+
} | NestableModel> | undefined;
|
|
5933
5921
|
} | undefined;
|
|
5934
5922
|
}, {
|
|
5935
5923
|
type: "Group";
|
|
@@ -5939,7 +5927,7 @@ declare const GroupModelSchema: t.Type<{
|
|
|
5939
5927
|
config?: {
|
|
5940
5928
|
label?: string | null | undefined;
|
|
5941
5929
|
repeat?: boolean | undefined;
|
|
5942
|
-
fields?: Record<string,
|
|
5930
|
+
fields?: Record<string, {
|
|
5943
5931
|
type: "Group";
|
|
5944
5932
|
fieldset?: string | null | undefined;
|
|
5945
5933
|
icon?: string | undefined;
|
|
@@ -6015,7 +6003,7 @@ declare const GroupModelSchema: t.Type<{
|
|
|
6015
6003
|
label?: string | null | undefined;
|
|
6016
6004
|
useAsTitle?: boolean | undefined;
|
|
6017
6005
|
placeholder?: string | undefined;
|
|
6018
|
-
select?: "
|
|
6006
|
+
select?: "document" | "media" | "web" | null | undefined;
|
|
6019
6007
|
customtypes?: (string | {
|
|
6020
6008
|
id: string;
|
|
6021
6009
|
fields: (string | {
|
|
@@ -6121,7 +6109,7 @@ declare const GroupModelSchema: t.Type<{
|
|
|
6121
6109
|
} | undefined;
|
|
6122
6110
|
}> | undefined;
|
|
6123
6111
|
} | undefined;
|
|
6124
|
-
}> | undefined;
|
|
6112
|
+
} | NestableModel> | undefined;
|
|
6125
6113
|
} | undefined;
|
|
6126
6114
|
}, unknown>;
|
|
6127
6115
|
declare const NestedGroupModelSchema: t.Type<{
|
|
@@ -6200,7 +6188,7 @@ declare const NestedGroupModelSchema: t.Type<{
|
|
|
6200
6188
|
label?: string | null | undefined;
|
|
6201
6189
|
useAsTitle?: boolean | undefined;
|
|
6202
6190
|
placeholder?: string | undefined;
|
|
6203
|
-
select?: "
|
|
6191
|
+
select?: "document" | "media" | "web" | null | undefined;
|
|
6204
6192
|
customtypes?: (string | {
|
|
6205
6193
|
id: string;
|
|
6206
6194
|
fields: (string | {
|
|
@@ -6382,7 +6370,7 @@ declare const NestedGroupModelSchema: t.Type<{
|
|
|
6382
6370
|
label?: string | null | undefined;
|
|
6383
6371
|
useAsTitle?: boolean | undefined;
|
|
6384
6372
|
placeholder?: string | undefined;
|
|
6385
|
-
select?: "
|
|
6373
|
+
select?: "document" | "media" | "web" | null | undefined;
|
|
6386
6374
|
customtypes?: (string | {
|
|
6387
6375
|
id: string;
|
|
6388
6376
|
fields: (string | {
|
|
@@ -6497,7 +6485,7 @@ declare const SharedSliceModelVariationSchema: t.Type<{
|
|
|
6497
6485
|
docURL: string;
|
|
6498
6486
|
version: string;
|
|
6499
6487
|
display?: string | undefined;
|
|
6500
|
-
primary?: Record<string,
|
|
6488
|
+
primary?: Record<string, {
|
|
6501
6489
|
type: "Group";
|
|
6502
6490
|
fieldset?: string | null | undefined;
|
|
6503
6491
|
icon?: string | undefined;
|
|
@@ -6505,7 +6493,7 @@ declare const SharedSliceModelVariationSchema: t.Type<{
|
|
|
6505
6493
|
config?: {
|
|
6506
6494
|
label?: string | null | undefined;
|
|
6507
6495
|
repeat?: boolean | undefined;
|
|
6508
|
-
fields?: Record<string,
|
|
6496
|
+
fields?: Record<string, {
|
|
6509
6497
|
type: "Group";
|
|
6510
6498
|
fieldset?: string | null | undefined;
|
|
6511
6499
|
icon?: string | undefined;
|
|
@@ -6581,7 +6569,7 @@ declare const SharedSliceModelVariationSchema: t.Type<{
|
|
|
6581
6569
|
label?: string | null | undefined;
|
|
6582
6570
|
useAsTitle?: boolean | undefined;
|
|
6583
6571
|
placeholder?: string | undefined;
|
|
6584
|
-
select?: "
|
|
6572
|
+
select?: "document" | "media" | "web" | null | undefined;
|
|
6585
6573
|
customtypes?: (string | {
|
|
6586
6574
|
id: string;
|
|
6587
6575
|
fields: (string | {
|
|
@@ -6599,7 +6587,10 @@ declare const SharedSliceModelVariationSchema: t.Type<{
|
|
|
6599
6587
|
id: string;
|
|
6600
6588
|
customtypes: (string | {
|
|
6601
6589
|
id: string;
|
|
6602
|
-
fields: (string |
|
|
6590
|
+
fields: (string | {
|
|
6591
|
+
id: string;
|
|
6592
|
+
fields: string[];
|
|
6593
|
+
})[];
|
|
6603
6594
|
})[];
|
|
6604
6595
|
})[];
|
|
6605
6596
|
})[];
|
|
@@ -6684,9 +6675,9 @@ declare const SharedSliceModelVariationSchema: t.Type<{
|
|
|
6684
6675
|
} | undefined;
|
|
6685
6676
|
}> | undefined;
|
|
6686
6677
|
} | undefined;
|
|
6687
|
-
}> | undefined;
|
|
6678
|
+
} | NestableModel> | undefined;
|
|
6688
6679
|
} | undefined;
|
|
6689
|
-
}> | undefined;
|
|
6680
|
+
} | NestableModel> | undefined;
|
|
6690
6681
|
items?: Record<string, {
|
|
6691
6682
|
type: "Boolean";
|
|
6692
6683
|
config?: {
|
|
@@ -6755,7 +6746,7 @@ declare const SharedSliceModelVariationSchema: t.Type<{
|
|
|
6755
6746
|
label?: string | null | undefined;
|
|
6756
6747
|
useAsTitle?: boolean | undefined;
|
|
6757
6748
|
placeholder?: string | undefined;
|
|
6758
|
-
select?: "
|
|
6749
|
+
select?: "document" | "media" | "web" | null | undefined;
|
|
6759
6750
|
customtypes?: (string | {
|
|
6760
6751
|
id: string;
|
|
6761
6752
|
fields: (string | {
|
|
@@ -6868,7 +6859,7 @@ declare const SharedSliceModelVariationSchema: t.Type<{
|
|
|
6868
6859
|
docURL: string;
|
|
6869
6860
|
version: string;
|
|
6870
6861
|
display?: string | undefined;
|
|
6871
|
-
primary?: Record<string,
|
|
6862
|
+
primary?: Record<string, {
|
|
6872
6863
|
type: "Group";
|
|
6873
6864
|
fieldset?: string | null | undefined;
|
|
6874
6865
|
icon?: string | undefined;
|
|
@@ -6876,7 +6867,7 @@ declare const SharedSliceModelVariationSchema: t.Type<{
|
|
|
6876
6867
|
config?: {
|
|
6877
6868
|
label?: string | null | undefined;
|
|
6878
6869
|
repeat?: boolean | undefined;
|
|
6879
|
-
fields?: Record<string,
|
|
6870
|
+
fields?: Record<string, {
|
|
6880
6871
|
type: "Group";
|
|
6881
6872
|
fieldset?: string | null | undefined;
|
|
6882
6873
|
icon?: string | undefined;
|
|
@@ -6952,7 +6943,7 @@ declare const SharedSliceModelVariationSchema: t.Type<{
|
|
|
6952
6943
|
label?: string | null | undefined;
|
|
6953
6944
|
useAsTitle?: boolean | undefined;
|
|
6954
6945
|
placeholder?: string | undefined;
|
|
6955
|
-
select?: "
|
|
6946
|
+
select?: "document" | "media" | "web" | null | undefined;
|
|
6956
6947
|
customtypes?: (string | {
|
|
6957
6948
|
id: string;
|
|
6958
6949
|
fields: (string | {
|
|
@@ -6970,7 +6961,10 @@ declare const SharedSliceModelVariationSchema: t.Type<{
|
|
|
6970
6961
|
id: string;
|
|
6971
6962
|
customtypes: (string | {
|
|
6972
6963
|
id: string;
|
|
6973
|
-
fields: (string |
|
|
6964
|
+
fields: (string | {
|
|
6965
|
+
id: string;
|
|
6966
|
+
fields: string[];
|
|
6967
|
+
})[];
|
|
6974
6968
|
})[];
|
|
6975
6969
|
})[];
|
|
6976
6970
|
})[];
|
|
@@ -7055,9 +7049,9 @@ declare const SharedSliceModelVariationSchema: t.Type<{
|
|
|
7055
7049
|
} | undefined;
|
|
7056
7050
|
}> | undefined;
|
|
7057
7051
|
} | undefined;
|
|
7058
|
-
}> | undefined;
|
|
7052
|
+
} | NestableModel> | undefined;
|
|
7059
7053
|
} | undefined;
|
|
7060
|
-
}> | undefined;
|
|
7054
|
+
} | NestableModel> | undefined;
|
|
7061
7055
|
items?: Record<string, {
|
|
7062
7056
|
type: "Boolean";
|
|
7063
7057
|
config?: {
|
|
@@ -7126,7 +7120,7 @@ declare const SharedSliceModelVariationSchema: t.Type<{
|
|
|
7126
7120
|
label?: string | null | undefined;
|
|
7127
7121
|
useAsTitle?: boolean | undefined;
|
|
7128
7122
|
placeholder?: string | undefined;
|
|
7129
|
-
select?: "
|
|
7123
|
+
select?: "document" | "media" | "web" | null | undefined;
|
|
7130
7124
|
customtypes?: (string | {
|
|
7131
7125
|
id: string;
|
|
7132
7126
|
fields: (string | {
|
|
@@ -7311,7 +7305,7 @@ declare const CompositeSliceModelSchema: t.Type<{
|
|
|
7311
7305
|
label?: string | null | undefined;
|
|
7312
7306
|
useAsTitle?: boolean | undefined;
|
|
7313
7307
|
placeholder?: string | undefined;
|
|
7314
|
-
select?: "
|
|
7308
|
+
select?: "document" | "media" | "web" | null | undefined;
|
|
7315
7309
|
customtypes?: (string | {
|
|
7316
7310
|
id: string;
|
|
7317
7311
|
fields: (string | {
|
|
@@ -7484,7 +7478,7 @@ declare const CompositeSliceModelSchema: t.Type<{
|
|
|
7484
7478
|
label?: string | null | undefined;
|
|
7485
7479
|
useAsTitle?: boolean | undefined;
|
|
7486
7480
|
placeholder?: string | undefined;
|
|
7487
|
-
select?: "
|
|
7481
|
+
select?: "document" | "media" | "web" | null | undefined;
|
|
7488
7482
|
customtypes?: (string | {
|
|
7489
7483
|
id: string;
|
|
7490
7484
|
fields: (string | {
|
|
@@ -7666,7 +7660,7 @@ declare const CompositeSliceModelSchema: t.Type<{
|
|
|
7666
7660
|
label?: string | null | undefined;
|
|
7667
7661
|
useAsTitle?: boolean | undefined;
|
|
7668
7662
|
placeholder?: string | undefined;
|
|
7669
|
-
select?: "
|
|
7663
|
+
select?: "document" | "media" | "web" | null | undefined;
|
|
7670
7664
|
customtypes?: (string | {
|
|
7671
7665
|
id: string;
|
|
7672
7666
|
fields: (string | {
|
|
@@ -7839,7 +7833,7 @@ declare const CompositeSliceModelSchema: t.Type<{
|
|
|
7839
7833
|
label?: string | null | undefined;
|
|
7840
7834
|
useAsTitle?: boolean | undefined;
|
|
7841
7835
|
placeholder?: string | undefined;
|
|
7842
|
-
select?: "
|
|
7836
|
+
select?: "document" | "media" | "web" | null | undefined;
|
|
7843
7837
|
customtypes?: (string | {
|
|
7844
7838
|
id: string;
|
|
7845
7839
|
fields: (string | {
|
|
@@ -8016,7 +8010,7 @@ declare const LegacySliceModelSchema: t.Type<{
|
|
|
8016
8010
|
label?: string | null | undefined;
|
|
8017
8011
|
useAsTitle?: boolean | undefined;
|
|
8018
8012
|
placeholder?: string | undefined;
|
|
8019
|
-
select?: "
|
|
8013
|
+
select?: "document" | "media" | "web" | null | undefined;
|
|
8020
8014
|
customtypes?: (string | {
|
|
8021
8015
|
id: string;
|
|
8022
8016
|
fields: (string | {
|
|
@@ -8196,7 +8190,7 @@ declare const LegacySliceModelSchema: t.Type<{
|
|
|
8196
8190
|
label?: string | null | undefined;
|
|
8197
8191
|
useAsTitle?: boolean | undefined;
|
|
8198
8192
|
placeholder?: string | undefined;
|
|
8199
|
-
select?: "
|
|
8193
|
+
select?: "document" | "media" | "web" | null | undefined;
|
|
8200
8194
|
customtypes?: (string | {
|
|
8201
8195
|
id: string;
|
|
8202
8196
|
fields: (string | {
|
|
@@ -8370,7 +8364,7 @@ declare const LegacySliceModelSchema: t.Type<{
|
|
|
8370
8364
|
label?: string | null | undefined;
|
|
8371
8365
|
useAsTitle?: boolean | undefined;
|
|
8372
8366
|
placeholder?: string | undefined;
|
|
8373
|
-
select?: "
|
|
8367
|
+
select?: "document" | "media" | "web" | null | undefined;
|
|
8374
8368
|
customtypes?: (string | {
|
|
8375
8369
|
id: string;
|
|
8376
8370
|
fields: (string | {
|
|
@@ -8550,7 +8544,7 @@ declare const LegacySliceModelSchema: t.Type<{
|
|
|
8550
8544
|
label?: string | null | undefined;
|
|
8551
8545
|
useAsTitle?: boolean | undefined;
|
|
8552
8546
|
placeholder?: string | undefined;
|
|
8553
|
-
select?: "
|
|
8547
|
+
select?: "document" | "media" | "web" | null | undefined;
|
|
8554
8548
|
customtypes?: (string | {
|
|
8555
8549
|
id: string;
|
|
8556
8550
|
fields: (string | {
|
|
@@ -8661,7 +8655,7 @@ declare const DynamicSliceModelSchema: t.Type<DynamicSliceModel, DynamicSliceMod
|
|
|
8661
8655
|
declare const StaticSliceModelSchema: t.Type<StaticSliceModel, StaticSliceModel, unknown>;
|
|
8662
8656
|
declare const SliceContentModelSchema: t.Type<SliceContentModel, SliceContentModel, unknown>;
|
|
8663
8657
|
declare const DynamicSlicesModelSchema: t.Type<{
|
|
8664
|
-
type: "
|
|
8658
|
+
type: "Choice" | "Slices";
|
|
8665
8659
|
fieldset?: string | null | undefined;
|
|
8666
8660
|
config?: {
|
|
8667
8661
|
label?: string | null | undefined;
|
|
@@ -8672,7 +8666,7 @@ declare const DynamicSlicesModelSchema: t.Type<{
|
|
|
8672
8666
|
choices?: Record<string, DynamicSliceModel> | undefined;
|
|
8673
8667
|
} | undefined;
|
|
8674
8668
|
}, {
|
|
8675
|
-
type: "
|
|
8669
|
+
type: "Choice" | "Slices";
|
|
8676
8670
|
fieldset?: string | null | undefined;
|
|
8677
8671
|
config?: {
|
|
8678
8672
|
label?: string | null | undefined;
|
|
@@ -8684,7 +8678,7 @@ declare const DynamicSlicesModelSchema: t.Type<{
|
|
|
8684
8678
|
} | undefined;
|
|
8685
8679
|
}, unknown>;
|
|
8686
8680
|
declare const StaticSlicesModelSchema: t.Type<{
|
|
8687
|
-
type: "
|
|
8681
|
+
type: "Choice" | "Slices";
|
|
8688
8682
|
fieldset?: string | null | undefined;
|
|
8689
8683
|
config?: {
|
|
8690
8684
|
label?: string | null | undefined;
|
|
@@ -8695,7 +8689,7 @@ declare const StaticSlicesModelSchema: t.Type<{
|
|
|
8695
8689
|
choices?: Record<string, StaticSliceModel> | undefined;
|
|
8696
8690
|
} | undefined;
|
|
8697
8691
|
}, {
|
|
8698
|
-
type: "
|
|
8692
|
+
type: "Choice" | "Slices";
|
|
8699
8693
|
fieldset?: string | null | undefined;
|
|
8700
8694
|
config?: {
|
|
8701
8695
|
label?: string | null | undefined;
|
|
@@ -8712,103 +8706,103 @@ declare const StaticCustomTypeModelTabSchema: t.Type<Record<string, StaticWidget
|
|
|
8712
8706
|
declare const DynamicCustomTypeModelTabSchema: t.Type<Record<string, DynamicWidgetModel>, Record<string, DynamicWidgetModel>, unknown>;
|
|
8713
8707
|
declare const StaticCustomTypeModelSchema: t.Type<{
|
|
8714
8708
|
id: string;
|
|
8709
|
+
label?: string | null | undefined;
|
|
8715
8710
|
repeatable: boolean;
|
|
8716
8711
|
json: Record<string, Record<string, StaticWidgetModel>>;
|
|
8717
8712
|
status: boolean;
|
|
8718
8713
|
format: "custom" | "page";
|
|
8719
|
-
label?: string | null | undefined;
|
|
8720
8714
|
schema?: undefined;
|
|
8721
8715
|
} | {
|
|
8722
|
-
schema: "@prismicio/types-internal@4.5.0";
|
|
8723
8716
|
id: string;
|
|
8717
|
+
label?: string | null | undefined;
|
|
8724
8718
|
repeatable: boolean;
|
|
8725
8719
|
json: Record<string, Record<string, StaticWidgetModel>>;
|
|
8726
8720
|
status: boolean;
|
|
8727
8721
|
format: "custom" | "page";
|
|
8728
|
-
|
|
8722
|
+
schema: "@prismicio/types-internal@4.5.0";
|
|
8729
8723
|
}, {
|
|
8730
8724
|
id: string;
|
|
8725
|
+
label?: string | null | undefined;
|
|
8731
8726
|
repeatable: boolean;
|
|
8732
8727
|
json: Record<string, Record<string, StaticWidgetModel>>;
|
|
8733
8728
|
status: boolean;
|
|
8734
8729
|
format: "custom" | "page";
|
|
8735
|
-
label?: string | null | undefined;
|
|
8736
8730
|
schema?: undefined;
|
|
8737
8731
|
} | {
|
|
8738
|
-
schema: "@prismicio/types-internal@4.5.0";
|
|
8739
8732
|
id: string;
|
|
8733
|
+
label?: string | null | undefined;
|
|
8740
8734
|
repeatable: boolean;
|
|
8741
8735
|
json: Record<string, Record<string, StaticWidgetModel>>;
|
|
8742
8736
|
status: boolean;
|
|
8743
8737
|
format: "custom" | "page";
|
|
8744
|
-
|
|
8738
|
+
schema: "@prismicio/types-internal@4.5.0";
|
|
8745
8739
|
}, unknown>;
|
|
8746
8740
|
declare const DynamicCustomTypeModelSchema: t.Type<{
|
|
8747
8741
|
id: string;
|
|
8742
|
+
label?: string | null | undefined;
|
|
8748
8743
|
repeatable: boolean;
|
|
8749
8744
|
json: Record<string, Record<string, DynamicWidgetModel>>;
|
|
8750
8745
|
status: boolean;
|
|
8751
8746
|
format: "custom" | "page";
|
|
8752
|
-
label?: string | null | undefined;
|
|
8753
8747
|
schema?: undefined;
|
|
8754
8748
|
} | {
|
|
8755
|
-
schema: "@prismicio/types-internal@4.5.0";
|
|
8756
8749
|
id: string;
|
|
8750
|
+
label?: string | null | undefined;
|
|
8757
8751
|
repeatable: boolean;
|
|
8758
8752
|
json: Record<string, Record<string, DynamicWidgetModel>>;
|
|
8759
8753
|
status: boolean;
|
|
8760
8754
|
format: "custom" | "page";
|
|
8761
|
-
|
|
8755
|
+
schema: "@prismicio/types-internal@4.5.0";
|
|
8762
8756
|
}, {
|
|
8763
8757
|
id: string;
|
|
8758
|
+
label?: string | null | undefined;
|
|
8764
8759
|
repeatable: boolean;
|
|
8765
8760
|
json: Record<string, Record<string, DynamicWidgetModel>>;
|
|
8766
8761
|
status: boolean;
|
|
8767
8762
|
format: "custom" | "page";
|
|
8768
|
-
label?: string | null | undefined;
|
|
8769
8763
|
schema?: undefined;
|
|
8770
8764
|
} | {
|
|
8771
|
-
schema: "@prismicio/types-internal@4.5.0";
|
|
8772
8765
|
id: string;
|
|
8766
|
+
label?: string | null | undefined;
|
|
8773
8767
|
repeatable: boolean;
|
|
8774
8768
|
json: Record<string, Record<string, DynamicWidgetModel>>;
|
|
8775
8769
|
status: boolean;
|
|
8776
8770
|
format: "custom" | "page";
|
|
8777
|
-
|
|
8771
|
+
schema: "@prismicio/types-internal@4.5.0";
|
|
8778
8772
|
}, unknown>;
|
|
8779
8773
|
/** @deprecated Use DynamicCustomTypeModelSchema instead */
|
|
8780
8774
|
declare const CustomTypeModelSchema: t.Type<{
|
|
8781
8775
|
id: string;
|
|
8776
|
+
label?: string | null | undefined;
|
|
8782
8777
|
repeatable: boolean;
|
|
8783
8778
|
json: Record<string, Record<string, DynamicWidgetModel>>;
|
|
8784
8779
|
status: boolean;
|
|
8785
8780
|
format: "custom" | "page";
|
|
8786
|
-
label?: string | null | undefined;
|
|
8787
8781
|
schema?: undefined;
|
|
8788
8782
|
} | {
|
|
8789
|
-
schema: "@prismicio/types-internal@4.5.0";
|
|
8790
8783
|
id: string;
|
|
8784
|
+
label?: string | null | undefined;
|
|
8791
8785
|
repeatable: boolean;
|
|
8792
8786
|
json: Record<string, Record<string, DynamicWidgetModel>>;
|
|
8793
8787
|
status: boolean;
|
|
8794
8788
|
format: "custom" | "page";
|
|
8795
|
-
|
|
8789
|
+
schema: "@prismicio/types-internal@4.5.0";
|
|
8796
8790
|
}, {
|
|
8797
8791
|
id: string;
|
|
8792
|
+
label?: string | null | undefined;
|
|
8798
8793
|
repeatable: boolean;
|
|
8799
8794
|
json: Record<string, Record<string, DynamicWidgetModel>>;
|
|
8800
8795
|
status: boolean;
|
|
8801
8796
|
format: "custom" | "page";
|
|
8802
|
-
label?: string | null | undefined;
|
|
8803
8797
|
schema?: undefined;
|
|
8804
8798
|
} | {
|
|
8805
|
-
schema: "@prismicio/types-internal@4.5.0";
|
|
8806
8799
|
id: string;
|
|
8800
|
+
label?: string | null | undefined;
|
|
8807
8801
|
repeatable: boolean;
|
|
8808
8802
|
json: Record<string, Record<string, DynamicWidgetModel>>;
|
|
8809
8803
|
status: boolean;
|
|
8810
8804
|
format: "custom" | "page";
|
|
8811
|
-
|
|
8805
|
+
schema: "@prismicio/types-internal@4.5.0";
|
|
8812
8806
|
}, unknown>;
|
|
8813
8807
|
//#endregion
|
|
8814
8808
|
export { AssetSchema, BooleanContentSchema, BooleanLegacy, BooleanModelSchema, ColorContentSchema, ColorLegacy, ColorModelSchema, CompositeSliceContentSchema, CompositeSliceItemContentSchema, CompositeSliceLegacy, CompositeSliceModelSchema, CustomTypeModelSchema, DateContentSchema, DateLegacy, DateModelSchema, DocumentContentSchema, DocumentLegacy, DynamicCustomTypeModelSchema, DynamicCustomTypeModelTabSchema, 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, StaticCustomTypeModelTabSchema, StaticSliceModelSchema, StaticSlicesModelSchema, StaticWidgetModelSchema, TableContentSchema, TableLegacy, TableModelSchema, TextContentSchema, TextLegacy, TextModelSchema, TimestampContentSchema, TimestampLegacy, TimestampModelSchema, UIDContentSchema, UIDLegacy, UIDModelSchema, WidgetContentSchema, WidgetKeySchema, WidgetLegacy };
|