@prismicio/types-internal 4.6.0 → 4.7.0-canary.a13781f
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 +9 -6
- 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 +1 -3
- package/dist/helpers/customTypeModel.d.ts.map +1 -1
- package/dist/helpers/customTypeModel.js +1 -1
- package/dist/helpers/customTypeModel.js.map +1 -1
- package/dist/helpers/documentContent.d.ts +1 -3
- package/dist/helpers/documentContent.d.ts.map +1 -1
- package/dist/helpers/documentContent.js +2 -2
- package/dist/helpers/documentContent.js.map +1 -1
- package/dist/helpers/fieldModel.d.ts +1 -1
- package/dist/helpers/fieldModel.d.ts.map +1 -1
- package/dist/helpers/fieldModel.js +1 -1
- package/dist/helpers/fieldModel.js.map +1 -1
- package/dist/helpers/imageContent.d.ts +2 -6
- package/dist/helpers/imageContent.d.ts.map +1 -1
- package/dist/helpers/imageContent.js +1 -1
- package/dist/helpers/imageContent.js.map +1 -1
- package/dist/helpers/repository.d.ts +1 -1
- package/dist/helpers/repository.d.ts.map +1 -1
- package/dist/helpers/repository.js +1 -1
- package/dist/helpers/repository.js.map +1 -1
- package/dist/helpers/sliceContent.d.ts +1 -3
- package/dist/helpers/sliceContent.d.ts.map +1 -1
- package/dist/helpers/sliceContent.js.map +1 -1
- package/dist/helpers/sliceModel.d.ts +1 -1
- package/dist/helpers/sliceModel.d.ts.map +1 -1
- package/dist/helpers/sliceModel.js +1 -1
- package/dist/helpers/sliceModel.js.map +1 -1
- package/dist/helpers/traverseContent.d.ts +0 -1
- package/dist/helpers/traverseContent.d.ts.map +1 -1
- package/dist/helpers/traverseContent.js.map +1 -1
- package/dist/helpers/traverseContentWithModel.d.ts +0 -1
- package/dist/helpers/traverseContentWithModel.d.ts.map +1 -1
- package/dist/helpers/traverseContentWithModel.js.map +1 -1
- package/dist/helpers/withDefaultContent.d.ts +1 -3
- package/dist/helpers/withDefaultContent.d.ts.map +1 -1
- package/dist/helpers/withDefaultContent.js +1 -1
- package/dist/helpers/withDefaultContent.js.map +1 -1
- package/dist/index.d.ts +5 -1
- package/dist/index.js +4 -1
- package/dist/io-ts.d.ts +777 -783
- package/dist/io-ts.d.ts.map +1 -1
- package/dist/io-ts.js +16 -16
- package/dist/io-ts.js.map +1 -1
- package/dist/model/boolean.d.ts +1 -2
- package/dist/model/boolean.d.ts.map +1 -1
- package/dist/model/boolean.js.map +1 -1
- package/dist/model/color.d.ts +1 -2
- package/dist/model/color.d.ts.map +1 -1
- package/dist/model/color.js.map +1 -1
- package/dist/model/customType.d.ts +3 -4
- package/dist/model/customType.d.ts.map +1 -1
- package/dist/model/customType.js +1 -1
- package/dist/model/customType.js.map +1 -1
- package/dist/model/date.d.ts +1 -2
- package/dist/model/date.d.ts.map +1 -1
- package/dist/model/date.js.map +1 -1
- package/dist/model/diff/changes.d.ts +21 -0
- package/dist/model/diff/changes.d.ts.map +1 -0
- package/dist/model/diff/changes.js +11 -0
- package/dist/model/diff/changes.js.map +1 -0
- package/dist/model/diff/sharedSlice.d.ts +14 -0
- package/dist/model/diff/sharedSlice.d.ts.map +1 -0
- package/dist/model/diff/sharedSlice.js +45 -0
- package/dist/model/diff/sharedSlice.js.map +1 -0
- package/dist/model/diff/utils.js +40 -0
- package/dist/model/diff/utils.js.map +1 -0
- package/dist/model/diff/variation.d.ts +15 -0
- package/dist/model/diff/variation.d.ts.map +1 -0
- package/dist/model/diff/variation.js +92 -0
- package/dist/model/diff/variation.js.map +1 -0
- package/dist/model/diff/widgets.d.ts +15 -0
- package/dist/model/diff/widgets.d.ts.map +1 -0
- package/dist/model/embed.d.ts +1 -2
- package/dist/model/embed.d.ts.map +1 -1
- package/dist/model/embed.js.map +1 -1
- package/dist/model/geopoint.d.ts +1 -2
- package/dist/model/geopoint.d.ts.map +1 -1
- package/dist/model/geopoint.js.map +1 -1
- package/dist/model/group.d.ts +39 -40
- package/dist/model/group.d.ts.map +1 -1
- package/dist/model/group.js +1 -1
- package/dist/model/group.js.map +1 -1
- package/dist/model/image.d.ts +1 -2
- package/dist/model/image.d.ts.map +1 -1
- package/dist/model/image.js +1 -1
- package/dist/model/image.js.map +1 -1
- package/dist/model/integrationField.d.ts +1 -2
- package/dist/model/integrationField.d.ts.map +1 -1
- package/dist/model/integrationField.js.map +1 -1
- package/dist/model/link.d.ts +2 -3
- package/dist/model/link.d.ts.map +1 -1
- package/dist/model/link.js.map +1 -1
- package/dist/model/nestable.d.ts +0 -1
- package/dist/model/nestable.d.ts.map +1 -1
- package/dist/model/nestable.js +3 -3
- package/dist/model/nestable.js.map +1 -1
- package/dist/model/number.d.ts +1 -2
- package/dist/model/number.d.ts.map +1 -1
- package/dist/model/number.js.map +1 -1
- package/dist/model/range.d.ts +1 -2
- package/dist/model/range.d.ts.map +1 -1
- package/dist/model/range.js.map +1 -1
- package/dist/model/richText.d.ts +1 -2
- package/dist/model/richText.d.ts.map +1 -1
- package/dist/model/richText.js +1 -1
- package/dist/model/richText.js.map +1 -1
- package/dist/model/select.d.ts +1 -2
- package/dist/model/select.d.ts.map +1 -1
- package/dist/model/select.js.map +1 -1
- package/dist/model/separator.d.ts +1 -2
- package/dist/model/separator.d.ts.map +1 -1
- package/dist/model/separator.js.map +1 -1
- package/dist/model/slice.d.ts +44 -45
- package/dist/model/slice.d.ts.map +1 -1
- package/dist/model/slice.js +1 -1
- package/dist/model/slice.js.map +1 -1
- package/dist/model/slices.d.ts +1 -2
- package/dist/model/slices.d.ts.map +1 -1
- package/dist/model/slices.js +1 -1
- package/dist/model/slices.js.map +1 -1
- package/dist/model/table.d.ts +3 -3
- package/dist/model/table.d.ts.map +1 -1
- package/dist/model/table.js.map +1 -1
- package/dist/model/text.d.ts +1 -2
- package/dist/model/text.d.ts.map +1 -1
- package/dist/model/text.js.map +1 -1
- package/dist/model/timestamp.d.ts +1 -2
- package/dist/model/timestamp.d.ts.map +1 -1
- package/dist/model/timestamp.js.map +1 -1
- package/dist/model/uid.d.ts +1 -2
- package/dist/model/uid.d.ts.map +1 -1
- package/dist/model/uid.js.map +1 -1
- package/dist/model/widget.d.ts +23 -24
- package/dist/model/widget.d.ts.map +1 -1
- package/dist/model/widget.js +1 -1
- package/dist/model/widget.js.map +1 -1
- package/dist/zod4.d.ts +3351 -3353
- package/dist/zod4.d.ts.map +1 -1
- package/dist/zod4.js +16 -16
- package/dist/zod4.js.map +1 -1
- package/package.json +15 -13
- package/src/content/codec/group.ts +1 -1
- package/src/content/codec/legacyContentCtx.ts +7 -1
- package/src/helpers/customTypeModel.ts +3 -1
- package/src/helpers/documentContent.ts +1 -1
- package/src/index.ts +12 -0
- package/src/model/diff/changes.ts +4 -4
- package/src/model/diff/sharedSlice.ts +8 -8
- package/src/model/diff/variation.ts +6 -6
- package/src/model/diff/widgets.ts +3 -3
- package/src/model/image.ts +4 -1
package/dist/io-ts.d.ts
CHANGED
|
@@ -9,19 +9,19 @@ import { NestableModel } from "./model/nestable.js";
|
|
|
9
9
|
import { DynamicSliceModel, SliceContentModel, StaticSliceModel } from "./model/slice.js";
|
|
10
10
|
import { DynamicWidgetModel, FieldOrSliceType, StaticWidgetModel } from "./model/widget.js";
|
|
11
11
|
import { LegacyContentCtx } from "./content/codec/legacyContentCtx.js";
|
|
12
|
+
import "./index.js";
|
|
12
13
|
import { GroupLegacy as GroupLegacy$1 } from "./content/legacy/group.js";
|
|
13
14
|
import * as t from "io-ts";
|
|
14
|
-
|
|
15
15
|
//#region src/io-ts.d.ts
|
|
16
16
|
declare const AssetSchema: t.Type<{
|
|
17
17
|
id: string;
|
|
18
18
|
last_modified: string;
|
|
19
|
-
kind: "
|
|
20
|
-
origin_url: string;
|
|
21
|
-
url: string;
|
|
19
|
+
kind: "all" | "image";
|
|
22
20
|
filename?: string | undefined;
|
|
23
21
|
extension?: string | undefined;
|
|
24
22
|
size?: number | undefined;
|
|
23
|
+
origin_url: string;
|
|
24
|
+
url: string;
|
|
25
25
|
width?: number | undefined;
|
|
26
26
|
height?: number | undefined;
|
|
27
27
|
notes?: string | undefined;
|
|
@@ -30,12 +30,12 @@ declare const AssetSchema: t.Type<{
|
|
|
30
30
|
}, {
|
|
31
31
|
id: string;
|
|
32
32
|
last_modified: string;
|
|
33
|
-
kind: "
|
|
34
|
-
origin_url: string;
|
|
35
|
-
url: string;
|
|
33
|
+
kind: "all" | "image";
|
|
36
34
|
filename?: string | undefined;
|
|
37
35
|
extension?: string | undefined;
|
|
38
36
|
size?: number | undefined;
|
|
37
|
+
origin_url: string;
|
|
38
|
+
url: string;
|
|
39
39
|
width?: number | undefined;
|
|
40
40
|
height?: number | undefined;
|
|
41
41
|
notes?: string | undefined;
|
|
@@ -121,45 +121,45 @@ declare const FilledLinkContentSchema: t.Type<{
|
|
|
121
121
|
__TYPE__: "LinkContent";
|
|
122
122
|
key: string;
|
|
123
123
|
value: {
|
|
124
|
-
variant?: string | undefined;
|
|
125
124
|
text?: string | undefined;
|
|
125
|
+
variant?: string | undefined;
|
|
126
126
|
} & FilledLinkContentValue;
|
|
127
127
|
}, {
|
|
128
128
|
__TYPE__: "LinkContent";
|
|
129
129
|
key: string;
|
|
130
130
|
value: {
|
|
131
|
-
variant?: string | undefined;
|
|
132
131
|
text?: string | undefined;
|
|
132
|
+
variant?: string | undefined;
|
|
133
133
|
} & FilledLinkContentValue;
|
|
134
134
|
}, unknown>;
|
|
135
135
|
declare const EmptyLinkContentSchema: t.Type<{
|
|
136
136
|
__TYPE__: "LinkContent";
|
|
137
137
|
key: string;
|
|
138
138
|
value: {
|
|
139
|
-
variant?: string | undefined;
|
|
140
139
|
text?: string | undefined;
|
|
140
|
+
variant?: string | undefined;
|
|
141
141
|
} & EmptyLinkContentValue;
|
|
142
142
|
}, {
|
|
143
143
|
__TYPE__: "LinkContent";
|
|
144
144
|
key: string;
|
|
145
145
|
value: {
|
|
146
|
-
variant?: string | undefined;
|
|
147
146
|
text?: string | undefined;
|
|
147
|
+
variant?: string | undefined;
|
|
148
148
|
} & EmptyLinkContentValue;
|
|
149
149
|
}, unknown>;
|
|
150
150
|
declare const LinkContentSchema: t.Type<{
|
|
151
151
|
__TYPE__: "LinkContent";
|
|
152
152
|
key: string;
|
|
153
153
|
value: {
|
|
154
|
-
variant?: string | undefined;
|
|
155
154
|
text?: string | undefined;
|
|
155
|
+
variant?: string | undefined;
|
|
156
156
|
} & LinkContentValue;
|
|
157
157
|
}, {
|
|
158
158
|
__TYPE__: "LinkContent";
|
|
159
159
|
key: string;
|
|
160
160
|
value: {
|
|
161
|
-
variant?: string | undefined;
|
|
162
161
|
text?: string | undefined;
|
|
162
|
+
variant?: string | undefined;
|
|
163
163
|
} & LinkContentValue;
|
|
164
164
|
}, unknown>;
|
|
165
165
|
declare const NumberContentSchema: t.Type<{
|
|
@@ -198,44 +198,25 @@ declare const SharedSliceContentSchema: t.Type<{
|
|
|
198
198
|
__TYPE__: "SharedSliceContent";
|
|
199
199
|
variation: string;
|
|
200
200
|
primary: Record<string, {
|
|
201
|
-
|
|
202
|
-
value:
|
|
203
|
-
__TYPE__: "FieldContent";
|
|
204
|
-
} | {
|
|
205
|
-
type: "Color";
|
|
206
|
-
value: string;
|
|
207
|
-
__TYPE__: "FieldContent";
|
|
208
|
-
} | {
|
|
209
|
-
type: "Date";
|
|
210
|
-
value: string;
|
|
211
|
-
__TYPE__: "FieldContent";
|
|
201
|
+
__TYPE__: "GroupContentType";
|
|
202
|
+
value: GroupItemContent[];
|
|
212
203
|
} | {
|
|
213
|
-
type:
|
|
214
|
-
|
|
215
|
-
__TYPE__: "FieldContent";
|
|
204
|
+
type: string;
|
|
205
|
+
__TYPE__: "EmptyContent";
|
|
216
206
|
} | {
|
|
217
|
-
|
|
218
|
-
value:
|
|
219
|
-
__TYPE__: "FieldContent";
|
|
207
|
+
__TYPE__: "BooleanContent";
|
|
208
|
+
value: boolean;
|
|
220
209
|
} | {
|
|
221
|
-
type: "
|
|
210
|
+
type: "Color";
|
|
222
211
|
value: string;
|
|
223
212
|
__TYPE__: "FieldContent";
|
|
224
213
|
} | {
|
|
225
|
-
type: "
|
|
214
|
+
type: "Date";
|
|
226
215
|
value: string;
|
|
227
216
|
__TYPE__: "FieldContent";
|
|
228
|
-
} | {
|
|
229
|
-
type: string;
|
|
230
|
-
__TYPE__: "EmptyContent";
|
|
231
|
-
} | {
|
|
232
|
-
__TYPE__: "BooleanContent";
|
|
233
|
-
value: boolean;
|
|
234
217
|
} | {
|
|
235
218
|
embed_url: string;
|
|
236
219
|
type: string;
|
|
237
|
-
__TYPE__: "EmbedContent";
|
|
238
|
-
all: unknown;
|
|
239
220
|
version?: string | number | null | undefined;
|
|
240
221
|
title?: string | null | undefined;
|
|
241
222
|
author_name?: string | null | undefined;
|
|
@@ -247,6 +228,8 @@ declare const SharedSliceContentSchema: t.Type<{
|
|
|
247
228
|
thumbnail_width?: number | null | undefined;
|
|
248
229
|
thumbnail_height?: number | null | undefined;
|
|
249
230
|
html?: string | null | undefined;
|
|
231
|
+
__TYPE__: "EmbedContent";
|
|
232
|
+
all: unknown;
|
|
250
233
|
} | {
|
|
251
234
|
position: {
|
|
252
235
|
lat: number;
|
|
@@ -270,7 +253,6 @@ declare const SharedSliceContentSchema: t.Type<{
|
|
|
270
253
|
};
|
|
271
254
|
background: string;
|
|
272
255
|
};
|
|
273
|
-
__TYPE__: "ImageContent";
|
|
274
256
|
url?: string | undefined;
|
|
275
257
|
credits?: string | null | undefined;
|
|
276
258
|
alt?: string | null | undefined;
|
|
@@ -297,6 +279,7 @@ declare const SharedSliceContentSchema: t.Type<{
|
|
|
297
279
|
alt?: string | null | undefined;
|
|
298
280
|
provider?: string | null | undefined;
|
|
299
281
|
}> | undefined;
|
|
282
|
+
__TYPE__: "ImageContent";
|
|
300
283
|
} | {
|
|
301
284
|
__TYPE__: "IntegrationFieldsContent";
|
|
302
285
|
value: string;
|
|
@@ -304,9 +287,17 @@ declare const SharedSliceContentSchema: t.Type<{
|
|
|
304
287
|
__TYPE__: "LinkContent";
|
|
305
288
|
key: string;
|
|
306
289
|
value: {
|
|
307
|
-
variant?: string | undefined;
|
|
308
290
|
text?: string | undefined;
|
|
291
|
+
variant?: string | undefined;
|
|
309
292
|
} & LinkContentValue;
|
|
293
|
+
} | {
|
|
294
|
+
type: "Number";
|
|
295
|
+
value: string;
|
|
296
|
+
__TYPE__: "FieldContent";
|
|
297
|
+
} | {
|
|
298
|
+
type: "Range";
|
|
299
|
+
value: string;
|
|
300
|
+
__TYPE__: "FieldContent";
|
|
310
301
|
} | {
|
|
311
302
|
__TYPE__: "RepeatableContent";
|
|
312
303
|
type: "Link";
|
|
@@ -314,13 +305,14 @@ declare const SharedSliceContentSchema: t.Type<{
|
|
|
314
305
|
__TYPE__: "LinkContent";
|
|
315
306
|
key: string;
|
|
316
307
|
value: {
|
|
317
|
-
variant?: string | undefined;
|
|
318
308
|
text?: string | undefined;
|
|
309
|
+
variant?: string | undefined;
|
|
319
310
|
} & LinkContentValue;
|
|
320
311
|
}[];
|
|
321
312
|
} | {
|
|
322
|
-
|
|
323
|
-
value:
|
|
313
|
+
type: "Select";
|
|
314
|
+
value: string;
|
|
315
|
+
__TYPE__: "FieldContent";
|
|
324
316
|
} | {
|
|
325
317
|
__TYPE__: "SeparatorContent";
|
|
326
318
|
} | {
|
|
@@ -330,7 +322,7 @@ declare const SharedSliceContentSchema: t.Type<{
|
|
|
330
322
|
type: "tableRow";
|
|
331
323
|
content: {
|
|
332
324
|
key: string;
|
|
333
|
-
type: "
|
|
325
|
+
type: "tableCell" | "tableHeader";
|
|
334
326
|
content: {
|
|
335
327
|
__TYPE__: "StructuredTextContent";
|
|
336
328
|
value: RichTextContentBlock[];
|
|
@@ -339,52 +331,41 @@ declare const SharedSliceContentSchema: t.Type<{
|
|
|
339
331
|
}[];
|
|
340
332
|
}[];
|
|
341
333
|
} | {
|
|
342
|
-
__TYPE__: "GroupContentType";
|
|
343
|
-
value: GroupItemContent[];
|
|
344
|
-
}>;
|
|
345
|
-
items: GroupItemContent[];
|
|
346
|
-
}, {
|
|
347
|
-
__TYPE__: "SharedSliceContent";
|
|
348
|
-
variation: string;
|
|
349
|
-
primary: Record<string, {
|
|
350
334
|
type: "Text";
|
|
351
335
|
value: string;
|
|
352
336
|
__TYPE__: "FieldContent";
|
|
353
337
|
} | {
|
|
354
|
-
type: "
|
|
338
|
+
type: "Timestamp";
|
|
355
339
|
value: string;
|
|
356
340
|
__TYPE__: "FieldContent";
|
|
357
341
|
} | {
|
|
358
|
-
|
|
359
|
-
value:
|
|
360
|
-
|
|
342
|
+
__TYPE__: "StructuredTextContent";
|
|
343
|
+
value: RichTextContentBlock[];
|
|
344
|
+
}>;
|
|
345
|
+
items: GroupItemContent[];
|
|
346
|
+
}, {
|
|
347
|
+
__TYPE__: "SharedSliceContent";
|
|
348
|
+
variation: string;
|
|
349
|
+
primary: Record<string, {
|
|
350
|
+
__TYPE__: "GroupContentType";
|
|
351
|
+
value: GroupItemContent[];
|
|
361
352
|
} | {
|
|
362
|
-
type:
|
|
363
|
-
|
|
364
|
-
__TYPE__: "FieldContent";
|
|
353
|
+
type: string;
|
|
354
|
+
__TYPE__: "EmptyContent";
|
|
365
355
|
} | {
|
|
366
|
-
|
|
367
|
-
value:
|
|
368
|
-
__TYPE__: "FieldContent";
|
|
356
|
+
__TYPE__: "BooleanContent";
|
|
357
|
+
value: boolean;
|
|
369
358
|
} | {
|
|
370
|
-
type: "
|
|
359
|
+
type: "Color";
|
|
371
360
|
value: string;
|
|
372
361
|
__TYPE__: "FieldContent";
|
|
373
362
|
} | {
|
|
374
|
-
type: "
|
|
363
|
+
type: "Date";
|
|
375
364
|
value: string;
|
|
376
365
|
__TYPE__: "FieldContent";
|
|
377
|
-
} | {
|
|
378
|
-
type: string;
|
|
379
|
-
__TYPE__: "EmptyContent";
|
|
380
|
-
} | {
|
|
381
|
-
__TYPE__: "BooleanContent";
|
|
382
|
-
value: boolean;
|
|
383
366
|
} | {
|
|
384
367
|
embed_url: string;
|
|
385
368
|
type: string;
|
|
386
|
-
__TYPE__: "EmbedContent";
|
|
387
|
-
all: unknown;
|
|
388
369
|
version?: string | number | null | undefined;
|
|
389
370
|
title?: string | null | undefined;
|
|
390
371
|
author_name?: string | null | undefined;
|
|
@@ -396,6 +377,8 @@ declare const SharedSliceContentSchema: t.Type<{
|
|
|
396
377
|
thumbnail_width?: number | null | undefined;
|
|
397
378
|
thumbnail_height?: number | null | undefined;
|
|
398
379
|
html?: string | null | undefined;
|
|
380
|
+
__TYPE__: "EmbedContent";
|
|
381
|
+
all: unknown;
|
|
399
382
|
} | {
|
|
400
383
|
position: {
|
|
401
384
|
lat: number;
|
|
@@ -419,7 +402,6 @@ declare const SharedSliceContentSchema: t.Type<{
|
|
|
419
402
|
};
|
|
420
403
|
background: string;
|
|
421
404
|
};
|
|
422
|
-
__TYPE__: "ImageContent";
|
|
423
405
|
url?: string | undefined;
|
|
424
406
|
credits?: string | null | undefined;
|
|
425
407
|
alt?: string | null | undefined;
|
|
@@ -446,6 +428,7 @@ declare const SharedSliceContentSchema: t.Type<{
|
|
|
446
428
|
alt?: string | null | undefined;
|
|
447
429
|
provider?: string | null | undefined;
|
|
448
430
|
}> | undefined;
|
|
431
|
+
__TYPE__: "ImageContent";
|
|
449
432
|
} | {
|
|
450
433
|
__TYPE__: "IntegrationFieldsContent";
|
|
451
434
|
value: string;
|
|
@@ -453,9 +436,17 @@ declare const SharedSliceContentSchema: t.Type<{
|
|
|
453
436
|
__TYPE__: "LinkContent";
|
|
454
437
|
key: string;
|
|
455
438
|
value: {
|
|
456
|
-
variant?: string | undefined;
|
|
457
439
|
text?: string | undefined;
|
|
440
|
+
variant?: string | undefined;
|
|
458
441
|
} & LinkContentValue;
|
|
442
|
+
} | {
|
|
443
|
+
type: "Number";
|
|
444
|
+
value: string;
|
|
445
|
+
__TYPE__: "FieldContent";
|
|
446
|
+
} | {
|
|
447
|
+
type: "Range";
|
|
448
|
+
value: string;
|
|
449
|
+
__TYPE__: "FieldContent";
|
|
459
450
|
} | {
|
|
460
451
|
__TYPE__: "RepeatableContent";
|
|
461
452
|
type: "Link";
|
|
@@ -463,13 +454,14 @@ declare const SharedSliceContentSchema: t.Type<{
|
|
|
463
454
|
__TYPE__: "LinkContent";
|
|
464
455
|
key: string;
|
|
465
456
|
value: {
|
|
466
|
-
variant?: string | undefined;
|
|
467
457
|
text?: string | undefined;
|
|
458
|
+
variant?: string | undefined;
|
|
468
459
|
} & LinkContentValue;
|
|
469
460
|
}[];
|
|
470
461
|
} | {
|
|
471
|
-
|
|
472
|
-
value:
|
|
462
|
+
type: "Select";
|
|
463
|
+
value: string;
|
|
464
|
+
__TYPE__: "FieldContent";
|
|
473
465
|
} | {
|
|
474
466
|
__TYPE__: "SeparatorContent";
|
|
475
467
|
} | {
|
|
@@ -479,7 +471,7 @@ declare const SharedSliceContentSchema: t.Type<{
|
|
|
479
471
|
type: "tableRow";
|
|
480
472
|
content: {
|
|
481
473
|
key: string;
|
|
482
|
-
type: "
|
|
474
|
+
type: "tableCell" | "tableHeader";
|
|
483
475
|
content: {
|
|
484
476
|
__TYPE__: "StructuredTextContent";
|
|
485
477
|
value: RichTextContentBlock[];
|
|
@@ -488,8 +480,16 @@ declare const SharedSliceContentSchema: t.Type<{
|
|
|
488
480
|
}[];
|
|
489
481
|
}[];
|
|
490
482
|
} | {
|
|
491
|
-
|
|
492
|
-
value:
|
|
483
|
+
type: "Text";
|
|
484
|
+
value: string;
|
|
485
|
+
__TYPE__: "FieldContent";
|
|
486
|
+
} | {
|
|
487
|
+
type: "Timestamp";
|
|
488
|
+
value: string;
|
|
489
|
+
__TYPE__: "FieldContent";
|
|
490
|
+
} | {
|
|
491
|
+
__TYPE__: "StructuredTextContent";
|
|
492
|
+
value: RichTextContentBlock[];
|
|
493
493
|
}>;
|
|
494
494
|
items: GroupItemContent[];
|
|
495
495
|
}, unknown>;
|
|
@@ -512,10 +512,6 @@ declare const TimestampContentSchema: t.Type<{
|
|
|
512
512
|
__TYPE__: "FieldContent";
|
|
513
513
|
}, unknown>;
|
|
514
514
|
declare const FieldContentSchema: t.Type<{
|
|
515
|
-
type: "Text";
|
|
516
|
-
value: string;
|
|
517
|
-
__TYPE__: "FieldContent";
|
|
518
|
-
} | {
|
|
519
515
|
type: "Color";
|
|
520
516
|
value: string;
|
|
521
517
|
__TYPE__: "FieldContent";
|
|
@@ -523,10 +519,6 @@ declare const FieldContentSchema: t.Type<{
|
|
|
523
519
|
type: "Date";
|
|
524
520
|
value: string;
|
|
525
521
|
__TYPE__: "FieldContent";
|
|
526
|
-
} | {
|
|
527
|
-
type: "Timestamp";
|
|
528
|
-
value: string;
|
|
529
|
-
__TYPE__: "FieldContent";
|
|
530
522
|
} | {
|
|
531
523
|
type: "Number";
|
|
532
524
|
value: string;
|
|
@@ -539,20 +531,20 @@ declare const FieldContentSchema: t.Type<{
|
|
|
539
531
|
type: "Select";
|
|
540
532
|
value: string;
|
|
541
533
|
__TYPE__: "FieldContent";
|
|
542
|
-
}
|
|
534
|
+
} | {
|
|
543
535
|
type: "Text";
|
|
544
536
|
value: string;
|
|
545
537
|
__TYPE__: "FieldContent";
|
|
546
538
|
} | {
|
|
547
|
-
type: "
|
|
539
|
+
type: "Timestamp";
|
|
548
540
|
value: string;
|
|
549
541
|
__TYPE__: "FieldContent";
|
|
550
|
-
}
|
|
551
|
-
type: "
|
|
542
|
+
}, {
|
|
543
|
+
type: "Color";
|
|
552
544
|
value: string;
|
|
553
545
|
__TYPE__: "FieldContent";
|
|
554
546
|
} | {
|
|
555
|
-
type: "
|
|
547
|
+
type: "Date";
|
|
556
548
|
value: string;
|
|
557
549
|
__TYPE__: "FieldContent";
|
|
558
550
|
} | {
|
|
@@ -567,6 +559,14 @@ declare const FieldContentSchema: t.Type<{
|
|
|
567
559
|
type: "Select";
|
|
568
560
|
value: string;
|
|
569
561
|
__TYPE__: "FieldContent";
|
|
562
|
+
} | {
|
|
563
|
+
type: "Text";
|
|
564
|
+
value: string;
|
|
565
|
+
__TYPE__: "FieldContent";
|
|
566
|
+
} | {
|
|
567
|
+
type: "Timestamp";
|
|
568
|
+
value: string;
|
|
569
|
+
__TYPE__: "FieldContent";
|
|
570
570
|
}, unknown>;
|
|
571
571
|
declare const UIDContentSchema: t.Type<{
|
|
572
572
|
__TYPE__: "UIDContent";
|
|
@@ -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,15 +805,17 @@ declare const RepeatableContentSchema: t.Type<{
|
|
|
805
805
|
__TYPE__: "LinkContent";
|
|
806
806
|
key: string;
|
|
807
807
|
value: {
|
|
808
|
-
variant?: string | undefined;
|
|
809
808
|
text?: string | undefined;
|
|
809
|
+
variant?: string | undefined;
|
|
810
810
|
} & LinkContentValue;
|
|
811
811
|
}[];
|
|
812
812
|
}, unknown>;
|
|
813
813
|
declare const NestableContentSchema: t.Type<{
|
|
814
|
-
type:
|
|
815
|
-
|
|
816
|
-
|
|
814
|
+
type: string;
|
|
815
|
+
__TYPE__: "EmptyContent";
|
|
816
|
+
} | {
|
|
817
|
+
__TYPE__: "BooleanContent";
|
|
818
|
+
value: boolean;
|
|
817
819
|
} | {
|
|
818
820
|
type: "Color";
|
|
819
821
|
value: string;
|
|
@@ -822,33 +824,9 @@ declare const NestableContentSchema: t.Type<{
|
|
|
822
824
|
type: "Date";
|
|
823
825
|
value: string;
|
|
824
826
|
__TYPE__: "FieldContent";
|
|
825
|
-
} | {
|
|
826
|
-
type: "Timestamp";
|
|
827
|
-
value: string;
|
|
828
|
-
__TYPE__: "FieldContent";
|
|
829
|
-
} | {
|
|
830
|
-
type: "Number";
|
|
831
|
-
value: string;
|
|
832
|
-
__TYPE__: "FieldContent";
|
|
833
|
-
} | {
|
|
834
|
-
type: "Range";
|
|
835
|
-
value: string;
|
|
836
|
-
__TYPE__: "FieldContent";
|
|
837
|
-
} | {
|
|
838
|
-
type: "Select";
|
|
839
|
-
value: string;
|
|
840
|
-
__TYPE__: "FieldContent";
|
|
841
|
-
} | {
|
|
842
|
-
type: string;
|
|
843
|
-
__TYPE__: "EmptyContent";
|
|
844
|
-
} | {
|
|
845
|
-
__TYPE__: "BooleanContent";
|
|
846
|
-
value: boolean;
|
|
847
827
|
} | {
|
|
848
828
|
embed_url: string;
|
|
849
829
|
type: string;
|
|
850
|
-
__TYPE__: "EmbedContent";
|
|
851
|
-
all: unknown;
|
|
852
830
|
version?: string | number | null | undefined;
|
|
853
831
|
title?: string | null | undefined;
|
|
854
832
|
author_name?: string | null | undefined;
|
|
@@ -860,6 +838,8 @@ declare const NestableContentSchema: t.Type<{
|
|
|
860
838
|
thumbnail_width?: number | null | undefined;
|
|
861
839
|
thumbnail_height?: number | null | undefined;
|
|
862
840
|
html?: string | null | undefined;
|
|
841
|
+
__TYPE__: "EmbedContent";
|
|
842
|
+
all: unknown;
|
|
863
843
|
} | {
|
|
864
844
|
position: {
|
|
865
845
|
lat: number;
|
|
@@ -883,7 +863,6 @@ declare const NestableContentSchema: t.Type<{
|
|
|
883
863
|
};
|
|
884
864
|
background: string;
|
|
885
865
|
};
|
|
886
|
-
__TYPE__: "ImageContent";
|
|
887
866
|
url?: string | undefined;
|
|
888
867
|
credits?: string | null | undefined;
|
|
889
868
|
alt?: string | null | undefined;
|
|
@@ -910,6 +889,7 @@ declare const NestableContentSchema: t.Type<{
|
|
|
910
889
|
alt?: string | null | undefined;
|
|
911
890
|
provider?: string | null | undefined;
|
|
912
891
|
}> | undefined;
|
|
892
|
+
__TYPE__: "ImageContent";
|
|
913
893
|
} | {
|
|
914
894
|
__TYPE__: "IntegrationFieldsContent";
|
|
915
895
|
value: string;
|
|
@@ -917,9 +897,17 @@ declare const NestableContentSchema: t.Type<{
|
|
|
917
897
|
__TYPE__: "LinkContent";
|
|
918
898
|
key: string;
|
|
919
899
|
value: {
|
|
920
|
-
variant?: string | undefined;
|
|
921
900
|
text?: string | undefined;
|
|
901
|
+
variant?: string | undefined;
|
|
922
902
|
} & LinkContentValue;
|
|
903
|
+
} | {
|
|
904
|
+
type: "Number";
|
|
905
|
+
value: string;
|
|
906
|
+
__TYPE__: "FieldContent";
|
|
907
|
+
} | {
|
|
908
|
+
type: "Range";
|
|
909
|
+
value: string;
|
|
910
|
+
__TYPE__: "FieldContent";
|
|
923
911
|
} | {
|
|
924
912
|
__TYPE__: "RepeatableContent";
|
|
925
913
|
type: "Link";
|
|
@@ -927,13 +915,14 @@ declare const NestableContentSchema: t.Type<{
|
|
|
927
915
|
__TYPE__: "LinkContent";
|
|
928
916
|
key: string;
|
|
929
917
|
value: {
|
|
930
|
-
variant?: string | undefined;
|
|
931
918
|
text?: string | undefined;
|
|
919
|
+
variant?: string | undefined;
|
|
932
920
|
} & LinkContentValue;
|
|
933
921
|
}[];
|
|
934
922
|
} | {
|
|
935
|
-
|
|
936
|
-
value:
|
|
923
|
+
type: "Select";
|
|
924
|
+
value: string;
|
|
925
|
+
__TYPE__: "FieldContent";
|
|
937
926
|
} | {
|
|
938
927
|
__TYPE__: "SeparatorContent";
|
|
939
928
|
} | {
|
|
@@ -943,7 +932,7 @@ declare const NestableContentSchema: t.Type<{
|
|
|
943
932
|
type: "tableRow";
|
|
944
933
|
content: {
|
|
945
934
|
key: string;
|
|
946
|
-
type: "
|
|
935
|
+
type: "tableCell" | "tableHeader";
|
|
947
936
|
content: {
|
|
948
937
|
__TYPE__: "StructuredTextContent";
|
|
949
938
|
value: RichTextContentBlock[];
|
|
@@ -951,45 +940,34 @@ declare const NestableContentSchema: t.Type<{
|
|
|
951
940
|
columnWidth?: number | undefined;
|
|
952
941
|
}[];
|
|
953
942
|
}[];
|
|
954
|
-
}
|
|
943
|
+
} | {
|
|
955
944
|
type: "Text";
|
|
956
945
|
value: string;
|
|
957
946
|
__TYPE__: "FieldContent";
|
|
958
947
|
} | {
|
|
959
|
-
type: "
|
|
948
|
+
type: "Timestamp";
|
|
960
949
|
value: string;
|
|
961
950
|
__TYPE__: "FieldContent";
|
|
962
951
|
} | {
|
|
963
|
-
|
|
964
|
-
value:
|
|
965
|
-
|
|
966
|
-
|
|
967
|
-
|
|
968
|
-
value: string;
|
|
969
|
-
__TYPE__: "FieldContent";
|
|
952
|
+
__TYPE__: "StructuredTextContent";
|
|
953
|
+
value: RichTextContentBlock[];
|
|
954
|
+
}, {
|
|
955
|
+
type: string;
|
|
956
|
+
__TYPE__: "EmptyContent";
|
|
970
957
|
} | {
|
|
971
|
-
|
|
972
|
-
value:
|
|
973
|
-
__TYPE__: "FieldContent";
|
|
958
|
+
__TYPE__: "BooleanContent";
|
|
959
|
+
value: boolean;
|
|
974
960
|
} | {
|
|
975
|
-
type: "
|
|
961
|
+
type: "Color";
|
|
976
962
|
value: string;
|
|
977
963
|
__TYPE__: "FieldContent";
|
|
978
964
|
} | {
|
|
979
|
-
type: "
|
|
965
|
+
type: "Date";
|
|
980
966
|
value: string;
|
|
981
967
|
__TYPE__: "FieldContent";
|
|
982
|
-
} | {
|
|
983
|
-
type: string;
|
|
984
|
-
__TYPE__: "EmptyContent";
|
|
985
|
-
} | {
|
|
986
|
-
__TYPE__: "BooleanContent";
|
|
987
|
-
value: boolean;
|
|
988
968
|
} | {
|
|
989
969
|
embed_url: string;
|
|
990
970
|
type: string;
|
|
991
|
-
__TYPE__: "EmbedContent";
|
|
992
|
-
all: unknown;
|
|
993
971
|
version?: string | number | null | undefined;
|
|
994
972
|
title?: string | null | undefined;
|
|
995
973
|
author_name?: string | null | undefined;
|
|
@@ -1001,6 +979,8 @@ declare const NestableContentSchema: t.Type<{
|
|
|
1001
979
|
thumbnail_width?: number | null | undefined;
|
|
1002
980
|
thumbnail_height?: number | null | undefined;
|
|
1003
981
|
html?: string | null | undefined;
|
|
982
|
+
__TYPE__: "EmbedContent";
|
|
983
|
+
all: unknown;
|
|
1004
984
|
} | {
|
|
1005
985
|
position: {
|
|
1006
986
|
lat: number;
|
|
@@ -1024,7 +1004,6 @@ declare const NestableContentSchema: t.Type<{
|
|
|
1024
1004
|
};
|
|
1025
1005
|
background: string;
|
|
1026
1006
|
};
|
|
1027
|
-
__TYPE__: "ImageContent";
|
|
1028
1007
|
url?: string | undefined;
|
|
1029
1008
|
credits?: string | null | undefined;
|
|
1030
1009
|
alt?: string | null | undefined;
|
|
@@ -1051,6 +1030,7 @@ declare const NestableContentSchema: t.Type<{
|
|
|
1051
1030
|
alt?: string | null | undefined;
|
|
1052
1031
|
provider?: string | null | undefined;
|
|
1053
1032
|
}> | undefined;
|
|
1033
|
+
__TYPE__: "ImageContent";
|
|
1054
1034
|
} | {
|
|
1055
1035
|
__TYPE__: "IntegrationFieldsContent";
|
|
1056
1036
|
value: string;
|
|
@@ -1058,9 +1038,17 @@ declare const NestableContentSchema: t.Type<{
|
|
|
1058
1038
|
__TYPE__: "LinkContent";
|
|
1059
1039
|
key: string;
|
|
1060
1040
|
value: {
|
|
1061
|
-
variant?: string | undefined;
|
|
1062
1041
|
text?: string | undefined;
|
|
1042
|
+
variant?: string | undefined;
|
|
1063
1043
|
} & LinkContentValue;
|
|
1044
|
+
} | {
|
|
1045
|
+
type: "Number";
|
|
1046
|
+
value: string;
|
|
1047
|
+
__TYPE__: "FieldContent";
|
|
1048
|
+
} | {
|
|
1049
|
+
type: "Range";
|
|
1050
|
+
value: string;
|
|
1051
|
+
__TYPE__: "FieldContent";
|
|
1064
1052
|
} | {
|
|
1065
1053
|
__TYPE__: "RepeatableContent";
|
|
1066
1054
|
type: "Link";
|
|
@@ -1068,13 +1056,14 @@ declare const NestableContentSchema: t.Type<{
|
|
|
1068
1056
|
__TYPE__: "LinkContent";
|
|
1069
1057
|
key: string;
|
|
1070
1058
|
value: {
|
|
1071
|
-
variant?: string | undefined;
|
|
1072
1059
|
text?: string | undefined;
|
|
1060
|
+
variant?: string | undefined;
|
|
1073
1061
|
} & LinkContentValue;
|
|
1074
1062
|
}[];
|
|
1075
1063
|
} | {
|
|
1076
|
-
|
|
1077
|
-
value:
|
|
1064
|
+
type: "Select";
|
|
1065
|
+
value: string;
|
|
1066
|
+
__TYPE__: "FieldContent";
|
|
1078
1067
|
} | {
|
|
1079
1068
|
__TYPE__: "SeparatorContent";
|
|
1080
1069
|
} | {
|
|
@@ -1084,7 +1073,7 @@ declare const NestableContentSchema: t.Type<{
|
|
|
1084
1073
|
type: "tableRow";
|
|
1085
1074
|
content: {
|
|
1086
1075
|
key: string;
|
|
1087
|
-
type: "
|
|
1076
|
+
type: "tableCell" | "tableHeader";
|
|
1088
1077
|
content: {
|
|
1089
1078
|
__TYPE__: "StructuredTextContent";
|
|
1090
1079
|
value: RichTextContentBlock[];
|
|
@@ -1092,6 +1081,17 @@ declare const NestableContentSchema: t.Type<{
|
|
|
1092
1081
|
columnWidth?: number | undefined;
|
|
1093
1082
|
}[];
|
|
1094
1083
|
}[];
|
|
1084
|
+
} | {
|
|
1085
|
+
type: "Text";
|
|
1086
|
+
value: string;
|
|
1087
|
+
__TYPE__: "FieldContent";
|
|
1088
|
+
} | {
|
|
1089
|
+
type: "Timestamp";
|
|
1090
|
+
value: string;
|
|
1091
|
+
__TYPE__: "FieldContent";
|
|
1092
|
+
} | {
|
|
1093
|
+
__TYPE__: "StructuredTextContent";
|
|
1094
|
+
value: RichTextContentBlock[];
|
|
1095
1095
|
}, unknown>;
|
|
1096
1096
|
declare const GroupContentSchema: t.Type<{
|
|
1097
1097
|
__TYPE__: "GroupContentType";
|
|
@@ -1104,9 +1104,11 @@ declare const GroupItemContentSchema: t.Type<GroupItemContent, GroupItemContent,
|
|
|
1104
1104
|
declare const CompositeSliceContentSchema: t.Type<{
|
|
1105
1105
|
__TYPE__: "CompositeSliceContent";
|
|
1106
1106
|
nonRepeat: Record<string, {
|
|
1107
|
-
type:
|
|
1108
|
-
|
|
1109
|
-
|
|
1107
|
+
type: string;
|
|
1108
|
+
__TYPE__: "EmptyContent";
|
|
1109
|
+
} | {
|
|
1110
|
+
__TYPE__: "BooleanContent";
|
|
1111
|
+
value: boolean;
|
|
1110
1112
|
} | {
|
|
1111
1113
|
type: "Color";
|
|
1112
1114
|
value: string;
|
|
@@ -1115,33 +1117,9 @@ declare const CompositeSliceContentSchema: t.Type<{
|
|
|
1115
1117
|
type: "Date";
|
|
1116
1118
|
value: string;
|
|
1117
1119
|
__TYPE__: "FieldContent";
|
|
1118
|
-
} | {
|
|
1119
|
-
type: "Timestamp";
|
|
1120
|
-
value: string;
|
|
1121
|
-
__TYPE__: "FieldContent";
|
|
1122
|
-
} | {
|
|
1123
|
-
type: "Number";
|
|
1124
|
-
value: string;
|
|
1125
|
-
__TYPE__: "FieldContent";
|
|
1126
|
-
} | {
|
|
1127
|
-
type: "Range";
|
|
1128
|
-
value: string;
|
|
1129
|
-
__TYPE__: "FieldContent";
|
|
1130
|
-
} | {
|
|
1131
|
-
type: "Select";
|
|
1132
|
-
value: string;
|
|
1133
|
-
__TYPE__: "FieldContent";
|
|
1134
|
-
} | {
|
|
1135
|
-
type: string;
|
|
1136
|
-
__TYPE__: "EmptyContent";
|
|
1137
|
-
} | {
|
|
1138
|
-
__TYPE__: "BooleanContent";
|
|
1139
|
-
value: boolean;
|
|
1140
1120
|
} | {
|
|
1141
1121
|
embed_url: string;
|
|
1142
1122
|
type: string;
|
|
1143
|
-
__TYPE__: "EmbedContent";
|
|
1144
|
-
all: unknown;
|
|
1145
1123
|
version?: string | number | null | undefined;
|
|
1146
1124
|
title?: string | null | undefined;
|
|
1147
1125
|
author_name?: string | null | undefined;
|
|
@@ -1153,6 +1131,8 @@ declare const CompositeSliceContentSchema: t.Type<{
|
|
|
1153
1131
|
thumbnail_width?: number | null | undefined;
|
|
1154
1132
|
thumbnail_height?: number | null | undefined;
|
|
1155
1133
|
html?: string | null | undefined;
|
|
1134
|
+
__TYPE__: "EmbedContent";
|
|
1135
|
+
all: unknown;
|
|
1156
1136
|
} | {
|
|
1157
1137
|
position: {
|
|
1158
1138
|
lat: number;
|
|
@@ -1176,7 +1156,6 @@ declare const CompositeSliceContentSchema: t.Type<{
|
|
|
1176
1156
|
};
|
|
1177
1157
|
background: string;
|
|
1178
1158
|
};
|
|
1179
|
-
__TYPE__: "ImageContent";
|
|
1180
1159
|
url?: string | undefined;
|
|
1181
1160
|
credits?: string | null | undefined;
|
|
1182
1161
|
alt?: string | null | undefined;
|
|
@@ -1203,6 +1182,7 @@ declare const CompositeSliceContentSchema: t.Type<{
|
|
|
1203
1182
|
alt?: string | null | undefined;
|
|
1204
1183
|
provider?: string | null | undefined;
|
|
1205
1184
|
}> | undefined;
|
|
1185
|
+
__TYPE__: "ImageContent";
|
|
1206
1186
|
} | {
|
|
1207
1187
|
__TYPE__: "IntegrationFieldsContent";
|
|
1208
1188
|
value: string;
|
|
@@ -1210,9 +1190,17 @@ declare const CompositeSliceContentSchema: t.Type<{
|
|
|
1210
1190
|
__TYPE__: "LinkContent";
|
|
1211
1191
|
key: string;
|
|
1212
1192
|
value: {
|
|
1213
|
-
variant?: string | undefined;
|
|
1214
1193
|
text?: string | undefined;
|
|
1194
|
+
variant?: string | undefined;
|
|
1215
1195
|
} & LinkContentValue;
|
|
1196
|
+
} | {
|
|
1197
|
+
type: "Number";
|
|
1198
|
+
value: string;
|
|
1199
|
+
__TYPE__: "FieldContent";
|
|
1200
|
+
} | {
|
|
1201
|
+
type: "Range";
|
|
1202
|
+
value: string;
|
|
1203
|
+
__TYPE__: "FieldContent";
|
|
1216
1204
|
} | {
|
|
1217
1205
|
__TYPE__: "RepeatableContent";
|
|
1218
1206
|
type: "Link";
|
|
@@ -1220,13 +1208,14 @@ declare const CompositeSliceContentSchema: t.Type<{
|
|
|
1220
1208
|
__TYPE__: "LinkContent";
|
|
1221
1209
|
key: string;
|
|
1222
1210
|
value: {
|
|
1223
|
-
variant?: string | undefined;
|
|
1224
1211
|
text?: string | undefined;
|
|
1212
|
+
variant?: string | undefined;
|
|
1225
1213
|
} & LinkContentValue;
|
|
1226
1214
|
}[];
|
|
1227
1215
|
} | {
|
|
1228
|
-
|
|
1229
|
-
value:
|
|
1216
|
+
type: "Select";
|
|
1217
|
+
value: string;
|
|
1218
|
+
__TYPE__: "FieldContent";
|
|
1230
1219
|
} | {
|
|
1231
1220
|
__TYPE__: "SeparatorContent";
|
|
1232
1221
|
} | {
|
|
@@ -1236,7 +1225,7 @@ declare const CompositeSliceContentSchema: t.Type<{
|
|
|
1236
1225
|
type: "tableRow";
|
|
1237
1226
|
content: {
|
|
1238
1227
|
key: string;
|
|
1239
|
-
type: "
|
|
1228
|
+
type: "tableCell" | "tableHeader";
|
|
1240
1229
|
content: {
|
|
1241
1230
|
__TYPE__: "StructuredTextContent";
|
|
1242
1231
|
value: RichTextContentBlock[];
|
|
@@ -1244,20 +1233,8 @@ declare const CompositeSliceContentSchema: t.Type<{
|
|
|
1244
1233
|
columnWidth?: number | undefined;
|
|
1245
1234
|
}[];
|
|
1246
1235
|
}[];
|
|
1247
|
-
}>;
|
|
1248
|
-
repeat: GroupItemContent[];
|
|
1249
|
-
}, {
|
|
1250
|
-
__TYPE__: "CompositeSliceContent";
|
|
1251
|
-
nonRepeat: Record<string, {
|
|
1252
|
-
type: "Text";
|
|
1253
|
-
value: string;
|
|
1254
|
-
__TYPE__: "FieldContent";
|
|
1255
1236
|
} | {
|
|
1256
|
-
type: "
|
|
1257
|
-
value: string;
|
|
1258
|
-
__TYPE__: "FieldContent";
|
|
1259
|
-
} | {
|
|
1260
|
-
type: "Date";
|
|
1237
|
+
type: "Text";
|
|
1261
1238
|
value: string;
|
|
1262
1239
|
__TYPE__: "FieldContent";
|
|
1263
1240
|
} | {
|
|
@@ -1265,28 +1242,29 @@ declare const CompositeSliceContentSchema: t.Type<{
|
|
|
1265
1242
|
value: string;
|
|
1266
1243
|
__TYPE__: "FieldContent";
|
|
1267
1244
|
} | {
|
|
1268
|
-
|
|
1269
|
-
value:
|
|
1270
|
-
|
|
1245
|
+
__TYPE__: "StructuredTextContent";
|
|
1246
|
+
value: RichTextContentBlock[];
|
|
1247
|
+
}>;
|
|
1248
|
+
repeat: GroupItemContent[];
|
|
1249
|
+
}, {
|
|
1250
|
+
__TYPE__: "CompositeSliceContent";
|
|
1251
|
+
nonRepeat: Record<string, {
|
|
1252
|
+
type: string;
|
|
1253
|
+
__TYPE__: "EmptyContent";
|
|
1271
1254
|
} | {
|
|
1272
|
-
|
|
1255
|
+
__TYPE__: "BooleanContent";
|
|
1256
|
+
value: boolean;
|
|
1257
|
+
} | {
|
|
1258
|
+
type: "Color";
|
|
1273
1259
|
value: string;
|
|
1274
1260
|
__TYPE__: "FieldContent";
|
|
1275
1261
|
} | {
|
|
1276
|
-
type: "
|
|
1262
|
+
type: "Date";
|
|
1277
1263
|
value: string;
|
|
1278
1264
|
__TYPE__: "FieldContent";
|
|
1279
|
-
} | {
|
|
1280
|
-
type: string;
|
|
1281
|
-
__TYPE__: "EmptyContent";
|
|
1282
|
-
} | {
|
|
1283
|
-
__TYPE__: "BooleanContent";
|
|
1284
|
-
value: boolean;
|
|
1285
1265
|
} | {
|
|
1286
1266
|
embed_url: string;
|
|
1287
1267
|
type: string;
|
|
1288
|
-
__TYPE__: "EmbedContent";
|
|
1289
|
-
all: unknown;
|
|
1290
1268
|
version?: string | number | null | undefined;
|
|
1291
1269
|
title?: string | null | undefined;
|
|
1292
1270
|
author_name?: string | null | undefined;
|
|
@@ -1298,6 +1276,8 @@ declare const CompositeSliceContentSchema: t.Type<{
|
|
|
1298
1276
|
thumbnail_width?: number | null | undefined;
|
|
1299
1277
|
thumbnail_height?: number | null | undefined;
|
|
1300
1278
|
html?: string | null | undefined;
|
|
1279
|
+
__TYPE__: "EmbedContent";
|
|
1280
|
+
all: unknown;
|
|
1301
1281
|
} | {
|
|
1302
1282
|
position: {
|
|
1303
1283
|
lat: number;
|
|
@@ -1321,7 +1301,6 @@ declare const CompositeSliceContentSchema: t.Type<{
|
|
|
1321
1301
|
};
|
|
1322
1302
|
background: string;
|
|
1323
1303
|
};
|
|
1324
|
-
__TYPE__: "ImageContent";
|
|
1325
1304
|
url?: string | undefined;
|
|
1326
1305
|
credits?: string | null | undefined;
|
|
1327
1306
|
alt?: string | null | undefined;
|
|
@@ -1348,6 +1327,7 @@ declare const CompositeSliceContentSchema: t.Type<{
|
|
|
1348
1327
|
alt?: string | null | undefined;
|
|
1349
1328
|
provider?: string | null | undefined;
|
|
1350
1329
|
}> | undefined;
|
|
1330
|
+
__TYPE__: "ImageContent";
|
|
1351
1331
|
} | {
|
|
1352
1332
|
__TYPE__: "IntegrationFieldsContent";
|
|
1353
1333
|
value: string;
|
|
@@ -1355,9 +1335,17 @@ declare const CompositeSliceContentSchema: t.Type<{
|
|
|
1355
1335
|
__TYPE__: "LinkContent";
|
|
1356
1336
|
key: string;
|
|
1357
1337
|
value: {
|
|
1358
|
-
variant?: string | undefined;
|
|
1359
1338
|
text?: string | undefined;
|
|
1339
|
+
variant?: string | undefined;
|
|
1360
1340
|
} & LinkContentValue;
|
|
1341
|
+
} | {
|
|
1342
|
+
type: "Number";
|
|
1343
|
+
value: string;
|
|
1344
|
+
__TYPE__: "FieldContent";
|
|
1345
|
+
} | {
|
|
1346
|
+
type: "Range";
|
|
1347
|
+
value: string;
|
|
1348
|
+
__TYPE__: "FieldContent";
|
|
1361
1349
|
} | {
|
|
1362
1350
|
__TYPE__: "RepeatableContent";
|
|
1363
1351
|
type: "Link";
|
|
@@ -1365,13 +1353,14 @@ declare const CompositeSliceContentSchema: t.Type<{
|
|
|
1365
1353
|
__TYPE__: "LinkContent";
|
|
1366
1354
|
key: string;
|
|
1367
1355
|
value: {
|
|
1368
|
-
variant?: string | undefined;
|
|
1369
1356
|
text?: string | undefined;
|
|
1357
|
+
variant?: string | undefined;
|
|
1370
1358
|
} & LinkContentValue;
|
|
1371
1359
|
}[];
|
|
1372
1360
|
} | {
|
|
1373
|
-
|
|
1374
|
-
value:
|
|
1361
|
+
type: "Select";
|
|
1362
|
+
value: string;
|
|
1363
|
+
__TYPE__: "FieldContent";
|
|
1375
1364
|
} | {
|
|
1376
1365
|
__TYPE__: "SeparatorContent";
|
|
1377
1366
|
} | {
|
|
@@ -1381,7 +1370,7 @@ declare const CompositeSliceContentSchema: t.Type<{
|
|
|
1381
1370
|
type: "tableRow";
|
|
1382
1371
|
content: {
|
|
1383
1372
|
key: string;
|
|
1384
|
-
type: "
|
|
1373
|
+
type: "tableCell" | "tableHeader";
|
|
1385
1374
|
content: {
|
|
1386
1375
|
__TYPE__: "StructuredTextContent";
|
|
1387
1376
|
value: RichTextContentBlock[];
|
|
@@ -1389,48 +1378,40 @@ declare const CompositeSliceContentSchema: t.Type<{
|
|
|
1389
1378
|
columnWidth?: number | undefined;
|
|
1390
1379
|
}[];
|
|
1391
1380
|
}[];
|
|
1381
|
+
} | {
|
|
1382
|
+
type: "Text";
|
|
1383
|
+
value: string;
|
|
1384
|
+
__TYPE__: "FieldContent";
|
|
1385
|
+
} | {
|
|
1386
|
+
type: "Timestamp";
|
|
1387
|
+
value: string;
|
|
1388
|
+
__TYPE__: "FieldContent";
|
|
1389
|
+
} | {
|
|
1390
|
+
__TYPE__: "StructuredTextContent";
|
|
1391
|
+
value: RichTextContentBlock[];
|
|
1392
1392
|
}>;
|
|
1393
1393
|
repeat: GroupItemContent[];
|
|
1394
1394
|
}, unknown>;
|
|
1395
1395
|
declare const LegacySliceContentSchema: t.Type<{
|
|
1396
|
-
|
|
1397
|
-
value:
|
|
1398
|
-
__TYPE__: "FieldContent";
|
|
1399
|
-
} | {
|
|
1400
|
-
type: "Color";
|
|
1401
|
-
value: string;
|
|
1402
|
-
__TYPE__: "FieldContent";
|
|
1403
|
-
} | {
|
|
1404
|
-
type: "Date";
|
|
1405
|
-
value: string;
|
|
1406
|
-
__TYPE__: "FieldContent";
|
|
1396
|
+
__TYPE__: "GroupContentType";
|
|
1397
|
+
value: GroupItemContent[];
|
|
1407
1398
|
} | {
|
|
1408
|
-
type:
|
|
1409
|
-
|
|
1410
|
-
__TYPE__: "FieldContent";
|
|
1399
|
+
type: string;
|
|
1400
|
+
__TYPE__: "EmptyContent";
|
|
1411
1401
|
} | {
|
|
1412
|
-
|
|
1413
|
-
value:
|
|
1414
|
-
__TYPE__: "FieldContent";
|
|
1402
|
+
__TYPE__: "BooleanContent";
|
|
1403
|
+
value: boolean;
|
|
1415
1404
|
} | {
|
|
1416
|
-
type: "
|
|
1405
|
+
type: "Color";
|
|
1417
1406
|
value: string;
|
|
1418
1407
|
__TYPE__: "FieldContent";
|
|
1419
1408
|
} | {
|
|
1420
|
-
type: "
|
|
1409
|
+
type: "Date";
|
|
1421
1410
|
value: string;
|
|
1422
1411
|
__TYPE__: "FieldContent";
|
|
1423
|
-
} | {
|
|
1424
|
-
type: string;
|
|
1425
|
-
__TYPE__: "EmptyContent";
|
|
1426
|
-
} | {
|
|
1427
|
-
__TYPE__: "BooleanContent";
|
|
1428
|
-
value: boolean;
|
|
1429
1412
|
} | {
|
|
1430
1413
|
embed_url: string;
|
|
1431
1414
|
type: string;
|
|
1432
|
-
__TYPE__: "EmbedContent";
|
|
1433
|
-
all: unknown;
|
|
1434
1415
|
version?: string | number | null | undefined;
|
|
1435
1416
|
title?: string | null | undefined;
|
|
1436
1417
|
author_name?: string | null | undefined;
|
|
@@ -1442,6 +1423,8 @@ declare const LegacySliceContentSchema: t.Type<{
|
|
|
1442
1423
|
thumbnail_width?: number | null | undefined;
|
|
1443
1424
|
thumbnail_height?: number | null | undefined;
|
|
1444
1425
|
html?: string | null | undefined;
|
|
1426
|
+
__TYPE__: "EmbedContent";
|
|
1427
|
+
all: unknown;
|
|
1445
1428
|
} | {
|
|
1446
1429
|
position: {
|
|
1447
1430
|
lat: number;
|
|
@@ -1465,7 +1448,6 @@ declare const LegacySliceContentSchema: t.Type<{
|
|
|
1465
1448
|
};
|
|
1466
1449
|
background: string;
|
|
1467
1450
|
};
|
|
1468
|
-
__TYPE__: "ImageContent";
|
|
1469
1451
|
url?: string | undefined;
|
|
1470
1452
|
credits?: string | null | undefined;
|
|
1471
1453
|
alt?: string | null | undefined;
|
|
@@ -1492,6 +1474,7 @@ declare const LegacySliceContentSchema: t.Type<{
|
|
|
1492
1474
|
alt?: string | null | undefined;
|
|
1493
1475
|
provider?: string | null | undefined;
|
|
1494
1476
|
}> | undefined;
|
|
1477
|
+
__TYPE__: "ImageContent";
|
|
1495
1478
|
} | {
|
|
1496
1479
|
__TYPE__: "IntegrationFieldsContent";
|
|
1497
1480
|
value: string;
|
|
@@ -1499,9 +1482,17 @@ declare const LegacySliceContentSchema: t.Type<{
|
|
|
1499
1482
|
__TYPE__: "LinkContent";
|
|
1500
1483
|
key: string;
|
|
1501
1484
|
value: {
|
|
1502
|
-
variant?: string | undefined;
|
|
1503
1485
|
text?: string | undefined;
|
|
1486
|
+
variant?: string | undefined;
|
|
1504
1487
|
} & LinkContentValue;
|
|
1488
|
+
} | {
|
|
1489
|
+
type: "Number";
|
|
1490
|
+
value: string;
|
|
1491
|
+
__TYPE__: "FieldContent";
|
|
1492
|
+
} | {
|
|
1493
|
+
type: "Range";
|
|
1494
|
+
value: string;
|
|
1495
|
+
__TYPE__: "FieldContent";
|
|
1505
1496
|
} | {
|
|
1506
1497
|
__TYPE__: "RepeatableContent";
|
|
1507
1498
|
type: "Link";
|
|
@@ -1509,13 +1500,14 @@ declare const LegacySliceContentSchema: t.Type<{
|
|
|
1509
1500
|
__TYPE__: "LinkContent";
|
|
1510
1501
|
key: string;
|
|
1511
1502
|
value: {
|
|
1512
|
-
variant?: string | undefined;
|
|
1513
1503
|
text?: string | undefined;
|
|
1504
|
+
variant?: string | undefined;
|
|
1514
1505
|
} & LinkContentValue;
|
|
1515
1506
|
}[];
|
|
1516
1507
|
} | {
|
|
1517
|
-
|
|
1518
|
-
value:
|
|
1508
|
+
type: "Select";
|
|
1509
|
+
value: string;
|
|
1510
|
+
__TYPE__: "FieldContent";
|
|
1519
1511
|
} | {
|
|
1520
1512
|
__TYPE__: "SeparatorContent";
|
|
1521
1513
|
} | {
|
|
@@ -1525,7 +1517,7 @@ declare const LegacySliceContentSchema: t.Type<{
|
|
|
1525
1517
|
type: "tableRow";
|
|
1526
1518
|
content: {
|
|
1527
1519
|
key: string;
|
|
1528
|
-
type: "
|
|
1520
|
+
type: "tableCell" | "tableHeader";
|
|
1529
1521
|
content: {
|
|
1530
1522
|
__TYPE__: "StructuredTextContent";
|
|
1531
1523
|
value: RichTextContentBlock[];
|
|
@@ -1534,47 +1526,36 @@ declare const LegacySliceContentSchema: t.Type<{
|
|
|
1534
1526
|
}[];
|
|
1535
1527
|
}[];
|
|
1536
1528
|
} | {
|
|
1537
|
-
__TYPE__: "GroupContentType";
|
|
1538
|
-
value: GroupItemContent[];
|
|
1539
|
-
}, {
|
|
1540
1529
|
type: "Text";
|
|
1541
1530
|
value: string;
|
|
1542
1531
|
__TYPE__: "FieldContent";
|
|
1543
1532
|
} | {
|
|
1544
|
-
type: "
|
|
1533
|
+
type: "Timestamp";
|
|
1545
1534
|
value: string;
|
|
1546
1535
|
__TYPE__: "FieldContent";
|
|
1547
1536
|
} | {
|
|
1548
|
-
|
|
1549
|
-
value:
|
|
1550
|
-
|
|
1537
|
+
__TYPE__: "StructuredTextContent";
|
|
1538
|
+
value: RichTextContentBlock[];
|
|
1539
|
+
}, {
|
|
1540
|
+
__TYPE__: "GroupContentType";
|
|
1541
|
+
value: GroupItemContent[];
|
|
1551
1542
|
} | {
|
|
1552
|
-
type:
|
|
1553
|
-
|
|
1554
|
-
__TYPE__: "FieldContent";
|
|
1543
|
+
type: string;
|
|
1544
|
+
__TYPE__: "EmptyContent";
|
|
1555
1545
|
} | {
|
|
1556
|
-
|
|
1557
|
-
value:
|
|
1558
|
-
__TYPE__: "FieldContent";
|
|
1546
|
+
__TYPE__: "BooleanContent";
|
|
1547
|
+
value: boolean;
|
|
1559
1548
|
} | {
|
|
1560
|
-
type: "
|
|
1549
|
+
type: "Color";
|
|
1561
1550
|
value: string;
|
|
1562
1551
|
__TYPE__: "FieldContent";
|
|
1563
1552
|
} | {
|
|
1564
|
-
type: "
|
|
1553
|
+
type: "Date";
|
|
1565
1554
|
value: string;
|
|
1566
1555
|
__TYPE__: "FieldContent";
|
|
1567
|
-
} | {
|
|
1568
|
-
type: string;
|
|
1569
|
-
__TYPE__: "EmptyContent";
|
|
1570
|
-
} | {
|
|
1571
|
-
__TYPE__: "BooleanContent";
|
|
1572
|
-
value: boolean;
|
|
1573
1556
|
} | {
|
|
1574
1557
|
embed_url: string;
|
|
1575
1558
|
type: string;
|
|
1576
|
-
__TYPE__: "EmbedContent";
|
|
1577
|
-
all: unknown;
|
|
1578
1559
|
version?: string | number | null | undefined;
|
|
1579
1560
|
title?: string | null | undefined;
|
|
1580
1561
|
author_name?: string | null | undefined;
|
|
@@ -1586,6 +1567,8 @@ declare const LegacySliceContentSchema: t.Type<{
|
|
|
1586
1567
|
thumbnail_width?: number | null | undefined;
|
|
1587
1568
|
thumbnail_height?: number | null | undefined;
|
|
1588
1569
|
html?: string | null | undefined;
|
|
1570
|
+
__TYPE__: "EmbedContent";
|
|
1571
|
+
all: unknown;
|
|
1589
1572
|
} | {
|
|
1590
1573
|
position: {
|
|
1591
1574
|
lat: number;
|
|
@@ -1609,7 +1592,6 @@ declare const LegacySliceContentSchema: t.Type<{
|
|
|
1609
1592
|
};
|
|
1610
1593
|
background: string;
|
|
1611
1594
|
};
|
|
1612
|
-
__TYPE__: "ImageContent";
|
|
1613
1595
|
url?: string | undefined;
|
|
1614
1596
|
credits?: string | null | undefined;
|
|
1615
1597
|
alt?: string | null | undefined;
|
|
@@ -1636,6 +1618,7 @@ declare const LegacySliceContentSchema: t.Type<{
|
|
|
1636
1618
|
alt?: string | null | undefined;
|
|
1637
1619
|
provider?: string | null | undefined;
|
|
1638
1620
|
}> | undefined;
|
|
1621
|
+
__TYPE__: "ImageContent";
|
|
1639
1622
|
} | {
|
|
1640
1623
|
__TYPE__: "IntegrationFieldsContent";
|
|
1641
1624
|
value: string;
|
|
@@ -1643,9 +1626,17 @@ declare const LegacySliceContentSchema: t.Type<{
|
|
|
1643
1626
|
__TYPE__: "LinkContent";
|
|
1644
1627
|
key: string;
|
|
1645
1628
|
value: {
|
|
1646
|
-
variant?: string | undefined;
|
|
1647
1629
|
text?: string | undefined;
|
|
1630
|
+
variant?: string | undefined;
|
|
1648
1631
|
} & LinkContentValue;
|
|
1632
|
+
} | {
|
|
1633
|
+
type: "Number";
|
|
1634
|
+
value: string;
|
|
1635
|
+
__TYPE__: "FieldContent";
|
|
1636
|
+
} | {
|
|
1637
|
+
type: "Range";
|
|
1638
|
+
value: string;
|
|
1639
|
+
__TYPE__: "FieldContent";
|
|
1649
1640
|
} | {
|
|
1650
1641
|
__TYPE__: "RepeatableContent";
|
|
1651
1642
|
type: "Link";
|
|
@@ -1653,13 +1644,14 @@ declare const LegacySliceContentSchema: t.Type<{
|
|
|
1653
1644
|
__TYPE__: "LinkContent";
|
|
1654
1645
|
key: string;
|
|
1655
1646
|
value: {
|
|
1656
|
-
variant?: string | undefined;
|
|
1657
1647
|
text?: string | undefined;
|
|
1648
|
+
variant?: string | undefined;
|
|
1658
1649
|
} & LinkContentValue;
|
|
1659
1650
|
}[];
|
|
1660
1651
|
} | {
|
|
1661
|
-
|
|
1662
|
-
value:
|
|
1652
|
+
type: "Select";
|
|
1653
|
+
value: string;
|
|
1654
|
+
__TYPE__: "FieldContent";
|
|
1663
1655
|
} | {
|
|
1664
1656
|
__TYPE__: "SeparatorContent";
|
|
1665
1657
|
} | {
|
|
@@ -1669,7 +1661,7 @@ declare const LegacySliceContentSchema: t.Type<{
|
|
|
1669
1661
|
type: "tableRow";
|
|
1670
1662
|
content: {
|
|
1671
1663
|
key: string;
|
|
1672
|
-
type: "
|
|
1664
|
+
type: "tableCell" | "tableHeader";
|
|
1673
1665
|
content: {
|
|
1674
1666
|
__TYPE__: "StructuredTextContent";
|
|
1675
1667
|
value: RichTextContentBlock[];
|
|
@@ -1678,52 +1670,42 @@ declare const LegacySliceContentSchema: t.Type<{
|
|
|
1678
1670
|
}[];
|
|
1679
1671
|
}[];
|
|
1680
1672
|
} | {
|
|
1681
|
-
|
|
1682
|
-
value:
|
|
1673
|
+
type: "Text";
|
|
1674
|
+
value: string;
|
|
1675
|
+
__TYPE__: "FieldContent";
|
|
1676
|
+
} | {
|
|
1677
|
+
type: "Timestamp";
|
|
1678
|
+
value: string;
|
|
1679
|
+
__TYPE__: "FieldContent";
|
|
1680
|
+
} | {
|
|
1681
|
+
__TYPE__: "StructuredTextContent";
|
|
1682
|
+
value: RichTextContentBlock[];
|
|
1683
1683
|
}, unknown>;
|
|
1684
1684
|
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
|
-
value:
|
|
1691
|
-
__TYPE__: "FieldContent";
|
|
1692
|
-
} | {
|
|
1693
|
-
type: "Color";
|
|
1694
|
-
value: string;
|
|
1695
|
-
__TYPE__: "FieldContent";
|
|
1696
|
-
} | {
|
|
1697
|
-
type: "Date";
|
|
1698
|
-
value: string;
|
|
1699
|
-
__TYPE__: "FieldContent";
|
|
1700
|
-
} | {
|
|
1701
|
-
type: "Timestamp";
|
|
1702
|
-
value: string;
|
|
1703
|
-
__TYPE__: "FieldContent";
|
|
1704
|
-
} | {
|
|
1705
|
-
type: "Number";
|
|
1706
|
-
value: string;
|
|
1707
|
-
__TYPE__: "FieldContent";
|
|
1708
|
-
} | {
|
|
1709
|
-
type: "Range";
|
|
1710
|
-
value: string;
|
|
1711
|
-
__TYPE__: "FieldContent";
|
|
1712
|
-
} | {
|
|
1713
|
-
type: "Select";
|
|
1714
|
-
value: string;
|
|
1715
|
-
__TYPE__: "FieldContent";
|
|
1690
|
+
__TYPE__: "GroupContentType";
|
|
1691
|
+
value: GroupItemContent[];
|
|
1716
1692
|
} | {
|
|
1717
1693
|
type: string;
|
|
1718
1694
|
__TYPE__: "EmptyContent";
|
|
1719
1695
|
} | {
|
|
1720
1696
|
__TYPE__: "BooleanContent";
|
|
1721
1697
|
value: boolean;
|
|
1698
|
+
} | {
|
|
1699
|
+
type: "Color";
|
|
1700
|
+
value: string;
|
|
1701
|
+
__TYPE__: "FieldContent";
|
|
1702
|
+
} | {
|
|
1703
|
+
type: "Date";
|
|
1704
|
+
value: string;
|
|
1705
|
+
__TYPE__: "FieldContent";
|
|
1722
1706
|
} | {
|
|
1723
1707
|
embed_url: string;
|
|
1724
1708
|
type: string;
|
|
1725
|
-
__TYPE__: "EmbedContent";
|
|
1726
|
-
all: unknown;
|
|
1727
1709
|
version?: string | number | null | undefined;
|
|
1728
1710
|
title?: string | null | undefined;
|
|
1729
1711
|
author_name?: string | null | undefined;
|
|
@@ -1735,6 +1717,8 @@ declare const LegacySliceItemContentSchema: t.Type<{
|
|
|
1735
1717
|
thumbnail_width?: number | null | undefined;
|
|
1736
1718
|
thumbnail_height?: number | null | undefined;
|
|
1737
1719
|
html?: string | null | undefined;
|
|
1720
|
+
__TYPE__: "EmbedContent";
|
|
1721
|
+
all: unknown;
|
|
1738
1722
|
} | {
|
|
1739
1723
|
position: {
|
|
1740
1724
|
lat: number;
|
|
@@ -1758,7 +1742,6 @@ declare const LegacySliceItemContentSchema: t.Type<{
|
|
|
1758
1742
|
};
|
|
1759
1743
|
background: string;
|
|
1760
1744
|
};
|
|
1761
|
-
__TYPE__: "ImageContent";
|
|
1762
1745
|
url?: string | undefined;
|
|
1763
1746
|
credits?: string | null | undefined;
|
|
1764
1747
|
alt?: string | null | undefined;
|
|
@@ -1785,6 +1768,7 @@ declare const LegacySliceItemContentSchema: t.Type<{
|
|
|
1785
1768
|
alt?: string | null | undefined;
|
|
1786
1769
|
provider?: string | null | undefined;
|
|
1787
1770
|
}> | undefined;
|
|
1771
|
+
__TYPE__: "ImageContent";
|
|
1788
1772
|
} | {
|
|
1789
1773
|
__TYPE__: "IntegrationFieldsContent";
|
|
1790
1774
|
value: string;
|
|
@@ -1792,9 +1776,17 @@ declare const LegacySliceItemContentSchema: t.Type<{
|
|
|
1792
1776
|
__TYPE__: "LinkContent";
|
|
1793
1777
|
key: string;
|
|
1794
1778
|
value: {
|
|
1795
|
-
variant?: string | undefined;
|
|
1796
1779
|
text?: string | undefined;
|
|
1780
|
+
variant?: string | undefined;
|
|
1797
1781
|
} & LinkContentValue;
|
|
1782
|
+
} | {
|
|
1783
|
+
type: "Number";
|
|
1784
|
+
value: string;
|
|
1785
|
+
__TYPE__: "FieldContent";
|
|
1786
|
+
} | {
|
|
1787
|
+
type: "Range";
|
|
1788
|
+
value: string;
|
|
1789
|
+
__TYPE__: "FieldContent";
|
|
1798
1790
|
} | {
|
|
1799
1791
|
__TYPE__: "RepeatableContent";
|
|
1800
1792
|
type: "Link";
|
|
@@ -1802,13 +1794,14 @@ declare const LegacySliceItemContentSchema: t.Type<{
|
|
|
1802
1794
|
__TYPE__: "LinkContent";
|
|
1803
1795
|
key: string;
|
|
1804
1796
|
value: {
|
|
1805
|
-
variant?: string | undefined;
|
|
1806
1797
|
text?: string | undefined;
|
|
1798
|
+
variant?: string | undefined;
|
|
1807
1799
|
} & LinkContentValue;
|
|
1808
1800
|
}[];
|
|
1809
1801
|
} | {
|
|
1810
|
-
|
|
1811
|
-
value:
|
|
1802
|
+
type: "Select";
|
|
1803
|
+
value: string;
|
|
1804
|
+
__TYPE__: "FieldContent";
|
|
1812
1805
|
} | {
|
|
1813
1806
|
__TYPE__: "SeparatorContent";
|
|
1814
1807
|
} | {
|
|
@@ -1818,7 +1811,7 @@ declare const LegacySliceItemContentSchema: t.Type<{
|
|
|
1818
1811
|
type: "tableRow";
|
|
1819
1812
|
content: {
|
|
1820
1813
|
key: string;
|
|
1821
|
-
type: "
|
|
1814
|
+
type: "tableCell" | "tableHeader";
|
|
1822
1815
|
content: {
|
|
1823
1816
|
__TYPE__: "StructuredTextContent";
|
|
1824
1817
|
value: RichTextContentBlock[];
|
|
@@ -1827,52 +1820,41 @@ declare const LegacySliceItemContentSchema: t.Type<{
|
|
|
1827
1820
|
}[];
|
|
1828
1821
|
}[];
|
|
1829
1822
|
} | {
|
|
1830
|
-
__TYPE__: "GroupContentType";
|
|
1831
|
-
value: GroupItemContent[];
|
|
1832
|
-
};
|
|
1833
|
-
maybeLabel?: string | undefined;
|
|
1834
|
-
}, {
|
|
1835
|
-
key: string;
|
|
1836
|
-
name: string;
|
|
1837
|
-
widget: {
|
|
1838
1823
|
type: "Text";
|
|
1839
1824
|
value: string;
|
|
1840
1825
|
__TYPE__: "FieldContent";
|
|
1841
1826
|
} | {
|
|
1842
|
-
type: "
|
|
1827
|
+
type: "Timestamp";
|
|
1843
1828
|
value: string;
|
|
1844
1829
|
__TYPE__: "FieldContent";
|
|
1845
1830
|
} | {
|
|
1846
|
-
|
|
1847
|
-
value:
|
|
1848
|
-
|
|
1831
|
+
__TYPE__: "StructuredTextContent";
|
|
1832
|
+
value: RichTextContentBlock[];
|
|
1833
|
+
};
|
|
1834
|
+
}, {
|
|
1835
|
+
key: string;
|
|
1836
|
+
name: string;
|
|
1837
|
+
maybeLabel?: string | undefined;
|
|
1838
|
+
widget: {
|
|
1839
|
+
__TYPE__: "GroupContentType";
|
|
1840
|
+
value: GroupItemContent[];
|
|
1849
1841
|
} | {
|
|
1850
|
-
type:
|
|
1851
|
-
|
|
1852
|
-
__TYPE__: "FieldContent";
|
|
1842
|
+
type: string;
|
|
1843
|
+
__TYPE__: "EmptyContent";
|
|
1853
1844
|
} | {
|
|
1854
|
-
|
|
1855
|
-
value:
|
|
1856
|
-
__TYPE__: "FieldContent";
|
|
1845
|
+
__TYPE__: "BooleanContent";
|
|
1846
|
+
value: boolean;
|
|
1857
1847
|
} | {
|
|
1858
|
-
type: "
|
|
1848
|
+
type: "Color";
|
|
1859
1849
|
value: string;
|
|
1860
1850
|
__TYPE__: "FieldContent";
|
|
1861
1851
|
} | {
|
|
1862
|
-
type: "
|
|
1852
|
+
type: "Date";
|
|
1863
1853
|
value: string;
|
|
1864
1854
|
__TYPE__: "FieldContent";
|
|
1865
|
-
} | {
|
|
1866
|
-
type: string;
|
|
1867
|
-
__TYPE__: "EmptyContent";
|
|
1868
|
-
} | {
|
|
1869
|
-
__TYPE__: "BooleanContent";
|
|
1870
|
-
value: boolean;
|
|
1871
1855
|
} | {
|
|
1872
1856
|
embed_url: string;
|
|
1873
1857
|
type: string;
|
|
1874
|
-
__TYPE__: "EmbedContent";
|
|
1875
|
-
all: unknown;
|
|
1876
1858
|
version?: string | number | null | undefined;
|
|
1877
1859
|
title?: string | null | undefined;
|
|
1878
1860
|
author_name?: string | null | undefined;
|
|
@@ -1884,6 +1866,8 @@ declare const LegacySliceItemContentSchema: t.Type<{
|
|
|
1884
1866
|
thumbnail_width?: number | null | undefined;
|
|
1885
1867
|
thumbnail_height?: number | null | undefined;
|
|
1886
1868
|
html?: string | null | undefined;
|
|
1869
|
+
__TYPE__: "EmbedContent";
|
|
1870
|
+
all: unknown;
|
|
1887
1871
|
} | {
|
|
1888
1872
|
position: {
|
|
1889
1873
|
lat: number;
|
|
@@ -1907,7 +1891,6 @@ declare const LegacySliceItemContentSchema: t.Type<{
|
|
|
1907
1891
|
};
|
|
1908
1892
|
background: string;
|
|
1909
1893
|
};
|
|
1910
|
-
__TYPE__: "ImageContent";
|
|
1911
1894
|
url?: string | undefined;
|
|
1912
1895
|
credits?: string | null | undefined;
|
|
1913
1896
|
alt?: string | null | undefined;
|
|
@@ -1934,6 +1917,7 @@ declare const LegacySliceItemContentSchema: t.Type<{
|
|
|
1934
1917
|
alt?: string | null | undefined;
|
|
1935
1918
|
provider?: string | null | undefined;
|
|
1936
1919
|
}> | undefined;
|
|
1920
|
+
__TYPE__: "ImageContent";
|
|
1937
1921
|
} | {
|
|
1938
1922
|
__TYPE__: "IntegrationFieldsContent";
|
|
1939
1923
|
value: string;
|
|
@@ -1941,9 +1925,17 @@ declare const LegacySliceItemContentSchema: t.Type<{
|
|
|
1941
1925
|
__TYPE__: "LinkContent";
|
|
1942
1926
|
key: string;
|
|
1943
1927
|
value: {
|
|
1944
|
-
variant?: string | undefined;
|
|
1945
1928
|
text?: string | undefined;
|
|
1929
|
+
variant?: string | undefined;
|
|
1946
1930
|
} & LinkContentValue;
|
|
1931
|
+
} | {
|
|
1932
|
+
type: "Number";
|
|
1933
|
+
value: string;
|
|
1934
|
+
__TYPE__: "FieldContent";
|
|
1935
|
+
} | {
|
|
1936
|
+
type: "Range";
|
|
1937
|
+
value: string;
|
|
1938
|
+
__TYPE__: "FieldContent";
|
|
1947
1939
|
} | {
|
|
1948
1940
|
__TYPE__: "RepeatableContent";
|
|
1949
1941
|
type: "Link";
|
|
@@ -1951,13 +1943,14 @@ declare const LegacySliceItemContentSchema: t.Type<{
|
|
|
1951
1943
|
__TYPE__: "LinkContent";
|
|
1952
1944
|
key: string;
|
|
1953
1945
|
value: {
|
|
1954
|
-
variant?: string | undefined;
|
|
1955
1946
|
text?: string | undefined;
|
|
1947
|
+
variant?: string | undefined;
|
|
1956
1948
|
} & LinkContentValue;
|
|
1957
1949
|
}[];
|
|
1958
1950
|
} | {
|
|
1959
|
-
|
|
1960
|
-
value:
|
|
1951
|
+
type: "Select";
|
|
1952
|
+
value: string;
|
|
1953
|
+
__TYPE__: "FieldContent";
|
|
1961
1954
|
} | {
|
|
1962
1955
|
__TYPE__: "SeparatorContent";
|
|
1963
1956
|
} | {
|
|
@@ -1967,7 +1960,7 @@ declare const LegacySliceItemContentSchema: t.Type<{
|
|
|
1967
1960
|
type: "tableRow";
|
|
1968
1961
|
content: {
|
|
1969
1962
|
key: string;
|
|
1970
|
-
type: "
|
|
1963
|
+
type: "tableCell" | "tableHeader";
|
|
1971
1964
|
content: {
|
|
1972
1965
|
__TYPE__: "StructuredTextContent";
|
|
1973
1966
|
value: RichTextContentBlock[];
|
|
@@ -1976,20 +1969,30 @@ declare const LegacySliceItemContentSchema: t.Type<{
|
|
|
1976
1969
|
}[];
|
|
1977
1970
|
}[];
|
|
1978
1971
|
} | {
|
|
1979
|
-
|
|
1980
|
-
value:
|
|
1972
|
+
type: "Text";
|
|
1973
|
+
value: string;
|
|
1974
|
+
__TYPE__: "FieldContent";
|
|
1975
|
+
} | {
|
|
1976
|
+
type: "Timestamp";
|
|
1977
|
+
value: string;
|
|
1978
|
+
__TYPE__: "FieldContent";
|
|
1979
|
+
} | {
|
|
1980
|
+
__TYPE__: "StructuredTextContent";
|
|
1981
|
+
value: RichTextContentBlock[];
|
|
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, {
|
|
1990
|
-
type:
|
|
1991
|
-
|
|
1992
|
-
|
|
1991
|
+
type: string;
|
|
1992
|
+
__TYPE__: "EmptyContent";
|
|
1993
|
+
} | {
|
|
1994
|
+
__TYPE__: "BooleanContent";
|
|
1995
|
+
value: boolean;
|
|
1993
1996
|
} | {
|
|
1994
1997
|
type: "Color";
|
|
1995
1998
|
value: string;
|
|
@@ -1998,33 +2001,9 @@ declare const CompositeSliceItemContentSchema: t.Type<{
|
|
|
1998
2001
|
type: "Date";
|
|
1999
2002
|
value: string;
|
|
2000
2003
|
__TYPE__: "FieldContent";
|
|
2001
|
-
} | {
|
|
2002
|
-
type: "Timestamp";
|
|
2003
|
-
value: string;
|
|
2004
|
-
__TYPE__: "FieldContent";
|
|
2005
|
-
} | {
|
|
2006
|
-
type: "Number";
|
|
2007
|
-
value: string;
|
|
2008
|
-
__TYPE__: "FieldContent";
|
|
2009
|
-
} | {
|
|
2010
|
-
type: "Range";
|
|
2011
|
-
value: string;
|
|
2012
|
-
__TYPE__: "FieldContent";
|
|
2013
|
-
} | {
|
|
2014
|
-
type: "Select";
|
|
2015
|
-
value: string;
|
|
2016
|
-
__TYPE__: "FieldContent";
|
|
2017
|
-
} | {
|
|
2018
|
-
type: string;
|
|
2019
|
-
__TYPE__: "EmptyContent";
|
|
2020
|
-
} | {
|
|
2021
|
-
__TYPE__: "BooleanContent";
|
|
2022
|
-
value: boolean;
|
|
2023
2004
|
} | {
|
|
2024
2005
|
embed_url: string;
|
|
2025
2006
|
type: string;
|
|
2026
|
-
__TYPE__: "EmbedContent";
|
|
2027
|
-
all: unknown;
|
|
2028
2007
|
version?: string | number | null | undefined;
|
|
2029
2008
|
title?: string | null | undefined;
|
|
2030
2009
|
author_name?: string | null | undefined;
|
|
@@ -2036,6 +2015,8 @@ declare const CompositeSliceItemContentSchema: t.Type<{
|
|
|
2036
2015
|
thumbnail_width?: number | null | undefined;
|
|
2037
2016
|
thumbnail_height?: number | null | undefined;
|
|
2038
2017
|
html?: string | null | undefined;
|
|
2018
|
+
__TYPE__: "EmbedContent";
|
|
2019
|
+
all: unknown;
|
|
2039
2020
|
} | {
|
|
2040
2021
|
position: {
|
|
2041
2022
|
lat: number;
|
|
@@ -2059,7 +2040,6 @@ declare const CompositeSliceItemContentSchema: t.Type<{
|
|
|
2059
2040
|
};
|
|
2060
2041
|
background: string;
|
|
2061
2042
|
};
|
|
2062
|
-
__TYPE__: "ImageContent";
|
|
2063
2043
|
url?: string | undefined;
|
|
2064
2044
|
credits?: string | null | undefined;
|
|
2065
2045
|
alt?: string | null | undefined;
|
|
@@ -2086,6 +2066,7 @@ declare const CompositeSliceItemContentSchema: t.Type<{
|
|
|
2086
2066
|
alt?: string | null | undefined;
|
|
2087
2067
|
provider?: string | null | undefined;
|
|
2088
2068
|
}> | undefined;
|
|
2069
|
+
__TYPE__: "ImageContent";
|
|
2089
2070
|
} | {
|
|
2090
2071
|
__TYPE__: "IntegrationFieldsContent";
|
|
2091
2072
|
value: string;
|
|
@@ -2093,9 +2074,17 @@ declare const CompositeSliceItemContentSchema: t.Type<{
|
|
|
2093
2074
|
__TYPE__: "LinkContent";
|
|
2094
2075
|
key: string;
|
|
2095
2076
|
value: {
|
|
2096
|
-
variant?: string | undefined;
|
|
2097
2077
|
text?: string | undefined;
|
|
2078
|
+
variant?: string | undefined;
|
|
2098
2079
|
} & LinkContentValue;
|
|
2080
|
+
} | {
|
|
2081
|
+
type: "Number";
|
|
2082
|
+
value: string;
|
|
2083
|
+
__TYPE__: "FieldContent";
|
|
2084
|
+
} | {
|
|
2085
|
+
type: "Range";
|
|
2086
|
+
value: string;
|
|
2087
|
+
__TYPE__: "FieldContent";
|
|
2099
2088
|
} | {
|
|
2100
2089
|
__TYPE__: "RepeatableContent";
|
|
2101
2090
|
type: "Link";
|
|
@@ -2103,13 +2092,14 @@ declare const CompositeSliceItemContentSchema: t.Type<{
|
|
|
2103
2092
|
__TYPE__: "LinkContent";
|
|
2104
2093
|
key: string;
|
|
2105
2094
|
value: {
|
|
2106
|
-
variant?: string | undefined;
|
|
2107
2095
|
text?: string | undefined;
|
|
2096
|
+
variant?: string | undefined;
|
|
2108
2097
|
} & LinkContentValue;
|
|
2109
2098
|
}[];
|
|
2110
2099
|
} | {
|
|
2111
|
-
|
|
2112
|
-
value:
|
|
2100
|
+
type: "Select";
|
|
2101
|
+
value: string;
|
|
2102
|
+
__TYPE__: "FieldContent";
|
|
2113
2103
|
} | {
|
|
2114
2104
|
__TYPE__: "SeparatorContent";
|
|
2115
2105
|
} | {
|
|
@@ -2119,7 +2109,7 @@ declare const CompositeSliceItemContentSchema: t.Type<{
|
|
|
2119
2109
|
type: "tableRow";
|
|
2120
2110
|
content: {
|
|
2121
2111
|
key: string;
|
|
2122
|
-
type: "
|
|
2112
|
+
type: "tableCell" | "tableHeader";
|
|
2123
2113
|
content: {
|
|
2124
2114
|
__TYPE__: "StructuredTextContent";
|
|
2125
2115
|
value: RichTextContentBlock[];
|
|
@@ -2127,19 +2117,32 @@ declare const CompositeSliceItemContentSchema: t.Type<{
|
|
|
2127
2117
|
columnWidth?: number | undefined;
|
|
2128
2118
|
}[];
|
|
2129
2119
|
}[];
|
|
2120
|
+
} | {
|
|
2121
|
+
type: "Text";
|
|
2122
|
+
value: string;
|
|
2123
|
+
__TYPE__: "FieldContent";
|
|
2124
|
+
} | {
|
|
2125
|
+
type: "Timestamp";
|
|
2126
|
+
value: string;
|
|
2127
|
+
__TYPE__: "FieldContent";
|
|
2128
|
+
} | {
|
|
2129
|
+
__TYPE__: "StructuredTextContent";
|
|
2130
|
+
value: RichTextContentBlock[];
|
|
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, {
|
|
2140
|
-
type:
|
|
2141
|
-
|
|
2142
|
-
|
|
2141
|
+
type: string;
|
|
2142
|
+
__TYPE__: "EmptyContent";
|
|
2143
|
+
} | {
|
|
2144
|
+
__TYPE__: "BooleanContent";
|
|
2145
|
+
value: boolean;
|
|
2143
2146
|
} | {
|
|
2144
2147
|
type: "Color";
|
|
2145
2148
|
value: string;
|
|
@@ -2148,33 +2151,9 @@ declare const CompositeSliceItemContentSchema: t.Type<{
|
|
|
2148
2151
|
type: "Date";
|
|
2149
2152
|
value: string;
|
|
2150
2153
|
__TYPE__: "FieldContent";
|
|
2151
|
-
} | {
|
|
2152
|
-
type: "Timestamp";
|
|
2153
|
-
value: string;
|
|
2154
|
-
__TYPE__: "FieldContent";
|
|
2155
|
-
} | {
|
|
2156
|
-
type: "Number";
|
|
2157
|
-
value: string;
|
|
2158
|
-
__TYPE__: "FieldContent";
|
|
2159
|
-
} | {
|
|
2160
|
-
type: "Range";
|
|
2161
|
-
value: string;
|
|
2162
|
-
__TYPE__: "FieldContent";
|
|
2163
|
-
} | {
|
|
2164
|
-
type: "Select";
|
|
2165
|
-
value: string;
|
|
2166
|
-
__TYPE__: "FieldContent";
|
|
2167
|
-
} | {
|
|
2168
|
-
type: string;
|
|
2169
|
-
__TYPE__: "EmptyContent";
|
|
2170
|
-
} | {
|
|
2171
|
-
__TYPE__: "BooleanContent";
|
|
2172
|
-
value: boolean;
|
|
2173
2154
|
} | {
|
|
2174
2155
|
embed_url: string;
|
|
2175
2156
|
type: string;
|
|
2176
|
-
__TYPE__: "EmbedContent";
|
|
2177
|
-
all: unknown;
|
|
2178
2157
|
version?: string | number | null | undefined;
|
|
2179
2158
|
title?: string | null | undefined;
|
|
2180
2159
|
author_name?: string | null | undefined;
|
|
@@ -2186,6 +2165,8 @@ declare const CompositeSliceItemContentSchema: t.Type<{
|
|
|
2186
2165
|
thumbnail_width?: number | null | undefined;
|
|
2187
2166
|
thumbnail_height?: number | null | undefined;
|
|
2188
2167
|
html?: string | null | undefined;
|
|
2168
|
+
__TYPE__: "EmbedContent";
|
|
2169
|
+
all: unknown;
|
|
2189
2170
|
} | {
|
|
2190
2171
|
position: {
|
|
2191
2172
|
lat: number;
|
|
@@ -2209,7 +2190,6 @@ declare const CompositeSliceItemContentSchema: t.Type<{
|
|
|
2209
2190
|
};
|
|
2210
2191
|
background: string;
|
|
2211
2192
|
};
|
|
2212
|
-
__TYPE__: "ImageContent";
|
|
2213
2193
|
url?: string | undefined;
|
|
2214
2194
|
credits?: string | null | undefined;
|
|
2215
2195
|
alt?: string | null | undefined;
|
|
@@ -2236,6 +2216,7 @@ declare const CompositeSliceItemContentSchema: t.Type<{
|
|
|
2236
2216
|
alt?: string | null | undefined;
|
|
2237
2217
|
provider?: string | null | undefined;
|
|
2238
2218
|
}> | undefined;
|
|
2219
|
+
__TYPE__: "ImageContent";
|
|
2239
2220
|
} | {
|
|
2240
2221
|
__TYPE__: "IntegrationFieldsContent";
|
|
2241
2222
|
value: string;
|
|
@@ -2243,9 +2224,17 @@ declare const CompositeSliceItemContentSchema: t.Type<{
|
|
|
2243
2224
|
__TYPE__: "LinkContent";
|
|
2244
2225
|
key: string;
|
|
2245
2226
|
value: {
|
|
2246
|
-
variant?: string | undefined;
|
|
2247
2227
|
text?: string | undefined;
|
|
2228
|
+
variant?: string | undefined;
|
|
2248
2229
|
} & LinkContentValue;
|
|
2230
|
+
} | {
|
|
2231
|
+
type: "Number";
|
|
2232
|
+
value: string;
|
|
2233
|
+
__TYPE__: "FieldContent";
|
|
2234
|
+
} | {
|
|
2235
|
+
type: "Range";
|
|
2236
|
+
value: string;
|
|
2237
|
+
__TYPE__: "FieldContent";
|
|
2249
2238
|
} | {
|
|
2250
2239
|
__TYPE__: "RepeatableContent";
|
|
2251
2240
|
type: "Link";
|
|
@@ -2253,13 +2242,14 @@ declare const CompositeSliceItemContentSchema: t.Type<{
|
|
|
2253
2242
|
__TYPE__: "LinkContent";
|
|
2254
2243
|
key: string;
|
|
2255
2244
|
value: {
|
|
2256
|
-
variant?: string | undefined;
|
|
2257
2245
|
text?: string | undefined;
|
|
2246
|
+
variant?: string | undefined;
|
|
2258
2247
|
} & LinkContentValue;
|
|
2259
2248
|
}[];
|
|
2260
2249
|
} | {
|
|
2261
|
-
|
|
2262
|
-
value:
|
|
2250
|
+
type: "Select";
|
|
2251
|
+
value: string;
|
|
2252
|
+
__TYPE__: "FieldContent";
|
|
2263
2253
|
} | {
|
|
2264
2254
|
__TYPE__: "SeparatorContent";
|
|
2265
2255
|
} | {
|
|
@@ -2269,7 +2259,7 @@ declare const CompositeSliceItemContentSchema: t.Type<{
|
|
|
2269
2259
|
type: "tableRow";
|
|
2270
2260
|
content: {
|
|
2271
2261
|
key: string;
|
|
2272
|
-
type: "
|
|
2262
|
+
type: "tableCell" | "tableHeader";
|
|
2273
2263
|
content: {
|
|
2274
2264
|
__TYPE__: "StructuredTextContent";
|
|
2275
2265
|
value: RichTextContentBlock[];
|
|
@@ -2277,56 +2267,48 @@ declare const CompositeSliceItemContentSchema: t.Type<{
|
|
|
2277
2267
|
columnWidth?: number | undefined;
|
|
2278
2268
|
}[];
|
|
2279
2269
|
}[];
|
|
2270
|
+
} | {
|
|
2271
|
+
type: "Text";
|
|
2272
|
+
value: string;
|
|
2273
|
+
__TYPE__: "FieldContent";
|
|
2274
|
+
} | {
|
|
2275
|
+
type: "Timestamp";
|
|
2276
|
+
value: string;
|
|
2277
|
+
__TYPE__: "FieldContent";
|
|
2278
|
+
} | {
|
|
2279
|
+
__TYPE__: "StructuredTextContent";
|
|
2280
|
+
value: RichTextContentBlock[];
|
|
2280
2281
|
}>;
|
|
2281
2282
|
repeat: GroupItemContent[];
|
|
2282
2283
|
};
|
|
2283
|
-
maybeLabel?: string | undefined;
|
|
2284
2284
|
}, unknown>;
|
|
2285
2285
|
declare const SharedSliceItemContentSchema: t.Type<{
|
|
2286
2286
|
key: string;
|
|
2287
2287
|
name: string;
|
|
2288
|
+
maybeLabel?: string | undefined;
|
|
2288
2289
|
widget: {
|
|
2289
2290
|
__TYPE__: "SharedSliceContent";
|
|
2290
2291
|
variation: string;
|
|
2291
2292
|
primary: Record<string, {
|
|
2292
|
-
|
|
2293
|
-
value:
|
|
2294
|
-
__TYPE__: "FieldContent";
|
|
2295
|
-
} | {
|
|
2296
|
-
type: "Color";
|
|
2297
|
-
value: string;
|
|
2298
|
-
__TYPE__: "FieldContent";
|
|
2299
|
-
} | {
|
|
2300
|
-
type: "Date";
|
|
2301
|
-
value: string;
|
|
2302
|
-
__TYPE__: "FieldContent";
|
|
2293
|
+
__TYPE__: "GroupContentType";
|
|
2294
|
+
value: GroupItemContent[];
|
|
2303
2295
|
} | {
|
|
2304
|
-
type:
|
|
2305
|
-
|
|
2306
|
-
__TYPE__: "FieldContent";
|
|
2296
|
+
type: string;
|
|
2297
|
+
__TYPE__: "EmptyContent";
|
|
2307
2298
|
} | {
|
|
2308
|
-
|
|
2309
|
-
value:
|
|
2310
|
-
__TYPE__: "FieldContent";
|
|
2299
|
+
__TYPE__: "BooleanContent";
|
|
2300
|
+
value: boolean;
|
|
2311
2301
|
} | {
|
|
2312
|
-
type: "
|
|
2302
|
+
type: "Color";
|
|
2313
2303
|
value: string;
|
|
2314
2304
|
__TYPE__: "FieldContent";
|
|
2315
2305
|
} | {
|
|
2316
|
-
type: "
|
|
2306
|
+
type: "Date";
|
|
2317
2307
|
value: string;
|
|
2318
2308
|
__TYPE__: "FieldContent";
|
|
2319
|
-
} | {
|
|
2320
|
-
type: string;
|
|
2321
|
-
__TYPE__: "EmptyContent";
|
|
2322
|
-
} | {
|
|
2323
|
-
__TYPE__: "BooleanContent";
|
|
2324
|
-
value: boolean;
|
|
2325
2309
|
} | {
|
|
2326
2310
|
embed_url: string;
|
|
2327
2311
|
type: string;
|
|
2328
|
-
__TYPE__: "EmbedContent";
|
|
2329
|
-
all: unknown;
|
|
2330
2312
|
version?: string | number | null | undefined;
|
|
2331
2313
|
title?: string | null | undefined;
|
|
2332
2314
|
author_name?: string | null | undefined;
|
|
@@ -2338,6 +2320,8 @@ declare const SharedSliceItemContentSchema: t.Type<{
|
|
|
2338
2320
|
thumbnail_width?: number | null | undefined;
|
|
2339
2321
|
thumbnail_height?: number | null | undefined;
|
|
2340
2322
|
html?: string | null | undefined;
|
|
2323
|
+
__TYPE__: "EmbedContent";
|
|
2324
|
+
all: unknown;
|
|
2341
2325
|
} | {
|
|
2342
2326
|
position: {
|
|
2343
2327
|
lat: number;
|
|
@@ -2361,7 +2345,6 @@ declare const SharedSliceItemContentSchema: t.Type<{
|
|
|
2361
2345
|
};
|
|
2362
2346
|
background: string;
|
|
2363
2347
|
};
|
|
2364
|
-
__TYPE__: "ImageContent";
|
|
2365
2348
|
url?: string | undefined;
|
|
2366
2349
|
credits?: string | null | undefined;
|
|
2367
2350
|
alt?: string | null | undefined;
|
|
@@ -2388,6 +2371,7 @@ declare const SharedSliceItemContentSchema: t.Type<{
|
|
|
2388
2371
|
alt?: string | null | undefined;
|
|
2389
2372
|
provider?: string | null | undefined;
|
|
2390
2373
|
}> | undefined;
|
|
2374
|
+
__TYPE__: "ImageContent";
|
|
2391
2375
|
} | {
|
|
2392
2376
|
__TYPE__: "IntegrationFieldsContent";
|
|
2393
2377
|
value: string;
|
|
@@ -2395,9 +2379,17 @@ declare const SharedSliceItemContentSchema: t.Type<{
|
|
|
2395
2379
|
__TYPE__: "LinkContent";
|
|
2396
2380
|
key: string;
|
|
2397
2381
|
value: {
|
|
2398
|
-
variant?: string | undefined;
|
|
2399
2382
|
text?: string | undefined;
|
|
2383
|
+
variant?: string | undefined;
|
|
2400
2384
|
} & LinkContentValue;
|
|
2385
|
+
} | {
|
|
2386
|
+
type: "Number";
|
|
2387
|
+
value: string;
|
|
2388
|
+
__TYPE__: "FieldContent";
|
|
2389
|
+
} | {
|
|
2390
|
+
type: "Range";
|
|
2391
|
+
value: string;
|
|
2392
|
+
__TYPE__: "FieldContent";
|
|
2401
2393
|
} | {
|
|
2402
2394
|
__TYPE__: "RepeatableContent";
|
|
2403
2395
|
type: "Link";
|
|
@@ -2405,13 +2397,14 @@ declare const SharedSliceItemContentSchema: t.Type<{
|
|
|
2405
2397
|
__TYPE__: "LinkContent";
|
|
2406
2398
|
key: string;
|
|
2407
2399
|
value: {
|
|
2408
|
-
variant?: string | undefined;
|
|
2409
2400
|
text?: string | undefined;
|
|
2401
|
+
variant?: string | undefined;
|
|
2410
2402
|
} & LinkContentValue;
|
|
2411
2403
|
}[];
|
|
2412
2404
|
} | {
|
|
2413
|
-
|
|
2414
|
-
value:
|
|
2405
|
+
type: "Select";
|
|
2406
|
+
value: string;
|
|
2407
|
+
__TYPE__: "FieldContent";
|
|
2415
2408
|
} | {
|
|
2416
2409
|
__TYPE__: "SeparatorContent";
|
|
2417
2410
|
} | {
|
|
@@ -2421,7 +2414,7 @@ declare const SharedSliceItemContentSchema: t.Type<{
|
|
|
2421
2414
|
type: "tableRow";
|
|
2422
2415
|
content: {
|
|
2423
2416
|
key: string;
|
|
2424
|
-
type: "
|
|
2417
|
+
type: "tableCell" | "tableHeader";
|
|
2425
2418
|
content: {
|
|
2426
2419
|
__TYPE__: "StructuredTextContent";
|
|
2427
2420
|
value: RichTextContentBlock[];
|
|
@@ -2430,57 +2423,46 @@ declare const SharedSliceItemContentSchema: t.Type<{
|
|
|
2430
2423
|
}[];
|
|
2431
2424
|
}[];
|
|
2432
2425
|
} | {
|
|
2433
|
-
|
|
2434
|
-
value:
|
|
2426
|
+
type: "Text";
|
|
2427
|
+
value: string;
|
|
2428
|
+
__TYPE__: "FieldContent";
|
|
2429
|
+
} | {
|
|
2430
|
+
type: "Timestamp";
|
|
2431
|
+
value: string;
|
|
2432
|
+
__TYPE__: "FieldContent";
|
|
2433
|
+
} | {
|
|
2434
|
+
__TYPE__: "StructuredTextContent";
|
|
2435
|
+
value: RichTextContentBlock[];
|
|
2435
2436
|
}>;
|
|
2436
2437
|
items: GroupItemContent[];
|
|
2437
2438
|
};
|
|
2438
|
-
maybeLabel?: string | undefined;
|
|
2439
2439
|
}, {
|
|
2440
2440
|
key: string;
|
|
2441
2441
|
name: string;
|
|
2442
|
+
maybeLabel?: string | undefined;
|
|
2442
2443
|
widget: {
|
|
2443
2444
|
__TYPE__: "SharedSliceContent";
|
|
2444
2445
|
variation: string;
|
|
2445
2446
|
primary: Record<string, {
|
|
2446
|
-
|
|
2447
|
-
value:
|
|
2448
|
-
__TYPE__: "FieldContent";
|
|
2449
|
-
} | {
|
|
2450
|
-
type: "Color";
|
|
2451
|
-
value: string;
|
|
2452
|
-
__TYPE__: "FieldContent";
|
|
2453
|
-
} | {
|
|
2454
|
-
type: "Date";
|
|
2455
|
-
value: string;
|
|
2456
|
-
__TYPE__: "FieldContent";
|
|
2447
|
+
__TYPE__: "GroupContentType";
|
|
2448
|
+
value: GroupItemContent[];
|
|
2457
2449
|
} | {
|
|
2458
|
-
type:
|
|
2459
|
-
|
|
2460
|
-
__TYPE__: "FieldContent";
|
|
2450
|
+
type: string;
|
|
2451
|
+
__TYPE__: "EmptyContent";
|
|
2461
2452
|
} | {
|
|
2462
|
-
|
|
2463
|
-
value:
|
|
2464
|
-
__TYPE__: "FieldContent";
|
|
2453
|
+
__TYPE__: "BooleanContent";
|
|
2454
|
+
value: boolean;
|
|
2465
2455
|
} | {
|
|
2466
|
-
type: "
|
|
2456
|
+
type: "Color";
|
|
2467
2457
|
value: string;
|
|
2468
2458
|
__TYPE__: "FieldContent";
|
|
2469
2459
|
} | {
|
|
2470
|
-
type: "
|
|
2460
|
+
type: "Date";
|
|
2471
2461
|
value: string;
|
|
2472
2462
|
__TYPE__: "FieldContent";
|
|
2473
|
-
} | {
|
|
2474
|
-
type: string;
|
|
2475
|
-
__TYPE__: "EmptyContent";
|
|
2476
|
-
} | {
|
|
2477
|
-
__TYPE__: "BooleanContent";
|
|
2478
|
-
value: boolean;
|
|
2479
2463
|
} | {
|
|
2480
2464
|
embed_url: string;
|
|
2481
2465
|
type: string;
|
|
2482
|
-
__TYPE__: "EmbedContent";
|
|
2483
|
-
all: unknown;
|
|
2484
2466
|
version?: string | number | null | undefined;
|
|
2485
2467
|
title?: string | null | undefined;
|
|
2486
2468
|
author_name?: string | null | undefined;
|
|
@@ -2492,6 +2474,8 @@ declare const SharedSliceItemContentSchema: t.Type<{
|
|
|
2492
2474
|
thumbnail_width?: number | null | undefined;
|
|
2493
2475
|
thumbnail_height?: number | null | undefined;
|
|
2494
2476
|
html?: string | null | undefined;
|
|
2477
|
+
__TYPE__: "EmbedContent";
|
|
2478
|
+
all: unknown;
|
|
2495
2479
|
} | {
|
|
2496
2480
|
position: {
|
|
2497
2481
|
lat: number;
|
|
@@ -2515,7 +2499,6 @@ declare const SharedSliceItemContentSchema: t.Type<{
|
|
|
2515
2499
|
};
|
|
2516
2500
|
background: string;
|
|
2517
2501
|
};
|
|
2518
|
-
__TYPE__: "ImageContent";
|
|
2519
2502
|
url?: string | undefined;
|
|
2520
2503
|
credits?: string | null | undefined;
|
|
2521
2504
|
alt?: string | null | undefined;
|
|
@@ -2542,6 +2525,7 @@ declare const SharedSliceItemContentSchema: t.Type<{
|
|
|
2542
2525
|
alt?: string | null | undefined;
|
|
2543
2526
|
provider?: string | null | undefined;
|
|
2544
2527
|
}> | undefined;
|
|
2528
|
+
__TYPE__: "ImageContent";
|
|
2545
2529
|
} | {
|
|
2546
2530
|
__TYPE__: "IntegrationFieldsContent";
|
|
2547
2531
|
value: string;
|
|
@@ -2549,9 +2533,17 @@ declare const SharedSliceItemContentSchema: t.Type<{
|
|
|
2549
2533
|
__TYPE__: "LinkContent";
|
|
2550
2534
|
key: string;
|
|
2551
2535
|
value: {
|
|
2552
|
-
variant?: string | undefined;
|
|
2553
2536
|
text?: string | undefined;
|
|
2537
|
+
variant?: string | undefined;
|
|
2554
2538
|
} & LinkContentValue;
|
|
2539
|
+
} | {
|
|
2540
|
+
type: "Number";
|
|
2541
|
+
value: string;
|
|
2542
|
+
__TYPE__: "FieldContent";
|
|
2543
|
+
} | {
|
|
2544
|
+
type: "Range";
|
|
2545
|
+
value: string;
|
|
2546
|
+
__TYPE__: "FieldContent";
|
|
2555
2547
|
} | {
|
|
2556
2548
|
__TYPE__: "RepeatableContent";
|
|
2557
2549
|
type: "Link";
|
|
@@ -2559,13 +2551,14 @@ declare const SharedSliceItemContentSchema: t.Type<{
|
|
|
2559
2551
|
__TYPE__: "LinkContent";
|
|
2560
2552
|
key: string;
|
|
2561
2553
|
value: {
|
|
2562
|
-
variant?: string | undefined;
|
|
2563
2554
|
text?: string | undefined;
|
|
2555
|
+
variant?: string | undefined;
|
|
2564
2556
|
} & LinkContentValue;
|
|
2565
2557
|
}[];
|
|
2566
2558
|
} | {
|
|
2567
|
-
|
|
2568
|
-
value:
|
|
2559
|
+
type: "Select";
|
|
2560
|
+
value: string;
|
|
2561
|
+
__TYPE__: "FieldContent";
|
|
2569
2562
|
} | {
|
|
2570
2563
|
__TYPE__: "SeparatorContent";
|
|
2571
2564
|
} | {
|
|
@@ -2575,7 +2568,7 @@ declare const SharedSliceItemContentSchema: t.Type<{
|
|
|
2575
2568
|
type: "tableRow";
|
|
2576
2569
|
content: {
|
|
2577
2570
|
key: string;
|
|
2578
|
-
type: "
|
|
2571
|
+
type: "tableCell" | "tableHeader";
|
|
2579
2572
|
content: {
|
|
2580
2573
|
__TYPE__: "StructuredTextContent";
|
|
2581
2574
|
value: RichTextContentBlock[];
|
|
@@ -2584,39 +2577,46 @@ declare const SharedSliceItemContentSchema: t.Type<{
|
|
|
2584
2577
|
}[];
|
|
2585
2578
|
}[];
|
|
2586
2579
|
} | {
|
|
2587
|
-
|
|
2588
|
-
value:
|
|
2580
|
+
type: "Text";
|
|
2581
|
+
value: string;
|
|
2582
|
+
__TYPE__: "FieldContent";
|
|
2583
|
+
} | {
|
|
2584
|
+
type: "Timestamp";
|
|
2585
|
+
value: string;
|
|
2586
|
+
__TYPE__: "FieldContent";
|
|
2587
|
+
} | {
|
|
2588
|
+
__TYPE__: "StructuredTextContent";
|
|
2589
|
+
value: RichTextContentBlock[];
|
|
2589
2590
|
}>;
|
|
2590
2591
|
items: GroupItemContent[];
|
|
2591
2592
|
};
|
|
2592
|
-
maybeLabel?: string | undefined;
|
|
2593
2593
|
}, unknown>;
|
|
2594
2594
|
declare const SliceItemContentSchema: t.Type<{
|
|
2595
2595
|
key: string;
|
|
2596
2596
|
name: string;
|
|
2597
|
-
widget: SliceContent;
|
|
2598
2597
|
maybeLabel?: string | undefined;
|
|
2598
|
+
widget: SliceContent;
|
|
2599
2599
|
}, {
|
|
2600
2600
|
key: string;
|
|
2601
2601
|
name: string;
|
|
2602
|
-
widget: SliceContent;
|
|
2603
2602
|
maybeLabel?: string | undefined;
|
|
2603
|
+
widget: SliceContent;
|
|
2604
2604
|
}, unknown>;
|
|
2605
2605
|
declare const SlicesContentSchema: t.Type<{
|
|
2606
2606
|
__TYPE__: "SliceContentType";
|
|
2607
2607
|
value: {
|
|
2608
2608
|
key: string;
|
|
2609
2609
|
name: string;
|
|
2610
|
-
widget: SliceContent;
|
|
2611
2610
|
maybeLabel?: string | undefined;
|
|
2611
|
+
widget: SliceContent;
|
|
2612
2612
|
}[];
|
|
2613
2613
|
}, {
|
|
2614
2614
|
__TYPE__: "SliceContentType";
|
|
2615
2615
|
value: {
|
|
2616
2616
|
key: string;
|
|
2617
2617
|
name: string;
|
|
2618
|
-
widget: SliceContent;
|
|
2619
2618
|
maybeLabel?: string | undefined;
|
|
2619
|
+
widget: SliceContent;
|
|
2620
2620
|
}[];
|
|
2621
2621
|
}, unknown>;
|
|
2622
2622
|
declare const WidgetContentSchema: t.Type<WidgetContent, WidgetContent, unknown>;
|
|
@@ -2721,8 +2721,6 @@ declare const GeoPointLegacy: (ctx: LegacyContentCtx) => t.Type<{
|
|
|
2721
2721
|
declare const EmbedLegacy: (ctx: LegacyContentCtx) => t.Type<{
|
|
2722
2722
|
embed_url: string;
|
|
2723
2723
|
type: string;
|
|
2724
|
-
__TYPE__: "EmbedContent";
|
|
2725
|
-
all: unknown;
|
|
2726
2724
|
version?: string | number | null | undefined;
|
|
2727
2725
|
title?: string | null | undefined;
|
|
2728
2726
|
author_name?: string | null | undefined;
|
|
@@ -2734,6 +2732,8 @@ declare const EmbedLegacy: (ctx: LegacyContentCtx) => t.Type<{
|
|
|
2734
2732
|
thumbnail_width?: number | null | undefined;
|
|
2735
2733
|
thumbnail_height?: number | null | undefined;
|
|
2736
2734
|
html?: string | null | undefined;
|
|
2735
|
+
__TYPE__: "EmbedContent";
|
|
2736
|
+
all: unknown;
|
|
2737
2737
|
}, {
|
|
2738
2738
|
keys: Record<string, string>;
|
|
2739
2739
|
types: Record<string, FieldOrSliceType>;
|
|
@@ -2770,7 +2770,6 @@ declare const ImageLegacy: (ctx: LegacyContentCtx) => t.Type<{
|
|
|
2770
2770
|
};
|
|
2771
2771
|
background: string;
|
|
2772
2772
|
};
|
|
2773
|
-
__TYPE__: "ImageContent";
|
|
2774
2773
|
url?: string | undefined;
|
|
2775
2774
|
credits?: string | null | undefined;
|
|
2776
2775
|
alt?: string | null | undefined;
|
|
@@ -2797,6 +2796,7 @@ declare const ImageLegacy: (ctx: LegacyContentCtx) => t.Type<{
|
|
|
2797
2796
|
alt?: string | null | undefined;
|
|
2798
2797
|
provider?: string | null | undefined;
|
|
2799
2798
|
}> | undefined;
|
|
2799
|
+
__TYPE__: "ImageContent";
|
|
2800
2800
|
}, {
|
|
2801
2801
|
keys: Record<string, string>;
|
|
2802
2802
|
types: Record<string, FieldOrSliceType>;
|
|
@@ -2849,13 +2849,43 @@ declare const LinkLegacy: (ctx: LegacyContentCtx) => t.Type<{
|
|
|
2849
2849
|
__TYPE__: "LinkContent";
|
|
2850
2850
|
key: string;
|
|
2851
2851
|
value: {
|
|
2852
|
-
variant?: string | undefined;
|
|
2853
2852
|
text?: string | undefined;
|
|
2853
|
+
variant?: string | undefined;
|
|
2854
2854
|
} & LinkContentValue;
|
|
2855
2855
|
}, {
|
|
2856
2856
|
keys: Record<string, string>;
|
|
2857
2857
|
types: Record<string, FieldOrSliceType>;
|
|
2858
2858
|
content: {
|
|
2859
|
+
kind: "image";
|
|
2860
|
+
key: string;
|
|
2861
|
+
text?: string | undefined;
|
|
2862
|
+
variant?: string | undefined;
|
|
2863
|
+
} | {
|
|
2864
|
+
kind: "file";
|
|
2865
|
+
key: string;
|
|
2866
|
+
text?: string | undefined;
|
|
2867
|
+
variant?: string | undefined;
|
|
2868
|
+
} | {
|
|
2869
|
+
kind: "media";
|
|
2870
|
+
key: string;
|
|
2871
|
+
text?: string | undefined;
|
|
2872
|
+
variant?: string | undefined;
|
|
2873
|
+
} | {
|
|
2874
|
+
kind: "document";
|
|
2875
|
+
key: string;
|
|
2876
|
+
text?: string | undefined;
|
|
2877
|
+
variant?: string | undefined;
|
|
2878
|
+
} | {
|
|
2879
|
+
kind: "web";
|
|
2880
|
+
key: string;
|
|
2881
|
+
text?: string | undefined;
|
|
2882
|
+
variant?: string | undefined;
|
|
2883
|
+
} | {
|
|
2884
|
+
kind: "any";
|
|
2885
|
+
key: string;
|
|
2886
|
+
text?: string | undefined;
|
|
2887
|
+
variant?: string | undefined;
|
|
2888
|
+
} | {
|
|
2859
2889
|
kind: "image";
|
|
2860
2890
|
id: string;
|
|
2861
2891
|
url: string;
|
|
@@ -2864,9 +2894,9 @@ declare const LinkLegacy: (ctx: LegacyContentCtx) => t.Type<{
|
|
|
2864
2894
|
size: string;
|
|
2865
2895
|
name: string;
|
|
2866
2896
|
date?: string | null | undefined;
|
|
2867
|
-
variant?: string | undefined;
|
|
2868
|
-
text?: string | undefined;
|
|
2869
2897
|
key: string;
|
|
2898
|
+
text?: string | undefined;
|
|
2899
|
+
variant?: string | undefined;
|
|
2870
2900
|
} | {
|
|
2871
2901
|
kind: "file";
|
|
2872
2902
|
id: string;
|
|
@@ -2874,15 +2904,15 @@ declare const LinkLegacy: (ctx: LegacyContentCtx) => t.Type<{
|
|
|
2874
2904
|
name: string;
|
|
2875
2905
|
size: string;
|
|
2876
2906
|
date?: string | null | undefined;
|
|
2877
|
-
variant?: string | undefined;
|
|
2878
|
-
text?: string | undefined;
|
|
2879
2907
|
key: string;
|
|
2908
|
+
text?: string | undefined;
|
|
2909
|
+
variant?: string | undefined;
|
|
2880
2910
|
} | {
|
|
2881
2911
|
kind: "document";
|
|
2882
2912
|
id: string;
|
|
2883
|
-
variant?: string | undefined;
|
|
2884
|
-
text?: string | undefined;
|
|
2885
2913
|
key: string;
|
|
2914
|
+
text?: string | undefined;
|
|
2915
|
+
variant?: string | undefined;
|
|
2886
2916
|
} | {
|
|
2887
2917
|
kind: "web";
|
|
2888
2918
|
url: string;
|
|
@@ -2890,39 +2920,9 @@ declare const LinkLegacy: (ctx: LegacyContentCtx) => t.Type<{
|
|
|
2890
2920
|
preview?: {
|
|
2891
2921
|
title?: string | undefined;
|
|
2892
2922
|
} | null | undefined;
|
|
2893
|
-
variant?: string | undefined;
|
|
2894
|
-
text?: string | undefined;
|
|
2895
|
-
key: string;
|
|
2896
|
-
} | {
|
|
2897
|
-
kind: "image";
|
|
2898
|
-
variant?: string | undefined;
|
|
2899
|
-
text?: string | undefined;
|
|
2900
|
-
key: string;
|
|
2901
|
-
} | {
|
|
2902
|
-
kind: "file";
|
|
2903
|
-
variant?: string | undefined;
|
|
2904
|
-
text?: string | undefined;
|
|
2905
2923
|
key: string;
|
|
2906
|
-
} | {
|
|
2907
|
-
kind: "media";
|
|
2908
|
-
variant?: string | undefined;
|
|
2909
|
-
text?: string | undefined;
|
|
2910
|
-
key: string;
|
|
2911
|
-
} | {
|
|
2912
|
-
kind: "document";
|
|
2913
|
-
variant?: string | undefined;
|
|
2914
2924
|
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
2925
|
variant?: string | undefined;
|
|
2924
|
-
text?: string | undefined;
|
|
2925
|
-
key: string;
|
|
2926
2926
|
};
|
|
2927
2927
|
}, unknown>;
|
|
2928
2928
|
declare const RepeatableLegacy: (ctx: LegacyContentCtx, fieldType: "Link") => t.Type<{
|
|
@@ -2932,8 +2932,8 @@ declare const RepeatableLegacy: (ctx: LegacyContentCtx, fieldType: "Link") => t.
|
|
|
2932
2932
|
__TYPE__: "LinkContent";
|
|
2933
2933
|
key: string;
|
|
2934
2934
|
value: {
|
|
2935
|
-
variant?: string | undefined;
|
|
2936
2935
|
text?: string | undefined;
|
|
2936
|
+
variant?: string | undefined;
|
|
2937
2937
|
} & LinkContentValue;
|
|
2938
2938
|
}[];
|
|
2939
2939
|
}, {
|
|
@@ -2968,7 +2968,7 @@ declare const TableLegacy: (ctx: LegacyContentCtx) => t.Type<{
|
|
|
2968
2968
|
type: "tableRow";
|
|
2969
2969
|
content: {
|
|
2970
2970
|
key: string;
|
|
2971
|
-
type: "
|
|
2971
|
+
type: "tableCell" | "tableHeader";
|
|
2972
2972
|
content: {
|
|
2973
2973
|
__TYPE__: "StructuredTextContent";
|
|
2974
2974
|
value: RichTextContentBlock[];
|
|
@@ -2985,7 +2985,7 @@ declare const TableLegacy: (ctx: LegacyContentCtx) => t.Type<{
|
|
|
2985
2985
|
type: "tableRow";
|
|
2986
2986
|
content: {
|
|
2987
2987
|
key: string;
|
|
2988
|
-
type: "
|
|
2988
|
+
type: "tableCell" | "tableHeader";
|
|
2989
2989
|
content: RichTextLegacyBlock[];
|
|
2990
2990
|
columnWidth?: number | undefined;
|
|
2991
2991
|
}[];
|
|
@@ -3019,44 +3019,25 @@ declare const GroupLegacy: (ctx: LegacyContentCtx) => t.Type<{
|
|
|
3019
3019
|
content: GroupLegacy$1;
|
|
3020
3020
|
}, unknown>;
|
|
3021
3021
|
declare const LegacySliceLegacy: (ctx: LegacyContentCtx) => t.Type<{
|
|
3022
|
-
|
|
3023
|
-
value:
|
|
3024
|
-
__TYPE__: "FieldContent";
|
|
3025
|
-
} | {
|
|
3026
|
-
type: "Color";
|
|
3027
|
-
value: string;
|
|
3028
|
-
__TYPE__: "FieldContent";
|
|
3029
|
-
} | {
|
|
3030
|
-
type: "Date";
|
|
3031
|
-
value: string;
|
|
3032
|
-
__TYPE__: "FieldContent";
|
|
3022
|
+
__TYPE__: "GroupContentType";
|
|
3023
|
+
value: GroupItemContent[];
|
|
3033
3024
|
} | {
|
|
3034
|
-
type:
|
|
3035
|
-
|
|
3036
|
-
__TYPE__: "FieldContent";
|
|
3025
|
+
type: string;
|
|
3026
|
+
__TYPE__: "EmptyContent";
|
|
3037
3027
|
} | {
|
|
3038
|
-
|
|
3039
|
-
value:
|
|
3040
|
-
__TYPE__: "FieldContent";
|
|
3028
|
+
__TYPE__: "BooleanContent";
|
|
3029
|
+
value: boolean;
|
|
3041
3030
|
} | {
|
|
3042
|
-
type: "
|
|
3031
|
+
type: "Color";
|
|
3043
3032
|
value: string;
|
|
3044
3033
|
__TYPE__: "FieldContent";
|
|
3045
3034
|
} | {
|
|
3046
|
-
type: "
|
|
3035
|
+
type: "Date";
|
|
3047
3036
|
value: string;
|
|
3048
3037
|
__TYPE__: "FieldContent";
|
|
3049
|
-
} | {
|
|
3050
|
-
type: string;
|
|
3051
|
-
__TYPE__: "EmptyContent";
|
|
3052
|
-
} | {
|
|
3053
|
-
__TYPE__: "BooleanContent";
|
|
3054
|
-
value: boolean;
|
|
3055
3038
|
} | {
|
|
3056
3039
|
embed_url: string;
|
|
3057
3040
|
type: string;
|
|
3058
|
-
__TYPE__: "EmbedContent";
|
|
3059
|
-
all: unknown;
|
|
3060
3041
|
version?: string | number | null | undefined;
|
|
3061
3042
|
title?: string | null | undefined;
|
|
3062
3043
|
author_name?: string | null | undefined;
|
|
@@ -3068,6 +3049,8 @@ declare const LegacySliceLegacy: (ctx: LegacyContentCtx) => t.Type<{
|
|
|
3068
3049
|
thumbnail_width?: number | null | undefined;
|
|
3069
3050
|
thumbnail_height?: number | null | undefined;
|
|
3070
3051
|
html?: string | null | undefined;
|
|
3052
|
+
__TYPE__: "EmbedContent";
|
|
3053
|
+
all: unknown;
|
|
3071
3054
|
} | {
|
|
3072
3055
|
position: {
|
|
3073
3056
|
lat: number;
|
|
@@ -3091,7 +3074,6 @@ declare const LegacySliceLegacy: (ctx: LegacyContentCtx) => t.Type<{
|
|
|
3091
3074
|
};
|
|
3092
3075
|
background: string;
|
|
3093
3076
|
};
|
|
3094
|
-
__TYPE__: "ImageContent";
|
|
3095
3077
|
url?: string | undefined;
|
|
3096
3078
|
credits?: string | null | undefined;
|
|
3097
3079
|
alt?: string | null | undefined;
|
|
@@ -3118,6 +3100,7 @@ declare const LegacySliceLegacy: (ctx: LegacyContentCtx) => t.Type<{
|
|
|
3118
3100
|
alt?: string | null | undefined;
|
|
3119
3101
|
provider?: string | null | undefined;
|
|
3120
3102
|
}> | undefined;
|
|
3103
|
+
__TYPE__: "ImageContent";
|
|
3121
3104
|
} | {
|
|
3122
3105
|
__TYPE__: "IntegrationFieldsContent";
|
|
3123
3106
|
value: string;
|
|
@@ -3125,9 +3108,17 @@ declare const LegacySliceLegacy: (ctx: LegacyContentCtx) => t.Type<{
|
|
|
3125
3108
|
__TYPE__: "LinkContent";
|
|
3126
3109
|
key: string;
|
|
3127
3110
|
value: {
|
|
3128
|
-
variant?: string | undefined;
|
|
3129
3111
|
text?: string | undefined;
|
|
3112
|
+
variant?: string | undefined;
|
|
3130
3113
|
} & LinkContentValue;
|
|
3114
|
+
} | {
|
|
3115
|
+
type: "Number";
|
|
3116
|
+
value: string;
|
|
3117
|
+
__TYPE__: "FieldContent";
|
|
3118
|
+
} | {
|
|
3119
|
+
type: "Range";
|
|
3120
|
+
value: string;
|
|
3121
|
+
__TYPE__: "FieldContent";
|
|
3131
3122
|
} | {
|
|
3132
3123
|
__TYPE__: "RepeatableContent";
|
|
3133
3124
|
type: "Link";
|
|
@@ -3135,13 +3126,14 @@ declare const LegacySliceLegacy: (ctx: LegacyContentCtx) => t.Type<{
|
|
|
3135
3126
|
__TYPE__: "LinkContent";
|
|
3136
3127
|
key: string;
|
|
3137
3128
|
value: {
|
|
3138
|
-
variant?: string | undefined;
|
|
3139
3129
|
text?: string | undefined;
|
|
3130
|
+
variant?: string | undefined;
|
|
3140
3131
|
} & LinkContentValue;
|
|
3141
3132
|
}[];
|
|
3142
3133
|
} | {
|
|
3143
|
-
|
|
3144
|
-
value:
|
|
3134
|
+
type: "Select";
|
|
3135
|
+
value: string;
|
|
3136
|
+
__TYPE__: "FieldContent";
|
|
3145
3137
|
} | {
|
|
3146
3138
|
__TYPE__: "SeparatorContent";
|
|
3147
3139
|
} | {
|
|
@@ -3151,7 +3143,7 @@ declare const LegacySliceLegacy: (ctx: LegacyContentCtx) => t.Type<{
|
|
|
3151
3143
|
type: "tableRow";
|
|
3152
3144
|
content: {
|
|
3153
3145
|
key: string;
|
|
3154
|
-
type: "
|
|
3146
|
+
type: "tableCell" | "tableHeader";
|
|
3155
3147
|
content: {
|
|
3156
3148
|
__TYPE__: "StructuredTextContent";
|
|
3157
3149
|
value: RichTextContentBlock[];
|
|
@@ -3160,8 +3152,16 @@ declare const LegacySliceLegacy: (ctx: LegacyContentCtx) => t.Type<{
|
|
|
3160
3152
|
}[];
|
|
3161
3153
|
}[];
|
|
3162
3154
|
} | {
|
|
3163
|
-
|
|
3164
|
-
value:
|
|
3155
|
+
type: "Text";
|
|
3156
|
+
value: string;
|
|
3157
|
+
__TYPE__: "FieldContent";
|
|
3158
|
+
} | {
|
|
3159
|
+
type: "Timestamp";
|
|
3160
|
+
value: string;
|
|
3161
|
+
__TYPE__: "FieldContent";
|
|
3162
|
+
} | {
|
|
3163
|
+
__TYPE__: "StructuredTextContent";
|
|
3164
|
+
value: RichTextContentBlock[];
|
|
3165
3165
|
}, {
|
|
3166
3166
|
keys: Record<string, string>;
|
|
3167
3167
|
types: Record<string, FieldOrSliceType>;
|
|
@@ -3170,9 +3170,11 @@ declare const LegacySliceLegacy: (ctx: LegacyContentCtx) => t.Type<{
|
|
|
3170
3170
|
declare const CompositeSliceLegacy: (ctx: LegacyContentCtx) => t.Type<{
|
|
3171
3171
|
__TYPE__: "CompositeSliceContent";
|
|
3172
3172
|
nonRepeat: Record<string, {
|
|
3173
|
-
type:
|
|
3174
|
-
|
|
3175
|
-
|
|
3173
|
+
type: string;
|
|
3174
|
+
__TYPE__: "EmptyContent";
|
|
3175
|
+
} | {
|
|
3176
|
+
__TYPE__: "BooleanContent";
|
|
3177
|
+
value: boolean;
|
|
3176
3178
|
} | {
|
|
3177
3179
|
type: "Color";
|
|
3178
3180
|
value: string;
|
|
@@ -3181,33 +3183,9 @@ declare const CompositeSliceLegacy: (ctx: LegacyContentCtx) => t.Type<{
|
|
|
3181
3183
|
type: "Date";
|
|
3182
3184
|
value: string;
|
|
3183
3185
|
__TYPE__: "FieldContent";
|
|
3184
|
-
} | {
|
|
3185
|
-
type: "Timestamp";
|
|
3186
|
-
value: string;
|
|
3187
|
-
__TYPE__: "FieldContent";
|
|
3188
|
-
} | {
|
|
3189
|
-
type: "Number";
|
|
3190
|
-
value: string;
|
|
3191
|
-
__TYPE__: "FieldContent";
|
|
3192
|
-
} | {
|
|
3193
|
-
type: "Range";
|
|
3194
|
-
value: string;
|
|
3195
|
-
__TYPE__: "FieldContent";
|
|
3196
|
-
} | {
|
|
3197
|
-
type: "Select";
|
|
3198
|
-
value: string;
|
|
3199
|
-
__TYPE__: "FieldContent";
|
|
3200
|
-
} | {
|
|
3201
|
-
type: string;
|
|
3202
|
-
__TYPE__: "EmptyContent";
|
|
3203
|
-
} | {
|
|
3204
|
-
__TYPE__: "BooleanContent";
|
|
3205
|
-
value: boolean;
|
|
3206
3186
|
} | {
|
|
3207
3187
|
embed_url: string;
|
|
3208
3188
|
type: string;
|
|
3209
|
-
__TYPE__: "EmbedContent";
|
|
3210
|
-
all: unknown;
|
|
3211
3189
|
version?: string | number | null | undefined;
|
|
3212
3190
|
title?: string | null | undefined;
|
|
3213
3191
|
author_name?: string | null | undefined;
|
|
@@ -3219,6 +3197,8 @@ declare const CompositeSliceLegacy: (ctx: LegacyContentCtx) => t.Type<{
|
|
|
3219
3197
|
thumbnail_width?: number | null | undefined;
|
|
3220
3198
|
thumbnail_height?: number | null | undefined;
|
|
3221
3199
|
html?: string | null | undefined;
|
|
3200
|
+
__TYPE__: "EmbedContent";
|
|
3201
|
+
all: unknown;
|
|
3222
3202
|
} | {
|
|
3223
3203
|
position: {
|
|
3224
3204
|
lat: number;
|
|
@@ -3242,7 +3222,6 @@ declare const CompositeSliceLegacy: (ctx: LegacyContentCtx) => t.Type<{
|
|
|
3242
3222
|
};
|
|
3243
3223
|
background: string;
|
|
3244
3224
|
};
|
|
3245
|
-
__TYPE__: "ImageContent";
|
|
3246
3225
|
url?: string | undefined;
|
|
3247
3226
|
credits?: string | null | undefined;
|
|
3248
3227
|
alt?: string | null | undefined;
|
|
@@ -3269,6 +3248,7 @@ declare const CompositeSliceLegacy: (ctx: LegacyContentCtx) => t.Type<{
|
|
|
3269
3248
|
alt?: string | null | undefined;
|
|
3270
3249
|
provider?: string | null | undefined;
|
|
3271
3250
|
}> | undefined;
|
|
3251
|
+
__TYPE__: "ImageContent";
|
|
3272
3252
|
} | {
|
|
3273
3253
|
__TYPE__: "IntegrationFieldsContent";
|
|
3274
3254
|
value: string;
|
|
@@ -3276,9 +3256,17 @@ declare const CompositeSliceLegacy: (ctx: LegacyContentCtx) => t.Type<{
|
|
|
3276
3256
|
__TYPE__: "LinkContent";
|
|
3277
3257
|
key: string;
|
|
3278
3258
|
value: {
|
|
3279
|
-
variant?: string | undefined;
|
|
3280
3259
|
text?: string | undefined;
|
|
3260
|
+
variant?: string | undefined;
|
|
3281
3261
|
} & LinkContentValue;
|
|
3262
|
+
} | {
|
|
3263
|
+
type: "Number";
|
|
3264
|
+
value: string;
|
|
3265
|
+
__TYPE__: "FieldContent";
|
|
3266
|
+
} | {
|
|
3267
|
+
type: "Range";
|
|
3268
|
+
value: string;
|
|
3269
|
+
__TYPE__: "FieldContent";
|
|
3282
3270
|
} | {
|
|
3283
3271
|
__TYPE__: "RepeatableContent";
|
|
3284
3272
|
type: "Link";
|
|
@@ -3286,13 +3274,14 @@ declare const CompositeSliceLegacy: (ctx: LegacyContentCtx) => t.Type<{
|
|
|
3286
3274
|
__TYPE__: "LinkContent";
|
|
3287
3275
|
key: string;
|
|
3288
3276
|
value: {
|
|
3289
|
-
variant?: string | undefined;
|
|
3290
3277
|
text?: string | undefined;
|
|
3278
|
+
variant?: string | undefined;
|
|
3291
3279
|
} & LinkContentValue;
|
|
3292
3280
|
}[];
|
|
3293
3281
|
} | {
|
|
3294
|
-
|
|
3295
|
-
value:
|
|
3282
|
+
type: "Select";
|
|
3283
|
+
value: string;
|
|
3284
|
+
__TYPE__: "FieldContent";
|
|
3296
3285
|
} | {
|
|
3297
3286
|
__TYPE__: "SeparatorContent";
|
|
3298
3287
|
} | {
|
|
@@ -3302,7 +3291,7 @@ declare const CompositeSliceLegacy: (ctx: LegacyContentCtx) => t.Type<{
|
|
|
3302
3291
|
type: "tableRow";
|
|
3303
3292
|
content: {
|
|
3304
3293
|
key: string;
|
|
3305
|
-
type: "
|
|
3294
|
+
type: "tableCell" | "tableHeader";
|
|
3306
3295
|
content: {
|
|
3307
3296
|
__TYPE__: "StructuredTextContent";
|
|
3308
3297
|
value: RichTextContentBlock[];
|
|
@@ -3310,6 +3299,17 @@ declare const CompositeSliceLegacy: (ctx: LegacyContentCtx) => t.Type<{
|
|
|
3310
3299
|
columnWidth?: number | undefined;
|
|
3311
3300
|
}[];
|
|
3312
3301
|
}[];
|
|
3302
|
+
} | {
|
|
3303
|
+
type: "Text";
|
|
3304
|
+
value: string;
|
|
3305
|
+
__TYPE__: "FieldContent";
|
|
3306
|
+
} | {
|
|
3307
|
+
type: "Timestamp";
|
|
3308
|
+
value: string;
|
|
3309
|
+
__TYPE__: "FieldContent";
|
|
3310
|
+
} | {
|
|
3311
|
+
__TYPE__: "StructuredTextContent";
|
|
3312
|
+
value: RichTextContentBlock[];
|
|
3313
3313
|
}>;
|
|
3314
3314
|
repeat: GroupItemContent[];
|
|
3315
3315
|
}, {
|
|
@@ -3324,44 +3324,25 @@ declare const SharedSliceLegacy: (ctx: LegacyContentCtx) => t.Type<{
|
|
|
3324
3324
|
__TYPE__: "SharedSliceContent";
|
|
3325
3325
|
variation: string;
|
|
3326
3326
|
primary: Record<string, {
|
|
3327
|
-
|
|
3328
|
-
value:
|
|
3329
|
-
__TYPE__: "FieldContent";
|
|
3330
|
-
} | {
|
|
3331
|
-
type: "Color";
|
|
3332
|
-
value: string;
|
|
3333
|
-
__TYPE__: "FieldContent";
|
|
3334
|
-
} | {
|
|
3335
|
-
type: "Date";
|
|
3336
|
-
value: string;
|
|
3337
|
-
__TYPE__: "FieldContent";
|
|
3327
|
+
__TYPE__: "GroupContentType";
|
|
3328
|
+
value: GroupItemContent[];
|
|
3338
3329
|
} | {
|
|
3339
|
-
type:
|
|
3340
|
-
|
|
3341
|
-
__TYPE__: "FieldContent";
|
|
3330
|
+
type: string;
|
|
3331
|
+
__TYPE__: "EmptyContent";
|
|
3342
3332
|
} | {
|
|
3343
|
-
|
|
3344
|
-
value:
|
|
3345
|
-
__TYPE__: "FieldContent";
|
|
3333
|
+
__TYPE__: "BooleanContent";
|
|
3334
|
+
value: boolean;
|
|
3346
3335
|
} | {
|
|
3347
|
-
type: "
|
|
3336
|
+
type: "Color";
|
|
3348
3337
|
value: string;
|
|
3349
3338
|
__TYPE__: "FieldContent";
|
|
3350
3339
|
} | {
|
|
3351
|
-
type: "
|
|
3340
|
+
type: "Date";
|
|
3352
3341
|
value: string;
|
|
3353
3342
|
__TYPE__: "FieldContent";
|
|
3354
|
-
} | {
|
|
3355
|
-
type: string;
|
|
3356
|
-
__TYPE__: "EmptyContent";
|
|
3357
|
-
} | {
|
|
3358
|
-
__TYPE__: "BooleanContent";
|
|
3359
|
-
value: boolean;
|
|
3360
3343
|
} | {
|
|
3361
3344
|
embed_url: string;
|
|
3362
3345
|
type: string;
|
|
3363
|
-
__TYPE__: "EmbedContent";
|
|
3364
|
-
all: unknown;
|
|
3365
3346
|
version?: string | number | null | undefined;
|
|
3366
3347
|
title?: string | null | undefined;
|
|
3367
3348
|
author_name?: string | null | undefined;
|
|
@@ -3373,6 +3354,8 @@ declare const SharedSliceLegacy: (ctx: LegacyContentCtx) => t.Type<{
|
|
|
3373
3354
|
thumbnail_width?: number | null | undefined;
|
|
3374
3355
|
thumbnail_height?: number | null | undefined;
|
|
3375
3356
|
html?: string | null | undefined;
|
|
3357
|
+
__TYPE__: "EmbedContent";
|
|
3358
|
+
all: unknown;
|
|
3376
3359
|
} | {
|
|
3377
3360
|
position: {
|
|
3378
3361
|
lat: number;
|
|
@@ -3396,7 +3379,6 @@ declare const SharedSliceLegacy: (ctx: LegacyContentCtx) => t.Type<{
|
|
|
3396
3379
|
};
|
|
3397
3380
|
background: string;
|
|
3398
3381
|
};
|
|
3399
|
-
__TYPE__: "ImageContent";
|
|
3400
3382
|
url?: string | undefined;
|
|
3401
3383
|
credits?: string | null | undefined;
|
|
3402
3384
|
alt?: string | null | undefined;
|
|
@@ -3423,6 +3405,7 @@ declare const SharedSliceLegacy: (ctx: LegacyContentCtx) => t.Type<{
|
|
|
3423
3405
|
alt?: string | null | undefined;
|
|
3424
3406
|
provider?: string | null | undefined;
|
|
3425
3407
|
}> | undefined;
|
|
3408
|
+
__TYPE__: "ImageContent";
|
|
3426
3409
|
} | {
|
|
3427
3410
|
__TYPE__: "IntegrationFieldsContent";
|
|
3428
3411
|
value: string;
|
|
@@ -3430,9 +3413,17 @@ declare const SharedSliceLegacy: (ctx: LegacyContentCtx) => t.Type<{
|
|
|
3430
3413
|
__TYPE__: "LinkContent";
|
|
3431
3414
|
key: string;
|
|
3432
3415
|
value: {
|
|
3433
|
-
variant?: string | undefined;
|
|
3434
3416
|
text?: string | undefined;
|
|
3417
|
+
variant?: string | undefined;
|
|
3435
3418
|
} & LinkContentValue;
|
|
3419
|
+
} | {
|
|
3420
|
+
type: "Number";
|
|
3421
|
+
value: string;
|
|
3422
|
+
__TYPE__: "FieldContent";
|
|
3423
|
+
} | {
|
|
3424
|
+
type: "Range";
|
|
3425
|
+
value: string;
|
|
3426
|
+
__TYPE__: "FieldContent";
|
|
3436
3427
|
} | {
|
|
3437
3428
|
__TYPE__: "RepeatableContent";
|
|
3438
3429
|
type: "Link";
|
|
@@ -3440,13 +3431,14 @@ declare const SharedSliceLegacy: (ctx: LegacyContentCtx) => t.Type<{
|
|
|
3440
3431
|
__TYPE__: "LinkContent";
|
|
3441
3432
|
key: string;
|
|
3442
3433
|
value: {
|
|
3443
|
-
variant?: string | undefined;
|
|
3444
3434
|
text?: string | undefined;
|
|
3435
|
+
variant?: string | undefined;
|
|
3445
3436
|
} & LinkContentValue;
|
|
3446
3437
|
}[];
|
|
3447
3438
|
} | {
|
|
3448
|
-
|
|
3449
|
-
value:
|
|
3439
|
+
type: "Select";
|
|
3440
|
+
value: string;
|
|
3441
|
+
__TYPE__: "FieldContent";
|
|
3450
3442
|
} | {
|
|
3451
3443
|
__TYPE__: "SeparatorContent";
|
|
3452
3444
|
} | {
|
|
@@ -3456,7 +3448,7 @@ declare const SharedSliceLegacy: (ctx: LegacyContentCtx) => t.Type<{
|
|
|
3456
3448
|
type: "tableRow";
|
|
3457
3449
|
content: {
|
|
3458
3450
|
key: string;
|
|
3459
|
-
type: "
|
|
3451
|
+
type: "tableCell" | "tableHeader";
|
|
3460
3452
|
content: {
|
|
3461
3453
|
__TYPE__: "StructuredTextContent";
|
|
3462
3454
|
value: RichTextContentBlock[];
|
|
@@ -3465,8 +3457,16 @@ declare const SharedSliceLegacy: (ctx: LegacyContentCtx) => t.Type<{
|
|
|
3465
3457
|
}[];
|
|
3466
3458
|
}[];
|
|
3467
3459
|
} | {
|
|
3468
|
-
|
|
3469
|
-
value:
|
|
3460
|
+
type: "Text";
|
|
3461
|
+
value: string;
|
|
3462
|
+
__TYPE__: "FieldContent";
|
|
3463
|
+
} | {
|
|
3464
|
+
type: "Timestamp";
|
|
3465
|
+
value: string;
|
|
3466
|
+
__TYPE__: "FieldContent";
|
|
3467
|
+
} | {
|
|
3468
|
+
__TYPE__: "StructuredTextContent";
|
|
3469
|
+
value: RichTextContentBlock[];
|
|
3470
3470
|
}>;
|
|
3471
3471
|
items: GroupItemContent[];
|
|
3472
3472
|
}, {
|
|
@@ -3486,15 +3486,15 @@ declare const SliceLegacy: (ctx: LegacyContentCtx) => t.Type<SliceContent, {
|
|
|
3486
3486
|
declare const SliceItemLegacy: (ctx: LegacyContentCtx) => t.Type<{
|
|
3487
3487
|
key: string;
|
|
3488
3488
|
name: string;
|
|
3489
|
-
widget: SliceContent;
|
|
3490
3489
|
maybeLabel?: string | undefined;
|
|
3490
|
+
widget: SliceContent;
|
|
3491
3491
|
}, {
|
|
3492
3492
|
keys: Record<string, string>;
|
|
3493
3493
|
types: Record<string, FieldOrSliceType>;
|
|
3494
3494
|
content: {
|
|
3495
3495
|
key: string;
|
|
3496
|
-
value: unknown;
|
|
3497
3496
|
label?: string | null | undefined;
|
|
3497
|
+
value: unknown;
|
|
3498
3498
|
};
|
|
3499
3499
|
}, unknown>;
|
|
3500
3500
|
declare const SlicesLegacy: (ctx: LegacyContentCtx) => t.Type<{
|
|
@@ -3502,16 +3502,16 @@ declare const SlicesLegacy: (ctx: LegacyContentCtx) => t.Type<{
|
|
|
3502
3502
|
value: {
|
|
3503
3503
|
key: string;
|
|
3504
3504
|
name: string;
|
|
3505
|
-
widget: SliceContent;
|
|
3506
3505
|
maybeLabel?: string | undefined;
|
|
3506
|
+
widget: SliceContent;
|
|
3507
3507
|
}[];
|
|
3508
3508
|
}, {
|
|
3509
3509
|
keys: Record<string, string>;
|
|
3510
3510
|
types: Record<string, FieldOrSliceType>;
|
|
3511
3511
|
content: {
|
|
3512
3512
|
key: string;
|
|
3513
|
-
value: unknown;
|
|
3514
3513
|
label?: string | null | undefined;
|
|
3514
|
+
value: unknown;
|
|
3515
3515
|
}[];
|
|
3516
3516
|
}, unknown>;
|
|
3517
3517
|
declare const WidgetLegacy: (ctx: LegacyContentCtx) => t.Type<WidgetContent, {
|
|
@@ -3660,7 +3660,7 @@ declare const LinkModelSchema: t.Type<{
|
|
|
3660
3660
|
label?: string | null | undefined;
|
|
3661
3661
|
useAsTitle?: boolean | undefined;
|
|
3662
3662
|
placeholder?: string | undefined;
|
|
3663
|
-
select?: "
|
|
3663
|
+
select?: "document" | "media" | "web" | null | undefined;
|
|
3664
3664
|
customtypes?: (string | {
|
|
3665
3665
|
id: string;
|
|
3666
3666
|
fields: (string | {
|
|
@@ -3700,7 +3700,7 @@ declare const LinkModelSchema: t.Type<{
|
|
|
3700
3700
|
label?: string | null | undefined;
|
|
3701
3701
|
useAsTitle?: boolean | undefined;
|
|
3702
3702
|
placeholder?: string | undefined;
|
|
3703
|
-
select?: "
|
|
3703
|
+
select?: "document" | "media" | "web" | null | undefined;
|
|
3704
3704
|
customtypes?: (string | {
|
|
3705
3705
|
id: string;
|
|
3706
3706
|
fields: (string | {
|
|
@@ -3802,7 +3802,7 @@ declare const NestableModelSchema: t.Type<{
|
|
|
3802
3802
|
label?: string | null | undefined;
|
|
3803
3803
|
useAsTitle?: boolean | undefined;
|
|
3804
3804
|
placeholder?: string | undefined;
|
|
3805
|
-
select?: "
|
|
3805
|
+
select?: "document" | "media" | "web" | null | undefined;
|
|
3806
3806
|
customtypes?: (string | {
|
|
3807
3807
|
id: string;
|
|
3808
3808
|
fields: (string | {
|
|
@@ -3974,7 +3974,7 @@ declare const NestableModelSchema: t.Type<{
|
|
|
3974
3974
|
label?: string | null | undefined;
|
|
3975
3975
|
useAsTitle?: boolean | undefined;
|
|
3976
3976
|
placeholder?: string | undefined;
|
|
3977
|
-
select?: "
|
|
3977
|
+
select?: "document" | "media" | "web" | null | undefined;
|
|
3978
3978
|
customtypes?: (string | {
|
|
3979
3979
|
id: string;
|
|
3980
3980
|
fields: (string | {
|
|
@@ -4196,7 +4196,7 @@ declare const SharedSliceModelSchema: t.Type<{
|
|
|
4196
4196
|
docURL: string;
|
|
4197
4197
|
version: string;
|
|
4198
4198
|
display?: string | undefined;
|
|
4199
|
-
primary?: Record<string,
|
|
4199
|
+
primary?: Record<string, {
|
|
4200
4200
|
type: "Group";
|
|
4201
4201
|
fieldset?: string | null | undefined;
|
|
4202
4202
|
icon?: string | undefined;
|
|
@@ -4204,7 +4204,7 @@ declare const SharedSliceModelSchema: t.Type<{
|
|
|
4204
4204
|
config?: {
|
|
4205
4205
|
label?: string | null | undefined;
|
|
4206
4206
|
repeat?: boolean | undefined;
|
|
4207
|
-
fields?: Record<string,
|
|
4207
|
+
fields?: Record<string, {
|
|
4208
4208
|
type: "Group";
|
|
4209
4209
|
fieldset?: string | null | undefined;
|
|
4210
4210
|
icon?: string | undefined;
|
|
@@ -4280,20 +4280,23 @@ declare const SharedSliceModelSchema: t.Type<{
|
|
|
4280
4280
|
label?: string | null | undefined;
|
|
4281
4281
|
useAsTitle?: boolean | undefined;
|
|
4282
4282
|
placeholder?: string | undefined;
|
|
4283
|
-
select?: "
|
|
4283
|
+
select?: "document" | "media" | "web" | null | undefined;
|
|
4284
4284
|
customtypes?: (string | {
|
|
4285
4285
|
id: string;
|
|
4286
4286
|
fields: (string | {
|
|
4287
4287
|
id: string;
|
|
4288
4288
|
customtypes: (string | {
|
|
4289
4289
|
id: string;
|
|
4290
|
-
fields: (string | /*elided*/any)[];
|
|
4290
|
+
fields: (string | /*elided*/ any)[];
|
|
4291
4291
|
})[];
|
|
4292
4292
|
} | {
|
|
4293
4293
|
id: string;
|
|
4294
4294
|
fields: (string | {
|
|
4295
4295
|
id: string;
|
|
4296
|
-
customtypes: (string |
|
|
4296
|
+
customtypes: (string | {
|
|
4297
|
+
id: string;
|
|
4298
|
+
fields: (string | any)[];
|
|
4299
|
+
})[];
|
|
4297
4300
|
})[];
|
|
4298
4301
|
})[];
|
|
4299
4302
|
})[] | undefined;
|
|
@@ -4377,9 +4380,9 @@ declare const SharedSliceModelSchema: t.Type<{
|
|
|
4377
4380
|
} | undefined;
|
|
4378
4381
|
}> | undefined;
|
|
4379
4382
|
} | undefined;
|
|
4380
|
-
}> | undefined;
|
|
4383
|
+
} | NestableModel> | undefined;
|
|
4381
4384
|
} | undefined;
|
|
4382
|
-
}> | undefined;
|
|
4385
|
+
} | NestableModel> | undefined;
|
|
4383
4386
|
items?: Record<string, {
|
|
4384
4387
|
type: "Boolean";
|
|
4385
4388
|
config?: {
|
|
@@ -4448,17 +4451,14 @@ declare const SharedSliceModelSchema: t.Type<{
|
|
|
4448
4451
|
label?: string | null | undefined;
|
|
4449
4452
|
useAsTitle?: boolean | undefined;
|
|
4450
4453
|
placeholder?: string | undefined;
|
|
4451
|
-
select?: "
|
|
4454
|
+
select?: "document" | "media" | "web" | null | undefined;
|
|
4452
4455
|
customtypes?: (string | {
|
|
4453
4456
|
id: string;
|
|
4454
4457
|
fields: (string | {
|
|
4455
4458
|
id: string;
|
|
4456
4459
|
customtypes: (string | {
|
|
4457
4460
|
id: string;
|
|
4458
|
-
fields: (string |
|
|
4459
|
-
id: string;
|
|
4460
|
-
fields: string[];
|
|
4461
|
-
})[];
|
|
4461
|
+
fields: (string | any)[];
|
|
4462
4462
|
})[];
|
|
4463
4463
|
} | {
|
|
4464
4464
|
id: string;
|
|
@@ -4466,10 +4466,7 @@ declare const SharedSliceModelSchema: t.Type<{
|
|
|
4466
4466
|
id: string;
|
|
4467
4467
|
customtypes: (string | {
|
|
4468
4468
|
id: string;
|
|
4469
|
-
fields: (string |
|
|
4470
|
-
id: string;
|
|
4471
|
-
fields: string[];
|
|
4472
|
-
})[];
|
|
4469
|
+
fields: (string | any)[];
|
|
4473
4470
|
})[];
|
|
4474
4471
|
})[];
|
|
4475
4472
|
})[];
|
|
@@ -4558,7 +4555,6 @@ declare const SharedSliceModelSchema: t.Type<{
|
|
|
4558
4555
|
legacyPaths?: Record<string, string> | undefined;
|
|
4559
4556
|
schema?: undefined;
|
|
4560
4557
|
} | {
|
|
4561
|
-
schema: "@prismicio/types-internal@4.5.0";
|
|
4562
4558
|
id: string;
|
|
4563
4559
|
type: "SharedSlice";
|
|
4564
4560
|
name: string;
|
|
@@ -4570,7 +4566,7 @@ declare const SharedSliceModelSchema: t.Type<{
|
|
|
4570
4566
|
docURL: string;
|
|
4571
4567
|
version: string;
|
|
4572
4568
|
display?: string | undefined;
|
|
4573
|
-
primary?: Record<string,
|
|
4569
|
+
primary?: Record<string, {
|
|
4574
4570
|
type: "Group";
|
|
4575
4571
|
fieldset?: string | null | undefined;
|
|
4576
4572
|
icon?: string | undefined;
|
|
@@ -4578,7 +4574,7 @@ declare const SharedSliceModelSchema: t.Type<{
|
|
|
4578
4574
|
config?: {
|
|
4579
4575
|
label?: string | null | undefined;
|
|
4580
4576
|
repeat?: boolean | undefined;
|
|
4581
|
-
fields?: Record<string,
|
|
4577
|
+
fields?: Record<string, {
|
|
4582
4578
|
type: "Group";
|
|
4583
4579
|
fieldset?: string | null | undefined;
|
|
4584
4580
|
icon?: string | undefined;
|
|
@@ -4654,20 +4650,23 @@ declare const SharedSliceModelSchema: t.Type<{
|
|
|
4654
4650
|
label?: string | null | undefined;
|
|
4655
4651
|
useAsTitle?: boolean | undefined;
|
|
4656
4652
|
placeholder?: string | undefined;
|
|
4657
|
-
select?: "
|
|
4653
|
+
select?: "document" | "media" | "web" | null | undefined;
|
|
4658
4654
|
customtypes?: (string | {
|
|
4659
4655
|
id: string;
|
|
4660
4656
|
fields: (string | {
|
|
4661
4657
|
id: string;
|
|
4662
4658
|
customtypes: (string | {
|
|
4663
4659
|
id: string;
|
|
4664
|
-
fields: (string |
|
|
4660
|
+
fields: (string | any)[];
|
|
4665
4661
|
})[];
|
|
4666
4662
|
} | {
|
|
4667
4663
|
id: string;
|
|
4668
4664
|
fields: (string | {
|
|
4669
4665
|
id: string;
|
|
4670
|
-
customtypes: (string |
|
|
4666
|
+
customtypes: (string | {
|
|
4667
|
+
id: string;
|
|
4668
|
+
fields: (string | any)[];
|
|
4669
|
+
})[];
|
|
4671
4670
|
})[];
|
|
4672
4671
|
})[];
|
|
4673
4672
|
})[] | undefined;
|
|
@@ -4751,9 +4750,9 @@ declare const SharedSliceModelSchema: t.Type<{
|
|
|
4751
4750
|
} | undefined;
|
|
4752
4751
|
}> | undefined;
|
|
4753
4752
|
} | undefined;
|
|
4754
|
-
}> | undefined;
|
|
4753
|
+
} | NestableModel> | undefined;
|
|
4755
4754
|
} | undefined;
|
|
4756
|
-
}> | undefined;
|
|
4755
|
+
} | NestableModel> | undefined;
|
|
4757
4756
|
items?: Record<string, {
|
|
4758
4757
|
type: "Boolean";
|
|
4759
4758
|
config?: {
|
|
@@ -4822,17 +4821,14 @@ declare const SharedSliceModelSchema: t.Type<{
|
|
|
4822
4821
|
label?: string | null | undefined;
|
|
4823
4822
|
useAsTitle?: boolean | undefined;
|
|
4824
4823
|
placeholder?: string | undefined;
|
|
4825
|
-
select?: "
|
|
4824
|
+
select?: "document" | "media" | "web" | null | undefined;
|
|
4826
4825
|
customtypes?: (string | {
|
|
4827
4826
|
id: string;
|
|
4828
4827
|
fields: (string | {
|
|
4829
4828
|
id: string;
|
|
4830
4829
|
customtypes: (string | {
|
|
4831
4830
|
id: string;
|
|
4832
|
-
fields: (string |
|
|
4833
|
-
id: string;
|
|
4834
|
-
fields: string[];
|
|
4835
|
-
})[];
|
|
4831
|
+
fields: (string | any)[];
|
|
4836
4832
|
})[];
|
|
4837
4833
|
} | {
|
|
4838
4834
|
id: string;
|
|
@@ -4840,10 +4836,7 @@ declare const SharedSliceModelSchema: t.Type<{
|
|
|
4840
4836
|
id: string;
|
|
4841
4837
|
customtypes: (string | {
|
|
4842
4838
|
id: string;
|
|
4843
|
-
fields: (string |
|
|
4844
|
-
id: string;
|
|
4845
|
-
fields: string[];
|
|
4846
|
-
})[];
|
|
4839
|
+
fields: (string | any)[];
|
|
4847
4840
|
})[];
|
|
4848
4841
|
})[];
|
|
4849
4842
|
})[];
|
|
@@ -4930,6 +4923,7 @@ declare const SharedSliceModelSchema: t.Type<{
|
|
|
4930
4923
|
}[];
|
|
4931
4924
|
description?: string | undefined;
|
|
4932
4925
|
legacyPaths?: Record<string, string> | undefined;
|
|
4926
|
+
schema: "@prismicio/types-internal@4.5.0";
|
|
4933
4927
|
}, {
|
|
4934
4928
|
id: string;
|
|
4935
4929
|
type: "SharedSlice";
|
|
@@ -4942,7 +4936,7 @@ declare const SharedSliceModelSchema: t.Type<{
|
|
|
4942
4936
|
docURL: string;
|
|
4943
4937
|
version: string;
|
|
4944
4938
|
display?: string | undefined;
|
|
4945
|
-
primary?: Record<string,
|
|
4939
|
+
primary?: Record<string, {
|
|
4946
4940
|
type: "Group";
|
|
4947
4941
|
fieldset?: string | null | undefined;
|
|
4948
4942
|
icon?: string | undefined;
|
|
@@ -4950,7 +4944,7 @@ declare const SharedSliceModelSchema: t.Type<{
|
|
|
4950
4944
|
config?: {
|
|
4951
4945
|
label?: string | null | undefined;
|
|
4952
4946
|
repeat?: boolean | undefined;
|
|
4953
|
-
fields?: Record<string,
|
|
4947
|
+
fields?: Record<string, {
|
|
4954
4948
|
type: "Group";
|
|
4955
4949
|
fieldset?: string | null | undefined;
|
|
4956
4950
|
icon?: string | undefined;
|
|
@@ -5026,20 +5020,23 @@ declare const SharedSliceModelSchema: t.Type<{
|
|
|
5026
5020
|
label?: string | null | undefined;
|
|
5027
5021
|
useAsTitle?: boolean | undefined;
|
|
5028
5022
|
placeholder?: string | undefined;
|
|
5029
|
-
select?: "
|
|
5023
|
+
select?: "document" | "media" | "web" | null | undefined;
|
|
5030
5024
|
customtypes?: (string | {
|
|
5031
5025
|
id: string;
|
|
5032
5026
|
fields: (string | {
|
|
5033
5027
|
id: string;
|
|
5034
5028
|
customtypes: (string | {
|
|
5035
5029
|
id: string;
|
|
5036
|
-
fields: (string |
|
|
5030
|
+
fields: (string | any)[];
|
|
5037
5031
|
})[];
|
|
5038
5032
|
} | {
|
|
5039
5033
|
id: string;
|
|
5040
5034
|
fields: (string | {
|
|
5041
5035
|
id: string;
|
|
5042
|
-
customtypes: (string |
|
|
5036
|
+
customtypes: (string | {
|
|
5037
|
+
id: string;
|
|
5038
|
+
fields: (string | any)[];
|
|
5039
|
+
})[];
|
|
5043
5040
|
})[];
|
|
5044
5041
|
})[];
|
|
5045
5042
|
})[] | undefined;
|
|
@@ -5123,9 +5120,9 @@ declare const SharedSliceModelSchema: t.Type<{
|
|
|
5123
5120
|
} | undefined;
|
|
5124
5121
|
}> | undefined;
|
|
5125
5122
|
} | undefined;
|
|
5126
|
-
}> | undefined;
|
|
5123
|
+
} | NestableModel> | undefined;
|
|
5127
5124
|
} | undefined;
|
|
5128
|
-
}> | undefined;
|
|
5125
|
+
} | NestableModel> | undefined;
|
|
5129
5126
|
items?: Record<string, {
|
|
5130
5127
|
type: "Boolean";
|
|
5131
5128
|
config?: {
|
|
@@ -5194,17 +5191,14 @@ declare const SharedSliceModelSchema: t.Type<{
|
|
|
5194
5191
|
label?: string | null | undefined;
|
|
5195
5192
|
useAsTitle?: boolean | undefined;
|
|
5196
5193
|
placeholder?: string | undefined;
|
|
5197
|
-
select?: "
|
|
5194
|
+
select?: "document" | "media" | "web" | null | undefined;
|
|
5198
5195
|
customtypes?: (string | {
|
|
5199
5196
|
id: string;
|
|
5200
5197
|
fields: (string | {
|
|
5201
5198
|
id: string;
|
|
5202
5199
|
customtypes: (string | {
|
|
5203
5200
|
id: string;
|
|
5204
|
-
fields: (string |
|
|
5205
|
-
id: string;
|
|
5206
|
-
fields: string[];
|
|
5207
|
-
})[];
|
|
5201
|
+
fields: (string | any)[];
|
|
5208
5202
|
})[];
|
|
5209
5203
|
} | {
|
|
5210
5204
|
id: string;
|
|
@@ -5212,10 +5206,7 @@ declare const SharedSliceModelSchema: t.Type<{
|
|
|
5212
5206
|
id: string;
|
|
5213
5207
|
customtypes: (string | {
|
|
5214
5208
|
id: string;
|
|
5215
|
-
fields: (string |
|
|
5216
|
-
id: string;
|
|
5217
|
-
fields: string[];
|
|
5218
|
-
})[];
|
|
5209
|
+
fields: (string | any)[];
|
|
5219
5210
|
})[];
|
|
5220
5211
|
})[];
|
|
5221
5212
|
})[];
|
|
@@ -5304,7 +5295,6 @@ declare const SharedSliceModelSchema: t.Type<{
|
|
|
5304
5295
|
legacyPaths?: Record<string, string> | undefined;
|
|
5305
5296
|
schema?: undefined;
|
|
5306
5297
|
} | {
|
|
5307
|
-
schema: "@prismicio/types-internal@4.5.0";
|
|
5308
5298
|
id: string;
|
|
5309
5299
|
type: "SharedSlice";
|
|
5310
5300
|
name: string;
|
|
@@ -5316,7 +5306,7 @@ declare const SharedSliceModelSchema: t.Type<{
|
|
|
5316
5306
|
docURL: string;
|
|
5317
5307
|
version: string;
|
|
5318
5308
|
display?: string | undefined;
|
|
5319
|
-
primary?: Record<string,
|
|
5309
|
+
primary?: Record<string, {
|
|
5320
5310
|
type: "Group";
|
|
5321
5311
|
fieldset?: string | null | undefined;
|
|
5322
5312
|
icon?: string | undefined;
|
|
@@ -5324,7 +5314,7 @@ declare const SharedSliceModelSchema: t.Type<{
|
|
|
5324
5314
|
config?: {
|
|
5325
5315
|
label?: string | null | undefined;
|
|
5326
5316
|
repeat?: boolean | undefined;
|
|
5327
|
-
fields?: Record<string,
|
|
5317
|
+
fields?: Record<string, {
|
|
5328
5318
|
type: "Group";
|
|
5329
5319
|
fieldset?: string | null | undefined;
|
|
5330
5320
|
icon?: string | undefined;
|
|
@@ -5400,20 +5390,23 @@ declare const SharedSliceModelSchema: t.Type<{
|
|
|
5400
5390
|
label?: string | null | undefined;
|
|
5401
5391
|
useAsTitle?: boolean | undefined;
|
|
5402
5392
|
placeholder?: string | undefined;
|
|
5403
|
-
select?: "
|
|
5393
|
+
select?: "document" | "media" | "web" | null | undefined;
|
|
5404
5394
|
customtypes?: (string | {
|
|
5405
5395
|
id: string;
|
|
5406
5396
|
fields: (string | {
|
|
5407
5397
|
id: string;
|
|
5408
5398
|
customtypes: (string | {
|
|
5409
5399
|
id: string;
|
|
5410
|
-
fields: (string |
|
|
5400
|
+
fields: (string | any)[];
|
|
5411
5401
|
})[];
|
|
5412
5402
|
} | {
|
|
5413
5403
|
id: string;
|
|
5414
5404
|
fields: (string | {
|
|
5415
5405
|
id: string;
|
|
5416
|
-
customtypes: (string |
|
|
5406
|
+
customtypes: (string | {
|
|
5407
|
+
id: string;
|
|
5408
|
+
fields: (string | any)[];
|
|
5409
|
+
})[];
|
|
5417
5410
|
})[];
|
|
5418
5411
|
})[];
|
|
5419
5412
|
})[] | undefined;
|
|
@@ -5497,9 +5490,9 @@ declare const SharedSliceModelSchema: t.Type<{
|
|
|
5497
5490
|
} | undefined;
|
|
5498
5491
|
}> | undefined;
|
|
5499
5492
|
} | undefined;
|
|
5500
|
-
}> | undefined;
|
|
5493
|
+
} | NestableModel> | undefined;
|
|
5501
5494
|
} | undefined;
|
|
5502
|
-
}> | undefined;
|
|
5495
|
+
} | NestableModel> | undefined;
|
|
5503
5496
|
items?: Record<string, {
|
|
5504
5497
|
type: "Boolean";
|
|
5505
5498
|
config?: {
|
|
@@ -5568,17 +5561,14 @@ declare const SharedSliceModelSchema: t.Type<{
|
|
|
5568
5561
|
label?: string | null | undefined;
|
|
5569
5562
|
useAsTitle?: boolean | undefined;
|
|
5570
5563
|
placeholder?: string | undefined;
|
|
5571
|
-
select?: "
|
|
5564
|
+
select?: "document" | "media" | "web" | null | undefined;
|
|
5572
5565
|
customtypes?: (string | {
|
|
5573
5566
|
id: string;
|
|
5574
5567
|
fields: (string | {
|
|
5575
5568
|
id: string;
|
|
5576
5569
|
customtypes: (string | {
|
|
5577
5570
|
id: string;
|
|
5578
|
-
fields: (string |
|
|
5579
|
-
id: string;
|
|
5580
|
-
fields: string[];
|
|
5581
|
-
})[];
|
|
5571
|
+
fields: (string | any)[];
|
|
5582
5572
|
})[];
|
|
5583
5573
|
} | {
|
|
5584
5574
|
id: string;
|
|
@@ -5586,10 +5576,7 @@ declare const SharedSliceModelSchema: t.Type<{
|
|
|
5586
5576
|
id: string;
|
|
5587
5577
|
customtypes: (string | {
|
|
5588
5578
|
id: string;
|
|
5589
|
-
fields: (string |
|
|
5590
|
-
id: string;
|
|
5591
|
-
fields: string[];
|
|
5592
|
-
})[];
|
|
5579
|
+
fields: (string | any)[];
|
|
5593
5580
|
})[];
|
|
5594
5581
|
})[];
|
|
5595
5582
|
})[];
|
|
@@ -5676,6 +5663,7 @@ declare const SharedSliceModelSchema: t.Type<{
|
|
|
5676
5663
|
}[];
|
|
5677
5664
|
description?: string | undefined;
|
|
5678
5665
|
legacyPaths?: Record<string, string> | undefined;
|
|
5666
|
+
schema: "@prismicio/types-internal@4.5.0";
|
|
5679
5667
|
}, unknown>;
|
|
5680
5668
|
declare const TableModelSchema: t.Type<{
|
|
5681
5669
|
type: "Table";
|
|
@@ -5747,7 +5735,7 @@ declare const GroupModelSchema: t.Type<{
|
|
|
5747
5735
|
config?: {
|
|
5748
5736
|
label?: string | null | undefined;
|
|
5749
5737
|
repeat?: boolean | undefined;
|
|
5750
|
-
fields?: Record<string,
|
|
5738
|
+
fields?: Record<string, {
|
|
5751
5739
|
type: "Group";
|
|
5752
5740
|
fieldset?: string | null | undefined;
|
|
5753
5741
|
icon?: string | undefined;
|
|
@@ -5823,7 +5811,7 @@ declare const GroupModelSchema: t.Type<{
|
|
|
5823
5811
|
label?: string | null | undefined;
|
|
5824
5812
|
useAsTitle?: boolean | undefined;
|
|
5825
5813
|
placeholder?: string | undefined;
|
|
5826
|
-
select?: "
|
|
5814
|
+
select?: "document" | "media" | "web" | null | undefined;
|
|
5827
5815
|
customtypes?: (string | {
|
|
5828
5816
|
id: string;
|
|
5829
5817
|
fields: (string | {
|
|
@@ -5929,7 +5917,7 @@ declare const GroupModelSchema: t.Type<{
|
|
|
5929
5917
|
} | undefined;
|
|
5930
5918
|
}> | undefined;
|
|
5931
5919
|
} | undefined;
|
|
5932
|
-
}> | undefined;
|
|
5920
|
+
} | NestableModel> | undefined;
|
|
5933
5921
|
} | undefined;
|
|
5934
5922
|
}, {
|
|
5935
5923
|
type: "Group";
|
|
@@ -5939,7 +5927,7 @@ declare const GroupModelSchema: t.Type<{
|
|
|
5939
5927
|
config?: {
|
|
5940
5928
|
label?: string | null | undefined;
|
|
5941
5929
|
repeat?: boolean | undefined;
|
|
5942
|
-
fields?: Record<string,
|
|
5930
|
+
fields?: Record<string, {
|
|
5943
5931
|
type: "Group";
|
|
5944
5932
|
fieldset?: string | null | undefined;
|
|
5945
5933
|
icon?: string | undefined;
|
|
@@ -6015,7 +6003,7 @@ declare const GroupModelSchema: t.Type<{
|
|
|
6015
6003
|
label?: string | null | undefined;
|
|
6016
6004
|
useAsTitle?: boolean | undefined;
|
|
6017
6005
|
placeholder?: string | undefined;
|
|
6018
|
-
select?: "
|
|
6006
|
+
select?: "document" | "media" | "web" | null | undefined;
|
|
6019
6007
|
customtypes?: (string | {
|
|
6020
6008
|
id: string;
|
|
6021
6009
|
fields: (string | {
|
|
@@ -6121,7 +6109,7 @@ declare const GroupModelSchema: t.Type<{
|
|
|
6121
6109
|
} | undefined;
|
|
6122
6110
|
}> | undefined;
|
|
6123
6111
|
} | undefined;
|
|
6124
|
-
}> | undefined;
|
|
6112
|
+
} | NestableModel> | undefined;
|
|
6125
6113
|
} | undefined;
|
|
6126
6114
|
}, unknown>;
|
|
6127
6115
|
declare const NestedGroupModelSchema: t.Type<{
|
|
@@ -6200,7 +6188,7 @@ declare const NestedGroupModelSchema: t.Type<{
|
|
|
6200
6188
|
label?: string | null | undefined;
|
|
6201
6189
|
useAsTitle?: boolean | undefined;
|
|
6202
6190
|
placeholder?: string | undefined;
|
|
6203
|
-
select?: "
|
|
6191
|
+
select?: "document" | "media" | "web" | null | undefined;
|
|
6204
6192
|
customtypes?: (string | {
|
|
6205
6193
|
id: string;
|
|
6206
6194
|
fields: (string | {
|
|
@@ -6382,7 +6370,7 @@ declare const NestedGroupModelSchema: t.Type<{
|
|
|
6382
6370
|
label?: string | null | undefined;
|
|
6383
6371
|
useAsTitle?: boolean | undefined;
|
|
6384
6372
|
placeholder?: string | undefined;
|
|
6385
|
-
select?: "
|
|
6373
|
+
select?: "document" | "media" | "web" | null | undefined;
|
|
6386
6374
|
customtypes?: (string | {
|
|
6387
6375
|
id: string;
|
|
6388
6376
|
fields: (string | {
|
|
@@ -6497,7 +6485,7 @@ declare const SharedSliceModelVariationSchema: t.Type<{
|
|
|
6497
6485
|
docURL: string;
|
|
6498
6486
|
version: string;
|
|
6499
6487
|
display?: string | undefined;
|
|
6500
|
-
primary?: Record<string,
|
|
6488
|
+
primary?: Record<string, {
|
|
6501
6489
|
type: "Group";
|
|
6502
6490
|
fieldset?: string | null | undefined;
|
|
6503
6491
|
icon?: string | undefined;
|
|
@@ -6505,7 +6493,7 @@ declare const SharedSliceModelVariationSchema: t.Type<{
|
|
|
6505
6493
|
config?: {
|
|
6506
6494
|
label?: string | null | undefined;
|
|
6507
6495
|
repeat?: boolean | undefined;
|
|
6508
|
-
fields?: Record<string,
|
|
6496
|
+
fields?: Record<string, {
|
|
6509
6497
|
type: "Group";
|
|
6510
6498
|
fieldset?: string | null | undefined;
|
|
6511
6499
|
icon?: string | undefined;
|
|
@@ -6581,7 +6569,7 @@ declare const SharedSliceModelVariationSchema: t.Type<{
|
|
|
6581
6569
|
label?: string | null | undefined;
|
|
6582
6570
|
useAsTitle?: boolean | undefined;
|
|
6583
6571
|
placeholder?: string | undefined;
|
|
6584
|
-
select?: "
|
|
6572
|
+
select?: "document" | "media" | "web" | null | undefined;
|
|
6585
6573
|
customtypes?: (string | {
|
|
6586
6574
|
id: string;
|
|
6587
6575
|
fields: (string | {
|
|
@@ -6599,7 +6587,10 @@ declare const SharedSliceModelVariationSchema: t.Type<{
|
|
|
6599
6587
|
id: string;
|
|
6600
6588
|
customtypes: (string | {
|
|
6601
6589
|
id: string;
|
|
6602
|
-
fields: (string |
|
|
6590
|
+
fields: (string | {
|
|
6591
|
+
id: string;
|
|
6592
|
+
fields: string[];
|
|
6593
|
+
})[];
|
|
6603
6594
|
})[];
|
|
6604
6595
|
})[];
|
|
6605
6596
|
})[];
|
|
@@ -6684,9 +6675,9 @@ declare const SharedSliceModelVariationSchema: t.Type<{
|
|
|
6684
6675
|
} | undefined;
|
|
6685
6676
|
}> | undefined;
|
|
6686
6677
|
} | undefined;
|
|
6687
|
-
}> | undefined;
|
|
6678
|
+
} | NestableModel> | undefined;
|
|
6688
6679
|
} | undefined;
|
|
6689
|
-
}> | undefined;
|
|
6680
|
+
} | NestableModel> | undefined;
|
|
6690
6681
|
items?: Record<string, {
|
|
6691
6682
|
type: "Boolean";
|
|
6692
6683
|
config?: {
|
|
@@ -6755,7 +6746,7 @@ declare const SharedSliceModelVariationSchema: t.Type<{
|
|
|
6755
6746
|
label?: string | null | undefined;
|
|
6756
6747
|
useAsTitle?: boolean | undefined;
|
|
6757
6748
|
placeholder?: string | undefined;
|
|
6758
|
-
select?: "
|
|
6749
|
+
select?: "document" | "media" | "web" | null | undefined;
|
|
6759
6750
|
customtypes?: (string | {
|
|
6760
6751
|
id: string;
|
|
6761
6752
|
fields: (string | {
|
|
@@ -6868,7 +6859,7 @@ declare const SharedSliceModelVariationSchema: t.Type<{
|
|
|
6868
6859
|
docURL: string;
|
|
6869
6860
|
version: string;
|
|
6870
6861
|
display?: string | undefined;
|
|
6871
|
-
primary?: Record<string,
|
|
6862
|
+
primary?: Record<string, {
|
|
6872
6863
|
type: "Group";
|
|
6873
6864
|
fieldset?: string | null | undefined;
|
|
6874
6865
|
icon?: string | undefined;
|
|
@@ -6876,7 +6867,7 @@ declare const SharedSliceModelVariationSchema: t.Type<{
|
|
|
6876
6867
|
config?: {
|
|
6877
6868
|
label?: string | null | undefined;
|
|
6878
6869
|
repeat?: boolean | undefined;
|
|
6879
|
-
fields?: Record<string,
|
|
6870
|
+
fields?: Record<string, {
|
|
6880
6871
|
type: "Group";
|
|
6881
6872
|
fieldset?: string | null | undefined;
|
|
6882
6873
|
icon?: string | undefined;
|
|
@@ -6952,7 +6943,7 @@ declare const SharedSliceModelVariationSchema: t.Type<{
|
|
|
6952
6943
|
label?: string | null | undefined;
|
|
6953
6944
|
useAsTitle?: boolean | undefined;
|
|
6954
6945
|
placeholder?: string | undefined;
|
|
6955
|
-
select?: "
|
|
6946
|
+
select?: "document" | "media" | "web" | null | undefined;
|
|
6956
6947
|
customtypes?: (string | {
|
|
6957
6948
|
id: string;
|
|
6958
6949
|
fields: (string | {
|
|
@@ -6970,7 +6961,10 @@ declare const SharedSliceModelVariationSchema: t.Type<{
|
|
|
6970
6961
|
id: string;
|
|
6971
6962
|
customtypes: (string | {
|
|
6972
6963
|
id: string;
|
|
6973
|
-
fields: (string |
|
|
6964
|
+
fields: (string | {
|
|
6965
|
+
id: string;
|
|
6966
|
+
fields: string[];
|
|
6967
|
+
})[];
|
|
6974
6968
|
})[];
|
|
6975
6969
|
})[];
|
|
6976
6970
|
})[];
|
|
@@ -7055,9 +7049,9 @@ declare const SharedSliceModelVariationSchema: t.Type<{
|
|
|
7055
7049
|
} | undefined;
|
|
7056
7050
|
}> | undefined;
|
|
7057
7051
|
} | undefined;
|
|
7058
|
-
}> | undefined;
|
|
7052
|
+
} | NestableModel> | undefined;
|
|
7059
7053
|
} | undefined;
|
|
7060
|
-
}> | undefined;
|
|
7054
|
+
} | NestableModel> | undefined;
|
|
7061
7055
|
items?: Record<string, {
|
|
7062
7056
|
type: "Boolean";
|
|
7063
7057
|
config?: {
|
|
@@ -7126,7 +7120,7 @@ declare const SharedSliceModelVariationSchema: t.Type<{
|
|
|
7126
7120
|
label?: string | null | undefined;
|
|
7127
7121
|
useAsTitle?: boolean | undefined;
|
|
7128
7122
|
placeholder?: string | undefined;
|
|
7129
|
-
select?: "
|
|
7123
|
+
select?: "document" | "media" | "web" | null | undefined;
|
|
7130
7124
|
customtypes?: (string | {
|
|
7131
7125
|
id: string;
|
|
7132
7126
|
fields: (string | {
|
|
@@ -7311,7 +7305,7 @@ declare const CompositeSliceModelSchema: t.Type<{
|
|
|
7311
7305
|
label?: string | null | undefined;
|
|
7312
7306
|
useAsTitle?: boolean | undefined;
|
|
7313
7307
|
placeholder?: string | undefined;
|
|
7314
|
-
select?: "
|
|
7308
|
+
select?: "document" | "media" | "web" | null | undefined;
|
|
7315
7309
|
customtypes?: (string | {
|
|
7316
7310
|
id: string;
|
|
7317
7311
|
fields: (string | {
|
|
@@ -7484,7 +7478,7 @@ declare const CompositeSliceModelSchema: t.Type<{
|
|
|
7484
7478
|
label?: string | null | undefined;
|
|
7485
7479
|
useAsTitle?: boolean | undefined;
|
|
7486
7480
|
placeholder?: string | undefined;
|
|
7487
|
-
select?: "
|
|
7481
|
+
select?: "document" | "media" | "web" | null | undefined;
|
|
7488
7482
|
customtypes?: (string | {
|
|
7489
7483
|
id: string;
|
|
7490
7484
|
fields: (string | {
|
|
@@ -7666,7 +7660,7 @@ declare const CompositeSliceModelSchema: t.Type<{
|
|
|
7666
7660
|
label?: string | null | undefined;
|
|
7667
7661
|
useAsTitle?: boolean | undefined;
|
|
7668
7662
|
placeholder?: string | undefined;
|
|
7669
|
-
select?: "
|
|
7663
|
+
select?: "document" | "media" | "web" | null | undefined;
|
|
7670
7664
|
customtypes?: (string | {
|
|
7671
7665
|
id: string;
|
|
7672
7666
|
fields: (string | {
|
|
@@ -7839,7 +7833,7 @@ declare const CompositeSliceModelSchema: t.Type<{
|
|
|
7839
7833
|
label?: string | null | undefined;
|
|
7840
7834
|
useAsTitle?: boolean | undefined;
|
|
7841
7835
|
placeholder?: string | undefined;
|
|
7842
|
-
select?: "
|
|
7836
|
+
select?: "document" | "media" | "web" | null | undefined;
|
|
7843
7837
|
customtypes?: (string | {
|
|
7844
7838
|
id: string;
|
|
7845
7839
|
fields: (string | {
|
|
@@ -8016,7 +8010,7 @@ declare const LegacySliceModelSchema: t.Type<{
|
|
|
8016
8010
|
label?: string | null | undefined;
|
|
8017
8011
|
useAsTitle?: boolean | undefined;
|
|
8018
8012
|
placeholder?: string | undefined;
|
|
8019
|
-
select?: "
|
|
8013
|
+
select?: "document" | "media" | "web" | null | undefined;
|
|
8020
8014
|
customtypes?: (string | {
|
|
8021
8015
|
id: string;
|
|
8022
8016
|
fields: (string | {
|
|
@@ -8196,7 +8190,7 @@ declare const LegacySliceModelSchema: t.Type<{
|
|
|
8196
8190
|
label?: string | null | undefined;
|
|
8197
8191
|
useAsTitle?: boolean | undefined;
|
|
8198
8192
|
placeholder?: string | undefined;
|
|
8199
|
-
select?: "
|
|
8193
|
+
select?: "document" | "media" | "web" | null | undefined;
|
|
8200
8194
|
customtypes?: (string | {
|
|
8201
8195
|
id: string;
|
|
8202
8196
|
fields: (string | {
|
|
@@ -8370,7 +8364,7 @@ declare const LegacySliceModelSchema: t.Type<{
|
|
|
8370
8364
|
label?: string | null | undefined;
|
|
8371
8365
|
useAsTitle?: boolean | undefined;
|
|
8372
8366
|
placeholder?: string | undefined;
|
|
8373
|
-
select?: "
|
|
8367
|
+
select?: "document" | "media" | "web" | null | undefined;
|
|
8374
8368
|
customtypes?: (string | {
|
|
8375
8369
|
id: string;
|
|
8376
8370
|
fields: (string | {
|
|
@@ -8550,7 +8544,7 @@ declare const LegacySliceModelSchema: t.Type<{
|
|
|
8550
8544
|
label?: string | null | undefined;
|
|
8551
8545
|
useAsTitle?: boolean | undefined;
|
|
8552
8546
|
placeholder?: string | undefined;
|
|
8553
|
-
select?: "
|
|
8547
|
+
select?: "document" | "media" | "web" | null | undefined;
|
|
8554
8548
|
customtypes?: (string | {
|
|
8555
8549
|
id: string;
|
|
8556
8550
|
fields: (string | {
|
|
@@ -8661,7 +8655,7 @@ declare const DynamicSliceModelSchema: t.Type<DynamicSliceModel, DynamicSliceMod
|
|
|
8661
8655
|
declare const StaticSliceModelSchema: t.Type<StaticSliceModel, StaticSliceModel, unknown>;
|
|
8662
8656
|
declare const SliceContentModelSchema: t.Type<SliceContentModel, SliceContentModel, unknown>;
|
|
8663
8657
|
declare const DynamicSlicesModelSchema: t.Type<{
|
|
8664
|
-
type: "
|
|
8658
|
+
type: "Choice" | "Slices";
|
|
8665
8659
|
fieldset?: string | null | undefined;
|
|
8666
8660
|
config?: {
|
|
8667
8661
|
label?: string | null | undefined;
|
|
@@ -8672,7 +8666,7 @@ declare const DynamicSlicesModelSchema: t.Type<{
|
|
|
8672
8666
|
choices?: Record<string, DynamicSliceModel> | undefined;
|
|
8673
8667
|
} | undefined;
|
|
8674
8668
|
}, {
|
|
8675
|
-
type: "
|
|
8669
|
+
type: "Choice" | "Slices";
|
|
8676
8670
|
fieldset?: string | null | undefined;
|
|
8677
8671
|
config?: {
|
|
8678
8672
|
label?: string | null | undefined;
|
|
@@ -8684,7 +8678,7 @@ declare const DynamicSlicesModelSchema: t.Type<{
|
|
|
8684
8678
|
} | undefined;
|
|
8685
8679
|
}, unknown>;
|
|
8686
8680
|
declare const StaticSlicesModelSchema: t.Type<{
|
|
8687
|
-
type: "
|
|
8681
|
+
type: "Choice" | "Slices";
|
|
8688
8682
|
fieldset?: string | null | undefined;
|
|
8689
8683
|
config?: {
|
|
8690
8684
|
label?: string | null | undefined;
|
|
@@ -8695,7 +8689,7 @@ declare const StaticSlicesModelSchema: t.Type<{
|
|
|
8695
8689
|
choices?: Record<string, StaticSliceModel> | undefined;
|
|
8696
8690
|
} | undefined;
|
|
8697
8691
|
}, {
|
|
8698
|
-
type: "
|
|
8692
|
+
type: "Choice" | "Slices";
|
|
8699
8693
|
fieldset?: string | null | undefined;
|
|
8700
8694
|
config?: {
|
|
8701
8695
|
label?: string | null | undefined;
|
|
@@ -8712,103 +8706,103 @@ declare const StaticCustomTypeModelTabSchema: t.Type<Record<string, StaticWidget
|
|
|
8712
8706
|
declare const DynamicCustomTypeModelTabSchema: t.Type<Record<string, DynamicWidgetModel>, Record<string, DynamicWidgetModel>, unknown>;
|
|
8713
8707
|
declare const StaticCustomTypeModelSchema: t.Type<{
|
|
8714
8708
|
id: string;
|
|
8709
|
+
label?: string | null | undefined;
|
|
8715
8710
|
repeatable: boolean;
|
|
8716
8711
|
json: Record<string, Record<string, StaticWidgetModel>>;
|
|
8717
8712
|
status: boolean;
|
|
8718
8713
|
format: "custom" | "page";
|
|
8719
|
-
label?: string | null | undefined;
|
|
8720
8714
|
schema?: undefined;
|
|
8721
8715
|
} | {
|
|
8722
|
-
schema: "@prismicio/types-internal@4.5.0";
|
|
8723
8716
|
id: string;
|
|
8717
|
+
label?: string | null | undefined;
|
|
8724
8718
|
repeatable: boolean;
|
|
8725
8719
|
json: Record<string, Record<string, StaticWidgetModel>>;
|
|
8726
8720
|
status: boolean;
|
|
8727
8721
|
format: "custom" | "page";
|
|
8728
|
-
|
|
8722
|
+
schema: "@prismicio/types-internal@4.5.0";
|
|
8729
8723
|
}, {
|
|
8730
8724
|
id: string;
|
|
8725
|
+
label?: string | null | undefined;
|
|
8731
8726
|
repeatable: boolean;
|
|
8732
8727
|
json: Record<string, Record<string, StaticWidgetModel>>;
|
|
8733
8728
|
status: boolean;
|
|
8734
8729
|
format: "custom" | "page";
|
|
8735
|
-
label?: string | null | undefined;
|
|
8736
8730
|
schema?: undefined;
|
|
8737
8731
|
} | {
|
|
8738
|
-
schema: "@prismicio/types-internal@4.5.0";
|
|
8739
8732
|
id: string;
|
|
8733
|
+
label?: string | null | undefined;
|
|
8740
8734
|
repeatable: boolean;
|
|
8741
8735
|
json: Record<string, Record<string, StaticWidgetModel>>;
|
|
8742
8736
|
status: boolean;
|
|
8743
8737
|
format: "custom" | "page";
|
|
8744
|
-
|
|
8738
|
+
schema: "@prismicio/types-internal@4.5.0";
|
|
8745
8739
|
}, unknown>;
|
|
8746
8740
|
declare const DynamicCustomTypeModelSchema: t.Type<{
|
|
8747
8741
|
id: string;
|
|
8742
|
+
label?: string | null | undefined;
|
|
8748
8743
|
repeatable: boolean;
|
|
8749
8744
|
json: Record<string, Record<string, DynamicWidgetModel>>;
|
|
8750
8745
|
status: boolean;
|
|
8751
8746
|
format: "custom" | "page";
|
|
8752
|
-
label?: string | null | undefined;
|
|
8753
8747
|
schema?: undefined;
|
|
8754
8748
|
} | {
|
|
8755
|
-
schema: "@prismicio/types-internal@4.5.0";
|
|
8756
8749
|
id: string;
|
|
8750
|
+
label?: string | null | undefined;
|
|
8757
8751
|
repeatable: boolean;
|
|
8758
8752
|
json: Record<string, Record<string, DynamicWidgetModel>>;
|
|
8759
8753
|
status: boolean;
|
|
8760
8754
|
format: "custom" | "page";
|
|
8761
|
-
|
|
8755
|
+
schema: "@prismicio/types-internal@4.5.0";
|
|
8762
8756
|
}, {
|
|
8763
8757
|
id: string;
|
|
8758
|
+
label?: string | null | undefined;
|
|
8764
8759
|
repeatable: boolean;
|
|
8765
8760
|
json: Record<string, Record<string, DynamicWidgetModel>>;
|
|
8766
8761
|
status: boolean;
|
|
8767
8762
|
format: "custom" | "page";
|
|
8768
|
-
label?: string | null | undefined;
|
|
8769
8763
|
schema?: undefined;
|
|
8770
8764
|
} | {
|
|
8771
|
-
schema: "@prismicio/types-internal@4.5.0";
|
|
8772
8765
|
id: string;
|
|
8766
|
+
label?: string | null | undefined;
|
|
8773
8767
|
repeatable: boolean;
|
|
8774
8768
|
json: Record<string, Record<string, DynamicWidgetModel>>;
|
|
8775
8769
|
status: boolean;
|
|
8776
8770
|
format: "custom" | "page";
|
|
8777
|
-
|
|
8771
|
+
schema: "@prismicio/types-internal@4.5.0";
|
|
8778
8772
|
}, unknown>;
|
|
8779
8773
|
/** @deprecated Use DynamicCustomTypeModelSchema instead */
|
|
8780
8774
|
declare const CustomTypeModelSchema: t.Type<{
|
|
8781
8775
|
id: string;
|
|
8776
|
+
label?: string | null | undefined;
|
|
8782
8777
|
repeatable: boolean;
|
|
8783
8778
|
json: Record<string, Record<string, DynamicWidgetModel>>;
|
|
8784
8779
|
status: boolean;
|
|
8785
8780
|
format: "custom" | "page";
|
|
8786
|
-
label?: string | null | undefined;
|
|
8787
8781
|
schema?: undefined;
|
|
8788
8782
|
} | {
|
|
8789
|
-
schema: "@prismicio/types-internal@4.5.0";
|
|
8790
8783
|
id: string;
|
|
8784
|
+
label?: string | null | undefined;
|
|
8791
8785
|
repeatable: boolean;
|
|
8792
8786
|
json: Record<string, Record<string, DynamicWidgetModel>>;
|
|
8793
8787
|
status: boolean;
|
|
8794
8788
|
format: "custom" | "page";
|
|
8795
|
-
|
|
8789
|
+
schema: "@prismicio/types-internal@4.5.0";
|
|
8796
8790
|
}, {
|
|
8797
8791
|
id: string;
|
|
8792
|
+
label?: string | null | undefined;
|
|
8798
8793
|
repeatable: boolean;
|
|
8799
8794
|
json: Record<string, Record<string, DynamicWidgetModel>>;
|
|
8800
8795
|
status: boolean;
|
|
8801
8796
|
format: "custom" | "page";
|
|
8802
|
-
label?: string | null | undefined;
|
|
8803
8797
|
schema?: undefined;
|
|
8804
8798
|
} | {
|
|
8805
|
-
schema: "@prismicio/types-internal@4.5.0";
|
|
8806
8799
|
id: string;
|
|
8800
|
+
label?: string | null | undefined;
|
|
8807
8801
|
repeatable: boolean;
|
|
8808
8802
|
json: Record<string, Record<string, DynamicWidgetModel>>;
|
|
8809
8803
|
status: boolean;
|
|
8810
8804
|
format: "custom" | "page";
|
|
8811
|
-
|
|
8805
|
+
schema: "@prismicio/types-internal@4.5.0";
|
|
8812
8806
|
}, unknown>;
|
|
8813
8807
|
//#endregion
|
|
8814
8808
|
export { AssetSchema, BooleanContentSchema, BooleanLegacy, BooleanModelSchema, ColorContentSchema, ColorLegacy, ColorModelSchema, CompositeSliceContentSchema, CompositeSliceItemContentSchema, CompositeSliceLegacy, CompositeSliceModelSchema, CustomTypeModelSchema, DateContentSchema, DateLegacy, DateModelSchema, DocumentContentSchema, DocumentLegacy, DynamicCustomTypeModelSchema, DynamicCustomTypeModelTabSchema, DynamicSliceModelSchema, DynamicSlicesModelSchema, DynamicWidgetModelSchema, EmbedContentSchema, EmbedLegacy, EmbedModelSchema, EmbedSchema, EmptyContentSchema, EmptyLegacy, EmptyLinkContentSchema, FieldContentSchema, FilledLinkContentSchema, GeoPointContentSchema, GeoPointLegacy, GeoPointModelSchema, GroupContentSchema, GroupItemContentSchema, GroupItemLegacy, GroupLegacy, GroupModelSchema, HexaColorCodeSchema, ImageContentSchema, ImageContentViewSchema, ImageLegacy, ImageModelSchema, IntegrationFieldContentSchema, IntegrationFieldLegacy, IntegrationFieldModelSchema, LegacySliceContentSchema, LegacySliceItemContentSchema, LegacySliceLegacy, LegacySliceModelSchema, LinkContentSchema, LinkLegacy, LinkModelSchema, NestableContentSchema, NestableLegacy, NestableModelSchema, NestedGroupModelSchema, NonEmptyStringSchema, NumberContentSchema, NumberLegacy, NumberModelSchema, RangeContentSchema, RangeLegacy, RangeModelSchema, RepeatableContentSchema, RepeatableLegacy, RichTextContentBlockSchema, RichTextContentSchema, RichTextContentSpanSchema, RichTextLegacy, RichTextModelSchema, SelectContentSchema, SelectLegacy, SelectModelSchema, SeparatorContentSchema, SeparatorLegacy, SeparatorModelSchema, SharedSliceContentSchema, SharedSliceItemContentSchema, SharedSliceLegacy, SharedSliceModelSchema, SharedSliceModelVariationSchema, SharedSliceRefModelSchema, SliceContentModelSchema, SliceContentSchema, SliceItemContentSchema, SliceItemLegacy, SliceLegacy, SlicesContentSchema, SlicesLegacy, StaticCustomTypeModelSchema, StaticCustomTypeModelTabSchema, StaticSliceModelSchema, StaticSlicesModelSchema, StaticWidgetModelSchema, TableContentSchema, TableLegacy, TableModelSchema, TextContentSchema, TextLegacy, TextModelSchema, TimestampContentSchema, TimestampLegacy, TimestampModelSchema, UIDContentSchema, UIDLegacy, UIDModelSchema, WidgetContentSchema, WidgetKeySchema, WidgetLegacy };
|