dineway 0.1.16 → 0.1.18

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 (241) hide show
  1. package/README.md +22 -0
  2. package/dist/api/route-utils.d.mts +1 -1
  3. package/dist/api/route-utils.mjs +4 -4
  4. package/dist/api/schemas/index.d.mts +2 -2
  5. package/dist/api/schemas/index.mjs +4 -4
  6. package/dist/{api-B5xMY72-.mjs → api-KH2L2uKb.mjs} +11 -11
  7. package/dist/{apply-CGVHi2r7.mjs → apply-Wyg77UOb.mjs} +13 -13
  8. package/dist/astro/index.d.mts +1 -1
  9. package/dist/astro/index.mjs +6 -2
  10. package/dist/astro/middleware/auth.d.mts +1 -1
  11. package/dist/astro/middleware/auth.mjs +1 -1
  12. package/dist/astro/middleware/redirect.mjs +3 -3
  13. package/dist/astro/middleware/request-context.mjs +1 -1
  14. package/dist/astro/middleware/setup.mjs +1 -1
  15. package/dist/astro/middleware.mjs +47 -47
  16. package/dist/astro/routes/api/admin/allowed-domains/_domain_.mjs +3 -3
  17. package/dist/astro/routes/api/admin/allowed-domains/index.mjs +3 -3
  18. package/dist/astro/routes/api/admin/api-tokens/index.mjs +1 -1
  19. package/dist/astro/routes/api/admin/briefing.mjs +10 -10
  20. package/dist/astro/routes/api/admin/bylines/_id_/index.mjs +6 -6
  21. package/dist/astro/routes/api/admin/bylines/index.mjs +6 -6
  22. package/dist/astro/routes/api/admin/comments/_id_/status.mjs +3 -3
  23. package/dist/astro/routes/api/admin/comments/bulk.mjs +3 -3
  24. package/dist/astro/routes/api/admin/comments/index.mjs +3 -3
  25. package/dist/astro/routes/api/admin/context/_id_/history.mjs +13 -13
  26. package/dist/astro/routes/api/admin/context/_id_/index.mjs +13 -13
  27. package/dist/astro/routes/api/admin/context/_id_/review.mjs +15 -15
  28. package/dist/astro/routes/api/admin/context/_id_/supersede.mjs +15 -15
  29. package/dist/astro/routes/api/admin/context/diff.mjs +15 -15
  30. package/dist/astro/routes/api/admin/context/index.mjs +15 -15
  31. package/dist/astro/routes/api/admin/context/stale.mjs +15 -15
  32. package/dist/astro/routes/api/admin/hitl-requests/_id_/index.mjs +14 -14
  33. package/dist/astro/routes/api/admin/hitl-requests/_id_/resolve.mjs +16 -16
  34. package/dist/astro/routes/api/admin/hitl-requests/index.mjs +16 -16
  35. package/dist/astro/routes/api/admin/hooks/exclusive/_hookName_.mjs +13 -13
  36. package/dist/astro/routes/api/admin/oauth-clients/_id_.mjs +2 -2
  37. package/dist/astro/routes/api/admin/oauth-clients/index.mjs +2 -2
  38. package/dist/astro/routes/api/admin/plugins/_id_/disable.mjs +29 -29
  39. package/dist/astro/routes/api/admin/plugins/_id_/enable.mjs +29 -29
  40. package/dist/astro/routes/api/admin/plugins/_id_/index.mjs +26 -26
  41. package/dist/astro/routes/api/admin/plugins/_id_/uninstall.mjs +29 -29
  42. package/dist/astro/routes/api/admin/plugins/_id_/update.mjs +29 -29
  43. package/dist/astro/routes/api/admin/plugins/index.mjs +26 -26
  44. package/dist/astro/routes/api/admin/plugins/marketplace/_id_/index.mjs +26 -26
  45. package/dist/astro/routes/api/admin/plugins/marketplace/_id_/install.mjs +29 -29
  46. package/dist/astro/routes/api/admin/plugins/marketplace/index.mjs +26 -26
  47. package/dist/astro/routes/api/admin/plugins/updates.mjs +26 -26
  48. package/dist/astro/routes/api/admin/review-requests/_id_/index.mjs +1 -1
  49. package/dist/astro/routes/api/admin/review-requests/_id_/resolve.mjs +15 -15
  50. package/dist/astro/routes/api/admin/review-requests/index.mjs +4 -4
  51. package/dist/astro/routes/api/admin/themes/marketplace/_id_/index.mjs +26 -26
  52. package/dist/astro/routes/api/admin/themes/marketplace/index.mjs +26 -26
  53. package/dist/astro/routes/api/admin/users/_id_/index.mjs +3 -3
  54. package/dist/astro/routes/api/admin/users/index.mjs +3 -3
  55. package/dist/astro/routes/api/auth/invite/complete.mjs +5 -5
  56. package/dist/astro/routes/api/auth/invite/index.mjs +3 -3
  57. package/dist/astro/routes/api/auth/invite/register-options.mjs +4 -4
  58. package/dist/astro/routes/api/auth/magic-link/send.mjs +3 -3
  59. package/dist/astro/routes/api/auth/me.mjs +3 -3
  60. package/dist/astro/routes/api/auth/mode.mjs +1 -1
  61. package/dist/astro/routes/api/auth/passkey/_id_.mjs +3 -3
  62. package/dist/astro/routes/api/auth/passkey/options.mjs +4 -4
  63. package/dist/astro/routes/api/auth/passkey/register/options.mjs +4 -4
  64. package/dist/astro/routes/api/auth/passkey/register/verify.mjs +5 -5
  65. package/dist/astro/routes/api/auth/passkey/verify.mjs +5 -5
  66. package/dist/astro/routes/api/auth/signup/complete.mjs +5 -5
  67. package/dist/astro/routes/api/auth/signup/request.mjs +3 -3
  68. package/dist/astro/routes/api/comments/_collection_/_contentId_/index.mjs +4 -4
  69. package/dist/astro/routes/api/content/_collection_/_id_/discard-draft.mjs +1 -1
  70. package/dist/astro/routes/api/content/_collection_/_id_/duplicate.mjs +1 -1
  71. package/dist/astro/routes/api/content/_collection_/_id_/permanent.mjs +1 -1
  72. package/dist/astro/routes/api/content/_collection_/_id_/preview-url.mjs +4 -4
  73. package/dist/astro/routes/api/content/_collection_/_id_/publish.mjs +15 -15
  74. package/dist/astro/routes/api/content/_collection_/_id_/restore.mjs +1 -1
  75. package/dist/astro/routes/api/content/_collection_/_id_/schedule.mjs +5 -5
  76. package/dist/astro/routes/api/content/_collection_/_id_/terms/_taxonomy_.mjs +7 -7
  77. package/dist/astro/routes/api/content/_collection_/_id_/unpublish.mjs +1 -1
  78. package/dist/astro/routes/api/content/_collection_/_id_.mjs +5 -5
  79. package/dist/astro/routes/api/content/_collection_/index.mjs +4 -4
  80. package/dist/astro/routes/api/content/_collection_/trash.mjs +3 -3
  81. package/dist/astro/routes/api/dashboard.mjs +1 -1
  82. package/dist/astro/routes/api/health.mjs +1 -1
  83. package/dist/astro/routes/api/import/probe.mjs +5 -5
  84. package/dist/astro/routes/api/import/wordpress/analyze.mjs +1 -1
  85. package/dist/astro/routes/api/import/wordpress/execute.mjs +15 -15
  86. package/dist/astro/routes/api/import/wordpress/media.mjs +4 -4
  87. package/dist/astro/routes/api/import/wordpress/prepare.mjs +19 -19
  88. package/dist/astro/routes/api/import/wordpress/rewrite-urls.mjs +17 -17
  89. package/dist/astro/routes/api/import/wordpress-plugin/analyze.mjs +5 -5
  90. package/dist/astro/routes/api/import/wordpress-plugin/execute.mjs +18 -18
  91. package/dist/astro/routes/api/manifest.mjs +3 -3
  92. package/dist/astro/routes/api/mcp.mjs +38 -38
  93. package/dist/astro/routes/api/media/_id_/confirm.mjs +3 -3
  94. package/dist/astro/routes/api/media/_id_.mjs +3 -3
  95. package/dist/astro/routes/api/media/upload-url.mjs +5 -5
  96. package/dist/astro/routes/api/media.mjs +7 -7
  97. package/dist/astro/routes/api/menus/_name_/items/_id_.d.mts +8 -0
  98. package/dist/astro/routes/api/menus/_name_/items/_id_.mjs +127 -0
  99. package/dist/astro/routes/api/menus/_name_/items.d.mts +1 -3
  100. package/dist/astro/routes/api/menus/_name_/items.mjs +17 -108
  101. package/dist/astro/routes/api/menus/_name_/reorder.mjs +16 -16
  102. package/dist/astro/routes/api/menus/_name_/translations.mjs +16 -16
  103. package/dist/astro/routes/api/menus/_name_.mjs +16 -16
  104. package/dist/astro/routes/api/menus/index.mjs +16 -16
  105. package/dist/astro/routes/api/oauth/authorize.mjs +3 -3
  106. package/dist/astro/routes/api/oauth/device/authorize.mjs +2 -2
  107. package/dist/astro/routes/api/oauth/device/code.mjs +2 -2
  108. package/dist/astro/routes/api/oauth/device/token.mjs +2 -2
  109. package/dist/astro/routes/api/oauth/register.mjs +2 -2
  110. package/dist/astro/routes/api/oauth/token/refresh.mjs +2 -2
  111. package/dist/astro/routes/api/oauth/token/revoke.mjs +2 -2
  112. package/dist/astro/routes/api/oauth/token.mjs +3 -3
  113. package/dist/astro/routes/api/openapi.json.mjs +26 -26
  114. package/dist/astro/routes/api/redirects/404s/index.mjs +5 -5
  115. package/dist/astro/routes/api/redirects/404s/summary.mjs +5 -5
  116. package/dist/astro/routes/api/redirects/_id_.mjs +17 -17
  117. package/dist/astro/routes/api/redirects/index.mjs +17 -17
  118. package/dist/astro/routes/api/schema/collections/_slug_/fields/_fieldSlug_.mjs +26 -26
  119. package/dist/astro/routes/api/schema/collections/_slug_/fields/index.mjs +26 -26
  120. package/dist/astro/routes/api/schema/collections/_slug_/fields/reorder.mjs +26 -26
  121. package/dist/astro/routes/api/schema/collections/_slug_/index.mjs +26 -26
  122. package/dist/astro/routes/api/schema/collections/index.mjs +26 -26
  123. package/dist/astro/routes/api/schema/index.mjs +3 -3
  124. package/dist/astro/routes/api/schema/orphans/_slug_.mjs +26 -26
  125. package/dist/astro/routes/api/schema/orphans/index.mjs +26 -26
  126. package/dist/astro/routes/api/search/enable.mjs +6 -6
  127. package/dist/astro/routes/api/search/index.mjs +6 -6
  128. package/dist/astro/routes/api/search/rebuild.mjs +6 -6
  129. package/dist/astro/routes/api/search/stats.mjs +3 -3
  130. package/dist/astro/routes/api/search/suggest.mjs +6 -6
  131. package/dist/astro/routes/api/sections/_slug_.mjs +16 -16
  132. package/dist/astro/routes/api/sections/index.mjs +16 -16
  133. package/dist/astro/routes/api/settings.mjs +16 -16
  134. package/dist/astro/routes/api/setup/admin-verify.mjs +6 -6
  135. package/dist/astro/routes/api/setup/admin.mjs +4 -4
  136. package/dist/astro/routes/api/setup/dev-bypass.mjs +11 -11
  137. package/dist/astro/routes/api/setup/index.mjs +15 -15
  138. package/dist/astro/routes/api/setup/status.mjs +1 -1
  139. package/dist/astro/routes/api/snapshot.mjs +1 -1
  140. package/dist/astro/routes/api/taxonomies/_name_/terms/_slug_/translations.mjs +18 -18
  141. package/dist/astro/routes/api/taxonomies/_name_/terms/_slug_.mjs +18 -18
  142. package/dist/astro/routes/api/taxonomies/_name_/terms/index.mjs +18 -18
  143. package/dist/astro/routes/api/taxonomies/index.mjs +18 -18
  144. package/dist/astro/routes/api/themes/preview.mjs +1 -1
  145. package/dist/astro/routes/api/typegen.mjs +3 -3
  146. package/dist/astro/routes/api/well-known/auth.mjs +2 -2
  147. package/dist/astro/routes/api/well-known/oauth-authorization-server.mjs +1 -1
  148. package/dist/astro/routes/api/well-known/oauth-protected-resource.mjs +1 -1
  149. package/dist/astro/routes/api/widget-areas/_name_/reorder.mjs +15 -15
  150. package/dist/astro/routes/api/widget-areas/_name_/widgets/_id_.mjs +16 -16
  151. package/dist/astro/routes/api/widget-areas/_name_/widgets.mjs +16 -16
  152. package/dist/astro/routes/api/widget-areas/_name_.mjs +14 -14
  153. package/dist/astro/routes/api/widget-areas/index.mjs +16 -16
  154. package/dist/astro/routes/robots.txt.mjs +3 -3
  155. package/dist/astro/routes/sitemap-_collection_.xml.mjs +4 -4
  156. package/dist/astro/routes/sitemap.xml.mjs +4 -4
  157. package/dist/astro/types.d.mts +1 -1
  158. package/dist/{briefing-4k6R0KAr.mjs → briefing-Dk4I4VC8.mjs} +3 -3
  159. package/dist/{briefing-DM7e2yd3.mjs → briefing-PFT3T6KW.mjs} +1 -1
  160. package/dist/{byline-BxAf79s1.mjs → byline-9WeA8b0a.mjs} +1 -1
  161. package/dist/{bylines-DhCnhR70.mjs → bylines-B6QpwVAr.mjs} +2 -2
  162. package/dist/{bylines-DE9bfDur.d.mts → bylines-BK9FyU4A.d.mts} +70 -59
  163. package/dist/{cache-inQvbrP5.mjs → cache-BhJYDPP8.mjs} +1 -1
  164. package/dist/cli/index.mjs +13 -13
  165. package/dist/client/external-auth-headers.d.mts +1 -1
  166. package/dist/client/index.d.mts +1 -1
  167. package/dist/{context-CGbVhAmd.mjs → context-93X6MFTb.mjs} +2 -2
  168. package/dist/{context-CT44ux1O.mjs → context-DRq-f4sM.mjs} +2 -2
  169. package/dist/{device-flow-DaTBhALC.mjs → device-flow-urJvDoBx.mjs} +2 -2
  170. package/dist/{hitl-requests-CUnch_4e.mjs → hitl-requests-DBcruTcs.mjs} +2 -2
  171. package/dist/{hitl-route-helpers-DcUCm57p.mjs → hitl-route-helpers-Dwo_LjhN.mjs} +2 -2
  172. package/dist/{import-BVqG28WP.mjs → import-B8lnqfnN.mjs} +1 -1
  173. package/dist/{import-DE2ziezs.mjs → import-BO_gy5vZ.mjs} +2 -2
  174. package/dist/index.d.mts +1 -1
  175. package/dist/index.mjs +41 -41
  176. package/dist/{jsonld-BjsoTL5m.d.mts → jsonld-CvXmIBls.d.mts} +2 -2
  177. package/dist/media/index.mjs +2 -2
  178. package/dist/media/local-runtime.d.mts +1 -1
  179. package/dist/{media-allowlist-eS3AZ2L_.mjs → media-allowlist-vdlqBR-8.mjs} +1 -1
  180. package/dist/{menus-BDW1yIdj.mjs → menus-BTOa-tsI.mjs} +3 -3
  181. package/dist/menus-DXaFTRyU.mjs +720 -0
  182. package/dist/{oauth-authorization-DcYRiDfi.mjs → oauth-authorization-BZSOekHq.mjs} +2 -2
  183. package/dist/{oauth-clients-CgKFA-VH.mjs → oauth-clients-CqAi-6Y4.mjs} +1 -1
  184. package/dist/page/index.d.mts +1 -1
  185. package/dist/page/index.mjs +1 -1
  186. package/dist/plugins/adapt-sandbox-entry.d.mts +1 -1
  187. package/dist/{plugins-DKceDtUM.mjs → plugins-CxUx-b5a.mjs} +1 -1
  188. package/dist/{query-BtuwuZRd.mjs → query-CH1GaJmt.mjs} +3 -3
  189. package/dist/{query-CWPxZjGM.mjs → query-TQqoOaxy.mjs} +7 -7
  190. package/dist/{redirect-BHo9--Jz.mjs → redirect-hKO66LS_.mjs} +1 -1
  191. package/dist/{redirects-xVDvj_yQ.mjs → redirects-BO0fI750.mjs} +30 -22
  192. package/dist/{redirects-Bc40BgxA.mjs → redirects-CvIzUvek.mjs} +3 -3
  193. package/dist/{registry-DumDzFDn.mjs → registry-CYO6XQ-4.mjs} +3 -3
  194. package/dist/runtime.d.mts +2 -2
  195. package/dist/runtime.mjs +1 -1
  196. package/dist/{schema-D1z41cq_.mjs → schema-mjeMcn_6.mjs} +1 -1
  197. package/dist/{search-CPcQGTHW.mjs → search-vzCYAk0F.mjs} +2 -2
  198. package/dist/{sections-B9RYyf3I.mjs → sections-DA3GMhNG.mjs} +1 -1
  199. package/dist/seed/index.mjs +11 -11
  200. package/dist/{seo-BPz1KkCq.mjs → seo-DASNc4gD.mjs} +1 -1
  201. package/dist/{seo-contributions-CQzUjJKY.mjs → seo-contributions-BG4TtU7H.mjs} +5 -5
  202. package/dist/{settings-BGCo_c2y.mjs → settings-BJW_lmrM.mjs} +1 -1
  203. package/dist/{settings-qPzY2KIF.mjs → settings-D2k1JraC.mjs} +13 -2
  204. package/dist/{site-context-DHRIU6x9.mjs → site-context-Rwm9auhW.mjs} +8 -8
  205. package/dist/{ssrf-BOSGjXxb.mjs → ssrf-z3oH8wjK.mjs} +4 -4
  206. package/dist/{taxonomies-aQXvYVPm.mjs → taxonomies-CagluJHp.mjs} +2 -2
  207. package/dist/{taxonomies-BWmxbumf.mjs → taxonomies-DPNIwTGk.mjs} +4 -4
  208. package/dist/{taxonomy-DI-0HgKe.mjs → taxonomy-DpXdVSSR.mjs} +1 -1
  209. package/dist/ui/server-runtime.d.mts +2 -2
  210. package/dist/ui/server-runtime.mjs +11 -11
  211. package/dist/{validate-B8ZvLeOE.mjs → validate-CaKEnLed.mjs} +1 -1
  212. package/dist/version-qhU-AiPQ.mjs +6 -0
  213. package/dist/{widgets-Cce2-2fM.mjs → widgets-D7UK-2hW.mjs} +1 -1
  214. package/dist/{wordpress-slugs-C4EhE6fo.mjs → wordpress-slugs-Bnf3-sf8.mjs} +1 -1
  215. package/dist/{zod-generator-BKhtHT3e.mjs → zod-generator-vOxhed6n.mjs} +1 -1
  216. package/package.json +7 -6
  217. package/src/components/DinewayHead.astro +11 -3
  218. package/dist/menus-CwI7DQJ5.mjs +0 -569
  219. package/dist/version-HdNieFOD.mjs +0 -6
  220. /package/dist/{allowed-origins-D85wzUp6.mjs → allowed-origins-46RONHY3.mjs} +0 -0
  221. /package/dist/{challenge-store-anhwVER0.mjs → challenge-store-B9odzfeh.mjs} +0 -0
  222. /package/dist/{chunks-vkrCT4Ta.mjs → chunks-BjOMG4LF.mjs} +0 -0
  223. /package/dist/{context-types-DuiyY6xF.mjs → context-types-BWspNMDr.mjs} +0 -0
  224. /package/dist/{dashboard-6gH7SlPM.mjs → dashboard-DdqRifyu.mjs} +0 -0
  225. /package/dist/{experimental-workflows-CSRjuEwS.mjs → experimental-workflows-C7o_9V7S.mjs} +0 -0
  226. /package/dist/{fts-manager-D7KVeBmg.mjs → fts-manager-DYRy6HVi.mjs} +0 -0
  227. /package/dist/{hash-V8oZo1W2.mjs → hash-DHSsP6_G.mjs} +0 -0
  228. /package/dist/{loader-CQFxFOt1.mjs → loader-dt5DoyI1.mjs} +0 -0
  229. /package/dist/{mime-DJOFDGux.mjs → mime-DltzYYAL.mjs} +0 -0
  230. /package/dist/{mode-DWw2di1I.mjs → mode-BI1kRvlT.mjs} +0 -0
  231. /package/dist/{normalize-9GU-bv_T.mjs → normalize-ba36HTxZ.mjs} +0 -0
  232. /package/dist/{patterns-CW4n2PQs.mjs → patterns-BKmjvM7K.mjs} +0 -0
  233. /package/dist/{placeholder-BJPmhjHP.mjs → placeholder-BAy3k441.mjs} +0 -0
  234. /package/dist/{provider-loader-D0F6E2qv.d.mts → provider-loader-BPhii_3H.d.mts} +0 -0
  235. /package/dist/{request-cache-DmVyQUBh.mjs → request-cache-BzuhyUXj.mjs} +0 -0
  236. /package/dist/{review-requests-vCw7_3DS.mjs → review-requests-CO-vO0O0.mjs} +0 -0
  237. /package/dist/{secrets-AFKoqUXj.mjs → secrets-BIrqds5c.mjs} +0 -0
  238. /package/dist/{seo-DJoop90w.mjs → seo-Dl4QE4El.mjs} +0 -0
  239. /package/dist/{setup-complete-4EiBS1E5.mjs → setup-complete-DzOSuHUM.mjs} +0 -0
  240. /package/dist/{transport-CyOHECBA.d.mts → transport-DA3H3xB4.d.mts} +0 -0
  241. /package/dist/{types-Dz2EKzsX.mjs → types-zfg8SDVI.mjs} +0 -0
