better-supabase 0.28.0 → 0.30.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 (405) hide show
  1. package/dist/{agents-CMIB3802.d.ts → agents-CM_cCtcr.d.ts} +4 -4
  2. package/dist/{ai-cache-2LGgaT7F.d.ts → ai-cache-BTGqckta.d.ts} +4 -4
  3. package/dist/{ai-chat-BCaKsvLW.d.ts → ai-chat-B7_vQvxU.d.ts} +4 -4
  4. package/dist/{ai-schedules-yGZH-vQb.d.ts → ai-schedules-CZEfo-_M.d.ts} +5 -5
  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 +1 -1
  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 +3 -3
  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-B1OkIWdx.d.ts → api-59rv5hL6.d.ts} +5 -5
  16. package/dist/{api-keys-ClhKBDcc.d.ts → api-keys-JE-aykZE.d.ts} +4 -4
  17. package/dist/{app-tables-62GqZIhd.d.ts → app-tables-yyVncXEt.d.ts} +1 -1
  18. package/dist/{approvals-C5fmPLsH.d.ts → approvals-BfEafAzt.d.ts} +5 -5
  19. package/dist/{assistant-ndGdOBax.d.ts → assistant-B49qATbj.d.ts} +2 -2
  20. package/dist/astro/index.d.ts +7 -7
  21. package/dist/{authorization-BCG1v0iC.d.ts → authorization-CDU9tYA_.d.ts} +17 -3
  22. package/dist/{authorization-hooks-DtzreCAq.d.ts → authorization-hooks-BWhkMZfH.d.ts} +2 -2
  23. package/dist/better-result/index.d.ts +3 -3
  24. package/dist/{bind-C54jD0r3.d.ts → bind-p7asfI6H.d.ts} +7 -7
  25. package/dist/{block-env-CM-LFfj4.d.ts → block-env-B8wG3xeh.d.ts} +4 -4
  26. package/dist/{block-helpers-CRpAHrp_.d.ts → block-helpers-D5emQ2O6.d.ts} +1 -1
  27. package/dist/{block-hooks-DZN2w69m.d.ts → block-hooks-B8itxzEE.d.ts} +2 -2
  28. package/dist/{block-subjects-CphkQPxp.d.ts → block-subjects-C1_9DkSA.d.ts} +1 -1
  29. package/dist/{block-transport-DWZSJrwN.d.ts → block-transport-9EUA3q_I.d.ts} +2 -2
  30. package/dist/blocks/access-requests/index.d.ts +5 -5
  31. package/dist/blocks/activities/index.d.ts +10 -10
  32. package/dist/blocks/activities/index.js +1 -1
  33. package/dist/blocks/agents/index.d.ts +4 -4
  34. package/dist/blocks/ai-cache/index.d.ts +3 -3
  35. package/dist/blocks/ai-chat/index.d.ts +7 -7
  36. package/dist/blocks/ai-files/index.d.ts +3 -3
  37. package/dist/blocks/ai-keys/index.d.ts +4 -4
  38. package/dist/blocks/ai-schedules/index.d.ts +3 -3
  39. package/dist/blocks/announcements/index.d.ts +8 -8
  40. package/dist/blocks/api-keys/index.d.ts +6 -6
  41. package/dist/blocks/approvals/index.d.ts +4 -4
  42. package/dist/blocks/assets/index.d.ts +6 -6
  43. package/dist/blocks/assignment/index.d.ts +7 -7
  44. package/dist/blocks/attachments/index.d.ts +4 -4
  45. package/dist/blocks/audit/index.d.ts +13 -13
  46. package/dist/blocks/automations/index.d.ts +12 -12
  47. package/dist/blocks/billable-time/index.d.ts +6 -6
  48. package/dist/blocks/billing/index.d.ts +9 -9
  49. package/dist/blocks/bookings/index.d.ts +4 -4
  50. package/dist/blocks/bulk/index.d.ts +4 -4
  51. package/dist/blocks/calendar/index.d.ts +5 -5
  52. package/dist/blocks/calendar/index.js +1 -1
  53. package/dist/blocks/catalog/index.d.ts +6 -6
  54. package/dist/blocks/channels/index.d.ts +7 -7
  55. package/dist/blocks/collections/index.d.ts +12 -12
  56. package/dist/blocks/collections/index.js +1 -1
  57. package/dist/blocks/comments/index.d.ts +10 -10
  58. package/dist/blocks/compliance/index.d.ts +5 -5
  59. package/dist/blocks/connectors/index.d.ts +4 -4
  60. package/dist/blocks/contacts/index.d.ts +7 -7
  61. package/dist/blocks/contacts/index.js +1 -1
  62. package/dist/blocks/content/index.d.ts +5 -5
  63. package/dist/blocks/contracts/index.d.ts +6 -6
  64. package/dist/blocks/courses/index.d.ts +5 -5
  65. package/dist/blocks/created-by/index.d.ts +2 -2
  66. package/dist/blocks/custom-fields/index.d.ts +6 -6
  67. package/dist/blocks/data-lifecycle/index.d.ts +8 -8
  68. package/dist/blocks/deals/index.d.ts +6 -6
  69. package/dist/blocks/dispatch/index.d.ts +7 -7
  70. package/dist/blocks/documents/index.d.ts +4 -4
  71. package/dist/blocks/domains/index.d.ts +6 -6
  72. package/dist/blocks/donations/index.d.ts +6 -6
  73. package/dist/blocks/drive/index.d.ts +6 -6
  74. package/dist/blocks/employees/index.d.ts +8 -8
  75. package/dist/blocks/enrichment/index.d.ts +6 -6
  76. package/dist/blocks/enrollments/index.d.ts +6 -6
  77. package/dist/blocks/entitlements/index.d.ts +6 -6
  78. package/dist/blocks/expenses/index.d.ts +5 -5
  79. package/dist/blocks/field-history/index.d.ts +4 -4
  80. package/dist/blocks/flags/index.d.ts +5 -5
  81. package/dist/blocks/forecasts/index.d.ts +6 -6
  82. package/dist/blocks/forms/index.d.ts +6 -6
  83. package/dist/blocks/goals/index.d.ts +4 -4
  84. package/dist/blocks/guests/index.d.ts +6 -6
  85. package/dist/blocks/hiring/index.d.ts +7 -7
  86. package/dist/blocks/identities/index.d.ts +5 -5
  87. package/dist/blocks/imports/index.d.ts +5 -5
  88. package/dist/blocks/inbox/index.d.ts +10 -10
  89. package/dist/blocks/incidents/index.d.ts +5 -5
  90. package/dist/blocks/index.d.ts +9 -9
  91. package/dist/blocks/inventory/index.d.ts +7 -7
  92. package/dist/blocks/invoices/index.d.ts +8 -8
  93. package/dist/blocks/knowledge/index.d.ts +3 -3
  94. package/dist/blocks/lead-scoring/index.d.ts +7 -7
  95. package/dist/blocks/leases/index.d.ts +6 -6
  96. package/dist/blocks/leave/index.d.ts +5 -5
  97. package/dist/blocks/ledger/index.d.ts +6 -6
  98. package/dist/blocks/mail-sync/index.d.ts +5 -5
  99. package/dist/blocks/memberships/index.d.ts +2 -2
  100. package/dist/blocks/memory/index.d.ts +4 -4
  101. package/dist/blocks/messaging/index.d.ts +11 -11
  102. package/dist/blocks/metrics/index.d.ts +6 -6
  103. package/dist/blocks/mfa/index.d.ts +2 -2
  104. package/dist/blocks/moderation/index.d.ts +6 -6
  105. package/dist/blocks/notifications/index.d.ts +12 -12
  106. package/dist/blocks/notifications/index.js +1 -1
  107. package/dist/blocks/numbering/index.d.ts +4 -4
  108. package/dist/blocks/oauth-server/index.d.ts +5 -5
  109. package/dist/blocks/onboarding/index.d.ts +5 -5
  110. package/dist/blocks/orders/index.d.ts +7 -7
  111. package/dist/blocks/organizations/index.d.ts +8 -8
  112. package/dist/blocks/outbox/index.d.ts +4 -4
  113. package/dist/blocks/passes/index.d.ts +8 -8
  114. package/dist/blocks/permissions/index.d.ts +6 -6
  115. package/dist/blocks/pipelines/index.d.ts +6 -6
  116. package/dist/blocks/posts/index.d.ts +5 -5
  117. package/dist/blocks/profiles/index.d.ts +4 -4
  118. package/dist/blocks/promotions/index.d.ts +5 -5
  119. package/dist/blocks/push/index.d.ts +6 -6
  120. package/dist/blocks/queue/index.d.ts +6 -6
  121. package/dist/blocks/quotes/index.d.ts +8 -8
  122. package/dist/blocks/rank/index.d.ts +5 -5
  123. package/dist/blocks/reactions/index.d.ts +9 -9
  124. package/dist/blocks/relations/index.d.ts +7 -7
  125. package/dist/blocks/reminders/index.d.ts +8 -8
  126. package/dist/blocks/reminders/index.js +1 -1
  127. package/dist/blocks/reviews/index.d.ts +5 -5
  128. package/dist/blocks/saved-views/index.d.ts +6 -6
  129. package/dist/blocks/scores/index.d.ts +5 -5
  130. package/dist/blocks/search/index.d.ts +8 -8
  131. package/dist/blocks/security-events/index.d.ts +7 -7
  132. package/dist/blocks/segments/index.d.ts +8 -8
  133. package/dist/blocks/sequences/index.d.ts +6 -6
  134. package/dist/blocks/service-accounts/index.d.ts +5 -5
  135. package/dist/blocks/sessions/index.d.ts +2 -2
  136. package/dist/blocks/settings/index.d.ts +6 -6
  137. package/dist/blocks/share-links/index.d.ts +5 -5
  138. package/dist/blocks/shipments/index.d.ts +6 -6
  139. package/dist/blocks/signatures/index.d.ts +5 -5
  140. package/dist/blocks/signing-keys/index.d.ts +4 -4
  141. package/dist/blocks/sla/index.d.ts +7 -7
  142. package/dist/blocks/sso/index.d.ts +6 -6
  143. package/dist/blocks/state-machine/index.d.ts +5 -5
  144. package/dist/blocks/subjects/index.d.ts +6 -6
  145. package/dist/blocks/tags/index.d.ts +6 -6
  146. package/dist/blocks/tasks/index.d.ts +9 -9
  147. package/dist/blocks/teams/index.d.ts +4 -4
  148. package/dist/blocks/templates/index.d.ts +7 -7
  149. package/dist/blocks/time-tracking/index.d.ts +7 -7
  150. package/dist/blocks/timeline/index.d.ts +8 -8
  151. package/dist/blocks/trash/index.d.ts +6 -6
  152. package/dist/blocks/undo/index.d.ts +4 -4
  153. package/dist/blocks/updated-at/index.d.ts +2 -2
  154. package/dist/blocks/usage/index.d.ts +4 -4
  155. package/dist/blocks/vercel-marketplace/index.d.ts +5 -5
  156. package/dist/blocks/versions/index.d.ts +6 -6
  157. package/dist/blocks/waitlist/index.d.ts +5 -5
  158. package/dist/blocks/webhooks/index.d.ts +14 -14
  159. package/dist/blocks/webhooks/index.js +1 -1
  160. package/dist/blocks/workflow-editor/index.d.ts +9 -9
  161. package/dist/blocks/workflows/index.d.ts +7 -7
  162. package/dist/{bookings-CVw5-Q0Z.d.ts → bookings-xsmM2TA_.d.ts} +3 -3
  163. package/dist/{bucket-vc-QRrva.d.ts → bucket-SvRQwYS4.d.ts} +1 -1
  164. package/dist/chat-sdk/index.d.ts +6 -6
  165. package/dist/cli/add-BdhGOwkB.js +1 -0
  166. package/dist/cli/{add-DUyg9qna.js → add-D4w-Axib.js} +27 -85
  167. package/dist/cli/{add-BKcE_g9D.js → add-Dggyehsy.js} +2 -2
  168. package/dist/cli/{migrate-sVs1QYTM.js → app-table-files-CiGuwLkO.js} +90 -50
  169. package/dist/cli/{backfill-r9RELEEh.js → backfill-DjVjXW_P.js} +4 -4
  170. package/dist/cli/bin.js +1 -1
  171. package/dist/cli/{blocks-DTOFdrxL.js → blocks-Bbmb6W_F.js} +1 -1
  172. package/dist/cli/{blocks-k1OG8XDs.js → blocks-jRL9K1R8.js} +2 -2
  173. package/dist/cli/{cache-Czfw7Iow.js → cache-BuoIFlUJ.js} +1 -1
  174. package/dist/cli/{codemod-ClmbiLuL.js → codemod-DRavXBCb.js} +5 -5
  175. package/dist/cli/{command-CVzTJSLp.js → command-DIPmo0wh.js} +6 -1
  176. package/dist/cli/{completion-DxEXxFpz.js → completion-DxPxMtyP.js} +2 -2
  177. package/dist/cli/{completion-CNCqE-Gb.js → completion-DyLMSjOD.js} +1 -1
  178. package/dist/cli/{completion-Dpk6vh0p.js → completion-FUgqm2-N.js} +2 -2
  179. package/dist/cli/{config-EjNj3HfT.js → config-BfapErxs.js} +1 -1
  180. package/dist/cli/{config-KvV-sLZL.js → config-Cskysxp-.js} +38 -7
  181. package/dist/cli/{config-D2YUlzrl.js → config-Df5cXWNN.js} +1 -1
  182. package/dist/cli/{config-group-C8tjut39.js → config-group-CP-B9uRt.js} +2 -3
  183. package/dist/cli/{content-mapper-ez_mT0d4.js → content-mapper-BCtyfKXl.js} +2 -2
  184. package/dist/cli/{db-uYN6O5Eg.js → db-CWvH1_46.js} +3 -3
  185. package/dist/cli/{doctor-BD9oo4MG.js → doctor-Di2ZekfN.js} +57 -24
  186. package/dist/cli/{env-DEAtgGoj.js → env-B2CbnbzD.js} +2 -2
  187. package/dist/cli/env-CynGCICL.js +1 -0
  188. package/dist/cli/{gen-8Ya8n2sA.js → gen-STKC9vkK.js} +16 -16
  189. package/dist/cli/index.d.ts +9 -2
  190. package/dist/cli/index.js +8 -8
  191. package/dist/cli/{init-DgL3sDfQ.js → init-DW6_nIwj.js} +22 -10
  192. package/dist/cli/{keys-CsanNk-2.js → keys-V-HcO-21.js} +1 -1
  193. package/dist/cli/{live-CMMEct_F.js → live-0G4Plw3K.js} +2 -2
  194. package/dist/cli/{mcp-DEHtzAkq.js → mcp-flKS8iU5.js} +6 -14
  195. package/dist/cli/{metadata-BZh-cOzC.js → metadata-VARUbXEe.js} +3 -3
  196. package/dist/cli/migrate-Bkq07XcT.js +46 -0
  197. package/dist/cli/{migration-safety-ClnYNMdq.js → migration-safety-BfVeza5j.js} +2 -2
  198. package/dist/cli/{migrations-DWh38tO9.js → migrations-BCq7Zs2E.js} +2 -2
  199. package/dist/cli/{module-migration-CXfRJIV4.js → module-migration-lbeUrsYv.js} +2 -2
  200. package/dist/cli/{moved-Cnb4fp49.js → moved-DNOtp9LA.js} +1 -1
  201. package/dist/cli/{parse-BWM6IGhF.js → parse-BPf3kGnc.js} +1 -1
  202. package/dist/cli/{powersync-Dnyr-Wy5.js → powersync-B15CfH5Y.js} +4 -4
  203. package/dist/cli/powersync-DnBsDchT.js +1 -0
  204. package/dist/cli/{print-DJrSr56b.js → print-DjxpBRnv.js} +2 -2
  205. package/dist/cli/{providers-CpaISitn.js → providers-dyxcHQY3.js} +1 -1
  206. package/dist/cli/{remove-ChaieK3t.js → remove-BLq5gbal.js} +7 -7
  207. package/dist/cli/{render-DUNJ4Pss.js → render-CizUf3RW.js} +5 -5
  208. package/dist/cli/{run-CxFDjL1Q.js → run-ChEjR7yw.js} +3 -3
  209. package/dist/cli/{run-Cl9COGuy.js → run-ChOY6s4o.js} +9 -9
  210. package/dist/cli/{run-ChCQPYOh.js → run-MwM__teL.js} +41 -41
  211. package/dist/cli/seed-BOun22-k.js +1 -0
  212. package/dist/cli/{seed-BzVLTdRl.js → seed-CDnL4Tnc.js} +3 -3
  213. package/dist/cli/{shared-5uqc1GBj.js → shared-DV5wIv-7.js} +1 -1
  214. package/dist/cli/{skills-0gz_qjVb.js → skills-DM3oeIxY.js} +1 -1
  215. package/dist/cli/{snapshot-DdAP7LWO.js → snapshot-B5LXkVMC.js} +3 -3
  216. package/dist/cli/{source-2irbWSck.js → source-BoLNG_2A.js} +1 -1
  217. package/dist/cli/{source-args-DAcQt-Mh.js → source-args-v8ljFDfc.js} +1 -1
  218. package/dist/cli/{spec-_MS0ym5r.js → spec-D6QeE2Zx.js} +1 -1
  219. package/dist/cli/{spec-B7n4Rthp.js → spec-Dz-PGCaM.js} +3 -3
  220. package/dist/cli/{sql-layout-DYKkQw1k.js → sql-layout-zo02f3Dm.js} +2 -2
  221. package/dist/cli/{stack-CteM33gC.js → stack-ClESAZYf.js} +1 -1
  222. package/dist/cli/{stack-env-6hS-WEmh.js → stack-env-3ziggrU3.js} +1 -1
  223. package/dist/cli/{sync-DnSOrQuA.js → sync-m-oZ_SyI.js} +4 -4
  224. package/dist/cli/{table-DeH8X0qz.js → table-dyKddjwo.js} +1 -1
  225. package/dist/cli/{upgrade-CWdrC-K3.js → upgrade-C9sgVZ5z.js} +5 -5
  226. package/dist/cli/{upgrade-cMy5fKkg.js → upgrade-WwEJaX3i.js} +3 -3
  227. package/dist/cli/{version-C5RAWmrD.js → version-D2BQuqta.js} +1 -1
  228. package/dist/client/index.d.ts +6 -6
  229. package/dist/client/native/index.d.ts +5 -5
  230. package/dist/{cloud-event-DcJwder2.d.ts → cloud-event-0pQ9vFNS.d.ts} +1 -1
  231. package/dist/{compiler-D3UmE7ao.d.ts → compiler-BEeVWXPS.d.ts} +2 -2
  232. package/dist/{composite-CWJvZgni.d.ts → composite-BJ9s-IJJ.d.ts} +7 -7
  233. package/dist/config/index.d.ts +4 -4
  234. package/dist/config/index.js +3 -3
  235. package/dist/{config-CvJHIy5q.js → config-bqKaPjst.js} +6 -27
  236. package/dist/{config-CTeR7XHK.js → config-r7njjNgh.js} +1 -1
  237. package/dist/{connectors-CHGiffYH.d.ts → connectors-uC5baoFV.d.ts} +4 -4
  238. package/dist/{context-BFEX0b7H.d.ts → context-nbYYjv7U.d.ts} +46 -51
  239. package/dist/{controller-Cl6HmMBk.d.ts → controller-TRocodqG.d.ts} +1 -1
  240. package/dist/{conversion-DlfStnln.d.ts → conversion-g8HzH9My.d.ts} +1 -1
  241. package/dist/create/index.d.ts +3 -3
  242. package/dist/create/index.js +2 -2
  243. package/dist/create/lite/index.d.ts +4 -4
  244. package/dist/create/lite/index.js +1 -1
  245. package/dist/credentials/index.d.ts +4 -4
  246. package/dist/{data-engine-BWoz9lED.d.ts → data-engine-rvbR2C4F.d.ts} +1 -1
  247. package/dist/{define-BLP6XtoL.d.ts → define-D8_9X5fZ.d.ts} +5 -5
  248. package/dist/{define-block-DibVN37N.d.ts → define-block-DWVZSZv1.d.ts} +12 -12
  249. package/dist/{documents-Cup1rpjF.d.ts → documents-BbwYyynk.d.ts} +3 -3
  250. package/dist/edge/index.d.ts +9 -9
  251. package/dist/elysia/index.d.ts +1 -1
  252. package/dist/{embeddings-D_RsS6ow.d.ts → embeddings-I3s5sTDt.d.ts} +1 -1
  253. package/dist/{ended-B8RyuUXF.d.ts → ended-EZzN9QTM.d.ts} +2 -2
  254. package/dist/{entitlements-Y-n4RGAd.d.ts → entitlements-B1i1-wfe.d.ts} +2 -2
  255. package/dist/eve/index.d.ts +5 -5
  256. package/dist/{eve-B7jxYPCw.d.ts → eve-BfhVFV33.d.ts} +2 -2
  257. package/dist/events/index.d.ts +3 -3
  258. package/dist/{events-Cc9DDQWH.d.ts → events-B2qbZps6.d.ts} +1 -1
  259. package/dist/{executor-DNPm13a9.d.ts → executor-BfirBzOr.d.ts} +4 -4
  260. package/dist/{executor-C-Ox9eKq.d.ts → executor-BlS0kCrN.d.ts} +1 -1
  261. package/dist/{executor-hGjrop3A.d.ts → executor-DXQIx4sW.d.ts} +1 -1
  262. package/dist/expo/index.d.ts +4 -4
  263. package/dist/{field-errors-Btn3czyz.d.ts → field-errors-tJvehEFc.d.ts} +10 -10
  264. package/dist/{fields-C3q2ypnO.d.ts → fields-snbaZ14h.d.ts} +1 -1
  265. package/dist/{filter-evaluate-CPxeae5X.d.ts → filter-evaluate-BRpNiNPG.d.ts} +1 -1
  266. package/dist/{filter-query-BXLs72G9.d.ts → filter-query-DBt7OKuH.d.ts} +1 -1
  267. package/dist/{flags-C01PLMJ-.d.ts → flags-DDKTThrO.d.ts} +2 -2
  268. package/dist/flags-sdk/index.d.ts +1 -1
  269. package/dist/{framework-GlxXiotm.d.ts → framework-DVYTtQXA.d.ts} +7 -7
  270. package/dist/{gateway-DzI687yd.d.ts → gateway-Ve7cByEr.d.ts} +3 -3
  271. package/dist/h3/index.d.ts +1 -1
  272. package/dist/h3/v1/index.d.ts +1 -1
  273. package/dist/hono/index.d.ts +9 -9
  274. package/dist/{inbox-NDKwSk_H.d.ts → inbox-c8B86Trp.d.ts} +5 -5
  275. package/dist/{index-DPMVWm_Z.d.ts → index-8US7qlvW.d.ts} +5 -5
  276. package/dist/{index-C_qlBJ3k.d.ts → index-B4wttiLh.d.ts} +4 -4
  277. package/dist/{index-CAY7rIQs.d.ts → index-BKrxynq9.d.ts} +5 -5
  278. package/dist/{index-BfYDY6eh.d.ts → index-BM6NmKSc.d.ts} +5 -5
  279. package/dist/{index-8wOL81rB.d.ts → index-BkzXwuIN.d.ts} +4 -3
  280. package/dist/{index-k-SyCzcQ.d.ts → index-CWAQRWY8.d.ts} +4 -4
  281. package/dist/{index-CQhPHHDF.d.ts → index-Cxsnd-OL.d.ts} +1 -1
  282. package/dist/{index-D1ckLbUM.d.ts → index-pZn6S_iq.d.ts} +1 -1
  283. package/dist/{index-C0_cweyT.d.ts → index-zsgNmE8m.d.ts} +14 -14
  284. package/dist/index.d.ts +6 -6
  285. package/dist/{kit-Dxx3MT8m.d.ts → kit-B8yWCRN7.d.ts} +3 -3
  286. package/dist/{knowledge-F1IhRI4Q.d.ts → knowledge-CsLPACGJ.d.ts} +5 -5
  287. package/dist/lint/index.d.ts +1 -1
  288. package/dist/list/index.d.ts +3 -3
  289. package/dist/{list-query-XHoYDlRN.d.ts → list-query-BcU8NnNL.d.ts} +3 -3
  290. package/dist/mapper/bin.js +6 -6
  291. package/dist/mcp/index.d.ts +6 -6
  292. package/dist/mcp/sdk/index.d.ts +6 -6
  293. package/dist/{messaging-C_Pr9tGx.d.ts → messaging-DQP09JsY.d.ts} +4 -4
  294. package/dist/nestjs/index.d.ts +2 -2
  295. package/dist/next/client/index.d.ts +1 -1
  296. package/dist/next/index.d.ts +103 -28
  297. package/dist/next/index.js +189 -49
  298. package/dist/node/index.d.ts +2 -2
  299. package/dist/{operations-DE7SOBw-.d.ts → operations-CB9atU2e.d.ts} +1 -1
  300. package/dist/{options-C4LuqmdG.js → options-BKBy5wM_.js} +2 -1
  301. package/dist/orpc/index.d.ts +8 -8
  302. package/dist/otel/index.d.ts +2 -2
  303. package/dist/otel/index.js +4 -4
  304. package/dist/{outbox-DxZgoKwp.d.ts → outbox-BZ712Z3X.d.ts} +4 -4
  305. package/dist/{pool-wjbAMqc1.d.ts → pool-DDR1ndk7.d.ts} +3 -3
  306. package/dist/{ports-DP0bthUk.d.ts → ports-hpbyMySO.d.ts} +1 -1
  307. package/dist/postgres/index.d.ts +4 -4
  308. package/dist/{postgrest-z-T0l23T.d.ts → postgrest-AJc8hnJU.d.ts} +1 -1
  309. package/dist/powersync/index.d.ts +6 -6
  310. package/dist/preset/index.d.ts +3 -3
  311. package/dist/preset/index.js +2 -2
  312. package/dist/{preset-DwuWNBip.js → preset-DCdEnJj9.js} +8 -13
  313. package/dist/{project-Bo1vZqVs.js → project-B32wb5J6.js} +4 -4
  314. package/dist/{provider-ClrIplXa.d.ts → provider-CWjzAIX9.d.ts} +1 -1
  315. package/dist/{push-token-v3xCcVU7.d.ts → push-token-DQ1ycFPU.d.ts} +1 -1
  316. package/dist/query/index.d.ts +1 -1
  317. package/dist/react/index.d.ts +8 -8
  318. package/dist/react/native/index.d.ts +1 -1
  319. package/dist/react/server.d.ts +8 -8
  320. package/dist/react/session.d.ts +2 -2
  321. package/dist/react-router/index.d.ts +6 -6
  322. package/dist/realtime/index.d.ts +6 -6
  323. package/dist/realtime/index.js +1 -1
  324. package/dist/{record-form-D2-F4IwS.d.ts → record-form-CubgBrtI.d.ts} +1 -1
  325. package/dist/{recordings-BBSJt_YV.d.ts → recordings-DeZYx-Kv.d.ts} +1 -1
  326. package/dist/records/index.d.ts +9 -9
  327. package/dist/{refresh-CCKB1Wa6.d.ts → refresh-D02Pbf5B.d.ts} +1 -1
  328. package/dist/{refusal-D_tklIEb.d.ts → refusal-B0VmlAxF.d.ts} +2 -2
  329. package/dist/{resolve-Bj1qD7Dy.d.ts → resolve-CtX6T0c0.d.ts} +1 -1
  330. package/dist/{resource-D8pzB5Qf.d.ts → resource-WxN0IsvB.d.ts} +1 -1
  331. package/dist/{resource-execute-BSTIfp1D.d.ts → resource-execute-BzqR8DdD.d.ts} +2 -2
  332. package/dist/{resource-types-D5WEvYtV.d.ts → resource-types-BVbHgTPg.d.ts} +4 -4
  333. package/dist/{resources-CsZ7RhZC.d.ts → resources-BSbRa0Ab.d.ts} +2 -2
  334. package/dist/{respond-BzRG-0qc.d.ts → respond-Dzu_-EPH.d.ts} +1 -1
  335. package/dist/{sales-lines-KxxStRzU.d.ts → sales-lines-BsmrNHe9.d.ts} +1 -1
  336. package/dist/{scores-B2BiNuVJ.d.ts → scores-Y8TvyJi1.d.ts} +5 -5
  337. package/dist/server/index.d.ts +24 -24
  338. package/dist/server/index.js +2 -2
  339. package/dist/{server-types-BlDiY-ya.d.ts → server-types-BkTIxW_H.d.ts} +11 -11
  340. package/dist/{session-BGP98Rgj.d.ts → session-BOzx2qHC.d.ts} +6 -6
  341. package/dist/{session-status-C4t7kbSn.d.ts → session-status-BP8eYVnA.d.ts} +2 -2
  342. package/dist/sign-in-BzihC_8k.d.ts +50 -0
  343. package/dist/{sign-in-NO7LWlw4.js → sign-in-Cyj3ZlFX.js} +120 -25
  344. package/dist/{signers-BKgmVh6A.d.ts → signers-ZmxO1I05.d.ts} +4 -4
  345. package/dist/{signing-keys-BNDUxpQL.d.ts → signing-keys-udgP7Aod.d.ts} +2 -2
  346. package/dist/solid/index.d.ts +10 -10
  347. package/dist/solid-start/index.d.ts +6 -6
  348. package/dist/spec/index.d.ts +2 -2
  349. package/dist/sql/index.d.ts +4 -4
  350. package/dist/sql/index.js +2 -2
  351. package/dist/{sql-B7vBP9g0.js → sql-CyeDg3Yh.js} +321 -212
  352. package/dist/sqlite/index.d.ts +3 -3
  353. package/dist/{sso-B0Txid2-.d.ts → sso-CkU_4mtK.d.ts} +3 -3
  354. package/dist/ssr/index.d.ts +5 -5
  355. package/dist/storage/index.d.ts +3 -3
  356. package/dist/streams/index.d.ts +1 -1
  357. package/dist/{subject-readers-DJbzlm8a.d.ts → subject-readers-CB5Te02u.d.ts} +5 -5
  358. package/dist/{subject-readers-CeeJJOQ4.js → subject-readers-VHcrWhmq.js} +2 -2
  359. package/dist/{subjects-BpIEN1MS.d.ts → subjects-CiBNKy2y.d.ts} +4 -4
  360. package/dist/{support-D7CMbhRT.d.ts → support-BxyPOFk4.d.ts} +4 -4
  361. package/dist/{support-view-CIDXF3_H.d.ts → support-view-nqUWKHEs.d.ts} +1 -1
  362. package/dist/svelte/index.d.ts +9 -9
  363. package/dist/sveltekit/index.d.ts +7 -7
  364. package/dist/{tags-Dg4Ywmqp.d.ts → tags-Cm48BsOa.d.ts} +1 -1
  365. package/dist/tanstack-db/index.d.ts +3 -3
  366. package/dist/tanstack-start/index.d.ts +6 -6
  367. package/dist/{tenant-CyLEXgot.d.ts → tenant-C9YE_kqK.d.ts} +2 -2
  368. package/dist/testing/index.d.ts +25 -25
  369. package/dist/testing/index.js +1 -1
  370. package/dist/{timeline-Cjl-1hiA.d.ts → timeline-DvXtXq5q.d.ts} +5 -5
  371. package/dist/{topic-B_DGdAEs.d.ts → topic-breZqx_4.d.ts} +5 -5
  372. package/dist/{types-Dp3UCr1e.d.ts → types-B-D6fYx2.d.ts} +1 -1
  373. package/dist/{types-DF8JYEf5.d.ts → types-C3I7S51U.d.ts} +2 -2
  374. package/dist/{types-Czq9Xtpa.d.ts → types-CK2X2wCB.d.ts} +5 -5
  375. package/dist/{types-DFdg_4yN.d.ts → types-CPl9uJ0G.d.ts} +2 -2
  376. package/dist/{types-DR1MHh7N.d.ts → types-CwQgFo8c.d.ts} +4 -4
  377. package/dist/{types-Dr9wZgNy.d.ts → types-DMihLukJ.d.ts} +3 -3
  378. package/dist/{types-A4yyKEsg.d.ts → types-iCyZ3lMx.d.ts} +4 -4
  379. package/dist/{types-BdaBfYIw.d.ts → types-nspa5I-a.d.ts} +7 -7
  380. package/dist/{undo-B1jwnVyN.d.ts → undo-0HkWXASn.d.ts} +2 -2
  381. package/dist/{usage-Dp45V42p.d.ts → usage-BkWAPkg2.d.ts} +4 -4
  382. package/dist/{vault-BghaujrZ.d.ts → vault-BkdPmL7f.d.ts} +2 -2
  383. package/dist/vercel-connect/index.d.ts +1 -1
  384. package/dist/{verify-CI8LgSpv.d.ts → verify-41mZmspj.d.ts} +2 -2
  385. package/dist/{view-BvNA7EOC.d.ts → view-C8_xvD-j.d.ts} +1 -1
  386. package/dist/vue/index.d.ts +10 -10
  387. package/dist/{watch-topic-1zIAtiNM.d.ts → watch-topic-ItO3dz8m.d.ts} +1 -1
  388. package/dist/workflow-sdk/builder/index.d.ts +3 -3
  389. package/dist/workflow-sdk/index.d.ts +1 -1
  390. package/dist/workflow-sdk/world/index.d.ts +1 -1
  391. package/dist/workflow-sdk/world/index.js +1 -1
  392. package/dist/{workflow-sdk-CaEw822d.js → workflow-sdk-BWPsdzVK.js} +36 -8
  393. package/dist/{workflow-sdk-BNsZrcVg.d.ts → workflow-sdk-rg3IbCZC.d.ts} +3 -3
  394. package/dist/{workflows-B0ZPAQu0.d.ts → workflows-xL6t0TXx.d.ts} +7 -4
  395. package/dist/yjs/index.d.ts +2 -2
  396. package/package.json +1 -2
  397. package/schemas/config-v1.json +5 -352
  398. package/schemas/doctor-report-v1.json +1 -0
  399. package/skills/better-supabase/references/ui-recipes.md +5 -5
  400. package/skills/better-supabase-auth/SKILL.md +8 -1
  401. package/dist/cli/add-pDOlqWUa.js +0 -1
  402. package/dist/cli/env-Cy2lWBRC.js +0 -1
  403. package/dist/cli/powersync-DURhWDVc.js +0 -1
  404. package/dist/cli/seed-BJ7c-ktX.js +0 -1
  405. package/dist/sign-in-CAadgm33.d.ts +0 -24
