dineway 0.1.22 → 0.1.23

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 (43) hide show
  1. package/dist/api/route-utils.d.mts +2 -2
  2. package/dist/api/schemas/index.d.mts +1 -1
  3. package/dist/{api-BF2_bQPS.mjs → api-CX_et2bh.mjs} +1 -1
  4. package/dist/astro/index.d.mts +2 -2
  5. package/dist/astro/index.mjs +1 -1
  6. package/dist/astro/middleware/auth.d.mts +2 -2
  7. package/dist/astro/middleware.mjs +2 -2
  8. package/dist/astro/routes/api/admin/plugins/_id_/disable.mjs +1 -1
  9. package/dist/astro/routes/api/admin/plugins/_id_/enable.mjs +1 -1
  10. package/dist/astro/routes/api/admin/plugins/_id_/index.mjs +1 -1
  11. package/dist/astro/routes/api/admin/plugins/_id_/uninstall.mjs +1 -1
  12. package/dist/astro/routes/api/admin/plugins/_id_/update.mjs +1 -1
  13. package/dist/astro/routes/api/admin/plugins/index.mjs +1 -1
  14. package/dist/astro/routes/api/admin/plugins/marketplace/_id_/index.mjs +1 -1
  15. package/dist/astro/routes/api/admin/plugins/marketplace/_id_/install.mjs +1 -1
  16. package/dist/astro/routes/api/admin/plugins/marketplace/index.mjs +1 -1
  17. package/dist/astro/routes/api/admin/plugins/updates.mjs +1 -1
  18. package/dist/astro/routes/api/admin/themes/marketplace/_id_/index.mjs +1 -1
  19. package/dist/astro/routes/api/admin/themes/marketplace/index.mjs +1 -1
  20. package/dist/astro/routes/api/health.mjs +1 -1
  21. package/dist/astro/routes/api/manifest.mjs +1 -1
  22. package/dist/astro/routes/api/mcp.mjs +1 -1
  23. package/dist/astro/routes/api/openapi.json.mjs +1 -1
  24. package/dist/astro/routes/api/schema/collections/_slug_/fields/_fieldSlug_.mjs +1 -1
  25. package/dist/astro/routes/api/schema/collections/_slug_/fields/index.mjs +1 -1
  26. package/dist/astro/routes/api/schema/collections/_slug_/fields/reorder.mjs +1 -1
  27. package/dist/astro/routes/api/schema/collections/_slug_/index.mjs +1 -1
  28. package/dist/astro/routes/api/schema/collections/index.mjs +1 -1
  29. package/dist/astro/routes/api/schema/orphans/_slug_.mjs +1 -1
  30. package/dist/astro/routes/api/schema/orphans/index.mjs +1 -1
  31. package/dist/astro/routes/api/well-known/auth.mjs +1 -1
  32. package/dist/astro/types.d.mts +2 -2
  33. package/dist/{bylines-CcEr0bxd.d.mts → bylines-BIldBr7o.d.mts} +28 -28
  34. package/dist/cli/index.mjs +112 -8
  35. package/dist/index.d.mts +2 -2
  36. package/dist/index.mjs +1 -1
  37. package/dist/media/local-runtime.d.mts +2 -2
  38. package/dist/plugins/adapt-sandbox-entry.d.mts +2 -2
  39. package/dist/{runtime-D8iQkQwl.d.mts → runtime-CbnJMIeq.d.mts} +2 -2
  40. package/dist/runtime.d.mts +2 -2
  41. package/dist/version-Ch9I7B2B.mjs +6 -0
  42. package/package.json +1 -1
  43. package/dist/version-9XopR1mw.mjs +0 -6
@@ -1,11 +1,11 @@
1
- import { $n as isParseError, Qn as ParseResult, Zn as OptionsRepository, er as parseBody, ir as handleError, nr as apiError, rr as apiSuccess, t as DinewayConfig, tr as parseQuery } from "../runtime-D8iQkQwl.mjs";
1
+ import { $n as isParseError, Qn as ParseResult, Zn as OptionsRepository, er as parseBody, ir as handleError, nr as apiError, rr as apiSuccess, t as DinewayConfig, tr as parseQuery } from "../runtime-CbnJMIeq.mjs";
2
2
  import { t as Database } from "../types-DwIXYH8s.mjs";
3
3
  import { at as StorageCollectionConfig, it as StorageCollection } from "../types-DzBAohLy.mjs";
4
4
  import "../types-BSP1HbdT.mjs";
5
5
  import "../runner-BJm_NJr2.mjs";
6
6
  import "../index-CxVXYBXq.mjs";
7
7
  import "../index-DUurmpun.mjs";
8
- import "../bylines-CcEr0bxd.mjs";
8
+ import "../bylines-BIldBr7o.mjs";
9
9
  import "../types-DbtpYtHx.mjs";
10
10
  import "../validate-BikB29gc.mjs";
11
11
  import { Kysely } from "kysely";
@@ -1,3 +1,3 @@
1
- import { $ as updateSectionBody, $n as cursorPaginationQuery, $t as createCommentBody, A as userDetailSchema, An as mediaUploadUrlBody, At as passkeyRegisterVerifyBody, B as wpRewriteUrlsBody, Bn as contentScheduleBody, Bt as contextEntryCreateBody, C as updateWidgetBody, Cn as mediaExistingResponseSchema, Ct as authMeActionBody, D as widgetSchema, Dn as mediaProviderListQuery, Dt as magicLinkSendBody, E as widgetAreaWithWidgetsSchema, En as mediaListResponseSchema, Et as inviteRegisterOptionsBody, F as importProbeBody, Fn as contentListQuery, Ft as reviewRequestListQuery, G as searchResultSchema, Gn as contentTranslationsResponseSchema, Gt as contextEntrySupersedeBody, H as searchQuery, Hn as contentSeoSchema, Ht as contextEntryListQuery, I as wpMediaImportBody, In as contentListResponseSchema, It as reviewRequestResolveBody, J as siteSettingsSchema, Jn as trashedContentItemSchema, Jt as commentBulkResponseSchema, K as searchSuggestQuery, Kn as contentTrashQuery, Kt as adminCommentListResponseSchema, L as wpPluginAnalyzeBody, Ln as contentPreviewUrlBody, Lt as hitlRequestListQuery, M as userSchema, Mn as contentCompareResponseSchema, Mt as passkeyVerifyBody, N as userUpdateBody, Nn as contentCreateBody, Nt as signupCompleteBody, O as allowedDomainCreateBody, On as mediaResponseSchema, Ot as passkeyOptionsBody, P as usersListQuery, Pn as contentItemSchema, Pt as signupRequestBody, Q as sectionsListQuery, Qn as countResponseSchema, Qt as commentStatusBody, R as wpPluginExecuteBody, Rn as contentPublishBody, Rt as hitlRequestResolveBody, S as reorderWidgetsBody, Sn as mediaConfirmResponseSchema, St as updateMenuItemBody, T as widgetAreaWithWidgetsAndCountSchema, Tn as mediaListQuery, Tt as inviteCreateBody, U as searchRebuildBody, Un as contentTermsBody, Ut as contextEntryReviewBody, V as searchEnableBody, Vn as contentSeoInput, Vt as contextEntryDiffQuery, W as searchResponseSchema, Wn as contentTranslationSchema, Wt as contextEntryStaleQuery, X as sectionListResponseSchema, Xn as VALID_ROLE_LEVELS, Xt as commentListQuery, Y as createSectionBody, Yn as trashedContentListResponseSchema, Yt as commentCountsResponseSchema, Z as sectionSchema, Zn as apiErrorSchema, Zt as commentSchema, _ as redirectSchema, _n as updateCollectionBody, _t as menuSchema, a as bylineUpdateBody, an as collectionSchema, ar as roleLevel, at as termGetResponseSchema, b as createWidgetAreaBody, bn as formatFileSize, bt as reorderMenuItemsBody, c as createRedirectBody, cn as createFieldBody, ct as termSchema, d as notFoundListResponseSchema, dn as fieldResponseSchema, dt as updateTermBody, en as publicCommentListResponseSchema, er as deleteResponseSchema, et as createTaxonomyDefBody, f as notFoundPruneBody, fn as fieldSchema, ft as createMenuBody, g as redirectListResponseSchema, gn as schemaExportQuery, gt as menuListItemSchema, h as notFoundSummarySchema, hn as orphanedTableSchema, ht as menuItemTypeEnum, i as bylineSummarySchema, in as collectionResponseSchema, ir as offsetPaginationQuery, it as taxonomyListResponseSchema, j as userListResponseSchema, jn as mediaUploadUrlResponseSchema, jt as passkeyRenameBody, k as allowedDomainUpdateBody, kn as mediaUpdateBody, kt as passkeyRegisterOptionsBody, l as notFoundEntrySchema, ln as fieldListResponseSchema, lt as termTranslationsSchema, m as notFoundSummaryResponseSchema, mn as orphanedTableListResponseSchema, mt as menuItemSchema, n as bylineCreditSchema, nn as collectionGetQuery, nr as localeCode, nt as taxonomyDefSchema, o as bylinesListQuery, on as collectionWithFieldsResponseSchema, or as slugPattern, ot as termListResponseSchema, p as notFoundSummaryQuery, pn as orphanRegisterBody, pt as createMenuItemBody, q as settingsUpdateBody, qn as contentUpdateBody, qt as commentBulkBody, r as bylineListResponseSchema, rn as collectionListResponseSchema, rr as localeFilterQuery, rt as taxonomyDefTranslationsSchema, s as contentBylineInputSchema, sn as createCollectionBody, sr as successEnvelope, st as termResponseSchema, t as bylineCreateBody, tn as publicCommentSchema, tr as httpUrl, tt as createTermBody, u as notFoundListQuery, un as fieldReorderBody, ut as termWithCountSchema, v as redirectsListQuery, vn as updateFieldBody, vt as menuTranslationsSchema, w as widgetAreaSchema, wn as mediaItemSchema, wt as inviteCompleteBody, x as createWidgetBody, xn as mediaConfirmBody, xt as updateMenuBody, y as updateRedirectBody, yn as DEFAULT_MAX_UPLOAD_SIZE, yt as menuWithItemsSchema, z as wpPrepareBody, zn as contentResponseSchema, zt as siteBriefingQuery } from "../../bylines-CcEr0bxd.mjs";
1
+ import { $ as updateSectionBody, $n as cursorPaginationQuery, $t as createCommentBody, A as userDetailSchema, An as mediaUploadUrlBody, At as passkeyRegisterVerifyBody, B as wpRewriteUrlsBody, Bn as contentScheduleBody, Bt as contextEntryCreateBody, C as updateWidgetBody, Cn as mediaExistingResponseSchema, Ct as authMeActionBody, D as widgetSchema, Dn as mediaProviderListQuery, Dt as magicLinkSendBody, E as widgetAreaWithWidgetsSchema, En as mediaListResponseSchema, Et as inviteRegisterOptionsBody, F as importProbeBody, Fn as contentListQuery, Ft as reviewRequestListQuery, G as searchResultSchema, Gn as contentTranslationsResponseSchema, Gt as contextEntrySupersedeBody, H as searchQuery, Hn as contentSeoSchema, Ht as contextEntryListQuery, I as wpMediaImportBody, In as contentListResponseSchema, It as reviewRequestResolveBody, J as siteSettingsSchema, Jn as trashedContentItemSchema, Jt as commentBulkResponseSchema, K as searchSuggestQuery, Kn as contentTrashQuery, Kt as adminCommentListResponseSchema, L as wpPluginAnalyzeBody, Ln as contentPreviewUrlBody, Lt as hitlRequestListQuery, M as userSchema, Mn as contentCompareResponseSchema, Mt as passkeyVerifyBody, N as userUpdateBody, Nn as contentCreateBody, Nt as signupCompleteBody, O as allowedDomainCreateBody, On as mediaResponseSchema, Ot as passkeyOptionsBody, P as usersListQuery, Pn as contentItemSchema, Pt as signupRequestBody, Q as sectionsListQuery, Qn as countResponseSchema, Qt as commentStatusBody, R as wpPluginExecuteBody, Rn as contentPublishBody, Rt as hitlRequestResolveBody, S as reorderWidgetsBody, Sn as mediaConfirmResponseSchema, St as updateMenuItemBody, T as widgetAreaWithWidgetsAndCountSchema, Tn as mediaListQuery, Tt as inviteCreateBody, U as searchRebuildBody, Un as contentTermsBody, Ut as contextEntryReviewBody, V as searchEnableBody, Vn as contentSeoInput, Vt as contextEntryDiffQuery, W as searchResponseSchema, Wn as contentTranslationSchema, Wt as contextEntryStaleQuery, X as sectionListResponseSchema, Xn as VALID_ROLE_LEVELS, Xt as commentListQuery, Y as createSectionBody, Yn as trashedContentListResponseSchema, Yt as commentCountsResponseSchema, Z as sectionSchema, Zn as apiErrorSchema, Zt as commentSchema, _ as redirectSchema, _n as updateCollectionBody, _t as menuSchema, a as bylineUpdateBody, an as collectionSchema, ar as roleLevel, at as termGetResponseSchema, b as createWidgetAreaBody, bn as formatFileSize, bt as reorderMenuItemsBody, c as createRedirectBody, cn as createFieldBody, ct as termSchema, d as notFoundListResponseSchema, dn as fieldResponseSchema, dt as updateTermBody, en as publicCommentListResponseSchema, er as deleteResponseSchema, et as createTaxonomyDefBody, f as notFoundPruneBody, fn as fieldSchema, ft as createMenuBody, g as redirectListResponseSchema, gn as schemaExportQuery, gt as menuListItemSchema, h as notFoundSummarySchema, hn as orphanedTableSchema, ht as menuItemTypeEnum, i as bylineSummarySchema, in as collectionResponseSchema, ir as offsetPaginationQuery, it as taxonomyListResponseSchema, j as userListResponseSchema, jn as mediaUploadUrlResponseSchema, jt as passkeyRenameBody, k as allowedDomainUpdateBody, kn as mediaUpdateBody, kt as passkeyRegisterOptionsBody, l as notFoundEntrySchema, ln as fieldListResponseSchema, lt as termTranslationsSchema, m as notFoundSummaryResponseSchema, mn as orphanedTableListResponseSchema, mt as menuItemSchema, n as bylineCreditSchema, nn as collectionGetQuery, nr as localeCode, nt as taxonomyDefSchema, o as bylinesListQuery, on as collectionWithFieldsResponseSchema, or as slugPattern, ot as termListResponseSchema, p as notFoundSummaryQuery, pn as orphanRegisterBody, pt as createMenuItemBody, q as settingsUpdateBody, qn as contentUpdateBody, qt as commentBulkBody, r as bylineListResponseSchema, rn as collectionListResponseSchema, rr as localeFilterQuery, rt as taxonomyDefTranslationsSchema, s as contentBylineInputSchema, sn as createCollectionBody, sr as successEnvelope, st as termResponseSchema, t as bylineCreateBody, tn as publicCommentSchema, tr as httpUrl, tt as createTermBody, u as notFoundListQuery, un as fieldReorderBody, ut as termWithCountSchema, v as redirectsListQuery, vn as updateFieldBody, vt as menuTranslationsSchema, w as widgetAreaSchema, wn as mediaItemSchema, wt as inviteCompleteBody, x as createWidgetBody, xn as mediaConfirmBody, xt as updateMenuBody, y as updateRedirectBody, yn as DEFAULT_MAX_UPLOAD_SIZE, yt as menuWithItemsSchema, z as wpPrepareBody, zn as contentResponseSchema, zt as siteBriefingQuery } from "../../bylines-BIldBr7o.mjs";
2
2
  import { atprotoLoginBody, setupAdminBody, setupAdminVerifyBody, setupAtprotoAdminBody, setupBody } from "./setup.mjs";
