dineway 0.2.45 → 0.2.46
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 +4 -4
- package/dist/api/route-utils.mjs +11 -11
- package/dist/api/schemas/index.d.mts +1 -1
- package/dist/{api-CB2KRW3W.mjs → api-BSmjb74C.mjs} +9 -9
- package/dist/{apply-SoTzf8LK.mjs → apply-Caad3Uh7.mjs} +14 -14
- package/dist/astro/index.d.mts +3 -3
- package/dist/astro/index.mjs +3 -3
- package/dist/astro/middleware/auth.d.mts +3 -3
- package/dist/astro/middleware/auth.mjs +2 -2
- package/dist/astro/middleware/redirect.mjs +3 -3
- package/dist/astro/middleware/setup.mjs +1 -1
- package/dist/astro/middleware.mjs +57 -57
- package/dist/astro/routes/api/admin/briefing.mjs +15 -15
- package/dist/astro/routes/api/admin/bylines/_id_/index.mjs +7 -7
- package/dist/astro/routes/api/admin/bylines/_id_/translations.mjs +7 -7
- package/dist/astro/routes/api/admin/bylines/index.mjs +7 -7
- package/dist/astro/routes/api/admin/comments/_id_/status.mjs +5 -5
- package/dist/astro/routes/api/admin/comments/_id_.mjs +4 -4
- package/dist/astro/routes/api/admin/comments/bulk.mjs +4 -4
- package/dist/astro/routes/api/admin/comments/counts.mjs +4 -4
- package/dist/astro/routes/api/admin/comments/index.mjs +4 -4
- package/dist/astro/routes/api/admin/context/_id_/history.mjs +22 -22
- package/dist/astro/routes/api/admin/context/_id_/index.mjs +22 -22
- package/dist/astro/routes/api/admin/context/_id_/review.mjs +23 -23
- package/dist/astro/routes/api/admin/context/_id_/supersede.mjs +23 -23
- package/dist/astro/routes/api/admin/context/diff.mjs +22 -22
- package/dist/astro/routes/api/admin/context/index.mjs +23 -23
- package/dist/astro/routes/api/admin/context/stale.mjs +22 -22
- package/dist/astro/routes/api/admin/hitl-requests/_id_/index.mjs +23 -23
- package/dist/astro/routes/api/admin/hitl-requests/_id_/resolve.mjs +23 -23
- package/dist/astro/routes/api/admin/hitl-requests/index.mjs +23 -23
- package/dist/astro/routes/api/admin/hooks/exclusive/_hookName_.mjs +22 -22
- package/dist/astro/routes/api/admin/plugins/_id_/disable.mjs +37 -37
- package/dist/astro/routes/api/admin/plugins/_id_/enable.mjs +37 -37
- package/dist/astro/routes/api/admin/plugins/_id_/index.mjs +33 -33
- package/dist/astro/routes/api/admin/plugins/_id_/uninstall.mjs +37 -37
- package/dist/astro/routes/api/admin/plugins/_id_/update.mjs +37 -37
- package/dist/astro/routes/api/admin/plugins/index.mjs +33 -33
- package/dist/astro/routes/api/admin/plugins/marketplace/_id_/index.mjs +33 -33
- package/dist/astro/routes/api/admin/plugins/marketplace/_id_/install.mjs +37 -37
- package/dist/astro/routes/api/admin/plugins/marketplace/index.mjs +33 -33
- package/dist/astro/routes/api/admin/plugins/updates.mjs +33 -33
- package/dist/astro/routes/api/admin/review-requests/_id_/image.mjs +15 -15
- package/dist/astro/routes/api/admin/review-requests/_id_/index.mjs +19 -19
- package/dist/astro/routes/api/admin/review-requests/_id_/resolve.mjs +26 -26
- package/dist/astro/routes/api/admin/review-requests/index.mjs +24 -24
- package/dist/astro/routes/api/admin/themes/marketplace/_id_/index.mjs +33 -33
- package/dist/astro/routes/api/admin/themes/marketplace/index.mjs +33 -33
- 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.d.mts +3 -3
- package/dist/astro/routes/api/comments/_collection_/_contentId_/index.mjs +5 -5
- package/dist/astro/routes/api/comments/_collection_/_contentId_/reactions.mjs +4 -4
- package/dist/astro/routes/api/content/_collection_/_id_/preview-url.mjs +5 -5
- package/dist/astro/routes/api/content/_collection_/_id_/publish.mjs +13 -13
- package/dist/astro/routes/api/content/_collection_/_id_/schedule.mjs +13 -13
- package/dist/astro/routes/api/content/_collection_/_id_/terms/_taxonomy_.mjs +10 -10
- package/dist/astro/routes/api/content/_collection_/_id_.mjs +2 -2
- package/dist/astro/routes/api/content/_collection_/index.mjs +2 -2
- package/dist/astro/routes/api/dashboard.mjs +8 -8
- package/dist/astro/routes/api/health.mjs +1 -1
- package/dist/astro/routes/api/import/probe.mjs +8 -8
- package/dist/astro/routes/api/import/wordpress/analyze.mjs +4 -4
- package/dist/astro/routes/api/import/wordpress/execute.d.mts +3 -3
- package/dist/astro/routes/api/import/wordpress/execute.mjs +25 -25
- package/dist/astro/routes/api/import/wordpress/media.d.mts +3 -3
- package/dist/astro/routes/api/import/wordpress/prepare.mjs +23 -23
- package/dist/astro/routes/api/import/wordpress/rewrite-urls.d.mts +3 -3
- package/dist/astro/routes/api/import/wordpress/rewrite-urls.mjs +23 -23
- package/dist/astro/routes/api/import/wordpress-plugin/analyze.mjs +10 -10
- package/dist/astro/routes/api/import/wordpress-plugin/execute.d.mts +3 -3
- package/dist/astro/routes/api/import/wordpress-plugin/execute.mjs +26 -26
- package/dist/astro/routes/api/manifest.mjs +2 -2
- package/dist/astro/routes/api/mcp.mjs +58 -58
- package/dist/astro/routes/api/menus/_name_/items/_id_.mjs +23 -23
- package/dist/astro/routes/api/menus/_name_/items.mjs +23 -23
- package/dist/astro/routes/api/menus/_name_/reorder.mjs +23 -23
- package/dist/astro/routes/api/menus/_name_/translations.mjs +23 -23
- package/dist/astro/routes/api/menus/_name_.mjs +23 -23
- package/dist/astro/routes/api/menus/index.mjs +23 -23
- package/dist/astro/routes/api/openapi.json.mjs +1 -1
- package/dist/astro/routes/api/redirects/_id_.mjs +22 -22
- package/dist/astro/routes/api/redirects/index.mjs +22 -22
- package/dist/astro/routes/api/schema/collections/_slug_/fields/_fieldSlug_.mjs +33 -33
- package/dist/astro/routes/api/schema/collections/_slug_/fields/index.mjs +33 -33
- package/dist/astro/routes/api/schema/collections/_slug_/fields/reorder.mjs +33 -33
- package/dist/astro/routes/api/schema/collections/_slug_/index.mjs +33 -33
- package/dist/astro/routes/api/schema/collections/index.mjs +33 -33
- package/dist/astro/routes/api/schema/index.mjs +4 -4
- package/dist/astro/routes/api/schema/orphans/_slug_.mjs +33 -33
- package/dist/astro/routes/api/schema/orphans/index.mjs +33 -33
- package/dist/astro/routes/api/search/enable.mjs +4 -4
- package/dist/astro/routes/api/search/index.mjs +4 -4
- package/dist/astro/routes/api/search/rebuild.mjs +4 -4
- package/dist/astro/routes/api/search/stats.mjs +4 -4
- package/dist/astro/routes/api/search/suggest.mjs +4 -4
- package/dist/astro/routes/api/sections/_slug_.mjs +23 -23
- package/dist/astro/routes/api/sections/index.mjs +23 -23
- package/dist/astro/routes/api/settings/reviews.mjs +1 -1
- package/dist/astro/routes/api/settings.mjs +23 -23
- 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 +16 -16
- package/dist/astro/routes/api/setup/index.mjs +17 -17
- 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 +25 -25
- package/dist/astro/routes/api/taxonomies/_name_/terms/_slug_.mjs +25 -25
- package/dist/astro/routes/api/taxonomies/_name_/terms/index.mjs +25 -25
- package/dist/astro/routes/api/taxonomies/index.mjs +25 -25
- package/dist/astro/routes/api/typegen.mjs +2 -2
- package/dist/astro/routes/api/well-known/auth.mjs +2 -2
- package/dist/astro/routes/api/widget-areas/_name_/reorder.mjs +22 -22
- package/dist/astro/routes/api/widget-areas/_name_/widgets/_id_.mjs +23 -23
- package/dist/astro/routes/api/widget-areas/_name_/widgets.mjs +23 -23
- package/dist/astro/routes/api/widget-areas/_name_.mjs +23 -23
- package/dist/astro/routes/api/widget-areas/index.mjs +23 -23
- package/dist/astro/routes/robots.txt.mjs +5 -5
- package/dist/astro/routes/sitemap-_collection_.xml.mjs +9 -9
- package/dist/astro/routes/sitemap.xml.mjs +9 -9
- package/dist/astro/session-driver.mjs +3 -3
- package/dist/astro/types.d.mts +3 -3
- package/dist/{briefing-CXQA-DpY.mjs → briefing-CbsLoDJS.mjs} +1 -1
- package/dist/{briefing-9YqN5XoW.mjs → briefing-yQgD73g4.mjs} +5 -5
- package/dist/{byline-BvFH-UZw.mjs → byline-BS25s1R-.mjs} +5 -5
- package/dist/{byline-fields-Dyts_tJ5.d.mts → byline-fields-D6EXp7_j.d.mts} +22 -22
- package/dist/{bylines-ZfS9Qm_E.mjs → bylines-CLBeFLdo.mjs} +1 -1
- package/dist/{bylines-DLFjKcNr.mjs → bylines-ZRvo3-j0.mjs} +3 -3
- package/dist/cli/index.mjs +21 -21
- package/dist/cli/plugin-kit.d.mts +3 -3
- package/dist/client/index.d.mts +3 -3
- package/dist/{comment-CbGlRPPS.mjs → comment-BTt78k0n.mjs} +1 -1
- package/dist/{comments-BFXekTqN.mjs → comments-Do2zF3as.mjs} +1 -1
- package/dist/{content-Dxx0H4k8.mjs → content-BZBomTNV.mjs} +4 -4
- package/dist/{content-refresh-COi0WfKw.mjs → content-refresh-DbGFLB3p.mjs} +2 -2
- package/dist/content-storage/index.d.mts +1 -1
- package/dist/content-storage/index.mjs +11 -11
- package/dist/{content-write-eOTKAf2d.mjs → content-write-Bt_eiX9o.mjs} +9 -9
- package/dist/{context-c4OnrX-0.mjs → context-RtLnM2-Z.mjs} +4 -4
- package/dist/{context-CjeMWXtq.mjs → context-VxiTIEQa.mjs} +2 -2
- package/dist/{dashboard-C_x93lbv.mjs → dashboard-C_x53TcC.mjs} +1 -1
- package/dist/database/d1/index.d.mts +3 -3
- package/dist/database/d1/index.mjs +2 -2
- package/dist/{discovery-CIgViNk9.mjs → discovery-DNwLsQqJ.mjs} +1 -1
- package/dist/{evidence-FRy3SVTP.mjs → evidence-D3Tqm_ik.mjs} +2 -2
- package/dist/{hitl-requests-DtPNPiYe.mjs → hitl-requests-ysSO7eqS.mjs} +1 -1
- package/dist/{hitl-route-helpers-BKI0ZeUF.mjs → hitl-route-helpers-BLJYI67Y.mjs} +1 -1
- package/dist/{import-Cn1_u1S2.mjs → import-BkBVo6UM.mjs} +3 -3
- package/dist/index.d.mts +3 -3
- package/dist/index.mjs +45 -45
- package/dist/{jsonld-DZXdAyOK.d.mts → jsonld-BObNyc22.d.mts} +1 -1
- package/dist/{loader-C9hvIKEW.mjs → loader--zFg6meV.mjs} +4 -4
- package/dist/{mcp-reviewed-executor-B4O9L9MT.mjs → mcp-reviewed-executor-CiuVfiL_.mjs} +2 -2
- package/dist/media/local-runtime.d.mts +3 -3
- package/dist/{menus-BfQjG9Wc.mjs → menus-BoNLPIAK.mjs} +1 -1
- package/dist/{menus-DL-BYzwG.mjs → menus-Dq323Wka.mjs} +3 -3
- package/dist/{migration-B9FyV3ET.mjs → migration-BhVzGnj0.mjs} +5 -5
- package/dist/{object-cache-qP60KjUp.mjs → object-cache-Ue6kAfzf.mjs} +1 -1
- package/dist/{owned-metadata-CJs4-k1w.mjs → owned-metadata-bXhDX1WW.mjs} +1 -1
- package/dist/page/index.d.mts +4 -4
- package/dist/plugin-utils.d.mts +3 -3
- package/dist/plugins/adapt-sandbox-entry.d.mts +3 -3
- package/dist/{plugins-rop9tkYG.mjs → plugins-C10hTI65.mjs} +2 -2
- package/dist/{public-url-DLcDMtBJ.d.mts → public-url-JnHtmWfz.d.mts} +1 -1
- package/dist/{publication-authorization-CS8WqkzL.mjs → publication-authorization-DBNXaGgH.mjs} +4 -4
- package/dist/{query-D0qnvePL.mjs → query-5edkcMYz.mjs} +3 -3
- package/dist/{query-B1t4PSfw.mjs → query-CNXVFYWz.mjs} +10 -10
- package/dist/{registry-3xWpSYNI.mjs → registry-DEKqjKIM.mjs} +1 -1
- package/dist/{release-Bk-UaI2C.mjs → release-CIYyinzY.mjs} +1 -1
- package/dist/{review-requests-BQZp6VaG.mjs → review-requests-B7UdAl1r.mjs} +1 -1
- package/dist/{revision-BhnVYOMz.mjs → revision-BtgwJxxa.mjs} +2 -2
- package/dist/{revisions-C-T9CdGo.mjs → revisions-CQZI886L.mjs} +1 -1
- package/dist/{runtime-Dz7vZRPU.mjs → runtime-BLoyGKUx.mjs} +64 -3
- package/dist/{runtime-Dx9QpCL5.d.mts → runtime-ecsN2xL9.d.mts} +1 -1
- package/dist/runtime.d.mts +3 -3
- package/dist/runtime.mjs +3 -3
- package/dist/{schema-2x9K4t9t.mjs → schema-DIXUswIX.mjs} +1 -1
- package/dist/{search--Qmm2s6n.mjs → search-TXLzVROW.mjs} +1 -1
- package/dist/{sections-0cg9Dhp6.mjs → sections-zaZhTZqa.mjs} +1 -1
- package/dist/seed/index.mjs +16 -16
- package/dist/seo/index.mjs +5 -5
- package/dist/{seo-DxrTizK0.mjs → seo-BQ7R2a1z.mjs} +5 -5
- package/dist/{seo-BYBqbsZk.mjs → seo-DdczIQvk.mjs} +1 -1
- package/dist/{service-Y-ZEhFVM.mjs → service-CUlcOLZj.mjs} +2 -2
- package/dist/{settings-D0SBKo-W.mjs → settings-Bc2eQPR6.mjs} +2 -2
- package/dist/{settings-DM4P-jVe.mjs → settings-CoCGUtE6.mjs} +1 -1
- package/dist/{site-context-DNiKKCc1.mjs → site-context-DkxgOnQl.mjs} +6 -6
- package/dist/{submission-C7tI1Frs.mjs → submission-BNP2Sc3O.mjs} +4 -4
- package/dist/{taxonomies-CZHI0fCa.mjs → taxonomies-CVe1PGaO.mjs} +3 -3
- package/dist/{taxonomies-Cf9huhQ6.mjs → taxonomies-zgZ2HG_z.mjs} +2 -2
- package/dist/{taxonomy-B4O77tAe.mjs → taxonomy-CcyZD5jQ.mjs} +3 -3
- package/dist/{types-z2nZassR.d.mts → types-jtUocGnQ.d.mts} +3 -3
- package/dist/ui/server-runtime.d.mts +5 -5
- package/dist/ui/server-runtime.mjs +13 -13
- package/dist/version-BJwTlK4L.mjs +6 -0
- package/dist/{widgets-P1hMbKIT.mjs → widgets-CJBk8bm7.mjs} +1 -1
- package/dist/{worker-CcvePQzq.mjs → worker-D82vT5OV.mjs} +4 -4
- package/dist/{write-intent-D6xfcx1f.mjs → write-intent-CjTERf3N.mjs} +1 -1
- package/package.json +3 -3
- package/dist/version-CtBv2gNa.mjs +0 -6
- /package/dist/{allowed-origins-CQyKpMbJ.mjs → allowed-origins-SQbPK6WG.mjs} +0 -0
- /package/dist/{challenge-store-BImHCJvl.mjs → challenge-store-7IZ_NqWg.mjs} +0 -0
- /package/dist/{context-route-helpers-CGA2fsiz.mjs → context-route-helpers-CUrRB8qt.mjs} +0 -0
- /package/dist/{mode-BoM5FjH7.mjs → mode-C3RI5Z5t.mjs} +0 -0
- /package/dist/{policy-BL8yj6uD.mjs → policy-DbceGc4P.mjs} +0 -0
- /package/dist/{session-user-j7I8GMvK.mjs → session-user-D36BRaZY.mjs} +0 -0
- /package/dist/{setup-complete-Cn-Ho9RX.mjs → setup-complete-eTV6C0-E.mjs} +0 -0
- /package/dist/{state-LzJZ7qpq.mjs → state-CKkqoA6i.mjs} +0 -0
- /package/dist/{workers-build-Bd4w1aw9.mjs → workers-build-4926MPc0.mjs} +0 -0
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import { Bt as StorageCollectionConfig, dc as isParseError, fc as parseBody, gc as handleError, hc as apiSuccess, lc as OptionsRepository, mc as apiError, pc as parseQuery, uc as ParseResult, zt as StorageCollection } from "../types-
|
|
1
|
+
import { Bt as StorageCollectionConfig, dc as isParseError, fc as parseBody, gc as handleError, hc as apiSuccess, lc as OptionsRepository, mc as apiError, pc as parseQuery, uc as ParseResult, zt as StorageCollection } from "../types-jtUocGnQ.mjs";
|
|
2
2
|
import { n as Database } from "../types-CG9uGPBL.mjs";
|
|
3
3
|
import "../runner-DlkOiguI.mjs";
|
|
4
4
|
import "../index-_fCUsJx9.mjs";
|
|
5
5
|
import "../types-CeFGasN8.mjs";
|
|
6
6
|
import "../types-DLwh1QkC.mjs";
|
|
7
7
|
import "../adapters-cL325h6c.mjs";
|
|
8
|
-
import "../runtime-
|
|
8
|
+
import "../runtime-ecsN2xL9.mjs";
|
|
9
9
|
import "../hook-events-lN-kz-4_.mjs";
|
|
10
10
|
import "../scheduled-publish-7kZkKw7t.mjs";
|
|
11
11
|
import "../public-url-CvNSyMJJ.mjs";
|
|
12
12
|
import "../validate-CleBZbkv.mjs";
|
|
13
|
-
import "../byline-fields-
|
|
13
|
+
import "../byline-fields-D6EXp7_j.mjs";
|
|
14
14
|
import "../types-BuplUVZ4.mjs";
|
|
15
|
-
import { t as getPublicOrigin } from "../public-url-
|
|
15
|
+
import { t as getPublicOrigin } from "../public-url-JnHtmWfz.mjs";
|
|
16
16
|
import { Kysely } from "kysely";
|
|
17
17
|
|
|
18
18
|
//#region src/api/auth-storage.d.ts
|
package/dist/api/route-utils.mjs
CHANGED
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import "../d1-binding-DrLMBUxu.mjs";
|
|
2
2
|
import "../dialect-helpers-C6xtO-Ui.mjs";
|
|
3
3
|
import "../config---A7Bg68.mjs";
|
|
4
|
-
import "../runtime-
|
|
5
|
-
import "../revisions-
|
|
4
|
+
import "../runtime-BLoyGKUx.mjs";
|
|
5
|
+
import "../revisions-CQZI886L.mjs";
|
|
6
6
|
import "../base64-qvSs0Gxy.mjs";
|
|
7
7
|
import "../types-BI3ULB3A.mjs";
|
|
8
8
|
import "../actor-D0AW80ld.mjs";
|
|
9
9
|
import "../atomic-authority-Bf5QZboB.mjs";
|
|
10
|
-
import "../content-
|
|
10
|
+
import "../content-BZBomTNV.mjs";
|
|
11
11
|
import "../request-cache-CizvDoxV.mjs";
|
|
12
12
|
import "../byline-registry-Caj0_gbU.mjs";
|
|
13
13
|
import "../field-defs-cache-dn5Tw79A.mjs";
|
|
14
|
-
import "../object-cache-
|
|
15
|
-
import "../byline-
|
|
16
|
-
import "../owned-metadata-
|
|
17
|
-
import "../revision-
|
|
14
|
+
import "../object-cache-Ue6kAfzf.mjs";
|
|
15
|
+
import "../byline-BS25s1R-.mjs";
|
|
16
|
+
import "../owned-metadata-bXhDX1WW.mjs";
|
|
17
|
+
import "../revision-BtgwJxxa.mjs";
|
|
18
18
|
import "../media-BjH5OD-A.mjs";
|
|
19
19
|
import "../user-Bl2_8rhJ.mjs";
|
|
20
20
|
import { t as OptionsRepository } from "../options-yFkLUuTw.mjs";
|
|
21
|
-
import { r as createStorageAccess } from "../context-
|
|
21
|
+
import { r as createStorageAccess } from "../context-RtLnM2-Z.mjs";
|
|
22
22
|
import "../enrich-CAMsD1aT.mjs";
|
|
23
|
-
import "../seo-
|
|
24
|
-
import "../content-refresh-
|
|
23
|
+
import "../seo-BQ7R2a1z.mjs";
|
|
24
|
+
import "../content-refresh-DbGFLB3p.mjs";
|
|
25
25
|
import "../ssrf-C7tTSD1r.mjs";
|
|
26
26
|
import { n as apiSuccess, r as handleError, t as apiError } from "../error-HuAkl_6r.mjs";
|
|
27
27
|
import { i as parseQuery, n as parseBody, t as isParseError } from "../parse-N4PAJGQr.mjs";
|
|
28
28
|
import { n as getPublicOrigin } from "../public-url-GzeLD6Ae.mjs";
|
|
29
|
-
import { t as finalizeSetup } from "../setup-complete-
|
|
29
|
+
import { t as finalizeSetup } from "../setup-complete-eTV6C0-E.mjs";
|
|
30
30
|
|
|
31
31
|
//#region src/api/auth-storage.ts
|
|
32
32
|
/**
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { $ as settingsUpdateBody, $n as contentResponseSchema, $t as adminCommentListResponseSchema, A as widgetAreaSchema, An as mediaConfirmResponseSchema, At as inviteCompleteBody, B as usersListQuery, Bn as contentAuthorSchema, Bt as signupRequestBody, C as redirectSchema, Cn as orphanedTableSchema, Ct as menuSchema, D as createWidgetBody, Dn as DEFAULT_MAX_UPLOAD_SIZE, Dt as updateMenuBody, E as createWidgetAreaBody, En as updateFieldBody, Et as reorderMenuItemsBody, F as allowedDomainUpdateBody, Fn as mediaProviderListQuery, Ft as passkeyRegisterOptionsBody, G as wpPrepareBody, Gn as contentListQuery, Gt as hitlRequestResolveBody, H as wpMediaImportBody, Hn as contentCompareResponseSchema, Ht as reviewRequestListQuery, I as userDetailSchema, In as mediaResponseSchema, It as passkeyRegisterVerifyBody, J as searchQuery, Jn as contentPublicationReceiptSchema, Jt as contextEntryDiffQuery, K as wpRewriteUrlsBody, Kn as contentListResponseSchema, Kt as siteBriefingQuery, L as userListResponseSchema, Ln as mediaUpdateBody, Lt as passkeyRenameBody, M as widgetAreaWithWidgetsSchema, Mn as mediaItemSchema, Mt as inviteRegisterOptionsBody, N as widgetSchema, Nn as mediaListQuery, Nt as magicLinkSendBody, O as reorderWidgetsBody, On as formatFileSize, Ot as updateMenuItemBody, P as allowedDomainCreateBody, Pn as mediaListResponseSchema, Pt as passkeyOptionsBody, Q as searchSuggestQuery, Qn as contentReleaseReadinessResponseSchema, Qt as contextEntrySupersedeBody, R as userSchema, Rn as mediaUploadUrlBody, Rt as passkeyVerifyBody, S as redirectListResponseSchema, Sn as orphanedTableListResponseSchema, St as menuListItemSchema, T as updateRedirectBody, Tn as updateCollectionBody, Tt as menuWithItemsSchema, U as wpPluginAnalyzeBody, Un as contentCreateBody, Ut as reviewRequestResolveBody, V as importProbeBody, Vn as contentAuthorsResponseSchema, Vt as reviewRequestCreateBody, W as wpPluginExecuteBody, Wn as contentItemSchema, Wt as hitlRequestListQuery, X as searchResponseSchema, Xn as contentPublishResponseSchema, Xt as contextEntryReviewBody, Y as searchRebuildBody, Yn as contentPublishBody, Yt as contextEntryListQuery, Z as searchResultSchema, Zn as contentReleaseReadinessQuery, Zt as contextEntryStaleQuery, _ as notFoundListResponseSchema, _n as fieldListResponseSchema, _r as localeFilterQuery, _t as updateTermBody, a as bylineFieldUpdateBody, an as commentStatusBody, ar as contentTranslationsResponseSchema, at as updateSectionBody, b as notFoundSummaryResponseSchema, bn as fieldSchema, br as slugPattern, bt as menuItemSchema, c as bylineCreditSchema, cn as publicCommentListResponseSchema, cr as trashedContentItemSchema, ct as taxonomyDefSchema, d as bylineUpdateBody, dn as collectionListResponseSchema, dr as apiErrorSchema, dt as termGetResponseSchema, en as commentBulkBody, er as contentScheduleBody, et as siteSettingsSchema, f as bylinesListQuery, fn as collectionResponseSchema, fr as countResponseSchema, ft as termListResponseSchema, g as notFoundListQuery, gn as createFieldBody, gr as localeCode, gt as termWithCountSchema, h as notFoundEntrySchema, hn as createCollectionBody, hr as httpUrl, ht as termTranslationsSchema, i as bylineFieldReorderBody, in as commentSchema, ir as contentTranslationSchema, it as sectionsListQuery, j as widgetAreaWithWidgetsAndCountSchema, jn as mediaExistingResponseSchema, jt as inviteCreateBody, k as updateWidgetBody, kn as mediaConfirmBody, kt as authMeActionBody, l as bylineListResponseSchema, ln as publicCommentSchema, lr as trashedContentListResponseSchema, lt as taxonomyDefTranslationsSchema, m as createRedirectBody, mn as collectionWithFieldsResponseSchema, mr as deleteResponseSchema, mt as termSchema, n as bylineFieldDefinitionSchema, nn as commentCountsResponseSchema, nr as contentSeoSchema, nt as sectionListResponseSchema, o as bylineFieldUsageResponseSchema, on as createCommentBody, or as contentTrashQuery, ot as createTaxonomyDefBody, p as contentBylineInputSchema, pn as collectionSchema, pr as cursorPaginationQuery, pt as termResponseSchema, q as searchEnableBody, qn as contentPreviewUrlBody, qt as contextEntryCreateBody, r as bylineFieldListResponseSchema, rn as commentListQuery, rr as contentTermsBody, rt as sectionSchema, s as bylineCreateBody, sn as createReactionBody, sr as contentUpdateBody, st as createTermBody, t as bylineFieldCreateBody, tn as commentBulkResponseSchema, tr as contentSeoInput, tt as createSectionBody, u as bylineSummarySchema, un as collectionGetQuery, ur as VALID_ROLE_LEVELS, ut as taxonomyListResponseSchema, v as notFoundPruneBody, vn as fieldReorderBody, vr as offsetPaginationQuery, vt as createMenuBody, w as redirectsListQuery, wn as schemaExportQuery, wt as menuTranslationsSchema, x as notFoundSummarySchema, xn as orphanRegisterBody, xr as successEnvelope, xt as menuItemTypeEnum, y as notFoundSummaryQuery, yn as fieldResponseSchema, yr as roleLevel, yt as createMenuItemBody, z as userUpdateBody, zn as mediaUploadUrlResponseSchema, zt as signupCompleteBody } from "../../byline-fields-
|
|
1
|
+
import { $ as settingsUpdateBody, $n as contentResponseSchema, $t as adminCommentListResponseSchema, A as widgetAreaSchema, An as mediaConfirmResponseSchema, At as inviteCompleteBody, B as usersListQuery, Bn as contentAuthorSchema, Bt as signupRequestBody, C as redirectSchema, Cn as orphanedTableSchema, Ct as menuSchema, D as createWidgetBody, Dn as DEFAULT_MAX_UPLOAD_SIZE, Dt as updateMenuBody, E as createWidgetAreaBody, En as updateFieldBody, Et as reorderMenuItemsBody, F as allowedDomainUpdateBody, Fn as mediaProviderListQuery, Ft as passkeyRegisterOptionsBody, G as wpPrepareBody, Gn as contentListQuery, Gt as hitlRequestResolveBody, H as wpMediaImportBody, Hn as contentCompareResponseSchema, Ht as reviewRequestListQuery, I as userDetailSchema, In as mediaResponseSchema, It as passkeyRegisterVerifyBody, J as searchQuery, Jn as contentPublicationReceiptSchema, Jt as contextEntryDiffQuery, K as wpRewriteUrlsBody, Kn as contentListResponseSchema, Kt as siteBriefingQuery, L as userListResponseSchema, Ln as mediaUpdateBody, Lt as passkeyRenameBody, M as widgetAreaWithWidgetsSchema, Mn as mediaItemSchema, Mt as inviteRegisterOptionsBody, N as widgetSchema, Nn as mediaListQuery, Nt as magicLinkSendBody, O as reorderWidgetsBody, On as formatFileSize, Ot as updateMenuItemBody, P as allowedDomainCreateBody, Pn as mediaListResponseSchema, Pt as passkeyOptionsBody, Q as searchSuggestQuery, Qn as contentReleaseReadinessResponseSchema, Qt as contextEntrySupersedeBody, R as userSchema, Rn as mediaUploadUrlBody, Rt as passkeyVerifyBody, S as redirectListResponseSchema, Sn as orphanedTableListResponseSchema, St as menuListItemSchema, T as updateRedirectBody, Tn as updateCollectionBody, Tt as menuWithItemsSchema, U as wpPluginAnalyzeBody, Un as contentCreateBody, Ut as reviewRequestResolveBody, V as importProbeBody, Vn as contentAuthorsResponseSchema, Vt as reviewRequestCreateBody, W as wpPluginExecuteBody, Wn as contentItemSchema, Wt as hitlRequestListQuery, X as searchResponseSchema, Xn as contentPublishResponseSchema, Xt as contextEntryReviewBody, Y as searchRebuildBody, Yn as contentPublishBody, Yt as contextEntryListQuery, Z as searchResultSchema, Zn as contentReleaseReadinessQuery, Zt as contextEntryStaleQuery, _ as notFoundListResponseSchema, _n as fieldListResponseSchema, _r as localeFilterQuery, _t as updateTermBody, a as bylineFieldUpdateBody, an as commentStatusBody, ar as contentTranslationsResponseSchema, at as updateSectionBody, b as notFoundSummaryResponseSchema, bn as fieldSchema, br as slugPattern, bt as menuItemSchema, c as bylineCreditSchema, cn as publicCommentListResponseSchema, cr as trashedContentItemSchema, ct as taxonomyDefSchema, d as bylineUpdateBody, dn as collectionListResponseSchema, dr as apiErrorSchema, dt as termGetResponseSchema, en as commentBulkBody, er as contentScheduleBody, et as siteSettingsSchema, f as bylinesListQuery, fn as collectionResponseSchema, fr as countResponseSchema, ft as termListResponseSchema, g as notFoundListQuery, gn as createFieldBody, gr as localeCode, gt as termWithCountSchema, h as notFoundEntrySchema, hn as createCollectionBody, hr as httpUrl, ht as termTranslationsSchema, i as bylineFieldReorderBody, in as commentSchema, ir as contentTranslationSchema, it as sectionsListQuery, j as widgetAreaWithWidgetsAndCountSchema, jn as mediaExistingResponseSchema, jt as inviteCreateBody, k as updateWidgetBody, kn as mediaConfirmBody, kt as authMeActionBody, l as bylineListResponseSchema, ln as publicCommentSchema, lr as trashedContentListResponseSchema, lt as taxonomyDefTranslationsSchema, m as createRedirectBody, mn as collectionWithFieldsResponseSchema, mr as deleteResponseSchema, mt as termSchema, n as bylineFieldDefinitionSchema, nn as commentCountsResponseSchema, nr as contentSeoSchema, nt as sectionListResponseSchema, o as bylineFieldUsageResponseSchema, on as createCommentBody, or as contentTrashQuery, ot as createTaxonomyDefBody, p as contentBylineInputSchema, pn as collectionSchema, pr as cursorPaginationQuery, pt as termResponseSchema, q as searchEnableBody, qn as contentPreviewUrlBody, qt as contextEntryCreateBody, r as bylineFieldListResponseSchema, rn as commentListQuery, rr as contentTermsBody, rt as sectionSchema, s as bylineCreateBody, sn as createReactionBody, sr as contentUpdateBody, st as createTermBody, t as bylineFieldCreateBody, tn as commentBulkResponseSchema, tr as contentSeoInput, tt as createSectionBody, u as bylineSummarySchema, un as collectionGetQuery, ur as VALID_ROLE_LEVELS, ut as taxonomyListResponseSchema, v as notFoundPruneBody, vn as fieldReorderBody, vr as offsetPaginationQuery, vt as createMenuBody, w as redirectsListQuery, wn as schemaExportQuery, wt as menuTranslationsSchema, x as notFoundSummarySchema, xn as orphanRegisterBody, xr as successEnvelope, xt as menuItemTypeEnum, y as notFoundSummaryQuery, yn as fieldResponseSchema, yr as roleLevel, yt as createMenuItemBody, z as userUpdateBody, zn as mediaUploadUrlResponseSchema, zt as signupCompleteBody } from "../../byline-fields-D6EXp7_j.mjs";
|
|
2
2
|
import { atprotoLoginBody, setupAdminBody, setupAdminVerifyBody, setupAtprotoAdminBody, setupBody } from "./setup.mjs";
|
|
3
3
|
export { DEFAULT_MAX_UPLOAD_SIZE, VALID_ROLE_LEVELS, adminCommentListResponseSchema, allowedDomainCreateBody, allowedDomainUpdateBody, apiErrorSchema, atprotoLoginBody, authMeActionBody, bylineCreateBody, bylineCreditSchema, bylineFieldCreateBody, bylineFieldDefinitionSchema, bylineFieldListResponseSchema, bylineFieldReorderBody, bylineFieldUpdateBody, bylineFieldUsageResponseSchema, bylineListResponseSchema, bylineSummarySchema, bylineUpdateBody, bylinesListQuery, collectionGetQuery, collectionListResponseSchema, collectionResponseSchema, collectionSchema, collectionWithFieldsResponseSchema, commentBulkBody, commentBulkResponseSchema, commentCountsResponseSchema, commentListQuery, commentSchema, commentStatusBody, contentAuthorSchema, contentAuthorsResponseSchema, contentBylineInputSchema, contentCompareResponseSchema, contentCreateBody, contentItemSchema, contentListQuery, contentListResponseSchema, contentPreviewUrlBody, contentPublicationReceiptSchema, contentPublishBody, contentPublishResponseSchema, contentReleaseReadinessQuery, contentReleaseReadinessResponseSchema, contentResponseSchema, contentScheduleBody, contentSeoInput, contentSeoSchema, contentTermsBody, contentTranslationSchema, contentTranslationsResponseSchema, contentTrashQuery, contentUpdateBody, contextEntryCreateBody, contextEntryDiffQuery, contextEntryListQuery, contextEntryReviewBody, contextEntryStaleQuery, contextEntrySupersedeBody, countResponseSchema, createCollectionBody, createCommentBody, createFieldBody, createMenuBody, createMenuItemBody, createReactionBody, createRedirectBody, createSectionBody, createTaxonomyDefBody, createTermBody, createWidgetAreaBody, createWidgetBody, cursorPaginationQuery, deleteResponseSchema, fieldListResponseSchema, fieldReorderBody, fieldResponseSchema, fieldSchema, formatFileSize, hitlRequestListQuery, hitlRequestResolveBody, httpUrl, importProbeBody, inviteCompleteBody, inviteCreateBody, inviteRegisterOptionsBody, localeCode, localeFilterQuery, magicLinkSendBody, mediaConfirmBody, mediaConfirmResponseSchema, mediaExistingResponseSchema, mediaItemSchema, mediaListQuery, mediaListResponseSchema, mediaProviderListQuery, mediaResponseSchema, mediaUpdateBody, mediaUploadUrlBody, mediaUploadUrlResponseSchema, menuItemSchema, menuItemTypeEnum, menuListItemSchema, menuSchema, menuTranslationsSchema, menuWithItemsSchema, notFoundEntrySchema, notFoundListQuery, notFoundListResponseSchema, notFoundPruneBody, notFoundSummaryQuery, notFoundSummaryResponseSchema, notFoundSummarySchema, offsetPaginationQuery, orphanRegisterBody, orphanedTableListResponseSchema, orphanedTableSchema, passkeyOptionsBody, passkeyRegisterOptionsBody, passkeyRegisterVerifyBody, passkeyRenameBody, passkeyVerifyBody, publicCommentListResponseSchema, publicCommentSchema, redirectListResponseSchema, redirectSchema, redirectsListQuery, reorderMenuItemsBody, reorderWidgetsBody, reviewRequestCreateBody, reviewRequestListQuery, reviewRequestResolveBody, roleLevel, schemaExportQuery, searchEnableBody, searchQuery, searchRebuildBody, searchResponseSchema, searchResultSchema, searchSuggestQuery, sectionListResponseSchema, sectionSchema, sectionsListQuery, settingsUpdateBody, setupAdminBody, setupAdminVerifyBody, setupAtprotoAdminBody, setupBody, signupCompleteBody, signupRequestBody, siteBriefingQuery, siteSettingsSchema, slugPattern, successEnvelope, taxonomyDefSchema, taxonomyDefTranslationsSchema, taxonomyListResponseSchema, termGetResponseSchema, termListResponseSchema, termResponseSchema, termSchema, termTranslationsSchema, termWithCountSchema, trashedContentItemSchema, trashedContentListResponseSchema, updateCollectionBody, updateFieldBody, updateMenuBody, updateMenuItemBody, updateRedirectBody, updateSectionBody, updateTermBody, updateWidgetBody, userDetailSchema, userListResponseSchema, userSchema, userUpdateBody, usersListQuery, widgetAreaSchema, widgetAreaWithWidgetsAndCountSchema, widgetAreaWithWidgetsSchema, widgetSchema, wpMediaImportBody, wpPluginAnalyzeBody, wpPluginExecuteBody, wpPrepareBody, wpRewriteUrlsBody };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import { after } from "./after.mjs";
|
|
2
2
|
import { atomicBatch, rowUnchanged } from "./database/batch.mjs";
|
|
3
3
|
import { r as validatePluginIdentifier } from "./validate-Co3j6T_K.mjs";
|
|
4
|
-
import { r as getContentStorage } from "./runtime-
|
|
5
|
-
import { t as readRevisionData } from "./revisions-
|
|
4
|
+
import { r as getContentStorage } from "./runtime-BLoyGKUx.mjs";
|
|
5
|
+
import { t as readRevisionData } from "./revisions-CQZI886L.mjs";
|
|
6
6
|
import { t as contentWriteChecks } from "./atomic-authority-Bf5QZboB.mjs";
|
|
7
|
-
import { t as ContentRepository } from "./content-
|
|
8
|
-
import { o as invalidateCollectionCache } from "./object-cache-
|
|
9
|
-
import { t as RevisionRepository } from "./revision-
|
|
7
|
+
import { t as ContentRepository } from "./content-BZBomTNV.mjs";
|
|
8
|
+
import { o as invalidateCollectionCache } from "./object-cache-Ue6kAfzf.mjs";
|
|
9
|
+
import { t as RevisionRepository } from "./revision-BtgwJxxa.mjs";
|
|
10
10
|
import { t as MediaRepository } from "./media-BjH5OD-A.mjs";
|
|
11
|
-
import { n as prepareContentWrite } from "./content-write-
|
|
12
|
-
import { u as PluginStateRepository } from "./briefing-
|
|
11
|
+
import { n as prepareContentWrite } from "./content-write-Bt_eiX9o.mjs";
|
|
12
|
+
import { u as PluginStateRepository } from "./briefing-yQgD73g4.mjs";
|
|
13
13
|
import { n as hashString } from "./hash-BinU5FKm.mjs";
|
|
14
|
-
import { n as SchemaRegistry, t as SchemaError } from "./registry-
|
|
15
|
-
import { n as VERSION, t as COMMIT } from "./version-
|
|
14
|
+
import { n as SchemaRegistry, t as SchemaError } from "./registry-DEKqjKIM.mjs";
|
|
15
|
+
import { n as VERSION, t as COMMIT } from "./version-BJwTlK4L.mjs";
|
|
16
16
|
import { a as reconcileManifestAccess, i as pluginManifestSchema, r as normalizeManifestRoute } from "./manifest-schema-B_rWNZn5.mjs";
|
|
17
17
|
import { t as DinewayStorageError } from "./types-PX2c4KA4.mjs";
|
|
18
18
|
import { sql } from "kysely";
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import { c as __exportAll } from "./runner-CuG8o1uW.mjs";
|
|
2
2
|
import { atomicBatch, rowUnchanged } from "./database/batch.mjs";
|
|
3
3
|
import { n as getI18nConfig } from "./config-XW5tMrH8.mjs";
|
|
4
|
-
import { r as getContentStorage } from "./runtime-
|
|
5
|
-
import { t as ContentRepository } from "./content-
|
|
6
|
-
import { o as invalidateCollectionCache } from "./object-cache-
|
|
7
|
-
import { t as BylineRepository } from "./byline-
|
|
4
|
+
import { r as getContentStorage } from "./runtime-BLoyGKUx.mjs";
|
|
5
|
+
import { t as ContentRepository } from "./content-BZBomTNV.mjs";
|
|
6
|
+
import { o as invalidateCollectionCache } from "./object-cache-Ue6kAfzf.mjs";
|
|
7
|
+
import { t as BylineRepository } from "./byline-BS25s1R-.mjs";
|
|
8
8
|
import { t as MediaRepository } from "./media-BjH5OD-A.mjs";
|
|
9
9
|
import { r as snapshotContentTermChanges } from "./terms-EskuqbKE.mjs";
|
|
10
|
-
import { t as TaxonomyRepository } from "./taxonomy-
|
|
10
|
+
import { t as TaxonomyRepository } from "./taxonomy-CcyZD5jQ.mjs";
|
|
11
11
|
import { t as RedirectRepository } from "./redirect-CJ-FAbNK.mjs";
|
|
12
|
-
import { n as prepareContentWrite } from "./content-write-
|
|
13
|
-
import { a as markContentMediaUsageCollectionStaleSafely, o as prepareContentMediaUsageCollectionStale } from "./content-refresh-
|
|
12
|
+
import { n as prepareContentWrite } from "./content-write-Bt_eiX9o.mjs";
|
|
13
|
+
import { a as markContentMediaUsageCollectionStaleSafely, o as prepareContentMediaUsageCollectionStale } from "./content-refresh-DbGFLB3p.mjs";
|
|
14
14
|
import { a as validateExternalUrl, r as ssrfSafeFetch } from "./ssrf-C7tTSD1r.mjs";
|
|
15
15
|
import { t as FTSManager } from "./fts-manager-BHwhq1lC.mjs";
|
|
16
|
-
import { n as SchemaRegistry } from "./registry-
|
|
17
|
-
import { s as setSiteSettings } from "./settings-
|
|
16
|
+
import { n as SchemaRegistry } from "./registry-DEKqjKIM.mjs";
|
|
17
|
+
import { s as setSiteSettings } from "./settings-Bc2eQPR6.mjs";
|
|
18
18
|
import { t as validateSeed } from "./validate-WOW5vZz_.mjs";
|
|
19
19
|
import { sql } from "kysely";
|
|
20
20
|
import { ulid } from "ulidx";
|
|
@@ -292,7 +292,7 @@ async function applySeed(db, seed, options = {}) {
|
|
|
292
292
|
}
|
|
293
293
|
}
|
|
294
294
|
}
|
|
295
|
-
const { invalidateTaxonomyDefsCache } = await import("./taxonomies-
|
|
295
|
+
const { invalidateTaxonomyDefsCache } = await import("./taxonomies-CVe1PGaO.mjs").then((n) => n.u);
|
|
296
296
|
invalidateTaxonomyDefsCache();
|
|
297
297
|
}
|
|
298
298
|
if (includeContent && seed.bylines) {
|
|
@@ -521,8 +521,8 @@ async function applySeed(db, seed, options = {}) {
|
|
|
521
521
|
}
|
|
522
522
|
}
|
|
523
523
|
}
|
|
524
|
-
const { invalidateBylineCache } = await import("./bylines-
|
|
525
|
-
const { invalidateUrlPatternCache } = await import("./query-
|
|
524
|
+
const { invalidateBylineCache } = await import("./bylines-ZRvo3-j0.mjs").then((n) => n.t);
|
|
525
|
+
const { invalidateUrlPatternCache } = await import("./query-CNXVFYWz.mjs").then((n) => n.o);
|
|
526
526
|
const { invalidateRedirectCache } = await import("./cache-DsEbwFVE.mjs").then((n) => n.t);
|
|
527
527
|
invalidateBylineCache();
|
|
528
528
|
invalidateUrlPatternCache();
|
|
@@ -617,7 +617,7 @@ async function writeSeedContent(db, collection, entry, data, bylineIds, target)
|
|
|
617
617
|
statements: [...prepared.batch.statements, prepareContentMediaUsageCollectionStale(db, collection, "CONTENT_USAGE_STALE")]
|
|
618
618
|
});
|
|
619
619
|
prepared.afterCommit();
|
|
620
|
-
const { invalidateTermCache } = await import("./taxonomies-
|
|
620
|
+
const { invalidateTermCache } = await import("./taxonomies-CVe1PGaO.mjs").then((n) => n.u);
|
|
621
621
|
invalidateTermCache();
|
|
622
622
|
const item = await repository.findById(collection, prepared.id);
|
|
623
623
|
if (!item) throw new Error("Failed to reload seeded content");
|
|
@@ -670,7 +670,7 @@ async function writeSeedContent(db, collection, entry, data, bylineIds, target)
|
|
|
670
670
|
statements
|
|
671
671
|
});
|
|
672
672
|
invalidateCollectionCache(collection);
|
|
673
|
-
const { invalidateTermCache } = await import("./taxonomies-
|
|
673
|
+
const { invalidateTermCache } = await import("./taxonomies-CVe1PGaO.mjs").then((n) => n.u);
|
|
674
674
|
invalidateTermCache();
|
|
675
675
|
const item = await repository.findById(collection, id);
|
|
676
676
|
if (!item) throw new Error("Failed to reload seeded content");
|
package/dist/astro/index.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { i as ContentItem } from "../types--vDpt_aS.mjs";
|
|
2
|
-
import { Ao as getStoredConfig, At as ResolvedPlugin, Mo as S3StorageConfig, No as StorageDescriptor, Oo as DinewayConfig, Ws as MediaItem, jo as LocalStorageConfig } from "../types-
|
|
2
|
+
import { Ao as getStoredConfig, At as ResolvedPlugin, Mo as S3StorageConfig, No as StorageDescriptor, Oo as DinewayConfig, Ws as MediaItem, jo as LocalStorageConfig } from "../types-jtUocGnQ.mjs";
|
|
3
3
|
import "../types-CG9uGPBL.mjs";
|
|
4
4
|
import "../runner-DlkOiguI.mjs";
|
|
5
5
|
import "../index-_fCUsJx9.mjs";
|
|
@@ -7,12 +7,12 @@ import "../types-CeFGasN8.mjs";
|
|
|
7
7
|
import "../types-DLwh1QkC.mjs";
|
|
8
8
|
import "../adapters-cL325h6c.mjs";
|
|
9
9
|
import { i as ObjectCacheRuntimeConfig, r as ObjectCacheDescriptor } from "../types-BSCBDV_V.mjs";
|
|
10
|
-
import "../runtime-
|
|
10
|
+
import "../runtime-ecsN2xL9.mjs";
|
|
11
11
|
import "../hook-events-lN-kz-4_.mjs";
|
|
12
12
|
import "../scheduled-publish-7kZkKw7t.mjs";
|
|
13
13
|
import "../public-url-CvNSyMJJ.mjs";
|
|
14
14
|
import "../validate-CleBZbkv.mjs";
|
|
15
|
-
import "../byline-fields-
|
|
15
|
+
import "../byline-fields-D6EXp7_j.mjs";
|
|
16
16
|
import "../types-BuplUVZ4.mjs";
|
|
17
17
|
import { DinewayHandlers, DinewayManifest, ManifestCollection } from "./types.mjs";
|
|
18
18
|
import { AstroIntegration } from "astro";
|
package/dist/astro/index.mjs
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { a as validateContentStorage } from "../config---A7Bg68.mjs";
|
|
2
2
|
import { t as INTERNAL_MEDIA_PREFIX } from "../normalize-DrmlLn40.mjs";
|
|
3
|
-
import { n as VERSION, t as COMMIT } from "../version-
|
|
3
|
+
import { n as VERSION, t as COMMIT } from "../version-BJwTlK4L.mjs";
|
|
4
4
|
import { t as defaultSeed } from "../default-BxRRjN_x.mjs";
|
|
5
|
-
import { n as validateAllowedOrigins, r as validateOriginShape } from "../allowed-origins-
|
|
6
|
-
import { r as writeWorkersBuildMetadata } from "../workers-build-
|
|
5
|
+
import { n as validateAllowedOrigins, r as validateOriginShape } from "../allowed-origins-SQbPK6WG.mjs";
|
|
6
|
+
import { r as writeWorkersBuildMetadata } from "../workers-build-4926MPc0.mjs";
|
|
7
7
|
import { createRequire } from "node:module";
|
|
8
8
|
import { existsSync, readFileSync } from "node:fs";
|
|
9
9
|
import { dirname, isAbsolute, relative, resolve } from "node:path";
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { po as SiteAuthTokenContext } from "../../types-
|
|
1
|
+
import { po as SiteAuthTokenContext } from "../../types-jtUocGnQ.mjs";
|
|
2
2
|
import "../../types-CG9uGPBL.mjs";
|
|
3
3
|
import "../../runner-DlkOiguI.mjs";
|
|
4
4
|
import "../../index-_fCUsJx9.mjs";
|
|
5
5
|
import "../../types-CeFGasN8.mjs";
|
|
6
6
|
import "../../types-DLwh1QkC.mjs";
|
|
7
7
|
import "../../adapters-cL325h6c.mjs";
|
|
8
|
-
import "../../runtime-
|
|
8
|
+
import "../../runtime-ecsN2xL9.mjs";
|
|
9
9
|
import "../../hook-events-lN-kz-4_.mjs";
|
|
10
10
|
import "../../scheduled-publish-7kZkKw7t.mjs";
|
|
11
11
|
import "../../public-url-CvNSyMJJ.mjs";
|
|
12
12
|
import "../../validate-CleBZbkv.mjs";
|
|
13
|
-
import "../../byline-fields-
|
|
13
|
+
import "../../byline-fields-D6EXp7_j.mjs";
|
|
14
14
|
import "../../types-BuplUVZ4.mjs";
|
|
15
15
|
import { DinewayHandlers } from "../types.mjs";
|
|
16
16
|
import { User } from "@dineway-ai/auth";
|
|
@@ -6,8 +6,8 @@ import { n as prepareAuthenticatedWriteChecks } from "../../atomic-authority-Bf5
|
|
|
6
6
|
import { t as apiError } from "../../error-HuAkl_6r.mjs";
|
|
7
7
|
import { a as hashApiToken, i as hasScope } from "../../api-tokens-CK0aCsS2.mjs";
|
|
8
8
|
import { n as getPublicOrigin } from "../../public-url-GzeLD6Ae.mjs";
|
|
9
|
-
import { t as getAuthMode } from "../../mode-
|
|
10
|
-
import { t as resolveSessionUser } from "../../session-user-
|
|
9
|
+
import { t as getAuthMode } from "../../mode-C3RI5Z5t.mjs";
|
|
10
|
+
import { t as resolveSessionUser } from "../../session-user-D36BRaZY.mjs";
|
|
11
11
|
import { a as resolveApiToken, o as resolveOAuthToken } from "../../api-tokens-yyJPh_qs.mjs";
|
|
12
12
|
import { ulid } from "ulidx";
|
|
13
13
|
import { defineMiddleware } from "astro:middleware";
|
|
@@ -2,12 +2,12 @@ import { getRequestContext } from "../../request-context.mjs";
|
|
|
2
2
|
import "../../d1-binding-DrLMBUxu.mjs";
|
|
3
3
|
import "../../dialect-helpers-C6xtO-Ui.mjs";
|
|
4
4
|
import "../../config---A7Bg68.mjs";
|
|
5
|
-
import "../../runtime-
|
|
6
|
-
import "../../revisions-
|
|
5
|
+
import "../../runtime-BLoyGKUx.mjs";
|
|
6
|
+
import "../../revisions-CQZI886L.mjs";
|
|
7
7
|
import "../../runtime-env-DpYGy4pT.mjs";
|
|
8
8
|
import "../../base64-qvSs0Gxy.mjs";
|
|
9
9
|
import "../../types-BI3ULB3A.mjs";
|
|
10
|
-
import { r as getDb } from "../../loader
|
|
10
|
+
import { r as getDb } from "../../loader--zFg6meV.mjs";
|
|
11
11
|
import { n as alternateTrailingSlashPath, t as RedirectRepository } from "../../redirect-CJ-FAbNK.mjs";
|
|
12
12
|
import { a as matchCachedPatterns, n as compileRedirectRules, o as setCachedRedirects, r as getCachedRedirects } from "../../cache-DsEbwFVE.mjs";
|
|
13
13
|
import { n as isTerminalStatus } from "../../status-CDqWWt6i.mjs";
|
|
@@ -6,80 +6,80 @@ import { t as d1Database } from "../d1-binding-DrLMBUxu.mjs";
|
|
|
6
6
|
import { atomicBatch, isD1Database } from "../database/batch.mjs";
|
|
7
7
|
import { s as isSqlite } from "../dialect-helpers-C6xtO-Ui.mjs";
|
|
8
8
|
import { i as setI18nConfig } from "../config-XW5tMrH8.mjs";
|
|
9
|
-
import { d as EmailPipeline, f as definePlugin, m as readBoundedPluginRouteBody, p as DEFAULT_PLUGIN_RAW_BODY_LIMIT_BYTES, u as PluginRouteRegistry } from "../plugins-
|
|
9
|
+
import { d as EmailPipeline, f as definePlugin, m as readBoundedPluginRouteBody, p as DEFAULT_PLUGIN_RAW_BODY_LIMIT_BYTES, u as PluginRouteRegistry } from "../plugins-C10hTI65.mjs";
|
|
10
10
|
import "../config---A7Bg68.mjs";
|
|
11
|
-
import { i as getContentStorageRuntime, o as registerContentStorage, r as getContentStorage, t as assertContentStorageConfiguration } from "../runtime-
|
|
12
|
-
import "../revisions-
|
|
11
|
+
import { i as getContentStorageRuntime, o as registerContentStorage, r as getContentStorage, t as assertContentStorageConfiguration } from "../runtime-BLoyGKUx.mjs";
|
|
12
|
+
import "../revisions-CQZI886L.mjs";
|
|
13
13
|
import { n as runWithRuntimeEnvironment } from "../runtime-env-DpYGy4pT.mjs";
|
|
14
14
|
import { createRecorder, flushRecorder, formatServerTimingHeader, isInstrumentationEnabled, isServerTimingEnabled, kyselyLogOption } from "../database/instrumentation.mjs";
|
|
15
15
|
import "../base64-qvSs0Gxy.mjs";
|
|
16
16
|
import "../types-BI3ULB3A.mjs";
|
|
17
|
-
import { o as isMissingTableError, r as getDb } from "../loader
|
|
17
|
+
import { o as isMissingTableError, r as getDb } from "../loader--zFg6meV.mjs";
|
|
18
18
|
import "../actor-D0AW80ld.mjs";
|
|
19
19
|
import "../atomic-authority-Bf5QZboB.mjs";
|
|
20
|
-
import { i as drainContentHookEvents, t as ContentRepository } from "../content-
|
|
20
|
+
import { i as drainContentHookEvents, t as ContentRepository } from "../content-BZBomTNV.mjs";
|
|
21
21
|
import { r as requestCached } from "../request-cache-CizvDoxV.mjs";
|
|
22
22
|
import "../byline-registry-Caj0_gbU.mjs";
|
|
23
23
|
import { a as initWithLock, i as createInitLock, r as processCachedAsync, t as createProcessCache } from "../process-cache-CMy5M80h.mjs";
|
|
24
24
|
import "../field-defs-cache-dn5Tw79A.mjs";
|
|
25
|
-
import "../object-cache-
|
|
26
|
-
import "../byline-
|
|
27
|
-
import "../owned-metadata-
|
|
28
|
-
import { t as RevisionRepository } from "../revision-
|
|
25
|
+
import "../object-cache-Ue6kAfzf.mjs";
|
|
26
|
+
import "../byline-BS25s1R-.mjs";
|
|
27
|
+
import "../owned-metadata-bXhDX1WW.mjs";
|
|
28
|
+
import { t as RevisionRepository } from "../revision-BtgwJxxa.mjs";
|
|
29
29
|
import { t as MediaRepository } from "../media-BjH5OD-A.mjs";
|
|
30
30
|
import "../user-Bl2_8rhJ.mjs";
|
|
31
31
|
import "../terms-EskuqbKE.mjs";
|
|
32
|
-
import "../taxonomy-
|
|
33
|
-
import "../comment-
|
|
32
|
+
import "../taxonomy-CcyZD5jQ.mjs";
|
|
33
|
+
import "../comment-BTt78k0n.mjs";
|
|
34
34
|
import { t as OptionsRepository } from "../options-yFkLUuTw.mjs";
|
|
35
35
|
import "../audit-hXJBTPY0.mjs";
|
|
36
36
|
import "../site-activity-hpfJkmxQ.mjs";
|
|
37
37
|
import { r as ReviewRequestRepository } from "../review-requests-DZYM51yI.mjs";
|
|
38
|
-
import { n as PublicationAuthorizationService, r as publicationReceipt, s as ContentReleaseGrantRepository, t as PublicationAuthorizationError } from "../publication-authorization-
|
|
39
|
-
import "../site-context-
|
|
40
|
-
import { i as CronExecutor, t as PluginContextFactory } from "../context-
|
|
41
|
-
import "../menus-
|
|
38
|
+
import { n as PublicationAuthorizationService, r as publicationReceipt, s as ContentReleaseGrantRepository, t as PublicationAuthorizationError } from "../publication-authorization-DBNXaGgH.mjs";
|
|
39
|
+
import "../site-context-DkxgOnQl.mjs";
|
|
40
|
+
import { i as CronExecutor, t as PluginContextFactory } from "../context-RtLnM2-Z.mjs";
|
|
41
|
+
import "../menus-BoNLPIAK.mjs";
|
|
42
42
|
import "../redirect-CJ-FAbNK.mjs";
|
|
43
43
|
import { n as normalizeMediaValue } from "../normalize-DrmlLn40.mjs";
|
|
44
44
|
import "../enrich-CAMsD1aT.mjs";
|
|
45
|
-
import { C as handleContentUnschedule, D as encodeRev, E as decodeRev, O as validateRev, S as handleContentUnpublish, _ as handleContentPermanentDelete, a as handleContentAuthors, b as handleContentSchedule, c as handleContentCountTrashed, d as handleContentDiscardDraft, f as handleContentDuplicate, g as handleContentListTrashed, h as handleContentList, l as handleContentCreate, m as handleContentGetIncludingTrashed, o as handleContentCompare, p as handleContentGet, s as handleContentCountScheduled, u as handleContentDelete, v as handleContentPublish, w as handleContentUpdate, x as handleContentTranslations, y as handleContentRestore } from "../content-write-
|
|
45
|
+
import { C as handleContentUnschedule, D as encodeRev, E as decodeRev, O as validateRev, S as handleContentUnpublish, _ as handleContentPermanentDelete, a as handleContentAuthors, b as handleContentSchedule, c as handleContentCountTrashed, d as handleContentDiscardDraft, f as handleContentDuplicate, g as handleContentListTrashed, h as handleContentList, l as handleContentCreate, m as handleContentGetIncludingTrashed, o as handleContentCompare, p as handleContentGet, s as handleContentCountScheduled, u as handleContentDelete, v as handleContentPublish, w as handleContentUpdate, x as handleContentTranslations, y as handleContentRestore } from "../content-write-Bt_eiX9o.mjs";
|
|
46
46
|
import "../version-store-DyYULGd3.mjs";
|
|
47
|
-
import { i as runIdempotentContentWrite, n as isContentWriteReplay } from "../write-intent-
|
|
48
|
-
import "../seo-
|
|
47
|
+
import { i as runIdempotentContentWrite, n as isContentWriteReplay } from "../write-intent-CjTERf3N.mjs";
|
|
48
|
+
import "../seo-BQ7R2a1z.mjs";
|
|
49
49
|
import { t as ReviewPayloadBuilder } from "../review-payload-mDJIgcFy.mjs";
|
|
50
50
|
import "../context-types-B9ShQ_6c.mjs";
|
|
51
|
-
import { f as createHookPipeline, p as resolveExclusiveHooks, u as PluginStateRepository } from "../briefing-
|
|
51
|
+
import { f as createHookPipeline, p as resolveExclusiveHooks, u as PluginStateRepository } from "../briefing-yQgD73g4.mjs";
|
|
52
52
|
import { a as SiteAiGateway, t as SiteIntegrationRuns } from "../runs-BGqkkqhp.mjs";
|
|
53
53
|
import { o as validateEncryptionKeyAtStartup } from "../secrets-D52WNV_c.mjs";
|
|
54
|
-
import { i as markContentMediaUsageCollectionStale, r as findNonTranslatableSiblingContentIds, s as refreshContentMediaUsageAfterWrite, t as deleteContentMediaUsage } from "../content-refresh-
|
|
54
|
+
import { i as markContentMediaUsageCollectionStale, r as findNonTranslatableSiblingContentIds, s as refreshContentMediaUsageAfterWrite, t as deleteContentMediaUsage } from "../content-refresh-DbGFLB3p.mjs";
|
|
55
55
|
import "../ssrf-C7tTSD1r.mjs";
|
|
56
56
|
import { n as hashString } from "../hash-BinU5FKm.mjs";
|
|
57
57
|
import { t as FTSManager } from "../fts-manager-BHwhq1lC.mjs";
|
|
58
58
|
import "../public-discovery-CGRirTJH.mjs";
|
|
59
|
-
import { n as SchemaRegistry } from "../registry-
|
|
59
|
+
import { n as SchemaRegistry } from "../registry-DEKqjKIM.mjs";
|
|
60
60
|
import { r as createPublicMediaUrlResolver } from "../url-RhtABurq.mjs";
|
|
61
|
-
import "../settings-
|
|
62
|
-
import "../evidence-
|
|
63
|
-
import "../submission-
|
|
64
|
-
import "../dashboard-
|
|
65
|
-
import "../briefing-
|
|
66
|
-
import "../review-requests-
|
|
67
|
-
import { n as VERSION, t as COMMIT } from "../version-
|
|
68
|
-
import { A as handleRevisionGet, D as handleMediaGet, E as handleMediaDelete, M as handleRevisionRestore, O as handleMediaList, T as handleMediaCreate, d as createPluginBundleStore, j as handleRevisionList, k as handleMediaUpdate } from "../api-
|
|
69
|
-
import "../query-
|
|
61
|
+
import "../settings-Bc2eQPR6.mjs";
|
|
62
|
+
import "../evidence-D3Tqm_ik.mjs";
|
|
63
|
+
import "../submission-BNP2Sc3O.mjs";
|
|
64
|
+
import "../dashboard-C_x53TcC.mjs";
|
|
65
|
+
import "../briefing-CbsLoDJS.mjs";
|
|
66
|
+
import "../review-requests-B7UdAl1r.mjs";
|
|
67
|
+
import { n as VERSION, t as COMMIT } from "../version-BJwTlK4L.mjs";
|
|
68
|
+
import { A as handleRevisionGet, D as handleMediaGet, E as handleMediaDelete, M as handleRevisionRestore, O as handleMediaList, T as handleMediaCreate, d as createPluginBundleStore, j as handleRevisionList, k as handleMediaUpdate } from "../api-BSmjb74C.mjs";
|
|
69
|
+
import "../query-5edkcMYz.mjs";
|
|
70
70
|
import "../zod-generator-DBu-v5Zy.mjs";
|
|
71
|
-
import "../schema-
|
|
72
|
-
import "../discovery-
|
|
73
|
-
import "../seo-
|
|
74
|
-
import "../bylines-
|
|
71
|
+
import "../schema-DIXUswIX.mjs";
|
|
72
|
+
import "../discovery-DNwLsQqJ.mjs";
|
|
73
|
+
import "../seo-DdczIQvk.mjs";
|
|
74
|
+
import "../bylines-CLBeFLdo.mjs";
|
|
75
75
|
import "../byline-fields-BAezRNxz.mjs";
|
|
76
|
-
import "../sections-
|
|
77
|
-
import "../settings-
|
|
76
|
+
import "../sections-zaZhTZqa.mjs";
|
|
77
|
+
import "../settings-CoCGUtE6.mjs";
|
|
78
78
|
import { t as IntegrationCredentialStore } from "../store-rYMso0t7.mjs";
|
|
79
79
|
import "../integration-credentials-B23h97Ip.mjs";
|
|
80
80
|
import "../resolve-BdDNBmaU.mjs";
|
|
81
|
-
import "../taxonomies-
|
|
82
|
-
import "../taxonomies-
|
|
81
|
+
import "../taxonomies-CVe1PGaO.mjs";
|
|
82
|
+
import "../taxonomies-zgZ2HG_z.mjs";
|
|
83
83
|
import { r as normalizeManifestRoute } from "../manifest-schema-B_rWNZn5.mjs";
|
|
84
84
|
import "../parse-N4PAJGQr.mjs";
|
|
85
85
|
import "../content-C8i4DyTt.mjs";
|
|
@@ -88,35 +88,35 @@ import "../byline-fields-Bnw5NflJ.mjs";
|
|
|
88
88
|
import "../status-CDqWWt6i.mjs";
|
|
89
89
|
import { t as getTrustedProxyHeaders } from "../trusted-proxy-Dmi1gZXh.mjs";
|
|
90
90
|
import "../rate-limit-BzNkH-vQ.mjs";
|
|
91
|
-
import { a as invalidateUrlPatternCache } from "../query-
|
|
91
|
+
import { a as invalidateUrlPatternCache } from "../query-CNXVFYWz.mjs";
|
|
92
92
|
import "../preview-DC1K_aSd.mjs";
|
|
93
93
|
import "../parser-CoH5-854.mjs";
|
|
94
94
|
import { n as runPluginMigrations } from "../migrations-DTCIQJ2_.mjs";
|
|
95
95
|
import { n as sanitizeHeadersForSandbox, t as extractRequestMeta } from "../request-meta-DOBXMRX0.mjs";
|
|
96
96
|
import { r as devConsoleEmailDeliver, t as DEV_CONSOLE_EMAIL_PLUGIN_ID } from "../email-console-Bf9hXqbW.mjs";
|
|
97
97
|
import "../api-tokens-CK0aCsS2.mjs";
|
|
98
|
-
import { n as createActivePluginMcpRegistry } from "../mcp-reviewed-executor-
|
|
98
|
+
import { n as createActivePluginMcpRegistry } from "../mcp-reviewed-executor-CiuVfiL_.mjs";
|
|
99
99
|
import { n as redactActivityRecord } from "../activity-lyE6xCrf.mjs";
|
|
100
100
|
import "../activity-events-D4JfWJFI.mjs";
|
|
101
101
|
import { i as experimentalSiteContextWorkflowsEnabled } from "../experimental-workflows-BtKXzyIH.mjs";
|
|
102
102
|
import "../utils-WY63JOPB.mjs";
|
|
103
|
-
import "../search
|
|
104
|
-
import "../import-
|
|
103
|
+
import "../search-TXLzVROW.mjs";
|
|
104
|
+
import "../import-BkBVo6UM.mjs";
|
|
105
105
|
import "../tokens-B6bMUhBx.mjs";
|
|
106
106
|
import "../comment-reaction-CFkwluRq.mjs";
|
|
107
|
-
import "../menus-
|
|
108
|
-
import "../bylines-
|
|
109
|
-
import "../widgets-
|
|
107
|
+
import "../menus-Dq323Wka.mjs";
|
|
108
|
+
import "../bylines-ZRvo3-j0.mjs";
|
|
109
|
+
import "../widgets-CJBk8bm7.mjs";
|
|
110
110
|
import "../validate-WOW5vZz_.mjs";
|
|
111
|
-
import "../apply-
|
|
111
|
+
import "../apply-Caad3Uh7.mjs";
|
|
112
112
|
import "../load-XTcFS1Dp.mjs";
|
|
113
113
|
import "../index.mjs";
|
|
114
|
-
import { n as d1ReleaseRevision, t as assertD1Release } from "../state-
|
|
115
|
-
import { t as getAuthMode } from "../mode-
|
|
116
|
-
import { i as runPublicationTransaction, r as validateReviewMedia, t as ReviewAutomationWorker } from "../worker-
|
|
117
|
-
import "../policy-
|
|
118
|
-
import { t as cleanupExpiredChallenges } from "../challenge-store-
|
|
119
|
-
import { t as resolveSessionUser } from "../session-user-
|
|
114
|
+
import { n as d1ReleaseRevision, t as assertD1Release } from "../state-CKkqoA6i.mjs";
|
|
115
|
+
import { t as getAuthMode } from "../mode-C3RI5Z5t.mjs";
|
|
116
|
+
import { i as runPublicationTransaction, r as validateReviewMedia, t as ReviewAutomationWorker } from "../worker-D82vT5OV.mjs";
|
|
117
|
+
import "../policy-DbceGc4P.mjs";
|
|
118
|
+
import { t as cleanupExpiredChallenges } from "../challenge-store-7IZ_NqWg.mjs";
|
|
119
|
+
import { t as resolveSessionUser } from "../session-user-D36BRaZY.mjs";
|
|
120
120
|
import { Kysely, sql } from "kysely";
|
|
121
121
|
import { getSecret } from "astro:env/server";
|
|
122
122
|
import { defineMiddleware } from "astro:middleware";
|
|
@@ -1380,7 +1380,7 @@ var DinewayRuntime = class DinewayRuntime {
|
|
|
1380
1380
|
}
|
|
1381
1381
|
})();
|
|
1382
1382
|
if (collectionCount.count === 0 && !setupDone) {
|
|
1383
|
-
const { applySeed } = await import("../apply-
|
|
1383
|
+
const { applySeed } = await import("../apply-Caad3Uh7.mjs").then((n) => n.n);
|
|
1384
1384
|
const { loadSeed } = await import("../load-XTcFS1Dp.mjs").then((n) => n.r);
|
|
1385
1385
|
const { validateSeed } = await import("../validate-WOW5vZz_.mjs").then((n) => n.n);
|
|
1386
1386
|
const seed = await loadSeed();
|
|
@@ -2730,7 +2730,7 @@ const handleRequestWithRuntime = defineMiddleware(async (context, next) => {
|
|
|
2730
2730
|
url
|
|
2731
2731
|
});
|
|
2732
2732
|
if (!scoped) return next();
|
|
2733
|
-
const { getDb } = await import("../loader
|
|
2733
|
+
const { getDb } = await import("../loader--zFg6meV.mjs").then((n) => n.i);
|
|
2734
2734
|
const primaryDb = await getDb();
|
|
2735
2735
|
const runtimeStorage = locals.dineway?.db ? getContentStorageRuntime(locals.dineway.db) : void 0;
|
|
2736
2736
|
if (runtimeStorage) {
|
|
@@ -2766,7 +2766,7 @@ const handleRequestWithRuntime = defineMiddleware(async (context, next) => {
|
|
|
2766
2766
|
if (!isSetupVerified() && !context.isPrerendered) {
|
|
2767
2767
|
const setupStart = startServerTiming(serverTimings);
|
|
2768
2768
|
try {
|
|
2769
|
-
const { getDb } = await import("../loader
|
|
2769
|
+
const { getDb } = await import("../loader--zFg6meV.mjs").then((n) => n.i);
|
|
2770
2770
|
await (await getDb()).selectFrom("_dineway_migrations").selectAll().limit(1).execute();
|
|
2771
2771
|
markSetupVerified();
|
|
2772
2772
|
} catch (error) {
|
|
@@ -2917,7 +2917,7 @@ const handleRequestWithRuntime = defineMiddleware(async (context, next) => {
|
|
|
2917
2917
|
const onRequest = defineMiddleware((context, next) => runWithPageCache(context.cache?.enabled && !context.locals.__dinewayRequestDb ? context.cache : void 0, () => runWithRuntimeEnvironment(getSecret, async () => {
|
|
2918
2918
|
if (getConfig()?.database?.entrypoint !== "@dineway-ai/cloudflare/db/d1" || context.isPrerendered) return handleRequestWithRuntime(context, next);
|
|
2919
2919
|
try {
|
|
2920
|
-
const { getDb } = await import("../loader
|
|
2920
|
+
const { getDb } = await import("../loader--zFg6meV.mjs").then((n) => n.i);
|
|
2921
2921
|
await assertD1Release(await getDb(), d1ReleaseRevision(getPlugins()));
|
|
2922
2922
|
} catch (error) {
|
|
2923
2923
|
console.error("Dineway D1 release check failed:", error);
|
|
@@ -2937,7 +2937,7 @@ async function runScheduledTasks(options = {}) {
|
|
|
2937
2937
|
const config = getConfig();
|
|
2938
2938
|
if (!config) throw new Error("Dineway is not configured.");
|
|
2939
2939
|
if (config.database?.entrypoint === "@dineway-ai/cloudflare/db/d1") {
|
|
2940
|
-
const { getDb } = await import("../loader
|
|
2940
|
+
const { getDb } = await import("../loader--zFg6meV.mjs").then((n) => n.i);
|
|
2941
2941
|
await assertD1Release(await getDb(), d1ReleaseRevision(getPlugins()));
|
|
2942
2942
|
}
|
|
2943
2943
|
return (await getRuntime(config)).runScheduledTasks(options);
|
|
@@ -1,40 +1,40 @@
|
|
|
1
1
|
import "../../../../d1-binding-DrLMBUxu.mjs";
|
|
2
2
|
import "../../../../dialect-helpers-C6xtO-Ui.mjs";
|
|
3
3
|
import "../../../../config---A7Bg68.mjs";
|
|
4
|
-
import "../../../../runtime-
|
|
5
|
-
import "../../../../revisions-
|
|
4
|
+
import "../../../../runtime-BLoyGKUx.mjs";
|
|
5
|
+
import "../../../../revisions-CQZI886L.mjs";
|
|
6
6
|
import "../../../../runtime-env-DpYGy4pT.mjs";
|
|
7
7
|
import "../../../../base64-qvSs0Gxy.mjs";
|
|
8
8
|
import "../../../../types-BI3ULB3A.mjs";
|
|
9
|
-
import "../../../../loader
|
|
9
|
+
import "../../../../loader--zFg6meV.mjs";
|
|
10
10
|
import "../../../../actor-D0AW80ld.mjs";
|
|
11
11
|
import "../../../../atomic-authority-Bf5QZboB.mjs";
|
|
12
|
-
import "../../../../content-
|
|
12
|
+
import "../../../../content-BZBomTNV.mjs";
|
|
13
13
|
import "../../../../request-cache-CizvDoxV.mjs";
|
|
14
14
|
import "../../../../byline-registry-Caj0_gbU.mjs";
|
|
15
15
|
import "../../../../field-defs-cache-dn5Tw79A.mjs";
|
|
16
|
-
import "../../../../object-cache-
|
|
17
|
-
import "../../../../byline-
|
|
18
|
-
import "../../../../owned-metadata-
|
|
19
|
-
import "../../../../revision-
|
|
16
|
+
import "../../../../object-cache-Ue6kAfzf.mjs";
|
|
17
|
+
import "../../../../byline-BS25s1R-.mjs";
|
|
18
|
+
import "../../../../owned-metadata-bXhDX1WW.mjs";
|
|
19
|
+
import "../../../../revision-BtgwJxxa.mjs";
|
|
20
20
|
import "../../../../media-BjH5OD-A.mjs";
|
|
21
21
|
import "../../../../user-Bl2_8rhJ.mjs";
|
|
22
22
|
import "../../../../terms-EskuqbKE.mjs";
|
|
23
23
|
import "../../../../options-yFkLUuTw.mjs";
|
|
24
24
|
import "../../../../site-activity-hpfJkmxQ.mjs";
|
|
25
25
|
import "../../../../review-requests-DZYM51yI.mjs";
|
|
26
|
-
import "../../../../context-
|
|
26
|
+
import "../../../../context-RtLnM2-Z.mjs";
|
|
27
27
|
import "../../../../enrich-CAMsD1aT.mjs";
|
|
28
|
-
import "../../../../seo-
|
|
28
|
+
import "../../../../seo-BQ7R2a1z.mjs";
|
|
29
29
|
import "../../../../context-types-B9ShQ_6c.mjs";
|
|
30
|
-
import "../../../../briefing-
|
|
31
|
-
import "../../../../content-refresh-
|
|
30
|
+
import "../../../../briefing-yQgD73g4.mjs";
|
|
31
|
+
import "../../../../content-refresh-DbGFLB3p.mjs";
|
|
32
32
|
import "../../../../ssrf-C7tTSD1r.mjs";
|
|
33
33
|
import "../../../../fts-manager-BHwhq1lC.mjs";
|
|
34
34
|
import "../../../../public-discovery-CGRirTJH.mjs";
|
|
35
|
-
import "../../../../registry-
|
|
36
|
-
import "../../../../settings-
|
|
37
|
-
import { t as handleSiteBriefingGet } from "../../../../briefing-
|
|
35
|
+
import "../../../../registry-DEKqjKIM.mjs";
|
|
36
|
+
import "../../../../settings-Bc2eQPR6.mjs";
|
|
37
|
+
import { t as handleSiteBriefingGet } from "../../../../briefing-CbsLoDJS.mjs";
|
|
38
38
|
import { a as unwrapResult, i as requireDb, r as handleError, t as apiError } from "../../../../error-HuAkl_6r.mjs";
|
|
39
39
|
import { i as parseQuery, t as isParseError } from "../../../../parse-N4PAJGQr.mjs";
|
|
40
40
|
import "../../../../content-C8i4DyTt.mjs";
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import "../../../../../../d1-binding-DrLMBUxu.mjs";
|
|
2
2
|
import "../../../../../../dialect-helpers-C6xtO-Ui.mjs";
|
|
3
3
|
import "../../../../../../config---A7Bg68.mjs";
|
|
4
|
-
import "../../../../../../runtime-
|
|
5
|
-
import "../../../../../../revisions-
|
|
4
|
+
import "../../../../../../runtime-BLoyGKUx.mjs";
|
|
5
|
+
import "../../../../../../revisions-CQZI886L.mjs";
|
|
6
6
|
import "../../../../../../runtime-env-DpYGy4pT.mjs";
|
|
7
7
|
import "../../../../../../base64-qvSs0Gxy.mjs";
|
|
8
8
|
import "../../../../../../types-BI3ULB3A.mjs";
|
|
9
|
-
import "../../../../../../loader
|
|
9
|
+
import "../../../../../../loader--zFg6meV.mjs";
|
|
10
10
|
import "../../../../../../request-cache-CizvDoxV.mjs";
|
|
11
11
|
import "../../../../../../byline-registry-Caj0_gbU.mjs";
|
|
12
12
|
import "../../../../../../field-defs-cache-dn5Tw79A.mjs";
|
|
13
|
-
import "../../../../../../object-cache-
|
|
14
|
-
import { t as BylineRepository } from "../../../../../../byline-
|
|
13
|
+
import "../../../../../../object-cache-Ue6kAfzf.mjs";
|
|
14
|
+
import { t as BylineRepository } from "../../../../../../byline-BS25s1R-.mjs";
|
|
15
15
|
import "../../../../../../terms-EskuqbKE.mjs";
|
|
16
16
|
import "../../../../../../context-types-B9ShQ_6c.mjs";
|
|
17
17
|
import "../../../../../../public-discovery-CGRirTJH.mjs";
|
|
18
|
-
import { i as handleBylineUpdate } from "../../../../../../bylines-
|
|
18
|
+
import { i as handleBylineUpdate } from "../../../../../../bylines-CLBeFLdo.mjs";
|
|
19
19
|
import "../../../../../../resolve-BdDNBmaU.mjs";
|
|
20
20
|
import { a as unwrapResult, n as apiSuccess, r as handleError, t as apiError } from "../../../../../../error-HuAkl_6r.mjs";
|
|
21
21
|
import { n as parseBody, t as isParseError } from "../../../../../../parse-N4PAJGQr.mjs";
|
|
@@ -24,7 +24,7 @@ import "../../../../../../redirects-BwnvcNyN.mjs";
|
|
|
24
24
|
import "../../../../../../byline-fields-Bnw5NflJ.mjs";
|
|
25
25
|
import "../../../../../../status-CDqWWt6i.mjs";
|
|
26
26
|
import "../../../../../../api/schemas/index.mjs";
|
|
27
|
-
import { a as invalidateBylineCache } from "../../../../../../bylines-
|
|
27
|
+
import { a as invalidateBylineCache } from "../../../../../../bylines-ZRvo3-j0.mjs";
|
|
28
28
|
import { n as requirePerm } from "../../../../../../authorize-Cg8wByla.mjs";
|
|
29
29
|
import { Role } from "@dineway-ai/auth";
|
|
30
30
|
|