dineway 0.1.12 → 0.1.14

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 (49) hide show
  1. package/dist/api/route-utils.d.mts +2 -2
  2. package/dist/api/route-utils.mjs +1 -1
  3. package/dist/api/schemas/index.d.mts +1 -1
  4. package/dist/{api-BR7Y0GBo.mjs → api-BTbpzvBq.mjs} +1 -1
  5. package/dist/astro/index.d.mts +2 -2
  6. package/dist/astro/index.mjs +1 -1
  7. package/dist/astro/middleware/auth.d.mts +2 -2
  8. package/dist/astro/middleware.mjs +2 -2
  9. package/dist/astro/routes/api/admin/plugins/_id_/disable.mjs +1 -1
  10. package/dist/astro/routes/api/admin/plugins/_id_/enable.mjs +1 -1
  11. package/dist/astro/routes/api/admin/plugins/_id_/index.mjs +1 -1
  12. package/dist/astro/routes/api/admin/plugins/_id_/uninstall.mjs +1 -1
  13. package/dist/astro/routes/api/admin/plugins/_id_/update.mjs +1 -1
  14. package/dist/astro/routes/api/admin/plugins/index.mjs +1 -1
  15. package/dist/astro/routes/api/admin/plugins/marketplace/_id_/index.mjs +1 -1
  16. package/dist/astro/routes/api/admin/plugins/marketplace/_id_/install.mjs +1 -1
  17. package/dist/astro/routes/api/admin/plugins/marketplace/index.mjs +1 -1
  18. package/dist/astro/routes/api/admin/plugins/updates.mjs +1 -1
  19. package/dist/astro/routes/api/admin/themes/marketplace/_id_/index.mjs +1 -1
  20. package/dist/astro/routes/api/admin/themes/marketplace/index.mjs +1 -1
  21. package/dist/astro/routes/api/health.mjs +1 -1
  22. package/dist/astro/routes/api/manifest.mjs +1 -1
  23. package/dist/astro/routes/api/mcp.mjs +1 -1
  24. package/dist/astro/routes/api/openapi.json.mjs +1 -1
  25. package/dist/astro/routes/api/schema/collections/_slug_/fields/_fieldSlug_.mjs +1 -1
  26. package/dist/astro/routes/api/schema/collections/_slug_/fields/index.mjs +1 -1
  27. package/dist/astro/routes/api/schema/collections/_slug_/fields/reorder.mjs +1 -1
  28. package/dist/astro/routes/api/schema/collections/_slug_/index.mjs +1 -1
  29. package/dist/astro/routes/api/schema/collections/index.mjs +1 -1
  30. package/dist/astro/routes/api/schema/orphans/_slug_.mjs +1 -1
  31. package/dist/astro/routes/api/schema/orphans/index.mjs +1 -1
  32. package/dist/astro/routes/api/setup/admin-verify.mjs +1 -1
  33. package/dist/astro/routes/api/well-known/auth.mjs +1 -1
  34. package/dist/astro/types.d.mts +2 -2
  35. package/dist/{bylines-eVVCuOe4.d.mts → bylines-DxXzWML_.d.mts} +14 -14
  36. package/dist/cli/index.mjs +32 -12
  37. package/dist/client/index.mjs +1 -1
  38. package/dist/index.d.mts +2 -2
  39. package/dist/index.mjs +1 -1
  40. package/dist/media/local-runtime.d.mts +2 -2
  41. package/dist/plugins/adapt-sandbox-entry.d.mts +2 -2
  42. package/dist/{runtime-Db4LbNVZ.d.mts → runtime-QuuFSlc6.d.mts} +1 -1
  43. package/dist/runtime.d.mts +2 -2
  44. package/dist/version-B3z9Tv-J.mjs +6 -0
  45. package/package.json +5 -5
  46. package/src/components/InlinePortableTextEditor.tsx +1 -2
  47. package/dist/version-D3vDb22n.mjs +0 -6
  48. /package/dist/{setup-complete-ChilE-da.mjs → setup-complete-BlcGZRYm.mjs} +0 -0
  49. /package/dist/{transport-D3i4yWRE.mjs → transport-CSyZ02_i.mjs} +0 -0
@@ -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-Db4LbNVZ.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-QuuFSlc6.mjs";
2
2
  import { t as Database } from "../types-DZPw8Rru.mjs";
3
3
  import { at as StorageCollectionConfig, it as StorageCollection } from "../types-Q616b2Hn.mjs";
4
4
  import "../types-BFmjniC2.mjs";
5
5
  import "../runner-BU6Lo1ZS.mjs";
6
6
  import "../index-EUAWaIxW.mjs";
7
7
  import "../index-CYfhYgXd.mjs";
8
- import "../bylines-eVVCuOe4.mjs";
8
+ import "../bylines-DxXzWML_.mjs";
9
9
  import "../types-0Vr68fc2.mjs";
10
10
  import "../validate-BwmQEbu8.mjs";
11
11
  import { Kysely } from "kysely";
@@ -12,7 +12,7 @@ import { i as parseQuery, n as parseBody, t as isParseError } from "../parse-C91
12
12
  import "../ssrf-DDwRxF6B.mjs";
13
13
  import "../cron-CKxvBrRT.mjs";
14
14
  import { n as getPublicOrigin } from "../public-url-Cun8N3NU.mjs";
15
- import { t as finalizeSetup } from "../setup-complete-ChilE-da.mjs";
15
+ import { t as finalizeSetup } from "../setup-complete-BlcGZRYm.mjs";
16
16
 
17
17
  //#region src/api/auth-storage.ts
