@makeswift/runtime 0.24.9-canary.0 → 0.24.9

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 (511) hide show
  1. package/dist/cjs/api/site-version/index.js +103 -0
  2. package/dist/cjs/api/site-version/index.js.map +1 -0
  3. package/dist/cjs/api-handler/cookies.js +38 -0
  4. package/dist/cjs/api-handler/cookies.js.map +1 -0
  5. package/dist/cjs/api-handler/cors.js +48 -0
  6. package/dist/cjs/api-handler/cors.js.map +1 -0
  7. package/dist/cjs/api-handler/handlers/element-tree.js +41 -0
  8. package/dist/cjs/api-handler/handlers/element-tree.js.map +1 -0
  9. package/dist/cjs/api-handler/handlers/fonts.js +33 -0
  10. package/dist/cjs/api-handler/handlers/fonts.js.map +1 -0
  11. package/dist/cjs/api-handler/handlers/manifest.js +49 -0
  12. package/dist/cjs/api-handler/handlers/manifest.js.map +1 -0
  13. package/dist/cjs/api-handler/handlers/merge-translated-data.js +41 -0
  14. package/dist/cjs/api-handler/handlers/merge-translated-data.js.map +1 -0
  15. package/dist/cjs/api-handler/handlers/redirect-live.js +52 -0
  16. package/dist/cjs/api-handler/handlers/redirect-live.js.map +1 -0
  17. package/dist/cjs/api-handler/handlers/revalidate.js +60 -0
  18. package/dist/cjs/api-handler/handlers/revalidate.js.map +1 -0
  19. package/dist/cjs/api-handler/handlers/translatable-data.js +42 -0
  20. package/dist/cjs/api-handler/handlers/translatable-data.js.map +1 -0
  21. package/dist/cjs/api-handler/handlers/webhook/index.js +51 -0
  22. package/dist/cjs/api-handler/handlers/webhook/index.js.map +1 -0
  23. package/dist/cjs/api-handler/handlers/webhook/site-published.js +37 -0
  24. package/dist/cjs/api-handler/handlers/webhook/site-published.js.map +1 -0
  25. package/dist/cjs/api-handler/handlers/webhook/types.js +46 -0
  26. package/dist/cjs/api-handler/handlers/webhook/types.js.map +1 -0
  27. package/dist/cjs/api-handler/index.js +117 -0
  28. package/dist/cjs/api-handler/index.js.map +1 -0
  29. package/dist/cjs/api-handler/node-request-response.js +99 -0
  30. package/dist/cjs/api-handler/node-request-response.js.map +1 -0
  31. package/dist/cjs/api-handler/preview.js +34 -0
  32. package/dist/cjs/api-handler/preview.js.map +1 -0
  33. package/dist/cjs/api-handler/request-response.js +52 -0
  34. package/dist/cjs/api-handler/request-response.js.map +1 -0
  35. package/dist/cjs/components/shared/react-player.js +41 -0
  36. package/dist/cjs/components/shared/react-player.js.map +1 -0
  37. package/dist/cjs/jest-setup.js +41 -0
  38. package/dist/cjs/jest-setup.js.map +1 -0
  39. package/dist/cjs/next/api-handler/app-router-handler.js +17 -0
  40. package/dist/cjs/next/api-handler/app-router-handler.js.map +1 -0
  41. package/dist/cjs/next/api-handler/config/app-router.js +63 -0
  42. package/dist/cjs/next/api-handler/config/app-router.js.map +1 -0
  43. package/dist/cjs/next/api-handler/config/base.js +39 -0
  44. package/dist/cjs/next/api-handler/config/base.js.map +1 -0
  45. package/dist/cjs/next/api-handler/config/pages-router.js +63 -0
  46. package/dist/cjs/next/api-handler/config/pages-router.js.map +1 -0
  47. package/dist/cjs/next/api-handler/handlers/app-router-redirect-preview.js +81 -0
  48. package/dist/cjs/next/api-handler/handlers/app-router-redirect-preview.js.map +1 -0
  49. package/dist/cjs/next/api-handler/handlers/clear-draft.js.map +1 -1
  50. package/dist/cjs/next/api-handler/handlers/element-tree.js.map +1 -1
  51. package/dist/cjs/next/api-handler/handlers/fonts.js.map +1 -1
  52. package/dist/cjs/next/api-handler/handlers/manifest.js +1 -1
  53. package/dist/cjs/next/api-handler/handlers/manifest.js.map +1 -1
  54. package/dist/cjs/next/api-handler/handlers/merge-translated-data.js.map +1 -1
  55. package/dist/cjs/next/api-handler/handlers/pages-router-redirect-preview.js +68 -0
  56. package/dist/cjs/next/api-handler/handlers/pages-router-redirect-preview.js.map +1 -0
  57. package/dist/cjs/next/api-handler/handlers/redirect-draft.js.map +1 -1
  58. package/dist/cjs/next/api-handler/handlers/redirect-preview.js.map +1 -1
  59. package/dist/cjs/next/api-handler/handlers/revalidate.js.map +1 -1
  60. package/dist/cjs/next/api-handler/handlers/translatable-data.js.map +1 -1
  61. package/dist/cjs/next/api-handler/handlers/webhook/index.js.map +1 -1
  62. package/dist/cjs/next/api-handler/index.js +3 -2
  63. package/dist/cjs/next/api-handler/index.js.map +1 -1
  64. package/dist/cjs/next/api-handler/preview.js +43 -0
  65. package/dist/cjs/next/api-handler/preview.js.map +1 -0
  66. package/dist/cjs/next/app-router-site-version.js +47 -0
  67. package/dist/cjs/next/app-router-site-version.js.map +1 -0
  68. package/dist/cjs/next/components/framework-provider/app-router/HeadSnippet.js +43 -0
  69. package/dist/cjs/next/components/framework-provider/app-router/HeadSnippet.js.map +1 -0
  70. package/dist/cjs/next/components/framework-provider/app-router/index.js +36 -0
  71. package/dist/cjs/next/components/framework-provider/app-router/index.js.map +1 -0
  72. package/dist/cjs/next/components/framework-provider/index.js +64 -0
  73. package/dist/cjs/next/components/framework-provider/index.js.map +1 -0
  74. package/dist/cjs/next/components/framework-provider/link.js +69 -0
  75. package/dist/cjs/next/components/framework-provider/link.js.map +1 -0
  76. package/dist/cjs/next/components/framework-provider/pages-router/HeadSnippet.js +58 -0
  77. package/dist/cjs/next/components/framework-provider/pages-router/HeadSnippet.js.map +1 -0
  78. package/dist/cjs/next/components/framework-provider/pages-router/index.js +44 -0
  79. package/dist/cjs/next/components/framework-provider/pages-router/index.js.map +1 -0
  80. package/dist/cjs/next/components/tests/__fixtures__/element-data/box-component.js +124 -0
  81. package/dist/cjs/next/components/tests/__fixtures__/element-data/box-component.js.map +1 -0
  82. package/dist/cjs/next/components/tests/__fixtures__/element-data/button-component.js +109 -0
  83. package/dist/cjs/next/components/tests/__fixtures__/element-data/button-component.js.map +1 -0
  84. package/dist/cjs/next/components/tests/__fixtures__/element-data/image-component.js +193 -0
  85. package/dist/cjs/next/components/tests/__fixtures__/element-data/image-component.js.map +1 -0
  86. package/dist/cjs/next/components/tests/__fixtures__/page-document.js +46 -0
  87. package/dist/cjs/next/components/tests/__fixtures__/page-document.js.map +1 -0
  88. package/dist/cjs/next/components/tests/__fixtures__/resources/files.js +39 -0
  89. package/dist/cjs/next/components/tests/__fixtures__/resources/files.js.map +1 -0
  90. package/dist/cjs/next/components/tests/__fixtures__/resources/index.js +27 -0
  91. package/dist/cjs/next/components/tests/__fixtures__/resources/index.js.map +1 -0
  92. package/dist/cjs/next/components/tests/__fixtures__/resources/page-pathname-slices.js +33 -0
  93. package/dist/cjs/next/components/tests/__fixtures__/resources/page-pathname-slices.js.map +1 -0
  94. package/dist/cjs/next/components/tests/__fixtures__/resources/swatches.js +35 -0
  95. package/dist/cjs/next/components/tests/__fixtures__/resources/swatches.js.map +1 -0
  96. package/dist/cjs/next/hooks/use-router-locale-sync.js +49 -0
  97. package/dist/cjs/next/hooks/use-router-locale-sync.js.map +1 -0
  98. package/dist/cjs/next/runtime-provider.js +37 -0
  99. package/dist/cjs/next/runtime-provider.js.map +1 -0
  100. package/dist/cjs/next/testing/breakpoints.js +35 -0
  101. package/dist/cjs/next/testing/breakpoints.js.map +1 -0
  102. package/dist/cjs/next/testing/element-data.js +102 -0
  103. package/dist/cjs/next/testing/element-data.js.map +1 -0
  104. package/dist/cjs/next/testing/index.js +29 -0
  105. package/dist/cjs/next/testing/index.js.map +1 -0
  106. package/dist/cjs/next/testing/page-rendering.js +65 -0
  107. package/dist/cjs/next/testing/page-rendering.js.map +1 -0
  108. package/dist/cjs/next/testing/react-provider.js +40 -0
  109. package/dist/cjs/next/testing/react-provider.js.map +1 -0
  110. package/dist/cjs/next/tests/__fixtures__/element-tree.js +1776 -0
  111. package/dist/cjs/next/tests/__fixtures__/element-tree.js.map +1 -0
  112. package/dist/cjs/next/tests/__fixtures__/resources.js +99 -0
  113. package/dist/cjs/next/tests/__fixtures__/resources.js.map +1 -0
  114. package/dist/cjs/next/tests/__fixtures__/translated-data.js +83 -0
  115. package/dist/cjs/next/tests/__fixtures__/translated-data.js.map +1 -0
  116. package/dist/cjs/runtimes/react/components/MakeswiftComponent.js +51 -0
  117. package/dist/cjs/runtimes/react/components/MakeswiftComponent.js.map +1 -0
  118. package/dist/cjs/runtimes/react/components/Slot.js +38 -0
  119. package/dist/cjs/runtimes/react/components/Slot.js.map +1 -0
  120. package/dist/cjs/runtimes/react/components/SlotProvider.js +41 -0
  121. package/dist/cjs/runtimes/react/components/SlotProvider.js.map +1 -0
  122. package/dist/cjs/runtimes/react/components/framework-context.js +76 -0
  123. package/dist/cjs/runtimes/react/components/framework-context.js.map +1 -0
  124. package/dist/cjs/runtimes/react/components/hooks/use-framework-context.js +33 -0
  125. package/dist/cjs/runtimes/react/components/hooks/use-framework-context.js.map +1 -0
  126. package/dist/cjs/runtimes/react/components/hooks/use-page-snippets.js +89 -0
  127. package/dist/cjs/runtimes/react/components/hooks/use-page-snippets.js.map +1 -0
  128. package/dist/cjs/runtimes/react/components/page/BodySnippet.js +65 -0
  129. package/dist/cjs/runtimes/react/components/page/BodySnippet.js.map +1 -0
  130. package/dist/cjs/runtimes/react/components/page/HeadSnippet.js +118 -0
  131. package/dist/cjs/runtimes/react/components/page/HeadSnippet.js.map +1 -0
  132. package/dist/cjs/runtimes/react/components/page/Page.js +44 -0
  133. package/dist/cjs/runtimes/react/components/page/Page.js.map +1 -0
  134. package/dist/cjs/runtimes/react/components/page/PageHead.js +121 -0
  135. package/dist/cjs/runtimes/react/components/page/PageHead.js.map +1 -0
  136. package/dist/cjs/runtimes/react/components/page/head-tags.js +52 -0
  137. package/dist/cjs/runtimes/react/components/page/head-tags.js.map +1 -0
  138. package/dist/cjs/runtimes/react/components/page/index.js +63 -0
  139. package/dist/cjs/runtimes/react/components/page/index.js.map +1 -0
  140. package/dist/cjs/runtimes/react/components/page/page-seo-settings.js +43 -0
  141. package/dist/cjs/runtimes/react/components/page/page-seo-settings.js.map +1 -0
  142. package/dist/cjs/runtimes/react/components/preview-switcher/preview-switcher.js +58 -0
  143. package/dist/cjs/runtimes/react/components/preview-switcher/preview-switcher.js.map +1 -0
  144. package/dist/cjs/runtimes/react/components/preview-switcher/preview-toolbar.js +87 -0
  145. package/dist/cjs/runtimes/react/components/preview-switcher/preview-toolbar.js.map +1 -0
  146. package/dist/cjs/runtimes/react/root-style-registry.js +105 -0
  147. package/dist/cjs/runtimes/react/root-style-registry.js.map +1 -0
  148. package/dist/cjs/state/toolkit.js +54 -0
  149. package/dist/cjs/state/toolkit.js.map +1 -0
  150. package/dist/cjs/testing/fixtures.js +38 -0
  151. package/dist/cjs/testing/fixtures.js.map +1 -0
  152. package/dist/cjs/utils/esm-compat.js +29 -0
  153. package/dist/cjs/utils/esm-compat.js.map +1 -0
  154. package/dist/esm/api/site-version/index.js +75 -0
  155. package/dist/esm/api/site-version/index.js.map +1 -0
  156. package/dist/esm/api-handler/cookies.js +13 -0
  157. package/dist/esm/api-handler/cookies.js.map +1 -0
  158. package/dist/esm/api-handler/cors.js +24 -0
  159. package/dist/esm/api-handler/cors.js.map +1 -0
  160. package/dist/esm/api-handler/handlers/element-tree.js +17 -0
  161. package/dist/esm/api-handler/handlers/element-tree.js.map +1 -0
  162. package/dist/esm/api-handler/handlers/fonts.js +9 -0
  163. package/dist/esm/api-handler/handlers/fonts.js.map +1 -0
  164. package/dist/esm/api-handler/handlers/manifest.js +28 -0
  165. package/dist/esm/api-handler/handlers/manifest.js.map +1 -0
  166. package/dist/esm/api-handler/handlers/merge-translated-data.js +17 -0
  167. package/dist/esm/api-handler/handlers/merge-translated-data.js.map +1 -0
  168. package/dist/esm/api-handler/handlers/redirect-live.js +27 -0
  169. package/dist/esm/api-handler/handlers/redirect-live.js.map +1 -0
  170. package/dist/esm/api-handler/handlers/revalidate.js +29 -0
  171. package/dist/esm/api-handler/handlers/revalidate.js.map +1 -0
  172. package/dist/esm/api-handler/handlers/translatable-data.js +18 -0
  173. package/dist/esm/api-handler/handlers/translatable-data.js.map +1 -0
  174. package/dist/esm/api-handler/handlers/webhook/index.js +30 -0
  175. package/dist/esm/api-handler/handlers/webhook/index.js.map +1 -0
  176. package/dist/esm/api-handler/handlers/webhook/site-published.js +13 -0
  177. package/dist/esm/api-handler/handlers/webhook/site-published.js.map +1 -0
  178. package/dist/esm/api-handler/handlers/webhook/types.js +21 -0
  179. package/dist/esm/api-handler/handlers/webhook/types.js.map +1 -0
  180. package/dist/esm/api-handler/index.js +96 -0
  181. package/dist/esm/api-handler/index.js.map +1 -0
  182. package/dist/esm/api-handler/node-request-response.js +73 -0
  183. package/dist/esm/api-handler/node-request-response.js.map +1 -0
  184. package/dist/esm/api-handler/preview.js +9 -0
  185. package/dist/esm/api-handler/preview.js.map +1 -0
  186. package/dist/esm/api-handler/request-response.js +27 -0
  187. package/dist/esm/api-handler/request-response.js.map +1 -0
  188. package/dist/esm/components/shared/react-player.js +7 -0
  189. package/dist/esm/components/shared/react-player.js.map +1 -0
  190. package/dist/esm/jest-setup.js +40 -0
  191. package/dist/esm/jest-setup.js.map +1 -0
  192. package/dist/esm/next/api-handler/app-router-handler.js +1 -0
  193. package/dist/esm/next/api-handler/app-router-handler.js.map +1 -0
  194. package/dist/esm/next/api-handler/config/app-router.js +38 -0
  195. package/dist/esm/next/api-handler/config/app-router.js.map +1 -0
  196. package/dist/esm/next/api-handler/config/base.js +15 -0
  197. package/dist/esm/next/api-handler/config/base.js.map +1 -0
  198. package/dist/esm/next/api-handler/config/pages-router.js +38 -0
  199. package/dist/esm/next/api-handler/config/pages-router.js.map +1 -0
  200. package/dist/esm/next/api-handler/handlers/app-router-redirect-preview.js +64 -0
  201. package/dist/esm/next/api-handler/handlers/app-router-redirect-preview.js.map +1 -0
  202. package/dist/esm/next/api-handler/handlers/clear-draft.js.map +1 -1
  203. package/dist/esm/next/api-handler/handlers/element-tree.js.map +1 -1
  204. package/dist/esm/next/api-handler/handlers/fonts.js.map +1 -1
  205. package/dist/esm/next/api-handler/handlers/manifest.js +1 -1
  206. package/dist/esm/next/api-handler/handlers/manifest.js.map +1 -1
  207. package/dist/esm/next/api-handler/handlers/merge-translated-data.js.map +1 -1
  208. package/dist/esm/next/api-handler/handlers/pages-router-redirect-preview.js +52 -0
  209. package/dist/esm/next/api-handler/handlers/pages-router-redirect-preview.js.map +1 -0
  210. package/dist/esm/next/api-handler/handlers/redirect-draft.js.map +1 -1
  211. package/dist/esm/next/api-handler/handlers/redirect-preview.js.map +1 -1
  212. package/dist/esm/next/api-handler/handlers/revalidate.js.map +1 -1
  213. package/dist/esm/next/api-handler/handlers/translatable-data.js.map +1 -1
  214. package/dist/esm/next/api-handler/handlers/webhook/index.js.map +1 -1
  215. package/dist/esm/next/api-handler/index.js +3 -2
  216. package/dist/esm/next/api-handler/index.js.map +1 -1
  217. package/dist/esm/next/api-handler/preview.js +15 -0
  218. package/dist/esm/next/api-handler/preview.js.map +1 -0
  219. package/dist/esm/next/app-router-site-version.js +23 -0
  220. package/dist/esm/next/app-router-site-version.js.map +1 -0
  221. package/dist/esm/next/components/framework-provider/app-router/HeadSnippet.js +22 -0
  222. package/dist/esm/next/components/framework-provider/app-router/HeadSnippet.js.map +1 -0
  223. package/dist/esm/next/components/framework-provider/app-router/index.js +14 -0
  224. package/dist/esm/next/components/framework-provider/app-router/index.js.map +1 -0
  225. package/dist/esm/next/components/framework-provider/index.js +33 -0
  226. package/dist/esm/next/components/framework-provider/index.js.map +1 -0
  227. package/dist/esm/next/components/framework-provider/link.js +35 -0
  228. package/dist/esm/next/components/framework-provider/link.js.map +1 -0
  229. package/dist/esm/next/components/framework-provider/pages-router/HeadSnippet.js +28 -0
  230. package/dist/esm/next/components/framework-provider/pages-router/HeadSnippet.js.map +1 -0
  231. package/dist/esm/next/components/framework-provider/pages-router/index.js +10 -0
  232. package/dist/esm/next/components/framework-provider/pages-router/index.js.map +1 -0
  233. package/dist/esm/next/components/tests/__fixtures__/element-data/box-component.js +99 -0
  234. package/dist/esm/next/components/tests/__fixtures__/element-data/box-component.js.map +1 -0
  235. package/dist/esm/next/components/tests/__fixtures__/element-data/button-component.js +83 -0
  236. package/dist/esm/next/components/tests/__fixtures__/element-data/button-component.js.map +1 -0
  237. package/dist/esm/next/components/tests/__fixtures__/element-data/image-component.js +169 -0
  238. package/dist/esm/next/components/tests/__fixtures__/element-data/image-component.js.map +1 -0
  239. package/dist/esm/next/components/tests/__fixtures__/page-document.js +22 -0
  240. package/dist/esm/next/components/tests/__fixtures__/page-document.js.map +1 -0
  241. package/dist/esm/next/components/tests/__fixtures__/resources/files.js +15 -0
  242. package/dist/esm/next/components/tests/__fixtures__/resources/files.js.map +1 -0
  243. package/dist/esm/next/components/tests/__fixtures__/resources/index.js +4 -0
  244. package/dist/esm/next/components/tests/__fixtures__/resources/index.js.map +1 -0
  245. package/dist/esm/next/components/tests/__fixtures__/resources/page-pathname-slices.js +9 -0
  246. package/dist/esm/next/components/tests/__fixtures__/resources/page-pathname-slices.js.map +1 -0
  247. package/dist/esm/next/components/tests/__fixtures__/resources/swatches.js +11 -0
  248. package/dist/esm/next/components/tests/__fixtures__/resources/swatches.js.map +1 -0
  249. package/dist/esm/next/hooks/use-router-locale-sync.js +25 -0
  250. package/dist/esm/next/hooks/use-router-locale-sync.js.map +1 -0
  251. package/dist/esm/next/runtime-provider.js +13 -0
  252. package/dist/esm/next/runtime-provider.js.map +1 -0
  253. package/dist/esm/next/testing/breakpoints.js +9 -0
  254. package/dist/esm/next/testing/breakpoints.js.map +1 -0
  255. package/dist/esm/next/testing/element-data.js +76 -0
  256. package/dist/esm/next/testing/element-data.js.map +1 -0
  257. package/dist/esm/next/testing/index.js +5 -0
  258. package/dist/esm/next/testing/index.js.map +1 -0
  259. package/dist/esm/next/testing/page-rendering.js +40 -0
  260. package/dist/esm/next/testing/page-rendering.js.map +1 -0
  261. package/dist/esm/next/testing/react-provider.js +16 -0
  262. package/dist/esm/next/testing/react-provider.js.map +1 -0
  263. package/dist/esm/next/tests/__fixtures__/element-tree.js +1752 -0
  264. package/dist/esm/next/tests/__fixtures__/element-tree.js.map +1 -0
  265. package/dist/esm/next/tests/__fixtures__/resources.js +69 -0
  266. package/dist/esm/next/tests/__fixtures__/resources.js.map +1 -0
  267. package/dist/esm/next/tests/__fixtures__/translated-data.js +59 -0
  268. package/dist/esm/next/tests/__fixtures__/translated-data.js.map +1 -0
  269. package/dist/esm/runtimes/react/components/MakeswiftComponent.js +29 -0
  270. package/dist/esm/runtimes/react/components/MakeswiftComponent.js.map +1 -0
  271. package/dist/esm/runtimes/react/components/Slot.js +14 -0
  272. package/dist/esm/runtimes/react/components/Slot.js.map +1 -0
  273. package/dist/esm/runtimes/react/components/SlotProvider.js +16 -0
  274. package/dist/esm/runtimes/react/components/SlotProvider.js.map +1 -0
  275. package/dist/esm/runtimes/react/components/framework-context.js +53 -0
  276. package/dist/esm/runtimes/react/components/framework-context.js.map +1 -0
  277. package/dist/esm/runtimes/react/components/hooks/use-framework-context.js +9 -0
  278. package/dist/esm/runtimes/react/components/hooks/use-framework-context.js.map +1 -0
  279. package/dist/esm/runtimes/react/components/hooks/use-page-snippets.js +55 -0
  280. package/dist/esm/runtimes/react/components/hooks/use-page-snippets.js.map +1 -0
  281. package/dist/esm/runtimes/react/components/page/BodySnippet.js +41 -0
  282. package/dist/esm/runtimes/react/components/page/BodySnippet.js.map +1 -0
  283. package/dist/esm/runtimes/react/components/page/HeadSnippet.js +80 -0
  284. package/dist/esm/runtimes/react/components/page/HeadSnippet.js.map +1 -0
  285. package/dist/esm/runtimes/react/components/page/Page.js +20 -0
  286. package/dist/esm/runtimes/react/components/page/Page.js.map +1 -0
  287. package/dist/esm/runtimes/react/components/page/PageHead.js +97 -0
  288. package/dist/esm/runtimes/react/components/page/PageHead.js.map +1 -0
  289. package/dist/esm/runtimes/react/components/page/head-tags.js +25 -0
  290. package/dist/esm/runtimes/react/components/page/head-tags.js.map +1 -0
  291. package/dist/esm/runtimes/react/components/page/index.js +41 -0
  292. package/dist/esm/runtimes/react/components/page/index.js.map +1 -0
  293. package/dist/esm/runtimes/react/components/page/page-seo-settings.js +19 -0
  294. package/dist/esm/runtimes/react/components/page/page-seo-settings.js.map +1 -0
  295. package/dist/esm/runtimes/react/components/preview-switcher/preview-switcher.js +34 -0
  296. package/dist/esm/runtimes/react/components/preview-switcher/preview-switcher.js.map +1 -0
  297. package/dist/esm/runtimes/react/components/preview-switcher/preview-toolbar.js +63 -0
  298. package/dist/esm/runtimes/react/components/preview-switcher/preview-toolbar.js.map +1 -0
  299. package/dist/esm/runtimes/react/root-style-registry.js +66 -0
  300. package/dist/esm/runtimes/react/root-style-registry.js.map +1 -0
  301. package/dist/esm/state/toolkit.js +28 -0
  302. package/dist/esm/state/toolkit.js.map +1 -0
  303. package/dist/esm/testing/fixtures.js +13 -0
  304. package/dist/esm/testing/fixtures.js.map +1 -0
  305. package/dist/esm/utils/esm-compat.js +5 -0
  306. package/dist/esm/utils/esm-compat.js.map +1 -0
  307. package/dist/types/api/site-version/index.d.ts +19 -0
  308. package/dist/types/api/site-version/index.d.ts.map +1 -0
  309. package/dist/types/api/site-version/site-version.test.d.ts +2 -0
  310. package/dist/types/api/site-version/site-version.test.d.ts.map +1 -0
  311. package/dist/types/api-handler/cookies.d.ts +9 -0
  312. package/dist/types/api-handler/cookies.d.ts.map +1 -0
  313. package/dist/types/api-handler/cors.d.ts +10 -0
  314. package/dist/types/api-handler/cors.d.ts.map +1 -0
  315. package/dist/types/api-handler/handlers/element-tree.d.ts +9 -0
  316. package/dist/types/api-handler/handlers/element-tree.d.ts.map +1 -0
  317. package/dist/types/api-handler/handlers/fonts.d.ts +18 -0
  318. package/dist/types/api-handler/handlers/fonts.d.ts.map +1 -0
  319. package/dist/types/api-handler/handlers/manifest.d.ts +18 -0
  320. package/dist/types/api-handler/handlers/manifest.d.ts.map +1 -0
  321. package/dist/types/api-handler/handlers/merge-translated-data.d.ts +11 -0
  322. package/dist/types/api-handler/handlers/merge-translated-data.d.ts.map +1 -0
  323. package/dist/types/api-handler/handlers/redirect-live.d.ts +6 -0
  324. package/dist/types/api-handler/handlers/redirect-live.d.ts.map +1 -0
  325. package/dist/types/api-handler/handlers/revalidate.d.ts +10 -0
  326. package/dist/types/api-handler/handlers/revalidate.d.ts.map +1 -0
  327. package/dist/types/api-handler/handlers/translatable-data.d.ts +15 -0
  328. package/dist/types/api-handler/handlers/translatable-data.d.ts.map +1 -0
  329. package/dist/types/api-handler/handlers/webhook/index.d.ts +12 -0
  330. package/dist/types/api-handler/handlers/webhook/index.d.ts.map +1 -0
  331. package/dist/types/api-handler/handlers/webhook/site-published.d.ts +8 -0
  332. package/dist/types/api-handler/handlers/webhook/site-published.d.ts.map +1 -0
  333. package/dist/types/api-handler/handlers/webhook/types.d.ts +120 -0
  334. package/dist/types/api-handler/handlers/webhook/types.d.ts.map +1 -0
  335. package/dist/types/api-handler/index.d.ts +35 -0
  336. package/dist/types/api-handler/index.d.ts.map +1 -0
  337. package/dist/types/api-handler/node-request-response.d.ts +8 -0
  338. package/dist/types/api-handler/node-request-response.d.ts.map +1 -0
  339. package/dist/types/api-handler/node-request-response.test.d.ts +2 -0
  340. package/dist/types/api-handler/node-request-response.test.d.ts.map +1 -0
  341. package/dist/types/api-handler/preview.d.ts +5 -0
  342. package/dist/types/api-handler/preview.d.ts.map +1 -0
  343. package/dist/types/api-handler/request-response.d.ts +13 -0
  344. package/dist/types/api-handler/request-response.d.ts.map +1 -0
  345. package/dist/types/components/shared/react-player.d.ts +3 -0
  346. package/dist/types/components/shared/react-player.d.ts.map +1 -0
  347. package/dist/types/next/api-handler/app-router-handler.d.ts +8 -0
  348. package/dist/types/next/api-handler/app-router-handler.d.ts.map +1 -0
  349. package/dist/types/next/api-handler/config/app-router.d.ts +18 -0
  350. package/dist/types/next/api-handler/config/app-router.d.ts.map +1 -0
  351. package/dist/types/next/api-handler/config/base.d.ts +15 -0
  352. package/dist/types/next/api-handler/config/base.d.ts.map +1 -0
  353. package/dist/types/next/api-handler/config/pages-router.d.ts +11 -0
  354. package/dist/types/next/api-handler/config/pages-router.d.ts.map +1 -0
  355. package/dist/types/next/api-handler/handlers/app-router-redirect-preview.d.ts +5 -0
  356. package/dist/types/next/api-handler/handlers/app-router-redirect-preview.d.ts.map +1 -0
  357. package/dist/types/next/api-handler/handlers/app-router-redirect-preview.test.d.ts +2 -0
  358. package/dist/types/next/api-handler/handlers/app-router-redirect-preview.test.d.ts.map +1 -0
  359. package/dist/types/next/api-handler/handlers/clear-draft.d.ts +1 -5
  360. package/dist/types/next/api-handler/handlers/clear-draft.d.ts.map +1 -1
  361. package/dist/types/next/api-handler/handlers/element-tree.d.ts +1 -5
  362. package/dist/types/next/api-handler/handlers/element-tree.d.ts.map +1 -1
  363. package/dist/types/next/api-handler/handlers/fonts.d.ts +1 -5
  364. package/dist/types/next/api-handler/handlers/fonts.d.ts.map +1 -1
  365. package/dist/types/next/api-handler/handlers/manifest.d.ts +1 -5
  366. package/dist/types/next/api-handler/handlers/manifest.d.ts.map +1 -1
  367. package/dist/types/next/api-handler/handlers/merge-translated-data.d.ts +1 -5
  368. package/dist/types/next/api-handler/handlers/merge-translated-data.d.ts.map +1 -1
  369. package/dist/types/next/api-handler/handlers/pages-router-redirect-preview.d.ts +4 -0
  370. package/dist/types/next/api-handler/handlers/pages-router-redirect-preview.d.ts.map +1 -0
  371. package/dist/types/next/api-handler/handlers/redirect-draft.d.ts +1 -5
  372. package/dist/types/next/api-handler/handlers/redirect-draft.d.ts.map +1 -1
  373. package/dist/types/next/api-handler/handlers/redirect-preview.d.ts +1 -5
  374. package/dist/types/next/api-handler/handlers/redirect-preview.d.ts.map +1 -1
  375. package/dist/types/next/api-handler/handlers/revalidate.d.ts +1 -5
  376. package/dist/types/next/api-handler/handlers/revalidate.d.ts.map +1 -1
  377. package/dist/types/next/api-handler/handlers/translatable-data.d.ts +1 -5
  378. package/dist/types/next/api-handler/handlers/translatable-data.d.ts.map +1 -1
  379. package/dist/types/next/api-handler/handlers/webhook/index.d.ts +1 -5
  380. package/dist/types/next/api-handler/handlers/webhook/index.d.ts.map +1 -1
  381. package/dist/types/next/api-handler/index.d.ts +2 -6
  382. package/dist/types/next/api-handler/index.d.ts.map +1 -1
  383. package/dist/types/next/api-handler/preview.d.ts +8 -0
  384. package/dist/types/next/api-handler/preview.d.ts.map +1 -0
  385. package/dist/types/next/app-router-site-version.d.ts +3 -0
  386. package/dist/types/next/app-router-site-version.d.ts.map +1 -0
  387. package/dist/types/next/components/framework-provider/app-router/HeadSnippet.d.ts +5 -0
  388. package/dist/types/next/components/framework-provider/app-router/HeadSnippet.d.ts.map +1 -0
  389. package/dist/types/next/components/framework-provider/app-router/index.d.ts +3 -0
  390. package/dist/types/next/components/framework-provider/app-router/index.d.ts.map +1 -0
  391. package/dist/types/next/components/framework-provider/index.d.ts +5 -0
  392. package/dist/types/next/components/framework-provider/index.d.ts.map +1 -0
  393. package/dist/types/next/components/framework-provider/link.d.ts +2 -0
  394. package/dist/types/next/components/framework-provider/link.d.ts.map +1 -0
  395. package/dist/types/next/components/framework-provider/pages-router/HeadSnippet.d.ts +5 -0
  396. package/dist/types/next/components/framework-provider/pages-router/HeadSnippet.d.ts.map +1 -0
  397. package/dist/types/next/components/framework-provider/pages-router/index.d.ts +3 -0
  398. package/dist/types/next/components/framework-provider/pages-router/index.d.ts.map +1 -0
  399. package/dist/types/next/components/tests/__fixtures__/element-data/box-component.d.ts +8 -0
  400. package/dist/types/next/components/tests/__fixtures__/element-data/box-component.d.ts.map +1 -0
  401. package/dist/types/next/components/tests/__fixtures__/element-data/button-component.d.ts +9 -0
  402. package/dist/types/next/components/tests/__fixtures__/element-data/button-component.d.ts.map +1 -0
  403. package/dist/types/next/components/tests/__fixtures__/element-data/image-component.d.ts +7 -0
  404. package/dist/types/next/components/tests/__fixtures__/element-data/image-component.d.ts.map +1 -0
  405. package/dist/types/next/components/tests/__fixtures__/page-document.d.ts +3 -0
  406. package/dist/types/next/components/tests/__fixtures__/page-document.d.ts.map +1 -0
  407. package/dist/types/next/components/tests/__fixtures__/resources/files.d.ts +3 -0
  408. package/dist/types/next/components/tests/__fixtures__/resources/files.d.ts.map +1 -0
  409. package/dist/types/next/components/tests/__fixtures__/resources/index.d.ts +4 -0
  410. package/dist/types/next/components/tests/__fixtures__/resources/index.d.ts.map +1 -0
  411. package/dist/types/next/components/tests/__fixtures__/resources/page-pathname-slices.d.ts +3 -0
  412. package/dist/types/next/components/tests/__fixtures__/resources/page-pathname-slices.d.ts.map +1 -0
  413. package/dist/types/next/components/tests/__fixtures__/resources/swatches.d.ts +3 -0
  414. package/dist/types/next/components/tests/__fixtures__/resources/swatches.d.ts.map +1 -0
  415. package/dist/types/next/components/tests/components/box-component-rendering.test.d.ts +3 -0
  416. package/dist/types/next/components/tests/components/box-component-rendering.test.d.ts.map +1 -0
  417. package/dist/types/next/components/tests/components/button-component-rendering.test.d.ts +3 -0
  418. package/dist/types/next/components/tests/components/button-component-rendering.test.d.ts.map +1 -0
  419. package/dist/types/next/components/tests/components/image-component-rendering.test.d.ts +3 -0
  420. package/dist/types/next/components/tests/components/image-component-rendering.test.d.ts.map +1 -0
  421. package/dist/types/next/components/tests/makeswift-page-snippets-rendering.test.d.ts +3 -0
  422. package/dist/types/next/components/tests/makeswift-page-snippets-rendering.test.d.ts.map +1 -0
  423. package/dist/types/next/hooks/use-router-locale-sync.d.ts +2 -0
  424. package/dist/types/next/hooks/use-router-locale-sync.d.ts.map +1 -0
  425. package/dist/types/next/runtime-provider.d.ts +4 -0
  426. package/dist/types/next/runtime-provider.d.ts.map +1 -0
  427. package/dist/types/next/testing/breakpoints.d.ts +4 -0
  428. package/dist/types/next/testing/breakpoints.d.ts.map +1 -0
  429. package/dist/types/next/testing/element-data.d.ts +55 -0
  430. package/dist/types/next/testing/element-data.d.ts.map +1 -0
  431. package/dist/types/next/testing/index.d.ts +5 -0
  432. package/dist/types/next/testing/index.d.ts.map +1 -0
  433. package/dist/types/next/testing/page-rendering.d.ts +10 -0
  434. package/dist/types/next/testing/page-rendering.d.ts.map +1 -0
  435. package/dist/types/next/testing/react-provider.d.ts +9 -0
  436. package/dist/types/next/testing/react-provider.d.ts.map +1 -0
  437. package/dist/types/next/tests/__fixtures__/element-tree.d.ts +3 -0
  438. package/dist/types/next/tests/__fixtures__/element-tree.d.ts.map +1 -0
  439. package/dist/types/next/tests/__fixtures__/resources.d.ts +9 -0
  440. package/dist/types/next/tests/__fixtures__/resources.d.ts.map +1 -0
  441. package/dist/types/next/tests/__fixtures__/translated-data.d.ts +56 -0
  442. package/dist/types/next/tests/__fixtures__/translated-data.d.ts.map +1 -0
  443. package/dist/types/next/tests/server.api-handler-app-router-redirect-preview.test.d.ts +2 -0
  444. package/dist/types/next/tests/server.api-handler-app-router-redirect-preview.test.d.ts.map +1 -0
  445. package/dist/types/next/tests/server.api-handler-cors.test.d.ts +2 -0
  446. package/dist/types/next/tests/server.api-handler-cors.test.d.ts.map +1 -0
  447. package/dist/types/next/tests/server.api-handler-element-tree.test.d.ts +2 -0
  448. package/dist/types/next/tests/server.api-handler-element-tree.test.d.ts.map +1 -0
  449. package/dist/types/next/tests/server.api-handler-error-handling.test.d.ts +2 -0
  450. package/dist/types/next/tests/server.api-handler-error-handling.test.d.ts.map +1 -0
  451. package/dist/types/next/tests/server.api-handler-fonts.test.d.ts +2 -0
  452. package/dist/types/next/tests/server.api-handler-fonts.test.d.ts.map +1 -0
  453. package/dist/types/next/tests/server.api-handler-manifest.test.d.ts +2 -0
  454. package/dist/types/next/tests/server.api-handler-manifest.test.d.ts.map +1 -0
  455. package/dist/types/next/tests/server.api-handler-merge-translated-data.test.d.ts +2 -0
  456. package/dist/types/next/tests/server.api-handler-merge-translated-data.test.d.ts.map +1 -0
  457. package/dist/types/next/tests/server.api-handler-pages-router-redirect-preview.test.d.ts +2 -0
  458. package/dist/types/next/tests/server.api-handler-pages-router-redirect-preview.test.d.ts.map +1 -0
  459. package/dist/types/next/tests/server.api-handler-redirect-live.test.d.ts +2 -0
  460. package/dist/types/next/tests/server.api-handler-redirect-live.test.d.ts.map +1 -0
  461. package/dist/types/next/tests/server.api-handler-resources.test.d.ts +2 -0
  462. package/dist/types/next/tests/server.api-handler-resources.test.d.ts.map +1 -0
  463. package/dist/types/next/tests/server.api-handler-revalidate.test.d.ts +2 -0
  464. package/dist/types/next/tests/server.api-handler-revalidate.test.d.ts.map +1 -0
  465. package/dist/types/next/tests/server.api-handler-translatable-data.test.d.ts +2 -0
  466. package/dist/types/next/tests/server.api-handler-translatable-data.test.d.ts.map +1 -0
  467. package/dist/types/next/tests/server.api-handler-webhook.test.d.ts +2 -0
  468. package/dist/types/next/tests/server.api-handler-webhook.test.d.ts.map +1 -0
  469. package/dist/types/runtimes/react/__tests__/react-runtime.test.d.ts +2 -0
  470. package/dist/types/runtimes/react/__tests__/react-runtime.test.d.ts.map +1 -0
  471. package/dist/types/runtimes/react/components/MakeswiftComponent.d.ts +10 -0
  472. package/dist/types/runtimes/react/components/MakeswiftComponent.d.ts.map +1 -0
  473. package/dist/types/runtimes/react/components/Slot.d.ts +10 -0
  474. package/dist/types/runtimes/react/components/Slot.d.ts.map +1 -0
  475. package/dist/types/runtimes/react/components/SlotProvider.d.ts +11 -0
  476. package/dist/types/runtimes/react/components/SlotProvider.d.ts.map +1 -0
  477. package/dist/types/runtimes/react/components/framework-context.d.ts +42 -0
  478. package/dist/types/runtimes/react/components/framework-context.d.ts.map +1 -0
  479. package/dist/types/runtimes/react/components/hooks/use-framework-context.d.ts +3 -0
  480. package/dist/types/runtimes/react/components/hooks/use-framework-context.d.ts.map +1 -0
  481. package/dist/types/runtimes/react/components/hooks/use-page-snippets.d.ts +8 -0
  482. package/dist/types/runtimes/react/components/hooks/use-page-snippets.d.ts.map +1 -0
  483. package/dist/types/runtimes/react/components/page/BodySnippet.d.ts +7 -0
  484. package/dist/types/runtimes/react/components/page/BodySnippet.d.ts.map +1 -0
  485. package/dist/types/runtimes/react/components/page/HeadSnippet.d.ts +9 -0
  486. package/dist/types/runtimes/react/components/page/HeadSnippet.d.ts.map +1 -0
  487. package/dist/types/runtimes/react/components/page/Page.d.ts +11 -0
  488. package/dist/types/runtimes/react/components/page/Page.d.ts.map +1 -0
  489. package/dist/types/runtimes/react/components/page/PageHead.d.ts +9 -0
  490. package/dist/types/runtimes/react/components/page/PageHead.d.ts.map +1 -0
  491. package/dist/types/runtimes/react/components/page/head-tags.d.ts +19 -0
  492. package/dist/types/runtimes/react/components/page/head-tags.d.ts.map +1 -0
  493. package/dist/types/runtimes/react/components/page/index.d.ts +28 -0
  494. package/dist/types/runtimes/react/components/page/index.d.ts.map +1 -0
  495. package/dist/types/runtimes/react/components/page/page-seo-settings.d.ts +11 -0
  496. package/dist/types/runtimes/react/components/page/page-seo-settings.d.ts.map +1 -0
  497. package/dist/types/runtimes/react/components/preview-switcher/preview-switcher.d.ts +4 -0
  498. package/dist/types/runtimes/react/components/preview-switcher/preview-switcher.d.ts.map +1 -0
  499. package/dist/types/runtimes/react/components/preview-switcher/preview-toolbar.d.ts +2 -0
  500. package/dist/types/runtimes/react/components/preview-switcher/preview-toolbar.d.ts.map +1 -0
  501. package/dist/types/runtimes/react/root-style-registry.d.ts +42 -0
  502. package/dist/types/runtimes/react/root-style-registry.d.ts.map +1 -0
  503. package/dist/types/state/__tests__/actions.test.d.ts +2 -0
  504. package/dist/types/state/__tests__/actions.test.d.ts.map +1 -0
  505. package/dist/types/state/toolkit.d.ts +11 -0
  506. package/dist/types/state/toolkit.d.ts.map +1 -0
  507. package/dist/types/testing/fixtures.d.ts +7 -0
  508. package/dist/types/testing/fixtures.d.ts.map +1 -0
  509. package/dist/types/utils/esm-compat.d.ts +2 -0
  510. package/dist/types/utils/esm-compat.d.ts.map +1 -0
  511. package/package.json +3 -3
