dineway 0.1.48 → 0.1.49

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 (285) hide show
  1. package/dist/{activity-events-C9u37D5z.mjs → activity-events-CwM7yxPW.mjs} +1 -1
  2. package/dist/{allowed-origins-DhipQNLb.mjs → allowed-origins-CyGnbgBd.mjs} +1 -1
  3. package/dist/api/route-utils.d.mts +7 -7
  4. package/dist/api/route-utils.mjs +10 -10
  5. package/dist/api/schemas/index.d.mts +1 -1
  6. package/dist/api/schemas/index.mjs +2 -2
  7. package/dist/{api-Eiy8_zVZ.mjs → api-BMIxRIEN.mjs} +17 -17
  8. package/dist/{apply-CX3no7XE.mjs → apply-D_RlTYtC.mjs} +16 -16
  9. package/dist/astro/index.d.mts +6 -6
  10. package/dist/astro/index.mjs +3 -3
  11. package/dist/astro/middleware/auth.d.mts +6 -6
  12. package/dist/astro/middleware/auth.mjs +2 -2
  13. package/dist/astro/middleware/redirect.mjs +5 -5
  14. package/dist/astro/middleware/request-context.mjs +4 -4
  15. package/dist/astro/middleware/seed.d.mts +1 -1
  16. package/dist/astro/middleware/seed.mjs +2 -2
  17. package/dist/astro/middleware/setup.mjs +1 -1
  18. package/dist/astro/middleware.mjs +64 -64
  19. package/dist/astro/routes/api/admin/allowed-domains/_domain_.mjs +2 -2
  20. package/dist/astro/routes/api/admin/allowed-domains/index.mjs +2 -2
  21. package/dist/astro/routes/api/admin/api-tokens/index.mjs +1 -1
  22. package/dist/astro/routes/api/admin/briefing.mjs +15 -15
  23. package/dist/astro/routes/api/admin/byline-fields/_slug_/usage.mjs +2 -2
  24. package/dist/astro/routes/api/admin/byline-fields/_slug_.mjs +4 -4
  25. package/dist/astro/routes/api/admin/byline-fields/index.mjs +4 -4
  26. package/dist/astro/routes/api/admin/byline-fields/reorder.mjs +4 -4
  27. package/dist/astro/routes/api/admin/bylines/_id_/index.mjs +10 -10
  28. package/dist/astro/routes/api/admin/bylines/_id_/translations.mjs +10 -10
  29. package/dist/astro/routes/api/admin/bylines/index.mjs +10 -10
  30. package/dist/astro/routes/api/admin/comments/_id_/status.mjs +9 -9
  31. package/dist/astro/routes/api/admin/comments/_id_.mjs +4 -4
  32. package/dist/astro/routes/api/admin/comments/bulk.mjs +6 -6
  33. package/dist/astro/routes/api/admin/comments/counts.mjs +4 -4
  34. package/dist/astro/routes/api/admin/comments/index.mjs +6 -6
  35. package/dist/astro/routes/api/admin/context/_id_/history.mjs +23 -23
  36. package/dist/astro/routes/api/admin/context/_id_/index.mjs +23 -23
  37. package/dist/astro/routes/api/admin/context/_id_/review.mjs +25 -25
  38. package/dist/astro/routes/api/admin/context/_id_/supersede.mjs +25 -25
  39. package/dist/astro/routes/api/admin/context/diff.mjs +24 -24
  40. package/dist/astro/routes/api/admin/context/index.mjs +25 -25
  41. package/dist/astro/routes/api/admin/context/stale.mjs +24 -24
  42. package/dist/astro/routes/api/admin/hitl-requests/_id_/index.mjs +24 -24
  43. package/dist/astro/routes/api/admin/hitl-requests/_id_/resolve.mjs +25 -25
  44. package/dist/astro/routes/api/admin/hitl-requests/index.mjs +25 -25
  45. package/dist/astro/routes/api/admin/hooks/exclusive/_hookName_.mjs +23 -23
  46. package/dist/astro/routes/api/admin/hooks/exclusive/index.mjs +1 -1
  47. package/dist/astro/routes/api/admin/oauth-clients/_id_.mjs +2 -2
  48. package/dist/astro/routes/api/admin/oauth-clients/index.mjs +2 -2
  49. package/dist/astro/routes/api/admin/plugins/_id_/disable.mjs +42 -42
  50. package/dist/astro/routes/api/admin/plugins/_id_/enable.mjs +42 -42
  51. package/dist/astro/routes/api/admin/plugins/_id_/index.mjs +36 -36
  52. package/dist/astro/routes/api/admin/plugins/_id_/uninstall.mjs +42 -42
  53. package/dist/astro/routes/api/admin/plugins/_id_/update.mjs +42 -42
  54. package/dist/astro/routes/api/admin/plugins/index.mjs +36 -36
  55. package/dist/astro/routes/api/admin/plugins/marketplace/_id_/index.mjs +36 -36
  56. package/dist/astro/routes/api/admin/plugins/marketplace/_id_/install.mjs +42 -42
  57. package/dist/astro/routes/api/admin/plugins/marketplace/index.mjs +36 -36
  58. package/dist/astro/routes/api/admin/plugins/updates.mjs +36 -36
  59. package/dist/astro/routes/api/admin/review-requests/_id_/index.mjs +4 -4
  60. package/dist/astro/routes/api/admin/review-requests/_id_/resolve.mjs +24 -24
  61. package/dist/astro/routes/api/admin/review-requests/index.mjs +6 -6
  62. package/dist/astro/routes/api/admin/themes/marketplace/_id_/index.mjs +36 -36
  63. package/dist/astro/routes/api/admin/themes/marketplace/index.mjs +36 -36
  64. package/dist/astro/routes/api/admin/users/_id_/disable.mjs +1 -1
  65. package/dist/astro/routes/api/admin/users/_id_/index.mjs +3 -3
  66. package/dist/astro/routes/api/admin/users/_id_/send-recovery.mjs +2 -2
  67. package/dist/astro/routes/api/admin/users/index.mjs +2 -2
  68. package/dist/astro/routes/api/auth/dev-bypass.mjs +1 -1
  69. package/dist/astro/routes/api/auth/invite/complete.mjs +6 -6
  70. package/dist/astro/routes/api/auth/invite/index.mjs +4 -4
  71. package/dist/astro/routes/api/auth/invite/register-options.mjs +5 -5
  72. package/dist/astro/routes/api/auth/magic-link/send.mjs +4 -4
  73. package/dist/astro/routes/api/auth/me.mjs +6 -6
  74. package/dist/astro/routes/api/auth/mode.mjs +1 -1
  75. package/dist/astro/routes/api/auth/oauth/_provider_/callback.mjs +1 -1
  76. package/dist/astro/routes/api/auth/oauth/_provider_.mjs +1 -1
  77. package/dist/astro/routes/api/auth/passkey/_id_.mjs +2 -2
  78. package/dist/astro/routes/api/auth/passkey/options.mjs +5 -5
  79. package/dist/astro/routes/api/auth/passkey/register/options.mjs +5 -5
  80. package/dist/astro/routes/api/auth/passkey/register/verify.mjs +6 -6
  81. package/dist/astro/routes/api/auth/passkey/verify.mjs +6 -6
  82. package/dist/astro/routes/api/auth/setup-token/index.mjs +4 -4
  83. package/dist/astro/routes/api/auth/signup/complete.mjs +6 -6
  84. package/dist/astro/routes/api/auth/signup/request.mjs +4 -4
  85. package/dist/astro/routes/api/comments/_collection_/_contentId_/index.mjs +10 -10
  86. package/dist/astro/routes/api/content/_collection_/_id_/discard-draft.mjs +4 -4
  87. package/dist/astro/routes/api/content/_collection_/_id_/duplicate.mjs +4 -4
  88. package/dist/astro/routes/api/content/_collection_/_id_/permanent.mjs +4 -4
  89. package/dist/astro/routes/api/content/_collection_/_id_/preview-url.mjs +7 -7
  90. package/dist/astro/routes/api/content/_collection_/_id_/publish.mjs +6 -6
  91. package/dist/astro/routes/api/content/_collection_/_id_/restore.mjs +4 -4
  92. package/dist/astro/routes/api/content/_collection_/_id_/schedule.mjs +6 -6
  93. package/dist/astro/routes/api/content/_collection_/_id_/terms/_taxonomy_.mjs +9 -9
  94. package/dist/astro/routes/api/content/_collection_/_id_/unpublish.mjs +4 -4
  95. package/dist/astro/routes/api/content/_collection_/_id_.mjs +6 -6
  96. package/dist/astro/routes/api/content/_collection_/index.mjs +6 -6
  97. package/dist/astro/routes/api/content/_collection_/trash.mjs +2 -2
  98. package/dist/astro/routes/api/dashboard.mjs +7 -7
  99. package/dist/astro/routes/api/health.mjs +1 -1
  100. package/dist/astro/routes/api/import/probe.d.mts +2 -2
  101. package/dist/astro/routes/api/import/probe.mjs +5 -5
  102. package/dist/astro/routes/api/import/wordpress/analyze.mjs +3 -3
  103. package/dist/astro/routes/api/import/wordpress/execute.mjs +28 -28
  104. package/dist/astro/routes/api/import/wordpress/media.mjs +5 -5
  105. package/dist/astro/routes/api/import/wordpress/prepare.mjs +28 -28
  106. package/dist/astro/routes/api/import/wordpress/rewrite-urls.mjs +26 -26
  107. package/dist/astro/routes/api/import/wordpress-plugin/analyze.mjs +7 -7
  108. package/dist/astro/routes/api/import/wordpress-plugin/callback.mjs +1 -1
  109. package/dist/astro/routes/api/import/wordpress-plugin/execute.mjs +28 -28
  110. package/dist/astro/routes/api/manifest.mjs +3 -3
  111. package/dist/astro/routes/api/mcp.mjs +48 -48
  112. package/dist/astro/routes/api/media/_id_/confirm.mjs +5 -5
  113. package/dist/astro/routes/api/media/_id_.mjs +2 -2
  114. package/dist/astro/routes/api/media/upload-url.mjs +7 -7
  115. package/dist/astro/routes/api/media.mjs +8 -8
  116. package/dist/astro/routes/api/menus/_name_/items/_id_.mjs +25 -25
  117. package/dist/astro/routes/api/menus/_name_/items.mjs +25 -25
  118. package/dist/astro/routes/api/menus/_name_/reorder.mjs +25 -25
  119. package/dist/astro/routes/api/menus/_name_/translations.mjs +25 -25
  120. package/dist/astro/routes/api/menus/_name_.mjs +25 -25
  121. package/dist/astro/routes/api/menus/index.mjs +25 -25
  122. package/dist/astro/routes/api/oauth/authorize.mjs +4 -4
  123. package/dist/astro/routes/api/oauth/device/authorize.mjs +2 -2
  124. package/dist/astro/routes/api/oauth/device/code.mjs +3 -3
  125. package/dist/astro/routes/api/oauth/device/token.mjs +2 -2
  126. package/dist/astro/routes/api/oauth/register.mjs +2 -2
  127. package/dist/astro/routes/api/oauth/token/refresh.mjs +2 -2
  128. package/dist/astro/routes/api/oauth/token/revoke.mjs +2 -2
  129. package/dist/astro/routes/api/oauth/token.mjs +3 -3
  130. package/dist/astro/routes/api/openapi.json.mjs +1 -1
  131. package/dist/astro/routes/api/redirects/404s/index.mjs +7 -7
  132. package/dist/astro/routes/api/redirects/404s/summary.mjs +7 -7
  133. package/dist/astro/routes/api/redirects/_id_.mjs +26 -26
  134. package/dist/astro/routes/api/redirects/index.mjs +26 -26
  135. package/dist/astro/routes/api/schema/collections/_slug_/fields/_fieldSlug_.mjs +37 -37
  136. package/dist/astro/routes/api/schema/collections/_slug_/fields/index.mjs +37 -37
  137. package/dist/astro/routes/api/schema/collections/_slug_/fields/reorder.mjs +37 -37
  138. package/dist/astro/routes/api/schema/collections/_slug_/index.mjs +37 -37
  139. package/dist/astro/routes/api/schema/collections/index.mjs +37 -37
  140. package/dist/astro/routes/api/schema/index.mjs +3 -3
  141. package/dist/astro/routes/api/schema/orphans/_slug_.mjs +36 -36
  142. package/dist/astro/routes/api/schema/orphans/index.mjs +36 -36
  143. package/dist/astro/routes/api/search/enable.mjs +7 -7
  144. package/dist/astro/routes/api/search/index.mjs +7 -7
  145. package/dist/astro/routes/api/search/rebuild.mjs +7 -7
  146. package/dist/astro/routes/api/search/stats.mjs +5 -5
  147. package/dist/astro/routes/api/search/suggest.mjs +7 -7
  148. package/dist/astro/routes/api/sections/_slug_.mjs +25 -25
  149. package/dist/astro/routes/api/sections/index.mjs +25 -25
  150. package/dist/astro/routes/api/settings/email.mjs +1 -1
  151. package/dist/astro/routes/api/settings.mjs +25 -25
  152. package/dist/astro/routes/api/setup/admin-verify.mjs +7 -7
  153. package/dist/astro/routes/api/setup/admin.mjs +5 -5
  154. package/dist/astro/routes/api/setup/dev-bypass.mjs +19 -19
  155. package/dist/astro/routes/api/setup/dev-reset.mjs +1 -1
  156. package/dist/astro/routes/api/setup/index.mjs +22 -22
  157. package/dist/astro/routes/api/setup/status.mjs +2 -2
  158. package/dist/astro/routes/api/snapshot.mjs +4 -4
  159. package/dist/astro/routes/api/taxonomies/_name_/terms/_slug_/translations.mjs +27 -27
  160. package/dist/astro/routes/api/taxonomies/_name_/terms/_slug_.mjs +27 -27
  161. package/dist/astro/routes/api/taxonomies/_name_/terms/index.mjs +27 -27
  162. package/dist/astro/routes/api/taxonomies/index.mjs +27 -27
  163. package/dist/astro/routes/api/themes/preview.mjs +4 -4
  164. package/dist/astro/routes/api/typegen.mjs +3 -3
  165. package/dist/astro/routes/api/well-known/auth.mjs +3 -3
  166. package/dist/astro/routes/api/well-known/oauth-authorization-server.mjs +2 -2
  167. package/dist/astro/routes/api/well-known/oauth-protected-resource.mjs +2 -2
  168. package/dist/astro/routes/api/widget-areas/_name_/reorder.mjs +24 -24
  169. package/dist/astro/routes/api/widget-areas/_name_/widgets/_id_.mjs +25 -25
  170. package/dist/astro/routes/api/widget-areas/_name_/widgets.mjs +25 -25
  171. package/dist/astro/routes/api/widget-areas/_name_.mjs +24 -24
  172. package/dist/astro/routes/api/widget-areas/index.mjs +25 -25
  173. package/dist/astro/routes/robots.txt.mjs +8 -8
  174. package/dist/astro/routes/sitemap-_collection_.xml.mjs +8 -8
  175. package/dist/astro/routes/sitemap.xml.mjs +8 -8
  176. package/dist/astro/session-driver.d.mts +1 -1
  177. package/dist/astro/session-driver.mjs +3 -3
  178. package/dist/astro/types.d.mts +6 -6
  179. package/dist/{audit-D1cbG7xH.mjs → audit-BeNsSyfU.mjs} +1 -1
  180. package/dist/{briefing-gKWiGLt1.mjs → briefing-CkTee1ex.mjs} +7 -7
  181. package/dist/{briefing-CObXGOGz.mjs → briefing-DJX6irto.mjs} +1 -1
  182. package/dist/{byline-1ntDwv8c.mjs → byline-BVC1lV6G.mjs} +5 -5
  183. package/dist/{byline-fields-C9_iaPaM.mjs → byline-fields-Cj39WhXC.mjs} +1 -1
  184. package/dist/{byline-fields-B-ZkoVft.mjs → byline-fields-cNrLJVRs.mjs} +2 -2
  185. package/dist/{byline-fields-BX7rWKNU.d.mts → byline-fields-uJlygdzM.d.mts} +31 -31
  186. package/dist/{byline-registry-CUSvkasJ.mjs → byline-registry-4v6tXMNX.mjs} +2 -2
  187. package/dist/{bylines-DtxChhN_.mjs → bylines-DwokOFj6.mjs} +4 -4
  188. package/dist/{bylines-bC15ZqAv.mjs → bylines-LN9XISRo.mjs} +2 -2
  189. package/dist/{cache-DbKyr60Q.mjs → cache-Bac05gBd.mjs} +2 -2
  190. package/dist/{chunks-C5zp2xir.mjs → chunks-CuUt7K50.mjs} +1 -1
  191. package/dist/cli/index.mjs +685 -576
  192. package/dist/{comment-CXDOQ93N.mjs → comment-Beue8-15.mjs} +1 -1
  193. package/dist/{comments-hK-rdzJ9.mjs → comments-DcjFIfqX.mjs} +1 -1
  194. package/dist/{content-QaryevFO.mjs → content-CBxYGWfL.mjs} +3 -3
  195. package/dist/{context-CoYb_fvK.mjs → context-CQVNZaR8.mjs} +7 -7
  196. package/dist/{context-DBL1ib4v.mjs → context-Df1xVYyr.mjs} +2 -2
  197. package/dist/{context-route-helpers-CYQVmbIm.mjs → context-route-helpers-B9wj8Rmh.mjs} +1 -1
  198. package/dist/{dashboard-DNlqsknJ.mjs → dashboard-B7ZUNuyF.mjs} +4 -4
  199. package/dist/db/index.d.mts +2 -2
  200. package/dist/db/index.mjs +1 -1
  201. package/dist/{device-flow-DygsFPGL.mjs → device-flow-BZVGftqi.mjs} +3 -3
  202. package/dist/{fts-manager-CIZlScg5.mjs → fts-manager-B5l_qwrA.mjs} +1 -1
  203. package/dist/{hitl-requests-CGQwOEiq.mjs → hitl-requests-7NlzVeUA.mjs} +2 -2
  204. package/dist/{hitl-route-helpers-GSDLNPpN.mjs → hitl-route-helpers-k---_H3-.mjs} +3 -3
  205. package/dist/{import-CvHY6sf5.mjs → import-4YBXbDkI.mjs} +2 -2
  206. package/dist/{index-CwRuZ-u8.d.mts → index-CZiWCQDp.d.mts} +1 -1
  207. package/dist/index.d.mts +7 -7
  208. package/dist/index.mjs +58 -58
  209. package/dist/{load-xE01Jm0V.mjs → load-D9OiGr2m.mjs} +1 -1
  210. package/dist/{loader-tg63WSY2.mjs → loader--GOYux8M.mjs} +2 -2
  211. package/dist/media/index.mjs +2 -2
  212. package/dist/media/local-runtime.d.mts +6 -6
  213. package/dist/media/local-runtime.mjs +3 -3
  214. package/dist/{media-DUAjMfvR.mjs → media-CbKyYukG.mjs} +1 -1
  215. package/dist/{media-allowlist-BsXkT9RK.mjs → media-allowlist-BYxJIcTO.mjs} +1 -1
  216. package/dist/{menus-WpFRMXjz.mjs → menus-BZbXf-ej.mjs} +2 -2
  217. package/dist/{menus-DU1eZqw_.mjs → menus-C7F0sCrC.mjs} +3 -3
  218. package/dist/{oauth-authorization-D-1p52Je.mjs → oauth-authorization-DF-LCsIA.mjs} +3 -3
  219. package/dist/{oauth-clients-CzeMGyUU.mjs → oauth-clients-Du-V0fEm.mjs} +1 -1
  220. package/dist/plugin-utils.d.mts +6 -6
  221. package/dist/plugins/adapt-sandbox-entry.d.mts +6 -6
  222. package/dist/{plugins-C57YQi4l.mjs → plugins-DzfqRREq.mjs} +4 -4
  223. package/dist/{preview-D5rvDhRt.mjs → preview-C-3YTX2U.mjs} +1 -1
  224. package/dist/{public-url-B5HaoGzj.d.mts → public-url-B4xV4rGa.d.mts} +5 -4
  225. package/dist/{public-url-DLUM5OOv.mjs → public-url-B_m9IwdV.mjs} +24 -18
  226. package/dist/{query-DKEwzobh.mjs → query-CZ3TH_Uu.mjs} +3 -3
  227. package/dist/{query-BYc3oruA.mjs → query-Ds0EnMFX.mjs} +10 -10
  228. package/dist/{redirect-C2zXRj3c.mjs → redirect-CEACczxo.mjs} +2 -2
  229. package/dist/{redirects-YZo_znWG.mjs → redirects-DYj1yPxs.mjs} +4 -4
  230. package/dist/{registry-CTkbIDB9.mjs → registry-D7HACema.mjs} +5 -5
  231. package/dist/{review-requests-gGMyYYhy.mjs → review-requests-BW2NxY-l.mjs} +1 -1
  232. package/dist/{review-requests-C0un5kdV.mjs → review-requests-Qum4713s.mjs} +1 -1
  233. package/dist/{runner-D4FL9usy.d.mts → runner-09sTqtv0.d.mts} +1 -1
  234. package/dist/{runner-B-tbV751.mjs → runner-DzIpHGND.mjs} +292 -197
  235. package/dist/{runtime-DEWQpZ-4.d.mts → runtime-C4-2lSFg.d.mts} +121 -120
  236. package/dist/runtime.d.mts +6 -6
  237. package/dist/runtime.mjs +3 -3
  238. package/dist/schema-Bsi-VpYv.mjs +8 -0
  239. package/dist/{search-axGQ1KY3.mjs → search-Gdrqj582.mjs} +3 -3
  240. package/dist/{secrets-062Izo8i.mjs → secrets-CeGpBFV2.mjs} +2 -2
  241. package/dist/{sections-OLKgXL10.mjs → sections-BOjU13Y-.mjs} +2 -2
  242. package/dist/seed/index.d.mts +2 -2
  243. package/dist/seed/index.mjs +17 -17
  244. package/dist/{seo-Cd45Po8L.mjs → seo-CLj8lS7Q.mjs} +1 -1
  245. package/dist/{service-Bwad8s5h.mjs → service-jGlhrICs.mjs} +1 -1
  246. package/dist/{settings-yLjz_I4T.mjs → settings-CUXOxzsT.mjs} +4 -4
  247. package/dist/{settings-lAHjaUit.mjs → settings-DlBsT2VS.mjs} +2 -2
  248. package/dist/{setup-complete--PradA4R.mjs → setup-complete-BRrdPYjZ.mjs} +1 -1
  249. package/dist/{site-activity-D7Xyropw.mjs → site-activity-DONFrMBJ.mjs} +1 -1
  250. package/dist/{site-context-DaN9Z91j.mjs → site-context-C8Az_P_I.mjs} +14 -14
  251. package/dist/{site-url-DpGZo9Z6.mjs → site-url-DIMD68go.mjs} +1 -1
  252. package/dist/{taxonomies-CNOGeC-3.mjs → taxonomies-CZ-_DitR.mjs} +5 -5
  253. package/dist/{taxonomies-uXVEoQso.mjs → taxonomies-D9Sw4wWM.mjs} +3 -3
  254. package/dist/{taxonomy-CBmkmMuU.mjs → taxonomy-B169Nm6B.mjs} +2 -2
  255. package/dist/{tokens-CjSgb0AC.mjs → tokens-SLmgowfd.mjs} +1 -1
  256. package/dist/{types-DfuD0Afl.mjs → types-CSgR9nQB.mjs} +2 -2
  257. package/dist/{types-eu5UDgHN.d.mts → types-CuJOqHfM.d.mts} +106 -0
  258. package/dist/ui/server-runtime.d.mts +7 -7
  259. package/dist/ui/server-runtime.mjs +16 -16
  260. package/dist/{user-DtNmjNYt.mjs → user-DTLoZs16.mjs} +2 -2
  261. package/dist/{utils-wv-zvC-Y.mjs → utils-B8hBJ9Oz.mjs} +1 -1
  262. package/dist/{validate-7SYRbz2f.mjs → validate-DWmPO6oj.mjs} +2 -2
  263. package/dist/{validate-BMs11tan.d.mts → validate-DzjCdy6v.d.mts} +1 -1
  264. package/dist/version-C4gfn0PJ.mjs +6 -0
  265. package/dist/{widgets-DR8EHuRO.mjs → widgets-BpJ8EpPd.mjs} +1 -1
  266. package/dist/{wordpress-slugs-Dvhxh4cl.mjs → wordpress-slugs-DHNR9LpG.mjs} +1 -1
  267. package/dist/{zod-generator-BS9-umbk.mjs → zod-generator-K91-g665.mjs} +1 -1
  268. package/package.json +6 -5
  269. package/dist/schema-B6zyB-Xn.mjs +0 -8
  270. package/dist/version-xlzMSXF2.mjs +0 -6
  271. /package/dist/{base64-C1Q9yr0B.mjs → base64-F8-DUraK.mjs} +0 -0
  272. /package/dist/{challenge-store-CRSz-Xim.mjs → challenge-store-DFxX0_15.mjs} +0 -0
  273. /package/dist/{context-types-DQh_XKkn.mjs → context-types-r8oFvyOq.mjs} +0 -0
  274. /package/dist/{entity-aliases-Egjmqc7I.mjs → entity-aliases-4y93Yjuc.mjs} +0 -0
  275. /package/dist/{experimental-workflows-Dh4DUoD_.mjs → experimental-workflows-CSMffP6q.mjs} +0 -0
  276. /package/dist/{mime-8pAB8-77.mjs → mime-CbKsKDCB.mjs} +0 -0
  277. /package/dist/{mode-CpyEz8pe.mjs → mode-CZqCF9dZ.mjs} +0 -0
  278. /package/dist/{normalize-DUnoXAa9.mjs → normalize-ByemhhfW.mjs} +0 -0
  279. /package/dist/{options-BvJoSSJR.mjs → options-LsPjZlqD.mjs} +0 -0
  280. /package/dist/{patterns-r-0n824Y.mjs → patterns-DKAX6oqN.mjs} +0 -0
  281. /package/dist/{placeholder-BDo81Is5.mjs → placeholder-d54Qr_7n.mjs} +0 -0
  282. /package/dist/{request-cache-CYMbwZc6.mjs → request-cache-ho99schz.mjs} +0 -0
  283. /package/dist/{slugify-BzGxlOFx.mjs → slugify-BqebcqBg.mjs} +0 -0
  284. /package/dist/{transaction-CShMWIej.mjs → transaction-CFLhEOuH.mjs} +0 -0
  285. /package/dist/{types-BO8TGjS8.mjs → types-CJ8DkL0q.mjs} +0 -0
