better-supabase 0.32.0 → 0.33.0

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 (455) hide show
  1. package/README.md +11 -10
  2. package/codemods/0.32.json +31 -0
  3. package/dist/{adapter-CPPN80mx.js → adapter-CWzyKepA.js} +45 -16
  4. package/dist/{agents-BEiBtYmh.d.ts → agents-DXiOPB3V.d.ts} +4 -4
  5. package/dist/{ai-cache-FMYzw7lW.d.ts → ai-cache-CLiAXCPH.d.ts} +4 -4
  6. package/dist/{ai-chat-B_P--Ie2.d.ts → ai-chat-DlcBdOhJ.d.ts} +4 -4
  7. package/dist/{ai-schedules-D_q1iclL.d.ts → ai-schedules-Drx2KRTn.d.ts} +5 -5
  8. package/dist/ai-sdk/agents/index.d.ts +6 -6
  9. package/dist/ai-sdk/batches/index.d.ts +3 -3
  10. package/dist/ai-sdk/cache/index.d.ts +1 -1
  11. package/dist/ai-sdk/chat/index.d.ts +2 -2
  12. package/dist/ai-sdk/embeddings/index.d.ts +2 -2
  13. package/dist/ai-sdk/files/index.d.ts +1 -1
  14. package/dist/ai-sdk/index.d.ts +5 -5
  15. package/dist/ai-sdk/mcp/index.d.ts +3 -3
  16. package/dist/ai-sdk/memory/index.d.ts +3 -3
  17. package/dist/ai-sdk/workflow/index.d.ts +3 -3
  18. package/dist/{api-keys-u2sXB-CZ.d.ts → api-keys-DbIbkGxx.d.ts} +4 -4
  19. package/dist/{api-CwzVbbw4.d.ts → api-myq2e9t5.d.ts} +5 -6
  20. package/dist/{app-tables-DomvYx5b.d.ts → app-tables-IrglDJCs.d.ts} +1 -1
  21. package/dist/{approvals-idpuhILk.d.ts → approvals-DZoGtNFv.d.ts} +5 -5
  22. package/dist/{assistant-CMKsaeJd.d.ts → assistant-BEbRPjhn.d.ts} +2 -2
  23. package/dist/astro/index.d.ts +7 -8
  24. package/dist/astro/index.js +5 -5
  25. package/dist/{auth-module-CVo86UKh.js → auth-module-CqXdm8qD.js} +1 -1
  26. package/dist/{authorization-CYu_UKX4.d.ts → authorization-BlmDNI2b.d.ts} +12 -1
  27. package/dist/{authorization-hooks-CldgvzBZ.d.ts → authorization-hooks-CxwsRnfV.d.ts} +2 -2
  28. package/dist/{authorizer-D6po_XZA.js → authorizer-BtIPDO-c.js} +33 -10
  29. package/dist/better-result/index.d.ts +3 -3
  30. package/dist/{bind-8LYVJE5W.d.ts → bind-DP-KLgYI.d.ts} +7 -7
  31. package/dist/{block-env-BsLgZL2l.d.ts → block-env-CJ38ZSTP.d.ts} +4 -4
  32. package/dist/{block-helpers-JxiD1iw4.d.ts → block-helpers-disoUWCp.d.ts} +1 -1
  33. package/dist/{block-hooks-CJP5kGEa.d.ts → block-hooks-DrA_d1dJ.d.ts} +2 -2
  34. package/dist/{block-subjects-SyJwfgrX.d.ts → block-subjects-Br2MQNFn.d.ts} +1 -1
  35. package/dist/block-tables-CQTU71zn.d.ts +34 -0
  36. package/dist/{block-transport-Bbf1ZZre.d.ts → block-transport-BEtC_Kis.d.ts} +2 -2
  37. package/dist/blocks/access-requests/index.d.ts +5 -5
  38. package/dist/blocks/activities/index.d.ts +9 -9
  39. package/dist/blocks/agents/index.d.ts +4 -4
  40. package/dist/blocks/ai-cache/index.d.ts +3 -3
  41. package/dist/blocks/ai-chat/index.d.ts +8 -8
  42. package/dist/blocks/ai-files/index.d.ts +3 -3
  43. package/dist/blocks/ai-keys/index.d.ts +4 -4
  44. package/dist/blocks/ai-schedules/index.d.ts +3 -3
  45. package/dist/blocks/announcements/index.d.ts +8 -8
  46. package/dist/blocks/api-keys/index.d.ts +4 -108
  47. package/dist/blocks/approvals/index.d.ts +4 -4
  48. package/dist/blocks/assets/index.d.ts +6 -6
  49. package/dist/blocks/assignment/index.d.ts +7 -7
  50. package/dist/blocks/attachments/index.d.ts +4 -4
  51. package/dist/blocks/audit/index.d.ts +13 -13
  52. package/dist/blocks/automations/index.d.ts +12 -12
  53. package/dist/blocks/billable-time/index.d.ts +6 -6
  54. package/dist/blocks/billing/index.d.ts +9 -9
  55. package/dist/blocks/bookings/index.d.ts +4 -4
  56. package/dist/blocks/bulk/index.d.ts +4 -4
  57. package/dist/blocks/calendar/index.d.ts +5 -5
  58. package/dist/blocks/catalog/index.d.ts +6 -6
  59. package/dist/blocks/channels/index.d.ts +7 -7
  60. package/dist/blocks/collections/index.d.ts +6 -6
  61. package/dist/blocks/comments/index.d.ts +10 -10
  62. package/dist/blocks/compliance/index.d.ts +5 -5
  63. package/dist/blocks/connectors/index.d.ts +4 -4
  64. package/dist/blocks/contacts/index.d.ts +6 -6
  65. package/dist/blocks/content/index.d.ts +5 -5
  66. package/dist/blocks/contracts/index.d.ts +6 -6
  67. package/dist/blocks/courses/index.d.ts +5 -5
  68. package/dist/blocks/created-by/index.d.ts +2 -2
  69. package/dist/blocks/custom-fields/index.d.ts +6 -6
  70. package/dist/blocks/data-lifecycle/index.d.ts +8 -8
  71. package/dist/blocks/deals/index.d.ts +6 -6
  72. package/dist/blocks/dispatch/index.d.ts +6 -6
  73. package/dist/blocks/documents/index.d.ts +4 -4
  74. package/dist/blocks/domains/index.d.ts +6 -6
  75. package/dist/blocks/donations/index.d.ts +6 -6
  76. package/dist/blocks/drive/index.d.ts +6 -6
  77. package/dist/blocks/employees/index.d.ts +8 -8
  78. package/dist/blocks/enrichment/index.d.ts +6 -6
  79. package/dist/blocks/enrollments/index.d.ts +6 -6
  80. package/dist/blocks/entitlements/index.d.ts +6 -6
  81. package/dist/blocks/entitlements/index.js +2 -23
  82. package/dist/blocks/expenses/index.d.ts +5 -5
  83. package/dist/blocks/field-history/index.d.ts +4 -4
  84. package/dist/blocks/flags/index.d.ts +5 -5
  85. package/dist/blocks/flags/index.js +1 -1
  86. package/dist/blocks/forecasts/index.d.ts +6 -6
  87. package/dist/blocks/forms/index.d.ts +6 -6
  88. package/dist/blocks/goals/index.d.ts +4 -4
  89. package/dist/blocks/guests/index.d.ts +6 -6
  90. package/dist/blocks/hiring/index.d.ts +6 -6
  91. package/dist/blocks/identities/index.d.ts +5 -5
  92. package/dist/blocks/imports/index.d.ts +5 -5
  93. package/dist/blocks/inbox/index.d.ts +10 -10
  94. package/dist/blocks/incidents/index.d.ts +5 -5
  95. package/dist/blocks/index.d.ts +9 -9
  96. package/dist/blocks/inventory/index.d.ts +6 -6
  97. package/dist/blocks/invoices/index.d.ts +8 -8
  98. package/dist/blocks/knowledge/index.d.ts +3 -3
  99. package/dist/blocks/lead-scoring/index.d.ts +7 -7
  100. package/dist/blocks/leases/index.d.ts +6 -6
  101. package/dist/blocks/leave/index.d.ts +5 -5
  102. package/dist/blocks/ledger/index.d.ts +6 -6
  103. package/dist/blocks/mail-sync/index.d.ts +5 -5
  104. package/dist/blocks/memberships/index.d.ts +2 -2
  105. package/dist/blocks/memberships/index.js +1 -1
  106. package/dist/blocks/memory/index.d.ts +4 -4
  107. package/dist/blocks/messaging/index.d.ts +11 -11
  108. package/dist/blocks/metrics/index.d.ts +6 -6
  109. package/dist/blocks/mfa/index.d.ts +2 -2
  110. package/dist/blocks/moderation/index.d.ts +6 -6
  111. package/dist/blocks/notifications/index.d.ts +11 -11
  112. package/dist/blocks/numbering/index.d.ts +4 -4
  113. package/dist/blocks/oauth-server/index.d.ts +5 -5
  114. package/dist/blocks/onboarding/index.d.ts +5 -5
  115. package/dist/blocks/orders/index.d.ts +7 -7
  116. package/dist/blocks/organizations/index.d.ts +8 -8
  117. package/dist/blocks/organizations/index.js +1 -1
  118. package/dist/blocks/outbox/index.d.ts +4 -4
  119. package/dist/blocks/passes/index.d.ts +8 -8
  120. package/dist/blocks/permissions/index.d.ts +12 -7
  121. package/dist/blocks/permissions/index.js +6 -6
  122. package/dist/blocks/pipelines/index.d.ts +6 -6
  123. package/dist/blocks/posts/index.d.ts +5 -5
  124. package/dist/blocks/profiles/index.d.ts +4 -4
  125. package/dist/blocks/promotions/index.d.ts +5 -5
  126. package/dist/blocks/push/index.d.ts +7 -7
  127. package/dist/blocks/queue/index.d.ts +6 -6
  128. package/dist/blocks/queue/index.js +2 -2
  129. package/dist/blocks/quotes/index.d.ts +8 -8
  130. package/dist/blocks/rank/index.d.ts +4 -4
  131. package/dist/blocks/reactions/index.d.ts +9 -9
  132. package/dist/blocks/relations/index.d.ts +7 -7
  133. package/dist/blocks/reminders/index.d.ts +8 -8
  134. package/dist/blocks/reviews/index.d.ts +5 -5
  135. package/dist/blocks/saved-views/index.d.ts +6 -6
  136. package/dist/blocks/scores/index.d.ts +5 -5
  137. package/dist/blocks/search/index.d.ts +7 -7
  138. package/dist/blocks/security-events/index.d.ts +7 -7
  139. package/dist/blocks/segments/index.d.ts +7 -7
  140. package/dist/blocks/sequences/index.d.ts +6 -6
  141. package/dist/blocks/service-accounts/index.d.ts +5 -5
  142. package/dist/blocks/sessions/index.d.ts +2 -2
  143. package/dist/blocks/settings/index.d.ts +6 -6
  144. package/dist/blocks/share-links/index.d.ts +5 -5
  145. package/dist/blocks/shipments/index.d.ts +6 -6
  146. package/dist/blocks/signatures/index.d.ts +5 -5
  147. package/dist/blocks/signing-keys/index.d.ts +4 -4
  148. package/dist/blocks/sla/index.d.ts +7 -7
  149. package/dist/blocks/sso/index.d.ts +6 -6
  150. package/dist/blocks/state-machine/index.d.ts +5 -5
  151. package/dist/blocks/subjects/index.d.ts +6 -6
  152. package/dist/blocks/tags/index.d.ts +6 -6
  153. package/dist/blocks/tasks/index.d.ts +9 -9
  154. package/dist/blocks/teams/index.d.ts +4 -4
  155. package/dist/blocks/templates/index.d.ts +7 -7
  156. package/dist/blocks/time-tracking/index.d.ts +7 -7
  157. package/dist/blocks/timeline/index.d.ts +8 -8
  158. package/dist/blocks/trash/index.d.ts +6 -6
  159. package/dist/blocks/undo/index.d.ts +4 -4
  160. package/dist/blocks/updated-at/index.d.ts +2 -2
  161. package/dist/blocks/usage/index.d.ts +4 -4
  162. package/dist/blocks/vercel-marketplace/index.d.ts +5 -5
  163. package/dist/blocks/versions/index.d.ts +6 -6
  164. package/dist/blocks/waitlist/index.d.ts +5 -5
  165. package/dist/blocks/webhooks/index.d.ts +13 -13
  166. package/dist/blocks/workflow-editor/index.d.ts +9 -9
  167. package/dist/blocks/workflow-editor/index.js +2 -1
  168. package/dist/blocks/workflows/index.d.ts +7 -7
  169. package/dist/{bookings-DG443336.d.ts → bookings-Br0VXzaf.d.ts} +3 -3
  170. package/dist/{bucket-Clq5xINQ.d.ts → bucket-DvG66r5G.d.ts} +1 -1
  171. package/dist/chat-sdk/index.d.ts +6 -6
  172. package/dist/claim-names-BKig1LOk.js +24 -0
  173. package/dist/claims/index.d.ts +8 -0
  174. package/dist/claims/index.js +8 -0
  175. package/dist/{claims-DRmafYVK.js → claims-CqTr_N1n.js} +13 -5
  176. package/dist/cli/{add-fzRPyIED.js → add-BDLLVLI8.js} +3 -2
  177. package/dist/cli/add-BaOCKKt6.js +1 -0
  178. package/dist/cli/{add-ChoHyBhz.js → add-D2pKTbPw.js} +11 -11
  179. package/dist/cli/{app-table-files-C0OtdUVu.js → app-table-files-CimWi_eh.js} +3 -3
  180. package/dist/cli/{providers-DpfoF3VC.js → authorization-DJkkOjjG.js} +25 -93
  181. package/dist/cli/{backfill-Dq2XMXf9.js → backfill-B1xAsdL4.js} +3 -3
  182. package/dist/cli/bin.js +1 -1
  183. package/dist/cli/{blocks-DVhJOzFj.js → blocks-DtZtn-R4.js} +1 -1
  184. package/dist/cli/{blocks-CCzp0eAH.js → blocks-rBeis04I.js} +1 -1
  185. package/dist/cli/{cache-CoC-1i1O.js → cache-CvBRwv02.js} +1 -1
  186. package/dist/cli/{codemod-pyf6HmS9.js → codemod-DYbVbJ-e.js} +5 -4
  187. package/dist/cli/{config-D0m2rQqk.js → config-CrwCec-B.js} +1 -1
  188. package/dist/cli/{config-Dyl3iX3u.js → config-DrrkMihk.js} +1 -0
  189. package/dist/cli/{content-mapper-ChSVT9Tq.js → content-mapper-DrhtDsAm.js} +2 -2
  190. package/dist/cli/{db-dFzhcozO.js → db-Diy1OebO.js} +2 -2
  191. package/dist/cli/{doctor-BKZsztFV.js → doctor-Dn4TzGmw.js} +59 -19
  192. package/dist/cli/{gen-BN_eh6rE.js → gen-BbeS0KgF.js} +14 -14
  193. package/dist/cli/index.d.ts +1 -1
  194. package/dist/cli/index.js +7 -7
  195. package/dist/cli/{init-CaDDt8F6.js → init-C30xdMSs.js} +9 -9
  196. package/dist/cli/{live-KU41LMGE.js → live-Ctc8Qh9Y.js} +2 -2
  197. package/dist/cli/{mcp-C_m-TpLJ.js → mcp-5J0kUOtD.js} +2 -2
  198. package/dist/cli/{metadata-Bq4ra7zo.js → metadata-DxhUNctA.js} +3 -3
  199. package/dist/cli/{migrate-DHG2Qz_K.js → migrate-ockrh3UX.js} +1 -1
  200. package/dist/cli/{migration-safety-STVbiKhz.js → migration-safety-CLrqC0D-.js} +2 -2
  201. package/dist/cli/{migrations-O1QZoMiH.js → migrations-CZTg2UJM.js} +2 -2
  202. package/dist/cli/{module-migration-DB9ntWM-.js → module-migration-BptQzmj2.js} +2 -2
  203. package/dist/cli/powersync-CmsXOuui.js +1 -0
  204. package/dist/cli/{powersync-CN3QPF2K.js → powersync-DIvsipKr.js} +3 -3
  205. package/dist/cli/{print-DG7TRCi8.js → print-DdHt8xCc.js} +2 -2
  206. package/dist/cli/providers-k-1cEna6.js +99 -0
  207. package/dist/cli/{prune-workflows-DcNJUS1m.js → prune-workflows-Ddv-GfkO.js} +3 -3
  208. package/dist/cli/{remove-BpfYqP45.js → remove-DEEQDoc7.js} +5 -5
  209. package/dist/cli/{render-Q7jnLn_C.js → render-SjSVz8yK.js} +7 -4
  210. package/dist/cli/{run-D6K-qQIX.js → run-DdhIK7-K.js} +9 -8
  211. package/dist/cli/{run-9NfabanB.js → run-Ixt9mEb6.js} +29 -29
  212. package/dist/cli/{seed-B4H0Lco9.js → seed-BpaqqyO8.js} +2 -2
  213. package/dist/cli/seed-ByLneY1H.js +1 -0
  214. package/dist/cli/{shared-PrvYREVy.js → shared-p6sxli_5.js} +1 -1
  215. package/dist/cli/{snapshot-UfJsqfys.js → snapshot-Dd_8B9g-.js} +3 -3
  216. package/dist/cli/{source-F3YTVvFo.js → source-BYvVe_Es.js} +1 -1
  217. package/dist/cli/{source-args-DJMrW_jW.js → source-args-Bz5QQne2.js} +1 -1
  218. package/dist/cli/{spec-DsLQuJKp.js → spec-BxQgllJY.js} +2 -2
  219. package/dist/cli/{spec-HQOBVbEO.js → spec-liRzcZTa.js} +1 -1
  220. package/dist/cli/{sql-layout-CZ66pY8j.js → sql-layout-DHwiUOaD.js} +2 -2
  221. package/dist/cli/{sync-B12wbtFd.js → sync-CreQWj53.js} +4 -4
  222. package/dist/cli/{upgrade-AgUXFDo6.js → upgrade-3NQOUO1_.js} +5 -5
  223. package/dist/cli/{upgrade-C20z49De.js → upgrade-U7IKj45h.js} +2 -2
  224. package/dist/cli/{version-DEUWW8cv.js → version-mBwP-aMG.js} +1 -1
  225. package/dist/client/index.d.ts +6 -6
  226. package/dist/client/index.js +1 -1
  227. package/dist/client/native/index.d.ts +5 -5
  228. package/dist/client/native/index.js +1 -1
  229. package/dist/{client-BLor58Je.js → client-Bky2z09B.js} +1 -1
  230. package/dist/{cloud-event-bcaMqEbN.d.ts → cloud-event-DXWmXrus.d.ts} +1 -1
  231. package/dist/{compiler-CWishtY2.d.ts → compiler-qlXlokKn.d.ts} +2 -2
  232. package/dist/{composite-ClLWZIwX.d.ts → composite-CIxjVcL1.d.ts} +7 -7
  233. package/dist/{composite-BZMkWNOQ.js → composite-D2JnIiHt.js} +2 -2
  234. package/dist/config/index.d.ts +3 -3
  235. package/dist/config/index.js +2 -2
  236. package/dist/{config-BhExAhNK.js → config-Bu6pwqcO.js} +1 -1
  237. package/dist/{connectors-BImAu75R.d.ts → connectors-Cf2LeAuZ.d.ts} +4 -4
  238. package/dist/{context-DcxfrCml.d.ts → context-D7jICqdN.d.ts} +15 -3
  239. package/dist/contract/index.d.ts +16 -0
  240. package/dist/contract/index.js +0 -0
  241. package/dist/{controller-D_UJBaEU.d.ts → controller-DxtxeYdf.d.ts} +1 -1
  242. package/dist/{conversion-7U1WeLxK.d.ts → conversion-C9rndpEI.d.ts} +1 -1
  243. package/dist/create/index.d.ts +3 -3
  244. package/dist/create/index.js +1 -1
  245. package/dist/create/lite/index.d.ts +4 -4
  246. package/dist/create/lite/index.js +1 -1
  247. package/dist/credentials/index.d.ts +4 -4
  248. package/dist/{data-engine-B-D6bdyx.d.ts → data-engine-CMENsp3d.d.ts} +1 -1
  249. package/dist/{define-3RbqoF1S.d.ts → define-ITQA71fw.d.ts} +5 -5
  250. package/dist/{define-block-B_i9VPcc.d.ts → define-block-COmMkx2x.d.ts} +12 -12
  251. package/dist/{delegation-BRHHXERz.js → delegation-C2rLpkHO.js} +2 -7
  252. package/dist/{documents-6ov2gWh3.d.ts → documents-DeZw83ue.d.ts} +3 -3
  253. package/dist/edge/index.d.ts +13 -13
  254. package/dist/edge/index.js +9 -9
  255. package/dist/elysia/index.d.ts +1 -1
  256. package/dist/elysia/index.js +1 -1
  257. package/dist/{embeddings-K0lH--nt.d.ts → embeddings-rVR2AKVz.d.ts} +1 -1
  258. package/dist/{ended-CCoE7XXY.d.ts → ended-NC_ZesY4.d.ts} +2 -2
  259. package/dist/entitlements-Dydkg-TV.js +47 -0
  260. package/dist/{entitlements-XwpuBbKN.d.ts → entitlements-w04ivvAy.d.ts} +21 -3
  261. package/dist/{envelope-DAtaFJue.js → envelope-CapD-JtH.js} +3 -2
  262. package/dist/eve/index.d.ts +9 -9
  263. package/dist/eve/index.js +2 -2
  264. package/dist/{eve-Cf-QRGij.d.ts → eve-DIKjuPp5.d.ts} +2 -2
  265. package/dist/events/index.d.ts +3 -3
  266. package/dist/{events-CfDdOwqg.d.ts → events-DVt3Z9hw.d.ts} +1 -1
  267. package/dist/{executor-ynEwaUZy.d.ts → executor-CFmee_nV.d.ts} +1 -1
  268. package/dist/{executor-CAhykadW.d.ts → executor-CHnoKOxk.d.ts} +4 -4
  269. package/dist/{executor-CbDX34I9.d.ts → executor-DqNRrFxx.d.ts} +1 -1
  270. package/dist/expo/index.d.ts +4 -4
  271. package/dist/expo/index.js +3 -3
  272. package/dist/{extension-LgaDPMJs.js → extension-Z8Pe7fXA.js} +1 -1
  273. package/dist/{field-errors-tQr-anYL.d.ts → field-errors-DKCaSlZw.d.ts} +10 -10
  274. package/dist/{fields-AKKMirg_.d.ts → fields-CAVk9dxX.d.ts} +1 -1
  275. package/dist/{filter-evaluate-Bhq99aEN.d.ts → filter-evaluate-Bz3Fzhz2.d.ts} +1 -1
  276. package/dist/{filter-query-B7A4l2xn.d.ts → filter-query-DV-x8fio.d.ts} +1 -1
  277. package/dist/{flags-D0npSE-5.js → flags-0EXDD3Iz.js} +1 -1
  278. package/dist/{flags-B5B4mkZV.d.ts → flags-6emyAXly.d.ts} +2 -2
  279. package/dist/flags-sdk/index.d.ts +2 -2
  280. package/dist/flags-sdk/index.js +1 -1
  281. package/dist/{framework-CyDn_SXR.d.ts → framework-BFlaPuvv.d.ts} +8 -7
  282. package/dist/{framework-B1h-uquj.js → framework-ChzJYkJW.js} +3 -2
  283. package/dist/{gateway-Cg_MgGen.d.ts → gateway-DaekJ_Me.d.ts} +3 -3
  284. package/dist/h3/index.d.ts +1 -1
  285. package/dist/h3/index.js +1 -1
  286. package/dist/h3/v1/index.d.ts +1 -1
  287. package/dist/h3/v1/index.js +1 -1
  288. package/dist/hono/index.d.ts +14 -13
  289. package/dist/hono/index.js +9 -8
  290. package/dist/{inbox-BmSA9K01.d.ts → inbox-DavCzW7b.d.ts} +5 -5
  291. package/dist/{index-D2BGCjIz.d.ts → index-BIAtapnD.d.ts} +5 -5
  292. package/dist/{index-B2871MHr.d.ts → index-BZCmy767.d.ts} +5 -5
  293. package/dist/{index-B5_J-MaK.d.ts → index-BdC2IqkU.d.ts} +5 -5
  294. package/dist/{index-xCpjvDVm.d.ts → index-BgkHbf9C.d.ts} +14 -14
  295. package/dist/{index-CRrBZtKm.d.ts → index-BvcMQYL-.d.ts} +1 -1
  296. package/dist/index-CbUXFzQV.d.ts +107 -0
  297. package/dist/index-CiE37wKX.d.ts +289 -0
  298. package/dist/{index-lazpPVr0.d.ts → index-D18su_r5.d.ts} +3 -3
  299. package/dist/{index-D66_dYVi.d.ts → index-DU0UwWvL.d.ts} +4 -4
  300. package/dist/{index-CTpEQvIv.d.ts → index-Dvpu22CJ.d.ts} +1 -1
  301. package/dist/index-IKfbX_39.d.ts +23 -0
  302. package/dist/{index-DzBFdI9I.d.ts → index-M1izbwbN.d.ts} +1 -1
  303. package/dist/index.d.ts +6 -6
  304. package/dist/{kit-CVZDd1X9.js → kit-9pZP5iLU.js} +42 -11
  305. package/dist/{kit-CJKo0soh.d.ts → kit-OgFOW9rX.d.ts} +4 -4
  306. package/dist/{knowledge-BUwbpS8I.d.ts → knowledge-BBC2sfAY.d.ts} +5 -5
  307. package/dist/lint/index.d.ts +1 -1
  308. package/dist/lint/index.js +1 -1
  309. package/dist/list/index.d.ts +3 -3
  310. package/dist/{list-query-CZ-K5aHX.d.ts → list-query-C7V8kUaD.d.ts} +3 -3
  311. package/dist/mapper/bin.js +6 -6
  312. package/dist/mcp/index.d.ts +4 -289
  313. package/dist/mcp/index.js +52 -18
  314. package/dist/mcp/sdk/index.d.ts +6 -6
  315. package/dist/mcp/sdk/index.js +2 -2
  316. package/dist/{messaging-DMhtGxVv.d.ts → messaging-D5z2TR37.d.ts} +4 -4
  317. package/dist/nestjs/index.d.ts +2 -2
  318. package/dist/nestjs/index.js +1 -1
  319. package/dist/next/client/index.d.ts +1 -1
  320. package/dist/next/index.d.ts +28 -26
  321. package/dist/next/index.js +11 -10
  322. package/dist/node/index.d.ts +2 -2
  323. package/dist/node/index.js +1 -1
  324. package/dist/{operations-D51ONRvR.d.ts → operations-CsCwruKT.d.ts} +1 -1
  325. package/dist/orpc/index.d.ts +8 -8
  326. package/dist/orpc/index.js +8 -8
  327. package/dist/otel/index.d.ts +2 -2
  328. package/dist/otel/index.js +4 -4
  329. package/dist/{outbox-C44Aa94K.d.ts → outbox-7zgh-7nw.d.ts} +4 -4
  330. package/dist/{permissions-B9aZZ9LR.js → permissions-BDt27oYF.js} +19 -14
  331. package/dist/permissions-BP593xxk.d.ts +44 -0
  332. package/dist/{pool-Bji4lnQM.d.ts → pool-D-4HyhuW.d.ts} +3 -3
  333. package/dist/{ports-zFqRNXVJ.d.ts → ports-BVLhLUvR.d.ts} +1 -1
  334. package/dist/{ports-C-hdygkZ.js → ports-CmEXVqhg.js} +1 -1
  335. package/dist/postgres/index.d.ts +4 -4
  336. package/dist/{postgrest-2WjRrtmX.d.ts → postgrest-DZtM2nIS.d.ts} +1 -1
  337. package/dist/powersync/index.d.ts +6 -6
  338. package/dist/preset/index.d.ts +3 -3
  339. package/dist/{project-oNHntJ6T.js → project-D4ArwcS5.js} +2 -2
  340. package/dist/{provider-CH8McX3b.d.ts → provider-BI0KC4u5.d.ts} +1 -1
  341. package/dist/{push-token-a3Ev1U3L.d.ts → push-token-B0j171on.d.ts} +1 -1
  342. package/dist/query/index.d.ts +1 -1
  343. package/dist/react/index.d.ts +8 -8
  344. package/dist/react/index.js +3 -3
  345. package/dist/react/native/index.d.ts +1 -1
  346. package/dist/react/native/index.js +1 -1
  347. package/dist/react/server.d.ts +8 -8
  348. package/dist/react/server.js +3 -3
  349. package/dist/react/session.d.ts +2 -2
  350. package/dist/{react-C40oomj7.js → react-COIov1yC.js} +1 -1
  351. package/dist/react-router/index.d.ts +6 -7
  352. package/dist/react-router/index.js +6 -6
  353. package/dist/realtime/index.d.ts +6 -6
  354. package/dist/realtime/index.js +1 -1
  355. package/dist/{record-form-DCIui2Ol.d.ts → record-form-DU2EoVsv.d.ts} +1 -1
  356. package/dist/{recordings-Dlpq8jUG.d.ts → recordings-D69Va7gP.d.ts} +1 -1
  357. package/dist/records/index.d.ts +9 -9
  358. package/dist/{refresh-BK9epzeC.d.ts → refresh-BtbC2rZe.d.ts} +1 -1
  359. package/dist/{refusal-DhX7Xpfp.js → refusal-5c6UMpUP.js} +3 -3
  360. package/dist/{refusal-DEuFVi4s.d.ts → refusal-CGi-0Q18.d.ts} +3 -3
  361. package/dist/{resolve-DVOtYTAc.d.ts → resolve--LfVoOMg.d.ts} +1 -1
  362. package/dist/{resource-Cn6Bn-_o.js → resource-BbWk4hoP.js} +59 -15
  363. package/dist/{resource-BfsTJnxZ.d.ts → resource-DWllVW8k.d.ts} +6 -1
  364. package/dist/{resource-execute-DQRS7PFt.d.ts → resource-execute-DUBYKTYU.d.ts} +2 -2
  365. package/dist/{resource-types-DF6KDAZM.d.ts → resource-types-RgaljPs0.d.ts} +4 -4
  366. package/dist/{resources-CeY53FiJ.d.ts → resources-Bki1J4jy.d.ts} +2 -2
  367. package/dist/{resources-B0Vy7_wv.js → resources-DYSx9NYM.js} +1 -1
  368. package/dist/{respond-CkwkvFdZ.d.ts → respond-BYOV7KZp.d.ts} +1 -1
  369. package/dist/{respond-C2qvP1wv.js → respond-DLH4tD2d.js} +1 -1
  370. package/dist/{sales-lines-Bde9cV5F.d.ts → sales-lines-DuNVoKHA.d.ts} +1 -1
  371. package/dist/{sandboxes-DDWuD9fh.d.ts → sandboxes-B2hBoBvJ.d.ts} +1 -1
  372. package/dist/{scores-Bql-ABl0.d.ts → scores-FAORS4qU.d.ts} +5 -5
  373. package/dist/server/index.d.ts +31 -28
  374. package/dist/server/index.js +15 -11
  375. package/dist/{server-types-C3p3jUqr.d.ts → server-types-C2hlvhP4.d.ts} +39 -101
  376. package/dist/{session-BOch2y2z.d.ts → session-B4VasaAA.d.ts} +6 -6
  377. package/dist/{session-status-DRBRnZHx.d.ts → session-status-D8CBxCqv.d.ts} +2 -2
  378. package/dist/{sign-in-BmigClRh.js → sign-in-BMm1xhKq.js} +1 -1
  379. package/dist/{sign-in-Dxyi4aKu.d.ts → sign-in-CX1a5i2P.d.ts} +3 -34
  380. package/dist/{sign-in-CXOg2Dwb.js → sign-in-CxdoTEp5.js} +2 -2
  381. package/dist/{signers-Cz5ZhTHH.d.ts → signers-6ih6i9aq.d.ts} +4 -4
  382. package/dist/{signing-keys-DS-rIVzz.d.ts → signing-keys-De09WNJ3.d.ts} +2 -2
  383. package/dist/snapshot-BGsJw9xn.d.ts +83 -0
  384. package/dist/{view-YnesSUEa.js → snapshot-CVMSyTHH.js} +3 -109
  385. package/dist/solid/index.d.ts +10 -10
  386. package/dist/solid/index.js +1 -1
  387. package/dist/solid-start/index.d.ts +6 -7
  388. package/dist/solid-start/index.js +5 -5
  389. package/dist/spec/index.d.ts +2 -2
  390. package/dist/sql/index.d.ts +6 -5
  391. package/dist/sql/index.js +2 -2
  392. package/dist/{sql-BPV51R3A.js → sql-DiUP7fKX.js} +162 -77
  393. package/dist/sqlite/index.d.ts +3 -3
  394. package/dist/{sso-BEvNf1oW.d.ts → sso-CuzAjsc8.d.ts} +3 -3
  395. package/dist/ssr/index.d.ts +5 -5
  396. package/dist/ssr/index.js +1 -1
  397. package/dist/storage/index.d.ts +3 -3
  398. package/dist/storage/index.js +1 -1
  399. package/dist/streams/index.d.ts +1 -1
  400. package/dist/{subject-readers-DWkVSbFr.d.ts → subject-readers-BlD8tALG.d.ts} +2 -2
  401. package/dist/{subjects-vci6Wufh.d.ts → subjects-Bv2dPflD.d.ts} +3 -3
  402. package/dist/{support-rZbdU35s.d.ts → support-DxYI6sDM.d.ts} +4 -4
  403. package/dist/{support-view-WY4Y-A40.d.ts → support-view-DSmCett7.d.ts} +1 -1
  404. package/dist/svelte/index.d.ts +9 -9
  405. package/dist/svelte/index.js +1 -1
  406. package/dist/sveltekit/index.d.ts +7 -8
  407. package/dist/sveltekit/index.js +5 -5
  408. package/dist/{tags-BVLELhOf.d.ts → tags--k2fbPfO.d.ts} +1 -1
  409. package/dist/tanstack-db/index.d.ts +3 -3
  410. package/dist/tanstack-start/index.d.ts +6 -7
  411. package/dist/tanstack-start/index.js +5 -5
  412. package/dist/{tenant-RKvGBB-U.d.ts → tenant-B3IIq8Eq.d.ts} +4 -5
  413. package/dist/tenant-Beqd7TTq.js +48 -0
  414. package/dist/testing/index.d.ts +71 -32
  415. package/dist/testing/index.js +136 -16
  416. package/dist/{timeline-Ck8OFuAN.d.ts → timeline-Bq658xsi.d.ts} +5 -5
  417. package/dist/{topic-Dr8VYE4D.d.ts → topic-D2MyBeaI.d.ts} +5 -5
  418. package/dist/{topic-BBBCVLyS.js → topic-k17VvXRj.js} +1 -1
  419. package/dist/{types-Pv5WPfIC.d.ts → types-BBqP9H6w.d.ts} +4 -4
  420. package/dist/{types-CCmW3MqI.d.ts → types-BFEKRmEK.d.ts} +2 -2
  421. package/dist/{types-WZUVlTXs.d.ts → types-BkYEUWdz.d.ts} +189 -1
  422. package/dist/{types-D9FY9qSJ.d.ts → types-C8UyJOPJ.d.ts} +3 -3
  423. package/dist/{types-CvlJNzX4.d.ts → types-DCoqai8o.d.ts} +4 -4
  424. package/dist/{types-DWZubmwk.d.ts → types-Dh2OGEW5.d.ts} +10 -10
  425. package/dist/{types-BiedVwz_.d.ts → types-TH3zlMiM.d.ts} +1 -1
  426. package/dist/{types-CL-z0A4K.d.ts → types-d0JBRTAg.d.ts} +7 -7
  427. package/dist/{undo-BdoEJ6Ot.d.ts → undo-22ofP6Zp.d.ts} +2 -2
  428. package/dist/{usage-D27Uw426.d.ts → usage-CNCT6_3D.d.ts} +4 -4
  429. package/dist/{vault-Dx0LaNMX.d.ts → vault-yGQD5Rdl.d.ts} +2 -2
  430. package/dist/vercel-connect/index.d.ts +1 -1
  431. package/dist/vercel-sandbox/index.d.ts +2 -2
  432. package/dist/{verify-DnL0Fgu0.d.ts → verify-BQu3eBNW.d.ts} +2 -2
  433. package/dist/view-BfEqjZJ_.js +117 -0
  434. package/dist/{view-DmEZA1fL.d.ts → view-Cy2XxYp1.d.ts} +14 -2
  435. package/dist/vue/index.d.ts +10 -10
  436. package/dist/vue/index.js +1 -1
  437. package/dist/{watch-topic-BB7T05sc.d.ts → watch-topic-q6krNw0T.d.ts} +1 -1
  438. package/dist/workflow-sdk/builder/index.d.ts +3 -3
  439. package/dist/workflow-sdk/builder/index.js +1 -1
  440. package/dist/workflow-sdk/index.d.ts +1 -1
  441. package/dist/workflow-sdk/index.js +1 -1
  442. package/dist/workflow-sdk/world/index.d.ts +1 -1
  443. package/dist/{workflow-sdk-D5zRSwxh.js → workflow-sdk-q2jnEaAJ.js} +2 -2
  444. package/dist/{workflow-sdk-DMpVSMB7.d.ts → workflow-sdk-yIkECybp.d.ts} +3 -3
  445. package/dist/{workflows-DKTw2PZo.d.ts → workflows-BljkWRxE.d.ts} +3 -3
  446. package/dist/yjs/index.d.ts +2 -2
  447. package/dist/yjs/index.js +1 -1
  448. package/package.json +12 -1
  449. package/schemas/config-v1.json +3 -0
  450. package/schemas/doctor-report-v1.json +1 -0
  451. package/dist/authorizer-AswD5q6g.d.ts +0 -116
  452. package/dist/cli/add-DlYL-1mF.js +0 -1
  453. package/dist/cli/powersync-DfeGl5N1.js +0 -1
  454. package/dist/cli/seed-BIB6-WPa.js +0 -1
  455. package/dist/tenant-BR7fvPj7.js +0 -26
