better-supabase 0.28.0 → 0.30.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (405) hide show
  1. package/dist/{agents-CMIB3802.d.ts → agents-CM_cCtcr.d.ts} +4 -4
  2. package/dist/{ai-cache-2LGgaT7F.d.ts → ai-cache-BTGqckta.d.ts} +4 -4
  3. package/dist/{ai-chat-BCaKsvLW.d.ts → ai-chat-B7_vQvxU.d.ts} +4 -4
  4. package/dist/{ai-schedules-yGZH-vQb.d.ts → ai-schedules-CZEfo-_M.d.ts} +5 -5
  5. package/dist/ai-sdk/agents/index.d.ts +6 -6
  6. package/dist/ai-sdk/batches/index.d.ts +3 -3
  7. package/dist/ai-sdk/cache/index.d.ts +1 -1
  8. package/dist/ai-sdk/chat/index.d.ts +1 -1
  9. package/dist/ai-sdk/embeddings/index.d.ts +2 -2
  10. package/dist/ai-sdk/files/index.d.ts +1 -1
  11. package/dist/ai-sdk/index.d.ts +5 -5
  12. package/dist/ai-sdk/mcp/index.d.ts +3 -3
  13. package/dist/ai-sdk/memory/index.d.ts +3 -3
  14. package/dist/ai-sdk/workflow/index.d.ts +3 -3
  15. package/dist/{api-B1OkIWdx.d.ts → api-59rv5hL6.d.ts} +5 -5
  16. package/dist/{api-keys-ClhKBDcc.d.ts → api-keys-JE-aykZE.d.ts} +4 -4
  17. package/dist/{app-tables-62GqZIhd.d.ts → app-tables-yyVncXEt.d.ts} +1 -1
  18. package/dist/{approvals-C5fmPLsH.d.ts → approvals-BfEafAzt.d.ts} +5 -5
  19. package/dist/{assistant-ndGdOBax.d.ts → assistant-B49qATbj.d.ts} +2 -2
  20. package/dist/astro/index.d.ts +7 -7
  21. package/dist/{authorization-BCG1v0iC.d.ts → authorization-CDU9tYA_.d.ts} +17 -3
  22. package/dist/{authorization-hooks-DtzreCAq.d.ts → authorization-hooks-BWhkMZfH.d.ts} +2 -2
  23. package/dist/better-result/index.d.ts +3 -3
  24. package/dist/{bind-C54jD0r3.d.ts → bind-p7asfI6H.d.ts} +7 -7
  25. package/dist/{block-env-CM-LFfj4.d.ts → block-env-B8wG3xeh.d.ts} +4 -4
  26. package/dist/{block-helpers-CRpAHrp_.d.ts → block-helpers-D5emQ2O6.d.ts} +1 -1
  27. package/dist/{block-hooks-DZN2w69m.d.ts → block-hooks-B8itxzEE.d.ts} +2 -2
  28. package/dist/{block-subjects-CphkQPxp.d.ts → block-subjects-C1_9DkSA.d.ts} +1 -1
  29. package/dist/{block-transport-DWZSJrwN.d.ts → block-transport-9EUA3q_I.d.ts} +2 -2
  30. package/dist/blocks/access-requests/index.d.ts +5 -5
  31. package/dist/blocks/activities/index.d.ts +10 -10
  32. package/dist/blocks/activities/index.js +1 -1
  33. package/dist/blocks/agents/index.d.ts +4 -4
  34. package/dist/blocks/ai-cache/index.d.ts +3 -3
  35. package/dist/blocks/ai-chat/index.d.ts +7 -7
  36. package/dist/blocks/ai-files/index.d.ts +3 -3
  37. package/dist/blocks/ai-keys/index.d.ts +4 -4
  38. package/dist/blocks/ai-schedules/index.d.ts +3 -3
  39. package/dist/blocks/announcements/index.d.ts +8 -8
  40. package/dist/blocks/api-keys/index.d.ts +6 -6
  41. package/dist/blocks/approvals/index.d.ts +4 -4
  42. package/dist/blocks/assets/index.d.ts +6 -6
  43. package/dist/blocks/assignment/index.d.ts +7 -7
  44. package/dist/blocks/attachments/index.d.ts +4 -4
  45. package/dist/blocks/audit/index.d.ts +13 -13
  46. package/dist/blocks/automations/index.d.ts +12 -12
  47. package/dist/blocks/billable-time/index.d.ts +6 -6
  48. package/dist/blocks/billing/index.d.ts +9 -9
  49. package/dist/blocks/bookings/index.d.ts +4 -4
  50. package/dist/blocks/bulk/index.d.ts +4 -4
  51. package/dist/blocks/calendar/index.d.ts +5 -5
  52. package/dist/blocks/calendar/index.js +1 -1
  53. package/dist/blocks/catalog/index.d.ts +6 -6
  54. package/dist/blocks/channels/index.d.ts +7 -7
  55. package/dist/blocks/collections/index.d.ts +12 -12
  56. package/dist/blocks/collections/index.js +1 -1
  57. package/dist/blocks/comments/index.d.ts +10 -10
  58. package/dist/blocks/compliance/index.d.ts +5 -5
  59. package/dist/blocks/connectors/index.d.ts +4 -4
  60. package/dist/blocks/contacts/index.d.ts +7 -7
  61. package/dist/blocks/contacts/index.js +1 -1
  62. package/dist/blocks/content/index.d.ts +5 -5
  63. package/dist/blocks/contracts/index.d.ts +6 -6
  64. package/dist/blocks/courses/index.d.ts +5 -5
  65. package/dist/blocks/created-by/index.d.ts +2 -2
  66. package/dist/blocks/custom-fields/index.d.ts +6 -6
  67. package/dist/blocks/data-lifecycle/index.d.ts +8 -8
  68. package/dist/blocks/deals/index.d.ts +6 -6
  69. package/dist/blocks/dispatch/index.d.ts +7 -7
  70. package/dist/blocks/documents/index.d.ts +4 -4
  71. package/dist/blocks/domains/index.d.ts +6 -6
  72. package/dist/blocks/donations/index.d.ts +6 -6
  73. package/dist/blocks/drive/index.d.ts +6 -6
  74. package/dist/blocks/employees/index.d.ts +8 -8
  75. package/dist/blocks/enrichment/index.d.ts +6 -6
  76. package/dist/blocks/enrollments/index.d.ts +6 -6
  77. package/dist/blocks/entitlements/index.d.ts +6 -6
  78. package/dist/blocks/expenses/index.d.ts +5 -5
  79. package/dist/blocks/field-history/index.d.ts +4 -4
  80. package/dist/blocks/flags/index.d.ts +5 -5
  81. package/dist/blocks/forecasts/index.d.ts +6 -6
  82. package/dist/blocks/forms/index.d.ts +6 -6
  83. package/dist/blocks/goals/index.d.ts +4 -4
  84. package/dist/blocks/guests/index.d.ts +6 -6
  85. package/dist/blocks/hiring/index.d.ts +7 -7
  86. package/dist/blocks/identities/index.d.ts +5 -5
  87. package/dist/blocks/imports/index.d.ts +5 -5
  88. package/dist/blocks/inbox/index.d.ts +10 -10
  89. package/dist/blocks/incidents/index.d.ts +5 -5
  90. package/dist/blocks/index.d.ts +9 -9
  91. package/dist/blocks/inventory/index.d.ts +7 -7
  92. package/dist/blocks/invoices/index.d.ts +8 -8
  93. package/dist/blocks/knowledge/index.d.ts +3 -3
  94. package/dist/blocks/lead-scoring/index.d.ts +7 -7
  95. package/dist/blocks/leases/index.d.ts +6 -6
  96. package/dist/blocks/leave/index.d.ts +5 -5
  97. package/dist/blocks/ledger/index.d.ts +6 -6
  98. package/dist/blocks/mail-sync/index.d.ts +5 -5
  99. package/dist/blocks/memberships/index.d.ts +2 -2
  100. package/dist/blocks/memory/index.d.ts +4 -4
  101. package/dist/blocks/messaging/index.d.ts +11 -11
  102. package/dist/blocks/metrics/index.d.ts +6 -6
  103. package/dist/blocks/mfa/index.d.ts +2 -2
  104. package/dist/blocks/moderation/index.d.ts +6 -6
  105. package/dist/blocks/notifications/index.d.ts +12 -12
  106. package/dist/blocks/notifications/index.js +1 -1
  107. package/dist/blocks/numbering/index.d.ts +4 -4
  108. package/dist/blocks/oauth-server/index.d.ts +5 -5
  109. package/dist/blocks/onboarding/index.d.ts +5 -5
  110. package/dist/blocks/orders/index.d.ts +7 -7
  111. package/dist/blocks/organizations/index.d.ts +8 -8
  112. package/dist/blocks/outbox/index.d.ts +4 -4
  113. package/dist/blocks/passes/index.d.ts +8 -8
  114. package/dist/blocks/permissions/index.d.ts +6 -6
  115. package/dist/blocks/pipelines/index.d.ts +6 -6
  116. package/dist/blocks/posts/index.d.ts +5 -5
  117. package/dist/blocks/profiles/index.d.ts +4 -4
  118. package/dist/blocks/promotions/index.d.ts +5 -5
  119. package/dist/blocks/push/index.d.ts +6 -6
  120. package/dist/blocks/queue/index.d.ts +6 -6
  121. package/dist/blocks/quotes/index.d.ts +8 -8
  122. package/dist/blocks/rank/index.d.ts +5 -5
  123. package/dist/blocks/reactions/index.d.ts +9 -9
  124. package/dist/blocks/relations/index.d.ts +7 -7
  125. package/dist/blocks/reminders/index.d.ts +8 -8
  126. package/dist/blocks/reminders/index.js +1 -1
  127. package/dist/blocks/reviews/index.d.ts +5 -5
  128. package/dist/blocks/saved-views/index.d.ts +6 -6
  129. package/dist/blocks/scores/index.d.ts +5 -5
  130. package/dist/blocks/search/index.d.ts +8 -8
  131. package/dist/blocks/security-events/index.d.ts +7 -7
  132. package/dist/blocks/segments/index.d.ts +8 -8
  133. package/dist/blocks/sequences/index.d.ts +6 -6
  134. package/dist/blocks/service-accounts/index.d.ts +5 -5
  135. package/dist/blocks/sessions/index.d.ts +2 -2
  136. package/dist/blocks/settings/index.d.ts +6 -6
  137. package/dist/blocks/share-links/index.d.ts +5 -5
  138. package/dist/blocks/shipments/index.d.ts +6 -6
  139. package/dist/blocks/signatures/index.d.ts +5 -5
  140. package/dist/blocks/signing-keys/index.d.ts +4 -4
  141. package/dist/blocks/sla/index.d.ts +7 -7
  142. package/dist/blocks/sso/index.d.ts +6 -6
  143. package/dist/blocks/state-machine/index.d.ts +5 -5
  144. package/dist/blocks/subjects/index.d.ts +6 -6
  145. package/dist/blocks/tags/index.d.ts +6 -6
  146. package/dist/blocks/tasks/index.d.ts +9 -9
  147. package/dist/blocks/teams/index.d.ts +4 -4
  148. package/dist/blocks/templates/index.d.ts +7 -7
  149. package/dist/blocks/time-tracking/index.d.ts +7 -7
  150. package/dist/blocks/timeline/index.d.ts +8 -8
  151. package/dist/blocks/trash/index.d.ts +6 -6
  152. package/dist/blocks/undo/index.d.ts +4 -4
  153. package/dist/blocks/updated-at/index.d.ts +2 -2
  154. package/dist/blocks/usage/index.d.ts +4 -4
  155. package/dist/blocks/vercel-marketplace/index.d.ts +5 -5
  156. package/dist/blocks/versions/index.d.ts +6 -6
  157. package/dist/blocks/waitlist/index.d.ts +5 -5
  158. package/dist/blocks/webhooks/index.d.ts +14 -14
  159. package/dist/blocks/webhooks/index.js +1 -1
  160. package/dist/blocks/workflow-editor/index.d.ts +9 -9
  161. package/dist/blocks/workflows/index.d.ts +7 -7
  162. package/dist/{bookings-CVw5-Q0Z.d.ts → bookings-xsmM2TA_.d.ts} +3 -3
  163. package/dist/{bucket-vc-QRrva.d.ts → bucket-SvRQwYS4.d.ts} +1 -1
  164. package/dist/chat-sdk/index.d.ts +6 -6
  165. package/dist/cli/add-BdhGOwkB.js +1 -0
  166. package/dist/cli/{add-DUyg9qna.js → add-D4w-Axib.js} +27 -85
  167. package/dist/cli/{add-BKcE_g9D.js → add-Dggyehsy.js} +2 -2
  168. package/dist/cli/{migrate-sVs1QYTM.js → app-table-files-CiGuwLkO.js} +90 -50
  169. package/dist/cli/{backfill-r9RELEEh.js → backfill-DjVjXW_P.js} +4 -4
  170. package/dist/cli/bin.js +1 -1
  171. package/dist/cli/{blocks-DTOFdrxL.js → blocks-Bbmb6W_F.js} +1 -1
  172. package/dist/cli/{blocks-k1OG8XDs.js → blocks-jRL9K1R8.js} +2 -2
  173. package/dist/cli/{cache-Czfw7Iow.js → cache-BuoIFlUJ.js} +1 -1
  174. package/dist/cli/{codemod-ClmbiLuL.js → codemod-DRavXBCb.js} +5 -5
  175. package/dist/cli/{command-CVzTJSLp.js → command-DIPmo0wh.js} +6 -1
  176. package/dist/cli/{completion-DxEXxFpz.js → completion-DxPxMtyP.js} +2 -2
  177. package/dist/cli/{completion-CNCqE-Gb.js → completion-DyLMSjOD.js} +1 -1
  178. package/dist/cli/{completion-Dpk6vh0p.js → completion-FUgqm2-N.js} +2 -2
  179. package/dist/cli/{config-EjNj3HfT.js → config-BfapErxs.js} +1 -1
  180. package/dist/cli/{config-KvV-sLZL.js → config-Cskysxp-.js} +38 -7
  181. package/dist/cli/{config-D2YUlzrl.js → config-Df5cXWNN.js} +1 -1
  182. package/dist/cli/{config-group-C8tjut39.js → config-group-CP-B9uRt.js} +2 -3
  183. package/dist/cli/{content-mapper-ez_mT0d4.js → content-mapper-BCtyfKXl.js} +2 -2
  184. package/dist/cli/{db-uYN6O5Eg.js → db-CWvH1_46.js} +3 -3
  185. package/dist/cli/{doctor-BD9oo4MG.js → doctor-Di2ZekfN.js} +57 -24
  186. package/dist/cli/{env-DEAtgGoj.js → env-B2CbnbzD.js} +2 -2
  187. package/dist/cli/env-CynGCICL.js +1 -0
  188. package/dist/cli/{gen-8Ya8n2sA.js → gen-STKC9vkK.js} +16 -16
  189. package/dist/cli/index.d.ts +9 -2
  190. package/dist/cli/index.js +8 -8
  191. package/dist/cli/{init-DgL3sDfQ.js → init-DW6_nIwj.js} +22 -10
  192. package/dist/cli/{keys-CsanNk-2.js → keys-V-HcO-21.js} +1 -1
  193. package/dist/cli/{live-CMMEct_F.js → live-0G4Plw3K.js} +2 -2
  194. package/dist/cli/{mcp-DEHtzAkq.js → mcp-flKS8iU5.js} +6 -14
  195. package/dist/cli/{metadata-BZh-cOzC.js → metadata-VARUbXEe.js} +3 -3
  196. package/dist/cli/migrate-Bkq07XcT.js +46 -0
  197. package/dist/cli/{migration-safety-ClnYNMdq.js → migration-safety-BfVeza5j.js} +2 -2
  198. package/dist/cli/{migrations-DWh38tO9.js → migrations-BCq7Zs2E.js} +2 -2
  199. package/dist/cli/{module-migration-CXfRJIV4.js → module-migration-lbeUrsYv.js} +2 -2
  200. package/dist/cli/{moved-Cnb4fp49.js → moved-DNOtp9LA.js} +1 -1
  201. package/dist/cli/{parse-BWM6IGhF.js → parse-BPf3kGnc.js} +1 -1
  202. package/dist/cli/{powersync-Dnyr-Wy5.js → powersync-B15CfH5Y.js} +4 -4
  203. package/dist/cli/powersync-DnBsDchT.js +1 -0
  204. package/dist/cli/{print-DJrSr56b.js → print-DjxpBRnv.js} +2 -2
  205. package/dist/cli/{providers-CpaISitn.js → providers-dyxcHQY3.js} +1 -1
  206. package/dist/cli/{remove-ChaieK3t.js → remove-BLq5gbal.js} +7 -7
  207. package/dist/cli/{render-DUNJ4Pss.js → render-CizUf3RW.js} +5 -5
  208. package/dist/cli/{run-CxFDjL1Q.js → run-ChEjR7yw.js} +3 -3
  209. package/dist/cli/{run-Cl9COGuy.js → run-ChOY6s4o.js} +9 -9
  210. package/dist/cli/{run-ChCQPYOh.js → run-MwM__teL.js} +41 -41
  211. package/dist/cli/seed-BOun22-k.js +1 -0
  212. package/dist/cli/{seed-BzVLTdRl.js → seed-CDnL4Tnc.js} +3 -3
  213. package/dist/cli/{shared-5uqc1GBj.js → shared-DV5wIv-7.js} +1 -1
  214. package/dist/cli/{skills-0gz_qjVb.js → skills-DM3oeIxY.js} +1 -1
  215. package/dist/cli/{snapshot-DdAP7LWO.js → snapshot-B5LXkVMC.js} +3 -3
  216. package/dist/cli/{source-2irbWSck.js → source-BoLNG_2A.js} +1 -1
  217. package/dist/cli/{source-args-DAcQt-Mh.js → source-args-v8ljFDfc.js} +1 -1
  218. package/dist/cli/{spec-_MS0ym5r.js → spec-D6QeE2Zx.js} +1 -1
  219. package/dist/cli/{spec-B7n4Rthp.js → spec-Dz-PGCaM.js} +3 -3
  220. package/dist/cli/{sql-layout-DYKkQw1k.js → sql-layout-zo02f3Dm.js} +2 -2
  221. package/dist/cli/{stack-CteM33gC.js → stack-ClESAZYf.js} +1 -1
  222. package/dist/cli/{stack-env-6hS-WEmh.js → stack-env-3ziggrU3.js} +1 -1
  223. package/dist/cli/{sync-DnSOrQuA.js → sync-m-oZ_SyI.js} +4 -4
  224. package/dist/cli/{table-DeH8X0qz.js → table-dyKddjwo.js} +1 -1
  225. package/dist/cli/{upgrade-CWdrC-K3.js → upgrade-C9sgVZ5z.js} +5 -5
  226. package/dist/cli/{upgrade-cMy5fKkg.js → upgrade-WwEJaX3i.js} +3 -3
  227. package/dist/cli/{version-C5RAWmrD.js → version-D2BQuqta.js} +1 -1
  228. package/dist/client/index.d.ts +6 -6
  229. package/dist/client/native/index.d.ts +5 -5
  230. package/dist/{cloud-event-DcJwder2.d.ts → cloud-event-0pQ9vFNS.d.ts} +1 -1
  231. package/dist/{compiler-D3UmE7ao.d.ts → compiler-BEeVWXPS.d.ts} +2 -2
  232. package/dist/{composite-CWJvZgni.d.ts → composite-BJ9s-IJJ.d.ts} +7 -7
  233. package/dist/config/index.d.ts +4 -4
  234. package/dist/config/index.js +3 -3
  235. package/dist/{config-CvJHIy5q.js → config-bqKaPjst.js} +6 -27
  236. package/dist/{config-CTeR7XHK.js → config-r7njjNgh.js} +1 -1
  237. package/dist/{connectors-CHGiffYH.d.ts → connectors-uC5baoFV.d.ts} +4 -4
  238. package/dist/{context-BFEX0b7H.d.ts → context-nbYYjv7U.d.ts} +46 -51
  239. package/dist/{controller-Cl6HmMBk.d.ts → controller-TRocodqG.d.ts} +1 -1
  240. package/dist/{conversion-DlfStnln.d.ts → conversion-g8HzH9My.d.ts} +1 -1
  241. package/dist/create/index.d.ts +3 -3
  242. package/dist/create/index.js +2 -2
  243. package/dist/create/lite/index.d.ts +4 -4
  244. package/dist/create/lite/index.js +1 -1
  245. package/dist/credentials/index.d.ts +4 -4
  246. package/dist/{data-engine-BWoz9lED.d.ts → data-engine-rvbR2C4F.d.ts} +1 -1
  247. package/dist/{define-BLP6XtoL.d.ts → define-D8_9X5fZ.d.ts} +5 -5
  248. package/dist/{define-block-DibVN37N.d.ts → define-block-DWVZSZv1.d.ts} +12 -12
  249. package/dist/{documents-Cup1rpjF.d.ts → documents-BbwYyynk.d.ts} +3 -3
  250. package/dist/edge/index.d.ts +9 -9
  251. package/dist/elysia/index.d.ts +1 -1
  252. package/dist/{embeddings-D_RsS6ow.d.ts → embeddings-I3s5sTDt.d.ts} +1 -1
  253. package/dist/{ended-B8RyuUXF.d.ts → ended-EZzN9QTM.d.ts} +2 -2
  254. package/dist/{entitlements-Y-n4RGAd.d.ts → entitlements-B1i1-wfe.d.ts} +2 -2
  255. package/dist/eve/index.d.ts +5 -5
  256. package/dist/{eve-B7jxYPCw.d.ts → eve-BfhVFV33.d.ts} +2 -2
  257. package/dist/events/index.d.ts +3 -3
  258. package/dist/{events-Cc9DDQWH.d.ts → events-B2qbZps6.d.ts} +1 -1
  259. package/dist/{executor-DNPm13a9.d.ts → executor-BfirBzOr.d.ts} +4 -4
  260. package/dist/{executor-C-Ox9eKq.d.ts → executor-BlS0kCrN.d.ts} +1 -1
  261. package/dist/{executor-hGjrop3A.d.ts → executor-DXQIx4sW.d.ts} +1 -1
  262. package/dist/expo/index.d.ts +4 -4
  263. package/dist/{field-errors-Btn3czyz.d.ts → field-errors-tJvehEFc.d.ts} +10 -10
  264. package/dist/{fields-C3q2ypnO.d.ts → fields-snbaZ14h.d.ts} +1 -1
  265. package/dist/{filter-evaluate-CPxeae5X.d.ts → filter-evaluate-BRpNiNPG.d.ts} +1 -1
  266. package/dist/{filter-query-BXLs72G9.d.ts → filter-query-DBt7OKuH.d.ts} +1 -1
  267. package/dist/{flags-C01PLMJ-.d.ts → flags-DDKTThrO.d.ts} +2 -2
  268. package/dist/flags-sdk/index.d.ts +1 -1
  269. package/dist/{framework-GlxXiotm.d.ts → framework-DVYTtQXA.d.ts} +7 -7
  270. package/dist/{gateway-DzI687yd.d.ts → gateway-Ve7cByEr.d.ts} +3 -3
  271. package/dist/h3/index.d.ts +1 -1
  272. package/dist/h3/v1/index.d.ts +1 -1
  273. package/dist/hono/index.d.ts +9 -9
  274. package/dist/{inbox-NDKwSk_H.d.ts → inbox-c8B86Trp.d.ts} +5 -5
  275. package/dist/{index-DPMVWm_Z.d.ts → index-8US7qlvW.d.ts} +5 -5
  276. package/dist/{index-C_qlBJ3k.d.ts → index-B4wttiLh.d.ts} +4 -4
  277. package/dist/{index-CAY7rIQs.d.ts → index-BKrxynq9.d.ts} +5 -5
  278. package/dist/{index-BfYDY6eh.d.ts → index-BM6NmKSc.d.ts} +5 -5
  279. package/dist/{index-8wOL81rB.d.ts → index-BkzXwuIN.d.ts} +4 -3
  280. package/dist/{index-k-SyCzcQ.d.ts → index-CWAQRWY8.d.ts} +4 -4
  281. package/dist/{index-CQhPHHDF.d.ts → index-Cxsnd-OL.d.ts} +1 -1
  282. package/dist/{index-D1ckLbUM.d.ts → index-pZn6S_iq.d.ts} +1 -1
  283. package/dist/{index-C0_cweyT.d.ts → index-zsgNmE8m.d.ts} +14 -14
  284. package/dist/index.d.ts +6 -6
  285. package/dist/{kit-Dxx3MT8m.d.ts → kit-B8yWCRN7.d.ts} +3 -3
  286. package/dist/{knowledge-F1IhRI4Q.d.ts → knowledge-CsLPACGJ.d.ts} +5 -5
  287. package/dist/lint/index.d.ts +1 -1
  288. package/dist/list/index.d.ts +3 -3
  289. package/dist/{list-query-XHoYDlRN.d.ts → list-query-BcU8NnNL.d.ts} +3 -3
  290. package/dist/mapper/bin.js +6 -6
  291. package/dist/mcp/index.d.ts +6 -6
  292. package/dist/mcp/sdk/index.d.ts +6 -6
  293. package/dist/{messaging-C_Pr9tGx.d.ts → messaging-DQP09JsY.d.ts} +4 -4
  294. package/dist/nestjs/index.d.ts +2 -2
  295. package/dist/next/client/index.d.ts +1 -1
  296. package/dist/next/index.d.ts +103 -28
  297. package/dist/next/index.js +189 -49
  298. package/dist/node/index.d.ts +2 -2
  299. package/dist/{operations-DE7SOBw-.d.ts → operations-CB9atU2e.d.ts} +1 -1
  300. package/dist/{options-C4LuqmdG.js → options-BKBy5wM_.js} +2 -1
  301. package/dist/orpc/index.d.ts +8 -8
  302. package/dist/otel/index.d.ts +2 -2
  303. package/dist/otel/index.js +4 -4
  304. package/dist/{outbox-DxZgoKwp.d.ts → outbox-BZ712Z3X.d.ts} +4 -4
  305. package/dist/{pool-wjbAMqc1.d.ts → pool-DDR1ndk7.d.ts} +3 -3
  306. package/dist/{ports-DP0bthUk.d.ts → ports-hpbyMySO.d.ts} +1 -1
  307. package/dist/postgres/index.d.ts +4 -4
  308. package/dist/{postgrest-z-T0l23T.d.ts → postgrest-AJc8hnJU.d.ts} +1 -1
  309. package/dist/powersync/index.d.ts +6 -6
  310. package/dist/preset/index.d.ts +3 -3
  311. package/dist/preset/index.js +2 -2
  312. package/dist/{preset-DwuWNBip.js → preset-DCdEnJj9.js} +8 -13
  313. package/dist/{project-Bo1vZqVs.js → project-B32wb5J6.js} +4 -4
  314. package/dist/{provider-ClrIplXa.d.ts → provider-CWjzAIX9.d.ts} +1 -1
  315. package/dist/{push-token-v3xCcVU7.d.ts → push-token-DQ1ycFPU.d.ts} +1 -1
  316. package/dist/query/index.d.ts +1 -1
  317. package/dist/react/index.d.ts +8 -8
  318. package/dist/react/native/index.d.ts +1 -1
  319. package/dist/react/server.d.ts +8 -8
  320. package/dist/react/session.d.ts +2 -2
  321. package/dist/react-router/index.d.ts +6 -6
  322. package/dist/realtime/index.d.ts +6 -6
  323. package/dist/realtime/index.js +1 -1
  324. package/dist/{record-form-D2-F4IwS.d.ts → record-form-CubgBrtI.d.ts} +1 -1
  325. package/dist/{recordings-BBSJt_YV.d.ts → recordings-DeZYx-Kv.d.ts} +1 -1
  326. package/dist/records/index.d.ts +9 -9
  327. package/dist/{refresh-CCKB1Wa6.d.ts → refresh-D02Pbf5B.d.ts} +1 -1
  328. package/dist/{refusal-D_tklIEb.d.ts → refusal-B0VmlAxF.d.ts} +2 -2
  329. package/dist/{resolve-Bj1qD7Dy.d.ts → resolve-CtX6T0c0.d.ts} +1 -1
  330. package/dist/{resource-D8pzB5Qf.d.ts → resource-WxN0IsvB.d.ts} +1 -1
  331. package/dist/{resource-execute-BSTIfp1D.d.ts → resource-execute-BzqR8DdD.d.ts} +2 -2
  332. package/dist/{resource-types-D5WEvYtV.d.ts → resource-types-BVbHgTPg.d.ts} +4 -4
  333. package/dist/{resources-CsZ7RhZC.d.ts → resources-BSbRa0Ab.d.ts} +2 -2
  334. package/dist/{respond-BzRG-0qc.d.ts → respond-Dzu_-EPH.d.ts} +1 -1
  335. package/dist/{sales-lines-KxxStRzU.d.ts → sales-lines-BsmrNHe9.d.ts} +1 -1
  336. package/dist/{scores-B2BiNuVJ.d.ts → scores-Y8TvyJi1.d.ts} +5 -5
  337. package/dist/server/index.d.ts +24 -24
  338. package/dist/server/index.js +2 -2
  339. package/dist/{server-types-BlDiY-ya.d.ts → server-types-BkTIxW_H.d.ts} +11 -11
  340. package/dist/{session-BGP98Rgj.d.ts → session-BOzx2qHC.d.ts} +6 -6
  341. package/dist/{session-status-C4t7kbSn.d.ts → session-status-BP8eYVnA.d.ts} +2 -2
  342. package/dist/sign-in-BzihC_8k.d.ts +50 -0
  343. package/dist/{sign-in-NO7LWlw4.js → sign-in-Cyj3ZlFX.js} +120 -25
  344. package/dist/{signers-BKgmVh6A.d.ts → signers-ZmxO1I05.d.ts} +4 -4
  345. package/dist/{signing-keys-BNDUxpQL.d.ts → signing-keys-udgP7Aod.d.ts} +2 -2
  346. package/dist/solid/index.d.ts +10 -10
  347. package/dist/solid-start/index.d.ts +6 -6
  348. package/dist/spec/index.d.ts +2 -2
  349. package/dist/sql/index.d.ts +4 -4
  350. package/dist/sql/index.js +2 -2
  351. package/dist/{sql-B7vBP9g0.js → sql-CyeDg3Yh.js} +321 -212
  352. package/dist/sqlite/index.d.ts +3 -3
  353. package/dist/{sso-B0Txid2-.d.ts → sso-CkU_4mtK.d.ts} +3 -3
  354. package/dist/ssr/index.d.ts +5 -5
  355. package/dist/storage/index.d.ts +3 -3
  356. package/dist/streams/index.d.ts +1 -1
  357. package/dist/{subject-readers-DJbzlm8a.d.ts → subject-readers-CB5Te02u.d.ts} +5 -5
  358. package/dist/{subject-readers-CeeJJOQ4.js → subject-readers-VHcrWhmq.js} +2 -2
  359. package/dist/{subjects-BpIEN1MS.d.ts → subjects-CiBNKy2y.d.ts} +4 -4
  360. package/dist/{support-D7CMbhRT.d.ts → support-BxyPOFk4.d.ts} +4 -4
  361. package/dist/{support-view-CIDXF3_H.d.ts → support-view-nqUWKHEs.d.ts} +1 -1
  362. package/dist/svelte/index.d.ts +9 -9
  363. package/dist/sveltekit/index.d.ts +7 -7
  364. package/dist/{tags-Dg4Ywmqp.d.ts → tags-Cm48BsOa.d.ts} +1 -1
  365. package/dist/tanstack-db/index.d.ts +3 -3
  366. package/dist/tanstack-start/index.d.ts +6 -6
  367. package/dist/{tenant-CyLEXgot.d.ts → tenant-C9YE_kqK.d.ts} +2 -2
  368. package/dist/testing/index.d.ts +25 -25
  369. package/dist/testing/index.js +1 -1
  370. package/dist/{timeline-Cjl-1hiA.d.ts → timeline-DvXtXq5q.d.ts} +5 -5
  371. package/dist/{topic-B_DGdAEs.d.ts → topic-breZqx_4.d.ts} +5 -5
  372. package/dist/{types-Dp3UCr1e.d.ts → types-B-D6fYx2.d.ts} +1 -1
  373. package/dist/{types-DF8JYEf5.d.ts → types-C3I7S51U.d.ts} +2 -2
  374. package/dist/{types-Czq9Xtpa.d.ts → types-CK2X2wCB.d.ts} +5 -5
  375. package/dist/{types-DFdg_4yN.d.ts → types-CPl9uJ0G.d.ts} +2 -2
  376. package/dist/{types-DR1MHh7N.d.ts → types-CwQgFo8c.d.ts} +4 -4
  377. package/dist/{types-Dr9wZgNy.d.ts → types-DMihLukJ.d.ts} +3 -3
  378. package/dist/{types-A4yyKEsg.d.ts → types-iCyZ3lMx.d.ts} +4 -4
  379. package/dist/{types-BdaBfYIw.d.ts → types-nspa5I-a.d.ts} +7 -7
  380. package/dist/{undo-B1jwnVyN.d.ts → undo-0HkWXASn.d.ts} +2 -2
  381. package/dist/{usage-Dp45V42p.d.ts → usage-BkWAPkg2.d.ts} +4 -4
  382. package/dist/{vault-BghaujrZ.d.ts → vault-BkdPmL7f.d.ts} +2 -2
  383. package/dist/vercel-connect/index.d.ts +1 -1
  384. package/dist/{verify-CI8LgSpv.d.ts → verify-41mZmspj.d.ts} +2 -2
  385. package/dist/{view-BvNA7EOC.d.ts → view-C8_xvD-j.d.ts} +1 -1
  386. package/dist/vue/index.d.ts +10 -10
  387. package/dist/{watch-topic-1zIAtiNM.d.ts → watch-topic-ItO3dz8m.d.ts} +1 -1
  388. package/dist/workflow-sdk/builder/index.d.ts +3 -3
  389. package/dist/workflow-sdk/index.d.ts +1 -1
  390. package/dist/workflow-sdk/world/index.d.ts +1 -1
  391. package/dist/workflow-sdk/world/index.js +1 -1
  392. package/dist/{workflow-sdk-CaEw822d.js → workflow-sdk-BWPsdzVK.js} +36 -8
  393. package/dist/{workflow-sdk-BNsZrcVg.d.ts → workflow-sdk-rg3IbCZC.d.ts} +3 -3
  394. package/dist/{workflows-B0ZPAQu0.d.ts → workflows-xL6t0TXx.d.ts} +7 -4
  395. package/dist/yjs/index.d.ts +2 -2
  396. package/package.json +1 -2
  397. package/schemas/config-v1.json +5 -352
  398. package/schemas/doctor-report-v1.json +1 -0
  399. package/skills/better-supabase/references/ui-recipes.md +5 -5
  400. package/skills/better-supabase-auth/SKILL.md +8 -1
  401. package/dist/cli/add-pDOlqWUa.js +0 -1
  402. package/dist/cli/env-Cy2lWBRC.js +0 -1
  403. package/dist/cli/powersync-DURhWDVc.js +0 -1
  404. package/dist/cli/seed-BJ7c-ktX.js +0 -1
  405. package/dist/sign-in-CAadgm33.d.ts +0 -24