@@ -1,11 +1,11 @@
1
1
  import { _ as UpdateFieldInput, f as FieldValidation, g as UpdateCollectionInput, i as CollectionWithFields, o as CreateCollectionInput, s as CreateFieldInput, t as Collection, u as Field } from "./types-CwawBUTa.mjs";
2
2
  import { f as UpdateContentInput, i as ContentItem, l as FindManyOptions, o as ContentSeoInput, r as ContentDateField, s as CreateContentInput, t as BylineSummary, u as FindManyResult } from "./types-DRIKLmJI.mjs";
3
- import { t as Database } from "./types-eu5UDgHN.mjs";
3
+ import { t as Database } from "./types-CuJOqHfM.mjs";
4
4
  import { A as PageMetadataContribution, B as PluginDefinition, D as PageFragmentContribution, H as PluginManifest, J as RequestMeta, O as PageFragmentEvent, W as PluginStorageConfig, X as ResolvedPlugin, a as CommentAfterModerateEvent, g as EmailMessage, h as CronEvent, j as PageMetadataEvent, r as CommentAfterCreateEvent, s as CommentBeforeCreateEvent, tt as StandardPluginDefinition, w as MediaItem$1 } from "./types-DSPGWjxO.mjs";
5
5
  import { r as AuthProviderDescriptor, t as AuthDescriptor } from "./types-Dryvv7LH.mjs";
