better-supabase 0.39.0 → 0.41.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 (309) hide show
  1. package/dist/{agents-BwUHtvD6.d.ts → agents-BAiLeoR-.d.ts} +3 -3
  2. package/dist/{ai-cache-CPOP2PYz.d.ts → ai-cache-B94R1da7.d.ts} +3 -3
  3. package/dist/{ai-chat-BZhfCHHr.d.ts → ai-chat-rQ7Ftq9W.d.ts} +3 -3
  4. package/dist/{ai-schedules-ChJkI2jo.d.ts → ai-schedules-DIiPmFgn.d.ts} +4 -4
  5. package/dist/ai-sdk/agents/index.d.ts +6 -6
  6. package/dist/ai-sdk/batches/index.d.ts +3 -3
  7. package/dist/ai-sdk/cache/index.d.ts +1 -1
  8. package/dist/ai-sdk/chat/index.d.ts +2 -2
  9. package/dist/ai-sdk/embeddings/index.d.ts +2 -2
  10. package/dist/ai-sdk/files/index.d.ts +1 -1
  11. package/dist/ai-sdk/index.d.ts +5 -5
  12. package/dist/ai-sdk/mcp/index.d.ts +1 -1
  13. package/dist/ai-sdk/memory/index.d.ts +3 -3
  14. package/dist/ai-sdk/workflow/index.d.ts +3 -3
  15. package/dist/{api-keys-BncNDlWG.d.ts → api-keys-U3JQ8IlM.d.ts} +2 -2
  16. package/dist/{app-tables-BeLFmp0l.d.ts → app-tables-kHGNXFsd.d.ts} +1 -1
  17. package/dist/{approvals-CXW3yFWZ.d.ts → approvals-CTVaWq1O.d.ts} +74 -13
  18. package/dist/{approvals-D8gR1R8R.js → approvals-Qjn42OAZ.js} +35 -17
  19. package/dist/{assistant-5heV2GeR.d.ts → assistant-B1p5mYaM.d.ts} +2 -2
  20. package/dist/{authorization-DQZ8Lrp5.d.ts → authorization-CS5Q1V7A.d.ts} +35 -8
  21. package/dist/{automations-D4QTP8nI.js → automations-CJhRmPmq.js} +3 -1
  22. package/dist/{bind-DsDKjuQn.d.ts → bind-XrFxNm5r.d.ts} +4 -4
  23. package/dist/{block-env-mNi2rPSF.d.ts → block-env-CHFHOjvz.d.ts} +4 -4
  24. package/dist/{block-helpers-BNtM1tqy.d.ts → block-helpers-Sj-efEhC.d.ts} +15 -1
  25. package/dist/{block-hooks-CtMsgLQr.d.ts → block-hooks-VW4knarE.d.ts} +1 -1
  26. package/dist/{block-subjects-CINiJW1R.js → block-subjects-Bz95_dqA.js} +17 -6
  27. package/dist/{block-tables-DYFRvRWW.d.ts → block-tables-EXcmuOJT.d.ts} +1 -1
  28. package/dist/blocks/access-requests/index.d.ts +3 -3
  29. package/dist/blocks/activities/index.d.ts +6 -6
  30. package/dist/blocks/agents/index.d.ts +2 -2
  31. package/dist/blocks/ai-cache/index.d.ts +2 -2
  32. package/dist/blocks/ai-chat/index.d.ts +6 -6
  33. package/dist/blocks/ai-files/index.d.ts +2 -2
  34. package/dist/blocks/ai-keys/index.d.ts +2 -2
  35. package/dist/blocks/ai-schedules/index.d.ts +2 -2
  36. package/dist/blocks/announcements/index.d.ts +6 -6
  37. package/dist/blocks/api-keys/index.d.ts +2 -2
  38. package/dist/blocks/approvals/index.d.ts +4 -3
  39. package/dist/blocks/approvals/index.js +3 -2
  40. package/dist/blocks/assets/index.d.ts +3 -3
  41. package/dist/blocks/assignment/index.d.ts +3 -3
  42. package/dist/blocks/attachments/index.d.ts +2 -2
  43. package/dist/blocks/audit/index.d.ts +6 -6
  44. package/dist/blocks/automations/index.d.ts +6 -6
  45. package/dist/blocks/billable-time/index.d.ts +3 -3
  46. package/dist/blocks/billing/index.d.ts +4 -4
  47. package/dist/blocks/bookings/index.d.ts +3 -3
  48. package/dist/blocks/bulk/index.d.ts +2 -2
  49. package/dist/blocks/calendar/index.d.ts +3 -3
  50. package/dist/blocks/catalog/index.d.ts +3 -3
  51. package/dist/blocks/channels/index.d.ts +3 -3
  52. package/dist/blocks/collections/index.d.ts +3 -3
  53. package/dist/blocks/comments/index.d.ts +8 -8
  54. package/dist/blocks/compliance/index.d.ts +3 -3
  55. package/dist/blocks/connectors/index.d.ts +2 -2
  56. package/dist/blocks/contacts/index.d.ts +3 -3
  57. package/dist/blocks/content/index.d.ts +3 -3
  58. package/dist/blocks/contracts/index.d.ts +3 -3
  59. package/dist/blocks/courses/index.d.ts +3 -3
  60. package/dist/blocks/created-by/index.d.ts +1 -1
  61. package/dist/blocks/custom-fields/index.d.ts +3 -3
  62. package/dist/blocks/data-lifecycle/index.d.ts +4 -4
  63. package/dist/blocks/deals/index.d.ts +3 -3
  64. package/dist/blocks/dispatch/index.d.ts +3 -3
  65. package/dist/blocks/documents/index.d.ts +2 -2
  66. package/dist/blocks/domains/index.d.ts +4 -4
  67. package/dist/blocks/donations/index.d.ts +3 -3
  68. package/dist/blocks/drive/index.d.ts +4 -4
  69. package/dist/blocks/employees/index.d.ts +4 -4
  70. package/dist/blocks/enrichment/index.d.ts +3 -3
  71. package/dist/blocks/enrollments/index.d.ts +3 -3
  72. package/dist/blocks/entitlements/index.d.ts +4 -4
  73. package/dist/blocks/expenses/index.d.ts +7 -3
  74. package/dist/blocks/expenses/index.js +4 -2
  75. package/dist/blocks/field-history/index.d.ts +3 -3
  76. package/dist/blocks/flags/index.d.ts +3 -3
  77. package/dist/blocks/forecasts/index.d.ts +3 -3
  78. package/dist/blocks/forms/index.d.ts +4 -4
  79. package/dist/blocks/goals/index.d.ts +3 -3
  80. package/dist/blocks/guests/index.d.ts +3 -3
  81. package/dist/blocks/hiring/index.d.ts +3 -3
  82. package/dist/blocks/identities/index.d.ts +3 -3
  83. package/dist/blocks/imports/index.d.ts +2 -2
  84. package/dist/blocks/inbox/index.d.ts +8 -8
  85. package/dist/blocks/incidents/index.d.ts +3 -3
  86. package/dist/blocks/index.d.ts +4 -4
  87. package/dist/blocks/inventory/index.d.ts +4 -4
  88. package/dist/blocks/invoices/index.d.ts +8 -3
  89. package/dist/blocks/invoices/index.js +22 -12
  90. package/dist/blocks/knowledge/index.d.ts +2 -2
  91. package/dist/blocks/lead-scoring/index.d.ts +4 -4
  92. package/dist/blocks/leases/index.d.ts +3 -3
  93. package/dist/blocks/leave/index.d.ts +5 -3
  94. package/dist/blocks/leave/index.js +2 -1
  95. package/dist/blocks/ledger/index.d.ts +4 -3
  96. package/dist/blocks/ledger/index.js +2 -1
  97. package/dist/blocks/mail-sync/index.d.ts +2 -2
  98. package/dist/blocks/memberships/index.d.ts +1 -1
  99. package/dist/blocks/memory/index.d.ts +3 -3
  100. package/dist/blocks/messaging/index.d.ts +7 -7
  101. package/dist/blocks/metrics/index.d.ts +4 -4
  102. package/dist/blocks/mfa/index.d.ts +2 -2
  103. package/dist/blocks/moderation/index.d.ts +3 -3
  104. package/dist/blocks/notifications/index.d.ts +6 -6
  105. package/dist/blocks/numbering/index.d.ts +2 -2
  106. package/dist/blocks/oauth-server/index.d.ts +3 -3
  107. package/dist/blocks/onboarding/index.d.ts +4 -4
  108. package/dist/blocks/orders/index.d.ts +5 -5
  109. package/dist/blocks/organizations/index.d.ts +5 -5
  110. package/dist/blocks/outbox/index.d.ts +2 -2
  111. package/dist/blocks/passes/index.d.ts +5 -5
  112. package/dist/blocks/permissions/index.d.ts +5 -5
  113. package/dist/blocks/pipelines/index.d.ts +3 -3
  114. package/dist/blocks/posts/index.d.ts +3 -3
  115. package/dist/blocks/profiles/index.d.ts +3 -3
  116. package/dist/blocks/promotions/index.d.ts +3 -3
  117. package/dist/blocks/push/index.d.ts +4 -4
  118. package/dist/blocks/queue/index.d.ts +4 -4
  119. package/dist/blocks/quotes/index.d.ts +57 -12
  120. package/dist/blocks/quotes/index.js +35 -7
  121. package/dist/blocks/rank/index.d.ts +4 -4
  122. package/dist/blocks/reactions/index.d.ts +6 -6
  123. package/dist/blocks/relations/index.d.ts +4 -4
  124. package/dist/blocks/reminders/index.d.ts +4 -4
  125. package/dist/blocks/reviews/index.d.ts +3 -3
  126. package/dist/blocks/saved-views/index.d.ts +3 -3
  127. package/dist/blocks/scores/index.d.ts +3 -3
  128. package/dist/blocks/search/index.d.ts +5 -5
  129. package/dist/blocks/security-events/index.d.ts +4 -4
  130. package/dist/blocks/segments/index.d.ts +3 -3
  131. package/dist/blocks/sequences/index.d.ts +3 -3
  132. package/dist/blocks/service-accounts/index.d.ts +3 -3
  133. package/dist/blocks/sessions/index.d.ts +2 -2
  134. package/dist/blocks/settings/index.d.ts +4 -4
  135. package/dist/blocks/share-links/index.d.ts +3 -3
  136. package/dist/blocks/shipments/index.d.ts +3 -3
  137. package/dist/blocks/signatures/index.d.ts +3 -3
  138. package/dist/blocks/signing-keys/index.d.ts +2 -2
  139. package/dist/blocks/sla/index.d.ts +3 -3
  140. package/dist/blocks/sso/index.d.ts +4 -4
  141. package/dist/blocks/state-machine/index.d.ts +3 -14
  142. package/dist/blocks/subjects/index.d.ts +3 -3
  143. package/dist/blocks/tags/index.d.ts +4 -4
  144. package/dist/blocks/tasks/index.d.ts +5 -5
  145. package/dist/blocks/teams/index.d.ts +3 -3
  146. package/dist/blocks/templates/index.d.ts +6 -6
  147. package/dist/blocks/time-tracking/index.d.ts +3 -3
  148. package/dist/blocks/timeline/index.d.ts +3 -3
  149. package/dist/blocks/trash/index.d.ts +3 -3
  150. package/dist/blocks/undo/index.d.ts +3 -3
  151. package/dist/blocks/updated-at/index.d.ts +1 -1
  152. package/dist/blocks/usage/index.d.ts +3 -3
  153. package/dist/blocks/vercel-marketplace/index.d.ts +3 -3
  154. package/dist/blocks/versions/index.d.ts +3 -3
  155. package/dist/blocks/waitlist/index.d.ts +3 -3
  156. package/dist/blocks/webhooks/index.d.ts +5 -5
  157. package/dist/blocks/workflow-editor/index.d.ts +7 -7
  158. package/dist/blocks/workflows/index.d.ts +5 -5
  159. package/dist/{bookings-Dj5cvXKv.d.ts → bookings-CHUzFwOI.d.ts} +3 -3
  160. package/dist/chat-sdk/index.d.ts +3 -3
  161. package/dist/claims/index.d.ts +4 -4
  162. package/dist/cli/{add-Ba8xoX4q.js → add-BGErz-yb.js} +10 -10
  163. package/dist/cli/add-CoP8iie6.js +1 -0
  164. package/dist/cli/{add-DKlk-VV9.js → add-DU5HAq6w.js} +2 -2
  165. package/dist/cli/{app-table-files-Dw02ao0W.js → app-table-files-Drzpekpt.js} +2 -2
  166. package/dist/cli/{app-tables-iSQ0c7G3.js → app-tables-dZpH63--.js} +2 -2
  167. package/dist/cli/{backfill-sYQgRuGd.js → backfill-B-p-19g6.js} +1 -1
  168. package/dist/cli/bin.js +1 -1
  169. package/dist/cli/{blocks-YKQzZhPK.js → blocks-Ews-FZZO.js} +1 -1
  170. package/dist/cli/{blocks-BAj3U18j.js → blocks-iUjNl5yJ.js} +1 -1
  171. package/dist/cli/{cache-BFSbb4is.js → cache-JT4JhdmX.js} +1 -1
  172. package/dist/cli/{codemod-vbToOtFK.js → codemod-KIxYiazj.js} +1 -1
  173. package/dist/cli/{content-mapper-COnyl3V7.js → content-mapper-DkXzxt6f.js} +2 -2
  174. package/dist/cli/{doctor-BTGesU_-.js → doctor-VWanOD74.js} +17 -17
  175. package/dist/cli/{gen-h1Ncsh1X.js → gen-_lBdTgaR.js} +11 -11
  176. package/dist/cli/index.d.ts +1 -1
  177. package/dist/cli/index.js +6 -6
  178. package/dist/cli/{init-DCy-FlB2.js → init-Cm6n4u_3.js} +8 -8
  179. package/dist/cli/{live-BUOVB-DV.js → live-D4iSuTmS.js} +2 -2
  180. package/dist/cli/{mcp-CLAjfETj.js → mcp-CHYX7utI.js} +2 -2
  181. package/dist/cli/{metadata-DqcJb3p5.js → metadata-DLba0VjH.js} +3 -3
  182. package/dist/cli/{migrate-dI1IaRan.js → migrate-nQhh0nEJ.js} +1 -1
  183. package/dist/cli/{migration-safety-Cj2AZdIH.js → migration-safety-C2d3BSTf.js} +1 -1
  184. package/dist/cli/{migrations-CFIlnOmr.js → migrations-BOmMcme9.js} +2 -2
  185. package/dist/cli/{module-migration-DteyIWzV.js → module-migration-DSDB473C.js} +2 -2
  186. package/dist/cli/{powersync-DWFvtUuZ.js → powersync-CAHvPkkb.js} +3 -3
  187. package/dist/cli/powersync-nH-NLDjy.js +1 -0
  188. package/dist/cli/{print-DUUGo-bA.js → print-CahE8HYK.js} +2 -2
  189. package/dist/cli/{providers-B4q4yMUv.js → providers-CL5Z5Uj4.js} +1 -1
  190. package/dist/cli/{prune-workflows-DhJX2wAQ.js → prune-workflows-C9xO0fRU.js} +1 -1
  191. package/dist/cli/{remove-BsAhvYpx.js → remove-DIy7gthm.js} +5 -5
  192. package/dist/cli/{render-CvRXYRSy.js → render-CoCZr3Ru.js} +3 -3
  193. package/dist/cli/{run-BY0fbQxQ.js → run-BBj137Fn.js} +27 -27
  194. package/dist/cli/{run-DxWZi4IJ.js → run-CVw8hmLk.js} +9 -9
  195. package/dist/cli/{shared-C_9DBYw-.js → shared-BdKeo7xp.js} +1 -1
  196. package/dist/cli/{snapshot-BAFwCE0l.js → snapshot-P2ww2xCt.js} +2 -2
  197. package/dist/cli/{source-CpnSlB6J.js → source-BCs4oBl2.js} +1 -1
  198. package/dist/cli/{spec-BMBYao_7.js → spec-oPbt9sbZ.js} +1 -1
  199. package/dist/cli/{spec-SNEhNUFc.js → spec-uCpXPLoF.js} +2 -2
  200. package/dist/cli/{sql-layout-CKFIMA8Y.js → sql-layout-Bsnge2oW.js} +2 -2
  201. package/dist/cli/{sync-DMMrYcyr.js → sync-Cv7iBRhe.js} +4 -4
  202. package/dist/cli/{upgrade-C1sSWUgx.js → upgrade-C6jWNxkc.js} +2 -2
  203. package/dist/cli/{upgrade-D9tsBxs0.js → upgrade-DV7jTRdh.js} +5 -5
  204. package/dist/cli/{version-DnpEuhUA.js → version-Hza4Q2PB.js} +1 -1
  205. package/dist/client/index.d.ts +5 -5
  206. package/dist/client/native/index.d.ts +4 -4
  207. package/dist/config/index.d.ts +2 -2
  208. package/dist/config/index.js +4 -4
  209. package/dist/{config-1-UmQczM.js → config-B7hnJFxh.js} +1 -1
  210. package/dist/{config-AEB5iNEO.js → config-DwXYtmwt.js} +4 -4
  211. package/dist/{connectors-DDsdz-cn.d.ts → connectors-OMJkoAP6.d.ts} +2 -2
  212. package/dist/{context-Cln1eg7-.d.ts → context-tFoygone.d.ts} +2 -2
  213. package/dist/contract/index.d.ts +4 -4
  214. package/dist/{controller-BQHh7VG5.d.ts → controller-phhsPHSz.d.ts} +1 -1
  215. package/dist/{conversion-CLBBITW5.d.ts → conversion-BShzA-u-.d.ts} +1 -1
  216. package/dist/create/index.d.ts +3 -3
  217. package/dist/create/index.js +3 -3
  218. package/dist/create/lite/index.d.ts +3 -3
  219. package/dist/create/lite/index.js +2 -2
  220. package/dist/{define-block-CDw9YGVh.d.ts → define-block-DBD7yhQg.d.ts} +5 -5
  221. package/dist/{documents-Btk0MhC0.d.ts → documents-CNVPrE_0.d.ts} +2 -2
  222. package/dist/{embeddings-CI6P_mtD.d.ts → embeddings-C2PBJ2Lx.d.ts} +1 -1
  223. package/dist/{entitlements-aN3jHcYL.d.ts → entitlements-LfW6S2RW.d.ts} +1 -1
  224. package/dist/eve/index.d.ts +5 -5
  225. package/dist/eve/index.js +1 -1
  226. package/dist/{eve-DleYrhwj.d.ts → eve-CtQd4iaO.d.ts} +2 -2
  227. package/dist/{executor-uNDJBzT8.d.ts → executor-DL7cZ-3T.d.ts} +1 -1
  228. package/dist/{field-errors-0V7t1-pz.d.ts → field-errors-CMWRPBmF.d.ts} +6 -6
  229. package/dist/{flags-Cuew4tGx.d.ts → flags-BrXfCmGB.d.ts} +1 -1
  230. package/dist/flags-sdk/index.d.ts +1 -1
  231. package/dist/{gateway-B9k89AC4.d.ts → gateway-DJX-XUWl.d.ts} +3 -3
  232. package/dist/{inbox-yGfUVQr2.d.ts → inbox-DiQ8KhG8.d.ts} +4 -4
  233. package/dist/{index-DAS_5OfK.d.ts → index-1_-lg9Gc.d.ts} +1 -1
  234. package/dist/{index-CCb0JjiX.d.ts → index-B-HuxATL.d.ts} +8 -8
  235. package/dist/{index-3JE4ptwV.d.ts → index-B21Pim3I.d.ts} +2 -2
  236. package/dist/{index-DWCo9ZUL.d.ts → index-BXkPvYzd.d.ts} +1 -1
  237. package/dist/{index-hmnB81h6.d.ts → index-D-uiT4Qz.d.ts} +3 -3
  238. package/dist/{index-D1harGe_.d.ts → index-RZqQdq1G.d.ts} +2 -2
  239. package/dist/{index-DoDmA-sQ.d.ts → index-X5igfnIi.d.ts} +2 -2
  240. package/dist/{index-C0jB70wR.d.ts → index-fmrLdtVT.d.ts} +1 -1
  241. package/dist/{instances-Bycf_aus.js → instances-DJOknCJ0.js} +13 -2
  242. package/dist/{knowledge-DWXAxvkN.d.ts → knowledge-DtECa_QW.d.ts} +4 -4
  243. package/dist/mapper/bin.js +5 -5
  244. package/dist/mcp/index.d.ts +1 -1
  245. package/dist/{messaging-Bfe4p9Pm.d.ts → messaging-CpQIhkFi.d.ts} +2 -2
  246. package/dist/next/index.d.ts +7 -7
  247. package/dist/{operations-TlhX7IZX.d.ts → operations-Cm4mSrAX.d.ts} +1 -1
  248. package/dist/{options-BXbixNrP.js → options-C5cLEJEa.js} +2 -1
  249. package/dist/{options-Bgnm4pTD.js → options-CzxG2Phg.js} +3 -0
  250. package/dist/otel/index.js +4 -4
  251. package/dist/{outbox-DikdzUKf.d.ts → outbox-Cpxpzcue.d.ts} +2 -2
  252. package/dist/{permissions-CwlRRwvr.d.ts → permissions-r0Cxhxos.d.ts} +1 -1
  253. package/dist/{ports-rJDkwtOQ.d.ts → ports-BJJJmfWK.d.ts} +1 -1
  254. package/dist/powersync/index.d.ts +2 -2
  255. package/dist/preset/index.d.ts +3 -3
  256. package/dist/preset/index.js +3 -3
  257. package/dist/{preset-DkeXFh7e.js → preset-U47pzJMK.js} +2 -2
  258. package/dist/{project-Bcs-4Pfw.js → project-Dng8tO8S.js} +5 -5
  259. package/dist/{push-token-BLQ09NeA.d.ts → push-token-CA31xmQr.d.ts} +1 -1
  260. package/dist/query/index.d.ts +1 -1
  261. package/dist/react/index.d.ts +5 -5
  262. package/dist/react/native/index.d.ts +1 -1
  263. package/dist/react/server.d.ts +5 -5
  264. package/dist/realtime/index.d.ts +3 -3
  265. package/dist/{record-form-C-gIxGXe.d.ts → record-form-C-1TPtMG.d.ts} +1 -1
  266. package/dist/{recordings-Bw5LoocX.d.ts → recordings-BVuri85k.d.ts} +1 -1
  267. package/dist/records/index.d.ts +8 -8
  268. package/dist/{sandboxes-BF9RxxCU.d.ts → sandboxes-DKgJZYUZ.d.ts} +1 -1
  269. package/dist/{scores-Ce8MxQX9.d.ts → scores-BXuSVczw.d.ts} +2 -2
  270. package/dist/server/index.d.ts +4 -4
  271. package/dist/{signers-Dw9DBZjJ.d.ts → signers-UANxMfH-.d.ts} +2 -2
  272. package/dist/{signing-keys-FglIQ6iL.d.ts → signing-keys-DhBSWFy_.d.ts} +2 -2
  273. package/dist/solid/index.d.ts +5 -5
  274. package/dist/sql/index.d.ts +5 -5
  275. package/dist/sql/index.js +3 -3
  276. package/dist/{sql-D-_Egz0E.js → sql-BudVz33a.js} +1183 -396
  277. package/dist/{sso-B7w7h8RJ.d.ts → sso-Frh3sbJ1.d.ts} +2 -2
  278. package/dist/ssr/index.d.ts +1 -1
  279. package/dist/{subjects-CVjAE7nz.d.ts → subjects-DNFE2rMl.d.ts} +2 -2
  280. package/dist/svelte/index.d.ts +5 -5
  281. package/dist/{tenant-BkW_auBX.d.ts → tenant-C2vnB0wX.d.ts} +1 -1
  282. package/dist/testing/index.d.ts +13 -13
  283. package/dist/testing/index.js +1 -1
  284. package/dist/{timeline-c6I3uxya.d.ts → timeline-BB9fKT_r.d.ts} +2 -2
  285. package/dist/{topic-L_8Qs5qs.d.ts → topic-CKN3kmoi.d.ts} +1 -1
  286. package/dist/{types-DtiDatvu.d.ts → types-D--4dv5K.d.ts} +3 -3
  287. package/dist/{types--PUNrvz8.d.ts → types-D8Tltfdq.d.ts} +2 -2
  288. package/dist/{types-BXLiM6VM.d.ts → types-DCzgSAlU.d.ts} +2 -2
  289. package/dist/{types-6PMaLIyw.d.ts → types-DU_nNO7U.d.ts} +2 -2
  290. package/dist/{types-BdhE7I8Z.d.ts → types-LLCyr-xs.d.ts} +2 -2
  291. package/dist/{types-D5uf0l4_.d.ts → types-kq8S5HVE.d.ts} +1 -1
  292. package/dist/{types-C7K8mu9B.d.ts → types-z31g0-5T.d.ts} +3 -3
  293. package/dist/{undo-CdKp5_2X.d.ts → undo-BCQMqIQN.d.ts} +1 -1
  294. package/dist/{usage-DZ8j5Tm_.d.ts → usage-CJDj5j15.d.ts} +3 -3
  295. package/dist/vercel-sandbox/index.d.ts +1 -1
  296. package/dist/vue/index.d.ts +5 -5
  297. package/dist/{watch-topic-B9aKuw5v.d.ts → watch-topic-0dXuJMuE.d.ts} +1 -1
  298. package/dist/workflow-sdk/builder/index.d.ts +3 -3
  299. package/dist/workflow-sdk/index.d.ts +1 -1
  300. package/dist/workflow-sdk/world/index.js +1 -1
  301. package/dist/{workflow-sdk-CUt0E4v6.d.ts → workflow-sdk-DzKQo265.d.ts} +2 -2
  302. package/dist/{workflow-sdk-6psRpDIo.js → workflow-sdk-vXuxBSrk.js} +20 -1
  303. package/dist/{workflows-BI4yKqFh.d.ts → workflows-D7HvWeNu.d.ts} +2 -2
  304. package/dist/yjs/index.d.ts +2 -2
  305. package/package.json +1 -1
  306. package/schemas/config-v1.json +26 -0
  307. package/skills/better-supabase/SKILL.md +26 -8
  308. package/dist/cli/add-BCkaPIvM.js +0 -1
  309. package/dist/cli/powersync-D-1aQ3C6.js +0 -1
