dineway 0.1.29 → 0.1.31

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 (166) hide show
  1. package/README.md +348 -181
  2. package/dist/api/route-utils.d.mts +2 -2
  3. package/dist/api/route-utils.mjs +1 -1
  4. package/dist/api/schemas/index.d.mts +1 -1
  5. package/dist/api/schemas/index.mjs +2 -2
  6. package/dist/{api-THnYu0ZU.mjs → api-BgETfzu-.mjs} +24 -1
  7. package/dist/astro/index.d.mts +2 -2
  8. package/dist/astro/index.mjs +2 -2
  9. package/dist/astro/middleware/auth.d.mts +2 -2
  10. package/dist/astro/middleware/auth.mjs +1 -1
  11. package/dist/astro/middleware/request-context.mjs +1 -1
  12. package/dist/astro/middleware/setup.mjs +1 -1
  13. package/dist/astro/middleware.mjs +8 -8
  14. package/dist/astro/routes/api/admin/allowed-domains/_domain_.mjs +2 -2
  15. package/dist/astro/routes/api/admin/allowed-domains/index.mjs +2 -2
  16. package/dist/astro/routes/api/admin/api-tokens/index.mjs +1 -1
  17. package/dist/astro/routes/api/admin/briefing.mjs +2 -2
  18. package/dist/astro/routes/api/admin/bylines/_id_/index.mjs +2 -2
  19. package/dist/astro/routes/api/admin/bylines/index.mjs +2 -2
  20. package/dist/astro/routes/api/admin/comments/_id_/status.mjs +2 -2
  21. package/dist/astro/routes/api/admin/comments/bulk.mjs +2 -2
  22. package/dist/astro/routes/api/admin/comments/index.mjs +2 -2
  23. package/dist/astro/routes/api/admin/context/_id_/history.mjs +2 -2
  24. package/dist/astro/routes/api/admin/context/_id_/index.mjs +2 -2
  25. package/dist/astro/routes/api/admin/context/_id_/review.mjs +4 -4
  26. package/dist/astro/routes/api/admin/context/_id_/supersede.mjs +4 -4
  27. package/dist/astro/routes/api/admin/context/diff.mjs +4 -4
  28. package/dist/astro/routes/api/admin/context/index.mjs +4 -4
  29. package/dist/astro/routes/api/admin/context/stale.mjs +4 -4
  30. package/dist/astro/routes/api/admin/hitl-requests/_id_/index.mjs +3 -3
  31. package/dist/astro/routes/api/admin/hitl-requests/_id_/resolve.mjs +5 -5
  32. package/dist/astro/routes/api/admin/hitl-requests/index.mjs +5 -5
  33. package/dist/astro/routes/api/admin/hooks/exclusive/_hookName_.mjs +2 -2
  34. package/dist/astro/routes/api/admin/oauth-clients/_id_.mjs +2 -2
  35. package/dist/astro/routes/api/admin/oauth-clients/index.mjs +2 -2
  36. package/dist/astro/routes/api/admin/plugins/_id_/disable.mjs +5 -5
  37. package/dist/astro/routes/api/admin/plugins/_id_/enable.mjs +5 -5
  38. package/dist/astro/routes/api/admin/plugins/_id_/index.mjs +3 -3
  39. package/dist/astro/routes/api/admin/plugins/_id_/uninstall.mjs +5 -5
  40. package/dist/astro/routes/api/admin/plugins/_id_/update.mjs +5 -5
  41. package/dist/astro/routes/api/admin/plugins/index.mjs +3 -3
  42. package/dist/astro/routes/api/admin/plugins/marketplace/_id_/index.mjs +3 -3
  43. package/dist/astro/routes/api/admin/plugins/marketplace/_id_/install.mjs +5 -5
  44. package/dist/astro/routes/api/admin/plugins/marketplace/index.mjs +3 -3
  45. package/dist/astro/routes/api/admin/plugins/updates.mjs +3 -3
  46. package/dist/astro/routes/api/admin/review-requests/_id_/resolve.mjs +3 -3
  47. package/dist/astro/routes/api/admin/review-requests/index.mjs +2 -2
  48. package/dist/astro/routes/api/admin/themes/marketplace/_id_/index.mjs +3 -3
  49. package/dist/astro/routes/api/admin/themes/marketplace/index.mjs +3 -3
  50. package/dist/astro/routes/api/admin/users/_id_/index.mjs +2 -2
  51. package/dist/astro/routes/api/admin/users/index.mjs +2 -2
  52. package/dist/astro/routes/api/auth/invite/complete.mjs +4 -4
  53. package/dist/astro/routes/api/auth/invite/index.mjs +2 -2
  54. package/dist/astro/routes/api/auth/invite/register-options.mjs +3 -3
  55. package/dist/astro/routes/api/auth/magic-link/send.mjs +2 -2
  56. package/dist/astro/routes/api/auth/me.mjs +2 -2
  57. package/dist/astro/routes/api/auth/mode.mjs +1 -1
  58. package/dist/astro/routes/api/auth/passkey/_id_.mjs +2 -2
  59. package/dist/astro/routes/api/auth/passkey/options.mjs +3 -3
  60. package/dist/astro/routes/api/auth/passkey/register/options.mjs +3 -3
  61. package/dist/astro/routes/api/auth/passkey/register/verify.mjs +4 -4
  62. package/dist/astro/routes/api/auth/passkey/verify.mjs +4 -4
  63. package/dist/astro/routes/api/auth/signup/complete.mjs +4 -4
  64. package/dist/astro/routes/api/auth/signup/request.mjs +2 -2
  65. package/dist/astro/routes/api/comments/_collection_/_contentId_/index.mjs +3 -3
  66. package/dist/astro/routes/api/content/_collection_/_id_/preview-url.mjs +3 -3
  67. package/dist/astro/routes/api/content/_collection_/_id_/publish.mjs +4 -45
  68. package/dist/astro/routes/api/content/_collection_/_id_/schedule.mjs +2 -2
  69. package/dist/astro/routes/api/content/_collection_/_id_/terms/_taxonomy_.mjs +2 -2
  70. package/dist/astro/routes/api/content/_collection_/_id_.mjs +2 -2
  71. package/dist/astro/routes/api/content/_collection_/index.mjs +2 -2
  72. package/dist/astro/routes/api/content/_collection_/trash.mjs +2 -2
  73. package/dist/astro/routes/api/health.mjs +1 -1
  74. package/dist/astro/routes/api/import/probe.mjs +2 -2
  75. package/dist/astro/routes/api/import/wordpress/execute.mjs +2 -2
  76. package/dist/astro/routes/api/import/wordpress/media.mjs +2 -2
  77. package/dist/astro/routes/api/import/wordpress/prepare.mjs +4 -4
  78. package/dist/astro/routes/api/import/wordpress/rewrite-urls.mjs +4 -4
  79. package/dist/astro/routes/api/import/wordpress-plugin/analyze.mjs +2 -2
  80. package/dist/astro/routes/api/import/wordpress-plugin/execute.mjs +4 -4
  81. package/dist/astro/routes/api/manifest.mjs +3 -3
  82. package/dist/astro/routes/api/mcp.mjs +4 -4
  83. package/dist/astro/routes/api/media/_id_/confirm.mjs +2 -2
  84. package/dist/astro/routes/api/media/_id_.mjs +2 -2
  85. package/dist/astro/routes/api/media/upload-url.mjs +2 -2
  86. package/dist/astro/routes/api/media.mjs +2 -2
  87. package/dist/astro/routes/api/menus/_name_/items/_id_.mjs +4 -4
  88. package/dist/astro/routes/api/menus/_name_/items.mjs +4 -4
  89. package/dist/astro/routes/api/menus/_name_/reorder.mjs +4 -4
  90. package/dist/astro/routes/api/menus/_name_/translations.mjs +4 -4
  91. package/dist/astro/routes/api/menus/_name_.mjs +4 -4
  92. package/dist/astro/routes/api/menus/index.mjs +4 -4
  93. package/dist/astro/routes/api/oauth/authorize.mjs +3 -3
  94. package/dist/astro/routes/api/oauth/device/authorize.mjs +2 -2
  95. package/dist/astro/routes/api/oauth/device/code.mjs +2 -2
  96. package/dist/astro/routes/api/oauth/device/token.mjs +2 -2
  97. package/dist/astro/routes/api/oauth/register.mjs +2 -2
  98. package/dist/astro/routes/api/oauth/token/refresh.mjs +2 -2
  99. package/dist/astro/routes/api/oauth/token/revoke.mjs +2 -2
  100. package/dist/astro/routes/api/oauth/token.mjs +3 -3
  101. package/dist/astro/routes/api/openapi.json.mjs +2 -2
  102. package/dist/astro/routes/api/redirects/404s/index.mjs +2 -2
  103. package/dist/astro/routes/api/redirects/404s/summary.mjs +2 -2
  104. package/dist/astro/routes/api/redirects/_id_.mjs +4 -4
  105. package/dist/astro/routes/api/redirects/index.mjs +4 -4
  106. package/dist/astro/routes/api/schema/collections/_slug_/fields/_fieldSlug_.mjs +3 -3
  107. package/dist/astro/routes/api/schema/collections/_slug_/fields/index.mjs +3 -3
  108. package/dist/astro/routes/api/schema/collections/_slug_/fields/reorder.mjs +3 -3
  109. package/dist/astro/routes/api/schema/collections/_slug_/index.mjs +3 -3
  110. package/dist/astro/routes/api/schema/collections/index.mjs +3 -3
  111. package/dist/astro/routes/api/schema/orphans/_slug_.mjs +3 -3
  112. package/dist/astro/routes/api/schema/orphans/index.mjs +3 -3
  113. package/dist/astro/routes/api/search/enable.mjs +2 -2
  114. package/dist/astro/routes/api/search/index.mjs +2 -2
  115. package/dist/astro/routes/api/search/rebuild.mjs +2 -2
  116. package/dist/astro/routes/api/search/suggest.mjs +2 -2
  117. package/dist/astro/routes/api/sections/_slug_.mjs +4 -4
  118. package/dist/astro/routes/api/sections/index.mjs +4 -4
  119. package/dist/astro/routes/api/settings.mjs +4 -4
  120. package/dist/astro/routes/api/setup/admin-verify.mjs +5 -5
  121. package/dist/astro/routes/api/setup/admin.mjs +3 -3
  122. package/dist/astro/routes/api/setup/index.mjs +3 -3
  123. package/dist/astro/routes/api/setup/status.mjs +1 -1
  124. package/dist/astro/routes/api/snapshot.mjs +1 -1
  125. package/dist/astro/routes/api/taxonomies/_name_/terms/_slug_/translations.mjs +4 -4
  126. package/dist/astro/routes/api/taxonomies/_name_/terms/_slug_.mjs +4 -4
  127. package/dist/astro/routes/api/taxonomies/_name_/terms/index.mjs +4 -4
  128. package/dist/astro/routes/api/taxonomies/index.mjs +4 -4
  129. package/dist/astro/routes/api/themes/preview.mjs +1 -1
  130. package/dist/astro/routes/api/well-known/auth.mjs +2 -2
  131. package/dist/astro/routes/api/well-known/oauth-authorization-server.mjs +1 -1
  132. package/dist/astro/routes/api/well-known/oauth-protected-resource.mjs +1 -1
  133. package/dist/astro/routes/api/widget-areas/_name_/reorder.mjs +4 -4
  134. package/dist/astro/routes/api/widget-areas/_name_/widgets/_id_.mjs +4 -4
  135. package/dist/astro/routes/api/widget-areas/_name_/widgets.mjs +4 -4
  136. package/dist/astro/routes/api/widget-areas/_name_.mjs +2 -2
  137. package/dist/astro/routes/api/widget-areas/index.mjs +4 -4
  138. package/dist/astro/types.d.mts +2 -2
  139. package/dist/{bylines-CqLv_DIj.d.mts → bylines-r8fYBu9F.d.mts} +33 -35
  140. package/dist/cli/index.mjs +2 -6
  141. package/dist/client/index.d.mts +2 -7
  142. package/dist/client/index.mjs +2 -3
  143. package/dist/{context-BnD2m5tn.mjs → context-DgqEfcWz.mjs} +1 -1
  144. package/dist/{device-flow-DDZjntgf.mjs → device-flow-CTS91g4A.mjs} +2 -2
  145. package/dist/{hitl-requests-Dt7JsXh5.mjs → hitl-requests-DaRuZ7tb.mjs} +2 -2
  146. package/dist/{hitl-route-helpers-F3voM_3Y.mjs → hitl-route-helpers-DcPySbZ3.mjs} +2 -2
  147. package/dist/{import-DQ4Rfh5h.mjs → import-Br7aP9yh.mjs} +1 -1
  148. package/dist/index.d.mts +2 -2
  149. package/dist/index.mjs +3 -3
  150. package/dist/media/local-runtime.d.mts +2 -2
  151. package/dist/{oauth-authorization-lW9vJ_hl.mjs → oauth-authorization-DyOFXQWq.mjs} +2 -2
  152. package/dist/{oauth-clients-D1n0ykZJ.mjs → oauth-clients-BMs_bmoz.mjs} +1 -1
  153. package/dist/plugins/adapt-sandbox-entry.d.mts +2 -2
  154. package/dist/{redirects-CoYlqu8e.mjs → redirects-x5ol_Qj9.mjs} +4 -8
  155. package/dist/{runtime-BM9sqnzO.d.mts → runtime-CP8eY2L-.d.mts} +2 -2
  156. package/dist/runtime.d.mts +2 -2
  157. package/dist/{site-context-BBX9G7FT.mjs → site-context-DuBQk6Mp.mjs} +1 -1
  158. package/dist/version-DjRKTPYR.mjs +6 -0
  159. package/package.json +1 -1
  160. package/dist/version-Ds94WfbP.mjs +0 -6
  161. /package/dist/{allowed-origins-U7ZavuGp.mjs → allowed-origins-3RuuoFjC.mjs} +0 -0
  162. /package/dist/{challenge-store-ChIyDxM6.mjs → challenge-store-cJam-E5R.mjs} +0 -0
  163. /package/dist/{experimental-workflows-_I9NlZbO.mjs → experimental-workflows-BbZbIEZp.mjs} +0 -0
  164. /package/dist/{mode-BSPqFzOJ.mjs → mode-Bd55iLcP.mjs} +0 -0
  165. /package/dist/{secrets-DOkSNlfQ.mjs → secrets-DfeNNoLa.mjs} +0 -0
  166. /package/dist/{setup-complete-DXCcwkth.mjs → setup-complete-C2ztsNhJ.mjs} +0 -0
