dineway 0.2.18 → 0.2.19

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.
Files changed (118) hide show
  1. package/dist/api/route-utils.d.mts +3 -3
  2. package/dist/api/route-utils.mjs +2 -2
  3. package/dist/api/schemas/index.d.mts +1 -1
  4. package/dist/{api-WHmNmpqG.mjs → api-C8IpJnQ7.mjs} +2 -2
  5. package/dist/{apply-DVzjrW34.mjs → apply-C0v5UKOI.mjs} +6 -6
  6. package/dist/astro/index.d.mts +2 -2
  7. package/dist/astro/index.mjs +1 -1
  8. package/dist/astro/middleware/auth.d.mts +2 -2
  9. package/dist/astro/middleware.mjs +15 -15
  10. package/dist/astro/routes/api/admin/bylines/_id_/index.mjs +1 -1
  11. package/dist/astro/routes/api/admin/bylines/_id_/translations.mjs +1 -1
  12. package/dist/astro/routes/api/admin/bylines/index.mjs +1 -1
  13. package/dist/astro/routes/api/admin/context/_id_/history.mjs +3 -3
  14. package/dist/astro/routes/api/admin/context/_id_/index.mjs +3 -3
  15. package/dist/astro/routes/api/admin/context/_id_/review.mjs +3 -3
  16. package/dist/astro/routes/api/admin/context/_id_/supersede.mjs +3 -3
  17. package/dist/astro/routes/api/admin/context/diff.mjs +3 -3
  18. package/dist/astro/routes/api/admin/context/index.mjs +3 -3
  19. package/dist/astro/routes/api/admin/context/stale.mjs +3 -3
  20. package/dist/astro/routes/api/admin/hitl-requests/_id_/index.mjs +4 -4
  21. package/dist/astro/routes/api/admin/hitl-requests/_id_/resolve.mjs +4 -4
  22. package/dist/astro/routes/api/admin/hitl-requests/index.mjs +4 -4
  23. package/dist/astro/routes/api/admin/hooks/exclusive/_hookName_.mjs +3 -3
  24. package/dist/astro/routes/api/admin/plugins/_id_/disable.mjs +7 -7
  25. package/dist/astro/routes/api/admin/plugins/_id_/enable.mjs +7 -7
  26. package/dist/astro/routes/api/admin/plugins/_id_/index.mjs +5 -5
  27. package/dist/astro/routes/api/admin/plugins/_id_/uninstall.mjs +7 -7
  28. package/dist/astro/routes/api/admin/plugins/_id_/update.mjs +7 -7
  29. package/dist/astro/routes/api/admin/plugins/index.mjs +5 -5
  30. package/dist/astro/routes/api/admin/plugins/marketplace/_id_/index.mjs +5 -5
  31. package/dist/astro/routes/api/admin/plugins/marketplace/_id_/install.mjs +7 -7
  32. package/dist/astro/routes/api/admin/plugins/marketplace/index.mjs +5 -5
  33. package/dist/astro/routes/api/admin/plugins/updates.mjs +5 -5
  34. package/dist/astro/routes/api/admin/review-requests/_id_/resolve.mjs +2 -2
  35. package/dist/astro/routes/api/admin/review-requests/index.mjs +2 -2
  36. package/dist/astro/routes/api/admin/themes/marketplace/_id_/index.mjs +5 -5
  37. package/dist/astro/routes/api/admin/themes/marketplace/index.mjs +5 -5
  38. package/dist/astro/routes/api/content/_collection_/_id_/terms/_taxonomy_.mjs +2 -2
  39. package/dist/astro/routes/api/dashboard.mjs +2 -2
  40. package/dist/astro/routes/api/health.mjs +1 -1
  41. package/dist/astro/routes/api/import/probe.mjs +2 -2
  42. package/dist/astro/routes/api/import/wordpress/execute.d.mts +2 -2
  43. package/dist/astro/routes/api/import/wordpress/execute.mjs +5 -5
  44. package/dist/astro/routes/api/import/wordpress/media.d.mts +2 -2
  45. package/dist/astro/routes/api/import/wordpress/prepare.mjs +3 -3
  46. package/dist/astro/routes/api/import/wordpress/rewrite-urls.d.mts +2 -2
  47. package/dist/astro/routes/api/import/wordpress/rewrite-urls.mjs +3 -3
  48. package/dist/astro/routes/api/import/wordpress-plugin/analyze.mjs +2 -2
  49. package/dist/astro/routes/api/import/wordpress-plugin/execute.d.mts +2 -2
  50. package/dist/astro/routes/api/import/wordpress-plugin/execute.mjs +6 -6
  51. package/dist/astro/routes/api/manifest.mjs +1 -1
  52. package/dist/astro/routes/api/mcp.mjs +11 -11
  53. package/dist/astro/routes/api/menus/_name_/items/_id_.mjs +3 -3
  54. package/dist/astro/routes/api/menus/_name_/items.mjs +3 -3
  55. package/dist/astro/routes/api/menus/_name_/reorder.mjs +3 -3
  56. package/dist/astro/routes/api/menus/_name_/translations.mjs +3 -3
  57. package/dist/astro/routes/api/menus/_name_.mjs +3 -3
  58. package/dist/astro/routes/api/menus/index.mjs +3 -3
  59. package/dist/astro/routes/api/openapi.json.mjs +1 -1
  60. package/dist/astro/routes/api/redirects/_id_.mjs +3 -3
  61. package/dist/astro/routes/api/redirects/index.mjs +3 -3
  62. package/dist/astro/routes/api/schema/collections/_slug_/fields/_fieldSlug_.mjs +5 -5
  63. package/dist/astro/routes/api/schema/collections/_slug_/fields/index.mjs +5 -5
  64. package/dist/astro/routes/api/schema/collections/_slug_/fields/reorder.mjs +5 -5
  65. package/dist/astro/routes/api/schema/collections/_slug_/index.mjs +5 -5
  66. package/dist/astro/routes/api/schema/collections/index.mjs +5 -5
  67. package/dist/astro/routes/api/schema/orphans/_slug_.mjs +5 -5
  68. package/dist/astro/routes/api/schema/orphans/index.mjs +5 -5
  69. package/dist/astro/routes/api/sections/_slug_.mjs +3 -3
  70. package/dist/astro/routes/api/sections/index.mjs +3 -3
  71. package/dist/astro/routes/api/settings.mjs +3 -3
  72. package/dist/astro/routes/api/setup/dev-bypass.mjs +2 -2
  73. package/dist/astro/routes/api/setup/index.mjs +2 -2
  74. package/dist/astro/routes/api/taxonomies/_name_/terms/_slug_/translations.mjs +5 -5
  75. package/dist/astro/routes/api/taxonomies/_name_/terms/_slug_.mjs +5 -5
  76. package/dist/astro/routes/api/taxonomies/_name_/terms/index.mjs +5 -5
  77. package/dist/astro/routes/api/taxonomies/index.mjs +5 -5
  78. package/dist/astro/routes/api/well-known/auth.mjs +1 -1
  79. package/dist/astro/routes/api/widget-areas/_name_/reorder.mjs +3 -3
  80. package/dist/astro/routes/api/widget-areas/_name_/widgets/_id_.mjs +3 -3
  81. package/dist/astro/routes/api/widget-areas/_name_/widgets.mjs +3 -3
  82. package/dist/astro/routes/api/widget-areas/_name_.mjs +3 -3
  83. package/dist/astro/routes/api/widget-areas/index.mjs +3 -3
  84. package/dist/astro/types.d.mts +2 -2
  85. package/dist/{byline-fields-CvDQ1-Pc.d.mts → byline-fields-DEQ1wcUa.d.mts} +21 -21
  86. package/dist/{bylines-C0_OM-j7.mjs → bylines-CMKhrSEg.mjs} +1 -1
  87. package/dist/cli/index.mjs +3 -3
  88. package/dist/cli/plugin-kit.d.mts +2 -2
  89. package/dist/client/index.d.mts +2 -2
  90. package/dist/{content-Bcc5EuBd.mjs → content-Bturdi4b.mjs} +17 -4
  91. package/dist/{context-BAwRf_HZ.mjs → context-B6HQWp5l.mjs} +1 -1
  92. package/dist/{context-B5JARj31.mjs → context-CB4PwkM_.mjs} +1 -1
  93. package/dist/{dashboard-DzRtxjvh.mjs → dashboard-DP4dxA1S.mjs} +1 -1
  94. package/dist/{hitl-requests-Dx7-uhhf.mjs → hitl-requests-BAE_3YMO.mjs} +1 -1
  95. package/dist/{hitl-route-helpers-QLIFTS4A.mjs → hitl-route-helpers-BkX6pLBa.mjs} +1 -1
  96. package/dist/{import-8NZkj7sn.mjs → import-CJm91blH.mjs} +1 -1
  97. package/dist/index.d.mts +2 -2
  98. package/dist/index.mjs +13 -13
  99. package/dist/{jsonld-Bxwy2-Pf.d.mts → jsonld-BS1v8xeZ.d.mts} +1 -1
  100. package/dist/{mcp-reviewed-executor-t062vgk9.mjs → mcp-reviewed-executor-DaIhmgOW.mjs} +1 -1
  101. package/dist/media/local-runtime.d.mts +2 -2
  102. package/dist/page/index.d.mts +3 -3
  103. package/dist/plugin-utils.d.mts +2 -2
  104. package/dist/plugins/adapt-sandbox-entry.d.mts +2 -2
  105. package/dist/{plugins-BLe_eCRU.mjs → plugins-BVSrX4gZ.mjs} +1 -1
  106. package/dist/{public-url-DqINdFEz.d.mts → public-url-CoGGAgPW.d.mts} +1 -1
  107. package/dist/{query-B-mlR0rL.mjs → query-DTGsFOQu.mjs} +4 -4
  108. package/dist/runtime.d.mts +2 -2
  109. package/dist/seed/index.mjs +2 -2
  110. package/dist/{site-context-DxK-vTzx.mjs → site-context-BSw2bNdG.mjs} +1 -1
  111. package/dist/{taxonomies-BvfF27jR.mjs → taxonomies-B5jTGXEC.mjs} +1 -1
  112. package/dist/{taxonomies-BwLsU1Vl.mjs → taxonomies-DkMW6kj5.mjs} +1 -1
  113. package/dist/{types-CGyFRAiS.d.mts → types-CnuliyMS.d.mts} +3 -2
  114. package/dist/ui/server-runtime.d.mts +4 -4
  115. package/dist/ui/server-runtime.mjs +2 -2
  116. package/dist/version-wVceh475.mjs +6 -0
  117. package/package.json +5 -5
  118. package/dist/version-BJmOrRf0.mjs +0 -6
