dineway 0.1.47 → 0.1.48

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 (289) hide show
  1. package/README.md +57 -54
  2. package/dist/{activity-events-CNk3clTT.mjs → activity-events-C9u37D5z.mjs} +1 -1
  3. package/dist/api/route-utils.d.mts +8 -22
  4. package/dist/api/route-utils.mjs +8 -8
  5. package/dist/api/schemas/index.d.mts +2 -2
  6. package/dist/api/schemas/index.mjs +3 -3
  7. package/dist/{api-ePsOhL3q.mjs → api-Eiy8_zVZ.mjs} +63 -16
  8. package/dist/{apply-BpRBCqUt.mjs → apply-CX3no7XE.mjs} +54 -48
  9. package/dist/astro/index.d.mts +8 -8
  10. package/dist/astro/index.mjs +67 -25
  11. package/dist/astro/middleware/auth.d.mts +7 -7
  12. package/dist/astro/middleware/auth.mjs +1 -1
  13. package/dist/astro/middleware/redirect.mjs +4 -4
  14. package/dist/astro/middleware/request-context.mjs +2 -2
  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.d.mts +2 -1
  19. package/dist/astro/middleware.mjs +362 -143
  20. package/dist/astro/routes/api/admin/allowed-domains/_domain_.mjs +2 -2
  21. package/dist/astro/routes/api/admin/allowed-domains/index.mjs +2 -2
  22. package/dist/astro/routes/api/admin/api-tokens/index.mjs +1 -1
  23. package/dist/astro/routes/api/admin/briefing.mjs +14 -14
  24. package/dist/astro/routes/api/admin/byline-fields/_slug_/usage.mjs +2 -2
  25. package/dist/astro/routes/api/admin/byline-fields/_slug_.mjs +4 -4
  26. package/dist/astro/routes/api/admin/byline-fields/index.mjs +4 -4
  27. package/dist/astro/routes/api/admin/byline-fields/reorder.mjs +4 -4
  28. package/dist/astro/routes/api/admin/bylines/_id_/index.mjs +9 -9
  29. package/dist/astro/routes/api/admin/bylines/_id_/translations.mjs +9 -9
  30. package/dist/astro/routes/api/admin/bylines/index.mjs +9 -9
  31. package/dist/astro/routes/api/admin/comments/_id_/status.mjs +8 -8
  32. package/dist/astro/routes/api/admin/comments/_id_.mjs +3 -3
  33. package/dist/astro/routes/api/admin/comments/bulk.mjs +5 -5
  34. package/dist/astro/routes/api/admin/comments/counts.mjs +3 -3
  35. package/dist/astro/routes/api/admin/comments/index.mjs +5 -5
  36. package/dist/astro/routes/api/admin/context/_id_/history.mjs +20 -20
  37. package/dist/astro/routes/api/admin/context/_id_/index.mjs +20 -20
  38. package/dist/astro/routes/api/admin/context/_id_/review.mjs +23 -23
  39. package/dist/astro/routes/api/admin/context/_id_/supersede.mjs +23 -23
  40. package/dist/astro/routes/api/admin/context/diff.mjs +22 -22
  41. package/dist/astro/routes/api/admin/context/index.mjs +23 -23
  42. package/dist/astro/routes/api/admin/context/stale.mjs +22 -22
  43. package/dist/astro/routes/api/admin/hitl-requests/_id_/index.mjs +21 -21
  44. package/dist/astro/routes/api/admin/hitl-requests/_id_/resolve.mjs +23 -23
  45. package/dist/astro/routes/api/admin/hitl-requests/index.mjs +23 -23
  46. package/dist/astro/routes/api/admin/hooks/exclusive/_hookName_.mjs +20 -20
  47. package/dist/astro/routes/api/admin/hooks/exclusive/index.mjs +1 -1
  48. package/dist/astro/routes/api/admin/oauth-clients/_id_.mjs +2 -2
  49. package/dist/astro/routes/api/admin/oauth-clients/index.mjs +2 -2
  50. package/dist/astro/routes/api/admin/plugins/_id_/disable.mjs +40 -40
  51. package/dist/astro/routes/api/admin/plugins/_id_/enable.mjs +40 -40
  52. package/dist/astro/routes/api/admin/plugins/_id_/index.mjs +35 -35
  53. package/dist/astro/routes/api/admin/plugins/_id_/uninstall.mjs +40 -40
  54. package/dist/astro/routes/api/admin/plugins/_id_/update.mjs +40 -40
  55. package/dist/astro/routes/api/admin/plugins/index.mjs +35 -35
  56. package/dist/astro/routes/api/admin/plugins/marketplace/_id_/index.mjs +35 -35
  57. package/dist/astro/routes/api/admin/plugins/marketplace/_id_/install.mjs +40 -40
  58. package/dist/astro/routes/api/admin/plugins/marketplace/index.mjs +35 -35
  59. package/dist/astro/routes/api/admin/plugins/updates.mjs +35 -35
  60. package/dist/astro/routes/api/admin/review-requests/_id_/index.mjs +3 -3
  61. package/dist/astro/routes/api/admin/review-requests/_id_/resolve.mjs +22 -22
  62. package/dist/astro/routes/api/admin/review-requests/index.mjs +5 -5
  63. package/dist/astro/routes/api/admin/themes/marketplace/_id_/index.mjs +35 -35
  64. package/dist/astro/routes/api/admin/themes/marketplace/index.mjs +35 -35
  65. package/dist/astro/routes/api/admin/users/_id_/disable.mjs +1 -1
  66. package/dist/astro/routes/api/admin/users/_id_/index.mjs +3 -3
  67. package/dist/astro/routes/api/admin/users/_id_/send-recovery.mjs +2 -2
  68. package/dist/astro/routes/api/admin/users/index.mjs +2 -2
  69. package/dist/astro/routes/api/auth/dev-bypass.mjs +1 -1
  70. package/dist/astro/routes/api/auth/invite/complete.mjs +5 -5
  71. package/dist/astro/routes/api/auth/invite/index.mjs +4 -4
  72. package/dist/astro/routes/api/auth/invite/register-options.mjs +4 -4
  73. package/dist/astro/routes/api/auth/magic-link/send.mjs +4 -4
  74. package/dist/astro/routes/api/auth/me.mjs +5 -5
  75. package/dist/astro/routes/api/auth/mode.mjs +1 -1
  76. package/dist/astro/routes/api/auth/passkey/_id_.mjs +2 -2
  77. package/dist/astro/routes/api/auth/passkey/options.mjs +4 -4
  78. package/dist/astro/routes/api/auth/passkey/register/options.mjs +4 -4
  79. package/dist/astro/routes/api/auth/passkey/register/verify.mjs +5 -5
  80. package/dist/astro/routes/api/auth/passkey/verify.mjs +5 -5
  81. package/dist/astro/routes/api/auth/setup-token/index.mjs +2 -2
  82. package/dist/astro/routes/api/auth/signup/complete.mjs +5 -5
  83. package/dist/astro/routes/api/auth/signup/request.mjs +4 -4
  84. package/dist/astro/routes/api/comments/_collection_/_contentId_/index.mjs +9 -9
  85. package/dist/astro/routes/api/content/_collection_/_id_/discard-draft.mjs +6 -5
  86. package/dist/astro/routes/api/content/_collection_/_id_/duplicate.mjs +3 -3
  87. package/dist/astro/routes/api/content/_collection_/_id_/permanent.mjs +3 -3
  88. package/dist/astro/routes/api/content/_collection_/_id_/preview-url.mjs +4 -4
  89. package/dist/astro/routes/api/content/_collection_/_id_/publish.mjs +8 -7
  90. package/dist/astro/routes/api/content/_collection_/_id_/restore.mjs +3 -3
  91. package/dist/astro/routes/api/content/_collection_/_id_/schedule.mjs +11 -9
  92. package/dist/astro/routes/api/content/_collection_/_id_/terms/_taxonomy_.mjs +8 -8
  93. package/dist/astro/routes/api/content/_collection_/_id_/unpublish.mjs +6 -5
  94. package/dist/astro/routes/api/content/_collection_/_id_.mjs +8 -7
  95. package/dist/astro/routes/api/content/_collection_/authors.d.mts +7 -0
  96. package/dist/astro/routes/api/content/_collection_/authors.mjs +16 -0
  97. package/dist/astro/routes/api/content/_collection_/index.mjs +5 -5
  98. package/dist/astro/routes/api/content/_collection_/trash.mjs +2 -2
  99. package/dist/astro/routes/api/dashboard.mjs +6 -6
  100. package/dist/astro/routes/api/health.mjs +1 -1
  101. package/dist/astro/routes/api/import/probe.d.mts +2 -2
  102. package/dist/astro/routes/api/import/probe.mjs +2 -2
  103. package/dist/astro/routes/api/import/wordpress/analyze.mjs +3 -3
  104. package/dist/astro/routes/api/import/wordpress/execute.mjs +23 -23
  105. package/dist/astro/routes/api/import/wordpress/media.mjs +4 -4
  106. package/dist/astro/routes/api/import/wordpress/prepare.mjs +26 -26
  107. package/dist/astro/routes/api/import/wordpress/rewrite-urls.mjs +24 -24
  108. package/dist/astro/routes/api/import/wordpress-plugin/analyze.mjs +4 -4
  109. package/dist/astro/routes/api/import/wordpress-plugin/execute.mjs +24 -24
  110. package/dist/astro/routes/api/manifest.mjs +3 -3
  111. package/dist/astro/routes/api/mcp.mjs +46 -46
  112. package/dist/astro/routes/api/media/_id_/confirm.mjs +4 -4
  113. package/dist/astro/routes/api/media/_id_.mjs +2 -2
  114. package/dist/astro/routes/api/media/upload-url.mjs +4 -4
  115. package/dist/astro/routes/api/media.mjs +4 -4
  116. package/dist/astro/routes/api/menus/_name_/items/_id_.mjs +23 -23
  117. package/dist/astro/routes/api/menus/_name_/items.mjs +23 -23
  118. package/dist/astro/routes/api/menus/_name_/reorder.mjs +23 -23
  119. package/dist/astro/routes/api/menus/_name_/translations.mjs +23 -23
  120. package/dist/astro/routes/api/menus/_name_.mjs +23 -23
  121. package/dist/astro/routes/api/menus/index.mjs +23 -23
  122. package/dist/astro/routes/api/oauth/authorize.mjs +3 -3
  123. package/dist/astro/routes/api/oauth/device/authorize.mjs +2 -2
  124. package/dist/astro/routes/api/oauth/device/code.mjs +2 -2
  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 +16 -2
  131. package/dist/astro/routes/api/redirects/404s/index.mjs +6 -6
  132. package/dist/astro/routes/api/redirects/404s/summary.mjs +6 -6
  133. package/dist/astro/routes/api/redirects/_id_.mjs +24 -24
  134. package/dist/astro/routes/api/redirects/index.mjs +24 -24
  135. package/dist/astro/routes/api/schema/collections/_slug_/fields/_fieldSlug_.mjs +36 -36
  136. package/dist/astro/routes/api/schema/collections/_slug_/fields/index.mjs +36 -36
  137. package/dist/astro/routes/api/schema/collections/_slug_/fields/reorder.mjs +36 -36
  138. package/dist/astro/routes/api/schema/collections/_slug_/index.mjs +36 -36
  139. package/dist/astro/routes/api/schema/collections/index.mjs +36 -36
  140. package/dist/astro/routes/api/schema/index.mjs +3 -3
  141. package/dist/astro/routes/api/schema/orphans/_slug_.mjs +35 -35
  142. package/dist/astro/routes/api/schema/orphans/index.mjs +35 -35
  143. package/dist/astro/routes/api/search/enable.mjs +6 -6
  144. package/dist/astro/routes/api/search/index.mjs +6 -6
  145. package/dist/astro/routes/api/search/rebuild.mjs +6 -6
  146. package/dist/astro/routes/api/search/stats.mjs +4 -4
  147. package/dist/astro/routes/api/search/suggest.mjs +6 -6
  148. package/dist/astro/routes/api/sections/_slug_.mjs +23 -23
  149. package/dist/astro/routes/api/sections/index.mjs +23 -23
  150. package/dist/astro/routes/api/settings/email.mjs +1 -1
  151. package/dist/astro/routes/api/settings.mjs +23 -23
  152. package/dist/astro/routes/api/setup/admin-verify.mjs +6 -6
  153. package/dist/astro/routes/api/setup/admin.mjs +4 -4
  154. package/dist/astro/routes/api/setup/dev-bypass.mjs +17 -17
  155. package/dist/astro/routes/api/setup/dev-reset.mjs +1 -1
  156. package/dist/astro/routes/api/setup/index.mjs +20 -20
  157. package/dist/astro/routes/api/setup/status.mjs +2 -2
  158. package/dist/astro/routes/api/snapshot.mjs +2 -2
  159. package/dist/astro/routes/api/taxonomies/_name_/terms/_slug_/translations.mjs +25 -25
  160. package/dist/astro/routes/api/taxonomies/_name_/terms/_slug_.mjs +25 -25
  161. package/dist/astro/routes/api/taxonomies/_name_/terms/index.mjs +25 -25
  162. package/dist/astro/routes/api/taxonomies/index.mjs +25 -25
  163. package/dist/astro/routes/api/themes/preview.mjs +2 -2
  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 +1 -1
  167. package/dist/astro/routes/api/well-known/oauth-protected-resource.mjs +1 -1
  168. package/dist/astro/routes/api/widget-areas/_name_/reorder.mjs +22 -22
  169. package/dist/astro/routes/api/widget-areas/_name_/widgets/_id_.mjs +23 -23
  170. package/dist/astro/routes/api/widget-areas/_name_/widgets.mjs +23 -23
  171. package/dist/astro/routes/api/widget-areas/_name_.mjs +21 -21
  172. package/dist/astro/routes/api/widget-areas/index.mjs +23 -23
  173. package/dist/astro/routes/robots.txt.mjs +45 -22
  174. package/dist/astro/routes/sitemap-_collection_.xml.mjs +6 -6
  175. package/dist/astro/routes/sitemap.xml.mjs +6 -6
  176. package/dist/astro/session-driver.d.mts +1 -1
  177. package/dist/astro/session-driver.mjs +2 -2
  178. package/dist/astro/types.d.mts +15 -8
  179. package/dist/{audit-DuRbTm8L.mjs → audit-D1cbG7xH.mjs} +1 -1
  180. package/dist/{briefing-C4fJSVYW.mjs → briefing-CObXGOGz.mjs} +1 -1
  181. package/dist/{briefing-BFEWeJtR.mjs → briefing-gKWiGLt1.mjs} +6 -6
  182. package/dist/{byline-CXQcMsBu.mjs → byline-1ntDwv8c.mjs} +5 -5
  183. package/dist/{byline-fields-D7TJ_oHF.mjs → byline-fields-B-ZkoVft.mjs} +2 -2
  184. package/dist/{byline-fields-Cuo-JI3B.d.mts → byline-fields-BX7rWKNU.d.mts} +54 -30
  185. package/dist/{byline-fields-Dc7L6Yry.mjs → byline-fields-C9_iaPaM.mjs} +1 -1
  186. package/dist/{byline-registry-CL8BxPPp.mjs → byline-registry-CUSvkasJ.mjs} +2 -2
  187. package/dist/{bylines-BgriNlW7.mjs → bylines-DtxChhN_.mjs} +38 -4
  188. package/dist/{bylines-D2vqm1aZ.mjs → bylines-bC15ZqAv.mjs} +2 -2
  189. package/dist/{cache-GRK71jOU.mjs → cache-DbKyr60Q.mjs} +2 -2
  190. package/dist/{chunks-DgEw12Bc.mjs → chunks-C5zp2xir.mjs} +1 -1
  191. package/dist/cli/index.mjs +42 -31
  192. package/dist/client/external-auth-headers.d.mts +1 -1
  193. package/dist/client/index.d.mts +1 -1
  194. package/dist/{comment-ogMaF1gk.mjs → comment-CXDOQ93N.mjs} +1 -1
  195. package/dist/{comments-CTSOKrZq.mjs → comments-hK-rdzJ9.mjs} +1 -1
  196. package/dist/{content-BfyjOiMi.mjs → content-QaryevFO.mjs} +103 -40
  197. package/dist/{context-ZMHhwzkG.mjs → context-CoYb_fvK.mjs} +7 -7
  198. package/dist/{context-CdsYb1m8.mjs → context-DBL1ib4v.mjs} +2 -2
  199. package/dist/{context-route-helpers-YLWx2N1j.mjs → context-route-helpers-CYQVmbIm.mjs} +1 -1
  200. package/dist/{dashboard-D0gWuzNp.mjs → dashboard-DNlqsknJ.mjs} +4 -4
  201. package/dist/db/index.d.mts +2 -2
  202. package/dist/db/index.mjs +1 -1
  203. package/dist/{default-BHauvIdG.mjs → default-B6iaLvP7.mjs} +4 -2
  204. package/dist/{device-flow-B3_FEoMI.mjs → device-flow-DygsFPGL.mjs} +3 -3
  205. package/dist/{fts-manager-EHY2Kes9.mjs → fts-manager-CIZlScg5.mjs} +1 -1
  206. package/dist/{hitl-requests-B1Zqgut6.mjs → hitl-requests-CGQwOEiq.mjs} +2 -2
  207. package/dist/{hitl-route-helpers-CjpWUMuw.mjs → hitl-route-helpers-GSDLNPpN.mjs} +3 -3
  208. package/dist/{index-DJVaYiUV.d.mts → index-CwRuZ-u8.d.mts} +1 -1
  209. package/dist/index.d.mts +10 -10
  210. package/dist/index.mjs +51 -51
  211. package/dist/{jsonld-AcPnCEGD.d.mts → jsonld-DZ67souc.d.mts} +1 -1
  212. package/dist/{load-BdbvtoDb.mjs → load-xE01Jm0V.mjs} +1 -1
  213. package/dist/{loader-Y0QvC_QO.mjs → loader-tg63WSY2.mjs} +138 -36
  214. package/dist/media/index.mjs +1 -1
  215. package/dist/media/local-runtime.d.mts +7 -7
  216. package/dist/media/local-runtime.mjs +2 -2
  217. package/dist/{media-DhBwiCYR.mjs → media-DUAjMfvR.mjs} +1 -1
  218. package/dist/{menus-fqqzXyHd.mjs → menus-DU1eZqw_.mjs} +13 -8
  219. package/dist/{menus-BzGQpw9d.mjs → menus-WpFRMXjz.mjs} +2 -2
  220. package/dist/{normalize-O-hi3a27.mjs → normalize-DUnoXAa9.mjs} +1 -1
  221. package/dist/{oauth-authorization-DsF81vki.mjs → oauth-authorization-D-1p52Je.mjs} +3 -3
  222. package/dist/{oauth-clients-Du-V0fEm.mjs → oauth-clients-CzeMGyUU.mjs} +1 -1
  223. package/dist/page/index.d.mts +2 -2
  224. package/dist/plugin-utils.d.mts +7 -7
  225. package/dist/plugins/adapt-sandbox-entry.d.mts +7 -7
  226. package/dist/{plugins-BQ5Joz6v.mjs → plugins-C57YQi4l.mjs} +195 -5
  227. package/dist/public-url-B5HaoGzj.d.mts +18 -0
  228. package/dist/{query-CSx0EdSW.mjs → query-BYc3oruA.mjs} +29 -18
  229. package/dist/{query-BJuUydtD.mjs → query-DKEwzobh.mjs} +3 -3
  230. package/dist/{redirect-BqFMj67n.mjs → redirect-C2zXRj3c.mjs} +2 -2
  231. package/dist/{redirects-CJwHl_YG.mjs → redirects-YZo_znWG.mjs} +4 -4
  232. package/dist/{redirects-q_cToaHv.mjs → redirects-ocRJmQHP.mjs} +23 -3
  233. package/dist/{registry-Cq3QRBW2.mjs → registry-CTkbIDB9.mjs} +38 -6
  234. package/dist/{review-requests-GYqjl2jO.mjs → review-requests-C0un5kdV.mjs} +1 -1
  235. package/dist/{review-requests-tPw8_pAO.mjs → review-requests-gGMyYYhy.mjs} +1 -1
  236. package/dist/{runner-DTfG5v0G.mjs → runner-B-tbV751.mjs} +233 -193
  237. package/dist/{runner-Cnz4dl0f.d.mts → runner-D4FL9usy.d.mts} +1 -1
  238. package/dist/{runtime-Cd-kjPfN.d.mts → runtime-DEWQpZ-4.d.mts} +154 -22
  239. package/dist/runtime.d.mts +8 -8
  240. package/dist/runtime.mjs +2 -2
  241. package/dist/schema-B6zyB-Xn.mjs +8 -0
  242. package/dist/{search-BAiFLz81.mjs → search-axGQ1KY3.mjs} +3 -3
  243. package/dist/{secrets-CPoFLJjm.mjs → secrets-062Izo8i.mjs} +1 -1
  244. package/dist/{sections-DsuIrFDC.mjs → sections-OLKgXL10.mjs} +2 -2
  245. package/dist/seed/index.d.mts +2 -2
  246. package/dist/seed/index.mjs +17 -17
  247. package/dist/seo/index.d.mts +1 -1
  248. package/dist/{seo-uMFBaR8G.mjs → seo-Cd45Po8L.mjs} +1 -1
  249. package/dist/{service-CifrxCru.mjs → service-Bwad8s5h.mjs} +1 -1
  250. package/dist/{settings-BYGdocdj.mjs → settings-lAHjaUit.mjs} +2 -2
  251. package/dist/{settings-DNRQuX3d.mjs → settings-yLjz_I4T.mjs} +4 -4
  252. package/dist/{setup-complete-4EiBS1E5.mjs → setup-complete--PradA4R.mjs} +1 -1
  253. package/dist/{site-activity-6x1JccoR.mjs → site-activity-D7Xyropw.mjs} +1 -1
  254. package/dist/{site-context-c1ZFa_OF.mjs → site-context-DaN9Z91j.mjs} +13 -13
  255. package/dist/{site-url-C-cu8Ff2.mjs → site-url-DpGZo9Z6.mjs} +1 -1
  256. package/dist/{taxonomies-faQVeMgj.mjs → taxonomies-CNOGeC-3.mjs} +9 -7
  257. package/dist/{taxonomies-CQFmkP5u.mjs → taxonomies-uXVEoQso.mjs} +3 -3
  258. package/dist/{taxonomy-BnH-6VsX.mjs → taxonomy-CBmkmMuU.mjs} +2 -2
  259. package/dist/{types-DEAQG87T.d.mts → types-CwawBUTa.d.mts} +1 -1
  260. package/dist/{types-B7_vSiPD.d.mts → types-DRIKLmJI.d.mts} +14 -2
  261. package/dist/{types-UGmU5sWx.d.mts → types-DSPGWjxO.d.mts} +1 -1
  262. package/dist/{types-Ck7-WoUD.mjs → types-DfuD0Afl.mjs} +9 -2
  263. package/dist/{types-DYKtk8f1.d.mts → types-eu5UDgHN.d.mts} +22 -0
  264. package/dist/ui/server-runtime.d.mts +58 -10
  265. package/dist/ui/server-runtime.mjs +97 -15
  266. package/dist/{user-CqZwN21P.mjs → user-DtNmjNYt.mjs} +15 -1
  267. package/dist/{validate-CK4a1sIF.mjs → validate-7SYRbz2f.mjs} +5 -2
  268. package/dist/{validate-BJuG-ISL.d.mts → validate-BMs11tan.d.mts} +10 -2
  269. package/dist/version-xlzMSXF2.mjs +6 -0
  270. package/dist/{widgets-CdDvF4fV.mjs → widgets-DR8EHuRO.mjs} +1 -1
  271. package/dist/{wordpress-slugs-B6Gw9q3Q.mjs → wordpress-slugs-Dvhxh4cl.mjs} +1 -1
  272. package/dist/{zod-generator-D1ROBNuC.mjs → zod-generator-BS9-umbk.mjs} +3 -2
  273. package/package.json +5 -5
  274. package/src/components/DinewayImage.astro +23 -5
  275. package/src/components/Image.astro +19 -3
  276. package/dist/schema-DmHMWnSA.mjs +0 -8
  277. package/dist/version-Cb1tZ6s_.mjs +0 -6
  278. /package/dist/{allowed-origins-QirBXiDj.mjs → allowed-origins-DhipQNLb.mjs} +0 -0
  279. /package/dist/{challenge-store-DFxX0_15.mjs → challenge-store-CRSz-Xim.mjs} +0 -0
  280. /package/dist/{entity-aliases-uOrKvlPg.mjs → entity-aliases-Egjmqc7I.mjs} +0 -0
  281. /package/dist/{experimental-workflows-CSMffP6q.mjs → experimental-workflows-Dh4DUoD_.mjs} +0 -0
  282. /package/dist/{mode-CZqCF9dZ.mjs → mode-CpyEz8pe.mjs} +0 -0
  283. /package/dist/{options-BF11H_FD.mjs → options-BvJoSSJR.mjs} +0 -0
  284. /package/dist/{patterns-D9iDO3j8.mjs → patterns-r-0n824Y.mjs} +0 -0
  285. /package/dist/{provider-loader-B5PMjpN7.d.mts → provider-loader-9it4vd6L.d.mts} +0 -0
  286. /package/dist/{request-cache-w5cj5itT.mjs → request-cache-CYMbwZc6.mjs} +0 -0
  287. /package/dist/{transaction-D0FOsb3X.mjs → transaction-CShMWIej.mjs} +0 -0
  288. /package/dist/{transport-DidKKxvW.d.mts → transport-BnsNxh2l.d.mts} +0 -0
  289. /package/dist/{types-DbZhHtqS.mjs → types-BO8TGjS8.mjs} +0 -0
