dineway 0.1.21 → 0.1.22
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 +2 -2
- package/dist/api/route-utils.mjs +1 -1
- package/dist/api/schemas/index.d.mts +1 -1
- package/dist/{api-Fu6WeyUl.mjs → api-BF2_bQPS.mjs} +1 -1
- package/dist/astro/index.d.mts +2 -2
- package/dist/astro/index.mjs +2 -2
- package/dist/astro/middleware/auth.d.mts +2 -2
- 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 +2 -2
- package/dist/{bylines-DVHl9JXW.d.mts → bylines-CcEr0bxd.d.mts} +19 -19
- package/dist/cli/index.mjs +4 -4
- package/dist/{context-CnrsB3lh.mjs → context-CUJ2Qwb4.mjs} +1 -1
- package/dist/{device-flow-AsTA1k4t.mjs → device-flow-Pab2PQTA.mjs} +2 -2
- package/dist/{hitl-requests-DcTPiuog.mjs → hitl-requests-D5CLRMGC.mjs} +2 -2
- package/dist/{hitl-route-helpers-CNqNbune.mjs → hitl-route-helpers-SRAfZqf9.mjs} +2 -2
- package/dist/index.d.mts +2 -2
- package/dist/index.mjs +1 -1
- package/dist/media/local-runtime.d.mts +2 -2
- package/dist/{oauth-authorization-CRwAJzzA.mjs → oauth-authorization-CFcMq7NJ.mjs} +2 -2
- package/dist/{oauth-clients-BlHrNh_u.mjs → oauth-clients-CS1nQbC3.mjs} +1 -1
- package/dist/plugins/adapt-sandbox-entry.d.mts +2 -2
- package/dist/{runtime-CbnJMIeq.d.mts → runtime-D8iQkQwl.d.mts} +2 -2
- package/dist/runtime.d.mts +2 -2
- package/dist/{site-context-Dr_5pFHr.mjs → site-context-CDnyARws.mjs} +1 -1
- package/dist/version-9XopR1mw.mjs +6 -0
- package/package.json +2 -2
- package/dist/version-2a3KsDX2.mjs +0 -6
- /package/dist/{allowed-origins-3nAx5Xeo.mjs → allowed-origins-CIP5fh83.mjs} +0 -0
- /package/dist/{challenge-store-B9odzfeh.mjs → challenge-store-cJam-E5R.mjs} +0 -0
- /package/dist/{experimental-workflows-C7o_9V7S.mjs → experimental-workflows-BbZbIEZp.mjs} +0 -0
- /package/dist/{mode-BI1kRvlT.mjs → mode-Bd55iLcP.mjs} +0 -0
- /package/dist/{secrets-BIrqds5c.mjs → secrets-DfeNNoLa.mjs} +0 -0
- /package/dist/{setup-complete-BvSeN5Wh.mjs → setup-complete-DgsQYTC2.mjs} +0 -0
|
@@ -7,7 +7,7 @@ import "../../../../import-BO_gy5vZ.mjs";
|
|
|
7
7
|
import { setupAdminBody } from "../../../../api/schemas/setup.mjs";
|
|
8
8
|
import "../../../../api/schemas/index.mjs";
|
|
9
9
|
import { n as getPublicOrigin } from "../../../../public-url-DuRGs0uF.mjs";
|
|
10
|
-
import { n as createChallengeStore } from "../../../../challenge-store-
|
|
10
|
+
import { n as createChallengeStore } from "../../../../challenge-store-cJam-E5R.mjs";
|
|
11
11
|
import { t as getPasskeyConfig } from "../../../../passkey-config-CDew7KVU.mjs";
|
|
12
12
|
import { n as SETUP_NONCE_MAX_AGE_SECONDS, t as SETUP_NONCE_COOKIE } from "../../../../setup-nonce-ChVabyO2.mjs";
|
|
13
13
|
import { createKyselyAdapter } from "@dineway-ai/auth/adapters/kysely";
|
|
@@ -25,7 +25,7 @@ import { t as validateSeed } from "../../../../validate-BGpmNtMe.mjs";
|
|
|
25
25
|
import { t as applySeed } from "../../../../apply-D7vu4aFn.mjs";
|
|
26
26
|
import { t as loadSeed } from "../../../../load-5R4qZ4zn.mjs";
|
|
27
27
|
import { n as getPublicOrigin } from "../../../../public-url-DuRGs0uF.mjs";
|
|
28
|
-
import { t as getAuthMode } from "../../../../mode-
|
|
28
|
+
import { t as getAuthMode } from "../../../../mode-Bd55iLcP.mjs";
|
|
29
29
|
|
|
30
30
|
//#region src/astro/routes/api/setup/index.ts
|
|
31
31
|
const prerender = false;
|
|
@@ -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-Bd55iLcP.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-DfeNNoLa.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-CDnyARws.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-SRAfZqf9.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-CDnyARws.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-SRAfZqf9.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-CDnyARws.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-SRAfZqf9.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-CDnyARws.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-SRAfZqf9.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-DfeNNoLa.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-9XopR1mw.mjs";
|
|
3
|
+
import { t as getAuthMode } from "../../../../mode-Bd55iLcP.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-BbZbIEZp.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-BbZbIEZp.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-CDnyARws.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-SRAfZqf9.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-CDnyARws.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-SRAfZqf9.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-CDnyARws.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-SRAfZqf9.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-CDnyARws.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-SRAfZqf9.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-CDnyARws.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-SRAfZqf9.mjs";
|
|
32
32
|
import { ulid } from "ulidx";
|
|
33
33
|
import { z } from "zod";
|
|
34
34
|
|
package/dist/astro/types.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { r as ContentItem } from "../types-Brp7Hv9S.mjs";
|
|
2
|
-
import { Kn as MediaItem, en as SandboxRunner, mn as MediaResponse, nt as HookPipeline, or as ContentListResponse, pn as MediaListResponse, sr as ContentResponse, t as DinewayConfig, tt as EmailPipeline } from "../runtime-
|
|
2
|
+
import { Kn as MediaItem, en as SandboxRunner, mn as MediaResponse, nt as HookPipeline, or as ContentListResponse, pn as MediaListResponse, sr as ContentResponse, t as DinewayConfig, tt as EmailPipeline } from "../runtime-D8iQkQwl.mjs";
|
|
3
3
|
import { t as Database } from "../types-DwIXYH8s.mjs";
|
|
4
4
|
import { A as PageMetadataContribution, D as PageFragmentContribution, X as ResolvedPlugin, ct as Element, q as PublicPageContext } from "../types-DzBAohLy.mjs";
|
|
5
5
|
import "../types-BSP1HbdT.mjs";
|
|
@@ -8,7 +8,7 @@ import "../runner-BJm_NJr2.mjs";
|
|
|
8
8
|
import "../index-CxVXYBXq.mjs";
|
|
9
9
|
import "../index-DUurmpun.mjs";
|
|
10
10
|
import { d as Storage } from "../types-B7Uld4FZ.mjs";
|
|
11
|
-
import "../bylines-
|
|
11
|
+
import "../bylines-CcEr0bxd.mjs";
|
|
12
12
|
import "../types-DbtpYtHx.mjs";
|
|
13
13
|
import "../validate-BikB29gc.mjs";
|
|
14
14
|
import "../index.mjs";
|
|
@@ -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";
|
|
523
522
|
drafts: "drafts";
|
|
524
523
|
revisions: "revisions";
|
|
525
524
|
preview: "preview";
|
|
526
525
|
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";
|
|
539
538
|
drafts: "drafts";
|
|
540
539
|
revisions: "revisions";
|
|
541
540
|
preview: "preview";
|
|
542
541
|
scheduling: "scheduling";
|
|
542
|
+
search: "search";
|
|
543
543
|
}>>>;
|
|
544
544
|
urlPattern: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
545
545
|
hasSeo: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -561,14 +561,14 @@ declare const createFieldBody: z.ZodObject<{
|
|
|
561
561
|
boolean: "boolean";
|
|
562
562
|
file: "file";
|
|
563
563
|
url: "url";
|
|
564
|
-
image: "image";
|
|
565
564
|
slug: "slug";
|
|
566
|
-
datetime: "datetime";
|
|
567
565
|
text: "text";
|
|
568
566
|
integer: "integer";
|
|
567
|
+
datetime: "datetime";
|
|
569
568
|
select: "select";
|
|
570
569
|
multiSelect: "multiSelect";
|
|
571
570
|
portableText: "portableText";
|
|
571
|
+
image: "image";
|
|
572
572
|
reference: "reference";
|
|
573
573
|
json: "json";
|
|
574
574
|
repeater: "repeater";
|
|
@@ -591,9 +591,9 @@ declare const createFieldBody: z.ZodObject<{
|
|
|
591
591
|
number: "number";
|
|
592
592
|
boolean: "boolean";
|
|
593
593
|
url: "url";
|
|
594
|
-
datetime: "datetime";
|
|
595
594
|
text: "text";
|
|
596
595
|
integer: "integer";
|
|
596
|
+
datetime: "datetime";
|
|
597
597
|
select: "select";
|
|
598
598
|
}>;
|
|
599
599
|
label: z.ZodString;
|
|
@@ -630,9 +630,9 @@ declare const updateFieldBody: z.ZodObject<{
|
|
|
630
630
|
number: "number";
|
|
631
631
|
boolean: "boolean";
|
|
632
632
|
url: "url";
|
|
633
|
-
datetime: "datetime";
|
|
634
633
|
text: "text";
|
|
635
634
|
integer: "integer";
|
|
635
|
+
datetime: "datetime";
|
|
636
636
|
select: "select";
|
|
637
637
|
}>;
|
|
638
638
|
label: z.ZodString;
|
|
@@ -688,14 +688,14 @@ declare const fieldSchema: z.ZodObject<{
|
|
|
688
688
|
boolean: "boolean";
|
|
689
689
|
file: "file";
|
|
690
690
|
url: "url";
|
|
691
|
-
image: "image";
|
|
692
691
|
slug: "slug";
|
|
693
|
-
datetime: "datetime";
|
|
694
692
|
text: "text";
|
|
695
693
|
integer: "integer";
|
|
694
|
+
datetime: "datetime";
|
|
696
695
|
select: "select";
|
|
697
696
|
multiSelect: "multiSelect";
|
|
698
697
|
portableText: "portableText";
|
|
698
|
+
image: "image";
|
|
699
699
|
reference: "reference";
|
|
700
700
|
json: "json";
|
|
701
701
|
repeater: "repeater";
|
|
@@ -753,14 +753,14 @@ declare const collectionWithFieldsResponseSchema: z.ZodObject<{
|
|
|
753
753
|
boolean: "boolean";
|
|
754
754
|
file: "file";
|
|
755
755
|
url: "url";
|
|
756
|
-
image: "image";
|
|
757
756
|
slug: "slug";
|
|
758
|
-
datetime: "datetime";
|
|
759
757
|
text: "text";
|
|
760
758
|
integer: "integer";
|
|
759
|
+
datetime: "datetime";
|
|
761
760
|
select: "select";
|
|
762
761
|
multiSelect: "multiSelect";
|
|
763
762
|
portableText: "portableText";
|
|
763
|
+
image: "image";
|
|
764
764
|
reference: "reference";
|
|
765
765
|
json: "json";
|
|
766
766
|
repeater: "repeater";
|
|
@@ -807,14 +807,14 @@ declare const fieldResponseSchema: z.ZodObject<{
|
|
|
807
807
|
boolean: "boolean";
|
|
808
808
|
file: "file";
|
|
809
809
|
url: "url";
|
|
810
|
-
image: "image";
|
|
811
810
|
slug: "slug";
|
|
812
|
-
datetime: "datetime";
|
|
813
811
|
text: "text";
|
|
814
812
|
integer: "integer";
|
|
813
|
+
datetime: "datetime";
|
|
815
814
|
select: "select";
|
|
816
815
|
multiSelect: "multiSelect";
|
|
817
816
|
portableText: "portableText";
|
|
817
|
+
image: "image";
|
|
818
818
|
reference: "reference";
|
|
819
819
|
json: "json";
|
|
820
820
|
repeater: "repeater";
|
|
@@ -844,14 +844,14 @@ declare const fieldListResponseSchema: z.ZodObject<{
|
|
|
844
844
|
boolean: "boolean";
|
|
845
845
|
file: "file";
|
|
846
846
|
url: "url";
|
|
847
|
-
image: "image";
|
|
848
847
|
slug: "slug";
|
|
849
|
-
datetime: "datetime";
|
|
850
848
|
text: "text";
|
|
851
849
|
integer: "integer";
|
|
850
|
+
datetime: "datetime";
|
|
852
851
|
select: "select";
|
|
853
852
|
multiSelect: "multiSelect";
|
|
854
853
|
portableText: "portableText";
|
|
854
|
+
image: "image";
|
|
855
855
|
reference: "reference";
|
|
856
856
|
json: "json";
|
|
857
857
|
repeater: "repeater";
|
|
@@ -1022,14 +1022,14 @@ declare const contextEntryListQuery: z.ZodObject<{
|
|
|
1022
1022
|
cursor: z.ZodOptional<z.ZodString>;
|
|
1023
1023
|
}, z.core.$strip>;
|
|
1024
1024
|
declare const contextEntryStaleQuery: z.ZodObject<{
|
|
1025
|
-
cursor: z.ZodOptional<z.ZodString>;
|
|
1026
|
-
limit: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
1027
|
-
contextTypes: z.ZodPipe<z.ZodOptional<z.ZodString>, z.ZodTransform<string[] | undefined, string | undefined>>;
|
|
1028
1025
|
scope: z.ZodOptional<z.ZodString>;
|
|
1026
|
+
limit: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
1027
|
+
cursor: z.ZodOptional<z.ZodString>;
|
|
1029
1028
|
includeInherited: z.ZodPipe<z.ZodOptional<z.ZodEnum<{
|
|
1030
1029
|
true: "true";
|
|
1031
1030
|
false: "false";
|
|
1032
1031
|
}>>, z.ZodTransform<boolean | undefined, "true" | "false" | undefined>>;
|
|
1032
|
+
contextTypes: z.ZodPipe<z.ZodOptional<z.ZodString>, z.ZodTransform<string[] | undefined, string | undefined>>;
|
|
1033
1033
|
tags: z.ZodPipe<z.ZodOptional<z.ZodString>, z.ZodTransform<string[] | undefined, string | undefined>>;
|
|
1034
1034
|
createdByActorType: z.ZodOptional<z.ZodEnum<{
|
|
1035
1035
|
user: "user";
|
|
@@ -1051,6 +1051,7 @@ declare const contextEntryDiffQuery: z.ZodObject<{
|
|
|
1051
1051
|
declare const contextEntryCreateBody: z.ZodObject<{
|
|
1052
1052
|
scope: z.ZodString;
|
|
1053
1053
|
contextType: z.ZodEnum<{
|
|
1054
|
+
decision: "decision";
|
|
1054
1055
|
brand_voice: "brand_voice";
|
|
1055
1056
|
seo_strategy: "seo_strategy";
|
|
1056
1057
|
audience: "audience";
|
|
@@ -1060,7 +1061,6 @@ declare const contextEntryCreateBody: z.ZodObject<{
|
|
|
1060
1061
|
migration_note: "migration_note";
|
|
1061
1062
|
plugin_note: "plugin_note";
|
|
1062
1063
|
agent_reasoning: "agent_reasoning";
|
|
1063
|
-
decision: "decision";
|
|
1064
1064
|
risk: "risk";
|
|
1065
1065
|
content_gap: "content_gap";
|
|
1066
1066
|
style_exception: "style_exception";
|
|
@@ -1075,6 +1075,7 @@ declare const contextEntryCreateBody: z.ZodObject<{
|
|
|
1075
1075
|
declare const contextEntrySupersedeBody: z.ZodObject<{
|
|
1076
1076
|
scope: z.ZodOptional<z.ZodString>;
|
|
1077
1077
|
contextType: z.ZodOptional<z.ZodEnum<{
|
|
1078
|
+
decision: "decision";
|
|
1078
1079
|
brand_voice: "brand_voice";
|
|
1079
1080
|
seo_strategy: "seo_strategy";
|
|
1080
1081
|
audience: "audience";
|
|
@@ -1084,7 +1085,6 @@ declare const contextEntrySupersedeBody: z.ZodObject<{
|
|
|
1084
1085
|
migration_note: "migration_note";
|
|
1085
1086
|
plugin_note: "plugin_note";
|
|
1086
1087
|
agent_reasoning: "agent_reasoning";
|
|
1087
|
-
decision: "decision";
|
|
1088
1088
|
risk: "risk";
|
|
1089
1089
|
content_gap: "content_gap";
|
|
1090
1090
|
style_exception: "style_exception";
|
package/dist/cli/index.mjs
CHANGED
|
@@ -22,7 +22,7 @@ import { i as pluginManifestSchema } from "../manifest-schema-CU0XL_ZK.mjs";
|
|
|
22
22
|
import "../ssrf-z3oH8wjK.mjs";
|
|
23
23
|
import { t as validateSeed } from "../validate-BGpmNtMe.mjs";
|
|
24
24
|
import { t as applySeed } from "../apply-D7vu4aFn.mjs";
|
|
25
|
-
import { n as fingerprintKey, r as generateEncryptionKey, t as DinewaySecretsError } from "../secrets-
|
|
25
|
+
import { n as fingerprintKey, r as generateEncryptionKey, t as DinewaySecretsError } from "../secrets-DfeNNoLa.mjs";
|
|
26
26
|
import { o as convertDataForRead } from "../transport-Dt7A12-i.mjs";
|
|
27
27
|
import { createHeaderAwareFetch, customHeadersInterceptor, isRedirectResponse, resolveCustomHeaders } from "../client/external-auth-headers.mjs";
|
|
28
28
|
import { DinewayClient } from "../client/index.mjs";
|
|
@@ -1645,7 +1645,7 @@ async function resolveShadowProjectContext(cwd, options, seedPath, deps) {
|
|
|
1645
1645
|
let grant = await (deps.readShadowGrant ?? readForgewayShadowGrant)(platformApiUrl, savedPlaceId, cwd);
|
|
1646
1646
|
let restaurant;
|
|
1647
1647
|
if (!grant) {
|
|
1648
|
-
restaurant = await resolveRestaurantInfo(cwd, options, seedPath, deps, true);
|
|
1648
|
+
restaurant = await resolveRestaurantInfo(cwd, options, seedPath, deps, true, false);
|
|
1649
1649
|
if (!restaurant.name || !restaurant.city) throw new Error("Restaurant name and city are required for Forgeway shadow deploy.");
|
|
1650
1650
|
if (options.dryRun) throw new Error("Forgeway deploy needs a Dineway shadow deploy grant. Run without --dry-run to create it.");
|
|
1651
1651
|
grant = await createShadowGrant({
|
|
@@ -1861,9 +1861,9 @@ async function readSeedTitle(seedPath) {
|
|
|
1861
1861
|
return;
|
|
1862
1862
|
}
|
|
1863
1863
|
}
|
|
1864
|
-
async function resolveRestaurantInfo(cwd, options, seedPath, deps, requireForSlug) {
|
|
1864
|
+
async function resolveRestaurantInfo(cwd, options, seedPath, deps, requireForSlug, useSeedTitle = true) {
|
|
1865
1865
|
const savedRestaurant = (await readDeployPackageJson(cwd).catch(() => null))?.dineway?.restaurant;
|
|
1866
|
-
const seedTitle = await readSeedTitle(seedPath);
|
|
1866
|
+
const seedTitle = useSeedTitle ? await readSeedTitle(seedPath) : void 0;
|
|
1867
1867
|
let name = options.restaurantName ?? savedRestaurant?.name ?? seedTitle;
|
|
1868
1868
|
let city = options.city ?? savedRestaurant?.city;
|
|
1869
1869
|
if (requireForSlug) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { a as ContextRepository, i as parseSiteBriefingScope, n as SiteBriefingError } from "./briefing-Dk4I4VC8.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-CDnyARws.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-qfqpPVpu.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-BbZbIEZp.mjs";
|
|
3
3
|
import { a as hashApiToken, n as TOKEN_PREFIXES, r as generatePrefixedToken, t as ALL_VALID_SCOPES } from "./api-tokens-BZ9aAeCo.mjs";
|
|
4
|
-
import { o as lookupOAuthClient } from "./oauth-clients-
|
|
4
|
+
import { o as lookupOAuthClient } from "./oauth-clients-CS1nQbC3.mjs";
|
|
5
5
|
import { t as lookupUserRoleAndStatus } from "./oauth-user-lookup-B7-6YI3R.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-BbZbIEZp.mjs";
|
|
2
|
+
import { n as HitlRequestService } from "./site-context-CDnyARws.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-Dyf9fGZE.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-BbZbIEZp.mjs";
|
|
3
|
+
import { t as WorkflowHitlCoordinator } from "./site-context-CDnyARws.mjs";
|
|
4
4
|
import { T as resolveActorIdentity, p as logSiteActivitySafely } from "./activity-events-CjOgr0Uv.mjs";
|
|
5
5
|
import { Role } from "@dineway-ai/auth";
|
|
6
6
|
|
package/dist/index.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { a as ContentSeoInput, c as FindManyOptions, i as ContentSeo, l as FindManyResult, n as ContentBylineCredit, o as CreateContentInput, r as ContentItem, s as DinewayValidationError, t as BylineSummary, u as UpdateContentInput } from "./types-Brp7Hv9S.mjs";
|
|
2
|
-
import { $ as createPluginManager, $t as SandboxOptions, A as dropSessionDatabaseTables, An as handleContentDelete, At as verifyPreviewSignature, B as GeneratePreviewTokenOptions, Bn as handleContentSchedule, Bt as prosemirrorToPortableText, C as getByline, Cn as handleRevisionList, Ct as SessionOpenOrCreateOptions, D as AppliedSnapshotMeta, Dn as handleContentCountScheduled, Dt as defaultPreviewSidecarClient, E as renderPreviewToolbar, En as handleContentCompare, Et as buildPreviewSignatureHeader, F as getPreviewToken, Fn as handleContentList, Ft as AfterCallback, G as parseContentId, Gn as CreateMediaInput, Gt as PortableTextSpan, H as VerifyPreviewTokenOptions, Hn as handleContentUnpublish, Ht as PortableTextImageBlock, I as isPreviewRequest, In as handleContentListTrashed, It as after, J as createNodeSandboxRunner, Jn as ContentRepository, Jt as ProseMirrorDocument, K as verifyPreviewToken, Kn as MediaItem, Kt as PortableTextTextBlock, L as GetPreviewUrlOptions, Ln as handleContentPermanentDelete, Lt as computeContentHash, M as Snapshot, Mn as handleContentDuplicate, Mt as getFallbackChain, N as renderPreviewLoadingPage, Nn as handleContentGet, Nt as getI18nConfig, O as ApplySnapshotToDatabaseOptions, On as handleContentCountTrashed, Ot as parsePreviewSignatureHeader, P as isBlockedInPreview, Pn as handleContentGetIncludingTrashed, Pt as isI18nEnabled, Q as PluginManager, Qt as SandboxEmailSendCallback, R as buildPreviewUrl, Rn as handleContentPublish, Rt as hashString, S as Suggestion, Sn as handleRevisionGet, St as SessionOpenOptions, T as PreviewToolbarConfig, Tn as generateManifest, Tt as PreviewSidecarSignature, U as VerifyPreviewTokenResult, Un as handleContentUnschedule, Ut as PortableTextLinkMark, V as PreviewTokenPayload, Vn as handleContentTranslations, Vt as PortableTextCodeBlock, W as generatePreviewToken, Wn as handleContentUpdate, Wt as PortableTextMarkDef, X as SandboxNotAvailableError, Xn as DinewayDatabaseError, Xt as ProseMirrorNode, Y as NoopSandboxRunner, Yn as DatabaseConfig, Yt as ProseMirrorMark, Z as createNoopSandboxRunner, Zt as SandboxEmailMessage, _ as SearchOptions, _n as handleMediaGet, _t as SessionCleanupResult, an as getSections, ar as ApiContext, at as ValidatedPluginManifest, b as SearchStats, bn as RevisionListResponse, bt as SessionDatabaseInfo, c as extractSearchableFields, cn as Section, cr as FieldDescriptor, ct as CollectionFilter$1, d as search, dn as SchemaError, en as SandboxRunner, et as PluginRouteError, f as searchCollection, fn as SchemaRegistry, g as SearchConfig, gn as handleMediaDelete, gt as FileSessionDatabaseFactoryOptions, h as CollectionSearchOptions, hn as handleMediaCreate, ht as FileSessionDatabaseFactory, in as getSection, it as createHookPipeline, j as getAppliedSnapshotMeta, jn as handleContentDiscardDraft, jt as I18nConfig, k as applySnapshotToDatabase, kn as handleContentCreate, kt as signPreviewUrl, l as getSearchStats, ln as SectionSource, lr as ListResponse, lt as EntryData, m as FTSManager, mn as MediaResponse, mt as createFilePreviewMiddleware, n as PluginDescriptor, nn as SandboxedPlugin, nt as HookPipeline, on as CreateSectionInput, or as ContentListResponse, ot as pluginManifestSchema, p as searchWithDb, pn as MediaListResponse, pt as FilePreviewMiddlewareConfig, q as NodeSandboxRunner, qn as MediaRepository, qt as PortableTextUnknownBlock, rn as SerializedRequest, rt as HookResult, s as extractPlainText, sn as GetSectionsOptions, sr as ContentResponse, st as definePlugin, tn as SandboxRunnerFactory, u as getSuggestions, un as UpdateSectionInput, ur as ManifestResponse, ut as EntryFilter, v as SearchResponse, vn as handleMediaList, vt as SessionDatabaseFactory, w as getBylineBySlug, wn as handleRevisionRestore, wt as PreviewSidecarClient, x as SuggestOptions, xn as RevisionResponse, xt as SessionDatabaseLimitError, y as SearchResult, yn as handleMediaUpdate, yt as SessionDatabaseHandle, z as getPreviewUrl, zn as handleContentRestore, zt as portableTextToProsemirror } from "./runtime-
|
|
2
|
+
import { $ as createPluginManager, $t as SandboxOptions, A as dropSessionDatabaseTables, An as handleContentDelete, At as verifyPreviewSignature, B as GeneratePreviewTokenOptions, Bn as handleContentSchedule, Bt as prosemirrorToPortableText, C as getByline, Cn as handleRevisionList, Ct as SessionOpenOrCreateOptions, D as AppliedSnapshotMeta, Dn as handleContentCountScheduled, Dt as defaultPreviewSidecarClient, E as renderPreviewToolbar, En as handleContentCompare, Et as buildPreviewSignatureHeader, F as getPreviewToken, Fn as handleContentList, Ft as AfterCallback, G as parseContentId, Gn as CreateMediaInput, Gt as PortableTextSpan, H as VerifyPreviewTokenOptions, Hn as handleContentUnpublish, Ht as PortableTextImageBlock, I as isPreviewRequest, In as handleContentListTrashed, It as after, J as createNodeSandboxRunner, Jn as ContentRepository, Jt as ProseMirrorDocument, K as verifyPreviewToken, Kn as MediaItem, Kt as PortableTextTextBlock, L as GetPreviewUrlOptions, Ln as handleContentPermanentDelete, Lt as computeContentHash, M as Snapshot, Mn as handleContentDuplicate, Mt as getFallbackChain, N as renderPreviewLoadingPage, Nn as handleContentGet, Nt as getI18nConfig, O as ApplySnapshotToDatabaseOptions, On as handleContentCountTrashed, Ot as parsePreviewSignatureHeader, P as isBlockedInPreview, Pn as handleContentGetIncludingTrashed, Pt as isI18nEnabled, Q as PluginManager, Qt as SandboxEmailSendCallback, R as buildPreviewUrl, Rn as handleContentPublish, Rt as hashString, S as Suggestion, Sn as handleRevisionGet, St as SessionOpenOptions, T as PreviewToolbarConfig, Tn as generateManifest, Tt as PreviewSidecarSignature, U as VerifyPreviewTokenResult, Un as handleContentUnschedule, Ut as PortableTextLinkMark, V as PreviewTokenPayload, Vn as handleContentTranslations, Vt as PortableTextCodeBlock, W as generatePreviewToken, Wn as handleContentUpdate, Wt as PortableTextMarkDef, X as SandboxNotAvailableError, Xn as DinewayDatabaseError, Xt as ProseMirrorNode, Y as NoopSandboxRunner, Yn as DatabaseConfig, Yt as ProseMirrorMark, Z as createNoopSandboxRunner, Zt as SandboxEmailMessage, _ as SearchOptions, _n as handleMediaGet, _t as SessionCleanupResult, an as getSections, ar as ApiContext, at as ValidatedPluginManifest, b as SearchStats, bn as RevisionListResponse, bt as SessionDatabaseInfo, c as extractSearchableFields, cn as Section, cr as FieldDescriptor, ct as CollectionFilter$1, d as search, dn as SchemaError, en as SandboxRunner, et as PluginRouteError, f as searchCollection, fn as SchemaRegistry, g as SearchConfig, gn as handleMediaDelete, gt as FileSessionDatabaseFactoryOptions, h as CollectionSearchOptions, hn as handleMediaCreate, ht as FileSessionDatabaseFactory, in as getSection, it as createHookPipeline, j as getAppliedSnapshotMeta, jn as handleContentDiscardDraft, jt as I18nConfig, k as applySnapshotToDatabase, kn as handleContentCreate, kt as signPreviewUrl, l as getSearchStats, ln as SectionSource, lr as ListResponse, lt as EntryData, m as FTSManager, mn as MediaResponse, mt as createFilePreviewMiddleware, n as PluginDescriptor, nn as SandboxedPlugin, nt as HookPipeline, on as CreateSectionInput, or as ContentListResponse, ot as pluginManifestSchema, p as searchWithDb, pn as MediaListResponse, pt as FilePreviewMiddlewareConfig, q as NodeSandboxRunner, qn as MediaRepository, qt as PortableTextUnknownBlock, rn as SerializedRequest, rt as HookResult, s as extractPlainText, sn as GetSectionsOptions, sr as ContentResponse, st as definePlugin, tn as SandboxRunnerFactory, u as getSuggestions, un as UpdateSectionInput, ur as ManifestResponse, ut as EntryFilter, v as SearchResponse, vn as handleMediaList, vt as SessionDatabaseFactory, w as getBylineBySlug, wn as handleRevisionRestore, wt as PreviewSidecarClient, x as SuggestOptions, xn as RevisionResponse, xt as SessionDatabaseLimitError, y as SearchResult, yn as handleMediaUpdate, yt as SessionDatabaseHandle, z as getPreviewUrl, zn as handleContentRestore, zt as portableTextToProsemirror } from "./runtime-D8iQkQwl.mjs";
|
|
3
3
|
import { n as MediaTable, r as UserTable, t as Database } from "./types-DwIXYH8s.mjs";
|
|
4
4
|
import { $ as StandardHookEntry, A as PageMetadataContribution, B as PluginDefinition, C as MediaAccess, D as PageFragmentContribution, E as ModerationDecision, F as PluginAdminConfig, G as PortableTextBlockConfig, H as PluginManifest, I as PluginAdminExports, K as PortableTextBlockField, L as PluginAdminPage, M as PageMetadataHandler, O as PageFragmentEvent, P as PagePlacement, Q as RouteContext, R as PluginCapability, S as LogAccess, T as MediaUploadEvent, U as PluginRoute, V as PluginHooks, W as PluginStorageConfig, X as ResolvedPlugin, Y as ResolvedHook, Z as ResolvedPluginHooks, _ as FieldWidgetConfig, a as CommentAfterModerateEvent, b as HttpAccess, c as CommentBeforeCreateHandler, d as ContentAccess, et as StandardHookHandler, f as ContentDeleteEvent, i as CommentAfterCreateHandler, it as StorageCollection, j as PageMetadataEvent, k as PageFragmentHandler, l as CommentModerateEvent, m as ContentPublishStateChangeEvent, n as CollectionCommentSettings, nt as StandardRouteEntry, o as CommentAfterModerateHandler, ot as StoredComment, p as ContentHookEvent, q as PublicPageContext, r as CommentAfterCreateEvent, rt as StandardRouteHandler, s as CommentBeforeCreateEvent, st as isStandardPluginDefinition, t as BreadcrumbItem, tt as StandardPluginDefinition, u as CommentModerateHandler, v as HookConfig, x as KVAccess, y as HookName, z as PluginContext } from "./types-DzBAohLy.mjs";
|
|
5
5
|
import { _ as RESERVED_COLLECTION_SLUGS, a as Collection, b as UpdateFieldInput, c as CollectionWithFields, d as CreateFieldInput, f as FIELD_TYPE_TO_COLUMN, g as FieldWidgetOptions, h as FieldValidation, i as SiteSettings, l as ColumnType, m as FieldType, n as SeoSettings, o as CollectionSource, p as Field, r as SiteSettingKey, s as CollectionSupport, t as MediaReference, u as CreateCollectionInput, v as RESERVED_FIELD_SLUGS, y as UpdateCollectionInput } from "./types-CsX_6h1v.mjs";
|
|
@@ -11,7 +11,7 @@ import { $ as TranslationSummary, A as MenuItem, B as getPluginSettings, C as Ta
|
|
|
11
11
|
import { _ as WxrSite, a as getAllSources, b as parseWxrString, c as getUrlSources, d as importReusableBlocksAsSections, f as WxrAttachment, g as WxrPost, h as WxrData, i as clearSources, l as probeUrl, m as WxrCategory, n as parseWxrDate, o as getFileSources, p as WxrAuthor, r as wxrSource, s as getSource, t as wordpressRestSource, u as registerSource, v as WxrTag, x as decodeSlug, y as parseWxr } from "./index-DUurmpun.mjs";
|
|
12
12
|
import { n as generatePlaceholder, r as normalizeMediaValue, t as PlaceholderData } from "./placeholder-2N6m2_O6.mjs";
|
|
13
13
|
import { a as ListOptions, c as S3StorageConfig, d as Storage, f as StorageDescriptor, i as FileInfo, l as SignedUploadOptions, n as DinewayStorageError, o as ListResult, p as UploadResult, r as DownloadResult, s as LocalStorageConfig, t as CreateStorageFn, u as SignedUploadUrl } from "./types-B7Uld4FZ.mjs";
|
|
14
|
-
import "./bylines-
|
|
14
|
+
import "./bylines-CcEr0bxd.mjs";
|
|
15
15
|
import { DinewayRequestContext, getRequestContext, runWithContext } from "./request-context.mjs";
|
|
16
16
|
import { adaptSandboxEntry } from "./plugins/adapt-sandbox-entry.mjs";
|
|
17
17
|
import { S as UrlInput, _ as SourceAuth, a as FileInput, b as SourceProbeResult, c as ImportContext, d as ImportSource, f as NormalizedItem, g as ProbeResult, h as PostTypeMapping, i as FieldCompatibility, l as ImportFieldDef, m as PostTypeAnalysis, n as CollectionSchemaStatus, o as ImportAnalysis, p as OAuthInput, r as FetchOptions, s as ImportConfig, t as AttachmentInfo, u as ImportResult, v as SourceCapabilities, x as SuggestedAction, y as SourceInput } from "./types-DbtpYtHx.mjs";
|
package/dist/index.mjs
CHANGED
|
@@ -23,7 +23,7 @@ import "./byline-9WeA8b0a.mjs";
|
|
|
23
23
|
import { t as normalizeMediaValue } from "./normalize-ba36HTxZ.mjs";
|
|
24
24
|
import { t as generatePlaceholder } from "./placeholder-BAy3k441.mjs";
|
|
25
25
|
import "./seo-DASNc4gD.mjs";
|
|
26
|
-
import { A as handleRevisionGet, B as handleContentDuplicate, D as handleMediaGet, E as handleMediaDelete, F as handleContentCountScheduled, G as handleContentPermanentDelete, H as handleContentGetIncludingTrashed, I as handleContentCountTrashed, J as handleContentSchedule, K as handleContentPublish, L as handleContentCreate, M as handleRevisionRestore, N as generateManifest, O as handleMediaList, P as handleContentCompare, Q as handleContentUpdate, R as handleContentDelete, T as handleMediaCreate, U as handleContentList, V as handleContentGet, W as handleContentListTrashed, X as handleContentUnpublish, Y as handleContentTranslations, Z as handleContentUnschedule, j as handleRevisionList, k as handleMediaUpdate, q as handleContentRestore, z as handleContentDiscardDraft } from "./api-
|
|
26
|
+
import { A as handleRevisionGet, B as handleContentDuplicate, D as handleMediaGet, E as handleMediaDelete, F as handleContentCountScheduled, G as handleContentPermanentDelete, H as handleContentGetIncludingTrashed, I as handleContentCountTrashed, J as handleContentSchedule, K as handleContentPublish, L as handleContentCreate, M as handleRevisionRestore, N as generateManifest, O as handleMediaList, P as handleContentCompare, Q as handleContentUpdate, R as handleContentDelete, T as handleMediaCreate, U as handleContentList, V as handleContentGet, W as handleContentListTrashed, X as handleContentUnpublish, Y as handleContentTranslations, Z as handleContentUnschedule, j as handleRevisionList, k as handleMediaUpdate, q as handleContentRestore, z as handleContentDiscardDraft } from "./api-BF2_bQPS.mjs";
|
|
27
27
|
import "./request-cache-BzuhyUXj.mjs";
|
|
28
28
|
import "./dashboard-DdqRifyu.mjs";
|
|
29
29
|
import "./briefing-Dk4I4VC8.mjs";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import "../runtime-
|
|
1
|
+
import "../runtime-D8iQkQwl.mjs";
|
|
2
2
|
import { t as Database } from "../types-DwIXYH8s.mjs";
|
|
3
3
|
import "../types-DzBAohLy.mjs";
|
|
4
4
|
import "../types-BSP1HbdT.mjs";
|
|
@@ -7,7 +7,7 @@ import "../runner-BJm_NJr2.mjs";
|
|
|
7
7
|
import "../index-CxVXYBXq.mjs";
|
|
8
8
|
import "../index-DUurmpun.mjs";
|
|
9
9
|
import { d as Storage } from "../types-B7Uld4FZ.mjs";
|
|
10
|
-
import "../bylines-
|
|
10
|
+
import "../bylines-CcEr0bxd.mjs";
|
|
11
11
|
import "../types-DbtpYtHx.mjs";
|
|
12
12
|
import "../validate-BikB29gc.mjs";
|
|
13
13
|
import "../index.mjs";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as withTransaction } from "./transaction-qfqpPVpu.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-BbZbIEZp.mjs";
|
|
3
3
|
import { a as hashApiToken, n as TOKEN_PREFIXES, r as generatePrefixedToken, t as ALL_VALID_SCOPES } from "./api-tokens-BZ9aAeCo.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-CS1nQbC3.mjs";
|
|
5
5
|
import { t as lookupUserRoleAndStatus } from "./oauth-user-lookup-B7-6YI3R.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-BbZbIEZp.mjs";
|
|
2
2
|
import { o as validateScopes } from "./api-tokens-BZ9aAeCo.mjs";
|
|
3
3
|
|
|
4
4
|
//#region src/api/oauth/redirect-uri.ts
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { n as PluginDescriptor } from "../runtime-
|
|
1
|
+
import { n as PluginDescriptor } from "../runtime-D8iQkQwl.mjs";
|
|
2
2
|
import "../types-DwIXYH8s.mjs";
|
|
3
3
|
import { X as ResolvedPlugin, tt as StandardPluginDefinition } from "../types-DzBAohLy.mjs";
|
|
4
4
|
import "../types-BSP1HbdT.mjs";
|
|
5
5
|
import "../runner-BJm_NJr2.mjs";
|
|
6
6
|
import "../index-CxVXYBXq.mjs";
|
|
7
7
|
import "../index-DUurmpun.mjs";
|
|
8
|
-
import "../bylines-
|
|
8
|
+
import "../bylines-CcEr0bxd.mjs";
|
|
9
9
|
import "../types-DbtpYtHx.mjs";
|
|
10
10
|
import "../validate-BikB29gc.mjs";
|
|
11
11
|
|
|
@@ -1787,14 +1787,14 @@ declare const pluginManifestSchema: z.ZodObject<{
|
|
|
1787
1787
|
number: "number";
|
|
1788
1788
|
boolean: "boolean";
|
|
1789
1789
|
file: "file";
|
|
1790
|
-
image: "image";
|
|
1791
1790
|
slug: "slug";
|
|
1792
|
-
datetime: "datetime";
|
|
1793
1791
|
text: "text";
|
|
1794
1792
|
integer: "integer";
|
|
1793
|
+
datetime: "datetime";
|
|
1795
1794
|
select: "select";
|
|
1796
1795
|
multiSelect: "multiSelect";
|
|
1797
1796
|
portableText: "portableText";
|
|
1797
|
+
image: "image";
|
|
1798
1798
|
reference: "reference";
|
|
1799
1799
|
json: "json";
|
|
1800
1800
|
repeater: "repeater";
|
package/dist/runtime.d.mts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { ct as CollectionFilter, dt as dinewayLoader, ft as getDb, lt as EntryData, ut as EntryFilter } from "./runtime-
|
|
1
|
+
import { ct as CollectionFilter, dt as dinewayLoader, ft as getDb, lt as EntryData, ut as EntryFilter } from "./runtime-D8iQkQwl.mjs";
|
|
2
2
|
import "./types-DwIXYH8s.mjs";
|
|
3
3
|
import "./types-DzBAohLy.mjs";
|
|
4
4
|
import "./types-BSP1HbdT.mjs";
|
|
5
5
|
import "./runner-BJm_NJr2.mjs";
|
|
6
6
|
import "./index-CxVXYBXq.mjs";
|
|
7
7
|
import "./index-DUurmpun.mjs";
|
|
8
|
-
import "./bylines-
|
|
8
|
+
import "./bylines-CcEr0bxd.mjs";
|
|
9
9
|
import "./types-DbtpYtHx.mjs";
|
|
10
10
|
import "./validate-BikB29gc.mjs";
|
|
11
11
|
import { t as getMediaProvider } from "./provider-loader-DJ5sLxNP.mjs";
|