dineway 0.1.30 → 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 (126) 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-CYnT_2_B.mjs → api-BgETfzu-.mjs} +1 -1
  6. package/dist/astro/index.d.mts +2 -2
  7. package/dist/astro/index.mjs +2 -2
  8. package/dist/astro/middleware/auth.d.mts +2 -2
  9. package/dist/astro/middleware/auth.mjs +1 -1
  10. package/dist/astro/middleware/request-context.mjs +1 -1
  11. package/dist/astro/middleware/setup.mjs +1 -1
  12. package/dist/astro/middleware.mjs +6 -6
  13. package/dist/astro/routes/api/admin/api-tokens/index.mjs +1 -1
  14. package/dist/astro/routes/api/admin/context/_id_/history.mjs +2 -2
  15. package/dist/astro/routes/api/admin/context/_id_/index.mjs +2 -2
  16. package/dist/astro/routes/api/admin/context/_id_/review.mjs +2 -2
  17. package/dist/astro/routes/api/admin/context/_id_/supersede.mjs +2 -2
  18. package/dist/astro/routes/api/admin/context/diff.mjs +2 -2
  19. package/dist/astro/routes/api/admin/context/index.mjs +2 -2
  20. package/dist/astro/routes/api/admin/context/stale.mjs +2 -2
  21. package/dist/astro/routes/api/admin/hitl-requests/_id_/index.mjs +3 -3
  22. package/dist/astro/routes/api/admin/hitl-requests/_id_/resolve.mjs +3 -3
  23. package/dist/astro/routes/api/admin/hitl-requests/index.mjs +3 -3
  24. package/dist/astro/routes/api/admin/hooks/exclusive/_hookName_.mjs +2 -2
  25. package/dist/astro/routes/api/admin/oauth-clients/_id_.mjs +2 -2
  26. package/dist/astro/routes/api/admin/oauth-clients/index.mjs +2 -2
  27. package/dist/astro/routes/api/admin/plugins/_id_/disable.mjs +3 -3
  28. package/dist/astro/routes/api/admin/plugins/_id_/enable.mjs +3 -3
  29. package/dist/astro/routes/api/admin/plugins/_id_/index.mjs +1 -1
  30. package/dist/astro/routes/api/admin/plugins/_id_/uninstall.mjs +3 -3
  31. package/dist/astro/routes/api/admin/plugins/_id_/update.mjs +3 -3
  32. package/dist/astro/routes/api/admin/plugins/index.mjs +1 -1
  33. package/dist/astro/routes/api/admin/plugins/marketplace/_id_/index.mjs +1 -1
  34. package/dist/astro/routes/api/admin/plugins/marketplace/_id_/install.mjs +3 -3
  35. package/dist/astro/routes/api/admin/plugins/marketplace/index.mjs +1 -1
  36. package/dist/astro/routes/api/admin/plugins/updates.mjs +1 -1
  37. package/dist/astro/routes/api/admin/review-requests/_id_/resolve.mjs +1 -1
  38. package/dist/astro/routes/api/admin/themes/marketplace/_id_/index.mjs +1 -1
  39. package/dist/astro/routes/api/admin/themes/marketplace/index.mjs +1 -1
  40. package/dist/astro/routes/api/auth/invite/complete.mjs +2 -2
  41. package/dist/astro/routes/api/auth/invite/register-options.mjs +1 -1
  42. package/dist/astro/routes/api/auth/mode.mjs +1 -1
  43. package/dist/astro/routes/api/auth/passkey/options.mjs +1 -1
  44. package/dist/astro/routes/api/auth/passkey/register/options.mjs +1 -1
  45. package/dist/astro/routes/api/auth/passkey/register/verify.mjs +2 -2
  46. package/dist/astro/routes/api/auth/passkey/verify.mjs +2 -2
  47. package/dist/astro/routes/api/auth/signup/complete.mjs +2 -2
  48. package/dist/astro/routes/api/comments/_collection_/_contentId_/index.mjs +1 -1
  49. package/dist/astro/routes/api/content/_collection_/_id_/preview-url.mjs +1 -1
  50. package/dist/astro/routes/api/health.mjs +1 -1
  51. package/dist/astro/routes/api/import/wordpress/execute.mjs +2 -2
  52. package/dist/astro/routes/api/import/wordpress/prepare.mjs +2 -2
  53. package/dist/astro/routes/api/import/wordpress/rewrite-urls.mjs +2 -2
  54. package/dist/astro/routes/api/import/wordpress-plugin/execute.mjs +2 -2
  55. package/dist/astro/routes/api/manifest.mjs +3 -3
  56. package/dist/astro/routes/api/mcp.mjs +2 -2
  57. package/dist/astro/routes/api/menus/_name_/items/_id_.mjs +2 -2
  58. package/dist/astro/routes/api/menus/_name_/items.mjs +2 -2
  59. package/dist/astro/routes/api/menus/_name_/reorder.mjs +2 -2
  60. package/dist/astro/routes/api/menus/_name_/translations.mjs +2 -2
  61. package/dist/astro/routes/api/menus/_name_.mjs +2 -2
  62. package/dist/astro/routes/api/menus/index.mjs +2 -2
  63. package/dist/astro/routes/api/oauth/authorize.mjs +3 -3
  64. package/dist/astro/routes/api/oauth/device/authorize.mjs +2 -2
  65. package/dist/astro/routes/api/oauth/device/code.mjs +2 -2
  66. package/dist/astro/routes/api/oauth/device/token.mjs +2 -2
  67. package/dist/astro/routes/api/oauth/register.mjs +2 -2
  68. package/dist/astro/routes/api/oauth/token/refresh.mjs +2 -2
  69. package/dist/astro/routes/api/oauth/token/revoke.mjs +2 -2
  70. package/dist/astro/routes/api/oauth/token.mjs +3 -3
  71. package/dist/astro/routes/api/openapi.json.mjs +1 -1
  72. package/dist/astro/routes/api/redirects/_id_.mjs +2 -2
  73. package/dist/astro/routes/api/redirects/index.mjs +2 -2
  74. package/dist/astro/routes/api/schema/collections/_slug_/fields/_fieldSlug_.mjs +1 -1
  75. package/dist/astro/routes/api/schema/collections/_slug_/fields/index.mjs +1 -1
  76. package/dist/astro/routes/api/schema/collections/_slug_/fields/reorder.mjs +1 -1
  77. package/dist/astro/routes/api/schema/collections/_slug_/index.mjs +1 -1
  78. package/dist/astro/routes/api/schema/collections/index.mjs +1 -1
  79. package/dist/astro/routes/api/schema/orphans/_slug_.mjs +1 -1
  80. package/dist/astro/routes/api/schema/orphans/index.mjs +1 -1
  81. package/dist/astro/routes/api/sections/_slug_.mjs +2 -2
  82. package/dist/astro/routes/api/sections/index.mjs +2 -2
  83. package/dist/astro/routes/api/settings.mjs +2 -2
  84. package/dist/astro/routes/api/setup/admin-verify.mjs +3 -3
  85. package/dist/astro/routes/api/setup/admin.mjs +1 -1
  86. package/dist/astro/routes/api/setup/index.mjs +1 -1
  87. package/dist/astro/routes/api/setup/status.mjs +1 -1
  88. package/dist/astro/routes/api/snapshot.mjs +1 -1
  89. package/dist/astro/routes/api/taxonomies/_name_/terms/_slug_/translations.mjs +2 -2
  90. package/dist/astro/routes/api/taxonomies/_name_/terms/_slug_.mjs +2 -2
  91. package/dist/astro/routes/api/taxonomies/_name_/terms/index.mjs +2 -2
  92. package/dist/astro/routes/api/taxonomies/index.mjs +2 -2
  93. package/dist/astro/routes/api/themes/preview.mjs +1 -1
  94. package/dist/astro/routes/api/well-known/auth.mjs +2 -2
  95. package/dist/astro/routes/api/well-known/oauth-authorization-server.mjs +1 -1
  96. package/dist/astro/routes/api/well-known/oauth-protected-resource.mjs +1 -1
  97. package/dist/astro/routes/api/widget-areas/_name_/reorder.mjs +2 -2
  98. package/dist/astro/routes/api/widget-areas/_name_/widgets/_id_.mjs +2 -2
  99. package/dist/astro/routes/api/widget-areas/_name_/widgets.mjs +2 -2
  100. package/dist/astro/routes/api/widget-areas/_name_.mjs +2 -2
  101. package/dist/astro/routes/api/widget-areas/index.mjs +2 -2
  102. package/dist/astro/types.d.mts +2 -2
  103. package/dist/{bylines-CGwQCHdG.d.mts → bylines-r8fYBu9F.d.mts} +27 -27
  104. package/dist/cli/index.mjs +1 -1
  105. package/dist/{context-BnD2m5tn.mjs → context-DgqEfcWz.mjs} +1 -1
  106. package/dist/{device-flow-DDZjntgf.mjs → device-flow-CTS91g4A.mjs} +2 -2
  107. package/dist/{hitl-requests-Dt7JsXh5.mjs → hitl-requests-DaRuZ7tb.mjs} +2 -2
  108. package/dist/{hitl-route-helpers-F3voM_3Y.mjs → hitl-route-helpers-DcPySbZ3.mjs} +2 -2
  109. package/dist/index.d.mts +2 -2
  110. package/dist/index.mjs +1 -1
  111. package/dist/media/local-runtime.d.mts +2 -2
  112. package/dist/{oauth-authorization-lW9vJ_hl.mjs → oauth-authorization-DyOFXQWq.mjs} +2 -2
  113. package/dist/{oauth-clients-D1n0ykZJ.mjs → oauth-clients-BMs_bmoz.mjs} +1 -1
  114. package/dist/plugins/adapt-sandbox-entry.d.mts +2 -2
  115. package/dist/{runtime-CJasRKJB.d.mts → runtime-CP8eY2L-.d.mts} +2 -2
  116. package/dist/runtime.d.mts +2 -2
  117. package/dist/{site-context-BBX9G7FT.mjs → site-context-DuBQk6Mp.mjs} +1 -1
  118. package/dist/version-DjRKTPYR.mjs +6 -0
  119. package/package.json +3 -3
  120. package/dist/version-C0JMMhmz.mjs +0 -6
  121. /package/dist/{allowed-origins-U7ZavuGp.mjs → allowed-origins-3RuuoFjC.mjs} +0 -0
  122. /package/dist/{challenge-store-ChIyDxM6.mjs → challenge-store-cJam-E5R.mjs} +0 -0
  123. /package/dist/{experimental-workflows-_I9NlZbO.mjs → experimental-workflows-BbZbIEZp.mjs} +0 -0
  124. /package/dist/{mode-BSPqFzOJ.mjs → mode-Bd55iLcP.mjs} +0 -0
  125. /package/dist/{secrets-DOkSNlfQ.mjs → secrets-DfeNNoLa.mjs} +0 -0
  126. /package/dist/{setup-complete-DXCcwkth.mjs → setup-complete-C2ztsNhJ.mjs} +0 -0
