dineway 0.2.4 → 0.2.5

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 (169) hide show
  1. package/dist/api/route-utils.d.mts +3 -3
  2. package/dist/api/route-utils.mjs +1 -1
  3. package/dist/api/schemas/index.d.mts +2 -2
  4. package/dist/api/schemas/index.mjs +3 -3
  5. package/dist/{api-BZ_oWfPM.mjs → api-C3-s1R27.mjs} +1 -1
  6. package/dist/astro/index.d.mts +2 -2
  7. package/dist/astro/index.mjs +2 -2
  8. package/dist/astro/middleware/auth.d.mts +2 -2
  9. package/dist/astro/middleware/auth.mjs +2 -2
  10. package/dist/astro/middleware/setup.mjs +1 -1
  11. package/dist/astro/middleware.mjs +10 -10
  12. package/dist/astro/routes/api/admin/allowed-domains/_domain_.mjs +2 -2
  13. package/dist/astro/routes/api/admin/allowed-domains/index.mjs +2 -2
  14. package/dist/astro/routes/api/admin/briefing.mjs +2 -2
  15. package/dist/astro/routes/api/admin/byline-fields/_slug_.mjs +2 -2
  16. package/dist/astro/routes/api/admin/byline-fields/index.mjs +2 -2
  17. package/dist/astro/routes/api/admin/byline-fields/reorder.mjs +2 -2
  18. package/dist/astro/routes/api/admin/bylines/_id_/index.mjs +2 -2
  19. package/dist/astro/routes/api/admin/bylines/_id_/translations.mjs +2 -2
  20. package/dist/astro/routes/api/admin/bylines/index.mjs +2 -2
  21. package/dist/astro/routes/api/admin/comments/_id_/status.mjs +2 -2
  22. package/dist/astro/routes/api/admin/comments/bulk.mjs +2 -2
  23. package/dist/astro/routes/api/admin/comments/index.mjs +2 -2
  24. package/dist/astro/routes/api/admin/context/_id_/history.mjs +3 -3
  25. package/dist/astro/routes/api/admin/context/_id_/index.mjs +3 -3
  26. package/dist/astro/routes/api/admin/context/_id_/review.mjs +5 -5
  27. package/dist/astro/routes/api/admin/context/_id_/supersede.mjs +5 -5
  28. package/dist/astro/routes/api/admin/context/diff.mjs +5 -5
  29. package/dist/astro/routes/api/admin/context/index.mjs +5 -5
  30. package/dist/astro/routes/api/admin/context/stale.mjs +5 -5
  31. package/dist/astro/routes/api/admin/hitl-requests/_id_/index.mjs +4 -4
  32. package/dist/astro/routes/api/admin/hitl-requests/_id_/resolve.mjs +6 -6
  33. package/dist/astro/routes/api/admin/hitl-requests/index.mjs +6 -6
  34. package/dist/astro/routes/api/admin/hooks/exclusive/_hookName_.mjs +3 -3
  35. package/dist/astro/routes/api/admin/plugins/_id_/disable.mjs +6 -6
  36. package/dist/astro/routes/api/admin/plugins/_id_/enable.mjs +6 -6
  37. package/dist/astro/routes/api/admin/plugins/_id_/index.mjs +3 -3
  38. package/dist/astro/routes/api/admin/plugins/_id_/uninstall.mjs +6 -6
  39. package/dist/astro/routes/api/admin/plugins/_id_/update.mjs +6 -6
  40. package/dist/astro/routes/api/admin/plugins/index.mjs +3 -3
  41. package/dist/astro/routes/api/admin/plugins/marketplace/_id_/index.mjs +3 -3
  42. package/dist/astro/routes/api/admin/plugins/marketplace/_id_/install.mjs +6 -6
  43. package/dist/astro/routes/api/admin/plugins/marketplace/index.mjs +3 -3
  44. package/dist/astro/routes/api/admin/plugins/updates.mjs +3 -3
  45. package/dist/astro/routes/api/admin/review-requests/_id_/resolve.mjs +4 -4
  46. package/dist/astro/routes/api/admin/review-requests/index.mjs +4 -4
  47. package/dist/astro/routes/api/admin/themes/marketplace/_id_/index.mjs +3 -3
  48. package/dist/astro/routes/api/admin/themes/marketplace/index.mjs +3 -3
  49. package/dist/astro/routes/api/admin/users/_id_/index.mjs +2 -2
  50. package/dist/astro/routes/api/admin/users/index.mjs +2 -2
  51. package/dist/astro/routes/api/auth/invite/complete.mjs +4 -4
  52. package/dist/astro/routes/api/auth/invite/index.mjs +2 -2
  53. package/dist/astro/routes/api/auth/invite/register-options.mjs +3 -3
  54. package/dist/astro/routes/api/auth/magic-link/send.mjs +2 -2
  55. package/dist/astro/routes/api/auth/me.mjs +2 -2
  56. package/dist/astro/routes/api/auth/mode.mjs +1 -1
  57. package/dist/astro/routes/api/auth/passkey/_id_.mjs +2 -2
  58. package/dist/astro/routes/api/auth/passkey/options.mjs +3 -3
  59. package/dist/astro/routes/api/auth/passkey/register/options.mjs +3 -3
  60. package/dist/astro/routes/api/auth/passkey/register/verify.mjs +4 -4
  61. package/dist/astro/routes/api/auth/passkey/verify.mjs +4 -4
  62. package/dist/astro/routes/api/auth/signup/complete.mjs +4 -4
  63. package/dist/astro/routes/api/auth/signup/request.mjs +2 -2
  64. package/dist/astro/routes/api/comments/_collection_/_contentId_/index.mjs +2 -2
  65. package/dist/astro/routes/api/comments/_collection_/_contentId_/reactions.mjs +2 -2
  66. package/dist/astro/routes/api/content/_collection_/_id_/preview-url.mjs +2 -2
  67. package/dist/astro/routes/api/content/_collection_/_id_/publish.mjs +14 -7
  68. package/dist/astro/routes/api/content/_collection_/_id_/release-readiness.d.mts +7 -0
  69. package/dist/astro/routes/api/content/_collection_/_id_/release-readiness.mjs +43 -0
  70. package/dist/astro/routes/api/content/_collection_/_id_/schedule.mjs +3 -3
  71. package/dist/astro/routes/api/content/_collection_/_id_/terms/_taxonomy_.mjs +2 -2
  72. package/dist/astro/routes/api/content/_collection_/_id_.mjs +2 -2
  73. package/dist/astro/routes/api/content/_collection_/index.mjs +2 -2
  74. package/dist/astro/routes/api/content/_collection_/trash.mjs +2 -2
  75. package/dist/astro/routes/api/health.mjs +1 -1
  76. package/dist/astro/routes/api/import/probe.mjs +2 -2
  77. package/dist/astro/routes/api/import/wordpress/execute.d.mts +2 -2
  78. package/dist/astro/routes/api/import/wordpress/execute.mjs +3 -3
  79. package/dist/astro/routes/api/import/wordpress/media.d.mts +2 -2
  80. package/dist/astro/routes/api/import/wordpress/media.mjs +2 -2
  81. package/dist/astro/routes/api/import/wordpress/prepare.mjs +5 -5
  82. package/dist/astro/routes/api/import/wordpress/rewrite-urls.d.mts +2 -2
  83. package/dist/astro/routes/api/import/wordpress/rewrite-urls.mjs +5 -5
  84. package/dist/astro/routes/api/import/wordpress-plugin/analyze.mjs +2 -2
  85. package/dist/astro/routes/api/import/wordpress-plugin/execute.d.mts +2 -2
  86. package/dist/astro/routes/api/import/wordpress-plugin/execute.mjs +5 -5
  87. package/dist/astro/routes/api/manifest.mjs +2 -2
  88. package/dist/astro/routes/api/mcp.mjs +46 -8
  89. package/dist/astro/routes/api/media/_id_/confirm.mjs +2 -2
  90. package/dist/astro/routes/api/media/_id_.mjs +2 -2
  91. package/dist/astro/routes/api/media/upload-url.mjs +2 -2
  92. package/dist/astro/routes/api/media.mjs +2 -2
  93. package/dist/astro/routes/api/menus/_name_/items/_id_.mjs +5 -5
  94. package/dist/astro/routes/api/menus/_name_/items.mjs +5 -5
  95. package/dist/astro/routes/api/menus/_name_/reorder.mjs +5 -5
  96. package/dist/astro/routes/api/menus/_name_/translations.mjs +5 -5
  97. package/dist/astro/routes/api/menus/_name_.mjs +5 -5
  98. package/dist/astro/routes/api/menus/index.mjs +5 -5
  99. package/dist/astro/routes/api/openapi.json.mjs +24 -3
  100. package/dist/astro/routes/api/redirects/404s/index.mjs +2 -2
  101. package/dist/astro/routes/api/redirects/404s/summary.mjs +2 -2
  102. package/dist/astro/routes/api/redirects/_id_.mjs +5 -5
  103. package/dist/astro/routes/api/redirects/index.mjs +5 -5
  104. package/dist/astro/routes/api/schema/collections/_slug_/fields/_fieldSlug_.mjs +3 -3
  105. package/dist/astro/routes/api/schema/collections/_slug_/fields/index.mjs +3 -3
  106. package/dist/astro/routes/api/schema/collections/_slug_/fields/reorder.mjs +3 -3
  107. package/dist/astro/routes/api/schema/collections/_slug_/index.mjs +3 -3
  108. package/dist/astro/routes/api/schema/collections/index.mjs +3 -3
  109. package/dist/astro/routes/api/schema/orphans/_slug_.mjs +3 -3
  110. package/dist/astro/routes/api/schema/orphans/index.mjs +3 -3
  111. package/dist/astro/routes/api/search/enable.mjs +2 -2
  112. package/dist/astro/routes/api/search/index.mjs +2 -2
  113. package/dist/astro/routes/api/search/rebuild.mjs +2 -2
  114. package/dist/astro/routes/api/search/suggest.mjs +2 -2
  115. package/dist/astro/routes/api/sections/_slug_.mjs +5 -5
  116. package/dist/astro/routes/api/sections/index.mjs +5 -5
  117. package/dist/astro/routes/api/settings.mjs +5 -5
  118. package/dist/astro/routes/api/setup/admin-verify.mjs +5 -5
  119. package/dist/astro/routes/api/setup/admin.mjs +3 -3
  120. package/dist/astro/routes/api/setup/index.mjs +3 -3
  121. package/dist/astro/routes/api/setup/status.mjs +1 -1
  122. package/dist/astro/routes/api/snapshot.mjs +1 -1
  123. package/dist/astro/routes/api/taxonomies/_name_/terms/_slug_/translations.mjs +5 -5
  124. package/dist/astro/routes/api/taxonomies/_name_/terms/_slug_.mjs +5 -5
  125. package/dist/astro/routes/api/taxonomies/_name_/terms/index.mjs +5 -5
  126. package/dist/astro/routes/api/taxonomies/index.mjs +5 -5
  127. package/dist/astro/routes/api/well-known/auth.mjs +2 -2
  128. package/dist/astro/routes/api/widget-areas/_name_/reorder.mjs +5 -5
  129. package/dist/astro/routes/api/widget-areas/_name_/widgets/_id_.mjs +5 -5
  130. package/dist/astro/routes/api/widget-areas/_name_/widgets.mjs +5 -5
  131. package/dist/astro/routes/api/widget-areas/_name_.mjs +3 -3
  132. package/dist/astro/routes/api/widget-areas/index.mjs +5 -5
  133. package/dist/astro/types.d.mts +3 -3
  134. package/dist/{byline-fields-yT4herdN.mjs → byline-fields-Co_MIUWm.mjs} +1 -1
  135. package/dist/{byline-fields-CXBvHvRM.d.mts → byline-fields-bnvqaEuF.d.mts} +210 -29
  136. package/dist/cli/index.mjs +54 -6
  137. package/dist/cli/plugin-kit.d.mts +8 -0
  138. package/dist/client/external-auth-headers.d.mts +1 -1
  139. package/dist/client/index.d.mts +22 -4
  140. package/dist/client/index.mjs +14 -2
  141. package/dist/{context-AJNd0tcG.mjs → context-m06dNjS1.mjs} +1 -1
  142. package/dist/{hitl-requests-Bee8Cjj8.mjs → hitl-requests-D8pHHlSA.mjs} +1 -1
  143. package/dist/{hitl-route-helpers-DtHaKGgm.mjs → hitl-route-helpers-BIzP0Opq.mjs} +1 -1
  144. package/dist/index.d.mts +3 -3
  145. package/dist/index.mjs +6 -6
  146. package/dist/{jsonld-BFdufCos.d.mts → jsonld-CG-hNWNO.d.mts} +1 -1
  147. package/dist/{mcp-reviewed-executor-DnlF7mIL.mjs → mcp-reviewed-executor-DM53lZ9z.mjs} +2 -2
  148. package/dist/media/local-runtime.d.mts +2 -2
  149. package/dist/page/index.d.mts +3 -3
  150. package/dist/plugin-utils.d.mts +2 -2
  151. package/dist/plugins/adapt-sandbox-entry.d.mts +2 -2
  152. package/dist/{public-url-BVBNJJkd.d.mts → public-url-Cqi7Ds4u.d.mts} +1 -1
  153. package/dist/{publication-authorization-BVQ5rCAF.mjs → publication-authorization-BYieJR6-.mjs} +145 -3
  154. package/dist/{redirects-E_B6hvuz.mjs → redirects-CALMB6T5.mjs} +70 -1
  155. package/dist/runtime.d.mts +3 -3
  156. package/dist/{site-context-CzaEGizi.mjs → site-context-Bz8hdcZH.mjs} +1 -1
  157. package/dist/{types-CQnfHvPQ.d.mts → types-C-3YPdr-.d.mts} +166 -108
  158. package/dist/ui/server-runtime.d.mts +5 -5
  159. package/dist/version-D9xoSUza.mjs +6 -0
  160. package/package.json +3 -3
  161. package/dist/version-EHBE9US2.mjs +0 -6
  162. /package/dist/{allowed-origins-oVgzR3X5.mjs → allowed-origins-VLgv2PL1.mjs} +0 -0
  163. /package/dist/{challenge-store-DtdQHXf5.mjs → challenge-store-BMkL2kmt.mjs} +0 -0
  164. /package/dist/{mode-DqpBaEOy.mjs → mode-DPC7segX.mjs} +0 -0
  165. /package/dist/{portable-text-Ehqj3I_y.d.mts → portable-text-BYUu-wtj.d.mts} +0 -0
  166. /package/dist/{provider-loader-BIbIiz0P.d.mts → provider-loader-Db-pJFu3.d.mts} +0 -0
  167. /package/dist/{session-user-CYjNeJoD.mjs → session-user-BwliEFp0.mjs} +0 -0
  168. /package/dist/{setup-complete-DcAQzVsB.mjs → setup-complete-PvF8I7Oh.mjs} +0 -0
  169. /package/dist/{transport-BZ3aqdu7.d.mts → transport-CXkC1F2Z.d.mts} +0 -0