package/README.md CHANGED
@@ -8,16 +8,16 @@ Dineway is the **Agentic Website builder** for restaurants and local businesses.
8
8
 
9
9
  ## What You Get
10
10
 
11
- | Feature | Description |
12
- | --- | --- |
11
+ | Feature | Description |
12
+ | ------------------------- | --------------------------------------------------------------------------------------------------- |
13
13
  | 🍽️ **Restaurant Website** | A polished, mobile-first site built from your real business data — hours, location, reviews, photos |
14
- | 📝 **Blog & News** | Articles derived from real customer reviews and restaurant updates |
15
- | 🍕 **Menu Display** | Structured menu with items, prices, descriptions, and photos |
16
- | ⭐ **Reviews Showcase** | Curated real reviews that highlight your restaurant's character |
17
- | 🖼️ **Photo Gallery** | A CMS-managed gallery with your best images |
18
- | 🔍 **Local SEO** | JSON-LD structured data, meta tags, and local business schema — all automatic |
19
- | 🛠️ **Admin Panel** | A visual dashboard to edit content, manage media, and publish changes |
20
- | 🤖 **AI-Powered** | 50+ MCP tools let AI agents manage content, menus, and marketing on your behalf |
14
+ | 📝 **Blog & News** | Articles derived from real customer reviews and restaurant updates |
15
+ | 🍕 **Menu Display** | Structured menu with items, prices, descriptions, and photos |
16
+ | ⭐ **Reviews Showcase** | Curated real reviews that highlight your restaurant's character |
17
+ | 🖼️ **Photo Gallery** | A CMS-managed gallery with your best images |
18
+ | 🔍 **Local SEO** | JSON-LD structured data, meta tags, and local business schema — all automatic |
19
+ | 🛠️ **Admin Panel** | A visual dashboard to edit content, manage media, and publish changes |
20
+ | 🤖 **AI-Powered** | 50+ MCP tools let AI agents manage content, menus, and marketing on your behalf |
21
21
 