3
3
  export { DEFAULT_MAX_UPLOAD_SIZE, VALID_ROLE_LEVELS, adminCommentListResponseSchema, allowedDomainCreateBody, allowedDomainUpdateBody, apiErrorSchema, atprotoLoginBody, authMeActionBody, bylineCreateBody, bylineCreditSchema, bylineListResponseSchema, bylineSummarySchema, bylineUpdateBody, bylinesListQuery, collectionGetQuery, collectionListResponseSchema, collectionResponseSchema, collectionSchema, collectionWithFieldsResponseSchema, commentBulkBody, commentBulkResponseSchema, commentCountsResponseSchema, commentListQuery, commentSchema, commentStatusBody, contentBylineInputSchema, contentCompareResponseSchema, contentCreateBody, contentItemSchema, contentListQuery, contentListResponseSchema, contentPreviewUrlBody, contentPublishBody, contentResponseSchema, contentScheduleBody, contentSeoInput, contentSeoSchema, contentTermsBody, contentTranslationSchema, contentTranslationsResponseSchema, contentTrashQuery, contentUpdateBody, contextEntryCreateBody, contextEntryDiffQuery, contextEntryListQuery, contextEntryReviewBody, contextEntryStaleQuery, contextEntrySupersedeBody, countResponseSchema, createCollectionBody, createCommentBody, createFieldBody, createMenuBody, createMenuItemBody, createRedirectBody, createSectionBody, createTaxonomyDefBody, createTermBody, createWidgetAreaBody, createWidgetBody, cursorPaginationQuery, deleteResponseSchema, fieldListResponseSchema, fieldReorderBody, fieldResponseSchema, fieldSchema, formatFileSize, hitlRequestListQuery, hitlRequestResolveBody, httpUrl, importProbeBody, inviteCompleteBody, inviteCreateBody, inviteRegisterOptionsBody, localeCode, localeFilterQuery, magicLinkSendBody, mediaConfirmBody, mediaConfirmResponseSchema, mediaExistingResponseSchema, mediaItemSchema, mediaListQuery, mediaListResponseSchema, mediaProviderListQuery, mediaResponseSchema, mediaUpdateBody, mediaUploadUrlBody, mediaUploadUrlResponseSchema, menuItemSchema, menuItemTypeEnum, menuListItemSchema, menuSchema, menuTranslationsSchema, menuWithItemsSchema, notFoundEntrySchema, notFoundListQuery, notFoundListResponseSchema, notFoundPruneBody, notFoundSummaryQuery, notFoundSummaryResponseSchema, notFoundSummarySchema, offsetPaginationQuery, orphanRegisterBody, orphanedTableListResponseSchema, orphanedTableSchema, passkeyOptionsBody, passkeyRegisterOptionsBody, passkeyRegisterVerifyBody, passkeyRenameBody, passkeyVerifyBody, publicCommentListResponseSchema, publicCommentSchema, redirectListResponseSchema, redirectSchema, redirectsListQuery, reorderMenuItemsBody, reorderWidgetsBody, reviewRequestListQuery, reviewRequestResolveBody, roleLevel, schemaExportQuery, searchEnableBody, searchQuery, searchRebuildBody, searchResponseSchema, searchResultSchema, searchSuggestQuery, sectionListResponseSchema, sectionSchema, sectionsListQuery, settingsUpdateBody, setupAdminBody, setupAdminVerifyBody, setupAtprotoAdminBody, setupBody, signupCompleteBody, signupRequestBody, siteBriefingQuery, siteSettingsSchema, slugPattern, successEnvelope, taxonomyDefSchema, taxonomyDefTranslationsSchema, taxonomyListResponseSchema, termGetResponseSchema, termListResponseSchema, termResponseSchema, termSchema, termTranslationsSchema, termWithCountSchema, trashedContentItemSchema, trashedContentListResponseSchema, updateCollectionBody, updateFieldBody, updateMenuBody, updateMenuItemBody, updateRedirectBody, updateSectionBody, updateTermBody, updateWidgetBody, userDetailSchema, userListResponseSchema, userSchema, userUpdateBody, usersListQuery, widgetAreaSchema, widgetAreaWithWidgetsAndCountSchema, widgetAreaWithWidgetsSchema, widgetSchema, wpMediaImportBody, wpPluginAnalyzeBody, wpPluginExecuteBody, wpPrepareBody, wpRewriteUrlsBody };
@@ -16,7 +16,7 @@ import { n as requestCached } from "./request-cache-BzuhyUXj.mjs";
16
16
  import { u as PluginStateRepository } from "./briefing-Dk4I4VC8.mjs";
17
17
  import { n as SchemaRegistry, t as SchemaError } from "./registry-CYO6XQ-4.mjs";
18
18
  import { n as hashString } from "./hash-DHSsP6_G.mjs";
19
- import { n as VERSION, t as COMMIT } from "./version-9XopR1mw.mjs";
19
+ import { n as VERSION, t as COMMIT } from "./version-Ch9I7B2B.mjs";
20
20
  import { i as pluginManifestSchema, r as normalizeManifestRoute } from "./manifest-schema-CU0XL_ZK.mjs";
21
21
  import { t as DinewayStorageError } from "./types-iNqHe2-V.mjs";
22
22
  import { sql } from "kysely";
@@ -1,12 +1,12 @@
1
1
  import { r as ContentItem } from "../types-Brp7Hv9S.mjs";
2
- import { Kn as MediaItem, a as S3StorageConfig, i as LocalStorageConfig, o as StorageDescriptor, r as getStoredConfig, t as DinewayConfig } from "../runtime-D8iQkQwl.mjs";
2
+ import { Kn as MediaItem, a as S3StorageConfig, i as LocalStorageConfig, o as StorageDescriptor, r as getStoredConfig, t as DinewayConfig } from "../runtime-CbnJMIeq.mjs";
3
3
  import "../types-DwIXYH8s.mjs";
4
4
  import { X as ResolvedPlugin } from "../types-DzBAohLy.mjs";
5
5
  import "../types-BSP1HbdT.mjs";
6
6
  import "../runner-BJm_NJr2.mjs";
7
7
  import "../index-CxVXYBXq.mjs";
8
8
  import "../index-DUurmpun.mjs";
9
- import "../bylines-CcEr0bxd.mjs";
9
+ import "../bylines-BIldBr7o.mjs";
10
10
  import "../types-DbtpYtHx.mjs";
11
11
  import "../validate-BikB29gc.mjs";
12
12
  import { DinewayHandlers, DinewayManifest, ManifestCollection } from "./types.mjs";
@@ -1,4 +1,4 @@
1
- import { n as VERSION, t as COMMIT } from "../version-9XopR1mw.mjs";
1
+ import { n as VERSION, t as COMMIT } from "../version-Ch9I7B2B.mjs";
2
2
  import { t as defaultSeed } from "../default-CiZ8bvSC.mjs";
3
3
  import { n as validateAllowedOrigins, r as validateOriginShape } from "../allowed-origins-CIP5fh83.mjs";
4
4
  import { createRequire } from "node:module";
@@ -1,11 +1,11 @@
1
- import "../../runtime-D8iQkQwl.mjs";
1
+ import "../../runtime-CbnJMIeq.mjs";
2
2
  import "../../types-DwIXYH8s.mjs";
3
3
  import "../../types-DzBAohLy.mjs";
4
4
  import "../../types-BSP1HbdT.mjs";
5
5
  import "../../runner-BJm_NJr2.mjs";
6
6
  import "../../index-CxVXYBXq.mjs";
7
7
  import "../../index-DUurmpun.mjs";
8
- import "../../bylines-CcEr0bxd.mjs";
8
+ import "../../bylines-BIldBr7o.mjs";
9
9
  import "../../types-DbtpYtHx.mjs";
10
10
  import "../../validate-BikB29gc.mjs";
11
11
  import { DinewayHandlers } from "../types.mjs";
@@ -24,7 +24,7 @@ import "../byline-9WeA8b0a.mjs";
24
24
  import { t as normalizeMediaValue } from "../normalize-ba36HTxZ.mjs";
25
25
  import "../placeholder-BAy3k441.mjs";
26
26
  import "../seo-DASNc4gD.mjs";
