dineway 0.1.37 → 0.1.39
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-DpeH2EYq.mjs → api-BuW5Txoj.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/seed.d.mts +4 -0
- package/dist/astro/middleware/seed.mjs +20 -2
- package/dist/astro/middleware/setup.mjs +1 -1
- package/dist/astro/middleware.mjs +6 -6
- package/dist/astro/routes/PluginRegistry.mjs +1 -1
- 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 +2 -2
- package/dist/auth/providers/github-admin.mjs +1 -1
- package/dist/auth/providers/google-admin.mjs +1 -1
- package/dist/{bylines-CNe_OWKA.d.mts → bylines-CrNTrD1c.d.mts} +33 -33
- package/dist/cli/index.mjs +1 -2
- package/dist/{context-DgqEfcWz.mjs → context-BnD2m5tn.mjs} +1 -1
- package/dist/{device-flow-CTS91g4A.mjs → device-flow-DDZjntgf.mjs} +2 -2
- package/dist/{hitl-requests-DaRuZ7tb.mjs → hitl-requests-Dt7JsXh5.mjs} +2 -2
- package/dist/{hitl-route-helpers-DcPySbZ3.mjs → hitl-route-helpers-F3voM_3Y.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-DyOFXQWq.mjs → oauth-authorization-lW9vJ_hl.mjs} +2 -2
- package/dist/{oauth-clients-BMs_bmoz.mjs → oauth-clients-D1n0ykZJ.mjs} +1 -1
- package/dist/plugins/adapt-sandbox-entry.d.mts +2 -2
- package/dist/{runtime-CP8eY2L-.d.mts → runtime-BM9sqnzO.d.mts} +2 -2
- package/dist/runtime.d.mts +2 -2
- package/dist/{site-context-DuBQk6Mp.mjs → site-context-BBX9G7FT.mjs} +1 -1
- package/dist/version-C_JnO2sx.mjs +6 -0
- package/package.json +2 -2
- package/dist/version-BWhBEejU.mjs +0 -6
- /package/dist/{allowed-origins-3RuuoFjC.mjs → allowed-origins-U7ZavuGp.mjs} +0 -0
- /package/dist/{challenge-store-cJam-E5R.mjs → challenge-store-ChIyDxM6.mjs} +0 -0
- /package/dist/{experimental-workflows-BbZbIEZp.mjs → experimental-workflows-_I9NlZbO.mjs} +0 -0
- /package/dist/{mode-Bd55iLcP.mjs → mode-BSPqFzOJ.mjs} +0 -0
- /package/dist/{secrets-DfeNNoLa.mjs → secrets-DOkSNlfQ.mjs} +0 -0
- /package/dist/{setup-complete-C2ztsNhJ.mjs → setup-complete-DXCcwkth.mjs} +0 -0
|
@@ -26,9 +26,9 @@ import "../../../api/schemas/index.mjs";
|
|
|
26
26
|
import "../../../utils-FEbQMgB5.mjs";
|
|
27
27
|
import "../../../search-Cl9preJT.mjs";
|
|
28
28
|
import { n as requirePerm } from "../../../authorize-BbIhZi3a.mjs";
|
|
29
|
-
import { _ as RiskPolicyEvaluator, f as SettingsHitlPayloadBuilder } from "../../../site-context-
|
|
29
|
+
import { _ as RiskPolicyEvaluator, f as SettingsHitlPayloadBuilder } from "../../../site-context-BBX9G7FT.mjs";
|
|
30
30
|
import { S as settingsApiRouteSource, p as logSiteActivitySafely } from "../../../activity-events-CpcTzKpF.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-F3voM_3Y.mjs";
|
|
32
32
|
import { z } from "zod";
|
|
33
33
|
|
|
34
34
|
//#region src/astro/routes/api/settings.ts
|
|
@@ -7,9 +7,9 @@ import "../../../../import-Br7aP9yh.mjs";
|
|
|
7
7
|
import { setupAdminVerifyBody } from "../../../../api/schemas/setup.mjs";
|
|
8
8
|
import "../../../../api/schemas/index.mjs";
|
|
9
9
|
import { n as getPublicOrigin } from "../../../../public-url-BL2r8dmQ.mjs";
|
|
10
|
-
import {
|
|
11
|
-
import { n as
|
|
12
|
-
import {
|
|
10
|
+
import { t as finalizeSetup } from "../../../../setup-complete-DXCcwkth.mjs";
|
|
11
|
+
import { n as validateAllowedOrigins, t as getConfiguredAllowedOrigins } from "../../../../allowed-origins-U7ZavuGp.mjs";
|
|
12
|
+
import { n as createChallengeStore } from "../../../../challenge-store-ChIyDxM6.mjs";
|
|
13
13
|
import { t as getPasskeyConfig } from "../../../../passkey-config-AX4sjpQ4.mjs";
|
|
14
14
|
import { t as SETUP_NONCE_COOKIE } from "../../../../setup-nonce-BTKq7uBi.mjs";
|
|
15
15
|
import { createKyselyAdapter } from "@dineway-ai/auth/adapters/kysely";
|
|
@@ -7,7 +7,7 @@ import "../../../../import-Br7aP9yh.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-BL2r8dmQ.mjs";
|
|
10
|
-
import { n as createChallengeStore } from "../../../../challenge-store-
|
|
10
|
+
import { n as createChallengeStore } from "../../../../challenge-store-ChIyDxM6.mjs";
|
|
11
11
|
import { t as getPasskeyConfig } from "../../../../passkey-config-AX4sjpQ4.mjs";
|
|
12
12
|
import { n as SETUP_NONCE_MAX_AGE_SECONDS, t as SETUP_NONCE_COOKIE } from "../../../../setup-nonce-BTKq7uBi.mjs";
|
|
13
13
|
import { createKyselyAdapter } from "@dineway-ai/auth/adapters/kysely";
|
|
@@ -25,7 +25,7 @@ import { t as validateSeed } from "../../../../validate-JE-WfUQ5.mjs";
|
|
|
25
25
|
import { t as applySeed } from "../../../../apply-TIoQ00aH.mjs";
|
|
26
26
|
import { t as loadSeed } from "../../../../load-BCCcmoW9.mjs";
|
|
27
27
|
import { n as getPublicOrigin } from "../../../../public-url-BL2r8dmQ.mjs";
|
|
28
|
-
import { t as getAuthMode } from "../../../../mode-
|
|
28
|
+
import { t as getAuthMode } from "../../../../mode-BSPqFzOJ.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-DLkgOP5m.mjs";
|
|
2
2
|
import { n as loadUserSeed } from "../../../../load-BCCcmoW9.mjs";
|
|
3
|
-
import { t as getAuthMode } from "../../../../mode-
|
|
3
|
+
import { t as getAuthMode } from "../../../../mode-BSPqFzOJ.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-DLkgOP5m.mjs";
|
|
4
4
|
import { a as verifyPreviewSignature, r as parsePreviewSignatureHeader } from "../../../sidecar-client-lrf7ErYJ.mjs";
|
|
5
5
|
import { n as getPublicOrigin } from "../../../public-url-BL2r8dmQ.mjs";
|
|
6
|
-
import { i as resolveSecretsCached } from "../../../secrets-
|
|
6
|
+
import { i as resolveSecretsCached } from "../../../secrets-DOkSNlfQ.mjs";
|
|
7
7
|
import { n as requirePerm } from "../../../authorize-BbIhZi3a.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-FEbQMgB5.mjs";
|
|
29
29
|
import "../../../../../../../search-Cl9preJT.mjs";
|
|
30
30
|
import { n as requirePerm } from "../../../../../../../authorize-BbIhZi3a.mjs";
|
|
31
|
-
import { _ as RiskPolicyEvaluator, l as TaxonomyHitlPayloadBuilder } from "../../../../../../../site-context-
|
|
31
|
+
import { _ as RiskPolicyEvaluator, l as TaxonomyHitlPayloadBuilder } from "../../../../../../../site-context-BBX9G7FT.mjs";
|
|
32
32
|
import { C as taxonomyApiRouteSource, m as logTaxonomyActivity } from "../../../../../../../activity-events-CpcTzKpF.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-F3voM_3Y.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-FEbQMgB5.mjs";
|
|
29
29
|
import "../../../../../../search-Cl9preJT.mjs";
|
|
30
30
|
import { n as requirePerm } from "../../../../../../authorize-BbIhZi3a.mjs";
|
|
31
|
-
import { _ as RiskPolicyEvaluator, l as TaxonomyHitlPayloadBuilder } from "../../../../../../site-context-
|
|
31
|
+
import { _ as RiskPolicyEvaluator, l as TaxonomyHitlPayloadBuilder } from "../../../../../../site-context-BBX9G7FT.mjs";
|
|
32
32
|
import { C as taxonomyApiRouteSource, m as logTaxonomyActivity, t as activityChangedKeys } from "../../../../../../activity-events-CpcTzKpF.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-F3voM_3Y.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-FEbQMgB5.mjs";
|
|
29
29
|
import "../../../../../../search-Cl9preJT.mjs";
|
|
30
30
|
import { n as requirePerm } from "../../../../../../authorize-BbIhZi3a.mjs";
|
|
31
|
-
import { _ as RiskPolicyEvaluator, l as TaxonomyHitlPayloadBuilder } from "../../../../../../site-context-
|
|
31
|
+
import { _ as RiskPolicyEvaluator, l as TaxonomyHitlPayloadBuilder } from "../../../../../../site-context-BBX9G7FT.mjs";
|
|
32
32
|
import { C as taxonomyApiRouteSource, m as logTaxonomyActivity } from "../../../../../../activity-events-CpcTzKpF.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-F3voM_3Y.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-FEbQMgB5.mjs";
|
|
29
29
|
import "../../../../search-Cl9preJT.mjs";
|
|
30
30
|
import { n as requirePerm } from "../../../../authorize-BbIhZi3a.mjs";
|
|
31
|
-
import { _ as RiskPolicyEvaluator, l as TaxonomyHitlPayloadBuilder } from "../../../../site-context-
|
|
31
|
+
import { _ as RiskPolicyEvaluator, l as TaxonomyHitlPayloadBuilder } from "../../../../site-context-BBX9G7FT.mjs";
|
|
32
32
|
import { C as taxonomyApiRouteSource, m as logTaxonomyActivity } from "../../../../activity-events-CpcTzKpF.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-F3voM_3Y.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-DLkgOP5m.mjs";
|
|
4
4
|
import { n as getPublicOrigin } from "../../../../public-url-BL2r8dmQ.mjs";
|
|
5
|
-
import { i as resolveSecretsCached } from "../../../../secrets-
|
|
5
|
+
import { i as resolveSecretsCached } from "../../../../secrets-DOkSNlfQ.mjs";
|
|
6
6
|
import { n as requirePerm } from "../../../../authorize-BbIhZi3a.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-C_JnO2sx.mjs";
|
|
3
|
+
import { t as getAuthMode } from "../../../../mode-BSPqFzOJ.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-BL2r8dmQ.mjs";
|
|
2
|
-
import { a as filterExperimentalSiteContextWorkflowScopes } from "../../../../experimental-workflows-
|
|
2
|
+
import { a as filterExperimentalSiteContextWorkflowScopes } from "../../../../experimental-workflows-_I9NlZbO.mjs";
|
|
3
3
|
import { t as ALL_VALID_SCOPES } from "../../../../api-tokens-L0o9Bd7v.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-BL2r8dmQ.mjs";
|
|
2
|
-
import { a as filterExperimentalSiteContextWorkflowScopes } from "../../../../experimental-workflows-
|
|
2
|
+
import { a as filterExperimentalSiteContextWorkflowScopes } from "../../../../experimental-workflows-_I9NlZbO.mjs";
|
|
3
3
|
import { t as ALL_VALID_SCOPES } from "../../../../api-tokens-L0o9Bd7v.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-FEbQMgB5.mjs";
|
|
26
26
|
import "../../../../../search-Cl9preJT.mjs";
|
|
27
27
|
import { n as requirePerm } from "../../../../../authorize-BbIhZi3a.mjs";
|
|
28
|
-
import { _ as RiskPolicyEvaluator, s as WidgetHitlPayloadBuilder } from "../../../../../site-context-
|
|
28
|
+
import { _ as RiskPolicyEvaluator, s as WidgetHitlPayloadBuilder } from "../../../../../site-context-BBX9G7FT.mjs";
|
|
29
29
|
import { h as logWidgetActivity, w as widgetApiRouteSource } from "../../../../../activity-events-CpcTzKpF.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-F3voM_3Y.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-FEbQMgB5.mjs";
|
|
|
26
26
|
import { i as rowToWidget } from "../../../../../../widgets-Cj6ULpED.mjs";
|
|
27
27
|
import "../../../../../../search-Cl9preJT.mjs";
|
|
28
28
|
import { n as requirePerm } from "../../../../../../authorize-BbIhZi3a.mjs";
|
|
29
|
-
import { _ as RiskPolicyEvaluator, s as WidgetHitlPayloadBuilder } from "../../../../../../site-context-
|
|
29
|
+
import { _ as RiskPolicyEvaluator, s as WidgetHitlPayloadBuilder } from "../../../../../../site-context-BBX9G7FT.mjs";
|
|
30
30
|
import { h as logWidgetActivity, t as activityChangedKeys, w as widgetApiRouteSource } from "../../../../../../activity-events-CpcTzKpF.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-F3voM_3Y.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-FEbQMgB5.mjs";
|
|
|
26
26
|
import { i as rowToWidget } from "../../../../../widgets-Cj6ULpED.mjs";
|
|
27
27
|
import "../../../../../search-Cl9preJT.mjs";
|
|
28
28
|
import { n as requirePerm } from "../../../../../authorize-BbIhZi3a.mjs";
|
|
29
|
-
import { _ as RiskPolicyEvaluator, s as WidgetHitlPayloadBuilder } from "../../../../../site-context-
|
|
29
|
+
import { _ as RiskPolicyEvaluator, s as WidgetHitlPayloadBuilder } from "../../../../../site-context-BBX9G7FT.mjs";
|
|
30
30
|
import { h as logWidgetActivity, w as widgetApiRouteSource } from "../../../../../activity-events-CpcTzKpF.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-F3voM_3Y.mjs";
|
|
32
32
|
import { ulid } from "ulidx";
|
|
33
33
|
import { z } from "zod";
|
|
34
34
|
|
|
@@ -23,9 +23,9 @@ import "../../../../utils-FEbQMgB5.mjs";
|
|
|
23
23
|
import { i as rowToWidget } from "../../../../widgets-Cj6ULpED.mjs";
|
|
24
24
|
import "../../../../search-Cl9preJT.mjs";
|
|
25
25
|
import { n as requirePerm } from "../../../../authorize-BbIhZi3a.mjs";
|
|
26
|
-
import { _ as RiskPolicyEvaluator, s as WidgetHitlPayloadBuilder } from "../../../../site-context-
|
|
26
|
+
import { _ as RiskPolicyEvaluator, s as WidgetHitlPayloadBuilder } from "../../../../site-context-BBX9G7FT.mjs";
|
|
27
27
|
import { h as logWidgetActivity, w as widgetApiRouteSource } from "../../../../activity-events-CpcTzKpF.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-F3voM_3Y.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-FEbQMgB5.mjs";
|
|
|
26
26
|
import { i as rowToWidget } from "../../../../widgets-Cj6ULpED.mjs";
|
|
27
27
|
import "../../../../search-Cl9preJT.mjs";
|
|
28
28
|
import { n as requirePerm } from "../../../../authorize-BbIhZi3a.mjs";
|
|
29
|
-
import { _ as RiskPolicyEvaluator, s as WidgetHitlPayloadBuilder } from "../../../../site-context-
|
|
29
|
+
import { _ as RiskPolicyEvaluator, s as WidgetHitlPayloadBuilder } from "../../../../site-context-BBX9G7FT.mjs";
|
|
30
30
|
import { h as logWidgetActivity, w as widgetApiRouteSource } from "../../../../activity-events-CpcTzKpF.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-F3voM_3Y.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-DvwHUku7.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-BM9sqnzO.mjs";
|
|
3
3
|
import { t as Database } from "../types-B1NksXAb.mjs";
|
|
4
4
|
import { A as PageMetadataContribution, D as PageFragmentContribution, X as ResolvedPlugin, ct as Element, q as PublicPageContext } from "../types-BIM7jwxr.mjs";
|
|
5
5
|
import "../types-BgE6gMFI.mjs";
|
|
@@ -8,7 +8,7 @@ import "../runner-pAnQS6iI.mjs";
|
|
|
8
8
|
import "../index-2tBfB_8X.mjs";
|
|
9
9
|
import "../index-CpbixmRL.mjs";
|
|
10
10
|
import { d as Storage } from "../types-BYjPylrZ.mjs";
|
|
11
|
-
import "../bylines-
|
|
11
|
+
import "../bylines-CrNTrD1c.mjs";
|
|
12
12
|
import "../types-BBETcziA.mjs";
|
|
13
13
|
import "../validate-BzUCAU2a.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>;
|
|
@@ -558,15 +558,15 @@ declare const createFieldBody: z.ZodObject<{
|
|
|
558
558
|
number: "number";
|
|
559
559
|
boolean: "boolean";
|
|
560
560
|
file: "file";
|
|
561
|
+
url: "url";
|
|
562
|
+
image: "image";
|
|
561
563
|
slug: "slug";
|
|
564
|
+
datetime: "datetime";
|
|
562
565
|
text: "text";
|
|
563
|
-
url: "url";
|
|
564
566
|
integer: "integer";
|
|
565
|
-
datetime: "datetime";
|
|
566
567
|
select: "select";
|
|
567
568
|
multiSelect: "multiSelect";
|
|
568
569
|
portableText: "portableText";
|
|
569
|
-
image: "image";
|
|
570
570
|
reference: "reference";
|
|
571
571
|
json: "json";
|
|
572
572
|
repeater: "repeater";
|
|
@@ -588,10 +588,10 @@ declare const createFieldBody: z.ZodObject<{
|
|
|
588
588
|
string: "string";
|
|
589
589
|
number: "number";
|
|
590
590
|
boolean: "boolean";
|
|
591
|
-
text: "text";
|
|
592
591
|
url: "url";
|
|
593
|
-
integer: "integer";
|
|
594
592
|
datetime: "datetime";
|
|
593
|
+
text: "text";
|
|
594
|
+
integer: "integer";
|
|
595
595
|
select: "select";
|
|
596
596
|
}>;
|
|
597
597
|
label: z.ZodString;
|
|
@@ -627,10 +627,10 @@ declare const updateFieldBody: z.ZodObject<{
|
|
|
627
627
|
string: "string";
|
|
628
628
|
number: "number";
|
|
629
629
|
boolean: "boolean";
|
|
630
|
-
text: "text";
|
|
631
630
|
url: "url";
|
|
632
|
-
integer: "integer";
|
|
633
631
|
datetime: "datetime";
|
|
632
|
+
text: "text";
|
|
633
|
+
integer: "integer";
|
|
634
634
|
select: "select";
|
|
635
635
|
}>;
|
|
636
636
|
label: z.ZodString;
|
|
@@ -685,15 +685,15 @@ declare const fieldSchema: z.ZodObject<{
|
|
|
685
685
|
number: "number";
|
|
686
686
|
boolean: "boolean";
|
|
687
687
|
file: "file";
|
|
688
|
+
url: "url";
|
|
689
|
+
image: "image";
|
|
688
690
|
slug: "slug";
|
|
691
|
+
datetime: "datetime";
|
|
689
692
|
text: "text";
|
|
690
|
-
url: "url";
|
|
691
693
|
integer: "integer";
|
|
692
|
-
datetime: "datetime";
|
|
693
694
|
select: "select";
|
|
694
695
|
multiSelect: "multiSelect";
|
|
695
696
|
portableText: "portableText";
|
|
696
|
-
image: "image";
|
|
697
697
|
reference: "reference";
|
|
698
698
|
json: "json";
|
|
699
699
|
repeater: "repeater";
|
|
@@ -750,15 +750,15 @@ declare const collectionWithFieldsResponseSchema: z.ZodObject<{
|
|
|
750
750
|
number: "number";
|
|
751
751
|
boolean: "boolean";
|
|
752
752
|
file: "file";
|
|
753
|
+
url: "url";
|
|
754
|
+
image: "image";
|
|
753
755
|
slug: "slug";
|
|
756
|
+
datetime: "datetime";
|
|
754
757
|
text: "text";
|
|
755
|
-
url: "url";
|
|
756
758
|
integer: "integer";
|
|
757
|
-
datetime: "datetime";
|
|
758
759
|
select: "select";
|
|
759
760
|
multiSelect: "multiSelect";
|
|
760
761
|
portableText: "portableText";
|
|
761
|
-
image: "image";
|
|
762
762
|
reference: "reference";
|
|
763
763
|
json: "json";
|
|
764
764
|
repeater: "repeater";
|
|
@@ -804,15 +804,15 @@ declare const fieldResponseSchema: z.ZodObject<{
|
|
|
804
804
|
number: "number";
|
|
805
805
|
boolean: "boolean";
|
|
806
806
|
file: "file";
|
|
807
|
+
url: "url";
|
|
808
|
+
image: "image";
|
|
807
809
|
slug: "slug";
|
|
810
|
+
datetime: "datetime";
|
|
808
811
|
text: "text";
|
|
809
|
-
url: "url";
|
|
810
812
|
integer: "integer";
|
|
811
|
-
datetime: "datetime";
|
|
812
813
|
select: "select";
|
|
813
814
|
multiSelect: "multiSelect";
|
|
814
815
|
portableText: "portableText";
|
|
815
|
-
image: "image";
|
|
816
816
|
reference: "reference";
|
|
817
817
|
json: "json";
|
|
818
818
|
repeater: "repeater";
|
|
@@ -841,15 +841,15 @@ declare const fieldListResponseSchema: z.ZodObject<{
|
|
|
841
841
|
number: "number";
|
|
842
842
|
boolean: "boolean";
|
|
843
843
|
file: "file";
|
|
844
|
+
url: "url";
|
|
845
|
+
image: "image";
|
|
844
846
|
slug: "slug";
|
|
847
|
+
datetime: "datetime";
|
|
845
848
|
text: "text";
|
|
846
|
-
url: "url";
|
|
847
849
|
integer: "integer";
|
|
848
|
-
datetime: "datetime";
|
|
849
850
|
select: "select";
|
|
850
851
|
multiSelect: "multiSelect";
|
|
851
852
|
portableText: "portableText";
|
|
852
|
-
image: "image";
|
|
853
853
|
reference: "reference";
|
|
854
854
|
json: "json";
|
|
855
855
|
repeater: "repeater";
|
|
@@ -890,8 +890,8 @@ declare const createCommentBody: z.ZodObject<{
|
|
|
890
890
|
}, z.core.$strip>;
|
|
891
891
|
declare const commentStatusBody: z.ZodObject<{
|
|
892
892
|
status: z.ZodEnum<{
|
|
893
|
-
approved: "approved";
|
|
894
893
|
pending: "pending";
|
|
894
|
+
approved: "approved";
|
|
895
895
|
spam: "spam";
|
|
896
896
|
trash: "trash";
|
|
897
897
|
}>;
|
|
@@ -907,8 +907,8 @@ declare const commentBulkBody: z.ZodObject<{
|
|
|
907
907
|
}, z.core.$strip>;
|
|
908
908
|
declare const commentListQuery: z.ZodObject<{
|
|
909
909
|
status: z.ZodOptional<z.ZodEnum<{
|
|
910
|
-
approved: "approved";
|
|
911
910
|
pending: "pending";
|
|
911
|
+
approved: "approved";
|
|
912
912
|
spam: "spam";
|
|
913
913
|
trash: "trash";
|
|
914
914
|
}>>;
|
|
@@ -942,8 +942,8 @@ declare const commentSchema: z.ZodObject<{
|
|
|
942
942
|
authorEmail: z.ZodString;
|
|
943
943
|
body: z.ZodString;
|
|
944
944
|
status: z.ZodEnum<{
|
|
945
|
-
approved: "approved";
|
|
946
945
|
pending: "pending";
|
|
946
|
+
approved: "approved";
|
|
947
947
|
spam: "spam";
|
|
948
948
|
trash: "trash";
|
|
949
949
|
}>;
|
|
@@ -974,8 +974,8 @@ declare const adminCommentListResponseSchema: z.ZodObject<{
|
|
|
974
974
|
authorEmail: z.ZodString;
|
|
975
975
|
body: z.ZodString;
|
|
976
976
|
status: z.ZodEnum<{
|
|
977
|
-
approved: "approved";
|
|
978
977
|
pending: "pending";
|
|
978
|
+
approved: "approved";
|
|
979
979
|
spam: "spam";
|
|
980
980
|
trash: "trash";
|
|
981
981
|
}>;
|
|
@@ -1020,15 +1020,15 @@ declare const contextEntryListQuery: z.ZodObject<{
|
|
|
1020
1020
|
cursor: z.ZodOptional<z.ZodString>;
|
|
1021
1021
|
}, z.core.$strip>;
|
|
1022
1022
|
declare const contextEntryStaleQuery: z.ZodObject<{
|
|
1023
|
-
contextTypes: z.ZodPipe<z.ZodOptional<z.ZodString>, z.ZodTransform<string[] | undefined, string | undefined>>;
|
|
1024
|
-
scope: z.ZodOptional<z.ZodString>;
|
|
1025
|
-
limit: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
1026
1023
|
cursor: z.ZodOptional<z.ZodString>;
|
|
1024
|
+
limit: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
1027
1025
|
includeInherited: z.ZodPipe<z.ZodOptional<z.ZodEnum<{
|
|
1028
1026
|
true: "true";
|
|
1029
1027
|
false: "false";
|
|
1030
1028
|
}>>, z.ZodTransform<boolean | undefined, "true" | "false" | undefined>>;
|
|
1029
|
+
contextTypes: z.ZodPipe<z.ZodOptional<z.ZodString>, z.ZodTransform<string[] | undefined, string | undefined>>;
|
|
1031
1030
|
tags: z.ZodPipe<z.ZodOptional<z.ZodString>, z.ZodTransform<string[] | undefined, string | undefined>>;
|
|
1031
|
+
scope: z.ZodOptional<z.ZodString>;
|
|
1032
1032
|
createdByActorType: z.ZodOptional<z.ZodEnum<{
|
|
1033
1033
|
user: "user";
|
|
1034
1034
|
api_token: "api_token";
|
|
@@ -1115,8 +1115,8 @@ declare const siteBriefingQuery: z.ZodObject<{
|
|
|
1115
1115
|
//#region src/api/schemas/hitl-requests.d.ts
|
|
1116
1116
|
declare const hitlRequestListQuery: z.ZodObject<{
|
|
1117
1117
|
status: z.ZodOptional<z.ZodEnum<{
|
|
1118
|
-
approved: "approved";
|
|
1119
1118
|
pending: "pending";
|
|
1119
|
+
approved: "approved";
|
|
1120
1120
|
rejected: "rejected";
|
|
1121
1121
|
}>>;
|
|
1122
1122
|
priority: z.ZodOptional<z.ZodEnum<{
|
|
@@ -1143,8 +1143,8 @@ declare const hitlRequestResolveBody: z.ZodObject<{
|
|
|
1143
1143
|
//#region src/api/schemas/review-requests.d.ts
|
|
1144
1144
|
declare const reviewRequestListQuery: z.ZodObject<{
|
|
1145
1145
|
status: z.ZodOptional<z.ZodEnum<{
|
|
1146
|
-
approved: "approved";
|
|
1147
1146
|
pending: "pending";
|
|
1147
|
+
approved: "approved";
|
|
1148
1148
|
rejected: "rejected";
|
|
1149
1149
|
}>>;
|
|
1150
1150
|
collection: z.ZodOptional<z.ZodString>;
|
|
@@ -1192,7 +1192,7 @@ declare const signupCompleteBody: z.ZodObject<{
|
|
|
1192
1192
|
}, z.core.$strip>;
|
|
1193
1193
|
declare const inviteCreateBody: z.ZodObject<{
|
|
1194
1194
|
email: z.ZodString;
|
|
1195
|
-
role: z.ZodOptional<z.ZodCoercedNumber<unknown> & z.ZodType<
|
|
1195
|
+
role: z.ZodOptional<z.ZodCoercedNumber<unknown> & z.ZodType<10 | 20 | 30 | 40 | 50, unknown, z.core.$ZodTypeInternals<10 | 20 | 30 | 40 | 50, unknown>>>;
|
|
1196
1196
|
}, z.core.$strip>;
|
|
1197
1197
|
declare const inviteCompleteBody: z.ZodObject<{
|
|
1198
1198
|
token: z.ZodString;
|
|
@@ -1744,15 +1744,15 @@ declare const usersListQuery: z.ZodObject<{
|
|
|
1744
1744
|
declare const userUpdateBody: z.ZodObject<{
|
|
1745
1745
|
name: z.ZodOptional<z.ZodString>;
|
|
1746
1746
|
email: z.ZodOptional<z.ZodString>;
|
|
1747
|
-
role: z.ZodOptional<z.ZodCoercedNumber<unknown> & z.ZodType<
|
|
1747
|
+
role: z.ZodOptional<z.ZodCoercedNumber<unknown> & z.ZodType<10 | 20 | 30 | 40 | 50, unknown, z.core.$ZodTypeInternals<10 | 20 | 30 | 40 | 50, unknown>>>;
|
|
1748
1748
|
}, z.core.$strip>;
|
|
1749
1749
|
declare const allowedDomainCreateBody: z.ZodObject<{
|
|
1750
1750
|
domain: z.ZodString;
|
|
1751
|
-
defaultRole: z.ZodCoercedNumber<unknown> & z.ZodType<
|
|
1751
|
+
defaultRole: z.ZodCoercedNumber<unknown> & z.ZodType<10 | 20 | 30 | 40 | 50, unknown, z.core.$ZodTypeInternals<10 | 20 | 30 | 40 | 50, unknown>>;
|
|
1752
1752
|
}, z.core.$strip>;
|
|
1753
1753
|
declare const allowedDomainUpdateBody: z.ZodObject<{
|
|
1754
1754
|
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
1755
|
-
defaultRole: z.ZodOptional<z.ZodCoercedNumber<unknown> & z.ZodType<
|
|
1755
|
+
defaultRole: z.ZodOptional<z.ZodCoercedNumber<unknown> & z.ZodType<10 | 20 | 30 | 40 | 50, unknown, z.core.$ZodTypeInternals<10 | 20 | 30 | 40 | 50, unknown>>>;
|
|
1756
1756
|
}, z.core.$strip>;
|
|
1757
1757
|
declare const userSchema: z.ZodObject<{
|
|
1758
1758
|
id: z.ZodString;
|
package/dist/cli/index.mjs
CHANGED
|
@@ -22,7 +22,7 @@ import { i as pluginManifestSchema } from "../manifest-schema-C6fzQoWn.mjs";
|
|
|
22
22
|
import "../ssrf-KAIQS48_.mjs";
|
|
23
23
|
import { t as validateSeed } from "../validate-JE-WfUQ5.mjs";
|
|
24
24
|
import { t as applySeed } from "../apply-TIoQ00aH.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-DOkSNlfQ.mjs";
|
|
26
26
|
import { createHeaderAwareFetch, customHeadersInterceptor, isRedirectResponse, resolveCustomHeaders } from "../client/external-auth-headers.mjs";
|
|
27
27
|
import { o as convertDataForRead } from "../transport-B7kO-4ee.mjs";
|
|
28
28
|
import { DinewayClient } from "../client/index.mjs";
|
|
@@ -1748,7 +1748,6 @@ const EXCLUDE_PATTERNS = [
|
|
|
1748
1748
|
".cache",
|
|
1749
1749
|
"skills",
|
|
1750
1750
|
"coverage",
|
|
1751
|
-
"uploads",
|
|
1752
1751
|
"data.db",
|
|
1753
1752
|
"data.db-shm",
|
|
1754
1753
|
"data.db-wal"
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { a as ContextRepository, i as parseSiteBriefingScope, n as SiteBriefingError } from "./briefing-Jsxs587i.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-BBX9G7FT.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-_I9NlZbO.mjs";
|
|
3
3
|
import { a as hashApiToken, n as TOKEN_PREFIXES, r as generatePrefixedToken, t as ALL_VALID_SCOPES } from "./api-tokens-L0o9Bd7v.mjs";
|
|
4
|
-
import { o as lookupOAuthClient } from "./oauth-clients-
|
|
4
|
+
import { o as lookupOAuthClient } from "./oauth-clients-D1n0ykZJ.mjs";
|
|
5
5
|
import { t as lookupUserRoleAndStatus } from "./oauth-user-lookup-DdcI8ZVL.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-_I9NlZbO.mjs";
|
|
2
|
+
import { n as HitlRequestService } from "./site-context-BBX9G7FT.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-DLkgOP5m.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-_I9NlZbO.mjs";
|
|
3
|
+
import { t as WorkflowHitlCoordinator } from "./site-context-BBX9G7FT.mjs";
|
|
4
4
|
import { T as resolveActorIdentity, p as logSiteActivitySafely } from "./activity-events-CpcTzKpF.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-DvwHUku7.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-BM9sqnzO.mjs";
|
|
3
3
|
import { n as MediaTable, r as UserTable, t as Database } from "./types-B1NksXAb.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-BIM7jwxr.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-t7_nCCA9.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-CpbixmRL.mjs";
|
|
12
12
|
import { n as generatePlaceholder, r as normalizeMediaValue, t as PlaceholderData } from "./placeholder-BZpCpid_.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-BYjPylrZ.mjs";
|
|
14
|
-
import "./bylines-
|
|
14
|
+
import "./bylines-CrNTrD1c.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-BBETcziA.mjs";
|
package/dist/index.mjs
CHANGED
|
@@ -24,7 +24,7 @@ import "./byline-DpNNSjET.mjs";
|
|
|
24
24
|
import { t as normalizeMediaValue } from "./normalize-BY_EJnd9.mjs";
|
|
25
25
|
import { t as generatePlaceholder } from "./placeholder-b0Ufu0La.mjs";
|
|
26
26
|
import "./seo-BPb_reaG.mjs";
|
|
27
|
-
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-
|
|
27
|
+
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-BuW5Txoj.mjs";
|
|
28
28
|
import "./request-cache-BpwuE2ix.mjs";
|
|
29
29
|
import "./dashboard-BC9bgPOH.mjs";
|
|
30
30
|
import "./briefing-Jsxs587i.mjs";
|