@prismicio/types-internal 4.6.0 → 4.7.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 (279) hide show
  1. package/dist/common/asset.d.ts +1 -2
  2. package/dist/common/asset.d.ts.map +1 -1
  3. package/dist/common/asset.js.map +1 -1
  4. package/dist/common/embed.d.ts +1 -2
  5. package/dist/common/embed.d.ts.map +1 -1
  6. package/dist/common/embed.js.map +1 -1
  7. package/dist/common/hexaColorCode.d.ts +1 -2
  8. package/dist/common/hexaColorCode.d.ts.map +1 -1
  9. package/dist/common/hexaColorCode.js.map +1 -1
  10. package/dist/common/nonEmptyString.d.ts +1 -2
  11. package/dist/common/nonEmptyString.d.ts.map +1 -1
  12. package/dist/common/nonEmptyString.js.map +1 -1
  13. package/dist/common/widgetKey.d.ts +1 -2
  14. package/dist/common/widgetKey.d.ts.map +1 -1
  15. package/dist/common/widgetKey.js.map +1 -1
  16. package/dist/content/boolean.d.ts +1 -2
  17. package/dist/content/boolean.d.ts.map +1 -1
  18. package/dist/content/boolean.js.map +1 -1
  19. package/dist/content/codec/boolean.js.map +1 -1
  20. package/dist/content/codec/document.js.map +1 -1
  21. package/dist/content/codec/embed.js.map +1 -1
  22. package/dist/content/codec/empty.js.map +1 -1
  23. package/dist/content/codec/field.js.map +1 -1
  24. package/dist/content/codec/geopoint.js.map +1 -1
  25. package/dist/content/codec/group.js +6 -4
  26. package/dist/content/codec/group.js.map +1 -1
  27. package/dist/content/codec/image.js.map +1 -1
  28. package/dist/content/codec/integrationField.js.map +1 -1
  29. package/dist/content/codec/legacyContentCtx.d.ts +2 -15
  30. package/dist/content/codec/legacyContentCtx.d.ts.map +1 -1
  31. package/dist/content/codec/legacyContentCtx.js.map +1 -1
  32. package/dist/content/codec/link.js.map +1 -1
  33. package/dist/content/codec/nestable.js.map +1 -1
  34. package/dist/content/codec/repeatable.js.map +1 -1
  35. package/dist/content/codec/richText.js.map +1 -1
  36. package/dist/content/codec/separator.js.map +1 -1
  37. package/dist/content/codec/slice.js.map +1 -1
  38. package/dist/content/codec/slices.js.map +1 -1
  39. package/dist/content/codec/table.js.map +1 -1
  40. package/dist/content/codec/uid.js.map +1 -1
  41. package/dist/content/codec/widget.js.map +1 -1
  42. package/dist/content/document.d.ts +1 -2
  43. package/dist/content/document.d.ts.map +1 -1
  44. package/dist/content/document.js.map +1 -1
  45. package/dist/content/embed.d.ts +1 -2
  46. package/dist/content/embed.d.ts.map +1 -1
  47. package/dist/content/embed.js.map +1 -1
  48. package/dist/content/empty.d.ts +1 -2
  49. package/dist/content/empty.d.ts.map +1 -1
  50. package/dist/content/empty.js.map +1 -1
  51. package/dist/content/field.d.ts +1 -2
  52. package/dist/content/field.d.ts.map +1 -1
  53. package/dist/content/field.js.map +1 -1
  54. package/dist/content/geopoint.d.ts +1 -2
  55. package/dist/content/geopoint.d.ts.map +1 -1
  56. package/dist/content/geopoint.js.map +1 -1
  57. package/dist/content/group.d.ts +3 -2
  58. package/dist/content/group.d.ts.map +1 -1
  59. package/dist/content/group.js.map +1 -1
  60. package/dist/content/image.d.ts +1 -2
  61. package/dist/content/image.d.ts.map +1 -1
  62. package/dist/content/image.js.map +1 -1
  63. package/dist/content/integrationField.d.ts +1 -2
  64. package/dist/content/integrationField.d.ts.map +1 -1
  65. package/dist/content/integrationField.js.map +1 -1
  66. package/dist/content/legacy/boolean.js.map +1 -1
  67. package/dist/content/legacy/document.d.ts +1 -2
  68. package/dist/content/legacy/document.d.ts.map +1 -1
  69. package/dist/content/legacy/document.js.map +1 -1
  70. package/dist/content/legacy/embed.js.map +1 -1
  71. package/dist/content/legacy/empty.js.map +1 -1
  72. package/dist/content/legacy/field.js.map +1 -1
  73. package/dist/content/legacy/geopoint.js.map +1 -1
  74. package/dist/content/legacy/group.d.ts +2 -2
  75. package/dist/content/legacy/group.d.ts.map +1 -1
  76. package/dist/content/legacy/group.js.map +1 -1
  77. package/dist/content/legacy/image.d.ts +0 -1
  78. package/dist/content/legacy/image.d.ts.map +1 -1
  79. package/dist/content/legacy/image.js.map +1 -1
  80. package/dist/content/legacy/integrationField.js.map +1 -1
  81. package/dist/content/legacy/link.d.ts +1 -2
  82. package/dist/content/legacy/link.d.ts.map +1 -1
  83. package/dist/content/legacy/link.js.map +1 -1
  84. package/dist/content/legacy/nestable.d.ts +12 -0
  85. package/dist/content/legacy/nestable.js.map +1 -1
  86. package/dist/content/legacy/repeatable.js.map +1 -1
  87. package/dist/content/legacy/richText.d.ts +5 -2
  88. package/dist/content/legacy/richText.d.ts.map +1 -1
  89. package/dist/content/legacy/richText.js.map +1 -1
  90. package/dist/content/legacy/separator.js.map +1 -1
  91. package/dist/content/legacy/slice.js +1 -1
  92. package/dist/content/legacy/slice.js.map +1 -1
  93. package/dist/content/legacy/slices.js.map +1 -1
  94. package/dist/content/legacy/table.d.ts +2 -0
  95. package/dist/content/legacy/table.js.map +1 -1
  96. package/dist/content/legacy/uid.js.map +1 -1
  97. package/dist/content/link.d.ts +7 -8
  98. package/dist/content/link.d.ts.map +1 -1
  99. package/dist/content/link.js.map +1 -1
  100. package/dist/content/nestable.d.ts +0 -1
  101. package/dist/content/nestable.d.ts.map +1 -1
  102. package/dist/content/nestable.js.map +1 -1
  103. package/dist/content/repeatable.d.ts +3 -4
  104. package/dist/content/repeatable.d.ts.map +1 -1
  105. package/dist/content/repeatable.js.map +1 -1
  106. package/dist/content/richText.d.ts +2 -3
  107. package/dist/content/richText.d.ts.map +1 -1
  108. package/dist/content/richText.js +2 -2
  109. package/dist/content/richText.js.map +1 -1
  110. package/dist/content/separator.d.ts +1 -2
  111. package/dist/content/separator.d.ts.map +1 -1
  112. package/dist/content/separator.js.map +1 -1
  113. package/dist/content/slice.d.ts +13 -14
  114. package/dist/content/slice.d.ts.map +1 -1
  115. package/dist/content/slice.js.map +1 -1
  116. package/dist/content/slices.d.ts +13 -14
  117. package/dist/content/slices.d.ts.map +1 -1
  118. package/dist/content/slices.js.map +1 -1
  119. package/dist/content/table.d.ts +1 -2
  120. package/dist/content/table.d.ts.map +1 -1
  121. package/dist/content/table.js.map +1 -1
  122. package/dist/content/uid.d.ts +1 -2
  123. package/dist/content/uid.d.ts.map +1 -1
  124. package/dist/content/uid.js.map +1 -1
  125. package/dist/content/widget.d.ts +0 -1
  126. package/dist/content/widget.d.ts.map +1 -1
  127. package/dist/content/widget.js.map +1 -1
  128. package/dist/helpers/contentPath.d.ts +1 -1
  129. package/dist/helpers/contentPath.d.ts.map +1 -1
  130. package/dist/helpers/contentPath.js +1 -1
  131. package/dist/helpers/contentPath.js.map +1 -1
  132. package/dist/helpers/customTypeModel.d.ts +1 -3
  133. package/dist/helpers/customTypeModel.d.ts.map +1 -1
  134. package/dist/helpers/customTypeModel.js +1 -1
  135. package/dist/helpers/customTypeModel.js.map +1 -1
  136. package/dist/helpers/documentContent.d.ts +1 -3
  137. package/dist/helpers/documentContent.d.ts.map +1 -1
  138. package/dist/helpers/documentContent.js +1 -1
  139. package/dist/helpers/documentContent.js.map +1 -1
  140. package/dist/helpers/fieldModel.d.ts +1 -1
  141. package/dist/helpers/fieldModel.d.ts.map +1 -1
  142. package/dist/helpers/fieldModel.js +1 -1
  143. package/dist/helpers/fieldModel.js.map +1 -1
  144. package/dist/helpers/imageContent.d.ts +2 -6
  145. package/dist/helpers/imageContent.d.ts.map +1 -1
  146. package/dist/helpers/imageContent.js +1 -1
  147. package/dist/helpers/imageContent.js.map +1 -1
  148. package/dist/helpers/repository.d.ts +1 -1
  149. package/dist/helpers/repository.d.ts.map +1 -1
  150. package/dist/helpers/repository.js +1 -1
  151. package/dist/helpers/repository.js.map +1 -1
  152. package/dist/helpers/sliceContent.d.ts +1 -3
  153. package/dist/helpers/sliceContent.d.ts.map +1 -1
  154. package/dist/helpers/sliceContent.js.map +1 -1
  155. package/dist/helpers/sliceModel.d.ts +1 -1
  156. package/dist/helpers/sliceModel.d.ts.map +1 -1
  157. package/dist/helpers/sliceModel.js +1 -1
  158. package/dist/helpers/sliceModel.js.map +1 -1
  159. package/dist/helpers/traverseContent.d.ts +0 -1
  160. package/dist/helpers/traverseContent.d.ts.map +1 -1
  161. package/dist/helpers/traverseContent.js.map +1 -1
  162. package/dist/helpers/traverseContentWithModel.d.ts +0 -1
  163. package/dist/helpers/traverseContentWithModel.d.ts.map +1 -1
  164. package/dist/helpers/traverseContentWithModel.js.map +1 -1
  165. package/dist/helpers/withDefaultContent.d.ts +1 -3
  166. package/dist/helpers/withDefaultContent.d.ts.map +1 -1
  167. package/dist/helpers/withDefaultContent.js +1 -1
  168. package/dist/helpers/withDefaultContent.js.map +1 -1
  169. package/dist/index.d.ts +5 -1
  170. package/dist/index.js +4 -1
  171. package/dist/io-ts.d.ts +434 -440
  172. package/dist/io-ts.d.ts.map +1 -1
  173. package/dist/io-ts.js +16 -16
  174. package/dist/io-ts.js.map +1 -1
  175. package/dist/model/boolean.d.ts +1 -2
  176. package/dist/model/boolean.d.ts.map +1 -1
  177. package/dist/model/boolean.js.map +1 -1
  178. package/dist/model/color.d.ts +1 -2
  179. package/dist/model/color.d.ts.map +1 -1
  180. package/dist/model/color.js.map +1 -1
  181. package/dist/model/customType.d.ts +3 -4
  182. package/dist/model/customType.d.ts.map +1 -1
  183. package/dist/model/customType.js +1 -1
  184. package/dist/model/customType.js.map +1 -1
  185. package/dist/model/date.d.ts +1 -2
  186. package/dist/model/date.d.ts.map +1 -1
  187. package/dist/model/date.js.map +1 -1
  188. package/dist/model/diff/changes.d.ts +21 -0
  189. package/dist/model/diff/changes.d.ts.map +1 -0
  190. package/dist/model/diff/changes.js +11 -0
  191. package/dist/model/diff/changes.js.map +1 -0
  192. package/dist/model/diff/sharedSlice.d.ts +14 -0
  193. package/dist/model/diff/sharedSlice.d.ts.map +1 -0
  194. package/dist/model/diff/sharedSlice.js +45 -0
  195. package/dist/model/diff/sharedSlice.js.map +1 -0
  196. package/dist/model/diff/utils.js +40 -0
  197. package/dist/model/diff/utils.js.map +1 -0
  198. package/dist/model/diff/variation.d.ts +15 -0
  199. package/dist/model/diff/variation.d.ts.map +1 -0
  200. package/dist/model/diff/variation.js +92 -0
  201. package/dist/model/diff/variation.js.map +1 -0
  202. package/dist/model/diff/widgets.d.ts +15 -0
  203. package/dist/model/diff/widgets.d.ts.map +1 -0
  204. package/dist/model/embed.d.ts +1 -2
  205. package/dist/model/embed.d.ts.map +1 -1
  206. package/dist/model/embed.js.map +1 -1
  207. package/dist/model/geopoint.d.ts +1 -2
  208. package/dist/model/geopoint.d.ts.map +1 -1
  209. package/dist/model/geopoint.js.map +1 -1
  210. package/dist/model/group.d.ts +39 -40
  211. package/dist/model/group.d.ts.map +1 -1
  212. package/dist/model/group.js +1 -1
  213. package/dist/model/group.js.map +1 -1
  214. package/dist/model/image.d.ts +1 -2
  215. package/dist/model/image.d.ts.map +1 -1
  216. package/dist/model/image.js +1 -1
  217. package/dist/model/image.js.map +1 -1
  218. package/dist/model/integrationField.d.ts +1 -2
  219. package/dist/model/integrationField.d.ts.map +1 -1
  220. package/dist/model/integrationField.js.map +1 -1
  221. package/dist/model/link.d.ts +2 -3
  222. package/dist/model/link.d.ts.map +1 -1
  223. package/dist/model/link.js.map +1 -1
  224. package/dist/model/nestable.d.ts +0 -1
  225. package/dist/model/nestable.d.ts.map +1 -1
  226. package/dist/model/nestable.js +3 -3
  227. package/dist/model/nestable.js.map +1 -1
  228. package/dist/model/number.d.ts +1 -2
  229. package/dist/model/number.d.ts.map +1 -1
  230. package/dist/model/number.js.map +1 -1
  231. package/dist/model/range.d.ts +1 -2
  232. package/dist/model/range.d.ts.map +1 -1
  233. package/dist/model/range.js.map +1 -1
  234. package/dist/model/richText.d.ts +1 -2
  235. package/dist/model/richText.d.ts.map +1 -1
  236. package/dist/model/richText.js +1 -1
  237. package/dist/model/richText.js.map +1 -1
  238. package/dist/model/select.d.ts +1 -2
  239. package/dist/model/select.d.ts.map +1 -1
  240. package/dist/model/select.js.map +1 -1
  241. package/dist/model/separator.d.ts +1 -2
  242. package/dist/model/separator.d.ts.map +1 -1
  243. package/dist/model/separator.js.map +1 -1
  244. package/dist/model/slice.d.ts +44 -45
  245. package/dist/model/slice.d.ts.map +1 -1
  246. package/dist/model/slice.js +1 -1
  247. package/dist/model/slice.js.map +1 -1
  248. package/dist/model/slices.d.ts +1 -2
  249. package/dist/model/slices.d.ts.map +1 -1
  250. package/dist/model/slices.js +1 -1
  251. package/dist/model/slices.js.map +1 -1
  252. package/dist/model/table.d.ts +3 -3
  253. package/dist/model/table.d.ts.map +1 -1
  254. package/dist/model/table.js.map +1 -1
  255. package/dist/model/text.d.ts +1 -2
  256. package/dist/model/text.d.ts.map +1 -1
  257. package/dist/model/text.js.map +1 -1
  258. package/dist/model/timestamp.d.ts +1 -2
  259. package/dist/model/timestamp.d.ts.map +1 -1
  260. package/dist/model/timestamp.js.map +1 -1
  261. package/dist/model/uid.d.ts +1 -2
  262. package/dist/model/uid.d.ts.map +1 -1
  263. package/dist/model/uid.js.map +1 -1
  264. package/dist/model/widget.d.ts +23 -24
  265. package/dist/model/widget.d.ts.map +1 -1
  266. package/dist/model/widget.js +1 -1
  267. package/dist/model/widget.js.map +1 -1
  268. package/dist/zod4.d.ts +3351 -3353
  269. package/dist/zod4.d.ts.map +1 -1
  270. package/dist/zod4.js +16 -16
  271. package/dist/zod4.js.map +1 -1
  272. package/package.json +12 -13
  273. package/src/helpers/customTypeModel.ts +3 -1
  274. package/src/index.ts +12 -0
  275. package/src/model/diff/changes.ts +4 -4
  276. package/src/model/diff/sharedSlice.ts +8 -8
  277. package/src/model/diff/variation.ts +6 -6
  278. package/src/model/diff/widgets.ts +3 -3
  279. package/src/model/image.ts +4 -1