18
18
  /**
@@ -1,3 +1,3 @@
1
- import { $ as updateSectionBody, $n as httpUrl, $t as publicCommentSchema, A as userDetailSchema, An as contentCompareResponseSchema, At as passkeyVerifyBody, B as wpRewriteUrlsBody, Bn as contentSeoSchema, Bt as contextEntryListQuery, C as updateWidgetBody, Cn as mediaListQuery, Ct as inviteCreateBody, D as widgetSchema, Dn as mediaUpdateBody, Dt as passkeyRegisterOptionsBody, E as widgetAreaWithWidgetsSchema, En as mediaResponseSchema, Et as passkeyOptionsBody, F as importProbeBody, Fn as contentPreviewUrlBody, Ft as hitlRequestListQuery, G as searchResultSchema, Gn as contentUpdateBody, Gt as commentBulkBody, H as searchQuery, Hn as contentTranslationSchema, Ht as contextEntryStaleQuery, I as wpMediaImportBody, In as contentPublishBody, It as hitlRequestResolveBody, J as siteSettingsSchema, Jn as VALID_ROLE_LEVELS, Jt as commentListQuery, K as searchSuggestQuery, Kn as trashedContentItemSchema, Kt as commentBulkResponseSchema, L as wpPluginAnalyzeBody, Ln as contentResponseSchema, Lt as siteBriefingQuery, M as userSchema, Mn as contentItemSchema, Mt as signupRequestBody, N as userUpdateBody, Nn as contentListQuery, Nt as reviewRequestListQuery, O as allowedDomainCreateBody, On as mediaUploadUrlBody, Ot as passkeyRegisterVerifyBody, P as usersListQuery, Pn as contentListResponseSchema, Pt as reviewRequestResolveBody, Q as sectionsListQuery, Qn as deleteResponseSchema, Qt as publicCommentListResponseSchema, R as wpPluginExecuteBody, Rn as contentScheduleBody, Rt as contextEntryCreateBody, S as reorderWidgetsBody, Sn as mediaItemSchema, St as inviteCompleteBody, T as widgetAreaWithWidgetsAndCountSchema, Tn as mediaProviderListQuery, Tt as magicLinkSendBody, U as searchRebuildBody, Un as contentTranslationsResponseSchema, Ut as contextEntrySupersedeBody, V as searchEnableBody, Vn as contentTermsBody, Vt as contextEntryReviewBody, W as searchResponseSchema, Wn as contentTrashQuery, Wt as adminCommentListResponseSchema, X as sectionListResponseSchema, Xn as countResponseSchema, Xt as commentStatusBody, Y as createSectionBody, Yn as apiErrorSchema, Yt as commentSchema, Z as sectionSchema, Zn as cursorPaginationQuery, Zt as createCommentBody, _ as redirectSchema, _n as DEFAULT_MAX_UPLOAD_SIZE, _t as menuWithItemsSchema, a as bylineUpdateBody, an as createCollectionBody, at as termListResponseSchema, b as createWidgetAreaBody, bn as mediaConfirmResponseSchema, bt as updateMenuItemBody, c as createRedirectBody, cn as fieldReorderBody, ct as termWithCountSchema, d as notFoundListResponseSchema, dn as orphanRegisterBody, dt as createMenuItemBody, en as collectionGetQuery, er as localeCode, et as createTaxonomyDefBody, f as notFoundPruneBody, fn as orphanedTableListResponseSchema, ft as menuItemDeleteQuery, g as redirectListResponseSchema, gn as updateFieldBody, gt as menuSchema, h as notFoundSummarySchema, hn as updateCollectionBody, ht as menuListItemSchema, i as bylineSummarySchema, in as collectionWithFieldsResponseSchema, ir as successEnvelope, it as termGetResponseSchema, j as userListResponseSchema, jn as contentCreateBody, jt as signupCompleteBody, k as allowedDomainUpdateBody, kn as mediaUploadUrlResponseSchema, kt as passkeyRenameBody, l as notFoundEntrySchema, ln as fieldResponseSchema, lt as updateTermBody, m as notFoundSummaryResponseSchema, mn as schemaExportQuery, mt as menuItemUpdateQuery, n as bylineCreditSchema, nn as collectionResponseSchema, nr as roleLevel, nt as taxonomyDefSchema, o as bylinesListQuery, on as createFieldBody, ot as termResponseSchema, p as notFoundSummaryQuery, pn as orphanedTableSchema, pt as menuItemSchema, q as settingsUpdateBody, qn as trashedContentListResponseSchema, qt as commentCountsResponseSchema, r as bylineListResponseSchema, rn as collectionSchema, rr as slugPattern, rt as taxonomyListResponseSchema, s as contentBylineInputSchema, sn as fieldListResponseSchema, st as termSchema, t as bylineCreateBody, tn as collectionListResponseSchema, tr as offsetPaginationQuery, tt as createTermBody, u as notFoundListQuery, un as fieldSchema, ut as createMenuBody, v as redirectsListQuery, vn as formatFileSize, vt as reorderMenuItemsBody, w as widgetAreaSchema, wn as mediaListResponseSchema, wt as inviteRegisterOptionsBody, x as createWidgetBody, xn as mediaExistingResponseSchema, xt as authMeActionBody, y as updateRedirectBody, yn as mediaConfirmBody, yt as updateMenuBody, z as wpPrepareBody, zn as contentSeoInput, zt as contextEntryDiffQuery } from "../../bylines-eVVCuOe4.mjs";
1
+ import { $ as updateSectionBody, $n as httpUrl, $t as publicCommentSchema, A as userDetailSchema, An as contentCompareResponseSchema, At as passkeyVerifyBody, B as wpRewriteUrlsBody, Bn as contentSeoSchema, Bt as contextEntryListQuery, C as updateWidgetBody, Cn as mediaListQuery, Ct as inviteCreateBody, D as widgetSchema, Dn as mediaUpdateBody, Dt as passkeyRegisterOptionsBody, E as widgetAreaWithWidgetsSchema, En as mediaResponseSchema, Et as passkeyOptionsBody, F as importProbeBody, Fn as contentPreviewUrlBody, Ft as hitlRequestListQuery, G as searchResultSchema, Gn as contentUpdateBody, Gt as commentBulkBody, H as searchQuery, Hn as contentTranslationSchema, Ht as contextEntryStaleQuery, I as wpMediaImportBody, In as contentPublishBody, It as hitlRequestResolveBody, J as siteSettingsSchema, Jn as VALID_ROLE_LEVELS, Jt as commentListQuery, K as searchSuggestQuery, Kn as trashedContentItemSchema, Kt as commentBulkResponseSchema, L as wpPluginAnalyzeBody, Ln as contentResponseSchema, Lt as siteBriefingQuery, M as userSchema, Mn as contentItemSchema, Mt as signupRequestBody, N as userUpdateBody, Nn as contentListQuery, Nt as reviewRequestListQuery, O as allowedDomainCreateBody, On as mediaUploadUrlBody, Ot as passkeyRegisterVerifyBody, P as usersListQuery, Pn as contentListResponseSchema, Pt as reviewRequestResolveBody, Q as sectionsListQuery, Qn as deleteResponseSchema, Qt as publicCommentListResponseSchema, R as wpPluginExecuteBody, Rn as contentScheduleBody, Rt as contextEntryCreateBody, S as reorderWidgetsBody, Sn as mediaItemSchema, St as inviteCompleteBody, T as widgetAreaWithWidgetsAndCountSchema, Tn as mediaProviderListQuery, Tt as magicLinkSendBody, U as searchRebuildBody, Un as contentTranslationsResponseSchema, Ut as contextEntrySupersedeBody, V as searchEnableBody, Vn as contentTermsBody, Vt as contextEntryReviewBody, W as searchResponseSchema, Wn as contentTrashQuery, Wt as adminCommentListResponseSchema, X as sectionListResponseSchema, Xn as countResponseSchema, Xt as commentStatusBody, Y as createSectionBody, Yn as apiErrorSchema, Yt as commentSchema, Z as sectionSchema, Zn as cursorPaginationQuery, Zt as createCommentBody, _ as redirectSchema, _n as DEFAULT_MAX_UPLOAD_SIZE, _t as menuWithItemsSchema, a as bylineUpdateBody, an as createCollectionBody, at as termListResponseSchema, b as createWidgetAreaBody, bn as mediaConfirmResponseSchema, bt as updateMenuItemBody, c as createRedirectBody, cn as fieldReorderBody, ct as termWithCountSchema, d as notFoundListResponseSchema, dn as orphanRegisterBody, dt as createMenuItemBody, en as collectionGetQuery, er as localeCode, et as createTaxonomyDefBody, f as notFoundPruneBody, fn as orphanedTableListResponseSchema, ft as menuItemDeleteQuery, g as redirectListResponseSchema, gn as updateFieldBody, gt as menuSchema, h as notFoundSummarySchema, hn as updateCollectionBody, ht as menuListItemSchema, i as bylineSummarySchema, in as collectionWithFieldsResponseSchema, ir as successEnvelope, it as termGetResponseSchema, j as userListResponseSchema, jn as contentCreateBody, jt as signupCompleteBody, k as allowedDomainUpdateBody, kn as mediaUploadUrlResponseSchema, kt as passkeyRenameBody, l as notFoundEntrySchema, ln as fieldResponseSchema, lt as updateTermBody, m as notFoundSummaryResponseSchema, mn as schemaExportQuery, mt as menuItemUpdateQuery, n as bylineCreditSchema, nn as collectionResponseSchema, nr as roleLevel, nt as taxonomyDefSchema, o as bylinesListQuery, on as createFieldBody, ot as termResponseSchema, p as notFoundSummaryQuery, pn as orphanedTableSchema, pt as menuItemSchema, q as settingsUpdateBody, qn as trashedContentListResponseSchema, qt as commentCountsResponseSchema, r as bylineListResponseSchema, rn as collectionSchema, rr as slugPattern, rt as taxonomyListResponseSchema, s as contentBylineInputSchema, sn as fieldListResponseSchema, st as termSchema, t as bylineCreateBody, tn as collectionListResponseSchema, tr as offsetPaginationQuery, tt as createTermBody, u as notFoundListQuery, un as fieldSchema, ut as createMenuBody, v as redirectsListQuery, vn as formatFileSize, vt as reorderMenuItemsBody, w as widgetAreaSchema, wn as mediaListResponseSchema, wt as inviteRegisterOptionsBody, x as createWidgetBody, xn as mediaExistingResponseSchema, xt as authMeActionBody, y as updateRedirectBody, yn as mediaConfirmBody, yt as updateMenuBody, z as wpPrepareBody, zn as contentSeoInput, zt as contextEntryDiffQuery } from "../../bylines-DxXzWML_.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, magicLinkSendBody, mediaConfirmBody, mediaConfirmResponseSchema, mediaExistingResponseSchema, mediaItemSchema, mediaListQuery, mediaListResponseSchema, mediaProviderListQuery, mediaResponseSchema, mediaUpdateBody, mediaUploadUrlBody, mediaUploadUrlResponseSchema, menuItemDeleteQuery, menuItemSchema, menuItemUpdateQuery, menuListItemSchema, menuSchema, 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, taxonomyListResponseSchema, termGetResponseSchema, termListResponseSchema, termResponseSchema, termSchema, 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 };
@@ -13,7 +13,7 @@ import { i as invalidateRedirectCache } from "./cache-DEbQ13c9.mjs";
13
13
  import { u as PluginStateRepository } from "./briefing-MVYe_Uyf.mjs";
14
14
  import { n as SchemaRegistry, t as SchemaError } from "./registry-C-_hxLqa.mjs";
15
15
  import { n as hashString } from "./hash-CDX7M0ze.mjs";
16
- import { n as VERSION, t as COMMIT } from "./version-D3vDb22n.mjs";
16
+ import { n as VERSION, t as COMMIT } from "./version-B3z9Tv-J.mjs";
17
17
  import { i as pluginManifestSchema, r as normalizeManifestRoute } from "./manifest-schema-CgFJAp0H.mjs";
18
18
  import { t as DinewayStorageError } from "./types-fAInWQDO.mjs";
19
19
  import { sql } from "kysely";
@@ -1,12 +1,12 @@
1
1
  import { r as ContentItem } from "../types-DJlpx5Ay.mjs";
2
- import { Kn as MediaItem, a as S3StorageConfig, i as LocalStorageConfig, o as StorageDescriptor, r as getStoredConfig, t as DinewayConfig } from "../runtime-Db4LbNVZ.mjs";
2
+ import { Kn as MediaItem, a as S3StorageConfig, i as LocalStorageConfig, o as StorageDescriptor, r as getStoredConfig, t as DinewayConfig } from "../runtime-QuuFSlc6.mjs";
3
3
  import "../types-DZPw8Rru.mjs";
4
4
  import { X as ResolvedPlugin } from "../types-Q616b2Hn.mjs";
5
5
  import "../types-BFmjniC2.mjs";
6
6
  import "../runner-BU6Lo1ZS.mjs";
7
7
  import "../index-EUAWaIxW.mjs";
8
8
  import "../index-CYfhYgXd.mjs";
9
- import "../bylines-eVVCuOe4.mjs";
9
+ import "../bylines-DxXzWML_.mjs";
10
10
  import "../types-0Vr68fc2.mjs";
11
11
  import "../validate-BwmQEbu8.mjs";
12
12
  import { DinewayHandlers, DinewayManifest, ManifestCollection } from "./types.mjs";
@@ -1,4 +1,4 @@
1
- import { n as VERSION, t as COMMIT } from "../version-D3vDb22n.mjs";
1
+ import { n as VERSION, t as COMMIT } from "../version-B3z9Tv-J.mjs";
2
2
  import { t as defaultSeed } from "../default-D4ngTpW8.mjs";
3
3
  import { n as validateAllowedOrigins, r as validateOriginShape } from "../allowed-origins-C1AKK9AT.mjs";
4
4
  import { createRequire } from "node:module";
@@ -1,11 +1,11 @@
1
- import "../../runtime-Db4LbNVZ.mjs";
1
+ import "../../runtime-QuuFSlc6.mjs";
2
2
  import "../../types-DZPw8Rru.mjs";
3
3
  import "../../types-Q616b2Hn.mjs";
4
4
  import "../../types-BFmjniC2.mjs";
5
5
  import "../../runner-BU6Lo1ZS.mjs";
6
6
  import "../../index-EUAWaIxW.mjs";
7
7
  import "../../index-CYfhYgXd.mjs";
8
- import "../../bylines-eVVCuOe4.mjs";
8
+ import "../../bylines-DxXzWML_.mjs";
9
9
  import "../../types-0Vr68fc2.mjs";
10
10
  import "../../validate-BwmQEbu8.mjs";
11
11
  import { DinewayHandlers } from "../types.mjs";
@@ -23,7 +23,7 @@ import { t as normalizeMediaValue } from "../normalize-C49G_o1k.mjs";
23
23
  import "../placeholder-C2P5fKa4.mjs";
24
24
  import "../seo-CUQctrog.mjs";
25
25
  import { i as setI18nConfig } from "../config-CAMFxGaV.mjs";
26
- 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-BR7Y0GBo.mjs";
26
+ 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-BTbpzvBq.mjs";
27
27
  import "../dashboard-DqnYU8EU.mjs";
28
28
  import { u as PluginStateRepository } from "../briefing-MVYe_Uyf.mjs";
29
29
  import "../context-types-C-LwdAxx.mjs";
@@ -35,7 +35,7 @@ import { n as requestCached } from "../request-cache-DHMRr2Lf.mjs";
35
35
  import "../briefing-rty4O-wa.mjs";
36
36
  import "../review-requests-DIyjw-K_.mjs";
37
37
  import { n as hashString } from "../hash-CDX7M0ze.mjs";
38
- import { n as VERSION, t as COMMIT } from "../version-D3vDb22n.mjs";
38
+ import { n as VERSION, t as COMMIT } from "../version-B3z9Tv-J.mjs";
39
39
  import "../query-CsbOywSY.mjs";
40
40
  import "../zod-generator-DBVP8D0P.mjs";
41
41
  import "../schema-BECjUhP8.mjs";
@@ -13,7 +13,7 @@ import "../../../../../../entity-aliases-C0v-yNET.mjs";
13
13
  import "../../../../../../redirect-CGl64yOX.mjs";
14
14
  import "../../../../../../byline-naZxOPSa.mjs";
15
15
  import "../../../../../../seo-CUQctrog.mjs";
16
- import "../../../../../../api-BR7Y0GBo.mjs";
16
+ import "../../../../../../api-BTbpzvBq.mjs";
17
17
  import "../../../../../../dashboard-DqnYU8EU.mjs";
18
18
  import { c as handlePluginGet, o as handlePluginDisable } from "../../../../../../briefing-MVYe_Uyf.mjs";
19
19
  import "../../../../../../context-types-C-LwdAxx.mjs";
@@ -13,7 +13,7 @@ import "../../../../../../entity-aliases-C0v-yNET.mjs";
13
13
  import "../../../../../../redirect-CGl64yOX.mjs";
14
14
  import "../../../../../../byline-naZxOPSa.mjs";
15
15
  import "../../../../../../seo-CUQctrog.mjs";
16
- import "../../../../../../api-BR7Y0GBo.mjs";
16
+ import "../../../../../../api-BTbpzvBq.mjs";
17
17
  import "../../../../../../dashboard-DqnYU8EU.mjs";
18
18
  import { c as handlePluginGet, s as handlePluginEnable } from "../../../../../../briefing-MVYe_Uyf.mjs";
19
19
  import "../../../../../../context-types-C-LwdAxx.mjs";
@@ -12,7 +12,7 @@ import "../../../../../../review-requests-C2DIHwlJ.mjs";
12
12
  import "../../../../../../redirect-CGl64yOX.mjs";
13
13
  import "../../../../../../byline-naZxOPSa.mjs";
14
14
  import "../../../../../../seo-CUQctrog.mjs";
15
- import "../../../../../../api-BR7Y0GBo.mjs";
15
+ import "../../../../../../api-BTbpzvBq.mjs";
16
16
  import "../../../../../../dashboard-DqnYU8EU.mjs";
17
17
  import { c as handlePluginGet } from "../../../../../../briefing-MVYe_Uyf.mjs";
18
18
  import "../../../../../../context-types-C-LwdAxx.mjs";
@@ -13,7 +13,7 @@ import "../../../../../../entity-aliases-C0v-yNET.mjs";
13
13
  import "../../../../../../redirect-CGl64yOX.mjs";
14
14
  import "../../../../../../byline-naZxOPSa.mjs";
15
15
  import "../../../../../../seo-CUQctrog.mjs";
16
- import { a as handleMarketplaceUninstall } from "../../../../../../api-BR7Y0GBo.mjs";
16
+ import { a as handleMarketplaceUninstall } from "../../../../../../api-BTbpzvBq.mjs";
17
17
  import "../../../../../../dashboard-DqnYU8EU.mjs";
18
18
  import { l as handlePluginList } from "../../../../../../briefing-MVYe_Uyf.mjs";
19
19
  import "../../../../../../context-types-C-LwdAxx.mjs";
@@ -13,7 +13,7 @@ import "../../../../../../entity-aliases-C0v-yNET.mjs";
13
13
  import "../../../../../../redirect-CGl64yOX.mjs";
14
14
  import "../../../../../../byline-naZxOPSa.mjs";
15
15
  import "../../../../../../seo-CUQctrog.mjs";
16
- import { c as handleMarketplaceUpdatePreview, o as handleMarketplaceUpdate } from "../../../../../../api-BR7Y0GBo.mjs";
16
+ import { c as handleMarketplaceUpdatePreview, o as handleMarketplaceUpdate } from "../../../../../../api-BTbpzvBq.mjs";
17
17
  import "../../../../../../dashboard-DqnYU8EU.mjs";
18
18
  import "../../../../../../briefing-MVYe_Uyf.mjs";
19
19
  import "../../../../../../context-types-C-LwdAxx.mjs";
@@ -12,7 +12,7 @@ import "../../../../../review-requests-C2DIHwlJ.mjs";
12
12
  import "../../../../../redirect-CGl64yOX.mjs";
13
13
  import "../../../../../byline-naZxOPSa.mjs";
14
14
  import "../../../../../seo-CUQctrog.mjs";
15
- import "../../../../../api-BR7Y0GBo.mjs";
15
+ import "../../../../../api-BTbpzvBq.mjs";
16
16
  import "../../../../../dashboard-DqnYU8EU.mjs";
17
17
  import { l as handlePluginList } from "../../../../../briefing-MVYe_Uyf.mjs";
18
18
  import "../../../../../context-types-C-LwdAxx.mjs";
@@ -12,7 +12,7 @@ import "../../../../../../../review-requests-C2DIHwlJ.mjs";
12
12
  import "../../../../../../../redirect-CGl64yOX.mjs";
13
13
  import "../../../../../../../byline-naZxOPSa.mjs";
14
14
  import "../../../../../../../seo-CUQctrog.mjs";
15
- import { t as handleMarketplaceGetPlugin } from "../../../../../../../api-BR7Y0GBo.mjs";
15
+ import { t as handleMarketplaceGetPlugin } from "../../../../../../../api-BTbpzvBq.mjs";
16
16
  import "../../../../../../../dashboard-DqnYU8EU.mjs";
17
17
  import "../../../../../../../briefing-MVYe_Uyf.mjs";
18
18
  import "../../../../../../../context-types-C-LwdAxx.mjs";
@@ -13,7 +13,7 @@ import "../../../../../../../entity-aliases-C0v-yNET.mjs";
13
13
  import "../../../../../../../redirect-CGl64yOX.mjs";
14
14
  import "../../../../../../../byline-naZxOPSa.mjs";
15
15
  import "../../../../../../../seo-CUQctrog.mjs";
16
- import { n as handleMarketplaceInstall, r as handleMarketplaceInstallPreview } from "../../../../../../../api-BR7Y0GBo.mjs";
16
+ import { n as handleMarketplaceInstall, r as handleMarketplaceInstallPreview } from "../../../../../../../api-BTbpzvBq.mjs";
17
17
  import "../../../../../../../dashboard-DqnYU8EU.mjs";
18
18
  import "../../../../../../../briefing-MVYe_Uyf.mjs";
19
19
  import "../../../../../../../context-types-C-LwdAxx.mjs";
@@ -12,7 +12,7 @@ import "../../../../../../review-requests-C2DIHwlJ.mjs";
12
12
  import "../../../../../../redirect-CGl64yOX.mjs";
13
13
  import "../../../../../../byline-naZxOPSa.mjs";
14
14
  import "../../../../../../seo-CUQctrog.mjs";
15
- import { i as handleMarketplaceSearch } from "../../../../../../api-BR7Y0GBo.mjs";
15
+ import { i as handleMarketplaceSearch } from "../../../../../../api-BTbpzvBq.mjs";
16
16
  import "../../../../../../dashboard-DqnYU8EU.mjs";
17
17
  import "../../../../../../briefing-MVYe_Uyf.mjs";
18
18
  import "../../../../../../context-types-C-LwdAxx.mjs";
@@ -12,7 +12,7 @@ import "../../../../../review-requests-C2DIHwlJ.mjs";
12
12
  import "../../../../../redirect-CGl64yOX.mjs";
13
13
  import "../../../../../byline-naZxOPSa.mjs";
14
14
  import "../../../../../seo-CUQctrog.mjs";
15
- import { s as handleMarketplaceUpdateCheck } from "../../../../../api-BR7Y0GBo.mjs";
15
+ import { s as handleMarketplaceUpdateCheck } from "../../../../../api-BTbpzvBq.mjs";
16
16
  import "../../../../../dashboard-DqnYU8EU.mjs";
17
17
  import "../../../../../briefing-MVYe_Uyf.mjs";
18
18
  import "../../../../../context-types-C-LwdAxx.mjs";
@@ -12,7 +12,7 @@ import "../../../../../../../review-requests-C2DIHwlJ.mjs";
12
12
  import "../../../../../../../redirect-CGl64yOX.mjs";
13
13
  import "../../../../../../../byline-naZxOPSa.mjs";
14
14
  import "../../../../../../../seo-CUQctrog.mjs";
15
- import { l as handleThemeGetDetail } from "../../../../../../../api-BR7Y0GBo.mjs";
15
+ import { l as handleThemeGetDetail } from "../../../../../../../api-BTbpzvBq.mjs";
16
16
  import "../../../../../../../dashboard-DqnYU8EU.mjs";
17
17
  import "../../../../../../../briefing-MVYe_Uyf.mjs";
18
18
  import "../../../../../../../context-types-C-LwdAxx.mjs";
@@ -12,7 +12,7 @@ import "../../../../../../review-requests-C2DIHwlJ.mjs";
12
12
  import "../../../../../../redirect-CGl64yOX.mjs";
13
13
  import "../../../../../../byline-naZxOPSa.mjs";
14
14
  import "../../../../../../seo-CUQctrog.mjs";
15
- import { u as handleThemeSearch } from "../../../../../../api-BR7Y0GBo.mjs";
15
+ import { u as handleThemeSearch } from "../../../../../../api-BTbpzvBq.mjs";
16
16
  import "../../../../../../dashboard-DqnYU8EU.mjs";
17
17
  import "../../../../../../briefing-MVYe_Uyf.mjs";
18
18
  import "../../../../../../context-types-C-LwdAxx.mjs";
@@ -1,4 +1,4 @@
1
- import { n as VERSION } from "../../../version-D3vDb22n.mjs";
1
+ import { n as VERSION } from "../../../version-B3z9Tv-J.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-D3vDb22n.mjs";
1
+ import { n as VERSION, t as COMMIT } from "../../../version-B3z9Tv-J.mjs";
2
2
  import { r as handleError } from "../../../error-BMUPwxgx.mjs";
3
3
  import { t as getAuthMode } from "../../../mode-DUhxwUhv.mjs";
4
4
  import { i as experimentalSiteContextWorkflowsEnabled } from "../../../experimental-workflows-C9X7yblQ.mjs";
@@ -14,7 +14,7 @@ import "../../../registry-C-_hxLqa.mjs";
14
14
  import "../../../loader-PZnPxFLc.mjs";
15
15
  import "../../../settings-DGtLLSaz.mjs";
16
16
  import "../../../request-cache-DHMRr2Lf.mjs";
17
- import { n as VERSION } from "../../../version-D3vDb22n.mjs";
17
+ import { n as VERSION } from "../../../version-B3z9Tv-J.mjs";
18
18
  import "../../../query-CsbOywSY.mjs";
19
19
  import "../../../zod-generator-DBVP8D0P.mjs";
20
20
  import "../../../schema-BECjUhP8.mjs";
@@ -1,4 +1,4 @@
1
- import { n as VERSION } from "../../../version-D3vDb22n.mjs";
1
+ import { n as VERSION } from "../../../version-B3z9Tv-J.mjs";
2
2
  import { r as handleError } from "../../../error-BMUPwxgx.mjs";
3
3
  import { A as searchRebuildBody, At as orphanedTableListResponseSchema, B as updateSectionBody, C as userDetailSchema, Cn as deleteResponseSchema, Ct as createCollectionBody, D as usersListQuery, Dt as fieldResponseSchema, E as userUpdateBody, Et as fieldReorderBody, F as siteSettingsSchema, Ft as DEFAULT_MAX_UPLOAD_SIZE, G as termGetResponseSchema, Gt as mediaUpdateBody, H as createTermBody, Ht as mediaListResponseSchema, I as createSectionBody, Jt as contentCompareResponseSchema, K as termListResponseSchema, Kt as mediaUploadUrlBody, L as sectionListResponseSchema, Lt as mediaConfirmBody, N as searchSuggestQuery, Nt as updateCollectionBody, O as searchEnableBody, P as settingsUpdateBody, Pt as updateFieldBody, Q as createMenuItemBody, Qt as contentListResponseSchema, R as sectionSchema, Rt as mediaConfirmResponseSchema, S as allowedDomainUpdateBody, St as collectionWithFieldsResponseSchema, T as userSchema, Tt as fieldListResponseSchema, Vt as mediaListQuery, W as taxonomyListResponseSchema, Wt as mediaResponseSchema, X as updateTermBody, Xt as contentItemSchema, Yt as contentCreateBody, Z as createMenuBody, Zt as contentListQuery, _ as widgetAreaSchema, a as notFoundPruneBody, an as contentTermsBody, at as reorderMenuItemsBody, b as widgetSchema, bn as apiErrorSchema, bt as collectionResponseSchema, cn as contentTrashQuery, ct as adminCommentListResponseSchema, d as redirectsListQuery, dn as trashedContentListResponseSchema, dt as commentCountsResponseSchema, en as contentPublishBody, et as menuItemSchema, f as updateRedirectBody, ft as commentListQuery, g as updateWidgetBody, gt as publicCommentListResponseSchema, h as reorderWidgetsBody, ht as createCommentBody, i as notFoundListResponseSchema, it as menuWithItemsSchema, j as searchResponseSchema, k as searchQuery, kn as successEnvelope, kt as orphanRegisterBody, l as redirectListResponseSchema, ln as contentUpdateBody, lt as commentBulkBody, m as createWidgetBody, mt as commentStatusBody, nn as contentScheduleBody, nt as menuListItemSchema, ot as updateMenuBody, p as createWidgetAreaBody, pt as commentSchema, q as termResponseSchema, qt as mediaUploadUrlResponseSchema, r as notFoundListQuery, s as notFoundSummaryResponseSchema, sn as contentTranslationsResponseSchema, st as updateMenuItemBody, t as createRedirectBody, tn as contentResponseSchema, u as redirectSchema, ut as commentBulkResponseSchema, v as widgetAreaWithWidgetsAndCountSchema, vt as collectionGetQuery, w as userListResponseSchema, wt as createFieldBody, x as allowedDomainCreateBody, y as widgetAreaWithWidgetsSchema, yt as collectionListResponseSchema, z as sectionsListQuery, zt as mediaExistingResponseSchema } from "../../../redirects-lrlmYXVE.mjs";
4
4
  import { z } from "zod";
@@ -12,7 +12,7 @@ import "../../../../../../../review-requests-C2DIHwlJ.mjs";
12
12
  import "../../../../../../../redirect-CGl64yOX.mjs";
13
13
  import "../../../../../../../byline-naZxOPSa.mjs";
14
14
  import "../../../../../../../seo-CUQctrog.mjs";
15
- import { b as handleSchemaFieldDelete, w as handleSchemaFieldUpdate, x as handleSchemaFieldGet } from "../../../../../../../api-BR7Y0GBo.mjs";
15
+ import { b as handleSchemaFieldDelete, w as handleSchemaFieldUpdate, x as handleSchemaFieldGet } from "../../../../../../../api-BTbpzvBq.mjs";
16
16
  import "../../../../../../../dashboard-DqnYU8EU.mjs";
17
17
  import "../../../../../../../briefing-MVYe_Uyf.mjs";
18
18
  import "../../../../../../../context-types-C-LwdAxx.mjs";
@@ -12,7 +12,7 @@ import "../../../../../../../review-requests-C2DIHwlJ.mjs";
12
12
  import "../../../../../../../redirect-CGl64yOX.mjs";
13
13
  import "../../../../../../../byline-naZxOPSa.mjs";
14
14
  import "../../../../../../../seo-CUQctrog.mjs";
15
- import { S as handleSchemaFieldList, y as handleSchemaFieldCreate } from "../../../../../../../api-BR7Y0GBo.mjs";
15
+ import { S as handleSchemaFieldList, y as handleSchemaFieldCreate } from "../../../../../../../api-BTbpzvBq.mjs";
16
16
  import "../../../../../../../dashboard-DqnYU8EU.mjs";
17
17
  import "../../../../../../../briefing-MVYe_Uyf.mjs";
18
18
  import "../../../../../../../context-types-C-LwdAxx.mjs";
@@ -12,7 +12,7 @@ import "../../../../../../../review-requests-C2DIHwlJ.mjs";
12
12
  import "../../../../../../../redirect-CGl64yOX.mjs";
13
13
  import "../../../../../../../byline-naZxOPSa.mjs";
14
14
  import "../../../../../../../seo-CUQctrog.mjs";
15
- import { C as handleSchemaFieldReorder } from "../../../../../../../api-BR7Y0GBo.mjs";
15
+ import { C as handleSchemaFieldReorder } from "../../../../../../../api-BTbpzvBq.mjs";
16
16
  import "../../../../../../../dashboard-DqnYU8EU.mjs";
17
17
  import "../../../../../../../briefing-MVYe_Uyf.mjs";
18
18
  import "../../../../../../../context-types-C-LwdAxx.mjs";
@@ -12,7 +12,7 @@ import "../../../../../../review-requests-C2DIHwlJ.mjs";
12
12
  import "../../../../../../redirect-CGl64yOX.mjs";
13
13
  import "../../../../../../byline-naZxOPSa.mjs";
14
14
  import "../../../../../../seo-CUQctrog.mjs";
15
- import { g as handleSchemaCollectionGet, h as handleSchemaCollectionDelete, v as handleSchemaCollectionUpdate } from "../../../../../../api-BR7Y0GBo.mjs";
15
+ import { g as handleSchemaCollectionGet, h as handleSchemaCollectionDelete, v as handleSchemaCollectionUpdate } from "../../../../../../api-BTbpzvBq.mjs";
16
16
  import "../../../../../../dashboard-DqnYU8EU.mjs";
17
17
  import "../../../../../../briefing-MVYe_Uyf.mjs";
18
18
  import "../../../../../../context-types-C-LwdAxx.mjs";
@@ -12,7 +12,7 @@ import "../../../../../review-requests-C2DIHwlJ.mjs";
12
12
  import "../../../../../redirect-CGl64yOX.mjs";
13
13
  import "../../../../../byline-naZxOPSa.mjs";
14
14
  import "../../../../../seo-CUQctrog.mjs";
15
- import { _ as handleSchemaCollectionList, m as handleSchemaCollectionCreate } from "../../../../../api-BR7Y0GBo.mjs";
15
+ import { _ as handleSchemaCollectionList, m as handleSchemaCollectionCreate } from "../../../../../api-BTbpzvBq.mjs";
16
16
  import "../../../../../dashboard-DqnYU8EU.mjs";
17
17
  import "../../../../../briefing-MVYe_Uyf.mjs";
18
18
  import "../../../../../context-types-C-LwdAxx.mjs";
@@ -12,7 +12,7 @@ import "../../../../../review-requests-C2DIHwlJ.mjs";
12
12
  import "../../../../../redirect-CGl64yOX.mjs";
13
13
  import "../../../../../byline-naZxOPSa.mjs";
14
14
  import "../../../../../seo-CUQctrog.mjs";
15
- import { p as handleOrphanedTableRegister } from "../../../../../api-BR7Y0GBo.mjs";
15
+ import { p as handleOrphanedTableRegister } from "../../../../../api-BTbpzvBq.mjs";
16
16
  import "../../../../../dashboard-DqnYU8EU.mjs";
17
17
  import "../../../../../briefing-MVYe_Uyf.mjs";
18
18
  import "../../../../../context-types-C-LwdAxx.mjs";
@@ -12,7 +12,7 @@ import "../../../../../review-requests-C2DIHwlJ.mjs";
12
12
  import "../../../../../redirect-CGl64yOX.mjs";
13
13
  import "../../../../../byline-naZxOPSa.mjs";
14
14
  import "../../../../../seo-CUQctrog.mjs";
15
- import { f as handleOrphanedTableList } from "../../../../../api-BR7Y0GBo.mjs";
15
+ import { f as handleOrphanedTableList } from "../../../../../api-BTbpzvBq.mjs";
16
16
  import "../../../../../dashboard-DqnYU8EU.mjs";
17
17
  import "../../../../../briefing-MVYe_Uyf.mjs";
18
18
  import "../../../../../context-types-C-LwdAxx.mjs";
@@ -9,7 +9,7 @@ import "../../../../api/schemas/index.mjs";
9
9
  import { n as getPublicOrigin } from "../../../../public-url-Cun8N3NU.mjs";
10
10
  import { n as validateAllowedOrigins, t as getConfiguredAllowedOrigins } from "../../../../allowed-origins-C1AKK9AT.mjs";
11
11
  import { n as createChallengeStore } from "../../../../challenge-store-DDTbisbf.mjs";
12
- import { t as finalizeSetup } from "../../../../setup-complete-ChilE-da.mjs";
12
+ import { t as finalizeSetup } from "../../../../setup-complete-BlcGZRYm.mjs";
13
13
  import { t as getPasskeyConfig } from "../../../../passkey-config-BRSZx4pW.mjs";
14
14
  import { t as SETUP_NONCE_COOKIE } from "../../../../setup-nonce-BpmLXAuu.mjs";
15
15
  import { createKyselyAdapter } from "@dineway-ai/auth/adapters/kysely";
@@ -1,5 +1,5 @@
1
1
  import { t as OptionsRepository } from "../../../../options-z8VVg1Ll.mjs";
2
- import { n as VERSION } from "../../../../version-D3vDb22n.mjs";
2
+ import { n as VERSION } from "../../../../version-B3z9Tv-J.mjs";
3
3
  import { t as getAuthMode } from "../../../../mode-DUhxwUhv.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-DJlpx5Ay.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-Db4LbNVZ.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-QuuFSlc6.mjs";
3
3
  import { t as Database } from "../types-DZPw8Rru.mjs";
4
4
  import { A as PageMetadataContribution, D as PageFragmentContribution, X as ResolvedPlugin, ct as Element, q as PublicPageContext } from "../types-Q616b2Hn.mjs";
5
5
  import "../types-BFmjniC2.mjs";
@@ -8,7 +8,7 @@ import "../runner-BU6Lo1ZS.mjs";
8
8
  import "../index-EUAWaIxW.mjs";
9
9
  import "../index-CYfhYgXd.mjs";
10
10
  import { d as Storage } from "../types-B7kpsMJ3.mjs";
11
- import "../bylines-eVVCuOe4.mjs";
11
+ import "../bylines-DxXzWML_.mjs";
12
12
  import "../types-0Vr68fc2.mjs";
13
13
  import "../validate-BwmQEbu8.mjs";
14
14
  import "../index.mjs";
@@ -514,11 +514,11 @@ declare const createCollectionBody: z.ZodObject<{
514
514
  description: z.ZodOptional<z.ZodString>;
515
515
  icon: z.ZodOptional<z.ZodString>;
516
516
  supports: z.ZodOptional<z.ZodArray<z.ZodEnum<{
517
- search: "search";
518
517
  drafts: "drafts";
519
518
  revisions: "revisions";
520
519
  preview: "preview";
521
520
  scheduling: "scheduling";
521
+ search: "search";
522
522
  }>>>;
523
523
  source: z.ZodOptional<z.ZodString>;
524
524
  urlPattern: z.ZodOptional<z.ZodString>;
@@ -530,11 +530,11 @@ declare const updateCollectionBody: z.ZodObject<{
530
530
  description: z.ZodOptional<z.ZodString>;
531
531
  icon: z.ZodOptional<z.ZodString>;
532
532
  supports: z.ZodOptional<z.ZodArray<z.ZodEnum<{
533
- search: "search";
534
533
  drafts: "drafts";
535
534
  revisions: "revisions";
536
535
  preview: "preview";
537
536
  scheduling: "scheduling";
537
+ search: "search";
538
538
  }>>>;
539
539
  urlPattern: z.ZodOptional<z.ZodNullable<z.ZodString>>;
540
540
  hasSeo: z.ZodOptional<z.ZodBoolean>;
@@ -555,10 +555,10 @@ declare const createFieldBody: z.ZodObject<{
555
555
  number: "number";
556
556
  boolean: "boolean";
557
557
  file: "file";
558
- slug: "slug";
558
+ image: "image";
559
559
  url: "url";
560
+ slug: "slug";
560
561
  datetime: "datetime";
561
- image: "image";
562
562
  text: "text";
563
563
  integer: "integer";
564
564
  select: "select";
@@ -680,10 +680,10 @@ declare const fieldSchema: z.ZodObject<{
680
680
  number: "number";
681
681
  boolean: "boolean";
682
682
  file: "file";
683
- slug: "slug";
683
+ image: "image";
684
684
  url: "url";
685
+ slug: "slug";
685
686
  datetime: "datetime";
686
- image: "image";
687
687
  text: "text";
688
688
  integer: "integer";
689
689
  select: "select";
@@ -745,10 +745,10 @@ declare const collectionWithFieldsResponseSchema: z.ZodObject<{
745
745
  number: "number";
746
746
  boolean: "boolean";
747
747
  file: "file";
748
- slug: "slug";
748
+ image: "image";
749
749
  url: "url";
750
+ slug: "slug";
750
751
  datetime: "datetime";
751
- image: "image";
752
752
  text: "text";
753
753
  integer: "integer";
754
754
  select: "select";
@@ -799,10 +799,10 @@ declare const fieldResponseSchema: z.ZodObject<{
799
799
  number: "number";
800
800
  boolean: "boolean";
801
801
  file: "file";
802
- slug: "slug";
802
+ image: "image";
803
803
  url: "url";
804
+ slug: "slug";
804
805
  datetime: "datetime";
805
- image: "image";
806
806
  text: "text";
807
807
  integer: "integer";
808
808
  select: "select";
@@ -836,10 +836,10 @@ declare const fieldListResponseSchema: z.ZodObject<{
836
836
  number: "number";
837
837
  boolean: "boolean";
838
838
  file: "file";
839
- slug: "slug";
839
+ image: "image";
840
840
  url: "url";
841
+ slug: "slug";
841
842
  datetime: "datetime";
842
- image: "image";
843
843
  text: "text";
844
844
  integer: "integer";
845
845
  select: "select";
@@ -1015,8 +1015,8 @@ declare const contextEntryListQuery: z.ZodObject<{
1015
1015
  cursor: z.ZodOptional<z.ZodString>;
1016
1016
  }, z.core.$strip>;
1017
1017
  declare const contextEntryStaleQuery: z.ZodObject<{
1018
- limit: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
1019
1018
  cursor: z.ZodOptional<z.ZodString>;
1019
+ limit: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
1020
1020
  includeInherited: z.ZodPipe<z.ZodOptional<z.ZodEnum<{
1021
1021
  true: "true";
1022
1022
  false: "false";
@@ -1447,8 +1447,8 @@ declare const termGetResponseSchema: z.ZodObject<{
1447
1447
  //#region src/api/schemas/sections.d.ts
1448
1448
  declare const sectionsListQuery: z.ZodObject<{
1449
1449
  source: z.ZodOptional<z.ZodEnum<{
1450
- theme: "theme";
1451
1450
  user: "user";
1451
+ theme: "theme";
1452
1452
  import: "import";
1453
1453
  }>>;
1454
1454
  search: z.ZodOptional<z.ZodString>;
@@ -22,7 +22,7 @@ import "../ssrf-DDwRxF6B.mjs";
22
22
  import { t as validateSeed } from "../validate-C7TzfamJ.mjs";
23
23
  import { t as applySeed } from "../apply-Bm5QgdrE.mjs";
24
24
  import { n as fingerprintKey, r as generateEncryptionKey, t as DinewaySecretsError } from "../secrets-CkoJ9zN0.mjs";
25
- import { o as convertDataForRead } from "../transport-D3i4yWRE.mjs";
25
+ import { o as convertDataForRead } from "../transport-CSyZ02_i.mjs";
26
26
  import { createHeaderAwareFetch, customHeadersInterceptor, isRedirectResponse, resolveCustomHeaders } from "../client/external-auth-headers.mjs";
27
27
  import { DinewayClient } from "../client/index.mjs";
28
28
  import { LocalStorage } from "../storage/local.mjs";
@@ -1007,8 +1007,8 @@ async function runCommandOrThrow(command, args, options) {
1007
1007
  const FLY_URL_RE = /https:\/\/[^\s"]+\.fly\.dev[^\s"]*/;
