better-supabase 0.15.0 → 0.15.1

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 (284) hide show
  1. package/dist/{adapter-B0b6MXYS.js → adapter-Dyks1lX1.js} +1 -1
  2. package/dist/{agents-5n8DWRfP.d.ts → agents-CMIB3802.d.ts} +1 -1
  3. package/dist/{ai-cache-DyHohbFP.d.ts → ai-cache-2LGgaT7F.d.ts} +1 -1
  4. package/dist/{ai-chat-D1GuRnke.d.ts → ai-chat-BCaKsvLW.d.ts} +1 -1
  5. package/dist/{ai-schedules-CAquecT_.d.ts → ai-schedules-D_Hz-ik5.d.ts} +2 -2
  6. package/dist/ai-sdk/agents/index.d.ts +4 -4
  7. package/dist/ai-sdk/batches/index.d.ts +1 -1
  8. package/dist/ai-sdk/cache/index.d.ts +1 -1
  9. package/dist/ai-sdk/chat/index.d.ts +1 -1
  10. package/dist/ai-sdk/embeddings/index.d.ts +2 -2
  11. package/dist/ai-sdk/index.d.ts +4 -4
  12. package/dist/ai-sdk/memory/index.d.ts +3 -3
  13. package/dist/ai-sdk/workflow/index.d.ts +3 -3
  14. package/dist/{app-tables-CF2DD-Mu.d.ts → app-tables-CbCFSXLG.d.ts} +1 -1
  15. package/dist/{approvals-Crutd4-o.d.ts → approvals-Dh9dUXrN.d.ts} +1 -1
  16. package/dist/{assistant-CD_h8Vxx.d.ts → assistant-ndGdOBax.d.ts} +2 -2
  17. package/dist/astro/index.d.ts +2 -2
  18. package/dist/astro/index.js +2 -2
  19. package/dist/{authorization-hooks-Cs1vP_ej.d.ts → authorization-hooks-D_pwXlBs.d.ts} +4 -0
  20. package/dist/{bind-CrMBwrPN.d.ts → bind-h5jre2K0.d.ts} +3 -3
  21. package/dist/{block-env-B_uEM2xz.d.ts → block-env-BrfRvPrj.d.ts} +4 -4
  22. package/dist/blocks/access-requests/index.d.ts +1 -1
  23. package/dist/blocks/activities/index.d.ts +2 -2
  24. package/dist/blocks/agents/index.d.ts +2 -2
  25. package/dist/blocks/ai-cache/index.d.ts +2 -2
  26. package/dist/blocks/ai-chat/index.d.ts +5 -5
  27. package/dist/blocks/ai-files/index.d.ts +1 -1
  28. package/dist/blocks/ai-keys/index.d.ts +1 -1
  29. package/dist/blocks/ai-schedules/index.d.ts +2 -2
  30. package/dist/blocks/announcements/index.d.ts +4 -4
  31. package/dist/blocks/api-keys/index.d.ts +2 -2
  32. package/dist/blocks/approvals/index.d.ts +2 -2
  33. package/dist/blocks/assets/index.d.ts +1 -1
  34. package/dist/blocks/assignment/index.d.ts +1 -1
  35. package/dist/blocks/attachments/index.d.ts +2 -2
  36. package/dist/blocks/audit/index.d.ts +3 -3
  37. package/dist/blocks/automations/index.d.ts +4 -4
  38. package/dist/blocks/billable-time/index.d.ts +1 -1
  39. package/dist/blocks/billing/index.d.ts +2 -2
  40. package/dist/blocks/bookings/index.d.ts +3 -3
  41. package/dist/blocks/bulk/index.d.ts +1 -1
  42. package/dist/blocks/calendar/index.d.ts +2 -2
  43. package/dist/blocks/catalog/index.d.ts +1 -1
  44. package/dist/blocks/channels/index.d.ts +1 -1
  45. package/dist/blocks/collections/index.d.ts +1 -1
  46. package/dist/blocks/comments/index.d.ts +4 -4
  47. package/dist/blocks/compliance/index.d.ts +1 -1
  48. package/dist/blocks/connectors/index.d.ts +1 -1
  49. package/dist/blocks/contacts/index.d.ts +1 -1
  50. package/dist/blocks/content/index.d.ts +1 -1
  51. package/dist/blocks/contracts/index.d.ts +1 -1
  52. package/dist/blocks/courses/index.d.ts +1 -1
  53. package/dist/blocks/created-by/index.d.ts +1 -1
  54. package/dist/blocks/custom-fields/index.d.ts +1 -1
  55. package/dist/blocks/data-lifecycle/index.d.ts +2 -2
  56. package/dist/blocks/deals/index.d.ts +1 -1
  57. package/dist/blocks/dispatch/index.d.ts +1 -1
  58. package/dist/blocks/documents/index.d.ts +1 -1
  59. package/dist/blocks/domains/index.d.ts +1 -1
  60. package/dist/blocks/donations/index.d.ts +1 -1
  61. package/dist/blocks/drive/index.d.ts +2 -2
  62. package/dist/blocks/employees/index.d.ts +2 -2
  63. package/dist/blocks/enrichment/index.d.ts +1 -1
  64. package/dist/blocks/enrollments/index.d.ts +1 -1
  65. package/dist/blocks/entitlements/index.d.ts +3 -3
  66. package/dist/blocks/expenses/index.d.ts +1 -1
  67. package/dist/blocks/field-history/index.d.ts +1 -1
  68. package/dist/blocks/flags/index.d.ts +1 -1
  69. package/dist/blocks/forecasts/index.d.ts +1 -1
  70. package/dist/blocks/forms/index.d.ts +2 -2
  71. package/dist/blocks/goals/index.d.ts +1 -1
  72. package/dist/blocks/guests/index.d.ts +1 -1
  73. package/dist/blocks/hiring/index.d.ts +1 -1
  74. package/dist/blocks/identities/index.d.ts +2 -2
  75. package/dist/blocks/imports/index.d.ts +1 -1
  76. package/dist/blocks/inbox/index.d.ts +5 -5
  77. package/dist/blocks/incidents/index.d.ts +1 -1
  78. package/dist/blocks/index.d.ts +2 -2
  79. package/dist/blocks/inventory/index.d.ts +2 -2
  80. package/dist/blocks/invoices/index.d.ts +1 -1
  81. package/dist/blocks/knowledge/index.d.ts +2 -2
  82. package/dist/blocks/lead-scoring/index.d.ts +1 -1
  83. package/dist/blocks/leases/index.d.ts +1 -1
  84. package/dist/blocks/leave/index.d.ts +1 -1
  85. package/dist/blocks/ledger/index.d.ts +1 -1
  86. package/dist/blocks/mail-sync/index.d.ts +1 -1
  87. package/dist/blocks/memberships/index.d.ts +1 -1
  88. package/dist/blocks/memory/index.d.ts +3 -3
  89. package/dist/blocks/messaging/index.d.ts +4 -4
  90. package/dist/blocks/metrics/index.d.ts +2 -2
  91. package/dist/blocks/mfa/index.d.ts +2 -2
  92. package/dist/blocks/moderation/index.d.ts +1 -1
  93. package/dist/blocks/notifications/index.d.ts +5 -5
  94. package/dist/blocks/numbering/index.d.ts +1 -1
  95. package/dist/blocks/oauth-server/index.d.ts +1 -1
  96. package/dist/blocks/onboarding/index.d.ts +2 -2
  97. package/dist/blocks/orders/index.d.ts +3 -3
  98. package/dist/blocks/organizations/index.d.ts +2 -2
  99. package/dist/blocks/outbox/index.d.ts +2 -2
  100. package/dist/blocks/passes/index.d.ts +2 -2
  101. package/dist/blocks/permissions/index.d.ts +3 -3
  102. package/dist/blocks/pipelines/index.d.ts +1 -1
  103. package/dist/blocks/posts/index.d.ts +1 -1
  104. package/dist/blocks/profiles/index.d.ts +1 -1
  105. package/dist/blocks/promotions/index.d.ts +1 -1
  106. package/dist/blocks/push/index.d.ts +2 -2
  107. package/dist/blocks/queue/index.d.ts +2 -2
  108. package/dist/blocks/queue/index.js +1 -1
  109. package/dist/blocks/quotes/index.d.ts +1 -1
  110. package/dist/blocks/rank/index.d.ts +2 -2
  111. package/dist/blocks/reactions/index.d.ts +4 -4
  112. package/dist/blocks/relations/index.d.ts +1 -1
  113. package/dist/blocks/reminders/index.d.ts +3 -3
  114. package/dist/blocks/reviews/index.d.ts +1 -1
  115. package/dist/blocks/saved-views/index.d.ts +2 -2
  116. package/dist/blocks/scores/index.d.ts +1 -1
  117. package/dist/blocks/search/index.d.ts +3 -3
  118. package/dist/blocks/security-events/index.d.ts +1 -1
  119. package/dist/blocks/segments/index.d.ts +1 -1
  120. package/dist/blocks/sequences/index.d.ts +1 -1
  121. package/dist/blocks/service-accounts/index.d.ts +1 -1
  122. package/dist/blocks/sessions/index.d.ts +2 -2
  123. package/dist/blocks/settings/index.d.ts +2 -2
  124. package/dist/blocks/share-links/index.d.ts +1 -1
  125. package/dist/blocks/shipments/index.d.ts +1 -1
  126. package/dist/blocks/signatures/index.d.ts +1 -1
  127. package/dist/blocks/signing-keys/index.d.ts +1 -1
  128. package/dist/blocks/sla/index.d.ts +1 -1
  129. package/dist/blocks/sso/index.d.ts +1 -1
  130. package/dist/blocks/state-machine/index.d.ts +1 -1
  131. package/dist/blocks/subjects/index.d.ts +2 -2
  132. package/dist/blocks/tags/index.d.ts +2 -2
  133. package/dist/blocks/tasks/index.d.ts +2 -2
  134. package/dist/blocks/teams/index.d.ts +1 -1
  135. package/dist/blocks/templates/index.d.ts +3 -3
  136. package/dist/blocks/time-tracking/index.d.ts +1 -1
  137. package/dist/blocks/timeline/index.d.ts +1 -1
  138. package/dist/blocks/trash/index.d.ts +1 -1
  139. package/dist/blocks/undo/index.d.ts +2 -2
  140. package/dist/blocks/updated-at/index.d.ts +1 -1
  141. package/dist/blocks/usage/index.d.ts +3 -3
  142. package/dist/blocks/vercel-marketplace/index.d.ts +1 -1
  143. package/dist/blocks/versions/index.d.ts +1 -1
  144. package/dist/blocks/waitlist/index.d.ts +1 -1
  145. package/dist/blocks/webhooks/index.d.ts +3 -3
  146. package/dist/blocks/workflow-editor/index.d.ts +6 -6
  147. package/dist/blocks/workflow-editor/index.js +12 -1
  148. package/dist/blocks/workflows/index.d.ts +4 -4
  149. package/dist/{bookings-D4dvGXiR.d.ts → bookings-Dox2rced.d.ts} +1 -1
  150. package/dist/chat-sdk/index.d.ts +1 -1
  151. package/dist/cli/{add-DCI5JKjA.js → add-C04vkBk9.js} +2 -2
  152. package/dist/cli/add-CUH0rORo.js +1 -0
  153. package/dist/cli/{add-BgsUjCan.js → add-DNOL9PDu.js} +17 -12
  154. package/dist/cli/{backfill-nxPbcsns.js → backfill-VFzf-TJP.js} +1 -1
  155. package/dist/cli/bin.js +1 -1
  156. package/dist/cli/{blocks-Cr4HGePW.js → blocks-Bn7WUca5.js} +1 -1
  157. package/dist/cli/{blocks-BZHI8mRC.js → blocks-Cb7mILFU.js} +1 -1
  158. package/dist/cli/{cache-CXgR_Ahi.js → cache-DkplpIGe.js} +1 -1
  159. package/dist/cli/{codemod-DSN7iAdg.js → codemod-BbaE5dL_.js} +95 -3
  160. package/dist/cli/{content-mapper-DNs7lTu7.js → content-mapper-Cdx6arxu.js} +2 -2
  161. package/dist/cli/{doctor-DDrEM6S1.js → doctor-C-VO-QQ2.js} +29 -14
  162. package/dist/cli/{gen-MtijJQ9r.js → gen-yRHOHW1b.js} +10 -10
  163. package/dist/cli/index.d.ts +1 -1
  164. package/dist/cli/index.js +6 -6
  165. package/dist/cli/{init-D-aDv9r5.js → init-BOw0SX65.js} +5 -5
  166. package/dist/cli/legacy-prefix-DkTA3Rhx.js +141 -0
  167. package/dist/cli/{live-iEeH15ck.js → live-Lmg-hYyO.js} +2 -2
  168. package/dist/cli/{mcp-BAPyaQ62.js → mcp-DQ1zR2eA.js} +2 -2
  169. package/dist/cli/{metadata-DVx9Zgbj.js → metadata-CZaxkv21.js} +3 -3
  170. package/dist/cli/{migration-safety-D7PhzFxm.js → migration-safety-BbhLu2fo.js} +1 -1
  171. package/dist/cli/{module-migration-aPCckev6.js → module-migration-DOn6EmNz.js} +5 -216
  172. package/dist/cli/{print-BeWO7OJY.js → print-D_xf8PPj.js} +1 -1
  173. package/dist/cli/{remove-B46Dmd2M.js → remove-BY_TOTRj.js} +5 -4
  174. package/dist/cli/{render-ucJmUyuM.js → render-lJmHr0y9.js} +3 -3
  175. package/dist/cli/{run-CvYVAztY.js → run-BJ6IMs_H.js} +20 -7
  176. package/dist/cli/{run-DYhLBcFW.js → run-DkB0fhc9.js} +20 -20
  177. package/dist/cli/{shared-LZroULBe.js → shared-Bh-6IqJS.js} +1 -1
  178. package/dist/cli/{snapshot-C8MVPyO8.js → snapshot-Bzcigm7T.js} +2 -2
  179. package/dist/cli/{source-DANaJJVc.js → source-WoLdcQzN.js} +1 -1
  180. package/dist/cli/{spec-g8_G5K7o.js → spec-BF_dpwzW.js} +1 -1
  181. package/dist/cli/{spec-DGVNMSSB.js → spec-CZMiLhv_.js} +2 -2
  182. package/dist/cli/sql-layout-rFP0oq1N.js +247 -0
  183. package/dist/cli/{sync-btj01bcM.js → sync-mANmYYoL.js} +2 -1
  184. package/dist/cli/{upgrade-B596d4t8.js → upgrade-B0Q9wMs-.js} +4 -137
  185. package/dist/cli/{upgrade-Dw3TMQzn.js → upgrade-BrNLt92u.js} +2 -2
  186. package/dist/cli/{version-Du4CgONY.js → version-CyavsyGA.js} +1 -1
  187. package/dist/client/index.d.ts +5 -5
  188. package/dist/client/native/index.d.ts +4 -4
  189. package/dist/{composite-BARuBEDE.js → composite-B3TIjId4.js} +1 -1
  190. package/dist/{composite-Dsxj7T5K.d.ts → composite-BZYXlVBN.d.ts} +2 -2
  191. package/dist/config/index.d.ts +1 -1
  192. package/dist/{context-CEuTKrkz.d.ts → context-TGX2eDS5.d.ts} +24 -2
  193. package/dist/{controller-BrP0gn47.d.ts → controller-DyPPMFSw.d.ts} +1 -1
  194. package/dist/{conversion-BAbucuXq.d.ts → conversion-O-kyhXcC.d.ts} +1 -1
  195. package/dist/create/index.d.ts +2 -2
  196. package/dist/create/index.js +1 -1
  197. package/dist/{define-block-BVcLQ3DF.d.ts → define-block-DvvcM54N.d.ts} +1 -1
  198. package/dist/delegation-C7eWP2r8.d.ts +14 -0
  199. package/dist/{delegation--93jRsVO.js → delegation-DGOIiT8k.js} +12 -5
  200. package/dist/edge/index.d.ts +1 -1
  201. package/dist/edge/index.js +3 -3
  202. package/dist/{embeddings-kFbRvuic.d.ts → embeddings-D_RsS6ow.d.ts} +1 -1
  203. package/dist/{entitlements-CJpYQXeE.d.ts → entitlements-BnhDBxLW.d.ts} +1 -1
  204. package/dist/{envelope-Bzu0JnY2.js → envelope-DEI2iX-d.js} +1 -1
  205. package/dist/eve/index.d.ts +2 -2
  206. package/dist/{eve-BFSwTu1z.d.ts → eve-B7jxYPCw.d.ts} +2 -2
  207. package/dist/{executor-_2ekNofh.d.ts → executor-Bi056Cnj.d.ts} +1 -1
  208. package/dist/expo/index.d.ts +1 -1
  209. package/dist/expo/index.js +2 -2
  210. package/dist/{field-errors-fsbFktYF.d.ts → field-errors-DYtg1mwv.d.ts} +5 -5
  211. package/dist/{framework-DDdkR7FX.js → framework-BozTXRzt.js} +1 -1
  212. package/dist/{framework-BKyTeS-j.d.ts → framework-h5lP_5yj.d.ts} +3 -3
  213. package/dist/{gateway-TD1pRfTP.d.ts → gateway-DzI687yd.d.ts} +3 -3
  214. package/dist/hono/index.d.ts +1 -1
  215. package/dist/hono/index.js +2 -2
  216. package/dist/{index-BnH4Gomw.d.ts → index-Ab4UeEn_.d.ts} +8 -8
  217. package/dist/{index-BUuVq1co.d.ts → index-B4gcStOz.d.ts} +2 -2
  218. package/dist/{index-C-qpk8EQ.d.ts → index-BAHGLvGD.d.ts} +1 -1
  219. package/dist/{index-CguFm716.d.ts → index-BfK6olKm.d.ts} +31 -3
  220. package/dist/{index-DLq69k3F.d.ts → index-BfkltrGJ.d.ts} +1 -1
  221. package/dist/{index-B938YqY-.d.ts → index-DN9mfmhA.d.ts} +1 -1
  222. package/dist/{knowledge-CtL-Vfgy.d.ts → knowledge-F1IhRI4Q.d.ts} +1 -1
  223. package/dist/mapper/bin.js +5 -5
  224. package/dist/mcp/index.d.ts +1 -1
  225. package/dist/mcp/index.js +1 -1
  226. package/dist/mcp/sdk/index.d.ts +1 -1
  227. package/dist/mcp/sdk/index.js +1 -1
  228. package/dist/next/index.d.ts +8 -8
  229. package/dist/next/index.js +2 -2
  230. package/dist/orpc/index.d.ts +1 -1
  231. package/dist/orpc/index.js +1 -1
  232. package/dist/otel/index.js +4 -4
  233. package/dist/{outbox-HvGAJuBe.d.ts → outbox-HxjZTfF6.d.ts} +1 -1
  234. package/dist/{ports-sx226JUL.d.ts → ports-CpdiQv1D.d.ts} +1 -1
  235. package/dist/powersync/index.d.ts +1 -1
  236. package/dist/preset/index.d.ts +3 -3
  237. package/dist/{push-token-D3Vcf0Pf.d.ts → push-token-B3m3pWAv.d.ts} +1 -1
  238. package/dist/query/index.d.ts +1 -1
  239. package/dist/react/index.d.ts +5 -5
  240. package/dist/react/native/index.d.ts +1 -1
  241. package/dist/react/server.d.ts +5 -5
  242. package/dist/react-router/index.d.ts +2 -2
  243. package/dist/react-router/index.js +2 -2
  244. package/dist/realtime/index.d.ts +4 -4
  245. package/dist/{record-form-BYs9xv_N.d.ts → record-form-DB_5Ue_B.d.ts} +1 -1
  246. package/dist/records/index.d.ts +7 -7
  247. package/dist/server/index.d.ts +7 -6
  248. package/dist/server/index.js +5 -4
  249. package/dist/{server-types-CFtehAsr.d.ts → server-types-7QPzW2bF.d.ts} +1 -1
  250. package/dist/{session-CH0SKgIz.d.ts → session-CfBCJGgc.d.ts} +1 -1
  251. package/dist/{sign-in-DNCdrk05.js → sign-in-B64114O4.js} +1 -1
  252. package/dist/solid/index.d.ts +5 -5
  253. package/dist/solid-start/index.d.ts +2 -2
  254. package/dist/solid-start/index.js +2 -2
  255. package/dist/sql/index.d.ts +4 -4
  256. package/dist/sql/index.js +2 -2
  257. package/dist/{sql-ClHIdgKS.js → sql-OLVW4t08.js} +275 -13
  258. package/dist/ssr/index.d.ts +1 -1
  259. package/dist/{subject-readers-BNSzkqw_.d.ts → subject-readers-8GySC9Z8.d.ts} +1 -1
  260. package/dist/svelte/index.d.ts +5 -5
  261. package/dist/sveltekit/index.d.ts +2 -2
  262. package/dist/sveltekit/index.js +2 -2
  263. package/dist/tanstack-start/index.d.ts +2 -2
  264. package/dist/tanstack-start/index.js +2 -2
  265. package/dist/{tenant-yYg0E2-n.d.ts → tenant-DzFsg0Pc.d.ts} +1 -1
  266. package/dist/testing/index.d.ts +10 -10
  267. package/dist/{timeline-CtG0sehj.d.ts → timeline-WrFMgd3U.d.ts} +2 -2
  268. package/dist/{topic-CJrQZQaa.d.ts → topic-DNFEFGKI.d.ts} +1 -1
  269. package/dist/{types-CAQBmpDx.d.ts → types-A4yyKEsg.d.ts} +1 -1
  270. package/dist/{types-SFRomQF7.d.ts → types-Czq9Xtpa.d.ts} +1 -7
  271. package/dist/{types-BBQLbui9.d.ts → types-DsRfiQ0v.d.ts} +1 -1
  272. package/dist/{usage-D7QkrwzV.d.ts → usage-Dp45V42p.d.ts} +1 -1
  273. package/dist/vue/index.d.ts +5 -5
  274. package/dist/{watch-topic-BcGfvZOE.d.ts → watch-topic-Bo9S2R4P.d.ts} +1 -1
  275. package/dist/workflow-sdk/builder/index.d.ts +3 -3
  276. package/dist/workflow-sdk/builder/index.js +1 -1
  277. package/dist/workflow-sdk/index.d.ts +1 -1
  278. package/dist/workflow-sdk/index.js +1 -1
  279. package/dist/{workflow-sdk-BFHu4sci.d.ts → workflow-sdk-B3Ss55Fy.d.ts} +1 -1
  280. package/dist/{workflow-sdk-BVlFEB5Q.js → workflow-sdk-Cf0LAOFF.js} +2 -2
  281. package/dist/yjs/index.d.ts +1 -1
  282. package/package.json +1 -1
  283. package/schemas/doctor-report-v1.json +1 -0
  284. package/dist/cli/add-DWjlVwvP.js +0 -1
