@prismicio/client 7.7.3 → 7.7.5-alpha.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 (1048) hide show
  1. package/README.md +3 -3
  2. package/dist/_node_modules/@ungap/structured-clone/esm/deserialize.cjs +63 -0
  3. package/dist/_node_modules/@ungap/structured-clone/esm/deserialize.cjs.map +1 -0
  4. package/dist/_node_modules/@ungap/structured-clone/esm/deserialize.js +63 -0
  5. package/dist/_node_modules/@ungap/structured-clone/esm/deserialize.js.map +1 -0
  6. package/dist/_node_modules/@ungap/structured-clone/esm/index.cjs +12 -0
  7. package/dist/_node_modules/@ungap/structured-clone/esm/index.cjs.map +1 -0
  8. package/dist/_node_modules/@ungap/structured-clone/esm/index.js +12 -0
  9. package/dist/_node_modules/@ungap/structured-clone/esm/index.js.map +1 -0
  10. package/dist/_node_modules/@ungap/structured-clone/esm/serialize.cjs +127 -0
  11. package/dist/_node_modules/@ungap/structured-clone/esm/serialize.cjs.map +1 -0
  12. package/dist/_node_modules/@ungap/structured-clone/esm/serialize.js +127 -0
  13. package/dist/_node_modules/@ungap/structured-clone/esm/serialize.js.map +1 -0
  14. package/dist/_node_modules/@ungap/structured-clone/esm/types.cjs +23 -0
  15. package/dist/_node_modules/@ungap/structured-clone/esm/types.cjs.map +1 -0
  16. package/dist/_node_modules/@ungap/structured-clone/esm/types.js +23 -0
  17. package/dist/_node_modules/@ungap/structured-clone/esm/types.js.map +1 -0
  18. package/dist/_node_modules/bail/index.cjs +9 -0
  19. package/dist/_node_modules/bail/index.cjs.map +1 -0
  20. package/dist/_node_modules/bail/index.js +9 -0
  21. package/dist/_node_modules/bail/index.js.map +1 -0
  22. package/dist/_node_modules/bcp-47-match/index.cjs +74 -0
  23. package/dist/_node_modules/bcp-47-match/index.cjs.map +1 -0
  24. package/dist/_node_modules/bcp-47-match/index.js +74 -0
  25. package/dist/_node_modules/bcp-47-match/index.js.map +1 -0
  26. package/dist/_node_modules/boolbase/index.cjs +13 -0
  27. package/dist/_node_modules/boolbase/index.cjs.map +1 -0
  28. package/dist/_node_modules/boolbase/index.js +14 -0
  29. package/dist/_node_modules/boolbase/index.js.map +1 -0
  30. package/dist/_node_modules/ccount/index.cjs +17 -0
  31. package/dist/_node_modules/ccount/index.cjs.map +1 -0
  32. package/dist/_node_modules/ccount/index.js +17 -0
  33. package/dist/_node_modules/ccount/index.js.map +1 -0
  34. package/dist/_node_modules/character-entities/index.cjs +2131 -0
  35. package/dist/_node_modules/character-entities/index.cjs.map +1 -0
  36. package/dist/_node_modules/character-entities/index.js +2131 -0
  37. package/dist/_node_modules/character-entities/index.js.map +1 -0
  38. package/dist/_node_modules/character-entities-html4/index.cjs +258 -0
  39. package/dist/_node_modules/character-entities-html4/index.cjs.map +1 -0
  40. package/dist/_node_modules/character-entities-html4/index.js +258 -0
  41. package/dist/_node_modules/character-entities-html4/index.js.map +1 -0
  42. package/dist/_node_modules/character-entities-legacy/index.cjs +112 -0
  43. package/dist/_node_modules/character-entities-legacy/index.cjs.map +1 -0
  44. package/dist/_node_modules/character-entities-legacy/index.js +112 -0
  45. package/dist/_node_modules/character-entities-legacy/index.js.map +1 -0
  46. package/dist/_node_modules/comma-separated-tokens/index.cjs +32 -0
  47. package/dist/_node_modules/comma-separated-tokens/index.cjs.map +1 -0
  48. package/dist/_node_modules/comma-separated-tokens/index.js +32 -0
  49. package/dist/_node_modules/comma-separated-tokens/index.js.map +1 -0
  50. package/dist/_node_modules/devlop/lib/default.cjs +6 -0
  51. package/dist/_node_modules/devlop/lib/default.cjs.map +1 -0
  52. package/dist/_node_modules/devlop/lib/default.js +6 -0
  53. package/dist/_node_modules/devlop/lib/default.js.map +1 -0
  54. package/dist/_node_modules/direction/index.cjs +12 -0
  55. package/dist/_node_modules/direction/index.cjs.map +1 -0
  56. package/dist/_node_modules/direction/index.js +12 -0
  57. package/dist/_node_modules/direction/index.js.map +1 -0
  58. package/dist/_node_modules/extend/index.cjs +89 -0
  59. package/dist/_node_modules/extend/index.cjs.map +1 -0
  60. package/dist/_node_modules/extend/index.js +90 -0
  61. package/dist/_node_modules/extend/index.js.map +1 -0
  62. package/dist/_node_modules/hast-util-embedded/lib/index.cjs +14 -0
  63. package/dist/_node_modules/hast-util-embedded/lib/index.cjs.map +1 -0
  64. package/dist/_node_modules/hast-util-embedded/lib/index.js +14 -0
  65. package/dist/_node_modules/hast-util-embedded/lib/index.js.map +1 -0
  66. package/dist/_node_modules/hast-util-from-html/lib/errors.cjs +317 -0
  67. package/dist/_node_modules/hast-util-from-html/lib/errors.cjs.map +1 -0
  68. package/dist/_node_modules/hast-util-from-html/lib/errors.js +317 -0
  69. package/dist/_node_modules/hast-util-from-html/lib/errors.js.map +1 -0
  70. package/dist/_node_modules/hast-util-from-html/lib/index.cjs +96 -0
  71. package/dist/_node_modules/hast-util-from-html/lib/index.cjs.map +1 -0
  72. package/dist/_node_modules/hast-util-from-html/lib/index.js +96 -0
  73. package/dist/_node_modules/hast-util-from-html/lib/index.js.map +1 -0
  74. package/dist/_node_modules/hast-util-from-parse5/lib/index.cjs +187 -0
  75. package/dist/_node_modules/hast-util-from-parse5/lib/index.cjs.map +1 -0
  76. package/dist/_node_modules/hast-util-from-parse5/lib/index.js +187 -0
  77. package/dist/_node_modules/hast-util-from-parse5/lib/index.js.map +1 -0
  78. package/dist/_node_modules/hast-util-has-property/lib/index.cjs +9 -0
  79. package/dist/_node_modules/hast-util-has-property/lib/index.cjs.map +1 -0
  80. package/dist/_node_modules/hast-util-has-property/lib/index.js +9 -0
  81. package/dist/_node_modules/hast-util-has-property/lib/index.js.map +1 -0
  82. package/dist/_node_modules/hast-util-is-element/lib/index.cjs +102 -0
  83. package/dist/_node_modules/hast-util-is-element/lib/index.cjs.map +1 -0
  84. package/dist/_node_modules/hast-util-is-element/lib/index.js +102 -0
  85. package/dist/_node_modules/hast-util-is-element/lib/index.js.map +1 -0
  86. package/dist/_node_modules/hast-util-parse-selector/lib/index.cjs +40 -0
  87. package/dist/_node_modules/hast-util-parse-selector/lib/index.cjs.map +1 -0
  88. package/dist/_node_modules/hast-util-parse-selector/lib/index.js +40 -0
  89. package/dist/_node_modules/hast-util-parse-selector/lib/index.js.map +1 -0
  90. package/dist/_node_modules/hast-util-select/lib/attribute.cjs +67 -0
  91. package/dist/_node_modules/hast-util-select/lib/attribute.cjs.map +1 -0
  92. package/dist/_node_modules/hast-util-select/lib/attribute.js +67 -0
  93. package/dist/_node_modules/hast-util-select/lib/attribute.js.map +1 -0
  94. package/dist/_node_modules/hast-util-select/lib/class-name.cjs +12 -0
  95. package/dist/_node_modules/hast-util-select/lib/class-name.cjs.map +1 -0
  96. package/dist/_node_modules/hast-util-select/lib/class-name.js +12 -0
  97. package/dist/_node_modules/hast-util-select/lib/class-name.js.map +1 -0
  98. package/dist/_node_modules/hast-util-select/lib/enter-state.cjs +79 -0
  99. package/dist/_node_modules/hast-util-select/lib/enter-state.cjs.map +1 -0
  100. package/dist/_node_modules/hast-util-select/lib/enter-state.js +79 -0
  101. package/dist/_node_modules/hast-util-select/lib/enter-state.js.map +1 -0
  102. package/dist/_node_modules/hast-util-select/lib/id.cjs +7 -0
  103. package/dist/_node_modules/hast-util-select/lib/id.cjs.map +1 -0
  104. package/dist/_node_modules/hast-util-select/lib/id.js +7 -0
  105. package/dist/_node_modules/hast-util-select/lib/id.js.map +1 -0
  106. package/dist/_node_modules/hast-util-select/lib/index.cjs +38 -0
  107. package/dist/_node_modules/hast-util-select/lib/index.cjs.map +1 -0
  108. package/dist/_node_modules/hast-util-select/lib/index.js +38 -0
  109. package/dist/_node_modules/hast-util-select/lib/index.js.map +1 -0
  110. package/dist/_node_modules/hast-util-select/lib/name.cjs +7 -0
  111. package/dist/_node_modules/hast-util-select/lib/name.cjs.map +1 -0
  112. package/dist/_node_modules/hast-util-select/lib/name.js +7 -0
  113. package/dist/_node_modules/hast-util-select/lib/name.js.map +1 -0
  114. package/dist/_node_modules/hast-util-select/lib/parse.cjs +12 -0
  115. package/dist/_node_modules/hast-util-select/lib/parse.cjs.map +1 -0
  116. package/dist/_node_modules/hast-util-select/lib/parse.js +12 -0
  117. package/dist/_node_modules/hast-util-select/lib/parse.js.map +1 -0
  118. package/dist/_node_modules/hast-util-select/lib/pseudo.cjs +231 -0
  119. package/dist/_node_modules/hast-util-select/lib/pseudo.cjs.map +1 -0
  120. package/dist/_node_modules/hast-util-select/lib/pseudo.js +231 -0
  121. package/dist/_node_modules/hast-util-select/lib/pseudo.js.map +1 -0
  122. package/dist/_node_modules/hast-util-select/lib/test.cjs +27 -0
  123. package/dist/_node_modules/hast-util-select/lib/test.cjs.map +1 -0
  124. package/dist/_node_modules/hast-util-select/lib/test.js +27 -0
  125. package/dist/_node_modules/hast-util-select/lib/test.js.map +1 -0
  126. package/dist/_node_modules/hast-util-select/lib/walk.cjs +132 -0
  127. package/dist/_node_modules/hast-util-select/lib/walk.cjs.map +1 -0
  128. package/dist/_node_modules/hast-util-select/lib/walk.js +132 -0
  129. package/dist/_node_modules/hast-util-select/lib/walk.js.map +1 -0
  130. package/dist/_node_modules/hast-util-to-html/lib/handle/comment.cjs +24 -0
  131. package/dist/_node_modules/hast-util-to-html/lib/handle/comment.cjs.map +1 -0
  132. package/dist/_node_modules/hast-util-to-html/lib/handle/comment.js +24 -0
  133. package/dist/_node_modules/hast-util-to-html/lib/handle/comment.js.map +1 -0
  134. package/dist/_node_modules/hast-util-to-html/lib/handle/doctype.cjs +7 -0
  135. package/dist/_node_modules/hast-util-to-html/lib/handle/doctype.cjs.map +1 -0
  136. package/dist/_node_modules/hast-util-to-html/lib/handle/doctype.js +7 -0
  137. package/dist/_node_modules/hast-util-to-html/lib/handle/doctype.js.map +1 -0
  138. package/dist/_node_modules/hast-util-to-html/lib/handle/element.cjs +137 -0
  139. package/dist/_node_modules/hast-util-to-html/lib/handle/element.cjs.map +1 -0
  140. package/dist/_node_modules/hast-util-to-html/lib/handle/element.js +137 -0
  141. package/dist/_node_modules/hast-util-to-html/lib/handle/element.js.map +1 -0
  142. package/dist/_node_modules/hast-util-to-html/lib/handle/index.cjs +26 -0
  143. package/dist/_node_modules/hast-util-to-html/lib/handle/index.cjs.map +1 -0
  144. package/dist/_node_modules/hast-util-to-html/lib/handle/index.js +26 -0
  145. package/dist/_node_modules/hast-util-to-html/lib/handle/index.js.map +1 -0
  146. package/dist/_node_modules/hast-util-to-html/lib/handle/raw.cjs +8 -0
  147. package/dist/_node_modules/hast-util-to-html/lib/handle/raw.cjs.map +1 -0
  148. package/dist/_node_modules/hast-util-to-html/lib/handle/raw.js +8 -0
  149. package/dist/_node_modules/hast-util-to-html/lib/handle/raw.js.map +1 -0
  150. package/dist/_node_modules/hast-util-to-html/lib/handle/root.cjs +7 -0
  151. package/dist/_node_modules/hast-util-to-html/lib/handle/root.cjs.map +1 -0
  152. package/dist/_node_modules/hast-util-to-html/lib/handle/root.js +7 -0
  153. package/dist/_node_modules/hast-util-to-html/lib/handle/root.js.map +1 -0
  154. package/dist/_node_modules/hast-util-to-html/lib/handle/text.cjs +14 -0
  155. package/dist/_node_modules/hast-util-to-html/lib/handle/text.cjs.map +1 -0
  156. package/dist/_node_modules/hast-util-to-html/lib/handle/text.js +14 -0
  157. package/dist/_node_modules/hast-util-to-html/lib/handle/text.js.map +1 -0
  158. package/dist/_node_modules/hast-util-to-html/lib/index.cjs +62 -0
  159. package/dist/_node_modules/hast-util-to-html/lib/index.cjs.map +1 -0
  160. package/dist/_node_modules/hast-util-to-html/lib/index.js +62 -0
  161. package/dist/_node_modules/hast-util-to-html/lib/index.js.map +1 -0
  162. package/dist/_node_modules/hast-util-to-html/lib/omission/closing.cjs +92 -0
  163. package/dist/_node_modules/hast-util-to-html/lib/omission/closing.cjs.map +1 -0
  164. package/dist/_node_modules/hast-util-to-html/lib/omission/closing.js +92 -0
  165. package/dist/_node_modules/hast-util-to-html/lib/omission/closing.js.map +1 -0
  166. package/dist/_node_modules/hast-util-to-html/lib/omission/omission.cjs +11 -0
  167. package/dist/_node_modules/hast-util-to-html/lib/omission/omission.cjs.map +1 -0
  168. package/dist/_node_modules/hast-util-to-html/lib/omission/omission.js +11 -0
  169. package/dist/_node_modules/hast-util-to-html/lib/omission/omission.js.map +1 -0
  170. package/dist/_node_modules/hast-util-to-html/lib/omission/opening.cjs +52 -0
  171. package/dist/_node_modules/hast-util-to-html/lib/omission/opening.cjs.map +1 -0
  172. package/dist/_node_modules/hast-util-to-html/lib/omission/opening.js +52 -0
  173. package/dist/_node_modules/hast-util-to-html/lib/omission/opening.js.map +1 -0
  174. package/dist/_node_modules/hast-util-to-html/lib/omission/util/siblings.cjs +24 -0
  175. package/dist/_node_modules/hast-util-to-html/lib/omission/util/siblings.cjs.map +1 -0
  176. package/dist/_node_modules/hast-util-to-html/lib/omission/util/siblings.js +24 -0
  177. package/dist/_node_modules/hast-util-to-html/lib/omission/util/siblings.js.map +1 -0
  178. package/dist/_node_modules/hast-util-to-string/lib/index.cjs +24 -0
  179. package/dist/_node_modules/hast-util-to-string/lib/index.cjs.map +1 -0
  180. package/dist/_node_modules/hast-util-to-string/lib/index.js +24 -0
  181. package/dist/_node_modules/hast-util-to-string/lib/index.js.map +1 -0
  182. package/dist/_node_modules/hastscript/lib/create-h.cjs +159 -0
  183. package/dist/_node_modules/hastscript/lib/create-h.cjs.map +1 -0
  184. package/dist/_node_modules/hastscript/lib/create-h.js +159 -0
  185. package/dist/_node_modules/hastscript/lib/create-h.js.map +1 -0
  186. package/dist/_node_modules/hastscript/lib/index.cjs +10 -0
  187. package/dist/_node_modules/hastscript/lib/index.cjs.map +1 -0
  188. package/dist/_node_modules/hastscript/lib/index.js +10 -0
  189. package/dist/_node_modules/hastscript/lib/index.js.map +1 -0
  190. package/dist/_node_modules/hastscript/lib/svg-case-sensitive-tag-names.cjs +45 -0
  191. package/dist/_node_modules/hastscript/lib/svg-case-sensitive-tag-names.cjs.map +1 -0
  192. package/dist/_node_modules/hastscript/lib/svg-case-sensitive-tag-names.js +45 -0
  193. package/dist/_node_modules/hastscript/lib/svg-case-sensitive-tag-names.js.map +1 -0
  194. package/dist/_node_modules/html-void-elements/index.cjs +26 -0
  195. package/dist/_node_modules/html-void-elements/index.cjs.map +1 -0
  196. package/dist/_node_modules/html-void-elements/index.js +26 -0
  197. package/dist/_node_modules/html-void-elements/index.js.map +1 -0
  198. package/dist/_node_modules/mdast-util-from-markdown/lib/index.cjs +720 -0
  199. package/dist/_node_modules/mdast-util-from-markdown/lib/index.cjs.map +1 -0
  200. package/dist/_node_modules/mdast-util-from-markdown/lib/index.js +720 -0
  201. package/dist/_node_modules/mdast-util-from-markdown/lib/index.js.map +1 -0
  202. package/dist/_node_modules/mdast-util-to-hast/lib/footer.cjs +116 -0
  203. package/dist/_node_modules/mdast-util-to-hast/lib/footer.cjs.map +1 -0
  204. package/dist/_node_modules/mdast-util-to-hast/lib/footer.js +116 -0
  205. package/dist/_node_modules/mdast-util-to-hast/lib/footer.js.map +1 -0
  206. package/dist/_node_modules/mdast-util-to-hast/lib/handlers/blockquote.cjs +14 -0
  207. package/dist/_node_modules/mdast-util-to-hast/lib/handlers/blockquote.cjs.map +1 -0
  208. package/dist/_node_modules/mdast-util-to-hast/lib/handlers/blockquote.js +14 -0
  209. package/dist/_node_modules/mdast-util-to-hast/lib/handlers/blockquote.js.map +1 -0
  210. package/dist/_node_modules/mdast-util-to-hast/lib/handlers/break.cjs +9 -0
  211. package/dist/_node_modules/mdast-util-to-hast/lib/handlers/break.cjs.map +1 -0
  212. package/dist/_node_modules/mdast-util-to-hast/lib/handlers/break.js +9 -0
  213. package/dist/_node_modules/mdast-util-to-hast/lib/handlers/break.js.map +1 -0
  214. package/dist/_node_modules/mdast-util-to-hast/lib/handlers/code.cjs +25 -0
  215. package/dist/_node_modules/mdast-util-to-hast/lib/handlers/code.cjs.map +1 -0
  216. package/dist/_node_modules/mdast-util-to-hast/lib/handlers/code.js +25 -0
  217. package/dist/_node_modules/mdast-util-to-hast/lib/handlers/code.js.map +1 -0
  218. package/dist/_node_modules/mdast-util-to-hast/lib/handlers/delete.cjs +14 -0
  219. package/dist/_node_modules/mdast-util-to-hast/lib/handlers/delete.cjs.map +1 -0
  220. package/dist/_node_modules/mdast-util-to-hast/lib/handlers/delete.js +14 -0
  221. package/dist/_node_modules/mdast-util-to-hast/lib/handlers/delete.js.map +1 -0
  222. package/dist/_node_modules/mdast-util-to-hast/lib/handlers/emphasis.cjs +14 -0
  223. package/dist/_node_modules/mdast-util-to-hast/lib/handlers/emphasis.cjs.map +1 -0
  224. package/dist/_node_modules/mdast-util-to-hast/lib/handlers/emphasis.js +14 -0
  225. package/dist/_node_modules/mdast-util-to-hast/lib/handlers/emphasis.js.map +1 -0
  226. package/dist/_node_modules/mdast-util-to-hast/lib/handlers/footnote-reference.cjs +42 -0
  227. package/dist/_node_modules/mdast-util-to-hast/lib/handlers/footnote-reference.cjs.map +1 -0
  228. package/dist/_node_modules/mdast-util-to-hast/lib/handlers/footnote-reference.js +42 -0
  229. package/dist/_node_modules/mdast-util-to-hast/lib/handlers/footnote-reference.js.map +1 -0
  230. package/dist/_node_modules/mdast-util-to-hast/lib/handlers/heading.cjs +14 -0
  231. package/dist/_node_modules/mdast-util-to-hast/lib/handlers/heading.cjs.map +1 -0
  232. package/dist/_node_modules/mdast-util-to-hast/lib/handlers/heading.js +14 -0
  233. package/dist/_node_modules/mdast-util-to-hast/lib/handlers/heading.js.map +1 -0
  234. package/dist/_node_modules/mdast-util-to-hast/lib/handlers/html.cjs +12 -0
  235. package/dist/_node_modules/mdast-util-to-hast/lib/handlers/html.cjs.map +1 -0
  236. package/dist/_node_modules/mdast-util-to-hast/lib/handlers/html.js +12 -0
  237. package/dist/_node_modules/mdast-util-to-hast/lib/handlers/html.js.map +1 -0
  238. package/dist/_node_modules/mdast-util-to-hast/lib/handlers/image-reference.cjs +20 -0
  239. package/dist/_node_modules/mdast-util-to-hast/lib/handlers/image-reference.cjs.map +1 -0
  240. package/dist/_node_modules/mdast-util-to-hast/lib/handlers/image-reference.js +20 -0
  241. package/dist/_node_modules/mdast-util-to-hast/lib/handlers/image-reference.js.map +1 -0
  242. package/dist/_node_modules/mdast-util-to-hast/lib/handlers/image.cjs +17 -0
  243. package/dist/_node_modules/mdast-util-to-hast/lib/handlers/image.cjs.map +1 -0
  244. package/dist/_node_modules/mdast-util-to-hast/lib/handlers/image.js +17 -0
  245. package/dist/_node_modules/mdast-util-to-hast/lib/handlers/image.js.map +1 -0
  246. package/dist/_node_modules/mdast-util-to-hast/lib/handlers/index.cjs +60 -0
  247. package/dist/_node_modules/mdast-util-to-hast/lib/handlers/index.cjs.map +1 -0
  248. package/dist/_node_modules/mdast-util-to-hast/lib/handlers/index.js +60 -0
  249. package/dist/_node_modules/mdast-util-to-hast/lib/handlers/index.js.map +1 -0
  250. package/dist/_node_modules/mdast-util-to-hast/lib/handlers/inline-code.cjs +16 -0
  251. package/dist/_node_modules/mdast-util-to-hast/lib/handlers/inline-code.cjs.map +1 -0
  252. package/dist/_node_modules/mdast-util-to-hast/lib/handlers/inline-code.js +16 -0
  253. package/dist/_node_modules/mdast-util-to-hast/lib/handlers/inline-code.js.map +1 -0
  254. package/dist/_node_modules/mdast-util-to-hast/lib/handlers/link-reference.cjs +25 -0
  255. package/dist/_node_modules/mdast-util-to-hast/lib/handlers/link-reference.cjs.map +1 -0
  256. package/dist/_node_modules/mdast-util-to-hast/lib/handlers/link-reference.js +25 -0
  257. package/dist/_node_modules/mdast-util-to-hast/lib/handlers/link-reference.js.map +1 -0
  258. package/dist/_node_modules/mdast-util-to-hast/lib/handlers/link.cjs +19 -0
  259. package/dist/_node_modules/mdast-util-to-hast/lib/handlers/link.cjs.map +1 -0
  260. package/dist/_node_modules/mdast-util-to-hast/lib/handlers/link.js +19 -0
  261. package/dist/_node_modules/mdast-util-to-hast/lib/handlers/link.js.map +1 -0
  262. package/dist/_node_modules/mdast-util-to-hast/lib/handlers/list-item.cjs +65 -0
  263. package/dist/_node_modules/mdast-util-to-hast/lib/handlers/list-item.cjs.map +1 -0
  264. package/dist/_node_modules/mdast-util-to-hast/lib/handlers/list-item.js +65 -0
  265. package/dist/_node_modules/mdast-util-to-hast/lib/handlers/list-item.js.map +1 -0
  266. package/dist/_node_modules/mdast-util-to-hast/lib/handlers/list.cjs +27 -0
  267. package/dist/_node_modules/mdast-util-to-hast/lib/handlers/list.cjs.map +1 -0
  268. package/dist/_node_modules/mdast-util-to-hast/lib/handlers/list.js +27 -0
  269. package/dist/_node_modules/mdast-util-to-hast/lib/handlers/list.js.map +1 -0
  270. package/dist/_node_modules/mdast-util-to-hast/lib/handlers/paragraph.cjs +14 -0
  271. package/dist/_node_modules/mdast-util-to-hast/lib/handlers/paragraph.cjs.map +1 -0
  272. package/dist/_node_modules/mdast-util-to-hast/lib/handlers/paragraph.js +14 -0
  273. package/dist/_node_modules/mdast-util-to-hast/lib/handlers/paragraph.js.map +1 -0
  274. package/dist/_node_modules/mdast-util-to-hast/lib/handlers/root.cjs +9 -0
  275. package/dist/_node_modules/mdast-util-to-hast/lib/handlers/root.cjs.map +1 -0
  276. package/dist/_node_modules/mdast-util-to-hast/lib/handlers/root.js +9 -0
  277. package/dist/_node_modules/mdast-util-to-hast/lib/handlers/root.js.map +1 -0
  278. package/dist/_node_modules/mdast-util-to-hast/lib/handlers/strong.cjs +14 -0
  279. package/dist/_node_modules/mdast-util-to-hast/lib/handlers/strong.cjs.map +1 -0
  280. package/dist/_node_modules/mdast-util-to-hast/lib/handlers/strong.js +14 -0
  281. package/dist/_node_modules/mdast-util-to-hast/lib/handlers/strong.js.map +1 -0
  282. package/dist/_node_modules/mdast-util-to-hast/lib/handlers/table-cell.cjs +15 -0
  283. package/dist/_node_modules/mdast-util-to-hast/lib/handlers/table-cell.cjs.map +1 -0
  284. package/dist/_node_modules/mdast-util-to-hast/lib/handlers/table-cell.js +15 -0
  285. package/dist/_node_modules/mdast-util-to-hast/lib/handlers/table-cell.js.map +1 -0
  286. package/dist/_node_modules/mdast-util-to-hast/lib/handlers/table-row.cjs +36 -0
  287. package/dist/_node_modules/mdast-util-to-hast/lib/handlers/table-row.cjs.map +1 -0
  288. package/dist/_node_modules/mdast-util-to-hast/lib/handlers/table-row.js +36 -0
  289. package/dist/_node_modules/mdast-util-to-hast/lib/handlers/table-row.js.map +1 -0
  290. package/dist/_node_modules/mdast-util-to-hast/lib/handlers/table.cjs +40 -0
  291. package/dist/_node_modules/mdast-util-to-hast/lib/handlers/table.cjs.map +1 -0
  292. package/dist/_node_modules/mdast-util-to-hast/lib/handlers/table.js +40 -0
  293. package/dist/_node_modules/mdast-util-to-hast/lib/handlers/table.js.map +1 -0
  294. package/dist/_node_modules/mdast-util-to-hast/lib/handlers/text.cjs +10 -0
  295. package/dist/_node_modules/mdast-util-to-hast/lib/handlers/text.cjs.map +1 -0
  296. package/dist/_node_modules/mdast-util-to-hast/lib/handlers/text.js +10 -0
  297. package/dist/_node_modules/mdast-util-to-hast/lib/handlers/text.js.map +1 -0
  298. package/dist/_node_modules/mdast-util-to-hast/lib/handlers/thematic-break.cjs +14 -0
  299. package/dist/_node_modules/mdast-util-to-hast/lib/handlers/thematic-break.cjs.map +1 -0
  300. package/dist/_node_modules/mdast-util-to-hast/lib/handlers/thematic-break.js +14 -0
  301. package/dist/_node_modules/mdast-util-to-hast/lib/handlers/thematic-break.js.map +1 -0
  302. package/dist/_node_modules/mdast-util-to-hast/lib/index.cjs +16 -0
  303. package/dist/_node_modules/mdast-util-to-hast/lib/index.cjs.map +1 -0
  304. package/dist/_node_modules/mdast-util-to-hast/lib/index.js +16 -0
  305. package/dist/_node_modules/mdast-util-to-hast/lib/index.js.map +1 -0
  306. package/dist/_node_modules/mdast-util-to-hast/lib/revert.cjs +30 -0
  307. package/dist/_node_modules/mdast-util-to-hast/lib/revert.cjs.map +1 -0
  308. package/dist/_node_modules/mdast-util-to-hast/lib/revert.js +30 -0
  309. package/dist/_node_modules/mdast-util-to-hast/lib/revert.js.map +1 -0
  310. package/dist/_node_modules/mdast-util-to-hast/lib/state.cjs +149 -0
  311. package/dist/_node_modules/mdast-util-to-hast/lib/state.cjs.map +1 -0
  312. package/dist/_node_modules/mdast-util-to-hast/lib/state.js +149 -0
  313. package/dist/_node_modules/mdast-util-to-hast/lib/state.js.map +1 -0
  314. package/dist/_node_modules/mdast-util-to-string/lib/index.cjs +39 -0
  315. package/dist/_node_modules/mdast-util-to-string/lib/index.cjs.map +1 -0
  316. package/dist/_node_modules/mdast-util-to-string/lib/index.js +39 -0
  317. package/dist/_node_modules/mdast-util-to-string/lib/index.js.map +1 -0
  318. package/dist/_node_modules/micromark/lib/constructs.cjs +94 -0
  319. package/dist/_node_modules/micromark/lib/constructs.cjs.map +1 -0
  320. package/dist/_node_modules/micromark/lib/constructs.js +94 -0
  321. package/dist/_node_modules/micromark/lib/constructs.js.map +1 -0
  322. package/dist/_node_modules/micromark/lib/create-tokenizer.cjs +316 -0
  323. package/dist/_node_modules/micromark/lib/create-tokenizer.cjs.map +1 -0
  324. package/dist/_node_modules/micromark/lib/create-tokenizer.js +316 -0
  325. package/dist/_node_modules/micromark/lib/create-tokenizer.js.map +1 -0
  326. package/dist/_node_modules/micromark/lib/initialize/content.cjs +58 -0
  327. package/dist/_node_modules/micromark/lib/initialize/content.cjs.map +1 -0
  328. package/dist/_node_modules/micromark/lib/initialize/content.js +58 -0
  329. package/dist/_node_modules/micromark/lib/initialize/content.js.map +1 -0
  330. package/dist/_node_modules/micromark/lib/initialize/document.cjs +212 -0
  331. package/dist/_node_modules/micromark/lib/initialize/document.cjs.map +1 -0
  332. package/dist/_node_modules/micromark/lib/initialize/document.js +212 -0
  333. package/dist/_node_modules/micromark/lib/initialize/document.js.map +1 -0
  334. package/dist/_node_modules/micromark/lib/initialize/flow.cjs +55 -0
  335. package/dist/_node_modules/micromark/lib/initialize/flow.cjs.map +1 -0
  336. package/dist/_node_modules/micromark/lib/initialize/flow.js +55 -0
  337. package/dist/_node_modules/micromark/lib/initialize/flow.js.map +1 -0
  338. package/dist/_node_modules/micromark/lib/initialize/text.cjs +143 -0
  339. package/dist/_node_modules/micromark/lib/initialize/text.cjs.map +1 -0
  340. package/dist/_node_modules/micromark/lib/initialize/text.js +143 -0
  341. package/dist/_node_modules/micromark/lib/initialize/text.js.map +1 -0
  342. package/dist/_node_modules/micromark/lib/parse.cjs +35 -0
  343. package/dist/_node_modules/micromark/lib/parse.cjs.map +1 -0
  344. package/dist/_node_modules/micromark/lib/parse.js +35 -0
  345. package/dist/_node_modules/micromark/lib/parse.js.map +1 -0
  346. package/dist/_node_modules/micromark/lib/postprocess.cjs +10 -0
  347. package/dist/_node_modules/micromark/lib/postprocess.cjs.map +1 -0
  348. package/dist/_node_modules/micromark/lib/postprocess.js +10 -0
  349. package/dist/_node_modules/micromark/lib/postprocess.js.map +1 -0
  350. package/dist/_node_modules/micromark/lib/preprocess.cjs +81 -0
  351. package/dist/_node_modules/micromark/lib/preprocess.cjs.map +1 -0
  352. package/dist/_node_modules/micromark/lib/preprocess.js +81 -0
  353. package/dist/_node_modules/micromark/lib/preprocess.js.map +1 -0
  354. package/dist/_node_modules/micromark-core-commonmark/lib/attention.cjs +116 -0
  355. package/dist/_node_modules/micromark-core-commonmark/lib/attention.cjs.map +1 -0
  356. package/dist/_node_modules/micromark-core-commonmark/lib/attention.js +116 -0
  357. package/dist/_node_modules/micromark-core-commonmark/lib/attention.js.map +1 -0
  358. package/dist/_node_modules/micromark-core-commonmark/lib/autolink.cjs +104 -0
  359. package/dist/_node_modules/micromark-core-commonmark/lib/autolink.cjs.map +1 -0
  360. package/dist/_node_modules/micromark-core-commonmark/lib/autolink.js +104 -0
  361. package/dist/_node_modules/micromark-core-commonmark/lib/autolink.js.map +1 -0
  362. package/dist/_node_modules/micromark-core-commonmark/lib/blank-line.cjs +19 -0
  363. package/dist/_node_modules/micromark-core-commonmark/lib/blank-line.cjs.map +1 -0
  364. package/dist/_node_modules/micromark-core-commonmark/lib/blank-line.js +19 -0
  365. package/dist/_node_modules/micromark-core-commonmark/lib/blank-line.js.map +1 -0
  366. package/dist/_node_modules/micromark-core-commonmark/lib/block-quote.cjs +62 -0
  367. package/dist/_node_modules/micromark-core-commonmark/lib/block-quote.cjs.map +1 -0
  368. package/dist/_node_modules/micromark-core-commonmark/lib/block-quote.js +62 -0
  369. package/dist/_node_modules/micromark-core-commonmark/lib/block-quote.js.map +1 -0
  370. package/dist/_node_modules/micromark-core-commonmark/lib/character-escape.cjs +29 -0
  371. package/dist/_node_modules/micromark-core-commonmark/lib/character-escape.cjs.map +1 -0
  372. package/dist/_node_modules/micromark-core-commonmark/lib/character-escape.js +29 -0
  373. package/dist/_node_modules/micromark-core-commonmark/lib/character-escape.js.map +1 -0
  374. package/dist/_node_modules/micromark-core-commonmark/lib/character-reference.cjs +69 -0
  375. package/dist/_node_modules/micromark-core-commonmark/lib/character-reference.cjs.map +1 -0
  376. package/dist/_node_modules/micromark-core-commonmark/lib/character-reference.js +69 -0
  377. package/dist/_node_modules/micromark-core-commonmark/lib/character-reference.js.map +1 -0
  378. package/dist/_node_modules/micromark-core-commonmark/lib/code-fenced.cjs +187 -0
  379. package/dist/_node_modules/micromark-core-commonmark/lib/code-fenced.cjs.map +1 -0
  380. package/dist/_node_modules/micromark-core-commonmark/lib/code-fenced.js +187 -0
  381. package/dist/_node_modules/micromark-core-commonmark/lib/code-fenced.js.map +1 -0
  382. package/dist/_node_modules/micromark-core-commonmark/lib/code-indented.cjs +68 -0
  383. package/dist/_node_modules/micromark-core-commonmark/lib/code-indented.cjs.map +1 -0
  384. package/dist/_node_modules/micromark-core-commonmark/lib/code-indented.js +68 -0
  385. package/dist/_node_modules/micromark-core-commonmark/lib/code-indented.js.map +1 -0
  386. package/dist/_node_modules/micromark-core-commonmark/lib/code-text.cjs +117 -0
  387. package/dist/_node_modules/micromark-core-commonmark/lib/code-text.cjs.map +1 -0
  388. package/dist/_node_modules/micromark-core-commonmark/lib/code-text.js +117 -0
  389. package/dist/_node_modules/micromark-core-commonmark/lib/code-text.js.map +1 -0
  390. package/dist/_node_modules/micromark-core-commonmark/lib/content.cjs +76 -0
  391. package/dist/_node_modules/micromark-core-commonmark/lib/content.cjs.map +1 -0
  392. package/dist/_node_modules/micromark-core-commonmark/lib/content.js +76 -0
  393. package/dist/_node_modules/micromark-core-commonmark/lib/content.js.map +1 -0
  394. package/dist/_node_modules/micromark-core-commonmark/lib/definition.cjs +95 -0
  395. package/dist/_node_modules/micromark-core-commonmark/lib/definition.cjs.map +1 -0
  396. package/dist/_node_modules/micromark-core-commonmark/lib/definition.js +95 -0
  397. package/dist/_node_modules/micromark-core-commonmark/lib/definition.js.map +1 -0
  398. package/dist/_node_modules/micromark-core-commonmark/lib/hard-break-escape.cjs +24 -0
  399. package/dist/_node_modules/micromark-core-commonmark/lib/hard-break-escape.cjs.map +1 -0
  400. package/dist/_node_modules/micromark-core-commonmark/lib/hard-break-escape.js +24 -0
  401. package/dist/_node_modules/micromark-core-commonmark/lib/hard-break-escape.js.map +1 -0
  402. package/dist/_node_modules/micromark-core-commonmark/lib/heading-atx.cjs +96 -0
  403. package/dist/_node_modules/micromark-core-commonmark/lib/heading-atx.cjs.map +1 -0
  404. package/dist/_node_modules/micromark-core-commonmark/lib/heading-atx.js +96 -0
  405. package/dist/_node_modules/micromark-core-commonmark/lib/heading-atx.js.map +1 -0
  406. package/dist/_node_modules/micromark-core-commonmark/lib/html-flow.cjs +384 -0
  407. package/dist/_node_modules/micromark-core-commonmark/lib/html-flow.cjs.map +1 -0
  408. package/dist/_node_modules/micromark-core-commonmark/lib/html-flow.js +384 -0
  409. package/dist/_node_modules/micromark-core-commonmark/lib/html-flow.js.map +1 -0
  410. package/dist/_node_modules/micromark-core-commonmark/lib/html-text.cjs +310 -0
  411. package/dist/_node_modules/micromark-core-commonmark/lib/html-text.cjs.map +1 -0
  412. package/dist/_node_modules/micromark-core-commonmark/lib/html-text.js +310 -0
  413. package/dist/_node_modules/micromark-core-commonmark/lib/html-text.js.map +1 -0
  414. package/dist/_node_modules/micromark-core-commonmark/lib/label-end.cjs +219 -0
  415. package/dist/_node_modules/micromark-core-commonmark/lib/label-end.cjs.map +1 -0
  416. package/dist/_node_modules/micromark-core-commonmark/lib/label-end.js +219 -0
  417. package/dist/_node_modules/micromark-core-commonmark/lib/label-end.js.map +1 -0
  418. package/dist/_node_modules/micromark-core-commonmark/lib/label-start-image.cjs +34 -0
  419. package/dist/_node_modules/micromark-core-commonmark/lib/label-start-image.cjs.map +1 -0
  420. package/dist/_node_modules/micromark-core-commonmark/lib/label-start-image.js +34 -0
  421. package/dist/_node_modules/micromark-core-commonmark/lib/label-start-image.js.map +1 -0
  422. package/dist/_node_modules/micromark-core-commonmark/lib/label-start-link.cjs +25 -0
  423. package/dist/_node_modules/micromark-core-commonmark/lib/label-start-link.cjs.map +1 -0
  424. package/dist/_node_modules/micromark-core-commonmark/lib/label-start-link.js +25 -0
  425. package/dist/_node_modules/micromark-core-commonmark/lib/label-start-link.js.map +1 -0
  426. package/dist/_node_modules/micromark-core-commonmark/lib/line-ending.cjs +18 -0
  427. package/dist/_node_modules/micromark-core-commonmark/lib/line-ending.cjs.map +1 -0
  428. package/dist/_node_modules/micromark-core-commonmark/lib/line-ending.js +18 -0
  429. package/dist/_node_modules/micromark-core-commonmark/lib/line-ending.js.map +1 -0
  430. package/dist/_node_modules/micromark-core-commonmark/lib/list.cjs +136 -0
  431. package/dist/_node_modules/micromark-core-commonmark/lib/list.cjs.map +1 -0
  432. package/dist/_node_modules/micromark-core-commonmark/lib/list.js +136 -0
  433. package/dist/_node_modules/micromark-core-commonmark/lib/list.js.map +1 -0
  434. package/dist/_node_modules/micromark-core-commonmark/lib/setext-underline.cjs +90 -0
  435. package/dist/_node_modules/micromark-core-commonmark/lib/setext-underline.cjs.map +1 -0
  436. package/dist/_node_modules/micromark-core-commonmark/lib/setext-underline.js +90 -0
  437. package/dist/_node_modules/micromark-core-commonmark/lib/setext-underline.js.map +1 -0
  438. package/dist/_node_modules/micromark-core-commonmark/lib/thematic-break.cjs +43 -0
  439. package/dist/_node_modules/micromark-core-commonmark/lib/thematic-break.cjs.map +1 -0
  440. package/dist/_node_modules/micromark-core-commonmark/lib/thematic-break.js +43 -0
  441. package/dist/_node_modules/micromark-core-commonmark/lib/thematic-break.js.map +1 -0
  442. package/dist/_node_modules/micromark-factory-destination/index.cjs +95 -0
  443. package/dist/_node_modules/micromark-factory-destination/index.cjs.map +1 -0
  444. package/dist/_node_modules/micromark-factory-destination/index.js +95 -0
  445. package/dist/_node_modules/micromark-factory-destination/index.js.map +1 -0
  446. package/dist/_node_modules/micromark-factory-label/index.cjs +64 -0
  447. package/dist/_node_modules/micromark-factory-label/index.cjs.map +1 -0
  448. package/dist/_node_modules/micromark-factory-label/index.js +64 -0
  449. package/dist/_node_modules/micromark-factory-label/index.js.map +1 -0
  450. package/dist/_node_modules/micromark-factory-space/index.cjs +25 -0
  451. package/dist/_node_modules/micromark-factory-space/index.cjs.map +1 -0
  452. package/dist/_node_modules/micromark-factory-space/index.js +25 -0
  453. package/dist/_node_modules/micromark-factory-space/index.js.map +1 -0
  454. package/dist/_node_modules/micromark-factory-title/index.cjs +66 -0
  455. package/dist/_node_modules/micromark-factory-title/index.cjs.map +1 -0
  456. package/dist/_node_modules/micromark-factory-title/index.js +66 -0
  457. package/dist/_node_modules/micromark-factory-title/index.js.map +1 -0
  458. package/dist/_node_modules/micromark-factory-whitespace/index.cjs +27 -0
  459. package/dist/_node_modules/micromark-factory-whitespace/index.cjs.map +1 -0
  460. package/dist/_node_modules/micromark-factory-whitespace/index.js +27 -0
  461. package/dist/_node_modules/micromark-factory-whitespace/index.js.map +1 -0
  462. package/dist/_node_modules/micromark-util-character/index.cjs +45 -0
  463. package/dist/_node_modules/micromark-util-character/index.cjs.map +1 -0
  464. package/dist/_node_modules/micromark-util-character/index.js +45 -0
  465. package/dist/_node_modules/micromark-util-character/index.js.map +1 -0
  466. package/dist/_node_modules/micromark-util-chunked/index.cjs +37 -0
  467. package/dist/_node_modules/micromark-util-chunked/index.cjs.map +1 -0
  468. package/dist/_node_modules/micromark-util-chunked/index.js +37 -0
  469. package/dist/_node_modules/micromark-util-chunked/index.js.map +1 -0
  470. package/dist/_node_modules/micromark-util-classify-character/index.cjs +13 -0
  471. package/dist/_node_modules/micromark-util-classify-character/index.cjs.map +1 -0
  472. package/dist/_node_modules/micromark-util-classify-character/index.js +13 -0
  473. package/dist/_node_modules/micromark-util-classify-character/index.js.map +1 -0
  474. package/dist/_node_modules/micromark-util-combine-extensions/index.cjs +42 -0
  475. package/dist/_node_modules/micromark-util-combine-extensions/index.cjs.map +1 -0
  476. package/dist/_node_modules/micromark-util-combine-extensions/index.js +42 -0
  477. package/dist/_node_modules/micromark-util-combine-extensions/index.js.map +1 -0
  478. package/dist/_node_modules/micromark-util-decode-numeric-character-reference/index.cjs +20 -0
  479. package/dist/_node_modules/micromark-util-decode-numeric-character-reference/index.cjs.map +1 -0
  480. package/dist/_node_modules/micromark-util-decode-numeric-character-reference/index.js +20 -0
  481. package/dist/_node_modules/micromark-util-decode-numeric-character-reference/index.js.map +1 -0
  482. package/dist/_node_modules/micromark-util-decode-string/index.cjs +22 -0
  483. package/dist/_node_modules/micromark-util-decode-string/index.cjs.map +1 -0
  484. package/dist/_node_modules/micromark-util-decode-string/index.js +22 -0
  485. package/dist/_node_modules/micromark-util-decode-string/index.js.map +1 -0
  486. package/dist/_node_modules/micromark-util-html-tag-name/index.cjs +70 -0
  487. package/dist/_node_modules/micromark-util-html-tag-name/index.cjs.map +1 -0
  488. package/dist/_node_modules/micromark-util-html-tag-name/index.js +70 -0
  489. package/dist/_node_modules/micromark-util-html-tag-name/index.js.map +1 -0
  490. package/dist/_node_modules/micromark-util-normalize-identifier/index.cjs +7 -0
  491. package/dist/_node_modules/micromark-util-normalize-identifier/index.cjs.map +1 -0
  492. package/dist/_node_modules/micromark-util-normalize-identifier/index.js +7 -0
  493. package/dist/_node_modules/micromark-util-normalize-identifier/index.js.map +1 -0
  494. package/dist/_node_modules/micromark-util-resolve-all/index.cjs +16 -0
  495. package/dist/_node_modules/micromark-util-resolve-all/index.cjs.map +1 -0
  496. package/dist/_node_modules/micromark-util-resolve-all/index.js +16 -0
  497. package/dist/_node_modules/micromark-util-resolve-all/index.js.map +1 -0
  498. package/dist/_node_modules/micromark-util-sanitize-uri/index.cjs +42 -0
  499. package/dist/_node_modules/micromark-util-sanitize-uri/index.cjs.map +1 -0
  500. package/dist/_node_modules/micromark-util-sanitize-uri/index.js +42 -0
  501. package/dist/_node_modules/micromark-util-sanitize-uri/index.js.map +1 -0
  502. package/dist/_node_modules/micromark-util-subtokenize/index.cjs +149 -0
  503. package/dist/_node_modules/micromark-util-subtokenize/index.cjs.map +1 -0
  504. package/dist/_node_modules/micromark-util-subtokenize/index.js +149 -0
  505. package/dist/_node_modules/micromark-util-subtokenize/index.js.map +1 -0
  506. package/dist/_node_modules/micromark-util-subtokenize/lib/splice-buffer.cjs +195 -0
  507. package/dist/_node_modules/micromark-util-subtokenize/lib/splice-buffer.cjs.map +1 -0
  508. package/dist/_node_modules/micromark-util-subtokenize/lib/splice-buffer.js +195 -0
  509. package/dist/_node_modules/micromark-util-subtokenize/lib/splice-buffer.js.map +1 -0
  510. package/dist/_node_modules/nth-check/lib/esm/compile.cjs +20 -0
  511. package/dist/_node_modules/nth-check/lib/esm/compile.cjs.map +1 -0
  512. package/dist/_node_modules/nth-check/lib/esm/compile.js +20 -0
  513. package/dist/_node_modules/nth-check/lib/esm/compile.js.map +1 -0
  514. package/dist/_node_modules/nth-check/lib/esm/index.cjs +11 -0
  515. package/dist/_node_modules/nth-check/lib/esm/index.cjs.map +1 -0
  516. package/dist/_node_modules/nth-check/lib/esm/index.js +11 -0
  517. package/dist/_node_modules/nth-check/lib/esm/index.js.map +1 -0
  518. package/dist/_node_modules/nth-check/lib/esm/parse.cjs +59 -0
  519. package/dist/_node_modules/nth-check/lib/esm/parse.cjs.map +1 -0
  520. package/dist/_node_modules/nth-check/lib/esm/parse.js +59 -0
  521. package/dist/_node_modules/nth-check/lib/esm/parse.js.map +1 -0
  522. package/dist/_node_modules/property-information/index.cjs +14 -0
  523. package/dist/_node_modules/property-information/index.cjs.map +1 -0
  524. package/dist/_node_modules/property-information/index.js +14 -0
  525. package/dist/_node_modules/property-information/index.js.map +1 -0
  526. package/dist/_node_modules/property-information/lib/aria.cjs +62 -0
  527. package/dist/_node_modules/property-information/lib/aria.cjs.map +1 -0
  528. package/dist/_node_modules/property-information/lib/aria.js +62 -0
  529. package/dist/_node_modules/property-information/lib/aria.js.map +1 -0
  530. package/dist/_node_modules/property-information/lib/find.cjs +41 -0
  531. package/dist/_node_modules/property-information/lib/find.cjs.map +1 -0
  532. package/dist/_node_modules/property-information/lib/find.js +41 -0
  533. package/dist/_node_modules/property-information/lib/find.js.map +1 -0
  534. package/dist/_node_modules/property-information/lib/html.cjs +369 -0
  535. package/dist/_node_modules/property-information/lib/html.cjs.map +1 -0
  536. package/dist/_node_modules/property-information/lib/html.js +369 -0
  537. package/dist/_node_modules/property-information/lib/html.js.map +1 -0
  538. package/dist/_node_modules/property-information/lib/normalize.cjs +7 -0
  539. package/dist/_node_modules/property-information/lib/normalize.cjs.map +1 -0
  540. package/dist/_node_modules/property-information/lib/normalize.js +7 -0
  541. package/dist/_node_modules/property-information/lib/normalize.js.map +1 -0
  542. package/dist/_node_modules/property-information/lib/svg.cjs +567 -0
  543. package/dist/_node_modules/property-information/lib/svg.cjs.map +1 -0
  544. package/dist/_node_modules/property-information/lib/svg.js +567 -0
  545. package/dist/_node_modules/property-information/lib/svg.js.map +1 -0
  546. package/dist/_node_modules/property-information/lib/util/case-insensitive-transform.cjs +8 -0
  547. package/dist/_node_modules/property-information/lib/util/case-insensitive-transform.cjs.map +1 -0
  548. package/dist/_node_modules/property-information/lib/util/case-insensitive-transform.js +8 -0
  549. package/dist/_node_modules/property-information/lib/util/case-insensitive-transform.js.map +1 -0
  550. package/dist/_node_modules/property-information/lib/util/case-sensitive-transform.cjs +7 -0
  551. package/dist/_node_modules/property-information/lib/util/case-sensitive-transform.cjs.map +1 -0
  552. package/dist/_node_modules/property-information/lib/util/case-sensitive-transform.js +7 -0
  553. package/dist/_node_modules/property-information/lib/util/case-sensitive-transform.js.map +1 -0
  554. package/dist/_node_modules/property-information/lib/util/create.cjs +31 -0
  555. package/dist/_node_modules/property-information/lib/util/create.cjs.map +1 -0
  556. package/dist/_node_modules/property-information/lib/util/create.js +31 -0
  557. package/dist/_node_modules/property-information/lib/util/create.js.map +1 -0
  558. package/dist/_node_modules/property-information/lib/util/defined-info.cjs +33 -0
  559. package/dist/_node_modules/property-information/lib/util/defined-info.cjs.map +1 -0
  560. package/dist/_node_modules/property-information/lib/util/defined-info.js +33 -0
  561. package/dist/_node_modules/property-information/lib/util/defined-info.js.map +1 -0
  562. package/dist/_node_modules/property-information/lib/util/info.cjs +25 -0
  563. package/dist/_node_modules/property-information/lib/util/info.cjs.map +1 -0
  564. package/dist/_node_modules/property-information/lib/util/info.js +25 -0
  565. package/dist/_node_modules/property-information/lib/util/info.js.map +1 -0
  566. package/dist/_node_modules/property-information/lib/util/merge.cjs +15 -0
  567. package/dist/_node_modules/property-information/lib/util/merge.cjs.map +1 -0
  568. package/dist/_node_modules/property-information/lib/util/merge.js +15 -0
  569. package/dist/_node_modules/property-information/lib/util/merge.js.map +1 -0
  570. package/dist/_node_modules/property-information/lib/util/schema.cjs +22 -0
  571. package/dist/_node_modules/property-information/lib/util/schema.cjs.map +1 -0
  572. package/dist/_node_modules/property-information/lib/util/schema.js +22 -0
  573. package/dist/_node_modules/property-information/lib/util/schema.js.map +1 -0
  574. package/dist/_node_modules/property-information/lib/util/types.cjs +21 -0
  575. package/dist/_node_modules/property-information/lib/util/types.cjs.map +1 -0
  576. package/dist/_node_modules/property-information/lib/util/types.js +21 -0
  577. package/dist/_node_modules/property-information/lib/util/types.js.map +1 -0
  578. package/dist/_node_modules/property-information/lib/xlink.cjs +20 -0
  579. package/dist/_node_modules/property-information/lib/xlink.cjs.map +1 -0
  580. package/dist/_node_modules/property-information/lib/xlink.js +20 -0
  581. package/dist/_node_modules/property-information/lib/xlink.js.map +1 -0
  582. package/dist/_node_modules/property-information/lib/xml.cjs +12 -0
  583. package/dist/_node_modules/property-information/lib/xml.cjs.map +1 -0
  584. package/dist/_node_modules/property-information/lib/xml.js +12 -0
  585. package/dist/_node_modules/property-information/lib/xml.js.map +1 -0
  586. package/dist/_node_modules/property-information/lib/xmlns.cjs +12 -0
  587. package/dist/_node_modules/property-information/lib/xmlns.cjs.map +1 -0
  588. package/dist/_node_modules/property-information/lib/xmlns.js +12 -0
  589. package/dist/_node_modules/property-information/lib/xmlns.js.map +1 -0
  590. package/dist/_node_modules/rehype-minify-whitespace/lib/block.cjs +122 -0
  591. package/dist/_node_modules/rehype-minify-whitespace/lib/block.cjs.map +1 -0
  592. package/dist/_node_modules/rehype-minify-whitespace/lib/block.js +122 -0
  593. package/dist/_node_modules/rehype-minify-whitespace/lib/block.js.map +1 -0
  594. package/dist/_node_modules/rehype-minify-whitespace/lib/content.cjs +11 -0
  595. package/dist/_node_modules/rehype-minify-whitespace/lib/content.cjs.map +1 -0
  596. package/dist/_node_modules/rehype-minify-whitespace/lib/content.js +11 -0
  597. package/dist/_node_modules/rehype-minify-whitespace/lib/content.js.map +1 -0
  598. package/dist/_node_modules/rehype-minify-whitespace/lib/index.cjs +169 -0
  599. package/dist/_node_modules/rehype-minify-whitespace/lib/index.cjs.map +1 -0
  600. package/dist/_node_modules/rehype-minify-whitespace/lib/index.js +170 -0
  601. package/dist/_node_modules/rehype-minify-whitespace/lib/index.js.map +1 -0
  602. package/dist/_node_modules/rehype-minify-whitespace/lib/skippable.cjs +24 -0
  603. package/dist/_node_modules/rehype-minify-whitespace/lib/skippable.cjs.map +1 -0
  604. package/dist/_node_modules/rehype-minify-whitespace/lib/skippable.js +24 -0
  605. package/dist/_node_modules/rehype-minify-whitespace/lib/skippable.js.map +1 -0
  606. package/dist/_node_modules/rehype-parse/lib/index.cjs +21 -0
  607. package/dist/_node_modules/rehype-parse/lib/index.cjs.map +1 -0
  608. package/dist/_node_modules/rehype-parse/lib/index.js +22 -0
  609. package/dist/_node_modules/rehype-parse/lib/index.js.map +1 -0
  610. package/dist/_node_modules/remark-parse/lib/index.cjs +19 -0
  611. package/dist/_node_modules/remark-parse/lib/index.cjs.map +1 -0
  612. package/dist/_node_modules/remark-parse/lib/index.js +20 -0
  613. package/dist/_node_modules/remark-parse/lib/index.js.map +1 -0
  614. package/dist/_node_modules/remark-rehype/lib/index.cjs +21 -0
  615. package/dist/_node_modules/remark-rehype/lib/index.cjs.map +1 -0
  616. package/dist/_node_modules/remark-rehype/lib/index.js +22 -0
  617. package/dist/_node_modules/remark-rehype/lib/index.js.map +1 -0
  618. package/dist/_node_modules/space-separated-tokens/index.cjs +12 -0
  619. package/dist/_node_modules/space-separated-tokens/index.cjs.map +1 -0
  620. package/dist/_node_modules/space-separated-tokens/index.js +12 -0
  621. package/dist/_node_modules/space-separated-tokens/index.js.map +1 -0
  622. package/dist/_node_modules/stringify-entities/lib/constant/dangerous.cjs +14 -0
  623. package/dist/_node_modules/stringify-entities/lib/constant/dangerous.cjs.map +1 -0
  624. package/dist/_node_modules/stringify-entities/lib/constant/dangerous.js +14 -0
  625. package/dist/_node_modules/stringify-entities/lib/constant/dangerous.js.map +1 -0
  626. package/dist/_node_modules/stringify-entities/lib/core.cjs +52 -0
  627. package/dist/_node_modules/stringify-entities/lib/core.cjs.map +1 -0
  628. package/dist/_node_modules/stringify-entities/lib/core.js +52 -0
  629. package/dist/_node_modules/stringify-entities/lib/core.js.map +1 -0
  630. package/dist/_node_modules/stringify-entities/lib/index.cjs +9 -0
  631. package/dist/_node_modules/stringify-entities/lib/index.cjs.map +1 -0
  632. package/dist/_node_modules/stringify-entities/lib/index.js +9 -0
  633. package/dist/_node_modules/stringify-entities/lib/index.js.map +1 -0
  634. package/dist/_node_modules/stringify-entities/lib/util/format-smart.cjs +26 -0
  635. package/dist/_node_modules/stringify-entities/lib/util/format-smart.cjs.map +1 -0
  636. package/dist/_node_modules/stringify-entities/lib/util/format-smart.js +26 -0
  637. package/dist/_node_modules/stringify-entities/lib/util/format-smart.js.map +1 -0
  638. package/dist/_node_modules/stringify-entities/lib/util/to-decimal.cjs +9 -0
  639. package/dist/_node_modules/stringify-entities/lib/util/to-decimal.cjs.map +1 -0
  640. package/dist/_node_modules/stringify-entities/lib/util/to-decimal.js +9 -0
  641. package/dist/_node_modules/stringify-entities/lib/util/to-decimal.js.map +1 -0
  642. package/dist/_node_modules/stringify-entities/lib/util/to-hexadecimal.cjs +9 -0
  643. package/dist/_node_modules/stringify-entities/lib/util/to-hexadecimal.cjs.map +1 -0
  644. package/dist/_node_modules/stringify-entities/lib/util/to-hexadecimal.js +9 -0
  645. package/dist/_node_modules/stringify-entities/lib/util/to-hexadecimal.js.map +1 -0
  646. package/dist/_node_modules/stringify-entities/lib/util/to-named.cjs +28 -0
  647. package/dist/_node_modules/stringify-entities/lib/util/to-named.cjs.map +1 -0
  648. package/dist/_node_modules/stringify-entities/lib/util/to-named.js +28 -0
  649. package/dist/_node_modules/stringify-entities/lib/util/to-named.js.map +1 -0
  650. package/dist/_node_modules/trim-lines/index.cjs +42 -0
  651. package/dist/_node_modules/trim-lines/index.cjs.map +1 -0
  652. package/dist/_node_modules/trim-lines/index.js +42 -0
  653. package/dist/_node_modules/trim-lines/index.js.map +1 -0
  654. package/dist/_node_modules/trough/lib/index.cjs +87 -0
  655. package/dist/_node_modules/trough/lib/index.cjs.map +1 -0
  656. package/dist/_node_modules/trough/lib/index.js +87 -0
  657. package/dist/_node_modules/trough/lib/index.js.map +1 -0
  658. package/dist/_node_modules/unified/_node_modules/is-plain-obj/index.cjs +10 -0
  659. package/dist/_node_modules/unified/_node_modules/is-plain-obj/index.cjs.map +1 -0
  660. package/dist/_node_modules/unified/_node_modules/is-plain-obj/index.js +11 -0
  661. package/dist/_node_modules/unified/_node_modules/is-plain-obj/index.js.map +1 -0
  662. package/dist/_node_modules/unified/lib/callable-instance.cjs +31 -0
  663. package/dist/_node_modules/unified/lib/callable-instance.cjs.map +1 -0
  664. package/dist/_node_modules/unified/lib/callable-instance.js +31 -0
  665. package/dist/_node_modules/unified/lib/callable-instance.js.map +1 -0
  666. package/dist/_node_modules/unified/lib/index.cjs +637 -0
  667. package/dist/_node_modules/unified/lib/index.cjs.map +1 -0
  668. package/dist/_node_modules/unified/lib/index.js +637 -0
  669. package/dist/_node_modules/unified/lib/index.js.map +1 -0
  670. package/dist/_node_modules/unist-util-is/lib/index.cjs +94 -0
  671. package/dist/_node_modules/unist-util-is/lib/index.cjs.map +1 -0
  672. package/dist/_node_modules/unist-util-is/lib/index.js +94 -0
  673. package/dist/_node_modules/unist-util-is/lib/index.js.map +1 -0
  674. package/dist/_node_modules/unist-util-position/lib/index.cjs +28 -0
  675. package/dist/_node_modules/unist-util-position/lib/index.cjs.map +1 -0
  676. package/dist/_node_modules/unist-util-position/lib/index.js +28 -0
  677. package/dist/_node_modules/unist-util-position/lib/index.js.map +1 -0
  678. package/dist/_node_modules/unist-util-remove/lib/index.cjs +39 -0
  679. package/dist/_node_modules/unist-util-remove/lib/index.cjs.map +1 -0
  680. package/dist/_node_modules/unist-util-remove/lib/index.js +39 -0
  681. package/dist/_node_modules/unist-util-remove/lib/index.js.map +1 -0
  682. package/dist/_node_modules/unist-util-stringify-position/lib/index.cjs +28 -0
  683. package/dist/_node_modules/unist-util-stringify-position/lib/index.cjs.map +1 -0
  684. package/dist/_node_modules/unist-util-stringify-position/lib/index.js +28 -0
  685. package/dist/_node_modules/unist-util-stringify-position/lib/index.js.map +1 -0
  686. package/dist/_node_modules/unist-util-visit/lib/index.cjs +28 -0
  687. package/dist/_node_modules/unist-util-visit/lib/index.cjs.map +1 -0
  688. package/dist/_node_modules/unist-util-visit/lib/index.js +29 -0
  689. package/dist/_node_modules/unist-util-visit/lib/index.js.map +1 -0
  690. package/dist/_node_modules/unist-util-visit-parents/lib/color.cjs +7 -0
  691. package/dist/_node_modules/unist-util-visit-parents/lib/color.cjs.map +1 -0
  692. package/dist/_node_modules/unist-util-visit-parents/lib/color.js +7 -0
  693. package/dist/_node_modules/unist-util-visit-parents/lib/color.js.map +1 -0
  694. package/dist/_node_modules/unist-util-visit-parents/lib/index.cjs +84 -0
  695. package/dist/_node_modules/unist-util-visit-parents/lib/index.cjs.map +1 -0
  696. package/dist/_node_modules/unist-util-visit-parents/lib/index.js +84 -0
  697. package/dist/_node_modules/unist-util-visit-parents/lib/index.js.map +1 -0
  698. package/dist/_node_modules/vfile/lib/index.cjs +463 -0
  699. package/dist/_node_modules/vfile/lib/index.cjs.map +1 -0
  700. package/dist/_node_modules/vfile/lib/index.js +463 -0
  701. package/dist/_node_modules/vfile/lib/index.js.map +1 -0
  702. package/dist/_node_modules/vfile/lib/minpath.browser.cjs +215 -0
  703. package/dist/_node_modules/vfile/lib/minpath.browser.cjs.map +1 -0
  704. package/dist/_node_modules/vfile/lib/minpath.browser.js +215 -0
  705. package/dist/_node_modules/vfile/lib/minpath.browser.js.map +1 -0
  706. package/dist/_node_modules/vfile/lib/minproc.browser.cjs +8 -0
  707. package/dist/_node_modules/vfile/lib/minproc.browser.cjs.map +1 -0
  708. package/dist/_node_modules/vfile/lib/minproc.browser.js +8 -0
  709. package/dist/_node_modules/vfile/lib/minproc.browser.js.map +1 -0
  710. package/dist/_node_modules/vfile/lib/minurl.browser.cjs +47 -0
  711. package/dist/_node_modules/vfile/lib/minurl.browser.cjs.map +1 -0
  712. package/dist/_node_modules/vfile/lib/minurl.browser.js +47 -0
  713. package/dist/_node_modules/vfile/lib/minurl.browser.js.map +1 -0
  714. package/dist/_node_modules/vfile/lib/minurl.shared.cjs +10 -0
  715. package/dist/_node_modules/vfile/lib/minurl.shared.cjs.map +1 -0
  716. package/dist/_node_modules/vfile/lib/minurl.shared.js +10 -0
  717. package/dist/_node_modules/vfile/lib/minurl.shared.js.map +1 -0
  718. package/dist/_node_modules/vfile-location/lib/index.cjs +50 -0
  719. package/dist/_node_modules/vfile-location/lib/index.cjs.map +1 -0
  720. package/dist/_node_modules/vfile-location/lib/index.js +50 -0
  721. package/dist/_node_modules/vfile-location/lib/index.js.map +1 -0
  722. package/dist/_node_modules/vfile-message/lib/index.cjs +139 -0
  723. package/dist/_node_modules/vfile-message/lib/index.cjs.map +1 -0
  724. package/dist/_node_modules/vfile-message/lib/index.js +139 -0
  725. package/dist/_node_modules/vfile-message/lib/index.js.map +1 -0
  726. package/dist/_node_modules/web-namespaces/index.cjs +12 -0
  727. package/dist/_node_modules/web-namespaces/index.cjs.map +1 -0
  728. package/dist/_node_modules/web-namespaces/index.js +12 -0
  729. package/dist/_node_modules/web-namespaces/index.js.map +1 -0
  730. package/dist/_node_modules/zwitch/index.cjs +23 -0
  731. package/dist/_node_modules/zwitch/index.cjs.map +1 -0
  732. package/dist/_node_modules/zwitch/index.js +23 -0
  733. package/dist/_node_modules/zwitch/index.js.map +1 -0
  734. package/dist/_virtual/_commonjsHelpers.cjs +7 -0
  735. package/dist/_virtual/_commonjsHelpers.cjs.map +1 -0
  736. package/dist/_virtual/_commonjsHelpers.js +7 -0
  737. package/dist/_virtual/_commonjsHelpers.js.map +1 -0
  738. package/dist/_virtual/index.cjs +9 -0
  739. package/dist/_virtual/index.cjs.map +1 -0
  740. package/dist/_virtual/index.js +9 -0
  741. package/dist/_virtual/index.js.map +1 -0
  742. package/dist/buildQueryURL.cjs.map +1 -1
  743. package/dist/buildQueryURL.d.ts +1 -1
  744. package/dist/buildQueryURL.js.map +1 -1
  745. package/dist/cookie.cjs.map +1 -1
  746. package/dist/cookie.js.map +1 -1
  747. package/dist/createClient.cjs +31 -31
  748. package/dist/createClient.cjs.map +1 -1
  749. package/dist/createClient.d.ts +35 -35
  750. package/dist/createClient.js +31 -31
  751. package/dist/createClient.js.map +1 -1
  752. package/dist/errors/ForbiddenError.cjs.map +1 -1
  753. package/dist/errors/ForbiddenError.js.map +1 -1
  754. package/dist/errors/NotFoundError.cjs.map +1 -1
  755. package/dist/errors/NotFoundError.js.map +1 -1
  756. package/dist/errors/ParsingError.cjs.map +1 -1
  757. package/dist/errors/ParsingError.js.map +1 -1
  758. package/dist/errors/PreviewTokenExpired.cjs.map +1 -1
  759. package/dist/errors/PreviewTokenExpired.js.map +1 -1
  760. package/dist/errors/PrismicError.cjs.map +1 -1
  761. package/dist/errors/PrismicError.js.map +1 -1
  762. package/dist/errors/PrismicRichTextSerializerError.cjs.map +1 -1
  763. package/dist/errors/PrismicRichTextSerializerError.js.map +1 -1
  764. package/dist/errors/RefExpiredError.cjs.map +1 -1
  765. package/dist/errors/RefExpiredError.js.map +1 -1
  766. package/dist/errors/RefNotFoundError.cjs.map +1 -1
  767. package/dist/errors/RefNotFoundError.js.map +1 -1
  768. package/dist/errors/RepositoryNotFoundError.cjs.map +1 -1
  769. package/dist/errors/RepositoryNotFoundError.js.map +1 -1
  770. package/dist/filter.cjs.map +1 -1
  771. package/dist/filter.js.map +1 -1
  772. package/dist/getGraphQLEndpoint.cjs.map +1 -1
  773. package/dist/getGraphQLEndpoint.js.map +1 -1
  774. package/dist/getRepositoryEndpoint.cjs.map +1 -1
  775. package/dist/getRepositoryEndpoint.js.map +1 -1
  776. package/dist/getRepositoryName.cjs.map +1 -1
  777. package/dist/getRepositoryName.js.map +1 -1
  778. package/dist/getToolbarSrc.cjs.map +1 -1
  779. package/dist/getToolbarSrc.js.map +1 -1
  780. package/dist/helpers/asDate.cjs.map +1 -1
  781. package/dist/helpers/asDate.js.map +1 -1
  782. package/dist/helpers/asHTML.cjs.map +1 -1
  783. package/dist/helpers/asHTML.d.ts +2 -2
  784. package/dist/helpers/asHTML.js.map +1 -1
  785. package/dist/helpers/asImagePixelDensitySrcSet.cjs.map +1 -1
  786. package/dist/helpers/asImagePixelDensitySrcSet.d.ts +2 -2
  787. package/dist/helpers/asImagePixelDensitySrcSet.js.map +1 -1
  788. package/dist/helpers/asImageSrc.cjs.map +1 -1
  789. package/dist/helpers/asImageSrc.d.ts +2 -2
  790. package/dist/helpers/asImageSrc.js.map +1 -1
  791. package/dist/helpers/asImageWidthSrcSet.cjs.map +1 -1
  792. package/dist/helpers/asImageWidthSrcSet.d.ts +2 -2
  793. package/dist/helpers/asImageWidthSrcSet.js.map +1 -1
  794. package/dist/helpers/asLink.cjs.map +1 -1
  795. package/dist/helpers/asLink.d.ts +2 -4
  796. package/dist/helpers/asLink.js.map +1 -1
  797. package/dist/helpers/asLinkAttrs.cjs.map +1 -1
  798. package/dist/helpers/asLinkAttrs.d.ts +2 -2
  799. package/dist/helpers/asLinkAttrs.js.map +1 -1
  800. package/dist/helpers/asText.cjs.map +1 -1
  801. package/dist/helpers/asText.d.ts +1 -1
  802. package/dist/helpers/asText.js.map +1 -1
  803. package/dist/helpers/documentToLinkField.cjs.map +1 -1
  804. package/dist/helpers/documentToLinkField.js.map +1 -1
  805. package/dist/helpers/isFilled.cjs.map +1 -1
  806. package/dist/helpers/isFilled.js.map +1 -1
  807. package/dist/helpers/mapSliceZone.cjs.map +1 -1
  808. package/dist/helpers/mapSliceZone.d.ts +1 -1
  809. package/dist/helpers/mapSliceZone.js.map +1 -1
  810. package/dist/helpers/unstable_htmlAsRichText.cjs +3 -3
  811. package/dist/helpers/unstable_htmlAsRichText.cjs.map +1 -1
  812. package/dist/helpers/unstable_htmlAsRichText.d.ts +4 -4
  813. package/dist/helpers/unstable_htmlAsRichText.js +2 -2
  814. package/dist/helpers/unstable_htmlAsRichText.js.map +1 -1
  815. package/dist/helpers/unstable_markdownAsRichText.cjs +4 -4
  816. package/dist/helpers/unstable_markdownAsRichText.cjs.map +1 -1
  817. package/dist/helpers/unstable_markdownAsRichText.d.ts +2 -2
  818. package/dist/helpers/unstable_markdownAsRichText.js +3 -3
  819. package/dist/helpers/unstable_markdownAsRichText.js.map +1 -1
  820. package/dist/index.cjs.map +1 -1
  821. package/dist/index.js.map +1 -1
  822. package/dist/isRepositoryEndpoint.cjs.map +1 -1
  823. package/dist/isRepositoryEndpoint.js.map +1 -1
  824. package/dist/isRepositoryName.cjs.map +1 -1
  825. package/dist/isRepositoryName.js.map +1 -1
  826. package/dist/lib/RichTextFieldBuilder.cjs.map +1 -1
  827. package/dist/lib/RichTextFieldBuilder.d.ts +1 -1
  828. package/dist/lib/RichTextFieldBuilder.js.map +1 -1
  829. package/dist/lib/appendFilters.cjs.map +1 -1
  830. package/dist/lib/appendFilters.js.map +1 -1
  831. package/dist/lib/castArray.cjs.map +1 -1
  832. package/dist/lib/castArray.js.map +1 -1
  833. package/dist/lib/castThunk.cjs.map +1 -1
  834. package/dist/lib/castThunk.js.map +1 -1
  835. package/dist/lib/devMsg.cjs.map +1 -1
  836. package/dist/lib/devMsg.d.ts +1 -1
  837. package/dist/lib/devMsg.js.map +1 -1
  838. package/dist/lib/escapeHTML.cjs.map +1 -1
  839. package/dist/lib/escapeHTML.js.map +1 -1
  840. package/dist/lib/everyTagFilter.cjs.map +1 -1
  841. package/dist/lib/everyTagFilter.js.map +1 -1
  842. package/dist/lib/filterRichTextField.cjs.map +1 -1
  843. package/dist/lib/filterRichTextField.d.ts +3 -3
  844. package/dist/lib/filterRichTextField.js.map +1 -1
  845. package/dist/lib/findMasterRef.cjs.map +1 -1
  846. package/dist/lib/findMasterRef.d.ts +1 -1
  847. package/dist/lib/findMasterRef.js.map +1 -1
  848. package/dist/lib/findRef.cjs.map +1 -1
  849. package/dist/lib/findRef.d.ts +1 -1
  850. package/dist/lib/findRef.js.map +1 -1
  851. package/dist/lib/findRefByID.cjs.map +1 -1
  852. package/dist/lib/findRefByID.d.ts +1 -1
  853. package/dist/lib/findRefByID.js.map +1 -1
  854. package/dist/lib/findRefByLabel.cjs.map +1 -1
  855. package/dist/lib/findRefByLabel.d.ts +1 -1
  856. package/dist/lib/findRefByLabel.js.map +1 -1
  857. package/dist/lib/getPreviewCookie.cjs.map +1 -1
  858. package/dist/lib/getPreviewCookie.js.map +1 -1
  859. package/dist/lib/hastSerializerHelpers.cjs +2 -2
  860. package/dist/lib/hastSerializerHelpers.cjs.map +1 -1
  861. package/dist/lib/hastSerializerHelpers.d.ts +3 -3
  862. package/dist/lib/hastSerializerHelpers.js +1 -1
  863. package/dist/lib/hastSerializerHelpers.js.map +1 -1
  864. package/dist/lib/hastToRichText.cjs +6 -7
  865. package/dist/lib/hastToRichText.cjs.map +1 -1
  866. package/dist/lib/hastToRichText.d.ts +4 -4
  867. package/dist/lib/hastToRichText.js +3 -4
  868. package/dist/lib/hastToRichText.js.map +1 -1
  869. package/dist/lib/isInternalURL.cjs.map +1 -1
  870. package/dist/lib/isInternalURL.js.map +1 -1
  871. package/dist/lib/minifyGraphQLQuery.cjs.map +1 -1
  872. package/dist/lib/minifyGraphQLQuery.js.map +1 -1
  873. package/dist/lib/rehypeRichText.cjs +13 -12
  874. package/dist/lib/rehypeRichText.cjs.map +1 -1
  875. package/dist/lib/rehypeRichText.d.ts +5 -5
  876. package/dist/lib/rehypeRichText.js +5 -4
  877. package/dist/lib/rehypeRichText.js.map +1 -1
  878. package/dist/lib/serializerHelpers.cjs.map +1 -1
  879. package/dist/lib/serializerHelpers.d.ts +2 -2
  880. package/dist/lib/serializerHelpers.js.map +1 -1
  881. package/dist/lib/someTagsFilter.cjs.map +1 -1
  882. package/dist/lib/someTagsFilter.js.map +1 -1
  883. package/dist/lib/typeFilter.cjs.map +1 -1
  884. package/dist/lib/typeFilter.js.map +1 -1
  885. package/dist/package.json.cjs +1 -1
  886. package/dist/package.json.js +1 -1
  887. package/dist/richtext/asText.cjs.map +1 -1
  888. package/dist/richtext/asText.d.ts +1 -1
  889. package/dist/richtext/asText.js.map +1 -1
  890. package/dist/richtext/asTree.cjs.map +1 -1
  891. package/dist/richtext/asTree.d.ts +2 -2
  892. package/dist/richtext/asTree.js.map +1 -1
  893. package/dist/richtext/composeSerializers.cjs.map +1 -1
  894. package/dist/richtext/composeSerializers.d.ts +1 -1
  895. package/dist/richtext/composeSerializers.js.map +1 -1
  896. package/dist/richtext/serialize.cjs.map +1 -1
  897. package/dist/richtext/serialize.d.ts +1 -1
  898. package/dist/richtext/serialize.js.map +1 -1
  899. package/dist/richtext/types.cjs.map +1 -1
  900. package/dist/richtext/types.d.ts +1 -1
  901. package/dist/richtext/types.js.map +1 -1
  902. package/dist/richtext/wrapMapSerializer.cjs.map +1 -1
  903. package/dist/richtext/wrapMapSerializer.d.ts +1 -1
  904. package/dist/richtext/wrapMapSerializer.js.map +1 -1
  905. package/dist/types/api/query.d.ts +1 -1
  906. package/dist/types/api/release.d.ts +1 -1
  907. package/dist/types/api/repository.d.ts +1 -1
  908. package/dist/types/model/customType.d.ts +1 -1
  909. package/dist/types/model/link.cjs.map +1 -1
  910. package/dist/types/model/link.js.map +1 -1
  911. package/dist/types/model/slice.cjs.map +1 -1
  912. package/dist/types/model/slice.js.map +1 -1
  913. package/dist/types/model/sliceZone.cjs.map +1 -1
  914. package/dist/types/model/sliceZone.js.map +1 -1
  915. package/dist/types/model/title.d.ts +1 -1
  916. package/dist/types/model/types.cjs.map +1 -1
  917. package/dist/types/model/types.js.map +1 -1
  918. package/dist/types/value/document.d.ts +4 -4
  919. package/dist/types/value/embed.cjs.map +1 -1
  920. package/dist/types/value/embed.js.map +1 -1
  921. package/dist/types/value/link.cjs.map +1 -1
  922. package/dist/types/value/link.js.map +1 -1
  923. package/dist/types/value/richText.cjs.map +1 -1
  924. package/dist/types/value/richText.js.map +1 -1
  925. package/dist/types/webhook/apiUpdate.d.ts +1 -1
  926. package/dist/types/webhook/testTrigger.d.ts +1 -1
  927. package/dist/types/webhook/types.cjs.map +1 -1
  928. package/dist/types/webhook/types.d.ts +2 -2
  929. package/dist/types/webhook/types.js.map +1 -1
  930. package/package.json +15 -13
  931. package/src/buildQueryURL.ts +51 -51
  932. package/src/cookie.ts +1 -1
  933. package/src/createClient.ts +293 -293
  934. package/src/errors/ForbiddenError.ts +6 -6
  935. package/src/errors/NotFoundError.ts +1 -1
  936. package/src/errors/ParsingError.ts +8 -8
  937. package/src/errors/PreviewTokenExpired.ts +4 -4
  938. package/src/errors/PrismicError.ts +5 -5
  939. package/src/errors/PrismicRichTextSerializerError.ts +1 -1
  940. package/src/errors/RefExpiredError.ts +4 -4
  941. package/src/errors/RefNotFoundError.ts +4 -4
  942. package/src/errors/RepositoryNotFoundError.ts +1 -1
  943. package/src/filter.ts +22 -22
  944. package/src/getGraphQLEndpoint.ts +5 -5
  945. package/src/getRepositoryEndpoint.ts +5 -5
  946. package/src/getRepositoryName.ts +4 -4
  947. package/src/getToolbarSrc.ts +5 -5
  948. package/src/helpers/asDate.ts +7 -7
  949. package/src/helpers/asHTML.ts +54 -56
  950. package/src/helpers/asImagePixelDensitySrcSet.ts +14 -17
  951. package/src/helpers/asImageSrc.ts +9 -8
  952. package/src/helpers/asImageWidthSrcSet.ts +19 -22
  953. package/src/helpers/asLink.ts +26 -27
  954. package/src/helpers/asLinkAttrs.ts +30 -29
  955. package/src/helpers/asText.ts +15 -15
  956. package/src/helpers/documentToLinkField.ts +6 -6
  957. package/src/helpers/isFilled.ts +53 -53
  958. package/src/helpers/mapSliceZone.ts +34 -34
  959. package/src/helpers/unstable_htmlAsRichText.ts +23 -22
  960. package/src/helpers/unstable_markdownAsRichText.ts +14 -13
  961. package/src/index.ts +119 -119
  962. package/src/isRepositoryEndpoint.ts +4 -4
  963. package/src/isRepositoryName.ts +2 -2
  964. package/src/lib/RichTextFieldBuilder.ts +36 -41
  965. package/src/lib/appendFilters.ts +4 -4
  966. package/src/lib/castArray.ts +2 -2
  967. package/src/lib/castThunk.ts +2 -2
  968. package/src/lib/devMsg.ts +4 -4
  969. package/src/lib/escapeHTML.ts +24 -24
  970. package/src/lib/everyTagFilter.ts +4 -4
  971. package/src/lib/filterRichTextField.ts +31 -31
  972. package/src/lib/findMasterRef.ts +4 -4
  973. package/src/lib/findRef.ts +6 -6
  974. package/src/lib/findRefByID.ts +4 -4
  975. package/src/lib/findRefByLabel.ts +4 -4
  976. package/src/lib/getPreviewCookie.ts +11 -11
  977. package/src/lib/hastSerializerHelpers.ts +41 -37
  978. package/src/lib/hastToRichText.ts +74 -73
  979. package/src/lib/isInternalURL.ts +4 -4
  980. package/src/lib/minifyGraphQLQuery.ts +2 -2
  981. package/src/lib/rehypeRichText.ts +42 -41
  982. package/src/lib/serializerHelpers.ts +53 -54
  983. package/src/lib/someTagsFilter.ts +4 -4
  984. package/src/lib/typeFilter.ts +3 -3
  985. package/src/richtext/asText.ts +5 -5
  986. package/src/richtext/asTree.ts +53 -53
  987. package/src/richtext/composeSerializers.ts +6 -6
  988. package/src/richtext/index.ts +7 -7
  989. package/src/richtext/serialize.ts +11 -11
  990. package/src/richtext/types.ts +38 -38
  991. package/src/richtext/wrapMapSerializer.ts +6 -9
  992. package/src/types/api/query.ts +9 -9
  993. package/src/types/api/ref.ts +5 -5
  994. package/src/types/api/release.ts +2 -2
  995. package/src/types/api/repository.ts +24 -24
  996. package/src/types/api/tags.ts +1 -1
  997. package/src/types/model/boolean.ts +7 -7
  998. package/src/types/model/color.ts +5 -5
  999. package/src/types/model/contentRelationship.ts +9 -9
  1000. package/src/types/model/customType.ts +9 -9
  1001. package/src/types/model/date.ts +6 -6
  1002. package/src/types/model/embed.ts +5 -5
  1003. package/src/types/model/geoPoint.ts +4 -4
  1004. package/src/types/model/group.ts +6 -6
  1005. package/src/types/model/image.ts +9 -9
  1006. package/src/types/model/integration.ts +6 -6
  1007. package/src/types/model/keyText.ts +5 -5
  1008. package/src/types/model/link.ts +8 -8
  1009. package/src/types/model/linkToMedia.ts +7 -7
  1010. package/src/types/model/number.ts +7 -7
  1011. package/src/types/model/range.ts +8 -8
  1012. package/src/types/model/richText.ts +16 -16
  1013. package/src/types/model/select.ts +7 -7
  1014. package/src/types/model/separator.ts +4 -4
  1015. package/src/types/model/sharedSlice.ts +7 -7
  1016. package/src/types/model/sharedSliceVariation.ts +9 -9
  1017. package/src/types/model/slice.ts +12 -12
  1018. package/src/types/model/sliceZone.ts +11 -11
  1019. package/src/types/model/timestamp.ts +6 -6
  1020. package/src/types/model/title.ts +2 -2
  1021. package/src/types/model/types.ts +26 -26
  1022. package/src/types/model/uid.ts +5 -5
  1023. package/src/types/value/boolean.ts +1 -1
  1024. package/src/types/value/color.ts +2 -2
  1025. package/src/types/value/contentRelationship.ts +15 -15
  1026. package/src/types/value/date.ts +2 -2
  1027. package/src/types/value/document.ts +23 -23
  1028. package/src/types/value/embed.ts +33 -33
  1029. package/src/types/value/geoPoint.ts +4 -4
  1030. package/src/types/value/group.ts +3 -3
  1031. package/src/types/value/image.ts +21 -21
  1032. package/src/types/value/integration.ts +2 -2
  1033. package/src/types/value/keyText.ts +2 -2
  1034. package/src/types/value/link.ts +12 -12
  1035. package/src/types/value/linkToMedia.ts +11 -11
  1036. package/src/types/value/number.ts +2 -2
  1037. package/src/types/value/richText.ts +58 -58
  1038. package/src/types/value/select.ts +2 -2
  1039. package/src/types/value/sharedSlice.ts +5 -5
  1040. package/src/types/value/sharedSliceVariation.ts +5 -5
  1041. package/src/types/value/slice.ts +6 -6
  1042. package/src/types/value/sliceZone.ts +4 -4
  1043. package/src/types/value/timestamp.ts +3 -3
  1044. package/src/types/value/title.ts +4 -4
  1045. package/src/types/value/types.ts +22 -22
  1046. package/src/types/webhook/apiUpdate.ts +18 -18
  1047. package/src/types/webhook/testTrigger.ts +2 -2
  1048. package/src/types/webhook/types.ts +8 -8
