dineway 0.2.9 → 0.2.11
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 +3 -3
- package/dist/api/route-utils.mjs +3 -3
- package/dist/api/schemas/index.d.mts +1 -1
- package/dist/{api-C7JRPcb8.mjs → api-67MUpnh4.mjs} +5 -5
- package/dist/{apply-DHT0l398.mjs → apply-qf-XwOhN.mjs} +9 -9
- package/dist/astro/index.d.mts +2 -2
- package/dist/astro/index.mjs +2 -2
- package/dist/astro/middleware/auth.d.mts +2 -2
- package/dist/astro/middleware/auth.mjs +2 -2
- package/dist/astro/middleware/setup.mjs +1 -1
- package/dist/astro/middleware.mjs +29 -29
- package/dist/astro/routes/api/admin/briefing.mjs +4 -4
- package/dist/astro/routes/api/admin/byline-fields/_slug_/usage.mjs +2 -2
- package/dist/astro/routes/api/admin/byline-fields/_slug_.mjs +2 -2
- package/dist/astro/routes/api/admin/byline-fields/index.mjs +2 -2
- package/dist/astro/routes/api/admin/byline-fields/reorder.mjs +2 -2
- package/dist/astro/routes/api/admin/bylines/_id_/index.mjs +5 -5
- package/dist/astro/routes/api/admin/bylines/_id_/translations.mjs +5 -5
- package/dist/astro/routes/api/admin/bylines/index.mjs +5 -5
- package/dist/astro/routes/api/admin/context/_id_/history.mjs +8 -8
- package/dist/astro/routes/api/admin/context/_id_/index.mjs +8 -8
- package/dist/astro/routes/api/admin/context/_id_/review.mjs +8 -8
- package/dist/astro/routes/api/admin/context/_id_/supersede.mjs +8 -8
- package/dist/astro/routes/api/admin/context/diff.mjs +8 -8
- package/dist/astro/routes/api/admin/context/index.mjs +8 -8
- package/dist/astro/routes/api/admin/context/stale.mjs +8 -8
- package/dist/astro/routes/api/admin/hitl-requests/_id_/index.mjs +9 -9
- package/dist/astro/routes/api/admin/hitl-requests/_id_/resolve.mjs +9 -9
- package/dist/astro/routes/api/admin/hitl-requests/index.mjs +9 -9
- package/dist/astro/routes/api/admin/hooks/exclusive/_hookName_.mjs +8 -8
- package/dist/astro/routes/api/admin/plugins/_id_/disable.mjs +18 -18
- package/dist/astro/routes/api/admin/plugins/_id_/enable.mjs +18 -18
- package/dist/astro/routes/api/admin/plugins/_id_/index.mjs +16 -16
- package/dist/astro/routes/api/admin/plugins/_id_/uninstall.mjs +18 -18
- package/dist/astro/routes/api/admin/plugins/_id_/update.mjs +18 -18
- package/dist/astro/routes/api/admin/plugins/index.mjs +16 -16
- package/dist/astro/routes/api/admin/plugins/marketplace/_id_/index.mjs +16 -16
- package/dist/astro/routes/api/admin/plugins/marketplace/_id_/install.mjs +18 -18
- package/dist/astro/routes/api/admin/plugins/marketplace/index.mjs +16 -16
- package/dist/astro/routes/api/admin/plugins/updates.mjs +16 -16
- package/dist/astro/routes/api/admin/review-requests/_id_/resolve.mjs +7 -7
- package/dist/astro/routes/api/admin/review-requests/index.mjs +7 -7
- package/dist/astro/routes/api/admin/themes/marketplace/_id_/index.mjs +16 -16
- package/dist/astro/routes/api/admin/themes/marketplace/index.mjs +16 -16
- package/dist/astro/routes/api/admin/users/_id_/disable.mjs +1 -1
- package/dist/astro/routes/api/admin/users/_id_/index.mjs +1 -1
- package/dist/astro/routes/api/auth/invite/complete.mjs +2 -2
- package/dist/astro/routes/api/auth/invite/register-options.mjs +1 -1
- package/dist/astro/routes/api/auth/mode.mjs +1 -1
- package/dist/astro/routes/api/auth/passkey/options.mjs +1 -1
- package/dist/astro/routes/api/auth/passkey/register/options.mjs +1 -1
- package/dist/astro/routes/api/auth/passkey/register/verify.mjs +2 -2
- package/dist/astro/routes/api/auth/passkey/verify.mjs +2 -2
- package/dist/astro/routes/api/auth/signup/complete.mjs +2 -2
- package/dist/astro/routes/api/content/_collection_/_id_/terms/_taxonomy_.mjs +1 -1
- package/dist/astro/routes/api/health.mjs +1 -1
- package/dist/astro/routes/api/import/probe.mjs +2 -2
- package/dist/astro/routes/api/import/wordpress/analyze.mjs +2 -2
- package/dist/astro/routes/api/import/wordpress/execute.d.mts +2 -2
- package/dist/astro/routes/api/import/wordpress/execute.mjs +13 -13
- package/dist/astro/routes/api/import/wordpress/media.d.mts +2 -2
- package/dist/astro/routes/api/import/wordpress/prepare.mjs +9 -9
- package/dist/astro/routes/api/import/wordpress/rewrite-urls.d.mts +2 -2
- package/dist/astro/routes/api/import/wordpress/rewrite-urls.mjs +9 -9
- package/dist/astro/routes/api/import/wordpress-plugin/analyze.mjs +4 -4
- package/dist/astro/routes/api/import/wordpress-plugin/execute.d.mts +2 -2
- package/dist/astro/routes/api/import/wordpress-plugin/execute.mjs +14 -14
- package/dist/astro/routes/api/manifest.mjs +2 -2
- package/dist/astro/routes/api/mcp.mjs +36 -36
- package/dist/astro/routes/api/menus/_name_/items/_id_.mjs +9 -9
- package/dist/astro/routes/api/menus/_name_/items.mjs +9 -9
- package/dist/astro/routes/api/menus/_name_/reorder.mjs +9 -9
- package/dist/astro/routes/api/menus/_name_/translations.mjs +9 -9
- package/dist/astro/routes/api/menus/_name_.mjs +9 -9
- package/dist/astro/routes/api/menus/index.mjs +9 -9
- package/dist/astro/routes/api/oauth/authorize.mjs +1 -1
- package/dist/astro/routes/api/oauth/device/authorize.mjs +1 -1
- package/dist/astro/routes/api/oauth/device/code.mjs +1 -1
- package/dist/astro/routes/api/oauth/device/token.mjs +1 -1
- package/dist/astro/routes/api/oauth/token/refresh.mjs +1 -1
- package/dist/astro/routes/api/oauth/token/revoke.mjs +1 -1
- package/dist/astro/routes/api/oauth/token.mjs +2 -2
- package/dist/astro/routes/api/openapi.json.mjs +1 -1
- package/dist/astro/routes/api/redirects/_id_.mjs +8 -8
- package/dist/astro/routes/api/redirects/index.mjs +8 -8
- package/dist/astro/routes/api/schema/collections/_slug_/fields/_fieldSlug_.mjs +16 -16
- package/dist/astro/routes/api/schema/collections/_slug_/fields/index.mjs +16 -16
- package/dist/astro/routes/api/schema/collections/_slug_/fields/reorder.mjs +16 -16
- package/dist/astro/routes/api/schema/collections/_slug_/index.mjs +16 -16
- package/dist/astro/routes/api/schema/collections/index.mjs +16 -16
- package/dist/astro/routes/api/schema/index.mjs +3 -3
- package/dist/astro/routes/api/schema/orphans/_slug_.mjs +16 -16
- package/dist/astro/routes/api/schema/orphans/index.mjs +16 -16
- package/dist/astro/routes/api/sections/_slug_.mjs +8 -8
- package/dist/astro/routes/api/sections/index.mjs +8 -8
- package/dist/astro/routes/api/settings.mjs +8 -8
- 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 +6 -6
- package/dist/astro/routes/api/setup/index.mjs +7 -7
- 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 +10 -10
- package/dist/astro/routes/api/taxonomies/_name_/terms/_slug_.mjs +10 -10
- package/dist/astro/routes/api/taxonomies/_name_/terms/index.mjs +10 -10
- package/dist/astro/routes/api/taxonomies/index.mjs +10 -10
- package/dist/astro/routes/api/typegen.mjs +3 -3
- package/dist/astro/routes/api/well-known/auth.mjs +2 -2
- package/dist/astro/routes/api/widget-areas/_name_/reorder.mjs +8 -8
- package/dist/astro/routes/api/widget-areas/_name_/widgets/_id_.mjs +8 -8
- package/dist/astro/routes/api/widget-areas/_name_/widgets.mjs +8 -8
- package/dist/astro/routes/api/widget-areas/_name_.mjs +8 -8
- package/dist/astro/routes/api/widget-areas/index.mjs +8 -8
- package/dist/astro/types.d.mts +2 -2
- package/dist/{briefing-Cl70iEH5.mjs → briefing-CFzam-BE.mjs} +1 -1
- package/dist/{briefing-GFhLTLJo.mjs → briefing-Cv2LqGVN.mjs} +2 -2
- package/dist/{byline-fields-EiCArEIw.d.mts → byline-fields-Fl38N6h5.d.mts} +25 -25
- package/dist/{byline-fields-BKzA0fJU.mjs → byline-fields-sE9SQsDR.mjs} +1 -1
- package/dist/{byline-registry-Ba54M74c.mjs → byline-registry-BLgrU3dA.mjs} +1 -1
- package/dist/{byline-BJa1MyKB.mjs → byline-v4kKt4I0.mjs} +2 -2
- package/dist/{bylines-kixFoaRV.mjs → bylines-BKBCEwd1.mjs} +2 -2
- package/dist/{bylines-B53Saxdb.mjs → bylines-C8ugKJ2i.mjs} +1 -1
- package/dist/cli/index.mjs +7 -7
- package/dist/cli/plugin-kit.d.mts +2 -2
- package/dist/client/index.d.mts +2 -2
- package/dist/{content-refresh-BmkilU5M.mjs → content-refresh-CLMQRcgP.mjs} +1 -1
- package/dist/{context-BQ8O8pqD.mjs → context-CwDkm8os.mjs} +2 -2
- package/dist/{context-DT0tIsfw.mjs → context-DyEG-k2A.mjs} +2 -2
- package/dist/{device-flow-BKKeobcV.mjs → device-flow-BWV1ZxXW.mjs} +1 -1
- package/dist/{field-defs-cache-CiXP3eO3.mjs → field-defs-cache-BBsAQm7W.mjs} +1 -1
- package/dist/{hitl-requests-01Xe2FfD.mjs → hitl-requests-BhyCwUO7.mjs} +1 -1
- package/dist/{hitl-route-helpers-vdROIary.mjs → hitl-route-helpers-Dg6bo7c6.mjs} +1 -1
- package/dist/{import-C-zxnT89.mjs → import-BPQs0pH4.mjs} +1 -1
- package/dist/index.d.mts +3 -3
- package/dist/index.mjs +25 -25
- package/dist/{jsonld-gtuFB5dA.d.mts → jsonld-DSAZ4e9K.d.mts} +1 -1
- package/dist/{mcp-reviewed-executor-BCR-Pgtg.mjs → mcp-reviewed-executor-CrszK61Z.mjs} +1 -1
- package/dist/media/local-runtime.d.mts +2 -2
- package/dist/{menus-LYALU2Mf.mjs → menus-DWPsv6p3.mjs} +1 -1
- package/dist/{oauth-authorization-CX7aa8Ph.mjs → oauth-authorization-fiXxn7FY.mjs} +1 -1
- package/dist/page/index.d.mts +3 -3
- package/dist/plugin-utils.d.mts +2 -2
- package/dist/plugins/adapt-sandbox-entry.d.mts +2 -2
- package/dist/{plugins-B7-4Okii.mjs → plugins-mHPWInmx.mjs} +1 -1
- package/dist/{public-url-D85-Z75C.d.mts → public-url-DVdhWe8n.d.mts} +1 -1
- package/dist/{query-C_m8sn-S.mjs → query-BGxz5wby.mjs} +5 -5
- package/dist/{query-DNczixZr.mjs → query-DDvG2G6h.mjs} +1 -1
- package/dist/{registry-SEJqFliS.mjs → registry-BlVA2gpN.mjs} +2 -2
- package/dist/runtime.d.mts +2 -2
- package/dist/{schema-Dk_N31V4.mjs → schema-C457D4_h.mjs} +1 -1
- package/dist/seed/index.mjs +6 -6
- package/dist/{site-context-qU_bKUMe.mjs → site-context-Boxwy7OY.mjs} +2 -2
- package/dist/{taxonomies-DuhGjBa8.mjs → taxonomies-BbC4z9PY.mjs} +1 -1
- package/dist/{taxonomies-WVnFki0o.mjs → taxonomies-sgdAKC-b.mjs} +1 -1
- package/dist/{transaction-0LEAAy8R.mjs → transaction-Chz7SBGr.mjs} +1 -0
- package/dist/{types-DGwUpjba.d.mts → types-DNbTvBr3.d.mts} +240 -4
- package/dist/ui/server-runtime.d.mts +4 -4
- package/dist/ui/server-runtime.mjs +5 -5
- package/dist/version-CT2run5l.mjs +6 -0
- package/dist/{zod-generator-Cr3SiHsc.mjs → zod-generator-DJdduinu.mjs} +140 -2
- package/package.json +3 -3
- package/dist/version-B1dQFnul.mjs +0 -6
- /package/dist/{allowed-origins-oVgzR3X5.mjs → allowed-origins-VLgv2PL1.mjs} +0 -0
- /package/dist/astro/{integration/shims → shims}/use-sync-external-store-with-selector.js +0 -0
- /package/dist/astro/{integration/shims → shims}/use-sync-external-store.js +0 -0
- /package/dist/{challenge-store-DtdQHXf5.mjs → challenge-store-BMkL2kmt.mjs} +0 -0
- /package/dist/{mode-DqpBaEOy.mjs → mode-DPC7segX.mjs} +0 -0
- /package/dist/{session-user-CYjNeJoD.mjs → session-user-BwliEFp0.mjs} +0 -0
- /package/dist/{setup-complete-DcAQzVsB.mjs → setup-complete-PvF8I7Oh.mjs} +0 -0
package/dist/index.mjs
CHANGED
|
@@ -2,7 +2,7 @@ import { n as getMigrationStatus } from "./runner-BfWbi9YY.mjs";
|
|
|
2
2
|
import { r as DinewayDatabaseError } from "./connection-CiJWiWya.mjs";
|
|
3
3
|
import { i as currentTimestamp } from "./dialect-helpers-fk43GbDb.mjs";
|
|
4
4
|
import { n as getI18nConfig, r as isI18nEnabled, t as getFallbackChain } from "./config-CVssduLe.mjs";
|
|
5
|
-
import { C as portableTextToProsemirror, D as image, E as reference, O as RelationRepository, S as verifyGuestAccessToken, T as portableText, a as createNoopSandboxRunner, b as hashGuestAccessToken, c as PluginSecretStore, f as HookPipeline, g as definePlugin, h as runPluginMigrations, i as SandboxNotAvailableError, l as PluginRouteError, n as createNodeSandboxRunner, o as PluginManager, p as createHookPipeline, r as NoopSandboxRunner, s as createPluginManager, t as NodeSandboxRunner, w as prosemirrorToPortableText, x as issueGuestAccessToken, y as GuestAccessTokenConfigurationError } from "./plugins-
|
|
5
|
+
import { C as portableTextToProsemirror, D as image, E as reference, O as RelationRepository, S as verifyGuestAccessToken, T as portableText, a as createNoopSandboxRunner, b as hashGuestAccessToken, c as PluginSecretStore, f as HookPipeline, g as definePlugin, h as runPluginMigrations, i as SandboxNotAvailableError, l as PluginRouteError, n as createNodeSandboxRunner, o as PluginManager, p as createHookPipeline, r as NoopSandboxRunner, s as createPluginManager, t as NodeSandboxRunner, w as prosemirrorToPortableText, x as issueGuestAccessToken, y as GuestAccessTokenConfigurationError } from "./plugins-mHPWInmx.mjs";
|
|
6
6
|
import { getRequestContext, runWithContext } from "./request-context.mjs";
|
|
7
7
|
import "./base64-F8-DUraK.mjs";
|
|
8
8
|
import { i as encodeCursor, n as ScheduledNotDueError, r as decodeCursor, t as DinewayValidationError } from "./types-Bshd_6wQ.mjs";
|
|
@@ -20,44 +20,44 @@ import "./audit-BzhwRVym.mjs";
|
|
|
20
20
|
import { t as SiteActivityRepository } from "./site-activity-BVK40wCy.mjs";
|
|
21
21
|
import "./review-requests-CObSuTYU.mjs";
|
|
22
22
|
import "./publication-authorization-DP_I_Emr.mjs";
|
|
23
|
-
import { n as AssignmentService, r as HandoffSnapshotStore, w as AssignmentRepository } from "./site-context-
|
|
24
|
-
import "./context-
|
|
25
|
-
import "./menus-
|
|
23
|
+
import { n as AssignmentService, r as HandoffSnapshotStore, w as AssignmentRepository } from "./site-context-Boxwy7OY.mjs";
|
|
24
|
+
import "./context-DyEG-k2A.mjs";
|
|
25
|
+
import "./menus-DWPsv6p3.mjs";
|
|
26
26
|
import "./redirect-DoDgOWIA.mjs";
|
|
27
27
|
import "./request-cache-CBFjCwSt.mjs";
|
|
28
28
|
import { a as RESERVED_COLLECTION_SLUGS, o as RESERVED_FIELD_SLUGS, r as FIELD_TYPE_TO_COLUMN } from "./types-B7TDDFMG.mjs";
|
|
29
|
-
import "./byline-registry-
|
|
30
|
-
import "./field-defs-cache-
|
|
31
|
-
import { t as BylineRepository } from "./byline-
|
|
29
|
+
import "./byline-registry-BLgrU3dA.mjs";
|
|
30
|
+
import "./field-defs-cache-BBsAQm7W.mjs";
|
|
31
|
+
import { t as BylineRepository } from "./byline-v4kKt4I0.mjs";
|
|
32
32
|
import { n as normalizeMediaValue } from "./normalize-Cyt7JdF7.mjs";
|
|
33
33
|
import { n as generatePlaceholder } from "./enrich-Ck9tfMqe.mjs";
|
|
34
34
|
import "./seo-D1RiaooQ.mjs";
|
|
35
|
-
import { $ as handleContentUpdate, A as handleRevisionGet, B as handleContentDiscardDraft, D as handleMediaGet, E as handleMediaDelete, F as handleContentCompare, G as handleContentListTrashed, H as handleContentGet, I as handleContentCountScheduled, J as handleContentRestore, K as handleContentPermanentDelete, L as handleContentCountTrashed, M as handleRevisionRestore, N as generateManifest, O as handleMediaList, P as handleContentAuthors, Q as handleContentUnschedule, R as handleContentCreate, T as handleMediaCreate, U as handleContentGetIncludingTrashed, V as handleContentDuplicate, W as handleContentList, X as handleContentTranslations, Y as handleContentSchedule, Z as handleContentUnpublish, j as handleRevisionList, k as handleMediaUpdate, q as handleContentPublish, z as handleContentDelete } from "./api-
|
|
35
|
+
import { $ as handleContentUpdate, A as handleRevisionGet, B as handleContentDiscardDraft, D as handleMediaGet, E as handleMediaDelete, F as handleContentCompare, G as handleContentListTrashed, H as handleContentGet, I as handleContentCountScheduled, J as handleContentRestore, K as handleContentPermanentDelete, L as handleContentCountTrashed, M as handleRevisionRestore, N as generateManifest, O as handleMediaList, P as handleContentAuthors, Q as handleContentUnschedule, R as handleContentCreate, T as handleMediaCreate, U as handleContentGetIncludingTrashed, V as handleContentDuplicate, W as handleContentList, X as handleContentTranslations, Y as handleContentSchedule, Z as handleContentUnpublish, j as handleRevisionList, k as handleMediaUpdate, q as handleContentPublish, z as handleContentDelete } from "./api-67MUpnh4.mjs";
|
|
36
36
|
import "./dashboard-YvDEYbS3.mjs";
|
|
37
|
-
import "./briefing-
|
|
37
|
+
import { t as SiteBriefingAssembler } from "./briefing-Cv2LqGVN.mjs";
|
|
38
38
|
import "./context-types-eBuMDAg-.mjs";
|
|
39
|
-
import "./content-refresh-
|
|
39
|
+
import "./content-refresh-CLMQRcgP.mjs";
|
|
40
40
|
import { n as hashString, t as computeContentHash } from "./hash-mxxx2oPW.mjs";
|
|
41
41
|
import { t as FTSManager } from "./fts-manager-Zo9uhGel.mjs";
|
|
42
|
-
import { n as SchemaRegistry, t as SchemaError } from "./registry-
|
|
42
|
+
import { n as SchemaRegistry, t as SchemaError } from "./registry-BlVA2gpN.mjs";
|
|
43
43
|
import { i as getSiteSettings, n as getPluginSettings, r as getSiteSetting, s as setSiteSettings, t as getPluginSetting } from "./settings-SVDAB7_W.mjs";
|
|
44
|
-
import "./briefing-
|
|
44
|
+
import "./briefing-CFzam-BE.mjs";
|
|
45
45
|
import { n as buildStableActionHash } from "./review-payload-BysRWpxS.mjs";
|
|
46
46
|
import "./review-requests-Cu9051_B.mjs";
|
|
47
|
-
import { t as getCollectionInfo } from "./query-
|
|
48
|
-
import "./zod-generator-
|
|
49
|
-
import "./schema-
|
|
47
|
+
import { t as getCollectionInfo } from "./query-DDvG2G6h.mjs";
|
|
48
|
+
import { r as validateContent } from "./zod-generator-DJdduinu.mjs";
|
|
49
|
+
import "./schema-C457D4_h.mjs";
|
|
50
50
|
import "./seo-BLszyJxd.mjs";
|
|
51
|
-
import "./bylines-
|
|
52
|
-
import "./byline-fields-
|
|
51
|
+
import "./bylines-C8ugKJ2i.mjs";
|
|
52
|
+
import "./byline-fields-sE9SQsDR.mjs";
|
|
53
53
|
import { o as getSection, s as getSections } from "./sections-DxvEF6Bj.mjs";
|
|
54
54
|
import "./settings-Dje-PHXo.mjs";
|
|
55
55
|
import "./secrets-CpGpyGcO.mjs";
|
|
56
56
|
import "./store-CCfMD6nw.mjs";
|
|
57
57
|
import "./integration-credentials-D3ZneN0L.mjs";
|
|
58
58
|
import "./resolve-B6BpqwAR.mjs";
|
|
59
|
-
import { a as getTaxonomyTerms, i as getTaxonomyDefs, n as getEntryTerms, o as getTerm, r as getTaxonomyDef, s as getTermsForEntries, t as getEntriesByTerm } from "./taxonomies-
|
|
60
|
-
import "./taxonomies-
|
|
59
|
+
import { a as getTaxonomyTerms, i as getTaxonomyDefs, n as getEntryTerms, o as getTerm, r as getTaxonomyDef, s as getTermsForEntries, t as getEntriesByTerm } from "./taxonomies-sgdAKC-b.mjs";
|
|
60
|
+
import "./taxonomies-BbC4z9PY.mjs";
|
|
61
61
|
import { r as isStandardPluginDefinition } from "./types-CK0r-Xq4.mjs";
|
|
62
62
|
import { i as pluginManifestSchema } from "./manifest-schema-DKa3ZaJL.mjs";
|
|
63
63
|
import { t as DinewayStorageError } from "./types-gvNBqijt.mjs";
|
|
@@ -67,7 +67,7 @@ import "./byline-fields-BRUB-Vla.mjs";
|
|
|
67
67
|
import { n as sanitizeHref, t as isSafeHref } from "./url-D282S1Zw.mjs";
|
|
68
68
|
import "./status-BN40hMpr.mjs";
|
|
69
69
|
import { t as checkRateLimit } from "./rate-limit-oUGexQO1.mjs";
|
|
70
|
-
import { c as createEditable, i as getTranslations, l as createNoop, n as getDinewayEntry, r as getEditMeta, s as resolveDinewayPath, t as getDinewayCollection } from "./query-
|
|
70
|
+
import { c as createEditable, i as getTranslations, l as createNoop, n as getDinewayEntry, r as getEditMeta, s as resolveDinewayPath, t as getDinewayCollection } from "./query-BGxz5wby.mjs";
|
|
71
71
|
import { a as verifyPreviewSignature, i as signPreviewUrl, n as defaultPreviewSidecarClient, r as parsePreviewSignatureHeader, t as buildPreviewSignatureHeader } from "./sidecar-client-dt5fv23q.mjs";
|
|
72
72
|
import { a as createFilePreviewMiddleware, c as dropSessionDatabaseTables, d as SessionDatabaseLimitError, f as isBlockedInPreview, i as getPreviewUrl, l as getAppliedSnapshotMeta, n as isPreviewRequest, o as renderPreviewToolbar, p as renderPreviewLoadingPage, r as buildPreviewUrl, s as applySnapshotToDatabase, t as getPreviewToken, u as FileSessionDatabaseFactory } from "./preview-BMIReQGc.mjs";
|
|
73
73
|
import { n as parseWxrString, t as parseWxr } from "./parser-DX_c5iG3.mjs";
|
|
@@ -75,22 +75,22 @@ import { adaptSandboxEntry } from "./plugins/adapt-sandbox-entry.mjs";
|
|
|
75
75
|
import "./ssrf-BZHvtFEv.mjs";
|
|
76
76
|
import "./cron-D_c3WUPN.mjs";
|
|
77
77
|
import "./api-tokens-D4tcY8R6.mjs";
|
|
78
|
-
import { t as createReviewedPluginMcpCommandExecutor } from "./mcp-reviewed-executor-
|
|
78
|
+
import { t as createReviewedPluginMcpCommandExecutor } from "./mcp-reviewed-executor-CrszK61Z.mjs";
|
|
79
79
|
import "./activity-BDMlkpYY.mjs";
|
|
80
80
|
import "./activity-events-DEYmJhWd.mjs";
|
|
81
81
|
import "./utils-B7gemXz5.mjs";
|
|
82
82
|
import { a as getSuggestions, c as searchWithDb, i as getSearchStats, n as extractPlainText, o as search, r as extractSearchableFields, s as searchCollection } from "./search-BXEQepxL.mjs";
|
|
83
|
-
import { _ as probeUrl, d as wxrSource, f as clearSources, g as getUrlSources, h as getSource, i as wordpressRestSource, m as getFileSources, p as getAllSources, u as parseWxrDate, v as registerSource, x as importReusableBlocksAsSections } from "./import-
|
|
83
|
+
import { _ as probeUrl, d as wxrSource, f as clearSources, g as getUrlSources, h as getSource, i as wordpressRestSource, m as getFileSources, p as getAllSources, u as parseWxrDate, v as registerSource, x as importReusableBlocksAsSections } from "./import-BPQs0pH4.mjs";
|
|
84
84
|
import { n as parseContentId, r as verifyPreviewToken, t as generatePreviewToken } from "./tokens-DIzhPT80.mjs";
|
|
85
85
|
import { getContentSeo, getSeoMeta } from "./seo/index.mjs";
|
|
86
86
|
import "./comment-reaction-Ckn6vCmB.mjs";
|
|
87
87
|
import { i as getComments, n as getMenus, r as getCommentCount, t as getMenu } from "./menus-oYfViqfE.mjs";
|
|
88
|
-
import { i as getEntriesByByline, n as getByline, r as getBylineBySlug } from "./bylines-
|
|
88
|
+
import { i as getEntriesByByline, n as getByline, r as getBylineBySlug } from "./bylines-BKBCEwd1.mjs";
|
|
89
89
|
import { n as getWidgetAreas, r as getWidgetComponents, t as getWidgetArea } from "./widgets-DyGcotPM.mjs";
|
|
90
90
|
import { t as validateSeed } from "./validate-qKzI3BCv.mjs";
|
|
91
|
-
import { t as applySeed } from "./apply-
|
|
91
|
+
import { t as applySeed } from "./apply-qf-XwOhN.mjs";
|
|
92
92
|
import "./load-Cuiyh8LT.mjs";
|
|
93
93
|
import "./seed/index.mjs";
|
|
94
94
|
import { ulid } from "ulidx";
|
|
95
95
|
|
|
96
|
-
export { AssignmentRepository, AssignmentService, BylineRepository, CacheNamespace, ContentRepository, DinewayDatabaseError, DinewayStorageError, DinewayValidationError, FIELD_TYPE_TO_COLUMN, FTSManager, FileSessionDatabaseFactory, GuestAccessTokenConfigurationError, HandoffSnapshotStore, HookPipeline, MediaRepository, NodeSandboxRunner, NoopSandboxRunner, PluginManager, PluginRouteError, PluginSecretStore, RESERVED_COLLECTION_SLUGS, RESERVED_FIELD_SLUGS, RelationRepository, RevisionRepository, SandboxNotAvailableError, ScheduledNotDueError, SchemaError, SchemaRegistry, SessionDatabaseLimitError, SiteActivityRepository, adaptSandboxEntry, after, applySeed, applySnapshotToDatabase, buildPreviewSignatureHeader, buildPreviewUrl, buildStableActionHash, cachedQuery, checkRateLimit, clearSources, computeContentHash, contentNamespace, contentNamespaces, createEditable, createFilePreviewMiddleware, createHookPipeline, createNodeSandboxRunner, createNoop, createNoopSandboxRunner, createPluginManager, createReviewedPluginMcpCommandExecutor, currentTimestamp, decodeCursor, decodeSlug, defaultPreviewSidecarClient, definePlugin, dropSessionDatabaseTables, encodeCursor, extractPlainText, extractSearchableFields, generateManifest, generatePlaceholder, generatePreviewToken, getAllSources, getAppliedSnapshotMeta, getByline, getBylineBySlug, getCollectionInfo, getCommentCount, getComments, getContentSeo, getDb, getDinewayCollection, getDinewayEntry, getEditMeta, getEntriesByByline, getEntriesByTerm, getEntryTerms, getFallbackChain, getFileSources, getI18nConfig, getMenu, getMenus, getMigrationStatus, getPluginSetting, getPluginSettings, getPreviewToken, getPreviewUrl, getRequestContext, getSearchStats, getSection, getSections, getSeoMeta, getSiteSetting, getSiteSettings, getSource, getSuggestions, getTaxonomyDef, getTaxonomyDefs, getTaxonomyTerms, getTerm, getTermsForEntries, getTranslations, getUrlSources, getWidgetArea, getWidgetAreas, getWidgetComponents, handleContentAuthors, handleContentCompare, handleContentCountScheduled, handleContentCountTrashed, handleContentCreate, handleContentDelete, handleContentDiscardDraft, handleContentDuplicate, handleContentGet, handleContentGetIncludingTrashed, handleContentList, handleContentListTrashed, handleContentPermanentDelete, handleContentPublish, handleContentRestore, handleContentSchedule, handleContentTranslations, handleContentUnpublish, handleContentUnschedule, handleContentUpdate, handleMediaCreate, handleMediaDelete, handleMediaGet, handleMediaList, handleMediaUpdate, handleRevisionGet, handleRevisionList, handleRevisionRestore, hashGuestAccessToken, hashString, image, importReusableBlocksAsSections, invalidateBylineObjectCache, invalidateCollectionCache, invalidateCommentObjectCache, invalidateMenuObjectCache, invalidateObjectCache, invalidateSchemaObjectCache, invalidateTaxonomyObjectCache, isBlockedInPreview, isI18nEnabled, isObjectCacheActive, isPreviewRequest, isSafeHref, isStandardPluginDefinition, issueGuestAccessToken, normalizeMediaValue, parseContentId, parsePreviewSignatureHeader, parseWxr, parseWxrDate, parseWxrString, pluginManifestSchema, portableText, portableTextToProsemirror, probeUrl, prosemirrorToPortableText, reference, registerSource, renderPreviewLoadingPage, renderPreviewToolbar, resolveDinewayPath, runPluginMigrations, runWithContext, sanitizeHref, search, searchCollection, searchWithDb, setSiteSettings, signPreviewUrl, ulid, validateSeed, verifyGuestAccessToken, verifyPreviewSignature, verifyPreviewToken, wordpressRestSource, wxrSource };
|
|
96
|
+
export { AssignmentRepository, AssignmentService, BylineRepository, CacheNamespace, ContentRepository, DinewayDatabaseError, DinewayStorageError, DinewayValidationError, FIELD_TYPE_TO_COLUMN, FTSManager, FileSessionDatabaseFactory, GuestAccessTokenConfigurationError, HandoffSnapshotStore, HookPipeline, MediaRepository, NodeSandboxRunner, NoopSandboxRunner, PluginManager, PluginRouteError, PluginSecretStore, RESERVED_COLLECTION_SLUGS, RESERVED_FIELD_SLUGS, RelationRepository, RevisionRepository, SandboxNotAvailableError, ScheduledNotDueError, SchemaError, SchemaRegistry, SessionDatabaseLimitError, SiteActivityRepository, SiteBriefingAssembler, adaptSandboxEntry, after, applySeed, applySnapshotToDatabase, buildPreviewSignatureHeader, buildPreviewUrl, buildStableActionHash, cachedQuery, checkRateLimit, clearSources, computeContentHash, contentNamespace, contentNamespaces, createEditable, createFilePreviewMiddleware, createHookPipeline, createNodeSandboxRunner, createNoop, createNoopSandboxRunner, createPluginManager, createReviewedPluginMcpCommandExecutor, currentTimestamp, decodeCursor, decodeSlug, defaultPreviewSidecarClient, definePlugin, dropSessionDatabaseTables, encodeCursor, extractPlainText, extractSearchableFields, generateManifest, generatePlaceholder, generatePreviewToken, getAllSources, getAppliedSnapshotMeta, getByline, getBylineBySlug, getCollectionInfo, getCommentCount, getComments, getContentSeo, getDb, getDinewayCollection, getDinewayEntry, getEditMeta, getEntriesByByline, getEntriesByTerm, getEntryTerms, getFallbackChain, getFileSources, getI18nConfig, getMenu, getMenus, getMigrationStatus, getPluginSetting, getPluginSettings, getPreviewToken, getPreviewUrl, getRequestContext, getSearchStats, getSection, getSections, getSeoMeta, getSiteSetting, getSiteSettings, getSource, getSuggestions, getTaxonomyDef, getTaxonomyDefs, getTaxonomyTerms, getTerm, getTermsForEntries, getTranslations, getUrlSources, getWidgetArea, getWidgetAreas, getWidgetComponents, handleContentAuthors, handleContentCompare, handleContentCountScheduled, handleContentCountTrashed, handleContentCreate, handleContentDelete, handleContentDiscardDraft, handleContentDuplicate, handleContentGet, handleContentGetIncludingTrashed, handleContentList, handleContentListTrashed, handleContentPermanentDelete, handleContentPublish, handleContentRestore, handleContentSchedule, handleContentTranslations, handleContentUnpublish, handleContentUnschedule, handleContentUpdate, handleMediaCreate, handleMediaDelete, handleMediaGet, handleMediaList, handleMediaUpdate, handleRevisionGet, handleRevisionList, handleRevisionRestore, hashGuestAccessToken, hashString, image, importReusableBlocksAsSections, invalidateBylineObjectCache, invalidateCollectionCache, invalidateCommentObjectCache, invalidateMenuObjectCache, invalidateObjectCache, invalidateSchemaObjectCache, invalidateTaxonomyObjectCache, isBlockedInPreview, isI18nEnabled, isObjectCacheActive, isPreviewRequest, isSafeHref, isStandardPluginDefinition, issueGuestAccessToken, normalizeMediaValue, parseContentId, parsePreviewSignatureHeader, parseWxr, parseWxrDate, parseWxrString, pluginManifestSchema, portableText, portableTextToProsemirror, probeUrl, prosemirrorToPortableText, reference, registerSource, renderPreviewLoadingPage, renderPreviewToolbar, resolveDinewayPath, runPluginMigrations, runWithContext, sanitizeHref, search, searchCollection, searchWithDb, setSiteSettings, signPreviewUrl, ulid, validateContent, validateSeed, verifyGuestAccessToken, verifyPreviewSignature, verifyPreviewToken, wordpressRestSource, wxrSource };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { A as PageMetadataLinkRel, D as PageMetadataContribution, gt as PublicPageContext, j as PagePlacement, t as BreadcrumbItem, w as PageFragmentContribution } from "./types-
|
|
1
|
+
import { A as PageMetadataLinkRel, D as PageMetadataContribution, gt as PublicPageContext, j as PagePlacement, t as BreadcrumbItem, w as PageFragmentContribution } from "./types-DNbTvBr3.mjs";
|
|
2
2
|
import { S as SeoSettings } from "./validate-YiX3rly5.mjs";
|
|
3
3
|
|
|
4
4
|
//#region src/page/context.d.ts
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { o as HitlRequestRepository } from "./publication-authorization-DP_I_Emr.mjs";
|
|
2
|
-
import { b as HitlRequestService } from "./site-context-
|
|
2
|
+
import { b as HitlRequestService } from "./site-context-Boxwy7OY.mjs";
|
|
3
3
|
import { n as stableStringify } from "./stable-hash-DshcXvRE.mjs";
|
|
4
4
|
import { n as buildStableActionHash } from "./review-payload-BysRWpxS.mjs";
|
|
5
5
|
import { i as hasScope } from "./api-tokens-D4tcY8R6.mjs";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import "../types-
|
|
1
|
+
import "../types-DNbTvBr3.mjs";
|
|
2
2
|
import { t as Database } from "../types-BFeoAIHl.mjs";
|
|
3
3
|
import { h as MediaProviderItem, o as CreateMediaProviderFn } from "../placeholder-C6ZjZcmJ.mjs";
|
|
4
4
|
import "../runner-Bcy5w0vj.mjs";
|
|
@@ -6,7 +6,7 @@ import "../index-DybFmYtZ.mjs";
|
|
|
6
6
|
import "../types-S9VIopdY.mjs";
|
|
7
7
|
import { d as Storage } from "../types-YxFz4lDr.mjs";
|
|
8
8
|
import "../validate-YiX3rly5.mjs";
|
|
9
|
-
import "../byline-fields-
|
|
9
|
+
import "../byline-fields-Fl38N6h5.mjs";
|
|
10
10
|
import "../types-BsTXSvKG.mjs";
|
|
11
11
|
import "../index.mjs";
|
|
12
12
|
import { Kysely } from "kysely";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { a as __exportAll } from "./runner-BfWbi9YY.mjs";
|
|
2
2
|
import { n as getI18nConfig } from "./config-CVssduLe.mjs";
|
|
3
3
|
import { c as invalidateMenuObjectCache } from "./object-cache-D51qOseS.mjs";
|
|
4
|
-
import { t as withTransaction } from "./transaction-
|
|
4
|
+
import { t as withTransaction } from "./transaction-Chz7SBGr.mjs";
|
|
5
5
|
import { ulid } from "ulidx";
|
|
6
6
|
|
|
7
7
|
//#region src/database/repositories/menu.ts
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as withTransaction } from "./transaction-
|
|
1
|
+
import { t as withTransaction } from "./transaction-Chz7SBGr.mjs";
|
|
2
2
|
import { a as hashApiToken, n as TOKEN_PREFIXES, r as generatePrefixedToken, t as ALL_VALID_SCOPES } from "./api-tokens-D4tcY8R6.mjs";
|
|
3
3
|
import { a as filterExperimentalSiteContextWorkflowScopes, i as experimentalSiteContextWorkflowsEnabled, o as getExperimentalSiteContextWorkflowScopesDisabledMessage, r as disabledExperimentalSiteContextWorkflowScopes } from "./experimental-workflows-CgO73K4e.mjs";
|
|
4
4
|
import { c as validateRedirectUri, o as lookupOAuthClient, s as validateClientRedirectUri } from "./oauth-clients-D9Gg0WjF.mjs";
|
package/dist/page/index.d.mts
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { D as PageMetadataContribution, gt as PublicPageContext, w as PageFragmentContribution } from "../types-
|
|
1
|
+
import { D as PageMetadataContribution, gt as PublicPageContext, w as PageFragmentContribution } from "../types-DNbTvBr3.mjs";
|
|
2
2
|
import "../types-BFeoAIHl.mjs";
|
|
3
3
|
import "../runner-Bcy5w0vj.mjs";
|
|
4
4
|
import "../index-DybFmYtZ.mjs";
|
|
5
5
|
import "../types-S9VIopdY.mjs";
|
|
6
6
|
import "../validate-YiX3rly5.mjs";
|
|
7
|
-
import "../byline-fields-
|
|
7
|
+
import "../byline-fields-Fl38N6h5.mjs";
|
|
8
8
|
import "../types-BsTXSvKG.mjs";
|
|
9
|
-
import { a as generateSiteSeoContributions, c as ResolvedPageMetadata, d as renderPageMetadata, f as resolvePageMetadata, h as createPublicPageContext, i as generateBaseSeoContributions, l as createSha256CspHash, m as CreatePublicPageContextInput, n as buildWebSiteJsonLd, o as renderFragments, p as safeJsonLdSerialize, r as cleanJsonLd, s as resolveFragments, t as buildBlogPostingJsonLd, u as escapeHtmlAttr } from "../jsonld-
|
|
9
|
+
import { a as generateSiteSeoContributions, c as ResolvedPageMetadata, d as renderPageMetadata, f as resolvePageMetadata, h as createPublicPageContext, i as generateBaseSeoContributions, l as createSha256CspHash, m as CreatePublicPageContextInput, n as buildWebSiteJsonLd, o as renderFragments, p as safeJsonLdSerialize, r as cleanJsonLd, s as resolveFragments, t as buildBlogPostingJsonLd, u as escapeHtmlAttr } from "../jsonld-DSAZ4e9K.mjs";
|
|
10
10
|
|
|
11
11
|
//#region src/page/index.d.ts
|
|
12
12
|
/**
|
package/dist/plugin-utils.d.mts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import "./types-
|
|
1
|
+
import "./types-DNbTvBr3.mjs";
|
|
2
2
|
import "./types-BFeoAIHl.mjs";
|
|
3
3
|
import "./runner-Bcy5w0vj.mjs";
|
|
4
4
|
import "./index-DybFmYtZ.mjs";
|
|
5
5
|
import "./types-S9VIopdY.mjs";
|
|
6
6
|
import "./validate-YiX3rly5.mjs";
|
|
7
|
-
import "./byline-fields-
|
|
7
|
+
import "./byline-fields-Fl38N6h5.mjs";
|
|
8
8
|
import "./types-BsTXSvKG.mjs";
|
|
9
9
|
import { DinewayHandlers } from "./astro/types.mjs";
|
|
10
10
|
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { _o as PluginDescriptor, vt as ResolvedPlugin, wt as StandardPluginDefinition } from "../types-DNbTvBr3.mjs";
|
|
2
2
|
import "../types-BFeoAIHl.mjs";
|
|
3
3
|
import "../runner-Bcy5w0vj.mjs";
|
|
4
4
|
import "../index-DybFmYtZ.mjs";
|
|
5
5
|
import "../types-S9VIopdY.mjs";
|
|
6
6
|
import "../validate-YiX3rly5.mjs";
|
|
7
|
-
import "../byline-fields-
|
|
7
|
+
import "../byline-fields-Fl38N6h5.mjs";
|
|
8
8
|
import "../types-BsTXSvKG.mjs";
|
|
9
9
|
|
|
10
10
|
//#region src/plugins/adapt-sandbox-entry.d.ts
|
|
@@ -2,7 +2,7 @@ import { r as validatePluginIdentifier, t as validateIdentifier } from "./valida
|
|
|
2
2
|
import { i as encodeBase64url, n as decodeBase64url } from "./base64-F8-DUraK.mjs";
|
|
3
3
|
import { n as chunks, t as SQL_BATCH_SIZE } from "./chunks-DX_b8_4Z.mjs";
|
|
4
4
|
import { t as OptionsRepository } from "./options-DQPTH5n0.mjs";
|
|
5
|
-
import { n as createPluginContext, t as PluginContextFactory } from "./context-
|
|
5
|
+
import { n as createPluginContext, t as PluginContextFactory } from "./context-DyEG-k2A.mjs";
|
|
6
6
|
import { i as parseEncryptionKeys, t as DinewaySecretsError } from "./secrets-CpGpyGcO.mjs";
|
|
7
7
|
import { t as extractRequestMeta } from "./request-meta-DHFIzWcf.mjs";
|
|
8
8
|
import { r as setCronTasksEnabled } from "./cron-D_c3WUPN.mjs";
|
|
@@ -615,7 +615,7 @@ async function hydrateEntryBylines(type, entries) {
|
|
|
615
615
|
if (!needsQueryPath) try {
|
|
616
616
|
const { getDb } = await import("./loader-WHf22FwU.mjs").then((n) => n.i);
|
|
617
617
|
const db = await getDb();
|
|
618
|
-
const { getBylineFieldDefs } = await import("./field-defs-cache-
|
|
618
|
+
const { getBylineFieldDefs } = await import("./field-defs-cache-BBsAQm7W.mjs").then((n) => n.t);
|
|
619
619
|
hasCustomFields = (await getBylineFieldDefs(db)).length > 0;
|
|
620
620
|
} catch (error) {
|
|
621
621
|
if (!isMissingTableError(error)) needsQueryPath = true;
|
|
@@ -629,7 +629,7 @@ async function hydrateEntryBylines(type, entries) {
|
|
|
629
629
|
}
|
|
630
630
|
}
|
|
631
631
|
try {
|
|
632
|
-
const { getBylinesForEntries } = await import("./bylines-
|
|
632
|
+
const { getBylinesForEntries } = await import("./bylines-BKBCEwd1.mjs").then((n) => n.t);
|
|
633
633
|
const refs = entries.map((entry) => {
|
|
634
634
|
const data = entryData(entry);
|
|
635
635
|
const id = dataStr(data, "id");
|
|
@@ -687,12 +687,12 @@ async function hydrateEntryTerms(type, entries, locale) {
|
|
|
687
687
|
byTaxonomy: grouped
|
|
688
688
|
});
|
|
689
689
|
}
|
|
690
|
-
const { primeFoldedEntryTerms } = await import("./taxonomies-
|
|
690
|
+
const { primeFoldedEntryTerms } = await import("./taxonomies-sgdAKC-b.mjs").then((n) => n.u);
|
|
691
691
|
primeFoldedEntryTerms(type, perEntry, { locale });
|
|
692
692
|
return;
|
|
693
693
|
}
|
|
694
694
|
try {
|
|
695
|
-
const { getAllTermsForEntries } = await import("./taxonomies-
|
|
695
|
+
const { getAllTermsForEntries } = await import("./taxonomies-sgdAKC-b.mjs").then((n) => n.u);
|
|
696
696
|
const ids = entries.map((entry) => dataStr(entryData(entry), "id")).filter(Boolean);
|
|
697
697
|
if (ids.length === 0) return;
|
|
698
698
|
const termsMap = await getAllTermsForEntries(type, ids, { locale });
|
|
@@ -797,7 +797,7 @@ async function resolveDinewayPath(path) {
|
|
|
797
797
|
let patterns = !hasDbOverride ? cachedUrlPatterns : null;
|
|
798
798
|
if (!patterns) {
|
|
799
799
|
const { getDb } = await import("./loader-WHf22FwU.mjs").then((n) => n.i);
|
|
800
|
-
const { SchemaRegistry } = await import("./registry-
|
|
800
|
+
const { SchemaRegistry } = await import("./registry-BlVA2gpN.mjs").then((n) => n.r);
|
|
801
801
|
patterns = (await new SchemaRegistry(await getDb()).listCollections()).filter((collection) => collection.urlPattern).map((collection) => {
|
|
802
802
|
const { regex, paramNames } = patternToRegex(collection.urlPattern);
|
|
803
803
|
return {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { r as getDb } from "./loader-WHf22FwU.mjs";
|
|
2
2
|
import { n as cachedQuery, t as CacheNamespace } from "./object-cache-D51qOseS.mjs";
|
|
3
3
|
import { r as requestCached } from "./request-cache-CBFjCwSt.mjs";
|
|
4
|
-
import { n as SchemaRegistry } from "./registry-
|
|
4
|
+
import { n as SchemaRegistry } from "./registry-BlVA2gpN.mjs";
|
|
5
5
|
|
|
6
6
|
//#region src/schema/query.ts
|
|
7
7
|
/**
|
|
@@ -3,9 +3,9 @@ import { t as validateIdentifier } from "./validate-VPnKoIzW.mjs";
|
|
|
3
3
|
import { i as currentTimestamp, l as listTablesLike, n as columnExists, u as tableExists } from "./dialect-helpers-fk43GbDb.mjs";
|
|
4
4
|
import { n as contentLocaleUpdatedIndexName, t as contentLocaleCreatedIndexName } from "./content-index-names-Bbu1FY1r.mjs";
|
|
5
5
|
import { n as chunks, t as SQL_BATCH_SIZE } from "./chunks-DX_b8_4Z.mjs";
|
|
6
|
-
import { t as withTransaction } from "./transaction-
|
|
6
|
+
import { t as withTransaction } from "./transaction-Chz7SBGr.mjs";
|
|
7
7
|
import { a as RESERVED_COLLECTION_SLUGS, o as RESERVED_FIELD_SLUGS, r as FIELD_TYPE_TO_COLUMN } from "./types-B7TDDFMG.mjs";
|
|
8
|
-
import { a as markContentMediaUsageCollectionStaleSafely, n as deleteContentMediaUsageCollection } from "./content-refresh-
|
|
8
|
+
import { a as markContentMediaUsageCollectionStaleSafely, n as deleteContentMediaUsageCollection } from "./content-refresh-CLMQRcgP.mjs";
|
|
9
9
|
import { t as FTSManager } from "./fts-manager-Zo9uhGel.mjs";
|
|
10
10
|
import { t as buildStableHash } from "./stable-hash-DshcXvRE.mjs";
|
|
11
11
|
import { sql } from "kysely";
|
package/dist/runtime.d.mts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Cs as CollectionFilter, Os as dinewayLoader, Ts as EntryFilter, ks as getDb, ws as EntryData } from "./types-DNbTvBr3.mjs";
|
|
2
2
|
import "./types-BFeoAIHl.mjs";
|
|
3
3
|
import "./runner-Bcy5w0vj.mjs";
|
|
4
4
|
import "./index-DybFmYtZ.mjs";
|
|
5
5
|
import "./types-S9VIopdY.mjs";
|
|
6
6
|
import "./validate-YiX3rly5.mjs";
|
|
7
|
-
import "./byline-fields-
|
|
7
|
+
import "./byline-fields-Fl38N6h5.mjs";
|
|
8
8
|
import "./types-BsTXSvKG.mjs";
|
|
9
9
|
import { t as getMediaProvider } from "./provider-loader-Db-pJFu3.mjs";
|
|
10
10
|
export { type CollectionFilter, type EntryData, type EntryFilter, dinewayLoader, getDb, getMediaProvider };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { a as __exportAll } from "./runner-BfWbi9YY.mjs";
|
|
2
|
-
import { n as SchemaRegistry } from "./registry-
|
|
2
|
+
import { n as SchemaRegistry } from "./registry-BlVA2gpN.mjs";
|
|
3
3
|
|
|
4
4
|
//#region src/schema/index.ts
|
|
5
5
|
var schema_exports = /* @__PURE__ */ __exportAll({ SchemaRegistry: () => SchemaRegistry });
|
package/dist/seed/index.mjs
CHANGED
|
@@ -9,16 +9,16 @@ import "../taxonomy-CCo2plmV.mjs";
|
|
|
9
9
|
import "../options-DQPTH5n0.mjs";
|
|
10
10
|
import "../redirect-DoDgOWIA.mjs";
|
|
11
11
|
import "../request-cache-CBFjCwSt.mjs";
|
|
12
|
-
import "../byline-registry-
|
|
13
|
-
import "../field-defs-cache-
|
|
14
|
-
import "../byline-
|
|
15
|
-
import "../content-refresh-
|
|
12
|
+
import "../byline-registry-BLgrU3dA.mjs";
|
|
13
|
+
import "../field-defs-cache-BBsAQm7W.mjs";
|
|
14
|
+
import "../byline-v4kKt4I0.mjs";
|
|
15
|
+
import "../content-refresh-CLMQRcgP.mjs";
|
|
16
16
|
import "../fts-manager-Zo9uhGel.mjs";
|
|
17
|
-
import "../registry-
|
|
17
|
+
import "../registry-BlVA2gpN.mjs";
|
|
18
18
|
import "../settings-SVDAB7_W.mjs";
|
|
19
19
|
import "../ssrf-BZHvtFEv.mjs";
|
|
20
20
|
import { t as validateSeed } from "../validate-qKzI3BCv.mjs";
|
|
21
|
-
import { t as applySeed } from "../apply-
|
|
21
|
+
import { t as applySeed } from "../apply-qf-XwOhN.mjs";
|
|
22
22
|
import { t as defaultSeed } from "../default-BxoI3SoK.mjs";
|
|
23
23
|
import { n as loadUserSeed, t as loadSeed } from "../load-Cuiyh8LT.mjs";
|
|
24
24
|
|
|
@@ -5,9 +5,9 @@ import { t as SiteActivityRepository } from "./site-activity-BVK40wCy.mjs";
|
|
|
5
5
|
import { t as ReviewRequestRepository } from "./review-requests-CObSuTYU.mjs";
|
|
6
6
|
import { o as HitlRequestRepository } from "./publication-authorization-DP_I_Emr.mjs";
|
|
7
7
|
import { r as isPattern } from "./patterns-CoqlXUvk.mjs";
|
|
8
|
-
import { a as ContextRepository, i as parseSiteBriefingScope, l as handlePluginList } from "./briefing-
|
|
8
|
+
import { a as ContextRepository, i as parseSiteBriefingScope, l as handlePluginList } from "./briefing-Cv2LqGVN.mjs";
|
|
9
9
|
import { t as FTSManager } from "./fts-manager-Zo9uhGel.mjs";
|
|
10
|
-
import { n as SchemaRegistry } from "./registry-
|
|
10
|
+
import { n as SchemaRegistry } from "./registry-BlVA2gpN.mjs";
|
|
11
11
|
import { a as getSiteSettingsWithDb } from "./settings-SVDAB7_W.mjs";
|
|
12
12
|
import { n as buildStableActionHash, t as ReviewPayloadBuilder } from "./review-payload-BysRWpxS.mjs";
|
|
13
13
|
import { n as assertExperimentalSiteContextWorkflowsEnabled } from "./experimental-workflows-CgO73K4e.mjs";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { a as __exportAll } from "./runner-BfWbi9YY.mjs";
|
|
2
2
|
import { t as TaxonomyRepository } from "./taxonomy-CCo2plmV.mjs";
|
|
3
|
-
import { c as invalidateTaxonomyDefsCache, l as invalidateTermCache } from "./taxonomies-
|
|
3
|
+
import { c as invalidateTaxonomyDefsCache, l as invalidateTermCache } from "./taxonomies-sgdAKC-b.mjs";
|
|
4
4
|
import { ulid } from "ulidx";
|
|
5
5
|
|
|
6
6
|
//#region src/api/handlers/taxonomies.ts
|
|
@@ -393,7 +393,7 @@ function primeFoldedEntryTerms(collection, perEntry, options = {}) {
|
|
|
393
393
|
* Get entries by term.
|
|
394
394
|
*/
|
|
395
395
|
async function getEntriesByTerm(collection, taxonomyName, termSlug, options = {}) {
|
|
396
|
-
const { getDinewayCollection } = await import("./query-
|
|
396
|
+
const { getDinewayCollection } = await import("./query-BGxz5wby.mjs").then((n) => n.o);
|
|
397
397
|
const queryOptions = { where: { [taxonomyName]: termSlug } };
|
|
398
398
|
if (options.locale !== void 0) queryOptions.locale = options.locale;
|
|
399
399
|
const { entries } = await getDinewayCollection(collection, queryOptions);
|
|
@@ -8,6 +8,7 @@
|
|
|
8
8
|
let transactionsSupported = null;
|
|
9
9
|
const TRANSACTIONS_NOT_SUPPORTED_RE = /transactions are not supported/i;
|
|
10
10
|
async function withTransaction(db, fn) {
|
|
11
|
+
if (db.isTransaction) return fn(db);
|
|
11
12
|
if (transactionsSupported === true) return db.transaction().execute(fn);
|
|
12
13
|
if (transactionsSupported === false) return fn(db);
|
|
13
14
|
try {
|