@@ -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-DFdg_4yN.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-BCG1v0iC.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-DibVN37N.js";
2
+ import { M as Casing, P as ClaimsMeta, T as AccessBucketPolicy, _t as BucketLifecycle, j as BucketPolicyName, ot as SchemaMeta } from "./types-CPl9uJ0G.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-CDU9tYA_.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-DWVZSZv1.js";
5
5
  import { a as ScalarKind, i as FieldSpec } from "./table-schema-BlF6k62Q.js";
6
6
  import { i as SubjectsConfig } from "./subjects-BYCL-6hA.js";
7
7
  import { i as FIELD_FORMAT_NAMES, s as FieldFormatName } from "./field-formats-CAFNkKSN.js";
@@ -1100,6 +1100,13 @@ interface AppColumnConfig {
1100
1100
  readonly references?: AppReference;
1101
1101
  /** What the column holds; see `APP_COLUMN_FORMATS`. */
1102
1102
  readonly format?: AppColumnFormat;
1103
+ /**
1104
+ * The schema-qualified domain the column takes as its type, such as
1105
+ * `bsb.email`, in place of the format's inline check. Only `migrate
1106
+ * schema-first` and the preset writers set it (ADR 0102); it isn't a config
1107
+ * key.
1108
+ */
1109
+ readonly domain?: string;
1103
1110
  /**
1104
1111
  * The values a `text` column (single select) or each element of a `text[]`
1105
1112
  * column (multi-select) may take, checked by the database.
@@ -1980,15 +1987,11 @@ interface BetterSupabaseConfig {
1980
1987
  readonly database?: DatabaseConfig;
1981
1988
  readonly auth?: AuthConfig;
1982
1989
  /**
1983
- * The app's record types: the entities blocks attach tags, comments, fields
1984
- * and ranks to, keyed by type name.
1985
- */
1986
- readonly records?: SubjectsConfig;
1987
- /**
1988
- * Tables the app owns, keyed by name, created in `public` by `better-supabase
1989
- * upgrade`. ADR 0040.
1990
+ * The app's subject types: the entities blocks attach tags, comments, fields
1991
+ * and ranks to, keyed by type name. A table the app owns becomes a subject
1992
+ * with an `@bsb subject` tag in its table comment (ADR 0102).
1990
1993
  */
1991
- readonly tables?: AppTablesInput;
1994
+ readonly subjects?: SubjectsConfig;
1992
1995
  /**
1993
1996
  * The blocks to install and keep in sync: a list of names, or an object keyed
1994
1997
  * by block name whose values set each block's ownership, names and options.
@@ -2701,34 +2704,13 @@ declare function expandPreset<const C extends BetterSupabaseConfig>(config: C):
2701
2704
  //#endregion
2702
2705
  //#region src/config/references.d.ts
2703
2706
  /**
2704
- * A logical table of a block the registry knows, as `tables` columns reference
2707
+ * A logical table of a block the registry knows, as a column reference names
2705
2708
  * it: `{ block: "tasks", table: "items" }`.
2706
2709
  */
2707
2710
  type BlockTableReference = { readonly [M in keyof BlockNameRegistry]: {
2708
2711
  readonly block: M;
2709
2712
  readonly table: TablesOf<M>;
2710
2713
  }; }[keyof BlockNameRegistry];
2711
- type AppTablesOf<C> = C extends {
2712
- readonly tables: infer T extends object;
2713
- } ? T : Record<never, never>;
2714
- /** The app tables a literal config declares, or `string` without any. */
2715
- type AppTableNames<C> = [keyof AppTablesOf<C>] extends [never] ? string : (keyof AppTablesOf<C> & string) | "auth.users";
2716
- /** What a column of `C`'s app tables may reference. */
2717
- type TypedReference<C> = ({
2718
- readonly table: AppTableNames<C>;
2719
- } | BlockTableReference) & {
2720
- readonly onDelete?: AppOnDeleteAction;
2721
- };
2722
- type ColumnsOfTable<T> = T extends {
2723
- readonly columns: infer K extends object;
2724
- } ? K : Record<never, never>;
2725
- type AppTableReferences<C> = { readonly [T in keyof AppTablesOf<C>]?: {
2726
- readonly columns?: { readonly [K in keyof ColumnsOfTable<AppTablesOf<C>[T]>]?: ColumnsOfTable<AppTablesOf<C>[T]>[K] extends {
2727
- readonly references: unknown;
2728
- } ? {
2729
- readonly references?: TypedReference<C>;
2730
- } : unknown; };
2731
- }; };
2732
2714
  type RolesOf<C> = C extends {
2733
2715
  readonly blocks: {
2734
2716
  readonly permissions: {
@@ -2784,13 +2766,11 @@ type InstanceReferences<C> = {
2784
2766
  }; };
2785
2767
  };
2786
2768
  /**
2787
- * What `defineConfig` checks a literal config against: block tables in `tables`
2788
- * references, app table names, bucket names in `gen.storagePaths`, the role
2789
- * names other blocks take from `blocks.permissions.roles`, and each named
2790
- * instance's options and `uses`.
2769
+ * What `defineConfig` checks a literal config against: bucket names in
2770
+ * `gen.storagePaths`, the role names other blocks take from
2771
+ * `blocks.permissions.roles`, and each named instance's options and `uses`.
2791
2772
  */
2792
2773
  type ConfigReferences<C> = {
2793
- readonly tables?: AppTableReferences<C>;
2794
2774
  readonly gen?: {
2795
2775
  readonly storagePaths?: Readonly<Record<string, BucketName<C>>>;
2796
2776
  };
@@ -2807,8 +2787,16 @@ declare const CONFIG_SCHEMA_URL = "https://unpkg.com/better-supabase/schemas/con
2807
2787
  * other blocks name.
2808
2788
  */
2809
2789
  declare function defineConfig<const C extends BetterSupabaseConfig>(config: C & NoInfer<ConfigReferences<C>>): ExpandedConfig<C>;
2790
+ /**
2791
+ * The grouped config plus the app tables a Create design and `migrate
2792
+ * schema-first` hand in. Tables are SQL files, so the public config has no key
2793
+ * for them (ADR 0102).
2794
+ */
2795
+ type ResolveInput = BetterSupabaseConfig & {
2796
+ readonly appTables?: AppTablesInput;
2797
+ };
2810
2798
  /** Applies defaults. Paths stay relative to `root`. */
2811
- declare function resolveConfig(input: BetterSupabaseConfig, root: string): ResolvedConfig;
2799
+ declare function resolveConfig(input: ResolveInput, root: string): ResolvedConfig;
2812
2800
  //#endregion
2813
2801
  //#region src/config/groups.d.ts
2814
2802
  type Entries = Record<string, unknown>;
@@ -2823,16 +2811,11 @@ declare const RENAMED_BLOCK_KEYS: Pairs;
2823
2811
  declare function blockEntrySource(entry: object): Entries;
2824
2812
  /**
2825
2813
  * The grouped config in the flat shape `resolveConfig` reads: every group's
2826
- * keys at the top level, `records`, `tables` and `adapters` under their flat
2827
- * names, `auth.organization` as `claims.tenant` and `organization`, and the
2828
- * renamed block and app table keys under their flat names.
2814
+ * keys at the top level, `adapters` under its flat name, `auth.organization` as
2815
+ * `claims.tenant` and `organization`, and the renamed block and app table keys
2816
+ * under their flat names.
2829
2817
  */
2830
2818
  declare function flattenConfig(config: BetterSupabaseConfig): FlatConfig;
2831
- /**
2832
- * Whether a top-level `tables` is the generator overrides of a config written
2833
- * before 0.15 rather than the app tables of a grouped one.
2834
- */
2835
- declare function hasFlatTables(keys: readonly string[]): boolean;
2836
2819
  /** A flat config in the grouped shape: the inverse of `flattenConfig`. */
2837
2820
  declare function groupConfig(config: FlatConfig): BetterSupabaseConfig;
2838
2821
  /**
@@ -3678,7 +3661,7 @@ interface BlockSqlLayout {
3678
3661
  /** `sql.scope`: the scope of every block that sets none. Defaults to `tenant`. */
3679
3662
  readonly scope?: BlockScope;
3680
3663
  readonly blockTenantColumn?: string;
3681
- /** `config.records`: the app-wide subject registry (ADR 0020). */
3664
+ /** `config.subjects`: the app-wide subject registry (ADR 0020). */
3682
3665
  readonly subjects?: SubjectsConfig;
3683
3666
  /**
3684
3667
  * `config.appTables`: the tables the app owns, rendered after the blocks (ADR
@@ -3884,6 +3867,18 @@ interface BlockSqlValueMethods {
3884
3867
  * column of `table` maps values.
3885
3868
  */
3886
3869
  labelsJson(table: string, alias: string): string;
3870
+ /**
3871
+ * `to_jsonb(alias)` of a row of `table` keyed as on the module's own table:
3872
+ * each logical column the app renames also under the module's column name,
3873
+ * and each mapped typed column read back as its label, so a client parses the
3874
+ * row the same way over the app's table (a mapped column's own key holds the
3875
+ * label too). `as` gives the value of a renamed logical column from its
3876
+ * column expression, such as an int8 as text. `to_jsonb(alias)` when nothing
3877
+ * is renamed or mapped.
3878
+ */
3879
+ rowJson(table: string, alias: string, options?: {
3880
+ readonly as?: Readonly<Record<string, (value: string) => string>>;
3881
+ }): string;
3887
3882
  /** Whether `blocks.<name>.values` maps any label of a typed logical column. */
3888
3883
  mapsValues(table: string, column: string): boolean;
3889
3884
  }
@@ -3948,7 +3943,7 @@ interface BlockSqlTableLifecycle {
3948
3943
  readonly credentialSubject?: "app" | "user";
3949
3944
  }
3950
3945
  /**
3951
- * What makes an entity a `config.records` entry when the block is installed.
3946
+ * What makes an entity a `config.subjects` entry when the block is installed.
3952
3947
  * Columns are the table's logical columns; permissions are module actions.
3953
3948
  */
3954
3949
  interface BlockSqlEntitySubject {
@@ -4131,7 +4126,7 @@ interface BlockSqlContext extends BlockSqlValueMethods {
4131
4126
  readonly idType: BlockSqlIdType;
4132
4127
  readonly claims: ClaimsMeta;
4133
4128
  readonly modules: AnyBlocksConfig;
4134
- /** The app-wide subject registry (`config.records`). */
4129
+ /** The app-wide subject registry (`config.subjects`). */
4135
4130
  readonly subjects: SubjectsConfig;
4136
4131
  /** The provider's `rowsWith` template under the `provider` model. */
4137
4132
  readonly providerRowsWith: string | undefined;
@@ -4346,4 +4341,4 @@ interface ExtraColumn {
4346
4341
  /** The contract's argument list with `{id}` resolved, as Postgres prints it. */
4347
4342
  declare function contractSignature(fn: BlockSqlContractFunction, idType: string): string;
4348
4343
  //#endregion
4349
- export { JsonSchemaTarget as $, PRESET_GROUPS as $n, Snapshot as $r, GeneratorJsonSchema as $t, declaredIndexes as A, PresetPlatforms as Ai, SeedConfig as An, AppTableSubject as Ar, presetConfig as At, ZodGeneratorOptions as B, IntegrationName as Bi, ColumnPrivilege as Bn, CatalogFunctionArg as Br, ClaimsConfig as Bt, OwnView as C, Preset as Ci, SqlInput as Cn, AppReference as Cr, RoleNames as Ct, OwnIndex as D, PresetFieldKey as Di, BucketConfig as Dn, AppTableConfig as Dr, PresetInput as Dt, DeclaredView as E, PresetField as Ei, EntitlementsConfig as En, AppRollupConfig as Er, ExpandedConfig as Et, extensionSchema as F, presetValueLabel as Fi, TopicTriggerPayloadValueConfig as Fn, CatalogColumn as Fr, ResolvedPresetBlock as Ft, standardSchema as G, SkillsAgent as Gi, ResolvedExpose as Gn, CatalogTrigger as Gr, GeneratorBlockEntity as Gt, ValibotGeneratorOptions as H, MigrationSafetyConfig as Hi, ExposePrivilege as Hn, CatalogIndex as Hr, GeneratedFile as Ht, policyGrants as I, DoctorConfig as Ii, TopicTriggerTopicConfig as In, CatalogColumnGrant as Ir, listNames as It, FactoriesGeneratorOptions as J, INTEGRATION_INFO as Ji, presetOfSpec as Jn, ExtrasFunction as Jr, GeneratorField as Jt, NuqsGeneratorOptions as K, SkillsConfig as Ki, PresetSpec as Kn, CatalogUnique as Kr, GeneratorColumn as Kt, rlsTables as L, EnvFileConfig as Li, TopicTriggerValueConfig as Ln, CatalogEnum as Lr, presetBlockConflict as Lt, declaredTables as M, PresetValueInfo as Mi, SqlWorkflow as Mn, AppTablesConfig as Mr, PresetConflict as Mt, declaredUpdatedAtTriggers as N, integrationsForFramework as Ni, TopicTriggerConfig as Nn, Catalog as Nr, PresetIntegration as Nt, PolicyGrant as O, PresetFieldValue as Oi, RealtimeConfig as On, AppTableEventKind as Or, conventionConfig as Ot, declaredViews as P, presetField as Pi, TopicTriggerLookupConfig as Pn, CatalogCheck as Pr, ResolvedPreset as Pt, jsonSchema as Q, PRESETS as Qn, ForeignKeyAction as Qr, GeneratorInputSchema as Qt, TableGrant as R, GenConfig as Ri, VectorDistance as Rn, CatalogForeignKey as Rr, resolvePreset as Rt, BlockSqlUpgrade as S, PRESET_TENANT_NAMES as Si, OrganizationConfig as Sn, AppOnDeleteAction as Sr, ConfigReferences as St, notNullCheckName as T, PresetConventions as Ti, EntitlementPlansSource as Tn, AppRollupAggregate as Tr, ConfigConventions as Tt, valibot as U, OpenApiConfig as Ui, ExposeRole as Un, CatalogPolicy as Ur, Generator as Ut, zod as V, KeysConfig as Vi, ExposeConfig as Vn, CatalogGrant as Vr, CodecsConfig as Vt, StandardSchemaGeneratorOptions as W, PowerSyncGenConfig as Wi, Privilege as Wn, CatalogTable as Wr, GeneratorBlock as Wt, JsonSchemaGeneratorOptions as X, IntegrationInfo as Xi, DEFAULT_PRESET_NAME as Xn, ExtrasHookFunction as Xr, GeneratorFunctionArg as Xt, factories as Y, INTEGRATION_NAMES as Yi, presetSpec as Yn, ExtrasHook as Yr, GeneratorFunction as Yt, buildJsonSchema as Z, SKILLS_AGENTS as Zi, NamedPreset as Zn, ExtrasTable as Zr, GeneratorInput as Zt, BlockSqlDeprecation as _, PresetCatalogManifest as _i, BlockInput as _n, AppColumnAccess as _r, defineConfig as _t, BlockSqlContext as a, PostgresFunctionArg as ai, RelationsConfig as an, namedPreset as ar, blockEntities as at, BlockSqlLayout as b, DEFAULT_CONVENTIONS as bi, EnvironmentConfig as bn, AppColumnType as br, BlockTableReference as bt, BlockSqlIdType as c, RpcFunctionOverload as ci, DataHooksFramework as cn, sameTenantLayout as cr, CONFIG_GROUPS as ct, MODULE_ID_TYPES as d, RpcTypeReference as di, ResolvedExtensions as dn, APP_COLUMN_ACCESS as dr, blockEntrySource as dt, SnapshotBucket as ei, GeneratorModel as en, PRESET_NAMES as er, ClaimPaths as et, contractSignature as f, CORE_BLOCKS as fi, ApiConfig as fn, APP_COLUMN_FORMATS as fr, flattenConfig as ft, BlockSqlAccessProvider as g, PresetCatalogBlock as gi, BetterSupabaseConfig as gn, APP_TABLE_EVENT_KINDS as gr, CONFIG_SCHEMA_URL as gt, BlockSql as h, PresetCatalog as hi, AuthConfig as hn, APP_ROLLUP_AGGREGATES as hr, hasFlatTables as ht, BlockSqlAudit as i, PostgresFunction as ii, JsonTypeConfig as in, isPresetName as ir, BlockEntity as it, declaredTableColumns as j, PresetScope as ji, SqlConfig as jn, AppTableVersions as jr, presetOf as jt, declaredColumnTypes as k, PresetFramework as ki, ResolvedSqlConfig as kn, AppTableEvents as kr, expandPreset as kt, BlockSqlNames as l, RpcFunctionReturns as li, FlatConfig as ln, AuditedTable as lr, RENAMED_BLOCK_KEYS as lt, moduleIdType as m, instancePrefix as mi, AppTablesInput as mn, APP_ON_DELETE_ACTIONS as mr, groupEntries as mt, AuditCategory as n, GeneratorMetadata as ni, GeneratorTable as nn, PresetName as nr, claimPaths as nt, BlockSqlContractFunction as o, RpcFunction as oi, SourceConfig as on, CONFIG_DEFAULTS as or, blockEntityRenames as ot, isBlockSqlIdType as p, INSTANCE_NAME as pi, AppTableInput as pn, APP_COLUMN_TYPES as pr, groupConfig as pt, nuqs as q, GEN_TASKS as qi, presetFromSpec as qn, ExtrasDomain as qr, GeneratorEntitySchemas as qt, BlockSqlAction as r, PostgresColumn as ri, JsonSchemaSource as rn, defaultPreset as rr, tenantClaimPaths as rt, BlockSqlEmit as s, RpcFunctionArg as si, TableConfig as sn, DeclaredForeignKey as sr, blockSubjectTypes as st, AUDIT_CATEGORIES as t, SnapshotExtras as ti, GeneratorNoun as tn, PresetGroup as tr, DEFAULT_CLAIMS as tt, BlockSqlTableSpec as u, RpcReturnColumn as ui, ResolvedConfig as un, auditRegistrations as ur, RENAMED_CONFIG_KEYS as ut, BlockSqlEntitlementsProvider as v, PresetGlueItem as vi, BlocksInput as vn, AppColumnConfig as vr, resolveConfig as vt, blockSqlVersion as w, PresetAccess as wi, ToolingConfig as wn, AppReferenceTarget as wr, TypedReference as wt, BlockSqlTestFile as x, PRESET_FRAMEWORKS as xi, GenGroupConfig as xn, AppLookupConfig as xr, BucketName as xt, BlockSqlFile as y, CONVENTION_FIELDS as yi, DatabaseConfig as yn, AppColumnFormat as yr, AppTableNames as yt, ZodFlavor as z, GenTask as zi, VectorSearchConfig as zn, CatalogFunction as zr, resolveJsonSchema as zt };
4344
+ export { JsonSchemaTarget as $, PresetGroup as $n, SnapshotExtras as $r, GeneratorNoun as $t, declaredIndexes as A, PresetValueInfo as Ai, SqlWorkflow as An, AppTablesConfig as Ar, PresetConflict as At, ZodGeneratorOptions as B, MigrationSafetyConfig as Bi, ExposePrivilege as Bn, CatalogIndex as Br, GeneratedFile as Bt, OwnView as C, PresetConventions as Ci, EntitlementPlansSource as Cn, AppRollupAggregate as Cr, ConfigConventions as Ct, OwnIndex as D, PresetFramework as Di, ResolvedSqlConfig as Dn, AppTableEvents as Dr, expandPreset as Dt, DeclaredView as E, PresetFieldValue as Ei, RealtimeConfig as En, AppTableEventKind as Er, conventionConfig as Et, extensionSchema as F, EnvFileConfig as Fi, TopicTriggerValueConfig as Fn, CatalogEnum as Fr, presetBlockConflict as Ft, standardSchema as G, GEN_TASKS as Gi, presetFromSpec as Gn, ExtrasDomain as Gr, GeneratorEntitySchemas as Gt, ValibotGeneratorOptions as H, PowerSyncGenConfig as Hi, Privilege as Hn, CatalogTable as Hr, GeneratorBlock as Ht, policyGrants as I, GenConfig as Ii, VectorDistance as In, CatalogForeignKey as Ir, resolvePreset as It, FactoriesGeneratorOptions as J, IntegrationInfo as Ji, DEFAULT_PRESET_NAME as Jn, ExtrasHookFunction as Jr, GeneratorFunctionArg as Jt, NuqsGeneratorOptions as K, INTEGRATION_INFO as Ki, presetOfSpec as Kn, ExtrasFunction as Kr, GeneratorField as Kt, rlsTables as L, GenTask as Li, VectorSearchConfig as Ln, CatalogFunction as Lr, resolveJsonSchema as Lt, declaredTables as M, presetField as Mi, TopicTriggerLookupConfig as Mn, CatalogCheck as Mr, ResolvedPreset as Mt, declaredUpdatedAtTriggers as N, presetValueLabel as Ni, TopicTriggerPayloadValueConfig as Nn, CatalogColumn as Nr, ResolvedPresetBlock as Nt, PolicyGrant as O, PresetPlatforms as Oi, SeedConfig as On, AppTableSubject as Or, presetConfig as Ot, declaredViews as P, DoctorConfig as Pi, TopicTriggerTopicConfig as Pn, CatalogColumnGrant as Pr, listNames as Pt, jsonSchema as Q, PRESET_NAMES as Qn, SnapshotBucket as Qr, GeneratorModel as Qt, TableGrant as R, IntegrationName as Ri, ColumnPrivilege as Rn, CatalogFunctionArg as Rr, ClaimsConfig as Rt, BlockSqlUpgrade as S, PresetAccess as Si, ToolingConfig as Sn, AppReferenceTarget as Sr, RoleNames as St, notNullCheckName as T, PresetFieldKey as Ti, BucketConfig as Tn, AppTableConfig as Tr, PresetInput as Tt, valibot as U, SkillsAgent as Ui, ResolvedExpose as Un, CatalogTrigger as Ur, GeneratorBlockEntity as Ut, zod as V, OpenApiConfig as Vi, ExposeRole as Vn, CatalogPolicy as Vr, Generator as Vt, StandardSchemaGeneratorOptions as W, SkillsConfig as Wi, PresetSpec as Wn, CatalogUnique as Wr, GeneratorColumn as Wt, JsonSchemaGeneratorOptions as X, PRESETS as Xn, ForeignKeyAction as Xr, GeneratorInputSchema as Xt, factories as Y, SKILLS_AGENTS as Yi, NamedPreset as Yn, ExtrasTable as Yr, GeneratorInput as Yt, buildJsonSchema as Z, PRESET_GROUPS as Zn, Snapshot as Zr, GeneratorJsonSchema as Zt, BlockSqlDeprecation as _, CONVENTION_FIELDS as _i, DatabaseConfig as _n, AppColumnFormat as _r, defineConfig as _t, BlockSqlContext as a, RpcFunctionArg as ai, TableConfig as an, DeclaredForeignKey as ar, blockEntities as at, BlockSqlLayout as b, PRESET_TENANT_NAMES as bi, OrganizationConfig as bn, AppOnDeleteAction as br, BucketName as bt, BlockSqlIdType as c, RpcReturnColumn as ci, ResolvedConfig as cn, auditRegistrations as cr, CONFIG_GROUPS as ct, MODULE_ID_TYPES as d, INSTANCE_NAME as di, AppTableInput as dn, APP_COLUMN_TYPES as dr, blockEntrySource as dt, GeneratorMetadata as ei, GeneratorTable as en, PresetName as er, ClaimPaths as et, contractSignature as f, instancePrefix as fi, AppTablesInput as fn, APP_ON_DELETE_ACTIONS as fr, flattenConfig as ft, BlockSqlAccessProvider as g, PresetGlueItem as gi, BlocksInput as gn, AppColumnConfig as gr, ResolveInput as gt, BlockSql as h, PresetCatalogManifest as hi, BlockInput as hn, AppColumnAccess as hr, CONFIG_SCHEMA_URL as ht, BlockSqlAudit as i, RpcFunction as ii, SourceConfig as in, CONFIG_DEFAULTS as ir, BlockEntity as it, declaredTableColumns as j, integrationsForFramework as ji, TopicTriggerConfig as jn, Catalog as jr, PresetIntegration as jt, declaredColumnTypes as k, PresetScope as ki, SqlConfig as kn, AppTableVersions as kr, presetOf as kt, BlockSqlNames as l, RpcTypeReference as li, ResolvedExtensions as ln, APP_COLUMN_ACCESS as lr, RENAMED_BLOCK_KEYS as lt, moduleIdType as m, PresetCatalogBlock as mi, BetterSupabaseConfig as mn, APP_TABLE_EVENT_KINDS as mr, groupEntries as mt, AuditCategory as n, PostgresFunction as ni, JsonTypeConfig as nn, isPresetName as nr, claimPaths as nt, BlockSqlContractFunction as o, RpcFunctionOverload as oi, DataHooksFramework as on, sameTenantLayout as or, blockEntityRenames as ot, isBlockSqlIdType as p, PresetCatalog as pi, AuthConfig as pn, APP_ROLLUP_AGGREGATES as pr, groupConfig as pt, nuqs as q, INTEGRATION_NAMES as qi, presetSpec as qn, ExtrasHook as qr, GeneratorFunction as qt, BlockSqlAction as r, PostgresFunctionArg as ri, RelationsConfig as rn, namedPreset as rr, tenantClaimPaths as rt, BlockSqlEmit as s, RpcFunctionReturns as si, FlatConfig as sn, AuditedTable as sr, blockSubjectTypes as st, AUDIT_CATEGORIES as t, PostgresColumn as ti, JsonSchemaSource as tn, defaultPreset as tr, DEFAULT_CLAIMS as tt, BlockSqlTableSpec as u, CORE_BLOCKS as ui, ApiConfig as un, APP_COLUMN_FORMATS as ur, RENAMED_CONFIG_KEYS as ut, BlockSqlEntitlementsProvider as v, DEFAULT_CONVENTIONS as vi, EnvironmentConfig as vn, AppColumnType as vr, resolveConfig as vt, blockSqlVersion as w, PresetField as wi, EntitlementsConfig as wn, AppRollupConfig as wr, ExpandedConfig as wt, BlockSqlTestFile as x, Preset as xi, SqlInput as xn, AppReference as xr, ConfigReferences as xt, BlockSqlFile as y, PRESET_FRAMEWORKS as yi, GenGroupConfig as yn, AppLookupConfig as yr, BlockTableReference as yt, ZodFlavor as z, KeysConfig as zi, ExposeConfig as zn, CatalogGrant as zr, CodecsConfig as zt };
@@ -1,4 +1,4 @@
1
- import { a as ClientAuth } from "./bind-C54jD0r3.js";
1
+ import { a as ClientAuth } from "./bind-p7asfI6H.js";
2
2
  //#region src/blocks/controller.d.ts
3
3
  /**
4
4
  * A block's client state, framework-agnostic. `subscribe` and `getSnapshot`
@@ -1,5 +1,5 @@
1
1
  import { f as Result } from "./result-DZeA5KS6.js";
2
- import { Bt as Action, Ht as ActionContext, Vt as ActionCall } from "./define-block-DibVN37N.js";
2
+ import { Bt as Action, Ht as ActionContext, Vt as ActionCall } from "./define-block-DWVZSZv1.js";
3
3
  import { StandardSchemaV1 } from "@standard-schema/spec";
4
4
  //#region src/blocks/automations/conversion.d.ts
5
5
  /** A record a conversion reads from or creates: its subject type and id. */
@@ -1,7 +1,7 @@
1
1
  /// <reference lib="esnext.temporal" />
2
- import { Ci as Preset, Dt as PresetInput, Kn as PresetSpec, Sr as AppOnDeleteAction, _r as AppColumnAccess, br as AppColumnType, g as BlockSqlAccessProvider, mr as APP_ON_DELETE_ACTIONS, nr as PresetName } from "../context-BFEX0b7H.js";
3
- import { E as CreateDesign, b as DesignChange } from "../index-8wOL81rB.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-DF8JYEf5.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-nbYYjv7U.js";
3
+ import { E as CreateDesign, b as DesignChange } from "../index-BkzXwuIN.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-C3I7S51U.js";
5
5
  import { a as SupabaseLint, o as SupabaseOrganization, s as SupabaseProject } from "../management-wtecfrNf.js";
6
6
  //#region src/create/check.d.ts
7
7
  /** What `checkDesign` returns. */
@@ -1,6 +1,6 @@
1
1
  import { k as APP_ON_DELETE_ACTIONS } from "../instances-C7qUTjhJ.js";
2
- import { m as diffDesigns } from "../preset-DwuWNBip.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-Bo1vZqVs.js";
2
+ import { m as diffDesigns } from "../preset-DCdEnJj9.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-B32wb5J6.js";
4
4
  //#region 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-DFdg_4yN.js";
2
- import { Dt as PresetInput } from "../../context-BFEX0b7H.js";
3
- import { E as CreateDesign } from "../../index-8wOL81rB.js";
4
- import { Tt as Issue, t as PresetMigrationFile, u as Design } from "../../types-DF8JYEf5.js";
1
+ import { ot as SchemaMeta } from "../../types-CPl9uJ0G.js";
2
+ import { Tt as PresetInput } from "../../context-nbYYjv7U.js";
3
+ import { E as CreateDesign } from "../../index-BkzXwuIN.js";
4
+ import { Tt as Issue, t as PresetMigrationFile, u as Design } from "../../types-C3I7S51U.js";
5
5
  import { c as SpecDiagnostic } from "../../format-u-65igKI.js";
6
6
  //#region src/lite/runtime.d.ts
7
7
  /**
@@ -1,5 +1,5 @@
1
1
  import { y as appDefaultError } from "../../instances-C7qUTjhJ.js";
2
- import { n as loadProject } from "../../project-Bo1vZqVs.js";
2
+ import { n as loadProject } from "../../project-B32wb5J6.js";
3
3
  import { n as loadLite, t as LITE_INSTALL } from "../../runtime-CoKxZibd.js";
4
4
  import { t as defineApi } from "../../api-3C0AWFeP.js";
5
5
  //#region src/create/lite/apply.ts
@@ -1,8 +1,8 @@
1
1
  import { t as AsyncResult } from "../result-DZeA5KS6.js";
2
- import { Ct as Events, P as CredentialEventData } from "../events-Cc9DDQWH.js";
3
- import { a as CredentialSubject, c as SetCredentialOptions, d as foreignCredentialRef, f as subjectFor, i as CredentialRef, l as StartAuthorizationOptions, n as CredentialCapabilities, o as CredentialToken, p as tenantCredentialRef, r as CredentialProvider, s as GetTokenOptions, t as CompleteAuthorizationOptions, u as credentialRefInTenant } from "../provider-ClrIplXa.js";
4
- import { a as dbTransport, o as rpcTransport, s as sqlTransport, t as BlockTransport } from "../block-transport-DWZSJrwN.js";
5
- import { a as vaultCredentials, i as VaultInboundScheme, n as VaultCredentials, r as VaultCredentialsOptions, t as VaultCredentialRef } from "../vault-BghaujrZ.js";
2
+ import { Ct as Events, P as CredentialEventData } from "../events-B2qbZps6.js";
3
+ import { a as CredentialSubject, c as SetCredentialOptions, d as foreignCredentialRef, f as subjectFor, i as CredentialRef, l as StartAuthorizationOptions, n as CredentialCapabilities, o as CredentialToken, p as tenantCredentialRef, r as CredentialProvider, s as GetTokenOptions, t as CompleteAuthorizationOptions, u as credentialRefInTenant } from "../provider-CWjzAIX9.js";
4
+ import { a as dbTransport, o as rpcTransport, s as sqlTransport, t as BlockTransport } from "../block-transport-9EUA3q_I.js";
5
+ import { a as vaultCredentials, i as VaultInboundScheme, n as VaultCredentials, r as VaultCredentialsOptions, t as VaultCredentialRef } from "../vault-BkdPmL7f.js";
6
6
  //#region src/credentials/compose.d.ts
7
7
  /**
8
8
  * One provider over several: each call goes to the provider whose `name` is the
@@ -1,5 +1,5 @@
1
1
  import { b as DbError, f as Result, x as DbErrorKind } from "./result-DZeA5KS6.js";
2
- import { Bt as Executor } from "./types-DFdg_4yN.js";
2
+ import { Bt as Executor } from "./types-CPl9uJ0G.js";
3
3
  //#region src/powersync/connector.d.ts
4
4
  /** A queued local change: PowerSync's `CrudEntry`. */
5
5
  interface CrudEntryLike {
@@ -1,12 +1,12 @@
1
1
  /// <reference lib="esnext.temporal" />
2
2
  import { T as ErrorMapper, b as DbError, p as ThrowMapper, t as AsyncResult } from "./result-DZeA5KS6.js";
3
3
  import { t as StandardSchemaV1 } from "./standard-DBV730sF.js";
4
- import { Bt as Executor, Ct as ApplyExtension, Ft as RequestContext, It as WithExtension, K as Insert, O as AnyFunctions, St as AnyPlugin, Tt as ExtensionOf, Z as PrimaryKeyValue, a as CountMode, at as Schema, dt as TableMeta, ht as Update, it as Row, k as AnyModels, m as Operation, mt as UniqueWhere, nt as Relations, ot as SchemaMeta, pt as UniqueKeyName, st as Simplify, tt as RelationTypes, ut as TableKey } from "./types-DFdg_4yN.js";
5
- import { a as EventHandler, c as MutationNotice, d as RpcNotice, o as EventHub, s as EventName } from "./events-Cc9DDQWH.js";
4
+ import { Bt as Executor, Ct as ApplyExtension, Ft as RequestContext, It as WithExtension, K as Insert, O as AnyFunctions, St as AnyPlugin, Tt as ExtensionOf, Z as PrimaryKeyValue, a as CountMode, at as Schema, dt as TableMeta, ht as Update, it as Row, k as AnyModels, m as Operation, mt as UniqueWhere, nt as Relations, ot as SchemaMeta, pt as UniqueKeyName, st as Simplify, tt as RelationTypes, ut as TableKey } from "./types-CPl9uJ0G.js";
5
+ import { a as EventHandler, c as MutationNotice, d as RpcNotice, o as EventHub, s as EventName } from "./events-B2qbZps6.js";
6
6
  import { n as Logger } from "./logger-DWVYUmwi.js";
7
- import { j as StorageApi, n as Bucket, r as BucketClient } from "./bucket-vc-QRrva.js";
8
- import { h as FilterQuery } from "./filter-query-BXLs72G9.js";
9
- import { a as PostgrestPlan, i as PostgrestCompileOptions } from "./postgrest-z-T0l23T.js";
7
+ import { j as StorageApi, n as Bucket, r as BucketClient } from "./bucket-SvRQwYS4.js";
8
+ import { h as FilterQuery } from "./filter-query-DBt7OKuH.js";
9
+ import { a as PostgrestPlan, i as PostgrestCompileOptions } from "./postgrest-AJc8hnJU.js";
10
10
  import { SupabaseClient } from "@supabase/supabase-js";
11
11
  //#region src/core/cache.d.ts
12
12
  /**
@@ -2,22 +2,22 @@
2
2
  import { T as ErrorMapper, b as DbError, f as Result, t as AsyncResult } from "./result-DZeA5KS6.js";
3
3
  import { t as StandardSchemaV1$1 } from "./standard-DBV730sF.js";
4
4
  import { r as FieldsOf } from "./block-fields-BE7pInWZ.js";
5
- import { $ as RecordRef } from "./types-DFdg_4yN.js";
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-Cc9DDQWH.js";
5
+ import { $ as RecordRef } from "./types-CPl9uJ0G.js";
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-B2qbZps6.js";
7
7
  import { n as Logger } from "./logger-DWVYUmwi.js";
8
- import { i as CredentialRef, o as CredentialToken, r as CredentialProvider } from "./provider-ClrIplXa.js";
9
- import { a as BlockTenantOptions, n as BlockOptions, r as BlockTemporalOptions } from "./block-helpers-CRpAHrp_.js";
10
- import { r as DbTransportSource, t as BlockTransport } from "./block-transport-DWZSJrwN.js";
11
- import { a as BlockTransportMiddleware, n as BlockHooks } from "./block-hooks-DZN2w69m.js";
12
- import { f as AiFiles, y as UploadClaimStorage } from "./types-Dr9wZgNy.js";
13
- import { g as JobHandler } from "./types-Czq9Xtpa.js";
8
+ import { i as CredentialRef, o as CredentialToken, r as CredentialProvider } from "./provider-CWjzAIX9.js";
9
+ import { a as BlockTenantOptions, n as BlockOptions, r as BlockTemporalOptions } from "./block-helpers-D5emQ2O6.js";
10
+ import { r as DbTransportSource, t as BlockTransport } from "./block-transport-9EUA3q_I.js";
11
+ import { a as BlockTransportMiddleware, n as BlockHooks } from "./block-hooks-B8itxzEE.js";
12
+ import { f as AiFiles, y as UploadClaimStorage } from "./types-DMihLukJ.js";
13
+ import { g as JobHandler } from "./types-CK2X2wCB.js";
14
14
  import { t as BlockOptionsSchema } from "./options-BTmaRzx2.js";
15
15
  import { t as Author } from "./block-authors-DzXLUiIq.js";
16
- import { d as BlockInstanceSurface } from "./define-BLP6XtoL.js";
17
- import { A as TtlPreset, C as TransformOptions, j as StorageApi, l as ImageTransform } from "./bucket-vc-QRrva.js";
16
+ import { d as BlockInstanceSurface } from "./define-D8_9X5fZ.js";
17
+ import { A as TtlPreset, C as TransformOptions, j as StorageApi, l as ImageTransform } from "./bucket-SvRQwYS4.js";
18
18
  import { i as FieldSpec, n as TableSchema, o as TableSchemaSpec } from "./table-schema-BlF6k62Q.js";
19
- import { i as EventSink } from "./cloud-event-DcJwder2.js";
20
- import { g as Workflows } from "./workflows-B0ZPAQu0.js";
19
+ import { i as EventSink } from "./cloud-event-0pQ9vFNS.js";
20
+ import { g as Workflows } from "./workflows-xL6t0TXx.js";
21
21
  import { StandardSchemaV1 } from "@standard-schema/spec";
22
22
  //#region src/core/entity-naming.d.ts
23
23
  /** A noun in its singular and plural snake_case forms, e.g. `work_item`. */
@@ -1,9 +1,9 @@
1
1
  /// <reference lib="esnext.temporal" />
2
2
  import { T as ErrorMapper, t as AsyncResult } from "./result-DZeA5KS6.js";
3
3
  import { n as Logger } from "./logger-DWVYUmwi.js";
4
- import { r as BlockTemporalOptions } from "./block-helpers-CRpAHrp_.js";
5
- import { t as BlockTransport } from "./block-transport-DWZSJrwN.js";
6
- import { n as BlockHooks } from "./block-hooks-DZN2w69m.js";
4
+ import { r as BlockTemporalOptions } from "./block-helpers-D5emQ2O6.js";
5
+ import { t as BlockTransport } from "./block-transport-9EUA3q_I.js";
6
+ import { n as BlockHooks } from "./block-hooks-B8itxzEE.js";
7
7
  //#region src/blocks/documents/documents.d.ts
8
8
  interface DocumentsOptions extends BlockTemporalOptions {
9
9
  readonly transport: BlockTransport;
@@ -1,18 +1,18 @@
1
1
  import { f as Result } from "../result-DZeA5KS6.js";
2
2
  import { t as StandardSchemaV1 } from "../standard-DBV730sF.js";
3
- import { O as AnyFunctions, k as AnyModels } from "../types-DFdg_4yN.js";
3
+ import { O as AnyFunctions, k as AnyModels } from "../types-CPl9uJ0G.js";
4
4
  import { l as PermissionRef, t as AnyAuthorizer } from "../authorizer-B6X09otb.js";
5
- import { t as BetterSupabase } from "../define-BLP6XtoL.js";
6
- import { a as ServerContext, c as ServerOptions, n as BetterServer } from "../server-types-BlDiY-ya.js";
7
- import { t as AuthSession } from "../view-BvNA7EOC.js";
8
- import { i as MiddlewareOptions, r as GuardOptions } from "../respond-BzRG-0qc.js";
9
- import { c as ResourceLoaderContext, s as BlockRequireOptions } from "../kit-Dxx3MT8m.js";
5
+ import { t as BetterSupabase } from "../define-D8_9X5fZ.js";
6
+ import { a as ServerContext, c as ServerOptions, n as BetterServer } from "../server-types-BkTIxW_H.js";
7
+ import { t as AuthSession } from "../view-C8_xvD-j.js";
8
+ import { i as MiddlewareOptions, r as GuardOptions } from "../respond-Dzu_-EPH.js";
9
+ import { c as ResourceLoaderContext, s as BlockRequireOptions } from "../kit-B8yWCRN7.js";
10
10
  import { n as FunctionContract, t as DescribedFunction } from "../function-contract-DxFNOmsm.js";
11
11
  import { t as Validated } from "../shared-CRRfQAKG.js";
12
12
  import { n as SUPABASE_CORS_HEADERS, r as corsConfig, t as CorsOptions } from "../cors-kLq6VM06.js";
13
- import { i as ResourceContext, l as ResourceRouteOptions, o as ResourceHooks, r as ResourceAction, t as ActionArgs } from "../resource-types-D5WEvYtV.js";
14
- import { t as ResourceMap } from "../resources-CsZ7RhZC.js";
15
- import { t as defineAction } from "../resource-execute-BSTIfp1D.js";
13
+ import { i as ResourceContext, l as ResourceRouteOptions, o as ResourceHooks, r as ResourceAction, t as ActionArgs } from "../resource-types-BVbHgTPg.js";
14
+ import { t as ResourceMap } from "../resources-BSbRa0Ab.js";
15
+ import { t as defineAction } from "../resource-execute-BzqR8DdD.js";
16
16
  import { AnyEntry, Contributions } from "@supabase/middleware";
17
17
  //#region src/bridges/edge.d.ts
18
18
  /** The platform context Workers pass as the third `fetch` argument. */
@@ -1,4 +1,4 @@
1
- import { n as RouteGuardOptions } from "../refusal-D_tklIEb.js";
1
+ import { n as RouteGuardOptions } from "../refusal-B0VmlAxF.js";
2
2
  import { t as Validated } from "../shared-CRRfQAKG.js";
3
3
  import { AnyEntry, Contributions } from "@supabase/middleware";
4
4
  //#region src/bridges/elysia.d.ts
@@ -1,4 +1,4 @@
1
- import { d as KnowledgeSearchOptions, n as Embedder, o as KnowledgeHit, r as Knowledge } from "./knowledge-F1IhRI4Q.js";
1
+ import { d as KnowledgeSearchOptions, n as Embedder, o as KnowledgeHit, r as Knowledge } from "./knowledge-CsLPACGJ.js";
2
2
  import { EmbeddingModel, RerankingModel, SourceDocumentUIPart, Tool, embedMany } from "ai";
3
3
  //#region src/ai-sdk/embeddings/embeddings.d.ts
4
4
  type ProviderOptions = Parameters<typeof embedMany>[0]["providerOptions"];
@@ -1,5 +1,5 @@
1
- import { Ft as RequestContext } from "./types-DFdg_4yN.js";
2
- import { d as CookieOptions, r as AuthState } from "./resolve-Bj1qD7Dy.js";
1
+ import { Ft as RequestContext } from "./types-CPl9uJ0G.js";
2
+ import { d as CookieOptions, r as AuthState } from "./resolve-CtX6T0c0.js";
3
3
  //#region src/auth/context.d.ts
4
4
  /** The repository context (`actor`, `claims`) for an auth state. */
5
5
  declare function authContext(auth: AuthState): RequestContext;
@@ -1,5 +1,5 @@
1
- import { t as AuthSnapshot } from "./bind-C54jD0r3.js";
2
- import { t as AuthSession } from "./view-BvNA7EOC.js";
1
+ import { t as AuthSnapshot } from "./bind-p7asfI6H.js";
2
+ import { t as AuthSession } from "./view-C8_xvD-j.js";
3
3
  //#region src/auth/entitlements.d.ts
4
4
  /**
5
5
  * One entry of the `memberships` claim when a hook writes it as a list. Hooks
@@ -1,8 +1,8 @@
1
- import { a as ResolveAuthOptions, r as AuthState } from "../resolve-Bj1qD7Dy.js";
2
- import { i as CredentialRef, r as CredentialProvider } from "../provider-ClrIplXa.js";
3
- import { i as AiChat } from "../ai-chat-BCaKsvLW.js";
4
- import { a as Inbox } from "../inbox-NDKwSk_H.js";
5
- import { a as EveMemoryToolsContext, c as MemoryDocumentConflictError, d as supabaseDocumentBackend, f as supabaseMemory, i as EveMemoryTool, l as SupabaseDocumentBackendOptions, m as EveSessionContext, n as EveMemoryContext, o as EveRecallMessage, p as EveSessionAuth, r as EveMemoryProvider, s as EveRecallResult, t as EveDocumentBackend, u as SupabaseMemoryOptions } from "../eve-B7jxYPCw.js";
1
+ import { a as ResolveAuthOptions, r as AuthState } from "../resolve-CtX6T0c0.js";
2
+ import { i as CredentialRef, r as CredentialProvider } from "../provider-CWjzAIX9.js";
3
+ import { i as AiChat } from "../ai-chat-B7_vQvxU.js";
4
+ import { a as Inbox } from "../inbox-c8B86Trp.js";
5
+ import { a as EveMemoryToolsContext, c as MemoryDocumentConflictError, d as supabaseDocumentBackend, f as supabaseMemory, i as EveMemoryTool, l as SupabaseDocumentBackendOptions, m as EveSessionContext, n as EveMemoryContext, o as EveRecallMessage, p as EveSessionAuth, r as EveMemoryProvider, s as EveRecallResult, t as EveDocumentBackend, u as SupabaseMemoryOptions } from "../eve-BfhVFV33.js";
6
6
  //#region src/eve/auth.d.ts
7
7
  /**
8
8
  * Thrown by `supabaseAuth` so eve answers with `response` instead of
@@ -1,5 +1,5 @@
1
- import { d as KnowledgeSearchOptions, r as Knowledge } from "./knowledge-F1IhRI4Q.js";
2
- import { t as Memory } from "./types-A4yyKEsg.js";
1
+ import { d as KnowledgeSearchOptions, r as Knowledge } from "./knowledge-CsLPACGJ.js";
2
+ import { t as Memory } from "./types-iCyZ3lMx.js";
3
3
  //#region src/eve/types.d.ts
4
4
  /**
5
5
  * Eve's `SessionAuthContext`, typed structurally so this entry never imports
@@ -1,4 +1,4 @@
1
- import { $ as SaasEventData, A as CollaborationEventData, B as FormEventData, C as BillingEventData, Ct as Events, D as BlockEventPattern, Dt as mergeEvents, E as BlockEventMeta, Et as event, F as DataExportEventData, G as InviteCodeEventData, H as InboxEventData, J as NotificationEventData, K as LegalHoldEventData, M as CommerceSubjectEventData, N as ConnectorEventData, O as BlockEventType, P as CredentialEventData, Q as PushDeviceEventData, S as BLOCK_EVENT_RENAMES, St as EventSpec, T as BlockEvent, Tt as defineEvents, U as IncomingWebhookEventData, V as FormSubmissionEventData, W as InvitationEventData, X as OrganizationDomainEventData, Y as OrganizationDeletionEventData, Z as OrganizationEventData, _ as AnnouncementEventData, _t as WorkflowRunEventData, at as SsoProviderEventData, b as AuditRevealEventData, bt as EventMap, ct as SubjectEventType, dt as TemplateEventData, et as SaasSubjectEventData, ft as TimeEntryEventData, g as AiToolEventData, gt as WorkflowEventData, h as AiProviderKeyEventData, ht as WebhookEventData, it as SignatureEventData, j as CommerceEventData, k as BlockEventsMatching, lt as SupportEventData, m as AiChatEventData, mt as WaitlistEventData, nt as ScimEventData, ot as StorageObjectEventData, p as AgentEventData, pt as TimesheetEventData, q as NotificationDeliveryEventData, rt as SettingEventData, st as SubjectEventData, tt as SchedulingEventData, ut as TemplateApplicationEventData, v as ApiKeyEventData, vt as blockEventAttributes, w as BlockEmit, wt as MergedEventMap, x as BLOCK_ATTRIBUTES, xt as EventMapOf, y as AttachmentEventData, yt as emitBlockEvent, z as FlagEventData } from "../events-Cc9DDQWH.js";
2
- import { A as PartyEventData, C as ForecastSnapshotEventData, D as MailMessageEventData, E as MailAccountEventData, F as SegmentEventData, I as SegmentMemberEventData, L as SlaEventData, M as PipelineStageEventData, N as QuoteEventData, O as MailTrackingEventData, P as SavedItemEventData, R as WorkItemEventData, S as EnrichmentEventData, T as JobEventData, a as RowEventData, b as EngagementEventData, c as httpSink, d as toHttp, f as ApplicationEventData, g as CollectionEventData, h as CollectionEntryEventData, i as ROW_EVENT_TYPES, j as PipelineEventData, l as isCloudEvent, n as HttpMode, o as forwardMutations, p as AssignmentEventData, r as HttpSinkOptions, s as fromHttp, t as ForwardOptions, u as toCloudEvents, v as DealEventData, w as InvoiceEventData, x as EngagementRecordingEventData, y as EmployeeEventData, z as onBlockEvent } from "../index-C_qlBJ3k.js";
3
- import { a as ForwardBlockOptions, i as EventSink, n as CloudEventOptions, o as blockCloudEvent, r as DataschemaContext, s as forwardBlockEvents, t as CloudEvent } from "../cloud-event-DcJwder2.js";
1
+ import { $ as SaasEventData, A as CollaborationEventData, B as FormEventData, C as BillingEventData, Ct as Events, D as BlockEventPattern, Dt as mergeEvents, E as BlockEventMeta, Et as event, F as DataExportEventData, G as InviteCodeEventData, H as InboxEventData, J as NotificationEventData, K as LegalHoldEventData, M as CommerceSubjectEventData, N as ConnectorEventData, O as BlockEventType, P as CredentialEventData, Q as PushDeviceEventData, S as BLOCK_EVENT_RENAMES, St as EventSpec, T as BlockEvent, Tt as defineEvents, U as IncomingWebhookEventData, V as FormSubmissionEventData, W as InvitationEventData, X as OrganizationDomainEventData, Y as OrganizationDeletionEventData, Z as OrganizationEventData, _ as AnnouncementEventData, _t as WorkflowRunEventData, at as SsoProviderEventData, b as AuditRevealEventData, bt as EventMap, ct as SubjectEventType, dt as TemplateEventData, et as SaasSubjectEventData, ft as TimeEntryEventData, g as AiToolEventData, gt as WorkflowEventData, h as AiProviderKeyEventData, ht as WebhookEventData, it as SignatureEventData, j as CommerceEventData, k as BlockEventsMatching, lt as SupportEventData, m as AiChatEventData, mt as WaitlistEventData, nt as ScimEventData, ot as StorageObjectEventData, p as AgentEventData, pt as TimesheetEventData, q as NotificationDeliveryEventData, rt as SettingEventData, st as SubjectEventData, tt as SchedulingEventData, ut as TemplateApplicationEventData, v as ApiKeyEventData, vt as blockEventAttributes, w as BlockEmit, wt as MergedEventMap, x as BLOCK_ATTRIBUTES, xt as EventMapOf, y as AttachmentEventData, yt as emitBlockEvent, z as FlagEventData } from "../events-B2qbZps6.js";
2
+ import { A as PartyEventData, C as ForecastSnapshotEventData, D as MailMessageEventData, E as MailAccountEventData, F as SegmentEventData, I as SegmentMemberEventData, L as SlaEventData, M as PipelineStageEventData, N as QuoteEventData, O as MailTrackingEventData, P as SavedItemEventData, R as WorkItemEventData, S as EnrichmentEventData, T as JobEventData, a as RowEventData, b as EngagementEventData, c as httpSink, d as toHttp, f as ApplicationEventData, g as CollectionEventData, h as CollectionEntryEventData, i as ROW_EVENT_TYPES, j as PipelineEventData, l as isCloudEvent, n as HttpMode, o as forwardMutations, p as AssignmentEventData, r as HttpSinkOptions, s as fromHttp, t as ForwardOptions, u as toCloudEvents, v as DealEventData, w as InvoiceEventData, x as EngagementRecordingEventData, y as EmployeeEventData, z as onBlockEvent } from "../index-B4wttiLh.js";
3
+ import { a as ForwardBlockOptions, i as EventSink, n as CloudEventOptions, o as blockCloudEvent, r as DataschemaContext, s as forwardBlockEvents, t as CloudEvent } from "../cloud-event-0pQ9vFNS.js";
4
4
  export { type AgentEventData, type AiChatEventData, type AiProviderKeyEventData, type AiToolEventData, type AnnouncementEventData, type ApiKeyEventData, type ApplicationEventData, type AssignmentEventData, type AttachmentEventData, type AuditRevealEventData, BLOCK_ATTRIBUTES, BLOCK_EVENT_RENAMES, type BillingEventData, type BlockEmit, type BlockEvent, type BlockEventMeta, type BlockEventPattern, type BlockEventType, type BlockEventsMatching, type CloudEvent, type CloudEventOptions, type CollaborationEventData, type CollectionEntryEventData, type CollectionEventData, type CommerceEventData, type CommerceSubjectEventData, type ConnectorEventData, type CredentialEventData, type DataExportEventData, type DataschemaContext, type DealEventData, type EmployeeEventData, type EngagementEventData, type EngagementRecordingEventData, type EnrichmentEventData, type EventMap, type EventMapOf, type EventSink, type EventSpec, type Events, type FlagEventData, type ForecastSnapshotEventData, type FormEventData, type FormSubmissionEventData, type ForwardBlockOptions, ForwardOptions, HttpMode, HttpSinkOptions, type InboxEventData, type IncomingWebhookEventData, type InvitationEventData, type InviteCodeEventData, type InvoiceEventData, type JobEventData, type LegalHoldEventData, type MailAccountEventData, type MailMessageEventData, type MailTrackingEventData, type MergedEventMap, type NotificationDeliveryEventData, type NotificationEventData, type OrganizationDeletionEventData, type OrganizationDomainEventData, type OrganizationEventData, type PartyEventData, type PipelineEventData, type PipelineStageEventData, type PushDeviceEventData, type QuoteEventData, ROW_EVENT_TYPES, RowEventData, type SaasEventData, type SaasSubjectEventData, type SavedItemEventData, type SchedulingEventData, type ScimEventData, type SegmentEventData, type SegmentMemberEventData, type SettingEventData, type SignatureEventData, type SlaEventData, type SsoProviderEventData, type StorageObjectEventData, type SubjectEventData, type SubjectEventType, type SupportEventData, type TemplateApplicationEventData, type TemplateEventData, type TimeEntryEventData, type TimesheetEventData, type WaitlistEventData, type WebhookEventData, type WorkItemEventData, type WorkflowEventData, type WorkflowRunEventData, blockCloudEvent, blockEventAttributes, defineEvents, emitBlockEvent, event, forwardBlockEvents, forwardMutations, fromHttp, httpSink, isCloudEvent, mergeEvents, onBlockEvent, toCloudEvents, toHttp };
@@ -1,6 +1,6 @@
1
1
  /// <reference lib="esnext.temporal" />
2
2
  import { b as DbError } from "./result-DZeA5KS6.js";
3
- import { Ft as RequestContext, d as MutationIntent, f as MutationKind, m as Operation } from "./types-DFdg_4yN.js";
3
+ import { Ft as RequestContext, d as MutationIntent, f as MutationKind, m as Operation } from "./types-CPl9uJ0G.js";
4
4
  import { n as Logger } from "./logger-DWVYUmwi.js";
5
5
  //#region src/core/event-map.d.ts
6
6
  /**
@@ -1,8 +1,8 @@
1
1
  import { E as RawDbError, b as DbError, f as Result } from "./result-DZeA5KS6.js";
2
- import { Bt as Executor, O as AnyFunctions, dt as TableMeta, k as AnyModels, m as Operation, ut as TableKey } from "./types-DFdg_4yN.js";
3
- import { mt as QuerySpec, t as BetterSupabase } from "./define-BLP6XtoL.js";
4
- import { i as ListDefinition } from "./list-query-XHoYDlRN.js";
5
- import { t as Compiler } from "./compiler-D3UmE7ao.js";
2
+ import { Bt as Executor, O as AnyFunctions, dt as TableMeta, k as AnyModels, m as Operation, ut as TableKey } from "./types-CPl9uJ0G.js";
3
+ import { mt as QuerySpec, t as BetterSupabase } from "./define-D8_9X5fZ.js";
4
+ import { i as ListDefinition } from "./list-query-BcU8NnNL.js";
5
+ import { t as Compiler } from "./compiler-BEeVWXPS.js";
6
6
  //#region src/compile/sqlite.d.ts
7
7
  /** A value SQLite binds: booleans become `0`/`1`, objects JSON text. */
8
8
  type SqliteValue = string | number | bigint | null;
@@ -1,4 +1,4 @@
1
- import { L as WorkflowGraph } from "./types-BdaBfYIw.js";
1
+ import { L as WorkflowGraph } from "./types-nspa5I-a.js";
2
2
  //#region src/blocks/workflow-editor/executor.d.ts
3
3
  /** The record a run belongs to. */
4
4
  interface GraphSubject {
@@ -1,4 +1,4 @@
1
- import { Bt as Executor } from "./types-DFdg_4yN.js";
1
+ import { Bt as Executor } from "./types-CPl9uJ0G.js";
2
2
  //#region src/postgres/executor.d.ts
3
3
  /**
4
4
  * Anything that runs parameterized SQL: `ctx.postgres` from
@@ -1,7 +1,7 @@
1
- import { O as AnyFunctions, k as AnyModels } from "../types-DFdg_4yN.js";
2
- import { t as BetterSupabase } from "../define-BLP6XtoL.js";
3
- import { a as ServerContext, c as ServerOptions, n as BetterServer, r as ContextOptions } from "../server-types-BlDiY-ya.js";
4
- import { i as MiddlewareOptions, r as GuardOptions } from "../respond-BzRG-0qc.js";
1
+ import { O as AnyFunctions, k as AnyModels } from "../types-CPl9uJ0G.js";
2
+ import { t as BetterSupabase } from "../define-D8_9X5fZ.js";
3
+ import { a as ServerContext, c as ServerOptions, n as BetterServer, r as ContextOptions } from "../server-types-BkTIxW_H.js";
4
+ import { i as MiddlewareOptions, r as GuardOptions } from "../respond-Dzu_-EPH.js";
5
5
  import { t as Validated } from "../shared-CRRfQAKG.js";
6
6
  import { AnyEntry, Contributions } from "@supabase/middleware";
7
7
  import { ImmutableRequest, MiddlewareFunction } from "expo-server";
@@ -1,14 +1,14 @@
1
1
  import { b as DbError, f as Result } from "./result-DZeA5KS6.js";
2
- import { o as EventHub } from "./events-Cc9DDQWH.js";
3
- import { o as BlockTenant } from "./block-helpers-CRpAHrp_.js";
4
- import { mt as QuerySpec } from "./define-BLP6XtoL.js";
5
- import { tt as TemplateValues } from "./bucket-vc-QRrva.js";
6
- import { n as DataEngine } from "./data-engine-BWoz9lED.js";
7
- import { Dn as GeneratedBlocks } from "./define-block-DibVN37N.js";
8
- import { _ as TopicMessage, c as RealtimeClient, d as SubscribeOptions, i as PresenceOptions, s as PresenceSubscription } from "./topic-B_DGdAEs.js";
9
- import { t as ClientPorts } from "./ports-DP0bthUk.js";
10
- import { a as ClientAuth } from "./bind-C54jD0r3.js";
11
- import { a as LiveSource, r as LiveCountSeed } from "./index-CAY7rIQs.js";
2
+ import { o as EventHub } from "./events-B2qbZps6.js";
3
+ import { o as BlockTenant } from "./block-helpers-D5emQ2O6.js";
4
+ import { mt as QuerySpec } from "./define-D8_9X5fZ.js";
5
+ import { tt as TemplateValues } from "./bucket-SvRQwYS4.js";
6
+ import { n as DataEngine } from "./data-engine-rvbR2C4F.js";
7
+ import { Dn as GeneratedBlocks } from "./define-block-DWVZSZv1.js";
8
+ import { _ as TopicMessage, c as RealtimeClient, d as SubscribeOptions, i as PresenceOptions, s as PresenceSubscription } from "./topic-breZqx_4.js";
9
+ import { t as ClientPorts } from "./ports-hpbyMySO.js";
10
+ import { a as ClientAuth } from "./bind-p7asfI6H.js";
11
+ import { a as LiveSource, r as LiveCountSeed } from "./index-BKrxynq9.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 { D as ValidationIssue } from "./result-DZeA5KS6.js";
2
- import { c as FilterFieldLabels, d as FilterLimits, h as FilterQuery, l as FilterFieldType, o as FilterField, s as FilterFieldInfo } from "./filter-query-BXLs72G9.js";
2
+ import { c as FilterFieldLabels, d as FilterLimits, h as FilterQuery, l as FilterFieldType, o as FilterField, s as FilterFieldInfo } from "./filter-query-DBt7OKuH.js";
3
3
  //#region src/blocks/automations/fields.d.ts
4
4
  /** One field of `defineRuleFields`: a value rules on the subject type may test. */
5
5
  interface RuleFieldDefinition {
@@ -1,4 +1,4 @@
1
- import { h as FilterQuery, l as FilterFieldType, r as FilterClock } from "./filter-query-BXLs72G9.js";
1
+ import { h as FilterQuery, l as FilterFieldType, r as FilterClock } from "./filter-query-DBt7OKuH.js";
2
2
  //#region src/list/filter-evaluate.d.ts
3
3
  /**
4
4
  * A field a filter tree can test on a plain record. `FilterFieldInfo` from a