@@ -28,9 +28,9 @@ import "../../../../../../../api/schemas/index.mjs";
28
28
  import "../../../../../../../utils-FEbQMgB5.mjs";
29
29
  import "../../../../../../../search-Cl9preJT.mjs";
30
30
  import { n as requirePerm } from "../../../../../../../authorize-BbIhZi3a.mjs";
31
- import { _ as RiskPolicyEvaluator, l as TaxonomyHitlPayloadBuilder } from "../../../../../../../site-context-BBX9G7FT.mjs";
31
+ import { _ as RiskPolicyEvaluator, l as TaxonomyHitlPayloadBuilder } from "../../../../../../../site-context-DuBQk6Mp.mjs";
32
32
  import { C as taxonomyApiRouteSource, m as logTaxonomyActivity } from "../../../../../../../activity-events-CpcTzKpF.mjs";
33
- import { i as resolveHitlRouteActor, n as hitlRequiredRouteError, t as ensureWorkflowHitlRouteRequest } from "../../../../../../../hitl-route-helpers-F3voM_3Y.mjs";
33
+ import { i as resolveHitlRouteActor, n as hitlRequiredRouteError, t as ensureWorkflowHitlRouteRequest } from "../../../../../../../hitl-route-helpers-DcPySbZ3.mjs";
34
34
  import { z } from "zod";
