@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,8 @@
1
1
  import * as t from "io-ts";
2
2
  import type { SharedSlice } from "./slices/SharedSlice";
3
3
  import { DynamicSlices, StaticSlices } from "./slices/Slices";
4
- import WidgetTypes from "./WidgetTypes";
5
4
  export declare function widgetReader<T extends StaticSlices | DynamicSlices>(codec: t.Type<T, unknown>): t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
6
- type: t.LiteralC<WidgetTypes.UID>;
5
+ type: t.LiteralC<"UID">;
7
6
  }>, t.PartialC<{
8
7
  fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
9
8
  config: t.ExactC<t.PartialC<{
@@ -12,7 +11,7 @@ export declare function widgetReader<T extends StaticSlices | DynamicSlices>(cod
12
11
  placeholder: t.StringC;
13
12
  }>>;
14
13
  }>]>>, t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
15
- type: t.LiteralC<WidgetTypes.Color>;
14
+ type: t.LiteralC<"Color">;
16
15
  }>, t.PartialC<{
17
16
  fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
18
17
  config: t.ExactC<t.PartialC<{
@@ -20,7 +19,7 @@ export declare function widgetReader<T extends StaticSlices | DynamicSlices>(cod
20
19
  placeholder: t.StringC;
21
20
  }>>;
22
21
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
23
- type: t.LiteralC<WidgetTypes.BooleanField>;
22
+ type: t.LiteralC<"Boolean">;
24
23
  }>, t.PartialC<{
25
24
  config: t.ExactC<t.PartialC<{
26
25
  label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
@@ -29,7 +28,7 @@ export declare function widgetReader<T extends StaticSlices | DynamicSlices>(cod
29
28
  placeholder_false: t.StringC;
30
29
  }>>;
31
30
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
32
- type: t.LiteralC<WidgetTypes.Embed>;
31
+ type: t.LiteralC<"Embed">;
33
32
  }>, t.PartialC<{
34
33
  fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
35
34
  config: t.ExactC<t.PartialC<{
@@ -38,14 +37,14 @@ export declare function widgetReader<T extends StaticSlices | DynamicSlices>(cod
38
37
  useAsTitle: t.BooleanC;
39
38
  }>>;
40
39
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
41
- type: t.LiteralC<WidgetTypes.GeoPoint>;
40
+ type: t.LiteralC<"GeoPoint">;
42
41
  }>, t.PartialC<{
43
42
  fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
44
43
  config: t.ExactC<t.PartialC<{
45
44
  label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
46
45
  }>>;
47
46
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
48
- type: t.LiteralC<WidgetTypes.Date>;
47
+ type: t.LiteralC<"Date">;
49
48
  }>, t.PartialC<{
50
49
  fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
51
50
  config: t.ExactC<t.PartialC<{
@@ -54,7 +53,7 @@ export declare function widgetReader<T extends StaticSlices | DynamicSlices>(cod
54
53
  default: t.StringC;
55
54
  }>>;
56
55
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
57
- type: t.LiteralC<WidgetTypes.Number>;
56
+ type: t.LiteralC<"Number">;
58
57
  }>, t.PartialC<{
59
58
  fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
60
59
  config: t.ExactC<t.PartialC<{
@@ -65,7 +64,7 @@ export declare function widgetReader<T extends StaticSlices | DynamicSlices>(cod
65
64
  step: t.UnionC<[t.NumberC, import("io-ts-types").NumberFromStringC]>;
66
65
  }>>;
67
66
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
68
- type: t.LiteralC<WidgetTypes.Range>;
67
+ type: t.LiteralC<"Range">;
69
68
  }>, t.PartialC<{
70
69
  fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
71
70
  config: t.ExactC<t.PartialC<{
@@ -76,7 +75,7 @@ export declare function widgetReader<T extends StaticSlices | DynamicSlices>(cod
76
75
  step: t.UnionC<[t.NumberC, import("io-ts-types").NumberFromStringC]>;
77
76
  }>>;
78
77
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
79
- type: t.LiteralC<WidgetTypes.RichText>;
78
+ type: t.LiteralC<"StructuredText">;
80
79
  }>, t.PartialC<{
81
80
  fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
82
81
  config: t.ExactC<t.PartialC<{
@@ -89,27 +88,27 @@ export declare function widgetReader<T extends StaticSlices | DynamicSlices>(cod
89
88
  width: t.Type<number | null, unknown, unknown>;
90
89
  height: t.Type<number | null, unknown, unknown>;
91
90
  }>;
92
- labels: t.Type<string[], object, unknown>;
91
+ labels: t.Type<readonly string[], object, unknown>;
93
92
  allowTargetBlank: t.BooleanC;
94
93
  }>>;
95
94
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
96
- type: t.LiteralC<WidgetTypes.Select>;
95
+ type: t.LiteralC<"Select">;
97
96
  }>, t.PartialC<{
98
97
  fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
99
98
  config: t.ExactC<t.PartialC<{
100
99
  label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
101
100
  placeholder: t.StringC;
102
101
  default_value: t.StringC;
103
- options: t.ArrayC<t.UnionC<[t.StringC, t.Type<string, string, unknown>, t.Type<string, string, unknown>]>>;
102
+ options: t.ReadonlyArrayC<t.UnionC<[t.StringC, t.Type<string, string, unknown>, t.Type<string, string, unknown>]>>;
104
103
  }>>;
105
104
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
106
- type: t.LiteralC<WidgetTypes.Separator>;
105
+ type: t.LiteralC<"Separator">;
107
106
  }>, t.PartialC<{
108
107
  config: t.ExactC<t.PartialC<{
109
108
  label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
110
109
  }>>;
111
110
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
112
- type: t.LiteralC<WidgetTypes.Text>;
111
+ type: t.LiteralC<"Text">;
113
112
  }>, t.PartialC<{
114
113
  fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
115
114
  config: t.ExactC<t.PartialC<{
@@ -118,7 +117,7 @@ export declare function widgetReader<T extends StaticSlices | DynamicSlices>(cod
118
117
  placeholder: t.StringC;
119
118
  }>>;
120
119
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
121
- type: t.LiteralC<WidgetTypes.Timestamp>;
120
+ type: t.LiteralC<"Timestamp">;
122
121
  }>, t.PartialC<{
123
122
  fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
124
123
  config: t.ExactC<t.PartialC<{
@@ -127,7 +126,7 @@ export declare function widgetReader<T extends StaticSlices | DynamicSlices>(cod
127
126
  default: t.StringC;
128
127
  }>>;
129
128
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
130
- type: t.LiteralC<WidgetTypes.Link>;
129
+ type: t.LiteralC<"Link">;
131
130
  }>, t.PartialC<{
132
131
  fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
133
132
  config: t.ExactC<t.PartialC<{
@@ -135,13 +134,13 @@ export declare function widgetReader<T extends StaticSlices | DynamicSlices>(cod
135
134
  useAsTitle: t.BooleanC;
136
135
  placeholder: t.StringC;
137
136
  select: t.UnionC<[t.LiteralC<"media">, t.LiteralC<"document">, t.LiteralC<"web">, t.NullC]>;
138
- customtypes: t.ArrayC<t.StringC>;
139
- masks: t.Type<string[], object, unknown>;
140
- tags: t.Type<string[], object, unknown>;
137
+ customtypes: t.ReadonlyArrayC<t.StringC>;
138
+ masks: t.Type<readonly string[], object, unknown>;
139
+ tags: t.Type<readonly string[], object, unknown>;
141
140
  allowTargetBlank: t.BooleanC;
142
141
  }>>;
143
142
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
144
- type: t.LiteralC<WidgetTypes.Image>;
143
+ type: t.LiteralC<"Image">;
145
144
  }>, t.PartialC<{
146
145
  fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
147
146
  config: t.ExactC<t.PartialC<{
@@ -151,7 +150,7 @@ export declare function widgetReader<T extends StaticSlices | DynamicSlices>(cod
151
150
  width: t.Type<number | null, unknown, unknown>;
152
151
  height: t.Type<number | null, unknown, unknown>;
153
152
  }>;
154
- thumbnails: t.ArrayC<t.ExactC<t.IntersectionC<[t.TypeC<{
153
+ thumbnails: t.ReadonlyArrayC<t.ExactC<t.IntersectionC<[t.TypeC<{
155
154
  name: t.StringC;
156
155
  }>, t.PartialC<{
157
156
  width: t.Type<number | null, unknown, unknown>;
@@ -159,7 +158,7 @@ export declare function widgetReader<T extends StaticSlices | DynamicSlices>(cod
159
158
  }>]>>>;
160
159
  }>>;
161
160
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
162
- type: t.LiteralC<WidgetTypes.IntegrationField>;
161
+ type: t.LiteralC<"IntegrationFields">;
163
162
  }>, t.PartialC<{
164
163
  fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
165
164
  config: t.ExactC<t.PartialC<{
@@ -168,7 +167,7 @@ export declare function widgetReader<T extends StaticSlices | DynamicSlices>(cod
168
167
  catalog: t.StringC;
169
168
  }>>;
170
169
  }>]>>]>, t.ExactC<t.IntersectionC<[t.TypeC<{
171
- type: t.LiteralC<WidgetTypes.Group>;
170
+ type: t.LiteralC<"Group">;
172
171
  }>, t.PartialC<{
173
172
  fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
174
173
  icon: t.StringC;
@@ -177,7 +176,7 @@ export declare function widgetReader<T extends StaticSlices | DynamicSlices>(cod
177
176
  label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
178
177
  repeat: t.BooleanC;
179
178
  fields: t.RecordC<t.StringC, t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
180
- type: t.LiteralC<WidgetTypes.Color>;
179
+ type: t.LiteralC<"Color">;
181
180
  }>, t.PartialC<{
182
181
  fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
183
182
  config: t.ExactC<t.PartialC<{
@@ -185,7 +184,7 @@ export declare function widgetReader<T extends StaticSlices | DynamicSlices>(cod
185
184
  placeholder: t.StringC;
186
185
  }>>;
187
186
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
188
- type: t.LiteralC<WidgetTypes.BooleanField>;
187
+ type: t.LiteralC<"Boolean">;
189
188
  }>, t.PartialC<{
190
189
  config: t.ExactC<t.PartialC<{
191
190
  label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
@@ -194,7 +193,7 @@ export declare function widgetReader<T extends StaticSlices | DynamicSlices>(cod
194
193
  placeholder_false: t.StringC;
195
194
  }>>;
196
195
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
197
- type: t.LiteralC<WidgetTypes.Embed>;
196
+ type: t.LiteralC<"Embed">;
198
197
  }>, t.PartialC<{
199
198
  fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
200
199
  config: t.ExactC<t.PartialC<{
@@ -203,14 +202,14 @@ export declare function widgetReader<T extends StaticSlices | DynamicSlices>(cod
203
202
  useAsTitle: t.BooleanC;
204
203
  }>>;
205
204
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
206
- type: t.LiteralC<WidgetTypes.GeoPoint>;
205
+ type: t.LiteralC<"GeoPoint">;
207
206
  }>, t.PartialC<{
208
207
  fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
209
208
  config: t.ExactC<t.PartialC<{
210
209
  label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
211
210
  }>>;
212
211
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
213
- type: t.LiteralC<WidgetTypes.Date>;
212
+ type: t.LiteralC<"Date">;
214
213
  }>, t.PartialC<{
215
214
  fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
216
215
  config: t.ExactC<t.PartialC<{
@@ -219,7 +218,7 @@ export declare function widgetReader<T extends StaticSlices | DynamicSlices>(cod
219
218
  default: t.StringC;
220
219
  }>>;
221
220
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
222
- type: t.LiteralC<WidgetTypes.Number>;
221
+ type: t.LiteralC<"Number">;
223
222
  }>, t.PartialC<{
224
223
  fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
225
224
  config: t.ExactC<t.PartialC<{
@@ -230,7 +229,7 @@ export declare function widgetReader<T extends StaticSlices | DynamicSlices>(cod
230
229
  step: t.UnionC<[t.NumberC, import("io-ts-types").NumberFromStringC]>;
231
230
  }>>;
232
231
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
233
- type: t.LiteralC<WidgetTypes.Range>;
232
+ type: t.LiteralC<"Range">;
234
233
  }>, t.PartialC<{
235
234
  fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
236
235
  config: t.ExactC<t.PartialC<{
@@ -241,7 +240,7 @@ export declare function widgetReader<T extends StaticSlices | DynamicSlices>(cod
241
240
  step: t.UnionC<[t.NumberC, import("io-ts-types").NumberFromStringC]>;
242
241
  }>>;
243
242
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
244
- type: t.LiteralC<WidgetTypes.RichText>;
243
+ type: t.LiteralC<"StructuredText">;
245
244
  }>, t.PartialC<{
246
245
  fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
247
246
  config: t.ExactC<t.PartialC<{
@@ -254,27 +253,27 @@ export declare function widgetReader<T extends StaticSlices | DynamicSlices>(cod
254
253
  width: t.Type<number | null, unknown, unknown>;
255
254
  height: t.Type<number | null, unknown, unknown>;
256
255
  }>;
257
- labels: t.Type<string[], object, unknown>;
256
+ labels: t.Type<readonly string[], object, unknown>;
258
257
  allowTargetBlank: t.BooleanC;
259
258
  }>>;
260
259
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
261
- type: t.LiteralC<WidgetTypes.Select>;
260
+ type: t.LiteralC<"Select">;
262
261
  }>, t.PartialC<{
263
262
  fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
264
263
  config: t.ExactC<t.PartialC<{
265
264
  label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
266
265
  placeholder: t.StringC;
267
266
  default_value: t.StringC;
268
- options: t.ArrayC<t.UnionC<[t.StringC, t.Type<string, string, unknown>, t.Type<string, string, unknown>]>>;
267
+ options: t.ReadonlyArrayC<t.UnionC<[t.StringC, t.Type<string, string, unknown>, t.Type<string, string, unknown>]>>;
269
268
  }>>;
270
269
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
271
- type: t.LiteralC<WidgetTypes.Separator>;
270
+ type: t.LiteralC<"Separator">;
272
271
  }>, t.PartialC<{
273
272
  config: t.ExactC<t.PartialC<{
274
273
  label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
275
274
  }>>;
276
275
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
277
- type: t.LiteralC<WidgetTypes.Text>;
276
+ type: t.LiteralC<"Text">;
278
277
  }>, t.PartialC<{
279
278
  fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
280
279
  config: t.ExactC<t.PartialC<{
@@ -283,7 +282,7 @@ export declare function widgetReader<T extends StaticSlices | DynamicSlices>(cod
283
282
  placeholder: t.StringC;
284
283
  }>>;
285
284
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
286
- type: t.LiteralC<WidgetTypes.Timestamp>;
285
+ type: t.LiteralC<"Timestamp">;
287
286
  }>, t.PartialC<{
288
287
  fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
289
288
  config: t.ExactC<t.PartialC<{
@@ -292,7 +291,7 @@ export declare function widgetReader<T extends StaticSlices | DynamicSlices>(cod
292
291
  default: t.StringC;
293
292
  }>>;
294
293
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
295
- type: t.LiteralC<WidgetTypes.Link>;
294
+ type: t.LiteralC<"Link">;
296
295
  }>, t.PartialC<{
297
296
  fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
298
297
  config: t.ExactC<t.PartialC<{
@@ -300,13 +299,13 @@ export declare function widgetReader<T extends StaticSlices | DynamicSlices>(cod
300
299
  useAsTitle: t.BooleanC;
301
300
  placeholder: t.StringC;
302
301
  select: t.UnionC<[t.LiteralC<"media">, t.LiteralC<"document">, t.LiteralC<"web">, t.NullC]>;
303
- customtypes: t.ArrayC<t.StringC>;
304
- masks: t.Type<string[], object, unknown>;
305
- tags: t.Type<string[], object, unknown>;
302
+ customtypes: t.ReadonlyArrayC<t.StringC>;
303
+ masks: t.Type<readonly string[], object, unknown>;
304
+ tags: t.Type<readonly string[], object, unknown>;
306
305
  allowTargetBlank: t.BooleanC;
307
306
  }>>;
308
307
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
309
- type: t.LiteralC<WidgetTypes.Image>;
308
+ type: t.LiteralC<"Image">;
310
309
  }>, t.PartialC<{
311
310
  fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
312
311
  config: t.ExactC<t.PartialC<{
@@ -316,7 +315,7 @@ export declare function widgetReader<T extends StaticSlices | DynamicSlices>(cod
316
315
  width: t.Type<number | null, unknown, unknown>;
317
316
  height: t.Type<number | null, unknown, unknown>;
318
317
  }>;
319
- thumbnails: t.ArrayC<t.ExactC<t.IntersectionC<[t.TypeC<{
318
+ thumbnails: t.ReadonlyArrayC<t.ExactC<t.IntersectionC<[t.TypeC<{
320
319
  name: t.StringC;
321
320
  }>, t.PartialC<{
322
321
  width: t.Type<number | null, unknown, unknown>;
@@ -324,7 +323,7 @@ export declare function widgetReader<T extends StaticSlices | DynamicSlices>(cod
324
323
  }>]>>>;
325
324
  }>>;
326
325
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
327
- type: t.LiteralC<WidgetTypes.IntegrationField>;
326
+ type: t.LiteralC<"IntegrationFields">;
328
327
  }>, t.PartialC<{
329
328
  fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
330
329
  config: t.ExactC<t.PartialC<{
@@ -336,7 +335,7 @@ export declare function widgetReader<T extends StaticSlices | DynamicSlices>(cod
336
335
  }>>;
337
336
  }>]>>, t.Type<T, unknown, unknown>]>;
338
337
  export declare const StaticWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
339
- type: t.LiteralC<WidgetTypes.UID>;
338
+ type: t.LiteralC<"UID">;
340
339
  }>, t.PartialC<{
341
340
  fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
342
341
  config: t.ExactC<t.PartialC<{
@@ -345,7 +344,7 @@ export declare const StaticWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
345
344
  placeholder: t.StringC;
346
345
  }>>;
347
346
  }>]>>, t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
348
- type: t.LiteralC<WidgetTypes.Color>;
347
+ type: t.LiteralC<"Color">;
349
348
  }>, t.PartialC<{
350
349
  fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
351
350
  config: t.ExactC<t.PartialC<{
@@ -353,7 +352,7 @@ export declare const StaticWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
353
352
  placeholder: t.StringC;
354
353
  }>>;
355
354
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
356
- type: t.LiteralC<WidgetTypes.BooleanField>;
355
+ type: t.LiteralC<"Boolean">;
357
356
  }>, t.PartialC<{
358
357
  config: t.ExactC<t.PartialC<{
359
358
  label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
@@ -362,7 +361,7 @@ export declare const StaticWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
362
361
  placeholder_false: t.StringC;
363
362
  }>>;
364
363
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
365
- type: t.LiteralC<WidgetTypes.Embed>;
364
+ type: t.LiteralC<"Embed">;
366
365
  }>, t.PartialC<{
367
366
  fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
368
367
  config: t.ExactC<t.PartialC<{
@@ -371,14 +370,14 @@ export declare const StaticWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
371
370
  useAsTitle: t.BooleanC;
372
371
  }>>;
373
372
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
374
- type: t.LiteralC<WidgetTypes.GeoPoint>;
373
+ type: t.LiteralC<"GeoPoint">;
375
374
  }>, t.PartialC<{
376
375
  fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
377
376
  config: t.ExactC<t.PartialC<{
378
377
  label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
379
378
  }>>;
380
379
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
381
- type: t.LiteralC<WidgetTypes.Date>;
380
+ type: t.LiteralC<"Date">;
382
381
  }>, t.PartialC<{
383
382
  fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
384
383
  config: t.ExactC<t.PartialC<{
@@ -387,7 +386,7 @@ export declare const StaticWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
387
386
  default: t.StringC;
388
387
  }>>;
389
388
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
390
- type: t.LiteralC<WidgetTypes.Number>;
389
+ type: t.LiteralC<"Number">;
391
390
  }>, t.PartialC<{
392
391
  fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
393
392
  config: t.ExactC<t.PartialC<{
@@ -398,7 +397,7 @@ export declare const StaticWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
398
397
  step: t.UnionC<[t.NumberC, import("io-ts-types").NumberFromStringC]>;
399
398
  }>>;
400
399
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
401
- type: t.LiteralC<WidgetTypes.Range>;
400
+ type: t.LiteralC<"Range">;
402
401
  }>, t.PartialC<{
403
402
  fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
404
403
  config: t.ExactC<t.PartialC<{
@@ -409,7 +408,7 @@ export declare const StaticWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
409
408
  step: t.UnionC<[t.NumberC, import("io-ts-types").NumberFromStringC]>;
410
409
  }>>;
411
410
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
412
- type: t.LiteralC<WidgetTypes.RichText>;
411
+ type: t.LiteralC<"StructuredText">;
413
412
  }>, t.PartialC<{
414
413
  fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
415
414
  config: t.ExactC<t.PartialC<{
@@ -422,27 +421,27 @@ export declare const StaticWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
422
421
  width: t.Type<number | null, unknown, unknown>;
423
422
  height: t.Type<number | null, unknown, unknown>;
424
423
  }>;
425
- labels: t.Type<string[], object, unknown>;
424
+ labels: t.Type<readonly string[], object, unknown>;
426
425
  allowTargetBlank: t.BooleanC;
427
426
  }>>;
428
427
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
429
- type: t.LiteralC<WidgetTypes.Select>;
428
+ type: t.LiteralC<"Select">;
430
429
  }>, t.PartialC<{
431
430
  fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
432
431
  config: t.ExactC<t.PartialC<{
433
432
  label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
434
433
  placeholder: t.StringC;
435
434
  default_value: t.StringC;
436
- options: t.ArrayC<t.UnionC<[t.StringC, t.Type<string, string, unknown>, t.Type<string, string, unknown>]>>;
435
+ options: t.ReadonlyArrayC<t.UnionC<[t.StringC, t.Type<string, string, unknown>, t.Type<string, string, unknown>]>>;
437
436
  }>>;
438
437
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
439
- type: t.LiteralC<WidgetTypes.Separator>;
438
+ type: t.LiteralC<"Separator">;
440
439
  }>, t.PartialC<{
441
440
  config: t.ExactC<t.PartialC<{
442
441
  label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
443
442
  }>>;
444
443
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
445
- type: t.LiteralC<WidgetTypes.Text>;
444
+ type: t.LiteralC<"Text">;
446
445
  }>, t.PartialC<{
447
446
  fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
448
447
  config: t.ExactC<t.PartialC<{
@@ -451,7 +450,7 @@ export declare const StaticWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
451
450
  placeholder: t.StringC;
452
451
  }>>;
453
452
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
454
- type: t.LiteralC<WidgetTypes.Timestamp>;
453
+ type: t.LiteralC<"Timestamp">;
455
454
  }>, t.PartialC<{
456
455
  fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
457
456
  config: t.ExactC<t.PartialC<{
@@ -460,7 +459,7 @@ export declare const StaticWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
460
459
  default: t.StringC;
461
460
  }>>;
462
461
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
463
- type: t.LiteralC<WidgetTypes.Link>;
462
+ type: t.LiteralC<"Link">;
464
463
  }>, t.PartialC<{
465
464
  fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
466
465
  config: t.ExactC<t.PartialC<{
@@ -468,13 +467,13 @@ export declare const StaticWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
468
467
  useAsTitle: t.BooleanC;
469
468
  placeholder: t.StringC;
470
469
  select: t.UnionC<[t.LiteralC<"media">, t.LiteralC<"document">, t.LiteralC<"web">, t.NullC]>;
471
- customtypes: t.ArrayC<t.StringC>;
472
- masks: t.Type<string[], object, unknown>;
473
- tags: t.Type<string[], object, unknown>;
470
+ customtypes: t.ReadonlyArrayC<t.StringC>;
471
+ masks: t.Type<readonly string[], object, unknown>;
472
+ tags: t.Type<readonly string[], object, unknown>;
474
473
  allowTargetBlank: t.BooleanC;
475
474
  }>>;
476
475
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
477
- type: t.LiteralC<WidgetTypes.Image>;
476
+ type: t.LiteralC<"Image">;
478
477
  }>, t.PartialC<{
479
478
  fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
480
479
  config: t.ExactC<t.PartialC<{
@@ -484,7 +483,7 @@ export declare const StaticWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
484
483
  width: t.Type<number | null, unknown, unknown>;
485
484
  height: t.Type<number | null, unknown, unknown>;
486
485
  }>;
487
- thumbnails: t.ArrayC<t.ExactC<t.IntersectionC<[t.TypeC<{
486
+ thumbnails: t.ReadonlyArrayC<t.ExactC<t.IntersectionC<[t.TypeC<{
488
487
  name: t.StringC;
489
488
  }>, t.PartialC<{
490
489
  width: t.Type<number | null, unknown, unknown>;
@@ -492,7 +491,7 @@ export declare const StaticWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
492
491
  }>]>>>;
493
492
  }>>;
494
493
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
495
- type: t.LiteralC<WidgetTypes.IntegrationField>;
494
+ type: t.LiteralC<"IntegrationFields">;
496
495
  }>, t.PartialC<{
497
496
  fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
498
497
  config: t.ExactC<t.PartialC<{
@@ -501,7 +500,7 @@ export declare const StaticWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
501
500
  catalog: t.StringC;
502
501
  }>>;
503
502
  }>]>>]>, t.ExactC<t.IntersectionC<[t.TypeC<{
504
- type: t.LiteralC<WidgetTypes.Group>;
503
+ type: t.LiteralC<"Group">;
505
504
  }>, t.PartialC<{
506
505
  fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
507
506
  icon: t.StringC;
@@ -510,7 +509,7 @@ export declare const StaticWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
510
509
  label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
511
510
  repeat: t.BooleanC;
512
511
  fields: t.RecordC<t.StringC, t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
513
- type: t.LiteralC<WidgetTypes.Color>;
512
+ type: t.LiteralC<"Color">;
514
513
  }>, t.PartialC<{
515
514
  fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
516
515
  config: t.ExactC<t.PartialC<{
@@ -518,7 +517,7 @@ export declare const StaticWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
518
517
  placeholder: t.StringC;
519
518
  }>>;
520
519
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
521
- type: t.LiteralC<WidgetTypes.BooleanField>;
520
+ type: t.LiteralC<"Boolean">;
522
521
  }>, t.PartialC<{
523
522
  config: t.ExactC<t.PartialC<{
524
523
  label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
@@ -527,7 +526,7 @@ export declare const StaticWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
527
526
  placeholder_false: t.StringC;
528
527
  }>>;
529
528
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
530
- type: t.LiteralC<WidgetTypes.Embed>;
529
+ type: t.LiteralC<"Embed">;
531
530
  }>, t.PartialC<{
532
531
  fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
533
532
  config: t.ExactC<t.PartialC<{
@@ -536,14 +535,14 @@ export declare const StaticWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
536
535
  useAsTitle: t.BooleanC;
537
536
  }>>;
538
537
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
539
- type: t.LiteralC<WidgetTypes.GeoPoint>;
538
+ type: t.LiteralC<"GeoPoint">;
540
539
  }>, t.PartialC<{
541
540
  fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
542
541
  config: t.ExactC<t.PartialC<{
543
542
  label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
544
543
  }>>;
545
544
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
546
- type: t.LiteralC<WidgetTypes.Date>;
545
+ type: t.LiteralC<"Date">;
547
546
  }>, t.PartialC<{
548
547
  fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
549
548
  config: t.ExactC<t.PartialC<{
@@ -552,7 +551,7 @@ export declare const StaticWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
552
551
  default: t.StringC;
553
552
  }>>;
554
553
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
555
- type: t.LiteralC<WidgetTypes.Number>;
554
+ type: t.LiteralC<"Number">;
556
555
  }>, t.PartialC<{
557
556
  fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
558
557
  config: t.ExactC<t.PartialC<{
@@ -563,7 +562,7 @@ export declare const StaticWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
563
562
  step: t.UnionC<[t.NumberC, import("io-ts-types").NumberFromStringC]>;
564
563
  }>>;
565
564
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
566
- type: t.LiteralC<WidgetTypes.Range>;
565
+ type: t.LiteralC<"Range">;
567
566
  }>, t.PartialC<{
568
567
  fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
569
568
  config: t.ExactC<t.PartialC<{
@@ -574,7 +573,7 @@ export declare const StaticWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
574
573
  step: t.UnionC<[t.NumberC, import("io-ts-types").NumberFromStringC]>;
575
574
  }>>;
576
575
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
577
- type: t.LiteralC<WidgetTypes.RichText>;
576
+ type: t.LiteralC<"StructuredText">;
578
577
  }>, t.PartialC<{
579
578
  fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
580
579
  config: t.ExactC<t.PartialC<{
@@ -587,27 +586,27 @@ export declare const StaticWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
587
586
  width: t.Type<number | null, unknown, unknown>;
588
587
  height: t.Type<number | null, unknown, unknown>;
589
588
  }>;
590
- labels: t.Type<string[], object, unknown>;
589
+ labels: t.Type<readonly string[], object, unknown>;
591
590
  allowTargetBlank: t.BooleanC;
592
591
  }>>;
593
592
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
594
- type: t.LiteralC<WidgetTypes.Select>;
593
+ type: t.LiteralC<"Select">;
595
594
  }>, t.PartialC<{
596
595
  fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
597
596
  config: t.ExactC<t.PartialC<{
598
597
  label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
599
598
  placeholder: t.StringC;
600
599
  default_value: t.StringC;
601
- options: t.ArrayC<t.UnionC<[t.StringC, t.Type<string, string, unknown>, t.Type<string, string, unknown>]>>;
600
+ options: t.ReadonlyArrayC<t.UnionC<[t.StringC, t.Type<string, string, unknown>, t.Type<string, string, unknown>]>>;
602
601
  }>>;
603
602
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
604
- type: t.LiteralC<WidgetTypes.Separator>;
603
+ type: t.LiteralC<"Separator">;
605
604
  }>, t.PartialC<{
606
605
  config: t.ExactC<t.PartialC<{
607
606
  label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
608
607
  }>>;
609
608
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
610
- type: t.LiteralC<WidgetTypes.Text>;
609
+ type: t.LiteralC<"Text">;
611
610
  }>, t.PartialC<{
612
611
  fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
613
612
  config: t.ExactC<t.PartialC<{
@@ -616,7 +615,7 @@ export declare const StaticWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
616
615
  placeholder: t.StringC;
617
616
  }>>;
618
617
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
619
- type: t.LiteralC<WidgetTypes.Timestamp>;
618
+ type: t.LiteralC<"Timestamp">;
620
619
  }>, t.PartialC<{
621
620
  fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
622
621
  config: t.ExactC<t.PartialC<{
@@ -625,7 +624,7 @@ export declare const StaticWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
625
624
  default: t.StringC;
626
625
  }>>;
627
626
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
628
- type: t.LiteralC<WidgetTypes.Link>;
627
+ type: t.LiteralC<"Link">;
629
628
  }>, t.PartialC<{
630
629
  fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
631
630
  config: t.ExactC<t.PartialC<{
@@ -633,13 +632,13 @@ export declare const StaticWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
633
632
  useAsTitle: t.BooleanC;
634
633
  placeholder: t.StringC;
635
634
  select: t.UnionC<[t.LiteralC<"media">, t.LiteralC<"document">, t.LiteralC<"web">, t.NullC]>;
636
- customtypes: t.ArrayC<t.StringC>;
637
- masks: t.Type<string[], object, unknown>;
638
- tags: t.Type<string[], object, unknown>;
635
+ customtypes: t.ReadonlyArrayC<t.StringC>;
636
+ masks: t.Type<readonly string[], object, unknown>;
637
+ tags: t.Type<readonly string[], object, unknown>;
639
638
  allowTargetBlank: t.BooleanC;
640
639
  }>>;
641
640
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
642
- type: t.LiteralC<WidgetTypes.Image>;
641
+ type: t.LiteralC<"Image">;
643
642
  }>, t.PartialC<{
644
643
  fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
645
644
  config: t.ExactC<t.PartialC<{
@@ -649,7 +648,7 @@ export declare const StaticWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
649
648
  width: t.Type<number | null, unknown, unknown>;
650
649
  height: t.Type<number | null, unknown, unknown>;
651
650
  }>;
652
- thumbnails: t.ArrayC<t.ExactC<t.IntersectionC<[t.TypeC<{
651
+ thumbnails: t.ReadonlyArrayC<t.ExactC<t.IntersectionC<[t.TypeC<{
653
652
  name: t.StringC;
654
653
  }>, t.PartialC<{
655
654
  width: t.Type<number | null, unknown, unknown>;
@@ -657,7 +656,7 @@ export declare const StaticWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
657
656
  }>]>>>;
658
657
  }>>;
659
658
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
660
- type: t.LiteralC<WidgetTypes.IntegrationField>;
659
+ type: t.LiteralC<"IntegrationFields">;
661
660
  }>, t.PartialC<{
662
661
  fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
663
662
  config: t.ExactC<t.PartialC<{
@@ -668,13 +667,13 @@ export declare const StaticWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
668
667
  }>]>>]>>;
669
668
  }>>;
670
669
  }>]>>, t.Type<{
671
- type: WidgetTypes.Slices | WidgetTypes.LegacySlices;
670
+ type: "Slices" | "Choice";
672
671
  } & {
673
672
  fieldset?: string | null | undefined;
674
673
  config?: {
675
674
  label?: string | null | undefined;
676
675
  labels?: {
677
- [x: string]: ({
676
+ [x: string]: readonly ({
678
677
  name: string;
679
678
  } & {
680
679
  display?: string;
@@ -682,7 +681,7 @@ export declare const StaticWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
682
681
  } | null;
683
682
  choices?: {
684
683
  [x: string]: ({
685
- type: WidgetTypes.BooleanField;
684
+ type: "Boolean";
686
685
  } & {
687
686
  config?: {
688
687
  label?: string | null | undefined;
@@ -691,7 +690,7 @@ export declare const StaticWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
691
690
  placeholder_false?: string;
692
691
  };
693
692
  }) | ({
694
- type: WidgetTypes.Color;
693
+ type: "Color";
695
694
  } & {
696
695
  fieldset?: string | null | undefined;
697
696
  config?: {
@@ -699,7 +698,7 @@ export declare const StaticWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
699
698
  placeholder?: string;
700
699
  };
701
700
  }) | ({
702
- type: WidgetTypes.Date;
701
+ type: "Date";
703
702
  } & {
704
703
  fieldset?: string | null | undefined;
705
704
  config?: {
@@ -708,7 +707,7 @@ export declare const StaticWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
708
707
  default?: string;
709
708
  };
710
709
  }) | ({
711
- type: WidgetTypes.Embed;
710
+ type: "Embed";
712
711
  } & {
713
712
  fieldset?: string | null | undefined;
714
713
  config?: {
@@ -717,14 +716,14 @@ export declare const StaticWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
717
716
  useAsTitle?: boolean;
718
717
  };
719
718
  }) | ({
720
- type: WidgetTypes.GeoPoint;
719
+ type: "GeoPoint";
721
720
  } & {
722
721
  fieldset?: string | null | undefined;
723
722
  config?: {
724
723
  label?: string | null | undefined;
725
724
  };
726
725
  }) | ({
727
- type: WidgetTypes.Image;
726
+ type: "Image";
728
727
  } & {
729
728
  fieldset?: string | null | undefined;
730
729
  config?: {
@@ -734,7 +733,7 @@ export declare const StaticWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
734
733
  width?: number | null;
735
734
  height?: number | null;
736
735
  };
737
- thumbnails?: ({
736
+ thumbnails?: readonly ({
738
737
  name: string;
739
738
  } & {
740
739
  width?: number | null;
@@ -742,7 +741,7 @@ export declare const StaticWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
742
741
  })[];
743
742
  };
744
743
  }) | ({
745
- type: WidgetTypes.IntegrationField;
744
+ type: "IntegrationFields";
746
745
  } & {
747
746
  fieldset?: string | null | undefined;
748
747
  config?: {
@@ -751,7 +750,7 @@ export declare const StaticWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
751
750
  catalog?: string;
752
751
  };
753
752
  }) | ({
754
- type: WidgetTypes.Link;
753
+ type: "Link";
755
754
  } & {
756
755
  fieldset?: string | null | undefined;
757
756
  config?: {
@@ -759,13 +758,13 @@ export declare const StaticWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
759
758
  useAsTitle?: boolean;
760
759
  placeholder?: string;
761
760
  select?: "media" | "document" | "web" | null;
762
- customtypes?: string[];
763
- masks?: string[];
764
- tags?: string[];
761
+ customtypes?: readonly string[];
762
+ masks?: readonly string[];
763
+ tags?: readonly string[];
765
764
  allowTargetBlank?: boolean;
766
765
  };
767
766
  }) | ({
768
- type: WidgetTypes.Number;
767
+ type: "Number";
769
768
  } & {
770
769
  fieldset?: string | null | undefined;
771
770
  config?: {
@@ -776,7 +775,7 @@ export declare const StaticWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
776
775
  step?: number;
777
776
  };
778
777
  }) | ({
779
- type: WidgetTypes.Range;
778
+ type: "Range";
780
779
  } & {
781
780
  fieldset?: string | null | undefined;
782
781
  config?: {
@@ -787,7 +786,7 @@ export declare const StaticWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
787
786
  step?: number;
788
787
  };
789
788
  }) | ({
790
- type: WidgetTypes.RichText;
789
+ type: "StructuredText";
791
790
  } & {
792
791
  fieldset?: string | null | undefined;
793
792
  config?: {
@@ -800,27 +799,27 @@ export declare const StaticWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
800
799
  width?: number | null;
801
800
  height?: number | null;
802
801
  };
803
- labels?: string[];
802
+ labels?: readonly string[];
804
803
  allowTargetBlank?: boolean;
805
804
  };
806
805
  }) | ({
807
- type: WidgetTypes.Select;
806
+ type: "Select";
808
807
  } & {
809
808
  fieldset?: string | null | undefined;
810
809
  config?: {
811
810
  label?: string | null | undefined;
812
811
  placeholder?: string;
813
812
  default_value?: string;
814
- options?: string[];
813
+ options?: readonly string[];
815
814
  };
816
815
  }) | ({
817
- type: WidgetTypes.Separator;
816
+ type: "Separator";
818
817
  } & {
819
818
  config?: {
820
819
  label?: string | null | undefined;
821
820
  };
822
821
  }) | ({
823
- type: WidgetTypes.Text;
822
+ type: "Text";
824
823
  } & {
825
824
  fieldset?: string | null | undefined;
826
825
  config?: {
@@ -829,7 +828,7 @@ export declare const StaticWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
829
828
  placeholder?: string;
830
829
  };
831
830
  }) | ({
832
- type: WidgetTypes.Timestamp;
831
+ type: "Timestamp";
833
832
  } & {
834
833
  fieldset?: string | null | undefined;
835
834
  config?: {
@@ -838,7 +837,7 @@ export declare const StaticWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
838
837
  default?: string;
839
838
  };
840
839
  }) | ({
841
- type: import("./slices/SlicesTypes").default.Slice;
840
+ type: "Slice";
842
841
  } & {
843
842
  fieldset?: string | null | undefined;
844
843
  description?: string;
@@ -846,7 +845,7 @@ export declare const StaticWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
846
845
  display?: string;
847
846
  "non-repeat"?: {
848
847
  [x: string]: ({
849
- type: WidgetTypes.BooleanField;
848
+ type: "Boolean";
850
849
  } & {
851
850
  config?: {
852
851
  label?: string | null | undefined;
@@ -855,7 +854,7 @@ export declare const StaticWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
855
854
  placeholder_false?: string;
856
855
  };
857
856
  }) | ({
858
- type: WidgetTypes.Color;
857
+ type: "Color";
859
858
  } & {
860
859
  fieldset?: string | null | undefined;
861
860
  config?: {
@@ -863,7 +862,7 @@ export declare const StaticWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
863
862
  placeholder?: string;
864
863
  };
865
864
  }) | ({
866
- type: WidgetTypes.Date;
865
+ type: "Date";
867
866
  } & {
868
867
  fieldset?: string | null | undefined;
869
868
  config?: {
@@ -872,7 +871,7 @@ export declare const StaticWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
872
871
  default?: string;
873
872
  };
874
873
  }) | ({
875
- type: WidgetTypes.Embed;
874
+ type: "Embed";
876
875
  } & {
877
876
  fieldset?: string | null | undefined;
878
877
  config?: {
@@ -881,14 +880,14 @@ export declare const StaticWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
881
880
  useAsTitle?: boolean;
882
881
  };
883
882
  }) | ({
884
- type: WidgetTypes.GeoPoint;
883
+ type: "GeoPoint";
885
884
  } & {
886
885
  fieldset?: string | null | undefined;
887
886
  config?: {
888
887
  label?: string | null | undefined;
889
888
  };
890
889
  }) | ({
891
- type: WidgetTypes.Image;
890
+ type: "Image";
892
891
  } & {
893
892
  fieldset?: string | null | undefined;
894
893
  config?: {
@@ -898,7 +897,7 @@ export declare const StaticWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
898
897
  width?: number | null;
899
898
  height?: number | null;
900
899
  };
901
- thumbnails?: ({
900
+ thumbnails?: readonly ({
902
901
  name: string;
903
902
  } & {
904
903
  width?: number | null;
@@ -906,7 +905,7 @@ export declare const StaticWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
906
905
  })[];
907
906
  };
908
907
  }) | ({
909
- type: WidgetTypes.IntegrationField;
908
+ type: "IntegrationFields";
910
909
  } & {
911
910
  fieldset?: string | null | undefined;
912
911
  config?: {
@@ -915,7 +914,7 @@ export declare const StaticWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
915
914
  catalog?: string;
916
915
  };
917
916
  }) | ({
918
- type: WidgetTypes.Link;
917
+ type: "Link";
919
918
  } & {
920
919
  fieldset?: string | null | undefined;
921
920
  config?: {
@@ -923,13 +922,13 @@ export declare const StaticWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
923
922
  useAsTitle?: boolean;
924
923
  placeholder?: string;
925
924
  select?: "media" | "document" | "web" | null;
926
- customtypes?: string[];
927
- masks?: string[];
928
- tags?: string[];
925
+ customtypes?: readonly string[];
926
+ masks?: readonly string[];
927
+ tags?: readonly string[];
929
928
  allowTargetBlank?: boolean;
930
929
  };
931
930
  }) | ({
932
- type: WidgetTypes.Number;
931
+ type: "Number";
933
932
  } & {
934
933
  fieldset?: string | null | undefined;
935
934
  config?: {
@@ -940,7 +939,7 @@ export declare const StaticWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
940
939
  step?: number;
941
940
  };
942
941
  }) | ({
943
- type: WidgetTypes.Range;
942
+ type: "Range";
944
943
  } & {
945
944
  fieldset?: string | null | undefined;
946
945
  config?: {
@@ -951,7 +950,7 @@ export declare const StaticWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
951
950
  step?: number;
952
951
  };
953
952
  }) | ({
954
- type: WidgetTypes.RichText;
953
+ type: "StructuredText";
955
954
  } & {
956
955
  fieldset?: string | null | undefined;
957
956
  config?: {
@@ -964,27 +963,27 @@ export declare const StaticWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
964
963
  width?: number | null;
965
964
  height?: number | null;
966
965
  };
967
- labels?: string[];
966
+ labels?: readonly string[];
968
967
  allowTargetBlank?: boolean;
969
968
  };
970
969
  }) | ({
971
- type: WidgetTypes.Select;
970
+ type: "Select";
972
971
  } & {
973
972
  fieldset?: string | null | undefined;
974
973
  config?: {
975
974
  label?: string | null | undefined;
976
975
  placeholder?: string;
977
976
  default_value?: string;
978
- options?: string[];
977
+ options?: readonly string[];
979
978
  };
980
979
  }) | ({
981
- type: WidgetTypes.Separator;
980
+ type: "Separator";
982
981
  } & {
983
982
  config?: {
984
983
  label?: string | null | undefined;
985
984
  };
986
985
  }) | ({
987
- type: WidgetTypes.Text;
986
+ type: "Text";
988
987
  } & {
989
988
  fieldset?: string | null | undefined;
990
989
  config?: {
@@ -993,7 +992,7 @@ export declare const StaticWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
993
992
  placeholder?: string;
994
993
  };
995
994
  }) | ({
996
- type: WidgetTypes.Timestamp;
995
+ type: "Timestamp";
997
996
  } & {
998
997
  fieldset?: string | null | undefined;
999
998
  config?: {
@@ -1005,7 +1004,7 @@ export declare const StaticWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
1005
1004
  };
1006
1005
  repeat?: {
1007
1006
  [x: string]: ({
1008
- type: WidgetTypes.BooleanField;
1007
+ type: "Boolean";
1009
1008
  } & {
1010
1009
  config?: {
1011
1010
  label?: string | null | undefined;
@@ -1014,7 +1013,7 @@ export declare const StaticWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
1014
1013
  placeholder_false?: string;
1015
1014
  };
1016
1015
  }) | ({
1017
- type: WidgetTypes.Color;
1016
+ type: "Color";
1018
1017
  } & {
1019
1018
  fieldset?: string | null | undefined;
1020
1019
  config?: {
@@ -1022,7 +1021,7 @@ export declare const StaticWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
1022
1021
  placeholder?: string;
1023
1022
  };
1024
1023
  }) | ({
1025
- type: WidgetTypes.Date;
1024
+ type: "Date";
1026
1025
  } & {
1027
1026
  fieldset?: string | null | undefined;
1028
1027
  config?: {
@@ -1031,7 +1030,7 @@ export declare const StaticWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
1031
1030
  default?: string;
1032
1031
  };
1033
1032
  }) | ({
1034
- type: WidgetTypes.Embed;
1033
+ type: "Embed";
1035
1034
  } & {
1036
1035
  fieldset?: string | null | undefined;
1037
1036
  config?: {
@@ -1040,14 +1039,14 @@ export declare const StaticWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
1040
1039
  useAsTitle?: boolean;
1041
1040
  };
1042
1041
  }) | ({
1043
- type: WidgetTypes.GeoPoint;
1042
+ type: "GeoPoint";
1044
1043
  } & {
1045
1044
  fieldset?: string | null | undefined;
1046
1045
  config?: {
1047
1046
  label?: string | null | undefined;
1048
1047
  };
1049
1048
  }) | ({
1050
- type: WidgetTypes.Image;
1049
+ type: "Image";
1051
1050
  } & {
1052
1051
  fieldset?: string | null | undefined;
1053
1052
  config?: {
@@ -1057,7 +1056,7 @@ export declare const StaticWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
1057
1056
  width?: number | null;
1058
1057
  height?: number | null;
1059
1058
  };
1060
- thumbnails?: ({
1059
+ thumbnails?: readonly ({
1061
1060
  name: string;
1062
1061
  } & {
1063
1062
  width?: number | null;
@@ -1065,7 +1064,7 @@ export declare const StaticWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
1065
1064
  })[];
1066
1065
  };
1067
1066
  }) | ({
1068
- type: WidgetTypes.IntegrationField;
1067
+ type: "IntegrationFields";
1069
1068
  } & {
1070
1069
  fieldset?: string | null | undefined;
1071
1070
  config?: {
@@ -1074,7 +1073,7 @@ export declare const StaticWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
1074
1073
  catalog?: string;
1075
1074
  };
1076
1075
  }) | ({
1077
- type: WidgetTypes.Link;
1076
+ type: "Link";
1078
1077
  } & {
1079
1078
  fieldset?: string | null | undefined;
1080
1079
  config?: {
@@ -1082,13 +1081,13 @@ export declare const StaticWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
1082
1081
  useAsTitle?: boolean;
1083
1082
  placeholder?: string;
1084
1083
  select?: "media" | "document" | "web" | null;
1085
- customtypes?: string[];
1086
- masks?: string[];
1087
- tags?: string[];
1084
+ customtypes?: readonly string[];
1085
+ masks?: readonly string[];
1086
+ tags?: readonly string[];
1088
1087
  allowTargetBlank?: boolean;
1089
1088
  };
1090
1089
  }) | ({
1091
- type: WidgetTypes.Number;
1090
+ type: "Number";
1092
1091
  } & {
1093
1092
  fieldset?: string | null | undefined;
1094
1093
  config?: {
@@ -1099,7 +1098,7 @@ export declare const StaticWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
1099
1098
  step?: number;
1100
1099
  };
1101
1100
  }) | ({
1102
- type: WidgetTypes.Range;
1101
+ type: "Range";
1103
1102
  } & {
1104
1103
  fieldset?: string | null | undefined;
1105
1104
  config?: {
@@ -1110,7 +1109,7 @@ export declare const StaticWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
1110
1109
  step?: number;
1111
1110
  };
1112
1111
  }) | ({
1113
- type: WidgetTypes.RichText;
1112
+ type: "StructuredText";
1114
1113
  } & {
1115
1114
  fieldset?: string | null | undefined;
1116
1115
  config?: {
@@ -1123,27 +1122,27 @@ export declare const StaticWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
1123
1122
  width?: number | null;
1124
1123
  height?: number | null;
1125
1124
  };
1126
- labels?: string[];
1125
+ labels?: readonly string[];
1127
1126
  allowTargetBlank?: boolean;
1128
1127
  };
1129
1128
  }) | ({
1130
- type: WidgetTypes.Select;
1129
+ type: "Select";
1131
1130
  } & {
1132
1131
  fieldset?: string | null | undefined;
1133
1132
  config?: {
1134
1133
  label?: string | null | undefined;
1135
1134
  placeholder?: string;
1136
1135
  default_value?: string;
1137
- options?: string[];
1136
+ options?: readonly string[];
1138
1137
  };
1139
1138
  }) | ({
1140
- type: WidgetTypes.Separator;
1139
+ type: "Separator";
1141
1140
  } & {
1142
1141
  config?: {
1143
1142
  label?: string | null | undefined;
1144
1143
  };
1145
1144
  }) | ({
1146
- type: WidgetTypes.Text;
1145
+ type: "Text";
1147
1146
  } & {
1148
1147
  fieldset?: string | null | undefined;
1149
1148
  config?: {
@@ -1152,7 +1151,7 @@ export declare const StaticWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
1152
1151
  placeholder?: string;
1153
1152
  };
1154
1153
  }) | ({
1155
- type: WidgetTypes.Timestamp;
1154
+ type: "Timestamp";
1156
1155
  } & {
1157
1156
  fieldset?: string | null | undefined;
1158
1157
  config?: {
@@ -1166,7 +1165,7 @@ export declare const StaticWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
1166
1165
  label?: string | null | undefined;
1167
1166
  };
1168
1167
  }) | ({
1169
- type: WidgetTypes.Group;
1168
+ type: "Group";
1170
1169
  } & {
1171
1170
  fieldset?: string | null | undefined;
1172
1171
  icon?: string;
@@ -1176,7 +1175,7 @@ export declare const StaticWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
1176
1175
  repeat?: boolean;
1177
1176
  fields?: {
1178
1177
  [x: string]: ({
1179
- type: WidgetTypes.BooleanField;
1178
+ type: "Boolean";
1180
1179
  } & {
1181
1180
  config?: {
1182
1181
  label?: string | null | undefined;
@@ -1185,7 +1184,7 @@ export declare const StaticWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
1185
1184
  placeholder_false?: string;
1186
1185
  };
1187
1186
  }) | ({
1188
- type: WidgetTypes.Color;
1187
+ type: "Color";
1189
1188
  } & {
1190
1189
  fieldset?: string | null | undefined;
1191
1190
  config?: {
@@ -1193,7 +1192,7 @@ export declare const StaticWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
1193
1192
  placeholder?: string;
1194
1193
  };
1195
1194
  }) | ({
1196
- type: WidgetTypes.Date;
1195
+ type: "Date";
1197
1196
  } & {
1198
1197
  fieldset?: string | null | undefined;
1199
1198
  config?: {
@@ -1202,7 +1201,7 @@ export declare const StaticWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
1202
1201
  default?: string;
1203
1202
  };
1204
1203
  }) | ({
1205
- type: WidgetTypes.Embed;
1204
+ type: "Embed";
1206
1205
  } & {
1207
1206
  fieldset?: string | null | undefined;
1208
1207
  config?: {
@@ -1211,14 +1210,14 @@ export declare const StaticWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
1211
1210
  useAsTitle?: boolean;
1212
1211
  };
1213
1212
  }) | ({
1214
- type: WidgetTypes.GeoPoint;
1213
+ type: "GeoPoint";
1215
1214
  } & {
1216
1215
  fieldset?: string | null | undefined;
1217
1216
  config?: {
1218
1217
  label?: string | null | undefined;
1219
1218
  };
1220
1219
  }) | ({
1221
- type: WidgetTypes.Image;
1220
+ type: "Image";
1222
1221
  } & {
1223
1222
  fieldset?: string | null | undefined;
1224
1223
  config?: {
@@ -1228,7 +1227,7 @@ export declare const StaticWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
1228
1227
  width?: number | null;
1229
1228
  height?: number | null;
1230
1229
  };
1231
- thumbnails?: ({
1230
+ thumbnails?: readonly ({
1232
1231
  name: string;
1233
1232
  } & {
1234
1233
  width?: number | null;
@@ -1236,7 +1235,7 @@ export declare const StaticWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
1236
1235
  })[];
1237
1236
  };
1238
1237
  }) | ({
1239
- type: WidgetTypes.IntegrationField;
1238
+ type: "IntegrationFields";
1240
1239
  } & {
1241
1240
  fieldset?: string | null | undefined;
1242
1241
  config?: {
@@ -1245,7 +1244,7 @@ export declare const StaticWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
1245
1244
  catalog?: string;
1246
1245
  };
1247
1246
  }) | ({
1248
- type: WidgetTypes.Link;
1247
+ type: "Link";
1249
1248
  } & {
1250
1249
  fieldset?: string | null | undefined;
1251
1250
  config?: {
@@ -1253,13 +1252,13 @@ export declare const StaticWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
1253
1252
  useAsTitle?: boolean;
1254
1253
  placeholder?: string;
1255
1254
  select?: "media" | "document" | "web" | null;
1256
- customtypes?: string[];
1257
- masks?: string[];
1258
- tags?: string[];
1255
+ customtypes?: readonly string[];
1256
+ masks?: readonly string[];
1257
+ tags?: readonly string[];
1259
1258
  allowTargetBlank?: boolean;
1260
1259
  };
1261
1260
  }) | ({
1262
- type: WidgetTypes.Number;
1261
+ type: "Number";
1263
1262
  } & {
1264
1263
  fieldset?: string | null | undefined;
1265
1264
  config?: {
@@ -1270,7 +1269,7 @@ export declare const StaticWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
1270
1269
  step?: number;
1271
1270
  };
1272
1271
  }) | ({
1273
- type: WidgetTypes.Range;
1272
+ type: "Range";
1274
1273
  } & {
1275
1274
  fieldset?: string | null | undefined;
1276
1275
  config?: {
@@ -1281,7 +1280,7 @@ export declare const StaticWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
1281
1280
  step?: number;
1282
1281
  };
1283
1282
  }) | ({
1284
- type: WidgetTypes.RichText;
1283
+ type: "StructuredText";
1285
1284
  } & {
1286
1285
  fieldset?: string | null | undefined;
1287
1286
  config?: {
@@ -1294,27 +1293,27 @@ export declare const StaticWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
1294
1293
  width?: number | null;
1295
1294
  height?: number | null;
1296
1295
  };
1297
- labels?: string[];
1296
+ labels?: readonly string[];
1298
1297
  allowTargetBlank?: boolean;
1299
1298
  };
1300
1299
  }) | ({
1301
- type: WidgetTypes.Select;
1300
+ type: "Select";
1302
1301
  } & {
1303
1302
  fieldset?: string | null | undefined;
1304
1303
  config?: {
1305
1304
  label?: string | null | undefined;
1306
1305
  placeholder?: string;
1307
1306
  default_value?: string;
1308
- options?: string[];
1307
+ options?: readonly string[];
1309
1308
  };
1310
1309
  }) | ({
1311
- type: WidgetTypes.Separator;
1310
+ type: "Separator";
1312
1311
  } & {
1313
1312
  config?: {
1314
1313
  label?: string | null | undefined;
1315
1314
  };
1316
1315
  }) | ({
1317
- type: WidgetTypes.Text;
1316
+ type: "Text";
1318
1317
  } & {
1319
1318
  fieldset?: string | null | undefined;
1320
1319
  config?: {
@@ -1323,7 +1322,7 @@ export declare const StaticWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
1323
1322
  placeholder?: string;
1324
1323
  };
1325
1324
  }) | ({
1326
- type: WidgetTypes.Timestamp;
1325
+ type: "Timestamp";
1327
1326
  } & {
1328
1327
  fieldset?: string | null | undefined;
1329
1328
  config?: {
@@ -1336,9 +1335,9 @@ export declare const StaticWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
1336
1335
  };
1337
1336
  }) | ({
1338
1337
  id: string;
1339
- type: import("./slices/SlicesTypes").default.SharedSlice;
1338
+ type: "SharedSlice";
1340
1339
  name: string;
1341
- variations: ({
1340
+ variations: readonly ({
1342
1341
  id: string;
1343
1342
  name: string;
1344
1343
  description: string;
@@ -1349,7 +1348,7 @@ export declare const StaticWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
1349
1348
  display?: string;
1350
1349
  primary?: {
1351
1350
  [x: string]: ({
1352
- type: WidgetTypes.BooleanField;
1351
+ type: "Boolean";
1353
1352
  } & {
1354
1353
  config?: {
1355
1354
  label?: string | null | undefined;
@@ -1358,7 +1357,7 @@ export declare const StaticWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
1358
1357
  placeholder_false?: string;
1359
1358
  };
1360
1359
  }) | ({
1361
- type: WidgetTypes.Color;
1360
+ type: "Color";
1362
1361
  } & {
1363
1362
  fieldset?: string | null | undefined;
1364
1363
  config?: {
@@ -1366,7 +1365,7 @@ export declare const StaticWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
1366
1365
  placeholder?: string;
1367
1366
  };
1368
1367
  }) | ({
1369
- type: WidgetTypes.Date;
1368
+ type: "Date";
1370
1369
  } & {
1371
1370
  fieldset?: string | null | undefined;
1372
1371
  config?: {
@@ -1375,7 +1374,7 @@ export declare const StaticWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
1375
1374
  default?: string;
1376
1375
  };
1377
1376
  }) | ({
1378
- type: WidgetTypes.Embed;
1377
+ type: "Embed";
1379
1378
  } & {
1380
1379
  fieldset?: string | null | undefined;
1381
1380
  config?: {
@@ -1384,14 +1383,14 @@ export declare const StaticWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
1384
1383
  useAsTitle?: boolean;
1385
1384
  };
1386
1385
  }) | ({
1387
- type: WidgetTypes.GeoPoint;
1386
+ type: "GeoPoint";
1388
1387
  } & {
1389
1388
  fieldset?: string | null | undefined;
1390
1389
  config?: {
1391
1390
  label?: string | null | undefined;
1392
1391
  };
1393
1392
  }) | ({
1394
- type: WidgetTypes.Image;
1393
+ type: "Image";
1395
1394
  } & {
1396
1395
  fieldset?: string | null | undefined;
1397
1396
  config?: {
@@ -1401,7 +1400,7 @@ export declare const StaticWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
1401
1400
  width?: number | null;
1402
1401
  height?: number | null;
1403
1402
  };
1404
- thumbnails?: ({
1403
+ thumbnails?: readonly ({
1405
1404
  name: string;
1406
1405
  } & {
1407
1406
  width?: number | null;
@@ -1409,7 +1408,7 @@ export declare const StaticWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
1409
1408
  })[];
1410
1409
  };
1411
1410
  }) | ({
1412
- type: WidgetTypes.IntegrationField;
1411
+ type: "IntegrationFields";
1413
1412
  } & {
1414
1413
  fieldset?: string | null | undefined;
1415
1414
  config?: {
@@ -1418,7 +1417,7 @@ export declare const StaticWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
1418
1417
  catalog?: string;
1419
1418
  };
1420
1419
  }) | ({
1421
- type: WidgetTypes.Link;
1420
+ type: "Link";
1422
1421
  } & {
1423
1422
  fieldset?: string | null | undefined;
1424
1423
  config?: {
@@ -1426,13 +1425,13 @@ export declare const StaticWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
1426
1425
  useAsTitle?: boolean;
1427
1426
  placeholder?: string;
1428
1427
  select?: "media" | "document" | "web" | null;
1429
- customtypes?: string[];
1430
- masks?: string[];
1431
- tags?: string[];
1428
+ customtypes?: readonly string[];
1429
+ masks?: readonly string[];
1430
+ tags?: readonly string[];
1432
1431
  allowTargetBlank?: boolean;
1433
1432
  };
1434
1433
  }) | ({
1435
- type: WidgetTypes.Number;
1434
+ type: "Number";
1436
1435
  } & {
1437
1436
  fieldset?: string | null | undefined;
1438
1437
  config?: {
@@ -1443,7 +1442,7 @@ export declare const StaticWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
1443
1442
  step?: number;
1444
1443
  };
1445
1444
  }) | ({
1446
- type: WidgetTypes.Range;
1445
+ type: "Range";
1447
1446
  } & {
1448
1447
  fieldset?: string | null | undefined;
1449
1448
  config?: {
@@ -1454,7 +1453,7 @@ export declare const StaticWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
1454
1453
  step?: number;
1455
1454
  };
1456
1455
  }) | ({
1457
- type: WidgetTypes.RichText;
1456
+ type: "StructuredText";
1458
1457
  } & {
1459
1458
  fieldset?: string | null | undefined;
1460
1459
  config?: {
@@ -1467,27 +1466,27 @@ export declare const StaticWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
1467
1466
  width?: number | null;
1468
1467
  height?: number | null;
1469
1468
  };
1470
- labels?: string[];
1469
+ labels?: readonly string[];
1471
1470
  allowTargetBlank?: boolean;
1472
1471
  };
1473
1472
  }) | ({
1474
- type: WidgetTypes.Select;
1473
+ type: "Select";
1475
1474
  } & {
1476
1475
  fieldset?: string | null | undefined;
1477
1476
  config?: {
1478
1477
  label?: string | null | undefined;
1479
1478
  placeholder?: string;
1480
1479
  default_value?: string;
1481
- options?: string[];
1480
+ options?: readonly string[];
1482
1481
  };
1483
1482
  }) | ({
1484
- type: WidgetTypes.Separator;
1483
+ type: "Separator";
1485
1484
  } & {
1486
1485
  config?: {
1487
1486
  label?: string | null | undefined;
1488
1487
  };
1489
1488
  }) | ({
1490
- type: WidgetTypes.Text;
1489
+ type: "Text";
1491
1490
  } & {
1492
1491
  fieldset?: string | null | undefined;
1493
1492
  config?: {
@@ -1496,7 +1495,7 @@ export declare const StaticWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
1496
1495
  placeholder?: string;
1497
1496
  };
1498
1497
  }) | ({
1499
- type: WidgetTypes.Timestamp;
1498
+ type: "Timestamp";
1500
1499
  } & {
1501
1500
  fieldset?: string | null | undefined;
1502
1501
  config?: {
@@ -1508,7 +1507,7 @@ export declare const StaticWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
1508
1507
  };
1509
1508
  items?: {
1510
1509
  [x: string]: ({
1511
- type: WidgetTypes.BooleanField;
1510
+ type: "Boolean";
1512
1511
  } & {
1513
1512
  config?: {
1514
1513
  label?: string | null | undefined;
@@ -1517,7 +1516,7 @@ export declare const StaticWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
1517
1516
  placeholder_false?: string;
1518
1517
  };
1519
1518
  }) | ({
1520
- type: WidgetTypes.Color;
1519
+ type: "Color";
1521
1520
  } & {
1522
1521
  fieldset?: string | null | undefined;
1523
1522
  config?: {
@@ -1525,7 +1524,7 @@ export declare const StaticWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
1525
1524
  placeholder?: string;
1526
1525
  };
1527
1526
  }) | ({
1528
- type: WidgetTypes.Date;
1527
+ type: "Date";
1529
1528
  } & {
1530
1529
  fieldset?: string | null | undefined;
1531
1530
  config?: {
@@ -1534,7 +1533,7 @@ export declare const StaticWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
1534
1533
  default?: string;
1535
1534
  };
1536
1535
  }) | ({
1537
- type: WidgetTypes.Embed;
1536
+ type: "Embed";
1538
1537
  } & {
1539
1538
  fieldset?: string | null | undefined;
1540
1539
  config?: {
@@ -1543,14 +1542,14 @@ export declare const StaticWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
1543
1542
  useAsTitle?: boolean;
1544
1543
  };
1545
1544
  }) | ({
1546
- type: WidgetTypes.GeoPoint;
1545
+ type: "GeoPoint";
1547
1546
  } & {
1548
1547
  fieldset?: string | null | undefined;
1549
1548
  config?: {
1550
1549
  label?: string | null | undefined;
1551
1550
  };
1552
1551
  }) | ({
1553
- type: WidgetTypes.Image;
1552
+ type: "Image";
1554
1553
  } & {
1555
1554
  fieldset?: string | null | undefined;
1556
1555
  config?: {
@@ -1560,7 +1559,7 @@ export declare const StaticWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
1560
1559
  width?: number | null;
1561
1560
  height?: number | null;
1562
1561
  };
1563
- thumbnails?: ({
1562
+ thumbnails?: readonly ({
1564
1563
  name: string;
1565
1564
  } & {
1566
1565
  width?: number | null;
@@ -1568,7 +1567,7 @@ export declare const StaticWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
1568
1567
  })[];
1569
1568
  };
1570
1569
  }) | ({
1571
- type: WidgetTypes.IntegrationField;
1570
+ type: "IntegrationFields";
1572
1571
  } & {
1573
1572
  fieldset?: string | null | undefined;
1574
1573
  config?: {
@@ -1577,7 +1576,7 @@ export declare const StaticWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
1577
1576
  catalog?: string;
1578
1577
  };
1579
1578
  }) | ({
1580
- type: WidgetTypes.Link;
1579
+ type: "Link";
1581
1580
  } & {
1582
1581
  fieldset?: string | null | undefined;
1583
1582
  config?: {
@@ -1585,13 +1584,13 @@ export declare const StaticWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
1585
1584
  useAsTitle?: boolean;
1586
1585
  placeholder?: string;
1587
1586
  select?: "media" | "document" | "web" | null;
1588
- customtypes?: string[];
1589
- masks?: string[];
1590
- tags?: string[];
1587
+ customtypes?: readonly string[];
1588
+ masks?: readonly string[];
1589
+ tags?: readonly string[];
1591
1590
  allowTargetBlank?: boolean;
1592
1591
  };
1593
1592
  }) | ({
1594
- type: WidgetTypes.Number;
1593
+ type: "Number";
1595
1594
  } & {
1596
1595
  fieldset?: string | null | undefined;
1597
1596
  config?: {
@@ -1602,7 +1601,7 @@ export declare const StaticWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
1602
1601
  step?: number;
1603
1602
  };
1604
1603
  }) | ({
1605
- type: WidgetTypes.Range;
1604
+ type: "Range";
1606
1605
  } & {
1607
1606
  fieldset?: string | null | undefined;
1608
1607
  config?: {
@@ -1613,7 +1612,7 @@ export declare const StaticWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
1613
1612
  step?: number;
1614
1613
  };
1615
1614
  }) | ({
1616
- type: WidgetTypes.RichText;
1615
+ type: "StructuredText";
1617
1616
  } & {
1618
1617
  fieldset?: string | null | undefined;
1619
1618
  config?: {
@@ -1626,27 +1625,27 @@ export declare const StaticWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
1626
1625
  width?: number | null;
1627
1626
  height?: number | null;
1628
1627
  };
1629
- labels?: string[];
1628
+ labels?: readonly string[];
1630
1629
  allowTargetBlank?: boolean;
1631
1630
  };
1632
1631
  }) | ({
1633
- type: WidgetTypes.Select;
1632
+ type: "Select";
1634
1633
  } & {
1635
1634
  fieldset?: string | null | undefined;
1636
1635
  config?: {
1637
1636
  label?: string | null | undefined;
1638
1637
  placeholder?: string;
1639
1638
  default_value?: string;
1640
- options?: string[];
1639
+ options?: readonly string[];
1641
1640
  };
1642
1641
  }) | ({
1643
- type: WidgetTypes.Separator;
1642
+ type: "Separator";
1644
1643
  } & {
1645
1644
  config?: {
1646
1645
  label?: string | null | undefined;
1647
1646
  };
1648
1647
  }) | ({
1649
- type: WidgetTypes.Text;
1648
+ type: "Text";
1650
1649
  } & {
1651
1650
  fieldset?: string | null | undefined;
1652
1651
  config?: {
@@ -1655,7 +1654,7 @@ export declare const StaticWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
1655
1654
  placeholder?: string;
1656
1655
  };
1657
1656
  }) | ({
1658
- type: WidgetTypes.Timestamp;
1657
+ type: "Timestamp";
1659
1658
  } & {
1660
1659
  fieldset?: string | null | undefined;
1661
1660
  config?: {
@@ -1674,7 +1673,7 @@ export declare const StaticWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
1674
1673
  }, unknown, unknown>]>;
1675
1674
  export declare type StaticWidget = t.TypeOf<typeof StaticWidget>;
1676
1675
  export declare const DynamicWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
1677
- type: t.LiteralC<WidgetTypes.UID>;
1676
+ type: t.LiteralC<"UID">;
1678
1677
  }>, t.PartialC<{
1679
1678
  fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
1680
1679
  config: t.ExactC<t.PartialC<{
@@ -1683,7 +1682,7 @@ export declare const DynamicWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<
1683
1682
  placeholder: t.StringC;
1684
1683
  }>>;
1685
1684
  }>]>>, t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
1686
- type: t.LiteralC<WidgetTypes.Color>;
1685
+ type: t.LiteralC<"Color">;
1687
1686
  }>, t.PartialC<{
1688
1687
  fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
1689
1688
  config: t.ExactC<t.PartialC<{
@@ -1691,7 +1690,7 @@ export declare const DynamicWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<
1691
1690
  placeholder: t.StringC;
1692
1691
  }>>;
1693
1692
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
1694
- type: t.LiteralC<WidgetTypes.BooleanField>;
1693
+ type: t.LiteralC<"Boolean">;
1695
1694
  }>, t.PartialC<{
1696
1695
  config: t.ExactC<t.PartialC<{
1697
1696
  label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
@@ -1700,7 +1699,7 @@ export declare const DynamicWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<
1700
1699
  placeholder_false: t.StringC;
1701
1700
  }>>;
1702
1701
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
1703
- type: t.LiteralC<WidgetTypes.Embed>;
1702
+ type: t.LiteralC<"Embed">;
1704
1703
  }>, t.PartialC<{
1705
1704
  fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
1706
1705
  config: t.ExactC<t.PartialC<{
@@ -1709,14 +1708,14 @@ export declare const DynamicWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<
1709
1708
  useAsTitle: t.BooleanC;
1710
1709
  }>>;
1711
1710
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
1712
- type: t.LiteralC<WidgetTypes.GeoPoint>;
1711
+ type: t.LiteralC<"GeoPoint">;
1713
1712
  }>, t.PartialC<{
1714
1713
  fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
1715
1714
  config: t.ExactC<t.PartialC<{
1716
1715
  label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
1717
1716
  }>>;
1718
1717
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
1719
- type: t.LiteralC<WidgetTypes.Date>;
1718
+ type: t.LiteralC<"Date">;
1720
1719
  }>, t.PartialC<{
1721
1720
  fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
1722
1721
  config: t.ExactC<t.PartialC<{
@@ -1725,7 +1724,7 @@ export declare const DynamicWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<
1725
1724
  default: t.StringC;
1726
1725
  }>>;
1727
1726
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
1728
- type: t.LiteralC<WidgetTypes.Number>;
1727
+ type: t.LiteralC<"Number">;
1729
1728
  }>, t.PartialC<{
1730
1729
  fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
1731
1730
  config: t.ExactC<t.PartialC<{
@@ -1736,7 +1735,7 @@ export declare const DynamicWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<
1736
1735
  step: t.UnionC<[t.NumberC, import("io-ts-types").NumberFromStringC]>;
1737
1736
  }>>;
1738
1737
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
1739
- type: t.LiteralC<WidgetTypes.Range>;
1738
+ type: t.LiteralC<"Range">;
1740
1739
  }>, t.PartialC<{
1741
1740
  fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
1742
1741
  config: t.ExactC<t.PartialC<{
@@ -1747,7 +1746,7 @@ export declare const DynamicWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<
1747
1746
  step: t.UnionC<[t.NumberC, import("io-ts-types").NumberFromStringC]>;
1748
1747
  }>>;
1749
1748
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
1750
- type: t.LiteralC<WidgetTypes.RichText>;
1749
+ type: t.LiteralC<"StructuredText">;
1751
1750
  }>, t.PartialC<{
1752
1751
  fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
1753
1752
  config: t.ExactC<t.PartialC<{
@@ -1760,27 +1759,27 @@ export declare const DynamicWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<
1760
1759
  width: t.Type<number | null, unknown, unknown>;
1761
1760
  height: t.Type<number | null, unknown, unknown>;
1762
1761
  }>;
1763
- labels: t.Type<string[], object, unknown>;
1762
+ labels: t.Type<readonly string[], object, unknown>;
1764
1763
  allowTargetBlank: t.BooleanC;
1765
1764
  }>>;
1766
1765
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
1767
- type: t.LiteralC<WidgetTypes.Select>;
1766
+ type: t.LiteralC<"Select">;
1768
1767
  }>, t.PartialC<{
1769
1768
  fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
1770
1769
  config: t.ExactC<t.PartialC<{
1771
1770
  label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
1772
1771
  placeholder: t.StringC;
1773
1772
  default_value: t.StringC;
1774
- options: t.ArrayC<t.UnionC<[t.StringC, t.Type<string, string, unknown>, t.Type<string, string, unknown>]>>;
1773
+ options: t.ReadonlyArrayC<t.UnionC<[t.StringC, t.Type<string, string, unknown>, t.Type<string, string, unknown>]>>;
1775
1774
  }>>;
1776
1775
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
1777
- type: t.LiteralC<WidgetTypes.Separator>;
1776
+ type: t.LiteralC<"Separator">;
1778
1777
  }>, t.PartialC<{
1779
1778
  config: t.ExactC<t.PartialC<{
1780
1779
  label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
1781
1780
  }>>;
1782
1781
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
1783
- type: t.LiteralC<WidgetTypes.Text>;
1782
+ type: t.LiteralC<"Text">;
1784
1783
  }>, t.PartialC<{
1785
1784
  fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
1786
1785
  config: t.ExactC<t.PartialC<{
@@ -1789,7 +1788,7 @@ export declare const DynamicWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<
1789
1788
  placeholder: t.StringC;
1790
1789
  }>>;
1791
1790
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
1792
- type: t.LiteralC<WidgetTypes.Timestamp>;
1791
+ type: t.LiteralC<"Timestamp">;
1793
1792
  }>, t.PartialC<{
1794
1793
  fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
1795
1794
  config: t.ExactC<t.PartialC<{
@@ -1798,7 +1797,7 @@ export declare const DynamicWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<
1798
1797
  default: t.StringC;
1799
1798
  }>>;
1800
1799
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
1801
- type: t.LiteralC<WidgetTypes.Link>;
1800
+ type: t.LiteralC<"Link">;
1802
1801
  }>, t.PartialC<{
1803
1802
  fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
1804
1803
  config: t.ExactC<t.PartialC<{
@@ -1806,13 +1805,13 @@ export declare const DynamicWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<
1806
1805
  useAsTitle: t.BooleanC;
1807
1806
  placeholder: t.StringC;
1808
1807
  select: t.UnionC<[t.LiteralC<"media">, t.LiteralC<"document">, t.LiteralC<"web">, t.NullC]>;
1809
- customtypes: t.ArrayC<t.StringC>;
1810
- masks: t.Type<string[], object, unknown>;
1811
- tags: t.Type<string[], object, unknown>;
1808
+ customtypes: t.ReadonlyArrayC<t.StringC>;
1809
+ masks: t.Type<readonly string[], object, unknown>;
1810
+ tags: t.Type<readonly string[], object, unknown>;
1812
1811
  allowTargetBlank: t.BooleanC;
1813
1812
  }>>;
1814
1813
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
1815
- type: t.LiteralC<WidgetTypes.Image>;
1814
+ type: t.LiteralC<"Image">;
1816
1815
  }>, t.PartialC<{
1817
1816
  fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
1818
1817
  config: t.ExactC<t.PartialC<{
@@ -1822,7 +1821,7 @@ export declare const DynamicWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<
1822
1821
  width: t.Type<number | null, unknown, unknown>;
1823
1822
  height: t.Type<number | null, unknown, unknown>;
1824
1823
  }>;
1825
- thumbnails: t.ArrayC<t.ExactC<t.IntersectionC<[t.TypeC<{
1824
+ thumbnails: t.ReadonlyArrayC<t.ExactC<t.IntersectionC<[t.TypeC<{
1826
1825
  name: t.StringC;
1827
1826
  }>, t.PartialC<{
1828
1827
  width: t.Type<number | null, unknown, unknown>;
@@ -1830,7 +1829,7 @@ export declare const DynamicWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<
1830
1829
  }>]>>>;
1831
1830
  }>>;
1832
1831
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
1833
- type: t.LiteralC<WidgetTypes.IntegrationField>;
1832
+ type: t.LiteralC<"IntegrationFields">;
1834
1833
  }>, t.PartialC<{
1835
1834
  fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
1836
1835
  config: t.ExactC<t.PartialC<{
@@ -1839,7 +1838,7 @@ export declare const DynamicWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<
1839
1838
  catalog: t.StringC;
1840
1839
  }>>;
1841
1840
  }>]>>]>, t.ExactC<t.IntersectionC<[t.TypeC<{
1842
- type: t.LiteralC<WidgetTypes.Group>;
1841
+ type: t.LiteralC<"Group">;
1843
1842
  }>, t.PartialC<{
1844
1843
  fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
1845
1844
  icon: t.StringC;
@@ -1848,7 +1847,7 @@ export declare const DynamicWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<
1848
1847
  label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
1849
1848
  repeat: t.BooleanC;
1850
1849
  fields: t.RecordC<t.StringC, t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
1851
- type: t.LiteralC<WidgetTypes.Color>;
1850
+ type: t.LiteralC<"Color">;
1852
1851
  }>, t.PartialC<{
1853
1852
  fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
1854
1853
  config: t.ExactC<t.PartialC<{
@@ -1856,7 +1855,7 @@ export declare const DynamicWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<
1856
1855
  placeholder: t.StringC;
1857
1856
  }>>;
1858
1857
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
1859
- type: t.LiteralC<WidgetTypes.BooleanField>;
1858
+ type: t.LiteralC<"Boolean">;
1860
1859
  }>, t.PartialC<{
1861
1860
  config: t.ExactC<t.PartialC<{
1862
1861
  label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
@@ -1865,7 +1864,7 @@ export declare const DynamicWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<
1865
1864
  placeholder_false: t.StringC;
1866
1865
  }>>;
1867
1866
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
1868
- type: t.LiteralC<WidgetTypes.Embed>;
1867
+ type: t.LiteralC<"Embed">;
1869
1868
  }>, t.PartialC<{
1870
1869
  fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
1871
1870
  config: t.ExactC<t.PartialC<{
@@ -1874,14 +1873,14 @@ export declare const DynamicWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<
1874
1873
  useAsTitle: t.BooleanC;
1875
1874
  }>>;
1876
1875
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
1877
- type: t.LiteralC<WidgetTypes.GeoPoint>;
1876
+ type: t.LiteralC<"GeoPoint">;
1878
1877
  }>, t.PartialC<{
1879
1878
  fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
1880
1879
  config: t.ExactC<t.PartialC<{
1881
1880
  label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
1882
1881
  }>>;
1883
1882
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
1884
- type: t.LiteralC<WidgetTypes.Date>;
1883
+ type: t.LiteralC<"Date">;
1885
1884
  }>, t.PartialC<{
1886
1885
  fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
1887
1886
  config: t.ExactC<t.PartialC<{
@@ -1890,7 +1889,7 @@ export declare const DynamicWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<
1890
1889
  default: t.StringC;
1891
1890
  }>>;
1892
1891
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
1893
- type: t.LiteralC<WidgetTypes.Number>;
1892
+ type: t.LiteralC<"Number">;
1894
1893
  }>, t.PartialC<{
1895
1894
  fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
1896
1895
  config: t.ExactC<t.PartialC<{
@@ -1901,7 +1900,7 @@ export declare const DynamicWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<
1901
1900
  step: t.UnionC<[t.NumberC, import("io-ts-types").NumberFromStringC]>;
1902
1901
  }>>;
1903
1902
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
1904
- type: t.LiteralC<WidgetTypes.Range>;
1903
+ type: t.LiteralC<"Range">;
1905
1904
  }>, t.PartialC<{
1906
1905
  fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
1907
1906
  config: t.ExactC<t.PartialC<{
@@ -1912,7 +1911,7 @@ export declare const DynamicWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<
1912
1911
  step: t.UnionC<[t.NumberC, import("io-ts-types").NumberFromStringC]>;
1913
1912
  }>>;
1914
1913
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
1915
- type: t.LiteralC<WidgetTypes.RichText>;
1914
+ type: t.LiteralC<"StructuredText">;
1916
1915
  }>, t.PartialC<{
1917
1916
  fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
1918
1917
  config: t.ExactC<t.PartialC<{
@@ -1925,27 +1924,27 @@ export declare const DynamicWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<
1925
1924
  width: t.Type<number | null, unknown, unknown>;
1926
1925
  height: t.Type<number | null, unknown, unknown>;
1927
1926
  }>;
1928
- labels: t.Type<string[], object, unknown>;
1927
+ labels: t.Type<readonly string[], object, unknown>;
1929
1928
  allowTargetBlank: t.BooleanC;
1930
1929
  }>>;
1931
1930
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
1932
- type: t.LiteralC<WidgetTypes.Select>;
1931
+ type: t.LiteralC<"Select">;
1933
1932
  }>, t.PartialC<{
1934
1933
  fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
1935
1934
  config: t.ExactC<t.PartialC<{
1936
1935
  label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
1937
1936
  placeholder: t.StringC;
1938
1937
  default_value: t.StringC;
1939
- options: t.ArrayC<t.UnionC<[t.StringC, t.Type<string, string, unknown>, t.Type<string, string, unknown>]>>;
1938
+ options: t.ReadonlyArrayC<t.UnionC<[t.StringC, t.Type<string, string, unknown>, t.Type<string, string, unknown>]>>;
1940
1939
  }>>;
1941
1940
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
1942
- type: t.LiteralC<WidgetTypes.Separator>;
1941
+ type: t.LiteralC<"Separator">;
1943
1942
  }>, t.PartialC<{
1944
1943
  config: t.ExactC<t.PartialC<{
1945
1944
  label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
1946
1945
  }>>;
1947
1946
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
1948
- type: t.LiteralC<WidgetTypes.Text>;
1947
+ type: t.LiteralC<"Text">;
1949
1948
  }>, t.PartialC<{
1950
1949
  fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
1951
1950
  config: t.ExactC<t.PartialC<{
@@ -1954,7 +1953,7 @@ export declare const DynamicWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<
1954
1953
  placeholder: t.StringC;
1955
1954
  }>>;
1956
1955
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
1957
- type: t.LiteralC<WidgetTypes.Timestamp>;
1956
+ type: t.LiteralC<"Timestamp">;
1958
1957
  }>, t.PartialC<{
1959
1958
  fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
1960
1959
  config: t.ExactC<t.PartialC<{
@@ -1963,7 +1962,7 @@ export declare const DynamicWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<
1963
1962
  default: t.StringC;
1964
1963
  }>>;
1965
1964
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
1966
- type: t.LiteralC<WidgetTypes.Link>;
1965
+ type: t.LiteralC<"Link">;
1967
1966
  }>, t.PartialC<{
1968
1967
  fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
1969
1968
  config: t.ExactC<t.PartialC<{
@@ -1971,13 +1970,13 @@ export declare const DynamicWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<
1971
1970
  useAsTitle: t.BooleanC;
1972
1971
  placeholder: t.StringC;
1973
1972
  select: t.UnionC<[t.LiteralC<"media">, t.LiteralC<"document">, t.LiteralC<"web">, t.NullC]>;
1974
- customtypes: t.ArrayC<t.StringC>;
1975
- masks: t.Type<string[], object, unknown>;
1976
- tags: t.Type<string[], object, unknown>;
1973
+ customtypes: t.ReadonlyArrayC<t.StringC>;
1974
+ masks: t.Type<readonly string[], object, unknown>;
1975
+ tags: t.Type<readonly string[], object, unknown>;
1977
1976
  allowTargetBlank: t.BooleanC;
1978
1977
  }>>;
1979
1978
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
1980
- type: t.LiteralC<WidgetTypes.Image>;
1979
+ type: t.LiteralC<"Image">;
1981
1980
  }>, t.PartialC<{
1982
1981
  fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
1983
1982
  config: t.ExactC<t.PartialC<{
@@ -1987,7 +1986,7 @@ export declare const DynamicWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<
1987
1986
  width: t.Type<number | null, unknown, unknown>;
1988
1987
  height: t.Type<number | null, unknown, unknown>;
1989
1988
  }>;
1990
- thumbnails: t.ArrayC<t.ExactC<t.IntersectionC<[t.TypeC<{
1989
+ thumbnails: t.ReadonlyArrayC<t.ExactC<t.IntersectionC<[t.TypeC<{
1991
1990
  name: t.StringC;
1992
1991
  }>, t.PartialC<{
1993
1992
  width: t.Type<number | null, unknown, unknown>;
@@ -1995,7 +1994,7 @@ export declare const DynamicWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<
1995
1994
  }>]>>>;
1996
1995
  }>>;
1997
1996
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
1998
- type: t.LiteralC<WidgetTypes.IntegrationField>;
1997
+ type: t.LiteralC<"IntegrationFields">;
1999
1998
  }>, t.PartialC<{
2000
1999
  fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
2001
2000
  config: t.ExactC<t.PartialC<{
@@ -2006,13 +2005,13 @@ export declare const DynamicWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<
2006
2005
  }>]>>]>>;
2007
2006
  }>>;
2008
2007
  }>]>>, t.Type<{
2009
- type: WidgetTypes.Slices | WidgetTypes.LegacySlices;
2008
+ type: "Slices" | "Choice";
2010
2009
  } & {
2011
2010
  fieldset?: string | null | undefined;
2012
2011
  config?: {
2013
2012
  label?: string | null | undefined;
2014
2013
  labels?: {
2015
- [x: string]: ({
2014
+ [x: string]: readonly ({
2016
2015
  name: string;
2017
2016
  } & {
2018
2017
  display?: string;
@@ -2020,7 +2019,7 @@ export declare const DynamicWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<
2020
2019
  } | null;
2021
2020
  choices?: {
2022
2021
  [x: string]: ({
2023
- type: WidgetTypes.BooleanField;
2022
+ type: "Boolean";
2024
2023
  } & {
2025
2024
  config?: {
2026
2025
  label?: string | null | undefined;
@@ -2029,7 +2028,7 @@ export declare const DynamicWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<
2029
2028
  placeholder_false?: string;
2030
2029
  };
2031
2030
  }) | ({
2032
- type: WidgetTypes.Color;
2031
+ type: "Color";
2033
2032
  } & {
2034
2033
  fieldset?: string | null | undefined;
2035
2034
  config?: {
@@ -2037,7 +2036,7 @@ export declare const DynamicWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<
2037
2036
  placeholder?: string;
2038
2037
  };
2039
2038
  }) | ({
2040
- type: WidgetTypes.Date;
2039
+ type: "Date";
2041
2040
  } & {
2042
2041
  fieldset?: string | null | undefined;
2043
2042
  config?: {
@@ -2046,7 +2045,7 @@ export declare const DynamicWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<
2046
2045
  default?: string;
2047
2046
  };
2048
2047
  }) | ({
2049
- type: WidgetTypes.Embed;
2048
+ type: "Embed";
2050
2049
  } & {
2051
2050
  fieldset?: string | null | undefined;
2052
2051
  config?: {
@@ -2055,14 +2054,14 @@ export declare const DynamicWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<
2055
2054
  useAsTitle?: boolean;
2056
2055
  };
2057
2056
  }) | ({
2058
- type: WidgetTypes.GeoPoint;
2057
+ type: "GeoPoint";
2059
2058
  } & {
2060
2059
  fieldset?: string | null | undefined;
2061
2060
  config?: {
2062
2061
  label?: string | null | undefined;
2063
2062
  };
2064
2063
  }) | ({
2065
- type: WidgetTypes.Image;
2064
+ type: "Image";
2066
2065
  } & {
2067
2066
  fieldset?: string | null | undefined;
2068
2067
  config?: {
@@ -2072,7 +2071,7 @@ export declare const DynamicWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<
2072
2071
  width?: number | null;
2073
2072
  height?: number | null;
2074
2073
  };
2075
- thumbnails?: ({
2074
+ thumbnails?: readonly ({
2076
2075
  name: string;
2077
2076
  } & {
2078
2077
  width?: number | null;
@@ -2080,7 +2079,7 @@ export declare const DynamicWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<
2080
2079
  })[];
2081
2080
  };
2082
2081
  }) | ({
2083
- type: WidgetTypes.IntegrationField;
2082
+ type: "IntegrationFields";
2084
2083
  } & {
2085
2084
  fieldset?: string | null | undefined;
2086
2085
  config?: {
@@ -2089,7 +2088,7 @@ export declare const DynamicWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<
2089
2088
  catalog?: string;
2090
2089
  };
2091
2090
  }) | ({
2092
- type: WidgetTypes.Link;
2091
+ type: "Link";
2093
2092
  } & {
2094
2093
  fieldset?: string | null | undefined;
2095
2094
  config?: {
@@ -2097,13 +2096,13 @@ export declare const DynamicWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<
2097
2096
  useAsTitle?: boolean;
2098
2097
  placeholder?: string;
2099
2098
  select?: "media" | "document" | "web" | null;
2100
- customtypes?: string[];
2101
- masks?: string[];
2102
- tags?: string[];
2099
+ customtypes?: readonly string[];
2100
+ masks?: readonly string[];
2101
+ tags?: readonly string[];
2103
2102
  allowTargetBlank?: boolean;
2104
2103
  };
2105
2104
  }) | ({
2106
- type: WidgetTypes.Number;
2105
+ type: "Number";
2107
2106
  } & {
2108
2107
  fieldset?: string | null | undefined;
2109
2108
  config?: {
@@ -2114,7 +2113,7 @@ export declare const DynamicWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<
2114
2113
  step?: number;
2115
2114
  };
2116
2115
  }) | ({
2117
- type: WidgetTypes.Range;
2116
+ type: "Range";
2118
2117
  } & {
2119
2118
  fieldset?: string | null | undefined;
2120
2119
  config?: {
@@ -2125,7 +2124,7 @@ export declare const DynamicWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<
2125
2124
  step?: number;
2126
2125
  };
2127
2126
  }) | ({
2128
- type: WidgetTypes.RichText;
2127
+ type: "StructuredText";
2129
2128
  } & {
2130
2129
  fieldset?: string | null | undefined;
2131
2130
  config?: {
@@ -2138,27 +2137,27 @@ export declare const DynamicWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<
2138
2137
  width?: number | null;
2139
2138
  height?: number | null;
2140
2139
  };
2141
- labels?: string[];
2140
+ labels?: readonly string[];
2142
2141
  allowTargetBlank?: boolean;
2143
2142
  };
2144
2143
  }) | ({
2145
- type: WidgetTypes.Select;
2144
+ type: "Select";
2146
2145
  } & {
2147
2146
  fieldset?: string | null | undefined;
2148
2147
  config?: {
2149
2148
  label?: string | null | undefined;
2150
2149
  placeholder?: string;
2151
2150
  default_value?: string;
2152
- options?: string[];
2151
+ options?: readonly string[];
2153
2152
  };
2154
2153
  }) | ({
2155
- type: WidgetTypes.Separator;
2154
+ type: "Separator";
2156
2155
  } & {
2157
2156
  config?: {
2158
2157
  label?: string | null | undefined;
2159
2158
  };
2160
2159
  }) | ({
2161
- type: WidgetTypes.Text;
2160
+ type: "Text";
2162
2161
  } & {
2163
2162
  fieldset?: string | null | undefined;
2164
2163
  config?: {
@@ -2167,7 +2166,7 @@ export declare const DynamicWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<
2167
2166
  placeholder?: string;
2168
2167
  };
2169
2168
  }) | ({
2170
- type: WidgetTypes.Timestamp;
2169
+ type: "Timestamp";
2171
2170
  } & {
2172
2171
  fieldset?: string | null | undefined;
2173
2172
  config?: {
@@ -2176,7 +2175,7 @@ export declare const DynamicWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<
2176
2175
  default?: string;
2177
2176
  };
2178
2177
  }) | ({
2179
- type: import("./slices/SlicesTypes").default.Slice;
2178
+ type: "Slice";
2180
2179
  } & {
2181
2180
  fieldset?: string | null | undefined;
2182
2181
  description?: string;
@@ -2184,7 +2183,7 @@ export declare const DynamicWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<
2184
2183
  display?: string;
2185
2184
  "non-repeat"?: {
2186
2185
  [x: string]: ({
2187
- type: WidgetTypes.BooleanField;
2186
+ type: "Boolean";
2188
2187
  } & {
2189
2188
  config?: {
2190
2189
  label?: string | null | undefined;
@@ -2193,7 +2192,7 @@ export declare const DynamicWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<
2193
2192
  placeholder_false?: string;
2194
2193
  };
2195
2194
  }) | ({
2196
- type: WidgetTypes.Color;
2195
+ type: "Color";
2197
2196
  } & {
2198
2197
  fieldset?: string | null | undefined;
2199
2198
  config?: {
@@ -2201,7 +2200,7 @@ export declare const DynamicWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<
2201
2200
  placeholder?: string;
2202
2201
  };
2203
2202
  }) | ({
2204
- type: WidgetTypes.Date;
2203
+ type: "Date";
2205
2204
  } & {
2206
2205
  fieldset?: string | null | undefined;
2207
2206
  config?: {
@@ -2210,7 +2209,7 @@ export declare const DynamicWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<
2210
2209
  default?: string;
2211
2210
  };
2212
2211
  }) | ({
2213
- type: WidgetTypes.Embed;
2212
+ type: "Embed";
2214
2213
  } & {
2215
2214
  fieldset?: string | null | undefined;
2216
2215
  config?: {
@@ -2219,14 +2218,14 @@ export declare const DynamicWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<
2219
2218
  useAsTitle?: boolean;
2220
2219
  };
2221
2220
  }) | ({
2222
- type: WidgetTypes.GeoPoint;
2221
+ type: "GeoPoint";
2223
2222
  } & {
2224
2223
  fieldset?: string | null | undefined;
2225
2224
  config?: {
2226
2225
  label?: string | null | undefined;
2227
2226
  };
2228
2227
  }) | ({
2229
- type: WidgetTypes.Image;
2228
+ type: "Image";
2230
2229
  } & {
2231
2230
  fieldset?: string | null | undefined;
2232
2231
  config?: {
@@ -2236,7 +2235,7 @@ export declare const DynamicWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<
2236
2235
  width?: number | null;
2237
2236
  height?: number | null;
2238
2237
  };
2239
- thumbnails?: ({
2238
+ thumbnails?: readonly ({
2240
2239
  name: string;
2241
2240
  } & {
2242
2241
  width?: number | null;
@@ -2244,7 +2243,7 @@ export declare const DynamicWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<
2244
2243
  })[];
2245
2244
  };
2246
2245
  }) | ({
2247
- type: WidgetTypes.IntegrationField;
2246
+ type: "IntegrationFields";
2248
2247
  } & {
2249
2248
  fieldset?: string | null | undefined;
2250
2249
  config?: {
@@ -2253,7 +2252,7 @@ export declare const DynamicWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<
2253
2252
  catalog?: string;
2254
2253
  };
2255
2254
  }) | ({
2256
- type: WidgetTypes.Link;
2255
+ type: "Link";
2257
2256
  } & {
2258
2257
  fieldset?: string | null | undefined;
2259
2258
  config?: {
@@ -2261,13 +2260,13 @@ export declare const DynamicWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<
2261
2260
  useAsTitle?: boolean;
2262
2261
  placeholder?: string;
2263
2262
  select?: "media" | "document" | "web" | null;
2264
- customtypes?: string[];
2265
- masks?: string[];
2266
- tags?: string[];
2263
+ customtypes?: readonly string[];
2264
+ masks?: readonly string[];
2265
+ tags?: readonly string[];
2267
2266
  allowTargetBlank?: boolean;
2268
2267
  };
2269
2268
  }) | ({
2270
- type: WidgetTypes.Number;
2269
+ type: "Number";
2271
2270
  } & {
2272
2271
  fieldset?: string | null | undefined;
2273
2272
  config?: {
@@ -2278,7 +2277,7 @@ export declare const DynamicWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<
2278
2277
  step?: number;
2279
2278
  };
2280
2279
  }) | ({
2281
- type: WidgetTypes.Range;
2280
+ type: "Range";
2282
2281
  } & {
2283
2282
  fieldset?: string | null | undefined;
2284
2283
  config?: {
@@ -2289,7 +2288,7 @@ export declare const DynamicWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<
2289
2288
  step?: number;
2290
2289
  };
2291
2290
  }) | ({
2292
- type: WidgetTypes.RichText;
2291
+ type: "StructuredText";
2293
2292
  } & {
2294
2293
  fieldset?: string | null | undefined;
2295
2294
  config?: {
@@ -2302,27 +2301,27 @@ export declare const DynamicWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<
2302
2301
  width?: number | null;
2303
2302
  height?: number | null;
2304
2303
  };
2305
- labels?: string[];
2304
+ labels?: readonly string[];
2306
2305
  allowTargetBlank?: boolean;
2307
2306
  };
2308
2307
  }) | ({
2309
- type: WidgetTypes.Select;
2308
+ type: "Select";
2310
2309
  } & {
2311
2310
  fieldset?: string | null | undefined;
2312
2311
  config?: {
2313
2312
  label?: string | null | undefined;
2314
2313
  placeholder?: string;
2315
2314
  default_value?: string;
2316
- options?: string[];
2315
+ options?: readonly string[];
2317
2316
  };
2318
2317
  }) | ({
2319
- type: WidgetTypes.Separator;
2318
+ type: "Separator";
2320
2319
  } & {
2321
2320
  config?: {
2322
2321
  label?: string | null | undefined;
2323
2322
  };
2324
2323
  }) | ({
2325
- type: WidgetTypes.Text;
2324
+ type: "Text";
2326
2325
  } & {
2327
2326
  fieldset?: string | null | undefined;
2328
2327
  config?: {
@@ -2331,7 +2330,7 @@ export declare const DynamicWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<
2331
2330
  placeholder?: string;
2332
2331
  };
2333
2332
  }) | ({
2334
- type: WidgetTypes.Timestamp;
2333
+ type: "Timestamp";
2335
2334
  } & {
2336
2335
  fieldset?: string | null | undefined;
2337
2336
  config?: {
@@ -2343,7 +2342,7 @@ export declare const DynamicWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<
2343
2342
  };
2344
2343
  repeat?: {
2345
2344
  [x: string]: ({
2346
- type: WidgetTypes.BooleanField;
2345
+ type: "Boolean";
2347
2346
  } & {
2348
2347
  config?: {
2349
2348
  label?: string | null | undefined;
@@ -2352,7 +2351,7 @@ export declare const DynamicWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<
2352
2351
  placeholder_false?: string;
2353
2352
  };
2354
2353
  }) | ({
2355
- type: WidgetTypes.Color;
2354
+ type: "Color";
2356
2355
  } & {
2357
2356
  fieldset?: string | null | undefined;
2358
2357
  config?: {
@@ -2360,7 +2359,7 @@ export declare const DynamicWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<
2360
2359
  placeholder?: string;
2361
2360
  };
2362
2361
  }) | ({
2363
- type: WidgetTypes.Date;
2362
+ type: "Date";
2364
2363
  } & {
2365
2364
  fieldset?: string | null | undefined;
2366
2365
  config?: {
@@ -2369,7 +2368,7 @@ export declare const DynamicWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<
2369
2368
  default?: string;
2370
2369
  };
2371
2370
  }) | ({
2372
- type: WidgetTypes.Embed;
2371
+ type: "Embed";
2373
2372
  } & {
2374
2373
  fieldset?: string | null | undefined;
2375
2374
  config?: {
@@ -2378,14 +2377,14 @@ export declare const DynamicWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<
2378
2377
  useAsTitle?: boolean;
2379
2378
  };
2380
2379
  }) | ({
2381
- type: WidgetTypes.GeoPoint;
2380
+ type: "GeoPoint";
2382
2381
  } & {
2383
2382
  fieldset?: string | null | undefined;
2384
2383
  config?: {
2385
2384
  label?: string | null | undefined;
2386
2385
  };
2387
2386
  }) | ({
2388
- type: WidgetTypes.Image;
2387
+ type: "Image";
2389
2388
  } & {
2390
2389
  fieldset?: string | null | undefined;
2391
2390
  config?: {
@@ -2395,7 +2394,7 @@ export declare const DynamicWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<
2395
2394
  width?: number | null;
2396
2395
  height?: number | null;
2397
2396
  };
2398
- thumbnails?: ({
2397
+ thumbnails?: readonly ({
2399
2398
  name: string;
2400
2399
  } & {
2401
2400
  width?: number | null;
@@ -2403,7 +2402,7 @@ export declare const DynamicWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<
2403
2402
  })[];
2404
2403
  };
2405
2404
  }) | ({
2406
- type: WidgetTypes.IntegrationField;
2405
+ type: "IntegrationFields";
2407
2406
  } & {
2408
2407
  fieldset?: string | null | undefined;
2409
2408
  config?: {
@@ -2412,7 +2411,7 @@ export declare const DynamicWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<
2412
2411
  catalog?: string;
2413
2412
  };
2414
2413
  }) | ({
2415
- type: WidgetTypes.Link;
2414
+ type: "Link";
2416
2415
  } & {
2417
2416
  fieldset?: string | null | undefined;
2418
2417
  config?: {
@@ -2420,13 +2419,13 @@ export declare const DynamicWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<
2420
2419
  useAsTitle?: boolean;
2421
2420
  placeholder?: string;
2422
2421
  select?: "media" | "document" | "web" | null;
2423
- customtypes?: string[];
2424
- masks?: string[];
2425
- tags?: string[];
2422
+ customtypes?: readonly string[];
2423
+ masks?: readonly string[];
2424
+ tags?: readonly string[];
2426
2425
  allowTargetBlank?: boolean;
2427
2426
  };
2428
2427
  }) | ({
2429
- type: WidgetTypes.Number;
2428
+ type: "Number";
2430
2429
  } & {
2431
2430
  fieldset?: string | null | undefined;
2432
2431
  config?: {
@@ -2437,7 +2436,7 @@ export declare const DynamicWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<
2437
2436
  step?: number;
2438
2437
  };
2439
2438
  }) | ({
2440
- type: WidgetTypes.Range;
2439
+ type: "Range";
2441
2440
  } & {
2442
2441
  fieldset?: string | null | undefined;
2443
2442
  config?: {
@@ -2448,7 +2447,7 @@ export declare const DynamicWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<
2448
2447
  step?: number;
2449
2448
  };
2450
2449
  }) | ({
2451
- type: WidgetTypes.RichText;
2450
+ type: "StructuredText";
2452
2451
  } & {
2453
2452
  fieldset?: string | null | undefined;
2454
2453
  config?: {
@@ -2461,27 +2460,27 @@ export declare const DynamicWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<
2461
2460
  width?: number | null;
2462
2461
  height?: number | null;
2463
2462
  };
2464
- labels?: string[];
2463
+ labels?: readonly string[];
2465
2464
  allowTargetBlank?: boolean;
2466
2465
  };
2467
2466
  }) | ({
2468
- type: WidgetTypes.Select;
2467
+ type: "Select";
2469
2468
  } & {
2470
2469
  fieldset?: string | null | undefined;
2471
2470
  config?: {
2472
2471
  label?: string | null | undefined;
2473
2472
  placeholder?: string;
2474
2473
  default_value?: string;
2475
- options?: string[];
2474
+ options?: readonly string[];
2476
2475
  };
2477
2476
  }) | ({
2478
- type: WidgetTypes.Separator;
2477
+ type: "Separator";
2479
2478
  } & {
2480
2479
  config?: {
2481
2480
  label?: string | null | undefined;
2482
2481
  };
2483
2482
  }) | ({
2484
- type: WidgetTypes.Text;
2483
+ type: "Text";
2485
2484
  } & {
2486
2485
  fieldset?: string | null | undefined;
2487
2486
  config?: {
@@ -2490,7 +2489,7 @@ export declare const DynamicWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<
2490
2489
  placeholder?: string;
2491
2490
  };
2492
2491
  }) | ({
2493
- type: WidgetTypes.Timestamp;
2492
+ type: "Timestamp";
2494
2493
  } & {
2495
2494
  fieldset?: string | null | undefined;
2496
2495
  config?: {
@@ -2504,7 +2503,7 @@ export declare const DynamicWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<
2504
2503
  label?: string | null | undefined;
2505
2504
  };
2506
2505
  }) | ({
2507
- type: WidgetTypes.Group;
2506
+ type: "Group";
2508
2507
  } & {
2509
2508
  fieldset?: string | null | undefined;
2510
2509
  icon?: string;
@@ -2514,7 +2513,7 @@ export declare const DynamicWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<
2514
2513
  repeat?: boolean;
2515
2514
  fields?: {
2516
2515
  [x: string]: ({
2517
- type: WidgetTypes.BooleanField;
2516
+ type: "Boolean";
2518
2517
  } & {
2519
2518
  config?: {
2520
2519
  label?: string | null | undefined;
@@ -2523,7 +2522,7 @@ export declare const DynamicWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<
2523
2522
  placeholder_false?: string;
2524
2523
  };
2525
2524
  }) | ({
2526
- type: WidgetTypes.Color;
2525
+ type: "Color";
2527
2526
  } & {
2528
2527
  fieldset?: string | null | undefined;
2529
2528
  config?: {
@@ -2531,7 +2530,7 @@ export declare const DynamicWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<
2531
2530
  placeholder?: string;
2532
2531
  };
2533
2532
  }) | ({
2534
- type: WidgetTypes.Date;
2533
+ type: "Date";
2535
2534
  } & {
2536
2535
  fieldset?: string | null | undefined;
2537
2536
  config?: {
@@ -2540,7 +2539,7 @@ export declare const DynamicWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<
2540
2539
  default?: string;
2541
2540
  };
2542
2541
  }) | ({
2543
- type: WidgetTypes.Embed;
2542
+ type: "Embed";
2544
2543
  } & {
2545
2544
  fieldset?: string | null | undefined;
2546
2545
  config?: {
@@ -2549,14 +2548,14 @@ export declare const DynamicWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<
2549
2548
  useAsTitle?: boolean;
2550
2549
  };
2551
2550
  }) | ({
2552
- type: WidgetTypes.GeoPoint;
2551
+ type: "GeoPoint";
2553
2552
  } & {
2554
2553
  fieldset?: string | null | undefined;
2555
2554
  config?: {
2556
2555
  label?: string | null | undefined;
2557
2556
  };
2558
2557
  }) | ({
2559
- type: WidgetTypes.Image;
2558
+ type: "Image";
2560
2559
  } & {
2561
2560
  fieldset?: string | null | undefined;
2562
2561
  config?: {
@@ -2566,7 +2565,7 @@ export declare const DynamicWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<
2566
2565
  width?: number | null;
2567
2566
  height?: number | null;
2568
2567
  };
2569
- thumbnails?: ({
2568
+ thumbnails?: readonly ({
2570
2569
  name: string;
2571
2570
  } & {
2572
2571
  width?: number | null;
@@ -2574,7 +2573,7 @@ export declare const DynamicWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<
2574
2573
  })[];
2575
2574
  };
2576
2575
  }) | ({
2577
- type: WidgetTypes.IntegrationField;
2576
+ type: "IntegrationFields";
2578
2577
  } & {
2579
2578
  fieldset?: string | null | undefined;
2580
2579
  config?: {
@@ -2583,7 +2582,7 @@ export declare const DynamicWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<
2583
2582
  catalog?: string;
2584
2583
  };
2585
2584
  }) | ({
2586
- type: WidgetTypes.Link;
2585
+ type: "Link";
2587
2586
  } & {
2588
2587
  fieldset?: string | null | undefined;
2589
2588
  config?: {
@@ -2591,13 +2590,13 @@ export declare const DynamicWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<
2591
2590
  useAsTitle?: boolean;
2592
2591
  placeholder?: string;
2593
2592
  select?: "media" | "document" | "web" | null;
2594
- customtypes?: string[];
2595
- masks?: string[];
2596
- tags?: string[];
2593
+ customtypes?: readonly string[];
2594
+ masks?: readonly string[];
2595
+ tags?: readonly string[];
2597
2596
  allowTargetBlank?: boolean;
2598
2597
  };
2599
2598
  }) | ({
2600
- type: WidgetTypes.Number;
2599
+ type: "Number";
2601
2600
  } & {
2602
2601
  fieldset?: string | null | undefined;
2603
2602
  config?: {
@@ -2608,7 +2607,7 @@ export declare const DynamicWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<
2608
2607
  step?: number;
2609
2608
  };
2610
2609
  }) | ({
2611
- type: WidgetTypes.Range;
2610
+ type: "Range";
2612
2611
  } & {
2613
2612
  fieldset?: string | null | undefined;
2614
2613
  config?: {
@@ -2619,7 +2618,7 @@ export declare const DynamicWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<
2619
2618
  step?: number;
2620
2619
  };
2621
2620
  }) | ({
2622
- type: WidgetTypes.RichText;
2621
+ type: "StructuredText";
2623
2622
  } & {
2624
2623
  fieldset?: string | null | undefined;
2625
2624
  config?: {
@@ -2632,27 +2631,27 @@ export declare const DynamicWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<
2632
2631
  width?: number | null;
2633
2632
  height?: number | null;
2634
2633
  };
2635
- labels?: string[];
2634
+ labels?: readonly string[];
2636
2635
  allowTargetBlank?: boolean;
2637
2636
  };
2638
2637
  }) | ({
2639
- type: WidgetTypes.Select;
2638
+ type: "Select";
2640
2639
  } & {
2641
2640
  fieldset?: string | null | undefined;
2642
2641
  config?: {
2643
2642
  label?: string | null | undefined;
2644
2643
  placeholder?: string;
2645
2644
  default_value?: string;
2646
- options?: string[];
2645
+ options?: readonly string[];
2647
2646
  };
2648
2647
  }) | ({
2649
- type: WidgetTypes.Separator;
2648
+ type: "Separator";
2650
2649
  } & {
2651
2650
  config?: {
2652
2651
  label?: string | null | undefined;
2653
2652
  };
2654
2653
  }) | ({
2655
- type: WidgetTypes.Text;
2654
+ type: "Text";
2656
2655
  } & {
2657
2656
  fieldset?: string | null | undefined;
2658
2657
  config?: {
@@ -2661,7 +2660,7 @@ export declare const DynamicWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<
2661
2660
  placeholder?: string;
2662
2661
  };
2663
2662
  }) | ({
2664
- type: WidgetTypes.Timestamp;
2663
+ type: "Timestamp";
2665
2664
  } & {
2666
2665
  fieldset?: string | null | undefined;
2667
2666
  config?: {
@@ -2673,7 +2672,7 @@ export declare const DynamicWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<
2673
2672
  };
2674
2673
  };
2675
2674
  }) | {
2676
- type: import("./slices/SlicesTypes").default.SharedSlice;
2675
+ type: "SharedSlice";
2677
2676
  };
2678
2677
  };
2679
2678
  };