6
6
  import { t as DatabaseDescriptor } from "./adapters-OQCImOL7.mjs";
7
7
  import { _ as MediaValue, m as MediaProviderDescriptor } from "./placeholder-CXfoCtCd.mjs";
8
- import { S as ContentBylineInput } from "./index-CwRuZ-u8.mjs";
8
+ import { S as ContentBylineInput } from "./index-CZiWCQDp.mjs";
9
9
  import { d as Storage } from "./types-DZpT-PnG.mjs";
10
10
  import { i as SiteSettings, r as SiteSettingKey } from "./types-nP9vGUFq.mjs";
11
11
  import { Kysely } from "kysely";
@@ -227,6 +227,119 @@ interface DatabaseConfig {
227
227
  authToken?: string;
228
228
  }
229
229
  //#endregion
230
+ //#region src/loader.d.ts
231
+ /**
232
+ * Entry data type - generic object
233
+ */
234
+ type EntryData = Record<string, unknown>;
235
+ /**
236
+ * Sort direction
237
+ */
238
+ type SortDirection$1 = "asc" | "desc";
239
+ /**
240
+ * Order by specification - field name to direction
241
+ * @example { created_at: "desc" } - Sort by created_at descending
242
+ * @example { title: "asc" } - Sort by title ascending
243
+ */
244
+ type OrderBySpec$1 = Record<string, SortDirection$1>;
245
+ /**
246
+ * Range filter for comparison operators on field values.
247
+ * ISO 8601 timestamps sort lexicographically in the same order as time.
248
+ */
249
+ interface WhereRange {
250
+ gt?: string;
251
+ gte?: string;
252
+ lt?: string;
253
+ lte?: string;
254
+ }
255
+ type WhereValue = string | string[] | WhereRange;
256
+ /**
257
+ * Filter for loadCollection - type is required
258
+ */
259
+ interface CollectionFilter$1 {
260
+ type: string;
261
+ status?: "draft" | "published" | "archived";
262
+ limit?: number;
263
+ /**
264
+ * Opaque cursor for keyset pagination.
265
+ * Pass the `nextCursor` value from a previous result to fetch the next page.
266
+ */
267
+ cursor?: string;
268
+ /**
269
+ * Filter by field values, taxonomy terms, byline credits, or ranges.
270
+ *
271
+ * Taxonomy names are detected automatically and filtered by term.
272
+ * The reserved `byline` key filters by byline credit in any position,
273
+ * not just the primary credit. Other keys are treated as content table
274
+ * column filters.
275
+ */
276
+ where?: Record<string, WhereValue>;
277
+ /** Case-insensitive substring search across the provided columns. */
278
+ q?: string;
279
+ searchColumns?: string[];
280
+ /**
281
+ * Order results by field(s)
282
+ * @default { created_at: "desc" }
283
+ */
284
+ orderBy?: OrderBySpec$1;
285
+ /**
286
+ * Filter by locale (e.g. 'en', 'fr').
287
+ * When set, only returns content in this locale.
288
+ */
289
+ locale?: string;
290
+ }
291
+ /**
292
+ * Filter for loadEntry - type and id are required
293
+ */
294
+ interface EntryFilter {
295
+ type: string;
296
+ id: string;
297
+ /**
298
+ * When set, fetch content data from this revision instead of the content table.
299
+ * Used by preview mode to serve draft revision data.
300
+ */
301
+ revisionId?: string;
302
+ /**
303
+ * Locale to scope slug lookup. Only affects slug resolution;
304
+ * IDs are globally unique and always resolve regardless of locale.
305
+ */
306
+ locale?: string;
307
+ }
308
+ /**
309
+ * Get the database instance. Used by query wrapper functions and middleware.
310
+ *
311
+ * Checks the ALS request context first — if a per-request DB override is set
312
+ * (e.g. by preview or playground middleware), it takes precedence over the
313
+ * module-level cached instance. This allows preview flows to route queries
314
+ * to an isolated session database without modifying any calling code.
315
+ *
316
+ * Initializes the default database on first call using config from virtual module.
317
+ */
318
+ declare function getDb(): Promise<Kysely<Database>>;
319
+ /**
320
+ * Create a Dineway Live Collections loader
321
+ *
322
+ * This loader handles ALL content types in a single Astro collection.
323
+ * Use `getDinewayCollection()` and `getDinewayEntry()` to query
324
+ * specific content types.
325
+ *
326
+ * Database is configured in astro.config.mjs via the dineway() integration.
327
+ *
328
+ * @example
329
+ * ```ts
330
+ * // src/live.config.ts
331
+ * import { defineLiveCollection } from "astro:content";
332
+ * import { dinewayLoader } from "dineway";
333
+ *
334
+ * export const collections = {
335
+ * dineway: defineLiveCollection({
336
+ * loader: dinewayLoader(),
337
+ * }),
338
+ * };
339
+ * ```
340
+ */
341
+ declare function dinewayLoader(): LiveLoader<EntryData, EntryFilter, CollectionFilter$1>;
342
+ //#endregion
230
343
  //#region src/database/repositories/content.d.ts
