better-supabase 0.40.0 → 0.42.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 (308) hide show
  1. package/dist/{agents-BwUHtvD6.d.ts → agents-BAiLeoR-.d.ts} +3 -3
  2. package/dist/{ai-cache-CPOP2PYz.d.ts → ai-cache-B94R1da7.d.ts} +3 -3
  3. package/dist/{ai-chat-BZhfCHHr.d.ts → ai-chat-rQ7Ftq9W.d.ts} +3 -3
  4. package/dist/{ai-schedules-ChJkI2jo.d.ts → ai-schedules-DIiPmFgn.d.ts} +4 -4
  5. package/dist/ai-sdk/agents/index.d.ts +6 -6
  6. package/dist/ai-sdk/batches/index.d.ts +3 -3
  7. package/dist/ai-sdk/cache/index.d.ts +1 -1
  8. package/dist/ai-sdk/chat/index.d.ts +2 -2
  9. package/dist/ai-sdk/embeddings/index.d.ts +2 -2
  10. package/dist/ai-sdk/files/index.d.ts +1 -1
  11. package/dist/ai-sdk/index.d.ts +5 -5
  12. package/dist/ai-sdk/mcp/index.d.ts +1 -1
  13. package/dist/ai-sdk/memory/index.d.ts +3 -3
  14. package/dist/ai-sdk/workflow/index.d.ts +3 -3
  15. package/dist/{api-keys-BncNDlWG.d.ts → api-keys-U3JQ8IlM.d.ts} +2 -2
  16. package/dist/{app-tables-jaQmdgAM.d.ts → app-tables-DGgCgRwq.d.ts} +1 -1
  17. package/dist/{approvals-CXW3yFWZ.d.ts → approvals-CYbTzQ7v.d.ts} +112 -13
  18. package/dist/{approvals-D8gR1R8R.js → approvals-cyL5CmU7.js} +49 -19
  19. package/dist/{assistant-5heV2GeR.d.ts → assistant-B1p5mYaM.d.ts} +2 -2
  20. package/dist/{authorization-Ul_ApMYW.d.ts → authorization-CcvJbvr1.d.ts} +62 -8
  21. package/dist/{automations-D4QTP8nI.js → automations-CJhRmPmq.js} +3 -1
  22. package/dist/{bind-B2GlypM6.d.ts → bind-B71jMEGG.d.ts} +4 -4
  23. package/dist/{block-env-Bcr-jEA1.d.ts → block-env-DzYTC9d1.d.ts} +4 -4
  24. package/dist/{block-helpers-BNtM1tqy.d.ts → block-helpers-Sj-efEhC.d.ts} +15 -1
  25. package/dist/{block-hooks-CtMsgLQr.d.ts → block-hooks-VW4knarE.d.ts} +1 -1
  26. package/dist/{block-subjects-BumEsEYb.js → block-subjects-a_ECM9o0.js} +1 -1
  27. package/dist/{block-tables-nkIjJ1ly.d.ts → block-tables-B92SBFqM.d.ts} +1 -1
  28. package/dist/blocks/access-requests/index.d.ts +3 -3
  29. package/dist/blocks/activities/index.d.ts +6 -6
  30. package/dist/blocks/agents/index.d.ts +2 -2
  31. package/dist/blocks/ai-cache/index.d.ts +2 -2
  32. package/dist/blocks/ai-chat/index.d.ts +6 -6
  33. package/dist/blocks/ai-files/index.d.ts +2 -2
  34. package/dist/blocks/ai-keys/index.d.ts +2 -2
  35. package/dist/blocks/ai-schedules/index.d.ts +2 -2
  36. package/dist/blocks/announcements/index.d.ts +6 -6
  37. package/dist/blocks/api-keys/index.d.ts +2 -2
  38. package/dist/blocks/approvals/index.d.ts +4 -3
  39. package/dist/blocks/approvals/index.js +3 -2
  40. package/dist/blocks/assets/index.d.ts +3 -3
  41. package/dist/blocks/assignment/index.d.ts +3 -3
  42. package/dist/blocks/attachments/index.d.ts +2 -2
  43. package/dist/blocks/audit/index.d.ts +6 -6
  44. package/dist/blocks/automations/index.d.ts +6 -6
  45. package/dist/blocks/billable-time/index.d.ts +3 -3
  46. package/dist/blocks/billing/index.d.ts +4 -4
  47. package/dist/blocks/bookings/index.d.ts +3 -3
  48. package/dist/blocks/bulk/index.d.ts +2 -2
  49. package/dist/blocks/calendar/index.d.ts +3 -3
  50. package/dist/blocks/catalog/index.d.ts +3 -3
  51. package/dist/blocks/channels/index.d.ts +3 -3
  52. package/dist/blocks/collections/index.d.ts +3 -3
  53. package/dist/blocks/comments/index.d.ts +8 -8
  54. package/dist/blocks/compliance/index.d.ts +3 -3
  55. package/dist/blocks/connectors/index.d.ts +2 -2
  56. package/dist/blocks/contacts/index.d.ts +3 -3
  57. package/dist/blocks/content/index.d.ts +3 -3
  58. package/dist/blocks/contracts/index.d.ts +3 -3
  59. package/dist/blocks/courses/index.d.ts +3 -3
  60. package/dist/blocks/created-by/index.d.ts +1 -1
  61. package/dist/blocks/custom-fields/index.d.ts +3 -3
  62. package/dist/blocks/data-lifecycle/index.d.ts +4 -4
  63. package/dist/blocks/deals/index.d.ts +3 -3
  64. package/dist/blocks/dispatch/index.d.ts +3 -3
  65. package/dist/blocks/documents/index.d.ts +2 -2
  66. package/dist/blocks/domains/index.d.ts +4 -4
  67. package/dist/blocks/donations/index.d.ts +3 -3
  68. package/dist/blocks/drive/index.d.ts +4 -4
  69. package/dist/blocks/employees/index.d.ts +4 -4
  70. package/dist/blocks/enrichment/index.d.ts +3 -3
  71. package/dist/blocks/enrollments/index.d.ts +3 -3
  72. package/dist/blocks/entitlements/index.d.ts +4 -4
  73. package/dist/blocks/expenses/index.d.ts +7 -3
  74. package/dist/blocks/expenses/index.js +5 -3
  75. package/dist/blocks/field-history/index.d.ts +3 -3
  76. package/dist/blocks/flags/index.d.ts +3 -3
  77. package/dist/blocks/forecasts/index.d.ts +3 -3
  78. package/dist/blocks/forms/index.d.ts +4 -4
  79. package/dist/blocks/goals/index.d.ts +3 -3
  80. package/dist/blocks/guests/index.d.ts +3 -3
  81. package/dist/blocks/hiring/index.d.ts +3 -3
  82. package/dist/blocks/identities/index.d.ts +3 -3
  83. package/dist/blocks/imports/index.d.ts +2 -2
  84. package/dist/blocks/inbox/index.d.ts +8 -8
  85. package/dist/blocks/incidents/index.d.ts +3 -3
  86. package/dist/blocks/index.d.ts +4 -4
  87. package/dist/blocks/inventory/index.d.ts +4 -4
  88. package/dist/blocks/invoices/index.d.ts +21 -8
  89. package/dist/blocks/invoices/index.js +20 -10
  90. package/dist/blocks/knowledge/index.d.ts +2 -2
  91. package/dist/blocks/lead-scoring/index.d.ts +4 -4
  92. package/dist/blocks/leases/index.d.ts +3 -3
  93. package/dist/blocks/leave/index.d.ts +5 -3
  94. package/dist/blocks/leave/index.js +3 -2
  95. package/dist/blocks/ledger/index.d.ts +3 -3
  96. package/dist/blocks/mail-sync/index.d.ts +2 -2
  97. package/dist/blocks/memberships/index.d.ts +1 -1
  98. package/dist/blocks/memory/index.d.ts +3 -3
  99. package/dist/blocks/messaging/index.d.ts +7 -7
  100. package/dist/blocks/metrics/index.d.ts +4 -4
  101. package/dist/blocks/mfa/index.d.ts +2 -2
  102. package/dist/blocks/moderation/index.d.ts +3 -3
  103. package/dist/blocks/notifications/index.d.ts +6 -6
  104. package/dist/blocks/numbering/index.d.ts +2 -2
  105. package/dist/blocks/oauth-server/index.d.ts +3 -3
  106. package/dist/blocks/onboarding/index.d.ts +4 -4
  107. package/dist/blocks/orders/index.d.ts +5 -5
  108. package/dist/blocks/organizations/index.d.ts +5 -5
  109. package/dist/blocks/outbox/index.d.ts +2 -2
  110. package/dist/blocks/passes/index.d.ts +5 -5
  111. package/dist/blocks/permissions/index.d.ts +5 -5
  112. package/dist/blocks/pipelines/index.d.ts +3 -3
  113. package/dist/blocks/posts/index.d.ts +3 -3
  114. package/dist/blocks/profiles/index.d.ts +3 -3
  115. package/dist/blocks/promotions/index.d.ts +3 -3
  116. package/dist/blocks/push/index.d.ts +4 -4
  117. package/dist/blocks/queue/index.d.ts +4 -4
  118. package/dist/blocks/quotes/index.d.ts +57 -12
  119. package/dist/blocks/quotes/index.js +35 -7
  120. package/dist/blocks/rank/index.d.ts +4 -4
  121. package/dist/blocks/reactions/index.d.ts +6 -6
  122. package/dist/blocks/relations/index.d.ts +4 -4
  123. package/dist/blocks/reminders/index.d.ts +4 -4
  124. package/dist/blocks/reviews/index.d.ts +3 -3
  125. package/dist/blocks/saved-views/index.d.ts +3 -3
  126. package/dist/blocks/scores/index.d.ts +3 -3
  127. package/dist/blocks/search/index.d.ts +5 -5
  128. package/dist/blocks/security-events/index.d.ts +4 -4
  129. package/dist/blocks/segments/index.d.ts +3 -3
  130. package/dist/blocks/sequences/index.d.ts +3 -3
  131. package/dist/blocks/service-accounts/index.d.ts +3 -3
  132. package/dist/blocks/sessions/index.d.ts +2 -2
  133. package/dist/blocks/settings/index.d.ts +4 -4
  134. package/dist/blocks/share-links/index.d.ts +3 -3
  135. package/dist/blocks/shipments/index.d.ts +3 -3
  136. package/dist/blocks/signatures/index.d.ts +3 -3
  137. package/dist/blocks/signing-keys/index.d.ts +2 -2
  138. package/dist/blocks/sla/index.d.ts +3 -3
  139. package/dist/blocks/sso/index.d.ts +4 -4
  140. package/dist/blocks/state-machine/index.d.ts +3 -14
  141. package/dist/blocks/subjects/index.d.ts +3 -3
  142. package/dist/blocks/tags/index.d.ts +4 -4
  143. package/dist/blocks/tasks/index.d.ts +5 -5
  144. package/dist/blocks/teams/index.d.ts +3 -3
  145. package/dist/blocks/templates/index.d.ts +6 -6
  146. package/dist/blocks/time-tracking/index.d.ts +3 -3
  147. package/dist/blocks/timeline/index.d.ts +3 -3
  148. package/dist/blocks/trash/index.d.ts +3 -3
  149. package/dist/blocks/undo/index.d.ts +3 -3
  150. package/dist/blocks/updated-at/index.d.ts +1 -1
  151. package/dist/blocks/usage/index.d.ts +3 -3
  152. package/dist/blocks/vercel-marketplace/index.d.ts +3 -3
  153. package/dist/blocks/versions/index.d.ts +3 -3
  154. package/dist/blocks/waitlist/index.d.ts +3 -3
  155. package/dist/blocks/webhooks/index.d.ts +5 -5
  156. package/dist/blocks/workflow-editor/index.d.ts +7 -7
  157. package/dist/blocks/workflows/index.d.ts +5 -5
  158. package/dist/{bookings-Dj5cvXKv.d.ts → bookings-CHUzFwOI.d.ts} +3 -3
  159. package/dist/chat-sdk/index.d.ts +3 -3
  160. package/dist/claims/index.d.ts +4 -4
  161. package/dist/cli/add-BbhRYaFe.js +1 -0
  162. package/dist/cli/{add-BVs8Ym-K.js → add-NosuEQn1.js} +10 -10
  163. package/dist/cli/{add-DP1ct-7e.js → add-U0pyhIyx.js} +2 -2
  164. package/dist/cli/{app-table-files-gjMyFqH4.js → app-table-files-DUi898lB.js} +2 -2
  165. package/dist/cli/{app-tables-B26PHK75.js → app-tables-BINtREbx.js} +2 -2
  166. package/dist/cli/{backfill-CP_LpTK2.js → backfill-VfqI5GqN.js} +1 -1
  167. package/dist/cli/bin.js +1 -1
  168. package/dist/cli/{blocks-Ewp49Kbm.js → blocks-Bo2Lw2UO.js} +1 -1
  169. package/dist/cli/{blocks-CpBLp57s.js → blocks-DsEaPf6J.js} +1 -1
  170. package/dist/cli/{cache-BxxtUXVN.js → cache-CNJD8OdR.js} +1 -1
  171. package/dist/cli/{codemod-CGCxMEyD.js → codemod-BWa3Bte6.js} +1 -1
  172. package/dist/cli/{content-mapper-DngBJv4r.js → content-mapper-Dl50Ny6a.js} +2 -2
  173. package/dist/cli/{doctor-3dcMraMn.js → doctor-B9GtOGSa.js} +15 -15
  174. package/dist/cli/{gen-DrXxFwUU.js → gen-CIUD1sgB.js} +11 -11
  175. package/dist/cli/index.d.ts +1 -1
  176. package/dist/cli/index.js +6 -6
  177. package/dist/cli/{init-bVKQ4Onb.js → init-wl5jk5vX.js} +8 -8
  178. package/dist/cli/{live-CHTbAqdS.js → live-B0f_X3rI.js} +2 -2
  179. package/dist/cli/{mcp-BbmhntrR.js → mcp-CZWaBkXY.js} +2 -2
  180. package/dist/cli/{metadata-BS56R_eb.js → metadata-Bi5eQP4w.js} +3 -3
  181. package/dist/cli/{migrate-DV6a9-jI.js → migrate-DMITLPEu.js} +1 -1
  182. package/dist/cli/{migration-safety-Ce9IQwmJ.js → migration-safety-2n8e8njJ.js} +1 -1
  183. package/dist/cli/{migrations-CCCnMhmM.js → migrations-C5k9hNOo.js} +2 -2
  184. package/dist/cli/{module-migration-C0cAzpNa.js → module-migration-BFchEhAJ.js} +2 -2
  185. package/dist/cli/{powersync-OIIpG-y_.js → powersync-DViexv6m.js} +3 -3
  186. package/dist/cli/powersync-i7KJcTtM.js +1 -0
  187. package/dist/cli/{print-BGF3d6O2.js → print-ChX1vQhO.js} +2 -2
  188. package/dist/cli/{providers-fEzlYSLs.js → providers-lwK2lplZ.js} +1 -1
  189. package/dist/cli/{prune-workflows-Bx7J5T3a.js → prune-workflows-DO3nRZFF.js} +1 -1
  190. package/dist/cli/{remove-Ds4N6WvD.js → remove-WB9dFyNn.js} +5 -5
  191. package/dist/cli/{render-BeZToAp-.js → render-B0MMWWZE.js} +3 -3
  192. package/dist/cli/{run-iUmtksq5.js → run-CMvwtBX9.js} +27 -27
  193. package/dist/cli/{run-DR0sTyNQ.js → run-CmJbNG2-.js} +9 -9
  194. package/dist/cli/{shared-BCWYvKeR.js → shared-BL5kcRdz.js} +1 -1
  195. package/dist/cli/{snapshot-CfgRxTQq.js → snapshot-CVB9Ri2a.js} +2 -2
  196. package/dist/cli/{source-Ct3ZCy6p.js → source-COGgsYiV.js} +1 -1
  197. package/dist/cli/{spec-1eEq2P4T.js → spec-002zD_9Z.js} +1 -1
  198. package/dist/cli/{spec-9vb-or-k.js → spec-CH6Qd2LE.js} +2 -2
  199. package/dist/cli/{sql-layout-cYsnyjRf.js → sql-layout-jZOzCj-S.js} +2 -2
  200. package/dist/cli/{sync-XpcpINnx.js → sync-I4x-1aVx.js} +4 -4
  201. package/dist/cli/{upgrade-A18FY5Iy.js → upgrade-BRp5AxAY.js} +2 -2
  202. package/dist/cli/{upgrade-DXhyb2jV.js → upgrade-C60BZggI.js} +5 -5
  203. package/dist/cli/{version-PcwPOm4G.js → version-CRCAxS2s.js} +1 -1
  204. package/dist/client/index.d.ts +5 -5
  205. package/dist/client/native/index.d.ts +4 -4
  206. package/dist/config/index.d.ts +2 -2
  207. package/dist/config/index.js +4 -4
  208. package/dist/{config-qqAfS_1_.js → config-2SwAe0Im.js} +3 -3
  209. package/dist/{config-BRGMUEE2.js → config-BND2PFGs.js} +1 -1
  210. package/dist/{connectors-DDsdz-cn.d.ts → connectors-OMJkoAP6.d.ts} +2 -2
  211. package/dist/{context-dHluCmud.d.ts → context-DXWyPNzr.d.ts} +4 -2
  212. package/dist/contract/index.d.ts +4 -4
  213. package/dist/{controller-BQXgMwWN.d.ts → controller-D3MPVovD.d.ts} +1 -1
  214. package/dist/{conversion-CLBBITW5.d.ts → conversion-BShzA-u-.d.ts} +1 -1
  215. package/dist/create/index.d.ts +3 -3
  216. package/dist/create/index.js +3 -3
  217. package/dist/create/lite/index.d.ts +3 -3
  218. package/dist/create/lite/index.js +2 -2
  219. package/dist/{define-block-CDw9YGVh.d.ts → define-block-DBD7yhQg.d.ts} +5 -5
  220. package/dist/{documents-Btk0MhC0.d.ts → documents-CNVPrE_0.d.ts} +2 -2
  221. package/dist/{embeddings-CI6P_mtD.d.ts → embeddings-C2PBJ2Lx.d.ts} +1 -1
  222. package/dist/{entitlements-Jh_w-PgX.d.ts → entitlements-CljrSoWD.d.ts} +1 -1
  223. package/dist/eve/index.d.ts +5 -5
  224. package/dist/eve/index.js +1 -1
  225. package/dist/{eve-DleYrhwj.d.ts → eve-CtQd4iaO.d.ts} +2 -2
  226. package/dist/{executor-uNDJBzT8.d.ts → executor-DL7cZ-3T.d.ts} +1 -1
  227. package/dist/{field-errors-DIDkgzFA.d.ts → field-errors-C4NOUBpu.d.ts} +6 -6
  228. package/dist/{flags-Cuew4tGx.d.ts → flags-BrXfCmGB.d.ts} +1 -1
  229. package/dist/flags-sdk/index.d.ts +1 -1
  230. package/dist/{gateway-B9k89AC4.d.ts → gateway-DJX-XUWl.d.ts} +3 -3
  231. package/dist/{inbox-yGfUVQr2.d.ts → inbox-DiQ8KhG8.d.ts} +4 -4
  232. package/dist/{index-DAS_5OfK.d.ts → index-1_-lg9Gc.d.ts} +1 -1
  233. package/dist/{index-DhcLJAtX.d.ts → index-Bjj-GNhd.d.ts} +1 -1
  234. package/dist/{index-y70eTezB.d.ts → index-BrGOE0c2.d.ts} +2 -2
  235. package/dist/{index-g_eFnFqo.d.ts → index-CUxdZYSi.d.ts} +2 -2
  236. package/dist/{index-xmb6YGTg.d.ts → index-D5qW2cRD.d.ts} +2 -2
  237. package/dist/{index-CpZ4WDDJ.d.ts → index-DWVDKVYA.d.ts} +1 -1
  238. package/dist/{index-IrJQqPeQ.d.ts → index-DhHtsi-q.d.ts} +3 -3
  239. package/dist/{index-BKz-E3Mv.d.ts → index-DmSDAFkF.d.ts} +8 -8
  240. package/dist/{instances-DqEZrffE.js → instances-DwrdFwKq.js} +10 -1
  241. package/dist/{knowledge-DWXAxvkN.d.ts → knowledge-DtECa_QW.d.ts} +4 -4
  242. package/dist/mapper/bin.js +5 -5
  243. package/dist/mcp/index.d.ts +1 -1
  244. package/dist/{messaging-Bfe4p9Pm.d.ts → messaging-CpQIhkFi.d.ts} +2 -2
  245. package/dist/next/index.d.ts +7 -7
  246. package/dist/{operations-Sza7UQKP.d.ts → operations-DFmuxaxW.d.ts} +1 -1
  247. package/dist/{options-zsLpIqBA.js → options-B1oSaIZ4.js} +2 -1
  248. package/dist/{options-CYZH9uxU.js → options-BXiUftgG.js} +3 -1
  249. package/dist/{options-Bgnm4pTD.js → options-DLJTiX29.js} +6 -1
  250. package/dist/otel/index.js +4 -4
  251. package/dist/{outbox-DikdzUKf.d.ts → outbox-Cpxpzcue.d.ts} +2 -2
  252. package/dist/{permissions-COamTJYz.d.ts → permissions-Bsd4mEEZ.d.ts} +1 -1
  253. package/dist/{ports-1M1E_r2n.d.ts → ports-BKdt_9Oe.d.ts} +1 -1
  254. package/dist/powersync/index.d.ts +2 -2
  255. package/dist/preset/index.d.ts +3 -3
  256. package/dist/preset/index.js +3 -3
  257. package/dist/{preset-Byz43PrL.js → preset-CenE7f1G.js} +2 -2
  258. package/dist/{project-Y2wW_nr_.js → project-Ceh2yTSv.js} +5 -5
  259. package/dist/{push-token-DKImhAca.d.ts → push-token-DRcEl9Ce.d.ts} +1 -1
  260. package/dist/query/index.d.ts +1 -1
  261. package/dist/react/index.d.ts +5 -5
  262. package/dist/react/native/index.d.ts +1 -1
  263. package/dist/react/server.d.ts +5 -5
  264. package/dist/realtime/index.d.ts +3 -3
  265. package/dist/{record-form-C-gIxGXe.d.ts → record-form-C-1TPtMG.d.ts} +1 -1
  266. package/dist/{recordings-Bw5LoocX.d.ts → recordings-BVuri85k.d.ts} +1 -1
  267. package/dist/records/index.d.ts +8 -8
  268. package/dist/{sandboxes-BF9RxxCU.d.ts → sandboxes-DKgJZYUZ.d.ts} +1 -1
  269. package/dist/{scores-Ce8MxQX9.d.ts → scores-BXuSVczw.d.ts} +2 -2
  270. package/dist/server/index.d.ts +4 -4
  271. package/dist/{signers-Dw9DBZjJ.d.ts → signers-UANxMfH-.d.ts} +2 -2
  272. package/dist/{signing-keys-FglIQ6iL.d.ts → signing-keys-DhBSWFy_.d.ts} +2 -2
  273. package/dist/solid/index.d.ts +5 -5
  274. package/dist/sql/index.d.ts +5 -5
  275. package/dist/sql/index.js +3 -3
  276. package/dist/{sql-B1FA8jTx.js → sql-BIniB45X.js} +1558 -502
  277. package/dist/{sso-B7w7h8RJ.d.ts → sso-Frh3sbJ1.d.ts} +2 -2
  278. package/dist/ssr/index.d.ts +1 -1
  279. package/dist/{subjects-CVjAE7nz.d.ts → subjects-DNFE2rMl.d.ts} +2 -2
  280. package/dist/svelte/index.d.ts +5 -5
  281. package/dist/{tenant-DflHpV32.d.ts → tenant--Hm8mlPy.d.ts} +1 -1
  282. package/dist/testing/index.d.ts +13 -13
  283. package/dist/testing/index.js +1 -1
  284. package/dist/{timeline-c6I3uxya.d.ts → timeline-BB9fKT_r.d.ts} +2 -2
  285. package/dist/{topic-CekU96q7.d.ts → topic-BYF-GTW9.d.ts} +1 -1
  286. package/dist/{types-B42S7qfO.d.ts → types-B8h0reJ4.d.ts} +2 -2
  287. package/dist/{types-DtiDatvu.d.ts → types-D--4dv5K.d.ts} +3 -3
  288. package/dist/{types-BXLiM6VM.d.ts → types-DCzgSAlU.d.ts} +2 -2
  289. package/dist/{types-6PMaLIyw.d.ts → types-DU_nNO7U.d.ts} +2 -2
  290. package/dist/{types-BdhE7I8Z.d.ts → types-LLCyr-xs.d.ts} +2 -2
  291. package/dist/{types-D5uf0l4_.d.ts → types-kq8S5HVE.d.ts} +1 -1
  292. package/dist/{types-C7K8mu9B.d.ts → types-z31g0-5T.d.ts} +3 -3
  293. package/dist/{undo-CdKp5_2X.d.ts → undo-BCQMqIQN.d.ts} +1 -1
  294. package/dist/{usage-DZ8j5Tm_.d.ts → usage-CJDj5j15.d.ts} +3 -3
  295. package/dist/vercel-sandbox/index.d.ts +1 -1
  296. package/dist/vue/index.d.ts +5 -5
  297. package/dist/{watch-topic-DBw411Mq.d.ts → watch-topic-tfTxgEGc.d.ts} +1 -1
  298. package/dist/workflow-sdk/builder/index.d.ts +3 -3
  299. package/dist/workflow-sdk/index.d.ts +1 -1
  300. package/dist/workflow-sdk/world/index.js +1 -1
  301. package/dist/{workflow-sdk-6psRpDIo.js → workflow-sdk-Bps7tpOv.js} +26 -1
  302. package/dist/{workflow-sdk-CUt0E4v6.d.ts → workflow-sdk-DzKQo265.d.ts} +2 -2
  303. package/dist/{workflows-BI4yKqFh.d.ts → workflows-D7HvWeNu.d.ts} +2 -2
  304. package/dist/yjs/index.d.ts +2 -2
  305. package/package.json +1 -1
  306. package/schemas/config-v1.json +42 -1
  307. package/dist/cli/add-DrwQvDYD.js +0 -1
  308. package/dist/cli/powersync-Cxd3a_v_.js +0 -1