@@ -1,4 +1,4 @@
1
- import { CustomTypeModelField } from "./types";
1
+ import type { CustomTypeModelField } from "./types";
2
2
  /**
3
3
  * A Prismic custom type model.
4
4
  *
@@ -1 +1 @@
1
- {"version":3,"file":"link.cjs","sources":["../../../../src/types/model/link.ts"],"sourcesContent":["import type { CustomTypeModelFieldType } from \"./types\";\n\n/**\n * A link custom type field.\n *\n * More details: {@link https://prismic.io/docs/link}\n */\nexport interface CustomTypeModelLinkField {\n\ttype: typeof CustomTypeModelFieldType.Link;\n\tconfig?: {\n\t\tlabel?: string | null;\n\t\tplaceholder?: string;\n\t\tselect?:\n\t\t\t| null\n\t\t\t| (typeof CustomTypeModelLinkSelectType)[keyof typeof CustomTypeModelLinkSelectType];\n\t\tallowTargetBlank?: boolean;\n\t};\n}\n\n/**\n * Type of a link custom type field.\n *\n * More details: {@link https://prismic.io/docs/link}\n */\nexport const CustomTypeModelLinkSelectType = {\n\tDocument: \"document\",\n\tMedia: \"media\",\n\tWeb: \"web\",\n} as const;\n"],"names":[],"mappings":";;AAwBO,MAAM,gCAAgC;AAAA,EAC5C,UAAU;AAAA,EACV,OAAO;AAAA,EACP,KAAK;;;"}
1
+ {"version":3,"file":"link.cjs","sources":["../../../../src/types/model/link.ts"],"sourcesContent":["import type { CustomTypeModelFieldType } from \"./types\"\n\n/**\n * A link custom type field.\n *\n * More details: {@link https://prismic.io/docs/link}\n */\nexport interface CustomTypeModelLinkField {\n\ttype: typeof CustomTypeModelFieldType.Link\n\tconfig?: {\n\t\tlabel?: string | null\n\t\tplaceholder?: string\n\t\tselect?:\n\t\t\t| null\n\t\t\t| (typeof CustomTypeModelLinkSelectType)[keyof typeof CustomTypeModelLinkSelectType]\n\t\tallowTargetBlank?: boolean\n\t}\n}\n\n/**\n * Type of a link custom type field.\n *\n * More details: {@link https://prismic.io/docs/link}\n */\nexport const CustomTypeModelLinkSelectType = {\n\tDocument: \"document\",\n\tMedia: \"media\",\n\tWeb: \"web\",\n} as const\n"],"names":[],"mappings":";;AAwBO,MAAM,gCAAgC;AAAA,EAC5C,UAAU;AAAA,EACV,OAAO;AAAA,EACP,KAAK;;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"link.js","sources":["../../../../src/types/model/link.ts"],"sourcesContent":["import type { CustomTypeModelFieldType } from \"./types\";\n\n/**\n * A link custom type field.\n *\n * More details: {@link https://prismic.io/docs/link}\n */\nexport interface CustomTypeModelLinkField {\n\ttype: typeof CustomTypeModelFieldType.Link;\n\tconfig?: {\n\t\tlabel?: string | null;\n\t\tplaceholder?: string;\n\t\tselect?:\n\t\t\t| null\n\t\t\t| (typeof CustomTypeModelLinkSelectType)[keyof typeof CustomTypeModelLinkSelectType];\n\t\tallowTargetBlank?: boolean;\n\t};\n}\n\n/**\n * Type of a link custom type field.\n *\n * More details: {@link https://prismic.io/docs/link}\n */\nexport const CustomTypeModelLinkSelectType = {\n\tDocument: \"document\",\n\tMedia: \"media\",\n\tWeb: \"web\",\n} as const;\n"],"names":[],"mappings":"AAwBO,MAAM,gCAAgC;AAAA,EAC5C,UAAU;AAAA,EACV,OAAO;AAAA,EACP,KAAK;;"}
1
+ {"version":3,"file":"link.js","sources":["../../../../src/types/model/link.ts"],"sourcesContent":["import type { CustomTypeModelFieldType } from \"./types\"\n\n/**\n * A link custom type field.\n *\n * More details: {@link https://prismic.io/docs/link}\n */\nexport interface CustomTypeModelLinkField {\n\ttype: typeof CustomTypeModelFieldType.Link\n\tconfig?: {\n\t\tlabel?: string | null\n\t\tplaceholder?: string\n\t\tselect?:\n\t\t\t| null\n\t\t\t| (typeof CustomTypeModelLinkSelectType)[keyof typeof CustomTypeModelLinkSelectType]\n\t\tallowTargetBlank?: boolean\n\t}\n}\n\n/**\n * Type of a link custom type field.\n *\n * More details: {@link https://prismic.io/docs/link}\n */\nexport const CustomTypeModelLinkSelectType = {\n\tDocument: \"document\",\n\tMedia: \"media\",\n\tWeb: \"web\",\n} as const\n"],"names":[],"mappings":"AAwBO,MAAM,gCAAgC;AAAA,EAC5C,UAAU;AAAA,EACV,OAAO;AAAA,EACP,KAAK;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"slice.cjs","sources":["../../../../src/types/model/slice.ts"],"sourcesContent":["import type { CustomTypeModelFieldForNestedGroup } from \"./types\";\n\nimport type { CustomTypeModelNestedGroupField } from \"./group\";\nimport type { CustomTypeModelSliceType } from \"./sliceZone\";\n\n/**\n * A Slice for a custom type.\n *\n * More details: {@link https://prismic.io/docs/slice}\n *\n * @typeParam NonRepeatFields - A record of fields that cannnot be repeated.\n * @typeParam RepeatFields - A record of fields that can be repeated.\n */\nexport interface CustomTypeModelSlice<\n\tNonRepeatFields extends Record<\n\t\tstring,\n\t\tCustomTypeModelFieldForNestedGroup\n\t> = Record<string, CustomTypeModelFieldForNestedGroup>,\n\tRepeatFields extends Record<\n\t\tstring,\n\t\tCustomTypeModelFieldForNestedGroup\n\t> = Record<string, CustomTypeModelFieldForNestedGroup>,\n> {\n\ttype: typeof CustomTypeModelSliceType.Slice;\n\tfieldset?: string | null;\n\tdescription?: string;\n\ticon?: string;\n\tdisplay?:\n\t\t| (typeof CustomTypeModelSliceDisplay)[keyof typeof CustomTypeModelSliceDisplay]\n\t\t| string;\n\t\"non-repeat\"?: NonRepeatFields;\n\trepeat?: RepeatFields;\n}\n\n/**\n * Display type for a Slice.\n *\n * More details: {@link https://prismic.io/docs/slice}\n */\nexport const CustomTypeModelSliceDisplay = {\n\tList: \"list\",\n\tGrid: \"grid\",\n} as const;\n\n/**\n * @deprecated - Legacy slice type. Do not use.\n */\nexport type CustomTypeModelLegacySlice =\n\t| CustomTypeModelNestedGroupField\n\t| CustomTypeModelFieldForNestedGroup;\n"],"names":[],"mappings":";;AAuCO,MAAM,8BAA8B;AAAA,EAC1C,MAAM;AAAA,EACN,MAAM;;;"}
1
+ {"version":3,"file":"slice.cjs","sources":["../../../../src/types/model/slice.ts"],"sourcesContent":["import type { CustomTypeModelFieldForNestedGroup } from \"./types\"\n\nimport type { CustomTypeModelNestedGroupField } from \"./group\"\nimport type { CustomTypeModelSliceType } from \"./sliceZone\"\n\n/**\n * A Slice for a custom type.\n *\n * More details: {@link https://prismic.io/docs/slice}\n *\n * @typeParam NonRepeatFields - A record of fields that cannnot be repeated.\n * @typeParam RepeatFields - A record of fields that can be repeated.\n */\nexport interface CustomTypeModelSlice<\n\tNonRepeatFields extends Record<\n\t\tstring,\n\t\tCustomTypeModelFieldForNestedGroup\n\t> = Record<string, CustomTypeModelFieldForNestedGroup>,\n\tRepeatFields extends Record<\n\t\tstring,\n\t\tCustomTypeModelFieldForNestedGroup\n\t> = Record<string, CustomTypeModelFieldForNestedGroup>,\n> {\n\ttype: typeof CustomTypeModelSliceType.Slice\n\tfieldset?: string | null\n\tdescription?: string\n\ticon?: string\n\tdisplay?:\n\t\t| (typeof CustomTypeModelSliceDisplay)[keyof typeof CustomTypeModelSliceDisplay]\n\t\t| string\n\t\"non-repeat\"?: NonRepeatFields\n\trepeat?: RepeatFields\n}\n\n/**\n * Display type for a Slice.\n *\n * More details: {@link https://prismic.io/docs/slice}\n */\nexport const CustomTypeModelSliceDisplay = {\n\tList: \"list\",\n\tGrid: \"grid\",\n} as const\n\n/**\n * @deprecated - Legacy slice type. Do not use.\n */\nexport type CustomTypeModelLegacySlice =\n\t| CustomTypeModelNestedGroupField\n\t| CustomTypeModelFieldForNestedGroup\n"],"names":[],"mappings":";;AAuCO,MAAM,8BAA8B;AAAA,EAC1C,MAAM;AAAA,EACN,MAAM;;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"slice.js","sources":["../../../../src/types/model/slice.ts"],"sourcesContent":["import type { CustomTypeModelFieldForNestedGroup } from \"./types\";\n\nimport type { CustomTypeModelNestedGroupField } from \"./group\";\nimport type { CustomTypeModelSliceType } from \"./sliceZone\";\n\n/**\n * A Slice for a custom type.\n *\n * More details: {@link https://prismic.io/docs/slice}\n *\n * @typeParam NonRepeatFields - A record of fields that cannnot be repeated.\n * @typeParam RepeatFields - A record of fields that can be repeated.\n */\nexport interface CustomTypeModelSlice<\n\tNonRepeatFields extends Record<\n\t\tstring,\n\t\tCustomTypeModelFieldForNestedGroup\n\t> = Record<string, CustomTypeModelFieldForNestedGroup>,\n\tRepeatFields extends Record<\n\t\tstring,\n\t\tCustomTypeModelFieldForNestedGroup\n\t> = Record<string, CustomTypeModelFieldForNestedGroup>,\n> {\n\ttype: typeof CustomTypeModelSliceType.Slice;\n\tfieldset?: string | null;\n\tdescription?: string;\n\ticon?: string;\n\tdisplay?:\n\t\t| (typeof CustomTypeModelSliceDisplay)[keyof typeof CustomTypeModelSliceDisplay]\n\t\t| string;\n\t\"non-repeat\"?: NonRepeatFields;\n\trepeat?: RepeatFields;\n}\n\n/**\n * Display type for a Slice.\n *\n * More details: {@link https://prismic.io/docs/slice}\n */\nexport const CustomTypeModelSliceDisplay = {\n\tList: \"list\",\n\tGrid: \"grid\",\n} as const;\n\n/**\n * @deprecated - Legacy slice type. Do not use.\n */\nexport type CustomTypeModelLegacySlice =\n\t| CustomTypeModelNestedGroupField\n\t| CustomTypeModelFieldForNestedGroup;\n"],"names":[],"mappings":"AAuCO,MAAM,8BAA8B;AAAA,EAC1C,MAAM;AAAA,EACN,MAAM;;"}
1
+ {"version":3,"file":"slice.js","sources":["../../../../src/types/model/slice.ts"],"sourcesContent":["import type { CustomTypeModelFieldForNestedGroup } from \"./types\"\n\nimport type { CustomTypeModelNestedGroupField } from \"./group\"\nimport type { CustomTypeModelSliceType } from \"./sliceZone\"\n\n/**\n * A Slice for a custom type.\n *\n * More details: {@link https://prismic.io/docs/slice}\n *\n * @typeParam NonRepeatFields - A record of fields that cannnot be repeated.\n * @typeParam RepeatFields - A record of fields that can be repeated.\n */\nexport interface CustomTypeModelSlice<\n\tNonRepeatFields extends Record<\n\t\tstring,\n\t\tCustomTypeModelFieldForNestedGroup\n\t> = Record<string, CustomTypeModelFieldForNestedGroup>,\n\tRepeatFields extends Record<\n\t\tstring,\n\t\tCustomTypeModelFieldForNestedGroup\n\t> = Record<string, CustomTypeModelFieldForNestedGroup>,\n> {\n\ttype: typeof CustomTypeModelSliceType.Slice\n\tfieldset?: string | null\n\tdescription?: string\n\ticon?: string\n\tdisplay?:\n\t\t| (typeof CustomTypeModelSliceDisplay)[keyof typeof CustomTypeModelSliceDisplay]\n\t\t| string\n\t\"non-repeat\"?: NonRepeatFields\n\trepeat?: RepeatFields\n}\n\n/**\n * Display type for a Slice.\n *\n * More details: {@link https://prismic.io/docs/slice}\n */\nexport const CustomTypeModelSliceDisplay = {\n\tList: \"list\",\n\tGrid: \"grid\",\n} as const\n\n/**\n * @deprecated - Legacy slice type. Do not use.\n */\nexport type CustomTypeModelLegacySlice =\n\t| CustomTypeModelNestedGroupField\n\t| CustomTypeModelFieldForNestedGroup\n"],"names":[],"mappings":"AAuCO,MAAM,8BAA8B;AAAA,EAC1C,MAAM;AAAA,EACN,MAAM;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"sliceZone.cjs","sources":["../../../../src/types/model/sliceZone.ts"],"sourcesContent":["import type { CustomTypeModelFieldType } from \"./types\";\n\nimport type { CustomTypeModelLegacySlice, CustomTypeModelSlice } from \"./slice\";\n\n/**\n * A Slice Zone custom type field.\n *\n * More details: {@link https://prismic.io/docs/slice}\n */\nexport interface CustomTypeModelSliceZoneField<\n\tSlices extends Record<\n\t\tstring,\n\t\t| CustomTypeModelSlice\n\t\t| CustomTypeModelSharedSlice\n\t\t| CustomTypeModelLegacySlice\n\t> = Record<\n\t\tstring,\n\t\t| CustomTypeModelSlice\n\t\t| CustomTypeModelSharedSlice\n\t\t| CustomTypeModelLegacySlice\n\t>,\n> {\n\ttype:\n\t\t| typeof CustomTypeModelFieldType.Slices\n\t\t| typeof CustomTypeModelFieldType.LegacySlices;\n\tfieldset?: string | null;\n\tconfig?: {\n\t\tlabels?: Record<string, readonly CustomTypeModelSliceLabel[]> | null;\n\t\tchoices?: Slices;\n\t};\n}\n\n/**\n * Label for a Slice.\n *\n * More details: {@link https://prismic.io/docs/slice}\n */\nexport interface CustomTypeModelSliceLabel {\n\tname: string;\n\tdisplay?: string;\n}\n\n/**\n * Type identifier for a Slice.\n *\n * More details: {@link https://prismic.io/docs/slice}\n */\nexport const CustomTypeModelSliceType = {\n\tSlice: \"Slice\",\n\tSharedSlice: \"SharedSlice\",\n} as const;\n\n/**\n * A shared Slice for a custom type.\n *\n * More details: {@link https://prismic.io/docs/slice}\n */\nexport interface CustomTypeModelSharedSlice {\n\ttype: typeof CustomTypeModelSliceType.SharedSlice;\n}\n"],"names":[],"mappings":";;AA+CO,MAAM,2BAA2B;AAAA,EACvC,OAAO;AAAA,EACP,aAAa;;;"}
1
+ {"version":3,"file":"sliceZone.cjs","sources":["../../../../src/types/model/sliceZone.ts"],"sourcesContent":["import type { CustomTypeModelFieldType } from \"./types\"\n\nimport type { CustomTypeModelLegacySlice, CustomTypeModelSlice } from \"./slice\"\n\n/**\n * A Slice Zone custom type field.\n *\n * More details: {@link https://prismic.io/docs/slice}\n */\nexport interface CustomTypeModelSliceZoneField<\n\tSlices extends Record<\n\t\tstring,\n\t\t| CustomTypeModelSlice\n\t\t| CustomTypeModelSharedSlice\n\t\t| CustomTypeModelLegacySlice\n\t> = Record<\n\t\tstring,\n\t\t| CustomTypeModelSlice\n\t\t| CustomTypeModelSharedSlice\n\t\t| CustomTypeModelLegacySlice\n\t>,\n> {\n\ttype:\n\t\t| typeof CustomTypeModelFieldType.Slices\n\t\t| typeof CustomTypeModelFieldType.LegacySlices\n\tfieldset?: string | null\n\tconfig?: {\n\t\tlabels?: Record<string, readonly CustomTypeModelSliceLabel[]> | null\n\t\tchoices?: Slices\n\t}\n}\n\n/**\n * Label for a Slice.\n *\n * More details: {@link https://prismic.io/docs/slice}\n */\nexport interface CustomTypeModelSliceLabel {\n\tname: string\n\tdisplay?: string\n}\n\n/**\n * Type identifier for a Slice.\n *\n * More details: {@link https://prismic.io/docs/slice}\n */\nexport const CustomTypeModelSliceType = {\n\tSlice: \"Slice\",\n\tSharedSlice: \"SharedSlice\",\n} as const\n\n/**\n * A shared Slice for a custom type.\n *\n * More details: {@link https://prismic.io/docs/slice}\n */\nexport interface CustomTypeModelSharedSlice {\n\ttype: typeof CustomTypeModelSliceType.SharedSlice\n}\n"],"names":[],"mappings":";;AA+CO,MAAM,2BAA2B;AAAA,EACvC,OAAO;AAAA,EACP,aAAa;;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"sliceZone.js","sources":["../../../../src/types/model/sliceZone.ts"],"sourcesContent":["import type { CustomTypeModelFieldType } from \"./types\";\n\nimport type { CustomTypeModelLegacySlice, CustomTypeModelSlice } from \"./slice\";\n\n/**\n * A Slice Zone custom type field.\n *\n * More details: {@link https://prismic.io/docs/slice}\n */\nexport interface CustomTypeModelSliceZoneField<\n\tSlices extends Record<\n\t\tstring,\n\t\t| CustomTypeModelSlice\n\t\t| CustomTypeModelSharedSlice\n\t\t| CustomTypeModelLegacySlice\n\t> = Record<\n\t\tstring,\n\t\t| CustomTypeModelSlice\n\t\t| CustomTypeModelSharedSlice\n\t\t| CustomTypeModelLegacySlice\n\t>,\n> {\n\ttype:\n\t\t| typeof CustomTypeModelFieldType.Slices\n\t\t| typeof CustomTypeModelFieldType.LegacySlices;\n\tfieldset?: string | null;\n\tconfig?: {\n\t\tlabels?: Record<string, readonly CustomTypeModelSliceLabel[]> | null;\n\t\tchoices?: Slices;\n\t};\n}\n\n/**\n * Label for a Slice.\n *\n * More details: {@link https://prismic.io/docs/slice}\n */\nexport interface CustomTypeModelSliceLabel {\n\tname: string;\n\tdisplay?: string;\n}\n\n/**\n * Type identifier for a Slice.\n *\n * More details: {@link https://prismic.io/docs/slice}\n */\nexport const CustomTypeModelSliceType = {\n\tSlice: \"Slice\",\n\tSharedSlice: \"SharedSlice\",\n} as const;\n\n/**\n * A shared Slice for a custom type.\n *\n * More details: {@link https://prismic.io/docs/slice}\n */\nexport interface CustomTypeModelSharedSlice {\n\ttype: typeof CustomTypeModelSliceType.SharedSlice;\n}\n"],"names":[],"mappings":"AA+CO,MAAM,2BAA2B;AAAA,EACvC,OAAO;AAAA,EACP,aAAa;;"}
1
+ {"version":3,"file":"sliceZone.js","sources":["../../../../src/types/model/sliceZone.ts"],"sourcesContent":["import type { CustomTypeModelFieldType } from \"./types\"\n\nimport type { CustomTypeModelLegacySlice, CustomTypeModelSlice } from \"./slice\"\n\n/**\n * A Slice Zone custom type field.\n *\n * More details: {@link https://prismic.io/docs/slice}\n */\nexport interface CustomTypeModelSliceZoneField<\n\tSlices extends Record<\n\t\tstring,\n\t\t| CustomTypeModelSlice\n\t\t| CustomTypeModelSharedSlice\n\t\t| CustomTypeModelLegacySlice\n\t> = Record<\n\t\tstring,\n\t\t| CustomTypeModelSlice\n\t\t| CustomTypeModelSharedSlice\n\t\t| CustomTypeModelLegacySlice\n\t>,\n> {\n\ttype:\n\t\t| typeof CustomTypeModelFieldType.Slices\n\t\t| typeof CustomTypeModelFieldType.LegacySlices\n\tfieldset?: string | null\n\tconfig?: {\n\t\tlabels?: Record<string, readonly CustomTypeModelSliceLabel[]> | null\n\t\tchoices?: Slices\n\t}\n}\n\n/**\n * Label for a Slice.\n *\n * More details: {@link https://prismic.io/docs/slice}\n */\nexport interface CustomTypeModelSliceLabel {\n\tname: string\n\tdisplay?: string\n}\n\n/**\n * Type identifier for a Slice.\n *\n * More details: {@link https://prismic.io/docs/slice}\n */\nexport const CustomTypeModelSliceType = {\n\tSlice: \"Slice\",\n\tSharedSlice: \"SharedSlice\",\n} as const\n\n/**\n * A shared Slice for a custom type.\n *\n * More details: {@link https://prismic.io/docs/slice}\n */\nexport interface CustomTypeModelSharedSlice {\n\ttype: typeof CustomTypeModelSliceType.SharedSlice\n}\n"],"names":[],"mappings":"AA+CO,MAAM,2BAA2B;AAAA,EACvC,OAAO;AAAA,EACP,aAAa;;"}
@@ -1,4 +1,4 @@
1
- import { CustomTypeModelRichTextSingleField } from "./richText";
1
+ import type { CustomTypeModelRichTextSingleField } from "./richText";
2
2
  /**
3
3
  * A title custom type field.
4
4
  *
@@ -1 +1 @@
1
- {"version":3,"file":"types.cjs","sources":["../../../../src/types/model/types.ts"],"sourcesContent":["import type { CustomTypeModelBooleanField } from \"./boolean\";\nimport type { CustomTypeModelColorField } from \"./color\";\nimport type { CustomTypeModelContentRelationshipField } from \"./contentRelationship\";\nimport type { CustomTypeModelDateField } from \"./date\";\nimport type { CustomTypeModelEmbedField } from \"./embed\";\nimport type { CustomTypeModelGeoPointField } from \"./geoPoint\";\nimport type {\n\tCustomTypeModelGroupField,\n\tCustomTypeModelNestedGroupField,\n} from \"./group\";\nimport type { CustomTypeModelImageField } from \"./image\";\nimport type { CustomTypeModelIntegrationField } from \"./integration\";\nimport type { CustomTypeModelKeyTextField } from \"./keyText\";\nimport type { CustomTypeModelLinkField } from \"./link\";\nimport type { CustomTypeModelLinkToMediaField } from \"./linkToMedia\";\nimport type { CustomTypeModelNumberField } from \"./number\";\nimport type { CustomTypeModelRangeField } from \"./range\";\nimport type { CustomTypeModelRichTextField } from \"./richText\";\nimport type { CustomTypeModelSelectField } from \"./select\";\nimport type { CustomTypeModelSeparatorField } from \"./separator\";\nimport type { CustomTypeModelSliceZoneField } from \"./sliceZone\";\nimport type { CustomTypeModelTimestampField } from \"./timestamp\";\nimport type { CustomTypeModelTitleField } from \"./title\";\nimport type { CustomTypeModelUIDField } from \"./uid\";\n\n/**\n * Type identifier for a custom type field.\n */\nexport const CustomTypeModelFieldType = {\n\tBoolean: \"Boolean\",\n\tColor: \"Color\",\n\tDate: \"Date\",\n\tEmbed: \"Embed\",\n\tGeoPoint: \"GeoPoint\",\n\tGroup: \"Group\",\n\tImage: \"Image\",\n\tIntegration: \"IntegrationFields\",\n\tLink: \"Link\",\n\tNumber: \"Number\",\n\tSelect: \"Select\",\n\tSlices: \"Slices\",\n\tStructuredText: \"StructuredText\",\n\tText: \"Text\",\n\tTimestamp: \"Timestamp\",\n\tUID: \"UID\",\n\t/**\n\t * @deprecated - Renamed to `Integration`.\n\t */\n\tIntegrationFields: \"IntegrationFields\",\n\t/**\n\t * @deprecated - Legacy field type. Use `Number` instead.\n\t */\n\tRange: \"Range\",\n\t/**\n\t * @deprecated - Legacy field type. Do not use.\n\t */\n\tSeparator: \"Separator\",\n\t/**\n\t * @deprecated - Legacy field type. Use `Slices` instead.\n\t */\n\tLegacySlices: \"Choice\",\n} as const;\n\n/**\n * A custom type field.\n */\nexport type CustomTypeModelField =\n\t| CustomTypeModelUIDField\n\t| CustomTypeModelGroupField\n\t| CustomTypeModelSliceZoneField\n\t| CustomTypeModelFieldForNestedGroup;\n\n/**\n * Any custom type field that is valid for a slice's primary section.\n */\nexport type CustomTypeModelFieldForSlicePrimary =\n\t| CustomTypeModelGroupField\n\t| CustomTypeModelFieldForNestedGroup;\n\n/**\n * Any custom type field that is valid for a group field.\n */\nexport type CustomTypeModelFieldForGroup =\n\t| CustomTypeModelNestedGroupField\n\t| CustomTypeModelFieldForNestedGroup;\n\n/**\n * Any custom type field that is valid for a nested group field.\n */\nexport type CustomTypeModelFieldForNestedGroup =\n\t| CustomTypeModelBooleanField\n\t| CustomTypeModelColorField\n\t| CustomTypeModelDateField\n\t| CustomTypeModelEmbedField\n\t| CustomTypeModelGeoPointField\n\t| CustomTypeModelImageField\n\t| CustomTypeModelIntegrationField\n\t| CustomTypeModelContentRelationshipField\n\t| CustomTypeModelLinkField\n\t| CustomTypeModelLinkToMediaField\n\t| CustomTypeModelNumberField\n\t| CustomTypeModelRangeField\n\t| CustomTypeModelSelectField\n\t| CustomTypeModelRichTextField\n\t| CustomTypeModelTitleField\n\t| CustomTypeModelKeyTextField\n\t| CustomTypeModelTimestampField\n\t| CustomTypeModelSeparatorField;\n"],"names":[],"mappings":";;AA4BO,MAAM,2BAA2B;AAAA,EACvC,SAAS;AAAA,EACT,OAAO;AAAA,EACP,MAAM;AAAA,EACN,OAAO;AAAA,EACP,UAAU;AAAA,EACV,OAAO;AAAA,EACP,OAAO;AAAA,EACP,aAAa;AAAA,EACb,MAAM;AAAA,EACN,QAAQ;AAAA,EACR,QAAQ;AAAA,EACR,QAAQ;AAAA,EACR,gBAAgB;AAAA,EAChB,MAAM;AAAA,EACN,WAAW;AAAA,EACX,KAAK;AAAA;AAAA;AAAA;AAAA,EAIL,mBAAmB;AAAA;AAAA;AAAA;AAAA,EAInB,OAAO;AAAA;AAAA;AAAA;AAAA,EAIP,WAAW;AAAA;AAAA;AAAA;AAAA,EAIX,cAAc;;;"}
1
+ {"version":3,"file":"types.cjs","sources":["../../../../src/types/model/types.ts"],"sourcesContent":["import type { CustomTypeModelBooleanField } from \"./boolean\"\nimport type { CustomTypeModelColorField } from \"./color\"\nimport type { CustomTypeModelContentRelationshipField } from \"./contentRelationship\"\nimport type { CustomTypeModelDateField } from \"./date\"\nimport type { CustomTypeModelEmbedField } from \"./embed\"\nimport type { CustomTypeModelGeoPointField } from \"./geoPoint\"\nimport type {\n\tCustomTypeModelGroupField,\n\tCustomTypeModelNestedGroupField,\n} from \"./group\"\nimport type { CustomTypeModelImageField } from \"./image\"\nimport type { CustomTypeModelIntegrationField } from \"./integration\"\nimport type { CustomTypeModelKeyTextField } from \"./keyText\"\nimport type { CustomTypeModelLinkField } from \"./link\"\nimport type { CustomTypeModelLinkToMediaField } from \"./linkToMedia\"\nimport type { CustomTypeModelNumberField } from \"./number\"\nimport type { CustomTypeModelRangeField } from \"./range\"\nimport type { CustomTypeModelRichTextField } from \"./richText\"\nimport type { CustomTypeModelSelectField } from \"./select\"\nimport type { CustomTypeModelSeparatorField } from \"./separator\"\nimport type { CustomTypeModelSliceZoneField } from \"./sliceZone\"\nimport type { CustomTypeModelTimestampField } from \"./timestamp\"\nimport type { CustomTypeModelTitleField } from \"./title\"\nimport type { CustomTypeModelUIDField } from \"./uid\"\n\n/**\n * Type identifier for a custom type field.\n */\nexport const CustomTypeModelFieldType = {\n\tBoolean: \"Boolean\",\n\tColor: \"Color\",\n\tDate: \"Date\",\n\tEmbed: \"Embed\",\n\tGeoPoint: \"GeoPoint\",\n\tGroup: \"Group\",\n\tImage: \"Image\",\n\tIntegration: \"IntegrationFields\",\n\tLink: \"Link\",\n\tNumber: \"Number\",\n\tSelect: \"Select\",\n\tSlices: \"Slices\",\n\tStructuredText: \"StructuredText\",\n\tText: \"Text\",\n\tTimestamp: \"Timestamp\",\n\tUID: \"UID\",\n\t/**\n\t * @deprecated - Renamed to `Integration`.\n\t */\n\tIntegrationFields: \"IntegrationFields\",\n\t/**\n\t * @deprecated - Legacy field type. Use `Number` instead.\n\t */\n\tRange: \"Range\",\n\t/**\n\t * @deprecated - Legacy field type. Do not use.\n\t */\n\tSeparator: \"Separator\",\n\t/**\n\t * @deprecated - Legacy field type. Use `Slices` instead.\n\t */\n\tLegacySlices: \"Choice\",\n} as const\n\n/**\n * A custom type field.\n */\nexport type CustomTypeModelField =\n\t| CustomTypeModelUIDField\n\t| CustomTypeModelGroupField\n\t| CustomTypeModelSliceZoneField\n\t| CustomTypeModelFieldForNestedGroup\n\n/**\n * Any custom type field that is valid for a slice's primary section.\n */\nexport type CustomTypeModelFieldForSlicePrimary =\n\t| CustomTypeModelGroupField\n\t| CustomTypeModelFieldForNestedGroup\n\n/**\n * Any custom type field that is valid for a group field.\n */\nexport type CustomTypeModelFieldForGroup =\n\t| CustomTypeModelNestedGroupField\n\t| CustomTypeModelFieldForNestedGroup\n\n/**\n * Any custom type field that is valid for a nested group field.\n */\nexport type CustomTypeModelFieldForNestedGroup =\n\t| CustomTypeModelBooleanField\n\t| CustomTypeModelColorField\n\t| CustomTypeModelDateField\n\t| CustomTypeModelEmbedField\n\t| CustomTypeModelGeoPointField\n\t| CustomTypeModelImageField\n\t| CustomTypeModelIntegrationField\n\t| CustomTypeModelContentRelationshipField\n\t| CustomTypeModelLinkField\n\t| CustomTypeModelLinkToMediaField\n\t| CustomTypeModelNumberField\n\t| CustomTypeModelRangeField\n\t| CustomTypeModelSelectField\n\t| CustomTypeModelRichTextField\n\t| CustomTypeModelTitleField\n\t| CustomTypeModelKeyTextField\n\t| CustomTypeModelTimestampField\n\t| CustomTypeModelSeparatorField\n"],"names":[],"mappings":";;AA4BO,MAAM,2BAA2B;AAAA,EACvC,SAAS;AAAA,EACT,OAAO;AAAA,EACP,MAAM;AAAA,EACN,OAAO;AAAA,EACP,UAAU;AAAA,EACV,OAAO;AAAA,EACP,OAAO;AAAA,EACP,aAAa;AAAA,EACb,MAAM;AAAA,EACN,QAAQ;AAAA,EACR,QAAQ;AAAA,EACR,QAAQ;AAAA,EACR,gBAAgB;AAAA,EAChB,MAAM;AAAA,EACN,WAAW;AAAA,EACX,KAAK;AAAA;AAAA;AAAA;AAAA,EAIL,mBAAmB;AAAA;AAAA;AAAA;AAAA,EAInB,OAAO;AAAA;AAAA;AAAA;AAAA,EAIP,WAAW;AAAA;AAAA;AAAA;AAAA,EAIX,cAAc;;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"types.js","sources":["../../../../src/types/model/types.ts"],"sourcesContent":["import type { CustomTypeModelBooleanField } from \"./boolean\";\nimport type { CustomTypeModelColorField } from \"./color\";\nimport type { CustomTypeModelContentRelationshipField } from \"./contentRelationship\";\nimport type { CustomTypeModelDateField } from \"./date\";\nimport type { CustomTypeModelEmbedField } from \"./embed\";\nimport type { CustomTypeModelGeoPointField } from \"./geoPoint\";\nimport type {\n\tCustomTypeModelGroupField,\n\tCustomTypeModelNestedGroupField,\n} from \"./group\";\nimport type { CustomTypeModelImageField } from \"./image\";\nimport type { CustomTypeModelIntegrationField } from \"./integration\";\nimport type { CustomTypeModelKeyTextField } from \"./keyText\";\nimport type { CustomTypeModelLinkField } from \"./link\";\nimport type { CustomTypeModelLinkToMediaField } from \"./linkToMedia\";\nimport type { CustomTypeModelNumberField } from \"./number\";\nimport type { CustomTypeModelRangeField } from \"./range\";\nimport type { CustomTypeModelRichTextField } from \"./richText\";\nimport type { CustomTypeModelSelectField } from \"./select\";\nimport type { CustomTypeModelSeparatorField } from \"./separator\";\nimport type { CustomTypeModelSliceZoneField } from \"./sliceZone\";\nimport type { CustomTypeModelTimestampField } from \"./timestamp\";\nimport type { CustomTypeModelTitleField } from \"./title\";\nimport type { CustomTypeModelUIDField } from \"./uid\";\n\n/**\n * Type identifier for a custom type field.\n */\nexport const CustomTypeModelFieldType = {\n\tBoolean: \"Boolean\",\n\tColor: \"Color\",\n\tDate: \"Date\",\n\tEmbed: \"Embed\",\n\tGeoPoint: \"GeoPoint\",\n\tGroup: \"Group\",\n\tImage: \"Image\",\n\tIntegration: \"IntegrationFields\",\n\tLink: \"Link\",\n\tNumber: \"Number\",\n\tSelect: \"Select\",\n\tSlices: \"Slices\",\n\tStructuredText: \"StructuredText\",\n\tText: \"Text\",\n\tTimestamp: \"Timestamp\",\n\tUID: \"UID\",\n\t/**\n\t * @deprecated - Renamed to `Integration`.\n\t */\n\tIntegrationFields: \"IntegrationFields\",\n\t/**\n\t * @deprecated - Legacy field type. Use `Number` instead.\n\t */\n\tRange: \"Range\",\n\t/**\n\t * @deprecated - Legacy field type. Do not use.\n\t */\n\tSeparator: \"Separator\",\n\t/**\n\t * @deprecated - Legacy field type. Use `Slices` instead.\n\t */\n\tLegacySlices: \"Choice\",\n} as const;\n\n/**\n * A custom type field.\n */\nexport type CustomTypeModelField =\n\t| CustomTypeModelUIDField\n\t| CustomTypeModelGroupField\n\t| CustomTypeModelSliceZoneField\n\t| CustomTypeModelFieldForNestedGroup;\n\n/**\n * Any custom type field that is valid for a slice's primary section.\n */\nexport type CustomTypeModelFieldForSlicePrimary =\n\t| CustomTypeModelGroupField\n\t| CustomTypeModelFieldForNestedGroup;\n\n/**\n * Any custom type field that is valid for a group field.\n */\nexport type CustomTypeModelFieldForGroup =\n\t| CustomTypeModelNestedGroupField\n\t| CustomTypeModelFieldForNestedGroup;\n\n/**\n * Any custom type field that is valid for a nested group field.\n */\nexport type CustomTypeModelFieldForNestedGroup =\n\t| CustomTypeModelBooleanField\n\t| CustomTypeModelColorField\n\t| CustomTypeModelDateField\n\t| CustomTypeModelEmbedField\n\t| CustomTypeModelGeoPointField\n\t| CustomTypeModelImageField\n\t| CustomTypeModelIntegrationField\n\t| CustomTypeModelContentRelationshipField\n\t| CustomTypeModelLinkField\n\t| CustomTypeModelLinkToMediaField\n\t| CustomTypeModelNumberField\n\t| CustomTypeModelRangeField\n\t| CustomTypeModelSelectField\n\t| CustomTypeModelRichTextField\n\t| CustomTypeModelTitleField\n\t| CustomTypeModelKeyTextField\n\t| CustomTypeModelTimestampField\n\t| CustomTypeModelSeparatorField;\n"],"names":[],"mappings":"AA4BO,MAAM,2BAA2B;AAAA,EACvC,SAAS;AAAA,EACT,OAAO;AAAA,EACP,MAAM;AAAA,EACN,OAAO;AAAA,EACP,UAAU;AAAA,EACV,OAAO;AAAA,EACP,OAAO;AAAA,EACP,aAAa;AAAA,EACb,MAAM;AAAA,EACN,QAAQ;AAAA,EACR,QAAQ;AAAA,EACR,QAAQ;AAAA,EACR,gBAAgB;AAAA,EAChB,MAAM;AAAA,EACN,WAAW;AAAA,EACX,KAAK;AAAA;AAAA;AAAA;AAAA,EAIL,mBAAmB;AAAA;AAAA;AAAA;AAAA,EAInB,OAAO;AAAA;AAAA;AAAA;AAAA,EAIP,WAAW;AAAA;AAAA;AAAA;AAAA,EAIX,cAAc;;"}
1
+ {"version":3,"file":"types.js","sources":["../../../../src/types/model/types.ts"],"sourcesContent":["import type { CustomTypeModelBooleanField } from \"./boolean\"\nimport type { CustomTypeModelColorField } from \"./color\"\nimport type { CustomTypeModelContentRelationshipField } from \"./contentRelationship\"\nimport type { CustomTypeModelDateField } from \"./date\"\nimport type { CustomTypeModelEmbedField } from \"./embed\"\nimport type { CustomTypeModelGeoPointField } from \"./geoPoint\"\nimport type {\n\tCustomTypeModelGroupField,\n\tCustomTypeModelNestedGroupField,\n} from \"./group\"\nimport type { CustomTypeModelImageField } from \"./image\"\nimport type { CustomTypeModelIntegrationField } from \"./integration\"\nimport type { CustomTypeModelKeyTextField } from \"./keyText\"\nimport type { CustomTypeModelLinkField } from \"./link\"\nimport type { CustomTypeModelLinkToMediaField } from \"./linkToMedia\"\nimport type { CustomTypeModelNumberField } from \"./number\"\nimport type { CustomTypeModelRangeField } from \"./range\"\nimport type { CustomTypeModelRichTextField } from \"./richText\"\nimport type { CustomTypeModelSelectField } from \"./select\"\nimport type { CustomTypeModelSeparatorField } from \"./separator\"\nimport type { CustomTypeModelSliceZoneField } from \"./sliceZone\"\nimport type { CustomTypeModelTimestampField } from \"./timestamp\"\nimport type { CustomTypeModelTitleField } from \"./title\"\nimport type { CustomTypeModelUIDField } from \"./uid\"\n\n/**\n * Type identifier for a custom type field.\n */\nexport const CustomTypeModelFieldType = {\n\tBoolean: \"Boolean\",\n\tColor: \"Color\",\n\tDate: \"Date\",\n\tEmbed: \"Embed\",\n\tGeoPoint: \"GeoPoint\",\n\tGroup: \"Group\",\n\tImage: \"Image\",\n\tIntegration: \"IntegrationFields\",\n\tLink: \"Link\",\n\tNumber: \"Number\",\n\tSelect: \"Select\",\n\tSlices: \"Slices\",\n\tStructuredText: \"StructuredText\",\n\tText: \"Text\",\n\tTimestamp: \"Timestamp\",\n\tUID: \"UID\",\n\t/**\n\t * @deprecated - Renamed to `Integration`.\n\t */\n\tIntegrationFields: \"IntegrationFields\",\n\t/**\n\t * @deprecated - Legacy field type. Use `Number` instead.\n\t */\n\tRange: \"Range\",\n\t/**\n\t * @deprecated - Legacy field type. Do not use.\n\t */\n\tSeparator: \"Separator\",\n\t/**\n\t * @deprecated - Legacy field type. Use `Slices` instead.\n\t */\n\tLegacySlices: \"Choice\",\n} as const\n\n/**\n * A custom type field.\n */\nexport type CustomTypeModelField =\n\t| CustomTypeModelUIDField\n\t| CustomTypeModelGroupField\n\t| CustomTypeModelSliceZoneField\n\t| CustomTypeModelFieldForNestedGroup\n\n/**\n * Any custom type field that is valid for a slice's primary section.\n */\nexport type CustomTypeModelFieldForSlicePrimary =\n\t| CustomTypeModelGroupField\n\t| CustomTypeModelFieldForNestedGroup\n\n/**\n * Any custom type field that is valid for a group field.\n */\nexport type CustomTypeModelFieldForGroup =\n\t| CustomTypeModelNestedGroupField\n\t| CustomTypeModelFieldForNestedGroup\n\n/**\n * Any custom type field that is valid for a nested group field.\n */\nexport type CustomTypeModelFieldForNestedGroup =\n\t| CustomTypeModelBooleanField\n\t| CustomTypeModelColorField\n\t| CustomTypeModelDateField\n\t| CustomTypeModelEmbedField\n\t| CustomTypeModelGeoPointField\n\t| CustomTypeModelImageField\n\t| CustomTypeModelIntegrationField\n\t| CustomTypeModelContentRelationshipField\n\t| CustomTypeModelLinkField\n\t| CustomTypeModelLinkToMediaField\n\t| CustomTypeModelNumberField\n\t| CustomTypeModelRangeField\n\t| CustomTypeModelSelectField\n\t| CustomTypeModelRichTextField\n\t| CustomTypeModelTitleField\n\t| CustomTypeModelKeyTextField\n\t| CustomTypeModelTimestampField\n\t| CustomTypeModelSeparatorField\n"],"names":[],"mappings":"AA4BO,MAAM,2BAA2B;AAAA,EACvC,SAAS;AAAA,EACT,OAAO;AAAA,EACP,MAAM;AAAA,EACN,OAAO;AAAA,EACP,UAAU;AAAA,EACV,OAAO;AAAA,EACP,OAAO;AAAA,EACP,aAAa;AAAA,EACb,MAAM;AAAA,EACN,QAAQ;AAAA,EACR,QAAQ;AAAA,EACR,QAAQ;AAAA,EACR,gBAAgB;AAAA,EAChB,MAAM;AAAA,EACN,WAAW;AAAA,EACX,KAAK;AAAA;AAAA;AAAA;AAAA,EAIL,mBAAmB;AAAA;AAAA;AAAA;AAAA,EAInB,OAAO;AAAA;AAAA;AAAA;AAAA,EAIP,WAAW;AAAA;AAAA;AAAA;AAAA,EAIX,cAAc;;"}
@@ -1,7 +1,7 @@
1
- import { AnyRegularField } from "./types";
2
- import { GroupField } from "./group";
3
- import { SliceZone } from "./sliceZone";
4
- import { TimestampField } from "./timestamp";
1
+ import type { AnyRegularField } from "./types";
2
+ import type { GroupField } from "./group";
3
+ import type { SliceZone } from "./sliceZone";
4
+ import type { TimestampField } from "./timestamp";
5
5
  /**
6
6
  * Document metadata for a translation of a Prismic document.
7
7
  */