231
344
  /**
232
345
  * Repository for content CRUD operations
@@ -1603,119 +1716,6 @@ declare function sanitizeHref(url: string | undefined | null): string;
1603
1716
  */
1604
1717
  declare function isSafeHref(url: string): boolean;
1605
1718
  //#endregion
1606
- //#region src/loader.d.ts
1607
- /**
1608
- * Entry data type - generic object
1609
- */
1610
- type EntryData = Record<string, unknown>;
1611
- /**
1612
- * Sort direction
1613
- */
1614
- type SortDirection$1 = "asc" | "desc";
1615
- /**
1616
- * Order by specification - field name to direction
1617
- * @example { created_at: "desc" } - Sort by created_at descending
1618
- * @example { title: "asc" } - Sort by title ascending
1619
- */
1620
- type OrderBySpec$1 = Record<string, SortDirection$1>;
1621
- /**
1622
- * Range filter for comparison operators on field values.
1623
- * ISO 8601 timestamps sort lexicographically in the same order as time.
1624
- */
1625
- interface WhereRange {
1626
- gt?: string;
1627
- gte?: string;
1628
- lt?: string;
1629
- lte?: string;
1630
- }
1631
- type WhereValue = string | string[] | WhereRange;
1632
- /**
1633
- * Filter for loadCollection - type is required
1634
- */
1635
- interface CollectionFilter$1 {
1636
- type: string;
1637
- status?: "draft" | "published" | "archived";
1638
- limit?: number;
1639
- /**
1640
- * Opaque cursor for keyset pagination.
1641
- * Pass the `nextCursor` value from a previous result to fetch the next page.
1642
- */
1643
- cursor?: string;
1644
- /**
1645
- * Filter by field values, taxonomy terms, byline credits, or ranges.
1646
- *
1647
- * Taxonomy names are detected automatically and filtered by term.
1648
- * The reserved `byline` key filters by byline credit in any position,
1649
- * not just the primary credit. Other keys are treated as content table
1650
- * column filters.
1651
- */
1652
- where?: Record<string, WhereValue>;
1653
- /** Case-insensitive substring search across the provided columns. */
1654
- q?: string;
1655
- searchColumns?: string[];
1656
- /**
1657
- * Order results by field(s)
1658
- * @default { created_at: "desc" }
1659
- */
1660
- orderBy?: OrderBySpec$1;
1661
- /**
1662
- * Filter by locale (e.g. 'en', 'fr').
1663
- * When set, only returns content in this locale.
1664
- */
1665
- locale?: string;
1666
- }
1667
- /**
1668
- * Filter for loadEntry - type and id are required
1669
- */
1670
- interface EntryFilter {
1671
- type: string;
1672
- id: string;
1673
- /**
1674
- * When set, fetch content data from this revision instead of the content table.
1675
- * Used by preview mode to serve draft revision data.
1676
- */
1677
- revisionId?: string;
1678
- /**
1679
- * Locale to scope slug lookup. Only affects slug resolution;
1680
- * IDs are globally unique and always resolve regardless of locale.
1681
- */
1682
- locale?: string;
1683
- }
1684
- /**
1685
- * Get the database instance. Used by query wrapper functions and middleware.
1686
- *
1687
- * Checks the ALS request context first — if a per-request DB override is set
1688
- * (e.g. by preview or playground middleware), it takes precedence over the
1689
- * module-level cached instance. This allows preview flows to route queries
1690
- * to an isolated session database without modifying any calling code.
1691
- *
1692
- * Initializes the default database on first call using config from virtual module.
1693
- */
1694
- declare function getDb(): Promise<Kysely<Database>>;
1695
- /**
1696
- * Create a Dineway Live Collections loader
1697
- *
1698
- * This loader handles ALL content types in a single Astro collection.
1699
- * Use `getDinewayCollection()` and `getDinewayEntry()` to query
1700
- * specific content types.
1701
- *
1702
- * Database is configured in astro.config.mjs via the dineway() integration.
1703
- *
1704
- * @example
1705
- * ```ts
1706
- * // src/live.config.ts
1707
- * import { defineLiveCollection } from "astro:content";
1708
- * import { dinewayLoader } from "dineway";
1709
- *
1710
- * export const collections = {
1711
- * dineway: defineLiveCollection({
1712
- * loader: dinewayLoader(),
1713
- * }),
1714
- * };
1715
- * ```
1716
- */
1717
- declare function dinewayLoader(): LiveLoader<EntryData, EntryFilter, CollectionFilter$1>;
1718
- //#endregion
1719
1719
  //#region src/visual-editing/editable.d.ts
