dineway 0.1.22 → 0.1.24

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-CsNsY79D.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-JKduSkBr.d.mts} +22 -22
  34. package/dist/cli/index.mjs +115 -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-BJ0y2_5q.mjs +6 -0
  42. package/package.json +3 -3
  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-JKduSkBr.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-JKduSkBr.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-BJ0y2_5q.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-JKduSkBr.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-BJ0y2_5q.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-JKduSkBr.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-CsNsY79D.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-BJ0y2_5q.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-CsNsY79D.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-CsNsY79D.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-CsNsY79D.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-CsNsY79D.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-CsNsY79D.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-CsNsY79D.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-CsNsY79D.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-CsNsY79D.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-CsNsY79D.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-CsNsY79D.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-CsNsY79D.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-CsNsY79D.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-BJ0y2_5q.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-BJ0y2_5q.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-BJ0y2_5q.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-BJ0y2_5q.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-CsNsY79D.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-CsNsY79D.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-CsNsY79D.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-CsNsY79D.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-CsNsY79D.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-CsNsY79D.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-CsNsY79D.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-BJ0y2_5q.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-JKduSkBr.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>;
@@ -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";
@@ -1022,14 +1022,14 @@ 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
- limit: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
1027
1025
  cursor: z.ZodOptional<z.ZodString>;
1026
+ limit: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
1027
+ contextTypes: z.ZodPipe<z.ZodOptional<z.ZodString>, z.ZodTransform<string[] | undefined, string | undefined>>;
1028
+ scope: z.ZodOptional<z.ZodString>;
1028
1029
  includeInherited: z.ZodPipe<z.ZodOptional<z.ZodEnum<{
1029
1030
  true: "true";
1030
1031
  false: "false";
1031
1032
  }>>, z.ZodTransform<boolean | undefined, "true" | "false" | undefined>>;
1032
- contextTypes: z.ZodPipe<z.ZodOptional<z.ZodString>, z.ZodTransform<string[] | undefined, string | undefined>>;
1033
1033
  tags: z.ZodPipe<z.ZodOptional<z.ZodString>, z.ZodTransform<string[] | undefined, string | undefined>>;
