dineway 0.1.47 → 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 (293) hide show
  1. package/README.md +57 -54
  2. package/dist/{activity-events-CNk3clTT.mjs → activity-events-CwM7yxPW.mjs} +1 -1
  3. package/dist/{allowed-origins-QirBXiDj.mjs → allowed-origins-CyGnbgBd.mjs} +1 -1
  4. package/dist/api/route-utils.d.mts +8 -22
  5. package/dist/api/route-utils.mjs +10 -10
  6. package/dist/api/schemas/index.d.mts +2 -2
  7. package/dist/api/schemas/index.mjs +4 -4
  8. package/dist/{api-ePsOhL3q.mjs → api-BMIxRIEN.mjs} +65 -18
  9. package/dist/{apply-BpRBCqUt.mjs → apply-D_RlTYtC.mjs} +54 -48
  10. package/dist/astro/index.d.mts +8 -8
  11. package/dist/astro/index.mjs +67 -25
  12. package/dist/astro/middleware/auth.d.mts +7 -7
  13. package/dist/astro/middleware/auth.mjs +1 -1
  14. package/dist/astro/middleware/redirect.mjs +5 -5
  15. package/dist/astro/middleware/request-context.mjs +4 -4
  16. package/dist/astro/middleware/seed.d.mts +1 -1
  17. package/dist/astro/middleware/seed.mjs +2 -2
  18. package/dist/astro/middleware.d.mts +2 -1
  19. package/dist/astro/middleware.mjs +366 -147
  20. package/dist/astro/routes/api/admin/allowed-domains/_domain_.mjs +3 -3
  21. package/dist/astro/routes/api/admin/allowed-domains/index.mjs +3 -3
  22. package/dist/astro/routes/api/admin/briefing.mjs +16 -16
  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 +5 -5
  25. package/dist/astro/routes/api/admin/byline-fields/index.mjs +5 -5
  26. package/dist/astro/routes/api/admin/byline-fields/reorder.mjs +5 -5
  27. package/dist/astro/routes/api/admin/bylines/_id_/index.mjs +11 -11
  28. package/dist/astro/routes/api/admin/bylines/_id_/translations.mjs +11 -11
  29. package/dist/astro/routes/api/admin/bylines/index.mjs +11 -11
  30. package/dist/astro/routes/api/admin/comments/_id_/status.mjs +10 -10
  31. package/dist/astro/routes/api/admin/comments/_id_.mjs +4 -4
  32. package/dist/astro/routes/api/admin/comments/bulk.mjs +7 -7
  33. package/dist/astro/routes/api/admin/comments/counts.mjs +4 -4
  34. package/dist/astro/routes/api/admin/comments/index.mjs +7 -7
  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 +26 -26
  38. package/dist/astro/routes/api/admin/context/_id_/supersede.mjs +26 -26
  39. package/dist/astro/routes/api/admin/context/diff.mjs +25 -25
  40. package/dist/astro/routes/api/admin/context/index.mjs +26 -26
  41. package/dist/astro/routes/api/admin/context/stale.mjs +25 -25
  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 +26 -26
  44. package/dist/astro/routes/api/admin/hitl-requests/index.mjs +26 -26
  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/plugins/_id_/disable.mjs +43 -43
  48. package/dist/astro/routes/api/admin/plugins/_id_/enable.mjs +43 -43
  49. package/dist/astro/routes/api/admin/plugins/_id_/index.mjs +37 -37
  50. package/dist/astro/routes/api/admin/plugins/_id_/uninstall.mjs +43 -43
  51. package/dist/astro/routes/api/admin/plugins/_id_/update.mjs +43 -43
  52. package/dist/astro/routes/api/admin/plugins/index.mjs +37 -37
  53. package/dist/astro/routes/api/admin/plugins/marketplace/_id_/index.mjs +37 -37
  54. package/dist/astro/routes/api/admin/plugins/marketplace/_id_/install.mjs +43 -43
  55. package/dist/astro/routes/api/admin/plugins/marketplace/index.mjs +37 -37
  56. package/dist/astro/routes/api/admin/plugins/updates.mjs +37 -37
  57. package/dist/astro/routes/api/admin/review-requests/_id_/index.mjs +4 -4
  58. package/dist/astro/routes/api/admin/review-requests/_id_/resolve.mjs +25 -25
  59. package/dist/astro/routes/api/admin/review-requests/index.mjs +7 -7
  60. package/dist/astro/routes/api/admin/themes/marketplace/_id_/index.mjs +37 -37
  61. package/dist/astro/routes/api/admin/themes/marketplace/index.mjs +37 -37
  62. package/dist/astro/routes/api/admin/users/_id_/disable.mjs +1 -1
  63. package/dist/astro/routes/api/admin/users/_id_/index.mjs +4 -4
  64. package/dist/astro/routes/api/admin/users/_id_/send-recovery.mjs +2 -2
  65. package/dist/astro/routes/api/admin/users/index.mjs +3 -3
  66. package/dist/astro/routes/api/auth/dev-bypass.mjs +1 -1
  67. package/dist/astro/routes/api/auth/invite/complete.mjs +6 -6
  68. package/dist/astro/routes/api/auth/invite/index.mjs +5 -5
  69. package/dist/astro/routes/api/auth/invite/register-options.mjs +5 -5
  70. package/dist/astro/routes/api/auth/magic-link/send.mjs +5 -5
  71. package/dist/astro/routes/api/auth/me.mjs +7 -7
  72. package/dist/astro/routes/api/auth/oauth/_provider_/callback.mjs +1 -1
  73. package/dist/astro/routes/api/auth/oauth/_provider_.mjs +1 -1
  74. package/dist/astro/routes/api/auth/passkey/_id_.mjs +3 -3
  75. package/dist/astro/routes/api/auth/passkey/options.mjs +5 -5
  76. package/dist/astro/routes/api/auth/passkey/register/options.mjs +5 -5
  77. package/dist/astro/routes/api/auth/passkey/register/verify.mjs +6 -6
  78. package/dist/astro/routes/api/auth/passkey/verify.mjs +6 -6
  79. package/dist/astro/routes/api/auth/setup-token/index.mjs +4 -4
  80. package/dist/astro/routes/api/auth/signup/complete.mjs +6 -6
  81. package/dist/astro/routes/api/auth/signup/request.mjs +5 -5
  82. package/dist/astro/routes/api/comments/_collection_/_contentId_/index.mjs +11 -11
  83. package/dist/astro/routes/api/content/_collection_/_id_/discard-draft.mjs +7 -6
  84. package/dist/astro/routes/api/content/_collection_/_id_/duplicate.mjs +4 -4
  85. package/dist/astro/routes/api/content/_collection_/_id_/permanent.mjs +4 -4
  86. package/dist/astro/routes/api/content/_collection_/_id_/preview-url.mjs +8 -8
  87. package/dist/astro/routes/api/content/_collection_/_id_/publish.mjs +10 -9
  88. package/dist/astro/routes/api/content/_collection_/_id_/restore.mjs +4 -4
  89. package/dist/astro/routes/api/content/_collection_/_id_/schedule.mjs +13 -11
  90. package/dist/astro/routes/api/content/_collection_/_id_/terms/_taxonomy_.mjs +10 -10
  91. package/dist/astro/routes/api/content/_collection_/_id_/unpublish.mjs +7 -6
  92. package/dist/astro/routes/api/content/_collection_/_id_.mjs +10 -9
  93. package/dist/astro/routes/api/content/_collection_/authors.d.mts +7 -0
  94. package/dist/astro/routes/api/content/_collection_/authors.mjs +16 -0
  95. package/dist/astro/routes/api/content/_collection_/index.mjs +7 -7
  96. package/dist/astro/routes/api/content/_collection_/trash.mjs +3 -3
  97. package/dist/astro/routes/api/dashboard.mjs +7 -7
  98. package/dist/astro/routes/api/health.mjs +1 -1
  99. package/dist/astro/routes/api/import/probe.d.mts +2 -2
  100. package/dist/astro/routes/api/import/probe.mjs +6 -6
  101. package/dist/astro/routes/api/import/wordpress/analyze.mjs +3 -3
  102. package/dist/astro/routes/api/import/wordpress/execute.mjs +28 -28
  103. package/dist/astro/routes/api/import/wordpress/media.mjs +6 -6
  104. package/dist/astro/routes/api/import/wordpress/prepare.mjs +29 -29
  105. package/dist/astro/routes/api/import/wordpress/rewrite-urls.mjs +27 -27
  106. package/dist/astro/routes/api/import/wordpress-plugin/analyze.mjs +8 -8
  107. package/dist/astro/routes/api/import/wordpress-plugin/callback.mjs +1 -1
  108. package/dist/astro/routes/api/import/wordpress-plugin/execute.mjs +29 -29
  109. package/dist/astro/routes/api/manifest.mjs +1 -1
  110. package/dist/astro/routes/api/mcp.mjs +49 -49
  111. package/dist/astro/routes/api/media/_id_/confirm.mjs +6 -6
  112. package/dist/astro/routes/api/media/_id_.mjs +3 -3
  113. package/dist/astro/routes/api/media/upload-url.mjs +8 -8
  114. package/dist/astro/routes/api/media.mjs +9 -9
  115. package/dist/astro/routes/api/menus/_name_/items/_id_.mjs +26 -26
  116. package/dist/astro/routes/api/menus/_name_/items.mjs +26 -26
  117. package/dist/astro/routes/api/menus/_name_/reorder.mjs +26 -26
  118. package/dist/astro/routes/api/menus/_name_/translations.mjs +26 -26
  119. package/dist/astro/routes/api/menus/_name_.mjs +26 -26
  120. package/dist/astro/routes/api/menus/index.mjs +26 -26
  121. package/dist/astro/routes/api/oauth/authorize.mjs +2 -2
  122. package/dist/astro/routes/api/oauth/device/authorize.mjs +1 -1
  123. package/dist/astro/routes/api/oauth/device/code.mjs +2 -2
  124. package/dist/astro/routes/api/oauth/device/token.mjs +1 -1
  125. package/dist/astro/routes/api/oauth/token/refresh.mjs +1 -1
  126. package/dist/astro/routes/api/oauth/token/revoke.mjs +1 -1
  127. package/dist/astro/routes/api/oauth/token.mjs +2 -2
  128. package/dist/astro/routes/api/openapi.json.mjs +16 -2
  129. package/dist/astro/routes/api/redirects/404s/index.mjs +8 -8
  130. package/dist/astro/routes/api/redirects/404s/summary.mjs +8 -8
  131. package/dist/astro/routes/api/redirects/_id_.mjs +27 -27
  132. package/dist/astro/routes/api/redirects/index.mjs +27 -27
  133. package/dist/astro/routes/api/schema/collections/_slug_/fields/_fieldSlug_.mjs +38 -38
  134. package/dist/astro/routes/api/schema/collections/_slug_/fields/index.mjs +38 -38
  135. package/dist/astro/routes/api/schema/collections/_slug_/fields/reorder.mjs +38 -38
  136. package/dist/astro/routes/api/schema/collections/_slug_/index.mjs +38 -38
  137. package/dist/astro/routes/api/schema/collections/index.mjs +38 -38
  138. package/dist/astro/routes/api/schema/index.mjs +3 -3
  139. package/dist/astro/routes/api/schema/orphans/_slug_.mjs +37 -37
  140. package/dist/astro/routes/api/schema/orphans/index.mjs +37 -37
  141. package/dist/astro/routes/api/search/enable.mjs +8 -8
  142. package/dist/astro/routes/api/search/index.mjs +8 -8
  143. package/dist/astro/routes/api/search/rebuild.mjs +8 -8
  144. package/dist/astro/routes/api/search/stats.mjs +5 -5
  145. package/dist/astro/routes/api/search/suggest.mjs +8 -8
  146. package/dist/astro/routes/api/sections/_slug_.mjs +26 -26
  147. package/dist/astro/routes/api/sections/index.mjs +26 -26
  148. package/dist/astro/routes/api/settings/email.mjs +1 -1
  149. package/dist/astro/routes/api/settings.mjs +26 -26
  150. package/dist/astro/routes/api/setup/admin-verify.mjs +7 -7
  151. package/dist/astro/routes/api/setup/admin.mjs +5 -5
  152. package/dist/astro/routes/api/setup/dev-bypass.mjs +19 -19
  153. package/dist/astro/routes/api/setup/dev-reset.mjs +1 -1
  154. package/dist/astro/routes/api/setup/index.mjs +22 -22
  155. package/dist/astro/routes/api/setup/status.mjs +1 -1
  156. package/dist/astro/routes/api/snapshot.mjs +4 -4
  157. package/dist/astro/routes/api/taxonomies/_name_/terms/_slug_/translations.mjs +28 -28
  158. package/dist/astro/routes/api/taxonomies/_name_/terms/_slug_.mjs +28 -28
  159. package/dist/astro/routes/api/taxonomies/_name_/terms/index.mjs +28 -28
  160. package/dist/astro/routes/api/taxonomies/index.mjs +28 -28
  161. package/dist/astro/routes/api/themes/preview.mjs +4 -4
  162. package/dist/astro/routes/api/typegen.mjs +3 -3
  163. package/dist/astro/routes/api/well-known/auth.mjs +2 -2
  164. package/dist/astro/routes/api/well-known/oauth-authorization-server.mjs +1 -1
  165. package/dist/astro/routes/api/well-known/oauth-protected-resource.mjs +1 -1
  166. package/dist/astro/routes/api/widget-areas/_name_/reorder.mjs +25 -25
  167. package/dist/astro/routes/api/widget-areas/_name_/widgets/_id_.mjs +26 -26
  168. package/dist/astro/routes/api/widget-areas/_name_/widgets.mjs +26 -26
  169. package/dist/astro/routes/api/widget-areas/_name_.mjs +24 -24
  170. package/dist/astro/routes/api/widget-areas/index.mjs +26 -26
  171. package/dist/astro/routes/robots.txt.mjs +47 -24
  172. package/dist/astro/routes/sitemap-_collection_.xml.mjs +8 -8
  173. package/dist/astro/routes/sitemap.xml.mjs +8 -8
  174. package/dist/astro/session-driver.d.mts +1 -1
  175. package/dist/astro/session-driver.mjs +3 -3
  176. package/dist/astro/types.d.mts +15 -8
  177. package/dist/{audit-DuRbTm8L.mjs → audit-BeNsSyfU.mjs} +1 -1
  178. package/dist/{briefing-BFEWeJtR.mjs → briefing-CkTee1ex.mjs} +7 -7
  179. package/dist/{briefing-C4fJSVYW.mjs → briefing-DJX6irto.mjs} +1 -1
  180. package/dist/{byline-CXQcMsBu.mjs → byline-BVC1lV6G.mjs} +5 -5
  181. package/dist/{byline-fields-Dc7L6Yry.mjs → byline-fields-Cj39WhXC.mjs} +1 -1
  182. package/dist/{byline-fields-D7TJ_oHF.mjs → byline-fields-cNrLJVRs.mjs} +3 -3
  183. package/dist/{byline-fields-Cuo-JI3B.d.mts → byline-fields-uJlygdzM.d.mts} +34 -10
  184. package/dist/{byline-registry-CL8BxPPp.mjs → byline-registry-4v6tXMNX.mjs} +2 -2
  185. package/dist/{bylines-BgriNlW7.mjs → bylines-DwokOFj6.mjs} +38 -4
  186. package/dist/{bylines-D2vqm1aZ.mjs → bylines-LN9XISRo.mjs} +2 -2
  187. package/dist/{cache-GRK71jOU.mjs → cache-Bac05gBd.mjs} +2 -2
  188. package/dist/{chunks-DgEw12Bc.mjs → chunks-CuUt7K50.mjs} +1 -1
  189. package/dist/cli/index.mjs +709 -589
  190. package/dist/client/external-auth-headers.d.mts +1 -1
  191. package/dist/client/index.d.mts +1 -1
  192. package/dist/{comment-ogMaF1gk.mjs → comment-Beue8-15.mjs} +1 -1
  193. package/dist/{comments-CTSOKrZq.mjs → comments-DcjFIfqX.mjs} +1 -1
  194. package/dist/{content-BfyjOiMi.mjs → content-CBxYGWfL.mjs} +104 -41
  195. package/dist/{context-ZMHhwzkG.mjs → context-CQVNZaR8.mjs} +7 -7
  196. package/dist/{context-CdsYb1m8.mjs → context-Df1xVYyr.mjs} +2 -2
  197. package/dist/{context-route-helpers-YLWx2N1j.mjs → context-route-helpers-B9wj8Rmh.mjs} +1 -1
  198. package/dist/{dashboard-D0gWuzNp.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/{default-BHauvIdG.mjs → default-B6iaLvP7.mjs} +4 -2
  202. package/dist/{device-flow-B3_FEoMI.mjs → device-flow-BZVGftqi.mjs} +1 -1
  203. package/dist/{fts-manager-EHY2Kes9.mjs → fts-manager-B5l_qwrA.mjs} +1 -1
  204. package/dist/{hitl-requests-B1Zqgut6.mjs → hitl-requests-7NlzVeUA.mjs} +1 -1
  205. package/dist/{hitl-route-helpers-CjpWUMuw.mjs → hitl-route-helpers-k---_H3-.mjs} +2 -2
  206. package/dist/{import-CvHY6sf5.mjs → import-4YBXbDkI.mjs} +2 -2
  207. package/dist/{index-DJVaYiUV.d.mts → index-CZiWCQDp.d.mts} +1 -1
  208. package/dist/index.d.mts +10 -10
  209. package/dist/index.mjs +59 -59
  210. package/dist/{jsonld-AcPnCEGD.d.mts → jsonld-DZ67souc.d.mts} +1 -1
  211. package/dist/{load-BdbvtoDb.mjs → load-D9OiGr2m.mjs} +1 -1
  212. package/dist/{loader-Y0QvC_QO.mjs → loader--GOYux8M.mjs} +138 -36
  213. package/dist/media/index.mjs +2 -2
  214. package/dist/media/local-runtime.d.mts +7 -7
  215. package/dist/media/local-runtime.mjs +3 -3
  216. package/dist/{media-DhBwiCYR.mjs → media-CbKyYukG.mjs} +1 -1
  217. package/dist/{media-allowlist-BsXkT9RK.mjs → media-allowlist-BYxJIcTO.mjs} +1 -1
  218. package/dist/{menus-BzGQpw9d.mjs → menus-BZbXf-ej.mjs} +2 -2
  219. package/dist/{menus-fqqzXyHd.mjs → menus-C7F0sCrC.mjs} +13 -8
  220. package/dist/{normalize-O-hi3a27.mjs → normalize-ByemhhfW.mjs} +1 -1
  221. package/dist/{oauth-authorization-DsF81vki.mjs → oauth-authorization-DF-LCsIA.mjs} +1 -1
  222. package/dist/page/index.d.mts +2 -2
  223. package/dist/plugin-utils.d.mts +7 -7
  224. package/dist/plugins/adapt-sandbox-entry.d.mts +7 -7
  225. package/dist/{plugins-BQ5Joz6v.mjs → plugins-DzfqRREq.mjs} +195 -5
  226. package/dist/{preview-D5rvDhRt.mjs → preview-C-3YTX2U.mjs} +1 -1
  227. package/dist/public-url-B4xV4rGa.d.mts +19 -0
  228. package/dist/{public-url-DLUM5OOv.mjs → public-url-B_m9IwdV.mjs} +24 -18
  229. package/dist/{query-BJuUydtD.mjs → query-CZ3TH_Uu.mjs} +3 -3
  230. package/dist/{query-CSx0EdSW.mjs → query-Ds0EnMFX.mjs} +29 -18
  231. package/dist/{redirect-BqFMj67n.mjs → redirect-CEACczxo.mjs} +2 -2
  232. package/dist/{redirects-CJwHl_YG.mjs → redirects-DYj1yPxs.mjs} +4 -4
  233. package/dist/{redirects-q_cToaHv.mjs → redirects-ocRJmQHP.mjs} +23 -3
  234. package/dist/{registry-Cq3QRBW2.mjs → registry-D7HACema.mjs} +38 -6
  235. package/dist/{review-requests-tPw8_pAO.mjs → review-requests-BW2NxY-l.mjs} +1 -1
  236. package/dist/{review-requests-GYqjl2jO.mjs → review-requests-Qum4713s.mjs} +1 -1
  237. package/dist/{runner-Cnz4dl0f.d.mts → runner-09sTqtv0.d.mts} +1 -1
  238. package/dist/{runner-DTfG5v0G.mjs → runner-DzIpHGND.mjs} +328 -193
  239. package/dist/{runtime-Cd-kjPfN.d.mts → runtime-C4-2lSFg.d.mts} +261 -128
  240. package/dist/runtime.d.mts +8 -8
  241. package/dist/runtime.mjs +3 -3
  242. package/dist/schema-Bsi-VpYv.mjs +8 -0
  243. package/dist/{search-BAiFLz81.mjs → search-Gdrqj582.mjs} +3 -3
  244. package/dist/{secrets-CPoFLJjm.mjs → secrets-CeGpBFV2.mjs} +2 -2
  245. package/dist/{sections-DsuIrFDC.mjs → sections-BOjU13Y-.mjs} +2 -2
  246. package/dist/seed/index.d.mts +2 -2
  247. package/dist/seed/index.mjs +18 -18
  248. package/dist/seo/index.d.mts +1 -1
  249. package/dist/{seo-uMFBaR8G.mjs → seo-CLj8lS7Q.mjs} +1 -1
  250. package/dist/{service-CifrxCru.mjs → service-jGlhrICs.mjs} +1 -1
  251. package/dist/{settings-DNRQuX3d.mjs → settings-CUXOxzsT.mjs} +4 -4
  252. package/dist/{settings-BYGdocdj.mjs → settings-DlBsT2VS.mjs} +2 -2
  253. package/dist/{setup-complete-4EiBS1E5.mjs → setup-complete-BRrdPYjZ.mjs} +1 -1
  254. package/dist/{site-activity-6x1JccoR.mjs → site-activity-DONFrMBJ.mjs} +1 -1
  255. package/dist/{site-context-c1ZFa_OF.mjs → site-context-C8Az_P_I.mjs} +13 -13
  256. package/dist/{site-url-C-cu8Ff2.mjs → site-url-DIMD68go.mjs} +1 -1
  257. package/dist/{taxonomies-faQVeMgj.mjs → taxonomies-CZ-_DitR.mjs} +9 -7
  258. package/dist/{taxonomies-CQFmkP5u.mjs → taxonomies-D9Sw4wWM.mjs} +3 -3
  259. package/dist/{taxonomy-BnH-6VsX.mjs → taxonomy-B169Nm6B.mjs} +2 -2
  260. package/dist/{tokens-CjSgb0AC.mjs → tokens-SLmgowfd.mjs} +1 -1
  261. package/dist/{types-Ck7-WoUD.mjs → types-CSgR9nQB.mjs} +10 -3
  262. package/dist/{types-DYKtk8f1.d.mts → types-CuJOqHfM.d.mts} +128 -0
  263. package/dist/{types-DEAQG87T.d.mts → types-CwawBUTa.d.mts} +1 -1
  264. package/dist/{types-B7_vSiPD.d.mts → types-DRIKLmJI.d.mts} +14 -2
  265. package/dist/{types-UGmU5sWx.d.mts → types-DSPGWjxO.d.mts} +1 -1
  266. package/dist/ui/server-runtime.d.mts +58 -10
  267. package/dist/ui/server-runtime.mjs +98 -16
  268. package/dist/{user-CqZwN21P.mjs → user-DTLoZs16.mjs} +15 -1
  269. package/dist/{utils-wv-zvC-Y.mjs → utils-B8hBJ9Oz.mjs} +1 -1
  270. package/dist/{validate-CK4a1sIF.mjs → validate-DWmPO6oj.mjs} +5 -2
  271. package/dist/{validate-BJuG-ISL.d.mts → validate-DzjCdy6v.d.mts} +10 -2
  272. package/dist/version-C4gfn0PJ.mjs +6 -0
  273. package/dist/{widgets-CdDvF4fV.mjs → widgets-BpJ8EpPd.mjs} +1 -1
  274. package/dist/{wordpress-slugs-B6Gw9q3Q.mjs → wordpress-slugs-DHNR9LpG.mjs} +1 -1
  275. package/dist/{zod-generator-D1ROBNuC.mjs → zod-generator-K91-g665.mjs} +3 -2
  276. package/package.json +6 -5
  277. package/src/components/DinewayImage.astro +23 -5
  278. package/src/components/Image.astro +19 -3
  279. package/dist/schema-DmHMWnSA.mjs +0 -8
  280. package/dist/version-Cb1tZ6s_.mjs +0 -6
  281. /package/dist/{base64-C1Q9yr0B.mjs → base64-F8-DUraK.mjs} +0 -0
  282. /package/dist/{context-types-DQh_XKkn.mjs → context-types-r8oFvyOq.mjs} +0 -0
  283. /package/dist/{entity-aliases-uOrKvlPg.mjs → entity-aliases-4y93Yjuc.mjs} +0 -0
  284. /package/dist/{mime-8pAB8-77.mjs → mime-CbKsKDCB.mjs} +0 -0
  285. /package/dist/{options-BF11H_FD.mjs → options-LsPjZlqD.mjs} +0 -0
  286. /package/dist/{patterns-D9iDO3j8.mjs → patterns-DKAX6oqN.mjs} +0 -0
  287. /package/dist/{placeholder-BDo81Is5.mjs → placeholder-d54Qr_7n.mjs} +0 -0
  288. /package/dist/{provider-loader-B5PMjpN7.d.mts → provider-loader-9it4vd6L.d.mts} +0 -0
  289. /package/dist/{request-cache-w5cj5itT.mjs → request-cache-ho99schz.mjs} +0 -0
  290. /package/dist/{slugify-BzGxlOFx.mjs → slugify-BqebcqBg.mjs} +0 -0
  291. /package/dist/{transaction-D0FOsb3X.mjs → transaction-CFLhEOuH.mjs} +0 -0
  292. /package/dist/{transport-DidKKxvW.d.mts → transport-BnsNxh2l.d.mts} +0 -0
  293. /package/dist/{types-DbZhHtqS.mjs → types-CJ8DkL0q.mjs} +0 -0
@@ -1,4 +1,4 @@
1
- import { t as Interceptor } from "../transport-DidKKxvW.mjs";
1
+ import { t as Interceptor } from "../transport-BnsNxh2l.mjs";
2
2
 
3
3
  //#region src/client/external-auth-headers.d.ts
4
4
  /**
@@ -1,4 +1,4 @@
1
- import { a as tokenInterceptor, i as devBypassInterceptor, n as createTransport, r as csrfInterceptor, t as Interceptor } from "../transport-DidKKxvW.mjs";
1
+ import { a as tokenInterceptor, i as devBypassInterceptor, n as createTransport, r as csrfInterceptor, t as Interceptor } from "../transport-BnsNxh2l.mjs";
2
2
 
3
3
  //#region src/client/portable-text.d.ts
4
4
  /**
@@ -1,4 +1,4 @@
1
- import { n as decodeCursor, r as encodeCursor } from "./types-Ck7-WoUD.mjs";
1
+ import { i as encodeCursor, r as decodeCursor } from "./types-CSgR9nQB.mjs";
2
2
  import { sql } from "kysely";
3
3
  import { ulid } from "ulidx";
4
4
 
@@ -1,4 +1,4 @@
1
- import { t as CommentRepository } from "./comment-ogMaF1gk.mjs";
1
+ import { t as CommentRepository } from "./comment-Beue8-15.mjs";
2
2
 
3
3
  //#region src/api/handlers/comments.ts
4
4
  async function handleCommentList(db, collection, contentId, options = {}) {
@@ -1,7 +1,7 @@
1
- import { a as __exportAll } from "./runner-DTfG5v0G.mjs";
1
+ import { a as __exportAll } from "./runner-DzIpHGND.mjs";
2
2
  import { t as validateIdentifier } from "./validate-VPnKoIzW.mjs";
3
- import { n as slugify } from "./slugify-BzGxlOFx.mjs";
4
- import { n as decodeCursor, r as encodeCursor, t as DinewayValidationError } from "./types-Ck7-WoUD.mjs";
3
+ import { i as encodeCursor, n as ScheduledNotDueError, r as decodeCursor, t as DinewayValidationError } from "./types-CSgR9nQB.mjs";
4
+ import { n as slugify } from "./slugify-BqebcqBg.mjs";
5
5
  import { sql } from "kysely";
6
6
  import { monotonicFactory, ulid } from "ulidx";
7
7
 
@@ -109,6 +109,11 @@ var RevisionRepository = class {
109
109
  var content_exports = /* @__PURE__ */ __exportAll({ ContentRepository: () => ContentRepository });
110
110
  const ULID_PATTERN = /^[0-9A-Z]{26}$/;
111
111
  const LIKE_WILDCARD_RE = /[\\%_]/g;
112
+ const DATE_FILTER_COLUMNS = {
113
+ createdAt: "created_at",
114
+ updatedAt: "updated_at",
115
+ publishedAt: "published_at"
116
+ };
112
117
  /**
113
118
  * System columns that exist in every ec_* table
114
119
  */
@@ -408,6 +413,7 @@ var ContentRepository = class {
408
413
  if (options.where?.authorId) query = query.where("author_id", "=", options.where.authorId);
409
414
  if (options.where?.locale) query = query.where("locale", "=", options.where.locale);
410
415
  query = this.applySearchFilter(query, options.where);
416
+ query = this.applyDateFilter(query, options.where);
411
417
  if (options.cursor) {
412
418
  const decoded = decodeCursor(options.cursor);
413
419
  if (decoded) {
@@ -548,10 +554,18 @@ var ContentRepository = class {
548
554
  if (where?.authorId) query = query.where("author_id", "=", where.authorId);
549
555
  if (where?.locale) query = query.where("locale", "=", where.locale);
550
556
  query = this.applySearchFilter(query, where);
557
+ query = this.applyDateFilter(query, where);
551
558
  const result = await query.executeTakeFirst();
552
559
  return Number(result?.count || 0);
553
560
  }
554
561
  /**
562
+ * Distinct, non-null author IDs across non-trashed content in a collection.
563
+ */
564
+ async findDistinctAuthorIds(type) {
565
+ const tableName = getTableName(type);
566
+ return (await this.db.selectFrom(tableName).select("author_id").distinct().where("deleted_at", "is", null).where("author_id", "is not", null).execute()).map((row) => row.author_id).filter((id) => id !== null);
567
+ }
568
+ /**
555
569
  * Apply an optional case-insensitive substring search across handler-resolved
556
570
  * columns. User input is treated literally by escaping LIKE wildcards.
557
571
  */
@@ -565,6 +579,18 @@ var ContentRepository = class {
565
579
  return eb(sql`lower(${sql.ref(column)})`, "like", sql`lower(${pattern}) escape '\\'`);
566
580
  })));
567
581
  }
