dineway 0.2.43 → 0.2.45
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 +6 -6
- package/dist/api/schemas/index.d.mts +1 -1
- package/dist/{api-V-xnLN6S.mjs → api-CB2KRW3W.mjs} +4 -4
- package/dist/{apply-DRFEUVGB.mjs → apply-SoTzf8LK.mjs} +9 -9
- package/dist/astro/index.d.mts +2 -2
- package/dist/astro/index.mjs +3 -3
- 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 +35 -35
- package/dist/astro/routes/api/admin/briefing.mjs +7 -7
- package/dist/astro/routes/api/admin/bylines/_id_/index.mjs +3 -3
- package/dist/astro/routes/api/admin/bylines/_id_/translations.mjs +3 -3
- package/dist/astro/routes/api/admin/bylines/index.mjs +3 -3
- package/dist/astro/routes/api/admin/comments/_id_/status.mjs +1 -1
- package/dist/astro/routes/api/admin/comments/_id_.mjs +1 -1
- package/dist/astro/routes/api/admin/comments/bulk.mjs +1 -1
- package/dist/astro/routes/api/admin/comments/counts.mjs +1 -1
- package/dist/astro/routes/api/admin/comments/index.mjs +1 -1
- package/dist/astro/routes/api/admin/context/_id_/history.mjs +12 -12
- package/dist/astro/routes/api/admin/context/_id_/index.mjs +12 -12
- package/dist/astro/routes/api/admin/context/_id_/review.mjs +13 -13
- package/dist/astro/routes/api/admin/context/_id_/supersede.mjs +13 -13
- package/dist/astro/routes/api/admin/context/diff.mjs +12 -12
- package/dist/astro/routes/api/admin/context/index.mjs +13 -13
- package/dist/astro/routes/api/admin/context/stale.mjs +12 -12
- package/dist/astro/routes/api/admin/hitl-requests/_id_/index.mjs +13 -13
- package/dist/astro/routes/api/admin/hitl-requests/_id_/resolve.mjs +13 -13
- package/dist/astro/routes/api/admin/hitl-requests/index.mjs +13 -13
- package/dist/astro/routes/api/admin/hooks/exclusive/_hookName_.mjs +12 -12
- package/dist/astro/routes/api/admin/plugins/_id_/disable.mjs +22 -22
- package/dist/astro/routes/api/admin/plugins/_id_/enable.mjs +22 -22
- package/dist/astro/routes/api/admin/plugins/_id_/index.mjs +19 -19
- package/dist/astro/routes/api/admin/plugins/_id_/uninstall.mjs +22 -22
- package/dist/astro/routes/api/admin/plugins/_id_/update.mjs +22 -22
- package/dist/astro/routes/api/admin/plugins/index.mjs +19 -19
- package/dist/astro/routes/api/admin/plugins/marketplace/_id_/index.mjs +19 -19
- package/dist/astro/routes/api/admin/plugins/marketplace/_id_/install.mjs +22 -22
- package/dist/astro/routes/api/admin/plugins/marketplace/index.mjs +19 -19
- package/dist/astro/routes/api/admin/plugins/updates.mjs +19 -19
- package/dist/astro/routes/api/admin/review-requests/_id_/image.mjs +7 -7
- package/dist/astro/routes/api/admin/review-requests/_id_/index.mjs +12 -12
- package/dist/astro/routes/api/admin/review-requests/_id_/resolve.mjs +16 -16
- package/dist/astro/routes/api/admin/review-requests/index.mjs +14 -14
- package/dist/astro/routes/api/admin/themes/marketplace/_id_/index.mjs +19 -19
- package/dist/astro/routes/api/admin/themes/marketplace/index.mjs +19 -19
- 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 +2 -2
- package/dist/astro/routes/api/comments/_collection_/_contentId_/index.mjs +1 -1
- package/dist/astro/routes/api/comments/_collection_/_contentId_/reactions.mjs +1 -1
- package/dist/astro/routes/api/content/_collection_/_id_/publish.mjs +8 -8
- package/dist/astro/routes/api/content/_collection_/_id_/schedule.mjs +8 -8
- package/dist/astro/routes/api/content/_collection_/_id_/terms/_taxonomy_.mjs +5 -5
- 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 +4 -4
- package/dist/astro/routes/api/health.mjs +1 -1
- package/dist/astro/routes/api/import/probe.mjs +3 -3
- package/dist/astro/routes/api/import/wordpress/execute.d.mts +2 -2
- package/dist/astro/routes/api/import/wordpress/execute.mjs +15 -15
- package/dist/astro/routes/api/import/wordpress/media.d.mts +2 -2
- package/dist/astro/routes/api/import/wordpress/prepare.mjs +12 -12
- package/dist/astro/routes/api/import/wordpress/rewrite-urls.d.mts +2 -2
- package/dist/astro/routes/api/import/wordpress/rewrite-urls.mjs +12 -12
- package/dist/astro/routes/api/import/wordpress-plugin/analyze.mjs +3 -3
- package/dist/astro/routes/api/import/wordpress-plugin/execute.d.mts +2 -2
- package/dist/astro/routes/api/import/wordpress-plugin/execute.mjs +16 -16
- package/dist/astro/routes/api/manifest.mjs +2 -2
- package/dist/astro/routes/api/mcp.mjs +33 -33
- package/dist/astro/routes/api/menus/_name_/items/_id_.mjs +12 -12
- package/dist/astro/routes/api/menus/_name_/items.mjs +12 -12
- package/dist/astro/routes/api/menus/_name_/reorder.mjs +12 -12
- package/dist/astro/routes/api/menus/_name_/translations.mjs +12 -12
- package/dist/astro/routes/api/menus/_name_.mjs +12 -12
- package/dist/astro/routes/api/menus/index.mjs +12 -12
- package/dist/astro/routes/api/openapi.json.mjs +1 -1
- package/dist/astro/routes/api/redirects/_id_.mjs +12 -12
- package/dist/astro/routes/api/redirects/index.mjs +12 -12
- package/dist/astro/routes/api/schema/collections/_slug_/fields/_fieldSlug_.mjs +19 -19
- package/dist/astro/routes/api/schema/collections/_slug_/fields/index.mjs +19 -19
- package/dist/astro/routes/api/schema/collections/_slug_/fields/reorder.mjs +19 -19
- package/dist/astro/routes/api/schema/collections/_slug_/index.mjs +19 -19
- package/dist/astro/routes/api/schema/collections/index.mjs +19 -19
- package/dist/astro/routes/api/schema/orphans/_slug_.mjs +19 -19
- package/dist/astro/routes/api/schema/orphans/index.mjs +19 -19
- package/dist/astro/routes/api/sections/_slug_.mjs +12 -12
- package/dist/astro/routes/api/sections/index.mjs +12 -12
- package/dist/astro/routes/api/settings/reviews.mjs +1 -1
- package/dist/astro/routes/api/settings.mjs +12 -12
- 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 +9 -9
- package/dist/astro/routes/api/setup/index.mjs +10 -10
- 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 +15 -15
- package/dist/astro/routes/api/taxonomies/_name_/terms/_slug_.mjs +15 -15
- package/dist/astro/routes/api/taxonomies/_name_/terms/index.mjs +15 -15
- package/dist/astro/routes/api/taxonomies/index.mjs +15 -15
- package/dist/astro/routes/api/well-known/auth.mjs +2 -2
- package/dist/astro/routes/api/widget-areas/_name_/reorder.mjs +12 -12
- package/dist/astro/routes/api/widget-areas/_name_/widgets/_id_.mjs +12 -12
- package/dist/astro/routes/api/widget-areas/_name_/widgets.mjs +12 -12
- package/dist/astro/routes/api/widget-areas/_name_.mjs +12 -12
- package/dist/astro/routes/api/widget-areas/index.mjs +12 -12
- package/dist/astro/types.d.mts +2 -2
- package/dist/{briefing-BwDkIHys.mjs → briefing-9YqN5XoW.mjs} +2 -2
- package/dist/{briefing-xEDJ0OcA.mjs → briefing-CXQA-DpY.mjs} +1 -1
- package/dist/{byline-Dznig_jr.mjs → byline-BvFH-UZw.mjs} +3 -3
- package/dist/{byline-fields-Bdq5wStT.d.mts → byline-fields-Dyts_tJ5.d.mts} +13 -13
- package/dist/{bylines-BQMt9Kby.mjs → bylines-DLFjKcNr.mjs} +2 -2
- package/dist/{bylines-umBrRU5P.mjs → bylines-ZfS9Qm_E.mjs} +1 -1
- package/dist/cli/index.mjs +19 -17
- package/dist/cli/plugin-kit.d.mts +2 -2
- package/dist/cli/plugin-kit.mjs +1 -1
- package/dist/client/index.d.mts +2 -2
- package/dist/client/index.mjs +2 -2
- package/dist/{content-DbdiQEl7.mjs → content-Dxx0H4k8.mjs} +1 -1
- package/dist/content-storage/index.d.mts +10 -2
- package/dist/content-storage/index.mjs +9 -9
- package/dist/content-storage/store.mjs +1 -1
- package/dist/{content-write-BJkjOdiq.mjs → content-write-eOTKAf2d.mjs} +6 -6
- package/dist/{context-DTj7OFVh.mjs → context-CjeMWXtq.mjs} +2 -2
- package/dist/{context-suF2JGdX.mjs → context-c4OnrX-0.mjs} +2 -2
- package/dist/{dashboard-DNwOpH8d.mjs → dashboard-C_x93lbv.mjs} +1 -1
- package/dist/database/d1/index.d.mts +2 -2
- package/dist/database/d1/index.mjs +2 -2
- package/dist/{evidence-0WP8WrwT.mjs → evidence-FRy3SVTP.mjs} +1 -1
- package/dist/{hitl-requests-BRrufqcM.mjs → hitl-requests-DtPNPiYe.mjs} +1 -1
- package/dist/{hitl-route-helpers-TzM35SHx.mjs → hitl-route-helpers-BKI0ZeUF.mjs} +1 -1
- package/dist/{import-DSf-FzGX.mjs → import-Cn1_u1S2.mjs} +2 -2
- package/dist/index.d.mts +2 -2
- package/dist/index.mjs +27 -27
- package/dist/{jsonld-D1llK8pQ.d.mts → jsonld-DZXdAyOK.d.mts} +1 -1
- package/dist/{mcp-reviewed-executor-B_ztrZgH.mjs → mcp-reviewed-executor-B4O9L9MT.mjs} +2 -2
- package/dist/media/local-runtime.d.mts +2 -2
- package/dist/{migration-zOMc0bo0.mjs → migration-B9FyV3ET.mjs} +65 -25
- package/dist/{owned-metadata-DhyklTd6.mjs → owned-metadata-CJs4-k1w.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-B6B7DbdT.mjs → plugins-rop9tkYG.mjs} +2 -2
- package/dist/{public-url-C9ZgIcbF.d.mts → public-url-DLcDMtBJ.d.mts} +1 -1
- package/dist/{publication-authorization-BciTXOB3.mjs → publication-authorization-CS8WqkzL.mjs} +2 -2
- package/dist/{query-Dx_cCV3x.mjs → query-B1t4PSfw.mjs} +4 -4
- package/dist/{release-CIYyinzY.mjs → release-Bk-UaI2C.mjs} +1 -1
- package/dist/{review-requests-CIfXkXvt.mjs → review-requests-BQZp6VaG.mjs} +1 -1
- package/dist/runtime.d.mts +2 -2
- package/dist/seed/index.mjs +9 -9
- package/dist/{seo-DDKu_9zj.mjs → seo-DxrTizK0.mjs} +3 -3
- package/dist/{site-context-DtmMzKtp.mjs → site-context-DNiKKCc1.mjs} +3 -3
- package/dist/{submission-In_0Igp6.mjs → submission-C7tI1Frs.mjs} +3 -3
- package/dist/{taxonomies-D9cNfBL7.mjs → taxonomies-CZHI0fCa.mjs} +1 -1
- package/dist/{taxonomies-B-UkXVx-.mjs → taxonomies-Cf9huhQ6.mjs} +2 -2
- package/dist/{taxonomy-CtnjHXCZ.mjs → taxonomy-B4O77tAe.mjs} +1 -1
- package/dist/{types-Dkj3EodZ.d.mts → types-z2nZassR.d.mts} +1 -1
- package/dist/ui/server-runtime.d.mts +4 -4
- package/dist/ui/server-runtime.mjs +2 -2
- package/dist/version-CtBv2gNa.mjs +6 -0
- package/dist/{version-store-DH_PMO8_.mjs → version-store-DyYULGd3.mjs} +4 -2
- package/dist/{worker-DUtMI6XU.mjs → worker-CcvePQzq.mjs} +4 -4
- package/dist/{write-intent-BkgfwPO9.mjs → write-intent-D6xfcx1f.mjs} +1 -1
- package/package.json +1 -1
- package/dist/version-CCgLyHqU.mjs +0 -6
- /package/dist/{allowed-origins-SQbPK6WG.mjs → allowed-origins-CQyKpMbJ.mjs} +0 -0
- /package/dist/{challenge-store-7IZ_NqWg.mjs → challenge-store-BImHCJvl.mjs} +0 -0
- /package/dist/{comments-CaCApohz.mjs → comments-BFXekTqN.mjs} +0 -0
- /package/dist/{context-route-helpers-CUrRB8qt.mjs → context-route-helpers-CGA2fsiz.mjs} +0 -0
- /package/dist/{forgeway-account-B-z2_ZOQ.mjs → forgeway-account-CVSG1imu.mjs} +0 -0
- /package/dist/{mode-C3RI5Z5t.mjs → mode-BoM5FjH7.mjs} +0 -0
- /package/dist/{output-4F_wq70p.mjs → output-TGkiEMQF.mjs} +0 -0
- /package/dist/{policy-DbceGc4P.mjs → policy-BL8yj6uD.mjs} +0 -0
- /package/dist/{portable-text-DeJeHr_T.mjs → portable-text-CJ9v0T_j.mjs} +0 -0
- /package/dist/{session-user-D36BRaZY.mjs → session-user-j7I8GMvK.mjs} +0 -0
- /package/dist/{setup-complete-eTV6C0-E.mjs → setup-complete-Cn-Ho9RX.mjs} +0 -0
- /package/dist/{state-CKkqoA6i.mjs → state-LzJZ7qpq.mjs} +0 -0
- /package/dist/{transport-DHTeMsJG.mjs → transport-C_bzEHB4.mjs} +0 -0
- /package/dist/{workers-build-4926MPc0.mjs → workers-build-Bd4w1aw9.mjs} +0 -0
|
@@ -108,7 +108,7 @@ var SeoRepository = class {
|
|
|
108
108
|
}
|
|
109
109
|
async upsert(collection, contentId, input) {
|
|
110
110
|
if (getContentStorage(this.db, collection)) {
|
|
111
|
-
const { prepareContentWrite } = await import("./content-write-
|
|
111
|
+
const { prepareContentWrite } = await import("./content-write-eOTKAf2d.mjs").then((n) => n.t);
|
|
112
112
|
const write = await prepareContentWrite(this.db, collection, {
|
|
113
113
|
id: contentId,
|
|
114
114
|
seo: input,
|
|
@@ -153,8 +153,8 @@ var SeoRepository = class {
|
|
|
153
153
|
}
|
|
154
154
|
async copyForDuplicate(collection, sourceId, targetId) {
|
|
155
155
|
if (getContentStorage(this.db, collection)) {
|
|
156
|
-
const { snapshotOwnedContentMetadata } = await import("./owned-metadata-
|
|
157
|
-
const { prepareContentWrite } = await import("./content-write-
|
|
156
|
+
const { snapshotOwnedContentMetadata } = await import("./owned-metadata-CJs4-k1w.mjs").then((n) => n.n);
|
|
157
|
+
const { prepareContentWrite } = await import("./content-write-eOTKAf2d.mjs").then((n) => n.t);
|
|
158
158
|
const source = await snapshotOwnedContentMetadata(this.db, collection, sourceId);
|
|
159
159
|
const seo = await this.get(collection, sourceId);
|
|
160
160
|
const write = await prepareContentWrite(this.db, collection, {
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { atomicBatch, rowUnchanged } from "./database/batch.mjs";
|
|
2
2
|
import { t as validateIdentifier } from "./validate-Co3j6T_K.mjs";
|
|
3
3
|
import { i as encodeCursor, r as decodeCursor } from "./types-BI3ULB3A.mjs";
|
|
4
|
-
import { t as ContentRepository } from "./content-
|
|
4
|
+
import { t as ContentRepository } from "./content-Dxx0H4k8.mjs";
|
|
5
5
|
import { t as SiteActivityRepository } from "./site-activity-hpfJkmxQ.mjs";
|
|
6
6
|
import { r as ReviewRequestRepository } from "./review-requests-DZYM51yI.mjs";
|
|
7
|
-
import { o as HitlRequestRepository } from "./publication-authorization-
|
|
7
|
+
import { o as HitlRequestRepository } from "./publication-authorization-CS8WqkzL.mjs";
|
|
8
8
|
import { l as isPattern } from "./cache-DsEbwFVE.mjs";
|
|
9
9
|
import { n as buildStableActionHash, t as ReviewPayloadBuilder } from "./review-payload-mDJIgcFy.mjs";
|
|
10
|
-
import { i as parseSiteBriefingScope, l as handlePluginList, m as ContextRepository } from "./briefing-
|
|
10
|
+
import { i as parseSiteBriefingScope, l as handlePluginList, m as ContextRepository } from "./briefing-9YqN5XoW.mjs";
|
|
11
11
|
import { t as FTSManager } from "./fts-manager-BHwhq1lC.mjs";
|
|
12
12
|
import { n as SchemaRegistry } from "./registry-3xWpSYNI.mjs";
|
|
13
13
|
import { a as getSiteSettingsWithDb } from "./settings-D0SBKo-W.mjs";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { AtomicWriteConflict, atomicBatch, prepareAtomicChecks, rowUnchanged } from "./database/batch.mjs";
|
|
2
2
|
import { n as contentDigest } from "./config---A7Bg68.mjs";
|
|
3
3
|
import { r as getContentStorage } from "./runtime-Dz7vZRPU.mjs";
|
|
4
|
-
import { t as ContentRepository } from "./content-
|
|
4
|
+
import { t as ContentRepository } from "./content-Dxx0H4k8.mjs";
|
|
5
5
|
import { t as buildStableHash } from "./stable-hash-9RDJgfif.mjs";
|
|
6
6
|
import { i as isSupersededReview, r as ReviewRequestRepository, t as REVIEW_SUPERSESSION_ACTOR } from "./review-requests-DZYM51yI.mjs";
|
|
7
|
-
import { D as encodeRev, r as preparedContentReview } from "./content-write-
|
|
7
|
+
import { D as encodeRev, r as preparedContentReview } from "./content-write-eOTKAf2d.mjs";
|
|
8
8
|
import { t as ReviewPayloadBuilder } from "./review-payload-mDJIgcFy.mjs";
|
|
9
|
-
import { i as reviewDraft } from "./evidence-
|
|
9
|
+
import { i as reviewDraft } from "./evidence-FRy3SVTP.mjs";
|
|
10
10
|
import { sql } from "kysely";
|
|
11
11
|
import { z } from "zod";
|
|
12
12
|
|
|
@@ -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-B1t4PSfw.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);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { c as __exportAll } from "./runner-CuG8o1uW.mjs";
|
|
2
|
-
import { t as TaxonomyRepository } from "./taxonomy-
|
|
3
|
-
import { c as invalidateTaxonomyDefsCache, l as invalidateTermCache } from "./taxonomies-
|
|
2
|
+
import { t as TaxonomyRepository } from "./taxonomy-B4O77tAe.mjs";
|
|
3
|
+
import { c as invalidateTaxonomyDefsCache, l as invalidateTermCache } from "./taxonomies-CZHI0fCa.mjs";
|
|
4
4
|
import { ulid } from "ulidx";
|
|
5
5
|
|
|
6
6
|
//#region src/api/handlers/taxonomies.ts
|
|
@@ -125,7 +125,7 @@ var TaxonomyRepository = class {
|
|
|
125
125
|
return deleted;
|
|
126
126
|
}
|
|
127
127
|
async writeRoutedTerms(collection, entryId, terms, checks = []) {
|
|
128
|
-
const { prepareContentWrite } = await import("./content-write-
|
|
128
|
+
const { prepareContentWrite } = await import("./content-write-eOTKAf2d.mjs").then((n) => n.t);
|
|
129
129
|
const prepared = await prepareContentWrite(this.db, collection, {
|
|
130
130
|
id: entryId,
|
|
131
131
|
terms,
|
|
@@ -5206,9 +5206,9 @@ declare const pluginManifestSchema: z.ZodObject<{
|
|
|
5206
5206
|
json: "json";
|
|
5207
5207
|
file: "file";
|
|
5208
5208
|
slug: "slug";
|
|
5209
|
-
image: "image";
|
|
5210
5209
|
text: "text";
|
|
5211
5210
|
integer: "integer";
|
|
5211
|
+
image: "image";
|
|
5212
5212
|
datetime: "datetime";
|
|
5213
5213
|
select: "select";
|
|
5214
5214
|
multiSelect: "multiSelect";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { F as PageMetadataContribution, Ha as getCollectionInfo, Nn as getTaxonomyTerms, Tn as Widget, Tt as PublicPageContext, Vs as PublicComment, Wn as getMenu, Yi as getDinewayCollection, Zi as getEditMeta, _n as getWidgetArea, rr as getComments, sr as getSiteSettings, va as sanitizeHref } from "../types-
|
|
1
|
+
import { F as PageMetadataContribution, Ha as getCollectionInfo, Nn as getTaxonomyTerms, Tn as Widget, Tt as PublicPageContext, Vs as PublicComment, Wn as getMenu, Yi as getDinewayCollection, Zi as getEditMeta, _n as getWidgetArea, rr as getComments, sr as getSiteSettings, va as sanitizeHref } from "../types-z2nZassR.mjs";
|
|
2
2
|
import "../types-CG9uGPBL.mjs";
|
|
3
3
|
import { _ as MediaValue, c as EmbedResult, l as ImageEmbed, s as EmbedOptions } from "../placeholder-CjKwIO3g.mjs";
|
|
4
4
|
import "../runner-DlkOiguI.mjs";
|
|
@@ -11,10 +11,10 @@ import "../hook-events-lN-kz-4_.mjs";
|
|
|
11
11
|
import "../scheduled-publish-7kZkKw7t.mjs";
|
|
12
12
|
import "../public-url-CvNSyMJJ.mjs";
|
|
13
13
|
import { x as MediaReference } from "../validate-CleBZbkv.mjs";
|
|
14
|
-
import "../byline-fields-
|
|
14
|
+
import "../byline-fields-Dyts_tJ5.mjs";
|
|
15
15
|
import "../types-BuplUVZ4.mjs";
|
|
16
|
-
import { t as getPublicOrigin } from "../public-url-
|
|
17
|
-
import { a as generateSiteSeoContributions, c as ResolvedPageMetadata, d as renderPageMetadata, f as resolvePageMetadata, i as generateBaseSeoContributions, l as createSha256CspHash, o as renderFragments } from "../jsonld-
|
|
16
|
+
import { t as getPublicOrigin } from "../public-url-DLcDMtBJ.mjs";
|
|
17
|
+
import { a as generateSiteSeoContributions, c as ResolvedPageMetadata, d as renderPageMetadata, f as resolvePageMetadata, i as generateBaseSeoContributions, l as createSha256CspHash, o as renderFragments } from "../jsonld-DZXdAyOK.mjs";
|
|
18
18
|
import { getPageRuntime } from "../page/index.mjs";
|
|
19
19
|
import { t as getMediaProvider } from "../provider-loader-Dl8SscrT.mjs";
|
|
20
20
|
|
|
@@ -20,9 +20,9 @@ import { n as buildRenderMediaUrl } from "../url-RhtABurq.mjs";
|
|
|
20
20
|
import { i as getSiteSettings } from "../settings-D0SBKo-W.mjs";
|
|
21
21
|
import { t as getCollectionInfo } from "../query-D0qnvePL.mjs";
|
|
22
22
|
import "../resolve-BdDNBmaU.mjs";
|
|
23
|
-
import { a as getTaxonomyTerms } from "../taxonomies-
|
|
23
|
+
import { a as getTaxonomyTerms } from "../taxonomies-CZHI0fCa.mjs";
|
|
24
24
|
import { n as sanitizeHref } from "../url--_ukDIsN.mjs";
|
|
25
|
-
import { r as getEditMeta, t as getDinewayCollection } from "../query-
|
|
25
|
+
import { r as getEditMeta, t as getDinewayCollection } from "../query-B1t4PSfw.mjs";
|
|
26
26
|
import "../comment-reaction-CFkwluRq.mjs";
|
|
27
27
|
import { i as getComments, t as getMenu } from "../menus-DL-BYzwG.mjs";
|
|
28
28
|
import { t as getWidgetArea } from "../widgets-P1hMbKIT.mjs";
|
|
@@ -138,8 +138,10 @@ var ContentVersionStore = class {
|
|
|
138
138
|
let encoded = value;
|
|
139
139
|
let codec = type;
|
|
140
140
|
if (value !== null) {
|
|
141
|
-
if (type === "json"
|
|
142
|
-
|
|
141
|
+
if (type === "json" || type === "text" && typeof value === "object") {
|
|
142
|
+
encoded = canonicalContentJson(value);
|
|
143
|
+
codec = "json";
|
|
144
|
+
} else if (type === "integer" && typeof value === "boolean") {
|
|
143
145
|
encoded = Number(value);
|
|
144
146
|
codec = "boolean";
|
|
145
147
|
} else if (type === "text" ? typeof value !== "string" : typeof value !== "number" || !Number.isFinite(value) || type === "integer" && !Number.isSafeInteger(value)) throw new ContentStorageError("CONFLICT", `Content field ${field} does not match its deployed column type.`);
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { getRequestContext, runWithContext } from "./request-context.mjs";
|
|
2
2
|
import { AtomicWriteConflict, atomicBatch, isD1Database, rowUnchanged } from "./database/batch.mjs";
|
|
3
|
-
import { t as ContentRepository } from "./content-
|
|
3
|
+
import { t as ContentRepository } from "./content-Dxx0H4k8.mjs";
|
|
4
4
|
import { t as SiteActivityRepository } from "./site-activity-hpfJkmxQ.mjs";
|
|
5
5
|
import { t as buildStableHash } from "./stable-hash-9RDJgfif.mjs";
|
|
6
6
|
import { r as ReviewRequestRepository } from "./review-requests-DZYM51yI.mjs";
|
|
7
|
-
import { t as PublicationAuthorizationError } from "./publication-authorization-
|
|
7
|
+
import { t as PublicationAuthorizationError } from "./publication-authorization-CS8WqkzL.mjs";
|
|
8
8
|
import { t as ReviewPayloadBuilder } from "./review-payload-mDJIgcFy.mjs";
|
|
9
9
|
import { t as DinewayToolsError } from "./service-DL1j3E4P.mjs";
|
|
10
10
|
import { i as REVIEW_MODEL, o as matchesDecisionModel } from "./runs-BGqkkqhp.mjs";
|
|
11
|
-
import { i as reviewDraft, n as loadReviewContext, r as loadReviewImages, t as ReviewEvidenceError } from "./evidence-
|
|
12
|
-
import { a as reviewQuestions, n as classifyReview, r as getReviewPolicy, t as REVIEW_THRESHOLDS } from "./policy-
|
|
11
|
+
import { i as reviewDraft, n as loadReviewContext, r as loadReviewImages, t as ReviewEvidenceError } from "./evidence-FRy3SVTP.mjs";
|
|
12
|
+
import { a as reviewQuestions, n as classifyReview, r as getReviewPolicy, t as REVIEW_THRESHOLDS } from "./policy-BL8yj6uD.mjs";
|
|
13
13
|
import { sql } from "kysely";
|
|
14
14
|
import { z } from "zod";
|
|
15
15
|
|
|
@@ -3,7 +3,7 @@ import { atomicBatch } from "./database/batch.mjs";
|
|
|
3
3
|
import { n as contentDigest, o as ContentStorageError, s as ContentStorageReplay } from "./config---A7Bg68.mjs";
|
|
4
4
|
import { r as getContentStorage } from "./runtime-Dz7vZRPU.mjs";
|
|
5
5
|
import { t as contentWriteChecks } from "./atomic-authority-Bf5QZboB.mjs";
|
|
6
|
-
import { o as contentVersionSchema } from "./version-store-
|
|
6
|
+
import { o as contentVersionSchema } from "./version-store-DyYULGd3.mjs";
|
|
7
7
|
import { sql } from "kysely";
|
|
8
8
|
import { ulid } from "ulidx";
|
|
9
9
|
import { z } from "zod";
|
package/package.json
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|