1008
1008
  const FLY_HOST_RE = /\b[a-z0-9][a-z0-9-]*\.fly\.dev\b/;
1009
1009
  const INVALID_FLY_APP_CHARS_RE = /[^a-z0-9-]+/g;
1010
- const REPEATED_HYPHENS_RE$1 = /-+/g;
1011
- const EDGE_HYPHENS_RE$1 = /^-|-$/g;
1010
+ const REPEATED_HYPHENS_RE$2 = /-+/g;
1011
+ const EDGE_HYPHENS_RE$2 = /^-|-$/g;
1012
1012
  const LINE_SPLIT_RE = /\r?\n/;
1013
1013
  const DEFAULT_REGION$1 = "iad";
1014
1014
  const FLY_VOLUME_NAME = "dineway_data";
@@ -1036,7 +1036,7 @@ async function writeGeneratedFile$1(cwd, relativePath, content, dryRun) {
1036
1036
  action: "created"
1037
1037
  };
1038
1038
  }
1039
- async function readPackageName$1(cwd) {
1039
+ async function readPackageName$2(cwd) {
1040
1040
  try {
1041
1041
  return JSON.parse(await readFile(join(cwd, "package.json"), "utf-8")).name;
1042
1042
  } catch {
@@ -1044,10 +1044,10 @@ async function readPackageName$1(cwd) {
1044
1044
  }
1045
1045
  }
1046
1046
  function normalizeFlyAppName(name) {
1047
- return (name?.split("/").at(-1) ?? "dineway-app").toLowerCase().replace(INVALID_FLY_APP_CHARS_RE, "-").replace(REPEATED_HYPHENS_RE$1, "-").replace(EDGE_HYPHENS_RE$1, "") || "dineway-app";
1047
+ return (name?.split("/").at(-1) ?? "dineway-app").toLowerCase().replace(INVALID_FLY_APP_CHARS_RE, "-").replace(REPEATED_HYPHENS_RE$2, "-").replace(EDGE_HYPHENS_RE$2, "") || "dineway-app";
1048
1048
  }
1049
1049
  async function defaultFlyAppName(cwd) {
1050
- return normalizeFlyAppName(await readPackageName$1(cwd));
1050
+ return normalizeFlyAppName(await readPackageName$2(cwd));
1051
1051
  }
1052
1052
  function parseFlyTomlValue(toml, key) {
1053
1053
  return toml.match(new RegExp(`^\\s*${key}\\s*=\\s*"([^"]+)"`, "m"))?.[1];
@@ -1214,8 +1214,8 @@ const flyTarget = {
1214
1214
  //#region src/cli/commands/deploy/targets/gcp.ts
1215
1215
  const CLOUD_RUN_URL_RE = /https:\/\/[^\s"]+\.run\.app[^\s"]*/;
1216
1216
  const INVALID_SERVICE_CHARS_RE = /[^a-z0-9-]+/g;
1217
- const REPEATED_HYPHENS_RE = /-+/g;
1218
- const EDGE_HYPHENS_RE = /^-|-$/g;
1217
+ const REPEATED_HYPHENS_RE$1 = /-+/g;
1218
+ const EDGE_HYPHENS_RE$1 = /^-|-$/g;
1219
1219
  const DEFAULT_REGION = "us-central1";
1220
1220
  const GCLOUDIGNORE = `.env
1221
1221
  .env.*
@@ -1259,7 +1259,7 @@ async function writeGeneratedFile(cwd, relativePath, content, dryRun) {
1259
1259
  action: "created"
1260
1260
  };
1261
1261
  }
1262
- async function readPackageName(cwd) {
1262
+ async function readPackageName$1(cwd) {
1263
1263
  try {
1264
1264
  return JSON.parse(await readFile(join(cwd, "package.json"), "utf-8")).name;
1265
1265
  } catch {
@@ -1267,13 +1267,13 @@ async function readPackageName(cwd) {
1267
1267
  }
1268
1268
  }
1269
1269
  function normalizeCloudRunServiceName(name) {
1270
- return (name?.split("/").at(-1) ?? "dineway").toLowerCase().replace(INVALID_SERVICE_CHARS_RE, "-").replace(REPEATED_HYPHENS_RE, "-").replace(EDGE_HYPHENS_RE, "") || "dineway";
1270
+ return (name?.split("/").at(-1) ?? "dineway").toLowerCase().replace(INVALID_SERVICE_CHARS_RE, "-").replace(REPEATED_HYPHENS_RE$1, "-").replace(EDGE_HYPHENS_RE$1, "") || "dineway";
1271
1271
  }
1272
1272
  function resolveEnvValue(env, key) {
1273
1273
  return env?.[key] ?? process.env[key];
1274
1274
  }
1275
1275
  async function resolveServiceName(cwd, env) {
1276
- return resolveEnvValue(env, "DINEWAY_GCP_SERVICE") || resolveEnvValue(env, "CLOUD_RUN_SERVICE") || normalizeCloudRunServiceName(await readPackageName(cwd));
1276
+ return resolveEnvValue(env, "DINEWAY_GCP_SERVICE") || resolveEnvValue(env, "CLOUD_RUN_SERVICE") || normalizeCloudRunServiceName(await readPackageName$1(cwd));
1277
1277
  }
1278
1278
  function resolveRegion(env) {
1279
1279
  return resolveEnvValue(env, "DINEWAY_GCP_REGION") || resolveEnvValue(env, "GOOGLE_CLOUD_REGION") || resolveEnvValue(env, "CLOUDSDK_RUN_REGION") || DEFAULT_REGION;
@@ -1445,6 +1445,9 @@ async function runBuild(cwd, env) {
1445
1445
  //#region src/cli/commands/deploy/targets/railway.ts
1446
1446
  const NONEMPTY_LINE_RE = /\r?\n/;
1447
1447
  const RAILWAY_URL_RE = /https:\/\/[^\s"]+\.up\.railway\.app[^\s"]*/;
1448
+ const INVALID_RAILWAY_PROJECT_CHARS_RE = /[^a-z0-9-]+/g;
1449
+ const REPEATED_HYPHENS_RE = /-+/g;
1450
+ const EDGE_HYPHENS_RE = /^-|-$/g;
1448
1451
  async function fileExists$5(path) {
1449
1452
  try {
1450
1453
  await access(path);
@@ -1470,6 +1473,19 @@ function findUrl(value) {
1470
1473
  if (found) return found;
1471
1474
  }
1472
1475
  }
1476
+ async function readPackageName(cwd) {
1477
+ try {
1478
+ return JSON.parse(await readFile(join(cwd, "package.json"), "utf-8")).name;
1479
+ } catch {
1480
+ return;
1481
+ }
1482
+ }
1483
+ function normalizeRailwayProjectName(name) {
1484
+ return (name?.split("/").at(-1) ?? "dineway-app").toLowerCase().replace(INVALID_RAILWAY_PROJECT_CHARS_RE, "-").replace(REPEATED_HYPHENS_RE, "-").replace(EDGE_HYPHENS_RE, "") || "dineway-app";
1485
+ }
1486
+ async function defaultRailwayProjectName(cwd) {
1487
+ return normalizeRailwayProjectName(await readPackageName(cwd) ?? basename(cwd));
1488
+ }
1473
1489
  const railwayTarget = {
1474
1490
  name: "railway",
1475
1491
  label: "Railway",
@@ -1498,7 +1514,11 @@ const railwayTarget = {
1498
1514
  return (await runCommand$1("railway", ["status"], { cwd })).code === 0;
1499
1515
  },
1500
1516
  async link(cwd) {
1501
- await runCommandOrThrow("railway", ["link"], {
1517
+ await runCommandOrThrow("railway", [
1518
+ "init",
1519
+ "--name",
1520
+ await defaultRailwayProjectName(cwd)
1521
+ ], {
1502
1522
  cwd,
1503
1523
  stdio: "inherit"
1504
1524
  });
@@ -1,4 +1,4 @@
1
- import { a as tokenInterceptor, c as markdownToPortableText, i as refreshInterceptor, l as portableTextToMarkdown, n as csrfInterceptor, o as convertDataForRead, r as devBypassInterceptor, s as convertDataForWrite, t as createTransport } from "../transport-D3i4yWRE.mjs";
1
+ import { a as tokenInterceptor, c as markdownToPortableText, i as refreshInterceptor, l as portableTextToMarkdown, n as csrfInterceptor, o as convertDataForRead, r as devBypassInterceptor, s as convertDataForWrite, t as createTransport } from "../transport-CSyZ02_i.mjs";
2
2
  import mime from "mime/lite";
3
3
 
4
4
  //#region src/client/index.ts
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-DJlpx5Ay.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-Db4LbNVZ.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-QuuFSlc6.mjs";
3
3
  import { n as MediaTable, r as UserTable, t as Database } from "./types-DZPw8Rru.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-Q616b2Hn.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-C0mmVRJN.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-CYfhYgXd.mjs";
12
12
  import { n as generatePlaceholder, r as normalizeMediaValue, t as PlaceholderData } from "./placeholder-Bh1dfUOd.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-B7kpsMJ3.mjs";
14
- import "./bylines-eVVCuOe4.mjs";
14
+ import "./bylines-DxXzWML_.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-0Vr68fc2.mjs";
package/dist/index.mjs CHANGED
@@ -22,7 +22,7 @@ import { t as normalizeMediaValue } from "./normalize-C49G_o1k.mjs";
22
22
  import { t as generatePlaceholder } from "./placeholder-C2P5fKa4.mjs";
23
23
  import "./seo-CUQctrog.mjs";
24
24
  import { n as getI18nConfig, r as isI18nEnabled, t as getFallbackChain } from "./config-CAMFxGaV.mjs";
25
- import { A as handleRevisionGet, B as handleContentDuplicate, D as handleMediaGet, E as handleMediaDelete, F as handleContentCountScheduled, G as handleContentPermanentDelete, H as handleContentGetIncludingTrashed, I as handleContentCountTrashed, J as handleContentSchedule, K as handleContentPublish, L as handleContentCreate, M as handleRevisionRestore, N as generateManifest, O as handleMediaList, P as handleContentCompare, Q as handleContentUpdate, R as handleContentDelete, T as handleMediaCreate, U as handleContentList, V as handleContentGet, W as handleContentListTrashed, X as handleContentUnpublish, Y as handleContentTranslations, Z as handleContentUnschedule, j as handleRevisionList, k as handleMediaUpdate, q as handleContentRestore, z as handleContentDiscardDraft } from "./api-BR7Y0GBo.mjs";
25
+ import { A as handleRevisionGet, B as handleContentDuplicate, D as handleMediaGet, E as handleMediaDelete, F as handleContentCountScheduled, G as handleContentPermanentDelete, H as handleContentGetIncludingTrashed, I as handleContentCountTrashed, J as handleContentSchedule, K as handleContentPublish, L as handleContentCreate, M as handleRevisionRestore, N as generateManifest, O as handleMediaList, P as handleContentCompare, Q as handleContentUpdate, R as handleContentDelete, T as handleMediaCreate, U as handleContentList, V as handleContentGet, W as handleContentListTrashed, X as handleContentUnpublish, Y as handleContentTranslations, Z as handleContentUnschedule, j as handleRevisionList, k as handleMediaUpdate, q as handleContentRestore, z as handleContentDiscardDraft } from "./api-BTbpzvBq.mjs";
26
26
  import "./dashboard-DqnYU8EU.mjs";
27
27
  import "./briefing-MVYe_Uyf.mjs";
28
28
  import "./context-types-C-LwdAxx.mjs";
@@ -1,4 +1,4 @@
1
- import "../runtime-Db4LbNVZ.mjs";
1
+ import "../runtime-QuuFSlc6.mjs";
2
2
  import { t as Database } from "../types-DZPw8Rru.mjs";
3
3
  import "../types-Q616b2Hn.mjs";
4
4
  import "../types-BFmjniC2.mjs";
@@ -7,7 +7,7 @@ import "../runner-BU6Lo1ZS.mjs";
7
7
  import "../index-EUAWaIxW.mjs";
8
8
  import "../index-CYfhYgXd.mjs";
9
9
  import { d as Storage } from "../types-B7kpsMJ3.mjs";
10
- import "../bylines-eVVCuOe4.mjs";
10
+ import "../bylines-DxXzWML_.mjs";
11
11
  import "../types-0Vr68fc2.mjs";
12
12
  import "../validate-BwmQEbu8.mjs";
13
13
  import "../index.mjs";
@@ -1,11 +1,11 @@
1
- import { n as PluginDescriptor } from "../runtime-Db4LbNVZ.mjs";
1
+ import { n as PluginDescriptor } from "../runtime-QuuFSlc6.mjs";
2
2
  import "../types-DZPw8Rru.mjs";
3
3
  import { X as ResolvedPlugin, tt as StandardPluginDefinition } from "../types-Q616b2Hn.mjs";
4
4
  import "../types-BFmjniC2.mjs";
5
5
  import "../runner-BU6Lo1ZS.mjs";
6
6
  import "../index-EUAWaIxW.mjs";
7
7
  import "../index-CYfhYgXd.mjs";
8
- import "../bylines-eVVCuOe4.mjs";
8
+ import "../bylines-DxXzWML_.mjs";
9
9
  import "../types-0Vr68fc2.mjs";
10
10
  import "../validate-BwmQEbu8.mjs";
11
11
 
@@ -1786,9 +1786,9 @@ declare const pluginManifestSchema: z.ZodObject<{
1786
1786
  number: "number";
1787
1787
  boolean: "boolean";
1788
1788
  file: "file";
1789
+ image: "image";
1789
1790
  slug: "slug";
1790
1791
  datetime: "datetime";
1791
- image: "image";
1792
1792
  text: "text";
1793
1793
  integer: "integer";
1794
1794
  select: "select";
@@ -1,11 +1,11 @@
1
- import { ct as CollectionFilter, dt as dinewayLoader, ft as getDb, lt as EntryData, ut as EntryFilter } from "./runtime-Db4LbNVZ.mjs";
1
+ import { ct as CollectionFilter, dt as dinewayLoader, ft as getDb, lt as EntryData, ut as EntryFilter } from "./runtime-QuuFSlc6.mjs";
2
2
  import "./types-DZPw8Rru.mjs";
3
3
  import "./types-Q616b2Hn.mjs";
4
4
  import "./types-BFmjniC2.mjs";
5
5
  import "./runner-BU6Lo1ZS.mjs";
6
6
  import "./index-EUAWaIxW.mjs";
7
7
  import "./index-CYfhYgXd.mjs";
8
- import "./bylines-eVVCuOe4.mjs";
8
+ import "./bylines-DxXzWML_.mjs";
9
9
  import "./types-0Vr68fc2.mjs";
10
10
  import "./validate-BwmQEbu8.mjs";
11
11
  import { t as getMediaProvider } from "./provider-loader-BiQ6lNmf.mjs";
@@ -0,0 +1,6 @@
1
+ //#region src/version.ts
2
+ const VERSION = "0.1.14";
3
+ const COMMIT = "63a0d06c";
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.12",
3
+ "version": "0.1.14",
4
4
  "description": "Agentic Website builder for restaurants — structured content meets AI via the Model Context Protocol",
5
5
  "type": "module",
6
6
  "publishConfig": {
@@ -341,9 +341,9 @@
341
341
  "ulidx": "^2.4.1",
342
342
  "upng-js": "^2.1.0",
343
343
  "zod": "^4.3.5",
344
- "@dineway-ai/admin": "0.1.9",
345
- "@dineway-ai/auth": "0.1.10",
346
- "@dineway-ai/gutenberg-to-portable-text": "0.1.9"
344
+ "@dineway-ai/admin": "^0.1.10",
345
+ "@dineway-ai/auth": "^0.1.11",
346
+ "@dineway-ai/gutenberg-to-portable-text": "^0.1.10"
347
347
  },
348
348
  "optionalDependencies": {
349
349
  "@libsql/kysely-libsql": "^0.4.0",
@@ -372,7 +372,7 @@
372
372
  "vite": "^6.0.0",
373
373
  "vitest": "^4.0.18",
374
374
  "zod-openapi": "^5.4.6",
375
- "@dineway-ai/blocks": "0.1.9"
375
+ "@dineway-ai/blocks": "^0.1.10"
376
376
  },
377
377
  "keywords": [
378
378
  "astro",
@@ -22,11 +22,10 @@ import { useEditor, EditorContent, type Editor } from "@tiptap/react";
22
22
  import { BubbleMenu } from "@tiptap/react/menus";
23
23
  import StarterKit from "@tiptap/starter-kit";
24
24
  import Suggestion from "@tiptap/suggestion";
25
+ import { computeThumbnailSize } from "dineway/ui/client-runtime";
25
26
  import * as React from "react";
26
27
  import { createPortal } from "react-dom";
27
28
 
28
- import { computeThumbnailSize } from "dineway/ui/client-runtime";
29
-
30
29
  // ── Portable Text types ────────────────────────────────────────────
31
30
 
32
31
  interface PTSpan {
@@ -1,6 +0,0 @@
1
- //#region src/version.ts
2
- const VERSION = "0.1.12";
3
- const COMMIT = "beee4572";
4
-
5
- //#endregion
6
- export { VERSION as n, COMMIT as t };