@@ -1,5 +1,13 @@
1
- import { a as tokenInterceptor, i as devBypassInterceptor, n as createTransport, r as csrfInterceptor, t as Interceptor } from "../transport-BZ3aqdu7.mjs";
2
- import { n as markdownToPortableText, r as portableTextToMarkdown, t as PortableTextBlock } from "../portable-text-Ehqj3I_y.mjs";
1
+ import { Ft as PublicationReceipt, Pt as PublicationReadinessResult } from "../types-C-3YPdr-.mjs";
2
+ import "../types-BFeoAIHl.mjs";
3
+ import "../runner-Bcy5w0vj.mjs";
4
+ import "../index-DybFmYtZ.mjs";
5
+ import "../types-S9VIopdY.mjs";
6
+ import "../validate-YiX3rly5.mjs";
7
+ import "../byline-fields-bnvqaEuF.mjs";
8
+ import "../types-BsTXSvKG.mjs";
9
+ import { a as tokenInterceptor, i as devBypassInterceptor, n as createTransport, r as csrfInterceptor, t as Interceptor } from "../transport-CXkC1F2Z.mjs";
10
+ import { n as markdownToPortableText, r as portableTextToMarkdown, t as PortableTextBlock } from "../portable-text-BYUu-wtj.mjs";
3
11
 
4
12
  //#region src/client/index.d.ts