@@ -1,6 +1,6 @@
1
1
  import { t as OptionsRepository } from "../../../../options-BF11H_FD.mjs";
2
- import { n as VERSION } from "../../../../version-Ds94WfbP.mjs";
3
- import { t as getAuthMode } from "../../../../mode-BSPqFzOJ.mjs";
2
+ import { n as VERSION } from "../../../../version-DjRKTPYR.mjs";
3
+ import { t as getAuthMode } from "../../../../mode-Bd55iLcP.mjs";
4
4
 
5
5
  //#region src/astro/routes/api/well-known/auth.ts
6
6
  const prerender = false;
@@ -1,5 +1,5 @@
1
1
  import { n as getPublicOrigin } from "../../../../public-url-BL2r8dmQ.mjs";
2
- import { a as filterExperimentalSiteContextWorkflowScopes } from "../../../../experimental-workflows-_I9NlZbO.mjs";
2
+ import { a as filterExperimentalSiteContextWorkflowScopes } from "../../../../experimental-workflows-BbZbIEZp.mjs";
3
3
  import { t as ALL_VALID_SCOPES } from "../../../../api-tokens-L0o9Bd7v.mjs";
4
4
 
5
5
  //#region src/astro/routes/api/well-known/oauth-authorization-server.ts
@@ -1,5 +1,5 @@
1
1
  import { n as getPublicOrigin } from "../../../../public-url-BL2r8dmQ.mjs";
2
- import { a as filterExperimentalSiteContextWorkflowScopes } from "../../../../experimental-workflows-_I9NlZbO.mjs";
2
+ import { a as filterExperimentalSiteContextWorkflowScopes } from "../../../../experimental-workflows-BbZbIEZp.mjs";
3
3
  import { t as ALL_VALID_SCOPES } from "../../../../api-tokens-L0o9Bd7v.mjs";
4
4
 
5
5
  //#region src/astro/routes/api/well-known/oauth-protected-resource.ts
@@ -19,15 +19,15 @@ import "../../../../../zod-generator-C4BgFBZV.mjs";
19
19
  import "../../../../../schema-U-SeFWwn.mjs";
20
20
  import { n as apiSuccess, r as handleError, t as apiError } from "../../../../../error-DLkgOP5m.mjs";
21
21
  import { n as parseBody, t as isParseError } from "../../../../../parse-D7Tu6ku4.mjs";
22
- import { h as reorderWidgetsBody } from "../../../../../redirects-CoYlqu8e.mjs";
23
- import "../../../../../import-DQ4Rfh5h.mjs";
22
+ import { h as reorderWidgetsBody } from "../../../../../redirects-x5ol_Qj9.mjs";
23
+ import "../../../../../import-Br7aP9yh.mjs";
24
24
  import "../../../../../api/schemas/index.mjs";
25
25
  import "../../../../../utils-FEbQMgB5.mjs";
26
26
  import "../../../../../search-Cl9preJT.mjs";
27
27
  import { n as requirePerm } from "../../../../../authorize-BbIhZi3a.mjs";