1720
1720
  /**
1721
1721
  * Visual editing annotation system
@@ -2389,14 +2389,14 @@ declare const pluginManifestSchema: z$1.ZodObject<{
2389
2389
  number: "number";
2390
2390
  boolean: "boolean";
2391
2391
  file: "file";
2392
+ image: "image";
2393
+ datetime: "datetime";
2392
2394
  slug: "slug";
2393
2395
  text: "text";
2394
2396
  integer: "integer";
2395
- datetime: "datetime";
2396
2397
  select: "select";
2397
2398
  multiSelect: "multiSelect";
2398
2399
  portableText: "portableText";
2399
- image: "image";
2400
2400
  reference: "reference";
2401
2401
  json: "json";
2402
2402
  repeater: "repeater";
@@ -4497,8 +4497,9 @@ interface DinewayConfig {
4497
4497
  * while the browser uses `https://`, which breaks WebAuthn, CSRF, OAuth, and redirect URLs.
4498
4498
  *
4499
4499
  * Set to the full origin users type in the address bar (no path), e.g.
4500
- * `https://mysite.example.com`. When not set, falls back to environment variables
4501
- * `DINEWAY_SITE_URL` > `SITE_URL`, then to the request URL's origin.
4500
+ * `https://mysite.example.com`. `DINEWAY_SITE_URL` is an explicit runtime
4501
+ * override for container deployments; otherwise this falls back to `SITE_URL`,
4502
+ * then to the request URL's origin.
4502
4503
  *
4503
4504
  * Replaces `passkeyPublicOrigin` (which only fixed passkeys).
4504
4505
  */
@@ -4614,4 +4615,4 @@ declare global {
4614
4615
  var __dinewayConfig: DinewayConfig | undefined;
4615
4616
  }
4616
4617
  //#endregion