@@ -0,0 +1 @@
1
+ {"version":3,"file":"app-router.d.ts","sourceRoot":"","sources":["../../../../../src/next/api-handler/config/app-router.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,MAAM,aAAa,CAAA;AAQzC,OAAO,EAAoB,KAAK,gBAAgB,EAAE,MAAM,QAAQ,CAAA;AAChE,OAAO,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAA;AAEjD,KAAK,MAAM,GAAG;IAAE,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,GAAG,MAAM,EAAE,CAAA;CAAE,CAAA;AAClD,KAAK,OAAO,GAAG;IAAE,MAAM,EAAE,OAAO,CAAC,MAAM,CAAC,CAAA;CAAE,CAAA;AAE1C,MAAM,MAAM,cAAc,GAAG,CAAC,WAAW,EAAE,OAAO,CAAC,CAAA;AACnD,eAAO,MAAM,WAAW,wLAA8C,CAAA;AAEtE,wBAAsB,MAAM,CAAC,EAC3B,GAAG,EACH,OAAO,EACP,MAAM,GACP,EAAE;IACD,GAAG,EAAE,WAAW,CAAA;IAChB,OAAO,EAAE,OAAO,CAAA;IAChB,MAAM,EAAE,eAAe,CAAA;CACxB,GAAG,OAAO,CAAC,gBAAgB,CAAC,CAqB5B"}
@@ -0,0 +1,15 @@
1
+ import { type ApiHandlerInternalConfig } from '../../../api-handler';
2
+ import { type ApiRequest, type ApiResponse } from '../../../api-handler/request-response';
3
+ export type ApiHandlerConfig = Omit<ApiHandlerInternalConfig, 'client' | 'revalidationHandler'> & {
4
+ req: ApiRequest;
5
+ route: string;
6
+ sendResponse: (res: ApiResponse) => Promise<Response | void>;
7
+ revalidationHandler: (path?: string) => Promise<void>;
8
+ customRoutes: (route: string) => Promise<{
9
+ res: Response | void;
10
+ } | null>;
11
+ };
12
+ export declare function validateApiRoute(params: Partial<{
13
+ [key: string]: string | string[];
14
+ }>): string;
15
+ //# sourceMappingURL=base.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"base.d.ts","sourceRoot":"","sources":["../../../../../src/next/api-handler/config/base.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,wBAAwB,EAAE,MAAM,sBAAsB,CAAA;AACpE,OAAO,EAAE,KAAK,UAAU,EAAE,KAAK,WAAW,EAAE,MAAM,uCAAuC,CAAA;AAEzF,MAAM,MAAM,gBAAgB,GAAG,IAAI,CAAC,wBAAwB,EAAE,QAAQ,GAAG,qBAAqB,CAAC,GAAG;IAChG,GAAG,EAAE,UAAU,CAAA;IACf,KAAK,EAAE,MAAM,CAAA;IACb,YAAY,EAAE,CAAC,GAAG,EAAE,WAAW,KAAK,OAAO,CAAC,QAAQ,GAAG,IAAI,CAAC,CAAA;IAC5D,mBAAmB,EAAE,CAAC,IAAI,CAAC,EAAE,MAAM,KAAK,OAAO,CAAC,IAAI,CAAC,CAAA;IACrD,YAAY,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,OAAO,CAAC;QAAE,GAAG,EAAE,QAAQ,GAAG,IAAI,CAAA;KAAE,GAAG,IAAI,CAAC,CAAA;CAC1E,CAAA;AAED,wBAAgB,gBAAgB,CAAC,MAAM,EAAE,OAAO,CAAC;IAAE,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,GAAG,MAAM,EAAE,CAAA;CAAE,CAAC,GAAG,MAAM,CAY9F"}
@@ -0,0 +1,11 @@
1
+ import { NextApiRequest, NextApiResponse } from 'next';
2
+ import { type ApiHandlerConfig } from './base';
3
+ import { MakeswiftClient } from '../../../client';
4
+ export type ApiHandlerArgs = [NextApiRequest, NextApiResponse];
5
+ export declare const argsPattern: readonly [import("ts-pattern/dist/types/Pattern").AnyPattern, import("ts-pattern/dist/types/Pattern").AnyPattern];
6
+ export declare function config({ req, res, client, }: {
7
+ req: NextApiRequest;
8
+ res: NextApiResponse;
9
+ client: MakeswiftClient;
10
+ }): Promise<ApiHandlerConfig>;
11
+ //# sourceMappingURL=pages-router.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"pages-router.d.ts","sourceRoot":"","sources":["../../../../../src/next/api-handler/config/pages-router.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,cAAc,EAAE,eAAe,EAAE,MAAM,MAAM,CAAA;AAQtD,OAAO,EAAoB,KAAK,gBAAgB,EAAE,MAAM,QAAQ,CAAA;AAChE,OAAO,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAA;AAEjD,MAAM,MAAM,cAAc,GAAG,CAAC,cAAc,EAAE,eAAe,CAAC,CAAA;AAC9D,eAAO,MAAM,WAAW,mHAA0B,CAAA;AAElD,wBAAsB,MAAM,CAAC,EAC3B,GAAG,EACH,GAAG,EACH,MAAM,GACP,EAAE;IACD,GAAG,EAAE,cAAc,CAAA;IACnB,GAAG,EAAE,eAAe,CAAA;IACpB,MAAM,EAAE,eAAe,CAAA;CACxB,GAAG,OAAO,CAAC,gBAAgB,CAAC,CAyB5B"}
@@ -0,0 +1,5 @@
1
+ import { NextRequest, NextResponse } from 'next/server';
2
+ import { MakeswiftClient } from '../../../client';
3
+ export declare function originalRequestProtocol(request: NextRequest): string | null;
4
+ export declare function appRouterRedirectPreviewHandler(request: NextRequest, _context: any, client: MakeswiftClient): Promise<NextResponse>;
5
+ //# sourceMappingURL=app-router-redirect-preview.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"app-router-redirect-preview.d.ts","sourceRoot":"","sources":["../../../../../src/next/api-handler/handlers/app-router-redirect-preview.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,YAAY,EAAE,MAAM,aAAa,CAAA;AAkBvD,OAAO,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAA;AAEjD,wBAAgB,uBAAuB,CAAC,OAAO,EAAE,WAAW,GAAG,MAAM,GAAG,IAAI,CAO3E;AAED,wBAAsB,+BAA+B,CACnD,OAAO,EAAE,WAAW,EACpB,QAAQ,EAAE,GAAG,EACb,MAAM,EAAE,eAAe,GACtB,OAAO,CAAC,YAAY,CAAC,CA0DvB"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=app-router-redirect-preview.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"app-router-redirect-preview.test.d.ts","sourceRoot":"","sources":["../../../../../src/next/api-handler/handlers/app-router-redirect-preview.test.ts"],"names":[],"mappings":""}
@@ -1,10 +1,6 @@
1
1
  import { NextApiRequest, NextApiResponse } from 'next';
2
2
  import { NextRequest, NextResponse } from 'next/server';
3
- type Context = {
4
- params: {
5
- [key: string]: string | string[];
6
- };
7
- };
3
+ import { type Context } from '../app-router-handler';
8
4
  type ClearDraftError = string;
9
5
  type Response = {
10
6
  __brand: 'ClearDraftResponse';
@@ -1 +1 @@
1
- {"version":3,"file":"clear-draft.d.ts","sourceRoot":"","sources":["../../../../../src/next/api-handler/handlers/clear-draft.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,eAAe,EAAE,MAAM,MAAM,CAAA;AACtD,OAAO,EAAE,WAAW,EAAE,YAAY,EAAE,MAAM,aAAa,CAAA;AAgCvD,KAAK,OAAO,GAAG;IAAE,MAAM,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,GAAG,MAAM,EAAE,CAAA;KAAE,CAAA;CAAE,CAAA;AAE/D,KAAK,eAAe,GAAG,MAAM,CAAA;AAE7B,KAAK,QAAQ,GAAG;IAAE,OAAO,EAAE,oBAAoB,CAAA;CAAE,CAAA;AAEjD,MAAM,MAAM,kBAAkB,GAAG,eAAe,GAAG,QAAQ,CAAA;AAS3D,wBAA8B,iBAAiB,CAC7C,OAAO,EAAE,WAAW,EACpB,OAAO,EAAE,OAAO,EAChB,EAAE,MAAM,EAAE,EAAE;IAAE,MAAM,EAAE,MAAM,CAAA;CAAE,GAC7B,OAAO,CAAC,YAAY,CAAC,kBAAkB,CAAC,CAAC,CAAA;AAC5C,wBAA8B,iBAAiB,CAC7C,GAAG,EAAE,cAAc,EACnB,GAAG,EAAE,eAAe,CAAC,kBAAkB,CAAC,EACxC,EAAE,MAAM,EAAE,EAAE;IAAE,MAAM,EAAE,MAAM,CAAA;CAAE,GAC7B,OAAO,CAAC,IAAI,CAAC,CAAA"}
1
+ {"version":3,"file":"clear-draft.d.ts","sourceRoot":"","sources":["../../../../../src/next/api-handler/handlers/clear-draft.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,eAAe,EAAE,MAAM,MAAM,CAAA;AACtD,OAAO,EAAE,WAAW,EAAE,YAAY,EAAE,MAAM,aAAa,CAAA;AAUvD,OAAO,EAAE,KAAK,OAAO,EAAE,MAAM,uBAAuB,CAAA;AAuBpD,KAAK,eAAe,GAAG,MAAM,CAAA;AAE7B,KAAK,QAAQ,GAAG;IAAE,OAAO,EAAE,oBAAoB,CAAA;CAAE,CAAA;AAEjD,MAAM,MAAM,kBAAkB,GAAG,eAAe,GAAG,QAAQ,CAAA;AAS3D,wBAA8B,iBAAiB,CAC7C,OAAO,EAAE,WAAW,EACpB,OAAO,EAAE,OAAO,EAChB,EAAE,MAAM,EAAE,EAAE;IAAE,MAAM,EAAE,MAAM,CAAA;CAAE,GAC7B,OAAO,CAAC,YAAY,CAAC,kBAAkB,CAAC,CAAC,CAAA;AAC5C,wBAA8B,iBAAiB,CAC7C,GAAG,EAAE,cAAc,EACnB,GAAG,EAAE,eAAe,CAAC,kBAAkB,CAAC,EACxC,EAAE,MAAM,EAAE,EAAE;IAAE,MAAM,EAAE,MAAM,CAAA;CAAE,GAC7B,OAAO,CAAC,IAAI,CAAC,CAAA"}
@@ -2,11 +2,7 @@ import { NextApiRequest, NextApiResponse } from 'next';
2
2
  import { ReactRuntime } from '../../../react';
3
3
  import { Element } from '../../../state/react-page';
4
4
  import { NextRequest, NextResponse } from 'next/server';
5
- type Context = {
6
- params: {
7
- [key: string]: string | string[];
8
- };
9
- };
5
+ import { type Context } from '../app-router-handler';
10
6
  type ElementTreeResult = {
11
7
  elementTree: Element;
12
8
  };
@@ -1 +1 @@
1
- {"version":3,"file":"element-tree.d.ts","sourceRoot":"","sources":["../../../../../src/next/api-handler/handlers/element-tree.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,eAAe,EAAE,MAAM,MAAM,CAAA;AACtD,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAA;AAC7C,OAAO,EAAE,OAAO,EAAE,MAAM,2BAA2B,CAAA;AACnD,OAAO,EAAE,WAAW,EAAE,YAAY,EAAE,MAAM,aAAa,CA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W,CACvC,OAAO,EAAE,WAAW,EACpB,OAAO,EAAE,OAAO,EAChB,OAAO,EAAE,YAAY,GACpB,OAAO,CAAC,YAAY,CAAC,mBAAmB,CAAC,CAAC,CAAA;AAC7C,wBAA8B,WAAW,CACvC,GAAG,EAAE,cAAc,EACnB,GAAG,EAAE,eAAe,CAAC,mBAAmB,CAAC,EACzC,OAAO,EAAE,YAAY,GACpB,OAAO,CAAC,IAAI,CAAC,CAAA"}
@@ -1,10 +1,6 @@
1
1
  import { NextApiRequest, NextApiResponse } from 'next';
2
2
  import { NextRequest, NextResponse } from 'next/server';
3
- type Context = {
4
- params: {
5
- [key: string]: string | string[];
6
- };
7
- };
3
+ import { type Context } from '../app-router-handler';
8
4
  type FontVariant = {
9
5
  weight: string;
10
6
  style: 'italic' | 'normal';
@@ -1 +1 @@
1
- {"version":3,"file":"fonts.d.ts","sourceRoot":"","sources":["../../../../../src/next/api-handler/handlers/fonts.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,eAAe,EAAE,MAAM,MAAM,CAAA;AACtD,OAAO,EAAE,WAAW,EAAE,YAAY,EAAE,MAAM,aAAa,CAAA;AAGvD,KAAK,OAAO,GAAG;IAAE,MAAM,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,GAAG,MAAM,EAAE,CAAA;KAAE,CAAA;CAAE,CAAA;AAE/D,KAAK,WAAW,GAAG;IAAE,MAAM,EAAE,MAAM,CAAC;IAAC,KAAK,EAAE,QAAQ,GAAG,QAAQ,CAAC;IAAC,GAAG,CAAC,EAAE,MAAM,CAAA;CAAE,CAAA;AAE/E,MAAM,MAAM,IAAI,GAAG;IACjB,MAAM,EAAE,MAAM,CAAA;IACd,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,QAAQ,EAAE,WAAW,EAAE,CAAA;CACxB,CAAA;AAED,KAAK,KAAK,GAAG,IAAI,EAAE,CAAA;AAEnB,MAAM,MAAM,QAAQ,GAAG,MAAM,KAAK,G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,EAAE,WAAW,EACpB,OAAO,EAAE,OAAO,EAChB,EAAE,QAAQ,EAAE,EAAE;IAAE,QAAQ,CAAC,EAAE,QAAQ,CAAA;CAAE,GACpC,OAAO,CAAC,YAAY,CAAC,aAAa,CAAC,CAAC,CAAA;AACvC,wBAA8B,KAAK,CACjC,IAAI,EAAE,cAAc,EACpB,GAAG,EAAE,eAAe,CAAC,aAAa,CAAC,EACnC,EAAE,QAAQ,EAAE,EAAE;IAAE,QAAQ,CAAC,EAAE,QAAQ,CAAA;CAAE,GACpC,OAAO,CAAC,IAAI,CAAC,CAAA"}
@@ -1,10 +1,6 @@
1
1
  import { NextApiRequest, NextApiResponse } from 'next';
2
2
  import { NextRequest, NextResponse } from 'next/server';
3
- type Context = {
4
- params: {
5
- [key: string]: string | string[];
6
- };
7
- };
3
+ import { type Context } from '../app-router-handler';
8
4
  export type Manifest = {
9
5
  version: string;
10
6
  previewMode: boolean;
@@ -1 +1 @@
1
- {"version":3,"file":"manifest.d.ts","sourceRoot":"","sources":["../../../../../src/next/api-handler/handlers/manifest.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,eAAe,EAAE,MAAM,MAAM,CAAA;AACtD,OAAO,EAAE,WAAW,EAAE,YAAY,EAAE,MAAM,aAAa,CAAA;AAGvD,KAAK,OAAO,GAAG;IAAE,MAAM,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,GAAG,MAAM,EAAE,CAAA;KAAE,CAAA;CAAE,CAAA;AAE/D,MAAM,MAAM,QAAQ,GAAG;IACrB,OAAO,EAAE,MAAM,CAAA;IACf,WAAW,EAAE,OAAO,CAAA;IACpB,eAAe,EAAE,OAAO,CAAA;IACxB,oBAAoB,EAAE,OAAO,CAAA;IAC7B,gBAAgB,EAAE,OAAO,CAAA;IACzB,iBAAiB,EAAE,OAAO,CAAA;IAC1B,YAAY,EAAE,OAAO,CAAA;IACrB,qBAAqB,EAAE,OAAO,CAAA;IAC9B,gBAAgB,E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AAE,OAAO,CAAA;CACvC,CAAA;AAED,KAAK,aAAa,GAAG;IAAE,OAAO,EAAE,MAAM,CAAA;CAAE,CAAA;AAExC,MAAM,MAAM,gBAAgB,GAAG,QAAQ,GAAG,aAAa,CAAA;AASvD,wBAA8B,OAAO,CACnC,OAAO,EAAE,WAAW,EACpB,OAAO,EAAE,OAAO,EAChB,EAAE,MAAM,EAAE,EAAE;IAAE,MAAM,EAAE,MAAM,CAAA;CAAE,GAC7B,OAAO,CAAC,YAAY,CAAC,gBAAgB,CAAC,CAAC,CAAA;AAC1C,wBAA8B,OAAO,CACnC,GAAG,EAAE,cAAc,EACnB,GAAG,EAAE,eAAe,CAAC,gBAAgB,CAAC,EACtC,EAAE,MAAM,EAAE,EAAE;IAAE,MAAM,EAAE,MAAM,CAAA;CAAE,GAC7B,OAAO,CAAC,IAAI,CAAC,CAAA"}
@@ -2,11 +2,7 @@ import { NextApiRequest, NextApiResponse } from 'next';
2
2
  import { Element } from '../../../state/react-page';
3
3
  import { Makeswift } from '../../client';
4
4
  import { NextRequest, NextResponse } from 'next/server';
5
- type Context = {
6
- params: {
7
- [key: string]: string | string[];
8
- };
9
- };
5
+ import { type Context } from '../app-router-handler';
10
6
  type TranslatedDataResult = {
11
7
  elementTree: Element;
12
8
  };
@@ -1 +1 @@
1
- {"version":3,"file":"merge-translated-data.d.ts","sourceRoot":"","sources":["../../../../../src/next/api-handler/handlers/merge-translated-data.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,eAAe,EAAE,MAAM,MAAM,CAAA;AACtD,OAAO,EAAE,OAAO,EAAE,MAAM,2BAA2B,CAAA;AACnD,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAA;AACxC,OAAO,EAAE,WAAW,EAAE,YAAY,EAAE,MAAM,aAAa,CAAA;AAGvD,KAAK,OAAO,GAAG;IAAE,MAAM,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,GAAG,MAAM,EAAE,CAAA;KAAE,CAAA;CAAE,CAAA;AAE/D,KAAK,oBAAoB,GAAG;IAAE,WAAW,EAAE,OAAO,CAAA;CAAE,CAAA;AAEpD,KAAK,mBAAmB,GAAG;IAAE,OAAO,EAAE,MAAM,CAAA;CAAE,CAAA;AAE9C,MAAM,MAAM,sBAAsB,GAAG,oBAAoB,GAAG,mBAAmB,CAAA;AAS/E,wBAA8B,mBAAmB,CAC/C,OAAO,EAAE,WAAW,EACpB,OAAO,EAAE,OAAO,EAChB,MAAM,EAAE,SAAS,GAChB,OAAO,CAAC,YAAY,CAAC,sBAAsB,CAAC,CAAC,CAAA;AAChD,wBAA8B,mBAAmB,CAC/C,GAAG,EAAE,cAAc,EACnB,GAAG,EAAE,eAAe,CAAC,sBAAsB,CAAC,EAC5C,MAAM,EAAE,SAAS,GAChB,OAAO,CAAC,IAAI,CAAC,CAAA"}
1
+ {"version":3,"file":"merge-translated-data.d.ts","sourceRoot":"","sources":["../../../../../src/next/api-handler/handlers/merge-translated-data.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,eAAe,EAAE,MAAM,MAAM,CAAA;AACtD,OAAO,EAAE,OAAO,EAAE,MAAM,2BAA2B,CAAA;AACnD,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAA;AACxC,OAAO,EAAE,WAAW,EAAE,YAAY,EAAE,MAAM,aAAa,CAAA;AAEvD,OAAO,EAAE,KAAK,OAAO,EAAE,MAAM,uBAAuB,CAAA;AAEpD,KAAK,oBAAoB,GAAG;IAAE,WAAW,EAAE,OAAO,CAAA;CAAE,CAAA;AAEpD,KAAK,mBAAmB,GAAG;IAAE,OAAO,EAAE,MAAM,CAAA;CAAE,CAAA;AAE9C,MAAM,MAAM,sBAAsB,GAAG,oBAAoB,GAAG,mBAAmB,CAAA;AAS/E,wBAA8B,mBAAmB,CAC/C,OAAO,EAAE,WAAW,EACpB,OAAO,EAAE,OAAO,EAChB,MAAM,EAAE,SAAS,GAChB,OAAO,CAAC,YAAY,CAAC,sBAAsB,CAAC,CAAC,CAAA;AAChD,wBAA8B,mBAAmB,CAC/C,GAAG,EAAE,cAAc,EACnB,GAAG,EAAE,eAAe,CAAC,sBAAsB,CAAC,EAC5C,MAAM,EAAE,SAAS,GAChB,OAAO,CAAC,IAAI,CAAC,CAAA"}
@@ -0,0 +1,4 @@
1
+ import { NextApiRequest, NextApiResponse } from 'next';
2
+ import { MakeswiftClient } from '../../../client';
3
+ export declare function pagesRouterRedirectPreviewHandler(req: NextApiRequest, res: NextApiResponse, client: MakeswiftClient): Promise<void>;
4
+ //# sourceMappingURL=pages-router-redirect-preview.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"pages-router-redirect-preview.d.ts","sourceRoot":"","sources":["../../../../../src/next/api-handler/handlers/pages-router-redirect-preview.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,eAAe,EAAE,MAAM,MAAM,CAAA;AAatD,OAAO,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAA;AAOjD,wBAAsB,iCAAiC,CACrD,GAAG,EAAE,cAAc,EACnB,GAAG,EAAE,eAAe,EACpB,MAAM,EAAE,eAAe,GACtB,OAAO,CAAC,IAAI,CAAC,CAyDf"}
@@ -1,10 +1,6 @@
1
1
  import { NextApiRequest, NextApiResponse } from 'next';
2
2
  import { NextRequest, NextResponse } from 'next/server';
3
- type Context = {
4
- params: {
5
- [key: string]: string | string[];
6
- };
7
- };
3
+ import { type Context } from '../app-router-handler';
8
4
  type RedirectDraftError = string;
9
5
  type Response = unknown;
10
6
  export type RedirectDraftResponse = RedirectDraftError | Response;
@@ -1 +1 @@
1
- {"version":3,"file":"redirect-draft.d.ts","sourceRoot":"","sources":["../../../../../src/next/api-handler/handlers/redirect-draft.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,eAAe,EAAE,MAAM,MAAM,CAAA;AACtD,OAAO,EAAE,WAAW,EAAE,YAAY,EAAE,MAAM,aAAa,CAAA;AAevD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AAE,MAAM,EAAE,EAAE;IAAE,MAAM,EAAE,MAAM,CAAA;CAAE,GAC7B,OAAO,CAAC,YAAY,CAAC,qBAAqB,CAAC,CAAC,CAAA;AAC/C,wBAA8B,oBAAoB,CAChD,GAAG,EAAE,cAAc,EACnB,GAAG,EAAE,eAAe,CAAC,qBAAqB,CAAC,EAC3C,EAAE,MAAM,EAAE,EAAE;IAAE,MAAM,EAAE,MAAM,CAAA;CAAE,GAC7B,OAAO,CAAC,IAAI,CAAC,CAAA;AAUhB,wBAAgB,uBAAuB,CAAC,OAAO,EAAE,WAAW,GAAG,MAAM,GAAG,IAAI,CAO3E"}
@@ -1,10 +1,6 @@
1
1
  import { NextApiRequest, NextApiResponse } from 'next';
2
2
  import { NextRequest, NextResponse } from 'next/server';
3
- type Context = {
4
- params: {
5
- [key: string]: string | string[];
6
- };
7
- };
3
+ import { type Context } from '../app-router-handler';
8
4
  type RedirectPreviewError = string;
9
5
  type Response = unknown;
10
6
  export type RedirectPreviewResponse = RedirectPreviewError | Response;
@@ -1 +1 @@
1
- {"version":3,"file":"redirect-preview.d.ts","sourceRoot":"","sources":["../../../../../src/next/api-handler/handlers/redirect-preview.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,eAAe,EAAE,MAAM,MAAM,CAAA;AACtD,OAAO,EAAE,WAAW,EAAE,YAAY,EAAE,MAAM,aAAa,CAAA;AAevD,KAAK,OAAO,GAAG;IAAE,MAAM,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,GAAG,MAAM,EAAE,CAAA;KAAE,CAAA;CAAE,CAAA;AAE/D,KAAK,oBAAoB,GAAG,MAAM,CAAA;AAElC,KAAK,QAAQ,GAAG,OAAO,CAAA;AAEvB,MAAM,MAAM,uBAAuB,GAAG,oBAAoB,GAAG,QAAQ,CAAA;AASrE,wBAA8B,sBAAsB,CAClD,OAAO,EAAE,WAAW,EACpB,OAAO,EAAE,OAAO,EAChB,EAAE,MAAM,EAAE,EAAE;IAAE,MAAM,EAAE,MAAM,CAAA;CAAE,GAC7B,OAAO,CAAC,YAAY,CAAC,uBAAuB,CAAC,CAAC,CAAA;AACjD,wBAA8B,sBAAsB,CAClD,GAAG,EAAE,cAAc,EACnB,GAAG,EAAE,eAAe,CAAC,uBAAuB,CAAC,EAC7C,EAAE,MAAM,EAAE,EAAE;IAAE,MAAM,EAAE,MAAM,CAAA;CAAE,GAC7B,OAAO,CAAC,IAAI,CAAC,CAAA"}
1
+ {"version":3,"file":"redirect-preview.d.ts","sourceRoot":"","sources":["../../../../../src/next/api-handler/handlers/redirect-preview.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,eAAe,EAAE,MAAM,MAAM,CAAA;AACtD,OAAO,EAAE,WAAW,EAAE,YAAY,EAAE,MAAM,aAAa,CAAA;AAcvD,OAAO,EAAE,KAAK,OAAO,EAAE,MAAM,uBAAuB,CAAA;AAEpD,KAAK,oBAAoB,GAAG,MAAM,CAAA;AAElC,KAAK,QAAQ,GAAG,OAAO,CAAA;AAEvB,MAAM,MAAM,uBAAuB,GAAG,oBAAoB,GAAG,QAAQ,CAAA;AASrE,wBAA8B,sBAAsB,CAClD,OAAO,EAAE,WAAW,EACpB,OAAO,EAAE,OAAO,EAChB,EAAE,MAAM,EAAE,EAAE;IAAE,MAAM,EAAE,MAAM,CAAA;CAAE,GAC7B,OAAO,CAAC,YAAY,CAAC,uBAAuB,CAAC,CAAC,CAAA;AACjD,wBAA8B,sBAAsB,CAClD,GAAG,EAAE,cAAc,EACnB,GAAG,EAAE,eAAe,CAAC,uBAAuB,CAAC,EAC7C,EAAE,MAAM,EAAE,EAAE;IAAE,MAAM,EAAE,MAAM,CAAA;CAAE,GAC7B,OAAO,CAAC,IAAI,CAAC,CAAA"}
@@ -1,10 +1,6 @@
1
1
  import { NextApiRequest, NextApiResponse } from 'next';
2
2
  import { NextRequest, NextResponse } from 'next/server';
3
- type Context = {
4
- params: {
5
- [key: string]: string | string[];
6
- };
7
- };
3
+ import { type Context } from '../app-router-handler';
8
4
  type RevalidationResult = {
9
5
  revalidated: boolean;
10
6
  };
@@ -1 +1 @@
1
- {"version":3,"file":"revalidate.d.ts","sourceRoot":"","sources":["../../../../../src/next/api-handler/handlers/revalidate.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,eAAe,EAAE,MAAM,MAAM,CAAA;AAEtD,OAAO,EAAE,WAAW,EAAE,YAAY,EAAE,MAAM,aAAa,CAAA;AAIvD,KAAK,OAAO,GAAG;IAAE,MAAM,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,GAAG,MAAM,EAAE,CAAA;KAAE,CAAA;CAAE,CAAA;AAE/D,KAAK,kBAAkB,GAAG;IAAE,WAAW,EAAE,OAAO,CAAA;CAAE,CAAA;AAElD,KAAK,iBAAiB,GAAG;IAAE,OAAO,EAAE,MAAM,CAAA;CAAE,CAAA;AAE5C,MAAM,MAAM,oBAAoB,GAAG,kBAAkB,GAAG,iBAAiB,CAAA;AASzE,wBAAsB,UAAU,CAC9B,OAAO,EAAE,WAAW,EACpB,OAAO,EAAE,OAAO,EAChB,EAAE,MAAM,EAAE,EAAE;IAAE,MAAM,EAAE,MAAM,CAAA;CAAE,GAC7B,OAAO,CAAC,YAAY,CAAC,oBAAoB,CAAC,CAAC,CAAA;AAC9C,wBAAsB,UAAU,CAC9B,GAAG,EAAE,cAAc,EACnB,GAAG,EAAE,eAAe,CAAC,oBAAoB,CAAC,EAC1C,EAAE,MAAM,EAAE,EAAE;IAAE,MAAM,EAAE,MAAM,CAAA;CAAE,GAC7B,OAAO,CAAC,IAAI,CAAC,CAAA"}
1
+ {"version":3,"file":"revalidate.d.ts","sourceRoot":"","sources":["../../../../../src/next/api-handler/handlers/revalidate.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,eAAe,EAAE,MAAM,MAAM,CAAA;AAEtD,OAAO,EAAE,WAAW,EAAE,YAAY,EAAE,MAAM,aAAa,CAAA;AAGvD,OAAO,EAAE,KAAK,OAAO,EAAE,MAAM,uBAAuB,CAAA;AAEpD,KAAK,kBAAkB,GAAG;IAAE,WAAW,EAAE,OAAO,CAAA;CAAE,CAAA;AAElD,KAAK,iBAAiB,GAAG;IAAE,OAAO,EAAE,MAAM,CAAA;CAAE,CAAA;AAE5C,MAAM,MAAM,oBAAoB,GAAG,kBAAkB,GAAG,iBAAiB,CAAA;AASzE,wBAAsB,UAAU,CAC9B,OAAO,EAAE,WAAW,EACpB,OAAO,EAAE,OAAO,EAChB,EAAE,MAAM,EAAE,EAAE;IAAE,MAAM,EAAE,MAAM,CAAA;CAAE,GAC7B,OAAO,CAAC,YAAY,CAAC,oBAAoB,CAAC,CAAC,CAAA;AAC9C,wBAAsB,UAAU,CAC9B,GAAG,EAAE,cAAc,EACnB,GAAG,EAAE,eAAe,CAAC,oBAAoB,CAAC,EAC1C,EAAE,MAAM,EAAE,EAAE;IAAE,MAAM,EAAE,MAAM,CAAA;CAAE,GAC7B,OAAO,CAAC,IAAI,CAAC,CAAA"}
@@ -2,11 +2,7 @@ import { NextApiRequest, NextApiResponse } from 'next';
2
2
  import { Data } from '../../../state/react-page';
3
3
  import { Makeswift } from '../../client';
4
4
  import { NextRequest, NextResponse } from 'next/server';
5
- type Context = {
6
- params: {
7
- [key: string]: string | string[];
8
- };
9
- };
5
+ import { type Context } from '../app-router-handler';
10
6
  type TranslatableDataResult = {
11
7
  translatableData: Record<string, Data>;
12
8
  };
@@ -1 +1 @@
1
- {"version":3,"file":"translatable-data.d.ts","sourceRoot":"","sources":["../../../../../src/next/api-handler/handlers/translatable-data.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,eAAe,EAAE,MAAM,MAAM,CAAA;AACtD,OAAO,EAAE,IAAI,EAAE,MAAM,2BAA2B,CAAA;AAChD,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAA;AACxC,OAAO,EAAE,WAAW,EAAE,YAAY,EAAE,MAAM,aAAa,CAAA;AAGvD,KAAK,OAAO,GAAG;IAAE,MAAM,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,GAAG,MAAM,EAAE,CAAA;KAAE,CAAA;CAAE,CAAA;AAE/D,KAAK,sBAAsB,GAAG;IAAE,gBAAgB,EAAE,MAAM,CAAC,MAAM,EAAE,IAAI,CAAC,CAAA;CAAE,CAAA;AAExE,KAAK,qBAAqB,GAAG;IAAE,OAAO,EAAE,MAAM,CAAA;CAAE,CAAA;AAEhD,MAAM,MAAM,wBAAwB,GAAG,sBAAsB,GAAG,qBAAqB,CAAA;AASrF,wBAA8B,gBAAgB,CAC5C,OAAO,EAAE,WAAW,EACpB,OAAO,EAAE,OAAO,EAChB,MAAM,EAAE,SAAS,GAChB,OAAO,CAAC,YAAY,CAAC,wBAAwB,CAAC,CAAC,CAAA;AAClD,wBAA8B,gBAAgB,CAC5C,GAAG,EAAE,cAAc,EACnB,GAAG,EAAE,eAAe,CAAC,wBAAwB,CAAC,EAC9C,MAAM,EAAE,SAAS,GAChB,OAAO,CAAC,IAAI,CAAC,CAAA"}
1
+ {"version":3,"file":"translatable-data.d.ts","sourceRoot":"","sources":["../../../../../src/next/api-handler/handlers/translatable-data.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,eAAe,EAAE,MAAM,MAAM,CAAA;AACtD,OAAO,EAAE,IAAI,EAAE,MAAM,2BAA2B,CAAA;AAChD,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAA;AACxC,OAAO,EAAE,WAAW,EAAE,YAAY,EAAE,MAAM,aAAa,CAAA;AAEvD,OAAO,EAAE,KAAK,OAAO,EAAE,MAAM,uBAAuB,CAAA;AAEpD,KAAK,sBAAsB,GAAG;IAAE,gBAAgB,EAAE,MAAM,CAAC,MAAM,EAAE,IAAI,CAAC,CAAA;CAAE,CAAA;AAExE,KAAK,qBAAqB,GAAG;IAAE,OAAO,EAAE,MAAM,CAAA;CAAE,CAAA;AAEhD,MAAM,MAAM,wBAAwB,GAAG,sBAAsB,GAAG,qBAAqB,CAAA;AASrF,wBAA8B,gBAAgB,CAC5C,OAAO,EAAE,WAAW,EACpB,OAAO,EAAE,OAAO,EAChB,MAAM,EAAE,SAAS,GAChB,OAAO,CAAC,YAAY,CAAC,wBAAwB,CAAC,CAAC,CAAA;AAClD,wBAA8B,gBAAgB,CAC5C,GAAG,EAAE,cAAc,EACnB,GAAG,EAAE,eAAe,CAAC,wBAAwB,CAAC,EAC9C,MAAM,EAAE,SAAS,GAChB,OAAO,CAAC,IAAI,CAAC,CAAA"}
@@ -1,11 +1,7 @@
1
1
  import { NextApiRequest, NextApiResponse } from 'next';
2
2
  import { NextRequest, NextResponse } from 'next/server';
3
3
  import { OnPublish, WebhookResponseBody } from './types';
4
- type Context = {
5
- params: {
6
- [key: string]: string | string[];
7
- };
8
- };
4
+ import { Context } from '../../app-router-handler';
9
5
  type WebhookParams = {
10
6
  apiKey: string;
11
7
  events?: {
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/next/api-handler/handlers/webhook/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,eAAe,EAAE,MAAM,MAAM,CAAA;AACtD,OAAO,EAAE,WAAW,EAAE,YAAY,EAAE,MAAM,aAAa,CAAA;AAGvD,OAAO,EACL,SAAS,EAIT,mBAAmB,EACpB,MAAM,SAAS,CAAA;AAEhB,KAAK,OAAO,GAAG;IAAE,MAAM,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,GAAG,MAAM,EAAE,CAAA;KAAE,CAAA;CAAE,CAAA;AAE/D,KAAK,aAAa,GAAG;IACnB,MAAM,EAAE,MAAM,CAAA;IACd,MAAM,CAAC,EAAE;QAAE,SAAS,CAAC,EAAE,SAAS,CAAA;KAAE,CAAA;CACnC,CAAA;AAED,MAAM,MAAM,kBAAkB,GAC1B,CAAC,OAAO,EAAE,WAAW,EAAE,OAA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WAAW,EACpB,OAAO,EAAE,OAAO,EAChB,EAAE,MAAM,EAAE,MAAM,EAAE,EAAE,aAAa,GAChC,OAAO,CAAC,YAAY,CAAC,mBAAmB,CAAC,CAAC,CAAA;AAC7C,wBAA8B,OAAO,CACnC,GAAG,EAAE,cAAc,EACnB,GAAG,EAAE,eAAe,CAAC,mBAAmB,CAAC,EACzC,EAAE,MAAM,EAAE,MAAM,EAAE,EAAE,aAAa,GAChC,OAAO,CAAC,IAAI,CAAC,CAAA"}
@@ -12,12 +12,8 @@ import { TranslatableDataResponse } from './handlers/translatable-data';
12
12
  import { TranslatedDataResponse } from './handlers/merge-translated-data';
13
13
  import { OnPublish, WebhookResponseBody } from './handlers/webhook/types';
14
14
  import { ReactRuntime } from '../../react';
15
+ import { type Context } from './app-router-handler';
15
16
  export type { Manifest, Font };
16
- type Context = {
17
- params: {
18
- [key: string]: string | string[];
19
- };
20
- };
21
17
  type Events = {
22
18
  onPublish: OnPublish;
23
19
  };
@@ -33,5 +29,5 @@ type NotFoundError = {
33
29
  };
34
30
  export type MakeswiftApiHandlerResponse = ManifestResponse | RevalidationResponse | RedirectDraftResponse | RedirectPreviewResponse | ClearDraftResponse | FontsResponse | ElementTreeResponse | TranslatableDataResponse | TranslatedDataResponse | APIResource | NotFoundError | WebhookResponseBody;
35
31
  type MakeswiftApiHandlerArgs = [NextRequest, Context] | [NextApiRequest, NextApiResponse<MakeswiftApiHandlerResponse>];
36
- export declare function MakeswiftApiHandler(apiKey: string, { appOrigin, apiOrigin, getFonts, events, runtime, }: MakeswiftApiHandlerConfig): (...args: MakeswiftApiHandlerArgs) => Promise<NextResponse<MakeswiftApiHandlerResponse> | void>;
32
+ export declare function MakeswiftApiHandler(apiKey: string, { appOrigin, apiOrigin, getFonts, events, runtime, }: MakeswiftApiHandlerConfig): (...args: MakeswiftApiHandlerArgs) => Promise<NextResponse<MakeswiftApiHandlerResponse>> | Promise<void>;
37
33
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @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AAmB,CACjC,MAAM,EAAE,MAAM,EACd,EACE,SAAuC,EACvC,SAAuC,EACvC,QAAQ,EACR,MAAM,EACN,OAAO,GACR,EAAE,yBAAyB,GAC3B,CACD,GAAG,IAAI,EAAE,uBAAuB,KAC7B,OAAO,CAAC,YAAY,CAAC,2BAA2B,CAAC,CAAC,GAAG,OAAO,CAAC,IAAI,CAAC,CA4OtE"}
@@ -0,0 +1,8 @@
1
+ export { MAKESWIFT_SITE_VERSION_COOKIE, SearchParams } from '../../api-handler/preview';
2
+ export declare const PRERENDER_BYPASS_COOKIE = "__prerender_bypass";
3
+ export declare const PREVIEW_DATA_COOKIE = "__next_preview_data";
4
+ export declare const RewriteRuleMatches: {
5
+ readonly PreviewToken: "makeswiftRewritePreviewToken";
6
+ readonly OriginalPath: "makeswiftRewriteOriginalPath";
7
+ };
8
+ //# sourceMappingURL=preview.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"preview.d.ts","sourceRoot":"","sources":["../../../../src/next/api-handler/preview.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,6BAA6B,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAA;AAEvF,eAAO,MAAM,uBAAuB,uBAAuB,CAAA;AAC3D,eAAO,MAAM,mBAAmB,wBAAwB,CAAA;AAYxD,eAAO,MAAM,kBAAkB;;;CAGrB,CAAA"}
@@ -0,0 +1,3 @@
1
+ import { SiteVersion } from '../api/site-version';
2
+ export declare function getSiteVersion(): Promise<SiteVersion | null>;
3
+ //# sourceMappingURL=app-router-site-version.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"app-router-site-version.d.ts","sourceRoot":"","sources":["../../../src/next/app-router-site-version.tsx"],"names":[],"mappings":"AACA,OAAO,EAA0B,WAAW,EAAE,MAAM,qBAAqB,CAAA;AAGzE,wBAAsB,cAAc,IAAI,OAAO,CAAC,WAAW,GAAG,IAAI,CAAC,CAsBlE"}
@@ -0,0 +1,5 @@
1
+ import { type Snippet } from '../../../../client';
2
+ export declare function HeadSnippet({ snippet }: {
3
+ snippet: Snippet;
4
+ }): import("react/jsx-runtime").JSX.Element;
5
+ //# sourceMappingURL=HeadSnippet.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"HeadSnippet.d.ts","sourceRoot":"","sources":["../../../../../../src/next/components/framework-provider/app-router/HeadSnippet.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAE,KAAK,OAAO,EAAE,MAAM,oBAAoB,CAAA;AAOjD,wBAAgB,WAAW,CAAC,EAAE,OAAO,EAAE,EAAE;IAAE,OAAO,EAAE,OAAO,CAAA;CAAE,2CAa5D"}
@@ -0,0 +1,3 @@
1
+ import { type FrameworkContext } from '../../../../runtimes/react/components/framework-context';
2
+ export declare const context: Pick<FrameworkContext, 'Head' | 'HeadSnippet'>;
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/next/components/framework-provider/app-router/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,gBAAgB,EAEtB,MAAM,yDAAyD,CAAA;AAIhE,eAAO,MAAM,OAAO,EAAE,IAAI,CAAC,gBAAgB,EAAE,MAAM,GAAG,aAAa,CAKlE,CAAA"}
@@ -0,0 +1,5 @@
1
+ import { type PropsWithChildren } from 'react';
2
+ export declare function FrameworkProvider({ children, forcePagesRouter, }: PropsWithChildren<{
3
+ forcePagesRouter?: boolean;
4
+ }>): import("react/jsx-runtime").JSX.Element;
5
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/next/components/framework-provider/index.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,iBAAiB,EAAW,MAAM,OAAO,CAAA;AAgBvD,wBAAgB,iBAAiB,CAAC,EAChC,QAAQ,EACR,gBAAgB,GACjB,EAAE,iBAAiB,CAAC;IAAE,gBAAgB,CAAC,EAAE,OAAO,CAAA;CAAE,CAAC,2CAcnD"}
@@ -0,0 +1,2 @@
1
+ export declare const Link: import("react").ForwardRefExoticComponent<import("react").RefAttributes<HTMLAnchorElement>>;
2
+ //# sourceMappingURL=link.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"link.d.ts","sourceRoot":"","sources":["../../../../../src/next/components/framework-provider/link.tsx"],"names":[],"mappings":"AAwBA,eAAO,MAAM,IAAI,6FAuBf,CAAA"}
@@ -0,0 +1,5 @@
1
+ import { type Snippet } from '../../../../client';
2
+ export declare function HeadSnippet({ snippet }: {
3
+ snippet: Snippet;
4
+ }): import("react/jsx-runtime").JSX.Element;
5
+ //# sourceMappingURL=HeadSnippet.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"HeadSnippet.d.ts","sourceRoot":"","sources":["../../../../../../src/next/components/framework-provider/pages-router/HeadSnippet.tsx"],"names":[],"mappings":"AAKA,OAAO,EAAE,KAAK,OAAO,EAAE,MAAM,oBAAoB,CAAA;AAWjD,wBAAgB,WAAW,CAAC,EAAE,OAAO,EAAE,EAAE;IAAE,OAAO,EAAE,OAAO,CAAA;CAAE,2CAsB5D"}
@@ -0,0 +1,3 @@
1
+ import { type FrameworkContext } from '../../../../runtimes/react/components/framework-context';
2
+ export declare const context: Pick<FrameworkContext, 'Head' | 'HeadSnippet'>;
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/next/components/framework-provider/pages-router/index.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,gBAAgB,EAAE,MAAM,yDAAyD,CAAA;AAI/F,eAAO,MAAM,OAAO,EAAE,IAAI,CAAC,gBAAgB,EAAE,MAAM,GAAG,aAAa,CAGlE,CAAA"}
@@ -0,0 +1,8 @@
1
+ import { type ElementData } from '@makeswift/controls';
2
+ import { type BackgroundData } from '@makeswift/prop-controllers';
3
+ export declare const boxComponentData: ({ htmlId, backgrounds, }: {
4
+ htmlId: string;
5
+ backgrounds: BackgroundData[];
6
+ }) => ElementData;
7
+ export declare const imageBackgroundData: (imageId: string) => BackgroundData;
8
+ //# sourceMappingURL=box-component.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"box-component.d.ts","sourceRoot":"","sources":["../../../../../../../src/next/components/tests/__fixtures__/element-data/box-component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,WAAW,EAAE,MAAM,qBAAqB,CAAA;AACtD,OAAO,EAAE,KAAK,cAAc,EAAE,MAAM,6BAA6B,CAAA;AAIjE,eAAO,MAAM,gBAAgB,GAAI,0BAG9B;IACD,MAAM,EAAE,MAAM,CAAA;IACd,WAAW,EAAE,cAAc,EAAE,CAAA;CAC9B,KAAG,WA0EF,CAAA;AAEF,eAAO,MAAM,mBAAmB,GAAI,SAAS,MAAM,KAAG,cAcpD,CAAA"}
@@ -0,0 +1,9 @@
1
+ import { type ElementData } from '@makeswift/controls';
2
+ import { LinkData } from '@makeswift/prop-controllers';
3
+ export declare const buttonComponentData: ({ htmlId, linkData, }: {
4
+ htmlId: string;
5
+ linkData: LinkData;
6
+ }) => ElementData;
7
+ export declare const linkUrlData: (url?: string) => LinkData;
8
+ export declare const linkData: Record<string, LinkData>;
9
+ //# sourceMappingURL=button-component.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"button-component.d.ts","sourceRoot":"","sources":["../../../../../../../src/next/components/tests/__fixtures__/element-data/button-component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,WAAW,EAAE,MAAM,qBAAqB,CAAA;AACtD,OAAO,EAAE,QAAQ,EAAE,MAAM,6BAA6B,CAAA;AAItD,eAAO,MAAM,mBAAmB,GAAI,uBAGjC;IACD,MAAM,EAAE,MAAM,CAAA;IACd,QAAQ,EAAE,QAAQ,CAAA;CACnB,KAAG,WA+BF,CAAA;AAEF,eAAO,MAAM,WAAW,GAAI,MAAK,MAAqC,KAAG,QAMvE,CAAA;AAEF,eAAO,MAAM,QAAQ,EAAE,MAAM,CAAC,MAAM,EAAE,QAAQ,CAiC7C,CAAA"}
@@ -0,0 +1,7 @@
1
+ import { type ElementData } from '@makeswift/controls';
2
+ export declare const imageComponentData: ({ htmlId, swatchId, fileId, }: {
3
+ htmlId: string;
4
+ swatchId: string;
5
+ fileId: string;
6
+ }) => ElementData;
7
+ //# sourceMappingURL=image-component.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"image-component.d.ts","sourceRoot":"","sources":["../../../../../../../src/next/components/tests/__fixtures__/element-data/image-component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,WAAW,EAAE,MAAM,qBAAqB,CAAA;AAItD,eAAO,MAAM,kBAAkB,GAAI,+BAIhC;IACD,MAAM,EAAE,MAAM,CAAA;IACd,QAAQ,EAAE,MAAM,CAAA;IAChB,MAAM,EAAE,MAAM,CAAA;CACf,KAAG,WA+JF,CAAA"}
@@ -0,0 +1,3 @@
1
+ import { type MakeswiftPageDocument } from '../../../../client';
2
+ export declare const pageDocument: MakeswiftPageDocument;
3
+ //# sourceMappingURL=page-document.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"page-document.d.ts","sourceRoot":"","sources":["../../../../../../src/next/components/tests/__fixtures__/page-document.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,qBAAqB,EAAE,MAAM,oBAAoB,CAAA;AAG/D,eAAO,MAAM,YAAY,EAAE,qBAgB1B,CAAA"}
@@ -0,0 +1,3 @@
1
+ import { type File } from '../../../../../api';
2
+ export declare const file1: File;
3
+ //# sourceMappingURL=files.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"files.d.ts","sourceRoot":"","sources":["../../../../../../../src/next/components/tests/__fixtures__/resources/files.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,IAAI,EAAE,MAAM,oBAAoB,CAAA;AAE9C,eAAO,MAAM,KAAK,EAAE,IAWnB,CAAA"}
@@ -0,0 +1,4 @@
1
+ export * from './swatches';
2
+ export * from './files';
3
+ export * from './page-pathname-slices';
4
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../src/next/components/tests/__fixtures__/resources/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAA;AAC1B,cAAc,SAAS,CAAA;AACvB,cAAc,wBAAwB,CAAA"}
@@ -0,0 +1,3 @@
1
+ import { type PagePathnameSlice } from '../../../../../api';
2
+ export declare const pagePathnameSlice1: PagePathnameSlice;
3
+ //# sourceMappingURL=page-pathname-slices.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"page-pathname-slices.d.ts","sourceRoot":"","sources":["../../../../../../../src/next/components/tests/__fixtures__/resources/page-pathname-slices.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,iBAAiB,EAAE,MAAM,oBAAoB,CAAA;AAE3D,eAAO,MAAM,kBAAkB,EAAE,iBAIhC,CAAA"}
@@ -0,0 +1,3 @@
1
+ import { type Swatch } from '../../../../../api';
2
+ export declare const swatch1: Swatch;
3
+ //# sourceMappingURL=swatches.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"swatches.d.ts","sourceRoot":"","sources":["../../../../../../../src/next/components/tests/__fixtures__/resources/swatches.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,MAAM,EAAE,MAAM,oBAAoB,CAAA;AAEhD,eAAO,MAAM,OAAO,EAAE,MAMrB,CAAA"}
@@ -0,0 +1,3 @@
1
+ /** @jest-environment jsdom */
2
+ import '@testing-library/jest-dom';
3
+ //# sourceMappingURL=box-component-rendering.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"box-component-rendering.test.d.ts","sourceRoot":"","sources":["../../../../../../src/next/components/tests/components/box-component-rendering.test.tsx"],"names":[],"mappings":"AAAA,8BAA8B;AAE9B,OAAO,2BAA2B,CAAA"}
@@ -0,0 +1,3 @@
1
+ /** @jest-environment jsdom */
2
+ import '@testing-library/jest-dom';
3
+ //# sourceMappingURL=button-component-rendering.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"button-component-rendering.test.d.ts","sourceRoot":"","sources":["../../../../../../src/next/components/tests/components/button-component-rendering.test.tsx"],"names":[],"mappings":"AAAA,8BAA8B;AAE9B,OAAO,2BAA2B,CAAA"}
@@ -0,0 +1,3 @@
1
+ /** @jest-environment jsdom */
2
+ import '@testing-library/jest-dom';
3
+ //# sourceMappingURL=image-component-rendering.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"image-component-rendering.test.d.ts","sourceRoot":"","sources":["../../../../../../src/next/components/tests/components/image-component-rendering.test.tsx"],"names":[],"mappings":"AAAA,8BAA8B;AAE9B,OAAO,2BAA2B,CAAA"}
@@ -0,0 +1,3 @@
1
+ /** @jest-environment jsdom */
2
+ import '@testing-library/jest-dom';
3
+ //# sourceMappingURL=makeswift-page-snippets-rendering.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"makeswift-page-snippets-rendering.test.d.ts","sourceRoot":"","sources":["../../../../../src/next/components/tests/makeswift-page-snippets-rendering.test.tsx"],"names":[],"mappings":"AAAA,8BAA8B;AAE9B,OAAO,2BAA2B,CAAA"}
@@ -0,0 +1,2 @@
1
+ export declare const useRouterLocaleSync: () => void;
2
+ //# sourceMappingURL=use-router-locale-sync.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"use-router-locale-sync.d.ts","sourceRoot":"","sources":["../../../../src/next/hooks/use-router-locale-sync.ts"],"names":[],"mappings":"AAiBA,eAAO,MAAM,mBAAmB,YAS/B,CAAA"}
@@ -0,0 +1,4 @@
1
+ import { ComponentProps } from 'react';
2
+ import { RuntimeProvider } from '../runtimes/react/components/RuntimeProvider';
3
+ export declare function NextRuntimeProvider({ children, ...props }: ComponentProps<typeof RuntimeProvider>): import("react/jsx-runtime").JSX.Element;
4
+ //# sourceMappingURL=runtime-provider.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"runtime-provider.d.ts","sourceRoot":"","sources":["../../../src/next/runtime-provider.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,OAAO,CAAA;AAEtC,OAAO,EAAE,eAAe,EAAE,MAAM,8CAA8C,CAAA;AAI9E,wBAAgB,mBAAmB,CAAC,EAClC,QAAQ,EACR,GAAG,KAAK,EACT,EAAE,cAAc,CAAC,OAAO,eAAe,CAAC,2CAMxC"}
@@ -0,0 +1,4 @@
1
+ export declare const DESKTOP_MEDIA_QUERY = "only screen and (min-width: 769px)";
2
+ export declare const TABLET_MEDIA_QUERY = "only screen and (min-width: 769px)";
3
+ export declare const MOBILE_MEDIA_QUERY = "only screen and (min-width: 769px)";
4
+ //# sourceMappingURL=breakpoints.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"breakpoints.d.ts","sourceRoot":"","sources":["../../../../src/next/testing/breakpoints.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,mBAAmB,uCAAuC,CAAA;AACvE,eAAO,MAAM,kBAAkB,uCAAuC,CAAA;AACtE,eAAO,MAAM,kBAAkB,uCAAuC,CAAA"}