22
22
  ---
23
23
 
@@ -57,14 +57,14 @@ npx skills add dineway/dineway-skills
57
57
 
58
58
  This installs the following skills into your project:
59
59
 
60
- | Skill | What It Does |
61
- | --- | --- |
62
- | `building-restaurant-site` | End-to-end restaurant site creation from real place data |
63
- | `building-dineway-site` | General Dineway site building patterns |
64
- | `dineway-cli` | CLI commands for managing content, schema, media, and deployment |
65
- | `enrich-place-details` | Fetches your restaurant's real data (hours, reviews, photos, location) |
66
- | `frontend-design` | Creates distinctive, production-grade visual design |
67
- | `brainstorming` | Explores design and architecture options before building |
60
+ | Skill | What It Does |
61
+ | -------------------------- | ---------------------------------------------------------------------- |
62
+ | `building-restaurant-site` | End-to-end restaurant site creation from real place data |
63
+ | `building-dineway-site` | General Dineway site building patterns |
64
+ | `dineway-cli` | CLI commands for managing content, schema, media, and deployment |
65
+ | `enrich-place-details` | Fetches your restaurant's real data (hours, reviews, photos, location) |
66
+ | `frontend-design` | Creates distinctive, production-grade visual design |
67
+ | `brainstorming` | Explores design and architecture options before building |
68
68
 
69
69
  ---
70
70
 
@@ -220,6 +220,7 @@ npx dineway types
220
220
  ```
221
221
 
222
222
  > **For agents:** All CLI commands support `--json` for machine-readable output. It's auto-enabled when stdout is piped:
223
+ >
223
224
  > ```bash
224
225
  > npx dineway content list posts --json | jq '.items[].slug'
225
226
  > ```
@@ -239,6 +240,7 @@ npx dineway deploy
239
240
  ```
240
241
 
241
242
  What happens:
243
+
242
244
  1. The CLI resolves the restaurant `placeId`. On first publish you can provide only restaurant name and city; the CLI creates a quota-protected anonymous shadow session, searches for the place, and binds the selected place before asking for email verification.
243
245
  2. You verify your email address (Dineway account). The first verified email to publish a `placeId` claims that restaurant site.
244
246
  3. The CLI recovers an existing site by `placeId` for the same owner, or creates the one allowed site for that restaurant.
@@ -247,6 +249,8 @@ What happens:
247
249
  6. On first bootstrap issue, you receive a **one-time setup link** to register your admin passkey on the live site.
248
250
  7. `DINEWAY_SITE_URL` and `DINEWAY_TOKEN` are saved to your project `.env` automatically so remote CLI commands work out of the box. Repeat deploys refresh `DINEWAY_TOKEN` from Forgeway's already-issued bootstrap response.
249
251
 
252
+ If `package.json` declares a different `dineway` runtime version than the deploy CLI, Forgeway deploy prints a warning and continues. If a later migration or startup error follows, update `package.json` and reinstall to match the CLI, or rerun deploy with the CLI version that matches the current manifest.
253
+
250
254
  Examples:
251
255
 
252
256
  ```bash
@@ -268,7 +272,6 @@ npx dineway deploy --skip-seed
268
272
 
269
273
  The same verified email can republish the same restaurant from a fresh local checkout or a new shadow session. A different verified email is stopped by the restaurant claim check.
270
274
 
271
-
272
275
  > **Important:** Open the setup link in your browser immediately. It lets you register your secure passkey for the live admin panel. If you lose or expire the link, regenerate it with `npx dineway auth setup-link`.
273
276
 
274
277
  ---
@@ -293,34 +296,34 @@ When self-hosting, you specify how the database and media files are stored in `a
293
296
  1. **Database Options**:
294
297
  - **Local SQLite (Standard)**: Best for single-container VPS or Fly.io with a persistent volume.
295
298
  ```typescript
296
- database: sqlite({ url: "file:./data/data.db" })
299
+ database: sqlite({ url: "file:./data/data.db" });
297
300
  ```
298
301
  - **Remote libSQL (Turso)**: Excellent for serverless or ephemeral platforms like Railway, Fly, or GCP.
299
302
  ```typescript
300
303
  database: libsql({
301
- url: process.env.DINEWAY_DATABASE_URL || "libsql://...",
302
- authToken: process.env.DINEWAY_DATABASE_TOKEN
303
- })
304
+ url: process.env.DINEWAY_DATABASE_URL || "libsql://...",
305
+ authToken: process.env.DINEWAY_DATABASE_TOKEN,
306
+ });
304
307
  ```
305
308
  - **PostgreSQL**: Industry-standard relational database.
306
309
  ```typescript
307
- database: postgres({ connectionString: process.env.DATABASE_URL })
310
+ database: postgres({ connectionString: process.env.DATABASE_URL });
308
311
  ```
309
312
 
310
313
  2. **Media Storage Options**:
311
314
  - **Local Uploads**: Saves images directly on the server's hard disk (ideal for local VPS).
312
315
  ```typescript
313
- storage: local({ directory: "./uploads", baseUrl: "/_dineway/api/media/file" })
316
+ storage: local({ directory: "./uploads", baseUrl: "/_dineway/api/media/file" });
314
317
  ```
315
318
  - **S3-Compatible Storage (AWS S3, Cloudflare R2, MinIO)**: Best for ephemeral hosts (Railway, Cloud Run) so files are never lost when the container restarts.
316
319
  ```typescript
317
320
  storage: s3({
318
- bucket: process.env.S3_BUCKET_NAME,
319
- region: process.env.S3_REGION,
320
- endpoint: process.env.S3_ENDPOINT, // e.g. Cloudflare R2 or MinIO endpoint
321
- accessKeyId: process.env.S3_ACCESS_KEY_ID,
322
- secretAccessKey: process.env.S3_SECRET_ACCESS_KEY
323
- })
321
+ bucket: process.env.S3_BUCKET_NAME,
322
+ region: process.env.S3_REGION,
323
+ endpoint: process.env.S3_ENDPOINT, // e.g. Cloudflare R2 or MinIO endpoint
324
+ accessKeyId: process.env.S3_ACCESS_KEY_ID,
325
+ secretAccessKey: process.env.S3_SECRET_ACCESS_KEY,
326
+ });
324
327
  ```
325
328
 
326
329
  ### After Deployment
@@ -364,35 +367,35 @@ The agent reads the `dineway-cli` skill and translates your natural-language req
364
367
 
365
368
  ### CLI Command Categories
366
369
 
367
- | Category | Commands | Needs Server? |
368
- | --- | --- | --- |
369
- | **Setup** | `init`, `dev`, `seed`, `export-seed` | No |
370
- | **Deploy** | `deploy forgeway/railway/docker/fly/gcp` | No |
371
- | **Auth** | `login`, `logout`, `whoami`, `auth setup-link`, `auth secret` | Yes (remote) |
372
- | **Content** | `content list/get/create/update/delete/publish/unpublish/schedule` | Yes |
373
- | **Schema** | `schema list/get/create/delete/add-field/remove-field` | Yes |
374
- | **Media** | `media list/get/upload/delete` | Yes |
375
- | **Search** | `search` | Yes |
376
- | **Taxonomy** | `taxonomy list/terms/add-term` | Yes |
377
- | **Menu** | `menu list/get` | Yes |
378
- | **Types** | `types` | Yes |
370
+ | Category | Commands | Needs Server? |
371
+ | ------------ | ------------------------------------------------------------------ | ------------- |
372
+ | **Setup** | `init`, `dev`, `seed`, `export-seed` | No |
373
+ | **Deploy** | `deploy forgeway/railway/docker/fly/gcp` | No |
374
+ | **Auth** | `login`, `logout`, `whoami`, `auth setup-link`, `auth secret` | Yes (remote) |
375
+ | **Content** | `content list/get/create/update/delete/publish/unpublish/schedule` | Yes |
376
+ | **Schema** | `schema list/get/create/delete/add-field/remove-field` | Yes |
377
+ | **Media** | `media list/get/upload/delete` | Yes |
378
+ | **Search** | `search` | Yes |
379
+ | **Taxonomy** | `taxonomy list/terms/add-term` | Yes |
380
+ | **Menu** | `menu list/get` | Yes |
381
+ | **Types** | `types` | Yes |
379
382
 