27
- import { $ as validateRev, A as handleRevisionGet, B as handleContentDuplicate, D as handleMediaGet, E as handleMediaDelete, F as handleContentCountScheduled, G as handleContentPermanentDelete, H as handleContentGetIncludingTrashed, I as handleContentCountTrashed, J as handleContentSchedule, K as handleContentPublish, L as handleContentCreate, M as handleRevisionRestore, O as handleMediaList, P as handleContentCompare, Q as handleContentUpdate, R as handleContentDelete, T as handleMediaCreate, U as handleContentList, V as handleContentGet, W as handleContentListTrashed, X as handleContentUnpublish, Y as handleContentTranslations, Z as handleContentUnschedule, d as createPluginBundleStore, j as handleRevisionList, k as handleMediaUpdate, q as handleContentRestore, z as handleContentDiscardDraft } from "../api-BF2_bQPS.mjs";
27
+ import { $ as validateRev, A as handleRevisionGet, B as handleContentDuplicate, D as handleMediaGet, E as handleMediaDelete, F as handleContentCountScheduled, G as handleContentPermanentDelete, H as handleContentGetIncludingTrashed, I as handleContentCountTrashed, J as handleContentSchedule, K as handleContentPublish, L as handleContentCreate, M as handleRevisionRestore, O as handleMediaList, P as handleContentCompare, Q as handleContentUpdate, R as handleContentDelete, T as handleMediaCreate, U as handleContentList, V as handleContentGet, W as handleContentListTrashed, X as handleContentUnpublish, Y as handleContentTranslations, Z as handleContentUnschedule, d as createPluginBundleStore, j as handleRevisionList, k as handleMediaUpdate, q as handleContentRestore, z as handleContentDiscardDraft } from "../api-CX_et2bh.mjs";
28
28
  import { n as requestCached } from "../request-cache-BzuhyUXj.mjs";
29
29
  import "../dashboard-DdqRifyu.mjs";
30
30
  import { u as PluginStateRepository } from "../briefing-Dk4I4VC8.mjs";
@@ -36,7 +36,7 @@ import { c as createPublicMediaUrlResolver } from "../settings-D2k1JraC.mjs";
36
36
  import "../briefing-PFT3T6KW.mjs";
37
37
  import "../review-requests-CO-vO0O0.mjs";
38
38
  import { n as hashString } from "../hash-DHSsP6_G.mjs";
39
- import { n as VERSION, t as COMMIT } from "../version-9XopR1mw.mjs";
39
+ import { n as VERSION, t as COMMIT } from "../version-Ch9I7B2B.mjs";
40
40
  import "../query-CH1GaJmt.mjs";
41
41
  import "../zod-generator-vOxhed6n.mjs";
42
42
  import "../schema-mjeMcn_6.mjs";
@@ -14,7 +14,7 @@ import "../../../../../../menus-DXaFTRyU.mjs";
14
14
  import "../../../../../../redirect-hKO66LS_.mjs";
15
15
  import "../../../../../../byline-9WeA8b0a.mjs";
16
16
  import "../../../../../../seo-DASNc4gD.mjs";
17
- import "../../../../../../api-BF2_bQPS.mjs";
17
+ import "../../../../../../api-CX_et2bh.mjs";
18
18
  import "../../../../../../request-cache-BzuhyUXj.mjs";
19
19
  import "../../../../../../dashboard-DdqRifyu.mjs";
20
20
  import { c as handlePluginGet, o as handlePluginDisable } from "../../../../../../briefing-Dk4I4VC8.mjs";
@@ -14,7 +14,7 @@ import "../../../../../../menus-DXaFTRyU.mjs";
14
14
  import "../../../../../../redirect-hKO66LS_.mjs";
15
15
  import "../../../../../../byline-9WeA8b0a.mjs";
16
16
  import "../../../../../../seo-DASNc4gD.mjs";
17
- import "../../../../../../api-BF2_bQPS.mjs";
17
+ import "../../../../../../api-CX_et2bh.mjs";
18
18
  import "../../../../../../request-cache-BzuhyUXj.mjs";
19
19
  import "../../../../../../dashboard-DdqRifyu.mjs";
20
20
  import { c as handlePluginGet, s as handlePluginEnable } from "../../../../../../briefing-Dk4I4VC8.mjs";
@@ -13,7 +13,7 @@ import "../../../../../../menus-DXaFTRyU.mjs";
13
13
  import "../../../../../../redirect-hKO66LS_.mjs";
14
14
  import "../../../../../../byline-9WeA8b0a.mjs";
15
15
  import "../../../../../../seo-DASNc4gD.mjs";
16
- import "../../../../../../api-BF2_bQPS.mjs";
16
+ import "../../../../../../api-CX_et2bh.mjs";
17
17
  import "../../../../../../request-cache-BzuhyUXj.mjs";
18
18
  import "../../../../../../dashboard-DdqRifyu.mjs";
19
19
  import { c as handlePluginGet } from "../../../../../../briefing-Dk4I4VC8.mjs";
@@ -14,7 +14,7 @@ import "../../../../../../menus-DXaFTRyU.mjs";
14
14
  import "../../../../../../redirect-hKO66LS_.mjs";
15
15
  import "../../../../../../byline-9WeA8b0a.mjs";
16
16
  import "../../../../../../seo-DASNc4gD.mjs";
17
- import { a as handleMarketplaceUninstall } from "../../../../../../api-BF2_bQPS.mjs";
17
+ import { a as handleMarketplaceUninstall } from "../../../../../../api-CX_et2bh.mjs";
18
18
  import "../../../../../../request-cache-BzuhyUXj.mjs";
19
19
  import "../../../../../../dashboard-DdqRifyu.mjs";
20
20
  import { l as handlePluginList } from "../../../../../../briefing-Dk4I4VC8.mjs";
@@ -14,7 +14,7 @@ import "../../../../../../menus-DXaFTRyU.mjs";
14
14
  import "../../../../../../redirect-hKO66LS_.mjs";
15
15
  import "../../../../../../byline-9WeA8b0a.mjs";
16
16
  import "../../../../../../seo-DASNc4gD.mjs";
17
- import { c as handleMarketplaceUpdatePreview, o as handleMarketplaceUpdate } from "../../../../../../api-BF2_bQPS.mjs";
17
+ import { c as handleMarketplaceUpdatePreview, o as handleMarketplaceUpdate } from "../../../../../../api-CX_et2bh.mjs";
18
18
  import "../../../../../../request-cache-BzuhyUXj.mjs";
19
19
  import "../../../../../../dashboard-DdqRifyu.mjs";
20
20
  import "../../../../../../briefing-Dk4I4VC8.mjs";
@@ -13,7 +13,7 @@ import "../../../../../menus-DXaFTRyU.mjs";
13
13
  import "../../../../../redirect-hKO66LS_.mjs";
14
14
  import "../../../../../byline-9WeA8b0a.mjs";
15
15
  import "../../../../../seo-DASNc4gD.mjs";
16
- import "../../../../../api-BF2_bQPS.mjs";
16
+ import "../../../../../api-CX_et2bh.mjs";
17
17
  import "../../../../../request-cache-BzuhyUXj.mjs";
18
18
  import "../../../../../dashboard-DdqRifyu.mjs";
19
19
  import { l as handlePluginList } from "../../../../../briefing-Dk4I4VC8.mjs";
@@ -13,7 +13,7 @@ import "../../../../../../../menus-DXaFTRyU.mjs";
13
13
  import "../../../../../../../redirect-hKO66LS_.mjs";
14
14
  import "../../../../../../../byline-9WeA8b0a.mjs";
15
15
  import "../../../../../../../seo-DASNc4gD.mjs";
16
- import { t as handleMarketplaceGetPlugin } from "../../../../../../../api-BF2_bQPS.mjs";
16
+ import { t as handleMarketplaceGetPlugin } from "../../../../../../../api-CX_et2bh.mjs";
17
17
  import "../../../../../../../request-cache-BzuhyUXj.mjs";
18
18
  import "../../../../../../../dashboard-DdqRifyu.mjs";
19
19
  import "../../../../../../../briefing-Dk4I4VC8.mjs";
@@ -14,7 +14,7 @@ import "../../../../../../../menus-DXaFTRyU.mjs";
14
14
  import "../../../../../../../redirect-hKO66LS_.mjs";
15
15
  import "../../../../../../../byline-9WeA8b0a.mjs";
16
16
  import "../../../../../../../seo-DASNc4gD.mjs";
17
- import { n as handleMarketplaceInstall, r as handleMarketplaceInstallPreview } from "../../../../../../../api-BF2_bQPS.mjs";
17
+ import { n as handleMarketplaceInstall, r as handleMarketplaceInstallPreview } from "../../../../../../../api-CX_et2bh.mjs";
18
18
  import "../../../../../../../request-cache-BzuhyUXj.mjs";
19
19
  import "../../../../../../../dashboard-DdqRifyu.mjs";
20
20
  import "../../../../../../../briefing-Dk4I4VC8.mjs";
@@ -13,7 +13,7 @@ import "../../../../../../menus-DXaFTRyU.mjs";
13
13
  import "../../../../../../redirect-hKO66LS_.mjs";
14
14
  import "../../../../../../byline-9WeA8b0a.mjs";
15
15
  import "../../../../../../seo-DASNc4gD.mjs";
16
- import { i as handleMarketplaceSearch } from "../../../../../../api-BF2_bQPS.mjs";
16
+ import { i as handleMarketplaceSearch } from "../../../../../../api-CX_et2bh.mjs";
17
17
  import "../../../../../../request-cache-BzuhyUXj.mjs";
18
18
  import "../../../../../../dashboard-DdqRifyu.mjs";
19
19
  import "../../../../../../briefing-Dk4I4VC8.mjs";
@@ -13,7 +13,7 @@ import "../../../../../menus-DXaFTRyU.mjs";
13
13
  import "../../../../../redirect-hKO66LS_.mjs";
14
14
  import "../../../../../byline-9WeA8b0a.mjs";
15
15
  import "../../../../../seo-DASNc4gD.mjs";
16
- import { s as handleMarketplaceUpdateCheck } from "../../../../../api-BF2_bQPS.mjs";
16
+ import { s as handleMarketplaceUpdateCheck } from "../../../../../api-CX_et2bh.mjs";
17
17
  import "../../../../../request-cache-BzuhyUXj.mjs";
18
18
  import "../../../../../dashboard-DdqRifyu.mjs";
19
19
  import "../../../../../briefing-Dk4I4VC8.mjs";
@@ -13,7 +13,7 @@ import "../../../../../../../menus-DXaFTRyU.mjs";
13
13
  import "../../../../../../../redirect-hKO66LS_.mjs";
14
14
  import "../../../../../../../byline-9WeA8b0a.mjs";
15
15
  import "../../../../../../../seo-DASNc4gD.mjs";
16
- import { l as handleThemeGetDetail } from "../../../../../../../api-BF2_bQPS.mjs";
16
+ import { l as handleThemeGetDetail } from "../../../../../../../api-CX_et2bh.mjs";
17
17
  import "../../../../../../../request-cache-BzuhyUXj.mjs";
18
18
  import "../../../../../../../dashboard-DdqRifyu.mjs";
19
19
  import "../../../../../../../briefing-Dk4I4VC8.mjs";
@@ -13,7 +13,7 @@ import "../../../../../../menus-DXaFTRyU.mjs";
13
13
  import "../../../../../../redirect-hKO66LS_.mjs";
14
14
  import "../../../../../../byline-9WeA8b0a.mjs";
15
15
  import "../../../../../../seo-DASNc4gD.mjs";
16
- import { u as handleThemeSearch } from "../../../../../../api-BF2_bQPS.mjs";
16
+ import { u as handleThemeSearch } from "../../../../../../api-CX_et2bh.mjs";
17
17
  import "../../../../../../request-cache-BzuhyUXj.mjs";
18
18
  import "../../../../../../dashboard-DdqRifyu.mjs";
19
19
  import "../../../../../../briefing-Dk4I4VC8.mjs";
@@ -1,4 +1,4 @@
1
- import { n as VERSION } from "../../../version-9XopR1mw.mjs";
1
+ import { n as VERSION } from "../../../version-Ch9I7B2B.mjs";
2
2
  import { sql } from "kysely";