@@ -1,6 +1,6 @@
1
1
  import { t as accessProviderMode } from "./authorization-DJkkOjjG.js";
2
- import { o as writtenByBlocks } from "./sql-layout-cYsnyjRf.js";
3
- import { s as qualified, t as catalogOf } from "./shared-BCWYvKeR.js";
2
+ import { o as writtenByBlocks } from "./sql-layout-jZOzCj-S.js";
3
+ import { s as qualified, t as catalogOf } from "./shared-BL5kcRdz.js";
4
4
  import { declaredTables, resolveBlocks } from "better-supabase/sql";
5
5
  // src/cli/doctor/app-tables.ts
6
6
  /**
@@ -3,7 +3,7 @@ import { n as CliError, r as errorText } from "./errors-DcJ_PayO.js";
3
3
  import { i as isLocalDatabaseUrl, r as databaseHost } from "./agent-Tqq3MAqx.js";
4
4
  import { l as stdinDatabaseUrl, n as databaseUrl } from "./config-DrrkMihk.js";
5
5
  import { t as connect } from "./db-B8zfxjl2.js";
6
- import { n as ident } from "./live-CHTbAqdS.js";
6
+ import { n as ident } from "./live-B0f_X3rI.js";
7
7
  import { r as STACK_ARG, t as DB_URL_STDIN_ARG } from "./source-args-Bz5QQne2.js";
8
8
  // src/cli/commands/backfill.ts
9
9
  const DEFAULT_BATCH = 1e3;
package/dist/cli/bin.js CHANGED
@@ -1,5 +1,5 @@
1
1
  #!/usr/bin/env node
2
- import { i as run } from "./run-iUmtksq5.js";
2
+ import { i as run } from "./run-CMvwtBX9.js";
3
3
  import { t as colorEnabled } from "./style-B5-nByxb.js";
4
4
  import { existsSync } from "node:fs";
5
5
  import { basename } from "node:path";
@@ -1,7 +1,7 @@
1
1
  import { m as commandMeta, r as defineCliCommand } from "./command-67WobzTC.js";
2
2
  import { n as CliError } from "./errors-DcJ_PayO.js";
3
3
  import { t as SQL_ARGS } from "./args-_ZVgRBkx.js";
4
- import { n as listModules, t as printModule } from "./print-BGF3d6O2.js";
4
+ import { n as listModules, t as printModule } from "./print-ChX1vQhO.js";
5
5
  import { t as decodePresetInput } from "./preset-BQnjDCSR.js";
6
6
  import { BLOCK_CATEGORIES } from "better-supabase/blocks";
7
7
  import { PRESET_CATALOG, PRESET_NAMES, glueCommand } from "better-supabase/preset";
@@ -1 +1 @@
1
- export { n as blocksListCommand, r as blocksSearchCommand, i as blocksViewCommand } from "./blocks-Ewp49Kbm.js";
1
+ export { n as blocksListCommand, r as blocksSearchCommand, i as blocksViewCommand } from "./blocks-Bo2Lw2UO.js";
@@ -1,4 +1,4 @@
1
- import { t as VERSION } from "./version-PcwPOm4G.js";
1
+ import { t as VERSION } from "./version-CRCAxS2s.js";
2
2
  import { dirname, resolve } from "node:path";
3
3
  import { createHash } from "node:crypto";
4
4
  import { mkdir, readFile, rename, rm, writeFile } from "node:fs/promises";
@@ -4,7 +4,7 @@ import { n as CliError } from "./errors-DcJ_PayO.js";
4
4
  import { t as migrateCliCall } from "./moved-CY0yDtAr.js";
5
5
  import { t as isRecord$1 } from "./guards-DxwRG0Uv.js";
6
6
  import { a as changedFiles, i as changeLines, r as applyPlan, u as planResult } from "./files-DQayErI8.js";
7
- import { i as schemasDirOf, n as migrationsDir, o as writtenByBlocks } from "./sql-layout-cYsnyjRf.js";
7
+ import { i as schemasDirOf, n as migrationsDir, o as writtenByBlocks } from "./sql-layout-jZOzCj-S.js";
8
8
  import { a as configObject, c as mask, f as setPathInConfig, g as skipSpace, h as setPresetInJson, i as closingIndex, l as properties, m as setPresetInConfig, o as indentAt, p as setPathInJson, t as addBlocksToConfig, v as codeRanges } from "./config-edit-C6sQ1MqT.js";
9
9
  import { i as legacyPrefixNames, n as LEGACY_PREFIXES, t as LEGACY_CLAIMS } from "./legacy-prefix-D8Jfku6I.js";
10
10
  import { a as REVIEW_0_15, c as renameSubpaths, r as PLUGIN_IMPORT_RENAMES, s as SUBPATH_RENAMES_0_15, t as BLOCK_EXPORT_RENAMES } from "./codemod-block-renames-Dt3X1Wvg.js";
@@ -1,6 +1,6 @@
1
1
  import { r as readIfExists } from "./io-CQzy8PEZ.js";
2
- import { t as CACHE_DIR } from "./cache-BxxtUXVN.js";
3
- import { x as installedVersion } from "./snapshot-CfgRxTQq.js";
2
+ import { t as CACHE_DIR } from "./cache-CNJD8OdR.js";
3
+ import { x as installedVersion } from "./snapshot-CVB9Ri2a.js";
4
4
  import { t as i } from "./jsonc-u_UiXFxs.js";
5
5
  import { resolve } from "node:path";
6
6
  import { createHash } from "node:crypto";
@@ -1,38 +1,38 @@
1
1
  import { a as list, m as commandMeta, r as defineCliCommand } from "./command-67WobzTC.js";
2
2
  import { i as plain } from "./style-B5-nByxb.js";
3
- import { t as VERSION$1 } from "./version-PcwPOm4G.js";
3
+ import { t as VERSION$1 } from "./version-CRCAxS2s.js";
4
4
  import { n as CliError, r as errorText } from "./errors-DcJ_PayO.js";
5
5
  import { i as isLocalDatabaseUrl, r as databaseHost } from "./agent-Tqq3MAqx.js";
6
6
  import { a as sameText, t as display } from "./io-CQzy8PEZ.js";
7
- import { t as CACHE_DIR } from "./cache-BxxtUXVN.js";
7
+ import { t as CACHE_DIR } from "./cache-CNJD8OdR.js";
8
8
  import { t as byCodePoint } from "./compare-yl4sSwVn.js";
9
- import { C as satisfies, S as peerVersions, c as isSqliteLiteDriver, n as managementTarget, o as snapshotFile, r as openSource, s as liteDriverOf, t as loadSnapshot, u as MetadataRejectedError, x as installedVersion } from "./snapshot-CfgRxTQq.js";
10
- import { d as configFor, r as renderFiles, u as notNullTag } from "./render-BeZToAp-.js";
9
+ import { C as satisfies, S as peerVersions, c as isSqliteLiteDriver, n as managementTarget, o as snapshotFile, r as openSource, s as liteDriverOf, t as loadSnapshot, u as MetadataRejectedError, x as installedVersion } from "./snapshot-CVB9Ri2a.js";
10
+ import { d as configFor, r as renderFiles, u as notNullTag } from "./render-B0MMWWZE.js";
11
11
  import { o as providerLabel } from "./authorization-DJkkOjjG.js";
12
12
  import { t as isRecord } from "./guards-DxwRG0Uv.js";
13
- import { i as request } from "./source-Ct3ZCy6p.js";
13
+ import { i as request } from "./source-COGgsYiV.js";
14
14
  import { l as stdinDatabaseUrl, n as databaseUrl } from "./config-DrrkMihk.js";
15
15
  import { a as findRepoRoot, c as httpHooks, d as readSupabaseToml, f as schemaPaths, h as tomlGet, i as diffEngine, l as migrationCommand, n as declarativeSchemasDir, p as sqlWorkflow, u as pgFunctionHooks } from "./supabase-toml-B6-eEV5p.js";
16
16
  import { t as PROCESS_ENV } from "./env-BCuUsWOh.js";
17
17
  import { n as readStackStatus } from "./stack-status-Mxgqb3I4.js";
18
18
  import { t as connect } from "./db-B8zfxjl2.js";
19
- import { a as hasContentMapper, c as supportsContentMappers, i as contentMapperSetup$1, n as TSCONFIG_SNIPPET, o as needsRunExternalCode, t as RUN_EXTERNAL_CODE } from "./content-mapper-DngBJv4r.js";
19
+ import { a as hasContentMapper, c as supportsContentMappers, i as contentMapperSetup$1, n as TSCONFIG_SNIPPET, o as needsRunExternalCode, t as RUN_EXTERNAL_CODE } from "./content-mapper-Dl50Ny6a.js";
20
20
  import { c as insideRoot, i as changeLines, r as applyPlan } from "./files-DQayErI8.js";
21
- import { n as migrationsDir, r as moduleLayoutFor, t as blockDeclaredTables } from "./sql-layout-cYsnyjRf.js";
22
- import { a as permissionCatalogKeys, i as lineOf, l as tableObject, n as exposed, o as policyObject, r as exposedSchemas, s as qualified, t as catalogOf, u as workflowOf } from "./shared-BCWYvKeR.js";
23
- import { i as appViewsOf, n as adoptionContext, r as appTablesOf, t as accessModule } from "./app-tables-B26PHK75.js";
24
- import { _ as BLOCK_PREFIX, a as METADATA_GAPS_TEXT, b as splinterTables, c as entitlementsModule, d as appliesTo, f as escape$3, g as withoutStrings, h as policyHelpers, l as COMMANDS$2, m as functionObject, p as functionBody, s as AUTHORIZATION_RULES, u as RLS_RULES, v as blockTargets, y as advisorRule } from "./run-DR0sTyNQ.js";
25
- import { a as compiledReadSets } from "./providers-fEzlYSLs.js";
26
- import { i as migrationHolds, o as migrationModules, r as latestMigration, t as MODULES_SUFFIX } from "./module-migration-C0cAzpNa.js";
27
- import { o as wiringFor, r as configInstances, t as MIGRATION_SAFETY_RULES } from "./migration-safety-Ce9IQwmJ.js";
21
+ import { n as migrationsDir, r as moduleLayoutFor, t as blockDeclaredTables } from "./sql-layout-jZOzCj-S.js";
22
+ import { a as permissionCatalogKeys, i as lineOf, l as tableObject, n as exposed, o as policyObject, r as exposedSchemas, s as qualified, t as catalogOf, u as workflowOf } from "./shared-BL5kcRdz.js";
23
+ import { i as appViewsOf, n as adoptionContext, r as appTablesOf, t as accessModule } from "./app-tables-BINtREbx.js";
24
+ import { _ as BLOCK_PREFIX, a as METADATA_GAPS_TEXT, b as splinterTables, c as entitlementsModule, d as appliesTo, f as escape$3, g as withoutStrings, h as policyHelpers, l as COMMANDS$2, m as functionObject, p as functionBody, s as AUTHORIZATION_RULES, u as RLS_RULES, v as blockTargets, y as advisorRule } from "./run-CmJbNG2-.js";
25
+ import { a as compiledReadSets } from "./providers-lwK2lplZ.js";
26
+ import { i as migrationHolds, o as migrationModules, r as latestMigration, t as MODULES_SUFFIX } from "./module-migration-BFchEhAJ.js";
27
+ import { o as wiringFor, r as configInstances, t as MIGRATION_SAFETY_RULES } from "./migration-safety-2n8e8njJ.js";
28
28
  import { t as orphanedBlockFiles } from "./orphans-CPcR85QN.js";
29
- import { i as reservedRoles, n as ident$1, r as literal$1, t as LIVE_RULES } from "./live-CHTbAqdS.js";
29
+ import { i as reservedRoles, n as ident$1, r as literal$1, t as LIVE_RULES } from "./live-B0f_X3rI.js";
30
30
  import { a as sourceFlags, n as SOURCE_ARGS } from "./source-args-Bz5QQne2.js";
31
31
  import { i as PLUGIN_SUBPATH_RENAMES, n as BLOCK_SUBPATH_RENAMES, o as SPEC_SUBPATH_RENAMES, t as BLOCK_EXPORT_RENAMES } from "./codemod-block-renames-Dt3X1Wvg.js";
32
32
  import { n as PLATFORM_SCHEMAS } from "./in-stack-diff-huI7fGMX.js";
33
33
  import { a as staleVariables, i as stackEnvValues, r as redactValue, t as PREFIX_NAMES } from "./stack-env-BQhbUFa7.js";
34
34
  import { a as readSharedMemory, n as listStacks, t as branchName } from "./stacks-C5YL6Un9.js";
35
- import { i as refuseWithMetadata, r as readMetadataSnapshot } from "./metadata-BS56R_eb.js";
35
+ import { i as refuseWithMetadata, r as readMetadataSnapshot } from "./metadata-Bi5eQP4w.js";
36
36
  import { existsSync } from "node:fs";
37
37
  import { dirname, join, relative, resolve } from "node:path";
38
38
  import { createHash } from "node:crypto";
@@ -1,22 +1,22 @@
1
1
  import { a as list, m as commandMeta, r as defineCliCommand } from "./command-67WobzTC.js";
2
2
  import { i as plain } from "./style-B5-nByxb.js";
3
3
  import { a as parseNames, i as failedResult, n as CliError } from "./errors-DcJ_PayO.js";
4
- import { u as catalogFingerprint } from "./cache-BxxtUXVN.js";
5
- import { a as serializeSnapshot, g as serializeGenerator, h as restrictSchemas, o as snapshotFile, r as openSource, t as loadSnapshot } from "./snapshot-CfgRxTQq.js";
4
+ import { u as catalogFingerprint } from "./cache-CNJD8OdR.js";
5
+ import { a as serializeSnapshot, g as serializeGenerator, h as restrictSchemas, o as snapshotFile, r as openSource, t as loadSnapshot } from "./snapshot-CVB9Ri2a.js";
6
6
  import { d as GEN_TASKS, p as isGenTask } from "./config-DrrkMihk.js";
7
7
  import { c as insideRoot, r as applyPlan, u as planResult } from "./files-DQayErI8.js";
8
- import { n as runGen } from "./run-DR0sTyNQ.js";
9
- import { n as dataMigration } from "./migrations-CCCnMhmM.js";
10
- import { t as syncModules } from "./sync-XpcpINnx.js";
11
- import { t as addModules } from "./add-DP1ct-7e.js";
12
- import { n as listModules, t as printModule } from "./print-BGF3d6O2.js";
8
+ import { n as runGen } from "./run-CmJbNG2-.js";
9
+ import { n as dataMigration } from "./migrations-C5k9hNOo.js";
10
+ import { t as syncModules } from "./sync-I4x-1aVx.js";
11
+ import { t as addModules } from "./add-U0pyhIyx.js";
12
+ import { n as listModules, t as printModule } from "./print-ChX1vQhO.js";
13
13
  import { a as sourceFlags, i as sourceArgs, n as SOURCE_ARGS } from "./source-args-Bz5QQne2.js";
14
- import { a as runMetadataGen, n as checkMetadataFlags, t as EMITS } from "./metadata-BS56R_eb.js";
14
+ import { a as runMetadataGen, n as checkMetadataFlags, t as EMITS } from "./metadata-Bi5eQP4w.js";
15
15
  import { a as runEnv } from "./env-CCT-dMFm.js";
16
- import { c as watchLoop, o as parseInterval, r as specOptionsFromConfig, s as stampFiles, t as runSpec } from "./spec-9vb-or-k.js";
17
- import { n as runPowerSync } from "./powersync-OIIpG-y_.js";
16
+ import { c as watchLoop, o as parseInterval, r as specOptionsFromConfig, s as stampFiles, t as runSpec } from "./spec-CH6Qd2LE.js";
17
+ import { n as runPowerSync } from "./powersync-DViexv6m.js";
18
18
  import { t as runSeed } from "./seed-DSC6f0oh.js";
19
- import { t as upgrade } from "./upgrade-DXhyb2jV.js";
19
+ import { t as upgrade } from "./upgrade-C60BZggI.js";
20
20
  import { existsSync } from "node:fs";
21
21
  import { resolve } from "node:path";
22
22
  // src/cli/commands/sql.ts
@@ -753,5 +753,5 @@ export declare function emitModule(model: Model, options: EmitOptions): string;
753
753
  export declare function loadConfig(cwd: string, explicit?: string, environment?: string, path?: string | undefined, options?: {
754
754
  readonly legacyTables?: boolean;
755
755
  }): Promise<ResolvedConfig>;
756
- export declare const VERSION = "0.40.0";
756
+ export declare const VERSION = "0.42.0";
757
757
  export type { Catalog, CatalogCheck, CatalogColumn, CatalogColumnGrant, CatalogEnum, CatalogForeignKey, CatalogFunction, CatalogFunctionArg, CatalogGrant, CatalogIndex, CatalogPolicy, CatalogTable, CatalogTrigger, CatalogUnique, Choice, Cli, CliArgs, CliCommand, CliCommandDef, CliContext, CliEnv, CliErrorCode, CliErrorOptions, CliIo, CliLog, CliProblem, CliProblemExtensions, CommandResult, CreateCliOptions, ExitCode, ExtrasFunction, ExtrasHook, ExtrasHookFunction, ExtrasTable, ForeignKeyAction, Format, GeneratorMetadata, IntrospectionSource, ManagementSourceOptions, NextStep, Paint, Prompter, Queryable, RunOptions, RunResult, Snapshot, SnapshotBucket, SnapshotExtras };
package/dist/cli/index.js CHANGED
@@ -1,12 +1,12 @@
1
1
  import { a as list, r as defineCliCommand } from "./command-67WobzTC.js";
2
- import { i as run, n as createCli, r as help, t as commandNames } from "./run-iUmtksq5.js";
3
- import { t as VERSION } from "./version-PcwPOm4G.js";
2
+ import { i as run, n as createCli, r as help, t as commandNames } from "./run-CMvwtBX9.js";
3
+ import { t as VERSION } from "./version-CRCAxS2s.js";
4
4
  import { n as CliError, t as CLI_ERRORS_URL } from "./errors-DcJ_PayO.js";
5
- import { a as serializeSnapshot, i as parseSnapshot, l as introspect, t as loadSnapshot } from "./snapshot-CfgRxTQq.js";
6
- import { a as emitBlockConfig, l as buildModel, o as GENERATED_HEADER, r as renderFiles, s as emitModule } from "./render-BeZToAp-.js";
7
- import { a as toCatalog, n as managementSource, r as pgSource } from "./source-Ct3ZCy6p.js";
5
+ import { a as serializeSnapshot, i as parseSnapshot, l as introspect, t as loadSnapshot } from "./snapshot-CVB9Ri2a.js";
6
+ import { a as emitBlockConfig, l as buildModel, o as GENERATED_HEADER, r as renderFiles, s as emitModule } from "./render-B0MMWWZE.js";
7
+ import { a as toCatalog, n as managementSource, r as pgSource } from "./source-COGgsYiV.js";
8
8
  import { s as loadConfig } from "./config-DrrkMihk.js";
9
- import { n as runGen } from "./run-DR0sTyNQ.js";
9
+ import { n as runGen } from "./run-CmJbNG2-.js";
10
10
  // src/cli/introspect/from-catalog.ts
11
11
  /**
12
12
  * Builds a snapshot from catalog records: the inverse of `toCatalog`. Tests and
@@ -2,17 +2,17 @@ import { a as list, m as commandMeta, r as defineCliCommand } from "./command-67
2
2
  import { i as plain } from "./style-B5-nByxb.js";
3
3
  import { n as CliError } from "./errors-DcJ_PayO.js";
4
4
  import { r as readIfExists } from "./io-CQzy8PEZ.js";
5
- import { l as TYPEGEN_VERSION } from "./cache-BxxtUXVN.js";
6
- import { a as serializeSnapshot, t as loadSnapshot } from "./snapshot-CfgRxTQq.js";
7
- import { a as toCatalog } from "./source-Ct3ZCy6p.js";
5
+ import { l as TYPEGEN_VERSION } from "./cache-CNJD8OdR.js";
6
+ import { a as serializeSnapshot, t as loadSnapshot } from "./snapshot-CVB9Ri2a.js";
7
+ import { a as toCatalog } from "./source-COGgsYiV.js";
8
8
  import { a as findConfig, s as loadConfig } from "./config-DrrkMihk.js";
9
- import { r as contentMapperFiles } from "./content-mapper-DngBJv4r.js";
9
+ import { r as contentMapperFiles } from "./content-mapper-Dl50Ny6a.js";
10
10
  import { c as insideRoot, i as changeLines, n as PLAN_ARGS, r as applyPlan, u as planResult } from "./files-DQayErI8.js";
11
- import { C as promptConventions, S as hasConventionFlags, _ as templatePlan, b as conventionFlags, c as AUTHZ_NOTE, d as chooseIntegrations, f as integrationFiles, g as templateContextFor, h as parseIntegrations, i as blocksWiringPath, l as createUrlParam, m as packagesFor, o as writeDesign, p as overwrite, r as blockConfigImport, s as readPresetInput, u as CANCELLED, v as CONVENTION_ARGS, w as withConventions, x as defaultConventions, y as CONVENTION_COMPLETIONS } from "./add-BVs8Ym-K.js";
12
- import { a as wiringFiles, c as baseFiles, f as needsLib, i as wiringChecklist, m as suggestedIntegrations, n as latestMigrationVersion, o as wiringFor, p as resolveIntegrations, r as configInstances, s as TEMPLATES } from "./migration-safety-Ce9IQwmJ.js";
11
+ import { C as promptConventions, S as hasConventionFlags, _ as templatePlan, b as conventionFlags, c as AUTHZ_NOTE, d as chooseIntegrations, f as integrationFiles, g as templateContextFor, h as parseIntegrations, i as blocksWiringPath, l as createUrlParam, m as packagesFor, o as writeDesign, p as overwrite, r as blockConfigImport, s as readPresetInput, u as CANCELLED, v as CONVENTION_ARGS, w as withConventions, x as defaultConventions, y as CONVENTION_COMPLETIONS } from "./add-NosuEQn1.js";
12
+ import { a as wiringFiles, c as baseFiles, f as needsLib, i as wiringChecklist, m as suggestedIntegrations, n as latestMigrationVersion, o as wiringFor, p as resolveIntegrations, r as configInstances, s as TEMPLATES } from "./migration-safety-2n8e8njJ.js";
13
13
  import { n as installCommand, t as detectProject } from "./detect-BcUDaO8I.js";
14
- import { s as enablePgDelta, t as syncModules } from "./sync-XpcpINnx.js";
15
- import { t as appTablePlan } from "./app-table-files-gjMyFqH4.js";
14
+ import { s as enablePgDelta, t as syncModules } from "./sync-I4x-1aVx.js";
15
+ import { t as appTablePlan } from "./app-table-files-DUi898lB.js";
16
16
  import { existsSync } from "node:fs";
17
17
  import { join, posix, resolve } from "node:path";
18
18
  import { glob, readFile, readdir } from "node:fs/promises";
@@ -1,6 +1,6 @@
1
1
  import { r as errorText } from "./errors-DcJ_PayO.js";
2
- import "./source-Ct3ZCy6p.js";
3
- import { l as tableObject, n as exposed, s as qualified, t as catalogOf } from "./shared-BCWYvKeR.js";
2
+ import "./source-COGgsYiV.js";
3
+ import { l as tableObject, n as exposed, s as qualified, t as catalogOf } from "./shared-BL5kcRdz.js";
4
4
  // src/cli/doctor/reserved-roles.ts
5
5
  /**
6
6
  * Supautils' `reserved_roles` on Supabase. Nobody but a superuser may alter,
@@ -1,6 +1,6 @@
1
1
  import { m as commandMeta, r as defineCliCommand } from "./command-67WobzTC.js";
2
- import { a as envelope, i as run } from "./run-iUmtksq5.js";
3
- import { t as VERSION } from "./version-PcwPOm4G.js";
2
+ import { a as envelope, i as run } from "./run-CMvwtBX9.js";
3
+ import { t as VERSION } from "./version-CRCAxS2s.js";
4
4
  import { n as CliError } from "./errors-DcJ_PayO.js";
5
5
  import { n as consentToken } from "./agent-Tqq3MAqx.js";
6
6
  import { C as optional, D as record, N as unknown, a as array, d as is, j as string$1, k as safeParse, t as PROCESS_ENV, x as object } from "./env-BCuUsWOh.js";
@@ -1,8 +1,8 @@
1
1
  import { n as CliError, r as errorText } from "./errors-DcJ_PayO.js";
2
2
  import { i as readStdin } from "./io-CQzy8PEZ.js";
3
- import { m as parseMetadataDocument, u as MetadataRejectedError } from "./snapshot-CfgRxTQq.js";
4
- import { c as metaPaths, n as render } from "./render-BeZToAp-.js";
5
- import { i as generationNotices, n as runGen, o as fromMetadata, r as UNFORMATTED, t as refuseRowConditionedBuckets } from "./run-DR0sTyNQ.js";
3
+ import { m as parseMetadataDocument, u as MetadataRejectedError } from "./snapshot-CVB9Ri2a.js";
4
+ import { c as metaPaths, n as render } from "./render-B0MMWWZE.js";
5
+ import { i as generationNotices, n as runGen, o as fromMetadata, r as UNFORMATTED, t as refuseRowConditionedBuckets } from "./run-CmJbNG2-.js";
6
6
  import { basename, join, relative, resolve, sep } from "node:path";
7
7
  import { readFile } from "node:fs/promises";
8
8
  import { jsonSchema, standardSchema, valibot, zod } from "better-supabase/config";
@@ -1,7 +1,7 @@
1
1
  import { m as commandMeta, r as defineCliCommand } from "./command-67WobzTC.js";
2
2
  import { i as plain } from "./style-B5-nByxb.js";
3
3
  import { n as PLAN_ARGS, r as applyPlan, u as planResult } from "./files-DQayErI8.js";
4
- import { t as appTablePlan } from "./app-table-files-gjMyFqH4.js";
4
+ import { t as appTablePlan } from "./app-table-files-DUi898lB.js";
5
5
  // src/cli/commands/migrate.ts
6
6
  const MIGRATE_ARGS = {};
7
7
  /**
@@ -1,5 +1,5 @@
1
1
  import { f as INTEGRATIONS } from "./config-DrrkMihk.js";
2
- import { c as splitStatements } from "./shared-BCWYvKeR.js";
2
+ import { c as splitStatements } from "./shared-BL5kcRdz.js";
3
3
  import { dirname, join, posix } from "node:path";
4
4
  import { readdir } from "node:fs/promises";
5
5
  import { INTEGRATION_INFO, groupEntries } from "better-supabase/config";
@@ -1,7 +1,7 @@
1
1
  import { d as readSupabaseToml, p as sqlWorkflow } from "./supabase-toml-B6-eEV5p.js";
2
2
  import { i as changeLines, r as applyPlan } from "./files-DQayErI8.js";
3
- import { a as sqlPlan, n as migrationsDir } from "./sql-layout-cYsnyjRf.js";
4
- import { r as layoutFor } from "./providers-fEzlYSLs.js";
3
+ import { a as sqlPlan, n as migrationsDir } from "./sql-layout-jZOzCj-S.js";
4
+ import { r as layoutFor } from "./providers-lwK2lplZ.js";
5
5
  import { resolve } from "node:path";
6
6
  import { readFile, readdir } from "node:fs/promises";
7
7
  import { moduleSchemaExtensions, renderBlocks } from "better-supabase/sql";
@@ -1,7 +1,7 @@
1
1
  import { d as readSupabaseToml, p as sqlWorkflow } from "./supabase-toml-B6-eEV5p.js";
2
2
  import { i as changeLines, r as applyPlan } from "./files-DQayErI8.js";
3
- import { a as sqlPlan, n as migrationsDir } from "./sql-layout-cYsnyjRf.js";
4
- import { i as stampAfter } from "./migrations-CCCnMhmM.js";
3
+ import { a as sqlPlan, n as migrationsDir } from "./sql-layout-jZOzCj-S.js";
4
+ import { i as stampAfter } from "./migrations-C5k9hNOo.js";
5
5
  import { resolve } from "node:path";
6
6
  import { readFile, readdir } from "node:fs/promises";
7
7
  import { moduleSchemaExtensions } from "better-supabase/sql";
@@ -1,8 +1,8 @@
1
1
  import { m as commandMeta, r as defineCliCommand } from "./command-67WobzTC.js";
2
2
  import { n as PLAN_ARGS, r as applyPlan, u as planResult } from "./files-DQayErI8.js";
3
- import { n as migrationsDir } from "./sql-layout-cYsnyjRf.js";
4
- import { r as layoutFor } from "./providers-fEzlYSLs.js";
5
- import { i as stampAfter } from "./migrations-CCCnMhmM.js";
3
+ import { n as migrationsDir } from "./sql-layout-jZOzCj-S.js";
4
+ import { r as layoutFor } from "./providers-lwK2lplZ.js";
5
+ import { i as stampAfter } from "./migrations-C5k9hNOo.js";
6
6
  import { existsSync } from "node:fs";
7
7
  import { join, resolve } from "node:path";
8
8
  import { readFile, readdir } from "node:fs/promises";
@@ -0,0 +1 @@
1
+ export { t as powersyncStreamsCommand } from "./powersync-DViexv6m.js";
@@ -1,6 +1,6 @@
1
1
  import { n as CliError } from "./errors-DcJ_PayO.js";
2
- import { n as layout } from "./providers-fEzlYSLs.js";
3
- import { o as migrationModules, r as latestMigration, u as writesMigrations } from "./module-migration-C0cAzpNa.js";
2
+ import { n as layout } from "./providers-lwK2lplZ.js";
3
+ import { o as migrationModules, r as latestMigration, u as writesMigrations } from "./module-migration-BFchEhAJ.js";
4
4
  import { existsSync } from "node:fs";
5
5
  import { resolve } from "node:path";
6
6
  import { SQL_MODULES, contractSignature, customContracts, moduleBody, moduleFilePaths } from "better-supabase/sql";
@@ -1,7 +1,7 @@
1
1
  import { n as CliError } from "./errors-DcJ_PayO.js";
2
2
  import { a as moduleKeyProblems, i as entitlementsMode, t as accessProviderMode } from "./authorization-DJkkOjjG.js";
3
3
  import { t as importFresh } from "./fresh-import-CdO2oQaQ.js";
4
- import { i as schemasDirOf, r as moduleLayoutFor } from "./sql-layout-cYsnyjRf.js";
4
+ import { i as schemasDirOf, r as moduleLayoutFor } from "./sql-layout-jZOzCj-S.js";
5
5
  import { resolve } from "node:path";
6
6
  import { compileReadSets, moduleLayout, modulePermissionKeys, resolveBlocks } from "better-supabase/sql";
7
7
  import { isReadSet } from "better-supabase";
@@ -3,7 +3,7 @@ import { n as CliError, r as errorText } from "./errors-DcJ_PayO.js";
3
3
  import { i as isLocalDatabaseUrl, r as databaseHost } from "./agent-Tqq3MAqx.js";
4
4
  import { l as stdinDatabaseUrl, n as databaseUrl } from "./config-DrrkMihk.js";
5
5
  import { t as connect } from "./db-B8zfxjl2.js";
6
- import { n as ident } from "./live-CHTbAqdS.js";
6
+ import { n as ident } from "./live-B0f_X3rI.js";
7
7
  import { r as STACK_ARG, t as DB_URL_STDIN_ARG } from "./source-args-Bz5QQne2.js";
8
8
  // src/cli/commands/prune-workflows.ts
9
9
  const TERMINAL = [
@@ -3,14 +3,14 @@ import { i as plain } from "./style-B5-nByxb.js";
3
3
  import { n as CliError } from "./errors-DcJ_PayO.js";
4
4
  import { r as readIfExists, t as display } from "./io-CQzy8PEZ.js";
5
5
  import { i as changeLines, n as PLAN_ARGS, r as applyPlan, t as HAND_EDITED, u as planResult } from "./files-DQayErI8.js";
6
- import { a as sqlPlan } from "./sql-layout-cYsnyjRf.js";
7
- import { r as layoutFor } from "./providers-fEzlYSLs.js";
8
- import { g as templateContextFor, i as blocksWiringPath, n as blockClients } from "./add-BVs8Ym-K.js";
6
+ import { a as sqlPlan } from "./sql-layout-jZOzCj-S.js";
7
+ import { r as layoutFor } from "./providers-lwK2lplZ.js";
8
+ import { g as templateContextFor, i as blocksWiringPath, n as blockClients } from "./add-NosuEQn1.js";
9
9
  import { t as detectProject } from "./detect-BcUDaO8I.js";
10
10
  import { _ as wiringBlocks, a as configObject, c as mask, i as closingIndex, l as properties } from "./config-edit-C6sQ1MqT.js";
11
- import { n as guardedRemoval } from "./sync-XpcpINnx.js";
11
+ import { n as guardedRemoval } from "./sync-I4x-1aVx.js";
12
12
  import { t as SQL_ARGS } from "./args-_ZVgRBkx.js";
13
- import { t as blockNames } from "./blocks-Ewp49Kbm.js";
13
+ import { t as blockNames } from "./blocks-Bo2Lw2UO.js";
14
14
  import { i as tidyInline, t as cutRange } from "./config-group-D4JWh4kG.js";
15
15
  import { existsSync } from "node:fs";
16
16
  import { resolve } from "node:path";
@@ -1,11 +1,11 @@
1
1
  import { n as CliError, r as errorText } from "./errors-DcJ_PayO.js";
2
2
  import { n as importPath } from "./io-CQzy8PEZ.js";
3
- import { i as cachedTypesModule, n as cachedDatabaseTypes, s as typesModuleKey } from "./cache-BxxtUXVN.js";
3
+ import { i as cachedTypesModule, n as cachedDatabaseTypes, s as typesModuleKey } from "./cache-CNJD8OdR.js";
4
4
  import { t as byCodePoint } from "./compare-yl4sSwVn.js";
5
- import { f as generateDatabaseTypes, h as restrictSchemas, p as oxfmtInstalled, v as tsTypeOf } from "./snapshot-CfgRxTQq.js";
5
+ import { f as generateDatabaseTypes, h as restrictSchemas, p as oxfmtInstalled, v as tsTypeOf } from "./snapshot-CVB9Ri2a.js";
6
6
  import { s as providerTruncatedClaim } from "./authorization-DJkkOjjG.js";
7
7
  import { t as isRecord$1 } from "./guards-DxwRG0Uv.js";
8
- import { a as toCatalog } from "./source-Ct3ZCy6p.js";
8
+ import { a as toCatalog } from "./source-COGgsYiV.js";
9
9
  import { m as withTableTags } from "./config-DrrkMihk.js";
10
10
  import { basename, dirname, isAbsolute, join, posix, relative, resolve } from "node:path";
11
11
  import { entityNames } from "better-supabase/blocks";
@@ -1,6 +1,6 @@
1
1
  import { c as runsWithInvalidConfig, d as DOCS_ORIGIN, f as GROUPS, g as runCommand, h as parseArgs$2, i as joinRepeated, l as COMMANDS, o as listArgs, p as RESERVED_NAMES, s as readsLegacyTables, t as GLOBAL_ARGS } from "./command-67WobzTC.js";
2
2
  import { n as highlight, r as painter } from "./style-B5-nByxb.js";
3
- import { t as VERSION } from "./version-PcwPOm4G.js";
3
+ import { t as VERSION } from "./version-CRCAxS2s.js";
4
4
  import { n as CliError, o as toCliError } from "./errors-DcJ_PayO.js";
5
5
  import { a as missingInputNext, o as resolveAgent, t as checkConsent } from "./agent-Tqq3MAqx.js";
6
6
  import { a as globalFlags, c as resolveCommand, i as commandTree, n as closestName, o as isVariadic, r as commandArgs, t as checkArgs } from "./parse-yAC-NFMq.js";
@@ -16,43 +16,43 @@ import { resolve } from "node:path";
16
16
  * loads on demand, so `--version` and `--help` import no command.
17
17
  */