380
383
  ### Field Types for Schema
381
384
 
382
385
  When adding fields to collections, use these types:
383
386
 
384
- | Type | Use For |
385
- | --- | --- |
386
- | `string` | Short text (titles, names) |
387
- | `text` | Long plain text |
388
- | `number` | Decimal numbers (prices) |
389
- | `integer` | Whole numbers (counts, calories) |
390
- | `boolean` | Yes/No flags |
391
- | `datetime` | Dates and times |
392
- | `image` | Photos and images |
393
- | `reference` | Link to another content item |
394
- | `portableText` | Rich text with formatting |
395
- | `json` | Structured data |
387
+ | Type | Use For |
388
+ | -------------- | -------------------------------- |
389
+ | `string` | Short text (titles, names) |
390
+ | `text` | Long plain text |
391
+ | `number` | Decimal numbers (prices) |
392
+ | `integer` | Whole numbers (counts, calories) |
393
+ | `boolean` | Yes/No flags |
394
+ | `datetime` | Dates and times |
395
+ | `image` | Photos and images |
396
+ | `reference` | Link to another content item |
397
+ | `portableText` | Rich text with formatting |
398
+ | `json` | Structured data |
396
399
 
397
400
  ### Authentication Flow
398
401
 
@@ -1,4 +1,4 @@
1
- import { t as SiteActivityRepository } from "./site-activity-6x1JccoR.mjs";
1
+ import { t as SiteActivityRepository } from "./site-activity-D7Xyropw.mjs";
2
2
 
3
3
  //#region src/site-context/actor.ts
4
4
  const SYSTEM_ACTOR_ID = "system";
@@ -1,12 +1,13 @@
1
- import { Ci as ParseResult, Di as apiError, Ei as parseQuery, Oi as apiSuccess, Si as OptionsRepository, Ti as parseBody, ki as handleError, t as DinewayConfig, wi as isParseError } from "../runtime-Cd-kjPfN.mjs";
2
- import { t as Database } from "../types-DYKtk8f1.mjs";
3
- import { at as StorageCollectionConfig, it as StorageCollection } from "../types-UGmU5sWx.mjs";
1
+ import { Ai as ParseResult, Fi as apiSuccess, Ii as handleError, Mi as parseBody, Ni as parseQuery, Pi as apiError, ji as isParseError, ki as OptionsRepository } from "../runtime-DEWQpZ-4.mjs";
2
+ import { t as Database } from "../types-eu5UDgHN.mjs";
3
+ import { at as StorageCollectionConfig, it as StorageCollection } from "../types-DSPGWjxO.mjs";
4
4
  import "../types-Dryvv7LH.mjs";
5
- import "../runner-Cnz4dl0f.mjs";
6
- import "../index-DJVaYiUV.mjs";
7
- import "../byline-fields-Cuo-JI3B.mjs";
5
+ import "../runner-D4FL9usy.mjs";
6
+ import "../index-CwRuZ-u8.mjs";
7
+ import "../byline-fields-BX7rWKNU.mjs";
8
8
  import "../types-GaCtZ1k9.mjs";
9
- import "../validate-BJuG-ISL.mjs";
9
+ import "../validate-BMs11tan.mjs";
10
+ import { t as getPublicOrigin } from "../public-url-B5HaoGzj.mjs";
10
11
  import { Kysely } from "kysely";
11
12
 
12
13
  //#region src/api/auth-storage.d.ts
@@ -15,21 +16,6 @@ import { Kysely } from "kysely";
15
16
  */
16
17
  declare function getAuthProviderStorage(db: Kysely<Database>, providerId: string, storageConfig: Record<string, StorageCollectionConfig>): Record<string, StorageCollection>;
17
18
  //#endregion
18
- //#region src/api/public-url.d.ts
19
- /**
20
- * Return the public-facing origin for the site.
21
- *
22
- * Resolution order:
23
- * 1. `config.siteUrl` (set in astro.config.mjs, origin-normalized at startup)
24
- * 2. `DINEWAY_SITE_URL` or `SITE_URL` env var (resolved at runtime for containers)
25
- * 3. `url.origin` (internal request URL — correct when no proxy)
26
- *
27
- * @param url The request URL (`new URL(request.url)` or `Astro.url`)
28
- * @param config The Dineway config (from `locals.dineway?.config`)
29
- * @returns Origin string, e.g. `"https://mysite.example.com"`
30
- */
31
- declare function getPublicOrigin(url: URL, config?: DinewayConfig): string;
32
- //#endregion
33
19
  //#region src/api/setup-complete.d.ts