@@ -1,6 +1,6 @@
1
1
  import { c as runsWithInvalidConfig, d as DOCS_ORIGIN, f as GROUPS, g as runCommand, h as parseArgs$2, i as joinRepeated, l as COMMANDS, o as listArgs, p as RESERVED_NAMES, s as readsLegacyTables, t as GLOBAL_ARGS } from "./command-BpZ4AuhR.js";
2
2
  import { n as highlight, r as painter } from "./style-B5-nByxb.js";
3
- import { t as VERSION } from "./version-DEUWW8cv.js";
3
+ import { t as VERSION } from "./version-mBwP-aMG.js";
4
4
  import { n as CliError, o as toCliError } from "./errors-DcJ_PayO.js";
5
5
  import { a as missingInputNext, o as resolveAgent, t as checkConsent } from "./agent-59XWXsRi.js";
6
6
  import { a as globalFlags, c as resolveCommand, i as commandTree, n as closestName, o as isVariadic, r as commandArgs, t as checkArgs } from "./parse-BueItuNJ.js";
@@ -16,41 +16,41 @@ import { resolve } from "node:path";
16
16
  * loads on demand, so `--version` and `--help` import no command.
17
17
  */
18
18
  const LOADERS = [
19
- ["init", () => import("./init-CaDDt8F6.js").then((m) => m.initCommand)],
20
- ["add", () => import("./add-DlYL-1mF.js").then((m) => m.addCommand)],
21
- ["remove", () => import("./remove-BpfYqP45.js").then((m) => m.removeCommand)],
22
- ["upgrade", () => import("./upgrade-C20z49De.js").then((m) => m.upgradeCommand)],
19
+ ["init", () => import("./init-C30xdMSs.js").then((m) => m.initCommand)],
20
+ ["add", () => import("./add-BaOCKKt6.js").then((m) => m.addCommand)],
21
+ ["remove", () => import("./remove-DEEQDoc7.js").then((m) => m.removeCommand)],
22
+ ["upgrade", () => import("./upgrade-U7IKj45h.js").then((m) => m.upgradeCommand)],
23
23
  ["table", () => import("./table-D9FbJS8h.js").then((m) => m.tableCommand)],
24
- ["migrate schema-first", () => import("./migrate-DHG2Qz_K.js").then((m) => m.migrateSchemaFirstCommand)],
25
- ["gen", () => import("./gen-BN_eh6rE.js").then((m) => m.genCommand)],
26
- ["doctor", () => import("./doctor-BKZsztFV.js").then((m) => m.doctorCommand)],
27
- ["db query", () => import("./db-dFzhcozO.js").then((m) => m.dbQueryCommand)],
28
- ["db diff", () => import("./db-dFzhcozO.js").then((m) => m.dbDiffCommand)],
29
- ["db seed", () => import("./seed-BIB6-WPa.js").then((m) => m.seedCommand)],
30
- ["db backfill", () => import("./backfill-Dq2XMXf9.js").then((m) => m.dbBackfillCommand)],
31
- ["db prune-workflows", () => import("./prune-workflows-DcNJUS1m.js").then((m) => m.dbPruneWorkflowsCommand)],
24
+ ["migrate schema-first", () => import("./migrate-ockrh3UX.js").then((m) => m.migrateSchemaFirstCommand)],
25
+ ["gen", () => import("./gen-BbeS0KgF.js").then((m) => m.genCommand)],
26
+ ["doctor", () => import("./doctor-Dn4TzGmw.js").then((m) => m.doctorCommand)],
27
+ ["db query", () => import("./db-Diy1OebO.js").then((m) => m.dbQueryCommand)],
28
+ ["db diff", () => import("./db-Diy1OebO.js").then((m) => m.dbDiffCommand)],
29
+ ["db seed", () => import("./seed-ByLneY1H.js").then((m) => m.seedCommand)],
30
+ ["db backfill", () => import("./backfill-B1xAsdL4.js").then((m) => m.dbBackfillCommand)],
31
+ ["db prune-workflows", () => import("./prune-workflows-Ddv-GfkO.js").then((m) => m.dbPruneWorkflowsCommand)],
32
32
  ["dev env", () => import("./env-UN6PJFX6.js").then((m) => m.envCommand)],
33
33
  ["dev run", () => import("./run-dY9uOC3W.js").then((m) => m.runCommand)],
34
34
  ["dev keys", () => import("./keys-CxajkV_7.js").then((m) => m.keysCommand)],
35
35
  ["dev stack ls", () => import("./stack-147NqctC.js").then((m) => m.stackLsCommand)],
36
36
  ["dev stack prune", () => import("./stack-147NqctC.js").then((m) => m.stackPruneCommand)],
37
- ["blocks list", () => import("./blocks-DVhJOzFj.js").then((m) => m.blocksListCommand)],
38
- ["blocks view", () => import("./blocks-DVhJOzFj.js").then((m) => m.blocksViewCommand)],
39
- ["blocks search", () => import("./blocks-DVhJOzFj.js").then((m) => m.blocksSearchCommand)],
40
- ["powersync streams", () => import("./powersync-DfeGl5N1.js").then((m) => m.powersyncStreamsCommand)],
41
- ["spec emit", () => import("./spec-HQOBVbEO.js").then((m) => m.specEmitCommand)],
42
- ["spec validate", () => import("./spec-HQOBVbEO.js").then((m) => m.specValidateCommand)],
43
- ["mcp", () => import("./mcp-C_m-TpLJ.js").then((m) => m.mcpCommand)],
37
+ ["blocks list", () => import("./blocks-DtZtn-R4.js").then((m) => m.blocksListCommand)],
38
+ ["blocks view", () => import("./blocks-DtZtn-R4.js").then((m) => m.blocksViewCommand)],
39
+ ["blocks search", () => import("./blocks-DtZtn-R4.js").then((m) => m.blocksSearchCommand)],
40
+ ["powersync streams", () => import("./powersync-CmsXOuui.js").then((m) => m.powersyncStreamsCommand)],
41
+ ["spec emit", () => import("./spec-liRzcZTa.js").then((m) => m.specEmitCommand)],
42
+ ["spec validate", () => import("./spec-liRzcZTa.js").then((m) => m.specValidateCommand)],
43
+ ["mcp", () => import("./mcp-5J0kUOtD.js").then((m) => m.mcpCommand)],
44
44
  ["skills list", () => import("./skills-jZThjL3B.js").then((m) => m.skillsListCommand)],
45
45
  ["skills install", () => import("./skills-jZThjL3B.js").then((m) => m.skillsInstallCommand)],
46
- ["codemod 0.4", () => import("./codemod-pyf6HmS9.js").then((m) => m.codemodCommand("0.4"))],
47
- ["codemod 0.5", () => import("./codemod-pyf6HmS9.js").then((m) => m.codemodCommand("0.5"))],
48
- ["codemod 0.6", () => import("./codemod-pyf6HmS9.js").then((m) => m.codemodCommand("0.6"))],
49
- ["codemod 0.9", () => import("./codemod-pyf6HmS9.js").then((m) => m.codemodCommand("0.9"))],
50
- ["codemod 0.11", () => import("./codemod-pyf6HmS9.js").then((m) => m.codemodCommand("0.11"))],
51
- ["codemod 0.15", () => import("./codemod-pyf6HmS9.js").then((m) => m.codemodCommand("0.15"))],
52
- ["codemod 0.29", () => import("./codemod-pyf6HmS9.js").then((m) => m.codemodCommand("0.29"))],
53
- ["codemod 0.32", () => import("./codemod-pyf6HmS9.js").then((m) => m.codemodCommand("0.32"))],
46
+ ["codemod 0.4", () => import("./codemod-DYbVbJ-e.js").then((m) => m.codemodCommand("0.4"))],
47
+ ["codemod 0.5", () => import("./codemod-DYbVbJ-e.js").then((m) => m.codemodCommand("0.5"))],
48
+ ["codemod 0.6", () => import("./codemod-DYbVbJ-e.js").then((m) => m.codemodCommand("0.6"))],
49
+ ["codemod 0.9", () => import("./codemod-DYbVbJ-e.js").then((m) => m.codemodCommand("0.9"))],
50
+ ["codemod 0.11", () => import("./codemod-DYbVbJ-e.js").then((m) => m.codemodCommand("0.11"))],
51
+ ["codemod 0.15", () => import("./codemod-DYbVbJ-e.js").then((m) => m.codemodCommand("0.15"))],
52
+ ["codemod 0.29", () => import("./codemod-DYbVbJ-e.js").then((m) => m.codemodCommand("0.29"))],
53
+ ["codemod 0.32", () => import("./codemod-DYbVbJ-e.js").then((m) => m.codemodCommand("0.32"))],
54
54
  ["completion", () => import("./completion-B08Q0xB3.js").then((m) => m.completionCommand)],
55
55
  ["config", () => import("./config-D-Upz3jV.js").then((m) => m.configCommand)]
56
56
  ];