18
18
  const LOADERS = [
19
- ["init", () => import("./init-bVKQ4Onb.js").then((m) => m.initCommand)],
20
- ["add", () => import("./add-DrwQvDYD.js").then((m) => m.addCommand)],
21
- ["remove", () => import("./remove-Ds4N6WvD.js").then((m) => m.removeCommand)],
22
- ["upgrade", () => import("./upgrade-A18FY5Iy.js").then((m) => m.upgradeCommand)],
19
+ ["init", () => import("./init-wl5jk5vX.js").then((m) => m.initCommand)],
20
+ ["add", () => import("./add-BbhRYaFe.js").then((m) => m.addCommand)],
21
+ ["remove", () => import("./remove-WB9dFyNn.js").then((m) => m.removeCommand)],
22
+ ["upgrade", () => import("./upgrade-BRp5AxAY.js").then((m) => m.upgradeCommand)],
23
23
  ["table", () => import("./table-BIQA9Hdt.js").then((m) => m.tableCommand)],
24
- ["migrate schema-first", () => import("./migrate-DV6a9-jI.js").then((m) => m.migrateSchemaFirstCommand)],
25
- ["gen", () => import("./gen-DrXxFwUU.js").then((m) => m.genCommand)],
26
- ["doctor", () => import("./doctor-3dcMraMn.js").then((m) => m.doctorCommand)],
24
+ ["migrate schema-first", () => import("./migrate-DMITLPEu.js").then((m) => m.migrateSchemaFirstCommand)],
25
+ ["gen", () => import("./gen-CIUD1sgB.js").then((m) => m.genCommand)],
26
+ ["doctor", () => import("./doctor-B9GtOGSa.js").then((m) => m.doctorCommand)],
27
27
  ["db query", () => import("./db-bK5eCLaE.js").then((m) => m.dbQueryCommand)],
28
28
  ["db diff", () => import("./db-bK5eCLaE.js").then((m) => m.dbDiffCommand)],
29
29
  ["db seed", () => import("./seed-CLlvrV8I.js").then((m) => m.seedCommand)],
30
- ["db backfill", () => import("./backfill-CP_LpTK2.js").then((m) => m.dbBackfillCommand)],
31
- ["db prune-workflows", () => import("./prune-workflows-Bx7J5T3a.js").then((m) => m.dbPruneWorkflowsCommand)],
30
+ ["db backfill", () => import("./backfill-VfqI5GqN.js").then((m) => m.dbBackfillCommand)],
31
+ ["db prune-workflows", () => import("./prune-workflows-DO3nRZFF.js").then((m) => m.dbPruneWorkflowsCommand)],
32
32
  ["dev env", () => import("./env-AFfMXxWw.js").then((m) => m.envCommand)],
33
33
  ["dev run", () => import("./run-DX4X7xqV.js").then((m) => m.runCommand)],
34
34
  ["dev keys", () => import("./keys-Dj5sJNj7.js").then((m) => m.keysCommand)],
35
35
  ["dev stack ls", () => import("./stack-CQXLe5j0.js").then((m) => m.stackLsCommand)],
36
36
  ["dev stack prune", () => import("./stack-CQXLe5j0.js").then((m) => m.stackPruneCommand)],
37
- ["blocks list", () => import("./blocks-CpBLp57s.js").then((m) => m.blocksListCommand)],
38
- ["blocks view", () => import("./blocks-CpBLp57s.js").then((m) => m.blocksViewCommand)],
39
- ["blocks search", () => import("./blocks-CpBLp57s.js").then((m) => m.blocksSearchCommand)],
40
- ["powersync streams", () => import("./powersync-Cxd3a_v_.js").then((m) => m.powersyncStreamsCommand)],
41
- ["spec emit", () => import("./spec-1eEq2P4T.js").then((m) => m.specEmitCommand)],
42
- ["spec validate", () => import("./spec-1eEq2P4T.js").then((m) => m.specValidateCommand)],
43
- ["mcp", () => import("./mcp-BbmhntrR.js").then((m) => m.mcpCommand)],
37
+ ["blocks list", () => import("./blocks-DsEaPf6J.js").then((m) => m.blocksListCommand)],
38
+ ["blocks view", () => import("./blocks-DsEaPf6J.js").then((m) => m.blocksViewCommand)],
39
+ ["blocks search", () => import("./blocks-DsEaPf6J.js").then((m) => m.blocksSearchCommand)],
40
+ ["powersync streams", () => import("./powersync-i7KJcTtM.js").then((m) => m.powersyncStreamsCommand)],
41
+ ["spec emit", () => import("./spec-002zD_9Z.js").then((m) => m.specEmitCommand)],
42
+ ["spec validate", () => import("./spec-002zD_9Z.js").then((m) => m.specValidateCommand)],
43
+ ["mcp", () => import("./mcp-CZWaBkXY.js").then((m) => m.mcpCommand)],
44
44
  ["skills list", () => import("./skills-B5p6bDwe.js").then((m) => m.skillsListCommand)],
45
45
  ["skills install", () => import("./skills-B5p6bDwe.js").then((m) => m.skillsInstallCommand)],
46
- ["codemod 0.4", () => import("./codemod-CGCxMEyD.js").then((m) => m.codemodCommand("0.4"))],
47
- ["codemod 0.5", () => import("./codemod-CGCxMEyD.js").then((m) => m.codemodCommand("0.5"))],
48
- ["codemod 0.6", () => import("./codemod-CGCxMEyD.js").then((m) => m.codemodCommand("0.6"))],
49
- ["codemod 0.9", () => import("./codemod-CGCxMEyD.js").then((m) => m.codemodCommand("0.9"))],
50
- ["codemod 0.11", () => import("./codemod-CGCxMEyD.js").then((m) => m.codemodCommand("0.11"))],
51
- ["codemod 0.15", () => import("./codemod-CGCxMEyD.js").then((m) => m.codemodCommand("0.15"))],
52
- ["codemod 0.29", () => import("./codemod-CGCxMEyD.js").then((m) => m.codemodCommand("0.29"))],
53
- ["codemod 0.32", () => import("./codemod-CGCxMEyD.js").then((m) => m.codemodCommand("0.32"))],
54
- ["codemod 0.35", () => import("./codemod-CGCxMEyD.js").then((m) => m.codemodCommand("0.35"))],
55
- ["codemod 0.37", () => import("./codemod-CGCxMEyD.js").then((m) => m.codemodCommand("0.37"))],
46
+ ["codemod 0.4", () => import("./codemod-BWa3Bte6.js").then((m) => m.codemodCommand("0.4"))],
47
+ ["codemod 0.5", () => import("./codemod-BWa3Bte6.js").then((m) => m.codemodCommand("0.5"))],
48
+ ["codemod 0.6", () => import("./codemod-BWa3Bte6.js").then((m) => m.codemodCommand("0.6"))],
49
+ ["codemod 0.9", () => import("./codemod-BWa3Bte6.js").then((m) => m.codemodCommand("0.9"))],
50
+ ["codemod 0.11", () => import("./codemod-BWa3Bte6.js").then((m) => m.codemodCommand("0.11"))],
51
+ ["codemod 0.15", () => import("./codemod-BWa3Bte6.js").then((m) => m.codemodCommand("0.15"))],
52
+ ["codemod 0.29", () => import("./codemod-BWa3Bte6.js").then((m) => m.codemodCommand("0.29"))],
53
+ ["codemod 0.32", () => import("./codemod-BWa3Bte6.js").then((m) => m.codemodCommand("0.32"))],
54
+ ["codemod 0.35", () => import("./codemod-BWa3Bte6.js").then((m) => m.codemodCommand("0.35"))],
55
+ ["codemod 0.37", () => import("./codemod-BWa3Bte6.js").then((m) => m.codemodCommand("0.37"))],
56
56
  ["completion", () => import("./completion-Dm0S3ub0.js").then((m) => m.completionCommand)],
57
57
  ["config", () => import("./config-cbK-wiNs.js").then((m) => m.configCommand)]
58
58
  ];
