better-supabase 0.17.0 → 0.18.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 (563) hide show
  1. package/dist/{access-sql-B-MkVARa.js → access-sql-CNIgUqWf.js} +2 -0
  2. package/dist/{adapter-Dyks1lX1.js → adapter-CfuBICuG.js} +3 -1
  3. package/dist/{ai-schedules-Dk9H3kAp.d.ts → ai-schedules-DzLh6BYI.d.ts} +1 -1
  4. package/dist/ai-sdk/agents/index.d.ts +2 -2
  5. package/dist/ai-sdk/memory/index.js +1 -1
  6. package/dist/{api-CpL3hm87.d.ts → api-B6zteBya.d.ts} +1 -1
  7. package/dist/{app-tables-Q0TYfeih.js → app-tables-DyswUg6J.js} +10 -2
  8. package/dist/{app-tables-dS02piE7.d.ts → app-tables-XwCviyhP.d.ts} +1 -1
  9. package/dist/astro/index.d.ts +3 -3
  10. package/dist/astro/index.js +5 -5
  11. package/dist/{attachments-aJYgdYtB.js → attachments-M-Dy79Ry.js} +9 -2
  12. package/dist/{authorization-CNsvnwle.d.ts → authorization-IiE__z2m.d.ts} +169 -87
  13. package/dist/{automations-CIwRq7zm.js → automations-B5P6vTvk.js} +2 -2
  14. package/dist/{automations-CD1XlL2W.js → automations-BKjJpktQ.js} +1 -1
  15. package/dist/{automations-Bc2ue55V.js → automations-FCnWy387.js} +2 -2
  16. package/dist/{bind-C801IaK-.d.ts → bind-pu5TLrla.d.ts} +3 -3
  17. package/dist/{block-env-BeG4DiiO.d.ts → block-env-CA65ulTD.d.ts} +4 -4
  18. package/dist/blocks/access-requests/index.d.ts +1 -1
  19. package/dist/blocks/access-requests/index.js +1 -1
  20. package/dist/blocks/activities/index.d.ts +1 -1
  21. package/dist/blocks/activities/index.js +1 -1
  22. package/dist/blocks/agents/index.d.ts +1 -1
  23. package/dist/blocks/agents/index.js +1 -1
  24. package/dist/blocks/ai-cache/index.d.ts +1 -1
  25. package/dist/blocks/ai-cache/index.js +1 -1
  26. package/dist/blocks/ai-chat/index.d.ts +4 -4
  27. package/dist/blocks/ai-chat/index.js +1 -1
  28. package/dist/blocks/ai-files/index.d.ts +1 -1
  29. package/dist/blocks/ai-files/index.js +1 -1
  30. package/dist/blocks/ai-keys/index.d.ts +1 -1
  31. package/dist/blocks/ai-keys/index.js +1 -1
  32. package/dist/blocks/ai-schedules/index.d.ts +2 -2
  33. package/dist/blocks/ai-schedules/index.js +1 -1
  34. package/dist/blocks/announcements/index.d.ts +4 -4
  35. package/dist/blocks/announcements/index.js +1 -1
  36. package/dist/blocks/api-keys/index.d.ts +2 -2
  37. package/dist/blocks/api-keys/index.js +1 -1
  38. package/dist/blocks/approvals/index.d.ts +1 -1
  39. package/dist/blocks/approvals/index.js +1 -1
  40. package/dist/blocks/assets/index.d.ts +1 -1
  41. package/dist/blocks/assets/index.js +1 -1
  42. package/dist/blocks/assignment/index.d.ts +1 -1
  43. package/dist/blocks/attachments/index.d.ts +40 -4
  44. package/dist/blocks/attachments/index.js +42 -4
  45. package/dist/blocks/audit/index.d.ts +3 -3
  46. package/dist/blocks/audit/index.js +2 -2
  47. package/dist/blocks/automations/index.d.ts +3 -3
  48. package/dist/blocks/automations/index.js +1 -1
  49. package/dist/blocks/billable-time/index.d.ts +1 -1
  50. package/dist/blocks/billing/index.d.ts +2 -2
  51. package/dist/blocks/billing/index.js +1 -1
  52. package/dist/blocks/bookings/index.d.ts +2 -2
  53. package/dist/blocks/bookings/index.js +1 -1
  54. package/dist/blocks/bulk/index.d.ts +1 -1
  55. package/dist/blocks/bulk/index.js +1 -1
  56. package/dist/blocks/calendar/index.d.ts +2 -2
  57. package/dist/blocks/calendar/index.js +1 -1
  58. package/dist/blocks/catalog/index.d.ts +1 -1
  59. package/dist/blocks/catalog/index.js +1 -1
  60. package/dist/blocks/channels/index.d.ts +1 -1
  61. package/dist/blocks/collections/index.d.ts +1 -1
  62. package/dist/blocks/collections/index.js +1 -1
  63. package/dist/blocks/comments/index.d.ts +5 -5
  64. package/dist/blocks/comments/index.js +1 -1
  65. package/dist/blocks/compliance/index.d.ts +1 -1
  66. package/dist/blocks/compliance/index.js +1 -1
  67. package/dist/blocks/connectors/index.d.ts +1 -1
  68. package/dist/blocks/connectors/index.js +1 -1
  69. package/dist/blocks/contacts/index.d.ts +1 -1
  70. package/dist/blocks/contacts/index.js +1 -1
  71. package/dist/blocks/content/index.d.ts +2 -2
  72. package/dist/blocks/content/index.js +1 -1
  73. package/dist/blocks/contracts/index.d.ts +1 -1
  74. package/dist/blocks/contracts/index.js +1 -1
  75. package/dist/blocks/courses/index.d.ts +2 -2
  76. package/dist/blocks/courses/index.js +1 -1
  77. package/dist/blocks/created-by/index.d.ts +1 -1
  78. package/dist/blocks/created-by/index.js +1 -1
  79. package/dist/blocks/custom-fields/index.d.ts +1 -1
  80. package/dist/blocks/custom-fields/index.js +1 -1
  81. package/dist/blocks/data-lifecycle/index.d.ts +1 -1
  82. package/dist/blocks/data-lifecycle/index.js +1 -1
  83. package/dist/blocks/deals/index.d.ts +1 -1
  84. package/dist/blocks/deals/index.js +1 -1
  85. package/dist/blocks/dispatch/index.d.ts +2 -2
  86. package/dist/blocks/dispatch/index.js +1 -1
  87. package/dist/blocks/documents/index.d.ts +1 -1
  88. package/dist/blocks/documents/index.js +1 -1
  89. package/dist/blocks/domains/index.d.ts +1 -1
  90. package/dist/blocks/domains/index.js +1 -1
  91. package/dist/blocks/donations/index.d.ts +1 -1
  92. package/dist/blocks/donations/index.js +1 -1
  93. package/dist/blocks/drive/index.d.ts +1 -1
  94. package/dist/blocks/drive/index.js +2 -2
  95. package/dist/blocks/employees/index.d.ts +2 -2
  96. package/dist/blocks/employees/index.js +1 -1
  97. package/dist/blocks/enrichment/index.d.ts +1 -1
  98. package/dist/blocks/enrollments/index.d.ts +1 -1
  99. package/dist/blocks/enrollments/index.js +1 -1
  100. package/dist/blocks/entitlements/index.d.ts +3 -3
  101. package/dist/blocks/expenses/index.d.ts +1 -1
  102. package/dist/blocks/expenses/index.js +1 -1
  103. package/dist/blocks/field-history/index.d.ts +1 -1
  104. package/dist/blocks/flags/index.d.ts +1 -1
  105. package/dist/blocks/flags/index.js +1 -1
  106. package/dist/blocks/forecasts/index.d.ts +1 -1
  107. package/dist/blocks/forms/index.d.ts +2 -2
  108. package/dist/blocks/forms/index.js +1 -1
  109. package/dist/blocks/goals/index.d.ts +1 -1
  110. package/dist/blocks/goals/index.js +1 -1
  111. package/dist/blocks/guests/index.d.ts +1 -1
  112. package/dist/blocks/hiring/index.d.ts +1 -1
  113. package/dist/blocks/hiring/index.js +1 -1
  114. package/dist/blocks/identities/index.d.ts +1 -1
  115. package/dist/blocks/identities/index.js +1 -1
  116. package/dist/blocks/imports/index.d.ts +1 -1
  117. package/dist/blocks/inbox/index.d.ts +5 -5
  118. package/dist/blocks/inbox/index.js +1 -1
  119. package/dist/blocks/incidents/index.d.ts +1 -1
  120. package/dist/blocks/incidents/index.js +1 -1
  121. package/dist/blocks/index.d.ts +4 -4
  122. package/dist/blocks/index.js +1 -1
  123. package/dist/blocks/inventory/index.d.ts +1 -1
  124. package/dist/blocks/inventory/index.js +1 -1
  125. package/dist/blocks/invoices/index.d.ts +1 -1
  126. package/dist/blocks/invoices/index.js +1 -1
  127. package/dist/blocks/knowledge/index.d.ts +1 -1
  128. package/dist/blocks/knowledge/index.js +1 -1
  129. package/dist/blocks/lead-scoring/index.d.ts +2 -2
  130. package/dist/blocks/lead-scoring/index.js +1 -1
  131. package/dist/blocks/leases/index.d.ts +1 -1
  132. package/dist/blocks/leases/index.js +1 -1
  133. package/dist/blocks/leave/index.d.ts +1 -1
  134. package/dist/blocks/leave/index.js +1 -1
  135. package/dist/blocks/ledger/index.d.ts +1 -1
  136. package/dist/blocks/mail-sync/index.d.ts +2 -2
  137. package/dist/blocks/mail-sync/index.js +1 -1
  138. package/dist/blocks/memberships/index.d.ts +3 -3
  139. package/dist/blocks/memberships/index.js +1 -1
  140. package/dist/blocks/memory/index.d.ts +1 -1
  141. package/dist/blocks/memory/index.js +1 -1
  142. package/dist/blocks/messaging/index.d.ts +5 -5
  143. package/dist/blocks/messaging/index.js +1 -1
  144. package/dist/blocks/metrics/index.d.ts +1 -1
  145. package/dist/blocks/metrics/index.js +1 -1
  146. package/dist/blocks/mfa/index.d.ts +2 -2
  147. package/dist/blocks/moderation/index.d.ts +1 -1
  148. package/dist/blocks/moderation/index.js +1 -1
  149. package/dist/blocks/notifications/index.d.ts +17 -6
  150. package/dist/blocks/notifications/index.js +110 -40
  151. package/dist/blocks/numbering/index.d.ts +1 -1
  152. package/dist/blocks/numbering/index.js +1 -1
  153. package/dist/blocks/oauth-server/index.d.ts +1 -1
  154. package/dist/blocks/oauth-server/index.js +1 -1
  155. package/dist/blocks/onboarding/index.d.ts +2 -2
  156. package/dist/blocks/onboarding/index.js +1 -1
  157. package/dist/blocks/orders/index.d.ts +2 -2
  158. package/dist/blocks/orders/index.js +1 -1
  159. package/dist/blocks/organizations/index.d.ts +38 -3
  160. package/dist/blocks/organizations/index.js +50 -5
  161. package/dist/blocks/outbox/index.d.ts +1 -1
  162. package/dist/blocks/outbox/index.js +1 -1
  163. package/dist/blocks/passes/index.d.ts +2 -2
  164. package/dist/blocks/passes/index.js +1 -1
  165. package/dist/blocks/permissions/index.d.ts +4 -4
  166. package/dist/blocks/permissions/index.js +2 -2
  167. package/dist/blocks/pipelines/index.d.ts +1 -1
  168. package/dist/blocks/pipelines/index.js +1 -1
  169. package/dist/blocks/posts/index.d.ts +2 -2
  170. package/dist/blocks/posts/index.js +1 -1
  171. package/dist/blocks/profiles/index.d.ts +1 -1
  172. package/dist/blocks/profiles/index.js +1 -1
  173. package/dist/blocks/promotions/index.d.ts +1 -1
  174. package/dist/blocks/promotions/index.js +1 -1
  175. package/dist/blocks/push/index.d.ts +76 -10
  176. package/dist/blocks/push/index.js +172 -43
  177. package/dist/blocks/queue/index.d.ts +1 -1
  178. package/dist/blocks/queue/index.js +1 -1
  179. package/dist/blocks/quotes/index.d.ts +1 -1
  180. package/dist/blocks/quotes/index.js +1 -1
  181. package/dist/blocks/rank/index.d.ts +1 -1
  182. package/dist/blocks/reactions/index.d.ts +4 -4
  183. package/dist/blocks/reactions/index.js +1 -1
  184. package/dist/blocks/relations/index.d.ts +1 -1
  185. package/dist/blocks/relations/index.js +1 -1
  186. package/dist/blocks/reminders/index.d.ts +1 -1
  187. package/dist/blocks/reminders/index.js +1 -1
  188. package/dist/blocks/reviews/index.d.ts +1 -1
  189. package/dist/blocks/reviews/index.js +1 -1
  190. package/dist/blocks/saved-views/index.d.ts +2 -2
  191. package/dist/blocks/saved-views/index.js +1 -1
  192. package/dist/blocks/scores/index.d.ts +1 -1
  193. package/dist/blocks/scores/index.js +1 -1
  194. package/dist/blocks/search/index.d.ts +3 -3
  195. package/dist/blocks/search/index.js +1 -1
  196. package/dist/blocks/security-events/index.d.ts +1 -1
  197. package/dist/blocks/security-events/index.js +1 -1
  198. package/dist/blocks/segments/index.d.ts +2 -2
  199. package/dist/blocks/segments/index.js +1 -1
  200. package/dist/blocks/sequences/index.d.ts +2 -2
  201. package/dist/blocks/sequences/index.js +1 -1
  202. package/dist/blocks/service-accounts/index.d.ts +1 -1
  203. package/dist/blocks/service-accounts/index.js +1 -1
  204. package/dist/blocks/sessions/index.d.ts +2 -2
  205. package/dist/blocks/sessions/index.js +1 -1
  206. package/dist/blocks/settings/index.d.ts +2 -2
  207. package/dist/blocks/settings/index.js +1 -1
  208. package/dist/blocks/share-links/index.d.ts +1 -1
  209. package/dist/blocks/share-links/index.js +1 -1
  210. package/dist/blocks/shipments/index.d.ts +2 -2
  211. package/dist/blocks/shipments/index.js +1 -1
  212. package/dist/blocks/signatures/index.d.ts +2 -2
  213. package/dist/blocks/signatures/index.js +1 -1
  214. package/dist/blocks/signing-keys/index.d.ts +1 -1
  215. package/dist/blocks/signing-keys/index.js +1 -1
  216. package/dist/blocks/sla/index.d.ts +1 -1
  217. package/dist/blocks/sla/index.js +1 -1
  218. package/dist/blocks/sso/index.d.ts +1 -1
  219. package/dist/blocks/sso/index.js +1 -1
  220. package/dist/blocks/state-machine/index.d.ts +1 -1
  221. package/dist/blocks/state-machine/index.js +1 -1
  222. package/dist/blocks/subjects/index.d.ts +2 -2
  223. package/dist/blocks/tags/index.d.ts +2 -2
  224. package/dist/blocks/tags/index.js +1 -1
  225. package/dist/blocks/tasks/index.d.ts +2 -2
  226. package/dist/blocks/tasks/index.js +1 -1
  227. package/dist/blocks/teams/index.d.ts +1 -1
  228. package/dist/blocks/teams/index.js +1 -1
  229. package/dist/blocks/templates/index.d.ts +2 -2
  230. package/dist/blocks/templates/index.js +1 -1
  231. package/dist/blocks/time-tracking/index.d.ts +1 -1
  232. package/dist/blocks/time-tracking/index.js +1 -1
  233. package/dist/blocks/timeline/index.d.ts +1 -1
  234. package/dist/blocks/trash/index.d.ts +1 -1
  235. package/dist/blocks/trash/index.js +1 -1
  236. package/dist/blocks/undo/index.d.ts +2 -2
  237. package/dist/blocks/updated-at/index.d.ts +1 -1
  238. package/dist/blocks/updated-at/index.js +1 -1
  239. package/dist/blocks/usage/index.d.ts +2 -2
  240. package/dist/blocks/usage/index.js +1 -1
  241. package/dist/blocks/vercel-marketplace/index.d.ts +1 -1
  242. package/dist/blocks/vercel-marketplace/index.js +1 -1
  243. package/dist/blocks/versions/index.d.ts +1 -1
  244. package/dist/blocks/versions/index.js +1 -1
  245. package/dist/blocks/waitlist/index.d.ts +1 -1
  246. package/dist/blocks/waitlist/index.js +1 -1
  247. package/dist/blocks/webhooks/index.d.ts +1 -1
  248. package/dist/blocks/webhooks/index.js +1 -1
  249. package/dist/blocks/workflow-editor/index.d.ts +4 -4
  250. package/dist/blocks/workflow-editor/index.js +1 -1
  251. package/dist/blocks/workflows/index.d.ts +4 -4
  252. package/dist/{channel-BjvGO39m.d.ts → channel-JcMd5lNP.d.ts} +30 -2
  253. package/dist/cli/{add-DMcrsWjC.js → add-B1S3yK4L.js} +18 -13
  254. package/dist/cli/add-BQPJnapO.js +1 -0
  255. package/dist/cli/{add-BinNYhFD.js → add-D7YIXslp.js} +2 -2
  256. package/dist/cli/{backfill-DxBB62Zr.js → backfill-BwkyNhlC.js} +4 -4
  257. package/dist/cli/bin.js +1 -1
  258. package/dist/cli/{blocks-rxOS-Mzz.js → blocks-CBqENu3C.js} +1 -1
  259. package/dist/cli/{blocks-DSgTifw0.js → blocks-DDm1Zc2S.js} +2 -2
  260. package/dist/cli/{cache-oU0yHKf0.js → cache-DE2IH1-C.js} +1 -1
  261. package/dist/cli/{codemod-Dsrv_3gQ.js → codemod-OHKhVV-v.js} +4 -4
  262. package/dist/cli/{command-CQ61x6gN.js → command-BWEEXmtz.js} +20 -0
  263. package/dist/cli/{completion-Dlu5AdUW.js → completion-8EDK21xj.js} +1 -1
  264. package/dist/cli/{completion-BwI0_Ap5.js → completion-BfnKI4QZ.js} +2 -2
  265. package/dist/cli/{completion-2Y3D_eNu.js → completion-Bt7LMypX.js} +2 -2
  266. package/dist/cli/{config-2rwFHbwj.js → config-BJSqMi04.js} +17 -5
  267. package/dist/cli/{config-C6XylzKz.js → config-BlfVh0IP.js} +1 -1
  268. package/dist/cli/{config-CPux9Wa7.js → config-WKDixoGK.js} +1 -1
  269. package/dist/cli/{content-mapper-DLbXilBz.js → content-mapper-CaygHH_k.js} +2 -2
  270. package/dist/cli/{db-Bwrr3GHM.js → db-DYU5hUcd.js} +3 -3
  271. package/dist/cli/{doctor-CKt5Yyl4.js → doctor-D_nrsd9E.js} +17 -16
  272. package/dist/cli/{env-BBl5L8Bf.js → env-BCgVZkcb.js} +1 -1
  273. package/dist/cli/env-xhwXk5Ri.js +1 -0
  274. package/dist/cli/{gen-CeG6lbka.js → gen-D7gMEwvg.js} +22 -15
  275. package/dist/cli/index.d.ts +2 -2
  276. package/dist/cli/index.js +8 -8
  277. package/dist/cli/{init-DrQlf9RL.js → init-ch-HWJyp.js} +7 -7
  278. package/dist/cli/{keys-DGEpMbeB.js → keys-CbaL0lnw.js} +1 -1
  279. package/dist/cli/{live-BvWGM4c3.js → live-B38ePuRS.js} +2 -2
  280. package/dist/cli/{mcp-BrOnGB15.js → mcp-P9RP2SJ3.js} +3 -3
  281. package/dist/cli/{metadata-BNSdPuKp.js → metadata-BTihErEc.js} +3 -3
  282. package/dist/cli/{migration-safety-NtB3dsRU.js → migration-safety-DYo1vVWC.js} +2 -2
  283. package/dist/cli/{module-migration-mKhX88V_.js → migrations-BoIyGczt.js} +3 -113
  284. package/dist/cli/module-migration-DXvo0EqU.js +119 -0
  285. package/dist/cli/{moved-CsfDQcyk.js → moved-DVwgE8lV.js} +1 -1
  286. package/dist/cli/{parse-B9Iv_-Pf.js → parse-B079x40m.js} +1 -1
  287. package/dist/cli/powersync-D-0yV_L_.js +283 -0
  288. package/dist/cli/powersync-DXVsKkAu.js +1 -0
  289. package/dist/cli/{print-Dh8iuPK3.js → print-CRon4lXf.js} +2 -1
  290. package/dist/cli/{remove-DfFXVBRr.js → remove-D89s99ha.js} +6 -6
  291. package/dist/cli/{render-ChIwdIOJ.js → render-BJF9ytUi.js} +8 -5
  292. package/dist/cli/{run-BXx6D1aR.js → run-DmOTMa44.js} +2 -2
  293. package/dist/cli/{run-CLSHSVYo.js → run-jeplMBOK.js} +29 -10
  294. package/dist/cli/{run-D48ZEU58.js → run-x9ZY4Tm0.js} +38 -37
  295. package/dist/cli/{seed-CG-pA-5N.js → seed-D9mt8bnW.js} +3 -3
  296. package/dist/cli/seed-EPO6AvLG.js +1 -0
  297. package/dist/cli/{shared-D0XBFSlz.js → shared-B38Chjgd.js} +1 -1
  298. package/dist/cli/{skills-toUan_OV.js → skills-FXAVPLzp.js} +1 -1
  299. package/dist/cli/{snapshot-C6vh_n3t.js → snapshot-BXmU3IXN.js} +3 -3
  300. package/dist/cli/{source-args-MTLYpifA.js → source-args-DlckPVje.js} +1 -1
  301. package/dist/cli/{source-BZbEK5if.js → source-irttnsEb.js} +1 -1
  302. package/dist/cli/{spec-B4LhpI6t.js → spec-CDxfokey.js} +3 -3
  303. package/dist/cli/{spec-C-dhdKwa.js → spec-DzD5wMVF.js} +1 -1
  304. package/dist/cli/{sql-layout-26LSoifK.js → sql-layout-D8QrNvt4.js} +2 -2
  305. package/dist/cli/{stack-CWEHdO0b.js → stack-DgASZP0K.js} +1 -1
  306. package/dist/cli/{sync-CHGMZCJ5.js → sync-s1iKFIos.js} +3 -2
  307. package/dist/cli/{upgrade-C0dVsqNX.js → upgrade-B4FPlK-_.js} +4 -3
  308. package/dist/cli/{upgrade-GB9rqUGT.js → upgrade-CluxP3JJ.js} +3 -3
  309. package/dist/cli/{version-T507a49w.js → version-TgFM8sOd.js} +1 -1
  310. package/dist/client/index.d.ts +5 -5
  311. package/dist/client/native/index.d.ts +4 -4
  312. package/dist/{composite-B7f1MMgr.d.ts → composite-C-8A8qzi.d.ts} +2 -2
  313. package/dist/{composite-B3TIjId4.js → composite-D24L5RIY.js} +2 -2
  314. package/dist/config/index.d.ts +3 -3
  315. package/dist/config/index.js +4 -4
  316. package/dist/{config-CIBc79_8.js → config-CD2OGfCG.js} +2 -1
  317. package/dist/{config-BVNNJwGC.js → config-mbVyJwSc.js} +3 -3
  318. package/dist/{context-CKCgjEDF.d.ts → context-D24k1Cpc.d.ts} +29 -4
  319. package/dist/{controller-CJUXhshv.d.ts → controller-BR7CZ1R9.d.ts} +1 -1
  320. package/dist/{conversion-DgHdDlTK.d.ts → conversion-BgtOfTaS.d.ts} +1 -1
  321. package/dist/create/index.d.ts +2 -2
  322. package/dist/create/index.js +5 -5
  323. package/dist/{define-block-Xxw8Hroe.d.ts → define-block-CJWiDWa5.d.ts} +10 -3
  324. package/dist/edge/index.d.ts +5 -5
  325. package/dist/edge/index.js +7 -7
  326. package/dist/elysia/index.d.ts +1 -1
  327. package/dist/elysia/index.js +1 -1
  328. package/dist/{email-tt2QqiSc.d.ts → email-B3YxEzwC.d.ts} +1 -1
  329. package/dist/{entitlements-B0jmjNLD.d.ts → entitlements-DHcNt1aF.d.ts} +1 -1
  330. package/dist/{events-SqJLbb8q.js → events-DuLhzjP6.js} +2 -0
  331. package/dist/expo/index.d.ts +1 -1
  332. package/dist/expo/index.js +3 -3
  333. package/dist/{field-errors-DqlebtTE.d.ts → field-errors-DucQdLl7.d.ts} +5 -5
  334. package/dist/{framework-BozTXRzt.js → framework-CNhTg0th.js} +1 -1
  335. package/dist/{framework-CF6zFU7a.d.ts → framework-x9Y4uB1q.d.ts} +4 -4
  336. package/dist/h3/index.d.ts +1 -1
  337. package/dist/h3/index.js +1 -1
  338. package/dist/h3/v1/index.d.ts +1 -1
  339. package/dist/h3/v1/index.js +1 -1
  340. package/dist/hono/index.d.ts +4 -4
  341. package/dist/hono/index.js +7 -6
  342. package/dist/{index-Dbb7BQdi.d.ts → index-4WT_uRRL.d.ts} +14 -3
  343. package/dist/{index-BCeTYhFk.d.ts → index-BAcQz5DS.d.ts} +1 -1
  344. package/dist/{index-lB-8iPmY.d.ts → index-BH3NYExp.d.ts} +2 -2
  345. package/dist/{index-B8YjrfVl.d.ts → index-C0t-vNIt.d.ts} +1 -1
  346. package/dist/{index-DUxXdQN_.d.ts → index-C6ruLtyx.d.ts} +2 -2
  347. package/dist/{index-ClMN0f98.d.ts → index-XAyzdLns.d.ts} +8 -8
  348. package/dist/{index-BxYOB1Oc.d.ts → index-iRkFvJ7J.d.ts} +1 -1
  349. package/dist/index.d.ts +1 -1
  350. package/dist/index.js +1 -1
  351. package/dist/{instances-QOzIz9-q.js → instances-DDt7NdVl.js} +1 -1
  352. package/dist/{kit-DOwKpSkA.d.ts → kit-CVgQCIBO.d.ts} +1 -1
  353. package/dist/{kit-5l-o8RxL.js → kit-DhlB-vv_.js} +1 -1
  354. package/dist/mapper/bin.js +7 -6
  355. package/dist/mcp/index.d.ts +9 -3
  356. package/dist/mcp/index.js +6 -6
  357. package/dist/mcp/sdk/index.d.ts +1 -1
  358. package/dist/mcp/sdk/index.js +2 -2
  359. package/dist/{methods-B3o7BFOW.js → methods-Cund9ZBe.js} +1 -1
  360. package/dist/nestjs/index.d.ts +2 -2
  361. package/dist/nestjs/index.js +1 -1
  362. package/dist/next/index.d.ts +12 -12
  363. package/dist/next/index.js +6 -6
  364. package/dist/node/index.d.ts +2 -2
  365. package/dist/node/index.js +1 -1
  366. package/dist/{operations-Dc07aV_H.d.ts → operations-CAjMgNr9.d.ts} +1 -1
  367. package/dist/{options-CK5WiFwG.js → options-3OYOU56e.js} +1 -1
  368. package/dist/{options-xD4_FRUq.js → options-56zYYXxc.js} +1 -1
  369. package/dist/{options-_F-enoBs.d.ts → options-5WvWOkAm.d.ts} +1 -1
  370. package/dist/{options-SViK_2x2.js → options-62woPFn3.js} +1 -1
  371. package/dist/{options-1GgseJq5.js → options-7ixoOoap.js} +1 -1
  372. package/dist/{options-BZsoPJGX.js → options-9dSU5RML.js} +2 -2
  373. package/dist/{options-y_-AkVCs.d.ts → options-B0YZtAkb.d.ts} +1 -1
  374. package/dist/{options-HLwOuF2H.js → options-B2Kz_tCx.js} +2 -2
  375. package/dist/{options-CEMawFrr.js → options-B685YSzQ.js} +1 -1
  376. package/dist/{options-DWbA9buW.js → options-B692WoK6.js} +2 -2
  377. package/dist/options-BHU1wc74.js +5 -0
  378. package/dist/{options-CPK2nQER.js → options-BHy0Z5Zd.js} +2 -2
  379. package/dist/{options-Fz6xqu-b.js → options-BKDxrPvE.js} +2 -2
  380. package/dist/{options-BVg58avP.js → options-BLfymS4s.js} +2 -2
  381. package/dist/{options-CYV4iZiQ.js → options-BOCRbzh3.js} +1 -1
  382. package/dist/{options-tSsUF0-7.js → options-BQWJqwHO.js} +1 -1
  383. package/dist/{options-Cl9Ag2Pt.js → options-BQunK6_Y.js} +2 -2
  384. package/dist/{options-CljDnQt2.js → options-BQyrZjwM.js} +4 -1
  385. package/dist/options-BR9xTHZW.js +5 -0
  386. package/dist/{options-D40CQzji.js → options-BRUdd5jY.js} +1 -1
  387. package/dist/{options-CsGl5BLH.d.ts → options-BTmaRzx2.d.ts} +13 -5
  388. package/dist/{options-Li1Dyu88.d.ts → options-BUCQYAeJ.d.ts} +2 -2
  389. package/dist/{options-B5BU2Yg7.js → options-BawzwlmC.js} +2 -2
  390. package/dist/{options-BlzSfWxC.d.ts → options-BbLDAp7G.d.ts} +2 -2
  391. package/dist/{options-DTDxFT6J.js → options-Bc4xz5jQ.js} +2 -2
  392. package/dist/options-BfFC4iFE.js +8 -0
  393. package/dist/{options-Br1Xi2Hw.js → options-BfPsL7E2.js} +1 -1
  394. package/dist/{options-DYBQ973I.js → options-Bfmwwc78.js} +1 -1
  395. package/dist/{options-c5WCsky5.js → options-BhsdveDk.js} +2 -2
  396. package/dist/{options-B5woz53h.js → options-BomoTH-8.js} +2 -2
  397. package/dist/{options-DeNejBtq.js → options-BtjkzIVh.js} +1 -1
  398. package/dist/options-Bvi9bl4H.js +5 -0
  399. package/dist/{options-IHPg8ZoA.js → options-BwKNmaJo.js} +2 -2
  400. package/dist/{options-CtUUU71w.js → options-BxpLtyk-.js} +4 -6
  401. package/dist/{options-D_bBVCXg.js → options-BzB2QxL3.js} +1 -1
  402. package/dist/{options-CmraJhd9.js → options-C078wBP0.js} +1 -1
  403. package/dist/options-C1-pwEqm.js +5 -0
  404. package/dist/{options-BZOliZvb.js → options-C3AdsFJ6.js} +2 -2
  405. package/dist/options-C7C5OhmL.d.ts +8 -0
  406. package/dist/{options-CCUaRLgd.js → options-C87u6eSa.js} +1 -1
  407. package/dist/{options-CVSWgZpY.js → options-CBAEGxwS.js} +1 -1
  408. package/dist/{options-9gvPo1BC.js → options-CDUr8zzX.js} +1 -1
  409. package/dist/{options-DMR68VAC.js → options-CFjGxfa8.js} +2 -2
  410. package/dist/{options-Bf96aVk5.js → options-CI6P0xhV.js} +1 -1
  411. package/dist/{options-B5VUf4IT.js → options-CJFMK9A_.js} +1 -1
  412. package/dist/{options-CRz8Ht_4.js → options-CLpgx7en.js} +3 -2
  413. package/dist/{options-BesyRBnM.js → options-CTXHj9zr.js} +2 -2
  414. package/dist/{options-D2d1fFuw.js → options-CTl8T88w.js} +1 -1
  415. package/dist/{options-C3RgtOLo.js → options-CTv-xmbA.js} +2 -2
  416. package/dist/{options-Bpl-WFPk.js → options-CUIOOv4z.js} +1 -1
  417. package/dist/{options-o2kfYU2x.js → options-CZDmtsbV.js} +2 -2
  418. package/dist/{options-CF7nRWXS.js → options-CZTscdPB.js} +1 -1
  419. package/dist/{options-BlncUmIc.js → options-CZdKndeo.js} +2 -2
  420. package/dist/{options-DplE18Ko.d.ts → options-C_7g9TTq.d.ts} +1 -1
  421. package/dist/{options-C_pb1Nd3.js → options-Cb2FOFj5.js} +1 -1
  422. package/dist/{options-t_O5ldT6.js → options-CbOstLa7.js} +2 -2
  423. package/dist/{options-Bt0bYMLl.js → options-CcXgWlvm.js} +2 -2
  424. package/dist/{options-BMjcVuaI.js → options-CfVPctAw.js} +7 -0
  425. package/dist/{options-DWpz3V3F.js → options-ChiL-4ZS.js} +2 -2
  426. package/dist/{options-E7KcmHQv.js → options-Cjgaf8ub.js} +2 -2
  427. package/dist/{options-DrSkIBCD.js → options-CoSPgWKy.js} +1 -1
  428. package/dist/{options-Bp7sgKvl.js → options-CpZ2HlSU.js} +5 -3
  429. package/dist/{options-CN7PHkhU.js → options-CsSe8Nba.js} +1 -1
  430. package/dist/{options-B9q8CROT.js → options-CsvJR-r2.js} +1 -1
  431. package/dist/{options-oeAq4Ho5.js → options-Cucv6sWP.js} +2 -2
  432. package/dist/{options-BOOEzor9.js → options-CyjL9lTf.js} +2 -2
  433. package/dist/{options-pOVWwbAK.d.ts → options-D-OOO9V2.d.ts} +1 -1
  434. package/dist/{options-nFzfgtA6.js → options-D0Y6ZMe8.js} +1 -1
  435. package/dist/{options-BnZS7IK-.js → options-D0sj5abR.js} +2 -2
  436. package/dist/{options-0qvUckqt.js → options-D2s7fT1s.js} +2 -2
  437. package/dist/{options-BjtrC7o6.js → options-D32-YxnO.js} +1 -1
  438. package/dist/{options-B0EJULm5.js → options-D610Fa6T.js} +2 -2
  439. package/dist/{options-BvtnxHfK.js → options-D96dScev.js} +1 -1
  440. package/dist/{options-DgQo80Xh.js → options-DFpyP1bg.js} +2 -2
  441. package/dist/{options-BYOtaF7w.js → options-DJEcS4DX.js} +1 -1
  442. package/dist/{options-DPgdAXO5.js → options-DJbN3bi9.js} +2 -2
  443. package/dist/{options-EsUh744F.js → options-DKoQoRCy.js} +2 -2
  444. package/dist/{options-CvD9vNvx.js → options-DM1qaMMQ.js} +1 -1
  445. package/dist/{options-eBPsk4WI.js → options-DNgSwhsm.js} +2 -2
  446. package/dist/{options-2EMA_x6_.js → options-DOIwzRXL.js} +2 -2
  447. package/dist/{options-D6as77gU.d.ts → options-DRIgHh4O.d.ts} +2 -2
  448. package/dist/{options-DDzggjN7.js → options-DRrZmJyI.js} +2 -2
  449. package/dist/{options-DJ-aYPVN.js → options-DUMUsvml.js} +2 -2
  450. package/dist/{options-Cp0HyUEk.js → options-DWwL5Kaz.js} +1 -1
  451. package/dist/{options-BCrqe3HH.js → options-DZHZYlpD.js} +1 -1
  452. package/dist/{options-BQIYfx9F.js → options-DZLkeqWn.js} +2 -2
  453. package/dist/{options-RKYdmIdV.js → options-DZRpXKQE.js} +1 -1
  454. package/dist/{options-D0G06Zm9.js → options-D_9Vxx7f.js} +2 -2
  455. package/dist/{options-BMGClqoa.js → options-DcHl59RC.js} +1 -1
  456. package/dist/{options-CW9wTqOk.js → options-Dcaql09y.js} +1 -1
  457. package/dist/{options-CXFz0xxS.js → options-DcnBNYmV.js} +1 -1
  458. package/dist/{options-21s0dpnX.js → options-DdpM-fiP.js} +2 -2
  459. package/dist/{options-BbnPv6p7.js → options-DhdazgTZ.js} +2 -2
  460. package/dist/{options-C239TLRF.js → options-Dpy-Ruo-.js} +1 -1
  461. package/dist/{options-DWVYM8P0.d.ts → options-DsVuVRH3.d.ts} +1 -1
  462. package/dist/{options-BlOPivzq.js → options-DtAJxfHS.js} +1 -1
  463. package/dist/{options-DXnBN2E7.js → options-Dz9Yo52Z.js} +2 -2
  464. package/dist/{options-DcOx8_3X.d.ts → options-HnfETSHr.d.ts} +1 -1
  465. package/dist/{options-CoX6VKGb.js → options-LqUXTpML.js} +1 -1
  466. package/dist/options-MsloEAIB.js +5 -0
  467. package/dist/{options-DCduTMST.js → options-P2FxqYpd.js} +2 -2
  468. package/dist/options-_1gAIMq7.d.ts +60 -0
  469. package/dist/{options-B0FcEKtH.js → options-aT89JqlB.js} +1 -1
  470. package/dist/{options-Cyu0hgmN.js → options-cVKZu9b0.js} +2 -2
  471. package/dist/options-fMxhtuVR.js +5 -0
  472. package/dist/{options-BxcFLL1G.js → options-fkShrmGQ.js} +2 -2
  473. package/dist/{options-Ctac2R0Q.js → options-gUvfr3no.js} +2 -2
  474. package/dist/{options-DNKyN5uq.js → options-hynwKWuf.js} +2 -2
  475. package/dist/{options-CkScQRJR.js → options-lsxJYfYx.js} +2 -2
  476. package/dist/{options-CyAhRKKm.d.ts → options-o5wCw8H7.d.ts} +2 -2
  477. package/dist/{options-DARkpk2P.js → options-p49DFg3H.js} +2 -2
  478. package/dist/{options-zkyhM3qi.js → options-pYNpXKcg.js} +1 -1
  479. package/dist/{options-Cqq2jUww.js → options-qtETCHzW.js} +2 -2
  480. package/dist/options-rnKlqYEr.js +5 -0
  481. package/dist/{options-KV84gAxl.js → options-sU_zGkiV.js} +2 -2
  482. package/dist/{options-BfLmA375.js → options-xq4MXG1M.js} +2 -2
  483. package/dist/{options-BA6jV6py.js → options-zzlznRA7.js} +2 -2
  484. package/dist/orpc/index.d.ts +19 -8
  485. package/dist/orpc/index.js +60 -31
  486. package/dist/otel/index.d.ts +1 -1
  487. package/dist/otel/index.js +5 -5
  488. package/dist/{ports-DnpAuTvB.d.ts → ports-g0H1Kzwr.d.ts} +1 -1
  489. package/dist/powersync/index.d.ts +135 -2
  490. package/dist/powersync/index.js +333 -1
  491. package/dist/preset/index.d.ts +3 -3
  492. package/dist/preset/index.js +3 -3
  493. package/dist/{preset-BIANzB5p.js → preset-B3CukUhu.js} +4 -4
  494. package/dist/{push-token-C_mFkYfq.d.ts → push-token-Cl2EihRc.d.ts} +1 -1
  495. package/dist/query/index.d.ts +1 -1
  496. package/dist/react/index.d.ts +5 -5
  497. package/dist/react/native/index.d.ts +1 -1
  498. package/dist/react/server.d.ts +5 -5
  499. package/dist/react-router/index.d.ts +3 -3
  500. package/dist/react-router/index.js +5 -5
  501. package/dist/realtime/index.d.ts +3 -3
  502. package/dist/realtime/index.js +1 -1
  503. package/dist/{record-form-xWvVcb86.d.ts → record-form-zMwz0Ayt.d.ts} +1 -1
  504. package/dist/records/index.d.ts +7 -7
  505. package/dist/{refusal-ByBZcm0V.js → refusal-D48CMqpQ.js} +2 -2
  506. package/dist/{refusal-CSntB_x8.d.ts → refusal-OrlI3g4H.d.ts} +1 -1
  507. package/dist/{resource-DV2GC2dB.js → resource-R3KToNze.js} +1 -1
  508. package/dist/{resource-execute-DqWfEc56.d.ts → resource-execute-CKBtGL8-.d.ts} +1 -1
  509. package/dist/{resource-types-BIoz_ElD.d.ts → resource-types-8Q5Klkpa.d.ts} +1 -1
  510. package/dist/{resources-C02l_YBJ.js → resources-DqIwoQsP.js} +1 -1
  511. package/dist/{resources-Bt2PDKE7.d.ts → resources-DxpqenZA.d.ts} +1 -1
  512. package/dist/{respond-C3CcOZlA.js → respond-3RKp6VgU.js} +8 -1
  513. package/dist/{respond-Dn1_YhC1.d.ts → respond-oZeJ342J.d.ts} +6 -0
  514. package/dist/server/index.d.ts +6 -6
  515. package/dist/server/index.js +6 -6
  516. package/dist/{session-C1OuXbtN.d.ts → session-Fcft5A39.d.ts} +1 -1
  517. package/dist/{sign-in-B64114O4.js → sign-in-BLkRU3lc.js} +1 -1
  518. package/dist/solid/index.d.ts +5 -5
  519. package/dist/solid-start/index.d.ts +3 -3
  520. package/dist/solid-start/index.js +5 -5
  521. package/dist/spec/index.d.ts +2 -2
  522. package/dist/spec/index.js +1 -1
  523. package/dist/{spec-pins-DIx95afw.d.ts → spec-pins-BZkKfwY8.d.ts} +2 -0
  524. package/dist/{spec-pins-C1Vm8OBl.js → spec-pins-D3zDek-u.js} +1 -0
  525. package/dist/sql/index.d.ts +5 -5
  526. package/dist/sql/index.js +5 -5
  527. package/dist/{sql-ClTmzHs8.js → sql-fHTjZGqR.js} +2608 -1415
  528. package/dist/sql-type-iUSZpaUu.js +34 -0
  529. package/dist/ssr/index.d.ts +1 -1
  530. package/dist/{statuses-DMMDwXpZ.js → statuses-Alll5Ip6.js} +2 -2
  531. package/dist/storage/index.js +1 -1
  532. package/dist/svelte/index.d.ts +5 -5
  533. package/dist/sveltekit/index.d.ts +3 -3
  534. package/dist/sveltekit/index.js +5 -5
  535. package/dist/tanstack-start/index.d.ts +3 -3
  536. package/dist/tanstack-start/index.js +5 -5
  537. package/dist/{tenant-DVvjw9H-.d.ts → tenant-DyoVYFfC.d.ts} +1 -1
  538. package/dist/testing/index.d.ts +7 -7
  539. package/dist/testing/index.js +6 -3
  540. package/dist/{timeline-BBfKuMVL.d.ts → timeline-CMmo0R7g.d.ts} +2 -2
  541. package/dist/{topic-ikV_pLTX.js → topic-J9I3yu6f.js} +1 -1
  542. package/dist/{topic-BtLz-qTI.d.ts → topic-nQYxoTaU.d.ts} +1 -1
  543. package/dist/vue/index.d.ts +5 -5
  544. package/dist/{watch-topic-tnfOTa3-.d.ts → watch-topic-UGSEWAqR.d.ts} +1 -1
  545. package/dist/workflow-sdk/world/index.js +1 -1
  546. package/dist/{workflow-sdk-Bw6_u0ar.js → workflow-sdk-DELaQEp3.js} +2 -0
  547. package/dist/yjs/index.d.ts +1 -1
  548. package/dist/yjs/index.js +1 -1
  549. package/package.json +1 -1
  550. package/schemas/config-v1.json +449 -69
  551. package/dist/cli/add-z-3pXI6C.js +0 -1
  552. package/dist/cli/env-CAU1nknN.js +0 -1
  553. package/dist/cli/seed-CUxW5Dks.js +0 -1
  554. package/dist/options-63AKQNv0.js +0 -5
  555. package/dist/options-B-cxGmRA.js +0 -5
  556. package/dist/options-BPDiwSa-.js +0 -5
  557. package/dist/options-C6rEL6U5.js +0 -8
  558. package/dist/options-CE93HOYi.d.ts +0 -7
  559. package/dist/options-CTZNpb2n.js +0 -5
  560. package/dist/options-CrC78Tee.js +0 -5
  561. package/dist/options-DINdgVih.d.ts +0 -9
  562. package/dist/options-DWML05Cp.js +0 -5
  563. package/dist/options-Q1Bzgqpr.js +0 -5
