dineway 0.1.46 → 0.1.47
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/route-utils.d.mts +1 -1
- package/dist/api/route-utils.mjs +1 -1
- package/dist/api/schemas/index.d.mts +1 -1
- package/dist/{api-Bmfii2mH.mjs → api-ePsOhL3q.mjs} +1 -1
- package/dist/astro/index.d.mts +1 -1
- package/dist/astro/index.mjs +2 -2
- package/dist/astro/middleware/auth.d.mts +1 -1
- package/dist/astro/middleware/auth.mjs +1 -1
- package/dist/astro/middleware/request-context.mjs +1 -1
- package/dist/astro/middleware/setup.mjs +1 -1
- package/dist/astro/middleware.mjs +6 -6
- package/dist/astro/routes/api/admin/api-tokens/index.mjs +1 -1
- package/dist/astro/routes/api/admin/context/_id_/history.mjs +2 -2
- package/dist/astro/routes/api/admin/context/_id_/index.mjs +2 -2
- package/dist/astro/routes/api/admin/context/_id_/review.mjs +2 -2
- package/dist/astro/routes/api/admin/context/_id_/supersede.mjs +2 -2
- package/dist/astro/routes/api/admin/context/diff.mjs +2 -2
- package/dist/astro/routes/api/admin/context/index.mjs +2 -2
- package/dist/astro/routes/api/admin/context/stale.mjs +2 -2
- package/dist/astro/routes/api/admin/hitl-requests/_id_/index.mjs +3 -3
- package/dist/astro/routes/api/admin/hitl-requests/_id_/resolve.mjs +3 -3
- package/dist/astro/routes/api/admin/hitl-requests/index.mjs +3 -3
- package/dist/astro/routes/api/admin/hooks/exclusive/_hookName_.mjs +2 -2
- package/dist/astro/routes/api/admin/oauth-clients/_id_.mjs +2 -2
- package/dist/astro/routes/api/admin/oauth-clients/index.mjs +2 -2
- package/dist/astro/routes/api/admin/plugins/_id_/disable.mjs +3 -3
- package/dist/astro/routes/api/admin/plugins/_id_/enable.mjs +3 -3
- package/dist/astro/routes/api/admin/plugins/_id_/index.mjs +1 -1
- package/dist/astro/routes/api/admin/plugins/_id_/uninstall.mjs +3 -3
- package/dist/astro/routes/api/admin/plugins/_id_/update.mjs +3 -3
- 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 +3 -3
- 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/review-requests/_id_/resolve.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/auth/invite/complete.mjs +2 -2
- package/dist/astro/routes/api/auth/invite/register-options.mjs +1 -1
- package/dist/astro/routes/api/auth/mode.mjs +1 -1
- package/dist/astro/routes/api/auth/passkey/options.mjs +1 -1
- package/dist/astro/routes/api/auth/passkey/register/options.mjs +1 -1
- package/dist/astro/routes/api/auth/passkey/register/verify.mjs +2 -2
- package/dist/astro/routes/api/auth/passkey/verify.mjs +2 -2
- package/dist/astro/routes/api/auth/signup/complete.mjs +2 -2
- package/dist/astro/routes/api/comments/_collection_/_contentId_/index.mjs +1 -1
- package/dist/astro/routes/api/content/_collection_/_id_/preview-url.mjs +1 -1
- package/dist/astro/routes/api/health.mjs +1 -1
- package/dist/astro/routes/api/import/wordpress/execute.mjs +2 -2
- package/dist/astro/routes/api/import/wordpress/prepare.mjs +2 -2
- package/dist/astro/routes/api/import/wordpress/rewrite-urls.mjs +2 -2
- package/dist/astro/routes/api/import/wordpress-plugin/execute.mjs +2 -2
- package/dist/astro/routes/api/manifest.mjs +3 -3
- package/dist/astro/routes/api/mcp.mjs +2 -2
- package/dist/astro/routes/api/menus/_name_/items/_id_.mjs +2 -2
- package/dist/astro/routes/api/menus/_name_/items.mjs +2 -2
- package/dist/astro/routes/api/menus/_name_/reorder.mjs +2 -2
- package/dist/astro/routes/api/menus/_name_/translations.mjs +2 -2
- package/dist/astro/routes/api/menus/_name_.mjs +2 -2
- package/dist/astro/routes/api/menus/index.mjs +2 -2
- package/dist/astro/routes/api/oauth/authorize.mjs +3 -3
- package/dist/astro/routes/api/oauth/device/authorize.mjs +2 -2
- package/dist/astro/routes/api/oauth/device/code.mjs +2 -2
- package/dist/astro/routes/api/oauth/device/token.mjs +2 -2
- package/dist/astro/routes/api/oauth/register.mjs +2 -2
- package/dist/astro/routes/api/oauth/token/refresh.mjs +2 -2
- package/dist/astro/routes/api/oauth/token/revoke.mjs +2 -2
- package/dist/astro/routes/api/oauth/token.mjs +3 -3
- package/dist/astro/routes/api/openapi.json.mjs +1 -1
- package/dist/astro/routes/api/redirects/_id_.mjs +2 -2
- package/dist/astro/routes/api/redirects/index.mjs +2 -2
- 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/sections/_slug_.mjs +2 -2
- package/dist/astro/routes/api/sections/index.mjs +2 -2
- package/dist/astro/routes/api/settings.mjs +2 -2
- package/dist/astro/routes/api/setup/admin-verify.mjs +3 -3
- package/dist/astro/routes/api/setup/admin.mjs +1 -1
- package/dist/astro/routes/api/setup/index.mjs +1 -1
- package/dist/astro/routes/api/setup/status.mjs +1 -1
- package/dist/astro/routes/api/snapshot.mjs +1 -1
- package/dist/astro/routes/api/taxonomies/_name_/terms/_slug_/translations.mjs +2 -2
- package/dist/astro/routes/api/taxonomies/_name_/terms/_slug_.mjs +2 -2
- package/dist/astro/routes/api/taxonomies/_name_/terms/index.mjs +2 -2
- package/dist/astro/routes/api/taxonomies/index.mjs +2 -2
- package/dist/astro/routes/api/themes/preview.mjs +1 -1
- package/dist/astro/routes/api/well-known/auth.mjs +2 -2
- package/dist/astro/routes/api/well-known/oauth-authorization-server.mjs +1 -1
- package/dist/astro/routes/api/well-known/oauth-protected-resource.mjs +1 -1
- package/dist/astro/routes/api/widget-areas/_name_/reorder.mjs +2 -2
- package/dist/astro/routes/api/widget-areas/_name_/widgets/_id_.mjs +2 -2
- package/dist/astro/routes/api/widget-areas/_name_/widgets.mjs +2 -2
- package/dist/astro/routes/api/widget-areas/_name_.mjs +2 -2
- package/dist/astro/routes/api/widget-areas/index.mjs +2 -2
- package/dist/astro/types.d.mts +1 -1
- package/dist/{byline-fields-CaF_xfpj.d.mts → byline-fields-Cuo-JI3B.d.mts} +18 -18
- package/dist/cli/index.mjs +36 -2
- package/dist/{context-DRhmPCiE.mjs → context-CdsYb1m8.mjs} +1 -1
- package/dist/{device-flow-BL5ZRlc1.mjs → device-flow-B3_FEoMI.mjs} +2 -2
- package/dist/{hitl-requests-B4Hkt0TO.mjs → hitl-requests-B1Zqgut6.mjs} +2 -2
- package/dist/{hitl-route-helpers-CHjdfQ0s.mjs → hitl-route-helpers-CjpWUMuw.mjs} +2 -2
- package/dist/index.d.mts +1 -1
- package/dist/index.mjs +1 -1
- package/dist/media/local-runtime.d.mts +1 -1
- package/dist/{oauth-authorization-Dk3_LOfj.mjs → oauth-authorization-DsF81vki.mjs} +2 -2
- package/dist/{oauth-clients-CzeMGyUU.mjs → oauth-clients-Du-V0fEm.mjs} +1 -1
- package/dist/plugin-utils.d.mts +1 -1
- package/dist/plugins/adapt-sandbox-entry.d.mts +1 -1
- package/dist/runtime.d.mts +1 -1
- package/dist/{site-context-sN12ehZF.mjs → site-context-c1ZFa_OF.mjs} +1 -1
- package/dist/ui/server-runtime.d.mts +1 -1
- package/dist/version-Cb1tZ6s_.mjs +6 -0
- package/package.json +1 -1
- package/dist/version-Cg6ur4zS.mjs +0 -6
- /package/dist/{allowed-origins-DhipQNLb.mjs → allowed-origins-QirBXiDj.mjs} +0 -0
- /package/dist/{challenge-store-CRSz-Xim.mjs → challenge-store-DFxX0_15.mjs} +0 -0
- /package/dist/{experimental-workflows-Dh4DUoD_.mjs → experimental-workflows-CSMffP6q.mjs} +0 -0
- /package/dist/{mode-CpyEz8pe.mjs → mode-CZqCF9dZ.mjs} +0 -0
- /package/dist/{secrets-CN6FCpcB.mjs → secrets-CPoFLJjm.mjs} +0 -0
- /package/dist/{setup-complete-BytMc6HO.mjs → setup-complete-4EiBS1E5.mjs} +0 -0
|
@@ -4,7 +4,7 @@ import "../../../options-BF11H_FD.mjs";
|
|
|
4
4
|
import { n as apiSuccess, r as handleError, t as apiError } from "../../../error-DCSuUAZW.mjs";
|
|
5
5
|
import { a as verifyPreviewSignature, r as parsePreviewSignatureHeader } from "../../../sidecar-client-mJxwayYN.mjs";
|
|
6
6
|
import { n as getPublicOrigin } from "../../../public-url-DLUM5OOv.mjs";
|
|
7
|
-
import { i as resolveSecretsCached } from "../../../secrets-
|
|
7
|
+
import { i as resolveSecretsCached } from "../../../secrets-CPoFLJjm.mjs";
|
|
8
8
|
import { n as requirePerm } from "../../../authorize-BLO0m7fW.mjs";
|
|
9
9
|
import { sql } from "kysely";
|
|
10
10
|
import { createKyselyAdapter } from "@dineway-ai/auth/adapters/kysely";
|
|
@@ -29,9 +29,9 @@ import "../../../../../../../api/schemas/index.mjs";
|
|
|
29
29
|
import "../../../../../../../utils-wv-zvC-Y.mjs";
|
|
30
30
|
import "../../../../../../../search-BAiFLz81.mjs";
|
|
31
31
|
import { n as requirePerm } from "../../../../../../../authorize-BLO0m7fW.mjs";
|
|
32
|
-
import { _ as RiskPolicyEvaluator, l as TaxonomyHitlPayloadBuilder } from "../../../../../../../site-context-
|
|
32
|
+
import { _ as RiskPolicyEvaluator, l as TaxonomyHitlPayloadBuilder } from "../../../../../../../site-context-c1ZFa_OF.mjs";
|
|
33
33
|
import { C as taxonomyApiRouteSource, m as logTaxonomyActivity } from "../../../../../../../activity-events-CNk3clTT.mjs";
|
|
34
|
-
import { i as resolveHitlRouteActor, n as hitlRequiredRouteError, t as ensureWorkflowHitlRouteRequest } from "../../../../../../../hitl-route-helpers-
|
|
34
|
+
import { i as resolveHitlRouteActor, n as hitlRequiredRouteError, t as ensureWorkflowHitlRouteRequest } from "../../../../../../../hitl-route-helpers-CjpWUMuw.mjs";
|
|
35
35
|
import { z } from "zod";
|
|
36
36
|
|
|
37
37
|
//#region src/astro/routes/api/taxonomies/[name]/terms/[slug]/translations.ts
|
|
@@ -29,9 +29,9 @@ import "../../../../../../api/schemas/index.mjs";
|
|
|
29
29
|
import "../../../../../../utils-wv-zvC-Y.mjs";
|
|
30
30
|
import "../../../../../../search-BAiFLz81.mjs";
|
|
31
31
|
import { n as requirePerm } from "../../../../../../authorize-BLO0m7fW.mjs";
|
|
32
|
-
import { _ as RiskPolicyEvaluator, l as TaxonomyHitlPayloadBuilder } from "../../../../../../site-context-
|
|
32
|
+
import { _ as RiskPolicyEvaluator, l as TaxonomyHitlPayloadBuilder } from "../../../../../../site-context-c1ZFa_OF.mjs";
|
|
33
33
|
import { C as taxonomyApiRouteSource, m as logTaxonomyActivity, t as activityChangedKeys } from "../../../../../../activity-events-CNk3clTT.mjs";
|
|
34
|
-
import { i as resolveHitlRouteActor, n as hitlRequiredRouteError, t as ensureWorkflowHitlRouteRequest } from "../../../../../../hitl-route-helpers-
|
|
34
|
+
import { i as resolveHitlRouteActor, n as hitlRequiredRouteError, t as ensureWorkflowHitlRouteRequest } from "../../../../../../hitl-route-helpers-CjpWUMuw.mjs";
|
|
35
35
|
import { z } from "zod";
|
|
36
36
|
|
|
37
37
|
//#region src/astro/routes/api/taxonomies/[name]/terms/[slug].ts
|
|
@@ -29,9 +29,9 @@ import "../../../../../../api/schemas/index.mjs";
|
|
|
29
29
|
import "../../../../../../utils-wv-zvC-Y.mjs";
|
|
30
30
|
import "../../../../../../search-BAiFLz81.mjs";
|
|
31
31
|
import { n as requirePerm } from "../../../../../../authorize-BLO0m7fW.mjs";
|
|
32
|
-
import { _ as RiskPolicyEvaluator, l as TaxonomyHitlPayloadBuilder } from "../../../../../../site-context-
|
|
32
|
+
import { _ as RiskPolicyEvaluator, l as TaxonomyHitlPayloadBuilder } from "../../../../../../site-context-c1ZFa_OF.mjs";
|
|
33
33
|
import { C as taxonomyApiRouteSource, m as logTaxonomyActivity } from "../../../../../../activity-events-CNk3clTT.mjs";
|
|
34
|
-
import { i as resolveHitlRouteActor, n as hitlRequiredRouteError, t as ensureWorkflowHitlRouteRequest } from "../../../../../../hitl-route-helpers-
|
|
34
|
+
import { i as resolveHitlRouteActor, n as hitlRequiredRouteError, t as ensureWorkflowHitlRouteRequest } from "../../../../../../hitl-route-helpers-CjpWUMuw.mjs";
|
|
35
35
|
import { z } from "zod";
|
|
36
36
|
|
|
37
37
|
//#region src/astro/routes/api/taxonomies/[name]/terms/index.ts
|
|
@@ -29,9 +29,9 @@ import "../../../../api/schemas/index.mjs";
|
|
|
29
29
|
import "../../../../utils-wv-zvC-Y.mjs";
|
|
30
30
|
import "../../../../search-BAiFLz81.mjs";
|
|
31
31
|
import { n as requirePerm } from "../../../../authorize-BLO0m7fW.mjs";
|
|
32
|
-
import { _ as RiskPolicyEvaluator, l as TaxonomyHitlPayloadBuilder } from "../../../../site-context-
|
|
32
|
+
import { _ as RiskPolicyEvaluator, l as TaxonomyHitlPayloadBuilder } from "../../../../site-context-c1ZFa_OF.mjs";
|
|
33
33
|
import { C as taxonomyApiRouteSource, m as logTaxonomyActivity } from "../../../../activity-events-CNk3clTT.mjs";
|
|
34
|
-
import { i as resolveHitlRouteActor, n as hitlRequiredRouteError, t as ensureWorkflowHitlRouteRequest } from "../../../../hitl-route-helpers-
|
|
34
|
+
import { i as resolveHitlRouteActor, n as hitlRequiredRouteError, t as ensureWorkflowHitlRouteRequest } from "../../../../hitl-route-helpers-CjpWUMuw.mjs";
|
|
35
35
|
import { z } from "zod";
|
|
36
36
|
|
|
37
37
|
//#region src/astro/routes/api/taxonomies/index.ts
|
|
@@ -2,7 +2,7 @@ import "../../../../base64-C1Q9yr0B.mjs";
|
|
|
2
2
|
import "../../../../options-BF11H_FD.mjs";
|
|
3
3
|
import { n as apiSuccess, t as apiError } from "../../../../error-DCSuUAZW.mjs";
|
|
4
4
|
import { n as getPublicOrigin } from "../../../../public-url-DLUM5OOv.mjs";
|
|
5
|
-
import { i as resolveSecretsCached } from "../../../../secrets-
|
|
5
|
+
import { i as resolveSecretsCached } from "../../../../secrets-CPoFLJjm.mjs";
|
|
6
6
|
import { n as requirePerm } from "../../../../authorize-BLO0m7fW.mjs";
|
|
7
7
|
|
|
8
8
|
//#region src/astro/routes/api/themes/preview.ts
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as OptionsRepository } from "../../../../options-BF11H_FD.mjs";
|
|
2
|
-
import { n as VERSION } from "../../../../version-
|
|
3
|
-
import { t as getAuthMode } from "../../../../mode-
|
|
2
|
+
import { n as VERSION } from "../../../../version-Cb1tZ6s_.mjs";
|
|
3
|
+
import { t as getAuthMode } from "../../../../mode-CZqCF9dZ.mjs";
|
|
4
4
|
|
|
5
5
|
//#region src/astro/routes/api/well-known/auth.ts
|
|
6
6
|
const prerender = false;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { n as getPublicOrigin } from "../../../../public-url-DLUM5OOv.mjs";
|
|
2
|
-
import { a as filterExperimentalSiteContextWorkflowScopes } from "../../../../experimental-workflows-
|
|
2
|
+
import { a as filterExperimentalSiteContextWorkflowScopes } from "../../../../experimental-workflows-CSMffP6q.mjs";
|
|
3
3
|
import { t as ALL_VALID_SCOPES } from "../../../../api-tokens-CYUoFGo7.mjs";
|
|
4
4
|
|
|
5
5
|
//#region src/astro/routes/api/well-known/oauth-authorization-server.ts
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { n as getPublicOrigin } from "../../../../public-url-DLUM5OOv.mjs";
|
|
2
|
-
import { a as filterExperimentalSiteContextWorkflowScopes } from "../../../../experimental-workflows-
|
|
2
|
+
import { a as filterExperimentalSiteContextWorkflowScopes } from "../../../../experimental-workflows-CSMffP6q.mjs";
|
|
3
3
|
import { t as ALL_VALID_SCOPES } from "../../../../api-tokens-CYUoFGo7.mjs";
|
|
4
4
|
|
|
5
5
|
//#region src/astro/routes/api/well-known/oauth-protected-resource.ts
|
|
@@ -25,9 +25,9 @@ import "../../../../../api/schemas/index.mjs";
|
|
|
25
25
|
import "../../../../../utils-wv-zvC-Y.mjs";
|
|
26
26
|
import "../../../../../search-BAiFLz81.mjs";
|
|
27
27
|
import { n as requirePerm } from "../../../../../authorize-BLO0m7fW.mjs";
|
|
28
|
-
import { _ as RiskPolicyEvaluator, s as WidgetHitlPayloadBuilder } from "../../../../../site-context-
|
|
28
|
+
import { _ as RiskPolicyEvaluator, s as WidgetHitlPayloadBuilder } from "../../../../../site-context-c1ZFa_OF.mjs";
|
|
29
29
|
import { h as logWidgetActivity, w as widgetApiRouteSource } from "../../../../../activity-events-CNk3clTT.mjs";
|
|
30
|
-
import { i as resolveHitlRouteActor, n as hitlRequiredRouteError, t as ensureWorkflowHitlRouteRequest } from "../../../../../hitl-route-helpers-
|
|
30
|
+
import { i as resolveHitlRouteActor, n as hitlRequiredRouteError, t as ensureWorkflowHitlRouteRequest } from "../../../../../hitl-route-helpers-CjpWUMuw.mjs";
|
|
31
31
|
import { z } from "zod";
|
|
32
32
|
|
|
33
33
|
//#region src/astro/routes/api/widget-areas/[name]/reorder.ts
|
|
@@ -26,9 +26,9 @@ import "../../../../../../utils-wv-zvC-Y.mjs";
|
|
|
26
26
|
import { i as rowToWidget } from "../../../../../../widgets-CdDvF4fV.mjs";
|
|
27
27
|
import "../../../../../../search-BAiFLz81.mjs";
|
|
28
28
|
import { n as requirePerm } from "../../../../../../authorize-BLO0m7fW.mjs";
|
|
29
|
-
import { _ as RiskPolicyEvaluator, s as WidgetHitlPayloadBuilder } from "../../../../../../site-context-
|
|
29
|
+
import { _ as RiskPolicyEvaluator, s as WidgetHitlPayloadBuilder } from "../../../../../../site-context-c1ZFa_OF.mjs";
|
|
30
30
|
import { h as logWidgetActivity, t as activityChangedKeys, w as widgetApiRouteSource } from "../../../../../../activity-events-CNk3clTT.mjs";
|
|
31
|
-
import { i as resolveHitlRouteActor, n as hitlRequiredRouteError, t as ensureWorkflowHitlRouteRequest } from "../../../../../../hitl-route-helpers-
|
|
31
|
+
import { i as resolveHitlRouteActor, n as hitlRequiredRouteError, t as ensureWorkflowHitlRouteRequest } from "../../../../../../hitl-route-helpers-CjpWUMuw.mjs";
|
|
32
32
|
import { z } from "zod";
|
|
33
33
|
|
|
34
34
|
//#region src/astro/routes/api/widget-areas/[name]/widgets/[id].ts
|
|
@@ -26,9 +26,9 @@ import "../../../../../utils-wv-zvC-Y.mjs";
|
|
|
26
26
|
import { i as rowToWidget } from "../../../../../widgets-CdDvF4fV.mjs";
|
|
27
27
|
import "../../../../../search-BAiFLz81.mjs";
|
|
28
28
|
import { n as requirePerm } from "../../../../../authorize-BLO0m7fW.mjs";
|
|
29
|
-
import { _ as RiskPolicyEvaluator, s as WidgetHitlPayloadBuilder } from "../../../../../site-context-
|
|
29
|
+
import { _ as RiskPolicyEvaluator, s as WidgetHitlPayloadBuilder } from "../../../../../site-context-c1ZFa_OF.mjs";
|
|
30
30
|
import { h as logWidgetActivity, w as widgetApiRouteSource } from "../../../../../activity-events-CNk3clTT.mjs";
|
|
31
|
-
import { i as resolveHitlRouteActor, n as hitlRequiredRouteError, t as ensureWorkflowHitlRouteRequest } from "../../../../../hitl-route-helpers-
|
|
31
|
+
import { i as resolveHitlRouteActor, n as hitlRequiredRouteError, t as ensureWorkflowHitlRouteRequest } from "../../../../../hitl-route-helpers-CjpWUMuw.mjs";
|
|
32
32
|
import { ulid } from "ulidx";
|
|
33
33
|
import { z } from "zod";
|
|
34
34
|
|
|
@@ -23,9 +23,9 @@ import "../../../../utils-wv-zvC-Y.mjs";
|
|
|
23
23
|
import { i as rowToWidget } from "../../../../widgets-CdDvF4fV.mjs";
|
|
24
24
|
import "../../../../search-BAiFLz81.mjs";
|
|
25
25
|
import { n as requirePerm } from "../../../../authorize-BLO0m7fW.mjs";
|
|
26
|
-
import { _ as RiskPolicyEvaluator, s as WidgetHitlPayloadBuilder } from "../../../../site-context-
|
|
26
|
+
import { _ as RiskPolicyEvaluator, s as WidgetHitlPayloadBuilder } from "../../../../site-context-c1ZFa_OF.mjs";
|
|
27
27
|
import { h as logWidgetActivity, w as widgetApiRouteSource } from "../../../../activity-events-CNk3clTT.mjs";
|
|
28
|
-
import { i as resolveHitlRouteActor, n as hitlRequiredRouteError, t as ensureWorkflowHitlRouteRequest } from "../../../../hitl-route-helpers-
|
|
28
|
+
import { i as resolveHitlRouteActor, n as hitlRequiredRouteError, t as ensureWorkflowHitlRouteRequest } from "../../../../hitl-route-helpers-CjpWUMuw.mjs";
|
|
29
29
|
import { z } from "zod";
|
|
30
30
|
|
|
31
31
|
//#region src/astro/routes/api/widget-areas/[name].ts
|
|
@@ -26,9 +26,9 @@ import "../../../../utils-wv-zvC-Y.mjs";
|
|
|
26
26
|
import { i as rowToWidget } from "../../../../widgets-CdDvF4fV.mjs";
|
|
27
27
|
import "../../../../search-BAiFLz81.mjs";
|
|
28
28
|
import { n as requirePerm } from "../../../../authorize-BLO0m7fW.mjs";
|
|
29
|
-
import { _ as RiskPolicyEvaluator, s as WidgetHitlPayloadBuilder } from "../../../../site-context-
|
|
29
|
+
import { _ as RiskPolicyEvaluator, s as WidgetHitlPayloadBuilder } from "../../../../site-context-c1ZFa_OF.mjs";
|
|
30
30
|
import { h as logWidgetActivity, w as widgetApiRouteSource } from "../../../../activity-events-CNk3clTT.mjs";
|
|
31
|
-
import { i as resolveHitlRouteActor, n as hitlRequiredRouteError, t as ensureWorkflowHitlRouteRequest } from "../../../../hitl-route-helpers-
|
|
31
|
+
import { i as resolveHitlRouteActor, n as hitlRequiredRouteError, t as ensureWorkflowHitlRouteRequest } from "../../../../hitl-route-helpers-CjpWUMuw.mjs";
|
|
32
32
|
import { ulid } from "ulidx";
|
|
33
33
|
import { z } from "zod";
|
|
34
34
|
|
package/dist/astro/types.d.mts
CHANGED
|
@@ -7,7 +7,7 @@ import { f as MediaProvider, p as MediaProviderCapabilities } from "../placehold
|
|
|
7
7
|
import "../runner-Cnz4dl0f.mjs";
|
|
8
8
|
import "../index-DJVaYiUV.mjs";
|
|
9
9
|
import { d as Storage } from "../types-DZpT-PnG.mjs";
|
|
10
|
-
import "../byline-fields-
|
|
10
|
+
import "../byline-fields-Cuo-JI3B.mjs";
|
|
11
11
|
import "../types-GaCtZ1k9.mjs";
|
|
12
12
|
import "../validate-BJuG-ISL.mjs";
|
|
13
13
|
import "../index.mjs";
|
|
@@ -4,7 +4,7 @@ import { z } from "zod";
|
|
|
4
4
|
/** Valid role level values */
|
|
5
5
|
declare const VALID_ROLE_LEVELS: Set<number>;
|
|
6
6
|
/** Role level — coerces string/number to valid RoleLevel (10|20|30|40|50) */
|
|
7
|
-
declare const roleLevel: z.ZodCoercedNumber<unknown> & z.ZodType<10 | 20 | 30 | 40
|
|
7
|
+
declare const roleLevel: z.ZodCoercedNumber<unknown> & z.ZodType<50 | 10 | 20 | 30 | 40, unknown, z.core.$ZodTypeInternals<50 | 10 | 20 | 30 | 40, unknown>>;
|
|
8
8
|
/** Pagination query params — cursor-based */
|
|
9
9
|
declare const cursorPaginationQuery: z.ZodObject<{
|
|
10
10
|
cursor: z.ZodOptional<z.ZodString>;
|
|
@@ -550,11 +550,11 @@ declare const createCollectionBody: z.ZodObject<{
|
|
|
550
550
|
description: z.ZodOptional<z.ZodString>;
|
|
551
551
|
icon: z.ZodOptional<z.ZodString>;
|
|
552
552
|
supports: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
553
|
-
search: "search";
|
|
554
553
|
drafts: "drafts";
|
|
555
554
|
revisions: "revisions";
|
|
556
555
|
preview: "preview";
|
|
557
556
|
scheduling: "scheduling";
|
|
557
|
+
search: "search";
|
|
558
558
|
}>>>;
|
|
559
559
|
source: z.ZodOptional<z.ZodString>;
|
|
560
560
|
urlPattern: z.ZodOptional<z.ZodString>;
|
|
@@ -566,11 +566,11 @@ declare const updateCollectionBody: z.ZodObject<{
|
|
|
566
566
|
description: z.ZodOptional<z.ZodString>;
|
|
567
567
|
icon: z.ZodOptional<z.ZodString>;
|
|
568
568
|
supports: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
569
|
-
search: "search";
|
|
570
569
|
drafts: "drafts";
|
|
571
570
|
revisions: "revisions";
|
|
572
571
|
preview: "preview";
|
|
573
572
|
scheduling: "scheduling";
|
|
573
|
+
search: "search";
|
|
574
574
|
}>>>;
|
|
575
575
|
urlPattern: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
576
576
|
hasSeo: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -923,8 +923,8 @@ declare const createCommentBody: z.ZodObject<{
|
|
|
923
923
|
}, z.core.$strip>;
|
|
924
924
|
declare const commentStatusBody: z.ZodObject<{
|
|
925
925
|
status: z.ZodEnum<{
|
|
926
|
-
approved: "approved";
|
|
927
926
|
pending: "pending";
|
|
927
|
+
approved: "approved";
|
|
928
928
|
spam: "spam";
|
|
929
929
|
trash: "trash";
|
|
930
930
|
}>;
|
|
@@ -940,8 +940,8 @@ declare const commentBulkBody: z.ZodObject<{
|
|
|
940
940
|
}, z.core.$strip>;
|
|
941
941
|
declare const commentListQuery: z.ZodObject<{
|
|
942
942
|
status: z.ZodOptional<z.ZodEnum<{
|
|
943
|
-
approved: "approved";
|
|
944
943
|
pending: "pending";
|
|
944
|
+
approved: "approved";
|
|
945
945
|
spam: "spam";
|
|
946
946
|
trash: "trash";
|
|
947
947
|
}>>;
|
|
@@ -975,8 +975,8 @@ declare const commentSchema: z.ZodObject<{
|
|
|
975
975
|
authorEmail: z.ZodString;
|
|
976
976
|
body: z.ZodString;
|
|
977
977
|
status: z.ZodEnum<{
|
|
978
|
-
approved: "approved";
|
|
979
978
|
pending: "pending";
|
|
979
|
+
approved: "approved";
|
|
980
980
|
spam: "spam";
|
|
981
981
|
trash: "trash";
|
|
982
982
|
}>;
|
|
@@ -1007,8 +1007,8 @@ declare const adminCommentListResponseSchema: z.ZodObject<{
|
|
|
1007
1007
|
authorEmail: z.ZodString;
|
|
1008
1008
|
body: z.ZodString;
|
|
1009
1009
|
status: z.ZodEnum<{
|
|
1010
|
-
approved: "approved";
|
|
1011
1010
|
pending: "pending";
|
|
1011
|
+
approved: "approved";
|
|
1012
1012
|
spam: "spam";
|
|
1013
1013
|
trash: "trash";
|
|
1014
1014
|
}>;
|
|
@@ -1053,21 +1053,21 @@ declare const contextEntryListQuery: z.ZodObject<{
|
|
|
1053
1053
|
cursor: z.ZodOptional<z.ZodString>;
|
|
1054
1054
|
}, z.core.$strip>;
|
|
1055
1055
|
declare const contextEntryStaleQuery: z.ZodObject<{
|
|
1056
|
-
cursor: z.ZodOptional<z.ZodString>;
|
|
1057
|
-
limit: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
1058
|
-
scope: z.ZodOptional<z.ZodString>;
|
|
1059
1056
|
includeInherited: z.ZodPipe<z.ZodOptional<z.ZodEnum<{
|
|
1060
1057
|
true: "true";
|
|
1061
1058
|
false: "false";
|
|
1062
1059
|
}>>, z.ZodTransform<boolean | undefined, "true" | "false" | undefined>>;
|
|
1063
1060
|
contextTypes: z.ZodPipe<z.ZodOptional<z.ZodString>, z.ZodTransform<string[] | undefined, string | undefined>>;
|
|
1064
1061
|
tags: z.ZodPipe<z.ZodOptional<z.ZodString>, z.ZodTransform<string[] | undefined, string | undefined>>;
|
|
1062
|
+
scope: z.ZodOptional<z.ZodString>;
|
|
1065
1063
|
createdByActorType: z.ZodOptional<z.ZodEnum<{
|
|
1066
1064
|
user: "user";
|
|
1067
1065
|
api_token: "api_token";
|
|
1068
1066
|
system: "system";
|
|
1069
1067
|
}>>;
|
|
1070
1068
|
createdByActorId: z.ZodOptional<z.ZodString>;
|
|
1069
|
+
limit: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
1070
|
+
cursor: z.ZodOptional<z.ZodString>;
|
|
1071
1071
|
now: z.ZodOptional<z.ZodString>;
|
|
1072
1072
|
}, z.core.$strip>;
|
|
1073
1073
|
declare const contextEntryDiffQuery: z.ZodObject<{
|
|
@@ -1082,7 +1082,6 @@ declare const contextEntryDiffQuery: z.ZodObject<{
|
|
|
1082
1082
|
declare const contextEntryCreateBody: z.ZodObject<{
|
|
1083
1083
|
scope: z.ZodString;
|
|
1084
1084
|
contextType: z.ZodEnum<{
|
|
1085
|
-
decision: "decision";
|
|
1086
1085
|
brand_voice: "brand_voice";
|
|
1087
1086
|
seo_strategy: "seo_strategy";
|
|
1088
1087
|
audience: "audience";
|
|
@@ -1092,6 +1091,7 @@ declare const contextEntryCreateBody: z.ZodObject<{
|
|
|
1092
1091
|
migration_note: "migration_note";
|
|
1093
1092
|
plugin_note: "plugin_note";
|
|
1094
1093
|
agent_reasoning: "agent_reasoning";
|
|
1094
|
+
decision: "decision";
|
|
1095
1095
|
risk: "risk";
|
|
1096
1096
|
content_gap: "content_gap";
|
|
1097
1097
|
style_exception: "style_exception";
|
|
@@ -1106,7 +1106,6 @@ declare const contextEntryCreateBody: z.ZodObject<{
|
|
|
1106
1106
|
declare const contextEntrySupersedeBody: z.ZodObject<{
|
|
1107
1107
|
scope: z.ZodOptional<z.ZodString>;
|
|
1108
1108
|
contextType: z.ZodOptional<z.ZodEnum<{
|
|
1109
|
-
decision: "decision";
|
|
1110
1109
|
brand_voice: "brand_voice";
|
|
1111
1110
|
seo_strategy: "seo_strategy";
|
|
1112
1111
|
audience: "audience";
|
|
@@ -1116,6 +1115,7 @@ declare const contextEntrySupersedeBody: z.ZodObject<{
|
|
|
1116
1115
|
migration_note: "migration_note";
|
|
1117
1116
|
plugin_note: "plugin_note";
|
|
1118
1117
|
agent_reasoning: "agent_reasoning";
|
|
1118
|
+
decision: "decision";
|
|
1119
1119
|
risk: "risk";
|
|
1120
1120
|
content_gap: "content_gap";
|
|
1121
1121
|
style_exception: "style_exception";
|
|
@@ -1148,8 +1148,8 @@ declare const siteBriefingQuery: z.ZodObject<{
|
|
|
1148
1148
|
//#region src/api/schemas/hitl-requests.d.ts
|
|
1149
1149
|
declare const hitlRequestListQuery: z.ZodObject<{
|
|
1150
1150
|
status: z.ZodOptional<z.ZodEnum<{
|
|
1151
|
-
approved: "approved";
|
|
1152
1151
|
pending: "pending";
|
|
1152
|
+
approved: "approved";
|
|
1153
1153
|
rejected: "rejected";
|
|
1154
1154
|
}>>;
|
|
1155
1155
|
priority: z.ZodOptional<z.ZodEnum<{
|
|
@@ -1176,8 +1176,8 @@ declare const hitlRequestResolveBody: z.ZodObject<{
|
|
|
1176
1176
|
//#region src/api/schemas/review-requests.d.ts
|
|
1177
1177
|
declare const reviewRequestListQuery: z.ZodObject<{
|
|
1178
1178
|
status: z.ZodOptional<z.ZodEnum<{
|
|
1179
|
-
approved: "approved";
|
|
1180
1179
|
pending: "pending";
|
|
1180
|
+
approved: "approved";
|
|
1181
1181
|
rejected: "rejected";
|
|
1182
1182
|
}>>;
|
|
1183
1183
|
collection: z.ZodOptional<z.ZodString>;
|
|
@@ -1225,7 +1225,7 @@ declare const signupCompleteBody: z.ZodObject<{
|
|
|
1225
1225
|
}, z.core.$strip>;
|
|
1226
1226
|
declare const inviteCreateBody: z.ZodObject<{
|
|
1227
1227
|
email: z.ZodString;
|
|
1228
|
-
role: z.ZodOptional<z.ZodCoercedNumber<unknown> & z.ZodType<10 | 20 | 30 | 40
|
|
1228
|
+
role: z.ZodOptional<z.ZodCoercedNumber<unknown> & z.ZodType<50 | 10 | 20 | 30 | 40, unknown, z.core.$ZodTypeInternals<50 | 10 | 20 | 30 | 40, unknown>>>;
|
|
1229
1229
|
}, z.core.$strip>;
|
|
1230
1230
|
declare const inviteCompleteBody: z.ZodObject<{
|
|
1231
1231
|
token: z.ZodString;
|
|
@@ -1777,15 +1777,15 @@ declare const usersListQuery: z.ZodObject<{
|
|
|
1777
1777
|
declare const userUpdateBody: z.ZodObject<{
|
|
1778
1778
|
name: z.ZodOptional<z.ZodString>;
|
|
1779
1779
|
email: z.ZodOptional<z.ZodString>;
|
|
1780
|
-
role: z.ZodOptional<z.ZodCoercedNumber<unknown> & z.ZodType<10 | 20 | 30 | 40
|
|
1780
|
+
role: z.ZodOptional<z.ZodCoercedNumber<unknown> & z.ZodType<50 | 10 | 20 | 30 | 40, unknown, z.core.$ZodTypeInternals<50 | 10 | 20 | 30 | 40, unknown>>>;
|
|
1781
1781
|
}, z.core.$strip>;
|
|
1782
1782
|
declare const allowedDomainCreateBody: z.ZodObject<{
|
|
1783
1783
|
domain: z.ZodString;
|
|
1784
|
-
defaultRole: z.ZodCoercedNumber<unknown> & z.ZodType<10 | 20 | 30 | 40
|
|
1784
|
+
defaultRole: z.ZodCoercedNumber<unknown> & z.ZodType<50 | 10 | 20 | 30 | 40, unknown, z.core.$ZodTypeInternals<50 | 10 | 20 | 30 | 40, unknown>>;
|
|
1785
1785
|
}, z.core.$strip>;
|
|
1786
1786
|
declare const allowedDomainUpdateBody: z.ZodObject<{
|
|
1787
1787
|
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
1788
|
-
defaultRole: z.ZodOptional<z.ZodCoercedNumber<unknown> & z.ZodType<10 | 20 | 30 | 40
|
|
1788
|
+
defaultRole: z.ZodOptional<z.ZodCoercedNumber<unknown> & z.ZodType<50 | 10 | 20 | 30 | 40, unknown, z.core.$ZodTypeInternals<50 | 10 | 20 | 30 | 40, unknown>>>;
|
|
1789
1789
|
}, z.core.$strip>;
|
|
1790
1790
|
declare const userSchema: z.ZodObject<{
|
|
1791
1791
|
id: z.ZodString;
|
package/dist/cli/index.mjs
CHANGED
|
@@ -19,11 +19,12 @@ import "../fts-manager-EHY2Kes9.mjs";
|
|
|
19
19
|
import { n as SchemaRegistry } from "../registry-Cq3QRBW2.mjs";
|
|
20
20
|
import { a as isMissingTableError } from "../loader-Y0QvC_QO.mjs";
|
|
21
21
|
import "../settings-DNRQuX3d.mjs";
|
|
22
|
+
import { n as VERSION } from "../version-Cb1tZ6s_.mjs";
|
|
22
23
|
import { i as pluginManifestSchema } from "../manifest-schema-qh2P7RDX.mjs";
|
|
23
24
|
import "../ssrf-DiKqWd3N.mjs";
|
|
24
25
|
import { t as validateSeed } from "../validate-CK4a1sIF.mjs";
|
|
25
26
|
import { t as applySeed } from "../apply-BpRBCqUt.mjs";
|
|
26
|
-
import { n as fingerprintKey, r as generateEncryptionKey, t as DinewaySecretsError } from "../secrets-
|
|
27
|
+
import { n as fingerprintKey, r as generateEncryptionKey, t as DinewaySecretsError } from "../secrets-CPoFLJjm.mjs";
|
|
27
28
|
import { createHeaderAwareFetch, customHeadersInterceptor, isRedirectResponse, resolveCustomHeaders } from "../client/external-auth-headers.mjs";
|
|
28
29
|
import { o as convertDataForRead } from "../transport-LSdZVXHF.mjs";
|
|
29
30
|
import { DinewayClient } from "../client/index.mjs";
|
|
@@ -1785,6 +1786,9 @@ const JWT_PATTERN = /[A-Za-z0-9_-]{32,}\.[A-Za-z0-9_-]{16,}\.[A-Za-z0-9_-]{16,}/
|
|
|
1785
1786
|
const TOKEN_ASSIGNMENT_PATTERN = /(DINEWAY_DATABASE_AUTH_TOKEN|DATABASE_AUTH_TOKEN|AUTH_TOKEN)=\S+/gi;
|
|
1786
1787
|
const TRAILING_SLASH_PATTERN$1 = /\/$/;
|
|
1787
1788
|
const BACKSLASH_PATTERN = /\\/g;
|
|
1789
|
+
const DINEWAY_PACKAGE_NAME = "dineway";
|
|
1790
|
+
const SEMVER_VERSION_PATTERN = /^\d+\.\d+\.\d+(?:[-+].*)?$/;
|
|
1791
|
+
const LOCAL_PACKAGE_SPEC_PATTERN = /^(?:workspace|file|link|portal):/;
|
|
1788
1792
|
const SHADOW_EMAIL_PATTERN$1 = /^shadow_[a-f0-9]{16}@dineway\.ai$/i;
|
|
1789
1793
|
const OTP_PATTERN = /^\d{6}$/;
|
|
1790
1794
|
const FOOD_TYPES = new Set([
|
|
@@ -2003,6 +2007,35 @@ async function promptRequired(question, initialValue, deps, errorMessage) {
|
|
|
2003
2007
|
async function readSavedForgewayMetadata(cwd) {
|
|
2004
2008
|
return await readForgewayDeployMetadata(cwd).catch(() => ({}));
|
|
2005
2009
|
}
|
|
2010
|
+
function getDependencySpec(pkg, name) {
|
|
2011
|
+
for (const key of ["dependencies", "devDependencies"]) {
|
|
2012
|
+
const deps = pkg[key];
|
|
2013
|
+
if (!deps || typeof deps !== "object") continue;
|
|
2014
|
+
const value = deps[name];
|
|
2015
|
+
if (typeof value === "string" && value.trim()) return value.trim();
|
|
2016
|
+
}
|
|
2017
|
+
}
|
|
2018
|
+
async function readProjectPackage(cwd) {
|
|
2019
|
+
try {
|
|
2020
|
+
return await readDeployPackageJson(cwd);
|
|
2021
|
+
} catch {
|
|
2022
|
+
return null;
|
|
2023
|
+
}
|
|
2024
|
+
}
|
|
2025
|
+
function isDinewayDependencySpecCompatible(dependencySpec, cliVersion) {
|
|
2026
|
+
const spec = dependencySpec.trim();
|
|
2027
|
+
if (LOCAL_PACKAGE_SPEC_PATTERN.test(spec)) return true;
|
|
2028
|
+
return spec.includes(cliVersion);
|
|
2029
|
+
}
|
|
2030
|
+
async function assertProjectDinewayRuntimeCompatible(cwd, cliVersion = VERSION) {
|
|
2031
|
+
if (!SEMVER_VERSION_PATTERN.test(cliVersion)) return;
|
|
2032
|
+
const pkg = await readProjectPackage(cwd);
|
|
2033
|
+
if (!pkg) return;
|
|
2034
|
+
const dependencySpec = getDependencySpec(pkg, DINEWAY_PACKAGE_NAME);
|
|
2035
|
+
if (!dependencySpec) return;
|
|
2036
|
+
if (isDinewayDependencySpecCompatible(dependencySpec, cliVersion)) return;
|
|
2037
|
+
throw new Error(`Forgeway deploy requires the deployed Dineway runtime to match the deploy CLI because the CLI initializes the managed database before the site starts. The CLI is ${DINEWAY_PACKAGE_NAME}@${cliVersion}, but package.json declares ${DINEWAY_PACKAGE_NAME}: ${JSON.stringify(dependencySpec)}. Update package.json and reinstall with your package manager, for example: ${DINEWAY_PACKAGE_NAME}@^${cliVersion}. To deploy with the current manifest instead, run the matching CLI version.`);
|
|
2038
|
+
}
|
|
2006
2039
|
function explicitPublisherEmail(options) {
|
|
2007
2040
|
return options.email ?? getEnv("DINEWAY_EMAIL") ?? getEnv("FORGEWAY_EMAIL");
|
|
2008
2041
|
}
|
|
@@ -3074,6 +3107,8 @@ async function deployForgeway(cwd, options, deps = {}) {
|
|
|
3074
3107
|
const sourceDir = resolve(cwd);
|
|
3075
3108
|
if (!(await stat(sourceDir).catch(() => null))?.isDirectory()) throw new Error(`"${sourceDir}" is not a valid directory.`);
|
|
3076
3109
|
if (EXCLUDE_PATTERNS.includes(basename(sourceDir))) throw new Error(`"${basename(sourceDir)}" is an excluded directory and cannot be deployed.`);
|
|
3110
|
+
const database = parseDatabaseMode(options.database);
|
|
3111
|
+
if (database !== "none") await assertProjectDinewayRuntimeCompatible(cwd, deps.dinewayVersion ?? VERSION);
|
|
3077
3112
|
await ensureProjectGitignoreDinewayLocalState(cwd);
|
|
3078
3113
|
const verbose = isVerboseDeploy(options);
|
|
3079
3114
|
const project = await resolveProjectContext(cwd, options, deps);
|
|
@@ -3083,7 +3118,6 @@ async function deployForgeway(cwd, options, deps = {}) {
|
|
|
3083
3118
|
if (options.skipSeed) consola.info("Skipping seed initialization by request");
|
|
3084
3119
|
await ensureRestaurantClaim(context, restaurant, deps);
|
|
3085
3120
|
const { site } = await resolveDeploymentSite(cwd, context, options, seedPath, deps, restaurant);
|
|
3086
|
-
const database = parseDatabaseMode(options.database);
|
|
3087
3121
|
if (database !== "none") {
|
|
3088
3122
|
consola.start("Initializing Forgeway managed database");
|
|
3089
3123
|
try {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { a as ContextRepository, i as parseSiteBriefingScope, n as SiteBriefingError } from "./briefing-BFEWeJtR.mjs";
|
|
2
|
-
import { b as toPublicContextEntry, x as toPublicContextEntryPage, y as toPublicContextDiff } from "./site-context-
|
|
2
|
+
import { b as toPublicContextEntry, x as toPublicContextEntryPage, y as toPublicContextDiff } from "./site-context-c1ZFa_OF.mjs";
|
|
3
3
|
|
|
4
4
|
//#region src/api/handlers/context.ts
|
|
5
5
|
async function handleContextEntryList(db, input = {}) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as withTransaction } from "./transaction-D0FOsb3X.mjs";
|
|
2
|
-
import { a as filterExperimentalSiteContextWorkflowScopes, i as experimentalSiteContextWorkflowsEnabled, o as getExperimentalSiteContextWorkflowScopesDisabledMessage, r as disabledExperimentalSiteContextWorkflowScopes } from "./experimental-workflows-
|
|
2
|
+
import { a as filterExperimentalSiteContextWorkflowScopes, i as experimentalSiteContextWorkflowsEnabled, o as getExperimentalSiteContextWorkflowScopesDisabledMessage, r as disabledExperimentalSiteContextWorkflowScopes } from "./experimental-workflows-CSMffP6q.mjs";
|
|
3
3
|
import { a as hashApiToken, n as TOKEN_PREFIXES, r as generatePrefixedToken, t as ALL_VALID_SCOPES } from "./api-tokens-CYUoFGo7.mjs";
|
|
4
|
-
import { o as lookupOAuthClient } from "./oauth-clients-
|
|
4
|
+
import { o as lookupOAuthClient } from "./oauth-clients-Du-V0fEm.mjs";
|
|
5
5
|
import { t as lookupUserRoleAndStatus } from "./oauth-user-lookup-BFjWF8wK.mjs";
|
|
6
6
|
import { clampScopes } from "@dineway-ai/auth";
|
|
7
7
|
import { generateCodeVerifier } from "arctic";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { t as ExperimentalSiteContextWorkflowDisabledError } from "./experimental-workflows-
|
|
2
|
-
import { n as HitlRequestService } from "./site-context-
|
|
1
|
+
import { t as ExperimentalSiteContextWorkflowDisabledError } from "./experimental-workflows-CSMffP6q.mjs";
|
|
2
|
+
import { n as HitlRequestService } from "./site-context-c1ZFa_OF.mjs";
|
|
3
3
|
|
|
4
4
|
//#region src/api/handlers/hitl-requests.ts
|
|
5
5
|
const HITL_NOT_FOUND_RE = /not found/i;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as apiError } from "./error-DCSuUAZW.mjs";
|
|
2
|
-
import { t as ExperimentalSiteContextWorkflowDisabledError } from "./experimental-workflows-
|
|
3
|
-
import { t as WorkflowHitlCoordinator } from "./site-context-
|
|
2
|
+
import { t as ExperimentalSiteContextWorkflowDisabledError } from "./experimental-workflows-CSMffP6q.mjs";
|
|
3
|
+
import { t as WorkflowHitlCoordinator } from "./site-context-c1ZFa_OF.mjs";
|
|
4
4
|
import { T as resolveActorIdentity, p as logSiteActivitySafely } from "./activity-events-CNk3clTT.mjs";
|
|
5
5
|
import { Role } from "@dineway-ai/auth";
|
|
6
6
|
|
package/dist/index.d.mts
CHANGED
|
@@ -10,7 +10,7 @@ import { n as getMigrationStatus, t as MigrationStatus } from "./runner-Cnz4dl0f
|
|
|
10
10
|
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-DJVaYiUV.mjs";
|
|
11
11
|
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-DZpT-PnG.mjs";
|
|
12
12
|
import { i as SiteSettings, n as SeoSettings, r as SiteSettingKey, t as MediaReference } from "./types-nP9vGUFq.mjs";
|
|
13
|
-
import "./byline-fields-
|
|
13
|
+
import "./byline-fields-Cuo-JI3B.mjs";
|
|
14
14
|
import { DinewayRequestContext, getRequestContext, runWithContext } from "./request-context.mjs";
|
|
15
15
|
import { adaptSandboxEntry } from "./plugins/adapt-sandbox-entry.mjs";
|
|
16
16
|
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-GaCtZ1k9.mjs";
|
package/dist/index.mjs
CHANGED
|
@@ -27,7 +27,7 @@ import "./byline-CXQcMsBu.mjs";
|
|
|
27
27
|
import { t as normalizeMediaValue } from "./normalize-O-hi3a27.mjs";
|
|
28
28
|
import { t as generatePlaceholder } from "./placeholder-BDo81Is5.mjs";
|
|
29
29
|
import "./seo-uMFBaR8G.mjs";
|
|
30
|
-
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-
|
|
30
|
+
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-ePsOhL3q.mjs";
|
|
31
31
|
import "./dashboard-D0gWuzNp.mjs";
|
|
32
32
|
import "./briefing-BFEWeJtR.mjs";
|
|
33
33
|
import "./context-types-DQh_XKkn.mjs";
|
|
@@ -6,7 +6,7 @@ import { h as MediaProviderItem, o as CreateMediaProviderFn } from "../placehold
|
|
|
6
6
|
import "../runner-Cnz4dl0f.mjs";
|
|
7
7
|
import "../index-DJVaYiUV.mjs";
|
|
8
8
|
import { d as Storage } from "../types-DZpT-PnG.mjs";
|
|
9
|
-
import "../byline-fields-
|
|
9
|
+
import "../byline-fields-Cuo-JI3B.mjs";
|
|
10
10
|
import "../types-GaCtZ1k9.mjs";
|
|
11
11
|
import "../validate-BJuG-ISL.mjs";
|
|
12
12
|
import "../index.mjs";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as withTransaction } from "./transaction-D0FOsb3X.mjs";
|
|
2
|
-
import { a as filterExperimentalSiteContextWorkflowScopes, i as experimentalSiteContextWorkflowsEnabled, o as getExperimentalSiteContextWorkflowScopesDisabledMessage, r as disabledExperimentalSiteContextWorkflowScopes } from "./experimental-workflows-
|
|
2
|
+
import { a as filterExperimentalSiteContextWorkflowScopes, i as experimentalSiteContextWorkflowsEnabled, o as getExperimentalSiteContextWorkflowScopesDisabledMessage, r as disabledExperimentalSiteContextWorkflowScopes } from "./experimental-workflows-CSMffP6q.mjs";
|
|
3
3
|
import { a as hashApiToken, n as TOKEN_PREFIXES, r as generatePrefixedToken, t as ALL_VALID_SCOPES } from "./api-tokens-CYUoFGo7.mjs";
|
|
4
|
-
import { c as validateRedirectUri, o as lookupOAuthClient, s as validateClientRedirectUri } from "./oauth-clients-
|
|
4
|
+
import { c as validateRedirectUri, o as lookupOAuthClient, s as validateClientRedirectUri } from "./oauth-clients-Du-V0fEm.mjs";
|
|
5
5
|
import { t as lookupUserRoleAndStatus } from "./oauth-user-lookup-BFjWF8wK.mjs";
|
|
6
6
|
import { clampScopes, computeS256Challenge, secureCompare } from "@dineway-ai/auth";
|
|
7
7
|
import { generateCodeVerifier } from "arctic";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { o as getExperimentalSiteContextWorkflowScopesDisabledMessage, r as disabledExperimentalSiteContextWorkflowScopes } from "./experimental-workflows-
|
|
1
|
+
import { o as getExperimentalSiteContextWorkflowScopesDisabledMessage, r as disabledExperimentalSiteContextWorkflowScopes } from "./experimental-workflows-CSMffP6q.mjs";
|
|
2
2
|
import { s as validateScopes } from "./api-tokens-CYUoFGo7.mjs";
|
|
3
3
|
|
|
4
4
|
//#region src/api/oauth/redirect-uri.ts
|
package/dist/plugin-utils.d.mts
CHANGED
|
@@ -4,7 +4,7 @@ import "./types-UGmU5sWx.mjs";
|
|
|
4
4
|
import "./types-Dryvv7LH.mjs";
|
|
5
5
|
import "./runner-Cnz4dl0f.mjs";
|
|
6
6
|
import "./index-DJVaYiUV.mjs";
|
|
7
|
-
import "./byline-fields-
|
|
7
|
+
import "./byline-fields-Cuo-JI3B.mjs";
|
|
8
8
|
import "./types-GaCtZ1k9.mjs";
|
|
9
9
|
import "./validate-BJuG-ISL.mjs";
|
|
10
10
|
import { DinewayHandlers } from "./astro/types.mjs";
|
|
@@ -4,7 +4,7 @@ import { X as ResolvedPlugin, tt as StandardPluginDefinition } from "../types-UG
|
|
|
4
4
|
import "../types-Dryvv7LH.mjs";
|
|
5
5
|
import "../runner-Cnz4dl0f.mjs";
|
|
6
6
|
import "../index-DJVaYiUV.mjs";
|
|
7
|
-
import "../byline-fields-
|
|
7
|
+
import "../byline-fields-Cuo-JI3B.mjs";
|
|
8
8
|
import "../types-GaCtZ1k9.mjs";
|
|
9
9
|
import "../validate-BJuG-ISL.mjs";
|
|
10
10
|
|
package/dist/runtime.d.mts
CHANGED
|
@@ -4,7 +4,7 @@ import "./types-UGmU5sWx.mjs";
|
|
|
4
4
|
import "./types-Dryvv7LH.mjs";
|
|
5
5
|
import "./runner-Cnz4dl0f.mjs";
|
|
6
6
|
import "./index-DJVaYiUV.mjs";
|
|
7
|
-
import "./byline-fields-
|
|
7
|
+
import "./byline-fields-Cuo-JI3B.mjs";
|
|
8
8
|
import "./types-GaCtZ1k9.mjs";
|
|
9
9
|
import "./validate-BJuG-ISL.mjs";
|
|
10
10
|
import { t as getMediaProvider } from "./provider-loader-B5PMjpN7.mjs";
|
|
@@ -12,7 +12,7 @@ import { a as getSiteSettingsWithDb } from "./settings-DNRQuX3d.mjs";
|
|
|
12
12
|
import { p as normalizeUrl } from "./utils-wv-zvC-Y.mjs";
|
|
13
13
|
import { t as sanitizeWordPressImportSlug } from "./wordpress-slugs-B6Gw9q3Q.mjs";
|
|
14
14
|
import { s as searchCollection } from "./search-BAiFLz81.mjs";
|
|
15
|
-
import { n as assertExperimentalSiteContextWorkflowsEnabled } from "./experimental-workflows-
|
|
15
|
+
import { n as assertExperimentalSiteContextWorkflowsEnabled } from "./experimental-workflows-CSMffP6q.mjs";
|
|
16
16
|
import { sql } from "kysely";
|
|
17
17
|
import { ulid } from "ulidx";
|
|
18
18
|
import { Role } from "@dineway-ai/auth";
|
|
@@ -6,7 +6,7 @@ import { _ as MediaValue, c as EmbedResult, l as ImageEmbed, s as EmbedOptions }
|
|
|
6
6
|
import "../runner-Cnz4dl0f.mjs";
|
|
7
7
|
import "../index-DJVaYiUV.mjs";
|
|
8
8
|
import { t as MediaReference } from "../types-nP9vGUFq.mjs";
|
|
9
|
-
import "../byline-fields-
|
|
9
|
+
import "../byline-fields-Cuo-JI3B.mjs";
|
|
10
10
|
import "../types-GaCtZ1k9.mjs";
|
|
11
11
|
import "../validate-BJuG-ISL.mjs";
|
|
12
12
|
import { a as generateSiteSeoContributions, d as resolvePageMetadata, i as generateBaseSeoContributions, o as renderFragments, u as renderPageMetadata } from "../jsonld-AcPnCEGD.mjs";
|
package/package.json
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|