3
3
 
4
4
  //#region src/astro/routes/api/health.ts
@@ -1,4 +1,4 @@
1
- import { n as VERSION, t as COMMIT } from "../../../version-9XopR1mw.mjs";
1
+ import { n as VERSION, t as COMMIT } from "../../../version-Ch9I7B2B.mjs";
2
2
  import { r as handleError } from "../../../error-Dyf9fGZE.mjs";
3
3
  import { t as getAuthMode } from "../../../mode-Bd55iLcP.mjs";
4
4
  import { i as experimentalSiteContextWorkflowsEnabled } from "../../../experimental-workflows-BbZbIEZp.mjs";
@@ -14,7 +14,7 @@ import "../../../fts-manager-DYRy6HVi.mjs";
14
14
  import "../../../registry-CYO6XQ-4.mjs";
15
15
  import "../../../loader-dt5DoyI1.mjs";
16
16
  import "../../../settings-D2k1JraC.mjs";
17
- import { n as VERSION } from "../../../version-9XopR1mw.mjs";
17
+ import { n as VERSION } from "../../../version-Ch9I7B2B.mjs";
18
18
  import "../../../query-CH1GaJmt.mjs";
19
19
  import "../../../zod-generator-vOxhed6n.mjs";
20
20
  import "../../../schema-mjeMcn_6.mjs";
@@ -1,4 +1,4 @@
1
- import { n as VERSION } from "../../../version-9XopR1mw.mjs";
1
+ import { n as VERSION } from "../../../version-Ch9I7B2B.mjs";
2
2
  import { r as handleError } from "../../../error-Dyf9fGZE.mjs";
3
3
  import { $ as createMenuBody, $t as contentListQuery, A as searchRebuildBody, B as updateSectionBody, Bt as mediaConfirmResponseSchema, C as userDetailSchema, D as usersListQuery, Dt as fieldListResponseSchema, E as userUpdateBody, Et as createFieldBody, F as siteSettingsSchema, Ft as updateCollectionBody, G as taxonomyListResponseSchema, H as createTermBody, I as createSectionBody, It as updateFieldBody, J as termResponseSchema, Jt as mediaUploadUrlBody, K as termGetResponseSchema, Kt as mediaResponseSchema, L as sectionListResponseSchema, Lt as DEFAULT_MAX_UPLOAD_SIZE, Mn as successEnvelope, Mt as orphanedTableListResponseSchema, N as searchSuggestQuery, O as searchEnableBody, Ot as fieldReorderBody, P as settingsUpdateBody, Q as updateTermBody, Qt as contentItemSchema, R as sectionSchema, S as allowedDomainUpdateBody, Sn as apiErrorSchema, St as collectionResponseSchema, T as userSchema, Tn as deleteResponseSchema, Tt as createCollectionBody, Ut as mediaListQuery, Vt as mediaExistingResponseSchema, Wt as mediaListResponseSchema, Xt as contentCompareResponseSchema, Yt as mediaUploadUrlResponseSchema, Zt as contentCreateBody, _ as widgetAreaSchema, _t as createCommentBody, a as notFoundPruneBody, b as widgetSchema, bt as collectionGetQuery, ct as updateMenuBody, d as redirectsListQuery, dn as contentUpdateBody, dt as commentBulkBody, en as contentListResponseSchema, et as createMenuItemBody, f as updateRedirectBody, ft as commentBulkResponseSchema, g as updateWidgetBody, gt as commentStatusBody, h as reorderWidgetsBody, ht as commentSchema, i as notFoundListResponseSchema, in as contentScheduleBody, j as searchResponseSchema, jt as orphanRegisterBody, k as searchQuery, kt as fieldResponseSchema, l as redirectListResponseSchema, ln as contentTranslationsResponseSchema, lt as updateMenuItemBody, m as createWidgetBody, mt as commentListQuery, nn as contentPublishBody, ot as menuWithItemsSchema, p as createWidgetAreaBody, pn as trashedContentListResponseSchema, pt as commentCountsResponseSchema, q as termListResponseSchema, qt as mediaUpdateBody, r as notFoundListQuery, rn as contentResponseSchema, rt as menuListItemSchema, s as notFoundSummaryResponseSchema, sn as contentTermsBody, st as reorderMenuItemsBody, t as createRedirectBody, tt as menuItemSchema, u as redirectSchema, un as contentTrashQuery, ut as adminCommentListResponseSchema, v as widgetAreaWithWidgetsAndCountSchema, vt as publicCommentListResponseSchema, w as userListResponseSchema, wt as collectionWithFieldsResponseSchema, x as allowedDomainCreateBody, xt as collectionListResponseSchema, y as widgetAreaWithWidgetsSchema, z as sectionsListQuery, zt as mediaConfirmBody } from "../../../redirects-BO0fI750.mjs";
4
4
  import { z } from "zod";
@@ -13,7 +13,7 @@ import "../../../../../../../menus-DXaFTRyU.mjs";
13
13
  import "../../../../../../../redirect-hKO66LS_.mjs";
14
14
  import "../../../../../../../byline-9WeA8b0a.mjs";
15
15
  import "../../../../../../../seo-DASNc4gD.mjs";
16
- import { b as handleSchemaFieldDelete, w as handleSchemaFieldUpdate, x as handleSchemaFieldGet } from "../../../../../../../api-BF2_bQPS.mjs";
16
+ import { b as handleSchemaFieldDelete, w as handleSchemaFieldUpdate, x as handleSchemaFieldGet } from "../../../../../../../api-CX_et2bh.mjs";
17
17
  import "../../../../../../../request-cache-BzuhyUXj.mjs";
18
18
  import "../../../../../../../dashboard-DdqRifyu.mjs";
19
19
  import "../../../../../../../briefing-Dk4I4VC8.mjs";
@@ -13,7 +13,7 @@ import "../../../../../../../menus-DXaFTRyU.mjs";
13
13
  import "../../../../../../../redirect-hKO66LS_.mjs";
14
14
  import "../../../../../../../byline-9WeA8b0a.mjs";
15
15
  import "../../../../../../../seo-DASNc4gD.mjs";
16
- import { S as handleSchemaFieldList, y as handleSchemaFieldCreate } from "../../../../../../../api-BF2_bQPS.mjs";
16
+ import { S as handleSchemaFieldList, y as handleSchemaFieldCreate } from "../../../../../../../api-CX_et2bh.mjs";
17
17
  import "../../../../../../../request-cache-BzuhyUXj.mjs";
18
18
  import "../../../../../../../dashboard-DdqRifyu.mjs";
19
19
  import "../../../../../../../briefing-Dk4I4VC8.mjs";
@@ -13,7 +13,7 @@ import "../../../../../../../menus-DXaFTRyU.mjs";
13
13
  import "../../../../../../../redirect-hKO66LS_.mjs";
14
14
  import "../../../../../../../byline-9WeA8b0a.mjs";
15
15
  import "../../../../../../../seo-DASNc4gD.mjs";
16
- import { C as handleSchemaFieldReorder } from "../../../../../../../api-BF2_bQPS.mjs";
16
+ import { C as handleSchemaFieldReorder } from "../../../../../../../api-CX_et2bh.mjs";
17
17
  import "../../../../../../../request-cache-BzuhyUXj.mjs";
18
18
  import "../../../../../../../dashboard-DdqRifyu.mjs";
19
19
  import "../../../../../../../briefing-Dk4I4VC8.mjs";
@@ -13,7 +13,7 @@ import "../../../../../../menus-DXaFTRyU.mjs";
13
13
  import "../../../../../../redirect-hKO66LS_.mjs";
14
14
  import "../../../../../../byline-9WeA8b0a.mjs";
15
15
  import "../../../../../../seo-DASNc4gD.mjs";
16
- import { g as handleSchemaCollectionGet, h as handleSchemaCollectionDelete, v as handleSchemaCollectionUpdate } from "../../../../../../api-BF2_bQPS.mjs";
16
+ import { g as handleSchemaCollectionGet, h as handleSchemaCollectionDelete, v as handleSchemaCollectionUpdate } from "../../../../../../api-CX_et2bh.mjs";
17
17
  import "../../../../../../request-cache-BzuhyUXj.mjs";
18
18
  import "../../../../../../dashboard-DdqRifyu.mjs";
19
19
  import "../../../../../../briefing-Dk4I4VC8.mjs";
@@ -13,7 +13,7 @@ import "../../../../../menus-DXaFTRyU.mjs";
13
13
  import "../../../../../redirect-hKO66LS_.mjs";
14
14
  import "../../../../../byline-9WeA8b0a.mjs";
15
15
  import "../../../../../seo-DASNc4gD.mjs";
16
- import { _ as handleSchemaCollectionList, m as handleSchemaCollectionCreate } from "../../../../../api-BF2_bQPS.mjs";
16
+ import { _ as handleSchemaCollectionList, m as handleSchemaCollectionCreate } from "../../../../../api-CX_et2bh.mjs";
17
17
  import "../../../../../request-cache-BzuhyUXj.mjs";
18
18
  import "../../../../../dashboard-DdqRifyu.mjs";
19
19
  import "../../../../../briefing-Dk4I4VC8.mjs";
@@ -13,7 +13,7 @@ import "../../../../../menus-DXaFTRyU.mjs";
13
13
  import "../../../../../redirect-hKO66LS_.mjs";
14
14
  import "../../../../../byline-9WeA8b0a.mjs";
15
15
  import "../../../../../seo-DASNc4gD.mjs";
16
- import { p as handleOrphanedTableRegister } from "../../../../../api-BF2_bQPS.mjs";
16
+ import { p as handleOrphanedTableRegister } from "../../../../../api-CX_et2bh.mjs";
17
17
  import "../../../../../request-cache-BzuhyUXj.mjs";
18
18
  import "../../../../../dashboard-DdqRifyu.mjs";
19
19
  import "../../../../../briefing-Dk4I4VC8.mjs";
@@ -13,7 +13,7 @@ import "../../../../../menus-DXaFTRyU.mjs";
13
13
  import "../../../../../redirect-hKO66LS_.mjs";
14
14
  import "../../../../../byline-9WeA8b0a.mjs";
15
15
  import "../../../../../seo-DASNc4gD.mjs";
16
- import { f as handleOrphanedTableList } from "../../../../../api-BF2_bQPS.mjs";
16
+ import { f as handleOrphanedTableList } from "../../../../../api-CX_et2bh.mjs";
17
17
  import "../../../../../request-cache-BzuhyUXj.mjs";
18
18
  import "../../../../../dashboard-DdqRifyu.mjs";
19
19
  import "../../../../../briefing-Dk4I4VC8.mjs";
@@ -1,5 +1,5 @@
1
1
  import { t as OptionsRepository } from "../../../../options-BF11H_FD.mjs";
2
- import { n as VERSION } from "../../../../version-9XopR1mw.mjs";
2
+ import { n as VERSION } from "../../../../version-Ch9I7B2B.mjs";
3
3
  import { t as getAuthMode } from "../../../../mode-Bd55iLcP.mjs";
4
4
 
5
5
  //#region src/astro/routes/api/well-known/auth.ts
@@ -1,5 +1,5 @@
1
1
  import { r as ContentItem } from "../types-Brp7Hv9S.mjs";
2
- import { Kn as MediaItem, en as SandboxRunner, mn as MediaResponse, nt as HookPipeline, or as ContentListResponse, pn as MediaListResponse, sr as ContentResponse, t as DinewayConfig, tt as EmailPipeline } from "../runtime-D8iQkQwl.mjs";
2
+ import { Kn as MediaItem, en as SandboxRunner, mn as MediaResponse, nt as HookPipeline, or as ContentListResponse, pn as MediaListResponse, sr as ContentResponse, t as DinewayConfig, tt as EmailPipeline } from "../runtime-CbnJMIeq.mjs";
3
3
  import { t as Database } from "../types-DwIXYH8s.mjs";
4
4
  import { A as PageMetadataContribution, D as PageFragmentContribution, X as ResolvedPlugin, ct as Element, q as PublicPageContext } from "../types-DzBAohLy.mjs";