@@ -1,5 +1,5 @@
1
1
  import { n as CliError } from "./errors-BTe6A15O.js";
2
- import { l as stdinDatabaseUrl } from "./config-2rwFHbwj.js";
2
+ import { l as stdinDatabaseUrl } from "./config-BJSqMi04.js";
3
3
  //#region src/cli/commands/source-args.ts
4
4
  /**
5
5
  * The connection string from stdin, for commands that connect but read no
@@ -1,4 +1,4 @@
1
- import { t as VERSION } from "./version-T507a49w.js";
1
+ import { t as VERSION } from "./version-TgFM8sOd.js";
2
2
  import { n as CliError } from "./errors-BTe6A15O.js";
3
3
  import { r as redactUrl } from "./redact-KGAk2Ul9.js";
4
4
  import { n as HTTP_CHANNEL } from "./trace-VbdO6bcN.js";
@@ -1,9 +1,9 @@
1
1
  import { n as __require, t as __commonJSMin } from "./rolldown-runtime-kJ_i4yPo.js";
2
- import { p as commandMeta, r as defineCliCommand } from "./command-CQ61x6gN.js";
3
- import { t as VERSION } from "./version-T507a49w.js";
2
+ import { p as commandMeta, r as defineCliCommand } from "./command-BWEEXmtz.js";
3
+ import { t as VERSION } from "./version-TgFM8sOd.js";
4
4
  import { i as failedResult, n as CliError, r as errorText } from "./errors-BTe6A15O.js";
5
5
  import { t as display } from "./io-DH1kcmmP.js";
6
- import { c as writeAtomic, t as CACHE_DIR } from "./cache-oU0yHKf0.js";
6
+ import { c as writeAtomic, t as CACHE_DIR } from "./cache-DE2IH1-C.js";
7
7
  import { t as isRecord } from "./guards-CUlDNYZs.js";
8
8
  import { t as importFresh } from "./fresh-import-DzgsGHkX.js";
9
9
  import { a as changedFiles, i as changeLines, r as applyPlan } from "./files-CX71yBm8.js";
@@ -1 +1 @@
1
- export { n as specEmitCommand, i as specValidateCommand } from "./spec-B4LhpI6t.js";
1
+ export { n as specEmitCommand, i as specValidateCommand } from "./spec-CDxfokey.js";
@@ -1,5 +1,5 @@
1
- import { d as TypegenMissingError, i as parseSnapshot } from "./snapshot-C6vh_n3t.js";
2
- import { a as toCatalog } from "./source-BZbEK5if.js";
1
+ import { d as TypegenMissingError, i as parseSnapshot } from "./snapshot-BXmU3IXN.js";
2
+ import { a as toCatalog } from "./source-irttnsEb.js";
3
3
  import { d as readSupabaseToml, f as schemaPaths, n as declarativeSchemasDir, p as sqlWorkflow } from "./supabase-toml-CncmQbO0.js";
4
4
  import { existsSync } from "node:fs";
5
5
  import { dirname, join, relative, resolve, sep } from "node:path";
@@ -1,4 +1,4 @@
1
- import { p as commandMeta, r as defineCliCommand } from "./command-CQ61x6gN.js";
1
+ import { p as commandMeta, r as defineCliCommand } from "./command-BWEEXmtz.js";
2
2
  import { r as supabaseCli } from "./exec--Q1ZEWUW.js";
3
3
  import { a as readSharedMemory, i as reportStacks, n as listStacks, r as prunePlan, t as branchName } from "./stacks-BYlQ96WS.js";
4
4
  //#region src/cli/commands/stack.ts
@@ -1,9 +1,10 @@
1
1
  import { n as CliError } from "./errors-BTe6A15O.js";
2
2
  import { t as display } from "./io-DH1kcmmP.js";
3
- import { _ as layoutFor, c as sameModuleMigration, d as DATA_NEXT, l as writeLatestMigration, m as writeExtensionsMigration, r as latestMigration, s as renderModuleMigration, t as MODULES_SUFFIX, u as writesMigrations } from "./module-migration-mKhX88V_.js";
3
+ import { a as writeExtensionsMigration, c as layoutFor, t as DATA_NEXT } from "./migrations-BoIyGczt.js";
4
4
  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-CncmQbO0.js";
5
5
  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-CX71yBm8.js";
6
- import { a as sqlPlan, n as migrationsDir } from "./sql-layout-26LSoifK.js";
6
+ import { a as sqlPlan, n as migrationsDir } from "./sql-layout-D8QrNvt4.js";
7
+ import { c as sameModuleMigration, l as writeLatestMigration, r as latestMigration, s as renderModuleMigration, t as MODULES_SUFFIX, u as writesMigrations } from "./module-migration-DXvo0EqU.js";
7
8
  import { t as loadTopics } from "./topics-BpdnYmWb.js";
8
9
  import { t as orphanedBlockFiles } from "./orphans-BAboqyVM.js";
9
10
  import { dirname, join, resolve } from "node:path";
@@ -1,8 +1,9 @@
1
1
  import { t as display } from "./io-DH1kcmmP.js";
2
- import { _ as layoutFor, a as migrationInstances, c as sameModuleMigration, o as migrationModules, p as migrationStamp, r as latestMigration, s as renderModuleMigration, t as MODULES_SUFFIX, u as writesMigrations } from "./module-migration-mKhX88V_.js";
2
+ import { c as layoutFor, r as migrationStamp } from "./migrations-BoIyGczt.js";
3
3
  import { d as fileDiff, i as changeLines, r as applyPlan } from "./files-CX71yBm8.js";
4
- import { a as sqlPlan, n as migrationsDir } from "./sql-layout-26LSoifK.js";
5
- import { a as write, o as topicPolicyFile, r as nextStep } from "./sync-CHGMZCJ5.js";
4
+ import { a as sqlPlan, n as migrationsDir } from "./sql-layout-D8QrNvt4.js";
5
+ 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-DXvo0EqU.js";
6
+ import { a as write, o as topicPolicyFile, r as nextStep } from "./sync-s1iKFIos.js";
6
7
  import { a as legacyPrefixSql, i as legacyPrefixNames, r as legacyBlocksTableSql } from "./legacy-prefix-DkTA3Rhx.js";
7
8
  import { resolve } from "node:path";
8
9
  import { readFile } from "node:fs/promises";
@@ -1,8 +1,8 @@
1
- import { p as commandMeta, r as defineCliCommand } from "./command-CQ61x6gN.js";
1
+ import { p as commandMeta, r as defineCliCommand } from "./command-BWEEXmtz.js";
2
2
  import { i as plain } from "./style-Bm2X5JrN.js";
3
- import { t as syncModules } from "./sync-CHGMZCJ5.js";
3
+ import { t as syncModules } from "./sync-s1iKFIos.js";
4
4
  import { t as SQL_ARGS } from "./args-UEwg0l-N.js";
5
- import { t as upgrade } from "./upgrade-C0dVsqNX.js";
5
+ import { t as upgrade } from "./upgrade-B4FPlK-_.js";
6
6
  //#region src/cli/commands/upgrade.ts
7
7
  const UPGRADE_ARGS = {
8
8
  check: {
@@ -1,4 +1,4 @@
1
1
  //#region src/cli/version.ts
2
- const VERSION = "0.17.0";
2
+ const VERSION = "0.18.0";
3
3
  //#endregion
4
4
  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-BWoz9lED.js";
2
- import { n as TopicPort, r as TopicWatch, t as TopicHandle } from "../watch-topic-tnfOTa3-.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-DnpAuTvB.js";
4
- import { a as ClientAuth, i as BindClientOptions, n as AuthUser, o as bindClient, r as BetterClient, t as AuthSnapshot } from "../bind-C801IaK-.js";
5
- import { a as defineController, i as ControllerState, n as Controller, o as whileSignedIn, r as ControllerParts, t as AuthPort } from "../controller-CJUXhshv.js";
2
+ import { n as TopicPort, r as TopicWatch, t as TopicHandle } from "../watch-topic-UGSEWAqR.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-g0H1Kzwr.js";
4
+ import { a as ClientAuth, i as BindClientOptions, n as AuthUser, o as bindClient, r as BetterClient, t as AuthSnapshot } from "../bind-pu5TLrla.js";
5
+ import { a as defineController, i as ControllerState, n as Controller, o as whileSignedIn, r as ControllerParts, t as AuthPort } from "../controller-BR7CZ1R9.js";
6
6
  import { n as FunctionContract } from "../function-contract-DxFNOmsm.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-DUxXdQN_.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-C6ruLtyx.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-DZeA5KS6.js";
2
2
  import { T as UploadOptions, w as UploadBody } from "../../bucket-vc-QRrva.js";
3
- import { n as TopicPort, r as TopicWatch, t as TopicHandle } from "../../watch-topic-tnfOTa3-.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-DnpAuTvB.js";
5
- import { a as ClientAuth, i as BindClientOptions, n as AuthUser, o as bindClient, r as BetterClient, t as AuthSnapshot } from "../../bind-C801IaK-.js";
6
- import { n as ExpoPushTokenOptions, r as expoPushToken, t as ExpoNotificationsLike } from "../../push-token-C_mFkYfq.js";
3
+ import { n as TopicPort, r as TopicWatch, t as TopicHandle } from "../../watch-topic-UGSEWAqR.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-g0H1Kzwr.js";
5
+ import { a as ClientAuth, i as BindClientOptions, n as AuthUser, o as bindClient, r as BetterClient, t as AuthSnapshot } from "../../bind-pu5TLrla.js";
6
+ import { n as ExpoPushTokenOptions, r as expoPushToken, t as ExpoNotificationsLike } from "../../push-token-Cl2EihRc.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-B4NL84XU.js";
8
8
  import { SupabaseClient } from "@supabase/supabase-js";
9
9
  //#region src/client/native/auto-refresh.d.ts
@@ -3,8 +3,8 @@ import { r as AuthState } from "./resolve-CXX6DHv3.js";
3
3
  import { t as BetterSupabase, v as Db } from "./define-Cgru0_kF.js";
4
4
  import { a as ServerContext, b as ReplicaState, c as ServerOptions, n as BetterServer } from "./server-types-gR4Q1aM0.js";
5
5
  import { t as ActiveSupport } from "./support-B4ZBVxt3.js";
6
- import { n as SessionEntryConfig } from "./session-C1OuXbtN.js";
7
- import { r as GuardOptions } from "./respond-Dn1_YhC1.js";
6
+ import { n as SessionEntryConfig } from "./session-Fcft5A39.js";
7
+ import { r as GuardOptions } from "./respond-oZeJ342J.js";
8
8
  import { SupabaseClient } from "@supabase/supabase-js";
9
9
  import { Entry, SingleKeyEntry } from "@supabase/middleware";
10
10
  import { AuthMode, JWTClaims, UserClaims } from "@supabase/server";
@@ -1,7 +1,7 @@
1
1
  import { o as problemResponse } from "./problem-Bf0cJ7tk.js";
2
- import { T as serverCore, _ as withSupport, g as withTenant, s as createServer, w as withServerContext, y as withSession } from "./adapter-Dyks1lX1.js";
2
+ import { T as serverCore, _ as withSupport, g as withTenant, s as createServer, w as withServerContext, y as withSession } from "./adapter-CfuBICuG.js";
3
3
  import { s as withPrimaryPin } from "./replicas-Dyoh3CEg.js";
4
- import { r as guard, t as defaultExpose } from "./respond-C3CcOZlA.js";
4
+ import { i as guard, n as defaultExpose } from "./respond-3RKp6VgU.js";
5
5
  import { a as withAuthMode, i as withAuth, o as withJwtClaims, s as withUserClaims } from "./claims-DTy6R6my.js";
6
6
  import { defineComposite, defineMiddleware } from "@supabase/middleware";
7
7
  //#region src/server/entries/db.ts
@@ -1,6 +1,6 @@
1
1
  import { M as Casing } from "../types-DFdg_4yN.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-CNsvnwle.js";
3
- import { $ as blockEntrySource, $n as APP_COLUMN_ACCESS, $r as RpcTypeReference, $t as ResolvedExtensions, A as ValibotGeneratorOptions, Ai as SkillsConfig, An as ExposePrivilege, Ar as CatalogIndex, At as GeneratedFile, B as jsonSchema, Br as ForeignKeyAction, Bt as GeneratorInputSchema, Ci as GenConfig, Cn as TopicTriggerPayloadValueConfig, Cr as CatalogColumn, D as ZodFlavor, Di as MigrationSafetyConfig, Dn as VectorSearchConfig, Dr as CatalogFunction, Dt as resolveJsonSchema, Ei as KeysConfig, En as VectorDistance, Er as CatalogForeignKey, F as nuqs, Fi as SKILLS_AGENTS, Fr as ExtrasDomain, Ft as GeneratorEntitySchemas, G as tenantClaimPaths, Gr as PostgresColumn, Gt as JsonSchemaSource, H as ClaimPaths, Hr as SnapshotBucket, Ht as GeneratorModel, I as FactoriesGeneratorOptions, Ir as ExtrasFunction, It as GeneratorField, J as blockEntityRenames, Jn as CONFIG_DEFAULTS, Jr as RpcFunction, Jt as SourceConfig, K as BlockEntity, Kr as PostgresFunction, Kt as JsonTypeConfig, L as factories, Lr as ExtrasHook, Lt as GeneratorFunction, M as StandardSchemaGeneratorOptions, Mi as INTEGRATION_INFO, Mn as Privilege, Mr as CatalogTable, Mt as GeneratorBlock, N as standardSchema, Ni as INTEGRATION_NAMES, Nn as ResolvedExpose, Nr as CatalogTrigger, Nt as GeneratorBlockEntity, O as ZodGeneratorOptions, Oi as OpenApiConfig, On as ColumnPrivilege, Or as CatalogFunctionArg, Ot as ClaimsConfig, P as NuqsGeneratorOptions, Pi as IntegrationInfo, Pr as CatalogUnique, Pt as GeneratorColumn, Q as RENAMED_CONFIG_KEYS, Qr as RpcReturnColumn, Qt as ResolvedConfig, R as JsonSchemaGeneratorOptions, Rr as ExtrasHookFunction, Rt as GeneratorFunctionArg, Si as EnvFileConfig, Sn as TopicTriggerLookupConfig, Sr as CatalogCheck, Ti as IntegrationName, Tn as TopicTriggerValueConfig, Tr as CatalogEnum, U as DEFAULT_CLAIMS, Ur as SnapshotExtras, Ut as GeneratorNoun, V as JsonSchemaTarget, Vr as Snapshot, Vt as GeneratorJsonSchema, W as claimPaths, Wr as GeneratorMetadata, Wt as GeneratorTable, X as CONFIG_GROUPS, Xr as RpcFunctionOverload, Xt as DataHooksFramework, Y as blockSubjectTypes, Yr as RpcFunctionArg, Yt as TableConfig, Z as RENAMED_BLOCK_KEYS, Zr as RpcFunctionReturns, Zt as FlatConfig, _n as ResolvedSqlConfig, _r as AppTableEvents, an as BlockInput, ar as AppColumnAccess, at as defineConfig, bn as SqlWorkflow, br as AppTablesConfig, cn as EnvironmentConfig, cr as AppColumnType, ct as BlockTableReference, dn as SqlInput, dr as AppReference, dt as RoleNames, en as ApiConfig, er as APP_COLUMN_FORMATS, et as flattenConfig, fn as ToolingConfig, fr as AppReferenceTarget, ft as TypedReference, gn as RealtimeConfig, gr as AppTableEventKind, hn as BucketConfig, hr as AppTableConfig, in as BetterSupabaseConfig, ir as APP_TABLE_EVENT_KINDS, it as CONFIG_SCHEMA_URL, j as valibot, ji as GEN_TASKS, jn as ExposeRole, jr as CatalogPolicy, jt as Generator, k as zod, ki as SkillsAgent, kn as ExposeConfig, kr as CatalogGrant, kt as CodecsConfig, ln as GenGroupConfig, lr as AppLookupConfig, lt as BucketName, mn as EntitlementsConfig, mr as AppRollupConfig, mt as ExpandedConfig, nn as AppTablesInput, nr as APP_ON_DELETE_ACTIONS, nt as groupEntries, on as BlocksInput, or as AppColumnConfig, ot as resolveConfig, pn as EntitlementPlansSource, pr as AppRollupAggregate, q as blockEntities, qr as PostgresFunctionArg, qt as RelationsConfig, rn as AuthConfig, rr as APP_ROLLUP_AGGREGATES, rt as hasFlatTables, sn as DatabaseConfig, sr as AppColumnFormat, st as AppTableNames, tn as AppTableInput, tr as APP_COLUMN_TYPES, tt as groupConfig, un as OrganizationConfig, ur as AppOnDeleteAction, ut as ConfigReferences, vn as SeedConfig, vr as AppTableSubject, wi as GenTask, wn as TopicTriggerTopicConfig, wr as CatalogColumnGrant, xi as DoctorConfig, xn as TopicTriggerConfig, xr as Catalog, yn as SqlConfig, yr as AppTableVersions, z as buildJsonSchema, zr as ExtrasTable, zt as GeneratorInput } from "../context-CKCgjEDF.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-IiE__z2m.js";
3
+ import { $ as blockEntrySource, $n as APP_COLUMN_ACCESS, $r as RpcTypeReference, $t as ResolvedExtensions, A as ValibotGeneratorOptions, Ai as SkillsAgent, An as ExposePrivilege, Ar as CatalogIndex, At as GeneratedFile, B as jsonSchema, Br as ForeignKeyAction, Bt as GeneratorInputSchema, Ci as GenConfig, Cn as TopicTriggerPayloadValueConfig, Cr as CatalogColumn, D as ZodFlavor, Di as MigrationSafetyConfig, Dn as VectorSearchConfig, Dr as CatalogFunction, Dt as resolveJsonSchema, Ei as KeysConfig, En as VectorDistance, Er as CatalogForeignKey, F as nuqs, Fi as IntegrationInfo, Fr as ExtrasDomain, Ft as GeneratorEntitySchemas, G as tenantClaimPaths, Gr as PostgresColumn, Gt as JsonSchemaSource, H as ClaimPaths, Hr as SnapshotBucket, Ht as GeneratorModel, I as FactoriesGeneratorOptions, Ii as SKILLS_AGENTS, Ir as ExtrasFunction, It as GeneratorField, J as blockEntityRenames, Jn as CONFIG_DEFAULTS, Jr as RpcFunction, Jt as SourceConfig, K as BlockEntity, Kr as PostgresFunction, Kt as JsonTypeConfig, L as factories, Lr as ExtrasHook, Lt as GeneratorFunction, M as StandardSchemaGeneratorOptions, Mi as GEN_TASKS, Mn as Privilege, Mr as CatalogTable, Mt as GeneratorBlock, N as standardSchema, Ni as INTEGRATION_INFO, Nn as ResolvedExpose, Nr as CatalogTrigger, Nt as GeneratorBlockEntity, O as ZodGeneratorOptions, Oi as OpenApiConfig, On as ColumnPrivilege, Or as CatalogFunctionArg, Ot as ClaimsConfig, P as NuqsGeneratorOptions, Pi as INTEGRATION_NAMES, Pr as CatalogUnique, Pt as GeneratorColumn, Q as RENAMED_CONFIG_KEYS, Qr as RpcReturnColumn, Qt as ResolvedConfig, R as JsonSchemaGeneratorOptions, Rr as ExtrasHookFunction, Rt as GeneratorFunctionArg, Si as EnvFileConfig, Sn as TopicTriggerLookupConfig, Sr as CatalogCheck, Ti as IntegrationName, Tn as TopicTriggerValueConfig, Tr as CatalogEnum, U as DEFAULT_CLAIMS, Ur as SnapshotExtras, Ut as GeneratorNoun, V as JsonSchemaTarget, Vr as Snapshot, Vt as GeneratorJsonSchema, W as claimPaths, Wr as GeneratorMetadata, Wt as GeneratorTable, X as CONFIG_GROUPS, Xr as RpcFunctionOverload, Xt as DataHooksFramework, Y as blockSubjectTypes, Yr as RpcFunctionArg, Yt as TableConfig, Z as RENAMED_BLOCK_KEYS, Zr as RpcFunctionReturns, Zt as FlatConfig, _n as ResolvedSqlConfig, _r as AppTableEvents, an as BlockInput, ar as AppColumnAccess, at as defineConfig, bn as SqlWorkflow, br as AppTablesConfig, cn as EnvironmentConfig, cr as AppColumnType, ct as BlockTableReference, dn as SqlInput, dr as AppReference, dt as RoleNames, en as ApiConfig, er as APP_COLUMN_FORMATS, et as flattenConfig, fn as ToolingConfig, fr as AppReferenceTarget, ft as TypedReference, gn as RealtimeConfig, gr as AppTableEventKind, hn as BucketConfig, hr as AppTableConfig, in as BetterSupabaseConfig, ir as APP_TABLE_EVENT_KINDS, it as CONFIG_SCHEMA_URL, j as valibot, ji as SkillsConfig, jn as ExposeRole, jr as CatalogPolicy, jt as Generator, k as zod, ki as PowerSyncGenConfig, kn as ExposeConfig, kr as CatalogGrant, kt as CodecsConfig, ln as GenGroupConfig, lr as AppLookupConfig, lt as BucketName, mn as EntitlementsConfig, mr as AppRollupConfig, mt as ExpandedConfig, nn as AppTablesInput, nr as APP_ON_DELETE_ACTIONS, nt as groupEntries, on as BlocksInput, or as AppColumnConfig, ot as resolveConfig, pn as EntitlementPlansSource, pr as AppRollupAggregate, q as blockEntities, qr as PostgresFunctionArg, qt as RelationsConfig, rn as AuthConfig, rr as APP_ROLLUP_AGGREGATES, rt as hasFlatTables, sn as DatabaseConfig, sr as AppColumnFormat, st as AppTableNames, tn as AppTableInput, tr as APP_COLUMN_TYPES, tt as groupConfig, un as OrganizationConfig, ur as AppOnDeleteAction, ut as ConfigReferences, vn as SeedConfig, vr as AppTableSubject, wi as GenTask, wn as TopicTriggerTopicConfig, wr as CatalogColumnGrant, xi as DoctorConfig, xn as TopicTriggerConfig, xr as Catalog, yn as SqlConfig, yr as AppTableVersions, z as buildJsonSchema, zr as ExtrasTable, zt as GeneratorInput } from "../context-D24k1Cpc.js";
4
4
  import { n as SubjectsConfig, t as SubjectConfig } from "../subjects-DvmQeF_F.js";
5
5
  import { a as FieldFormat, o as FieldFormatInput, r as FIELD_FORMATS } from "../field-formats-CAFNkKSN.js";
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 AppTableNames, 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 OrganizationConfig, type OwnTablePolicies, type PostgresColumn, type PostgresFunction, type PostgresFunctionArg, type Privilege, RENAMED_BLOCK_KEYS, RENAMED_CONFIG_KEYS, type RealtimeConfig, type RelationsConfig, 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 SubjectsConfig, type TableConfig, type ToolingConfig, type TopicTriggerConfig, type TopicTriggerLookupConfig, type TopicTriggerPayloadValueConfig, type TopicTriggerTopicConfig, type TopicTriggerValueConfig, type TypedReference, type ValibotGeneratorOptions, type VectorDistance, type VectorSearchConfig, type ZodFlavor, type ZodGeneratorOptions, blockEntities, blockEntityRenames, blockEntrySource, blockSubjectTypes, buildJsonSchema, claimPaths, defineConfig, factories, flattenConfig, groupConfig, groupEntries, hasFlatTables, jsonSchema, nuqs, providerApiProblem, resolveConfig, resolveJsonSchema, standardSchema, tenantClaimPaths, tenantNameOf, valibot, zod };
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 AppTableNames, 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 OrganizationConfig, type OwnTablePolicies, type PostgresColumn, type PostgresFunction, type PostgresFunctionArg, type PowerSyncGenConfig, type Privilege, RENAMED_BLOCK_KEYS, RENAMED_CONFIG_KEYS, type RealtimeConfig, type RelationsConfig, 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 SubjectsConfig, type TableConfig, type ToolingConfig, type TopicTriggerConfig, type TopicTriggerLookupConfig, type TopicTriggerPayloadValueConfig, type TopicTriggerTopicConfig, type TopicTriggerValueConfig, type TypedReference, type ValibotGeneratorOptions, type VectorDistance, type VectorSearchConfig, type ZodFlavor, type ZodGeneratorOptions, blockEntities, blockEntityRenames, blockEntrySource, blockSubjectTypes, buildJsonSchema, claimPaths, defineConfig, factories, flattenConfig, groupConfig, groupEntries, hasFlatTables, jsonSchema, nuqs, providerApiProblem, resolveConfig, resolveJsonSchema, standardSchema, tenantClaimPaths, tenantNameOf, valibot, zod };
@@ -1,8 +1,8 @@
1
- import { o as resolveJsonSchema, s as CONFIG_DEFAULTS } from "../instances-QOzIz9-q.js";
2
- import { A as flattenConfig, D as RENAMED_BLOCK_KEYS, E as CONFIG_GROUPS, F as INTEGRATION_INFO, I as INTEGRATION_NAMES, L as SKILLS_AGENTS, M as groupEntries, N as hasFlatTables, O as RENAMED_CONFIG_KEYS, P as GEN_TASKS, j as groupConfig, k as blockEntrySource } from "../config-CIBc79_8.js";
1
+ import { o as resolveJsonSchema, s as CONFIG_DEFAULTS } from "../instances-DDt7NdVl.js";
2
+ import { A as flattenConfig, D as RENAMED_BLOCK_KEYS, E as CONFIG_GROUPS, F as INTEGRATION_INFO, I as INTEGRATION_NAMES, L as SKILLS_AGENTS, M as groupEntries, N as hasFlatTables, O as RENAMED_CONFIG_KEYS, P as GEN_TASKS, j as groupConfig, k as blockEntrySource } from "../config-CD2OGfCG.js";
3
3
  import { a as tenantClaimPaths, r as claimPaths, t as DEFAULT_CLAIMS } from "../claims-Bp9My7XP.js";
4
- import { C as APP_ON_DELETE_ACTIONS, O as DEFAULT_ACTIVE_TENANT, S as APP_COLUMN_TYPES, T as APP_TABLE_EVENT_KINDS, b as APP_COLUMN_ACCESS, j as tenantNameOf, w as APP_ROLLUP_AGGREGATES, x as APP_COLUMN_FORMATS } from "../app-tables-Q0TYfeih.js";
4
+ import { C as APP_ON_DELETE_ACTIONS, O as DEFAULT_ACTIVE_TENANT, S as APP_COLUMN_TYPES, T as APP_TABLE_EVENT_KINDS, b as APP_COLUMN_ACCESS, j as tenantNameOf, w as APP_ROLLUP_AGGREGATES, x as APP_COLUMN_FORMATS } from "../app-tables-DyswUg6J.js";
5
5
  import { r as FIELD_FORMATS } from "../field-formats-C6QKA3UR.js";
6
- import { a as factories, c as resolveConfig, d as blockSubjectTypes, f as providerApiProblem, i as nuqs, l as blockEntities, n as valibot, o as CONFIG_SCHEMA_URL, r as standardSchema, s as defineConfig, t as zod, u as blockEntityRenames } from "../config-BVNNJwGC.js";
6
+ import { a as factories, c as resolveConfig, d as blockSubjectTypes, f as providerApiProblem, i as nuqs, l as blockEntities, n as valibot, o as CONFIG_SCHEMA_URL, r as standardSchema, s as defineConfig, t as zod, u as blockEntityRenames } from "../config-mbVyJwSc.js";
7
7
  import { n as jsonSchema, t as buildJsonSchema } from "../json-schema-Ca6gYbEP.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, hasFlatTables, jsonSchema, nuqs, providerApiProblem, resolveConfig, resolveJsonSchema, standardSchema, tenantClaimPaths, tenantNameOf, valibot, zod };
@@ -1,10 +1,11 @@
1
1
  import { t as DEFAULT_TENANT } from "./entity-naming-Dtyq5sKE.js";
2
- import { E as PRESET_CATALOG, k as asBlocksConfig } from "./app-tables-Q0TYfeih.js";
2
+ import { E as PRESET_CATALOG, k as asBlocksConfig } from "./app-tables-DyswUg6J.js";
3
3
  //#region src/config/names.ts
4
4
  /** The steps `better-supabase gen` runs, in the order it runs them. */