5
13
  interface DinewayClientOptions {
@@ -61,6 +69,14 @@ interface ContentPublishOptions {
61
69
  publishedAt?: string;
62
70
  locale?: string;
63
71
  }
72
+ interface ContentReleaseReadinessOptions {
73
+ operation?: "publish" | "schedule";
74
+ reviewRequestId?: string;
75
+ releaseAuthorizationId?: string;
76
+ publishedAt?: string;
77
+ scheduledAt?: string;
78
+ locale?: string;
79
+ }
64
80
  interface ContentScheduleOptions {
65
81
  at: string;
66
82
  reviewRequestId: string;
@@ -296,7 +312,9 @@ declare class DinewayClient {
296
312
  /** Delete (soft) a content item */
297
313
  delete(collection: string, id: string): Promise<void>;
298
314
  /** Publish an exact, editorially approved Draft Revision */
299
- publish(collection: string, id: string, options: ContentPublishOptions): Promise<void>;
315
+ publish(collection: string, id: string, options: ContentPublishOptions): Promise<PublicationReceipt>;
316
+ /** Inspect every current release blocker without creating governance state. */
317
+ releaseReadiness(collection: string, id: string, options?: ContentReleaseReadinessOptions): Promise<PublicationReadinessResult>;
300
318
  /** Unpublish a content item */
301
319
  unpublish(collection: string, id: string): Promise<void>;
302
320
  /** Schedule an exact, editorially approved Draft Revision */
@@ -379,4 +397,4 @@ declare class DinewayClient {
379
397
  private getFieldSchemas;
380
398
  }
381
399
  //#endregion
382
- export { ApiError, ClientResponse, Collection, CollectionWithFields, ContentItem, ContentPublishOptions, ContentScheduleOptions, DinewayApiError, DinewayClient, DinewayClientError, DinewayClientOptions, Field, type Interceptor, ListResult, Manifest, MediaItem, Menu, MenuItem, MenuWithItems, PluginRequestOptions, type PortableTextBlock, SchemaExport, SearchResult, SetupLinkResult, Taxonomy, Term, createTransport, csrfInterceptor, devBypassInterceptor, markdownToPortableText, portableTextToMarkdown, tokenInterceptor };
400
+ export { ApiError, ClientResponse, Collection, CollectionWithFields, ContentItem, ContentPublishOptions, ContentReleaseReadinessOptions, ContentScheduleOptions, DinewayApiError, DinewayClient, DinewayClientError, DinewayClientOptions, Field, type Interceptor, ListResult, Manifest, MediaItem, Menu, MenuItem, MenuWithItems, PluginRequestOptions, type PortableTextBlock, type PublicationReadinessResult, type PublicationReceipt, SchemaExport, SearchResult, SetupLinkResult, Taxonomy, Term, createTransport, csrfInterceptor, devBypassInterceptor, markdownToPortableText, portableTextToMarkdown, tokenInterceptor };
@@ -196,11 +196,23 @@ var DinewayClient = class {
196
196
  const params = new URLSearchParams();
197
197
  if (options.locale) params.set("locale", options.locale);
198
198
  const qs = params.toString();
199
- await this.request("POST", `/content/${encodeURIComponent(collection)}/${encodeURIComponent(id)}/publish${qs ? `?${qs}` : ""}`, {
199
+ return (await this.request("POST", `/content/${encodeURIComponent(collection)}/${encodeURIComponent(id)}/publish${qs ? `?${qs}` : ""}`, {
200
200
  reviewRequestId: options.reviewRequestId,
201
201
  releaseAuthorizationId: options.releaseAuthorizationId,
202
202
  publishedAt: options.publishedAt
203
- });
203
+ })).publicationReceipt;
204
+ }
205
+ /** Inspect every current release blocker without creating governance state. */
206
+ async releaseReadiness(collection, id, options = {}) {
207
+ const params = new URLSearchParams();
208
+ if (options.operation) params.set("operation", options.operation);
209
+ if (options.reviewRequestId) params.set("reviewRequestId", options.reviewRequestId);
210
+ if (options.releaseAuthorizationId) params.set("releaseAuthorizationId", options.releaseAuthorizationId);
211
+ if (options.publishedAt) params.set("publishedAt", options.publishedAt);
212
+ if (options.scheduledAt) params.set("scheduledAt", options.scheduledAt);
213
+ if (options.locale) params.set("locale", options.locale);
214
+ const qs = params.toString();
215
+ return this.request("GET", `/content/${encodeURIComponent(collection)}/${encodeURIComponent(id)}/release-readiness${qs ? `?${qs}` : ""}`);
204
216
  }
205
217
  /** Unpublish a content item */
206
218
  async unpublish(collection, id) {
@@ -1,4 +1,4 @@
1
- import { _ as toPublicContextDiff, v as toPublicContextEntry, y as toPublicContextEntryPage } from "./site-context-CzaEGizi.mjs";
1
+ import { _ as toPublicContextDiff, v as toPublicContextEntry, y as toPublicContextEntryPage } from "./site-context-Bz8hdcZH.mjs";
2
2
  import { a as ContextRepository, i as parseSiteBriefingScope, n as SiteBriefingError } from "./briefing-GFhLTLJo.mjs";
3
3
 
4
4
  //#region src/api/handlers/context.ts
@@ -1,4 +1,4 @@
1
- import { b as HitlRequestService } from "./site-context-CzaEGizi.mjs";
1
+ import { b as HitlRequestService } from "./site-context-Bz8hdcZH.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-CzaEGizi.mjs";
1
+ import { t as WorkflowHitlCoordinator } from "./site-context-Bz8hdcZH.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-DEYmJhWd.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 PluginMcpReversibility, $a as SandboxedPlugin, $i as verifyGuestAccessToken, $n as getPreviewToken, $o as CreateMediaInput, $r as buildPreviewSignatureHeader, $t as getWidgetComponents, Aa as MediaResponse, Ai as InferCollectionData, An as MenuItemType, Ao as reference, Ar as PluginManager, As as ContentResponse, At as isStandardPluginDefinition, B as PluginDefinition, Ba as handleRevisionRestore, Bi as EditProxy, Bn as getSiteSetting, Bo as RelationRepository, Br as FilePreviewMiddlewareConfig, Bt as searchCollection, C as ModerationDecision, Ca as Section, Ci as CacheHint, Cn as getEntriesByByline, Co as handleContentRestore, Cr as PublicationReleasePolicyContribution, Ct as StandardHookHandler, D as PageMetadataContribution, Da as SchemaError, Di as DinewayCollections, Dn as CreateMenuItemInput, Do as handleContentUnschedule, Dr as NoopSandboxRunner, Dt as StorageCollection, E as PageFragmentHandler, Ea as getCollectionInfo, Ei as ContentEntry, En as CreateMenuInput, Eo as handleContentUnpublish, Er as createNodeSandboxRunner, Et as StandardRouteHandler, F as PluginAdminExports, Fa as handleMediaUpdate, Fi as getDinewayEntry, Fn as GetCommentsResult, Fo as ImageValue, Fr as PluginSecretStoreOptions, Ft as extractPlainText, G as PluginMcpCommandTool, Ga as HookPipeline, Gi as GuestAccessTokenClaims, Gn as AppliedSnapshotMeta, Go as AssignmentListQuery, Gr as SessionDatabaseFactory, Gt as SearchOptions, H as PluginManifest, Hi as createEditable, Hn as setSiteSettings, Ho as Assignment, Hr as FileSessionDatabaseFactory, Ht as FTSManager, I as PluginAdminPage, Ia as RevisionListResponse, Ii as getEditMeta, In as getCommentCount, Io as PortableTextBlock, Ir as ValidatedPluginManifest, It as extractSearchableFields, J as PluginMcpPiiClass, Ja as SandboxEmailMessage, Ji as IssuedGuestAccessToken, Jn as dropSessionDatabaseTables, Jo as AssignmentStatus, Jr as SessionDatabaseLimitError, Jt as SearchStats, K as PluginMcpConfig, Ka as HookResult, Ki as GuestAccessTokenConfigurationError, Kn as ApplySnapshotToDatabaseOptions, Ko as AssignmentPriority, Kr as SessionDatabaseHandle, Kt as SearchResponse, L as PluginAuthMethod, La as RevisionResponse, Li as getTranslations, Ln as getComments, Lo as ContentReference, Lr as pluginManifestSchema, Lt as getSearchStats, M as PluginActor, Ma as handleMediaDelete, Mi as TranslationSummary, Mn as UpdateMenuInput, Mo as FieldDefinition, Mr as createReviewedPluginMcpCommandExecutor, Ms as ListResponse, Mt as PublicationReleasePolicy, N as PluginActorType, Na as handleMediaGet, Ni as TranslationsResult, Nn as UpdateMenuItemInput, No as FieldUIHints, Nr as PluginSecretStatus, Ns as ManifestResponse, Nt as PublicationReleasePreparationTarget, O as PageMetadataEvent, Oa as SchemaRegistry, Oi as EditFieldMeta, On as Menu, Oo as handleContentUpdate, Or as SandboxNotAvailableError, Os as ApiContext, P as PluginAdminConfig, Pa as handleMediaList, Pi as getDinewayCollection, Pn as GetCommentsOptions, Po as FileValue, Pr as PluginSecretStore, Pt as currentTimestamp, Q as PluginMcpResourceContent, Qa as SandboxRunnerFactory, Qi as issueGuestAccessToken, Qn as isBlockedInPreview, Qo as RevisionRepository, Qr as PreviewSidecarSignature, Qt as getWidgetAreas, R as PluginCapability, Ra as handleRevisionGet, Ri as resolveDinewayPath, Rn as getPluginSetting, Ro as CreateRelationInput, Rr as runPluginMigrations, Rt as getSuggestions, S as MediaUploadEvent, Sa as GetSectionsOptions, Si as after, Sn as getBylineBySlug, So as handleContentPublish, Sr as BuiltContentReleasePayload, St as StandardHookEntry, T as PageFragmentEvent, Ta as UpdateSectionInput, Ti as CollectionResult, Tn as getMenus, To as handleContentTranslations, Tr as NodeSandboxRunner, Tt as StandardRouteEntry, U as PluginMcpAuthorization, Ua as PluginRouteError, Ui as createNoop, Un as PreviewToolbarConfig, Uo as AssignmentActorRef, Ur as FileSessionDatabaseFactoryOptions, Ut as CollectionSearchOptions, V as PluginHooks, Va as generateManifest, Vi as FieldAnnotation, Vn as getSiteSettings, Vo as UpdateRelationInput, Vr as createFilePreviewMiddleware, Vt as searchWithDb, W as PluginMcpCommandPreview, Wi as GuestAccessExpectedScope, Wn as renderPreviewToolbar, Wo as AssignmentActorType, Wr as SessionCleanupResult, Wt as SearchConfig, X as PluginMcpQueryTool, Xa as SandboxOptions, Xi as VerifyGuestAccessTokenResult, Xn as Snapshot, Xo as MarkAssignmentsOverdueInput, Xr as SessionOpenOrCreateOptions, Xt as Suggestion, Y as PluginMcpPiiPolicy, Ya as SandboxEmailSendCallback, Yi as VerifyGuestAccessTokenOptions, Yn as getAppliedSnapshotMeta, Yo as CreateAssignmentInput, Yr as SessionOpenOptions, Yt as SuggestOptions, Z as PluginMcpResource, Za as SandboxRunner, Zi as hashGuestAccessToken, Zn as renderPreviewLoadingPage, Zr as PreviewSidecarClient, Zt as getWidgetArea, _ as HookName, _a as ProseMirrorMark, _i as invalidateObjectCache, _n as TaxonomyDef, _o as handleContentGet, _r as HandoffSnapshotStore, _s as SiteActivitySourceType, _t as ResolvedHook, a as CommentAfterModerateEvent, aa as hashString, ai as getFallbackChain, an as Widget, ar as PreviewTokenPayload, as as EntryFilter, b as LogAccess, ba as getSections, bi as isObjectCacheActive, bn as UpdateTermInput, bo as handleContentListTrashed, br as HandoffSnapshot, bt as ResolvedPluginMcpConfig, c as CommentBeforeCreateHandler, ca as PortableTextCodeBlock, ci as CacheNamespace, cn as WidgetType, cr as generatePreviewToken, ct as PluginRouteMethod, d as ContentAccess, da as PortableTextLinkMark, di as contentNamespace, dn as getTaxonomyDef, do as handleContentCountScheduled, dr as AssignmentAccessContext, ds as DinewayDatabaseError, dt as PluginRouteTargetContext, ea as RateLimitResult, ei as defaultPreviewSidecarClient, en as CreateWidgetAreaInput, eo as SerializedRequest, er as isPreviewRequest, es as MediaItem, et as PluginMcpRiskFactor, f as ContentDeleteEvent, fa as PortableTextMarkDef, fi as contentNamespaces, fn as getTaxonomyDefs, fo as handleContentCountTrashed, fr as AssignmentActionInput, fs as CreateSiteActivityInput, ft as PluginStorageConfig, g as HookConfig, ga as ProseMirrorDocument, gi as invalidateMenuObjectCache, gn as CreateTermInput, go as handleContentDuplicate, gr as HandoffResumeResult, gs as SiteActivityResultStatus, gt as PublicPageContext, h as FieldWidgetConfig, ha as PortableTextUnknownBlock, hi as invalidateCommentObjectCache, hn as getTermsForEntries, ho as handleContentDiscardDraft, hr as CreateWorkflowAssignmentInput, hs as SiteActivityRepository, ht as PortableTextBlockField, i as CommentAfterCreateHandler, ia as computeContentHash, ii as I18nConfig, in as UpdateWidgetInput, io as PluginDescriptor, ir as GeneratePreviewTokenOptions, is as EntryData, it as PluginRoute, j as PagePlacement, ja as handleMediaCreate, ji as ResolvePathResult, jn as ReorderMenuItemsInput, jo as image, jr as createPluginManager, js as FieldDescriptor, k as PageMetadataHandler, ka as MediaListResponse, ki as EntryResult, kn as MenuItem, ko as portableText, kr as createNoopSandboxRunner, ks as ContentListResponse, kt as StoredComment, l as CommentModerateEvent, la as PortableTextHtmlBlock, li as CachedQueryOptions, ln as getEntriesByTerm, lo as handleContentAuthors, lr as parseContentId, ls as getDb, lt as PluginRouteTargetAuthorizationRequest, m as ContentPublishStateChangeEvent, ma as PortableTextTextBlock, mi as invalidateCollectionCache, mn as getTerm, mo as handleContentDelete, mr as AssignmentService, ms as SiteActivityActorType, mt as PortableTextBlockConfig, n as CollectionCommentSettings, na as isSafeHref, ni as signPreviewUrl, nn as PropDef, no as PluginMcpTargetAuthorizer, nr as buildPreviewUrl, ns as ContentRepository, nt as PluginMcpTool, o as CommentAfterModerateHandler, oa as portableTextToProsemirror, oi as getI18nConfig, on as WidgetArea, or as VerifyPreviewTokenOptions, os as WhereRange, ot as PluginRouteAuthorization, p as ContentHookEvent, pa as PortableTextSpan, pi as invalidateBylineObjectCache, pn as getTaxonomyTerms, po as handleContentCreate, pr as AssignmentListInput, ps as SiteActivity, pt as PluginTargetScope, q as PluginMcpExecutionContext, qa as createHookPipeline, qi as IssueGuestAccessTokenOptions, qn as applySnapshotToDatabase, qo as AssignmentRepository, qr as SessionDatabaseInfo, qt as SearchResult, r as CommentAfterCreateEvent, ra as sanitizeHref, ri as verifyPreviewSignature, rn as ReorderWidgetsInput, rr as getPreviewUrl, rs as CollectionFilter$1, rt as PluginMigration, s as CommentBeforeCreateEvent, sa as prosemirrorToPortableText, si as isI18nEnabled, sn as WidgetComponentDef, sr as VerifyPreviewTokenResult, ss as WhereValue, st as PluginRouteBodyMode, t as BreadcrumbItem, ta as checkRateLimit, ti as parsePreviewSignatureHeader, tn as CreateWidgetInput, tr as GetPreviewUrlOptions, ts as MediaRepository, tt as PluginMcpRiskLevel, u as CommentModerateHandler, ua as PortableTextImageBlock, ui as cachedQuery, un as getEntryTerms, uo as handleContentCompare, ur as verifyPreviewToken, us as DatabaseConfig, ut as PluginRouteTargetAuthorizer, v as HttpAccess, va as ProseMirrorNode, vi as invalidateSchemaObjectCache, vn as TaxonomyTerm, vo as handleContentGetIncludingTrashed, vr as ResumeHandoffSnapshotInput, vs as SiteActivityTimelineQuery, vt as ResolvedPlugin, w as PageFragmentContribution, wa as SectionSource, wi as CollectionFilter, wn as getMenu, wo as handleContentSchedule, wr as buildStableActionHash, wt as StandardPluginDefinition, x as MediaAccess, xa as CreateSectionInput, xi as AfterCallback, xn as getByline, xo as handleContentPermanentDelete, xt as RouteContext, y as KVAccess, ya as getSection, yi as invalidateTaxonomyObjectCache, yn as TaxonomyTermRow, yo as handleContentList, yr as CreateHandoffSnapshotInput, yt as ResolvedPluginHooks, z as PluginContext, za as handleRevisionList, zi as CMSAnnotation, zn as getPluginSettings, zo as Relation, zr as definePlugin, zt as search } from "./types-CQnfHvPQ.mjs";
3
+ import { $ as PluginMcpReversibility, $a as SandboxEmailSendCallback, $i as VerifyGuestAccessTokenOptions, $n as getAppliedSnapshotMeta, $o as CreateAssignmentInput, $r as SessionOpenOptions, $t as SuggestOptions, Aa as getCollectionInfo, Ai as ContentEntry, An as CreateMenuInput, Ao as handleContentUnpublish, Ar as createNodeSandboxRunner, At as isStandardPluginDefinition, B as PluginDefinition, Ba as RevisionListResponse, Bi as getEditMeta, Bn as getCommentCount, Bo as PortableTextBlock, Br as ValidatedPluginManifest, Bt as extractSearchableFields, C as ModerationDecision, Ca as getSection, Ci as invalidateTaxonomyObjectCache, Cn as TaxonomyTermRow, Co as handleContentList, Cr as CreateHandoffSnapshotInput, Ct as StandardHookHandler, D as PageMetadataContribution, Da as Section, Di as CacheHint, Dn as getEntriesByByline, Do as handleContentRestore, Dr as PublicationReleasePolicyContribution, Dt as StorageCollection, E as PageFragmentHandler, Ea as GetSectionsOptions, Ei as after, En as getBylineBySlug, Eo as handleContentPublish, Er as BuiltContentReleasePayload, Et as StandardRouteHandler, F as PluginAdminExports, Fa as handleMediaCreate, Fi as ResolvePathResult, Fn as ReorderMenuItemsInput, Fo as image, Fr as createPluginManager, Fs as FieldDescriptor, G as PluginMcpCommandTool, Ga as generateManifest, Gi as FieldAnnotation, Gn as getSiteSettings, Go as UpdateRelationInput, Gr as createFilePreviewMiddleware, Gt as searchWithDb, H as PluginManifest, Ha as handleRevisionGet, Hi as resolveDinewayPath, Hn as getPluginSetting, Ho as CreateRelationInput, Hr as runPluginMigrations, Ht as getSuggestions, I as PluginAdminPage, Ia as handleMediaDelete, Ii as TranslationSummary, In as UpdateMenuInput, Io as FieldDefinition, Ir as createReviewedPluginMcpCommandExecutor, Is as ListResponse, It as PublicationReleasePolicy, J as PluginMcpPiiClass, Ji as GuestAccessExpectedScope, Jn as renderPreviewToolbar, Jo as AssignmentActorType, Jr as SessionCleanupResult, Jt as SearchConfig, K as PluginMcpConfig, Ki as createEditable, Kn as setSiteSettings, Ko as Assignment, Kr as FileSessionDatabaseFactory, Kt as FTSManager, L as PluginAuthMethod, La as handleMediaGet, Li as TranslationsResult, Ln as UpdateMenuItemInput, Lo as FieldUIHints, Lr as PluginSecretStatus, Ls as ManifestResponse, Lt as PublicationReleasePreparationTarget, M as PluginActor, Ma as SchemaRegistry, Mi as EditFieldMeta, Mn as Menu, Mo as handleContentUpdate, Mr as SandboxNotAvailableError, Ms as ApiContext, Mt as PublicationReadinessBlocker, N as PluginActorType, Na as MediaListResponse, Ni as EntryResult, Nn as MenuItem, No as portableText, Nr as createNoopSandboxRunner, Ns as ContentListResponse, Nt as PublicationReadinessPolicyTarget, O as PageMetadataEvent, Oa as SectionSource, Oi as CollectionFilter, On as getMenu, Oo as handleContentSchedule, Or as buildStableActionHash, P as PluginAdminConfig, Pa as MediaResponse, Pi as InferCollectionData, Pn as MenuItemType, Po as reference, Pr as PluginManager, Ps as ContentResponse, Q as PluginMcpResourceContent, Qa as SandboxEmailMessage, Qi as IssuedGuestAccessToken, Qn as dropSessionDatabaseTables, Qo as AssignmentStatus, Qr as SessionDatabaseLimitError, Qt as SearchStats, R as PluginCapability, Ra as handleMediaList, Ri as getDinewayCollection, Rn as GetCommentsOptions, Ro as FileValue, Rr as PluginSecretStore, Rt as currentTimestamp, S as MediaUploadEvent, Sa as ProseMirrorNode, Si as invalidateSchemaObjectCache, Sn as TaxonomyTerm, So as handleContentGetIncludingTrashed, Sr as ResumeHandoffSnapshotInput, Ss as DinewayDatabaseError, St as StandardHookEntry, T as PageFragmentEvent, Ta as CreateSectionInput, Ti as AfterCallback, Tn as getByline, To as handleContentPermanentDelete, Tt as StandardRouteEntry, U as PluginMcpAuthorization, Ua as handleRevisionList, Ui as CMSAnnotation, Un as getPluginSettings, Uo as Relation, Ur as definePlugin, Ut as search, V as PluginHooks, Va as RevisionResponse, Vi as getTranslations, Vn as getComments, Vo as ContentReference, Vr as pluginManifestSchema, Vt as getSearchStats, W as PluginMcpCommandPreview, Wa as handleRevisionRestore, Wi as EditProxy, Wn as getSiteSetting, Wo as RelationRepository, Wr as FilePreviewMiddlewareConfig, Wt as searchCollection, X as PluginMcpQueryTool, Xa as HookResult, Xi as GuestAccessTokenConfigurationError, Xn as ApplySnapshotToDatabaseOptions, Xo as AssignmentPriority, Xr as SessionDatabaseHandle, Xt as SearchResponse, Y as PluginMcpPiiPolicy, Ya as HookPipeline, Yi as GuestAccessTokenClaims, Yn as AppliedSnapshotMeta, Yo as AssignmentListQuery, Yr as SessionDatabaseFactory, Yt as SearchOptions, Z as PluginMcpResource, Za as createHookPipeline, Zi as IssueGuestAccessTokenOptions, Zn as applySnapshotToDatabase, Zo as AssignmentRepository, Zr as SessionDatabaseInfo, Zt as SearchResult, _ as HookName, _a as PortableTextSpan, _i as invalidateBylineObjectCache, _n as getTaxonomyTerms, _o as handleContentCreate, _r as AssignmentListInput, _s as WhereRange, _t as ResolvedHook, a as CommentAfterModerateEvent, aa as checkRateLimit, ai as parsePreviewSignatureHeader, an as CreateWidgetInput, ar as GetPreviewUrlOptions, as as SiteActivityResultStatus, b as LogAccess, ba as ProseMirrorDocument, bi as invalidateMenuObjectCache, bn as CreateTermInput, bo as handleContentDuplicate, br as HandoffResumeResult, bs as getDb, bt as ResolvedPluginMcpConfig, c as CommentBeforeCreateHandler, ca as computeContentHash, ci as I18nConfig, cn as UpdateWidgetInput, co as PluginDescriptor, cr as GeneratePreviewTokenOptions, ct as PluginRouteMethod, d as ContentAccess, da as prosemirrorToPortableText, di as isI18nEnabled, dn as WidgetComponentDef, dr as VerifyPreviewTokenResult, ds as MediaItem, dt as PluginRouteTargetContext, ea as VerifyGuestAccessTokenResult, ei as SessionOpenOrCreateOptions, en as Suggestion, eo as SandboxOptions, er as Snapshot, es as MarkAssignmentsOverdueInput, et as PluginMcpRiskFactor, f as ContentDeleteEvent, fa as PortableTextCodeBlock, fi as CacheNamespace, fn as WidgetType, fr as generatePreviewToken, fs as MediaRepository, ft as PluginStorageConfig, g as HookConfig, ga as PortableTextMarkDef, gi as contentNamespaces, gn as getTaxonomyDefs, go as handleContentCountTrashed, gr as AssignmentActionInput, gs as EntryFilter, gt as PublicPageContext, h as FieldWidgetConfig, ha as PortableTextLinkMark, hi as contentNamespace, hn as getTaxonomyDef, ho as handleContentCountScheduled, hr as AssignmentAccessContext, hs as EntryData, ht as PortableTextBlockField, i as CommentAfterCreateHandler, ia as RateLimitResult, ii as defaultPreviewSidecarClient, in as CreateWidgetAreaInput, io as SerializedRequest, ir as isPreviewRequest, is as SiteActivityRepository, it as PluginRoute, j as PagePlacement, ja as SchemaError, ji as DinewayCollections, jn as CreateMenuItemInput, jo as handleContentUnschedule, jr as NoopSandboxRunner, k as PageMetadataHandler, ka as UpdateSectionInput, ki as CollectionResult, kn as getMenus, ko as handleContentTranslations, kr as NodeSandboxRunner, kt as StoredComment, l as CommentModerateEvent, la as hashString, li as getFallbackChain, ln as Widget, lr as PreviewTokenPayload, ls as RevisionRepository, lt as PluginRouteTargetAuthorizationRequest, m as ContentPublishStateChangeEvent, ma as PortableTextImageBlock, mi as cachedQuery, mn as getEntryTerms, mo as handleContentCompare, mr as verifyPreviewToken, ms as CollectionFilter$1, mt as PortableTextBlockConfig, n as CollectionCommentSettings, na as issueGuestAccessToken, ni as PreviewSidecarSignature, nn as getWidgetAreas, no as SandboxRunnerFactory, nr as isBlockedInPreview, ns as SiteActivity, nt as PluginMcpTool, o as CommentAfterModerateHandler, oa as isSafeHref, oi as signPreviewUrl, on as PropDef, oo as PluginMcpTargetAuthorizer, or as buildPreviewUrl, os as SiteActivitySourceType, ot as PluginRouteAuthorization, p as ContentHookEvent, pa as PortableTextHtmlBlock, pi as CachedQueryOptions, pn as getEntriesByTerm, po as handleContentAuthors, pr as parseContentId, ps as ContentRepository, pt as PluginTargetScope, q as PluginMcpExecutionContext, qa as PluginRouteError, qi as createNoop, qn as PreviewToolbarConfig, qo as AssignmentActorRef, qr as FileSessionDatabaseFactoryOptions, qt as CollectionSearchOptions, r as CommentAfterCreateEvent, ra as verifyGuestAccessToken, ri as buildPreviewSignatureHeader, rn as getWidgetComponents, ro as SandboxedPlugin, rr as getPreviewToken, rs as SiteActivityActorType, rt as PluginMigration, s as CommentBeforeCreateEvent, sa as sanitizeHref, si as verifyPreviewSignature, sn as ReorderWidgetsInput, sr as getPreviewUrl, ss as SiteActivityTimelineQuery, st as PluginRouteBodyMode, t as BreadcrumbItem, ta as hashGuestAccessToken, ti as PreviewSidecarClient, tn as getWidgetArea, to as SandboxRunner, tr as renderPreviewLoadingPage, ts as CreateSiteActivityInput, tt as PluginMcpRiskLevel, u as CommentModerateHandler, ua as portableTextToProsemirror, ui as getI18nConfig, un as WidgetArea, ur as VerifyPreviewTokenOptions, us as CreateMediaInput, ut as PluginRouteTargetAuthorizer, v as HttpAccess, va as PortableTextTextBlock, vi as invalidateCollectionCache, vn as getTerm, vo as handleContentDelete, vr as AssignmentService, vs as WhereValue, vt as ResolvedPlugin, w as PageFragmentContribution, wa as getSections, wi as isObjectCacheActive, wn as UpdateTermInput, wo as handleContentListTrashed, wr as HandoffSnapshot, wt as StandardPluginDefinition, x as MediaAccess, xa as ProseMirrorMark, xi as invalidateObjectCache, xn as TaxonomyDef, xo as handleContentGet, xr as HandoffSnapshotStore, xs as DatabaseConfig, xt as RouteContext, y as KVAccess, ya as PortableTextUnknownBlock, yi as invalidateCommentObjectCache, yn as getTermsForEntries, yo as handleContentDiscardDraft, yr as CreateWorkflowAssignmentInput, yt as ResolvedPluginHooks, z as PluginContext, za as handleMediaUpdate, zi as getDinewayEntry, zn as GetCommentsResult, zo as ImageValue, zr as PluginSecretStoreOptions, zt as extractPlainText } from "./types-C-3YPdr-.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,11 +10,11 @@ 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-CXBvHvRM.mjs";
13
+ import "./byline-fields-bnvqaEuF.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";
17
17
  import { SeoMeta, SeoMetaOptions, getContentSeo, getSeoMeta } from "./seo/index.mjs";
18
18
  import "./seed/index.mjs";
19
19
  import { ulid } from "ulidx";
20
- export { type AfterCallback, type ApiContext, type AppliedSnapshotMeta, type ApplySnapshotToDatabaseOptions, type Assignment, type AssignmentAccessContext, type AssignmentActionInput, type AssignmentActorRef, type AssignmentActorType, type AssignmentListInput, type AssignmentListQuery, type AssignmentPriority, AssignmentRepository, AssignmentService, type AssignmentStatus, type AttachmentInfo, type AuthDescriptor, type AuthProviderAdminExports, type AuthProviderDescriptor, type AuthProviderModule, type AuthResult, type AuthRouteDescriptor, type BreadcrumbItem, type BuiltContentReleasePayload, BylineRepository, type BylineSummary, type CMSAnnotation, type CacheHint, CacheNamespace, type CachedQueryOptions, type Collection, type CollectionCommentSettings, type CollectionFilter, type CollectionResult, type CollectionSchemaStatus, type CollectionSearchOptions, type CollectionSource, type CollectionSupport, type CollectionWithFields, type ColumnType, type CommentAfterCreateEvent, type CommentAfterCreateHandler, type CommentAfterModerateEvent, type CommentAfterModerateHandler, type CommentBeforeCreateEvent, type CommentBeforeCreateHandler, type CommentModerateEvent, type CommentModerateHandler, type ContentAccess, type ContentBylineCredit, type ContentBylineInput, type ContentDeleteEvent, type ContentEntry, type ContentHookEvent, type ContentItem, type ContentListResponse, type ContentPublishStateChangeEvent, type ContentReference, ContentRepository, type ContentResponse, type ContentSeo, type ContentSeoInput, type CreateAssignmentInput, type CreateBylineInput, type CreateCollectionInput, type CreateContentInput, type CreateFieldInput, type CreateHandoffSnapshotInput, type CreateMediaInput, type CreateMenuInput, type CreateMenuItemInput, type CreateRelationInput, type CreateSectionInput, type CreateSiteActivityInput, type CreateStorageFn, type CreateTermInput, type CreateWidgetAreaInput, type CreateWidgetInput, type CreateWorkflowAssignmentInput, type Database, type DatabaseConfig, type DatabaseDescriptor, type DatabaseDialectType, type DinewayCollections, DinewayDatabaseError, type DinewayRequestContext, DinewayStorageError, DinewayValidationError, type DownloadResult, type EditFieldMeta, type EditProxy, type EntryData, type EntryFilter, type EntryResult, type ExternalAuthConfig, FIELD_TYPE_TO_COLUMN, FTSManager, type FetchOptions, type Field, type FieldAnnotation, type FieldCompatibility, type FieldDefinition, type FieldDescriptor, type FieldType, type FieldUIHints, type FieldValidation, type FieldWidgetConfig, type FieldWidgetOptions, type FileInfo, type FileInput, type FilePreviewMiddlewareConfig, FileSessionDatabaseFactory, type FileSessionDatabaseFactoryOptions, type FileValue, type FindManyOptions, type FindManyResult, type GeneratePreviewTokenOptions, type GetCommentsOptions, type GetCommentsResult, type GetPreviewUrlOptions, type GetSectionsOptions, type GuestAccessExpectedScope, type GuestAccessTokenClaims, GuestAccessTokenConfigurationError, type HandoffResumeResult, type HandoffSnapshot, HandoffSnapshotStore, type HookConfig, type HookName, HookPipeline, type HookResult, type HttpAccess, type I18nConfig, type ImageValue, type ImportAnalysis, type ImportConfig, type ImportContext, type ImportFieldDef, type ImportResult, type ImportSource, type InferCollectionData, type IssueGuestAccessTokenOptions, type IssuedGuestAccessToken, type KVAccess, type LibsqlConfig, type ListOptions, type ListResponse, type ListResult, type CollectionFilter$1 as LoaderCollectionFilter, type LocalStorageConfig, type LogAccess, type ManifestResponse, type MarkAssignmentsOverdueInput, type MediaAccess, type MediaItem, type MediaListResponse, type MediaReference, MediaRepository, type MediaResponse, type MediaTable, type MediaUploadEvent, type MediaValue, type Menu, type MenuItem, type MenuItemType, type MigrationStatus, type ModerationDecision, NodeSandboxRunner, NoopSandboxRunner, type NormalizedItem, type OAuthInput, type ObjectCacheBackend, type ObjectCacheDescriptor, type ObjectCacheRuntimeConfig, type PageFragmentContribution, type PageFragmentEvent, type PageFragmentHandler, type PageMetadataContribution, type PageMetadataEvent, type PageMetadataHandler, type PagePlacement, type PlaceholderData, type PluginActor, type PluginActorType, type PluginAdminConfig, type PluginAdminExports, type PluginAdminPage, type PluginAuthMethod, type PluginCapability, type PluginContext, type PluginDefinition, type PluginDescriptor, type PluginHooks, PluginManager, type PluginManifest, type PluginMcpAuthorization, type PluginMcpCommandPreview, type PluginMcpCommandTool, type PluginMcpConfig, type PluginMcpExecutionContext, type PluginMcpPiiClass, type PluginMcpPiiPolicy, type PluginMcpQueryTool, type PluginMcpResource, type PluginMcpResourceContent, type PluginMcpReversibility, type PluginMcpRiskFactor, type PluginMcpRiskLevel, type PluginMcpTargetAuthorizer, type PluginMcpTool, type PluginMigration, type PluginRoute, type PluginRouteAuthorization, type PluginRouteBodyMode, PluginRouteError, type PluginRouteMethod, type PluginRouteTargetAuthorizationRequest, type PluginRouteTargetAuthorizer, type PluginRouteTargetContext, type PluginSecretStatus, PluginSecretStore, type PluginSecretStoreOptions, type PluginStorageConfig, type PluginTargetScope, type PortableTextBlock, type PortableTextBlockConfig, type PortableTextBlockField, type PortableTextCodeBlock, type PortableTextHtmlBlock, type PortableTextImageBlock, type PortableTextLinkMark, type PortableTextMarkDef, type PortableTextSpan, type PortableTextTextBlock, type PortableTextUnknownBlock, type PostTypeAnalysis, type PostTypeMapping, type PostgresConfig, type PreviewSidecarClient, type PreviewSidecarSignature, type PreviewTokenPayload, type PreviewToolbarConfig, type ProbeResult, type PropDef, type ProseMirrorDocument, type ProseMirrorMark, type ProseMirrorNode, type PublicPageContext, type PublicationReleasePolicy, type PublicationReleasePolicyContribution, type PublicationReleasePreparationTarget, RESERVED_COLLECTION_SLUGS, RESERVED_FIELD_SLUGS, type RateLimitResult, type Relation, RelationRepository, type ReorderMenuItemsInput, type ReorderWidgetsInput, type ResolvePathResult, type ResolvedHook, type ResolvedPlugin, type ResolvedPluginHooks, type ResolvedPluginMcpConfig, type RestaurantCapacityCounterTable, type RestaurantCapacityOverrideTable, type RestaurantCartHoldTable, type RestaurantClosureTable, type RestaurantDeliverySettingsTable, type RestaurantDeliveryZoneTable, type RestaurantDineInSessionTable, type RestaurantDineInSettingsTable, type RestaurantFulfilmentType, type RestaurantGiftCardLedgerEntryTable, type RestaurantGiftCardTable, type RestaurantGuestAccessTable, type RestaurantHoursOverrideTable, type RestaurantHoursTable, type RestaurantLocationMembershipTable, type RestaurantLocationTable, type RestaurantMenuItemModifierGroupTable, type RestaurantMenuItemTable, type RestaurantMenuItemTranslationTable, type RestaurantMenuLocationAssignmentTable, type RestaurantMenuOverrideTable, type RestaurantMenuSectionItemTable, type RestaurantMenuSectionTable, type RestaurantMenuTable, type RestaurantModifierGroupTable, type RestaurantModifierOptionTable, type RestaurantNotificationSettingsTable, type RestaurantOperatingSettingsTable, type RestaurantOrderItemModifierTable, type RestaurantOrderItemTable, type RestaurantOrderSequenceTable, type RestaurantOrderSnapshotTable, type RestaurantOrderSource, type RestaurantOrderStatus, type RestaurantOrderStatusHistoryTable, type RestaurantOrderTable, type RestaurantOutboxDeliveryTable, type RestaurantPaymentFlow, type RestaurantPaymentStatus, type RestaurantPaymentTable, type RestaurantPriorityAlertDeliveryTable, type RestaurantPriorityAlertOpportunityTable, type RestaurantPriorityAlertTable, type RestaurantRefundTable, type RestaurantReservationAddonCategoryTable, type RestaurantReservationAddonTable, type RestaurantReservationBlockTable, type RestaurantReservationDemandSettingsTable, type RestaurantReservationExperienceAddonCategoryTable, type RestaurantReservationExperienceIncludedAddonTable, type RestaurantReservationExperienceTable, type RestaurantReservationGiftCardAllocationTable, type RestaurantReservationGiftCardOperationTable, type RestaurantReservationHoldAddonOperationTable, type RestaurantReservationHoldAddonTable, type RestaurantReservationHoldCommercialSelectionTable, type RestaurantReservationHoldTable, type RestaurantReservationLanguageSettingsTable, type RestaurantReservationOfferLinkDeliveryTable, type RestaurantReservationOfferTable, type RestaurantReservationPaymentPolicyTable, type RestaurantReservationPromotionAllocationTable, type RestaurantReservationPromotionOperationTable, type RestaurantReservationPromotionTable, type RestaurantReservationQuoteCheckoutTable, type RestaurantReservationQuoteLineTable, type RestaurantReservationQuoteTable, type RestaurantReservationRequestTable, type RestaurantReservationRequestTableAssignmentTable, type RestaurantReservationSettingsTable, type RestaurantReservationStatus, type RestaurantReservationTable, type RestaurantReservationTableAssignmentTable, type RestaurantServiceScope, type RestaurantSpecialHoursTable, type RestaurantTabRoundTable, type RestaurantTableTable, type RestaurantTaxMode, type RestaurantZoneTable, type ResumeHandoffSnapshotInput, type RevisionListResponse, RevisionRepository, type RevisionResponse, type RouteContext, type S3StorageConfig, type SandboxEmailMessage, type SandboxEmailSendCallback, SandboxNotAvailableError, type SandboxOptions, type SandboxRunner, type SandboxRunnerFactory, type SandboxedPlugin, ScheduledNotDueError, SchemaError, SchemaRegistry, type SearchConfig, type SearchOptions, type SearchResponse, type SearchResult, type SearchStats, type Section, type SectionSource, type SeedApplyOptions, type SeedApplyResult, type SeedCollection, type SeedContentEntry, type SeedField, type SeedFile, type SeedMenu, type SeedMenuItem, type SeedTaxonomy, type SeedTaxonomyTerm, type SeedWidget, type SeedWidgetArea, type SeoMeta, type SeoMetaOptions, type SeoSettings, type SerializedRequest, type SessionCleanupResult, type SessionDatabaseFactory, type SessionDatabaseHandle, type SessionDatabaseInfo, SessionDatabaseLimitError, type SessionOpenOptions, type SessionOpenOrCreateOptions, type SignedUploadOptions, type SignedUploadUrl, type SiteActivity, type SiteActivityActorType, SiteActivityRepository, type SiteActivityResultStatus, type SiteActivitySourceType, type SiteActivityTimelineQuery, type SiteSettingKey, type SiteSettings, type Snapshot, type SourceAuth, type SourceCapabilities, type SourceInput, type SourceProbeResult, type SqliteConfig, type StandardHookEntry, type StandardHookHandler, type StandardPluginDefinition, type StandardRouteEntry, type StandardRouteHandler, type Storage, type StorageCollection, type StorageDescriptor, type StoredComment, type SuggestOptions, type SuggestedAction, type Suggestion, type TaxonomyDef, type TaxonomyTerm, type TaxonomyTermRow, type TranslationSummary, type TranslationsResult, type UpdateBylineInput, type UpdateCollectionInput, type UpdateContentInput, type UpdateFieldInput, type UpdateMenuInput, type UpdateMenuItemInput, type UpdateRelationInput, type UpdateSectionInput, type UpdateTermInput, type UpdateWidgetInput, type UploadResult, type UrlInput, type UserTable, type ValidatedPluginManifest, type ValidationResult, type VenueAvailabilityBlockTable, type VenueAvailabilityRuleTable, type VenueBookingHoldTable, type VenueBookingMode, type VenueBookingPolicyTable, type VenueCancellationPolicyTable, type VenueCancellationPolicyTierTable, type VenueConversationReadTable, type VenueConversationTable, type VenueGuestAccessTable, type VenueLocationMembershipTable, type VenueLocationTable, type VenueMessageTable, type VenueNotificationSettingsTable, type VenueOrderCancellationSnapshotTable, type VenueOrderStatus, type VenueOrderStatusHistoryTable, type VenueOrderTable, type VenueOutboxEventTable, type VenuePaymentAllocationStatus, type VenuePaymentAllocationTable, type VenuePaymentCollection, type VenuePaymentEventTable, type VenuePaymentRecordStatus, type VenuePaymentStatus, type VenuePaymentTable, type VenueQuoteLineTable, type VenueQuoteRecordStatus, type VenueQuoteStatus, type VenueQuoteTable, type VenueRatePlanTable, type VenueRecordStatus, type VenueRefundTable, type VenueReviewInvitationTable, type VenueReviewResponseTable, type VenueReviewTable, type VenueSpaceLayoutTable, type VenueSpaceTable, type VenueTable, type VerifyGuestAccessTokenOptions, type VerifyGuestAccessTokenResult, type VerifyPreviewTokenOptions, type VerifyPreviewTokenResult, type WhereRange, type WhereValue, type Widget, type WidgetArea, type WidgetComponentDef, type WidgetType, type WxrAttachment, type WxrAuthor, type WxrCategory, type WxrData, type WxrPost, type WxrSite, type WxrTag, adaptSandboxEntry, after, applySeed, applySnapshotToDatabase, buildPreviewSignatureHeader, buildPreviewUrl, buildStableActionHash, cachedQuery, checkRateLimit, clearSources, computeContentHash, contentNamespace, contentNamespaces, createEditable, createFilePreviewMiddleware, createHookPipeline, createNodeSandboxRunner, createNoop, createNoopSandboxRunner, createPluginManager, createReviewedPluginMcpCommandExecutor, currentTimestamp, decodeCursor, decodeSlug, defaultPreviewSidecarClient, definePlugin, dropSessionDatabaseTables, encodeCursor, extractPlainText, extractSearchableFields, generateManifest, generatePlaceholder, generatePreviewToken, getAllSources, getAppliedSnapshotMeta, getByline, getBylineBySlug, getCollectionInfo, getCommentCount, getComments, getContentSeo, getDb, getDinewayCollection, getDinewayEntry, getEditMeta, getEntriesByByline, getEntriesByTerm, getEntryTerms, getFallbackChain, getFileSources, getI18nConfig, getMenu, getMenus, getMigrationStatus, getPluginSetting, getPluginSettings, getPreviewToken, getPreviewUrl, getRequestContext, getSearchStats, getSection, getSections, getSeoMeta, getSiteSetting, getSiteSettings, getSource, getSuggestions, getTaxonomyDef, getTaxonomyDefs, getTaxonomyTerms, getTerm, getTermsForEntries, getTranslations, getUrlSources, getWidgetArea, getWidgetAreas, getWidgetComponents, handleContentAuthors, handleContentCompare, handleContentCountScheduled, handleContentCountTrashed, handleContentCreate, handleContentDelete, handleContentDiscardDraft, handleContentDuplicate, handleContentGet, handleContentGetIncludingTrashed, handleContentList, handleContentListTrashed, handleContentPermanentDelete, handleContentPublish, handleContentRestore, handleContentSchedule, handleContentTranslations, handleContentUnpublish, handleContentUnschedule, handleContentUpdate, handleMediaCreate, handleMediaDelete, handleMediaGet, handleMediaList, handleMediaUpdate, handleRevisionGet, handleRevisionList, handleRevisionRestore, hashGuestAccessToken, hashString, image, importReusableBlocksAsSections, invalidateBylineObjectCache, invalidateCollectionCache, invalidateCommentObjectCache, invalidateMenuObjectCache, invalidateObjectCache, invalidateSchemaObjectCache, invalidateTaxonomyObjectCache, isBlockedInPreview, isI18nEnabled, isObjectCacheActive, isPreviewRequest, isSafeHref, isStandardPluginDefinition, issueGuestAccessToken, normalizeMediaValue, parseContentId, parsePreviewSignatureHeader, parseWxr, parseWxrDate, parseWxrString, pluginManifestSchema, portableText, portableTextToProsemirror, probeUrl, prosemirrorToPortableText, reference, registerSource, renderPreviewLoadingPage, renderPreviewToolbar, resolveDinewayPath, runPluginMigrations, runWithContext, sanitizeHref, search, searchCollection, searchWithDb, setSiteSettings, signPreviewUrl, ulid, validateSeed, verifyGuestAccessToken, verifyPreviewSignature, verifyPreviewToken, wordpressRestSource, wxrSource };
20
+ export { type AfterCallback, type ApiContext, type AppliedSnapshotMeta, type ApplySnapshotToDatabaseOptions, type Assignment, type AssignmentAccessContext, type AssignmentActionInput, type AssignmentActorRef, type AssignmentActorType, type AssignmentListInput, type AssignmentListQuery, type AssignmentPriority, AssignmentRepository, AssignmentService, type AssignmentStatus, type AttachmentInfo, type AuthDescriptor, type AuthProviderAdminExports, type AuthProviderDescriptor, type AuthProviderModule, type AuthResult, type AuthRouteDescriptor, type BreadcrumbItem, type BuiltContentReleasePayload, BylineRepository, type BylineSummary, type CMSAnnotation, type CacheHint, CacheNamespace, type CachedQueryOptions, type Collection, type CollectionCommentSettings, type CollectionFilter, type CollectionResult, type CollectionSchemaStatus, type CollectionSearchOptions, type CollectionSource, type CollectionSupport, type CollectionWithFields, type ColumnType, type CommentAfterCreateEvent, type CommentAfterCreateHandler, type CommentAfterModerateEvent, type CommentAfterModerateHandler, type CommentBeforeCreateEvent, type CommentBeforeCreateHandler, type CommentModerateEvent, type CommentModerateHandler, type ContentAccess, type ContentBylineCredit, type ContentBylineInput, type ContentDeleteEvent, type ContentEntry, type ContentHookEvent, type ContentItem, type ContentListResponse, type ContentPublishStateChangeEvent, type ContentReference, ContentRepository, type ContentResponse, type ContentSeo, type ContentSeoInput, type CreateAssignmentInput, type CreateBylineInput, type CreateCollectionInput, type CreateContentInput, type CreateFieldInput, type CreateHandoffSnapshotInput, type CreateMediaInput, type CreateMenuInput, type CreateMenuItemInput, type CreateRelationInput, type CreateSectionInput, type CreateSiteActivityInput, type CreateStorageFn, type CreateTermInput, type CreateWidgetAreaInput, type CreateWidgetInput, type CreateWorkflowAssignmentInput, type Database, type DatabaseConfig, type DatabaseDescriptor, type DatabaseDialectType, type DinewayCollections, DinewayDatabaseError, type DinewayRequestContext, DinewayStorageError, DinewayValidationError, type DownloadResult, type EditFieldMeta, type EditProxy, type EntryData, type EntryFilter, type EntryResult, type ExternalAuthConfig, FIELD_TYPE_TO_COLUMN, FTSManager, type FetchOptions, type Field, type FieldAnnotation, type FieldCompatibility, type FieldDefinition, type FieldDescriptor, type FieldType, type FieldUIHints, type FieldValidation, type FieldWidgetConfig, type FieldWidgetOptions, type FileInfo, type FileInput, type FilePreviewMiddlewareConfig, FileSessionDatabaseFactory, type FileSessionDatabaseFactoryOptions, type FileValue, type FindManyOptions, type FindManyResult, type GeneratePreviewTokenOptions, type GetCommentsOptions, type GetCommentsResult, type GetPreviewUrlOptions, type GetSectionsOptions, type GuestAccessExpectedScope, type GuestAccessTokenClaims, GuestAccessTokenConfigurationError, type HandoffResumeResult, type HandoffSnapshot, HandoffSnapshotStore, type HookConfig, type HookName, HookPipeline, type HookResult, type HttpAccess, type I18nConfig, type ImageValue, type ImportAnalysis, type ImportConfig, type ImportContext, type ImportFieldDef, type ImportResult, type ImportSource, type InferCollectionData, type IssueGuestAccessTokenOptions, type IssuedGuestAccessToken, type KVAccess, type LibsqlConfig, type ListOptions, type ListResponse, type ListResult, type CollectionFilter$1 as LoaderCollectionFilter, type LocalStorageConfig, type LogAccess, type ManifestResponse, type MarkAssignmentsOverdueInput, type MediaAccess, type MediaItem, type MediaListResponse, type MediaReference, MediaRepository, type MediaResponse, type MediaTable, type MediaUploadEvent, type MediaValue, type Menu, type MenuItem, type MenuItemType, type MigrationStatus, type ModerationDecision, NodeSandboxRunner, NoopSandboxRunner, type NormalizedItem, type OAuthInput, type ObjectCacheBackend, type ObjectCacheDescriptor, type ObjectCacheRuntimeConfig, type PageFragmentContribution, type PageFragmentEvent, type PageFragmentHandler, type PageMetadataContribution, type PageMetadataEvent, type PageMetadataHandler, type PagePlacement, type PlaceholderData, type PluginActor, type PluginActorType, type PluginAdminConfig, type PluginAdminExports, type PluginAdminPage, type PluginAuthMethod, type PluginCapability, type PluginContext, type PluginDefinition, type PluginDescriptor, type PluginHooks, PluginManager, type PluginManifest, type PluginMcpAuthorization, type PluginMcpCommandPreview, type PluginMcpCommandTool, type PluginMcpConfig, type PluginMcpExecutionContext, type PluginMcpPiiClass, type PluginMcpPiiPolicy, type PluginMcpQueryTool, type PluginMcpResource, type PluginMcpResourceContent, type PluginMcpReversibility, type PluginMcpRiskFactor, type PluginMcpRiskLevel, type PluginMcpTargetAuthorizer, type PluginMcpTool, type PluginMigration, type PluginRoute, type PluginRouteAuthorization, type PluginRouteBodyMode, PluginRouteError, type PluginRouteMethod, type PluginRouteTargetAuthorizationRequest, type PluginRouteTargetAuthorizer, type PluginRouteTargetContext, type PluginSecretStatus, PluginSecretStore, type PluginSecretStoreOptions, type PluginStorageConfig, type PluginTargetScope, type PortableTextBlock, type PortableTextBlockConfig, type PortableTextBlockField, type PortableTextCodeBlock, type PortableTextHtmlBlock, type PortableTextImageBlock, type PortableTextLinkMark, type PortableTextMarkDef, type PortableTextSpan, type PortableTextTextBlock, type PortableTextUnknownBlock, type PostTypeAnalysis, type PostTypeMapping, type PostgresConfig, type PreviewSidecarClient, type PreviewSidecarSignature, type PreviewTokenPayload, type PreviewToolbarConfig, type ProbeResult, type PropDef, type ProseMirrorDocument, type ProseMirrorMark, type ProseMirrorNode, type PublicPageContext, type PublicationReadinessBlocker, type PublicationReadinessPolicyTarget, type PublicationReleasePolicy, type PublicationReleasePolicyContribution, type PublicationReleasePreparationTarget, RESERVED_COLLECTION_SLUGS, RESERVED_FIELD_SLUGS, type RateLimitResult, type Relation, RelationRepository, type ReorderMenuItemsInput, type ReorderWidgetsInput, type ResolvePathResult, type ResolvedHook, type ResolvedPlugin, type ResolvedPluginHooks, type ResolvedPluginMcpConfig, type RestaurantCapacityCounterTable, type RestaurantCapacityOverrideTable, type RestaurantCartHoldTable, type RestaurantClosureTable, type RestaurantDeliverySettingsTable, type RestaurantDeliveryZoneTable, type RestaurantDineInSessionTable, type RestaurantDineInSettingsTable, type RestaurantFulfilmentType, type RestaurantGiftCardLedgerEntryTable, type RestaurantGiftCardTable, type RestaurantGuestAccessTable, type RestaurantHoursOverrideTable, type RestaurantHoursTable, type RestaurantLocationMembershipTable, type RestaurantLocationTable, type RestaurantMenuItemModifierGroupTable, type RestaurantMenuItemTable, type RestaurantMenuItemTranslationTable, type RestaurantMenuLocationAssignmentTable, type RestaurantMenuOverrideTable, type RestaurantMenuSectionItemTable, type RestaurantMenuSectionTable, type RestaurantMenuTable, type RestaurantModifierGroupTable, type RestaurantModifierOptionTable, type RestaurantNotificationSettingsTable, type RestaurantOperatingSettingsTable, type RestaurantOrderItemModifierTable, type RestaurantOrderItemTable, type RestaurantOrderSequenceTable, type RestaurantOrderSnapshotTable, type RestaurantOrderSource, type RestaurantOrderStatus, type RestaurantOrderStatusHistoryTable, type RestaurantOrderTable, type RestaurantOutboxDeliveryTable, type RestaurantPaymentFlow, type RestaurantPaymentStatus, type RestaurantPaymentTable, type RestaurantPriorityAlertDeliveryTable, type RestaurantPriorityAlertOpportunityTable, type RestaurantPriorityAlertTable, type RestaurantRefundTable, type RestaurantReservationAddonCategoryTable, type RestaurantReservationAddonTable, type RestaurantReservationBlockTable, type RestaurantReservationDemandSettingsTable, type RestaurantReservationExperienceAddonCategoryTable, type RestaurantReservationExperienceIncludedAddonTable, type RestaurantReservationExperienceTable, type RestaurantReservationGiftCardAllocationTable, type RestaurantReservationGiftCardOperationTable, type RestaurantReservationHoldAddonOperationTable, type RestaurantReservationHoldAddonTable, type RestaurantReservationHoldCommercialSelectionTable, type RestaurantReservationHoldTable, type RestaurantReservationLanguageSettingsTable, type RestaurantReservationOfferLinkDeliveryTable, type RestaurantReservationOfferTable, type RestaurantReservationPaymentPolicyTable, type RestaurantReservationPromotionAllocationTable, type RestaurantReservationPromotionOperationTable, type RestaurantReservationPromotionTable, type RestaurantReservationQuoteCheckoutTable, type RestaurantReservationQuoteLineTable, type RestaurantReservationQuoteTable, type RestaurantReservationRequestTable, type RestaurantReservationRequestTableAssignmentTable, type RestaurantReservationSettingsTable, type RestaurantReservationStatus, type RestaurantReservationTable, type RestaurantReservationTableAssignmentTable, type RestaurantServiceScope, type RestaurantSpecialHoursTable, type RestaurantTabRoundTable, type RestaurantTableTable, type RestaurantTaxMode, type RestaurantZoneTable, type ResumeHandoffSnapshotInput, type RevisionListResponse, RevisionRepository, type RevisionResponse, type RouteContext, type S3StorageConfig, type SandboxEmailMessage, type SandboxEmailSendCallback, SandboxNotAvailableError, type SandboxOptions, type SandboxRunner, type SandboxRunnerFactory, type SandboxedPlugin, ScheduledNotDueError, SchemaError, SchemaRegistry, type SearchConfig, type SearchOptions, type SearchResponse, type SearchResult, type SearchStats, type Section, type SectionSource, type SeedApplyOptions, type SeedApplyResult, type SeedCollection, type SeedContentEntry, type SeedField, type SeedFile, type SeedMenu, type SeedMenuItem, type SeedTaxonomy, type SeedTaxonomyTerm, type SeedWidget, type SeedWidgetArea, type SeoMeta, type SeoMetaOptions, type SeoSettings, type SerializedRequest, type SessionCleanupResult, type SessionDatabaseFactory, type SessionDatabaseHandle, type SessionDatabaseInfo, SessionDatabaseLimitError, type SessionOpenOptions, type SessionOpenOrCreateOptions, type SignedUploadOptions, type SignedUploadUrl, type SiteActivity, type SiteActivityActorType, SiteActivityRepository, type SiteActivityResultStatus, type SiteActivitySourceType, type SiteActivityTimelineQuery, type SiteSettingKey, type SiteSettings, type Snapshot, type SourceAuth, type SourceCapabilities, type SourceInput, type SourceProbeResult, type SqliteConfig, type StandardHookEntry, type StandardHookHandler, type StandardPluginDefinition, type StandardRouteEntry, type StandardRouteHandler, type Storage, type StorageCollection, type StorageDescriptor, type StoredComment, type SuggestOptions, type SuggestedAction, type Suggestion, type TaxonomyDef, type TaxonomyTerm, type TaxonomyTermRow, type TranslationSummary, type TranslationsResult, type UpdateBylineInput, type UpdateCollectionInput, type UpdateContentInput, type UpdateFieldInput, type UpdateMenuInput, type UpdateMenuItemInput, type UpdateRelationInput, type UpdateSectionInput, type UpdateTermInput, type UpdateWidgetInput, type UploadResult, type UrlInput, type UserTable, type ValidatedPluginManifest, type ValidationResult, type VenueAvailabilityBlockTable, type VenueAvailabilityRuleTable, type VenueBookingHoldTable, type VenueBookingMode, type VenueBookingPolicyTable, type VenueCancellationPolicyTable, type VenueCancellationPolicyTierTable, type VenueConversationReadTable, type VenueConversationTable, type VenueGuestAccessTable, type VenueLocationMembershipTable, type VenueLocationTable, type VenueMessageTable, type VenueNotificationSettingsTable, type VenueOrderCancellationSnapshotTable, type VenueOrderStatus, type VenueOrderStatusHistoryTable, type VenueOrderTable, type VenueOutboxEventTable, type VenuePaymentAllocationStatus, type VenuePaymentAllocationTable, type VenuePaymentCollection, type VenuePaymentEventTable, type VenuePaymentRecordStatus, type VenuePaymentStatus, type VenuePaymentTable, type VenueQuoteLineTable, type VenueQuoteRecordStatus, type VenueQuoteStatus, type VenueQuoteTable, type VenueRatePlanTable, type VenueRecordStatus, type VenueRefundTable, type VenueReviewInvitationTable, type VenueReviewResponseTable, type VenueReviewTable, type VenueSpaceLayoutTable, type VenueSpaceTable, type VenueTable, type VerifyGuestAccessTokenOptions, type VerifyGuestAccessTokenResult, type VerifyPreviewTokenOptions, type VerifyPreviewTokenResult, type WhereRange, type WhereValue, type Widget, type WidgetArea, type WidgetComponentDef, type WidgetType, type WxrAttachment, type WxrAuthor, type WxrCategory, type WxrData, type WxrPost, type WxrSite, type WxrTag, adaptSandboxEntry, after, applySeed, applySnapshotToDatabase, buildPreviewSignatureHeader, buildPreviewUrl, buildStableActionHash, cachedQuery, checkRateLimit, clearSources, computeContentHash, contentNamespace, contentNamespaces, createEditable, createFilePreviewMiddleware, createHookPipeline, createNodeSandboxRunner, createNoop, createNoopSandboxRunner, createPluginManager, createReviewedPluginMcpCommandExecutor, currentTimestamp, decodeCursor, decodeSlug, defaultPreviewSidecarClient, definePlugin, dropSessionDatabaseTables, encodeCursor, extractPlainText, extractSearchableFields, generateManifest, generatePlaceholder, generatePreviewToken, getAllSources, getAppliedSnapshotMeta, getByline, getBylineBySlug, getCollectionInfo, getCommentCount, getComments, getContentSeo, getDb, getDinewayCollection, getDinewayEntry, getEditMeta, getEntriesByByline, getEntriesByTerm, getEntryTerms, getFallbackChain, getFileSources, getI18nConfig, getMenu, getMenus, getMigrationStatus, getPluginSetting, getPluginSettings, getPreviewToken, getPreviewUrl, getRequestContext, getSearchStats, getSection, getSections, getSeoMeta, getSiteSetting, getSiteSettings, getSource, getSuggestions, getTaxonomyDef, getTaxonomyDefs, getTaxonomyTerms, getTerm, getTermsForEntries, getTranslations, getUrlSources, getWidgetArea, getWidgetAreas, getWidgetComponents, handleContentAuthors, handleContentCompare, handleContentCountScheduled, handleContentCountTrashed, handleContentCreate, handleContentDelete, handleContentDiscardDraft, handleContentDuplicate, handleContentGet, handleContentGetIncludingTrashed, handleContentList, handleContentListTrashed, handleContentPermanentDelete, handleContentPublish, handleContentRestore, handleContentSchedule, handleContentTranslations, handleContentUnpublish, handleContentUnschedule, handleContentUpdate, handleMediaCreate, handleMediaDelete, handleMediaGet, handleMediaList, handleMediaUpdate, handleRevisionGet, handleRevisionList, handleRevisionRestore, hashGuestAccessToken, hashString, image, importReusableBlocksAsSections, invalidateBylineObjectCache, invalidateCollectionCache, invalidateCommentObjectCache, invalidateMenuObjectCache, invalidateObjectCache, invalidateSchemaObjectCache, invalidateTaxonomyObjectCache, isBlockedInPreview, isI18nEnabled, isObjectCacheActive, isPreviewRequest, isSafeHref, isStandardPluginDefinition, issueGuestAccessToken, normalizeMediaValue, parseContentId, parsePreviewSignatureHeader, parseWxr, parseWxrDate, parseWxrString, pluginManifestSchema, portableText, portableTextToProsemirror, probeUrl, prosemirrorToPortableText, reference, registerSource, renderPreviewLoadingPage, renderPreviewToolbar, resolveDinewayPath, runPluginMigrations, runWithContext, sanitizeHref, search, searchCollection, searchWithDb, setSiteSettings, signPreviewUrl, ulid, validateSeed, verifyGuestAccessToken, verifyPreviewSignature, verifyPreviewToken, wordpressRestSource, wxrSource };
package/dist/index.mjs CHANGED
@@ -19,8 +19,8 @@ import "./options-DQPTH5n0.mjs";
19
19
  import "./audit-BzhwRVym.mjs";
20
20
  import { t as SiteActivityRepository } from "./site-activity-BVK40wCy.mjs";
21
21
  import "./review-requests-CObSuTYU.mjs";
22
- import "./publication-authorization-BVQ5rCAF.mjs";
23
- import { n as AssignmentService, r as HandoffSnapshotStore, w as AssignmentRepository } from "./site-context-CzaEGizi.mjs";
22
+ import "./publication-authorization-BYieJR6-.mjs";
23
+ import { n as AssignmentService, r as HandoffSnapshotStore, w as AssignmentRepository } from "./site-context-Bz8hdcZH.mjs";
24
24
  import "./context-DT0tIsfw.mjs";
25
25
  import "./menus-LYALU2Mf.mjs";
26
26
  import "./redirect-DoDgOWIA.mjs";
@@ -32,7 +32,7 @@ import { t as BylineRepository } from "./byline-BJa1MyKB.mjs";
32
32
  import { n as normalizeMediaValue } from "./normalize-Cyt7JdF7.mjs";
33
33
  import { n as generatePlaceholder } from "./enrich-Ck9tfMqe.mjs";
34
34
  import "./seo-D1RiaooQ.mjs";
35
- import { $ as handleContentUpdate, A as handleRevisionGet, B as handleContentDiscardDraft, D as handleMediaGet, E as handleMediaDelete, F as handleContentCompare, G as handleContentListTrashed, H as handleContentGet, I as handleContentCountScheduled, J as handleContentRestore, K as handleContentPermanentDelete, L as handleContentCountTrashed, M as handleRevisionRestore, N as generateManifest, O as handleMediaList, P as handleContentAuthors, Q as handleContentUnschedule, R as handleContentCreate, T as handleMediaCreate, U as handleContentGetIncludingTrashed, V as handleContentDuplicate, W as handleContentList, X as handleContentTranslations, Y as handleContentSchedule, Z as handleContentUnpublish, j as handleRevisionList, k as handleMediaUpdate, q as handleContentPublish, z as handleContentDelete } from "./api-BZ_oWfPM.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-C3-s1R27.mjs";
36
36
  import "./dashboard-YvDEYbS3.mjs";
37
37
  import "./briefing-GFhLTLJo.mjs";
38
38
  import "./context-types-eBuMDAg-.mjs";
@@ -62,8 +62,8 @@ 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";
64
64
  import "./parse-B-Y84oJl.mjs";
65
- import "./redirects-E_B6hvuz.mjs";
66
- import "./byline-fields-yT4herdN.mjs";
65
+ import "./redirects-CALMB6T5.mjs";
66
+ import "./byline-fields-Co_MIUWm.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";
@@ -75,7 +75,7 @@ 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-DnlF7mIL.mjs";
78
+ import { t as createReviewedPluginMcpCommandExecutor } from "./mcp-reviewed-executor-DM53lZ9z.mjs";
79
79
  import "./activity-BDMlkpYY.mjs";
80
80
  import "./activity-events-DEYmJhWd.mjs";
81
81
  import "./utils-B7gemXz5.mjs";
@@ -1,4 +1,4 @@
1
- import { A as PageMetadataLinkRel, D as PageMetadataContribution, gt as PublicPageContext, j as PagePlacement, t as BreadcrumbItem, w as PageFragmentContribution } from "./types-CQnfHvPQ.mjs";
1
+ import { A as PageMetadataLinkRel, D as PageMetadataContribution, gt as PublicPageContext, j as PagePlacement, t as BreadcrumbItem, w as PageFragmentContribution } from "./types-C-3YPdr-.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
- import { o as HitlRequestRepository } from "./publication-authorization-BVQ5rCAF.mjs";
2
- import { b as HitlRequestService } from "./site-context-CzaEGizi.mjs";
1
+ import { o as HitlRequestRepository } from "./publication-authorization-BYieJR6-.mjs";
2
+ import { b as HitlRequestService } from "./site-context-Bz8hdcZH.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-CQnfHvPQ.mjs";
1
+ import "../types-C-3YPdr-.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-CXBvHvRM.mjs";
9
+ import "../byline-fields-bnvqaEuF.mjs";
10
10
  import "../types-BsTXSvKG.mjs";
11
11
  import "../index.mjs";
12
12
  import { Kysely } from "kysely";
@@ -1,12 +1,12 @@
1
- import { D as PageMetadataContribution, gt as PublicPageContext, w as PageFragmentContribution } from "../types-CQnfHvPQ.mjs";
1
+ import { D as PageMetadataContribution, gt as PublicPageContext, w as PageFragmentContribution } from "../types-C-3YPdr-.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-CXBvHvRM.mjs";
7
+ import "../byline-fields-bnvqaEuF.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-BFdufCos.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-CG-hNWNO.mjs";
10
10
 
11
11
  //#region src/page/index.d.ts
12
12
  /**
@@ -1,10 +1,10 @@
1
- import "./types-CQnfHvPQ.mjs";
1
+ import "./types-C-3YPdr-.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-CXBvHvRM.mjs";
7
+ import "./byline-fields-bnvqaEuF.mjs";
8
8
  import "./types-BsTXSvKG.mjs";
9
9
  import { DinewayHandlers } from "./astro/types.mjs";
10
10
 
@@ -1,10 +1,10 @@
1
- import { io as PluginDescriptor, vt as ResolvedPlugin, wt as StandardPluginDefinition } from "../types-CQnfHvPQ.mjs";
1
+ import { co as PluginDescriptor, vt as ResolvedPlugin, wt as StandardPluginDefinition } from "../types-C-3YPdr-.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-CXBvHvRM.mjs";
7
+ import "../byline-fields-bnvqaEuF.mjs";
8
8
  import "../types-BsTXSvKG.mjs";
9
9
 
10
10
  //#region src/plugins/adapt-sandbox-entry.d.ts
@@ -1,4 +1,4 @@
1
- import { ro as DinewayConfig } from "./types-CQnfHvPQ.mjs";
1
+ import { so as DinewayConfig } from "./types-C-3YPdr-.mjs";
2
2
 
3
3
  //#region src/api/public-url.d.ts
4
4
  /**
@@ -491,6 +491,7 @@ var PublicationAuthorizationService = class {
491
491
  hitlRequests;
492
492
  activity;
493
493
  releasePayloadBuilder;
494
+ reviewPayloadBuilder;
494
495
  policies;
495
496
  getSiteTimezone;
496
497
  now;
@@ -504,6 +505,7 @@ var PublicationAuthorizationService = class {
504
505
  handlers: options.handlers,
505
506
  reviewRequests: this.reviewRequests
506
507
  });
508
+ this.reviewPayloadBuilder = new ReviewPayloadBuilder(options.handlers);
507
509
  this.policies = [...options.policies ?? []].toSorted((left, right) => left.id.localeCompare(right.id));
508
510
  this.assertUniquePolicyIds();
509
511
  this.getSiteTimezone = options.getSiteTimezone ?? (async () => {
@@ -511,6 +513,120 @@ var PublicationAuthorizationService = class {
511
513
  });
512
514
  this.now = options.now ?? (() => (/* @__PURE__ */ new Date()).toISOString());
513
515
  }
516
+ async checkPublicationReadiness(input) {
517
+ const generatedAt = this.now();
518
+ const operation = input.operation ?? "publish";
519
+ const siteTimezone = await this.getSiteTimezone();
520
+ const blockers = [];
521
+ if (input.actor.actorType === "system") blockers.push({
522
+ code: "ACTOR_NOT_ALLOWED",
523
+ source: "authorization",
524
+ message: "System actors must use the scheduled publication boundary"
525
+ });
526
+ if (operation === "schedule" && !input.scheduledAt) blockers.push({
527
+ code: "SCHEDULED_AT_REQUIRED",
528
+ source: "content",
529
+ message: "Scheduled publication requires a timestamp"
530
+ });
531
+ let target = null;
532
+ try {
533
+ const editorial = await this.reviewPayloadBuilder.buildContentReviewPayload({
534
+ collection: input.collection,
535
+ id: input.id
536
+ });
537
+ target = {
538
+ collection: editorial.collection,
539
+ entryId: editorial.entryId,
540
+ scope: editorial.scope,
541
+ operation,
542
+ liveRevisionId: editorial.liveRevisionId,
543
+ draftRevisionId: editorial.draftRevisionId,
544
+ reviewedRev: editorial.reviewedRev,
545
+ publishedAt: input.publishedAt ?? null,
546
+ scheduledAt: input.scheduledAt ?? null,
547
+ siteTimezone
548
+ };
549
+ if (!editorial.draftRevisionId) blockers.push({
550
+ code: "EXACT_DRAFT_REQUIRED",
551
+ source: "content",
552
+ message: "Publication requires an exact current Draft Revision"
553
+ });
554
+ } catch (error) {
555
+ blockers.push({
556
+ code: "CONTENT_RELEASE_TARGET_INVALID",
557
+ source: "content",
558
+ message: error instanceof Error ? error.message : "Publication target is invalid"
559
+ });
560
+ }
561
+ if (!input.editorialReviewRequestId) blockers.push({
562
+ code: "EDITORIAL_REVIEW_REQUIRED",
563
+ source: "editorial_review",
564
+ message: "Publication requires an approved Review for the exact current Draft"
565
+ });
566
+ else if (target && (operation !== "schedule" || input.scheduledAt)) try {
567
+ await this.releasePayloadBuilder.buildContentReleasePayload({
568
+ collection: input.collection,
569
+ id: input.id,
570
+ operation,
571
+ editorialReviewRequestId: input.editorialReviewRequestId,
572
+ publishedAt: input.publishedAt,
573
+ scheduledAt: input.scheduledAt,
574
+ siteTimezone
575
+ });
576
+ } catch (error) {
577
+ blockers.push({
578
+ code: "EDITORIAL_REVIEW_INVALID",
579
+ source: "editorial_review",
580
+ message: error instanceof Error ? error.message : "Editorial review is invalid"
581
+ });
582
+ }
583
+ if (isTokenAuthenticatedActor(input.actor)) if (!input.releaseHitlRequestId) blockers.push({
584
+ code: "RELEASE_HITL_REQUIRED",
585
+ source: "release_hitl",
586
+ message: "Token-authenticated publication requires approved release authorization"
587
+ });
588
+ else {
589
+ const request = await this.hitlRequests.findById(input.releaseHitlRequestId);
590
+ if (!request || !target || !basicReleaseHitlMatches(request, target, input.actor)) blockers.push({
591
+ code: "RELEASE_HITL_INVALID",
592
+ source: "release_hitl",
593
+ message: "Release authorization is not approved for the current target and actor"
594
+ });
595
+ }
596
+ if (target) {
597
+ const policyBlockerGroups = await Promise.all(this.policies.map(async (policy) => {
598
+ if (!policy.checkReadiness) return [{
599
+ code: "POLICY_READINESS_UNAVAILABLE",
600
+ source: "policy",
601
+ policyId: policy.id,
602
+ message: `Publication policy ${policy.id} has no read-only readiness check`
603
+ }];
604
+ try {
605
+ return (await policy.checkReadiness(target)).map((blocker) => ({
606
+ ...blocker,
607
+ source: "policy",
608
+ policyId: blocker.policyId ?? policy.id
609
+ }));
610
+ } catch (error) {
611
+ return [{
612
+ code: "POLICY_READINESS_FAILED",
613
+ source: "policy",
614
+ policyId: policy.id,
615
+ message: error instanceof Error ? error.message : "Publication policy readiness failed"
616
+ }];
617
+ }
618
+ }));
619
+ blockers.push(...policyBlockerGroups.flat());
620
+ }
621
+ const orderedBlockers = blockers.toSorted((left, right) => `${left.source}:${left.policyId ?? ""}:${left.code}:${left.message}`.localeCompare(`${right.source}:${right.policyId ?? ""}:${right.code}:${right.message}`));
622
+ return {
623
+ ready: orderedBlockers.length === 0,
624
+ generatedAt,
625
+ nextAction: orderedBlockers.length === 0 ? operation : "fix_release_blockers",
626
+ target,
627
+ blockers: orderedBlockers
628
+ };
629
+ }
514
630
  async publishAuthorizedContent(input) {
515
631
  const siteTimezone = await this.getSiteTimezone();
516
632
  const authorized = await this.authorize({
@@ -529,7 +645,8 @@ var PublicationAuthorizationService = class {
529
645
  await this.logSuccess(input, authorized.release, consumed);
530
646
  return {
531
647
  grant: consumed,
532
- result
648
+ result,
649
+ receipt: publicationReceipt(consumed, "published")
533
650
  };
534
651
  }
535
652
  async scheduleAuthorizedContent(input) {
@@ -544,7 +661,8 @@ var PublicationAuthorizationService = class {
544
661
  await this.logSuccess(input, authorized.release, authorized.grant);
545
662
  return {
546
663
  grant: authorized.grant,
547
- result
664
+ result,
665
+ receipt: publicationReceipt(authorized.grant, "scheduled")
548
666
  };
549
667
  }
550
668
  async publishAuthorizedDueContent(input) {
@@ -576,7 +694,8 @@ var PublicationAuthorizationService = class {
576
694
  await this.logScheduledPublish(release, consumed);
577
695
  return {
578
696
  grant: consumed,
579
- result
697
+ result,
698
+ receipt: publicationReceipt(consumed, "published")
580
699
  };
581
700
  }
582
701
  async unscheduleAuthorizedContent(input) {
@@ -936,6 +1055,29 @@ function toStoredPolicyContributions(contributions) {
936
1055
  function matchesReleaseHitl(request, release, actor) {
937
1056
  return request.status === "approved" && request.scope === release.scope && request.actionType === release.actionType && request.targetRefType === "content" && request.targetRefId === release.entryId && request.requestedByActorType === actor.actorType && request.requestedByActorId === actor.actorId && extractActionHash(request.metadata) === release.actionHash;
938
1057
  }
1058
+ function basicReleaseHitlMatches(request, target, actor) {
1059
+ return request.status === "approved" && request.scope === target.scope && request.actionType === (target.operation === "publish" ? "content.release.publish" : "content.release.schedule") && request.targetRefType === "content" && request.targetRefId === target.entryId && request.requestedByActorType === actor.actorType && request.requestedByActorId === actor.actorId;
1060
+ }
1061
+ function publicationReceipt(grant, status) {
1062
+ return {
1063
+ id: grant.id,
1064
+ status,
1065
+ collection: grant.collection,
1066
+ contentId: grant.entryId,
1067
+ liveRevisionId: status === "published" ? grant.draftRevisionId : grant.liveRevisionId,
1068
+ draftRevisionId: grant.draftRevisionId,
1069
+ editorialReviewRequestId: grant.editorialReviewRequestId,
1070
+ releaseHitlRequestId: grant.releaseHitlRequestId,
1071
+ actionHash: grant.actionHash,
1072
+ policyContributions: grant.policyContributions,
1073
+ authorizedByActorType: grant.authorizedByActorType,
1074
+ authorizedByActorId: grant.authorizedByActorId,
1075
+ createdAt: grant.createdAt,
1076
+ consumedAt: grant.consumedAt,
1077
+ publishedAt: grant.publishedAt ?? (status === "published" ? grant.consumedAt : null),
1078
+ scheduledAt: grant.scheduledAt
1079
+ };
1080
+ }
939
1081
  function reviewMatchesGrant(review, grant) {
940
1082
  return review.status === "approved" && review.collection === grant.collection && review.entryId === grant.entryId && review.scope === grant.scope && review.liveRevisionId === grant.liveRevisionId && review.draftRevisionId === grant.draftRevisionId && review.reviewedRev === grant.reviewedRev && review.actionType === "content.publish";
941
1083
  }