34
20
  /**
35
21
  * Finalize setup after the first admin user is created.
@@ -1,18 +1,18 @@
1
1
  import "../dialect-helpers-fk43GbDb.mjs";
2
- import "../content-BfyjOiMi.mjs";
2
+ import "../content-QaryevFO.mjs";
3
3
  import "../base64-C1Q9yr0B.mjs";
4
- import "../types-Ck7-WoUD.mjs";
5
- import "../media-DhBwiCYR.mjs";
6
- import "../user-CqZwN21P.mjs";
7
- import { t as OptionsRepository } from "../options-BF11H_FD.mjs";
8
- import { r as createStorageAccess } from "../context-ZMHhwzkG.mjs";
9
- import "../seo-uMFBaR8G.mjs";
4
+ import "../types-DfuD0Afl.mjs";
5
+ import "../media-DUAjMfvR.mjs";
6
+ import "../user-DtNmjNYt.mjs";
7
+ import { t as OptionsRepository } from "../options-BvJoSSJR.mjs";
8
+ import { r as createStorageAccess } from "../context-CoYb_fvK.mjs";
9
+ import "../seo-Cd45Po8L.mjs";
10
10
  import { n as apiSuccess, r as handleError, t as apiError } from "../error-DCSuUAZW.mjs";
11
11
  import { i as parseQuery, n as parseBody, t as isParseError } from "../parse-CneSgl7-.mjs";
12
12
  import "../ssrf-DiKqWd3N.mjs";
13
13
  import "../cron-DxCAU_Sn.mjs";
14
14
  import { n as getPublicOrigin } from "../public-url-DLUM5OOv.mjs";
15
- import { t as finalizeSetup } from "../setup-complete-4EiBS1E5.mjs";
15
+ import { t as finalizeSetup } from "../setup-complete--PradA4R.mjs";
16
16
 
17
17
  //#region src/api/auth-storage.ts
18
18
  /**
@@ -1,3 +1,3 @@
1
- import { $ as settingsUpdateBody, $n as contentUpdateBody, $t as commentBulkBody, A as widgetAreaSchema, An as mediaItemSchema, At as inviteCompleteBody, B as usersListQuery, Bn as contentItemSchema, Bt as signupRequestBody, C as redirectSchema, Cn as updateCollectionBody, Ct as menuSchema, D as createWidgetBody, Dn as mediaConfirmBody, Dt as updateMenuBody, E as createWidgetAreaBody, En as formatFileSize, Et as reorderMenuItemsBody, F as allowedDomainUpdateBody, Fn as mediaUpdateBody, Ft as passkeyRegisterOptionsBody, G as wpPrepareBody, Gn as contentResponseSchema, Gt as siteBriefingQuery, H as wpMediaImportBody, Hn as contentListResponseSchema, Ht as reviewRequestResolveBody, I as userDetailSchema, In as mediaUploadUrlBody, It as passkeyRegisterVerifyBody, J as searchQuery, Jn as contentSeoSchema, Jt as contextEntryListQuery, K as wpRewriteUrlsBody, Kn as contentScheduleBody, Kt as contextEntryCreateBody, L as userListResponseSchema, Ln as mediaUploadUrlResponseSchema, Lt as passkeyRenameBody, M as widgetAreaWithWidgetsSchema, Mn as mediaListResponseSchema, Mt as inviteRegisterOptionsBody, N as widgetSchema, Nn as mediaProviderListQuery, Nt as magicLinkSendBody, O as reorderWidgetsBody, On as mediaConfirmResponseSchema, Ot as updateMenuItemBody, P as allowedDomainCreateBody, Pn as mediaResponseSchema, Pt as passkeyOptionsBody, Q as searchSuggestQuery, Qn as contentTrashQuery, Qt as adminCommentListResponseSchema, R as userSchema, Rn as contentCompareResponseSchema, Rt as passkeyVerifyBody, S as redirectListResponseSchema, Sn as schemaExportQuery, St as menuListItemSchema, T as updateRedirectBody, Tn as DEFAULT_MAX_UPLOAD_SIZE, Tt as menuWithItemsSchema, U as wpPluginAnalyzeBody, Un as contentPreviewUrlBody, Ut as hitlRequestListQuery, V as importProbeBody, Vn as contentListQuery, Vt as reviewRequestListQuery, W as wpPluginExecuteBody, Wn as contentPublishBody, Wt as hitlRequestResolveBody, X as searchResponseSchema, Xn as contentTranslationSchema, Xt as contextEntryStaleQuery, Y as searchRebuildBody, Yn as contentTermsBody, Yt as contextEntryReviewBody, Z as searchResultSchema, Zn as contentTranslationsResponseSchema, Zt as contextEntrySupersedeBody, _ as notFoundListResponseSchema, _n as fieldResponseSchema, _t as updateTermBody, a as bylineFieldUpdateBody, an as createCommentBody, ar as cursorPaginationQuery, at as updateSectionBody, b as notFoundSummaryResponseSchema, bn as orphanedTableListResponseSchema, bt as menuItemSchema, c as bylineCreditSchema, cn as collectionGetQuery, cr as localeCode, ct as taxonomyDefSchema, d as bylineUpdateBody, dn as collectionSchema, dr as roleLevel, dt as termGetResponseSchema, en as commentBulkResponseSchema, er as trashedContentItemSchema, et as siteSettingsSchema, f as bylinesListQuery, fn as collectionWithFieldsResponseSchema, fr as slugPattern, ft as termListResponseSchema, g as notFoundListQuery, gn as fieldReorderBody, gt as termWithCountSchema, h as notFoundEntrySchema, hn as fieldListResponseSchema, ht as termTranslationsSchema, i as bylineFieldReorderBody, in as commentStatusBody, ir as countResponseSchema, it as sectionsListQuery, j as widgetAreaWithWidgetsAndCountSchema, jn as mediaListQuery, jt as inviteCreateBody, k as updateWidgetBody, kn as mediaExistingResponseSchema, kt as authMeActionBody, l as bylineListResponseSchema, ln as collectionListResponseSchema, lr as localeFilterQuery, lt as taxonomyDefTranslationsSchema, m as createRedirectBody, mn as createFieldBody, mt as termSchema, n as bylineFieldDefinitionSchema, nn as commentListQuery, nr as VALID_ROLE_LEVELS, nt as sectionListResponseSchema, o as bylineFieldUsageResponseSchema, on as publicCommentListResponseSchema, or as deleteResponseSchema, ot as createTaxonomyDefBody, p as contentBylineInputSchema, pn as createCollectionBody, pr as successEnvelope, pt as termResponseSchema, q as searchEnableBody, qn as contentSeoInput, qt as contextEntryDiffQuery, r as bylineFieldListResponseSchema, rn as commentSchema, rr as apiErrorSchema, rt as sectionSchema, s as bylineCreateBody, sn as publicCommentSchema, sr as httpUrl, st as createTermBody, t as bylineFieldCreateBody, tn as commentCountsResponseSchema, tr as trashedContentListResponseSchema, tt as createSectionBody, u as bylineSummarySchema, un as collectionResponseSchema, ur as offsetPaginationQuery, ut as taxonomyListResponseSchema, v as notFoundPruneBody, vn as fieldSchema, vt as createMenuBody, w as redirectsListQuery, wn as updateFieldBody, wt as menuTranslationsSchema, x as notFoundSummarySchema, xn as orphanedTableSchema, xt as menuItemTypeEnum, y as notFoundSummaryQuery, yn as orphanRegisterBody, yt as createMenuItemBody, z as userUpdateBody, zn as contentCreateBody, zt as signupCompleteBody } from "../../byline-fields-Cuo-JI3B.mjs";
1
+ import { $ as settingsUpdateBody, $n as contentTranslationsResponseSchema, $t as commentBulkBody, A as widgetAreaSchema, An as mediaItemSchema, At as inviteCompleteBody, B as usersListQuery, Bn as contentCompareResponseSchema, Bt as signupRequestBody, C as redirectSchema, Cn as updateCollectionBody, Ct as menuSchema, D as createWidgetBody, Dn as mediaConfirmBody, Dt as updateMenuBody, E as createWidgetAreaBody, En as formatFileSize, Et as reorderMenuItemsBody, F as allowedDomainUpdateBody, Fn as mediaUpdateBody, Ft as passkeyRegisterOptionsBody, G as wpPrepareBody, Gn as contentPreviewUrlBody, Gt as siteBriefingQuery, H as wpMediaImportBody, Hn as contentItemSchema, Ht as reviewRequestResolveBody, I as userDetailSchema, In as mediaUploadUrlBody, It as passkeyRegisterVerifyBody, J as searchQuery, Jn as contentScheduleBody, Jt as contextEntryListQuery, K as wpRewriteUrlsBody, Kn as contentPublishBody, Kt as contextEntryCreateBody, L as userListResponseSchema, Ln as mediaUploadUrlResponseSchema, Lt as passkeyRenameBody, M as widgetAreaWithWidgetsSchema, Mn as mediaListResponseSchema, Mt as inviteRegisterOptionsBody, N as widgetSchema, Nn as mediaProviderListQuery, Nt as magicLinkSendBody, O as reorderWidgetsBody, On as mediaConfirmResponseSchema, Ot as updateMenuItemBody, P as allowedDomainCreateBody, Pn as mediaResponseSchema, Pt as passkeyOptionsBody, Q as searchSuggestQuery, Qn as contentTranslationSchema, Qt as adminCommentListResponseSchema, R as userSchema, Rn as contentAuthorSchema, Rt as passkeyVerifyBody, S as redirectListResponseSchema, Sn as schemaExportQuery, St as menuListItemSchema, T as updateRedirectBody, Tn as DEFAULT_MAX_UPLOAD_SIZE, Tt as menuWithItemsSchema, U as wpPluginAnalyzeBody, Un as contentListQuery, Ut as hitlRequestListQuery, V as importProbeBody, Vn as contentCreateBody, Vt as reviewRequestListQuery, W as wpPluginExecuteBody, Wn as contentListResponseSchema, Wt as hitlRequestResolveBody, X as searchResponseSchema, Xn as contentSeoSchema, Xt as contextEntryStaleQuery, Y as searchRebuildBody, Yn as contentSeoInput, Yt as contextEntryReviewBody, Z as searchResultSchema, Zn as contentTermsBody, Zt as contextEntrySupersedeBody, _ as notFoundListResponseSchema, _n as fieldResponseSchema, _t as updateTermBody, a as bylineFieldUpdateBody, an as createCommentBody, ar as apiErrorSchema, at as updateSectionBody, b as notFoundSummaryResponseSchema, bn as orphanedTableListResponseSchema, bt as menuItemSchema, c as bylineCreditSchema, cn as collectionGetQuery, cr as deleteResponseSchema, ct as taxonomyDefSchema, d as bylineUpdateBody, dn as collectionSchema, dr as localeFilterQuery, dt as termGetResponseSchema, en as commentBulkResponseSchema, er as contentTrashQuery, et as siteSettingsSchema, f as bylinesListQuery, fn as collectionWithFieldsResponseSchema, fr as offsetPaginationQuery, ft as termListResponseSchema, g as notFoundListQuery, gn as fieldReorderBody, gt as termWithCountSchema, h as notFoundEntrySchema, hn as fieldListResponseSchema, hr as successEnvelope, ht as termTranslationsSchema, i as bylineFieldReorderBody, in as commentStatusBody, ir as VALID_ROLE_LEVELS, it as sectionsListQuery, j as widgetAreaWithWidgetsAndCountSchema, jn as mediaListQuery, jt as inviteCreateBody, k as updateWidgetBody, kn as mediaExistingResponseSchema, kt as authMeActionBody, l as bylineListResponseSchema, ln as collectionListResponseSchema, lr as httpUrl, lt as taxonomyDefTranslationsSchema, m as createRedirectBody, mn as createFieldBody, mr as slugPattern, mt as termSchema, n as bylineFieldDefinitionSchema, nn as commentListQuery, nr as trashedContentItemSchema, nt as sectionListResponseSchema, o as bylineFieldUsageResponseSchema, on as publicCommentListResponseSchema, or as countResponseSchema, ot as createTaxonomyDefBody, p as contentBylineInputSchema, pn as createCollectionBody, pr as roleLevel, pt as termResponseSchema, q as searchEnableBody, qn as contentResponseSchema, qt as contextEntryDiffQuery, r as bylineFieldListResponseSchema, rn as commentSchema, rr as trashedContentListResponseSchema, rt as sectionSchema, s as bylineCreateBody, sn as publicCommentSchema, sr as cursorPaginationQuery, st as createTermBody, t as bylineFieldCreateBody, tn as commentCountsResponseSchema, tr as contentUpdateBody, tt as createSectionBody, u as bylineSummarySchema, un as collectionResponseSchema, ur as localeCode, ut as taxonomyListResponseSchema, v as notFoundPruneBody, vn as fieldSchema, vt as createMenuBody, w as redirectsListQuery, wn as updateFieldBody, wt as menuTranslationsSchema, x as notFoundSummarySchema, xn as orphanedTableSchema, xt as menuItemTypeEnum, y as notFoundSummaryQuery, yn as orphanRegisterBody, yt as createMenuItemBody, z as userUpdateBody, zn as contentAuthorsResponseSchema, zt as signupCompleteBody } from "../../byline-fields-BX7rWKNU.mjs";
2
2
  import { atprotoLoginBody, setupAdminBody, setupAdminVerifyBody, setupAtprotoAdminBody, setupBody } from "./setup.mjs";
3
- export { DEFAULT_MAX_UPLOAD_SIZE, VALID_ROLE_LEVELS, adminCommentListResponseSchema, allowedDomainCreateBody, allowedDomainUpdateBody, apiErrorSchema, atprotoLoginBody, authMeActionBody, bylineCreateBody, bylineCreditSchema, bylineFieldCreateBody, bylineFieldDefinitionSchema, bylineFieldListResponseSchema, bylineFieldReorderBody, bylineFieldUpdateBody, bylineFieldUsageResponseSchema, bylineListResponseSchema, bylineSummarySchema, bylineUpdateBody, bylinesListQuery, collectionGetQuery, collectionListResponseSchema, collectionResponseSchema, collectionSchema, collectionWithFieldsResponseSchema, commentBulkBody, commentBulkResponseSchema, commentCountsResponseSchema, commentListQuery, commentSchema, commentStatusBody, contentBylineInputSchema, contentCompareResponseSchema, contentCreateBody, contentItemSchema, contentListQuery, contentListResponseSchema, contentPreviewUrlBody, contentPublishBody, contentResponseSchema, contentScheduleBody, contentSeoInput, contentSeoSchema, contentTermsBody, contentTranslationSchema, contentTranslationsResponseSchema, contentTrashQuery, contentUpdateBody, contextEntryCreateBody, contextEntryDiffQuery, contextEntryListQuery, contextEntryReviewBody, contextEntryStaleQuery, contextEntrySupersedeBody, countResponseSchema, createCollectionBody, createCommentBody, createFieldBody, createMenuBody, createMenuItemBody, createRedirectBody, createSectionBody, createTaxonomyDefBody, createTermBody, createWidgetAreaBody, createWidgetBody, cursorPaginationQuery, deleteResponseSchema, fieldListResponseSchema, fieldReorderBody, fieldResponseSchema, fieldSchema, formatFileSize, hitlRequestListQuery, hitlRequestResolveBody, httpUrl, importProbeBody, inviteCompleteBody, inviteCreateBody, inviteRegisterOptionsBody, localeCode, localeFilterQuery, magicLinkSendBody, mediaConfirmBody, mediaConfirmResponseSchema, mediaExistingResponseSchema, mediaItemSchema, mediaListQuery, mediaListResponseSchema, mediaProviderListQuery, mediaResponseSchema, mediaUpdateBody, mediaUploadUrlBody, mediaUploadUrlResponseSchema, menuItemSchema, menuItemTypeEnum, menuListItemSchema, menuSchema, menuTranslationsSchema, menuWithItemsSchema, notFoundEntrySchema, notFoundListQuery, notFoundListResponseSchema, notFoundPruneBody, notFoundSummaryQuery, notFoundSummaryResponseSchema, notFoundSummarySchema, offsetPaginationQuery, orphanRegisterBody, orphanedTableListResponseSchema, orphanedTableSchema, passkeyOptionsBody, passkeyRegisterOptionsBody, passkeyRegisterVerifyBody, passkeyRenameBody, passkeyVerifyBody, publicCommentListResponseSchema, publicCommentSchema, redirectListResponseSchema, redirectSchema, redirectsListQuery, reorderMenuItemsBody, reorderWidgetsBody, reviewRequestListQuery, reviewRequestResolveBody, roleLevel, schemaExportQuery, searchEnableBody, searchQuery, searchRebuildBody, searchResponseSchema, searchResultSchema, searchSuggestQuery, sectionListResponseSchema, sectionSchema, sectionsListQuery, settingsUpdateBody, setupAdminBody, setupAdminVerifyBody, setupAtprotoAdminBody, setupBody, signupCompleteBody, signupRequestBody, siteBriefingQuery, siteSettingsSchema, slugPattern, successEnvelope, taxonomyDefSchema, taxonomyDefTranslationsSchema, taxonomyListResponseSchema, termGetResponseSchema, termListResponseSchema, termResponseSchema, termSchema, termTranslationsSchema, termWithCountSchema, trashedContentItemSchema, trashedContentListResponseSchema, updateCollectionBody, updateFieldBody, updateMenuBody, updateMenuItemBody, updateRedirectBody, updateSectionBody, updateTermBody, updateWidgetBody, userDetailSchema, userListResponseSchema, userSchema, userUpdateBody, usersListQuery, widgetAreaSchema, widgetAreaWithWidgetsAndCountSchema, widgetAreaWithWidgetsSchema, widgetSchema, wpMediaImportBody, wpPluginAnalyzeBody, wpPluginExecuteBody, wpPrepareBody, wpRewriteUrlsBody };
3
+ export { DEFAULT_MAX_UPLOAD_SIZE, VALID_ROLE_LEVELS, adminCommentListResponseSchema, allowedDomainCreateBody, allowedDomainUpdateBody, apiErrorSchema, atprotoLoginBody, authMeActionBody, bylineCreateBody, bylineCreditSchema, bylineFieldCreateBody, bylineFieldDefinitionSchema, bylineFieldListResponseSchema, bylineFieldReorderBody, bylineFieldUpdateBody, bylineFieldUsageResponseSchema, bylineListResponseSchema, bylineSummarySchema, bylineUpdateBody, bylinesListQuery, collectionGetQuery, collectionListResponseSchema, collectionResponseSchema, collectionSchema, collectionWithFieldsResponseSchema, commentBulkBody, commentBulkResponseSchema, commentCountsResponseSchema, commentListQuery, commentSchema, commentStatusBody, contentAuthorSchema, contentAuthorsResponseSchema, contentBylineInputSchema, contentCompareResponseSchema, contentCreateBody, contentItemSchema, contentListQuery, contentListResponseSchema, contentPreviewUrlBody, contentPublishBody, contentResponseSchema, contentScheduleBody, contentSeoInput, contentSeoSchema, contentTermsBody, contentTranslationSchema, contentTranslationsResponseSchema, contentTrashQuery, contentUpdateBody, contextEntryCreateBody, contextEntryDiffQuery, contextEntryListQuery, contextEntryReviewBody, contextEntryStaleQuery, contextEntrySupersedeBody, countResponseSchema, createCollectionBody, createCommentBody, createFieldBody, createMenuBody, createMenuItemBody, createRedirectBody, createSectionBody, createTaxonomyDefBody, createTermBody, createWidgetAreaBody, createWidgetBody, cursorPaginationQuery, deleteResponseSchema, fieldListResponseSchema, fieldReorderBody, fieldResponseSchema, fieldSchema, formatFileSize, hitlRequestListQuery, hitlRequestResolveBody, httpUrl, importProbeBody, inviteCompleteBody, inviteCreateBody, inviteRegisterOptionsBody, localeCode, localeFilterQuery, magicLinkSendBody, mediaConfirmBody, mediaConfirmResponseSchema, mediaExistingResponseSchema, mediaItemSchema, mediaListQuery, mediaListResponseSchema, mediaProviderListQuery, mediaResponseSchema, mediaUpdateBody, mediaUploadUrlBody, mediaUploadUrlResponseSchema, menuItemSchema, menuItemTypeEnum, menuListItemSchema, menuSchema, menuTranslationsSchema, menuWithItemsSchema, notFoundEntrySchema, notFoundListQuery, notFoundListResponseSchema, notFoundPruneBody, notFoundSummaryQuery, notFoundSummaryResponseSchema, notFoundSummarySchema, offsetPaginationQuery, orphanRegisterBody, orphanedTableListResponseSchema, orphanedTableSchema, passkeyOptionsBody, passkeyRegisterOptionsBody, passkeyRegisterVerifyBody, passkeyRenameBody, passkeyVerifyBody, publicCommentListResponseSchema, publicCommentSchema, redirectListResponseSchema, redirectSchema, redirectsListQuery, reorderMenuItemsBody, reorderWidgetsBody, reviewRequestListQuery, reviewRequestResolveBody, roleLevel, schemaExportQuery, searchEnableBody, searchQuery, searchRebuildBody, searchResponseSchema, searchResultSchema, searchSuggestQuery, sectionListResponseSchema, sectionSchema, sectionsListQuery, settingsUpdateBody, setupAdminBody, setupAdminVerifyBody, setupAtprotoAdminBody, setupBody, signupCompleteBody, signupRequestBody, siteBriefingQuery, siteSettingsSchema, slugPattern, successEnvelope, taxonomyDefSchema, taxonomyDefTranslationsSchema, taxonomyListResponseSchema, termGetResponseSchema, termListResponseSchema, termResponseSchema, termSchema, termTranslationsSchema, termWithCountSchema, trashedContentItemSchema, trashedContentListResponseSchema, updateCollectionBody, updateFieldBody, updateMenuBody, updateMenuItemBody, updateRedirectBody, updateSectionBody, updateTermBody, updateWidgetBody, userDetailSchema, userListResponseSchema, userSchema, userUpdateBody, usersListQuery, widgetAreaSchema, widgetAreaWithWidgetsAndCountSchema, widgetAreaWithWidgetsSchema, widgetSchema, wpMediaImportBody, wpPluginAnalyzeBody, wpPluginExecuteBody, wpPrepareBody, wpRewriteUrlsBody };
@@ -1,6 +1,6 @@
1
1
  import "../../context-types-DQh_XKkn.mjs";
2
- import { $ as createMenuBody, $t as contentListQuery, A as searchRebuildBody, An as roleLevel, At as fieldSchema, B as updateSectionBody, Bt as mediaConfirmResponseSchema, C as userDetailSchema, Cn as countResponseSchema, Ct as collectionSchema, D as usersListQuery, Dn as localeCode, Dt as fieldListResponseSchema, E as userUpdateBody, En as httpUrl, Et as createFieldBody, F as siteSettingsSchema, Ft as updateCollectionBody, G as taxonomyListResponseSchema, Gt as mediaProviderListQuery, H as createTermBody, Ht as mediaItemSchema, I as createSectionBody, It as updateFieldBody, J as termResponseSchema, Jt as mediaUploadUrlBody, K as termGetResponseSchema, Kt as mediaResponseSchema, L as sectionListResponseSchema, Lt as DEFAULT_MAX_UPLOAD_SIZE, M as searchResultSchema, Mn as successEnvelope, Mt as orphanedTableListResponseSchema, N as searchSuggestQuery, Nt as orphanedTableSchema, O as searchEnableBody, On as localeFilterQuery, Ot as fieldReorderBody, P as settingsUpdateBody, Pt as schemaExportQuery, Q as updateTermBody, Qt as contentItemSchema, R as sectionSchema, Rt as formatFileSize, S as allowedDomainUpdateBody, Sn as apiErrorSchema, St as collectionResponseSchema, T as userSchema, Tn as deleteResponseSchema, Tt as createCollectionBody, U as taxonomyDefSchema, Ut as mediaListQuery, V as createTaxonomyDefBody, Vt as mediaExistingResponseSchema, W as taxonomyDefTranslationsSchema, Wt as mediaListResponseSchema, X as termTranslationsSchema, Xt as contentCompareResponseSchema, Y as termSchema, Yt as mediaUploadUrlResponseSchema, Z as termWithCountSchema, Zt as contentCreateBody, _ as widgetAreaSchema, _n as bylineSummarySchema, _t as createCommentBody, a as notFoundPruneBody, an as contentSeoInput, at as menuTranslationsSchema, b as widgetSchema, bn as contentBylineInputSchema, bt as collectionGetQuery, c as notFoundSummarySchema, cn as contentTranslationSchema, ct as updateMenuBody, d as redirectsListQuery, dn as contentUpdateBody, dt as commentBulkBody, en as contentListResponseSchema, et as createMenuItemBody, f as updateRedirectBody, fn as trashedContentItemSchema, ft as commentBulkResponseSchema, g as updateWidgetBody, gn as bylineListResponseSchema, gt as commentStatusBody, h as reorderWidgetsBody, hn as bylineCreditSchema, ht as commentSchema, i as notFoundListResponseSchema, in as contentScheduleBody, it as menuSchema, j as searchResponseSchema, jn as slugPattern, jt as orphanRegisterBody, k as searchQuery, kn as offsetPaginationQuery, kt as fieldResponseSchema, l as redirectListResponseSchema, ln as contentTranslationsResponseSchema, lt as updateMenuItemBody, m as createWidgetBody, mn as bylineCreateBody, mt as commentListQuery, n as notFoundEntrySchema, nn as contentPublishBody, nt as menuItemTypeEnum, o as notFoundSummaryQuery, on as contentSeoSchema, ot as menuWithItemsSchema, p as createWidgetAreaBody, pn as trashedContentListResponseSchema, pt as commentCountsResponseSchema, q as termListResponseSchema, qt as mediaUpdateBody, r as notFoundListQuery, rn as contentResponseSchema, rt as menuListItemSchema, s as notFoundSummaryResponseSchema, sn as contentTermsBody, st as reorderMenuItemsBody, t as createRedirectBody, tn as contentPreviewUrlBody, tt as menuItemSchema, u as redirectSchema, un as contentTrashQuery, ut as adminCommentListResponseSchema, v as widgetAreaWithWidgetsAndCountSchema, vn as bylineUpdateBody, vt as publicCommentListResponseSchema, w as userListResponseSchema, wn as cursorPaginationQuery, wt as collectionWithFieldsResponseSchema, x as allowedDomainCreateBody, xn as VALID_ROLE_LEVELS, xt as collectionListResponseSchema, y as widgetAreaWithWidgetsSchema, yn as bylinesListQuery, yt as publicCommentSchema, z as sectionsListQuery, zt as mediaConfirmBody } from "../../redirects-q_cToaHv.mjs";
3
- import { A as contextEntryCreateBody, C as signupCompleteBody, D as hitlRequestListQuery, E as reviewRequestResolveBody, F as contextEntrySupersedeBody, M as contextEntryListQuery, N as contextEntryReviewBody, O as hitlRequestResolveBody, P as contextEntryStaleQuery, S as passkeyVerifyBody, T as reviewRequestListQuery, _ as magicLinkSendBody, a as bylineFieldUpdateBody, b as passkeyRegisterVerifyBody, c as wpMediaImportBody, d as wpPrepareBody, f as wpRewriteUrlsBody, g as inviteRegisterOptionsBody, h as inviteCreateBody, i as bylineFieldReorderBody, j as contextEntryDiffQuery, k as siteBriefingQuery, l as wpPluginAnalyzeBody, m as inviteCompleteBody, n as bylineFieldDefinitionSchema, o as bylineFieldUsageResponseSchema, p as authMeActionBody, r as bylineFieldListResponseSchema, s as importProbeBody, t as bylineFieldCreateBody, u as wpPluginExecuteBody, v as passkeyOptionsBody, w as signupRequestBody, x as passkeyRenameBody, y as passkeyRegisterOptionsBody } from "../../byline-fields-D7TJ_oHF.mjs";
2
+ import { $ as createMenuBody, $t as contentCreateBody, A as searchRebuildBody, An as localeFilterQuery, At as fieldSchema, B as updateSectionBody, Bt as mediaConfirmResponseSchema, C as userDetailSchema, Cn as VALID_ROLE_LEVELS, Ct as collectionSchema, D as usersListQuery, Dn as deleteResponseSchema, Dt as fieldListResponseSchema, E as userUpdateBody, En as cursorPaginationQuery, Et as createFieldBody, F as siteSettingsSchema, Ft as updateCollectionBody, G as taxonomyListResponseSchema, Gt as mediaProviderListQuery, H as createTermBody, Ht as mediaItemSchema, I as createSectionBody, It as updateFieldBody, J as termResponseSchema, Jt as mediaUploadUrlBody, K as termGetResponseSchema, Kt as mediaResponseSchema, L as sectionListResponseSchema, Lt as DEFAULT_MAX_UPLOAD_SIZE, M as searchResultSchema, Mn as roleLevel, Mt as orphanedTableListResponseSchema, N as searchSuggestQuery, Nn as slugPattern, Nt as orphanedTableSchema, O as searchEnableBody, On as httpUrl, Ot as fieldReorderBody, P as settingsUpdateBody, Pn as successEnvelope, Pt as schemaExportQuery, Q as updateTermBody, Qt as contentCompareResponseSchema, R as sectionSchema, Rt as formatFileSize, S as allowedDomainUpdateBody, Sn as contentBylineInputSchema, St as collectionResponseSchema, T as userSchema, Tn as countResponseSchema, Tt as createCollectionBody, U as taxonomyDefSchema, Ut as mediaListQuery, V as createTaxonomyDefBody, Vt as mediaExistingResponseSchema, W as taxonomyDefTranslationsSchema, Wt as mediaListResponseSchema, X as termTranslationsSchema, Xt as contentAuthorSchema, Y as termSchema, Yt as mediaUploadUrlResponseSchema, Z as termWithCountSchema, Zt as contentAuthorsResponseSchema, _ as widgetAreaSchema, _n as bylineCreditSchema, _t as createCommentBody, a as notFoundPruneBody, an as contentResponseSchema, at as menuTranslationsSchema, b as widgetSchema, bn as bylineUpdateBody, bt as collectionGetQuery, c as notFoundSummarySchema, cn as contentSeoSchema, ct as updateMenuBody, d as redirectsListQuery, dn as contentTranslationsResponseSchema, dt as commentBulkBody, en as contentItemSchema, et as createMenuItemBody, f as updateRedirectBody, fn as contentTrashQuery, ft as commentBulkResponseSchema, g as updateWidgetBody, gn as bylineCreateBody, gt as commentStatusBody, h as reorderWidgetsBody, hn as trashedContentListResponseSchema, ht as commentSchema, i as notFoundListResponseSchema, in as contentPublishBody, it as menuSchema, j as searchResponseSchema, jn as offsetPaginationQuery, jt as orphanRegisterBody, k as searchQuery, kn as localeCode, kt as fieldResponseSchema, l as redirectListResponseSchema, ln as contentTermsBody, lt as updateMenuItemBody, m as createWidgetBody, mn as trashedContentItemSchema, mt as commentListQuery, n as notFoundEntrySchema, nn as contentListResponseSchema, nt as menuItemTypeEnum, o as notFoundSummaryQuery, on as contentScheduleBody, ot as menuWithItemsSchema, p as createWidgetAreaBody, pn as contentUpdateBody, pt as commentCountsResponseSchema, q as termListResponseSchema, qt as mediaUpdateBody, r as notFoundListQuery, rn as contentPreviewUrlBody, rt as menuListItemSchema, s as notFoundSummaryResponseSchema, sn as contentSeoInput, st as reorderMenuItemsBody, t as createRedirectBody, tn as contentListQuery, tt as menuItemSchema, u as redirectSchema, un as contentTranslationSchema, ut as adminCommentListResponseSchema, v as widgetAreaWithWidgetsAndCountSchema, vn as bylineListResponseSchema, vt as publicCommentListResponseSchema, w as userListResponseSchema, wn as apiErrorSchema, wt as collectionWithFieldsResponseSchema, x as allowedDomainCreateBody, xn as bylinesListQuery, xt as collectionListResponseSchema, y as widgetAreaWithWidgetsSchema, yn as bylineSummarySchema, yt as publicCommentSchema, z as sectionsListQuery, zt as mediaConfirmBody } from "../../redirects-ocRJmQHP.mjs";
3
+ import { A as contextEntryCreateBody, C as signupCompleteBody, D as hitlRequestListQuery, E as reviewRequestResolveBody, F as contextEntrySupersedeBody, M as contextEntryListQuery, N as contextEntryReviewBody, O as hitlRequestResolveBody, P as contextEntryStaleQuery, S as passkeyVerifyBody, T as reviewRequestListQuery, _ as magicLinkSendBody, a as bylineFieldUpdateBody, b as passkeyRegisterVerifyBody, c as wpMediaImportBody, d as wpPrepareBody, f as wpRewriteUrlsBody, g as inviteRegisterOptionsBody, h as inviteCreateBody, i as bylineFieldReorderBody, j as contextEntryDiffQuery, k as siteBriefingQuery, l as wpPluginAnalyzeBody, m as inviteCompleteBody, n as bylineFieldDefinitionSchema, o as bylineFieldUsageResponseSchema, p as authMeActionBody, r as bylineFieldListResponseSchema, s as importProbeBody, t as bylineFieldCreateBody, u as wpPluginExecuteBody, v as passkeyOptionsBody, w as signupRequestBody, x as passkeyRenameBody, y as passkeyRegisterOptionsBody } from "../../byline-fields-B-ZkoVft.mjs";
4
4
  import { atprotoLoginBody, setupAdminBody, setupAdminVerifyBody, setupAtprotoAdminBody, setupBody } from "./setup.mjs";
5
5
 
6
- export { DEFAULT_MAX_UPLOAD_SIZE, VALID_ROLE_LEVELS, adminCommentListResponseSchema, allowedDomainCreateBody, allowedDomainUpdateBody, apiErrorSchema, atprotoLoginBody, authMeActionBody, bylineCreateBody, bylineCreditSchema, bylineFieldCreateBody, bylineFieldDefinitionSchema, bylineFieldListResponseSchema, bylineFieldReorderBody, bylineFieldUpdateBody, bylineFieldUsageResponseSchema, bylineListResponseSchema, bylineSummarySchema, bylineUpdateBody, bylinesListQuery, collectionGetQuery, collectionListResponseSchema, collectionResponseSchema, collectionSchema, collectionWithFieldsResponseSchema, commentBulkBody, commentBulkResponseSchema, commentCountsResponseSchema, commentListQuery, commentSchema, commentStatusBody, contentBylineInputSchema, contentCompareResponseSchema, contentCreateBody, contentItemSchema, contentListQuery, contentListResponseSchema, contentPreviewUrlBody, contentPublishBody, contentResponseSchema, contentScheduleBody, contentSeoInput, contentSeoSchema, contentTermsBody, contentTranslationSchema, contentTranslationsResponseSchema, contentTrashQuery, contentUpdateBody, contextEntryCreateBody, contextEntryDiffQuery, contextEntryListQuery, contextEntryReviewBody, contextEntryStaleQuery, contextEntrySupersedeBody, countResponseSchema, createCollectionBody, createCommentBody, createFieldBody, createMenuBody, createMenuItemBody, createRedirectBody, createSectionBody, createTaxonomyDefBody, createTermBody, createWidgetAreaBody, createWidgetBody, cursorPaginationQuery, deleteResponseSchema, fieldListResponseSchema, fieldReorderBody, fieldResponseSchema, fieldSchema, formatFileSize, hitlRequestListQuery, hitlRequestResolveBody, httpUrl, importProbeBody, inviteCompleteBody, inviteCreateBody, inviteRegisterOptionsBody, localeCode, localeFilterQuery, magicLinkSendBody, mediaConfirmBody, mediaConfirmResponseSchema, mediaExistingResponseSchema, mediaItemSchema, mediaListQuery, mediaListResponseSchema, mediaProviderListQuery, mediaResponseSchema, mediaUpdateBody, mediaUploadUrlBody, mediaUploadUrlResponseSchema, menuItemSchema, menuItemTypeEnum, menuListItemSchema, menuSchema, menuTranslationsSchema, menuWithItemsSchema, notFoundEntrySchema, notFoundListQuery, notFoundListResponseSchema, notFoundPruneBody, notFoundSummaryQuery, notFoundSummaryResponseSchema, notFoundSummarySchema, offsetPaginationQuery, orphanRegisterBody, orphanedTableListResponseSchema, orphanedTableSchema, passkeyOptionsBody, passkeyRegisterOptionsBody, passkeyRegisterVerifyBody, passkeyRenameBody, passkeyVerifyBody, publicCommentListResponseSchema, publicCommentSchema, redirectListResponseSchema, redirectSchema, redirectsListQuery, reorderMenuItemsBody, reorderWidgetsBody, reviewRequestListQuery, reviewRequestResolveBody, roleLevel, schemaExportQuery, searchEnableBody, searchQuery, searchRebuildBody, searchResponseSchema, searchResultSchema, searchSuggestQuery, sectionListResponseSchema, sectionSchema, sectionsListQuery, settingsUpdateBody, setupAdminBody, setupAdminVerifyBody, setupAtprotoAdminBody, setupBody, signupCompleteBody, signupRequestBody, siteBriefingQuery, siteSettingsSchema, slugPattern, successEnvelope, taxonomyDefSchema, taxonomyDefTranslationsSchema, taxonomyListResponseSchema, termGetResponseSchema, termListResponseSchema, termResponseSchema, termSchema, termTranslationsSchema, termWithCountSchema, trashedContentItemSchema, trashedContentListResponseSchema, updateCollectionBody, updateFieldBody, updateMenuBody, updateMenuItemBody, updateRedirectBody, updateSectionBody, updateTermBody, updateWidgetBody, userDetailSchema, userListResponseSchema, userSchema, userUpdateBody, usersListQuery, widgetAreaSchema, widgetAreaWithWidgetsAndCountSchema, widgetAreaWithWidgetsSchema, widgetSchema, wpMediaImportBody, wpPluginAnalyzeBody, wpPluginExecuteBody, wpPrepareBody, wpRewriteUrlsBody };
6
+ export { DEFAULT_MAX_UPLOAD_SIZE, VALID_ROLE_LEVELS, adminCommentListResponseSchema, allowedDomainCreateBody, allowedDomainUpdateBody, apiErrorSchema, atprotoLoginBody, authMeActionBody, bylineCreateBody, bylineCreditSchema, bylineFieldCreateBody, bylineFieldDefinitionSchema, bylineFieldListResponseSchema, bylineFieldReorderBody, bylineFieldUpdateBody, bylineFieldUsageResponseSchema, bylineListResponseSchema, bylineSummarySchema, bylineUpdateBody, bylinesListQuery, collectionGetQuery, collectionListResponseSchema, collectionResponseSchema, collectionSchema, collectionWithFieldsResponseSchema, commentBulkBody, commentBulkResponseSchema, commentCountsResponseSchema, commentListQuery, commentSchema, commentStatusBody, contentAuthorSchema, contentAuthorsResponseSchema, contentBylineInputSchema, contentCompareResponseSchema, contentCreateBody, contentItemSchema, contentListQuery, contentListResponseSchema, contentPreviewUrlBody, contentPublishBody, contentResponseSchema, contentScheduleBody, contentSeoInput, contentSeoSchema, contentTermsBody, contentTranslationSchema, contentTranslationsResponseSchema, contentTrashQuery, contentUpdateBody, contextEntryCreateBody, contextEntryDiffQuery, contextEntryListQuery, contextEntryReviewBody, contextEntryStaleQuery, contextEntrySupersedeBody, countResponseSchema, createCollectionBody, createCommentBody, createFieldBody, createMenuBody, createMenuItemBody, createRedirectBody, createSectionBody, createTaxonomyDefBody, createTermBody, createWidgetAreaBody, createWidgetBody, cursorPaginationQuery, deleteResponseSchema, fieldListResponseSchema, fieldReorderBody, fieldResponseSchema, fieldSchema, formatFileSize, hitlRequestListQuery, hitlRequestResolveBody, httpUrl, importProbeBody, inviteCompleteBody, inviteCreateBody, inviteRegisterOptionsBody, localeCode, localeFilterQuery, magicLinkSendBody, mediaConfirmBody, mediaConfirmResponseSchema, mediaExistingResponseSchema, mediaItemSchema, mediaListQuery, mediaListResponseSchema, mediaProviderListQuery, mediaResponseSchema, mediaUpdateBody, mediaUploadUrlBody, mediaUploadUrlResponseSchema, menuItemSchema, menuItemTypeEnum, menuListItemSchema, menuSchema, menuTranslationsSchema, menuWithItemsSchema, notFoundEntrySchema, notFoundListQuery, notFoundListResponseSchema, notFoundPruneBody, notFoundSummaryQuery, notFoundSummaryResponseSchema, notFoundSummarySchema, offsetPaginationQuery, orphanRegisterBody, orphanedTableListResponseSchema, orphanedTableSchema, passkeyOptionsBody, passkeyRegisterOptionsBody, passkeyRegisterVerifyBody, passkeyRenameBody, passkeyVerifyBody, publicCommentListResponseSchema, publicCommentSchema, redirectListResponseSchema, redirectSchema, redirectsListQuery, reorderMenuItemsBody, reorderWidgetsBody, reviewRequestListQuery, reviewRequestResolveBody, roleLevel, schemaExportQuery, searchEnableBody, searchQuery, searchRebuildBody, searchResponseSchema, searchResultSchema, searchSuggestQuery, sectionListResponseSchema, sectionSchema, sectionsListQuery, settingsUpdateBody, setupAdminBody, setupAdminVerifyBody, setupAtprotoAdminBody, setupBody, signupCompleteBody, signupRequestBody, siteBriefingQuery, siteSettingsSchema, slugPattern, successEnvelope, taxonomyDefSchema, taxonomyDefTranslationsSchema, taxonomyListResponseSchema, termGetResponseSchema, termListResponseSchema, termResponseSchema, termSchema, termTranslationsSchema, termWithCountSchema, trashedContentItemSchema, trashedContentListResponseSchema, updateCollectionBody, updateFieldBody, updateMenuBody, updateMenuItemBody, updateRedirectBody, updateSectionBody, updateTermBody, updateWidgetBody, userDetailSchema, userListResponseSchema, userSchema, userUpdateBody, usersListQuery, widgetAreaSchema, widgetAreaWithWidgetsAndCountSchema, widgetAreaWithWidgetsSchema, widgetSchema, wpMediaImportBody, wpPluginAnalyzeBody, wpPluginExecuteBody, wpPrepareBody, wpRewriteUrlsBody };
@@ -1,22 +1,23 @@
1
1
  import { r as validatePluginIdentifier, t as validateIdentifier } from "./validate-VPnKoIzW.mjs";
2
2
  import { r as isI18nEnabled } from "./config-CVssduLe.mjs";
3
- import { r as RevisionRepository, t as ContentRepository } from "./content-BfyjOiMi.mjs";
3
+ import { r as RevisionRepository, t as ContentRepository } from "./content-QaryevFO.mjs";
4
4
  import { r as encodeBase64, t as decodeBase64 } from "./base64-C1Q9yr0B.mjs";
5
- import { t as DinewayValidationError } from "./types-Ck7-WoUD.mjs";
6
- import { t as MediaRepository } from "./media-DhBwiCYR.mjs";
7
- import { t as CommentRepository } from "./comment-ogMaF1gk.mjs";
8
- import { t as withTransaction } from "./transaction-D0FOsb3X.mjs";
9
- import { t as RedirectRepository } from "./redirect-BqFMj67n.mjs";
10
- import { r as requestCached } from "./request-cache-w5cj5itT.mjs";
11
- import { t as BylineRepository } from "./byline-CXQcMsBu.mjs";
12
- import { n as chunks, t as SQL_BATCH_SIZE } from "./chunks-DgEw12Bc.mjs";
13
- import { t as SeoRepository } from "./seo-uMFBaR8G.mjs";
14
- import { i as invalidateRedirectCache } from "./cache-GRK71jOU.mjs";
5
+ import { n as ScheduledNotDueError, t as DinewayValidationError } from "./types-DfuD0Afl.mjs";
6
+ import { t as MediaRepository } from "./media-DUAjMfvR.mjs";
7
+ import { n as chunks, t as SQL_BATCH_SIZE } from "./chunks-C5zp2xir.mjs";
8
+ import { t as UserRepository } from "./user-DtNmjNYt.mjs";
9
+ import { t as CommentRepository } from "./comment-CXDOQ93N.mjs";
10
+ import { t as withTransaction } from "./transaction-CShMWIej.mjs";
11
+ import { t as RedirectRepository } from "./redirect-C2zXRj3c.mjs";
12
+ import { r as requestCached } from "./request-cache-CYMbwZc6.mjs";
13
+ import { t as BylineRepository } from "./byline-1ntDwv8c.mjs";
14
+ import { t as SeoRepository } from "./seo-Cd45Po8L.mjs";
15
+ import { i as invalidateRedirectCache } from "./cache-DbKyr60Q.mjs";
15
16
  import { r as parseAllowedMimeTypes, t as matchesMimeAllowlist } from "./mime-8pAB8-77.mjs";
16
- import { u as PluginStateRepository } from "./briefing-BFEWeJtR.mjs";
17
- import { n as SchemaRegistry, t as SchemaError } from "./registry-Cq3QRBW2.mjs";
17
+ import { u as PluginStateRepository } from "./briefing-gKWiGLt1.mjs";
18
+ import { n as SchemaRegistry, t as SchemaError } from "./registry-CTkbIDB9.mjs";
18
19
  import { n as hashString } from "./hash-BPmX6P8I.mjs";
19
- import { n as VERSION, t as COMMIT } from "./version-Cb1tZ6s_.mjs";
20
+ import { n as VERSION, t as COMMIT } from "./version-xlzMSXF2.mjs";
20
21
  import { i as pluginManifestSchema, r as normalizeManifestRoute } from "./manifest-schema-qh2P7RDX.mjs";
21
22
  import { t as DinewayStorageError } from "./types-Cg276-3z.mjs";
22
23
  import { sql } from "kysely";
@@ -334,6 +335,12 @@ async function resolveSearchColumns(db, collection) {
334
335
  for (const candidate of ["title", "name"]) if (fields.has(candidate)) columns.push(candidate);
335
336
  return columns;
336
337
  }
338
+ const DATE_ONLY_RE = /^\d{4}-\d{2}-\d{2}$/;
339
+ function normalizeDateBound(value, edge) {
340
+ if (!value) return void 0;
341
+ if (!DATE_ONLY_RE.test(value)) return value;
342
+ return edge === "start" ? `${value}T00:00:00.000Z` : `${value}T23:59:59.999Z`;
343
+ }
337
344
  /**
338
345
  * Create content list handler
339
346
  */
