dineway 0.2.43 → 0.2.44
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-Dz33hkaL.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/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 +12 -12
- package/dist/astro/routes/api/admin/context/_id_/supersede.mjs +12 -12
- package/dist/astro/routes/api/admin/context/diff.mjs +12 -12
- package/dist/astro/routes/api/admin/context/index.mjs +12 -12
- 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/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 +31 -31
- 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-LAgJ9PSU.d.mts} +20 -20
- 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 +14 -14
- package/dist/cli/plugin-kit.d.mts +2 -2
- package/dist/client/index.d.mts +2 -2
- package/dist/{content-DbdiQEl7.mjs → content-Dxx0H4k8.mjs} +1 -1
- package/dist/content-storage/index.mjs +8 -8
- 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-DIiMrXaP.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-C9nW8q7f.mjs} +3 -3
- 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-DU2EdwT0.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 +3 -3
- 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/{mode-C3RI5Z5t.mjs → mode-BoM5FjH7.mjs} +0 -0
- /package/dist/{policy-DbceGc4P.mjs → policy-BL8yj6uD.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/{workers-build-4926MPc0.mjs → workers-build-Bd4w1aw9.mjs} +0 -0
|
@@ -532,8 +532,8 @@ var BylineRepository = class {
|
|
|
532
532
|
async copyContentBylines(collectionSlug, sourceContentId, targetContentId) {
|
|
533
533
|
if (await this.db.selectFrom("_dineway_content_bylines").select("id").where("collection_slug", "=", collectionSlug).where("content_id", "=", targetContentId).executeTakeFirst()) return;
|
|
534
534
|
if (getContentStorage(this.db, collectionSlug)) {
|
|
535
|
-
const { snapshotOwnedContentMetadata } = await import("./owned-metadata-
|
|
536
|
-
const { prepareContentWrite } = await import("./content-write-
|
|
535
|
+
const { snapshotOwnedContentMetadata } = await import("./owned-metadata-CJs4-k1w.mjs").then((n) => n.n);
|
|
536
|
+
const { prepareContentWrite } = await import("./content-write-eOTKAf2d.mjs").then((n) => n.t);
|
|
537
537
|
const source = await snapshotOwnedContentMetadata(this.db, collectionSlug, sourceContentId);
|
|
538
538
|
const credits = await this.getContentBylines(collectionSlug, sourceContentId);
|
|
539
539
|
const write = await prepareContentWrite(this.db, collectionSlug, {
|
|
@@ -621,7 +621,7 @@ var BylineRepository = class {
|
|
|
621
621
|
}
|
|
622
622
|
async setContentBylines(collectionSlug, contentId, inputBylines) {
|
|
623
623
|
if (getContentStorage(this.db, collectionSlug)) {
|
|
624
|
-
const { prepareContentWrite } = await import("./content-write-
|
|
624
|
+
const { prepareContentWrite } = await import("./content-write-eOTKAf2d.mjs").then((n) => n.t);
|
|
625
625
|
const write = await prepareContentWrite(this.db, collectionSlug, {
|
|
626
626
|
id: contentId,
|
|
627
627
|
bylines: inputBylines,
|
|
@@ -4,7 +4,7 @@ import { z } from "zod";
|
|
|
4
4
|
/** Valid role level values */
|
|
5
5
|
declare const VALID_ROLE_LEVELS: Set<number>;
|
|
6
6
|
/** Role level — coerces string/number to valid RoleLevel (10|20|30|40|50) */
|
|
7
|
-
declare const roleLevel: z.ZodCoercedNumber<unknown> & z.ZodType<
|
|
7
|
+
declare const roleLevel: z.ZodCoercedNumber<unknown> & z.ZodType<50 | 20 | 10 | 30 | 40, unknown, z.core.$ZodTypeInternals<50 | 20 | 10 | 30 | 40, unknown>>;
|
|
8
8
|
/** Pagination query params — cursor-based */
|
|
9
9
|
declare const cursorPaginationQuery: z.ZodObject<{
|
|
10
10
|
cursor: z.ZodOptional<z.ZodString>;
|
|
@@ -864,9 +864,9 @@ declare const createFieldBody: z.ZodObject<{
|
|
|
864
864
|
url: "url";
|
|
865
865
|
file: "file";
|
|
866
866
|
slug: "slug";
|
|
867
|
-
image: "image";
|
|
868
867
|
text: "text";
|
|
869
868
|
integer: "integer";
|
|
869
|
+
image: "image";
|
|
870
870
|
datetime: "datetime";
|
|
871
871
|
select: "select";
|
|
872
872
|
multiSelect: "multiSelect";
|
|
@@ -892,9 +892,9 @@ declare const createFieldBody: z.ZodObject<{
|
|
|
892
892
|
number: "number";
|
|
893
893
|
boolean: "boolean";
|
|
894
894
|
url: "url";
|
|
895
|
-
image: "image";
|
|
896
895
|
text: "text";
|
|
897
896
|
integer: "integer";
|
|
897
|
+
image: "image";
|
|
898
898
|
datetime: "datetime";
|
|
899
899
|
select: "select";
|
|
900
900
|
}>;
|
|
@@ -922,9 +922,9 @@ declare const updateFieldBody: z.ZodObject<{
|
|
|
922
922
|
url: "url";
|
|
923
923
|
file: "file";
|
|
924
924
|
slug: "slug";
|
|
925
|
-
image: "image";
|
|
926
925
|
text: "text";
|
|
927
926
|
integer: "integer";
|
|
927
|
+
image: "image";
|
|
928
928
|
datetime: "datetime";
|
|
929
929
|
select: "select";
|
|
930
930
|
multiSelect: "multiSelect";
|
|
@@ -950,9 +950,9 @@ declare const updateFieldBody: z.ZodObject<{
|
|
|
950
950
|
number: "number";
|
|
951
951
|
boolean: "boolean";
|
|
952
952
|
url: "url";
|
|
953
|
-
image: "image";
|
|
954
953
|
text: "text";
|
|
955
954
|
integer: "integer";
|
|
955
|
+
image: "image";
|
|
956
956
|
datetime: "datetime";
|
|
957
957
|
select: "select";
|
|
958
958
|
}>;
|
|
@@ -1016,9 +1016,9 @@ declare const fieldSchema: z.ZodObject<{
|
|
|
1016
1016
|
url: "url";
|
|
1017
1017
|
file: "file";
|
|
1018
1018
|
slug: "slug";
|
|
1019
|
-
image: "image";
|
|
1020
1019
|
text: "text";
|
|
1021
1020
|
integer: "integer";
|
|
1021
|
+
image: "image";
|
|
1022
1022
|
datetime: "datetime";
|
|
1023
1023
|
select: "select";
|
|
1024
1024
|
multiSelect: "multiSelect";
|
|
@@ -1091,9 +1091,9 @@ declare const collectionWithFieldsResponseSchema: z.ZodObject<{
|
|
|
1091
1091
|
url: "url";
|
|
1092
1092
|
file: "file";
|
|
1093
1093
|
slug: "slug";
|
|
1094
|
-
image: "image";
|
|
1095
1094
|
text: "text";
|
|
1096
1095
|
integer: "integer";
|
|
1096
|
+
image: "image";
|
|
1097
1097
|
datetime: "datetime";
|
|
1098
1098
|
select: "select";
|
|
1099
1099
|
multiSelect: "multiSelect";
|
|
@@ -1150,9 +1150,9 @@ declare const fieldResponseSchema: z.ZodObject<{
|
|
|
1150
1150
|
url: "url";
|
|
1151
1151
|
file: "file";
|
|
1152
1152
|
slug: "slug";
|
|
1153
|
-
image: "image";
|
|
1154
1153
|
text: "text";
|
|
1155
1154
|
integer: "integer";
|
|
1155
|
+
image: "image";
|
|
1156
1156
|
datetime: "datetime";
|
|
1157
1157
|
select: "select";
|
|
1158
1158
|
multiSelect: "multiSelect";
|
|
@@ -1187,9 +1187,9 @@ declare const fieldListResponseSchema: z.ZodObject<{
|
|
|
1187
1187
|
url: "url";
|
|
1188
1188
|
file: "file";
|
|
1189
1189
|
slug: "slug";
|
|
1190
|
-
image: "image";
|
|
1191
1190
|
text: "text";
|
|
1192
1191
|
integer: "integer";
|
|
1192
|
+
image: "image";
|
|
1193
1193
|
datetime: "datetime";
|
|
1194
1194
|
select: "select";
|
|
1195
1195
|
multiSelect: "multiSelect";
|
|
@@ -1238,8 +1238,8 @@ declare const createReactionBody: z.ZodObject<{
|
|
|
1238
1238
|
}, z.core.$strip>;
|
|
1239
1239
|
declare const commentStatusBody: z.ZodObject<{
|
|
1240
1240
|
status: z.ZodEnum<{
|
|
1241
|
-
pending: "pending";
|
|
1242
1241
|
approved: "approved";
|
|
1242
|
+
pending: "pending";
|
|
1243
1243
|
spam: "spam";
|
|
1244
1244
|
trash: "trash";
|
|
1245
1245
|
}>;
|
|
@@ -1255,8 +1255,8 @@ declare const commentBulkBody: z.ZodObject<{
|
|
|
1255
1255
|
}, z.core.$strip>;
|
|
1256
1256
|
declare const commentListQuery: z.ZodObject<{
|
|
1257
1257
|
status: z.ZodOptional<z.ZodEnum<{
|
|
1258
|
-
pending: "pending";
|
|
1259
1258
|
approved: "approved";
|
|
1259
|
+
pending: "pending";
|
|
1260
1260
|
spam: "spam";
|
|
1261
1261
|
trash: "trash";
|
|
1262
1262
|
}>>;
|
|
@@ -1291,8 +1291,8 @@ declare const commentSchema: z.ZodObject<{
|
|
|
1291
1291
|
authorEmail: z.ZodString;
|
|
1292
1292
|
body: z.ZodString;
|
|
1293
1293
|
status: z.ZodEnum<{
|
|
1294
|
-
pending: "pending";
|
|
1295
1294
|
approved: "approved";
|
|
1295
|
+
pending: "pending";
|
|
1296
1296
|
spam: "spam";
|
|
1297
1297
|
trash: "trash";
|
|
1298
1298
|
}>;
|
|
@@ -1324,8 +1324,8 @@ declare const adminCommentListResponseSchema: z.ZodObject<{
|
|
|
1324
1324
|
authorEmail: z.ZodString;
|
|
1325
1325
|
body: z.ZodString;
|
|
1326
1326
|
status: z.ZodEnum<{
|
|
1327
|
-
pending: "pending";
|
|
1328
1327
|
approved: "approved";
|
|
1328
|
+
pending: "pending";
|
|
1329
1329
|
spam: "spam";
|
|
1330
1330
|
trash: "trash";
|
|
1331
1331
|
}>;
|
|
@@ -1373,11 +1373,11 @@ declare const contextEntryStaleQuery: z.ZodObject<{
|
|
|
1373
1373
|
limit: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
1374
1374
|
cursor: z.ZodOptional<z.ZodString>;
|
|
1375
1375
|
scope: z.ZodOptional<z.ZodString>;
|
|
1376
|
-
contextTypes: z.ZodPipe<z.ZodOptional<z.ZodString>, z.ZodTransform<string[] | undefined, string | undefined>>;
|
|
1377
1376
|
includeInherited: z.ZodPipe<z.ZodOptional<z.ZodEnum<{
|
|
1378
1377
|
true: "true";
|
|
1379
1378
|
false: "false";
|
|
1380
1379
|
}>>, z.ZodTransform<boolean | undefined, "true" | "false" | undefined>>;
|
|
1380
|
+
contextTypes: z.ZodPipe<z.ZodOptional<z.ZodString>, z.ZodTransform<string[] | undefined, string | undefined>>;
|
|
1381
1381
|
tags: z.ZodPipe<z.ZodOptional<z.ZodString>, z.ZodTransform<string[] | undefined, string | undefined>>;
|
|
1382
1382
|
createdByActorType: z.ZodOptional<z.ZodEnum<{
|
|
1383
1383
|
user: "user";
|
|
@@ -1465,8 +1465,8 @@ declare const siteBriefingQuery: z.ZodObject<{
|
|
|
1465
1465
|
//#region src/api/schemas/hitl-requests.d.ts
|
|
1466
1466
|
declare const hitlRequestListQuery: z.ZodObject<{
|
|
1467
1467
|
status: z.ZodOptional<z.ZodEnum<{
|
|
1468
|
-
pending: "pending";
|
|
1469
1468
|
approved: "approved";
|
|
1469
|
+
pending: "pending";
|
|
1470
1470
|
rejected: "rejected";
|
|
1471
1471
|
}>>;
|
|
1472
1472
|
priority: z.ZodOptional<z.ZodEnum<{
|
|
@@ -1499,8 +1499,8 @@ declare const reviewRequestCreateBody: z.ZodObject<{
|
|
|
1499
1499
|
}, z.core.$strip>;
|
|
1500
1500
|
declare const reviewRequestListQuery: z.ZodObject<{
|
|
1501
1501
|
status: z.ZodOptional<z.ZodEnum<{
|
|
1502
|
-
pending: "pending";
|
|
1503
1502
|
approved: "approved";
|
|
1503
|
+
pending: "pending";
|
|
1504
1504
|
rejected: "rejected";
|
|
1505
1505
|
resolved: "resolved";
|
|
1506
1506
|
}>>;
|
|
@@ -1549,7 +1549,7 @@ declare const signupCompleteBody: z.ZodObject<{
|
|
|
1549
1549
|
}, z.core.$strip>;
|
|
1550
1550
|
declare const inviteCreateBody: z.ZodObject<{
|
|
1551
1551
|
email: z.ZodString;
|
|
1552
|
-
role: z.ZodOptional<z.ZodCoercedNumber<unknown> & z.ZodType<
|
|
1552
|
+
role: z.ZodOptional<z.ZodCoercedNumber<unknown> & z.ZodType<50 | 20 | 10 | 30 | 40, unknown, z.core.$ZodTypeInternals<50 | 20 | 10 | 30 | 40, unknown>>>;
|
|
1553
1553
|
}, z.core.$strip>;
|
|
1554
1554
|
declare const inviteCompleteBody: z.ZodObject<{
|
|
1555
1555
|
token: z.ZodString;
|
|
@@ -2101,15 +2101,15 @@ declare const usersListQuery: z.ZodObject<{
|
|
|
2101
2101
|
declare const userUpdateBody: z.ZodObject<{
|
|
2102
2102
|
name: z.ZodOptional<z.ZodString>;
|
|
2103
2103
|
email: z.ZodOptional<z.ZodString>;
|
|
2104
|
-
role: z.ZodOptional<z.ZodCoercedNumber<unknown> & z.ZodType<
|
|
2104
|
+
role: z.ZodOptional<z.ZodCoercedNumber<unknown> & z.ZodType<50 | 20 | 10 | 30 | 40, unknown, z.core.$ZodTypeInternals<50 | 20 | 10 | 30 | 40, unknown>>>;
|
|
2105
2105
|
}, z.core.$strip>;
|
|
2106
2106
|
declare const allowedDomainCreateBody: z.ZodObject<{
|
|
2107
2107
|
domain: z.ZodString;
|
|
2108
|
-
defaultRole: z.ZodCoercedNumber<unknown> & z.ZodType<
|
|
2108
|
+
defaultRole: z.ZodCoercedNumber<unknown> & z.ZodType<50 | 20 | 10 | 30 | 40, unknown, z.core.$ZodTypeInternals<50 | 20 | 10 | 30 | 40, unknown>>;
|
|
2109
2109
|
}, z.core.$strip>;
|
|
2110
2110
|
declare const allowedDomainUpdateBody: z.ZodObject<{
|
|
2111
2111
|
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
2112
|
-
defaultRole: z.ZodOptional<z.ZodCoercedNumber<unknown> & z.ZodType<
|
|
2112
|
+
defaultRole: z.ZodOptional<z.ZodCoercedNumber<unknown> & z.ZodType<50 | 20 | 10 | 30 | 40, unknown, z.core.$ZodTypeInternals<50 | 20 | 10 | 30 | 40, unknown>>>;
|
|
2113
2113
|
}, z.core.$strip>;
|
|
2114
2114
|
declare const userSchema: z.ZodObject<{
|
|
2115
2115
|
id: z.ZodString;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { c as __exportAll } from "./runner-CuG8o1uW.mjs";
|
|
2
2
|
import { t as validateIdentifier } from "./validate-Co3j6T_K.mjs";
|
|
3
3
|
import { o as isMissingTableError, r as getDb } from "./loader-C9hvIKEW.mjs";
|
|
4
|
-
import { t as BylineRepository } from "./byline-
|
|
4
|
+
import { t as BylineRepository } from "./byline-BvFH-UZw.mjs";
|
|
5
5
|
import { n as resolveLocaleChain } from "./resolve-BdDNBmaU.mjs";
|
|
6
6
|
import { sql } from "kysely";
|
|
7
7
|
|
|
@@ -184,7 +184,7 @@ async function getBylinesForEntries(collection, entries) {
|
|
|
184
184
|
*/
|
|
185
185
|
async function getEntriesByByline(collection, byline, options = {}) {
|
|
186
186
|
validateIdentifier(collection, "collection");
|
|
187
|
-
const { getDinewayCollection } = await import("./query-
|
|
187
|
+
const { getDinewayCollection } = await import("./query-B1t4PSfw.mjs").then((n) => n.o);
|
|
188
188
|
const { entries } = await getDinewayCollection(collection, {
|
|
189
189
|
where: { byline },
|
|
190
190
|
...options.locale !== void 0 ? { locale: options.locale } : {},
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { c as __exportAll } from "./runner-CuG8o1uW.mjs";
|
|
2
2
|
import { n as getI18nConfig } from "./config-XW5tMrH8.mjs";
|
|
3
3
|
import { t as DinewayValidationError } from "./types-BI3ULB3A.mjs";
|
|
4
|
-
import { t as BylineRepository } from "./byline-
|
|
4
|
+
import { t as BylineRepository } from "./byline-BvFH-UZw.mjs";
|
|
5
5
|
|
|
6
6
|
//#region src/api/handlers/bylines.ts
|
|
7
7
|
var bylines_exports = /* @__PURE__ */ __exportAll({
|
package/dist/cli/index.mjs
CHANGED
|
@@ -15,25 +15,25 @@ import "../types-BI3ULB3A.mjs";
|
|
|
15
15
|
import { o as isMissingTableError } from "../loader-C9hvIKEW.mjs";
|
|
16
16
|
import "../actor-D0AW80ld.mjs";
|
|
17
17
|
import "../atomic-authority-Bf5QZboB.mjs";
|
|
18
|
-
import { t as ContentRepository } from "../content-
|
|
18
|
+
import { t as ContentRepository } from "../content-Dxx0H4k8.mjs";
|
|
19
19
|
import "../request-cache-CizvDoxV.mjs";
|
|
20
20
|
import "../byline-registry-Caj0_gbU.mjs";
|
|
21
21
|
import "../field-defs-cache-dn5Tw79A.mjs";
|
|
22
22
|
import "../object-cache-qP60KjUp.mjs";
|
|
23
|
-
import { t as BylineRepository } from "../byline-
|
|
24
|
-
import "../owned-metadata-
|
|
23
|
+
import { t as BylineRepository } from "../byline-BvFH-UZw.mjs";
|
|
24
|
+
import "../owned-metadata-CJs4-k1w.mjs";
|
|
25
25
|
import { n as slugify } from "../slugify-DvoaEPtL.mjs";
|
|
26
26
|
import "../revision-BhnVYOMz.mjs";
|
|
27
27
|
import { t as MediaRepository } from "../media-BjH5OD-A.mjs";
|
|
28
28
|
import "../user-Bl2_8rhJ.mjs";
|
|
29
29
|
import "../terms-EskuqbKE.mjs";
|
|
30
|
-
import { t as TaxonomyRepository } from "../taxonomy-
|
|
30
|
+
import { t as TaxonomyRepository } from "../taxonomy-B4O77tAe.mjs";
|
|
31
31
|
import { t as OptionsRepository } from "../options-yFkLUuTw.mjs";
|
|
32
32
|
import "../redirect-CJ-FAbNK.mjs";
|
|
33
|
-
import "../content-write-
|
|
34
|
-
import { n as assertContentVersionStore, r as contentStoreCollectionFromFields, s as installContentVersionStore, t as ContentVersionStore } from "../version-store-
|
|
35
|
-
import "../write-intent-
|
|
36
|
-
import "../seo-
|
|
33
|
+
import "../content-write-eOTKAf2d.mjs";
|
|
34
|
+
import { n as assertContentVersionStore, r as contentStoreCollectionFromFields, s as installContentVersionStore, t as ContentVersionStore } from "../version-store-DyYULGd3.mjs";
|
|
35
|
+
import "../write-intent-D6xfcx1f.mjs";
|
|
36
|
+
import "../seo-DxrTizK0.mjs";
|
|
37
37
|
import { n as DinewayToolsService, r as integrationResponse, t as DinewayToolsError } from "../service-DL1j3E4P.mjs";
|
|
38
38
|
import { i as parseEncryptionKeys, n as fingerprintKey, r as generateEncryptionKey, t as DinewaySecretsError } from "../secrets-D52WNV_c.mjs";
|
|
39
39
|
import "../content-refresh-COi0WfKw.mjs";
|
|
@@ -42,22 +42,22 @@ import "../fts-manager-BHwhq1lC.mjs";
|
|
|
42
42
|
import "../public-discovery-CGRirTJH.mjs";
|
|
43
43
|
import { n as SchemaRegistry } from "../registry-3xWpSYNI.mjs";
|
|
44
44
|
import "../settings-D0SBKo-W.mjs";
|
|
45
|
-
import { n as VERSION } from "../version-
|
|
45
|
+
import { n as VERSION } from "../version-DU2EdwT0.mjs";
|
|
46
46
|
import { t as IntegrationCredentialStore } from "../store-rYMso0t7.mjs";
|
|
47
47
|
import { a as reconcileManifestAccess, i as pluginManifestSchema } from "../manifest-schema-B_rWNZn5.mjs";
|
|
48
48
|
import "../content-C8i4DyTt.mjs";
|
|
49
49
|
import "../migrations-DTCIQJ2_.mjs";
|
|
50
50
|
import { t as validateSeed } from "../validate-WOW5vZz_.mjs";
|
|
51
|
-
import { t as applySeed } from "../apply-
|
|
52
|
-
import { n as validateWorkersBindings, t as WORKERS_BUILD_METADATA } from "../workers-build-
|
|
53
|
-
import { n as d1ReleaseRevision } from "../state-
|
|
51
|
+
import { t as applySeed } from "../apply-SoTzf8LK.mjs";
|
|
52
|
+
import { n as validateWorkersBindings, t as WORKERS_BUILD_METADATA } from "../workers-build-Bd4w1aw9.mjs";
|
|
53
|
+
import { n as d1ReleaseRevision } from "../state-LzJZ7qpq.mjs";
|
|
54
54
|
import { createHeaderAwareFetch, isRedirectResponse, resolveCustomHeaders } from "../client/external-auth-headers.mjs";
|
|
55
55
|
import { t as convertDataForRead } from "../portable-text-DeJeHr_T.mjs";
|
|
56
56
|
import { a as createForgewayAccountClient, c as normalizeForgewayApiUrl, d as refreshForgewayAccountCredentials, f as removeStoredForgewayAccount, g as writeForgewayCredentials, h as readForgewayCredentials, i as completeForgewayAccountLogin, l as normalizeForgewayEmail, m as listForgewayCredentials, n as DEFAULT_FORGEWAY_API_BASE_URL, o as getForgewayDinewayAccount, p as sendForgewayAccountLoginLink, r as InvalidForgewayAccountCredentialsError, s as normalizeDinewayWebUrl, t as DEFAULT_DINEWAY_WEB_URL, u as readStoredForgewayAccount } from "../forgeway-account-B-z2_ZOQ.mjs";
|
|
57
57
|
import { n as output, t as configureOutputMode } from "../output-4F_wq70p.mjs";
|
|
58
58
|
import { _ as saveMarketplaceCredential, a as ensureProjectGitignoreDinewayLocalState, c as resolveDinewayBaseUrl, d as getCredentials, f as getMarketplaceCredential, g as saveCredentials, h as resolveCredentialKey, i as DEFAULT_DINEWAY_URL, l as resolveDinewayToken, m as removeMarketplaceCredential, n as connectionArgs, o as ensureProjectGitignoreEntry, p as removeCredentials, r as createClientFromArgs, s as readProjectEnv, u as upsertProjectEnv } from "../client-factory-8GnB8iz5.mjs";
|
|
59
|
-
import { t as migrateD1Release } from "../release-
|
|
60
|
-
import { a as verifyContentMigration, c as contentMigrationSnapshotSchema, i as stageContentMigrationEntry, l as migrateContentStorageConfig, n as completeContentMigration, o as bootstrapContentDirectoryPage, r as rollbackContentMigration, t as activateContentMigrationEntry } from "../migration-
|
|
59
|
+
import { t as migrateD1Release } from "../release-Bk-UaI2C.mjs";
|
|
60
|
+
import { a as verifyContentMigration, c as contentMigrationSnapshotSchema, i as stageContentMigrationEntry, l as migrateContentStorageConfig, n as completeContentMigration, o as bootstrapContentDirectoryPage, r as rollbackContentMigration, t as activateContentMigrationEntry } from "../migration-C9nW8q7f.mjs";
|
|
61
61
|
import { LocalStorage } from "../storage/local.mjs";
|
|
62
62
|
import { r as fileExists$11, t as bundleCommand } from "../bundle-CnJWXvur.mjs";
|
|
63
63
|
import { createRequire } from "node:module";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import "../types-
|
|
1
|
+
import "../types-z2nZassR.mjs";
|
|
2
2
|
import "../types-CG9uGPBL.mjs";
|
|
3
3
|
import "../runner-DlkOiguI.mjs";
|
|
4
4
|
import "../index-_fCUsJx9.mjs";
|
|
@@ -10,7 +10,7 @@ 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-LAgJ9PSU.mjs";
|
|
14
14
|
import "../types-BuplUVZ4.mjs";
|
|
15
15
|
import { DinewayClient, PluginRequestOptions } from "../client/index.mjs";
|
|
16
16
|
import { SubCommandsDef } from "citty";
|
package/dist/client/index.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Ms as ReviewRequestStatus, Wt as PublicationPolicyOverride, Yt as PublicationReadinessResult, Zt as PublicationReceipt, js as ReviewRequest } from "../types-
|
|
1
|
+
import { Ms as ReviewRequestStatus, Wt as PublicationPolicyOverride, Yt as PublicationReadinessResult, Zt as PublicationReceipt, js as ReviewRequest } from "../types-z2nZassR.mjs";
|
|
2
2
|
import "../types-CG9uGPBL.mjs";
|
|
3
3
|
import "../runner-DlkOiguI.mjs";
|
|
4
4
|
import "../index-_fCUsJx9.mjs";
|
|
@@ -10,7 +10,7 @@ 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-LAgJ9PSU.mjs";
|
|
14
14
|
import "../types-BuplUVZ4.mjs";
|
|
15
15
|
import { a as tokenInterceptor, i as devBypassInterceptor, n as createTransport, r as csrfInterceptor, t as Interceptor } from "../transport-Cm1beMRX.mjs";
|
|
16
16
|
import { n as markdownToPortableText, r as portableTextToMarkdown, t as PortableTextBlock } from "../portable-text-BZYFFIgm.mjs";
|
|
@@ -7,7 +7,7 @@ import { a as hydrateContentRows, g as contentPartitionWritable, r as getContent
|
|
|
7
7
|
import { i as encodeCursor, n as ScheduledNotDueError, r as decodeCursor, t as DinewayValidationError } from "./types-BI3ULB3A.mjs";
|
|
8
8
|
import { t as contentWriteChecks } from "./atomic-authority-Bf5QZboB.mjs";
|
|
9
9
|
import { o as invalidateCollectionCache } from "./object-cache-qP60KjUp.mjs";
|
|
10
|
-
import { i as storedContentSeo, r as snapshotOwnedContentMetadata, t as contentEventBylines } from "./owned-metadata-
|
|
10
|
+
import { i as storedContentSeo, r as snapshotOwnedContentMetadata, t as contentEventBylines } from "./owned-metadata-CJs4-k1w.mjs";
|
|
11
11
|
import { n as slugify } from "./slugify-DvoaEPtL.mjs";
|
|
12
12
|
import { t as RevisionRepository } from "./revision-BhnVYOMz.mjs";
|
|
13
13
|
import { sql } from "kysely";
|
|
@@ -7,22 +7,22 @@ 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-Dxx0H4k8.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
14
|
import "../object-cache-qP60KjUp.mjs";
|
|
15
|
-
import "../byline-
|
|
16
|
-
import "../owned-metadata-
|
|
15
|
+
import "../byline-BvFH-UZw.mjs";
|
|
16
|
+
import "../owned-metadata-CJs4-k1w.mjs";
|
|
17
17
|
import "../revision-BhnVYOMz.mjs";
|
|
18
18
|
import "../user-Bl2_8rhJ.mjs";
|
|
19
19
|
import "../terms-EskuqbKE.mjs";
|
|
20
20
|
import "../redirect-CJ-FAbNK.mjs";
|
|
21
|
-
import "../content-write-
|
|
22
|
-
import { a as contentStoreRequestSchema, i as contentStoreCollectionSchema, n as assertContentVersionStore, o as contentVersionSchema, r as contentStoreCollectionFromFields, s as installContentVersionStore, t as ContentVersionStore } from "../version-store-
|
|
23
|
-
import "../write-intent-
|
|
24
|
-
import "../seo-
|
|
21
|
+
import "../content-write-eOTKAf2d.mjs";
|
|
22
|
+
import { a as contentStoreRequestSchema, i as contentStoreCollectionSchema, n as assertContentVersionStore, o as contentVersionSchema, r as contentStoreCollectionFromFields, s as installContentVersionStore, t as ContentVersionStore } from "../version-store-DyYULGd3.mjs";
|
|
23
|
+
import "../write-intent-D6xfcx1f.mjs";
|
|
24
|
+
import "../seo-DxrTizK0.mjs";
|
|
25
25
|
import "../content-C8i4DyTt.mjs";
|
|
26
|
-
import { a as verifyContentMigration, c as contentMigrationSnapshotSchema, i as stageContentMigrationEntry, l as migrateContentStorageConfig, n as completeContentMigration, o as bootstrapContentDirectoryPage, r as rollbackContentMigration, s as captureContentMigrationSnapshot, t as activateContentMigrationEntry } from "../migration-
|
|
26
|
+
import { a as verifyContentMigration, c as contentMigrationSnapshotSchema, i as stageContentMigrationEntry, l as migrateContentStorageConfig, n as completeContentMigration, o as bootstrapContentDirectoryPage, r as rollbackContentMigration, s as captureContentMigrationSnapshot, t as activateContentMigrationEntry } from "../migration-C9nW8q7f.mjs";
|
|
27
27
|
|
|
28
28
|
export { ContentStorageCoordinator, ContentStorageError, ContentStorageReplay, ContentVersionStore, activateContentMigrationEntry, assertContentStorageConfiguration, assertContentVersionStore, beginContentMigration, bootstrapContentDirectoryPage, cancelContentMigration, canonicalContentJson, captureContentMigrationSnapshot, completeContentMigration, contentDigest, contentMigrationSnapshotSchema, contentStoreCollectionFromFields, contentStoreCollectionSchema, contentStoreRequestSchema, contentVersionSchema, freezeContentPartition, getContentStorage, hydrateContentRows, installContentStorageConfig, installContentVersionStore, migrateContentStorageConfig, readContentPartitionRoute, readRevisionData, readRevisionDataBatch, registerContentStorage, resolveContentPartition, rollbackContentMigration, stageContentMigrationEntry, validateContentStorage, verifyContentMigration };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import "../d1-binding-DrLMBUxu.mjs";
|
|
2
2
|
import { n as contentDigest, o as ContentStorageError } from "../config---A7Bg68.mjs";
|
|
3
|
-
import { a as contentStoreRequestSchema, n as assertContentVersionStore, o as contentVersionSchema, s as installContentVersionStore, t as ContentVersionStore } from "../version-store-
|
|
3
|
+
import { a as contentStoreRequestSchema, n as assertContentVersionStore, o as contentVersionSchema, s as installContentVersionStore, t as ContentVersionStore } from "../version-store-DyYULGd3.mjs";
|
|
4
4
|
|
|
5
5
|
export { ContentStorageError, ContentVersionStore, assertContentVersionStore, contentDigest, contentStoreRequestSchema, contentVersionSchema, installContentVersionStore };
|
|
@@ -9,21 +9,21 @@ import { n as readRevisionDataBatch, r as storedRevisionIndex, t as readRevision
|
|
|
9
9
|
import { r as encodeBase64, t as decodeBase64 } from "./base64-qvSs0Gxy.mjs";
|
|
10
10
|
import { n as ScheduledNotDueError, t as DinewayValidationError } from "./types-BI3ULB3A.mjs";
|
|
11
11
|
import { t as contentWriteChecks } from "./atomic-authority-Bf5QZboB.mjs";
|
|
12
|
-
import { a as prepareContentHookEvents, s as contentStorageHookSnapshotSchema, t as ContentRepository } from "./content-
|
|
12
|
+
import { a as prepareContentHookEvents, s as contentStorageHookSnapshotSchema, t as ContentRepository } from "./content-Dxx0H4k8.mjs";
|
|
13
13
|
import { r as requestCached } from "./request-cache-CizvDoxV.mjs";
|
|
14
14
|
import { o as invalidateCollectionCache, s as invalidateCommentObjectCache } from "./object-cache-qP60KjUp.mjs";
|
|
15
15
|
import { n as chunks, t as SQL_BATCH_SIZE } from "./chunks-Bb56aCtB.mjs";
|
|
16
|
-
import { t as BylineRepository } from "./byline-
|
|
17
|
-
import { i as storedContentSeo, r as snapshotOwnedContentMetadata, t as contentEventBylines } from "./owned-metadata-
|
|
16
|
+
import { t as BylineRepository } from "./byline-BvFH-UZw.mjs";
|
|
17
|
+
import { i as storedContentSeo, r as snapshotOwnedContentMetadata, t as contentEventBylines } from "./owned-metadata-CJs4-k1w.mjs";
|
|
18
18
|
import { t as RevisionRepository } from "./revision-BhnVYOMz.mjs";
|
|
19
19
|
import { t as UserRepository } from "./user-Bl2_8rhJ.mjs";
|
|
20
20
|
import { i as snapshotPartitionTerms, n as prepareContentTerms, r as snapshotContentTermChanges } from "./terms-EskuqbKE.mjs";
|
|
21
21
|
import { t as RedirectRepository } from "./redirect-CJ-FAbNK.mjs";
|
|
22
22
|
import { i as invalidateRedirectCache } from "./cache-DsEbwFVE.mjs";
|
|
23
23
|
import { r as parseAllowedMimeTypes, t as matchesMimeAllowlist } from "./mime-FkfazULS.mjs";
|
|
24
|
-
import { o as contentVersionSchema } from "./version-store-
|
|
25
|
-
import { r as markContentWriteReplay, t as beginContentWriteIntent } from "./write-intent-
|
|
26
|
-
import { t as SeoRepository } from "./seo-
|
|
24
|
+
import { o as contentVersionSchema } from "./version-store-DyYULGd3.mjs";
|
|
25
|
+
import { r as markContentWriteReplay, t as beginContentWriteIntent } from "./write-intent-D6xfcx1f.mjs";
|
|
26
|
+
import { t as SeoRepository } from "./seo-DxrTizK0.mjs";
|
|
27
27
|
import { sql } from "kysely";
|
|
28
28
|
import { ulid } from "ulidx";
|
|
29
29
|
import { z } from "zod";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { _ as toPublicContextDiff, v as toPublicContextEntry, y as toPublicContextEntryPage } from "./site-context-
|
|
2
|
-
import { i as parseSiteBriefingScope, m as ContextRepository, n as SiteBriefingError } from "./briefing-
|
|
1
|
+
import { _ as toPublicContextDiff, v as toPublicContextEntry, y as toPublicContextEntryPage } from "./site-context-DNiKKCc1.mjs";
|
|
2
|
+
import { i as parseSiteBriefingScope, m as ContextRepository, n as SiteBriefingError } from "./briefing-9YqN5XoW.mjs";
|
|
3
3
|
|
|
4
4
|
//#region src/api/handlers/context.ts
|
|
5
5
|
async function handleContextEntryList(db, input = {}) {
|
|
@@ -3,13 +3,13 @@ import { n as validateJsonFieldName } from "./validate-Co3j6T_K.mjs";
|
|
|
3
3
|
import { c as jsonExtractExpr } from "./dialect-helpers-C6xtO-Ui.mjs";
|
|
4
4
|
import { i as encodeCursor, r as decodeCursor } from "./types-BI3ULB3A.mjs";
|
|
5
5
|
import { t as contentWriteChecks } from "./atomic-authority-Bf5QZboB.mjs";
|
|
6
|
-
import { t as ContentRepository } from "./content-
|
|
6
|
+
import { t as ContentRepository } from "./content-Dxx0H4k8.mjs";
|
|
7
7
|
import { o as invalidateCollectionCache } from "./object-cache-qP60KjUp.mjs";
|
|
8
8
|
import { t as MediaRepository } from "./media-BjH5OD-A.mjs";
|
|
9
9
|
import { t as UserRepository } from "./user-Bl2_8rhJ.mjs";
|
|
10
10
|
import { t as OptionsRepository } from "./options-yFkLUuTw.mjs";
|
|
11
11
|
import { t as enrichImageMetadata } from "./enrich-CAMsD1aT.mjs";
|
|
12
|
-
import { t as SeoRepository } from "./seo-
|
|
12
|
+
import { t as SeoRepository } from "./seo-DxrTizK0.mjs";
|
|
13
13
|
import { o as prepareContentMediaUsageCollectionStale } from "./content-refresh-COi0WfKw.mjs";
|
|
14
14
|
import { a as validateExternalUrl, i as stripCredentialHeaders, t as SsrfError } from "./ssrf-C7tTSD1r.mjs";
|
|
15
15
|
import { sql } from "kysely";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as validateIdentifier } from "./validate-Co3j6T_K.mjs";
|
|
2
|
-
import { t as ContentRepository } from "./content-
|
|
2
|
+
import { t as ContentRepository } from "./content-Dxx0H4k8.mjs";
|
|
3
3
|
import { t as MediaRepository } from "./media-BjH5OD-A.mjs";
|
|
4
4
|
import { t as UserRepository } from "./user-Bl2_8rhJ.mjs";
|
|
5
5
|
import { r as ReviewRequestRepository } from "./review-requests-DZYM51yI.mjs";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { At as ResolvedPlugin, ac as assertD1Migrations, cc as compileD1Schema, ic as D1MigrationOptions, oc as migrateD1, rc as D1Migration, sc as D1SchemaObject } from "../../types-
|
|
1
|
+
import { At as ResolvedPlugin, ac as assertD1Migrations, cc as compileD1Schema, ic as D1MigrationOptions, oc as migrateD1, rc as D1Migration, sc as D1SchemaObject } from "../../types-z2nZassR.mjs";
|
|
2
2
|
import "../../types-CG9uGPBL.mjs";
|
|
3
3
|
import "../../runner-DlkOiguI.mjs";
|
|
4
4
|
import "../../index-_fCUsJx9.mjs";
|
|
@@ -10,7 +10,7 @@ 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-LAgJ9PSU.mjs";
|
|
14
14
|
import "../../types-BuplUVZ4.mjs";
|
|
15
15
|
import { Kysely } from "kysely";
|
|
16
16
|
|
|
@@ -2,7 +2,7 @@ import { o as assertD1Migrations, s as migrateD1 } from "../../runner-CuG8o1uW.m
|
|
|
2
2
|
import "../../d1-binding-DrLMBUxu.mjs";
|
|
3
3
|
import "../../dialect-helpers-C6xtO-Ui.mjs";
|
|
4
4
|
import "../../migrations-DTCIQJ2_.mjs";
|
|
5
|
-
import "../../state-
|
|
6
|
-
import { n as compileD1Schema, t as migrateD1Release } from "../../release-
|
|
5
|
+
import "../../state-LzJZ7qpq.mjs";
|
|
6
|
+
import { n as compileD1Schema, t as migrateD1Release } from "../../release-Bk-UaI2C.mjs";
|
|
7
7
|
|
|
8
8
|
export { assertD1Migrations, compileD1Schema, migrateD1, migrateD1Release };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { i as encodeBase64url } from "./base64-qvSs0Gxy.mjs";
|
|
2
2
|
import { t as MediaRepository } from "./media-BjH5OD-A.mjs";
|
|
3
3
|
import { t as buildStableHash } from "./stable-hash-9RDJgfif.mjs";
|
|
4
|
-
import { a as selectActiveBriefingContextEntries, i as parseSiteBriefingScope, m as ContextRepository } from "./briefing-
|
|
4
|
+
import { a as selectActiveBriefingContextEntries, i as parseSiteBriefingScope, m as ContextRepository } from "./briefing-9YqN5XoW.mjs";
|
|
5
5
|
import { n as sha256, s as readBoundedBytes } from "./runs-BGqkkqhp.mjs";
|
|
6
6
|
import { c as loadContentMediaUsageFields } from "./content-refresh-COi0WfKw.mjs";
|
|
7
7
|
import { r as ssrfSafeFetch } from "./ssrf-C7tTSD1r.mjs";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { b as HitlRequestService } from "./site-context-
|
|
1
|
+
import { b as HitlRequestService } from "./site-context-DNiKKCc1.mjs";
|
|
2
2
|
import { t as ExperimentalSiteContextWorkflowDisabledError } from "./experimental-workflows-BtKXzyIH.mjs";
|
|
3
3
|
|
|
4
4
|
//#region src/api/handlers/hitl-requests.ts
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { i as resolveActorIdentity } from "./actor-D0AW80ld.mjs";
|
|
2
|
-
import { t as WorkflowHitlCoordinator } from "./site-context-
|
|
2
|
+
import { t as WorkflowHitlCoordinator } from "./site-context-DNiKKCc1.mjs";
|
|
3
3
|
import { t as apiError } from "./error-HuAkl_6r.mjs";
|
|
4
4
|
import { p as logSiteActivitySafely } from "./activity-events-D4JfWJFI.mjs";
|
|
5
5
|
import { t as ExperimentalSiteContextWorkflowDisabledError } from "./experimental-workflows-BtKXzyIH.mjs";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { n as slugify } from "./slugify-DvoaEPtL.mjs";
|
|
2
|
-
import { t as TaxonomyRepository } from "./taxonomy-
|
|
2
|
+
import { t as TaxonomyRepository } from "./taxonomy-B4O77tAe.mjs";
|
|
3
3
|
import { t as OptionsRepository } from "./options-yFkLUuTw.mjs";
|
|
4
4
|
import { a as validateExternalUrl, n as resolveAndValidateExternalUrl, r as ssrfSafeFetch } from "./ssrf-C7tTSD1r.mjs";
|
|
5
5
|
import { o as invalidateSiteSettingsCache } from "./settings-D0SBKo-W.mjs";
|
|
6
6
|
import { n as resolveLocaleChain } from "./resolve-BdDNBmaU.mjs";
|
|
7
|
-
import { l as invalidateTermCache } from "./taxonomies-
|
|
7
|
+
import { l as invalidateTermCache } from "./taxonomies-CZHI0fCa.mjs";
|
|
8
8
|
import { n as parseWxrString } from "./parser-CoH5-854.mjs";
|
|
9
9
|
import { _ as sanitizeFieldSlug, a as getFilenameFromUrl, c as isInternalMetaKey, d as mapMetaKeyToField, f as mapPostTypeToCollection, h as relativizeContentLinks, i as checkSchemaCompatibility, l as isInternalPostType, m as normalizeUrl$1, n as FEATURED_IMAGE_FIELD, o as guessMimeType, p as mapWpStatus, r as buildAttachmentMap, s as inferMetaType, t as BASE_REQUIRED_FIELDS, u as isPluginBookkeepingMeta } from "./utils-WY63JOPB.mjs";
|
|
10
10
|
import { ulid } from "ulidx";
|
package/dist/index.d.mts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { AfterCallback, after } from "./after.mjs";
|
|
2
2
|
import { _ as UpdateCollectionInput, a as ColumnType, d as FieldType, f as FieldValidation, g as RESERVED_FIELD_SLUGS, h as RESERVED_COLLECTION_SLUGS, i as CollectionWithFields, l as FIELD_TYPE_TO_COLUMN, m as PublicDiscoveryRules, n as CollectionSource, o as CreateCollectionInput, p as FieldWidgetOptions, r as CollectionSupport, s as CreateFieldInput, t as Collection, u as Field, v as UpdateFieldInput } from "./types-BjWhF4eO.mjs";
|
|
3
3
|
import { a as ContentSeo, c as DinewayValidationError, d as ScheduledNotDueError, f as UpdateContentInput, i as ContentItem, l as FindManyOptions, m as encodeCursor, n as ContentBylineCredit, o as ContentSeoInput, p as decodeCursor, s as CreateContentInput, t as BylineSummary, u as FindManyResult } from "./types--vDpt_aS.mjs";
|
|
4
|
-
import { $ as PluginMcpCommandPreview, $a as RevisionResponse, $i as resolveDinewayPath, $n as UpdateMenuItemInput, $o as handleContentUpdate, $r as PluginSecretStatus, $s as getDb, $t as PublicationReleasePreparationTarget, A as MediaUploadEvent, Aa as PortableTextUnknownBlock, Ai as invalidateCollectionCache, An as getEntryTerms, Ar as verifyPreviewToken, As as MarkAssignmentsOverdueInput, At as ResolvedPlugin, B as PluginActor, Ba as UpdateSectionInput, Bi as ContentEntry, Bn as UpdateTermInput, Bo as handleContentDiscardDraft, Br as HandoffSnapshot, C as FieldWidgetConfig, Ca as PortableTextCodeBlock, Ci as verifyPreviewSignature, Cn as ReorderWidgetsInput, Co as SandboxRunnerFactory, Cr as getPreviewUrl, Cs as AssignmentActorRef, Ct as PortableTextBlockConfig, D as KVAccess, Da as PortableTextMarkDef, Di as contentNamespace, Dn as WidgetComponentDef, Do as PluginMcpTargetAuthorizer, Dr as VerifyPreviewTokenResult, Ds as AssignmentRepository, Dt as PublicPageSchema, E as HttpAccess, Ea as PortableTextLinkMark, Ei as cachedQuery, En as WidgetArea, Er as VerifyPreviewTokenOptions, Es as AssignmentPriority, Et as PublicPageImage, F as PageMetadataContribution, Fa as getSections, Fi as invalidateTaxonomyObjectCache, Fn as getTermsForEntries, Fo as handleContentCompare, Fr as CreateWorkflowAssignmentInput, Fs as SiteActivityActorType, Ft as StandardHookHandler, G as PluginAuthMethod, Ga as MediaListResponse, Gi as ResolvePathResult, Gn as getMenus, Go as handleContentListTrashed, Gr as NodeSandboxRunner, Gs as MediaRepository, Gt as PublicationReadinessBlocker, H as PluginAdminConfig, Ha as getCollectionInfo, Hi as EditFieldMeta, Hn as getBylineBySlug, Ho as handleContentGet, Hr as PublicationReleasePolicyContribution, Hs as RevisionRepository, Ht as isStandardPluginDefinition, I as PageMetadataEvent, Ia as CreateSectionInput, Ii as isObjectCacheActive, In as CreateTermInput, Io as handleContentCountScheduled, Ir as HandoffResumeResult, Is as SiteActivityRepository, It as StandardPluginDefinition, J as PluginD1Support, Ja as handleMediaDelete, Ji as TranslationsResult, Jn as Menu, Jo as handleContentRestore, Jr as SandboxNotAvailableError, Js as EntryData, Jt as PublicationReadinessPolicyTarget, K as PluginCapability, Ka as MediaResponse, Ki as SelectedCollectionData, Kn as CreateMenuInput, Ko as handleContentPermanentDelete, Kr as createNodeSandboxRunner, Ks as ContentRepository, Kt as PublicationReadinessPolicyBlocker, L as PageMetadataHandler, La as GetSectionsOptions, Li as CacheHint, Ln as TaxonomyDef, Lo as handleContentCountTrashed, Lr as HandoffSnapshotStore, Ls as SiteActivityResultStatus, Lt as StandardRouteEntry, M as PageFragmentContribution, Ma as ProseMirrorMark, Mi as invalidateMenuObjectCache, Mn as getTaxonomyDefs, Mr as AssignmentActionInput, Mt as ResolvedPluginMcpConfig, N as PageFragmentEvent, Na as ProseMirrorNode, Ni as invalidateObjectCache, Nn as getTaxonomyTerms, Nr as AssignmentListInput, Ns as CreateSiteActivityInput, Nt as RouteContext, O as LogAccess, Oa as PortableTextSpan, Oi as contentNamespaces, On as WidgetType, Or as generatePreviewToken, Os as AssignmentStatus, Ot as PublicSchemaNode, P as PageFragmentHandler, Pa as getSection, Pi as invalidateSchemaObjectCache, Pn as getTerm, Po as handleContentAuthors, Pr as AssignmentService, Ps as SiteActivity, Pt as StandardHookEntry, Q as PluginMcpAuthorization, Qa as RevisionListResponse, Qi as getTranslations, Qn as UpdateMenuInput, Qo as handleContentUnschedule, Qr as createReviewedPluginMcpCommandExecutor, Qt as PublicationReleasePolicy, Ra as Section, Ri as CollectionFilter, Rn as TaxonomyTerm, Ro as handleContentCreate, Rr as ResumeHandoffSnapshotInput, Rs as SiteActivitySourceType, Rt as StandardRouteHandler, S as EmailMessage, Sa as prosemirrorToPortableText, Sc as ManifestResponse, Si as signPreviewUrl, Sn as PropDef, So as SandboxRunner, Sr as buildPreviewUrl, Ss as Assignment, St as PluginTargetScope, T as HookName, Ta as PortableTextImageBlock, Ti as CachedQueryOptions, Tn as Widget, To as SerializedRequest, Tr as PreviewTokenPayload, Ts as AssignmentListQuery, Tt as PublicPageContext, U as PluginAdminExports, Ua as SchemaError, Ui as EntryResult, Un as getEntriesByByline, Uo as handleContentGetIncludingTrashed, Ur as PublicationReleasePolicyDisposition, Us as CreateMediaInput, V as PluginActorType, Va as validateContent, Vi as DinewayCollections, Vn as getByline, Vo as handleContentDuplicate, Vr as BuiltContentReleasePayload, Vt as StoredComment, W as PluginAdminPage, Wa as SchemaRegistry, Wi as InferCollectionData, Wn as getMenu, Wo as handleContentList, Wr as buildStableActionHash, Ws as MediaItem, Wt as PublicationPolicyOverride, X as PluginHooks, Xa as handleMediaList, Xi as getDinewayEntry, Xn as MenuItemType, Xo as handleContentTranslations, Xr as PluginManager, Xs as WhereRange, Xt as PublicationReadinessWarning, Y as PluginDefinition, Ya as handleMediaGet, Yi as getDinewayCollection, Yn as MenuItem, Yo as handleContentSchedule, Yr as createNoopSandboxRunner, Ys as EntryFilter, Z as PluginManifest, Za as handleMediaUpdate, Zi as getEditMeta, Zn as ReorderMenuItemsInput, Zo as handleContentUnpublish, Zr as createPluginManager, Zs as WhereValue, _ as EmailAfterSendHandler, _a as isSafeHref, _c as ApiContext, _i as PreviewSidecarClient, _n as getWidgetArea, _o as HookResult, _r as renderPreviewLoadingPage, _s as ContentReference, _t as PluginRouteMethod, a as CommentAfterModerateEvent, aa as GuestAccessExpectedScope, ai as definePlugin, an as search, ao as SiteBriefingAssembler, ar as getPluginSettings, as as ContentReviewHandlers, at as PluginMcpQueryTool, b as EmailDeliverEvent, ba as hashString, bc as FieldDescriptor, bi as defaultPreviewSidecarClient, bn as CreateWidgetAreaInput, bo as SandboxEmailSendCallback, br as isPreviewRequest, bs as RelationRepository, bt as PluginRouteTargetContext, c as CommentBeforeCreateHandler, ca as IssueGuestAccessTokenOptions, ci as FileSessionDatabaseFactory, cn as FTSManager, cr as setSiteSettings, cs as prepareContentWrite, ct as PluginMcpReversibility, d as ContentAccess, da as VerifyGuestAccessTokenResult, di as SessionDatabaseFactory, dn as SearchOptions, do as ConfirmedContentPublicationResult, dr as AppliedSnapshotMeta, ds as image, dt as PluginMcpTool, ea as CMSAnnotation, ec as DatabaseConfig, ei as PluginSecretStore, en as currentTimestamp, eo as handleRevisionGet, er as GetCommentsOptions, es as ReviewSubmissionError, et as PluginMcpCommandTool, f as ContentDeleteEvent, fa as hashGuestAccessToken, fi as SessionDatabaseHandle, fn as SearchResponse, fo as PublishConfirmedContentInput, fr as ApplySnapshotToDatabaseOptions, fs as FieldDefinition, ft as PluginMigration, g as EmailAfterSendEvent, ga as checkRateLimit, gi as SessionOpenOrCreateOptions, gn as Suggestion, go as HookPipeline, gr as Snapshot, gs as PortableTextBlock, gt as PluginRouteBodyMode, h as EmailAccess, ha as RateLimitResult, hi as SessionOpenOptions, hn as SuggestOptions, hr as getAppliedSnapshotMeta, hs as ImageValue, ht as PluginRouteAuthorization, i as CommentAfterCreateHandler, ia as createNoop, ii as runPluginMigrations, in as getSuggestions, io as SiteBriefing, ir as getPluginSetting, is as ReviewRequestActorInput, it as PluginMcpPiiPolicy, j as ModerationDecision, ja as ProseMirrorDocument, ji as invalidateCommentObjectCache, jn as getTaxonomyDef, jr as AssignmentAccessContext, js as ReviewRequest, jt as ResolvedPluginHooks, k as MediaAccess, ka as PortableTextTextBlock, ki as invalidateBylineObjectCache, kn as getEntriesByTerm, ko as PluginDescriptor, kr as parseContentId, ks as CreateAssignmentInput, kt as ResolvedHook, l as CommentModerateEvent, la as IssuedGuestAccessToken, li as FileSessionDatabaseFactoryOptions, ln as CollectionSearchOptions, lo as AtomicConfirmedContentAuthorizer, lr as PreviewToolbarConfig, ls as portableText, lt as PluginMcpRiskFactor, m as ContentPublishStateChangeEvent, ma as verifyGuestAccessToken, mi as SessionDatabaseLimitError, mn as SearchStats, mo as PluginRouteError, mr as dropSessionDatabaseTables, ms as FileValue, n as CollectionCommentSettings, na as FieldAnnotation, ni as ValidatedPluginManifest, nn as extractSearchableFields, no as handleRevisionRestore, nr as getCommentCount, ns as prepareAutomatedReview, nt as PluginMcpExecutionContext, o as CommentAfterModerateHandler, oa as GuestAccessTokenClaims, oi as FilePreviewMiddlewareConfig, on as searchCollection, oo as SiteBriefingContextEntry, or as getSiteSetting, os as ContentWriteInput, ot as PluginMcpResource, p as ContentHookEvent, pa as issueGuestAccessToken, pi as SessionDatabaseInfo, pn as SearchResult, pr as applySnapshotToDatabase, ps as FieldUIHints, pt as PluginRoute, q as PluginContext, qa as handleMediaCreate, qi as TranslationSummary, qn as CreateMenuItemInput, qo as handleContentPublish, qr as NoopSandboxRunner, qs as CollectionFilter$1, qt as PublicationReadinessPolicyFinding, r as CommentAfterCreateEvent, ra as createEditable, ri as pluginManifestSchema, rn as getSearchStats, ro as generateManifest, rr as getComments, rs as submitAutomatedReview, rt as PluginMcpPiiClass, s as CommentBeforeCreateEvent, sa as GuestAccessTokenConfigurationError, si as createFilePreviewMiddleware, sn as searchWithDb, sr as getSiteSettings, ss as PreparedContentWrite, st as PluginMcpResourceContent, t as BreadcrumbItem, ta as EditProxy, tc as DinewayDatabaseError, ti as PluginSecretStoreOptions, tn as extractPlainText, to as handleRevisionList, tr as GetCommentsResult, ts as ReviewSubmissionInput, tt as PluginMcpConfig, u as CommentModerateHandler, ua as VerifyGuestAccessTokenOptions, ui as SessionCleanupResult, un as SearchConfig, uo as ConfirmedContentAuthorizer, ur as renderPreviewToolbar, us as reference, ut as PluginMcpRiskLevel, v as EmailBeforeSendEvent, va as sanitizeHref, vc as ContentListResponse, vi as PreviewSidecarSignature, vn as getWidgetAreas, vo as createHookPipeline, vr as isBlockedInPreview, vs as CreateRelationInput, vt as PluginRouteTargetAuthorizationRequest, w as HookConfig, wa as PortableTextHtmlBlock, wi as CacheNamespace, wn as UpdateWidgetInput, wo as SandboxedPlugin, wr as GeneratePreviewTokenOptions, ws as AssignmentActorType, wt as PortableTextBlockField, x as EmailDeliverHandler, xa as portableTextToProsemirror, xc as ListResponse, xi as parsePreviewSignatureHeader, xn as CreateWidgetInput, xo as SandboxOptions, xr as GetPreviewUrlOptions, xs as UpdateRelationInput, xt as PluginStorageConfig, y as EmailBeforeSendHandler, ya as computeContentHash, yc as ContentResponse, yi as buildPreviewSignatureHeader, yn as getWidgetComponents, yo as SandboxEmailMessage, yr as getPreviewToken, ys as Relation, yt as PluginRouteTargetAuthorizer, z as PagePlacement, za as SectionSource, zi as CollectionResult, zn as TaxonomyTermRow, zo as handleContentDelete, zr as CreateHandoffSnapshotInput, zs as SiteActivityTimelineQuery, zt as StorageCollection } from "./types-Dkj3EodZ.mjs";
|
|
4
|
+
import { $ as PluginMcpCommandPreview, $a as RevisionResponse, $i as resolveDinewayPath, $n as UpdateMenuItemInput, $o as handleContentUpdate, $r as PluginSecretStatus, $s as getDb, $t as PublicationReleasePreparationTarget, A as MediaUploadEvent, Aa as PortableTextUnknownBlock, Ai as invalidateCollectionCache, An as getEntryTerms, Ar as verifyPreviewToken, As as MarkAssignmentsOverdueInput, At as ResolvedPlugin, B as PluginActor, Ba as UpdateSectionInput, Bi as ContentEntry, Bn as UpdateTermInput, Bo as handleContentDiscardDraft, Br as HandoffSnapshot, C as FieldWidgetConfig, Ca as PortableTextCodeBlock, Ci as verifyPreviewSignature, Cn as ReorderWidgetsInput, Co as SandboxRunnerFactory, Cr as getPreviewUrl, Cs as AssignmentActorRef, Ct as PortableTextBlockConfig, D as KVAccess, Da as PortableTextMarkDef, Di as contentNamespace, Dn as WidgetComponentDef, Do as PluginMcpTargetAuthorizer, Dr as VerifyPreviewTokenResult, Ds as AssignmentRepository, Dt as PublicPageSchema, E as HttpAccess, Ea as PortableTextLinkMark, Ei as cachedQuery, En as WidgetArea, Er as VerifyPreviewTokenOptions, Es as AssignmentPriority, Et as PublicPageImage, F as PageMetadataContribution, Fa as getSections, Fi as invalidateTaxonomyObjectCache, Fn as getTermsForEntries, Fo as handleContentCompare, Fr as CreateWorkflowAssignmentInput, Fs as SiteActivityActorType, Ft as StandardHookHandler, G as PluginAuthMethod, Ga as MediaListResponse, Gi as ResolvePathResult, Gn as getMenus, Go as handleContentListTrashed, Gr as NodeSandboxRunner, Gs as MediaRepository, Gt as PublicationReadinessBlocker, H as PluginAdminConfig, Ha as getCollectionInfo, Hi as EditFieldMeta, Hn as getBylineBySlug, Ho as handleContentGet, Hr as PublicationReleasePolicyContribution, Hs as RevisionRepository, Ht as isStandardPluginDefinition, I as PageMetadataEvent, Ia as CreateSectionInput, Ii as isObjectCacheActive, In as CreateTermInput, Io as handleContentCountScheduled, Ir as HandoffResumeResult, Is as SiteActivityRepository, It as StandardPluginDefinition, J as PluginD1Support, Ja as handleMediaDelete, Ji as TranslationsResult, Jn as Menu, Jo as handleContentRestore, Jr as SandboxNotAvailableError, Js as EntryData, Jt as PublicationReadinessPolicyTarget, K as PluginCapability, Ka as MediaResponse, Ki as SelectedCollectionData, Kn as CreateMenuInput, Ko as handleContentPermanentDelete, Kr as createNodeSandboxRunner, Ks as ContentRepository, Kt as PublicationReadinessPolicyBlocker, L as PageMetadataHandler, La as GetSectionsOptions, Li as CacheHint, Ln as TaxonomyDef, Lo as handleContentCountTrashed, Lr as HandoffSnapshotStore, Ls as SiteActivityResultStatus, Lt as StandardRouteEntry, M as PageFragmentContribution, Ma as ProseMirrorMark, Mi as invalidateMenuObjectCache, Mn as getTaxonomyDefs, Mr as AssignmentActionInput, Mt as ResolvedPluginMcpConfig, N as PageFragmentEvent, Na as ProseMirrorNode, Ni as invalidateObjectCache, Nn as getTaxonomyTerms, Nr as AssignmentListInput, Ns as CreateSiteActivityInput, Nt as RouteContext, O as LogAccess, Oa as PortableTextSpan, Oi as contentNamespaces, On as WidgetType, Or as generatePreviewToken, Os as AssignmentStatus, Ot as PublicSchemaNode, P as PageFragmentHandler, Pa as getSection, Pi as invalidateSchemaObjectCache, Pn as getTerm, Po as handleContentAuthors, Pr as AssignmentService, Ps as SiteActivity, Pt as StandardHookEntry, Q as PluginMcpAuthorization, Qa as RevisionListResponse, Qi as getTranslations, Qn as UpdateMenuInput, Qo as handleContentUnschedule, Qr as createReviewedPluginMcpCommandExecutor, Qt as PublicationReleasePolicy, Ra as Section, Ri as CollectionFilter, Rn as TaxonomyTerm, Ro as handleContentCreate, Rr as ResumeHandoffSnapshotInput, Rs as SiteActivitySourceType, Rt as StandardRouteHandler, S as EmailMessage, Sa as prosemirrorToPortableText, Sc as ManifestResponse, Si as signPreviewUrl, Sn as PropDef, So as SandboxRunner, Sr as buildPreviewUrl, Ss as Assignment, St as PluginTargetScope, T as HookName, Ta as PortableTextImageBlock, Ti as CachedQueryOptions, Tn as Widget, To as SerializedRequest, Tr as PreviewTokenPayload, Ts as AssignmentListQuery, Tt as PublicPageContext, U as PluginAdminExports, Ua as SchemaError, Ui as EntryResult, Un as getEntriesByByline, Uo as handleContentGetIncludingTrashed, Ur as PublicationReleasePolicyDisposition, Us as CreateMediaInput, V as PluginActorType, Va as validateContent, Vi as DinewayCollections, Vn as getByline, Vo as handleContentDuplicate, Vr as BuiltContentReleasePayload, Vt as StoredComment, W as PluginAdminPage, Wa as SchemaRegistry, Wi as InferCollectionData, Wn as getMenu, Wo as handleContentList, Wr as buildStableActionHash, Ws as MediaItem, Wt as PublicationPolicyOverride, X as PluginHooks, Xa as handleMediaList, Xi as getDinewayEntry, Xn as MenuItemType, Xo as handleContentTranslations, Xr as PluginManager, Xs as WhereRange, Xt as PublicationReadinessWarning, Y as PluginDefinition, Ya as handleMediaGet, Yi as getDinewayCollection, Yn as MenuItem, Yo as handleContentSchedule, Yr as createNoopSandboxRunner, Ys as EntryFilter, Z as PluginManifest, Za as handleMediaUpdate, Zi as getEditMeta, Zn as ReorderMenuItemsInput, Zo as handleContentUnpublish, Zr as createPluginManager, Zs as WhereValue, _ as EmailAfterSendHandler, _a as isSafeHref, _c as ApiContext, _i as PreviewSidecarClient, _n as getWidgetArea, _o as HookResult, _r as renderPreviewLoadingPage, _s as ContentReference, _t as PluginRouteMethod, a as CommentAfterModerateEvent, aa as GuestAccessExpectedScope, ai as definePlugin, an as search, ao as SiteBriefingAssembler, ar as getPluginSettings, as as ContentReviewHandlers, at as PluginMcpQueryTool, b as EmailDeliverEvent, ba as hashString, bc as FieldDescriptor, bi as defaultPreviewSidecarClient, bn as CreateWidgetAreaInput, bo as SandboxEmailSendCallback, br as isPreviewRequest, bs as RelationRepository, bt as PluginRouteTargetContext, c as CommentBeforeCreateHandler, ca as IssueGuestAccessTokenOptions, ci as FileSessionDatabaseFactory, cn as FTSManager, cr as setSiteSettings, cs as prepareContentWrite, ct as PluginMcpReversibility, d as ContentAccess, da as VerifyGuestAccessTokenResult, di as SessionDatabaseFactory, dn as SearchOptions, do as ConfirmedContentPublicationResult, dr as AppliedSnapshotMeta, ds as image, dt as PluginMcpTool, ea as CMSAnnotation, ec as DatabaseConfig, ei as PluginSecretStore, en as currentTimestamp, eo as handleRevisionGet, er as GetCommentsOptions, es as ReviewSubmissionError, et as PluginMcpCommandTool, f as ContentDeleteEvent, fa as hashGuestAccessToken, fi as SessionDatabaseHandle, fn as SearchResponse, fo as PublishConfirmedContentInput, fr as ApplySnapshotToDatabaseOptions, fs as FieldDefinition, ft as PluginMigration, g as EmailAfterSendEvent, ga as checkRateLimit, gi as SessionOpenOrCreateOptions, gn as Suggestion, go as HookPipeline, gr as Snapshot, gs as PortableTextBlock, gt as PluginRouteBodyMode, h as EmailAccess, ha as RateLimitResult, hi as SessionOpenOptions, hn as SuggestOptions, hr as getAppliedSnapshotMeta, hs as ImageValue, ht as PluginRouteAuthorization, i as CommentAfterCreateHandler, ia as createNoop, ii as runPluginMigrations, in as getSuggestions, io as SiteBriefing, ir as getPluginSetting, is as ReviewRequestActorInput, it as PluginMcpPiiPolicy, j as ModerationDecision, ja as ProseMirrorDocument, ji as invalidateCommentObjectCache, jn as getTaxonomyDef, jr as AssignmentAccessContext, js as ReviewRequest, jt as ResolvedPluginHooks, k as MediaAccess, ka as PortableTextTextBlock, ki as invalidateBylineObjectCache, kn as getEntriesByTerm, ko as PluginDescriptor, kr as parseContentId, ks as CreateAssignmentInput, kt as ResolvedHook, l as CommentModerateEvent, la as IssuedGuestAccessToken, li as FileSessionDatabaseFactoryOptions, ln as CollectionSearchOptions, lo as AtomicConfirmedContentAuthorizer, lr as PreviewToolbarConfig, ls as portableText, lt as PluginMcpRiskFactor, m as ContentPublishStateChangeEvent, ma as verifyGuestAccessToken, mi as SessionDatabaseLimitError, mn as SearchStats, mo as PluginRouteError, mr as dropSessionDatabaseTables, ms as FileValue, n as CollectionCommentSettings, na as FieldAnnotation, ni as ValidatedPluginManifest, nn as extractSearchableFields, no as handleRevisionRestore, nr as getCommentCount, ns as prepareAutomatedReview, nt as PluginMcpExecutionContext, o as CommentAfterModerateHandler, oa as GuestAccessTokenClaims, oi as FilePreviewMiddlewareConfig, on as searchCollection, oo as SiteBriefingContextEntry, or as getSiteSetting, os as ContentWriteInput, ot as PluginMcpResource, p as ContentHookEvent, pa as issueGuestAccessToken, pi as SessionDatabaseInfo, pn as SearchResult, pr as applySnapshotToDatabase, ps as FieldUIHints, pt as PluginRoute, q as PluginContext, qa as handleMediaCreate, qi as TranslationSummary, qn as CreateMenuItemInput, qo as handleContentPublish, qr as NoopSandboxRunner, qs as CollectionFilter$1, qt as PublicationReadinessPolicyFinding, r as CommentAfterCreateEvent, ra as createEditable, ri as pluginManifestSchema, rn as getSearchStats, ro as generateManifest, rr as getComments, rs as submitAutomatedReview, rt as PluginMcpPiiClass, s as CommentBeforeCreateEvent, sa as GuestAccessTokenConfigurationError, si as createFilePreviewMiddleware, sn as searchWithDb, sr as getSiteSettings, ss as PreparedContentWrite, st as PluginMcpResourceContent, t as BreadcrumbItem, ta as EditProxy, tc as DinewayDatabaseError, ti as PluginSecretStoreOptions, tn as extractPlainText, to as handleRevisionList, tr as GetCommentsResult, ts as ReviewSubmissionInput, tt as PluginMcpConfig, u as CommentModerateHandler, ua as VerifyGuestAccessTokenOptions, ui as SessionCleanupResult, un as SearchConfig, uo as ConfirmedContentAuthorizer, ur as renderPreviewToolbar, us as reference, ut as PluginMcpRiskLevel, v as EmailBeforeSendEvent, va as sanitizeHref, vc as ContentListResponse, vi as PreviewSidecarSignature, vn as getWidgetAreas, vo as createHookPipeline, vr as isBlockedInPreview, vs as CreateRelationInput, vt as PluginRouteTargetAuthorizationRequest, w as HookConfig, wa as PortableTextHtmlBlock, wi as CacheNamespace, wn as UpdateWidgetInput, wo as SandboxedPlugin, wr as GeneratePreviewTokenOptions, ws as AssignmentActorType, wt as PortableTextBlockField, x as EmailDeliverHandler, xa as portableTextToProsemirror, xc as ListResponse, xi as parsePreviewSignatureHeader, xn as CreateWidgetInput, xo as SandboxOptions, xr as GetPreviewUrlOptions, xs as UpdateRelationInput, xt as PluginStorageConfig, y as EmailBeforeSendHandler, ya as computeContentHash, yc as ContentResponse, yi as buildPreviewSignatureHeader, yn as getWidgetComponents, yo as SandboxEmailMessage, yr as getPreviewToken, ys as Relation, yt as PluginRouteTargetAuthorizer, z as PagePlacement, za as SectionSource, zi as CollectionResult, zn as TaxonomyTermRow, zo as handleContentDelete, zr as CreateHandoffSnapshotInput, zs as SiteActivityTimelineQuery, zt as StorageCollection } from "./types-z2nZassR.mjs";
|
|
5
5
|
import { $ as RestaurantReservationExperienceIncludedAddonTable, $t as VenuePaymentEventTable, A as RestaurantNotificationSettingsTable, At as UserTable, B as RestaurantOutboxDeliveryTable, Bt as VenueGuestAccessTable, C as RestaurantMenuLocationAssignmentTable, Ct as RestaurantServiceScope, D as RestaurantMenuTable, Dt as RestaurantTaxMode, E as RestaurantMenuSectionTable, Et as RestaurantTableTable, F as RestaurantOrderSnapshotTable, Ft as VenueBookingPolicyTable, G as RestaurantPriorityAlertOpportunityTable, Gt as VenueOrderCancellationSnapshotTable, H as RestaurantPaymentStatus, Ht as VenueLocationTable, I as RestaurantOrderSource, It as VenueCancellationPolicyTable, J as RestaurantReservationAddonCategoryTable, Jt as VenueOrderTable, K as RestaurantPriorityAlertTable, Kt as VenueOrderStatus, L as RestaurantOrderStatus, Lt as VenueCancellationPolicyTierTable, M as RestaurantOrderItemModifierTable, Mt as VenueAvailabilityRuleTable, N as RestaurantOrderItemTable, Nt as VenueBookingHoldTable, O as RestaurantModifierGroupTable, Ot as RestaurantZoneTable, P as RestaurantOrderSequenceTable, Pt as VenueBookingMode, Q as RestaurantReservationExperienceAddonCategoryTable, Qt as VenuePaymentCollection, R as RestaurantOrderStatusHistoryTable, Rt as VenueConversationReadTable, S as RestaurantMenuItemTranslationTable, St as RestaurantReservationTableAssignmentTable, T as RestaurantMenuSectionItemTable, Tt as RestaurantTabRoundTable, U as RestaurantPaymentTable, Ut as VenueMessageTable, V as RestaurantPaymentFlow, Vt as VenueLocationMembershipTable, W as RestaurantPriorityAlertDeliveryTable, Wt as VenueNotificationSettingsTable, X as RestaurantReservationBlockTable, Xt as VenuePaymentAllocationStatus, Y as RestaurantReservationAddonTable, Yt as VenueOutboxEventTable, Z as RestaurantReservationDemandSettingsTable, Zt as VenuePaymentAllocationTable, _ as RestaurantHoursTable, _t as RestaurantReservationRequestTable, a as RestaurantCapacityOverrideTable, an as VenueQuoteStatus, at as RestaurantReservationHoldCommercialSelectionTable, b as RestaurantMenuItemModifierGroupTable, bt as RestaurantReservationStatus, c as RestaurantDeliverySettingsTable, cn as VenueRecordStatus, ct as RestaurantReservationOfferLinkDeliveryTable, d as RestaurantDineInSettingsTable, dn as VenueReviewResponseTable, dt as RestaurantReservationPromotionAllocationTable, en as VenuePaymentRecordStatus, et as RestaurantReservationExperienceTable, f as RestaurantFulfilmentType, fn as VenueReviewTable, ft as RestaurantReservationPromotionOperationTable, g as RestaurantHoursOverrideTable, gt as RestaurantReservationQuoteTable, h as RestaurantGuestAccessTable, hn as VenueTable, ht as RestaurantReservationQuoteLineTable, i as RestaurantCapacityCounterTable, in as VenueQuoteRecordStatus, it as RestaurantReservationHoldAddonTable, j as RestaurantOperatingSettingsTable, jt as VenueAvailabilityBlockTable, k as RestaurantModifierOptionTable, l as RestaurantDeliveryZoneTable, ln as VenueRefundTable, lt as RestaurantReservationOfferTable, m as RestaurantGiftCardTable, mn as VenueSpaceTable, mt as RestaurantReservationQuoteCheckoutTable, n as Database, nn as VenuePaymentTable, nt as RestaurantReservationGiftCardOperationTable, o as RestaurantCartHoldTable, on as VenueQuoteTable, ot as RestaurantReservationHoldTable, p as RestaurantGiftCardLedgerEntryTable, pn as VenueSpaceLayoutTable, pt as RestaurantReservationPromotionTable, q as RestaurantRefundTable, qt as VenueOrderStatusHistoryTable, r as MediaTable, rn as VenueQuoteLineTable, rt as RestaurantReservationHoldAddonOperationTable, s as RestaurantClosureTable, sn as VenueRatePlanTable, st as RestaurantReservationLanguageSettingsTable, tn as VenuePaymentStatus, tt as RestaurantReservationGiftCardAllocationTable, u as RestaurantDineInSessionTable, un as VenueReviewInvitationTable, ut as RestaurantReservationPaymentPolicyTable, v as RestaurantLocationMembershipTable, vt as RestaurantReservationRequestTableAssignmentTable, w as RestaurantMenuOverrideTable, wt as RestaurantSpecialHoursTable, x as RestaurantMenuItemTable, xt as RestaurantReservationTable, y as RestaurantLocationTable, yt as RestaurantReservationSettingsTable, z as RestaurantOrderTable, zt as VenueConversationTable } from "./types-CG9uGPBL.mjs";
|
|
6
6
|
import { _ as MediaValue, n as generatePlaceholder, r as normalizeMediaValue, t as PlaceholderData } from "./placeholder-CjKwIO3g.mjs";
|
|
7
7
|
import { n as getMigrationStatus, t as MigrationStatus } from "./runner-DlkOiguI.mjs";
|
|
@@ -16,7 +16,7 @@ import { a as ListOptions, c as S3StorageConfig, d as Storage, f as StorageDescr
|
|
|
16
16
|
import "./scheduled-publish-7kZkKw7t.mjs";
|
|
17
17
|
import { c as I18nConfig, d as isI18nEnabled, l as getFallbackChain, n as resolveContentUrl, t as ResolveContentUrlInput, u as getI18nConfig } from "./public-url-CvNSyMJJ.mjs";
|
|
18
18
|
import { C as SiteSettingKey, S as SeoSettings, _ as SeedTaxonomyTerm, a as applySeed, b as ValidationResult, c as SeedCollection, d as SeedFile, f as SeedMenu, g as SeedTaxonomy, l as SeedContentEntry, o as SeedApplyOptions, p as SeedMenuItem, s as SeedApplyResult, t as validateSeed, u as SeedField, v as SeedWidget, w as SiteSettings, x as MediaReference, y as SeedWidgetArea } from "./validate-CleBZbkv.mjs";
|
|
19
|
-
import "./byline-fields-
|
|
19
|
+
import "./byline-fields-LAgJ9PSU.mjs";
|
|
20
20
|
import { DinewayRequestContext, getRequestContext, runWithContext } from "./request-context.mjs";
|
|
21
21
|
import { adaptSandboxEntry } from "./plugins/adapt-sandbox-entry.mjs";
|
|
22
22
|
import { S as UrlInput, _ as SourceAuth, a as FileInput, b as SourceProbeResult, c as ImportContext, d as ImportSource, f as NormalizedItem, g as ProbeResult, h as PostTypeMapping, i as FieldCompatibility, l as ImportFieldDef, m as PostTypeAnalysis, n as CollectionSchemaStatus, o as ImportAnalysis, p as OAuthInput, r as FetchOptions, s as ImportConfig, t as AttachmentInfo, u as ImportResult, v as SourceCapabilities, x as SuggestedAction, y as SourceInput } from "./types-BuplUVZ4.mjs";
|