4617
- export { CreateMenuItemInput as $, hashString as $n, handleContentList as $r, createFilePreviewMiddleware as $t, UpdateWidgetInput as A, ParseResult as Ai, ResolvePathResult as An, MediaListResponse as Ar, GeneratePreviewTokenOptions as At, getTerm as B, FieldDescriptor as Bi, FieldAnnotation as Bn, handleRevisionList as Br, SandboxNotAvailableError as Bt, getWidgetArea as C, CreateMediaInput as Ci, CollectionFilter as Cn, GetSectionsOptions as Cr, renderPreviewLoadingPage as Ct, CreateWidgetInput as D, DatabaseConfig as Di, EditFieldMeta as Dn, getCollectionInfo as Dr, GetPreviewUrlOptions as Dt, CreateWidgetAreaInput as E, ContentRepository as Ei, DinewayCollections as En, UpdateSectionInput as Er, isPreviewRequest as Et, getEntriesByTerm as F, apiSuccess as Fi, getEditMeta as Fn, handleMediaList as Fr, parseContentId as Ft, TaxonomyTermRow as G, EntryFilter as Gn, handleContentCountScheduled as Gr, EmailPipeline as Gt, CreateTermInput as H, ManifestResponse as Hi, createNoop as Hn, generateManifest as Hr, PluginManager as Ht, getEntryTerms as I, handleError as Ii, getTranslations as In, handleMediaUpdate as Ir, verifyPreviewToken as It, getBylineBySlug as J, dinewayLoader as Jn, handleContentDelete as Jr, createHookPipeline as Jt, UpdateTermInput as K, WhereRange as Kn, handleContentCountTrashed as Kr, HookPipeline as Kt, getTaxonomyDef as L, ApiContext as Li, resolveDinewayPath as Ln, RevisionListResponse as Lr, NodeSandboxRunner as Lt, WidgetArea as M, parseBody as Mi, TranslationsResult as Mn, handleMediaCreate as Mr, VerifyPreviewTokenOptions as Mt, WidgetComponentDef as N, parseQuery as Ni, getDinewayCollection as Nn, handleMediaDelete as Nr, VerifyPreviewTokenResult as Nt, PropDef as O, DinewayDatabaseError as Oi, EntryResult as On, SchemaError as Or, buildPreviewUrl as Ot, WidgetType as P, apiError as Pi, getDinewayEntry as Pn, handleMediaGet as Pr, generatePreviewToken as Pt, CreateMenuInput as Q, computeContentHash as Qn, handleContentGetIncludingTrashed as Qr, FilePreviewMiddlewareConfig as Qt, getTaxonomyDefs as R, ContentListResponse as Ri, CMSAnnotation as Rn, RevisionResponse as Rr, createNodeSandboxRunner as Rt, Suggestion as S, PublicComment as Si, CacheHint as Sn, CreateSectionInput as Sr, Snapshot as St, getWidgetComponents as T, MediaRepository as Ti, ContentEntry as Tn, SectionSource as Tr, getPreviewToken as Tt, TaxonomyDef as U, CollectionFilter$1 as Un, handleContentAuthors as Ur, createPluginManager as Ut, getTermsForEntries as V, ListResponse as Vi, createEditable as Vn, handleRevisionRestore as Vr, createNoopSandboxRunner as Vt, TaxonomyTerm as W, EntryData as Wn, handleContentCompare as Wr, PluginRouteError as Wt, getMenu as X, isSafeHref as Xn, handleContentDuplicate as Xr, pluginManifestSchema as Xt, getEntriesByByline as Y, getDb as Yn, handleContentDiscardDraft as Yr, ValidatedPluginManifest as Yt, getMenus as Z, sanitizeHref as Zn, handleContentGet as Zr, definePlugin as Zt, SearchOptions as _, ContentReference as _i, getFallbackChain as _n, SandboxRunnerFactory as _r, AppliedSnapshotMeta as _t, S3StorageConfig as a, handleContentTranslations as ai, SessionDatabaseInfo as an, PortableTextLinkMark as ar, UpdateMenuItemInput as at, SearchStats as b, RelationRepository as bi, AfterCallback as bn, getSection as br, dropSessionDatabaseTables as bt, extractSearchableFields as c, handleContentUpdate as ci, SessionOpenOrCreateOptions as cn, PortableTextTextBlock as cr, getCommentCount as ct, search as d, image as di, buildPreviewSignatureHeader as dn, ProseMirrorMark as dr, getPluginSettings as dt, handleContentListTrashed as ei, FileSessionDatabaseFactory as en, portableTextToProsemirror as er, Menu as et, searchCollection as f, FieldDefinition as fi, defaultPreviewSidecarClient as fn, ProseMirrorNode as fr, getSiteSetting as ft, SearchConfig as g, PortableTextBlock$1 as gi, I18nConfig as gn, SandboxRunner as gr, renderPreviewToolbar as gt, CollectionSearchOptions as h, ImageValue as hi, verifyPreviewSignature as hn, SandboxOptions as hr, PreviewToolbarConfig as ht, LocalStorageConfig as i, handleContentSchedule as ii, SessionDatabaseHandle as in, PortableTextImageBlock as ir, UpdateMenuInput as it, Widget as j, isParseError as ji, TranslationSummary as jn, MediaResponse as jr, PreviewTokenPayload as jt, ReorderWidgetsInput as k, OptionsRepository as ki, InferCollectionData as kn, SchemaRegistry as kr, getPreviewUrl as kt, getSearchStats as l, portableText as li, PreviewSidecarClient as ln, PortableTextUnknownBlock as lr, getComments as lt, FTSManager as m, FileValue as mi, signPreviewUrl as mn, SandboxEmailSendCallback as mr, setSiteSettings as mt, PluginDescriptor as n, handleContentPublish as ni, SessionCleanupResult as nn, PortableTextCodeBlock as nr, MenuItemType as nt, StorageDescriptor as o, handleContentUnpublish as oi, SessionDatabaseLimitError as on, PortableTextMarkDef as or, GetCommentsOptions as ot, searchWithDb as p, FieldUIHints as pi, parsePreviewSignatureHeader as pn, SandboxEmailMessage as pr, getSiteSettings as pt, getByline as q, WhereValue as qn, handleContentCreate as qr, HookResult as qt, getStoredConfig as r, handleContentRestore as ri, SessionDatabaseFactory as rn, PortableTextHtmlBlock as rr, ReorderMenuItemsInput as rt, extractPlainText as s, handleContentUnschedule as si, SessionOpenOptions as sn, PortableTextSpan as sr, GetCommentsResult as st, DinewayConfig as t, handleContentPermanentDelete as ti, FileSessionDatabaseFactoryOptions as tn, prosemirrorToPortableText as tr, MenuItem as tt, getSuggestions as u, reference as ui, PreviewSidecarSignature as un, ProseMirrorDocument as ur, getPluginSetting as ut, SearchResponse as v, CreateRelationInput as vi, getI18nConfig as vn, SandboxedPlugin as vr, ApplySnapshotToDatabaseOptions as vt, getWidgetAreas as w, MediaItem as wi, CollectionResult as wn, Section as wr, isBlockedInPreview as wt, SuggestOptions as x, UpdateRelationInput as xi, after as xn, getSections as xr, getAppliedSnapshotMeta as xt, SearchResult as y, Relation as yi, isI18nEnabled as yn, SerializedRequest as yr, applySnapshotToDatabase as yt, getTaxonomyTerms as z, ContentResponse as zi, EditProxy as zn, handleRevisionGet as zr, NoopSandboxRunner as zt };
4618
+ export { CreateMenuItemInput as $, PortableTextMarkDef as $n, handleContentUnpublish as $r, createFilePreviewMiddleware as $t, UpdateWidgetInput as A, ParseResult as Ai, ResolvePathResult as An, RevisionListResponse as Ar, GeneratePreviewTokenOptions as At, getTerm as B, FieldDescriptor as Bi, FieldAnnotation as Bn, handleContentCreate as Br, SandboxNotAvailableError as Bt, getWidgetArea as C, WhereRange as Ci, CollectionFilter as Cn, MediaListResponse as Cr, renderPreviewLoadingPage as Ct, CreateWidgetInput as D, DatabaseConfig as Di, EditFieldMeta as Dn, handleMediaGet as Dr, GetPreviewUrlOptions as Dt, CreateWidgetAreaInput as E, getDb as Ei, DinewayCollections as En, handleMediaDelete as Er, isPreviewRequest as Et, getEntriesByTerm as F, apiSuccess as Fi, getEditMeta as Fn, generateManifest as Fr, parseContentId as Ft, TaxonomyTermRow as G, computeContentHash as Gn, handleContentGetIncludingTrashed as Gr, EmailPipeline as Gt, CreateTermInput as H, ManifestResponse as Hi, createNoop as Hn, handleContentDiscardDraft as Hr, PluginManager as Ht, getEntryTerms as I, handleError as Ii, getTranslations as In, handleContentAuthors as Ir, verifyPreviewToken as It, getBylineBySlug as J, prosemirrorToPortableText as Jn, handleContentPermanentDelete as Jr, createHookPipeline as Jt, UpdateTermInput as K, hashString as Kn, handleContentList as Kr, HookPipeline as Kt, getTaxonomyDef as L, ApiContext as Li, resolveDinewayPath as Ln, handleContentCompare as Lr, NodeSandboxRunner as Lt, WidgetArea as M, parseBody as Mi, TranslationsResult as Mn, handleRevisionGet as Mr, VerifyPreviewTokenOptions as Mt, WidgetComponentDef as N, parseQuery as Ni, getDinewayCollection as Nn, handleRevisionList as Nr, VerifyPreviewTokenResult as Nt, PropDef as O, DinewayDatabaseError as Oi, EntryResult as On, handleMediaList as Or, buildPreviewUrl as Ot, WidgetType as P, apiError as Pi, getDinewayEntry as Pn, handleRevisionRestore as Pr, generatePreviewToken as Pt, CreateMenuInput as Q, PortableTextLinkMark as Qn, handleContentTranslations as Qr, FilePreviewMiddlewareConfig as Qt, getTaxonomyDefs as R, ContentListResponse as Ri, CMSAnnotation as Rn, handleContentCountScheduled as Rr, createNodeSandboxRunner as Rt, Suggestion as S, EntryFilter as Si, CacheHint as Sn, SchemaRegistry as Sr, Snapshot as St, getWidgetComponents as T, dinewayLoader as Ti, ContentEntry as Tn, handleMediaCreate as Tr, getPreviewToken as Tt, TaxonomyDef as U, isSafeHref as Un, handleContentDuplicate as Ur, createPluginManager as Ut, getTermsForEntries as V, ListResponse as Vi, createEditable as Vn, handleContentDelete as Vr, createNoopSandboxRunner as Vt, TaxonomyTerm as W, sanitizeHref as Wn, handleContentGet as Wr, PluginRouteError as Wt, getMenu as X, PortableTextHtmlBlock as Xn, handleContentRestore as Xr, pluginManifestSchema as Xt, getEntriesByByline as Y, PortableTextCodeBlock as Yn, handleContentPublish as Yr, ValidatedPluginManifest as Yt, getMenus as Z, PortableTextImageBlock as Zn, handleContentSchedule as Zr, definePlugin as Zt, SearchOptions as _, MediaItem as _i, getFallbackChain as _n, Section as _r, AppliedSnapshotMeta as _t, S3StorageConfig as a, FieldDefinition as ai, SessionDatabaseInfo as an, ProseMirrorNode as ar, UpdateMenuItemInput as at, SearchStats as b, CollectionFilter$1 as bi, AfterCallback as bn, getCollectionInfo as br, dropSessionDatabaseTables as bt, extractSearchableFields as c, ImageValue as ci, SessionOpenOrCreateOptions as cn, SandboxOptions as cr, getCommentCount as ct, search as d, CreateRelationInput as di, buildPreviewSignatureHeader as dn, SandboxedPlugin as dr, getPluginSettings as dt, handleContentUnschedule as ei, FileSessionDatabaseFactory as en, PortableTextSpan as er, Menu as et, searchCollection as f, Relation as fi, defaultPreviewSidecarClient as fn, SerializedRequest as fr, getSiteSetting as ft, SearchConfig as g, CreateMediaInput as gi, I18nConfig as gn, GetSectionsOptions as gr, renderPreviewToolbar as gt, CollectionSearchOptions as h, PublicComment as hi, verifyPreviewSignature as hn, CreateSectionInput as hr, PreviewToolbarConfig as ht, LocalStorageConfig as i, image as ii, SessionDatabaseHandle as in, ProseMirrorMark as ir, UpdateMenuInput as it, Widget as j, isParseError as ji, TranslationSummary as jn, RevisionResponse as jr, PreviewTokenPayload as jt, ReorderWidgetsInput as k, OptionsRepository as ki, InferCollectionData as kn, handleMediaUpdate as kr, getPreviewUrl as kt, getSearchStats as l, PortableTextBlock$1 as li, PreviewSidecarClient as ln, SandboxRunner as lr, getComments as lt, FTSManager as m, UpdateRelationInput as mi, signPreviewUrl as mn, getSections as mr, setSiteSettings as mt, PluginDescriptor as n, portableText as ni, SessionCleanupResult as nn, PortableTextUnknownBlock as nr, MenuItemType as nt, StorageDescriptor as o, FieldUIHints as oi, SessionDatabaseLimitError as on, SandboxEmailMessage as or, GetCommentsOptions as ot, searchWithDb as p, RelationRepository as pi, parsePreviewSignatureHeader as pn, getSection as pr, getSiteSettings as pt, getByline as q, portableTextToProsemirror as qn, handleContentListTrashed as qr, HookResult as qt, getStoredConfig as r, reference as ri, SessionDatabaseFactory as rn, ProseMirrorDocument as rr, ReorderMenuItemsInput as rt, extractPlainText as s, FileValue as si, SessionOpenOptions as sn, SandboxEmailSendCallback as sr, GetCommentsResult as st, DinewayConfig as t, handleContentUpdate as ti, FileSessionDatabaseFactoryOptions as tn, PortableTextTextBlock as tr, MenuItem as tt, getSuggestions as u, ContentReference as ui, PreviewSidecarSignature as un, SandboxRunnerFactory as ur, getPluginSetting as ut, SearchResponse as v, MediaRepository as vi, getI18nConfig as vn, SectionSource as vr, ApplySnapshotToDatabaseOptions as vt, getWidgetAreas as w, WhereValue as wi, CollectionResult as wn, MediaResponse as wr, isBlockedInPreview as wt, SuggestOptions as x, EntryData as xi, after as xn, SchemaError as xr, getAppliedSnapshotMeta as xt, SearchResult as y, ContentRepository as yi, isI18nEnabled as yn, UpdateSectionInput as yr, applySnapshotToDatabase as yt, getTaxonomyTerms as z, ContentResponse as zi, EditProxy as zn, handleContentCountTrashed as zr, NoopSandboxRunner as zt };
@@ -1,11 +1,11 @@
1
- import { Gn as EntryFilter, Jn as dinewayLoader, Un as CollectionFilter, Wn as EntryData, Yn as getDb } from "./runtime-DEWQpZ-4.mjs";
2
- import "./types-eu5UDgHN.mjs";
1
+ import { Ei as getDb, Si as EntryFilter, Ti as dinewayLoader, bi as CollectionFilter, xi as EntryData } from "./runtime-C4-2lSFg.mjs";
2
+ import "./types-CuJOqHfM.mjs";
3
3
  import "./types-DSPGWjxO.mjs";
4
4
  import "./types-Dryvv7LH.mjs";
5
- import "./runner-D4FL9usy.mjs";
6
- import "./index-CwRuZ-u8.mjs";
7
- import "./byline-fields-BX7rWKNU.mjs";
5
+ import "./runner-09sTqtv0.mjs";
6
+ import "./index-CZiWCQDp.mjs";
7
+ import "./byline-fields-uJlygdzM.mjs";
8
8
  import "./types-GaCtZ1k9.mjs";