@@ -1,17 +1,17 @@
1
1
  import { r as errorText } from "./errors-DcJ_PayO.js";
2
2
  import { a as sameText, t as display } from "./io-CQzy8PEZ.js";
3
- import { c as writeAtomic, o as storeTypesModule, s as typesModuleKey, t as CACHE_DIR } from "./cache-BxxtUXVN.js";
3
+ import { c as writeAtomic, o as storeTypesModule, s as typesModuleKey, t as CACHE_DIR } from "./cache-CNJD8OdR.js";
4
4
  import { t as byCodePoint } from "./compare-yl4sSwVn.js";
5
- import { _ as stabilizeMetadata, b as typegenVersionNotice, p as oxfmtInstalled, t as loadSnapshot, y as typegenVersion } from "./snapshot-CfgRxTQq.js";
6
- import { n as render } from "./render-BeZToAp-.js";
5
+ import { _ as stabilizeMetadata, b as typegenVersionNotice, p as oxfmtInstalled, t as loadSnapshot, y as typegenVersion } from "./snapshot-CVB9Ri2a.js";
6
+ import { n as render } from "./render-B0MMWWZE.js";
7
7
  import { a as moduleKeyProblems, c as unsafeKey, i as entitlementsMode, n as accessRequirements, o as providerLabel, r as entitlementRequirements } from "./authorization-DJkkOjjG.js";