@@ -343,6 +350,12 @@ async function handleContentList(db, collection, params) {
343
350
  const where = {};
344
351
  if (params.status) where.status = params.status;
345
352
  if (params.locale) where.locale = params.locale;
353
+ if (params.authorId) where.authorId = params.authorId;
354
+ if (params.dateField && (params.dateFrom || params.dateTo)) where.dateFilter = {
355
+ field: params.dateField,
356
+ from: normalizeDateBound(params.dateFrom, "start"),
357
+ to: normalizeDateBound(params.dateTo, "end")
358
+ };
346
359
  const q = params.q?.trim();
347
360
  if (q) {
348
361
  where.q = q;
@@ -379,6 +392,33 @@ async function handleContentList(db, collection, params) {
379
392
  };
380
393
  }
381
394
  }
395
+ async function handleContentAuthors(db, collection) {
396
+ try {
397
+ const authorIds = await new ContentRepository(db).findDistinctAuthorIds(collection);
398
+ if (authorIds.length === 0) return {
399
+ success: true,
400
+ data: { items: [] }
401
+ };
402
+ return {
403
+ success: true,
404
+ data: { items: (await new UserRepository(db).findByIds(authorIds)).map((user) => ({
405
+ id: user.id,
406
+ name: user.name,
407
+ email: user.email,
408
+ avatarUrl: user.avatarUrl
409
+ })).toSorted((a, b) => (a.name ?? a.email).localeCompare(b.name ?? b.email)) }
410
+ };
411
+ } catch (error) {
412
+ console.error("Content authors error:", error);
413
+ return {
414
+ success: false,
415
+ error: {
416
+ code: "CONTENT_AUTHORS_ERROR",
417
+ message: "Failed to list content authors"
418
+ }
419
+ };
420
+ }
421
+ }
382
422
  /**
383
423
  * Get single content item
384
424
  */