@@ -4,7 +4,7 @@ import { z } from "zod";
4
4
  /** Valid role level values */
5
5
  declare const VALID_ROLE_LEVELS: Set<number>;
6
6
  /** Role level — coerces string/number to valid RoleLevel (10|20|30|40|50) */
7
- declare const roleLevel: z.ZodCoercedNumber<unknown> & z.ZodType<10 | 20 | 30 | 40 | 50, unknown, z.core.$ZodTypeInternals<10 | 20 | 30 | 40 | 50, unknown>>;
7
+ declare const roleLevel: z.ZodCoercedNumber<unknown> & z.ZodType<50 | 10 | 20 | 30 | 40, unknown, z.core.$ZodTypeInternals<50 | 10 | 20 | 30 | 40, unknown>>;
8
8
  /** Pagination query params — cursor-based */
9
9
  declare const cursorPaginationQuery: z.ZodObject<{
10
10
  cursor: z.ZodOptional<z.ZodString>;
@@ -519,11 +519,11 @@ declare const createCollectionBody: z.ZodObject<{
519
519
  description: z.ZodOptional<z.ZodString>;
520
520
  icon: z.ZodOptional<z.ZodString>;
521
521
  supports: z.ZodOptional<z.ZodArray<z.ZodEnum<{
522
+ search: "search";
522
523
  drafts: "drafts";
523
524
  revisions: "revisions";
524
525
  preview: "preview";
525
526
  scheduling: "scheduling";
526
- search: "search";
527
527
  }>>>;
528
528
  source: z.ZodOptional<z.ZodString>;
529
529
  urlPattern: z.ZodOptional<z.ZodString>;
@@ -535,11 +535,11 @@ declare const updateCollectionBody: z.ZodObject<{
535
535
  description: z.ZodOptional<z.ZodString>;
536
536
  icon: z.ZodOptional<z.ZodString>;
537
537
  supports: z.ZodOptional<z.ZodArray<z.ZodEnum<{
538
+ search: "search";
538
539
  drafts: "drafts";
539
540
  revisions: "revisions";
540
541
  preview: "preview";
541
542
  scheduling: "scheduling";
542
- search: "search";
543
543
  }>>>;
544
544
  urlPattern: z.ZodOptional<z.ZodNullable<z.ZodString>>;
545
545
  hasSeo: z.ZodOptional<z.ZodBoolean>;
@@ -892,8 +892,8 @@ declare const createCommentBody: z.ZodObject<{
892
892
  }, z.core.$strip>;
893
893
  declare const commentStatusBody: z.ZodObject<{
894
894
  status: z.ZodEnum<{
895
- pending: "pending";
896
895
  approved: "approved";
896
+ pending: "pending";
897
897
  spam: "spam";
898
898
  trash: "trash";
899
899
  }>;
@@ -909,8 +909,8 @@ declare const commentBulkBody: z.ZodObject<{
909
909
  }, z.core.$strip>;
910
910
  declare const commentListQuery: z.ZodObject<{
911
911
  status: z.ZodOptional<z.ZodEnum<{
912
- pending: "pending";
913
912
  approved: "approved";
913
+ pending: "pending";
914
914
  spam: "spam";
915
915
  trash: "trash";
916
916
  }>>;
@@ -944,8 +944,8 @@ declare const commentSchema: z.ZodObject<{
944
944
  authorEmail: z.ZodString;
945
945
  body: z.ZodString;
946
946
  status: z.ZodEnum<{
947
- pending: "pending";
948
947
  approved: "approved";
948
+ pending: "pending";
949
949
  spam: "spam";
950
950
  trash: "trash";
951
951
  }>;
@@ -976,8 +976,8 @@ declare const adminCommentListResponseSchema: z.ZodObject<{
976
976
  authorEmail: z.ZodString;
977
977
  body: z.ZodString;
978
978
  status: z.ZodEnum<{
979
- pending: "pending";
980
979
  approved: "approved";
980
+ pending: "pending";
981
981
  spam: "spam";
982
982
  trash: "trash";
983
983
  }>;
@@ -1022,15 +1022,15 @@ declare const contextEntryListQuery: z.ZodObject<{
1022
1022
  cursor: z.ZodOptional<z.ZodString>;
1023
1023
  }, z.core.$strip>;
1024
1024
  declare const contextEntryStaleQuery: z.ZodObject<{
1025
- cursor: z.ZodOptional<z.ZodString>;
1026
1025
  limit: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
1026
+ cursor: z.ZodOptional<z.ZodString>;
1027
+ scope: z.ZodOptional<z.ZodString>;
1028
+ contextTypes: z.ZodPipe<z.ZodOptional<z.ZodString>, z.ZodTransform<string[] | undefined, string | undefined>>;
1027
1029
  includeInherited: z.ZodPipe<z.ZodOptional<z.ZodEnum<{
1028
1030
  true: "true";
1029
1031
  false: "false";
1030
1032
  }>>, z.ZodTransform<boolean | undefined, "true" | "false" | undefined>>;
1031
- contextTypes: z.ZodPipe<z.ZodOptional<z.ZodString>, z.ZodTransform<string[] | undefined, string | undefined>>;
1032
1033
  tags: z.ZodPipe<z.ZodOptional<z.ZodString>, z.ZodTransform<string[] | undefined, string | undefined>>;
1033
- scope: z.ZodOptional<z.ZodString>;
1034
1034
  createdByActorType: z.ZodOptional<z.ZodEnum<{
1035
1035
  user: "user";
1036
1036
  api_token: "api_token";
@@ -1051,6 +1051,7 @@ declare const contextEntryDiffQuery: z.ZodObject<{
1051
1051
  declare const contextEntryCreateBody: z.ZodObject<{
1052
1052
  scope: z.ZodString;
1053
1053
  contextType: z.ZodEnum<{
1054
+ decision: "decision";
1054
1055
  brand_voice: "brand_voice";
1055
1056
  seo_strategy: "seo_strategy";
1056
1057
  audience: "audience";
@@ -1060,7 +1061,6 @@ declare const contextEntryCreateBody: z.ZodObject<{
1060
1061
  migration_note: "migration_note";
1061
1062
  plugin_note: "plugin_note";
1062
1063
  agent_reasoning: "agent_reasoning";
1063
- decision: "decision";
1064
1064
  risk: "risk";
1065
1065
  content_gap: "content_gap";
1066
1066
  style_exception: "style_exception";
@@ -1075,6 +1075,7 @@ declare const contextEntryCreateBody: z.ZodObject<{
1075
1075
  declare const contextEntrySupersedeBody: z.ZodObject<{
1076
1076
  scope: z.ZodOptional<z.ZodString>;
1077
1077
  contextType: z.ZodOptional<z.ZodEnum<{
1078
+ decision: "decision";
1078
1079
  brand_voice: "brand_voice";
1079
1080
  seo_strategy: "seo_strategy";
1080
1081
  audience: "audience";
@@ -1084,7 +1085,6 @@ declare const contextEntrySupersedeBody: z.ZodObject<{
1084
1085
  migration_note: "migration_note";
1085
1086
  plugin_note: "plugin_note";
1086
1087
  agent_reasoning: "agent_reasoning";
1087
- decision: "decision";
1088
1088
  risk: "risk";
1089
1089
  content_gap: "content_gap";
1090
1090
  style_exception: "style_exception";
@@ -1117,8 +1117,8 @@ declare const siteBriefingQuery: z.ZodObject<{
1117
1117
  //#region src/api/schemas/hitl-requests.d.ts
1118
1118
  declare const hitlRequestListQuery: z.ZodObject<{
1119
1119
  status: z.ZodOptional<z.ZodEnum<{
1120
- pending: "pending";
1121
1120
  approved: "approved";
1121
+ pending: "pending";
1122
1122
  rejected: "rejected";
1123
1123
  }>>;
1124
1124
  priority: z.ZodOptional<z.ZodEnum<{
@@ -1145,8 +1145,8 @@ declare const hitlRequestResolveBody: z.ZodObject<{
1145
1145
  //#region src/api/schemas/review-requests.d.ts
1146
1146
  declare const reviewRequestListQuery: z.ZodObject<{
1147
1147
  status: z.ZodOptional<z.ZodEnum<{
1148
- pending: "pending";
1149
1148
  approved: "approved";
1149
+ pending: "pending";
1150
1150
  rejected: "rejected";
1151
1151
  }>>;
1152
1152
  collection: z.ZodOptional<z.ZodString>;
@@ -1194,7 +1194,7 @@ declare const signupCompleteBody: z.ZodObject<{
1194
1194
  }, z.core.$strip>;
1195
1195
  declare const inviteCreateBody: z.ZodObject<{
1196
1196
  email: z.ZodString;
1197
- role: z.ZodOptional<z.ZodCoercedNumber<unknown> & z.ZodType<10 | 20 | 30 | 40 | 50, unknown, z.core.$ZodTypeInternals<10 | 20 | 30 | 40 | 50, unknown>>>;
1197
+ role: z.ZodOptional<z.ZodCoercedNumber<unknown> & z.ZodType<50 | 10 | 20 | 30 | 40, unknown, z.core.$ZodTypeInternals<50 | 10 | 20 | 30 | 40, unknown>>>;
1198
1198
  }, z.core.$strip>;
1199
1199
  declare const inviteCompleteBody: z.ZodObject<{
1200
1200
  token: z.ZodString;
@@ -1281,17 +1281,34 @@ declare const authMeActionBody: z.ZodObject<{
1281
1281
  }, z.core.$strip>;
1282
1282
  //#endregion
1283
1283
  //#region src/api/schemas/menus.d.ts
1284
+ /**
1285
+ * Allowed menu item types. `custom` uses `customUrl`; the others resolve a URL
1286
+ * from `referenceCollection` + `referenceId` (a translation_group id).
1287
+ */
1288
+ declare const menuItemTypeEnum: z.ZodEnum<{
1289
+ custom: "custom";
1290
+ collection: "collection";
1291
+ page: "page";
1292
+ post: "post";
1293
+ taxonomy: "taxonomy";
1294
+ }>;
1284
1295
  declare const createMenuBody: z.ZodObject<{
1285
1296
  name: z.ZodString;
1286
1297
  label: z.ZodString;
1287
1298
  locale: z.ZodOptional<z.ZodString>;
1288
1299
  translationOf: z.ZodOptional<z.ZodString>;
1289
- }, z.core.$strip>;
1300
+ }, z.core.$strict>;
1290
1301
  declare const updateMenuBody: z.ZodObject<{
1291
1302
  label: z.ZodOptional<z.ZodString>;
1292
- }, z.core.$strip>;
1303
+ }, z.core.$strict>;
1293
1304
  declare const createMenuItemBody: z.ZodObject<{
1294
- type: z.ZodString;
1305
+ type: z.ZodEnum<{
1306
+ custom: "custom";
1307
+ collection: "collection";
1308
+ page: "page";
1309
+ post: "post";
1310
+ taxonomy: "taxonomy";
1311
+ }>;
1295
1312
  label: z.ZodString;
1296
1313
  referenceCollection: z.ZodOptional<z.ZodString>;
1297
1314
  referenceId: z.ZodOptional<z.ZodString>;
@@ -1301,7 +1318,7 @@ declare const createMenuItemBody: z.ZodObject<{
1301
1318
  cssClasses: z.ZodOptional<z.ZodString>;
1302
1319
  parentId: z.ZodOptional<z.ZodString>;
1303
1320
  sortOrder: z.ZodOptional<z.ZodNumber>;
1304
- }, z.core.$strip>;
1321
+ }, z.core.$strict>;
1305
1322
  declare const updateMenuItemBody: z.ZodObject<{
1306
1323
  label: z.ZodOptional<z.ZodString>;
1307
1324
  customUrl: z.ZodOptional<z.ZodString>;
@@ -1310,13 +1327,7 @@ declare const updateMenuItemBody: z.ZodObject<{
1310
1327
  cssClasses: z.ZodOptional<z.ZodString>;
1311
1328
  parentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1312
1329
  sortOrder: z.ZodOptional<z.ZodNumber>;
1313
- }, z.core.$strip>;
1314
- declare const menuItemDeleteQuery: z.ZodObject<{
1315
- id: z.ZodString;
1316
- }, z.core.$strip>;
1317
- declare const menuItemUpdateQuery: z.ZodObject<{
1318
- id: z.ZodString;
1319
- }, z.core.$strip>;
1330
+ }, z.core.$strict>;
1320
1331
  declare const reorderMenuItemsBody: z.ZodObject<{
1321
1332
  items: z.ZodArray<z.ZodObject<{
1322
1333
  id: z.ZodString;
@@ -1328,27 +1339,27 @@ declare const menuSchema: z.ZodObject<{
1328
1339
  id: z.ZodString;
1329
1340
  name: z.ZodString;
1330
1341
  label: z.ZodString;
1331
- created_at: z.ZodString;
1332
- updated_at: z.ZodString;
1342
+ createdAt: z.ZodString;
1343
+ updatedAt: z.ZodString;
1333
1344
  locale: z.ZodString;
1334
- translation_group: z.ZodNullable<z.ZodString>;
1345
+ translationGroup: z.ZodNullable<z.ZodString>;
1335
1346
  }, z.core.$strip>;
1336
1347
  declare const menuItemSchema: z.ZodObject<{
1337
1348
  id: z.ZodString;
1338
- menu_id: z.ZodString;
1339
- parent_id: z.ZodNullable<z.ZodString>;
1340
- sort_order: z.ZodNumber;
1349
+ menuId: z.ZodString;
1350
+ parentId: z.ZodNullable<z.ZodString>;
1351
+ sortOrder: z.ZodNumber;
1341
1352
  type: z.ZodString;
1342
- reference_collection: z.ZodNullable<z.ZodString>;
1343
- reference_id: z.ZodNullable<z.ZodString>;
1344
- custom_url: z.ZodNullable<z.ZodString>;
1353
+ referenceCollection: z.ZodNullable<z.ZodString>;
1354
+ referenceId: z.ZodNullable<z.ZodString>;
1355
+ customUrl: z.ZodNullable<z.ZodString>;
1345
1356
  label: z.ZodString;
1346
- title_attr: z.ZodNullable<z.ZodString>;
1357
+ titleAttr: z.ZodNullable<z.ZodString>;
1347
1358
  target: z.ZodNullable<z.ZodString>;
1348
- css_classes: z.ZodNullable<z.ZodString>;
1349
- created_at: z.ZodString;
1359
+ cssClasses: z.ZodNullable<z.ZodString>;
1360
+ createdAt: z.ZodString;
1350
1361
  locale: z.ZodString;
1351
- translation_group: z.ZodNullable<z.ZodString>;
1362
+ translationGroup: z.ZodNullable<z.ZodString>;
1352
1363
  }, z.core.$strip>;
1353
1364
  declare const menuTranslationsSchema: z.ZodObject<{
1354
1365
  translationGroup: z.ZodNullable<z.ZodString>;
@@ -1364,36 +1375,36 @@ declare const menuListItemSchema: z.ZodObject<{
1364
1375
  id: z.ZodString;
1365
1376
  name: z.ZodString;
1366
1377
  label: z.ZodString;
1367
- created_at: z.ZodString;
1368
- updated_at: z.ZodString;
1378
+ createdAt: z.ZodString;
1379
+ updatedAt: z.ZodString;
1369
1380
  locale: z.ZodString;
1370
- translation_group: z.ZodNullable<z.ZodString>;
1381
+ translationGroup: z.ZodNullable<z.ZodString>;
1371
1382
  itemCount: z.ZodNumber;
1372
1383
  }, z.core.$strip>;
1373
1384
  declare const menuWithItemsSchema: z.ZodObject<{
1374
1385
  id: z.ZodString;
1375
1386
  name: z.ZodString;
1376
1387
  label: z.ZodString;
1377
- created_at: z.ZodString;
1378
- updated_at: z.ZodString;
1388
+ createdAt: z.ZodString;
1389
+ updatedAt: z.ZodString;
1379
1390
  locale: z.ZodString;
1380
- translation_group: z.ZodNullable<z.ZodString>;
1391
+ translationGroup: z.ZodNullable<z.ZodString>;
1381
1392
  items: z.ZodArray<z.ZodObject<{
1382
1393
  id: z.ZodString;
1383
- menu_id: z.ZodString;
1384
- parent_id: z.ZodNullable<z.ZodString>;
1385
- sort_order: z.ZodNumber;
1394
+ menuId: z.ZodString;
1395
+ parentId: z.ZodNullable<z.ZodString>;
1396
+ sortOrder: z.ZodNumber;
1386
1397
  type: z.ZodString;
1387
- reference_collection: z.ZodNullable<z.ZodString>;
1388
- reference_id: z.ZodNullable<z.ZodString>;
1389
- custom_url: z.ZodNullable<z.ZodString>;
1398
+ referenceCollection: z.ZodNullable<z.ZodString>;
1399
+ referenceId: z.ZodNullable<z.ZodString>;
1400
+ customUrl: z.ZodNullable<z.ZodString>;
1390
1401
  label: z.ZodString;
1391
- title_attr: z.ZodNullable<z.ZodString>;
1402
+ titleAttr: z.ZodNullable<z.ZodString>;
1392
1403
  target: z.ZodNullable<z.ZodString>;
1393
- css_classes: z.ZodNullable<z.ZodString>;
1394
- created_at: z.ZodString;
1404
+ cssClasses: z.ZodNullable<z.ZodString>;
1405
+ createdAt: z.ZodString;
1395
1406
  locale: z.ZodString;
1396
- translation_group: z.ZodNullable<z.ZodString>;
1407
+ translationGroup: z.ZodNullable<z.ZodString>;
1397
1408
  }, z.core.$strip>>;
1398
1409
  }, z.core.$strip>;
1399
1410
  //#endregion
@@ -1735,15 +1746,15 @@ declare const usersListQuery: z.ZodObject<{
1735
1746
  declare const userUpdateBody: z.ZodObject<{
1736
1747
  name: z.ZodOptional<z.ZodString>;
1737
1748
  email: z.ZodOptional<z.ZodString>;
1738
- role: z.ZodOptional<z.ZodCoercedNumber<unknown> & z.ZodType<10 | 20 | 30 | 40 | 50, unknown, z.core.$ZodTypeInternals<10 | 20 | 30 | 40 | 50, unknown>>>;
1749
+ role: z.ZodOptional<z.ZodCoercedNumber<unknown> & z.ZodType<50 | 10 | 20 | 30 | 40, unknown, z.core.$ZodTypeInternals<50 | 10 | 20 | 30 | 40, unknown>>>;
1739
1750
  }, z.core.$strip>;
1740
1751
  declare const allowedDomainCreateBody: z.ZodObject<{
1741
1752
  domain: z.ZodString;
1742
- defaultRole: z.ZodCoercedNumber<unknown> & z.ZodType<10 | 20 | 30 | 40 | 50, unknown, z.core.$ZodTypeInternals<10 | 20 | 30 | 40 | 50, unknown>>;
1753
+ defaultRole: z.ZodCoercedNumber<unknown> & z.ZodType<50 | 10 | 20 | 30 | 40, unknown, z.core.$ZodTypeInternals<50 | 10 | 20 | 30 | 40, unknown>>;
1743
1754
  }, z.core.$strip>;
1744
1755
  declare const allowedDomainUpdateBody: z.ZodObject<{
1745
1756
  enabled: z.ZodOptional<z.ZodBoolean>;
1746
- defaultRole: z.ZodOptional<z.ZodCoercedNumber<unknown> & z.ZodType<10 | 20 | 30 | 40 | 50, unknown, z.core.$ZodTypeInternals<10 | 20 | 30 | 40 | 50, unknown>>>;
1757
+ defaultRole: z.ZodOptional<z.ZodCoercedNumber<unknown> & z.ZodType<50 | 10 | 20 | 30 | 40, unknown, z.core.$ZodTypeInternals<50 | 10 | 20 | 30 | 40, unknown>>>;
1747
1758
  }, z.core.$strip>;
1748
1759
  declare const userSchema: z.ZodObject<{
1749
1760
  id: z.ZodString;
@@ -2082,4 +2093,4 @@ declare const bylineListResponseSchema: z.ZodObject<{
2082
2093
  nextCursor: z.ZodOptional<z.ZodString>;
2083
2094
  }, z.core.$strip>;
2084
2095
  //#endregion
2085
- export { updateSectionBody as $, countResponseSchema as $n, commentStatusBody as $t, userDetailSchema as A, mediaUpdateBody as An, passkeyRegisterOptionsBody as At, wpRewriteUrlsBody as B, contentResponseSchema as Bn, siteBriefingQuery as Bt, updateWidgetBody as C, mediaConfirmResponseSchema as Cn, updateMenuItemBody as Ct, widgetSchema as D, mediaListResponseSchema as Dn, inviteRegisterOptionsBody as Dt, widgetAreaWithWidgetsSchema as E, mediaListQuery as En, inviteCreateBody as Et, importProbeBody as F, contentItemSchema as Fn, signupRequestBody as Ft, searchResultSchema as G, contentTranslationSchema as Gn, contextEntryStaleQuery as Gt, searchQuery as H, contentSeoInput as Hn, contextEntryDiffQuery as Ht, wpMediaImportBody as I, contentListQuery as In, reviewRequestListQuery as It, siteSettingsSchema as J, contentUpdateBody as Jn, commentBulkBody as Jt, searchSuggestQuery as K, contentTranslationsResponseSchema as Kn, contextEntrySupersedeBody as Kt, wpPluginAnalyzeBody as L, contentListResponseSchema as Ln, reviewRequestResolveBody as Lt, userSchema as M, mediaUploadUrlResponseSchema as Mn, passkeyRenameBody as Mt, userUpdateBody as N, contentCompareResponseSchema as Nn, passkeyVerifyBody as Nt, allowedDomainCreateBody as O, mediaProviderListQuery as On, magicLinkSendBody as Ot, usersListQuery as P, contentCreateBody as Pn, signupCompleteBody as Pt, sectionsListQuery as Q, apiErrorSchema as Qn, commentSchema as Qt, wpPluginExecuteBody as R, contentPreviewUrlBody as Rn, hitlRequestListQuery as Rt, reorderWidgetsBody as S, mediaConfirmBody as Sn, updateMenuBody as St, widgetAreaWithWidgetsAndCountSchema as T, mediaItemSchema as Tn, inviteCompleteBody as Tt, searchRebuildBody as U, contentSeoSchema as Un, contextEntryListQuery as Ut, searchEnableBody as V, contentScheduleBody as Vn, contextEntryCreateBody as Vt, searchResponseSchema as W, contentTermsBody as Wn, contextEntryReviewBody as Wt, sectionListResponseSchema as X, trashedContentListResponseSchema as Xn, commentCountsResponseSchema as Xt, createSectionBody as Y, trashedContentItemSchema as Yn, commentBulkResponseSchema as Yt, sectionSchema as Z, VALID_ROLE_LEVELS as Zn, commentListQuery as Zt, redirectSchema as _, schemaExportQuery as _n, menuListItemSchema as _t, bylineUpdateBody as a, collectionResponseSchema as an, offsetPaginationQuery as ar, termGetResponseSchema as at, createWidgetAreaBody as b, DEFAULT_MAX_UPLOAD_SIZE as bn, menuWithItemsSchema as bt, createRedirectBody as c, createCollectionBody as cn, successEnvelope as cr, termSchema as ct, notFoundListResponseSchema as d, fieldReorderBody as dn, updateTermBody as dt, createCommentBody as en, cursorPaginationQuery as er, createTaxonomyDefBody as et, notFoundPruneBody as f, fieldResponseSchema as fn, createMenuBody as ft, redirectListResponseSchema as g, orphanedTableSchema as gn, menuItemUpdateQuery as gt, notFoundSummarySchema as h, orphanedTableListResponseSchema as hn, menuItemSchema as ht, bylineSummarySchema as i, collectionListResponseSchema as in, localeFilterQuery as ir, taxonomyListResponseSchema as it, userListResponseSchema as j, mediaUploadUrlBody as jn, passkeyRegisterVerifyBody as jt, allowedDomainUpdateBody as k, mediaResponseSchema as kn, passkeyOptionsBody as kt, notFoundEntrySchema as l, createFieldBody as ln, termTranslationsSchema as lt, notFoundSummaryResponseSchema as m, orphanRegisterBody as mn, menuItemDeleteQuery as mt, bylineCreditSchema as n, publicCommentSchema as nn, httpUrl as nr, taxonomyDefSchema as nt, bylinesListQuery as o, collectionSchema as on, roleLevel as or, termListResponseSchema as ot, notFoundSummaryQuery as p, fieldSchema as pn, createMenuItemBody as pt, settingsUpdateBody as q, contentTrashQuery as qn, adminCommentListResponseSchema as qt, bylineListResponseSchema as r, collectionGetQuery as rn, localeCode as rr, taxonomyDefTranslationsSchema as rt, contentBylineInputSchema as s, collectionWithFieldsResponseSchema as sn, slugPattern as sr, termResponseSchema as st, bylineCreateBody as t, publicCommentListResponseSchema as tn, deleteResponseSchema as tr, createTermBody as tt, notFoundListQuery as u, fieldListResponseSchema as un, termWithCountSchema as ut, redirectsListQuery as v, updateCollectionBody as vn, menuSchema as vt, widgetAreaSchema as w, mediaExistingResponseSchema as wn, authMeActionBody as wt, createWidgetBody as x, formatFileSize as xn, reorderMenuItemsBody as xt, updateRedirectBody as y, updateFieldBody as yn, menuTranslationsSchema as yt, wpPrepareBody as z, contentPublishBody as zn, hitlRequestResolveBody as zt };
2096
+ export { updateSectionBody as $, cursorPaginationQuery as $n, createCommentBody as $t, userDetailSchema as A, mediaUploadUrlBody as An, passkeyRegisterVerifyBody as At, wpRewriteUrlsBody as B, contentScheduleBody as Bn, contextEntryCreateBody as Bt, updateWidgetBody as C, mediaExistingResponseSchema as Cn, authMeActionBody as Ct, widgetSchema as D, mediaProviderListQuery as Dn, magicLinkSendBody as Dt, widgetAreaWithWidgetsSchema as E, mediaListResponseSchema as En, inviteRegisterOptionsBody as Et, importProbeBody as F, contentListQuery as Fn, reviewRequestListQuery as Ft, searchResultSchema as G, contentTranslationsResponseSchema as Gn, contextEntrySupersedeBody as Gt, searchQuery as H, contentSeoSchema as Hn, contextEntryListQuery as Ht, wpMediaImportBody as I, contentListResponseSchema as In, reviewRequestResolveBody as It, siteSettingsSchema as J, trashedContentItemSchema as Jn, commentBulkResponseSchema as Jt, searchSuggestQuery as K, contentTrashQuery as Kn, adminCommentListResponseSchema as Kt, wpPluginAnalyzeBody as L, contentPreviewUrlBody as Ln, hitlRequestListQuery as Lt, userSchema as M, contentCompareResponseSchema as Mn, passkeyVerifyBody as Mt, userUpdateBody as N, contentCreateBody as Nn, signupCompleteBody as Nt, allowedDomainCreateBody as O, mediaResponseSchema as On, passkeyOptionsBody as Ot, usersListQuery as P, contentItemSchema as Pn, signupRequestBody as Pt, sectionsListQuery as Q, countResponseSchema as Qn, commentStatusBody as Qt, wpPluginExecuteBody as R, contentPublishBody as Rn, hitlRequestResolveBody as Rt, reorderWidgetsBody as S, mediaConfirmResponseSchema as Sn, updateMenuItemBody as St, widgetAreaWithWidgetsAndCountSchema as T, mediaListQuery as Tn, inviteCreateBody as Tt, searchRebuildBody as U, contentTermsBody as Un, contextEntryReviewBody as Ut, searchEnableBody as V, contentSeoInput as Vn, contextEntryDiffQuery as Vt, searchResponseSchema as W, contentTranslationSchema as Wn, contextEntryStaleQuery as Wt, sectionListResponseSchema as X, VALID_ROLE_LEVELS as Xn, commentListQuery as Xt, createSectionBody as Y, trashedContentListResponseSchema as Yn, commentCountsResponseSchema as Yt, sectionSchema as Z, apiErrorSchema as Zn, commentSchema as Zt, redirectSchema as _, updateCollectionBody as _n, menuSchema as _t, bylineUpdateBody as a, collectionSchema as an, roleLevel as ar, termGetResponseSchema as at, createWidgetAreaBody as b, formatFileSize as bn, reorderMenuItemsBody as bt, createRedirectBody as c, createFieldBody as cn, termSchema as ct, notFoundListResponseSchema as d, fieldResponseSchema as dn, updateTermBody as dt, publicCommentListResponseSchema as en, deleteResponseSchema as er, createTaxonomyDefBody as et, notFoundPruneBody as f, fieldSchema as fn, createMenuBody as ft, redirectListResponseSchema as g, schemaExportQuery as gn, menuListItemSchema as gt, notFoundSummarySchema as h, orphanedTableSchema as hn, menuItemTypeEnum as ht, bylineSummarySchema as i, collectionResponseSchema as in, offsetPaginationQuery as ir, taxonomyListResponseSchema as it, userListResponseSchema as j, mediaUploadUrlResponseSchema as jn, passkeyRenameBody as jt, allowedDomainUpdateBody as k, mediaUpdateBody as kn, passkeyRegisterOptionsBody as kt, notFoundEntrySchema as l, fieldListResponseSchema as ln, termTranslationsSchema as lt, notFoundSummaryResponseSchema as m, orphanedTableListResponseSchema as mn, menuItemSchema as mt, bylineCreditSchema as n, collectionGetQuery as nn, localeCode as nr, taxonomyDefSchema as nt, bylinesListQuery as o, collectionWithFieldsResponseSchema as on, slugPattern as or, termListResponseSchema as ot, notFoundSummaryQuery as p, orphanRegisterBody as pn, createMenuItemBody as pt, settingsUpdateBody as q, contentUpdateBody as qn, commentBulkBody as qt, bylineListResponseSchema as r, collectionListResponseSchema as rn, localeFilterQuery as rr, taxonomyDefTranslationsSchema as rt, contentBylineInputSchema as s, createCollectionBody as sn, successEnvelope as sr, termResponseSchema as st, bylineCreateBody as t, publicCommentSchema as tn, httpUrl as tr, createTermBody as tt, notFoundListQuery as u, fieldReorderBody as un, termWithCountSchema as ut, redirectsListQuery as v, updateFieldBody as vn, menuTranslationsSchema as vt, widgetAreaSchema as w, mediaItemSchema as wn, inviteCompleteBody as wt, createWidgetBody as x, mediaConfirmBody as xn, updateMenuBody as xt, updateRedirectBody as y, DEFAULT_MAX_UPLOAD_SIZE as yn, menuWithItemsSchema as yt, wpPrepareBody as z, contentResponseSchema as zn, siteBriefingQuery as zt };
@@ -1,5 +1,5 @@
1
1
  import { t as __exportAll } from "./chunk-ClPoSABd.mjs";
2
- import { i as matchPattern, n as interpolateDestination, t as compilePattern } from "./patterns-CW4n2PQs.mjs";
2
+ import { i as matchPattern, n as interpolateDestination, t as compilePattern } from "./patterns-BKmjvM7K.mjs";
3
3
 
4
4
  //#region src/redirects/cache.ts
5
5
  var cache_exports = /* @__PURE__ */ __exportAll({
@@ -9,22 +9,22 @@ import { t as ContentRepository } from "../content-DvpMad_N.mjs";
9
9
  import { i as encodeBase64url } from "../base64-C1Q9yr0B.mjs";
10
10
  import "../types-D1DjBFA9.mjs";
11
11
  import { t as MediaRepository } from "../media-Cg4zc9fq.mjs";
12
- import { t as TaxonomyRepository } from "../taxonomy-DI-0HgKe.mjs";
12
+ import { t as TaxonomyRepository } from "../taxonomy-DpXdVSSR.mjs";
13
13
  import { t as OptionsRepository } from "../options-BF11H_FD.mjs";
14
- import "../redirect-BHo9--Jz.mjs";
15
- import "../byline-BxAf79s1.mjs";
16
- import "../request-cache-DmVyQUBh.mjs";
17
- import "../fts-manager-D7KVeBmg.mjs";
18
- import { n as SchemaRegistry } from "../registry-DumDzFDn.mjs";
19
- import "../loader-CQFxFOt1.mjs";
20
- import "../settings-qPzY2KIF.mjs";
14
+ import "../redirect-hKO66LS_.mjs";
15
+ import "../byline-9WeA8b0a.mjs";
16
+ import "../request-cache-BzuhyUXj.mjs";
17
+ import "../fts-manager-DYRy6HVi.mjs";
18
+ import { n as SchemaRegistry } from "../registry-CYO6XQ-4.mjs";
19
+ import "../loader-dt5DoyI1.mjs";
20
+ import "../settings-D2k1JraC.mjs";
21
21
  import { i as pluginManifestSchema } from "../manifest-schema-CU0XL_ZK.mjs";
22
- import "../ssrf-BOSGjXxb.mjs";
23
- import { t as validateSeed } from "../validate-B8ZvLeOE.mjs";
24
- import { t as applySeed } from "../apply-CGVHi2r7.mjs";
25
- import { n as fingerprintKey, r as generateEncryptionKey, t as DinewaySecretsError } from "../secrets-AFKoqUXj.mjs";
26
- import { o as convertDataForRead } from "../transport-B3jxvfio.mjs";
22
+ import "../ssrf-z3oH8wjK.mjs";
23
+ import { t as validateSeed } from "../validate-CaKEnLed.mjs";
24
+ import { t as applySeed } from "../apply-Wyg77UOb.mjs";
25
+ import { n as fingerprintKey, r as generateEncryptionKey, t as DinewaySecretsError } from "../secrets-BIrqds5c.mjs";
27
26
  import { createHeaderAwareFetch, customHeadersInterceptor, isRedirectResponse, resolveCustomHeaders } from "../client/external-auth-headers.mjs";
27
+ import { o as convertDataForRead } from "../transport-B3jxvfio.mjs";
28
28
  import { DinewayClient } from "../client/index.mjs";
29
29
  import { LocalStorage } from "../storage/local.mjs";
30
30
  import { imageSize } from "image-size";
@@ -1,4 +1,4 @@
1
- import { t as Interceptor } from "../transport-CyOHECBA.mjs";
1
+ import { t as Interceptor } from "../transport-DA3H3xB4.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-CyOHECBA.mjs";
1
+ import { a as tokenInterceptor, i as devBypassInterceptor, n as createTransport, r as csrfInterceptor, t as Interceptor } from "../transport-DA3H3xB4.mjs";
2
2
 
3
3
  //#region src/client/portable-text.d.ts
4
4
  /**
@@ -1,5 +1,5 @@
1
- import { a as ContextRepository, i as parseSiteBriefingScope, n as SiteBriefingError } from "./briefing-4k6R0KAr.mjs";
2
- import { b as toPublicContextEntry, x as toPublicContextEntryPage, y as toPublicContextDiff } from "./site-context-DHRIU6x9.mjs";
1
+ import { a as ContextRepository, i as parseSiteBriefingScope, n as SiteBriefingError } from "./briefing-Dk4I4VC8.mjs";
2
+ import { b as toPublicContextEntry, x as toPublicContextEntryPage, y as toPublicContextDiff } from "./site-context-Rwm9auhW.mjs";
3
3
 
4
4
  //#region src/api/handlers/context.ts
5
5
  async function handleContextEntryList(db, input = {}) {
@@ -6,8 +6,8 @@ import { t as MediaRepository } from "./media-Cg4zc9fq.mjs";
6
6
  import { t as UserRepository } from "./user-2aI21yV1.mjs";
7
7
  import { t as OptionsRepository } from "./options-BF11H_FD.mjs";
8
8
  import { t as withTransaction } from "./transaction-qfqpPVpu.mjs";
9
- import { t as SeoRepository } from "./seo-BPz1KkCq.mjs";
10
- import { a as validateExternalUrl, i as stripCredentialHeaders, t as SsrfError } from "./ssrf-BOSGjXxb.mjs";
9
+ import { t as SeoRepository } from "./seo-DASNc4gD.mjs";
10
+ import { a as validateExternalUrl, i as stripCredentialHeaders, t as SsrfError } from "./ssrf-z3oH8wjK.mjs";
11
11
  import { t as CronAccessImpl } from "./cron-fV9baRVc.mjs";
12
12
  import { sql } from "kysely";
13
13
  import { ulid } from "ulidx";
@@ -1,7 +1,7 @@
1
1
  import { t as withTransaction } from "./transaction-qfqpPVpu.mjs";
2
- import { a as filterExperimentalSiteContextWorkflowScopes, i as experimentalSiteContextWorkflowsEnabled, o as getExperimentalSiteContextWorkflowScopesDisabledMessage, r as disabledExperimentalSiteContextWorkflowScopes } from "./experimental-workflows-CSRjuEwS.mjs";
2
+ import { a as filterExperimentalSiteContextWorkflowScopes, i as experimentalSiteContextWorkflowsEnabled, o as getExperimentalSiteContextWorkflowScopesDisabledMessage, r as disabledExperimentalSiteContextWorkflowScopes } from "./experimental-workflows-C7o_9V7S.mjs";
3
3
  import { a as hashApiToken, n as TOKEN_PREFIXES, r as generatePrefixedToken, t as ALL_VALID_SCOPES } from "./api-tokens-B7fvbHM2.mjs";
4
- import { o as lookupOAuthClient } from "./oauth-clients-CgKFA-VH.mjs";
4
+ import { o as lookupOAuthClient } from "./oauth-clients-CqAi-6Y4.mjs";
5
5
  import { t as lookupUserRoleAndStatus } from "./oauth-user-lookup-nyXQ2_6Q.mjs";
6
6
  import { clampScopes } from "@dineway-ai/auth";
7
7
  import { generateCodeVerifier } from "arctic";
@@ -1,5 +1,5 @@
1
- import { t as ExperimentalSiteContextWorkflowDisabledError } from "./experimental-workflows-CSRjuEwS.mjs";
2
- import { n as HitlRequestService } from "./site-context-DHRIU6x9.mjs";
1
+ import { t as ExperimentalSiteContextWorkflowDisabledError } from "./experimental-workflows-C7o_9V7S.mjs";
2
+ import { n as HitlRequestService } from "./site-context-Rwm9auhW.mjs";
3
3
 
4
4
  //#region src/api/handlers/hitl-requests.ts
5
5
  const HITL_NOT_FOUND_RE = /not found/i;
@@ -1,6 +1,6 @@
1
1
  import { t as apiError } from "./error-Dyf9fGZE.mjs";
2
- import { t as ExperimentalSiteContextWorkflowDisabledError } from "./experimental-workflows-CSRjuEwS.mjs";
3
- import { t as WorkflowHitlCoordinator } from "./site-context-DHRIU6x9.mjs";
2
+ import { t as ExperimentalSiteContextWorkflowDisabledError } from "./experimental-workflows-C7o_9V7S.mjs";
3
+ import { t as WorkflowHitlCoordinator } from "./site-context-Rwm9auhW.mjs";
4
4
  import { T as resolveActorIdentity, p as logSiteActivitySafely } from "./activity-events-DbqJBNaY.mjs";
5
5
  import { Role } from "@dineway-ai/auth";
6
6
 
@@ -1,5 +1,5 @@
1
1
  import { n as slugify } from "./slugify-BzGxlOFx.mjs";
2
- import { a as validateExternalUrl, n as resolveAndValidateExternalUrl, r as ssrfSafeFetch } from "./ssrf-BOSGjXxb.mjs";
2
+ import { a as validateExternalUrl, n as resolveAndValidateExternalUrl, r as ssrfSafeFetch } from "./ssrf-z3oH8wjK.mjs";
3
3
  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-BJF19gfk.mjs";
4
4
  import { ulid } from "ulidx";
5
5
  import sax from "sax";
@@ -1,5 +1,5 @@
1
- import { n as isSiteContextType, t as SITE_CONTEXT_TYPES } from "./context-types-DuiyY6xF.mjs";
2
- import { Dn as httpUrl, jn as roleLevel } from "./redirects-xVDvj_yQ.mjs";
1
+ import { n as isSiteContextType, t as SITE_CONTEXT_TYPES } from "./context-types-BWspNMDr.mjs";
2
+ import { An as roleLevel, En as httpUrl } from "./redirects-BO0fI750.mjs";
3
3
  import { z } from "zod";
4
4
 
5
5
  //#region src/api/schemas/context.ts
package/dist/index.d.mts CHANGED
@@ -11,7 +11,7 @@ import { $ as TranslationSummary, A as MenuItem, B as getPluginSettings, C as Ta
11
11
  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-DpMWSamU.mjs";
12
12
  import { n as generatePlaceholder, r as normalizeMediaValue, t as PlaceholderData } from "./placeholder-DKMMLt42.mjs";
13
13
  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-BDm7Ipoq.mjs";
14
- import "./bylines-DE9bfDur.mjs";
14
+ import "./bylines-BK9FyU4A.mjs";
15
15
  import { DinewayRequestContext, getRequestContext, runWithContext } from "./request-context.mjs";
16
16
  import { adaptSandboxEntry } from "./plugins/adapt-sandbox-entry.mjs";
17
17
  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-BeYn-Yf0.mjs";
package/dist/index.mjs CHANGED
@@ -3,71 +3,71 @@ import { t as DinewayDatabaseError } from "./connection-BCNICDWN.mjs";
3
3
  import "./dialect-helpers-TkdbkFad.mjs";
4
4
  import { t as getMigrationStatus } from "./runner-lqEiJbO-.mjs";
5
5
  import { n as getI18nConfig, r as isI18nEnabled, t as getFallbackChain } from "./config-XW5tMrH8.mjs";
6
- import { _ as portableTextToProsemirror, a as SandboxNotAvailableError, b as reference, c as createPluginManager, f as HookPipeline, g as after, h as definePlugin, i as NoopSandboxRunner, l as PluginRouteError, n as NodeSandboxRunner, o as createNoopSandboxRunner, p as createHookPipeline, r as createNodeSandboxRunner, s as PluginManager, t as isStandardPluginDefinition, v as prosemirrorToPortableText, x as image, y as portableText } from "./plugins-DKceDtUM.mjs";
6
+ import { _ as portableTextToProsemirror, a as SandboxNotAvailableError, b as reference, c as createPluginManager, f as HookPipeline, g as after, h as definePlugin, i as NoopSandboxRunner, l as PluginRouteError, n as NodeSandboxRunner, o as createNoopSandboxRunner, p as createHookPipeline, r as createNodeSandboxRunner, s as PluginManager, t as isStandardPluginDefinition, v as prosemirrorToPortableText, x as image, y as portableText } from "./plugins-CxUx-b5a.mjs";
7
7
  import { t as decodeSlug } from "./slugify-BzGxlOFx.mjs";
8
8
  import { t as ContentRepository } from "./content-DvpMad_N.mjs";
9
9
  import "./base64-C1Q9yr0B.mjs";
10
10
  import { t as DinewayValidationError } from "./types-D1DjBFA9.mjs";
11
11
  import { t as MediaRepository } from "./media-Cg4zc9fq.mjs";
12
12
  import "./user-2aI21yV1.mjs";
13
- import "./taxonomy-DI-0HgKe.mjs";
13
+ import "./taxonomy-DpXdVSSR.mjs";
14
14
  import "./comment-BmJXz3lc.mjs";
15
15
  import "./options-BF11H_FD.mjs";
16
16
  import "./site-activity-lsCX_cqp.mjs";
17
17
  import "./review-requests-BYuoyse0.mjs";
18
18
  import "./entity-aliases-PJV8IxDq.mjs";
19
- import "./context-CT44ux1O.mjs";
20
- import "./redirect-BHo9--Jz.mjs";
21
- import "./byline-BxAf79s1.mjs";
22
- import { t as normalizeMediaValue } from "./normalize-9GU-bv_T.mjs";
23
- import { t as generatePlaceholder } from "./placeholder-BJPmhjHP.mjs";
24
- import "./seo-BPz1KkCq.mjs";
25
- import { A as handleRevisionGet, B as handleContentDuplicate, D as handleMediaGet, E as handleMediaDelete, F as handleContentCountScheduled, G as handleContentPermanentDelete, H as handleContentGetIncludingTrashed, I as handleContentCountTrashed, J as handleContentSchedule, K as handleContentPublish, L as handleContentCreate, M as handleRevisionRestore, N as generateManifest, O as handleMediaList, P as handleContentCompare, Q as handleContentUpdate, R as handleContentDelete, T as handleMediaCreate, U as handleContentList, V as handleContentGet, W as handleContentListTrashed, X as handleContentUnpublish, Y as handleContentTranslations, Z as handleContentUnschedule, j as handleRevisionList, k as handleMediaUpdate, q as handleContentRestore, z as handleContentDiscardDraft } from "./api-B5xMY72-.mjs";
26
- import "./request-cache-DmVyQUBh.mjs";
27
- import "./dashboard-6gH7SlPM.mjs";
28
- import "./briefing-4k6R0KAr.mjs";
29
- import "./context-types-DuiyY6xF.mjs";
30
- import { t as FTSManager } from "./fts-manager-D7KVeBmg.mjs";
31
- import { i as RESERVED_FIELD_SLUGS, n as FIELD_TYPE_TO_COLUMN, r as RESERVED_COLLECTION_SLUGS } from "./types-Dz2EKzsX.mjs";
32
- import { n as SchemaRegistry, t as SchemaError } from "./registry-DumDzFDn.mjs";
33
- import "./loader-CQFxFOt1.mjs";
34
- import { i as getSiteSettings, n as getPluginSettings, o as setSiteSettings, r as getSiteSetting, t as getPluginSetting } from "./settings-qPzY2KIF.mjs";
35
- import "./briefing-DM7e2yd3.mjs";
36
- import "./review-requests-vCw7_3DS.mjs";
37
- import { n as hashString, t as computeContentHash } from "./hash-V8oZo1W2.mjs";
38
- import { t as getCollectionInfo } from "./query-BtuwuZRd.mjs";
39
- import "./zod-generator-BKhtHT3e.mjs";
40
- import "./schema-D1z41cq_.mjs";
41
- import "./seo-DJoop90w.mjs";
42
- import "./menus-CwI7DQJ5.mjs";
43
- import { o as getSection, s as getSections } from "./sections-B9RYyf3I.mjs";
44
- import "./settings-BGCo_c2y.mjs";
45
- import { a as getTaxonomyTerms, i as getTaxonomyDefs, n as getEntryTerms, o as getTerm, r as getTaxonomyDef, s as getTermsForEntries, t as getEntriesByTerm } from "./taxonomies-BWmxbumf.mjs";
46
- import "./taxonomies-aQXvYVPm.mjs";
19
+ import "./context-DRq-f4sM.mjs";
20
+ import "./menus-DXaFTRyU.mjs";
21
+ import "./redirect-hKO66LS_.mjs";
22
+ import "./byline-9WeA8b0a.mjs";
23
+ import { t as normalizeMediaValue } from "./normalize-ba36HTxZ.mjs";
24
+ import { t as generatePlaceholder } from "./placeholder-BAy3k441.mjs";
25
+ import "./seo-DASNc4gD.mjs";
26
+ import { A as handleRevisionGet, B as handleContentDuplicate, D as handleMediaGet, E as handleMediaDelete, F as handleContentCountScheduled, G as handleContentPermanentDelete, H as handleContentGetIncludingTrashed, I as handleContentCountTrashed, J as handleContentSchedule, K as handleContentPublish, L as handleContentCreate, M as handleRevisionRestore, N as generateManifest, O as handleMediaList, P as handleContentCompare, Q as handleContentUpdate, R as handleContentDelete, T as handleMediaCreate, U as handleContentList, V as handleContentGet, W as handleContentListTrashed, X as handleContentUnpublish, Y as handleContentTranslations, Z as handleContentUnschedule, j as handleRevisionList, k as handleMediaUpdate, q as handleContentRestore, z as handleContentDiscardDraft } from "./api-KH2L2uKb.mjs";
27
+ import "./request-cache-BzuhyUXj.mjs";
28
+ import "./dashboard-DdqRifyu.mjs";
29
+ import "./briefing-Dk4I4VC8.mjs";
30
+ import "./context-types-BWspNMDr.mjs";
31
+ import { t as FTSManager } from "./fts-manager-DYRy6HVi.mjs";
32
+ import { i as RESERVED_FIELD_SLUGS, n as FIELD_TYPE_TO_COLUMN, r as RESERVED_COLLECTION_SLUGS } from "./types-zfg8SDVI.mjs";
33
+ import { n as SchemaRegistry, t as SchemaError } from "./registry-CYO6XQ-4.mjs";
34
+ import "./loader-dt5DoyI1.mjs";
35
+ import { i as getSiteSettings, n as getPluginSettings, o as setSiteSettings, r as getSiteSetting, t as getPluginSetting } from "./settings-D2k1JraC.mjs";
36
+ import "./briefing-PFT3T6KW.mjs";
37
+ import "./review-requests-CO-vO0O0.mjs";
38
+ import { n as hashString, t as computeContentHash } from "./hash-DHSsP6_G.mjs";
39
+ import { t as getCollectionInfo } from "./query-CH1GaJmt.mjs";
40
+ import "./zod-generator-vOxhed6n.mjs";
41
+ import "./schema-mjeMcn_6.mjs";
42
+ import "./seo-Dl4QE4El.mjs";
43
+ import { o as getSection, s as getSections } from "./sections-DA3GMhNG.mjs";
44
+ import "./settings-BJW_lmrM.mjs";
45
+ import { a as getTaxonomyTerms, i as getTaxonomyDefs, n as getEntryTerms, o as getTerm, r as getTaxonomyDef, s as getTermsForEntries, t as getEntriesByTerm } from "./taxonomies-DPNIwTGk.mjs";
46
+ import "./taxonomies-CagluJHp.mjs";
47
47
  import { i as pluginManifestSchema } from "./manifest-schema-CU0XL_ZK.mjs";
48
48
  import { t as DinewayStorageError } from "./types-iNqHe2-V.mjs";
49
49
  import "./parse-BBfZRZYb.mjs";
50
- import "./redirects-xVDvj_yQ.mjs";
51
- import "./import-DE2ziezs.mjs";
50
+ import "./redirects-BO0fI750.mjs";
51
+ import "./import-BO_gy5vZ.mjs";
52
52
  import { n as sanitizeHref, t as isSafeHref } from "./url-DOS4RGym.mjs";
53
- import { c as createEditable, i as getTranslations, l as createNoop, n as getDinewayEntry, r as getEditMeta, s as resolveDinewayPath, t as getDinewayCollection } from "./query-CWPxZjGM.mjs";
53
+ import { c as createEditable, i as getTranslations, l as createNoop, n as getDinewayEntry, r as getEditMeta, s as resolveDinewayPath, t as getDinewayCollection } from "./query-TQqoOaxy.mjs";
54
54
  import { a as verifyPreviewSignature, i as signPreviewUrl, n as defaultPreviewSidecarClient, r as parsePreviewSignatureHeader, t as buildPreviewSignatureHeader } from "./sidecar-client-Dta0AELf.mjs";
55
55
  import { a as createFilePreviewMiddleware, c as dropSessionDatabaseTables, d as SessionDatabaseLimitError, f as isBlockedInPreview, i as getPreviewUrl, l as getAppliedSnapshotMeta, n as isPreviewRequest, o as renderPreviewToolbar, p as renderPreviewLoadingPage, r as buildPreviewUrl, s as applySnapshotToDatabase, t as getPreviewToken, u as FileSessionDatabaseFactory } from "./preview-CIDYFBzd.mjs";
56
- import { a as getAllSources, c as getUrlSources, d as importReusableBlocksAsSections, f as parseWxr, i as clearSources, l as probeUrl, n as parseWxrDate, o as getFileSources, p as parseWxrString, r as wxrSource, s as getSource, t as wordpressRestSource, u as registerSource } from "./import-BVqG28WP.mjs";
56
+ import { a as getAllSources, c as getUrlSources, d as importReusableBlocksAsSections, f as parseWxr, i as clearSources, l as probeUrl, n as parseWxrDate, o as getFileSources, p as parseWxrString, r as wxrSource, s as getSource, t as wordpressRestSource, u as registerSource } from "./import-B8lnqfnN.mjs";
57
57
  import { adaptSandboxEntry } from "./plugins/adapt-sandbox-entry.mjs";
58
- import "./ssrf-BOSGjXxb.mjs";
58
+ import "./ssrf-z3oH8wjK.mjs";
59
59
  import "./cron-fV9baRVc.mjs";
60
60
  import "./utils-BJF19gfk.mjs";
61
61
  import { n as parseContentId, r as verifyPreviewToken, t as generatePreviewToken } from "./tokens-DB4dASZl.mjs";
62
62
  import { getContentSeo, getSeoMeta } from "./seo/index.mjs";
63
- import { i as getComments, n as getMenus, r as getCommentCount, t as getMenu } from "./menus-BDW1yIdj.mjs";
64
- import { n as getByline, r as getBylineBySlug } from "./bylines-DhCnhR70.mjs";
65
- import { n as getWidgetAreas, r as getWidgetComponents, t as getWidgetArea } from "./widgets-Cce2-2fM.mjs";
66
- import { t as validateSeed } from "./validate-B8ZvLeOE.mjs";
67
- import { t as applySeed } from "./apply-CGVHi2r7.mjs";
63
+ import { i as getComments, n as getMenus, r as getCommentCount, t as getMenu } from "./menus-BTOa-tsI.mjs";
64
+ import { n as getByline, r as getBylineBySlug } from "./bylines-B6QpwVAr.mjs";
65
+ import { n as getWidgetAreas, r as getWidgetComponents, t as getWidgetArea } from "./widgets-D7UK-2hW.mjs";
66
+ import { t as validateSeed } from "./validate-CaKEnLed.mjs";
67
+ import { t as applySeed } from "./apply-Wyg77UOb.mjs";
68
68
  import "./load-BvyvS_76.mjs";
69
69
  import "./seed/index.mjs";
70
- import { a as getSuggestions, c as searchWithDb, i as getSearchStats, n as extractPlainText, o as search, r as extractSearchableFields, s as searchCollection } from "./search-CPcQGTHW.mjs";
70
+ import { a as getSuggestions, c as searchWithDb, i as getSearchStats, n as extractPlainText, o as search, r as extractSearchableFields, s as searchCollection } from "./search-vzCYAk0F.mjs";
71
71
  import { ulid } from "ulidx";
72
72
 
73
73
  export { ContentRepository, DinewayDatabaseError, DinewayStorageError, DinewayValidationError, FIELD_TYPE_TO_COLUMN, FTSManager, FileSessionDatabaseFactory, HookPipeline, MediaRepository, NodeSandboxRunner, NoopSandboxRunner, PluginManager, PluginRouteError, RESERVED_COLLECTION_SLUGS, RESERVED_FIELD_SLUGS, SandboxNotAvailableError, SchemaError, SchemaRegistry, SessionDatabaseLimitError, 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 };