dineway 0.1.13 → 0.1.15
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.
- package/dist/{api-Lyjc8wqZ.mjs → api-DX6X_a82.mjs} +1 -1
- package/dist/astro/index.mjs +1 -1
- package/dist/astro/middleware.mjs +2 -2
- package/dist/astro/routes/api/admin/plugins/_id_/disable.mjs +1 -1
- package/dist/astro/routes/api/admin/plugins/_id_/enable.mjs +1 -1
- package/dist/astro/routes/api/admin/plugins/_id_/index.mjs +1 -1
- package/dist/astro/routes/api/admin/plugins/_id_/uninstall.mjs +1 -1
- package/dist/astro/routes/api/admin/plugins/_id_/update.mjs +1 -1
- package/dist/astro/routes/api/admin/plugins/index.mjs +1 -1
- package/dist/astro/routes/api/admin/plugins/marketplace/_id_/index.mjs +1 -1
- package/dist/astro/routes/api/admin/plugins/marketplace/_id_/install.mjs +1 -1
- package/dist/astro/routes/api/admin/plugins/marketplace/index.mjs +1 -1
- package/dist/astro/routes/api/admin/plugins/updates.mjs +1 -1
- package/dist/astro/routes/api/admin/themes/marketplace/_id_/index.mjs +1 -1
- package/dist/astro/routes/api/admin/themes/marketplace/index.mjs +1 -1
- package/dist/astro/routes/api/health.mjs +1 -1
- package/dist/astro/routes/api/manifest.mjs +1 -1
- package/dist/astro/routes/api/mcp.mjs +1 -1
- package/dist/astro/routes/api/openapi.json.mjs +1 -1
- package/dist/astro/routes/api/schema/collections/_slug_/fields/_fieldSlug_.mjs +1 -1
- package/dist/astro/routes/api/schema/collections/_slug_/fields/index.mjs +1 -1
- package/dist/astro/routes/api/schema/collections/_slug_/fields/reorder.mjs +1 -1
- package/dist/astro/routes/api/schema/collections/_slug_/index.mjs +1 -1
- package/dist/astro/routes/api/schema/collections/index.mjs +1 -1
- package/dist/astro/routes/api/schema/orphans/_slug_.mjs +1 -1
- package/dist/astro/routes/api/schema/orphans/index.mjs +1 -1
- package/dist/astro/routes/api/well-known/auth.mjs +1 -1
- package/dist/cli/index.mjs +50 -12
- package/dist/index.mjs +1 -1
- package/dist/version-DzWaHle7.mjs +6 -0
- package/package.json +1 -1
- package/dist/version-C5JkNvmb.mjs +0 -6
|
@@ -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-
|
|
16
|
+
import { n as VERSION, t as COMMIT } from "./version-DzWaHle7.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";
|
package/dist/astro/index.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as VERSION, t as COMMIT } from "../version-
|
|
1
|
+
import { n as VERSION, t as COMMIT } from "../version-DzWaHle7.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";
|
|
@@ -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-
|
|
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-DX6X_a82.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-
|
|
38
|
+
import { n as VERSION, t as COMMIT } from "../version-DzWaHle7.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-
|
|
16
|
+
import "../../../../../../api-DX6X_a82.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-
|
|
16
|
+
import "../../../../../../api-DX6X_a82.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-
|
|
15
|
+
import "../../../../../../api-DX6X_a82.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-
|
|
16
|
+
import { a as handleMarketplaceUninstall } from "../../../../../../api-DX6X_a82.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-
|
|
16
|
+
import { c as handleMarketplaceUpdatePreview, o as handleMarketplaceUpdate } from "../../../../../../api-DX6X_a82.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-
|
|
15
|
+
import "../../../../../api-DX6X_a82.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-
|
|
15
|
+
import { t as handleMarketplaceGetPlugin } from "../../../../../../../api-DX6X_a82.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-
|
|
16
|
+
import { n as handleMarketplaceInstall, r as handleMarketplaceInstallPreview } from "../../../../../../../api-DX6X_a82.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-
|
|
15
|
+
import { i as handleMarketplaceSearch } from "../../../../../../api-DX6X_a82.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-
|
|
15
|
+
import { s as handleMarketplaceUpdateCheck } from "../../../../../api-DX6X_a82.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-
|
|
15
|
+
import { l as handleThemeGetDetail } from "../../../../../../../api-DX6X_a82.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-
|
|
15
|
+
import { u as handleThemeSearch } from "../../../../../../api-DX6X_a82.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, t as COMMIT } from "../../../version-
|
|
1
|
+
import { n as VERSION, t as COMMIT } from "../../../version-DzWaHle7.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-
|
|
17
|
+
import { n as VERSION } from "../../../version-DzWaHle7.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-
|
|
1
|
+
import { n as VERSION } from "../../../version-DzWaHle7.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-
|
|
15
|
+
import { b as handleSchemaFieldDelete, w as handleSchemaFieldUpdate, x as handleSchemaFieldGet } from "../../../../../../../api-DX6X_a82.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-
|
|
15
|
+
import { S as handleSchemaFieldList, y as handleSchemaFieldCreate } from "../../../../../../../api-DX6X_a82.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-
|
|
15
|
+
import { C as handleSchemaFieldReorder } from "../../../../../../../api-DX6X_a82.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-
|
|
15
|
+
import { g as handleSchemaCollectionGet, h as handleSchemaCollectionDelete, v as handleSchemaCollectionUpdate } from "../../../../../../api-DX6X_a82.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-
|
|
15
|
+
import { _ as handleSchemaCollectionList, m as handleSchemaCollectionCreate } from "../../../../../api-DX6X_a82.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-
|
|
15
|
+
import { p as handleOrphanedTableRegister } from "../../../../../api-DX6X_a82.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-
|
|
15
|
+
import { f as handleOrphanedTableList } from "../../../../../api-DX6X_a82.mjs";
|
|
16
16
|
import "../../../../../dashboard-DqnYU8EU.mjs";
|
|
17
17
|
import "../../../../../briefing-MVYe_Uyf.mjs";
|
|
18
18
|
import "../../../../../context-types-C-LwdAxx.mjs";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as OptionsRepository } from "../../../../options-z8VVg1Ll.mjs";
|
|
2
|
-
import { n as VERSION } from "../../../../version-
|
|
2
|
+
import { n as VERSION } from "../../../../version-DzWaHle7.mjs";
|
|
3
3
|
import { t as getAuthMode } from "../../../../mode-DUhxwUhv.mjs";
|
|
4
4
|
|
|
5
5
|
//#region src/astro/routes/api/well-known/auth.ts
|
package/dist/cli/index.mjs
CHANGED
|
@@ -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$
|
|
1011
|
-
const EDGE_HYPHENS_RE$
|
|
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$
|
|
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$
|
|
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$
|
|
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,10 @@ 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;
|
|
1451
|
+
const RAILWAY_BUILDER = "RAILPACK";
|
|
1448
1452
|
async function fileExists$5(path) {
|
|
1449
1453
|
try {
|
|
1450
1454
|
await access(path);
|
|
@@ -1470,6 +1474,19 @@ function findUrl(value) {
|
|
|
1470
1474
|
if (found) return found;
|
|
1471
1475
|
}
|
|
1472
1476
|
}
|
|
1477
|
+
async function readPackageName(cwd) {
|
|
1478
|
+
try {
|
|
1479
|
+
return JSON.parse(await readFile(join(cwd, "package.json"), "utf-8")).name;
|
|
1480
|
+
} catch {
|
|
1481
|
+
return;
|
|
1482
|
+
}
|
|
1483
|
+
}
|
|
1484
|
+
function normalizeRailwayProjectName(name) {
|
|
1485
|
+
return (name?.split("/").at(-1) ?? "dineway-app").toLowerCase().replace(INVALID_RAILWAY_PROJECT_CHARS_RE, "-").replace(REPEATED_HYPHENS_RE, "-").replace(EDGE_HYPHENS_RE, "") || "dineway-app";
|
|
1486
|
+
}
|
|
1487
|
+
async function defaultRailwayProjectName(cwd) {
|
|
1488
|
+
return normalizeRailwayProjectName(await readPackageName(cwd) ?? basename(cwd));
|
|
1489
|
+
}
|
|
1473
1490
|
const railwayTarget = {
|
|
1474
1491
|
name: "railway",
|
|
1475
1492
|
label: "Railway",
|
|
@@ -1498,7 +1515,28 @@ const railwayTarget = {
|
|
|
1498
1515
|
return (await runCommand$1("railway", ["status"], { cwd })).code === 0;
|
|
1499
1516
|
},
|
|
1500
1517
|
async link(cwd) {
|
|
1501
|
-
await
|
|
1518
|
+
const name = await defaultRailwayProjectName(cwd);
|
|
1519
|
+
await runCommandOrThrow("railway", [
|
|
1520
|
+
"init",
|
|
1521
|
+
"--name",
|
|
1522
|
+
name
|
|
1523
|
+
], {
|
|
1524
|
+
cwd,
|
|
1525
|
+
stdio: "inherit"
|
|
1526
|
+
});
|
|
1527
|
+
await runCommandOrThrow("railway", [
|
|
1528
|
+
"add",
|
|
1529
|
+
"--service",
|
|
1530
|
+
name
|
|
1531
|
+
], {
|
|
1532
|
+
cwd,
|
|
1533
|
+
stdio: "inherit"
|
|
1534
|
+
});
|
|
1535
|
+
await runCommandOrThrow("railway", [
|
|
1536
|
+
"service",
|
|
1537
|
+
"link",
|
|
1538
|
+
name
|
|
1539
|
+
], {
|
|
1502
1540
|
cwd,
|
|
1503
1541
|
stdio: "inherit"
|
|
1504
1542
|
});
|
|
@@ -1512,7 +1550,7 @@ const railwayTarget = {
|
|
|
1512
1550
|
const config = {
|
|
1513
1551
|
$schema: "https://railway.app/railway.schema.json",
|
|
1514
1552
|
build: {
|
|
1515
|
-
builder:
|
|
1553
|
+
builder: RAILWAY_BUILDER,
|
|
1516
1554
|
buildCommand: (await detectBuildCommand(cwd)).display
|
|
1517
1555
|
},
|
|
1518
1556
|
deploy: {
|
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-
|
|
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-DX6X_a82.mjs";
|
|
26
26
|
import "./dashboard-DqnYU8EU.mjs";
|
|
27
27
|
import "./briefing-MVYe_Uyf.mjs";
|
|
28
28
|
import "./context-types-C-LwdAxx.mjs";
|
package/package.json
CHANGED