8
- import { s as schemaStampPath } from "./content-mapper-DngBJv4r.js";
8
+ import { s as schemaStampPath } from "./content-mapper-Dl50Ny6a.js";
9
9
  import { a as changedFiles, d as fileDiff, i as changeLines, r as applyPlan, s as hasConflicts } from "./files-DQayErI8.js";
10
- import { n as migrationsDir } from "./sql-layout-cYsnyjRf.js";
11
- import { l as tableObject, n as exposed, o as policyObject, s as qualified, t as catalogOf } from "./shared-BCWYvKeR.js";
12
- import { n as adoptionContext, r as appTablesOf, t as accessModule } from "./app-tables-B26PHK75.js";
13
- import { a as compiledReadSets } from "./providers-fEzlYSLs.js";
14
- import { c as sameModuleMigration, l as writeLatestMigration, n as READ_SETS_SUFFIX, r as latestMigration, u as writesMigrations } from "./module-migration-C0cAzpNa.js";
10
+ import { n as migrationsDir } from "./sql-layout-jZOzCj-S.js";
11
+ import { l as tableObject, n as exposed, o as policyObject, s as qualified, t as catalogOf } from "./shared-BL5kcRdz.js";
12
+ import { n as adoptionContext, r as appTablesOf, t as accessModule } from "./app-tables-BINtREbx.js";
13
+ import { a as compiledReadSets } from "./providers-lwK2lplZ.js";
14
+ import { c as sameModuleMigration, l as writeLatestMigration, n as READ_SETS_SUFFIX, r as latestMigration, u as writesMigrations } from "./module-migration-BFchEhAJ.js";
15
15
  import { existsSync } from "node:fs";