@@ -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<10 | 20 | 30 | 40 | 50, unknown, z.core.$ZodTypeInternals<10 | 20 | 30 | 40 | 50, unknown>>;
7
+ declare const roleLevel: z.ZodCoercedNumber<unknown> & z.ZodType<20 | 50 | 10 | 30 | 40, unknown, z.core.$ZodTypeInternals<20 | 50 | 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>;
@@ -846,9 +846,9 @@ declare const createFieldBody: z.ZodObject<{
846
846
  string: "string";
847
847
  number: "number";
848
848
  boolean: "boolean";
849
+ file: "file";
849
850
  json: "json";
850
851
  url: "url";
851
- file: "file";
852
852
  slug: "slug";
853
853
  image: "image";
854
854
  datetime: "datetime";
@@ -904,9 +904,9 @@ declare const updateFieldBody: z.ZodObject<{
904
904
  string: "string";
905
905
  number: "number";
906
906
  boolean: "boolean";
907
+ file: "file";
907
908
  json: "json";
908
909
  url: "url";
909
- file: "file";
910
910
  slug: "slug";
911
911
  image: "image";
912
912
  datetime: "datetime";
@@ -993,9 +993,9 @@ declare const fieldSchema: z.ZodObject<{
993
993
  string: "string";
994
994
  number: "number";
995
995
  boolean: "boolean";
996
+ file: "file";
996
997
  json: "json";
997
998
  url: "url";
998
- file: "file";
999
999
  slug: "slug";
1000
1000
  image: "image";
1001
1001
  datetime: "datetime";
@@ -1058,9 +1058,9 @@ declare const collectionWithFieldsResponseSchema: z.ZodObject<{
1058
1058
  string: "string";
1059
1059
  number: "number";
1060
1060
  boolean: "boolean";
1061
+ file: "file";
1061
1062
  json: "json";
1062
1063
  url: "url";
1063
- file: "file";
1064
1064
  slug: "slug";
1065
1065
  image: "image";
1066
1066
  datetime: "datetime";
@@ -1112,9 +1112,9 @@ declare const fieldResponseSchema: z.ZodObject<{
1112
1112
  string: "string";
1113
1113
  number: "number";
1114
1114
  boolean: "boolean";
1115
+ file: "file";
1115
1116
  json: "json";
1116
1117
  url: "url";
1117
- file: "file";
1118
1118
  slug: "slug";
1119
1119
  image: "image";
1120
1120
  datetime: "datetime";
@@ -1149,9 +1149,9 @@ declare const fieldListResponseSchema: z.ZodObject<{
1149
1149
  string: "string";
1150
1150
  number: "number";
1151
1151
  boolean: "boolean";
1152
+ file: "file";
1152
1153
  json: "json";
1153
1154
  url: "url";
1154
- file: "file";
1155
1155
  slug: "slug";
1156
1156
  image: "image";
1157
1157
  datetime: "datetime";
@@ -1204,8 +1204,8 @@ declare const createReactionBody: z.ZodObject<{
1204
1204
  }, z.core.$strip>;
1205
1205
  declare const commentStatusBody: z.ZodObject<{
1206
1206
  status: z.ZodEnum<{
1207
- pending: "pending";
1208
1207
  approved: "approved";
1208
+ pending: "pending";
1209
1209
  spam: "spam";
1210
1210
  trash: "trash";
1211
1211
  }>;
@@ -1221,8 +1221,8 @@ declare const commentBulkBody: z.ZodObject<{
1221
1221
  }, z.core.$strip>;
1222
1222
  declare const commentListQuery: z.ZodObject<{
1223
1223
  status: z.ZodOptional<z.ZodEnum<{
1224
- pending: "pending";
1225
1224
  approved: "approved";
1225
+ pending: "pending";
1226
1226
  spam: "spam";
1227
1227
  trash: "trash";
1228
1228
  }>>;
@@ -1257,8 +1257,8 @@ declare const commentSchema: z.ZodObject<{
1257
1257
  authorEmail: z.ZodString;
1258
1258
  body: z.ZodString;
1259
1259
  status: z.ZodEnum<{
1260
- pending: "pending";
1261
1260
  approved: "approved";
1261
+ pending: "pending";
1262
1262
  spam: "spam";
1263
1263
  trash: "trash";
1264
1264
  }>;
@@ -1290,8 +1290,8 @@ declare const adminCommentListResponseSchema: z.ZodObject<{
1290
1290
  authorEmail: z.ZodString;
1291
1291
  body: z.ZodString;
1292
1292
  status: z.ZodEnum<{
1293
- pending: "pending";
1294
1293
  approved: "approved";
1294
+ pending: "pending";
1295
1295
  spam: "spam";
1296
1296
  trash: "trash";
1297
1297
  }>;
@@ -1365,7 +1365,6 @@ declare const contextEntryDiffQuery: z.ZodObject<{
1365
1365
  declare const contextEntryCreateBody: z.ZodObject<{
1366
1366
  scope: z.ZodString;
1367
1367
  contextType: z.ZodEnum<{
1368
- decision: "decision";
1369
1368
  brand_voice: "brand_voice";
1370
1369
  seo_strategy: "seo_strategy";
1371
1370
  audience: "audience";
@@ -1375,6 +1374,7 @@ declare const contextEntryCreateBody: z.ZodObject<{
1375
1374
  migration_note: "migration_note";
1376
1375
  plugin_note: "plugin_note";
1377
1376
  agent_reasoning: "agent_reasoning";
1377
+ decision: "decision";
1378
1378
  risk: "risk";
1379
1379
  content_gap: "content_gap";
1380
1380
  style_exception: "style_exception";
@@ -1389,7 +1389,6 @@ declare const contextEntryCreateBody: z.ZodObject<{
1389
1389
  declare const contextEntrySupersedeBody: z.ZodObject<{
1390
1390
  scope: z.ZodOptional<z.ZodString>;
1391
1391
  contextType: z.ZodOptional<z.ZodEnum<{
1392
- decision: "decision";
1393
1392
  brand_voice: "brand_voice";
1394
1393
  seo_strategy: "seo_strategy";
1395
1394
  audience: "audience";
@@ -1399,6 +1398,7 @@ declare const contextEntrySupersedeBody: z.ZodObject<{
1399
1398
  migration_note: "migration_note";
1400
1399
  plugin_note: "plugin_note";
1401
1400
  agent_reasoning: "agent_reasoning";
1401
+ decision: "decision";
1402
1402
  risk: "risk";
1403
1403
  content_gap: "content_gap";
1404
1404
  style_exception: "style_exception";
@@ -1431,8 +1431,8 @@ declare const siteBriefingQuery: z.ZodObject<{
1431
1431
  //#region src/api/schemas/hitl-requests.d.ts
1432
1432
  declare const hitlRequestListQuery: z.ZodObject<{
1433
1433
  status: z.ZodOptional<z.ZodEnum<{
1434
- pending: "pending";
1435
1434
  approved: "approved";
1435
+ pending: "pending";
1436
1436
  rejected: "rejected";
1437
1437
  }>>;
1438
1438
  priority: z.ZodOptional<z.ZodEnum<{
@@ -1465,8 +1465,8 @@ declare const reviewRequestCreateBody: z.ZodObject<{
1465
1465
  }, z.core.$strip>;
1466
1466
  declare const reviewRequestListQuery: 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
  collection: z.ZodOptional<z.ZodString>;
@@ -1514,7 +1514,7 @@ declare const signupCompleteBody: z.ZodObject<{
1514
1514
  }, z.core.$strip>;
1515
1515
  declare const inviteCreateBody: z.ZodObject<{
1516
1516
  email: z.ZodString;
1517
- role: z.ZodOptional<z.ZodCoercedNumber<unknown> & z.ZodType<10 | 20 | 30 | 40 | 50, unknown, z.core.$ZodTypeInternals<10 | 20 | 30 | 40 | 50, unknown>>>;
1517
+ role: z.ZodOptional<z.ZodCoercedNumber<unknown> & z.ZodType<20 | 50 | 10 | 30 | 40, unknown, z.core.$ZodTypeInternals<20 | 50 | 10 | 30 | 40, unknown>>>;
1518
1518
  }, z.core.$strip>;
1519
1519
  declare const inviteCompleteBody: z.ZodObject<{
1520
1520
  token: z.ZodString;
@@ -1606,9 +1606,9 @@ declare const authMeActionBody: z.ZodObject<{
1606
1606
  * from `referenceCollection` + `referenceId` (a translation_group id).
1607
1607
  */
1608
1608
  declare const menuItemTypeEnum: z.ZodEnum<{
1609
+ custom: "custom";
1609
1610
  collection: "collection";
1610
1611
  taxonomy: "taxonomy";
1611
- custom: "custom";
1612
1612
  page: "page";
1613
1613
  post: "post";
1614
1614
  }>;
@@ -1623,9 +1623,9 @@ declare const updateMenuBody: z.ZodObject<{
1623
1623
  }, z.core.$strict>;
1624
1624
  declare const createMenuItemBody: z.ZodObject<{
1625
1625
  type: z.ZodEnum<{
1626
+ custom: "custom";
1626
1627
  collection: "collection";
1627
1628
  taxonomy: "taxonomy";
1628
- custom: "custom";
1629
1629
  page: "page";
1630
1630
  post: "post";
1631
1631
  }>;
@@ -2066,15 +2066,15 @@ declare const usersListQuery: z.ZodObject<{
2066
2066
  declare const userUpdateBody: z.ZodObject<{
2067
2067
  name: z.ZodOptional<z.ZodString>;
2068
2068
  email: z.ZodOptional<z.ZodString>;
2069
- role: z.ZodOptional<z.ZodCoercedNumber<unknown> & z.ZodType<10 | 20 | 30 | 40 | 50, unknown, z.core.$ZodTypeInternals<10 | 20 | 30 | 40 | 50, unknown>>>;
2069
+ role: z.ZodOptional<z.ZodCoercedNumber<unknown> & z.ZodType<20 | 50 | 10 | 30 | 40, unknown, z.core.$ZodTypeInternals<20 | 50 | 10 | 30 | 40, unknown>>>;
2070
2070
  }, z.core.$strip>;
2071
2071
  declare const allowedDomainCreateBody: z.ZodObject<{
2072
2072
  domain: z.ZodString;
2073
- defaultRole: z.ZodCoercedNumber<unknown> & z.ZodType<10 | 20 | 30 | 40 | 50, unknown, z.core.$ZodTypeInternals<10 | 20 | 30 | 40 | 50, unknown>>;
2073
+ defaultRole: z.ZodCoercedNumber<unknown> & z.ZodType<20 | 50 | 10 | 30 | 40, unknown, z.core.$ZodTypeInternals<20 | 50 | 10 | 30 | 40, unknown>>;
2074
2074
  }, z.core.$strip>;
2075
2075
  declare const allowedDomainUpdateBody: z.ZodObject<{
2076
2076
  enabled: z.ZodOptional<z.ZodBoolean>;
2077
- defaultRole: z.ZodOptional<z.ZodCoercedNumber<unknown> & z.ZodType<10 | 20 | 30 | 40 | 50, unknown, z.core.$ZodTypeInternals<10 | 20 | 30 | 40 | 50, unknown>>>;
2077
+ defaultRole: z.ZodOptional<z.ZodCoercedNumber<unknown> & z.ZodType<20 | 50 | 10 | 30 | 40, unknown, z.core.$ZodTypeInternals<20 | 50 | 10 | 30 | 40, unknown>>>;
2078
2078
  }, z.core.$strip>;
2079
2079
  declare const userSchema: z.ZodObject<{
2080
2080
  id: z.ZodString;
@@ -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-B-mlR0rL.mjs").then((n) => n.o);
187
+ const { getDinewayCollection } = await import("./query-DTGsFOQu.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 } : {},
@@ -9,7 +9,7 @@ import "../types-al8YMHdF.mjs";
9
9
  import { o as isMissingTableError } from "../loader-DtE00Fml.mjs";
10
10
  import "../object-cache-D51qOseS.mjs";
11
11
  import { n as slugify } from "../slugify-KSsVD_D3.mjs";
12
- import { t as ContentRepository } from "../content-Bcc5EuBd.mjs";
12
+ import { t as ContentRepository } from "../content-Bturdi4b.mjs";
13
13
  import { t as MediaRepository } from "../media-BXbOL8xv.mjs";
14
14
  import { t as TaxonomyRepository } from "../taxonomy-C-Aqi1cF.mjs";
15
15
  import { t as OptionsRepository } from "../options-DQPTH5n0.mjs";
@@ -22,13 +22,13 @@ import "../content-refresh-C4YoqoNs.mjs";
22
22
  import "../fts-manager-6KClQEs0.mjs";
23
23
  import { n as SchemaRegistry } from "../registry-c51Wf_AZ.mjs";
24
24
  import "../settings-DcwHL9mx.mjs";
25
- import { n as VERSION } from "../version-BJmOrRf0.mjs";
25
+ import { n as VERSION } from "../version-wVceh475.mjs";
26
26
  import { i as parseEncryptionKeys, n as fingerprintKey, r as generateEncryptionKey, t as DinewaySecretsError } from "../secrets-CpGpyGcO.mjs";
27
27
  import { t as IntegrationCredentialStore } from "../store-CCfMD6nw.mjs";
28
28
  import { a as reconcileManifestAccess, i as pluginManifestSchema } from "../manifest-schema-DKa3ZaJL.mjs";
29
29
  import { n as resolveAndValidateExternalUrl, t as SsrfError } from "../ssrf-BZHvtFEv.mjs";
30
30
  import { t as validateSeed } from "../validate-hHdBXn4U.mjs";
31
- import { t as applySeed } from "../apply-DVzjrW34.mjs";
31
+ import { t as applySeed } from "../apply-C0v5UKOI.mjs";
32
32
  import { _ as readForgewayCredentials, a as InvalidForgewayAccountCredentialsError, c as getForgewayDinewayAccount, d as normalizeForgewayEmail, f as readStoredForgewayAccount, g as listForgewayCredentials, h as sendForgewayAccountLoginLink, i as DEFAULT_FORGEWAY_API_BASE_URL, l as normalizeDinewayWebUrl, m as removeStoredForgewayAccount, n as DinewayToolsService, o as completeForgewayAccountLogin, p as refreshForgewayAccountCredentials, r as DEFAULT_DINEWAY_WEB_URL, s as createForgewayAccountClient, t as DinewayToolsError, u as normalizeForgewayApiUrl, v as writeForgewayCredentials } from "../service-DbHMAoiN.mjs";
33
33
  import { n as output, t as configureOutputMode } from "../output-BbqsKnS_.mjs";
34
34
  import { createHeaderAwareFetch, isRedirectResponse, resolveCustomHeaders } from "../client/external-auth-headers.mjs";
@@ -1,10 +1,10 @@
1
- import "../types-CGyFRAiS.mjs";
1
+ import "../types-CnuliyMS.mjs";
2
2
  import "../types-BFeoAIHl.mjs";
3
3
  import "../runner-Bcy5w0vj.mjs";
4
4
  import "../index-DybFmYtZ.mjs";
5
5
  import "../types-S9VIopdY.mjs";
6
6
  import "../validate-YiX3rly5.mjs";
7
- import "../byline-fields-CvDQ1-Pc.mjs";
7
+ import "../byline-fields-DEQ1wcUa.mjs";
8
8
  import "../types-BsTXSvKG.mjs";
9
9
  import { DinewayClient, PluginRequestOptions } from "../client/index.mjs";
10
10
  import { SubCommandsDef } from "citty";
@@ -1,10 +1,10 @@
1
- import { Bt as PublicationPolicyOverride, Gt as PublicationReadinessResult, qt as PublicationReceipt } from "../types-CGyFRAiS.mjs";
1
+ import { Bt as PublicationPolicyOverride, Gt as PublicationReadinessResult, qt as PublicationReceipt } from "../types-CnuliyMS.mjs";
2
2
  import "../types-BFeoAIHl.mjs";
3
3
  import "../runner-Bcy5w0vj.mjs";
4
4
  import "../index-DybFmYtZ.mjs";
5
5
  import "../types-S9VIopdY.mjs";
6
6
  import "../validate-YiX3rly5.mjs";
7
- import "../byline-fields-CvDQ1-Pc.mjs";
7
+ import "../byline-fields-DEQ1wcUa.mjs";
8
8
  import "../types-BsTXSvKG.mjs";
9
9
  import { a as tokenInterceptor, i as devBypassInterceptor, n as createTransport, r as csrfInterceptor, t as Interceptor } from "../transport-CXkC1F2Z.mjs";
10
10
  import { n as markdownToPortableText, r as portableTextToMarkdown, t as PortableTextBlock } from "../portable-text-BYUu-wtj.mjs";
@@ -75,12 +75,25 @@ var RevisionRepository = class {
75
75
  return Number(result.numDeletedRows ?? 0);
76
76
  }
77
77
  /**
78
- * Delete old revisions, keeping the most recent N
78
+ * Delete old revisions, keeping the most recent N and any revisions
79
+ * referenced by the content entry's live or draft pointers.
79
80
  */
80
81
  async pruneOldRevisions(collection, entryId, keepCount) {
81
- const keepIds = (await this.db.selectFrom("revisions").select("id").where("collection", "=", collection).where("entry_id", "=", entryId).orderBy("created_at", "desc").orderBy("id", "desc").limit(keepCount).execute()).map((r) => r.id);
82
- if (keepIds.length === 0) return 0;
83
- const result = await this.db.deleteFrom("revisions").where("collection", "=", collection).where("entry_id", "=", entryId).where("id", "not in", keepIds).executeTakeFirst();
82
+ const keep = await this.db.selectFrom("revisions").select("id").where("collection", "=", collection).where("entry_id", "=", entryId).orderBy("created_at", "desc").orderBy("id", "desc").limit(keepCount).execute();
83
+ const keepIds = new Set(keep.map((r) => r.id));
84
+ if (keepIds.size === 0) return 0;
85
+ if (await this.db.selectFrom("_dineway_collections").select("slug").where("slug", "=", collection).executeTakeFirst()) {
86
+ validateIdentifier(collection, "collection slug");
87
+ const tableName = `ec_${collection}`;
88
+ const row = (await sql`
89
+ SELECT live_revision_id, draft_revision_id
90
+ FROM ${sql.ref(tableName)}
91
+ WHERE id = ${entryId}
92
+ `.execute(this.db)).rows[0];
93
+ if (row?.live_revision_id) keepIds.add(row.live_revision_id);
94
+ if (row?.draft_revision_id) keepIds.add(row.draft_revision_id);
95
+ }
96
+ const result = await this.db.deleteFrom("revisions").where("collection", "=", collection).where("entry_id", "=", entryId).where("id", "not in", [...keepIds]).executeTakeFirst();
84
97
  return Number(result.numDeletedRows ?? 0);
85
98
  }
86
99
  /**
@@ -1,4 +1,4 @@
1
- import { _ as toPublicContextDiff, v as toPublicContextEntry, y as toPublicContextEntryPage } from "./site-context-DxK-vTzx.mjs";
1
+ import { _ as toPublicContextDiff, v as toPublicContextEntry, y as toPublicContextEntryPage } from "./site-context-BSw2bNdG.mjs";
2
2
  import { a as ContextRepository, i as parseSiteBriefingScope, n as SiteBriefingError } from "./briefing-DiJir0Ev.mjs";
3
3
 
4
4
  //#region src/api/handlers/context.ts
@@ -1,7 +1,7 @@
1
1
  import { n as validateJsonFieldName } from "./validate-VPnKoIzW.mjs";
2
2
  import { c as jsonExtractExpr } from "./dialect-helpers-fk43GbDb.mjs";
3
3
  import { i as encodeCursor, r as decodeCursor } from "./types-al8YMHdF.mjs";
4
- import { t as ContentRepository } from "./content-Bcc5EuBd.mjs";
4
+ import { t as ContentRepository } from "./content-Bturdi4b.mjs";
5
5
  import { t as MediaRepository } from "./media-BXbOL8xv.mjs";
6
6
  import { t as UserRepository } from "./user-Ldseid1x.mjs";
7
7
  import { t as OptionsRepository } from "./options-DQPTH5n0.mjs";
@@ -1,5 +1,5 @@
1
1
  import { t as validateIdentifier } from "./validate-VPnKoIzW.mjs";
2
- import { t as ContentRepository } from "./content-Bcc5EuBd.mjs";
2
+ import { t as ContentRepository } from "./content-Bturdi4b.mjs";
3
3
  import { t as MediaRepository } from "./media-BXbOL8xv.mjs";
4
4
  import { t as UserRepository } from "./user-Ldseid1x.mjs";
5
5
  import { t as ReviewRequestRepository } from "./review-requests-B9NfBTCJ.mjs";
@@ -1,4 +1,4 @@
1
- import { b as HitlRequestService } from "./site-context-DxK-vTzx.mjs";
1
+ import { b as HitlRequestService } from "./site-context-BSw2bNdG.mjs";
2
2
  import { t as ExperimentalSiteContextWorkflowDisabledError } from "./experimental-workflows-CgO73K4e.mjs";
3
3
 
4
4
  //#region src/api/handlers/hitl-requests.ts
@@ -1,4 +1,4 @@
1
- import { t as WorkflowHitlCoordinator } from "./site-context-DxK-vTzx.mjs";
1
+ import { t as WorkflowHitlCoordinator } from "./site-context-BSw2bNdG.mjs";
2
2
  import { t as apiError } from "./error-BW9f_ynq.mjs";
3
3
  import { n as resolveActorIdentity } from "./actor-DA7yL9Yp.mjs";
4
4
  import { p as logSiteActivitySafely } from "./activity-events-iGYnf7TK.mjs";
@@ -3,7 +3,7 @@ import { t as TaxonomyRepository } from "./taxonomy-C-Aqi1cF.mjs";
3
3
  import { t as OptionsRepository } from "./options-DQPTH5n0.mjs";
4
4
  import { o as invalidateSiteSettingsCache } from "./settings-DcwHL9mx.mjs";
5
5
  import { i as resolveLocaleChain } from "./resolve-B6BpqwAR.mjs";
6
- import { l as invalidateTermCache } from "./taxonomies-BvfF27jR.mjs";
6
+ import { l as invalidateTermCache } from "./taxonomies-B5jTGXEC.mjs";
7
7
  import { n as parseWxrString } from "./parser-DX_c5iG3.mjs";
8
8
  import { a as validateExternalUrl, n as resolveAndValidateExternalUrl, r as ssrfSafeFetch } from "./ssrf-BZHvtFEv.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-B7gemXz5.mjs";
package/dist/index.d.mts CHANGED
@@ -1,6 +1,6 @@
1
1
  import { _ as UpdateFieldInput, a as ColumnType, d as FieldType, f as FieldValidation, g as UpdateCollectionInput, h as RESERVED_FIELD_SLUGS, i as CollectionWithFields, l as FIELD_TYPE_TO_COLUMN, m as RESERVED_COLLECTION_SLUGS, n as CollectionSource, o as CreateCollectionInput, p as FieldWidgetOptions, r as CollectionSupport, s as CreateFieldInput, t as Collection, u as Field } from "./types-ywmuDETA.mjs";
2
2
  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-GtwhHAg8.mjs";
3
- import { $ as PluginMcpCommandTool, $a as handleMediaUpdate, $i as getEditMeta, $n as getComments, $o as FieldDefinition, $r as ValidatedPluginManifest, $s as ListResponse, $t as getSearchStats, A as MediaUploadEvent, Aa as PortableTextSpan, Ai as invalidateBylineObjectCache, An as getTerm, Ao as handleContentAuthors, Ar as AssignmentService, As as ContentRepository, At as StandardHookEntry, B as PluginActor, Ba as Section, Bi as CacheHint, Bn as getMenu, Bo as handleContentList, Br as PublicationReleasePolicyDisposition, Bt as PublicationPolicyOverride, C as FieldWidgetConfig, Ca as portableTextToProsemirror, Ci as getI18nConfig, Cn as WidgetComponentDef, Co as PluginMcpTargetAuthorizer, Cr as VerifyPreviewTokenResult, Cs as SiteActivitySourceType, Ct as PortableTextBlockField, D as KVAccess, Da as PortableTextImageBlock, Di as cachedQuery, Dn as getTaxonomyDef, Dr as AssignmentAccessContext, Ds as CreateMediaInput, Dt as ResolvedPluginHooks, E as HttpAccess, Ea as PortableTextHtmlBlock, Ei as CachedQueryOptions, En as getEntryTerms, Er as verifyPreviewToken, Es as RevisionRepository, Et as ResolvedPlugin, F as PageMetadataContribution, Fa as ProseMirrorNode, Fi as invalidateSchemaObjectCache, Fn as TaxonomyTermRow, Fo as handleContentDelete, Fr as CreateHandoffSnapshotInput, Fs as WhereValue, Ft as StorageCollection, G as PluginAuthMethod, Ga as SchemaError, Gi as EditFieldMeta, Gn as MenuItem, Go as handleContentSchedule, Gr as SandboxNotAvailableError, H as PluginAdminConfig, Ha as UpdateSectionInput, Hi as CollectionResult, Hn as CreateMenuInput, Ho as handleContentPermanentDelete, Hr as NodeSandboxRunner, Ht as PublicationReadinessPolicyBlocker, I as PageMetadataEvent, Ia as getSection, Ii as invalidateTaxonomyObjectCache, In as UpdateTermInput, Io as handleContentDiscardDraft, Ir as HandoffSnapshot, J as PluginDefinition, Ja as MediaResponse, Ji as ResolvePathResult, Jn as UpdateMenuInput, Jo as handleContentUnschedule, Jr as createPluginManager, Jt as PublicationReleasePolicy, K as PluginCapability, Ka as SchemaRegistry, Ki as EntryResult, Kn as MenuItemType, Ko as handleContentTranslations, Kr as createNoopSandboxRunner, Kt as PublicationReadinessWarning, L as PageMetadataHandler, La as getSections, Li as isObjectCacheActive, Ln as getByline, Lo as handleContentDuplicate, Ls as getDb, Lt as StoredComment, M as PageFragmentContribution, Ma as PortableTextUnknownBlock, Mi as invalidateCommentObjectCache, Mn as CreateTermInput, Mo as handleContentCountScheduled, Mr as HandoffResumeResult, Ms as EntryData, Mt as StandardPluginDefinition, N as PageFragmentEvent, Na as ProseMirrorDocument, Ni as invalidateMenuObjectCache, Nn as TaxonomyDef, No as handleContentCountTrashed, Nr as HandoffSnapshotStore, Ns as EntryFilter, Nt as StandardRouteEntry, O as LogAccess, Oa as PortableTextLinkMark, Oi as contentNamespace, On as getTaxonomyDefs, Or as AssignmentActionInput, Os as MediaItem, Ot as ResolvedPluginMcpConfig, P as PageFragmentHandler, Pa as ProseMirrorMark, Pi as invalidateObjectCache, Pn as TaxonomyTerm, Po as handleContentCreate, Pr as ResumeHandoffSnapshotInput, Ps as WhereRange, Pt as StandardRouteHandler, Q as PluginMcpCommandPreview, Qa as handleMediaList, Qi as getDinewayEntry, Qn as getCommentCount, Qo as image, Qr as PluginSecretStoreOptions, Qs as FieldDescriptor, Qt as extractSearchableFields, Ra as CreateSectionInput, Ri as AfterCallback, Rn as getBylineBySlug, Ro as handleContentGet, Rr as BuiltContentReleasePayload, Rs as DatabaseConfig, Rt as isStandardPluginDefinition, S as EmailMessage, Sa as hashString, Si as getFallbackChain, Sn as WidgetArea, Sr as VerifyPreviewTokenOptions, Ss as SiteActivityResultStatus, St as PortableTextBlockConfig, T as HookName, Ta as PortableTextCodeBlock, Ti as CacheNamespace, Tn as getEntriesByTerm, To as PluginDescriptor, Tr as parseContentId, Tt as ResolvedHook, U as PluginAdminExports, Ua as validateContent, Ui as ContentEntry, Un as CreateMenuItemInput, Uo as handleContentPublish, Ur as createNodeSandboxRunner, Ut as PublicationReadinessPolicyFinding, V as PluginActorType, Va as SectionSource, Vi as CollectionFilter, Vn as getMenus, Vo as handleContentListTrashed, Vr as buildStableActionHash, Vt as PublicationReadinessBlocker, W as PluginAdminPage, Wa as getCollectionInfo, Wi as DinewayCollections, Wn as Menu, Wo as handleContentRestore, Wr as NoopSandboxRunner, Wt as PublicationReadinessPolicyTarget, X as PluginManifest, Xa as handleMediaDelete, Xi as TranslationsResult, Xn as GetCommentsOptions, Xo as portableText, Xr as PluginSecretStatus, Xs as ContentListResponse, Xt as currentTimestamp, Y as PluginHooks, Ya as handleMediaCreate, Yi as TranslationSummary, Yn as UpdateMenuItemInput, Yo as handleContentUpdate, Yr as createReviewedPluginMcpCommandExecutor, Ys as ApiContext, Yt as PublicationReleasePreparationTarget, Z as PluginMcpAuthorization, Za as handleMediaGet, Zi as getDinewayCollection, Zn as GetCommentsResult, Zo as reference, Zr as PluginSecretStore, Zs as ContentResponse, Zt as extractPlainText, _ as EmailAfterSendHandler, _a as RateLimitResult, _i as defaultPreviewSidecarClient, _n as CreateWidgetInput, _o as SandboxOptions, _r as GetPreviewUrlOptions, _s as MarkAssignmentsOverdueInput, _t as PluginRouteTargetAuthorizationRequest, a as CommentAfterModerateEvent, aa as createEditable, ai as FileSessionDatabaseFactory, an as CollectionSearchOptions, ao as generateManifest, ar as PreviewToolbarConfig, as as CreateRelationInput, at as PluginMcpResource, b as EmailDeliverEvent, ba as sanitizeHref, bi as verifyPreviewSignature, bn as UpdateWidgetInput, bo as SandboxedPlugin, br as GeneratePreviewTokenOptions, bs as SiteActivityActorType, bt as PluginStorageConfig, c as CommentBeforeCreateHandler, ca as GuestAccessTokenClaims, ci as SessionDatabaseFactory, cn as SearchResponse, co as SiteBriefingContextEntry, cr as ApplySnapshotToDatabaseOptions, cs as UpdateRelationInput, ct as PluginMcpRiskFactor, d as ContentAccess, da as IssuedGuestAccessToken, di as SessionDatabaseLimitError, dn as SuggestOptions, dr as getAppliedSnapshotMeta, ds as AssignmentActorType, dt as PluginMigration, ea as getTranslations, ec as ManifestResponse, ei as pluginManifestSchema, en as getSuggestions, eo as RevisionListResponse, er as getPluginSetting, es as FieldUIHints, et as PluginMcpConfig, f as ContentDeleteEvent, fa as VerifyGuestAccessTokenOptions, fi as SessionOpenOptions, fn as Suggestion, fo as HookPipeline, fr as Snapshot, fs as AssignmentListQuery, ft as PluginRoute, g as EmailAfterSendEvent, ga as verifyGuestAccessToken, gi as buildPreviewSignatureHeader, gn as CreateWidgetAreaInput, go as SandboxEmailSendCallback, gr as isPreviewRequest, gs as CreateAssignmentInput, gt as PluginRouteMethod, h as EmailAccess, ha as issueGuestAccessToken, hi as PreviewSidecarSignature, hn as getWidgetComponents, ho as SandboxEmailMessage, hr as getPreviewToken, hs as AssignmentStatus, ht as PluginRouteBodyMode, i as CommentAfterCreateHandler, ia as FieldAnnotation, ii as createFilePreviewMiddleware, in as FTSManager, io as handleRevisionRestore, ir as setSiteSettings, is as ContentReference, it as PluginMcpQueryTool, j as ModerationDecision, ja as PortableTextTextBlock, ji as invalidateCollectionCache, jn as getTermsForEntries, jo as handleContentCompare, jr as CreateWorkflowAssignmentInput, js as CollectionFilter$1, jt as StandardHookHandler, k as MediaAccess, ka as PortableTextMarkDef, ki as contentNamespaces, kn as getTaxonomyTerms, kr as AssignmentListInput, ks as MediaRepository, kt as RouteContext, l as CommentModerateEvent, la as GuestAccessTokenConfigurationError, li as SessionDatabaseHandle, ln as SearchResult, lr as applySnapshotToDatabase, ls as Assignment, lt as PluginMcpRiskLevel, m as ContentPublishStateChangeEvent, ma as hashGuestAccessToken, mi as PreviewSidecarClient, mn as getWidgetAreas, mo as createHookPipeline, mr as isBlockedInPreview, ms as AssignmentRepository, mt as PluginRouteAuthorization, n as CollectionCommentSettings, na as CMSAnnotation, ni as definePlugin, nn as searchCollection, no as handleRevisionGet, nr as getSiteSetting, ns as ImageValue, nt as PluginMcpPiiClass, o as CommentAfterModerateHandler, oa as createNoop, oi as FileSessionDatabaseFactoryOptions, on as SearchConfig, oo as SiteBriefing, or as renderPreviewToolbar, os as Relation, ot as PluginMcpResourceContent, p as ContentHookEvent, pa as VerifyGuestAccessTokenResult, pi as SessionOpenOrCreateOptions, pn as getWidgetArea, po as HookResult, pr as renderPreviewLoadingPage, ps as AssignmentPriority, q as PluginContext, qa as MediaListResponse, qi as InferCollectionData, qn as ReorderMenuItemsInput, qo as handleContentUnpublish, qr as PluginManager, r as CommentAfterCreateEvent, ra as EditProxy, ri as FilePreviewMiddlewareConfig, rn as searchWithDb, ro as handleRevisionList, rr as getSiteSettings, rs as PortableTextBlock, rt as PluginMcpPiiPolicy, s as CommentBeforeCreateEvent, sa as GuestAccessExpectedScope, si as SessionCleanupResult, sn as SearchOptions, so as SiteBriefingAssembler, sr as AppliedSnapshotMeta, ss as RelationRepository, st as PluginMcpReversibility, t as BreadcrumbItem, ta as resolveDinewayPath, ti as runPluginMigrations, tn as search, to as RevisionResponse, tr as getPluginSettings, ts as FileValue, tt as PluginMcpExecutionContext, u as CommentModerateHandler, ua as IssueGuestAccessTokenOptions, ui as SessionDatabaseInfo, un as SearchStats, uo as PluginRouteError, ur as dropSessionDatabaseTables, us as AssignmentActorRef, ut as PluginMcpTool, v as EmailBeforeSendEvent, va as checkRateLimit, vi as parsePreviewSignatureHeader, vn as PropDef, vo as SandboxRunner, vr as buildPreviewUrl, vs as CreateSiteActivityInput, vt as PluginRouteTargetAuthorizer, w as HookConfig, wa as prosemirrorToPortableText, wi as isI18nEnabled, wn as WidgetType, wr as generatePreviewToken, ws as SiteActivityTimelineQuery, wt as PublicPageContext, x as EmailDeliverHandler, xa as computeContentHash, xi as I18nConfig, xn as Widget, xo as SerializedRequest, xr as PreviewTokenPayload, xs as SiteActivityRepository, xt as PluginTargetScope, y as EmailBeforeSendHandler, ya as isSafeHref, yi as signPreviewUrl, yn as ReorderWidgetsInput, yo as SandboxRunnerFactory, yr as getPreviewUrl, ys as SiteActivity, yt as PluginRouteTargetContext, z as PagePlacement, za as GetSectionsOptions, zi as after, zn as getEntriesByByline, zo as handleContentGetIncludingTrashed, zr as PublicationReleasePolicyContribution, zs as DinewayDatabaseError } from "./types-CGyFRAiS.mjs";
3
+ import { $ as PluginMcpCommandTool, $a as handleMediaUpdate, $i as getEditMeta, $n as getComments, $o as FieldDefinition, $r as ValidatedPluginManifest, $s as ListResponse, $t as getSearchStats, A as MediaUploadEvent, Aa as PortableTextSpan, Ai as invalidateBylineObjectCache, An as getTerm, Ao as handleContentAuthors, Ar as AssignmentService, As as ContentRepository, At as StandardHookEntry, B as PluginActor, Ba as Section, Bi as CacheHint, Bn as getMenu, Bo as handleContentList, Br as PublicationReleasePolicyDisposition, Bt as PublicationPolicyOverride, C as FieldWidgetConfig, Ca as portableTextToProsemirror, Ci as getI18nConfig, Cn as WidgetComponentDef, Co as PluginMcpTargetAuthorizer, Cr as VerifyPreviewTokenResult, Cs as SiteActivitySourceType, Ct as PortableTextBlockField, D as KVAccess, Da as PortableTextImageBlock, Di as cachedQuery, Dn as getTaxonomyDef, Dr as AssignmentAccessContext, Ds as CreateMediaInput, Dt as ResolvedPluginHooks, E as HttpAccess, Ea as PortableTextHtmlBlock, Ei as CachedQueryOptions, En as getEntryTerms, Er as verifyPreviewToken, Es as RevisionRepository, Et as ResolvedPlugin, F as PageMetadataContribution, Fa as ProseMirrorNode, Fi as invalidateSchemaObjectCache, Fn as TaxonomyTermRow, Fo as handleContentDelete, Fr as CreateHandoffSnapshotInput, Fs as WhereValue, Ft as StorageCollection, G as PluginAuthMethod, Ga as SchemaError, Gi as EditFieldMeta, Gn as MenuItem, Go as handleContentSchedule, Gr as SandboxNotAvailableError, H as PluginAdminConfig, Ha as UpdateSectionInput, Hi as CollectionResult, Hn as CreateMenuInput, Ho as handleContentPermanentDelete, Hr as NodeSandboxRunner, Ht as PublicationReadinessPolicyBlocker, I as PageMetadataEvent, Ia as getSection, Ii as invalidateTaxonomyObjectCache, In as UpdateTermInput, Io as handleContentDiscardDraft, Ir as HandoffSnapshot, J as PluginDefinition, Ja as MediaResponse, Ji as ResolvePathResult, Jn as UpdateMenuInput, Jo as handleContentUnschedule, Jr as createPluginManager, Jt as PublicationReleasePolicy, K as PluginCapability, Ka as SchemaRegistry, Ki as EntryResult, Kn as MenuItemType, Ko as handleContentTranslations, Kr as createNoopSandboxRunner, Kt as PublicationReadinessWarning, L as PageMetadataHandler, La as getSections, Li as isObjectCacheActive, Ln as getByline, Lo as handleContentDuplicate, Ls as getDb, Lt as StoredComment, M as PageFragmentContribution, Ma as PortableTextUnknownBlock, Mi as invalidateCommentObjectCache, Mn as CreateTermInput, Mo as handleContentCountScheduled, Mr as HandoffResumeResult, Ms as EntryData, Mt as StandardPluginDefinition, N as PageFragmentEvent, Na as ProseMirrorDocument, Ni as invalidateMenuObjectCache, Nn as TaxonomyDef, No as handleContentCountTrashed, Nr as HandoffSnapshotStore, Ns as EntryFilter, Nt as StandardRouteEntry, O as LogAccess, Oa as PortableTextLinkMark, Oi as contentNamespace, On as getTaxonomyDefs, Or as AssignmentActionInput, Os as MediaItem, Ot as ResolvedPluginMcpConfig, P as PageFragmentHandler, Pa as ProseMirrorMark, Pi as invalidateObjectCache, Pn as TaxonomyTerm, Po as handleContentCreate, Pr as ResumeHandoffSnapshotInput, Ps as WhereRange, Pt as StandardRouteHandler, Q as PluginMcpCommandPreview, Qa as handleMediaList, Qi as getDinewayEntry, Qn as getCommentCount, Qo as image, Qr as PluginSecretStoreOptions, Qs as FieldDescriptor, Qt as extractSearchableFields, Ra as CreateSectionInput, Ri as AfterCallback, Rn as getBylineBySlug, Ro as handleContentGet, Rr as BuiltContentReleasePayload, Rs as DatabaseConfig, Rt as isStandardPluginDefinition, S as EmailMessage, Sa as hashString, Si as getFallbackChain, Sn as WidgetArea, Sr as VerifyPreviewTokenOptions, Ss as SiteActivityResultStatus, St as PortableTextBlockConfig, T as HookName, Ta as PortableTextCodeBlock, Ti as CacheNamespace, Tn as getEntriesByTerm, To as PluginDescriptor, Tr as parseContentId, Tt as ResolvedHook, U as PluginAdminExports, Ua as validateContent, Ui as ContentEntry, Un as CreateMenuItemInput, Uo as handleContentPublish, Ur as createNodeSandboxRunner, Ut as PublicationReadinessPolicyFinding, V as PluginActorType, Va as SectionSource, Vi as CollectionFilter, Vn as getMenus, Vo as handleContentListTrashed, Vr as buildStableActionHash, Vt as PublicationReadinessBlocker, W as PluginAdminPage, Wa as getCollectionInfo, Wi as DinewayCollections, Wn as Menu, Wo as handleContentRestore, Wr as NoopSandboxRunner, Wt as PublicationReadinessPolicyTarget, X as PluginManifest, Xa as handleMediaDelete, Xi as TranslationsResult, Xn as GetCommentsOptions, Xo as portableText, Xr as PluginSecretStatus, Xs as ContentListResponse, Xt as currentTimestamp, Y as PluginHooks, Ya as handleMediaCreate, Yi as TranslationSummary, Yn as UpdateMenuItemInput, Yo as handleContentUpdate, Yr as createReviewedPluginMcpCommandExecutor, Ys as ApiContext, Yt as PublicationReleasePreparationTarget, Z as PluginMcpAuthorization, Za as handleMediaGet, Zi as getDinewayCollection, Zn as GetCommentsResult, Zo as reference, Zr as PluginSecretStore, Zs as ContentResponse, Zt as extractPlainText, _ as EmailAfterSendHandler, _a as RateLimitResult, _i as defaultPreviewSidecarClient, _n as CreateWidgetInput, _o as SandboxOptions, _r as GetPreviewUrlOptions, _s as MarkAssignmentsOverdueInput, _t as PluginRouteTargetAuthorizationRequest, a as CommentAfterModerateEvent, aa as createEditable, ai as FileSessionDatabaseFactory, an as CollectionSearchOptions, ao as generateManifest, ar as PreviewToolbarConfig, as as CreateRelationInput, at as PluginMcpResource, b as EmailDeliverEvent, ba as sanitizeHref, bi as verifyPreviewSignature, bn as UpdateWidgetInput, bo as SandboxedPlugin, br as GeneratePreviewTokenOptions, bs as SiteActivityActorType, bt as PluginStorageConfig, c as CommentBeforeCreateHandler, ca as GuestAccessTokenClaims, ci as SessionDatabaseFactory, cn as SearchResponse, co as SiteBriefingContextEntry, cr as ApplySnapshotToDatabaseOptions, cs as UpdateRelationInput, ct as PluginMcpRiskFactor, d as ContentAccess, da as IssuedGuestAccessToken, di as SessionDatabaseLimitError, dn as SuggestOptions, dr as getAppliedSnapshotMeta, ds as AssignmentActorType, dt as PluginMigration, ea as getTranslations, ec as ManifestResponse, ei as pluginManifestSchema, en as getSuggestions, eo as RevisionListResponse, er as getPluginSetting, es as FieldUIHints, et as PluginMcpConfig, f as ContentDeleteEvent, fa as VerifyGuestAccessTokenOptions, fi as SessionOpenOptions, fn as Suggestion, fo as HookPipeline, fr as Snapshot, fs as AssignmentListQuery, ft as PluginRoute, g as EmailAfterSendEvent, ga as verifyGuestAccessToken, gi as buildPreviewSignatureHeader, gn as CreateWidgetAreaInput, go as SandboxEmailSendCallback, gr as isPreviewRequest, gs as CreateAssignmentInput, gt as PluginRouteMethod, h as EmailAccess, ha as issueGuestAccessToken, hi as PreviewSidecarSignature, hn as getWidgetComponents, ho as SandboxEmailMessage, hr as getPreviewToken, hs as AssignmentStatus, ht as PluginRouteBodyMode, i as CommentAfterCreateHandler, ia as FieldAnnotation, ii as createFilePreviewMiddleware, in as FTSManager, io as handleRevisionRestore, ir as setSiteSettings, is as ContentReference, it as PluginMcpQueryTool, j as ModerationDecision, ja as PortableTextTextBlock, ji as invalidateCollectionCache, jn as getTermsForEntries, jo as handleContentCompare, jr as CreateWorkflowAssignmentInput, js as CollectionFilter$1, jt as StandardHookHandler, k as MediaAccess, ka as PortableTextMarkDef, ki as contentNamespaces, kn as getTaxonomyTerms, kr as AssignmentListInput, ks as MediaRepository, kt as RouteContext, l as CommentModerateEvent, la as GuestAccessTokenConfigurationError, li as SessionDatabaseHandle, ln as SearchResult, lr as applySnapshotToDatabase, ls as Assignment, lt as PluginMcpRiskLevel, m as ContentPublishStateChangeEvent, ma as hashGuestAccessToken, mi as PreviewSidecarClient, mn as getWidgetAreas, mo as createHookPipeline, mr as isBlockedInPreview, ms as AssignmentRepository, mt as PluginRouteAuthorization, n as CollectionCommentSettings, na as CMSAnnotation, ni as definePlugin, nn as searchCollection, no as handleRevisionGet, nr as getSiteSetting, ns as ImageValue, nt as PluginMcpPiiClass, o as CommentAfterModerateHandler, oa as createNoop, oi as FileSessionDatabaseFactoryOptions, on as SearchConfig, oo as SiteBriefing, or as renderPreviewToolbar, os as Relation, ot as PluginMcpResourceContent, p as ContentHookEvent, pa as VerifyGuestAccessTokenResult, pi as SessionOpenOrCreateOptions, pn as getWidgetArea, po as HookResult, pr as renderPreviewLoadingPage, ps as AssignmentPriority, q as PluginContext, qa as MediaListResponse, qi as InferCollectionData, qn as ReorderMenuItemsInput, qo as handleContentUnpublish, qr as PluginManager, r as CommentAfterCreateEvent, ra as EditProxy, ri as FilePreviewMiddlewareConfig, rn as searchWithDb, ro as handleRevisionList, rr as getSiteSettings, rs as PortableTextBlock, rt as PluginMcpPiiPolicy, s as CommentBeforeCreateEvent, sa as GuestAccessExpectedScope, si as SessionCleanupResult, sn as SearchOptions, so as SiteBriefingAssembler, sr as AppliedSnapshotMeta, ss as RelationRepository, st as PluginMcpReversibility, t as BreadcrumbItem, ta as resolveDinewayPath, ti as runPluginMigrations, tn as search, to as RevisionResponse, tr as getPluginSettings, ts as FileValue, tt as PluginMcpExecutionContext, u as CommentModerateHandler, ua as IssueGuestAccessTokenOptions, ui as SessionDatabaseInfo, un as SearchStats, uo as PluginRouteError, ur as dropSessionDatabaseTables, us as AssignmentActorRef, ut as PluginMcpTool, v as EmailBeforeSendEvent, va as checkRateLimit, vi as parsePreviewSignatureHeader, vn as PropDef, vo as SandboxRunner, vr as buildPreviewUrl, vs as CreateSiteActivityInput, vt as PluginRouteTargetAuthorizer, w as HookConfig, wa as prosemirrorToPortableText, wi as isI18nEnabled, wn as WidgetType, wr as generatePreviewToken, ws as SiteActivityTimelineQuery, wt as PublicPageContext, x as EmailDeliverHandler, xa as computeContentHash, xi as I18nConfig, xn as Widget, xo as SerializedRequest, xr as PreviewTokenPayload, xs as SiteActivityRepository, xt as PluginTargetScope, y as EmailBeforeSendHandler, ya as isSafeHref, yi as signPreviewUrl, yn as ReorderWidgetsInput, yo as SandboxRunnerFactory, yr as getPreviewUrl, ys as SiteActivity, yt as PluginRouteTargetContext, z as PagePlacement, za as GetSectionsOptions, zi as after, zn as getEntriesByByline, zo as handleContentGetIncludingTrashed, zr as PublicationReleasePolicyContribution, zs as DinewayDatabaseError } from "./types-CnuliyMS.mjs";
4
4
  import { $ as RestaurantReservationExperienceTable, $t as VenuePaymentStatus, A as RestaurantOperatingSettingsTable, At as VenueAvailabilityRuleTable, B as RestaurantPaymentFlow, Bt as VenueLocationTable, C as RestaurantMenuOverrideTable, Ct as RestaurantSpecialHoursTable, D as RestaurantModifierGroupTable, Dt as RestaurantZoneTable, E as RestaurantMenuTable, Et as RestaurantTaxMode, F as RestaurantOrderSource, Ft as VenueCancellationPolicyTierTable, G as RestaurantPriorityAlertTable, Gt as VenueOrderStatusHistoryTable, H as RestaurantPaymentTable, Ht as VenueNotificationSettingsTable, I as RestaurantOrderStatus, It as VenueConversationReadTable, J as RestaurantReservationAddonTable, Jt as VenuePaymentAllocationStatus, K as RestaurantRefundTable, Kt as VenueOrderTable, L as RestaurantOrderStatusHistoryTable, Lt as VenueConversationTable, M as RestaurantOrderItemTable, Mt as VenueBookingMode, N as RestaurantOrderSequenceTable, Nt as VenueBookingPolicyTable, O as RestaurantModifierOptionTable, Ot as UserTable, P as RestaurantOrderSnapshotTable, Pt as VenueCancellationPolicyTable, Q as RestaurantReservationExperienceIncludedAddonTable, Qt as VenuePaymentRecordStatus, R as RestaurantOrderTable, Rt as VenueGuestAccessTable, S as RestaurantMenuLocationAssignmentTable, St as RestaurantServiceScope, T as RestaurantMenuSectionTable, Tt as RestaurantTableTable, U as RestaurantPriorityAlertDeliveryTable, Ut as VenueOrderCancellationSnapshotTable, V as RestaurantPaymentStatus, Vt as VenueMessageTable, W as RestaurantPriorityAlertOpportunityTable, Wt as VenueOrderStatus, X as RestaurantReservationDemandSettingsTable, Xt as VenuePaymentCollection, Y as RestaurantReservationBlockTable, Yt as VenuePaymentAllocationTable, Z as RestaurantReservationExperienceAddonCategoryTable, Zt as VenuePaymentEventTable, _ as RestaurantLocationMembershipTable, _t as RestaurantReservationRequestTableAssignmentTable, a as RestaurantCartHoldTable, an as VenueRatePlanTable, at as RestaurantReservationHoldTable, b as RestaurantMenuItemTable, bt as RestaurantReservationTable, c as RestaurantDeliveryZoneTable, cn as VenueReviewInvitationTable, ct as RestaurantReservationOfferTable, d as RestaurantFulfilmentType, dn as VenueSpaceLayoutTable, dt as RestaurantReservationPromotionOperationTable, en as VenuePaymentTable, et as RestaurantReservationGiftCardAllocationTable, f as RestaurantGiftCardLedgerEntryTable, fn as VenueSpaceTable, ft as RestaurantReservationPromotionTable, g as RestaurantHoursTable, gt as RestaurantReservationRequestTable, h as RestaurantHoursOverrideTable, ht as RestaurantReservationQuoteTable, i as RestaurantCapacityOverrideTable, in as VenueQuoteTable, it as RestaurantReservationHoldCommercialSelectionTable, j as RestaurantOrderItemModifierTable, jt as VenueBookingHoldTable, k as RestaurantNotificationSettingsTable, kt as VenueAvailabilityBlockTable, l as RestaurantDineInSessionTable, ln as VenueReviewResponseTable, lt as RestaurantReservationPaymentPolicyTable, m as RestaurantGuestAccessTable, mt as RestaurantReservationQuoteLineTable, n as MediaTable, nn as VenueQuoteRecordStatus, nt as RestaurantReservationHoldAddonOperationTable, o as RestaurantClosureTable, on as VenueRecordStatus, ot as RestaurantReservationLanguageSettingsTable, p as RestaurantGiftCardTable, pn as VenueTable, pt as RestaurantReservationQuoteCheckoutTable, q as RestaurantReservationAddonCategoryTable, qt as VenueOutboxEventTable, r as RestaurantCapacityCounterTable, rn as VenueQuoteStatus, rt as RestaurantReservationHoldAddonTable, s as RestaurantDeliverySettingsTable, sn as VenueRefundTable, st as RestaurantReservationOfferLinkDeliveryTable, t as Database, tn as VenueQuoteLineTable, tt as RestaurantReservationGiftCardOperationTable, u as RestaurantDineInSettingsTable, un as VenueReviewTable, ut as RestaurantReservationPromotionAllocationTable, v as RestaurantLocationTable, vt as RestaurantReservationSettingsTable, w as RestaurantMenuSectionItemTable, wt as RestaurantTabRoundTable, x as RestaurantMenuItemTranslationTable, xt as RestaurantReservationTableAssignmentTable, y as RestaurantMenuItemModifierGroupTable, yt as RestaurantReservationStatus, z as RestaurantOutboxDeliveryTable, zt as VenueLocationMembershipTable } from "./types-BFeoAIHl.mjs";
5
5
  import { _ as MediaValue, n as generatePlaceholder, r as normalizeMediaValue, t as PlaceholderData } from "./placeholder-C6ZjZcmJ.mjs";
6
6
  import { n as getMigrationStatus, t as MigrationStatus } from "./runner-Bcy5w0vj.mjs";
@@ -10,7 +10,7 @@ import { a as SqliteConfig, i as PostgresConfig, n as DatabaseDialectType, r as
10
10
  import { i as ObjectCacheRuntimeConfig, n as ObjectCacheBackend, r as ObjectCacheDescriptor } from "./types-CDcuRd4z.mjs";
11
11
  import { a as ListOptions, c as S3StorageConfig, d as Storage, f as StorageDescriptor, i as FileInfo, l as SignedUploadOptions, n as DinewayStorageError, o as ListResult, p as UploadResult, r as DownloadResult, s as LocalStorageConfig, t as CreateStorageFn, u as SignedUploadUrl } from "./types-YxFz4lDr.mjs";
12
12
  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-YiX3rly5.mjs";
13
- import "./byline-fields-CvDQ1-Pc.mjs";
13
+ import "./byline-fields-DEQ1wcUa.mjs";
14
14
  import { DinewayRequestContext, getRequestContext, runWithContext } from "./request-context.mjs";
15
15
  import { adaptSandboxEntry } from "./plugins/adapt-sandbox-entry.mjs";
16
16
  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-BsTXSvKG.mjs";
package/dist/index.mjs CHANGED
@@ -2,7 +2,7 @@ import { n as getMigrationStatus } from "./runner-BE1taNgj.mjs";
2
2
  import { r as DinewayDatabaseError } from "./connection-CiJWiWya.mjs";
3
3
  import { i as currentTimestamp } from "./dialect-helpers-fk43GbDb.mjs";
4
4
  import { n as getI18nConfig, r as isI18nEnabled, t as getFallbackChain } from "./config-CVssduLe.mjs";
5
- import { C as portableTextToProsemirror, D as image, E as reference, O as RelationRepository, S as verifyGuestAccessToken, T as portableText, a as createNoopSandboxRunner, b as hashGuestAccessToken, c as PluginSecretStore, f as HookPipeline, g as definePlugin, h as runPluginMigrations, i as SandboxNotAvailableError, l as PluginRouteError, n as createNodeSandboxRunner, o as PluginManager, p as createHookPipeline, r as NoopSandboxRunner, s as createPluginManager, t as NodeSandboxRunner, w as prosemirrorToPortableText, x as issueGuestAccessToken, y as GuestAccessTokenConfigurationError } from "./plugins-BLe_eCRU.mjs";
5
+ import { C as portableTextToProsemirror, D as image, E as reference, O as RelationRepository, S as verifyGuestAccessToken, T as portableText, a as createNoopSandboxRunner, b as hashGuestAccessToken, c as PluginSecretStore, f as HookPipeline, g as definePlugin, h as runPluginMigrations, i as SandboxNotAvailableError, l as PluginRouteError, n as createNodeSandboxRunner, o as PluginManager, p as createHookPipeline, r as NoopSandboxRunner, s as createPluginManager, t as NodeSandboxRunner, w as prosemirrorToPortableText, x as issueGuestAccessToken, y as GuestAccessTokenConfigurationError } from "./plugins-BVSrX4gZ.mjs";
6
6
  import { getRequestContext, runWithContext } from "./request-context.mjs";
7
7
  import "./base64-F8-DUraK.mjs";
8
8
  import { i as encodeCursor, n as ScheduledNotDueError, r as decodeCursor, t as DinewayValidationError } from "./types-al8YMHdF.mjs";
@@ -10,7 +10,7 @@ import { r as getDb } from "./loader-DtE00Fml.mjs";
10
10
  import { t as after } from "./after-BfniwgIf.mjs";
11
11
  import { a as invalidateBylineObjectCache, c as invalidateMenuObjectCache, d as invalidateTaxonomyObjectCache, f as isObjectCacheActive, i as contentNamespaces, l as invalidateObjectCache, n as cachedQuery, o as invalidateCollectionCache, r as contentNamespace, s as invalidateCommentObjectCache, t as CacheNamespace, u as invalidateSchemaObjectCache } from "./object-cache-D51qOseS.mjs";
12
12
  import { t as decodeSlug } from "./slugify-KSsVD_D3.mjs";
13
- import { r as RevisionRepository, t as ContentRepository } from "./content-Bcc5EuBd.mjs";
13
+ import { r as RevisionRepository, t as ContentRepository } from "./content-Bturdi4b.mjs";
14
14
  import { t as MediaRepository } from "./media-BXbOL8xv.mjs";
15
15
  import "./user-Ldseid1x.mjs";
16
16
  import "./taxonomy-C-Aqi1cF.mjs";
@@ -20,8 +20,8 @@ import "./audit-DeBteyL4.mjs";
20
20
  import { t as SiteActivityRepository } from "./site-activity-QPC-7Vnq.mjs";
21
21
  import "./review-requests-B9NfBTCJ.mjs";
22
22
  import "./publication-authorization-Dzr05Xx7.mjs";
23
- import { n as AssignmentService, r as HandoffSnapshotStore, w as AssignmentRepository } from "./site-context-DxK-vTzx.mjs";
24
- import "./context-B5JARj31.mjs";
23
+ import { n as AssignmentService, r as HandoffSnapshotStore, w as AssignmentRepository } from "./site-context-BSw2bNdG.mjs";
24
+ import "./context-CB4PwkM_.mjs";
25
25
  import "./menus-DCjNW2e4.mjs";
26
26
  import "./redirect-3Zzd0xIN.mjs";
27
27
  import "./request-cache-CBFjCwSt.mjs";
@@ -32,8 +32,8 @@ import { t as BylineRepository } from "./byline-CB0OLcK1.mjs";
32
32
  import { n as normalizeMediaValue } from "./normalize-Cyt7JdF7.mjs";
33
33
  import { n as generatePlaceholder } from "./enrich-Ck9tfMqe.mjs";
34
34
  import "./seo-BasNtS3J.mjs";
35
- import { $ as handleContentUpdate, A as handleRevisionGet, B as handleContentDiscardDraft, D as handleMediaGet, E as handleMediaDelete, F as handleContentCompare, G as handleContentListTrashed, H as handleContentGet, I as handleContentCountScheduled, J as handleContentRestore, K as handleContentPermanentDelete, L as handleContentCountTrashed, M as handleRevisionRestore, N as generateManifest, O as handleMediaList, P as handleContentAuthors, Q as handleContentUnschedule, R as handleContentCreate, T as handleMediaCreate, U as handleContentGetIncludingTrashed, V as handleContentDuplicate, W as handleContentList, X as handleContentTranslations, Y as handleContentSchedule, Z as handleContentUnpublish, j as handleRevisionList, k as handleMediaUpdate, q as handleContentPublish, z as handleContentDelete } from "./api-WHmNmpqG.mjs";
36
- import "./dashboard-DzRtxjvh.mjs";
35
+ import { $ as handleContentUpdate, A as handleRevisionGet, B as handleContentDiscardDraft, D as handleMediaGet, E as handleMediaDelete, F as handleContentCompare, G as handleContentListTrashed, H as handleContentGet, I as handleContentCountScheduled, J as handleContentRestore, K as handleContentPermanentDelete, L as handleContentCountTrashed, M as handleRevisionRestore, N as generateManifest, O as handleMediaList, P as handleContentAuthors, Q as handleContentUnschedule, R as handleContentCreate, T as handleMediaCreate, U as handleContentGetIncludingTrashed, V as handleContentDuplicate, W as handleContentList, X as handleContentTranslations, Y as handleContentSchedule, Z as handleContentUnpublish, j as handleRevisionList, k as handleMediaUpdate, q as handleContentPublish, z as handleContentDelete } from "./api-C8IpJnQ7.mjs";
36
+ import "./dashboard-DP4dxA1S.mjs";
37
37
  import { t as SiteBriefingAssembler } from "./briefing-DiJir0Ev.mjs";
38
38
  import "./context-types-eBuMDAg-.mjs";
39
39
  import "./content-refresh-C4YoqoNs.mjs";
@@ -56,8 +56,8 @@ import "./secrets-CpGpyGcO.mjs";
56
56
  import "./store-CCfMD6nw.mjs";
57
57
  import "./integration-credentials-D3ZneN0L.mjs";
58
58
  import "./resolve-B6BpqwAR.mjs";
59
- import { a as getTaxonomyTerms, i as getTaxonomyDefs, n as getEntryTerms, o as getTerm, r as getTaxonomyDef, s as getTermsForEntries, t as getEntriesByTerm } from "./taxonomies-BvfF27jR.mjs";
60
- import "./taxonomies-BwLsU1Vl.mjs";
59
+ import { a as getTaxonomyTerms, i as getTaxonomyDefs, n as getEntryTerms, o as getTerm, r as getTaxonomyDef, s as getTermsForEntries, t as getEntriesByTerm } from "./taxonomies-B5jTGXEC.mjs";
60
+ import "./taxonomies-DkMW6kj5.mjs";
61
61
  import { r as isStandardPluginDefinition } from "./types-CK0r-Xq4.mjs";
62
62
  import { i as pluginManifestSchema } from "./manifest-schema-DKa3ZaJL.mjs";
63
63
  import { t as DinewayStorageError } from "./types-gvNBqijt.mjs";
@@ -67,7 +67,7 @@ import "./byline-fields-BRUB-Vla.mjs";
67
67
  import { n as sanitizeHref, t as isSafeHref } from "./url-D282S1Zw.mjs";
68
68
  import "./status-BN40hMpr.mjs";
69
69
  import { t as checkRateLimit } from "./rate-limit-oUGexQO1.mjs";
70
- import { c as createEditable, i as getTranslations, l as createNoop, n as getDinewayEntry, r as getEditMeta, s as resolveDinewayPath, t as getDinewayCollection } from "./query-B-mlR0rL.mjs";
70
+ import { c as createEditable, i as getTranslations, l as createNoop, n as getDinewayEntry, r as getEditMeta, s as resolveDinewayPath, t as getDinewayCollection } from "./query-DTGsFOQu.mjs";
71
71
  import { a as verifyPreviewSignature, i as signPreviewUrl, n as defaultPreviewSidecarClient, r as parsePreviewSignatureHeader, t as buildPreviewSignatureHeader } from "./sidecar-client-dt5fv23q.mjs";
72
72
  import { a as createFilePreviewMiddleware, c as dropSessionDatabaseTables, d as SessionDatabaseLimitError, f as isBlockedInPreview, i as getPreviewUrl, l as getAppliedSnapshotMeta, n as isPreviewRequest, o as renderPreviewToolbar, p as renderPreviewLoadingPage, r as buildPreviewUrl, s as applySnapshotToDatabase, t as getPreviewToken, u as FileSessionDatabaseFactory } from "./preview-BMIReQGc.mjs";
73
73
  import { n as parseWxrString, t as parseWxr } from "./parser-DX_c5iG3.mjs";
@@ -75,20 +75,20 @@ import { adaptSandboxEntry } from "./plugins/adapt-sandbox-entry.mjs";
75
75
  import "./ssrf-BZHvtFEv.mjs";
76
76
  import "./cron-D_c3WUPN.mjs";
77
77
  import "./api-tokens-D4tcY8R6.mjs";
78
- import { t as createReviewedPluginMcpCommandExecutor } from "./mcp-reviewed-executor-t062vgk9.mjs";
78
+ import { t as createReviewedPluginMcpCommandExecutor } from "./mcp-reviewed-executor-DaIhmgOW.mjs";
79
79
  import "./activity-Dq9zDvAK.mjs";
80
80
  import "./activity-events-iGYnf7TK.mjs";
81
81
  import "./utils-B7gemXz5.mjs";
82
82
  import { a as getSuggestions, c as searchWithDb, i as getSearchStats, n as extractPlainText, o as search, r as extractSearchableFields, s as searchCollection } from "./search-BKBSn2Yf.mjs";
83
- import { _ as probeUrl, d as wxrSource, f as clearSources, g as getUrlSources, h as getSource, i as wordpressRestSource, m as getFileSources, p as getAllSources, u as parseWxrDate, v as registerSource, x as importReusableBlocksAsSections } from "./import-8NZkj7sn.mjs";
83
+ import { _ as probeUrl, d as wxrSource, f as clearSources, g as getUrlSources, h as getSource, i as wordpressRestSource, m as getFileSources, p as getAllSources, u as parseWxrDate, v as registerSource, x as importReusableBlocksAsSections } from "./import-CJm91blH.mjs";
84
84
  import { n as parseContentId, r as verifyPreviewToken, t as generatePreviewToken } from "./tokens-DIzhPT80.mjs";
85
85
  import { getContentSeo, getSeoMeta } from "./seo/index.mjs";
86
86
  import "./comment-reaction-BNXm1YHa.mjs";
87
87
  import { i as getComments, n as getMenus, r as getCommentCount, t as getMenu } from "./menus-b1JWwI1Z.mjs";
88
- import { i as getEntriesByByline, n as getByline, r as getBylineBySlug } from "./bylines-C0_OM-j7.mjs";
88
+ import { i as getEntriesByByline, n as getByline, r as getBylineBySlug } from "./bylines-CMKhrSEg.mjs";
89
89
  import { n as getWidgetAreas, r as getWidgetComponents, t as getWidgetArea } from "./widgets-oRtISrJQ.mjs";
90
90
  import { t as validateSeed } from "./validate-hHdBXn4U.mjs";
91
- import { t as applySeed } from "./apply-DVzjrW34.mjs";
91
+ import { t as applySeed } from "./apply-C0v5UKOI.mjs";
92
92
  import "./load-CfFRVQkS.mjs";
93
93
  import "./seed/index.mjs";
94
94
  import { ulid } from "ulidx";
@@ -1,4 +1,4 @@
1
- import { F as PageMetadataContribution, M as PageFragmentContribution, R as PageMetadataLinkRel, t as BreadcrumbItem, wt as PublicPageContext, z as PagePlacement } from "./types-CGyFRAiS.mjs";
1
+ import { F as PageMetadataContribution, M as PageFragmentContribution, R as PageMetadataLinkRel, t as BreadcrumbItem, wt as PublicPageContext, z as PagePlacement } from "./types-CnuliyMS.mjs";
2
2
  import { S as SeoSettings } from "./validate-YiX3rly5.mjs";
3
3
 
4
4
  //#region src/page/context.d.ts
@@ -1,5 +1,5 @@
1
1
  import { o as HitlRequestRepository } from "./publication-authorization-Dzr05Xx7.mjs";
2
- import { b as HitlRequestService } from "./site-context-DxK-vTzx.mjs";
2
+ import { b as HitlRequestService } from "./site-context-BSw2bNdG.mjs";
3
3
  import { n as stableStringify } from "./stable-hash-DshcXvRE.mjs";
4
4
  import { n as buildStableActionHash } from "./review-payload-BysRWpxS.mjs";
5
5
  import { i as hasScope } from "./api-tokens-D4tcY8R6.mjs";
@@ -1,4 +1,4 @@
1
- import "../types-CGyFRAiS.mjs";
1
+ import "../types-CnuliyMS.mjs";
2
2
  import { t as Database } from "../types-BFeoAIHl.mjs";
3
3
  import { h as MediaProviderItem, o as CreateMediaProviderFn } from "../placeholder-C6ZjZcmJ.mjs";
4
4
  import "../runner-Bcy5w0vj.mjs";
@@ -6,7 +6,7 @@ import "../index-DybFmYtZ.mjs";
6
6
  import "../types-S9VIopdY.mjs";
7
7
  import { d as Storage } from "../types-YxFz4lDr.mjs";
8
8
  import "../validate-YiX3rly5.mjs";
9
- import "../byline-fields-CvDQ1-Pc.mjs";
9
+ import "../byline-fields-DEQ1wcUa.mjs";
10
10
  import "../types-BsTXSvKG.mjs";
11
11
  import "../index.mjs";
12
12
  import { Kysely } from "kysely";
@@ -1,12 +1,12 @@
1
- import { F as PageMetadataContribution, M as PageFragmentContribution, wt as PublicPageContext } from "../types-CGyFRAiS.mjs";
1
+ import { F as PageMetadataContribution, M as PageFragmentContribution, wt as PublicPageContext } from "../types-CnuliyMS.mjs";
2
2
  import "../types-BFeoAIHl.mjs";
3
3
  import "../runner-Bcy5w0vj.mjs";
4
4
  import "../index-DybFmYtZ.mjs";
5
5
  import "../types-S9VIopdY.mjs";
6
6
  import "../validate-YiX3rly5.mjs";
7
- import "../byline-fields-CvDQ1-Pc.mjs";
7
+ import "../byline-fields-DEQ1wcUa.mjs";
8
8
  import "../types-BsTXSvKG.mjs";
9
- import { a as generateSiteSeoContributions, c as ResolvedPageMetadata, d as renderPageMetadata, f as resolvePageMetadata, h as createPublicPageContext, i as generateBaseSeoContributions, l as createSha256CspHash, m as CreatePublicPageContextInput, n as buildWebSiteJsonLd, o as renderFragments, p as safeJsonLdSerialize, r as cleanJsonLd, s as resolveFragments, t as buildBlogPostingJsonLd, u as escapeHtmlAttr } from "../jsonld-Bxwy2-Pf.mjs";
9
+ import { a as generateSiteSeoContributions, c as ResolvedPageMetadata, d as renderPageMetadata, f as resolvePageMetadata, h as createPublicPageContext, i as generateBaseSeoContributions, l as createSha256CspHash, m as CreatePublicPageContextInput, n as buildWebSiteJsonLd, o as renderFragments, p as safeJsonLdSerialize, r as cleanJsonLd, s as resolveFragments, t as buildBlogPostingJsonLd, u as escapeHtmlAttr } from "../jsonld-BS1v8xeZ.mjs";
10
10
 
11
11
  //#region src/page/index.d.ts
12
12
  /**
@@ -1,10 +1,10 @@
1
- import "./types-CGyFRAiS.mjs";
1
+ import "./types-CnuliyMS.mjs";
2
2
  import "./types-BFeoAIHl.mjs";
3
3
  import "./runner-Bcy5w0vj.mjs";
4
4
  import "./index-DybFmYtZ.mjs";
5
5
  import "./types-S9VIopdY.mjs";
6
6
  import "./validate-YiX3rly5.mjs";
7
- import "./byline-fields-CvDQ1-Pc.mjs";
7
+ import "./byline-fields-DEQ1wcUa.mjs";
8
8
  import "./types-BsTXSvKG.mjs";
9
9
  import { DinewayHandlers } from "./astro/types.mjs";
10
10
 
@@ -1,10 +1,10 @@
1
- import { Et as ResolvedPlugin, Mt as StandardPluginDefinition, To as PluginDescriptor } from "../types-CGyFRAiS.mjs";
1
+ import { Et as ResolvedPlugin, Mt as StandardPluginDefinition, To as PluginDescriptor } from "../types-CnuliyMS.mjs";
2
2
  import "../types-BFeoAIHl.mjs";
3
3
  import "../runner-Bcy5w0vj.mjs";
4
4
  import "../index-DybFmYtZ.mjs";
5
5
  import "../types-S9VIopdY.mjs";
6
6
  import "../validate-YiX3rly5.mjs";
7
- import "../byline-fields-CvDQ1-Pc.mjs";
7
+ import "../byline-fields-DEQ1wcUa.mjs";
8
8
  import "../types-BsTXSvKG.mjs";
9
9
 
10
10
  //#region src/plugins/adapt-sandbox-entry.d.ts
@@ -2,7 +2,7 @@ import { r as validatePluginIdentifier, t as validateIdentifier } from "./valida
2
2
  import { i as encodeBase64url, n as decodeBase64url } from "./base64-F8-DUraK.mjs";
3
3
  import { n as chunks, t as SQL_BATCH_SIZE } from "./chunks-BdkWx1oD.mjs";
4
4
  import { t as OptionsRepository } from "./options-DQPTH5n0.mjs";
5
- import { n as createPluginContext, t as PluginContextFactory } from "./context-B5JARj31.mjs";
5
+ import { n as createPluginContext, t as PluginContextFactory } from "./context-CB4PwkM_.mjs";
6
6
  import { i as parseEncryptionKeys, t as DinewaySecretsError } from "./secrets-CpGpyGcO.mjs";
7
7
  import { t as extractRequestMeta } from "./request-meta-DHFIzWcf.mjs";
8
8
  import { r as setCronTasksEnabled } from "./cron-D_c3WUPN.mjs";
@@ -1,4 +1,4 @@
1
- import { wo as DinewayConfig } from "./types-CGyFRAiS.mjs";
1
+ import { wo as DinewayConfig } from "./types-CnuliyMS.mjs";
2
2
 
3
3
  //#region src/api/public-url.d.ts
4
4
  /**