@@ -1,5 +1,5 @@
1
- import { d as TypegenMissingError, i as parseSnapshot } from "./snapshot-BAFwCE0l.js";
2
- import { a as toCatalog } from "./source-CpnSlB6J.js";
1
+ import { d as TypegenMissingError, i as parseSnapshot } from "./snapshot-P2ww2xCt.js";
2
+ import { a as toCatalog } from "./source-BCs4oBl2.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";
@@ -2,10 +2,10 @@ import { n as CliError } from "./errors-DcJ_PayO.js";
2
2
  import { t as display } from "./io-CQzy8PEZ.js";
3
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";
4
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";
5
- import { a as sqlPlan, n as migrationsDir } from "./sql-layout-CKFIMA8Y.js";
6
- import { r as layoutFor } from "./providers-B4q4yMUv.js";
7
- import { a as writeExtensionsMigration, t as DATA_NEXT } from "./migrations-CFIlnOmr.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-DteyIWzV.js";
5
+ import { a as sqlPlan, n as migrationsDir } from "./sql-layout-Bsnge2oW.js";
6
+ import { r as layoutFor } from "./providers-CL5Z5Uj4.js";
7
+ import { a as writeExtensionsMigration, t as DATA_NEXT } from "./migrations-BOmMcme9.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-DSDB473C.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,8 +1,8 @@
1
1
  import { m as commandMeta, r as defineCliCommand } from "./command-67WobzTC.js";