16
16
  import { dirname, isAbsolute, relative, resolve, sep } from "node:path";
17
17
  import { readFile } from "node:fs/promises";
@@ -1,4 +1,4 @@
1
- import { a as toCatalog } from "./source-Ct3ZCy6p.js";
1
+ import { a as toCatalog } from "./source-COGgsYiV.js";
2
2
  import { h as tomlGet, p as sqlWorkflow, r as detectWorkflow } from "./supabase-toml-B6-eEV5p.js";
3
3
  // src/cli/doctor/shared.ts
4
4
  const catalogs = /* @__PURE__ */ new WeakMap();
@@ -1,7 +1,7 @@
1
1
  import { n as CliError, r as errorText } from "./errors-DcJ_PayO.js";
2
- import { d as readExtras, l as TYPEGEN_VERSION, r as cachedIntrospect } from "./cache-BxxtUXVN.js";
2
+ import { d as readExtras, l as TYPEGEN_VERSION, r as cachedIntrospect } from "./cache-CNJD8OdR.js";
3
3
  import { t as byCodePoint } from "./compare-yl4sSwVn.js";
4
- import { n as managementSource, r as pgSource } from "./source-Ct3ZCy6p.js";
4
+ import { n as managementSource, r as pgSource } from "./source-COGgsYiV.js";
5
5
  import { n as databaseUrl, u as accessToken } from "./config-DrrkMihk.js";