5
5
  import "../types-BSP1HbdT.mjs";
@@ -8,7 +8,7 @@ import "../runner-BJm_NJr2.mjs";
8
8
  import "../index-CxVXYBXq.mjs";
9
9
  import "../index-DUurmpun.mjs";
10
10
  import { d as Storage } from "../types-B7Uld4FZ.mjs";
11
- import "../bylines-CcEr0bxd.mjs";
11
+ import "../bylines-BIldBr7o.mjs";
12
12
  import "../types-DbtpYtHx.mjs";
13
13
  import "../validate-BikB29gc.mjs";
14
14
  import "../index.mjs";
@@ -4,7 +4,7 @@ import { z } from "zod";
4
4
  /** Valid role level values */
5
5
  declare const VALID_ROLE_LEVELS: Set<number>;
6
6
  /** Role level — coerces string/number to valid RoleLevel (10|20|30|40|50) */
7
- declare const roleLevel: z.ZodCoercedNumber<unknown> & z.ZodType<10 | 20 | 30 | 40 | 50, unknown, z.core.$ZodTypeInternals<10 | 20 | 30 | 40 | 50, unknown>>;
7
+ declare const roleLevel: z.ZodCoercedNumber<unknown> & z.ZodType<50 | 10 | 20 | 30 | 40, unknown, z.core.$ZodTypeInternals<50 | 10 | 20 | 30 | 40, unknown>>;
8
8
  /** Pagination query params — cursor-based */