@@ -1 +1 @@
1
- {"version":3,"file":"embed.cjs","sources":["../../../../src/types/value/embed.ts"],"sourcesContent":["import type { EmptyObjectField, FieldState } from \"./types\";\n\n/**\n * oEmbed 1.0 possible types.\n *\n * @see oEmbed specification: {@link https://oembed.com}\n */\nexport const OEmbedType = {\n\tPhoto: \"photo\",\n\tVideo: \"video\",\n\tLink: \"link\",\n\tRich: \"rich\",\n} as const;\n\n/**\n * oEmbed response base fields. Those are every mandatory fields an oEmbed\n * response must feature.\n *\n * @see oEmbed specification: {@link https://oembed.com}\n */\ntype OEmbedBase<TType extends (typeof OEmbedType)[keyof typeof OEmbedType]> = {\n\t/**\n\t * oEmbed resource type.\n\t */\n\ttype: TType;\n\n\t/**\n\t * oEmbed version number, this must be \"1.0\".\n\t */\n\tversion: string;\n};\n\n/**\n * oEmbed response extra fields. Those are every non-mandatory and unknown\n * fields an oEmbed response can feature.\n *\n * @see oEmbed specification: {@link https://oembed.com}\n */\nexport type OEmbedExtra = {\n\t/**\n\t * oEmbed text title, describing the resource.\n\t */\n\ttitle?: string | null;\n\n\t/**\n\t * oEmbed resource author/owner name.\n\t */\n\tauthor_name?: string | null;\n\n\t/**\n\t * oEmbed resource author/owner URL.\n\t */\n\tauthor_url?: string | null;\n\n\t/**\n\t * oEmbed resource provider name.\n\t */\n\tprovider_name?: string | null;\n\n\t/**\n\t * oEmbed resource provider URL.\n\t */\n\tprovider_url?: string | null;\n\n\t/**\n\t * oEmbed suggested cache lifetime for the resource, in seconds.\n\t */\n\tcache_age?: number | null;\n\n\t/**\n\t * oEmbed resource thumbnail URL.\n\t */\n\tthumbnail_url?: string | null;\n\n\t/**\n\t * oEmbed resource thumbnail width.\n\t */\n\tthumbnail_width?: number | null;\n\n\t/**\n\t * oEmbed resource thumbnail height.\n\t */\n\tthumbnail_height?: number | null;\n\n\t/**\n\t * Providers may optionally include any parameters not specified in this\n\t * document (so long as they use the same key-value format) and consumers may\n\t * choose to ignore these. Consumers must ignore parameters they do not\n\t * understand.\n\t *\n\t * @see oEmbed specification: {@link https://oembed.com}\n\t */\n\t[key: string]: unknown | null;\n};\n\n/**\n * oEmbed photo type. Those are every mandatory fields an oEmbed photo response\n * must feature.\n *\n * @see oEmbed specification: {@link https://oembed.com}\n */\nexport type PhotoOEmbed = OEmbedBase<typeof OEmbedType.Photo> & {\n\t/**\n\t * oEmbed source URL of the image.\n\t */\n\turl: string;\n\n\t/**\n\t * oEmbed width in pixels of the image.\n\t */\n\twidth: number;\n\n\t/**\n\t * oEmbed height in pixels of the image.\n\t */\n\theight: number;\n};\n\n/**\n * oEmbed video type. Those are every mandatory fields an oEmbed video response\n * must feature.\n *\n * @see oEmbed specification: {@link https://oembed.com}\n */\nexport type VideoOEmbed = OEmbedBase<typeof OEmbedType.Video> & {\n\t/**\n\t * oEmbed HTML required to embed a video player.\n\t */\n\thtml: string;\n\n\t/**\n\t * oEmbed width in pixels required to display the HTML.\n\t */\n\twidth: number;\n\n\t/**\n\t * oEmbed height in pixels required to display the HTML.\n\t */\n\theight: number;\n};\n\n/**\n * oEmbed link type. Those are every mandatory fields an oEmbed link response\n * must feature.\n *\n * @see oEmbed specification: {@link https://oembed.com}\n */\nexport type LinkOEmbed = OEmbedBase<typeof OEmbedType.Link>;\n\n/**\n * oEmbed rich type. Those are every mandatory fields an oEmbed rich response\n * must feature.\n *\n * @see oEmbed specification: {@link https://oembed.com}\n */\nexport type RichOEmbed = OEmbedBase<typeof OEmbedType.Rich> & {\n\t/**\n\t * oEmbed HTML required to display the resource.\n\t */\n\thtml: string;\n\n\t/**\n\t * oEmbed width in pixels required to display the HTML.\n\t */\n\twidth: number;\n\n\t/**\n\t * oEmbed height in pixels required to display the HTML.\n\t */\n\theight: number;\n};\n\n/**\n * Any of the possible types of oEmbed response. Those contains only mandatory\n * fields their respective oEmbed response type must feature.\n *\n * @see oEmbed specification: {@link https://oembed.com}\n */\nexport type AnyOEmbed = PhotoOEmbed | VideoOEmbed | LinkOEmbed | RichOEmbed;\n\n/**\n * An embed field.\n *\n * @typeParam Data - Data provided by the URL's oEmbed provider.\n * @typeParam State - State of the field which determines its shape.\n *\n * @see More details: {@link https://prismic.io/docs/embed}\n */\nexport type EmbedField<\n\tData extends AnyOEmbed = AnyOEmbed & OEmbedExtra,\n\tState extends FieldState = FieldState,\n> = State extends \"empty\"\n\t? EmptyObjectField\n\t: Data & {\n\t\t\tembed_url: string;\n\t\t\thtml: string | null;\n\t\t};\n"],"names":[],"mappings":";;AAOO,MAAM,aAAa;AAAA,EACzB,OAAO;AAAA,EACP,OAAO;AAAA,EACP,MAAM;AAAA,EACN,MAAM;;;"}
1
+ {"version":3,"file":"embed.cjs","sources":["../../../../src/types/value/embed.ts"],"sourcesContent":["import type { EmptyObjectField, FieldState } from \"./types\"\n\n/**\n * oEmbed 1.0 possible types.\n *\n * @see oEmbed specification: {@link https://oembed.com}\n */\nexport const OEmbedType = {\n\tPhoto: \"photo\",\n\tVideo: \"video\",\n\tLink: \"link\",\n\tRich: \"rich\",\n} as const\n\n/**\n * oEmbed response base fields. Those are every mandatory fields an oEmbed\n * response must feature.\n *\n * @see oEmbed specification: {@link https://oembed.com}\n */\ntype OEmbedBase<TType extends (typeof OEmbedType)[keyof typeof OEmbedType]> = {\n\t/**\n\t * oEmbed resource type.\n\t */\n\ttype: TType\n\n\t/**\n\t * oEmbed version number, this must be \"1.0\".\n\t */\n\tversion: string\n}\n\n/**\n * oEmbed response extra fields. Those are every non-mandatory and unknown\n * fields an oEmbed response can feature.\n *\n * @see oEmbed specification: {@link https://oembed.com}\n */\nexport type OEmbedExtra = {\n\t/**\n\t * oEmbed text title, describing the resource.\n\t */\n\ttitle?: string | null\n\n\t/**\n\t * oEmbed resource author/owner name.\n\t */\n\tauthor_name?: string | null\n\n\t/**\n\t * oEmbed resource author/owner URL.\n\t */\n\tauthor_url?: string | null\n\n\t/**\n\t * oEmbed resource provider name.\n\t */\n\tprovider_name?: string | null\n\n\t/**\n\t * oEmbed resource provider URL.\n\t */\n\tprovider_url?: string | null\n\n\t/**\n\t * oEmbed suggested cache lifetime for the resource, in seconds.\n\t */\n\tcache_age?: number | null\n\n\t/**\n\t * oEmbed resource thumbnail URL.\n\t */\n\tthumbnail_url?: string | null\n\n\t/**\n\t * oEmbed resource thumbnail width.\n\t */\n\tthumbnail_width?: number | null\n\n\t/**\n\t * oEmbed resource thumbnail height.\n\t */\n\tthumbnail_height?: number | null\n\n\t/**\n\t * Providers may optionally include any parameters not specified in this\n\t * document (so long as they use the same key-value format) and consumers may\n\t * choose to ignore these. Consumers must ignore parameters they do not\n\t * understand.\n\t *\n\t * @see oEmbed specification: {@link https://oembed.com}\n\t */\n\t[key: string]: unknown | null\n}\n\n/**\n * oEmbed photo type. Those are every mandatory fields an oEmbed photo response\n * must feature.\n *\n * @see oEmbed specification: {@link https://oembed.com}\n */\nexport type PhotoOEmbed = OEmbedBase<typeof OEmbedType.Photo> & {\n\t/**\n\t * oEmbed source URL of the image.\n\t */\n\turl: string\n\n\t/**\n\t * oEmbed width in pixels of the image.\n\t */\n\twidth: number\n\n\t/**\n\t * oEmbed height in pixels of the image.\n\t */\n\theight: number\n}\n\n/**\n * oEmbed video type. Those are every mandatory fields an oEmbed video response\n * must feature.\n *\n * @see oEmbed specification: {@link https://oembed.com}\n */\nexport type VideoOEmbed = OEmbedBase<typeof OEmbedType.Video> & {\n\t/**\n\t * oEmbed HTML required to embed a video player.\n\t */\n\thtml: string\n\n\t/**\n\t * oEmbed width in pixels required to display the HTML.\n\t */\n\twidth: number\n\n\t/**\n\t * oEmbed height in pixels required to display the HTML.\n\t */\n\theight: number\n}\n\n/**\n * oEmbed link type. Those are every mandatory fields an oEmbed link response\n * must feature.\n *\n * @see oEmbed specification: {@link https://oembed.com}\n */\nexport type LinkOEmbed = OEmbedBase<typeof OEmbedType.Link>\n\n/**\n * oEmbed rich type. Those are every mandatory fields an oEmbed rich response\n * must feature.\n *\n * @see oEmbed specification: {@link https://oembed.com}\n */\nexport type RichOEmbed = OEmbedBase<typeof OEmbedType.Rich> & {\n\t/**\n\t * oEmbed HTML required to display the resource.\n\t */\n\thtml: string\n\n\t/**\n\t * oEmbed width in pixels required to display the HTML.\n\t */\n\twidth: number\n\n\t/**\n\t * oEmbed height in pixels required to display the HTML.\n\t */\n\theight: number\n}\n\n/**\n * Any of the possible types of oEmbed response. Those contains only mandatory\n * fields their respective oEmbed response type must feature.\n *\n * @see oEmbed specification: {@link https://oembed.com}\n */\nexport type AnyOEmbed = PhotoOEmbed | VideoOEmbed | LinkOEmbed | RichOEmbed\n\n/**\n * An embed field.\n *\n * @typeParam Data - Data provided by the URL's oEmbed provider.\n * @typeParam State - State of the field which determines its shape.\n *\n * @see More details: {@link https://prismic.io/docs/embed}\n */\nexport type EmbedField<\n\tData extends AnyOEmbed = AnyOEmbed & OEmbedExtra,\n\tState extends FieldState = FieldState,\n> = State extends \"empty\"\n\t? EmptyObjectField\n\t: Data & {\n\t\t\tembed_url: string\n\t\t\thtml: string | null\n\t\t}\n"],"names":[],"mappings":";;AAOO,MAAM,aAAa;AAAA,EACzB,OAAO;AAAA,EACP,OAAO;AAAA,EACP,MAAM;AAAA,EACN,MAAM;;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"embed.js","sources":["../../../../src/types/value/embed.ts"],"sourcesContent":["import type { EmptyObjectField, FieldState } from \"./types\";\n\n/**\n * oEmbed 1.0 possible types.\n *\n * @see oEmbed specification: {@link https://oembed.com}\n */\nexport const OEmbedType = {\n\tPhoto: \"photo\",\n\tVideo: \"video\",\n\tLink: \"link\",\n\tRich: \"rich\",\n} as const;\n\n/**\n * oEmbed response base fields. Those are every mandatory fields an oEmbed\n * response must feature.\n *\n * @see oEmbed specification: {@link https://oembed.com}\n */\ntype OEmbedBase<TType extends (typeof OEmbedType)[keyof typeof OEmbedType]> = {\n\t/**\n\t * oEmbed resource type.\n\t */\n\ttype: TType;\n\n\t/**\n\t * oEmbed version number, this must be \"1.0\".\n\t */\n\tversion: string;\n};\n\n/**\n * oEmbed response extra fields. Those are every non-mandatory and unknown\n * fields an oEmbed response can feature.\n *\n * @see oEmbed specification: {@link https://oembed.com}\n */\nexport type OEmbedExtra = {\n\t/**\n\t * oEmbed text title, describing the resource.\n\t */\n\ttitle?: string | null;\n\n\t/**\n\t * oEmbed resource author/owner name.\n\t */\n\tauthor_name?: string | null;\n\n\t/**\n\t * oEmbed resource author/owner URL.\n\t */\n\tauthor_url?: string | null;\n\n\t/**\n\t * oEmbed resource provider name.\n\t */\n\tprovider_name?: string | null;\n\n\t/**\n\t * oEmbed resource provider URL.\n\t */\n\tprovider_url?: string | null;\n\n\t/**\n\t * oEmbed suggested cache lifetime for the resource, in seconds.\n\t */\n\tcache_age?: number | null;\n\n\t/**\n\t * oEmbed resource thumbnail URL.\n\t */\n\tthumbnail_url?: string | null;\n\n\t/**\n\t * oEmbed resource thumbnail width.\n\t */\n\tthumbnail_width?: number | null;\n\n\t/**\n\t * oEmbed resource thumbnail height.\n\t */\n\tthumbnail_height?: number | null;\n\n\t/**\n\t * Providers may optionally include any parameters not specified in this\n\t * document (so long as they use the same key-value format) and consumers may\n\t * choose to ignore these. Consumers must ignore parameters they do not\n\t * understand.\n\t *\n\t * @see oEmbed specification: {@link https://oembed.com}\n\t */\n\t[key: string]: unknown | null;\n};\n\n/**\n * oEmbed photo type. Those are every mandatory fields an oEmbed photo response\n * must feature.\n *\n * @see oEmbed specification: {@link https://oembed.com}\n */\nexport type PhotoOEmbed = OEmbedBase<typeof OEmbedType.Photo> & {\n\t/**\n\t * oEmbed source URL of the image.\n\t */\n\turl: string;\n\n\t/**\n\t * oEmbed width in pixels of the image.\n\t */\n\twidth: number;\n\n\t/**\n\t * oEmbed height in pixels of the image.\n\t */\n\theight: number;\n};\n\n/**\n * oEmbed video type. Those are every mandatory fields an oEmbed video response\n * must feature.\n *\n * @see oEmbed specification: {@link https://oembed.com}\n */\nexport type VideoOEmbed = OEmbedBase<typeof OEmbedType.Video> & {\n\t/**\n\t * oEmbed HTML required to embed a video player.\n\t */\n\thtml: string;\n\n\t/**\n\t * oEmbed width in pixels required to display the HTML.\n\t */\n\twidth: number;\n\n\t/**\n\t * oEmbed height in pixels required to display the HTML.\n\t */\n\theight: number;\n};\n\n/**\n * oEmbed link type. Those are every mandatory fields an oEmbed link response\n * must feature.\n *\n * @see oEmbed specification: {@link https://oembed.com}\n */\nexport type LinkOEmbed = OEmbedBase<typeof OEmbedType.Link>;\n\n/**\n * oEmbed rich type. Those are every mandatory fields an oEmbed rich response\n * must feature.\n *\n * @see oEmbed specification: {@link https://oembed.com}\n */\nexport type RichOEmbed = OEmbedBase<typeof OEmbedType.Rich> & {\n\t/**\n\t * oEmbed HTML required to display the resource.\n\t */\n\thtml: string;\n\n\t/**\n\t * oEmbed width in pixels required to display the HTML.\n\t */\n\twidth: number;\n\n\t/**\n\t * oEmbed height in pixels required to display the HTML.\n\t */\n\theight: number;\n};\n\n/**\n * Any of the possible types of oEmbed response. Those contains only mandatory\n * fields their respective oEmbed response type must feature.\n *\n * @see oEmbed specification: {@link https://oembed.com}\n */\nexport type AnyOEmbed = PhotoOEmbed | VideoOEmbed | LinkOEmbed | RichOEmbed;\n\n/**\n * An embed field.\n *\n * @typeParam Data - Data provided by the URL's oEmbed provider.\n * @typeParam State - State of the field which determines its shape.\n *\n * @see More details: {@link https://prismic.io/docs/embed}\n */\nexport type EmbedField<\n\tData extends AnyOEmbed = AnyOEmbed & OEmbedExtra,\n\tState extends FieldState = FieldState,\n> = State extends \"empty\"\n\t? EmptyObjectField\n\t: Data & {\n\t\t\tembed_url: string;\n\t\t\thtml: string | null;\n\t\t};\n"],"names":[],"mappings":"AAOO,MAAM,aAAa;AAAA,EACzB,OAAO;AAAA,EACP,OAAO;AAAA,EACP,MAAM;AAAA,EACN,MAAM;;"}
1
+ {"version":3,"file":"embed.js","sources":["../../../../src/types/value/embed.ts"],"sourcesContent":["import type { EmptyObjectField, FieldState } from \"./types\"\n\n/**\n * oEmbed 1.0 possible types.\n *\n * @see oEmbed specification: {@link https://oembed.com}\n */\nexport const OEmbedType = {\n\tPhoto: \"photo\",\n\tVideo: \"video\",\n\tLink: \"link\",\n\tRich: \"rich\",\n} as const\n\n/**\n * oEmbed response base fields. Those are every mandatory fields an oEmbed\n * response must feature.\n *\n * @see oEmbed specification: {@link https://oembed.com}\n */\ntype OEmbedBase<TType extends (typeof OEmbedType)[keyof typeof OEmbedType]> = {\n\t/**\n\t * oEmbed resource type.\n\t */\n\ttype: TType\n\n\t/**\n\t * oEmbed version number, this must be \"1.0\".\n\t */\n\tversion: string\n}\n\n/**\n * oEmbed response extra fields. Those are every non-mandatory and unknown\n * fields an oEmbed response can feature.\n *\n * @see oEmbed specification: {@link https://oembed.com}\n */\nexport type OEmbedExtra = {\n\t/**\n\t * oEmbed text title, describing the resource.\n\t */\n\ttitle?: string | null\n\n\t/**\n\t * oEmbed resource author/owner name.\n\t */\n\tauthor_name?: string | null\n\n\t/**\n\t * oEmbed resource author/owner URL.\n\t */\n\tauthor_url?: string | null\n\n\t/**\n\t * oEmbed resource provider name.\n\t */\n\tprovider_name?: string | null\n\n\t/**\n\t * oEmbed resource provider URL.\n\t */\n\tprovider_url?: string | null\n\n\t/**\n\t * oEmbed suggested cache lifetime for the resource, in seconds.\n\t */\n\tcache_age?: number | null\n\n\t/**\n\t * oEmbed resource thumbnail URL.\n\t */\n\tthumbnail_url?: string | null\n\n\t/**\n\t * oEmbed resource thumbnail width.\n\t */\n\tthumbnail_width?: number | null\n\n\t/**\n\t * oEmbed resource thumbnail height.\n\t */\n\tthumbnail_height?: number | null\n\n\t/**\n\t * Providers may optionally include any parameters not specified in this\n\t * document (so long as they use the same key-value format) and consumers may\n\t * choose to ignore these. Consumers must ignore parameters they do not\n\t * understand.\n\t *\n\t * @see oEmbed specification: {@link https://oembed.com}\n\t */\n\t[key: string]: unknown | null\n}\n\n/**\n * oEmbed photo type. Those are every mandatory fields an oEmbed photo response\n * must feature.\n *\n * @see oEmbed specification: {@link https://oembed.com}\n */\nexport type PhotoOEmbed = OEmbedBase<typeof OEmbedType.Photo> & {\n\t/**\n\t * oEmbed source URL of the image.\n\t */\n\turl: string\n\n\t/**\n\t * oEmbed width in pixels of the image.\n\t */\n\twidth: number\n\n\t/**\n\t * oEmbed height in pixels of the image.\n\t */\n\theight: number\n}\n\n/**\n * oEmbed video type. Those are every mandatory fields an oEmbed video response\n * must feature.\n *\n * @see oEmbed specification: {@link https://oembed.com}\n */\nexport type VideoOEmbed = OEmbedBase<typeof OEmbedType.Video> & {\n\t/**\n\t * oEmbed HTML required to embed a video player.\n\t */\n\thtml: string\n\n\t/**\n\t * oEmbed width in pixels required to display the HTML.\n\t */\n\twidth: number\n\n\t/**\n\t * oEmbed height in pixels required to display the HTML.\n\t */\n\theight: number\n}\n\n/**\n * oEmbed link type. Those are every mandatory fields an oEmbed link response\n * must feature.\n *\n * @see oEmbed specification: {@link https://oembed.com}\n */\nexport type LinkOEmbed = OEmbedBase<typeof OEmbedType.Link>\n\n/**\n * oEmbed rich type. Those are every mandatory fields an oEmbed rich response\n * must feature.\n *\n * @see oEmbed specification: {@link https://oembed.com}\n */\nexport type RichOEmbed = OEmbedBase<typeof OEmbedType.Rich> & {\n\t/**\n\t * oEmbed HTML required to display the resource.\n\t */\n\thtml: string\n\n\t/**\n\t * oEmbed width in pixels required to display the HTML.\n\t */\n\twidth: number\n\n\t/**\n\t * oEmbed height in pixels required to display the HTML.\n\t */\n\theight: number\n}\n\n/**\n * Any of the possible types of oEmbed response. Those contains only mandatory\n * fields their respective oEmbed response type must feature.\n *\n * @see oEmbed specification: {@link https://oembed.com}\n */\nexport type AnyOEmbed = PhotoOEmbed | VideoOEmbed | LinkOEmbed | RichOEmbed\n\n/**\n * An embed field.\n *\n * @typeParam Data - Data provided by the URL's oEmbed provider.\n * @typeParam State - State of the field which determines its shape.\n *\n * @see More details: {@link https://prismic.io/docs/embed}\n */\nexport type EmbedField<\n\tData extends AnyOEmbed = AnyOEmbed & OEmbedExtra,\n\tState extends FieldState = FieldState,\n> = State extends \"empty\"\n\t? EmptyObjectField\n\t: Data & {\n\t\t\tembed_url: string\n\t\t\thtml: string | null\n\t\t}\n"],"names":[],"mappings":"AAOO,MAAM,aAAa;AAAA,EACzB,OAAO;AAAA,EACP,OAAO;AAAA,EACP,MAAM;AAAA,EACN,MAAM;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"link.cjs","sources":["../../../../src/types/value/link.ts"],"sourcesContent":["import type { AnyRegularField, FieldState } from \"./types\";\n\nimport type { ContentRelationshipField } from \"./contentRelationship\";\nimport type { GroupField } from \"./group\";\nimport type { LinkToMediaField } from \"./linkToMedia\";\nimport type { SliceZone } from \"./sliceZone\";\n\n/**\n * Link types\n */\nexport const LinkType = {\n\tAny: \"Any\",\n\tDocument: \"Document\",\n\tMedia: \"Media\",\n\tWeb: \"Web\",\n} as const;\n\n/**\n * For link fields that haven't been filled\n *\n * @typeParam Type - The type of link.\n */\nexport type EmptyLinkField<\n\tType extends (typeof LinkType)[keyof typeof LinkType] = typeof LinkType.Any,\n> = {\n\tlink_type: Type | string;\n};\n\n/**\n * Link that points to external website\n */\nexport interface FilledLinkToWebField {\n\tlink_type: typeof LinkType.Web;\n\turl: string;\n\ttarget?: string;\n}\n\n/**\n * A link field.\n *\n * @typeParam TypeEnum - Type API ID of the document.\n * @typeParam LangEnum - Language API ID of the document.\n * @typeParam DataInterface - Data fields for the document (filled in via\n * GraphQuery of `fetchLinks`).\n * @typeParam State - State of the field which determines its shape.\n */\nexport type LinkField<\n\tTypeEnum = string,\n\tLangEnum = string,\n\tDataInterface extends\n\t\t| Record<string, AnyRegularField | GroupField | SliceZone>\n\t\t| unknown = unknown,\n\tState extends FieldState = FieldState,\n> = State extends \"empty\"\n\t? EmptyLinkField<typeof LinkType.Any>\n\t:\n\t\t\t| ContentRelationshipField<TypeEnum, LangEnum, DataInterface, State>\n\t\t\t| FilledLinkToWebField\n\t\t\t| LinkToMediaField<State>;\n"],"names":[],"mappings":";;AAUO,MAAM,WAAW;AAAA,EACvB,KAAK;AAAA,EACL,UAAU;AAAA,EACV,OAAO;AAAA,EACP,KAAK;;;"}
1
+ {"version":3,"file":"link.cjs","sources":["../../../../src/types/value/link.ts"],"sourcesContent":["import type { AnyRegularField, FieldState } from \"./types\"\n\nimport type { ContentRelationshipField } from \"./contentRelationship\"\nimport type { GroupField } from \"./group\"\nimport type { LinkToMediaField } from \"./linkToMedia\"\nimport type { SliceZone } from \"./sliceZone\"\n\n/**\n * Link types\n */\nexport const LinkType = {\n\tAny: \"Any\",\n\tDocument: \"Document\",\n\tMedia: \"Media\",\n\tWeb: \"Web\",\n} as const\n\n/**\n * For link fields that haven't been filled\n *\n * @typeParam Type - The type of link.\n */\nexport type EmptyLinkField<\n\tType extends (typeof LinkType)[keyof typeof LinkType] = typeof LinkType.Any,\n> = {\n\tlink_type: Type | string\n}\n\n/**\n * Link that points to external website\n */\nexport interface FilledLinkToWebField {\n\tlink_type: typeof LinkType.Web\n\turl: string\n\ttarget?: string\n}\n\n/**\n * A link field.\n *\n * @typeParam TypeEnum - Type API ID of the document.\n * @typeParam LangEnum - Language API ID of the document.\n * @typeParam DataInterface - Data fields for the document (filled in via\n * GraphQuery of `fetchLinks`).\n * @typeParam State - State of the field which determines its shape.\n */\nexport type LinkField<\n\tTypeEnum = string,\n\tLangEnum = string,\n\tDataInterface extends\n\t\t| Record<string, AnyRegularField | GroupField | SliceZone>\n\t\t| unknown = unknown,\n\tState extends FieldState = FieldState,\n> = State extends \"empty\"\n\t? EmptyLinkField<typeof LinkType.Any>\n\t:\n\t\t\t| ContentRelationshipField<TypeEnum, LangEnum, DataInterface, State>\n\t\t\t| FilledLinkToWebField\n\t\t\t| LinkToMediaField<State>\n"],"names":[],"mappings":";;AAUO,MAAM,WAAW;AAAA,EACvB,KAAK;AAAA,EACL,UAAU;AAAA,EACV,OAAO;AAAA,EACP,KAAK;;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"link.js","sources":["../../../../src/types/value/link.ts"],"sourcesContent":["import type { AnyRegularField, FieldState } from \"./types\";\n\nimport type { ContentRelationshipField } from \"./contentRelationship\";\nimport type { GroupField } from \"./group\";\nimport type { LinkToMediaField } from \"./linkToMedia\";\nimport type { SliceZone } from \"./sliceZone\";\n\n/**\n * Link types\n */\nexport const LinkType = {\n\tAny: \"Any\",\n\tDocument: \"Document\",\n\tMedia: \"Media\",\n\tWeb: \"Web\",\n} as const;\n\n/**\n * For link fields that haven't been filled\n *\n * @typeParam Type - The type of link.\n */\nexport type EmptyLinkField<\n\tType extends (typeof LinkType)[keyof typeof LinkType] = typeof LinkType.Any,\n> = {\n\tlink_type: Type | string;\n};\n\n/**\n * Link that points to external website\n */\nexport interface FilledLinkToWebField {\n\tlink_type: typeof LinkType.Web;\n\turl: string;\n\ttarget?: string;\n}\n\n/**\n * A link field.\n *\n * @typeParam TypeEnum - Type API ID of the document.\n * @typeParam LangEnum - Language API ID of the document.\n * @typeParam DataInterface - Data fields for the document (filled in via\n * GraphQuery of `fetchLinks`).\n * @typeParam State - State of the field which determines its shape.\n */\nexport type LinkField<\n\tTypeEnum = string,\n\tLangEnum = string,\n\tDataInterface extends\n\t\t| Record<string, AnyRegularField | GroupField | SliceZone>\n\t\t| unknown = unknown,\n\tState extends FieldState = FieldState,\n> = State extends \"empty\"\n\t? EmptyLinkField<typeof LinkType.Any>\n\t:\n\t\t\t| ContentRelationshipField<TypeEnum, LangEnum, DataInterface, State>\n\t\t\t| FilledLinkToWebField\n\t\t\t| LinkToMediaField<State>;\n"],"names":[],"mappings":"AAUO,MAAM,WAAW;AAAA,EACvB,KAAK;AAAA,EACL,UAAU;AAAA,EACV,OAAO;AAAA,EACP,KAAK;;"}
1
+ {"version":3,"file":"link.js","sources":["../../../../src/types/value/link.ts"],"sourcesContent":["import type { AnyRegularField, FieldState } from \"./types\"\n\nimport type { ContentRelationshipField } from \"./contentRelationship\"\nimport type { GroupField } from \"./group\"\nimport type { LinkToMediaField } from \"./linkToMedia\"\nimport type { SliceZone } from \"./sliceZone\"\n\n/**\n * Link types\n */\nexport const LinkType = {\n\tAny: \"Any\",\n\tDocument: \"Document\",\n\tMedia: \"Media\",\n\tWeb: \"Web\",\n} as const\n\n/**\n * For link fields that haven't been filled\n *\n * @typeParam Type - The type of link.\n */\nexport type EmptyLinkField<\n\tType extends (typeof LinkType)[keyof typeof LinkType] = typeof LinkType.Any,\n> = {\n\tlink_type: Type | string\n}\n\n/**\n * Link that points to external website\n */\nexport interface FilledLinkToWebField {\n\tlink_type: typeof LinkType.Web\n\turl: string\n\ttarget?: string\n}\n\n/**\n * A link field.\n *\n * @typeParam TypeEnum - Type API ID of the document.\n * @typeParam LangEnum - Language API ID of the document.\n * @typeParam DataInterface - Data fields for the document (filled in via\n * GraphQuery of `fetchLinks`).\n * @typeParam State - State of the field which determines its shape.\n */\nexport type LinkField<\n\tTypeEnum = string,\n\tLangEnum = string,\n\tDataInterface extends\n\t\t| Record<string, AnyRegularField | GroupField | SliceZone>\n\t\t| unknown = unknown,\n\tState extends FieldState = FieldState,\n> = State extends \"empty\"\n\t? EmptyLinkField<typeof LinkType.Any>\n\t:\n\t\t\t| ContentRelationshipField<TypeEnum, LangEnum, DataInterface, State>\n\t\t\t| FilledLinkToWebField\n\t\t\t| LinkToMediaField<State>\n"],"names":[],"mappings":"AAUO,MAAM,WAAW;AAAA,EACvB,KAAK;AAAA,EACL,UAAU;AAAA,EACV,OAAO;AAAA,EACP,KAAK;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"richText.cjs","sources":["../../../../src/types/value/richText.ts"],"sourcesContent":["import type { FieldState } from \"./types\";\n\nimport type { FilledContentRelationshipField } from \"./contentRelationship\";\nimport type { EmbedField } from \"./embed\";\nimport type { FilledLinkToWebField } from \"./link\";\nimport type { FilledLinkToMediaField } from \"./linkToMedia\";\n\n/**\n * Types enum for RichTextNodes\n *\n * @see More details: {@link https://prismic.io/docs/rich-text-title}\n */\nexport const RichTextNodeType = {\n\theading1: \"heading1\",\n\theading2: \"heading2\",\n\theading3: \"heading3\",\n\theading4: \"heading4\",\n\theading5: \"heading5\",\n\theading6: \"heading6\",\n\tparagraph: \"paragraph\",\n\tpreformatted: \"preformatted\",\n\tstrong: \"strong\",\n\tem: \"em\",\n\tlistItem: \"list-item\",\n\toListItem: \"o-list-item\",\n\tlist: \"group-list-item\",\n\toList: \"group-o-list-item\",\n\timage: \"image\",\n\tembed: \"embed\",\n\thyperlink: \"hyperlink\",\n\tlabel: \"label\",\n\tspan: \"span\",\n} as const;\n\n/**\n * Types for RichTextNodes\n *\n * @see More details: {@link https://prismic.io/docs/rich-text-title}\n */\nexport type RichTextNodeTypes =\n\t(typeof RichTextNodeType)[keyof typeof RichTextNodeType];\n\n// Text nodes\n\n/**\n * Base to be extended by other rich text nodes.\n */\nexport interface RTTextNodeBase {\n\ttext: string;\n\tspans: RTInlineNode[];\n\tdirection?: \"ltr\" | \"rtl\";\n}\n\n/**\n * Rich text `heading1` node\n */\nexport interface RTHeading1Node extends RTTextNodeBase {\n\ttype: typeof RichTextNodeType.heading1;\n}\n\n/**\n * Rich text `heading2` node\n */\nexport interface RTHeading2Node extends RTTextNodeBase {\n\ttype: typeof RichTextNodeType.heading2;\n}\n\n/**\n * Rich text `heading3` node\n */\nexport interface RTHeading3Node extends RTTextNodeBase {\n\ttype: typeof RichTextNodeType.heading3;\n}\n\n/**\n * Rich text `heading4` node\n */\nexport interface RTHeading4Node extends RTTextNodeBase {\n\ttype: typeof RichTextNodeType.heading4;\n}\n\n/**\n * Rich text `heading5` node\n */\nexport interface RTHeading5Node extends RTTextNodeBase {\n\ttype: typeof RichTextNodeType.heading5;\n}\n\n/**\n * Rich text `heading6` node\n */\nexport interface RTHeading6Node extends RTTextNodeBase {\n\ttype: typeof RichTextNodeType.heading6;\n}\n\n/**\n * Rich text `paragraph` node\n */\nexport interface RTParagraphNode extends RTTextNodeBase {\n\ttype: typeof RichTextNodeType.paragraph;\n}\n\n/**\n * Rich text `preformatted` node\n */\nexport interface RTPreformattedNode extends RTTextNodeBase {\n\ttype: typeof RichTextNodeType.preformatted;\n}\n\n/**\n * Rich text `list-item` node\n */\nexport interface RTListItemNode extends RTTextNodeBase {\n\ttype: typeof RichTextNodeType.listItem;\n}\n\n/**\n * Rich text `o-list-item` node for ordered lists\n */\nexport interface RTOListItemNode extends RTTextNodeBase {\n\ttype: typeof RichTextNodeType.oListItem;\n}\n\n// Span nodes\n\n/**\n * @internal Span Node base to be extended for other Span nodes\n */\nexport interface RTSpanNodeBase {\n\tstart: number;\n\tend: number;\n}\n/**\n * Rich text `strong` node\n */\nexport interface RTStrongNode extends RTSpanNodeBase {\n\ttype: typeof RichTextNodeType.strong;\n}\n\n/**\n * Rich text `embed` node\n */\nexport interface RTEmNode extends RTSpanNodeBase {\n\ttype: typeof RichTextNodeType.em;\n}\n\n/**\n * Rich text `label` node\n */\nexport interface RTLabelNode extends RTSpanNodeBase {\n\ttype: typeof RichTextNodeType.label;\n\tdata: {\n\t\tlabel: string;\n\t};\n}\n\n// Media nodes\n\n/**\n * Rich text `image` nodes. They could link to other documents, external web\n * links and media fields\n */\nexport type RTImageNode = {\n\ttype: typeof RichTextNodeType.image;\n\tid: string;\n\turl: string;\n\talt: string | null;\n\tcopyright: string | null;\n\tdimensions: {\n\t\twidth: number;\n\t\theight: number;\n\t};\n\tedit: {\n\t\tx: number;\n\t\ty: number;\n\t\tzoom: number;\n\t\tbackground: string;\n\t};\n\tlinkTo?:\n\t\t| FilledContentRelationshipField\n\t\t| FilledLinkToWebField\n\t\t| FilledLinkToMediaField;\n};\n\n/**\n * Rich text `embed` node\n */\nexport type RTEmbedNode = {\n\ttype: typeof RichTextNodeType.embed;\n\toembed: EmbedField;\n};\n\n// Link nodes\n\n/**\n * Rich text `a` node\n *\n * @see More details: {@link https://prismic.io/docs/rich-text-title#elements-and-styles}\n */\nexport interface RTLinkNode extends RTSpanNodeBase {\n\ttype: typeof RichTextNodeType.hyperlink;\n\tdata:\n\t\t| FilledContentRelationshipField\n\t\t| FilledLinkToWebField\n\t\t| FilledLinkToMediaField;\n}\n\n// Serialization related nodes\n\n/**\n * Rich text `list` node\n */\nexport interface RTListNode {\n\ttype: typeof RichTextNodeType.list;\n\titems: RTListItemNode[];\n}\n\n/**\n * Rich text o-lost node\n */\nexport interface RTOListNode {\n\ttype: typeof RichTextNodeType.oList;\n\titems: RTOListItemNode[];\n}\n\n// This one is confusing but it's actually the inner content of a block\n/**\n * Rich text `span` node\n */\nexport interface RTSpanNode extends RTTextNodeBase {\n\ttype: typeof RichTextNodeType.span;\n}\n\n// Helpers\n\n/**\n * Nodes from a rich text field\n */\nexport type RTNode =\n\t| RTHeading1Node\n\t| RTHeading2Node\n\t| RTHeading3Node\n\t| RTHeading4Node\n\t| RTHeading5Node\n\t| RTHeading6Node\n\t| RTParagraphNode\n\t| RTPreformattedNode\n\t| RTListItemNode\n\t| RTOListItemNode\n\t| RTImageNode\n\t| RTEmbedNode;\n\n/**\n * Rich text nodes with text\n */\nexport type RTTextNode =\n\t| RTHeading1Node\n\t| RTHeading2Node\n\t| RTHeading3Node\n\t| RTHeading4Node\n\t| RTHeading5Node\n\t| RTHeading6Node\n\t| RTParagraphNode\n\t| RTPreformattedNode\n\t| RTListItemNode\n\t| RTOListItemNode;\n\n/**\n * Rich text block nodes\n */\nexport type RTBlockNode =\n\t| RTHeading1Node\n\t| RTHeading2Node\n\t| RTHeading3Node\n\t| RTHeading4Node\n\t| RTHeading5Node\n\t| RTHeading6Node\n\t| RTParagraphNode\n\t| RTPreformattedNode\n\t| RTListItemNode\n\t| RTOListItemNode\n\t| RTListNode\n\t| RTOListNode\n\t| RTImageNode\n\t| RTEmbedNode;\n\n/**\n * Inline rich text nodes\n */\nexport type RTInlineNode = RTStrongNode | RTEmNode | RTLabelNode | RTLinkNode;\n\n/**\n * All rich text nodes\n */\nexport type RTAnyNode = RTBlockNode | RTInlineNode | RTSpanNode;\n\n/**\n * A rich text field.\n *\n * @see Rich text field documentation: {@link https://prismic.io/docs/rich-text-title}\n */\nexport type RichTextField<State extends FieldState = FieldState> =\n\tState extends \"empty\" ? [] : [RTNode, ...RTNode[]];\n"],"names":[],"mappings":";;AAYO,MAAM,mBAAmB;AAAA,EAC/B,UAAU;AAAA,EACV,UAAU;AAAA,EACV,UAAU;AAAA,EACV,UAAU;AAAA,EACV,UAAU;AAAA,EACV,UAAU;AAAA,EACV,WAAW;AAAA,EACX,cAAc;AAAA,EACd,QAAQ;AAAA,EACR,IAAI;AAAA,EACJ,UAAU;AAAA,EACV,WAAW;AAAA,EACX,MAAM;AAAA,EACN,OAAO;AAAA,EACP,OAAO;AAAA,EACP,OAAO;AAAA,EACP,WAAW;AAAA,EACX,OAAO;AAAA,EACP,MAAM;;;"}
1
+ {"version":3,"file":"richText.cjs","sources":["../../../../src/types/value/richText.ts"],"sourcesContent":["import type { FieldState } from \"./types\"\n\nimport type { FilledContentRelationshipField } from \"./contentRelationship\"\nimport type { EmbedField } from \"./embed\"\nimport type { FilledLinkToWebField } from \"./link\"\nimport type { FilledLinkToMediaField } from \"./linkToMedia\"\n\n/**\n * Types enum for RichTextNodes\n *\n * @see More details: {@link https://prismic.io/docs/rich-text-title}\n */\nexport const RichTextNodeType = {\n\theading1: \"heading1\",\n\theading2: \"heading2\",\n\theading3: \"heading3\",\n\theading4: \"heading4\",\n\theading5: \"heading5\",\n\theading6: \"heading6\",\n\tparagraph: \"paragraph\",\n\tpreformatted: \"preformatted\",\n\tstrong: \"strong\",\n\tem: \"em\",\n\tlistItem: \"list-item\",\n\toListItem: \"o-list-item\",\n\tlist: \"group-list-item\",\n\toList: \"group-o-list-item\",\n\timage: \"image\",\n\tembed: \"embed\",\n\thyperlink: \"hyperlink\",\n\tlabel: \"label\",\n\tspan: \"span\",\n} as const\n\n/**\n * Types for RichTextNodes\n *\n * @see More details: {@link https://prismic.io/docs/rich-text-title}\n */\nexport type RichTextNodeTypes =\n\t(typeof RichTextNodeType)[keyof typeof RichTextNodeType]\n\n// Text nodes\n\n/**\n * Base to be extended by other rich text nodes.\n */\nexport interface RTTextNodeBase {\n\ttext: string\n\tspans: RTInlineNode[]\n\tdirection?: \"ltr\" | \"rtl\"\n}\n\n/**\n * Rich text `heading1` node\n */\nexport interface RTHeading1Node extends RTTextNodeBase {\n\ttype: typeof RichTextNodeType.heading1\n}\n\n/**\n * Rich text `heading2` node\n */\nexport interface RTHeading2Node extends RTTextNodeBase {\n\ttype: typeof RichTextNodeType.heading2\n}\n\n/**\n * Rich text `heading3` node\n */\nexport interface RTHeading3Node extends RTTextNodeBase {\n\ttype: typeof RichTextNodeType.heading3\n}\n\n/**\n * Rich text `heading4` node\n */\nexport interface RTHeading4Node extends RTTextNodeBase {\n\ttype: typeof RichTextNodeType.heading4\n}\n\n/**\n * Rich text `heading5` node\n */\nexport interface RTHeading5Node extends RTTextNodeBase {\n\ttype: typeof RichTextNodeType.heading5\n}\n\n/**\n * Rich text `heading6` node\n */\nexport interface RTHeading6Node extends RTTextNodeBase {\n\ttype: typeof RichTextNodeType.heading6\n}\n\n/**\n * Rich text `paragraph` node\n */\nexport interface RTParagraphNode extends RTTextNodeBase {\n\ttype: typeof RichTextNodeType.paragraph\n}\n\n/**\n * Rich text `preformatted` node\n */\nexport interface RTPreformattedNode extends RTTextNodeBase {\n\ttype: typeof RichTextNodeType.preformatted\n}\n\n/**\n * Rich text `list-item` node\n */\nexport interface RTListItemNode extends RTTextNodeBase {\n\ttype: typeof RichTextNodeType.listItem\n}\n\n/**\n * Rich text `o-list-item` node for ordered lists\n */\nexport interface RTOListItemNode extends RTTextNodeBase {\n\ttype: typeof RichTextNodeType.oListItem\n}\n\n// Span nodes\n\n/**\n * @internal Span Node base to be extended for other Span nodes\n */\nexport interface RTSpanNodeBase {\n\tstart: number\n\tend: number\n}\n/**\n * Rich text `strong` node\n */\nexport interface RTStrongNode extends RTSpanNodeBase {\n\ttype: typeof RichTextNodeType.strong\n}\n\n/**\n * Rich text `embed` node\n */\nexport interface RTEmNode extends RTSpanNodeBase {\n\ttype: typeof RichTextNodeType.em\n}\n\n/**\n * Rich text `label` node\n */\nexport interface RTLabelNode extends RTSpanNodeBase {\n\ttype: typeof RichTextNodeType.label\n\tdata: {\n\t\tlabel: string\n\t}\n}\n\n// Media nodes\n\n/**\n * Rich text `image` nodes. They could link to other documents, external web\n * links and media fields\n */\nexport type RTImageNode = {\n\ttype: typeof RichTextNodeType.image\n\tid: string\n\turl: string\n\talt: string | null\n\tcopyright: string | null\n\tdimensions: {\n\t\twidth: number\n\t\theight: number\n\t}\n\tedit: {\n\t\tx: number\n\t\ty: number\n\t\tzoom: number\n\t\tbackground: string\n\t}\n\tlinkTo?:\n\t\t| FilledContentRelationshipField\n\t\t| FilledLinkToWebField\n\t\t| FilledLinkToMediaField\n}\n\n/**\n * Rich text `embed` node\n */\nexport type RTEmbedNode = {\n\ttype: typeof RichTextNodeType.embed\n\toembed: EmbedField\n}\n\n// Link nodes\n\n/**\n * Rich text `a` node\n *\n * @see More details: {@link https://prismic.io/docs/rich-text-title#elements-and-styles}\n */\nexport interface RTLinkNode extends RTSpanNodeBase {\n\ttype: typeof RichTextNodeType.hyperlink\n\tdata:\n\t\t| FilledContentRelationshipField\n\t\t| FilledLinkToWebField\n\t\t| FilledLinkToMediaField\n}\n\n// Serialization related nodes\n\n/**\n * Rich text `list` node\n */\nexport interface RTListNode {\n\ttype: typeof RichTextNodeType.list\n\titems: RTListItemNode[]\n}\n\n/**\n * Rich text o-lost node\n */\nexport interface RTOListNode {\n\ttype: typeof RichTextNodeType.oList\n\titems: RTOListItemNode[]\n}\n\n// This one is confusing but it's actually the inner content of a block\n/**\n * Rich text `span` node\n */\nexport interface RTSpanNode extends RTTextNodeBase {\n\ttype: typeof RichTextNodeType.span\n}\n\n// Helpers\n\n/**\n * Nodes from a rich text field\n */\nexport type RTNode =\n\t| RTHeading1Node\n\t| RTHeading2Node\n\t| RTHeading3Node\n\t| RTHeading4Node\n\t| RTHeading5Node\n\t| RTHeading6Node\n\t| RTParagraphNode\n\t| RTPreformattedNode\n\t| RTListItemNode\n\t| RTOListItemNode\n\t| RTImageNode\n\t| RTEmbedNode\n\n/**\n * Rich text nodes with text\n */\nexport type RTTextNode =\n\t| RTHeading1Node\n\t| RTHeading2Node\n\t| RTHeading3Node\n\t| RTHeading4Node\n\t| RTHeading5Node\n\t| RTHeading6Node\n\t| RTParagraphNode\n\t| RTPreformattedNode\n\t| RTListItemNode\n\t| RTOListItemNode\n\n/**\n * Rich text block nodes\n */\nexport type RTBlockNode =\n\t| RTHeading1Node\n\t| RTHeading2Node\n\t| RTHeading3Node\n\t| RTHeading4Node\n\t| RTHeading5Node\n\t| RTHeading6Node\n\t| RTParagraphNode\n\t| RTPreformattedNode\n\t| RTListItemNode\n\t| RTOListItemNode\n\t| RTListNode\n\t| RTOListNode\n\t| RTImageNode\n\t| RTEmbedNode\n\n/**\n * Inline rich text nodes\n */\nexport type RTInlineNode = RTStrongNode | RTEmNode | RTLabelNode | RTLinkNode\n\n/**\n * All rich text nodes\n */\nexport type RTAnyNode = RTBlockNode | RTInlineNode | RTSpanNode\n\n/**\n * A rich text field.\n *\n * @see Rich text field documentation: {@link https://prismic.io/docs/rich-text-title}\n */\nexport type RichTextField<State extends FieldState = FieldState> =\n\tState extends \"empty\" ? [] : [RTNode, ...RTNode[]]\n"],"names":[],"mappings":";;AAYO,MAAM,mBAAmB;AAAA,EAC/B,UAAU;AAAA,EACV,UAAU;AAAA,EACV,UAAU;AAAA,EACV,UAAU;AAAA,EACV,UAAU;AAAA,EACV,UAAU;AAAA,EACV,WAAW;AAAA,EACX,cAAc;AAAA,EACd,QAAQ;AAAA,EACR,IAAI;AAAA,EACJ,UAAU;AAAA,EACV,WAAW;AAAA,EACX,MAAM;AAAA,EACN,OAAO;AAAA,EACP,OAAO;AAAA,EACP,OAAO;AAAA,EACP,WAAW;AAAA,EACX,OAAO;AAAA,EACP,MAAM;;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"richText.js","sources":["../../../../src/types/value/richText.ts"],"sourcesContent":["import type { FieldState } from \"./types\";\n\nimport type { FilledContentRelationshipField } from \"./contentRelationship\";\nimport type { EmbedField } from \"./embed\";\nimport type { FilledLinkToWebField } from \"./link\";\nimport type { FilledLinkToMediaField } from \"./linkToMedia\";\n\n/**\n * Types enum for RichTextNodes\n *\n * @see More details: {@link https://prismic.io/docs/rich-text-title}\n */\nexport const RichTextNodeType = {\n\theading1: \"heading1\",\n\theading2: \"heading2\",\n\theading3: \"heading3\",\n\theading4: \"heading4\",\n\theading5: \"heading5\",\n\theading6: \"heading6\",\n\tparagraph: \"paragraph\",\n\tpreformatted: \"preformatted\",\n\tstrong: \"strong\",\n\tem: \"em\",\n\tlistItem: \"list-item\",\n\toListItem: \"o-list-item\",\n\tlist: \"group-list-item\",\n\toList: \"group-o-list-item\",\n\timage: \"image\",\n\tembed: \"embed\",\n\thyperlink: \"hyperlink\",\n\tlabel: \"label\",\n\tspan: \"span\",\n} as const;\n\n/**\n * Types for RichTextNodes\n *\n * @see More details: {@link https://prismic.io/docs/rich-text-title}\n */\nexport type RichTextNodeTypes =\n\t(typeof RichTextNodeType)[keyof typeof RichTextNodeType];\n\n// Text nodes\n\n/**\n * Base to be extended by other rich text nodes.\n */\nexport interface RTTextNodeBase {\n\ttext: string;\n\tspans: RTInlineNode[];\n\tdirection?: \"ltr\" | \"rtl\";\n}\n\n/**\n * Rich text `heading1` node\n */\nexport interface RTHeading1Node extends RTTextNodeBase {\n\ttype: typeof RichTextNodeType.heading1;\n}\n\n/**\n * Rich text `heading2` node\n */\nexport interface RTHeading2Node extends RTTextNodeBase {\n\ttype: typeof RichTextNodeType.heading2;\n}\n\n/**\n * Rich text `heading3` node\n */\nexport interface RTHeading3Node extends RTTextNodeBase {\n\ttype: typeof RichTextNodeType.heading3;\n}\n\n/**\n * Rich text `heading4` node\n */\nexport interface RTHeading4Node extends RTTextNodeBase {\n\ttype: typeof RichTextNodeType.heading4;\n}\n\n/**\n * Rich text `heading5` node\n */\nexport interface RTHeading5Node extends RTTextNodeBase {\n\ttype: typeof RichTextNodeType.heading5;\n}\n\n/**\n * Rich text `heading6` node\n */\nexport interface RTHeading6Node extends RTTextNodeBase {\n\ttype: typeof RichTextNodeType.heading6;\n}\n\n/**\n * Rich text `paragraph` node\n */\nexport interface RTParagraphNode extends RTTextNodeBase {\n\ttype: typeof RichTextNodeType.paragraph;\n}\n\n/**\n * Rich text `preformatted` node\n */\nexport interface RTPreformattedNode extends RTTextNodeBase {\n\ttype: typeof RichTextNodeType.preformatted;\n}\n\n/**\n * Rich text `list-item` node\n */\nexport interface RTListItemNode extends RTTextNodeBase {\n\ttype: typeof RichTextNodeType.listItem;\n}\n\n/**\n * Rich text `o-list-item` node for ordered lists\n */\nexport interface RTOListItemNode extends RTTextNodeBase {\n\ttype: typeof RichTextNodeType.oListItem;\n}\n\n// Span nodes\n\n/**\n * @internal Span Node base to be extended for other Span nodes\n */\nexport interface RTSpanNodeBase {\n\tstart: number;\n\tend: number;\n}\n/**\n * Rich text `strong` node\n */\nexport interface RTStrongNode extends RTSpanNodeBase {\n\ttype: typeof RichTextNodeType.strong;\n}\n\n/**\n * Rich text `embed` node\n */\nexport interface RTEmNode extends RTSpanNodeBase {\n\ttype: typeof RichTextNodeType.em;\n}\n\n/**\n * Rich text `label` node\n */\nexport interface RTLabelNode extends RTSpanNodeBase {\n\ttype: typeof RichTextNodeType.label;\n\tdata: {\n\t\tlabel: string;\n\t};\n}\n\n// Media nodes\n\n/**\n * Rich text `image` nodes. They could link to other documents, external web\n * links and media fields\n */\nexport type RTImageNode = {\n\ttype: typeof RichTextNodeType.image;\n\tid: string;\n\turl: string;\n\talt: string | null;\n\tcopyright: string | null;\n\tdimensions: {\n\t\twidth: number;\n\t\theight: number;\n\t};\n\tedit: {\n\t\tx: number;\n\t\ty: number;\n\t\tzoom: number;\n\t\tbackground: string;\n\t};\n\tlinkTo?:\n\t\t| FilledContentRelationshipField\n\t\t| FilledLinkToWebField\n\t\t| FilledLinkToMediaField;\n};\n\n/**\n * Rich text `embed` node\n */\nexport type RTEmbedNode = {\n\ttype: typeof RichTextNodeType.embed;\n\toembed: EmbedField;\n};\n\n// Link nodes\n\n/**\n * Rich text `a` node\n *\n * @see More details: {@link https://prismic.io/docs/rich-text-title#elements-and-styles}\n */\nexport interface RTLinkNode extends RTSpanNodeBase {\n\ttype: typeof RichTextNodeType.hyperlink;\n\tdata:\n\t\t| FilledContentRelationshipField\n\t\t| FilledLinkToWebField\n\t\t| FilledLinkToMediaField;\n}\n\n// Serialization related nodes\n\n/**\n * Rich text `list` node\n */\nexport interface RTListNode {\n\ttype: typeof RichTextNodeType.list;\n\titems: RTListItemNode[];\n}\n\n/**\n * Rich text o-lost node\n */\nexport interface RTOListNode {\n\ttype: typeof RichTextNodeType.oList;\n\titems: RTOListItemNode[];\n}\n\n// This one is confusing but it's actually the inner content of a block\n/**\n * Rich text `span` node\n */\nexport interface RTSpanNode extends RTTextNodeBase {\n\ttype: typeof RichTextNodeType.span;\n}\n\n// Helpers\n\n/**\n * Nodes from a rich text field\n */\nexport type RTNode =\n\t| RTHeading1Node\n\t| RTHeading2Node\n\t| RTHeading3Node\n\t| RTHeading4Node\n\t| RTHeading5Node\n\t| RTHeading6Node\n\t| RTParagraphNode\n\t| RTPreformattedNode\n\t| RTListItemNode\n\t| RTOListItemNode\n\t| RTImageNode\n\t| RTEmbedNode;\n\n/**\n * Rich text nodes with text\n */\nexport type RTTextNode =\n\t| RTHeading1Node\n\t| RTHeading2Node\n\t| RTHeading3Node\n\t| RTHeading4Node\n\t| RTHeading5Node\n\t| RTHeading6Node\n\t| RTParagraphNode\n\t| RTPreformattedNode\n\t| RTListItemNode\n\t| RTOListItemNode;\n\n/**\n * Rich text block nodes\n */\nexport type RTBlockNode =\n\t| RTHeading1Node\n\t| RTHeading2Node\n\t| RTHeading3Node\n\t| RTHeading4Node\n\t| RTHeading5Node\n\t| RTHeading6Node\n\t| RTParagraphNode\n\t| RTPreformattedNode\n\t| RTListItemNode\n\t| RTOListItemNode\n\t| RTListNode\n\t| RTOListNode\n\t| RTImageNode\n\t| RTEmbedNode;\n\n/**\n * Inline rich text nodes\n */\nexport type RTInlineNode = RTStrongNode | RTEmNode | RTLabelNode | RTLinkNode;\n\n/**\n * All rich text nodes\n */\nexport type RTAnyNode = RTBlockNode | RTInlineNode | RTSpanNode;\n\n/**\n * A rich text field.\n *\n * @see Rich text field documentation: {@link https://prismic.io/docs/rich-text-title}\n */\nexport type RichTextField<State extends FieldState = FieldState> =\n\tState extends \"empty\" ? [] : [RTNode, ...RTNode[]];\n"],"names":[],"mappings":"AAYO,MAAM,mBAAmB;AAAA,EAC/B,UAAU;AAAA,EACV,UAAU;AAAA,EACV,UAAU;AAAA,EACV,UAAU;AAAA,EACV,UAAU;AAAA,EACV,UAAU;AAAA,EACV,WAAW;AAAA,EACX,cAAc;AAAA,EACd,QAAQ;AAAA,EACR,IAAI;AAAA,EACJ,UAAU;AAAA,EACV,WAAW;AAAA,EACX,MAAM;AAAA,EACN,OAAO;AAAA,EACP,OAAO;AAAA,EACP,OAAO;AAAA,EACP,WAAW;AAAA,EACX,OAAO;AAAA,EACP,MAAM;;"}
1
+ {"version":3,"file":"richText.js","sources":["../../../../src/types/value/richText.ts"],"sourcesContent":["import type { FieldState } from \"./types\"\n\nimport type { FilledContentRelationshipField } from \"./contentRelationship\"\nimport type { EmbedField } from \"./embed\"\nimport type { FilledLinkToWebField } from \"./link\"\nimport type { FilledLinkToMediaField } from \"./linkToMedia\"\n\n/**\n * Types enum for RichTextNodes\n *\n * @see More details: {@link https://prismic.io/docs/rich-text-title}\n */\nexport const RichTextNodeType = {\n\theading1: \"heading1\",\n\theading2: \"heading2\",\n\theading3: \"heading3\",\n\theading4: \"heading4\",\n\theading5: \"heading5\",\n\theading6: \"heading6\",\n\tparagraph: \"paragraph\",\n\tpreformatted: \"preformatted\",\n\tstrong: \"strong\",\n\tem: \"em\",\n\tlistItem: \"list-item\",\n\toListItem: \"o-list-item\",\n\tlist: \"group-list-item\",\n\toList: \"group-o-list-item\",\n\timage: \"image\",\n\tembed: \"embed\",\n\thyperlink: \"hyperlink\",\n\tlabel: \"label\",\n\tspan: \"span\",\n} as const\n\n/**\n * Types for RichTextNodes\n *\n * @see More details: {@link https://prismic.io/docs/rich-text-title}\n */\nexport type RichTextNodeTypes =\n\t(typeof RichTextNodeType)[keyof typeof RichTextNodeType]\n\n// Text nodes\n\n/**\n * Base to be extended by other rich text nodes.\n */\nexport interface RTTextNodeBase {\n\ttext: string\n\tspans: RTInlineNode[]\n\tdirection?: \"ltr\" | \"rtl\"\n}\n\n/**\n * Rich text `heading1` node\n */\nexport interface RTHeading1Node extends RTTextNodeBase {\n\ttype: typeof RichTextNodeType.heading1\n}\n\n/**\n * Rich text `heading2` node\n */\nexport interface RTHeading2Node extends RTTextNodeBase {\n\ttype: typeof RichTextNodeType.heading2\n}\n\n/**\n * Rich text `heading3` node\n */\nexport interface RTHeading3Node extends RTTextNodeBase {\n\ttype: typeof RichTextNodeType.heading3\n}\n\n/**\n * Rich text `heading4` node\n */\nexport interface RTHeading4Node extends RTTextNodeBase {\n\ttype: typeof RichTextNodeType.heading4\n}\n\n/**\n * Rich text `heading5` node\n */\nexport interface RTHeading5Node extends RTTextNodeBase {\n\ttype: typeof RichTextNodeType.heading5\n}\n\n/**\n * Rich text `heading6` node\n */\nexport interface RTHeading6Node extends RTTextNodeBase {\n\ttype: typeof RichTextNodeType.heading6\n}\n\n/**\n * Rich text `paragraph` node\n */\nexport interface RTParagraphNode extends RTTextNodeBase {\n\ttype: typeof RichTextNodeType.paragraph\n}\n\n/**\n * Rich text `preformatted` node\n */\nexport interface RTPreformattedNode extends RTTextNodeBase {\n\ttype: typeof RichTextNodeType.preformatted\n}\n\n/**\n * Rich text `list-item` node\n */\nexport interface RTListItemNode extends RTTextNodeBase {\n\ttype: typeof RichTextNodeType.listItem\n}\n\n/**\n * Rich text `o-list-item` node for ordered lists\n */\nexport interface RTOListItemNode extends RTTextNodeBase {\n\ttype: typeof RichTextNodeType.oListItem\n}\n\n// Span nodes\n\n/**\n * @internal Span Node base to be extended for other Span nodes\n */\nexport interface RTSpanNodeBase {\n\tstart: number\n\tend: number\n}\n/**\n * Rich text `strong` node\n */\nexport interface RTStrongNode extends RTSpanNodeBase {\n\ttype: typeof RichTextNodeType.strong\n}\n\n/**\n * Rich text `embed` node\n */\nexport interface RTEmNode extends RTSpanNodeBase {\n\ttype: typeof RichTextNodeType.em\n}\n\n/**\n * Rich text `label` node\n */\nexport interface RTLabelNode extends RTSpanNodeBase {\n\ttype: typeof RichTextNodeType.label\n\tdata: {\n\t\tlabel: string\n\t}\n}\n\n// Media nodes\n\n/**\n * Rich text `image` nodes. They could link to other documents, external web\n * links and media fields\n */\nexport type RTImageNode = {\n\ttype: typeof RichTextNodeType.image\n\tid: string\n\turl: string\n\talt: string | null\n\tcopyright: string | null\n\tdimensions: {\n\t\twidth: number\n\t\theight: number\n\t}\n\tedit: {\n\t\tx: number\n\t\ty: number\n\t\tzoom: number\n\t\tbackground: string\n\t}\n\tlinkTo?:\n\t\t| FilledContentRelationshipField\n\t\t| FilledLinkToWebField\n\t\t| FilledLinkToMediaField\n}\n\n/**\n * Rich text `embed` node\n */\nexport type RTEmbedNode = {\n\ttype: typeof RichTextNodeType.embed\n\toembed: EmbedField\n}\n\n// Link nodes\n\n/**\n * Rich text `a` node\n *\n * @see More details: {@link https://prismic.io/docs/rich-text-title#elements-and-styles}\n */\nexport interface RTLinkNode extends RTSpanNodeBase {\n\ttype: typeof RichTextNodeType.hyperlink\n\tdata:\n\t\t| FilledContentRelationshipField\n\t\t| FilledLinkToWebField\n\t\t| FilledLinkToMediaField\n}\n\n// Serialization related nodes\n\n/**\n * Rich text `list` node\n */\nexport interface RTListNode {\n\ttype: typeof RichTextNodeType.list\n\titems: RTListItemNode[]\n}\n\n/**\n * Rich text o-lost node\n */\nexport interface RTOListNode {\n\ttype: typeof RichTextNodeType.oList\n\titems: RTOListItemNode[]\n}\n\n// This one is confusing but it's actually the inner content of a block\n/**\n * Rich text `span` node\n */\nexport interface RTSpanNode extends RTTextNodeBase {\n\ttype: typeof RichTextNodeType.span\n}\n\n// Helpers\n\n/**\n * Nodes from a rich text field\n */\nexport type RTNode =\n\t| RTHeading1Node\n\t| RTHeading2Node\n\t| RTHeading3Node\n\t| RTHeading4Node\n\t| RTHeading5Node\n\t| RTHeading6Node\n\t| RTParagraphNode\n\t| RTPreformattedNode\n\t| RTListItemNode\n\t| RTOListItemNode\n\t| RTImageNode\n\t| RTEmbedNode\n\n/**\n * Rich text nodes with text\n */\nexport type RTTextNode =\n\t| RTHeading1Node\n\t| RTHeading2Node\n\t| RTHeading3Node\n\t| RTHeading4Node\n\t| RTHeading5Node\n\t| RTHeading6Node\n\t| RTParagraphNode\n\t| RTPreformattedNode\n\t| RTListItemNode\n\t| RTOListItemNode\n\n/**\n * Rich text block nodes\n */\nexport type RTBlockNode =\n\t| RTHeading1Node\n\t| RTHeading2Node\n\t| RTHeading3Node\n\t| RTHeading4Node\n\t| RTHeading5Node\n\t| RTHeading6Node\n\t| RTParagraphNode\n\t| RTPreformattedNode\n\t| RTListItemNode\n\t| RTOListItemNode\n\t| RTListNode\n\t| RTOListNode\n\t| RTImageNode\n\t| RTEmbedNode\n\n/**\n * Inline rich text nodes\n */\nexport type RTInlineNode = RTStrongNode | RTEmNode | RTLabelNode | RTLinkNode\n\n/**\n * All rich text nodes\n */\nexport type RTAnyNode = RTBlockNode | RTInlineNode | RTSpanNode\n\n/**\n * A rich text field.\n *\n * @see Rich text field documentation: {@link https://prismic.io/docs/rich-text-title}\n */\nexport type RichTextField<State extends FieldState = FieldState> =\n\tState extends \"empty\" ? [] : [RTNode, ...RTNode[]]\n"],"names":[],"mappings":"AAYO,MAAM,mBAAmB;AAAA,EAC/B,UAAU;AAAA,EACV,UAAU;AAAA,EACV,UAAU;AAAA,EACV,UAAU;AAAA,EACV,UAAU;AAAA,EACV,UAAU;AAAA,EACV,WAAW;AAAA,EACX,cAAc;AAAA,EACd,QAAQ;AAAA,EACR,IAAI;AAAA,EACJ,UAAU;AAAA,EACV,WAAW;AAAA,EACX,MAAM;AAAA,EACN,OAAO;AAAA,EACP,OAAO;AAAA,EACP,OAAO;AAAA,EACP,WAAW;AAAA,EACX,OAAO;AAAA,EACP,MAAM;;"}
@@ -1,4 +1,4 @@
1
- import { WebhookBodyBase, WebhookType } from "./types";
1
+ import type { WebhookBodyBase, WebhookType } from "./types";
2
2
  /**
3
3
  * Webhook payload sent when a Prismic repository content is updated.
4
4
  *
@@ -1,4 +1,4 @@
1
- import { WebhookBodyBase, WebhookType } from "./types";
1
+ import type { WebhookBodyBase, WebhookType } from "./types";
2
2
  /**
3
3
  * Webhook payload sent when a test webhook action is triggered.
4
4
  *
@@ -1 +1 @@
1
- {"version":3,"file":"types.cjs","sources":["../../../../src/types/webhook/types.ts"],"sourcesContent":["import { WebhookBodyAPIUpdate } from \"./apiUpdate\";\nimport { WebhookBodyTestTrigger } from \"./testTrigger\";\n\nexport type WebhookBody = WebhookBodyAPIUpdate | WebhookBodyTestTrigger;\n\n/**\n * Types of Prismic Webhooks.\n *\n * @see More details: {@link https://prismic.io/docs/webhooks}\n */\nexport const WebhookType = {\n\tAPIUpdate: \"api-update\",\n\tTestTrigger: \"test-trigger\",\n} as const;\n\nexport interface WebhookBodyBase {\n\ttype: (typeof WebhookType)[keyof typeof WebhookType];\n\tdomain: string;\n\tapiUrl: string;\n\tsecret: string | null;\n}\n"],"names":[],"mappings":";;AAUO,MAAM,cAAc;AAAA,EAC1B,WAAW;AAAA,EACX,aAAa;;;"}
1
+ {"version":3,"file":"types.cjs","sources":["../../../../src/types/webhook/types.ts"],"sourcesContent":["import type { WebhookBodyAPIUpdate } from \"./apiUpdate\"\nimport type { WebhookBodyTestTrigger } from \"./testTrigger\"\n\nexport type WebhookBody = WebhookBodyAPIUpdate | WebhookBodyTestTrigger\n\n/**\n * Types of Prismic Webhooks.\n *\n * @see More details: {@link https://prismic.io/docs/webhooks}\n */\nexport const WebhookType = {\n\tAPIUpdate: \"api-update\",\n\tTestTrigger: \"test-trigger\",\n} as const\n\nexport interface WebhookBodyBase {\n\ttype: (typeof WebhookType)[keyof typeof WebhookType]\n\tdomain: string\n\tapiUrl: string\n\tsecret: string | null\n}\n"],"names":[],"mappings":";;AAUO,MAAM,cAAc;AAAA,EAC1B,WAAW;AAAA,EACX,aAAa;;;"}
@@ -1,5 +1,5 @@
1
- import { WebhookBodyAPIUpdate } from "./apiUpdate";
2
- import { WebhookBodyTestTrigger } from "./testTrigger";
1
+ import type { WebhookBodyAPIUpdate } from "./apiUpdate";
2
+ import type { WebhookBodyTestTrigger } from "./testTrigger";
3
3
  export type WebhookBody = WebhookBodyAPIUpdate | WebhookBodyTestTrigger;