6
6
  import { d as readSupabaseToml, f as schemaPaths, h as tomlGet, u as pgFunctionHooks } from "./supabase-toml-B6-eEV5p.js";
7
7
  import { t as connect } from "./db-B8zfxjl2.js";
@@ -1,4 +1,4 @@
1
- import { t as VERSION } from "./version-PcwPOm4G.js";
1
+ import { t as VERSION } from "./version-CRCAxS2s.js";
2
2
  import { n as CliError } from "./errors-DcJ_PayO.js";
3
3
  import { r as redactUrl } from "./redact--zOGdWzo.js";
4
4
  import { n as HTTP_CHANNEL } from "./trace-D3TNqWBg.js";
@@ -1 +1 @@
1
- export { n as specEmitCommand, i as specValidateCommand } from "./spec-9vb-or-k.js";
1
+ export { n as specEmitCommand, i as specValidateCommand } from "./spec-CH6Qd2LE.js";
@@ -1,9 +1,9 @@
1
1
  import { n as __require, t as __commonJSMin } from "./rolldown-runtime-DegdyBIC.js";
2
2
  import { m as commandMeta, r as defineCliCommand } from "./command-67WobzTC.js";
3
- import { t as VERSION } from "./version-PcwPOm4G.js";
3
+ import { t as VERSION } from "./version-CRCAxS2s.js";
4
4
  import { i as failedResult, n as CliError, r as errorText } from "./errors-DcJ_PayO.js";