28
- import { _ as RiskPolicyEvaluator, s as WidgetHitlPayloadBuilder } from "../../../../../site-context-BBX9G7FT.mjs";
28
+ import { _ as RiskPolicyEvaluator, s as WidgetHitlPayloadBuilder } from "../../../../../site-context-DuBQk6Mp.mjs";
29
29
  import { h as logWidgetActivity, w as widgetApiRouteSource } from "../../../../../activity-events-CpcTzKpF.mjs";
30
- import { i as resolveHitlRouteActor, n as hitlRequiredRouteError, t as ensureWorkflowHitlRouteRequest } from "../../../../../hitl-route-helpers-F3voM_3Y.mjs";
30
+ import { i as resolveHitlRouteActor, n as hitlRequiredRouteError, t as ensureWorkflowHitlRouteRequest } from "../../../../../hitl-route-helpers-DcPySbZ3.mjs";
31
31
  import { z } from "zod";
32
32
 
33
33
  //#region src/astro/routes/api/widget-areas/[name]/reorder.ts
@@ -19,16 +19,16 @@ import "../../../../../../zod-generator-C4BgFBZV.mjs";
19
19
  import "../../../../../../schema-U-SeFWwn.mjs";
20
20
  import { n as apiSuccess, r as handleError, t as apiError } from "../../../../../../error-DLkgOP5m.mjs";
21
21
  import { i as parseQuery, n as parseBody, t as isParseError } from "../../../../../../parse-D7Tu6ku4.mjs";
22
- import { g as updateWidgetBody } from "../../../../../../redirects-CoYlqu8e.mjs";
23
- import "../../../../../../import-DQ4Rfh5h.mjs";
22
+ import { g as updateWidgetBody } from "../../../../../../redirects-x5ol_Qj9.mjs";
23
+ import "../../../../../../import-Br7aP9yh.mjs";
24
24
  import "../../../../../../api/schemas/index.mjs";
25
25
  import "../../../../../../utils-FEbQMgB5.mjs";
26
26
  import { i as rowToWidget } from "../../../../../../widgets-Cj6ULpED.mjs";
27
27
  import "../../../../../../search-Cl9preJT.mjs";
28
28
  import { n as requirePerm } from "../../../../../../authorize-BbIhZi3a.mjs";
29
- import { _ as RiskPolicyEvaluator, s as WidgetHitlPayloadBuilder } from "../../../../../../site-context-BBX9G7FT.mjs";
29
+ import { _ as RiskPolicyEvaluator, s as WidgetHitlPayloadBuilder } from "../../../../../../site-context-DuBQk6Mp.mjs";
30
30
  import { h as logWidgetActivity, t as activityChangedKeys, w as widgetApiRouteSource } from "../../../../../../activity-events-CpcTzKpF.mjs";
31
- import { i as resolveHitlRouteActor, n as hitlRequiredRouteError, t as ensureWorkflowHitlRouteRequest } from "../../../../../../hitl-route-helpers-F3voM_3Y.mjs";
31
+ import { i as resolveHitlRouteActor, n as hitlRequiredRouteError, t as ensureWorkflowHitlRouteRequest } from "../../../../../../hitl-route-helpers-DcPySbZ3.mjs";
32
32
  import { z } from "zod";
33
33
 
34
34
  //#region src/astro/routes/api/widget-areas/[name]/widgets/[id].ts
@@ -19,16 +19,16 @@ import "../../../../../zod-generator-C4BgFBZV.mjs";
19
19
  import "../../../../../schema-U-SeFWwn.mjs";
20
20
  import { n as apiSuccess, r as handleError, t as apiError } from "../../../../../error-DLkgOP5m.mjs";
21
21
  import { n as parseBody, t as isParseError } from "../../../../../parse-D7Tu6ku4.mjs";
22
- import { m as createWidgetBody } from "../../../../../redirects-CoYlqu8e.mjs";
23
- import "../../../../../import-DQ4Rfh5h.mjs";
22
+ import { m as createWidgetBody } from "../../../../../redirects-x5ol_Qj9.mjs";
23
+ import "../../../../../import-Br7aP9yh.mjs";
24
24
  import "../../../../../api/schemas/index.mjs";
25
25
  import "../../../../../utils-FEbQMgB5.mjs";
26
26
  import { i as rowToWidget } from "../../../../../widgets-Cj6ULpED.mjs";
27
27
  import "../../../../../search-Cl9preJT.mjs";
28
28
  import { n as requirePerm } from "../../../../../authorize-BbIhZi3a.mjs";
29
- import { _ as RiskPolicyEvaluator, s as WidgetHitlPayloadBuilder } from "../../../../../site-context-BBX9G7FT.mjs";
29
+ import { _ as RiskPolicyEvaluator, s as WidgetHitlPayloadBuilder } from "../../../../../site-context-DuBQk6Mp.mjs";
30
30
  import { h as logWidgetActivity, w as widgetApiRouteSource } from "../../../../../activity-events-CpcTzKpF.mjs";
31
- import { i as resolveHitlRouteActor, n as hitlRequiredRouteError, t as ensureWorkflowHitlRouteRequest } from "../../../../../hitl-route-helpers-F3voM_3Y.mjs";
31
+ import { i as resolveHitlRouteActor, n as hitlRequiredRouteError, t as ensureWorkflowHitlRouteRequest } from "../../../../../hitl-route-helpers-DcPySbZ3.mjs";
32
32
  import { ulid } from "ulidx";
33
33
  import { z } from "zod";
34
34
 
@@ -23,9 +23,9 @@ import "../../../../utils-FEbQMgB5.mjs";
23
23
  import { i as rowToWidget } from "../../../../widgets-Cj6ULpED.mjs";
24
24
  import "../../../../search-Cl9preJT.mjs";
25
25
  import { n as requirePerm } from "../../../../authorize-BbIhZi3a.mjs";
26
- import { _ as RiskPolicyEvaluator, s as WidgetHitlPayloadBuilder } from "../../../../site-context-BBX9G7FT.mjs";
26
+ import { _ as RiskPolicyEvaluator, s as WidgetHitlPayloadBuilder } from "../../../../site-context-DuBQk6Mp.mjs";
27
27
  import { h as logWidgetActivity, w as widgetApiRouteSource } from "../../../../activity-events-CpcTzKpF.mjs";
28
- import { i as resolveHitlRouteActor, n as hitlRequiredRouteError, t as ensureWorkflowHitlRouteRequest } from "../../../../hitl-route-helpers-F3voM_3Y.mjs";
28
+ import { i as resolveHitlRouteActor, n as hitlRequiredRouteError, t as ensureWorkflowHitlRouteRequest } from "../../../../hitl-route-helpers-DcPySbZ3.mjs";
29
29
  import { z } from "zod";
30
30
 
31
31
  //#region src/astro/routes/api/widget-areas/[name].ts
@@ -19,16 +19,16 @@ import "../../../../zod-generator-C4BgFBZV.mjs";
19
19
  import "../../../../schema-U-SeFWwn.mjs";
20
20
  import { n as apiSuccess, r as handleError, t as apiError } from "../../../../error-DLkgOP5m.mjs";
21
21
  import { n as parseBody, t as isParseError } from "../../../../parse-D7Tu6ku4.mjs";
22
- import { p as createWidgetAreaBody } from "../../../../redirects-CoYlqu8e.mjs";
23
- import "../../../../import-DQ4Rfh5h.mjs";
22
+ import { p as createWidgetAreaBody } from "../../../../redirects-x5ol_Qj9.mjs";
23
+ import "../../../../import-Br7aP9yh.mjs";
24
24
  import "../../../../api/schemas/index.mjs";
25
25
  import "../../../../utils-FEbQMgB5.mjs";
26
26
  import { i as rowToWidget } from "../../../../widgets-Cj6ULpED.mjs";
27
27
  import "../../../../search-Cl9preJT.mjs";
28
28
  import { n as requirePerm } from "../../../../authorize-BbIhZi3a.mjs";
29
- import { _ as RiskPolicyEvaluator, s as WidgetHitlPayloadBuilder } from "../../../../site-context-BBX9G7FT.mjs";
29
+ import { _ as RiskPolicyEvaluator, s as WidgetHitlPayloadBuilder } from "../../../../site-context-DuBQk6Mp.mjs";
30
30
  import { h as logWidgetActivity, w as widgetApiRouteSource } from "../../../../activity-events-CpcTzKpF.mjs";
31
- import { i as resolveHitlRouteActor, n as hitlRequiredRouteError, t as ensureWorkflowHitlRouteRequest } from "../../../../hitl-route-helpers-F3voM_3Y.mjs";
31
+ import { i as resolveHitlRouteActor, n as hitlRequiredRouteError, t as ensureWorkflowHitlRouteRequest } from "../../../../hitl-route-helpers-DcPySbZ3.mjs";
32
32
  import { ulid } from "ulidx";
33
33
  import { z } from "zod";
34
34
 
@@ -1,5 +1,5 @@
1
1
  import { r as ContentItem } from "../types-DvwHUku7.mjs";