@@ -1 +1 @@
1
- {"version":3,"file":"zod4.d.ts","names":[],"sources":["../src/zod4.ts"],"mappings":";;;;;;;;;;;;cA6Ga,WAAA,cAAW,aAAA;MAAyB,WAAA,CAAA,aAAA;;;;;;;;;;;;;;cACpC,WAAA,cAAW,aAAA;QAAyB,WAAA,CAAA,aAAA;;;;;;;;;;;;;cACpC,mBAAA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,0CAAA,YAA9B,kDAA8B,kBAAA;cAC9B,oDAA+B,iCAAA,0CAAA,YAA/B,mDAA+B,kBAAA;cAC/B,gDAA2B,8CAAA;;;;6LAA3B;;;;;;;;;;;;;;;;;;;cACA,iDAA4B,8CAAA;;;;6LAA5B;;;;;;;;;;;;;;;;;;;;cAEA,0CAAqB,8CAAA;;;;6LAArB"}
package/dist/zod4.js CHANGED
@@ -3,10 +3,25 @@ import { ImageContentSchema as ImageContentSchema$1, ImageContentViewSchema as I
3
3
  import { NonEmptyStringSchema as NonEmptyStringSchema$1 } from "./common/nonEmptyString.js";
4
4
  import { EmptyLinkContentSchema as EmptyLinkContentSchema$1, FilledLinkContentSchema as FilledLinkContentSchema$1, LinkContentSchema as LinkContentSchema$1 } from "./content/link.js";
5
5
  import { RichTextContentBlockSchema as RichTextContentBlockSchema$1, RichTextContentSchema as RichTextContentSchema$1, RichTextContentSpanSchema as RichTextContentSpanSchema$1 } from "./content/richText.js";
6
+ import { WidgetKeySchema as WidgetKeySchema$1 } from "./common/widgetKey.js";
7
+ import { BooleanModelSchema as BooleanModelSchema$1 } from "./model/boolean.js";
8
+ import { ColorModelSchema as ColorModelSchema$1 } from "./model/color.js";
9
+ import { DateModelSchema as DateModelSchema$1 } from "./model/date.js";
10
+ import { EmbedModelSchema as EmbedModelSchema$1 } from "./model/embed.js";
11
+ import { GeoPointModelSchema as GeoPointModelSchema$1 } from "./model/geopoint.js";
6
12
  import { ImageModelSchema as ImageModelSchema$1 } from "./model/image.js";
13
+ import { IntegrationFieldModelSchema as IntegrationFieldModelSchema$1 } from "./model/integrationField.js";
14
+ import { LinkModelSchema as LinkModelSchema$1 } from "./model/link.js";
15
+ import { NumberModelSchema as NumberModelSchema$1 } from "./model/number.js";
16
+ import { RangeModelSchema as RangeModelSchema$1 } from "./model/range.js";
7
17
  import { RichTextModelSchema as RichTextModelSchema$1 } from "./model/richText.js";
18
+ import { SelectModelSchema as SelectModelSchema$1 } from "./model/select.js";
19
+ import { SeparatorModelSchema as SeparatorModelSchema$1 } from "./model/separator.js";
8
20
  import { TableModelSchema as TableModelSchema$1 } from "./model/table.js";
9
- import { WidgetKeySchema as WidgetKeySchema$1 } from "./common/widgetKey.js";
21
+ import { TextModelSchema as TextModelSchema$1 } from "./model/text.js";
22
+ import { TimestampModelSchema as TimestampModelSchema$1 } from "./model/timestamp.js";
23
+ import { NestableModelSchema as NestableModelSchema$1 } from "./model/nestable.js";
24
+ import { GroupModelSchema as GroupModelSchema$1, NestedGroupModelSchema as NestedGroupModelSchema$1 } from "./model/group.js";
10
25
  import { BooleanContentSchema as BooleanContentSchema$1 } from "./content/boolean.js";
11
26
  import { EmptyContentSchema as EmptyContentSchema$1 } from "./content/empty.js";
12
27
  import { ColorContentSchema as ColorContentSchema$1, DateContentSchema as DateContentSchema$1, FieldContentSchema as FieldContentSchema$1, NumberContentSchema as NumberContentSchema$1, RangeContentSchema as RangeContentSchema$1, SelectContentSchema as SelectContentSchema$1, TextContentSchema as TextContentSchema$1, TimestampContentSchema as TimestampContentSchema$1 } from "./content/field.js";
@@ -22,21 +37,6 @@ import { CompositeSliceItemContentSchema as CompositeSliceItemContentSchema$1, L
22
37
  import { UIDContentSchema as UIDContentSchema$1 } from "./content/uid.js";
23
38
  import { WidgetContentSchema as WidgetContentSchema$1 } from "./content/widget.js";
24
39
  import { DocumentContentSchema as DocumentContentSchema$1 } from "./content/document.js";
25
- import { BooleanModelSchema as BooleanModelSchema$1 } from "./model/boolean.js";
26
- import { ColorModelSchema as ColorModelSchema$1 } from "./model/color.js";
27
- import { DateModelSchema as DateModelSchema$1 } from "./model/date.js";
28
- import { EmbedModelSchema as EmbedModelSchema$1 } from "./model/embed.js";
29
- import { GeoPointModelSchema as GeoPointModelSchema$1 } from "./model/geopoint.js";
30
- import { IntegrationFieldModelSchema as IntegrationFieldModelSchema$1 } from "./model/integrationField.js";
31
- import { LinkModelSchema as LinkModelSchema$1 } from "./model/link.js";
32
- import { NumberModelSchema as NumberModelSchema$1 } from "./model/number.js";
33
- import { RangeModelSchema as RangeModelSchema$1 } from "./model/range.js";
34
- import { SelectModelSchema as SelectModelSchema$1 } from "./model/select.js";
35
- import { SeparatorModelSchema as SeparatorModelSchema$1 } from "./model/separator.js";
36
- import { TextModelSchema as TextModelSchema$1 } from "./model/text.js";
37
- import { TimestampModelSchema as TimestampModelSchema$1 } from "./model/timestamp.js";
38
- import { NestableModelSchema as NestableModelSchema$1 } from "./model/nestable.js";
39
- import { GroupModelSchema as GroupModelSchema$1, NestedGroupModelSchema as NestedGroupModelSchema$1 } from "./model/group.js";
40
40
  import { CompositeSliceModelSchema as CompositeSliceModelSchema$1, DynamicSliceModelSchema as DynamicSliceModelSchema$1, LegacySliceModelSchema as LegacySliceModelSchema$1, SharedSliceModelSchema as SharedSliceModelSchema$1, SharedSliceModelVariationSchema as SharedSliceModelVariationSchema$1, SharedSliceRefModelSchema as SharedSliceRefModelSchema$1, SliceContentModelSchema as SliceContentModelSchema$1, StaticSliceModelSchema as StaticSliceModelSchema$1 } from "./model/slice.js";
41
41
  import { DynamicSlicesModelSchema as DynamicSlicesModelSchema$1, StaticSlicesModelSchema as StaticSlicesModelSchema$1 } from "./model/slices.js";
42
42
  import { UIDModelSchema as UIDModelSchema$1 } from "./model/uid.js";
package/dist/zod4.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"zod4.js","names":["rawAssetSchema","rawEmbedSchema","rawHexaColorCodeSchema","rawNonEmptyStringSchema","rawWidgetKeySchema","rawBooleanContentSchema","rawColorContentSchema","rawDateContentSchema","rawEmptyContentSchema","rawGeoPointContentSchema","rawFilledLinkContentSchema","rawEmptyLinkContentSchema","rawLinkContentSchema","rawNumberContentSchema","rawRangeContentSchema","rawSelectContentSchema","rawSeparatorContentSchema","rawSharedSliceContentSchema","rawTextContentSchema","rawTimestampContentSchema","rawFieldContentSchema","rawUIDContentSchema","rawIntegrationFieldContentSchema","rawEmbedContentSchema","rawImageContentViewSchema","rawImageContentSchema","rawRichTextContentSchema","rawRichTextContentBlockSchema","rawRichTextContentSpanSchema","rawTableContentSchema","rawRepeatableContentSchema","rawNestableContentSchema","rawGroupContentSchema","rawGroupItemContentSchema","rawCompositeSliceContentSchema","rawLegacySliceContentSchema","rawSliceContentSchema","rawLegacySliceItemContentSchema","rawCompositeSliceItemContentSchema","rawSharedSliceItemContentSchema","rawSliceItemContentSchema","rawSlicesContentSchema","rawWidgetContentSchema","rawDocumentContentSchema","rawBooleanModelSchema","rawColorModelSchema","rawDateModelSchema","rawEmbedModelSchema","rawGeoPointModelSchema","rawImageModelSchema","rawIntegrationFieldModelSchema","rawLinkModelSchema","rawNestableModelSchema","rawNumberModelSchema","rawRangeModelSchema","rawRichTextModelSchema","rawSelectModelSchema","rawSeparatorModelSchema","rawSharedSliceModelSchema","rawTableModelSchema","rawTextModelSchema","rawTimestampModelSchema","rawUIDModelSchema","rawGroupModelSchema","rawNestedGroupModelSchema","rawSharedSliceModelVariationSchema","rawSharedSliceRefModelSchema","rawCompositeSliceModelSchema","rawLegacySliceModelSchema","rawDynamicSliceModelSchema","rawStaticSliceModelSchema","rawSliceContentModelSchema","rawDynamicSlicesModelSchema","rawStaticSlicesModelSchema","rawStaticWidgetModelSchema","rawDynamicWidgetModelSchema","rawStaticCustomTypeModelTabSchema","rawDynamicCustomTypeModelTabSchema","rawStaticCustomTypeModelSchema","rawDynamicCustomTypeModelSchema"],"sources":["../src/zod4.ts"],"sourcesContent":["// Common\nimport { AssetSchema as rawAssetSchema } from \"./common/asset\"\nimport { EmbedSchema as rawEmbedSchema } from \"./common/embed\"\nimport { HexaColorCodeSchema as rawHexaColorCodeSchema } from \"./common/hexaColorCode\"\nimport { NonEmptyStringSchema as rawNonEmptyStringSchema } from \"./common/nonEmptyString\"\nimport { WidgetKeySchema as rawWidgetKeySchema } from \"./common/widgetKey\"\n// Content\nimport { BooleanContentSchema as rawBooleanContentSchema } from \"./content/boolean\"\nimport { DocumentContentSchema as rawDocumentContentSchema } from \"./content/document\"\nimport { EmbedContentSchema as rawEmbedContentSchema } from \"./content/embed\"\nimport { EmptyContentSchema as rawEmptyContentSchema } from \"./content/empty\"\nimport {\n\tColorContentSchema as rawColorContentSchema,\n\tDateContentSchema as rawDateContentSchema,\n\tNumberContentSchema as rawNumberContentSchema,\n\tRangeContentSchema as rawRangeContentSchema,\n\tSelectContentSchema as rawSelectContentSchema,\n\tTextContentSchema as rawTextContentSchema,\n\tTimestampContentSchema as rawTimestampContentSchema,\n\tFieldContentSchema as rawFieldContentSchema,\n} from \"./content/field\"\nimport { GeoPointContentSchema as rawGeoPointContentSchema } from \"./content/geopoint\"\nimport {\n\tGroupContentSchema as rawGroupContentSchema,\n\tGroupItemContentSchema as rawGroupItemContentSchema,\n} from \"./content/group\"\nimport {\n\tImageContentSchema as rawImageContentSchema,\n\tImageContentViewSchema as rawImageContentViewSchema,\n} from \"./content/image\"\nimport { IntegrationFieldContentSchema as rawIntegrationFieldContentSchema } from \"./content/integrationField\"\nimport {\n\tEmptyLinkContentSchema as rawEmptyLinkContentSchema,\n\tFilledLinkContentSchema as rawFilledLinkContentSchema,\n\tLinkContentSchema as rawLinkContentSchema,\n} from \"./content/link\"\nimport { NestableContentSchema as rawNestableContentSchema } from \"./content/nestable\"\nimport { RepeatableContentSchema as rawRepeatableContentSchema } from \"./content/repeatable\"\nimport {\n\tRichTextContentSchema as rawRichTextContentSchema,\n\tRichTextContentBlockSchema as rawRichTextContentBlockSchema,\n\tRichTextContentSpanSchema as rawRichTextContentSpanSchema,\n} from \"./content/richText\"\nimport { SeparatorContentSchema as rawSeparatorContentSchema } from \"./content/separator\"\nimport {\n\tCompositeSliceContentSchema as rawCompositeSliceContentSchema,\n\tLegacySliceContentSchema as rawLegacySliceContentSchema,\n\tSharedSliceContentSchema as rawSharedSliceContentSchema,\n\tSliceContentSchema as rawSliceContentSchema,\n} from \"./content/slice\"\nimport {\n\tLegacySliceItemContentSchema as rawLegacySliceItemContentSchema,\n\tCompositeSliceItemContentSchema as rawCompositeSliceItemContentSchema,\n\tSharedSliceItemContentSchema as rawSharedSliceItemContentSchema,\n\tSliceItemContentSchema as rawSliceItemContentSchema,\n\tSlicesContentSchema as rawSlicesContentSchema,\n} from \"./content/slices\"\nimport { TableContentSchema as rawTableContentSchema } from \"./content/table\"\nimport { UIDContentSchema as rawUIDContentSchema } from \"./content/uid\"\nimport { WidgetContentSchema as rawWidgetContentSchema } from \"./content/widget\"\n// Model\nimport { BooleanModelSchema as rawBooleanModelSchema } from \"./model/boolean\"\nimport { ColorModelSchema as rawColorModelSchema } from \"./model/color\"\nimport {\n\tStaticCustomTypeModelSchema as rawStaticCustomTypeModelSchema,\n\tDynamicCustomTypeModelSchema as rawDynamicCustomTypeModelSchema,\n\tStaticCustomTypeModelTabSchema as rawStaticCustomTypeModelTabSchema,\n\tDynamicCustomTypeModelTabSchema as rawDynamicCustomTypeModelTabSchema,\n} from \"./model/customType\"\nimport { DateModelSchema as rawDateModelSchema } from \"./model/date\"\nimport { EmbedModelSchema as rawEmbedModelSchema } from \"./model/embed\"\nimport { GeoPointModelSchema as rawGeoPointModelSchema } from \"./model/geopoint\"\nimport {\n\tGroupModelSchema as rawGroupModelSchema,\n\tNestedGroupModelSchema as rawNestedGroupModelSchema,\n} from \"./model/group\"\nimport { ImageModelSchema as rawImageModelSchema } from \"./model/image\"\nimport { IntegrationFieldModelSchema as rawIntegrationFieldModelSchema } from \"./model/integrationField\"\nimport { LinkModelSchema as rawLinkModelSchema } from \"./model/link\"\nimport { NestableModelSchema as rawNestableModelSchema } from \"./model/nestable\"\nimport { NumberModelSchema as rawNumberModelSchema } from \"./model/number\"\nimport { RangeModelSchema as rawRangeModelSchema } from \"./model/range\"\nimport { RichTextModelSchema as rawRichTextModelSchema } from \"./model/richText\"\nimport { SelectModelSchema as rawSelectModelSchema } from \"./model/select\"\nimport { SeparatorModelSchema as rawSeparatorModelSchema } from \"./model/separator\"\nimport {\n\tLegacySliceModelSchema as rawLegacySliceModelSchema,\n\tCompositeSliceModelSchema as rawCompositeSliceModelSchema,\n\tSharedSliceModelSchema as rawSharedSliceModelSchema,\n\tSharedSliceModelVariationSchema as rawSharedSliceModelVariationSchema,\n\tSharedSliceRefModelSchema as rawSharedSliceRefModelSchema,\n\tStaticSliceModelSchema as rawStaticSliceModelSchema,\n\tDynamicSliceModelSchema as rawDynamicSliceModelSchema,\n\tSliceContentModelSchema as rawSliceContentModelSchema,\n} from \"./model/slice\"\nimport {\n\tDynamicSlicesModelSchema as rawDynamicSlicesModelSchema,\n\tStaticSlicesModelSchema as rawStaticSlicesModelSchema,\n} from \"./model/slices\"\nimport { TableModelSchema as rawTableModelSchema } from \"./model/table\"\nimport { TextModelSchema as rawTextModelSchema } from \"./model/text\"\nimport { TimestampModelSchema as rawTimestampModelSchema } from \"./model/timestamp\"\nimport { UIDModelSchema as rawUIDModelSchema } from \"./model/uid\"\nimport {\n\tStaticWidgetModelSchema as rawStaticWidgetModelSchema,\n\tDynamicWidgetModelSchema as rawDynamicWidgetModelSchema,\n} from \"./model/widget\"\n\n// Common\nexport const AssetSchema = toZod4(rawAssetSchema)\nexport const EmbedSchema = toZod4(rawEmbedSchema)\nexport const HexaColorCodeSchema = toZod4(rawHexaColorCodeSchema)\nexport const NonEmptyStringSchema = toZod4(rawNonEmptyStringSchema)\nexport const WidgetKeySchema = toZod4(rawWidgetKeySchema)\n\n// Content\nexport const BooleanContentSchema = toZod4(rawBooleanContentSchema)\nexport const ColorContentSchema = toZod4(rawColorContentSchema)\nexport const DateContentSchema = toZod4(rawDateContentSchema)\nexport const EmptyContentSchema = toZod4(rawEmptyContentSchema)\nexport const GeoPointContentSchema = toZod4(rawGeoPointContentSchema)\nexport const FilledLinkContentSchema = toZod4(rawFilledLinkContentSchema)\nexport const EmptyLinkContentSchema = toZod4(rawEmptyLinkContentSchema)\nexport const LinkContentSchema = toZod4(rawLinkContentSchema)\nexport const NumberContentSchema = toZod4(rawNumberContentSchema)\nexport const RangeContentSchema = toZod4(rawRangeContentSchema)\nexport const SelectContentSchema = toZod4(rawSelectContentSchema)\nexport const SeparatorContentSchema = toZod4(rawSeparatorContentSchema)\nexport const SharedSliceContentSchema = toZod4(rawSharedSliceContentSchema)\nexport const TextContentSchema = toZod4(rawTextContentSchema)\nexport const TimestampContentSchema = toZod4(rawTimestampContentSchema)\nexport const FieldContentSchema = toZod4(rawFieldContentSchema)\nexport const UIDContentSchema = toZod4(rawUIDContentSchema)\nexport const IntegrationFieldContentSchema = toZod4(rawIntegrationFieldContentSchema)\nexport const EmbedContentSchema = toZod4(rawEmbedContentSchema)\nexport const ImageContentViewSchema = toZod4(rawImageContentViewSchema)\nexport const ImageContentSchema = toZod4(rawImageContentSchema)\nexport const RichTextContentSchema = toZod4(rawRichTextContentSchema)\nexport const RichTextContentBlockSchema = toZod4(rawRichTextContentBlockSchema)\nexport const RichTextContentSpanSchema = toZod4(rawRichTextContentSpanSchema)\nexport const TableContentSchema = toZod4(rawTableContentSchema)\nexport const RepeatableContentSchema = toZod4(rawRepeatableContentSchema)\nexport const NestableContentSchema = toZod4(rawNestableContentSchema)\nexport const GroupContentSchema = toZod4(rawGroupContentSchema)\nexport const GroupItemContentSchema = toZod4(rawGroupItemContentSchema)\nexport const CompositeSliceContentSchema = toZod4(rawCompositeSliceContentSchema)\nexport const LegacySliceContentSchema = toZod4(rawLegacySliceContentSchema)\nexport const SliceContentSchema = toZod4(rawSliceContentSchema)\nexport const LegacySliceItemContentSchema = toZod4(rawLegacySliceItemContentSchema)\nexport const CompositeSliceItemContentSchema = toZod4(rawCompositeSliceItemContentSchema)\nexport const SharedSliceItemContentSchema = toZod4(rawSharedSliceItemContentSchema)\nexport const SliceItemContentSchema = toZod4(rawSliceItemContentSchema)\nexport const SlicesContentSchema = toZod4(rawSlicesContentSchema)\nexport const WidgetContentSchema = toZod4(rawWidgetContentSchema)\nexport const DocumentContentSchema = toZod4(rawDocumentContentSchema)\n\n// Model\nexport const BooleanModelSchema = toZod4(rawBooleanModelSchema)\nexport const ColorModelSchema = toZod4(rawColorModelSchema)\nexport const DateModelSchema = toZod4(rawDateModelSchema)\nexport const EmbedModelSchema = toZod4(rawEmbedModelSchema)\nexport const GeoPointModelSchema = toZod4(rawGeoPointModelSchema)\nexport const ImageModelSchema = toZod4(rawImageModelSchema)\nexport const IntegrationFieldModelSchema = toZod4(rawIntegrationFieldModelSchema)\nexport const LinkModelSchema = toZod4(rawLinkModelSchema)\nexport const NestableModelSchema = toZod4(rawNestableModelSchema)\nexport const NumberModelSchema = toZod4(rawNumberModelSchema)\nexport const RangeModelSchema = toZod4(rawRangeModelSchema)\nexport const RichTextModelSchema = toZod4(rawRichTextModelSchema)\nexport const SelectModelSchema = toZod4(rawSelectModelSchema)\nexport const SeparatorModelSchema = toZod4(rawSeparatorModelSchema)\nexport const SharedSliceModelSchema = toZod4(rawSharedSliceModelSchema)\nexport const TableModelSchema = toZod4(rawTableModelSchema)\nexport const TextModelSchema = toZod4(rawTextModelSchema)\nexport const TimestampModelSchema = toZod4(rawTimestampModelSchema)\nexport const UIDModelSchema = toZod4(rawUIDModelSchema)\nexport const GroupModelSchema = toZod4(rawGroupModelSchema)\nexport const NestedGroupModelSchema = toZod4(rawNestedGroupModelSchema)\nexport const SharedSliceModelVariationSchema = toZod4(rawSharedSliceModelVariationSchema)\nexport const SharedSliceRefModelSchema = toZod4(rawSharedSliceRefModelSchema)\nexport const CompositeSliceModelSchema = toZod4(rawCompositeSliceModelSchema)\nexport const LegacySliceModelSchema = toZod4(rawLegacySliceModelSchema)\nexport const DynamicSliceModelSchema = toZod4(rawDynamicSliceModelSchema)\nexport const StaticSliceModelSchema = toZod4(rawStaticSliceModelSchema)\nexport const SliceContentModelSchema = toZod4(rawSliceContentModelSchema)\nexport const DynamicSlicesModelSchema = toZod4(rawDynamicSlicesModelSchema)\nexport const StaticSlicesModelSchema = toZod4(rawStaticSlicesModelSchema)\nexport const StaticWidgetModelSchema = toZod4(rawStaticWidgetModelSchema)\nexport const DynamicWidgetModelSchema = toZod4(rawDynamicWidgetModelSchema)\nexport const StaticCustomTypeModelTabSchema = toZod4(rawStaticCustomTypeModelTabSchema)\nexport const DynamicCustomTypeModelTabSchema = toZod4(rawDynamicCustomTypeModelTabSchema)\nexport const StaticCustomTypeModelSchema = toZod4(rawStaticCustomTypeModelSchema)\nexport const DynamicCustomTypeModelSchema = toZod4(rawDynamicCustomTypeModelSchema)\n/** @deprecated Use DynamicCustomTypeModelSchema instead */\nexport const CustomTypeModelSchema = DynamicCustomTypeModelSchema\n\nfunction toZod4<T>(type: T): T {\n\treturn type\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA6GA,MAAa,cAAc,OAAOA,cAAe;AACjD,MAAa,cAAc,OAAOC,cAAe;AACjD,MAAa,sBAAsB,OAAOC,sBAAuB;AACjE,MAAa,uBAAuB,OAAOC,uBAAwB;AACnE,MAAa,kBAAkB,OAAOC,kBAAmB;AAGzD,MAAa,uBAAuB,OAAOC,uBAAwB;AACnE,MAAa,qBAAqB,OAAOC,qBAAsB;AAC/D,MAAa,oBAAoB,OAAOC,oBAAqB;AAC7D,MAAa,qBAAqB,OAAOC,qBAAsB;AAC/D,MAAa,wBAAwB,OAAOC,wBAAyB;AACrE,MAAa,0BAA0B,OAAOC,0BAA2B;AACzE,MAAa,yBAAyB,OAAOC,yBAA0B;AACvE,MAAa,oBAAoB,OAAOC,oBAAqB;AAC7D,MAAa,sBAAsB,OAAOC,sBAAuB;AACjE,MAAa,qBAAqB,OAAOC,qBAAsB;AAC/D,MAAa,sBAAsB,OAAOC,sBAAuB;AACjE,MAAa,yBAAyB,OAAOC,yBAA0B;AACvE,MAAa,2BAA2B,OAAOC,2BAA4B;AAC3E,MAAa,oBAAoB,OAAOC,oBAAqB;AAC7D,MAAa,yBAAyB,OAAOC,yBAA0B;AACvE,MAAa,qBAAqB,OAAOC,qBAAsB;AAC/D,MAAa,mBAAmB,OAAOC,mBAAoB;AAC3D,MAAa,gCAAgC,OAAOC,gCAAiC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AAOC,oBAAqB;AAC7D,MAAa,uBAAuB,OAAOC,uBAAwB;AACnE,MAAa,yBAAyB,OAAOC,yBAA0B;AACvE,MAAa,mBAAmB,OAAOC,mBAAoB;AAC3D,MAAa,kBAAkB,OAAOC,kBAAmB;AACzD,MAAa,uBAAuB,OAAOC,uBAAwB;AACnE,MAAa,iBAAiB,OAAOC,iBAAkB;AACvD,MAAa,mBAAmB,OAAOC,mBAAoB;AAC3D,MAAa,yBAAyB,OAAOC,yBAA0B;AACvE,MAAa,kCAAkC,OAAOC,kCAAmC;AACzF,MAAa,4BAA4B,OAAOC,4BAA6B;AAC7E,MAAa,4BAA4B,OAAOC,4BAA6B;AAC7E,MAAa,yBAAyB,OAAOC,yBAA0B;AACvE,MAAa,0BAA0B,OAAOC,0BAA2B;AACzE,MAAa,yBAAyB,OAAOC,yBAA0B;AACvE,MAAa,0BAA0B,OAAOC,0BAA2B;AACzE,MAAa,2BAA2B,OAAOC,2BAA4B;AAC3E,MAAa,0BAA0B,OAAOC,0BAA2B;AACzE,MAAa,0BAA0B,OAAOC,0BAA2B;AACzE,MAAa,2BAA2B,OAAOC,2BAA4B;AAC3E,MAAa,iCAAiC,OAAOC,iCAAkC;AACvF,MAAa,kCAAkC,OAAOC,kCAAmC;AACzF,MAAa,8BAA8B,OAAOC,8BAA+B;AACjF,MAAa,+BAA+B,OAAOC,+BAAgC;;AAEnF,MAAa,wBAAwB;AAErC,SAAS,OAAU,MAAY;AAC9B,QAAO"}
1
+ {"version":3,"file":"zod4.js","names":["rawAssetSchema","rawEmbedSchema","rawHexaColorCodeSchema","rawNonEmptyStringSchema","rawWidgetKeySchema","rawBooleanContentSchema","rawColorContentSchema","rawDateContentSchema","rawEmptyContentSchema","rawGeoPointContentSchema","rawFilledLinkContentSchema","rawEmptyLinkContentSchema","rawLinkContentSchema","rawNumberContentSchema","rawRangeContentSchema","rawSelectContentSchema","rawSeparatorContentSchema","rawSharedSliceContentSchema","rawTextContentSchema","rawTimestampContentSchema","rawFieldContentSchema","rawUIDContentSchema","rawIntegrationFieldContentSchema","rawEmbedContentSchema","rawImageContentViewSchema","rawImageContentSchema","rawRichTextContentSchema","rawRichTextContentBlockSchema","rawRichTextContentSpanSchema","rawTableContentSchema","rawRepeatableContentSchema","rawNestableContentSchema","rawGroupContentSchema","rawGroupItemContentSchema","rawCompositeSliceContentSchema","rawLegacySliceContentSchema","rawSliceContentSchema","rawLegacySliceItemContentSchema","rawCompositeSliceItemContentSchema","rawSharedSliceItemContentSchema","rawSliceItemContentSchema","rawSlicesContentSchema","rawWidgetContentSchema","rawDocumentContentSchema","rawBooleanModelSchema","rawColorModelSchema","rawDateModelSchema","rawEmbedModelSchema","rawGeoPointModelSchema","rawImageModelSchema","rawIntegrationFieldModelSchema","rawLinkModelSchema","rawNestableModelSchema","rawNumberModelSchema","rawRangeModelSchema","rawRichTextModelSchema","rawSelectModelSchema","rawSeparatorModelSchema","rawSharedSliceModelSchema","rawTableModelSchema","rawTextModelSchema","rawTimestampModelSchema","rawUIDModelSchema","rawGroupModelSchema","rawNestedGroupModelSchema","rawSharedSliceModelVariationSchema","rawSharedSliceRefModelSchema","rawCompositeSliceModelSchema","rawLegacySliceModelSchema","rawDynamicSliceModelSchema","rawStaticSliceModelSchema","rawSliceContentModelSchema","rawDynamicSlicesModelSchema","rawStaticSlicesModelSchema","rawStaticWidgetModelSchema","rawDynamicWidgetModelSchema","rawStaticCustomTypeModelTabSchema","rawDynamicCustomTypeModelTabSchema","rawStaticCustomTypeModelSchema","rawDynamicCustomTypeModelSchema"],"sources":["../src/zod4.ts"],"sourcesContent":["// Common\nimport { AssetSchema as rawAssetSchema } from \"./common/asset\"\nimport { EmbedSchema as rawEmbedSchema } from \"./common/embed\"\nimport { HexaColorCodeSchema as rawHexaColorCodeSchema } from \"./common/hexaColorCode\"\nimport { NonEmptyStringSchema as rawNonEmptyStringSchema } from \"./common/nonEmptyString\"\nimport { WidgetKeySchema as rawWidgetKeySchema } from \"./common/widgetKey\"\n// Content\nimport { BooleanContentSchema as rawBooleanContentSchema } from \"./content/boolean\"\nimport { DocumentContentSchema as rawDocumentContentSchema } from \"./content/document\"\nimport { EmbedContentSchema as rawEmbedContentSchema } from \"./content/embed\"\nimport { EmptyContentSchema as rawEmptyContentSchema } from \"./content/empty\"\nimport {\n\tColorContentSchema as rawColorContentSchema,\n\tDateContentSchema as rawDateContentSchema,\n\tNumberContentSchema as rawNumberContentSchema,\n\tRangeContentSchema as rawRangeContentSchema,\n\tSelectContentSchema as rawSelectContentSchema,\n\tTextContentSchema as rawTextContentSchema,\n\tTimestampContentSchema as rawTimestampContentSchema,\n\tFieldContentSchema as rawFieldContentSchema,\n} from \"./content/field\"\nimport { GeoPointContentSchema as rawGeoPointContentSchema } from \"./content/geopoint\"\nimport {\n\tGroupContentSchema as rawGroupContentSchema,\n\tGroupItemContentSchema as rawGroupItemContentSchema,\n} from \"./content/group\"\nimport {\n\tImageContentSchema as rawImageContentSchema,\n\tImageContentViewSchema as rawImageContentViewSchema,\n} from \"./content/image\"\nimport { IntegrationFieldContentSchema as rawIntegrationFieldContentSchema } from \"./content/integrationField\"\nimport {\n\tEmptyLinkContentSchema as rawEmptyLinkContentSchema,\n\tFilledLinkContentSchema as rawFilledLinkContentSchema,\n\tLinkContentSchema as rawLinkContentSchema,\n} from \"./content/link\"\nimport { NestableContentSchema as rawNestableContentSchema } from \"./content/nestable\"\nimport { RepeatableContentSchema as rawRepeatableContentSchema } from \"./content/repeatable\"\nimport {\n\tRichTextContentSchema as rawRichTextContentSchema,\n\tRichTextContentBlockSchema as rawRichTextContentBlockSchema,\n\tRichTextContentSpanSchema as rawRichTextContentSpanSchema,\n} from \"./content/richText\"\nimport { SeparatorContentSchema as rawSeparatorContentSchema } from \"./content/separator\"\nimport {\n\tCompositeSliceContentSchema as rawCompositeSliceContentSchema,\n\tLegacySliceContentSchema as rawLegacySliceContentSchema,\n\tSharedSliceContentSchema as rawSharedSliceContentSchema,\n\tSliceContentSchema as rawSliceContentSchema,\n} from \"./content/slice\"\nimport {\n\tLegacySliceItemContentSchema as rawLegacySliceItemContentSchema,\n\tCompositeSliceItemContentSchema as rawCompositeSliceItemContentSchema,\n\tSharedSliceItemContentSchema as rawSharedSliceItemContentSchema,\n\tSliceItemContentSchema as rawSliceItemContentSchema,\n\tSlicesContentSchema as rawSlicesContentSchema,\n} from \"./content/slices\"\nimport { TableContentSchema as rawTableContentSchema } from \"./content/table\"\nimport { UIDContentSchema as rawUIDContentSchema } from \"./content/uid\"\nimport { WidgetContentSchema as rawWidgetContentSchema } from \"./content/widget\"\n// Model\nimport { BooleanModelSchema as rawBooleanModelSchema } from \"./model/boolean\"\nimport { ColorModelSchema as rawColorModelSchema } from \"./model/color\"\nimport {\n\tStaticCustomTypeModelSchema as rawStaticCustomTypeModelSchema,\n\tDynamicCustomTypeModelSchema as rawDynamicCustomTypeModelSchema,\n\tStaticCustomTypeModelTabSchema as rawStaticCustomTypeModelTabSchema,\n\tDynamicCustomTypeModelTabSchema as rawDynamicCustomTypeModelTabSchema,\n} from \"./model/customType\"\nimport { DateModelSchema as rawDateModelSchema } from \"./model/date\"\nimport { EmbedModelSchema as rawEmbedModelSchema } from \"./model/embed\"\nimport { GeoPointModelSchema as rawGeoPointModelSchema } from \"./model/geopoint\"\nimport {\n\tGroupModelSchema as rawGroupModelSchema,\n\tNestedGroupModelSchema as rawNestedGroupModelSchema,\n} from \"./model/group\"\nimport { ImageModelSchema as rawImageModelSchema } from \"./model/image\"\nimport { IntegrationFieldModelSchema as rawIntegrationFieldModelSchema } from \"./model/integrationField\"\nimport { LinkModelSchema as rawLinkModelSchema } from \"./model/link\"\nimport { NestableModelSchema as rawNestableModelSchema } from \"./model/nestable\"\nimport { NumberModelSchema as rawNumberModelSchema } from \"./model/number\"\nimport { RangeModelSchema as rawRangeModelSchema } from \"./model/range\"\nimport { RichTextModelSchema as rawRichTextModelSchema } from \"./model/richText\"\nimport { SelectModelSchema as rawSelectModelSchema } from \"./model/select\"\nimport { SeparatorModelSchema as rawSeparatorModelSchema } from \"./model/separator\"\nimport {\n\tLegacySliceModelSchema as rawLegacySliceModelSchema,\n\tCompositeSliceModelSchema as rawCompositeSliceModelSchema,\n\tSharedSliceModelSchema as rawSharedSliceModelSchema,\n\tSharedSliceModelVariationSchema as rawSharedSliceModelVariationSchema,\n\tSharedSliceRefModelSchema as rawSharedSliceRefModelSchema,\n\tStaticSliceModelSchema as rawStaticSliceModelSchema,\n\tDynamicSliceModelSchema as rawDynamicSliceModelSchema,\n\tSliceContentModelSchema as rawSliceContentModelSchema,\n} from \"./model/slice\"\nimport {\n\tDynamicSlicesModelSchema as rawDynamicSlicesModelSchema,\n\tStaticSlicesModelSchema as rawStaticSlicesModelSchema,\n} from \"./model/slices\"\nimport { TableModelSchema as rawTableModelSchema } from \"./model/table\"\nimport { TextModelSchema as rawTextModelSchema } from \"./model/text\"\nimport { TimestampModelSchema as rawTimestampModelSchema } from \"./model/timestamp\"\nimport { UIDModelSchema as rawUIDModelSchema } from \"./model/uid\"\nimport {\n\tStaticWidgetModelSchema as rawStaticWidgetModelSchema,\n\tDynamicWidgetModelSchema as rawDynamicWidgetModelSchema,\n} from \"./model/widget\"\n\n// Common\nexport const AssetSchema = toZod4(rawAssetSchema)\nexport const EmbedSchema = toZod4(rawEmbedSchema)\nexport const HexaColorCodeSchema = toZod4(rawHexaColorCodeSchema)\nexport const NonEmptyStringSchema = toZod4(rawNonEmptyStringSchema)\nexport const WidgetKeySchema = toZod4(rawWidgetKeySchema)\n\n// Content\nexport const BooleanContentSchema = toZod4(rawBooleanContentSchema)\nexport const ColorContentSchema = toZod4(rawColorContentSchema)\nexport const DateContentSchema = toZod4(rawDateContentSchema)\nexport const EmptyContentSchema = toZod4(rawEmptyContentSchema)\nexport const GeoPointContentSchema = toZod4(rawGeoPointContentSchema)\nexport const FilledLinkContentSchema = toZod4(rawFilledLinkContentSchema)\nexport const EmptyLinkContentSchema = toZod4(rawEmptyLinkContentSchema)\nexport const LinkContentSchema = toZod4(rawLinkContentSchema)\nexport const NumberContentSchema = toZod4(rawNumberContentSchema)\nexport const RangeContentSchema = toZod4(rawRangeContentSchema)\nexport const SelectContentSchema = toZod4(rawSelectContentSchema)\nexport const SeparatorContentSchema = toZod4(rawSeparatorContentSchema)\nexport const SharedSliceContentSchema = toZod4(rawSharedSliceContentSchema)\nexport const TextContentSchema = toZod4(rawTextContentSchema)\nexport const TimestampContentSchema = toZod4(rawTimestampContentSchema)\nexport const FieldContentSchema = toZod4(rawFieldContentSchema)\nexport const UIDContentSchema = toZod4(rawUIDContentSchema)\nexport const IntegrationFieldContentSchema = toZod4(rawIntegrationFieldContentSchema)\nexport const EmbedContentSchema = toZod4(rawEmbedContentSchema)\nexport const ImageContentViewSchema = toZod4(rawImageContentViewSchema)\nexport const ImageContentSchema = toZod4(rawImageContentSchema)\nexport const RichTextContentSchema = toZod4(rawRichTextContentSchema)\nexport const RichTextContentBlockSchema = toZod4(rawRichTextContentBlockSchema)\nexport const RichTextContentSpanSchema = toZod4(rawRichTextContentSpanSchema)\nexport const TableContentSchema = toZod4(rawTableContentSchema)\nexport const RepeatableContentSchema = toZod4(rawRepeatableContentSchema)\nexport const NestableContentSchema = toZod4(rawNestableContentSchema)\nexport const GroupContentSchema = toZod4(rawGroupContentSchema)\nexport const GroupItemContentSchema = toZod4(rawGroupItemContentSchema)\nexport const CompositeSliceContentSchema = toZod4(rawCompositeSliceContentSchema)\nexport const LegacySliceContentSchema = toZod4(rawLegacySliceContentSchema)\nexport const SliceContentSchema = toZod4(rawSliceContentSchema)\nexport const LegacySliceItemContentSchema = toZod4(rawLegacySliceItemContentSchema)\nexport const CompositeSliceItemContentSchema = toZod4(rawCompositeSliceItemContentSchema)\nexport const SharedSliceItemContentSchema = toZod4(rawSharedSliceItemContentSchema)\nexport const SliceItemContentSchema = toZod4(rawSliceItemContentSchema)\nexport const SlicesContentSchema = toZod4(rawSlicesContentSchema)\nexport const WidgetContentSchema = toZod4(rawWidgetContentSchema)\nexport const DocumentContentSchema = toZod4(rawDocumentContentSchema)\n\n// Model\nexport const BooleanModelSchema = toZod4(rawBooleanModelSchema)\nexport const ColorModelSchema = toZod4(rawColorModelSchema)\nexport const DateModelSchema = toZod4(rawDateModelSchema)\nexport const EmbedModelSchema = toZod4(rawEmbedModelSchema)\nexport const GeoPointModelSchema = toZod4(rawGeoPointModelSchema)\nexport const ImageModelSchema = toZod4(rawImageModelSchema)\nexport const IntegrationFieldModelSchema = toZod4(rawIntegrationFieldModelSchema)\nexport const LinkModelSchema = toZod4(rawLinkModelSchema)\nexport const NestableModelSchema = toZod4(rawNestableModelSchema)\nexport const NumberModelSchema = toZod4(rawNumberModelSchema)\nexport const RangeModelSchema = toZod4(rawRangeModelSchema)\nexport const RichTextModelSchema = toZod4(rawRichTextModelSchema)\nexport const SelectModelSchema = toZod4(rawSelectModelSchema)\nexport const SeparatorModelSchema = toZod4(rawSeparatorModelSchema)\nexport const SharedSliceModelSchema = toZod4(rawSharedSliceModelSchema)\nexport const TableModelSchema = toZod4(rawTableModelSchema)\nexport const TextModelSchema = toZod4(rawTextModelSchema)\nexport const TimestampModelSchema = toZod4(rawTimestampModelSchema)\nexport const UIDModelSchema = toZod4(rawUIDModelSchema)\nexport const GroupModelSchema = toZod4(rawGroupModelSchema)\nexport const NestedGroupModelSchema = toZod4(rawNestedGroupModelSchema)\nexport const SharedSliceModelVariationSchema = toZod4(rawSharedSliceModelVariationSchema)\nexport const SharedSliceRefModelSchema = toZod4(rawSharedSliceRefModelSchema)\nexport const CompositeSliceModelSchema = toZod4(rawCompositeSliceModelSchema)\nexport const LegacySliceModelSchema = toZod4(rawLegacySliceModelSchema)\nexport const DynamicSliceModelSchema = toZod4(rawDynamicSliceModelSchema)\nexport const StaticSliceModelSchema = toZod4(rawStaticSliceModelSchema)\nexport const SliceContentModelSchema = toZod4(rawSliceContentModelSchema)\nexport const DynamicSlicesModelSchema = toZod4(rawDynamicSlicesModelSchema)\nexport const StaticSlicesModelSchema = toZod4(rawStaticSlicesModelSchema)\nexport const StaticWidgetModelSchema = toZod4(rawStaticWidgetModelSchema)\nexport const DynamicWidgetModelSchema = toZod4(rawDynamicWidgetModelSchema)\nexport const StaticCustomTypeModelTabSchema = toZod4(rawStaticCustomTypeModelTabSchema)\nexport const DynamicCustomTypeModelTabSchema = toZod4(rawDynamicCustomTypeModelTabSchema)\nexport const StaticCustomTypeModelSchema = toZod4(rawStaticCustomTypeModelSchema)\nexport const DynamicCustomTypeModelSchema = toZod4(rawDynamicCustomTypeModelSchema)\n/** @deprecated Use DynamicCustomTypeModelSchema instead */\nexport const CustomTypeModelSchema = DynamicCustomTypeModelSchema\n\nfunction toZod4<T>(type: T): T {\n\treturn type\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA6GA,MAAa,cAAc,OAAOA,aAAc;AAChD,MAAa,cAAc,OAAOC,aAAc;AAChD,MAAa,sBAAsB,OAAOC,qBAAsB;AAChE,MAAa,uBAAuB,OAAOC,sBAAuB;AAClE,MAAa,kBAAkB,OAAOC,iBAAkB;AAGxD,MAAa,uBAAuB,OAAOC,sBAAuB;AAClE,MAAa,qBAAqB,OAAOC,oBAAqB;AAC9D,MAAa,oBAAoB,OAAOC,mBAAoB;AAC5D,MAAa,qBAAqB,OAAOC,oBAAqB;AAC9D,MAAa,wBAAwB,OAAOC,uBAAwB;AACpE,MAAa,0BAA0B,OAAOC,yBAA0B;AACxE,MAAa,yBAAyB,OAAOC,wBAAyB;AACtE,MAAa,oBAAoB,OAAOC,mBAAoB;AAC5D,MAAa,sBAAsB,OAAOC,qBAAsB;AAChE,MAAa,qBAAqB,OAAOC,oBAAqB;AAC9D,MAAa,sBAAsB,OAAOC,qBAAsB;AAChE,MAAa,yBAAyB,OAAOC,wBAAyB;AACtE,MAAa,2BAA2B,OAAOC,0BAA2B;AAC1E,MAAa,oBAAoB,OAAOC,mBAAoB;AAC5D,MAAa,yBAAyB,OAAOC,wBAAyB;AACtE,MAAa,qB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AC5D,MAAa,mBAAmB,OAAOC,kBAAmB;AAC1D,MAAa,sBAAsB,OAAOC,qBAAsB;AAChE,MAAa,oBAAoB,OAAOC,mBAAoB;AAC5D,MAAa,uBAAuB,OAAOC,sBAAuB;AAClE,MAAa,yBAAyB,OAAOC,wBAAyB;AACtE,MAAa,mBAAmB,OAAOC,kBAAmB;AAC1D,MAAa,kBAAkB,OAAOC,iBAAkB;AACxD,MAAa,uBAAuB,OAAOC,sBAAuB;AAClE,MAAa,iBAAiB,OAAOC,gBAAiB;AACtD,MAAa,mBAAmB,OAAOC,kBAAmB;AAC1D,MAAa,yBAAyB,OAAOC,wBAAyB;AACtE,MAAa,kCAAkC,OAAOC,iCAAkC;AACxF,MAAa,4BAA4B,OAAOC,2BAA4B;AAC5E,MAAa,4BAA4B,OAAOC,2BAA4B;AAC5E,MAAa,yBAAyB,OAAOC,wBAAyB;AACtE,MAAa,0BAA0B,OAAOC,yBAA0B;AACxE,MAAa,yBAAyB,OAAOC,wBAAyB;AACtE,MAAa,0BAA0B,OAAOC,yBAA0B;AACxE,MAAa,2BAA2B,OAAOC,0BAA2B;AAC1E,MAAa,0BAA0B,OAAOC,yBAA0B;AACxE,MAAa,0BAA0B,OAAOC,yBAA0B;AACxE,MAAa,2BAA2B,OAAOC,0BAA2B;AAC1E,MAAa,iCAAiC,OAAOC,gCAAiC;AACtF,MAAa,kCAAkC,OAAOC,iCAAkC;AACxF,MAAa,8BAA8B,OAAOC,6BAA8B;AAChF,MAAa,+BAA+B,OAAOC,8BAA+B;;AAElF,MAAa,wBAAwB;AAErC,SAAS,OAAU,MAAY;CAC9B,OAAO;AACR"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@prismicio/types-internal",
3
- "version": "4.6.0",
3
+ "version": "4.7.0",
4
4
  "description": "TypeScript types and runtime parsers for Prismic data",
5
5
  "keywords": [
6
6
  "prismic",
@@ -55,19 +55,18 @@
55
55
  "test": "npm run lint && npm run types && npm run unit && npm run portability"
56
56
  },
57
57
  "devDependencies": {
58
- "@prismicio/e2e-tests-utils": "^1.16.0",
59
- "@prismicio/types-internal-v3": "npm:@prismicio/types-internal@^3.17.0",
58
+ "@prismicio/e2e-tests-utils": "^1.19.0",
59
+ "@prismicio/types-internal-v3": "npm:@prismicio/types-internal@^3.17.2",
60
60
  "@prismicio/types-internal-v4-1-0": "npm:@prismicio/types-internal@4.1.0",
61
- "@types/node": "^25.5.2",
62
- "@types/uuid": "^11.0.0",
63
- "@vitest/coverage-v8": "^4.1.3",
61
+ "@types/node": "^26.1.1",
62
+ "@vitest/coverage-v8": "^4.1.10",
64
63
  "io-ts": "^2.2.22",
65
- "oxfmt": "^0.44.0",
66
- "oxlint": "^1.59.0",
67
- "tsdown": "^0.21.7",
68
- "typescript": "^6.0.2",
69
- "vitest": "^4.1.3",
70
- "zod": "^4.3.6"
64
+ "oxfmt": "^0.59.0",
65
+ "oxlint": "^1.74.0",
66
+ "tsdown": "^0.22.8",
67
+ "typescript": "^7.0.2",
68
+ "vitest": "^4.1.10",
69
+ "zod": "^4.4.3"
71
70
  },
72
71
  "peerDependencies": {
73
72
  "io-ts": "^2.2.22",
@@ -79,6 +78,6 @@
79
78
  }
80
79
  },
81
80
  "engines": {
82
- "node": ">=20"
81
+ "node": ">=22"
83
82
  }
84
83
  }
@@ -85,7 +85,9 @@ export function toDynamic(customType: StaticCustomTypeModel): DynamicCustomTypeM
85
85
 
86
86
  export function flatten(customType: StaticCustomTypeModel): StaticCustomTypeModelTab
87
87
  export function flatten(customType: DynamicCustomTypeModel): DynamicCustomTypeModelTab
88
- export function flatten(customType: StaticCustomTypeModel | DynamicCustomTypeModel): StaticCustomTypeModelTab | DynamicCustomTypeModelTab {
88
+ export function flatten(
89
+ customType: StaticCustomTypeModel | DynamicCustomTypeModel,
90
+ ): StaticCustomTypeModelTab | DynamicCustomTypeModelTab {
89
91
  return Object.values(customType.json).reduce((acc, fields) => ({ ...acc, ...fields }), {})
90
92
  }
91
93
 
package/src/index.ts CHANGED
@@ -66,6 +66,18 @@ export type {
66
66
  DynamicCustomTypeModelTab,
67
67
  } from "./model/customType"
68
68
  export type { DateModel } from "./model/date"
69
+ export type { AddedDiff, RemovedDiff, UpdatedDiff, Diff } from "./model/diff/changes"
70
+ export { DiffOperation } from "./model/diff/changes"
71
+ export type { SliceDiffMetadata, SliceDiff } from "./model/diff/sharedSlice"
72
+ export { SliceDiffComparator } from "./model/diff/sharedSlice"
73
+ export type { VariationDiffMetadata, VariationDiff } from "./model/diff/variation"
74
+ export { VariationDiffComparator } from "./model/diff/variation"
75
+ export type {
76
+ NestableWidgetDiff,
77
+ GroupWidgetWithFieldsDiff,
78
+ GroupWidgetDiff,
79
+ SlicePrimaryWidgetDiff,
80
+ } from "./model/diff/widgets"
69
81
  export type { EmbedModel } from "./model/embed"
70
82
  export type { GeoPointModel } from "./model/geopoint"
71
83
  export type { GroupModel, NestedGroupModel } from "./model/group"
@@ -4,18 +4,18 @@ export enum DiffOperation {
4
4
  Updated = "updated",
5
5
  }
6
6
 
7
- export type AddChange<A> = {
7
+ export type AddedDiff<A> = {
8
8
  op: DiffOperation.Added
9
9
  value: A
10
10
  }
11
11
 
12
- export type RemovedChange = {
12
+ export type RemovedDiff = {
13
13
  op: DiffOperation.Removed
14
14
  }
15
15
 
16
- export type UpdatedChange<A> = {
16
+ export type UpdatedDiff<A> = {
17
17
  op: DiffOperation.Updated
18
18
  value: A
19
19
  }
20
20
 
21
- export type DiffChange<A, U> = AddChange<A> | UpdatedChange<U> | RemovedChange
21
+ export type Diff<A, U> = AddedDiff<A> | UpdatedDiff<U> | RemovedDiff
@@ -1,13 +1,13 @@
1
1
  import type { SharedSliceModel, SharedSliceModelVariation } from "../slice"
2
- import { type DiffChange, DiffOperation } from "./changes"
2
+ import { type Diff, DiffOperation } from "./changes"
3
3
  import { isNotEmpty, toRecord, zipObjects } from "./utils"
4
- import { type VariationDiff, VariationComparator } from "./variation"
4
+ import { type VariationDiff, VariationDiffComparator } from "./variation"
5
5
 
6
- export type SliceMetadata = Omit<SharedSliceModel, "variations">
7
- export type SliceDiff = DiffChange<
6
+ export type SliceDiffMetadata = Omit<SharedSliceModel, "variations">
7
+ export type SliceDiff = Diff<
8
8
  SharedSliceModel,
9
9
  Partial<
10
- SliceMetadata & {
10
+ SliceDiffMetadata & {
11
11
  variations?: Partial<Record<string, VariationDiff>>
12
12
  }
13
13
  >
@@ -16,7 +16,7 @@ export type SliceDiff = DiffChange<
16
16
  function compareSliceMeta(
17
17
  sliceA?: SharedSliceModel,
18
18
  sliceB?: SharedSliceModel,
19
- ): Partial<SliceMetadata> {
19
+ ): Partial<SliceDiffMetadata> {
20
20
  const zippedSlices = zipObjects(sliceA, sliceB)
21
21
 
22
22
  return Object.entries(zippedSlices).reduce((acc, [key, value]) => {
@@ -27,7 +27,7 @@ function compareSliceMeta(
27
27
  }, {})
28
28
  }
29
29
 
30
- export const SliceComparator = {
30
+ export const SliceDiffComparator = {
31
31
  compare(sliceA?: SharedSliceModel, sliceB?: SharedSliceModel): SliceDiff | undefined {
32
32
  if (!sliceA && sliceB)
33
33
  return {
@@ -51,7 +51,7 @@ export const SliceComparator = {
51
51
  >((acc, [variationId, value]) => {
52
52
  if (!value) return acc
53
53
 
54
- const vDiff = VariationComparator.compare(value.left, value.right)
54
+ const vDiff = VariationDiffComparator.compare(value.left, value.right)
55
55
  if (!vDiff) return acc
56
56
  return {
57
57
  ...acc,
@@ -2,7 +2,7 @@ import type { GroupModel } from "../group"
2
2
  import { GroupFieldType } from "../group"
3
3
  import type { NestableModel } from "../nestable"
4
4
  import type { SharedSliceModelVariation } from "../slice"
5
- import { type DiffChange, DiffOperation } from "./changes"
5
+ import { type Diff, DiffOperation } from "./changes"
6
6
  import { isNotEmpty, zipObjects } from "./utils"
7
7
  import type {
8
8
  GroupWidgetWithFieldsDiff,
@@ -10,10 +10,10 @@ import type {
10
10
  SlicePrimaryWidgetDiff,
11
11
  } from "./widgets"
12
12
 
13
- export type VariationMetadata = Omit<SharedSliceModelVariation, "primary" | "items">
14
- export type VariationDiff = DiffChange<
13
+ export type VariationDiffMetadata = Omit<SharedSliceModelVariation, "primary" | "items">
14
+ export type VariationDiff = Diff<
15
15
  SharedSliceModelVariation,
16
- Partial<VariationMetadata> & {
16
+ Partial<VariationDiffMetadata> & {
17
17
  primary?: Record<string, SlicePrimaryWidgetDiff>
18
18
  items?: Record<string, NestableWidgetDiff>
19
19
  }
@@ -22,7 +22,7 @@ export type VariationDiff = DiffChange<
22
22
  function compareVariationMeta(
23
23
  variationA?: SharedSliceModelVariation,
24
24
  variationB?: SharedSliceModelVariation,
25
- ): Partial<VariationMetadata> {
25
+ ): Partial<VariationDiffMetadata> {
26
26
  const zippedVariations = zipObjects(variationA, variationB)
27
27
 
28
28
  return Object.entries(zippedVariations).reduce((acc, [key, value]) => {
@@ -117,7 +117,7 @@ function compareWidgets<TWidget extends NestableModel | GroupModel>(
117
117
  return isNotEmpty(diffWidgets) ? diffWidgets : undefined
118
118
  }
119
119
 
120
- export const VariationComparator = {
120
+ export const VariationDiffComparator = {
121
121
  compare(
122
122
  variationA?: SharedSliceModelVariation,
123
123
  variationB?: SharedSliceModelVariation,
@@ -1,8 +1,8 @@
1
1
  import type { GroupModel } from "../group"
2
2
  import type { NestableModel } from "../nestable"
3
- import type { DiffChange } from "./changes"
3
+ import type { Diff } from "./changes"
4
4
 
5
- export type NestableWidgetDiff = DiffChange<NestableModel, NestableModel>
5
+ export type NestableWidgetDiff = Diff<NestableModel, NestableModel>
6
6
 
7
7
  export type GroupWidgetWithFieldsDiff = Omit<GroupModel, "config"> & {
8
8
  config: Omit<NonNullable<GroupModel["config"]>, "fields"> & {
@@ -10,6 +10,6 @@ export type GroupWidgetWithFieldsDiff = Omit<GroupModel, "config"> & {
10
10
  }
11
11
  }
12
12
 
13
- export type GroupWidgetDiff = DiffChange<GroupWidgetWithFieldsDiff, GroupWidgetWithFieldsDiff>
13
+ export type GroupWidgetDiff = Diff<GroupWidgetWithFieldsDiff, GroupWidgetWithFieldsDiff>
14
14
 
15
15
  export type SlicePrimaryWidgetDiff = NestableWidgetDiff | GroupWidgetDiff
@@ -18,7 +18,10 @@ export const SideConstraintSchema: z.ZodMiniType<number | null> = z.union([
18
18
  z.transform(() => null),
19
19
  ),
20
20
  z.null(),
21
- z.pipe(z.number(), z.transform((n) => Math.round(n))),
21
+ z.pipe(
22
+ z.number(),
23
+ z.transform((n) => Math.round(n)),
24
+ ),
22
25
  z.pipe(
23
26
  z.string(),
24
27
  z.transform((s: string) => parseInt(s.replace("px", ""), 10)),