@prismicio/types-internal 4.6.0 → 4.7.0-pr.36.885e913
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 +5 -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 +3 -5
- package/dist/helpers/customTypeModel.d.ts.map +1 -1
- package/dist/helpers/customTypeModel.js +2 -2
- package/dist/helpers/customTypeModel.js.map +1 -1
- package/dist/helpers/documentContent.d.ts +4 -5
- package/dist/helpers/documentContent.d.ts.map +1 -1
- package/dist/helpers/documentContent.js +12 -15
- 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 +4 -4
- package/dist/helpers/sliceContent.d.ts.map +1 -1
- package/dist/helpers/sliceContent.js +11 -2
- 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 +2 -3
- package/dist/helpers/traverseContent.d.ts.map +1 -1
- package/dist/helpers/traverseContent.js +6 -3
- 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 +10 -6
- package/dist/index.js +5 -2
- package/dist/io-ts.d.ts +349 -305
- package/dist/io-ts.d.ts.map +1 -1
- package/dist/io-ts.js +20 -18
- 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 +7 -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 +28 -3
- package/dist/model/link.d.ts.map +1 -1
- package/dist/model/link.js +3 -3
- 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 +4 -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 +3399 -3354
- package/dist/zod4.d.ts.map +1 -1
- package/dist/zod4.js +20 -18
- package/dist/zod4.js.map +1 -1
- package/package.json +15 -13
- package/src/content/codec/legacyContentCtx.ts +7 -1
- package/src/helpers/customTypeModel.ts +6 -3
- package/src/helpers/documentContent.ts +21 -28
- package/src/helpers/sliceContent.ts +16 -0
- package/src/helpers/traverseContent.ts +8 -5
- package/src/index.ts +21 -3
- package/src/io-ts.ts +7 -1
- package/src/model/customType.ts +5 -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/src/model/link.ts +4 -2
- package/src/zod4.ts +7 -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<{
|
|
@@ -234,8 +234,6 @@ declare const SharedSliceContentSchema: t.Type<{
|
|
|
234
234
|
} | {
|
|
235
235
|
embed_url: string;
|
|
236
236
|
type: string;
|
|
237
|
-
__TYPE__: "EmbedContent";
|
|
238
|
-
all: unknown;
|
|
239
237
|
version?: string | number | null | undefined;
|
|
240
238
|
title?: string | null | undefined;
|
|
241
239
|
author_name?: string | null | undefined;
|
|
@@ -247,6 +245,8 @@ declare const SharedSliceContentSchema: t.Type<{
|
|
|
247
245
|
thumbnail_width?: number | null | undefined;
|
|
248
246
|
thumbnail_height?: number | null | undefined;
|
|
249
247
|
html?: string | null | undefined;
|
|
248
|
+
__TYPE__: "EmbedContent";
|
|
249
|
+
all: unknown;
|
|
250
250
|
} | {
|
|
251
251
|
position: {
|
|
252
252
|
lat: number;
|
|
@@ -270,7 +270,6 @@ declare const SharedSliceContentSchema: t.Type<{
|
|
|
270
270
|
};
|
|
271
271
|
background: string;
|
|
272
272
|
};
|
|
273
|
-
__TYPE__: "ImageContent";
|
|
274
273
|
url?: string | undefined;
|
|
275
274
|
credits?: string | null | undefined;
|
|
276
275
|
alt?: string | null | undefined;
|
|
@@ -297,6 +296,7 @@ declare const SharedSliceContentSchema: t.Type<{
|
|
|
297
296
|
alt?: string | null | undefined;
|
|
298
297
|
provider?: string | null | undefined;
|
|
299
298
|
}> | undefined;
|
|
299
|
+
__TYPE__: "ImageContent";
|
|
300
300
|
} | {
|
|
301
301
|
__TYPE__: "IntegrationFieldsContent";
|
|
302
302
|
value: string;
|
|
@@ -304,8 +304,8 @@ declare const SharedSliceContentSchema: t.Type<{
|
|
|
304
304
|
__TYPE__: "LinkContent";
|
|
305
305
|
key: string;
|
|
306
306
|
value: {
|
|
307
|
-
variant?: string | undefined;
|
|
308
307
|
text?: string | undefined;
|
|
308
|
+
variant?: string | undefined;
|
|
309
309
|
} & LinkContentValue;
|
|
310
310
|
} | {
|
|
311
311
|
__TYPE__: "RepeatableContent";
|
|
@@ -314,8 +314,8 @@ declare const SharedSliceContentSchema: t.Type<{
|
|
|
314
314
|
__TYPE__: "LinkContent";
|
|
315
315
|
key: string;
|
|
316
316
|
value: {
|
|
317
|
-
variant?: string | undefined;
|
|
318
317
|
text?: string | undefined;
|
|
318
|
+
variant?: string | undefined;
|
|
319
319
|
} & LinkContentValue;
|
|
320
320
|
}[];
|
|
321
321
|
} | {
|
|
@@ -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[];
|
|
@@ -383,8 +383,6 @@ declare const SharedSliceContentSchema: t.Type<{
|
|
|
383
383
|
} | {
|
|
384
384
|
embed_url: string;
|
|
385
385
|
type: string;
|
|
386
|
-
__TYPE__: "EmbedContent";
|
|
387
|
-
all: unknown;
|
|
388
386
|
version?: string | number | null | undefined;
|
|
389
387
|
title?: string | null | undefined;
|
|
390
388
|
author_name?: string | null | undefined;
|
|
@@ -396,6 +394,8 @@ declare const SharedSliceContentSchema: t.Type<{
|
|
|
396
394
|
thumbnail_width?: number | null | undefined;
|
|
397
395
|
thumbnail_height?: number | null | undefined;
|
|
398
396
|
html?: string | null | undefined;
|
|
397
|
+
__TYPE__: "EmbedContent";
|
|
398
|
+
all: unknown;
|
|
399
399
|
} | {
|
|
400
400
|
position: {
|
|
401
401
|
lat: number;
|
|
@@ -419,7 +419,6 @@ declare const SharedSliceContentSchema: t.Type<{
|
|
|
419
419
|
};
|
|
420
420
|
background: string;
|
|
421
421
|
};
|
|
422
|
-
__TYPE__: "ImageContent";
|
|
423
422
|
url?: string | undefined;
|
|
424
423
|
credits?: string | null | undefined;
|
|
425
424
|
alt?: string | null | undefined;
|
|
@@ -446,6 +445,7 @@ declare const SharedSliceContentSchema: t.Type<{
|
|
|
446
445
|
alt?: string | null | undefined;
|
|
447
446
|
provider?: string | null | undefined;
|
|
448
447
|
}> | undefined;
|
|
448
|
+
__TYPE__: "ImageContent";
|
|
449
449
|
} | {
|
|
450
450
|
__TYPE__: "IntegrationFieldsContent";
|
|
451
451
|
value: string;
|
|
@@ -453,8 +453,8 @@ declare const SharedSliceContentSchema: t.Type<{
|
|
|
453
453
|
__TYPE__: "LinkContent";
|
|
454
454
|
key: string;
|
|
455
455
|
value: {
|
|
456
|
-
variant?: string | undefined;
|
|
457
456
|
text?: string | undefined;
|
|
457
|
+
variant?: string | undefined;
|
|
458
458
|
} & LinkContentValue;
|
|
459
459
|
} | {
|
|
460
460
|
__TYPE__: "RepeatableContent";
|
|
@@ -463,8 +463,8 @@ declare const SharedSliceContentSchema: t.Type<{
|
|
|
463
463
|
__TYPE__: "LinkContent";
|
|
464
464
|
key: string;
|
|
465
465
|
value: {
|
|
466
|
-
variant?: string | undefined;
|
|
467
466
|
text?: string | undefined;
|
|
467
|
+
variant?: string | undefined;
|
|
468
468
|
} & LinkContentValue;
|
|
469
469
|
}[];
|
|
470
470
|
} | {
|
|
@@ -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,8 +805,8 @@ 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>;
|
|
@@ -847,8 +847,6 @@ declare const NestableContentSchema: t.Type<{
|
|
|
847
847
|
} | {
|
|
848
848
|
embed_url: string;
|
|
849
849
|
type: string;
|
|
850
|
-
__TYPE__: "EmbedContent";
|
|
851
|
-
all: unknown;
|
|
852
850
|
version?: string | number | null | undefined;
|
|
853
851
|
title?: string | null | undefined;
|
|
854
852
|
author_name?: string | null | undefined;
|
|
@@ -860,6 +858,8 @@ declare const NestableContentSchema: t.Type<{
|
|
|
860
858
|
thumbnail_width?: number | null | undefined;
|
|
861
859
|
thumbnail_height?: number | null | undefined;
|
|
862
860
|
html?: string | null | undefined;
|
|
861
|
+
__TYPE__: "EmbedContent";
|
|
862
|
+
all: unknown;
|
|
863
863
|
} | {
|
|
864
864
|
position: {
|
|
865
865
|
lat: number;
|
|
@@ -883,7 +883,6 @@ declare const NestableContentSchema: t.Type<{
|
|
|
883
883
|
};
|
|
884
884
|
background: string;
|
|
885
885
|
};
|
|
886
|
-
__TYPE__: "ImageContent";
|
|
887
886
|
url?: string | undefined;
|
|
888
887
|
credits?: string | null | undefined;
|
|
889
888
|
alt?: string | null | undefined;
|
|
@@ -910,6 +909,7 @@ declare const NestableContentSchema: t.Type<{
|
|
|
910
909
|
alt?: string | null | undefined;
|
|
911
910
|
provider?: string | null | undefined;
|
|
912
911
|
}> | undefined;
|
|
912
|
+
__TYPE__: "ImageContent";
|
|
913
913
|
} | {
|
|
914
914
|
__TYPE__: "IntegrationFieldsContent";
|
|
915
915
|
value: string;
|
|
@@ -917,8 +917,8 @@ declare const NestableContentSchema: t.Type<{
|
|
|
917
917
|
__TYPE__: "LinkContent";
|
|
918
918
|
key: string;
|
|
919
919
|
value: {
|
|
920
|
-
variant?: string | undefined;
|
|
921
920
|
text?: string | undefined;
|
|
921
|
+
variant?: string | undefined;
|
|
922
922
|
} & LinkContentValue;
|
|
923
923
|
} | {
|
|
924
924
|
__TYPE__: "RepeatableContent";
|
|
@@ -927,8 +927,8 @@ declare const NestableContentSchema: t.Type<{
|
|
|
927
927
|
__TYPE__: "LinkContent";
|
|
928
928
|
key: string;
|
|
929
929
|
value: {
|
|
930
|
-
variant?: string | undefined;
|
|
931
930
|
text?: string | undefined;
|
|
931
|
+
variant?: string | undefined;
|
|
932
932
|
} & LinkContentValue;
|
|
933
933
|
}[];
|
|
934
934
|
} | {
|
|
@@ -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[];
|
|
@@ -988,8 +988,6 @@ declare const NestableContentSchema: t.Type<{
|
|
|
988
988
|
} | {
|
|
989
989
|
embed_url: string;
|
|
990
990
|
type: string;
|
|
991
|
-
__TYPE__: "EmbedContent";
|
|
992
|
-
all: unknown;
|
|
993
991
|
version?: string | number | null | undefined;
|
|
994
992
|
title?: string | null | undefined;
|
|
995
993
|
author_name?: string | null | undefined;
|
|
@@ -1001,6 +999,8 @@ declare const NestableContentSchema: t.Type<{
|
|
|
1001
999
|
thumbnail_width?: number | null | undefined;
|
|
1002
1000
|
thumbnail_height?: number | null | undefined;
|
|
1003
1001
|
html?: string | null | undefined;
|
|
1002
|
+
__TYPE__: "EmbedContent";
|
|
1003
|
+
all: unknown;
|
|
1004
1004
|
} | {
|
|
1005
1005
|
position: {
|
|
1006
1006
|
lat: number;
|
|
@@ -1024,7 +1024,6 @@ declare const NestableContentSchema: t.Type<{
|
|
|
1024
1024
|
};
|
|
1025
1025
|
background: string;
|
|
1026
1026
|
};
|
|
1027
|
-
__TYPE__: "ImageContent";
|
|
1028
1027
|
url?: string | undefined;
|
|
1029
1028
|
credits?: string | null | undefined;
|
|
1030
1029
|
alt?: string | null | undefined;
|
|
@@ -1051,6 +1050,7 @@ declare const NestableContentSchema: t.Type<{
|
|
|
1051
1050
|
alt?: string | null | undefined;
|
|
1052
1051
|
provider?: string | null | undefined;
|
|
1053
1052
|
}> | undefined;
|
|
1053
|
+
__TYPE__: "ImageContent";
|
|
1054
1054
|
} | {
|
|
1055
1055
|
__TYPE__: "IntegrationFieldsContent";
|
|
1056
1056
|
value: string;
|
|
@@ -1058,8 +1058,8 @@ declare const NestableContentSchema: t.Type<{
|
|
|
1058
1058
|
__TYPE__: "LinkContent";
|
|
1059
1059
|
key: string;
|
|
1060
1060
|
value: {
|
|
1061
|
-
variant?: string | undefined;
|
|
1062
1061
|
text?: string | undefined;
|
|
1062
|
+
variant?: string | undefined;
|
|
1063
1063
|
} & LinkContentValue;
|
|
1064
1064
|
} | {
|
|
1065
1065
|
__TYPE__: "RepeatableContent";
|
|
@@ -1068,8 +1068,8 @@ declare const NestableContentSchema: t.Type<{
|
|
|
1068
1068
|
__TYPE__: "LinkContent";
|
|
1069
1069
|
key: string;
|
|
1070
1070
|
value: {
|
|
1071
|
-
variant?: string | undefined;
|
|
1072
1071
|
text?: string | undefined;
|
|
1072
|
+
variant?: string | undefined;
|
|
1073
1073
|
} & LinkContentValue;
|
|
1074
1074
|
}[];
|
|
1075
1075
|
} | {
|
|
@@ -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[];
|
|
@@ -1140,8 +1140,6 @@ declare const CompositeSliceContentSchema: t.Type<{
|
|
|
1140
1140
|
} | {
|
|
1141
1141
|
embed_url: string;
|
|
1142
1142
|
type: string;
|
|
1143
|
-
__TYPE__: "EmbedContent";
|
|
1144
|
-
all: unknown;
|
|
1145
1143
|
version?: string | number | null | undefined;
|
|
1146
1144
|
title?: string | null | undefined;
|
|
1147
1145
|
author_name?: string | null | undefined;
|
|
@@ -1153,6 +1151,8 @@ declare const CompositeSliceContentSchema: t.Type<{
|
|
|
1153
1151
|
thumbnail_width?: number | null | undefined;
|
|
1154
1152
|
thumbnail_height?: number | null | undefined;
|
|
1155
1153
|
html?: string | null | undefined;
|
|
1154
|
+
__TYPE__: "EmbedContent";
|
|
1155
|
+
all: unknown;
|
|
1156
1156
|
} | {
|
|
1157
1157
|
position: {
|
|
1158
1158
|
lat: number;
|
|
@@ -1176,7 +1176,6 @@ declare const CompositeSliceContentSchema: t.Type<{
|
|
|
1176
1176
|
};
|
|
1177
1177
|
background: string;
|
|
1178
1178
|
};
|
|
1179
|
-
__TYPE__: "ImageContent";
|
|
1180
1179
|
url?: string | undefined;
|
|
1181
1180
|
credits?: string | null | undefined;
|
|
1182
1181
|
alt?: string | null | undefined;
|
|
@@ -1203,6 +1202,7 @@ declare const CompositeSliceContentSchema: t.Type<{
|
|
|
1203
1202
|
alt?: string | null | undefined;
|
|
1204
1203
|
provider?: string | null | undefined;
|
|
1205
1204
|
}> | undefined;
|
|
1205
|
+
__TYPE__: "ImageContent";
|
|
1206
1206
|
} | {
|
|
1207
1207
|
__TYPE__: "IntegrationFieldsContent";
|
|
1208
1208
|
value: string;
|
|
@@ -1210,8 +1210,8 @@ declare const CompositeSliceContentSchema: t.Type<{
|
|
|
1210
1210
|
__TYPE__: "LinkContent";
|
|
1211
1211
|
key: string;
|
|
1212
1212
|
value: {
|
|
1213
|
-
variant?: string | undefined;
|
|
1214
1213
|
text?: string | undefined;
|
|
1214
|
+
variant?: string | undefined;
|
|
1215
1215
|
} & LinkContentValue;
|
|
1216
1216
|
} | {
|
|
1217
1217
|
__TYPE__: "RepeatableContent";
|
|
@@ -1220,8 +1220,8 @@ declare const CompositeSliceContentSchema: t.Type<{
|
|
|
1220
1220
|
__TYPE__: "LinkContent";
|
|
1221
1221
|
key: string;
|
|
1222
1222
|
value: {
|
|
1223
|
-
variant?: string | undefined;
|
|
1224
1223
|
text?: string | undefined;
|
|
1224
|
+
variant?: string | undefined;
|
|
1225
1225
|
} & LinkContentValue;
|
|
1226
1226
|
}[];
|
|
1227
1227
|
} | {
|
|
@@ -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[];
|
|
@@ -1285,8 +1285,6 @@ declare const CompositeSliceContentSchema: t.Type<{
|
|
|
1285
1285
|
} | {
|
|
1286
1286
|
embed_url: string;
|
|
1287
1287
|
type: string;
|
|
1288
|
-
__TYPE__: "EmbedContent";
|
|
1289
|
-
all: unknown;
|
|
1290
1288
|
version?: string | number | null | undefined;
|
|
1291
1289
|
title?: string | null | undefined;
|
|
1292
1290
|
author_name?: string | null | undefined;
|
|
@@ -1298,6 +1296,8 @@ declare const CompositeSliceContentSchema: t.Type<{
|
|
|
1298
1296
|
thumbnail_width?: number | null | undefined;
|
|
1299
1297
|
thumbnail_height?: number | null | undefined;
|
|
1300
1298
|
html?: string | null | undefined;
|
|
1299
|
+
__TYPE__: "EmbedContent";
|
|
1300
|
+
all: unknown;
|
|
1301
1301
|
} | {
|
|
1302
1302
|
position: {
|
|
1303
1303
|
lat: number;
|
|
@@ -1321,7 +1321,6 @@ declare const CompositeSliceContentSchema: t.Type<{
|
|
|
1321
1321
|
};
|
|
1322
1322
|
background: string;
|
|
1323
1323
|
};
|
|
1324
|
-
__TYPE__: "ImageContent";
|
|
1325
1324
|
url?: string | undefined;
|
|
1326
1325
|
credits?: string | null | undefined;
|
|
1327
1326
|
alt?: string | null | undefined;
|
|
@@ -1348,6 +1347,7 @@ declare const CompositeSliceContentSchema: t.Type<{
|
|
|
1348
1347
|
alt?: string | null | undefined;
|
|
1349
1348
|
provider?: string | null | undefined;
|
|
1350
1349
|
}> | undefined;
|
|
1350
|
+
__TYPE__: "ImageContent";
|
|
1351
1351
|
} | {
|
|
1352
1352
|
__TYPE__: "IntegrationFieldsContent";
|
|
1353
1353
|
value: string;
|
|
@@ -1355,8 +1355,8 @@ declare const CompositeSliceContentSchema: t.Type<{
|
|
|
1355
1355
|
__TYPE__: "LinkContent";
|
|
1356
1356
|
key: string;
|
|
1357
1357
|
value: {
|
|
1358
|
-
variant?: string | undefined;
|
|
1359
1358
|
text?: string | undefined;
|
|
1359
|
+
variant?: string | undefined;
|
|
1360
1360
|
} & LinkContentValue;
|
|
1361
1361
|
} | {
|
|
1362
1362
|
__TYPE__: "RepeatableContent";
|
|
@@ -1365,8 +1365,8 @@ declare const CompositeSliceContentSchema: t.Type<{
|
|
|
1365
1365
|
__TYPE__: "LinkContent";
|
|
1366
1366
|
key: string;
|
|
1367
1367
|
value: {
|
|
1368
|
-
variant?: string | undefined;
|
|
1369
1368
|
text?: string | undefined;
|
|
1369
|
+
variant?: string | undefined;
|
|
1370
1370
|
} & LinkContentValue;
|
|
1371
1371
|
}[];
|
|
1372
1372
|
} | {
|
|
@@ -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[];
|
|
@@ -1429,8 +1429,6 @@ declare const LegacySliceContentSchema: t.Type<{
|
|
|
1429
1429
|
} | {
|
|
1430
1430
|
embed_url: string;
|
|
1431
1431
|
type: string;
|
|
1432
|
-
__TYPE__: "EmbedContent";
|
|
1433
|
-
all: unknown;
|
|
1434
1432
|
version?: string | number | null | undefined;
|
|
1435
1433
|
title?: string | null | undefined;
|
|
1436
1434
|
author_name?: string | null | undefined;
|
|
@@ -1442,6 +1440,8 @@ declare const LegacySliceContentSchema: t.Type<{
|
|
|
1442
1440
|
thumbnail_width?: number | null | undefined;
|
|
1443
1441
|
thumbnail_height?: number | null | undefined;
|
|
1444
1442
|
html?: string | null | undefined;
|
|
1443
|
+
__TYPE__: "EmbedContent";
|
|
1444
|
+
all: unknown;
|
|
1445
1445
|
} | {
|
|
1446
1446
|
position: {
|
|
1447
1447
|
lat: number;
|
|
@@ -1465,7 +1465,6 @@ declare const LegacySliceContentSchema: t.Type<{
|
|
|
1465
1465
|
};
|
|
1466
1466
|
background: string;
|
|
1467
1467
|
};
|
|
1468
|
-
__TYPE__: "ImageContent";
|
|
1469
1468
|
url?: string | undefined;
|
|
1470
1469
|
credits?: string | null | undefined;
|
|
1471
1470
|
alt?: string | null | undefined;
|
|
@@ -1492,6 +1491,7 @@ declare const LegacySliceContentSchema: t.Type<{
|
|
|
1492
1491
|
alt?: string | null | undefined;
|
|
1493
1492
|
provider?: string | null | undefined;
|
|
1494
1493
|
}> | undefined;
|
|
1494
|
+
__TYPE__: "ImageContent";
|
|
1495
1495
|
} | {
|
|
1496
1496
|
__TYPE__: "IntegrationFieldsContent";
|
|
1497
1497
|
value: string;
|
|
@@ -1499,8 +1499,8 @@ declare const LegacySliceContentSchema: t.Type<{
|
|
|
1499
1499
|
__TYPE__: "LinkContent";
|
|
1500
1500
|
key: string;
|
|
1501
1501
|
value: {
|
|
1502
|
-
variant?: string | undefined;
|
|
1503
1502
|
text?: string | undefined;
|
|
1503
|
+
variant?: string | undefined;
|
|
1504
1504
|
} & LinkContentValue;
|
|
1505
1505
|
} | {
|
|
1506
1506
|
__TYPE__: "RepeatableContent";
|
|
@@ -1509,8 +1509,8 @@ declare const LegacySliceContentSchema: t.Type<{
|
|
|
1509
1509
|
__TYPE__: "LinkContent";
|
|
1510
1510
|
key: string;
|
|
1511
1511
|
value: {
|
|
1512
|
-
variant?: string | undefined;
|
|
1513
1512
|
text?: string | undefined;
|
|
1513
|
+
variant?: string | undefined;
|
|
1514
1514
|
} & LinkContentValue;
|
|
1515
1515
|
}[];
|
|
1516
1516
|
} | {
|
|
@@ -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[];
|
|
@@ -1573,8 +1573,6 @@ declare const LegacySliceContentSchema: t.Type<{
|
|
|
1573
1573
|
} | {
|
|
1574
1574
|
embed_url: string;
|
|
1575
1575
|
type: string;
|
|
1576
|
-
__TYPE__: "EmbedContent";
|
|
1577
|
-
all: unknown;
|
|
1578
1576
|
version?: string | number | null | undefined;
|
|
1579
1577
|
title?: string | null | undefined;
|
|
1580
1578
|
author_name?: string | null | undefined;
|
|
@@ -1586,6 +1584,8 @@ declare const LegacySliceContentSchema: t.Type<{
|
|
|
1586
1584
|
thumbnail_width?: number | null | undefined;
|
|
1587
1585
|
thumbnail_height?: number | null | undefined;
|
|
1588
1586
|
html?: string | null | undefined;
|
|
1587
|
+
__TYPE__: "EmbedContent";
|
|
1588
|
+
all: unknown;
|
|
1589
1589
|
} | {
|
|
1590
1590
|
position: {
|
|
1591
1591
|
lat: number;
|
|
@@ -1609,7 +1609,6 @@ declare const LegacySliceContentSchema: t.Type<{
|
|
|
1609
1609
|
};
|
|
1610
1610
|
background: string;
|
|
1611
1611
|
};
|
|
1612
|
-
__TYPE__: "ImageContent";
|
|
1613
1612
|
url?: string | undefined;
|
|
1614
1613
|
credits?: string | null | undefined;
|
|
1615
1614
|
alt?: string | null | undefined;
|
|
@@ -1636,6 +1635,7 @@ declare const LegacySliceContentSchema: t.Type<{
|
|
|
1636
1635
|
alt?: string | null | undefined;
|
|
1637
1636
|
provider?: string | null | undefined;
|
|
1638
1637
|
}> | undefined;
|
|
1638
|
+
__TYPE__: "ImageContent";
|
|
1639
1639
|
} | {
|
|
1640
1640
|
__TYPE__: "IntegrationFieldsContent";
|
|
1641
1641
|
value: string;
|
|
@@ -1643,8 +1643,8 @@ declare const LegacySliceContentSchema: t.Type<{
|
|
|
1643
1643
|
__TYPE__: "LinkContent";
|
|
1644
1644
|
key: string;
|
|
1645
1645
|
value: {
|
|
1646
|
-
variant?: string | undefined;
|
|
1647
1646
|
text?: string | undefined;
|
|
1647
|
+
variant?: string | undefined;
|
|
1648
1648
|
} & LinkContentValue;
|
|
1649
1649
|
} | {
|
|
1650
1650
|
__TYPE__: "RepeatableContent";
|
|
@@ -1653,8 +1653,8 @@ declare const LegacySliceContentSchema: t.Type<{
|
|
|
1653
1653
|
__TYPE__: "LinkContent";
|
|
1654
1654
|
key: string;
|
|
1655
1655
|
value: {
|
|
1656
|
-
variant?: string | undefined;
|
|
1657
1656
|
text?: string | undefined;
|
|
1657
|
+
variant?: string | undefined;
|
|
1658
1658
|
} & LinkContentValue;
|
|
1659
1659
|
}[];
|
|
1660
1660
|
} | {
|
|
@@ -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,6 +1685,7 @@ 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: {
|
|
1689
1690
|
type: "Text";
|
|
1690
1691
|
value: string;
|
|
@@ -1722,8 +1723,6 @@ declare const LegacySliceItemContentSchema: t.Type<{
|
|
|
1722
1723
|
} | {
|
|
1723
1724
|
embed_url: string;
|
|
1724
1725
|
type: string;
|
|
1725
|
-
__TYPE__: "EmbedContent";
|
|
1726
|
-
all: unknown;
|
|
1727
1726
|
version?: string | number | null | undefined;
|
|
1728
1727
|
title?: string | null | undefined;
|
|
1729
1728
|
author_name?: string | null | undefined;
|
|
@@ -1735,6 +1734,8 @@ declare const LegacySliceItemContentSchema: t.Type<{
|
|
|
1735
1734
|
thumbnail_width?: number | null | undefined;
|
|
1736
1735
|
thumbnail_height?: number | null | undefined;
|
|
1737
1736
|
html?: string | null | undefined;
|
|
1737
|
+
__TYPE__: "EmbedContent";
|
|
1738
|
+
all: unknown;
|
|
1738
1739
|
} | {
|
|
1739
1740
|
position: {
|
|
1740
1741
|
lat: number;
|
|
@@ -1758,7 +1759,6 @@ declare const LegacySliceItemContentSchema: t.Type<{
|
|
|
1758
1759
|
};
|
|
1759
1760
|
background: string;
|
|
1760
1761
|
};
|
|
1761
|
-
__TYPE__: "ImageContent";
|
|
1762
1762
|
url?: string | undefined;
|
|
1763
1763
|
credits?: string | null | undefined;
|
|
1764
1764
|
alt?: string | null | undefined;
|
|
@@ -1785,6 +1785,7 @@ declare const LegacySliceItemContentSchema: t.Type<{
|
|
|
1785
1785
|
alt?: string | null | undefined;
|
|
1786
1786
|
provider?: string | null | undefined;
|
|
1787
1787
|
}> | undefined;
|
|
1788
|
+
__TYPE__: "ImageContent";
|
|
1788
1789
|
} | {
|
|
1789
1790
|
__TYPE__: "IntegrationFieldsContent";
|
|
1790
1791
|
value: string;
|
|
@@ -1792,8 +1793,8 @@ declare const LegacySliceItemContentSchema: t.Type<{
|
|
|
1792
1793
|
__TYPE__: "LinkContent";
|
|
1793
1794
|
key: string;
|
|
1794
1795
|
value: {
|
|
1795
|
-
variant?: string | undefined;
|
|
1796
1796
|
text?: string | undefined;
|
|
1797
|
+
variant?: string | undefined;
|
|
1797
1798
|
} & LinkContentValue;
|
|
1798
1799
|
} | {
|
|
1799
1800
|
__TYPE__: "RepeatableContent";
|
|
@@ -1802,8 +1803,8 @@ declare const LegacySliceItemContentSchema: t.Type<{
|
|
|
1802
1803
|
__TYPE__: "LinkContent";
|
|
1803
1804
|
key: string;
|
|
1804
1805
|
value: {
|
|
1805
|
-
variant?: string | undefined;
|
|
1806
1806
|
text?: string | undefined;
|
|
1807
|
+
variant?: string | undefined;
|
|
1807
1808
|
} & LinkContentValue;
|
|
1808
1809
|
}[];
|
|
1809
1810
|
} | {
|
|
@@ -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,10 +1831,10 @@ 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: {
|
|
1838
1839
|
type: "Text";
|
|
1839
1840
|
value: string;
|
|
@@ -1871,8 +1872,6 @@ declare const LegacySliceItemContentSchema: t.Type<{
|
|
|
1871
1872
|
} | {
|
|
1872
1873
|
embed_url: string;
|
|
1873
1874
|
type: string;
|
|
1874
|
-
__TYPE__: "EmbedContent";
|
|
1875
|
-
all: unknown;
|
|
1876
1875
|
version?: string | number | null | undefined;
|
|
1877
1876
|
title?: string | null | undefined;
|
|
1878
1877
|
author_name?: string | null | undefined;
|
|
@@ -1884,6 +1883,8 @@ declare const LegacySliceItemContentSchema: t.Type<{
|
|
|
1884
1883
|
thumbnail_width?: number | null | undefined;
|
|
1885
1884
|
thumbnail_height?: number | null | undefined;
|
|
1886
1885
|
html?: string | null | undefined;
|
|
1886
|
+
__TYPE__: "EmbedContent";
|
|
1887
|
+
all: unknown;
|
|
1887
1888
|
} | {
|
|
1888
1889
|
position: {
|
|
1889
1890
|
lat: number;
|
|
@@ -1907,7 +1908,6 @@ declare const LegacySliceItemContentSchema: t.Type<{
|
|
|
1907
1908
|
};
|
|
1908
1909
|
background: string;
|
|
1909
1910
|
};
|
|
1910
|
-
__TYPE__: "ImageContent";
|
|
1911
1911
|
url?: string | undefined;
|
|
1912
1912
|
credits?: string | null | undefined;
|
|
1913
1913
|
alt?: string | null | undefined;
|
|
@@ -1934,6 +1934,7 @@ declare const LegacySliceItemContentSchema: t.Type<{
|
|
|
1934
1934
|
alt?: string | null | undefined;
|
|
1935
1935
|
provider?: string | null | undefined;
|
|
1936
1936
|
}> | undefined;
|
|
1937
|
+
__TYPE__: "ImageContent";
|
|
1937
1938
|
} | {
|
|
1938
1939
|
__TYPE__: "IntegrationFieldsContent";
|
|
1939
1940
|
value: string;
|
|
@@ -1941,8 +1942,8 @@ declare const LegacySliceItemContentSchema: t.Type<{
|
|
|
1941
1942
|
__TYPE__: "LinkContent";
|
|
1942
1943
|
key: string;
|
|
1943
1944
|
value: {
|
|
1944
|
-
variant?: string | undefined;
|
|
1945
1945
|
text?: string | undefined;
|
|
1946
|
+
variant?: string | undefined;
|
|
1946
1947
|
} & LinkContentValue;
|
|
1947
1948
|
} | {
|
|
1948
1949
|
__TYPE__: "RepeatableContent";
|
|
@@ -1951,8 +1952,8 @@ declare const LegacySliceItemContentSchema: t.Type<{
|
|
|
1951
1952
|
__TYPE__: "LinkContent";
|
|
1952
1953
|
key: string;
|
|
1953
1954
|
value: {
|
|
1954
|
-
variant?: string | undefined;
|
|
1955
1955
|
text?: string | undefined;
|
|
1956
|
+
variant?: string | undefined;
|
|
1956
1957
|
} & LinkContentValue;
|
|
1957
1958
|
}[];
|
|
1958
1959
|
} | {
|
|
@@ -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,11 +1980,11 @@ 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, {
|
|
@@ -2023,8 +2024,6 @@ declare const CompositeSliceItemContentSchema: t.Type<{
|
|
|
2023
2024
|
} | {
|
|
2024
2025
|
embed_url: string;
|
|
2025
2026
|
type: string;
|
|
2026
|
-
__TYPE__: "EmbedContent";
|
|
2027
|
-
all: unknown;
|
|
2028
2027
|
version?: string | number | null | undefined;
|
|
2029
2028
|
title?: string | null | undefined;
|
|
2030
2029
|
author_name?: string | null | undefined;
|
|
@@ -2036,6 +2035,8 @@ declare const CompositeSliceItemContentSchema: t.Type<{
|
|
|
2036
2035
|
thumbnail_width?: number | null | undefined;
|
|
2037
2036
|
thumbnail_height?: number | null | undefined;
|
|
2038
2037
|
html?: string | null | undefined;
|
|
2038
|
+
__TYPE__: "EmbedContent";
|
|
2039
|
+
all: unknown;
|
|
2039
2040
|
} | {
|
|
2040
2041
|
position: {
|
|
2041
2042
|
lat: number;
|
|
@@ -2059,7 +2060,6 @@ declare const CompositeSliceItemContentSchema: t.Type<{
|
|
|
2059
2060
|
};
|
|
2060
2061
|
background: string;
|
|
2061
2062
|
};
|
|
2062
|
-
__TYPE__: "ImageContent";
|
|
2063
2063
|
url?: string | undefined;
|
|
2064
2064
|
credits?: string | null | undefined;
|
|
2065
2065
|
alt?: string | null | undefined;
|
|
@@ -2086,6 +2086,7 @@ declare const CompositeSliceItemContentSchema: t.Type<{
|
|
|
2086
2086
|
alt?: string | null | undefined;
|
|
2087
2087
|
provider?: string | null | undefined;
|
|
2088
2088
|
}> | undefined;
|
|
2089
|
+
__TYPE__: "ImageContent";
|
|
2089
2090
|
} | {
|
|
2090
2091
|
__TYPE__: "IntegrationFieldsContent";
|
|
2091
2092
|
value: string;
|
|
@@ -2093,8 +2094,8 @@ declare const CompositeSliceItemContentSchema: t.Type<{
|
|
|
2093
2094
|
__TYPE__: "LinkContent";
|
|
2094
2095
|
key: string;
|
|
2095
2096
|
value: {
|
|
2096
|
-
variant?: string | undefined;
|
|
2097
2097
|
text?: string | undefined;
|
|
2098
|
+
variant?: string | undefined;
|
|
2098
2099
|
} & LinkContentValue;
|
|
2099
2100
|
} | {
|
|
2100
2101
|
__TYPE__: "RepeatableContent";
|
|
@@ -2103,8 +2104,8 @@ declare const CompositeSliceItemContentSchema: t.Type<{
|
|
|
2103
2104
|
__TYPE__: "LinkContent";
|
|
2104
2105
|
key: string;
|
|
2105
2106
|
value: {
|
|
2106
|
-
variant?: string | undefined;
|
|
2107
2107
|
text?: string | undefined;
|
|
2108
|
+
variant?: string | undefined;
|
|
2108
2109
|
} & LinkContentValue;
|
|
2109
2110
|
}[];
|
|
2110
2111
|
} | {
|
|
@@ -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,10 +2131,10 @@ 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, {
|
|
@@ -2173,8 +2174,6 @@ declare const CompositeSliceItemContentSchema: t.Type<{
|
|
|
2173
2174
|
} | {
|
|
2174
2175
|
embed_url: string;
|
|
2175
2176
|
type: string;
|
|
2176
|
-
__TYPE__: "EmbedContent";
|
|
2177
|
-
all: unknown;
|
|
2178
2177
|
version?: string | number | null | undefined;
|
|
2179
2178
|
title?: string | null | undefined;
|
|
2180
2179
|
author_name?: string | null | undefined;
|
|
@@ -2186,6 +2185,8 @@ declare const CompositeSliceItemContentSchema: t.Type<{
|
|
|
2186
2185
|
thumbnail_width?: number | null | undefined;
|
|
2187
2186
|
thumbnail_height?: number | null | undefined;
|
|
2188
2187
|
html?: string | null | undefined;
|
|
2188
|
+
__TYPE__: "EmbedContent";
|
|
2189
|
+
all: unknown;
|
|
2189
2190
|
} | {
|
|
2190
2191
|
position: {
|
|
2191
2192
|
lat: number;
|
|
@@ -2209,7 +2210,6 @@ declare const CompositeSliceItemContentSchema: t.Type<{
|
|
|
2209
2210
|
};
|
|
2210
2211
|
background: string;
|
|
2211
2212
|
};
|
|
2212
|
-
__TYPE__: "ImageContent";
|
|
2213
2213
|
url?: string | undefined;
|
|
2214
2214
|
credits?: string | null | undefined;
|
|
2215
2215
|
alt?: string | null | undefined;
|
|
@@ -2236,6 +2236,7 @@ declare const CompositeSliceItemContentSchema: t.Type<{
|
|
|
2236
2236
|
alt?: string | null | undefined;
|
|
2237
2237
|
provider?: string | null | undefined;
|
|
2238
2238
|
}> | undefined;
|
|
2239
|
+
__TYPE__: "ImageContent";
|
|
2239
2240
|
} | {
|
|
2240
2241
|
__TYPE__: "IntegrationFieldsContent";
|
|
2241
2242
|
value: string;
|
|
@@ -2243,8 +2244,8 @@ declare const CompositeSliceItemContentSchema: t.Type<{
|
|
|
2243
2244
|
__TYPE__: "LinkContent";
|
|
2244
2245
|
key: string;
|
|
2245
2246
|
value: {
|
|
2246
|
-
variant?: string | undefined;
|
|
2247
2247
|
text?: string | undefined;
|
|
2248
|
+
variant?: string | undefined;
|
|
2248
2249
|
} & LinkContentValue;
|
|
2249
2250
|
} | {
|
|
2250
2251
|
__TYPE__: "RepeatableContent";
|
|
@@ -2253,8 +2254,8 @@ declare const CompositeSliceItemContentSchema: t.Type<{
|
|
|
2253
2254
|
__TYPE__: "LinkContent";
|
|
2254
2255
|
key: string;
|
|
2255
2256
|
value: {
|
|
2256
|
-
variant?: string | undefined;
|
|
2257
2257
|
text?: string | undefined;
|
|
2258
|
+
variant?: string | undefined;
|
|
2258
2259
|
} & LinkContentValue;
|
|
2259
2260
|
}[];
|
|
2260
2261
|
} | {
|
|
@@ -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,11 +2281,11 @@ 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;
|
|
@@ -2325,8 +2326,6 @@ declare const SharedSliceItemContentSchema: t.Type<{
|
|
|
2325
2326
|
} | {
|
|
2326
2327
|
embed_url: string;
|
|
2327
2328
|
type: string;
|
|
2328
|
-
__TYPE__: "EmbedContent";
|
|
2329
|
-
all: unknown;
|
|
2330
2329
|
version?: string | number | null | undefined;
|
|
2331
2330
|
title?: string | null | undefined;
|
|
2332
2331
|
author_name?: string | null | undefined;
|
|
@@ -2338,6 +2337,8 @@ declare const SharedSliceItemContentSchema: t.Type<{
|
|
|
2338
2337
|
thumbnail_width?: number | null | undefined;
|
|
2339
2338
|
thumbnail_height?: number | null | undefined;
|
|
2340
2339
|
html?: string | null | undefined;
|
|
2340
|
+
__TYPE__: "EmbedContent";
|
|
2341
|
+
all: unknown;
|
|
2341
2342
|
} | {
|
|
2342
2343
|
position: {
|
|
2343
2344
|
lat: number;
|
|
@@ -2361,7 +2362,6 @@ declare const SharedSliceItemContentSchema: t.Type<{
|
|
|
2361
2362
|
};
|
|
2362
2363
|
background: string;
|
|
2363
2364
|
};
|
|
2364
|
-
__TYPE__: "ImageContent";
|
|
2365
2365
|
url?: string | undefined;
|
|
2366
2366
|
credits?: string | null | undefined;
|
|
2367
2367
|
alt?: string | null | undefined;
|
|
@@ -2388,6 +2388,7 @@ declare const SharedSliceItemContentSchema: t.Type<{
|
|
|
2388
2388
|
alt?: string | null | undefined;
|
|
2389
2389
|
provider?: string | null | undefined;
|
|
2390
2390
|
}> | undefined;
|
|
2391
|
+
__TYPE__: "ImageContent";
|
|
2391
2392
|
} | {
|
|
2392
2393
|
__TYPE__: "IntegrationFieldsContent";
|
|
2393
2394
|
value: string;
|
|
@@ -2395,8 +2396,8 @@ declare const SharedSliceItemContentSchema: t.Type<{
|
|
|
2395
2396
|
__TYPE__: "LinkContent";
|
|
2396
2397
|
key: string;
|
|
2397
2398
|
value: {
|
|
2398
|
-
variant?: string | undefined;
|
|
2399
2399
|
text?: string | undefined;
|
|
2400
|
+
variant?: string | undefined;
|
|
2400
2401
|
} & LinkContentValue;
|
|
2401
2402
|
} | {
|
|
2402
2403
|
__TYPE__: "RepeatableContent";
|
|
@@ -2405,8 +2406,8 @@ declare const SharedSliceItemContentSchema: t.Type<{
|
|
|
2405
2406
|
__TYPE__: "LinkContent";
|
|
2406
2407
|
key: string;
|
|
2407
2408
|
value: {
|
|
2408
|
-
variant?: string | undefined;
|
|
2409
2409
|
text?: string | undefined;
|
|
2410
|
+
variant?: string | undefined;
|
|
2410
2411
|
} & LinkContentValue;
|
|
2411
2412
|
}[];
|
|
2412
2413
|
} | {
|
|
@@ -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,10 +2436,10 @@ 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;
|
|
@@ -2479,8 +2480,6 @@ declare const SharedSliceItemContentSchema: t.Type<{
|
|
|
2479
2480
|
} | {
|
|
2480
2481
|
embed_url: string;
|
|
2481
2482
|
type: string;
|
|
2482
|
-
__TYPE__: "EmbedContent";
|
|
2483
|
-
all: unknown;
|
|
2484
2483
|
version?: string | number | null | undefined;
|
|
2485
2484
|
title?: string | null | undefined;
|
|
2486
2485
|
author_name?: string | null | undefined;
|
|
@@ -2492,6 +2491,8 @@ declare const SharedSliceItemContentSchema: t.Type<{
|
|
|
2492
2491
|
thumbnail_width?: number | null | undefined;
|
|
2493
2492
|
thumbnail_height?: number | null | undefined;
|
|
2494
2493
|
html?: string | null | undefined;
|
|
2494
|
+
__TYPE__: "EmbedContent";
|
|
2495
|
+
all: unknown;
|
|
2495
2496
|
} | {
|
|
2496
2497
|
position: {
|
|
2497
2498
|
lat: number;
|
|
@@ -2515,7 +2516,6 @@ declare const SharedSliceItemContentSchema: t.Type<{
|
|
|
2515
2516
|
};
|
|
2516
2517
|
background: string;
|
|
2517
2518
|
};
|
|
2518
|
-
__TYPE__: "ImageContent";
|
|
2519
2519
|
url?: string | undefined;
|
|
2520
2520
|
credits?: string | null | undefined;
|
|
2521
2521
|
alt?: string | null | undefined;
|
|
@@ -2542,6 +2542,7 @@ declare const SharedSliceItemContentSchema: t.Type<{
|
|
|
2542
2542
|
alt?: string | null | undefined;
|
|
2543
2543
|
provider?: string | null | undefined;
|
|
2544
2544
|
}> | undefined;
|
|
2545
|
+
__TYPE__: "ImageContent";
|
|
2545
2546
|
} | {
|
|
2546
2547
|
__TYPE__: "IntegrationFieldsContent";
|
|
2547
2548
|
value: string;
|
|
@@ -2549,8 +2550,8 @@ declare const SharedSliceItemContentSchema: t.Type<{
|
|
|
2549
2550
|
__TYPE__: "LinkContent";
|
|
2550
2551
|
key: string;
|
|
2551
2552
|
value: {
|
|
2552
|
-
variant?: string | undefined;
|
|
2553
2553
|
text?: string | undefined;
|
|
2554
|
+
variant?: string | undefined;
|
|
2554
2555
|
} & LinkContentValue;
|
|
2555
2556
|
} | {
|
|
2556
2557
|
__TYPE__: "RepeatableContent";
|
|
@@ -2559,8 +2560,8 @@ declare const SharedSliceItemContentSchema: t.Type<{
|
|
|
2559
2560
|
__TYPE__: "LinkContent";
|
|
2560
2561
|
key: string;
|
|
2561
2562
|
value: {
|
|
2562
|
-
variant?: string | undefined;
|
|
2563
2563
|
text?: string | undefined;
|
|
2564
|
+
variant?: string | undefined;
|
|
2564
2565
|
} & LinkContentValue;
|
|
2565
2566
|
}[];
|
|
2566
2567
|
} | {
|
|
@@ -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
2923
|
key: string;
|
|
2901
|
-
} | {
|
|
2902
|
-
kind: "file";
|
|
2903
|
-
variant?: string | undefined;
|
|
2904
2924
|
text?: string | undefined;
|
|
2905
|
-
key: string;
|
|
2906
|
-
} | {
|
|
2907
|
-
kind: "media";
|
|
2908
2925
|
variant?: string | undefined;
|
|
2909
|
-
text?: string | undefined;
|
|
2910
|
-
key: string;
|
|
2911
|
-
} | {
|
|
2912
|
-
kind: "document";
|
|
2913
|
-
variant?: string | undefined;
|
|
2914
|
-
text?: string | undefined;
|
|
2915
|
-
key: string;
|
|
2916
|
-
} | {
|
|
2917
|
-
kind: "web";
|
|
2918
|
-
variant?: string | undefined;
|
|
2919
|
-
text?: string | undefined;
|
|
2920
|
-
key: string;
|
|
2921
|
-
} | {
|
|
2922
|
-
kind: "any";
|
|
2923
|
-
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
|
}[];
|
|
@@ -3055,8 +3055,6 @@ declare const LegacySliceLegacy: (ctx: LegacyContentCtx) => t.Type<{
|
|
|
3055
3055
|
} | {
|
|
3056
3056
|
embed_url: string;
|
|
3057
3057
|
type: string;
|
|
3058
|
-
__TYPE__: "EmbedContent";
|
|
3059
|
-
all: unknown;
|
|
3060
3058
|
version?: string | number | null | undefined;
|
|
3061
3059
|
title?: string | null | undefined;
|
|
3062
3060
|
author_name?: string | null | undefined;
|
|
@@ -3068,6 +3066,8 @@ declare const LegacySliceLegacy: (ctx: LegacyContentCtx) => t.Type<{
|
|
|
3068
3066
|
thumbnail_width?: number | null | undefined;
|
|
3069
3067
|
thumbnail_height?: number | null | undefined;
|
|
3070
3068
|
html?: string | null | undefined;
|
|
3069
|
+
__TYPE__: "EmbedContent";
|
|
3070
|
+
all: unknown;
|
|
3071
3071
|
} | {
|
|
3072
3072
|
position: {
|
|
3073
3073
|
lat: number;
|
|
@@ -3091,7 +3091,6 @@ declare const LegacySliceLegacy: (ctx: LegacyContentCtx) => t.Type<{
|
|
|
3091
3091
|
};
|
|
3092
3092
|
background: string;
|
|
3093
3093
|
};
|
|
3094
|
-
__TYPE__: "ImageContent";
|
|
3095
3094
|
url?: string | undefined;
|
|
3096
3095
|
credits?: string | null | undefined;
|
|
3097
3096
|
alt?: string | null | undefined;
|
|
@@ -3118,6 +3117,7 @@ declare const LegacySliceLegacy: (ctx: LegacyContentCtx) => t.Type<{
|
|
|
3118
3117
|
alt?: string | null | undefined;
|
|
3119
3118
|
provider?: string | null | undefined;
|
|
3120
3119
|
}> | undefined;
|
|
3120
|
+
__TYPE__: "ImageContent";
|
|
3121
3121
|
} | {
|
|
3122
3122
|
__TYPE__: "IntegrationFieldsContent";
|
|
3123
3123
|
value: string;
|
|
@@ -3125,8 +3125,8 @@ declare const LegacySliceLegacy: (ctx: LegacyContentCtx) => t.Type<{
|
|
|
3125
3125
|
__TYPE__: "LinkContent";
|
|
3126
3126
|
key: string;
|
|
3127
3127
|
value: {
|
|
3128
|
-
variant?: string | undefined;
|
|
3129
3128
|
text?: string | undefined;
|
|
3129
|
+
variant?: string | undefined;
|
|
3130
3130
|
} & LinkContentValue;
|
|
3131
3131
|
} | {
|
|
3132
3132
|
__TYPE__: "RepeatableContent";
|
|
@@ -3135,8 +3135,8 @@ declare const LegacySliceLegacy: (ctx: LegacyContentCtx) => t.Type<{
|
|
|
3135
3135
|
__TYPE__: "LinkContent";
|
|
3136
3136
|
key: string;
|
|
3137
3137
|
value: {
|
|
3138
|
-
variant?: string | undefined;
|
|
3139
3138
|
text?: string | undefined;
|
|
3139
|
+
variant?: string | undefined;
|
|
3140
3140
|
} & LinkContentValue;
|
|
3141
3141
|
}[];
|
|
3142
3142
|
} | {
|
|
@@ -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[];
|
|
@@ -3206,8 +3206,6 @@ declare const CompositeSliceLegacy: (ctx: LegacyContentCtx) => t.Type<{
|
|
|
3206
3206
|
} | {
|
|
3207
3207
|
embed_url: string;
|
|
3208
3208
|
type: string;
|
|
3209
|
-
__TYPE__: "EmbedContent";
|
|
3210
|
-
all: unknown;
|
|
3211
3209
|
version?: string | number | null | undefined;
|
|
3212
3210
|
title?: string | null | undefined;
|
|
3213
3211
|
author_name?: string | null | undefined;
|
|
@@ -3219,6 +3217,8 @@ declare const CompositeSliceLegacy: (ctx: LegacyContentCtx) => t.Type<{
|
|
|
3219
3217
|
thumbnail_width?: number | null | undefined;
|
|
3220
3218
|
thumbnail_height?: number | null | undefined;
|
|
3221
3219
|
html?: string | null | undefined;
|
|
3220
|
+
__TYPE__: "EmbedContent";
|
|
3221
|
+
all: unknown;
|
|
3222
3222
|
} | {
|
|
3223
3223
|
position: {
|
|
3224
3224
|
lat: number;
|
|
@@ -3242,7 +3242,6 @@ declare const CompositeSliceLegacy: (ctx: LegacyContentCtx) => t.Type<{
|
|
|
3242
3242
|
};
|
|
3243
3243
|
background: string;
|
|
3244
3244
|
};
|
|
3245
|
-
__TYPE__: "ImageContent";
|
|
3246
3245
|
url?: string | undefined;
|
|
3247
3246
|
credits?: string | null | undefined;
|
|
3248
3247
|
alt?: string | null | undefined;
|
|
@@ -3269,6 +3268,7 @@ declare const CompositeSliceLegacy: (ctx: LegacyContentCtx) => t.Type<{
|
|
|
3269
3268
|
alt?: string | null | undefined;
|
|
3270
3269
|
provider?: string | null | undefined;
|
|
3271
3270
|
}> | undefined;
|
|
3271
|
+
__TYPE__: "ImageContent";
|
|
3272
3272
|
} | {
|
|
3273
3273
|
__TYPE__: "IntegrationFieldsContent";
|
|
3274
3274
|
value: string;
|
|
@@ -3276,8 +3276,8 @@ declare const CompositeSliceLegacy: (ctx: LegacyContentCtx) => t.Type<{
|
|
|
3276
3276
|
__TYPE__: "LinkContent";
|
|
3277
3277
|
key: string;
|
|
3278
3278
|
value: {
|
|
3279
|
-
variant?: string | undefined;
|
|
3280
3279
|
text?: string | undefined;
|
|
3280
|
+
variant?: string | undefined;
|
|
3281
3281
|
} & LinkContentValue;
|
|
3282
3282
|
} | {
|
|
3283
3283
|
__TYPE__: "RepeatableContent";
|
|
@@ -3286,8 +3286,8 @@ declare const CompositeSliceLegacy: (ctx: LegacyContentCtx) => t.Type<{
|
|
|
3286
3286
|
__TYPE__: "LinkContent";
|
|
3287
3287
|
key: string;
|
|
3288
3288
|
value: {
|
|
3289
|
-
variant?: string | undefined;
|
|
3290
3289
|
text?: string | undefined;
|
|
3290
|
+
variant?: string | undefined;
|
|
3291
3291
|
} & LinkContentValue;
|
|
3292
3292
|
}[];
|
|
3293
3293
|
} | {
|
|
@@ -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[];
|
|
@@ -3360,8 +3360,6 @@ declare const SharedSliceLegacy: (ctx: LegacyContentCtx) => t.Type<{
|
|
|
3360
3360
|
} | {
|
|
3361
3361
|
embed_url: string;
|
|
3362
3362
|
type: string;
|
|
3363
|
-
__TYPE__: "EmbedContent";
|
|
3364
|
-
all: unknown;
|
|
3365
3363
|
version?: string | number | null | undefined;
|
|
3366
3364
|
title?: string | null | undefined;
|
|
3367
3365
|
author_name?: string | null | undefined;
|
|
@@ -3373,6 +3371,8 @@ declare const SharedSliceLegacy: (ctx: LegacyContentCtx) => t.Type<{
|
|
|
3373
3371
|
thumbnail_width?: number | null | undefined;
|
|
3374
3372
|
thumbnail_height?: number | null | undefined;
|
|
3375
3373
|
html?: string | null | undefined;
|
|
3374
|
+
__TYPE__: "EmbedContent";
|
|
3375
|
+
all: unknown;
|
|
3376
3376
|
} | {
|
|
3377
3377
|
position: {
|
|
3378
3378
|
lat: number;
|
|
@@ -3396,7 +3396,6 @@ declare const SharedSliceLegacy: (ctx: LegacyContentCtx) => t.Type<{
|
|
|
3396
3396
|
};
|
|
3397
3397
|
background: string;
|
|
3398
3398
|
};
|
|
3399
|
-
__TYPE__: "ImageContent";
|
|
3400
3399
|
url?: string | undefined;
|
|
3401
3400
|
credits?: string | null | undefined;
|
|
3402
3401
|
alt?: string | null | undefined;
|
|
@@ -3423,6 +3422,7 @@ declare const SharedSliceLegacy: (ctx: LegacyContentCtx) => t.Type<{
|
|
|
3423
3422
|
alt?: string | null | undefined;
|
|
3424
3423
|
provider?: string | null | undefined;
|
|
3425
3424
|
}> | undefined;
|
|
3425
|
+
__TYPE__: "ImageContent";
|
|
3426
3426
|
} | {
|
|
3427
3427
|
__TYPE__: "IntegrationFieldsContent";
|
|
3428
3428
|
value: string;
|
|
@@ -3430,8 +3430,8 @@ declare const SharedSliceLegacy: (ctx: LegacyContentCtx) => t.Type<{
|
|
|
3430
3430
|
__TYPE__: "LinkContent";
|
|
3431
3431
|
key: string;
|
|
3432
3432
|
value: {
|
|
3433
|
-
variant?: string | undefined;
|
|
3434
3433
|
text?: string | undefined;
|
|
3434
|
+
variant?: string | undefined;
|
|
3435
3435
|
} & LinkContentValue;
|
|
3436
3436
|
} | {
|
|
3437
3437
|
__TYPE__: "RepeatableContent";
|
|
@@ -3440,8 +3440,8 @@ declare const SharedSliceLegacy: (ctx: LegacyContentCtx) => t.Type<{
|
|
|
3440
3440
|
__TYPE__: "LinkContent";
|
|
3441
3441
|
key: string;
|
|
3442
3442
|
value: {
|
|
3443
|
-
variant?: string | undefined;
|
|
3444
3443
|
text?: string | undefined;
|
|
3444
|
+
variant?: string | undefined;
|
|
3445
3445
|
} & LinkContentValue;
|
|
3446
3446
|
}[];
|
|
3447
3447
|
} | {
|
|
@@ -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 | {
|
|
@@ -3734,6 +3734,55 @@ declare const LinkModelSchema: t.Type<{
|
|
|
3734
3734
|
variants?: string[] | undefined;
|
|
3735
3735
|
} | undefined;
|
|
3736
3736
|
}, unknown>;
|
|
3737
|
+
declare const CustomTypesModelSchema: t.Type<(string | {
|
|
3738
|
+
id: string;
|
|
3739
|
+
fields: (string | {
|
|
3740
|
+
id: string;
|
|
3741
|
+
customtypes: (string | {
|
|
3742
|
+
id: string;
|
|
3743
|
+
fields: (string | {
|
|
3744
|
+
id: string;
|
|
3745
|
+
fields: string[];
|
|
3746
|
+
})[];
|
|
3747
|
+
})[];
|
|
3748
|
+
} | {
|
|
3749
|
+
id: string;
|
|
3750
|
+
fields: (string | {
|
|
3751
|
+
id: string;
|
|
3752
|
+
customtypes: (string | {
|
|
3753
|
+
id: string;
|
|
3754
|
+
fields: (string | {
|
|
3755
|
+
id: string;
|
|
3756
|
+
fields: string[];
|
|
3757
|
+
})[];
|
|
3758
|
+
})[];
|
|
3759
|
+
})[];
|
|
3760
|
+
})[];
|
|
3761
|
+
})[], (string | {
|
|
3762
|
+
id: string;
|
|
3763
|
+
fields: (string | {
|
|
3764
|
+
id: string;
|
|
3765
|
+
customtypes: (string | {
|
|
3766
|
+
id: string;
|
|
3767
|
+
fields: (string | {
|
|
3768
|
+
id: string;
|
|
3769
|
+
fields: string[];
|
|
3770
|
+
})[];
|
|
3771
|
+
})[];
|
|
3772
|
+
} | {
|
|
3773
|
+
id: string;
|
|
3774
|
+
fields: (string | {
|
|
3775
|
+
id: string;
|
|
3776
|
+
customtypes: (string | {
|
|
3777
|
+
id: string;
|
|
3778
|
+
fields: (string | {
|
|
3779
|
+
id: string;
|
|
3780
|
+
fields: string[];
|
|
3781
|
+
})[];
|
|
3782
|
+
})[];
|
|
3783
|
+
})[];
|
|
3784
|
+
})[];
|
|
3785
|
+
})[], unknown>;
|
|
3737
3786
|
declare const NestableModelSchema: t.Type<{
|
|
3738
3787
|
type: "Boolean";
|
|
3739
3788
|
config?: {
|
|
@@ -3802,7 +3851,7 @@ declare const NestableModelSchema: t.Type<{
|
|
|
3802
3851
|
label?: string | null | undefined;
|
|
3803
3852
|
useAsTitle?: boolean | undefined;
|
|
3804
3853
|
placeholder?: string | undefined;
|
|
3805
|
-
select?: "
|
|
3854
|
+
select?: "document" | "media" | "web" | null | undefined;
|
|
3806
3855
|
customtypes?: (string | {
|
|
3807
3856
|
id: string;
|
|
3808
3857
|
fields: (string | {
|
|
@@ -3974,7 +4023,7 @@ declare const NestableModelSchema: t.Type<{
|
|
|
3974
4023
|
label?: string | null | undefined;
|
|
3975
4024
|
useAsTitle?: boolean | undefined;
|
|
3976
4025
|
placeholder?: string | undefined;
|
|
3977
|
-
select?: "
|
|
4026
|
+
select?: "document" | "media" | "web" | null | undefined;
|
|
3978
4027
|
customtypes?: (string | {
|
|
3979
4028
|
id: string;
|
|
3980
4029
|
fields: (string | {
|
|
@@ -4196,7 +4245,7 @@ declare const SharedSliceModelSchema: t.Type<{
|
|
|
4196
4245
|
docURL: string;
|
|
4197
4246
|
version: string;
|
|
4198
4247
|
display?: string | undefined;
|
|
4199
|
-
primary?: Record<string,
|
|
4248
|
+
primary?: Record<string, {
|
|
4200
4249
|
type: "Group";
|
|
4201
4250
|
fieldset?: string | null | undefined;
|
|
4202
4251
|
icon?: string | undefined;
|
|
@@ -4204,7 +4253,7 @@ declare const SharedSliceModelSchema: t.Type<{
|
|
|
4204
4253
|
config?: {
|
|
4205
4254
|
label?: string | null | undefined;
|
|
4206
4255
|
repeat?: boolean | undefined;
|
|
4207
|
-
fields?: Record<string,
|
|
4256
|
+
fields?: Record<string, {
|
|
4208
4257
|
type: "Group";
|
|
4209
4258
|
fieldset?: string | null | undefined;
|
|
4210
4259
|
icon?: string | undefined;
|
|
@@ -4280,20 +4329,23 @@ declare const SharedSliceModelSchema: t.Type<{
|
|
|
4280
4329
|
label?: string | null | undefined;
|
|
4281
4330
|
useAsTitle?: boolean | undefined;
|
|
4282
4331
|
placeholder?: string | undefined;
|
|
4283
|
-
select?: "
|
|
4332
|
+
select?: "document" | "media" | "web" | null | undefined;
|
|
4284
4333
|
customtypes?: (string | {
|
|
4285
4334
|
id: string;
|
|
4286
4335
|
fields: (string | {
|
|
4287
4336
|
id: string;
|
|
4288
4337
|
customtypes: (string | {
|
|
4289
4338
|
id: string;
|
|
4290
|
-
fields: (string | /*elided*/any)[];
|
|
4339
|
+
fields: (string | /*elided*/ any)[];
|
|
4291
4340
|
})[];
|
|
4292
4341
|
} | {
|
|
4293
4342
|
id: string;
|
|
4294
4343
|
fields: (string | {
|
|
4295
4344
|
id: string;
|
|
4296
|
-
customtypes: (string |
|
|
4345
|
+
customtypes: (string | {
|
|
4346
|
+
id: string;
|
|
4347
|
+
fields: (string | any)[];
|
|
4348
|
+
})[];
|
|
4297
4349
|
})[];
|
|
4298
4350
|
})[];
|
|
4299
4351
|
})[] | undefined;
|
|
@@ -4377,9 +4429,9 @@ declare const SharedSliceModelSchema: t.Type<{
|
|
|
4377
4429
|
} | undefined;
|
|
4378
4430
|
}> | undefined;
|
|
4379
4431
|
} | undefined;
|
|
4380
|
-
}> | undefined;
|
|
4432
|
+
} | NestableModel> | undefined;
|
|
4381
4433
|
} | undefined;
|
|
4382
|
-
}> | undefined;
|
|
4434
|
+
} | NestableModel> | undefined;
|
|
4383
4435
|
items?: Record<string, {
|
|
4384
4436
|
type: "Boolean";
|
|
4385
4437
|
config?: {
|
|
@@ -4448,17 +4500,14 @@ declare const SharedSliceModelSchema: t.Type<{
|
|
|
4448
4500
|
label?: string | null | undefined;
|
|
4449
4501
|
useAsTitle?: boolean | undefined;
|
|
4450
4502
|
placeholder?: string | undefined;
|
|
4451
|
-
select?: "
|
|
4503
|
+
select?: "document" | "media" | "web" | null | undefined;
|
|
4452
4504
|
customtypes?: (string | {
|
|
4453
4505
|
id: string;
|
|
4454
4506
|
fields: (string | {
|
|
4455
4507
|
id: string;
|
|
4456
4508
|
customtypes: (string | {
|
|
4457
4509
|
id: string;
|
|
4458
|
-
fields: (string |
|
|
4459
|
-
id: string;
|
|
4460
|
-
fields: string[];
|
|
4461
|
-
})[];
|
|
4510
|
+
fields: (string | any)[];
|
|
4462
4511
|
})[];
|
|
4463
4512
|
} | {
|
|
4464
4513
|
id: string;
|
|
@@ -4466,10 +4515,7 @@ declare const SharedSliceModelSchema: t.Type<{
|
|
|
4466
4515
|
id: string;
|
|
4467
4516
|
customtypes: (string | {
|
|
4468
4517
|
id: string;
|
|
4469
|
-
fields: (string |
|
|
4470
|
-
id: string;
|
|
4471
|
-
fields: string[];
|
|
4472
|
-
})[];
|
|
4518
|
+
fields: (string | any)[];
|
|
4473
4519
|
})[];
|
|
4474
4520
|
})[];
|
|
4475
4521
|
})[];
|
|
@@ -4558,7 +4604,6 @@ declare const SharedSliceModelSchema: t.Type<{
|
|
|
4558
4604
|
legacyPaths?: Record<string, string> | undefined;
|
|
4559
4605
|
schema?: undefined;
|
|
4560
4606
|
} | {
|
|
4561
|
-
schema: "@prismicio/types-internal@4.5.0";
|
|
4562
4607
|
id: string;
|
|
4563
4608
|
type: "SharedSlice";
|
|
4564
4609
|
name: string;
|
|
@@ -4570,7 +4615,7 @@ declare const SharedSliceModelSchema: t.Type<{
|
|
|
4570
4615
|
docURL: string;
|
|
4571
4616
|
version: string;
|
|
4572
4617
|
display?: string | undefined;
|
|
4573
|
-
primary?: Record<string,
|
|
4618
|
+
primary?: Record<string, {
|
|
4574
4619
|
type: "Group";
|
|
4575
4620
|
fieldset?: string | null | undefined;
|
|
4576
4621
|
icon?: string | undefined;
|
|
@@ -4578,7 +4623,7 @@ declare const SharedSliceModelSchema: t.Type<{
|
|
|
4578
4623
|
config?: {
|
|
4579
4624
|
label?: string | null | undefined;
|
|
4580
4625
|
repeat?: boolean | undefined;
|
|
4581
|
-
fields?: Record<string,
|
|
4626
|
+
fields?: Record<string, {
|
|
4582
4627
|
type: "Group";
|
|
4583
4628
|
fieldset?: string | null | undefined;
|
|
4584
4629
|
icon?: string | undefined;
|
|
@@ -4654,20 +4699,23 @@ declare const SharedSliceModelSchema: t.Type<{
|
|
|
4654
4699
|
label?: string | null | undefined;
|
|
4655
4700
|
useAsTitle?: boolean | undefined;
|
|
4656
4701
|
placeholder?: string | undefined;
|
|
4657
|
-
select?: "
|
|
4702
|
+
select?: "document" | "media" | "web" | null | undefined;
|
|
4658
4703
|
customtypes?: (string | {
|
|
4659
4704
|
id: string;
|
|
4660
4705
|
fields: (string | {
|
|
4661
4706
|
id: string;
|
|
4662
4707
|
customtypes: (string | {
|
|
4663
4708
|
id: string;
|
|
4664
|
-
fields: (string |
|
|
4709
|
+
fields: (string | any)[];
|
|
4665
4710
|
})[];
|
|
4666
4711
|
} | {
|
|
4667
4712
|
id: string;
|
|
4668
4713
|
fields: (string | {
|
|
4669
4714
|
id: string;
|
|
4670
|
-
customtypes: (string |
|
|
4715
|
+
customtypes: (string | {
|
|
4716
|
+
id: string;
|
|
4717
|
+
fields: (string | any)[];
|
|
4718
|
+
})[];
|
|
4671
4719
|
})[];
|
|
4672
4720
|
})[];
|
|
4673
4721
|
})[] | undefined;
|
|
@@ -4751,9 +4799,9 @@ declare const SharedSliceModelSchema: t.Type<{
|
|
|
4751
4799
|
} | undefined;
|
|
4752
4800
|
}> | undefined;
|
|
4753
4801
|
} | undefined;
|
|
4754
|
-
}> | undefined;
|
|
4802
|
+
} | NestableModel> | undefined;
|
|
4755
4803
|
} | undefined;
|
|
4756
|
-
}> | undefined;
|
|
4804
|
+
} | NestableModel> | undefined;
|
|
4757
4805
|
items?: Record<string, {
|
|
4758
4806
|
type: "Boolean";
|
|
4759
4807
|
config?: {
|
|
@@ -4822,17 +4870,14 @@ declare const SharedSliceModelSchema: t.Type<{
|
|
|
4822
4870
|
label?: string | null | undefined;
|
|
4823
4871
|
useAsTitle?: boolean | undefined;
|
|
4824
4872
|
placeholder?: string | undefined;
|
|
4825
|
-
select?: "
|
|
4873
|
+
select?: "document" | "media" | "web" | null | undefined;
|
|
4826
4874
|
customtypes?: (string | {
|
|
4827
4875
|
id: string;
|
|
4828
4876
|
fields: (string | {
|
|
4829
4877
|
id: string;
|
|
4830
4878
|
customtypes: (string | {
|
|
4831
4879
|
id: string;
|
|
4832
|
-
fields: (string |
|
|
4833
|
-
id: string;
|
|
4834
|
-
fields: string[];
|
|
4835
|
-
})[];
|
|
4880
|
+
fields: (string | any)[];
|
|
4836
4881
|
})[];
|
|
4837
4882
|
} | {
|
|
4838
4883
|
id: string;
|
|
@@ -4840,10 +4885,7 @@ declare const SharedSliceModelSchema: t.Type<{
|
|
|
4840
4885
|
id: string;
|
|
4841
4886
|
customtypes: (string | {
|
|
4842
4887
|
id: string;
|
|
4843
|
-
fields: (string |
|
|
4844
|
-
id: string;
|
|
4845
|
-
fields: string[];
|
|
4846
|
-
})[];
|
|
4888
|
+
fields: (string | any)[];
|
|
4847
4889
|
})[];
|
|
4848
4890
|
})[];
|
|
4849
4891
|
})[];
|
|
@@ -4930,6 +4972,7 @@ declare const SharedSliceModelSchema: t.Type<{
|
|
|
4930
4972
|
}[];
|
|
4931
4973
|
description?: string | undefined;
|
|
4932
4974
|
legacyPaths?: Record<string, string> | undefined;
|
|
4975
|
+
schema: "@prismicio/types-internal@4.5.0";
|
|
4933
4976
|
}, {
|
|
4934
4977
|
id: string;
|
|
4935
4978
|
type: "SharedSlice";
|
|
@@ -4942,7 +4985,7 @@ declare const SharedSliceModelSchema: t.Type<{
|
|
|
4942
4985
|
docURL: string;
|
|
4943
4986
|
version: string;
|
|
4944
4987
|
display?: string | undefined;
|
|
4945
|
-
primary?: Record<string,
|
|
4988
|
+
primary?: Record<string, {
|
|
4946
4989
|
type: "Group";
|
|
4947
4990
|
fieldset?: string | null | undefined;
|
|
4948
4991
|
icon?: string | undefined;
|
|
@@ -4950,7 +4993,7 @@ declare const SharedSliceModelSchema: t.Type<{
|
|
|
4950
4993
|
config?: {
|
|
4951
4994
|
label?: string | null | undefined;
|
|
4952
4995
|
repeat?: boolean | undefined;
|
|
4953
|
-
fields?: Record<string,
|
|
4996
|
+
fields?: Record<string, {
|
|
4954
4997
|
type: "Group";
|
|
4955
4998
|
fieldset?: string | null | undefined;
|
|
4956
4999
|
icon?: string | undefined;
|
|
@@ -5026,20 +5069,23 @@ declare const SharedSliceModelSchema: t.Type<{
|
|
|
5026
5069
|
label?: string | null | undefined;
|
|
5027
5070
|
useAsTitle?: boolean | undefined;
|
|
5028
5071
|
placeholder?: string | undefined;
|
|
5029
|
-
select?: "
|
|
5072
|
+
select?: "document" | "media" | "web" | null | undefined;
|
|
5030
5073
|
customtypes?: (string | {
|
|
5031
5074
|
id: string;
|
|
5032
5075
|
fields: (string | {
|
|
5033
5076
|
id: string;
|
|
5034
5077
|
customtypes: (string | {
|
|
5035
5078
|
id: string;
|
|
5036
|
-
fields: (string |
|
|
5079
|
+
fields: (string | any)[];
|
|
5037
5080
|
})[];
|
|
5038
5081
|
} | {
|
|
5039
5082
|
id: string;
|
|
5040
5083
|
fields: (string | {
|
|
5041
5084
|
id: string;
|
|
5042
|
-
customtypes: (string |
|
|
5085
|
+
customtypes: (string | {
|
|
5086
|
+
id: string;
|
|
5087
|
+
fields: (string | any)[];
|
|
5088
|
+
})[];
|
|
5043
5089
|
})[];
|
|
5044
5090
|
})[];
|
|
5045
5091
|
})[] | undefined;
|
|
@@ -5123,9 +5169,9 @@ declare const SharedSliceModelSchema: t.Type<{
|
|
|
5123
5169
|
} | undefined;
|
|
5124
5170
|
}> | undefined;
|
|
5125
5171
|
} | undefined;
|
|
5126
|
-
}> | undefined;
|
|
5172
|
+
} | NestableModel> | undefined;
|
|
5127
5173
|
} | undefined;
|
|
5128
|
-
}> | undefined;
|
|
5174
|
+
} | NestableModel> | undefined;
|
|
5129
5175
|
items?: Record<string, {
|
|
5130
5176
|
type: "Boolean";
|
|
5131
5177
|
config?: {
|
|
@@ -5194,17 +5240,14 @@ declare const SharedSliceModelSchema: t.Type<{
|
|
|
5194
5240
|
label?: string | null | undefined;
|
|
5195
5241
|
useAsTitle?: boolean | undefined;
|
|
5196
5242
|
placeholder?: string | undefined;
|
|
5197
|
-
select?: "
|
|
5243
|
+
select?: "document" | "media" | "web" | null | undefined;
|
|
5198
5244
|
customtypes?: (string | {
|
|
5199
5245
|
id: string;
|
|
5200
5246
|
fields: (string | {
|
|
5201
5247
|
id: string;
|
|
5202
5248
|
customtypes: (string | {
|
|
5203
5249
|
id: string;
|
|
5204
|
-
fields: (string |
|
|
5205
|
-
id: string;
|
|
5206
|
-
fields: string[];
|
|
5207
|
-
})[];
|
|
5250
|
+
fields: (string | any)[];
|
|
5208
5251
|
})[];
|
|
5209
5252
|
} | {
|
|
5210
5253
|
id: string;
|
|
@@ -5212,10 +5255,7 @@ declare const SharedSliceModelSchema: t.Type<{
|
|
|
5212
5255
|
id: string;
|
|
5213
5256
|
customtypes: (string | {
|
|
5214
5257
|
id: string;
|
|
5215
|
-
fields: (string |
|
|
5216
|
-
id: string;
|
|
5217
|
-
fields: string[];
|
|
5218
|
-
})[];
|
|
5258
|
+
fields: (string | any)[];
|
|
5219
5259
|
})[];
|
|
5220
5260
|
})[];
|
|
5221
5261
|
})[];
|
|
@@ -5304,7 +5344,6 @@ declare const SharedSliceModelSchema: t.Type<{
|
|
|
5304
5344
|
legacyPaths?: Record<string, string> | undefined;
|
|
5305
5345
|
schema?: undefined;
|
|
5306
5346
|
} | {
|
|
5307
|
-
schema: "@prismicio/types-internal@4.5.0";
|
|
5308
5347
|
id: string;
|
|
5309
5348
|
type: "SharedSlice";
|
|
5310
5349
|
name: string;
|
|
@@ -5316,7 +5355,7 @@ declare const SharedSliceModelSchema: t.Type<{
|
|
|
5316
5355
|
docURL: string;
|
|
5317
5356
|
version: string;
|
|
5318
5357
|
display?: string | undefined;
|
|
5319
|
-
primary?: Record<string,
|
|
5358
|
+
primary?: Record<string, {
|
|
5320
5359
|
type: "Group";
|
|
5321
5360
|
fieldset?: string | null | undefined;
|
|
5322
5361
|
icon?: string | undefined;
|
|
@@ -5324,7 +5363,7 @@ declare const SharedSliceModelSchema: t.Type<{
|
|
|
5324
5363
|
config?: {
|
|
5325
5364
|
label?: string | null | undefined;
|
|
5326
5365
|
repeat?: boolean | undefined;
|
|
5327
|
-
fields?: Record<string,
|
|
5366
|
+
fields?: Record<string, {
|
|
5328
5367
|
type: "Group";
|
|
5329
5368
|
fieldset?: string | null | undefined;
|
|
5330
5369
|
icon?: string | undefined;
|
|
@@ -5400,20 +5439,23 @@ declare const SharedSliceModelSchema: t.Type<{
|
|
|
5400
5439
|
label?: string | null | undefined;
|
|
5401
5440
|
useAsTitle?: boolean | undefined;
|
|
5402
5441
|
placeholder?: string | undefined;
|
|
5403
|
-
select?: "
|
|
5442
|
+
select?: "document" | "media" | "web" | null | undefined;
|
|
5404
5443
|
customtypes?: (string | {
|
|
5405
5444
|
id: string;
|
|
5406
5445
|
fields: (string | {
|
|
5407
5446
|
id: string;
|
|
5408
5447
|
customtypes: (string | {
|
|
5409
5448
|
id: string;
|
|
5410
|
-
fields: (string |
|
|
5449
|
+
fields: (string | any)[];
|
|
5411
5450
|
})[];
|
|
5412
5451
|
} | {
|
|
5413
5452
|
id: string;
|
|
5414
5453
|
fields: (string | {
|
|
5415
5454
|
id: string;
|
|
5416
|
-
customtypes: (string |
|
|
5455
|
+
customtypes: (string | {
|
|
5456
|
+
id: string;
|
|
5457
|
+
fields: (string | any)[];
|
|
5458
|
+
})[];
|
|
5417
5459
|
})[];
|
|
5418
5460
|
})[];
|
|
5419
5461
|
})[] | undefined;
|
|
@@ -5497,9 +5539,9 @@ declare const SharedSliceModelSchema: t.Type<{
|
|
|
5497
5539
|
} | undefined;
|
|
5498
5540
|
}> | undefined;
|
|
5499
5541
|
} | undefined;
|
|
5500
|
-
}> | undefined;
|
|
5542
|
+
} | NestableModel> | undefined;
|
|
5501
5543
|
} | undefined;
|
|
5502
|
-
}> | undefined;
|
|
5544
|
+
} | NestableModel> | undefined;
|
|
5503
5545
|
items?: Record<string, {
|
|
5504
5546
|
type: "Boolean";
|
|
5505
5547
|
config?: {
|
|
@@ -5568,17 +5610,14 @@ declare const SharedSliceModelSchema: t.Type<{
|
|
|
5568
5610
|
label?: string | null | undefined;
|
|
5569
5611
|
useAsTitle?: boolean | undefined;
|
|
5570
5612
|
placeholder?: string | undefined;
|
|
5571
|
-
select?: "
|
|
5613
|
+
select?: "document" | "media" | "web" | null | undefined;
|
|
5572
5614
|
customtypes?: (string | {
|
|
5573
5615
|
id: string;
|
|
5574
5616
|
fields: (string | {
|
|
5575
5617
|
id: string;
|
|
5576
5618
|
customtypes: (string | {
|
|
5577
5619
|
id: string;
|
|
5578
|
-
fields: (string |
|
|
5579
|
-
id: string;
|
|
5580
|
-
fields: string[];
|
|
5581
|
-
})[];
|
|
5620
|
+
fields: (string | any)[];
|
|
5582
5621
|
})[];
|
|
5583
5622
|
} | {
|
|
5584
5623
|
id: string;
|
|
@@ -5586,10 +5625,7 @@ declare const SharedSliceModelSchema: t.Type<{
|
|
|
5586
5625
|
id: string;
|
|
5587
5626
|
customtypes: (string | {
|
|
5588
5627
|
id: string;
|
|
5589
|
-
fields: (string |
|
|
5590
|
-
id: string;
|
|
5591
|
-
fields: string[];
|
|
5592
|
-
})[];
|
|
5628
|
+
fields: (string | any)[];
|
|
5593
5629
|
})[];
|
|
5594
5630
|
})[];
|
|
5595
5631
|
})[];
|
|
@@ -5676,6 +5712,7 @@ declare const SharedSliceModelSchema: t.Type<{
|
|
|
5676
5712
|
}[];
|
|
5677
5713
|
description?: string | undefined;
|
|
5678
5714
|
legacyPaths?: Record<string, string> | undefined;
|
|
5715
|
+
schema: "@prismicio/types-internal@4.5.0";
|
|
5679
5716
|
}, unknown>;
|
|
5680
5717
|
declare const TableModelSchema: t.Type<{
|
|
5681
5718
|
type: "Table";
|
|
@@ -5747,7 +5784,7 @@ declare const GroupModelSchema: t.Type<{
|
|
|
5747
5784
|
config?: {
|
|
5748
5785
|
label?: string | null | undefined;
|
|
5749
5786
|
repeat?: boolean | undefined;
|
|
5750
|
-
fields?: Record<string,
|
|
5787
|
+
fields?: Record<string, {
|
|
5751
5788
|
type: "Group";
|
|
5752
5789
|
fieldset?: string | null | undefined;
|
|
5753
5790
|
icon?: string | undefined;
|
|
@@ -5823,7 +5860,7 @@ declare const GroupModelSchema: t.Type<{
|
|
|
5823
5860
|
label?: string | null | undefined;
|
|
5824
5861
|
useAsTitle?: boolean | undefined;
|
|
5825
5862
|
placeholder?: string | undefined;
|
|
5826
|
-
select?: "
|
|
5863
|
+
select?: "document" | "media" | "web" | null | undefined;
|
|
5827
5864
|
customtypes?: (string | {
|
|
5828
5865
|
id: string;
|
|
5829
5866
|
fields: (string | {
|
|
@@ -5929,7 +5966,7 @@ declare const GroupModelSchema: t.Type<{
|
|
|
5929
5966
|
} | undefined;
|
|
5930
5967
|
}> | undefined;
|
|
5931
5968
|
} | undefined;
|
|
5932
|
-
}> | undefined;
|
|
5969
|
+
} | NestableModel> | undefined;
|
|
5933
5970
|
} | undefined;
|
|
5934
5971
|
}, {
|
|
5935
5972
|
type: "Group";
|
|
@@ -5939,7 +5976,7 @@ declare const GroupModelSchema: t.Type<{
|
|
|
5939
5976
|
config?: {
|
|
5940
5977
|
label?: string | null | undefined;
|
|
5941
5978
|
repeat?: boolean | undefined;
|
|
5942
|
-
fields?: Record<string,
|
|
5979
|
+
fields?: Record<string, {
|
|
5943
5980
|
type: "Group";
|
|
5944
5981
|
fieldset?: string | null | undefined;
|
|
5945
5982
|
icon?: string | undefined;
|
|
@@ -6015,7 +6052,7 @@ declare const GroupModelSchema: t.Type<{
|
|
|
6015
6052
|
label?: string | null | undefined;
|
|
6016
6053
|
useAsTitle?: boolean | undefined;
|
|
6017
6054
|
placeholder?: string | undefined;
|
|
6018
|
-
select?: "
|
|
6055
|
+
select?: "document" | "media" | "web" | null | undefined;
|
|
6019
6056
|
customtypes?: (string | {
|
|
6020
6057
|
id: string;
|
|
6021
6058
|
fields: (string | {
|
|
@@ -6121,7 +6158,7 @@ declare const GroupModelSchema: t.Type<{
|
|
|
6121
6158
|
} | undefined;
|
|
6122
6159
|
}> | undefined;
|
|
6123
6160
|
} | undefined;
|
|
6124
|
-
}> | undefined;
|
|
6161
|
+
} | NestableModel> | undefined;
|
|
6125
6162
|
} | undefined;
|
|
6126
6163
|
}, unknown>;
|
|
6127
6164
|
declare const NestedGroupModelSchema: t.Type<{
|
|
@@ -6200,7 +6237,7 @@ declare const NestedGroupModelSchema: t.Type<{
|
|
|
6200
6237
|
label?: string | null | undefined;
|
|
6201
6238
|
useAsTitle?: boolean | undefined;
|
|
6202
6239
|
placeholder?: string | undefined;
|
|
6203
|
-
select?: "
|
|
6240
|
+
select?: "document" | "media" | "web" | null | undefined;
|
|
6204
6241
|
customtypes?: (string | {
|
|
6205
6242
|
id: string;
|
|
6206
6243
|
fields: (string | {
|
|
@@ -6382,7 +6419,7 @@ declare const NestedGroupModelSchema: t.Type<{
|
|
|
6382
6419
|
label?: string | null | undefined;
|
|
6383
6420
|
useAsTitle?: boolean | undefined;
|
|
6384
6421
|
placeholder?: string | undefined;
|
|
6385
|
-
select?: "
|
|
6422
|
+
select?: "document" | "media" | "web" | null | undefined;
|
|
6386
6423
|
customtypes?: (string | {
|
|
6387
6424
|
id: string;
|
|
6388
6425
|
fields: (string | {
|
|
@@ -6497,7 +6534,7 @@ declare const SharedSliceModelVariationSchema: t.Type<{
|
|
|
6497
6534
|
docURL: string;
|
|
6498
6535
|
version: string;
|
|
6499
6536
|
display?: string | undefined;
|
|
6500
|
-
primary?: Record<string,
|
|
6537
|
+
primary?: Record<string, {
|
|
6501
6538
|
type: "Group";
|
|
6502
6539
|
fieldset?: string | null | undefined;
|
|
6503
6540
|
icon?: string | undefined;
|
|
@@ -6505,7 +6542,7 @@ declare const SharedSliceModelVariationSchema: t.Type<{
|
|
|
6505
6542
|
config?: {
|
|
6506
6543
|
label?: string | null | undefined;
|
|
6507
6544
|
repeat?: boolean | undefined;
|
|
6508
|
-
fields?: Record<string,
|
|
6545
|
+
fields?: Record<string, {
|
|
6509
6546
|
type: "Group";
|
|
6510
6547
|
fieldset?: string | null | undefined;
|
|
6511
6548
|
icon?: string | undefined;
|
|
@@ -6581,7 +6618,7 @@ declare const SharedSliceModelVariationSchema: t.Type<{
|
|
|
6581
6618
|
label?: string | null | undefined;
|
|
6582
6619
|
useAsTitle?: boolean | undefined;
|
|
6583
6620
|
placeholder?: string | undefined;
|
|
6584
|
-
select?: "
|
|
6621
|
+
select?: "document" | "media" | "web" | null | undefined;
|
|
6585
6622
|
customtypes?: (string | {
|
|
6586
6623
|
id: string;
|
|
6587
6624
|
fields: (string | {
|
|
@@ -6599,7 +6636,10 @@ declare const SharedSliceModelVariationSchema: t.Type<{
|
|
|
6599
6636
|
id: string;
|
|
6600
6637
|
customtypes: (string | {
|
|
6601
6638
|
id: string;
|
|
6602
|
-
fields: (string |
|
|
6639
|
+
fields: (string | {
|
|
6640
|
+
id: string;
|
|
6641
|
+
fields: string[];
|
|
6642
|
+
})[];
|
|
6603
6643
|
})[];
|
|
6604
6644
|
})[];
|
|
6605
6645
|
})[];
|
|
@@ -6684,9 +6724,9 @@ declare const SharedSliceModelVariationSchema: t.Type<{
|
|
|
6684
6724
|
} | undefined;
|
|
6685
6725
|
}> | undefined;
|
|
6686
6726
|
} | undefined;
|
|
6687
|
-
}> | undefined;
|
|
6727
|
+
} | NestableModel> | undefined;
|
|
6688
6728
|
} | undefined;
|
|
6689
|
-
}> | undefined;
|
|
6729
|
+
} | NestableModel> | undefined;
|
|
6690
6730
|
items?: Record<string, {
|
|
6691
6731
|
type: "Boolean";
|
|
6692
6732
|
config?: {
|
|
@@ -6755,7 +6795,7 @@ declare const SharedSliceModelVariationSchema: t.Type<{
|
|
|
6755
6795
|
label?: string | null | undefined;
|
|
6756
6796
|
useAsTitle?: boolean | undefined;
|
|
6757
6797
|
placeholder?: string | undefined;
|
|
6758
|
-
select?: "
|
|
6798
|
+
select?: "document" | "media" | "web" | null | undefined;
|
|
6759
6799
|
customtypes?: (string | {
|
|
6760
6800
|
id: string;
|
|
6761
6801
|
fields: (string | {
|
|
@@ -6868,7 +6908,7 @@ declare const SharedSliceModelVariationSchema: t.Type<{
|
|
|
6868
6908
|
docURL: string;
|
|
6869
6909
|
version: string;
|
|
6870
6910
|
display?: string | undefined;
|
|
6871
|
-
primary?: Record<string,
|
|
6911
|
+
primary?: Record<string, {
|
|
6872
6912
|
type: "Group";
|
|
6873
6913
|
fieldset?: string | null | undefined;
|
|
6874
6914
|
icon?: string | undefined;
|
|
@@ -6876,7 +6916,7 @@ declare const SharedSliceModelVariationSchema: t.Type<{
|
|
|
6876
6916
|
config?: {
|
|
6877
6917
|
label?: string | null | undefined;
|
|
6878
6918
|
repeat?: boolean | undefined;
|
|
6879
|
-
fields?: Record<string,
|
|
6919
|
+
fields?: Record<string, {
|
|
6880
6920
|
type: "Group";
|
|
6881
6921
|
fieldset?: string | null | undefined;
|
|
6882
6922
|
icon?: string | undefined;
|
|
@@ -6952,7 +6992,7 @@ declare const SharedSliceModelVariationSchema: t.Type<{
|
|
|
6952
6992
|
label?: string | null | undefined;
|
|
6953
6993
|
useAsTitle?: boolean | undefined;
|
|
6954
6994
|
placeholder?: string | undefined;
|
|
6955
|
-
select?: "
|
|
6995
|
+
select?: "document" | "media" | "web" | null | undefined;
|
|
6956
6996
|
customtypes?: (string | {
|
|
6957
6997
|
id: string;
|
|
6958
6998
|
fields: (string | {
|
|
@@ -6970,7 +7010,10 @@ declare const SharedSliceModelVariationSchema: t.Type<{
|
|
|
6970
7010
|
id: string;
|
|
6971
7011
|
customtypes: (string | {
|
|
6972
7012
|
id: string;
|
|
6973
|
-
fields: (string |
|
|
7013
|
+
fields: (string | {
|
|
7014
|
+
id: string;
|
|
7015
|
+
fields: string[];
|
|
7016
|
+
})[];
|
|
6974
7017
|
})[];
|
|
6975
7018
|
})[];
|
|
6976
7019
|
})[];
|
|
@@ -7055,9 +7098,9 @@ declare const SharedSliceModelVariationSchema: t.Type<{
|
|
|
7055
7098
|
} | undefined;
|
|
7056
7099
|
}> | undefined;
|
|
7057
7100
|
} | undefined;
|
|
7058
|
-
}> | undefined;
|
|
7101
|
+
} | NestableModel> | undefined;
|
|
7059
7102
|
} | undefined;
|
|
7060
|
-
}> | undefined;
|
|
7103
|
+
} | NestableModel> | undefined;
|
|
7061
7104
|
items?: Record<string, {
|
|
7062
7105
|
type: "Boolean";
|
|
7063
7106
|
config?: {
|
|
@@ -7126,7 +7169,7 @@ declare const SharedSliceModelVariationSchema: t.Type<{
|
|
|
7126
7169
|
label?: string | null | undefined;
|
|
7127
7170
|
useAsTitle?: boolean | undefined;
|
|
7128
7171
|
placeholder?: string | undefined;
|
|
7129
|
-
select?: "
|
|
7172
|
+
select?: "document" | "media" | "web" | null | undefined;
|
|
7130
7173
|
customtypes?: (string | {
|
|
7131
7174
|
id: string;
|
|
7132
7175
|
fields: (string | {
|
|
@@ -7311,7 +7354,7 @@ declare const CompositeSliceModelSchema: t.Type<{
|
|
|
7311
7354
|
label?: string | null | undefined;
|
|
7312
7355
|
useAsTitle?: boolean | undefined;
|
|
7313
7356
|
placeholder?: string | undefined;
|
|
7314
|
-
select?: "
|
|
7357
|
+
select?: "document" | "media" | "web" | null | undefined;
|
|
7315
7358
|
customtypes?: (string | {
|
|
7316
7359
|
id: string;
|
|
7317
7360
|
fields: (string | {
|
|
@@ -7484,7 +7527,7 @@ declare const CompositeSliceModelSchema: t.Type<{
|
|
|
7484
7527
|
label?: string | null | undefined;
|
|
7485
7528
|
useAsTitle?: boolean | undefined;
|
|
7486
7529
|
placeholder?: string | undefined;
|
|
7487
|
-
select?: "
|
|
7530
|
+
select?: "document" | "media" | "web" | null | undefined;
|
|
7488
7531
|
customtypes?: (string | {
|
|
7489
7532
|
id: string;
|
|
7490
7533
|
fields: (string | {
|
|
@@ -7666,7 +7709,7 @@ declare const CompositeSliceModelSchema: t.Type<{
|
|
|
7666
7709
|
label?: string | null | undefined;
|
|
7667
7710
|
useAsTitle?: boolean | undefined;
|
|
7668
7711
|
placeholder?: string | undefined;
|
|
7669
|
-
select?: "
|
|
7712
|
+
select?: "document" | "media" | "web" | null | undefined;
|
|
7670
7713
|
customtypes?: (string | {
|
|
7671
7714
|
id: string;
|
|
7672
7715
|
fields: (string | {
|
|
@@ -7839,7 +7882,7 @@ declare const CompositeSliceModelSchema: t.Type<{
|
|
|
7839
7882
|
label?: string | null | undefined;
|
|
7840
7883
|
useAsTitle?: boolean | undefined;
|
|
7841
7884
|
placeholder?: string | undefined;
|
|
7842
|
-
select?: "
|
|
7885
|
+
select?: "document" | "media" | "web" | null | undefined;
|
|
7843
7886
|
customtypes?: (string | {
|
|
7844
7887
|
id: string;
|
|
7845
7888
|
fields: (string | {
|
|
@@ -8016,7 +8059,7 @@ declare const LegacySliceModelSchema: t.Type<{
|
|
|
8016
8059
|
label?: string | null | undefined;
|
|
8017
8060
|
useAsTitle?: boolean | undefined;
|
|
8018
8061
|
placeholder?: string | undefined;
|
|
8019
|
-
select?: "
|
|
8062
|
+
select?: "document" | "media" | "web" | null | undefined;
|
|
8020
8063
|
customtypes?: (string | {
|
|
8021
8064
|
id: string;
|
|
8022
8065
|
fields: (string | {
|
|
@@ -8196,7 +8239,7 @@ declare const LegacySliceModelSchema: t.Type<{
|
|
|
8196
8239
|
label?: string | null | undefined;
|
|
8197
8240
|
useAsTitle?: boolean | undefined;
|
|
8198
8241
|
placeholder?: string | undefined;
|
|
8199
|
-
select?: "
|
|
8242
|
+
select?: "document" | "media" | "web" | null | undefined;
|
|
8200
8243
|
customtypes?: (string | {
|
|
8201
8244
|
id: string;
|
|
8202
8245
|
fields: (string | {
|
|
@@ -8370,7 +8413,7 @@ declare const LegacySliceModelSchema: t.Type<{
|
|
|
8370
8413
|
label?: string | null | undefined;
|
|
8371
8414
|
useAsTitle?: boolean | undefined;
|
|
8372
8415
|
placeholder?: string | undefined;
|
|
8373
|
-
select?: "
|
|
8416
|
+
select?: "document" | "media" | "web" | null | undefined;
|
|
8374
8417
|
customtypes?: (string | {
|
|
8375
8418
|
id: string;
|
|
8376
8419
|
fields: (string | {
|
|
@@ -8550,7 +8593,7 @@ declare const LegacySliceModelSchema: t.Type<{
|
|
|
8550
8593
|
label?: string | null | undefined;
|
|
8551
8594
|
useAsTitle?: boolean | undefined;
|
|
8552
8595
|
placeholder?: string | undefined;
|
|
8553
|
-
select?: "
|
|
8596
|
+
select?: "document" | "media" | "web" | null | undefined;
|
|
8554
8597
|
customtypes?: (string | {
|
|
8555
8598
|
id: string;
|
|
8556
8599
|
fields: (string | {
|
|
@@ -8661,7 +8704,7 @@ declare const DynamicSliceModelSchema: t.Type<DynamicSliceModel, DynamicSliceMod
|
|
|
8661
8704
|
declare const StaticSliceModelSchema: t.Type<StaticSliceModel, StaticSliceModel, unknown>;
|
|
8662
8705
|
declare const SliceContentModelSchema: t.Type<SliceContentModel, SliceContentModel, unknown>;
|
|
8663
8706
|
declare const DynamicSlicesModelSchema: t.Type<{
|
|
8664
|
-
type: "
|
|
8707
|
+
type: "Choice" | "Slices";
|
|
8665
8708
|
fieldset?: string | null | undefined;
|
|
8666
8709
|
config?: {
|
|
8667
8710
|
label?: string | null | undefined;
|
|
@@ -8672,7 +8715,7 @@ declare const DynamicSlicesModelSchema: t.Type<{
|
|
|
8672
8715
|
choices?: Record<string, DynamicSliceModel> | undefined;
|
|
8673
8716
|
} | undefined;
|
|
8674
8717
|
}, {
|
|
8675
|
-
type: "
|
|
8718
|
+
type: "Choice" | "Slices";
|
|
8676
8719
|
fieldset?: string | null | undefined;
|
|
8677
8720
|
config?: {
|
|
8678
8721
|
label?: string | null | undefined;
|
|
@@ -8684,7 +8727,7 @@ declare const DynamicSlicesModelSchema: t.Type<{
|
|
|
8684
8727
|
} | undefined;
|
|
8685
8728
|
}, unknown>;
|
|
8686
8729
|
declare const StaticSlicesModelSchema: t.Type<{
|
|
8687
|
-
type: "
|
|
8730
|
+
type: "Choice" | "Slices";
|
|
8688
8731
|
fieldset?: string | null | undefined;
|
|
8689
8732
|
config?: {
|
|
8690
8733
|
label?: string | null | undefined;
|
|
@@ -8695,7 +8738,7 @@ declare const StaticSlicesModelSchema: t.Type<{
|
|
|
8695
8738
|
choices?: Record<string, StaticSliceModel> | undefined;
|
|
8696
8739
|
} | undefined;
|
|
8697
8740
|
}, {
|
|
8698
|
-
type: "
|
|
8741
|
+
type: "Choice" | "Slices";
|
|
8699
8742
|
fieldset?: string | null | undefined;
|
|
8700
8743
|
config?: {
|
|
8701
8744
|
label?: string | null | undefined;
|
|
@@ -8708,108 +8751,109 @@ declare const StaticSlicesModelSchema: t.Type<{
|
|
|
8708
8751
|
}, unknown>;
|
|
8709
8752
|
declare const StaticWidgetModelSchema: t.Type<StaticWidgetModel, StaticWidgetModel, unknown>;
|
|
8710
8753
|
declare const DynamicWidgetModelSchema: t.Type<DynamicWidgetModel, DynamicWidgetModel, unknown>;
|
|
8754
|
+
declare const FieldOrSliceTypeSchema: t.Type<"Boolean" | "Choice" | "Color" | "Date" | "Embed" | "GeoPoint" | "Group" | "Image" | "IntegrationFields" | "Link" | "Number" | "Range" | "Repeatable.Link" | "Select" | "Separator" | "SharedSlice" | "Slice" | "Slices" | "StructuredText" | "Table" | "Text" | "Timestamp" | "UID", "Boolean" | "Choice" | "Color" | "Date" | "Embed" | "GeoPoint" | "Group" | "Image" | "IntegrationFields" | "Link" | "Number" | "Range" | "Repeatable.Link" | "Select" | "Separator" | "SharedSlice" | "Slice" | "Slices" | "StructuredText" | "Table" | "Text" | "Timestamp" | "UID", unknown>;
|
|
8711
8755
|
declare const StaticCustomTypeModelTabSchema: t.Type<Record<string, StaticWidgetModel>, Record<string, StaticWidgetModel>, unknown>;
|
|
8712
8756
|
declare const DynamicCustomTypeModelTabSchema: t.Type<Record<string, DynamicWidgetModel>, Record<string, DynamicWidgetModel>, unknown>;
|
|
8713
8757
|
declare const StaticCustomTypeModelSchema: t.Type<{
|
|
8714
8758
|
id: string;
|
|
8759
|
+
label?: string | null | undefined;
|
|
8715
8760
|
repeatable: boolean;
|
|
8716
8761
|
json: Record<string, Record<string, StaticWidgetModel>>;
|
|
8717
8762
|
status: boolean;
|
|
8718
8763
|
format: "custom" | "page";
|
|
8719
|
-
label?: string | null | undefined;
|
|
8720
8764
|
schema?: undefined;
|
|
8721
8765
|
} | {
|
|
8722
|
-
schema: "@prismicio/types-internal@4.5.0";
|
|
8723
8766
|
id: string;
|
|
8767
|
+
label?: string | null | undefined;
|
|
8724
8768
|
repeatable: boolean;
|
|
8725
8769
|
json: Record<string, Record<string, StaticWidgetModel>>;
|
|
8726
8770
|
status: boolean;
|
|
8727
8771
|
format: "custom" | "page";
|
|
8728
|
-
|
|
8772
|
+
schema: "@prismicio/types-internal@4.5.0";
|
|
8729
8773
|
}, {
|
|
8730
8774
|
id: string;
|
|
8775
|
+
label?: string | null | undefined;
|
|
8731
8776
|
repeatable: boolean;
|
|
8732
8777
|
json: Record<string, Record<string, StaticWidgetModel>>;
|
|
8733
8778
|
status: boolean;
|
|
8734
8779
|
format: "custom" | "page";
|
|
8735
|
-
label?: string | null | undefined;
|
|
8736
8780
|
schema?: undefined;
|
|
8737
8781
|
} | {
|
|
8738
|
-
schema: "@prismicio/types-internal@4.5.0";
|
|
8739
8782
|
id: string;
|
|
8783
|
+
label?: string | null | undefined;
|
|
8740
8784
|
repeatable: boolean;
|
|
8741
8785
|
json: Record<string, Record<string, StaticWidgetModel>>;
|
|
8742
8786
|
status: boolean;
|
|
8743
8787
|
format: "custom" | "page";
|
|
8744
|
-
|
|
8788
|
+
schema: "@prismicio/types-internal@4.5.0";
|
|
8745
8789
|
}, unknown>;
|
|
8746
8790
|
declare const DynamicCustomTypeModelSchema: t.Type<{
|
|
8747
8791
|
id: string;
|
|
8792
|
+
label?: string | null | undefined;
|
|
8748
8793
|
repeatable: boolean;
|
|
8749
8794
|
json: Record<string, Record<string, DynamicWidgetModel>>;
|
|
8750
8795
|
status: boolean;
|
|
8751
8796
|
format: "custom" | "page";
|
|
8752
|
-
label?: string | null | undefined;
|
|
8753
8797
|
schema?: undefined;
|
|
8754
8798
|
} | {
|
|
8755
|
-
schema: "@prismicio/types-internal@4.5.0";
|
|
8756
8799
|
id: string;
|
|
8800
|
+
label?: string | null | undefined;
|
|
8757
8801
|
repeatable: boolean;
|
|
8758
8802
|
json: Record<string, Record<string, DynamicWidgetModel>>;
|
|
8759
8803
|
status: boolean;
|
|
8760
8804
|
format: "custom" | "page";
|
|
8761
|
-
|
|
8805
|
+
schema: "@prismicio/types-internal@4.5.0";
|
|
8762
8806
|
}, {
|
|
8763
8807
|
id: string;
|
|
8808
|
+
label?: string | null | undefined;
|
|
8764
8809
|
repeatable: boolean;
|
|
8765
8810
|
json: Record<string, Record<string, DynamicWidgetModel>>;
|
|
8766
8811
|
status: boolean;
|
|
8767
8812
|
format: "custom" | "page";
|
|
8768
|
-
label?: string | null | undefined;
|
|
8769
8813
|
schema?: undefined;
|
|
8770
8814
|
} | {
|
|
8771
|
-
schema: "@prismicio/types-internal@4.5.0";
|
|
8772
8815
|
id: string;
|
|
8816
|
+
label?: string | null | undefined;
|
|
8773
8817
|
repeatable: boolean;
|
|
8774
8818
|
json: Record<string, Record<string, DynamicWidgetModel>>;
|
|
8775
8819
|
status: boolean;
|
|
8776
8820
|
format: "custom" | "page";
|
|
8777
|
-
|
|
8821
|
+
schema: "@prismicio/types-internal@4.5.0";
|
|
8778
8822
|
}, unknown>;
|
|
8779
8823
|
/** @deprecated Use DynamicCustomTypeModelSchema instead */
|
|
8780
8824
|
declare const CustomTypeModelSchema: t.Type<{
|
|
8781
8825
|
id: string;
|
|
8826
|
+
label?: string | null | undefined;
|
|
8782
8827
|
repeatable: boolean;
|
|
8783
8828
|
json: Record<string, Record<string, DynamicWidgetModel>>;
|
|
8784
8829
|
status: boolean;
|
|
8785
8830
|
format: "custom" | "page";
|
|
8786
|
-
label?: string | null | undefined;
|
|
8787
8831
|
schema?: undefined;
|
|
8788
8832
|
} | {
|
|
8789
|
-
schema: "@prismicio/types-internal@4.5.0";
|
|
8790
8833
|
id: string;
|
|
8834
|
+
label?: string | null | undefined;
|
|
8791
8835
|
repeatable: boolean;
|
|
8792
8836
|
json: Record<string, Record<string, DynamicWidgetModel>>;
|
|
8793
8837
|
status: boolean;
|
|
8794
8838
|
format: "custom" | "page";
|
|
8795
|
-
|
|
8839
|
+
schema: "@prismicio/types-internal@4.5.0";
|
|
8796
8840
|
}, {
|
|
8797
8841
|
id: string;
|
|
8842
|
+
label?: string | null | undefined;
|
|
8798
8843
|
repeatable: boolean;
|
|
8799
8844
|
json: Record<string, Record<string, DynamicWidgetModel>>;
|
|
8800
8845
|
status: boolean;
|
|
8801
8846
|
format: "custom" | "page";
|
|
8802
|
-
label?: string | null | undefined;
|
|
8803
8847
|
schema?: undefined;
|
|
8804
8848
|
} | {
|
|
8805
|
-
schema: "@prismicio/types-internal@4.5.0";
|
|
8806
8849
|
id: string;
|
|
8850
|
+
label?: string | null | undefined;
|
|
8807
8851
|
repeatable: boolean;
|
|
8808
8852
|
json: Record<string, Record<string, DynamicWidgetModel>>;
|
|
8809
8853
|
status: boolean;
|
|
8810
8854
|
format: "custom" | "page";
|
|
8811
|
-
|
|
8855
|
+
schema: "@prismicio/types-internal@4.5.0";
|
|
8812
8856
|
}, unknown>;
|
|
8813
8857
|
//#endregion
|
|
8814
|
-
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 };
|
|
8858
|
+
export { AssetSchema, BooleanContentSchema, BooleanLegacy, BooleanModelSchema, ColorContentSchema, ColorLegacy, ColorModelSchema, CompositeSliceContentSchema, CompositeSliceItemContentSchema, CompositeSliceLegacy, CompositeSliceModelSchema, CustomTypeModelSchema, CustomTypesModelSchema, DateContentSchema, DateLegacy, DateModelSchema, DocumentContentSchema, DocumentLegacy, DynamicCustomTypeModelSchema, DynamicCustomTypeModelTabSchema, DynamicSliceModelSchema, DynamicSlicesModelSchema, DynamicWidgetModelSchema, EmbedContentSchema, EmbedLegacy, EmbedModelSchema, EmbedSchema, EmptyContentSchema, EmptyLegacy, EmptyLinkContentSchema, FieldContentSchema, FieldOrSliceTypeSchema, 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 };
|
|
8815
8859
|
//# sourceMappingURL=io-ts.d.ts.map
|