emdash 0.37.0 → 0.39.0

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 (1445) hide show
  1. package/dist/action-token-On1sot_c.mjs +26 -0
  2. package/dist/action-token-On1sot_c.mjs.map +1 -0
  3. package/dist/activation-CaMfdBt1.mjs +382 -0
  4. package/dist/activation-CaMfdBt1.mjs.map +1 -0
  5. package/dist/adapters-Cq10K4_c.d.mts +171 -0
  6. package/dist/adapters-Cq10K4_c.d.mts.map +1 -0
  7. package/dist/after-PcEvMY_6.mjs +96 -0
  8. package/dist/after-PcEvMY_6.mjs.map +1 -0
  9. package/dist/allowed-origins-1Sa-2wZK.mjs +116 -0
  10. package/dist/allowed-origins-1Sa-2wZK.mjs.map +1 -0
  11. package/dist/api/route-utils.d.mts +4 -3
  12. package/dist/api/route-utils.d.mts.map +1 -1
  13. package/dist/api/route-utils.mjs +45 -29
  14. package/dist/api/route-utils.mjs.map +1 -1
  15. package/dist/api/schemas/index.d.mts +2 -2
  16. package/dist/api/schemas/index.mjs +7 -6
  17. package/dist/api-DmjKxPCY.mjs +4831 -0
  18. package/dist/api-DmjKxPCY.mjs.map +1 -0
  19. package/dist/api-tokens-BIXItFKV.mjs +163 -0
  20. package/dist/api-tokens-BIXItFKV.mjs.map +1 -0
  21. package/dist/apply-drpfmqrR.mjs +1005 -0
  22. package/dist/apply-drpfmqrR.mjs.map +1 -0
  23. package/dist/artifact-fetch-COiMhVgk.mjs +813 -0
  24. package/dist/artifact-fetch-COiMhVgk.mjs.map +1 -0
  25. package/dist/astro/index.d.mts +14 -12
  26. package/dist/astro/index.d.mts.map +1 -1
  27. package/dist/astro/index.mjs +123 -13
  28. package/dist/astro/index.mjs.map +1 -1
  29. package/dist/astro/middleware/auth.d.mts +12 -10
  30. package/dist/astro/middleware/auth.d.mts.map +1 -1
  31. package/dist/astro/middleware/auth.mjs +20 -11
  32. package/dist/astro/middleware/auth.mjs.map +1 -1
  33. package/dist/astro/middleware/media-usage-write-fence.mjs +5 -5
  34. package/dist/astro/middleware/redirect.mjs +11 -9
  35. package/dist/astro/middleware/redirect.mjs.map +1 -1
  36. package/dist/astro/middleware/request-context.d.mts +1 -1
  37. package/dist/astro/middleware/request-context.d.mts.map +1 -1
  38. package/dist/astro/middleware/request-context.mjs +154 -28
  39. package/dist/astro/middleware/request-context.mjs.map +1 -1
  40. package/dist/astro/middleware/setup.mjs +1 -1
  41. package/dist/astro/middleware.d.mts +13 -10
  42. package/dist/astro/middleware.d.mts.map +1 -1
  43. package/dist/astro/middleware.mjs +122 -3041
  44. package/dist/astro/middleware.mjs.map +1 -1
  45. package/dist/astro/routes/api/admin/allowed-domains/_domain_.mjs +10 -9
  46. package/dist/astro/routes/api/admin/allowed-domains/_domain_.mjs.map +1 -1
  47. package/dist/astro/routes/api/admin/allowed-domains/index.mjs +10 -9
  48. package/dist/astro/routes/api/admin/allowed-domains/index.mjs.map +1 -1
  49. package/dist/astro/routes/api/admin/api-tokens/_id_.mjs +5 -5
  50. package/dist/astro/routes/api/admin/api-tokens/index.mjs +6 -6
  51. package/dist/astro/routes/api/admin/byline-fields/_slug_/usage.mjs +6 -6
  52. package/dist/astro/routes/api/admin/byline-fields/_slug_.mjs +13 -12
  53. package/dist/astro/routes/api/admin/byline-fields/_slug_.mjs.map +1 -1
  54. package/dist/astro/routes/api/admin/byline-fields/index.mjs +13 -12
  55. package/dist/astro/routes/api/admin/byline-fields/index.mjs.map +1 -1
  56. package/dist/astro/routes/api/admin/byline-fields/reorder.mjs +13 -12
  57. package/dist/astro/routes/api/admin/byline-fields/reorder.mjs.map +1 -1
  58. package/dist/astro/routes/api/admin/bylines/_id_/index.mjs +22 -21
  59. package/dist/astro/routes/api/admin/bylines/_id_/index.mjs.map +1 -1
  60. package/dist/astro/routes/api/admin/bylines/_id_/translations.mjs +22 -21
  61. package/dist/astro/routes/api/admin/bylines/_id_/translations.mjs.map +1 -1
  62. package/dist/astro/routes/api/admin/bylines/index.mjs +22 -21
  63. package/dist/astro/routes/api/admin/bylines/index.mjs.map +1 -1
  64. package/dist/astro/routes/api/admin/comments/_id_/status.d.mts.map +1 -1
  65. package/dist/astro/routes/api/admin/comments/_id_/status.mjs +21 -54
  66. package/dist/astro/routes/api/admin/comments/_id_/status.mjs.map +1 -1
  67. package/dist/astro/routes/api/admin/comments/_id_.mjs +8 -8
  68. package/dist/astro/routes/api/admin/comments/bulk.mjs +15 -14
  69. package/dist/astro/routes/api/admin/comments/bulk.mjs.map +1 -1
  70. package/dist/astro/routes/api/admin/comments/counts.mjs +8 -8
  71. package/dist/astro/routes/api/admin/comments/index.mjs +15 -14
  72. package/dist/astro/routes/api/admin/comments/index.mjs.map +1 -1
  73. package/dist/astro/routes/api/admin/hooks/exclusive/_hookName_.mjs +6 -6
  74. package/dist/astro/routes/api/admin/hooks/exclusive/index.mjs +5 -5
  75. package/dist/astro/routes/api/admin/media-usage/activation.mjs +17 -16
  76. package/dist/astro/routes/api/admin/media-usage/activation.mjs.map +1 -1
  77. package/dist/astro/routes/api/admin/media-usage/collection-deletions/index.mjs +19 -18
  78. package/dist/astro/routes/api/admin/media-usage/collection-deletions/index.mjs.map +1 -1
  79. package/dist/astro/routes/api/admin/media-usage/collection-deletions/retry.mjs +19 -18
  80. package/dist/astro/routes/api/admin/media-usage/collection-deletions/retry.mjs.map +1 -1
  81. package/dist/astro/routes/api/admin/media-usage/progress.mjs +17 -17
  82. package/dist/astro/routes/api/admin/media-usage/repair.mjs +21 -20
  83. package/dist/astro/routes/api/admin/media-usage/repair.mjs.map +1 -1
  84. package/dist/astro/routes/api/admin/media-usage/work/index.mjs +19 -18
  85. package/dist/astro/routes/api/admin/media-usage/work/index.mjs.map +1 -1
  86. package/dist/astro/routes/api/admin/media-usage/work/retry.mjs +19 -18
  87. package/dist/astro/routes/api/admin/media-usage/work/retry.mjs.map +1 -1
  88. package/dist/astro/routes/api/admin/oauth-clients/_id_.mjs +5 -5
  89. package/dist/astro/routes/api/admin/oauth-clients/index.mjs +5 -5
  90. package/dist/astro/routes/api/admin/plugins/_id_/disable.d.mts.map +1 -1
  91. package/dist/astro/routes/api/admin/plugins/_id_/disable.mjs +9 -66
  92. package/dist/astro/routes/api/admin/plugins/_id_/disable.mjs.map +1 -1
  93. package/dist/astro/routes/api/admin/plugins/_id_/enable.d.mts.map +1 -1
  94. package/dist/astro/routes/api/admin/plugins/_id_/enable.mjs +9 -69
  95. package/dist/astro/routes/api/admin/plugins/_id_/enable.mjs.map +1 -1
  96. package/dist/astro/routes/api/admin/plugins/_id_/index.mjs +66 -59
  97. package/dist/astro/routes/api/admin/plugins/_id_/index.mjs.map +1 -1
  98. package/dist/astro/routes/api/admin/plugins/_id_/mcp.mjs +6 -6
  99. package/dist/astro/routes/api/admin/plugins/_id_/settings.mjs +65 -59
  100. package/dist/astro/routes/api/admin/plugins/_id_/settings.mjs.map +1 -1
  101. package/dist/astro/routes/api/admin/plugins/_id_/uninstall.mjs +70 -61
  102. package/dist/astro/routes/api/admin/plugins/_id_/uninstall.mjs.map +1 -1
  103. package/dist/astro/routes/api/admin/plugins/_id_/update.d.mts.map +1 -1
  104. package/dist/astro/routes/api/admin/plugins/_id_/update.mjs +87 -63
  105. package/dist/astro/routes/api/admin/plugins/_id_/update.mjs.map +1 -1
  106. package/dist/astro/routes/api/admin/plugins/index.mjs +66 -59
  107. package/dist/astro/routes/api/admin/plugins/index.mjs.map +1 -1
  108. package/dist/astro/routes/api/admin/plugins/marketplace/_id_/icon.mjs +4 -4
  109. package/dist/astro/routes/api/admin/plugins/marketplace/_id_/index.mjs +65 -59
  110. package/dist/astro/routes/api/admin/plugins/marketplace/_id_/index.mjs.map +1 -1
  111. package/dist/astro/routes/api/admin/plugins/marketplace/_id_/install.d.mts.map +1 -1
  112. package/dist/astro/routes/api/admin/plugins/marketplace/_id_/install.mjs +85 -63
  113. package/dist/astro/routes/api/admin/plugins/marketplace/_id_/install.mjs.map +1 -1
  114. package/dist/astro/routes/api/admin/plugins/marketplace/index.mjs +65 -59
  115. package/dist/astro/routes/api/admin/plugins/marketplace/index.mjs.map +1 -1
  116. package/dist/astro/routes/api/admin/plugins/registry/_id_/uninstall.mjs +70 -61
  117. package/dist/astro/routes/api/admin/plugins/registry/_id_/uninstall.mjs.map +1 -1
  118. package/dist/astro/routes/api/admin/plugins/registry/_id_/update.d.mts.map +1 -1
  119. package/dist/astro/routes/api/admin/plugins/registry/_id_/update.mjs +90 -66
  120. package/dist/astro/routes/api/admin/plugins/registry/_id_/update.mjs.map +1 -1
  121. package/dist/astro/routes/api/admin/plugins/registry/artifact.d.mts.map +1 -1
  122. package/dist/astro/routes/api/admin/plugins/registry/artifact.mjs +9 -7
  123. package/dist/astro/routes/api/admin/plugins/registry/artifact.mjs.map +1 -1
  124. package/dist/astro/routes/api/admin/plugins/registry/install.d.mts.map +1 -1
  125. package/dist/astro/routes/api/admin/plugins/registry/install.mjs +77 -63
  126. package/dist/astro/routes/api/admin/plugins/registry/install.mjs.map +1 -1
  127. package/dist/astro/routes/api/admin/plugins/registry/verify.d.mts.map +1 -1
  128. package/dist/astro/routes/api/admin/plugins/registry/verify.mjs +67 -61
  129. package/dist/astro/routes/api/admin/plugins/registry/verify.mjs.map +1 -1
  130. package/dist/astro/routes/api/admin/plugins/updates.d.mts.map +1 -1
  131. package/dist/astro/routes/api/admin/plugins/updates.mjs +66 -60
  132. package/dist/astro/routes/api/admin/plugins/updates.mjs.map +1 -1
  133. package/dist/astro/routes/api/admin/scheduled-policy-rejections/_collection_/_id_.d.mts +8 -0
  134. package/dist/astro/routes/api/admin/scheduled-policy-rejections/_collection_/_id_.d.mts.map +1 -0
  135. package/dist/astro/routes/api/admin/scheduled-policy-rejections/_collection_/_id_.mjs +27 -0
  136. package/dist/astro/routes/api/admin/scheduled-policy-rejections/_collection_/_id_.mjs.map +1 -0
  137. package/dist/astro/routes/api/admin/themes/marketplace/_id_/index.mjs +65 -59
  138. package/dist/astro/routes/api/admin/themes/marketplace/_id_/index.mjs.map +1 -1
  139. package/dist/astro/routes/api/admin/themes/marketplace/_id_/thumbnail.mjs +4 -4
  140. package/dist/astro/routes/api/admin/themes/marketplace/index.mjs +65 -59
  141. package/dist/astro/routes/api/admin/themes/marketplace/index.mjs.map +1 -1
  142. package/dist/astro/routes/api/admin/users/_id_/disable.mjs +4 -4
  143. package/dist/astro/routes/api/admin/users/_id_/enable.mjs +3 -3
  144. package/dist/astro/routes/api/admin/users/_id_/index.mjs +11 -10
  145. package/dist/astro/routes/api/admin/users/_id_/index.mjs.map +1 -1
  146. package/dist/astro/routes/api/admin/users/_id_/send-recovery.mjs +5 -5
  147. package/dist/astro/routes/api/admin/users/index.mjs +10 -9
  148. package/dist/astro/routes/api/admin/users/index.mjs.map +1 -1
  149. package/dist/astro/routes/api/auth/dev-bypass.mjs +5 -5
  150. package/dist/astro/routes/api/auth/invite/accept.mjs +3 -3
  151. package/dist/astro/routes/api/auth/invite/complete.mjs +15 -14
  152. package/dist/astro/routes/api/auth/invite/complete.mjs.map +1 -1
  153. package/dist/astro/routes/api/auth/invite/index.mjs +12 -11
  154. package/dist/astro/routes/api/auth/invite/index.mjs.map +1 -1
  155. package/dist/astro/routes/api/auth/invite/register-options.mjs +14 -13
  156. package/dist/astro/routes/api/auth/invite/register-options.mjs.map +1 -1
  157. package/dist/astro/routes/api/auth/logout.mjs +4 -4
  158. package/dist/astro/routes/api/auth/magic-link/send.mjs +14 -13
  159. package/dist/astro/routes/api/auth/magic-link/send.mjs.map +1 -1
  160. package/dist/astro/routes/api/auth/magic-link/verify.mjs +4 -4
  161. package/dist/astro/routes/api/auth/me.mjs +11 -10
  162. package/dist/astro/routes/api/auth/me.mjs.map +1 -1
  163. package/dist/astro/routes/api/auth/mode.mjs +4 -4
  164. package/dist/astro/routes/api/auth/oauth/_provider_/callback.mjs +4 -4
  165. package/dist/astro/routes/api/auth/oauth/_provider_.mjs +2 -2
  166. package/dist/astro/routes/api/auth/passkey/_id_.mjs +10 -9
  167. package/dist/astro/routes/api/auth/passkey/_id_.mjs.map +1 -1
  168. package/dist/astro/routes/api/auth/passkey/index.mjs +3 -3
  169. package/dist/astro/routes/api/auth/passkey/options.mjs +16 -15
  170. package/dist/astro/routes/api/auth/passkey/options.mjs.map +1 -1
  171. package/dist/astro/routes/api/auth/passkey/register/options.mjs +14 -13
  172. package/dist/astro/routes/api/auth/passkey/register/options.mjs.map +1 -1
  173. package/dist/astro/routes/api/auth/passkey/register/verify.mjs +15 -14
  174. package/dist/astro/routes/api/auth/passkey/register/verify.mjs.map +1 -1
  175. package/dist/astro/routes/api/auth/passkey/verify.mjs +15 -14
  176. package/dist/astro/routes/api/auth/passkey/verify.mjs.map +1 -1
  177. package/dist/astro/routes/api/auth/signup/complete.mjs +15 -14
  178. package/dist/astro/routes/api/auth/signup/complete.mjs.map +1 -1
  179. package/dist/astro/routes/api/auth/signup/request.mjs +14 -13
  180. package/dist/astro/routes/api/auth/signup/request.mjs.map +1 -1
  181. package/dist/astro/routes/api/auth/signup/verify.mjs +3 -3
  182. package/dist/astro/routes/api/comments/_collection_/_contentId_/index.d.mts.map +1 -1
  183. package/dist/astro/routes/api/comments/_collection_/_contentId_/index.mjs +15 -211
  184. package/dist/astro/routes/api/comments/_collection_/_contentId_/index.mjs.map +1 -1
  185. package/dist/astro/routes/api/comments/_collection_/_contentId_/reactions.mjs +18 -17
  186. package/dist/astro/routes/api/comments/_collection_/_contentId_/reactions.mjs.map +1 -1
  187. package/dist/astro/routes/api/content/_collection_/_id_/compare.mjs +4 -4
  188. package/dist/astro/routes/api/content/_collection_/_id_/discard-draft.d.mts.map +1 -1
  189. package/dist/astro/routes/api/content/_collection_/_id_/discard-draft.mjs +17 -11
  190. package/dist/astro/routes/api/content/_collection_/_id_/discard-draft.mjs.map +1 -1
  191. package/dist/astro/routes/api/content/_collection_/_id_/duplicate.mjs +5 -5
  192. package/dist/astro/routes/api/content/_collection_/_id_/lock.d.mts +10 -0
  193. package/dist/astro/routes/api/content/_collection_/_id_/lock.d.mts.map +1 -0
  194. package/dist/astro/routes/api/content/_collection_/_id_/lock.mjs +67 -0
  195. package/dist/astro/routes/api/content/_collection_/_id_/lock.mjs.map +1 -0
  196. package/dist/astro/routes/api/content/_collection_/_id_/permanent.mjs +4 -4
  197. package/dist/astro/routes/api/content/_collection_/_id_/plugin-extensions/_pluginId_/_kind_/_extensionId_.d.mts +8 -0
  198. package/dist/astro/routes/api/content/_collection_/_id_/plugin-extensions/_pluginId_/_kind_/_extensionId_.d.mts.map +1 -0
  199. package/dist/astro/routes/api/content/_collection_/_id_/plugin-extensions/_pluginId_/_kind_/_extensionId_.mjs +35 -0
  200. package/dist/astro/routes/api/content/_collection_/_id_/plugin-extensions/_pluginId_/_kind_/_extensionId_.mjs.map +1 -0
  201. package/dist/astro/routes/api/content/_collection_/_id_/preview-url.mjs +16 -15
  202. package/dist/astro/routes/api/content/_collection_/_id_/preview-url.mjs.map +1 -1
  203. package/dist/astro/routes/api/content/_collection_/_id_/publish.d.mts +9 -2
  204. package/dist/astro/routes/api/content/_collection_/_id_/publish.d.mts.map +1 -1
  205. package/dist/astro/routes/api/content/_collection_/_id_/publish.mjs +28 -16
  206. package/dist/astro/routes/api/content/_collection_/_id_/publish.mjs.map +1 -1
  207. package/dist/astro/routes/api/content/_collection_/_id_/references/_relation_/children.mjs +27 -23
  208. package/dist/astro/routes/api/content/_collection_/_id_/references/_relation_/children.mjs.map +1 -1
  209. package/dist/astro/routes/api/content/_collection_/_id_/references/_relation_/parents.mjs +27 -23
  210. package/dist/astro/routes/api/content/_collection_/_id_/references/_relation_/parents.mjs.map +1 -1
  211. package/dist/astro/routes/api/content/_collection_/_id_/restore.mjs +5 -5
  212. package/dist/astro/routes/api/content/_collection_/_id_/revisions.mjs +4 -4
  213. package/dist/astro/routes/api/content/_collection_/_id_/schedule.d.mts.map +1 -1
  214. package/dist/astro/routes/api/content/_collection_/_id_/schedule.mjs +27 -12
  215. package/dist/astro/routes/api/content/_collection_/_id_/schedule.mjs.map +1 -1
  216. package/dist/astro/routes/api/content/_collection_/_id_/terms/_taxonomy_.mjs +23 -20
  217. package/dist/astro/routes/api/content/_collection_/_id_/terms/_taxonomy_.mjs.map +1 -1
  218. package/dist/astro/routes/api/content/_collection_/_id_/translations.mjs +4 -4
  219. package/dist/astro/routes/api/content/_collection_/_id_/unpublish.d.mts.map +1 -1
  220. package/dist/astro/routes/api/content/_collection_/_id_/unpublish.mjs +25 -12
  221. package/dist/astro/routes/api/content/_collection_/_id_/unpublish.mjs.map +1 -1
  222. package/dist/astro/routes/api/content/_collection_/_id_.d.mts.map +1 -1
  223. package/dist/astro/routes/api/content/_collection_/_id_.mjs +27 -14
  224. package/dist/astro/routes/api/content/_collection_/_id_.mjs.map +1 -1
  225. package/dist/astro/routes/api/content/_collection_/authors.mjs +4 -4
  226. package/dist/astro/routes/api/content/_collection_/index.mjs +18 -12
  227. package/dist/astro/routes/api/content/_collection_/index.mjs.map +1 -1
  228. package/dist/astro/routes/api/content/_collection_/trash.mjs +11 -10
  229. package/dist/astro/routes/api/content/_collection_/trash.mjs.map +1 -1
  230. package/dist/astro/routes/api/dashboard.mjs +14 -12
  231. package/dist/astro/routes/api/dashboard.mjs.map +1 -1
  232. package/dist/astro/routes/api/dev/emails.mjs +4 -4
  233. package/dist/astro/routes/api/health.d.mts +8 -0
  234. package/dist/astro/routes/api/health.d.mts.map +1 -0
  235. package/dist/astro/routes/api/health.mjs +21 -0
  236. package/dist/astro/routes/api/health.mjs.map +1 -0
  237. package/dist/astro/routes/api/import/probe.d.mts +3 -3
  238. package/dist/astro/routes/api/import/probe.mjs +25 -23
  239. package/dist/astro/routes/api/import/probe.mjs.map +1 -1
  240. package/dist/astro/routes/api/import/wordpress/analyze.mjs +5 -5
  241. package/dist/astro/routes/api/import/wordpress/execute.d.mts +13 -11
  242. package/dist/astro/routes/api/import/wordpress/execute.d.mts.map +1 -1
  243. package/dist/astro/routes/api/import/wordpress/execute.mjs +20 -19
  244. package/dist/astro/routes/api/import/wordpress/execute.mjs.map +1 -1
  245. package/dist/astro/routes/api/import/wordpress/media.d.mts +12 -10
  246. package/dist/astro/routes/api/import/wordpress/media.d.mts.map +1 -1
  247. package/dist/astro/routes/api/import/wordpress/media.mjs +15 -14
  248. package/dist/astro/routes/api/import/wordpress/media.mjs.map +1 -1
  249. package/dist/astro/routes/api/import/wordpress/prepare.mjs +14 -13
  250. package/dist/astro/routes/api/import/wordpress/prepare.mjs.map +1 -1
  251. package/dist/astro/routes/api/import/wordpress/rewrite-urls.d.mts +13 -11
  252. package/dist/astro/routes/api/import/wordpress/rewrite-urls.d.mts.map +1 -1
  253. package/dist/astro/routes/api/import/wordpress/rewrite-urls.mjs +18 -17
  254. package/dist/astro/routes/api/import/wordpress/rewrite-urls.mjs.map +1 -1
  255. package/dist/astro/routes/api/import/wordpress-plugin/analyze.d.mts +1 -1
  256. package/dist/astro/routes/api/import/wordpress-plugin/analyze.mjs +25 -23
  257. package/dist/astro/routes/api/import/wordpress-plugin/analyze.mjs.map +1 -1
  258. package/dist/astro/routes/api/import/wordpress-plugin/callback.mjs +1 -1
  259. package/dist/astro/routes/api/import/wordpress-plugin/execute.d.mts +13 -11
  260. package/dist/astro/routes/api/import/wordpress-plugin/execute.d.mts.map +1 -1
  261. package/dist/astro/routes/api/import/wordpress-plugin/execute.mjs +36 -33
  262. package/dist/astro/routes/api/import/wordpress-plugin/execute.mjs.map +1 -1
  263. package/dist/astro/routes/api/manifest.mjs +17 -9
  264. package/dist/astro/routes/api/manifest.mjs.map +1 -1
  265. package/dist/astro/routes/api/mcp.d.mts.map +1 -1
  266. package/dist/astro/routes/api/mcp.mjs +192 -110
  267. package/dist/astro/routes/api/mcp.mjs.map +1 -1
  268. package/dist/astro/routes/api/media/_id_/confirm.mjs +15 -14
  269. package/dist/astro/routes/api/media/_id_/confirm.mjs.map +1 -1
  270. package/dist/astro/routes/api/media/_id_/replace.mjs +12 -11
  271. package/dist/astro/routes/api/media/_id_/replace.mjs.map +1 -1
  272. package/dist/astro/routes/api/media/_id_/upload.mjs +8 -8
  273. package/dist/astro/routes/api/media/_id_/usage.mjs +23 -22
  274. package/dist/astro/routes/api/media/_id_/usage.mjs.map +1 -1
  275. package/dist/astro/routes/api/media/_id_.mjs +22 -21
  276. package/dist/astro/routes/api/media/_id_.mjs.map +1 -1
  277. package/dist/astro/routes/api/media/asset/_id_/_filename_.d.mts +8 -0
  278. package/dist/astro/routes/api/media/asset/_id_/_filename_.d.mts.map +1 -0
  279. package/dist/astro/routes/api/media/asset/_id_/_filename_.mjs +52 -0
  280. package/dist/astro/routes/api/media/asset/_id_/_filename_.mjs.map +1 -0
  281. package/dist/astro/routes/api/media/file/_...key_.mjs +3 -3
  282. package/dist/astro/routes/api/media/folders/_id_.mjs +12 -11
  283. package/dist/astro/routes/api/media/folders/_id_.mjs.map +1 -1
  284. package/dist/astro/routes/api/media/folders/index.mjs +12 -11
  285. package/dist/astro/routes/api/media/folders/index.mjs.map +1 -1
  286. package/dist/astro/routes/api/media/providers/_providerId_/_itemId_.mjs +4 -4
  287. package/dist/astro/routes/api/media/providers/_providerId_/index.mjs +4 -4
  288. package/dist/astro/routes/api/media/providers/index.mjs +4 -4
  289. package/dist/astro/routes/api/media/upload-url.mjs +14 -13
  290. package/dist/astro/routes/api/media/upload-url.mjs.map +1 -1
  291. package/dist/astro/routes/api/media.mjs +26 -25
  292. package/dist/astro/routes/api/media.mjs.map +1 -1
  293. package/dist/astro/routes/api/menus/_name_/items/_id_.mjs +15 -14
  294. package/dist/astro/routes/api/menus/_name_/items/_id_.mjs.map +1 -1
  295. package/dist/astro/routes/api/menus/_name_/items.mjs +15 -14
  296. package/dist/astro/routes/api/menus/_name_/items.mjs.map +1 -1
  297. package/dist/astro/routes/api/menus/_name_/reorder.mjs +15 -14
  298. package/dist/astro/routes/api/menus/_name_/reorder.mjs.map +1 -1
  299. package/dist/astro/routes/api/menus/_name_/translations.mjs +15 -14
  300. package/dist/astro/routes/api/menus/_name_/translations.mjs.map +1 -1
  301. package/dist/astro/routes/api/menus/_name_.mjs +15 -14
  302. package/dist/astro/routes/api/menus/_name_.mjs.map +1 -1
  303. package/dist/astro/routes/api/menus/index.mjs +15 -14
  304. package/dist/astro/routes/api/menus/index.mjs.map +1 -1
  305. package/dist/astro/routes/api/oauth/authorize.mjs +6 -6
  306. package/dist/astro/routes/api/oauth/device/authorize.mjs +7 -7
  307. package/dist/astro/routes/api/oauth/device/code.mjs +10 -10
  308. package/dist/astro/routes/api/oauth/device/token.mjs +9 -9
  309. package/dist/astro/routes/api/oauth/register.mjs +4 -4
  310. package/dist/astro/routes/api/oauth/token/refresh.mjs +7 -7
  311. package/dist/astro/routes/api/oauth/token/revoke.mjs +7 -7
  312. package/dist/astro/routes/api/oauth/token.mjs +7 -7
  313. package/dist/astro/routes/api/openapi.json.mjs +95 -24
  314. package/dist/astro/routes/api/openapi.json.mjs.map +1 -1
  315. package/dist/astro/routes/api/plugins/_pluginId_/_...path_.d.mts +2 -1
  316. package/dist/astro/routes/api/plugins/_pluginId_/_...path_.d.mts.map +1 -1
  317. package/dist/astro/routes/api/plugins/_pluginId_/_...path_.mjs +22 -40
  318. package/dist/astro/routes/api/plugins/_pluginId_/_...path_.mjs.map +1 -1
  319. package/dist/astro/routes/api/redirects/404s/index.mjs +18 -14
  320. package/dist/astro/routes/api/redirects/404s/index.mjs.map +1 -1
  321. package/dist/astro/routes/api/redirects/404s/summary.mjs +18 -14
  322. package/dist/astro/routes/api/redirects/404s/summary.mjs.map +1 -1
  323. package/dist/astro/routes/api/redirects/_id_.d.mts.map +1 -1
  324. package/dist/astro/routes/api/redirects/_id_.mjs +20 -22
  325. package/dist/astro/routes/api/redirects/_id_.mjs.map +1 -1
  326. package/dist/astro/routes/api/redirects/index.d.mts.map +1 -1
  327. package/dist/astro/routes/api/redirects/index.mjs +19 -19
  328. package/dist/astro/routes/api/redirects/index.mjs.map +1 -1
  329. package/dist/astro/routes/api/relations/_id_/index.mjs +27 -23
  330. package/dist/astro/routes/api/relations/_id_/index.mjs.map +1 -1
  331. package/dist/astro/routes/api/relations/_id_/translations.mjs +21 -18
  332. package/dist/astro/routes/api/relations/_id_/translations.mjs.map +1 -1
  333. package/dist/astro/routes/api/relations/index.mjs +27 -23
  334. package/dist/astro/routes/api/relations/index.mjs.map +1 -1
  335. package/dist/astro/routes/api/revisions/_revisionId_/index.mjs +4 -4
  336. package/dist/astro/routes/api/revisions/_revisionId_/restore.mjs +5 -5
  337. package/dist/astro/routes/api/schema/collections/_slug_/fields/_fieldSlug_.mjs +65 -59
  338. package/dist/astro/routes/api/schema/collections/_slug_/fields/_fieldSlug_.mjs.map +1 -1
  339. package/dist/astro/routes/api/schema/collections/_slug_/fields/index.mjs +65 -59
  340. package/dist/astro/routes/api/schema/collections/_slug_/fields/index.mjs.map +1 -1
  341. package/dist/astro/routes/api/schema/collections/_slug_/fields/reorder.mjs +65 -59
  342. package/dist/astro/routes/api/schema/collections/_slug_/fields/reorder.mjs.map +1 -1
  343. package/dist/astro/routes/api/schema/collections/_slug_/index.mjs +65 -59
  344. package/dist/astro/routes/api/schema/collections/_slug_/index.mjs.map +1 -1
  345. package/dist/astro/routes/api/schema/collections/index.mjs +65 -59
  346. package/dist/astro/routes/api/schema/collections/index.mjs.map +1 -1
  347. package/dist/astro/routes/api/schema/collections/reorder.mjs +65 -59
  348. package/dist/astro/routes/api/schema/collections/reorder.mjs.map +1 -1
  349. package/dist/astro/routes/api/schema/index.mjs +16 -14
  350. package/dist/astro/routes/api/schema/index.mjs.map +1 -1
  351. package/dist/astro/routes/api/schema/orphans/_slug_.mjs +65 -59
  352. package/dist/astro/routes/api/schema/orphans/_slug_.mjs.map +1 -1
  353. package/dist/astro/routes/api/schema/orphans/index.mjs +65 -59
  354. package/dist/astro/routes/api/schema/orphans/index.mjs.map +1 -1
  355. package/dist/astro/routes/api/search/enable.mjs +16 -14
  356. package/dist/astro/routes/api/search/enable.mjs.map +1 -1
  357. package/dist/astro/routes/api/search/index.mjs +17 -14
  358. package/dist/astro/routes/api/search/index.mjs.map +1 -1
  359. package/dist/astro/routes/api/search/rebuild.mjs +16 -14
  360. package/dist/astro/routes/api/search/rebuild.mjs.map +1 -1
  361. package/dist/astro/routes/api/search/stats.mjs +10 -9
  362. package/dist/astro/routes/api/search/stats.mjs.map +1 -1
  363. package/dist/astro/routes/api/search/suggest.mjs +15 -13
  364. package/dist/astro/routes/api/search/suggest.mjs.map +1 -1
  365. package/dist/astro/routes/api/sections/_slug_.mjs +15 -13
  366. package/dist/astro/routes/api/sections/_slug_.mjs.map +1 -1
  367. package/dist/astro/routes/api/sections/index.mjs +15 -13
  368. package/dist/astro/routes/api/sections/index.mjs.map +1 -1
  369. package/dist/astro/routes/api/settings/backups/archives/_name_.mjs +9 -8
  370. package/dist/astro/routes/api/settings/backups/archives/_name_.mjs.map +1 -1
  371. package/dist/astro/routes/api/settings/backups/archives/index.mjs +8 -7
  372. package/dist/astro/routes/api/settings/backups/archives/index.mjs.map +1 -1
  373. package/dist/astro/routes/api/settings/backups/export.mjs +9 -8
  374. package/dist/astro/routes/api/settings/backups/export.mjs.map +1 -1
  375. package/dist/astro/routes/api/settings/backups/index.mjs +10 -9
  376. package/dist/astro/routes/api/settings/backups/index.mjs.map +1 -1
  377. package/dist/astro/routes/api/settings/email.mjs +6 -6
  378. package/dist/astro/routes/api/settings.mjs +22 -20
  379. package/dist/astro/routes/api/settings.mjs.map +1 -1
  380. package/dist/astro/routes/api/setup/admin-verify.mjs +16 -15
  381. package/dist/astro/routes/api/setup/admin-verify.mjs.map +1 -1
  382. package/dist/astro/routes/api/setup/admin.mjs +15 -14
  383. package/dist/astro/routes/api/setup/admin.mjs.map +1 -1
  384. package/dist/astro/routes/api/setup/dev-bypass.mjs +42 -38
  385. package/dist/astro/routes/api/setup/dev-bypass.mjs.map +1 -1
  386. package/dist/astro/routes/api/setup/dev-reset.mjs +4 -4
  387. package/dist/astro/routes/api/setup/index.mjs +43 -38
  388. package/dist/astro/routes/api/setup/index.mjs.map +1 -1
  389. package/dist/astro/routes/api/setup/status.mjs +5 -5
  390. package/dist/astro/routes/api/snapshot.mjs +11 -10
  391. package/dist/astro/routes/api/snapshot.mjs.map +1 -1
  392. package/dist/astro/routes/api/taxonomies/_name_/reorder.mjs +23 -21
  393. package/dist/astro/routes/api/taxonomies/_name_/reorder.mjs.map +1 -1
  394. package/dist/astro/routes/api/taxonomies/_name_/terms/_slug_/translations.mjs +23 -21
  395. package/dist/astro/routes/api/taxonomies/_name_/terms/_slug_/translations.mjs.map +1 -1
  396. package/dist/astro/routes/api/taxonomies/_name_/terms/_slug_.mjs +23 -21
  397. package/dist/astro/routes/api/taxonomies/_name_/terms/_slug_.mjs.map +1 -1
  398. package/dist/astro/routes/api/taxonomies/_name_/terms/index.mjs +23 -21
  399. package/dist/astro/routes/api/taxonomies/_name_/terms/index.mjs.map +1 -1
  400. package/dist/astro/routes/api/taxonomies/_name_/translations.mjs +22 -20
  401. package/dist/astro/routes/api/taxonomies/_name_/translations.mjs.map +1 -1
  402. package/dist/astro/routes/api/taxonomies/_name_.mjs +23 -21
  403. package/dist/astro/routes/api/taxonomies/_name_.mjs.map +1 -1
  404. package/dist/astro/routes/api/taxonomies/index.mjs +23 -21
  405. package/dist/astro/routes/api/taxonomies/index.mjs.map +1 -1
  406. package/dist/astro/routes/api/themes/preview.mjs +8 -8
  407. package/dist/astro/routes/api/typegen.mjs +6 -6
  408. package/dist/astro/routes/api/visual-editing/action-token.d.mts +8 -0
  409. package/dist/astro/routes/api/visual-editing/action-token.d.mts.map +1 -0
  410. package/dist/astro/routes/api/visual-editing/action-token.mjs +25 -0
  411. package/dist/astro/routes/api/visual-editing/action-token.mjs.map +1 -0
  412. package/dist/astro/routes/api/visual-editing/content/_collection_/_id_/publish.d.mts +8 -0
  413. package/dist/astro/routes/api/visual-editing/content/_collection_/_id_/publish.d.mts.map +1 -0
  414. package/dist/astro/routes/api/visual-editing/content/_collection_/_id_/publish.mjs +37 -0
  415. package/dist/astro/routes/api/visual-editing/content/_collection_/_id_/publish.mjs.map +1 -0
  416. package/dist/astro/routes/api/visual-editing/toolbar-labels.d.mts +8 -0
  417. package/dist/astro/routes/api/visual-editing/toolbar-labels.d.mts.map +1 -0
  418. package/dist/astro/routes/api/visual-editing/toolbar-labels.mjs +20 -0
  419. package/dist/astro/routes/api/visual-editing/toolbar-labels.mjs.map +1 -0
  420. package/dist/astro/routes/api/well-known/auth.mjs +2 -2
  421. package/dist/astro/routes/api/well-known/oauth-authorization-server.mjs +2 -2
  422. package/dist/astro/routes/api/well-known/oauth-protected-resource.mjs +2 -2
  423. package/dist/astro/routes/api/widget-areas/_name_/reorder.mjs +12 -11
  424. package/dist/astro/routes/api/widget-areas/_name_/reorder.mjs.map +1 -1
  425. package/dist/astro/routes/api/widget-areas/_name_/widgets/_id_.mjs +16 -15
  426. package/dist/astro/routes/api/widget-areas/_name_/widgets/_id_.mjs.map +1 -1
  427. package/dist/astro/routes/api/widget-areas/_name_/widgets.mjs +16 -15
  428. package/dist/astro/routes/api/widget-areas/_name_/widgets.mjs.map +1 -1
  429. package/dist/astro/routes/api/widget-areas/_name_.mjs +10 -10
  430. package/dist/astro/routes/api/widget-areas/index.mjs +16 -15
  431. package/dist/astro/routes/api/widget-areas/index.mjs.map +1 -1
  432. package/dist/astro/routes/api/widget-components.mjs +4 -4
  433. package/dist/astro/routes/robots.txt.mjs +13 -12
  434. package/dist/astro/routes/robots.txt.mjs.map +1 -1
  435. package/dist/astro/routes/sitemap-_collection_.xml.d.mts.map +1 -1
  436. package/dist/astro/routes/sitemap-_collection_.xml.mjs +24 -19
  437. package/dist/astro/routes/sitemap-_collection_.xml.mjs.map +1 -1
  438. package/dist/astro/routes/sitemap.xml.mjs +14 -13
  439. package/dist/astro/routes/sitemap.xml.mjs.map +1 -1
  440. package/dist/astro/types.d.mts +79 -26
  441. package/dist/astro/types.d.mts.map +1 -1
  442. package/dist/auth/providers/github.d.mts +1 -1
  443. package/dist/auth/providers/google.d.mts +1 -1
  444. package/dist/authoritative-records-DbqshfKD.mjs +5172 -0
  445. package/dist/authoritative-records-DbqshfKD.mjs.map +1 -0
  446. package/dist/authorize-BXpfMpp0.mjs +40 -0
  447. package/dist/authorize-BXpfMpp0.mjs.map +1 -0
  448. package/dist/backup-BsPQdwnS.mjs +246 -0
  449. package/dist/backup-BsPQdwnS.mjs.map +1 -0
  450. package/dist/base64-DvnNgP7e.mjs +63 -0
  451. package/dist/base64-DvnNgP7e.mjs.map +1 -0
  452. package/dist/byline-Doh-wt99.mjs +906 -0
  453. package/dist/byline-Doh-wt99.mjs.map +1 -0
  454. package/dist/byline-fields-CsrdvaLV.mjs +123 -0
  455. package/dist/byline-fields-CsrdvaLV.mjs.map +1 -0
  456. package/dist/byline-registry-D6lWzXk6.mjs +406 -0
  457. package/dist/byline-registry-D6lWzXk6.mjs.map +1 -0
  458. package/dist/bylines-Cop0hkoy.mjs +214 -0
  459. package/dist/bylines-Cop0hkoy.mjs.map +1 -0
  460. package/dist/bylines-kpBzHPr8.mjs +232 -0
  461. package/dist/bylines-kpBzHPr8.mjs.map +1 -0
  462. package/dist/cache-B0pOlXdM.mjs +108 -0
  463. package/dist/cache-B0pOlXdM.mjs.map +1 -0
  464. package/dist/capture-triggers-gxQxnxrJ.mjs +362 -0
  465. package/dist/capture-triggers-gxQxnxrJ.mjs.map +1 -0
  466. package/dist/challenge-store-CkRdSdd8.mjs +51 -0
  467. package/dist/challenge-store-CkRdSdd8.mjs.map +1 -0
  468. package/dist/checksum-Bsi2D9M1.mjs +162 -0
  469. package/dist/checksum-Bsi2D9M1.mjs.map +1 -0
  470. package/dist/chrome-tags-D7LGB91U.mjs +24 -0
  471. package/dist/chrome-tags-D7LGB91U.mjs.map +1 -0
  472. package/dist/chunks-BmWyou79.mjs +25 -0
  473. package/dist/chunks-BmWyou79.mjs.map +1 -0
  474. package/dist/cli/index.mjs +921 -106
  475. package/dist/cli/index.mjs.map +1 -1
  476. package/dist/client/cf-access.d.mts +1 -1
  477. package/dist/client/index.d.mts +17 -7
  478. package/dist/client/index.d.mts.map +1 -1
  479. package/dist/client/index.mjs +17 -12
  480. package/dist/client/index.mjs.map +1 -1
  481. package/dist/collection-deletion-C3Xixmkx.mjs +436 -0
  482. package/dist/collection-deletion-C3Xixmkx.mjs.map +1 -0
  483. package/dist/collection-slugs-cache-D9auiKmI.mjs +85 -0
  484. package/dist/collection-slugs-cache-D9auiKmI.mjs.map +1 -0
  485. package/dist/comment-DcT8qdPK.mjs +313 -0
  486. package/dist/comment-DcT8qdPK.mjs.map +1 -0
  487. package/dist/comment-reaction-DY5-y8Y5.mjs +85 -0
  488. package/dist/comment-reaction-DY5-y8Y5.mjs.map +1 -0
  489. package/dist/comments-B67VRNGw.mjs +204 -0
  490. package/dist/comments-B67VRNGw.mjs.map +1 -0
  491. package/dist/comments-BVzzt6x5.mjs +99 -0
  492. package/dist/comments-BVzzt6x5.mjs.map +1 -0
  493. package/dist/components-DIl9Qzh6.mjs +108 -0
  494. package/dist/components-DIl9Qzh6.mjs.map +1 -0
  495. package/dist/config-B2acLeC5.mjs +242 -0
  496. package/dist/config-B2acLeC5.mjs.map +1 -0
  497. package/dist/config-CGVeT8Hc.mjs +73 -0
  498. package/dist/config-CGVeT8Hc.mjs.map +1 -0
  499. package/dist/config-D3HhLON3.d.mts +39 -0
  500. package/dist/config-D3HhLON3.d.mts.map +1 -0
  501. package/dist/config-DS7e4EZ9.d.mts +6387 -0
  502. package/dist/config-DS7e4EZ9.d.mts.map +1 -0
  503. package/dist/content-DZ3B5qtA.mjs +2216 -0
  504. package/dist/content-DZ3B5qtA.mjs.map +1 -0
  505. package/dist/content-list-query-CbPdzsna.d.mts +26 -0
  506. package/dist/content-list-query-CbPdzsna.d.mts.map +1 -0
  507. package/dist/content-policy-CM4skrNi.mjs +46 -0
  508. package/dist/content-policy-CM4skrNi.mjs.map +1 -0
  509. package/dist/content-refresh-BHLHJgyt.mjs +3599 -0
  510. package/dist/content-refresh-BHLHJgyt.mjs.map +1 -0
  511. package/dist/content-repair-BVll5WNl.mjs +440 -0
  512. package/dist/content-repair-BVll5WNl.mjs.map +1 -0
  513. package/dist/context-B195kjqZ.mjs +1835 -0
  514. package/dist/context-B195kjqZ.mjs.map +1 -0
  515. package/dist/cron-BcR3RN4K.mjs +282 -0
  516. package/dist/cron-BcR3RN4K.mjs.map +1 -0
  517. package/dist/dashboard-CZD4G7k_.mjs +151 -0
  518. package/dist/dashboard-CZD4G7k_.mjs.map +1 -0
  519. package/dist/database/migration-lock.d.mts +37 -0
  520. package/dist/database/migration-lock.d.mts.map +1 -0
  521. package/dist/database/migration-lock.mjs +76 -0
  522. package/dist/database/migration-lock.mjs.map +1 -0
  523. package/dist/database/pg-migration-lock.d.mts +1 -1
  524. package/dist/database/pg-migration-lock.mjs +1 -1
  525. package/dist/database/pg-migration-lock.mjs.map +1 -1
  526. package/dist/datetime-normalization-PeiEdcRY.mjs +187 -0
  527. package/dist/datetime-normalization-PeiEdcRY.mjs.map +1 -0
  528. package/dist/db/index.d.mts +3 -3
  529. package/dist/db/index.mjs +4 -3
  530. package/dist/db/index.mjs.map +1 -1
  531. package/dist/db/libsql-migrations.d.mts +1 -1
  532. package/dist/db/libsql-migrations.mjs +7 -6
  533. package/dist/db/libsql-migrations.mjs.map +1 -1
  534. package/dist/db/libsql.d.mts +1 -1
  535. package/dist/db/postgres-migrations.d.mts +1 -1
  536. package/dist/db/postgres-migrations.mjs +7 -6
  537. package/dist/db/postgres-migrations.mjs.map +1 -1
  538. package/dist/db/postgres.d.mts +1 -1
  539. package/dist/db/sqlite-migrations.d.mts +1 -1
  540. package/dist/db/sqlite-migrations.mjs +7 -6
  541. package/dist/db/sqlite-migrations.mjs.map +1 -1
  542. package/dist/db/sqlite.d.mts +1 -1
  543. package/dist/db/sqlite.mjs +1 -1
  544. package/dist/db-errors-CBD5yMro.mjs +55 -0
  545. package/dist/db-errors-CBD5yMro.mjs.map +1 -0
  546. package/dist/default-BtlxWgh9.mjs +81 -0
  547. package/dist/default-BtlxWgh9.mjs.map +1 -0
  548. package/dist/deferred-tasks-Ba9fphlE.d.mts +9 -0
  549. package/dist/deferred-tasks-Ba9fphlE.d.mts.map +1 -0
  550. package/dist/dev-typegen-CZaPLl3V.mjs +29 -0
  551. package/dist/dev-typegen-CZaPLl3V.mjs.map +1 -0
  552. package/dist/device-flow-3E5l0fpH.mjs +466 -0
  553. package/dist/device-flow-3E5l0fpH.mjs.map +1 -0
  554. package/dist/dialect-helpers-CtYdsX4W.mjs +307 -0
  555. package/dist/dialect-helpers-CtYdsX4W.mjs.map +1 -0
  556. package/dist/direct-executor-ZI8E01Yt.mjs +104 -0
  557. package/dist/direct-executor-ZI8E01Yt.mjs.map +1 -0
  558. package/dist/dist-2hDLsLeq.mjs +810 -0
  559. package/dist/dist-2hDLsLeq.mjs.map +1 -0
  560. package/dist/email-console-gc-E3Eqj.mjs +50 -0
  561. package/dist/email-console-gc-E3Eqj.mjs.map +1 -0
  562. package/dist/emdash-runtime-DZGinqTL.mjs +4041 -0
  563. package/dist/emdash-runtime-DZGinqTL.mjs.map +1 -0
  564. package/dist/enrich-C2Mk0lwE.mjs +194 -0
  565. package/dist/enrich-C2Mk0lwE.mjs.map +1 -0
  566. package/dist/entry-lock-D3C99MXS.mjs +1520 -0
  567. package/dist/entry-lock-D3C99MXS.mjs.map +1 -0
  568. package/dist/entry-lock-D9rnj2Lu.mjs +163 -0
  569. package/dist/entry-lock-D9rnj2Lu.mjs.map +1 -0
  570. package/dist/entry-lock-DX7QkqEg.d.mts +3503 -0
  571. package/dist/entry-lock-DX7QkqEg.d.mts.map +1 -0
  572. package/dist/entry-locks-CO_KaoU5.mjs +167 -0
  573. package/dist/entry-locks-CO_KaoU5.mjs.map +1 -0
  574. package/dist/error-CCTCskie.mjs +90 -0
  575. package/dist/error-CCTCskie.mjs.map +1 -0
  576. package/dist/errors-W3PA8HqB.mjs +447 -0
  577. package/dist/errors-W3PA8HqB.mjs.map +1 -0
  578. package/dist/escape-DN4Qmjsl.mjs +9 -0
  579. package/dist/escape-DN4Qmjsl.mjs.map +1 -0
  580. package/dist/field-defs-cache-B337z8UJ.mjs +77 -0
  581. package/dist/field-defs-cache-B337z8UJ.mjs.map +1 -0
  582. package/dist/focal-point-Gr34o-4o.mjs +23 -0
  583. package/dist/focal-point-Gr34o-4o.mjs.map +1 -0
  584. package/dist/fts-manager-DMb0sbIQ.mjs +413 -0
  585. package/dist/fts-manager-DMb0sbIQ.mjs.map +1 -0
  586. package/dist/hash-CLVFzWvx.mjs +37 -0
  587. package/dist/hash-CLVFzWvx.mjs.map +1 -0
  588. package/dist/hook-result-KY1jq21o.d.mts +31 -0
  589. package/dist/hook-result-KY1jq21o.d.mts.map +1 -0
  590. package/dist/hreflang-BgS2FqhH.d.mts +50 -0
  591. package/dist/hreflang-BgS2FqhH.d.mts.map +1 -0
  592. package/dist/hreflang-CrJwqoeb.mjs +105 -0
  593. package/dist/hreflang-CrJwqoeb.mjs.map +1 -0
  594. package/dist/http-route-dispatch-DAKlanXb.mjs +339 -0
  595. package/dist/http-route-dispatch-DAKlanXb.mjs.map +1 -0
  596. package/dist/identity-DRGSHEEr.mjs +35 -0
  597. package/dist/identity-DRGSHEEr.mjs.map +1 -0
  598. package/dist/import-DFr5B_hC.mjs +2020 -0
  599. package/dist/import-DFr5B_hC.mjs.map +1 -0
  600. package/dist/index-CDwKDkTq.d.mts +623 -0
  601. package/dist/index-CDwKDkTq.d.mts.map +1 -0
  602. package/dist/index.d.mts +27 -22
  603. package/dist/index.mjs +101 -86
  604. package/dist/init-lock-4eRRB4Le.mjs +56 -0
  605. package/dist/init-lock-4eRRB4Le.mjs.map +1 -0
  606. package/dist/install-finalization-5Os-QZ-2.mjs +58 -0
  607. package/dist/install-finalization-5Os-QZ-2.mjs.map +1 -0
  608. package/dist/lifecycle-7e-Lt_kX.mjs +25 -0
  609. package/dist/lifecycle-7e-Lt_kX.mjs.map +1 -0
  610. package/dist/load-Cu5bvCZh.mjs +28 -0
  611. package/dist/load-Cu5bvCZh.mjs.map +1 -0
  612. package/dist/loader-t4TxaFiQ.mjs +1004 -0
  613. package/dist/loader-t4TxaFiQ.mjs.map +1 -0
  614. package/dist/manifest-builder-D31UoJCu.mjs +189 -0
  615. package/dist/manifest-builder-D31UoJCu.mjs.map +1 -0
  616. package/dist/manifest-schema-Bkh8SeHd.mjs +491 -0
  617. package/dist/manifest-schema-Bkh8SeHd.mjs.map +1 -0
  618. package/dist/media/image-endpoint.mjs +1 -1
  619. package/dist/media/index.d.mts +1 -1
  620. package/dist/media/index.mjs +4 -4
  621. package/dist/media/local-runtime.d.mts +14 -12
  622. package/dist/media/local-runtime.d.mts.map +1 -1
  623. package/dist/media/local-runtime.mjs +12 -11
  624. package/dist/media/local-runtime.mjs.map +1 -1
  625. package/dist/media-TBlKCwo7.mjs +334 -0
  626. package/dist/media-TBlKCwo7.mjs.map +1 -0
  627. package/dist/media-allowlist-s60eAIf6.mjs +44 -0
  628. package/dist/media-allowlist-s60eAIf6.mjs.map +1 -0
  629. package/dist/media-folders-ClIRLUQv.mjs +210 -0
  630. package/dist/media-folders-ClIRLUQv.mjs.map +1 -0
  631. package/dist/media-url-DY_ijO3B.mjs +43 -0
  632. package/dist/media-url-DY_ijO3B.mjs.map +1 -0
  633. package/dist/media-usage-C4NolTpQ.mjs +1833 -0
  634. package/dist/media-usage-C4NolTpQ.mjs.map +1 -0
  635. package/dist/media-usage-activation-CAhmb14O.mjs +78 -0
  636. package/dist/media-usage-activation-CAhmb14O.mjs.map +1 -0
  637. package/dist/media-usage-work-Cu5DqewW.mjs +586 -0
  638. package/dist/media-usage-work-Cu5DqewW.mjs.map +1 -0
  639. package/dist/media-usage-work-DJr3rOEN.mjs +152 -0
  640. package/dist/media-usage-work-DJr3rOEN.mjs.map +1 -0
  641. package/dist/media-usage-write-fence-DW5oHT7q.mjs +42 -0
  642. package/dist/media-usage-write-fence-DW5oHT7q.mjs.map +1 -0
  643. package/dist/menus-DbgU9z5Q.mjs +3732 -0
  644. package/dist/menus-DbgU9z5Q.mjs.map +1 -0
  645. package/dist/menus-Wy8m5NcH.mjs +753 -0
  646. package/dist/menus-Wy8m5NcH.mjs.map +1 -0
  647. package/dist/migrations/index.d.mts +2 -2
  648. package/dist/migrations/index.d.mts.map +1 -1
  649. package/dist/migrations/index.mjs +6 -5
  650. package/dist/mime-CCYRC4r1.mjs +36 -0
  651. package/dist/mime-CCYRC4r1.mjs.map +1 -0
  652. package/dist/mode-CkmOhFqj.mjs +23 -0
  653. package/dist/mode-CkmOhFqj.mjs.map +1 -0
  654. package/dist/node-sqlite-compat-vpVaILnb.mjs +46 -0
  655. package/dist/node-sqlite-compat-vpVaILnb.mjs.map +1 -0
  656. package/dist/normalize-dChXQjwS.mjs +191 -0
  657. package/dist/normalize-dChXQjwS.mjs.map +1 -0
  658. package/dist/oauth-authorization-DZ-R-hmx.mjs +274 -0
  659. package/dist/oauth-authorization-DZ-R-hmx.mjs.map +1 -0
  660. package/dist/oauth-clients-BMPA8vjl.mjs +266 -0
  661. package/dist/oauth-clients-BMPA8vjl.mjs.map +1 -0
  662. package/dist/oauth-state-store-0gIdb48-.mjs +50 -0
  663. package/dist/oauth-state-store-0gIdb48-.mjs.map +1 -0
  664. package/dist/oauth-user-lookup-ChVW4UWu.mjs +26 -0
  665. package/dist/oauth-user-lookup-ChVW4UWu.mjs.map +1 -0
  666. package/dist/object-cache/memory.d.mts +1 -1
  667. package/dist/object-cache-DlSVbn5Y.mjs +534 -0
  668. package/dist/object-cache-DlSVbn5Y.mjs.map +1 -0
  669. package/dist/options-D5WcorD5.mjs +200 -0
  670. package/dist/options-D5WcorD5.mjs.map +1 -0
  671. package/dist/options-DAknChnw.d.mts +77 -0
  672. package/dist/options-DAknChnw.d.mts.map +1 -0
  673. package/dist/page/index.d.mts +2 -2
  674. package/dist/page/index.d.mts.map +1 -1
  675. package/dist/page/index.mjs +13 -0
  676. package/dist/page/index.mjs.map +1 -1
  677. package/dist/parse-Cr379Av9.mjs +81 -0
  678. package/dist/parse-Cr379Av9.mjs.map +1 -0
  679. package/dist/parse-tj9XLNO_.d.mts +165 -0
  680. package/dist/parse-tj9XLNO_.d.mts.map +1 -0
  681. package/dist/passkey-config-BD-wMaCf.mjs +46 -0
  682. package/dist/passkey-config-BD-wMaCf.mjs.map +1 -0
  683. package/dist/patterns-Do3iqi7N.mjs +145 -0
  684. package/dist/patterns-Do3iqi7N.mjs.map +1 -0
  685. package/dist/placeholder-CubPFn_L.d.mts +306 -0
  686. package/dist/placeholder-CubPFn_L.d.mts.map +1 -0
  687. package/dist/plugin-test-runtime.d.mts +97 -0
  688. package/dist/plugin-test-runtime.d.mts.map +1 -0
  689. package/dist/plugin-test-runtime.mjs +105 -0
  690. package/dist/plugin-types.d.mts +53 -15
  691. package/dist/plugin-types.d.mts.map +1 -1
  692. package/dist/plugin-types.mjs +18 -1
  693. package/dist/plugin-types.mjs.map +1 -0
  694. package/dist/plugin-utils.d.mts +12 -10
  695. package/dist/plugin-utils.d.mts.map +1 -1
  696. package/dist/plugins/adapt-sandbox-entry.d.mts +12 -10
  697. package/dist/plugins/adapt-sandbox-entry.d.mts.map +1 -1
  698. package/dist/plugins/adapt-sandbox-entry.mjs +18 -13
  699. package/dist/plugins/adapt-sandbox-entry.mjs.map +1 -1
  700. package/dist/plugins/host.d.mts +7 -0
  701. package/dist/plugins/host.mjs +45 -0
  702. package/dist/plugins/http-wire.d.mts +25 -0
  703. package/dist/plugins/http-wire.d.mts.map +1 -0
  704. package/dist/plugins/http-wire.mjs +148 -0
  705. package/dist/plugins/http-wire.mjs.map +1 -0
  706. package/dist/plugins/secret-redactor.d.mts +9 -0
  707. package/dist/plugins/secret-redactor.d.mts.map +1 -0
  708. package/dist/plugins/secret-redactor.mjs +51 -0
  709. package/dist/plugins/secret-redactor.mjs.map +1 -0
  710. package/dist/plugins-DHurtdXQ.mjs +277 -0
  711. package/dist/plugins-DHurtdXQ.mjs.map +1 -0
  712. package/dist/policy-lyZnjpwz.mjs +45 -0
  713. package/dist/policy-lyZnjpwz.mjs.map +1 -0
  714. package/dist/portable-text-oAwodbPS.mjs +286 -0
  715. package/dist/portable-text-oAwodbPS.mjs.map +1 -0
  716. package/dist/preview-Cup2bj8c.mjs +107 -0
  717. package/dist/preview-Cup2bj8c.mjs.map +1 -0
  718. package/dist/protocol-C1CNiKX4.d.mts +61 -0
  719. package/dist/protocol-C1CNiKX4.d.mts.map +1 -0
  720. package/dist/public-submission-Cs-pFMQK.mjs +245 -0
  721. package/dist/public-submission-Cs-pFMQK.mjs.map +1 -0
  722. package/dist/public-url-BWVHsfQv.mjs +101 -0
  723. package/dist/public-url-BWVHsfQv.mjs.map +1 -0
  724. package/dist/query-D-lxiOgn.mjs +890 -0
  725. package/dist/query-D-lxiOgn.mjs.map +1 -0
  726. package/dist/query-D7kHKOws.mjs +41 -0
  727. package/dist/query-D7kHKOws.mjs.map +1 -0
  728. package/dist/rate-limit-CqJn-w4h.mjs +120 -0
  729. package/dist/rate-limit-CqJn-w4h.mjs.map +1 -0
  730. package/dist/redirect-BrChFPIu.mjs +17 -0
  731. package/dist/redirect-BrChFPIu.mjs.map +1 -0
  732. package/dist/redirect-D2Yo-b6S.mjs +415 -0
  733. package/dist/redirect-D2Yo-b6S.mjs.map +1 -0
  734. package/dist/redirects-BCiTaIQ-.mjs +146 -0
  735. package/dist/redirects-BCiTaIQ-.mjs.map +1 -0
  736. package/dist/redirects-ByItliuu.mjs +644 -0
  737. package/dist/redirects-ByItliuu.mjs.map +1 -0
  738. package/dist/registry/testing.d.mts +14 -0
  739. package/dist/registry/testing.d.mts.map +1 -0
  740. package/dist/registry/testing.mjs +255 -0
  741. package/dist/registry/testing.mjs.map +1 -0
  742. package/dist/registry-CkuPoZs7.mjs +1222 -0
  743. package/dist/registry-CkuPoZs7.mjs.map +1 -0
  744. package/dist/relation-XTAtOpJO.mjs +334 -0
  745. package/dist/relation-XTAtOpJO.mjs.map +1 -0
  746. package/dist/relations-B4w-G5U9.mjs +309 -0
  747. package/dist/relations-B4w-G5U9.mjs.map +1 -0
  748. package/dist/relations-O63JWBRj.mjs +403 -0
  749. package/dist/relations-O63JWBRj.mjs.map +1 -0
  750. package/dist/request-cache-DaMhSQdx.mjs +104 -0
  751. package/dist/request-cache-DaMhSQdx.mjs.map +1 -0
  752. package/dist/request-context.d.mts +1 -1
  753. package/dist/request-meta-C8yl_sIs.mjs +141 -0
  754. package/dist/request-meta-C8yl_sIs.mjs.map +1 -0
  755. package/dist/resolve-BJIS8wKr.mjs +199 -0
  756. package/dist/resolve-BJIS8wKr.mjs.map +1 -0
  757. package/dist/route-wire-D66L2oaZ.mjs +197 -0
  758. package/dist/route-wire-D66L2oaZ.mjs.map +1 -0
  759. package/dist/routes-DYsTe-oR.mjs +321 -0
  760. package/dist/routes-DYsTe-oR.mjs.map +1 -0
  761. package/dist/runner-3gfxRsJG.d.mts +68 -0
  762. package/dist/runner-3gfxRsJG.d.mts.map +1 -0
  763. package/dist/runner-ClrleR8A.mjs +5502 -0
  764. package/dist/runner-ClrleR8A.mjs.map +1 -0
  765. package/dist/runtime.d.mts +13 -11
  766. package/dist/runtime.d.mts.map +1 -1
  767. package/dist/runtime.mjs +6 -5
  768. package/dist/runtime.mjs.map +1 -1
  769. package/dist/schema-CPhPM9Do.mjs +420 -0
  770. package/dist/schema-CPhPM9Do.mjs.map +1 -0
  771. package/dist/schema-DEERRrKS.mjs +9 -0
  772. package/dist/schema-DEERRrKS.mjs.map +1 -0
  773. package/dist/scopes-Bn8_rCSt.mjs +27 -0
  774. package/dist/scopes-Bn8_rCSt.mjs.map +1 -0
  775. package/dist/search-lami_Ota.mjs +448 -0
  776. package/dist/search-lami_Ota.mjs.map +1 -0
  777. package/dist/secrets-DNgVgz_e.mjs +341 -0
  778. package/dist/secrets-DNgVgz_e.mjs.map +1 -0
  779. package/dist/sections-BIpd4Cxf.mjs +346 -0
  780. package/dist/sections-BIpd4Cxf.mjs.map +1 -0
  781. package/dist/seed/index.d.mts +2 -2
  782. package/dist/seed/index.mjs +35 -31
  783. package/dist/seo/index.d.mts +3 -3
  784. package/dist/seo/index.d.mts.map +1 -1
  785. package/dist/seo/index.mjs +27 -26
  786. package/dist/seo/index.mjs.map +1 -1
  787. package/dist/seo-BtU70b7l.mjs +114 -0
  788. package/dist/seo-BtU70b7l.mjs.map +1 -0
  789. package/dist/seo-_4qmazxz.mjs +133 -0
  790. package/dist/seo-_4qmazxz.mjs.map +1 -0
  791. package/dist/service-Bpy5iTX0.mjs +150 -0
  792. package/dist/service-Bpy5iTX0.mjs.map +1 -0
  793. package/dist/session-user-BQeS2Mrb.mjs +51 -0
  794. package/dist/session-user-BQeS2Mrb.mjs.map +1 -0
  795. package/dist/settings-DmroR53o.mjs +420 -0
  796. package/dist/settings-DmroR53o.mjs.map +1 -0
  797. package/dist/settings-g2F2a3Ub.mjs +51 -0
  798. package/dist/settings-g2F2a3Ub.mjs.map +1 -0
  799. package/dist/setup-complete-BrZaXpVV.mjs +26 -0
  800. package/dist/setup-complete-BrZaXpVV.mjs.map +1 -0
  801. package/dist/setup-nonce-Cb9-884O.mjs +25 -0
  802. package/dist/setup-nonce-Cb9-884O.mjs.map +1 -0
  803. package/dist/single-flight-cache-B5O2qhO1.mjs +104 -0
  804. package/dist/single-flight-cache-B5O2qhO1.mjs.map +1 -0
  805. package/dist/site-url-DjhYCaep.mjs +16 -0
  806. package/dist/site-url-DjhYCaep.mjs.map +1 -0
  807. package/dist/slugify-T5GHH42D.mjs +17 -0
  808. package/dist/slugify-T5GHH42D.mjs.map +1 -0
  809. package/dist/snapshot-C32Xuv3o.mjs +233 -0
  810. package/dist/snapshot-C32Xuv3o.mjs.map +1 -0
  811. package/dist/ssrf-Co1GGFZz.mjs +406 -0
  812. package/dist/ssrf-Co1GGFZz.mjs.map +1 -0
  813. package/dist/state-C7gCoiHr.mjs +153 -0
  814. package/dist/state-C7gCoiHr.mjs.map +1 -0
  815. package/dist/status-DLoBmcDz.mjs +30 -0
  816. package/dist/status-DLoBmcDz.mjs.map +1 -0
  817. package/dist/storage/local.d.mts +1 -1
  818. package/dist/storage/local.mjs +1 -1
  819. package/dist/storage/s3.d.mts +1 -1
  820. package/dist/storage/s3.mjs +1 -1
  821. package/dist/storage-query-CPctdMKX.d.mts +1519 -0
  822. package/dist/storage-query-CPctdMKX.d.mts.map +1 -0
  823. package/dist/target-CUKlGrXb.mjs +27 -0
  824. package/dist/target-CUKlGrXb.mjs.map +1 -0
  825. package/dist/taxonomies-BpqpXJUE.mjs +707 -0
  826. package/dist/taxonomies-BpqpXJUE.mjs.map +1 -0
  827. package/dist/taxonomies-ClCo4IGO.mjs +899 -0
  828. package/dist/taxonomies-ClCo4IGO.mjs.map +1 -0
  829. package/dist/taxonomy-Dj1vpw5E.mjs +508 -0
  830. package/dist/taxonomy-Dj1vpw5E.mjs.map +1 -0
  831. package/dist/tokens-Ns02GAma.mjs +171 -0
  832. package/dist/tokens-Ns02GAma.mjs.map +1 -0
  833. package/dist/transaction-BcJO4Tmc.mjs +29 -0
  834. package/dist/transaction-BcJO4Tmc.mjs.map +1 -0
  835. package/dist/transport-B8P1xsqk.mjs +136 -0
  836. package/dist/transport-B8P1xsqk.mjs.map +1 -0
  837. package/dist/transport-BLHZZcD_.d.mts +42 -0
  838. package/dist/transport-BLHZZcD_.d.mts.map +1 -0
  839. package/dist/trusted-proxy-Cg7SuD15.mjs +51 -0
  840. package/dist/trusted-proxy-Cg7SuD15.mjs.map +1 -0
  841. package/dist/turnstile-DWCSh_Qc.mjs +53 -0
  842. package/dist/turnstile-DWCSh_Qc.mjs.map +1 -0
  843. package/dist/types-B3RkqvDW.mjs +156 -0
  844. package/dist/types-B3RkqvDW.mjs.map +1 -0
  845. package/dist/types-BkUg2yHx.mjs +92 -0
  846. package/dist/types-BkUg2yHx.mjs.map +1 -0
  847. package/dist/types-BtuppOTV.mjs +16 -0
  848. package/dist/types-BtuppOTV.mjs.map +1 -0
  849. package/dist/types-CCR3ivXE.d.mts +363 -0
  850. package/dist/types-CCR3ivXE.d.mts.map +1 -0
  851. package/dist/types-CSHgU_-_.mjs +18 -0
  852. package/dist/types-CSHgU_-_.mjs.map +1 -0
  853. package/dist/types-CbwqGOXm.d.mts +766 -0
  854. package/dist/types-CbwqGOXm.d.mts.map +1 -0
  855. package/dist/types-D4RGIc2I.d.mts +198 -0
  856. package/dist/types-D4RGIc2I.d.mts.map +1 -0
  857. package/dist/types-DEHidMEk.d.mts +1637 -0
  858. package/dist/types-DEHidMEk.d.mts.map +1 -0
  859. package/dist/types-DQeU2SR7.d.mts +279 -0
  860. package/dist/types-DQeU2SR7.d.mts.map +1 -0
  861. package/dist/types-DxQWoQLA.d.mts +264 -0
  862. package/dist/types-DxQWoQLA.d.mts.map +1 -0
  863. package/dist/types-FBBnGZ2Y.d.mts +198 -0
  864. package/dist/types-FBBnGZ2Y.d.mts.map +1 -0
  865. package/dist/types-ZCnlropY.mjs +69 -0
  866. package/dist/types-ZCnlropY.mjs.map +1 -0
  867. package/dist/types-_Qtyawiy.d.mts +124 -0
  868. package/dist/types-_Qtyawiy.d.mts.map +1 -0
  869. package/dist/types-gC6FAoa_.d.mts +75 -0
  870. package/dist/types-gC6FAoa_.d.mts.map +1 -0
  871. package/dist/types-k--LneIF.mjs +22 -0
  872. package/dist/types-k--LneIF.mjs.map +1 -0
  873. package/dist/upload-attempts-2xdnoKGe.mjs +27 -0
  874. package/dist/upload-attempts-2xdnoKGe.mjs.map +1 -0
  875. package/dist/url-pattern-3m3reMzr.mjs +33 -0
  876. package/dist/url-pattern-3m3reMzr.mjs.map +1 -0
  877. package/dist/user-DroRntkx.mjs +171 -0
  878. package/dist/user-DroRntkx.mjs.map +1 -0
  879. package/dist/utils-CC2oNGV8.mjs +435 -0
  880. package/dist/utils-CC2oNGV8.mjs.map +1 -0
  881. package/dist/validate-BCP9HNDn.mjs +384 -0
  882. package/dist/validate-BCP9HNDn.mjs.map +1 -0
  883. package/dist/validate-CyQ7I3xF.d.mts +410 -0
  884. package/dist/validate-CyQ7I3xF.d.mts.map +1 -0
  885. package/dist/validate-DANX1-Qi.mjs +120 -0
  886. package/dist/validate-DANX1-Qi.mjs.map +1 -0
  887. package/dist/validation-DBy6WF94.mjs +216 -0
  888. package/dist/validation-DBy6WF94.mjs.map +1 -0
  889. package/dist/version-B57E4Uo7.mjs +7 -0
  890. package/dist/version-B57E4Uo7.mjs.map +1 -0
  891. package/dist/widgets-wQ7Xcgq8.mjs +126 -0
  892. package/dist/widgets-wQ7Xcgq8.mjs.map +1 -0
  893. package/dist/wxr-taxonomies-DIHfvEDt.mjs +406 -0
  894. package/dist/wxr-taxonomies-DIHfvEDt.mjs.map +1 -0
  895. package/dist/wxr-taxonomies-DU2ZSiGc.d.mts +34 -0
  896. package/dist/wxr-taxonomies-DU2ZSiGc.d.mts.map +1 -0
  897. package/dist/zod-generator-D_yHIWfs.mjs +329 -0
  898. package/dist/zod-generator-D_yHIWfs.mjs.map +1 -0
  899. package/package.json +39 -12
  900. package/src/api/errors.ts +23 -0
  901. package/src/api/handlers/backup.ts +11 -5
  902. package/src/api/handlers/content.ts +226 -85
  903. package/src/api/handlers/dashboard.ts +31 -1
  904. package/src/api/handlers/entry-lock.ts +206 -0
  905. package/src/api/handlers/index.ts +3 -0
  906. package/src/api/handlers/manifest.ts +5 -6
  907. package/src/api/handlers/marketplace.ts +126 -34
  908. package/src/api/handlers/media-upload.ts +31 -4
  909. package/src/api/handlers/menus.ts +9 -0
  910. package/src/api/handlers/plugin-settings.ts +35 -3
  911. package/src/api/handlers/redirects.ts +221 -138
  912. package/src/api/handlers/registry.ts +75 -29
  913. package/src/api/handlers/revision.ts +16 -27
  914. package/src/api/handlers/seo.ts +10 -1
  915. package/src/api/handlers/snapshot.ts +87 -72
  916. package/src/api/handlers/taxonomies.ts +79 -5
  917. package/src/api/handlers/validation.ts +120 -19
  918. package/src/api/openapi/document.ts +133 -11
  919. package/src/api/schemas/content.ts +32 -12
  920. package/src/api/schemas/entry-lock.ts +57 -0
  921. package/src/api/schemas/index.ts +1 -0
  922. package/src/api/schemas/schema.ts +10 -1
  923. package/src/api/schemas/search.ts +4 -0
  924. package/src/api/types.ts +4 -0
  925. package/src/astro/integration/index.ts +22 -6
  926. package/src/astro/integration/routes.ts +89 -0
  927. package/src/astro/integration/runtime.ts +40 -24
  928. package/src/astro/integration/virtual-modules.ts +4 -0
  929. package/src/astro/integration/vite-config.ts +31 -0
  930. package/src/astro/middleware/auth.ts +25 -4
  931. package/src/astro/middleware/request-context.ts +28 -10
  932. package/src/astro/middleware.ts +33 -1
  933. package/src/astro/prefetch.ts +2 -2
  934. package/src/astro/routes/api/admin/comments/[id]/status.ts +22 -58
  935. package/src/astro/routes/api/admin/plugins/[id]/disable.ts +2 -15
  936. package/src/astro/routes/api/admin/plugins/[id]/enable.ts +2 -25
  937. package/src/astro/routes/api/admin/plugins/[id]/uninstall.ts +1 -0
  938. package/src/astro/routes/api/admin/plugins/[id]/update.ts +23 -4
  939. package/src/astro/routes/api/admin/plugins/marketplace/[id]/install.ts +12 -2
  940. package/src/astro/routes/api/admin/plugins/registry/[id]/uninstall.ts +1 -0
  941. package/src/astro/routes/api/admin/plugins/registry/[id]/update.ts +29 -10
  942. package/src/astro/routes/api/admin/plugins/registry/artifact.ts +8 -2
  943. package/src/astro/routes/api/admin/plugins/registry/install.ts +15 -4
  944. package/src/astro/routes/api/admin/plugins/registry/verify.ts +2 -1
  945. package/src/astro/routes/api/admin/plugins/updates.ts +6 -1
  946. package/src/astro/routes/api/admin/scheduled-policy-rejections/[collection]/[id].ts +34 -0
  947. package/src/astro/routes/api/comments/[collection]/[contentId]/index.ts +4 -259
  948. package/src/astro/routes/api/content/[collection]/[id]/discard-draft.ts +10 -0
  949. package/src/astro/routes/api/content/[collection]/[id]/lock.ts +133 -0
  950. package/src/astro/routes/api/content/[collection]/[id]/plugin-extensions/[pluginId]/[kind]/[extensionId].ts +29 -0
  951. package/src/astro/routes/api/content/[collection]/[id]/publish.ts +21 -4
  952. package/src/astro/routes/api/content/[collection]/[id]/schedule.ts +30 -1
  953. package/src/astro/routes/api/content/[collection]/[id]/unpublish.ts +15 -1
  954. package/src/astro/routes/api/content/[collection]/[id].ts +27 -2
  955. package/src/astro/routes/api/content/[collection]/index.ts +3 -0
  956. package/src/astro/routes/api/health.ts +23 -0
  957. package/src/astro/routes/api/manifest.ts +14 -4
  958. package/src/astro/routes/api/mcp.ts +2 -1
  959. package/src/astro/routes/api/media/asset/[id]/[filename].ts +50 -0
  960. package/src/astro/routes/api/plugins/[pluginId]/[...path].ts +13 -81
  961. package/src/astro/routes/api/redirects/[id].ts +0 -3
  962. package/src/astro/routes/api/redirects/index.ts +0 -2
  963. package/src/astro/routes/api/search/index.ts +1 -0
  964. package/src/astro/routes/api/visual-editing/action-token.ts +36 -0
  965. package/src/astro/routes/api/visual-editing/content/[collection]/[id]/publish.ts +32 -0
  966. package/src/astro/routes/api/visual-editing/toolbar-labels.ts +16 -0
  967. package/src/astro/routes/sitemap-[collection].xml.ts +11 -4
  968. package/src/astro/types.ts +83 -12
  969. package/src/cli/commands/bundle-utils.ts +19 -19
  970. package/src/cli/commands/bundle.ts +9 -6
  971. package/src/cli/commands/content.ts +32 -6
  972. package/src/cli/commands/doctor.ts +25 -0
  973. package/src/cli/commands/export-seed.ts +195 -56
  974. package/src/cli/commands/migrate.ts +71 -23
  975. package/src/cli/commands/publish.ts +2 -2
  976. package/src/client/index.ts +34 -7
  977. package/src/comments/public-submission.ts +246 -0
  978. package/src/comments/service.ts +59 -12
  979. package/src/components/EmDashBodyEnd.astro +4 -1
  980. package/src/components/EmDashBodyStart.astro +4 -1
  981. package/src/components/EmDashHead.astro +36 -16
  982. package/src/components/Gallery.astro +18 -4
  983. package/src/components/InlineEditor.astro +3 -1
  984. package/src/components/InlinePortableTextEditor.tsx +106 -11
  985. package/src/components/PortableText.astro +4 -0
  986. package/src/components/Table.astro +147 -62
  987. package/src/components/widgets/Archives.astro +6 -5
  988. package/src/config/errors.ts +13 -0
  989. package/src/config/secrets.ts +25 -11
  990. package/src/content/converters/portable-text-to-prosemirror.ts +26 -2
  991. package/src/content/converters/prosemirror-to-portable-text.ts +35 -6
  992. package/src/content/converters/types.ts +10 -0
  993. package/src/content/known-fields.ts +44 -0
  994. package/src/database/connection.ts +5 -1
  995. package/src/database/content-datetime.ts +123 -0
  996. package/src/database/datetime-storage.ts +452 -0
  997. package/src/database/dialect-helpers.ts +161 -1
  998. package/src/database/migration-lock.ts +140 -0
  999. package/src/database/migrations/075_entry_edit_locks.ts +44 -0
  1000. package/src/database/migrations/076_collection_nav_group.ts +22 -0
  1001. package/src/database/migrations/077_plugin_storage_revisions.ts +89 -0
  1002. package/src/database/migrations/078_menu_item_translation_groups.ts +15 -0
  1003. package/src/database/migrations/079_datetime_normalization.ts +13 -0
  1004. package/src/database/migrations/080_content_translation_locale_unique.ts +88 -0
  1005. package/src/database/migrations/081_redirect_write_guards.ts +257 -0
  1006. package/src/database/migrations/082_taxonomy_translation_locale_unique.ts +49 -0
  1007. package/src/database/migrations/runner.ts +63 -15
  1008. package/src/database/pg-migration-lock.ts +2 -2
  1009. package/src/database/repositories/byline.ts +9 -0
  1010. package/src/database/repositories/comment.ts +86 -0
  1011. package/src/database/repositories/content.ts +560 -69
  1012. package/src/database/repositories/entry-locks.ts +257 -0
  1013. package/src/database/repositories/media.ts +35 -4
  1014. package/src/database/repositories/menu.ts +1 -0
  1015. package/src/database/repositories/options.ts +113 -7
  1016. package/src/database/repositories/plugin-storage.ts +159 -0
  1017. package/src/database/repositories/redirect.ts +262 -56
  1018. package/src/database/repositories/revision.ts +116 -17
  1019. package/src/database/repositories/taxonomy.ts +42 -0
  1020. package/src/database/repositories/types.ts +5 -0
  1021. package/src/database/types.ts +26 -1
  1022. package/src/datetime-normalization.ts +311 -0
  1023. package/src/db/node-sqlite-compat.ts +3 -2
  1024. package/src/emdash-runtime.ts +1994 -424
  1025. package/src/fields/image.ts +2 -0
  1026. package/src/i18n/config.ts +6 -6
  1027. package/src/i18n/resolve.ts +98 -15
  1028. package/src/index.ts +101 -0
  1029. package/src/loader.ts +49 -4
  1030. package/src/mcp/server.ts +216 -68
  1031. package/src/media/responsive.ts +23 -0
  1032. package/src/media/usage/content-refresh.ts +2 -1
  1033. package/src/media/usage/extractor.ts +50 -15
  1034. package/src/media/usage/types.ts +1 -1
  1035. package/src/menus/index.ts +64 -35
  1036. package/src/migrations/direct-executor.ts +40 -2
  1037. package/src/migrations/index.ts +1 -0
  1038. package/src/migrations/protocol.ts +11 -1
  1039. package/src/page/seo-contributions.ts +78 -1
  1040. package/src/page/seo-panel.ts +47 -0
  1041. package/src/plugin-test-runtime.ts +17 -0
  1042. package/src/plugin-types.ts +128 -21
  1043. package/src/plugins/adapt-sandbox-entry.ts +34 -27
  1044. package/src/plugins/conditional-storage.ts +30 -0
  1045. package/src/plugins/content-access.ts +170 -0
  1046. package/src/plugins/content-policy.ts +74 -0
  1047. package/src/plugins/context.ts +790 -166
  1048. package/src/plugins/cron.ts +18 -10
  1049. package/src/plugins/define-plugin.ts +55 -54
  1050. package/src/plugins/editor-draft.ts +257 -0
  1051. package/src/plugins/hooks.ts +136 -3
  1052. package/src/plugins/host.ts +29 -0
  1053. package/src/plugins/http-route-dispatch.ts +389 -0
  1054. package/src/plugins/http-wire.ts +180 -0
  1055. package/src/plugins/index.ts +97 -3
  1056. package/src/plugins/install-finalization.ts +77 -0
  1057. package/src/plugins/lifecycle.ts +47 -0
  1058. package/src/plugins/manager.ts +5 -2
  1059. package/src/plugins/manifest-schema.ts +314 -58
  1060. package/src/plugins/media.ts +166 -0
  1061. package/src/plugins/request-meta.ts +12 -2
  1062. package/src/plugins/route-wire.ts +304 -0
  1063. package/src/plugins/routes.ts +38 -5
  1064. package/src/plugins/sandbox/index.ts +4 -0
  1065. package/src/plugins/sandbox/proxy.ts +129 -0
  1066. package/src/plugins/sandbox/types.ts +83 -7
  1067. package/src/plugins/secret-redactor.ts +65 -0
  1068. package/src/plugins/settings.ts +303 -0
  1069. package/src/plugins/state.ts +26 -0
  1070. package/src/plugins/storage-query.ts +45 -0
  1071. package/src/plugins/storage-update.ts +96 -0
  1072. package/src/plugins/types.ts +602 -15
  1073. package/src/query.ts +84 -4
  1074. package/src/registry/authoritative-records.ts +26 -0
  1075. package/src/registry/config.ts +182 -31
  1076. package/src/registry/testing.ts +100 -0
  1077. package/src/registry/types.ts +12 -70
  1078. package/src/scheduled-publish.ts +70 -3
  1079. package/src/schema/collection-slugs-cache.ts +157 -0
  1080. package/src/schema/index.ts +1 -0
  1081. package/src/schema/registry.ts +64 -1
  1082. package/src/schema/types.ts +32 -6
  1083. package/src/schema/zod-generator.ts +5 -13
  1084. package/src/search/fts-manager.ts +3 -3
  1085. package/src/search/query.ts +32 -5
  1086. package/src/search/types.ts +8 -0
  1087. package/src/security/ssrf.ts +167 -141
  1088. package/src/seed/apply.ts +41 -3
  1089. package/src/seed/types.ts +13 -3
  1090. package/src/seed/validate.ts +18 -1
  1091. package/src/seo/hreflang.ts +10 -6
  1092. package/src/seo/index.ts +5 -10
  1093. package/src/seo/media-url.ts +26 -0
  1094. package/src/settings/index.ts +53 -11
  1095. package/src/taxonomies/term-counts.ts +22 -5
  1096. package/src/visual-editing/action-token.ts +31 -0
  1097. package/src/visual-editing/toolbar-bootstrap.ts +31 -6
  1098. package/src/visual-editing/toolbar.ts +103 -12
  1099. package/src/widgets/archives.ts +10 -9
  1100. package/src/widgets/index.ts +11 -1
  1101. package/dist/activation-K0kGBWuJ.mjs +0 -382
  1102. package/dist/activation-K0kGBWuJ.mjs.map +0 -1
  1103. package/dist/adapters-BDQwg236.d.mts +0 -171
  1104. package/dist/adapters-BDQwg236.d.mts.map +0 -1
  1105. package/dist/after-CBU2vkoO.mjs +0 -96
  1106. package/dist/after-CBU2vkoO.mjs.map +0 -1
  1107. package/dist/allowed-origins-BGglilcs.mjs +0 -116
  1108. package/dist/allowed-origins-BGglilcs.mjs.map +0 -1
  1109. package/dist/api-Dz6rgoa3.mjs +0 -10040
  1110. package/dist/api-Dz6rgoa3.mjs.map +0 -1
  1111. package/dist/api-tokens-BSsQACNe.mjs +0 -163
  1112. package/dist/api-tokens-BSsQACNe.mjs.map +0 -1
  1113. package/dist/apply-B4SIOxR1.mjs +0 -980
  1114. package/dist/apply-B4SIOxR1.mjs.map +0 -1
  1115. package/dist/authorize-Bkf_UHhD.mjs +0 -40
  1116. package/dist/authorize-Bkf_UHhD.mjs.map +0 -1
  1117. package/dist/backup-rwVAl9NI.mjs +0 -241
  1118. package/dist/backup-rwVAl9NI.mjs.map +0 -1
  1119. package/dist/base64-CvLhUKQv.mjs +0 -63
  1120. package/dist/base64-CvLhUKQv.mjs.map +0 -1
  1121. package/dist/bundle-C8S2Zl6U.mjs +0 -663
  1122. package/dist/bundle-C8S2Zl6U.mjs.map +0 -1
  1123. package/dist/byline-DuhF7NWl.mjs +0 -902
  1124. package/dist/byline-DuhF7NWl.mjs.map +0 -1
  1125. package/dist/byline-fields-BovY4KYM.mjs +0 -123
  1126. package/dist/byline-fields-BovY4KYM.mjs.map +0 -1
  1127. package/dist/byline-registry-Bpu9-MVs.mjs +0 -406
  1128. package/dist/byline-registry-Bpu9-MVs.mjs.map +0 -1
  1129. package/dist/bylines-CJ5nd6Lw.mjs +0 -232
  1130. package/dist/bylines-CJ5nd6Lw.mjs.map +0 -1
  1131. package/dist/bylines-RwBAeOF1.mjs +0 -214
  1132. package/dist/bylines-RwBAeOF1.mjs.map +0 -1
  1133. package/dist/cache-BF5Kvn59.mjs +0 -108
  1134. package/dist/cache-BF5Kvn59.mjs.map +0 -1
  1135. package/dist/capture-triggers-CNW1q3HK.mjs +0 -362
  1136. package/dist/capture-triggers-CNW1q3HK.mjs.map +0 -1
  1137. package/dist/challenge-store-DQN_Yrck.mjs +0 -51
  1138. package/dist/challenge-store-DQN_Yrck.mjs.map +0 -1
  1139. package/dist/chrome-tags-D8fiZG94.mjs +0 -24
  1140. package/dist/chrome-tags-D8fiZG94.mjs.map +0 -1
  1141. package/dist/chunks-C4szrD8o.mjs +0 -25
  1142. package/dist/chunks-C4szrD8o.mjs.map +0 -1
  1143. package/dist/collection-deletion-Bj07NHbj.mjs +0 -436
  1144. package/dist/collection-deletion-Bj07NHbj.mjs.map +0 -1
  1145. package/dist/comment-reaction-BhrvSHml.mjs +0 -85
  1146. package/dist/comment-reaction-BhrvSHml.mjs.map +0 -1
  1147. package/dist/comment-vxOzWbZN.mjs +0 -255
  1148. package/dist/comment-vxOzWbZN.mjs.map +0 -1
  1149. package/dist/comments-Ct4ensnf.mjs +0 -204
  1150. package/dist/comments-Ct4ensnf.mjs.map +0 -1
  1151. package/dist/components-DJbo1z0S.mjs +0 -108
  1152. package/dist/components-DJbo1z0S.mjs.map +0 -1
  1153. package/dist/config-B9eZ340f.d.mts +0 -34
  1154. package/dist/config-B9eZ340f.d.mts.map +0 -1
  1155. package/dist/config-C3EBstHi.mjs +0 -72
  1156. package/dist/config-C3EBstHi.mjs.map +0 -1
  1157. package/dist/config-it29yDLA.mjs +0 -1163
  1158. package/dist/config-it29yDLA.mjs.map +0 -1
  1159. package/dist/content-DjvM0T92.mjs +0 -1725
  1160. package/dist/content-DjvM0T92.mjs.map +0 -1
  1161. package/dist/content-list-query-Btqd4uV2.d.mts +0 -26
  1162. package/dist/content-list-query-Btqd4uV2.d.mts.map +0 -1
  1163. package/dist/content-refresh-Bwp-8yGy.mjs +0 -3588
  1164. package/dist/content-refresh-Bwp-8yGy.mjs.map +0 -1
  1165. package/dist/content-repair-Czdp7jz5.mjs +0 -440
  1166. package/dist/content-repair-Czdp7jz5.mjs.map +0 -1
  1167. package/dist/context-CX6gxOLW.mjs +0 -1068
  1168. package/dist/context-CX6gxOLW.mjs.map +0 -1
  1169. package/dist/cron-C6o7VppJ.mjs +0 -277
  1170. package/dist/cron-C6o7VppJ.mjs.map +0 -1
  1171. package/dist/dashboard-C2kTeeRI.mjs +0 -140
  1172. package/dist/dashboard-C2kTeeRI.mjs.map +0 -1
  1173. package/dist/db-errors-Cl-sKYTm.mjs +0 -55
  1174. package/dist/db-errors-Cl-sKYTm.mjs.map +0 -1
  1175. package/dist/default-Clra32mw.mjs +0 -81
  1176. package/dist/default-Clra32mw.mjs.map +0 -1
  1177. package/dist/deferred-tasks-CvDETTJO.d.mts +0 -9
  1178. package/dist/deferred-tasks-CvDETTJO.d.mts.map +0 -1
  1179. package/dist/dev-typegen-DzOPfsNj.mjs +0 -29
  1180. package/dist/dev-typegen-DzOPfsNj.mjs.map +0 -1
  1181. package/dist/device-flow-D2oCWvLJ.mjs +0 -466
  1182. package/dist/device-flow-D2oCWvLJ.mjs.map +0 -1
  1183. package/dist/dialect-helpers-BSbfaO3F.mjs +0 -202
  1184. package/dist/dialect-helpers-BSbfaO3F.mjs.map +0 -1
  1185. package/dist/direct-executor-Bfa5_ToE.mjs +0 -85
  1186. package/dist/direct-executor-Bfa5_ToE.mjs.map +0 -1
  1187. package/dist/dist-89xCrGqi.mjs +0 -810
  1188. package/dist/dist-89xCrGqi.mjs.map +0 -1
  1189. package/dist/email-console-Dzb6uGYa.mjs +0 -50
  1190. package/dist/email-console-Dzb6uGYa.mjs.map +0 -1
  1191. package/dist/enrich-BX0IDp4z.mjs +0 -194
  1192. package/dist/enrich-BX0IDp4z.mjs.map +0 -1
  1193. package/dist/error-DFrQjppn.mjs +0 -90
  1194. package/dist/error-DFrQjppn.mjs.map +0 -1
  1195. package/dist/errors-DsVoDUjJ.mjs +0 -427
  1196. package/dist/errors-DsVoDUjJ.mjs.map +0 -1
  1197. package/dist/escape-HmHTC1Is.mjs +0 -9
  1198. package/dist/escape-HmHTC1Is.mjs.map +0 -1
  1199. package/dist/field-defs-cache-BM4SIRqH.mjs +0 -77
  1200. package/dist/field-defs-cache-BM4SIRqH.mjs.map +0 -1
  1201. package/dist/focal-point-BeWFo6Xx.mjs +0 -23
  1202. package/dist/focal-point-BeWFo6Xx.mjs.map +0 -1
  1203. package/dist/fts-manager-Do1BlW2r.mjs +0 -413
  1204. package/dist/fts-manager-Do1BlW2r.mjs.map +0 -1
  1205. package/dist/hash-3JJPlHF2.mjs +0 -37
  1206. package/dist/hash-3JJPlHF2.mjs.map +0 -1
  1207. package/dist/hook-result-DCh2WUpe.d.mts +0 -31
  1208. package/dist/hook-result-DCh2WUpe.d.mts.map +0 -1
  1209. package/dist/hreflang-B6hbAuuO.d.mts +0 -48
  1210. package/dist/hreflang-B6hbAuuO.d.mts.map +0 -1
  1211. package/dist/hreflang-DQbPZliA.mjs +0 -102
  1212. package/dist/hreflang-DQbPZliA.mjs.map +0 -1
  1213. package/dist/identity-DksvEazf.mjs +0 -35
  1214. package/dist/identity-DksvEazf.mjs.map +0 -1
  1215. package/dist/import-CJpaBBBT.mjs +0 -2020
  1216. package/dist/import-CJpaBBBT.mjs.map +0 -1
  1217. package/dist/index-BJNMCWmu.d.mts +0 -6562
  1218. package/dist/index-BJNMCWmu.d.mts.map +0 -1
  1219. package/dist/index-Du8K7bWa.d.mts +0 -278
  1220. package/dist/index-Du8K7bWa.d.mts.map +0 -1
  1221. package/dist/init-lock-DJkX6Hto.mjs +0 -56
  1222. package/dist/init-lock-DJkX6Hto.mjs.map +0 -1
  1223. package/dist/load-CawHjTOH.mjs +0 -28
  1224. package/dist/load-CawHjTOH.mjs.map +0 -1
  1225. package/dist/loader-Z8vl7zTq.mjs +0 -966
  1226. package/dist/loader-Z8vl7zTq.mjs.map +0 -1
  1227. package/dist/manifest-builder-COtzuca2.mjs +0 -189
  1228. package/dist/manifest-builder-COtzuca2.mjs.map +0 -1
  1229. package/dist/manifest-schema-BNWwR8Vd.mjs +0 -301
  1230. package/dist/manifest-schema-BNWwR8Vd.mjs.map +0 -1
  1231. package/dist/media-BBm8Wg3f.mjs +0 -318
  1232. package/dist/media-BBm8Wg3f.mjs.map +0 -1
  1233. package/dist/media-BHjus86Y.mjs +0 -464
  1234. package/dist/media-BHjus86Y.mjs.map +0 -1
  1235. package/dist/media-allowlist-CoTBWoDp.mjs +0 -44
  1236. package/dist/media-allowlist-CoTBWoDp.mjs.map +0 -1
  1237. package/dist/media-folders-BGkATs8n.mjs +0 -210
  1238. package/dist/media-folders-BGkATs8n.mjs.map +0 -1
  1239. package/dist/media-upload-BCidR-EY.mjs +0 -147
  1240. package/dist/media-upload-BCidR-EY.mjs.map +0 -1
  1241. package/dist/media-url-DHoPr0hq.mjs +0 -26
  1242. package/dist/media-url-DHoPr0hq.mjs.map +0 -1
  1243. package/dist/media-usage-CdY5jhSR.mjs +0 -1833
  1244. package/dist/media-usage-CdY5jhSR.mjs.map +0 -1
  1245. package/dist/media-usage-activation-BgeMtK5C.mjs +0 -78
  1246. package/dist/media-usage-activation-BgeMtK5C.mjs.map +0 -1
  1247. package/dist/media-usage-work-CnGCdHxx.mjs +0 -152
  1248. package/dist/media-usage-work-CnGCdHxx.mjs.map +0 -1
  1249. package/dist/media-usage-work-D6D9sMCA.mjs +0 -586
  1250. package/dist/media-usage-work-D6D9sMCA.mjs.map +0 -1
  1251. package/dist/media-usage-write-fence-hjeD4u7s.mjs +0 -42
  1252. package/dist/media-usage-write-fence-hjeD4u7s.mjs.map +0 -1
  1253. package/dist/menus-6qSwTNxG.mjs +0 -4010
  1254. package/dist/menus-6qSwTNxG.mjs.map +0 -1
  1255. package/dist/menus-uvPLXMZf.mjs +0 -744
  1256. package/dist/menus-uvPLXMZf.mjs.map +0 -1
  1257. package/dist/mime-CUIG6x84.mjs +0 -36
  1258. package/dist/mime-CUIG6x84.mjs.map +0 -1
  1259. package/dist/mode-DN_WneRx.mjs +0 -23
  1260. package/dist/mode-DN_WneRx.mjs.map +0 -1
  1261. package/dist/node-sqlite-compat-BuJXIeMz.mjs +0 -46
  1262. package/dist/node-sqlite-compat-BuJXIeMz.mjs.map +0 -1
  1263. package/dist/normalize-C2xNjTSG.mjs +0 -191
  1264. package/dist/normalize-C2xNjTSG.mjs.map +0 -1
  1265. package/dist/oauth-authorization-Dj6Kwc21.mjs +0 -274
  1266. package/dist/oauth-authorization-Dj6Kwc21.mjs.map +0 -1
  1267. package/dist/oauth-clients-FD7I0J8m.mjs +0 -266
  1268. package/dist/oauth-clients-FD7I0J8m.mjs.map +0 -1
  1269. package/dist/oauth-state-store-DkmDOmHs.mjs +0 -50
  1270. package/dist/oauth-state-store-DkmDOmHs.mjs.map +0 -1
  1271. package/dist/oauth-user-lookup-CvIwGpYd.mjs +0 -26
  1272. package/dist/oauth-user-lookup-CvIwGpYd.mjs.map +0 -1
  1273. package/dist/object-cache-DVKnyOfy.mjs +0 -534
  1274. package/dist/object-cache-DVKnyOfy.mjs.map +0 -1
  1275. package/dist/options-BHPeIbBd.mjs +0 -117
  1276. package/dist/options-BHPeIbBd.mjs.map +0 -1
  1277. package/dist/options-CYb4y7hM.d.mts +0 -221
  1278. package/dist/options-CYb4y7hM.d.mts.map +0 -1
  1279. package/dist/parse-Ckpg-Qfp.mjs +0 -81
  1280. package/dist/parse-Ckpg-Qfp.mjs.map +0 -1
  1281. package/dist/passkey-config-O_lj3y0k.mjs +0 -46
  1282. package/dist/passkey-config-O_lj3y0k.mjs.map +0 -1
  1283. package/dist/patterns-D9iDO3j8.mjs +0 -145
  1284. package/dist/patterns-D9iDO3j8.mjs.map +0 -1
  1285. package/dist/placeholder-4X9BrRrp.d.mts +0 -306
  1286. package/dist/placeholder-4X9BrRrp.d.mts.map +0 -1
  1287. package/dist/policy-Dhtwntrt.mjs +0 -45
  1288. package/dist/policy-Dhtwntrt.mjs.map +0 -1
  1289. package/dist/portable-text-U85hOafW.mjs +0 -286
  1290. package/dist/portable-text-U85hOafW.mjs.map +0 -1
  1291. package/dist/preview-B_vJLvf8.mjs +0 -107
  1292. package/dist/preview-B_vJLvf8.mjs.map +0 -1
  1293. package/dist/protocol-JdD2YhY9.d.mts +0 -52
  1294. package/dist/protocol-JdD2YhY9.d.mts.map +0 -1
  1295. package/dist/public-url-CarhZJgf.mjs +0 -101
  1296. package/dist/public-url-CarhZJgf.mjs.map +0 -1
  1297. package/dist/query-BZKZcG5b.mjs +0 -881
  1298. package/dist/query-BZKZcG5b.mjs.map +0 -1
  1299. package/dist/query-BndaFxxp.mjs +0 -41
  1300. package/dist/query-BndaFxxp.mjs.map +0 -1
  1301. package/dist/rate-limit-BZmATC6W.mjs +0 -120
  1302. package/dist/rate-limit-BZmATC6W.mjs.map +0 -1
  1303. package/dist/redirect-CZkbozu9.mjs +0 -313
  1304. package/dist/redirect-CZkbozu9.mjs.map +0 -1
  1305. package/dist/redirect-CzqnLxK-.mjs +0 -17
  1306. package/dist/redirect-CzqnLxK-.mjs.map +0 -1
  1307. package/dist/redirects-BLNOWQTn.mjs +0 -1238
  1308. package/dist/redirects-BLNOWQTn.mjs.map +0 -1
  1309. package/dist/redirects-CqzNM0KM.mjs +0 -579
  1310. package/dist/redirects-CqzNM0KM.mjs.map +0 -1
  1311. package/dist/registry-AZAsRsor.mjs +0 -1179
  1312. package/dist/registry-AZAsRsor.mjs.map +0 -1
  1313. package/dist/relation-04DfKRTO.mjs +0 -334
  1314. package/dist/relation-04DfKRTO.mjs.map +0 -1
  1315. package/dist/relations-C4htk5sb.mjs +0 -309
  1316. package/dist/relations-C4htk5sb.mjs.map +0 -1
  1317. package/dist/relations-CcFwDJdJ.mjs +0 -403
  1318. package/dist/relations-CcFwDJdJ.mjs.map +0 -1
  1319. package/dist/relations-DnRK4YIT.d.mts +0 -3354
  1320. package/dist/relations-DnRK4YIT.d.mts.map +0 -1
  1321. package/dist/request-cache-DH9zdCOD.mjs +0 -104
  1322. package/dist/request-cache-DH9zdCOD.mjs.map +0 -1
  1323. package/dist/request-meta-DYxLlnmz.mjs +0 -140
  1324. package/dist/request-meta-DYxLlnmz.mjs.map +0 -1
  1325. package/dist/resolve-prZ3mP7l.mjs +0 -143
  1326. package/dist/resolve-prZ3mP7l.mjs.map +0 -1
  1327. package/dist/runner-BLIDKpmA.mjs +0 -4676
  1328. package/dist/runner-BLIDKpmA.mjs.map +0 -1
  1329. package/dist/runner-YKfIMnaF.d.mts +0 -67
  1330. package/dist/runner-YKfIMnaF.d.mts.map +0 -1
  1331. package/dist/schema-CGnBeLiW.mjs +0 -9
  1332. package/dist/schema-CGnBeLiW.mjs.map +0 -1
  1333. package/dist/schema-DYr-Vd-L.mjs +0 -420
  1334. package/dist/schema-DYr-Vd-L.mjs.map +0 -1
  1335. package/dist/scopes-BhWvBavj.mjs +0 -27
  1336. package/dist/scopes-BhWvBavj.mjs.map +0 -1
  1337. package/dist/search-C-qDk4kx.mjs +0 -439
  1338. package/dist/search-C-qDk4kx.mjs.map +0 -1
  1339. package/dist/secrets-rEtHt-6z.mjs +0 -330
  1340. package/dist/secrets-rEtHt-6z.mjs.map +0 -1
  1341. package/dist/sections-B_nYvlwn.mjs +0 -346
  1342. package/dist/sections-B_nYvlwn.mjs.map +0 -1
  1343. package/dist/seo-926NRIgt.mjs +0 -133
  1344. package/dist/seo-926NRIgt.mjs.map +0 -1
  1345. package/dist/seo-CVWkdv6x.mjs +0 -113
  1346. package/dist/seo-CVWkdv6x.mjs.map +0 -1
  1347. package/dist/service-CJl3ZAYs.mjs +0 -195
  1348. package/dist/service-CJl3ZAYs.mjs.map +0 -1
  1349. package/dist/session-user-BlMgqCHS.mjs +0 -51
  1350. package/dist/session-user-BlMgqCHS.mjs.map +0 -1
  1351. package/dist/settings--wobrkkC.mjs +0 -258
  1352. package/dist/settings--wobrkkC.mjs.map +0 -1
  1353. package/dist/settings-Cwm6o2jY.mjs +0 -51
  1354. package/dist/settings-Cwm6o2jY.mjs.map +0 -1
  1355. package/dist/setup-complete-DQbClIN2.mjs +0 -26
  1356. package/dist/setup-complete-DQbClIN2.mjs.map +0 -1
  1357. package/dist/setup-nonce-DZCFS2sn.mjs +0 -25
  1358. package/dist/setup-nonce-DZCFS2sn.mjs.map +0 -1
  1359. package/dist/single-flight-cache-BPuGPdcN.mjs +0 -104
  1360. package/dist/single-flight-cache-BPuGPdcN.mjs.map +0 -1
  1361. package/dist/site-url-BrxA_E9H.mjs +0 -16
  1362. package/dist/site-url-BrxA_E9H.mjs.map +0 -1
  1363. package/dist/slugify-B994zkXC.mjs +0 -17
  1364. package/dist/slugify-B994zkXC.mjs.map +0 -1
  1365. package/dist/snapshot--OCDTqdb.mjs +0 -216
  1366. package/dist/snapshot--OCDTqdb.mjs.map +0 -1
  1367. package/dist/ssrf-5sIM5jzl.mjs +0 -349
  1368. package/dist/ssrf-5sIM5jzl.mjs.map +0 -1
  1369. package/dist/state-BpFVsJZB.mjs +0 -136
  1370. package/dist/state-BpFVsJZB.mjs.map +0 -1
  1371. package/dist/status-B777-dXz.mjs +0 -30
  1372. package/dist/status-B777-dXz.mjs.map +0 -1
  1373. package/dist/target-BmR0iTwz.mjs +0 -27
  1374. package/dist/target-BmR0iTwz.mjs.map +0 -1
  1375. package/dist/taxonomies-DkAkMupr.mjs +0 -837
  1376. package/dist/taxonomies-DkAkMupr.mjs.map +0 -1
  1377. package/dist/taxonomies-Wfy_Lg12.mjs +0 -698
  1378. package/dist/taxonomies-Wfy_Lg12.mjs.map +0 -1
  1379. package/dist/taxonomy-tJepplLL.mjs +0 -484
  1380. package/dist/taxonomy-tJepplLL.mjs.map +0 -1
  1381. package/dist/tokens-BCO1oruF.mjs +0 -171
  1382. package/dist/tokens-BCO1oruF.mjs.map +0 -1
  1383. package/dist/transaction-0KOpOyMu.mjs +0 -29
  1384. package/dist/transaction-0KOpOyMu.mjs.map +0 -1
  1385. package/dist/transport-Dr3qtwXC.mjs +0 -136
  1386. package/dist/transport-Dr3qtwXC.mjs.map +0 -1
  1387. package/dist/transport-xh6YKW2G.d.mts +0 -42
  1388. package/dist/transport-xh6YKW2G.d.mts.map +0 -1
  1389. package/dist/trusted-proxy-BR5F1Otp.mjs +0 -51
  1390. package/dist/trusted-proxy-BR5F1Otp.mjs.map +0 -1
  1391. package/dist/types-3qNFPlci.mjs +0 -16
  1392. package/dist/types-3qNFPlci.mjs.map +0 -1
  1393. package/dist/types-75KIqzL9.mjs +0 -142
  1394. package/dist/types-75KIqzL9.mjs.map +0 -1
  1395. package/dist/types-B6GrPic4.d.mts +0 -1335
  1396. package/dist/types-B6GrPic4.d.mts.map +0 -1
  1397. package/dist/types-BuHW4xDE.d.mts +0 -259
  1398. package/dist/types-BuHW4xDE.d.mts.map +0 -1
  1399. package/dist/types-C00oyCZp.d.mts +0 -198
  1400. package/dist/types-C00oyCZp.d.mts.map +0 -1
  1401. package/dist/types-CDtkNSFQ.d.mts +0 -75
  1402. package/dist/types-CDtkNSFQ.d.mts.map +0 -1
  1403. package/dist/types-CPeXo1wF.d.mts +0 -124
  1404. package/dist/types-CPeXo1wF.d.mts.map +0 -1
  1405. package/dist/types-CQPWhPxE.mjs +0 -92
  1406. package/dist/types-CQPWhPxE.mjs.map +0 -1
  1407. package/dist/types-CXFkwEGC.d.mts +0 -198
  1408. package/dist/types-CXFkwEGC.d.mts.map +0 -1
  1409. package/dist/types-DM3vioBY.mjs +0 -18
  1410. package/dist/types-DM3vioBY.mjs.map +0 -1
  1411. package/dist/types-DczELMop.d.mts +0 -363
  1412. package/dist/types-DczELMop.d.mts.map +0 -1
  1413. package/dist/types-DfuTR6dL.mjs +0 -3
  1414. package/dist/types-FV23hEoW.d.mts +0 -743
  1415. package/dist/types-FV23hEoW.d.mts.map +0 -1
  1416. package/dist/types-xDMtUFnO.d.mts +0 -257
  1417. package/dist/types-xDMtUFnO.d.mts.map +0 -1
  1418. package/dist/upload-attempts-BsqoQ1fn.mjs +0 -27
  1419. package/dist/upload-attempts-BsqoQ1fn.mjs.map +0 -1
  1420. package/dist/url-pattern-D4c2czpJ.mjs +0 -33
  1421. package/dist/url-pattern-D4c2czpJ.mjs.map +0 -1
  1422. package/dist/user-BTZ40aq6.mjs +0 -171
  1423. package/dist/user-BTZ40aq6.mjs.map +0 -1
  1424. package/dist/utils-BKvNjjhY.mjs +0 -435
  1425. package/dist/utils-BKvNjjhY.mjs.map +0 -1
  1426. package/dist/validate-BpwoDOgt.mjs +0 -120
  1427. package/dist/validate-BpwoDOgt.mjs.map +0 -1
  1428. package/dist/validate-DE_LRwo9.mjs +0 -379
  1429. package/dist/validate-DE_LRwo9.mjs.map +0 -1
  1430. package/dist/validate-DUP27OYD.d.mts +0 -400
  1431. package/dist/validate-DUP27OYD.d.mts.map +0 -1
  1432. package/dist/validation-BMImFJ11.mjs +0 -153
  1433. package/dist/validation-BMImFJ11.mjs.map +0 -1
  1434. package/dist/version-Bii3suaO.mjs +0 -7
  1435. package/dist/version-Bii3suaO.mjs.map +0 -1
  1436. package/dist/widgets-D3gJ10xU.mjs +0 -122
  1437. package/dist/widgets-D3gJ10xU.mjs.map +0 -1
  1438. package/dist/wxr-taxonomies-B2Og_6rU.d.mts +0 -34
  1439. package/dist/wxr-taxonomies-B2Og_6rU.d.mts.map +0 -1
  1440. package/dist/wxr-taxonomies-Cxngsjwo.mjs +0 -406
  1441. package/dist/wxr-taxonomies-Cxngsjwo.mjs.map +0 -1
  1442. package/dist/zod-generator-BuYSQJB7.mjs +0 -331
  1443. package/dist/zod-generator-BuYSQJB7.mjs.map +0 -1
  1444. /package/dist/{api-tokens-BfYts-sq.mjs → api-tokens-DS1VzN7_.mjs} +0 -0
  1445. /package/dist/{ssrf-Dg3cIT-b.mjs → ssrf-BRpTDMV6.mjs} +0 -0