4
4
  /**
5
5
  * Types of Prismic Webhooks.
@@ -1 +1 @@
1
- {"version":3,"file":"types.js","sources":["../../../../src/types/webhook/types.ts"],"sourcesContent":["import { WebhookBodyAPIUpdate } from \"./apiUpdate\";\nimport { WebhookBodyTestTrigger } from \"./testTrigger\";\n\nexport type WebhookBody = WebhookBodyAPIUpdate | WebhookBodyTestTrigger;\n\n/**\n * Types of Prismic Webhooks.\n *\n * @see More details: {@link https://prismic.io/docs/webhooks}\n */\nexport const WebhookType = {\n\tAPIUpdate: \"api-update\",\n\tTestTrigger: \"test-trigger\",\n} as const;\n\nexport interface WebhookBodyBase {\n\ttype: (typeof WebhookType)[keyof typeof WebhookType];\n\tdomain: string;\n\tapiUrl: string;\n\tsecret: string | null;\n}\n"],"names":[],"mappings":"AAUO,MAAM,cAAc;AAAA,EAC1B,WAAW;AAAA,EACX,aAAa;;"}
1
+ {"version":3,"file":"types.js","sources":["../../../../src/types/webhook/types.ts"],"sourcesContent":["import type { WebhookBodyAPIUpdate } from \"./apiUpdate\"\nimport type { WebhookBodyTestTrigger } from \"./testTrigger\"\n\nexport type WebhookBody = WebhookBodyAPIUpdate | WebhookBodyTestTrigger\n\n/**\n * Types of Prismic Webhooks.\n *\n * @see More details: {@link https://prismic.io/docs/webhooks}\n */\nexport const WebhookType = {\n\tAPIUpdate: \"api-update\",\n\tTestTrigger: \"test-trigger\",\n} as const\n\nexport interface WebhookBodyBase {\n\ttype: (typeof WebhookType)[keyof typeof WebhookType]\n\tdomain: string\n\tapiUrl: string\n\tsecret: string | null\n}\n"],"names":[],"mappings":"AAUO,MAAM,cAAc;AAAA,EAC1B,WAAW;AAAA,EACX,aAAa;;"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@prismicio/client",
3
- "version": "7.7.3",
3
+ "version": "7.7.5-alpha.0",
4
4
  "description": "The official JavaScript + TypeScript client library for Prismic",
5
5
  "keywords": [
6
6
  "typescript",
@@ -79,19 +79,10 @@
79
79
  "test": "npm run lint && npm run types && npm run unit && npm run build && npm run size"
80
80
  },
81
81
  "dependencies": {
82
+ "css-selector-parser": "^3.0.5",
82
83
  "hast": "^1.0.0",
83
- "hast-util-select": "^6.0.2",
84
- "hast-util-to-html": "^9.0.1",
85
84
  "imgix-url-builder": "^0.0.5",
86
- "mdast-util-to-string": "^4.0.0",
87
- "rehype-minify-whitespace": "^6.0.0",
88
- "rehype-parse": "^9.0.0",
89
- "remark-parse": "^11.0.0",
90
- "remark-rehype": "^11.1.0",
91
- "unified": "^11.0.5",
92
- "unist-util-remove": "^4.0.0",
93
- "unist-util-visit": "^5.0.0",
94
- "vfile": "^6.0.2"
85
+ "parse5": "^7.1.2"
95
86
  },
96
87
  "devDependencies": {
97
88
  "@prismicio/mock": "^0.3.7",
@@ -106,15 +97,26 @@
106
97
  "eslint-config-prettier": "^9.1.0",
107
98
  "eslint-plugin-prettier": "^5.2.1",
108
99
  "eslint-plugin-tsdoc": "^0.3.0",
100
+ "hast-util-select": "^6.0.2",
101
+ "hast-util-to-html": "^9.0.1",
102
+ "hast-util-to-string": "^3.0.0",
109
103
  "msw": "^1.3.3",
110
104
  "node-fetch": "^3.3.2",
111
105
  "prettier": "^3.3.3",
112
106
  "prettier-plugin-jsdoc": "1.3.0",
107
+ "rehype-minify-whitespace": "^6.0.0",
108
+ "rehype-parse": "^9.0.0",
109
+ "remark-parse": "^11.0.0",
110
+ "remark-rehype": "^11.1.0",
113
111
  "size-limit": "^11.1.4",
114
112
  "standard-version": "^9.5.0",
115
113
  "ts-expect": "^1.3.0",
116
114
  "typescript": "^5.5.4",
117
- "vite": "^5.3.4",
115
+ "unified": "^11.0.5",
116
+ "unist-util-remove": "^4.0.0",
117
+ "unist-util-visit": "^5.0.0",
118
+ "vfile": "^6.0.2",
119
+ "vite": "^5.3.5",
118
120
  "vite-plugin-sdk": "^0.1.2",
119
121
  "vitest": "^2.0.4"
120
122
  },