dineway 0.2.3 → 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 (158) hide show
  1. package/dist/api/route-utils.d.mts +3 -3
  2. package/dist/api/schemas/index.d.mts +2 -2
  3. package/dist/api/schemas/index.mjs +3 -3
  4. package/dist/{api-BFey0dOt.mjs → api-C3-s1R27.mjs} +1 -1
  5. package/dist/astro/index.d.mts +2 -2
  6. package/dist/astro/index.mjs +1 -1
  7. package/dist/astro/middleware/auth.d.mts +2 -2
  8. package/dist/astro/middleware.mjs +8 -7
  9. package/dist/astro/routes/api/admin/allowed-domains/_domain_.mjs +2 -2
  10. package/dist/astro/routes/api/admin/allowed-domains/index.mjs +2 -2
  11. package/dist/astro/routes/api/admin/briefing.mjs +2 -2
  12. package/dist/astro/routes/api/admin/byline-fields/_slug_.mjs +2 -2
  13. package/dist/astro/routes/api/admin/byline-fields/index.mjs +2 -2
  14. package/dist/astro/routes/api/admin/byline-fields/reorder.mjs +2 -2
  15. package/dist/astro/routes/api/admin/bylines/_id_/index.mjs +2 -2
  16. package/dist/astro/routes/api/admin/bylines/_id_/translations.mjs +2 -2
  17. package/dist/astro/routes/api/admin/bylines/index.mjs +2 -2
  18. package/dist/astro/routes/api/admin/comments/_id_/status.mjs +2 -2
  19. package/dist/astro/routes/api/admin/comments/bulk.mjs +2 -2
  20. package/dist/astro/routes/api/admin/comments/index.mjs +2 -2
  21. package/dist/astro/routes/api/admin/context/_id_/history.mjs +3 -3
  22. package/dist/astro/routes/api/admin/context/_id_/index.mjs +3 -3
  23. package/dist/astro/routes/api/admin/context/_id_/review.mjs +5 -5
  24. package/dist/astro/routes/api/admin/context/_id_/supersede.mjs +5 -5
  25. package/dist/astro/routes/api/admin/context/diff.mjs +5 -5
  26. package/dist/astro/routes/api/admin/context/index.mjs +5 -5
  27. package/dist/astro/routes/api/admin/context/stale.mjs +5 -5
  28. package/dist/astro/routes/api/admin/hitl-requests/_id_/index.mjs +4 -4
  29. package/dist/astro/routes/api/admin/hitl-requests/_id_/resolve.mjs +6 -6
  30. package/dist/astro/routes/api/admin/hitl-requests/index.mjs +6 -6
  31. package/dist/astro/routes/api/admin/hooks/exclusive/_hookName_.mjs +3 -3
  32. package/dist/astro/routes/api/admin/plugins/_id_/disable.mjs +6 -6
  33. package/dist/astro/routes/api/admin/plugins/_id_/enable.mjs +6 -6
  34. package/dist/astro/routes/api/admin/plugins/_id_/index.mjs +3 -3
  35. package/dist/astro/routes/api/admin/plugins/_id_/uninstall.mjs +6 -6
  36. package/dist/astro/routes/api/admin/plugins/_id_/update.mjs +6 -6
  37. package/dist/astro/routes/api/admin/plugins/index.mjs +3 -3
  38. package/dist/astro/routes/api/admin/plugins/marketplace/_id_/index.mjs +3 -3
  39. package/dist/astro/routes/api/admin/plugins/marketplace/_id_/install.mjs +6 -6
  40. package/dist/astro/routes/api/admin/plugins/marketplace/index.mjs +3 -3
  41. package/dist/astro/routes/api/admin/plugins/updates.mjs +3 -3
  42. package/dist/astro/routes/api/admin/review-requests/_id_/resolve.mjs +4 -4
  43. package/dist/astro/routes/api/admin/review-requests/index.mjs +4 -4
  44. package/dist/astro/routes/api/admin/themes/marketplace/_id_/index.mjs +3 -3
  45. package/dist/astro/routes/api/admin/themes/marketplace/index.mjs +3 -3
  46. package/dist/astro/routes/api/admin/users/_id_/index.mjs +2 -2
  47. package/dist/astro/routes/api/admin/users/index.mjs +2 -2
  48. package/dist/astro/routes/api/auth/invite/complete.mjs +2 -2
  49. package/dist/astro/routes/api/auth/invite/index.mjs +2 -2
  50. package/dist/astro/routes/api/auth/invite/register-options.mjs +2 -2
  51. package/dist/astro/routes/api/auth/magic-link/send.mjs +2 -2
  52. package/dist/astro/routes/api/auth/me.mjs +2 -2
  53. package/dist/astro/routes/api/auth/passkey/_id_.mjs +2 -2
  54. package/dist/astro/routes/api/auth/passkey/options.mjs +2 -2
  55. package/dist/astro/routes/api/auth/passkey/register/options.mjs +2 -2
  56. package/dist/astro/routes/api/auth/passkey/register/verify.mjs +2 -2
  57. package/dist/astro/routes/api/auth/passkey/verify.mjs +2 -2
  58. package/dist/astro/routes/api/auth/signup/complete.mjs +2 -2
  59. package/dist/astro/routes/api/auth/signup/request.mjs +2 -2
  60. package/dist/astro/routes/api/comments/_collection_/_contentId_/index.mjs +2 -2
  61. package/dist/astro/routes/api/comments/_collection_/_contentId_/reactions.mjs +2 -2
  62. package/dist/astro/routes/api/content/_collection_/_id_/preview-url.mjs +2 -2
  63. package/dist/astro/routes/api/content/_collection_/_id_/publish.mjs +14 -7
  64. package/dist/astro/routes/api/content/_collection_/_id_/release-readiness.d.mts +7 -0
  65. package/dist/astro/routes/api/content/_collection_/_id_/release-readiness.mjs +43 -0
  66. package/dist/astro/routes/api/content/_collection_/_id_/schedule.mjs +3 -3
  67. package/dist/astro/routes/api/content/_collection_/_id_/terms/_taxonomy_.mjs +2 -2
  68. package/dist/astro/routes/api/content/_collection_/_id_.mjs +2 -2
  69. package/dist/astro/routes/api/content/_collection_/index.mjs +2 -2
  70. package/dist/astro/routes/api/content/_collection_/trash.mjs +2 -2
  71. package/dist/astro/routes/api/health.mjs +1 -1
  72. package/dist/astro/routes/api/import/probe.mjs +2 -2
  73. package/dist/astro/routes/api/import/wordpress/execute.d.mts +2 -2
  74. package/dist/astro/routes/api/import/wordpress/execute.mjs +3 -3
  75. package/dist/astro/routes/api/import/wordpress/media.d.mts +2 -2
  76. package/dist/astro/routes/api/import/wordpress/media.mjs +2 -2
  77. package/dist/astro/routes/api/import/wordpress/prepare.mjs +5 -5
  78. package/dist/astro/routes/api/import/wordpress/rewrite-urls.d.mts +2 -2
  79. package/dist/astro/routes/api/import/wordpress/rewrite-urls.mjs +5 -5
  80. package/dist/astro/routes/api/import/wordpress-plugin/analyze.mjs +2 -2
  81. package/dist/astro/routes/api/import/wordpress-plugin/execute.d.mts +2 -2
  82. package/dist/astro/routes/api/import/wordpress-plugin/execute.mjs +5 -5
  83. package/dist/astro/routes/api/manifest.mjs +1 -1
  84. package/dist/astro/routes/api/mcp.mjs +46 -8
  85. package/dist/astro/routes/api/media/_id_/confirm.mjs +2 -2
  86. package/dist/astro/routes/api/media/_id_.mjs +2 -2
  87. package/dist/astro/routes/api/media/upload-url.mjs +2 -2
  88. package/dist/astro/routes/api/media.mjs +2 -2
  89. package/dist/astro/routes/api/menus/_name_/items/_id_.mjs +5 -5
  90. package/dist/astro/routes/api/menus/_name_/items.mjs +5 -5
  91. package/dist/astro/routes/api/menus/_name_/reorder.mjs +5 -5
  92. package/dist/astro/routes/api/menus/_name_/translations.mjs +5 -5
  93. package/dist/astro/routes/api/menus/_name_.mjs +5 -5
  94. package/dist/astro/routes/api/menus/index.mjs +5 -5
  95. package/dist/astro/routes/api/openapi.json.mjs +24 -3
  96. package/dist/astro/routes/api/redirects/404s/index.mjs +2 -2
  97. package/dist/astro/routes/api/redirects/404s/summary.mjs +2 -2
  98. package/dist/astro/routes/api/redirects/_id_.mjs +5 -5
  99. package/dist/astro/routes/api/redirects/index.mjs +5 -5
  100. package/dist/astro/routes/api/schema/collections/_slug_/fields/_fieldSlug_.mjs +3 -3
  101. package/dist/astro/routes/api/schema/collections/_slug_/fields/index.mjs +3 -3
  102. package/dist/astro/routes/api/schema/collections/_slug_/fields/reorder.mjs +3 -3
  103. package/dist/astro/routes/api/schema/collections/_slug_/index.mjs +3 -3
  104. package/dist/astro/routes/api/schema/collections/index.mjs +3 -3
  105. package/dist/astro/routes/api/schema/orphans/_slug_.mjs +3 -3
  106. package/dist/astro/routes/api/schema/orphans/index.mjs +3 -3
  107. package/dist/astro/routes/api/search/enable.mjs +2 -2
  108. package/dist/astro/routes/api/search/index.mjs +2 -2
  109. package/dist/astro/routes/api/search/rebuild.mjs +2 -2
  110. package/dist/astro/routes/api/search/suggest.mjs +2 -2
  111. package/dist/astro/routes/api/sections/_slug_.mjs +5 -5
  112. package/dist/astro/routes/api/sections/index.mjs +5 -5
  113. package/dist/astro/routes/api/settings.mjs +5 -5
  114. package/dist/astro/routes/api/setup/admin-verify.mjs +2 -2
  115. package/dist/astro/routes/api/setup/admin.mjs +2 -2
  116. package/dist/astro/routes/api/setup/index.mjs +2 -2
  117. package/dist/astro/routes/api/taxonomies/_name_/terms/_slug_/translations.mjs +5 -5
  118. package/dist/astro/routes/api/taxonomies/_name_/terms/_slug_.mjs +5 -5
  119. package/dist/astro/routes/api/taxonomies/_name_/terms/index.mjs +5 -5
  120. package/dist/astro/routes/api/taxonomies/index.mjs +5 -5
  121. package/dist/astro/routes/api/well-known/auth.mjs +1 -1
  122. package/dist/astro/routes/api/widget-areas/_name_/reorder.mjs +5 -5
  123. package/dist/astro/routes/api/widget-areas/_name_/widgets/_id_.mjs +5 -5
  124. package/dist/astro/routes/api/widget-areas/_name_/widgets.mjs +5 -5
  125. package/dist/astro/routes/api/widget-areas/_name_.mjs +3 -3
  126. package/dist/astro/routes/api/widget-areas/index.mjs +5 -5
  127. package/dist/astro/types.d.mts +3 -3
  128. package/dist/{byline-fields-yT4herdN.mjs → byline-fields-Co_MIUWm.mjs} +1 -1
  129. package/dist/{byline-fields-sRHzS0aM.d.mts → byline-fields-bnvqaEuF.d.mts} +208 -27
  130. package/dist/cli/index.mjs +54 -6
  131. package/dist/cli/plugin-kit.d.mts +8 -0
  132. package/dist/client/external-auth-headers.d.mts +1 -1
  133. package/dist/client/index.d.mts +22 -4
  134. package/dist/client/index.mjs +14 -2
  135. package/dist/{context-AJNd0tcG.mjs → context-m06dNjS1.mjs} +1 -1
  136. package/dist/{hitl-requests-Bee8Cjj8.mjs → hitl-requests-D8pHHlSA.mjs} +1 -1
  137. package/dist/{hitl-route-helpers-DtHaKGgm.mjs → hitl-route-helpers-BIzP0Opq.mjs} +1 -1
  138. package/dist/index.d.mts +3 -3
  139. package/dist/index.mjs +6 -6
  140. package/dist/{jsonld-B9A2e0yv.d.mts → jsonld-CG-hNWNO.d.mts} +1 -1
  141. package/dist/{mcp-reviewed-executor-DnlF7mIL.mjs → mcp-reviewed-executor-DM53lZ9z.mjs} +2 -2
  142. package/dist/media/local-runtime.d.mts +2 -2
  143. package/dist/page/index.d.mts +3 -3
  144. package/dist/plugin-utils.d.mts +2 -2
  145. package/dist/plugins/adapt-sandbox-entry.d.mts +2 -2
  146. package/dist/{public-url-C8QUncg3.d.mts → public-url-Cqi7Ds4u.d.mts} +1 -1
  147. package/dist/{publication-authorization-BVQ5rCAF.mjs → publication-authorization-BYieJR6-.mjs} +145 -3
  148. package/dist/{redirects-E_B6hvuz.mjs → redirects-CALMB6T5.mjs} +70 -1
  149. package/dist/runtime.d.mts +3 -3
  150. package/dist/{site-context-CzaEGizi.mjs → site-context-Bz8hdcZH.mjs} +1 -1
  151. package/dist/{types-JovwyJFE.d.mts → types-C-3YPdr-.d.mts} +166 -108
  152. package/dist/ui/server-runtime.d.mts +5 -5
  153. package/dist/version-D9xoSUza.mjs +6 -0
  154. package/package.json +3 -3
  155. package/dist/version-O6Zw1eqK.mjs +0 -6
  156. /package/dist/{portable-text-Ehqj3I_y.d.mts → portable-text-BYUu-wtj.d.mts} +0 -0
  157. /package/dist/{provider-loader-BIbIiz0P.d.mts → provider-loader-Db-pJFu3.d.mts} +0 -0
  158. /package/dist/{transport-BZ3aqdu7.d.mts → transport-CXkC1F2Z.d.mts} +0 -0
