@prismicio/types-internal 0.3.3 → 1.0.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.
Files changed (94) hide show
  1. package/lib/customtypes/CustomType.d.ts +309 -311
  2. package/lib/customtypes/CustomType.js +6 -6
  3. package/lib/customtypes/Format.d.ts +4 -0
  4. package/lib/customtypes/Format.js +8 -0
  5. package/lib/customtypes/Section.d.ts +309 -309
  6. package/lib/customtypes/widgets/Group.d.ts +22 -23
  7. package/lib/customtypes/widgets/Group.js +2 -2
  8. package/lib/customtypes/widgets/UID.d.ts +1 -2
  9. package/lib/customtypes/widgets/UID.js +2 -2
  10. package/lib/customtypes/widgets/Widget.d.ts +353 -354
  11. package/lib/customtypes/widgets/Widget.js +3 -3
  12. package/lib/customtypes/widgets/WidgetTypes.d.ts +22 -22
  13. package/lib/customtypes/widgets/WidgetTypes.js +22 -23
  14. package/lib/customtypes/widgets/index.d.ts +1 -1
  15. package/lib/customtypes/widgets/index.js +1 -1
  16. package/lib/customtypes/widgets/nestable/BooleanField.d.ts +1 -2
  17. package/lib/customtypes/widgets/nestable/BooleanField.js +2 -2
  18. package/lib/customtypes/widgets/nestable/Color.d.ts +1 -2
  19. package/lib/customtypes/widgets/nestable/Color.js +2 -2
  20. package/lib/customtypes/widgets/nestable/Date.d.ts +1 -2
  21. package/lib/customtypes/widgets/nestable/Date.js +2 -2
  22. package/lib/customtypes/widgets/nestable/Embed.d.ts +1 -2
  23. package/lib/customtypes/widgets/nestable/Embed.js +2 -2
  24. package/lib/customtypes/widgets/nestable/GeoPoint.d.ts +1 -2
  25. package/lib/customtypes/widgets/nestable/GeoPoint.js +2 -2
  26. package/lib/customtypes/widgets/nestable/Image.d.ts +2 -3
  27. package/lib/customtypes/widgets/nestable/Image.js +3 -3
  28. package/lib/customtypes/widgets/nestable/IntegrationField.d.ts +1 -2
  29. package/lib/customtypes/widgets/nestable/IntegrationField.js +2 -2
  30. package/lib/customtypes/widgets/nestable/Link.d.ts +4 -5
  31. package/lib/customtypes/widgets/nestable/Link.js +3 -3
  32. package/lib/customtypes/widgets/nestable/NestableWidget.d.ts +21 -21
  33. package/lib/customtypes/widgets/nestable/Number.d.ts +1 -2
  34. package/lib/customtypes/widgets/nestable/Number.js +2 -2
  35. package/lib/customtypes/widgets/nestable/Range.d.ts +1 -2
  36. package/lib/customtypes/widgets/nestable/Range.js +2 -2
  37. package/lib/customtypes/widgets/nestable/RichText.d.ts +22 -22
  38. package/lib/customtypes/widgets/nestable/RichText.js +38 -39
  39. package/lib/customtypes/widgets/nestable/Select.d.ts +2 -3
  40. package/lib/customtypes/widgets/nestable/Select.js +3 -3
  41. package/lib/customtypes/widgets/nestable/Separator.d.ts +1 -2
  42. package/lib/customtypes/widgets/nestable/Separator.js +2 -2
  43. package/lib/customtypes/widgets/nestable/Text.d.ts +1 -2
  44. package/lib/customtypes/widgets/nestable/Text.js +2 -2
  45. package/lib/customtypes/widgets/nestable/Timestamp.d.ts +1 -2
  46. package/lib/customtypes/widgets/nestable/Timestamp.js +2 -2
  47. package/lib/customtypes/widgets/slices/CompositeSlice.d.ts +43 -44
  48. package/lib/customtypes/widgets/slices/CompositeSlice.js +2 -2
  49. package/lib/customtypes/widgets/slices/LegacySlice.d.ts +43 -43
  50. package/lib/customtypes/widgets/slices/SharedSlice.d.ts +86 -87
  51. package/lib/customtypes/widgets/slices/SharedSlice.js +3 -3
  52. package/lib/customtypes/widgets/slices/SharedSliceRef.d.ts +1 -2
  53. package/lib/customtypes/widgets/slices/SharedSliceRef.js +2 -2
  54. package/lib/customtypes/widgets/slices/Slices.d.ts +529 -531
  55. package/lib/customtypes/widgets/slices/Slices.js +6 -6
  56. package/lib/customtypes/widgets/slices/SlicesTypes.d.ts +5 -5
  57. package/lib/customtypes/widgets/slices/SlicesTypes.js +5 -6
  58. package/lib/customtypes/widgets/slices/index.d.ts +1 -1
  59. package/lib/customtypes/widgets/slices/index.js +1 -1
  60. package/lib/documents/widgets/index.d.ts +1 -0
  61. package/lib/documents/widgets/nestable/Link/index.d.ts +1 -0
  62. package/lib/documents/widgets/nestable/StructuredTextContent/Block.d.ts +16 -17
  63. package/lib/documents/widgets/nestable/StructuredTextContent/Block.js +1 -1
  64. package/package.json +1 -1
  65. package/src/customtypes/CustomType.ts +2 -2
  66. package/src/customtypes/widgets/Group.ts +1 -1
  67. package/src/customtypes/widgets/UID.ts +1 -1
  68. package/src/customtypes/widgets/Widget.ts +1 -1
  69. package/src/customtypes/widgets/WidgetTypes.ts +22 -22
  70. package/src/customtypes/widgets/index.ts +1 -1
  71. package/src/customtypes/widgets/nestable/BooleanField.ts +1 -1
  72. package/src/customtypes/widgets/nestable/Color.ts +1 -1
  73. package/src/customtypes/widgets/nestable/Date.ts +1 -1
  74. package/src/customtypes/widgets/nestable/Embed.ts +1 -1
  75. package/src/customtypes/widgets/nestable/GeoPoint.ts +1 -1
  76. package/src/customtypes/widgets/nestable/Image.ts +2 -2
  77. package/src/customtypes/widgets/nestable/IntegrationField.ts +1 -1
  78. package/src/customtypes/widgets/nestable/Link.ts +4 -4
  79. package/src/customtypes/widgets/nestable/Number.ts +1 -1
  80. package/src/customtypes/widgets/nestable/Range.ts +1 -1
  81. package/src/customtypes/widgets/nestable/RichText.ts +37 -35
  82. package/src/customtypes/widgets/nestable/Select.ts +4 -2
  83. package/src/customtypes/widgets/nestable/Separator.ts +1 -1
  84. package/src/customtypes/widgets/nestable/Text.ts +1 -1
  85. package/src/customtypes/widgets/nestable/Timestamp.ts +1 -1
  86. package/src/customtypes/widgets/slices/CompositeSlice.ts +1 -1
  87. package/src/customtypes/widgets/slices/SharedSlice.ts +2 -2
  88. package/src/customtypes/widgets/slices/SharedSliceRef.ts +1 -1
  89. package/src/customtypes/widgets/slices/Slices.ts +3 -3
  90. package/src/customtypes/widgets/slices/SlicesTypes.ts +5 -5
  91. package/src/customtypes/widgets/slices/index.ts +1 -1
  92. package/src/documents/widgets/index.ts +1 -5
  93. package/src/documents/widgets/nestable/Link/index.ts +2 -0
  94. package/src/documents/widgets/nestable/StructuredTextContent/Block.ts +1 -1
@@ -1,9 +1,7 @@
1
1
  import * as t from "io-ts";
2
- import WidgetTypes from "../WidgetTypes";
3
2
  import { SharedSlice } from "./SharedSlice";
4
3
  import SharedSliceRef from "./SharedSliceRef";