35
35
 
36
36
  //#region src/astro/routes/api/taxonomies/[name]/terms/[slug]/translations.ts
@@ -28,9 +28,9 @@ import "../../../../../../api/schemas/index.mjs";
28
28
  import "../../../../../../utils-FEbQMgB5.mjs";
29
29
  import "../../../../../../search-Cl9preJT.mjs";
30
30
  import { n as requirePerm } from "../../../../../../authorize-BbIhZi3a.mjs";
31
- import { _ as RiskPolicyEvaluator, l as TaxonomyHitlPayloadBuilder } from "../../../../../../site-context-BBX9G7FT.mjs";
31
+ import { _ as RiskPolicyEvaluator, l as TaxonomyHitlPayloadBuilder } from "../../../../../../site-context-DuBQk6Mp.mjs";
32
32
  import { C as taxonomyApiRouteSource, m as logTaxonomyActivity, t as activityChangedKeys } from "../../../../../../activity-events-CpcTzKpF.mjs";
33
- import { i as resolveHitlRouteActor, n as hitlRequiredRouteError, t as ensureWorkflowHitlRouteRequest } from "../../../../../../hitl-route-helpers-F3voM_3Y.mjs";
33
+ import { i as resolveHitlRouteActor, n as hitlRequiredRouteError, t as ensureWorkflowHitlRouteRequest } from "../../../../../../hitl-route-helpers-DcPySbZ3.mjs";
34
34
  import { z } from "zod";
