dineway 0.1.28 → 0.1.29
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/api/route-utils.d.mts +1 -1
- package/dist/api/route-utils.mjs +1 -1
- package/dist/api/schemas/index.d.mts +1 -1
- package/dist/{api-B1tPdBKN.mjs → api-THnYu0ZU.mjs} +1 -1
- package/dist/astro/index.d.mts +1 -1
- package/dist/astro/index.mjs +2 -2
- package/dist/astro/middleware/auth.d.mts +1 -1
- package/dist/astro/middleware/auth.mjs +1 -1
- package/dist/astro/middleware/request-context.mjs +1 -1
- package/dist/astro/middleware/setup.mjs +1 -1
- package/dist/astro/middleware.mjs +11 -10
- package/dist/astro/routes/api/admin/api-tokens/_id_.mjs +1 -1
- package/dist/astro/routes/api/admin/api-tokens/index.mjs +2 -2
- package/dist/astro/routes/api/admin/comments/_id_/status.mjs +1 -1
- package/dist/astro/routes/api/admin/comments/_id_.mjs +1 -1
- package/dist/astro/routes/api/admin/comments/bulk.mjs +1 -1
- package/dist/astro/routes/api/admin/comments/counts.mjs +1 -1
- package/dist/astro/routes/api/admin/comments/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 +3 -3
- package/dist/astro/routes/api/admin/context/_id_/supersede.mjs +3 -3
- package/dist/astro/routes/api/admin/context/diff.mjs +2 -2
- package/dist/astro/routes/api/admin/context/index.mjs +3 -3
- 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 +3 -3
- package/dist/astro/routes/api/admin/oauth-clients/index.mjs +3 -3
- 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 +2 -1
- package/dist/astro/routes/api/auth/passkey/options.mjs +3 -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/setup-token/verify.mjs +13 -3
- package/dist/astro/routes/api/auth/signup/complete.mjs +2 -2
- package/dist/astro/routes/api/comments/_collection_/_contentId_/index.mjs +2 -2
- package/dist/astro/routes/api/content/_collection_/_id_/preview-url.mjs +1 -1
- package/dist/astro/routes/api/content/_collection_/_id_/publish.mjs +1 -1
- package/dist/astro/routes/api/health.mjs +1 -1
- package/dist/astro/routes/api/import/wordpress/execute.mjs +2 -2
- package/dist/astro/routes/api/import/wordpress/prepare.mjs +2 -2
- package/dist/astro/routes/api/import/wordpress/rewrite-urls.mjs +2 -2
- package/dist/astro/routes/api/import/wordpress-plugin/execute.mjs +2 -2
- package/dist/astro/routes/api/manifest.mjs +3 -3
- package/dist/astro/routes/api/mcp.mjs +2 -2
- package/dist/astro/routes/api/menus/_name_/items/_id_.mjs +2 -2
- package/dist/astro/routes/api/menus/_name_/items.mjs +2 -2
- package/dist/astro/routes/api/menus/_name_/reorder.mjs +2 -2
- package/dist/astro/routes/api/menus/_name_/translations.mjs +2 -2
- package/dist/astro/routes/api/menus/_name_.mjs +2 -2
- package/dist/astro/routes/api/menus/index.mjs +2 -2
- package/dist/astro/routes/api/oauth/authorize.mjs +3 -3
- package/dist/astro/routes/api/oauth/device/authorize.mjs +2 -2
- package/dist/astro/routes/api/oauth/device/code.mjs +2 -2
- package/dist/astro/routes/api/oauth/device/token.mjs +2 -2
- package/dist/astro/routes/api/oauth/register.mjs +2 -2
- package/dist/astro/routes/api/oauth/token/refresh.mjs +2 -2
- package/dist/astro/routes/api/oauth/token/revoke.mjs +2 -2
- package/dist/astro/routes/api/oauth/token.mjs +3 -3
- package/dist/astro/routes/api/openapi.json.mjs +1 -1
- package/dist/astro/routes/api/redirects/_id_.mjs +2 -2
- package/dist/astro/routes/api/redirects/index.mjs +2 -2
- package/dist/astro/routes/api/schema/collections/_slug_/fields/_fieldSlug_.mjs +1 -1
- package/dist/astro/routes/api/schema/collections/_slug_/fields/index.mjs +1 -1
- package/dist/astro/routes/api/schema/collections/_slug_/fields/reorder.mjs +1 -1
- package/dist/astro/routes/api/schema/collections/_slug_/index.mjs +1 -1
- package/dist/astro/routes/api/schema/collections/index.mjs +1 -1
- package/dist/astro/routes/api/schema/orphans/_slug_.mjs +1 -1
- package/dist/astro/routes/api/schema/orphans/index.mjs +1 -1
- package/dist/astro/routes/api/sections/_slug_.mjs +2 -2
- package/dist/astro/routes/api/sections/index.mjs +2 -2
- package/dist/astro/routes/api/settings.mjs +2 -2
- package/dist/astro/routes/api/setup/admin-verify.mjs +3 -3
- package/dist/astro/routes/api/setup/admin.mjs +1 -1
- package/dist/astro/routes/api/setup/index.mjs +1 -1
- package/dist/astro/routes/api/setup/status.mjs +1 -1
- package/dist/astro/routes/api/snapshot.mjs +1 -1
- package/dist/astro/routes/api/taxonomies/_name_/terms/_slug_/translations.mjs +2 -2
- package/dist/astro/routes/api/taxonomies/_name_/terms/_slug_.mjs +2 -2
- package/dist/astro/routes/api/taxonomies/_name_/terms/index.mjs +2 -2
- package/dist/astro/routes/api/taxonomies/index.mjs +2 -2
- package/dist/astro/routes/api/themes/preview.mjs +1 -1
- package/dist/astro/routes/api/well-known/auth.mjs +2 -2
- package/dist/astro/routes/api/well-known/oauth-authorization-server.mjs +1 -1
- package/dist/astro/routes/api/well-known/oauth-protected-resource.mjs +1 -1
- package/dist/astro/routes/api/widget-areas/_name_/reorder.mjs +2 -2
- package/dist/astro/routes/api/widget-areas/_name_/widgets/_id_.mjs +2 -2
- package/dist/astro/routes/api/widget-areas/_name_/widgets.mjs +2 -2
- package/dist/astro/routes/api/widget-areas/_name_.mjs +2 -2
- package/dist/astro/routes/api/widget-areas/index.mjs +2 -2
- package/dist/astro/types.d.mts +1 -1
- package/dist/{bylines-Cf_VHc-Y.d.mts → bylines-CqLv_DIj.d.mts} +9 -9
- package/dist/cli/index.mjs +2 -2
- package/dist/{context-cudavuns.mjs → context-BnD2m5tn.mjs} +1 -1
- package/dist/{device-flow-CTS91g4A.mjs → device-flow-DDZjntgf.mjs} +2 -2
- package/dist/{hitl-requests-BQiAzKqo.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 +1 -1
- package/dist/index.mjs +1 -1
- package/dist/media/local-runtime.d.mts +1 -1
- 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 +1 -1
- package/dist/runtime.d.mts +1 -1
- package/dist/{site-context-DuBQk6Mp.mjs → site-context-BBX9G7FT.mjs} +1 -1
- package/dist/version-Ds94WfbP.mjs +6 -0
- package/package.json +4 -4
- package/dist/version-B9lKhZ7w.mjs +0 -6
- /package/dist/{allowed-origins-3RuuoFjC.mjs → allowed-origins-U7ZavuGp.mjs} +0 -0
- /package/dist/{auth-control-guard-C-6ysFEy.mjs → auth-control-guard-1FHtkDP6.mjs} +0 -0
- /package/dist/{challenge-store-cJam-E5R.mjs → challenge-store-ChIyDxM6.mjs} +0 -0
- /package/dist/{comments-85tbgZQN.mjs → comments-yTbeIYc2.mjs} +0 -0
- /package/dist/{context-route-helpers--PJWR-5R.mjs → context-route-helpers-Dq5U_AXp.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
|
@@ -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 { b as handleSchemaFieldDelete, w as handleSchemaFieldUpdate, x as handleSchemaFieldGet } from "../../../../../../../api-
|
|
16
|
+
import { b as handleSchemaFieldDelete, w as handleSchemaFieldUpdate, x as handleSchemaFieldGet } from "../../../../../../../api-THnYu0ZU.mjs";
|
|
17
17
|
import "../../../../../../../request-cache-BpwuE2ix.mjs";
|
|
18
18
|
import "../../../../../../../dashboard-BC9bgPOH.mjs";
|
|
19
19
|
import "../../../../../../../briefing-Jsxs587i.mjs";
|
|
@@ -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 { S as handleSchemaFieldList, y as handleSchemaFieldCreate } from "../../../../../../../api-
|
|
16
|
+
import { S as handleSchemaFieldList, y as handleSchemaFieldCreate } from "../../../../../../../api-THnYu0ZU.mjs";
|
|
17
17
|
import "../../../../../../../request-cache-BpwuE2ix.mjs";
|
|
18
18
|
import "../../../../../../../dashboard-BC9bgPOH.mjs";
|
|
19
19
|
import "../../../../../../../briefing-Jsxs587i.mjs";
|
|
@@ -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 { C as handleSchemaFieldReorder } from "../../../../../../../api-
|
|
16
|
+
import { C as handleSchemaFieldReorder } from "../../../../../../../api-THnYu0ZU.mjs";
|
|
17
17
|
import "../../../../../../../request-cache-BpwuE2ix.mjs";
|
|
18
18
|
import "../../../../../../../dashboard-BC9bgPOH.mjs";
|
|
19
19
|
import "../../../../../../../briefing-Jsxs587i.mjs";
|
|
@@ -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 { g as handleSchemaCollectionGet, h as handleSchemaCollectionDelete, v as handleSchemaCollectionUpdate } from "../../../../../../api-
|
|
16
|
+
import { g as handleSchemaCollectionGet, h as handleSchemaCollectionDelete, v as handleSchemaCollectionUpdate } from "../../../../../../api-THnYu0ZU.mjs";
|
|
17
17
|
import "../../../../../../request-cache-BpwuE2ix.mjs";
|
|
18
18
|
import "../../../../../../dashboard-BC9bgPOH.mjs";
|
|
19
19
|
import "../../../../../../briefing-Jsxs587i.mjs";
|
|
@@ -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 { _ as handleSchemaCollectionList, m as handleSchemaCollectionCreate } from "../../../../../api-
|
|
16
|
+
import { _ as handleSchemaCollectionList, m as handleSchemaCollectionCreate } from "../../../../../api-THnYu0ZU.mjs";
|
|
17
17
|
import "../../../../../request-cache-BpwuE2ix.mjs";
|
|
18
18
|
import "../../../../../dashboard-BC9bgPOH.mjs";
|
|
19
19
|
import "../../../../../briefing-Jsxs587i.mjs";
|
|
@@ -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 { p as handleOrphanedTableRegister } from "../../../../../api-
|
|
16
|
+
import { p as handleOrphanedTableRegister } from "../../../../../api-THnYu0ZU.mjs";
|
|
17
17
|
import "../../../../../request-cache-BpwuE2ix.mjs";
|
|
18
18
|
import "../../../../../dashboard-BC9bgPOH.mjs";
|
|
19
19
|
import "../../../../../briefing-Jsxs587i.mjs";
|
|
@@ -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-THnYu0ZU.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-BBX9G7FT.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-F3voM_3Y.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-BBX9G7FT.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-F3voM_3Y.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-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-DQ4Rfh5h.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-DQ4Rfh5h.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-Ds94WfbP.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
|
@@ -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-CqLv_DIj.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>;
|
|
@@ -1022,21 +1022,21 @@ declare const contextEntryListQuery: z.ZodObject<{
|
|
|
1022
1022
|
cursor: z.ZodOptional<z.ZodString>;
|
|
1023
1023
|
}, z.core.$strip>;
|
|
1024
1024
|
declare const contextEntryStaleQuery: z.ZodObject<{
|
|
1025
|
+
cursor: z.ZodOptional<z.ZodString>;
|
|
1026
|
+
limit: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
1027
|
+
contextTypes: z.ZodPipe<z.ZodOptional<z.ZodString>, z.ZodTransform<string[] | undefined, string | undefined>>;
|
|
1028
|
+
scope: z.ZodOptional<z.ZodString>;
|
|
1025
1029
|
includeInherited: z.ZodPipe<z.ZodOptional<z.ZodEnum<{
|
|
1026
1030
|
true: "true";
|
|
1027
1031
|
false: "false";
|
|
1028
1032
|
}>>, z.ZodTransform<boolean | undefined, "true" | "false" | undefined>>;
|
|
1029
|
-
contextTypes: z.ZodPipe<z.ZodOptional<z.ZodString>, z.ZodTransform<string[] | undefined, string | undefined>>;
|
|
1030
1033
|
tags: z.ZodPipe<z.ZodOptional<z.ZodString>, z.ZodTransform<string[] | undefined, string | undefined>>;
|
|
1031
|
-
scope: z.ZodOptional<z.ZodString>;
|
|
1032
1034
|
createdByActorType: z.ZodOptional<z.ZodEnum<{
|
|
1033
1035
|
user: "user";
|
|
1034
1036
|
api_token: "api_token";
|
|
1035
1037
|
system: "system";
|
|
1036
1038
|
}>>;
|
|
1037
1039
|
createdByActorId: z.ZodOptional<z.ZodString>;
|
|
1038
|
-
limit: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
1039
|
-
cursor: z.ZodOptional<z.ZodString>;
|
|
1040
1040
|
now: z.ZodOptional<z.ZodString>;
|
|
1041
1041
|
}, z.core.$strip>;
|
|
1042
1042
|
declare const contextEntryDiffQuery: z.ZodObject<{
|
|
@@ -1194,7 +1194,7 @@ declare const signupCompleteBody: z.ZodObject<{
|
|
|
1194
1194
|
}, z.core.$strip>;
|
|
1195
1195
|
declare const inviteCreateBody: z.ZodObject<{
|
|
1196
1196
|
email: z.ZodString;
|
|
1197
|
-
role: z.ZodOptional<z.ZodCoercedNumber<unknown> & z.ZodType<
|
|
1197
|
+
role: z.ZodOptional<z.ZodCoercedNumber<unknown> & z.ZodType<10 | 20 | 30 | 40 | 50, unknown, z.core.$ZodTypeInternals<10 | 20 | 30 | 40 | 50, unknown>>>;
|
|
1198
1198
|
}, z.core.$strip>;
|
|
1199
1199
|
declare const inviteCompleteBody: z.ZodObject<{
|
|
1200
1200
|
token: z.ZodString;
|
|
@@ -1746,15 +1746,15 @@ declare const usersListQuery: z.ZodObject<{
|
|
|
1746
1746
|
declare const userUpdateBody: z.ZodObject<{
|
|
1747
1747
|
name: z.ZodOptional<z.ZodString>;
|
|
1748
1748
|
email: z.ZodOptional<z.ZodString>;
|
|
1749
|
-
role: z.ZodOptional<z.ZodCoercedNumber<unknown> & z.ZodType<
|
|
1749
|
+
role: z.ZodOptional<z.ZodCoercedNumber<unknown> & z.ZodType<10 | 20 | 30 | 40 | 50, unknown, z.core.$ZodTypeInternals<10 | 20 | 30 | 40 | 50, unknown>>>;
|
|
1750
1750
|
}, z.core.$strip>;
|
|
1751
1751
|
declare const allowedDomainCreateBody: z.ZodObject<{
|
|
1752
1752
|
domain: z.ZodString;
|
|
1753
|
-
defaultRole: z.ZodCoercedNumber<unknown> & z.ZodType<
|
|
1753
|
+
defaultRole: z.ZodCoercedNumber<unknown> & z.ZodType<10 | 20 | 30 | 40 | 50, unknown, z.core.$ZodTypeInternals<10 | 20 | 30 | 40 | 50, unknown>>;
|
|
1754
1754
|
}, z.core.$strip>;
|
|
1755
1755
|
declare const allowedDomainUpdateBody: z.ZodObject<{
|
|
1756
1756
|
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
1757
|
-
defaultRole: z.ZodOptional<z.ZodCoercedNumber<unknown> & z.ZodType<
|
|
1757
|
+
defaultRole: z.ZodOptional<z.ZodCoercedNumber<unknown> & z.ZodType<10 | 20 | 30 | 40 | 50, unknown, z.core.$ZodTypeInternals<10 | 20 | 30 | 40 | 50, unknown>>>;
|
|
1758
1758
|
}, z.core.$strip>;
|
|
1759
1759
|
declare const userSchema: z.ZodObject<{
|
|
1760
1760
|
id: z.ZodString;
|
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";
|
|
@@ -2419,7 +2419,7 @@ function formatDinewayAdminBootstrapMessage(bootstrap) {
|
|
|
2419
2419
|
"Dineway admin access is ready. Local CLI defaults were saved to .env.",
|
|
2420
2420
|
`Dineway admin email: ${bootstrap.adminEmail}`,
|
|
2421
2421
|
`Setup link (expires ${bootstrap.setupTokenExpiresAt}): ${bootstrap.setupUrl}`,
|
|
2422
|
-
"CLI example: dineway whoami"
|
|
2422
|
+
"CLI example: npx dineway whoami"
|
|
2423
2423
|
].join("\n");
|
|
2424
2424
|
}
|
|
2425
2425
|
async function deployForgeway(cwd, options, deps = {}) {
|
|
@@ -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
|
@@ -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-CqLv_DIj.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-THnYu0ZU.mjs";
|
|
28
28
|
import "./request-cache-BpwuE2ix.mjs";
|
|
29
29
|
import "./dashboard-BC9bgPOH.mjs";
|
|
30
30
|
import "./briefing-Jsxs587i.mjs";
|
|
@@ -7,7 +7,7 @@ import "../runner-pAnQS6iI.mjs";
|
|
|
7
7
|
import "../index-2tBfB_8X.mjs";
|
|
8
8
|
import "../index-CpbixmRL.mjs";
|
|
9
9
|
import { d as Storage } from "../types-BYjPylrZ.mjs";
|
|
10
|
-
import "../bylines-
|
|
10
|
+
import "../bylines-CqLv_DIj.mjs";
|
|
11
11
|
import "../types-BBETcziA.mjs";
|
|
12
12
|
import "../validate-BzUCAU2a.mjs";
|
|
13
13
|
import "../index.mjs";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as withTransaction } from "./transaction-D0FOsb3X.mjs";
|
|
2
|
-
import { a as filterExperimentalSiteContextWorkflowScopes, i as experimentalSiteContextWorkflowsEnabled, o as getExperimentalSiteContextWorkflowScopesDisabledMessage, r as disabledExperimentalSiteContextWorkflowScopes } from "./experimental-workflows-
|
|
2
|
+
import { a as filterExperimentalSiteContextWorkflowScopes, i as experimentalSiteContextWorkflowsEnabled, o as getExperimentalSiteContextWorkflowScopesDisabledMessage, r as disabledExperimentalSiteContextWorkflowScopes } from "./experimental-workflows-_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 { c as validateRedirectUri, o as lookupOAuthClient, s as validateClientRedirectUri } from "./oauth-clients-
|
|
4
|
+
import { c as validateRedirectUri, o as lookupOAuthClient, s as validateClientRedirectUri } from "./oauth-clients-D1n0ykZJ.mjs";
|
|
5
5
|
import { t as lookupUserRoleAndStatus } from "./oauth-user-lookup-DdcI8ZVL.mjs";
|
|
6
6
|
import { clampScopes, computeS256Challenge, secureCompare } from "@dineway-ai/auth";
|
|
7
7
|
import { generateCodeVerifier } from "arctic";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { o as getExperimentalSiteContextWorkflowScopesDisabledMessage, r as disabledExperimentalSiteContextWorkflowScopes } from "./experimental-workflows-
|
|
1
|
+
import { o as getExperimentalSiteContextWorkflowScopesDisabledMessage, r as disabledExperimentalSiteContextWorkflowScopes } from "./experimental-workflows-_I9NlZbO.mjs";
|
|
2
2
|
import { s as validateScopes } from "./api-tokens-L0o9Bd7v.mjs";
|
|
3
3
|
|
|
4
4
|
//#region src/api/oauth/redirect-uri.ts
|
|
@@ -5,7 +5,7 @@ import "../types-BgE6gMFI.mjs";
|
|
|
5
5
|
import "../runner-pAnQS6iI.mjs";
|
|
6
6
|
import "../index-2tBfB_8X.mjs";
|
|
7
7
|
import "../index-CpbixmRL.mjs";
|
|
8
|
-
import "../bylines-
|
|
8
|
+
import "../bylines-CqLv_DIj.mjs";
|
|
9
9
|
import "../types-BBETcziA.mjs";
|
|
10
10
|
import "../validate-BzUCAU2a.mjs";
|
|
11
11
|
|
package/dist/runtime.d.mts
CHANGED
|
@@ -5,7 +5,7 @@ import "./types-BgE6gMFI.mjs";
|
|
|
5
5
|
import "./runner-pAnQS6iI.mjs";
|
|
6
6
|
import "./index-2tBfB_8X.mjs";
|
|
7
7
|
import "./index-CpbixmRL.mjs";
|
|
8
|
-
import "./bylines-
|
|
8
|
+
import "./bylines-CqLv_DIj.mjs";
|
|
9
9
|
import "./types-BBETcziA.mjs";
|
|
10
10
|
import "./validate-BzUCAU2a.mjs";
|
|
11
11
|
import { t as getMediaProvider } from "./provider-loader-BaZhx7E3.mjs";
|
|
@@ -12,7 +12,7 @@ import { a as getSiteSettingsWithDb } from "./settings-DORe02PC.mjs";
|
|
|
12
12
|
import { p as normalizeUrl } from "./utils-FEbQMgB5.mjs";
|
|
13
13
|
import { t as sanitizeWordPressImportSlug } from "./wordpress-slugs-hqItqJrQ.mjs";
|
|
14
14
|
import { s as searchCollection } from "./search-Cl9preJT.mjs";
|
|
15
|
-
import { n as assertExperimentalSiteContextWorkflowsEnabled } from "./experimental-workflows-
|
|
15
|
+
import { n as assertExperimentalSiteContextWorkflowsEnabled } from "./experimental-workflows-_I9NlZbO.mjs";
|
|
16
16
|
import { sql } from "kysely";
|
|
17
17
|
import { ulid } from "ulidx";
|
|
18
18
|
import { Role } from "@dineway-ai/auth";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dineway",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.29",
|
|
4
4
|
"description": "Agentic Website builder for restaurants — structured content meets AI via the Model Context Protocol",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"publishConfig": {
|
|
@@ -347,9 +347,9 @@
|
|
|
347
347
|
"ulidx": "^2.4.1",
|
|
348
348
|
"upng-js": "^2.1.0",
|
|
349
349
|
"zod": "^4.4.1",
|
|
350
|
-
"@dineway-ai/admin": "^0.1.
|
|
351
|
-
"@dineway-ai/
|
|
352
|
-
"@dineway-ai/
|
|
350
|
+
"@dineway-ai/admin": "^0.1.15",
|
|
351
|
+
"@dineway-ai/auth": "^0.1.15",
|
|
352
|
+
"@dineway-ai/gutenberg-to-portable-text": "^0.1.13"
|
|
353
353
|
},
|
|
354
354
|
"optionalDependencies": {
|
|
355
355
|
"@aws-sdk/client-s3": "^3.1049.0",
|