5
5
  const GEN_TASKS = [
6
6
  "types",
7
7
  "sql",
8
+ "powersync",
8
9
  "spec",
9
10
  "seed",
10
11
  "env"
@@ -1,8 +1,8 @@
1
- import { a as resolveNames, i as resolveInstances, s as CONFIG_DEFAULTS, t as blocksByName } from "./instances-QOzIz9-q.js";
2
- import { A as flattenConfig, n as expandFlatPreset, r as expandPreset } from "./config-CIBc79_8.js";
1
+ import { a as resolveNames, i as resolveInstances, s as CONFIG_DEFAULTS, t as blocksByName } from "./instances-DDt7NdVl.js";
2
+ import { A as flattenConfig, n as expandFlatPreset, r as expandPreset } from "./config-CD2OGfCG.js";
3
3
  import { t as DEFAULT_CLAIMS } from "./claims-Bp9My7XP.js";
4
4
  import { o as tenantNames } from "./entity-naming-Dtyq5sKE.js";
5
- import { A as resolveBlock, E as PRESET_CATALOG, d as appTablesOf, f as withAppTableSubjects, j as tenantNameOf } from "./app-tables-Q0TYfeih.js";
5
+ import { A as resolveBlock, E as PRESET_CATALOG, d as appTablesOf, f as withAppTableSubjects, j as tenantNameOf } from "./app-tables-DyswUg6J.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-Ca6gYbEP.js";
7
7
  //#region src/config/authorization.ts
8
8
  /**
@@ -1,14 +1,14 @@
1
1
  /// <reference lib="esnext.temporal" />
2
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, F as TablesOf, I 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-CNsvnwle.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-Xxw8Hroe.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-IiE__z2m.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-CJWiDWa5.js";
5
5
  import { a as ScalarKind, i as FieldSpec } from "./table-schema-BlF6k62Q.js";
6
6
  import { n as SubjectsConfig } from "./subjects-DvmQeF_F.js";
7
7
  import { i as FIELD_FORMAT_NAMES, s as FieldFormatName } from "./field-formats-CAFNkKSN.js";
8
8
  import { t as GuestAction } from "./guest-actions-1T1DeS5Y.js";
9
9
  //#region src/config/names.d.ts
10
10
  /** The steps `better-supabase gen` runs, in the order it runs them. */
11
- declare const GEN_TASKS: readonly ["types", "sql", "spec", "seed", "env"];
11
+ declare const GEN_TASKS: readonly ["types", "sql", "powersync", "spec", "seed", "env"];
12
12
  /** Glue `better-supabase init` and `add` write for a framework or runtime. */
13
13
  declare const INTEGRATION_NAMES: readonly ["next", "hono", "orpc", "edge", "expo", "mcp", "client", "react"];
14
14
  /**
@@ -99,6 +99,30 @@ interface GenConfig {
99
99
  * `tsconfig.json` and `tsc --runExternalCode`. Defaults to `false`.
100
100
  */
101
101
  readonly contentMapper?: boolean;
102
+ /**
103
+ * Writes PowerSync sync streams for these block instances:
104
+ * `sync-streams.yaml` and `schema.ts` in `out`, and a migration that adds
105
+ * their tables to the `powersync` publication. Runs as the `powersync` task,
106
+ * and as `better-supabase powersync streams`.
107
+ */
108
+ readonly powersync?: PowerSyncGenConfig;
109
+ }
110
+ interface PowerSyncGenConfig {
111
+ /**
112
+ * The block instances to sync, by their key in `blocks`: instances of
113
+ * `notifications` and `attachments`.
114
+ */
115
+ readonly instances: readonly string[];
116
+ /**
117
+ * The folder for `sync-streams.yaml` and `schema.ts`. Defaults to
118
+ * `powersync`.
119
+ */
120
+ readonly out?: string;
121
+ /**
122
+ * The module `schema.ts` imports `column` and `Table` from. Defaults to
123
+ * `@powersync/common`.
124
+ */
125
+ readonly import?: string;
102
126
  }