@@ -1,6 +1,6 @@
1
1
  /// <reference lib="esnext.temporal" />
2
- import { Nn as PresetSpec, Un as PresetName, g as BlockSqlAccessProvider, ir as AppColumnAccess, lr as AppOnDeleteAction, mt as PresetInput, or as AppColumnFormat, si as Preset, sr as AppColumnType, tr as APP_ON_DELETE_ACTIONS, vr as AppTableVersions } from "../context-CEuTKrkz.js";
3
- import { a as DesignChange, p as DesignErrorCode, u as CreateDesign } from "../index-C-qpk8EQ.js";
2
+ import { Pn as PresetSpec, Wn as PresetName, ar as AppColumnAccess, ci as Preset, cr as AppColumnType, g as BlockSqlAccessProvider, ht as PresetInput, nr as APP_ON_DELETE_ACTIONS, sr as AppColumnFormat, ur as AppOnDeleteAction, yr as AppTableVersions } from "../context-TGX2eDS5.js";
3
+ import { a as DesignChange, p as DesignErrorCode, u as CreateDesign } from "../index-BAHGLvGD.js";
4
4
  import { a as SupabaseLint, o as SupabaseOrganization, s as SupabaseProject } from "../management-wtecfrNf.js";
5
5
  import { t as PresetMigrationFile } from "../types-DGHfTW8_.js";