9
- import "./validate-BMs11tan.mjs";
9
+ import "./validate-DzjCdy6v.mjs";
10
10
  import { t as getMediaProvider } from "./provider-loader-9it4vd6L.mjs";
11
11
  export { type CollectionFilter, type EntryData, type EntryFilter, dinewayLoader, getDb, getMediaProvider };
package/dist/runtime.mjs CHANGED
@@ -1,7 +1,7 @@
1
1
  import "./dialect-helpers-fk43GbDb.mjs";
2
- import "./base64-C1Q9yr0B.mjs";
3
- import "./types-DfuD0Afl.mjs";
4
- import { n as dinewayLoader, r as getDb } from "./loader-tg63WSY2.mjs";
2
+ import "./base64-F8-DUraK.mjs";
3
+ import "./types-CSgR9nQB.mjs";
4
+ import { n as dinewayLoader, r as getDb } from "./loader--GOYux8M.mjs";
5
5
  import { t as getMediaProvider } from "./provider-loader-DzUxejk7.mjs";
6
6
 
7
7
  export { dinewayLoader, getDb, getMediaProvider };
@@ -0,0 +1,8 @@
1
+ import { a as __exportAll } from "./runner-DzIpHGND.mjs";
2
+ import { n as SchemaRegistry } from "./registry-D7HACema.mjs";
3
+
4
+ //#region src/schema/index.ts
5
+ var schema_exports = /* @__PURE__ */ __exportAll({ SchemaRegistry: () => SchemaRegistry });
6
+
7
+ //#endregion
8
+ export { schema_exports as t };
@@ -1,7 +1,7 @@
1
- import { a as __exportAll } from "./runner-B-tbV751.mjs";
1
+ import { a as __exportAll } from "./runner-DzIpHGND.mjs";
2
2
  import { t as validateIdentifier } from "./validate-VPnKoIzW.mjs";
3
- import { t as FTSManager } from "./fts-manager-CIZlScg5.mjs";
4
- import { r as getDb } from "./loader-tg63WSY2.mjs";
3
+ import { r as getDb } from "./loader--GOYux8M.mjs";
4
+ import { t as FTSManager } from "./fts-manager-B5l_qwrA.mjs";
5
5
  import { sql } from "kysely";
6
6
  import { toPlainText } from "@portabletext/toolkit";
7
7
 
@@ -1,5 +1,5 @@
1
- import { i as encodeBase64url, n as decodeBase64url } from "./base64-C1Q9yr0B.mjs";
2
- import { t as OptionsRepository } from "./options-BvJoSSJR.mjs";
1
+ import { i as encodeBase64url, n as decodeBase64url } from "./base64-F8-DUraK.mjs";
2
+ import { t as OptionsRepository } from "./options-LsPjZlqD.mjs";
3
3
 
4
4
  //#region src/config/secrets.ts
5
5
  const ENCRYPTION_KEY_PREFIX = "dineway_enc_v1_";
@@ -1,5 +1,5 @@
1
- import { i as encodeCursor, r as decodeCursor } from "./types-DfuD0Afl.mjs";
2
- import { r as getDb } from "./loader-tg63WSY2.mjs";
1
+ import { i as encodeCursor, r as decodeCursor } from "./types-CSgR9nQB.mjs";
2
+ import { r as getDb } from "./loader--GOYux8M.mjs";
3
3
  import { ulid } from "ulidx";
4
4
 
5
5
  //#region src/sections/index.ts
@@ -1,3 +1,3 @@
1
- import "../types-eu5UDgHN.mjs";
2
- import { _ as SeedTaxonomyTerm, a as applySeed, b as ValidationResult, c as SeedCollection, d as SeedFile, f as SeedMenu, g as SeedTaxonomy, h as SeedSection, i as defaultSeed, l as SeedContentEntry, m as SeedRedirect, n as loadSeed, o as SeedApplyOptions, p as SeedMenuItem, r as loadUserSeed, s as SeedApplyResult, t as validateSeed, u as SeedField, v as SeedWidget, y as SeedWidgetArea } from "../validate-BMs11tan.mjs";
1
+ import "../types-CuJOqHfM.mjs";
2
+ import { _ as SeedTaxonomyTerm, a as applySeed, b as ValidationResult, c as SeedCollection, d as SeedFile, f as SeedMenu, g as SeedTaxonomy, h as SeedSection, i as defaultSeed, l as SeedContentEntry, m as SeedRedirect, n as loadSeed, o as SeedApplyOptions, p as SeedMenuItem, r as loadUserSeed, s as SeedApplyResult, t as validateSeed, u as SeedField, v as SeedWidget, y as SeedWidgetArea } from "../validate-DzjCdy6v.mjs";
3
3
  export { type SeedApplyOptions, type SeedApplyResult, type SeedCollection, type SeedContentEntry, type SeedField, type SeedFile, type SeedMenu, type SeedMenuItem, type SeedRedirect, type SeedSection, type SeedTaxonomy, type SeedTaxonomyTerm, type SeedWidget, type SeedWidgetArea, type ValidationResult, applySeed, defaultSeed, loadSeed, loadUserSeed, validateSeed };
@@ -1,22 +1,22 @@
1
1
  import "../dialect-helpers-fk43GbDb.mjs";
2
- import "../content-QaryevFO.mjs";
3
- import "../base64-C1Q9yr0B.mjs";
4
- import "../types-DfuD0Afl.mjs";
5
- import "../media-DUAjMfvR.mjs";
6
- import "../taxonomy-CBmkmMuU.mjs";
7
- import "../options-BvJoSSJR.mjs";
8
- import "../redirect-C2zXRj3c.mjs";
9
- import "../request-cache-CYMbwZc6.mjs";
10
- import "../byline-registry-CUSvkasJ.mjs";
11
- import "../byline-1ntDwv8c.mjs";
12
- import "../fts-manager-CIZlScg5.mjs";
13
- import "../registry-CTkbIDB9.mjs";
14
- import "../loader-tg63WSY2.mjs";
15
- import "../settings-yLjz_I4T.mjs";
2
+ import "../base64-F8-DUraK.mjs";
3
+ import "../types-CSgR9nQB.mjs";
4
+ import "../loader--GOYux8M.mjs";
5
+ import "../content-CBxYGWfL.mjs";
6
+ import "../media-CbKyYukG.mjs";
7
+ import "../taxonomy-B169Nm6B.mjs";
8
+ import "../options-LsPjZlqD.mjs";
9
+ import "../redirect-CEACczxo.mjs";
10
+ import "../request-cache-ho99schz.mjs";
11
+ import "../byline-registry-4v6tXMNX.mjs";
12
+ import "../byline-BVC1lV6G.mjs";
13
+ import "../fts-manager-B5l_qwrA.mjs";
14
+ import "../registry-D7HACema.mjs";
15
+ import "../settings-CUXOxzsT.mjs";
16
16
  import "../ssrf-DiKqWd3N.mjs";
17
- import { t as validateSeed } from "../validate-7SYRbz2f.mjs";
18
- import { t as applySeed } from "../apply-CX3no7XE.mjs";
17
+ import { t as validateSeed } from "../validate-DWmPO6oj.mjs";
18
+ import { t as applySeed } from "../apply-D_RlTYtC.mjs";
19
19
  import { t as defaultSeed } from "../default-B6iaLvP7.mjs";
20
- import { n as loadUserSeed, t as loadSeed } from "../load-xE01Jm0V.mjs";
20
+ import { n as loadUserSeed, t as loadSeed } from "../load-D9OiGr2m.mjs";
21
21
 
22
22
  export { applySeed, defaultSeed, loadSeed, loadUserSeed, validateSeed };
@@ -1,4 +1,4 @@
1
- import { n as chunks, t as SQL_BATCH_SIZE } from "./chunks-C5zp2xir.mjs";
1
+ import { n as chunks, t as SQL_BATCH_SIZE } from "./chunks-CuUt7K50.mjs";
2
2
  import { sql } from "kysely";
3
3
 
4
4
  //#region src/database/repositories/seo.ts
@@ -1,5 +1,5 @@
1
1
  import { t as validateIdentifier } from "./validate-VPnKoIzW.mjs";
2
- import { t as CommentRepository } from "./comment-CXDOQ93N.mjs";
2
+ import { t as CommentRepository } from "./comment-Beue8-15.mjs";
3
3
  import { t as escapeHtml } from "./escape-BDgouFFY.mjs";
4
4
 
5
5
  //#region src/comments/notifications.ts
@@ -1,7 +1,7 @@
1
- import { t as MediaRepository } from "./media-DUAjMfvR.mjs";
2
- import { t as OptionsRepository } from "./options-BvJoSSJR.mjs";
3
- import { n as peekRequestCache, r as requestCached } from "./request-cache-CYMbwZc6.mjs";
4
- import { r as getDb } from "./loader-tg63WSY2.mjs";
1
+ import { r as getDb } from "./loader--GOYux8M.mjs";
2
+ import { t as MediaRepository } from "./media-CbKyYukG.mjs";
3
+ import { t as OptionsRepository } from "./options-LsPjZlqD.mjs";
4
+ import { n as peekRequestCache, r as requestCached } from "./request-cache-ho99schz.mjs";
5
5
 
6
6
  //#region src/media/url.ts
7
7
  const INTERNAL_MEDIA_PREFIX = "/_dineway/api/media/file/";