@@ -0,0 +1,3503 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/api/schemas/common.d.ts
4
+ /** Valid role level values */
5
+ declare const VALID_ROLE_LEVELS: Set<number>;
6
+ /** Role level — coerces string/number to valid RoleLevel (10|20|30|40|50) */
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
+ /** Pagination query params — cursor-based */
9
+ declare const cursorPaginationQuery: z.ZodObject<{
10
+ cursor: z.ZodOptional<z.ZodString>;
11
+ limit: z.ZodDefault<z.ZodOptional<z.ZodCoercedNumber<unknown>>>;
12
+ }, z.core.$strip>;
13
+ /** Pagination query params — offset-based */
14
+ declare const offsetPaginationQuery: z.ZodObject<{
15
+ limit: z.ZodDefault<z.ZodOptional<z.ZodCoercedNumber<unknown>>>;
16
+ offset: z.ZodDefault<z.ZodOptional<z.ZodCoercedNumber<unknown>>>;
17
+ }, z.core.$strip>;
18
+ /** Slug pattern: lowercase letters, digits, underscores; starts with letter */
19
+ declare const slugPattern: RegExp;
20
+ /** Validates that a URL string uses http or https scheme. Rejects javascript:/data: URI XSS vectors. */
21
+ declare const httpUrl: z.ZodURL;
22
+ /**
23
+ * BCP 47 locale code — language with optional script/region subtags (e.g. en, en-US, pt-BR, es-419, zh-Hant).
24
+ * Validation is case-insensitive, but the value is preserved verbatim because the site config, stored
25
+ * `locale` columns, and public query path all keep the raw BCP-47 casing.
26
+ */
27
+ declare const localeCode: z.ZodString;
28
+ /** Shared `?locale=xx` query shape for endpoints that filter by locale. */
29
+ declare const localeFilterQuery: z.ZodObject<{
30
+ locale: z.ZodOptional<z.ZodString>;
31
+ }, z.core.$strip>;
32
+ /** Standard API error response */
33
+ declare const apiErrorSchema: z.ZodObject<{
34
+ success: z.ZodLiteral<false>;
35
+ error: z.ZodObject<{
36
+ code: z.ZodString;
37
+ message: z.ZodString;
38
+ }, z.core.$strip>;
39
+ }, z.core.$strip>;
40
+ /** Wrap a data schema in the standard success envelope: { success: true, data: T } */
41
+ declare function successEnvelope<T extends z.ZodType>(dataSchema: T): z.ZodObject<{
42
+ success: z.ZodLiteral<true>;
43
+ data: T;
44
+ }, z.core.$strip>;
45
+ /** Standard delete response */
46
+ declare const deleteResponseSchema: z.ZodObject<{
47
+ deleted: z.ZodLiteral<true>;
48
+ }, z.core.$strip>;
49
+ /** Standard count response */
50
+ declare const countResponseSchema: z.ZodObject<{
51
+ count: z.ZodNumber;
52
+ }, z.core.$strip>;
53
+ //#endregion
54
+ //#region src/api/schemas/content.d.ts
55
+ /** SEO input — per-content meta fields */
56
+ declare const contentSeoInput: z.ZodObject<{
57
+ title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
58
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
59
+ image: z.ZodOptional<z.ZodNullable<z.ZodString>>;
60
+ canonical: z.ZodOptional<z.ZodNullable<z.ZodURL>>;
61
+ noIndex: z.ZodOptional<z.ZodBoolean>;
62
+ }, z.core.$strip>;
63
+ /** AND-combined filters over custom fields explicitly marked as indexed. */
64
+ declare const contentFieldFiltersSchema: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>, z.ZodBoolean, z.ZodNull]>, z.ZodObject<{
65
+ in: z.ZodArray<z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>, z.ZodBoolean]>>;
66
+ }, z.core.$strict>, z.ZodObject<{
67
+ gt: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
68
+ gte: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
69
+ lt: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
70
+ lte: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
71
+ }, z.core.$strict>]>>;
72
+ declare const contentListQuery: z.ZodPipe<z.ZodObject<{
73
+ cursor: z.ZodOptional<z.ZodString>;
74
+ limit: z.ZodDefault<z.ZodOptional<z.ZodCoercedNumber<unknown>>>;
75
+ status: z.ZodOptional<z.ZodString>;
76
+ orderBy: z.ZodOptional<z.ZodString>;
77
+ order: z.ZodOptional<z.ZodEnum<{
78
+ asc: "asc";
79
+ desc: "desc";
80
+ }>>;
81
+ locale: z.ZodOptional<z.ZodString>;
82
+ q: z.ZodOptional<z.ZodString>;
83
+ authorId: z.ZodOptional<z.ZodString>;
84
+ dateField: z.ZodOptional<z.ZodEnum<{
85
+ createdAt: "createdAt";
86
+ updatedAt: "updatedAt";
87
+ publishedAt: "publishedAt";
88
+ }>>;
89
+ dateFrom: z.ZodOptional<z.ZodUnion<readonly [z.ZodUnion<[z.ZodISODateTime, z.ZodISODateTime]>, z.ZodISODate]>>;
90
+ dateTo: z.ZodOptional<z.ZodUnion<readonly [z.ZodUnion<[z.ZodISODateTime, z.ZodISODateTime]>, z.ZodISODate]>>;
91
+ bylines: z.ZodPipe<z.ZodOptional<z.ZodString>, z.ZodTransform<string[] | "none" | undefined, string | undefined>>;
92
+ includeInferredBylines: z.ZodPipe<z.ZodOptional<z.ZodEnum<{
93
+ true: "true";
94
+ 0: "0";
95
+ false: "false";
96
+ 1: "1";
97
+ }>>, z.ZodTransform<boolean, "true" | "0" | "false" | "1" | undefined>>;
98
+ fieldFilters: z.ZodOptional<z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<unknown, string>>, z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>, z.ZodBoolean, z.ZodNull]>, z.ZodObject<{
99
+ in: z.ZodArray<z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>, z.ZodBoolean]>>;
100
+ }, z.core.$strict>, z.ZodObject<{
101
+ gt: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
102
+ gte: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
103
+ lt: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
104
+ lte: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
105
+ }, z.core.$strict>]>>>>;
106
+ }, z.core.$strip>, z.ZodTransform<{
107
+ bylinesNone: boolean;
108
+ bylines: string[] | undefined;
109
+ limit: number;
110
+ includeInferredBylines: boolean;
111
+ cursor?: string | undefined;
112
+ status?: string | undefined;
113
+ orderBy?: string | undefined;
114
+ order?: "asc" | "desc" | undefined;
115
+ locale?: string | undefined;
116
+ q?: string | undefined;
117
+ authorId?: string | undefined;
118
+ dateField?: "createdAt" | "updatedAt" | "publishedAt" | undefined;
119
+ dateFrom?: string | undefined;
120
+ dateTo?: string | undefined;
121
+ fieldFilters?: Record<string, string | number | boolean | {
122
+ gt?: string | number | undefined;
123
+ gte?: string | number | undefined;
124
+ lt?: string | number | undefined;
125
+ lte?: string | number | undefined;
126
+ } | {
127
+ in: (string | number | boolean)[];
128
+ } | null> | undefined;
129
+ }, {
130
+ limit: number;
131
+ bylines: string[] | "none" | undefined;
132
+ includeInferredBylines: boolean;
133
+ cursor?: string | undefined;
134
+ status?: string | undefined;
135
+ orderBy?: string | undefined;
136
+ order?: "asc" | "desc" | undefined;
137
+ locale?: string | undefined;
138
+ q?: string | undefined;
139
+ authorId?: string | undefined;
140
+ dateField?: "createdAt" | "updatedAt" | "publishedAt" | undefined;
141
+ dateFrom?: string | undefined;
142
+ dateTo?: string | undefined;
143
+ fieldFilters?: Record<string, string | number | boolean | {
144
+ gt?: string | number | undefined;
145
+ gte?: string | number | undefined;
146
+ lt?: string | number | undefined;
147
+ lte?: string | number | undefined;
148
+ } | {
149
+ in: (string | number | boolean)[];
150
+ } | null> | undefined;
151
+ }>>;
152
+ declare const contentCreateBody: z.ZodObject<{
153
+ data: z.ZodRecord<z.ZodString, z.ZodUnknown>;
154
+ slug: z.ZodOptional<z.ZodNullable<z.ZodString>>;
155
+ status: z.ZodOptional<z.ZodEnum<{
156
+ draft: "draft";
157
+ }>>;
158
+ bylines: z.ZodOptional<z.ZodArray<z.ZodObject<{
159
+ bylineId: z.ZodString;
160
+ roleLabel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
161
+ }, z.core.$strip>>>;
162
+ locale: z.ZodOptional<z.ZodString>;
163
+ translationOf: z.ZodOptional<z.ZodString>;
164
+ seo: z.ZodOptional<z.ZodObject<{
165
+ title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
166
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
167
+ image: z.ZodOptional<z.ZodNullable<z.ZodString>>;
168
+ canonical: z.ZodOptional<z.ZodNullable<z.ZodURL>>;
169
+ noIndex: z.ZodOptional<z.ZodBoolean>;
170
+ }, z.core.$strip>>;
171
+ taxonomies: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString>>>;
172
+ publishedAt: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodISODateTime, z.ZodISODateTime]>>>;
173
+ createdAt: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodISODateTime, z.ZodISODateTime]>>>;
174
+ }, z.core.$strip>;
175
+ declare const contentUpdateBody: z.ZodObject<{
176
+ data: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
177
+ slug: z.ZodOptional<z.ZodNullable<z.ZodString>>;
178
+ status: z.ZodOptional<z.ZodEnum<{
179
+ draft: "draft";
180
+ }>>;
181
+ authorId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
182
+ bylines: z.ZodOptional<z.ZodArray<z.ZodObject<{
183
+ bylineId: z.ZodString;
184
+ roleLabel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
185
+ }, z.core.$strip>>>;
186
+ _rev: z.ZodOptional<z.ZodString>;
187
+ skipRevision: z.ZodOptional<z.ZodBoolean>;
188
+ overrideLock: z.ZodOptional<z.ZodBoolean>;
189
+ seo: z.ZodOptional<z.ZodObject<{
190
+ title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
191
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
192
+ image: z.ZodOptional<z.ZodNullable<z.ZodString>>;
193
+ canonical: z.ZodOptional<z.ZodNullable<z.ZodURL>>;
194
+ noIndex: z.ZodOptional<z.ZodBoolean>;
195
+ }, z.core.$strip>>;
196
+ taxonomies: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString>>>;
197
+ publishedAt: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodISODateTime, z.ZodISODateTime]>>>;
198
+ }, z.core.$strip>;
199
+ declare const contentScheduleBody: z.ZodObject<{
200
+ scheduledAt: z.ZodUnion<[z.ZodISODateTime, z.ZodISODateTime]>;
201
+ overrideLock: z.ZodOptional<z.ZodBoolean>;
202
+ _rev: z.ZodOptional<z.ZodString>;
203
+ }, z.core.$strip>;
204
+ declare const contentRevisionConditionBody: z.ZodObject<{
205
+ _rev: z.ZodOptional<z.ZodString>;
206
+ overrideLock: z.ZodOptional<z.ZodBoolean>;
207
+ }, z.core.$strip>;
208
+ declare const contentPublishBody: z.ZodObject<{
209
+ _rev: z.ZodOptional<z.ZodString>;
210
+ overrideLock: z.ZodOptional<z.ZodBoolean>;
211
+ publishedAt: z.ZodOptional<z.ZodUnion<[z.ZodISODateTime, z.ZodISODateTime]>>;
212
+ }, z.core.$strip>;
213
+ declare const contentPreviewUrlBody: z.ZodObject<{
214
+ expiresIn: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
215
+ pathPattern: z.ZodOptional<z.ZodString>;
216
+ }, z.core.$strip>;
217
+ declare const contentTermsBody: z.ZodObject<{
218
+ termIds: z.ZodArray<z.ZodString>;
219
+ }, z.core.$strip>;
220
+ /** Term assignments response for the content terms endpoint. */
221
+ declare const contentTermsResponseSchema: z.ZodObject<{
222
+ terms: z.ZodArray<z.ZodObject<{
223
+ id: z.ZodString;
224
+ name: z.ZodString;
225
+ slug: z.ZodString;
226
+ label: z.ZodString;
227
+ parentId: z.ZodNullable<z.ZodString>;
228
+ locale: z.ZodString;
229
+ translationGroup: z.ZodNullable<z.ZodString>;
230
+ }, z.core.$strip>>;
231
+ unresolved: z.ZodArray<z.ZodObject<{
232
+ translationGroup: z.ZodString;
233
+ availableLocales: z.ZodArray<z.ZodString>;
234
+ translations: z.ZodArray<z.ZodObject<{
235
+ id: z.ZodString;
236
+ slug: z.ZodString;
237
+ locale: z.ZodString;
238
+ }, z.core.$strip>>;
239
+ }, z.core.$strip>>;
240
+ entryLocale: z.ZodString;
241
+ defaultLocale: z.ZodString;
242
+ implicitDefaultLocale: z.ZodBoolean;
243
+ }, z.core.$strip>;
244
+ declare const contentTrashQuery: z.ZodObject<{
245
+ cursor: z.ZodOptional<z.ZodString>;
246
+ limit: z.ZodDefault<z.ZodOptional<z.ZodCoercedNumber<unknown>>>;
247
+ locale: z.ZodOptional<z.ZodString>;
248
+ }, z.core.$strip>;
249
+ /** SEO metadata on a content item */
250
+ declare const contentSeoSchema: z.ZodObject<{
251
+ title: z.ZodNullable<z.ZodString>;
252
+ description: z.ZodNullable<z.ZodString>;
253
+ image: z.ZodNullable<z.ZodString>;
254
+ canonical: z.ZodNullable<z.ZodString>;
255
+ noIndex: z.ZodBoolean;
256
+ }, z.core.$strip>;
257
+ /** A single content item as returned by the API */
258
+ declare const contentItemSchema: z.ZodObject<{
259
+ id: z.ZodString;
260
+ type: z.ZodString;
261
+ slug: z.ZodNullable<z.ZodString>;
262
+ status: z.ZodString;
263
+ data: z.ZodRecord<z.ZodString, z.ZodUnknown>;
264
+ authorId: z.ZodNullable<z.ZodString>;
265
+ primaryBylineId: z.ZodNullable<z.ZodString>;
266
+ byline: z.ZodOptional<z.ZodNullable<z.ZodObject<{
267
+ id: z.ZodString;
268
+ slug: z.ZodString;
269
+ displayName: z.ZodString;
270
+ bio: z.ZodNullable<z.ZodString>;
271
+ avatarMediaId: z.ZodNullable<z.ZodString>;
272
+ avatarStorageKey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
273
+ avatarAlt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
274
+ avatarBlurhash: z.ZodOptional<z.ZodNullable<z.ZodString>>;
275
+ avatarDominantColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
276
+ websiteUrl: z.ZodNullable<z.ZodString>;
277
+ userId: z.ZodNullable<z.ZodString>;
278
+ isGuest: z.ZodBoolean;
279
+ createdAt: z.ZodString;
280
+ updatedAt: z.ZodString;
281
+ locale: z.ZodString;
282
+ translationGroup: z.ZodNullable<z.ZodString>;
283
+ customFields: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodBoolean, z.ZodNull]>>>;
284
+ }, z.core.$strip>>>;
285
+ bylines: z.ZodOptional<z.ZodArray<z.ZodObject<{
286
+ byline: z.ZodObject<{
287
+ id: z.ZodString;
288
+ slug: z.ZodString;
289
+ displayName: z.ZodString;
290
+ bio: z.ZodNullable<z.ZodString>;
291
+ avatarMediaId: z.ZodNullable<z.ZodString>;
292
+ avatarStorageKey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
293
+ avatarAlt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
294
+ avatarBlurhash: z.ZodOptional<z.ZodNullable<z.ZodString>>;
295
+ avatarDominantColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
296
+ websiteUrl: z.ZodNullable<z.ZodString>;
297
+ userId: z.ZodNullable<z.ZodString>;
298
+ isGuest: z.ZodBoolean;
299
+ createdAt: z.ZodString;
300
+ updatedAt: z.ZodString;
301
+ locale: z.ZodString;
302
+ translationGroup: z.ZodNullable<z.ZodString>;
303
+ customFields: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodBoolean, z.ZodNull]>>>;
304
+ }, z.core.$strip>;
305
+ sortOrder: z.ZodNumber;
306
+ roleLabel: z.ZodNullable<z.ZodString>;
307
+ source: z.ZodOptional<z.ZodEnum<{
308
+ explicit: "explicit";
309
+ inferred: "inferred";
310
+ }>>;
311
+ }, z.core.$strip>>>;
312
+ createdAt: z.ZodString;
313
+ updatedAt: z.ZodString;
314
+ publishedAt: z.ZodNullable<z.ZodString>;
315
+ scheduledAt: z.ZodNullable<z.ZodString>;
316
+ liveRevisionId: z.ZodNullable<z.ZodString>;
317
+ draftRevisionId: z.ZodNullable<z.ZodString>;
318
+ version: z.ZodNumber;
319
+ locale: z.ZodNullable<z.ZodString>;
320
+ translationGroup: z.ZodNullable<z.ZodString>;
321
+ seo: z.ZodOptional<z.ZodObject<{
322
+ title: z.ZodNullable<z.ZodString>;
323
+ description: z.ZodNullable<z.ZodString>;
324
+ image: z.ZodNullable<z.ZodString>;
325
+ canonical: z.ZodNullable<z.ZodString>;
326
+ noIndex: z.ZodBoolean;
327
+ }, z.core.$strip>>;
328
+ }, z.core.$strip>;
329
+ /** Response for single content item endpoints (get, create, update) */
330
+ declare const contentResponseSchema: z.ZodObject<{
331
+ item: z.ZodObject<{
332
+ id: z.ZodString;
333
+ type: z.ZodString;
334
+ slug: z.ZodNullable<z.ZodString>;
335
+ status: z.ZodString;
336
+ data: z.ZodRecord<z.ZodString, z.ZodUnknown>;
337
+ authorId: z.ZodNullable<z.ZodString>;
338
+ primaryBylineId: z.ZodNullable<z.ZodString>;
339
+ byline: z.ZodOptional<z.ZodNullable<z.ZodObject<{
340
+ id: z.ZodString;
341
+ slug: z.ZodString;
342
+ displayName: z.ZodString;
343
+ bio: z.ZodNullable<z.ZodString>;
344
+ avatarMediaId: z.ZodNullable<z.ZodString>;
345
+ avatarStorageKey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
346
+ avatarAlt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
347
+ avatarBlurhash: z.ZodOptional<z.ZodNullable<z.ZodString>>;
348
+ avatarDominantColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
349
+ websiteUrl: z.ZodNullable<z.ZodString>;
350
+ userId: z.ZodNullable<z.ZodString>;
351
+ isGuest: z.ZodBoolean;
352
+ createdAt: z.ZodString;
353
+ updatedAt: z.ZodString;
354
+ locale: z.ZodString;
355
+ translationGroup: z.ZodNullable<z.ZodString>;
356
+ customFields: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodBoolean, z.ZodNull]>>>;
357
+ }, z.core.$strip>>>;
358
+ bylines: z.ZodOptional<z.ZodArray<z.ZodObject<{
359
+ byline: z.ZodObject<{
360
+ id: z.ZodString;
361
+ slug: z.ZodString;
362
+ displayName: z.ZodString;
363
+ bio: z.ZodNullable<z.ZodString>;
364
+ avatarMediaId: z.ZodNullable<z.ZodString>;
365
+ avatarStorageKey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
366
+ avatarAlt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
367
+ avatarBlurhash: z.ZodOptional<z.ZodNullable<z.ZodString>>;
368
+ avatarDominantColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
369
+ websiteUrl: z.ZodNullable<z.ZodString>;
370
+ userId: z.ZodNullable<z.ZodString>;
371
+ isGuest: z.ZodBoolean;
372
+ createdAt: z.ZodString;
373
+ updatedAt: z.ZodString;
374
+ locale: z.ZodString;
375
+ translationGroup: z.ZodNullable<z.ZodString>;
376
+ customFields: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodBoolean, z.ZodNull]>>>;
377
+ }, z.core.$strip>;
378
+ sortOrder: z.ZodNumber;
379
+ roleLabel: z.ZodNullable<z.ZodString>;
380
+ source: z.ZodOptional<z.ZodEnum<{
381
+ explicit: "explicit";
382
+ inferred: "inferred";
383
+ }>>;
384
+ }, z.core.$strip>>>;
385
+ createdAt: z.ZodString;
386
+ updatedAt: z.ZodString;
387
+ publishedAt: z.ZodNullable<z.ZodString>;
388
+ scheduledAt: z.ZodNullable<z.ZodString>;
389
+ liveRevisionId: z.ZodNullable<z.ZodString>;
390
+ draftRevisionId: z.ZodNullable<z.ZodString>;
391
+ version: z.ZodNumber;
392
+ locale: z.ZodNullable<z.ZodString>;
393
+ translationGroup: z.ZodNullable<z.ZodString>;
394
+ seo: z.ZodOptional<z.ZodObject<{
395
+ title: z.ZodNullable<z.ZodString>;
396
+ description: z.ZodNullable<z.ZodString>;
397
+ image: z.ZodNullable<z.ZodString>;
398
+ canonical: z.ZodNullable<z.ZodString>;
399
+ noIndex: z.ZodBoolean;
400
+ }, z.core.$strip>>;
401
+ }, z.core.$strip>;
402
+ _rev: z.ZodOptional<z.ZodString>;
403
+ }, z.core.$strip>;
404
+ /** Response for restoring an item from trash */
405
+ declare const contentRestoreResponseSchema: z.ZodObject<{
406
+ restored: z.ZodLiteral<true>;
407
+ item: z.ZodObject<{
408
+ id: z.ZodString;
409
+ type: z.ZodString;
410
+ slug: z.ZodNullable<z.ZodString>;
411
+ status: z.ZodString;
412
+ data: z.ZodRecord<z.ZodString, z.ZodUnknown>;
413
+ authorId: z.ZodNullable<z.ZodString>;
414
+ primaryBylineId: z.ZodNullable<z.ZodString>;
415
+ byline: z.ZodOptional<z.ZodNullable<z.ZodObject<{
416
+ id: z.ZodString;
417
+ slug: z.ZodString;
418
+ displayName: z.ZodString;
419
+ bio: z.ZodNullable<z.ZodString>;
420
+ avatarMediaId: z.ZodNullable<z.ZodString>;
421
+ avatarStorageKey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
422
+ avatarAlt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
423
+ avatarBlurhash: z.ZodOptional<z.ZodNullable<z.ZodString>>;
424
+ avatarDominantColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
425
+ websiteUrl: z.ZodNullable<z.ZodString>;
426
+ userId: z.ZodNullable<z.ZodString>;
427
+ isGuest: z.ZodBoolean;
428
+ createdAt: z.ZodString;
429
+ updatedAt: z.ZodString;
430
+ locale: z.ZodString;
431
+ translationGroup: z.ZodNullable<z.ZodString>;
432
+ customFields: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodBoolean, z.ZodNull]>>>;
433
+ }, z.core.$strip>>>;
434
+ bylines: z.ZodOptional<z.ZodArray<z.ZodObject<{
435
+ byline: z.ZodObject<{
436
+ id: z.ZodString;
437
+ slug: z.ZodString;
438
+ displayName: z.ZodString;
439
+ bio: z.ZodNullable<z.ZodString>;
440
+ avatarMediaId: z.ZodNullable<z.ZodString>;
441
+ avatarStorageKey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
442
+ avatarAlt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
443
+ avatarBlurhash: z.ZodOptional<z.ZodNullable<z.ZodString>>;
444
+ avatarDominantColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
445
+ websiteUrl: z.ZodNullable<z.ZodString>;
446
+ userId: z.ZodNullable<z.ZodString>;
447
+ isGuest: z.ZodBoolean;
448
+ createdAt: z.ZodString;
449
+ updatedAt: z.ZodString;
450
+ locale: z.ZodString;
451
+ translationGroup: z.ZodNullable<z.ZodString>;
452
+ customFields: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodBoolean, z.ZodNull]>>>;
453
+ }, z.core.$strip>;
454
+ sortOrder: z.ZodNumber;
455
+ roleLabel: z.ZodNullable<z.ZodString>;
456
+ source: z.ZodOptional<z.ZodEnum<{
457
+ explicit: "explicit";
458
+ inferred: "inferred";
459
+ }>>;
460
+ }, z.core.$strip>>>;
461
+ createdAt: z.ZodString;
462
+ updatedAt: z.ZodString;
463
+ publishedAt: z.ZodNullable<z.ZodString>;
464
+ scheduledAt: z.ZodNullable<z.ZodString>;
465
+ liveRevisionId: z.ZodNullable<z.ZodString>;
466
+ draftRevisionId: z.ZodNullable<z.ZodString>;
467
+ version: z.ZodNumber;
468
+ locale: z.ZodNullable<z.ZodString>;
469
+ translationGroup: z.ZodNullable<z.ZodString>;
470
+ seo: z.ZodOptional<z.ZodObject<{
471
+ title: z.ZodNullable<z.ZodString>;
472
+ description: z.ZodNullable<z.ZodString>;
473
+ image: z.ZodNullable<z.ZodString>;
474
+ canonical: z.ZodNullable<z.ZodString>;
475
+ noIndex: z.ZodBoolean;
476
+ }, z.core.$strip>>;
477
+ }, z.core.$strip>;
478
+ _rev: z.ZodString;
479
+ }, z.core.$strip>;
480
+ /** Response for content list endpoints */
481
+ declare const contentListResponseSchema: z.ZodObject<{
482
+ items: z.ZodArray<z.ZodObject<{
483
+ id: z.ZodString;
484
+ type: z.ZodString;
485
+ slug: z.ZodNullable<z.ZodString>;
486
+ status: z.ZodString;
487
+ data: z.ZodRecord<z.ZodString, z.ZodUnknown>;
488
+ authorId: z.ZodNullable<z.ZodString>;
489
+ primaryBylineId: z.ZodNullable<z.ZodString>;
490
+ byline: z.ZodOptional<z.ZodNullable<z.ZodObject<{
491
+ id: z.ZodString;
492
+ slug: z.ZodString;
493
+ displayName: z.ZodString;
494
+ bio: z.ZodNullable<z.ZodString>;
495
+ avatarMediaId: z.ZodNullable<z.ZodString>;
496
+ avatarStorageKey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
497
+ avatarAlt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
498
+ avatarBlurhash: z.ZodOptional<z.ZodNullable<z.ZodString>>;
499
+ avatarDominantColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
500
+ websiteUrl: z.ZodNullable<z.ZodString>;
501
+ userId: z.ZodNullable<z.ZodString>;
502
+ isGuest: z.ZodBoolean;
503
+ createdAt: z.ZodString;
504
+ updatedAt: z.ZodString;
505
+ locale: z.ZodString;
506
+ translationGroup: z.ZodNullable<z.ZodString>;
507
+ customFields: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodBoolean, z.ZodNull]>>>;
508
+ }, z.core.$strip>>>;
509
+ bylines: z.ZodOptional<z.ZodArray<z.ZodObject<{
510
+ byline: z.ZodObject<{
511
+ id: z.ZodString;
512
+ slug: z.ZodString;
513
+ displayName: z.ZodString;
514
+ bio: z.ZodNullable<z.ZodString>;
515
+ avatarMediaId: z.ZodNullable<z.ZodString>;
516
+ avatarStorageKey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
517
+ avatarAlt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
518
+ avatarBlurhash: z.ZodOptional<z.ZodNullable<z.ZodString>>;
519
+ avatarDominantColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
520
+ websiteUrl: z.ZodNullable<z.ZodString>;
521
+ userId: z.ZodNullable<z.ZodString>;
522
+ isGuest: z.ZodBoolean;
523
+ createdAt: z.ZodString;
524
+ updatedAt: z.ZodString;
525
+ locale: z.ZodString;
526
+ translationGroup: z.ZodNullable<z.ZodString>;
527
+ customFields: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodBoolean, z.ZodNull]>>>;
528
+ }, z.core.$strip>;
529
+ sortOrder: z.ZodNumber;
530
+ roleLabel: z.ZodNullable<z.ZodString>;
531
+ source: z.ZodOptional<z.ZodEnum<{
532
+ explicit: "explicit";
533
+ inferred: "inferred";
534
+ }>>;
535
+ }, z.core.$strip>>>;
536
+ createdAt: z.ZodString;
537
+ updatedAt: z.ZodString;
538
+ publishedAt: z.ZodNullable<z.ZodString>;
539
+ scheduledAt: z.ZodNullable<z.ZodString>;
540
+ liveRevisionId: z.ZodNullable<z.ZodString>;
541
+ draftRevisionId: z.ZodNullable<z.ZodString>;
542
+ version: z.ZodNumber;
543
+ locale: z.ZodNullable<z.ZodString>;
544
+ translationGroup: z.ZodNullable<z.ZodString>;
545
+ seo: z.ZodOptional<z.ZodObject<{
546
+ title: z.ZodNullable<z.ZodString>;
547
+ description: z.ZodNullable<z.ZodString>;
548
+ image: z.ZodNullable<z.ZodString>;
549
+ canonical: z.ZodNullable<z.ZodString>;
550
+ noIndex: z.ZodBoolean;
551
+ }, z.core.$strip>>;
552
+ }, z.core.$strip>>;
553
+ nextCursor: z.ZodOptional<z.ZodString>;
554
+ total: z.ZodOptional<z.ZodNumber>;
555
+ }, z.core.$strip>;
556
+ /** A distinct content author for the admin author filter */
557
+ declare const contentAuthorSchema: z.ZodObject<{
558
+ id: z.ZodString;
559
+ name: z.ZodNullable<z.ZodString>;
560
+ email: z.ZodString;
561
+ avatarUrl: z.ZodNullable<z.ZodString>;
562
+ }, z.core.$strip>;
563
+ /** Response for the content authors endpoint */
564
+ declare const contentAuthorsResponseSchema: z.ZodObject<{
565
+ items: z.ZodArray<z.ZodObject<{
566
+ id: z.ZodString;
567
+ name: z.ZodNullable<z.ZodString>;
568
+ email: z.ZodString;
569
+ avatarUrl: z.ZodNullable<z.ZodString>;
570
+ }, z.core.$strip>>;
571
+ }, z.core.$strip>;
572
+ /** Trashed content item */
573
+ declare const trashedContentItemSchema: z.ZodObject<{
574
+ id: z.ZodString;
575
+ type: z.ZodString;
576
+ slug: z.ZodNullable<z.ZodString>;
577
+ status: z.ZodString;
578
+ locale: z.ZodNullable<z.ZodString>;
579
+ translationGroup: z.ZodNullable<z.ZodString>;
580
+ data: z.ZodRecord<z.ZodString, z.ZodUnknown>;
581
+ authorId: z.ZodNullable<z.ZodString>;
582
+ createdAt: z.ZodString;
583
+ updatedAt: z.ZodString;
584
+ publishedAt: z.ZodNullable<z.ZodString>;
585
+ deletedAt: z.ZodString;
586
+ }, z.core.$strip>;
587
+ /** Response for trashed content list */
588
+ declare const trashedContentListResponseSchema: z.ZodObject<{
589
+ items: z.ZodArray<z.ZodObject<{
590
+ id: z.ZodString;
591
+ type: z.ZodString;
592
+ slug: z.ZodNullable<z.ZodString>;
593
+ status: z.ZodString;
594
+ locale: z.ZodNullable<z.ZodString>;
595
+ translationGroup: z.ZodNullable<z.ZodString>;
596
+ data: z.ZodRecord<z.ZodString, z.ZodUnknown>;
597
+ authorId: z.ZodNullable<z.ZodString>;
598
+ createdAt: z.ZodString;
599
+ updatedAt: z.ZodString;
600
+ publishedAt: z.ZodNullable<z.ZodString>;
601
+ deletedAt: z.ZodString;
602
+ }, z.core.$strip>>;
603
+ nextCursor: z.ZodOptional<z.ZodString>;
604
+ }, z.core.$strip>;
605
+ /** Response for content compare (live vs draft) */
606
+ declare const contentCompareResponseSchema: z.ZodObject<{
607
+ hasChanges: z.ZodBoolean;
608
+ live: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
609
+ draft: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
610
+ }, z.core.$strip>;
611
+ /** Translation summary for a content item */
612
+ declare const contentTranslationSchema: z.ZodObject<{
613
+ id: z.ZodString;
614
+ locale: z.ZodNullable<z.ZodString>;
615
+ slug: z.ZodNullable<z.ZodString>;
616
+ status: z.ZodString;
617
+ updatedAt: z.ZodString;
618
+ }, z.core.$strip>;
619
+ /** Response for content translations endpoint */
620
+ declare const contentTranslationsResponseSchema: z.ZodObject<{
621
+ translationGroup: z.ZodString;
622
+ translations: z.ZodArray<z.ZodObject<{
623
+ id: z.ZodString;
624
+ locale: z.ZodNullable<z.ZodString>;
625
+ slug: z.ZodNullable<z.ZodString>;
626
+ status: z.ZodString;
627
+ updatedAt: z.ZodString;
628
+ }, z.core.$strip>>;
629
+ }, z.core.$strip>;
630
+ //#endregion
631
+ //#region src/api/schemas/media.d.ts
632
+ declare const mediaListQuery: z.ZodObject<{
633
+ cursor: z.ZodOptional<z.ZodString>;
634
+ limit: z.ZodDefault<z.ZodOptional<z.ZodCoercedNumber<unknown>>>;
635
+ page: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
636
+ mimeType: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>, z.ZodTransform<string[], string | string[]>>>;
637
+ folderId: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<"unfiled">, z.ZodString]>>;
638
+ q: z.ZodOptional<z.ZodString>;
639
+ includeUsage: z.ZodOptional<z.ZodLiteral<"1">>;
640
+ }, z.core.$strip>;
641
+ declare const mediaGetQuery: z.ZodObject<{
642
+ includeUsage: z.ZodOptional<z.ZodLiteral<"1">>;
643
+ }, z.core.$strip>;
644
+ declare const mediaUpdateBody: z.ZodObject<{
645
+ alt: z.ZodOptional<z.ZodString>;
646
+ caption: z.ZodOptional<z.ZodString>;
647
+ width: z.ZodOptional<z.ZodNumber>;
648
+ height: z.ZodOptional<z.ZodNumber>;
649
+ folderId: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodLiteral<"unfiled">, z.ZodString]>>>, z.ZodTransform<string | null | undefined, string | null | undefined>>;
650
+ focalX: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
651
+ focalY: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
652
+ }, z.core.$strip>;
653
+ declare const mediaFolderIdSchema: z.ZodString;
654
+ declare const mediaFolderListQuery: z.ZodObject<{
655
+ cursor: z.ZodOptional<z.ZodString>;
656
+ limit: z.ZodDefault<z.ZodOptional<z.ZodCoercedNumber<unknown>>>;
657
+ q: z.ZodOptional<z.ZodString>;
658
+ }, z.core.$strip>;
659
+ declare const mediaFolderBody: z.ZodObject<{
660
+ name: z.ZodString;
661
+ }, z.core.$strip>;
662
+ /** Default maximum allowed file upload size (50 MB). */
663
+ declare const DEFAULT_MAX_UPLOAD_SIZE: number;
664
+ declare function formatFileSize(bytes: number): string;
665
+ declare const CONTENT_TYPE_RE: RegExp;
666
+ declare function mediaUploadUrlBody(maxSize: number): z.ZodObject<{
667
+ filename: z.ZodString;
668
+ contentType: z.ZodString;
669
+ size: z.ZodNumber;
670
+ contentHash: z.ZodOptional<z.ZodString>;
671
+ fieldId: z.ZodOptional<z.ZodString>;
672
+ deduplicate: z.ZodOptional<z.ZodBoolean>;
673
+ ensureUniqueFilename: z.ZodOptional<z.ZodBoolean>;
674
+ folderId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
675
+ }, z.core.$strip>;
676
+ declare const mediaUploadDeduplicateForm: z.ZodPipe<z.ZodDefault<z.ZodEnum<{
677
+ true: "true";
678
+ false: "false";
679
+ }>>, z.ZodTransform<boolean, "true" | "false">>;
680
+ declare const mediaUploadEnsureUniqueFilenameForm: z.ZodPipe<z.ZodDefault<z.ZodEnum<{
681
+ true: "true";
682
+ false: "false";
683
+ }>>, z.ZodTransform<boolean, "true" | "false">>;
684
+ declare const mediaReplaceMetadataForm: z.ZodObject<{
685
+ width: z.ZodCoercedNumber<unknown>;
686
+ height: z.ZodCoercedNumber<unknown>;
687
+ }, z.core.$strip>;
688
+ declare const mediaDirectUploadBody: z.ZodObject<{
689
+ file: z.ZodString;
690
+ width: z.ZodOptional<z.ZodString>;
691
+ height: z.ZodOptional<z.ZodString>;
692
+ thumbnail: z.ZodOptional<z.ZodString>;
693
+ fieldId: z.ZodOptional<z.ZodString>;
694
+ deduplicate: z.ZodOptional<z.ZodEnum<{
695
+ true: "true";
696
+ false: "false";
697
+ }>>;
698
+ ensureUniqueFilename: z.ZodOptional<z.ZodEnum<{
699
+ true: "true";
700
+ false: "false";
701
+ }>>;
702
+ folderId: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodLiteral<"unfiled">]>>;
703
+ }, z.core.$strip>;
704
+ declare const mediaReplaceBody: z.ZodObject<{
705
+ file: z.ZodString;
706
+ width: z.ZodNumber;
707
+ height: z.ZodNumber;
708
+ }, z.core.$strip>;
709
+ declare const mediaConfirmBody: z.ZodObject<{
710
+ size: z.ZodOptional<z.ZodNumber>;
711
+ width: z.ZodOptional<z.ZodNumber>;
712
+ height: z.ZodOptional<z.ZodNumber>;
713
+ }, z.core.$strip>;
714
+ declare const mediaProviderListQuery: z.ZodObject<{
715
+ cursor: z.ZodOptional<z.ZodString>;
716
+ limit: z.ZodDefault<z.ZodOptional<z.ZodCoercedNumber<unknown>>>;
717
+ query: z.ZodOptional<z.ZodString>;
718
+ mimeType: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>, z.ZodTransform<string[], string | string[]>>>;
719
+ }, z.core.$strip>;
720
+ declare const mediaItemSchema: z.ZodObject<{
721
+ id: z.ZodString;
722
+ filename: z.ZodString;
723
+ mimeType: z.ZodString;
724
+ size: z.ZodNullable<z.ZodNumber>;
725
+ width: z.ZodNullable<z.ZodNumber>;
726
+ height: z.ZodNullable<z.ZodNumber>;
727
+ focalX: z.ZodNullable<z.ZodNumber>;
728
+ focalY: z.ZodNullable<z.ZodNumber>;
729
+ alt: z.ZodNullable<z.ZodString>;
730
+ caption: z.ZodNullable<z.ZodString>;
731
+ storageKey: z.ZodString;
732
+ status: z.ZodEnum<{
733
+ pending: "pending";
734
+ ready: "ready";
735
+ failed: "failed";
736
+ }>;
737
+ contentHash: z.ZodNullable<z.ZodString>;
738
+ blurhash: z.ZodNullable<z.ZodString>;
739
+ dominantColor: z.ZodNullable<z.ZodString>;
740
+ createdAt: z.ZodString;
741
+ authorId: z.ZodNullable<z.ZodString>;
742
+ folderId: z.ZodNullable<z.ZodString>;
743
+ }, z.core.$strip>;
744
+ declare const mediaFolderSchema: z.ZodObject<{
745
+ id: z.ZodString;
746
+ name: z.ZodString;
747
+ }, z.core.$strip>;
748
+ declare const mediaFolderResponseSchema: z.ZodObject<{
749
+ item: z.ZodObject<{
750
+ id: z.ZodString;
751
+ name: z.ZodString;
752
+ }, z.core.$strip>;
753
+ }, z.core.$strip>;
754
+ declare const mediaFolderListResponseSchema: z.ZodObject<{
755
+ items: z.ZodArray<z.ZodObject<{
756
+ id: z.ZodString;
757
+ name: z.ZodString;
758
+ }, z.core.$strip>>;
759
+ nextCursor: z.ZodOptional<z.ZodString>;
760
+ }, z.core.$strip>;
761
+ declare const mediaResponseSchema: z.ZodObject<{
762
+ item: z.ZodObject<{
763
+ id: z.ZodString;
764
+ filename: z.ZodString;
765
+ mimeType: z.ZodString;
766
+ size: z.ZodNullable<z.ZodNumber>;
767
+ width: z.ZodNullable<z.ZodNumber>;
768
+ height: z.ZodNullable<z.ZodNumber>;
769
+ focalX: z.ZodNullable<z.ZodNumber>;
770
+ focalY: z.ZodNullable<z.ZodNumber>;
771
+ alt: z.ZodNullable<z.ZodString>;
772
+ caption: z.ZodNullable<z.ZodString>;
773
+ storageKey: z.ZodString;
774
+ status: z.ZodEnum<{
775
+ pending: "pending";
776
+ ready: "ready";
777
+ failed: "failed";
778
+ }>;
779
+ contentHash: z.ZodNullable<z.ZodString>;
780
+ blurhash: z.ZodNullable<z.ZodString>;
781
+ dominantColor: z.ZodNullable<z.ZodString>;
782
+ createdAt: z.ZodString;
783
+ authorId: z.ZodNullable<z.ZodString>;
784
+ folderId: z.ZodNullable<z.ZodString>;
785
+ }, z.core.$strip>;
786
+ }, z.core.$strip>;
787
+ declare const mediaReadItemSchema: z.ZodObject<{
788
+ id: z.ZodString;
789
+ filename: z.ZodString;
790
+ mimeType: z.ZodString;
791
+ size: z.ZodNullable<z.ZodNumber>;
792
+ width: z.ZodNullable<z.ZodNumber>;
793
+ height: z.ZodNullable<z.ZodNumber>;
794
+ focalX: z.ZodNullable<z.ZodNumber>;
795
+ focalY: z.ZodNullable<z.ZodNumber>;
796
+ alt: z.ZodNullable<z.ZodString>;
797
+ caption: z.ZodNullable<z.ZodString>;
798
+ storageKey: z.ZodString;
799
+ status: z.ZodEnum<{
800
+ pending: "pending";
801
+ ready: "ready";
802
+ failed: "failed";
803
+ }>;
804
+ contentHash: z.ZodNullable<z.ZodString>;
805
+ blurhash: z.ZodNullable<z.ZodString>;
806
+ dominantColor: z.ZodNullable<z.ZodString>;
807
+ createdAt: z.ZodString;
808
+ authorId: z.ZodNullable<z.ZodString>;
809
+ folderId: z.ZodNullable<z.ZodString>;
810
+ usage: z.ZodOptional<z.ZodObject<{
811
+ count: z.ZodNullable<z.ZodNumber>;
812
+ coverage: z.ZodObject<{
813
+ scope: z.ZodLiteral<"all_content_collections">;
814
+ status: z.ZodEnum<{
815
+ never: "never";
816
+ unknown: "unknown";
817
+ failed: "failed";
818
+ complete: "complete";
819
+ running: "running";
820
+ partial: "partial";
821
+ stale: "stale";
822
+ }>;
823
+ }, z.core.$strip>;
824
+ }, z.core.$strip>>;
825
+ }, z.core.$strip>;
826
+ declare const mediaReadResponseSchema: z.ZodObject<{
827
+ item: z.ZodObject<{
828
+ id: z.ZodString;
829
+ filename: z.ZodString;
830
+ mimeType: z.ZodString;
831
+ size: z.ZodNullable<z.ZodNumber>;
832
+ width: z.ZodNullable<z.ZodNumber>;
833
+ height: z.ZodNullable<z.ZodNumber>;
834
+ focalX: z.ZodNullable<z.ZodNumber>;
835
+ focalY: z.ZodNullable<z.ZodNumber>;
836
+ alt: z.ZodNullable<z.ZodString>;
837
+ caption: z.ZodNullable<z.ZodString>;
838
+ storageKey: z.ZodString;
839
+ status: z.ZodEnum<{
840
+ pending: "pending";
841
+ ready: "ready";
842
+ failed: "failed";
843
+ }>;
844
+ contentHash: z.ZodNullable<z.ZodString>;
845
+ blurhash: z.ZodNullable<z.ZodString>;
846
+ dominantColor: z.ZodNullable<z.ZodString>;
847
+ createdAt: z.ZodString;
848
+ authorId: z.ZodNullable<z.ZodString>;
849
+ folderId: z.ZodNullable<z.ZodString>;
850
+ usage: z.ZodOptional<z.ZodObject<{
851
+ count: z.ZodNullable<z.ZodNumber>;
852
+ coverage: z.ZodObject<{
853
+ scope: z.ZodLiteral<"all_content_collections">;
854
+ status: z.ZodEnum<{
855
+ never: "never";
856
+ unknown: "unknown";
857
+ failed: "failed";
858
+ complete: "complete";
859
+ running: "running";
860
+ partial: "partial";
861
+ stale: "stale";
862
+ }>;
863
+ }, z.core.$strip>;
864
+ }, z.core.$strip>>;
865
+ }, z.core.$strip>;
866
+ }, z.core.$strip>;
867
+ declare const mediaListReadItemSchema: z.ZodObject<{
868
+ id: z.ZodString;
869
+ filename: z.ZodString;
870
+ mimeType: z.ZodString;
871
+ size: z.ZodNullable<z.ZodNumber>;
872
+ width: z.ZodNullable<z.ZodNumber>;
873
+ height: z.ZodNullable<z.ZodNumber>;
874
+ focalX: z.ZodNullable<z.ZodNumber>;
875
+ focalY: z.ZodNullable<z.ZodNumber>;
876
+ alt: z.ZodNullable<z.ZodString>;
877
+ caption: z.ZodNullable<z.ZodString>;
878
+ storageKey: z.ZodString;
879
+ status: z.ZodEnum<{
880
+ pending: "pending";
881
+ ready: "ready";
882
+ failed: "failed";
883
+ }>;
884
+ contentHash: z.ZodNullable<z.ZodString>;
885
+ blurhash: z.ZodNullable<z.ZodString>;
886
+ dominantColor: z.ZodNullable<z.ZodString>;
887
+ createdAt: z.ZodString;
888
+ authorId: z.ZodNullable<z.ZodString>;
889
+ folderId: z.ZodNullable<z.ZodString>;
890
+ usage: z.ZodOptional<z.ZodObject<{
891
+ count: z.ZodNullable<z.ZodNumber>;
892
+ coverage: z.ZodObject<{
893
+ scope: z.ZodLiteral<"all_content_collections">;
894
+ status: z.ZodEnum<{
895
+ never: "never";
896
+ unknown: "unknown";
897
+ failed: "failed";
898
+ complete: "complete";
899
+ running: "running";
900
+ partial: "partial";
901
+ stale: "stale";
902
+ }>;
903
+ }, z.core.$strip>;
904
+ }, z.core.$strip>>;
905
+ url: z.ZodString;
906
+ }, z.core.$strip>;
907
+ declare const mediaListReadResponseSchema: z.ZodObject<{
908
+ items: z.ZodArray<z.ZodObject<{
909
+ id: z.ZodString;
910
+ filename: z.ZodString;
911
+ mimeType: z.ZodString;
912
+ size: z.ZodNullable<z.ZodNumber>;
913
+ width: z.ZodNullable<z.ZodNumber>;
914
+ height: z.ZodNullable<z.ZodNumber>;
915
+ focalX: z.ZodNullable<z.ZodNumber>;
916
+ focalY: z.ZodNullable<z.ZodNumber>;
917
+ alt: z.ZodNullable<z.ZodString>;
918
+ caption: z.ZodNullable<z.ZodString>;
919
+ storageKey: z.ZodString;
920
+ status: z.ZodEnum<{
921
+ pending: "pending";
922
+ ready: "ready";
923
+ failed: "failed";
924
+ }>;
925
+ contentHash: z.ZodNullable<z.ZodString>;
926
+ blurhash: z.ZodNullable<z.ZodString>;
927
+ dominantColor: z.ZodNullable<z.ZodString>;
928
+ createdAt: z.ZodString;
929
+ authorId: z.ZodNullable<z.ZodString>;
930
+ folderId: z.ZodNullable<z.ZodString>;
931
+ usage: z.ZodOptional<z.ZodObject<{
932
+ count: z.ZodNullable<z.ZodNumber>;
933
+ coverage: z.ZodObject<{
934
+ scope: z.ZodLiteral<"all_content_collections">;
935
+ status: z.ZodEnum<{
936
+ never: "never";
937
+ unknown: "unknown";
938
+ failed: "failed";
939
+ complete: "complete";
940
+ running: "running";
941
+ partial: "partial";
942
+ stale: "stale";
943
+ }>;
944
+ }, z.core.$strip>;
945
+ }, z.core.$strip>>;
946
+ url: z.ZodString;
947
+ }, z.core.$strip>>;
948
+ nextCursor: z.ZodOptional<z.ZodString>;
949
+ totalCount: z.ZodOptional<z.ZodNumber>;
950
+ }, z.core.$strip>;
951
+ declare const mediaListResponseSchema: z.ZodObject<{
952
+ items: z.ZodArray<z.ZodObject<{
953
+ id: z.ZodString;
954
+ filename: z.ZodString;
955
+ mimeType: z.ZodString;
956
+ size: z.ZodNullable<z.ZodNumber>;
957
+ width: z.ZodNullable<z.ZodNumber>;
958
+ height: z.ZodNullable<z.ZodNumber>;
959
+ focalX: z.ZodNullable<z.ZodNumber>;
960
+ focalY: z.ZodNullable<z.ZodNumber>;
961
+ alt: z.ZodNullable<z.ZodString>;
962
+ caption: z.ZodNullable<z.ZodString>;
963
+ storageKey: z.ZodString;
964
+ status: z.ZodEnum<{
965
+ pending: "pending";
966
+ ready: "ready";
967
+ failed: "failed";
968
+ }>;
969
+ contentHash: z.ZodNullable<z.ZodString>;
970
+ blurhash: z.ZodNullable<z.ZodString>;
971
+ dominantColor: z.ZodNullable<z.ZodString>;
972
+ createdAt: z.ZodString;
973
+ authorId: z.ZodNullable<z.ZodString>;
974
+ folderId: z.ZodNullable<z.ZodString>;
975
+ }, z.core.$strip>>;
976
+ nextCursor: z.ZodOptional<z.ZodString>;
977
+ totalCount: z.ZodOptional<z.ZodNumber>;
978
+ }, z.core.$strip>;
979
+ declare const mediaUploadUrlResponseSchema: z.ZodObject<{
980
+ uploadUrl: z.ZodString;
981
+ method: z.ZodLiteral<"PUT">;
982
+ headers: z.ZodRecord<z.ZodString, z.ZodString>;
983
+ mediaId: z.ZodString;
984
+ storageKey: z.ZodString;
985
+ expiresAt: z.ZodString;
986
+ }, z.core.$strip>;
987
+ declare const mediaExistingResponseSchema: z.ZodObject<{
988
+ existing: z.ZodLiteral<true>;
989
+ mediaId: z.ZodString;
990
+ storageKey: z.ZodString;
991
+ url: z.ZodString;
992
+ }, z.core.$strip>;
993
+ declare const mediaConfirmResponseSchema: z.ZodObject<{
994
+ item: z.ZodObject<{
995
+ id: z.ZodString;
996
+ filename: z.ZodString;
997
+ mimeType: z.ZodString;
998
+ size: z.ZodNullable<z.ZodNumber>;
999
+ width: z.ZodNullable<z.ZodNumber>;
1000
+ height: z.ZodNullable<z.ZodNumber>;
1001
+ focalX: z.ZodNullable<z.ZodNumber>;
1002
+ focalY: z.ZodNullable<z.ZodNumber>;
1003
+ alt: z.ZodNullable<z.ZodString>;
1004
+ caption: z.ZodNullable<z.ZodString>;
1005
+ storageKey: z.ZodString;
1006
+ status: z.ZodEnum<{
1007
+ pending: "pending";
1008
+ ready: "ready";
1009
+ failed: "failed";
1010
+ }>;
1011
+ contentHash: z.ZodNullable<z.ZodString>;
1012
+ blurhash: z.ZodNullable<z.ZodString>;
1013
+ dominantColor: z.ZodNullable<z.ZodString>;
1014
+ createdAt: z.ZodString;
1015
+ authorId: z.ZodNullable<z.ZodString>;
1016
+ folderId: z.ZodNullable<z.ZodString>;
1017
+ url: z.ZodString;
1018
+ }, z.core.$strip>;
1019
+ }, z.core.$strip>;
1020
+ declare const mediaUploadResponseSchema: z.ZodObject<{
1021
+ item: z.ZodObject<{
1022
+ id: z.ZodString;
1023
+ filename: z.ZodString;
1024
+ mimeType: z.ZodString;
1025
+ size: z.ZodNullable<z.ZodNumber>;
1026
+ width: z.ZodNullable<z.ZodNumber>;
1027
+ height: z.ZodNullable<z.ZodNumber>;
1028
+ focalX: z.ZodNullable<z.ZodNumber>;
1029
+ focalY: z.ZodNullable<z.ZodNumber>;
1030
+ alt: z.ZodNullable<z.ZodString>;
1031
+ caption: z.ZodNullable<z.ZodString>;
1032
+ storageKey: z.ZodString;
1033
+ status: z.ZodEnum<{
1034
+ pending: "pending";
1035
+ ready: "ready";
1036
+ failed: "failed";
1037
+ }>;
1038
+ contentHash: z.ZodNullable<z.ZodString>;
1039
+ blurhash: z.ZodNullable<z.ZodString>;
1040
+ dominantColor: z.ZodNullable<z.ZodString>;
1041
+ createdAt: z.ZodString;
1042
+ authorId: z.ZodNullable<z.ZodString>;
1043
+ folderId: z.ZodNullable<z.ZodString>;
1044
+ url: z.ZodString;
1045
+ }, z.core.$strip>;
1046
+ deduplicated: z.ZodOptional<z.ZodLiteral<true>>;
1047
+ }, z.core.$strip>;
1048
+ declare const mediaReplaceResponseSchema: z.ZodObject<{
1049
+ item: z.ZodObject<{
1050
+ id: z.ZodString;
1051
+ filename: z.ZodString;
1052
+ mimeType: z.ZodString;
1053
+ size: z.ZodNullable<z.ZodNumber>;
1054
+ width: z.ZodNullable<z.ZodNumber>;
1055
+ height: z.ZodNullable<z.ZodNumber>;
1056
+ focalX: z.ZodNullable<z.ZodNumber>;
1057
+ focalY: z.ZodNullable<z.ZodNumber>;
1058
+ alt: z.ZodNullable<z.ZodString>;
1059
+ caption: z.ZodNullable<z.ZodString>;
1060
+ storageKey: z.ZodString;
1061
+ status: z.ZodEnum<{
1062
+ pending: "pending";
1063
+ ready: "ready";
1064
+ failed: "failed";
1065
+ }>;
1066
+ contentHash: z.ZodNullable<z.ZodString>;
1067
+ blurhash: z.ZodNullable<z.ZodString>;
1068
+ dominantColor: z.ZodNullable<z.ZodString>;
1069
+ createdAt: z.ZodString;
1070
+ authorId: z.ZodNullable<z.ZodString>;
1071
+ folderId: z.ZodNullable<z.ZodString>;
1072
+ url: z.ZodString;
1073
+ }, z.core.$strip>;
1074
+ }, z.core.$strip>;
1075
+ declare const mediaStreamUploadResponseSchema: z.ZodObject<{
1076
+ uploaded: z.ZodLiteral<true>;
1077
+ size: z.ZodNumber;
1078
+ }, z.core.$strip>;
1079
+ //#endregion
1080
+ //#region src/api/schemas/media-usage.d.ts
1081
+ declare const mediaUsageCoverageStatusSchema: z.ZodEnum<{
1082
+ never: "never";
1083
+ unknown: "unknown";
1084
+ failed: "failed";
1085
+ complete: "complete";
1086
+ running: "running";
1087
+ partial: "partial";
1088
+ stale: "stale";
1089
+ }>;
1090
+ declare const mediaUsageCoverageSchema: z.ZodObject<{
1091
+ scope: z.ZodLiteral<"all_content_collections">;
1092
+ status: z.ZodEnum<{
1093
+ never: "never";
1094
+ unknown: "unknown";
1095
+ failed: "failed";
1096
+ complete: "complete";
1097
+ running: "running";
1098
+ partial: "partial";
1099
+ stale: "stale";
1100
+ }>;
1101
+ }, z.core.$strip>;
1102
+ declare const mediaUsageProgressSchema: z.ZodObject<{
1103
+ status: z.ZodEnum<{
1104
+ ready: "ready";
1105
+ indexing: "indexing";
1106
+ needs_attention: "needs_attention";
1107
+ }>;
1108
+ readyCollections: z.ZodNumber;
1109
+ totalCollections: z.ZodNumber;
1110
+ }, z.core.$strip>;
1111
+ declare const mediaUsageSummarySchema: z.ZodObject<{
1112
+ count: z.ZodNullable<z.ZodNumber>;
1113
+ coverage: z.ZodObject<{
1114
+ scope: z.ZodLiteral<"all_content_collections">;
1115
+ status: z.ZodEnum<{
1116
+ never: "never";
1117
+ unknown: "unknown";
1118
+ failed: "failed";
1119
+ complete: "complete";
1120
+ running: "running";
1121
+ partial: "partial";
1122
+ stale: "stale";
1123
+ }>;
1124
+ }, z.core.$strip>;
1125
+ }, z.core.$strip>;
1126
+ declare const mediaUsageDetailsQuery: z.ZodObject<{
1127
+ cursor: z.ZodOptional<z.ZodString>;
1128
+ limit: z.ZodDefault<z.ZodOptional<z.ZodCoercedNumber<unknown>>>;
1129
+ }, z.core.$strip>;
1130
+ declare const mediaUsageOccurrenceDetailSchema: z.ZodObject<{
1131
+ fieldSlug: z.ZodString;
1132
+ fieldPath: z.ZodString;
1133
+ occurrenceIndex: z.ZodNumber;
1134
+ referenceType: z.ZodEnum<{
1135
+ unknown: "unknown";
1136
+ image_field: "image_field";
1137
+ file_field: "file_field";
1138
+ portable_text_image: "portable_text_image";
1139
+ }>;
1140
+ }, z.core.$strip>;
1141
+ declare const mediaUsageSourceDetailSchema: z.ZodObject<{
1142
+ variant: z.ZodEnum<{
1143
+ columns: "columns";
1144
+ draft_overlay: "draft_overlay";
1145
+ }>;
1146
+ occurrences: z.ZodArray<z.ZodObject<{
1147
+ fieldSlug: z.ZodString;
1148
+ fieldPath: z.ZodString;
1149
+ occurrenceIndex: z.ZodNumber;
1150
+ referenceType: z.ZodEnum<{
1151
+ unknown: "unknown";
1152
+ image_field: "image_field";
1153
+ file_field: "file_field";
1154
+ portable_text_image: "portable_text_image";
1155
+ }>;
1156
+ }, z.core.$strip>>;
1157
+ }, z.core.$strip>;
1158
+ declare const mediaUsageEntryDetailSchema: z.ZodObject<{
1159
+ collection: z.ZodString;
1160
+ contentId: z.ZodString;
1161
+ title: z.ZodNullable<z.ZodString>;
1162
+ slug: z.ZodNullable<z.ZodString>;
1163
+ locale: z.ZodNullable<z.ZodString>;
1164
+ status: z.ZodNullable<z.ZodString>;
1165
+ scheduledAt: z.ZodNullable<z.ZodString>;
1166
+ deletedAt: z.ZodNullable<z.ZodString>;
1167
+ sources: z.ZodArray<z.ZodObject<{
1168
+ variant: z.ZodEnum<{
1169
+ columns: "columns";
1170
+ draft_overlay: "draft_overlay";
1171
+ }>;
1172
+ occurrences: z.ZodArray<z.ZodObject<{
1173
+ fieldSlug: z.ZodString;
1174
+ fieldPath: z.ZodString;
1175
+ occurrenceIndex: z.ZodNumber;
1176
+ referenceType: z.ZodEnum<{
1177
+ unknown: "unknown";
1178
+ image_field: "image_field";
1179
+ file_field: "file_field";
1180
+ portable_text_image: "portable_text_image";
1181
+ }>;
1182
+ }, z.core.$strip>>;
1183
+ }, z.core.$strip>>;
1184
+ }, z.core.$strip>;
1185
+ declare const mediaUsageDetailsResponseSchema: z.ZodObject<{
1186
+ items: z.ZodArray<z.ZodObject<{
1187
+ collection: z.ZodString;
1188
+ contentId: z.ZodString;
1189
+ title: z.ZodNullable<z.ZodString>;
1190
+ slug: z.ZodNullable<z.ZodString>;
1191
+ locale: z.ZodNullable<z.ZodString>;
1192
+ status: z.ZodNullable<z.ZodString>;
1193
+ scheduledAt: z.ZodNullable<z.ZodString>;
1194
+ deletedAt: z.ZodNullable<z.ZodString>;
1195
+ sources: z.ZodArray<z.ZodObject<{
1196
+ variant: z.ZodEnum<{
1197
+ columns: "columns";
1198
+ draft_overlay: "draft_overlay";
1199
+ }>;
1200
+ occurrences: z.ZodArray<z.ZodObject<{
1201
+ fieldSlug: z.ZodString;
1202
+ fieldPath: z.ZodString;
1203
+ occurrenceIndex: z.ZodNumber;
1204
+ referenceType: z.ZodEnum<{
1205
+ unknown: "unknown";
1206
+ image_field: "image_field";
1207
+ file_field: "file_field";
1208
+ portable_text_image: "portable_text_image";
1209
+ }>;
1210
+ }, z.core.$strip>>;
1211
+ }, z.core.$strip>>;
1212
+ }, z.core.$strip>>;
1213
+ nextCursor: z.ZodOptional<z.ZodString>;
1214
+ coverage: z.ZodObject<{
1215
+ scope: z.ZodLiteral<"all_content_collections">;
1216
+ status: z.ZodEnum<{
1217
+ never: "never";
1218
+ unknown: "unknown";
1219
+ failed: "failed";
1220
+ complete: "complete";
1221
+ running: "running";
1222
+ partial: "partial";
1223
+ stale: "stale";
1224
+ }>;
1225
+ }, z.core.$strip>;
1226
+ }, z.core.$strip>;
1227
+ declare const mediaUsageRepairStatusSchema: z.ZodEnum<{
1228
+ failed: "failed";
1229
+ complete: "complete";
1230
+ partial: "partial";
1231
+ stale: "stale";
1232
+ }>;
1233
+ declare const mediaUsageRepairBody: z.ZodDiscriminatedUnion<[z.ZodObject<{
1234
+ scope: z.ZodLiteral<"collection">;
1235
+ collection: z.ZodString;
1236
+ }, z.core.$strict>, z.ZodObject<{
1237
+ scope: z.ZodLiteral<"all">;
1238
+ }, z.core.$strict>], "scope">;
1239
+ declare const mediaUsageRepairCollectionSummarySchema: z.ZodObject<{
1240
+ collection: z.ZodString;
1241
+ status: z.ZodEnum<{
1242
+ failed: "failed";
1243
+ complete: "complete";
1244
+ partial: "partial";
1245
+ stale: "stale";
1246
+ }>;
1247
+ indexedSourceCount: z.ZodNumber;
1248
+ failedSourceCount: z.ZodNumber;
1249
+ skippedSourceCount: z.ZodNumber;
1250
+ deletedSourceCount: z.ZodNumber;
1251
+ lastErrorCode: z.ZodNullable<z.ZodString>;
1252
+ startedAt: z.ZodString;
1253
+ completedAt: z.ZodNullable<z.ZodString>;
1254
+ }, z.core.$strip>;
1255
+ declare const mediaUsageRepairResponseSchema: z.ZodObject<{
1256
+ status: z.ZodEnum<{
1257
+ failed: "failed";
1258
+ complete: "complete";
1259
+ partial: "partial";
1260
+ stale: "stale";
1261
+ }>;
1262
+ indexedSourceCount: z.ZodNumber;
1263
+ failedSourceCount: z.ZodNumber;
1264
+ skippedSourceCount: z.ZodNumber;
1265
+ deletedSourceCount: z.ZodNumber;
1266
+ collections: z.ZodArray<z.ZodObject<{
1267
+ collection: z.ZodString;
1268
+ status: z.ZodEnum<{
1269
+ failed: "failed";
1270
+ complete: "complete";
1271
+ partial: "partial";
1272
+ stale: "stale";
1273
+ }>;
1274
+ indexedSourceCount: z.ZodNumber;
1275
+ failedSourceCount: z.ZodNumber;
1276
+ skippedSourceCount: z.ZodNumber;
1277
+ deletedSourceCount: z.ZodNumber;
1278
+ lastErrorCode: z.ZodNullable<z.ZodString>;
1279
+ startedAt: z.ZodString;
1280
+ completedAt: z.ZodNullable<z.ZodString>;
1281
+ }, z.core.$strip>>;
1282
+ }, z.core.$strip>;
1283
+ declare const mediaUsageWorkStateSchema: z.ZodEnum<{
1284
+ pending: "pending";
1285
+ failed: "failed";
1286
+ retry: "retry";
1287
+ leased: "leased";
1288
+ }>;
1289
+ declare const mediaUsageWorkListQuery: z.ZodObject<{
1290
+ collection: z.ZodString;
1291
+ state: z.ZodOptional<z.ZodEnum<{
1292
+ pending: "pending";
1293
+ failed: "failed";
1294
+ retry: "retry";
1295
+ leased: "leased";
1296
+ }>>;
1297
+ cursor: z.ZodOptional<z.ZodString>;
1298
+ limit: z.ZodDefault<z.ZodOptional<z.ZodCoercedNumber<unknown>>>;
1299
+ }, z.core.$strip>;
1300
+ declare const mediaUsageWorkItemSchema: z.ZodObject<{
1301
+ collectionId: z.ZodString;
1302
+ collectionSlug: z.ZodString;
1303
+ contentId: z.ZodString;
1304
+ state: z.ZodEnum<{
1305
+ pending: "pending";
1306
+ failed: "failed";
1307
+ retry: "retry";
1308
+ leased: "leased";
1309
+ }>;
1310
+ attemptCount: z.ZodNumber;
1311
+ nextAttemptAt: z.ZodString;
1312
+ leaseExpiresAt: z.ZodNullable<z.ZodString>;
1313
+ lastAttemptedAt: z.ZodNullable<z.ZodString>;
1314
+ lastErrorCode: z.ZodNullable<z.ZodString>;
1315
+ updatedAt: z.ZodString;
1316
+ }, z.core.$strip>;
1317
+ declare const mediaUsageWorkListResponseSchema: z.ZodObject<{
1318
+ items: z.ZodArray<z.ZodObject<{
1319
+ collectionId: z.ZodString;
1320
+ collectionSlug: z.ZodString;
1321
+ contentId: z.ZodString;
1322
+ state: z.ZodEnum<{
1323
+ pending: "pending";
1324
+ failed: "failed";
1325
+ retry: "retry";
1326
+ leased: "leased";
1327
+ }>;
1328
+ attemptCount: z.ZodNumber;
1329
+ nextAttemptAt: z.ZodString;
1330
+ leaseExpiresAt: z.ZodNullable<z.ZodString>;
1331
+ lastAttemptedAt: z.ZodNullable<z.ZodString>;
1332
+ lastErrorCode: z.ZodNullable<z.ZodString>;
1333
+ updatedAt: z.ZodString;
1334
+ }, z.core.$strip>>;
1335
+ nextCursor: z.ZodOptional<z.ZodString>;
1336
+ }, z.core.$strip>;
1337
+ declare const mediaUsageWorkRetryBody: z.ZodObject<{
1338
+ collectionId: z.ZodString;
1339
+ contentId: z.ZodString;
1340
+ }, z.core.$strict>;
1341
+ declare const mediaUsageWorkRetryResponseSchema: z.ZodObject<{
1342
+ changed: z.ZodBoolean;
1343
+ item: z.ZodObject<{
1344
+ collectionId: z.ZodString;
1345
+ collectionSlug: z.ZodString;
1346
+ contentId: z.ZodString;
1347
+ state: z.ZodEnum<{
1348
+ pending: "pending";
1349
+ failed: "failed";
1350
+ retry: "retry";
1351
+ leased: "leased";
1352
+ }>;
1353
+ attemptCount: z.ZodNumber;
1354
+ nextAttemptAt: z.ZodString;
1355
+ leaseExpiresAt: z.ZodNullable<z.ZodString>;
1356
+ lastAttemptedAt: z.ZodNullable<z.ZodString>;
1357
+ lastErrorCode: z.ZodNullable<z.ZodString>;
1358
+ updatedAt: z.ZodString;
1359
+ }, z.core.$strip>;
1360
+ }, z.core.$strip>;
1361
+ declare const mediaUsageWorkRetryConflictSchema: z.ZodObject<{
1362
+ success: z.ZodLiteral<false>;
1363
+ error: z.ZodDiscriminatedUnion<[z.ZodObject<{
1364
+ code: z.ZodLiteral<"WORK_LEASE_ACTIVE">;
1365
+ message: z.ZodString;
1366
+ details: z.ZodObject<{
1367
+ leaseExpiresAt: z.ZodString;
1368
+ }, z.core.$strip>;
1369
+ }, z.core.$strip>, z.ZodObject<{
1370
+ code: z.ZodLiteral<"WORK_CHANGED">;
1371
+ message: z.ZodString;
1372
+ }, z.core.$strip>], "code">;
1373
+ }, z.core.$strip>;
1374
+ declare const mediaUsageActivationStateSchema: z.ZodEnum<{
1375
+ expanded: "expanded";
1376
+ activating: "activating";
1377
+ active: "active";
1378
+ }>;
1379
+ declare const mediaUsageActivationStatusSchema: z.ZodObject<{
1380
+ state: z.ZodEnum<{
1381
+ expanded: "expanded";
1382
+ activating: "activating";
1383
+ active: "active";
1384
+ }>;
1385
+ collectionCursor: z.ZodNullable<z.ZodString>;
1386
+ attemptCount: z.ZodNumber;
1387
+ drainConfirmedAt: z.ZodNullable<z.ZodString>;
1388
+ lastAttemptedAt: z.ZodNullable<z.ZodString>;
1389
+ lastErrorCode: z.ZodNullable<z.ZodLiteral<"MEDIA_USAGE_ACTIVATION_FAILED">>;
1390
+ leaseExpiresAt: z.ZodNullable<z.ZodString>;
1391
+ activatedAt: z.ZodNullable<z.ZodString>;
1392
+ updatedAt: z.ZodString;
1393
+ }, z.core.$strip>;
1394
+ declare const mediaUsageActivationAdvanceBody: z.ZodObject<{
1395
+ writersDrained: z.ZodLiteral<true>;
1396
+ }, z.core.$strict>;
1397
+ declare const mediaUsageActivationAdvanceResponseSchema: z.ZodObject<{
1398
+ outcome: z.ZodEnum<{
1399
+ activating: "activating";
1400
+ active: "active";
1401
+ }>;
1402
+ processedCollections: z.ZodNumber;
1403
+ activation: z.ZodObject<{
1404
+ state: z.ZodEnum<{
1405
+ expanded: "expanded";
1406
+ activating: "activating";
1407
+ active: "active";
1408
+ }>;
1409
+ collectionCursor: z.ZodNullable<z.ZodString>;
1410
+ attemptCount: z.ZodNumber;
1411
+ drainConfirmedAt: z.ZodNullable<z.ZodString>;
1412
+ lastAttemptedAt: z.ZodNullable<z.ZodString>;
1413
+ lastErrorCode: z.ZodNullable<z.ZodLiteral<"MEDIA_USAGE_ACTIVATION_FAILED">>;
1414
+ leaseExpiresAt: z.ZodNullable<z.ZodString>;
1415
+ activatedAt: z.ZodNullable<z.ZodString>;
1416
+ updatedAt: z.ZodString;
1417
+ }, z.core.$strip>;
1418
+ }, z.core.$strip>;
1419
+ declare const mediaUsageProgressAdvanceResponseSchema: z.ZodObject<{
1420
+ activation: z.ZodObject<{
1421
+ state: z.ZodEnum<{
1422
+ expanded: "expanded";
1423
+ activating: "activating";
1424
+ active: "active";
1425
+ }>;
1426
+ collectionCursor: z.ZodNullable<z.ZodString>;
1427
+ attemptCount: z.ZodNumber;
1428
+ drainConfirmedAt: z.ZodNullable<z.ZodString>;
1429
+ lastAttemptedAt: z.ZodNullable<z.ZodString>;
1430
+ lastErrorCode: z.ZodNullable<z.ZodLiteral<"MEDIA_USAGE_ACTIVATION_FAILED">>;
1431
+ leaseExpiresAt: z.ZodNullable<z.ZodString>;
1432
+ activatedAt: z.ZodNullable<z.ZodString>;
1433
+ updatedAt: z.ZodString;
1434
+ }, z.core.$strip>;
1435
+ progress: z.ZodNullable<z.ZodObject<{
1436
+ status: z.ZodEnum<{
1437
+ ready: "ready";
1438
+ indexing: "indexing";
1439
+ needs_attention: "needs_attention";
1440
+ }>;
1441
+ readyCollections: z.ZodNumber;
1442
+ totalCollections: z.ZodNumber;
1443
+ }, z.core.$strip>>;
1444
+ nextRequestInMs: z.ZodUnion<readonly [z.ZodLiteral<0>, z.ZodLiteral<30000>, z.ZodNull]>;
1445
+ }, z.core.$strip>;
1446
+ declare const mediaUsageActivationConflictSchema: z.ZodObject<{
1447
+ success: z.ZodLiteral<false>;
1448
+ error: z.ZodDiscriminatedUnion<[z.ZodObject<{
1449
+ code: z.ZodLiteral<"MEDIA_USAGE_ACTIVATION_BUSY">;
1450
+ message: z.ZodString;
1451
+ details: z.ZodObject<{
1452
+ leaseExpiresAt: z.ZodString;
1453
+ }, z.core.$strip>;
1454
+ }, z.core.$strip>, z.ZodObject<{
1455
+ code: z.ZodLiteral<"MEDIA_USAGE_ACTIVATION_CONFLICT">;
1456
+ message: z.ZodString;
1457
+ }, z.core.$strip>, z.ZodObject<{
1458
+ code: z.ZodLiteral<"MEDIA_USAGE_ACTIVATION_VERSION_MISMATCH">;
1459
+ message: z.ZodString;
1460
+ }, z.core.$strip>], "code">;
1461
+ }, z.core.$strip>;
1462
+ declare const mediaUsageCollectionDeletionStateSchema: z.ZodEnum<{
1463
+ pending: "pending";
1464
+ failed: "failed";
1465
+ retry: "retry";
1466
+ leased: "leased";
1467
+ }>;
1468
+ declare const mediaUsageCollectionDeletionPhaseSchema: z.ZodEnum<{
1469
+ status: "status";
1470
+ finalize: "finalize";
1471
+ sources: "sources";
1472
+ fence: "fence";
1473
+ registry: "registry";
1474
+ table: "table";
1475
+ work: "work";
1476
+ }>;
1477
+ declare const mediaUsageCollectionDeletionListQuery: z.ZodObject<{
1478
+ state: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
1479
+ pending: "pending";
1480
+ failed: "failed";
1481
+ retry: "retry";
1482
+ leased: "leased";
1483
+ }>>>;
1484
+ cursor: z.ZodOptional<z.ZodString>;
1485
+ limit: z.ZodDefault<z.ZodOptional<z.ZodCoercedNumber<unknown>>>;
1486
+ }, z.core.$strip>;
1487
+ declare const mediaUsageCollectionDeletionItemSchema: z.ZodObject<{
1488
+ collectionId: z.ZodString;
1489
+ collectionSlug: z.ZodString;
1490
+ state: z.ZodEnum<{
1491
+ pending: "pending";
1492
+ failed: "failed";
1493
+ retry: "retry";
1494
+ leased: "leased";
1495
+ }>;
1496
+ phase: z.ZodEnum<{
1497
+ status: "status";
1498
+ finalize: "finalize";
1499
+ sources: "sources";
1500
+ fence: "fence";
1501
+ registry: "registry";
1502
+ table: "table";
1503
+ work: "work";
1504
+ }>;
1505
+ attemptCount: z.ZodNumber;
1506
+ nextAttemptAt: z.ZodString;
1507
+ leaseExpiresAt: z.ZodNullable<z.ZodString>;
1508
+ lastErrorCode: z.ZodNullable<z.ZodString>;
1509
+ updatedAt: z.ZodString;
1510
+ }, z.core.$strip>;
1511
+ declare const mediaUsageCollectionDeletionListResponseSchema: z.ZodObject<{
1512
+ items: z.ZodArray<z.ZodObject<{
1513
+ collectionId: z.ZodString;
1514
+ collectionSlug: z.ZodString;
1515
+ state: z.ZodEnum<{
1516
+ pending: "pending";
1517
+ failed: "failed";
1518
+ retry: "retry";
1519
+ leased: "leased";
1520
+ }>;
1521
+ phase: z.ZodEnum<{
1522
+ status: "status";
1523
+ finalize: "finalize";
1524
+ sources: "sources";
1525
+ fence: "fence";
1526
+ registry: "registry";
1527
+ table: "table";
1528
+ work: "work";
1529
+ }>;
1530
+ attemptCount: z.ZodNumber;
1531
+ nextAttemptAt: z.ZodString;
1532
+ leaseExpiresAt: z.ZodNullable<z.ZodString>;
1533
+ lastErrorCode: z.ZodNullable<z.ZodString>;
1534
+ updatedAt: z.ZodString;
1535
+ }, z.core.$strip>>;
1536
+ nextCursor: z.ZodOptional<z.ZodString>;
1537
+ }, z.core.$strip>;
1538
+ declare const mediaUsageCollectionDeletionRetryBody: z.ZodObject<{
1539
+ collectionId: z.ZodString;
1540
+ }, z.core.$strict>;
1541
+ declare const mediaUsageCollectionDeletionRetryResponseSchema: z.ZodObject<{
1542
+ changed: z.ZodBoolean;
1543
+ item: z.ZodObject<{
1544
+ collectionId: z.ZodString;
1545
+ collectionSlug: z.ZodString;
1546
+ state: z.ZodEnum<{
1547
+ pending: "pending";
1548
+ failed: "failed";
1549
+ retry: "retry";
1550
+ leased: "leased";
1551
+ }>;
1552
+ phase: z.ZodEnum<{
1553
+ status: "status";
1554
+ finalize: "finalize";
1555
+ sources: "sources";
1556
+ fence: "fence";
1557
+ registry: "registry";
1558
+ table: "table";
1559
+ work: "work";
1560
+ }>;
1561
+ attemptCount: z.ZodNumber;
1562
+ nextAttemptAt: z.ZodString;
1563
+ leaseExpiresAt: z.ZodNullable<z.ZodString>;
1564
+ lastErrorCode: z.ZodNullable<z.ZodString>;
1565
+ updatedAt: z.ZodString;
1566
+ }, z.core.$strip>;
1567
+ }, z.core.$strip>;
1568
+ type MediaUsageRepairRequest = z.infer<typeof mediaUsageRepairBody>;
1569
+ type MediaUsageRepairResponse = z.infer<typeof mediaUsageRepairResponseSchema>;
1570
+ type MediaUsageProgress = z.infer<typeof mediaUsageProgressSchema>;
1571
+ type MediaUsageProgressAdvanceResponse = z.infer<typeof mediaUsageProgressAdvanceResponseSchema>;
1572
+ type MediaUsageWorkListQuery = z.infer<typeof mediaUsageWorkListQuery>;
1573
+ type MediaUsageWorkItem = z.infer<typeof mediaUsageWorkItemSchema>;
1574
+ type MediaUsageWorkListResponse = z.infer<typeof mediaUsageWorkListResponseSchema>;
1575
+ type MediaUsageWorkRetryRequest = z.infer<typeof mediaUsageWorkRetryBody>;
1576
+ type MediaUsageWorkRetryResponse = z.infer<typeof mediaUsageWorkRetryResponseSchema>;
1577
+ type MediaUsageActivationStatus = z.infer<typeof mediaUsageActivationStatusSchema>;
1578
+ type MediaUsageActivationAdvanceRequest = z.infer<typeof mediaUsageActivationAdvanceBody>;
1579
+ type MediaUsageActivationAdvanceResponse = z.infer<typeof mediaUsageActivationAdvanceResponseSchema>;
1580
+ type MediaUsageCollectionDeletionListQuery = z.infer<typeof mediaUsageCollectionDeletionListQuery>;
1581
+ type MediaUsageCollectionDeletionListResponse = z.infer<typeof mediaUsageCollectionDeletionListResponseSchema>;
1582
+ type MediaUsageCollectionDeletionRetryRequest = z.infer<typeof mediaUsageCollectionDeletionRetryBody>;
1583
+ type MediaUsageCollectionDeletionRetryResponse = z.infer<typeof mediaUsageCollectionDeletionRetryResponseSchema>;
1584
+ type MediaUsageCoverageStatus = z.infer<typeof mediaUsageCoverageStatusSchema>;
1585
+ type MediaUsageCoverage = z.infer<typeof mediaUsageCoverageSchema>;
1586
+ type MediaUsageSummary = z.infer<typeof mediaUsageSummarySchema>;
1587
+ type MediaUsageOccurrenceDetail = z.infer<typeof mediaUsageOccurrenceDetailSchema>;
1588
+ type MediaUsageSourceDetail = z.infer<typeof mediaUsageSourceDetailSchema>;
1589
+ type MediaUsageEntryDetail = z.infer<typeof mediaUsageEntryDetailSchema>;
1590
+ type MediaUsageDetailsResponse = z.infer<typeof mediaUsageDetailsResponseSchema>;
1591
+ //#endregion
1592
+ //#region src/api/schemas/schema.d.ts
1593
+ declare const createCollectionBody: z.ZodObject<{
1594
+ slug: z.ZodString;
1595
+ label: z.ZodString;
1596
+ labelSingular: z.ZodOptional<z.ZodString>;
1597
+ description: z.ZodOptional<z.ZodString>;
1598
+ icon: z.ZodOptional<z.ZodString>;
1599
+ admin: z.ZodOptional<z.ZodObject<{
1600
+ listColumns: z.ZodOptional<z.ZodArray<z.ZodString>>;
1601
+ }, z.core.$strip>>;
1602
+ supports: z.ZodOptional<z.ZodArray<z.ZodEnum<{
1603
+ search: "search";
1604
+ seo: "seo";
1605
+ drafts: "drafts";
1606
+ revisions: "revisions";
1607
+ preview: "preview";
1608
+ scheduling: "scheduling";
1609
+ }>>>;
1610
+ source: z.ZodOptional<z.ZodString>;
1611
+ urlPattern: z.ZodOptional<z.ZodString>;
1612
+ routable: z.ZodOptional<z.ZodBoolean>;
1613
+ hasSeo: z.ZodOptional<z.ZodBoolean>;
1614
+ hidden: z.ZodOptional<z.ZodBoolean>;
1615
+ sortOrder: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1616
+ editLocking: z.ZodOptional<z.ZodBoolean>;
1617
+ group: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1618
+ }, z.core.$strip>;
1619
+ declare const updateCollectionBody: z.ZodObject<{
1620
+ label: z.ZodOptional<z.ZodString>;
1621
+ labelSingular: z.ZodOptional<z.ZodString>;
1622
+ description: z.ZodOptional<z.ZodString>;
1623
+ icon: z.ZodOptional<z.ZodString>;
1624
+ admin: z.ZodOptional<z.ZodObject<{
1625
+ listColumns: z.ZodOptional<z.ZodArray<z.ZodString>>;
1626
+ }, z.core.$strip>>;
1627
+ supports: z.ZodOptional<z.ZodArray<z.ZodEnum<{
1628
+ search: "search";
1629
+ seo: "seo";
1630
+ drafts: "drafts";
1631
+ revisions: "revisions";
1632
+ preview: "preview";
1633
+ scheduling: "scheduling";
1634
+ }>>>;
1635
+ urlPattern: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1636
+ routable: z.ZodOptional<z.ZodBoolean>;
1637
+ hasSeo: z.ZodOptional<z.ZodBoolean>;
1638
+ hidden: z.ZodOptional<z.ZodBoolean>;
1639
+ sortOrder: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1640
+ group: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1641
+ commentsEnabled: z.ZodOptional<z.ZodBoolean>;
1642
+ commentsModeration: z.ZodOptional<z.ZodEnum<{
1643
+ all: "all";
1644
+ none: "none";
1645
+ first_time: "first_time";
1646
+ }>>;
1647
+ commentsClosedAfterDays: z.ZodOptional<z.ZodNumber>;
1648
+ commentsAutoApproveUsers: z.ZodOptional<z.ZodBoolean>;
1649
+ editLocking: z.ZodOptional<z.ZodBoolean>;
1650
+ titleField: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1651
+ dateField: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1652
+ }, z.core.$strip>;
1653
+ declare const createFieldBody: z.ZodObject<{
1654
+ slug: z.ZodString;
1655
+ label: z.ZodString;
1656
+ type: z.ZodEnum<{
1657
+ string: "string";
1658
+ number: "number";
1659
+ boolean: "boolean";
1660
+ file: "file";
1661
+ slug: "slug";
1662
+ url: "url";
1663
+ datetime: "datetime";
1664
+ text: "text";
1665
+ select: "select";
1666
+ image: "image";
1667
+ integer: "integer";
1668
+ multiSelect: "multiSelect";
1669
+ portableText: "portableText";
1670
+ reference: "reference";
1671
+ json: "json";
1672
+ repeater: "repeater";
1673
+ }>;
1674
+ required: z.ZodOptional<z.ZodBoolean>;
1675
+ unique: z.ZodOptional<z.ZodBoolean>;
1676
+ defaultValue: z.ZodOptional<z.ZodUnknown>;
1677
+ validation: z.ZodNullable<z.ZodOptional<z.ZodObject<{
1678
+ required: z.ZodOptional<z.ZodBoolean>;
1679
+ min: z.ZodOptional<z.ZodNumber>;
1680
+ max: z.ZodOptional<z.ZodNumber>;
1681
+ minLength: z.ZodOptional<z.ZodNumber>;
1682
+ maxLength: z.ZodOptional<z.ZodNumber>;
1683
+ pattern: z.ZodOptional<z.ZodString>;
1684
+ options: z.ZodOptional<z.ZodArray<z.ZodString>>;
1685
+ subFields: z.ZodOptional<z.ZodArray<z.ZodObject<{
1686
+ slug: z.ZodString;
1687
+ type: z.ZodEnum<{
1688
+ string: "string";
1689
+ number: "number";
1690
+ boolean: "boolean";
1691
+ url: "url";
1692
+ datetime: "datetime";
1693
+ text: "text";
1694
+ select: "select";
1695
+ image: "image";
1696
+ integer: "integer";
1697
+ }>;
1698
+ label: z.ZodString;
1699
+ required: z.ZodOptional<z.ZodBoolean>;
1700
+ options: z.ZodOptional<z.ZodArray<z.ZodString>>;
1701
+ }, z.core.$strip>>>;
1702
+ minItems: z.ZodOptional<z.ZodNumber>;
1703
+ maxItems: z.ZodOptional<z.ZodNumber>;
1704
+ allowedMimeTypes: z.ZodOptional<z.ZodArray<z.ZodString>>;
1705
+ }, z.core.$strip>>>;
1706
+ widget: z.ZodOptional<z.ZodString>;
1707
+ options: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1708
+ sortOrder: z.ZodOptional<z.ZodNumber>;
1709
+ searchable: z.ZodOptional<z.ZodBoolean>;
1710
+ indexed: z.ZodOptional<z.ZodBoolean>;
1711
+ translatable: z.ZodOptional<z.ZodBoolean>;
1712
+ }, z.core.$strip>;
1713
+ declare const updateFieldBody: z.ZodObject<{
1714
+ label: z.ZodOptional<z.ZodString>;
1715
+ type: z.ZodOptional<z.ZodEnum<{
1716
+ string: "string";
1717
+ number: "number";
1718
+ boolean: "boolean";
1719
+ file: "file";
1720
+ slug: "slug";
1721
+ url: "url";
1722
+ datetime: "datetime";
1723
+ text: "text";
1724
+ select: "select";
1725
+ image: "image";
1726
+ integer: "integer";
1727
+ multiSelect: "multiSelect";
1728
+ portableText: "portableText";
1729
+ reference: "reference";
1730
+ json: "json";
1731
+ repeater: "repeater";
1732
+ }>>;
1733
+ required: z.ZodOptional<z.ZodBoolean>;
1734
+ unique: z.ZodOptional<z.ZodBoolean>;
1735
+ defaultValue: z.ZodOptional<z.ZodUnknown>;
1736
+ validation: z.ZodNullable<z.ZodOptional<z.ZodObject<{
1737
+ required: z.ZodOptional<z.ZodBoolean>;
1738
+ min: z.ZodOptional<z.ZodNumber>;
1739
+ max: z.ZodOptional<z.ZodNumber>;
1740
+ minLength: z.ZodOptional<z.ZodNumber>;
1741
+ maxLength: z.ZodOptional<z.ZodNumber>;
1742
+ pattern: z.ZodOptional<z.ZodString>;
1743
+ options: z.ZodOptional<z.ZodArray<z.ZodString>>;
1744
+ subFields: z.ZodOptional<z.ZodArray<z.ZodObject<{
1745
+ slug: z.ZodString;
1746
+ type: z.ZodEnum<{
1747
+ string: "string";
1748
+ number: "number";
1749
+ boolean: "boolean";
1750
+ url: "url";
1751
+ datetime: "datetime";
1752
+ text: "text";
1753
+ select: "select";
1754
+ image: "image";
1755
+ integer: "integer";
1756
+ }>;
1757
+ label: z.ZodString;
1758
+ required: z.ZodOptional<z.ZodBoolean>;
1759
+ options: z.ZodOptional<z.ZodArray<z.ZodString>>;
1760
+ }, z.core.$strip>>>;
1761
+ minItems: z.ZodOptional<z.ZodNumber>;
1762
+ maxItems: z.ZodOptional<z.ZodNumber>;
1763
+ allowedMimeTypes: z.ZodOptional<z.ZodArray<z.ZodString>>;
1764
+ }, z.core.$strip>>>;
1765
+ widget: z.ZodOptional<z.ZodString>;
1766
+ options: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1767
+ sortOrder: z.ZodOptional<z.ZodNumber>;
1768
+ searchable: z.ZodOptional<z.ZodBoolean>;
1769
+ indexed: z.ZodOptional<z.ZodBoolean>;
1770
+ translatable: z.ZodOptional<z.ZodBoolean>;
1771
+ }, z.core.$strip>;
1772
+ declare const fieldReorderBody: z.ZodObject<{
1773
+ fieldSlugs: z.ZodArray<z.ZodString>;
1774
+ }, z.core.$strip>;
1775
+ declare const collectionReorderBody: z.ZodObject<{
1776
+ slugs: z.ZodArray<z.ZodString>;
1777
+ }, z.core.$strip>;
1778
+ declare const orphanRegisterBody: z.ZodObject<{
1779
+ label: z.ZodOptional<z.ZodString>;
1780
+ labelSingular: z.ZodOptional<z.ZodString>;
1781
+ description: z.ZodOptional<z.ZodString>;
1782
+ }, z.core.$strip>;
1783
+ declare const schemaExportQuery: z.ZodObject<{
1784
+ format: z.ZodOptional<z.ZodString>;
1785
+ }, z.core.$strip>;
1786
+ declare const collectionGetQuery: z.ZodObject<{
1787
+ includeFields: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<boolean, string>>>;
1788
+ }, z.core.$strip>;
1789
+ declare const collectionSchema: z.ZodObject<{
1790
+ id: z.ZodString;
1791
+ slug: z.ZodString;
1792
+ label: z.ZodString;
1793
+ labelSingular: z.ZodNullable<z.ZodString>;
1794
+ description: z.ZodNullable<z.ZodString>;
1795
+ icon: z.ZodNullable<z.ZodString>;
1796
+ admin: z.ZodOptional<z.ZodObject<{
1797
+ listColumns: z.ZodOptional<z.ZodArray<z.ZodString>>;
1798
+ }, z.core.$strip>>;
1799
+ supports: z.ZodArray<z.ZodString>;
1800
+ source: z.ZodNullable<z.ZodString>;
1801
+ urlPattern: z.ZodNullable<z.ZodString>;
1802
+ routable: z.ZodBoolean;
1803
+ hasSeo: z.ZodBoolean;
1804
+ hidden: z.ZodBoolean;
1805
+ sortOrder: z.ZodNullable<z.ZodNumber>;
1806
+ editLocking: z.ZodBoolean;
1807
+ group: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1808
+ createdAt: z.ZodString;
1809
+ updatedAt: z.ZodString;
1810
+ titleField: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1811
+ dateField: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1812
+ }, z.core.$strip>;
1813
+ declare const fieldSchema: z.ZodObject<{
1814
+ id: z.ZodString;
1815
+ collectionId: z.ZodString;
1816
+ slug: z.ZodString;
1817
+ label: z.ZodString;
1818
+ type: z.ZodEnum<{
1819
+ string: "string";
1820
+ number: "number";
1821
+ boolean: "boolean";
1822
+ file: "file";
1823
+ slug: "slug";
1824
+ url: "url";
1825
+ datetime: "datetime";
1826
+ text: "text";
1827
+ select: "select";
1828
+ image: "image";
1829
+ integer: "integer";
1830
+ multiSelect: "multiSelect";
1831
+ portableText: "portableText";
1832
+ reference: "reference";
1833
+ json: "json";
1834
+ repeater: "repeater";
1835
+ }>;
1836
+ required: z.ZodBoolean;
1837
+ unique: z.ZodBoolean;
1838
+ defaultValue: z.ZodNullable<z.ZodUnknown>;
1839
+ validation: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1840
+ widget: z.ZodNullable<z.ZodString>;
1841
+ options: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1842
+ sortOrder: z.ZodNumber;
1843
+ searchable: z.ZodBoolean;
1844
+ indexed: z.ZodBoolean;
1845
+ translatable: z.ZodBoolean;
1846
+ createdAt: z.ZodString;
1847
+ updatedAt: z.ZodString;
1848
+ }, z.core.$strip>;
1849
+ declare const collectionResponseSchema: z.ZodObject<{
1850
+ item: z.ZodObject<{
1851
+ id: z.ZodString;
1852
+ slug: z.ZodString;
1853
+ label: z.ZodString;
1854
+ labelSingular: z.ZodNullable<z.ZodString>;
1855
+ description: z.ZodNullable<z.ZodString>;
1856
+ icon: z.ZodNullable<z.ZodString>;
1857
+ admin: z.ZodOptional<z.ZodObject<{
1858
+ listColumns: z.ZodOptional<z.ZodArray<z.ZodString>>;
1859
+ }, z.core.$strip>>;
1860
+ supports: z.ZodArray<z.ZodString>;
1861
+ source: z.ZodNullable<z.ZodString>;
1862
+ urlPattern: z.ZodNullable<z.ZodString>;
1863
+ routable: z.ZodBoolean;
1864
+ hasSeo: z.ZodBoolean;
1865
+ hidden: z.ZodBoolean;
1866
+ sortOrder: z.ZodNullable<z.ZodNumber>;
1867
+ editLocking: z.ZodBoolean;
1868
+ group: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1869
+ createdAt: z.ZodString;
1870
+ updatedAt: z.ZodString;
1871
+ titleField: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1872
+ dateField: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1873
+ }, z.core.$strip>;
1874
+ }, z.core.$strip>;
1875
+ declare const collectionWithFieldsResponseSchema: z.ZodObject<{
1876
+ item: z.ZodObject<{
1877
+ id: z.ZodString;
1878
+ slug: z.ZodString;
1879
+ label: z.ZodString;
1880
+ labelSingular: z.ZodNullable<z.ZodString>;
1881
+ description: z.ZodNullable<z.ZodString>;
1882
+ icon: z.ZodNullable<z.ZodString>;
1883
+ admin: z.ZodOptional<z.ZodObject<{
1884
+ listColumns: z.ZodOptional<z.ZodArray<z.ZodString>>;
1885
+ }, z.core.$strip>>;
1886
+ supports: z.ZodArray<z.ZodString>;
1887
+ source: z.ZodNullable<z.ZodString>;
1888
+ urlPattern: z.ZodNullable<z.ZodString>;
1889
+ routable: z.ZodBoolean;
1890
+ hasSeo: z.ZodBoolean;
1891
+ hidden: z.ZodBoolean;
1892
+ sortOrder: z.ZodNullable<z.ZodNumber>;
1893
+ editLocking: z.ZodBoolean;
1894
+ group: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1895
+ createdAt: z.ZodString;
1896
+ updatedAt: z.ZodString;
1897
+ titleField: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1898
+ dateField: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1899
+ fields: z.ZodArray<z.ZodObject<{
1900
+ id: z.ZodString;
1901
+ collectionId: z.ZodString;
1902
+ slug: z.ZodString;
1903
+ label: z.ZodString;
1904
+ type: z.ZodEnum<{
1905
+ string: "string";
1906
+ number: "number";
1907
+ boolean: "boolean";
1908
+ file: "file";
1909
+ slug: "slug";
1910
+ url: "url";
1911
+ datetime: "datetime";
1912
+ text: "text";
1913
+ select: "select";
1914
+ image: "image";
1915
+ integer: "integer";
1916
+ multiSelect: "multiSelect";
1917
+ portableText: "portableText";
1918
+ reference: "reference";
1919
+ json: "json";
1920
+ repeater: "repeater";
1921
+ }>;
1922
+ required: z.ZodBoolean;
1923
+ unique: z.ZodBoolean;
1924
+ defaultValue: z.ZodNullable<z.ZodUnknown>;
1925
+ validation: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1926
+ widget: z.ZodNullable<z.ZodString>;
1927
+ options: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1928
+ sortOrder: z.ZodNumber;
1929
+ searchable: z.ZodBoolean;
1930
+ indexed: z.ZodBoolean;
1931
+ translatable: z.ZodBoolean;
1932
+ createdAt: z.ZodString;
1933
+ updatedAt: z.ZodString;
1934
+ }, z.core.$strip>>;
1935
+ }, z.core.$strip>;
1936
+ }, z.core.$strip>;
1937
+ declare const collectionListResponseSchema: z.ZodObject<{
1938
+ items: z.ZodArray<z.ZodObject<{
1939
+ id: z.ZodString;
1940
+ slug: z.ZodString;
1941
+ label: z.ZodString;
1942
+ labelSingular: z.ZodNullable<z.ZodString>;
1943
+ description: z.ZodNullable<z.ZodString>;
1944
+ icon: z.ZodNullable<z.ZodString>;
1945
+ admin: z.ZodOptional<z.ZodObject<{
1946
+ listColumns: z.ZodOptional<z.ZodArray<z.ZodString>>;
1947
+ }, z.core.$strip>>;
1948
+ supports: z.ZodArray<z.ZodString>;
1949
+ source: z.ZodNullable<z.ZodString>;
1950
+ urlPattern: z.ZodNullable<z.ZodString>;
1951
+ routable: z.ZodBoolean;
1952
+ hasSeo: z.ZodBoolean;
1953
+ hidden: z.ZodBoolean;
1954
+ sortOrder: z.ZodNullable<z.ZodNumber>;
1955
+ editLocking: z.ZodBoolean;
1956
+ group: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1957
+ createdAt: z.ZodString;
1958
+ updatedAt: z.ZodString;
1959
+ titleField: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1960
+ dateField: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1961
+ }, z.core.$strip>>;
1962
+ }, z.core.$strip>;
1963
+ declare const fieldResponseSchema: z.ZodObject<{
1964
+ item: z.ZodObject<{
1965
+ id: z.ZodString;
1966
+ collectionId: z.ZodString;
1967
+ slug: z.ZodString;
1968
+ label: z.ZodString;
1969
+ type: z.ZodEnum<{
1970
+ string: "string";
1971
+ number: "number";
1972
+ boolean: "boolean";
1973
+ file: "file";
1974
+ slug: "slug";
1975
+ url: "url";
1976
+ datetime: "datetime";
1977
+ text: "text";
1978
+ select: "select";
1979
+ image: "image";
1980
+ integer: "integer";
1981
+ multiSelect: "multiSelect";
1982
+ portableText: "portableText";
1983
+ reference: "reference";
1984
+ json: "json";
1985
+ repeater: "repeater";
1986
+ }>;
1987
+ required: z.ZodBoolean;
1988
+ unique: z.ZodBoolean;
1989
+ defaultValue: z.ZodNullable<z.ZodUnknown>;
1990
+ validation: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1991
+ widget: z.ZodNullable<z.ZodString>;
1992
+ options: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1993
+ sortOrder: z.ZodNumber;
1994
+ searchable: z.ZodBoolean;
1995
+ indexed: z.ZodBoolean;
1996
+ translatable: z.ZodBoolean;
1997
+ createdAt: z.ZodString;
1998
+ updatedAt: z.ZodString;
1999
+ }, z.core.$strip>;
2000
+ }, z.core.$strip>;
2001
+ declare const fieldListResponseSchema: z.ZodObject<{
2002
+ items: z.ZodArray<z.ZodObject<{
2003
+ id: z.ZodString;
2004
+ collectionId: z.ZodString;
2005
+ slug: z.ZodString;
2006
+ label: z.ZodString;
2007
+ type: z.ZodEnum<{
2008
+ string: "string";
2009
+ number: "number";
2010
+ boolean: "boolean";
2011
+ file: "file";
2012
+ slug: "slug";
2013
+ url: "url";
2014
+ datetime: "datetime";
2015
+ text: "text";
2016
+ select: "select";
2017
+ image: "image";
2018
+ integer: "integer";
2019
+ multiSelect: "multiSelect";
2020
+ portableText: "portableText";
2021
+ reference: "reference";
2022
+ json: "json";
2023
+ repeater: "repeater";
2024
+ }>;
2025
+ required: z.ZodBoolean;
2026
+ unique: z.ZodBoolean;
2027
+ defaultValue: z.ZodNullable<z.ZodUnknown>;
2028
+ validation: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
2029
+ widget: z.ZodNullable<z.ZodString>;
2030
+ options: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
2031
+ sortOrder: z.ZodNumber;
2032
+ searchable: z.ZodBoolean;
2033
+ indexed: z.ZodBoolean;
2034
+ translatable: z.ZodBoolean;
2035
+ createdAt: z.ZodString;
2036
+ updatedAt: z.ZodString;
2037
+ }, z.core.$strip>>;
2038
+ }, z.core.$strip>;
2039
+ declare const orphanedTableSchema: z.ZodObject<{
2040
+ slug: z.ZodString;
2041
+ tableName: z.ZodString;
2042
+ rowCount: z.ZodNumber;
2043
+ }, z.core.$strip>;
2044
+ declare const orphanedTableListResponseSchema: z.ZodObject<{
2045
+ items: z.ZodArray<z.ZodObject<{
2046
+ slug: z.ZodString;
2047
+ tableName: z.ZodString;
2048
+ rowCount: z.ZodNumber;
2049
+ }, z.core.$strip>>;
2050
+ }, z.core.$strip>;
2051
+ //#endregion
2052
+ //#region src/api/schemas/comments.d.ts
2053
+ declare const createCommentBody: z.ZodObject<{
2054
+ authorName: z.ZodString;
2055
+ authorEmail: z.ZodEmail;
2056
+ body: z.ZodString;
2057
+ parentId: z.ZodOptional<z.ZodString>;
2058
+ website_url: z.ZodOptional<z.ZodString>;
2059
+ turnstileToken: z.ZodOptional<z.ZodString>;
2060
+ }, z.core.$strip>;
2061
+ declare const createReactionBody: z.ZodObject<{
2062
+ commentId: z.ZodString;
2063
+ reaction: z.ZodDefault<z.ZodString>;
2064
+ website_url: z.ZodOptional<z.ZodString>;
2065
+ }, z.core.$strip>;
2066
+ declare const commentStatusBody: z.ZodObject<{
2067
+ status: z.ZodEnum<{
2068
+ pending: "pending";
2069
+ approved: "approved";
2070
+ spam: "spam";
2071
+ trash: "trash";
2072
+ }>;
2073
+ }, z.core.$strip>;
2074
+ declare const commentBulkBody: z.ZodObject<{
2075
+ ids: z.ZodArray<z.ZodString>;
2076
+ action: z.ZodEnum<{
2077
+ spam: "spam";
2078
+ trash: "trash";
2079
+ approve: "approve";
2080
+ delete: "delete";
2081
+ }>;
2082
+ }, z.core.$strip>;
2083
+ declare const commentListQuery: z.ZodObject<{
2084
+ status: z.ZodOptional<z.ZodEnum<{
2085
+ pending: "pending";
2086
+ approved: "approved";
2087
+ spam: "spam";
2088
+ trash: "trash";
2089
+ }>>;
2090
+ collection: z.ZodOptional<z.ZodString>;
2091
+ search: z.ZodOptional<z.ZodString>;
2092
+ limit: z.ZodDefault<z.ZodOptional<z.ZodCoercedNumber<unknown>>>;
2093
+ cursor: z.ZodOptional<z.ZodString>;
2094
+ }, z.core.$strip>;
2095
+ /**
2096
+ * Public-facing comment (no email/IP).
2097
+ *
2098
+ * `replies` is recursive in practice (each reply can have replies), but we
2099
+ * model it as a single level here to avoid circular type inference issues
2100
+ * with tsgo. OpenAPI consumers should treat replies as the same shape.
2101
+ */
2102
+ declare const publicCommentSchema: z.ZodObject<{
2103
+ id: z.ZodString;
2104
+ authorName: z.ZodString;
2105
+ isRegisteredUser: z.ZodBoolean;
2106
+ body: z.ZodString;
2107
+ parentId: z.ZodNullable<z.ZodString>;
2108
+ createdAt: z.ZodString;
2109
+ replies: z.ZodOptional<z.ZodArray<z.ZodAny>>;
2110
+ }>;
2111
+ /** Admin comment with full details */
2112
+ declare const commentSchema: z.ZodObject<{
2113
+ id: z.ZodString;
2114
+ collection: z.ZodString;
2115
+ contentId: z.ZodString;
2116
+ authorName: z.ZodString;
2117
+ authorEmail: z.ZodString;
2118
+ body: z.ZodString;
2119
+ status: z.ZodEnum<{
2120
+ pending: "pending";
2121
+ approved: "approved";
2122
+ spam: "spam";
2123
+ trash: "trash";
2124
+ }>;
2125
+ parentId: z.ZodNullable<z.ZodString>;
2126
+ ipHash: z.ZodNullable<z.ZodString>;
2127
+ createdAt: z.ZodString;
2128
+ updatedAt: z.ZodString;
2129
+ }, z.core.$strip>;
2130
+ declare const publicCommentListResponseSchema: z.ZodObject<{
2131
+ items: z.ZodArray<z.ZodObject<{
2132
+ id: z.ZodString;
2133
+ authorName: z.ZodString;
2134
+ isRegisteredUser: z.ZodBoolean;
2135
+ body: z.ZodString;
2136
+ parentId: z.ZodNullable<z.ZodString>;
2137
+ createdAt: z.ZodString;
2138
+ replies: z.ZodOptional<z.ZodArray<z.ZodAny>>;
2139
+ }, z.core.$strip>>;
2140
+ nextCursor: z.ZodOptional<z.ZodString>;
2141
+ total: z.ZodNumber;
2142
+ }, z.core.$strip>;
2143
+ declare const adminCommentListResponseSchema: z.ZodObject<{
2144
+ items: z.ZodArray<z.ZodObject<{
2145
+ id: z.ZodString;
2146
+ collection: z.ZodString;
2147
+ contentId: z.ZodString;
2148
+ authorName: z.ZodString;
2149
+ authorEmail: z.ZodString;
2150
+ body: z.ZodString;
2151
+ status: z.ZodEnum<{
2152
+ pending: "pending";
2153
+ approved: "approved";
2154
+ spam: "spam";
2155
+ trash: "trash";
2156
+ }>;
2157
+ parentId: z.ZodNullable<z.ZodString>;
2158
+ ipHash: z.ZodNullable<z.ZodString>;
2159
+ createdAt: z.ZodString;
2160
+ updatedAt: z.ZodString;
2161
+ }, z.core.$strip>>;
2162
+ nextCursor: z.ZodOptional<z.ZodString>;
2163
+ }, z.core.$strip>;
2164
+ declare const commentCountsResponseSchema: z.ZodObject<{
2165
+ pending: z.ZodNumber;
2166
+ approved: z.ZodNumber;
2167
+ spam: z.ZodNumber;
2168
+ trash: z.ZodNumber;
2169
+ }, z.core.$strip>;
2170
+ declare const commentBulkResponseSchema: z.ZodObject<{
2171
+ affected: z.ZodNumber;
2172
+ }, z.core.$strip>;
2173
+ //#endregion
2174
+ //#region src/api/schemas/auth.d.ts
2175
+ declare const signupRequestBody: z.ZodObject<{
2176
+ email: z.ZodEmail;
2177
+ }, z.core.$strip>;
2178
+ declare const signupCompleteBody: z.ZodObject<{
2179
+ token: z.ZodString;
2180
+ credential: z.ZodObject<{
2181
+ id: z.ZodString;
2182
+ rawId: z.ZodString;
2183
+ type: z.ZodLiteral<"public-key">;
2184
+ response: z.ZodObject<{
2185
+ clientDataJSON: z.ZodString;
2186
+ attestationObject: z.ZodString;
2187
+ transports: z.ZodOptional<z.ZodArray<z.ZodEnum<{
2188
+ usb: "usb";
2189
+ nfc: "nfc";
2190
+ ble: "ble";
2191
+ internal: "internal";
2192
+ hybrid: "hybrid";
2193
+ }>>>;
2194
+ }, z.core.$strip>;
2195
+ authenticatorAttachment: z.ZodOptional<z.ZodEnum<{
2196
+ platform: "platform";
2197
+ "cross-platform": "cross-platform";
2198
+ }>>;
2199
+ }, z.core.$strip>;
2200
+ name: z.ZodOptional<z.ZodString>;
2201
+ }, z.core.$strip>;
2202
+ declare const inviteCreateBody: z.ZodObject<{
2203
+ email: z.ZodEmail;
2204
+ role: z.ZodOptional<z.ZodCoercedNumber<unknown> & z.ZodType<50 | 10 | 20 | 30 | 40, unknown, z.core.$ZodTypeInternals<50 | 10 | 20 | 30 | 40, unknown>>>;
2205
+ }, z.core.$strip>;
2206
+ declare const inviteRegisterOptionsBody: z.ZodObject<{
2207
+ token: z.ZodString;
2208
+ name: z.ZodOptional<z.ZodString>;
2209
+ }, z.core.$strip>;
2210
+ declare const inviteCompleteBody: z.ZodObject<{
2211
+ token: z.ZodString;
2212
+ credential: z.ZodObject<{
2213
+ id: z.ZodString;
2214
+ rawId: z.ZodString;
2215
+ type: z.ZodLiteral<"public-key">;
2216
+ response: z.ZodObject<{
2217
+ clientDataJSON: z.ZodString;
2218
+ attestationObject: z.ZodString;
2219
+ transports: z.ZodOptional<z.ZodArray<z.ZodEnum<{
2220
+ usb: "usb";
2221
+ nfc: "nfc";
2222
+ ble: "ble";
2223
+ internal: "internal";
2224
+ hybrid: "hybrid";
2225
+ }>>>;
2226
+ }, z.core.$strip>;
2227
+ authenticatorAttachment: z.ZodOptional<z.ZodEnum<{
2228
+ platform: "platform";
2229
+ "cross-platform": "cross-platform";
2230
+ }>>;
2231
+ }, z.core.$strip>;
2232
+ name: z.ZodOptional<z.ZodString>;
2233
+ }, z.core.$strip>;
2234
+ declare const magicLinkSendBody: z.ZodObject<{
2235
+ email: z.ZodEmail;
2236
+ }, z.core.$strip>;
2237
+ declare const passkeyOptionsBody: z.ZodObject<{
2238
+ email: z.ZodOptional<z.ZodEmail>;
2239
+ }, z.core.$strip>;
2240
+ declare const passkeyVerifyBody: z.ZodObject<{
2241
+ credential: z.ZodObject<{
2242
+ id: z.ZodString;
2243
+ rawId: z.ZodString;
2244
+ type: z.ZodLiteral<"public-key">;
2245
+ response: z.ZodObject<{
2246
+ clientDataJSON: z.ZodString;
2247
+ authenticatorData: z.ZodString;
2248
+ signature: z.ZodString;
2249
+ userHandle: z.ZodOptional<z.ZodString>;
2250
+ }, z.core.$strip>;
2251
+ authenticatorAttachment: z.ZodOptional<z.ZodEnum<{
2252
+ platform: "platform";
2253
+ "cross-platform": "cross-platform";
2254
+ }>>;
2255
+ }, z.core.$strip>;
2256
+ }, z.core.$strip>;
2257
+ declare const passkeyRegisterOptionsBody: z.ZodObject<{
2258
+ name: z.ZodOptional<z.ZodString>;
2259
+ }, z.core.$strip>;
2260
+ declare const passkeyRegisterVerifyBody: z.ZodObject<{
2261
+ credential: z.ZodObject<{
2262
+ id: z.ZodString;
2263
+ rawId: z.ZodString;
2264
+ type: z.ZodLiteral<"public-key">;
2265
+ response: z.ZodObject<{
2266
+ clientDataJSON: z.ZodString;
2267
+ attestationObject: z.ZodString;
2268
+ transports: z.ZodOptional<z.ZodArray<z.ZodEnum<{
2269
+ usb: "usb";
2270
+ nfc: "nfc";
2271
+ ble: "ble";
2272
+ internal: "internal";
2273
+ hybrid: "hybrid";
2274
+ }>>>;
2275
+ }, z.core.$strip>;
2276
+ authenticatorAttachment: z.ZodOptional<z.ZodEnum<{
2277
+ platform: "platform";
2278
+ "cross-platform": "cross-platform";
2279
+ }>>;
2280
+ }, z.core.$strip>;
2281
+ name: z.ZodOptional<z.ZodString>;
2282
+ }, z.core.$strip>;
2283
+ declare const passkeyRenameBody: z.ZodObject<{
2284
+ name: z.ZodString;
2285
+ }, z.core.$strip>;
2286
+ declare const authMeActionBody: z.ZodObject<{
2287
+ action: z.ZodString;
2288
+ }, z.core.$strip>;
2289
+ //#endregion
2290
+ //#region src/api/schemas/menus.d.ts
2291
+ /**
2292
+ * Allowed menu item types. `custom` uses `customUrl`; the others resolve a URL
2293
+ * from `referenceCollection` + `referenceId` (a translation_group id).
2294
+ */
2295
+ declare const menuItemTypeEnum: z.ZodEnum<{
2296
+ custom: "custom";
2297
+ taxonomy: "taxonomy";
2298
+ collection: "collection";
2299
+ page: "page";
2300
+ post: "post";
2301
+ }>;
2302
+ declare const createMenuBody: z.ZodObject<{
2303
+ name: z.ZodString;
2304
+ label: z.ZodString;
2305
+ locale: z.ZodOptional<z.ZodString>;
2306
+ translationOf: z.ZodOptional<z.ZodString>;
2307
+ }, z.core.$strict>;
2308
+ declare const updateMenuBody: z.ZodObject<{
2309
+ label: z.ZodOptional<z.ZodString>;
2310
+ }, z.core.$strict>;
2311
+ declare const createMenuItemBody: z.ZodObject<{
2312
+ type: z.ZodEnum<{
2313
+ custom: "custom";
2314
+ taxonomy: "taxonomy";
2315
+ collection: "collection";
2316
+ page: "page";
2317
+ post: "post";
2318
+ }>;
2319
+ label: z.ZodString;
2320
+ referenceCollection: z.ZodOptional<z.ZodString>;
2321
+ referenceId: z.ZodOptional<z.ZodString>;
2322
+ customUrl: z.ZodOptional<z.ZodString>;
2323
+ target: z.ZodOptional<z.ZodString>;
2324
+ titleAttr: z.ZodOptional<z.ZodString>;
2325
+ cssClasses: z.ZodOptional<z.ZodString>;
2326
+ parentId: z.ZodOptional<z.ZodString>;
2327
+ sortOrder: z.ZodOptional<z.ZodNumber>;
2328
+ }, z.core.$strict>;
2329
+ declare const updateMenuItemBody: z.ZodObject<{
2330
+ label: z.ZodOptional<z.ZodString>;
2331
+ customUrl: z.ZodOptional<z.ZodString>;
2332
+ target: z.ZodOptional<z.ZodString>;
2333
+ titleAttr: z.ZodOptional<z.ZodString>;
2334
+ cssClasses: z.ZodOptional<z.ZodString>;
2335
+ parentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2336
+ sortOrder: z.ZodOptional<z.ZodNumber>;
2337
+ }, z.core.$strict>;
2338
+ declare const reorderMenuItemsBody: z.ZodObject<{
2339
+ items: z.ZodArray<z.ZodObject<{
2340
+ id: z.ZodString;
2341
+ parentId: z.ZodNullable<z.ZodString>;
2342
+ sortOrder: z.ZodNumber;
2343
+ }, z.core.$strip>>;
2344
+ }, z.core.$strip>;
2345
+ declare const menuSchema: z.ZodObject<{
2346
+ id: z.ZodString;
2347
+ name: z.ZodString;
2348
+ label: z.ZodString;
2349
+ createdAt: z.ZodString;
2350
+ updatedAt: z.ZodString;
2351
+ locale: z.ZodString;
2352
+ translationGroup: z.ZodNullable<z.ZodString>;
2353
+ }, z.core.$strip>;
2354
+ declare const menuItemSchema: z.ZodObject<{
2355
+ id: z.ZodString;
2356
+ menuId: z.ZodString;
2357
+ parentId: z.ZodNullable<z.ZodString>;
2358
+ sortOrder: z.ZodNumber;
2359
+ type: z.ZodString;
2360
+ referenceCollection: z.ZodNullable<z.ZodString>;
2361
+ referenceId: z.ZodNullable<z.ZodString>;
2362
+ customUrl: z.ZodNullable<z.ZodString>;
2363
+ label: z.ZodString;
2364
+ titleAttr: z.ZodNullable<z.ZodString>;
2365
+ target: z.ZodNullable<z.ZodString>;
2366
+ cssClasses: z.ZodNullable<z.ZodString>;
2367
+ createdAt: z.ZodString;
2368
+ locale: z.ZodString;
2369
+ translationGroup: z.ZodNullable<z.ZodString>;
2370
+ }, z.core.$strip>;
2371
+ declare const menuTranslationsSchema: z.ZodObject<{
2372
+ translationGroup: z.ZodNullable<z.ZodString>;
2373
+ translations: z.ZodArray<z.ZodObject<{
2374
+ id: z.ZodString;
2375
+ name: z.ZodString;
2376
+ label: z.ZodString;
2377
+ locale: z.ZodString;
2378
+ updatedAt: z.ZodString;
2379
+ }, z.core.$strip>>;
2380
+ }, z.core.$strip>;
2381
+ declare const menuListItemSchema: z.ZodObject<{
2382
+ id: z.ZodString;
2383
+ name: z.ZodString;
2384
+ label: z.ZodString;
2385
+ createdAt: z.ZodString;
2386
+ updatedAt: z.ZodString;
2387
+ locale: z.ZodString;
2388
+ translationGroup: z.ZodNullable<z.ZodString>;
2389
+ itemCount: z.ZodNumber;
2390
+ }, z.core.$strip>;
2391
+ declare const menuWithItemsSchema: z.ZodObject<{
2392
+ id: z.ZodString;
2393
+ name: z.ZodString;
2394
+ label: z.ZodString;
2395
+ createdAt: z.ZodString;
2396
+ updatedAt: z.ZodString;
2397
+ locale: z.ZodString;
2398
+ translationGroup: z.ZodNullable<z.ZodString>;
2399
+ items: z.ZodArray<z.ZodObject<{
2400
+ id: z.ZodString;
2401
+ menuId: z.ZodString;
2402
+ parentId: z.ZodNullable<z.ZodString>;
2403
+ sortOrder: z.ZodNumber;
2404
+ type: z.ZodString;
2405
+ referenceCollection: z.ZodNullable<z.ZodString>;
2406
+ referenceId: z.ZodNullable<z.ZodString>;
2407
+ customUrl: z.ZodNullable<z.ZodString>;
2408
+ label: z.ZodString;
2409
+ titleAttr: z.ZodNullable<z.ZodString>;
2410
+ target: z.ZodNullable<z.ZodString>;
2411
+ cssClasses: z.ZodNullable<z.ZodString>;
2412
+ createdAt: z.ZodString;
2413
+ locale: z.ZodString;
2414
+ translationGroup: z.ZodNullable<z.ZodString>;
2415
+ }, z.core.$strip>>;
2416
+ }, z.core.$strip>;
2417
+ //#endregion
2418
+ //#region src/api/schemas/taxonomies.d.ts
2419
+ declare const createTaxonomyDefBody: z.ZodObject<{
2420
+ name: z.ZodString;
2421
+ label: z.ZodString;
2422
+ labelSingular: z.ZodOptional<z.ZodString>;
2423
+ hierarchical: z.ZodOptional<z.ZodBoolean>;
2424
+ collections: z.ZodOptional<z.ZodArray<z.ZodString>>;
2425
+ locale: z.ZodOptional<z.ZodString>;
2426
+ translationOf: z.ZodOptional<z.ZodString>;
2427
+ }, z.core.$strip>;
2428
+ /**
2429
+ * `name` and `locale` are absent on purpose: both identify the definition row
2430
+ * being written, and `.strict()` turns an attempt to change either into a 400
2431
+ * rather than a silently ignored field.
2432
+ */
2433
+ declare const updateTaxonomyDefBody: z.ZodObject<{
2434
+ label: z.ZodOptional<z.ZodString>;
2435
+ labelSingular: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2436
+ hierarchical: z.ZodOptional<z.ZodBoolean>;
2437
+ collections: z.ZodOptional<z.ZodArray<z.ZodString>>;
2438
+ }, z.core.$strict>;
2439
+ declare const createTermBody: z.ZodObject<{
2440
+ slug: z.ZodOptional<z.ZodString>;
2441
+ label: z.ZodString;
2442
+ parentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2443
+ description: z.ZodOptional<z.ZodString>;
2444
+ locale: z.ZodOptional<z.ZodString>;
2445
+ translationOf: z.ZodOptional<z.ZodString>;
2446
+ }, z.core.$strip>;
2447
+ declare const updateTermBody: z.ZodObject<{
2448
+ slug: z.ZodOptional<z.ZodString>;
2449
+ label: z.ZodOptional<z.ZodString>;
2450
+ parentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2451
+ description: z.ZodOptional<z.ZodString>;
2452
+ }, z.core.$strip>;
2453
+ declare const reorderTermsBody: z.ZodObject<{
2454
+ parentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2455
+ ids: z.ZodArray<z.ZodString>;
2456
+ }, z.core.$strict>;
2457
+ declare const termListQuery: z.ZodObject<{
2458
+ locale: z.ZodOptional<z.ZodString>;
2459
+ includeCounts: z.ZodDefault<z.ZodOptional<z.ZodPipe<z.ZodEnum<{
2460
+ true: "true";
2461
+ false: "false";
2462
+ }>, z.ZodTransform<boolean, "true" | "false">>>>;
2463
+ resolveFallback: z.ZodDefault<z.ZodOptional<z.ZodPipe<z.ZodEnum<{
2464
+ true: "true";
2465
+ false: "false";
2466
+ }>, z.ZodTransform<boolean, "true" | "false">>>>;
2467
+ }, z.core.$strip>;
2468
+ declare const taxonomyDefSchema: z.ZodObject<{
2469
+ id: z.ZodString;
2470
+ name: z.ZodString;
2471
+ label: z.ZodString;
2472
+ labelSingular: z.ZodOptional<z.ZodString>;
2473
+ hierarchical: z.ZodBoolean;
2474
+ collections: z.ZodArray<z.ZodString>;
2475
+ locale: z.ZodString;
2476
+ translationGroup: z.ZodNullable<z.ZodString>;
2477
+ }, z.core.$strip>;
2478
+ declare const taxonomyDefTranslationsSchema: z.ZodObject<{
2479
+ translationGroup: z.ZodNullable<z.ZodString>;
2480
+ translations: z.ZodArray<z.ZodObject<{
2481
+ id: z.ZodString;
2482
+ name: z.ZodString;
2483
+ label: z.ZodString;
2484
+ locale: z.ZodString;
2485
+ }, z.core.$strip>>;
2486
+ }, z.core.$strip>;
2487
+ declare const taxonomyListResponseSchema: z.ZodObject<{
2488
+ taxonomies: z.ZodArray<z.ZodObject<{
2489
+ id: z.ZodString;
2490
+ name: z.ZodString;
2491
+ label: z.ZodString;
2492
+ labelSingular: z.ZodOptional<z.ZodString>;
2493
+ hierarchical: z.ZodBoolean;
2494
+ collections: z.ZodArray<z.ZodString>;
2495
+ locale: z.ZodString;
2496
+ translationGroup: z.ZodNullable<z.ZodString>;
2497
+ }, z.core.$strip>>;
2498
+ }, z.core.$strip>;
2499
+ declare const taxonomyResponseSchema: z.ZodObject<{
2500
+ taxonomy: z.ZodObject<{
2501
+ id: z.ZodString;
2502
+ name: z.ZodString;
2503
+ label: z.ZodString;
2504
+ labelSingular: z.ZodOptional<z.ZodString>;
2505
+ hierarchical: z.ZodBoolean;
2506
+ collections: z.ZodArray<z.ZodString>;
2507
+ locale: z.ZodString;
2508
+ translationGroup: z.ZodNullable<z.ZodString>;
2509
+ }, z.core.$strip>;
2510
+ }, z.core.$strip>;
2511
+ declare const termSchema: z.ZodObject<{
2512
+ id: z.ZodString;
2513
+ name: z.ZodString;
2514
+ slug: z.ZodString;
2515
+ label: z.ZodString;
2516
+ parentId: z.ZodNullable<z.ZodString>;
2517
+ description: z.ZodOptional<z.ZodString>;
2518
+ locale: z.ZodString;
2519
+ translationGroup: z.ZodNullable<z.ZodString>;
2520
+ }, z.core.$strip>;
2521
+ declare const termTranslationsSchema: z.ZodObject<{
2522
+ translationGroup: z.ZodNullable<z.ZodString>;
2523
+ translations: z.ZodArray<z.ZodObject<{
2524
+ id: z.ZodString;
2525
+ slug: z.ZodString;
2526
+ label: z.ZodString;
2527
+ locale: z.ZodString;
2528
+ }, z.core.$strip>>;
2529
+ }, z.core.$strip>;
2530
+ declare const termWithCountSchema: z.ZodType;
2531
+ declare const termListResponseSchema: z.ZodObject<{
2532
+ terms: z.ZodArray<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
2533
+ }, z.core.$strip>;
2534
+ declare const termResponseSchema: z.ZodObject<{
2535
+ term: z.ZodObject<{
2536
+ id: z.ZodString;
2537
+ name: z.ZodString;
2538
+ slug: z.ZodString;
2539
+ label: z.ZodString;
2540
+ parentId: z.ZodNullable<z.ZodString>;
2541
+ description: z.ZodOptional<z.ZodString>;
2542
+ locale: z.ZodString;
2543
+ translationGroup: z.ZodNullable<z.ZodString>;
2544
+ }, z.core.$strip>;
2545
+ }, z.core.$strip>;
2546
+ declare const termReorderResponseSchema: z.ZodObject<{
2547
+ reordered: z.ZodLiteral<true>;
2548
+ }, z.core.$strip>;
2549
+ declare const termGetResponseSchema: z.ZodObject<{
2550
+ term: z.ZodObject<{
2551
+ id: z.ZodString;
2552
+ name: z.ZodString;
2553
+ slug: z.ZodString;
2554
+ label: z.ZodString;
2555
+ parentId: z.ZodNullable<z.ZodString>;
2556
+ description: z.ZodOptional<z.ZodString>;
2557
+ locale: z.ZodString;
2558
+ translationGroup: z.ZodNullable<z.ZodString>;
2559
+ count: z.ZodNumber;
2560
+ children: z.ZodArray<z.ZodObject<{
2561
+ id: z.ZodString;
2562
+ slug: z.ZodString;
2563
+ label: z.ZodString;
2564
+ }, z.core.$strip>>;
2565
+ }, z.core.$strip>;
2566
+ }, z.core.$strip>;
2567
+ //#endregion
2568
+ //#region src/api/schemas/sections.d.ts
2569
+ declare const sectionsListQuery: z.ZodObject<{
2570
+ source: z.ZodOptional<z.ZodEnum<{
2571
+ theme: "theme";
2572
+ user: "user";
2573
+ import: "import";
2574
+ }>>;
2575
+ search: z.ZodOptional<z.ZodString>;
2576
+ limit: z.ZodDefault<z.ZodOptional<z.ZodCoercedNumber<unknown>>>;
2577
+ cursor: z.ZodOptional<z.ZodString>;
2578
+ }, z.core.$strip>;
2579
+ declare const createSectionBody: z.ZodObject<{
2580
+ slug: z.ZodString;
2581
+ title: z.ZodString;
2582
+ description: z.ZodOptional<z.ZodString>;
2583
+ keywords: z.ZodOptional<z.ZodArray<z.ZodString>>;
2584
+ content: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
2585
+ previewMediaId: z.ZodOptional<z.ZodString>;
2586
+ source: z.ZodOptional<z.ZodEnum<{
2587
+ user: "user";
2588
+ import: "import";
2589
+ }>>;
2590
+ themeId: z.ZodOptional<z.ZodString>;
2591
+ }, z.core.$strip>;
2592
+ declare const updateSectionBody: z.ZodObject<{
2593
+ slug: z.ZodOptional<z.ZodString>;
2594
+ title: z.ZodOptional<z.ZodString>;
2595
+ description: z.ZodOptional<z.ZodString>;
2596
+ keywords: z.ZodOptional<z.ZodArray<z.ZodString>>;
2597
+ content: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
2598
+ previewMediaId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2599
+ }, z.core.$strip>;
2600
+ declare const sectionSchema: z.ZodObject<{
2601
+ id: z.ZodString;
2602
+ slug: z.ZodString;
2603
+ title: z.ZodString;
2604
+ description: z.ZodNullable<z.ZodString>;
2605
+ keywords: z.ZodNullable<z.ZodArray<z.ZodString>>;
2606
+ content: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
2607
+ previewMediaId: z.ZodNullable<z.ZodString>;
2608
+ source: z.ZodString;
2609
+ themeId: z.ZodNullable<z.ZodString>;
2610
+ createdAt: z.ZodString;
2611
+ updatedAt: z.ZodString;
2612
+ }, z.core.$strip>;
2613
+ declare const sectionListResponseSchema: z.ZodObject<{
2614
+ items: z.ZodArray<z.ZodObject<{
2615
+ id: z.ZodString;
2616
+ slug: z.ZodString;
2617
+ title: z.ZodString;
2618
+ description: z.ZodNullable<z.ZodString>;
2619
+ keywords: z.ZodNullable<z.ZodArray<z.ZodString>>;
2620
+ content: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
2621
+ previewMediaId: z.ZodNullable<z.ZodString>;
2622
+ source: z.ZodString;
2623
+ themeId: z.ZodNullable<z.ZodString>;
2624
+ createdAt: z.ZodString;
2625
+ updatedAt: z.ZodString;
2626
+ }, z.core.$strip>>;
2627
+ nextCursor: z.ZodOptional<z.ZodString>;
2628
+ }, z.core.$strip>;
2629
+ //#endregion
2630
+ //#region src/api/schemas/settings.d.ts
2631
+ declare const settingsUpdateBody: z.ZodObject<{
2632
+ title: z.ZodOptional<z.ZodString>;
2633
+ tagline: z.ZodOptional<z.ZodString>;
2634
+ logo: z.ZodOptional<z.ZodObject<{
2635
+ mediaId: z.ZodString;
2636
+ alt: z.ZodOptional<z.ZodString>;
2637
+ }, z.core.$strip>>;
2638
+ favicon: z.ZodOptional<z.ZodObject<{
2639
+ mediaId: z.ZodString;
2640
+ alt: z.ZodOptional<z.ZodString>;
2641
+ }, z.core.$strip>>;
2642
+ url: z.ZodOptional<z.ZodUnion<readonly [z.ZodURL, z.ZodLiteral<"">]>>;
2643
+ postsPerPage: z.ZodOptional<z.ZodNumber>;
2644
+ dateFormat: z.ZodOptional<z.ZodString>;
2645
+ timezone: z.ZodOptional<z.ZodString>;
2646
+ social: z.ZodOptional<z.ZodObject<{
2647
+ twitter: z.ZodOptional<z.ZodString>;
2648
+ github: z.ZodOptional<z.ZodString>;
2649
+ facebook: z.ZodOptional<z.ZodString>;
2650
+ instagram: z.ZodOptional<z.ZodString>;
2651
+ linkedin: z.ZodOptional<z.ZodString>;
2652
+ youtube: z.ZodOptional<z.ZodString>;
2653
+ }, z.core.$strip>>;
2654
+ seo: z.ZodOptional<z.ZodObject<{
2655
+ titleSeparator: z.ZodOptional<z.ZodString>;
2656
+ defaultOgImage: z.ZodOptional<z.ZodObject<{
2657
+ mediaId: z.ZodString;
2658
+ alt: z.ZodOptional<z.ZodString>;
2659
+ }, z.core.$strip>>;
2660
+ robotsTxt: z.ZodOptional<z.ZodString>;
2661
+ googleVerification: z.ZodOptional<z.ZodString>;
2662
+ bingVerification: z.ZodOptional<z.ZodString>;
2663
+ }, z.core.$strip>>;
2664
+ }, z.core.$strip>;
2665
+ declare const siteSettingsSchema: z.ZodObject<{
2666
+ title: z.ZodOptional<z.ZodString>;
2667
+ tagline: z.ZodOptional<z.ZodString>;
2668
+ logo: z.ZodOptional<z.ZodObject<{
2669
+ mediaId: z.ZodString;
2670
+ alt: z.ZodOptional<z.ZodString>;
2671
+ url: z.ZodOptional<z.ZodString>;
2672
+ contentType: z.ZodOptional<z.ZodString>;
2673
+ width: z.ZodOptional<z.ZodNumber>;
2674
+ height: z.ZodOptional<z.ZodNumber>;
2675
+ }, z.core.$strip>>;
2676
+ favicon: z.ZodOptional<z.ZodObject<{
2677
+ mediaId: z.ZodString;
2678
+ alt: z.ZodOptional<z.ZodString>;
2679
+ url: z.ZodOptional<z.ZodString>;
2680
+ contentType: z.ZodOptional<z.ZodString>;
2681
+ width: z.ZodOptional<z.ZodNumber>;
2682
+ height: z.ZodOptional<z.ZodNumber>;
2683
+ }, z.core.$strip>>;
2684
+ url: z.ZodOptional<z.ZodString>;
2685
+ postsPerPage: z.ZodOptional<z.ZodNumber>;
2686
+ dateFormat: z.ZodOptional<z.ZodString>;
2687
+ timezone: z.ZodOptional<z.ZodString>;
2688
+ social: z.ZodOptional<z.ZodObject<{
2689
+ twitter: z.ZodOptional<z.ZodString>;
2690
+ github: z.ZodOptional<z.ZodString>;
2691
+ facebook: z.ZodOptional<z.ZodString>;
2692
+ instagram: z.ZodOptional<z.ZodString>;
2693
+ linkedin: z.ZodOptional<z.ZodString>;
2694
+ youtube: z.ZodOptional<z.ZodString>;
2695
+ }, z.core.$strip>>;
2696
+ seo: z.ZodOptional<z.ZodObject<{
2697
+ titleSeparator: z.ZodOptional<z.ZodString>;
2698
+ defaultOgImage: z.ZodOptional<z.ZodObject<{
2699
+ mediaId: z.ZodString;
2700
+ alt: z.ZodOptional<z.ZodString>;
2701
+ url: z.ZodOptional<z.ZodString>;
2702
+ contentType: z.ZodOptional<z.ZodString>;
2703
+ width: z.ZodOptional<z.ZodNumber>;
2704
+ height: z.ZodOptional<z.ZodNumber>;
2705
+ }, z.core.$strip>>;
2706
+ robotsTxt: z.ZodOptional<z.ZodString>;
2707
+ googleVerification: z.ZodOptional<z.ZodString>;
2708
+ bingVerification: z.ZodOptional<z.ZodString>;
2709
+ }, z.core.$strip>>;
2710
+ }, z.core.$strip>;
2711
+ //#endregion
2712
+ //#region src/api/schemas/search.d.ts
2713
+ declare const searchQuery: z.ZodObject<{
2714
+ q: z.ZodString;
2715
+ collections: z.ZodOptional<z.ZodString>;
2716
+ status: z.ZodOptional<z.ZodString>;
2717
+ locale: z.ZodOptional<z.ZodString>;
2718
+ limit: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
2719
+ cursor: z.ZodOptional<z.ZodString>;
2720
+ scope: z.ZodOptional<z.ZodEnum<{
2721
+ title: "title";
2722
+ all: "all";
2723
+ }>>;
2724
+ }, z.core.$strip>;
2725
+ declare const searchSuggestQuery: z.ZodObject<{
2726
+ q: z.ZodString;
2727
+ collections: z.ZodOptional<z.ZodString>;
2728
+ locale: z.ZodOptional<z.ZodString>;
2729
+ limit: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
2730
+ }, z.core.$strip>;
2731
+ declare const searchRebuildBody: z.ZodObject<{
2732
+ collection: z.ZodString;
2733
+ }, z.core.$strip>;
2734
+ declare const searchEnableBody: z.ZodObject<{
2735
+ collection: z.ZodString;
2736
+ enabled: z.ZodBoolean;
2737
+ weights: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNumber>>;
2738
+ tokenize: z.ZodOptional<z.ZodEnum<{
2739
+ "porter unicode61": "porter unicode61";
2740
+ unicode61: "unicode61";
2741
+ trigram: "trigram";
2742
+ }>>;
2743
+ }, z.core.$strip>;
2744
+ declare const searchResultSchema: z.ZodObject<{
2745
+ collection: z.ZodString;
2746
+ id: z.ZodString;
2747
+ slug: z.ZodNullable<z.ZodString>;
2748
+ locale: z.ZodString;
2749
+ title: z.ZodOptional<z.ZodString>;
2750
+ snippet: z.ZodOptional<z.ZodString>;
2751
+ score: z.ZodNumber;
2752
+ }, z.core.$strip>;
2753
+ declare const searchResponseSchema: z.ZodObject<{
2754
+ items: z.ZodArray<z.ZodObject<{
2755
+ collection: z.ZodString;
2756
+ id: z.ZodString;
2757
+ slug: z.ZodNullable<z.ZodString>;
2758
+ locale: z.ZodString;
2759
+ title: z.ZodOptional<z.ZodString>;
2760
+ snippet: z.ZodOptional<z.ZodString>;
2761
+ score: z.ZodNumber;
2762
+ }, z.core.$strip>>;
2763
+ nextCursor: z.ZodOptional<z.ZodString>;
2764
+ }, z.core.$strip>;
2765
+ //#endregion
2766
+ //#region src/api/schemas/import.d.ts
2767
+ declare const importProbeBody: z.ZodObject<{
2768
+ url: z.ZodURL;
2769
+ }, z.core.$strip>;
2770
+ declare const wpPluginAnalyzeBody: z.ZodObject<{
2771
+ url: z.ZodURL;
2772
+ token: z.ZodString;
2773
+ }, z.core.$strip>;
2774
+ declare const wpPluginExecuteBody: z.ZodObject<{
2775
+ url: z.ZodURL;
2776
+ token: z.ZodString;
2777
+ config: z.ZodRecord<z.ZodString, z.ZodUnknown>;
2778
+ phase: z.ZodOptional<z.ZodEnum<{
2779
+ content: "content";
2780
+ comments: "comments";
2781
+ finalize: "finalize";
2782
+ }>>;
2783
+ cursor: z.ZodOptional<z.ZodObject<{
2784
+ postTypeIndex: z.ZodDefault<z.ZodNumber>;
2785
+ page: z.ZodDefault<z.ZodNumber>;
2786
+ }, z.core.$strip>>;
2787
+ idMap: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
2788
+ id: z.ZodString;
2789
+ collection: z.ZodString;
2790
+ }, z.core.$strip>>>;
2791
+ translationGroups: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
2792
+ commentRoots: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
2793
+ }, z.core.$strip>;
2794
+ declare const wpPrepareBody: z.ZodObject<{
2795
+ postTypes: z.ZodArray<z.ZodObject<{
2796
+ name: z.ZodString;
2797
+ collection: z.ZodString;
2798
+ fields: z.ZodOptional<z.ZodArray<z.ZodObject<{
2799
+ slug: z.ZodString;
2800
+ label: z.ZodString;
2801
+ type: z.ZodString;
2802
+ required: z.ZodBoolean;
2803
+ searchable: z.ZodOptional<z.ZodBoolean>;
2804
+ }, z.core.$strip>>>;
2805
+ }, z.core.$strip>>;
2806
+ }, z.core.$strip>;
2807
+ declare const wpMediaImportBody: z.ZodObject<{
2808
+ attachments: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
2809
+ stream: z.ZodOptional<z.ZodBoolean>;
2810
+ }, z.core.$strip>;
2811
+ declare const wpRewriteUrlsBody: z.ZodObject<{
2812
+ urlMap: z.ZodRecord<z.ZodString, z.ZodString>;
2813
+ collections: z.ZodOptional<z.ZodArray<z.ZodString>>;
2814
+ }, z.core.$strip>;
2815
+ //#endregion
2816
+ //#region src/api/schemas/setup.d.ts
2817
+ declare const setupBody: z.ZodObject<{
2818
+ title: z.ZodString;
2819
+ tagline: z.ZodOptional<z.ZodString>;
2820
+ includeContent: z.ZodBoolean;
2821
+ }, z.core.$strip>;
2822
+ declare const setupAdminBody: z.ZodObject<{
2823
+ email: z.ZodEmail;
2824
+ name: z.ZodOptional<z.ZodString>;
2825
+ }, z.core.$strip>;
2826
+ declare const setupAdminVerifyBody: z.ZodObject<{
2827
+ credential: z.ZodObject<{
2828
+ id: z.ZodString;
2829
+ rawId: z.ZodString;
2830
+ type: z.ZodLiteral<"public-key">;
2831
+ response: z.ZodObject<{
2832
+ clientDataJSON: z.ZodString;
2833
+ attestationObject: z.ZodString;
2834
+ transports: z.ZodOptional<z.ZodArray<z.ZodEnum<{
2835
+ usb: "usb";
2836
+ nfc: "nfc";
2837
+ ble: "ble";
2838
+ internal: "internal";
2839
+ hybrid: "hybrid";
2840
+ }>>>;
2841
+ }, z.core.$strip>;
2842
+ authenticatorAttachment: z.ZodOptional<z.ZodEnum<{
2843
+ platform: "platform";
2844
+ "cross-platform": "cross-platform";
2845
+ }>>;
2846
+ }, z.core.$strip>;
2847
+ }, z.core.$strip>;
2848
+ declare const atprotoLoginBody: z.ZodObject<{
2849
+ handle: z.ZodString;
2850
+ }, z.core.$strip>;
2851
+ declare const setupAtprotoAdminBody: z.ZodObject<{
2852
+ handle: z.ZodString;
2853
+ }, z.core.$strip>;
2854
+ //#endregion
2855
+ //#region src/api/schemas/users.d.ts
2856
+ declare const usersListQuery: z.ZodObject<{
2857
+ search: z.ZodOptional<z.ZodString>;
2858
+ role: z.ZodOptional<z.ZodString>;
2859
+ cursor: z.ZodOptional<z.ZodString>;
2860
+ limit: z.ZodDefault<z.ZodOptional<z.ZodCoercedNumber<unknown>>>;
2861
+ }, z.core.$strip>;
2862
+ declare const userUpdateBody: z.ZodObject<{
2863
+ name: z.ZodOptional<z.ZodString>;
2864
+ email: z.ZodOptional<z.ZodEmail>;
2865
+ role: z.ZodOptional<z.ZodCoercedNumber<unknown> & z.ZodType<50 | 10 | 20 | 30 | 40, unknown, z.core.$ZodTypeInternals<50 | 10 | 20 | 30 | 40, unknown>>>;
2866
+ }, z.core.$strip>;
2867
+ declare const allowedDomainCreateBody: z.ZodObject<{
2868
+ domain: z.ZodString;
2869
+ defaultRole: z.ZodCoercedNumber<unknown> & z.ZodType<50 | 10 | 20 | 30 | 40, unknown, z.core.$ZodTypeInternals<50 | 10 | 20 | 30 | 40, unknown>>;
2870
+ }, z.core.$strip>;
2871
+ declare const allowedDomainUpdateBody: z.ZodObject<{
2872
+ enabled: z.ZodOptional<z.ZodBoolean>;
2873
+ defaultRole: z.ZodOptional<z.ZodCoercedNumber<unknown> & z.ZodType<50 | 10 | 20 | 30 | 40, unknown, z.core.$ZodTypeInternals<50 | 10 | 20 | 30 | 40, unknown>>>;
2874
+ }, z.core.$strip>;
2875
+ declare const userSchema: z.ZodObject<{
2876
+ id: z.ZodString;
2877
+ email: z.ZodString;
2878
+ name: z.ZodNullable<z.ZodString>;
2879
+ avatarUrl: z.ZodNullable<z.ZodString>;
2880
+ role: z.ZodNumber;
2881
+ emailVerified: z.ZodBoolean;
2882
+ disabled: z.ZodBoolean;
2883
+ createdAt: z.ZodString;
2884
+ updatedAt: z.ZodString;
2885
+ lastLogin: z.ZodNullable<z.ZodString>;
2886
+ credentialCount: z.ZodOptional<z.ZodNumber>;
2887
+ oauthProviders: z.ZodOptional<z.ZodArray<z.ZodString>>;
2888
+ }, z.core.$strip>;
2889
+ declare const userListResponseSchema: z.ZodObject<{
2890
+ items: z.ZodArray<z.ZodObject<{
2891
+ id: z.ZodString;
2892
+ email: z.ZodString;
2893
+ name: z.ZodNullable<z.ZodString>;
2894
+ avatarUrl: z.ZodNullable<z.ZodString>;
2895
+ role: z.ZodNumber;
2896
+ emailVerified: z.ZodBoolean;
2897
+ disabled: z.ZodBoolean;
2898
+ createdAt: z.ZodString;
2899
+ updatedAt: z.ZodString;
2900
+ lastLogin: z.ZodNullable<z.ZodString>;
2901
+ credentialCount: z.ZodOptional<z.ZodNumber>;
2902
+ oauthProviders: z.ZodOptional<z.ZodArray<z.ZodString>>;
2903
+ }, z.core.$strip>>;
2904
+ nextCursor: z.ZodOptional<z.ZodString>;
2905
+ }, z.core.$strip>;
2906
+ declare const userDetailSchema: z.ZodObject<{
2907
+ id: z.ZodString;
2908
+ email: z.ZodString;
2909
+ name: z.ZodNullable<z.ZodString>;
2910
+ avatarUrl: z.ZodNullable<z.ZodString>;
2911
+ role: z.ZodNumber;
2912
+ emailVerified: z.ZodBoolean;
2913
+ disabled: z.ZodBoolean;
2914
+ createdAt: z.ZodString;
2915
+ updatedAt: z.ZodString;
2916
+ lastLogin: z.ZodNullable<z.ZodString>;
2917
+ credentials: z.ZodArray<z.ZodObject<{
2918
+ id: z.ZodString;
2919
+ name: z.ZodNullable<z.ZodString>;
2920
+ deviceType: z.ZodNullable<z.ZodString>;
2921
+ createdAt: z.ZodString;
2922
+ lastUsedAt: z.ZodString;
2923
+ }, z.core.$strip>>;
2924
+ oauthAccounts: z.ZodArray<z.ZodObject<{
2925
+ provider: z.ZodString;
2926
+ createdAt: z.ZodString;
2927
+ }, z.core.$strip>>;
2928
+ }, z.core.$strip>;
2929
+ //#endregion
2930
+ //#region src/api/schemas/widgets.d.ts
2931
+ declare const createWidgetAreaBody: z.ZodObject<{
2932
+ name: z.ZodString;
2933
+ label: z.ZodString;
2934
+ description: z.ZodOptional<z.ZodString>;
2935
+ }, z.core.$strip>;
2936
+ declare const createWidgetBody: z.ZodObject<{
2937
+ type: z.ZodEnum<{
2938
+ content: "content";
2939
+ menu: "menu";
2940
+ component: "component";
2941
+ }>;
2942
+ title: z.ZodOptional<z.ZodString>;
2943
+ content: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
2944
+ menuName: z.ZodOptional<z.ZodString>;
2945
+ componentId: z.ZodOptional<z.ZodString>;
2946
+ componentProps: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
2947
+ }, z.core.$strip>;
2948
+ declare const updateWidgetBody: z.ZodObject<{
2949
+ type: z.ZodOptional<z.ZodEnum<{
2950
+ content: "content";
2951
+ menu: "menu";
2952
+ component: "component";
2953
+ }>>;
2954
+ title: z.ZodOptional<z.ZodString>;
2955
+ content: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
2956
+ menuName: z.ZodOptional<z.ZodString>;
2957
+ componentId: z.ZodOptional<z.ZodString>;
2958
+ componentProps: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
2959
+ }, z.core.$strip>;
2960
+ declare const reorderWidgetsBody: z.ZodObject<{
2961
+ widgetIds: z.ZodArray<z.ZodString>;
2962
+ }, z.core.$strip>;
2963
+ declare const widgetAreaSchema: z.ZodObject<{
2964
+ id: z.ZodString;
2965
+ name: z.ZodString;
2966
+ label: z.ZodString;
2967
+ description: z.ZodNullable<z.ZodString>;
2968
+ created_at: z.ZodString;
2969
+ updated_at: z.ZodString;
2970
+ }, z.core.$strip>;
2971
+ declare const widgetSchema: z.ZodObject<{
2972
+ id: z.ZodString;
2973
+ type: z.ZodEnum<{
2974
+ content: "content";
2975
+ menu: "menu";
2976
+ component: "component";
2977
+ }>;
2978
+ title: z.ZodOptional<z.ZodString>;
2979
+ content: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
2980
+ menuName: z.ZodOptional<z.ZodString>;
2981
+ componentId: z.ZodOptional<z.ZodString>;
2982
+ componentProps: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
2983
+ }, z.core.$strip>;
2984
+ declare const widgetAreaWithWidgetsSchema: z.ZodObject<{
2985
+ id: z.ZodString;
2986
+ name: z.ZodString;
2987
+ label: z.ZodString;
2988
+ description: z.ZodNullable<z.ZodString>;
2989
+ created_at: z.ZodString;
2990
+ updated_at: z.ZodString;
2991
+ widgets: z.ZodArray<z.ZodObject<{
2992
+ id: z.ZodString;
2993
+ type: z.ZodEnum<{
2994
+ content: "content";
2995
+ menu: "menu";
2996
+ component: "component";
2997
+ }>;
2998
+ title: z.ZodOptional<z.ZodString>;
2999
+ content: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
3000
+ menuName: z.ZodOptional<z.ZodString>;
3001
+ componentId: z.ZodOptional<z.ZodString>;
3002
+ componentProps: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
3003
+ }, z.core.$strip>>;
3004
+ }, z.core.$strip>;
3005
+ declare const widgetAreaWithWidgetsAndCountSchema: z.ZodObject<{
3006
+ id: z.ZodString;
3007
+ name: z.ZodString;
3008
+ label: z.ZodString;
3009
+ description: z.ZodNullable<z.ZodString>;
3010
+ created_at: z.ZodString;
3011
+ updated_at: z.ZodString;
3012
+ widgets: z.ZodArray<z.ZodObject<{
3013
+ id: z.ZodString;
3014
+ type: z.ZodEnum<{
3015
+ content: "content";
3016
+ menu: "menu";
3017
+ component: "component";
3018
+ }>;
3019
+ title: z.ZodOptional<z.ZodString>;
3020
+ content: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
3021
+ menuName: z.ZodOptional<z.ZodString>;
3022
+ componentId: z.ZodOptional<z.ZodString>;
3023
+ componentProps: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
3024
+ }, z.core.$strip>>;
3025
+ widgetCount: z.ZodNumber;
3026
+ }, z.core.$strip>;
3027
+ //#endregion
3028
+ //#region src/api/schemas/redirects.d.ts
3029
+ declare const createRedirectBody: z.ZodObject<{
3030
+ source: z.ZodString;
3031
+ destination: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodLiteral<"">]>>;
3032
+ type: z.ZodDefault<z.ZodOptional<z.ZodCoercedNumber<unknown>>>;
3033
+ enabled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
3034
+ groupName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3035
+ }, z.core.$strip>;
3036
+ declare const updateRedirectBody: z.ZodObject<{
3037
+ source: z.ZodOptional<z.ZodString>;
3038
+ destination: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodLiteral<"">]>>;
3039
+ type: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
3040
+ enabled: z.ZodOptional<z.ZodBoolean>;
3041
+ groupName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3042
+ }, z.core.$strip>;
3043
+ declare const redirectsListQuery: z.ZodObject<{
3044
+ cursor: z.ZodOptional<z.ZodString>;
3045
+ limit: z.ZodDefault<z.ZodOptional<z.ZodCoercedNumber<unknown>>>;
3046
+ search: z.ZodOptional<z.ZodString>;
3047
+ group: z.ZodOptional<z.ZodString>;
3048
+ enabled: z.ZodOptional<z.ZodPipe<z.ZodEnum<{
3049
+ true: "true";
3050
+ false: "false";
3051
+ }>, z.ZodTransform<boolean, "true" | "false">>>;
3052
+ auto: z.ZodOptional<z.ZodPipe<z.ZodEnum<{
3053
+ true: "true";
3054
+ false: "false";
3055
+ }>, z.ZodTransform<boolean, "true" | "false">>>;
3056
+ }, z.core.$strip>;
3057
+ declare const notFoundListQuery: z.ZodObject<{
3058
+ cursor: z.ZodOptional<z.ZodString>;
3059
+ limit: z.ZodDefault<z.ZodOptional<z.ZodCoercedNumber<unknown>>>;
3060
+ search: z.ZodOptional<z.ZodString>;
3061
+ }, z.core.$strip>;
3062
+ declare const notFoundSummaryQuery: z.ZodObject<{
3063
+ limit: z.ZodDefault<z.ZodOptional<z.ZodCoercedNumber<unknown>>>;
3064
+ }, z.core.$strip>;
3065
+ declare const notFoundPruneBody: z.ZodObject<{
3066
+ olderThan: z.ZodUnion<[z.ZodISODateTime, z.ZodISODateTime]>;
3067
+ }, z.core.$strip>;
3068
+ declare const redirectSchema: z.ZodObject<{
3069
+ id: z.ZodString;
3070
+ source: z.ZodString;
3071
+ destination: z.ZodString;
3072
+ type: z.ZodNumber;
3073
+ isPattern: z.ZodBoolean;
3074
+ enabled: z.ZodBoolean;
3075
+ hits: z.ZodNumber;
3076
+ lastHitAt: z.ZodNullable<z.ZodString>;
3077
+ groupName: z.ZodNullable<z.ZodString>;
3078
+ auto: z.ZodBoolean;
3079
+ createdAt: z.ZodString;
3080
+ updatedAt: z.ZodString;
3081
+ }, z.core.$strip>;
3082
+ declare const redirectListResponseSchema: z.ZodObject<{
3083
+ items: z.ZodArray<z.ZodObject<{
3084
+ id: z.ZodString;
3085
+ source: z.ZodString;
3086
+ destination: z.ZodString;
3087
+ type: z.ZodNumber;
3088
+ isPattern: z.ZodBoolean;
3089
+ enabled: z.ZodBoolean;
3090
+ hits: z.ZodNumber;
3091
+ lastHitAt: z.ZodNullable<z.ZodString>;
3092
+ groupName: z.ZodNullable<z.ZodString>;
3093
+ auto: z.ZodBoolean;
3094
+ createdAt: z.ZodString;
3095
+ updatedAt: z.ZodString;
3096
+ }, z.core.$strip>>;
3097
+ nextCursor: z.ZodOptional<z.ZodString>;
3098
+ loopRedirectIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
3099
+ }, z.core.$strip>;
3100
+ declare const notFoundEntrySchema: z.ZodObject<{
3101
+ id: z.ZodString;
3102
+ path: z.ZodString;
3103
+ referrer: z.ZodNullable<z.ZodString>;
3104
+ userAgent: z.ZodNullable<z.ZodString>;
3105
+ ip: z.ZodNullable<z.ZodString>;
3106
+ createdAt: z.ZodString;
3107
+ }, z.core.$strip>;
3108
+ declare const notFoundListResponseSchema: z.ZodObject<{
3109
+ items: z.ZodArray<z.ZodObject<{
3110
+ id: z.ZodString;
3111
+ path: z.ZodString;
3112
+ referrer: z.ZodNullable<z.ZodString>;
3113
+ userAgent: z.ZodNullable<z.ZodString>;
3114
+ ip: z.ZodNullable<z.ZodString>;
3115
+ createdAt: z.ZodString;
3116
+ }, z.core.$strip>>;
3117
+ nextCursor: z.ZodOptional<z.ZodString>;
3118
+ }, z.core.$strip>;
3119
+ declare const notFoundSummarySchema: z.ZodObject<{
3120
+ path: z.ZodString;
3121
+ count: z.ZodNumber;
3122
+ lastSeen: z.ZodString;
3123
+ topReferrer: z.ZodNullable<z.ZodString>;
3124
+ }, z.core.$strip>;
3125
+ declare const notFoundSummaryResponseSchema: z.ZodObject<{
3126
+ items: z.ZodArray<z.ZodObject<{
3127
+ path: z.ZodString;
3128
+ count: z.ZodNumber;
3129
+ lastSeen: z.ZodString;
3130
+ topReferrer: z.ZodNullable<z.ZodString>;
3131
+ }, z.core.$strip>>;
3132
+ }, z.core.$strip>;
3133
+ //#endregion
3134
+ //#region src/api/schemas/bylines.d.ts
3135
+ declare const bylineSummarySchema: z.ZodObject<{
3136
+ id: z.ZodString;
3137
+ slug: z.ZodString;
3138
+ displayName: z.ZodString;
3139
+ bio: z.ZodNullable<z.ZodString>;
3140
+ avatarMediaId: z.ZodNullable<z.ZodString>;
3141
+ avatarStorageKey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3142
+ avatarAlt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3143
+ avatarBlurhash: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3144
+ avatarDominantColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3145
+ websiteUrl: z.ZodNullable<z.ZodString>;
3146
+ userId: z.ZodNullable<z.ZodString>;
3147
+ isGuest: z.ZodBoolean;
3148
+ createdAt: z.ZodString;
3149
+ updatedAt: z.ZodString;
3150
+ locale: z.ZodString;
3151
+ translationGroup: z.ZodNullable<z.ZodString>;
3152
+ customFields: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodBoolean, z.ZodNull]>>>;
3153
+ }, z.core.$strip>;
3154
+ declare const bylineCreditSchema: z.ZodObject<{
3155
+ byline: z.ZodObject<{
3156
+ id: z.ZodString;
3157
+ slug: z.ZodString;
3158
+ displayName: z.ZodString;
3159
+ bio: z.ZodNullable<z.ZodString>;
3160
+ avatarMediaId: z.ZodNullable<z.ZodString>;
3161
+ avatarStorageKey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3162
+ avatarAlt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3163
+ avatarBlurhash: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3164
+ avatarDominantColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3165
+ websiteUrl: z.ZodNullable<z.ZodString>;
3166
+ userId: z.ZodNullable<z.ZodString>;
3167
+ isGuest: z.ZodBoolean;
3168
+ createdAt: z.ZodString;
3169
+ updatedAt: z.ZodString;
3170
+ locale: z.ZodString;
3171
+ translationGroup: z.ZodNullable<z.ZodString>;
3172
+ customFields: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodBoolean, z.ZodNull]>>>;
3173
+ }, z.core.$strip>;
3174
+ sortOrder: z.ZodNumber;
3175
+ roleLabel: z.ZodNullable<z.ZodString>;
3176
+ source: z.ZodOptional<z.ZodEnum<{
3177
+ explicit: "explicit";
3178
+ inferred: "inferred";
3179
+ }>>;
3180
+ }, z.core.$strip>;
3181
+ declare const contentBylineInputSchema: z.ZodObject<{
3182
+ bylineId: z.ZodString;
3183
+ roleLabel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3184
+ }, z.core.$strip>;
3185
+ declare const bylinesListQuery: z.ZodObject<{
3186
+ cursor: z.ZodOptional<z.ZodString>;
3187
+ limit: z.ZodDefault<z.ZodOptional<z.ZodCoercedNumber<unknown>>>;
3188
+ search: z.ZodOptional<z.ZodString>;
3189
+ isGuest: z.ZodOptional<z.ZodCoercedBoolean<unknown>>;
3190
+ userId: z.ZodOptional<z.ZodString>;
3191
+ locale: z.ZodOptional<z.ZodString>;
3192
+ }, z.core.$strip>;
3193
+ declare const bylineCreateBody: z.ZodObject<{
3194
+ slug: z.ZodString;
3195
+ displayName: z.ZodString;
3196
+ bio: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3197
+ avatarMediaId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3198
+ websiteUrl: z.ZodOptional<z.ZodNullable<z.ZodURL>>;
3199
+ userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3200
+ isGuest: z.ZodOptional<z.ZodBoolean>;
3201
+ locale: z.ZodOptional<z.ZodString>;
3202
+ translationOf: z.ZodOptional<z.ZodString>;
3203
+ customFields: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
3204
+ }, z.core.$strip>;
3205
+ declare const bylineTranslationCreateBody: z.ZodObject<{
3206
+ locale: z.ZodString;
3207
+ slug: z.ZodOptional<z.ZodString>;
3208
+ displayName: z.ZodOptional<z.ZodString>;
3209
+ bio: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3210
+ avatarMediaId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3211
+ websiteUrl: z.ZodOptional<z.ZodNullable<z.ZodURL>>;
3212
+ }, z.core.$strip>;
3213
+ declare const bylineTranslationsResponseSchema: z.ZodObject<{
3214
+ items: z.ZodArray<z.ZodObject<{
3215
+ id: z.ZodString;
3216
+ slug: z.ZodString;
3217
+ displayName: z.ZodString;
3218
+ bio: z.ZodNullable<z.ZodString>;
3219
+ avatarMediaId: z.ZodNullable<z.ZodString>;
3220
+ avatarStorageKey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3221
+ avatarAlt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3222
+ avatarBlurhash: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3223
+ avatarDominantColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3224
+ websiteUrl: z.ZodNullable<z.ZodString>;
3225
+ userId: z.ZodNullable<z.ZodString>;
3226
+ isGuest: z.ZodBoolean;
3227
+ createdAt: z.ZodString;
3228
+ updatedAt: z.ZodString;
3229
+ locale: z.ZodString;
3230
+ translationGroup: z.ZodNullable<z.ZodString>;
3231
+ customFields: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodBoolean, z.ZodNull]>>>;
3232
+ }, z.core.$strip>>;
3233
+ }, z.core.$strip>;
3234
+ declare const bylineUpdateBody: z.ZodObject<{
3235
+ slug: z.ZodOptional<z.ZodString>;
3236
+ displayName: z.ZodOptional<z.ZodString>;
3237
+ bio: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3238
+ avatarMediaId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3239
+ websiteUrl: z.ZodOptional<z.ZodNullable<z.ZodURL>>;
3240
+ userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3241
+ isGuest: z.ZodOptional<z.ZodBoolean>;
3242
+ customFields: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
3243
+ }, z.core.$strip>;
3244
+ declare const bylineListResponseSchema: z.ZodObject<{
3245
+ items: z.ZodArray<z.ZodObject<{
3246
+ id: z.ZodString;
3247
+ slug: z.ZodString;
3248
+ displayName: z.ZodString;
3249
+ bio: z.ZodNullable<z.ZodString>;
3250
+ avatarMediaId: z.ZodNullable<z.ZodString>;
3251
+ avatarStorageKey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3252
+ avatarAlt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3253
+ avatarBlurhash: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3254
+ avatarDominantColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3255
+ websiteUrl: z.ZodNullable<z.ZodString>;
3256
+ userId: z.ZodNullable<z.ZodString>;
3257
+ isGuest: z.ZodBoolean;
3258
+ createdAt: z.ZodString;
3259
+ updatedAt: z.ZodString;
3260
+ locale: z.ZodString;
3261
+ translationGroup: z.ZodNullable<z.ZodString>;
3262
+ customFields: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodBoolean, z.ZodNull]>>>;
3263
+ }, z.core.$strip>>;
3264
+ nextCursor: z.ZodOptional<z.ZodString>;
3265
+ }, z.core.$strip>;
3266
+ //#endregion
3267
+ //#region src/api/schemas/byline-fields.d.ts
3268
+ declare const bylineFieldCreateBody: z.ZodObject<{
3269
+ slug: z.ZodString;
3270
+ label: z.ZodString;
3271
+ type: z.ZodEnum<{
3272
+ string: "string";
3273
+ boolean: "boolean";
3274
+ url: "url";
3275
+ text: "text";
3276
+ select: "select";
3277
+ }>;
3278
+ required: z.ZodOptional<z.ZodBoolean>;
3279
+ translatable: z.ZodOptional<z.ZodBoolean>;
3280
+ validation: z.ZodOptional<z.ZodNullable<z.ZodObject<{
3281
+ options: z.ZodOptional<z.ZodArray<z.ZodString>>;
3282
+ }, z.core.$strict>>>;
3283
+ sortOrder: z.ZodOptional<z.ZodNumber>;
3284
+ }, z.core.$strict>;
3285
+ /**
3286
+ * Update body. `slug` and `type` are intentionally absent — both are
3287
+ * immutable post-create (changing them would invalidate stored values).
3288
+ * `translatable` flips are gated at the registry layer when value rows
3289
+ * exist (`TRANSLATABLE_LOCKED`).
3290
+ */
3291
+ declare const bylineFieldUpdateBody: z.ZodObject<{
3292
+ label: z.ZodOptional<z.ZodString>;
3293
+ required: z.ZodOptional<z.ZodBoolean>;
3294
+ translatable: z.ZodOptional<z.ZodBoolean>;
3295
+ validation: z.ZodOptional<z.ZodNullable<z.ZodObject<{
3296
+ options: z.ZodOptional<z.ZodArray<z.ZodString>>;
3297
+ }, z.core.$strict>>>;
3298
+ sortOrder: z.ZodOptional<z.ZodNumber>;
3299
+ }, z.core.$strict>;
3300
+ declare const bylineFieldReorderBody: z.ZodObject<{
3301
+ slugs: z.ZodArray<z.ZodString>;
3302
+ }, z.core.$strict>;
3303
+ declare const bylineFieldDefinitionSchema: z.ZodObject<{
3304
+ id: z.ZodString;
3305
+ slug: z.ZodString;
3306
+ label: z.ZodString;
3307
+ type: z.ZodEnum<{
3308
+ string: "string";
3309
+ boolean: "boolean";
3310
+ url: "url";
3311
+ text: "text";
3312
+ select: "select";
3313
+ }>;
3314
+ required: z.ZodBoolean;
3315
+ translatable: z.ZodBoolean;
3316
+ validation: z.ZodNullable<z.ZodObject<{
3317
+ options: z.ZodOptional<z.ZodArray<z.ZodString>>;
3318
+ }, z.core.$strip>>;
3319
+ sortOrder: z.ZodNumber;
3320
+ createdAt: z.ZodString;
3321
+ updatedAt: z.ZodString;
3322
+ }, z.core.$strip>;
3323
+ declare const bylineFieldListResponseSchema: z.ZodObject<{
3324
+ items: z.ZodArray<z.ZodObject<{
3325
+ id: z.ZodString;
3326
+ slug: z.ZodString;
3327
+ label: z.ZodString;
3328
+ type: z.ZodEnum<{
3329
+ string: "string";
3330
+ boolean: "boolean";
3331
+ url: "url";
3332
+ text: "text";
3333
+ select: "select";
3334
+ }>;
3335
+ required: z.ZodBoolean;
3336
+ translatable: z.ZodBoolean;
3337
+ validation: z.ZodNullable<z.ZodObject<{
3338
+ options: z.ZodOptional<z.ZodArray<z.ZodString>>;
3339
+ }, z.core.$strip>>;
3340
+ sortOrder: z.ZodNumber;
3341
+ createdAt: z.ZodString;
3342
+ updatedAt: z.ZodString;
3343
+ }, z.core.$strip>>;
3344
+ }, z.core.$strip>;
3345
+ /**
3346
+ * Response shape for `GET /api/admin/byline-fields/[slug]/usage`.
3347
+ *
3348
+ * `translatableValueCount` counts rows in `_emdash_byline_field_values`.
3349
+ * `groupValueCount` counts rows in `_emdash_byline_field_group_values`.
3350
+ * `totalAffectedRows` is the sum — what the destructive-delete confirm
3351
+ * dialog surfaces. Both individual counts are exposed for diagnostic
3352
+ * value (e.g. inconsistency with the field's current `translatable`
3353
+ * flag would show non-zero on the "wrong" side).
3354
+ */
3355
+ declare const bylineFieldUsageResponseSchema: z.ZodObject<{
3356
+ translatableValueCount: z.ZodNumber;
3357
+ groupValueCount: z.ZodNumber;
3358
+ totalAffectedRows: z.ZodNumber;
3359
+ }, z.core.$strip>;
3360
+ //#endregion
3361
+ //#region src/api/schemas/relations.d.ts
3362
+ declare const createRelationBody: z.ZodObject<{
3363
+ name: z.ZodString;
3364
+ parentCollection: z.ZodOptional<z.ZodString>;
3365
+ childCollection: z.ZodOptional<z.ZodString>;
3366
+ parentLabel: z.ZodString;
3367
+ childLabel: z.ZodString;
3368
+ locale: z.ZodOptional<z.ZodString>;
3369
+ translationOf: z.ZodOptional<z.ZodString>;
3370
+ }, z.core.$strip>;
3371
+ declare const updateRelationBody: z.ZodObject<{
3372
+ parentLabel: z.ZodOptional<z.ZodString>;
3373
+ childLabel: z.ZodOptional<z.ZodString>;
3374
+ }, z.core.$strip>;
3375
+ declare const setReferenceChildrenBody: z.ZodObject<{
3376
+ childIds: z.ZodArray<z.ZodString>;
3377
+ }, z.core.$strip>;
3378
+ declare const relationDefSchema: z.ZodObject<{
3379
+ id: z.ZodString;
3380
+ name: z.ZodString;
3381
+ parentCollection: z.ZodString;
3382
+ childCollection: z.ZodString;
3383
+ parentLabel: z.ZodString;
3384
+ childLabel: z.ZodString;
3385
+ locale: z.ZodString;
3386
+ translationGroup: z.ZodString;
3387
+ }, z.core.$strip>;
3388
+ declare const relationListResponseSchema: z.ZodObject<{
3389
+ relations: z.ZodArray<z.ZodObject<{
3390
+ id: z.ZodString;
3391
+ name: z.ZodString;
3392
+ parentCollection: z.ZodString;
3393
+ childCollection: z.ZodString;
3394
+ parentLabel: z.ZodString;
3395
+ childLabel: z.ZodString;
3396
+ locale: z.ZodString;
3397
+ translationGroup: z.ZodString;
3398
+ }, z.core.$strip>>;
3399
+ }, z.core.$strip>;
3400
+ declare const relationResponseSchema: z.ZodObject<{
3401
+ relation: z.ZodObject<{
3402
+ id: z.ZodString;
3403
+ name: z.ZodString;
3404
+ parentCollection: z.ZodString;
3405
+ childCollection: z.ZodString;
3406
+ parentLabel: z.ZodString;
3407
+ childLabel: z.ZodString;
3408
+ locale: z.ZodString;
3409
+ translationGroup: z.ZodString;
3410
+ }, z.core.$strip>;
3411
+ }, z.core.$strip>;
3412
+ declare const relationTranslationsSchema: z.ZodObject<{
3413
+ translationGroup: z.ZodString;
3414
+ translations: z.ZodArray<z.ZodObject<{
3415
+ id: z.ZodString;
3416
+ name: z.ZodString;
3417
+ locale: z.ZodString;
3418
+ parentLabel: z.ZodString;
3419
+ childLabel: z.ZodString;
3420
+ }, z.core.$strip>>;
3421
+ }, z.core.$strip>;
3422
+ declare const entryRefSchema: z.ZodObject<{
3423
+ id: z.ZodString;
3424
+ slug: z.ZodNullable<z.ZodString>;
3425
+ collection: z.ZodString;
3426
+ locale: z.ZodNullable<z.ZodString>;
3427
+ sortOrder: z.ZodOptional<z.ZodNumber>;
3428
+ }, z.core.$strip>;
3429
+ declare const referenceChildrenResponseSchema: z.ZodObject<{
3430
+ children: z.ZodArray<z.ZodObject<{
3431
+ id: z.ZodString;
3432
+ slug: z.ZodNullable<z.ZodString>;
3433
+ collection: z.ZodString;
3434
+ locale: z.ZodNullable<z.ZodString>;
3435
+ sortOrder: z.ZodOptional<z.ZodNumber>;
3436
+ }, z.core.$strip>>;
3437
+ nextCursor: z.ZodOptional<z.ZodString>;
3438
+ }, z.core.$strip>;
3439
+ declare const referenceParentsResponseSchema: z.ZodObject<{
3440
+ parents: z.ZodArray<z.ZodObject<{
3441
+ id: z.ZodString;
3442
+ slug: z.ZodNullable<z.ZodString>;
3443
+ collection: z.ZodString;
3444
+ locale: z.ZodNullable<z.ZodString>;
3445
+ sortOrder: z.ZodOptional<z.ZodNumber>;
3446
+ }, z.core.$strip>>;
3447
+ nextCursor: z.ZodOptional<z.ZodString>;
3448
+ }, z.core.$strip>;
3449
+ //#endregion
3450
+ //#region src/api/schemas/entry-lock.d.ts
3451
+ declare const entryLockAcquireBody: z.ZodObject<{
3452
+ takeover: z.ZodOptional<z.ZodBoolean>;
3453
+ token: z.ZodOptional<z.ZodString>;
3454
+ }, z.core.$strip>;
3455
+ declare const entryLockHolderSchema: z.ZodObject<{
3456
+ userId: z.ZodString;
3457
+ userName: z.ZodNullable<z.ZodString>;
3458
+ acquiredAt: z.ZodString;
3459
+ expiresAt: z.ZodString;
3460
+ }, z.core.$strip>;
3461
+ declare const entryLockStatusSchema: z.ZodObject<{
3462
+ enabled: z.ZodBoolean;
3463
+ holder: z.ZodNullable<z.ZodObject<{
3464
+ userId: z.ZodString;
3465
+ userName: z.ZodNullable<z.ZodString>;
3466
+ acquiredAt: z.ZodString;
3467
+ expiresAt: z.ZodString;
3468
+ }, z.core.$strip>>;
3469
+ heldByCaller: z.ZodBoolean;
3470
+ }, z.core.$strip>;
3471
+ declare const entryLockReleaseResponseSchema: z.ZodObject<{
3472
+ released: z.ZodBoolean;
3473
+ }, z.core.$strip>;
3474
+ declare const entryLockConflictSchema: z.ZodObject<{
3475
+ success: z.ZodLiteral<false>;
3476
+ error: z.ZodObject<{
3477
+ code: z.ZodLiteral<"ENTRY_LOCKED">;
3478
+ message: z.ZodString;
3479
+ details: z.ZodObject<{
3480
+ userId: z.ZodString;
3481
+ userName: z.ZodNullable<z.ZodString>;
3482
+ acquiredAt: z.ZodString;
3483
+ expiresAt: z.ZodString;
3484
+ }, z.core.$strip>;
3485
+ }, z.core.$strip>;
3486
+ }, z.core.$strip>;
3487
+ declare const entryMutationConflictSchema: z.ZodObject<{
3488
+ success: z.ZodLiteral<false>;
3489
+ error: z.ZodObject<{
3490
+ code: z.ZodString;
3491
+ message: z.ZodString;
3492
+ details: z.ZodOptional<z.ZodObject<{
3493
+ userId: z.ZodString;
3494
+ userName: z.ZodNullable<z.ZodString>;
3495
+ acquiredAt: z.ZodString;
3496
+ expiresAt: z.ZodString;
3497
+ }, z.core.$strip>>;
3498
+ }, z.core.$strip>;
3499
+ }, z.core.$strip>;
3500
+ type EntryLockAcquireBody = z.infer<typeof entryLockAcquireBody>;
3501
+ //#endregion
3502
+ export { allowedDomainCreateBody as $, cursorPaginationQuery as $i, MediaUsageCoverageStatus as $n, mediaExistingResponseSchema as $r, menuTranslationsSchema as $t, bylineUpdateBody as A, contentFieldFiltersSchema as Ai, collectionResponseSchema as An, mediaUsageEntryDetailSchema as Ar, createTaxonomyDefBody as At, notFoundSummarySchema as B, contentSeoInput as Bi, orphanedTableListResponseSchema as Bn, mediaUsageWorkItemSchema as Br, termReorderResponseSchema as Bt, bylineFieldUsageResponseSchema as C, mediaUploadResponseSchema as Ci, createCommentBody as Cn, mediaUsageCollectionDeletionRetryBody as Cr, settingsUpdateBody as Ct, bylineSummarySchema as D, contentAuthorsResponseSchema as Di, collectionGetQuery as Dn, mediaUsageCoverageStatusSchema as Dr, sectionSchema as Dt, bylineListResponseSchema as E, contentAuthorSchema as Ei, publicCommentSchema as En, mediaUsageCoverageSchema as Er, sectionListResponseSchema as Et, notFoundListQuery as F, contentPublishBody as Fi, fieldListResponseSchema as Fn, mediaUsageRepairCollectionSummarySchema as Fr, taxonomyListResponseSchema as Ft, createWidgetAreaBody as G, contentTranslationsResponseSchema as Gi, MediaUsageActivationAdvanceRequest as Gn, mediaUsageWorkRetryResponseSchema as Gr, updateTaxonomyDefBody as Gt, redirectSchema as H, contentTermsBody as Hi, schemaExportQuery as Hn, mediaUsageWorkListResponseSchema as Hr, termSchema as Ht, notFoundListResponseSchema as I, contentResponseSchema as Ii, fieldReorderBody as In, mediaUsageRepairResponseSchema as Ir, taxonomyResponseSchema as It, updateWidgetBody as J, trashedContentItemSchema as Ji, MediaUsageCollectionDeletionListQuery as Jn, DEFAULT_MAX_UPLOAD_SIZE as Jr, createMenuItemBody as Jt, createWidgetBody as K, contentTrashQuery as Ki, MediaUsageActivationAdvanceResponse as Kn, mediaUsageWorkStateSchema as Kr, updateTermBody as Kt, notFoundPruneBody as L, contentRestoreResponseSchema as Li, fieldResponseSchema as Ln, mediaUsageRepairStatusSchema as Lr, termGetResponseSchema as Lt, contentBylineInputSchema as M, contentListQuery as Mi, collectionWithFieldsResponseSchema as Mn, mediaUsageProgressAdvanceResponseSchema as Mr, reorderTermsBody as Mt, createRedirectBody as N, contentListResponseSchema as Ni, createCollectionBody as Nn, mediaUsageProgressSchema as Nr, taxonomyDefSchema as Nt, bylineTranslationCreateBody as O, contentCompareResponseSchema as Oi, collectionListResponseSchema as On, mediaUsageDetailsQuery as Or, sectionsListQuery as Ot, notFoundEntrySchema as P, contentPreviewUrlBody as Pi, createFieldBody as Pn, mediaUsageRepairBody as Pr, taxonomyDefTranslationsSchema as Pt, widgetSchema as Q, countResponseSchema as Qi, MediaUsageCoverage as Qn, mediaDirectUploadBody as Qr, menuSchema as Qt, notFoundSummaryQuery as R, contentRevisionConditionBody as Ri, fieldSchema as Rn, mediaUsageSourceDetailSchema as Rr, termListQuery as Rt, bylineFieldUpdateBody as S, mediaUploadEnsureUniqueFilenameForm as Si, commentStatusBody as Sn, mediaUsageCollectionDeletionPhaseSchema as Sr, searchSuggestQuery as St, bylineCreditSchema as T, mediaUploadUrlResponseSchema as Ti, publicCommentListResponseSchema as Tn, mediaUsageCollectionDeletionStateSchema as Tr, createSectionBody as Tt, redirectsListQuery as U, contentTermsResponseSchema as Ui, updateCollectionBody as Un, mediaUsageWorkRetryBody as Ur, termTranslationsSchema as Ut, redirectListResponseSchema as V, contentSeoSchema as Vi, orphanedTableSchema as Vn, mediaUsageWorkListQuery as Vr, termResponseSchema as Vt, updateRedirectBody as W, contentTranslationSchema as Wi, updateFieldBody as Wn, mediaUsageWorkRetryConflictSchema as Wr, termWithCountSchema as Wt, widgetAreaWithWidgetsAndCountSchema as X, VALID_ROLE_LEVELS as Xi, MediaUsageCollectionDeletionRetryRequest as Xn, mediaConfirmBody as Xr, menuItemTypeEnum as Xt, widgetAreaSchema as Y, trashedContentListResponseSchema as Yi, MediaUsageCollectionDeletionListResponse as Yn, formatFileSize as Yr, menuItemSchema as Yt, widgetAreaWithWidgetsSchema as Z, apiErrorSchema as Zi, MediaUsageCollectionDeletionRetryResponse as Zn, mediaConfirmResponseSchema as Zr, menuListItemSchema as Zt, updateRelationBody as _, mediaReplaceResponseSchema as _i, commentBulkBody as _n, mediaUsageActivationStateSchema as _r, searchEnableBody as _t, entryLockReleaseResponseSchema as a, roleLevel as aa, mediaFolderSchema as ai, inviteCompleteBody as an, MediaUsageRepairRequest as ar, usersListQuery as at, bylineFieldListResponseSchema as b, mediaUpdateBody as bi, commentListQuery as bn, mediaUsageCollectionDeletionListQuery as br, searchResponseSchema as bt, createRelationBody as c, mediaListQuery as ci, magicLinkSendBody as cn, MediaUsageSummary as cr, setupAdminVerifyBody as ct, referenceParentsResponseSchema as d, mediaListResponseSchema as di, passkeyRegisterVerifyBody as dn, MediaUsageWorkListResponse as dr, importProbeBody as dt, deleteResponseSchema as ea, mediaFolderBody as ei, menuWithItemsSchema as en, MediaUsageDetailsResponse as er, allowedDomainUpdateBody as et, relationDefSchema as f, mediaProviderListQuery as fi, passkeyRenameBody as fn, MediaUsageWorkRetryRequest as fr, wpMediaImportBody as ft, setReferenceChildrenBody as g, mediaReplaceMetadataForm as gi, adminCommentListResponseSchema as gn, mediaUsageActivationConflictSchema as gr, wpRewriteUrlsBody as gt, relationTranslationsSchema as h, mediaReplaceBody as hi, signupRequestBody as hn, mediaUsageActivationAdvanceResponseSchema as hr, wpPrepareBody as ht, entryLockHolderSchema as i, offsetPaginationQuery as ia, mediaFolderResponseSchema as ii, authMeActionBody as in, MediaUsageProgressAdvanceResponse as ir, userUpdateBody as it, bylinesListQuery as j, contentItemSchema as ji, collectionSchema as jn, mediaUsageOccurrenceDetailSchema as jr, createTermBody as jt, bylineTranslationsResponseSchema as k, contentCreateBody as ki, collectionReorderBody as kn, mediaUsageDetailsResponseSchema as kr, updateSectionBody as kt, entryRefSchema as l, mediaListReadItemSchema as li, passkeyOptionsBody as ln, MediaUsageWorkItem as lr, setupAtprotoAdminBody as lt, relationResponseSchema as m, mediaReadResponseSchema as mi, signupCompleteBody as mn, mediaUsageActivationAdvanceBody as mr, wpPluginExecuteBody as mt, entryLockAcquireBody as n, localeCode as na, mediaFolderListQuery as ni, updateMenuBody as nn, MediaUsageOccurrenceDetail as nr, userListResponseSchema as nt, entryLockStatusSchema as o, slugPattern as oa, mediaGetQuery as oi, inviteCreateBody as on, MediaUsageRepairResponse as or, atprotoLoginBody as ot, relationListResponseSchema as p, mediaReadItemSchema as pi, passkeyVerifyBody as pn, MediaUsageWorkRetryResponse as pr, wpPluginAnalyzeBody as pt, reorderWidgetsBody as q, contentUpdateBody as qi, MediaUsageActivationStatus as qn, CONTENT_TYPE_RE as qr, createMenuBody as qt, entryLockConflictSchema as r, localeFilterQuery as ra, mediaFolderListResponseSchema as ri, updateMenuItemBody as rn, MediaUsageProgress as rr, userSchema as rt, entryMutationConflictSchema as s, successEnvelope as sa, mediaItemSchema as si, inviteRegisterOptionsBody as sn, MediaUsageSourceDetail as sr, setupAdminBody as st, EntryLockAcquireBody as t, httpUrl as ta, mediaFolderIdSchema as ti, reorderMenuItemsBody as tn, MediaUsageEntryDetail as tr, userDetailSchema as tt, referenceChildrenResponseSchema as u, mediaListReadResponseSchema as ui, passkeyRegisterOptionsBody as un, MediaUsageWorkListQuery as ur, setupBody as ut, bylineFieldCreateBody as v, mediaResponseSchema as vi, commentBulkResponseSchema as vn, mediaUsageActivationStatusSchema as vr, searchQuery as vt, bylineCreateBody as w, mediaUploadUrlBody as wi, createReactionBody as wn, mediaUsageCollectionDeletionRetryResponseSchema as wr, siteSettingsSchema as wt, bylineFieldReorderBody as x, mediaUploadDeduplicateForm as xi, commentSchema as xn, mediaUsageCollectionDeletionListResponseSchema as xr, searchResultSchema as xt, bylineFieldDefinitionSchema as y, mediaStreamUploadResponseSchema as yi, commentCountsResponseSchema as yn, mediaUsageCollectionDeletionItemSchema as yr, searchRebuildBody as yt, notFoundSummaryResponseSchema as z, contentScheduleBody as zi, orphanRegisterBody as zn, mediaUsageSummarySchema as zr, termListResponseSchema as zt };
3503
+ //# sourceMappingURL=entry-lock-DX7QkqEg.d.mts.map