5
- import SlicesTypes from "./SlicesTypes";
6
- export declare const SlicesLabels: t.UnionC<[t.RecordC<t.StringC, t.ArrayC<t.ExactC<t.IntersectionC<[t.TypeC<{
4
+ export declare const SlicesLabels: t.UnionC<[t.RecordC<t.StringC, t.ReadonlyArrayC<t.ExactC<t.IntersectionC<[t.TypeC<{
7
5
  name: t.StringC;
8
6
  }>, t.PartialC<{
9
7
  display: t.StringC;
@@ -11,13 +9,13 @@ export declare const SlicesLabels: t.UnionC<[t.RecordC<t.StringC, t.ArrayC<t.Exa
11
9
  export declare type SlicesLabels = t.TypeOf<typeof SlicesLabels>;
12
10
  export declare function slicesConfigReader<T extends SharedSlice | SharedSliceRef>(codec: t.Type<T, unknown>): t.ExactC<t.PartialC<{
13
11
  label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
14
- labels: t.UnionC<[t.RecordC<t.StringC, t.ArrayC<t.ExactC<t.IntersectionC<[t.TypeC<{
12
+ labels: t.UnionC<[t.RecordC<t.StringC, t.ReadonlyArrayC<t.ExactC<t.IntersectionC<[t.TypeC<{
15
13
  name: t.StringC;
16
14
  }>, t.PartialC<{
17
15
  display: t.StringC;
18
16
  }>]>>>>, t.NullC]>;
19
17
  choices: t.RecordC<t.StringC, t.UnionC<[t.UnionC<[t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
20
- type: t.LiteralC<WidgetTypes.Color>;
18
+ type: t.LiteralC<"Color">;
21
19
  }>, t.PartialC<{
22
20
  fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
23
21
  config: t.ExactC<t.PartialC<{
@@ -25,7 +23,7 @@ export declare function slicesConfigReader<T extends SharedSlice | SharedSliceRe
25
23
  placeholder: t.StringC;
26
24
  }>>;
27
25
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
28
- type: t.LiteralC<WidgetTypes.BooleanField>;
26
+ type: t.LiteralC<"Boolean">;
29
27
  }>, t.PartialC<{
30
28
  config: t.ExactC<t.PartialC<{
31
29
  label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
@@ -34,7 +32,7 @@ export declare function slicesConfigReader<T extends SharedSlice | SharedSliceRe
34
32
  placeholder_false: t.StringC;
35
33
  }>>;
36
34
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
37
- type: t.LiteralC<WidgetTypes.Embed>;
35
+ type: t.LiteralC<"Embed">;
38
36
  }>, t.PartialC<{
39
37
  fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
40
38
  config: t.ExactC<t.PartialC<{
@@ -43,14 +41,14 @@ export declare function slicesConfigReader<T extends SharedSlice | SharedSliceRe
43
41
  useAsTitle: t.BooleanC;
44
42
  }>>;
45
43
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
46
- type: t.LiteralC<WidgetTypes.GeoPoint>;
44
+ type: t.LiteralC<"GeoPoint">;
47
45
  }>, t.PartialC<{
48
46
  fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
49
47
  config: t.ExactC<t.PartialC<{
50
48
  label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
51
49
  }>>;
52
50
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
53
- type: t.LiteralC<WidgetTypes.Date>;
51
+ type: t.LiteralC<"Date">;
54
52
  }>, t.PartialC<{
55
53
  fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
56
54
  config: t.ExactC<t.PartialC<{
@@ -59,7 +57,7 @@ export declare function slicesConfigReader<T extends SharedSlice | SharedSliceRe
59
57
  default: t.StringC;
60
58
  }>>;
61
59
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
62
- type: t.LiteralC<WidgetTypes.Number>;
60
+ type: t.LiteralC<"Number">;
63
61
  }>, t.PartialC<{
64
62
  fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
65
63
  config: t.ExactC<t.PartialC<{
@@ -70,7 +68,7 @@ export declare function slicesConfigReader<T extends SharedSlice | SharedSliceRe
70
68
  step: t.UnionC<[t.NumberC, import("io-ts-types").NumberFromStringC]>;
71
69
  }>>;
72
70
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
73
- type: t.LiteralC<WidgetTypes.Range>;
71
+ type: t.LiteralC<"Range">;
74
72
  }>, t.PartialC<{
75
73
  fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
76
74
  config: t.ExactC<t.PartialC<{
@@ -81,7 +79,7 @@ export declare function slicesConfigReader<T extends SharedSlice | SharedSliceRe
81
79
  step: t.UnionC<[t.NumberC, import("io-ts-types").NumberFromStringC]>;
82
80
  }>>;
83
81
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
84
- type: t.LiteralC<WidgetTypes.RichText>;
82
+ type: t.LiteralC<"StructuredText">;
85
83
  }>, t.PartialC<{
86
84
  fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
87
85
  config: t.ExactC<t.PartialC<{
@@ -94,27 +92,27 @@ export declare function slicesConfigReader<T extends SharedSlice | SharedSliceRe
94
92
  width: t.Type<number | null, unknown, unknown>;
95
93
  height: t.Type<number | null, unknown, unknown>;
96
94
  }>;
97
- labels: t.Type<string[], object, unknown>;
95
+ labels: t.Type<readonly string[], object, unknown>;
98
96
  allowTargetBlank: t.BooleanC;
99
97
  }>>;
100
98
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
101
- type: t.LiteralC<WidgetTypes.Select>;
99
+ type: t.LiteralC<"Select">;
102
100
  }>, t.PartialC<{
103
101
  fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
104
102
  config: t.ExactC<t.PartialC<{
105
103
  label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
106
104
  placeholder: t.StringC;
107
105
  default_value: t.StringC;
108
- options: t.ArrayC<t.UnionC<[t.StringC, t.Type<string, string, unknown>, t.Type<string, string, unknown>]>>;
106
+ options: t.ReadonlyArrayC<t.UnionC<[t.StringC, t.Type<string, string, unknown>, t.Type<string, string, unknown>]>>;
109
107
  }>>;
110
108
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
111
- type: t.LiteralC<WidgetTypes.Separator>;
109
+ type: t.LiteralC<"Separator">;
112
110
  }>, t.PartialC<{
113
111
  config: t.ExactC<t.PartialC<{
114
112
  label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
115
113
  }>>;
116
114
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
117
- type: t.LiteralC<WidgetTypes.Text>;
115
+ type: t.LiteralC<"Text">;
118
116
  }>, t.PartialC<{
119
117
  fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
120
118
  config: t.ExactC<t.PartialC<{
@@ -123,7 +121,7 @@ export declare function slicesConfigReader<T extends SharedSlice | SharedSliceRe
123
121
  placeholder: t.StringC;
124
122
  }>>;
125
123
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
126
- type: t.LiteralC<WidgetTypes.Timestamp>;
124
+ type: t.LiteralC<"Timestamp">;
127
125
  }>, t.PartialC<{
128
126
  fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
129
127
  config: t.ExactC<t.PartialC<{
@@ -132,7 +130,7 @@ export declare function slicesConfigReader<T extends SharedSlice | SharedSliceRe
132
130
  default: t.StringC;
133
131
  }>>;
134
132
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
135
- type: t.LiteralC<WidgetTypes.Link>;
133
+ type: t.LiteralC<"Link">;
136
134
  }>, t.PartialC<{
137
135
  fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
138
136
  config: t.ExactC<t.PartialC<{
@@ -140,13 +138,13 @@ export declare function slicesConfigReader<T extends SharedSlice | SharedSliceRe
140
138
  useAsTitle: t.BooleanC;
141
139
  placeholder: t.StringC;
142
140
  select: t.UnionC<[t.LiteralC<"media">, t.LiteralC<"document">, t.LiteralC<"web">, t.NullC]>;
143
- customtypes: t.ArrayC<t.StringC>;
144
- masks: t.Type<string[], object, unknown>;
145
- tags: t.Type<string[], object, unknown>;
141
+ customtypes: t.ReadonlyArrayC<t.StringC>;
142
+ masks: t.Type<readonly string[], object, unknown>;
143
+ tags: t.Type<readonly string[], object, unknown>;
146
144
  allowTargetBlank: t.BooleanC;
147
145
  }>>;
148
146
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
149
- type: t.LiteralC<WidgetTypes.Image>;
147
+ type: t.LiteralC<"Image">;
150
148
  }>, t.PartialC<{
151
149
  fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
152
150
  config: t.ExactC<t.PartialC<{
@@ -156,7 +154,7 @@ export declare function slicesConfigReader<T extends SharedSlice | SharedSliceRe
156
154
  width: t.Type<number | null, unknown, unknown>;
157
155
  height: t.Type<number | null, unknown, unknown>;
158
156
  }>;
159
- thumbnails: t.ArrayC<t.ExactC<t.IntersectionC<[t.TypeC<{
157
+ thumbnails: t.ReadonlyArrayC<t.ExactC<t.IntersectionC<[t.TypeC<{
160
158
  name: t.StringC;
161
159
  }>, t.PartialC<{
162
160
  width: t.Type<number | null, unknown, unknown>;
@@ -164,7 +162,7 @@ export declare function slicesConfigReader<T extends SharedSlice | SharedSliceRe
164
162
  }>]>>>;
165
163
  }>>;
166
164
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
167
- type: t.LiteralC<WidgetTypes.IntegrationField>;
165
+ type: t.LiteralC<"IntegrationFields">;
168
166
  }>, t.PartialC<{
169
167
  fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
170
168
  config: t.ExactC<t.PartialC<{
@@ -173,7 +171,7 @@ export declare function slicesConfigReader<T extends SharedSlice | SharedSliceRe
173
171
  catalog: t.StringC;
174
172
  }>>;
175
173
  }>]>>]>, t.ExactC<t.IntersectionC<[t.TypeC<{
176
- type: t.LiteralC<WidgetTypes.Group>;
174
+ type: t.LiteralC<"Group">;
177
175
  }>, t.PartialC<{
178
176
  fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
179
177
  icon: t.StringC;
@@ -182,7 +180,7 @@ export declare function slicesConfigReader<T extends SharedSlice | SharedSliceRe
182
180
  label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
183
181
  repeat: t.BooleanC;
184
182
  fields: t.RecordC<t.StringC, t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
185
- type: t.LiteralC<WidgetTypes.Color>;
183
+ type: t.LiteralC<"Color">;
186
184
  }>, t.PartialC<{
187
185
  fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
188
186
  config: t.ExactC<t.PartialC<{
@@ -190,7 +188,7 @@ export declare function slicesConfigReader<T extends SharedSlice | SharedSliceRe
190
188
  placeholder: t.StringC;
191
189
  }>>;
192
190
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
193
- type: t.LiteralC<WidgetTypes.BooleanField>;
191
+ type: t.LiteralC<"Boolean">;
194
192
  }>, t.PartialC<{
195
193
  config: t.ExactC<t.PartialC<{
196
194
  label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
@@ -199,7 +197,7 @@ export declare function slicesConfigReader<T extends SharedSlice | SharedSliceRe
199
197
  placeholder_false: t.StringC;
200
198
  }>>;
201
199
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
202
- type: t.LiteralC<WidgetTypes.Embed>;
200
+ type: t.LiteralC<"Embed">;
203
201
  }>, t.PartialC<{
204
202
  fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
205
203
  config: t.ExactC<t.PartialC<{
@@ -208,14 +206,14 @@ export declare function slicesConfigReader<T extends SharedSlice | SharedSliceRe
208
206
  useAsTitle: t.BooleanC;
209
207
  }>>;
210
208
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
211
- type: t.LiteralC<WidgetTypes.GeoPoint>;
209
+ type: t.LiteralC<"GeoPoint">;
212
210
  }>, t.PartialC<{
213
211
  fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
214
212
  config: t.ExactC<t.PartialC<{
215
213
  label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
216
214
  }>>;
217
215
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
218
- type: t.LiteralC<WidgetTypes.Date>;
216
+ type: t.LiteralC<"Date">;
219
217
  }>, t.PartialC<{
220
218
  fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
221
219
  config: t.ExactC<t.PartialC<{
@@ -224,7 +222,7 @@ export declare function slicesConfigReader<T extends SharedSlice | SharedSliceRe
224
222
  default: t.StringC;
225
223
  }>>;
226
224
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
227
- type: t.LiteralC<WidgetTypes.Number>;
225
+ type: t.LiteralC<"Number">;
228
226
  }>, t.PartialC<{
229
227
  fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
230
228
  config: t.ExactC<t.PartialC<{
@@ -235,7 +233,7 @@ export declare function slicesConfigReader<T extends SharedSlice | SharedSliceRe
235
233
  step: t.UnionC<[t.NumberC, import("io-ts-types").NumberFromStringC]>;
236
234
  }>>;
237
235
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
238
- type: t.LiteralC<WidgetTypes.Range>;
236
+ type: t.LiteralC<"Range">;
239
237
  }>, t.PartialC<{
240
238
  fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
241
239
  config: t.ExactC<t.PartialC<{
@@ -246,7 +244,7 @@ export declare function slicesConfigReader<T extends SharedSlice | SharedSliceRe
246
244
  step: t.UnionC<[t.NumberC, import("io-ts-types").NumberFromStringC]>;
247
245
  }>>;
248
246
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
249
- type: t.LiteralC<WidgetTypes.RichText>;
247
+ type: t.LiteralC<"StructuredText">;
250
248
  }>, t.PartialC<{
251
249
  fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
252
250
  config: t.ExactC<t.PartialC<{
@@ -259,27 +257,27 @@ export declare function slicesConfigReader<T extends SharedSlice | SharedSliceRe
259
257
  width: t.Type<number | null, unknown, unknown>;
260
258
  height: t.Type<number | null, unknown, unknown>;
261
259
  }>;
262
- labels: t.Type<string[], object, unknown>;
260
+ labels: t.Type<readonly string[], object, unknown>;
263
261
  allowTargetBlank: t.BooleanC;
264
262
  }>>;
265
263
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
266
- type: t.LiteralC<WidgetTypes.Select>;
264
+ type: t.LiteralC<"Select">;
267
265
  }>, t.PartialC<{
268
266
  fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
269
267
  config: t.ExactC<t.PartialC<{
270
268
  label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
271
269
  placeholder: t.StringC;
272
270
  default_value: t.StringC;
273
- options: t.ArrayC<t.UnionC<[t.StringC, t.Type<string, string, unknown>, t.Type<string, string, unknown>]>>;
271
+ options: t.ReadonlyArrayC<t.UnionC<[t.StringC, t.Type<string, string, unknown>, t.Type<string, string, unknown>]>>;
274
272
  }>>;
275
273
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
276
- type: t.LiteralC<WidgetTypes.Separator>;
274
+ type: t.LiteralC<"Separator">;
277
275
  }>, t.PartialC<{
278
276
  config: t.ExactC<t.PartialC<{
279
277
  label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
280
278
  }>>;
281
279
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
282
- type: t.LiteralC<WidgetTypes.Text>;
280
+ type: t.LiteralC<"Text">;
283
281
  }>, t.PartialC<{
284
282
  fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
285
283
  config: t.ExactC<t.PartialC<{
@@ -288,7 +286,7 @@ export declare function slicesConfigReader<T extends SharedSlice | SharedSliceRe
288
286
  placeholder: t.StringC;
289
287
  }>>;
290
288
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
291
- type: t.LiteralC<WidgetTypes.Timestamp>;
289
+ type: t.LiteralC<"Timestamp">;
292
290
  }>, t.PartialC<{
293
291
  fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
294
292
  config: t.ExactC<t.PartialC<{
@@ -297,7 +295,7 @@ export declare function slicesConfigReader<T extends SharedSlice | SharedSliceRe
297
295
  default: t.StringC;
298
296
  }>>;
299
297
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
300
- type: t.LiteralC<WidgetTypes.Link>;
298
+ type: t.LiteralC<"Link">;
301
299
  }>, t.PartialC<{
302
300
  fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
303
301
  config: t.ExactC<t.PartialC<{
@@ -305,13 +303,13 @@ export declare function slicesConfigReader<T extends SharedSlice | SharedSliceRe
305
303
  useAsTitle: t.BooleanC;
306
304
  placeholder: t.StringC;
307
305
  select: t.UnionC<[t.LiteralC<"media">, t.LiteralC<"document">, t.LiteralC<"web">, t.NullC]>;
308
- customtypes: t.ArrayC<t.StringC>;
309
- masks: t.Type<string[], object, unknown>;
310
- tags: t.Type<string[], object, unknown>;
306
+ customtypes: t.ReadonlyArrayC<t.StringC>;
307
+ masks: t.Type<readonly string[], object, unknown>;
308
+ tags: t.Type<readonly string[], object, unknown>;
311
309
  allowTargetBlank: t.BooleanC;
312
310
  }>>;
313
311
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
314
- type: t.LiteralC<WidgetTypes.Image>;
312
+ type: t.LiteralC<"Image">;
315
313
  }>, t.PartialC<{
316
314
  fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
317
315
  config: t.ExactC<t.PartialC<{
@@ -321,7 +319,7 @@ export declare function slicesConfigReader<T extends SharedSlice | SharedSliceRe
321
319
  width: t.Type<number | null, unknown, unknown>;
322
320
  height: t.Type<number | null, unknown, unknown>;
323
321
  }>;
324
- thumbnails: t.ArrayC<t.ExactC<t.IntersectionC<[t.TypeC<{
322
+ thumbnails: t.ReadonlyArrayC<t.ExactC<t.IntersectionC<[t.TypeC<{
325
323
  name: t.StringC;
326
324
  }>, t.PartialC<{
327
325
  width: t.Type<number | null, unknown, unknown>;
@@ -329,7 +327,7 @@ export declare function slicesConfigReader<T extends SharedSlice | SharedSliceRe
329
327
  }>]>>>;
330
328
  }>>;
331
329
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
332
- type: t.LiteralC<WidgetTypes.IntegrationField>;
330
+ type: t.LiteralC<"IntegrationFields">;
333
331
  }>, t.PartialC<{
334
332
  fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
335
333
  config: t.ExactC<t.PartialC<{
@@ -340,14 +338,14 @@ export declare function slicesConfigReader<T extends SharedSlice | SharedSliceRe
340
338
  }>]>>]>>;
341
339
  }>>;
342
340
  }>]>>]>, t.ExactC<t.IntersectionC<[t.TypeC<{
343
- type: t.LiteralC<SlicesTypes.Slice>;
341
+ type: t.LiteralC<"Slice">;
344
342
  }>, t.PartialC<{
345
343
  fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
346
344
  description: t.StringC;
347
345
  icon: t.StringC;
348
346
  display: t.StringC;
349
347
  "non-repeat": t.RecordC<t.StringC, t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
350
- type: t.LiteralC<WidgetTypes.Color>;
348
+ type: t.LiteralC<"Color">;
351
349
  }>, t.PartialC<{
352
350
  fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
353
351
  config: t.ExactC<t.PartialC<{
@@ -355,7 +353,7 @@ export declare function slicesConfigReader<T extends SharedSlice | SharedSliceRe
355
353
  placeholder: t.StringC;
356
354
  }>>;
357
355
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
358
- type: t.LiteralC<WidgetTypes.BooleanField>;
356
+ type: t.LiteralC<"Boolean">;
359
357
  }>, t.PartialC<{
360
358
  config: t.ExactC<t.PartialC<{
361
359
  label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
@@ -364,7 +362,7 @@ export declare function slicesConfigReader<T extends SharedSlice | SharedSliceRe
364
362
  placeholder_false: t.StringC;
365
363
  }>>;
366
364
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
367
- type: t.LiteralC<WidgetTypes.Embed>;
365
+ type: t.LiteralC<"Embed">;
368
366
  }>, t.PartialC<{
369
367
  fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
370
368
  config: t.ExactC<t.PartialC<{
@@ -373,14 +371,14 @@ export declare function slicesConfigReader<T extends SharedSlice | SharedSliceRe
373
371
  useAsTitle: t.BooleanC;
374
372
  }>>;
375
373
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
376
- type: t.LiteralC<WidgetTypes.GeoPoint>;
374
+ type: t.LiteralC<"GeoPoint">;
377
375
  }>, t.PartialC<{
378
376
  fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
379
377
  config: t.ExactC<t.PartialC<{
380
378
  label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
381
379
  }>>;
382
380
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
383
- type: t.LiteralC<WidgetTypes.Date>;
381
+ type: t.LiteralC<"Date">;
384
382
  }>, t.PartialC<{
385
383
  fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
386
384
  config: t.ExactC<t.PartialC<{
@@ -389,7 +387,7 @@ export declare function slicesConfigReader<T extends SharedSlice | SharedSliceRe
389
387
  default: t.StringC;
390
388
  }>>;
391
389
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
392
- type: t.LiteralC<WidgetTypes.Number>;
390
+ type: t.LiteralC<"Number">;
393
391
  }>, t.PartialC<{
394
392
  fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
395
393
  config: t.ExactC<t.PartialC<{
@@ -400,7 +398,7 @@ export declare function slicesConfigReader<T extends SharedSlice | SharedSliceRe
400
398
  step: t.UnionC<[t.NumberC, import("io-ts-types").NumberFromStringC]>;
401
399
  }>>;
402
400
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
403
- type: t.LiteralC<WidgetTypes.Range>;
401
+ type: t.LiteralC<"Range">;
404
402
  }>, t.PartialC<{
405
403
  fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
406
404
  config: t.ExactC<t.PartialC<{
@@ -411,7 +409,7 @@ export declare function slicesConfigReader<T extends SharedSlice | SharedSliceRe
411
409
  step: t.UnionC<[t.NumberC, import("io-ts-types").NumberFromStringC]>;
412
410
  }>>;
413
411
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
414
- type: t.LiteralC<WidgetTypes.RichText>;
412
+ type: t.LiteralC<"StructuredText">;
415
413
  }>, t.PartialC<{
416
414
  fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
417
415
  config: t.ExactC<t.PartialC<{
@@ -424,27 +422,27 @@ export declare function slicesConfigReader<T extends SharedSlice | SharedSliceRe
424
422
  width: t.Type<number | null, unknown, unknown>;
425
423
  height: t.Type<number | null, unknown, unknown>;
426
424
  }>;
427
- labels: t.Type<string[], object, unknown>;
425
+ labels: t.Type<readonly string[], object, unknown>;
428
426
  allowTargetBlank: t.BooleanC;
429
427
  }>>;
430
428
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
431
- type: t.LiteralC<WidgetTypes.Select>;
429
+ type: t.LiteralC<"Select">;
432
430
  }>, t.PartialC<{
433
431
  fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
434
432
  config: t.ExactC<t.PartialC<{
435
433
  label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
436
434
  placeholder: t.StringC;
437
435
  default_value: t.StringC;
438
- options: t.ArrayC<t.UnionC<[t.StringC, t.Type<string, string, unknown>, t.Type<string, string, unknown>]>>;
436
+ options: t.ReadonlyArrayC<t.UnionC<[t.StringC, t.Type<string, string, unknown>, t.Type<string, string, unknown>]>>;
439
437
  }>>;
440
438
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
441
- type: t.LiteralC<WidgetTypes.Separator>;
439
+ type: t.LiteralC<"Separator">;
442
440
  }>, t.PartialC<{
443
441
  config: t.ExactC<t.PartialC<{
444
442
  label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
445
443
  }>>;
446
444
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
447
- type: t.LiteralC<WidgetTypes.Text>;
445
+ type: t.LiteralC<"Text">;
448
446
  }>, t.PartialC<{
449
447
  fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
450
448
  config: t.ExactC<t.PartialC<{
@@ -453,7 +451,7 @@ export declare function slicesConfigReader<T extends SharedSlice | SharedSliceRe
453
451
  placeholder: t.StringC;
454
452
  }>>;
455
453
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
456
- type: t.LiteralC<WidgetTypes.Timestamp>;
454
+ type: t.LiteralC<"Timestamp">;
457
455
  }>, t.PartialC<{
458
456
  fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
459
457
  config: t.ExactC<t.PartialC<{
@@ -462,7 +460,7 @@ export declare function slicesConfigReader<T extends SharedSlice | SharedSliceRe
462
460
  default: t.StringC;
463
461
  }>>;
464
462
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
465
- type: t.LiteralC<WidgetTypes.Link>;
463
+ type: t.LiteralC<"Link">;
466
464
  }>, t.PartialC<{
467
465
  fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
468
466
  config: t.ExactC<t.PartialC<{
@@ -470,13 +468,13 @@ export declare function slicesConfigReader<T extends SharedSlice | SharedSliceRe
470
468
  useAsTitle: t.BooleanC;
471
469
  placeholder: t.StringC;
472
470
  select: t.UnionC<[t.LiteralC<"media">, t.LiteralC<"document">, t.LiteralC<"web">, t.NullC]>;
473
- customtypes: t.ArrayC<t.StringC>;
474
- masks: t.Type<string[], object, unknown>;
475
- tags: t.Type<string[], object, unknown>;
471
+ customtypes: t.ReadonlyArrayC<t.StringC>;
472
+ masks: t.Type<readonly string[], object, unknown>;
473
+ tags: t.Type<readonly string[], object, unknown>;
476
474
  allowTargetBlank: t.BooleanC;
477
475
  }>>;
478
476
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
479
- type: t.LiteralC<WidgetTypes.Image>;
477
+ type: t.LiteralC<"Image">;
480
478
  }>, t.PartialC<{
481
479
  fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
482
480
  config: t.ExactC<t.PartialC<{
@@ -486,7 +484,7 @@ export declare function slicesConfigReader<T extends SharedSlice | SharedSliceRe
486
484
  width: t.Type<number | null, unknown, unknown>;
487
485
  height: t.Type<number | null, unknown, unknown>;
488
486
  }>;
489
- thumbnails: t.ArrayC<t.ExactC<t.IntersectionC<[t.TypeC<{
487
+ thumbnails: t.ReadonlyArrayC<t.ExactC<t.IntersectionC<[t.TypeC<{
490
488
  name: t.StringC;
491
489
  }>, t.PartialC<{
492
490
  width: t.Type<number | null, unknown, unknown>;
@@ -494,7 +492,7 @@ export declare function slicesConfigReader<T extends SharedSlice | SharedSliceRe
494
492
  }>]>>>;
495
493
  }>>;
496
494
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
497
- type: t.LiteralC<WidgetTypes.IntegrationField>;
495
+ type: t.LiteralC<"IntegrationFields">;
498
496
  }>, t.PartialC<{
499
497
  fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
500
498
  config: t.ExactC<t.PartialC<{
@@ -504,7 +502,7 @@ export declare function slicesConfigReader<T extends SharedSlice | SharedSliceRe
504
502
  }>>;
505
503
  }>]>>]>>;
506
504
  repeat: t.RecordC<t.StringC, t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
507
- type: t.LiteralC<WidgetTypes.Color>;
505
+ type: t.LiteralC<"Color">;
508
506
  }>, t.PartialC<{
509
507
  fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
510
508
  config: t.ExactC<t.PartialC<{
@@ -512,7 +510,7 @@ export declare function slicesConfigReader<T extends SharedSlice | SharedSliceRe
512
510
  placeholder: t.StringC;
513
511
  }>>;
514
512
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
515
- type: t.LiteralC<WidgetTypes.BooleanField>;
513
+ type: t.LiteralC<"Boolean">;
516
514
  }>, t.PartialC<{
517
515
  config: t.ExactC<t.PartialC<{
518
516
  label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
@@ -521,7 +519,7 @@ export declare function slicesConfigReader<T extends SharedSlice | SharedSliceRe
521
519
  placeholder_false: t.StringC;
522
520
  }>>;
523
521
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
524
- type: t.LiteralC<WidgetTypes.Embed>;
522
+ type: t.LiteralC<"Embed">;
525
523
  }>, t.PartialC<{
526
524
  fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
527
525
  config: t.ExactC<t.PartialC<{
@@ -530,14 +528,14 @@ export declare function slicesConfigReader<T extends SharedSlice | SharedSliceRe
530
528
  useAsTitle: t.BooleanC;
531
529
  }>>;
532
530
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
533
- type: t.LiteralC<WidgetTypes.GeoPoint>;
531
+ type: t.LiteralC<"GeoPoint">;
534
532
  }>, t.PartialC<{
535
533
  fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
536
534
  config: t.ExactC<t.PartialC<{
537
535
  label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
538
536
  }>>;
539
537
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
540
- type: t.LiteralC<WidgetTypes.Date>;
538
+ type: t.LiteralC<"Date">;
541
539
  }>, t.PartialC<{
542
540
  fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
543
541
  config: t.ExactC<t.PartialC<{
@@ -546,7 +544,7 @@ export declare function slicesConfigReader<T extends SharedSlice | SharedSliceRe
546
544
  default: t.StringC;
547
545
  }>>;
548
546
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
549
- type: t.LiteralC<WidgetTypes.Number>;
547
+ type: t.LiteralC<"Number">;
550
548
  }>, t.PartialC<{
551
549
  fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
552
550
  config: t.ExactC<t.PartialC<{
@@ -557,7 +555,7 @@ export declare function slicesConfigReader<T extends SharedSlice | SharedSliceRe
557
555
  step: t.UnionC<[t.NumberC, import("io-ts-types").NumberFromStringC]>;
558
556
  }>>;
559
557
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
560
- type: t.LiteralC<WidgetTypes.Range>;
558
+ type: t.LiteralC<"Range">;
561
559
  }>, t.PartialC<{
562
560
  fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
563
561
  config: t.ExactC<t.PartialC<{
@@ -568,7 +566,7 @@ export declare function slicesConfigReader<T extends SharedSlice | SharedSliceRe
568
566
  step: t.UnionC<[t.NumberC, import("io-ts-types").NumberFromStringC]>;
569
567
  }>>;
570
568
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
571
- type: t.LiteralC<WidgetTypes.RichText>;
569
+ type: t.LiteralC<"StructuredText">;
572
570
  }>, t.PartialC<{
573
571
  fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
574
572
  config: t.ExactC<t.PartialC<{
@@ -581,27 +579,27 @@ export declare function slicesConfigReader<T extends SharedSlice | SharedSliceRe
581
579
  width: t.Type<number | null, unknown, unknown>;
582
580
  height: t.Type<number | null, unknown, unknown>;
583
581
  }>;
584
- labels: t.Type<string[], object, unknown>;
582
+ labels: t.Type<readonly string[], object, unknown>;
585
583
  allowTargetBlank: t.BooleanC;
586
584
  }>>;
587
585
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
588
- type: t.LiteralC<WidgetTypes.Select>;
586
+ type: t.LiteralC<"Select">;
589
587
  }>, t.PartialC<{
590
588
  fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
591
589
  config: t.ExactC<t.PartialC<{
592
590
  label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
593
591
  placeholder: t.StringC;
594
592
  default_value: t.StringC;
595
- options: t.ArrayC<t.UnionC<[t.StringC, t.Type<string, string, unknown>, t.Type<string, string, unknown>]>>;
593
+ options: t.ReadonlyArrayC<t.UnionC<[t.StringC, t.Type<string, string, unknown>, t.Type<string, string, unknown>]>>;
596
594
  }>>;
597
595
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
598
- type: t.LiteralC<WidgetTypes.Separator>;
596
+ type: t.LiteralC<"Separator">;
599
597
  }>, t.PartialC<{
600
598
  config: t.ExactC<t.PartialC<{
601
599
  label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
602
600
  }>>;
603
601
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
604
- type: t.LiteralC<WidgetTypes.Text>;
602
+ type: t.LiteralC<"Text">;
605
603
  }>, t.PartialC<{
606
604
  fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
607
605
  config: t.ExactC<t.PartialC<{
@@ -610,7 +608,7 @@ export declare function slicesConfigReader<T extends SharedSlice | SharedSliceRe
610
608
  placeholder: t.StringC;
611
609
  }>>;
612
610
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
613
- type: t.LiteralC<WidgetTypes.Timestamp>;
611
+ type: t.LiteralC<"Timestamp">;
614
612
  }>, t.PartialC<{
615
613
  fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
616
614
  config: t.ExactC<t.PartialC<{
@@ -619,7 +617,7 @@ export declare function slicesConfigReader<T extends SharedSlice | SharedSliceRe
619
617
  default: t.StringC;
620
618
  }>>;
621
619
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
622
- type: t.LiteralC<WidgetTypes.Link>;
620
+ type: t.LiteralC<"Link">;
623
621
  }>, t.PartialC<{
624
622
  fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
625
623
  config: t.ExactC<t.PartialC<{
@@ -627,13 +625,13 @@ export declare function slicesConfigReader<T extends SharedSlice | SharedSliceRe
627
625
  useAsTitle: t.BooleanC;
628
626
  placeholder: t.StringC;
629
627
  select: t.UnionC<[t.LiteralC<"media">, t.LiteralC<"document">, t.LiteralC<"web">, t.NullC]>;
630
- customtypes: t.ArrayC<t.StringC>;
631
- masks: t.Type<string[], object, unknown>;
632
- tags: t.Type<string[], object, unknown>;
628
+ customtypes: t.ReadonlyArrayC<t.StringC>;
629
+ masks: t.Type<readonly string[], object, unknown>;
630
+ tags: t.Type<readonly string[], object, unknown>;
633
631
  allowTargetBlank: t.BooleanC;
634
632
  }>>;
635
633
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
636
- type: t.LiteralC<WidgetTypes.Image>;
634
+ type: t.LiteralC<"Image">;
637
635
  }>, t.PartialC<{
638
636
  fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
639
637
  config: t.ExactC<t.PartialC<{
@@ -643,7 +641,7 @@ export declare function slicesConfigReader<T extends SharedSlice | SharedSliceRe
643
641
  width: t.Type<number | null, unknown, unknown>;
644
642
  height: t.Type<number | null, unknown, unknown>;
645
643
  }>;
646
- thumbnails: t.ArrayC<t.ExactC<t.IntersectionC<[t.TypeC<{
644
+ thumbnails: t.ReadonlyArrayC<t.ExactC<t.IntersectionC<[t.TypeC<{
647
645
  name: t.StringC;
648
646
  }>, t.PartialC<{
649
647
  width: t.Type<number | null, unknown, unknown>;
@@ -651,7 +649,7 @@ export declare function slicesConfigReader<T extends SharedSlice | SharedSliceRe
651
649
  }>]>>>;
652
650
  }>>;
653
651
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
654
- type: t.LiteralC<WidgetTypes.IntegrationField>;
652
+ type: t.LiteralC<"IntegrationFields">;
655
653
  }>, t.PartialC<{
656
654
  fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
657
655
  config: t.ExactC<t.PartialC<{
@@ -667,13 +665,13 @@ export declare function slicesConfigReader<T extends SharedSlice | SharedSliceRe
667
665
  }>>;
668
666
  export declare const StaticSlicesConfig: t.ExactC<t.PartialC<{
669
667
  label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
670
- labels: t.UnionC<[t.RecordC<t.StringC, t.ArrayC<t.ExactC<t.IntersectionC<[t.TypeC<{
668
+ labels: t.UnionC<[t.RecordC<t.StringC, t.ReadonlyArrayC<t.ExactC<t.IntersectionC<[t.TypeC<{
671
669
  name: t.StringC;
672
670
  }>, t.PartialC<{
673
671
  display: t.StringC;
674
672
  }>]>>>>, t.NullC]>;
675
673
  choices: t.RecordC<t.StringC, t.UnionC<[t.UnionC<[t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
676
- type: t.LiteralC<WidgetTypes.Color>;
674
+ type: t.LiteralC<"Color">;
677
675
  }>, t.PartialC<{
678
676
  fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
679
677
  config: t.ExactC<t.PartialC<{
@@ -681,7 +679,7 @@ export declare const StaticSlicesConfig: t.ExactC<t.PartialC<{
681
679
  placeholder: t.StringC;
682
680
  }>>;
683
681
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
684
- type: t.LiteralC<WidgetTypes.BooleanField>;
682
+ type: t.LiteralC<"Boolean">;
685
683
  }>, t.PartialC<{
686
684
  config: t.ExactC<t.PartialC<{
687
685
  label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
@@ -690,7 +688,7 @@ export declare const StaticSlicesConfig: t.ExactC<t.PartialC<{
690
688
  placeholder_false: t.StringC;
691
689
  }>>;
692
690
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
693
- type: t.LiteralC<WidgetTypes.Embed>;
691
+ type: t.LiteralC<"Embed">;
694
692
  }>, t.PartialC<{
695
693
  fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
696
694
  config: t.ExactC<t.PartialC<{
@@ -699,14 +697,14 @@ export declare const StaticSlicesConfig: t.ExactC<t.PartialC<{
699
697
  useAsTitle: t.BooleanC;
700
698
  }>>;
701
699
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
702
- type: t.LiteralC<WidgetTypes.GeoPoint>;
700
+ type: t.LiteralC<"GeoPoint">;
703
701
  }>, t.PartialC<{
704
702
  fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
705
703
  config: t.ExactC<t.PartialC<{
706
704
  label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
707
705
  }>>;
708
706
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
709
- type: t.LiteralC<WidgetTypes.Date>;
707
+ type: t.LiteralC<"Date">;
710
708
  }>, t.PartialC<{
711
709
  fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
712
710
  config: t.ExactC<t.PartialC<{
@@ -715,7 +713,7 @@ export declare const StaticSlicesConfig: t.ExactC<t.PartialC<{
715
713
  default: t.StringC;
716
714
  }>>;
717
715
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
718
- type: t.LiteralC<WidgetTypes.Number>;
716
+ type: t.LiteralC<"Number">;
719
717
  }>, t.PartialC<{
720
718
  fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
721
719
  config: t.ExactC<t.PartialC<{
@@ -726,7 +724,7 @@ export declare const StaticSlicesConfig: t.ExactC<t.PartialC<{
726
724
  step: t.UnionC<[t.NumberC, import("io-ts-types").NumberFromStringC]>;
727
725
  }>>;
728
726
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
729
- type: t.LiteralC<WidgetTypes.Range>;
727
+ type: t.LiteralC<"Range">;
730
728
  }>, t.PartialC<{
731
729
  fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
732
730
  config: t.ExactC<t.PartialC<{
@@ -737,7 +735,7 @@ export declare const StaticSlicesConfig: t.ExactC<t.PartialC<{
737
735
  step: t.UnionC<[t.NumberC, import("io-ts-types").NumberFromStringC]>;
738
736
  }>>;
739
737
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
740
- type: t.LiteralC<WidgetTypes.RichText>;
738
+ type: t.LiteralC<"StructuredText">;
741
739
  }>, t.PartialC<{
742
740
  fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
743
741
  config: t.ExactC<t.PartialC<{
@@ -750,27 +748,27 @@ export declare const StaticSlicesConfig: t.ExactC<t.PartialC<{
750
748
  width: t.Type<number | null, unknown, unknown>;
751
749
  height: t.Type<number | null, unknown, unknown>;
752
750
  }>;
753
- labels: t.Type<string[], object, unknown>;
751
+ labels: t.Type<readonly string[], object, unknown>;
754
752
  allowTargetBlank: t.BooleanC;
755
753
  }>>;
756
754
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
757
- type: t.LiteralC<WidgetTypes.Select>;
755
+ type: t.LiteralC<"Select">;
758
756
  }>, t.PartialC<{
759
757
  fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
760
758
  config: t.ExactC<t.PartialC<{
761
759
  label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
762
760
  placeholder: t.StringC;
763
761
  default_value: t.StringC;
764
- options: t.ArrayC<t.UnionC<[t.StringC, t.Type<string, string, unknown>, t.Type<string, string, unknown>]>>;
762
+ options: t.ReadonlyArrayC<t.UnionC<[t.StringC, t.Type<string, string, unknown>, t.Type<string, string, unknown>]>>;
765
763
  }>>;
766
764
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
767
- type: t.LiteralC<WidgetTypes.Separator>;
765
+ type: t.LiteralC<"Separator">;
768
766
  }>, t.PartialC<{
769
767
  config: t.ExactC<t.PartialC<{
770
768
  label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
771
769
  }>>;
772
770
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
773
- type: t.LiteralC<WidgetTypes.Text>;
771
+ type: t.LiteralC<"Text">;
774
772
  }>, t.PartialC<{
775
773
  fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
776
774
  config: t.ExactC<t.PartialC<{
@@ -779,7 +777,7 @@ export declare const StaticSlicesConfig: t.ExactC<t.PartialC<{
779
777
  placeholder: t.StringC;
780
778
  }>>;
781
779
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
782
- type: t.LiteralC<WidgetTypes.Timestamp>;
780
+ type: t.LiteralC<"Timestamp">;
783
781
  }>, t.PartialC<{
784
782
  fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
785
783
  config: t.ExactC<t.PartialC<{
@@ -788,7 +786,7 @@ export declare const StaticSlicesConfig: t.ExactC<t.PartialC<{
788
786
  default: t.StringC;
789
787
  }>>;
790
788
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
791
- type: t.LiteralC<WidgetTypes.Link>;
789
+ type: t.LiteralC<"Link">;
792
790
  }>, t.PartialC<{
793
791
  fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
794
792
  config: t.ExactC<t.PartialC<{
@@ -796,13 +794,13 @@ export declare const StaticSlicesConfig: t.ExactC<t.PartialC<{
796
794
  useAsTitle: t.BooleanC;
797
795
  placeholder: t.StringC;
798
796
  select: t.UnionC<[t.LiteralC<"media">, t.LiteralC<"document">, t.LiteralC<"web">, t.NullC]>;
799
- customtypes: t.ArrayC<t.StringC>;
800
- masks: t.Type<string[], object, unknown>;
801
- tags: t.Type<string[], object, unknown>;
797
+ customtypes: t.ReadonlyArrayC<t.StringC>;
798
+ masks: t.Type<readonly string[], object, unknown>;
799
+ tags: t.Type<readonly string[], object, unknown>;
802
800
  allowTargetBlank: t.BooleanC;
803
801
  }>>;
804
802
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
805
- type: t.LiteralC<WidgetTypes.Image>;
803
+ type: t.LiteralC<"Image">;
806
804
  }>, t.PartialC<{
807
805
  fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
808
806
  config: t.ExactC<t.PartialC<{
@@ -812,7 +810,7 @@ export declare const StaticSlicesConfig: t.ExactC<t.PartialC<{
812
810
  width: t.Type<number | null, unknown, unknown>;
813
811
  height: t.Type<number | null, unknown, unknown>;
814
812
  }>;
815
- thumbnails: t.ArrayC<t.ExactC<t.IntersectionC<[t.TypeC<{
813
+ thumbnails: t.ReadonlyArrayC<t.ExactC<t.IntersectionC<[t.TypeC<{
816
814
  name: t.StringC;
817
815
  }>, t.PartialC<{
818
816
  width: t.Type<number | null, unknown, unknown>;
@@ -820,7 +818,7 @@ export declare const StaticSlicesConfig: t.ExactC<t.PartialC<{
820
818
  }>]>>>;
821
819
  }>>;
822
820
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
823
- type: t.LiteralC<WidgetTypes.IntegrationField>;
821
+ type: t.LiteralC<"IntegrationFields">;
824
822
  }>, t.PartialC<{
825
823
  fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
826
824
  config: t.ExactC<t.PartialC<{
@@ -829,7 +827,7 @@ export declare const StaticSlicesConfig: t.ExactC<t.PartialC<{
829
827
  catalog: t.StringC;
830
828
  }>>;
831
829
  }>]>>]>, t.ExactC<t.IntersectionC<[t.TypeC<{
832
- type: t.LiteralC<WidgetTypes.Group>;
830
+ type: t.LiteralC<"Group">;
833
831
  }>, t.PartialC<{
834
832
  fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
835
833
  icon: t.StringC;
@@ -838,7 +836,7 @@ export declare const StaticSlicesConfig: t.ExactC<t.PartialC<{
838
836
  label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
839
837
  repeat: t.BooleanC;
840
838
  fields: t.RecordC<t.StringC, t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
841
- type: t.LiteralC<WidgetTypes.Color>;
839
+ type: t.LiteralC<"Color">;
842
840
  }>, t.PartialC<{
843
841
  fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
844
842
  config: t.ExactC<t.PartialC<{
@@ -846,7 +844,7 @@ export declare const StaticSlicesConfig: t.ExactC<t.PartialC<{
846
844
  placeholder: t.StringC;
847
845
  }>>;
848
846
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
849
- type: t.LiteralC<WidgetTypes.BooleanField>;
847
+ type: t.LiteralC<"Boolean">;
850
848
  }>, t.PartialC<{
851
849
  config: t.ExactC<t.PartialC<{
852
850
  label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
@@ -855,7 +853,7 @@ export declare const StaticSlicesConfig: t.ExactC<t.PartialC<{
855
853
  placeholder_false: t.StringC;
856
854
  }>>;
857
855
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
858
- type: t.LiteralC<WidgetTypes.Embed>;
856
+ type: t.LiteralC<"Embed">;
859
857
  }>, t.PartialC<{
860
858
  fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
861
859
  config: t.ExactC<t.PartialC<{
@@ -864,14 +862,14 @@ export declare const StaticSlicesConfig: t.ExactC<t.PartialC<{
864
862
  useAsTitle: t.BooleanC;
865
863
  }>>;
866
864
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
867
- type: t.LiteralC<WidgetTypes.GeoPoint>;
865
+ type: t.LiteralC<"GeoPoint">;
868
866
  }>, t.PartialC<{
869
867
  fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
870
868
  config: t.ExactC<t.PartialC<{
871
869
  label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
872
870
  }>>;
873
871
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
874
- type: t.LiteralC<WidgetTypes.Date>;
872
+ type: t.LiteralC<"Date">;
875
873
  }>, t.PartialC<{
876
874
  fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
877
875
  config: t.ExactC<t.PartialC<{
@@ -880,7 +878,7 @@ export declare const StaticSlicesConfig: t.ExactC<t.PartialC<{
880
878
  default: t.StringC;
881
879
  }>>;
882
880
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
883
- type: t.LiteralC<WidgetTypes.Number>;
881
+ type: t.LiteralC<"Number">;
884
882
  }>, t.PartialC<{
885
883
  fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
886
884
  config: t.ExactC<t.PartialC<{
@@ -891,7 +889,7 @@ export declare const StaticSlicesConfig: t.ExactC<t.PartialC<{
891
889
  step: t.UnionC<[t.NumberC, import("io-ts-types").NumberFromStringC]>;
892
890
  }>>;
893
891
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
894
- type: t.LiteralC<WidgetTypes.Range>;
892
+ type: t.LiteralC<"Range">;
895
893
  }>, t.PartialC<{
896
894
  fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
897
895
  config: t.ExactC<t.PartialC<{
@@ -902,7 +900,7 @@ export declare const StaticSlicesConfig: t.ExactC<t.PartialC<{
902
900
  step: t.UnionC<[t.NumberC, import("io-ts-types").NumberFromStringC]>;
903
901
  }>>;
904
902
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
905
- type: t.LiteralC<WidgetTypes.RichText>;
903
+ type: t.LiteralC<"StructuredText">;
906
904
  }>, t.PartialC<{
907
905
  fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
908
906
  config: t.ExactC<t.PartialC<{
@@ -915,27 +913,27 @@ export declare const StaticSlicesConfig: t.ExactC<t.PartialC<{
915
913
  width: t.Type<number | null, unknown, unknown>;
916
914
  height: t.Type<number | null, unknown, unknown>;
917
915
  }>;
918
- labels: t.Type<string[], object, unknown>;
916
+ labels: t.Type<readonly string[], object, unknown>;
919
917
  allowTargetBlank: t.BooleanC;
920
918
  }>>;
921
919
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
922
- type: t.LiteralC<WidgetTypes.Select>;
920
+ type: t.LiteralC<"Select">;
923
921
  }>, t.PartialC<{
924
922
  fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
925
923
  config: t.ExactC<t.PartialC<{
926
924
  label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
927
925
  placeholder: t.StringC;
928
926
  default_value: t.StringC;
929
- options: t.ArrayC<t.UnionC<[t.StringC, t.Type<string, string, unknown>, t.Type<string, string, unknown>]>>;
927
+ options: t.ReadonlyArrayC<t.UnionC<[t.StringC, t.Type<string, string, unknown>, t.Type<string, string, unknown>]>>;
930
928
  }>>;
931
929
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
932
- type: t.LiteralC<WidgetTypes.Separator>;
930
+ type: t.LiteralC<"Separator">;
933
931
  }>, t.PartialC<{
934
932
  config: t.ExactC<t.PartialC<{
935
933
  label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
936
934
  }>>;
937
935
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
938
- type: t.LiteralC<WidgetTypes.Text>;
936
+ type: t.LiteralC<"Text">;
939
937
  }>, t.PartialC<{
940
938
  fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
941
939
  config: t.ExactC<t.PartialC<{
@@ -944,7 +942,7 @@ export declare const StaticSlicesConfig: t.ExactC<t.PartialC<{
944
942
  placeholder: t.StringC;
945
943
  }>>;
946
944
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
947
- type: t.LiteralC<WidgetTypes.Timestamp>;
945
+ type: t.LiteralC<"Timestamp">;
948
946
  }>, t.PartialC<{
949
947
  fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
950
948
  config: t.ExactC<t.PartialC<{
@@ -953,7 +951,7 @@ export declare const StaticSlicesConfig: t.ExactC<t.PartialC<{
953
951
  default: t.StringC;
954
952
  }>>;
955
953
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
956
- type: t.LiteralC<WidgetTypes.Link>;
954
+ type: t.LiteralC<"Link">;
957
955
  }>, t.PartialC<{
958
956
  fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
959
957
  config: t.ExactC<t.PartialC<{
@@ -961,13 +959,13 @@ export declare const StaticSlicesConfig: t.ExactC<t.PartialC<{
961
959
  useAsTitle: t.BooleanC;
962
960
  placeholder: t.StringC;
963
961
  select: t.UnionC<[t.LiteralC<"media">, t.LiteralC<"document">, t.LiteralC<"web">, t.NullC]>;
964
- customtypes: t.ArrayC<t.StringC>;
965
- masks: t.Type<string[], object, unknown>;
966
- tags: t.Type<string[], object, unknown>;
962
+ customtypes: t.ReadonlyArrayC<t.StringC>;
963
+ masks: t.Type<readonly string[], object, unknown>;
964
+ tags: t.Type<readonly string[], object, unknown>;
967
965
  allowTargetBlank: t.BooleanC;
968
966
  }>>;
969
967
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
970
- type: t.LiteralC<WidgetTypes.Image>;
968
+ type: t.LiteralC<"Image">;
971
969
  }>, t.PartialC<{
972
970
  fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
973
971
  config: t.ExactC<t.PartialC<{
@@ -977,7 +975,7 @@ export declare const StaticSlicesConfig: t.ExactC<t.PartialC<{
977
975
  width: t.Type<number | null, unknown, unknown>;
978
976
  height: t.Type<number | null, unknown, unknown>;
979
977
  }>;
980
- thumbnails: t.ArrayC<t.ExactC<t.IntersectionC<[t.TypeC<{
978
+ thumbnails: t.ReadonlyArrayC<t.ExactC<t.IntersectionC<[t.TypeC<{
981
979
  name: t.StringC;
982
980
  }>, t.PartialC<{
983
981
  width: t.Type<number | null, unknown, unknown>;
@@ -985,7 +983,7 @@ export declare const StaticSlicesConfig: t.ExactC<t.PartialC<{
985
983
  }>]>>>;
986
984
  }>>;
987
985
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
988
- type: t.LiteralC<WidgetTypes.IntegrationField>;
986
+ type: t.LiteralC<"IntegrationFields">;
989
987
  }>, t.PartialC<{
990
988
  fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
991
989
  config: t.ExactC<t.PartialC<{
@@ -996,14 +994,14 @@ export declare const StaticSlicesConfig: t.ExactC<t.PartialC<{
996
994
  }>]>>]>>;
997
995
  }>>;
998
996
  }>]>>]>, t.ExactC<t.IntersectionC<[t.TypeC<{
999
- type: t.LiteralC<SlicesTypes.Slice>;
997
+ type: t.LiteralC<"Slice">;
1000
998
  }>, t.PartialC<{
1001
999
  fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
1002
1000
  description: t.StringC;
1003
1001
  icon: t.StringC;
1004
1002
  display: t.StringC;
1005
1003
  "non-repeat": t.RecordC<t.StringC, t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
1006
- type: t.LiteralC<WidgetTypes.Color>;
1004
+ type: t.LiteralC<"Color">;
1007
1005
  }>, t.PartialC<{
1008
1006
  fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
1009
1007
  config: t.ExactC<t.PartialC<{
@@ -1011,7 +1009,7 @@ export declare const StaticSlicesConfig: t.ExactC<t.PartialC<{
1011
1009
  placeholder: t.StringC;
1012
1010
  }>>;
1013
1011
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
1014
- type: t.LiteralC<WidgetTypes.BooleanField>;
1012
+ type: t.LiteralC<"Boolean">;
1015
1013
  }>, t.PartialC<{
1016
1014
  config: t.ExactC<t.PartialC<{
1017
1015
  label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
@@ -1020,7 +1018,7 @@ export declare const StaticSlicesConfig: t.ExactC<t.PartialC<{
1020
1018
  placeholder_false: t.StringC;
1021
1019
  }>>;
1022
1020
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
1023
- type: t.LiteralC<WidgetTypes.Embed>;
1021
+ type: t.LiteralC<"Embed">;
1024
1022
  }>, t.PartialC<{
1025
1023
  fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
1026
1024
  config: t.ExactC<t.PartialC<{
@@ -1029,14 +1027,14 @@ export declare const StaticSlicesConfig: t.ExactC<t.PartialC<{
1029
1027
  useAsTitle: t.BooleanC;
1030
1028
  }>>;
1031
1029
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
1032
- type: t.LiteralC<WidgetTypes.GeoPoint>;
1030
+ type: t.LiteralC<"GeoPoint">;
1033
1031
  }>, t.PartialC<{
1034
1032
  fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
1035
1033
  config: t.ExactC<t.PartialC<{
1036
1034
  label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
1037
1035
  }>>;
1038
1036
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
1039
- type: t.LiteralC<WidgetTypes.Date>;
1037
+ type: t.LiteralC<"Date">;
1040
1038
  }>, t.PartialC<{
1041
1039
  fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
1042
1040
  config: t.ExactC<t.PartialC<{
@@ -1045,7 +1043,7 @@ export declare const StaticSlicesConfig: t.ExactC<t.PartialC<{
1045
1043
  default: t.StringC;
1046
1044
  }>>;
1047
1045
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
1048
- type: t.LiteralC<WidgetTypes.Number>;
1046
+ type: t.LiteralC<"Number">;
1049
1047
  }>, t.PartialC<{
1050
1048
  fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
1051
1049
  config: t.ExactC<t.PartialC<{
@@ -1056,7 +1054,7 @@ export declare const StaticSlicesConfig: t.ExactC<t.PartialC<{
1056
1054
  step: t.UnionC<[t.NumberC, import("io-ts-types").NumberFromStringC]>;
1057
1055
  }>>;
1058
1056
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
1059
- type: t.LiteralC<WidgetTypes.Range>;
1057
+ type: t.LiteralC<"Range">;
1060
1058
  }>, t.PartialC<{
1061
1059
  fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
1062
1060
  config: t.ExactC<t.PartialC<{
@@ -1067,7 +1065,7 @@ export declare const StaticSlicesConfig: t.ExactC<t.PartialC<{
1067
1065
  step: t.UnionC<[t.NumberC, import("io-ts-types").NumberFromStringC]>;
1068
1066
  }>>;
1069
1067
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
1070
- type: t.LiteralC<WidgetTypes.RichText>;
1068
+ type: t.LiteralC<"StructuredText">;
1071
1069
  }>, t.PartialC<{
1072
1070
  fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
1073
1071
  config: t.ExactC<t.PartialC<{
@@ -1080,27 +1078,27 @@ export declare const StaticSlicesConfig: t.ExactC<t.PartialC<{
1080
1078
  width: t.Type<number | null, unknown, unknown>;
1081
1079
  height: t.Type<number | null, unknown, unknown>;
1082
1080
  }>;
1083
- labels: t.Type<string[], object, unknown>;
1081
+ labels: t.Type<readonly string[], object, unknown>;
1084
1082
  allowTargetBlank: t.BooleanC;
1085
1083
  }>>;
1086
1084
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
1087
- type: t.LiteralC<WidgetTypes.Select>;
1085
+ type: t.LiteralC<"Select">;
1088
1086
  }>, t.PartialC<{
1089
1087
  fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
1090
1088
  config: t.ExactC<t.PartialC<{
1091
1089
  label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
1092
1090
  placeholder: t.StringC;
1093
1091
  default_value: t.StringC;
1094
- options: t.ArrayC<t.UnionC<[t.StringC, t.Type<string, string, unknown>, t.Type<string, string, unknown>]>>;
1092
+ options: t.ReadonlyArrayC<t.UnionC<[t.StringC, t.Type<string, string, unknown>, t.Type<string, string, unknown>]>>;
1095
1093
  }>>;
1096
1094
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
1097
- type: t.LiteralC<WidgetTypes.Separator>;
1095
+ type: t.LiteralC<"Separator">;
1098
1096
  }>, t.PartialC<{
1099
1097
  config: t.ExactC<t.PartialC<{
1100
1098
  label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
1101
1099
  }>>;
1102
1100
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
1103
- type: t.LiteralC<WidgetTypes.Text>;
1101
+ type: t.LiteralC<"Text">;
1104
1102
  }>, t.PartialC<{
1105
1103
  fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
1106
1104
  config: t.ExactC<t.PartialC<{
@@ -1109,7 +1107,7 @@ export declare const StaticSlicesConfig: t.ExactC<t.PartialC<{
1109
1107
  placeholder: t.StringC;
1110
1108
  }>>;
1111
1109
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
1112
- type: t.LiteralC<WidgetTypes.Timestamp>;
1110
+ type: t.LiteralC<"Timestamp">;
1113
1111
  }>, t.PartialC<{
1114
1112
  fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
1115
1113
  config: t.ExactC<t.PartialC<{
@@ -1118,7 +1116,7 @@ export declare const StaticSlicesConfig: t.ExactC<t.PartialC<{
1118
1116
  default: t.StringC;
1119
1117
  }>>;
1120
1118
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
1121
- type: t.LiteralC<WidgetTypes.Link>;
1119
+ type: t.LiteralC<"Link">;
1122
1120
  }>, t.PartialC<{
1123
1121
  fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
1124
1122
  config: t.ExactC<t.PartialC<{
@@ -1126,13 +1124,13 @@ export declare const StaticSlicesConfig: t.ExactC<t.PartialC<{
1126
1124
  useAsTitle: t.BooleanC;
1127
1125
  placeholder: t.StringC;
1128
1126
  select: t.UnionC<[t.LiteralC<"media">, t.LiteralC<"document">, t.LiteralC<"web">, t.NullC]>;
1129
- customtypes: t.ArrayC<t.StringC>;
1130
- masks: t.Type<string[], object, unknown>;
1131
- tags: t.Type<string[], object, unknown>;
1127
+ customtypes: t.ReadonlyArrayC<t.StringC>;
1128
+ masks: t.Type<readonly string[], object, unknown>;
1129
+ tags: t.Type<readonly string[], object, unknown>;
1132
1130
  allowTargetBlank: t.BooleanC;
1133
1131
  }>>;
1134
1132
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
1135
- type: t.LiteralC<WidgetTypes.Image>;
1133
+ type: t.LiteralC<"Image">;
1136
1134
  }>, t.PartialC<{
1137
1135
  fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
1138
1136
  config: t.ExactC<t.PartialC<{
@@ -1142,7 +1140,7 @@ export declare const StaticSlicesConfig: t.ExactC<t.PartialC<{
1142
1140
  width: t.Type<number | null, unknown, unknown>;
1143
1141
  height: t.Type<number | null, unknown, unknown>;
1144
1142
  }>;
1145
- thumbnails: t.ArrayC<t.ExactC<t.IntersectionC<[t.TypeC<{
1143
+ thumbnails: t.ReadonlyArrayC<t.ExactC<t.IntersectionC<[t.TypeC<{
1146
1144
  name: t.StringC;
1147
1145
  }>, t.PartialC<{
1148
1146
  width: t.Type<number | null, unknown, unknown>;
@@ -1150,7 +1148,7 @@ export declare const StaticSlicesConfig: t.ExactC<t.PartialC<{
1150
1148
  }>]>>>;
1151
1149
  }>>;
1152
1150
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
1153
- type: t.LiteralC<WidgetTypes.IntegrationField>;
1151
+ type: t.LiteralC<"IntegrationFields">;
1154
1152
  }>, t.PartialC<{
1155
1153
  fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
1156
1154
  config: t.ExactC<t.PartialC<{
@@ -1160,7 +1158,7 @@ export declare const StaticSlicesConfig: t.ExactC<t.PartialC<{
1160
1158
  }>>;
1161
1159
  }>]>>]>>;
1162
1160
  repeat: t.RecordC<t.StringC, t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
1163
- type: t.LiteralC<WidgetTypes.Color>;
1161
+ type: t.LiteralC<"Color">;
1164
1162
  }>, t.PartialC<{
1165
1163
  fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
1166
1164
  config: t.ExactC<t.PartialC<{
@@ -1168,7 +1166,7 @@ export declare const StaticSlicesConfig: t.ExactC<t.PartialC<{
1168
1166
  placeholder: t.StringC;
1169
1167
  }>>;
1170
1168
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
1171
- type: t.LiteralC<WidgetTypes.BooleanField>;
1169
+ type: t.LiteralC<"Boolean">;
1172
1170
  }>, t.PartialC<{
1173
1171
  config: t.ExactC<t.PartialC<{
1174
1172
  label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
@@ -1177,7 +1175,7 @@ export declare const StaticSlicesConfig: t.ExactC<t.PartialC<{
1177
1175
  placeholder_false: t.StringC;
1178
1176
  }>>;
1179
1177
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
1180
- type: t.LiteralC<WidgetTypes.Embed>;
1178
+ type: t.LiteralC<"Embed">;
1181
1179
  }>, t.PartialC<{
1182
1180
  fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
1183
1181
  config: t.ExactC<t.PartialC<{
@@ -1186,14 +1184,14 @@ export declare const StaticSlicesConfig: t.ExactC<t.PartialC<{
1186
1184
  useAsTitle: t.BooleanC;
1187
1185
  }>>;
1188
1186
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
1189
- type: t.LiteralC<WidgetTypes.GeoPoint>;
1187
+ type: t.LiteralC<"GeoPoint">;
1190
1188
  }>, t.PartialC<{
1191
1189
  fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
1192
1190
  config: t.ExactC<t.PartialC<{
1193
1191
  label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
1194
1192
  }>>;
1195
1193
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
1196
- type: t.LiteralC<WidgetTypes.Date>;
1194
+ type: t.LiteralC<"Date">;
1197
1195
  }>, t.PartialC<{
1198
1196
  fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
1199
1197
  config: t.ExactC<t.PartialC<{
@@ -1202,7 +1200,7 @@ export declare const StaticSlicesConfig: t.ExactC<t.PartialC<{
1202
1200
  default: t.StringC;
1203
1201
  }>>;
1204
1202
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
1205
- type: t.LiteralC<WidgetTypes.Number>;
1203
+ type: t.LiteralC<"Number">;
1206
1204
  }>, t.PartialC<{
1207
1205
  fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
1208
1206
  config: t.ExactC<t.PartialC<{
@@ -1213,7 +1211,7 @@ export declare const StaticSlicesConfig: t.ExactC<t.PartialC<{
1213
1211
  step: t.UnionC<[t.NumberC, import("io-ts-types").NumberFromStringC]>;
1214
1212
  }>>;
1215
1213
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
1216
- type: t.LiteralC<WidgetTypes.Range>;
1214
+ type: t.LiteralC<"Range">;
1217
1215
  }>, t.PartialC<{
1218
1216
  fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
1219
1217
  config: t.ExactC<t.PartialC<{
@@ -1224,7 +1222,7 @@ export declare const StaticSlicesConfig: t.ExactC<t.PartialC<{
1224
1222
  step: t.UnionC<[t.NumberC, import("io-ts-types").NumberFromStringC]>;
1225
1223
  }>>;
1226
1224
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
1227
- type: t.LiteralC<WidgetTypes.RichText>;
1225
+ type: t.LiteralC<"StructuredText">;
1228
1226
  }>, t.PartialC<{
1229
1227
  fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
1230
1228
  config: t.ExactC<t.PartialC<{
@@ -1237,27 +1235,27 @@ export declare const StaticSlicesConfig: t.ExactC<t.PartialC<{
1237
1235
  width: t.Type<number | null, unknown, unknown>;
1238
1236
  height: t.Type<number | null, unknown, unknown>;
1239
1237
  }>;
1240
- labels: t.Type<string[], object, unknown>;
1238
+ labels: t.Type<readonly string[], object, unknown>;
1241
1239
  allowTargetBlank: t.BooleanC;
1242
1240
  }>>;
1243
1241
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
1244
- type: t.LiteralC<WidgetTypes.Select>;
1242
+ type: t.LiteralC<"Select">;
1245
1243
  }>, t.PartialC<{
1246
1244
  fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
1247
1245
  config: t.ExactC<t.PartialC<{
1248
1246
  label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
1249
1247
  placeholder: t.StringC;
1250
1248
  default_value: t.StringC;
1251
- options: t.ArrayC<t.UnionC<[t.StringC, t.Type<string, string, unknown>, t.Type<string, string, unknown>]>>;
1249
+ options: t.ReadonlyArrayC<t.UnionC<[t.StringC, t.Type<string, string, unknown>, t.Type<string, string, unknown>]>>;
1252
1250
  }>>;
1253
1251
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
1254
- type: t.LiteralC<WidgetTypes.Separator>;
1252
+ type: t.LiteralC<"Separator">;
1255
1253
  }>, t.PartialC<{
1256
1254
  config: t.ExactC<t.PartialC<{
1257
1255
  label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
1258
1256
  }>>;
1259
1257
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
1260
- type: t.LiteralC<WidgetTypes.Text>;
1258
+ type: t.LiteralC<"Text">;
1261
1259
  }>, t.PartialC<{
1262
1260
  fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
1263
1261
  config: t.ExactC<t.PartialC<{
@@ -1266,7 +1264,7 @@ export declare const StaticSlicesConfig: t.ExactC<t.PartialC<{
1266
1264
  placeholder: t.StringC;
1267
1265
  }>>;
1268
1266
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
1269
- type: t.LiteralC<WidgetTypes.Timestamp>;
1267
+ type: t.LiteralC<"Timestamp">;
1270
1268
  }>, t.PartialC<{
1271
1269
  fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
1272
1270
  config: t.ExactC<t.PartialC<{
@@ -1275,7 +1273,7 @@ export declare const StaticSlicesConfig: t.ExactC<t.PartialC<{
1275
1273
  default: t.StringC;
1276
1274
  }>>;
1277
1275
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
1278
- type: t.LiteralC<WidgetTypes.Link>;
1276
+ type: t.LiteralC<"Link">;
1279
1277
  }>, t.PartialC<{
1280
1278
  fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
1281
1279
  config: t.ExactC<t.PartialC<{
@@ -1283,13 +1281,13 @@ export declare const StaticSlicesConfig: t.ExactC<t.PartialC<{
1283
1281
  useAsTitle: t.BooleanC;
1284
1282
  placeholder: t.StringC;
1285
1283
  select: t.UnionC<[t.LiteralC<"media">, t.LiteralC<"document">, t.LiteralC<"web">, t.NullC]>;
1286
- customtypes: t.ArrayC<t.StringC>;
1287
- masks: t.Type<string[], object, unknown>;
1288
- tags: t.Type<string[], object, unknown>;
1284
+ customtypes: t.ReadonlyArrayC<t.StringC>;
1285
+ masks: t.Type<readonly string[], object, unknown>;
1286
+ tags: t.Type<readonly string[], object, unknown>;
1289
1287
  allowTargetBlank: t.BooleanC;
1290
1288
  }>>;
1291
1289
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
1292
- type: t.LiteralC<WidgetTypes.Image>;
1290
+ type: t.LiteralC<"Image">;
1293
1291
  }>, t.PartialC<{
1294
1292
  fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
1295
1293
  config: t.ExactC<t.PartialC<{
@@ -1299,7 +1297,7 @@ export declare const StaticSlicesConfig: t.ExactC<t.PartialC<{
1299
1297
  width: t.Type<number | null, unknown, unknown>;
1300
1298
  height: t.Type<number | null, unknown, unknown>;
1301
1299
  }>;
1302
- thumbnails: t.ArrayC<t.ExactC<t.IntersectionC<[t.TypeC<{
1300
+ thumbnails: t.ReadonlyArrayC<t.ExactC<t.IntersectionC<[t.TypeC<{
1303
1301
  name: t.StringC;
1304
1302
  }>, t.PartialC<{
1305
1303
  width: t.Type<number | null, unknown, unknown>;
@@ -1307,7 +1305,7 @@ export declare const StaticSlicesConfig: t.ExactC<t.PartialC<{
1307
1305
  }>]>>>;
1308
1306
  }>>;
1309
1307
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
1310
- type: t.LiteralC<WidgetTypes.IntegrationField>;
1308
+ type: t.LiteralC<"IntegrationFields">;
1311
1309
  }>, t.PartialC<{
1312
1310
  fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
1313
1311
  config: t.ExactC<t.PartialC<{
@@ -1321,9 +1319,9 @@ export declare const StaticSlicesConfig: t.ExactC<t.PartialC<{
1321
1319
  }>>;
1322
1320
  }>]>>, t.Type<{
1323
1321
  id: string;
1324
- type: SlicesTypes.SharedSlice;
1322
+ type: "SharedSlice";
1325
1323
  name: string;
1326
- variations: ({
1324
+ variations: readonly ({
1327
1325
  id: string;
1328
1326
  name: string;
1329
1327
  description: string;
@@ -1334,7 +1332,7 @@ export declare const StaticSlicesConfig: t.ExactC<t.PartialC<{
1334
1332
  display?: string;
1335
1333
  primary?: {
1336
1334
  [x: string]: ({
1337
- type: WidgetTypes.BooleanField;
1335
+ type: "Boolean";
1338
1336
  } & {
1339
1337
  config?: {
1340
1338
  label?: string | null | undefined;
@@ -1343,7 +1341,7 @@ export declare const StaticSlicesConfig: t.ExactC<t.PartialC<{
1343
1341
  placeholder_false?: string;
1344
1342
  };
1345
1343
  }) | ({
1346
- type: WidgetTypes.Color;
1344
+ type: "Color";
1347
1345
  } & {
1348
1346
  fieldset?: string | null | undefined;
1349
1347
  config?: {
@@ -1351,7 +1349,7 @@ export declare const StaticSlicesConfig: t.ExactC<t.PartialC<{
1351
1349
  placeholder?: string;
1352
1350
  };
1353
1351
  }) | ({
1354
- type: WidgetTypes.Date;
1352
+ type: "Date";
1355
1353
  } & {
1356
1354
  fieldset?: string | null | undefined;
1357
1355
  config?: {
@@ -1360,7 +1358,7 @@ export declare const StaticSlicesConfig: t.ExactC<t.PartialC<{
1360
1358
  default?: string;
1361
1359
  };
1362
1360
  }) | ({
1363
- type: WidgetTypes.Embed;
1361
+ type: "Embed";
1364
1362
  } & {
1365
1363
  fieldset?: string | null | undefined;
1366
1364
  config?: {
@@ -1369,14 +1367,14 @@ export declare const StaticSlicesConfig: t.ExactC<t.PartialC<{
1369
1367
  useAsTitle?: boolean;
1370
1368
  };
1371
1369
  }) | ({
1372
- type: WidgetTypes.GeoPoint;
1370
+ type: "GeoPoint";
1373
1371
  } & {
1374
1372
  fieldset?: string | null | undefined;
1375
1373
  config?: {
1376
1374
  label?: string | null | undefined;
1377
1375
  };
1378
1376
  }) | ({
1379
- type: WidgetTypes.Image;
1377
+ type: "Image";
1380
1378
  } & {
1381
1379
  fieldset?: string | null | undefined;
1382
1380
  config?: {
@@ -1386,7 +1384,7 @@ export declare const StaticSlicesConfig: t.ExactC<t.PartialC<{
1386
1384
  width?: number | null;
1387
1385
  height?: number | null;
1388
1386
  };
1389
- thumbnails?: ({
1387
+ thumbnails?: readonly ({
1390
1388
  name: string;
1391
1389
  } & {
1392
1390
  width?: number | null;
@@ -1394,7 +1392,7 @@ export declare const StaticSlicesConfig: t.ExactC<t.PartialC<{
1394
1392
  })[];
1395
1393
  };
1396
1394
  }) | ({
1397
- type: WidgetTypes.IntegrationField;
1395
+ type: "IntegrationFields";
1398
1396
  } & {
1399
1397
  fieldset?: string | null | undefined;
1400
1398
  config?: {
@@ -1403,7 +1401,7 @@ export declare const StaticSlicesConfig: t.ExactC<t.PartialC<{
1403
1401
  catalog?: string;
1404
1402
  };
1405
1403
  }) | ({
1406
- type: WidgetTypes.Link;
1404
+ type: "Link";
1407
1405
  } & {
1408
1406
  fieldset?: string | null | undefined;
1409
1407
  config?: {
@@ -1411,13 +1409,13 @@ export declare const StaticSlicesConfig: t.ExactC<t.PartialC<{
1411
1409
  useAsTitle?: boolean;
1412
1410
  placeholder?: string;
1413
1411
  select?: "media" | "document" | "web" | null;
1414
- customtypes?: string[];
1415
- masks?: string[];
1416
- tags?: string[];
1412
+ customtypes?: readonly string[];
1413
+ masks?: readonly string[];
1414
+ tags?: readonly string[];
1417
1415
  allowTargetBlank?: boolean;
1418
1416
  };
1419
1417
  }) | ({
1420
- type: WidgetTypes.Number;
1418
+ type: "Number";
1421
1419
  } & {
1422
1420
  fieldset?: string | null | undefined;
1423
1421
  config?: {
@@ -1428,7 +1426,7 @@ export declare const StaticSlicesConfig: t.ExactC<t.PartialC<{
1428
1426
  step?: number;
1429
1427
  };
1430
1428
  }) | ({
1431
- type: WidgetTypes.Range;
1429
+ type: "Range";
1432
1430
  } & {
1433
1431
  fieldset?: string | null | undefined;
1434
1432
  config?: {
@@ -1439,7 +1437,7 @@ export declare const StaticSlicesConfig: t.ExactC<t.PartialC<{
1439
1437
  step?: number;
1440
1438
  };
1441
1439
  }) | ({
1442
- type: WidgetTypes.RichText;
1440
+ type: "StructuredText";
1443
1441
  } & {
1444
1442
  fieldset?: string | null | undefined;
1445
1443
  config?: {
@@ -1452,27 +1450,27 @@ export declare const StaticSlicesConfig: t.ExactC<t.PartialC<{
1452
1450
  width?: number | null;
1453
1451
  height?: number | null;
1454
1452
  };
1455
- labels?: string[];
1453
+ labels?: readonly string[];
1456
1454
  allowTargetBlank?: boolean;
1457
1455
  };
1458
1456
  }) | ({
1459
- type: WidgetTypes.Select;
1457
+ type: "Select";
1460
1458
  } & {
1461
1459
  fieldset?: string | null | undefined;
1462
1460
  config?: {
1463
1461
  label?: string | null | undefined;
1464
1462
  placeholder?: string;
1465
1463
  default_value?: string;
1466
- options?: string[];
1464
+ options?: readonly string[];
1467
1465
  };
1468
1466
  }) | ({
1469
- type: WidgetTypes.Separator;
1467
+ type: "Separator";
1470
1468
  } & {
1471
1469
  config?: {
1472
1470
  label?: string | null | undefined;
1473
1471
  };
1474
1472
  }) | ({
1475
- type: WidgetTypes.Text;
1473
+ type: "Text";
1476
1474
  } & {
1477
1475
  fieldset?: string | null | undefined;
1478
1476
  config?: {
@@ -1481,7 +1479,7 @@ export declare const StaticSlicesConfig: t.ExactC<t.PartialC<{
1481
1479
  placeholder?: string;
1482
1480
  };
1483
1481
  }) | ({
1484
- type: WidgetTypes.Timestamp;
1482
+ type: "Timestamp";
1485
1483
  } & {
1486
1484
  fieldset?: string | null | undefined;
1487
1485
  config?: {
@@ -1493,7 +1491,7 @@ export declare const StaticSlicesConfig: t.ExactC<t.PartialC<{
1493
1491
  };
1494
1492
  items?: {
1495
1493
  [x: string]: ({
1496
- type: WidgetTypes.BooleanField;
1494
+ type: "Boolean";
1497
1495
  } & {
1498
1496
  config?: {
1499
1497
  label?: string | null | undefined;
@@ -1502,7 +1500,7 @@ export declare const StaticSlicesConfig: t.ExactC<t.PartialC<{
1502
1500
  placeholder_false?: string;
1503
1501
  };
1504
1502
  }) | ({
1505
- type: WidgetTypes.Color;
1503
+ type: "Color";
1506
1504
  } & {
1507
1505
  fieldset?: string | null | undefined;
1508
1506
  config?: {
@@ -1510,7 +1508,7 @@ export declare const StaticSlicesConfig: t.ExactC<t.PartialC<{
1510
1508
  placeholder?: string;
1511
1509
  };
1512
1510
  }) | ({
1513
- type: WidgetTypes.Date;
1511
+ type: "Date";
1514
1512
  } & {
1515
1513
  fieldset?: string | null | undefined;
1516
1514
  config?: {
@@ -1519,7 +1517,7 @@ export declare const StaticSlicesConfig: t.ExactC<t.PartialC<{
1519
1517
  default?: string;
1520
1518
  };
1521
1519
  }) | ({
1522
- type: WidgetTypes.Embed;
1520
+ type: "Embed";
1523
1521
  } & {
1524
1522
  fieldset?: string | null | undefined;
1525
1523
  config?: {
@@ -1528,14 +1526,14 @@ export declare const StaticSlicesConfig: t.ExactC<t.PartialC<{
1528
1526
  useAsTitle?: boolean;
1529
1527
  };
1530
1528
  }) | ({
1531
- type: WidgetTypes.GeoPoint;
1529
+ type: "GeoPoint";
1532
1530
  } & {
1533
1531
  fieldset?: string | null | undefined;
1534
1532
  config?: {
1535
1533
  label?: string | null | undefined;
1536
1534
  };
1537
1535
  }) | ({
1538
- type: WidgetTypes.Image;
1536
+ type: "Image";
1539
1537
  } & {
1540
1538
  fieldset?: string | null | undefined;
1541
1539
  config?: {
@@ -1545,7 +1543,7 @@ export declare const StaticSlicesConfig: t.ExactC<t.PartialC<{
1545
1543
  width?: number | null;
1546
1544
  height?: number | null;
1547
1545
  };
1548
- thumbnails?: ({
1546
+ thumbnails?: readonly ({
1549
1547
  name: string;
1550
1548
  } & {
1551
1549
  width?: number | null;
@@ -1553,7 +1551,7 @@ export declare const StaticSlicesConfig: t.ExactC<t.PartialC<{
1553
1551
  })[];
1554
1552
  };
1555
1553
  }) | ({
1556
- type: WidgetTypes.IntegrationField;
1554
+ type: "IntegrationFields";
1557
1555
  } & {
1558
1556
  fieldset?: string | null | undefined;
1559
1557
  config?: {
@@ -1562,7 +1560,7 @@ export declare const StaticSlicesConfig: t.ExactC<t.PartialC<{
1562
1560
  catalog?: string;
1563
1561
  };
1564
1562
  }) | ({
1565
- type: WidgetTypes.Link;
1563
+ type: "Link";
1566
1564
  } & {
1567
1565
  fieldset?: string | null | undefined;
1568
1566
  config?: {
@@ -1570,13 +1568,13 @@ export declare const StaticSlicesConfig: t.ExactC<t.PartialC<{
1570
1568
  useAsTitle?: boolean;
1571
1569
  placeholder?: string;
1572
1570
  select?: "media" | "document" | "web" | null;
1573
- customtypes?: string[];
1574
- masks?: string[];
1575
- tags?: string[];
1571
+ customtypes?: readonly string[];
1572
+ masks?: readonly string[];
1573
+ tags?: readonly string[];
1576
1574
  allowTargetBlank?: boolean;
1577
1575
  };
1578
1576
  }) | ({
1579
- type: WidgetTypes.Number;
1577
+ type: "Number";
1580
1578
  } & {
1581
1579
  fieldset?: string | null | undefined;
1582
1580
  config?: {
@@ -1587,7 +1585,7 @@ export declare const StaticSlicesConfig: t.ExactC<t.PartialC<{
1587
1585
  step?: number;
1588
1586
  };
1589
1587
  }) | ({
1590
- type: WidgetTypes.Range;
1588
+ type: "Range";
1591
1589
  } & {
1592
1590
  fieldset?: string | null | undefined;
1593
1591
  config?: {
@@ -1598,7 +1596,7 @@ export declare const StaticSlicesConfig: t.ExactC<t.PartialC<{
1598
1596
  step?: number;
1599
1597
  };
1600
1598
  }) | ({
1601
- type: WidgetTypes.RichText;
1599
+ type: "StructuredText";
1602
1600
  } & {
1603
1601
  fieldset?: string | null | undefined;
1604
1602
  config?: {
@@ -1611,27 +1609,27 @@ export declare const StaticSlicesConfig: t.ExactC<t.PartialC<{
1611
1609
  width?: number | null;
1612
1610
  height?: number | null;
1613
1611
  };
1614
- labels?: string[];
1612
+ labels?: readonly string[];
1615
1613
  allowTargetBlank?: boolean;
1616
1614
  };
1617
1615
  }) | ({
1618
- type: WidgetTypes.Select;
1616
+ type: "Select";
1619
1617
  } & {
1620
1618
  fieldset?: string | null | undefined;
1621
1619
  config?: {
1622
1620
  label?: string | null | undefined;
1623
1621
  placeholder?: string;
1624
1622
  default_value?: string;
1625
- options?: string[];
1623
+ options?: readonly string[];
1626
1624
  };
1627
1625
  }) | ({
1628
- type: WidgetTypes.Separator;
1626
+ type: "Separator";
1629
1627
  } & {
1630
1628
  config?: {
1631
1629
  label?: string | null | undefined;
1632
1630
  };
1633
1631
  }) | ({
1634
- type: WidgetTypes.Text;
1632
+ type: "Text";
1635
1633
  } & {
1636
1634
  fieldset?: string | null | undefined;
1637
1635
  config?: {
@@ -1640,7 +1638,7 @@ export declare const StaticSlicesConfig: t.ExactC<t.PartialC<{
1640
1638
  placeholder?: string;
1641
1639
  };
1642
1640
  }) | ({
1643
- type: WidgetTypes.Timestamp;
1641
+ type: "Timestamp";
1644
1642
  } & {
1645
1643
  fieldset?: string | null | undefined;
1646
1644
  config?: {
@@ -1658,13 +1656,13 @@ export declare const StaticSlicesConfig: t.ExactC<t.PartialC<{
1658
1656
  export declare type StaticSlicesConfig = t.TypeOf<typeof StaticSlicesConfig>;
1659
1657
  export declare const DynamicSlicesConfig: t.ExactC<t.PartialC<{
1660
1658
  label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
1661
- labels: t.UnionC<[t.RecordC<t.StringC, t.ArrayC<t.ExactC<t.IntersectionC<[t.TypeC<{
1659
+ labels: t.UnionC<[t.RecordC<t.StringC, t.ReadonlyArrayC<t.ExactC<t.IntersectionC<[t.TypeC<{
1662
1660
  name: t.StringC;
1663
1661
  }>, t.PartialC<{
1664
1662
  display: t.StringC;
1665
1663
  }>]>>>>, t.NullC]>;
1666
1664
  choices: t.RecordC<t.StringC, t.UnionC<[t.UnionC<[t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
1667
- type: t.LiteralC<WidgetTypes.Color>;
1665
+ type: t.LiteralC<"Color">;
1668
1666
  }>, t.PartialC<{
1669
1667
  fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
1670
1668
  config: t.ExactC<t.PartialC<{
@@ -1672,7 +1670,7 @@ export declare const DynamicSlicesConfig: t.ExactC<t.PartialC<{
1672
1670
  placeholder: t.StringC;
1673
1671
  }>>;
1674
1672
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
1675
- type: t.LiteralC<WidgetTypes.BooleanField>;
1673
+ type: t.LiteralC<"Boolean">;
1676
1674
  }>, t.PartialC<{
1677
1675
  config: t.ExactC<t.PartialC<{
1678
1676
  label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
@@ -1681,7 +1679,7 @@ export declare const DynamicSlicesConfig: t.ExactC<t.PartialC<{
1681
1679
  placeholder_false: t.StringC;
1682
1680
  }>>;
1683
1681
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
1684
- type: t.LiteralC<WidgetTypes.Embed>;
1682
+ type: t.LiteralC<"Embed">;
1685
1683
  }>, t.PartialC<{
1686
1684
  fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
1687
1685
  config: t.ExactC<t.PartialC<{
@@ -1690,14 +1688,14 @@ export declare const DynamicSlicesConfig: t.ExactC<t.PartialC<{
1690
1688
  useAsTitle: t.BooleanC;
1691
1689
  }>>;
1692
1690
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
1693
- type: t.LiteralC<WidgetTypes.GeoPoint>;
1691
+ type: t.LiteralC<"GeoPoint">;
1694
1692
  }>, t.PartialC<{
1695
1693
  fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
1696
1694
  config: t.ExactC<t.PartialC<{
1697
1695
  label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
1698
1696
  }>>;
1699
1697
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
1700
- type: t.LiteralC<WidgetTypes.Date>;
1698
+ type: t.LiteralC<"Date">;
1701
1699
  }>, t.PartialC<{
1702
1700
  fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
1703
1701
  config: t.ExactC<t.PartialC<{
@@ -1706,7 +1704,7 @@ export declare const DynamicSlicesConfig: t.ExactC<t.PartialC<{
1706
1704
  default: t.StringC;
1707
1705
  }>>;
1708
1706
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
1709
- type: t.LiteralC<WidgetTypes.Number>;
1707
+ type: t.LiteralC<"Number">;
1710
1708
  }>, t.PartialC<{
1711
1709
  fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
1712
1710
  config: t.ExactC<t.PartialC<{
@@ -1717,7 +1715,7 @@ export declare const DynamicSlicesConfig: t.ExactC<t.PartialC<{
1717
1715
  step: t.UnionC<[t.NumberC, import("io-ts-types").NumberFromStringC]>;
1718
1716
  }>>;
1719
1717
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
1720
- type: t.LiteralC<WidgetTypes.Range>;
1718
+ type: t.LiteralC<"Range">;
1721
1719
  }>, t.PartialC<{
1722
1720
  fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
1723
1721
  config: t.ExactC<t.PartialC<{
@@ -1728,7 +1726,7 @@ export declare const DynamicSlicesConfig: t.ExactC<t.PartialC<{
1728
1726
  step: t.UnionC<[t.NumberC, import("io-ts-types").NumberFromStringC]>;
1729
1727
  }>>;
1730
1728
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
1731
- type: t.LiteralC<WidgetTypes.RichText>;
1729
+ type: t.LiteralC<"StructuredText">;
1732
1730
  }>, t.PartialC<{
1733
1731
  fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
1734
1732
  config: t.ExactC<t.PartialC<{
@@ -1741,27 +1739,27 @@ export declare const DynamicSlicesConfig: t.ExactC<t.PartialC<{
1741
1739
  width: t.Type<number | null, unknown, unknown>;
1742
1740
  height: t.Type<number | null, unknown, unknown>;
1743
1741
  }>;
1744
- labels: t.Type<string[], object, unknown>;
1742
+ labels: t.Type<readonly string[], object, unknown>;
1745
1743
  allowTargetBlank: t.BooleanC;
1746
1744
  }>>;
1747
1745
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
1748
- type: t.LiteralC<WidgetTypes.Select>;
1746
+ type: t.LiteralC<"Select">;
1749
1747
  }>, t.PartialC<{
1750
1748
  fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
1751
1749
  config: t.ExactC<t.PartialC<{
1752
1750
  label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
1753
1751
  placeholder: t.StringC;
1754
1752
  default_value: t.StringC;
1755
- options: t.ArrayC<t.UnionC<[t.StringC, t.Type<string, string, unknown>, t.Type<string, string, unknown>]>>;
1753
+ options: t.ReadonlyArrayC<t.UnionC<[t.StringC, t.Type<string, string, unknown>, t.Type<string, string, unknown>]>>;
1756
1754
  }>>;
1757
1755
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
1758
- type: t.LiteralC<WidgetTypes.Separator>;
1756
+ type: t.LiteralC<"Separator">;
1759
1757
  }>, t.PartialC<{
1760
1758
  config: t.ExactC<t.PartialC<{
1761
1759
  label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
1762
1760
  }>>;
1763
1761
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
1764
- type: t.LiteralC<WidgetTypes.Text>;
1762
+ type: t.LiteralC<"Text">;
1765
1763
  }>, t.PartialC<{
1766
1764
  fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
1767
1765
  config: t.ExactC<t.PartialC<{
@@ -1770,7 +1768,7 @@ export declare const DynamicSlicesConfig: t.ExactC<t.PartialC<{
1770
1768
  placeholder: t.StringC;
1771
1769
  }>>;
1772
1770
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
1773
- type: t.LiteralC<WidgetTypes.Timestamp>;
1771
+ type: t.LiteralC<"Timestamp">;
1774
1772
  }>, t.PartialC<{
1775
1773
  fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
1776
1774
  config: t.ExactC<t.PartialC<{
@@ -1779,7 +1777,7 @@ export declare const DynamicSlicesConfig: t.ExactC<t.PartialC<{
1779
1777
  default: t.StringC;
1780
1778
  }>>;
1781
1779
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
1782
- type: t.LiteralC<WidgetTypes.Link>;
1780
+ type: t.LiteralC<"Link">;
1783
1781
  }>, t.PartialC<{
1784
1782
  fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
1785
1783
  config: t.ExactC<t.PartialC<{
@@ -1787,13 +1785,13 @@ export declare const DynamicSlicesConfig: t.ExactC<t.PartialC<{
1787
1785
  useAsTitle: t.BooleanC;
1788
1786
  placeholder: t.StringC;
1789
1787
  select: t.UnionC<[t.LiteralC<"media">, t.LiteralC<"document">, t.LiteralC<"web">, t.NullC]>;
1790
- customtypes: t.ArrayC<t.StringC>;
1791
- masks: t.Type<string[], object, unknown>;
1792
- tags: t.Type<string[], object, unknown>;
1788
+ customtypes: t.ReadonlyArrayC<t.StringC>;
1789
+ masks: t.Type<readonly string[], object, unknown>;
1790
+ tags: t.Type<readonly string[], object, unknown>;
1793
1791
  allowTargetBlank: t.BooleanC;
1794
1792
  }>>;
1795
1793
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
1796
- type: t.LiteralC<WidgetTypes.Image>;
1794
+ type: t.LiteralC<"Image">;
1797
1795
  }>, t.PartialC<{
1798
1796
  fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
1799
1797
  config: t.ExactC<t.PartialC<{
@@ -1803,7 +1801,7 @@ export declare const DynamicSlicesConfig: t.ExactC<t.PartialC<{
1803
1801
  width: t.Type<number | null, unknown, unknown>;
1804
1802
  height: t.Type<number | null, unknown, unknown>;
1805
1803
  }>;
1806
- thumbnails: t.ArrayC<t.ExactC<t.IntersectionC<[t.TypeC<{
1804
+ thumbnails: t.ReadonlyArrayC<t.ExactC<t.IntersectionC<[t.TypeC<{
1807
1805
  name: t.StringC;
1808
1806
  }>, t.PartialC<{
1809
1807
  width: t.Type<number | null, unknown, unknown>;
@@ -1811,7 +1809,7 @@ export declare const DynamicSlicesConfig: t.ExactC<t.PartialC<{
1811
1809
  }>]>>>;
1812
1810
  }>>;
1813
1811
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
1814
- type: t.LiteralC<WidgetTypes.IntegrationField>;
1812
+ type: t.LiteralC<"IntegrationFields">;
1815
1813
  }>, t.PartialC<{
1816
1814
  fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
1817
1815
  config: t.ExactC<t.PartialC<{
@@ -1820,7 +1818,7 @@ export declare const DynamicSlicesConfig: t.ExactC<t.PartialC<{
1820
1818
  catalog: t.StringC;
1821
1819
  }>>;
1822
1820
  }>]>>]>, t.ExactC<t.IntersectionC<[t.TypeC<{
1823
- type: t.LiteralC<WidgetTypes.Group>;
1821
+ type: t.LiteralC<"Group">;
1824
1822
  }>, t.PartialC<{
1825
1823
  fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
1826
1824
  icon: t.StringC;
@@ -1829,7 +1827,7 @@ export declare const DynamicSlicesConfig: t.ExactC<t.PartialC<{
1829
1827
  label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
1830
1828
  repeat: t.BooleanC;
1831
1829
  fields: t.RecordC<t.StringC, t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
1832
- type: t.LiteralC<WidgetTypes.Color>;
1830
+ type: t.LiteralC<"Color">;
1833
1831
  }>, t.PartialC<{
1834
1832
  fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
1835
1833
  config: t.ExactC<t.PartialC<{
@@ -1837,7 +1835,7 @@ export declare const DynamicSlicesConfig: t.ExactC<t.PartialC<{
1837
1835
  placeholder: t.StringC;
1838
1836
  }>>;
1839
1837
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
1840
- type: t.LiteralC<WidgetTypes.BooleanField>;
1838
+ type: t.LiteralC<"Boolean">;
1841
1839
  }>, t.PartialC<{
1842
1840
  config: t.ExactC<t.PartialC<{
1843
1841
  label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
@@ -1846,7 +1844,7 @@ export declare const DynamicSlicesConfig: t.ExactC<t.PartialC<{
1846
1844
  placeholder_false: t.StringC;
1847
1845
  }>>;
1848
1846
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
1849
- type: t.LiteralC<WidgetTypes.Embed>;
1847
+ type: t.LiteralC<"Embed">;
1850
1848
  }>, t.PartialC<{
1851
1849
  fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
1852
1850
  config: t.ExactC<t.PartialC<{
@@ -1855,14 +1853,14 @@ export declare const DynamicSlicesConfig: t.ExactC<t.PartialC<{
1855
1853
  useAsTitle: t.BooleanC;
1856
1854
  }>>;
1857
1855
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
1858
- type: t.LiteralC<WidgetTypes.GeoPoint>;
1856
+ type: t.LiteralC<"GeoPoint">;
1859
1857
  }>, t.PartialC<{
1860
1858
  fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
1861
1859
  config: t.ExactC<t.PartialC<{
1862
1860
  label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
1863
1861
  }>>;
1864
1862
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
1865
- type: t.LiteralC<WidgetTypes.Date>;
1863
+ type: t.LiteralC<"Date">;
1866
1864
  }>, t.PartialC<{
1867
1865
  fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
1868
1866
  config: t.ExactC<t.PartialC<{
@@ -1871,7 +1869,7 @@ export declare const DynamicSlicesConfig: t.ExactC<t.PartialC<{
1871
1869
  default: t.StringC;
1872
1870
  }>>;
1873
1871
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
1874
- type: t.LiteralC<WidgetTypes.Number>;
1872
+ type: t.LiteralC<"Number">;
1875
1873
  }>, t.PartialC<{
1876
1874
  fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
1877
1875
  config: t.ExactC<t.PartialC<{
@@ -1882,7 +1880,7 @@ export declare const DynamicSlicesConfig: t.ExactC<t.PartialC<{
1882
1880
  step: t.UnionC<[t.NumberC, import("io-ts-types").NumberFromStringC]>;
1883
1881
  }>>;
1884
1882
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
1885
- type: t.LiteralC<WidgetTypes.Range>;
1883
+ type: t.LiteralC<"Range">;
1886
1884
  }>, t.PartialC<{
1887
1885
  fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
1888
1886
  config: t.ExactC<t.PartialC<{
@@ -1893,7 +1891,7 @@ export declare const DynamicSlicesConfig: t.ExactC<t.PartialC<{
1893
1891
  step: t.UnionC<[t.NumberC, import("io-ts-types").NumberFromStringC]>;
1894
1892
  }>>;
1895
1893
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
1896
- type: t.LiteralC<WidgetTypes.RichText>;
1894
+ type: t.LiteralC<"StructuredText">;
1897
1895
  }>, t.PartialC<{
1898
1896
  fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
1899
1897
  config: t.ExactC<t.PartialC<{
@@ -1906,27 +1904,27 @@ export declare const DynamicSlicesConfig: t.ExactC<t.PartialC<{
1906
1904
  width: t.Type<number | null, unknown, unknown>;
1907
1905
  height: t.Type<number | null, unknown, unknown>;
1908
1906
  }>;
1909
- labels: t.Type<string[], object, unknown>;
1907
+ labels: t.Type<readonly string[], object, unknown>;
1910
1908
  allowTargetBlank: t.BooleanC;
1911
1909
  }>>;
1912
1910
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
1913
- type: t.LiteralC<WidgetTypes.Select>;
1911
+ type: t.LiteralC<"Select">;
1914
1912
  }>, t.PartialC<{
1915
1913
  fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
1916
1914
  config: t.ExactC<t.PartialC<{
1917
1915
  label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
1918
1916
  placeholder: t.StringC;
1919
1917
  default_value: t.StringC;
1920
- options: t.ArrayC<t.UnionC<[t.StringC, t.Type<string, string, unknown>, t.Type<string, string, unknown>]>>;
1918
+ options: t.ReadonlyArrayC<t.UnionC<[t.StringC, t.Type<string, string, unknown>, t.Type<string, string, unknown>]>>;
1921
1919
  }>>;
1922
1920
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
1923
- type: t.LiteralC<WidgetTypes.Separator>;
1921
+ type: t.LiteralC<"Separator">;
1924
1922
  }>, t.PartialC<{
1925
1923
  config: t.ExactC<t.PartialC<{
1926
1924
  label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
1927
1925
  }>>;
1928
1926
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
1929
- type: t.LiteralC<WidgetTypes.Text>;
1927
+ type: t.LiteralC<"Text">;
1930
1928
  }>, t.PartialC<{
1931
1929
  fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
1932
1930
  config: t.ExactC<t.PartialC<{
@@ -1935,7 +1933,7 @@ export declare const DynamicSlicesConfig: t.ExactC<t.PartialC<{
1935
1933
  placeholder: t.StringC;
1936
1934
  }>>;
1937
1935
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
1938
- type: t.LiteralC<WidgetTypes.Timestamp>;
1936
+ type: t.LiteralC<"Timestamp">;
1939
1937
  }>, t.PartialC<{
1940
1938
  fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
1941
1939
  config: t.ExactC<t.PartialC<{
@@ -1944,7 +1942,7 @@ export declare const DynamicSlicesConfig: t.ExactC<t.PartialC<{
1944
1942
  default: t.StringC;
1945
1943
  }>>;
1946
1944
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
1947
- type: t.LiteralC<WidgetTypes.Link>;
1945
+ type: t.LiteralC<"Link">;
1948
1946
  }>, t.PartialC<{
1949
1947
  fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
1950
1948
  config: t.ExactC<t.PartialC<{
@@ -1952,13 +1950,13 @@ export declare const DynamicSlicesConfig: t.ExactC<t.PartialC<{
1952
1950
  useAsTitle: t.BooleanC;
1953
1951
  placeholder: t.StringC;
1954
1952
  select: t.UnionC<[t.LiteralC<"media">, t.LiteralC<"document">, t.LiteralC<"web">, t.NullC]>;
1955
- customtypes: t.ArrayC<t.StringC>;
1956
- masks: t.Type<string[], object, unknown>;
1957
- tags: t.Type<string[], object, unknown>;
1953
+ customtypes: t.ReadonlyArrayC<t.StringC>;
1954
+ masks: t.Type<readonly string[], object, unknown>;
1955
+ tags: t.Type<readonly string[], object, unknown>;
1958
1956
  allowTargetBlank: t.BooleanC;
1959
1957
  }>>;
1960
1958
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
1961
- type: t.LiteralC<WidgetTypes.Image>;
1959
+ type: t.LiteralC<"Image">;
1962
1960
  }>, t.PartialC<{
1963
1961
  fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
1964
1962
  config: t.ExactC<t.PartialC<{
@@ -1968,7 +1966,7 @@ export declare const DynamicSlicesConfig: t.ExactC<t.PartialC<{
1968
1966
  width: t.Type<number | null, unknown, unknown>;
1969
1967
  height: t.Type<number | null, unknown, unknown>;
1970
1968
  }>;
1971
- thumbnails: t.ArrayC<t.ExactC<t.IntersectionC<[t.TypeC<{
1969
+ thumbnails: t.ReadonlyArrayC<t.ExactC<t.IntersectionC<[t.TypeC<{
1972
1970
  name: t.StringC;
1973
1971
  }>, t.PartialC<{
1974
1972
  width: t.Type<number | null, unknown, unknown>;
@@ -1976,7 +1974,7 @@ export declare const DynamicSlicesConfig: t.ExactC<t.PartialC<{
1976
1974
  }>]>>>;
1977
1975
  }>>;
1978
1976
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
1979
- type: t.LiteralC<WidgetTypes.IntegrationField>;
1977
+ type: t.LiteralC<"IntegrationFields">;
1980
1978
  }>, t.PartialC<{
1981
1979
  fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
1982
1980
  config: t.ExactC<t.PartialC<{
@@ -1987,14 +1985,14 @@ export declare const DynamicSlicesConfig: t.ExactC<t.PartialC<{
1987
1985
  }>]>>]>>;
1988
1986
  }>>;
1989
1987
  }>]>>]>, t.ExactC<t.IntersectionC<[t.TypeC<{
1990
- type: t.LiteralC<SlicesTypes.Slice>;
1988
+ type: t.LiteralC<"Slice">;
1991
1989
  }>, t.PartialC<{
1992
1990
  fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
1993
1991
  description: t.StringC;
1994
1992
  icon: t.StringC;
1995
1993
  display: t.StringC;
1996
1994
  "non-repeat": t.RecordC<t.StringC, t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
1997
- type: t.LiteralC<WidgetTypes.Color>;
1995
+ type: t.LiteralC<"Color">;
1998
1996
  }>, t.PartialC<{
1999
1997
  fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
2000
1998
  config: t.ExactC<t.PartialC<{
@@ -2002,7 +2000,7 @@ export declare const DynamicSlicesConfig: t.ExactC<t.PartialC<{
2002
2000
  placeholder: t.StringC;
2003
2001
  }>>;
2004
2002
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
2005
- type: t.LiteralC<WidgetTypes.BooleanField>;
2003
+ type: t.LiteralC<"Boolean">;
2006
2004
  }>, t.PartialC<{
2007
2005
  config: t.ExactC<t.PartialC<{
2008
2006
  label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
@@ -2011,7 +2009,7 @@ export declare const DynamicSlicesConfig: t.ExactC<t.PartialC<{
2011
2009
  placeholder_false: t.StringC;
2012
2010
  }>>;
2013
2011
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
2014
- type: t.LiteralC<WidgetTypes.Embed>;
2012
+ type: t.LiteralC<"Embed">;
2015
2013
  }>, t.PartialC<{
2016
2014
  fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
2017
2015
  config: t.ExactC<t.PartialC<{
@@ -2020,14 +2018,14 @@ export declare const DynamicSlicesConfig: t.ExactC<t.PartialC<{
2020
2018
  useAsTitle: t.BooleanC;
2021
2019
  }>>;
2022
2020
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
2023
- type: t.LiteralC<WidgetTypes.GeoPoint>;
2021
+ type: t.LiteralC<"GeoPoint">;
2024
2022
  }>, t.PartialC<{
2025
2023
  fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
2026
2024
  config: t.ExactC<t.PartialC<{
2027
2025
  label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
2028
2026
  }>>;
2029
2027
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
2030
- type: t.LiteralC<WidgetTypes.Date>;
2028
+ type: t.LiteralC<"Date">;
2031
2029
  }>, t.PartialC<{
2032
2030
  fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
2033
2031
  config: t.ExactC<t.PartialC<{
@@ -2036,7 +2034,7 @@ export declare const DynamicSlicesConfig: t.ExactC<t.PartialC<{
2036
2034
  default: t.StringC;
2037
2035
  }>>;
2038
2036
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
2039
- type: t.LiteralC<WidgetTypes.Number>;
2037
+ type: t.LiteralC<"Number">;
2040
2038
  }>, t.PartialC<{
2041
2039
  fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
2042
2040
  config: t.ExactC<t.PartialC<{
@@ -2047,7 +2045,7 @@ export declare const DynamicSlicesConfig: t.ExactC<t.PartialC<{
2047
2045
  step: t.UnionC<[t.NumberC, import("io-ts-types").NumberFromStringC]>;
2048
2046
  }>>;
2049
2047
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
2050
- type: t.LiteralC<WidgetTypes.Range>;
2048
+ type: t.LiteralC<"Range">;
2051
2049
  }>, t.PartialC<{
2052
2050
  fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
2053
2051
  config: t.ExactC<t.PartialC<{
@@ -2058,7 +2056,7 @@ export declare const DynamicSlicesConfig: t.ExactC<t.PartialC<{
2058
2056
  step: t.UnionC<[t.NumberC, import("io-ts-types").NumberFromStringC]>;
2059
2057
  }>>;
2060
2058
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
2061
- type: t.LiteralC<WidgetTypes.RichText>;
2059
+ type: t.LiteralC<"StructuredText">;
2062
2060
  }>, t.PartialC<{
2063
2061
  fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
2064
2062
  config: t.ExactC<t.PartialC<{
@@ -2071,27 +2069,27 @@ export declare const DynamicSlicesConfig: t.ExactC<t.PartialC<{
2071
2069
  width: t.Type<number | null, unknown, unknown>;
2072
2070
  height: t.Type<number | null, unknown, unknown>;
2073
2071
  }>;
2074
- labels: t.Type<string[], object, unknown>;
2072
+ labels: t.Type<readonly string[], object, unknown>;
2075
2073
  allowTargetBlank: t.BooleanC;
2076
2074
  }>>;
2077
2075
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
2078
- type: t.LiteralC<WidgetTypes.Select>;
2076
+ type: t.LiteralC<"Select">;
2079
2077
  }>, t.PartialC<{
2080
2078
  fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
2081
2079
  config: t.ExactC<t.PartialC<{
2082
2080
  label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
2083
2081
  placeholder: t.StringC;
2084
2082
  default_value: t.StringC;
2085
- options: t.ArrayC<t.UnionC<[t.StringC, t.Type<string, string, unknown>, t.Type<string, string, unknown>]>>;
2083
+ options: t.ReadonlyArrayC<t.UnionC<[t.StringC, t.Type<string, string, unknown>, t.Type<string, string, unknown>]>>;
2086
2084
  }>>;
2087
2085
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
2088
- type: t.LiteralC<WidgetTypes.Separator>;
2086
+ type: t.LiteralC<"Separator">;
2089
2087
  }>, t.PartialC<{
2090
2088
  config: t.ExactC<t.PartialC<{
2091
2089
  label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
2092
2090
  }>>;
2093
2091
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
2094
- type: t.LiteralC<WidgetTypes.Text>;
2092
+ type: t.LiteralC<"Text">;
2095
2093
  }>, t.PartialC<{
2096
2094
  fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
2097
2095
  config: t.ExactC<t.PartialC<{
@@ -2100,7 +2098,7 @@ export declare const DynamicSlicesConfig: t.ExactC<t.PartialC<{
2100
2098
  placeholder: t.StringC;
2101
2099
  }>>;
2102
2100
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
2103
- type: t.LiteralC<WidgetTypes.Timestamp>;
2101
+ type: t.LiteralC<"Timestamp">;
2104
2102
  }>, t.PartialC<{
2105
2103
  fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
2106
2104
  config: t.ExactC<t.PartialC<{
@@ -2109,7 +2107,7 @@ export declare const DynamicSlicesConfig: t.ExactC<t.PartialC<{
2109
2107
  default: t.StringC;
2110
2108
  }>>;
2111
2109
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
2112
- type: t.LiteralC<WidgetTypes.Link>;
2110
+ type: t.LiteralC<"Link">;
2113
2111
  }>, t.PartialC<{
2114
2112
  fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
2115
2113
  config: t.ExactC<t.PartialC<{
@@ -2117,13 +2115,13 @@ export declare const DynamicSlicesConfig: t.ExactC<t.PartialC<{
2117
2115
  useAsTitle: t.BooleanC;
2118
2116
  placeholder: t.StringC;
2119
2117
  select: t.UnionC<[t.LiteralC<"media">, t.LiteralC<"document">, t.LiteralC<"web">, t.NullC]>;
2120
- customtypes: t.ArrayC<t.StringC>;
2121
- masks: t.Type<string[], object, unknown>;
2122
- tags: t.Type<string[], object, unknown>;
2118
+ customtypes: t.ReadonlyArrayC<t.StringC>;
2119
+ masks: t.Type<readonly string[], object, unknown>;
2120
+ tags: t.Type<readonly string[], object, unknown>;
2123
2121
  allowTargetBlank: t.BooleanC;
2124
2122
  }>>;
2125
2123
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
2126
- type: t.LiteralC<WidgetTypes.Image>;
2124
+ type: t.LiteralC<"Image">;
2127
2125
  }>, t.PartialC<{
2128
2126
  fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
2129
2127
  config: t.ExactC<t.PartialC<{
@@ -2133,7 +2131,7 @@ export declare const DynamicSlicesConfig: t.ExactC<t.PartialC<{
2133
2131
  width: t.Type<number | null, unknown, unknown>;
2134
2132
  height: t.Type<number | null, unknown, unknown>;
2135
2133
  }>;
2136
- thumbnails: t.ArrayC<t.ExactC<t.IntersectionC<[t.TypeC<{
2134
+ thumbnails: t.ReadonlyArrayC<t.ExactC<t.IntersectionC<[t.TypeC<{
2137
2135
  name: t.StringC;
2138
2136
  }>, t.PartialC<{
2139
2137
  width: t.Type<number | null, unknown, unknown>;
@@ -2141,7 +2139,7 @@ export declare const DynamicSlicesConfig: t.ExactC<t.PartialC<{
2141
2139
  }>]>>>;
2142
2140
  }>>;
2143
2141
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
2144
- type: t.LiteralC<WidgetTypes.IntegrationField>;
2142
+ type: t.LiteralC<"IntegrationFields">;
2145
2143
  }>, t.PartialC<{
2146
2144
  fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
2147
2145
  config: t.ExactC<t.PartialC<{
@@ -2151,7 +2149,7 @@ export declare const DynamicSlicesConfig: t.ExactC<t.PartialC<{
2151
2149
  }>>;
2152
2150
  }>]>>]>>;
2153
2151
  repeat: t.RecordC<t.StringC, t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
2154
- type: t.LiteralC<WidgetTypes.Color>;
2152
+ type: t.LiteralC<"Color">;
2155
2153
  }>, t.PartialC<{
2156
2154
  fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
2157
2155
  config: t.ExactC<t.PartialC<{
@@ -2159,7 +2157,7 @@ export declare const DynamicSlicesConfig: t.ExactC<t.PartialC<{
2159
2157
  placeholder: t.StringC;
2160
2158
  }>>;
2161
2159
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
2162
- type: t.LiteralC<WidgetTypes.BooleanField>;
2160
+ type: t.LiteralC<"Boolean">;
2163
2161
  }>, t.PartialC<{
2164
2162
  config: t.ExactC<t.PartialC<{
2165
2163
  label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
@@ -2168,7 +2166,7 @@ export declare const DynamicSlicesConfig: t.ExactC<t.PartialC<{
2168
2166
  placeholder_false: t.StringC;
2169
2167
  }>>;
2170
2168
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
2171
- type: t.LiteralC<WidgetTypes.Embed>;
2169
+ type: t.LiteralC<"Embed">;
2172
2170
  }>, t.PartialC<{
2173
2171
  fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
2174
2172
  config: t.ExactC<t.PartialC<{
@@ -2177,14 +2175,14 @@ export declare const DynamicSlicesConfig: t.ExactC<t.PartialC<{
2177
2175
  useAsTitle: t.BooleanC;
2178
2176
  }>>;
2179
2177
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
2180
- type: t.LiteralC<WidgetTypes.GeoPoint>;
2178
+ type: t.LiteralC<"GeoPoint">;
2181
2179
  }>, t.PartialC<{
2182
2180
  fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
2183
2181
  config: t.ExactC<t.PartialC<{
2184
2182
  label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
2185
2183
  }>>;
2186
2184
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
2187
- type: t.LiteralC<WidgetTypes.Date>;
2185
+ type: t.LiteralC<"Date">;
2188
2186
  }>, t.PartialC<{
2189
2187
  fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
2190
2188
  config: t.ExactC<t.PartialC<{
@@ -2193,7 +2191,7 @@ export declare const DynamicSlicesConfig: t.ExactC<t.PartialC<{
2193
2191
  default: t.StringC;
2194
2192
  }>>;
2195
2193
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
2196
- type: t.LiteralC<WidgetTypes.Number>;
2194
+ type: t.LiteralC<"Number">;
2197
2195
  }>, t.PartialC<{
2198
2196
  fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
2199
2197
  config: t.ExactC<t.PartialC<{
@@ -2204,7 +2202,7 @@ export declare const DynamicSlicesConfig: t.ExactC<t.PartialC<{
2204
2202
  step: t.UnionC<[t.NumberC, import("io-ts-types").NumberFromStringC]>;
2205
2203
  }>>;
2206
2204
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
2207
- type: t.LiteralC<WidgetTypes.Range>;
2205
+ type: t.LiteralC<"Range">;
2208
2206
  }>, t.PartialC<{
2209
2207
  fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
2210
2208
  config: t.ExactC<t.PartialC<{
@@ -2215,7 +2213,7 @@ export declare const DynamicSlicesConfig: t.ExactC<t.PartialC<{
2215
2213
  step: t.UnionC<[t.NumberC, import("io-ts-types").NumberFromStringC]>;
2216
2214
  }>>;
2217
2215
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
2218
- type: t.LiteralC<WidgetTypes.RichText>;
2216
+ type: t.LiteralC<"StructuredText">;
2219
2217
  }>, t.PartialC<{
2220
2218
  fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
2221
2219
  config: t.ExactC<t.PartialC<{
@@ -2228,27 +2226,27 @@ export declare const DynamicSlicesConfig: t.ExactC<t.PartialC<{
2228
2226
  width: t.Type<number | null, unknown, unknown>;
2229
2227
  height: t.Type<number | null, unknown, unknown>;
2230
2228
  }>;
2231
- labels: t.Type<string[], object, unknown>;
2229
+ labels: t.Type<readonly string[], object, unknown>;
2232
2230
  allowTargetBlank: t.BooleanC;
2233
2231
  }>>;
2234
2232
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
2235
- type: t.LiteralC<WidgetTypes.Select>;
2233
+ type: t.LiteralC<"Select">;
2236
2234
  }>, t.PartialC<{
2237
2235
  fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
2238
2236
  config: t.ExactC<t.PartialC<{
2239
2237
  label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
2240
2238
  placeholder: t.StringC;
2241
2239
  default_value: t.StringC;
2242
- options: t.ArrayC<t.UnionC<[t.StringC, t.Type<string, string, unknown>, t.Type<string, string, unknown>]>>;
2240
+ options: t.ReadonlyArrayC<t.UnionC<[t.StringC, t.Type<string, string, unknown>, t.Type<string, string, unknown>]>>;
2243
2241
  }>>;
2244
2242
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
2245
- type: t.LiteralC<WidgetTypes.Separator>;
2243
+ type: t.LiteralC<"Separator">;
2246
2244
  }>, t.PartialC<{
2247
2245
  config: t.ExactC<t.PartialC<{
2248
2246
  label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
2249
2247
  }>>;
2250
2248
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
2251
- type: t.LiteralC<WidgetTypes.Text>;
2249
+ type: t.LiteralC<"Text">;
2252
2250
  }>, t.PartialC<{
2253
2251
  fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
2254
2252
  config: t.ExactC<t.PartialC<{
@@ -2257,7 +2255,7 @@ export declare const DynamicSlicesConfig: t.ExactC<t.PartialC<{
2257
2255
  placeholder: t.StringC;
2258
2256
  }>>;
2259
2257
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
2260
- type: t.LiteralC<WidgetTypes.Timestamp>;
2258
+ type: t.LiteralC<"Timestamp">;
2261
2259
  }>, t.PartialC<{
2262
2260
  fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
2263
2261
  config: t.ExactC<t.PartialC<{
@@ -2266,7 +2264,7 @@ export declare const DynamicSlicesConfig: t.ExactC<t.PartialC<{
2266
2264
  default: t.StringC;
2267
2265
  }>>;
2268
2266
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
2269
- type: t.LiteralC<WidgetTypes.Link>;
2267
+ type: t.LiteralC<"Link">;
2270
2268
  }>, t.PartialC<{
2271
2269
  fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
2272
2270
  config: t.ExactC<t.PartialC<{
@@ -2274,13 +2272,13 @@ export declare const DynamicSlicesConfig: t.ExactC<t.PartialC<{
2274
2272
  useAsTitle: t.BooleanC;
2275
2273
  placeholder: t.StringC;
2276
2274
  select: t.UnionC<[t.LiteralC<"media">, t.LiteralC<"document">, t.LiteralC<"web">, t.NullC]>;
2277
- customtypes: t.ArrayC<t.StringC>;
2278
- masks: t.Type<string[], object, unknown>;
2279
- tags: t.Type<string[], object, unknown>;
2275
+ customtypes: t.ReadonlyArrayC<t.StringC>;
2276
+ masks: t.Type<readonly string[], object, unknown>;
2277
+ tags: t.Type<readonly string[], object, unknown>;
2280
2278
  allowTargetBlank: t.BooleanC;
2281
2279
  }>>;
2282
2280
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
2283
- type: t.LiteralC<WidgetTypes.Image>;
2281
+ type: t.LiteralC<"Image">;
2284
2282
  }>, t.PartialC<{
2285
2283
  fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
2286
2284
  config: t.ExactC<t.PartialC<{
@@ -2290,7 +2288,7 @@ export declare const DynamicSlicesConfig: t.ExactC<t.PartialC<{
2290
2288
  width: t.Type<number | null, unknown, unknown>;
2291
2289
  height: t.Type<number | null, unknown, unknown>;
2292
2290
  }>;
2293
- thumbnails: t.ArrayC<t.ExactC<t.IntersectionC<[t.TypeC<{
2291
+ thumbnails: t.ReadonlyArrayC<t.ExactC<t.IntersectionC<[t.TypeC<{
2294
2292
  name: t.StringC;
2295
2293
  }>, t.PartialC<{
2296
2294
  width: t.Type<number | null, unknown, unknown>;
@@ -2298,7 +2296,7 @@ export declare const DynamicSlicesConfig: t.ExactC<t.PartialC<{
2298
2296
  }>]>>>;
2299
2297
  }>>;
2300
2298
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
2301
- type: t.LiteralC<WidgetTypes.IntegrationField>;
2299
+ type: t.LiteralC<"IntegrationFields">;
2302
2300
  }>, t.PartialC<{
2303
2301
  fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
2304
2302
  config: t.ExactC<t.PartialC<{
@@ -2311,24 +2309,24 @@ export declare const DynamicSlicesConfig: t.ExactC<t.PartialC<{
2311
2309
  label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
2312
2310
  }>>;
2313
2311
  }>]>>, t.Type<{
2314
- type: SlicesTypes.SharedSlice;
2312
+ type: "SharedSlice";
2315
2313
  }, unknown, unknown>]>>;
2316
2314
  }>>;
2317
2315
  export declare type DynamicSlicesConfig = t.TypeOf<typeof DynamicSlicesConfig>;
2318
2316
  export declare function slicesReader<T extends StaticSlicesConfig | DynamicSlicesConfig>(codec: t.Type<T, unknown>): t.ExactC<t.IntersectionC<[t.TypeC<{
2319
- type: t.UnionC<[t.LiteralC<WidgetTypes.Slices>, t.LiteralC<WidgetTypes.LegacySlices>]>;
2317
+ type: t.UnionC<[t.LiteralC<"Slices">, t.LiteralC<"Choice">]>;
2320
2318
  }>, t.PartialC<{
2321
2319
  fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
2322
2320
  config: t.Type<T, unknown, unknown>;
2323
2321
  }>]>>;
2324
2322
  export declare const StaticSlices: t.ExactC<t.IntersectionC<[t.TypeC<{
2325
- type: t.UnionC<[t.LiteralC<WidgetTypes.Slices>, t.LiteralC<WidgetTypes.LegacySlices>]>;
2323
+ type: t.UnionC<[t.LiteralC<"Slices">, t.LiteralC<"Choice">]>;
2326
2324
  }>, t.PartialC<{
2327
2325
  fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
2328
2326
  config: t.Type<{
2329
2327
  label?: string | null | undefined;
2330
2328
  labels?: {
2331
- [x: string]: ({
2329
+ [x: string]: readonly ({
2332
2330
  name: string;
2333
2331
  } & {
2334
2332
  display?: string;
@@ -2336,7 +2334,7 @@ export declare const StaticSlices: t.ExactC<t.IntersectionC<[t.TypeC<{
2336
2334
  } | null;
2337
2335
  choices?: {
2338
2336
  [x: string]: ({
2339
- type: WidgetTypes.BooleanField;
2337
+ type: "Boolean";
2340
2338
  } & {
2341
2339
  config?: {
2342
2340
  label?: string | null | undefined;
@@ -2345,7 +2343,7 @@ export declare const StaticSlices: t.ExactC<t.IntersectionC<[t.TypeC<{
2345
2343
  placeholder_false?: string;
2346
2344
  };
2347
2345
  }) | ({
2348
- type: WidgetTypes.Color;
2346
+ type: "Color";
2349
2347
  } & {
2350
2348
  fieldset?: string | null | undefined;
2351
2349
  config?: {
@@ -2353,7 +2351,7 @@ export declare const StaticSlices: t.ExactC<t.IntersectionC<[t.TypeC<{
2353
2351
  placeholder?: string;
2354
2352
  };
2355
2353
  }) | ({
2356
- type: WidgetTypes.Date;
2354
+ type: "Date";
2357
2355
  } & {
2358
2356
  fieldset?: string | null | undefined;
2359
2357
  config?: {
@@ -2362,7 +2360,7 @@ export declare const StaticSlices: t.ExactC<t.IntersectionC<[t.TypeC<{
2362
2360
  default?: string;
2363
2361
  };
2364
2362
  }) | ({
2365
- type: WidgetTypes.Embed;
2363
+ type: "Embed";
2366
2364
  } & {
2367
2365
  fieldset?: string | null | undefined;
2368
2366
  config?: {
@@ -2371,14 +2369,14 @@ export declare const StaticSlices: t.ExactC<t.IntersectionC<[t.TypeC<{
2371
2369
  useAsTitle?: boolean;
2372
2370
  };
2373
2371
  }) | ({
2374
- type: WidgetTypes.GeoPoint;
2372
+ type: "GeoPoint";
2375
2373
  } & {
2376
2374
  fieldset?: string | null | undefined;
2377
2375
  config?: {
2378
2376
  label?: string | null | undefined;
2379
2377
  };
2380
2378
  }) | ({
2381
- type: WidgetTypes.Image;
2379
+ type: "Image";
2382
2380
  } & {
2383
2381
  fieldset?: string | null | undefined;
2384
2382
  config?: {
@@ -2388,7 +2386,7 @@ export declare const StaticSlices: t.ExactC<t.IntersectionC<[t.TypeC<{
2388
2386
  width?: number | null;
2389
2387
  height?: number | null;
2390
2388
  };
2391
- thumbnails?: ({
2389
+ thumbnails?: readonly ({
2392
2390
  name: string;
2393
2391
  } & {
2394
2392
  width?: number | null;
@@ -2396,7 +2394,7 @@ export declare const StaticSlices: t.ExactC<t.IntersectionC<[t.TypeC<{
2396
2394
  })[];
2397
2395
  };
2398
2396
  }) | ({
2399
- type: WidgetTypes.IntegrationField;
2397
+ type: "IntegrationFields";
2400
2398
  } & {
2401
2399
  fieldset?: string | null | undefined;
2402
2400
  config?: {
@@ -2405,7 +2403,7 @@ export declare const StaticSlices: t.ExactC<t.IntersectionC<[t.TypeC<{
2405
2403
  catalog?: string;
2406
2404
  };
2407
2405
  }) | ({
2408
- type: WidgetTypes.Link;
2406
+ type: "Link";
2409
2407
  } & {
2410
2408
  fieldset?: string | null | undefined;
2411
2409
  config?: {
@@ -2413,13 +2411,13 @@ export declare const StaticSlices: t.ExactC<t.IntersectionC<[t.TypeC<{
2413
2411
  useAsTitle?: boolean;
2414
2412
  placeholder?: string;
2415
2413
  select?: "media" | "document" | "web" | null;
2416
- customtypes?: string[];
2417
- masks?: string[];
2418
- tags?: string[];
2414
+ customtypes?: readonly string[];
2415
+ masks?: readonly string[];
2416
+ tags?: readonly string[];
2419
2417
  allowTargetBlank?: boolean;
2420
2418
  };
2421
2419
  }) | ({
2422
- type: WidgetTypes.Number;
2420
+ type: "Number";
2423
2421
  } & {
2424
2422
  fieldset?: string | null | undefined;
2425
2423
  config?: {
@@ -2430,7 +2428,7 @@ export declare const StaticSlices: t.ExactC<t.IntersectionC<[t.TypeC<{
2430
2428
  step?: number;
2431
2429
  };
2432
2430
  }) | ({
2433
- type: WidgetTypes.Range;
2431
+ type: "Range";
2434
2432
  } & {
2435
2433
  fieldset?: string | null | undefined;
2436
2434
  config?: {
@@ -2441,7 +2439,7 @@ export declare const StaticSlices: t.ExactC<t.IntersectionC<[t.TypeC<{
2441
2439
  step?: number;
2442
2440
  };
2443
2441
  }) | ({
2444
- type: WidgetTypes.RichText;
2442
+ type: "StructuredText";
2445
2443
  } & {
2446
2444
  fieldset?: string | null | undefined;
2447
2445
  config?: {
@@ -2454,27 +2452,27 @@ export declare const StaticSlices: t.ExactC<t.IntersectionC<[t.TypeC<{
2454
2452
  width?: number | null;
2455
2453
  height?: number | null;
2456
2454
  };
2457
- labels?: string[];
2455
+ labels?: readonly string[];
2458
2456
  allowTargetBlank?: boolean;
2459
2457
  };
2460
2458
  }) | ({
2461
- type: WidgetTypes.Select;
2459
+ type: "Select";
2462
2460
  } & {
2463
2461
  fieldset?: string | null | undefined;
2464
2462
  config?: {
2465
2463
  label?: string | null | undefined;
2466
2464
  placeholder?: string;
2467
2465
  default_value?: string;
2468
- options?: string[];
2466
+ options?: readonly string[];
2469
2467
  };
2470
2468
  }) | ({
2471
- type: WidgetTypes.Separator;
2469
+ type: "Separator";
2472
2470
  } & {
2473
2471
  config?: {
2474
2472
  label?: string | null | undefined;
2475
2473
  };
2476
2474
  }) | ({
2477
- type: WidgetTypes.Text;
2475
+ type: "Text";
2478
2476
  } & {
2479
2477
  fieldset?: string | null | undefined;
2480
2478
  config?: {
@@ -2483,7 +2481,7 @@ export declare const StaticSlices: t.ExactC<t.IntersectionC<[t.TypeC<{
2483
2481
  placeholder?: string;
2484
2482
  };
2485
2483
  }) | ({
2486
- type: WidgetTypes.Timestamp;
2484
+ type: "Timestamp";
2487
2485
  } & {
2488
2486
  fieldset?: string | null | undefined;
2489
2487
  config?: {
@@ -2492,7 +2490,7 @@ export declare const StaticSlices: t.ExactC<t.IntersectionC<[t.TypeC<{
2492
2490
  default?: string;
2493
2491
  };
2494
2492
  }) | ({
2495
- type: SlicesTypes.Slice;
2493
+ type: "Slice";
2496
2494
  } & {
2497
2495
  fieldset?: string | null | undefined;
2498
2496
  description?: string;
@@ -2500,7 +2498,7 @@ export declare const StaticSlices: t.ExactC<t.IntersectionC<[t.TypeC<{
2500
2498
  display?: string;
2501
2499
  "non-repeat"?: {
2502
2500
  [x: string]: ({
2503
- type: WidgetTypes.BooleanField;
2501
+ type: "Boolean";
2504
2502
  } & {
2505
2503
  config?: {
2506
2504
  label?: string | null | undefined;
@@ -2509,7 +2507,7 @@ export declare const StaticSlices: t.ExactC<t.IntersectionC<[t.TypeC<{
2509
2507
  placeholder_false?: string;
2510
2508
  };
2511
2509
  }) | ({
2512
- type: WidgetTypes.Color;
2510
+ type: "Color";
2513
2511
  } & {
2514
2512
  fieldset?: string | null | undefined;
2515
2513
  config?: {
@@ -2517,7 +2515,7 @@ export declare const StaticSlices: t.ExactC<t.IntersectionC<[t.TypeC<{
2517
2515
  placeholder?: string;
2518
2516
  };
2519
2517
  }) | ({
2520
- type: WidgetTypes.Date;
2518
+ type: "Date";
2521
2519
  } & {
2522
2520
  fieldset?: string | null | undefined;
2523
2521
  config?: {
@@ -2526,7 +2524,7 @@ export declare const StaticSlices: t.ExactC<t.IntersectionC<[t.TypeC<{
2526
2524
  default?: string;
2527
2525
  };
2528
2526
  }) | ({
2529
- type: WidgetTypes.Embed;
2527
+ type: "Embed";
2530
2528
  } & {
2531
2529
  fieldset?: string | null | undefined;
2532
2530
  config?: {
@@ -2535,14 +2533,14 @@ export declare const StaticSlices: t.ExactC<t.IntersectionC<[t.TypeC<{
2535
2533
  useAsTitle?: boolean;
2536
2534
  };
2537
2535
  }) | ({
2538
- type: WidgetTypes.GeoPoint;
2536
+ type: "GeoPoint";
2539
2537
  } & {
2540
2538
  fieldset?: string | null | undefined;
2541
2539
  config?: {
2542
2540
  label?: string | null | undefined;
2543
2541
  };
2544
2542
  }) | ({
2545
- type: WidgetTypes.Image;
2543
+ type: "Image";
2546
2544
  } & {
2547
2545
  fieldset?: string | null | undefined;
2548
2546
  config?: {
@@ -2552,7 +2550,7 @@ export declare const StaticSlices: t.ExactC<t.IntersectionC<[t.TypeC<{
2552
2550
  width?: number | null;
2553
2551
  height?: number | null;
2554
2552
  };
2555
- thumbnails?: ({
2553
+ thumbnails?: readonly ({
2556
2554
  name: string;
2557
2555
  } & {
2558
2556
  width?: number | null;
@@ -2560,7 +2558,7 @@ export declare const StaticSlices: t.ExactC<t.IntersectionC<[t.TypeC<{
2560
2558
  })[];
2561
2559
  };
2562
2560
  }) | ({
2563
- type: WidgetTypes.IntegrationField;
2561
+ type: "IntegrationFields";
2564
2562
  } & {
2565
2563
  fieldset?: string | null | undefined;
2566
2564
  config?: {
@@ -2569,7 +2567,7 @@ export declare const StaticSlices: t.ExactC<t.IntersectionC<[t.TypeC<{
2569
2567
  catalog?: string;
2570
2568
  };
2571
2569
  }) | ({
2572
- type: WidgetTypes.Link;
2570
+ type: "Link";
2573
2571
  } & {
2574
2572
  fieldset?: string | null | undefined;
2575
2573
  config?: {
@@ -2577,13 +2575,13 @@ export declare const StaticSlices: t.ExactC<t.IntersectionC<[t.TypeC<{
2577
2575
  useAsTitle?: boolean;
2578
2576
  placeholder?: string;
2579
2577
  select?: "media" | "document" | "web" | null;
2580
- customtypes?: string[];
2581
- masks?: string[];
2582
- tags?: string[];
2578
+ customtypes?: readonly string[];
2579
+ masks?: readonly string[];
2580
+ tags?: readonly string[];
2583
2581
  allowTargetBlank?: boolean;
2584
2582
  };
2585
2583
  }) | ({
2586
- type: WidgetTypes.Number;
2584
+ type: "Number";
2587
2585
  } & {
2588
2586
  fieldset?: string | null | undefined;
2589
2587
  config?: {
@@ -2594,7 +2592,7 @@ export declare const StaticSlices: t.ExactC<t.IntersectionC<[t.TypeC<{
2594
2592
  step?: number;
2595
2593
  };
2596
2594
  }) | ({
2597
- type: WidgetTypes.Range;
2595
+ type: "Range";
2598
2596
  } & {
2599
2597
  fieldset?: string | null | undefined;
2600
2598
  config?: {
@@ -2605,7 +2603,7 @@ export declare const StaticSlices: t.ExactC<t.IntersectionC<[t.TypeC<{
2605
2603
  step?: number;
2606
2604
  };
2607
2605
  }) | ({
2608
- type: WidgetTypes.RichText;
2606
+ type: "StructuredText";
2609
2607
  } & {
2610
2608
  fieldset?: string | null | undefined;
2611
2609
  config?: {
@@ -2618,27 +2616,27 @@ export declare const StaticSlices: t.ExactC<t.IntersectionC<[t.TypeC<{
2618
2616
  width?: number | null;
2619
2617
  height?: number | null;
2620
2618
  };
2621
- labels?: string[];
2619
+ labels?: readonly string[];
2622
2620
  allowTargetBlank?: boolean;
2623
2621
  };
2624
2622
  }) | ({
2625
- type: WidgetTypes.Select;
2623
+ type: "Select";
2626
2624
  } & {
2627
2625
  fieldset?: string | null | undefined;
2628
2626
  config?: {
2629
2627
  label?: string | null | undefined;
2630
2628
  placeholder?: string;
2631
2629
  default_value?: string;
2632
- options?: string[];
2630
+ options?: readonly string[];
2633
2631
  };
2634
2632
  }) | ({
2635
- type: WidgetTypes.Separator;
2633
+ type: "Separator";
2636
2634
  } & {
2637
2635
  config?: {
2638
2636
  label?: string | null | undefined;
2639
2637
  };
2640
2638
  }) | ({
2641
- type: WidgetTypes.Text;
2639
+ type: "Text";
2642
2640
  } & {
2643
2641
  fieldset?: string | null | undefined;
2644
2642
  config?: {
@@ -2647,7 +2645,7 @@ export declare const StaticSlices: t.ExactC<t.IntersectionC<[t.TypeC<{
2647
2645
  placeholder?: string;
2648
2646
  };
2649
2647
  }) | ({
2650
- type: WidgetTypes.Timestamp;
2648
+ type: "Timestamp";
2651
2649
  } & {
2652
2650
  fieldset?: string | null | undefined;
2653
2651
  config?: {
@@ -2659,7 +2657,7 @@ export declare const StaticSlices: t.ExactC<t.IntersectionC<[t.TypeC<{
2659
2657
  };
2660
2658
  repeat?: {
2661
2659
  [x: string]: ({
2662
- type: WidgetTypes.BooleanField;
2660
+ type: "Boolean";
2663
2661
  } & {
2664
2662
  config?: {
2665
2663
  label?: string | null | undefined;
@@ -2668,7 +2666,7 @@ export declare const StaticSlices: t.ExactC<t.IntersectionC<[t.TypeC<{
2668
2666
  placeholder_false?: string;
2669
2667
  };
2670
2668
  }) | ({
2671
- type: WidgetTypes.Color;
2669
+ type: "Color";
2672
2670
  } & {
2673
2671
  fieldset?: string | null | undefined;
2674
2672
  config?: {
@@ -2676,7 +2674,7 @@ export declare const StaticSlices: t.ExactC<t.IntersectionC<[t.TypeC<{
2676
2674
  placeholder?: string;
2677
2675
  };
2678
2676
  }) | ({
2679
- type: WidgetTypes.Date;
2677
+ type: "Date";
2680
2678
  } & {
2681
2679
  fieldset?: string | null | undefined;
2682
2680
  config?: {
@@ -2685,7 +2683,7 @@ export declare const StaticSlices: t.ExactC<t.IntersectionC<[t.TypeC<{
2685
2683
  default?: string;
2686
2684
  };
2687
2685
  }) | ({
2688
- type: WidgetTypes.Embed;
2686
+ type: "Embed";
2689
2687
  } & {
2690
2688
  fieldset?: string | null | undefined;
2691
2689
  config?: {
@@ -2694,14 +2692,14 @@ export declare const StaticSlices: t.ExactC<t.IntersectionC<[t.TypeC<{
2694
2692
  useAsTitle?: boolean;
2695
2693
  };
2696
2694
  }) | ({
2697
- type: WidgetTypes.GeoPoint;
2695
+ type: "GeoPoint";
2698
2696
  } & {
2699
2697
  fieldset?: string | null | undefined;
2700
2698
  config?: {
2701
2699
  label?: string | null | undefined;
2702
2700
  };
2703
2701
  }) | ({
2704
- type: WidgetTypes.Image;
2702
+ type: "Image";
2705
2703
  } & {
2706
2704
  fieldset?: string | null | undefined;
2707
2705
  config?: {
@@ -2711,7 +2709,7 @@ export declare const StaticSlices: t.ExactC<t.IntersectionC<[t.TypeC<{
2711
2709
  width?: number | null;
2712
2710
  height?: number | null;
2713
2711
  };
2714
- thumbnails?: ({
2712
+ thumbnails?: readonly ({
2715
2713
  name: string;
2716
2714
  } & {
2717
2715
  width?: number | null;
@@ -2719,7 +2717,7 @@ export declare const StaticSlices: t.ExactC<t.IntersectionC<[t.TypeC<{
2719
2717
  })[];
2720
2718
  };
2721
2719
  }) | ({
2722
- type: WidgetTypes.IntegrationField;
2720
+ type: "IntegrationFields";
2723
2721
  } & {
2724
2722
  fieldset?: string | null | undefined;
2725
2723
  config?: {
@@ -2728,7 +2726,7 @@ export declare const StaticSlices: t.ExactC<t.IntersectionC<[t.TypeC<{
2728
2726
  catalog?: string;
2729
2727
  };
2730
2728
  }) | ({
2731
- type: WidgetTypes.Link;
2729
+ type: "Link";
2732
2730
  } & {
2733
2731
  fieldset?: string | null | undefined;
2734
2732
  config?: {
@@ -2736,13 +2734,13 @@ export declare const StaticSlices: t.ExactC<t.IntersectionC<[t.TypeC<{
2736
2734
  useAsTitle?: boolean;
2737
2735
  placeholder?: string;
2738
2736
  select?: "media" | "document" | "web" | null;
2739
- customtypes?: string[];
2740
- masks?: string[];
2741
- tags?: string[];
2737
+ customtypes?: readonly string[];
2738
+ masks?: readonly string[];
2739
+ tags?: readonly string[];
2742
2740
  allowTargetBlank?: boolean;
2743
2741
  };
2744
2742
  }) | ({
2745
- type: WidgetTypes.Number;
2743
+ type: "Number";
2746
2744
  } & {
2747
2745
  fieldset?: string | null | undefined;
2748
2746
  config?: {
@@ -2753,7 +2751,7 @@ export declare const StaticSlices: t.ExactC<t.IntersectionC<[t.TypeC<{
2753
2751
  step?: number;
2754
2752
  };
2755
2753
  }) | ({
2756
- type: WidgetTypes.Range;
2754
+ type: "Range";
2757
2755
  } & {
2758
2756
  fieldset?: string | null | undefined;
2759
2757
  config?: {
@@ -2764,7 +2762,7 @@ export declare const StaticSlices: t.ExactC<t.IntersectionC<[t.TypeC<{
2764
2762
  step?: number;
2765
2763
  };
2766
2764
  }) | ({
2767
- type: WidgetTypes.RichText;
2765
+ type: "StructuredText";
2768
2766
  } & {
2769
2767
  fieldset?: string | null | undefined;
2770
2768
  config?: {
@@ -2777,27 +2775,27 @@ export declare const StaticSlices: t.ExactC<t.IntersectionC<[t.TypeC<{
2777
2775
  width?: number | null;
2778
2776
  height?: number | null;
2779
2777
  };
2780
- labels?: string[];
2778
+ labels?: readonly string[];
2781
2779
  allowTargetBlank?: boolean;
2782
2780
  };
2783
2781
  }) | ({
2784
- type: WidgetTypes.Select;
2782
+ type: "Select";
2785
2783
  } & {
2786
2784
  fieldset?: string | null | undefined;
2787
2785
  config?: {
2788
2786
  label?: string | null | undefined;
2789
2787
  placeholder?: string;
2790
2788
  default_value?: string;
2791
- options?: string[];
2789
+ options?: readonly string[];
2792
2790
  };
2793
2791
  }) | ({
2794
- type: WidgetTypes.Separator;
2792
+ type: "Separator";
2795
2793
  } & {
2796
2794
  config?: {
2797
2795
  label?: string | null | undefined;
2798
2796
  };
2799
2797
  }) | ({
2800
- type: WidgetTypes.Text;
2798
+ type: "Text";
2801
2799
  } & {
2802
2800
  fieldset?: string | null | undefined;
2803
2801
  config?: {
@@ -2806,7 +2804,7 @@ export declare const StaticSlices: t.ExactC<t.IntersectionC<[t.TypeC<{
2806
2804
  placeholder?: string;
2807
2805
  };
2808
2806
  }) | ({
2809
- type: WidgetTypes.Timestamp;
2807
+ type: "Timestamp";
2810
2808
  } & {
2811
2809
  fieldset?: string | null | undefined;
2812
2810
  config?: {
@@ -2820,7 +2818,7 @@ export declare const StaticSlices: t.ExactC<t.IntersectionC<[t.TypeC<{
2820
2818
  label?: string | null | undefined;
2821
2819
  };
2822
2820
  }) | ({
2823
- type: WidgetTypes.Group;
2821
+ type: "Group";
2824
2822
  } & {
2825
2823
  fieldset?: string | null | undefined;
2826
2824
  icon?: string;
@@ -2830,7 +2828,7 @@ export declare const StaticSlices: t.ExactC<t.IntersectionC<[t.TypeC<{
2830
2828
  repeat?: boolean;
2831
2829
  fields?: {
2832
2830
  [x: string]: ({
2833
- type: WidgetTypes.BooleanField;
2831
+ type: "Boolean";
2834
2832
  } & {
2835
2833
  config?: {
2836
2834
  label?: string | null | undefined;
@@ -2839,7 +2837,7 @@ export declare const StaticSlices: t.ExactC<t.IntersectionC<[t.TypeC<{
2839
2837
  placeholder_false?: string;
2840
2838
  };
2841
2839
  }) | ({
2842
- type: WidgetTypes.Color;
2840
+ type: "Color";
2843
2841
  } & {
2844
2842
  fieldset?: string | null | undefined;
2845
2843
  config?: {
@@ -2847,7 +2845,7 @@ export declare const StaticSlices: t.ExactC<t.IntersectionC<[t.TypeC<{
2847
2845
  placeholder?: string;
2848
2846
  };
2849
2847
  }) | ({
2850
- type: WidgetTypes.Date;
2848
+ type: "Date";
2851
2849
  } & {
2852
2850
  fieldset?: string | null | undefined;
2853
2851
  config?: {
@@ -2856,7 +2854,7 @@ export declare const StaticSlices: t.ExactC<t.IntersectionC<[t.TypeC<{
2856
2854
  default?: string;
2857
2855
  };
2858
2856
  }) | ({
2859
- type: WidgetTypes.Embed;
2857
+ type: "Embed";
2860
2858
  } & {
2861
2859
  fieldset?: string | null | undefined;
2862
2860
  config?: {
@@ -2865,14 +2863,14 @@ export declare const StaticSlices: t.ExactC<t.IntersectionC<[t.TypeC<{
2865
2863
  useAsTitle?: boolean;
2866
2864
  };
2867
2865
  }) | ({
2868
- type: WidgetTypes.GeoPoint;
2866
+ type: "GeoPoint";
2869
2867
  } & {
2870
2868
  fieldset?: string | null | undefined;
2871
2869
  config?: {
2872
2870
  label?: string | null | undefined;
2873
2871
  };
2874
2872
  }) | ({
2875
- type: WidgetTypes.Image;
2873
+ type: "Image";
2876
2874
  } & {
2877
2875
  fieldset?: string | null | undefined;
2878
2876
  config?: {
@@ -2882,7 +2880,7 @@ export declare const StaticSlices: t.ExactC<t.IntersectionC<[t.TypeC<{
2882
2880
  width?: number | null;
2883
2881
  height?: number | null;
2884
2882
  };
2885
- thumbnails?: ({
2883
+ thumbnails?: readonly ({
2886
2884
  name: string;
2887
2885
  } & {
2888
2886
  width?: number | null;
@@ -2890,7 +2888,7 @@ export declare const StaticSlices: t.ExactC<t.IntersectionC<[t.TypeC<{
2890
2888
  })[];
2891
2889
  };
2892
2890
  }) | ({
2893
- type: WidgetTypes.IntegrationField;
2891
+ type: "IntegrationFields";
2894
2892
  } & {
2895
2893
  fieldset?: string | null | undefined;
2896
2894
  config?: {
@@ -2899,7 +2897,7 @@ export declare const StaticSlices: t.ExactC<t.IntersectionC<[t.TypeC<{
2899
2897
  catalog?: string;
2900
2898
  };
2901
2899
  }) | ({
2902
- type: WidgetTypes.Link;
2900
+ type: "Link";
2903
2901
  } & {
2904
2902
  fieldset?: string | null | undefined;
2905
2903
  config?: {
@@ -2907,13 +2905,13 @@ export declare const StaticSlices: t.ExactC<t.IntersectionC<[t.TypeC<{
2907
2905
  useAsTitle?: boolean;
2908
2906
  placeholder?: string;
2909
2907
  select?: "media" | "document" | "web" | null;
2910
- customtypes?: string[];
2911
- masks?: string[];
2912
- tags?: string[];
2908
+ customtypes?: readonly string[];
2909
+ masks?: readonly string[];
2910
+ tags?: readonly string[];
2913
2911
  allowTargetBlank?: boolean;
2914
2912
  };
2915
2913
  }) | ({
2916
- type: WidgetTypes.Number;
2914
+ type: "Number";
2917
2915
  } & {
2918
2916
  fieldset?: string | null | undefined;
2919
2917
  config?: {
@@ -2924,7 +2922,7 @@ export declare const StaticSlices: t.ExactC<t.IntersectionC<[t.TypeC<{
2924
2922
  step?: number;
2925
2923
  };
2926
2924
  }) | ({
2927
- type: WidgetTypes.Range;
2925
+ type: "Range";
2928
2926
  } & {
2929
2927
  fieldset?: string | null | undefined;
2930
2928
  config?: {
@@ -2935,7 +2933,7 @@ export declare const StaticSlices: t.ExactC<t.IntersectionC<[t.TypeC<{
2935
2933
  step?: number;
2936
2934
  };
2937
2935
  }) | ({
2938
- type: WidgetTypes.RichText;
2936
+ type: "StructuredText";
2939
2937
  } & {
2940
2938
  fieldset?: string | null | undefined;
2941
2939
  config?: {
@@ -2948,27 +2946,27 @@ export declare const StaticSlices: t.ExactC<t.IntersectionC<[t.TypeC<{
2948
2946
  width?: number | null;
2949
2947
  height?: number | null;
2950
2948
  };
2951
- labels?: string[];
2949
+ labels?: readonly string[];
2952
2950
  allowTargetBlank?: boolean;
2953
2951
  };
2954
2952
  }) | ({
2955
- type: WidgetTypes.Select;
2953
+ type: "Select";
2956
2954
  } & {
2957
2955
  fieldset?: string | null | undefined;
2958
2956
  config?: {
2959
2957
  label?: string | null | undefined;
2960
2958
  placeholder?: string;
2961
2959
  default_value?: string;
2962
- options?: string[];
2960
+ options?: readonly string[];
2963
2961
  };
2964
2962
  }) | ({
2965
- type: WidgetTypes.Separator;
2963
+ type: "Separator";
2966
2964
  } & {
2967
2965
  config?: {
2968
2966
  label?: string | null | undefined;
2969
2967
  };
2970
2968
  }) | ({
2971
- type: WidgetTypes.Text;
2969
+ type: "Text";
2972
2970
  } & {
2973
2971
  fieldset?: string | null | undefined;
2974
2972
  config?: {
@@ -2977,7 +2975,7 @@ export declare const StaticSlices: t.ExactC<t.IntersectionC<[t.TypeC<{
2977
2975
  placeholder?: string;
2978
2976
  };
2979
2977
  }) | ({
2980
- type: WidgetTypes.Timestamp;
2978
+ type: "Timestamp";
2981
2979
  } & {
2982
2980
  fieldset?: string | null | undefined;
2983
2981
  config?: {
@@ -2990,9 +2988,9 @@ export declare const StaticSlices: t.ExactC<t.IntersectionC<[t.TypeC<{
2990
2988
  };
2991
2989
  }) | ({
2992
2990
  id: string;
2993
- type: SlicesTypes.SharedSlice;
2991
+ type: "SharedSlice";
2994
2992
  name: string;
2995
- variations: ({
2993
+ variations: readonly ({
2996
2994
  id: string;
2997
2995
  name: string;
2998
2996
  description: string;
@@ -3003,7 +3001,7 @@ export declare const StaticSlices: t.ExactC<t.IntersectionC<[t.TypeC<{
3003
3001
  display?: string;
3004
3002
  primary?: {
3005
3003
  [x: string]: ({
3006
- type: WidgetTypes.BooleanField;
3004
+ type: "Boolean";
3007
3005
  } & {
3008
3006
  config?: {
3009
3007
  label?: string | null | undefined;
@@ -3012,7 +3010,7 @@ export declare const StaticSlices: t.ExactC<t.IntersectionC<[t.TypeC<{
3012
3010
  placeholder_false?: string;
3013
3011
  };
3014
3012
  }) | ({
3015
- type: WidgetTypes.Color;
3013
+ type: "Color";
3016
3014
  } & {
3017
3015
  fieldset?: string | null | undefined;
3018
3016
  config?: {
@@ -3020,7 +3018,7 @@ export declare const StaticSlices: t.ExactC<t.IntersectionC<[t.TypeC<{
3020
3018
  placeholder?: string;
3021
3019
  };
3022
3020
  }) | ({
3023
- type: WidgetTypes.Date;
3021
+ type: "Date";
3024
3022
  } & {
3025
3023
  fieldset?: string | null | undefined;
3026
3024
  config?: {
@@ -3029,7 +3027,7 @@ export declare const StaticSlices: t.ExactC<t.IntersectionC<[t.TypeC<{
3029
3027
  default?: string;
3030
3028
  };
3031
3029
  }) | ({
3032
- type: WidgetTypes.Embed;
3030
+ type: "Embed";
3033
3031
  } & {
3034
3032
  fieldset?: string | null | undefined;
3035
3033
  config?: {
@@ -3038,14 +3036,14 @@ export declare const StaticSlices: t.ExactC<t.IntersectionC<[t.TypeC<{
3038
3036
  useAsTitle?: boolean;
3039
3037
  };
3040
3038
  }) | ({
3041
- type: WidgetTypes.GeoPoint;
3039
+ type: "GeoPoint";
3042
3040
  } & {
3043
3041
  fieldset?: string | null | undefined;
3044
3042
  config?: {
3045
3043
  label?: string | null | undefined;
3046
3044
  };
3047
3045
  }) | ({
3048
- type: WidgetTypes.Image;
3046
+ type: "Image";
3049
3047
  } & {
3050
3048
  fieldset?: string | null | undefined;
3051
3049
  config?: {
@@ -3055,7 +3053,7 @@ export declare const StaticSlices: t.ExactC<t.IntersectionC<[t.TypeC<{
3055
3053
  width?: number | null;
3056
3054
  height?: number | null;
3057
3055
  };
3058
- thumbnails?: ({
3056
+ thumbnails?: readonly ({
3059
3057
  name: string;
3060
3058
  } & {
3061
3059
  width?: number | null;
@@ -3063,7 +3061,7 @@ export declare const StaticSlices: t.ExactC<t.IntersectionC<[t.TypeC<{
3063
3061
  })[];
3064
3062
  };
3065
3063
  }) | ({
3066
- type: WidgetTypes.IntegrationField;
3064
+ type: "IntegrationFields";
3067
3065
  } & {
3068
3066
  fieldset?: string | null | undefined;
3069
3067
  config?: {
@@ -3072,7 +3070,7 @@ export declare const StaticSlices: t.ExactC<t.IntersectionC<[t.TypeC<{
3072
3070
  catalog?: string;
3073
3071
  };
3074
3072
  }) | ({
3075
- type: WidgetTypes.Link;
3073
+ type: "Link";
3076
3074
  } & {
3077
3075
  fieldset?: string | null | undefined;
3078
3076
  config?: {
@@ -3080,13 +3078,13 @@ export declare const StaticSlices: t.ExactC<t.IntersectionC<[t.TypeC<{
3080
3078
  useAsTitle?: boolean;
3081
3079
  placeholder?: string;
3082
3080
  select?: "media" | "document" | "web" | null;
3083
- customtypes?: string[];
3084
- masks?: string[];
3085
- tags?: string[];
3081
+ customtypes?: readonly string[];
3082
+ masks?: readonly string[];
3083
+ tags?: readonly string[];
3086
3084
  allowTargetBlank?: boolean;
3087
3085
  };
3088
3086
  }) | ({
3089
- type: WidgetTypes.Number;
3087
+ type: "Number";
3090
3088
  } & {
3091
3089
  fieldset?: string | null | undefined;
3092
3090
  config?: {
@@ -3097,7 +3095,7 @@ export declare const StaticSlices: t.ExactC<t.IntersectionC<[t.TypeC<{
3097
3095
  step?: number;
3098
3096
  };
3099
3097
  }) | ({
3100
- type: WidgetTypes.Range;
3098
+ type: "Range";
3101
3099
  } & {
3102
3100
  fieldset?: string | null | undefined;
3103
3101
  config?: {
@@ -3108,7 +3106,7 @@ export declare const StaticSlices: t.ExactC<t.IntersectionC<[t.TypeC<{
3108
3106
  step?: number;
3109
3107
  };
3110
3108
  }) | ({
3111
- type: WidgetTypes.RichText;
3109
+ type: "StructuredText";
3112
3110
  } & {
3113
3111
  fieldset?: string | null | undefined;
3114
3112
  config?: {
@@ -3121,27 +3119,27 @@ export declare const StaticSlices: t.ExactC<t.IntersectionC<[t.TypeC<{
3121
3119
  width?: number | null;
3122
3120
  height?: number | null;
3123
3121
  };
3124
- labels?: string[];
3122
+ labels?: readonly string[];
3125
3123
  allowTargetBlank?: boolean;
3126
3124
  };
3127
3125
  }) | ({
3128
- type: WidgetTypes.Select;
3126
+ type: "Select";
3129
3127
  } & {
3130
3128
  fieldset?: string | null | undefined;
3131
3129
  config?: {
3132
3130
  label?: string | null | undefined;
3133
3131
  placeholder?: string;
3134
3132
  default_value?: string;
3135
- options?: string[];
3133
+ options?: readonly string[];
3136
3134
  };
3137
3135
  }) | ({
3138
- type: WidgetTypes.Separator;
3136
+ type: "Separator";
3139
3137
  } & {
3140
3138
  config?: {
3141
3139
  label?: string | null | undefined;
3142
3140
  };
3143
3141
  }) | ({
3144
- type: WidgetTypes.Text;
3142
+ type: "Text";
3145
3143
  } & {
3146
3144
  fieldset?: string | null | undefined;
3147
3145
  config?: {
@@ -3150,7 +3148,7 @@ export declare const StaticSlices: t.ExactC<t.IntersectionC<[t.TypeC<{
3150
3148
  placeholder?: string;
3151
3149
  };
3152
3150
  }) | ({
3153
- type: WidgetTypes.Timestamp;
3151
+ type: "Timestamp";
3154
3152
  } & {
3155
3153
  fieldset?: string | null | undefined;
3156
3154
  config?: {
@@ -3162,7 +3160,7 @@ export declare const StaticSlices: t.ExactC<t.IntersectionC<[t.TypeC<{
3162
3160
  };
3163
3161
  items?: {
3164
3162
  [x: string]: ({
3165
- type: WidgetTypes.BooleanField;
3163
+ type: "Boolean";
3166
3164
  } & {
3167
3165
  config?: {
3168
3166
  label?: string | null | undefined;
@@ -3171,7 +3169,7 @@ export declare const StaticSlices: t.ExactC<t.IntersectionC<[t.TypeC<{
3171
3169
  placeholder_false?: string;
3172
3170
  };
3173
3171
  }) | ({
3174
- type: WidgetTypes.Color;
3172
+ type: "Color";
3175
3173
  } & {
3176
3174
  fieldset?: string | null | undefined;
3177
3175
  config?: {
@@ -3179,7 +3177,7 @@ export declare const StaticSlices: t.ExactC<t.IntersectionC<[t.TypeC<{
3179
3177
  placeholder?: string;
3180
3178
  };
3181
3179
  }) | ({
3182
- type: WidgetTypes.Date;
3180
+ type: "Date";
3183
3181
  } & {
3184
3182
  fieldset?: string | null | undefined;
3185
3183
  config?: {
@@ -3188,7 +3186,7 @@ export declare const StaticSlices: t.ExactC<t.IntersectionC<[t.TypeC<{
3188
3186
  default?: string;
3189
3187
  };
3190
3188
  }) | ({
3191
- type: WidgetTypes.Embed;
3189
+ type: "Embed";
3192
3190
  } & {
3193
3191
  fieldset?: string | null | undefined;
3194
3192
  config?: {
@@ -3197,14 +3195,14 @@ export declare const StaticSlices: t.ExactC<t.IntersectionC<[t.TypeC<{
3197
3195
  useAsTitle?: boolean;
3198
3196
  };
3199
3197
  }) | ({
3200
- type: WidgetTypes.GeoPoint;
3198
+ type: "GeoPoint";
3201
3199
  } & {
3202
3200
  fieldset?: string | null | undefined;
3203
3201
  config?: {
3204
3202
  label?: string | null | undefined;
3205
3203
  };
3206
3204
  }) | ({
3207
- type: WidgetTypes.Image;
3205
+ type: "Image";
3208
3206
  } & {
3209
3207
  fieldset?: string | null | undefined;
3210
3208
  config?: {
@@ -3214,7 +3212,7 @@ export declare const StaticSlices: t.ExactC<t.IntersectionC<[t.TypeC<{
3214
3212
  width?: number | null;
3215
3213
  height?: number | null;
3216
3214
  };
3217
- thumbnails?: ({
3215
+ thumbnails?: readonly ({
3218
3216
  name: string;
3219
3217
  } & {
3220
3218
  width?: number | null;
@@ -3222,7 +3220,7 @@ export declare const StaticSlices: t.ExactC<t.IntersectionC<[t.TypeC<{
3222
3220
  })[];
3223
3221
  };
3224
3222
  }) | ({
3225
- type: WidgetTypes.IntegrationField;
3223
+ type: "IntegrationFields";
3226
3224
  } & {
3227
3225
  fieldset?: string | null | undefined;
3228
3226
  config?: {
@@ -3231,7 +3229,7 @@ export declare const StaticSlices: t.ExactC<t.IntersectionC<[t.TypeC<{
3231
3229
  catalog?: string;
3232
3230
  };
3233
3231
  }) | ({
3234
- type: WidgetTypes.Link;
3232
+ type: "Link";
3235
3233
  } & {
3236
3234
  fieldset?: string | null | undefined;
3237
3235
  config?: {
@@ -3239,13 +3237,13 @@ export declare const StaticSlices: t.ExactC<t.IntersectionC<[t.TypeC<{
3239
3237
  useAsTitle?: boolean;
3240
3238
  placeholder?: string;
3241
3239
  select?: "media" | "document" | "web" | null;
3242
- customtypes?: string[];
3243
- masks?: string[];
3244
- tags?: string[];
3240
+ customtypes?: readonly string[];
3241
+ masks?: readonly string[];
3242
+ tags?: readonly string[];
3245
3243
  allowTargetBlank?: boolean;
3246
3244
  };
3247
3245
  }) | ({
3248
- type: WidgetTypes.Number;
3246
+ type: "Number";
3249
3247
  } & {
3250
3248
  fieldset?: string | null | undefined;
3251
3249
  config?: {
@@ -3256,7 +3254,7 @@ export declare const StaticSlices: t.ExactC<t.IntersectionC<[t.TypeC<{
3256
3254
  step?: number;
3257
3255
  };
3258
3256
  }) | ({
3259
- type: WidgetTypes.Range;
3257
+ type: "Range";
3260
3258
  } & {
3261
3259
  fieldset?: string | null | undefined;
3262
3260
  config?: {
@@ -3267,7 +3265,7 @@ export declare const StaticSlices: t.ExactC<t.IntersectionC<[t.TypeC<{
3267
3265
  step?: number;
3268
3266
  };
3269
3267
  }) | ({
3270
- type: WidgetTypes.RichText;
3268
+ type: "StructuredText";
3271
3269
  } & {
3272
3270
  fieldset?: string | null | undefined;
3273
3271
  config?: {
@@ -3280,27 +3278,27 @@ export declare const StaticSlices: t.ExactC<t.IntersectionC<[t.TypeC<{
3280
3278
  width?: number | null;
3281
3279
  height?: number | null;
3282
3280
  };
3283
- labels?: string[];
3281
+ labels?: readonly string[];
3284
3282
  allowTargetBlank?: boolean;
3285
3283
  };
3286
3284
  }) | ({
3287
- type: WidgetTypes.Select;
3285
+ type: "Select";
3288
3286
  } & {
3289
3287
  fieldset?: string | null | undefined;
3290
3288
  config?: {
3291
3289
  label?: string | null | undefined;
3292
3290
  placeholder?: string;
3293
3291
  default_value?: string;
3294
- options?: string[];
3292
+ options?: readonly string[];
3295
3293
  };
3296
3294
  }) | ({
3297
- type: WidgetTypes.Separator;
3295
+ type: "Separator";
3298
3296
  } & {
3299
3297
  config?: {
3300
3298
  label?: string | null | undefined;
3301
3299
  };
3302
3300
  }) | ({
3303
- type: WidgetTypes.Text;
3301
+ type: "Text";
3304
3302
  } & {
3305
3303
  fieldset?: string | null | undefined;
3306
3304
  config?: {
@@ -3309,7 +3307,7 @@ export declare const StaticSlices: t.ExactC<t.IntersectionC<[t.TypeC<{
3309
3307
  placeholder?: string;
3310
3308
  };
3311
3309
  }) | ({
3312
- type: WidgetTypes.Timestamp;
3310
+ type: "Timestamp";
3313
3311
  } & {
3314
3312
  fieldset?: string | null | undefined;
3315
3313
  config?: {
@@ -3328,13 +3326,13 @@ export declare const StaticSlices: t.ExactC<t.IntersectionC<[t.TypeC<{
3328
3326
  }>]>>;
3329
3327
  export declare type StaticSlices = t.TypeOf<typeof StaticSlices>;
3330
3328
  export declare const DynamicSlices: t.ExactC<t.IntersectionC<[t.TypeC<{
3331
- type: t.UnionC<[t.LiteralC<WidgetTypes.Slices>, t.LiteralC<WidgetTypes.LegacySlices>]>;
3329
+ type: t.UnionC<[t.LiteralC<"Slices">, t.LiteralC<"Choice">]>;
3332
3330
  }>, t.PartialC<{
3333
3331
  fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
3334
3332
  config: t.Type<{
3335
3333
  label?: string | null | undefined;
3336
3334
  labels?: {
3337
- [x: string]: ({
3335
+ [x: string]: readonly ({
3338
3336
  name: string;
3339
3337
  } & {
3340
3338
  display?: string;
@@ -3342,7 +3340,7 @@ export declare const DynamicSlices: t.ExactC<t.IntersectionC<[t.TypeC<{
3342
3340
  } | null;
3343
3341
  choices?: {
3344
3342
  [x: string]: ({
3345
- type: WidgetTypes.BooleanField;
3343
+ type: "Boolean";
3346
3344
  } & {
3347
3345
  config?: {
3348
3346
  label?: string | null | undefined;
@@ -3351,7 +3349,7 @@ export declare const DynamicSlices: t.ExactC<t.IntersectionC<[t.TypeC<{
3351
3349
  placeholder_false?: string;
3352
3350
  };
3353
3351
  }) | ({
3354
- type: WidgetTypes.Color;
3352
+ type: "Color";
3355
3353
  } & {
3356
3354
  fieldset?: string | null | undefined;
3357
3355
  config?: {
@@ -3359,7 +3357,7 @@ export declare const DynamicSlices: t.ExactC<t.IntersectionC<[t.TypeC<{
3359
3357
  placeholder?: string;
3360
3358
  };
3361
3359
  }) | ({
3362
- type: WidgetTypes.Date;
3360
+ type: "Date";
3363
3361
  } & {
3364
3362
  fieldset?: string | null | undefined;
3365
3363
  config?: {
@@ -3368,7 +3366,7 @@ export declare const DynamicSlices: t.ExactC<t.IntersectionC<[t.TypeC<{
3368
3366
  default?: string;
3369
3367
  };
3370
3368
  }) | ({
3371
- type: WidgetTypes.Embed;
3369
+ type: "Embed";
3372
3370
  } & {
3373
3371
  fieldset?: string | null | undefined;
3374
3372
  config?: {
@@ -3377,14 +3375,14 @@ export declare const DynamicSlices: t.ExactC<t.IntersectionC<[t.TypeC<{
3377
3375
  useAsTitle?: boolean;
3378
3376
  };
3379
3377
  }) | ({
3380
- type: WidgetTypes.GeoPoint;
3378
+ type: "GeoPoint";
3381
3379
  } & {
3382
3380
  fieldset?: string | null | undefined;
3383
3381
  config?: {
3384
3382
  label?: string | null | undefined;
3385
3383
  };
3386
3384
  }) | ({
3387
- type: WidgetTypes.Image;
3385
+ type: "Image";
3388
3386
  } & {
3389
3387
  fieldset?: string | null | undefined;
3390
3388
  config?: {
@@ -3394,7 +3392,7 @@ export declare const DynamicSlices: t.ExactC<t.IntersectionC<[t.TypeC<{
3394
3392
  width?: number | null;
3395
3393
  height?: number | null;
3396
3394
  };
3397
- thumbnails?: ({
3395
+ thumbnails?: readonly ({
3398
3396
  name: string;
3399
3397
  } & {
3400
3398
  width?: number | null;
@@ -3402,7 +3400,7 @@ export declare const DynamicSlices: t.ExactC<t.IntersectionC<[t.TypeC<{
3402
3400
  })[];
3403
3401
  };
3404
3402
  }) | ({
3405
- type: WidgetTypes.IntegrationField;
3403
+ type: "IntegrationFields";
3406
3404
  } & {
3407
3405
  fieldset?: string | null | undefined;
3408
3406
  config?: {
@@ -3411,7 +3409,7 @@ export declare const DynamicSlices: t.ExactC<t.IntersectionC<[t.TypeC<{
3411
3409
  catalog?: string;
3412
3410
  };
3413
3411
  }) | ({
3414
- type: WidgetTypes.Link;
3412
+ type: "Link";
3415
3413
  } & {
3416
3414
  fieldset?: string | null | undefined;
3417
3415
  config?: {
@@ -3419,13 +3417,13 @@ export declare const DynamicSlices: t.ExactC<t.IntersectionC<[t.TypeC<{
3419
3417
  useAsTitle?: boolean;
3420
3418
  placeholder?: string;
3421
3419
  select?: "media" | "document" | "web" | null;
3422
- customtypes?: string[];
3423
- masks?: string[];
3424
- tags?: string[];
3420
+ customtypes?: readonly string[];
3421
+ masks?: readonly string[];
3422
+ tags?: readonly string[];
3425
3423
  allowTargetBlank?: boolean;
3426
3424
  };
3427
3425
  }) | ({
3428
- type: WidgetTypes.Number;
3426
+ type: "Number";
3429
3427
  } & {
3430
3428
  fieldset?: string | null | undefined;
3431
3429
  config?: {
@@ -3436,7 +3434,7 @@ export declare const DynamicSlices: t.ExactC<t.IntersectionC<[t.TypeC<{
3436
3434
  step?: number;
3437
3435
  };
3438
3436
  }) | ({
3439
- type: WidgetTypes.Range;
3437
+ type: "Range";
3440
3438
  } & {
3441
3439
  fieldset?: string | null | undefined;
3442
3440
  config?: {
@@ -3447,7 +3445,7 @@ export declare const DynamicSlices: t.ExactC<t.IntersectionC<[t.TypeC<{
3447
3445
  step?: number;
3448
3446
  };
3449
3447
  }) | ({
3450
- type: WidgetTypes.RichText;
3448
+ type: "StructuredText";
3451
3449
  } & {
3452
3450
  fieldset?: string | null | undefined;
3453
3451
  config?: {
@@ -3460,27 +3458,27 @@ export declare const DynamicSlices: t.ExactC<t.IntersectionC<[t.TypeC<{
3460
3458
  width?: number | null;
3461
3459
  height?: number | null;
3462
3460
  };
3463
- labels?: string[];
3461
+ labels?: readonly string[];
3464
3462
  allowTargetBlank?: boolean;
3465
3463
  };
3466
3464
  }) | ({
3467
- type: WidgetTypes.Select;
3465
+ type: "Select";
3468
3466
  } & {
3469
3467
  fieldset?: string | null | undefined;
3470
3468
  config?: {
3471
3469
  label?: string | null | undefined;
3472
3470
  placeholder?: string;
3473
3471
  default_value?: string;
3474
- options?: string[];
3472
+ options?: readonly string[];
3475
3473
  };
3476
3474
  }) | ({
3477
- type: WidgetTypes.Separator;
3475
+ type: "Separator";
3478
3476
  } & {
3479
3477
  config?: {
3480
3478
  label?: string | null | undefined;
3481
3479
  };
3482
3480
  }) | ({
3483
- type: WidgetTypes.Text;
3481
+ type: "Text";
3484
3482
  } & {
3485
3483
  fieldset?: string | null | undefined;
3486
3484
  config?: {
@@ -3489,7 +3487,7 @@ export declare const DynamicSlices: t.ExactC<t.IntersectionC<[t.TypeC<{
3489
3487
  placeholder?: string;
3490
3488
  };
3491
3489
  }) | ({
3492
- type: WidgetTypes.Timestamp;
3490
+ type: "Timestamp";
3493
3491
  } & {
3494
3492
  fieldset?: string | null | undefined;
3495
3493
  config?: {
@@ -3498,7 +3496,7 @@ export declare const DynamicSlices: t.ExactC<t.IntersectionC<[t.TypeC<{
3498
3496
  default?: string;
3499
3497
  };
3500
3498
  }) | ({
3501
- type: SlicesTypes.Slice;
3499
+ type: "Slice";
3502
3500
  } & {
3503
3501
  fieldset?: string | null | undefined;
3504
3502
  description?: string;
@@ -3506,7 +3504,7 @@ export declare const DynamicSlices: t.ExactC<t.IntersectionC<[t.TypeC<{
3506
3504
  display?: string;
3507
3505
  "non-repeat"?: {
3508
3506
  [x: string]: ({
3509
- type: WidgetTypes.BooleanField;
3507
+ type: "Boolean";
3510
3508
  } & {
3511
3509
  config?: {
3512
3510
  label?: string | null | undefined;
@@ -3515,7 +3513,7 @@ export declare const DynamicSlices: t.ExactC<t.IntersectionC<[t.TypeC<{
3515
3513
  placeholder_false?: string;
3516
3514
  };
3517
3515
  }) | ({
3518
- type: WidgetTypes.Color;
3516
+ type: "Color";
3519
3517
  } & {
3520
3518
  fieldset?: string | null | undefined;
3521
3519
  config?: {
@@ -3523,7 +3521,7 @@ export declare const DynamicSlices: t.ExactC<t.IntersectionC<[t.TypeC<{
3523
3521
  placeholder?: string;
3524
3522
  };
3525
3523
  }) | ({
3526
- type: WidgetTypes.Date;
3524
+ type: "Date";
3527
3525
  } & {
3528
3526
  fieldset?: string | null | undefined;
3529
3527
  config?: {
@@ -3532,7 +3530,7 @@ export declare const DynamicSlices: t.ExactC<t.IntersectionC<[t.TypeC<{
3532
3530
  default?: string;
3533
3531
  };
3534
3532
  }) | ({
3535
- type: WidgetTypes.Embed;
3533
+ type: "Embed";
3536
3534
  } & {
3537
3535
  fieldset?: string | null | undefined;
3538
3536
  config?: {
@@ -3541,14 +3539,14 @@ export declare const DynamicSlices: t.ExactC<t.IntersectionC<[t.TypeC<{
3541
3539
  useAsTitle?: boolean;
3542
3540
  };
3543
3541
  }) | ({
3544
- type: WidgetTypes.GeoPoint;
3542
+ type: "GeoPoint";
3545
3543
  } & {
3546
3544
  fieldset?: string | null | undefined;
3547
3545
  config?: {
3548
3546
  label?: string | null | undefined;
3549
3547
  };
3550
3548
  }) | ({
3551
- type: WidgetTypes.Image;
3549
+ type: "Image";
3552
3550
  } & {
3553
3551
  fieldset?: string | null | undefined;
3554
3552
  config?: {
@@ -3558,7 +3556,7 @@ export declare const DynamicSlices: t.ExactC<t.IntersectionC<[t.TypeC<{
3558
3556
  width?: number | null;
3559
3557
  height?: number | null;
3560
3558
  };
3561
- thumbnails?: ({
3559
+ thumbnails?: readonly ({
3562
3560
  name: string;
3563
3561
  } & {
3564
3562
  width?: number | null;
@@ -3566,7 +3564,7 @@ export declare const DynamicSlices: t.ExactC<t.IntersectionC<[t.TypeC<{
3566
3564
  })[];
3567
3565
  };
3568
3566
  }) | ({
3569
- type: WidgetTypes.IntegrationField;
3567
+ type: "IntegrationFields";
3570
3568
  } & {
3571
3569
  fieldset?: string | null | undefined;
3572
3570
  config?: {
@@ -3575,7 +3573,7 @@ export declare const DynamicSlices: t.ExactC<t.IntersectionC<[t.TypeC<{
3575
3573
  catalog?: string;
3576
3574
  };
3577
3575
  }) | ({
3578
- type: WidgetTypes.Link;
3576
+ type: "Link";
3579
3577
  } & {
3580
3578
  fieldset?: string | null | undefined;
3581
3579
  config?: {
@@ -3583,13 +3581,13 @@ export declare const DynamicSlices: t.ExactC<t.IntersectionC<[t.TypeC<{
3583
3581
  useAsTitle?: boolean;
3584
3582
  placeholder?: string;
3585
3583
  select?: "media" | "document" | "web" | null;
3586
- customtypes?: string[];
3587
- masks?: string[];
3588
- tags?: string[];
3584
+ customtypes?: readonly string[];
3585
+ masks?: readonly string[];
3586
+ tags?: readonly string[];
3589
3587
  allowTargetBlank?: boolean;
3590
3588
  };
3591
3589
  }) | ({
3592
- type: WidgetTypes.Number;
3590
+ type: "Number";
3593
3591
  } & {
3594
3592
  fieldset?: string | null | undefined;
3595
3593
  config?: {
@@ -3600,7 +3598,7 @@ export declare const DynamicSlices: t.ExactC<t.IntersectionC<[t.TypeC<{
3600
3598
  step?: number;
3601
3599
  };
3602
3600
  }) | ({
3603
- type: WidgetTypes.Range;
3601
+ type: "Range";
3604
3602
  } & {
3605
3603
  fieldset?: string | null | undefined;
3606
3604
  config?: {
@@ -3611,7 +3609,7 @@ export declare const DynamicSlices: t.ExactC<t.IntersectionC<[t.TypeC<{
3611
3609
  step?: number;
3612
3610
  };
3613
3611
  }) | ({
3614
- type: WidgetTypes.RichText;
3612
+ type: "StructuredText";
3615
3613
  } & {
3616
3614
  fieldset?: string | null | undefined;
3617
3615
  config?: {
@@ -3624,27 +3622,27 @@ export declare const DynamicSlices: t.ExactC<t.IntersectionC<[t.TypeC<{
3624
3622
  width?: number | null;
3625
3623
  height?: number | null;
3626
3624
  };
3627
- labels?: string[];
3625
+ labels?: readonly string[];
3628
3626
  allowTargetBlank?: boolean;
3629
3627
  };
3630
3628
  }) | ({
3631
- type: WidgetTypes.Select;
3629
+ type: "Select";
3632
3630
  } & {
3633
3631
  fieldset?: string | null | undefined;
3634
3632
  config?: {
3635
3633
  label?: string | null | undefined;
3636
3634
  placeholder?: string;
3637
3635
  default_value?: string;
3638
- options?: string[];
3636
+ options?: readonly string[];
3639
3637
  };
3640
3638
  }) | ({
3641
- type: WidgetTypes.Separator;
3639
+ type: "Separator";
3642
3640
  } & {
3643
3641
  config?: {
3644
3642
  label?: string | null | undefined;
3645
3643
  };
3646
3644
  }) | ({
3647
- type: WidgetTypes.Text;
3645
+ type: "Text";
3648
3646
  } & {
3649
3647
  fieldset?: string | null | undefined;
3650
3648
  config?: {
@@ -3653,7 +3651,7 @@ export declare const DynamicSlices: t.ExactC<t.IntersectionC<[t.TypeC<{
3653
3651
  placeholder?: string;
3654
3652
  };
3655
3653
  }) | ({
3656
- type: WidgetTypes.Timestamp;
3654
+ type: "Timestamp";
3657
3655
  } & {
3658
3656
  fieldset?: string | null | undefined;
3659
3657
  config?: {
@@ -3665,7 +3663,7 @@ export declare const DynamicSlices: t.ExactC<t.IntersectionC<[t.TypeC<{
3665
3663
  };
3666
3664
  repeat?: {
3667
3665
  [x: string]: ({
3668
- type: WidgetTypes.BooleanField;
3666
+ type: "Boolean";
3669
3667
  } & {
3670
3668
  config?: {
3671
3669
  label?: string | null | undefined;
@@ -3674,7 +3672,7 @@ export declare const DynamicSlices: t.ExactC<t.IntersectionC<[t.TypeC<{
3674
3672
  placeholder_false?: string;
3675
3673
  };
3676
3674
  }) | ({
3677
- type: WidgetTypes.Color;
3675
+ type: "Color";
3678
3676
  } & {
3679
3677
  fieldset?: string | null | undefined;
3680
3678
  config?: {
@@ -3682,7 +3680,7 @@ export declare const DynamicSlices: t.ExactC<t.IntersectionC<[t.TypeC<{
3682
3680
  placeholder?: string;
3683
3681
  };
3684
3682
  }) | ({
3685
- type: WidgetTypes.Date;
3683
+ type: "Date";
3686
3684
  } & {
3687
3685
  fieldset?: string | null | undefined;
3688
3686
  config?: {
@@ -3691,7 +3689,7 @@ export declare const DynamicSlices: t.ExactC<t.IntersectionC<[t.TypeC<{
3691
3689
  default?: string;
3692
3690
  };
3693
3691
  }) | ({
3694
- type: WidgetTypes.Embed;
3692
+ type: "Embed";
3695
3693
  } & {
3696
3694
  fieldset?: string | null | undefined;
3697
3695
  config?: {
@@ -3700,14 +3698,14 @@ export declare const DynamicSlices: t.ExactC<t.IntersectionC<[t.TypeC<{
3700
3698
  useAsTitle?: boolean;
3701
3699
  };
3702
3700
  }) | ({
3703
- type: WidgetTypes.GeoPoint;
3701
+ type: "GeoPoint";
3704
3702
  } & {
3705
3703
  fieldset?: string | null | undefined;
3706
3704
  config?: {
3707
3705
  label?: string | null | undefined;
3708
3706
  };
3709
3707
  }) | ({
3710
- type: WidgetTypes.Image;
3708
+ type: "Image";
3711
3709
  } & {
3712
3710
  fieldset?: string | null | undefined;
3713
3711
  config?: {
@@ -3717,7 +3715,7 @@ export declare const DynamicSlices: t.ExactC<t.IntersectionC<[t.TypeC<{
3717
3715
  width?: number | null;
3718
3716
  height?: number | null;
3719
3717
  };
3720
- thumbnails?: ({
3718
+ thumbnails?: readonly ({
3721
3719
  name: string;
3722
3720
  } & {
3723
3721
  width?: number | null;
@@ -3725,7 +3723,7 @@ export declare const DynamicSlices: t.ExactC<t.IntersectionC<[t.TypeC<{
3725
3723
  })[];
3726
3724
  };
3727
3725
  }) | ({
3728
- type: WidgetTypes.IntegrationField;
3726
+ type: "IntegrationFields";
3729
3727
  } & {
3730
3728
  fieldset?: string | null | undefined;
3731
3729
  config?: {
@@ -3734,7 +3732,7 @@ export declare const DynamicSlices: t.ExactC<t.IntersectionC<[t.TypeC<{
3734
3732
  catalog?: string;
3735
3733
  };
3736
3734
  }) | ({
3737
- type: WidgetTypes.Link;
3735
+ type: "Link";
3738
3736
  } & {
3739
3737
  fieldset?: string | null | undefined;
3740
3738
  config?: {
@@ -3742,13 +3740,13 @@ export declare const DynamicSlices: t.ExactC<t.IntersectionC<[t.TypeC<{
3742
3740
  useAsTitle?: boolean;
3743
3741
  placeholder?: string;
3744
3742
  select?: "media" | "document" | "web" | null;
3745
- customtypes?: string[];
3746
- masks?: string[];
3747
- tags?: string[];
3743
+ customtypes?: readonly string[];
3744
+ masks?: readonly string[];
3745
+ tags?: readonly string[];
3748
3746
  allowTargetBlank?: boolean;
3749
3747
  };
3750
3748
  }) | ({
3751
- type: WidgetTypes.Number;
3749
+ type: "Number";
3752
3750
  } & {
3753
3751
  fieldset?: string | null | undefined;
3754
3752
  config?: {
@@ -3759,7 +3757,7 @@ export declare const DynamicSlices: t.ExactC<t.IntersectionC<[t.TypeC<{
3759
3757
  step?: number;
3760
3758
  };
3761
3759
  }) | ({
3762
- type: WidgetTypes.Range;
3760
+ type: "Range";
3763
3761
  } & {
3764
3762
  fieldset?: string | null | undefined;
3765
3763
  config?: {
@@ -3770,7 +3768,7 @@ export declare const DynamicSlices: t.ExactC<t.IntersectionC<[t.TypeC<{
3770
3768
  step?: number;
3771
3769
  };
3772
3770
  }) | ({
3773
- type: WidgetTypes.RichText;
3771
+ type: "StructuredText";
3774
3772
  } & {
3775
3773
  fieldset?: string | null | undefined;
3776
3774
  config?: {
@@ -3783,27 +3781,27 @@ export declare const DynamicSlices: t.ExactC<t.IntersectionC<[t.TypeC<{
3783
3781
  width?: number | null;
3784
3782
  height?: number | null;
3785
3783
  };
3786
- labels?: string[];
3784
+ labels?: readonly string[];
3787
3785
  allowTargetBlank?: boolean;
3788
3786
  };
3789
3787
  }) | ({
3790
- type: WidgetTypes.Select;
3788
+ type: "Select";
3791
3789
  } & {
3792
3790
  fieldset?: string | null | undefined;
3793
3791
  config?: {
3794
3792
  label?: string | null | undefined;
3795
3793
  placeholder?: string;
3796
3794
  default_value?: string;
3797
- options?: string[];
3795
+ options?: readonly string[];
3798
3796
  };
3799
3797
  }) | ({
3800
- type: WidgetTypes.Separator;
3798
+ type: "Separator";
3801
3799
  } & {
3802
3800
  config?: {
3803
3801
  label?: string | null | undefined;
3804
3802
  };
3805
3803
  }) | ({
3806
- type: WidgetTypes.Text;
3804
+ type: "Text";
3807
3805
  } & {
3808
3806
  fieldset?: string | null | undefined;
3809
3807
  config?: {
@@ -3812,7 +3810,7 @@ export declare const DynamicSlices: t.ExactC<t.IntersectionC<[t.TypeC<{
3812
3810
  placeholder?: string;
3813
3811
  };
3814
3812
  }) | ({
3815
- type: WidgetTypes.Timestamp;
3813
+ type: "Timestamp";
3816
3814
  } & {
3817
3815
  fieldset?: string | null | undefined;
3818
3816
  config?: {
@@ -3826,7 +3824,7 @@ export declare const DynamicSlices: t.ExactC<t.IntersectionC<[t.TypeC<{
3826
3824
  label?: string | null | undefined;
3827
3825
  };
3828
3826
  }) | ({
3829
- type: WidgetTypes.Group;
3827
+ type: "Group";
3830
3828
  } & {
3831
3829
  fieldset?: string | null | undefined;
3832
3830
  icon?: string;
@@ -3836,7 +3834,7 @@ export declare const DynamicSlices: t.ExactC<t.IntersectionC<[t.TypeC<{
3836
3834
  repeat?: boolean;
3837
3835
  fields?: {
3838
3836
  [x: string]: ({
3839
- type: WidgetTypes.BooleanField;
3837
+ type: "Boolean";
3840
3838
  } & {
3841
3839
  config?: {
3842
3840
  label?: string | null | undefined;
@@ -3845,7 +3843,7 @@ export declare const DynamicSlices: t.ExactC<t.IntersectionC<[t.TypeC<{
3845
3843
  placeholder_false?: string;
3846
3844
  };
3847
3845
  }) | ({
3848
- type: WidgetTypes.Color;
3846
+ type: "Color";
3849
3847
  } & {
3850
3848
  fieldset?: string | null | undefined;
3851
3849
  config?: {
@@ -3853,7 +3851,7 @@ export declare const DynamicSlices: t.ExactC<t.IntersectionC<[t.TypeC<{
3853
3851
  placeholder?: string;
3854
3852
  };
3855
3853
  }) | ({
3856
- type: WidgetTypes.Date;
3854
+ type: "Date";
3857
3855
  } & {
3858
3856
  fieldset?: string | null | undefined;
3859
3857
  config?: {
@@ -3862,7 +3860,7 @@ export declare const DynamicSlices: t.ExactC<t.IntersectionC<[t.TypeC<{
3862
3860
  default?: string;
3863
3861
  };
3864
3862
  }) | ({
3865
- type: WidgetTypes.Embed;
3863
+ type: "Embed";
3866
3864
  } & {
3867
3865
  fieldset?: string | null | undefined;
3868
3866
  config?: {
@@ -3871,14 +3869,14 @@ export declare const DynamicSlices: t.ExactC<t.IntersectionC<[t.TypeC<{
3871
3869
  useAsTitle?: boolean;
3872
3870
  };
3873
3871
  }) | ({
3874
- type: WidgetTypes.GeoPoint;
3872
+ type: "GeoPoint";
3875
3873
  } & {
3876
3874
  fieldset?: string | null | undefined;
3877
3875
  config?: {
3878
3876
  label?: string | null | undefined;
3879
3877
  };
3880
3878
  }) | ({
3881
- type: WidgetTypes.Image;
3879
+ type: "Image";
3882
3880
  } & {
3883
3881
  fieldset?: string | null | undefined;
3884
3882
  config?: {
@@ -3888,7 +3886,7 @@ export declare const DynamicSlices: t.ExactC<t.IntersectionC<[t.TypeC<{
3888
3886
  width?: number | null;
3889
3887
  height?: number | null;
3890
3888
  };
3891
- thumbnails?: ({
3889
+ thumbnails?: readonly ({
3892
3890
  name: string;
3893
3891
  } & {
3894
3892
  width?: number | null;
@@ -3896,7 +3894,7 @@ export declare const DynamicSlices: t.ExactC<t.IntersectionC<[t.TypeC<{
3896
3894
  })[];
3897
3895
  };
3898
3896
  }) | ({
3899
- type: WidgetTypes.IntegrationField;
3897
+ type: "IntegrationFields";
3900
3898
  } & {
3901
3899
  fieldset?: string | null | undefined;
3902
3900
  config?: {
@@ -3905,7 +3903,7 @@ export declare const DynamicSlices: t.ExactC<t.IntersectionC<[t.TypeC<{
3905
3903
  catalog?: string;
3906
3904
  };
3907
3905
  }) | ({
3908
- type: WidgetTypes.Link;
3906
+ type: "Link";
3909
3907
  } & {
3910
3908
  fieldset?: string | null | undefined;
3911
3909
  config?: {
@@ -3913,13 +3911,13 @@ export declare const DynamicSlices: t.ExactC<t.IntersectionC<[t.TypeC<{
3913
3911
  useAsTitle?: boolean;
3914
3912
  placeholder?: string;
3915
3913
  select?: "media" | "document" | "web" | null;
3916
- customtypes?: string[];
3917
- masks?: string[];
3918
- tags?: string[];
3914
+ customtypes?: readonly string[];
3915
+ masks?: readonly string[];
3916
+ tags?: readonly string[];
3919
3917
  allowTargetBlank?: boolean;
3920
3918
  };
3921
3919
  }) | ({
3922
- type: WidgetTypes.Number;
3920
+ type: "Number";
3923
3921
  } & {
3924
3922
  fieldset?: string | null | undefined;
3925
3923
  config?: {
@@ -3930,7 +3928,7 @@ export declare const DynamicSlices: t.ExactC<t.IntersectionC<[t.TypeC<{
3930
3928
  step?: number;
3931
3929
  };
3932
3930
  }) | ({
3933
- type: WidgetTypes.Range;
3931
+ type: "Range";
3934
3932
  } & {
3935
3933
  fieldset?: string | null | undefined;
3936
3934
  config?: {
@@ -3941,7 +3939,7 @@ export declare const DynamicSlices: t.ExactC<t.IntersectionC<[t.TypeC<{
3941
3939
  step?: number;
3942
3940
  };
3943
3941
  }) | ({
3944
- type: WidgetTypes.RichText;
3942
+ type: "StructuredText";
3945
3943
  } & {
3946
3944
  fieldset?: string | null | undefined;
3947
3945
  config?: {
@@ -3954,27 +3952,27 @@ export declare const DynamicSlices: t.ExactC<t.IntersectionC<[t.TypeC<{
3954
3952
  width?: number | null;
3955
3953
  height?: number | null;
3956
3954
  };
3957
- labels?: string[];
3955
+ labels?: readonly string[];
3958
3956
  allowTargetBlank?: boolean;
3959
3957
  };
3960
3958
  }) | ({
3961
- type: WidgetTypes.Select;
3959
+ type: "Select";
3962
3960
  } & {
3963
3961
  fieldset?: string | null | undefined;
3964
3962
  config?: {
3965
3963
  label?: string | null | undefined;
3966
3964
  placeholder?: string;
3967
3965
  default_value?: string;
3968
- options?: string[];
3966
+ options?: readonly string[];
3969
3967
  };
3970
3968
  }) | ({
3971
- type: WidgetTypes.Separator;
3969
+ type: "Separator";
3972
3970
  } & {
3973
3971
  config?: {
3974
3972
  label?: string | null | undefined;
3975
3973
  };
3976
3974
  }) | ({
3977
- type: WidgetTypes.Text;
3975
+ type: "Text";
3978
3976
  } & {
3979
3977
  fieldset?: string | null | undefined;
3980
3978
  config?: {
@@ -3983,7 +3981,7 @@ export declare const DynamicSlices: t.ExactC<t.IntersectionC<[t.TypeC<{
3983
3981
  placeholder?: string;
3984
3982
  };
3985
3983
  }) | ({
3986
- type: WidgetTypes.Timestamp;
3984
+ type: "Timestamp";
3987
3985
  } & {
3988
3986
  fieldset?: string | null | undefined;
3989
3987
  config?: {
@@ -3995,7 +3993,7 @@ export declare const DynamicSlices: t.ExactC<t.IntersectionC<[t.TypeC<{
3995
3993
  };
3996
3994
  };
3997
3995
  }) | {
3998
- type: SlicesTypes.SharedSlice;
3996
+ type: "SharedSlice";
3999
3997
  };
4000
3998
  };
4001
3999
  }, unknown, unknown>;