@prismicio/types-internal 2.0.0-alpha.8 → 2.0.0-beta.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/content/Document.d.ts +24 -24
- package/lib/content/fields/GroupContent.d.ts +13 -11
- package/lib/content/fields/GroupContent.js +4 -4
- package/lib/content/fields/WidgetContent.d.ts +48 -48
- package/lib/content/fields/index.d.ts +1 -0
- package/lib/content/fields/index.js +1 -0
- package/lib/content/fields/nestable/NestableContent.d.ts +6 -6
- package/lib/content/fields/nestable/NestableContent.js +2 -1
- package/lib/content/fields/slices/Slice/CompositeSliceContent.d.ts +12 -12
- package/lib/content/fields/slices/Slice/RepeatableContent.d.ts +6 -4
- package/lib/content/fields/slices/Slice/SharedSliceContent.d.ts +12 -12
- package/lib/content/fields/slices/Slice/SimpleSliceContent.d.ts +9 -9
- package/lib/content/fields/slices/Slice/index.d.ts +15 -15
- package/lib/content/fields/slices/SliceItem.d.ts +18 -18
- package/lib/content/fields/slices/SlicesContent.d.ts +36 -36
- package/package.json +2 -2
- package/src/content/fields/GroupContent.ts +12 -13
- package/src/content/fields/index.ts +1 -0
- package/src/content/fields/nestable/NestableContent.ts +3 -2
|
@@ -5,6 +5,9 @@ export declare const isCompositeSliceContent: (u: unknown) => u is {
|
|
|
5
5
|
__TYPE__: "CompositeSliceContent";
|
|
6
6
|
nonRepeat: {
|
|
7
7
|
[x: string]: {
|
|
8
|
+
type: string;
|
|
9
|
+
__TYPE__: "EmptyContent";
|
|
10
|
+
} | {
|
|
8
11
|
__TYPE__: "BooleanContent";
|
|
9
12
|
value: boolean;
|
|
10
13
|
} | ({
|
|
@@ -154,9 +157,6 @@ export declare const isCompositeSliceContent: (u: unknown) => u is {
|
|
|
154
157
|
title?: string;
|
|
155
158
|
} | null | undefined;
|
|
156
159
|
});
|
|
157
|
-
} | {
|
|
158
|
-
type: string;
|
|
159
|
-
__TYPE__: "EmptyContent";
|
|
160
160
|
} | {
|
|
161
161
|
__TYPE__: "StructuredTextContent";
|
|
162
162
|
value: (({
|
|
@@ -275,6 +275,9 @@ export declare const isCompositeSliceContent: (u: unknown) => u is {
|
|
|
275
275
|
repeat: {
|
|
276
276
|
__TYPE__: "GroupItemContent";
|
|
277
277
|
value: [string, {
|
|
278
|
+
type: string;
|
|
279
|
+
__TYPE__: "EmptyContent";
|
|
280
|
+
} | {
|
|
278
281
|
__TYPE__: "BooleanContent";
|
|
279
282
|
value: boolean;
|
|
280
283
|
} | ({
|
|
@@ -424,9 +427,6 @@ export declare const isCompositeSliceContent: (u: unknown) => u is {
|
|
|
424
427
|
title?: string;
|
|
425
428
|
} | null | undefined;
|
|
426
429
|
});
|
|
427
|
-
} | {
|
|
428
|
-
type: string;
|
|
429
|
-
__TYPE__: "EmptyContent";
|
|
430
430
|
} | {
|
|
431
431
|
__TYPE__: "StructuredTextContent";
|
|
432
432
|
value: (({
|
|
@@ -547,6 +547,9 @@ export declare const CompositeSliceLegacy: (ctx: LegacyContentCtx) => t.Type<{
|
|
|
547
547
|
__TYPE__: "CompositeSliceContent";
|
|
548
548
|
nonRepeat: {
|
|
549
549
|
[x: string]: {
|
|
550
|
+
type: string;
|
|
551
|
+
__TYPE__: "EmptyContent";
|
|
552
|
+
} | {
|
|
550
553
|
__TYPE__: "BooleanContent";
|
|
551
554
|
value: boolean;
|
|
552
555
|
} | ({
|
|
@@ -696,9 +699,6 @@ export declare const CompositeSliceLegacy: (ctx: LegacyContentCtx) => t.Type<{
|
|
|
696
699
|
title?: string;
|
|
697
700
|
} | null | undefined;
|
|
698
701
|
});
|
|
699
|
-
} | {
|
|
700
|
-
type: string;
|
|
701
|
-
__TYPE__: "EmptyContent";
|
|
702
702
|
} | {
|
|
703
703
|
__TYPE__: "StructuredTextContent";
|
|
704
704
|
value: (({
|
|
@@ -817,6 +817,9 @@ export declare const CompositeSliceLegacy: (ctx: LegacyContentCtx) => t.Type<{
|
|
|
817
817
|
repeat: {
|
|
818
818
|
__TYPE__: "GroupItemContent";
|
|
819
819
|
value: [string, {
|
|
820
|
+
type: string;
|
|
821
|
+
__TYPE__: "EmptyContent";
|
|
822
|
+
} | {
|
|
820
823
|
__TYPE__: "BooleanContent";
|
|
821
824
|
value: boolean;
|
|
822
825
|
} | ({
|
|
@@ -966,9 +969,6 @@ export declare const CompositeSliceLegacy: (ctx: LegacyContentCtx) => t.Type<{
|
|
|
966
969
|
title?: string;
|
|
967
970
|
} | null | undefined;
|
|
968
971
|
});
|
|
969
|
-
} | {
|
|
970
|
-
type: string;
|
|
971
|
-
__TYPE__: "EmptyContent";
|
|
972
972
|
} | {
|
|
973
973
|
__TYPE__: "StructuredTextContent";
|
|
974
974
|
value: (({
|
|
@@ -3,6 +3,9 @@ import type { LegacyContentCtx } from "../../../LegacyContentCtx";
|
|
|
3
3
|
export declare const RepeatableWidgetsLegacy: (ctx: LegacyContentCtx) => t.ArrayC<t.Type<{
|
|
4
4
|
__TYPE__: "GroupItemContent";
|
|
5
5
|
value: [string, {
|
|
6
|
+
type: string;
|
|
7
|
+
__TYPE__: "EmptyContent";
|
|
8
|
+
} | {
|
|
6
9
|
__TYPE__: "BooleanContent";
|
|
7
10
|
value: boolean;
|
|
8
11
|
} | ({
|
|
@@ -152,9 +155,6 @@ export declare const RepeatableWidgetsLegacy: (ctx: LegacyContentCtx) => t.Array
|
|
|
152
155
|
title?: string;
|
|
153
156
|
} | null | undefined;
|
|
154
157
|
});
|
|
155
|
-
} | {
|
|
156
|
-
type: string;
|
|
157
|
-
__TYPE__: "EmptyContent";
|
|
158
158
|
} | {
|
|
159
159
|
__TYPE__: "StructuredTextContent";
|
|
160
160
|
value: (({
|
|
@@ -269,7 +269,9 @@ export declare const RepeatableWidgetsLegacy: (ctx: LegacyContentCtx) => t.Array
|
|
|
269
269
|
} | {
|
|
270
270
|
__TYPE__: "SeparatorContent";
|
|
271
271
|
}][];
|
|
272
|
-
}, import("../../../LegacyContentCtx").WithTypes<
|
|
272
|
+
}, import("../../../LegacyContentCtx").WithTypes<{
|
|
273
|
+
[x: string]: unknown;
|
|
274
|
+
}>, unknown>>;
|
|
273
275
|
export declare const RepeatableWidgets: t.ArrayC<t.ExactC<t.TypeC<{
|
|
274
276
|
__TYPE__: t.LiteralC<"GroupItemContent">;
|
|
275
277
|
value: t.ArrayC<t.TupleC<[t.StringC, t.UnionC<[t.ExactC<t.TypeC<{
|
|
@@ -6,6 +6,9 @@ export declare const isSharedSliceContent: (u: unknown) => u is {
|
|
|
6
6
|
variation: string;
|
|
7
7
|
primary: {
|
|
8
8
|
[x: string]: {
|
|
9
|
+
type: string;
|
|
10
|
+
__TYPE__: "EmptyContent";
|
|
11
|
+
} | {
|
|
9
12
|
__TYPE__: "BooleanContent";
|
|
10
13
|
value: boolean;
|
|
11
14
|
} | ({
|
|
@@ -155,9 +158,6 @@ export declare const isSharedSliceContent: (u: unknown) => u is {
|
|
|
155
158
|
title?: string;
|
|
156
159
|
} | null | undefined;
|
|
157
160
|
});
|
|
158
|
-
} | {
|
|
159
|
-
type: string;
|
|
160
|
-
__TYPE__: "EmptyContent";
|
|
161
161
|
} | {
|
|
162
162
|
__TYPE__: "StructuredTextContent";
|
|
163
163
|
value: (({
|
|
@@ -276,6 +276,9 @@ export declare const isSharedSliceContent: (u: unknown) => u is {
|
|
|
276
276
|
items: {
|
|
277
277
|
__TYPE__: "GroupItemContent";
|
|
278
278
|
value: [string, {
|
|
279
|
+
type: string;
|
|
280
|
+
__TYPE__: "EmptyContent";
|
|
281
|
+
} | {
|
|
279
282
|
__TYPE__: "BooleanContent";
|
|
280
283
|
value: boolean;
|
|
281
284
|
} | ({
|
|
@@ -425,9 +428,6 @@ export declare const isSharedSliceContent: (u: unknown) => u is {
|
|
|
425
428
|
title?: string;
|
|
426
429
|
} | null | undefined;
|
|
427
430
|
});
|
|
428
|
-
} | {
|
|
429
|
-
type: string;
|
|
430
|
-
__TYPE__: "EmptyContent";
|
|
431
431
|
} | {
|
|
432
432
|
__TYPE__: "StructuredTextContent";
|
|
433
433
|
value: (({
|
|
@@ -549,6 +549,9 @@ export declare const SharedSliceLegacy: (ctx: LegacyContentCtx) => t.Type<{
|
|
|
549
549
|
variation: string;
|
|
550
550
|
primary: {
|
|
551
551
|
[x: string]: {
|
|
552
|
+
type: string;
|
|
553
|
+
__TYPE__: "EmptyContent";
|
|
554
|
+
} | {
|
|
552
555
|
__TYPE__: "BooleanContent";
|
|
553
556
|
value: boolean;
|
|
554
557
|
} | ({
|
|
@@ -698,9 +701,6 @@ export declare const SharedSliceLegacy: (ctx: LegacyContentCtx) => t.Type<{
|
|
|
698
701
|
title?: string;
|
|
699
702
|
} | null | undefined;
|
|
700
703
|
});
|
|
701
|
-
} | {
|
|
702
|
-
type: string;
|
|
703
|
-
__TYPE__: "EmptyContent";
|
|
704
704
|
} | {
|
|
705
705
|
__TYPE__: "StructuredTextContent";
|
|
706
706
|
value: (({
|
|
@@ -819,6 +819,9 @@ export declare const SharedSliceLegacy: (ctx: LegacyContentCtx) => t.Type<{
|
|
|
819
819
|
items: {
|
|
820
820
|
__TYPE__: "GroupItemContent";
|
|
821
821
|
value: [string, {
|
|
822
|
+
type: string;
|
|
823
|
+
__TYPE__: "EmptyContent";
|
|
824
|
+
} | {
|
|
822
825
|
__TYPE__: "BooleanContent";
|
|
823
826
|
value: boolean;
|
|
824
827
|
} | ({
|
|
@@ -968,9 +971,6 @@ export declare const SharedSliceLegacy: (ctx: LegacyContentCtx) => t.Type<{
|
|
|
968
971
|
title?: string;
|
|
969
972
|
} | null | undefined;
|
|
970
973
|
});
|
|
971
|
-
} | {
|
|
972
|
-
type: string;
|
|
973
|
-
__TYPE__: "EmptyContent";
|
|
974
974
|
} | {
|
|
975
975
|
__TYPE__: "StructuredTextContent";
|
|
976
976
|
value: (({
|
|
@@ -629,6 +629,9 @@ export declare const SimpleSliceContent: t.UnionC<[t.UnionC<[t.ExactC<t.TypeC<{
|
|
|
629
629
|
}>>]>;
|
|
630
630
|
export type SimpleSliceContent = t.TypeOf<typeof SimpleSliceContent>;
|
|
631
631
|
export declare const isSimpleSliceContent: (u: unknown) => u is {
|
|
632
|
+
type: string;
|
|
633
|
+
__TYPE__: "EmptyContent";
|
|
634
|
+
} | {
|
|
632
635
|
__TYPE__: "BooleanContent";
|
|
633
636
|
value: boolean;
|
|
634
637
|
} | ({
|
|
@@ -778,9 +781,6 @@ export declare const isSimpleSliceContent: (u: unknown) => u is {
|
|
|
778
781
|
title?: string;
|
|
779
782
|
} | null | undefined;
|
|
780
783
|
});
|
|
781
|
-
} | {
|
|
782
|
-
type: string;
|
|
783
|
-
__TYPE__: "EmptyContent";
|
|
784
784
|
} | {
|
|
785
785
|
__TYPE__: "StructuredTextContent";
|
|
786
786
|
value: (({
|
|
@@ -899,6 +899,9 @@ export declare const isSimpleSliceContent: (u: unknown) => u is {
|
|
|
899
899
|
value: {
|
|
900
900
|
__TYPE__: "GroupItemContent";
|
|
901
901
|
value: [string, {
|
|
902
|
+
type: string;
|
|
903
|
+
__TYPE__: "EmptyContent";
|
|
904
|
+
} | {
|
|
902
905
|
__TYPE__: "BooleanContent";
|
|
903
906
|
value: boolean;
|
|
904
907
|
} | ({
|
|
@@ -1048,9 +1051,6 @@ export declare const isSimpleSliceContent: (u: unknown) => u is {
|
|
|
1048
1051
|
title?: string;
|
|
1049
1052
|
} | null | undefined;
|
|
1050
1053
|
});
|
|
1051
|
-
} | {
|
|
1052
|
-
type: string;
|
|
1053
|
-
__TYPE__: "EmptyContent";
|
|
1054
1054
|
} | {
|
|
1055
1055
|
__TYPE__: "StructuredTextContent";
|
|
1056
1056
|
value: (({
|
|
@@ -1169,6 +1169,9 @@ export declare const isSimpleSliceContent: (u: unknown) => u is {
|
|
|
1169
1169
|
};
|
|
1170
1170
|
export declare const SimpleSliceLegacy: (ctx: LegacyContentCtx) => {
|
|
1171
1171
|
decode: (value: unknown) => import("fp-ts/lib/Either").Left<t.Errors> | import("fp-ts/lib/Either").Right<{
|
|
1172
|
+
type: string;
|
|
1173
|
+
__TYPE__: "EmptyContent";
|
|
1174
|
+
}> | import("fp-ts/lib/Either").Right<{
|
|
1172
1175
|
__TYPE__: "BooleanContent";
|
|
1173
1176
|
value: boolean;
|
|
1174
1177
|
}> | import("fp-ts/lib/Either").Right<{
|
|
@@ -1318,9 +1321,6 @@ export declare const SimpleSliceLegacy: (ctx: LegacyContentCtx) => {
|
|
|
1318
1321
|
title?: string;
|
|
1319
1322
|
} | null | undefined;
|
|
1320
1323
|
});
|
|
1321
|
-
}> | import("fp-ts/lib/Either").Right<{
|
|
1322
|
-
type: string;
|
|
1323
|
-
__TYPE__: "EmptyContent";
|
|
1324
1324
|
}> | import("fp-ts/lib/Either").Right<{
|
|
1325
1325
|
__TYPE__: "StructuredTextContent";
|
|
1326
1326
|
value: (({
|
|
@@ -2,6 +2,9 @@ import * as t from "io-ts";
|
|
|
2
2
|
import type { LegacyContentCtx } from "../../../LegacyContentCtx";
|
|
3
3
|
export declare const SliceLegacy: (ctx: LegacyContentCtx) => {
|
|
4
4
|
decode: (value: unknown) => import("fp-ts/lib/Either").Left<t.Errors> | import("fp-ts/lib/Either").Right<{
|
|
5
|
+
type: string;
|
|
6
|
+
__TYPE__: "EmptyContent";
|
|
7
|
+
}> | import("fp-ts/lib/Either").Right<{
|
|
5
8
|
__TYPE__: "BooleanContent";
|
|
6
9
|
value: boolean;
|
|
7
10
|
}> | import("fp-ts/lib/Either").Right<{
|
|
@@ -151,9 +154,6 @@ export declare const SliceLegacy: (ctx: LegacyContentCtx) => {
|
|
|
151
154
|
title?: string;
|
|
152
155
|
} | null | undefined;
|
|
153
156
|
});
|
|
154
|
-
}> | import("fp-ts/lib/Either").Right<{
|
|
155
|
-
type: string;
|
|
156
|
-
__TYPE__: "EmptyContent";
|
|
157
157
|
}> | import("fp-ts/lib/Either").Right<{
|
|
158
158
|
__TYPE__: "StructuredTextContent";
|
|
159
159
|
value: (({
|
|
@@ -271,6 +271,9 @@ export declare const SliceLegacy: (ctx: LegacyContentCtx) => {
|
|
|
271
271
|
__TYPE__: "CompositeSliceContent";
|
|
272
272
|
nonRepeat: {
|
|
273
273
|
[x: string]: {
|
|
274
|
+
type: string;
|
|
275
|
+
__TYPE__: "EmptyContent";
|
|
276
|
+
} | {
|
|
274
277
|
__TYPE__: "BooleanContent";
|
|
275
278
|
value: boolean;
|
|
276
279
|
} | ({
|
|
@@ -420,9 +423,6 @@ export declare const SliceLegacy: (ctx: LegacyContentCtx) => {
|
|
|
420
423
|
title?: string;
|
|
421
424
|
} | null | undefined;
|
|
422
425
|
});
|
|
423
|
-
} | {
|
|
424
|
-
type: string;
|
|
425
|
-
__TYPE__: "EmptyContent";
|
|
426
426
|
} | {
|
|
427
427
|
__TYPE__: "StructuredTextContent";
|
|
428
428
|
value: (({
|
|
@@ -541,6 +541,9 @@ export declare const SliceLegacy: (ctx: LegacyContentCtx) => {
|
|
|
541
541
|
repeat: {
|
|
542
542
|
__TYPE__: "GroupItemContent";
|
|
543
543
|
value: [string, {
|
|
544
|
+
type: string;
|
|
545
|
+
__TYPE__: "EmptyContent";
|
|
546
|
+
} | {
|
|
544
547
|
__TYPE__: "BooleanContent";
|
|
545
548
|
value: boolean;
|
|
546
549
|
} | ({
|
|
@@ -690,9 +693,6 @@ export declare const SliceLegacy: (ctx: LegacyContentCtx) => {
|
|
|
690
693
|
title?: string;
|
|
691
694
|
} | null | undefined;
|
|
692
695
|
});
|
|
693
|
-
} | {
|
|
694
|
-
type: string;
|
|
695
|
-
__TYPE__: "EmptyContent";
|
|
696
696
|
} | {
|
|
697
697
|
__TYPE__: "StructuredTextContent";
|
|
698
698
|
value: (({
|
|
@@ -813,6 +813,9 @@ export declare const SliceLegacy: (ctx: LegacyContentCtx) => {
|
|
|
813
813
|
variation: string;
|
|
814
814
|
primary: {
|
|
815
815
|
[x: string]: {
|
|
816
|
+
type: string;
|
|
817
|
+
__TYPE__: "EmptyContent";
|
|
818
|
+
} | {
|
|
816
819
|
__TYPE__: "BooleanContent";
|
|
817
820
|
value: boolean;
|
|
818
821
|
} | ({
|
|
@@ -962,9 +965,6 @@ export declare const SliceLegacy: (ctx: LegacyContentCtx) => {
|
|
|
962
965
|
title?: string;
|
|
963
966
|
} | null | undefined;
|
|
964
967
|
});
|
|
965
|
-
} | {
|
|
966
|
-
type: string;
|
|
967
|
-
__TYPE__: "EmptyContent";
|
|
968
968
|
} | {
|
|
969
969
|
__TYPE__: "StructuredTextContent";
|
|
970
970
|
value: (({
|
|
@@ -1083,6 +1083,9 @@ export declare const SliceLegacy: (ctx: LegacyContentCtx) => {
|
|
|
1083
1083
|
items: {
|
|
1084
1084
|
__TYPE__: "GroupItemContent";
|
|
1085
1085
|
value: [string, {
|
|
1086
|
+
type: string;
|
|
1087
|
+
__TYPE__: "EmptyContent";
|
|
1088
|
+
} | {
|
|
1086
1089
|
__TYPE__: "BooleanContent";
|
|
1087
1090
|
value: boolean;
|
|
1088
1091
|
} | ({
|
|
@@ -1232,9 +1235,6 @@ export declare const SliceLegacy: (ctx: LegacyContentCtx) => {
|
|
|
1232
1235
|
title?: string;
|
|
1233
1236
|
} | null | undefined;
|
|
1234
1237
|
});
|
|
1235
|
-
} | {
|
|
1236
|
-
type: string;
|
|
1237
|
-
__TYPE__: "EmptyContent";
|
|
1238
1238
|
} | {
|
|
1239
1239
|
__TYPE__: "StructuredTextContent";
|
|
1240
1240
|
value: (({
|
|
@@ -1893,6 +1893,9 @@ export declare const SlicesItemLegacy: (ctx: LegacyContentCtx) => t.Type<{
|
|
|
1893
1893
|
name: string;
|
|
1894
1894
|
maybeLabel: string | undefined;
|
|
1895
1895
|
widget: {
|
|
1896
|
+
type: string;
|
|
1897
|
+
__TYPE__: "EmptyContent";
|
|
1898
|
+
} | {
|
|
1896
1899
|
__TYPE__: "BooleanContent";
|
|
1897
1900
|
value: boolean;
|
|
1898
1901
|
} | ({
|
|
@@ -2042,9 +2045,6 @@ export declare const SlicesItemLegacy: (ctx: LegacyContentCtx) => t.Type<{
|
|
|
2042
2045
|
title?: string;
|
|
2043
2046
|
} | null | undefined;
|
|
2044
2047
|
});
|
|
2045
|
-
} | {
|
|
2046
|
-
type: string;
|
|
2047
|
-
__TYPE__: "EmptyContent";
|
|
2048
2048
|
} | {
|
|
2049
2049
|
__TYPE__: "StructuredTextContent";
|
|
2050
2050
|
value: (({
|
|
@@ -2163,6 +2163,9 @@ export declare const SlicesItemLegacy: (ctx: LegacyContentCtx) => t.Type<{
|
|
|
2163
2163
|
value: {
|
|
2164
2164
|
__TYPE__: "GroupItemContent";
|
|
2165
2165
|
value: [string, {
|
|
2166
|
+
type: string;
|
|
2167
|
+
__TYPE__: "EmptyContent";
|
|
2168
|
+
} | {
|
|
2166
2169
|
__TYPE__: "BooleanContent";
|
|
2167
2170
|
value: boolean;
|
|
2168
2171
|
} | ({
|
|
@@ -2312,9 +2315,6 @@ export declare const SlicesItemLegacy: (ctx: LegacyContentCtx) => t.Type<{
|
|
|
2312
2315
|
title?: string;
|
|
2313
2316
|
} | null | undefined;
|
|
2314
2317
|
});
|
|
2315
|
-
} | {
|
|
2316
|
-
type: string;
|
|
2317
|
-
__TYPE__: "EmptyContent";
|
|
2318
2318
|
} | {
|
|
2319
2319
|
__TYPE__: "StructuredTextContent";
|
|
2320
2320
|
value: (({
|
|
@@ -2434,6 +2434,9 @@ export declare const SlicesItemLegacy: (ctx: LegacyContentCtx) => t.Type<{
|
|
|
2434
2434
|
__TYPE__: "CompositeSliceContent";
|
|
2435
2435
|
nonRepeat: {
|
|
2436
2436
|
[x: string]: {
|
|
2437
|
+
type: string;
|
|
2438
|
+
__TYPE__: "EmptyContent";
|
|
2439
|
+
} | {
|
|
2437
2440
|
__TYPE__: "BooleanContent";
|
|
2438
2441
|
value: boolean;
|
|
2439
2442
|
} | ({
|
|
@@ -2583,9 +2586,6 @@ export declare const SlicesItemLegacy: (ctx: LegacyContentCtx) => t.Type<{
|
|
|
2583
2586
|
title?: string;
|
|
2584
2587
|
} | null | undefined;
|
|
2585
2588
|
});
|
|
2586
|
-
} | {
|
|
2587
|
-
type: string;
|
|
2588
|
-
__TYPE__: "EmptyContent";
|
|
2589
2589
|
} | {
|
|
2590
2590
|
__TYPE__: "StructuredTextContent";
|
|
2591
2591
|
value: (({
|
|
@@ -2704,6 +2704,9 @@ export declare const SlicesItemLegacy: (ctx: LegacyContentCtx) => t.Type<{
|
|
|
2704
2704
|
repeat: {
|
|
2705
2705
|
__TYPE__: "GroupItemContent";
|
|
2706
2706
|
value: [string, {
|
|
2707
|
+
type: string;
|
|
2708
|
+
__TYPE__: "EmptyContent";
|
|
2709
|
+
} | {
|
|
2707
2710
|
__TYPE__: "BooleanContent";
|
|
2708
2711
|
value: boolean;
|
|
2709
2712
|
} | ({
|
|
@@ -2853,9 +2856,6 @@ export declare const SlicesItemLegacy: (ctx: LegacyContentCtx) => t.Type<{
|
|
|
2853
2856
|
title?: string;
|
|
2854
2857
|
} | null | undefined;
|
|
2855
2858
|
});
|
|
2856
|
-
} | {
|
|
2857
|
-
type: string;
|
|
2858
|
-
__TYPE__: "EmptyContent";
|
|
2859
2859
|
} | {
|
|
2860
2860
|
__TYPE__: "StructuredTextContent";
|
|
2861
2861
|
value: (({
|
|
@@ -2976,6 +2976,9 @@ export declare const SlicesItemLegacy: (ctx: LegacyContentCtx) => t.Type<{
|
|
|
2976
2976
|
variation: string;
|
|
2977
2977
|
primary: {
|
|
2978
2978
|
[x: string]: {
|
|
2979
|
+
type: string;
|
|
2980
|
+
__TYPE__: "EmptyContent";
|
|
2981
|
+
} | {
|
|
2979
2982
|
__TYPE__: "BooleanContent";
|
|
2980
2983
|
value: boolean;
|
|
2981
2984
|
} | ({
|
|
@@ -3125,9 +3128,6 @@ export declare const SlicesItemLegacy: (ctx: LegacyContentCtx) => t.Type<{
|
|
|
3125
3128
|
title?: string;
|
|
3126
3129
|
} | null | undefined;
|
|
3127
3130
|
});
|
|
3128
|
-
} | {
|
|
3129
|
-
type: string;
|
|
3130
|
-
__TYPE__: "EmptyContent";
|
|
3131
3131
|
} | {
|
|
3132
3132
|
__TYPE__: "StructuredTextContent";
|
|
3133
3133
|
value: (({
|
|
@@ -3246,6 +3246,9 @@ export declare const SlicesItemLegacy: (ctx: LegacyContentCtx) => t.Type<{
|
|
|
3246
3246
|
items: {
|
|
3247
3247
|
__TYPE__: "GroupItemContent";
|
|
3248
3248
|
value: [string, {
|
|
3249
|
+
type: string;
|
|
3250
|
+
__TYPE__: "EmptyContent";
|
|
3251
|
+
} | {
|
|
3249
3252
|
__TYPE__: "BooleanContent";
|
|
3250
3253
|
value: boolean;
|
|
3251
3254
|
} | ({
|
|
@@ -3395,9 +3398,6 @@ export declare const SlicesItemLegacy: (ctx: LegacyContentCtx) => t.Type<{
|
|
|
3395
3398
|
title?: string;
|
|
3396
3399
|
} | null | undefined;
|
|
3397
3400
|
});
|
|
3398
|
-
} | {
|
|
3399
|
-
type: string;
|
|
3400
|
-
__TYPE__: "EmptyContent";
|
|
3401
3401
|
} | {
|
|
3402
3402
|
__TYPE__: "StructuredTextContent";
|
|
3403
3403
|
value: (({
|
|
@@ -8,6 +8,9 @@ export declare const isSlicesContent: (u: unknown) => u is {
|
|
|
8
8
|
name: string;
|
|
9
9
|
maybeLabel: string | undefined;
|
|
10
10
|
widget: {
|
|
11
|
+
type: string;
|
|
12
|
+
__TYPE__: "EmptyContent";
|
|
13
|
+
} | {
|
|
11
14
|
__TYPE__: "BooleanContent";
|
|
12
15
|
value: boolean;
|
|
13
16
|
} | ({
|
|
@@ -157,9 +160,6 @@ export declare const isSlicesContent: (u: unknown) => u is {
|
|
|
157
160
|
title?: string;
|
|
158
161
|
} | null | undefined;
|
|
159
162
|
});
|
|
160
|
-
} | {
|
|
161
|
-
type: string;
|
|
162
|
-
__TYPE__: "EmptyContent";
|
|
163
163
|
} | {
|
|
164
164
|
__TYPE__: "StructuredTextContent";
|
|
165
165
|
value: (({
|
|
@@ -278,6 +278,9 @@ export declare const isSlicesContent: (u: unknown) => u is {
|
|
|
278
278
|
value: {
|
|
279
279
|
__TYPE__: "GroupItemContent";
|
|
280
280
|
value: [string, {
|
|
281
|
+
type: string;
|
|
282
|
+
__TYPE__: "EmptyContent";
|
|
283
|
+
} | {
|
|
281
284
|
__TYPE__: "BooleanContent";
|
|
282
285
|
value: boolean;
|
|
283
286
|
} | ({
|
|
@@ -427,9 +430,6 @@ export declare const isSlicesContent: (u: unknown) => u is {
|
|
|
427
430
|
title?: string;
|
|
428
431
|
} | null | undefined;
|
|
429
432
|
});
|
|
430
|
-
} | {
|
|
431
|
-
type: string;
|
|
432
|
-
__TYPE__: "EmptyContent";
|
|
433
433
|
} | {
|
|
434
434
|
__TYPE__: "StructuredTextContent";
|
|
435
435
|
value: (({
|
|
@@ -549,6 +549,9 @@ export declare const isSlicesContent: (u: unknown) => u is {
|
|
|
549
549
|
__TYPE__: "CompositeSliceContent";
|
|
550
550
|
nonRepeat: {
|
|
551
551
|
[x: string]: {
|
|
552
|
+
type: string;
|
|
553
|
+
__TYPE__: "EmptyContent";
|
|
554
|
+
} | {
|
|
552
555
|
__TYPE__: "BooleanContent";
|
|
553
556
|
value: boolean;
|
|
554
557
|
} | ({
|
|
@@ -698,9 +701,6 @@ export declare const isSlicesContent: (u: unknown) => u is {
|
|
|
698
701
|
title?: string;
|
|
699
702
|
} | null | undefined;
|
|
700
703
|
});
|
|
701
|
-
} | {
|
|
702
|
-
type: string;
|
|
703
|
-
__TYPE__: "EmptyContent";
|
|
704
704
|
} | {
|
|
705
705
|
__TYPE__: "StructuredTextContent";
|
|
706
706
|
value: (({
|
|
@@ -819,6 +819,9 @@ export declare const isSlicesContent: (u: unknown) => u is {
|
|
|
819
819
|
repeat: {
|
|
820
820
|
__TYPE__: "GroupItemContent";
|
|
821
821
|
value: [string, {
|
|
822
|
+
type: string;
|
|
823
|
+
__TYPE__: "EmptyContent";
|
|
824
|
+
} | {
|
|
822
825
|
__TYPE__: "BooleanContent";
|
|
823
826
|
value: boolean;
|
|
824
827
|
} | ({
|
|
@@ -968,9 +971,6 @@ export declare const isSlicesContent: (u: unknown) => u is {
|
|
|
968
971
|
title?: string;
|
|
969
972
|
} | null | undefined;
|
|
970
973
|
});
|
|
971
|
-
} | {
|
|
972
|
-
type: string;
|
|
973
|
-
__TYPE__: "EmptyContent";
|
|
974
974
|
} | {
|
|
975
975
|
__TYPE__: "StructuredTextContent";
|
|
976
976
|
value: (({
|
|
@@ -1091,6 +1091,9 @@ export declare const isSlicesContent: (u: unknown) => u is {
|
|
|
1091
1091
|
variation: string;
|
|
1092
1092
|
primary: {
|
|
1093
1093
|
[x: string]: {
|
|
1094
|
+
type: string;
|
|
1095
|
+
__TYPE__: "EmptyContent";
|
|
1096
|
+
} | {
|
|
1094
1097
|
__TYPE__: "BooleanContent";
|
|
1095
1098
|
value: boolean;
|
|
1096
1099
|
} | ({
|
|
@@ -1240,9 +1243,6 @@ export declare const isSlicesContent: (u: unknown) => u is {
|
|
|
1240
1243
|
title?: string;
|
|
1241
1244
|
} | null | undefined;
|
|
1242
1245
|
});
|
|
1243
|
-
} | {
|
|
1244
|
-
type: string;
|
|
1245
|
-
__TYPE__: "EmptyContent";
|
|
1246
1246
|
} | {
|
|
1247
1247
|
__TYPE__: "StructuredTextContent";
|
|
1248
1248
|
value: (({
|
|
@@ -1361,6 +1361,9 @@ export declare const isSlicesContent: (u: unknown) => u is {
|
|
|
1361
1361
|
items: {
|
|
1362
1362
|
__TYPE__: "GroupItemContent";
|
|
1363
1363
|
value: [string, {
|
|
1364
|
+
type: string;
|
|
1365
|
+
__TYPE__: "EmptyContent";
|
|
1366
|
+
} | {
|
|
1364
1367
|
__TYPE__: "BooleanContent";
|
|
1365
1368
|
value: boolean;
|
|
1366
1369
|
} | ({
|
|
@@ -1510,9 +1513,6 @@ export declare const isSlicesContent: (u: unknown) => u is {
|
|
|
1510
1513
|
title?: string;
|
|
1511
1514
|
} | null | undefined;
|
|
1512
1515
|
});
|
|
1513
|
-
} | {
|
|
1514
|
-
type: string;
|
|
1515
|
-
__TYPE__: "EmptyContent";
|
|
1516
1516
|
} | {
|
|
1517
1517
|
__TYPE__: "StructuredTextContent";
|
|
1518
1518
|
value: (({
|
|
@@ -1639,6 +1639,9 @@ export declare const SlicesLegacy: (ctx: LegacyContentCtx) => t.Type<{
|
|
|
1639
1639
|
name: string;
|
|
1640
1640
|
maybeLabel: string | undefined;
|
|
1641
1641
|
widget: {
|
|
1642
|
+
type: string;
|
|
1643
|
+
__TYPE__: "EmptyContent";
|
|
1644
|
+
} | {
|
|
1642
1645
|
__TYPE__: "BooleanContent";
|
|
1643
1646
|
value: boolean;
|
|
1644
1647
|
} | ({
|
|
@@ -1788,9 +1791,6 @@ export declare const SlicesLegacy: (ctx: LegacyContentCtx) => t.Type<{
|
|
|
1788
1791
|
title?: string;
|
|
1789
1792
|
} | null | undefined;
|
|
1790
1793
|
});
|
|
1791
|
-
} | {
|
|
1792
|
-
type: string;
|
|
1793
|
-
__TYPE__: "EmptyContent";
|
|
1794
1794
|
} | {
|
|
1795
1795
|
__TYPE__: "StructuredTextContent";
|
|
1796
1796
|
value: (({
|
|
@@ -1909,6 +1909,9 @@ export declare const SlicesLegacy: (ctx: LegacyContentCtx) => t.Type<{
|
|
|
1909
1909
|
value: {
|
|
1910
1910
|
__TYPE__: "GroupItemContent";
|
|
1911
1911
|
value: [string, {
|
|
1912
|
+
type: string;
|
|
1913
|
+
__TYPE__: "EmptyContent";
|
|
1914
|
+
} | {
|
|
1912
1915
|
__TYPE__: "BooleanContent";
|
|
1913
1916
|
value: boolean;
|
|
1914
1917
|
} | ({
|
|
@@ -2058,9 +2061,6 @@ export declare const SlicesLegacy: (ctx: LegacyContentCtx) => t.Type<{
|
|
|
2058
2061
|
title?: string;
|
|
2059
2062
|
} | null | undefined;
|
|
2060
2063
|
});
|
|
2061
|
-
} | {
|
|
2062
|
-
type: string;
|
|
2063
|
-
__TYPE__: "EmptyContent";
|
|
2064
2064
|
} | {
|
|
2065
2065
|
__TYPE__: "StructuredTextContent";
|
|
2066
2066
|
value: (({
|
|
@@ -2180,6 +2180,9 @@ export declare const SlicesLegacy: (ctx: LegacyContentCtx) => t.Type<{
|
|
|
2180
2180
|
__TYPE__: "CompositeSliceContent";
|
|
2181
2181
|
nonRepeat: {
|
|
2182
2182
|
[x: string]: {
|
|
2183
|
+
type: string;
|
|
2184
|
+
__TYPE__: "EmptyContent";
|
|
2185
|
+
} | {
|
|
2183
2186
|
__TYPE__: "BooleanContent";
|
|
2184
2187
|
value: boolean;
|
|
2185
2188
|
} | ({
|
|
@@ -2329,9 +2332,6 @@ export declare const SlicesLegacy: (ctx: LegacyContentCtx) => t.Type<{
|
|
|
2329
2332
|
title?: string;
|
|
2330
2333
|
} | null | undefined;
|
|
2331
2334
|
});
|
|
2332
|
-
} | {
|
|
2333
|
-
type: string;
|
|
2334
|
-
__TYPE__: "EmptyContent";
|
|
2335
2335
|
} | {
|
|
2336
2336
|
__TYPE__: "StructuredTextContent";
|
|
2337
2337
|
value: (({
|
|
@@ -2450,6 +2450,9 @@ export declare const SlicesLegacy: (ctx: LegacyContentCtx) => t.Type<{
|
|
|
2450
2450
|
repeat: {
|
|
2451
2451
|
__TYPE__: "GroupItemContent";
|
|
2452
2452
|
value: [string, {
|
|
2453
|
+
type: string;
|
|
2454
|
+
__TYPE__: "EmptyContent";
|
|
2455
|
+
} | {
|
|
2453
2456
|
__TYPE__: "BooleanContent";
|
|
2454
2457
|
value: boolean;
|
|
2455
2458
|
} | ({
|
|
@@ -2599,9 +2602,6 @@ export declare const SlicesLegacy: (ctx: LegacyContentCtx) => t.Type<{
|
|
|
2599
2602
|
title?: string;
|
|
2600
2603
|
} | null | undefined;
|
|
2601
2604
|
});
|
|
2602
|
-
} | {
|
|
2603
|
-
type: string;
|
|
2604
|
-
__TYPE__: "EmptyContent";
|
|
2605
2605
|
} | {
|
|
2606
2606
|
__TYPE__: "StructuredTextContent";
|
|
2607
2607
|
value: (({
|
|
@@ -2722,6 +2722,9 @@ export declare const SlicesLegacy: (ctx: LegacyContentCtx) => t.Type<{
|
|
|
2722
2722
|
variation: string;
|
|
2723
2723
|
primary: {
|
|
2724
2724
|
[x: string]: {
|
|
2725
|
+
type: string;
|
|
2726
|
+
__TYPE__: "EmptyContent";
|
|
2727
|
+
} | {
|
|
2725
2728
|
__TYPE__: "BooleanContent";
|
|
2726
2729
|
value: boolean;
|
|
2727
2730
|
} | ({
|
|
@@ -2871,9 +2874,6 @@ export declare const SlicesLegacy: (ctx: LegacyContentCtx) => t.Type<{
|
|
|
2871
2874
|
title?: string;
|
|
2872
2875
|
} | null | undefined;
|
|
2873
2876
|
});
|
|
2874
|
-
} | {
|
|
2875
|
-
type: string;
|
|
2876
|
-
__TYPE__: "EmptyContent";
|
|
2877
2877
|
} | {
|
|
2878
2878
|
__TYPE__: "StructuredTextContent";
|
|
2879
2879
|
value: (({
|
|
@@ -2992,6 +2992,9 @@ export declare const SlicesLegacy: (ctx: LegacyContentCtx) => t.Type<{
|
|
|
2992
2992
|
items: {
|
|
2993
2993
|
__TYPE__: "GroupItemContent";
|
|
2994
2994
|
value: [string, {
|
|
2995
|
+
type: string;
|
|
2996
|
+
__TYPE__: "EmptyContent";
|
|
2997
|
+
} | {
|
|
2995
2998
|
__TYPE__: "BooleanContent";
|
|
2996
2999
|
value: boolean;
|
|
2997
3000
|
} | ({
|
|
@@ -3141,9 +3144,6 @@ export declare const SlicesLegacy: (ctx: LegacyContentCtx) => t.Type<{
|
|
|
3141
3144
|
title?: string;
|
|
3142
3145
|
} | null | undefined;
|
|
3143
3146
|
});
|
|
3144
|
-
} | {
|
|
3145
|
-
type: string;
|
|
3146
|
-
__TYPE__: "EmptyContent";
|
|
3147
3147
|
} | {
|
|
3148
3148
|
__TYPE__: "StructuredTextContent";
|
|
3149
3149
|
value: (({
|