5
5
  import { t as display } from "./io-CQzy8PEZ.js";
6
- import { c as writeAtomic, t as CACHE_DIR } from "./cache-BxxtUXVN.js";
6
+ import { c as writeAtomic, t as CACHE_DIR } from "./cache-CNJD8OdR.js";
7
7
  import { t as isRecord } from "./guards-DxwRG0Uv.js";
8
8
  import { t as importFresh } from "./fresh-import-CdO2oQaQ.js";
9
9
  import { a as changedFiles, i as changeLines, r as applyPlan } from "./files-DQayErI8.js";
@@ -1,5 +1,5 @@
1
- import { d as TypegenMissingError, i as parseSnapshot } from "./snapshot-CfgRxTQq.js";
2
- import { a as toCatalog } from "./source-Ct3ZCy6p.js";
1
+ import { d as TypegenMissingError, i as parseSnapshot } from "./snapshot-CVB9Ri2a.js";
2
+ import { a as toCatalog } from "./source-COGgsYiV.js";
3
3
  import { d as readSupabaseToml, f as schemaPaths, n as declarativeSchemasDir, p as sqlWorkflow } from "./supabase-toml-B6-eEV5p.js";
4
4
  import { existsSync } from "node:fs";
5
5
  import { dirname, join, relative, resolve, sep } from "node:path";
@@ -2,10 +2,10 @@ import { n as CliError } from "./errors-DcJ_PayO.js";
2
2
  import { t as display } from "./io-CQzy8PEZ.js";
3
3
  import { d as readSupabaseToml, f as schemaPaths, h as tomlGet, i as diffEngine, l as migrationCommand, o as findSupabaseRoot, p as sqlWorkflow, t as PGDELTA_TABLE } from "./supabase-toml-B6-eEV5p.js";
4
4
  import { d as fileDiff, i as changeLines, l as keepHandEdit, o as handEditedError, r as applyPlan, t as HAND_EDITED, u as planResult } from "./files-DQayErI8.js";
5
- import { a as sqlPlan, n as migrationsDir } from "./sql-layout-cYsnyjRf.js";
6
- import { r as layoutFor } from "./providers-fEzlYSLs.js";
7
- import { a as writeExtensionsMigration, t as DATA_NEXT } from "./migrations-CCCnMhmM.js";
8
- import { c as sameModuleMigration, l as writeLatestMigration, r as latestMigration, s as renderModuleMigration, t as MODULES_SUFFIX, u as writesMigrations } from "./module-migration-C0cAzpNa.js";
5
+ import { a as sqlPlan, n as migrationsDir } from "./sql-layout-jZOzCj-S.js";
6
+ import { r as layoutFor } from "./providers-lwK2lplZ.js";
7
+ import { a as writeExtensionsMigration, t as DATA_NEXT } from "./migrations-C5k9hNOo.js";
8
+ import { c as sameModuleMigration, l as writeLatestMigration, r as latestMigration, s as renderModuleMigration, t as MODULES_SUFFIX, u as writesMigrations } from "./module-migration-BFchEhAJ.js";
9
9
  import { t as loadTopics } from "./topics-Cdg0V7Tt.js";
10
10
  import { t as orphanedBlockFiles } from "./orphans-CPcR85QN.js";
11
11
  import { dirname, join, resolve } from "node:path";
@@ -1,8 +1,8 @@
1
1
  import { m as commandMeta, r as defineCliCommand } from "./command-67WobzTC.js";
2
2
  import { i as plain } from "./style-B5-nByxb.js";
3
- import { t as syncModules } from "./sync-XpcpINnx.js";
3
+ import { t as syncModules } from "./sync-I4x-1aVx.js";
4
4
  import { t as SQL_ARGS } from "./args-_ZVgRBkx.js";
5
- import { t as upgrade } from "./upgrade-DXhyb2jV.js";
5
+ import { t as upgrade } from "./upgrade-C60BZggI.js";
6
6
  // src/cli/commands/upgrade.ts
7
7
  const UPGRADE_ARGS = {
8
8
  check: {