2
- import { Kn as MediaItem, en as SandboxRunner, mn as MediaResponse, nt as HookPipeline, or as ContentListResponse, pn as MediaListResponse, sr as ContentResponse, t as DinewayConfig, tt as EmailPipeline } from "../runtime-BM9sqnzO.mjs";
2
+ import { Kn as MediaItem, en as SandboxRunner, mn as MediaResponse, nt as HookPipeline, or as ContentListResponse, pn as MediaListResponse, sr as ContentResponse, t as DinewayConfig, tt as EmailPipeline } from "../runtime-CP8eY2L-.mjs";
3
3
  import { t as Database } from "../types-B1NksXAb.mjs";
4
4
  import { A as PageMetadataContribution, D as PageFragmentContribution, X as ResolvedPlugin, ct as Element, q as PublicPageContext } from "../types-BIM7jwxr.mjs";
5
5
  import "../types-BgE6gMFI.mjs";
@@ -8,7 +8,7 @@ import "../runner-pAnQS6iI.mjs";
8
8
  import "../index-2tBfB_8X.mjs";
9
9
  import "../index-CpbixmRL.mjs";
10
10
  import { d as Storage } from "../types-BYjPylrZ.mjs";
11
- import "../bylines-CqLv_DIj.mjs";
11
+ import "../bylines-r8fYBu9F.mjs";
12
12
  import "../types-BBETcziA.mjs";
13
13
  import "../validate-BzUCAU2a.mjs";
14
14
  import "../index.mjs";
@@ -4,7 +4,7 @@ import { z } from "zod";
4
4
  /** Valid role level values */
5
5
  declare const VALID_ROLE_LEVELS: Set<number>;
6
6
  /** Role level — coerces string/number to valid RoleLevel (10|20|30|40|50) */
7
- declare const roleLevel: z.ZodCoercedNumber<unknown> & z.ZodType<10 | 20 | 30 | 40 | 50, unknown, z.core.$ZodTypeInternals<10 | 20 | 30 | 40 | 50, unknown>>;
7
+ declare const roleLevel: z.ZodCoercedNumber<unknown> & z.ZodType<50 | 10 | 20 | 30 | 40, unknown, z.core.$ZodTypeInternals<50 | 10 | 20 | 30 | 40, unknown>>;
8
8
  /** Pagination query params — cursor-based */