@@ -336,110 +336,6 @@ interface RepeaterElement {
336
336
  }
337
337
  type Element = ButtonElement | TextInputElement | NumberInputElement | SelectElement | ToggleElement | SecretInputElement | CheckboxElement | DateInputElement | ComboboxElement | RadioElement | MediaPickerElement | RepeaterElement;
338
338
  //#endregion
339
- //#region src/database/repositories/content-release-grants.d.ts
340
- type ContentReleaseGrantStatus = "active" | "consumed" | "revoked" | "expired";
341
- type ContentReleaseOperation = "publish" | "schedule";
342
- type ContentReleaseAuthorizationMethod = "human_action" | "approved_hitl";
343
- type ContentReleaseActorType = "user" | "api_token" | "system";
344
- interface ContentReleasePolicyContribution {
345
- providerId: string;
346
- policyVersion: string;
347
- fingerprint: string;
348
- reservationId: string | null;
349
- }
350
- interface ContentReleaseGrant {
351
- id: string;
352
- status: ContentReleaseGrantStatus;
353
- collection: string;
354
- entryId: string;
355
- scope: string;
356
- liveRevisionId: string | null;
357
- draftRevisionId: string | null;
358
- reviewedRev: string;
359
- editorialReviewRequestId: string;
360
- releaseHitlRequestId: string | null;
361
- operation: ContentReleaseOperation;
362
- scheduledAt: string | null;
363
- publishedAt: string | null;
364
- siteTimezone: string;
365
- actionHash: string;
366
- policyContributions: ContentReleasePolicyContribution[];
367
- authorizationMethod: ContentReleaseAuthorizationMethod;
368
- authorizedByActorType: ContentReleaseActorType;
369
- authorizedByActorId: string;
370
- authorizedAuthMetadata: Record<string, unknown> | null;
371
- expiresAt: string | null;
372
- createdAt: string;
373
- updatedAt: string;
374
- consumedAt: string | null;
375
- revokedAt: string | null;
376
- revocationReason: string | null;
377
- }
378
- //#endregion
379
- //#region src/database/repositories/site-activity.d.ts
380
- type SiteActivityActorType = "user" | "api_token" | "system";
381
- type SiteActivitySourceType = "api_route" | "mcp_tool" | "system" | "plugin" | "unknown";
382
- type SiteActivityResultStatus = "succeeded" | "pending" | "failed" | "blocked";
383
- interface SiteActivity {
384
- id: string;
385
- actorType: SiteActivityActorType;
386
- actorId: string;
387
- authMetadata: Record<string, unknown> | null;
388
- actionType: string;
389
- subjectType: string;
390
- subjectId: string | null;
391
- relatedSubjectType: string | null;
392
- relatedSubjectId: string | null;
393
- sourceType: SiteActivitySourceType | null;
394
- sourceName: string | null;
395
- resultStatus: SiteActivityResultStatus;
396
- scope: string;
397
- summary: string;
398
- detail: Record<string, unknown> | null;
399
- createdAt: string;
400
- }
401
- interface CreateSiteActivityInput {
402
- actorType: SiteActivityActorType;
403
- actorId: string;
404
- authMetadata?: Record<string, unknown> | null;
405
- actionType: string;
406
- subjectType: string;
407
- subjectId?: string | null;
408
- relatedSubjectType?: string | null;
409
- relatedSubjectId?: string | null;
410
- sourceType?: SiteActivitySourceType | null;
411
- sourceName?: string | null;
412
- resultStatus?: SiteActivityResultStatus;
413
- scope: string;
414
- summary: string;
415
- detail?: Record<string, unknown> | null;
416
- createdAt?: string;
417
- }
418
- interface SiteActivityTimelineQuery {
419
- scopes?: string[];
420
- actorType?: SiteActivityActorType;
421
- actorId?: string;
422
- actionType?: string;
423
- subjectType?: string;
424
- subjectId?: string;
425
- relatedSubjectType?: string;
426
- relatedSubjectId?: string;
427
- sourceType?: SiteActivitySourceType;
428
- sourceName?: string;
429
- resultStatus?: SiteActivityResultStatus;
430
- since?: string;
431
- until?: string;
432
- limit?: number;
433
- cursor?: string;
434
- }
435
- declare class SiteActivityRepository {
436
- private db;
437
- constructor(db: Kysely<Database>);
438
- create(input: CreateSiteActivityInput): Promise<SiteActivity>;
439
- findById(id: string): Promise<SiteActivity | null>;
440
- findTimeline(query?: SiteActivityTimelineQuery): Promise<FindManyResult<SiteActivity>>;
441
- }
442
- //#endregion
443
339
  //#region src/database/errors.d.ts