@@ -868,7 +908,7 @@ async function handleContentPublish(db, collection, id, options = {}) {
868
908
  const item = await withTransaction(db, async (trx) => {
869
909
  const repo = new ContentRepository(trx);
870
910
  const resolvedId = await resolveId(repo, collection, id) ?? id;
871
- return repo.publish(collection, resolvedId, options.publishedAt);
911
+ return repo.publish(collection, resolvedId, options.publishedAt, options.requireScheduledDue);
872
912
  });
873
913
  await hydrateSeo(db, collection, item, await collectionHasSeo(db, collection));
874
914
  return {
@@ -883,6 +923,13 @@ async function handleContentPublish(db, collection, id, options = {}) {
883
923
  message: error.message
884
924
  }
885
925
  };
926
+ if (error instanceof ScheduledNotDueError) return {
927
+ success: false,
928
+ error: {
929
+ code: "NOT_DUE",
930
+ message: error.message
931
+ }
932
+ };
886
933
  console.error("Content publish error:", error);
887
934
  return {
888
935
  success: false,
@@ -2848,4 +2895,4 @@ async function handleThemeGetDetail(marketplaceUrl, themeId) {
2848
2895
  }
2849
2896
 
2850
2897
  //#endregion
2851
- export { validateRev as $, handleRevisionGet as A, handleContentDuplicate as B, handleSchemaFieldReorder as C, handleMediaGet as D, handleMediaDelete as E, handleContentCountScheduled as F, handleContentPermanentDelete as G, handleContentGetIncludingTrashed as H, handleContentCountTrashed as I, handleContentSchedule as J, handleContentPublish as K, handleContentCreate as L, handleRevisionRestore as M, generateManifest as N, handleMediaList as O, handleContentCompare as P, handleContentUpdate as Q, handleContentDelete as R, handleSchemaFieldList as S, handleMediaCreate as T, handleContentList as U, handleContentGet as V, handleContentListTrashed as W, handleContentUnpublish as X, handleContentTranslations as Y, handleContentUnschedule as Z, handleSchemaCollectionList as _, handleMarketplaceUninstall as a, handleSchemaFieldDelete as b, handleMarketplaceUpdatePreview as c, createPluginBundleStore as d, handleOrphanedTableList as f, handleSchemaCollectionGet as g, handleSchemaCollectionDelete as h, handleMarketplaceSearch as i, handleRevisionList as j, handleMediaUpdate as k, handleThemeGetDetail as l, handleSchemaCollectionCreate as m, handleMarketplaceInstall as n, handleMarketplaceUpdate as o, handleOrphanedTableRegister as p, handleContentRestore as q, handleMarketplaceInstallPreview as r, handleMarketplaceUpdateCheck as s, handleMarketplaceGetPlugin as t, handleThemeSearch as u, handleSchemaCollectionUpdate as v, handleSchemaFieldUpdate as w, handleSchemaFieldGet as x, handleSchemaFieldCreate as y, handleContentDiscardDraft as z };
2898
+ export { handleContentUpdate as $, handleRevisionGet as A, handleContentDiscardDraft as B, handleSchemaFieldReorder as C, handleMediaGet as D, handleMediaDelete as E, handleContentCompare as F, handleContentListTrashed as G, handleContentGet as H, handleContentCountScheduled as I, handleContentRestore as J, handleContentPermanentDelete as K, handleContentCountTrashed as L, handleRevisionRestore as M, generateManifest as N, handleMediaList as O, handleContentAuthors as P, handleContentUnschedule as Q, handleContentCreate as R, handleSchemaFieldList as S, handleMediaCreate as T, handleContentGetIncludingTrashed as U, handleContentDuplicate as V, handleContentList as W, handleContentTranslations as X, handleContentSchedule as Y, handleContentUnpublish as Z, handleSchemaCollectionList as _, handleMarketplaceUninstall as a, handleSchemaFieldDelete as b, handleMarketplaceUpdatePreview as c, createPluginBundleStore as d, validateRev as et, handleOrphanedTableList as f, handleSchemaCollectionGet as g, handleSchemaCollectionDelete as h, handleMarketplaceSearch as i, handleRevisionList as j, handleMediaUpdate as k, handleThemeGetDetail as l, handleSchemaCollectionCreate as m, handleMarketplaceInstall as n, handleMarketplaceUpdate as o, handleOrphanedTableRegister as p, handleContentPublish as q, handleMarketplaceInstallPreview as r, handleMarketplaceUpdateCheck as s, handleMarketplaceGetPlugin as t, handleThemeSearch as u, handleSchemaCollectionUpdate as v, handleSchemaFieldUpdate as w, handleSchemaFieldGet as x, handleSchemaFieldCreate as y, handleContentDelete as z };