9
9
  declare const cursorPaginationQuery: z.ZodObject<{
10
10
  cursor: z.ZodOptional<z.ZodString>;
@@ -114,8 +114,6 @@ declare const contentScheduleBody: z.ZodObject<{
114
114
  }, z.core.$strip>;
115
115
  declare const contentPublishBody: z.ZodObject<{
116
116
  publishedAt: z.ZodOptional<z.ZodISODateTime>;
117
- reviewRequestId: z.ZodOptional<z.ZodString>;
118
- review_request_id: z.ZodOptional<z.ZodString>;
119
117
  }, z.core.$strip>;
120
118
  declare const contentPreviewUrlBody: z.ZodObject<{
121
119
  expiresIn: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
@@ -560,15 +558,15 @@ declare const createFieldBody: z.ZodObject<{
560
558
  number: "number";
561
559
  boolean: "boolean";
562
560
  file: "file";
563
- url: "url";
564
- image: "image";
565
561
  slug: "slug";
566
- datetime: "datetime";
567
562
  text: "text";
563
+ url: "url";
568
564
  integer: "integer";
565
+ datetime: "datetime";
569
566
  select: "select";
570
567
  multiSelect: "multiSelect";
571
568
  portableText: "portableText";
569
+ image: "image";
572
570
  reference: "reference";
573
571
  json: "json";
574
572
  repeater: "repeater";
@@ -590,10 +588,10 @@ declare const createFieldBody: z.ZodObject<{
590
588
  string: "string";
591
589
  number: "number";
592
590
  boolean: "boolean";
593
- url: "url";
594
- datetime: "datetime";
595
591
  text: "text";
592
+ url: "url";
596
593
  integer: "integer";
594
+ datetime: "datetime";
597
595
  select: "select";
598
596
  }>;
599
597
  label: z.ZodString;
@@ -629,10 +627,10 @@ declare const updateFieldBody: z.ZodObject<{
629
627
  string: "string";
630
628
  number: "number";
631
629
  boolean: "boolean";
632
- url: "url";
633
- datetime: "datetime";
634
630
  text: "text";
631
+ url: "url";
635
632
  integer: "integer";
633
+ datetime: "datetime";
636
634
  select: "select";
637
635
  }>;
638
636
  label: z.ZodString;
@@ -687,15 +685,15 @@ declare const fieldSchema: z.ZodObject<{
687
685
  number: "number";
688
686
  boolean: "boolean";
689
687
  file: "file";
690
- url: "url";
691
- image: "image";
692
688
  slug: "slug";
693
- datetime: "datetime";
694
689
  text: "text";
690
+ url: "url";
695
691
  integer: "integer";
692
+ datetime: "datetime";
696
693
  select: "select";
697
694
  multiSelect: "multiSelect";
698
695
  portableText: "portableText";
696
+ image: "image";
699
697
  reference: "reference";
700
698
  json: "json";
701
699
  repeater: "repeater";
@@ -752,15 +750,15 @@ declare const collectionWithFieldsResponseSchema: z.ZodObject<{
752
750
  number: "number";
753
751
  boolean: "boolean";
754
752
  file: "file";
755
- url: "url";
756
- image: "image";
757
753
  slug: "slug";
758
- datetime: "datetime";
759
754
  text: "text";
755
+ url: "url";
760
756
  integer: "integer";
757
+ datetime: "datetime";
761
758
  select: "select";
762
759
  multiSelect: "multiSelect";
763
760
  portableText: "portableText";
761
+ image: "image";
764
762
  reference: "reference";
765
763
  json: "json";
766
764
  repeater: "repeater";
@@ -806,15 +804,15 @@ declare const fieldResponseSchema: z.ZodObject<{
806
804
  number: "number";
807
805
  boolean: "boolean";
808
806
  file: "file";
809
- url: "url";
810
- image: "image";
811
807
  slug: "slug";
812
- datetime: "datetime";
813
808
  text: "text";
809
+ url: "url";
814
810
  integer: "integer";
811
+ datetime: "datetime";
815
812
  select: "select";
816
813
  multiSelect: "multiSelect";
817
814
  portableText: "portableText";
815
+ image: "image";
818
816
  reference: "reference";
819
817
  json: "json";
820
818
  repeater: "repeater";
@@ -843,15 +841,15 @@ declare const fieldListResponseSchema: z.ZodObject<{
843
841
  number: "number";
844
842
  boolean: "boolean";
845
843
  file: "file";
846
- url: "url";
847
- image: "image";
848
844
  slug: "slug";
849
- datetime: "datetime";
850
845
  text: "text";
846
+ url: "url";
851
847
  integer: "integer";
848
+ datetime: "datetime";
852
849
  select: "select";
853
850
  multiSelect: "multiSelect";
854
851
  portableText: "portableText";
852
+ image: "image";
855
853
  reference: "reference";
856
854
  json: "json";
857
855
  repeater: "repeater";
@@ -892,8 +890,8 @@ declare const createCommentBody: z.ZodObject<{
892
890
  }, z.core.$strip>;
893
891
  declare const commentStatusBody: z.ZodObject<{
894
892
  status: z.ZodEnum<{
895
- pending: "pending";
896
893
  approved: "approved";
894
+ pending: "pending";
897
895
  spam: "spam";
898
896
  trash: "trash";
899
897
  }>;
@@ -909,8 +907,8 @@ declare const commentBulkBody: z.ZodObject<{
909
907
  }, z.core.$strip>;
910
908
  declare const commentListQuery: z.ZodObject<{
911
909
  status: z.ZodOptional<z.ZodEnum<{
912
- pending: "pending";
913
910
  approved: "approved";
911
+ pending: "pending";
914
912
  spam: "spam";
915
913
  trash: "trash";
916
914
  }>>;
@@ -944,8 +942,8 @@ declare const commentSchema: z.ZodObject<{
944
942
  authorEmail: z.ZodString;
945
943
  body: z.ZodString;
946
944
  status: z.ZodEnum<{
947
- pending: "pending";
948
945
  approved: "approved";
946
+ pending: "pending";
949
947
  spam: "spam";
950
948
  trash: "trash";
951
949
  }>;
@@ -976,8 +974,8 @@ declare const adminCommentListResponseSchema: z.ZodObject<{
976
974
  authorEmail: z.ZodString;
977
975
  body: z.ZodString;
978
976
  status: z.ZodEnum<{
979
- pending: "pending";
980
977
  approved: "approved";
978
+ pending: "pending";
981
979
  spam: "spam";
982
980
  trash: "trash";
983
981
  }>;
@@ -1022,15 +1020,15 @@ declare const contextEntryListQuery: z.ZodObject<{
1022
1020
  cursor: z.ZodOptional<z.ZodString>;
1023
1021
  }, z.core.$strip>;
1024
1022
  declare const contextEntryStaleQuery: z.ZodObject<{
1025
- cursor: z.ZodOptional<z.ZodString>;
1026
1023
  limit: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
1027
- contextTypes: z.ZodPipe<z.ZodOptional<z.ZodString>, z.ZodTransform<string[] | undefined, string | undefined>>;
1028
- scope: z.ZodOptional<z.ZodString>;
1024
+ cursor: z.ZodOptional<z.ZodString>;
1029
1025
  includeInherited: z.ZodPipe<z.ZodOptional<z.ZodEnum<{
1030
1026
  true: "true";
1031
1027
  false: "false";
1032
1028
  }>>, z.ZodTransform<boolean | undefined, "true" | "false" | undefined>>;
1029
+ contextTypes: z.ZodPipe<z.ZodOptional<z.ZodString>, z.ZodTransform<string[] | undefined, string | undefined>>;
1033
1030
  tags: z.ZodPipe<z.ZodOptional<z.ZodString>, z.ZodTransform<string[] | undefined, string | undefined>>;
1031
+ scope: z.ZodOptional<z.ZodString>;
1034
1032
  createdByActorType: z.ZodOptional<z.ZodEnum<{
1035
1033
  user: "user";
1036
1034
  api_token: "api_token";
@@ -1117,8 +1115,8 @@ declare const siteBriefingQuery: z.ZodObject<{
1117
1115
  //#region src/api/schemas/hitl-requests.d.ts
1118
1116
  declare const hitlRequestListQuery: z.ZodObject<{
1119
1117
  status: z.ZodOptional<z.ZodEnum<{
1120
- pending: "pending";
1121
1118
  approved: "approved";
1119
+ pending: "pending";
1122
1120
  rejected: "rejected";
1123
1121
  }>>;
1124
1122
  priority: z.ZodOptional<z.ZodEnum<{
@@ -1145,8 +1143,8 @@ declare const hitlRequestResolveBody: z.ZodObject<{
1145
1143
  //#region src/api/schemas/review-requests.d.ts
1146
1144
  declare const reviewRequestListQuery: z.ZodObject<{
1147
1145
  status: z.ZodOptional<z.ZodEnum<{
1148
- pending: "pending";
1149
1146
  approved: "approved";
1147
+ pending: "pending";
1150
1148
  rejected: "rejected";
1151
1149
  }>>;
1152
1150
  collection: z.ZodOptional<z.ZodString>;
@@ -1194,7 +1192,7 @@ declare const signupCompleteBody: z.ZodObject<{
1194
1192
  }, z.core.$strip>;
1195
1193
  declare const inviteCreateBody: z.ZodObject<{
1196
1194
  email: z.ZodString;
1197
- role: z.ZodOptional<z.ZodCoercedNumber<unknown> & z.ZodType<10 | 20 | 30 | 40 | 50, unknown, z.core.$ZodTypeInternals<10 | 20 | 30 | 40 | 50, unknown>>>;
1195
+ role: z.ZodOptional<z.ZodCoercedNumber<unknown> & z.ZodType<50 | 10 | 20 | 30 | 40, unknown, z.core.$ZodTypeInternals<50 | 10 | 20 | 30 | 40, unknown>>>;
1198
1196
  }, z.core.$strip>;
1199
1197
  declare const inviteCompleteBody: z.ZodObject<{
1200
1198
  token: z.ZodString;
@@ -1746,15 +1744,15 @@ declare const usersListQuery: z.ZodObject<{
1746
1744
  declare const userUpdateBody: z.ZodObject<{
1747
1745
  name: z.ZodOptional<z.ZodString>;
1748
1746
  email: z.ZodOptional<z.ZodString>;
1749
- role: z.ZodOptional<z.ZodCoercedNumber<unknown> & z.ZodType<10 | 20 | 30 | 40 | 50, unknown, z.core.$ZodTypeInternals<10 | 20 | 30 | 40 | 50, unknown>>>;
1747
+ role: z.ZodOptional<z.ZodCoercedNumber<unknown> & z.ZodType<50 | 10 | 20 | 30 | 40, unknown, z.core.$ZodTypeInternals<50 | 10 | 20 | 30 | 40, unknown>>>;
1750
1748
  }, z.core.$strip>;
1751
1749
  declare const allowedDomainCreateBody: z.ZodObject<{
1752
1750
  domain: z.ZodString;
1753
- defaultRole: z.ZodCoercedNumber<unknown> & z.ZodType<10 | 20 | 30 | 40 | 50, unknown, z.core.$ZodTypeInternals<10 | 20 | 30 | 40 | 50, unknown>>;
1751
+ defaultRole: z.ZodCoercedNumber<unknown> & z.ZodType<50 | 10 | 20 | 30 | 40, unknown, z.core.$ZodTypeInternals<50 | 10 | 20 | 30 | 40, unknown>>;
1754
1752
  }, z.core.$strip>;
1755
1753
  declare const allowedDomainUpdateBody: z.ZodObject<{
1756
1754
  enabled: z.ZodOptional<z.ZodBoolean>;
1757
- defaultRole: z.ZodOptional<z.ZodCoercedNumber<unknown> & z.ZodType<10 | 20 | 30 | 40 | 50, unknown, z.core.$ZodTypeInternals<10 | 20 | 30 | 40 | 50, unknown>>>;
1755
+ defaultRole: z.ZodOptional<z.ZodCoercedNumber<unknown> & z.ZodType<50 | 10 | 20 | 30 | 40, unknown, z.core.$ZodTypeInternals<50 | 10 | 20 | 30 | 40, unknown>>>;
1758
1756
  }, z.core.$strip>;
1759
1757
  declare const userSchema: z.ZodObject<{
1760
1758
  id: z.ZodString;
@@ -22,7 +22,7 @@ import { i as pluginManifestSchema } from "../manifest-schema-C6fzQoWn.mjs";
22
22
  import "../ssrf-KAIQS48_.mjs";
23
23
  import { t as validateSeed } from "../validate-JE-WfUQ5.mjs";
24
24
  import { t as applySeed } from "../apply-TIoQ00aH.mjs";
25
- import { n as fingerprintKey, r as generateEncryptionKey, t as DinewaySecretsError } from "../secrets-DOkSNlfQ.mjs";
25
+ import { n as fingerprintKey, r as generateEncryptionKey, t as DinewaySecretsError } from "../secrets-DfeNNoLa.mjs";
26
26
  import { createHeaderAwareFetch, customHeadersInterceptor, isRedirectResponse, resolveCustomHeaders } from "../client/external-auth-headers.mjs";
27
27
  import { o as convertDataForRead } from "../transport-B7kO-4ee.mjs";
28
28
  import { DinewayClient } from "../client/index.mjs";
@@ -770,16 +770,12 @@ const publishCommand$1 = defineCommand({
770
770
  description: "Content item ID or slug",
771
771
  required: true
772
772
  },
773
- "review-request-id": {
774
- type: "string",
775
- description: "Approved review request ID for token-authenticated publish"
776
- },
777
773
  ...connectionArgs
778
774
  },
779
775
  async run({ args }) {
780
776
  configureOutputMode(args);
781
777
  try {
782
- await createClientFromArgs(args).publish(args.collection, args.id, { reviewRequestId: args["review-request-id"] });
778
+ await createClientFromArgs(args).publish(args.collection, args.id);
783
779
  output({ success: true }, args);
784
780
  consola$1.success(`Published ${args.collection}/${args.id}`);
785
781
  } catch (error) {
@@ -75,11 +75,6 @@ interface ListResult<T> {
75
75
  items: T[];
76
76
  nextCursor?: string;
77
77
  }
78
- /** Options for publishing content. */
79
- interface PublishContentOptions {
80
- /** Approved review request ID for token-authenticated publish execution. */
81
- reviewRequestId?: string;
82
- }
83
78
  /** Content item as returned by the API */
84
79
  interface ContentItem {
85
80
  id: string;
@@ -325,7 +320,7 @@ declare class DinewayClient {
325
320
  /** Delete (soft) a content item */
326
321
  delete(collection: string, id: string): Promise<void>;
327
322
  /** Publish a content item */
328
- publish(collection: string, id: string, options?: PublishContentOptions): Promise<void>;
323
+ publish(collection: string, id: string): Promise<void>;
329
324
  /** Unpublish a content item */
330
325
  unpublish(collection: string, id: string): Promise<void>;
331
326
  /** Schedule publishing */
@@ -408,4 +403,4 @@ declare class DinewayClient {
408
403
  private getFieldSchemas;
409
404
  }
410
405
  //#endregion
411
- export { ApiError, ClientResponse, Collection, CollectionWithFields, ContentItem, DinewayApiError, DinewayClient, DinewayClientError, DinewayClientOptions, Field, type Interceptor, ListResult, Manifest, MediaItem, Menu, MenuItem, MenuWithItems, type PortableTextBlock, PublishContentOptions, SchemaExport, SearchResult, SetupLinkResult, Taxonomy, Term, createTransport, csrfInterceptor, devBypassInterceptor, markdownToPortableText, portableTextToMarkdown, tokenInterceptor };
406
+ export { ApiError, ClientResponse, Collection, CollectionWithFields, ContentItem, DinewayApiError, DinewayClient, DinewayClientError, DinewayClientOptions, Field, type Interceptor, ListResult, Manifest, MediaItem, Menu, MenuItem, MenuWithItems, type PortableTextBlock, SchemaExport, SearchResult, SetupLinkResult, Taxonomy, Term, createTransport, csrfInterceptor, devBypassInterceptor, markdownToPortableText, portableTextToMarkdown, tokenInterceptor };
@@ -186,9 +186,8 @@ var DinewayClient = class {
186
186
  await this.request("DELETE", `/content/${encodeURIComponent(collection)}/${encodeURIComponent(id)}`);
187
187
  }
188
188
  /** Publish a content item */
189
- async publish(collection, id, options = {}) {
190
- const body = options.reviewRequestId ? { reviewRequestId: options.reviewRequestId } : void 0;
191
- await this.request("POST", `/content/${encodeURIComponent(collection)}/${encodeURIComponent(id)}/publish`, body);
189
+ async publish(collection, id) {
190
+ await this.request("POST", `/content/${encodeURIComponent(collection)}/${encodeURIComponent(id)}/publish`);
192
191
  }
193
192
  /** Unpublish a content item */
194
193
  async unpublish(collection, id) {
@@ -1,5 +1,5 @@
1
1
  import { a as ContextRepository, i as parseSiteBriefingScope, n as SiteBriefingError } from "./briefing-Jsxs587i.mjs";
2
- import { b as toPublicContextEntry, x as toPublicContextEntryPage, y as toPublicContextDiff } from "./site-context-BBX9G7FT.mjs";
2
+ import { b as toPublicContextEntry, x as toPublicContextEntryPage, y as toPublicContextDiff } from "./site-context-DuBQk6Mp.mjs";
3
3
 
4
4
  //#region src/api/handlers/context.ts
5
5
  async function handleContextEntryList(db, input = {}) {
@@ -1,7 +1,7 @@
1
1
  import { t as withTransaction } from "./transaction-D0FOsb3X.mjs";
2
- import { a as filterExperimentalSiteContextWorkflowScopes, i as experimentalSiteContextWorkflowsEnabled, o as getExperimentalSiteContextWorkflowScopesDisabledMessage, r as disabledExperimentalSiteContextWorkflowScopes } from "./experimental-workflows-_I9NlZbO.mjs";
2
+ import { a as filterExperimentalSiteContextWorkflowScopes, i as experimentalSiteContextWorkflowsEnabled, o as getExperimentalSiteContextWorkflowScopesDisabledMessage, r as disabledExperimentalSiteContextWorkflowScopes } from "./experimental-workflows-BbZbIEZp.mjs";
3
3
  import { a as hashApiToken, n as TOKEN_PREFIXES, r as generatePrefixedToken, t as ALL_VALID_SCOPES } from "./api-tokens-L0o9Bd7v.mjs";
4
- import { o as lookupOAuthClient } from "./oauth-clients-D1n0ykZJ.mjs";
4
+ import { o as lookupOAuthClient } from "./oauth-clients-BMs_bmoz.mjs";
5
5
  import { t as lookupUserRoleAndStatus } from "./oauth-user-lookup-DdcI8ZVL.mjs";
6
6
  import { clampScopes } from "@dineway-ai/auth";
7
7
  import { generateCodeVerifier } from "arctic";
@@ -1,5 +1,5 @@
1
- import { t as ExperimentalSiteContextWorkflowDisabledError } from "./experimental-workflows-_I9NlZbO.mjs";
2
- import { n as HitlRequestService } from "./site-context-BBX9G7FT.mjs";
1
+ import { t as ExperimentalSiteContextWorkflowDisabledError } from "./experimental-workflows-BbZbIEZp.mjs";
2
+ import { n as HitlRequestService } from "./site-context-DuBQk6Mp.mjs";
3
3
 
4
4
  //#region src/api/handlers/hitl-requests.ts
5
5
  const HITL_NOT_FOUND_RE = /not found/i;
@@ -1,6 +1,6 @@
1
1
  import { t as apiError } from "./error-DLkgOP5m.mjs";
2
- import { t as ExperimentalSiteContextWorkflowDisabledError } from "./experimental-workflows-_I9NlZbO.mjs";
3
- import { t as WorkflowHitlCoordinator } from "./site-context-BBX9G7FT.mjs";
2
+ import { t as ExperimentalSiteContextWorkflowDisabledError } from "./experimental-workflows-BbZbIEZp.mjs";
3
+ import { t as WorkflowHitlCoordinator } from "./site-context-DuBQk6Mp.mjs";
4
4
  import { T as resolveActorIdentity, p as logSiteActivitySafely } from "./activity-events-CpcTzKpF.mjs";
5
5
  import { Role } from "@dineway-ai/auth";
6
6
 
@@ -1,5 +1,5 @@
1
1
  import { n as isSiteContextType, t as SITE_CONTEXT_TYPES } from "./context-types-BrSQNye5.mjs";
2
- import { An as roleLevel, En as httpUrl } from "./redirects-CoYlqu8e.mjs";
2
+ import { An as roleLevel, En as httpUrl } from "./redirects-x5ol_Qj9.mjs";
3
3
  import { z } from "zod";
4
4
 
5
5
  //#region src/api/schemas/context.ts
package/dist/index.d.mts CHANGED
@@ -1,5 +1,5 @@
1
1
  import { a as ContentSeoInput, c as FindManyOptions, i as ContentSeo, l as FindManyResult, n as ContentBylineCredit, o as CreateContentInput, r as ContentItem, s as DinewayValidationError, t as BylineSummary, u as UpdateContentInput } from "./types-DvwHUku7.mjs";
2
- import { $ as createPluginManager, $t as SandboxOptions, A as dropSessionDatabaseTables, An as handleContentDelete, At as verifyPreviewSignature, B as GeneratePreviewTokenOptions, Bn as handleContentSchedule, Bt as prosemirrorToPortableText, C as getByline, Cn as handleRevisionList, Ct as SessionOpenOrCreateOptions, D as AppliedSnapshotMeta, Dn as handleContentCountScheduled, Dt as defaultPreviewSidecarClient, E as renderPreviewToolbar, En as handleContentCompare, Et as buildPreviewSignatureHeader, F as getPreviewToken, Fn as handleContentList, Ft as AfterCallback, G as parseContentId, Gn as CreateMediaInput, Gt as PortableTextSpan, H as VerifyPreviewTokenOptions, Hn as handleContentUnpublish, Ht as PortableTextImageBlock, I as isPreviewRequest, In as handleContentListTrashed, It as after, J as createNodeSandboxRunner, Jn as ContentRepository, Jt as ProseMirrorDocument, K as verifyPreviewToken, Kn as MediaItem, Kt as PortableTextTextBlock, L as GetPreviewUrlOptions, Ln as handleContentPermanentDelete, Lt as computeContentHash, M as Snapshot, Mn as handleContentDuplicate, Mt as getFallbackChain, N as renderPreviewLoadingPage, Nn as handleContentGet, Nt as getI18nConfig, O as ApplySnapshotToDatabaseOptions, On as handleContentCountTrashed, Ot as parsePreviewSignatureHeader, P as isBlockedInPreview, Pn as handleContentGetIncludingTrashed, Pt as isI18nEnabled, Q as PluginManager, Qt as SandboxEmailSendCallback, R as buildPreviewUrl, Rn as handleContentPublish, Rt as hashString, S as Suggestion, Sn as handleRevisionGet, St as SessionOpenOptions, T as PreviewToolbarConfig, Tn as generateManifest, Tt as PreviewSidecarSignature, U as VerifyPreviewTokenResult, Un as handleContentUnschedule, Ut as PortableTextLinkMark, V as PreviewTokenPayload, Vn as handleContentTranslations, Vt as PortableTextCodeBlock, W as generatePreviewToken, Wn as handleContentUpdate, Wt as PortableTextMarkDef, X as SandboxNotAvailableError, Xn as DinewayDatabaseError, Xt as ProseMirrorNode, Y as NoopSandboxRunner, Yn as DatabaseConfig, Yt as ProseMirrorMark, Z as createNoopSandboxRunner, Zt as SandboxEmailMessage, _ as SearchOptions, _n as handleMediaGet, _t as SessionCleanupResult, an as getSections, ar as ApiContext, at as ValidatedPluginManifest, b as SearchStats, bn as RevisionListResponse, bt as SessionDatabaseInfo, c as extractSearchableFields, cn as Section, cr as FieldDescriptor, ct as CollectionFilter$1, d as search, dn as SchemaError, en as SandboxRunner, et as PluginRouteError, f as searchCollection, fn as SchemaRegistry, g as SearchConfig, gn as handleMediaDelete, gt as FileSessionDatabaseFactoryOptions, h as CollectionSearchOptions, hn as handleMediaCreate, ht as FileSessionDatabaseFactory, in as getSection, it as createHookPipeline, j as getAppliedSnapshotMeta, jn as handleContentDiscardDraft, jt as I18nConfig, k as applySnapshotToDatabase, kn as handleContentCreate, kt as signPreviewUrl, l as getSearchStats, ln as SectionSource, lr as ListResponse, lt as EntryData, m as FTSManager, mn as MediaResponse, mt as createFilePreviewMiddleware, n as PluginDescriptor, nn as SandboxedPlugin, nt as HookPipeline, on as CreateSectionInput, or as ContentListResponse, ot as pluginManifestSchema, p as searchWithDb, pn as MediaListResponse, pt as FilePreviewMiddlewareConfig, q as NodeSandboxRunner, qn as MediaRepository, qt as PortableTextUnknownBlock, rn as SerializedRequest, rt as HookResult, s as extractPlainText, sn as GetSectionsOptions, sr as ContentResponse, st as definePlugin, tn as SandboxRunnerFactory, u as getSuggestions, un as UpdateSectionInput, ur as ManifestResponse, ut as EntryFilter, v as SearchResponse, vn as handleMediaList, vt as SessionDatabaseFactory, w as getBylineBySlug, wn as handleRevisionRestore, wt as PreviewSidecarClient, x as SuggestOptions, xn as RevisionResponse, xt as SessionDatabaseLimitError, y as SearchResult, yn as handleMediaUpdate, yt as SessionDatabaseHandle, z as getPreviewUrl, zn as handleContentRestore, zt as portableTextToProsemirror } from "./runtime-BM9sqnzO.mjs";
2
+ import { $ as createPluginManager, $t as SandboxOptions, A as dropSessionDatabaseTables, An as handleContentDelete, At as verifyPreviewSignature, B as GeneratePreviewTokenOptions, Bn as handleContentSchedule, Bt as prosemirrorToPortableText, C as getByline, Cn as handleRevisionList, Ct as SessionOpenOrCreateOptions, D as AppliedSnapshotMeta, Dn as handleContentCountScheduled, Dt as defaultPreviewSidecarClient, E as renderPreviewToolbar, En as handleContentCompare, Et as buildPreviewSignatureHeader, F as getPreviewToken, Fn as handleContentList, Ft as AfterCallback, G as parseContentId, Gn as CreateMediaInput, Gt as PortableTextSpan, H as VerifyPreviewTokenOptions, Hn as handleContentUnpublish, Ht as PortableTextImageBlock, I as isPreviewRequest, In as handleContentListTrashed, It as after, J as createNodeSandboxRunner, Jn as ContentRepository, Jt as ProseMirrorDocument, K as verifyPreviewToken, Kn as MediaItem, Kt as PortableTextTextBlock, L as GetPreviewUrlOptions, Ln as handleContentPermanentDelete, Lt as computeContentHash, M as Snapshot, Mn as handleContentDuplicate, Mt as getFallbackChain, N as renderPreviewLoadingPage, Nn as handleContentGet, Nt as getI18nConfig, O as ApplySnapshotToDatabaseOptions, On as handleContentCountTrashed, Ot as parsePreviewSignatureHeader, P as isBlockedInPreview, Pn as handleContentGetIncludingTrashed, Pt as isI18nEnabled, Q as PluginManager, Qt as SandboxEmailSendCallback, R as buildPreviewUrl, Rn as handleContentPublish, Rt as hashString, S as Suggestion, Sn as handleRevisionGet, St as SessionOpenOptions, T as PreviewToolbarConfig, Tn as generateManifest, Tt as PreviewSidecarSignature, U as VerifyPreviewTokenResult, Un as handleContentUnschedule, Ut as PortableTextLinkMark, V as PreviewTokenPayload, Vn as handleContentTranslations, Vt as PortableTextCodeBlock, W as generatePreviewToken, Wn as handleContentUpdate, Wt as PortableTextMarkDef, X as SandboxNotAvailableError, Xn as DinewayDatabaseError, Xt as ProseMirrorNode, Y as NoopSandboxRunner, Yn as DatabaseConfig, Yt as ProseMirrorMark, Z as createNoopSandboxRunner, Zt as SandboxEmailMessage, _ as SearchOptions, _n as handleMediaGet, _t as SessionCleanupResult, an as getSections, ar as ApiContext, at as ValidatedPluginManifest, b as SearchStats, bn as RevisionListResponse, bt as SessionDatabaseInfo, c as extractSearchableFields, cn as Section, cr as FieldDescriptor, ct as CollectionFilter$1, d as search, dn as SchemaError, en as SandboxRunner, et as PluginRouteError, f as searchCollection, fn as SchemaRegistry, g as SearchConfig, gn as handleMediaDelete, gt as FileSessionDatabaseFactoryOptions, h as CollectionSearchOptions, hn as handleMediaCreate, ht as FileSessionDatabaseFactory, in as getSection, it as createHookPipeline, j as getAppliedSnapshotMeta, jn as handleContentDiscardDraft, jt as I18nConfig, k as applySnapshotToDatabase, kn as handleContentCreate, kt as signPreviewUrl, l as getSearchStats, ln as SectionSource, lr as ListResponse, lt as EntryData, m as FTSManager, mn as MediaResponse, mt as createFilePreviewMiddleware, n as PluginDescriptor, nn as SandboxedPlugin, nt as HookPipeline, on as CreateSectionInput, or as ContentListResponse, ot as pluginManifestSchema, p as searchWithDb, pn as MediaListResponse, pt as FilePreviewMiddlewareConfig, q as NodeSandboxRunner, qn as MediaRepository, qt as PortableTextUnknownBlock, rn as SerializedRequest, rt as HookResult, s as extractPlainText, sn as GetSectionsOptions, sr as ContentResponse, st as definePlugin, tn as SandboxRunnerFactory, u as getSuggestions, un as UpdateSectionInput, ur as ManifestResponse, ut as EntryFilter, v as SearchResponse, vn as handleMediaList, vt as SessionDatabaseFactory, w as getBylineBySlug, wn as handleRevisionRestore, wt as PreviewSidecarClient, x as SuggestOptions, xn as RevisionResponse, xt as SessionDatabaseLimitError, y as SearchResult, yn as handleMediaUpdate, yt as SessionDatabaseHandle, z as getPreviewUrl, zn as handleContentRestore, zt as portableTextToProsemirror } from "./runtime-CP8eY2L-.mjs";
3
3
  import { n as MediaTable, r as UserTable, t as Database } from "./types-B1NksXAb.mjs";
4
4
  import { $ as StandardHookEntry, A as PageMetadataContribution, B as PluginDefinition, C as MediaAccess, D as PageFragmentContribution, E as ModerationDecision, F as PluginAdminConfig, G as PortableTextBlockConfig, H as PluginManifest, I as PluginAdminExports, K as PortableTextBlockField, L as PluginAdminPage, M as PageMetadataHandler, O as PageFragmentEvent, P as PagePlacement, Q as RouteContext, R as PluginCapability, S as LogAccess, T as MediaUploadEvent, U as PluginRoute, V as PluginHooks, W as PluginStorageConfig, X as ResolvedPlugin, Y as ResolvedHook, Z as ResolvedPluginHooks, _ as FieldWidgetConfig, a as CommentAfterModerateEvent, b as HttpAccess, c as CommentBeforeCreateHandler, d as ContentAccess, et as StandardHookHandler, f as ContentDeleteEvent, i as CommentAfterCreateHandler, it as StorageCollection, j as PageMetadataEvent, k as PageFragmentHandler, l as CommentModerateEvent, m as ContentPublishStateChangeEvent, n as CollectionCommentSettings, nt as StandardRouteEntry, o as CommentAfterModerateHandler, ot as StoredComment, p as ContentHookEvent, q as PublicPageContext, r as CommentAfterCreateEvent, rt as StandardRouteHandler, s as CommentBeforeCreateEvent, st as isStandardPluginDefinition, t as BreadcrumbItem, tt as StandardPluginDefinition, u as CommentModerateHandler, v as HookConfig, x as KVAccess, y as HookName, z as PluginContext } from "./types-BIM7jwxr.mjs";
5
5
  import { _ as RESERVED_COLLECTION_SLUGS, a as Collection, b as UpdateFieldInput, c as CollectionWithFields, d as CreateFieldInput, f as FIELD_TYPE_TO_COLUMN, g as FieldWidgetOptions, h as FieldValidation, i as SiteSettings, l as ColumnType, m as FieldType, n as SeoSettings, o as CollectionSource, p as Field, r as SiteSettingKey, s as CollectionSupport, t as MediaReference, u as CreateCollectionInput, v as RESERVED_FIELD_SLUGS, y as UpdateCollectionInput } from "./types-t7_nCCA9.mjs";
@@ -11,7 +11,7 @@ import { $ as TranslationSummary, A as MenuItem, B as getPluginSettings, C as Ta
11
11
  import { _ as WxrSite, a as getAllSources, b as parseWxrString, c as getUrlSources, d as importReusableBlocksAsSections, f as WxrAttachment, g as WxrPost, h as WxrData, i as clearSources, l as probeUrl, m as WxrCategory, n as parseWxrDate, o as getFileSources, p as WxrAuthor, r as wxrSource, s as getSource, t as wordpressRestSource, u as registerSource, v as WxrTag, x as decodeSlug, y as parseWxr } from "./index-CpbixmRL.mjs";
12
12
  import { n as generatePlaceholder, r as normalizeMediaValue, t as PlaceholderData } from "./placeholder-BZpCpid_.mjs";
13
13
  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-BYjPylrZ.mjs";
14
- import "./bylines-CqLv_DIj.mjs";
14
+ import "./bylines-r8fYBu9F.mjs";
15
15
  import { DinewayRequestContext, getRequestContext, runWithContext } from "./request-context.mjs";
16
16
  import { adaptSandboxEntry } from "./plugins/adapt-sandbox-entry.mjs";
17
17
  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-BBETcziA.mjs";
package/dist/index.mjs CHANGED
@@ -24,7 +24,7 @@ import "./byline-DpNNSjET.mjs";
24
24
  import { t as normalizeMediaValue } from "./normalize-BY_EJnd9.mjs";
25
25
  import { t as generatePlaceholder } from "./placeholder-b0Ufu0La.mjs";
26
26
  import "./seo-BPb_reaG.mjs";
27
- import { A as handleRevisionGet, B as handleContentDuplicate, D as handleMediaGet, E as handleMediaDelete, F as handleContentCountScheduled, G as handleContentPermanentDelete, H as handleContentGetIncludingTrashed, I as handleContentCountTrashed, J as handleContentSchedule, K as handleContentPublish, L as handleContentCreate, M as handleRevisionRestore, N as generateManifest, O as handleMediaList, P as handleContentCompare, Q as handleContentUpdate, R as handleContentDelete, T as handleMediaCreate, U as handleContentList, V as handleContentGet, W as handleContentListTrashed, X as handleContentUnpublish, Y as handleContentTranslations, Z as handleContentUnschedule, j as handleRevisionList, k as handleMediaUpdate, q as handleContentRestore, z as handleContentDiscardDraft } from "./api-THnYu0ZU.mjs";
27
+ import { A as handleRevisionGet, B as handleContentDuplicate, D as handleMediaGet, E as handleMediaDelete, F as handleContentCountScheduled, G as handleContentPermanentDelete, H as handleContentGetIncludingTrashed, I as handleContentCountTrashed, J as handleContentSchedule, K as handleContentPublish, L as handleContentCreate, M as handleRevisionRestore, N as generateManifest, O as handleMediaList, P as handleContentCompare, Q as handleContentUpdate, R as handleContentDelete, T as handleMediaCreate, U as handleContentList, V as handleContentGet, W as handleContentListTrashed, X as handleContentUnpublish, Y as handleContentTranslations, Z as handleContentUnschedule, j as handleRevisionList, k as handleMediaUpdate, q as handleContentRestore, z as handleContentDiscardDraft } from "./api-BgETfzu-.mjs";
28
28
  import "./request-cache-BpwuE2ix.mjs";
29
29
  import "./dashboard-BC9bgPOH.mjs";
30
30
  import "./briefing-Jsxs587i.mjs";
@@ -48,8 +48,8 @@ import "./taxonomies-DGaw_-aU.mjs";
48
48
  import { i as pluginManifestSchema } from "./manifest-schema-C6fzQoWn.mjs";
49
49
  import { t as DinewayStorageError } from "./types-CNNQ8l0v.mjs";
50
50
  import "./parse-D7Tu6ku4.mjs";
51
- import "./redirects-CoYlqu8e.mjs";
52
- import "./import-DQ4Rfh5h.mjs";
51
+ import "./redirects-x5ol_Qj9.mjs";
52
+ import "./import-Br7aP9yh.mjs";
53
53
  import { n as sanitizeHref, t as isSafeHref } from "./url-BzhfYtRn.mjs";
54
54
  import { c as createEditable, i as getTranslations, l as createNoop, n as getDinewayEntry, r as getEditMeta, s as resolveDinewayPath, t as getDinewayCollection } from "./query-DHvNhBhi.mjs";
55
55
  import { a as verifyPreviewSignature, i as signPreviewUrl, n as defaultPreviewSidecarClient, r as parsePreviewSignatureHeader, t as buildPreviewSignatureHeader } from "./sidecar-client-lrf7ErYJ.mjs";
@@ -1,4 +1,4 @@
1
- import "../runtime-BM9sqnzO.mjs";
1
+ import "../runtime-CP8eY2L-.mjs";
2
2
  import { t as Database } from "../types-B1NksXAb.mjs";
3
3
  import "../types-BIM7jwxr.mjs";
4
4
  import "../types-BgE6gMFI.mjs";
@@ -7,7 +7,7 @@ import "../runner-pAnQS6iI.mjs";
7
7
  import "../index-2tBfB_8X.mjs";
8
8
  import "../index-CpbixmRL.mjs";
9
9
  import { d as Storage } from "../types-BYjPylrZ.mjs";
10
- import "../bylines-CqLv_DIj.mjs";
10
+ import "../bylines-r8fYBu9F.mjs";
11
11
  import "../types-BBETcziA.mjs";
12
12
  import "../validate-BzUCAU2a.mjs";
13
13
  import "../index.mjs";
@@ -1,7 +1,7 @@
1
1
  import { t as withTransaction } from "./transaction-D0FOsb3X.mjs";
2
- import { a as filterExperimentalSiteContextWorkflowScopes, i as experimentalSiteContextWorkflowsEnabled, o as getExperimentalSiteContextWorkflowScopesDisabledMessage, r as disabledExperimentalSiteContextWorkflowScopes } from "./experimental-workflows-_I9NlZbO.mjs";
2
+ import { a as filterExperimentalSiteContextWorkflowScopes, i as experimentalSiteContextWorkflowsEnabled, o as getExperimentalSiteContextWorkflowScopesDisabledMessage, r as disabledExperimentalSiteContextWorkflowScopes } from "./experimental-workflows-BbZbIEZp.mjs";
3
3
  import { a as hashApiToken, n as TOKEN_PREFIXES, r as generatePrefixedToken, t as ALL_VALID_SCOPES } from "./api-tokens-L0o9Bd7v.mjs";
4
- import { c as validateRedirectUri, o as lookupOAuthClient, s as validateClientRedirectUri } from "./oauth-clients-D1n0ykZJ.mjs";
4
+ import { c as validateRedirectUri, o as lookupOAuthClient, s as validateClientRedirectUri } from "./oauth-clients-BMs_bmoz.mjs";
5
5
  import { t as lookupUserRoleAndStatus } from "./oauth-user-lookup-DdcI8ZVL.mjs";
6
6
  import { clampScopes, computeS256Challenge, secureCompare } from "@dineway-ai/auth";
7
7
  import { generateCodeVerifier } from "arctic";
@@ -1,4 +1,4 @@
1
- import { o as getExperimentalSiteContextWorkflowScopesDisabledMessage, r as disabledExperimentalSiteContextWorkflowScopes } from "./experimental-workflows-_I9NlZbO.mjs";
1
+ import { o as getExperimentalSiteContextWorkflowScopesDisabledMessage, r as disabledExperimentalSiteContextWorkflowScopes } from "./experimental-workflows-BbZbIEZp.mjs";
2
2
  import { s as validateScopes } from "./api-tokens-L0o9Bd7v.mjs";
3
3
 
4
4
  //#region src/api/oauth/redirect-uri.ts
@@ -1,11 +1,11 @@
1
- import { n as PluginDescriptor } from "../runtime-BM9sqnzO.mjs";
1
+ import { n as PluginDescriptor } from "../runtime-CP8eY2L-.mjs";
2
2
  import "../types-B1NksXAb.mjs";
3
3
  import { X as ResolvedPlugin, tt as StandardPluginDefinition } from "../types-BIM7jwxr.mjs";
4
4
  import "../types-BgE6gMFI.mjs";
5
5
  import "../runner-pAnQS6iI.mjs";
6
6
  import "../index-2tBfB_8X.mjs";
7
7
  import "../index-CpbixmRL.mjs";
8
- import "../bylines-CqLv_DIj.mjs";
8
+ import "../bylines-r8fYBu9F.mjs";
9
9
  import "../types-BBETcziA.mjs";
10
10
  import "../validate-BzUCAU2a.mjs";
11
11