@@ -1,15 +1,15 @@
1
1
  import { r as errorText } from "./errors-BTe6A15O.js";
2
2
  import { a as sameText, t as display } from "./io-DH1kcmmP.js";
3
- import { c as writeAtomic, o as storeTypesModule, s as typesModuleKey, t as CACHE_DIR } from "./cache-Czfw7Iow.js";
3
+ import { c as writeAtomic, o as storeTypesModule, s as typesModuleKey, t as CACHE_DIR } from "./cache-BuoIFlUJ.js";
4
4
  import { t as byCodePoint } from "./compare-BmIWVEui.js";
5
- import { _ as stabilizeMetadata, b as typegenVersionNotice, p as oxfmtInstalled, t as loadSnapshot, y as typegenVersion } from "./snapshot-DdAP7LWO.js";
6
- import { n as render } from "./render-DUNJ4Pss.js";
7
- import { a as compiledReadSets, c as entitlementRequirements, d as providerLabel, f as unsafeKey, l as entitlementsMode, o as accessProviderMode, s as accessRequirements, u as moduleKeyProblems } from "./providers-CpaISitn.js";
8
- import { s as schemaStampPath } from "./content-mapper-ez_mT0d4.js";
5
+ import { _ as stabilizeMetadata, b as typegenVersionNotice, p as oxfmtInstalled, t as loadSnapshot, y as typegenVersion } from "./snapshot-B5LXkVMC.js";
6
+ import { n as render } from "./render-CizUf3RW.js";
7
+ import { a as compiledReadSets, c as entitlementRequirements, d as providerLabel, f as unsafeKey, l as entitlementsMode, o as accessProviderMode, s as accessRequirements, u as moduleKeyProblems } from "./providers-dyxcHQY3.js";
8
+ import { s as schemaStampPath } from "./content-mapper-BCtyfKXl.js";
9
9
  import { a as changedFiles, d as fileDiff, i as changeLines, r as applyPlan, s as hasConflicts } from "./files-CX71yBm8.js";