582
+ applyDateFilter(query, where) {
583
+ const filter = where?.dateFilter;
584
+ if (!filter) return query;
585
+ const column = DATE_FILTER_COLUMNS[filter.field];
586
+ if (!column) throw new DinewayValidationError(`Invalid date filter field: ${filter.field}`);
587
+ const { from, to } = filter;
588
+ if (!from && !to) return query;
589
+ let next = query;
590
+ if (from) next = next.where((eb) => eb(column, ">=", from));
591
+ if (to) next = next.where((eb) => eb(column, "<=", to));
592
+ return next;
593
+ }
568
594
  async getStats(type) {
569
595
  const tableName = getTableName(type);
570
596
  const result = await this.db.selectFrom(tableName).select((eb) => [
@@ -637,15 +663,17 @@ var ContentRepository = class {
637
663
  * This covers both draft-scheduled posts (status='scheduled') and
638
664
  * published posts with scheduled draft changes (status='published').
639
665
  */
640
- async findReadyToPublish(type) {
666
+ async findReadyToPublish(type, limit) {
641
667
  const tableName = getTableName(type);
642
668
  const now = (/* @__PURE__ */ new Date()).toISOString();
669
+ const limitClause = typeof limit === "number" && Number.isInteger(limit) && limit > 0 ? sql`LIMIT ${limit}` : sql``;
643
670
  return (await sql`
644
671
  SELECT * FROM ${sql.ref(tableName)}
645
672
  WHERE scheduled_at IS NOT NULL
646
673
  AND scheduled_at <= ${now}
647
674
  AND deleted_at IS NULL
648
675
  ORDER BY scheduled_at ASC
676
+ ${limitClause}
649
677
  `.execute(this.db)).rows.map((row) => this.mapRow(type, row));
650
678
  }
651
679
  /**
@@ -671,52 +699,87 @@ var ContentRepository = class {
671
699
  * `publishedAt` overrides the publication timestamp. If omitted, an existing
672
700
  * `published_at` is preserved and first publish falls back to the current time.
673
701
  */
674
- async publish(type, id, publishedAt) {
702
+ async publish(type, id, publishedAt, requireScheduledDue = false) {
675
703
  const tableName = getTableName(type);
676
704
  const now = (/* @__PURE__ */ new Date()).toISOString();
677
705
  const existing = await this.findById(type, id);
678
706
  if (!existing) throw new DinewayValidationError("Content item not found");
679
- const revisionRepo = new RevisionRepository(this.db);
680
- let revisionToPublish = existing.draftRevisionId || existing.liveRevisionId;
681
- if (!revisionToPublish) revisionToPublish = (await revisionRepo.create({
682
- collection: type,
683
- entryId: id,
684
- data: existing.data
685
- })).id;
686
- const revision = await revisionRepo.findById(revisionToPublish);
687
- if (revision) {
688
- await this.syncDataColumns(type, id, revision.data);
689
- if (typeof revision.data._slug === "string") await sql`
690
- UPDATE ${sql.ref(tableName)}
691
- SET slug = ${revision.data._slug}
692
- WHERE id = ${id}
693
- `.execute(this.db);
694
- }
695
- if (publishedAt !== void 0) await sql`
696
- UPDATE ${sql.ref(tableName)}
697
- SET live_revision_id = ${revisionToPublish},
698
- draft_revision_id = NULL,
699
- status = 'published',
700
- scheduled_at = NULL,
701
- published_at = ${publishedAt},
702
- updated_at = ${now}
703
- WHERE id = ${id}
704
- AND deleted_at IS NULL
705
- `.execute(this.db);
706
- else await sql`
707
+ let claimedScheduledAt = null;
708
+ let claimedUpdatedAt = null;
709
+ if (requireScheduledDue) {
710
+ const claim = await sql`
707
711
  UPDATE ${sql.ref(tableName)}
708
- SET live_revision_id = ${revisionToPublish},
709
- draft_revision_id = NULL,
710
- status = 'published',
711
- scheduled_at = NULL,
712
- published_at = COALESCE(published_at, ${now}),
712
+ SET scheduled_at = NULL,
713
713
  updated_at = ${now}
714
714
  WHERE id = ${id}
715
+ AND scheduled_at IS NOT NULL
716
+ AND scheduled_at <= ${now}
715
717
  AND deleted_at IS NULL
716
718
  `.execute(this.db);
717
- const updated = await this.findById(type, id);
718
- if (!updated) throw new Error("Content not found");
719
- return updated;
719
+ if (Number(claim.numAffectedRows ?? 0) === 0) throw new ScheduledNotDueError();
720
+ claimedScheduledAt = existing.scheduledAt;
721
+ claimedUpdatedAt = existing.updatedAt;
722
+ }
723
+ let publishCommitted = false;
724
+ try {
725
+ const revisionRepo = new RevisionRepository(this.db);
726
+ let revisionToPublish = existing.draftRevisionId || existing.liveRevisionId;
727
+ if (!revisionToPublish) revisionToPublish = (await revisionRepo.create({
728
+ collection: type,
729
+ entryId: id,
730
+ data: existing.data
731
+ })).id;
732
+ const revision = await revisionRepo.findById(revisionToPublish);
733
+ if (revision) {
734
+ await this.syncDataColumns(type, id, revision.data);
735
+ if (typeof revision.data._slug === "string") await sql`
736
+ UPDATE ${sql.ref(tableName)}
737
+ SET slug = ${revision.data._slug}
738
+ WHERE id = ${id}
739
+ `.execute(this.db);
740
+ }
741
+ if (publishedAt !== void 0) await sql`
742
+ UPDATE ${sql.ref(tableName)}
743
+ SET live_revision_id = ${revisionToPublish},
744
+ draft_revision_id = NULL,
745
+ status = 'published',
746
+ scheduled_at = NULL,
747
+ published_at = ${publishedAt},
748
+ updated_at = ${now}
749
+ WHERE id = ${id}
750
+ AND deleted_at IS NULL
751
+ `.execute(this.db);
752
+ else await sql`
753
+ UPDATE ${sql.ref(tableName)}
754
+ SET live_revision_id = ${revisionToPublish},
755
+ draft_revision_id = NULL,
756
+ status = 'published',
757
+ scheduled_at = NULL,
758
+ published_at = COALESCE(published_at, ${now}),
759
+ updated_at = ${now}
760
+ WHERE id = ${id}
761
+ AND deleted_at IS NULL
762
+ `.execute(this.db);
763
+ publishCommitted = true;
764
+ const updated = await this.findById(type, id);
765
+ if (!updated) throw new Error("Content not found");
766
+ return updated;
767
+ } catch (error) {
768
+ if (requireScheduledDue && claimedScheduledAt && !publishCommitted) try {
769
+ await sql`
770
+ UPDATE ${sql.ref(tableName)}
771
+ SET scheduled_at = ${claimedScheduledAt},
772
+ updated_at = ${claimedUpdatedAt ?? now}
773
+ WHERE id = ${id}
774
+ AND scheduled_at IS NULL
775
+ AND deleted_at IS NULL
776
+ AND (status != 'published' OR draft_revision_id IS NOT NULL)
777
+ `.execute(this.db);
778
+ } catch (restoreError) {
779
+ console.error(`[content] Failed to restore schedule for ${type}/${id} after publish failure:`, restoreError);
780
+ }
781
+ throw error;
782
+ }
720
783
  }
721
784
  /**
722
785
  * Stage an existing revision as the draft for a content item.
@@ -1,12 +1,12 @@
1
1
  import { n as validateJsonFieldName } from "./validate-VPnKoIzW.mjs";
2
2
  import { c as jsonExtractExpr } from "./dialect-helpers-fk43GbDb.mjs";
3
- import { t as ContentRepository } from "./content-BfyjOiMi.mjs";
4
- import { n as decodeCursor, r as encodeCursor } from "./types-Ck7-WoUD.mjs";
5
- import { t as MediaRepository } from "./media-DhBwiCYR.mjs";
6
- import { t as UserRepository } from "./user-CqZwN21P.mjs";
7
- import { t as OptionsRepository } from "./options-BF11H_FD.mjs";
8
- import { t as withTransaction } from "./transaction-D0FOsb3X.mjs";
9
- import { t as SeoRepository } from "./seo-uMFBaR8G.mjs";
3
+ import { i as encodeCursor, r as decodeCursor } from "./types-CSgR9nQB.mjs";
4
+ import { t as ContentRepository } from "./content-CBxYGWfL.mjs";
5
+ import { t as MediaRepository } from "./media-CbKyYukG.mjs";
6
+ import { t as UserRepository } from "./user-DTLoZs16.mjs";
7
+ import { t as OptionsRepository } from "./options-LsPjZlqD.mjs";
8
+ import { t as withTransaction } from "./transaction-CFLhEOuH.mjs";
9
+ import { t as SeoRepository } from "./seo-CLj8lS7Q.mjs";
10
10
  import { a as validateExternalUrl, i as stripCredentialHeaders, t as SsrfError } from "./ssrf-DiKqWd3N.mjs";
11
11
  import { t as CronAccessImpl } from "./cron-DxCAU_Sn.mjs";
12
12
  import { sql } from "kysely";
@@ -1,5 +1,5 @@
1
- import { a as ContextRepository, i as parseSiteBriefingScope, n as SiteBriefingError } from "./briefing-BFEWeJtR.mjs";
2
- import { b as toPublicContextEntry, x as toPublicContextEntryPage, y as toPublicContextDiff } from "./site-context-c1ZFa_OF.mjs";
1
+ import { a as ContextRepository, i as parseSiteBriefingScope, n as SiteBriefingError } from "./briefing-CkTee1ex.mjs";
2
+ import { b as toPublicContextEntry, x as toPublicContextEntryPage, y as toPublicContextDiff } from "./site-context-C8Az_P_I.mjs";
3
3
 
4
4
  //#region src/api/handlers/context.ts
5
5
  async function handleContextEntryList(db, input = {}) {
@@ -1,4 +1,4 @@
1
- import { T as resolveActorIdentity, p as logSiteActivitySafely } from "./activity-events-CNk3clTT.mjs";
1
+ import { T as resolveActorIdentity, p as logSiteActivitySafely } from "./activity-events-CwM7yxPW.mjs";
2
2
 
3
3
  //#region src/api/context-route-helpers.ts
4
4
  function resolveContextRouteActor(locals) {
@@ -1,8 +1,8 @@
1
1
  import { t as validateIdentifier } from "./validate-VPnKoIzW.mjs";
2
- import { t as ContentRepository } from "./content-BfyjOiMi.mjs";
3
- import { t as MediaRepository } from "./media-DhBwiCYR.mjs";
4
- import { t as UserRepository } from "./user-CqZwN21P.mjs";
5
- import { t as ReviewRequestRepository } from "./review-requests-tPw8_pAO.mjs";
2
+ import { t as ContentRepository } from "./content-CBxYGWfL.mjs";
3
+ import { t as MediaRepository } from "./media-CbKyYukG.mjs";
4
+ import { t as UserRepository } from "./user-DTLoZs16.mjs";
5
+ import { t as ReviewRequestRepository } from "./review-requests-BW2NxY-l.mjs";
6
6
  import { sql } from "kysely";
7
7
 
8
8
  //#region src/api/handlers/dashboard.ts
@@ -1,4 +1,4 @@
1
- import "../types-DYKtk8f1.mjs";
1
+ import "../types-CuJOqHfM.mjs";
2
2
  import { a as SqliteConfig, c as sqlite, i as PostgresConfig, n as DatabaseDialectType, o as libsql, r as LibsqlConfig, s as postgres, t as DatabaseDescriptor } from "../adapters-OQCImOL7.mjs";
3
- import { i as runMigrations, n as getMigrationStatus, r as rollbackMigration, t as MigrationStatus } from "../runner-Cnz4dl0f.mjs";
3
+ import { i as runMigrations, n as getMigrationStatus, r as rollbackMigration, t as MigrationStatus } from "../runner-09sTqtv0.mjs";
4
4
  export { type DatabaseDescriptor, type DatabaseDialectType, type LibsqlConfig, type MigrationStatus, type PostgresConfig, type SqliteConfig, getMigrationStatus, libsql, postgres, rollbackMigration, runMigrations, sqlite };
package/dist/db/index.mjs CHANGED
@@ -1,4 +1,4 @@
1
- import { i as runMigrations, n as getMigrationStatus, r as rollbackMigration } from "../runner-DTfG5v0G.mjs";
1
+ import { i as runMigrations, n as getMigrationStatus, r as rollbackMigration } from "../runner-DzIpHGND.mjs";
2
2
  import "../dialect-helpers-fk43GbDb.mjs";
3
3
 
4
4
  //#region src/db/adapters.ts
@@ -13,7 +13,8 @@ const defaultSeed = {
13
13
  supports: [
14
14
  "drafts",
15
15
  "revisions",
16
- "search"
16
+ "search",
17
+ "seo"
17
18
  ],
18
19
  fields: [
19
20
  {
@@ -48,7 +49,8 @@ const defaultSeed = {
48
49
  supports: [
49
50
  "drafts",
50
51
  "revisions",
51
- "search"
52
+ "search",
53
+ "seo"
52
54
  ],
53
55
  fields: [{
54
56
  slug: "title",
@@ -1,4 +1,4 @@
1
- import { t as withTransaction } from "./transaction-D0FOsb3X.mjs";
1
+ import { t as withTransaction } from "./transaction-CFLhEOuH.mjs";
2
2
  import { a as filterExperimentalSiteContextWorkflowScopes, i as experimentalSiteContextWorkflowsEnabled, o as getExperimentalSiteContextWorkflowScopesDisabledMessage, r as disabledExperimentalSiteContextWorkflowScopes } from "./experimental-workflows-CSMffP6q.mjs";
3
3
  import { a as hashApiToken, n as TOKEN_PREFIXES, r as generatePrefixedToken, t as ALL_VALID_SCOPES } from "./api-tokens-CYUoFGo7.mjs";
4
4
  import { o as lookupOAuthClient } from "./oauth-clients-Du-V0fEm.mjs";
@@ -1,4 +1,4 @@
1
- import { a as __exportAll } from "./runner-DTfG5v0G.mjs";
1
+ import { a as __exportAll } from "./runner-DzIpHGND.mjs";
2
2
  import { t as validateIdentifier } from "./validate-VPnKoIzW.mjs";
3
3
  import { s as isSqlite, u as tableExists } from "./dialect-helpers-fk43GbDb.mjs";
4
4
  import { sql } from "kysely";
@@ -1,5 +1,5 @@
1
1
  import { t as ExperimentalSiteContextWorkflowDisabledError } from "./experimental-workflows-CSMffP6q.mjs";
2
- import { n as HitlRequestService } from "./site-context-c1ZFa_OF.mjs";
2
+ import { n as HitlRequestService } from "./site-context-C8Az_P_I.mjs";
3
3
 
4
4
  //#region src/api/handlers/hitl-requests.ts
5
5
  const HITL_NOT_FOUND_RE = /not found/i;
@@ -1,7 +1,7 @@
1
1
  import { t as apiError } from "./error-DCSuUAZW.mjs";
2
2
  import { t as ExperimentalSiteContextWorkflowDisabledError } from "./experimental-workflows-CSMffP6q.mjs";
3
- import { t as WorkflowHitlCoordinator } from "./site-context-c1ZFa_OF.mjs";
4
- import { T as resolveActorIdentity, p as logSiteActivitySafely } from "./activity-events-CNk3clTT.mjs";
3
+ import { t as WorkflowHitlCoordinator } from "./site-context-C8Az_P_I.mjs";
4
+ import { T as resolveActorIdentity, p as logSiteActivitySafely } from "./activity-events-CwM7yxPW.mjs";
5
5
  import { Role } from "@dineway-ai/auth";
6
6
 
7
7
  //#region src/api/hitl-route-helpers.ts
@@ -1,7 +1,7 @@
1
- import { n as slugify } from "./slugify-BzGxlOFx.mjs";
1
+ import { n as slugify } from "./slugify-BqebcqBg.mjs";
2
2
  import { n as parseWxrString } from "./parser-DxfsARXL.mjs";
3
3
  import { a as validateExternalUrl, n as resolveAndValidateExternalUrl, r as ssrfSafeFetch } from "./ssrf-DiKqWd3N.mjs";
4
- import { a as getFilenameFromUrl, c as isInternalMetaKey, d as mapPostTypeToCollection, f as mapWpStatus, i as checkSchemaCompatibility, l as isInternalPostType, n as FEATURED_IMAGE_FIELD, o as guessMimeType, p as normalizeUrl$1, r as buildAttachmentMap, s as inferMetaType, t as BASE_REQUIRED_FIELDS, u as mapMetaKeyToField } from "./utils-wv-zvC-Y.mjs";
4
+ import { a as getFilenameFromUrl, c as isInternalMetaKey, d as mapPostTypeToCollection, f as mapWpStatus, i as checkSchemaCompatibility, l as isInternalPostType, n as FEATURED_IMAGE_FIELD, o as guessMimeType, p as normalizeUrl$1, r as buildAttachmentMap, s as inferMetaType, t as BASE_REQUIRED_FIELDS, u as mapMetaKeyToField } from "./utils-B8hBJ9Oz.mjs";
5
5
  import { ulid } from "ulidx";
6
6
  import { gutenbergToPortableText } from "@dineway-ai/gutenberg-to-portable-text";
7
7
 
@@ -1,4 +1,4 @@
1
- import { t as Database } from "./types-DYKtk8f1.mjs";
1
+ import { t as Database } from "./types-CuJOqHfM.mjs";
2
2
  import { d as ImportSource, g as ProbeResult } from "./types-GaCtZ1k9.mjs";
3
3
  import { Kysely } from "kysely";
4
4
  import { Readable } from "node:stream";
package/dist/index.d.mts CHANGED
@@ -1,21 +1,21 @@
1
- import { _ as UpdateFieldInput, a as ColumnType, d as FieldType, f as FieldValidation, g as UpdateCollectionInput, h as RESERVED_FIELD_SLUGS, i as CollectionWithFields, l as FIELD_TYPE_TO_COLUMN, m as RESERVED_COLLECTION_SLUGS, n as CollectionSource, o as CreateCollectionInput, p as FieldWidgetOptions, r as CollectionSupport, s as CreateFieldInput, t as Collection, u as Field } from "./types-DEAQG87T.mjs";
2
- import { a as ContentSeoInput, c as FindManyOptions, i as ContentSeo, l as FindManyResult, n as ContentBylineCredit, o as CreateContentInput, r as ContentItem, s as DinewayValidationError, t as BylineSummary, u as UpdateContentInput } from "./types-B7_vSiPD.mjs";
3
- import { $ as Menu, $n as portableTextToProsemirror, $r as handleContentPermanentDelete, $t as FileSessionDatabaseFactory, A as UpdateWidgetInput, Ai as ApiContext, An as TranslationSummary, Ar as MediaResponse, At as PreviewTokenPayload, B as getTerm, Bn as createEditable, Br as handleRevisionRestore, Bt as createNoopSandboxRunner, C as getWidgetArea, Cn as CollectionResult, Cr as Section, Ct as isBlockedInPreview, D as CreateWidgetInput, Dn as EntryResult, Dr as SchemaError, Dt as buildPreviewUrl, E as CreateWidgetAreaInput, En as EditFieldMeta, Er as getCollectionInfo, Et as GetPreviewUrlOptions, F as getEntriesByTerm, Fi as ManifestResponse, Fn as getTranslations, Fr as handleMediaUpdate, Ft as verifyPreviewToken, G as TaxonomyTermRow, Gn as WhereRange, Gr as handleContentCreate, Gt as HookPipeline, H as CreateTermInput, Hn as CollectionFilter$1, Hr as handleContentCompare, Ht as createPluginManager, I as getEntryTerms, In as resolveDinewayPath, Ir as RevisionListResponse, It as NodeSandboxRunner, J as getBylineBySlug, Jr as handleContentDuplicate, Jt as ValidatedPluginManifest, K as UpdateTermInput, Kn as WhereValue, Kr as handleContentDelete, Kt as HookResult, L as getTaxonomyDef, Ln as CMSAnnotation, Lr as RevisionResponse, Lt as createNodeSandboxRunner, M as WidgetArea, Mi as ContentResponse, Mn as getDinewayCollection, Mr as handleMediaDelete, Mt as VerifyPreviewTokenResult, N as WidgetComponentDef, Ni as FieldDescriptor, Nn as getDinewayEntry, Nr as handleMediaGet, Nt as generatePreviewToken, O as PropDef, On as InferCollectionData, Or as SchemaRegistry, Ot as getPreviewUrl, P as WidgetType, Pi as ListResponse, Pn as getEditMeta, Pr as handleMediaList, Pt as parseContentId, Q as CreateMenuItemInput, Qn as hashString, Qr as handleContentListTrashed, Qt as createFilePreviewMiddleware, R as getTaxonomyDefs, Rn as EditProxy, Rr as handleRevisionGet, Rt as NoopSandboxRunner, S as Suggestion, Sn as CollectionFilter, Sr as GetSectionsOptions, St as renderPreviewLoadingPage, T as getWidgetComponents, Tn as DinewayCollections, Tr as UpdateSectionInput, Tt as isPreviewRequest, U as TaxonomyDef, Un as EntryData, Ur as handleContentCountScheduled, Ut as PluginRouteError, V as getTermsForEntries, Vn as createNoop, Vr as generateManifest, Vt as PluginManager, W as TaxonomyTerm, Wn as EntryFilter, Wr as handleContentCountTrashed, X as getMenus, Xn as sanitizeHref, Xr as handleContentGetIncludingTrashed, Xt as definePlugin, Y as getMenu, Yn as isSafeHref, Yr as handleContentGet, Yt as pluginManifestSchema, Z as CreateMenuInput, Zn as computeContentHash, Zr as handleContentList, Zt as FilePreviewMiddlewareConfig, _ as SearchOptions, _i as MediaItem, _n as getI18nConfig, _r as SandboxedPlugin, _t as ApplySnapshotToDatabaseOptions, ai as handleContentUnschedule, an as SessionDatabaseLimitError, ar as PortableTextMarkDef, at as GetCommentsOptions, b as SearchStats, bi as DatabaseConfig, bn as after, br as getSections, bt as getAppliedSnapshotMeta, c as extractSearchableFields, ci as reference, cn as PreviewSidecarClient, cr as PortableTextUnknownBlock, ct as getComments, d as search, di as FieldUIHints, dn as defaultPreviewSidecarClient, dr as ProseMirrorNode, dt as getSiteSetting, ei as handleContentPublish, en as FileSessionDatabaseFactoryOptions, er as prosemirrorToPortableText, et as MenuItem, f as searchCollection, fi as FileValue, fn as parsePreviewSignatureHeader, fr as SandboxEmailMessage, ft as getSiteSettings, g as SearchConfig, gi as CreateMediaInput, gn as getFallbackChain, gr as SandboxRunnerFactory, gt as AppliedSnapshotMeta, h as CollectionSearchOptions, hn as I18nConfig, hr as SandboxRunner, ht as renderPreviewToolbar, ii as handleContentUnpublish, in as SessionDatabaseInfo, ir as PortableTextLinkMark, it as UpdateMenuItemInput, j as Widget, ji as ContentListResponse, jn as TranslationsResult, jr as handleMediaCreate, jt as VerifyPreviewTokenOptions, k as ReorderWidgetsInput, kn as ResolvePathResult, kr as MediaListResponse, kt as GeneratePreviewTokenOptions, l as getSearchStats, li as image, ln as PreviewSidecarSignature, lr as ProseMirrorDocument, lt as getPluginSetting, m as FTSManager, mi as PortableTextBlock, mn as verifyPreviewSignature, mr as SandboxOptions, mt as PreviewToolbarConfig, n as PluginDescriptor, ni as handleContentSchedule, nn as SessionDatabaseFactory, nr as PortableTextHtmlBlock, nt as ReorderMenuItemsInput, oi as handleContentUpdate, on as SessionOpenOptions, or as PortableTextSpan, ot as GetCommentsResult, p as searchWithDb, pi as ImageValue, pn as signPreviewUrl, pr as SandboxEmailSendCallback, pt as setSiteSettings, q as getByline, qr as handleContentDiscardDraft, qt as createHookPipeline, ri as handleContentTranslations, rn as SessionDatabaseHandle, rr as PortableTextImageBlock, rt as UpdateMenuInput, s as extractPlainText, si as portableText, sn as SessionOpenOrCreateOptions, sr as PortableTextTextBlock, st as getCommentCount, ti as handleContentRestore, tn as SessionCleanupResult, tr as PortableTextCodeBlock, tt as MenuItemType, u as getSuggestions, ui as FieldDefinition, un as buildPreviewSignatureHeader, ur as ProseMirrorMark, ut as getPluginSettings, v as SearchResponse, vi as MediaRepository, vn as isI18nEnabled, vr as SerializedRequest, vt as applySnapshotToDatabase, w as getWidgetAreas, wn as ContentEntry, wr as SectionSource, wt as getPreviewToken, x as SuggestOptions, xi as DinewayDatabaseError, xn as CacheHint, xr as CreateSectionInput, xt as Snapshot, y as SearchResult, yi as ContentRepository, yn as AfterCallback, yr as getSection, yt as dropSessionDatabaseTables, z as getTaxonomyTerms, zn as FieldAnnotation, zr as handleRevisionList, zt as SandboxNotAvailableError } from "./runtime-Cd-kjPfN.mjs";
4
- import { n as MediaTable, r as UserTable, t as Database } from "./types-DYKtk8f1.mjs";
5
- import { $ as StandardHookEntry, A as PageMetadataContribution, B as PluginDefinition, C as MediaAccess, D as PageFragmentContribution, E as ModerationDecision, F as PluginAdminConfig, G as PortableTextBlockConfig, H as PluginManifest, I as PluginAdminExports, K as PortableTextBlockField, L as PluginAdminPage, M as PageMetadataHandler, O as PageFragmentEvent, P as PagePlacement, Q as RouteContext, R as PluginCapability, S as LogAccess, T as MediaUploadEvent, U as PluginRoute, V as PluginHooks, W as PluginStorageConfig, X as ResolvedPlugin, Y as ResolvedHook, Z as ResolvedPluginHooks, _ as FieldWidgetConfig, a as CommentAfterModerateEvent, b as HttpAccess, c as CommentBeforeCreateHandler, d as ContentAccess, et as StandardHookHandler, f as ContentDeleteEvent, i as CommentAfterCreateHandler, it as StorageCollection, j as PageMetadataEvent, k as PageFragmentHandler, l as CommentModerateEvent, m as ContentPublishStateChangeEvent, n as CollectionCommentSettings, nt as StandardRouteEntry, o as CommentAfterModerateHandler, ot as StoredComment, p as ContentHookEvent, q as PublicPageContext, r as CommentAfterCreateEvent, rt as StandardRouteHandler, s as CommentBeforeCreateEvent, st as isStandardPluginDefinition, t as BreadcrumbItem, tt as StandardPluginDefinition, u as CommentModerateHandler, v as HookConfig, x as KVAccess, y as HookName, z as PluginContext } from "./types-UGmU5sWx.mjs";
1
+ import { _ as UpdateFieldInput, a as ColumnType, d as FieldType, f as FieldValidation, g as UpdateCollectionInput, h as RESERVED_FIELD_SLUGS, i as CollectionWithFields, l as FIELD_TYPE_TO_COLUMN, m as RESERVED_COLLECTION_SLUGS, n as CollectionSource, o as CreateCollectionInput, p as FieldWidgetOptions, r as CollectionSupport, s as CreateFieldInput, t as Collection, u as Field } from "./types-CwawBUTa.mjs";
2
+ import { a as ContentSeo, c as DinewayValidationError, d as ScheduledNotDueError, f as UpdateContentInput, i as ContentItem, l as FindManyOptions, n as ContentBylineCredit, o as ContentSeoInput, s as CreateContentInput, t as BylineSummary, u as FindManyResult } from "./types-DRIKLmJI.mjs";
3
+ import { $ as CreateMenuItemInput, $n as PortableTextMarkDef, $r as handleContentUnpublish, $t as createFilePreviewMiddleware, A as UpdateWidgetInput, An as ResolvePathResult, Ar as RevisionListResponse, At as GeneratePreviewTokenOptions, B as getTerm, Bi as FieldDescriptor, Bn as FieldAnnotation, Br as handleContentCreate, Bt as SandboxNotAvailableError, C as getWidgetArea, Ci as WhereRange, Cn as CollectionFilter, Cr as MediaListResponse, Ct as renderPreviewLoadingPage, D as CreateWidgetInput, Di as DatabaseConfig, Dn as EditFieldMeta, Dr as handleMediaGet, Dt as GetPreviewUrlOptions, E as CreateWidgetAreaInput, Ei as getDb, En as DinewayCollections, Er as handleMediaDelete, Et as isPreviewRequest, F as getEntriesByTerm, Fn as getEditMeta, Fr as generateManifest, Ft as parseContentId, G as TaxonomyTermRow, Gn as computeContentHash, Gr as handleContentGetIncludingTrashed, H as CreateTermInput, Hi as ManifestResponse, Hn as createNoop, Hr as handleContentDiscardDraft, Ht as PluginManager, I as getEntryTerms, In as getTranslations, Ir as handleContentAuthors, It as verifyPreviewToken, J as getBylineBySlug, Jn as prosemirrorToPortableText, Jr as handleContentPermanentDelete, Jt as createHookPipeline, K as UpdateTermInput, Kn as hashString, Kr as handleContentList, Kt as HookPipeline, L as getTaxonomyDef, Li as ApiContext, Ln as resolveDinewayPath, Lr as handleContentCompare, Lt as NodeSandboxRunner, M as WidgetArea, Mn as TranslationsResult, Mr as handleRevisionGet, Mt as VerifyPreviewTokenOptions, N as WidgetComponentDef, Nn as getDinewayCollection, Nr as handleRevisionList, Nt as VerifyPreviewTokenResult, O as PropDef, Oi as DinewayDatabaseError, On as EntryResult, Or as handleMediaList, Ot as buildPreviewUrl, P as WidgetType, Pn as getDinewayEntry, Pr as handleRevisionRestore, Pt as generatePreviewToken, Q as CreateMenuInput, Qn as PortableTextLinkMark, Qr as handleContentTranslations, Qt as FilePreviewMiddlewareConfig, R as getTaxonomyDefs, Ri as ContentListResponse, Rn as CMSAnnotation, Rr as handleContentCountScheduled, Rt as createNodeSandboxRunner, S as Suggestion, Si as EntryFilter, Sn as CacheHint, Sr as SchemaRegistry, St as Snapshot, T as getWidgetComponents, Tn as ContentEntry, Tr as handleMediaCreate, Tt as getPreviewToken, U as TaxonomyDef, Un as isSafeHref, Ur as handleContentDuplicate, Ut as createPluginManager, V as getTermsForEntries, Vi as ListResponse, Vn as createEditable, Vr as handleContentDelete, Vt as createNoopSandboxRunner, W as TaxonomyTerm, Wn as sanitizeHref, Wr as handleContentGet, Wt as PluginRouteError, X as getMenu, Xn as PortableTextHtmlBlock, Xr as handleContentRestore, Xt as pluginManifestSchema, Y as getEntriesByByline, Yn as PortableTextCodeBlock, Yr as handleContentPublish, Yt as ValidatedPluginManifest, Z as getMenus, Zn as PortableTextImageBlock, Zr as handleContentSchedule, Zt as definePlugin, _ as SearchOptions, _i as MediaItem, _n as getFallbackChain, _r as Section, _t as AppliedSnapshotMeta, ai as FieldDefinition, an as SessionDatabaseInfo, ar as ProseMirrorNode, at as UpdateMenuItemInput, b as SearchStats, bi as CollectionFilter$1, bn as AfterCallback, br as getCollectionInfo, bt as dropSessionDatabaseTables, c as extractSearchableFields, ci as ImageValue, cn as SessionOpenOrCreateOptions, cr as SandboxOptions, ct as getCommentCount, d as search, di as CreateRelationInput, dn as buildPreviewSignatureHeader, dr as SandboxedPlugin, dt as getPluginSettings, ei as handleContentUnschedule, en as FileSessionDatabaseFactory, er as PortableTextSpan, et as Menu, f as searchCollection, fi as Relation, fn as defaultPreviewSidecarClient, fr as SerializedRequest, ft as getSiteSetting, g as SearchConfig, gi as CreateMediaInput, gn as I18nConfig, gr as GetSectionsOptions, gt as renderPreviewToolbar, h as CollectionSearchOptions, hn as verifyPreviewSignature, hr as CreateSectionInput, ht as PreviewToolbarConfig, ii as image, in as SessionDatabaseHandle, ir as ProseMirrorMark, it as UpdateMenuInput, j as Widget, jn as TranslationSummary, jr as RevisionResponse, jt as PreviewTokenPayload, k as ReorderWidgetsInput, kn as InferCollectionData, kr as handleMediaUpdate, kt as getPreviewUrl, l as getSearchStats, li as PortableTextBlock, ln as PreviewSidecarClient, lr as SandboxRunner, lt as getComments, m as FTSManager, mi as UpdateRelationInput, mn as signPreviewUrl, mr as getSections, mt as setSiteSettings, n as PluginDescriptor, ni as portableText, nn as SessionCleanupResult, nr as PortableTextUnknownBlock, nt as MenuItemType, oi as FieldUIHints, on as SessionDatabaseLimitError, or as SandboxEmailMessage, ot as GetCommentsOptions, p as searchWithDb, pi as RelationRepository, pn as parsePreviewSignatureHeader, pr as getSection, pt as getSiteSettings, q as getByline, qn as portableTextToProsemirror, qr as handleContentListTrashed, qt as HookResult, ri as reference, rn as SessionDatabaseFactory, rr as ProseMirrorDocument, rt as ReorderMenuItemsInput, s as extractPlainText, si as FileValue, sn as SessionOpenOptions, sr as SandboxEmailSendCallback, st as GetCommentsResult, ti as handleContentUpdate, tn as FileSessionDatabaseFactoryOptions, tr as PortableTextTextBlock, tt as MenuItem, u as getSuggestions, ui as ContentReference, un as PreviewSidecarSignature, ur as SandboxRunnerFactory, ut as getPluginSetting, v as SearchResponse, vi as MediaRepository, vn as getI18nConfig, vr as SectionSource, vt as ApplySnapshotToDatabaseOptions, w as getWidgetAreas, wi as WhereValue, wn as CollectionResult, wr as MediaResponse, wt as isBlockedInPreview, x as SuggestOptions, xi as EntryData, xn as after, xr as SchemaError, xt as getAppliedSnapshotMeta, y as SearchResult, yi as ContentRepository, yn as isI18nEnabled, yr as UpdateSectionInput, yt as applySnapshotToDatabase, z as getTaxonomyTerms, zi as ContentResponse, zn as EditProxy, zr as handleContentCountTrashed, zt as NoopSandboxRunner } from "./runtime-C4-2lSFg.mjs";
4
+ import { n as MediaTable, r as UserTable, t as Database } from "./types-CuJOqHfM.mjs";
5
+ import { $ as StandardHookEntry, A as PageMetadataContribution, B as PluginDefinition, C as MediaAccess, D as PageFragmentContribution, E as ModerationDecision, F as PluginAdminConfig, G as PortableTextBlockConfig, H as PluginManifest, I as PluginAdminExports, K as PortableTextBlockField, L as PluginAdminPage, M as PageMetadataHandler, O as PageFragmentEvent, P as PagePlacement, Q as RouteContext, R as PluginCapability, S as LogAccess, T as MediaUploadEvent, U as PluginRoute, V as PluginHooks, W as PluginStorageConfig, X as ResolvedPlugin, Y as ResolvedHook, Z as ResolvedPluginHooks, _ as FieldWidgetConfig, a as CommentAfterModerateEvent, b as HttpAccess, c as CommentBeforeCreateHandler, d as ContentAccess, et as StandardHookHandler, f as ContentDeleteEvent, i as CommentAfterCreateHandler, it as StorageCollection, j as PageMetadataEvent, k as PageFragmentHandler, l as CommentModerateEvent, m as ContentPublishStateChangeEvent, n as CollectionCommentSettings, nt as StandardRouteEntry, o as CommentAfterModerateHandler, ot as StoredComment, p as ContentHookEvent, q as PublicPageContext, r as CommentAfterCreateEvent, rt as StandardRouteHandler, s as CommentBeforeCreateEvent, st as isStandardPluginDefinition, t as BreadcrumbItem, tt as StandardPluginDefinition, u as CommentModerateHandler, v as HookConfig, x as KVAccess, y as HookName, z as PluginContext } from "./types-DSPGWjxO.mjs";
6
6
  import { a as AuthResult, i as AuthProviderModule, n as AuthProviderAdminExports, o as AuthRouteDescriptor, r as AuthProviderDescriptor, s as ExternalAuthConfig, t as AuthDescriptor } from "./types-Dryvv7LH.mjs";
7
7
  import { a as SqliteConfig, i as PostgresConfig, n as DatabaseDialectType, r as LibsqlConfig, t as DatabaseDescriptor } from "./adapters-OQCImOL7.mjs";
8
8
  import { _ as MediaValue, n as generatePlaceholder, r as normalizeMediaValue, t as PlaceholderData } from "./placeholder-CXfoCtCd.mjs";
9
- import { n as getMigrationStatus, t as MigrationStatus } from "./runner-Cnz4dl0f.mjs";
10
- import { _ as WxrSite, a as getAllSources, b as parseWxrString, c as getUrlSources, d as importReusableBlocksAsSections, f as WxrAttachment, g as WxrPost, h as WxrData, i as clearSources, l as probeUrl, m as WxrCategory, n as parseWxrDate, o as getFileSources, p as WxrAuthor, r as wxrSource, s as getSource, t as wordpressRestSource, u as registerSource, v as WxrTag, x as decodeSlug, y as parseWxr } from "./index-DJVaYiUV.mjs";
9
+ import { n as getMigrationStatus, t as MigrationStatus } from "./runner-09sTqtv0.mjs";
10
+ import { _ as WxrSite, a as getAllSources, b as parseWxrString, c as getUrlSources, d as importReusableBlocksAsSections, f as WxrAttachment, g as WxrPost, h as WxrData, i as clearSources, l as probeUrl, m as WxrCategory, n as parseWxrDate, o as getFileSources, p as WxrAuthor, r as wxrSource, s as getSource, t as wordpressRestSource, u as registerSource, v as WxrTag, x as decodeSlug, y as parseWxr } from "./index-CZiWCQDp.mjs";
11
11
  import { a as ListOptions, c as S3StorageConfig, d as Storage, f as StorageDescriptor, i as FileInfo, l as SignedUploadOptions, n as DinewayStorageError, o as ListResult, p as UploadResult, r as DownloadResult, s as LocalStorageConfig, t as CreateStorageFn, u as SignedUploadUrl } from "./types-DZpT-PnG.mjs";
12
12
  import { i as SiteSettings, n as SeoSettings, r as SiteSettingKey, t as MediaReference } from "./types-nP9vGUFq.mjs";
13
- import "./byline-fields-Cuo-JI3B.mjs";
13
+ import "./byline-fields-uJlygdzM.mjs";
14
14
  import { DinewayRequestContext, getRequestContext, runWithContext } from "./request-context.mjs";
15
15
  import { adaptSandboxEntry } from "./plugins/adapt-sandbox-entry.mjs";
16
16
  import { S as UrlInput, _ as SourceAuth, a as FileInput, b as SourceProbeResult, c as ImportContext, d as ImportSource, f as NormalizedItem, g as ProbeResult, h as PostTypeMapping, i as FieldCompatibility, l as ImportFieldDef, m as PostTypeAnalysis, n as CollectionSchemaStatus, o as ImportAnalysis, p as OAuthInput, r as FetchOptions, s as ImportConfig, t as AttachmentInfo, u as ImportResult, v as SourceCapabilities, x as SuggestedAction, y as SourceInput } from "./types-GaCtZ1k9.mjs";
17
17
  import { SeoMeta, SeoMetaOptions, getContentSeo, getSeoMeta } from "./seo/index.mjs";
18
- import { _ as SeedTaxonomyTerm, a as applySeed, b as ValidationResult, c as SeedCollection, d as SeedFile, f as SeedMenu, g as SeedTaxonomy, l as SeedContentEntry, o as SeedApplyOptions, p as SeedMenuItem, s as SeedApplyResult, t as validateSeed, u as SeedField, v as SeedWidget, y as SeedWidgetArea } from "./validate-BJuG-ISL.mjs";
18
+ import { _ as SeedTaxonomyTerm, a as applySeed, b as ValidationResult, c as SeedCollection, d as SeedFile, f as SeedMenu, g as SeedTaxonomy, l as SeedContentEntry, o as SeedApplyOptions, p as SeedMenuItem, s as SeedApplyResult, t as validateSeed, u as SeedField, v as SeedWidget, y as SeedWidgetArea } from "./validate-DzjCdy6v.mjs";
19
19
  import "./seed/index.mjs";
20
20
  import { ulid } from "ulidx";
21
- export { type AfterCallback, type ApiContext, type AppliedSnapshotMeta, type ApplySnapshotToDatabaseOptions, type AttachmentInfo, type AuthDescriptor, type AuthProviderAdminExports, type AuthProviderDescriptor, type AuthProviderModule, type AuthResult, type AuthRouteDescriptor, type BreadcrumbItem, type BylineSummary, type CMSAnnotation, type CacheHint, type Collection, type CollectionCommentSettings, type CollectionFilter, type CollectionResult, type CollectionSchemaStatus, type CollectionSearchOptions, type CollectionSource, type CollectionSupport, type CollectionWithFields, type ColumnType, type CommentAfterCreateEvent, type CommentAfterCreateHandler, type CommentAfterModerateEvent, type CommentAfterModerateHandler, type CommentBeforeCreateEvent, type CommentBeforeCreateHandler, type CommentModerateEvent, type CommentModerateHandler, type ContentAccess, type ContentBylineCredit, type ContentDeleteEvent, type ContentEntry, type ContentHookEvent, type ContentItem, type ContentListResponse, type ContentPublishStateChangeEvent, ContentRepository, type ContentResponse, type ContentSeo, type ContentSeoInput, type CreateCollectionInput, type CreateContentInput, type CreateFieldInput, type CreateMediaInput, type CreateMenuInput, type CreateMenuItemInput, type CreateSectionInput, type CreateStorageFn, type CreateTermInput, type CreateWidgetAreaInput, type CreateWidgetInput, type Database, type DatabaseConfig, type DatabaseDescriptor, type DatabaseDialectType, type DinewayCollections, DinewayDatabaseError, type DinewayRequestContext, DinewayStorageError, DinewayValidationError, type DownloadResult, type EditFieldMeta, type EditProxy, type EntryData, type EntryFilter, type EntryResult, type ExternalAuthConfig, FIELD_TYPE_TO_COLUMN, FTSManager, type FetchOptions, type Field, type FieldAnnotation, type FieldCompatibility, type FieldDefinition, type FieldDescriptor, type FieldType, type FieldUIHints, type FieldValidation, type FieldWidgetConfig, type FieldWidgetOptions, type FileInfo, type FileInput, type FilePreviewMiddlewareConfig, FileSessionDatabaseFactory, type FileSessionDatabaseFactoryOptions, type FileValue, type FindManyOptions, type FindManyResult, type GeneratePreviewTokenOptions, type GetCommentsOptions, type GetCommentsResult, type GetPreviewUrlOptions, type GetSectionsOptions, type HookConfig, type HookName, HookPipeline, type HookResult, type HttpAccess, type I18nConfig, type ImageValue, type ImportAnalysis, type ImportConfig, type ImportContext, type ImportFieldDef, type ImportResult, type ImportSource, type InferCollectionData, type KVAccess, type LibsqlConfig, type ListOptions, type ListResponse, type ListResult, type CollectionFilter$1 as LoaderCollectionFilter, type LocalStorageConfig, type LogAccess, type ManifestResponse, type MediaAccess, type MediaItem, type MediaListResponse, type MediaReference, MediaRepository, type MediaResponse, type MediaTable, type MediaUploadEvent, type MediaValue, type Menu, type MenuItem, type MenuItemType, type MigrationStatus, type ModerationDecision, NodeSandboxRunner, NoopSandboxRunner, type NormalizedItem, type OAuthInput, type PageFragmentContribution, type PageFragmentEvent, type PageFragmentHandler, type PageMetadataContribution, type PageMetadataEvent, type PageMetadataHandler, type PagePlacement, type PlaceholderData, type PluginAdminConfig, type PluginAdminExports, type PluginAdminPage, type PluginCapability, type PluginContext, type PluginDefinition, type PluginDescriptor, type PluginHooks, PluginManager, type PluginManifest, type PluginRoute, PluginRouteError, type PluginStorageConfig, type PortableTextBlock, type PortableTextBlockConfig, type PortableTextBlockField, type PortableTextCodeBlock, type PortableTextHtmlBlock, type PortableTextImageBlock, type PortableTextLinkMark, type PortableTextMarkDef, type PortableTextSpan, type PortableTextTextBlock, type PortableTextUnknownBlock, type PostTypeAnalysis, type PostTypeMapping, type PostgresConfig, type PreviewSidecarClient, type PreviewSidecarSignature, type PreviewTokenPayload, type PreviewToolbarConfig, type ProbeResult, type PropDef, type ProseMirrorDocument, type ProseMirrorMark, type ProseMirrorNode, type PublicPageContext, RESERVED_COLLECTION_SLUGS, RESERVED_FIELD_SLUGS, type ReorderMenuItemsInput, type ReorderWidgetsInput, type ResolvePathResult, type ResolvedHook, type ResolvedPlugin, type ResolvedPluginHooks, type RevisionListResponse, type RevisionResponse, type RouteContext, type S3StorageConfig, type SandboxEmailMessage, type SandboxEmailSendCallback, SandboxNotAvailableError, type SandboxOptions, type SandboxRunner, type SandboxRunnerFactory, type SandboxedPlugin, SchemaError, SchemaRegistry, type SearchConfig, type SearchOptions, type SearchResponse, type SearchResult, type SearchStats, type Section, type SectionSource, type SeedApplyOptions, type SeedApplyResult, type SeedCollection, type SeedContentEntry, type SeedField, type SeedFile, type SeedMenu, type SeedMenuItem, type SeedTaxonomy, type SeedTaxonomyTerm, type SeedWidget, type SeedWidgetArea, type SeoMeta, type SeoMetaOptions, type SeoSettings, type SerializedRequest, type SessionCleanupResult, type SessionDatabaseFactory, type SessionDatabaseHandle, type SessionDatabaseInfo, SessionDatabaseLimitError, type SessionOpenOptions, type SessionOpenOrCreateOptions, type SignedUploadOptions, type SignedUploadUrl, type SiteSettingKey, type SiteSettings, type Snapshot, type SourceAuth, type SourceCapabilities, type SourceInput, type SourceProbeResult, type SqliteConfig, type StandardHookEntry, type StandardHookHandler, type StandardPluginDefinition, type StandardRouteEntry, type StandardRouteHandler, type Storage, type StorageCollection, type StorageDescriptor, type StoredComment, type SuggestOptions, type SuggestedAction, type Suggestion, type TaxonomyDef, type TaxonomyTerm, type TaxonomyTermRow, type TranslationSummary, type TranslationsResult, type UpdateCollectionInput, type UpdateContentInput, type UpdateFieldInput, type UpdateMenuInput, type UpdateMenuItemInput, type UpdateSectionInput, type UpdateTermInput, type UpdateWidgetInput, type UploadResult, type UrlInput, type UserTable, type ValidatedPluginManifest, type ValidationResult, type VerifyPreviewTokenOptions, type VerifyPreviewTokenResult, type WhereRange, type WhereValue, type Widget, type WidgetArea, type WidgetComponentDef, type WidgetType, type WxrAttachment, type WxrAuthor, type WxrCategory, type WxrData, type WxrPost, type WxrSite, type WxrTag, adaptSandboxEntry, after, applySeed, applySnapshotToDatabase, buildPreviewSignatureHeader, buildPreviewUrl, clearSources, computeContentHash, createEditable, createFilePreviewMiddleware, createHookPipeline, createNodeSandboxRunner, createNoop, createNoopSandboxRunner, createPluginManager, decodeSlug, defaultPreviewSidecarClient, definePlugin, dropSessionDatabaseTables, extractPlainText, extractSearchableFields, generateManifest, generatePlaceholder, generatePreviewToken, getAllSources, getAppliedSnapshotMeta, getByline, getBylineBySlug, getCollectionInfo, getCommentCount, getComments, getContentSeo, getDinewayCollection, getDinewayEntry, getEditMeta, getEntriesByTerm, getEntryTerms, getFallbackChain, getFileSources, getI18nConfig, getMenu, getMenus, getMigrationStatus, getPluginSetting, getPluginSettings, getPreviewToken, getPreviewUrl, getRequestContext, getSearchStats, getSection, getSections, getSeoMeta, getSiteSetting, getSiteSettings, getSource, getSuggestions, getTaxonomyDef, getTaxonomyDefs, getTaxonomyTerms, getTerm, getTermsForEntries, getTranslations, getUrlSources, getWidgetArea, getWidgetAreas, getWidgetComponents, handleContentCompare, handleContentCountScheduled, handleContentCountTrashed, handleContentCreate, handleContentDelete, handleContentDiscardDraft, handleContentDuplicate, handleContentGet, handleContentGetIncludingTrashed, handleContentList, handleContentListTrashed, handleContentPermanentDelete, handleContentPublish, handleContentRestore, handleContentSchedule, handleContentTranslations, handleContentUnpublish, handleContentUnschedule, handleContentUpdate, handleMediaCreate, handleMediaDelete, handleMediaGet, handleMediaList, handleMediaUpdate, handleRevisionGet, handleRevisionList, handleRevisionRestore, hashString, image, importReusableBlocksAsSections, isBlockedInPreview, isI18nEnabled, isPreviewRequest, isSafeHref, isStandardPluginDefinition, normalizeMediaValue, parseContentId, parsePreviewSignatureHeader, parseWxr, parseWxrDate, parseWxrString, pluginManifestSchema, portableText, portableTextToProsemirror, probeUrl, prosemirrorToPortableText, reference, registerSource, renderPreviewLoadingPage, renderPreviewToolbar, resolveDinewayPath, runWithContext, sanitizeHref, search, searchCollection, searchWithDb, setSiteSettings, signPreviewUrl, ulid, validateSeed, verifyPreviewSignature, verifyPreviewToken, wordpressRestSource, wxrSource };
21
+ export { type AfterCallback, type ApiContext, type AppliedSnapshotMeta, type ApplySnapshotToDatabaseOptions, type AttachmentInfo, type AuthDescriptor, type AuthProviderAdminExports, type AuthProviderDescriptor, type AuthProviderModule, type AuthResult, type AuthRouteDescriptor, type BreadcrumbItem, type BylineSummary, type CMSAnnotation, type CacheHint, type Collection, type CollectionCommentSettings, type CollectionFilter, type CollectionResult, type CollectionSchemaStatus, type CollectionSearchOptions, type CollectionSource, type CollectionSupport, type CollectionWithFields, type ColumnType, type CommentAfterCreateEvent, type CommentAfterCreateHandler, type CommentAfterModerateEvent, type CommentAfterModerateHandler, type CommentBeforeCreateEvent, type CommentBeforeCreateHandler, type CommentModerateEvent, type CommentModerateHandler, type ContentAccess, type ContentBylineCredit, type ContentDeleteEvent, type ContentEntry, type ContentHookEvent, type ContentItem, type ContentListResponse, type ContentPublishStateChangeEvent, type ContentReference, ContentRepository, type ContentResponse, type ContentSeo, type ContentSeoInput, type CreateCollectionInput, type CreateContentInput, type CreateFieldInput, type CreateMediaInput, type CreateMenuInput, type CreateMenuItemInput, type CreateRelationInput, type CreateSectionInput, type CreateStorageFn, type CreateTermInput, type CreateWidgetAreaInput, type CreateWidgetInput, type Database, type DatabaseConfig, type DatabaseDescriptor, type DatabaseDialectType, type DinewayCollections, DinewayDatabaseError, type DinewayRequestContext, DinewayStorageError, DinewayValidationError, type DownloadResult, type EditFieldMeta, type EditProxy, type EntryData, type EntryFilter, type EntryResult, type ExternalAuthConfig, FIELD_TYPE_TO_COLUMN, FTSManager, type FetchOptions, type Field, type FieldAnnotation, type FieldCompatibility, type FieldDefinition, type FieldDescriptor, type FieldType, type FieldUIHints, type FieldValidation, type FieldWidgetConfig, type FieldWidgetOptions, type FileInfo, type FileInput, type FilePreviewMiddlewareConfig, FileSessionDatabaseFactory, type FileSessionDatabaseFactoryOptions, type FileValue, type FindManyOptions, type FindManyResult, type GeneratePreviewTokenOptions, type GetCommentsOptions, type GetCommentsResult, type GetPreviewUrlOptions, type GetSectionsOptions, type HookConfig, type HookName, HookPipeline, type HookResult, type HttpAccess, type I18nConfig, type ImageValue, type ImportAnalysis, type ImportConfig, type ImportContext, type ImportFieldDef, type ImportResult, type ImportSource, type InferCollectionData, type KVAccess, type LibsqlConfig, type ListOptions, type ListResponse, type ListResult, type CollectionFilter$1 as LoaderCollectionFilter, type LocalStorageConfig, type LogAccess, type ManifestResponse, type MediaAccess, type MediaItem, type MediaListResponse, type MediaReference, MediaRepository, type MediaResponse, type MediaTable, type MediaUploadEvent, type MediaValue, type Menu, type MenuItem, type MenuItemType, type MigrationStatus, type ModerationDecision, NodeSandboxRunner, NoopSandboxRunner, type NormalizedItem, type OAuthInput, type PageFragmentContribution, type PageFragmentEvent, type PageFragmentHandler, type PageMetadataContribution, type PageMetadataEvent, type PageMetadataHandler, type PagePlacement, type PlaceholderData, type PluginAdminConfig, type PluginAdminExports, type PluginAdminPage, type PluginCapability, type PluginContext, type PluginDefinition, type PluginDescriptor, type PluginHooks, PluginManager, type PluginManifest, type PluginRoute, PluginRouteError, type PluginStorageConfig, type PortableTextBlock, type PortableTextBlockConfig, type PortableTextBlockField, type PortableTextCodeBlock, type PortableTextHtmlBlock, type PortableTextImageBlock, type PortableTextLinkMark, type PortableTextMarkDef, type PortableTextSpan, type PortableTextTextBlock, type PortableTextUnknownBlock, type PostTypeAnalysis, type PostTypeMapping, type PostgresConfig, type PreviewSidecarClient, type PreviewSidecarSignature, type PreviewTokenPayload, type PreviewToolbarConfig, type ProbeResult, type PropDef, type ProseMirrorDocument, type ProseMirrorMark, type ProseMirrorNode, type PublicPageContext, RESERVED_COLLECTION_SLUGS, RESERVED_FIELD_SLUGS, type Relation, RelationRepository, type ReorderMenuItemsInput, type ReorderWidgetsInput, type ResolvePathResult, type ResolvedHook, type ResolvedPlugin, type ResolvedPluginHooks, type RevisionListResponse, type RevisionResponse, type RouteContext, type S3StorageConfig, type SandboxEmailMessage, type SandboxEmailSendCallback, SandboxNotAvailableError, type SandboxOptions, type SandboxRunner, type SandboxRunnerFactory, type SandboxedPlugin, ScheduledNotDueError, SchemaError, SchemaRegistry, type SearchConfig, type SearchOptions, type SearchResponse, type SearchResult, type SearchStats, type Section, type SectionSource, type SeedApplyOptions, type SeedApplyResult, type SeedCollection, type SeedContentEntry, type SeedField, type SeedFile, type SeedMenu, type SeedMenuItem, type SeedTaxonomy, type SeedTaxonomyTerm, type SeedWidget, type SeedWidgetArea, type SeoMeta, type SeoMetaOptions, type SeoSettings, type SerializedRequest, type SessionCleanupResult, type SessionDatabaseFactory, type SessionDatabaseHandle, type SessionDatabaseInfo, SessionDatabaseLimitError, type SessionOpenOptions, type SessionOpenOrCreateOptions, type SignedUploadOptions, type SignedUploadUrl, type SiteSettingKey, type SiteSettings, type Snapshot, type SourceAuth, type SourceCapabilities, type SourceInput, type SourceProbeResult, type SqliteConfig, type StandardHookEntry, type StandardHookHandler, type StandardPluginDefinition, type StandardRouteEntry, type StandardRouteHandler, type Storage, type StorageCollection, type StorageDescriptor, type StoredComment, type SuggestOptions, type SuggestedAction, type Suggestion, type TaxonomyDef, type TaxonomyTerm, type TaxonomyTermRow, type TranslationSummary, type TranslationsResult, type UpdateCollectionInput, type UpdateContentInput, type UpdateFieldInput, type UpdateMenuInput, type UpdateMenuItemInput, type UpdateRelationInput, type UpdateSectionInput, type UpdateTermInput, type UpdateWidgetInput, type UploadResult, type UrlInput, type UserTable, type ValidatedPluginManifest, type ValidationResult, type VerifyPreviewTokenOptions, type VerifyPreviewTokenResult, type WhereRange, type WhereValue, type Widget, type WidgetArea, type WidgetComponentDef, type WidgetType, type WxrAttachment, type WxrAuthor, type WxrCategory, type WxrData, type WxrPost, type WxrSite, type WxrTag, adaptSandboxEntry, after, applySeed, applySnapshotToDatabase, buildPreviewSignatureHeader, buildPreviewUrl, clearSources, computeContentHash, createEditable, createFilePreviewMiddleware, createHookPipeline, createNodeSandboxRunner, createNoop, createNoopSandboxRunner, createPluginManager, decodeSlug, defaultPreviewSidecarClient, definePlugin, dropSessionDatabaseTables, extractPlainText, extractSearchableFields, generateManifest, generatePlaceholder, generatePreviewToken, getAllSources, getAppliedSnapshotMeta, getByline, getBylineBySlug, getCollectionInfo, getCommentCount, getComments, getContentSeo, getDb, getDinewayCollection, getDinewayEntry, getEditMeta, getEntriesByByline, getEntriesByTerm, getEntryTerms, getFallbackChain, getFileSources, getI18nConfig, getMenu, getMenus, getMigrationStatus, getPluginSetting, getPluginSettings, getPreviewToken, getPreviewUrl, getRequestContext, getSearchStats, getSection, getSections, getSeoMeta, getSiteSetting, getSiteSettings, getSource, getSuggestions, getTaxonomyDef, getTaxonomyDefs, getTaxonomyTerms, getTerm, getTermsForEntries, getTranslations, getUrlSources, getWidgetArea, getWidgetAreas, getWidgetComponents, handleContentAuthors, handleContentCompare, handleContentCountScheduled, handleContentCountTrashed, handleContentCreate, handleContentDelete, handleContentDiscardDraft, handleContentDuplicate, handleContentGet, handleContentGetIncludingTrashed, handleContentList, handleContentListTrashed, handleContentPermanentDelete, handleContentPublish, handleContentRestore, handleContentSchedule, handleContentTranslations, handleContentUnpublish, handleContentUnschedule, handleContentUpdate, handleMediaCreate, handleMediaDelete, handleMediaGet, handleMediaList, handleMediaUpdate, handleRevisionGet, handleRevisionList, handleRevisionRestore, hashString, image, importReusableBlocksAsSections, isBlockedInPreview, isI18nEnabled, isPreviewRequest, isSafeHref, isStandardPluginDefinition, normalizeMediaValue, parseContentId, parsePreviewSignatureHeader, parseWxr, parseWxrDate, parseWxrString, pluginManifestSchema, portableText, portableTextToProsemirror, probeUrl, prosemirrorToPortableText, reference, registerSource, renderPreviewLoadingPage, renderPreviewToolbar, resolveDinewayPath, runWithContext, sanitizeHref, search, searchCollection, searchWithDb, setSiteSettings, signPreviewUrl, ulid, validateSeed, verifyPreviewSignature, verifyPreviewToken, wordpressRestSource, wxrSource };