6
6
  //#region src/create/design-computed.d.ts
@@ -2,7 +2,7 @@ import { a as presetOf, d as resolvePreset } from "../config-CcehOvbz.js";
2
2
  import { C as APP_ON_DELETE_ACTIONS, E as PRESET_CATALOG, a as appIdentifierError, m as isAppDefault, o as appNameLengthError, p as appDefaultError, s as appReservedColumns } from "../app-tables-D29Rahtg.js";
3
3
  import { c as resolveConfig } from "../config-DWGgUQCh.js";
4
4
  import { _ as jsonPointer, a as DesignParseError, h as encodeDesign, n as diffDesigns, o as DesignTooLongError, p as designOf, u as designConfig, v as parseDesign } from "../preset-CsHnIBJF.js";
5
- import { F as SQL_MODULES, h as renderBlocks, i as moduleLayout } from "../sql-ClHIdgKS.js";
5
+ import { I as SQL_MODULES, g as renderBlocks, i as moduleLayout } from "../sql-OLVW4t08.js";
6
6
  //#region src/create/column-keys.ts
7
7
  /** The most options a select takes, and the longest option. */
8
8
  const MAX_OPTIONS = 100;
@@ -10,7 +10,7 @@ import { a as BlockTenantOptions, n as BlockOptions, r as BlockTemporalOptions }
10
10
  import { r as DbTransportSource, t as BlockTransport } from "./block-transport-DWZSJrwN.js";
11
11
  import { a as BlockTransportMiddleware, n as BlockHooks } from "./block-hooks-DZN2w69m.js";
12
12
  import { f as AiFiles, y as UploadClaimStorage } from "./types-Dr9wZgNy.js";
13
- import { g as JobHandler } from "./types-SFRomQF7.js";
13
+ import { g as JobHandler } from "./types-Czq9Xtpa.js";
14
14
  import { t as BlockOptionsSchema } from "./options-CsGl5BLH.js";
15
15
  import { t as Author } from "./block-authors-DzXLUiIq.js";
16
16
  import { u as BlockInstanceSurface } from "./define-DFBnQyYg.js";
@@ -0,0 +1,14 @@
1
+ //#region src/auth/delegation.d.ts
2
+ /** One RFC 9396 `authorization_details` entry. */
3
+ interface AuthorizationDetail {
4
+ readonly type: string;
5
+ readonly [field: string]: unknown;
6
+ }
7
+ /**
8
+ * The claim `forContext({ permissions })` sets: the permission keys the work
9
+ * may use. `better_supabase.cap_allows` refuses every other key, and a job
10
+ * queued under a cap keeps it.
11
+ */
12
+ declare const PERMISSION_CAP_CLAIM = "bsb_permission_cap";
13
+ //#endregion
14
+ export { PERMISSION_CAP_CLAIM as n, AuthorizationDetail as t };
@@ -9,6 +9,11 @@ import { n as impersonatorClaim, t as actClaim } from "./impersonation-DM3oWNoD.
9
9
  */
10
10
  const PERMISSION_CAP_CLAIM = "bsb_permission_cap";
11
11
  /**
12
+ * The permission cap claim's 0.14 name. Through 0.15 the access functions and
13
+ * `permissionCapOf` read it when `bsb_permission_cap` is missing.
14
+ */
15
+ const LEGACY_PERMISSION_CAP_CLAIM = "bs_permission_cap";
16
+ /**
12
17
  * The claims a delegated token adds; `contextClaims` never takes them from
13
18
  * `claimsFor`.
14
19
  */
@@ -17,7 +22,8 @@ const DELEGATION_CLAIMS = [
17
22
  "client_id",
18
23
  "scope",
19
24
  "authorization_details",
20
- PERMISSION_CAP_CLAIM
25
+ PERMISSION_CAP_CLAIM,
26
+ LEGACY_PERMISSION_CAP_CLAIM
21
27
  ];
22
28
  /**
23
29
  * `*` grants every key and `prefix.*` every key under prefix, as
@@ -27,11 +33,12 @@ function permissionMatches(granted, wanted) {
27
33
  return granted === "*" || granted === wanted || granted.endsWith(".*") && wanted.startsWith(granted.slice(0, -1));
28
34
  }
29
35
  /**
30
- * The permission cap in `claims`: `undefined` without one, `false` for a cap
31
- * that is not a list of strings.
36
+ * The permission cap in `claims`, from `bsb_permission_cap` or else its 0.14
37
+ * name: `undefined` without one, `false` for a cap that is not a list of
38
+ * strings.
32
39
  */
33
40
  function permissionCapOf(claims) {
34
- const cap = claims[PERMISSION_CAP_CLAIM];
41
+ const cap = claims["bsb_permission_cap"] ?? claims["bs_permission_cap"];
35
42
  if (cap === void 0) return;
36
43
  return Array.isArray(cap) && cap.every((key) => typeof key === "string") ? cap : false;
37
44
  }