10
- import { n as migrationsDir, o as writtenByBlocks } from "./sql-layout-DYKkQw1k.js";
11
- import { l as tableObject, n as exposed, o as policyObject, s as qualified, t as catalogOf } from "./shared-5uqc1GBj.js";
12
- import { c as sameModuleMigration, l as writeLatestMigration, n as READ_SETS_SUFFIX, r as latestMigration, u as writesMigrations } from "./module-migration-CXfRJIV4.js";
10
+ import { n as migrationsDir, o as writtenByBlocks } from "./sql-layout-zo02f3Dm.js";
11
+ import { l as tableObject, n as exposed, o as policyObject, s as qualified, t as catalogOf } from "./shared-DV5wIv-7.js";
12
+ import { c as sameModuleMigration, l as writeLatestMigration, n as READ_SETS_SUFFIX, r as latestMigration, u as writesMigrations } from "./module-migration-lbeUrsYv.js";
13
13
  import { existsSync } from "node:fs";
14
14
  import { dirname, isAbsolute, relative, resolve, sep } from "node:path";
15
15
  import { readFile } from "node:fs/promises";
@@ -553,7 +553,7 @@ const RLS_RULES = [
553
553
  code: "BS213",
554
554
  severity: "warning",
555
555
  title: "API roles can write the columns that grant access",
556
- description: "RLS helpers decide access from columns such as `memberships.user_id`, `memberships.role` or `contacts.customer_id`, and an authorization provider lists them as `decidingColumns`. When `anon` or `authenticated` may insert or update one of them, and a policy lets them write the row, a user can grant themselves access. A table-level grant counts even after a column-level revoke. A single-column primary key, a tenant column every write policy pins to a tenant the caller acts in (`current_tenant_id()`, `can('tenant', column, ...)`, `tenant_ids_with(...)` or the membership helper `member_organization_ids()`, alone or next to a guest's grant from `portal_subjects()`), a subject's `deletedAt` column in `config.records` and a block's soft-delete column (they only hide rows) don't count unless the provider lists them.",
556
+ description: "RLS helpers decide access from columns such as `memberships.user_id`, `memberships.role` or `contacts.customer_id`, and an authorization provider lists them as `decidingColumns`. When `anon` or `authenticated` may insert or update one of them, and a policy lets them write the row, a user can grant themselves access. A table-level grant counts even after a column-level revoke. A single-column primary key, a tenant column every write policy pins to a tenant the caller acts in (`current_tenant_id()`, `can('tenant', column, ...)`, `tenant_ids_with(...)` or the membership helper `member_organization_ids()`, alone or next to a guest's grant from `portal_subjects()`), a subject's `deletedAt` column in `config.subjects` and a block's soft-delete column (they only hide rows) don't count unless the provider lists them.",
557
557
  check: (context) => {
558
558
  const tables = new Map(catalogOf(context).tables.map((table) => [qualified(table), table]));
559
559
  return [...grantColumns(context)].flatMap(([name, byColumn]) => {
@@ -1,10 +1,10 @@
1
- import { c as COMMANDS, d as GROUPS, f as RESERVED_NAMES, h as runCommand, i as joinRepeated, m as parseArgs$2, o as listArgs, s as runsWithInvalidConfig, t as GLOBAL_ARGS, u as DOCS_ORIGIN } from "./command-CVzTJSLp.js";
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-DIPmo0wh.js";
2
2
  import { n as highlight, r as painter } from "./style-Bm2X5JrN.js";
3
- import { t as VERSION } from "./version-C5RAWmrD.js";
3
+ import { t as VERSION } from "./version-D2BQuqta.js";
4
4
  import { n as CliError, o as toCliError } from "./errors-BTe6A15O.js";
5
5
  import { a as missingInputNext, o as resolveAgent, t as checkConsent } from "./agent-CbuPvI2x.js";
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-BWM6IGhF.js";
7
- import { n as movedCommand, r as movedFlag } from "./moved-Cnb4fp49.js";
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-BPf3kGnc.js";
7
+ import { n as movedCommand, r as movedFlag } from "./moved-DNOtp9LA.js";
8
8
  import { n as HTTP_CHANNEL, t as EXEC_CHANNEL } from "./trace-VbdO6bcN.js";
9
9
  import { stripVTControlCharacters } from "node:util";
10
10
  import { subscribe, unsubscribe } from "node:diagnostics_channel";
@@ -16,40 +16,40 @@ 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-DgL3sDfQ.js").then((m) => m.initCommand)],
20
- ["add", () => import("./add-pDOlqWUa.js").then((m) => m.addCommand)],
21
- ["remove", () => import("./remove-ChaieK3t.js").then((m) => m.removeCommand)],
22
- ["upgrade", () => import("./upgrade-cMy5fKkg.js").then((m) => m.upgradeCommand)],
23
- ["table", () => import("./table-DeH8X0qz.js").then((m) => m.tableCommand)],
24
- ["migrate schema-first", () => import("./migrate-sVs1QYTM.js").then((m) => m.migrateSchemaFirstCommand)],
25
- ["gen", () => import("./gen-8Ya8n2sA.js").then((m) => m.genCommand)],
26
- ["doctor", () => import("./doctor-BD9oo4MG.js").then((m) => m.doctorCommand)],
27
- ["db query", () => import("./db-uYN6O5Eg.js").then((m) => m.dbQueryCommand)],
28
- ["db diff", () => import("./db-uYN6O5Eg.js").then((m) => m.dbDiffCommand)],
29
- ["db seed", () => import("./seed-BJ7c-ktX.js").then((m) => m.seedCommand)],
30
- ["db backfill", () => import("./backfill-r9RELEEh.js").then((m) => m.dbBackfillCommand)],
31
- ["dev env", () => import("./env-Cy2lWBRC.js").then((m) => m.envCommand)],
32
- ["dev run", () => import("./run-CxFDjL1Q.js").then((m) => m.runCommand)],
33
- ["dev keys", () => import("./keys-CsanNk-2.js").then((m) => m.keysCommand)],
34
- ["dev stack ls", () => import("./stack-CteM33gC.js").then((m) => m.stackLsCommand)],
35
- ["dev stack prune", () => import("./stack-CteM33gC.js").then((m) => m.stackPruneCommand)],
36
- ["blocks list", () => import("./blocks-DTOFdrxL.js").then((m) => m.blocksListCommand)],
37
- ["blocks view", () => import("./blocks-DTOFdrxL.js").then((m) => m.blocksViewCommand)],
38
- ["blocks search", () => import("./blocks-DTOFdrxL.js").then((m) => m.blocksSearchCommand)],
39
- ["powersync streams", () => import("./powersync-DURhWDVc.js").then((m) => m.powersyncStreamsCommand)],
40
- ["spec emit", () => import("./spec-_MS0ym5r.js").then((m) => m.specEmitCommand)],
41
- ["spec validate", () => import("./spec-_MS0ym5r.js").then((m) => m.specValidateCommand)],
42
- ["mcp", () => import("./mcp-DEHtzAkq.js").then((m) => m.mcpCommand)],
43
- ["skills list", () => import("./skills-0gz_qjVb.js").then((m) => m.skillsListCommand)],
44
- ["skills install", () => import("./skills-0gz_qjVb.js").then((m) => m.skillsInstallCommand)],
45
- ["codemod 0.4", () => import("./codemod-ClmbiLuL.js").then((m) => m.codemodCommand("0.4"))],
46
- ["codemod 0.5", () => import("./codemod-ClmbiLuL.js").then((m) => m.codemodCommand("0.5"))],
47
- ["codemod 0.6", () => import("./codemod-ClmbiLuL.js").then((m) => m.codemodCommand("0.6"))],
48
- ["codemod 0.9", () => import("./codemod-ClmbiLuL.js").then((m) => m.codemodCommand("0.9"))],
49
- ["codemod 0.11", () => import("./codemod-ClmbiLuL.js").then((m) => m.codemodCommand("0.11"))],
50
- ["codemod 0.15", () => import("./codemod-ClmbiLuL.js").then((m) => m.codemodCommand("0.15"))],
51
- ["completion", () => import("./completion-Dpk6vh0p.js").then((m) => m.completionCommand)],
52
- ["config", () => import("./config-EjNj3HfT.js").then((m) => m.configCommand)]
19
+ ["init", () => import("./init-DW6_nIwj.js").then((m) => m.initCommand)],
20
+ ["add", () => import("./add-BdhGOwkB.js").then((m) => m.addCommand)],
21
+ ["remove", () => import("./remove-BLq5gbal.js").then((m) => m.removeCommand)],
22
+ ["upgrade", () => import("./upgrade-WwEJaX3i.js").then((m) => m.upgradeCommand)],
23
+ ["table", () => import("./table-dyKddjwo.js").then((m) => m.tableCommand)],
24
+ ["migrate schema-first", () => import("./migrate-Bkq07XcT.js").then((m) => m.migrateSchemaFirstCommand)],
25
+ ["gen", () => import("./gen-STKC9vkK.js").then((m) => m.genCommand)],
26
+ ["doctor", () => import("./doctor-Di2ZekfN.js").then((m) => m.doctorCommand)],
27
+ ["db query", () => import("./db-CWvH1_46.js").then((m) => m.dbQueryCommand)],
28
+ ["db diff", () => import("./db-CWvH1_46.js").then((m) => m.dbDiffCommand)],
29
+ ["db seed", () => import("./seed-BOun22-k.js").then((m) => m.seedCommand)],
30
+ ["db backfill", () => import("./backfill-DjVjXW_P.js").then((m) => m.dbBackfillCommand)],
31
+ ["dev env", () => import("./env-CynGCICL.js").then((m) => m.envCommand)],
32
+ ["dev run", () => import("./run-ChEjR7yw.js").then((m) => m.runCommand)],
33
+ ["dev keys", () => import("./keys-V-HcO-21.js").then((m) => m.keysCommand)],
34
+ ["dev stack ls", () => import("./stack-ClESAZYf.js").then((m) => m.stackLsCommand)],
35
+ ["dev stack prune", () => import("./stack-ClESAZYf.js").then((m) => m.stackPruneCommand)],
36
+ ["blocks list", () => import("./blocks-Bbmb6W_F.js").then((m) => m.blocksListCommand)],
37
+ ["blocks view", () => import("./blocks-Bbmb6W_F.js").then((m) => m.blocksViewCommand)],
38
+ ["blocks search", () => import("./blocks-Bbmb6W_F.js").then((m) => m.blocksSearchCommand)],
39
+ ["powersync streams", () => import("./powersync-DnBsDchT.js").then((m) => m.powersyncStreamsCommand)],
40
+ ["spec emit", () => import("./spec-D6QeE2Zx.js").then((m) => m.specEmitCommand)],
41
+ ["spec validate", () => import("./spec-D6QeE2Zx.js").then((m) => m.specValidateCommand)],
42
+ ["mcp", () => import("./mcp-flKS8iU5.js").then((m) => m.mcpCommand)],
43
+ ["skills list", () => import("./skills-DM3oeIxY.js").then((m) => m.skillsListCommand)],
44
+ ["skills install", () => import("./skills-DM3oeIxY.js").then((m) => m.skillsInstallCommand)],
45
+ ["codemod 0.4", () => import("./codemod-DRavXBCb.js").then((m) => m.codemodCommand("0.4"))],
46
+ ["codemod 0.5", () => import("./codemod-DRavXBCb.js").then((m) => m.codemodCommand("0.5"))],
47
+ ["codemod 0.6", () => import("./codemod-DRavXBCb.js").then((m) => m.codemodCommand("0.6"))],
48
+ ["codemod 0.9", () => import("./codemod-DRavXBCb.js").then((m) => m.codemodCommand("0.9"))],
49
+ ["codemod 0.11", () => import("./codemod-DRavXBCb.js").then((m) => m.codemodCommand("0.11"))],
50
+ ["codemod 0.15", () => import("./codemod-DRavXBCb.js").then((m) => m.codemodCommand("0.15"))],
51
+ ["completion", () => import("./completion-FUgqm2-N.js").then((m) => m.completionCommand)],
52
+ ["config", () => import("./config-BfapErxs.js").then((m) => m.configCommand)]
53
53
  ];
54
54
  /** The built-in commands, for `createCli`. */
55
55
  function builtinCommands() {
@@ -468,7 +468,7 @@ function cliFromTree(init, extra = {}) {
468
468
  };
469
469
  if (argv[0] === "__complete") {
470
470
  const words = argv[1] === "--" ? argv.slice(2) : argv.slice(1);
471
- const lines = await import("./completion-CNCqE-Gb.js").then(async ({ complete, completionLines }) => completionLines(await complete(tree, words))).catch(() => "");
471
+ const lines = await import("./completion-DyLMSjOD.js").then(async ({ complete, completionLines }) => completionLines(await complete(tree, words))).catch(() => "");
472
472
  if (lines !== "") out(lines);
473
473
  return {
474
474
  code: 0,
@@ -597,7 +597,7 @@ function cliFromTree(init, extra = {}) {
597
597
  try {
598
598
  const [loaded, { defaultConfig, discoverConfig, loadConfig }, { configEnvironment, isCi, parseEnv }] = await Promise.all([
599
599
  node.load(),
600
- import("./config-D2YUlzrl.js"),
600
+ import("./config-Df5cXWNN.js"),
601
601
  import("./env-Bat6ogep.js")
602
602
  ]);
603
603
  command = loaded;
@@ -608,7 +608,7 @@ function cliFromTree(init, extra = {}) {
608
608
  const env = parseEnv(options.env ?? {});
609
609
  const environment = configEnvironment(globals.env, env);
610
610
  const configFile = discoverConfig(cwd, globals.config);
611
- const loadWith = (path) => loadConfig(cwd, globals.config, environment, path).catch((cause) => {
611
+ const loadWith = (path) => loadConfig(cwd, globals.config, environment, path, { legacyTables: readsLegacyTables(command) }).catch((cause) => {
612
612
  throw cause instanceof CliError ? cause : new CliError("config_invalid", toCliError(cause).message, { cause });
613
613
  });
614
614
  const reloadConfig = () => loadWith();
@@ -0,0 +1 @@
1
+ export { n as seedCommand } from "./seed-CDnL4Tnc.js";
@@ -1,11 +1,11 @@
1
- import { p as commandMeta, r as defineCliCommand } from "./command-CVzTJSLp.js";
1
+ import { m as commandMeta, r as defineCliCommand } from "./command-DIPmo0wh.js";
2
2
  import { i as isLocalDatabaseUrl, r as databaseHost } from "./agent-CbuPvI2x.js";
3
3
  import { t as display } from "./io-DH1kcmmP.js";
4
- import { l as stdinDatabaseUrl, n as databaseUrl, o as importExport } from "./config-KvV-sLZL.js";
4
+ import { l as stdinDatabaseUrl, n as databaseUrl, o as importExport } from "./config-Cskysxp-.js";
5
5
  import { m as supabaseDir } from "./supabase-toml-CncmQbO0.js";
6
6
  import { t as connect } from "./db-CQCLx7cx.js";
7
7
  import { c as insideRoot, i as changeLines, n as PLAN_ARGS, r as applyPlan, s as hasConflicts, u as planResult } from "./files-CX71yBm8.js";
8
- import { r as STACK_ARG, t as DB_URL_STDIN_ARG } from "./source-args-DAcQt-Mh.js";
8
+ import { r as STACK_ARG, t as DB_URL_STDIN_ARG } from "./source-args-v8ljFDfc.js";
9
9
  import { existsSync } from "node:fs";
10
10
  import { resolve } from "node:path";
11
11
  import { readFile } from "node:fs/promises";
@@ -1,4 +1,4 @@
1
- import { a as toCatalog } from "./source-2irbWSck.js";
1
+ import { a as toCatalog } from "./source-BoLNG_2A.js";
2
2
  import { h as tomlGet, p as sqlWorkflow, r as detectWorkflow } from "./supabase-toml-CncmQbO0.js";
3
3
  //#region src/cli/doctor/shared.ts
4
4
  const catalogs = /* @__PURE__ */ new WeakMap();
@@ -1,4 +1,4 @@
1
- import { a as list, p as commandMeta, r as defineCliCommand } from "./command-CVzTJSLp.js";
1
+ import { a as list, m as commandMeta, r as defineCliCommand } from "./command-DIPmo0wh.js";
2
2
  import { n as CliError } from "./errors-BTe6A15O.js";
3
3
  import { t as byCodePoint } from "./compare-BmIWVEui.js";
4
4
  import { n as PLAN_ARGS, r as applyPlan, u as planResult } from "./files-CX71yBm8.js";
@@ -1,8 +1,8 @@
1
1
  import { n as CliError, r as errorText } from "./errors-BTe6A15O.js";
2
- import { d as readExtras, l as TYPEGEN_VERSION, r as cachedIntrospect } from "./cache-Czfw7Iow.js";
2
+ import { d as readExtras, l as TYPEGEN_VERSION, r as cachedIntrospect } from "./cache-BuoIFlUJ.js";
3
3
  import { t as byCodePoint } from "./compare-BmIWVEui.js";
4
- import { n as managementSource, r as pgSource } from "./source-2irbWSck.js";
5
- import { n as databaseUrl, u as accessToken } from "./config-KvV-sLZL.js";
4
+ import { n as managementSource, r as pgSource } from "./source-BoLNG_2A.js";
5
+ import { n as databaseUrl, u as accessToken } from "./config-Cskysxp-.js";
6
6
  import { d as readSupabaseToml, f as schemaPaths, h as tomlGet, u as pgFunctionHooks } from "./supabase-toml-CncmQbO0.js";
7
7
  import { t as connect } from "./db-CQCLx7cx.js";
8
8
  import { existsSync } from "node:fs";
@@ -1,4 +1,4 @@
1
- import { t as VERSION } from "./version-C5RAWmrD.js";
1
+ import { t as VERSION } from "./version-D2BQuqta.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,5 +1,5 @@
1
1
  import { n as CliError } from "./errors-BTe6A15O.js";
2
- import { l as stdinDatabaseUrl } from "./config-KvV-sLZL.js";
2
+ import { l as stdinDatabaseUrl } from "./config-Cskysxp-.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 +1 @@
1
- export { n as specEmitCommand, i as specValidateCommand } from "./spec-B7n4Rthp.js";
1
+ export { n as specEmitCommand, i as specValidateCommand } from "./spec-Dz-PGCaM.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-CVzTJSLp.js";
3
- import { t as VERSION } from "./version-C5RAWmrD.js";
2
+ import { m as commandMeta, r as defineCliCommand } from "./command-DIPmo0wh.js";
3
+ import { t as VERSION } from "./version-D2BQuqta.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-Czfw7Iow.js";
6
+ import { c as writeAtomic, t as CACHE_DIR } from "./cache-BuoIFlUJ.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,5 +1,5 @@
1
- import { d as TypegenMissingError, i as parseSnapshot } from "./snapshot-DdAP7LWO.js";
2
- import { a as toCatalog } from "./source-2irbWSck.js";
1
+ import { d as TypegenMissingError, i as parseSnapshot } from "./snapshot-B5LXkVMC.js";
2
+ import { a as toCatalog } from "./source-BoLNG_2A.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-CVzTJSLp.js";
1
+ import { m as commandMeta, r as defineCliCommand } from "./command-DIPmo0wh.js";
2
2
  import { r as supabaseCli } from "./exec-Ca5s-ygi.js";
3
3
  import { a as readSharedMemory, i as reportStacks, n as listStacks, r as prunePlan, t as branchName } from "./stacks-CiDBH1dB.js";
4
4
  //#region src/cli/commands/stack.ts
@@ -90,4 +90,4 @@ function staleVariables(shell, values) {
90
90
  });
91
91
  }
92
92
  //#endregion
93
- export { staleVariables as i, prefixFromFlag as n, stackEnvValues as r, PREFIX_NAMES as t };
93
+ export { staleVariables as a, stackEnvValues as i, prefixFromFlag as n, redactValue as r, PREFIX_NAMES as t };
@@ -1,11 +1,11 @@
1
1
  import { n as CliError } from "./errors-BTe6A15O.js";
2
2
  import { t as display } from "./io-DH1kcmmP.js";
3
- import { r as layoutFor } from "./providers-CpaISitn.js";
3
+ import { r as layoutFor } from "./providers-dyxcHQY3.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-DYKkQw1k.js";
7
- import { a as writeExtensionsMigration, t as DATA_NEXT } from "./migrations-DWh38tO9.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-CXfRJIV4.js";
6
+ import { a as sqlPlan, n as migrationsDir } from "./sql-layout-zo02f3Dm.js";
7
+ import { a as writeExtensionsMigration, t as DATA_NEXT } from "./migrations-BCq7Zs2E.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-lbeUrsYv.js";
9
9
  import { t as loadTopics } from "./topics-BpdnYmWb.js";
10
10
  import { t as orphanedBlockFiles } from "./orphans-BAboqyVM.js";
11
11
  import { dirname, join, resolve } from "node:path";
@@ -1,4 +1,4 @@
1
- import { p as commandMeta, r as defineCliCommand } from "./command-CVzTJSLp.js";
1
+ import { m as commandMeta, r as defineCliCommand } from "./command-DIPmo0wh.js";
2
2
  import { i as plain } from "./style-Bm2X5JrN.js";
3
3
  import { n as CliError } from "./errors-BTe6A15O.js";
4
4
  import { t as display } from "./io-DH1kcmmP.js";
@@ -1,10 +1,10 @@
1
1
  import { t as display } from "./io-DH1kcmmP.js";
2
- import { r as layoutFor } from "./providers-CpaISitn.js";
2
+ import { r as layoutFor } from "./providers-dyxcHQY3.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-DYKkQw1k.js";
5
- import { r as migrationStamp } from "./migrations-DWh38tO9.js";
6
- import { a as migrationInstances, c as sameModuleMigration, o as migrationModules, r as latestMigration, s as renderModuleMigration, t as MODULES_SUFFIX, u as writesMigrations } from "./module-migration-CXfRJIV4.js";
7
- import { a as write, o as topicPolicyFile, r as nextStep } from "./sync-DnSOrQuA.js";
4
+ import { a as sqlPlan, n as migrationsDir } from "./sql-layout-zo02f3Dm.js";
5
+ import { r as migrationStamp } from "./migrations-BCq7Zs2E.js";
6
+ import { a as migrationInstances, c as sameModuleMigration, o as migrationModules, r as latestMigration, s as renderModuleMigration, t as MODULES_SUFFIX, u as writesMigrations } from "./module-migration-lbeUrsYv.js";
7
+ import { a as write, o as topicPolicyFile, r as nextStep } from "./sync-m-oZ_SyI.js";
8
8
  import { a as legacyPrefixSql, i as legacyPrefixNames, r as legacyBlocksTableSql } from "./legacy-prefix-R7UChFFl.js";
9
9
  import { resolve } from "node:path";
10
10
  import { readFile } from "node:fs/promises";
@@ -1,8 +1,8 @@
1
- import { p as commandMeta, r as defineCliCommand } from "./command-CVzTJSLp.js";
1
+ import { m as commandMeta, r as defineCliCommand } from "./command-DIPmo0wh.js";
2
2
  import { i as plain } from "./style-Bm2X5JrN.js";
3
- import { t as syncModules } from "./sync-DnSOrQuA.js";
3
+ import { t as syncModules } from "./sync-m-oZ_SyI.js";
4
4
  import { t as SQL_ARGS } from "./args-UEwg0l-N.js";
5
- import { t as upgrade } from "./upgrade-CWdrC-K3.js";
5
+ import { t as upgrade } from "./upgrade-C9sgVZ5z.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.28.0";
2
+ const VERSION = "0.30.0";
3
3
  //#endregion
4
4
  export { VERSION as t };
@@ -1,8 +1,8 @@
1
- import { a as DataSync, c as LocalTablesOption, i as DataEntry, l as liveEngine, n as DataEngine, o as DataSyncState, r as DataEngineOptions, s as LiveEngineOptions, t as DataChanges, u as memoryEngine } from "../data-engine-BWoz9lED.js";
2
- import { n as TopicPort, r as TopicWatch, t as TopicHandle } from "../watch-topic-1zIAtiNM.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-DP0bthUk.js";
4
- import { a as ClientAuth, i as BindClientOptions, n as AuthUser, o as bindClient, r as BetterClient, t as AuthSnapshot } from "../bind-C54jD0r3.js";
5
- import { a as defineController, i as ControllerState, n as Controller, o as whileSignedIn, r as ControllerParts, t as AuthPort } from "../controller-Cl6HmMBk.js";
1
+ import { a as DataSync, c as LocalTablesOption, i as DataEntry, l as liveEngine, n as DataEngine, o as DataSyncState, r as DataEngineOptions, s as LiveEngineOptions, t as DataChanges, u as memoryEngine } from "../data-engine-rvbR2C4F.js";
2
+ import { n as TopicPort, r as TopicWatch, t as TopicHandle } from "../watch-topic-ItO3dz8m.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-hpbyMySO.js";
4
+ import { a as ClientAuth, i as BindClientOptions, n as AuthUser, o as bindClient, r as BetterClient, t as AuthSnapshot } from "../bind-p7asfI6H.js";
5
+ import { a as defineController, i as ControllerState, n as Controller, o as whileSignedIn, r as ControllerParts, t as AuthPort } from "../controller-TRocodqG.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-DPMVWm_Z.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-8US7qlvW.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
- 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-1zIAtiNM.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-DP0bthUk.js";
5
- import { a as ClientAuth, i as BindClientOptions, n as AuthUser, o as bindClient, r as BetterClient, t as AuthSnapshot } from "../../bind-C54jD0r3.js";
6
- import { n as ExpoPushTokenOptions, r as expoPushToken, t as ExpoNotificationsLike } from "../../push-token-v3xCcVU7.js";
2
+ import { T as UploadOptions, w as UploadBody } from "../../bucket-SvRQwYS4.js";
3
+ import { n as TopicPort, r as TopicWatch, t as TopicHandle } from "../../watch-topic-ItO3dz8m.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-hpbyMySO.js";
5
+ import { a as ClientAuth, i as BindClientOptions, n as AuthUser, o as bindClient, r as BetterClient, t as AuthSnapshot } from "../../bind-p7asfI6H.js";
6
+ import { n as ExpoPushTokenOptions, r as expoPushToken, t as ExpoNotificationsLike } from "../../push-token-DQ1ycFPU.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
@@ -1,5 +1,5 @@
1
1
  /// <reference lib="esnext.temporal" />
2
- import { D as BlockEventPattern, T as BlockEvent, o as EventHub } from "./events-Cc9DDQWH.js";
2
+ import { D as BlockEventPattern, T as BlockEvent, o as EventHub } from "./events-B2qbZps6.js";
3
3
  //#region src/events/cloud-event.d.ts
4
4
  /** A CloudEvents 1.0 event. Extension attributes are lowercase alphanumerics. */
5
5
  interface CloudEvent<T = unknown> {
@@ -1,5 +1,5 @@
1
- import { m as Operation } from "./types-DFdg_4yN.js";
2
- import { a as PostgrestPlan } from "./postgrest-z-T0l23T.js";
1
+ import { m as Operation } from "./types-CPl9uJ0G.js";
2
+ import { a as PostgrestPlan } from "./postgrest-AJc8hnJU.js";
3
3
  //#region src/core/compiler.d.ts
4
4
  /**
5
5
  * Turns an IR operation into something a backend runs. An `Executor` for a new
@@ -1,10 +1,10 @@
1
- import { O as AnyFunctions, k as AnyModels } from "./types-DFdg_4yN.js";
2
- import { r as AuthState } from "./resolve-Bj1qD7Dy.js";
3
- import { t as BetterSupabase, y as Db } from "./define-BLP6XtoL.js";
4
- import { a as ServerContext, b as ReplicaState, c as ServerOptions, n as BetterServer } from "./server-types-BlDiY-ya.js";
5
- import { t as ActiveSupport } from "./support-D7CMbhRT.js";
6
- import { n as SessionEntryConfig } from "./session-BGP98Rgj.js";
7
- import { r as GuardOptions } from "./respond-BzRG-0qc.js";
1
+ import { O as AnyFunctions, k as AnyModels } from "./types-CPl9uJ0G.js";
2
+ import { r as AuthState } from "./resolve-CtX6T0c0.js";
3
+ import { t as BetterSupabase, y as Db } from "./define-D8_9X5fZ.js";
4
+ import { a as ServerContext, b as ReplicaState, c as ServerOptions, n as BetterServer } from "./server-types-BkTIxW_H.js";
5
+ import { t as ActiveSupport } from "./support-BxyPOFk4.js";
6
+ import { n as SessionEntryConfig } from "./session-BOzx2qHC.js";
7
+ import { r as GuardOptions } from "./respond-Dzu_-EPH.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,6 +1,6 @@
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-BCG1v0iC.js";
3
- import { $ as JsonSchemaTarget, $r as Snapshot, $t as GeneratorJsonSchema, An as SeedConfig, Ar as AppTableSubject, B as ZodGeneratorOptions, Bi as IntegrationName, Bn as ColumnPrivilege, Br as CatalogFunctionArg, Bt as ClaimsConfig, Cn as SqlInput, Cr as AppReference, Ct as RoleNames, Dn as BucketConfig, Dr as AppTableConfig, En as EntitlementsConfig, Er as AppRollupConfig, Et as ExpandedConfig, Fn as TopicTriggerPayloadValueConfig, Fr as CatalogColumn, G as standardSchema, Gi as SkillsAgent, Gn as ResolvedExpose, Gr as CatalogTrigger, Gt as GeneratorBlockEntity, H as ValibotGeneratorOptions, Hi as MigrationSafetyConfig, Hn as ExposePrivilege, Hr as CatalogIndex, Ht as GeneratedFile, Ii as DoctorConfig, In as TopicTriggerTopicConfig, Ir as CatalogColumnGrant, J as FactoriesGeneratorOptions, Ji as INTEGRATION_INFO, Jr as ExtrasFunction, Jt as GeneratorField, K as NuqsGeneratorOptions, Ki as SkillsConfig, Kr as CatalogUnique, Kt as GeneratorColumn, Li as EnvFileConfig, Ln as TopicTriggerValueConfig, Lr as CatalogEnum, Mn as SqlWorkflow, Mr as AppTablesConfig, Nn as TopicTriggerConfig, Nr as Catalog, On as RealtimeConfig, Or as AppTableEventKind, Pn as TopicTriggerLookupConfig, Pr as CatalogCheck, Q as jsonSchema, Qr as ForeignKeyAction, Qt as GeneratorInputSchema, Ri as GenConfig, Rn as VectorDistance, Rr as CatalogForeignKey, Sn as OrganizationConfig, Sr as AppOnDeleteAction, St as ConfigReferences, Tn as EntitlementPlansSource, Tr as AppRollupAggregate, U as valibot, Ui as OpenApiConfig, Un as ExposeRole, Ur as CatalogPolicy, Ut as Generator, V as zod, Vi as KeysConfig, Vn as ExposeConfig, Vr as CatalogGrant, Vt as CodecsConfig, W as StandardSchemaGeneratorOptions, Wi as PowerSyncGenConfig, Wn as Privilege, Wr as CatalogTable, Wt as GeneratorBlock, X as JsonSchemaGeneratorOptions, Xi as IntegrationInfo, Xr as ExtrasHookFunction, Xt as GeneratorFunctionArg, Y as factories, Yi as INTEGRATION_NAMES, Yr as ExtrasHook, Yt as GeneratorFunction, Z as buildJsonSchema, Zi as SKILLS_AGENTS, Zr as ExtrasTable, Zt as GeneratorInput, _n as BlockInput, _r as AppColumnAccess, _t as defineConfig, ai as PostgresFunctionArg, an as RelationsConfig, at as blockEntities, bn as EnvironmentConfig, br as AppColumnType, bt as BlockTableReference, ci as RpcFunctionOverload, cn as DataHooksFramework, ct as CONFIG_GROUPS, di as RpcTypeReference, dn as ResolvedExtensions, dr as APP_COLUMN_ACCESS, dt as blockEntrySource, ei as SnapshotBucket, en as GeneratorModel, et as ClaimPaths, fn as ApiConfig, fr as APP_COLUMN_FORMATS, ft as flattenConfig, gn as BetterSupabaseConfig, gr as APP_TABLE_EVENT_KINDS, gt as CONFIG_SCHEMA_URL, hn as AuthConfig, hr as APP_ROLLUP_AGGREGATES, ht as hasFlatTables, ii as PostgresFunction, in as JsonTypeConfig, it as BlockEntity, jn as SqlConfig, jr as AppTableVersions, kn as ResolvedSqlConfig, kr as AppTableEvents, li as RpcFunctionReturns, ln as FlatConfig, lt as RENAMED_BLOCK_KEYS, mn as AppTablesInput, mr as APP_ON_DELETE_ACTIONS, mt as groupEntries, ni as GeneratorMetadata, nn as GeneratorTable, nt as claimPaths, oi as RpcFunction, on as SourceConfig, or as CONFIG_DEFAULTS, ot as blockEntityRenames, pn as AppTableInput, pr as APP_COLUMN_TYPES, pt as groupConfig, q as nuqs, qi as GEN_TASKS, qr as ExtrasDomain, qt as GeneratorEntitySchemas, ri as PostgresColumn, rn as JsonSchemaSource, rt as tenantClaimPaths, si as RpcFunctionArg, sn as TableConfig, st as blockSubjectTypes, ti as SnapshotExtras, tn as GeneratorNoun, tt as DEFAULT_CLAIMS, ui as RpcReturnColumn, un as ResolvedConfig, ut as RENAMED_CONFIG_KEYS, vn as BlocksInput, vr as AppColumnConfig, vt as resolveConfig, wn as ToolingConfig, wr as AppReferenceTarget, wt as TypedReference, xn as GenGroupConfig, xr as AppLookupConfig, xt as BucketName, yn as DatabaseConfig, yr as AppColumnFormat, yt as AppTableNames, z as ZodFlavor, zi as GenTask, zn as VectorSearchConfig, zr as CatalogFunction, zt as resolveJsonSchema } from "../context-BFEX0b7H.js";
1
+ import { M as Casing } from "../types-CPl9uJ0G.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-CDU9tYA_.js";
3
+ import { $ as JsonSchemaTarget, $r as SnapshotExtras, $t as GeneratorNoun, An as SqlWorkflow, Ar as AppTablesConfig, B as ZodGeneratorOptions, Bi as MigrationSafetyConfig, Bn as ExposePrivilege, Br as CatalogIndex, Bt as GeneratedFile, Cn as EntitlementPlansSource, Cr as AppRollupAggregate, Dn as ResolvedSqlConfig, Dr as AppTableEvents, En as RealtimeConfig, Er as AppTableEventKind, Fi as EnvFileConfig, Fn as TopicTriggerValueConfig, Fr as CatalogEnum, G as standardSchema, Gi as GEN_TASKS, Gr as ExtrasDomain, Gt as GeneratorEntitySchemas, H as ValibotGeneratorOptions, Hi as PowerSyncGenConfig, Hn as Privilege, Hr as CatalogTable, Ht as GeneratorBlock, Ii as GenConfig, In as VectorDistance, Ir as CatalogForeignKey, J as FactoriesGeneratorOptions, Ji as IntegrationInfo, Jr as ExtrasHookFunction, Jt as GeneratorFunctionArg, K as NuqsGeneratorOptions, Ki as INTEGRATION_INFO, Kr as ExtrasFunction, Kt as GeneratorField, Li as GenTask, Ln as VectorSearchConfig, Lr as CatalogFunction, Lt as resolveJsonSchema, Mn as TopicTriggerLookupConfig, Mr as CatalogCheck, Nn as TopicTriggerPayloadValueConfig, Nr as CatalogColumn, On as SeedConfig, Or as AppTableSubject, Pi as DoctorConfig, Pn as TopicTriggerTopicConfig, Pr as CatalogColumnGrant, Q as jsonSchema, Qr as SnapshotBucket, Qt as GeneratorModel, Ri as IntegrationName, Rn as ColumnPrivilege, Rr as CatalogFunctionArg, Rt as ClaimsConfig, Sn as ToolingConfig, Sr as AppReferenceTarget, St as RoleNames, Tn as BucketConfig, Tr as AppTableConfig, U as valibot, Ui as SkillsAgent, Un as ResolvedExpose, Ur as CatalogTrigger, Ut as GeneratorBlockEntity, V as zod, Vi as OpenApiConfig, Vn as ExposeRole, Vr as CatalogPolicy, Vt as Generator, W as StandardSchemaGeneratorOptions, Wi as SkillsConfig, Wr as CatalogUnique, Wt as GeneratorColumn, X as JsonSchemaGeneratorOptions, Xr as ForeignKeyAction, Xt as GeneratorInputSchema, Y as factories, Yi as SKILLS_AGENTS, Yr as ExtrasTable, Yt as GeneratorInput, Z as buildJsonSchema, Zr as Snapshot, Zt as GeneratorJsonSchema, _n as DatabaseConfig, _r as AppColumnFormat, _t as defineConfig, ai as RpcFunctionArg, an as TableConfig, at as blockEntities, bn as OrganizationConfig, br as AppOnDeleteAction, bt as BucketName, ci as RpcReturnColumn, cn as ResolvedConfig, ct as CONFIG_GROUPS, dn as AppTableInput, dr as APP_COLUMN_TYPES, dt as blockEntrySource, ei as GeneratorMetadata, en as GeneratorTable, et as ClaimPaths, fn as AppTablesInput, fr as APP_ON_DELETE_ACTIONS, ft as flattenConfig, gn as BlocksInput, gr as AppColumnConfig, gt as ResolveInput, hn as BlockInput, hr as AppColumnAccess, ht as CONFIG_SCHEMA_URL, ii as RpcFunction, in as SourceConfig, ir as CONFIG_DEFAULTS, it as BlockEntity, jn as TopicTriggerConfig, jr as Catalog, kn as SqlConfig, kr as AppTableVersions, li as RpcTypeReference, ln as ResolvedExtensions, lr as APP_COLUMN_ACCESS, lt as RENAMED_BLOCK_KEYS, mn as BetterSupabaseConfig, mr as APP_TABLE_EVENT_KINDS, mt as groupEntries, ni as PostgresFunction, nn as JsonTypeConfig, nt as claimPaths, oi as RpcFunctionOverload, on as DataHooksFramework, ot as blockEntityRenames, pn as AuthConfig, pr as APP_ROLLUP_AGGREGATES, pt as groupConfig, q as nuqs, qi as INTEGRATION_NAMES, qr as ExtrasHook, qt as GeneratorFunction, ri as PostgresFunctionArg, rn as RelationsConfig, rt as tenantClaimPaths, si as RpcFunctionReturns, sn as FlatConfig, st as blockSubjectTypes, ti as PostgresColumn, tn as JsonSchemaSource, tt as DEFAULT_CLAIMS, un as ApiConfig, ur as APP_COLUMN_FORMATS, ut as RENAMED_CONFIG_KEYS, vn as EnvironmentConfig, vr as AppColumnType, vt as resolveConfig, wn as EntitlementsConfig, wr as AppRollupConfig, wt as ExpandedConfig, xn as SqlInput, xr as AppReference, xt as ConfigReferences, yn as GenGroupConfig, yr as AppLookupConfig, yt as BlockTableReference, z as ZodFlavor, zi as KeysConfig, zn as ExposeConfig, zr as CatalogGrant, zt as CodecsConfig } from "../context-nbYYjv7U.js";
4
4
  import { i as SubjectsConfig, n as SubjectPermission, r as SubjectSearch, t as SubjectConfig } from "../subjects-BYCL-6hA.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 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 SubjectPermission, type SubjectSearch, 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 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 ResolveInput, type ResolvedConfig, type ResolvedExpose, type ResolvedExtensions, type ResolvedSqlConfig, type RoleNames, type RpcFunction, type RpcFunctionArg, type RpcFunctionOverload, type RpcFunctionReturns, type RpcReturnColumn, type RpcTypeReference, SKILLS_AGENTS, type SeedConfig, type SkillsAgent, type SkillsConfig, type Snapshot, type SnapshotBucket, type SnapshotExtras, type SourceConfig, type SqlConfig, type SqlInput, type SqlWorkflow, type StandardSchemaGeneratorOptions, type SubjectConfig, type SubjectPermission, type SubjectSearch, type SubjectsConfig, type TableConfig, type ToolingConfig, type TopicTriggerConfig, type TopicTriggerLookupConfig, type TopicTriggerPayloadValueConfig, type TopicTriggerTopicConfig, type TopicTriggerValueConfig, type ValibotGeneratorOptions, type VectorDistance, type VectorSearchConfig, type ZodFlavor, type ZodGeneratorOptions, blockEntities, blockEntityRenames, blockEntrySource, blockSubjectTypes, buildJsonSchema, claimPaths, defineConfig, factories, flattenConfig, groupConfig, groupEntries, jsonSchema, nuqs, providerApiProblem, resolveConfig, resolveJsonSchema, standardSchema, tenantClaimPaths, tenantNameOf, valibot, zod };
@@ -1,8 +1,8 @@
1
1
  import { n as resolveJsonSchema, r as CONFIG_DEFAULTS } from "../resolved-names-iLBOUaib.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-CvJHIy5q.js";
2
+ import { A as flattenConfig, D as RENAMED_BLOCK_KEYS, E as CONFIG_GROUPS, F as INTEGRATION_NAMES, I as SKILLS_AGENTS, M as groupEntries, N as GEN_TASKS, O as RENAMED_CONFIG_KEYS, P as INTEGRATION_INFO, j as groupConfig, k as blockEntrySource } from "../config-bqKaPjst.js";
3
3
  import { a as tenantClaimPaths, r as claimPaths, t as DEFAULT_CLAIMS } from "../claims-Bp9My7XP.js";
4
4
  import { A as APP_ROLLUP_AGGREGATES, D as APP_COLUMN_FORMATS, E as APP_COLUMN_ACCESS, L as tenantNameOf, O as APP_COLUMN_TYPES, P as DEFAULT_ACTIVE_TENANT, j as APP_TABLE_EVENT_KINDS, k as APP_ON_DELETE_ACTIONS } from "../instances-C7qUTjhJ.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-CTeR7XHK.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-r7njjNgh.js";
7
7
  import { n as jsonSchema, t as buildJsonSchema } from "../json-schema-DHJxiizN.js";
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 };
8
+ export { APP_COLUMN_ACCESS, APP_COLUMN_FORMATS, APP_COLUMN_TYPES, APP_ON_DELETE_ACTIONS, APP_ROLLUP_AGGREGATES, APP_TABLE_EVENT_KINDS, CONFIG_DEFAULTS, CONFIG_GROUPS, CONFIG_SCHEMA_URL, DEFAULT_ACTIVE_TENANT, DEFAULT_CLAIMS, FIELD_FORMATS, GEN_TASKS, INTEGRATION_INFO, INTEGRATION_NAMES, RENAMED_BLOCK_KEYS, RENAMED_CONFIG_KEYS, SKILLS_AGENTS, blockEntities, blockEntityRenames, blockEntrySource, blockSubjectTypes, buildJsonSchema, claimPaths, defineConfig, factories, flattenConfig, groupConfig, groupEntries, jsonSchema, nuqs, providerApiProblem, resolveConfig, resolveJsonSchema, standardSchema, tenantClaimPaths, tenantNameOf, valibot, zod };
@@ -116,11 +116,7 @@ const CONFIG_GROUPS = {
116
116
  ]
117
117
  };
118
118
  /** Top-level keys renamed by the regrouping: the grouped name, then the flat. */
119
- const RENAMED_CONFIG_KEYS = [
120
- ["records", "subjects"],
121
- ["tables", "appTables"],
122
- ["adapters", "integrations"]
123
- ];
119
+ const RENAMED_CONFIG_KEYS = [["adapters", "integrations"]];
124
120
  /** Keys renamed inside `blocks.<name>`: the grouped name, then the flat. */
125
121
  const RENAMED_BLOCK_KEYS = [
126
122
  ["ownership", "mode"],
@@ -164,9 +160,9 @@ function organizationOf(organization, out) {
164
160
  }
165
161
  /**
166
162
  * The grouped config in the flat shape `resolveConfig` reads: every group's
167
- * keys at the top level, `records`, `tables` and `adapters` under their flat
168
- * names, `auth.organization` as `claims.tenant` and `organization`, and the
169
- * renamed block and app table keys under their flat names.
163
+ * keys at the top level, `adapters` under its flat name, `auth.organization` as
164
+ * `claims.tenant` and `organization`, and the renamed block and app table keys
165
+ * under their flat names.
170
166
  */
171
167
  function flattenConfig(config) {
172
168
  const source = { ...config };
@@ -192,21 +188,6 @@ function flattenConfig(config) {
192
188
  }
193
189
  const GROUP_OF = new Map(Object.entries(CONFIG_GROUPS).flatMap(([group, keys]) => keys.map((key) => [key, group])));
194
190
  const ENVIRONMENT_KEY = /^\$(?:development|production|test|ci)$/;
195
- const GROUPED_KEYS = /* @__PURE__ */ new Set([
196
- "database",
197
- "auth",
198
- "api",
199
- "tooling",
200
- "records",
201
- "adapters"
202
- ]);
203
- /**
204
- * Whether a top-level `tables` is the generator overrides of a config written
205
- * before 0.15 rather than the app tables of a grouped one.
206
- */
207
- function hasFlatTables(keys) {
208
- return keys.includes("appTables") || !keys.some((key) => GROUPED_KEYS.has(key));
209
- }
210
191
  /**
211
192
  * Moves `claims.tenant`, the flat `organization` and the 0.14 tenant plugin's
212
193
  * column to `auth.organization`.
@@ -258,9 +239,8 @@ function groupConfig(config) {
258
239
  function groupEntries(config) {
259
240
  const out = {};
260
241
  const groups = {};
261
- const flatTables = hasFlatTables(Object.keys(config));
262
242
  for (const [key, value] of Object.entries(config)) {
263
- const group = key === "tables" && !flatTables ? void 0 : GROUP_OF.get(key);
243
+ const group = GROUP_OF.get(key);
264
244
  const renamed = RENAMED_CONFIG_KEYS.find(([, flat]) => flat === key);
265
245
  if (key === "gen" && isObject(value)) groups["gen"] = {
266
246
  ...value,
@@ -282,7 +262,6 @@ function groupEntries(config) {
282
262
  const database = groups["database"];
283
263
  if (database !== void 0 && isObject(database["sql"])) database["sql"] = renameKeys(database["sql"], OWNER, true);
284
264
  withOrganization(out, groups);
285
- if (out["tables"] !== void 0 && flatTables) out["tables"] = eachEntry(out["tables"], OWNER, true);
286
265
  if (out["blocks"] !== void 0) out["blocks"] = eachEntry(out["blocks"], RENAMED_BLOCK_KEYS, true);
287
266
  return {
288
267
  ...out,
@@ -1697,4 +1676,4 @@ function expandFlatPreset(config) {
1697
1676
  };
1698
1677
  }
1699
1678
  //#endregion
1700
- export { flattenConfig as A, integrationsForFramework as C, RENAMED_BLOCK_KEYS as D, CONFIG_GROUPS as E, INTEGRATION_INFO as F, INTEGRATION_NAMES as I, SKILLS_AGENTS as L, groupEntries as M, hasFlatTables as N, RENAMED_CONFIG_KEYS as O, GEN_TASKS as P, PRESET_TENANT_NAMES as S, presetValueLabel as T, isPresetName as _, presetOf as a, DEFAULT_CONVENTIONS as b, presetSpec as c, resolvePreset as d, DEFAULT_PRESET_NAME as f, defaultPreset as g, PRESET_NAMES as h, presetConfig as i, groupConfig as j, blockEntrySource as k, listNames as l, PRESET_GROUPS as m, expandFlatPreset as n, presetFromSpec as o, PRESETS as p, expandPreset as r, presetOfSpec as s, conventionConfig as t, presetBlockConflict as u, namedPreset as v, presetField as w, PRESET_FRAMEWORKS as x, CONVENTION_FIELDS as y };
1679
+ export { flattenConfig as A, integrationsForFramework as C, RENAMED_BLOCK_KEYS as D, CONFIG_GROUPS as E, INTEGRATION_NAMES as F, SKILLS_AGENTS as I, groupEntries as M, GEN_TASKS as N, RENAMED_CONFIG_KEYS as O, INTEGRATION_INFO as P, PRESET_TENANT_NAMES as S, presetValueLabel as T, isPresetName as _, presetOf as a, DEFAULT_CONVENTIONS as b, presetSpec as c, resolvePreset as d, DEFAULT_PRESET_NAME as f, defaultPreset as g, PRESET_NAMES as h, presetConfig as i, groupConfig as j, blockEntrySource as k, listNames as l, PRESET_GROUPS as m, expandFlatPreset as n, presetFromSpec as o, PRESETS as p, expandPreset as r, presetOfSpec as s, conventionConfig as t, presetBlockConflict as u, namedPreset as v, presetField as w, PRESET_FRAMEWORKS as x, CONVENTION_FIELDS as y };
@@ -1,5 +1,5 @@
1
1
  import { r as CONFIG_DEFAULTS, t as resolveNames } from "./resolved-names-iLBOUaib.js";
2
- import { A as flattenConfig, n as expandFlatPreset, r as expandPreset } from "./config-CvJHIy5q.js";
2
+ import { A as flattenConfig, n as expandFlatPreset, r as expandPreset } from "./config-bqKaPjst.js";
3
3
  import { t as DEFAULT_CLAIMS } from "./claims-Bp9My7XP.js";
4
4
  import { o as tenantNames } from "./entity-naming-Dtyq5sKE.js";
5
5
  import { I as resolveBlock, L as tenantNameOf, M as PRESET_CATALOG, _ as appTablesOf, o as resolveInstances, r as blocksByName, v as withAppTableSubjects } from "./instances-C7qUTjhJ.js";
@@ -3,10 +3,10 @@ import { T as ErrorMapper, t as AsyncResult } from "./result-DZeA5KS6.js";
3
3
  import { t as StandardSchemaV1 } from "./standard-DBV730sF.js";
4
4
  import { n as ExtraFields, r as FieldsOf } from "./block-fields-BE7pInWZ.js";
5
5
  import { n as Logger } from "./logger-DWVYUmwi.js";
6
- import { i as CredentialRef, r as CredentialProvider } from "./provider-ClrIplXa.js";
7
- import { r as BlockTemporalOptions } from "./block-helpers-CRpAHrp_.js";
8
- import { t as BlockTransport } from "./block-transport-DWZSJrwN.js";
9
- import { n as BlockHooks } from "./block-hooks-DZN2w69m.js";
6
+ import { i as CredentialRef, r as CredentialProvider } from "./provider-CWjzAIX9.js";
7
+ import { r as BlockTemporalOptions } from "./block-helpers-D5emQ2O6.js";
8
+ import { t as BlockTransport } from "./block-transport-9EUA3q_I.js";
9
+ import { n as BlockHooks } from "./block-hooks-B8itxzEE.js";
10
10
  //#region src/blocks/connectors/connectors.d.ts
11
11
  type ConnectorTransport = "http" | "sse";
12
12
  /**