9
9
  declare const cursorPaginationQuery: z.ZodObject<{
10
10
  cursor: z.ZodOptional<z.ZodString>;
@@ -519,11 +519,11 @@ declare const createCollectionBody: z.ZodObject<{
519
519
  description: z.ZodOptional<z.ZodString>;
520
520
  icon: z.ZodOptional<z.ZodString>;
521
521
  supports: z.ZodOptional<z.ZodArray<z.ZodEnum<{
522
+ search: "search";
522
523
  drafts: "drafts";
523
524
  revisions: "revisions";
524
525
  preview: "preview";
525
526
  scheduling: "scheduling";
526
- search: "search";
527
527
  }>>>;
528
528
  source: z.ZodOptional<z.ZodString>;
529
529
  urlPattern: z.ZodOptional<z.ZodString>;
@@ -535,11 +535,11 @@ declare const updateCollectionBody: z.ZodObject<{
535
535
  description: z.ZodOptional<z.ZodString>;
536
536
  icon: z.ZodOptional<z.ZodString>;
537
537
  supports: z.ZodOptional<z.ZodArray<z.ZodEnum<{
538
+ search: "search";
538
539
  drafts: "drafts";
539
540
  revisions: "revisions";
540
541
  preview: "preview";
541
542
  scheduling: "scheduling";
542
- search: "search";
543
543
  }>>>;
544
544
  urlPattern: z.ZodOptional<z.ZodNullable<z.ZodString>>;
545
545
  hasSeo: z.ZodOptional<z.ZodBoolean>;
@@ -561,14 +561,14 @@ declare const createFieldBody: z.ZodObject<{
561
561
  boolean: "boolean";
562
562
  file: "file";
563
563
  url: "url";
564
+ image: "image";
564
565
  slug: "slug";
566
+ datetime: "datetime";
565
567
  text: "text";
566
568
  integer: "integer";
567
- datetime: "datetime";
568
569
  select: "select";
569
570
  multiSelect: "multiSelect";
570
571
  portableText: "portableText";
571
- image: "image";
572
572
  reference: "reference";
573
573
  json: "json";
574
574
  repeater: "repeater";
@@ -591,9 +591,9 @@ declare const createFieldBody: z.ZodObject<{
591
591
  number: "number";
592
592
  boolean: "boolean";
593
593
  url: "url";
594
+ datetime: "datetime";
594
595
  text: "text";
595
596
  integer: "integer";
596
- datetime: "datetime";
597
597
  select: "select";
598
598
  }>;
599
599
  label: z.ZodString;
@@ -630,9 +630,9 @@ declare const updateFieldBody: z.ZodObject<{
630
630
  number: "number";
631
631
  boolean: "boolean";
632
632
  url: "url";
633
+ datetime: "datetime";
633
634
  text: "text";
634
635
  integer: "integer";
635
- datetime: "datetime";
636
636
  select: "select";
637
637
  }>;
638
638
  label: z.ZodString;
@@ -688,14 +688,14 @@ declare const fieldSchema: z.ZodObject<{
688
688
  boolean: "boolean";
689
689
  file: "file";
690
690
  url: "url";
691
+ image: "image";
691
692
  slug: "slug";
693
+ datetime: "datetime";
692
694
  text: "text";
693
695
  integer: "integer";
694
- datetime: "datetime";
695
696
  select: "select";
696
697
  multiSelect: "multiSelect";
697
698
  portableText: "portableText";
698
- image: "image";
699
699
  reference: "reference";
700
700
  json: "json";
701
701
  repeater: "repeater";
@@ -753,14 +753,14 @@ declare const collectionWithFieldsResponseSchema: z.ZodObject<{
753
753
  boolean: "boolean";
754
754
  file: "file";
755
755
  url: "url";
756
+ image: "image";
756
757
  slug: "slug";
758
+ datetime: "datetime";
757
759
  text: "text";
758
760
  integer: "integer";
759
- datetime: "datetime";
760
761
  select: "select";
761
762
  multiSelect: "multiSelect";
762
763
  portableText: "portableText";
763
- image: "image";
764
764
  reference: "reference";
765
765
  json: "json";
766
766
  repeater: "repeater";
@@ -807,14 +807,14 @@ declare const fieldResponseSchema: z.ZodObject<{
807
807
  boolean: "boolean";
808
808
  file: "file";
809
809
  url: "url";
810
+ image: "image";
810
811
  slug: "slug";
812
+ datetime: "datetime";
811
813
  text: "text";
812
814
  integer: "integer";
813
- datetime: "datetime";
814
815
  select: "select";
815
816
  multiSelect: "multiSelect";
816
817
  portableText: "portableText";
817
- image: "image";
818
818
  reference: "reference";
819
819
  json: "json";
820
820
  repeater: "repeater";
@@ -844,14 +844,14 @@ declare const fieldListResponseSchema: z.ZodObject<{
844
844
  boolean: "boolean";
845
845
  file: "file";
846
846
  url: "url";
847
+ image: "image";
847
848
  slug: "slug";
849
+ datetime: "datetime";
848
850
  text: "text";
849
851
  integer: "integer";
850
- datetime: "datetime";
851
852
  select: "select";
852
853
  multiSelect: "multiSelect";
853
854
  portableText: "portableText";
854
- image: "image";
855
855
  reference: "reference";
856
856
  json: "json";
857
857
  repeater: "repeater";
@@ -892,8 +892,8 @@ declare const createCommentBody: z.ZodObject<{
892
892
  }, z.core.$strip>;
893
893
  declare const commentStatusBody: z.ZodObject<{
894
894
  status: z.ZodEnum<{
895
- pending: "pending";
896
895
  approved: "approved";
896
+ pending: "pending";
897
897
  spam: "spam";
898
898
  trash: "trash";
899
899
  }>;
@@ -909,8 +909,8 @@ declare const commentBulkBody: z.ZodObject<{
909
909
  }, z.core.$strip>;
910
910
  declare const commentListQuery: z.ZodObject<{
911
911
  status: z.ZodOptional<z.ZodEnum<{
912
- pending: "pending";
913
912
  approved: "approved";
913
+ pending: "pending";
914
914
  spam: "spam";
915
915
  trash: "trash";
916
916
  }>>;
@@ -944,8 +944,8 @@ declare const commentSchema: z.ZodObject<{
944
944
  authorEmail: z.ZodString;
945
945
  body: z.ZodString;
946
946
  status: z.ZodEnum<{
947
- pending: "pending";
948
947
  approved: "approved";
948
+ pending: "pending";
949
949
  spam: "spam";
950
950
  trash: "trash";
951
951
  }>;
@@ -976,8 +976,8 @@ declare const adminCommentListResponseSchema: z.ZodObject<{
976
976
  authorEmail: z.ZodString;
977
977
  body: z.ZodString;
978
978
  status: z.ZodEnum<{
979
- pending: "pending";
980
979
  approved: "approved";
980
+ pending: "pending";
981
981
  spam: "spam";
982
982
  trash: "trash";
983
983
  }>;
@@ -1022,7 +1022,6 @@ declare const contextEntryListQuery: z.ZodObject<{
1022
1022
  cursor: z.ZodOptional<z.ZodString>;
1023
1023
  }, z.core.$strip>;
1024
1024
  declare const contextEntryStaleQuery: z.ZodObject<{
1025
- scope: z.ZodOptional<z.ZodString>;
1026
1025
  limit: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
1027
1026
  cursor: z.ZodOptional<z.ZodString>;
1028
1027
  includeInherited: z.ZodPipe<z.ZodOptional<z.ZodEnum<{
@@ -1031,6 +1030,7 @@ declare const contextEntryStaleQuery: z.ZodObject<{
1031
1030
  }>>, z.ZodTransform<boolean | undefined, "true" | "false" | undefined>>;
1032
1031
  contextTypes: z.ZodPipe<z.ZodOptional<z.ZodString>, z.ZodTransform<string[] | undefined, string | undefined>>;
1033
1032
  tags: z.ZodPipe<z.ZodOptional<z.ZodString>, z.ZodTransform<string[] | undefined, string | undefined>>;
1033
+ scope: z.ZodOptional<z.ZodString>;
1034
1034
  createdByActorType: z.ZodOptional<z.ZodEnum<{
1035
1035
  user: "user";
1036
1036
  api_token: "api_token";
@@ -1051,7 +1051,6 @@ declare const contextEntryDiffQuery: z.ZodObject<{
1051
1051
  declare const contextEntryCreateBody: z.ZodObject<{
1052
1052
  scope: z.ZodString;
1053
1053
  contextType: z.ZodEnum<{
1054
- decision: "decision";
1055
1054
  brand_voice: "brand_voice";
1056
1055
  seo_strategy: "seo_strategy";
1057
1056
  audience: "audience";
@@ -1061,6 +1060,7 @@ declare const contextEntryCreateBody: z.ZodObject<{
1061
1060
  migration_note: "migration_note";
1062
1061
  plugin_note: "plugin_note";
1063
1062
  agent_reasoning: "agent_reasoning";
1063
+ decision: "decision";
1064
1064
  risk: "risk";
1065
1065
  content_gap: "content_gap";
1066
1066
  style_exception: "style_exception";
@@ -1075,7 +1075,6 @@ declare const contextEntryCreateBody: z.ZodObject<{
1075
1075
  declare const contextEntrySupersedeBody: z.ZodObject<{
1076
1076
  scope: z.ZodOptional<z.ZodString>;
1077
1077
  contextType: z.ZodOptional<z.ZodEnum<{
1078
- decision: "decision";
1079
1078
  brand_voice: "brand_voice";
1080
1079
  seo_strategy: "seo_strategy";
1081
1080
  audience: "audience";
@@ -1085,6 +1084,7 @@ declare const contextEntrySupersedeBody: z.ZodObject<{
1085
1084
  migration_note: "migration_note";
1086
1085
  plugin_note: "plugin_note";
1087
1086
  agent_reasoning: "agent_reasoning";
1087
+ decision: "decision";
1088
1088
  risk: "risk";
1089
1089
  content_gap: "content_gap";
1090
1090
  style_exception: "style_exception";
@@ -1117,8 +1117,8 @@ declare const siteBriefingQuery: z.ZodObject<{
1117
1117
  //#region src/api/schemas/hitl-requests.d.ts
1118
1118
  declare const hitlRequestListQuery: z.ZodObject<{
1119
1119
  status: z.ZodOptional<z.ZodEnum<{
1120
- pending: "pending";
1121
1120
  approved: "approved";
1121
+ pending: "pending";
1122
1122
  rejected: "rejected";
1123
1123
  }>>;
1124
1124
  priority: z.ZodOptional<z.ZodEnum<{
@@ -1145,8 +1145,8 @@ declare const hitlRequestResolveBody: z.ZodObject<{
1145
1145
  //#region src/api/schemas/review-requests.d.ts
1146
1146
  declare const reviewRequestListQuery: z.ZodObject<{
1147
1147
  status: z.ZodOptional<z.ZodEnum<{
1148
- pending: "pending";
1149
1148
  approved: "approved";
1149
+ pending: "pending";
1150
1150
  rejected: "rejected";
1151
1151
  }>>;
1152
1152
  collection: z.ZodOptional<z.ZodString>;
@@ -1194,7 +1194,7 @@ declare const signupCompleteBody: z.ZodObject<{
1194
1194
  }, z.core.$strip>;
1195
1195
  declare const inviteCreateBody: z.ZodObject<{
1196
1196
  email: z.ZodString;
1197
- role: z.ZodOptional<z.ZodCoercedNumber<unknown> & z.ZodType<10 | 20 | 30 | 40 | 50, unknown, z.core.$ZodTypeInternals<10 | 20 | 30 | 40 | 50, unknown>>>;
1197
+ role: z.ZodOptional<z.ZodCoercedNumber<unknown> & z.ZodType<50 | 10 | 20 | 30 | 40, unknown, z.core.$ZodTypeInternals<50 | 10 | 20 | 30 | 40, unknown>>>;
1198
1198
  }, z.core.$strip>;
1199
1199
  declare const inviteCompleteBody: z.ZodObject<{
1200
1200
  token: z.ZodString;
@@ -1746,15 +1746,15 @@ declare const usersListQuery: z.ZodObject<{
1746
1746
  declare const userUpdateBody: z.ZodObject<{
1747
1747
  name: z.ZodOptional<z.ZodString>;
1748
1748
  email: z.ZodOptional<z.ZodString>;
1749
- role: z.ZodOptional<z.ZodCoercedNumber<unknown> & z.ZodType<10 | 20 | 30 | 40 | 50, unknown, z.core.$ZodTypeInternals<10 | 20 | 30 | 40 | 50, unknown>>>;
1749
+ role: z.ZodOptional<z.ZodCoercedNumber<unknown> & z.ZodType<50 | 10 | 20 | 30 | 40, unknown, z.core.$ZodTypeInternals<50 | 10 | 20 | 30 | 40, unknown>>>;
1750
1750
  }, z.core.$strip>;
1751
1751
  declare const allowedDomainCreateBody: z.ZodObject<{
1752
1752
  domain: z.ZodString;
1753
- defaultRole: z.ZodCoercedNumber<unknown> & z.ZodType<10 | 20 | 30 | 40 | 50, unknown, z.core.$ZodTypeInternals<10 | 20 | 30 | 40 | 50, unknown>>;
1753
+ defaultRole: z.ZodCoercedNumber<unknown> & z.ZodType<50 | 10 | 20 | 30 | 40, unknown, z.core.$ZodTypeInternals<50 | 10 | 20 | 30 | 40, unknown>>;
1754
1754
  }, z.core.$strip>;
1755
1755
  declare const allowedDomainUpdateBody: z.ZodObject<{
1756
1756
  enabled: z.ZodOptional<z.ZodBoolean>;
1757
- defaultRole: z.ZodOptional<z.ZodCoercedNumber<unknown> & z.ZodType<10 | 20 | 30 | 40 | 50, unknown, z.core.$ZodTypeInternals<10 | 20 | 30 | 40 | 50, unknown>>>;
1757
+ defaultRole: z.ZodOptional<z.ZodCoercedNumber<unknown> & z.ZodType<50 | 10 | 20 | 30 | 40, unknown, z.core.$ZodTypeInternals<50 | 10 | 20 | 30 | 40, unknown>>>;
1758
1758
  }, z.core.$strip>;
1759
1759
  declare const userSchema: z.ZodObject<{
1760
1760
  id: z.ZodString;
@@ -831,6 +831,104 @@ const contentCommand = defineCommand({
831
831
  }
832
832
  });
833
833
 
834
+ //#endregion
835
+ //#region src/cli/commands/deploy/utils/astro-adapter.ts
836
+ const NODE_ADAPTER_PACKAGE = "@astrojs/node";
837
+ const VERCEL_ADAPTER_PACKAGE = "@astrojs/vercel";
838
+ const NODE_ADAPTER_VERSION = "^10.1.0";
839
+ const VERCEL_ADAPTER_VERSION = "^10.0.6";
840
+ const NODE_IMPORT_PATTERN = /^import\s+node\s+from\s+["']@astrojs\/node["'];\n?/m;
841
+ const VERCEL_IMPORT_PATTERN = /^import\s+vercel\s+from\s+["']@astrojs\/vercel["'];\n?/m;
842
+ const CONDITIONAL_ADAPTER_FLAG_PATTERN = /^const\s+isVercelDeploy\s*=\s*process\.env\.VERCEL\s*===\s*["']1["']\s*\|\|\s*process\.env\.DINEWAY_DEPLOY_TARGET\s*===\s*["']forgeway["'];\n?/m;
843
+ const CONDITIONAL_ADAPTER_PATTERN = /adapter:\s*isVercelDeploy\s*\?\s*vercel\(\)\s*:\s*node\(\{\s*mode:\s*["']standalone["']\s*\}\),/s;
844
+ const NODE_ADAPTER_PATTERN = /adapter:\s*node\(\{\s*mode:\s*["']standalone["']\s*\}\),/s;
845
+ const VERCEL_ADAPTER_PATTERN = /adapter:\s*vercel\(\),/s;
846
+ const SERVER_OUTPUT_PATTERN = /output:\s*["']server["'],/;
847
+ async function fileExists$11(path) {
848
+ try {
849
+ await access(path);
850
+ return true;
851
+ } catch {
852
+ return false;
853
+ }
854
+ }
855
+ function insertImport(source, statement) {
856
+ const lines = source.split("\n");
857
+ let insertAt = 0;
858
+ while (insertAt < lines.length && lines[insertAt]?.startsWith("import ")) insertAt += 1;
859
+ lines.splice(insertAt, 0, statement);
860
+ return lines.join("\n");
861
+ }
862
+ function configureAstroConfigSource(source, adapter) {
863
+ let next = source.replace(CONDITIONAL_ADAPTER_FLAG_PATTERN, "").replace(adapter === "vercel" ? NODE_IMPORT_PATTERN : VERCEL_IMPORT_PATTERN, "");
864
+ const wantedImport = adapter === "vercel" ? `import vercel from "${VERCEL_ADAPTER_PACKAGE}";` : `import node from "${NODE_ADAPTER_PACKAGE}";`;
865
+ const wantedAdapter = adapter === "vercel" ? "adapter: vercel()," : "adapter: node({ mode: \"standalone\" }),";
866
+ if (!next.includes(wantedImport)) next = insertImport(next, wantedImport);
867
+ next = next.replace(CONDITIONAL_ADAPTER_PATTERN, wantedAdapter).replace(adapter === "vercel" ? NODE_ADAPTER_PATTERN : VERCEL_ADAPTER_PATTERN, wantedAdapter);
868
+ if (!next.includes(wantedAdapter)) {
869
+ if (!SERVER_OUTPUT_PATTERN.test(next)) throw new Error("astro.config.mjs must include output: \"server\" before deploy adapter setup.");
870
+ next = next.replace(SERVER_OUTPUT_PATTERN, (match) => `${match}\n\t${wantedAdapter}`);
871
+ }
872
+ return next;
873
+ }
874
+ function configurePackageJson(pkg, adapter) {
875
+ const dependencies = { ...pkg.dependencies };
876
+ if (adapter === "vercel") {
877
+ delete dependencies[NODE_ADAPTER_PACKAGE];
878
+ dependencies[VERCEL_ADAPTER_PACKAGE] = dependencies[VERCEL_ADAPTER_PACKAGE] ?? VERCEL_ADAPTER_VERSION;
879
+ } else {
880
+ delete dependencies[VERCEL_ADAPTER_PACKAGE];
881
+ dependencies[NODE_ADAPTER_PACKAGE] = dependencies[NODE_ADAPTER_PACKAGE] ?? NODE_ADAPTER_VERSION;
882
+ }
883
+ return {
884
+ ...pkg,
885
+ dependencies
886
+ };
887
+ }
888
+ async function configureAstroConfig(cwd, adapter, dryRun) {
889
+ const configPath = join(cwd, "astro.config.mjs");
890
+ if (!await fileExists$11(configPath)) return [];
891
+ const current = await readFile(configPath, "utf-8");
892
+ const next = configureAstroConfigSource(current, adapter);
893
+ if (next === current) return [{
894
+ path: "astro.config.mjs",
895
+ action: "exists"
896
+ }];
897
+ if (dryRun) return [{
898
+ path: "astro.config.mjs",
899
+ action: "skipped"
900
+ }];
901
+ await writeFile(configPath, next, "utf-8");
902
+ return [{
903
+ path: "astro.config.mjs",
904
+ action: "updated"
905
+ }];
906
+ }
907
+ async function configurePackage(cwd, adapter, dryRun) {
908
+ const packagePath = join(cwd, "package.json");
909
+ if (!await fileExists$11(packagePath)) return [];
910
+ const current = await readFile(packagePath, "utf-8");
911
+ const nextPkg = configurePackageJson(JSON.parse(current), adapter);
912
+ const next = JSON.stringify(nextPkg, null, " ") + "\n";
913
+ if (next === current) return [{
914
+ path: "package.json",
915
+ action: "exists"
916
+ }];
917
+ if (dryRun) return [{
918
+ path: "package.json",
919
+ action: "skipped"
920
+ }];
921
+ await writeFile(packagePath, next, "utf-8");
922
+ return [{
923
+ path: "package.json",
924
+ action: "updated"
925
+ }];
926
+ }
927
+ async function configureAstroDeployAdapter(cwd, adapter, dryRun = false) {
928
+ if (!await fileExists$11(join(cwd, "astro.config.mjs"))) return [];
929
+ return [...await configureAstroConfig(cwd, adapter, dryRun), ...await configurePackage(cwd, adapter, dryRun)];
930
+ }
931
+
834
932
  //#endregion
835
933
  //#region src/cli/commands/deploy/utils/dockerfile.ts
836
934
  const NODE_START_COMMAND = "node ./dist/server/entry.mjs";
@@ -947,7 +1045,11 @@ const dockerTarget = {
947
1045
  description: "Generate Docker deployment files without running Docker locally.",
948
1046
  supportLevel: "stable",
949
1047
  async generateConfig(cwd, options) {
950
- const files = [await writeGeneratedFile$2(cwd, "Dockerfile", generateDockerfile(), options.dryRun), await writeGeneratedFile$2(cwd, ".dockerignore", generateDockerignore(), options.dryRun)];
1048
+ const files = [
1049
+ ...await configureAstroDeployAdapter(cwd, "node", options.dryRun),
1050
+ await writeGeneratedFile$2(cwd, "Dockerfile", generateDockerfile(), options.dryRun),
1051
+ await writeGeneratedFile$2(cwd, ".dockerignore", generateDockerignore(), options.dryRun)
1052
+ ];
951
1053
  if (options.compose) files.push(await writeGeneratedFile$2(cwd, "docker-compose.yml", generateDockerCompose(), options.dryRun));
952
1054
  return files;
953
1055
  },
@@ -1189,6 +1291,7 @@ const flyTarget = {
1189
1291
  },
1190
1292
  async generateConfig(cwd, options) {
1191
1293
  return [
1294
+ ...await configureAstroDeployAdapter(cwd, "node", options.dryRun),
1192
1295
  await writeGeneratedFile$1(cwd, "Dockerfile", generateDockerfile(), options.dryRun),
1193
1296
  await writeGeneratedFile$1(cwd, ".dockerignore", generateDockerignore(), options.dryRun),
1194
1297
  await writeGeneratedFile$1(cwd, "fly.toml", generateFlyToml(await defaultFlyAppName(cwd)), options.dryRun)
@@ -2179,8 +2282,8 @@ const forgewayTarget = {
2179
2282
  recommended: true,
2180
2283
  remoteBuild: true,
2181
2284
  supportLevel: "stable",
2182
- async generateConfig(_cwd, _options) {
2183
- return [];
2285
+ async generateConfig(cwd, options) {
2286
+ return await configureAstroDeployAdapter(cwd, "vercel", options.dryRun);
2184
2287
  },
2185
2288
  async deploy(cwd, options) {
2186
2289
  return await deployForgeway(cwd, options);
@@ -2342,7 +2445,7 @@ const gcpTarget = {
2342
2445
  throw new Error("No active Google Cloud project. Run: gcloud config set project PROJECT_ID");
2343
2446
  },
2344
2447
  async generateConfig(cwd, options) {
2345
- return [await writeGeneratedFile(cwd, ".gcloudignore", GCLOUDIGNORE, options.dryRun)];
2448
+ return [...await configureAstroDeployAdapter(cwd, "node", options.dryRun), await writeGeneratedFile(cwd, ".gcloudignore", GCLOUDIGNORE, options.dryRun)];
2346
2449
  },
2347
2450
  async deploy(cwd, options) {
2348
2451
  const service = await resolveServiceName(cwd, options.env);
@@ -2468,7 +2571,6 @@ const railwayTarget = {
2468
2571
  name: "railway",
2469
2572
  label: "Railway",
2470
2573
  description: "Deploy a standard Dineway Node server with Railway CLI.",
2471
- recommended: true,
2472
2574
  supportLevel: "stable",
2473
2575
  cli: {
2474
2576
  npmPackage: "@railway/cli",
@@ -2519,8 +2621,9 @@ const railwayTarget = {
2519
2621
  });
2520
2622
  },
2521
2623
  async generateConfig(cwd, options) {
2624
+ const generated = await configureAstroDeployAdapter(cwd, "node", options.dryRun);
2522
2625
  const railwayPath = join(cwd, "railway.json");
2523
- if (await fileExists$5(railwayPath)) return [{
2626
+ if (await fileExists$5(railwayPath)) return [...generated, {
2524
2627
  path: "railway.json",
2525
2628
  action: "exists"
2526
2629
  }];
@@ -2537,12 +2640,12 @@ const railwayTarget = {
2537
2640
  restartPolicyType: "ON_FAILURE"
2538
2641
  }
2539
2642
  };
2540
- if (options.dryRun) return [{
2643
+ if (options.dryRun) return [...generated, {
2541
2644
  path: "railway.json",
2542
2645
  action: "skipped"
2543
2646
  }];
2544
2647
  await writeFile(railwayPath, JSON.stringify(config, null, " ") + "\n", "utf-8");
2545
- return [{
2648
+ return [...generated, {
2546
2649
  path: "railway.json",
2547
2650
  action: "created"
2548
2651
  }];
@@ -2744,6 +2847,7 @@ const deployCommand = defineCommand({
2744
2847
  const generated = await target.generateConfig(cwd, options);
2745
2848
  for (const file of generated) {
2746
2849
  if (file.action === "created") consola.success(`Created ${file.path}`);
2850
+ if (file.action === "updated") consola.success(`Updated ${file.path}`);
2747
2851
  if (file.action === "exists") consola.info(`${file.path} already exists`);
2748
2852
  if (file.action === "skipped") consola.info(`[dry-run] Would create ${file.path}`);
2749
2853
  }
package/dist/index.d.mts CHANGED
@@ -1,5 +1,5 @@
1
1
  import { a as ContentSeoInput, c as FindManyOptions, i as ContentSeo, l as FindManyResult, n as ContentBylineCredit, o as CreateContentInput, r as ContentItem, s as DinewayValidationError, t as BylineSummary, u as UpdateContentInput } from "./types-Brp7Hv9S.mjs";
2
- import { $ as createPluginManager, $t as SandboxOptions, A as dropSessionDatabaseTables, An as handleContentDelete, At as verifyPreviewSignature, B as GeneratePreviewTokenOptions, Bn as handleContentSchedule, Bt as prosemirrorToPortableText, C as getByline, Cn as handleRevisionList, Ct as SessionOpenOrCreateOptions, D as AppliedSnapshotMeta, Dn as handleContentCountScheduled, Dt as defaultPreviewSidecarClient, E as renderPreviewToolbar, En as handleContentCompare, Et as buildPreviewSignatureHeader, F as getPreviewToken, Fn as handleContentList, Ft as AfterCallback, G as parseContentId, Gn as CreateMediaInput, Gt as PortableTextSpan, H as VerifyPreviewTokenOptions, Hn as handleContentUnpublish, Ht as PortableTextImageBlock, I as isPreviewRequest, In as handleContentListTrashed, It as after, J as createNodeSandboxRunner, Jn as ContentRepository, Jt as ProseMirrorDocument, K as verifyPreviewToken, Kn as MediaItem, Kt as PortableTextTextBlock, L as GetPreviewUrlOptions, Ln as handleContentPermanentDelete, Lt as computeContentHash, M as Snapshot, Mn as handleContentDuplicate, Mt as getFallbackChain, N as renderPreviewLoadingPage, Nn as handleContentGet, Nt as getI18nConfig, O as ApplySnapshotToDatabaseOptions, On as handleContentCountTrashed, Ot as parsePreviewSignatureHeader, P as isBlockedInPreview, Pn as handleContentGetIncludingTrashed, Pt as isI18nEnabled, Q as PluginManager, Qt as SandboxEmailSendCallback, R as buildPreviewUrl, Rn as handleContentPublish, Rt as hashString, S as Suggestion, Sn as handleRevisionGet, St as SessionOpenOptions, T as PreviewToolbarConfig, Tn as generateManifest, Tt as PreviewSidecarSignature, U as VerifyPreviewTokenResult, Un as handleContentUnschedule, Ut as PortableTextLinkMark, V as PreviewTokenPayload, Vn as handleContentTranslations, Vt as PortableTextCodeBlock, W as generatePreviewToken, Wn as handleContentUpdate, Wt as PortableTextMarkDef, X as SandboxNotAvailableError, Xn as DinewayDatabaseError, Xt as ProseMirrorNode, Y as NoopSandboxRunner, Yn as DatabaseConfig, Yt as ProseMirrorMark, Z as createNoopSandboxRunner, Zt as SandboxEmailMessage, _ as SearchOptions, _n as handleMediaGet, _t as SessionCleanupResult, an as getSections, ar as ApiContext, at as ValidatedPluginManifest, b as SearchStats, bn as RevisionListResponse, bt as SessionDatabaseInfo, c as extractSearchableFields, cn as Section, cr as FieldDescriptor, ct as CollectionFilter$1, d as search, dn as SchemaError, en as SandboxRunner, et as PluginRouteError, f as searchCollection, fn as SchemaRegistry, g as SearchConfig, gn as handleMediaDelete, gt as FileSessionDatabaseFactoryOptions, h as CollectionSearchOptions, hn as handleMediaCreate, ht as FileSessionDatabaseFactory, in as getSection, it as createHookPipeline, j as getAppliedSnapshotMeta, jn as handleContentDiscardDraft, jt as I18nConfig, k as applySnapshotToDatabase, kn as handleContentCreate, kt as signPreviewUrl, l as getSearchStats, ln as SectionSource, lr as ListResponse, lt as EntryData, m as FTSManager, mn as MediaResponse, mt as createFilePreviewMiddleware, n as PluginDescriptor, nn as SandboxedPlugin, nt as HookPipeline, on as CreateSectionInput, or as ContentListResponse, ot as pluginManifestSchema, p as searchWithDb, pn as MediaListResponse, pt as FilePreviewMiddlewareConfig, q as NodeSandboxRunner, qn as MediaRepository, qt as PortableTextUnknownBlock, rn as SerializedRequest, rt as HookResult, s as extractPlainText, sn as GetSectionsOptions, sr as ContentResponse, st as definePlugin, tn as SandboxRunnerFactory, u as getSuggestions, un as UpdateSectionInput, ur as ManifestResponse, ut as EntryFilter, v as SearchResponse, vn as handleMediaList, vt as SessionDatabaseFactory, w as getBylineBySlug, wn as handleRevisionRestore, wt as PreviewSidecarClient, x as SuggestOptions, xn as RevisionResponse, xt as SessionDatabaseLimitError, y as SearchResult, yn as handleMediaUpdate, yt as SessionDatabaseHandle, z as getPreviewUrl, zn as handleContentRestore, zt as portableTextToProsemirror } from "./runtime-D8iQkQwl.mjs";
2
+ import { $ as createPluginManager, $t as SandboxOptions, A as dropSessionDatabaseTables, An as handleContentDelete, At as verifyPreviewSignature, B as GeneratePreviewTokenOptions, Bn as handleContentSchedule, Bt as prosemirrorToPortableText, C as getByline, Cn as handleRevisionList, Ct as SessionOpenOrCreateOptions, D as AppliedSnapshotMeta, Dn as handleContentCountScheduled, Dt as defaultPreviewSidecarClient, E as renderPreviewToolbar, En as handleContentCompare, Et as buildPreviewSignatureHeader, F as getPreviewToken, Fn as handleContentList, Ft as AfterCallback, G as parseContentId, Gn as CreateMediaInput, Gt as PortableTextSpan, H as VerifyPreviewTokenOptions, Hn as handleContentUnpublish, Ht as PortableTextImageBlock, I as isPreviewRequest, In as handleContentListTrashed, It as after, J as createNodeSandboxRunner, Jn as ContentRepository, Jt as ProseMirrorDocument, K as verifyPreviewToken, Kn as MediaItem, Kt as PortableTextTextBlock, L as GetPreviewUrlOptions, Ln as handleContentPermanentDelete, Lt as computeContentHash, M as Snapshot, Mn as handleContentDuplicate, Mt as getFallbackChain, N as renderPreviewLoadingPage, Nn as handleContentGet, Nt as getI18nConfig, O as ApplySnapshotToDatabaseOptions, On as handleContentCountTrashed, Ot as parsePreviewSignatureHeader, P as isBlockedInPreview, Pn as handleContentGetIncludingTrashed, Pt as isI18nEnabled, Q as PluginManager, Qt as SandboxEmailSendCallback, R as buildPreviewUrl, Rn as handleContentPublish, Rt as hashString, S as Suggestion, Sn as handleRevisionGet, St as SessionOpenOptions, T as PreviewToolbarConfig, Tn as generateManifest, Tt as PreviewSidecarSignature, U as VerifyPreviewTokenResult, Un as handleContentUnschedule, Ut as PortableTextLinkMark, V as PreviewTokenPayload, Vn as handleContentTranslations, Vt as PortableTextCodeBlock, W as generatePreviewToken, Wn as handleContentUpdate, Wt as PortableTextMarkDef, X as SandboxNotAvailableError, Xn as DinewayDatabaseError, Xt as ProseMirrorNode, Y as NoopSandboxRunner, Yn as DatabaseConfig, Yt as ProseMirrorMark, Z as createNoopSandboxRunner, Zt as SandboxEmailMessage, _ as SearchOptions, _n as handleMediaGet, _t as SessionCleanupResult, an as getSections, ar as ApiContext, at as ValidatedPluginManifest, b as SearchStats, bn as RevisionListResponse, bt as SessionDatabaseInfo, c as extractSearchableFields, cn as Section, cr as FieldDescriptor, ct as CollectionFilter$1, d as search, dn as SchemaError, en as SandboxRunner, et as PluginRouteError, f as searchCollection, fn as SchemaRegistry, g as SearchConfig, gn as handleMediaDelete, gt as FileSessionDatabaseFactoryOptions, h as CollectionSearchOptions, hn as handleMediaCreate, ht as FileSessionDatabaseFactory, in as getSection, it as createHookPipeline, j as getAppliedSnapshotMeta, jn as handleContentDiscardDraft, jt as I18nConfig, k as applySnapshotToDatabase, kn as handleContentCreate, kt as signPreviewUrl, l as getSearchStats, ln as SectionSource, lr as ListResponse, lt as EntryData, m as FTSManager, mn as MediaResponse, mt as createFilePreviewMiddleware, n as PluginDescriptor, nn as SandboxedPlugin, nt as HookPipeline, on as CreateSectionInput, or as ContentListResponse, ot as pluginManifestSchema, p as searchWithDb, pn as MediaListResponse, pt as FilePreviewMiddlewareConfig, q as NodeSandboxRunner, qn as MediaRepository, qt as PortableTextUnknownBlock, rn as SerializedRequest, rt as HookResult, s as extractPlainText, sn as GetSectionsOptions, sr as ContentResponse, st as definePlugin, tn as SandboxRunnerFactory, u as getSuggestions, un as UpdateSectionInput, ur as ManifestResponse, ut as EntryFilter, v as SearchResponse, vn as handleMediaList, vt as SessionDatabaseFactory, w as getBylineBySlug, wn as handleRevisionRestore, wt as PreviewSidecarClient, x as SuggestOptions, xn as RevisionResponse, xt as SessionDatabaseLimitError, y as SearchResult, yn as handleMediaUpdate, yt as SessionDatabaseHandle, z as getPreviewUrl, zn as handleContentRestore, zt as portableTextToProsemirror } from "./runtime-CbnJMIeq.mjs";
3
3
  import { n as MediaTable, r as UserTable, t as Database } from "./types-DwIXYH8s.mjs";
4
4
  import { $ as StandardHookEntry, A as PageMetadataContribution, B as PluginDefinition, C as MediaAccess, D as PageFragmentContribution, E as ModerationDecision, F as PluginAdminConfig, G as PortableTextBlockConfig, H as PluginManifest, I as PluginAdminExports, K as PortableTextBlockField, L as PluginAdminPage, M as PageMetadataHandler, O as PageFragmentEvent, P as PagePlacement, Q as RouteContext, R as PluginCapability, S as LogAccess, T as MediaUploadEvent, U as PluginRoute, V as PluginHooks, W as PluginStorageConfig, X as ResolvedPlugin, Y as ResolvedHook, Z as ResolvedPluginHooks, _ as FieldWidgetConfig, a as CommentAfterModerateEvent, b as HttpAccess, c as CommentBeforeCreateHandler, d as ContentAccess, et as StandardHookHandler, f as ContentDeleteEvent, i as CommentAfterCreateHandler, it as StorageCollection, j as PageMetadataEvent, k as PageFragmentHandler, l as CommentModerateEvent, m as ContentPublishStateChangeEvent, n as CollectionCommentSettings, nt as StandardRouteEntry, o as CommentAfterModerateHandler, ot as StoredComment, p as ContentHookEvent, q as PublicPageContext, r as CommentAfterCreateEvent, rt as StandardRouteHandler, s as CommentBeforeCreateEvent, st as isStandardPluginDefinition, t as BreadcrumbItem, tt as StandardPluginDefinition, u as CommentModerateHandler, v as HookConfig, x as KVAccess, y as HookName, z as PluginContext } from "./types-DzBAohLy.mjs";
5
5
  import { _ as RESERVED_COLLECTION_SLUGS, a as Collection, b as UpdateFieldInput, c as CollectionWithFields, d as CreateFieldInput, f as FIELD_TYPE_TO_COLUMN, g as FieldWidgetOptions, h as FieldValidation, i as SiteSettings, l as ColumnType, m as FieldType, n as SeoSettings, o as CollectionSource, p as Field, r as SiteSettingKey, s as CollectionSupport, t as MediaReference, u as CreateCollectionInput, v as RESERVED_FIELD_SLUGS, y as UpdateCollectionInput } from "./types-CsX_6h1v.mjs";
@@ -11,7 +11,7 @@ import { $ as TranslationSummary, A as MenuItem, B as getPluginSettings, C as Ta
11
11
  import { _ as WxrSite, a as getAllSources, b as parseWxrString, c as getUrlSources, d as importReusableBlocksAsSections, f as WxrAttachment, g as WxrPost, h as WxrData, i as clearSources, l as probeUrl, m as WxrCategory, n as parseWxrDate, o as getFileSources, p as WxrAuthor, r as wxrSource, s as getSource, t as wordpressRestSource, u as registerSource, v as WxrTag, x as decodeSlug, y as parseWxr } from "./index-DUurmpun.mjs";
12
12
  import { n as generatePlaceholder, r as normalizeMediaValue, t as PlaceholderData } from "./placeholder-2N6m2_O6.mjs";
13
13
  import { a as ListOptions, c as S3StorageConfig, d as Storage, f as StorageDescriptor, i as FileInfo, l as SignedUploadOptions, n as DinewayStorageError, o as ListResult, p as UploadResult, r as DownloadResult, s as LocalStorageConfig, t as CreateStorageFn, u as SignedUploadUrl } from "./types-B7Uld4FZ.mjs";
14
- import "./bylines-CcEr0bxd.mjs";
14
+ import "./bylines-BIldBr7o.mjs";
15
15
  import { DinewayRequestContext, getRequestContext, runWithContext } from "./request-context.mjs";
16
16
  import { adaptSandboxEntry } from "./plugins/adapt-sandbox-entry.mjs";
17
17
  import { S as UrlInput, _ as SourceAuth, a as FileInput, b as SourceProbeResult, c as ImportContext, d as ImportSource, f as NormalizedItem, g as ProbeResult, h as PostTypeMapping, i as FieldCompatibility, l as ImportFieldDef, m as PostTypeAnalysis, n as CollectionSchemaStatus, o as ImportAnalysis, p as OAuthInput, r as FetchOptions, s as ImportConfig, t as AttachmentInfo, u as ImportResult, v as SourceCapabilities, x as SuggestedAction, y as SourceInput } from "./types-DbtpYtHx.mjs";
package/dist/index.mjs CHANGED
@@ -23,7 +23,7 @@ import "./byline-9WeA8b0a.mjs";
23
23
  import { t as normalizeMediaValue } from "./normalize-ba36HTxZ.mjs";
24
24
  import { t as generatePlaceholder } from "./placeholder-BAy3k441.mjs";
25
25
  import "./seo-DASNc4gD.mjs";
26
- import { A as handleRevisionGet, B as handleContentDuplicate, D as handleMediaGet, E as handleMediaDelete, F as handleContentCountScheduled, G as handleContentPermanentDelete, H as handleContentGetIncludingTrashed, I as handleContentCountTrashed, J as handleContentSchedule, K as handleContentPublish, L as handleContentCreate, M as handleRevisionRestore, N as generateManifest, O as handleMediaList, P as handleContentCompare, Q as handleContentUpdate, R as handleContentDelete, T as handleMediaCreate, U as handleContentList, V as handleContentGet, W as handleContentListTrashed, X as handleContentUnpublish, Y as handleContentTranslations, Z as handleContentUnschedule, j as handleRevisionList, k as handleMediaUpdate, q as handleContentRestore, z as handleContentDiscardDraft } from "./api-BF2_bQPS.mjs";
26
+ import { A as handleRevisionGet, B as handleContentDuplicate, D as handleMediaGet, E as handleMediaDelete, F as handleContentCountScheduled, G as handleContentPermanentDelete, H as handleContentGetIncludingTrashed, I as handleContentCountTrashed, J as handleContentSchedule, K as handleContentPublish, L as handleContentCreate, M as handleRevisionRestore, N as generateManifest, O as handleMediaList, P as handleContentCompare, Q as handleContentUpdate, R as handleContentDelete, T as handleMediaCreate, U as handleContentList, V as handleContentGet, W as handleContentListTrashed, X as handleContentUnpublish, Y as handleContentTranslations, Z as handleContentUnschedule, j as handleRevisionList, k as handleMediaUpdate, q as handleContentRestore, z as handleContentDiscardDraft } from "./api-CX_et2bh.mjs";
27
27
  import "./request-cache-BzuhyUXj.mjs";
28
28
  import "./dashboard-DdqRifyu.mjs";
29
29
  import "./briefing-Dk4I4VC8.mjs";
@@ -1,4 +1,4 @@
1
- import "../runtime-D8iQkQwl.mjs";
1
+ import "../runtime-CbnJMIeq.mjs";
2
2
  import { t as Database } from "../types-DwIXYH8s.mjs";
3
3
  import "../types-DzBAohLy.mjs";
4
4
  import "../types-BSP1HbdT.mjs";
@@ -7,7 +7,7 @@ import "../runner-BJm_NJr2.mjs";
7
7
  import "../index-CxVXYBXq.mjs";
8
8
  import "../index-DUurmpun.mjs";
9
9
  import { d as Storage } from "../types-B7Uld4FZ.mjs";
10
- import "../bylines-CcEr0bxd.mjs";
10
+ import "../bylines-BIldBr7o.mjs";
11
11
  import "../types-DbtpYtHx.mjs";
12
12
  import "../validate-BikB29gc.mjs";
13
13
  import "../index.mjs";
@@ -1,11 +1,11 @@
1
- import { n as PluginDescriptor } from "../runtime-D8iQkQwl.mjs";
1
+ import { n as PluginDescriptor } from "../runtime-CbnJMIeq.mjs";
2
2
  import "../types-DwIXYH8s.mjs";
3
3
  import { X as ResolvedPlugin, tt as StandardPluginDefinition } from "../types-DzBAohLy.mjs";
4
4
  import "../types-BSP1HbdT.mjs";
5
5
  import "../runner-BJm_NJr2.mjs";
6
6
  import "../index-CxVXYBXq.mjs";
7
7
  import "../index-DUurmpun.mjs";
8
- import "../bylines-CcEr0bxd.mjs";
8
+ import "../bylines-BIldBr7o.mjs";
9
9
  import "../types-DbtpYtHx.mjs";
10
10
  import "../validate-BikB29gc.mjs";
11
11
 
@@ -1787,14 +1787,14 @@ declare const pluginManifestSchema: z.ZodObject<{
1787
1787
  number: "number";
1788
1788
  boolean: "boolean";
1789
1789
  file: "file";
1790
+ image: "image";
1790
1791
  slug: "slug";
1792
+ datetime: "datetime";
1791
1793
  text: "text";
1792
1794
  integer: "integer";
1793
- datetime: "datetime";
1794
1795
  select: "select";
1795
1796
  multiSelect: "multiSelect";
1796
1797
  portableText: "portableText";
1797
- image: "image";
1798
1798
  reference: "reference";
1799
1799
  json: "json";
1800
1800
  repeater: "repeater";
@@ -1,11 +1,11 @@
1
- import { ct as CollectionFilter, dt as dinewayLoader, ft as getDb, lt as EntryData, ut as EntryFilter } from "./runtime-D8iQkQwl.mjs";
1
+ import { ct as CollectionFilter, dt as dinewayLoader, ft as getDb, lt as EntryData, ut as EntryFilter } from "./runtime-CbnJMIeq.mjs";
2
2
  import "./types-DwIXYH8s.mjs";
3
3
  import "./types-DzBAohLy.mjs";
4
4
  import "./types-BSP1HbdT.mjs";
5
5
  import "./runner-BJm_NJr2.mjs";
6
6
  import "./index-CxVXYBXq.mjs";
7
7
  import "./index-DUurmpun.mjs";
8
- import "./bylines-CcEr0bxd.mjs";
8
+ import "./bylines-BIldBr7o.mjs";
9
9
  import "./types-DbtpYtHx.mjs";
10
10
  import "./validate-BikB29gc.mjs";
11
11
  import { t as getMediaProvider } from "./provider-loader-DJ5sLxNP.mjs";
@@ -0,0 +1,6 @@
1
+ //#region src/version.ts
2
+ const VERSION = "0.1.23";
3
+ const COMMIT = "eeb5c27c";
4
+
5
+ //#endregion
6
+ export { VERSION as n, COMMIT as t };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dineway",
3
- "version": "0.1.22",
3
+ "version": "0.1.23",
4
4
  "description": "Agentic Website builder for restaurants — structured content meets AI via the Model Context Protocol",
5
5
  "type": "module",
6
6
  "publishConfig": {
@@ -1,6 +0,0 @@
1
- //#region src/version.ts
2
- const VERSION = "0.1.22";
3
- const COMMIT = "eb15d65f";
4
-
5
- //#endregion
6
- export { VERSION as n, COMMIT as t };