dineway 0.1.20 → 0.1.21
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-CetVENIv.mjs → api-Fu6WeyUl.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/content/_collection_/_id_/publish.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/{bylines-BSzNLT0N.d.mts → bylines-DVHl9JXW.d.mts} +14 -14
- package/dist/cli/index.mjs +277 -42
- package/dist/{context-CUJ2Qwb4.mjs → context-CnrsB3lh.mjs} +1 -1
- package/dist/{device-flow-Pab2PQTA.mjs → device-flow-AsTA1k4t.mjs} +2 -2
- package/dist/{hitl-requests-D5CLRMGC.mjs → hitl-requests-DcTPiuog.mjs} +2 -2
- package/dist/{hitl-route-helpers-SRAfZqf9.mjs → hitl-route-helpers-CNqNbune.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-CFcMq7NJ.mjs → oauth-authorization-CRwAJzzA.mjs} +2 -2
- package/dist/{oauth-clients-CS1nQbC3.mjs → oauth-clients-BlHrNh_u.mjs} +1 -1
- package/dist/plugins/adapt-sandbox-entry.d.mts +1 -1
- package/dist/runtime.d.mts +1 -1
- package/dist/{site-context-CDnyARws.mjs → site-context-Dr_5pFHr.mjs} +1 -1
- package/dist/version-2a3KsDX2.mjs +6 -0
- package/package.json +3 -3
- package/dist/version-BSPT181S.mjs +0 -6
- /package/dist/{allowed-origins-CIP5fh83.mjs → allowed-origins-3nAx5Xeo.mjs} +0 -0
- /package/dist/{challenge-store-cJam-E5R.mjs → challenge-store-B9odzfeh.mjs} +0 -0
- /package/dist/{experimental-workflows-BbZbIEZp.mjs → experimental-workflows-C7o_9V7S.mjs} +0 -0
- /package/dist/{mode-Bd55iLcP.mjs → mode-BI1kRvlT.mjs} +0 -0
- /package/dist/{secrets-DfeNNoLa.mjs → secrets-BIrqds5c.mjs} +0 -0
- /package/dist/{setup-complete-DgsQYTC2.mjs → setup-complete-BvSeN5Wh.mjs} +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { n as apiSuccess, r as handleError, t as apiError } from "../../../../error-Dyf9fGZE.mjs";
|
|
2
2
|
import { n as loadUserSeed } from "../../../../load-5R4qZ4zn.mjs";
|
|
3
|
-
import { t as getAuthMode } from "../../../../mode-
|
|
3
|
+
import { t as getAuthMode } from "../../../../mode-BI1kRvlT.mjs";
|
|
4
4
|
|
|
5
5
|
//#region src/astro/routes/api/setup/status.ts
|
|
6
6
|
const prerender = false;
|
|
@@ -3,7 +3,7 @@ import "../../../options-BF11H_FD.mjs";
|
|
|
3
3
|
import { n as apiSuccess, r as handleError, t as apiError } from "../../../error-Dyf9fGZE.mjs";
|
|
4
4
|
import { a as verifyPreviewSignature, r as parsePreviewSignatureHeader } from "../../../sidecar-client-Dta0AELf.mjs";
|
|
5
5
|
import { n as getPublicOrigin } from "../../../public-url-DuRGs0uF.mjs";
|
|
6
|
-
import { i as resolveSecretsCached } from "../../../secrets-
|
|
6
|
+
import { i as resolveSecretsCached } from "../../../secrets-BIrqds5c.mjs";
|
|
7
7
|
import { n as requirePerm } from "../../../authorize-BgIG3yfN.mjs";
|
|
8
8
|
import { sql } from "kysely";
|
|
9
9
|
import { createKyselyAdapter } from "@dineway-ai/auth/adapters/kysely";
|
|
@@ -28,9 +28,9 @@ import "../../../../../../../api/schemas/index.mjs";
|
|
|
28
28
|
import "../../../../../../../utils-BftjFpR0.mjs";
|
|
29
29
|
import "../../../../../../../search-DjaP_Dw-.mjs";
|
|
30
30
|
import { n as requirePerm } from "../../../../../../../authorize-BgIG3yfN.mjs";
|
|
31
|
-
import { _ as RiskPolicyEvaluator, l as TaxonomyHitlPayloadBuilder } from "../../../../../../../site-context-
|
|
31
|
+
import { _ as RiskPolicyEvaluator, l as TaxonomyHitlPayloadBuilder } from "../../../../../../../site-context-Dr_5pFHr.mjs";
|
|
32
32
|
import { C as taxonomyApiRouteSource, m as logTaxonomyActivity } from "../../../../../../../activity-events-CjOgr0Uv.mjs";
|
|
33
|
-
import { i as resolveHitlRouteActor, n as hitlRequiredRouteError, t as ensureWorkflowHitlRouteRequest } from "../../../../../../../hitl-route-helpers-
|
|
33
|
+
import { i as resolveHitlRouteActor, n as hitlRequiredRouteError, t as ensureWorkflowHitlRouteRequest } from "../../../../../../../hitl-route-helpers-CNqNbune.mjs";
|
|
34
34
|
import { z } from "zod";
|
|
35
35
|
|
|
36
36
|
//#region src/astro/routes/api/taxonomies/[name]/terms/[slug]/translations.ts
|
|
@@ -28,9 +28,9 @@ import "../../../../../../api/schemas/index.mjs";
|
|
|
28
28
|
import "../../../../../../utils-BftjFpR0.mjs";
|
|
29
29
|
import "../../../../../../search-DjaP_Dw-.mjs";
|
|
30
30
|
import { n as requirePerm } from "../../../../../../authorize-BgIG3yfN.mjs";
|
|
31
|
-
import { _ as RiskPolicyEvaluator, l as TaxonomyHitlPayloadBuilder } from "../../../../../../site-context-
|
|
31
|
+
import { _ as RiskPolicyEvaluator, l as TaxonomyHitlPayloadBuilder } from "../../../../../../site-context-Dr_5pFHr.mjs";
|
|
32
32
|
import { C as taxonomyApiRouteSource, m as logTaxonomyActivity, t as activityChangedKeys } from "../../../../../../activity-events-CjOgr0Uv.mjs";
|
|
33
|
-
import { i as resolveHitlRouteActor, n as hitlRequiredRouteError, t as ensureWorkflowHitlRouteRequest } from "../../../../../../hitl-route-helpers-
|
|
33
|
+
import { i as resolveHitlRouteActor, n as hitlRequiredRouteError, t as ensureWorkflowHitlRouteRequest } from "../../../../../../hitl-route-helpers-CNqNbune.mjs";
|
|
34
34
|
import { z } from "zod";
|
|
35
35
|
|
|
36
36
|
//#region src/astro/routes/api/taxonomies/[name]/terms/[slug].ts
|
|
@@ -28,9 +28,9 @@ import "../../../../../../api/schemas/index.mjs";
|
|
|
28
28
|
import "../../../../../../utils-BftjFpR0.mjs";
|
|
29
29
|
import "../../../../../../search-DjaP_Dw-.mjs";
|
|
30
30
|
import { n as requirePerm } from "../../../../../../authorize-BgIG3yfN.mjs";
|
|
31
|
-
import { _ as RiskPolicyEvaluator, l as TaxonomyHitlPayloadBuilder } from "../../../../../../site-context-
|
|
31
|
+
import { _ as RiskPolicyEvaluator, l as TaxonomyHitlPayloadBuilder } from "../../../../../../site-context-Dr_5pFHr.mjs";
|
|
32
32
|
import { C as taxonomyApiRouteSource, m as logTaxonomyActivity } from "../../../../../../activity-events-CjOgr0Uv.mjs";
|
|
33
|
-
import { i as resolveHitlRouteActor, n as hitlRequiredRouteError, t as ensureWorkflowHitlRouteRequest } from "../../../../../../hitl-route-helpers-
|
|
33
|
+
import { i as resolveHitlRouteActor, n as hitlRequiredRouteError, t as ensureWorkflowHitlRouteRequest } from "../../../../../../hitl-route-helpers-CNqNbune.mjs";
|
|
34
34
|
import { z } from "zod";
|
|
35
35
|
|
|
36
36
|
//#region src/astro/routes/api/taxonomies/[name]/terms/index.ts
|
|
@@ -28,9 +28,9 @@ import "../../../../api/schemas/index.mjs";
|
|
|
28
28
|
import "../../../../utils-BftjFpR0.mjs";
|
|
29
29
|
import "../../../../search-DjaP_Dw-.mjs";
|
|
30
30
|
import { n as requirePerm } from "../../../../authorize-BgIG3yfN.mjs";
|
|
31
|
-
import { _ as RiskPolicyEvaluator, l as TaxonomyHitlPayloadBuilder } from "../../../../site-context-
|
|
31
|
+
import { _ as RiskPolicyEvaluator, l as TaxonomyHitlPayloadBuilder } from "../../../../site-context-Dr_5pFHr.mjs";
|
|
32
32
|
import { C as taxonomyApiRouteSource, m as logTaxonomyActivity } from "../../../../activity-events-CjOgr0Uv.mjs";
|
|
33
|
-
import { i as resolveHitlRouteActor, n as hitlRequiredRouteError, t as ensureWorkflowHitlRouteRequest } from "../../../../hitl-route-helpers-
|
|
33
|
+
import { i as resolveHitlRouteActor, n as hitlRequiredRouteError, t as ensureWorkflowHitlRouteRequest } from "../../../../hitl-route-helpers-CNqNbune.mjs";
|
|
34
34
|
import { z } from "zod";
|
|
35
35
|
|
|
36
36
|
//#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-Dyf9fGZE.mjs";
|
|
4
4
|
import { n as getPublicOrigin } from "../../../../public-url-DuRGs0uF.mjs";
|
|
5
|
-
import { i as resolveSecretsCached } from "../../../../secrets-
|
|
5
|
+
import { i as resolveSecretsCached } from "../../../../secrets-BIrqds5c.mjs";
|
|
6
6
|
import { n as requirePerm } from "../../../../authorize-BgIG3yfN.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-2a3KsDX2.mjs";
|
|
3
|
+
import { t as getAuthMode } from "../../../../mode-BI1kRvlT.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-DuRGs0uF.mjs";
|
|
2
|
-
import { a as filterExperimentalSiteContextWorkflowScopes } from "../../../../experimental-workflows-
|
|
2
|
+
import { a as filterExperimentalSiteContextWorkflowScopes } from "../../../../experimental-workflows-C7o_9V7S.mjs";
|
|
3
3
|
import { t as ALL_VALID_SCOPES } from "../../../../api-tokens-BZ9aAeCo.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-DuRGs0uF.mjs";
|
|
2
|
-
import { a as filterExperimentalSiteContextWorkflowScopes } from "../../../../experimental-workflows-
|
|
2
|
+
import { a as filterExperimentalSiteContextWorkflowScopes } from "../../../../experimental-workflows-C7o_9V7S.mjs";
|
|
3
3
|
import { t as ALL_VALID_SCOPES } from "../../../../api-tokens-BZ9aAeCo.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-BftjFpR0.mjs";
|
|
26
26
|
import "../../../../../search-DjaP_Dw-.mjs";
|
|
27
27
|
import { n as requirePerm } from "../../../../../authorize-BgIG3yfN.mjs";
|
|
28
|
-
import { _ as RiskPolicyEvaluator, s as WidgetHitlPayloadBuilder } from "../../../../../site-context-
|
|
28
|
+
import { _ as RiskPolicyEvaluator, s as WidgetHitlPayloadBuilder } from "../../../../../site-context-Dr_5pFHr.mjs";
|
|
29
29
|
import { h as logWidgetActivity, w as widgetApiRouteSource } from "../../../../../activity-events-CjOgr0Uv.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-CNqNbune.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-BftjFpR0.mjs";
|
|
|
26
26
|
import { i as rowToWidget } from "../../../../../../widgets-BFh1UZN5.mjs";
|
|
27
27
|
import "../../../../../../search-DjaP_Dw-.mjs";
|
|
28
28
|
import { n as requirePerm } from "../../../../../../authorize-BgIG3yfN.mjs";
|
|
29
|
-
import { _ as RiskPolicyEvaluator, s as WidgetHitlPayloadBuilder } from "../../../../../../site-context-
|
|
29
|
+
import { _ as RiskPolicyEvaluator, s as WidgetHitlPayloadBuilder } from "../../../../../../site-context-Dr_5pFHr.mjs";
|
|
30
30
|
import { h as logWidgetActivity, t as activityChangedKeys, w as widgetApiRouteSource } from "../../../../../../activity-events-CjOgr0Uv.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-CNqNbune.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-BftjFpR0.mjs";
|
|
|
26
26
|
import { i as rowToWidget } from "../../../../../widgets-BFh1UZN5.mjs";
|
|
27
27
|
import "../../../../../search-DjaP_Dw-.mjs";
|
|
28
28
|
import { n as requirePerm } from "../../../../../authorize-BgIG3yfN.mjs";
|
|
29
|
-
import { _ as RiskPolicyEvaluator, s as WidgetHitlPayloadBuilder } from "../../../../../site-context-
|
|
29
|
+
import { _ as RiskPolicyEvaluator, s as WidgetHitlPayloadBuilder } from "../../../../../site-context-Dr_5pFHr.mjs";
|
|
30
30
|
import { h as logWidgetActivity, w as widgetApiRouteSource } from "../../../../../activity-events-CjOgr0Uv.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-CNqNbune.mjs";
|
|
32
32
|
import { ulid } from "ulidx";
|
|
33
33
|
import { z } from "zod";
|
|
34
34
|
|
|
@@ -23,9 +23,9 @@ import "../../../../utils-BftjFpR0.mjs";
|
|
|
23
23
|
import { i as rowToWidget } from "../../../../widgets-BFh1UZN5.mjs";
|
|
24
24
|
import "../../../../search-DjaP_Dw-.mjs";
|
|
25
25
|
import { n as requirePerm } from "../../../../authorize-BgIG3yfN.mjs";
|
|
26
|
-
import { _ as RiskPolicyEvaluator, s as WidgetHitlPayloadBuilder } from "../../../../site-context-
|
|
26
|
+
import { _ as RiskPolicyEvaluator, s as WidgetHitlPayloadBuilder } from "../../../../site-context-Dr_5pFHr.mjs";
|
|
27
27
|
import { h as logWidgetActivity, w as widgetApiRouteSource } from "../../../../activity-events-CjOgr0Uv.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-CNqNbune.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-BftjFpR0.mjs";
|
|
|
26
26
|
import { i as rowToWidget } from "../../../../widgets-BFh1UZN5.mjs";
|
|
27
27
|
import "../../../../search-DjaP_Dw-.mjs";
|
|
28
28
|
import { n as requirePerm } from "../../../../authorize-BgIG3yfN.mjs";
|
|
29
|
-
import { _ as RiskPolicyEvaluator, s as WidgetHitlPayloadBuilder } from "../../../../site-context-
|
|
29
|
+
import { _ as RiskPolicyEvaluator, s as WidgetHitlPayloadBuilder } from "../../../../site-context-Dr_5pFHr.mjs";
|
|
30
30
|
import { h as logWidgetActivity, w as widgetApiRouteSource } from "../../../../activity-events-CjOgr0Uv.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-CNqNbune.mjs";
|
|
32
32
|
import { ulid } from "ulidx";
|
|
33
33
|
import { z } from "zod";
|
|
34
34
|
|
package/dist/astro/types.d.mts
CHANGED
|
@@ -8,7 +8,7 @@ import "../runner-BJm_NJr2.mjs";
|
|
|
8
8
|
import "../index-CxVXYBXq.mjs";
|
|
9
9
|
import "../index-DUurmpun.mjs";
|
|
10
10
|
import { d as Storage } from "../types-B7Uld4FZ.mjs";
|
|
11
|
-
import "../bylines-
|
|
11
|
+
import "../bylines-DVHl9JXW.mjs";
|
|
12
12
|
import "../types-DbtpYtHx.mjs";
|
|
13
13
|
import "../validate-BikB29gc.mjs";
|
|
14
14
|
import "../index.mjs";
|
|
@@ -4,7 +4,7 @@ import { z } from "zod";
|
|
|
4
4
|
/** Valid role level values */
|
|
5
5
|
declare const VALID_ROLE_LEVELS: Set<number>;
|
|
6
6
|
/** Role level — coerces string/number to valid RoleLevel (10|20|30|40|50) */
|
|
7
|
-
declare const roleLevel: z.ZodCoercedNumber<unknown> & z.ZodType<
|
|
7
|
+
declare const roleLevel: z.ZodCoercedNumber<unknown> & z.ZodType<10 | 20 | 30 | 40 | 50, unknown, z.core.$ZodTypeInternals<10 | 20 | 30 | 40 | 50, unknown>>;
|
|
8
8
|
/** Pagination query params — cursor-based */
|
|
9
9
|
declare const cursorPaginationQuery: z.ZodObject<{
|
|
10
10
|
cursor: z.ZodOptional<z.ZodString>;
|
|
@@ -519,11 +519,11 @@ declare const createCollectionBody: z.ZodObject<{
|
|
|
519
519
|
description: z.ZodOptional<z.ZodString>;
|
|
520
520
|
icon: z.ZodOptional<z.ZodString>;
|
|
521
521
|
supports: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
522
|
+
search: "search";
|
|
522
523
|
drafts: "drafts";
|
|
523
524
|
revisions: "revisions";
|
|
524
525
|
preview: "preview";
|
|
525
526
|
scheduling: "scheduling";
|
|
526
|
-
search: "search";
|
|
527
527
|
}>>>;
|
|
528
528
|
source: z.ZodOptional<z.ZodString>;
|
|
529
529
|
urlPattern: z.ZodOptional<z.ZodString>;
|
|
@@ -535,11 +535,11 @@ declare const updateCollectionBody: z.ZodObject<{
|
|
|
535
535
|
description: z.ZodOptional<z.ZodString>;
|
|
536
536
|
icon: z.ZodOptional<z.ZodString>;
|
|
537
537
|
supports: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
538
|
+
search: "search";
|
|
538
539
|
drafts: "drafts";
|
|
539
540
|
revisions: "revisions";
|
|
540
541
|
preview: "preview";
|
|
541
542
|
scheduling: "scheduling";
|
|
542
|
-
search: "search";
|
|
543
543
|
}>>>;
|
|
544
544
|
urlPattern: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
545
545
|
hasSeo: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -560,8 +560,8 @@ declare const createFieldBody: z.ZodObject<{
|
|
|
560
560
|
number: "number";
|
|
561
561
|
boolean: "boolean";
|
|
562
562
|
file: "file";
|
|
563
|
-
image: "image";
|
|
564
563
|
url: "url";
|
|
564
|
+
image: "image";
|
|
565
565
|
slug: "slug";
|
|
566
566
|
datetime: "datetime";
|
|
567
567
|
text: "text";
|
|
@@ -687,8 +687,8 @@ declare const fieldSchema: z.ZodObject<{
|
|
|
687
687
|
number: "number";
|
|
688
688
|
boolean: "boolean";
|
|
689
689
|
file: "file";
|
|
690
|
-
image: "image";
|
|
691
690
|
url: "url";
|
|
691
|
+
image: "image";
|
|
692
692
|
slug: "slug";
|
|
693
693
|
datetime: "datetime";
|
|
694
694
|
text: "text";
|
|
@@ -752,8 +752,8 @@ declare const collectionWithFieldsResponseSchema: z.ZodObject<{
|
|
|
752
752
|
number: "number";
|
|
753
753
|
boolean: "boolean";
|
|
754
754
|
file: "file";
|
|
755
|
-
image: "image";
|
|
756
755
|
url: "url";
|
|
756
|
+
image: "image";
|
|
757
757
|
slug: "slug";
|
|
758
758
|
datetime: "datetime";
|
|
759
759
|
text: "text";
|
|
@@ -806,8 +806,8 @@ declare const fieldResponseSchema: z.ZodObject<{
|
|
|
806
806
|
number: "number";
|
|
807
807
|
boolean: "boolean";
|
|
808
808
|
file: "file";
|
|
809
|
-
image: "image";
|
|
810
809
|
url: "url";
|
|
810
|
+
image: "image";
|
|
811
811
|
slug: "slug";
|
|
812
812
|
datetime: "datetime";
|
|
813
813
|
text: "text";
|
|
@@ -843,8 +843,8 @@ declare const fieldListResponseSchema: z.ZodObject<{
|
|
|
843
843
|
number: "number";
|
|
844
844
|
boolean: "boolean";
|
|
845
845
|
file: "file";
|
|
846
|
-
image: "image";
|
|
847
846
|
url: "url";
|
|
847
|
+
image: "image";
|
|
848
848
|
slug: "slug";
|
|
849
849
|
datetime: "datetime";
|
|
850
850
|
text: "text";
|
|
@@ -1024,13 +1024,13 @@ declare const contextEntryListQuery: z.ZodObject<{
|
|
|
1024
1024
|
declare const contextEntryStaleQuery: z.ZodObject<{
|
|
1025
1025
|
cursor: z.ZodOptional<z.ZodString>;
|
|
1026
1026
|
limit: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
1027
|
+
contextTypes: z.ZodPipe<z.ZodOptional<z.ZodString>, z.ZodTransform<string[] | undefined, string | undefined>>;
|
|
1028
|
+
scope: z.ZodOptional<z.ZodString>;
|
|
1027
1029
|
includeInherited: z.ZodPipe<z.ZodOptional<z.ZodEnum<{
|
|
1028
1030
|
true: "true";
|
|
1029
1031
|
false: "false";
|
|
1030
1032
|
}>>, z.ZodTransform<boolean | undefined, "true" | "false" | undefined>>;
|
|
1031
|
-
contextTypes: z.ZodPipe<z.ZodOptional<z.ZodString>, z.ZodTransform<string[] | undefined, string | undefined>>;
|
|
1032
1033
|
tags: z.ZodPipe<z.ZodOptional<z.ZodString>, z.ZodTransform<string[] | undefined, string | undefined>>;
|
|
1033
|
-
scope: z.ZodOptional<z.ZodString>;
|
|
1034
1034
|
createdByActorType: z.ZodOptional<z.ZodEnum<{
|
|
1035
1035
|
user: "user";
|
|
1036
1036
|
api_token: "api_token";
|
|
@@ -1194,7 +1194,7 @@ declare const signupCompleteBody: z.ZodObject<{
|
|
|
1194
1194
|
}, z.core.$strip>;
|
|
1195
1195
|
declare const inviteCreateBody: z.ZodObject<{
|
|
1196
1196
|
email: z.ZodString;
|
|
1197
|
-
role: z.ZodOptional<z.ZodCoercedNumber<unknown> & z.ZodType<
|
|
1197
|
+
role: z.ZodOptional<z.ZodCoercedNumber<unknown> & z.ZodType<10 | 20 | 30 | 40 | 50, unknown, z.core.$ZodTypeInternals<10 | 20 | 30 | 40 | 50, unknown>>>;
|
|
1198
1198
|
}, z.core.$strip>;
|
|
1199
1199
|
declare const inviteCompleteBody: z.ZodObject<{
|
|
1200
1200
|
token: z.ZodString;
|
|
@@ -1746,15 +1746,15 @@ declare const usersListQuery: z.ZodObject<{
|
|
|
1746
1746
|
declare const userUpdateBody: z.ZodObject<{
|
|
1747
1747
|
name: z.ZodOptional<z.ZodString>;
|
|
1748
1748
|
email: z.ZodOptional<z.ZodString>;
|
|
1749
|
-
role: z.ZodOptional<z.ZodCoercedNumber<unknown> & z.ZodType<
|
|
1749
|
+
role: z.ZodOptional<z.ZodCoercedNumber<unknown> & z.ZodType<10 | 20 | 30 | 40 | 50, unknown, z.core.$ZodTypeInternals<10 | 20 | 30 | 40 | 50, unknown>>>;
|
|
1750
1750
|
}, z.core.$strip>;
|
|
1751
1751
|
declare const allowedDomainCreateBody: z.ZodObject<{
|
|
1752
1752
|
domain: z.ZodString;
|
|
1753
|
-
defaultRole: z.ZodCoercedNumber<unknown> & z.ZodType<
|
|
1753
|
+
defaultRole: z.ZodCoercedNumber<unknown> & z.ZodType<10 | 20 | 30 | 40 | 50, unknown, z.core.$ZodTypeInternals<10 | 20 | 30 | 40 | 50, unknown>>;
|
|
1754
1754
|
}, z.core.$strip>;
|
|
1755
1755
|
declare const allowedDomainUpdateBody: z.ZodObject<{
|
|
1756
1756
|
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
1757
|
-
defaultRole: z.ZodOptional<z.ZodCoercedNumber<unknown> & z.ZodType<
|
|
1757
|
+
defaultRole: z.ZodOptional<z.ZodCoercedNumber<unknown> & z.ZodType<10 | 20 | 30 | 40 | 50, unknown, z.core.$ZodTypeInternals<10 | 20 | 30 | 40 | 50, unknown>>>;
|
|
1758
1758
|
}, z.core.$strip>;
|
|
1759
1759
|
declare const userSchema: z.ZodObject<{
|
|
1760
1760
|
id: z.ZodString;
|