103
127
  /** Glue `better-supabase init` and `add` write for a framework or runtime. */
104
128
  type IntegrationName = (typeof INTEGRATION_NAMES)[number];
@@ -3735,6 +3759,7 @@ interface BlockSqlTableSpec {
3735
3759
  * enum: the module writes and compares them through `ctx.cast`.
3736
3760
  */
3737
3761
  readonly typed?: readonly string[];
3762
+ readonly yieldsToExtra?: readonly string[];
3738
3763
  }
3739
3764
  interface BlockSqlTableLifecycle {
3740
3765
  readonly user?: string;
@@ -4155,4 +4180,4 @@ interface ExtraColumn {
4155
4180
  /** The contract's argument list with `{id}` resolved, as Postgres prints it. */
4156
4181
  declare function contractSignature(fn: BlockSqlContractFunction, idType: string): string;
4157
4182
  //#endregion
4158
- export { blockEntrySource as $, APP_COLUMN_ACCESS as $n, RpcTypeReference as $r, ResolvedExtensions as $t, ValibotGeneratorOptions as A, SkillsConfig as Ai, ExposePrivilege as An, CatalogIndex as Ar, GeneratedFile as At, jsonSchema as B, PRESETS as Bn, ForeignKeyAction as Br, GeneratorInputSchema as Bt, OwnView as C, GenConfig as Ci, TopicTriggerPayloadValueConfig as Cn, CatalogColumn as Cr, ResolvedPresetBlock as Ct, ZodFlavor as D, MigrationSafetyConfig as Di, VectorSearchConfig as Dn, CatalogFunction as Dr, resolveJsonSchema as Dt, TableGrant as E, KeysConfig as Ei, VectorDistance as En, CatalogForeignKey as Er, resolvePreset as Et, nuqs as F, SKILLS_AGENTS as Fi, presetFromSpec as Fn, ExtrasDomain as Fr, GeneratorEntitySchemas as Ft, tenantClaimPaths as G, defaultPreset as Gn, PostgresColumn as Gr, JsonSchemaSource as Gt, ClaimPaths as H, PRESET_NAMES as Hn, SnapshotBucket as Hr, GeneratorModel as Ht, FactoriesGeneratorOptions as I, presetOfSpec as In, ExtrasFunction as Ir, GeneratorField as It, blockEntityRenames as J, CONFIG_DEFAULTS as Jn, RpcFunction as Jr, SourceConfig as Jt, BlockEntity as K, isPresetName as Kn, PostgresFunction as Kr, JsonTypeConfig as Kt, factories as L, presetSpec as Ln, ExtrasHook as Lr, GeneratorFunction as Lt, StandardSchemaGeneratorOptions as M, INTEGRATION_INFO as Mi, Privilege as Mn, CatalogTable as Mr, GeneratorBlock as Mt, standardSchema as N, INTEGRATION_NAMES as Ni, ResolvedExpose as Nn, CatalogTrigger as Nr, GeneratorBlockEntity as Nt, ZodGeneratorOptions as O, OpenApiConfig as Oi, ColumnPrivilege as On, CatalogFunctionArg as Or, ClaimsConfig as Ot, NuqsGeneratorOptions as P, IntegrationInfo as Pi, PresetSpec as Pn, CatalogUnique as Pr, GeneratorColumn as Pt, RENAMED_CONFIG_KEYS as Q, auditRegistrations as Qn, RpcReturnColumn as Qr, ResolvedConfig as Qt, JsonSchemaGeneratorOptions as R, DEFAULT_PRESET_NAME as Rn, ExtrasHookFunction as Rr, GeneratorFunctionArg as Rt, BlockSqlUpgrade as S, EnvFileConfig as Si, TopicTriggerLookupConfig as Sn, CatalogCheck as Sr, ResolvedPreset as St, notNullCheckName as T, IntegrationName as Ti, TopicTriggerValueConfig as Tn, CatalogEnum as Tr, presetBlockConflict as Tt, DEFAULT_CLAIMS as U, PresetGroup as Un, SnapshotExtras as Ur, GeneratorNoun as Ut, JsonSchemaTarget as V, PRESET_GROUPS as Vn, Snapshot as Vr, GeneratorJsonSchema as Vt, claimPaths as W, PresetName as Wn, GeneratorMetadata as Wr, GeneratorTable as Wt, CONFIG_GROUPS as X, sameTenantLayout as Xn, RpcFunctionOverload as Xr, DataHooksFramework as Xt, blockSubjectTypes as Y, DeclaredForeignKey as Yn, RpcFunctionArg as Yr, TableConfig as Yt, RENAMED_BLOCK_KEYS as Z, AuditedTable as Zn, RpcFunctionReturns as Zr, FlatConfig as Zt, BlockSqlDeprecation as _, PresetValueInfo as _i, ResolvedSqlConfig as _n, AppTableEvents as _r, expandPreset as _t, BlockSqlContext as a, DEFAULT_CONVENTIONS as ai, BlockInput as an, AppColumnAccess as ar, defineConfig as at, BlockSqlLayout as b, presetValueLabel as bi, SqlWorkflow as bn, AppTablesConfig as br, PresetConflict as bt, BlockSqlIdType as c, Preset as ci, EnvironmentConfig as cn, AppColumnType as cr, BlockTableReference as ct, MODULE_ID_TYPES as d, PresetField as di, SqlInput as dn, AppReference as dr, RoleNames as dt, PresetCatalog as ei, ApiConfig as en, APP_COLUMN_FORMATS as er, flattenConfig as et, contractSignature as f, PresetFieldKey as fi, ToolingConfig as fn, AppReferenceTarget as fr, TypedReference as ft, BlockSqlAccessProvider as g, PresetScope as gi, RealtimeConfig as gn, AppTableEventKind as gr, conventionConfig as gt, BlockSql as h, PresetPlatforms as hi, BucketConfig as hn, AppTableConfig as hr, PresetInput as ht, BlockSqlAudit as i, CONVENTION_FIELDS as ii, BetterSupabaseConfig as in, APP_TABLE_EVENT_KINDS as ir, CONFIG_SCHEMA_URL as it, valibot as j, GEN_TASKS as ji, ExposeRole as jn, CatalogPolicy as jr, Generator as jt, zod as k, SkillsAgent as ki, ExposeConfig as kn, CatalogGrant as kr, CodecsConfig as kt, BlockSqlNames as l, PresetAccess as li, GenGroupConfig as ln, AppLookupConfig as lr, BucketName as lt, moduleIdType as m, PresetFramework as mi, EntitlementsConfig as mn, AppRollupConfig as mr, ExpandedConfig as mt, AuditCategory as n, PresetCatalogManifest as ni, AppTablesInput as nn, APP_ON_DELETE_ACTIONS as nr, groupEntries as nt, BlockSqlContractFunction as o, PRESET_FRAMEWORKS as oi, BlocksInput as on, AppColumnConfig as or, resolveConfig as ot, isBlockSqlIdType as p, PresetFieldValue as pi, EntitlementPlansSource as pn, AppRollupAggregate as pr, ConfigConventions as pt, blockEntities as q, namedPreset as qn, PostgresFunctionArg as qr, RelationsConfig as qt, BlockSqlAction as r, PresetGlueItem as ri, AuthConfig as rn, APP_ROLLUP_AGGREGATES as rr, hasFlatTables as rt, BlockSqlEmit as s, PRESET_TENANT_NAMES as si, DatabaseConfig as sn, AppColumnFormat as sr, AppTableNames as st, AUDIT_CATEGORIES as t, PresetCatalogBlock as ti, AppTableInput as tn, APP_COLUMN_TYPES as tr, groupConfig as tt, BlockSqlTableSpec as u, PresetConventions as ui, OrganizationConfig as un, AppOnDeleteAction as ur, ConfigReferences as ut, BlockSqlEntitlementsProvider as v, integrationsForFramework as vi, SeedConfig as vn, AppTableSubject as vr, presetConfig as vt, blockSqlVersion as w, GenTask as wi, TopicTriggerTopicConfig as wn, CatalogColumnGrant as wr, listNames as wt, BlockSqlTestFile as x, DoctorConfig as xi, TopicTriggerConfig as xn, Catalog as xr, PresetIntegration as xt, BlockSqlFile as y, presetField as yi, SqlConfig as yn, AppTableVersions as yr, presetOf as yt, buildJsonSchema as z, NamedPreset as zn, ExtrasTable as zr, GeneratorInput as zt };
4183
+ export { blockEntrySource as $, APP_COLUMN_ACCESS as $n, RpcTypeReference as $r, ResolvedExtensions as $t, ValibotGeneratorOptions as A, SkillsAgent as Ai, ExposePrivilege as An, CatalogIndex as Ar, GeneratedFile as At, jsonSchema as B, PRESETS as Bn, ForeignKeyAction as Br, GeneratorInputSchema as Bt, OwnView as C, GenConfig as Ci, TopicTriggerPayloadValueConfig as Cn, CatalogColumn as Cr, ResolvedPresetBlock as Ct, ZodFlavor as D, MigrationSafetyConfig as Di, VectorSearchConfig as Dn, CatalogFunction as Dr, resolveJsonSchema as Dt, TableGrant as E, KeysConfig as Ei, VectorDistance as En, CatalogForeignKey as Er, resolvePreset as Et, nuqs as F, IntegrationInfo as Fi, presetFromSpec as Fn, ExtrasDomain as Fr, GeneratorEntitySchemas as Ft, tenantClaimPaths as G, defaultPreset as Gn, PostgresColumn as Gr, JsonSchemaSource as Gt, ClaimPaths as H, PRESET_NAMES as Hn, SnapshotBucket as Hr, GeneratorModel as Ht, FactoriesGeneratorOptions as I, SKILLS_AGENTS as Ii, presetOfSpec as In, ExtrasFunction as Ir, GeneratorField as It, blockEntityRenames as J, CONFIG_DEFAULTS as Jn, RpcFunction as Jr, SourceConfig as Jt, BlockEntity as K, isPresetName as Kn, PostgresFunction as Kr, JsonTypeConfig as Kt, factories as L, presetSpec as Ln, ExtrasHook as Lr, GeneratorFunction as Lt, StandardSchemaGeneratorOptions as M, GEN_TASKS as Mi, Privilege as Mn, CatalogTable as Mr, GeneratorBlock as Mt, standardSchema as N, INTEGRATION_INFO as Ni, ResolvedExpose as Nn, CatalogTrigger as Nr, GeneratorBlockEntity as Nt, ZodGeneratorOptions as O, OpenApiConfig as Oi, ColumnPrivilege as On, CatalogFunctionArg as Or, ClaimsConfig as Ot, NuqsGeneratorOptions as P, INTEGRATION_NAMES as Pi, PresetSpec as Pn, CatalogUnique as Pr, GeneratorColumn as Pt, RENAMED_CONFIG_KEYS as Q, auditRegistrations as Qn, RpcReturnColumn as Qr, ResolvedConfig as Qt, JsonSchemaGeneratorOptions as R, DEFAULT_PRESET_NAME as Rn, ExtrasHookFunction as Rr, GeneratorFunctionArg as Rt, BlockSqlUpgrade as S, EnvFileConfig as Si, TopicTriggerLookupConfig as Sn, CatalogCheck as Sr, ResolvedPreset as St, notNullCheckName as T, IntegrationName as Ti, TopicTriggerValueConfig as Tn, CatalogEnum as Tr, presetBlockConflict as Tt, DEFAULT_CLAIMS as U, PresetGroup as Un, SnapshotExtras as Ur, GeneratorNoun as Ut, JsonSchemaTarget as V, PRESET_GROUPS as Vn, Snapshot as Vr, GeneratorJsonSchema as Vt, claimPaths as W, PresetName as Wn, GeneratorMetadata as Wr, GeneratorTable as Wt, CONFIG_GROUPS as X, sameTenantLayout as Xn, RpcFunctionOverload as Xr, DataHooksFramework as Xt, blockSubjectTypes as Y, DeclaredForeignKey as Yn, RpcFunctionArg as Yr, TableConfig as Yt, RENAMED_BLOCK_KEYS as Z, AuditedTable as Zn, RpcFunctionReturns as Zr, FlatConfig as Zt, BlockSqlDeprecation as _, PresetValueInfo as _i, ResolvedSqlConfig as _n, AppTableEvents as _r, expandPreset as _t, BlockSqlContext as a, DEFAULT_CONVENTIONS as ai, BlockInput as an, AppColumnAccess as ar, defineConfig as at, BlockSqlLayout as b, presetValueLabel as bi, SqlWorkflow as bn, AppTablesConfig as br, PresetConflict as bt, BlockSqlIdType as c, Preset as ci, EnvironmentConfig as cn, AppColumnType as cr, BlockTableReference as ct, MODULE_ID_TYPES as d, PresetField as di, SqlInput as dn, AppReference as dr, RoleNames as dt, PresetCatalog as ei, ApiConfig as en, APP_COLUMN_FORMATS as er, flattenConfig as et, contractSignature as f, PresetFieldKey as fi, ToolingConfig as fn, AppReferenceTarget as fr, TypedReference as ft, BlockSqlAccessProvider as g, PresetScope as gi, RealtimeConfig as gn, AppTableEventKind as gr, conventionConfig as gt, BlockSql as h, PresetPlatforms as hi, BucketConfig as hn, AppTableConfig as hr, PresetInput as ht, BlockSqlAudit as i, CONVENTION_FIELDS as ii, BetterSupabaseConfig as in, APP_TABLE_EVENT_KINDS as ir, CONFIG_SCHEMA_URL as it, valibot as j, SkillsConfig as ji, ExposeRole as jn, CatalogPolicy as jr, Generator as jt, zod as k, PowerSyncGenConfig as ki, ExposeConfig as kn, CatalogGrant as kr, CodecsConfig as kt, BlockSqlNames as l, PresetAccess as li, GenGroupConfig as ln, AppLookupConfig as lr, BucketName as lt, moduleIdType as m, PresetFramework as mi, EntitlementsConfig as mn, AppRollupConfig as mr, ExpandedConfig as mt, AuditCategory as n, PresetCatalogManifest as ni, AppTablesInput as nn, APP_ON_DELETE_ACTIONS as nr, groupEntries as nt, BlockSqlContractFunction as o, PRESET_FRAMEWORKS as oi, BlocksInput as on, AppColumnConfig as or, resolveConfig as ot, isBlockSqlIdType as p, PresetFieldValue as pi, EntitlementPlansSource as pn, AppRollupAggregate as pr, ConfigConventions as pt, blockEntities as q, namedPreset as qn, PostgresFunctionArg as qr, RelationsConfig as qt, BlockSqlAction as r, PresetGlueItem as ri, AuthConfig as rn, APP_ROLLUP_AGGREGATES as rr, hasFlatTables as rt, BlockSqlEmit as s, PRESET_TENANT_NAMES as si, DatabaseConfig as sn, AppColumnFormat as sr, AppTableNames as st, AUDIT_CATEGORIES as t, PresetCatalogBlock as ti, AppTableInput as tn, APP_COLUMN_TYPES as tr, groupConfig as tt, BlockSqlTableSpec as u, PresetConventions as ui, OrganizationConfig as un, AppOnDeleteAction as ur, ConfigReferences as ut, BlockSqlEntitlementsProvider as v, integrationsForFramework as vi, SeedConfig as vn, AppTableSubject as vr, presetConfig as vt, blockSqlVersion as w, GenTask as wi, TopicTriggerTopicConfig as wn, CatalogColumnGrant as wr, listNames as wt, BlockSqlTestFile as x, DoctorConfig as xi, TopicTriggerConfig as xn, Catalog as xr, PresetIntegration as xt, BlockSqlFile as y, presetField as yi, SqlConfig as yn, AppTableVersions as yr, presetOf as yt, buildJsonSchema as z, NamedPreset as zn, ExtrasTable as zr, GeneratorInput as zt };
@@ -1,4 +1,4 @@
1
- import { a as ClientAuth } from "./bind-C801IaK-.js";
1
+ import { a as ClientAuth } from "./bind-pu5TLrla.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-Xxw8Hroe.js";
2
+ import { Bt as Action, Ht as ActionContext, Vt as ActionCall } from "./define-block-CJWiDWa5.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,6 +1,6 @@
1
1
  /// <reference lib="esnext.temporal" />
2
- import { Pn as PresetSpec, Wn as PresetName, ar as AppColumnAccess, ci as Preset, cr as AppColumnType, g as BlockSqlAccessProvider, ht as PresetInput, nr as APP_ON_DELETE_ACTIONS, sr as AppColumnFormat, ur as AppOnDeleteAction, yr as AppTableVersions } from "../context-CKCgjEDF.js";
3
- import { a as DesignChange, p as DesignErrorCode, u as CreateDesign } from "../index-BCeTYhFk.js";
2
+ import { Pn as PresetSpec, Wn as PresetName, ar as AppColumnAccess, ci as Preset, cr as AppColumnType, g as BlockSqlAccessProvider, ht as PresetInput, nr as APP_ON_DELETE_ACTIONS, sr as AppColumnFormat, ur as AppOnDeleteAction, yr as AppTableVersions } from "../context-D24k1Cpc.js";
3
+ import { a as DesignChange, p as DesignErrorCode, u as CreateDesign } from "../index-BAcQz5DS.js";
4
4
  import { a as SupabaseLint, o as SupabaseOrganization, s as SupabaseProject } from "../management-wtecfrNf.js";
5
5
  import { t as PresetMigrationFile } from "../types-DGHfTW8_.js";
6
6
  //#region src/create/design-computed.d.ts
@@ -1,8 +1,8 @@
1
- import { a as presetOf, d as resolvePreset } from "../config-CIBc79_8.js";
2
- import { C as APP_ON_DELETE_ACTIONS, E as PRESET_CATALOG, a as appIdentifierError, m as isAppDefault, o as appNameLengthError, p as appDefaultError, s as appReservedColumns } from "../app-tables-Q0TYfeih.js";
3
- import { c as resolveConfig } from "../config-BVNNJwGC.js";
4
- import { _ as jsonPointer, a as DesignParseError, h as encodeDesign, n as diffDesigns, o as DesignTooLongError, p as designOf, u as designConfig, v as parseDesign } from "../preset-BIANzB5p.js";
5
- import { L as SQL_MODULES, g as renderBlocks, i as moduleLayout } from "../sql-ClTmzHs8.js";
1
+ import { a as presetOf, d as resolvePreset } from "../config-CD2OGfCG.js";
2
+ import { C as APP_ON_DELETE_ACTIONS, E as PRESET_CATALOG, a as appIdentifierError, m as isAppDefault, o as appNameLengthError, p as appDefaultError, s as appReservedColumns } from "../app-tables-DyswUg6J.js";
3
+ import { c as resolveConfig } from "../config-mbVyJwSc.js";
4
+ import { _ as jsonPointer, a as DesignParseError, h as encodeDesign, n as diffDesigns, o as DesignTooLongError, p as designOf, u as designConfig, v as parseDesign } from "../preset-B3CukUhu.js";
5
+ import { R as SQL_MODULES, _ as renderBlocks, i as moduleLayout } from "../sql-fHTjZGqR.js";
6
6
  //#region src/create/column-keys.ts
7
7
  /** The most options a select takes, and the longest option. */
8
8
  const MAX_OPTIONS = 100;
@@ -11,7 +11,7 @@ import { r as DbTransportSource, t as BlockTransport } from "./block-transport-D
11
11
  import { a as BlockTransportMiddleware, n as BlockHooks } from "./block-hooks-DZN2w69m.js";
12
12
  import { f as AiFiles, y as UploadClaimStorage } from "./types-Dr9wZgNy.js";
13
13
  import { g as JobHandler } from "./types-Czq9Xtpa.js";
14
- import { t as BlockOptionsSchema } from "./options-CsGl5BLH.js";
14
+ import { t as BlockOptionsSchema } from "./options-BTmaRzx2.js";
15
15
  import { t as Author } from "./block-authors-DzXLUiIq.js";
16
16
  import { u as BlockInstanceSurface } from "./define-Cgru0_kF.js";
17
17
  import { A as TtlPreset, C as TransformOptions, l as ImageTransform } from "./bucket-vc-QRrva.js";
@@ -544,9 +544,15 @@ interface AttachmentsOptions<S extends StandardSchemaV1$1 | undefined = undefine
544
544
  readonly mappers?: readonly ErrorMapper[];
545
545
  /**
546
546
  * `blocks.attachments.options.requireScan`, which `defineBlocks` passes from
547
- * `blocks.generated.ts`. Default `true`.
547
+ * `blocks.generated.ts`. Default `true`, or `false` with `offline`.
548
548
  */
549
549
  readonly requireScan?: boolean;
550
+ /**
551
+ * `blocks.attachments.options.offline`, which `defineBlocks` passes from
552
+ * `blocks.generated.ts`. With it, `remove` deletes the record first, which
553
+ * queues its files, and then the files. Default `false`.
554
+ */
555
+ readonly offline?: boolean;
550
556
  /**
551
557
  * `blocks.attachments.options.publicBuckets`, which `defineBlocks` passes
552
558
  * from `blocks.generated.ts`: the buckets `publicUrl` serves. Default none.
@@ -719,7 +725,8 @@ interface Attachments<F extends object = Record<never, never>> {
719
725
  }): Result<string>;
720
726
  /**
721
727
  * Deletes every version's file, then the record (the uploader, or
722
- * `attachments.manage`).
728
+ * `attachments.manage`). With `offline`, the record goes first and queues the
729
+ * files; a file the delete misses stays queued for `sweepQueued`.
723
730
  */
724
731
  remove(id: string): AsyncResult<boolean>;
725
732
  /**
@@ -5,14 +5,14 @@ import { l as PermissionRef, t as AnyAuthorizer } from "../authorizer-B6X09otb.j
5
5
  import { t as BetterSupabase } from "../define-Cgru0_kF.js";
6
6
  import { a as ServerContext, c as ServerOptions, n as BetterServer } from "../server-types-gR4Q1aM0.js";
7
7
  import { t as AuthSession } from "../view-DyFdMCqg.js";
8
- import { i as MiddlewareOptions, r as GuardOptions } from "../respond-Dn1_YhC1.js";
9
- import { c as ResourceLoaderContext, s as BlockRequireOptions } from "../kit-DOwKpSkA.js";
8
+ import { i as MiddlewareOptions, r as GuardOptions } from "../respond-oZeJ342J.js";
9
+ import { c as ResourceLoaderContext, s as BlockRequireOptions } from "../kit-CVgQCIBO.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-BIoz_ElD.js";
14
- import { t as ResourceMap } from "../resources-Bt2PDKE7.js";
15
- import { t as defineAction } from "../resource-execute-DqWfEc56.js";
13
+ import { i as ResourceContext, l as ResourceRouteOptions, o as ResourceHooks, r as ResourceAction, t as ActionArgs } from "../resource-types-8Q5Klkpa.js";
14
+ import { t as ResourceMap } from "../resources-DxpqenZA.js";
15
+ import { t as defineAction } from "../resource-execute-CKBtGL8-.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. */
@@ -2,15 +2,15 @@ import { n as dbError } from "../errors-BVFgt8BZ.js";
2
2
  import { a as ok, r as err } from "../result-ntFBW2p2.js";
3
3
  import { n as validate } from "../standard-BA3mLh6w.js";
4
4
  import { o as problemResponse } from "../problem-Bf0cJ7tk.js";
5
- import { a as unexpectedResponse, c as extendServer, o as withFlush, s as createServer } from "../adapter-Dyks1lX1.js";
6
- import { a as respond, o as settle, t as defaultExpose } from "../respond-C3CcOZlA.js";
7
- import { t as withBetterSupabase } from "../composite-B3TIjId4.js";
8
- import { i as defineAction } from "../resource-DV2GC2dB.js";
9
- import { i as requireCaller } from "../kit-5l-o8RxL.js";
5
+ import { a as unexpectedResponse, c as extendServer, o as withFlush, s as createServer } from "../adapter-CfuBICuG.js";
6
+ import { n as defaultExpose, o as respond, s as settle } from "../respond-3RKp6VgU.js";
7
+ import { t as withBetterSupabase } from "../composite-D24L5RIY.js";
8
+ import { i as defineAction } from "../resource-R3KToNze.js";
9
+ import { i as requireCaller } from "../kit-DhlB-vv_.js";
10
10
  import { t as withExtra } from "../extra-CGQ2_q3S.js";
11
- import { n as resourceRouter } from "../resources-C02l_YBJ.js";
11
+ import { n as resourceRouter } from "../resources-DqIwoQsP.js";
12
12
  import { n as corsConfig, t as SUPABASE_CORS_HEADERS } from "../cors-h_v7TPxl.js";
13
- import { t as EVERY_CALLER } from "../framework-BozTXRzt.js";
13
+ import { t as EVERY_CALLER } from "../framework-CNhTg0th.js";
14
14
  import { t as FUNCTION_DESCRIPTOR } from "../function-contract-pEmsaUIf.js";
15
15
  import { bufferRequest, pipeline, seedContext } from "@supabase/middleware";
16
16
  import { withCors } from "@supabase/middleware/cors";
@@ -1,4 +1,4 @@
1
- import { n as RouteGuardOptions } from "../refusal-CSntB_x8.js";
1
+ import { n as RouteGuardOptions } from "../refusal-OrlI3g4H.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,5 +1,5 @@
1
1
  import { t as around } from "../shared-Bf-I13Ht.js";
2
- import { a as routeRefusal, n as guardedLocals, t as errorResponse } from "../refusal-ByBZcm0V.js";
2
+ import { a as routeRefusal, n as guardedLocals, t as errorResponse } from "../refusal-D48CMqpQ.js";
3
3
  import { bufferRequest } from "@supabase/middleware";
4
4
  //#region src/bridges/elysia.ts
5
5
  /**
@@ -1,4 +1,4 @@
1
- import { n as NotificationMessage, t as NotificationChannel } from "./channel-BjvGO39m.js";
1
+ import { n as NotificationMessage, t as NotificationChannel } from "./channel-JcMd5lNP.js";
2
2
  import { a as DeliveryTransport, c as UnsubscribeTarget, s as MailCategory } from "./delivery-n6lZGuGx.js";
3
3
  //#region src/blocks/notifications/email.d.ts
4
4
  /** The mail for one delivery. */
@@ -1,4 +1,4 @@
1
- import { t as AuthSnapshot } from "./bind-C801IaK-.js";
1
+ import { t as AuthSnapshot } from "./bind-pu5TLrla.js";
2
2
  import { t as AuthSession } from "./view-DyFdMCqg.js";
3
3
  //#region src/auth/entitlements.d.ts
4
4
  /**
@@ -11,6 +11,8 @@ const organizationsEvents = defineEvents({
11
11
  "organization.member_suspended": event(),
12
12
  "organization.member_resumed": event(),
13
13
  "organization.role_changed": event(),
14
+ "organization.role_added": event(),
15
+ "organization.role_removed": event(),
14
16
  "organization.ownership_transferred": event(),
15
17
  "organization.switched": event(),
16
18
  "invitation.created": event(),
@@ -1,7 +1,7 @@
1
1
  import { O as AnyFunctions, k as AnyModels } from "../types-DFdg_4yN.js";
2
2
  import { t as BetterSupabase } from "../define-Cgru0_kF.js";
3
3
  import { a as ServerContext, c as ServerOptions, n as BetterServer, r as ContextOptions } from "../server-types-gR4Q1aM0.js";
4
- import { i as MiddlewareOptions, r as GuardOptions } from "../respond-Dn1_YhC1.js";
4
+ import { i as MiddlewareOptions, r as GuardOptions } from "../respond-oZeJ342J.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,9 +1,9 @@
1
1
  import { t as DbException } from "../db-exception-Lngc1W49.js";
2
2
  import { c as toProblem } from "../problem-Bf0cJ7tk.js";
3
- import { a as unexpectedResponse, b as isPrefetch, c as extendServer, s as createServer, x as refreshFor } from "../adapter-Dyks1lX1.js";
3
+ import { a as unexpectedResponse, b as isPrefetch, c as extendServer, s as createServer, x as refreshFor } from "../adapter-CfuBICuG.js";
4
4
  import { h as serializeCookie } from "../resolve-B0mW2m7f.js";
5
- import { a as respond, r as guard, t as defaultExpose } from "../respond-C3CcOZlA.js";
6
- import { t as withBetterSupabase } from "../composite-B3TIjId4.js";
5
+ import { i as guard, n as defaultExpose, o as respond } from "../respond-3RKp6VgU.js";
6
+ import { t as withBetterSupabase } from "../composite-D24L5RIY.js";
7
7
  import { r as handoffOf } from "../shared-Bf-I13Ht.js";
8
8
  import { bufferRequest, pipeline, seedContext } from "@supabase/middleware";
9
9
  import { StatusError, setResponseHeaders } from "expo-server";
@@ -4,11 +4,11 @@ import { o as BlockTenant } from "./block-helpers-CRpAHrp_.js";
4
4
  import { pt as QuerySpec } from "./define-Cgru0_kF.js";
5
5
  import { tt as TemplateValues } from "./bucket-vc-QRrva.js";
6
6
  import { n as DataEngine } from "./data-engine-BWoz9lED.js";
7
- import { Dn as GeneratedBlocks } from "./define-block-Xxw8Hroe.js";
8
- import { _ as TopicMessage, c as RealtimeClient, d as SubscribeOptions, i as PresenceOptions, s as PresenceSubscription } from "./topic-BtLz-qTI.js";
9
- import { t as ClientPorts } from "./ports-DnpAuTvB.js";
10
- import { a as ClientAuth } from "./bind-C801IaK-.js";
11
- import { a as LiveSource, r as LiveCountSeed } from "./index-lB-8iPmY.js";
7
+ import { Dn as GeneratedBlocks } from "./define-block-CJWiDWa5.js";
8
+ import { _ as TopicMessage, c as RealtimeClient, d as SubscribeOptions, i as PresenceOptions, s as PresenceSubscription } from "./topic-nQYxoTaU.js";
9
+ import { t as ClientPorts } from "./ports-g0H1Kzwr.js";
10
+ import { a as ClientAuth } from "./bind-pu5TLrla.js";
11
+ import { a as LiveSource, r as LiveCountSeed } from "./index-BH3NYExp.js";
12
12
  import { SupabaseClient } from "@supabase/supabase-js";
13
13
  import { QueryClient } from "@tanstack/query-core";
14
14
  import { StandardSchemaV1 } from "@standard-schema/spec";
@@ -1,5 +1,5 @@
1
1
  import { l as snapshotOf, n as toSession } from "./view-C8Ve14ja.js";
2
- import { t as withBetterSupabase } from "./composite-B3TIjId4.js";
2
+ import { t as withBetterSupabase } from "./composite-D24L5RIY.js";
3
3
  //#region src/server/framework.ts
4
4
  /**
5
5
  * Every caller: the framework factories guard per loader, action or route
@@ -1,10 +1,10 @@
1
1
  import { O as AnyFunctions, k as AnyModels } from "./types-DFdg_4yN.js";
2
2
  import { O as SessionSnapshot, c as ServerOptions } from "./server-types-gR4Q1aM0.js";
3
3
  import { t as AuthSession } from "./view-DyFdMCqg.js";
4
- import { n as SessionEntryConfig } from "./session-C1OuXbtN.js";
5
- import { n as BetterSupabaseContributions } from "./composite-B7f1MMgr.js";
6
- import { c as ResourceLoaderContext } from "./kit-DOwKpSkA.js";
7
- import { t as RefusalRedirects } from "./refusal-CSntB_x8.js";
4
+ import { n as SessionEntryConfig } from "./session-Fcft5A39.js";
5
+ import { n as BetterSupabaseContributions } from "./composite-C-8A8qzi.js";
6
+ import { c as ResourceLoaderContext } from "./kit-CVgQCIBO.js";
7
+ import { t as RefusalRedirects } from "./refusal-OrlI3g4H.js";
8
8
  //#region src/server/framework.d.ts
9
9
  /**
10
10
  * What the framework factories (`createSvelteKit`, `createReactRouter`,
@@ -1,4 +1,4 @@
1
- import { n as RouteGuardOptions } from "../refusal-CSntB_x8.js";
1
+ import { n as RouteGuardOptions } from "../refusal-OrlI3g4H.js";
2
2
  import { t as Validated } from "../shared-CRRfQAKG.js";
3
3
  import { AnyEntry, Contributions } from "@supabase/middleware";
4
4
  //#region src/bridges/h3.d.ts