@@ -143,4 +150,4 @@ function contextClaims(context, options = {}) {
143
150
  };
144
151
  }
145
152
  //#endregion
146
- export { narrowCap as a, delegatedClaims as i, PERMISSION_CAP_CLAIM as n, permissionCapOf as o, contextClaims as r, DELEGATION_CLAIMS as t };
153
+ export { delegatedClaims as a, contextClaims as i, LEGACY_PERMISSION_CAP_CLAIM as n, narrowCap as o, PERMISSION_CAP_CLAIM as r, permissionCapOf as s, DELEGATION_CLAIMS as t };
@@ -3,7 +3,7 @@ import { t as StandardSchemaV1 } from "../standard-DBV730sF.js";
3
3
  import { O as AnyFunctions, k as AnyModels } from "../types-DFdg_4yN.js";
4
4
  import { l as PermissionRef, t as AnyAuthorizer } from "../authorizer-B6X09otb.js";
5
5
  import { t as BetterSupabase } from "../define-DFBnQyYg.js";
6
- import { a as ServerContext, c as ServerOptions, n as BetterServer } from "../server-types-CFtehAsr.js";
6
+ import { a as ServerContext, c as ServerOptions, n as BetterServer } from "../server-types-7QPzW2bF.js";
7
7
  import { t as AuthSession } from "../view-DyFdMCqg.js";
8
8
  import { i as MiddlewareOptions, r as GuardOptions } from "../respond-Dn1_YhC1.js";
9
9
  import { c as ResourceLoaderContext, s as BlockRequireOptions } from "../kit-DOwKpSkA.js";
@@ -2,15 +2,15 @@ import { n as dbError } from "../errors-BVFgt8BZ.js";
2
2
  import { a as ok, r as err } from "../result-ntFBW2p2.js";
3
3
  import { n as validate } from "../standard-BA3mLh6w.js";
4
4
  import { o as problemResponse } from "../problem-Bf0cJ7tk.js";
5
- import { a as unexpectedResponse, c as extendServer, o as withFlush, s as createServer } from "../adapter-B0b6MXYS.js";
5
+ import { a as unexpectedResponse, c as extendServer, o as withFlush, s as createServer } from "../adapter-Dyks1lX1.js";
6
6
  import { a as respond, o as settle, t as defaultExpose } from "../respond-C3CcOZlA.js";
7
- import { t as withBetterSupabase } from "../composite-BARuBEDE.js";
7
+ import { t as withBetterSupabase } from "../composite-B3TIjId4.js";
8
8
  import { i as defineAction } from "../resource-DV2GC2dB.js";
9
9
  import { i as requireCaller } from "../kit-5l-o8RxL.js";
10
10
  import { t as withExtra } from "../extra-CGQ2_q3S.js";
11
11
  import { n as resourceRouter } from "../resources-C02l_YBJ.js";
12
12
  import { n as corsConfig, t as SUPABASE_CORS_HEADERS } from "../cors-h_v7TPxl.js";
13
- import { t as EVERY_CALLER } from "../framework-DDdkR7FX.js";
13
+ import { t as EVERY_CALLER } from "../framework-BozTXRzt.js";
14
14
  import { t as FUNCTION_DESCRIPTOR } from "../function-contract-pEmsaUIf.js";
15
15
  import { bufferRequest, pipeline, seedContext } from "@supabase/middleware";
16
16
  import { withCors } from "@supabase/middleware/cors";
@@ -1,4 +1,4 @@
1
- import { d as KnowledgeSearchOptions, n as Embedder, o as KnowledgeHit, r as Knowledge } from "./knowledge-CtL-Vfgy.js";
1
+ import { d as KnowledgeSearchOptions, n as Embedder, o as KnowledgeHit, r as Knowledge } from "./knowledge-F1IhRI4Q.js";
2
2
  import { EmbeddingModel, RerankingModel, SourceDocumentUIPart, Tool, embedMany } from "ai";
3
3
  //#region src/ai-sdk/embeddings/embeddings.d.ts
4
4
  type ProviderOptions = Parameters<typeof embedMany>[0]["providerOptions"];
@@ -1,4 +1,4 @@
1
- import { t as AuthSnapshot } from "./bind-CrMBwrPN.js";
1
+ import { t as AuthSnapshot } from "./bind-h5jre2K0.js";
2
2
  import { t as AuthSession } from "./view-DyFdMCqg.js";
3
3
  //#region src/auth/entitlements.d.ts
4
4
  /**
@@ -3,7 +3,7 @@ import { n as isRecord } from "./guards-6F2bCtQR.js";
3
3
  import { a as ok, r as err } from "./result-ntFBW2p2.js";
4
4
  import { o as tenantFrom, s as tenantPathsFor } from "./claims-Bp9My7XP.js";
5
5
  import { n as impersonatorClaim, r as impersonatorOf } from "./impersonation-DM3oWNoD.js";
6
- import { i as delegatedClaims, n as PERMISSION_CAP_CLAIM, o as permissionCapOf, t as DELEGATION_CLAIMS } from "./delegation--93jRsVO.js";
6
+ import { a as delegatedClaims, r as PERMISSION_CAP_CLAIM, s as permissionCapOf, t as DELEGATION_CLAIMS } from "./delegation-DGOIiT8k.js";
7
7
  //#region src/blocks/queue/envelope.ts
8
8
  /** Marks a payload that carries a job context; pgmq stores it as the payload. */
9
9
  const ENVELOPE = "$bs";
@@ -1,8 +1,8 @@
1
1
  import { a as ResolveAuthOptions, r as AuthState } from "../resolve-CXX6DHv3.js";
2
2
  import { i as CredentialRef, r as CredentialProvider } from "../provider-CqwEOLCA.js";
3
- import { i as AiChat } from "../ai-chat-D1GuRnke.js";
3
+ import { i as AiChat } from "../ai-chat-BCaKsvLW.js";
4
4
  import { a as Inbox } from "../inbox-NDKwSk_H.js";
5
- import { a as EveMemoryToolsContext, c as MemoryDocumentConflictError, d as supabaseDocumentBackend, f as supabaseMemory, i as EveMemoryTool, l as SupabaseDocumentBackendOptions, m as EveSessionContext, n as EveMemoryContext, o as EveRecallMessage, p as EveSessionAuth, r as EveMemoryProvider, s as EveRecallResult, t as EveDocumentBackend, u as SupabaseMemoryOptions } from "../eve-BFSwTu1z.js";
5
+ import { a as EveMemoryToolsContext, c as MemoryDocumentConflictError, d as supabaseDocumentBackend, f as supabaseMemory, i as EveMemoryTool, l as SupabaseDocumentBackendOptions, m as EveSessionContext, n as EveMemoryContext, o as EveRecallMessage, p as EveSessionAuth, r as EveMemoryProvider, s as EveRecallResult, t as EveDocumentBackend, u as SupabaseMemoryOptions } from "../eve-B7jxYPCw.js";
6
6
  //#region src/eve/auth.d.ts
7
7
  /**
8
8
  * Thrown by `supabaseAuth` so eve answers with `response` instead of
@@ -1,5 +1,5 @@
1
- import { d as KnowledgeSearchOptions, r as Knowledge } from "./knowledge-CtL-Vfgy.js";
2
- import { t as Memory } from "./types-CAQBmpDx.js";
1
+ import { d as KnowledgeSearchOptions, r as Knowledge } from "./knowledge-F1IhRI4Q.js";
2
+ import { t as Memory } from "./types-A4yyKEsg.js";
3
3
  //#region src/eve/types.d.ts
4
4
  /**
5
5
  * Eve's `SessionAuthContext`, typed structurally so this entry never imports
@@ -1,4 +1,4 @@
1
- import { L as WorkflowGraph } from "./types-BBQLbui9.js";
1
+ import { L as WorkflowGraph } from "./types-DsRfiQ0v.js";
2
2
  //#region src/blocks/workflow-editor/executor.d.ts
3
3
  /** The record a run belongs to. */