35
35
 
36
36
  //#region src/astro/routes/api/taxonomies/[name]/terms/[slug].ts
@@ -28,9 +28,9 @@ import "../../../../../../api/schemas/index.mjs";
28
28
  import "../../../../../../utils-FEbQMgB5.mjs";
29
29
  import "../../../../../../search-Cl9preJT.mjs";
30
30
  import { n as requirePerm } from "../../../../../../authorize-BbIhZi3a.mjs";
31
- import { _ as RiskPolicyEvaluator, l as TaxonomyHitlPayloadBuilder } from "../../../../../../site-context-BBX9G7FT.mjs";
31
+ import { _ as RiskPolicyEvaluator, l as TaxonomyHitlPayloadBuilder } from "../../../../../../site-context-DuBQk6Mp.mjs";
32
32
  import { C as taxonomyApiRouteSource, m as logTaxonomyActivity } from "../../../../../../activity-events-CpcTzKpF.mjs";
33
- import { i as resolveHitlRouteActor, n as hitlRequiredRouteError, t as ensureWorkflowHitlRouteRequest } from "../../../../../../hitl-route-helpers-F3voM_3Y.mjs";
33
+ import { i as resolveHitlRouteActor, n as hitlRequiredRouteError, t as ensureWorkflowHitlRouteRequest } from "../../../../../../hitl-route-helpers-DcPySbZ3.mjs";
34
34
  import { z } from "zod";
35
35
 
36
36
  //#region src/astro/routes/api/taxonomies/[name]/terms/index.ts
@@ -28,9 +28,9 @@ import "../../../../api/schemas/index.mjs";
28
28
  import "../../../../utils-FEbQMgB5.mjs";
29
29
  import "../../../../search-Cl9preJT.mjs";
30
30
  import { n as requirePerm } from "../../../../authorize-BbIhZi3a.mjs";
31
- import { _ as RiskPolicyEvaluator, l as TaxonomyHitlPayloadBuilder } from "../../../../site-context-BBX9G7FT.mjs";
31
+ import { _ as RiskPolicyEvaluator, l as TaxonomyHitlPayloadBuilder } from "../../../../site-context-DuBQk6Mp.mjs";
32
32
  import { C as taxonomyApiRouteSource, m as logTaxonomyActivity } from "../../../../activity-events-CpcTzKpF.mjs";
33
- import { i as resolveHitlRouteActor, n as hitlRequiredRouteError, t as ensureWorkflowHitlRouteRequest } from "../../../../hitl-route-helpers-F3voM_3Y.mjs";
33
+ import { i as resolveHitlRouteActor, n as hitlRequiredRouteError, t as ensureWorkflowHitlRouteRequest } from "../../../../hitl-route-helpers-DcPySbZ3.mjs";
34
34
  import { z } from "zod";
35
35
 
36
36
  //#region src/astro/routes/api/taxonomies/index.ts
@@ -2,7 +2,7 @@ import "../../../../base64-C1Q9yr0B.mjs";
2
2
  import "../../../../options-BF11H_FD.mjs";
3
3
  import { n as apiSuccess, t as apiError } from "../../../../error-DLkgOP5m.mjs";
4
4
  import { n as getPublicOrigin } from "../../../../public-url-BL2r8dmQ.mjs";