@@ -1,5 +1,5 @@
1
- import { a as __exportAll } from "./runner-B-tbV751.mjs";
2
- import { a as getSiteSettingsWithDb, o as setSiteSettings } from "./settings-yLjz_I4T.mjs";
1
+ import { a as __exportAll } from "./runner-DzIpHGND.mjs";
2
+ import { a as getSiteSettingsWithDb, o as setSiteSettings } from "./settings-CUXOxzsT.mjs";
3
3
 
4
4
  //#region src/api/handlers/settings.ts
5
5
  var settings_exports = /* @__PURE__ */ __exportAll({
@@ -1,4 +1,4 @@
1
- import { t as OptionsRepository } from "./options-BvJoSSJR.mjs";
1
+ import { t as OptionsRepository } from "./options-LsPjZlqD.mjs";
2
2
 
3
3
  //#region src/api/setup-complete.ts
4
4
  /**
@@ -1,4 +1,4 @@
1
- import { i as encodeCursor, r as decodeCursor } from "./types-DfuD0Afl.mjs";
1
+ import { i as encodeCursor, r as decodeCursor } from "./types-CSgR9nQB.mjs";
2
2
  import { ulid } from "ulidx";
3
3
 
4
4
  //#region src/database/repositories/site-activity.ts
@@ -1,18 +1,18 @@
1
1
  import { t as validateIdentifier } from "./validate-VPnKoIzW.mjs";
2
- import { t as ContentRepository } from "./content-QaryevFO.mjs";
3
- import { i as encodeCursor, r as decodeCursor } from "./types-DfuD0Afl.mjs";
4
- import { t as SiteActivityRepository } from "./site-activity-D7Xyropw.mjs";
5
- import { t as ReviewRequestRepository } from "./review-requests-gGMyYYhy.mjs";
6
- import { n as normalizeEntityAlias, t as EntityAliasRepository } from "./entity-aliases-Egjmqc7I.mjs";
7
- import { r as isPattern } from "./patterns-r-0n824Y.mjs";
8
- import { a as ContextRepository, i as parseSiteBriefingScope, l as handlePluginList } from "./briefing-gKWiGLt1.mjs";
9
- import { t as FTSManager } from "./fts-manager-CIZlScg5.mjs";
10
- import { n as SchemaRegistry } from "./registry-CTkbIDB9.mjs";
11
- import { a as getSiteSettingsWithDb } from "./settings-yLjz_I4T.mjs";
12
- import { p as normalizeUrl } from "./utils-wv-zvC-Y.mjs";
13
- import { t as sanitizeWordPressImportSlug } from "./wordpress-slugs-Dvhxh4cl.mjs";
14
- import { s as searchCollection } from "./search-axGQ1KY3.mjs";
15
- import { n as assertExperimentalSiteContextWorkflowsEnabled } from "./experimental-workflows-Dh4DUoD_.mjs";
2
+ import { i as encodeCursor, r as decodeCursor } from "./types-CSgR9nQB.mjs";
3
+ import { t as ContentRepository } from "./content-CBxYGWfL.mjs";
4
+ import { t as SiteActivityRepository } from "./site-activity-DONFrMBJ.mjs";
5
+ import { t as ReviewRequestRepository } from "./review-requests-BW2NxY-l.mjs";
6
+ import { n as normalizeEntityAlias, t as EntityAliasRepository } from "./entity-aliases-4y93Yjuc.mjs";
7
+ import { r as isPattern } from "./patterns-DKAX6oqN.mjs";
8
+ import { a as ContextRepository, i as parseSiteBriefingScope, l as handlePluginList } from "./briefing-CkTee1ex.mjs";
9
+ import { t as FTSManager } from "./fts-manager-B5l_qwrA.mjs";
10
+ import { n as SchemaRegistry } from "./registry-D7HACema.mjs";
11
+ import { a as getSiteSettingsWithDb } from "./settings-CUXOxzsT.mjs";
12
+ import { p as normalizeUrl } from "./utils-B8hBJ9Oz.mjs";
13
+ import { t as sanitizeWordPressImportSlug } from "./wordpress-slugs-DHNR9LpG.mjs";
14
+ import { s as searchCollection } from "./search-Gdrqj582.mjs";
15
+ import { n as assertExperimentalSiteContextWorkflowsEnabled } from "./experimental-workflows-CSMffP6q.mjs";
16
16
  import { sql } from "kysely";
17
17
  import { ulid } from "ulidx";
18
18
  import { Role } from "@dineway-ai/auth";
@@ -1,4 +1,4 @@
1
- import { t as OptionsRepository } from "./options-BvJoSSJR.mjs";
1
+ import { t as OptionsRepository } from "./options-LsPjZlqD.mjs";
2
2
 
3
3
  //#region src/api/site-url.ts
4
4
  async function getSiteBaseUrl(db, request) {
@@ -1,7 +1,7 @@
1
- import { a as __exportAll } from "./runner-B-tbV751.mjs";
2
- import { n as chunks, t as SQL_BATCH_SIZE } from "./chunks-C5zp2xir.mjs";
3
- import { i as setRequestCacheEntry, n as peekRequestCache, r as requestCached } from "./request-cache-CYMbwZc6.mjs";
4
- import { a as isMissingTableError, r as getDb } from "./loader-tg63WSY2.mjs";
1
+ import { a as __exportAll } from "./runner-DzIpHGND.mjs";
2
+ import { a as isMissingTableError, r as getDb } from "./loader--GOYux8M.mjs";
3
+ import { n as chunks, t as SQL_BATCH_SIZE } from "./chunks-CuUt7K50.mjs";
4
+ import { i as setRequestCacheEntry, n as peekRequestCache, r as requestCached } from "./request-cache-ho99schz.mjs";
5
5
  import { i as resolveLocaleChain, r as resolveLocale } from "./resolve-DTuDyYKs.mjs";
6
6
 
7
7
  //#region src/taxonomies/index.ts
@@ -285,7 +285,7 @@ function primeEntryTermsCache(collection, entryId, byTaxonomy, applicableTaxonom
285
285
  * Get entries by term.
286
286
  */
287
287
  async function getEntriesByTerm(collection, taxonomyName, termSlug, options = {}) {
288
- const { getDinewayCollection } = await import("./query-BYc3oruA.mjs").then((n) => n.o);
288
+ const { getDinewayCollection } = await import("./query-Ds0EnMFX.mjs").then((n) => n.o);
289
289
  const queryOptions = { where: { [taxonomyName]: termSlug } };
290
290
  if (options.locale !== void 0) queryOptions.locale = options.locale;
291
291
  const { entries } = await getDinewayCollection(collection, queryOptions);
@@ -1,6 +1,6 @@
1
- import { a as __exportAll } from "./runner-B-tbV751.mjs";
2
- import { t as TaxonomyRepository } from "./taxonomy-CBmkmMuU.mjs";
3
- import { c as invalidateTermCache } from "./taxonomies-CNOGeC-3.mjs";
1
+ import { a as __exportAll } from "./runner-DzIpHGND.mjs";
2
+ import { t as TaxonomyRepository } from "./taxonomy-B169Nm6B.mjs";
3
+ import { c as invalidateTermCache } from "./taxonomies-CZ-_DitR.mjs";
4
4
  import { ulid } from "ulidx";
5
5
 
6
6
  //#region src/api/handlers/taxonomies.ts
@@ -1,4 +1,4 @@
1
- import { a as __exportAll } from "./runner-B-tbV751.mjs";
1
+ import { a as __exportAll } from "./runner-DzIpHGND.mjs";
2
2
  import { ulid } from "ulidx";
3
3
 
4
4
  //#region src/database/repositories/taxonomy.ts
@@ -191,7 +191,7 @@ var TaxonomyRepository = class {
191
191
  */
192
192
  async countEntriesForTerms(translationGroups) {
193
193
  if (translationGroups.length === 0) return /* @__PURE__ */ new Map();
194
- const { chunks, SQL_BATCH_SIZE } = await import("./chunks-C5zp2xir.mjs").then((n) => n.r);
194
+ const { chunks, SQL_BATCH_SIZE } = await import("./chunks-CuUt7K50.mjs").then((n) => n.r);
195
195
  const counts = /* @__PURE__ */ new Map();
196
196
  for (const chunk of chunks(translationGroups, SQL_BATCH_SIZE)) {
197
197
  const rows = await this.db.selectFrom("content_taxonomies").select(["taxonomy_id", (eb) => eb.fn.count("entry_id").as("count")]).where("taxonomy_id", "in", chunk).groupBy("taxonomy_id").execute();
@@ -1,4 +1,4 @@
1
- import { i as encodeBase64url, n as decodeBase64url } from "./base64-C1Q9yr0B.mjs";
1
+ import { i as encodeBase64url, n as decodeBase64url } from "./base64-F8-DUraK.mjs";
2
2
 
3
3
  //#region src/preview/tokens.ts
4
4
  /**
@@ -1,5 +1,5 @@
1
- import { a as __exportAll } from "./runner-B-tbV751.mjs";
2
- import { r as encodeBase64, t as decodeBase64 } from "./base64-C1Q9yr0B.mjs";
1
+ import { a as __exportAll } from "./runner-DzIpHGND.mjs";
2
+ import { r as encodeBase64, t as decodeBase64 } from "./base64-F8-DUraK.mjs";
3
3
 
4
4
  //#region src/database/repositories/types.ts
5
5
  var types_exports = /* @__PURE__ */ __exportAll({