@@ -596,7 +596,7 @@ function cliFromTree(init, extra = {}) {
596
596
  try {
597
597
  const [loaded, { defaultConfig, discoverConfig, loadConfig }, { configEnvironment, isCi, parseEnv }] = await Promise.all([
598
598
  node.load(),
599
- import("./config-D0m2rQqk.js"),
599
+ import("./config-CrwCec-B.js"),
600
600
  import("./env-D70ihdbB.js")
601
601
  ]);
602
602
  command = loaded;
@@ -1,11 +1,11 @@
1
1
  import { m as commandMeta, r as defineCliCommand } from "./command-BpZ4AuhR.js";
2
2
  import { i as isLocalDatabaseUrl, r as databaseHost } from "./agent-59XWXsRi.js";
3
3
  import { t as display } from "./io-CQzy8PEZ.js";
4
- import { l as stdinDatabaseUrl, n as databaseUrl, o as importExport } from "./config-Dyl3iX3u.js";
4
+ import { l as stdinDatabaseUrl, n as databaseUrl, o as importExport } from "./config-DrrkMihk.js";
5
5
  import { m as supabaseDir } from "./supabase-toml-B6-eEV5p.js";
6
6
  import { t as connect } from "./db-B8zfxjl2.js";
7
7
  import { c as insideRoot, i as changeLines, n as PLAN_ARGS, r as applyPlan, s as hasConflicts, u as planResult } from "./files-DQayErI8.js";
8
- import { r as STACK_ARG, t as DB_URL_STDIN_ARG } from "./source-args-DJMrW_jW.js";
8
+ import { r as STACK_ARG, t as DB_URL_STDIN_ARG } from "./source-args-Bz5QQne2.js";
9
9
  import { existsSync } from "node:fs";
10
10
  import { resolve } from "node:path";
11
11
  import { readFile } from "node:fs/promises";
@@ -0,0 +1 @@
1
+ export { n as seedCommand } from "./seed-BpaqqyO8.js";
@@ -1,4 +1,4 @@
1
- import { a as toCatalog } from "./source-F3YTVvFo.js";
1
+ import { a as toCatalog } from "./source-BYvVe_Es.js";
2
2
  import { h as tomlGet, p as sqlWorkflow, r as detectWorkflow } from "./supabase-toml-B6-eEV5p.js";
3
3
  // src/cli/doctor/shared.ts
4
4
  const catalogs = /* @__PURE__ */ new WeakMap();
@@ -1,8 +1,8 @@
1
1
  import { n as CliError, r as errorText } from "./errors-DcJ_PayO.js";
2
- import { d as readExtras, l as TYPEGEN_VERSION, r as cachedIntrospect } from "./cache-CoC-1i1O.js";
2
+ import { d as readExtras, l as TYPEGEN_VERSION, r as cachedIntrospect } from "./cache-CvBRwv02.js";
3
3
  import { t as byCodePoint } from "./compare-yl4sSwVn.js";
4
- import { n as managementSource, r as pgSource } from "./source-F3YTVvFo.js";
5
- import { n as databaseUrl, u as accessToken } from "./config-Dyl3iX3u.js";
4
+ import { n as managementSource, r as pgSource } from "./source-BYvVe_Es.js";
5
+ import { n as databaseUrl, u as accessToken } from "./config-DrrkMihk.js";
6
6
  import { d as readSupabaseToml, f as schemaPaths, h as tomlGet, u as pgFunctionHooks } from "./supabase-toml-B6-eEV5p.js";
7
7
  import { t as connect } from "./db-B8zfxjl2.js";
8
8
  import { existsSync } from "node:fs";
@@ -1,4 +1,4 @@
1
- import { t as VERSION } from "./version-DEUWW8cv.js";
1
+ import { t as VERSION } from "./version-mBwP-aMG.js";
2
2
  import { n as CliError } from "./errors-DcJ_PayO.js";
3
3
  import { r as redactUrl } from "./redact--zOGdWzo.js";
4
4
  import { n as HTTP_CHANNEL } from "./trace-D3TNqWBg.js";
@@ -1,5 +1,5 @@
1
1
  import { n as CliError } from "./errors-DcJ_PayO.js";
2
- import { l as stdinDatabaseUrl } from "./config-Dyl3iX3u.js";
2
+ import { l as stdinDatabaseUrl } from "./config-DrrkMihk.js";
3
3
  // src/cli/commands/source-args.ts
4
4
  /**
5
5
  * The connection string from stdin, for commands that connect but read no
@@ -1,9 +1,9 @@
1
1
  import { n as __require, t as __commonJSMin } from "./rolldown-runtime-DegdyBIC.js";
2
2
  import { m as commandMeta, r as defineCliCommand } from "./command-BpZ4AuhR.js";
3
- import { t as VERSION } from "./version-DEUWW8cv.js";
3
+ import { t as VERSION } from "./version-mBwP-aMG.js";
4
4
  import { i as failedResult, n as CliError, r as errorText } from "./errors-DcJ_PayO.js";
5
5
  import { t as display } from "./io-CQzy8PEZ.js";
6
- import { c as writeAtomic, t as CACHE_DIR } from "./cache-CoC-1i1O.js";
6
+ import { c as writeAtomic, t as CACHE_DIR } from "./cache-CvBRwv02.js";
7
7
  import { t as isRecord } from "./guards-DxwRG0Uv.js";
8
8
  import { t as importFresh } from "./fresh-import-CdO2oQaQ.js";
9
9
  import { a as changedFiles, i as changeLines, r as applyPlan } from "./files-DQayErI8.js";
@@ -1 +1 @@
1
- export { n as specEmitCommand, i as specValidateCommand } from "./spec-DsLQuJKp.js";
1
+ export { n as specEmitCommand, i as specValidateCommand } from "./spec-BxQgllJY.js";
@@ -1,5 +1,5 @@
1
- import { d as TypegenMissingError, i as parseSnapshot } from "./snapshot-UfJsqfys.js";
2
- import { a as toCatalog } from "./source-F3YTVvFo.js";
1
+ import { d as TypegenMissingError, i as parseSnapshot } from "./snapshot-Dd_8B9g-.js";
2
+ import { a as toCatalog } from "./source-BYvVe_Es.js";
3
3
  import { d as readSupabaseToml, f as schemaPaths, n as declarativeSchemasDir, p as sqlWorkflow } from "./supabase-toml-B6-eEV5p.js";
4
4
  import { existsSync } from "node:fs";
5
5
  import { dirname, join, relative, resolve, sep } from "node:path";
@@ -1,11 +1,11 @@
1
1
  import { n as CliError } from "./errors-DcJ_PayO.js";
2
2
  import { t as display } from "./io-CQzy8PEZ.js";
3
- import { r as layoutFor } from "./providers-DpfoF3VC.js";
4
3
  import { d as readSupabaseToml, f as schemaPaths, h as tomlGet, i as diffEngine, l as migrationCommand, o as findSupabaseRoot, p as sqlWorkflow, t as PGDELTA_TABLE } from "./supabase-toml-B6-eEV5p.js";
5
4
  import { d as fileDiff, i as changeLines, l as keepHandEdit, o as handEditedError, r as applyPlan, t as HAND_EDITED, u as planResult } from "./files-DQayErI8.js";
6
- import { a as sqlPlan, n as migrationsDir } from "./sql-layout-CZ66pY8j.js";
7
- import { a as writeExtensionsMigration, t as DATA_NEXT } from "./migrations-O1QZoMiH.js";
8
- import { c as sameModuleMigration, l as writeLatestMigration, r as latestMigration, s as renderModuleMigration, t as MODULES_SUFFIX, u as writesMigrations } from "./module-migration-DB9ntWM-.js";
5
+ import { a as sqlPlan, n as migrationsDir } from "./sql-layout-DHwiUOaD.js";
6
+ import { r as layoutFor } from "./providers-k-1cEna6.js";
7
+ import { a as writeExtensionsMigration, t as DATA_NEXT } from "./migrations-CZTg2UJM.js";
8
+ import { c as sameModuleMigration, l as writeLatestMigration, r as latestMigration, s as renderModuleMigration, t as MODULES_SUFFIX, u as writesMigrations } from "./module-migration-BptQzmj2.js";
9
9
  import { t as loadTopics } from "./topics-Cdg0V7Tt.js";
10
10
  import { t as orphanedBlockFiles } from "./orphans-CPcR85QN.js";
11
11
  import { dirname, join, resolve } from "node:path";
@@ -1,10 +1,10 @@
1
1
  import { t as display } from "./io-CQzy8PEZ.js";
2
- import { r as layoutFor } from "./providers-DpfoF3VC.js";
3
2
  import { d as fileDiff, i as changeLines, r as applyPlan } from "./files-DQayErI8.js";
4
- import { a as sqlPlan, n as migrationsDir } from "./sql-layout-CZ66pY8j.js";
5
- import { r as migrationStamp } from "./migrations-O1QZoMiH.js";
6
- import { a as migrationInstances, c as sameModuleMigration, o as migrationModules, r as latestMigration, s as renderModuleMigration, t as MODULES_SUFFIX, u as writesMigrations } from "./module-migration-DB9ntWM-.js";
7
- import { a as write, o as topicPolicyFile, r as nextStep } from "./sync-B12wbtFd.js";
3
+ import { a as sqlPlan, n as migrationsDir } from "./sql-layout-DHwiUOaD.js";
4
+ import { r as layoutFor } from "./providers-k-1cEna6.js";
5
+ import { r as migrationStamp } from "./migrations-CZTg2UJM.js";
6
+ import { a as migrationInstances, c as sameModuleMigration, o as migrationModules, r as latestMigration, s as renderModuleMigration, t as MODULES_SUFFIX, u as writesMigrations } from "./module-migration-BptQzmj2.js";
7
+ import { a as write, o as topicPolicyFile, r as nextStep } from "./sync-CreQWj53.js";
8
8
  import { a as legacyPrefixSql, i as legacyPrefixNames, r as legacyBlocksTableSql } from "./legacy-prefix-D8Jfku6I.js";
9
9
  import { resolve } from "node:path";
10
10
  import { readFile } from "node:fs/promises";
@@ -1,8 +1,8 @@
1
1
  import { m as commandMeta, r as defineCliCommand } from "./command-BpZ4AuhR.js";
2
2
  import { i as plain } from "./style-B5-nByxb.js";
3
- import { t as syncModules } from "./sync-B12wbtFd.js";
3
+ import { t as syncModules } from "./sync-CreQWj53.js";
4
4
  import { t as SQL_ARGS } from "./args-_ZVgRBkx.js";
5
- import { t as upgrade } from "./upgrade-AgUXFDo6.js";
5
+ import { t as upgrade } from "./upgrade-3NQOUO1_.js";
6
6
  // src/cli/commands/upgrade.ts
7
7
  const UPGRADE_ARGS = {
8
8
  check: {
@@ -1,3 +1,3 @@
1
1
  // src/cli/version.ts
2
- const VERSION = "0.32.0";
2
+ const VERSION = "0.33.0";
3
3
  export { VERSION as t };
@@ -1,8 +1,8 @@
1
- import { a as DataSync, c as LocalTablesOption, i as DataEntry, l as liveEngine, n as DataEngine, o as DataSyncState, r as DataEngineOptions, s as LiveEngineOptions, t as DataChanges, u as memoryEngine } from "../data-engine-B-D6bdyx.js";
2
- import { n as TopicPort, r as TopicWatch, t as TopicHandle } from "../watch-topic-BB7T05sc.js";
3
- import { a as PickFilesOptions, c as Shortcut, d as UploadPort, f as memoryStorage, i as KeyboardPort, l as StoragePort, n as DeepLinkPort, o as PickedFile, p as storageUpload, r as FilePickerPort, s as PushTokenPort, t as ClientPorts, u as UploadDestination } from "../ports-zFqRNXVJ.js";
4
- import { a as ClientAuth, i as BindClientOptions, n as AuthUser, o as bindClient, r as BetterClient, t as AuthSnapshot } from "../bind-8LYVJE5W.js";
5
- import { a as defineController, i as ControllerState, n as Controller, o as whileSignedIn, r as ControllerParts, t as AuthPort } from "../controller-D_UJBaEU.js";
1
+ import { a as DataSync, c as LocalTablesOption, i as DataEntry, l as liveEngine, n as DataEngine, o as DataSyncState, r as DataEngineOptions, s as LiveEngineOptions, t as DataChanges, u as memoryEngine } from "../data-engine-CMENsp3d.js";
2
+ import { n as TopicPort, r as TopicWatch, t as TopicHandle } from "../watch-topic-q6krNw0T.js";
3
+ import { a as PickFilesOptions, c as Shortcut, d as UploadPort, f as memoryStorage, i as KeyboardPort, l as StoragePort, n as DeepLinkPort, o as PickedFile, p as storageUpload, r as FilePickerPort, s as PushTokenPort, t as ClientPorts, u as UploadDestination } from "../ports-BVLhLUvR.js";
4
+ import { a as ClientAuth, i as BindClientOptions, n as AuthUser, o as bindClient, r as BetterClient, t as AuthSnapshot } from "../bind-DP-KLgYI.js";
5
+ import { a as defineController, i as ControllerState, n as Controller, o as whileSignedIn, r as ControllerParts, t as AuthPort } from "../controller-DxtxeYdf.js";
6
6
  import { n as FunctionContract } from "../function-contract-DgDBYbXu.js";
7
- import { a as webDeepLinks, c as webPorts, d as FunctionContracts, f as FunctionsHost, h as functions, i as WebPushTokenOptions, l as webPushToken, m as TypedFunctions, n as createClient, o as webFilePicker, p as InvokeOptions, r as PushRegistrationLike, s as webKeyboard, t as ClientOptions, u as webStorage } from "../index-B5_J-MaK.js";
7
+ import { a as webDeepLinks, c as webPorts, d as FunctionContracts, f as FunctionsHost, h as functions, i as WebPushTokenOptions, l as webPushToken, m as TypedFunctions, n as createClient, o as webFilePicker, p as InvokeOptions, r as PushRegistrationLike, s as webKeyboard, t as ClientOptions, u as webStorage } from "../index-BdC2IqkU.js";
8
8
  export { type AuthPort, type AuthSnapshot, type AuthUser, type BetterClient, type BindClientOptions, type ClientAuth, ClientOptions, type ClientPorts, type Controller, type ControllerParts, type ControllerState, type DataChanges, type DataEngine, type DataEngineOptions, type DataEntry, type DataSync, type DataSyncState, type DeepLinkPort, type FilePickerPort, type FunctionContract, type FunctionContracts, type FunctionsHost, type InvokeOptions, type KeyboardPort, type LiveEngineOptions, type LocalTablesOption, type PickFilesOptions, type PickedFile, type PushRegistrationLike, type PushTokenPort, type Shortcut, type StoragePort, type TopicHandle, type TopicPort, type TopicWatch, type TypedFunctions, type UploadDestination, type UploadPort, type WebPushTokenOptions, bindClient, createClient, defineController, functions, liveEngine, memoryEngine, memoryStorage, storageUpload, webDeepLinks, webFilePicker, webKeyboard, webPorts, webPushToken, webStorage, whileSignedIn };
@@ -2,7 +2,7 @@ import { n as dbError } from "../errors-B7tCfCvX.js";
2
2
  import { a as ok, r as err, t as AsyncResult } from "../result-8xza7w5W.js";
3
3
  import { i as isProblem, r as fromProblem } from "../problem-C0SVHhd3.js";
4
4
  import { EnvValidationError, parseEnv } from "../env/index.js";
5
- import { n as storageUpload, r as bindClient, t as memoryStorage } from "../ports-C-hdygkZ.js";
5
+ import { n as storageUpload, r as bindClient, t as memoryStorage } from "../ports-CmEXVqhg.js";
6
6
  import { a as memoryEngine, n as liveEngine } from "../data-engine-BbqQwso_.js";
7
7
  import { n as whileSignedIn, t as defineController } from "../controller-BJmh7gFm.js";
8
8
  import { createBrowserClient } from "@supabase/ssr";
@@ -1,9 +1,9 @@
1
1
  import { t as AsyncResult } from "../../result-DTOQRyGY.js";
2
- import { T as UploadOptions, w as UploadBody } from "../../bucket-Clq5xINQ.js";
3
- import { n as TopicPort, r as TopicWatch, t as TopicHandle } from "../../watch-topic-BB7T05sc.js";
4
- import { a as PickFilesOptions, c as Shortcut, d as UploadPort, f as memoryStorage, i as KeyboardPort, l as StoragePort, n as DeepLinkPort, o as PickedFile, p as storageUpload, r as FilePickerPort, s as PushTokenPort, t as ClientPorts, u as UploadDestination } from "../../ports-zFqRNXVJ.js";
5
- import { a as ClientAuth, i as BindClientOptions, n as AuthUser, o as bindClient, r as BetterClient, t as AuthSnapshot } from "../../bind-8LYVJE5W.js";
6
- import { n as ExpoPushTokenOptions, r as expoPushToken, t as ExpoNotificationsLike } from "../../push-token-a3Ev1U3L.js";
2
+ import { T as UploadOptions, w as UploadBody } from "../../bucket-DvG66r5G.js";
3
+ import { n as TopicPort, r as TopicWatch, t as TopicHandle } from "../../watch-topic-q6krNw0T.js";
4
+ import { a as PickFilesOptions, c as Shortcut, d as UploadPort, f as memoryStorage, i as KeyboardPort, l as StoragePort, n as DeepLinkPort, o as PickedFile, p as storageUpload, r as FilePickerPort, s as PushTokenPort, t as ClientPorts, u as UploadDestination } from "../../ports-BVLhLUvR.js";
5
+ import { a as ClientAuth, i as BindClientOptions, n as AuthUser, o as bindClient, r as BetterClient, t as AuthSnapshot } from "../../bind-DP-KLgYI.js";
6
+ import { n as ExpoPushTokenOptions, r as expoPushToken, t as ExpoNotificationsLike } from "../../push-token-B0j171on.js";
7
7
  import { a as OAuthSignInOptions, c as linkParams, i as OAuthClient, l as signInWithOAuthBrowser, n as AuthLinkClient, o as WebBrowserLike, r as AuthLinkResult, s as handleAuthDeepLink, t as AuthFailure } from "../../auth-link-DRjtI1Ky.js";
8
8
  import { SupabaseClient } from "@supabase/supabase-js";
9
9
  /** The part of React Native's `AppState` that `autoRefreshOnForeground` uses. */
@@ -1,7 +1,7 @@
1
1
  import { n as dbError } from "../../errors-B7tCfCvX.js";
2
2
  import { r as err, s as toDbError, t as AsyncResult } from "../../result-8xza7w5W.js";
3
3
  import { i as toBase64, r as fromBase64 } from "../../base64-CVyKHBBw.js";
4
- import { n as storageUpload, r as bindClient, t as memoryStorage } from "../../ports-C-hdygkZ.js";
4
+ import { n as storageUpload, r as bindClient, t as memoryStorage } from "../../ports-CmEXVqhg.js";
5
5
  import { n as linkParams, r as signInWithOAuthBrowser, t as handleAuthDeepLink } from "../../auth-link-BmJsQG4a.js";
6
6
  import { t as expoPushToken } from "../../push-token-CO28k46S.js";
7
7
  // src/client/native/auto-refresh.ts
@@ -1,5 +1,5 @@
1
1
  import { n as dbError } from "./errors-B7tCfCvX.js";
2
- import { a as specKey, i as sessionUserId, r as claimedTenant, t as authModuleOf } from "./auth-module-CVo86UKh.js";
2
+ import { a as specKey, i as sessionUserId, r as claimedTenant, t as authModuleOf } from "./auth-module-CqXdm8qD.js";
3
3
  import { r as invalidateTables } from "./user-change-Ngy8z1fZ.js";
4
4
  import { n as liveQuery, t as liveCount } from "./live-BVi3q4bX.js";
5
5
  // src/bindings/client.ts
@@ -1,5 +1,5 @@
1
1
  /// <reference lib="esnext.temporal" />
2
- import { D as BlockEventPattern, T as BlockEvent, o as EventHub } from "./events-CfDdOwqg.js";
2
+ import { D as BlockEventPattern, T as BlockEvent, o as EventHub } from "./events-DVt3Z9hw.js";
3
3
  /** A CloudEvents 1.0 event. Extension attributes are lowercase alphanumerics. */
4
4
  interface CloudEvent<T = unknown> {
5
5
  readonly specversion: "1.0";
@@ -1,5 +1,5 @@
1
- import { m as Operation } from "./types-WZUVlTXs.js";
2
- import { a as PostgrestPlan } from "./postgrest-2WjRrtmX.js";
1
+ import { m as Operation } from "./types-BkYEUWdz.js";
2
+ import { a as PostgrestPlan } from "./postgrest-DZtM2nIS.js";
3
3
  /**
4
4
  * Turns an IR operation into something a backend runs. An `Executor` for a new
5
5
  * backend usually pairs with a `Compiler` for it.
@@ -1,10 +1,10 @@
1
- import { O as AnyFunctions, k as AnyModels } from "./types-WZUVlTXs.js";
2
- import { r as AuthState } from "./resolve-DVOtYTAc.js";
3
- import { t as BetterSupabase, y as Db } from "./define-3RbqoF1S.js";
4
- import { a as ServerContext, b as ReplicaState, c as ServerOptions, n as BetterServer } from "./server-types-C3p3jUqr.js";
5
- import { t as ActiveSupport } from "./support-rZbdU35s.js";
6
- import { n as SessionEntryConfig } from "./session-BOch2y2z.js";
7
- import { r as GuardOptions } from "./respond-CkwkvFdZ.js";
1
+ import { O as AnyFunctions, k as AnyModels } from "./types-BkYEUWdz.js";
2
+ import { r as AuthState } from "./resolve--LfVoOMg.js";
3
+ import { t as BetterSupabase, y as Db } from "./define-ITQA71fw.js";
4
+ import { l as ServerOptions, o as ServerContext, r as BetterServer, x as ReplicaState } from "./server-types-C2hlvhP4.js";
5
+ import { t as ActiveSupport } from "./support-DxYI6sDM.js";
6
+ import { n as SessionEntryConfig } from "./session-B4VasaAA.js";
7
+ import { r as GuardOptions } from "./respond-BYOV7KZp.js";
8
8
  import { SupabaseClient } from "@supabase/supabase-js";
9
9
  import { Entry, SingleKeyEntry } from "@supabase/middleware";
10
10
  import { AuthMode, JWTClaims, UserClaims } from "@supabase/server";
@@ -1,7 +1,7 @@
1
1
  import { o as problemResponse } from "./problem-C0SVHhd3.js";
2
- import { _ as withSupport, b as withServerContext, g as withTenant, s as createServer, x as serverCore, y as withSession } from "./adapter-CPPN80mx.js";
2
+ import { _ as withSupport, b as withServerContext, g as withTenant, s as createServer, x as serverCore, y as withSession } from "./adapter-CWzyKepA.js";
3
3
  import { d as withPrimaryPin } from "./refresh-B8t_KE3s.js";
4
- import { i as guard, n as defaultExpose } from "./respond-C2qvP1wv.js";
4
+ import { i as guard, n as defaultExpose } from "./respond-DLH4tD2d.js";
5
5
  import { a as withAuthMode, i as withAuth, o as withJwtClaims, s as withUserClaims } from "./claims-DouHL7ZL.js";
6
6
  import { defineComposite, defineMiddleware } from "@supabase/middleware";
7
7
  // src/server/entries/db.ts
@@ -1,6 +1,6 @@
1
- import { M as Casing } from "../types-WZUVlTXs.js";
2
- import { A as tenantNameOf, C as EntityConfig, D as OwnTablePolicies, S as EntitiesConfig, a as AuthorizationProvider, b as DEFAULT_ACTIVE_TENANT, c as AuthorizationScope, d as AccessBlockConfig, f as ActiveTenantSource, g as BlockMode, i as AuthorizationPermission, l as AuthorizationTokenHook, m as BlockConfig, n as AuthorizationMembership, o as AuthorizationRequirement, p as AnyBlocksConfig, r as AuthorizationOperation, s as AuthorizationRoleSource, t as AuthorizationFunctions, u as providerApiProblem, v as BlockScope, x as DisabledRow, y as BlocksConfig } from "../authorization-CYu_UKX4.js";
3
- import { $ as JsonSchemaTarget, $r as SnapshotExtras, $t as GeneratorNoun, An as SqlWorkflow, Ar as AppTablesConfig, B as ZodGeneratorOptions, Bi as MigrationSafetyConfig, Bn as ExposePrivilege, Br as CatalogIndex, Bt as GeneratedFile, Cn as EntitlementPlansSource, Cr as AppRollupAggregate, Dn as ResolvedSqlConfig, Dr as AppTableEvents, En as RealtimeConfig, Er as AppTableEventKind, Fi as EnvFileConfig, Fn as TopicTriggerValueConfig, Fr as CatalogEnum, G as standardSchema, Gi as GEN_TASKS, Gr as ExtrasDomain, Gt as GeneratorEntitySchemas, H as ValibotGeneratorOptions, Hi as PowerSyncGenConfig, Hn as Privilege, Hr as CatalogTable, Ht as GeneratorBlock, Ii as GenConfig, In as VectorDistance, Ir as CatalogForeignKey, J as FactoriesGeneratorOptions, Ji as IntegrationInfo, Jr as ExtrasHookFunction, Jt as GeneratorFunctionArg, K as NuqsGeneratorOptions, Ki as INTEGRATION_INFO, Kr as ExtrasFunction, Kt as GeneratorField, Li as GenTask, Ln as VectorSearchConfig, Lr as CatalogFunction, Lt as resolveJsonSchema, Mn as TopicTriggerLookupConfig, Mr as CatalogCheck, Nn as TopicTriggerPayloadValueConfig, Nr as CatalogColumn, On as SeedConfig, Or as AppTableSubject, Pi as DoctorConfig, Pn as TopicTriggerTopicConfig, Pr as CatalogColumnGrant, Q as jsonSchema, Qr as SnapshotBucket, Qt as GeneratorModel, Ri as IntegrationName, Rn as ColumnPrivilege, Rr as CatalogFunctionArg, Rt as ClaimsConfig, Sn as ToolingConfig, Sr as AppReferenceTarget, St as RoleNames, Tn as BucketConfig, Tr as AppTableConfig, U as valibot, Ui as SkillsAgent, Un as ResolvedExpose, Ur as CatalogTrigger, Ut as GeneratorBlockEntity, V as zod, Vi as OpenApiConfig, Vn as ExposeRole, Vr as CatalogPolicy, Vt as Generator, W as StandardSchemaGeneratorOptions, Wi as SkillsConfig, Wr as CatalogUnique, Wt as GeneratorColumn, X as JsonSchemaGeneratorOptions, Xr as ForeignKeyAction, Xt as GeneratorInputSchema, Y as factories, Yi as SKILLS_AGENTS, Yr as ExtrasTable, Yt as GeneratorInput, Z as buildJsonSchema, Zr as Snapshot, Zt as GeneratorJsonSchema, _n as DatabaseConfig, _r as AppColumnFormat, _t as defineConfig, ai as RpcFunctionArg, an as TableConfig, at as blockEntities, bn as SqlInput, br as AppOnDeleteAction, bt as BucketName, ci as RpcReturnColumn, cn as ResolvedConfig, ct as CONFIG_GROUPS, dn as AppTableInput, dr as APP_COLUMN_TYPES, dt as blockEntrySource, ei as GeneratorMetadata, en as GeneratorTable, et as ClaimPaths, fn as AppTablesInput, fr as APP_ON_DELETE_ACTIONS, ft as flattenConfig, gn as BlocksInput, gr as AppColumnConfig, gt as ResolveInput, hn as BlockInput, hr as AppColumnAccess, ht as CONFIG_SCHEMA_URL, ii as RpcFunction, in as SourceConfig, ir as CONFIG_DEFAULTS, it as BlockEntity, jn as TopicTriggerConfig, jr as Catalog, kn as SqlConfig, kr as AppTableVersions, li as RpcTypeReference, ln as ResolvedExtensions, lr as APP_COLUMN_ACCESS, lt as RENAMED_BLOCK_KEYS, mn as BetterSupabaseConfig, mr as APP_TABLE_EVENT_KINDS, mt as groupEntries, ni as PostgresFunction, nn as JsonTypeConfig, nt as claimPaths, oi as RpcFunctionOverload, on as DataHooksFramework, ot as blockEntityRenames, pn as AuthConfig, pr as APP_ROLLUP_AGGREGATES, pt as groupConfig, q as nuqs, qi as INTEGRATION_NAMES, qr as ExtrasHook, qt as GeneratorFunction, ri as PostgresFunctionArg, rn as RelationsConfig, rt as tenantClaimPaths, si as RpcFunctionReturns, sn as FlatConfig, st as blockSubjectTypes, ti as PostgresColumn, tn as JsonSchemaSource, tt as DEFAULT_CLAIMS, un as ApiConfig, ur as APP_COLUMN_FORMATS, ut as RENAMED_CONFIG_KEYS, vn as EnvironmentConfig, vr as AppColumnType, vt as resolveConfig, wn as EntitlementsConfig, wr as AppRollupConfig, wt as ExpandedConfig, xn as TenantConfig, xr as AppReference, xt as ConfigReferences, yn as GenGroupConfig, yr as AppLookupConfig, yt as BlockTableReference, z as ZodFlavor, zi as KeysConfig, zn as ExposeConfig, zr as CatalogGrant, zt as CodecsConfig } from "../context-DcxfrCml.js";
1
+ import { M as Casing } from "../types-BkYEUWdz.js";
2
+ import { A as tenantNameOf, C as EntityConfig, D as OwnTablePolicies, S as EntitiesConfig, a as AuthorizationProvider, b as DEFAULT_ACTIVE_TENANT, c as AuthorizationScope, d as AccessBlockConfig, f as ActiveTenantSource, g as BlockMode, i as AuthorizationPermission, l as AuthorizationTokenHook, m as BlockConfig, n as AuthorizationMembership, o as AuthorizationRequirement, p as AnyBlocksConfig, r as AuthorizationOperation, s as AuthorizationRoleSource, t as AuthorizationFunctions, u as providerApiProblem, v as BlockScope, x as DisabledRow, y as BlocksConfig } from "../authorization-BlmDNI2b.js";
3
+ import { $ as JsonSchemaTarget, $r as SnapshotExtras, $t as GeneratorNoun, An as SqlWorkflow, Ar as AppTablesConfig, B as ZodGeneratorOptions, Bi as MigrationSafetyConfig, Bn as ExposePrivilege, Br as CatalogIndex, Bt as GeneratedFile, Cn as EntitlementPlansSource, Cr as AppRollupAggregate, Dn as ResolvedSqlConfig, Dr as AppTableEvents, En as RealtimeConfig, Er as AppTableEventKind, Fi as EnvFileConfig, Fn as TopicTriggerValueConfig, Fr as CatalogEnum, G as standardSchema, Gi as GEN_TASKS, Gr as ExtrasDomain, Gt as GeneratorEntitySchemas, H as ValibotGeneratorOptions, Hi as PowerSyncGenConfig, Hn as Privilege, Hr as CatalogTable, Ht as GeneratorBlock, Ii as GenConfig, In as VectorDistance, Ir as CatalogForeignKey, J as FactoriesGeneratorOptions, Ji as IntegrationInfo, Jr as ExtrasHookFunction, Jt as GeneratorFunctionArg, K as NuqsGeneratorOptions, Ki as INTEGRATION_INFO, Kr as ExtrasFunction, Kt as GeneratorField, Li as GenTask, Ln as VectorSearchConfig, Lr as CatalogFunction, Lt as resolveJsonSchema, Mn as TopicTriggerLookupConfig, Mr as CatalogCheck, Nn as TopicTriggerPayloadValueConfig, Nr as CatalogColumn, On as SeedConfig, Or as AppTableSubject, Pi as DoctorConfig, Pn as TopicTriggerTopicConfig, Pr as CatalogColumnGrant, Q as jsonSchema, Qr as SnapshotBucket, Qt as GeneratorModel, Ri as IntegrationName, Rn as ColumnPrivilege, Rr as CatalogFunctionArg, Rt as ClaimsConfig, Sn as ToolingConfig, Sr as AppReferenceTarget, St as RoleNames, Tn as BucketConfig, Tr as AppTableConfig, U as valibot, Ui as SkillsAgent, Un as ResolvedExpose, Ur as CatalogTrigger, Ut as GeneratorBlockEntity, V as zod, Vi as OpenApiConfig, Vn as ExposeRole, Vr as CatalogPolicy, Vt as Generator, W as StandardSchemaGeneratorOptions, Wi as SkillsConfig, Wr as CatalogUnique, Wt as GeneratorColumn, X as JsonSchemaGeneratorOptions, Xr as ForeignKeyAction, Xt as GeneratorInputSchema, Y as factories, Yi as SKILLS_AGENTS, Yr as ExtrasTable, Yt as GeneratorInput, Z as buildJsonSchema, Zr as Snapshot, Zt as GeneratorJsonSchema, _n as DatabaseConfig, _r as AppColumnFormat, _t as defineConfig, ai as RpcFunctionArg, an as TableConfig, at as blockEntities, bn as SqlInput, br as AppOnDeleteAction, bt as BucketName, ci as RpcReturnColumn, cn as ResolvedConfig, ct as CONFIG_GROUPS, dn as AppTableInput, dr as APP_COLUMN_TYPES, dt as blockEntrySource, ei as GeneratorMetadata, en as GeneratorTable, et as ClaimPaths, fn as AppTablesInput, fr as APP_ON_DELETE_ACTIONS, ft as flattenConfig, gn as BlocksInput, gr as AppColumnConfig, gt as ResolveInput, hn as BlockInput, hr as AppColumnAccess, ht as CONFIG_SCHEMA_URL, ii as RpcFunction, in as SourceConfig, ir as CONFIG_DEFAULTS, it as BlockEntity, jn as TopicTriggerConfig, jr as Catalog, kn as SqlConfig, kr as AppTableVersions, li as RpcTypeReference, ln as ResolvedExtensions, lr as APP_COLUMN_ACCESS, lt as RENAMED_BLOCK_KEYS, mn as BetterSupabaseConfig, mr as APP_TABLE_EVENT_KINDS, mt as groupEntries, ni as PostgresFunction, nn as JsonTypeConfig, nt as claimPaths, oi as RpcFunctionOverload, on as DataHooksFramework, ot as blockEntityRenames, pn as AuthConfig, pr as APP_ROLLUP_AGGREGATES, pt as groupConfig, q as nuqs, qi as INTEGRATION_NAMES, qr as ExtrasHook, qt as GeneratorFunction, ri as PostgresFunctionArg, rn as RelationsConfig, rt as tenantClaimPaths, si as RpcFunctionReturns, sn as FlatConfig, st as blockSubjectTypes, ti as PostgresColumn, tn as JsonSchemaSource, tt as DEFAULT_CLAIMS, un as ApiConfig, ur as APP_COLUMN_FORMATS, ut as RENAMED_CONFIG_KEYS, vn as EnvironmentConfig, vr as AppColumnType, vt as resolveConfig, wn as EntitlementsConfig, wr as AppRollupConfig, wt as ExpandedConfig, xn as TenantConfig, xr as AppReference, xt as ConfigReferences, yn as GenGroupConfig, yr as AppLookupConfig, yt as BlockTableReference, z as ZodFlavor, zi as KeysConfig, zn as ExposeConfig, zr as CatalogGrant, zt as CodecsConfig } from "../context-D7jICqdN.js";
4
4
  import { i as SubjectsConfig, n as SubjectPermission, r as SubjectSearch, t as SubjectConfig } from "../subjects-BGwLJ3IB.js";
5
5
  import { a as FieldFormat, o as FieldFormatInput, r as FIELD_FORMATS } from "../field-formats-DVukMbRa.js";
6
6
  export { APP_COLUMN_ACCESS, APP_COLUMN_FORMATS, APP_COLUMN_TYPES, APP_ON_DELETE_ACTIONS, APP_ROLLUP_AGGREGATES, APP_TABLE_EVENT_KINDS, type AccessBlockConfig, type ActiveTenantSource, type AnyBlocksConfig, type ApiConfig, type AppColumnAccess, type AppColumnConfig, type AppColumnFormat, type AppColumnType, type AppLookupConfig, type AppOnDeleteAction, type AppReference, type AppReferenceTarget, type AppRollupAggregate, type AppRollupConfig, type AppTableConfig, type AppTableEventKind, type AppTableEvents, type AppTableInput, type AppTableSubject, type AppTableVersions, type AppTablesConfig, type AppTablesInput, type AuthConfig, type AuthorizationFunctions, type AuthorizationMembership, type AuthorizationOperation, type AuthorizationPermission, type AuthorizationProvider, type AuthorizationRequirement, type AuthorizationRoleSource, type AuthorizationScope, type AuthorizationTokenHook, type BetterSupabaseConfig, type BlockConfig, type BlockEntity, type BlockInput, type BlockMode, type BlockScope, type BlockTableReference, type BlocksConfig, type BlocksInput, type BucketConfig, type BucketName, CONFIG_DEFAULTS, CONFIG_GROUPS, CONFIG_SCHEMA_URL, type Casing, type Catalog, type CatalogCheck, type CatalogColumn, type CatalogColumnGrant, type CatalogEnum, type CatalogForeignKey, type CatalogFunction, type CatalogFunctionArg, type CatalogGrant, type CatalogIndex, type CatalogPolicy, type CatalogTable, type CatalogTrigger, type CatalogUnique, type ClaimPaths, type ClaimsConfig, type CodecsConfig, type ColumnPrivilege, type ConfigReferences, DEFAULT_ACTIVE_TENANT, DEFAULT_CLAIMS, type DataHooksFramework, type DatabaseConfig, type DisabledRow, type DoctorConfig, type EntitiesConfig, type EntitlementPlansSource, type EntitlementsConfig, type EntityConfig, type EnvFileConfig, type EnvironmentConfig, type ExpandedConfig, type ExposeConfig, type ExposePrivilege, type ExposeRole, type ExtrasDomain, type ExtrasFunction, type ExtrasHook, type ExtrasHookFunction, type ExtrasTable, FIELD_FORMATS, type FactoriesGeneratorOptions, type FieldFormat, type FieldFormatInput, type FlatConfig, type ForeignKeyAction, GEN_TASKS, type GenConfig, type GenGroupConfig, type GenTask, type GeneratedFile, type Generator, type GeneratorBlock, type GeneratorBlockEntity, type GeneratorColumn, type GeneratorEntitySchemas, type GeneratorField, type GeneratorFunction, type GeneratorFunctionArg, type GeneratorInput, type GeneratorInputSchema, type GeneratorJsonSchema, type GeneratorMetadata, type GeneratorModel, type GeneratorNoun, type GeneratorTable, INTEGRATION_INFO, INTEGRATION_NAMES, type IntegrationInfo, type IntegrationName, type JsonSchemaGeneratorOptions, type JsonSchemaSource, type JsonSchemaTarget, type JsonTypeConfig, type KeysConfig, type MigrationSafetyConfig, type NuqsGeneratorOptions, type OpenApiConfig, type OwnTablePolicies, type PostgresColumn, type PostgresFunction, type PostgresFunctionArg, type PowerSyncGenConfig, type Privilege, RENAMED_BLOCK_KEYS, RENAMED_CONFIG_KEYS, type RealtimeConfig, type RelationsConfig, type ResolveInput, type ResolvedConfig, type ResolvedExpose, type ResolvedExtensions, type ResolvedSqlConfig, type RoleNames, type RpcFunction, type RpcFunctionArg, type RpcFunctionOverload, type RpcFunctionReturns, type RpcReturnColumn, type RpcTypeReference, SKILLS_AGENTS, type SeedConfig, type SkillsAgent, type SkillsConfig, type Snapshot, type SnapshotBucket, type SnapshotExtras, type SourceConfig, type SqlConfig, type SqlInput, type SqlWorkflow, type StandardSchemaGeneratorOptions, type SubjectConfig, type SubjectPermission, type SubjectSearch, type SubjectsConfig, type TableConfig, type TenantConfig, type ToolingConfig, type TopicTriggerConfig, type TopicTriggerLookupConfig, type TopicTriggerPayloadValueConfig, type TopicTriggerTopicConfig, type TopicTriggerValueConfig, type ValibotGeneratorOptions, type VectorDistance, type VectorSearchConfig, type ZodFlavor, type ZodGeneratorOptions, blockEntities, blockEntityRenames, blockEntrySource, blockSubjectTypes, buildJsonSchema, claimPaths, defineConfig, factories, flattenConfig, groupConfig, groupEntries, jsonSchema, nuqs, providerApiProblem, resolveConfig, resolveJsonSchema, standardSchema, tenantClaimPaths, tenantNameOf, valibot, zod };
@@ -1,8 +1,8 @@
1
1
  import { n as resolveJsonSchema, r as CONFIG_DEFAULTS } from "../resolved-names-DYYyh35i.js";
2
2
  import { A as flattenConfig, D as RENAMED_BLOCK_KEYS, E as CONFIG_GROUPS, F as INTEGRATION_NAMES, I as SKILLS_AGENTS, M as groupEntries, N as GEN_TASKS, O as RENAMED_CONFIG_KEYS, P as INTEGRATION_INFO, j as groupConfig, k as blockEntrySource } from "../config-MDRA2sre.js";
3
- import { a as tenantClaimPaths, r as claimPaths, t as DEFAULT_CLAIMS } from "../claims-DRmafYVK.js";
3
+ import { a as tenantClaimPaths, r as claimPaths, t as DEFAULT_CLAIMS } from "../claims-CqTr_N1n.js";
4
4
  import { A as APP_ROLLUP_AGGREGATES, D as APP_COLUMN_FORMATS, E as APP_COLUMN_ACCESS, L as tenantNameOf, O as APP_COLUMN_TYPES, P as DEFAULT_ACTIVE_TENANT, j as APP_TABLE_EVENT_KINDS, k as APP_ON_DELETE_ACTIONS } from "../instances-D31jrmKh.js";
5
5
  import { r as FIELD_FORMATS } from "../field-formats-Cap-V7UP.js";
6
- import { a as factories, c as resolveConfig, d as blockSubjectTypes, f as providerApiProblem, i as nuqs, l as blockEntities, n as valibot, o as CONFIG_SCHEMA_URL, r as standardSchema, s as defineConfig, t as zod, u as blockEntityRenames } from "../config-BhExAhNK.js";
6
+ import { a as factories, c as resolveConfig, d as blockSubjectTypes, f as providerApiProblem, i as nuqs, l as blockEntities, n as valibot, o as CONFIG_SCHEMA_URL, r as standardSchema, s as defineConfig, t as zod, u as blockEntityRenames } from "../config-Bu6pwqcO.js";
7
7
  import { n as jsonSchema, t as buildJsonSchema } from "../json-schema-D9eVL_xi.js";
8
8
  export { APP_COLUMN_ACCESS, APP_COLUMN_FORMATS, APP_COLUMN_TYPES, APP_ON_DELETE_ACTIONS, APP_ROLLUP_AGGREGATES, APP_TABLE_EVENT_KINDS, CONFIG_DEFAULTS, CONFIG_GROUPS, CONFIG_SCHEMA_URL, DEFAULT_ACTIVE_TENANT, DEFAULT_CLAIMS, FIELD_FORMATS, GEN_TASKS, INTEGRATION_INFO, INTEGRATION_NAMES, RENAMED_BLOCK_KEYS, RENAMED_CONFIG_KEYS, SKILLS_AGENTS, blockEntities, blockEntityRenames, blockEntrySource, blockSubjectTypes, buildJsonSchema, claimPaths, defineConfig, factories, flattenConfig, groupConfig, groupEntries, jsonSchema, nuqs, providerApiProblem, resolveConfig, resolveJsonSchema, standardSchema, tenantClaimPaths, tenantNameOf, valibot, zod };
@@ -1,6 +1,6 @@
1
1
  import { r as CONFIG_DEFAULTS, t as resolveNames } from "./resolved-names-DYYyh35i.js";
2
2
  import { A as flattenConfig, n as expandFlatPreset, r as expandPreset } from "./config-MDRA2sre.js";
3
- import { t as DEFAULT_CLAIMS } from "./claims-DRmafYVK.js";
3
+ import { t as DEFAULT_CLAIMS } from "./claims-CqTr_N1n.js";
4
4
  import { o as tenantNames } from "./entity-naming-BES3pkQI.js";
5
5
  import { I as resolveBlock, L as tenantNameOf, M as PRESET_CATALOG, _ as appTablesOf, o as resolveInstances, r as blocksByName, v as withAppTableSubjects } from "./instances-D31jrmKh.js";
6
6
  import { C as variantsFor, S as variantTitle, _ as schemaName, a as extraSchemas, b as tableEntries, c as resultType, d as fieldSpec, f as fieldsFor, g as rowType, h as propertyKey, i as extraKinds, l as HEADER, m as parseImport, o as fieldMetaLines, p as optionalLine, s as objectType, u as fieldDocs, v as siblingPath, x as temporalGuardImport, y as tableDocs } from "./json-schema-D9eVL_xi.js";
@@ -3,10 +3,10 @@ import { T as ErrorMapper, t as AsyncResult } from "./result-DTOQRyGY.js";
3
3
  import { t as StandardSchemaV1 } from "./standard-DRX6Ch1j.js";
4
4
  import { n as ExtraFields, r as FieldsOf } from "./block-fields-Puv5m5D3.js";
5
5
  import { n as Logger } from "./logger-0LfhvwE4.js";
6
- import { i as CredentialRef, r as CredentialProvider } from "./provider-CH8McX3b.js";
7
- import { r as BlockTemporalOptions } from "./block-helpers-JxiD1iw4.js";
8
- import { t as BlockTransport } from "./block-transport-Bbf1ZZre.js";
9
- import { n as BlockHooks } from "./block-hooks-CJP5kGEa.js";
6
+ import { i as CredentialRef, r as CredentialProvider } from "./provider-BI0KC4u5.js";
7
+ import { r as BlockTemporalOptions } from "./block-helpers-disoUWCp.js";
8
+ import { t as BlockTransport } from "./block-transport-BEtC_Kis.js";
9
+ import { n as BlockHooks } from "./block-hooks-DrA_d1dJ.js";
10
10
  type ConnectorTransport = "http" | "sse";
11
11
  /**
12
12
  * `none`, OAuth per user (a grant each), or a header from the server's
@@ -1,7 +1,7 @@
1
1
  /// <reference lib="esnext.temporal" />
2
- import { M as Casing, P as ClaimsMeta, T as AccessBucketPolicy, _t as BucketLifecycle, j as BucketPolicyName, ot as SchemaMeta } from "./types-WZUVlTXs.js";
3
- import { D as OwnTablePolicies, E as NamedInstance, I as TablesOf, L as BlockNameRegistry, O as ResolvedBlock, T as InstanceOn, _ as BlockName, a as AuthorizationProvider, d as AccessBlockConfig, g as BlockMode, h as BlockConfigOf, m as BlockConfig, n as AuthorizationMembership, p as AnyBlocksConfig, r as AuthorizationOperation, s as AuthorizationRoleSource, t as AuthorizationFunctions, v as BlockScope, w as InstanceKeys, x as DisabledRow, y as BlocksConfig } from "./authorization-CYu_UKX4.js";
4
- import { Mn as EntityNames, Nn as EntityNoun, Pn as EntityRename, R as PortName, Ut as ActionDescriptor, Xt as BlockSchedule, Zt as DefaultAutomation, _ as BlockProvider, g as BlockEnvKey, i as BlockCategory, y as BlockWorker } from "./define-block-B_i9VPcc.js";
2
+ import { M as Casing, P as ClaimsMeta, T as AccessBucketPolicy, _t as BucketLifecycle, j as BucketPolicyName, ot as SchemaMeta } from "./types-BkYEUWdz.js";
3
+ import { D as OwnTablePolicies, E as NamedInstance, I as TablesOf, L as BlockNameRegistry, O as ResolvedBlock, T as InstanceOn, _ as BlockName, a as AuthorizationProvider, d as AccessBlockConfig, g as BlockMode, h as BlockConfigOf, m as BlockConfig, n as AuthorizationMembership, p as AnyBlocksConfig, r as AuthorizationOperation, s as AuthorizationRoleSource, t as AuthorizationFunctions, v as BlockScope, w as InstanceKeys, x as DisabledRow, y as BlocksConfig } from "./authorization-BlmDNI2b.js";
4
+ import { Mn as EntityNames, Nn as EntityNoun, Pn as EntityRename, R as PortName, Ut as ActionDescriptor, Xt as BlockSchedule, Zt as DefaultAutomation, _ as BlockProvider, g as BlockEnvKey, i as BlockCategory, y as BlockWorker } from "./define-block-COmMkx2x.js";
5
5
  import { a as ScalarKind, i as FieldSpec } from "./table-schema-CwXg7oBz.js";
6
6
  import { i as SubjectsConfig } from "./subjects-BGwLJ3IB.js";
7
7
  import { i as FIELD_FORMAT_NAMES, s as FieldFormatName } from "./field-formats-DVukMbRa.js";
@@ -3649,6 +3649,18 @@ interface BlockSqlAccessProvider {
3649
3649
  };
3650
3650
  /** The provider's operations table; `operationPermission` reads it. */
3651
3651
  readonly operations?: Readonly<Record<string, AuthorizationOperation>>;
3652
+ /**
3653
+ * The keys the provider marks `sqlComplete: true`. `member_permissions` and
3654
+ * the `permissions` claim carry only these; unset keeps every key.
3655
+ */
3656
+ readonly sqlCompleteKeys?: readonly string[];
3657
+ /**
3658
+ * The provider's hook writes the `permissions` claim (`ownedClaims`), so the
3659
+ * hook template leaves it out.
3660
+ */
3661
+ readonly ownsPermissions?: boolean;
3662
+ /** The claim the provider's hook sets when it truncated `permissions`. */
3663
+ readonly truncatedClaim?: string;
3652
3664
  }
3653
3665
  /** One of a module's entities with the name the config gives it. */
3654
3666
  interface ResolvedEntity {
@@ -0,0 +1,16 @@
1
+ import { $t as Authorizer, D as AccessTopicPolicy, E as AccessPolicySql, Gt as AuthorizationContext, Ht as AnyAuthorizer, Jt as AuthorizationPurpose, Kt as AuthorizationIntent, Qt as AuthorizationSubject, T as AccessBucketPolicy, Ut as AuthorizationCallKind, Wt as AuthorizationChange, Xt as AuthorizationResource, Yt as AuthorizationRequest, Zt as AuthorizationResourceSource, en as AuthorizerRuntime, nn as PermissionRef, qt as AuthorizationOutcome, rn as RequestMemo, tn as AuthzVersionCache } from "../types-BkYEUWdz.js";
2
+ import { r as CredentialProvider } from "../provider-BI0KC4u5.js";
3
+ import { a as AuthorizationProvider, c as AuthorizationScope, i as AuthorizationPermission, l as AuthorizationTokenHook, n as AuthorizationMembership, o as AuthorizationRequirement, r as AuthorizationOperation, s as AuthorizationRoleSource, t as AuthorizationFunctions } from "../authorization-BlmDNI2b.js";
4
+ import { i as SessionSnapshot } from "../snapshot-BGsJw9xn.js";
5
+ import { _ as SupportAuthorize, g as SubscriberPolicy, i as AuthorizationHooks, v as SupportAuthorizeInput } from "../authorization-hooks-CxwsRnfV.js";
6
+ import { n as ApprovalOptions } from "../server-types-C2hlvhP4.js";
7
+ import { s as ApiKeyResolverOptions } from "../api-keys-DbIbkGxx.js";
8
+ import { a as ToolDecision, n as McpOptions, s as ToolRef } from "../index-CiE37wKX.js";
9
+ import { n as BlockTables, t as BlockTable } from "../block-tables-CQTU71zn.js";
10
+ /**
11
+ * The types an authorization library implements or reads, in one entry with no
12
+ * runtime code. Every slot is versioned `apiVersion: 1`; a breaking change to
13
+ * one needs a new `apiVersion`.
14
+ */
15
+ export type ContractApiVersion = 1;
16
+ export type { AccessBucketPolicy, AccessPolicySql, AccessTopicPolicy, AnyAuthorizer, ApiKeyResolverOptions, ApprovalOptions, AuthorizationCallKind, AuthorizationChange, AuthorizationContext, AuthorizationFunctions, AuthorizationHooks, AuthorizationIntent, AuthorizationMembership, AuthorizationOperation, AuthorizationOutcome, AuthorizationPermission, AuthorizationProvider, AuthorizationPurpose, AuthorizationRequest, AuthorizationRequirement, AuthorizationResource, AuthorizationResourceSource, AuthorizationRoleSource, AuthorizationScope, AuthorizationSubject, AuthorizationTokenHook, Authorizer, AuthorizerRuntime, AuthzVersionCache, BlockTable, BlockTables, CredentialProvider, McpOptions, PermissionRef, RequestMemo, SessionSnapshot, SubscriberPolicy, SupportAuthorize, SupportAuthorizeInput, ToolDecision, ToolRef };
File without changes
@@ -1,4 +1,4 @@
1
- import { a as ClientAuth } from "./bind-8LYVJE5W.js";
1
+ import { a as ClientAuth } from "./bind-DP-KLgYI.js";
2
2
  /**
3
3
  * A block's client state, framework-agnostic. `subscribe` and `getSnapshot`
4
4
  * follow the external-store contract, so React's `useSyncExternalStore`, a Vue
@@ -1,5 +1,5 @@
1
1
  import { f as Result } from "./result-DTOQRyGY.js";
2
- import { Bt as Action, Ht as ActionContext, Vt as ActionCall } from "./define-block-B_i9VPcc.js";
2
+ import { Bt as Action, Ht as ActionContext, Vt as ActionCall } from "./define-block-COmMkx2x.js";
3
3
  import { StandardSchemaV1 } from "@standard-schema/spec";
4
4
  /** A record a conversion reads from or creates: its subject type and id. */
5
5
  interface ConversionRef {
@@ -1,7 +1,7 @@
1
1
  /// <reference lib="esnext.temporal" />
2
- import { Tt as PresetInput, Wn as PresetSpec, br as AppOnDeleteAction, er as PresetName, fr as APP_ON_DELETE_ACTIONS, g as BlockSqlAccessProvider, hr as AppColumnAccess, vr as AppColumnType, xi as Preset } from "../context-DcxfrCml.js";
3
- import { E as CreateDesign, b as DesignChange } from "../index-CRrBZtKm.js";
4
- import { $ as SchemaTable, A as renameColumn, B as AppEvents, C as editTable, Ct as tableWithComputed, D as isEmptyDesign, Dt as IssueSeverity, E as isAppTable, Et as IssueCode, F as singular, G as subjectTypeError, H as eventsColumnsEdited, I as tidy, J as SchemaData, K as SchemaColumn, L as updateTable, M as setColumn, N as setExtraColumn, O as moveTables, Ot as IssueSource, P as setTableId, Q as SchemaSource, R as userConnection, S as duplicateTable, St as rollupSources, T as identifierError, Tt as Issue, U as subjectColumns, V as AppSubject, W as subjectColumnsEdited, X as SchemaOptions, Y as SchemaForeignKey, Z as SchemaSoftRef, _ as connect, _t as isRollupAggregate, a as AppScope, at as tenantColumnOf, b as deleteExtraColumn, bt as readableColumns, c as ConnectResult, ct as ComputedRow, d as EMPTY_DESIGN, dt as RollupAggregate, et as SchemaTarget, f as NamedDesign, ft as computedColumnRenamed, g as columnError, gt as fittedRollup, h as appTableId, ht as filterColumns, i as AppReference, it as tableStatements, j as renameTable, k as referenceFrom, l as Connection, lt as DraftRollup, m as addTable, mt as computedTableRenamed, n as APP_MODULE, nt as parseSchema, o as AppTable, ot as AppLookup, p as TablePatch, pt as computedRows, q as SchemaComputed, r as AppColumn, rt as schemaRelations, s as AppTableId, st as AppRollup, t as PresetMigrationFile, tt as keyColumnsOf, u as Design, ut as ROLLUP_AGGREGATES, v as defaultError, vt as lookupSources, w as freeTableName, wt as tableWithoutComputed, x as deleteTable, xt as rollupColumns, y as deleteColumn, yt as prunedComputed, z as withDesign } from "../types-CCmW3MqI.js";
2
+ import { Tt as PresetInput, Wn as PresetSpec, br as AppOnDeleteAction, er as PresetName, fr as APP_ON_DELETE_ACTIONS, g as BlockSqlAccessProvider, hr as AppColumnAccess, vr as AppColumnType, xi as Preset } from "../context-D7jICqdN.js";
3
+ import { E as CreateDesign, b as DesignChange } from "../index-BvcMQYL-.js";
4
+ import { $ as SchemaTable, A as renameColumn, B as AppEvents, C as editTable, Ct as tableWithComputed, D as isEmptyDesign, Dt as IssueSeverity, E as isAppTable, Et as IssueCode, F as singular, G as subjectTypeError, H as eventsColumnsEdited, I as tidy, J as SchemaData, K as SchemaColumn, L as updateTable, M as setColumn, N as setExtraColumn, O as moveTables, Ot as IssueSource, P as setTableId, Q as SchemaSource, R as userConnection, S as duplicateTable, St as rollupSources, T as identifierError, Tt as Issue, U as subjectColumns, V as AppSubject, W as subjectColumnsEdited, X as SchemaOptions, Y as SchemaForeignKey, Z as SchemaSoftRef, _ as connect, _t as isRollupAggregate, a as AppScope, at as tenantColumnOf, b as deleteExtraColumn, bt as readableColumns, c as ConnectResult, ct as ComputedRow, d as EMPTY_DESIGN, dt as RollupAggregate, et as SchemaTarget, f as NamedDesign, ft as computedColumnRenamed, g as columnError, gt as fittedRollup, h as appTableId, ht as filterColumns, i as AppReference, it as tableStatements, j as renameTable, k as referenceFrom, l as Connection, lt as DraftRollup, m as addTable, mt as computedTableRenamed, n as APP_MODULE, nt as parseSchema, o as AppTable, ot as AppLookup, p as TablePatch, pt as computedRows, q as SchemaComputed, r as AppColumn, rt as schemaRelations, s as AppTableId, st as AppRollup, t as PresetMigrationFile, tt as keyColumnsOf, u as Design, ut as ROLLUP_AGGREGATES, v as defaultError, vt as lookupSources, w as freeTableName, wt as tableWithoutComputed, x as deleteTable, xt as rollupColumns, y as deleteColumn, yt as prunedComputed, z as withDesign } from "../types-BFEKRmEK.js";
5
5
  import { a as SupabaseLint, o as SupabaseOrganization, s as SupabaseProject } from "../management-DtX4ic1F.js";
6
6
  /** What `checkDesign` returns. */
7
7
  export type DesignCheck = {
@@ -1,6 +1,6 @@
1
1
  import { k as APP_ON_DELETE_ACTIONS } from "../instances-D31jrmKh.js";
2
2
  import { m as diffDesigns } from "../preset-om2rbdYw.js";
3
- import { $ as tableWithComputed, A as referenceFrom, B as withDesign, C as duplicateTable, D as isAppTable, E as identifierError, F as setTableId, G as filterColumns, H as computedColumnRenamed, I as singular, J as lookupSources, K as fittedRollup, L as tidy, M as renameTable, N as setColumn, O as isEmptyDesign, P as setExtraColumn, Q as rollupSources, R as updateTable, S as deleteTable, T as freeTableName, U as computedRows, V as ROLLUP_AGGREGATES, W as computedTableRenamed, X as readableColumns, Y as prunedComputed, Z as rollupColumns, _ as columnError, a as parseSchema, at as boundError, b as deleteColumn, c as tenantColumnOf, ct as fitted, d as previewFiles, dt as takesBounds, et as tableWithoutComputed, f as designIssues, ft as withBounds, g as appTableId, h as addTable, i as keyColumnsOf, it as subjectTypeError, j as renameColumn, k as moveTables, l as schemaData, lt as lockedWithoutDefault, m as EMPTY_DESIGN, n as loadProject, nt as subjectColumns, o as schemaRelations, ot as columnLabel, p as APP_MODULE, q as isRollupAggregate, r as checkDesign, rt as subjectColumnsEdited, s as tableStatements, st as encryptable, t as checkProject, tt as eventsColumnsEdited, u as previewAccessProvider, ut as optionError, v as connect, w as editTable, x as deleteExtraColumn, y as defaultError, z as userConnection } from "../project-oNHntJ6T.js";
3
+ import { $ as tableWithComputed, A as referenceFrom, B as withDesign, C as duplicateTable, D as isAppTable, E as identifierError, F as setTableId, G as filterColumns, H as computedColumnRenamed, I as singular, J as lookupSources, K as fittedRollup, L as tidy, M as renameTable, N as setColumn, O as isEmptyDesign, P as setExtraColumn, Q as rollupSources, R as updateTable, S as deleteTable, T as freeTableName, U as computedRows, V as ROLLUP_AGGREGATES, W as computedTableRenamed, X as readableColumns, Y as prunedComputed, Z as rollupColumns, _ as columnError, a as parseSchema, at as boundError, b as deleteColumn, c as tenantColumnOf, ct as fitted, d as previewFiles, dt as takesBounds, et as tableWithoutComputed, f as designIssues, ft as withBounds, g as appTableId, h as addTable, i as keyColumnsOf, it as subjectTypeError, j as renameColumn, k as moveTables, l as schemaData, lt as lockedWithoutDefault, m as EMPTY_DESIGN, n as loadProject, nt as subjectColumns, o as schemaRelations, ot as columnLabel, p as APP_MODULE, q as isRollupAggregate, r as checkDesign, rt as subjectColumnsEdited, s as tableStatements, st as encryptable, t as checkProject, tt as eventsColumnsEdited, u as previewAccessProvider, ut as optionError, v as connect, w as editTable, x as deleteExtraColumn, y as defaultError, z as userConnection } from "../project-D4ArwcS5.js";
4
4
  // src/create/column-kinds.ts
5
5
  /** The groups of the column type picker, in the order it shows them. */
6
6
  const KIND_GROUPS = [
@@ -1,7 +1,7 @@
1
- import { ot as SchemaMeta } from "../../types-WZUVlTXs.js";
2
- import { Tt as PresetInput } from "../../context-DcxfrCml.js";
3
- import { E as CreateDesign } from "../../index-CRrBZtKm.js";
4
- import { Tt as Issue, t as PresetMigrationFile, u as Design } from "../../types-CCmW3MqI.js";
1
+ import { ot as SchemaMeta } from "../../types-BkYEUWdz.js";
2
+ import { Tt as PresetInput } from "../../context-D7jICqdN.js";
3
+ import { E as CreateDesign } from "../../index-BvcMQYL-.js";
4
+ import { Tt as Issue, t as PresetMigrationFile, u as Design } from "../../types-BFEKRmEK.js";
5
5
  import { c as SpecDiagnostic } from "../../format-BT0Z3V54.js";
6
6
  /**
7
7
  * The parts of `@supabase/lite` that `liteStack()` uses, typed structurally so
@@ -1,5 +1,5 @@
1
1
  import { y as appDefaultError } from "../../instances-D31jrmKh.js";
2
- import { n as loadProject } from "../../project-oNHntJ6T.js";
2
+ import { n as loadProject } from "../../project-D4ArwcS5.js";
3
3
  import { n as loadLite, t as LITE_INSTALL } from "../../runtime-qslVrC9l.js";
4
4
  import { t as defineApi } from "../../api-wwix_K5c.js";
5
5
  // src/create/lite/apply.ts
@@ -1,8 +1,8 @@
1
1
  import { t as AsyncResult } from "../result-DTOQRyGY.js";
2
- import { Ct as Events, P as CredentialEventData } from "../events-CfDdOwqg.js";
3
- import { a as CredentialSubject, c as SetCredentialOptions, d as credentialRefInTenant, f as foreignCredentialRef, i as CredentialRef, l as StartAuthorizationOptions, m as tenantCredentialRef, n as CredentialCapabilities, o as CredentialToken, p as subjectFor, r as CredentialProvider, s as GetTokenOptions, t as CompleteAuthorizationOptions, u as StartAuthorizationResult } from "../provider-CH8McX3b.js";
4
- import { a as dbTransport, o as rpcTransport, s as sqlTransport, t as BlockTransport } from "../block-transport-Bbf1ZZre.js";
5
- import { a as vaultCredentials, i as VaultInboundScheme, n as VaultCredentials, r as VaultCredentialsOptions, t as VaultCredentialRef } from "../vault-Dx0LaNMX.js";
2
+ import { Ct as Events, P as CredentialEventData } from "../events-DVt3Z9hw.js";
3
+ import { a as CredentialSubject, c as SetCredentialOptions, d as credentialRefInTenant, f as foreignCredentialRef, i as CredentialRef, l as StartAuthorizationOptions, m as tenantCredentialRef, n as CredentialCapabilities, o as CredentialToken, p as subjectFor, r as CredentialProvider, s as GetTokenOptions, t as CompleteAuthorizationOptions, u as StartAuthorizationResult } from "../provider-BI0KC4u5.js";
4
+ import { a as dbTransport, o as rpcTransport, s as sqlTransport, t as BlockTransport } from "../block-transport-BEtC_Kis.js";
5
+ import { a as vaultCredentials, i as VaultInboundScheme, n as VaultCredentials, r as VaultCredentialsOptions, t as VaultCredentialRef } from "../vault-yGQD5Rdl.js";
6
6
  /**
7
7
  * One provider over several: each call goes to the provider whose `name` is the
8
8
  * ref's `provider`. A ref no provider handles fails with `invalid_input`
@@ -1,5 +1,5 @@
1
1
  import { b as DbError, f as Result, x as DbErrorKind } from "./result-DTOQRyGY.js";
2
- import { Bt as Executor } from "./types-WZUVlTXs.js";
2
+ import { Bt as Executor } from "./types-BkYEUWdz.js";
3
3
  /** A queued local change: PowerSync's `CrudEntry`. */
4
4
  interface CrudEntryLike {
5
5
  /** `PUT`, `PATCH` or `DELETE` (PowerSync's `UpdateType`). */