2
2
  import { i as plain } from "./style-B5-nByxb.js";
3
- import { t as syncModules } from "./sync-DMMrYcyr.js";
3
+ import { t as syncModules } from "./sync-Cv7iBRhe.js";
4
4
  import { t as SQL_ARGS } from "./args-_ZVgRBkx.js";
5
- import { t as upgrade } from "./upgrade-D9tsBxs0.js";
5
+ import { t as upgrade } from "./upgrade-DV7jTRdh.js";
6
6
  // src/cli/commands/upgrade.ts
7
7
  const UPGRADE_ARGS = {
8
8
  check: {
@@ -1,10 +1,10 @@
1
1
  import { t as display } from "./io-CQzy8PEZ.js";
2
2
  import { d as fileDiff, i as changeLines, r as applyPlan } from "./files-DQayErI8.js";
3
- import { a as sqlPlan, n as migrationsDir } from "./sql-layout-CKFIMA8Y.js";
4
- import { r as layoutFor } from "./providers-B4q4yMUv.js";
5
- import { r as migrationStamp } from "./migrations-CFIlnOmr.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-DteyIWzV.js";
7
- import { a as write, o as topicPolicyFile, r as nextStep } from "./sync-DMMrYcyr.js";
3
+ import { a as sqlPlan, n as migrationsDir } from "./sql-layout-Bsnge2oW.js";
4
+ import { r as layoutFor } from "./providers-CL5Z5Uj4.js";
5
+ import { r as migrationStamp } from "./migrations-BOmMcme9.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-DSDB473C.js";
7
+ import { a as write, o as topicPolicyFile, r as nextStep } from "./sync-Cv7iBRhe.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,3 +1,3 @@
1
1
  // src/cli/version.ts
2
- const VERSION = "0.39.0";
2
+ const VERSION = "0.41.0";
3
3
  export { VERSION as t };
@@ -1,8 +1,8 @@
1
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-CX1oYDZl.js";
2
- import { n as TopicPort, r as TopicWatch, t as TopicHandle } from "../watch-topic-B9aKuw5v.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-rJDkwtOQ.js";
4
- import { a as ClientAuth, i as BindClientOptions, n as AuthUser, o as bindClient, r as BetterClient, t as AuthSnapshot } from "../bind-DsDKjuQn.js";
5
- import { a as defineController, i as ControllerState, n as Controller, o as whileSignedIn, r as ControllerParts, t as AuthPort } from "../controller-BQHh7VG5.js";
2
+ import { n as TopicPort, r as TopicWatch, t as TopicHandle } from "../watch-topic-0dXuJMuE.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-BJJJmfWK.js";
4
+ import { a as ClientAuth, i as BindClientOptions, n as AuthUser, o as bindClient, r as BetterClient, t as AuthSnapshot } from "../bind-XrFxNm5r.js";
5
+ import { a as defineController, i as ControllerState, n as Controller, o as whileSignedIn, r as ControllerParts, t as AuthPort } from "../controller-phhsPHSz.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-D1harGe_.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-RZqQdq1G.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 };
@@ -1,9 +1,9 @@
1
1
  import { t as AsyncResult } from "../../result-DTOQRyGY.js";
2
2
  import { T as UploadOptions, w as UploadBody } from "../../bucket-CrsJNHzi.js";
3
- import { n as TopicPort, r as TopicWatch, t as TopicHandle } from "../../watch-topic-B9aKuw5v.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-rJDkwtOQ.js";
5
- import { a as ClientAuth, i as BindClientOptions, n as AuthUser, o as bindClient, r as BetterClient, t as AuthSnapshot } from "../../bind-DsDKjuQn.js";
6
- import { n as ExpoPushTokenOptions, r as expoPushToken, t as ExpoNotificationsLike } from "../../push-token-BLQ09NeA.js";
3
+ import { n as TopicPort, r as TopicWatch, t as TopicHandle } from "../../watch-topic-0dXuJMuE.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-BJJJmfWK.js";
5
+ import { a as ClientAuth, i as BindClientOptions, n as AuthUser, o as bindClient, r as BetterClient, t as AuthSnapshot } from "../../bind-XrFxNm5r.js";
6
+ import { n as ExpoPushTokenOptions, r as expoPushToken, t as ExpoNotificationsLike } from "../../push-token-CA31xmQr.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,6 +1,6 @@
1
1
  import { N as Casing } from "../types-BzIYSSWK.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-DQZ8Lrp5.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-Cln1eg7-.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-CS5Q1V7A.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-tFoygone.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
- import { c as CONFIG_DEFAULTS, n as blockEntityRenames, r as blockSubjectTypes, s as resolveJsonSchema, t as blockEntities } from "../block-subjects-CINiJW1R.js";
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-1-UmQczM.js";
1
+ import { c as resolveJsonSchema, l as CONFIG_DEFAULTS, n as blockEntityRenames, r as blockSubjectTypes, t as blockEntities } from "../block-subjects-Bz95_dqA.js";
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-B7hnJFxh.js";
3
3
  import { a as tenantClaimPaths, r as claimPaths, t as DEFAULT_CLAIMS } from "../claims-CqTr_N1n.js";
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-Bycf_aus.js";
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-DJOknCJ0.js";
5
5
  import { r as FIELD_FORMATS } from "../field-formats-Cap-V7UP.js";
6
- import { a as factories, c as resolveConfig, i as nuqs, l as providerApiProblem, n as valibot, o as CONFIG_SCHEMA_URL, r as standardSchema, s as defineConfig, t as zod } from "../config-AEB5iNEO.js";
6
+ import { a as factories, c as resolveConfig, i as nuqs, l as providerApiProblem, n as valibot, o as CONFIG_SCHEMA_URL, r as standardSchema, s as defineConfig, t as zod } from "../config-DwXYtmwt.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,5 +1,5 @@
1
1
  import { t as DEFAULT_TENANT } from "./entity-naming-BES3pkQI.js";
2
- import { F as asBlocksConfig, M as PRESET_CATALOG } from "./instances-Bycf_aus.js";
2
+ import { F as asBlocksConfig, M as PRESET_CATALOG } from "./instances-DJOknCJ0.js";
3
3
  // src/config/names.ts
4
4
  /** The steps `better-supabase gen` runs, in the order it runs them. */
5
5
  const GEN_TASKS = [
@@ -1,8 +1,8 @@
1
- import { a as withBlockSubjects, c as CONFIG_DEFAULTS } from "./block-subjects-CINiJW1R.js";
2
- import { A as flattenConfig, n as expandFlatPreset, r as expandPreset } from "./config-1-UmQczM.js";
1
+ import { a as withBlockSubjects, l as CONFIG_DEFAULTS } from "./block-subjects-Bz95_dqA.js";
2
+ import { A as flattenConfig, n as expandFlatPreset, r as expandPreset } from "./config-B7hnJFxh.js";
3
3
  import { t as DEFAULT_CLAIMS } from "./claims-CqTr_N1n.js";
4
4
  import { o as tenantNames } from "./entity-naming-BES3pkQI.js";
5
- import { L as tenantNameOf, _ as appTablesOf, o as resolveInstances, r as blocksByName, v as withAppTableSubjects } from "./instances-Bycf_aus.js";
5
+ import { L as tenantNameOf, _ as appTablesOf, o as resolveInstances, r as blocksByName, v as withAppTableSubjects } from "./instances-DJOknCJ0.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";
7
7
  // src/config/authorization.ts
8
8
  /**
@@ -233,7 +233,7 @@ function resolveConfig(input, root) {
233
233
  entitlements: entitlementsOf(config.entitlements, config.authorization !== void 0),
234
234
  ...config.authorization === void 0 ? {} : { authorization: authorizationOf(config.authorization) },
235
235
  vectorSearch: vectorSearchOf(config.vectorSearch),
236
- subjects: withBlockSubjects(withAppTableSubjects(config.subjects ?? {}, appTables, config.sql?.scope, tenantName), blocks.blockNames, blocks.blocks),
236
+ subjects: withBlockSubjects(withAppTableSubjects(config.subjects ?? {}, appTables, config.sql?.scope, tenantName), blocks.blockNames, blocks.blocks, config.sql?.tenantColumn),
237
237
  sql: {
238
238
  ...config.sql?.workflow === void 0 ? {} : { workflow: config.sql.workflow },
239
239
  dir: config.sql?.dir ?? CONFIG_DEFAULTS.sql.dir,
@@ -4,9 +4,9 @@ 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
6
  import { i as CredentialRef, r as CredentialProvider } from "./provider-CVlXXbda.js";
7
- import { r as BlockTemporalOptions } from "./block-helpers-BNtM1tqy.js";
7
+ import { r as BlockTemporalOptions } from "./block-helpers-Sj-efEhC.js";
8
8
  import { t as BlockTransport } from "./block-transport-CDmOUuLZ.js";
9
- import { n as BlockHooks } from "./block-hooks-CtMsgLQr.js";
9
+ import { n as BlockHooks } from "./block-hooks-VW4knarE.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
2
  import { F as ClaimsMeta, M as BucketPolicyName, N as Casing, T as AccessBucketPolicy, st as SchemaMeta, vt as BucketLifecycle } from "./types-BzIYSSWK.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-DQZ8Lrp5.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-CDw9YGVh.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-CS5Q1V7A.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-DBD7yhQg.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";
@@ -1,12 +1,12 @@
1
1
  import { $t as AuthorizationSubject, D as AccessTopicPolicy, E as AccessPolicySql, Gt as AuthorizationChange, Jt as AuthorizationOutcome, Kt as AuthorizationContext, Qt as AuthorizationResourceSource, T as AccessBucketPolicy, Ut as AnyAuthorizer, Wt as AuthorizationCallKind, Xt as AuthorizationRequest, Yt as AuthorizationPurpose, Zt as AuthorizationResource, en as Authorizer, in as RequestMemo, nn as AuthzVersionCache, qt as AuthorizationIntent, rn as PermissionRef, tn as AuthorizerRuntime } from "../types-BzIYSSWK.js";
2
2
  import { m as SessionSnapshot } from "../resolve-XlMQRUeG.js";
3
3
  import { r as CredentialProvider } from "../provider-CVlXXbda.js";
4
- 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-DQZ8Lrp5.js";
4
+ 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-CS5Q1V7A.js";
5
5
  import { _ as SupportAuthorize, g as SubscriberPolicy, i as AuthorizationHooks, v as SupportAuthorizeInput } from "../authorization-hooks-CR8TVvqo.js";
6
6
  import { n as ApprovalOptions } from "../server-types-DpI82uNq.js";
7
- import { s as ApiKeyResolverOptions } from "../api-keys-BncNDlWG.js";
8
- import { a as ToolDecision, n as McpOptions, s as ToolRef } from "../index-C0jB70wR.js";
9
- import { n as BlockTables, t as BlockTable } from "../block-tables-DYFRvRWW.js";
7
+ import { s as ApiKeyResolverOptions } from "../api-keys-U3JQ8IlM.js";
8
+ import { a as ToolDecision, n as McpOptions, s as ToolRef } from "../index-fmrLdtVT.js";
9
+ import { n as BlockTables, t as BlockTable } from "../block-tables-EXcmuOJT.js";
10
10
  /**
11
11
  * The types an authorization library implements or reads, in one entry with no
12
12
  * runtime code. Every slot is versioned `apiVersion: 1`; a breaking change to
@@ -1,4 +1,4 @@
1
- import { a as ClientAuth } from "./bind-DsDKjuQn.js";
1
+ import { a as ClientAuth } from "./bind-XrFxNm5r.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-CDw9YGVh.js";
2
+ import { Bt as Action, Ht as ActionContext, Vt as ActionCall } from "./define-block-DBD7yhQg.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-Cln1eg7-.js";
3
- import { E as CreateDesign, b as DesignChange } from "../index-DWCo9ZUL.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--PUNrvz8.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-tFoygone.js";
3
+ import { E as CreateDesign, b as DesignChange } from "../index-BXkPvYzd.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-D8Tltfdq.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
- import { k as APP_ON_DELETE_ACTIONS } from "../instances-Bycf_aus.js";
2
- import { m as diffDesigns } from "../preset-DkeXFh7e.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-Bcs-4Pfw.js";
1
+ import { k as APP_ON_DELETE_ACTIONS } from "../instances-DJOknCJ0.js";
2
+ import { m as diffDesigns } from "../preset-U47pzJMK.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-Dng8tO8S.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
1
  import { st as SchemaMeta } from "../../types-BzIYSSWK.js";
2
- import { Tt as PresetInput } from "../../context-Cln1eg7-.js";
3
- import { E as CreateDesign } from "../../index-DWCo9ZUL.js";
4
- import { Tt as Issue, t as PresetMigrationFile, u as Design } from "../../types--PUNrvz8.js";
2
+ import { Tt as PresetInput } from "../../context-tFoygone.js";
3
+ import { E as CreateDesign } from "../../index-BXkPvYzd.js";
4
+ import { Tt as Issue, t as PresetMigrationFile, u as Design } from "../../types-D8Tltfdq.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
- import { y as appDefaultError } from "../../instances-Bycf_aus.js";
2
- import { n as loadProject } from "../../project-Bcs-4Pfw.js";
1
+ import { y as appDefaultError } from "../../instances-DJOknCJ0.js";
2
+ import { n as loadProject } from "../../project-Dng8tO8S.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
@@ -6,18 +6,18 @@ import { et as RecordRef } from "./types-BzIYSSWK.js";
6
6
  import { Ct as Events, D as BlockEventPattern, T as BlockEvent, bt as EventMap, k as BlockEventsMatching, o as EventHub, wt as MergedEventMap, xt as EventMapOf } from "./events-DddDlibJ.js";
7
7
  import { n as Logger } from "./logger-0LfhvwE4.js";
8
8
  import { i as CredentialRef, o as CredentialToken, r as CredentialProvider } from "./provider-CVlXXbda.js";
9
- import { a as BlockTenantOptions, n as BlockOptions, r as BlockTemporalOptions } from "./block-helpers-BNtM1tqy.js";
9
+ import { n as BlockOptions, o as BlockTenantOptions, r as BlockTemporalOptions } from "./block-helpers-Sj-efEhC.js";
10
10
  import { r as DbTransportSource, t as BlockTransport } from "./block-transport-CDmOUuLZ.js";
11
- import { a as BlockTransportMiddleware, n as BlockHooks } from "./block-hooks-CtMsgLQr.js";
12
- import { f as AiFiles, y as UploadClaimStorage } from "./types-6PMaLIyw.js";
13
- import { _ as JobHandler } from "./types-BdhE7I8Z.js";
11
+ import { a as BlockTransportMiddleware, n as BlockHooks } from "./block-hooks-VW4knarE.js";
12
+ import { f as AiFiles, y as UploadClaimStorage } from "./types-DU_nNO7U.js";
13
+ import { _ as JobHandler } from "./types-LLCyr-xs.js";
14
14
  import { t as BlockOptionsSchema } from "./options-CRwTY_q2.js";
15
15
  import { t as Author } from "./block-authors-C5z3tGVu.js";
16
16
  import { d as BlockInstanceSurface } from "./define-C_He1bQO.js";
17
17
  import { A as TtlPreset, C as TransformOptions, j as StorageApi, l as ImageTransform } from "./bucket-CrsJNHzi.js";
18
18
  import { i as FieldSpec, n as TableSchema, o as TableSchemaSpec } from "./table-schema-CwXg7oBz.js";
19
19
  import { i as EventSink } from "./cloud-event-BjgxkfJJ.js";
20
- import { g as Workflows } from "./workflows-BI4yKqFh.js";
20
+ import { g as Workflows } from "./workflows-D7HvWeNu.js";
21
21
  import { StandardSchemaV1 } from "@standard-schema/spec";
22
22
  /** A noun in its singular and plural snake_case forms, e.g. `work_item`. */
23
23
  interface EntityNoun {
@@ -1,9 +1,9 @@
1
1
  /// <reference lib="esnext.temporal" />
2
2
  import { T as ErrorMapper, t as AsyncResult } from "./result-DTOQRyGY.js";
3
3
  import { n as Logger } from "./logger-0LfhvwE4.js";
4
- import { r as BlockTemporalOptions } from "./block-helpers-BNtM1tqy.js";
4
+ import { r as BlockTemporalOptions } from "./block-helpers-Sj-efEhC.js";
5
5
  import { t as BlockTransport } from "./block-transport-CDmOUuLZ.js";
6
- import { n as BlockHooks } from "./block-hooks-CtMsgLQr.js";
6
+ import { n as BlockHooks } from "./block-hooks-VW4knarE.js";
7
7
  interface DocumentsOptions extends BlockTemporalOptions {
8
8
  readonly transport: BlockTransport;
9
9
  /**
@@ -1,4 +1,4 @@
1
- import { d as KnowledgeSearchOptions, n as Embedder, o as KnowledgeHit, r as Knowledge } from "./knowledge-DWXAxvkN.js";
1
+ import { d as KnowledgeSearchOptions, n as Embedder, o as KnowledgeHit, r as Knowledge } from "./knowledge-DtECa_QW.js";
2
2
  import { EmbeddingModel, RerankingModel, SourceDocumentUIPart, Tool, embedMany } from "ai";
3
3
  type ProviderOptions = Parameters<typeof embedMany>[0]["providerOptions"];
4
4
  interface EmbedWithOptions {
@@ -1,4 +1,4 @@
1
- import { t as AuthSnapshot } from "./bind-DsDKjuQn.js";
1
+ import { t as AuthSnapshot } from "./bind-XrFxNm5r.js";
2
2
  import { n as AuthSession } from "./view-eHgOOyRS.js";
3
3
  /** Verified claims, read by name. */
4
4
  type ClaimsRecord = Readonly<Record<string, unknown>>;
@@ -3,11 +3,11 @@ import { It as RequestContext } from "../types-BzIYSSWK.js";
3
3
  import { a as ResolveAuthOptions, r as AuthState } from "../resolve-XlMQRUeG.js";
4
4
  import { i as CredentialRef, r as CredentialProvider } from "../provider-CVlXXbda.js";
5
5
  import { r as DbTransportSource, t as BlockTransport } from "../block-transport-CDmOUuLZ.js";
6
- import { j as ScheduleOptions } from "../types-BdhE7I8Z.js";
7
- import { R as AiToolPolicy, t as AiChat } from "../ai-chat-BZhfCHHr.js";
8
- import { p as Approvals } from "../approvals-CXW3yFWZ.js";
9
- import { a as Inbox } from "../inbox-yGfUVQr2.js";
10
- import { S as EveToolContext, _ as EveApprovalResponseDecision, a as EveMemoryToolsContext, b as EveSessionContext, c as MemoryDocumentConflictError, d as supabaseDocumentBackend, f as supabaseMemory, g as EveApprovalResponseContext, h as EveApprovalPolicy, i as EveMemoryTool, l as SupabaseDocumentBackendOptions, m as EveApprovalContext, n as EveMemoryContext, o as EveRecallMessage, p as EveApprovalConfiguration, r as EveMemoryProvider, s as EveRecallResult, t as EveDocumentBackend, u as SupabaseMemoryOptions, v as EveApprovalStatus, x as EveToolApproval, y as EveSessionAuth } from "../eve-DleYrhwj.js";
6
+ import { j as ScheduleOptions } from "../types-LLCyr-xs.js";
7
+ import { R as AiToolPolicy, t as AiChat } from "../ai-chat-rQ7Ftq9W.js";
8
+ import { h as Approvals } from "../approvals-CTVaWq1O.js";
9
+ import { a as Inbox } from "../inbox-DiQ8KhG8.js";
10
+ import { S as EveToolContext, _ as EveApprovalResponseDecision, a as EveMemoryToolsContext, b as EveSessionContext, c as MemoryDocumentConflictError, d as supabaseDocumentBackend, f as supabaseMemory, g as EveApprovalResponseContext, h as EveApprovalPolicy, i as EveMemoryTool, l as SupabaseDocumentBackendOptions, m as EveApprovalContext, n as EveMemoryContext, o as EveRecallMessage, p as EveApprovalConfiguration, r as EveMemoryProvider, s as EveRecallResult, t as EveDocumentBackend, u as SupabaseMemoryOptions, v as EveApprovalStatus, x as EveToolApproval, y as EveSessionAuth } from "../eve-CtQd4iaO.js";
11
11
  import { StandardSchemaV1 } from "@standard-schema/spec";
12
12
  /** The user a tool runs as when the session has no Supabase user. */
13
13
  interface EveRunAs {
package/dist/eve/index.js CHANGED
@@ -7,7 +7,7 @@ import { r as agentClaims } from "../actor-B5b0i1Fs.js";
7
7
  import { V as dbTransport } from "../block-helpers-I7UzjNEf.js";
8
8
  import { t as isAnonymousUser } from "../view-Ch0Qtr36.js";
9
9
  import { r as resolveAuth } from "../resolve-CZV31iCm.js";
10
- import { n as createApprovals } from "../approvals-D8gR1R8R.js";
10
+ import { n as createApprovals } from "../approvals-Qjn42OAZ.js";
11
11
  // src/eve/ids.ts
12
12
  /**
13
13
  * A UUID (version 8) from the SHA-256 of `input`, so the same input always gets
@@ -1,5 +1,5 @@
1
- import { d as KnowledgeSearchOptions, r as Knowledge } from "./knowledge-DWXAxvkN.js";
2
- import { t as Memory } from "./types-C7K8mu9B.js";
1
+ import { d as KnowledgeSearchOptions, r as Knowledge } from "./knowledge-DtECa_QW.js";
2
+ import { t as Memory } from "./types-z31g0-5T.js";
3
3
  /**
4
4
  * Eve's `SessionAuthContext`, typed structurally so this entry never imports
5
5
  * eve. `attributes` carries `tenantId`, `roles` and `isAnonymous`.
@@ -1,4 +1,4 @@
1
- import { G as WorkflowGraph, Z as WorkflowNodeKindInfo } from "./types-DtiDatvu.js";
1
+ import { G as WorkflowGraph, Z as WorkflowNodeKindInfo } from "./types-D--4dv5K.js";
2
2
  /** The record a run belongs to. */
3
3
  interface GraphSubject {
4
4
  readonly type: string;
@@ -1,14 +1,14 @@
1
1
  import { b as DbError, f as Result } from "./result-DTOQRyGY.js";
2
2
  import { o as EventHub } from "./events-DddDlibJ.js";
3
- import { o as BlockTenant } from "./block-helpers-BNtM1tqy.js";
3
+ import { s as BlockTenant } from "./block-helpers-Sj-efEhC.js";
4
4
  import { mt as QuerySpec } from "./define-C_He1bQO.js";
5
5
  import { tt as TemplateValues } from "./bucket-CrsJNHzi.js";
6
6
  import { n as DataEngine } from "./data-engine-CX1oYDZl.js";
7
- import { Dn as GeneratedBlocks } from "./define-block-CDw9YGVh.js";
8
- import { _ as TopicMessage, c as RealtimeClient, d as SubscribeOptions, i as PresenceOptions, s as PresenceSubscription } from "./topic-L_8Qs5qs.js";
9
- import { t as ClientPorts } from "./ports-rJDkwtOQ.js";
10
- import { a as ClientAuth } from "./bind-DsDKjuQn.js";
11
- import { a as LiveSource, r as LiveCountSeed } from "./index-DoDmA-sQ.js";
7
+ import { Dn as GeneratedBlocks } from "./define-block-DBD7yhQg.js";
8
+ import { _ as TopicMessage, c as RealtimeClient, d as SubscribeOptions, i as PresenceOptions, s as PresenceSubscription } from "./topic-CKN3kmoi.js";
9
+ import { t as ClientPorts } from "./ports-BJJJmfWK.js";
10
+ import { a as ClientAuth } from "./bind-XrFxNm5r.js";
11
+ import { a as LiveSource, r as LiveCountSeed } from "./index-X5igfnIi.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 { T as ErrorMapper } from "./result-DTOQRyGY.js";
2
- import { r as BlockTemporalOptions } from "./block-helpers-BNtM1tqy.js";
2
+ import { r as BlockTemporalOptions } from "./block-helpers-Sj-efEhC.js";
3
3
  import { t as BlockTransport } from "./block-transport-CDmOUuLZ.js";
4
4
  type FlagType = "boolean" | "string" | "number" | "object";
5
5
  type FlagValue = boolean | string | number | null | FlagValue[] | {
@@ -1,5 +1,5 @@
1
1
  import { r as AuthState } from "../resolve-XlMQRUeG.js";
2
- import { a as FlagContextOptions, b as FlagsProvider, i as FlagContext, s as FlagDefinition, x as FlagsProviderOptions, y as FlagValue } from "../flags-Cuew4tGx.js";
2
+ import { a as FlagContextOptions, b as FlagsProvider, i as FlagContext, s as FlagDefinition, x as FlagsProviderOptions, y as FlagValue } from "../flags-BrXfCmGB.js";
3
3
  import { t as FLAG_OVERRIDES_COOKIE } from "../cookie-DDkqvqe4.js";
4
4
  /** One Flags SDK entity; Vercel Flags targets it as `<name>.id`. */
5
5
  interface FlagsSdkEntity {
@@ -1,8 +1,8 @@
1
1
  /// <reference lib="esnext.temporal" />
2
2
  import { b as DbError } from "./result-DTOQRyGY.js";
3
- import { _ as JobHandler } from "./types-BdhE7I8Z.js";
4
- import { b as AiModelInput, t as AiChat } from "./ai-chat-BZhfCHHr.js";
5
- import { a as Usage, c as UsageEntry, h as UsageStatus } from "./usage-DZ8j5Tm_.js";
3
+ import { _ as JobHandler } from "./types-LLCyr-xs.js";
4
+ import { b as AiModelInput, t as AiChat } from "./ai-chat-rQ7Ftq9W.js";
5
+ import { a as Usage, c as UsageEntry, h as UsageStatus } from "./usage-CJDj5j15.js";
6
6
  import { LanguageModelUsage } from "ai";
7
7
  /** Token counts and the gateway's cost of one generation. */
8
8
  interface AiUsage {
@@ -1,11 +1,11 @@
1
1
  /// <reference lib="esnext.temporal" />
2
2
  import { T as ErrorMapper, t as AsyncResult } from "./result-DTOQRyGY.js";
3
3
  import { n as Logger } from "./logger-0LfhvwE4.js";
4
- import { i as CursorPageOptions, r as BlockTemporalOptions } from "./block-helpers-BNtM1tqy.js";
4
+ import { i as CursorPageOptions, r as BlockTemporalOptions } from "./block-helpers-Sj-efEhC.js";
5
5
  import { t as BlockTransport } from "./block-transport-CDmOUuLZ.js";
6
- import { n as BlockHooks } from "./block-hooks-CtMsgLQr.js";
7
- import { p as MessageReaction } from "./messaging-Bfe4p9Pm.js";
8
- import { S as StoredInboundEvent, a as ConversationEvent, b as PurgedContact, c as DeliveryStatus, d as InboxCounts, f as InboxFileSource, h as InboxUpload, i as Conversation, l as InboundResult, m as InboxRow, n as BotMode, o as ConversationPriority, p as InboxMessage, r as Contact, s as ConversationStatus, u as InboxChannel, v as MessageTemplate, x as ScheduledInboxMessage, y as PendingInboxFile } from "./types-D5uf0l4_.js";
6
+ import { n as BlockHooks } from "./block-hooks-VW4knarE.js";
7
+ import { p as MessageReaction } from "./messaging-CpQIhkFi.js";
8
+ import { S as StoredInboundEvent, a as ConversationEvent, b as PurgedContact, c as DeliveryStatus, d as InboxCounts, f as InboxFileSource, h as InboxUpload, i as Conversation, l as InboundResult, m as InboxRow, n as BotMode, o as ConversationPriority, p as InboxMessage, r as Contact, s as ConversationStatus, u as InboxChannel, v as MessageTemplate, x as ScheduledInboxMessage, y as PendingInboxFile } from "./types-kq8S5HVE.js";
9
9
  /** `user` drafts belong to their author; `ai` drafts to the inbox's staff. */
10
10
  type InboxDraftSource = "user" | "ai";
11
11
  type InboxDraftStatus = "draft" | "sent" | "discarded";
@@ -5,7 +5,7 @@ import { O as AnyFunctions, Q as PrimaryKeyValue, dt as TableKey, et as RecordRe
5
5
  import { o as EventHub } from "./events-DddDlibJ.js";
6
6
  import { A as OffsetPageArgs, At as GetArgs, B as Returned, C as FindExt, Ct as AggregateResult, G as UpsertArgs, Ot as CountArgs, Pt as ListArgs, Qt as CacheAdapter, S as DeleteExt, Vt as Payload, W as UpdateArgs, _ as CursorPage, bt as AggregateArgs, j as OffsetRangeArgs, k as OffsetPage, mt as QuerySpec, pt as InferResult, q as WriteArgs, t as BetterSupabase, v as CursorPageArgs, w as GetKey, x as DeleteArgs, y as Db } from "./define-C_He1bQO.js";
7
7
  import { n as DataEngine, r as DataEngineOptions } from "./data-engine-CX1oYDZl.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-CDw9YGVh.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-DBD7yhQg.js";
9
9
  import { t as BetterQueryMeta } from "./invalidate-DAB9CaPm.js";
10
10
  import { DataTag, InfiniteData, QueryClient, SkipToken } from "@tanstack/query-core";
11
11
  import { StandardSchemaV1 } from "@standard-schema/spec";
@@ -4,16 +4,16 @@ import { Ct as Events, D as BlockEventPattern, T as BlockEvent, bt as EventMap,
4
4
  import { mt as QuerySpec } from "./define-C_He1bQO.js";
5
5
  import { A as TtlPreset, C as TransformOptions, E as UrlOptions, T as UploadOptions, l as ImageTransform, tt as TemplateValues, w as UploadBody } from "./bucket-CrsJNHzi.js";
6
6
  import { m as RejectedChange, o as DataSyncState } from "./data-engine-CX1oYDZl.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-DAS_5OfK.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-L_8Qs5qs.js";
9
- import { t as AuthSnapshot } from "./bind-DsDKjuQn.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-1_-lg9Gc.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-CKN3kmoi.js";
9
+ import { t as AuthSnapshot } from "./bind-XrFxNm5r.js";
10
10
  import { n as AuthSession } from "./view-eHgOOyRS.js";
11
- import { r as LiveCountSeed, v as RelayClientOptions } from "./index-DoDmA-sQ.js";
12
- import { n as Controller } from "./controller-BQHh7VG5.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-0V7t1-pz.js";
14
- import { t as BlockEnv } from "./block-env-mNi2rPSF.js";
11
+ import { r as LiveCountSeed, v as RelayClientOptions } from "./index-X5igfnIi.js";
12
+ import { n as Controller } from "./controller-phhsPHSz.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-CMWRPBmF.js";
14
+ import { t as BlockEnv } from "./block-env-CHFHOjvz.js";
15
15
  import { n as BlockDataOf, r as BlockMethodName, t as BlockArgsOf } from "./block-method-QSaPsL2P.js";
16
- import { s as RecordFormValues, t as RecordForm } from "./record-form-C-gIxGXe.js";
16
+ import { s as RecordFormValues, t as RecordForm } from "./record-form-C-1TPtMG.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";
@@ -1,7 +1,7 @@
1
1
  import { E as AccessPolicySql } from "./types-BzIYSSWK.js";
2
- import { p as AnyBlocksConfig, t as AuthorizationFunctions } from "./authorization-DQZ8Lrp5.js";
2
+ import { p as AnyBlocksConfig, t as AuthorizationFunctions } from "./authorization-CS5Q1V7A.js";
3
3
  import { nt as ReadSet } from "./define-C_He1bQO.js";
4
- import { R as TableGrant, Tr as AppTableConfig, Vr as CatalogPolicy, _ as BlockSqlDeprecation, b as BlockSqlLayout, c as BlockSqlIdType, cn as ResolvedConfig, g as BlockSqlAccessProvider, h as BlockSql, o as BlockSqlContractFunction, v as BlockSqlEntitlementsProvider, y as BlockSqlFile } from "./context-Cln1eg7-.js";
4
+ import { R as TableGrant, Tr as AppTableConfig, Vr as CatalogPolicy, _ as BlockSqlDeprecation, b as BlockSqlLayout, c as BlockSqlIdType, cn as ResolvedConfig, g as BlockSqlAccessProvider, h as BlockSql, o as BlockSqlContractFunction, v as BlockSqlEntitlementsProvider, y as BlockSqlFile } from "./context-tFoygone.js";
5
5
  import { t as SubjectConfig } from "./subjects-BGwLJ3IB.js";
6
6
  /** A module's SQL for `layout`, without header; `undefined` in custom mode. */
7
7
  declare function moduleBody(name: string, layout?: BlockSqlLayout): string | undefined;
@@ -1,4 +1,4 @@
1
- import { Ar as AppTablesConfig, Mt as ResolvedPreset, Ot as presetConfig, Tr as AppTableConfig, Wn as PresetSpec, er as PresetName, gi as PresetGlueItem, gr as AppColumnConfig, pi as PresetCatalog, vr as AppColumnType, xi as Preset } from "./context-Cln1eg7-.js";
1
+ import { Ar as AppTablesConfig, Mt as ResolvedPreset, Ot as presetConfig, Tr as AppTableConfig, Wn as PresetSpec, er as PresetName, gi as PresetGlueItem, gr as AppColumnConfig, pi as PresetCatalog, vr as AppColumnType, xi as Preset } from "./context-tFoygone.js";
2
2
  import { StandardSchemaV1 } from "@standard-schema/spec";
3
3
  declare const PRESET_CATALOG: PresetCatalog;
4
4
  /**
@@ -2,9 +2,9 @@ import { b as DbError, f as Result } from "./result-DTOQRyGY.js";
2
2
  import { Ct as Events, v as ApiKeyEventData } from "./events-DddDlibJ.js";
3
3
  import { r as AuthState } from "./resolve-XlMQRUeG.js";
4
4
  import { t as BlockProblemOptions } from "./problem-NGBjN-TO.js";
5
- import { c as BlockOf } from "./define-block-CDw9YGVh.js";
6
- import { n as Controller, t as AuthPort } from "./controller-BQHh7VG5.js";
7
- import { _ as createApiKeys, d as CreateApiKeyInput, f as CreatedApiKey, l as ApiKeys, s as ApiKeyResolverOptions, t as ApiKey } from "./api-keys-BncNDlWG.js";
5
+ import { c as BlockOf } from "./define-block-DBD7yhQg.js";
6
+ import { n as Controller, t as AuthPort } from "./controller-phhsPHSz.js";
7
+ import { _ as createApiKeys, d as CreateApiKeyInput, f as CreatedApiKey, l as ApiKeys, s as ApiKeyResolverOptions, t as ApiKey } from "./api-keys-U3JQ8IlM.js";
8
8
  import { Entry } from "@supabase/middleware";
9
9
  import { AuthMode, JWTClaims, UserClaims } from "@supabase/server";
10
10
  interface WithApiKeyOptions<F extends object = Record<never, never>> extends ApiKeyResolverOptions<F>, BlockProblemOptions {}
@@ -3,8 +3,8 @@ import { O as AnyFunctions, k as AnyModels } from "./types-BzIYSSWK.js";
3
3
  import { l as PublicEnv } from "./index-F6lsRlsr.js";
4
4
  import { T as SessionEncoding } from "./resolve-XlMQRUeG.js";
5
5
  import { t as BetterSupabase } from "./define-C_He1bQO.js";
6
- import { i as KeyboardPort, l as StoragePort, n as DeepLinkPort, r as FilePickerPort, s as PushTokenPort, t as ClientPorts } from "./ports-rJDkwtOQ.js";
7
- import { i as BindClientOptions, r as BetterClient } from "./bind-DsDKjuQn.js";
6
+ import { i as KeyboardPort, l as StoragePort, n as DeepLinkPort, r as FilePickerPort, s as PushTokenPort, t as ClientPorts } from "./ports-BJJJmfWK.js";
7
+ import { i as BindClientOptions, r as BetterClient } from "./bind-XrFxNm5r.js";
8
8
  import { n as FunctionContract } from "./function-contract-DgDBYbXu.js";
9
9
  import { FunctionInvokeOptions, SupabaseClient, SupabaseClientOptions } from "@supabase/supabase-js";
10
10
  /**
@@ -2,8 +2,8 @@ import { b as DbError, f as Result } from "./result-DTOQRyGY.js";
2
2
  import { et as RecordRef, st as SchemaMeta } from "./types-BzIYSSWK.js";
3
3
  import { mt as QuerySpec } from "./define-C_He1bQO.js";
4
4
  import { t as DataChanges } from "./data-engine-CX1oYDZl.js";
5
- import { c as RealtimeClient, m as Topic, p as SubscriptionStatus } from "./topic-L_8Qs5qs.js";
6
- import { n as TopicPort } from "./watch-topic-B9aKuw5v.js";
5
+ import { c as RealtimeClient, m as Topic, p as SubscriptionStatus } from "./topic-CKN3kmoi.js";
6
+ import { n as TopicPort } from "./watch-topic-0dXuJMuE.js";
7
7
  import { StandardSchemaV1 } from "@standard-schema/spec";
8
8
  /** The `EventSource` the relay client reads with; the browser's fits. */
9
9
  interface RelayEventSource {