444
340
  /**
445
341
  * Database error types. Keep these free of driver imports so public barrels can
@@ -987,6 +883,70 @@ interface PublicComment {
987
883
  replies?: PublicComment[];
988
884
  }
989
885
  //#endregion
886
+ //#region src/database/repositories/site-activity.d.ts
887
+ type SiteActivityActorType = "user" | "api_token" | "system";
888
+ type SiteActivitySourceType = "api_route" | "mcp_tool" | "system" | "plugin" | "unknown";
889
+ type SiteActivityResultStatus = "succeeded" | "pending" | "failed" | "blocked";
890
+ interface SiteActivity {
891
+ id: string;
892
+ actorType: SiteActivityActorType;
893
+ actorId: string;
894
+ authMetadata: Record<string, unknown> | null;
895
+ actionType: string;
896
+ subjectType: string;
897
+ subjectId: string | null;
898
+ relatedSubjectType: string | null;
899
+ relatedSubjectId: string | null;
900
+ sourceType: SiteActivitySourceType | null;
901
+ sourceName: string | null;
902
+ resultStatus: SiteActivityResultStatus;
903
+ scope: string;
904
+ summary: string;
905
+ detail: Record<string, unknown> | null;
906
+ createdAt: string;
907
+ }
908
+ interface CreateSiteActivityInput {
909
+ actorType: SiteActivityActorType;
910
+ actorId: string;
911
+ authMetadata?: Record<string, unknown> | null;
912
+ actionType: string;
913
+ subjectType: string;
914
+ subjectId?: string | null;
915
+ relatedSubjectType?: string | null;
916
+ relatedSubjectId?: string | null;
917
+ sourceType?: SiteActivitySourceType | null;
918
+ sourceName?: string | null;
919
+ resultStatus?: SiteActivityResultStatus;
920
+ scope: string;
921
+ summary: string;
922
+ detail?: Record<string, unknown> | null;
923
+ createdAt?: string;
924
+ }
925
+ interface SiteActivityTimelineQuery {
926
+ scopes?: string[];
927
+ actorType?: SiteActivityActorType;
928
+ actorId?: string;
929
+ actionType?: string;
930
+ subjectType?: string;
931
+ subjectId?: string;
932
+ relatedSubjectType?: string;
933
+ relatedSubjectId?: string;
934
+ sourceType?: SiteActivitySourceType;
935
+ sourceName?: string;
936
+ resultStatus?: SiteActivityResultStatus;
937
+ since?: string;
938
+ until?: string;
939
+ limit?: number;
940
+ cursor?: string;
941
+ }
942
+ declare class SiteActivityRepository {
943
+ private db;
944
+ constructor(db: Kysely<Database>);
945
+ create(input: CreateSiteActivityInput): Promise<SiteActivity>;
946
+ findById(id: string): Promise<SiteActivity | null>;
947
+ findTimeline(query?: SiteActivityTimelineQuery): Promise<FindManyResult<SiteActivity>>;
948
+ }
949
+ //#endregion
990
950
  //#region src/database/repositories/review-requests.d.ts
991
951
  type ReviewRequestStatus = "pending" | "approved" | "rejected";
992
952
  type ReviewRequestActorType = "user" | "api_token" | "system";
@@ -1015,6 +975,46 @@ interface ReviewRequest {
1015
975
  resolvedAt: string | null;
1016
976
  }
1017
977
  //#endregion
978
+ //#region src/database/repositories/content-release-grants.d.ts
979
+ type ContentReleaseGrantStatus = "active" | "consumed" | "revoked" | "expired";
980
+ type ContentReleaseOperation = "publish" | "schedule";
981
+ type ContentReleaseAuthorizationMethod = "human_action" | "approved_hitl";
982
+ type ContentReleaseActorType = "user" | "api_token" | "system";
983
+ interface ContentReleasePolicyContribution {
984
+ providerId: string;
985
+ policyVersion: string;
986
+ fingerprint: string;
987
+ reservationId: string | null;
988
+ }
989
+ interface ContentReleaseGrant {
990
+ id: string;
991
+ status: ContentReleaseGrantStatus;
992
+ collection: string;
993
+ entryId: string;
994
+ scope: string;
995
+ liveRevisionId: string | null;
996
+ draftRevisionId: string | null;
997
+ reviewedRev: string;
998
+ editorialReviewRequestId: string;
999
+ releaseHitlRequestId: string | null;
1000
+ operation: ContentReleaseOperation;
1001
+ scheduledAt: string | null;
1002
+ publishedAt: string | null;
1003
+ siteTimezone: string;
1004
+ actionHash: string;
1005
+ policyContributions: ContentReleasePolicyContribution[];
1006
+ authorizationMethod: ContentReleaseAuthorizationMethod;
1007
+ authorizedByActorType: ContentReleaseActorType;
1008
+ authorizedByActorId: string;
1009
+ authorizedAuthMetadata: Record<string, unknown> | null;
1010
+ expiresAt: string | null;
1011
+ createdAt: string;
1012
+ updatedAt: string;
1013
+ consumedAt: string | null;
1014
+ revokedAt: string | null;
1015
+ revocationReason: string | null;
1016
+ }
1017
+ //#endregion
1018
1018
  //#region src/database/repositories/assignments.d.ts
1019
1019
  declare const ASSIGNMENT_ACTOR_TYPES: readonly ["user", "api_token", "system"];
1020
1020
  declare const ASSIGNMENT_STATUSES: readonly ["pending", "accepted", "in_progress", "blocked", "completed", "declined", "cancelled", "overdue"];
@@ -4185,12 +4185,12 @@ declare const pluginManifestSchema: z$1.ZodObject<{
4185
4185
  file: "file";
4186
4186
  slug: "slug";
4187
4187
  text: "text";
4188
- select: "select";
4189
- datetime: "datetime";
4190
- image: "image";
4191
4188
  integer: "integer";
4189
+ datetime: "datetime";
4190
+ select: "select";
4192
4191
  multiSelect: "multiSelect";
4193
4192
  portableText: "portableText";
4193
+ image: "image";
4194
4194
  reference: "reference";
4195
4195
  repeater: "repeater";
4196
4196
  }>>;
@@ -5810,6 +5810,25 @@ declare function extractSearchableFields(entry: Record<string, unknown>, fields:
5810
5810
  declare function currentTimestamp(db: Kysely<any>): RawBuilder<string>;
5811
5811
  //#endregion
5812
5812
  //#region src/site-context/publication-authorization.d.ts
5813
+ type PublicationReadinessBlockerSource = "content" | "editorial_review" | "release_hitl" | "authorization" | "policy";
5814
+ interface PublicationReadinessBlocker {
5815
+ code: string;
5816
+ source: PublicationReadinessBlockerSource;
5817
+ message: string;
5818
+ policyId?: string;
5819
+ }
5820
+ interface PublicationReadinessPolicyTarget {
5821
+ collection: string;
5822
+ entryId: string;
5823
+ scope: string;
5824
+ operation: PublicationReleaseOperation;
5825
+ liveRevisionId: string | null;
5826
+ draftRevisionId: string | null;
5827
+ reviewedRev: string;
5828
+ publishedAt: string | null;
5829
+ scheduledAt: string | null;
5830
+ siteTimezone: string;
5831
+ }
5813
5832
  interface PublicationContentHandlers extends ContentReviewHandlers {
5814
5833
  handleContentPublish: (collection: string, id: string, options?: {
5815
5834
  publishedAt?: string;
@@ -5835,6 +5854,7 @@ interface PublicationReleasePreparationTarget {
5835
5854
  }
5836
5855
  interface PublicationReleasePolicy {
5837
5856
  id: string;
5857
+ checkReadiness?(target: PublicationReadinessPolicyTarget): Promise<PublicationReadinessBlocker[]>;
5838
5858
  prepare(target: PublicationReleasePreparationTarget): Promise<PublicationReleasePolicyContribution>;
5839
5859
  validate(release: BuiltContentReleasePayload, contribution: PublicationReleasePolicyContribution): Promise<void>;
5840
5860
  consume?(contribution: PublicationReleasePolicyContribution): Promise<void>;
@@ -5859,6 +5879,41 @@ interface AuthorizedPublicationInput {
5859
5879
  interface PublishAuthorizedContentInput extends AuthorizedPublicationInput {
5860
5880
  publishedAt?: string;
5861
5881
  }
5882
+ interface CheckPublicationReadinessInput {
5883
+ actor: ResolvedActorIdentity;
5884
+ collection: string;
5885
+ id: string;
5886
+ operation?: PublicationReleaseOperation;
5887
+ editorialReviewRequestId?: string;
5888
+ releaseHitlRequestId?: string;
5889
+ publishedAt?: string;
5890
+ scheduledAt?: string;
5891
+ }
5892
+ interface PublicationReadinessResult {
5893
+ ready: boolean;
5894
+ generatedAt: string;
5895
+ nextAction: "publish" | "schedule" | "fix_release_blockers";
5896
+ target: PublicationReadinessPolicyTarget | null;
5897
+ blockers: PublicationReadinessBlocker[];
5898
+ }
5899
+ interface PublicationReceipt {
5900
+ id: string;
5901
+ status: "published" | "scheduled";
5902
+ collection: string;
5903
+ contentId: string;
5904
+ liveRevisionId: string | null;
5905
+ draftRevisionId: string | null;
5906
+ editorialReviewRequestId: string;
5907
+ releaseHitlRequestId: string | null;
5908
+ actionHash: string;
5909
+ policyContributions: ContentReleaseGrant["policyContributions"];
5910
+ authorizedByActorType: ContentReleaseGrant["authorizedByActorType"];
5911
+ authorizedByActorId: string;
5912
+ createdAt: string;
5913
+ consumedAt: string | null;
5914
+ publishedAt: string | null;
5915
+ scheduledAt: string | null;
5916
+ }
5862
5917
  interface ScheduleAuthorizedContentInput extends AuthorizedPublicationInput {
5863
5918
  scheduledAt: string;
5864
5919
  }
@@ -5878,6 +5933,7 @@ interface PublishAuthorizedDueContentInput {
5878
5933
  interface AuthorizedPublicationResult {
5879
5934
  grant: ContentReleaseGrant;
5880
5935
  result: HandlerResponse;
5936
+ receipt: PublicationReceipt;
5881
5937
  }
5882
5938
  interface AuthorizedUnscheduleResult {
5883
5939
  grant: ContentReleaseGrant | null;
@@ -5890,10 +5946,12 @@ declare class PublicationAuthorizationService {
5890
5946
  private readonly hitlRequests;
5891
5947
  private readonly activity;
5892
5948
  private readonly releasePayloadBuilder;
5949
+ private readonly reviewPayloadBuilder;
5893
5950
  private readonly policies;
5894
5951
  private readonly getSiteTimezone;
5895
5952
  private readonly now;
5896
5953
  constructor(options: PublicationAuthorizationServiceOptions);
5954
+ checkPublicationReadiness(input: CheckPublicationReadinessInput): Promise<PublicationReadinessResult>;
5897
5955
  publishAuthorizedContent(input: PublishAuthorizedContentInput): Promise<AuthorizedPublicationResult>;
5898
5956
  scheduleAuthorizedContent(input: ScheduleAuthorizedContentInput): Promise<AuthorizedPublicationResult>;
5899
5957
  publishAuthorizedDueContent(input: PublishAuthorizedDueContentInput): Promise<AuthorizedPublicationResult>;
@@ -7284,4 +7342,4 @@ interface PluginManifest {
7284
7342
  admin: PluginAdminConfig;
7285
7343
  }
7286
7344
  //#endregion
7287
- export { PluginMcpReversibility as $, SandboxedPlugin as $a, verifyGuestAccessToken as $i, getPreviewToken as $n, CreateMediaInput as $o, buildPreviewSignatureHeader as $r, getWidgetComponents as $t, PageMetadataLinkRel as A, MediaResponse as Aa, InferCollectionData as Ai, MenuItemType as An, reference as Ao, PluginManager as Ar, ContentResponse as As, isStandardPluginDefinition as At, PluginDefinition as B, handleRevisionRestore as Ba, EditProxy as Bi, getSiteSetting as Bn, RelationRepository as Bo, FilePreviewMiddlewareConfig as Br, searchCollection as Bt, ModerationDecision as C, Section as Ca, CacheHint as Ci, getEntriesByByline as Cn, handleContentRestore as Co, PublicationReleasePolicyContribution as Cr, parseBody as Cs, StandardHookHandler as Ct, PageMetadataContribution as D, SchemaError as Da, DinewayCollections as Di, CreateMenuItemInput as Dn, handleContentUnschedule as Do, NoopSandboxRunner as Dr, handleError as Ds, StorageCollection as Dt, PageFragmentHandler as E, getCollectionInfo as Ea, ContentEntry as Ei, CreateMenuInput as En, handleContentUnpublish as Eo, createNodeSandboxRunner as Er, apiSuccess as Es, StandardRouteHandler as Et, PluginAdminExports as F, handleMediaUpdate as Fa, getDinewayEntry as Fi, GetCommentsResult as Fn, ImageValue as Fo, PluginSecretStoreOptions as Fr, extractPlainText as Ft, PluginMcpCommandTool as G, HookPipeline as Ga, GuestAccessTokenClaims as Gi, AppliedSnapshotMeta as Gn, AssignmentListQuery as Go, SessionDatabaseFactory as Gr, SearchOptions as Gt, PluginManifest as H, SandboxedPluginEntry as Ha, createEditable as Hi, setSiteSettings as Hn, Assignment as Ho, FileSessionDatabaseFactory as Hr, FTSManager as Ht, PluginAdminPage as I, RevisionListResponse as Ia, getEditMeta as Ii, getCommentCount as In, PortableTextBlock$1 as Io, ValidatedPluginManifest as Ir, extractSearchableFields as It, PluginMcpPiiClass as J, SandboxEmailMessage as Ja, IssuedGuestAccessToken as Ji, dropSessionDatabaseTables as Jn, AssignmentStatus as Jo, SessionDatabaseLimitError as Jr, SearchStats as Jt, PluginMcpConfig as K, HookResult as Ka, GuestAccessTokenConfigurationError as Ki, ApplySnapshotToDatabaseOptions as Kn, AssignmentPriority as Ko, SessionDatabaseHandle as Kr, SearchResponse as Kt, PluginAuthMethod as L, RevisionResponse as La, getTranslations as Li, getComments as Ln, ContentReference as Lo, pluginManifestSchema as Lr, getSearchStats as Lt, PluginActor as M, handleMediaDelete as Ma, TranslationSummary as Mi, UpdateMenuInput as Mn, FieldDefinition as Mo, createReviewedPluginMcpCommandExecutor as Mr, ListResponse as Ms, PublicationReleasePolicy as Mt, PluginActorType as N, handleMediaGet as Na, TranslationsResult as Ni, UpdateMenuItemInput as Nn, FieldUIHints as No, PluginSecretStatus as Nr, ManifestResponse as Ns, PublicationReleasePreparationTarget as Nt, PageMetadataEvent as O, SchemaRegistry as Oa, EditFieldMeta as Oi, Menu as On, handleContentUpdate as Oo, SandboxNotAvailableError as Or, ApiContext as Os, StorageCollectionConfig as Ot, PluginAdminConfig as P, handleMediaList as Pa, getDinewayCollection as Pi, GetCommentsOptions as Pn, FileValue as Po, PluginSecretStore as Pr, currentTimestamp as Pt, PluginMcpResourceContent as Q, SandboxRunnerFactory as Qa, issueGuestAccessToken as Qi, isBlockedInPreview as Qn, RevisionRepository as Qo, PreviewSidecarSignature as Qr, getWidgetAreas as Qt, PluginCapability as R, handleRevisionGet as Ra, resolveDinewayPath as Ri, getPluginSetting as Rn, CreateRelationInput as Ro, runPluginMigrations as Rr, getSuggestions as Rt, MediaUploadEvent as S, GetSectionsOptions as Sa, after as Si, getBylineBySlug as Sn, handleContentPublish as So, BuiltContentReleasePayload as Sr, isParseError as Ss, StandardHookEntry as St, PageFragmentEvent as T, UpdateSectionInput as Ta, CollectionResult as Ti, getMenus as Tn, handleContentTranslations as To, NodeSandboxRunner as Tr, apiError as Ts, StandardRouteEntry as Tt, PluginMcpAuthorization as U, PluginRouteError as Ua, createNoop as Ui, PreviewToolbarConfig as Un, AssignmentActorRef as Uo, FileSessionDatabaseFactoryOptions as Ur, CollectionSearchOptions as Ut, PluginHooks as V, generateManifest as Va, FieldAnnotation as Vi, getSiteSettings as Vn, UpdateRelationInput as Vo, createFilePreviewMiddleware as Vr, searchWithDb as Vt, PluginMcpCommandPreview as W, EmailPipeline as Wa, GuestAccessExpectedScope as Wi, renderPreviewToolbar as Wn, AssignmentActorType as Wo, SessionCleanupResult as Wr, SearchConfig as Wt, PluginMcpQueryTool as X, SandboxOptions as Xa, VerifyGuestAccessTokenResult as Xi, Snapshot as Xn, MarkAssignmentsOverdueInput as Xo, SessionOpenOrCreateOptions as Xr, Suggestion as Xt, PluginMcpPiiPolicy as Y, SandboxEmailSendCallback as Ya, VerifyGuestAccessTokenOptions as Yi, getAppliedSnapshotMeta as Yn, CreateAssignmentInput as Yo, SessionOpenOptions as Yr, SuggestOptions as Yt, PluginMcpResource as Z, SandboxRunner as Za, hashGuestAccessToken as Zi, renderPreviewLoadingPage as Zn, PublicComment as Zo, PreviewSidecarClient as Zr, getWidgetArea as Zt, HookName as _, ProseMirrorMark as _a, invalidateObjectCache as _i, TaxonomyDef as _n, handleContentGet as _o, HandoffSnapshotStore as _r, SiteActivitySourceType as _s, ResolvedHook as _t, CommentAfterModerateEvent as a, hashString as aa, getFallbackChain as ai, Widget as an, getStoredConfig as ao, PreviewTokenPayload as ar, EntryFilter as as, PluginRouteApiTokenPolicy as at, LogAccess as b, getSections as ba, isObjectCacheActive as bi, UpdateTermInput as bn, handleContentListTrashed as bo, HandoffSnapshot as br, OptionsRepository as bs, ResolvedPluginMcpConfig as bt, CommentBeforeCreateHandler as c, PortableTextCodeBlock as ca, CacheNamespace as ci, WidgetType as cn, StorageDescriptor as co, generatePreviewToken as cr, dinewayLoader as cs, PluginRouteMethod as ct, ContentAccess as d, PortableTextLinkMark as da, contentNamespace as di, getTaxonomyDef as dn, handleContentCountScheduled as do, AssignmentAccessContext as dr, DinewayDatabaseError as ds, PluginRouteTargetContext as dt, RateLimitResult as ea, defaultPreviewSidecarClient as ei, CreateWidgetAreaInput as en, SerializedRequest as eo, isPreviewRequest as er, MediaItem$1 as es, PluginMcpRiskFactor as et, ContentDeleteEvent as f, PortableTextMarkDef as fa, contentNamespaces as fi, getTaxonomyDefs as fn, handleContentCountTrashed as fo, AssignmentActionInput as fr, CreateSiteActivityInput as fs, PluginStorageConfig as ft, HookConfig as g, ProseMirrorDocument as ga, invalidateMenuObjectCache as gi, CreateTermInput as gn, handleContentDuplicate as go, HandoffResumeResult as gr, SiteActivityResultStatus as gs, PublicPageContext as gt, FieldWidgetConfig as h, PortableTextUnknownBlock as ha, invalidateCommentObjectCache as hi, getTermsForEntries as hn, handleContentDiscardDraft as ho, CreateWorkflowAssignmentInput as hr, SiteActivityRepository as hs, PortableTextBlockField as ht, CommentAfterCreateHandler as i, computeContentHash as ia, I18nConfig as ii, UpdateWidgetInput as in, PluginDescriptor as io, GeneratePreviewTokenOptions as ir, EntryData as is, PluginRoute as it, PagePlacement as j, handleMediaCreate as ja, ResolvePathResult as ji, ReorderMenuItemsInput as jn, image as jo, createPluginManager as jr, FieldDescriptor as js, PublicationAuthorizationService as jt, PageMetadataHandler as k, MediaListResponse as ka, EntryResult as ki, MenuItem as kn, portableText as ko, createNoopSandboxRunner as kr, ContentListResponse as ks, StoredComment as kt, CommentModerateEvent as l, PortableTextHtmlBlock as la, CachedQueryOptions as li, getEntriesByTerm as ln, handleContentAuthors as lo, parseContentId as lr, getDb as ls, PluginRouteTargetAuthorizationRequest as lt, ContentPublishStateChangeEvent as m, PortableTextTextBlock as ma, invalidateCollectionCache as mi, getTerm as mn, handleContentDelete as mo, AssignmentService as mr, SiteActivityActorType as ms, PortableTextBlockConfig as mt, CollectionCommentSettings as n, isSafeHref as na, signPreviewUrl as ni, PropDef as nn, PluginMcpTargetAuthorizer$1 as no, buildPreviewUrl as nr, ContentRepository as ns, PluginMcpTool as nt, CommentAfterModerateHandler as o, portableTextToProsemirror as oa, getI18nConfig as oi, WidgetArea as on, LocalStorageConfig as oo, VerifyPreviewTokenOptions as or, WhereRange as os, PluginRouteAuthorization as ot, ContentHookEvent as p, PortableTextSpan as pa, invalidateBylineObjectCache as pi, getTaxonomyTerms as pn, handleContentCreate as po, AssignmentListInput as pr, SiteActivity as ps, PluginTargetScope as pt, PluginMcpExecutionContext as q, createHookPipeline as qa, IssueGuestAccessTokenOptions as qi, applySnapshotToDatabase as qn, AssignmentRepository as qo, SessionDatabaseInfo as qr, SearchResult as qt, CommentAfterCreateEvent as r, sanitizeHref as ra, verifyPreviewSignature as ri, ReorderWidgetsInput as rn, DinewayConfig as ro, getPreviewUrl as rr, CollectionFilter$1 as rs, PluginMigration as rt, CommentBeforeCreateEvent as s, prosemirrorToPortableText as sa, isI18nEnabled as si, WidgetComponentDef as sn, S3StorageConfig as so, VerifyPreviewTokenResult as sr, WhereValue$1 as ss, PluginRouteBodyMode as st, BreadcrumbItem as t, checkRateLimit as ta, parsePreviewSignatureHeader as ti, CreateWidgetInput as tn, PluginMcpRegistry as to, GetPreviewUrlOptions as tr, MediaRepository as ts, PluginMcpRiskLevel as tt, CommentModerateHandler as u, PortableTextImageBlock as ua, cachedQuery as ui, getEntryTerms as un, handleContentCompare as uo, verifyPreviewToken as ur, DatabaseConfig as us, PluginRouteTargetAuthorizer as ut, HttpAccess as v, ProseMirrorNode as va, invalidateSchemaObjectCache as vi, TaxonomyTerm as vn, handleContentGetIncludingTrashed as vo, ResumeHandoffSnapshotInput as vr, SiteActivityTimelineQuery as vs, ResolvedPlugin as vt, PageFragmentContribution as w, SectionSource as wa, CollectionFilter as wi, getMenu as wn, handleContentSchedule as wo, buildStableActionHash as wr, parseQuery as ws, StandardPluginDefinition as wt, MediaAccess as x, CreateSectionInput as xa, AfterCallback as xi, getByline as xn, handleContentPermanentDelete as xo, SiteAuthTokenContext as xr, ParseResult as xs, RouteContext as xt, KVAccess as y, getSection as ya, invalidateTaxonomyObjectCache as yi, TaxonomyTermRow as yn, handleContentList as yo, CreateHandoffSnapshotInput as yr, Element as ys, ResolvedPluginHooks as yt, PluginContext as z, handleRevisionList as za, CMSAnnotation as zi, getPluginSettings as zn, Relation as zo, definePlugin as zr, search as zt };
7345
+ export { PluginMcpReversibility as $, SandboxEmailSendCallback as $a, VerifyGuestAccessTokenOptions as $i, getAppliedSnapshotMeta as $n, CreateAssignmentInput as $o, SessionOpenOptions as $r, SuggestOptions as $t, PageMetadataLinkRel as A, getCollectionInfo as Aa, ContentEntry as Ai, CreateMenuInput as An, handleContentUnpublish as Ao, createNodeSandboxRunner as Ar, apiSuccess as As, isStandardPluginDefinition as At, PluginDefinition as B, RevisionListResponse as Ba, getEditMeta as Bi, getCommentCount as Bn, PortableTextBlock$1 as Bo, ValidatedPluginManifest as Br, extractSearchableFields as Bt, ModerationDecision as C, getSection as Ca, invalidateTaxonomyObjectCache as Ci, TaxonomyTermRow as Cn, handleContentList as Co, CreateHandoffSnapshotInput as Cr, Element as Cs, StandardHookHandler as Ct, PageMetadataContribution as D, Section as Da, CacheHint as Di, getEntriesByByline as Dn, handleContentRestore as Do, PublicationReleasePolicyContribution as Dr, parseBody as Ds, StorageCollection as Dt, PageFragmentHandler as E, GetSectionsOptions as Ea, after as Ei, getBylineBySlug as En, handleContentPublish as Eo, BuiltContentReleasePayload as Er, isParseError as Es, StandardRouteHandler as Et, PluginAdminExports as F, handleMediaCreate as Fa, ResolvePathResult as Fi, ReorderMenuItemsInput as Fn, image as Fo, createPluginManager as Fr, FieldDescriptor as Fs, PublicationReceipt as Ft, PluginMcpCommandTool as G, generateManifest as Ga, FieldAnnotation as Gi, getSiteSettings as Gn, UpdateRelationInput as Go, createFilePreviewMiddleware as Gr, searchWithDb as Gt, PluginManifest as H, handleRevisionGet as Ha, resolveDinewayPath as Hi, getPluginSetting as Hn, CreateRelationInput as Ho, runPluginMigrations as Hr, getSuggestions as Ht, PluginAdminPage as I, handleMediaDelete as Ia, TranslationSummary as Ii, UpdateMenuInput as In, FieldDefinition as Io, createReviewedPluginMcpCommandExecutor as Ir, ListResponse as Is, PublicationReleasePolicy as It, PluginMcpPiiClass as J, EmailPipeline as Ja, GuestAccessExpectedScope as Ji, renderPreviewToolbar as Jn, AssignmentActorType as Jo, SessionCleanupResult as Jr, SearchConfig as Jt, PluginMcpConfig as K, SandboxedPluginEntry as Ka, createEditable as Ki, setSiteSettings as Kn, Assignment as Ko, FileSessionDatabaseFactory as Kr, FTSManager as Kt, PluginAuthMethod as L, handleMediaGet as La, TranslationsResult as Li, UpdateMenuItemInput as Ln, FieldUIHints as Lo, PluginSecretStatus as Lr, ManifestResponse as Ls, PublicationReleasePreparationTarget as Lt, PluginActor as M, SchemaRegistry as Ma, EditFieldMeta as Mi, Menu as Mn, handleContentUpdate as Mo, SandboxNotAvailableError as Mr, ApiContext as Ms, PublicationReadinessBlocker as Mt, PluginActorType as N, MediaListResponse as Na, EntryResult as Ni, MenuItem as Nn, portableText as No, createNoopSandboxRunner as Nr, ContentListResponse as Ns, PublicationReadinessPolicyTarget as Nt, PageMetadataEvent as O, SectionSource as Oa, CollectionFilter as Oi, getMenu as On, handleContentSchedule as Oo, buildStableActionHash as Or, parseQuery as Os, StorageCollectionConfig as Ot, PluginAdminConfig as P, MediaResponse as Pa, InferCollectionData as Pi, MenuItemType as Pn, reference as Po, PluginManager as Pr, ContentResponse as Ps, PublicationReadinessResult as Pt, PluginMcpResourceContent as Q, SandboxEmailMessage as Qa, IssuedGuestAccessToken as Qi, dropSessionDatabaseTables as Qn, AssignmentStatus as Qo, SessionDatabaseLimitError as Qr, SearchStats as Qt, PluginCapability as R, handleMediaList as Ra, getDinewayCollection as Ri, GetCommentsOptions as Rn, FileValue as Ro, PluginSecretStore as Rr, currentTimestamp as Rt, MediaUploadEvent as S, ProseMirrorNode as Sa, invalidateSchemaObjectCache as Si, TaxonomyTerm as Sn, handleContentGetIncludingTrashed as So, ResumeHandoffSnapshotInput as Sr, DinewayDatabaseError as Ss, StandardHookEntry as St, PageFragmentEvent as T, CreateSectionInput as Ta, AfterCallback as Ti, getByline as Tn, handleContentPermanentDelete as To, SiteAuthTokenContext as Tr, ParseResult as Ts, StandardRouteEntry as Tt, PluginMcpAuthorization as U, handleRevisionList as Ua, CMSAnnotation as Ui, getPluginSettings as Un, Relation as Uo, definePlugin as Ur, search as Ut, PluginHooks as V, RevisionResponse as Va, getTranslations as Vi, getComments as Vn, ContentReference as Vo, pluginManifestSchema as Vr, getSearchStats as Vt, PluginMcpCommandPreview as W, handleRevisionRestore as Wa, EditProxy as Wi, getSiteSetting as Wn, RelationRepository as Wo, FilePreviewMiddlewareConfig as Wr, searchCollection as Wt, PluginMcpQueryTool as X, HookResult as Xa, GuestAccessTokenConfigurationError as Xi, ApplySnapshotToDatabaseOptions as Xn, AssignmentPriority as Xo, SessionDatabaseHandle as Xr, SearchResponse as Xt, PluginMcpPiiPolicy as Y, HookPipeline as Ya, GuestAccessTokenClaims as Yi, AppliedSnapshotMeta as Yn, AssignmentListQuery as Yo, SessionDatabaseFactory as Yr, SearchOptions as Yt, PluginMcpResource as Z, createHookPipeline as Za, IssueGuestAccessTokenOptions as Zi, applySnapshotToDatabase as Zn, AssignmentRepository as Zo, SessionDatabaseInfo as Zr, SearchResult as Zt, HookName as _, PortableTextSpan as _a, invalidateBylineObjectCache as _i, getTaxonomyTerms as _n, handleContentCreate as _o, AssignmentListInput as _r, WhereRange as _s, ResolvedHook as _t, CommentAfterModerateEvent as a, checkRateLimit as aa, parsePreviewSignatureHeader as ai, CreateWidgetInput as an, PluginMcpRegistry as ao, GetPreviewUrlOptions as ar, SiteActivityResultStatus as as, PluginRouteApiTokenPolicy as at, LogAccess as b, ProseMirrorDocument as ba, invalidateMenuObjectCache as bi, CreateTermInput as bn, handleContentDuplicate as bo, HandoffResumeResult as br, getDb as bs, ResolvedPluginMcpConfig as bt, CommentBeforeCreateHandler as c, computeContentHash as ca, I18nConfig as ci, UpdateWidgetInput as cn, PluginDescriptor as co, GeneratePreviewTokenOptions as cr, PublicComment as cs, PluginRouteMethod as ct, ContentAccess as d, prosemirrorToPortableText as da, isI18nEnabled as di, WidgetComponentDef as dn, S3StorageConfig as do, VerifyPreviewTokenResult as dr, MediaItem$1 as ds, PluginRouteTargetContext as dt, VerifyGuestAccessTokenResult as ea, SessionOpenOrCreateOptions as ei, Suggestion as en, SandboxOptions as eo, Snapshot as er, MarkAssignmentsOverdueInput as es, PluginMcpRiskFactor as et, ContentDeleteEvent as f, PortableTextCodeBlock as fa, CacheNamespace as fi, WidgetType as fn, StorageDescriptor as fo, generatePreviewToken as fr, MediaRepository as fs, PluginStorageConfig as ft, HookConfig as g, PortableTextMarkDef as ga, contentNamespaces as gi, getTaxonomyDefs as gn, handleContentCountTrashed as go, AssignmentActionInput as gr, EntryFilter as gs, PublicPageContext as gt, FieldWidgetConfig as h, PortableTextLinkMark as ha, contentNamespace as hi, getTaxonomyDef as hn, handleContentCountScheduled as ho, AssignmentAccessContext as hr, EntryData as hs, PortableTextBlockField as ht, CommentAfterCreateHandler as i, RateLimitResult as ia, defaultPreviewSidecarClient as ii, CreateWidgetAreaInput as in, SerializedRequest as io, isPreviewRequest as ir, SiteActivityRepository as is, PluginRoute as it, PagePlacement as j, SchemaError as ja, DinewayCollections as ji, CreateMenuItemInput as jn, handleContentUnschedule as jo, NoopSandboxRunner as jr, handleError as js, PublicationAuthorizationService as jt, PageMetadataHandler as k, UpdateSectionInput as ka, CollectionResult as ki, getMenus as kn, handleContentTranslations as ko, NodeSandboxRunner as kr, apiError as ks, StoredComment as kt, CommentModerateEvent as l, hashString as la, getFallbackChain as li, Widget as ln, getStoredConfig as lo, PreviewTokenPayload as lr, RevisionRepository as ls, PluginRouteTargetAuthorizationRequest as lt, ContentPublishStateChangeEvent as m, PortableTextImageBlock as ma, cachedQuery as mi, getEntryTerms as mn, handleContentCompare as mo, verifyPreviewToken as mr, CollectionFilter$1 as ms, PortableTextBlockConfig as mt, CollectionCommentSettings as n, issueGuestAccessToken as na, PreviewSidecarSignature as ni, getWidgetAreas as nn, SandboxRunnerFactory as no, isBlockedInPreview as nr, SiteActivity as ns, PluginMcpTool as nt, CommentAfterModerateHandler as o, isSafeHref as oa, signPreviewUrl as oi, PropDef as on, PluginMcpTargetAuthorizer$1 as oo, buildPreviewUrl as or, SiteActivitySourceType as os, PluginRouteAuthorization as ot, ContentHookEvent as p, PortableTextHtmlBlock as pa, CachedQueryOptions as pi, getEntriesByTerm as pn, handleContentAuthors as po, parseContentId as pr, ContentRepository as ps, PluginTargetScope as pt, PluginMcpExecutionContext as q, PluginRouteError as qa, createNoop as qi, PreviewToolbarConfig as qn, AssignmentActorRef as qo, FileSessionDatabaseFactoryOptions as qr, CollectionSearchOptions as qt, CommentAfterCreateEvent as r, verifyGuestAccessToken as ra, buildPreviewSignatureHeader as ri, getWidgetComponents as rn, SandboxedPlugin as ro, getPreviewToken as rr, SiteActivityActorType as rs, PluginMigration as rt, CommentBeforeCreateEvent as s, sanitizeHref as sa, verifyPreviewSignature as si, ReorderWidgetsInput as sn, DinewayConfig as so, getPreviewUrl as sr, SiteActivityTimelineQuery as ss, PluginRouteBodyMode as st, BreadcrumbItem as t, hashGuestAccessToken as ta, PreviewSidecarClient as ti, getWidgetArea as tn, SandboxRunner as to, renderPreviewLoadingPage as tr, CreateSiteActivityInput as ts, PluginMcpRiskLevel as tt, CommentModerateHandler as u, portableTextToProsemirror as ua, getI18nConfig as ui, WidgetArea as un, LocalStorageConfig as uo, VerifyPreviewTokenOptions as ur, CreateMediaInput as us, PluginRouteTargetAuthorizer as ut, HttpAccess as v, PortableTextTextBlock as va, invalidateCollectionCache as vi, getTerm as vn, handleContentDelete as vo, AssignmentService as vr, WhereValue$1 as vs, ResolvedPlugin as vt, PageFragmentContribution as w, getSections as wa, isObjectCacheActive as wi, UpdateTermInput as wn, handleContentListTrashed as wo, HandoffSnapshot as wr, OptionsRepository as ws, StandardPluginDefinition as wt, MediaAccess as x, ProseMirrorMark as xa, invalidateObjectCache as xi, TaxonomyDef as xn, handleContentGet as xo, HandoffSnapshotStore as xr, DatabaseConfig as xs, RouteContext as xt, KVAccess as y, PortableTextUnknownBlock as ya, invalidateCommentObjectCache as yi, getTermsForEntries as yn, handleContentDiscardDraft as yo, CreateWorkflowAssignmentInput as yr, dinewayLoader as ys, ResolvedPluginHooks as yt, PluginContext as z, handleMediaUpdate as za, getDinewayEntry as zi, GetCommentsResult as zn, ImageValue as zo, PluginSecretStoreOptions as zr, extractPlainText as zt };
@@ -1,16 +1,16 @@
1
- import { D as PageMetadataContribution, Ea as getCollectionInfo, Ii as getEditMeta, Ln as getComments, Pi as getDinewayCollection, Vn as getSiteSettings, Zo as PublicComment, Zt as getWidgetArea, an as Widget, gt as PublicPageContext, pn as getTaxonomyTerms, ra as sanitizeHref, wn as getMenu } from "../types-JovwyJFE.mjs";
1
+ import { Aa as getCollectionInfo, Bi as getEditMeta, D as PageMetadataContribution, Gn as getSiteSettings, On as getMenu, Ri as getDinewayCollection, Vn as getComments, _n as getTaxonomyTerms, cs as PublicComment, gt as PublicPageContext, ln as Widget, sa as sanitizeHref, tn as getWidgetArea } from "../types-C-3YPdr-.mjs";
2
2
  import "../types-BFeoAIHl.mjs";
3
3
  import { _ as MediaValue, c as EmbedResult, l as ImageEmbed, s as EmbedOptions } from "../placeholder-C6ZjZcmJ.mjs";
4
4
  import "../runner-Bcy5w0vj.mjs";
5
5
  import "../index-DybFmYtZ.mjs";
6
6
  import "../types-S9VIopdY.mjs";
7
7
  import { x as MediaReference } from "../validate-YiX3rly5.mjs";
8
- import "../byline-fields-sRHzS0aM.mjs";
8
+ import "../byline-fields-bnvqaEuF.mjs";
9
9
  import "../types-BsTXSvKG.mjs";
10
- import { t as getPublicOrigin } from "../public-url-C8QUncg3.mjs";
11
- import { a as generateSiteSeoContributions, c as ResolvedPageMetadata, d as renderPageMetadata, f as resolvePageMetadata, i as generateBaseSeoContributions, l as createSha256CspHash, o as renderFragments } from "../jsonld-B9A2e0yv.mjs";
10
+ import { t as getPublicOrigin } from "../public-url-Cqi7Ds4u.mjs";
11
+ import { a as generateSiteSeoContributions, c as ResolvedPageMetadata, d as renderPageMetadata, f as resolvePageMetadata, i as generateBaseSeoContributions, l as createSha256CspHash, o as renderFragments } from "../jsonld-CG-hNWNO.mjs";
12
12
  import { getPageRuntime } from "../page/index.mjs";
13
- import { t as getMediaProvider } from "../provider-loader-BIbIiz0P.mjs";
13
+ import { t as getMediaProvider } from "../provider-loader-Db-pJFu3.mjs";
14
14
 
15
15
  //#region src/utils/sanitize.d.ts
16
16
  /**
@@ -0,0 +1,6 @@
1
+ //#region src/version.ts
2
+ const VERSION = "0.2.5";
3
+ const COMMIT = "d75cbf4a6";
4
+
5
+ //#endregion
6
+ export { VERSION as n, COMMIT as t };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dineway",
3
- "version": "0.2.3",
3
+ "version": "0.2.5",
4
4
  "description": "Agentic Website builder for restaurants — structured content meets AI via the Model Context Protocol",
5
5
  "type": "module",
6
6
  "publishConfig": {
@@ -388,8 +388,8 @@
388
388
  "upng-js": "^2.1.0",
389
389
  "zod": "^4.4.1",
390
390
  "@dineway-ai/admin": "^0.2.2",
391
- "@dineway-ai/gutenberg-to-portable-text": "^0.2.2",
392
- "@dineway-ai/auth": "^0.2.4"
391
+ "@dineway-ai/auth": "^0.2.4",
392
+ "@dineway-ai/gutenberg-to-portable-text": "^0.2.2"
393
393
  },
394
394
  "optionalDependencies": {
395
395
  "@aws-sdk/client-s3": "^3.1049.0",
@@ -1,6 +0,0 @@
1
- //#region src/version.ts
2
- const VERSION = "0.2.3";
3
- const COMMIT = "fd28d7748";
4
-
5
- //#endregion
6
- export { VERSION as n, COMMIT as t };