5
- import { i as resolveSecretsCached } from "../../../../secrets-DOkSNlfQ.mjs";
5
+ import { i as resolveSecretsCached } from "../../../../secrets-DfeNNoLa.mjs";
6
6
  import { n as requirePerm } from "../../../../authorize-BbIhZi3a.mjs";
7
7
 
8
8
  //#region src/astro/routes/api/themes/preview.ts
@@ -1,6 +1,6 @@
1
1
  import { t as OptionsRepository } from "../../../../options-BF11H_FD.mjs";
2
- import { n as VERSION } from "../../../../version-C0JMMhmz.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
@@ -25,9 +25,9 @@ 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
@@ -26,9 +26,9 @@ 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
@@ -26,9 +26,9 @@ 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
@@ -26,9 +26,9 @@ 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-CJasRKJB.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-CGwQCHdG.mjs";
11
+ import "../bylines-r8fYBu9F.mjs";
12
12
  import "../types-BBETcziA.mjs";
13
13
  import "../validate-BzUCAU2a.mjs";
14
14
  import "../index.mjs";
@@ -559,14 +559,14 @@ declare const createFieldBody: z.ZodObject<{
559
559
  boolean: "boolean";
560
560
  file: "file";
561
561
  slug: "slug";
562
- url: "url";
563
- image: "image";
564
- datetime: "datetime";
565
562
  text: "text";
563
+ url: "url";
566
564
  integer: "integer";
565
+ datetime: "datetime";
567
566
  select: "select";
568
567
  multiSelect: "multiSelect";
569
568
  portableText: "portableText";
569
+ image: "image";
570
570
  reference: "reference";
571
571
  json: "json";
572
572
  repeater: "repeater";
@@ -588,10 +588,10 @@ declare const createFieldBody: z.ZodObject<{
588
588
  string: "string";
589
589
  number: "number";
590
590
  boolean: "boolean";
591
- url: "url";
592
- datetime: "datetime";
593
591
  text: "text";
592
+ url: "url";
594
593
  integer: "integer";
594
+ datetime: "datetime";
595
595
  select: "select";
596
596
  }>;
597
597
  label: z.ZodString;
@@ -627,10 +627,10 @@ declare const updateFieldBody: z.ZodObject<{
627
627
  string: "string";
628
628
  number: "number";
629
629
  boolean: "boolean";
630
- url: "url";
631
- datetime: "datetime";
632
630
  text: "text";
631
+ url: "url";
633
632
  integer: "integer";
633
+ datetime: "datetime";
634
634
  select: "select";
635
635
  }>;
636
636
  label: z.ZodString;
@@ -686,14 +686,14 @@ declare const fieldSchema: z.ZodObject<{
686
686
  boolean: "boolean";
687
687
  file: "file";
688
688
  slug: "slug";
689
- url: "url";
690
- image: "image";
691
- datetime: "datetime";
692
689
  text: "text";
690
+ url: "url";
693
691
  integer: "integer";
692
+ datetime: "datetime";
694
693
  select: "select";
695
694
  multiSelect: "multiSelect";
696
695
  portableText: "portableText";
696
+ image: "image";
697
697
  reference: "reference";
698
698
  json: "json";
699
699
  repeater: "repeater";
@@ -751,14 +751,14 @@ declare const collectionWithFieldsResponseSchema: z.ZodObject<{
751
751
  boolean: "boolean";
752
752
  file: "file";
753
753
  slug: "slug";
754
- url: "url";
755
- image: "image";
756
- datetime: "datetime";
757
754
  text: "text";
755
+ url: "url";
758
756
  integer: "integer";
757
+ datetime: "datetime";
759
758
  select: "select";
760
759
  multiSelect: "multiSelect";
761
760
  portableText: "portableText";
761
+ image: "image";
762
762
  reference: "reference";
763
763
  json: "json";
764
764
  repeater: "repeater";
@@ -805,14 +805,14 @@ declare const fieldResponseSchema: z.ZodObject<{
805
805
  boolean: "boolean";
806
806
  file: "file";
807
807
  slug: "slug";
808
- url: "url";
809
- image: "image";
810
- datetime: "datetime";
811
808
  text: "text";
809
+ url: "url";
812
810
  integer: "integer";
811
+ datetime: "datetime";
813
812
  select: "select";
814
813
  multiSelect: "multiSelect";
815
814
  portableText: "portableText";
815
+ image: "image";
816
816
  reference: "reference";
817
817
  json: "json";
818
818
  repeater: "repeater";
@@ -842,14 +842,14 @@ declare const fieldListResponseSchema: z.ZodObject<{
842
842
  boolean: "boolean";
843
843
  file: "file";
844
844
  slug: "slug";
845
- url: "url";
846
- image: "image";
847
- datetime: "datetime";
848
845
  text: "text";
846
+ url: "url";
849
847
  integer: "integer";
848
+ datetime: "datetime";
850
849
  select: "select";
851
850
  multiSelect: "multiSelect";
852
851
  portableText: "portableText";
852
+ image: "image";
853
853
  reference: "reference";
854
854
  json: "json";
855
855
  repeater: "repeater";
@@ -890,8 +890,8 @@ declare const createCommentBody: z.ZodObject<{
890
890
  }, z.core.$strip>;
891
891
  declare const commentStatusBody: z.ZodObject<{
892
892
  status: z.ZodEnum<{
893
- pending: "pending";
894
893
  approved: "approved";
894
+ pending: "pending";
895
895
  spam: "spam";
896
896
  trash: "trash";
897
897
  }>;
@@ -907,8 +907,8 @@ declare const commentBulkBody: z.ZodObject<{
907
907
  }, z.core.$strip>;
908
908
  declare const commentListQuery: z.ZodObject<{
909
909
  status: z.ZodOptional<z.ZodEnum<{
910
- pending: "pending";
911
910
  approved: "approved";
911
+ pending: "pending";
912
912
  spam: "spam";
913
913
  trash: "trash";
914
914
  }>>;
@@ -942,8 +942,8 @@ declare const commentSchema: z.ZodObject<{
942
942
  authorEmail: z.ZodString;
943
943
  body: z.ZodString;
944
944
  status: z.ZodEnum<{
945
- pending: "pending";
946
945
  approved: "approved";
946
+ pending: "pending";
947
947
  spam: "spam";
948
948
  trash: "trash";
949
949
  }>;
@@ -974,8 +974,8 @@ declare const adminCommentListResponseSchema: z.ZodObject<{
974
974
  authorEmail: z.ZodString;
975
975
  body: z.ZodString;
976
976
  status: z.ZodEnum<{
977
- pending: "pending";
978
977
  approved: "approved";
978
+ pending: "pending";
979
979
  spam: "spam";
980
980
  trash: "trash";
981
981
  }>;
@@ -1020,6 +1020,8 @@ declare const contextEntryListQuery: z.ZodObject<{
1020
1020
  cursor: z.ZodOptional<z.ZodString>;
1021
1021
  }, z.core.$strip>;
1022
1022
  declare const contextEntryStaleQuery: z.ZodObject<{
1023
+ limit: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
1024
+ cursor: z.ZodOptional<z.ZodString>;
1023
1025
  includeInherited: z.ZodPipe<z.ZodOptional<z.ZodEnum<{
1024
1026
  true: "true";
1025
1027
  false: "false";
@@ -1033,8 +1035,6 @@ declare const contextEntryStaleQuery: z.ZodObject<{
1033
1035
  system: "system";
1034
1036
  }>>;
1035
1037
  createdByActorId: z.ZodOptional<z.ZodString>;
1036
- limit: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
1037
- cursor: z.ZodOptional<z.ZodString>;
1038
1038
  now: z.ZodOptional<z.ZodString>;
1039
1039
  }, z.core.$strip>;
1040
1040
  declare const contextEntryDiffQuery: z.ZodObject<{
@@ -1115,8 +1115,8 @@ declare const siteBriefingQuery: z.ZodObject<{
1115
1115
  //#region src/api/schemas/hitl-requests.d.ts
1116
1116
  declare const hitlRequestListQuery: z.ZodObject<{
1117
1117
  status: z.ZodOptional<z.ZodEnum<{
1118
- pending: "pending";
1119
1118
  approved: "approved";
1119
+ pending: "pending";
1120
1120
  rejected: "rejected";
1121
1121
  }>>;
1122
1122
  priority: z.ZodOptional<z.ZodEnum<{
@@ -1143,8 +1143,8 @@ declare const hitlRequestResolveBody: z.ZodObject<{
1143
1143
  //#region src/api/schemas/review-requests.d.ts
1144
1144
  declare const reviewRequestListQuery: z.ZodObject<{
1145
1145
  status: z.ZodOptional<z.ZodEnum<{
1146
- pending: "pending";
1147
1146
  approved: "approved";
1147
+ pending: "pending";
1148
1148
  rejected: "rejected";
1149
1149
  }>>;
1150
1150
  collection: z.ZodOptional<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";
@@ -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
 
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-CJasRKJB.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-CGwQCHdG.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-CYnT_2_B.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";
@@ -1,4 +1,4 @@
1
- import "../runtime-CJasRKJB.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-CGwQCHdG.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-CJasRKJB.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-CGwQCHdG.mjs";
8
+ import "../bylines-r8fYBu9F.mjs";
9
9
  import "../types-BBETcziA.mjs";
10
10
  import "../validate-BzUCAU2a.mjs";
11
11
 
@@ -1788,13 +1788,13 @@ declare const pluginManifestSchema: z.ZodObject<{
1788
1788
  boolean: "boolean";
1789
1789
  file: "file";
1790
1790
  slug: "slug";
1791
- image: "image";
1792
- datetime: "datetime";
1793
1791
  text: "text";
1794
1792
  integer: "integer";
1793
+ datetime: "datetime";
1795
1794
  select: "select";
1796
1795
  multiSelect: "multiSelect";
1797
1796
  portableText: "portableText";
1797
+ image: "image";
1798
1798
  reference: "reference";
1799
1799
  json: "json";
1800
1800
  repeater: "repeater";
@@ -1,11 +1,11 @@
1
- import { ct as CollectionFilter, dt as dinewayLoader, ft as getDb, lt as EntryData, ut as EntryFilter } from "./runtime-CJasRKJB.mjs";
1
+ import { ct as CollectionFilter, dt as dinewayLoader, ft as getDb, lt as EntryData, ut as EntryFilter } from "./runtime-CP8eY2L-.mjs";
2
2
  import "./types-B1NksXAb.mjs";
3
3
  import "./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-CGwQCHdG.mjs";
8
+ import "./bylines-r8fYBu9F.mjs";
9
9
  import "./types-BBETcziA.mjs";
10
10
  import "./validate-BzUCAU2a.mjs";
11
11
  import { t as getMediaProvider } from "./provider-loader-BaZhx7E3.mjs";
@@ -12,7 +12,7 @@ import { a as getSiteSettingsWithDb } from "./settings-DORe02PC.mjs";
12
12
  import { p as normalizeUrl } from "./utils-FEbQMgB5.mjs";
13
13
  import { t as sanitizeWordPressImportSlug } from "./wordpress-slugs-hqItqJrQ.mjs";
14
14
  import { s as searchCollection } from "./search-Cl9preJT.mjs";
15
- import { n as assertExperimentalSiteContextWorkflowsEnabled } from "./experimental-workflows-_I9NlZbO.mjs";
15
+ import { n as assertExperimentalSiteContextWorkflowsEnabled } from "./experimental-workflows-BbZbIEZp.mjs";
16
16
  import { sql } from "kysely";
17
17
  import { ulid } from "ulidx";
18
18
  import { Role } from "@dineway-ai/auth";
@@ -0,0 +1,6 @@
1
+ //#region src/version.ts
2
+ const VERSION = "0.1.31";
3
+ const COMMIT = "921b2888";
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.1.30",
3
+ "version": "0.1.31",
4
4
  "description": "Agentic Website builder for restaurants — structured content meets AI via the Model Context Protocol",
5
5
  "type": "module",
6
6
  "publishConfig": {
@@ -348,8 +348,8 @@
348
348
  "upng-js": "^2.1.0",
349
349
  "zod": "^4.4.1",
350
350
  "@dineway-ai/admin": "^0.1.15",
351
- "@dineway-ai/gutenberg-to-portable-text": "^0.1.13",
352
- "@dineway-ai/auth": "^0.1.15"
351
+ "@dineway-ai/auth": "^0.1.15",
352
+ "@dineway-ai/gutenberg-to-portable-text": "^0.1.13"
353
353
  },
354
354
  "optionalDependencies": {
355
355
  "@aws-sdk/client-s3": "^3.1049.0",
@@ -1,6 +0,0 @@
1
- //#region src/version.ts
2
- const VERSION = "0.1.30";
3
- const COMMIT = "b11b0935";
4
-
5
- //#endregion
6
- export { VERSION as n, COMMIT as t };
File without changes