1034
1034
  createdByActorType: z.ZodOptional<z.ZodEnum<{
1035
1035
  user: "user";
@@ -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";
@@ -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,107 @@ 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 KNOWN_ADAPTER_PATTERN = /\n?[ \t]*adapter:\s*(?:isVercelDeploy\s*\?\s*vercel\(\)\s*:\s*node\(\{\s*mode:\s*["']standalone["']\s*,?\s*\}\)|node\(\{\s*mode:\s*["']standalone["']\s*,?\s*\}\)|vercel\(\)),/gs;
844
+ const SERVER_OUTPUT_PATTERN = /output:\s*["']server["'],/;
845
+ async function fileExists$11(path) {
846
+ try {
847
+ await access(path);
848
+ return true;
849
+ } catch {
850
+ return false;
851
+ }
852
+ }
853
+ function insertImport(source, statement) {
854
+ const lines = source.split("\n");
855
+ let insertAt = 0;
856
+ while (insertAt < lines.length && lines[insertAt]?.startsWith("import ")) insertAt += 1;
857
+ lines.splice(insertAt, 0, statement);
858
+ return lines.join("\n");
859
+ }
860
+ function configureAstroConfigSource(source, adapter) {
861
+ let next = source.replace(CONDITIONAL_ADAPTER_FLAG_PATTERN, "").replace(adapter === "vercel" ? NODE_IMPORT_PATTERN : VERCEL_IMPORT_PATTERN, "");
862
+ const wantedImport = adapter === "vercel" ? `import vercel from "${VERCEL_ADAPTER_PACKAGE}";` : `import node from "${NODE_ADAPTER_PACKAGE}";`;
863
+ const wantedAdapter = adapter === "vercel" ? "adapter: vercel()," : "adapter: node({ mode: \"standalone\" }),";
864
+ if (!next.includes(wantedImport)) next = insertImport(next, wantedImport);
865
+ let replacedAdapter = false;
866
+ next = next.replace(KNOWN_ADAPTER_PATTERN, () => {
867
+ if (replacedAdapter) return "";
868
+ replacedAdapter = true;
869
+ return `\n\t${wantedAdapter}`;
870
+ });
871
+ if (!replacedAdapter) {
872
+ if (!SERVER_OUTPUT_PATTERN.test(next)) throw new Error("astro.config.mjs must include output: \"server\" before deploy adapter setup.");
873
+ next = next.replace(SERVER_OUTPUT_PATTERN, (match) => `${match}\n\t${wantedAdapter}`);
874
+ }
875
+ return next;
876
+ }
877
+ function configurePackageJson(pkg, adapter) {
878
+ const dependencies = { ...pkg.dependencies };
879
+ if (adapter === "vercel") {
880
+ delete dependencies[NODE_ADAPTER_PACKAGE];
881
+ dependencies[VERCEL_ADAPTER_PACKAGE] = dependencies[VERCEL_ADAPTER_PACKAGE] ?? VERCEL_ADAPTER_VERSION;
882
+ } else {
883
+ delete dependencies[VERCEL_ADAPTER_PACKAGE];
884
+ dependencies[NODE_ADAPTER_PACKAGE] = dependencies[NODE_ADAPTER_PACKAGE] ?? NODE_ADAPTER_VERSION;
885
+ }
886
+ return {
887
+ ...pkg,
888
+ dependencies
889
+ };
890
+ }
891
+ async function configureAstroConfig(cwd, adapter, dryRun) {
892
+ const configPath = join(cwd, "astro.config.mjs");
893
+ if (!await fileExists$11(configPath)) return [];
894
+ const current = await readFile(configPath, "utf-8");
895
+ const next = configureAstroConfigSource(current, adapter);
896
+ if (next === current) return [{
897
+ path: "astro.config.mjs",
898
+ action: "exists"
899
+ }];
900
+ if (dryRun) return [{
901
+ path: "astro.config.mjs",
902
+ action: "skipped"
903
+ }];
904
+ await writeFile(configPath, next, "utf-8");
905
+ return [{
906
+ path: "astro.config.mjs",
907
+ action: "updated"
908
+ }];
909
+ }
910
+ async function configurePackage(cwd, adapter, dryRun) {
911
+ const packagePath = join(cwd, "package.json");
912
+ if (!await fileExists$11(packagePath)) return [];
913
+ const current = await readFile(packagePath, "utf-8");
914
+ const nextPkg = configurePackageJson(JSON.parse(current), adapter);
915
+ const next = JSON.stringify(nextPkg, null, " ") + "\n";
916
+ if (next === current) return [{
917
+ path: "package.json",
918
+ action: "exists"
919
+ }];
920
+ if (dryRun) return [{
921
+ path: "package.json",
922
+ action: "skipped"
923
+ }];
924
+ await writeFile(packagePath, next, "utf-8");
925
+ return [{
926
+ path: "package.json",
927
+ action: "updated"
928
+ }];
929
+ }
930
+ async function configureAstroDeployAdapter(cwd, adapter, dryRun = false) {
931
+ if (!await fileExists$11(join(cwd, "astro.config.mjs"))) return [];
932
+ return [...await configureAstroConfig(cwd, adapter, dryRun), ...await configurePackage(cwd, adapter, dryRun)];
933
+ }
934
+
834
935
  //#endregion
835
936
  //#region src/cli/commands/deploy/utils/dockerfile.ts
836
937
  const NODE_START_COMMAND = "node ./dist/server/entry.mjs";
@@ -947,7 +1048,11 @@ const dockerTarget = {
947
1048
  description: "Generate Docker deployment files without running Docker locally.",
948
1049
  supportLevel: "stable",
949
1050
  async generateConfig(cwd, options) {
950
- const files = [await writeGeneratedFile$2(cwd, "Dockerfile", generateDockerfile(), options.dryRun), await writeGeneratedFile$2(cwd, ".dockerignore", generateDockerignore(), options.dryRun)];
1051
+ const files = [
1052
+ ...await configureAstroDeployAdapter(cwd, "node", options.dryRun),
1053
+ await writeGeneratedFile$2(cwd, "Dockerfile", generateDockerfile(), options.dryRun),
1054
+ await writeGeneratedFile$2(cwd, ".dockerignore", generateDockerignore(), options.dryRun)
1055
+ ];
951
1056
  if (options.compose) files.push(await writeGeneratedFile$2(cwd, "docker-compose.yml", generateDockerCompose(), options.dryRun));
952
1057
  return files;
953
1058
  },
@@ -1189,6 +1294,7 @@ const flyTarget = {
1189
1294
  },
1190
1295
  async generateConfig(cwd, options) {
1191
1296
  return [
1297
+ ...await configureAstroDeployAdapter(cwd, "node", options.dryRun),
1192
1298
  await writeGeneratedFile$1(cwd, "Dockerfile", generateDockerfile(), options.dryRun),
1193
1299
  await writeGeneratedFile$1(cwd, ".dockerignore", generateDockerignore(), options.dryRun),
1194
1300
  await writeGeneratedFile$1(cwd, "fly.toml", generateFlyToml(await defaultFlyAppName(cwd)), options.dryRun)
@@ -2179,8 +2285,8 @@ const forgewayTarget = {
2179
2285
  recommended: true,
2180
2286
  remoteBuild: true,
2181
2287
  supportLevel: "stable",
2182
- async generateConfig(_cwd, _options) {
2183
- return [];
2288
+ async generateConfig(cwd, options) {
2289
+ return await configureAstroDeployAdapter(cwd, "vercel", options.dryRun);
2184
2290
  },
2185
2291
  async deploy(cwd, options) {
2186
2292
  return await deployForgeway(cwd, options);
@@ -2342,7 +2448,7 @@ const gcpTarget = {
2342
2448
  throw new Error("No active Google Cloud project. Run: gcloud config set project PROJECT_ID");
2343
2449
  },
2344
2450
  async generateConfig(cwd, options) {
2345
- return [await writeGeneratedFile(cwd, ".gcloudignore", GCLOUDIGNORE, options.dryRun)];
2451
+ return [...await configureAstroDeployAdapter(cwd, "node", options.dryRun), await writeGeneratedFile(cwd, ".gcloudignore", GCLOUDIGNORE, options.dryRun)];
2346
2452
  },
2347
2453
  async deploy(cwd, options) {
2348
2454
  const service = await resolveServiceName(cwd, options.env);
@@ -2468,7 +2574,6 @@ const railwayTarget = {
2468
2574
  name: "railway",
2469
2575
  label: "Railway",
2470
2576
  description: "Deploy a standard Dineway Node server with Railway CLI.",
2471
- recommended: true,
2472
2577
  supportLevel: "stable",
2473
2578
  cli: {
2474
2579
  npmPackage: "@railway/cli",
@@ -2519,8 +2624,9 @@ const railwayTarget = {
2519
2624
  });
2520
2625
  },
2521
2626
  async generateConfig(cwd, options) {
2627
+ const generated = await configureAstroDeployAdapter(cwd, "node", options.dryRun);
2522
2628
  const railwayPath = join(cwd, "railway.json");
2523
- if (await fileExists$5(railwayPath)) return [{
2629
+ if (await fileExists$5(railwayPath)) return [...generated, {
2524
2630
  path: "railway.json",
2525
2631
  action: "exists"
2526
2632
  }];
@@ -2537,12 +2643,12 @@ const railwayTarget = {
2537
2643
  restartPolicyType: "ON_FAILURE"
2538
2644
  }
2539
2645
  };
2540
- if (options.dryRun) return [{
2646
+ if (options.dryRun) return [...generated, {
2541
2647
  path: "railway.json",
2542
2648
  action: "skipped"
2543
2649
  }];
2544
2650
  await writeFile(railwayPath, JSON.stringify(config, null, " ") + "\n", "utf-8");
2545
- return [{
2651
+ return [...generated, {
2546
2652
  path: "railway.json",
2547
2653
  action: "created"
2548
2654
  }];
@@ -2744,6 +2850,7 @@ const deployCommand = defineCommand({
2744
2850
  const generated = await target.generateConfig(cwd, options);
2745
2851
  for (const file of generated) {
2746
2852
  if (file.action === "created") consola.success(`Created ${file.path}`);
2853
+ if (file.action === "updated") consola.success(`Updated ${file.path}`);
2747
2854
  if (file.action === "exists") consola.info(`${file.path} already exists`);
2748
2855
  if (file.action === "skipped") consola.info(`[dry-run] Would create ${file.path}`);
2749
2856
  }
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-JKduSkBr.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-CsNsY79D.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-JKduSkBr.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-JKduSkBr.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-JKduSkBr.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.24";
3
+ const COMMIT = "06ac2c8d";
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.24",
4
4
  "description": "Agentic Website builder for restaurants — structured content meets AI via the Model Context Protocol",
5
5
  "type": "module",
6
6
  "publishConfig": {
@@ -344,8 +344,8 @@
344
344
  "upng-js": "^2.1.0",
345
345
  "zod": "^4.4.1",
346
346
  "@dineway-ai/admin": "^0.1.13",
347
- "@dineway-ai/gutenberg-to-portable-text": "^0.1.13",
348
- "@dineway-ai/auth": "^0.1.14"
347
+ "@dineway-ai/auth": "^0.1.14",
348
+ "@dineway-ai/gutenberg-to-portable-text": "^0.1.13"
349
349
  },
350
350
  "optionalDependencies": {
351
351
  "@aws-sdk/client-s3": "^3.1049.0",
@@ -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 };