dineway 0.1.39 → 0.1.40
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 +7 -7
- package/dist/api/route-utils.mjs +1 -1
- package/dist/api/schemas/index.d.mts +1 -1
- package/dist/{api-BuW5Txoj.mjs → api-DHsMtgSK.mjs} +1 -1
- package/dist/astro/index.d.mts +7 -7
- package/dist/astro/index.mjs +8 -2
- package/dist/astro/middleware/auth.d.mts +7 -7
- package/dist/astro/middleware/auth.mjs +1 -1
- package/dist/astro/middleware/request-context.mjs +1 -1
- package/dist/astro/middleware/seed.d.mts +1 -1
- package/dist/astro/middleware/seed.mjs +1 -1
- package/dist/astro/middleware/setup.mjs +1 -1
- package/dist/astro/middleware.mjs +7 -7
- 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/dev-bypass.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/probe.d.mts +2 -2
- 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/dev-bypass.mjs +1 -1
- package/dist/astro/routes/api/setup/index.mjs +2 -2
- package/dist/astro/routes/api/setup/status.mjs +1 -1
- package/dist/astro/routes/api/snapshot.mjs +2 -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/session-driver.d.mts +14 -0
- package/dist/astro/session-driver.mjs +33 -0
- package/dist/astro/types.d.mts +7 -7
- package/dist/auth/providers/github-admin.mjs +1 -1
- package/dist/auth/providers/google-admin.mjs +1 -1
- package/dist/{bylines-CrNTrD1c.d.mts → bylines-BnInIxUL.d.mts} +10 -10
- package/dist/cli/index.mjs +2 -2
- package/dist/client/external-auth-headers.d.mts +1 -1
- package/dist/client/index.d.mts +1 -1
- package/dist/{context-BnD2m5tn.mjs → context-DgqEfcWz.mjs} +1 -1
- package/dist/db/index.d.mts +2 -2
- package/dist/db/index.mjs +1 -1
- package/dist/{device-flow-DDZjntgf.mjs → device-flow-CTS91g4A.mjs} +2 -2
- package/dist/{hitl-requests-Dt7JsXh5.mjs → hitl-requests-DaRuZ7tb.mjs} +2 -2
- package/dist/{hitl-route-helpers-F3voM_3Y.mjs → hitl-route-helpers-DcPySbZ3.mjs} +2 -2
- package/dist/{index-CpbixmRL.d.mts → index-BwOO3vu2.d.mts} +1 -1
- package/dist/{index-2tBfB_8X.d.mts → index-Ct0pjZwW.d.mts} +1 -1
- package/dist/index.d.mts +7 -7
- package/dist/index.mjs +2 -2
- package/dist/media/local-runtime.d.mts +7 -7
- package/dist/{oauth-authorization-lW9vJ_hl.mjs → oauth-authorization-DyOFXQWq.mjs} +2 -2
- package/dist/{oauth-clients-D1n0ykZJ.mjs → oauth-clients-BMs_bmoz.mjs} +1 -1
- package/dist/page/index.d.mts +1 -1
- package/dist/plugins/adapt-sandbox-entry.d.mts +7 -7
- package/dist/{runner-S3smkgdc.mjs → runner-DF2DgD_B.mjs} +191 -177
- package/dist/{runner-pAnQS6iI.d.mts → runner-FhUNNaqA.d.mts} +1 -1
- package/dist/{runtime-BM9sqnzO.d.mts → runtime-yK9bWV13.d.mts} +4 -4
- package/dist/runtime.d.mts +8 -8
- package/dist/seed/index.d.mts +2 -2
- package/dist/{site-context-BBX9G7FT.mjs → site-context-DuBQk6Mp.mjs} +1 -1
- package/dist/{types-B1NksXAb.d.mts → types-C-CMfzSl.d.mts} +6 -0
- package/dist/ui/server-runtime.d.mts +4 -4
- package/dist/{validate-BzUCAU2a.d.mts → validate-CvQ6cvHH.d.mts} +1 -1
- package/dist/version-BH9FCDRu.mjs +6 -0
- package/package.json +10 -3
- package/dist/version-C_JnO2sx.mjs +0 -6
- /package/dist/{allowed-origins-U7ZavuGp.mjs → allowed-origins-3RuuoFjC.mjs} +0 -0
- /package/dist/{challenge-store-ChIyDxM6.mjs → challenge-store-cJam-E5R.mjs} +0 -0
- /package/dist/{experimental-workflows-_I9NlZbO.mjs → experimental-workflows-BbZbIEZp.mjs} +0 -0
- /package/dist/{jsonld-BhdZoeR1.d.mts → jsonld-CLbYsYYH.d.mts} +0 -0
- /package/dist/{mode-BSPqFzOJ.mjs → mode-Bd55iLcP.mjs} +0 -0
- /package/dist/{provider-loader-BaZhx7E3.d.mts → provider-loader-B19YyyBp.d.mts} +0 -0
- /package/dist/{secrets-DOkSNlfQ.mjs → secrets-DfeNNoLa.mjs} +0 -0
- /package/dist/{setup-complete-DXCcwkth.mjs → setup-complete-C2ztsNhJ.mjs} +0 -0
- /package/dist/{transport-qeWznEPc.d.mts → transport-nNEGdHkI.d.mts} +0 -0
|
@@ -13,7 +13,7 @@ import "../../../../../menus-DOaL6NaF.mjs";
|
|
|
13
13
|
import "../../../../../redirect-BaVvo2te.mjs";
|
|
14
14
|
import "../../../../../byline-DpNNSjET.mjs";
|
|
15
15
|
import "../../../../../seo-BPb_reaG.mjs";
|
|
16
|
-
import { f as handleOrphanedTableList } from "../../../../../api-
|
|
16
|
+
import { f as handleOrphanedTableList } from "../../../../../api-DHsMtgSK.mjs";
|
|
17
17
|
import "../../../../../request-cache-BpwuE2ix.mjs";
|
|
18
18
|
import "../../../../../dashboard-BC9bgPOH.mjs";
|
|
19
19
|
import "../../../../../briefing-Jsxs587i.mjs";
|
|
@@ -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, c as SectionHitlPayloadBuilder } from "../../../../site-context-
|
|
29
|
+
import { _ as RiskPolicyEvaluator, c as SectionHitlPayloadBuilder } from "../../../../site-context-DuBQk6Mp.mjs";
|
|
30
30
|
import { f as logSectionActivity, t as activityChangedKeys, x as sectionApiRouteSource } 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-DcPySbZ3.mjs";
|
|
32
32
|
import { z } from "zod";
|
|
33
33
|
|
|
34
34
|
//#region src/astro/routes/api/sections/[slug].ts
|
|
@@ -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, c as SectionHitlPayloadBuilder } from "../../../../site-context-
|
|
29
|
+
import { _ as RiskPolicyEvaluator, c as SectionHitlPayloadBuilder } from "../../../../site-context-DuBQk6Mp.mjs";
|
|
30
30
|
import { f as logSectionActivity, x as sectionApiRouteSource } 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-DcPySbZ3.mjs";
|
|
32
32
|
import { z } from "zod";
|
|
33
33
|
|
|
34
34
|
//#region src/astro/routes/api/sections/index.ts
|
|
@@ -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-DuBQk6Mp.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-DcPySbZ3.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 { t as
|
|
11
|
-
import { n as
|
|
12
|
-
import {
|
|
10
|
+
import { n as validateAllowedOrigins, t as getConfiguredAllowedOrigins } from "../../../../allowed-origins-3RuuoFjC.mjs";
|
|
11
|
+
import { n as createChallengeStore } from "../../../../challenge-store-cJam-E5R.mjs";
|
|
12
|
+
import { t as finalizeSetup } from "../../../../setup-complete-C2ztsNhJ.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-cJam-E5R.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";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import "../../../../dialect-helpers-TkdbkFad.mjs";
|
|
2
|
-
import { i as runMigrations } from "../../../../runner-
|
|
2
|
+
import { i as runMigrations } from "../../../../runner-DF2DgD_B.mjs";
|
|
3
3
|
import "../../../../content-DvpMad_N.mjs";
|
|
4
4
|
import "../../../../base64-C1Q9yr0B.mjs";
|
|
5
5
|
import "../../../../types-D1DjBFA9.mjs";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import "../../../../dialect-helpers-TkdbkFad.mjs";
|
|
2
|
-
import { i as runMigrations } from "../../../../runner-
|
|
2
|
+
import { i as runMigrations } from "../../../../runner-DF2DgD_B.mjs";
|
|
3
3
|
import "../../../../content-DvpMad_N.mjs";
|
|
4
4
|
import "../../../../base64-C1Q9yr0B.mjs";
|
|
5
5
|
import "../../../../types-D1DjBFA9.mjs";
|
|
@@ -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-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-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-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-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-DfeNNoLa.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";
|
|
@@ -85,6 +85,7 @@ const EXCLUDED_PREFIXES = [
|
|
|
85
85
|
"_dineway_authorization_codes",
|
|
86
86
|
"_dineway_device_codes",
|
|
87
87
|
"_dineway_migrations_lock",
|
|
88
|
+
"_dineway_sessions",
|
|
88
89
|
"_plugin_",
|
|
89
90
|
"users",
|
|
90
91
|
"sessions",
|
|
@@ -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-DuBQk6Mp.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-DcPySbZ3.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-DuBQk6Mp.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-DcPySbZ3.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-DuBQk6Mp.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-DcPySbZ3.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-DuBQk6Mp.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-DcPySbZ3.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-DfeNNoLa.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-BH9FCDRu.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-BL2r8dmQ.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-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-BbZbIEZp.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-DuBQk6Mp.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-DcPySbZ3.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-DuBQk6Mp.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-DcPySbZ3.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-DuBQk6Mp.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-DcPySbZ3.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-DuBQk6Mp.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-DcPySbZ3.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-DuBQk6Mp.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-DcPySbZ3.mjs";
|
|
32
32
|
import { ulid } from "ulidx";
|
|
33
33
|
import { z } from "zod";
|
|
34
34
|
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { t as Database } from "../types-C-CMfzSl.mjs";
|
|
2
|
+
import { Kysely } from "kysely";
|
|
3
|
+
|
|
4
|
+
//#region src/astro/session-driver.d.ts
|
|
5
|
+
interface DinewaySessionDriver {
|
|
6
|
+
removeItem(key: string): Promise<void>;
|
|
7
|
+
getItem(key: string): Promise<unknown>;
|
|
8
|
+
setItem(key: string, value: unknown): Promise<void>;
|
|
9
|
+
}
|
|
10
|
+
type DinewaySessionDbFactory = () => Promise<Kysely<Database>>;
|
|
11
|
+
declare function createDinewaySessionDriver(dbFactory?: DinewaySessionDbFactory): DinewaySessionDriver;
|
|
12
|
+
declare function createSessionDriver(): DinewaySessionDriver;
|
|
13
|
+
//#endregion
|
|
14
|
+
export { DinewaySessionDriver, createDinewaySessionDriver, createSessionDriver as default };
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { i as currentTimestampValue } from "../dialect-helpers-TkdbkFad.mjs";
|
|
2
|
+
import "../base64-C1Q9yr0B.mjs";
|
|
3
|
+
import "../types-D1DjBFA9.mjs";
|
|
4
|
+
import { r as getDb } from "../loader-p2imNN98.mjs";
|
|
5
|
+
|
|
6
|
+
//#region src/astro/session-driver.ts
|
|
7
|
+
function createDinewaySessionDriver(dbFactory = getDb) {
|
|
8
|
+
return {
|
|
9
|
+
async removeItem(key) {
|
|
10
|
+
await (await dbFactory()).deleteFrom("_dineway_sessions").where("id", "=", key).execute();
|
|
11
|
+
},
|
|
12
|
+
async getItem(key) {
|
|
13
|
+
return (await (await dbFactory()).selectFrom("_dineway_sessions").select("value").where("id", "=", key).executeTakeFirst())?.value ?? null;
|
|
14
|
+
},
|
|
15
|
+
async setItem(key, value) {
|
|
16
|
+
const db = await dbFactory();
|
|
17
|
+
const serialized = typeof value === "string" ? value : JSON.stringify(value);
|
|
18
|
+
await db.insertInto("_dineway_sessions").values({
|
|
19
|
+
id: key,
|
|
20
|
+
value: serialized
|
|
21
|
+
}).onConflict((oc) => oc.column("id").doUpdateSet({
|
|
22
|
+
value: serialized,
|
|
23
|
+
updated_at: currentTimestampValue(db)
|
|
24
|
+
})).execute();
|
|
25
|
+
}
|
|
26
|
+
};
|
|
27
|
+
}
|
|
28
|
+
function createSessionDriver() {
|
|
29
|
+
return createDinewaySessionDriver();
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
//#endregion
|
|
33
|
+
export { createDinewaySessionDriver, createSessionDriver as default };
|
package/dist/astro/types.d.mts
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
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-
|
|
3
|
-
import { t as Database } from "../types-
|
|
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-yK9bWV13.mjs";
|
|
3
|
+
import { t as Database } from "../types-C-CMfzSl.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";
|
|
6
6
|
import { l as MediaProvider, u as MediaProviderCapabilities } from "../types-cn-fvYQ1.mjs";
|
|
7
|
-
import "../runner-
|
|
8
|
-
import "../index-
|
|
9
|
-
import "../index-
|
|
7
|
+
import "../runner-FhUNNaqA.mjs";
|
|
8
|
+
import "../index-Ct0pjZwW.mjs";
|
|
9
|
+
import "../index-BwOO3vu2.mjs";
|
|
10
10
|
import { d as Storage } from "../types-BYjPylrZ.mjs";
|
|
11
|
-
import "../bylines-
|
|
11
|
+
import "../bylines-BnInIxUL.mjs";
|
|
12
12
|
import "../types-BBETcziA.mjs";
|
|
13
|
-
import "../validate-
|
|
13
|
+
import "../validate-CvQ6cvHH.mjs";
|
|
14
14
|
import "../index.mjs";
|
|
15
15
|
import { Kysely } from "kysely";
|
|
16
16
|
|
|
@@ -4,7 +4,7 @@ import { z } from "zod";
|
|
|
4
4
|
/** Valid role level values */
|
|
5
5
|
declare const VALID_ROLE_LEVELS: Set<number>;
|
|
6
6
|
/** Role level — coerces string/number to valid RoleLevel (10|20|30|40|50) */
|
|
7
|
-
declare const roleLevel: z.ZodCoercedNumber<unknown> & z.ZodType<10 | 20 | 30 | 40
|
|
7
|
+
declare const roleLevel: z.ZodCoercedNumber<unknown> & z.ZodType<50 | 10 | 20 | 30 | 40, unknown, z.core.$ZodTypeInternals<50 | 10 | 20 | 30 | 40, unknown>>;
|
|
8
8
|
/** Pagination query params — cursor-based */
|
|
9
9
|
declare const cursorPaginationQuery: z.ZodObject<{
|
|
10
10
|
cursor: z.ZodOptional<z.ZodString>;
|
|
@@ -558,9 +558,9 @@ declare const createFieldBody: z.ZodObject<{
|
|
|
558
558
|
number: "number";
|
|
559
559
|
boolean: "boolean";
|
|
560
560
|
file: "file";
|
|
561
|
+
slug: "slug";
|
|
561
562
|
url: "url";
|
|
562
563
|
image: "image";
|
|
563
|
-
slug: "slug";
|
|
564
564
|
datetime: "datetime";
|
|
565
565
|
text: "text";
|
|
566
566
|
integer: "integer";
|
|
@@ -685,9 +685,9 @@ declare const fieldSchema: z.ZodObject<{
|
|
|
685
685
|
number: "number";
|
|
686
686
|
boolean: "boolean";
|
|
687
687
|
file: "file";
|
|
688
|
+
slug: "slug";
|
|
688
689
|
url: "url";
|
|
689
690
|
image: "image";
|
|
690
|
-
slug: "slug";
|
|
691
691
|
datetime: "datetime";
|
|
692
692
|
text: "text";
|
|
693
693
|
integer: "integer";
|
|
@@ -750,9 +750,9 @@ declare const collectionWithFieldsResponseSchema: z.ZodObject<{
|
|
|
750
750
|
number: "number";
|
|
751
751
|
boolean: "boolean";
|
|
752
752
|
file: "file";
|
|
753
|
+
slug: "slug";
|
|
753
754
|
url: "url";
|
|
754
755
|
image: "image";
|
|
755
|
-
slug: "slug";
|
|
756
756
|
datetime: "datetime";
|
|
757
757
|
text: "text";
|
|
758
758
|
integer: "integer";
|
|
@@ -804,9 +804,9 @@ declare const fieldResponseSchema: z.ZodObject<{
|
|
|
804
804
|
number: "number";
|
|
805
805
|
boolean: "boolean";
|
|
806
806
|
file: "file";
|
|
807
|
+
slug: "slug";
|
|
807
808
|
url: "url";
|
|
808
809
|
image: "image";
|
|
809
|
-
slug: "slug";
|
|
810
810
|
datetime: "datetime";
|
|
811
811
|
text: "text";
|
|
812
812
|
integer: "integer";
|
|
@@ -841,9 +841,9 @@ declare const fieldListResponseSchema: z.ZodObject<{
|
|
|
841
841
|
number: "number";
|
|
842
842
|
boolean: "boolean";
|
|
843
843
|
file: "file";
|
|
844
|
+
slug: "slug";
|
|
844
845
|
url: "url";
|
|
845
846
|
image: "image";
|
|
846
|
-
slug: "slug";
|
|
847
847
|
datetime: "datetime";
|
|
848
848
|
text: "text";
|
|
849
849
|
integer: "integer";
|
|
@@ -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<10 | 20 | 30 | 40
|
|
1195
|
+
role: z.ZodOptional<z.ZodCoercedNumber<unknown> & z.ZodType<50 | 10 | 20 | 30 | 40, unknown, z.core.$ZodTypeInternals<50 | 10 | 20 | 30 | 40, 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<10 | 20 | 30 | 40
|
|
1747
|
+
role: z.ZodOptional<z.ZodCoercedNumber<unknown> & z.ZodType<50 | 10 | 20 | 30 | 40, unknown, z.core.$ZodTypeInternals<50 | 10 | 20 | 30 | 40, 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<10 | 20 | 30 | 40
|
|
1751
|
+
defaultRole: z.ZodCoercedNumber<unknown> & z.ZodType<50 | 10 | 20 | 30 | 40, unknown, z.core.$ZodTypeInternals<50 | 10 | 20 | 30 | 40, 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<10 | 20 | 30 | 40
|
|
1755
|
+
defaultRole: z.ZodOptional<z.ZodCoercedNumber<unknown> & z.ZodType<50 | 10 | 20 | 30 | 40, unknown, z.core.$ZodTypeInternals<50 | 10 | 20 | 30 | 40, unknown>>>;
|
|
1756
1756
|
}, z.core.$strip>;
|
|
1757
1757
|
declare const userSchema: z.ZodObject<{
|
|
1758
1758
|
id: z.ZodString;
|
package/dist/cli/index.mjs
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import { t as __exportAll } from "../chunk-ClPoSABd.mjs";
|
|
3
3
|
import { n as createDatabase } from "../connection-BCNICDWN.mjs";
|
|
4
4
|
import { c as listTablesLike } from "../dialect-helpers-TkdbkFad.mjs";
|
|
5
|
-
import { i as runMigrations, n as getMigrationStatus, t as getMigrationFingerprint } from "../runner-
|
|
5
|
+
import { i as runMigrations, n as getMigrationStatus, t as getMigrationFingerprint } from "../runner-DF2DgD_B.mjs";
|
|
6
6
|
import { r as isI18nEnabled } from "../config-XW5tMrH8.mjs";
|
|
7
7
|
import { n as slugify } from "../slugify-BzGxlOFx.mjs";
|
|
8
8
|
import { t as ContentRepository } from "../content-DvpMad_N.mjs";
|
|
@@ -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-DfeNNoLa.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";
|
package/dist/client/index.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as tokenInterceptor, i as devBypassInterceptor, n as createTransport, r as csrfInterceptor, t as Interceptor } from "../transport-
|
|
1
|
+
import { a as tokenInterceptor, i as devBypassInterceptor, n as createTransport, r as csrfInterceptor, t as Interceptor } from "../transport-nNEGdHkI.mjs";
|
|
2
2
|
|
|
3
3
|
//#region src/client/portable-text.d.ts
|
|
4
4
|
/**
|
|
@@ -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-DuBQk6Mp.mjs";
|
|
3
3
|
|
|
4
4
|
//#region src/api/handlers/context.ts
|
|
5
5
|
async function handleContextEntryList(db, input = {}) {
|
package/dist/db/index.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import "../types-
|
|
1
|
+
import "../types-C-CMfzSl.mjs";
|
|
2
2
|
import { a as SqliteConfig, c as sqlite, i as PostgresConfig, n as DatabaseDialectType, o as libsql, r as LibsqlConfig, s as postgres, t as DatabaseDescriptor } from "../adapters-kZjS7plb.mjs";
|
|
3
|
-
import { i as runMigrations, n as getMigrationStatus, r as rollbackMigration, t as MigrationStatus } from "../runner-
|
|
3
|
+
import { i as runMigrations, n as getMigrationStatus, r as rollbackMigration, t as MigrationStatus } from "../runner-FhUNNaqA.mjs";
|
|
4
4
|
export { type DatabaseDescriptor, type DatabaseDialectType, type LibsqlConfig, type MigrationStatus, type PostgresConfig, type SqliteConfig, getMigrationStatus, libsql, postgres, rollbackMigration, runMigrations, sqlite };
|
package/dist/db/index.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import "../dialect-helpers-TkdbkFad.mjs";
|
|
2
|
-
import { i as runMigrations, n as getMigrationStatus, r as rollbackMigration } from "../runner-
|
|
2
|
+
import { i as runMigrations, n as getMigrationStatus, r as rollbackMigration } from "../runner-DF2DgD_B.mjs";
|
|
3
3
|
|
|
4
4
|
//#region src/db/adapters.ts
|
|
5
5
|
/**
|
|
@@ -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-BbZbIEZp.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-BMs_bmoz.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-BbZbIEZp.mjs";
|
|
2
|
+
import { n as HitlRequestService } from "./site-context-DuBQk6Mp.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-BbZbIEZp.mjs";
|
|
3
|
+
import { t as WorkflowHitlCoordinator } from "./site-context-DuBQk6Mp.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
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as Database } from "./types-
|
|
1
|
+
import { t as Database } from "./types-C-CMfzSl.mjs";
|
|
2
2
|
import { a as Collection, h as FieldValidation, i as SiteSettings, r as SiteSettingKey } from "./types-t7_nCCA9.mjs";
|
|
3
3
|
import { m as MediaValue } from "./types-cn-fvYQ1.mjs";
|
|
4
4
|
import { Kysely } from "kysely";
|