4
4
  interface GraphSubject {
@@ -1,6 +1,6 @@
1
1
  import { O as AnyFunctions, k as AnyModels } from "../types-DFdg_4yN.js";
2
2
  import { t as BetterSupabase } from "../define-DFBnQyYg.js";
3
- import { a as ServerContext, c as ServerOptions, n as BetterServer, r as ContextOptions } from "../server-types-CFtehAsr.js";
3
+ import { a as ServerContext, c as ServerOptions, n as BetterServer, r as ContextOptions } from "../server-types-7QPzW2bF.js";
4
4
  import { i as MiddlewareOptions, r as GuardOptions } from "../respond-Dn1_YhC1.js";
5
5
  import { t as Validated } from "../shared-CRRfQAKG.js";
6
6
  import { AnyEntry, Contributions } from "@supabase/middleware";
@@ -1,9 +1,9 @@
1
1
  import { t as DbException } from "../db-exception-Lngc1W49.js";
2
2
  import { c as toProblem } from "../problem-Bf0cJ7tk.js";
3
- import { a as unexpectedResponse, b as isPrefetch, c as extendServer, s as createServer, x as refreshFor } from "../adapter-B0b6MXYS.js";
3
+ import { a as unexpectedResponse, b as isPrefetch, c as extendServer, s as createServer, x as refreshFor } from "../adapter-Dyks1lX1.js";
4
4
  import { h as serializeCookie } from "../resolve-B0mW2m7f.js";
5
5
  import { a as respond, r as guard, t as defaultExpose } from "../respond-C3CcOZlA.js";
6
- import { t as withBetterSupabase } from "../composite-BARuBEDE.js";
6
+ import { t as withBetterSupabase } from "../composite-B3TIjId4.js";
7
7
  import { r as handoffOf } from "../shared-Bf-I13Ht.js";
8
8
  import { bufferRequest, pipeline, seedContext } from "@supabase/middleware";
9
9
  import { StatusError, setResponseHeaders } from "expo-server";
@@ -4,11 +4,11 @@ import { o as BlockTenant } from "./block-helpers-CRpAHrp_.js";
4
4
  import { pt as QuerySpec } from "./define-DFBnQyYg.js";
5
5
  import { $ as TemplateValues } from "./bucket-CiNi8sIw.js";
6
6
  import { n as DataEngine } from "./data-engine-BWoz9lED.js";
7
- import { Dn as GeneratedBlocks } from "./define-block-BVcLQ3DF.js";
8
- import { _ as TopicMessage, c as RealtimeClient, d as SubscribeOptions, i as PresenceOptions, s as PresenceSubscription } from "./topic-CJrQZQaa.js";
9
- import { t as ClientPorts } from "./ports-sx226JUL.js";
10
- import { a as ClientAuth } from "./bind-CrMBwrPN.js";
11
- import { a as LiveSource, r as LiveCountSeed } from "./index-B938YqY-.js";
7
+ import { Dn as GeneratedBlocks } from "./define-block-DvvcM54N.js";
8
+ import { _ as TopicMessage, c as RealtimeClient, d as SubscribeOptions, i as PresenceOptions, s as PresenceSubscription } from "./topic-DNFEFGKI.js";
9
+ import { t as ClientPorts } from "./ports-CpdiQv1D.js";
10
+ import { a as ClientAuth } from "./bind-h5jre2K0.js";
11
+ import { a as LiveSource, r as LiveCountSeed } from "./index-DN9mfmhA.js";
12
12
  import { SupabaseClient } from "@supabase/supabase-js";
13
13
  import { QueryClient } from "@tanstack/query-core";
14
14
  import { StandardSchemaV1 } from "@standard-schema/spec";
@@ -1,5 +1,5 @@
1
1
  import { l as snapshotOf, n as toSession } from "./view-C8Ve14ja.js";
2
- import { t as withBetterSupabase } from "./composite-BARuBEDE.js";
2
+ import { t as withBetterSupabase } from "./composite-B3TIjId4.js";
3
3
  //#region src/server/framework.ts
4
4
  /**
5
5
  * Every caller: the framework factories guard per loader, action or route
@@ -1,8 +1,8 @@
1
1
  import { O as AnyFunctions, k as AnyModels } from "./types-DFdg_4yN.js";
2
- import { c as ServerOptions, et as SessionSnapshot } from "./server-types-CFtehAsr.js";
2
+ import { c as ServerOptions, et as SessionSnapshot } from "./server-types-7QPzW2bF.js";
3
3
  import { t as AuthSession } from "./view-DyFdMCqg.js";
4
- import { n as SessionEntryConfig } from "./session-CH0SKgIz.js";
5
- import { n as BetterSupabaseContributions } from "./composite-Dsxj7T5K.js";
4
+ import { n as SessionEntryConfig } from "./session-CfBCJGgc.js";
5
+ import { n as BetterSupabaseContributions } from "./composite-BZYXlVBN.js";
6
6
  import { c as ResourceLoaderContext } from "./kit-DOwKpSkA.js";
7
7
  import { t as RefusalRedirects } from "./refusal-CSntB_x8.js";
8
8
  //#region src/server/framework.d.ts
@@ -1,8 +1,8 @@
1
1
  /// <reference lib="esnext.temporal" />
2
2
  import { b as DbError } from "./result-DZeA5KS6.js";
3
- import { g as JobHandler } from "./types-SFRomQF7.js";
4
- import { g as AiModelInput, i as AiChat } from "./ai-chat-D1GuRnke.js";
5
- import { a as Usage, c as UsageEntry, h as UsageStatus } from "./usage-D7QkrwzV.js";
3
+ import { g as JobHandler } from "./types-Czq9Xtpa.js";
4
+ import { g as AiModelInput, i as AiChat } from "./ai-chat-BCaKsvLW.js";
5
+ import { a as Usage, c as UsageEntry, h as UsageStatus } from "./usage-Dp45V42p.js";
6
6
  import { LanguageModelUsage } from "ai";
7
7
  //#region src/ai-sdk/gateway.d.ts
8
8
  /** Token counts and the gateway's cost of one generation. */
@@ -2,7 +2,7 @@ import { O as AnyFunctions, k as AnyModels, ut as TableKey } from "../types-DFdg
2
2
  import { r as AuthState } from "../resolve-CXX6DHv3.js";
3
3
  import { l as PermissionRef, t as AnyAuthorizer } from "../authorizer-B6X09otb.js";
4
4
  import { t as BetterSupabase } from "../define-DFBnQyYg.js";
5
- import { a as ServerContext, c as ServerOptions, et as SessionSnapshot, l as SharedServer, n as BetterServer } from "../server-types-CFtehAsr.js";
5
+ import { a as ServerContext, c as ServerOptions, et as SessionSnapshot, l as SharedServer, n as BetterServer } from "../server-types-7QPzW2bF.js";
6
6
  import { t as AuthSession } from "../view-DyFdMCqg.js";
7
7
  import { i as MiddlewareOptions, r as GuardOptions } from "../respond-Dn1_YhC1.js";
8
8
  import { c as ResourceLoaderContext, s as BlockRequireOptions } from "../kit-DOwKpSkA.js";
@@ -1,9 +1,9 @@
1
1
  import { r as dbErrorOf } from "../errors-BVFgt8BZ.js";
2
2
  import { o as problemResponse } from "../problem-Bf0cJ7tk.js";
3
- import { a as unexpectedResponse, c as extendServer, n as flushEvents, s as createServer } from "../adapter-B0b6MXYS.js";
3
+ import { a as unexpectedResponse, c as extendServer, n as flushEvents, s as createServer } from "../adapter-Dyks1lX1.js";
4
4
  import { l as snapshotOf, n as toSession } from "../view-C8Ve14ja.js";
5
5
  import { a as respond, t as defaultExpose } from "../respond-C3CcOZlA.js";
6
- import { t as withBetterSupabase } from "../composite-BARuBEDE.js";
6
+ import { t as withBetterSupabase } from "../composite-B3TIjId4.js";
7
7
  import { i as defineAction, t as defineResource } from "../resource-DV2GC2dB.js";
8
8
  import { i as requireCaller } from "../kit-5l-o8RxL.js";
9
9
  import { t as matchResource } from "../resources-C02l_YBJ.js";
@@ -4,16 +4,16 @@ import { Ct as Events, D as BlockEventPattern, T as BlockEvent, bt as EventMap,
4
4
  import { pt as QuerySpec } from "./define-DFBnQyYg.js";
5
5
  import { $ as TemplateValues, C as UploadOptions, O as TtlPreset, S as UploadBody, l as ImageTransform, w as UrlOptions, x as TransformOptions } from "./bucket-CiNi8sIw.js";
6
6
  import { m as RejectedChange, o as DataSyncState } from "./data-engine-BWoz9lED.js";
7
- import { M as BindingName, S as RecordWriteInput, _ as RecordTypeBlocks, b as RecordTypeWriteInput, d as BindingWritesOf, f as Plain, g as RecordType, h as RecordCan, m as PlainBindings, x as RecordTypeWriteOutput } from "./index-DLq69k3F.js";
8
- import { c as RealtimeClient, d as SubscribeOptions, g as TopicHandlers, i as PresenceOptions, m as Topic, p as SubscriptionStatus, r as PresenceMember, s as PresenceSubscription, t as EventSchemas } from "./topic-CJrQZQaa.js";
9
- import { t as AuthSnapshot } from "./bind-CrMBwrPN.js";
7
+ import { M as BindingName, S as RecordWriteInput, _ as RecordTypeBlocks, b as RecordTypeWriteInput, d as BindingWritesOf, f as Plain, g as RecordType, h as RecordCan, m as PlainBindings, x as RecordTypeWriteOutput } from "./index-BfkltrGJ.js";
8
+ import { c as RealtimeClient, d as SubscribeOptions, g as TopicHandlers, i as PresenceOptions, m as Topic, p as SubscriptionStatus, r as PresenceMember, s as PresenceSubscription, t as EventSchemas } from "./topic-DNFEFGKI.js";
9
+ import { t as AuthSnapshot } from "./bind-h5jre2K0.js";
10
10
  import { t as AuthSession } from "./view-DyFdMCqg.js";
11
- import { r as LiveCountSeed } from "./index-B938YqY-.js";
12
- import { n as Controller } from "./controller-BrP0gn47.js";
13
- import { D as ProfileOf, O as UseActionOptions, S as LiveCountHookOptions, _ as ActionResultOf, a as DataRows, b as ClaimsOf, c as DataWrites, d as BlockMutationState, f as BlockQueryActions, g as ActionInputOf, i as DataRow, l as BlockEventSource, m as BlockQueryState, n as DataId, o as DataSource, p as BlockQueryOptions, r as DataListArgs, s as DataState, u as BlockMutationActions, w as LiveQueryHookOptions, x as ClientLike, y as BroadcastOptions } from "./field-errors-fsbFktYF.js";
14
- import { t as BlockEnv } from "./block-env-B_uEM2xz.js";
11
+ import { r as LiveCountSeed } from "./index-DN9mfmhA.js";
12
+ import { n as Controller } from "./controller-DyPPMFSw.js";
13
+ import { D as ProfileOf, O as UseActionOptions, S as LiveCountHookOptions, _ as ActionResultOf, a as DataRows, b as ClaimsOf, c as DataWrites, d as BlockMutationState, f as BlockQueryActions, g as ActionInputOf, i as DataRow, l as BlockEventSource, m as BlockQueryState, n as DataId, o as DataSource, p as BlockQueryOptions, r as DataListArgs, s as DataState, u as BlockMutationActions, w as LiveQueryHookOptions, x as ClientLike, y as BroadcastOptions } from "./field-errors-DYtg1mwv.js";
14
+ import { t as BlockEnv } from "./block-env-BrfRvPrj.js";
15
15
  import { n as BlockDataOf, r as BlockMethodName, t as BlockArgsOf } from "./block-method-CiVa2G-J.js";
16
- import { s as RecordFormValues, t as RecordForm } from "./record-form-BYs9xv_N.js";
16
+ import { s as RecordFormValues, t as RecordForm } from "./record-form-DB_5Ue_B.js";
17
17
  import { SupabaseClient } from "@supabase/supabase-js";
18
18
  import { DependencyList, ReactNode, SubmitEvent } from "react";
19
19
  import { QueryClient } from "@tanstack/query-core";
@@ -3,8 +3,8 @@ import { O as AnyFunctions, k as AnyModels } from "./types-DFdg_4yN.js";
3
3
  import { l as PublicEnv } from "./index-NRMMhhEi.js";
4
4
  import { g as SessionEncoding } from "./resolve-CXX6DHv3.js";
5
5
  import { t as BetterSupabase } from "./define-DFBnQyYg.js";
6
- import { i as KeyboardPort, l as StoragePort, n as DeepLinkPort, r as FilePickerPort, s as PushTokenPort, t as ClientPorts } from "./ports-sx226JUL.js";
7
- import { i as BindClientOptions, r as BetterClient } from "./bind-CrMBwrPN.js";
6
+ import { i as KeyboardPort, l as StoragePort, n as DeepLinkPort, r as FilePickerPort, s as PushTokenPort, t as ClientPorts } from "./ports-CpdiQv1D.js";
7
+ import { i as BindClientOptions, r as BetterClient } from "./bind-h5jre2K0.js";
8
8
  import { n as FunctionContract } from "./function-contract-DxFNOmsm.js";
9
9
  import { FunctionInvokeOptions, SupabaseClient, SupabaseClientOptions } from "@supabase/supabase-js";
10
10
  //#region src/client/functions.d.ts
@@ -1,4 +1,4 @@
1
- import { $r as PresetCatalog, Nn as PresetSpec, Un as PresetName, _t as presetConfig, ar as AppColumnConfig, mr as AppTableConfig, ni as PresetGlueItem, si as Preset, sr as AppColumnType, xt as ResolvedPreset, yr as AppTablesConfig } from "./context-CEuTKrkz.js";
1
+ import { Pn as PresetSpec, St as ResolvedPreset, Wn as PresetName, br as AppTablesConfig, ci as Preset, cr as AppColumnType, ei as PresetCatalog, hr as AppTableConfig, or as AppColumnConfig, ri as PresetGlueItem, vt as presetConfig } from "./context-TGX2eDS5.js";
2
2
  import { StandardSchemaV1 } from "@standard-schema/spec";
3
3
  //#region src/preset/catalog.generated.d.ts
4
4
  declare const PRESET_CATALOG: PresetCatalog;
@@ -1,7 +1,7 @@
1
1
  import { E as AccessPolicySql } from "./types-DFdg_4yN.js";
2
2
  import { p as AnyBlocksConfig, t as AuthorizationFunctions } from "./authorization-HZdJCaVm.js";
3
3
  import { tt as ReadSet } from "./define-DFBnQyYg.js";
4
- import { Ar as CatalogPolicy, T as TableGrant, Zt as ResolvedConfig, _ as BlockSqlDeprecation, b as BlockSqlLayout, c as BlockSqlIdType, g as BlockSqlAccessProvider, h as BlockSql, mr as AppTableConfig, o as BlockSqlContractFunction, v as BlockSqlEntitlementsProvider, y as BlockSqlFile } from "./context-CEuTKrkz.js";
4
+ import { E as TableGrant, Qt as ResolvedConfig, _ as BlockSqlDeprecation, b as BlockSqlLayout, c as BlockSqlIdType, g as BlockSqlAccessProvider, h as BlockSql, hr as AppTableConfig, jr as CatalogPolicy, o as BlockSqlContractFunction, v as BlockSqlEntitlementsProvider, y as BlockSqlFile } from "./context-TGX2eDS5.js";
5
5
  import { t as SubjectConfig } from "./subjects-DvmQeF_F.js";
6
6
  //#region src/sql/render.d.ts
7
7
  /** A module's SQL for `layout`, without header; `undefined` in custom mode. */
@@ -249,7 +249,7 @@ interface AdoptedTable {
249
249
  * `ownTables` lists it or `blocks.<name>.on` names it, with the columns their
250
250
  * SQL names: mapped to `null` and unused optional columns are left out.
251
251
  */
252
- declare function adoptedTables(modules: AnyBlocksConfig, ownTables?: Readonly<Record<string, string>>): readonly AdoptedTable[];
252
+ declare function adoptedTables(modules: AnyBlocksConfig, ownTables?: Readonly<Record<string, string>>, views?: Pick<BlockSqlLayout, "ownViews" | "ownColumns">): readonly AdoptedTable[];
253
253
  /**
254
254
  * The columns the modules write on the app's other tables (`appSubjectTables`,
255
255
  * such as a tag link table) that those tables lack, and the enum columns they
@@ -259,6 +259,19 @@ declare function adoptedTables(modules: AnyBlocksConfig, ownTables?: Readonly<Re
259
259
  declare function adoptedColumnProblems(modules: AnyBlocksConfig, files: readonly {
260
260
  readonly text: string;
261
261
  }[], schemas: readonly string[], ownTables?: Readonly<Record<string, string>>): readonly string[];
262
+ /** A block table mapped to a view of the app's. */
263
+ interface AdoptedView {
264
+ readonly module: string;
265
+ readonly logical: string;
266
+ /** `schema.view`. */
267
+ readonly view: string;
268
+ /** Whether Postgres writes through the view to its table. */
269
+ readonly updatable: boolean;
270
+ /** Whether the block's TypeScript API writes rows of the table. */
271
+ readonly writes: boolean;
272
+ }
273
+ /** The block tables in `modules` that run over the app's views. */
274
+ declare function adoptedViews(modules: AnyBlocksConfig, ownTables: Readonly<Record<string, string>>, views: Required<Pick<BlockSqlLayout, "ownViews">> & Pick<BlockSqlLayout, "ownColumns">): readonly AdoptedView[];
262
275
  //#endregion
263
276
  //#region src/sql/expose-columns.d.ts
264
277
  /**
@@ -355,6 +368,21 @@ interface PolicyGrant {
355
368
  declare function declaredTables(files: readonly {
356
369
  readonly text: string;
357
370
  }[], schemas: readonly string[]): string[];
371
+ /** A view the app's files create. */
372
+ interface DeclaredView {
373
+ /** Its columns, or `undefined` when they can't be read (`select *`). */
374
+ readonly columns: readonly string[] | undefined;
375
+ /** Whether `insert`, `update` and `delete` reach the table under it. */
376
+ readonly updatable: boolean;
377
+ }
378
+ /**
379
+ * The views and materialized views `files` create, as `schema.view`, with their
380
+ * columns and whether they are auto-updatable. A later `drop view` removes one.
381
+ * Only views in `schemas` are kept.
382
+ */
383
+ declare function declaredViews(files: readonly {
384
+ readonly text: string;
385
+ }[], schemas: readonly string[]): ReadonlyMap<string, DeclaredView>;
358
386
  /**
359
387
  * The tables in `schemas` that `files` leave with row level security on: `alter
360
388
  * table ... enable row level security`, until a later `disable` or `drop
@@ -515,4 +543,4 @@ declare function declaredPolicies(sources: readonly {
515
543
  readonly text: string;
516
544
  }[], schemas: readonly string[]): Record<string, CatalogPolicy[]>;
517
545
  //#endregion
518
- export { moduleFileVersion as $, DataExportPlan as A, appTablesFiles as B, rlsTables as C, expiredFlagsQuery as D, tenantsQuery as E, AdoptedTable as F, BlockSqlExtension as G, instanceFunctions as H, adoptedColumnProblems as I, moduleHidingColumns as J, BlockSqlPermissionKey as K, adoptedTables as L, dataExportPlan as M, excludedColumns as N, sameTenantColumn as O, resolveExposeColumns as P, isModuleDataFile as Q, APP_TABLES_MARKER as R, policyGrants as S, TenantQuery as T, SQL_MODULES as U, DEFAULT_ROLES as V, resolveBlocks as W, moduleSchemaExtensions as X, modulePermissionKeys as Y, blockFileState as Z, PolicyGrant as _, moduleTopics as _t, hasColumnAccess as a, entityRenamePlan as at, declaredUpdatedAtTriggers as b, compileReadSets as c, formerBlockName as ct, migrationOptionUses as d, InstalledBlock as dt, sameBlockFile as et, moduleLayout as f, moduleDeprecations as ft, templateFunctions as g, moduleBody as gt, scopeProblems as h, customContracts as ht, scopePolicyName as i, EntityRenameStep as it, SECRET_COLUMNS as j, sameTenantTrigger as k, sharedRolesProblems as l, renamedBlock as lt, resolveProviderSql as m, BlockSqlTopic as mt, widenedCommands as n, moduleFilePaths as nt, CompiledReadSet as o, BLOCK_RENAMES as ot, SCOPE_ID_TYPES as p, upgradePlan as pt, moduleEventTriggers as q, TENANT_SCOPE_POLICY as r, EntityRenamePlan as rt, compileReadSet as s, currentBlockName as st, declaredPolicies as t, moduleDataDir as tt, MigrationOptionUse as u, BlockSqlUpgradePlan as ut, declaredTableColumns as v, renderBlocks as vt, subjectColumns as w, extensionSchema as x, declaredTables as y, APP_TABLES_MODULE as z };
546
+ export { modulePermissionKeys as $, sameTenantColumn as A, adoptedTables as B, extensionSchema as C, TenantQuery as D, subjectColumns as E, excludedColumns as F, DEFAULT_ROLES as G, APP_TABLES_MARKER as H, resolveExposeColumns as I, resolveBlocks as J, instanceFunctions as K, AdoptedTable as L, DataExportPlan as M, SECRET_COLUMNS as N, tenantsQuery as O, dataExportPlan as P, moduleHidingColumns as Q, AdoptedView as R, declaredViews as S, renderBlocks as St, rlsTables as T, APP_TABLES_MODULE as U, adoptedViews as V, appTablesFiles as W, BlockSqlPermissionKey as X, BlockSqlExtension as Y, moduleEventTriggers as Z, DeclaredView as _, upgradePlan as _t, hasColumnAccess as a, moduleDataDir as at, declaredTables as b, moduleBody as bt, compileReadSets as c, EntityRenameStep as ct, migrationOptionUses as d, currentBlockName as dt, moduleSchemaExtensions as et, moduleLayout as f, formerBlockName as ft, templateFunctions as g, moduleDeprecations as gt, scopeProblems as h, InstalledBlock as ht, scopePolicyName as i, sameBlockFile as it, sameTenantTrigger as j, expiredFlagsQuery as k, sharedRolesProblems as l, entityRenamePlan as lt, resolveProviderSql as m, BlockSqlUpgradePlan as mt, widenedCommands as n, isModuleDataFile as nt, CompiledReadSet as o, moduleFilePaths as ot, SCOPE_ID_TYPES as p, renamedBlock as pt, SQL_MODULES as q, TENANT_SCOPE_POLICY as r, moduleFileVersion as rt, compileReadSet as s, EntityRenamePlan as st, declaredPolicies as t, blockFileState as tt, MigrationOptionUse as u, BLOCK_RENAMES as ut, PolicyGrant as v, BlockSqlTopic as vt, policyGrants as w, declaredUpdatedAtTriggers as x, moduleTopics as xt, declaredTableColumns as y, customContracts as yt, adoptedColumnProblems as z };
@@ -5,7 +5,7 @@ import { $ as RecordRef, K as Insert, O as AnyFunctions, Z as PrimaryKeyValue, h
5
5
  import { o as EventHub } from "./events-vcqenSYU.js";
6
6
  import { A as OffsetRangeArgs, Bt as Payload, C as GetKey, Dt as CountArgs, K as WriteArgs, Nt as ListArgs, O as OffsetPage, S as FindExt, St as AggregateResult, U as UpdateArgs, W as UpsertArgs, Zt as CacheAdapter, _ as CursorPageArgs, b as DeleteArgs, ft as InferResult, g as CursorPage, k as OffsetPageArgs, kt as GetArgs, pt as QuerySpec, t as BetterSupabase, v as Db, x as DeleteExt, yt as AggregateArgs, z as Returned } from "./define-DFBnQyYg.js";
7
7
  import { n as DataEngine, r as DataEngineOptions } from "./data-engine-BWoz9lED.js";
8
- import { Dn as GeneratedBlocks, cn as RecordBindingResult, dn as RecordBindingWriteName, fn as RecordBindingWriteOutput, in as RecordBindingData, nn as AnyRecordBindingWrite, on as RecordBindingOptions, t as AnyBlock, tn as AnyRecordBinding, un as RecordBindingWriteInput } from "./define-block-BVcLQ3DF.js";
8
+ import { Dn as GeneratedBlocks, cn as RecordBindingResult, dn as RecordBindingWriteName, fn as RecordBindingWriteOutput, in as RecordBindingData, nn as AnyRecordBindingWrite, on as RecordBindingOptions, t as AnyBlock, tn as AnyRecordBinding, un as RecordBindingWriteInput } from "./define-block-DvvcM54N.js";
9
9
  import { t as BetterQueryMeta } from "./invalidate-DMp4eqfF.js";
10
10
  import { DataTag, InfiniteData, QueryClient, SkipToken } from "@tanstack/query-core";
11
11
  import { StandardSchemaV1 } from "@standard-schema/spec";
@@ -2,7 +2,7 @@ import { b as DbError, f as Result } from "./result-DZeA5KS6.js";
2
2
  import { $ as RecordRef, ot as SchemaMeta } from "./types-DFdg_4yN.js";
3
3
  import { pt as QuerySpec } from "./define-DFBnQyYg.js";
4
4
  import { t as DataChanges } from "./data-engine-BWoz9lED.js";
5
- import { c as RealtimeClient, m as Topic, p as SubscriptionStatus } from "./topic-CJrQZQaa.js";
5
+ import { c as RealtimeClient, m as Topic, p as SubscriptionStatus } from "./topic-DNFEFGKI.js";
6
6
  import { StandardSchemaV1 } from "@standard-schema/spec";
7
7
  //#region src/realtime/subject-presence.d.ts
8
8
  /** The presence topic template; the subjects module's policies authorize it. */
@@ -5,7 +5,7 @@ import { r as BlockTemporalOptions } from "./block-helpers-CRpAHrp_.js";
5
5
  import { t as BlockTransport } from "./block-transport-DWZSJrwN.js";
6
6
  import { n as BlockHooks } from "./block-hooks-DZN2w69m.js";
7
7
  import { f as AiFiles, o as AiFile } from "./types-Dr9wZgNy.js";
8
- import { g as JobHandler } from "./types-SFRomQF7.js";
8
+ import { g as JobHandler } from "./types-Czq9Xtpa.js";
9
9
  //#region src/blocks/knowledge/knowledge.d.ts
10
10
  /**
11
11
  * Turns texts into vectors. `model` is stored with each document, so a document
@@ -1,10 +1,10 @@
1
- import { t as VERSION } from "../cli/version-Du4CgONY.js";
2
- import { a as lastTypesModule, c as writeAtomic, s as typesModuleKey } from "../cli/cache-CXgR_Ahi.js";
3
- import { t as loadSnapshot } from "../cli/snapshot-C8MVPyO8.js";
4
- import { i as renderTypesModule, t as mapperFilePath } from "../cli/render-ucJmUyuM.js";
1
+ import { t as VERSION } from "../cli/version-CyavsyGA.js";
2
+ import { a as lastTypesModule, c as writeAtomic, s as typesModuleKey } from "../cli/cache-DkplpIGe.js";
3
+ import { t as loadSnapshot } from "../cli/snapshot-Bzcigm7T.js";
4
+ import { i as renderTypesModule, t as mapperFilePath } from "../cli/render-lJmHr0y9.js";
5
5
  import { i as discoverConfig, s as loadConfig } from "../cli/config-9t5ec_N7.js";
6
6
  import { i as parseEnv, n as configEnvironment } from "../cli/env-DMgjB_4y.js";
7
- import { s as schemaStampPath } from "../cli/content-mapper-DNs7lTu7.js";
7
+ import { s as schemaStampPath } from "../cli/content-mapper-Cdx6arxu.js";
8
8
  import { existsSync, realpathSync } from "node:fs";
9
9
  import { basename, dirname, join, resolve } from "node:path";
10
10
  import { createHash } from "node:crypto";
@@ -2,7 +2,7 @@ import { O as AnyFunctions, k as AnyModels, ut as TableKey } from "../types-DFdg
2
2
  import { t as OperationTable } from "../operations-CSc_IsHO.js";
3
3
  import { l as PermissionRef, t as AnyAuthorizer } from "../authorizer-B6X09otb.js";
4
4
  import { t as BetterSupabase } from "../define-DFBnQyYg.js";
5
- import { a as ServerContext, c as ServerOptions, n as BetterServer } from "../server-types-CFtehAsr.js";
5
+ import { a as ServerContext, c as ServerOptions, n as BetterServer } from "../server-types-7QPzW2bF.js";
6
6
  import { r as GuardOptions } from "../respond-Dn1_YhC1.js";
7
7
  import { D as ResourceOperation } from "../model-hwpvole9.js";
8
8
  import { l as ResourceRouteOptions } from "../resource-types-DnKiH4G2.js";
package/dist/mcp/index.js CHANGED
@@ -6,7 +6,7 @@ import { a as methodNotAllowed, c as toProblem, o as problemResponse } from "../
6
6
  import { t as SPEC_PINS } from "../spec-pins-C1Vm8OBl.js";
7
7
  import { r as toDraft07, t as buildJsonSchema } from "../json-schema-Ca6gYbEP.js";
8
8
  import { r as operationPermission, t as OPERATION_PREFIXES } from "../operations-DVHRHvv6.js";
9
- import { c as extendServer, n as flushEvents, s as createServer } from "../adapter-B0b6MXYS.js";
9
+ import { c as extendServer, n as flushEvents, s as createServer } from "../adapter-Dyks1lX1.js";
10
10
  import { n as checkEach, r as checkPermission } from "../authorizer-BGhXaDmo.js";
11
11
  import { n as jsonResponse, t as jsonReplacer } from "../json-DaByVJpw.js";
12
12
  import { o as settle, r as guard, t as defaultExpose } from "../respond-C3CcOZlA.js";
@@ -3,7 +3,7 @@ import { r as AuthState } from "../../resolve-CXX6DHv3.js";
3
3
  import { i as CredentialRef, r as CredentialProvider } from "../../provider-CqwEOLCA.js";
4
4
  import { i as SupabaseMcpScope, n as SupabaseMcpModule, r as SupabaseMcpPlatformModule, t as SupabaseMcpFeature } from "../../supabase-mcp-Z4vtsuoO.js";
5
5
  import { t as BetterSupabase } from "../../define-DFBnQyYg.js";
6
- import { a as ServerContext$1, c as ServerOptions, n as BetterServer } from "../../server-types-CFtehAsr.js";
6
+ import { a as ServerContext$1, c as ServerOptions, n as BetterServer } from "../../server-types-7QPzW2bF.js";
7
7
  import { r as GuardOptions, t as AllowedCaller } from "../../respond-Dn1_YhC1.js";
8
8
  import { AuthInfo, CallToolResult, Icon, InputRequiredResult, OAuthTokenVerifier, RegisteredTool, ScopeChallengeHandler, ServerContext, StandardSchemaWithJSON, ToolAnnotations } from "@modelcontextprotocol/server";
9
9
  //#region src/mcp/sdk/sdk.d.ts
@@ -1,7 +1,7 @@
1
1
  import { n as dbError } from "../../errors-BVFgt8BZ.js";
2
2
  import { o as problemResponse } from "../../problem-Bf0cJ7tk.js";
3
3
  import { i as delegationOf } from "../../actor-go7p9-CJ.js";
4
- import { c as extendServer, i as resolveToken, n as flushEvents, s as createServer } from "../../adapter-B0b6MXYS.js";
4
+ import { c as extendServer, i as resolveToken, n as flushEvents, s as createServer } from "../../adapter-Dyks1lX1.js";
5
5
  import { r as guard } from "../../respond-C3CcOZlA.js";
6
6
  import { t as withExtra } from "../../extra-CGQ2_q3S.js";
7
7
  import { a as withCors, i as metadataPreflight, n as endpointPreflight, r as isMetadataRequest, t as discovery } from "../../http-DzbloBR-.js";
@@ -3,25 +3,25 @@ import { $ as RecordRef, O as AnyFunctions, k as AnyModels } from "../types-DFdg
3
3
  import { r as AuthState } from "../resolve-CXX6DHv3.js";
4
4
  import { l as PermissionRef, t as AnyAuthorizer } from "../authorizer-B6X09otb.js";
5
5
  import { J as DbStats, Zt as CacheAdapter, pt as QuerySpec, t as BetterSupabase, tt as ReadSet } from "../define-DFBnQyYg.js";
6
- import { C as SupportSessions, S as SupportPolicy, T as supportSessions, a as ServerContext, c as ServerOptions, et as SessionSnapshot, it as sessionCacheKey, l as SharedServer, n as BetterServer, nt as isSessionSnapshot, r as ContextOptions, rt as issuedAtOf, tt as authzVersionOf, v as ActiveSupport, w as SupportStartRequest, x as SupportOptions } from "../server-types-CFtehAsr.js";
6
+ import { C as SupportSessions, S as SupportPolicy, T as supportSessions, a as ServerContext, c as ServerOptions, et as SessionSnapshot, it as sessionCacheKey, l as SharedServer, n as BetterServer, nt as isSessionSnapshot, r as ContextOptions, rt as issuedAtOf, tt as authzVersionOf, v as ActiveSupport, w as SupportStartRequest, x as SupportOptions } from "../server-types-7QPzW2bF.js";
7
7
  import { n as Impersonator } from "../impersonation-YTa9dZUv.js";
8
8
  import { n as AmrEntry, t as Aal } from "../mfa-oIOYTpvc.js";
9
- import { S as BlockClientSource, on as RecordBindingOptions } from "../define-block-BVcLQ3DF.js";
10
- import { M as BindingName, N as BindingOf, S as RecordWriteInput, _ as RecordTypeBlocks, b as RecordTypeWriteInput, d as BindingWritesOf, f as Plain, g as RecordType, h as RecordCan, m as PlainBindings, x as RecordTypeWriteOutput } from "../index-DLq69k3F.js";
11
- import { t as tenantOf } from "../tenant-yYg0E2-n.js";
9
+ import { S as BlockClientSource, on as RecordBindingOptions } from "../define-block-DvvcM54N.js";
10
+ import { M as BindingName, N as BindingOf, S as RecordWriteInput, _ as RecordTypeBlocks, b as RecordTypeWriteInput, d as BindingWritesOf, f as Plain, g as RecordType, h as RecordCan, m as PlainBindings, x as RecordTypeWriteOutput } from "../index-BfkltrGJ.js";
11
+ import { t as tenantOf } from "../tenant-DzFsg0Pc.js";
12
12
  import { n as toSession, t as AuthSession } from "../view-DyFdMCqg.js";
13
- import { t as AuthOutageHook } from "../session-CH0SKgIz.js";
13
+ import { t as AuthOutageHook } from "../session-CfBCJGgc.js";
14
14
  import { n as AuthKind, r as GuardOptions } from "../respond-Dn1_YhC1.js";
15
15
  import { a as AuthorizedContext, c as ResourceLoaderContext, i as AuthorizeOptions, l as Unwrapped, n as ActionParsed, r as ActionResult, t as ActionInput } from "../kit-DOwKpSkA.js";
16
16
  import { c as ListParseOptions, m as ListSearchParams } from "../list-query-BDVutLFr.js";
17
- import { r as LiveCountSeed, t as CountRunner } from "../index-B938YqY-.js";
18
- import { r as MembershipClaim } from "../entitlements-CJpYQXeE.js";
17
+ import { r as LiveCountSeed, t as CountRunner } from "../index-DN9mfmhA.js";
18
+ import { r as MembershipClaim } from "../entitlements-BnhDBxLW.js";
19
19
  import { i as ResourceContext, l as ResourceRouteOptions, o as ResourceHooks, r as ResourceAction, t as ActionArgs } from "../resource-types-DnKiH4G2.js";
20
20
  import { t as ResourceMap } from "../resources-B9cQxhjw.js";
21
21
  import { t as defineAction } from "../resource-execute-CzHuDsil.js";
22
22
  import { n as BlockDataOf, r as BlockMethodName, t as BlockArgsOf } from "../block-method-CiVa2G-J.js";
23
23
  import { i as tagFor, t as TagOptions } from "../tags-BjHflcHF.js";
24
- import { c as RecordListCells, n as Timeline, o as RecordList, u as RecordListPage } from "../timeline-CtG0sehj.js";
24
+ import { c as RecordListCells, n as Timeline, o as RecordList, u as RecordListPage } from "../timeline-WrFMgd3U.js";
25
25
  import { r as safeRedirectPath } from "../sign-in-BAjR49fq.js";
26
26
  import { n as supportOf, t as SupportView } from "../support-view-BYOgwXsJ.js";
27
27
  import { NextRequest } from "next/server.js";
@@ -13,11 +13,11 @@ import { a as recordCan, c as recordWriteInput, i as plainData, l as runBindingW
13
13
  import { n as methodOf } from "../block-method-C9hWdHom.js";
14
14
  import { t as tenantOf } from "../tenant-BgIiMQpo.js";
15
15
  import { t as loadTimeline } from "../timeline--VU3A1e4.js";
16
- import { T as serverCore, b as isPrefetch, c as extendServer, n as flushEvents, p as supportCookieMaxAge, r as handle, s as createServer, t as bearerRequest, v as outageResponse } from "../adapter-B0b6MXYS.js";
16
+ import { T as serverCore, b as isPrefetch, c as extendServer, n as flushEvents, p as supportCookieMaxAge, r as handle, s as createServer, t as bearerRequest, v as outageResponse } from "../adapter-Dyks1lX1.js";
17
17
  import { g as sessionCookieName, t as clientIp, v as writeSession } from "../resolve-B0mW2m7f.js";
18
18
  import { a as isSessionSnapshot, f as checkAal, i as authzVersionOf, n as toSession, o as issuedAtOf, s as sessionCacheKey } from "../view-C8Ve14ja.js";
19
19
  import { o as settle, r as guard, t as defaultExpose } from "../respond-C3CcOZlA.js";
20
- import { i as supportSessions, n as passwordGrant, r as safeRedirectPath, t as needsMfa } from "../sign-in-DNCdrk05.js";
20
+ import { i as supportSessions, n as passwordGrant, r as safeRedirectPath, t as needsMfa } from "../sign-in-B64114O4.js";
21
21
  import { i as defineAction } from "../resource-DV2GC2dB.js";
22
22
  import { r as tagFor, t as cacheTagsOf } from "../tags-CIZTqtlY.js";
23
23
  import { i as requireCaller, n as formDataObject, t as authorizeCaller } from "../kit-5l-o8RxL.js";
@@ -3,7 +3,7 @@ import { O as AnyFunctions, k as AnyModels } from "../types-DFdg_4yN.js";
3
3
  import { r as AuthState } from "../resolve-CXX6DHv3.js";
4
4
  import { i as ProblemDetails } from "../problem-DNwN8iGz.js";
5
5
  import { t as BetterSupabase } from "../define-DFBnQyYg.js";
6
- import { a as ServerContext, c as ServerOptions, n as BetterServer } from "../server-types-CFtehAsr.js";
6
+ import { a as ServerContext, c as ServerOptions, n as BetterServer } from "../server-types-7QPzW2bF.js";
7
7
  import { i as MiddlewareOptions, r as GuardOptions } from "../respond-Dn1_YhC1.js";
8
8
  import { c as ResourceLoaderContext, i as AuthorizeOptions } from "../kit-DOwKpSkA.js";
9
9
  import { t as Validated } from "../shared-CRRfQAKG.js";
@@ -6,7 +6,7 @@ import { c as toProblem } from "../problem-Bf0cJ7tk.js";
6
6
  import { i as claimsOf } from "../claims-Bp9My7XP.js";
7
7
  import { t as callWithInput } from "../block-method-C9hWdHom.js";
8
8
  import { t as tenantOf } from "../tenant-BgIiMQpo.js";
9
- import { c as extendServer, n as flushEvents, s as createServer, x as refreshFor } from "../adapter-B0b6MXYS.js";
9
+ import { c as extendServer, n as flushEvents, s as createServer, x as refreshFor } from "../adapter-Dyks1lX1.js";
10
10
  import { r as checkPermission } from "../authorizer-BGhXaDmo.js";
11
11
  import { n as toSession } from "../view-C8Ve14ja.js";
12
12
  import { o as settle, r as guard, t as defaultExpose } from "../respond-C3CcOZlA.js";