better-supabase 0.22.0 → 0.25.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 (347) hide show
  1. package/dist/{access-sql-CNIgUqWf.js → access-sql-bjWFUWlk.js} +11 -0
  2. package/dist/{ai-schedules-7uQNMXve.d.ts → ai-schedules-yGZH-vQb.d.ts} +1 -1
  3. package/dist/ai-sdk/agents/index.d.ts +2 -2
  4. package/dist/ai-sdk/batches/index.d.ts +1 -1
  5. package/dist/ai-sdk/index.d.ts +1 -1
  6. package/dist/ai-sdk/mcp/index.d.ts +3 -3
  7. package/dist/{api-CHObZL7m.d.ts → api-B1OkIWdx.d.ts} +3 -3
  8. package/dist/{api-keys-D5k63K6y.d.ts → api-keys-ClhKBDcc.d.ts} +1 -1
  9. package/dist/{app-tables-BGzdnQm5.d.ts → app-tables-xij_MI5H.d.ts} +1 -1
  10. package/dist/{approvals-Dh9dUXrN.d.ts → approvals-C5fmPLsH.d.ts} +1 -1
  11. package/dist/astro/index.d.ts +5 -5
  12. package/dist/{authorization-DhoA7dsD.d.ts → authorization-BJV2i8xB.d.ts} +136 -21
  13. package/dist/{authorization-hooks-D_pwXlBs.d.ts → authorization-hooks-DtzreCAq.d.ts} +1 -1
  14. package/dist/{automations-FCnWy387.js → automations-8L3NEuoq.js} +4 -1
  15. package/dist/{availability-vguUvEK2.d.ts → availability-BdeKCHpl.d.ts} +10 -0
  16. package/dist/better-result/index.d.ts +2 -2
  17. package/dist/{bind-CFsctoFJ.d.ts → bind-vKDmdu_4.d.ts} +4 -4
  18. package/dist/{block-env-BrUNeuJ_.d.ts → block-env-wVLz0KMV.d.ts} +4 -4
  19. package/dist/blocks/access-requests/index.d.ts +2 -2
  20. package/dist/blocks/activities/index.d.ts +3 -3
  21. package/dist/blocks/agents/index.d.ts +2 -2
  22. package/dist/blocks/ai-cache/index.d.ts +1 -1
  23. package/dist/blocks/ai-chat/index.d.ts +5 -5
  24. package/dist/blocks/ai-files/index.d.ts +1 -1
  25. package/dist/blocks/ai-keys/index.d.ts +3 -3
  26. package/dist/blocks/ai-schedules/index.d.ts +2 -2
  27. package/dist/blocks/announcements/index.d.ts +5 -5
  28. package/dist/blocks/api-keys/index.d.ts +5 -5
  29. package/dist/blocks/approvals/index.d.ts +3 -3
  30. package/dist/blocks/assets/index.d.ts +2 -2
  31. package/dist/blocks/assignment/index.d.ts +3 -3
  32. package/dist/blocks/attachments/index.d.ts +3 -3
  33. package/dist/blocks/audit/index.d.ts +7 -7
  34. package/dist/blocks/automations/index.d.ts +5 -5
  35. package/dist/blocks/billable-time/index.d.ts +2 -2
  36. package/dist/blocks/billing/index.d.ts +5 -5
  37. package/dist/blocks/bookings/index.d.ts +6 -6
  38. package/dist/blocks/bulk/index.d.ts +2 -2
  39. package/dist/blocks/calendar/index.d.ts +50 -13
  40. package/dist/blocks/calendar/index.js +133 -30
  41. package/dist/blocks/catalog/index.d.ts +2 -2
  42. package/dist/blocks/channels/index.d.ts +3 -3
  43. package/dist/blocks/collections/index.d.ts +3 -3
  44. package/dist/blocks/comments/index.d.ts +5 -5
  45. package/dist/blocks/compliance/index.d.ts +2 -2
  46. package/dist/blocks/connectors/index.d.ts +3 -3
  47. package/dist/blocks/contacts/index.d.ts +3 -3
  48. package/dist/blocks/content/index.d.ts +2 -2
  49. package/dist/blocks/contracts/index.d.ts +2 -2
  50. package/dist/blocks/courses/index.d.ts +2 -2
  51. package/dist/blocks/created-by/index.d.ts +1 -1
  52. package/dist/blocks/custom-fields/index.d.ts +45 -3
  53. package/dist/blocks/custom-fields/index.js +40 -1
  54. package/dist/blocks/data-lifecycle/index.d.ts +4 -4
  55. package/dist/blocks/deals/index.d.ts +3 -3
  56. package/dist/blocks/dispatch/index.d.ts +2 -2
  57. package/dist/blocks/documents/index.d.ts +2 -2
  58. package/dist/blocks/domains/index.d.ts +2 -2
  59. package/dist/blocks/donations/index.d.ts +2 -2
  60. package/dist/blocks/drive/index.d.ts +4 -4
  61. package/dist/blocks/employees/index.d.ts +25 -6
  62. package/dist/blocks/employees/index.js +37 -2
  63. package/dist/blocks/enrichment/index.d.ts +3 -3
  64. package/dist/blocks/enrollments/index.d.ts +2 -2
  65. package/dist/blocks/entitlements/index.d.ts +3 -3
  66. package/dist/blocks/expenses/index.d.ts +2 -2
  67. package/dist/blocks/field-history/index.d.ts +1 -1
  68. package/dist/blocks/flags/index.d.ts +2 -2
  69. package/dist/blocks/forecasts/index.d.ts +3 -3
  70. package/dist/blocks/forms/index.d.ts +3 -3
  71. package/dist/blocks/goals/index.d.ts +1 -1
  72. package/dist/blocks/guests/index.d.ts +2 -2
  73. package/dist/blocks/hiring/index.d.ts +13 -6
  74. package/dist/blocks/hiring/index.js +15 -4
  75. package/dist/blocks/identities/index.d.ts +2 -2
  76. package/dist/blocks/imports/index.d.ts +2 -2
  77. package/dist/blocks/inbox/index.d.ts +6 -6
  78. package/dist/blocks/incidents/index.d.ts +2 -2
  79. package/dist/blocks/index.d.ts +4 -4
  80. package/dist/blocks/inventory/index.d.ts +2 -2
  81. package/dist/blocks/invoices/index.d.ts +3 -3
  82. package/dist/blocks/knowledge/index.d.ts +1 -1
  83. package/dist/blocks/lead-scoring/index.d.ts +1 -1
  84. package/dist/blocks/leases/index.d.ts +2 -2
  85. package/dist/blocks/leave/index.d.ts +2 -2
  86. package/dist/blocks/ledger/index.d.ts +2 -2
  87. package/dist/blocks/mail-sync/index.d.ts +3 -3
  88. package/dist/blocks/memberships/index.d.ts +1 -1
  89. package/dist/blocks/memory/index.d.ts +1 -1
  90. package/dist/blocks/messaging/index.d.ts +7 -7
  91. package/dist/blocks/metrics/index.d.ts +2 -2
  92. package/dist/blocks/mfa/index.d.ts +2 -2
  93. package/dist/blocks/moderation/index.d.ts +2 -2
  94. package/dist/blocks/notifications/index.d.ts +7 -7
  95. package/dist/blocks/numbering/index.d.ts +2 -2
  96. package/dist/blocks/oauth-server/index.d.ts +2 -2
  97. package/dist/blocks/onboarding/index.d.ts +2 -2
  98. package/dist/blocks/orders/index.d.ts +3 -3
  99. package/dist/blocks/organizations/index.d.ts +4 -4
  100. package/dist/blocks/outbox/index.d.ts +2 -2
  101. package/dist/blocks/passes/index.d.ts +3 -3
  102. package/dist/blocks/permissions/index.d.ts +3 -3
  103. package/dist/blocks/pipelines/index.d.ts +3 -3
  104. package/dist/blocks/posts/index.d.ts +2 -2
  105. package/dist/blocks/profiles/index.d.ts +1 -1
  106. package/dist/blocks/promotions/index.d.ts +2 -2
  107. package/dist/blocks/push/index.d.ts +3 -3
  108. package/dist/blocks/queue/index.d.ts +1 -1
  109. package/dist/blocks/quotes/index.d.ts +3 -3
  110. package/dist/blocks/rank/index.d.ts +1 -1
  111. package/dist/blocks/reactions/index.d.ts +5 -5
  112. package/dist/blocks/relations/index.d.ts +2 -2
  113. package/dist/blocks/reminders/index.d.ts +3 -3
  114. package/dist/blocks/reviews/index.d.ts +2 -2
  115. package/dist/blocks/saved-views/index.d.ts +4 -4
  116. package/dist/blocks/scores/index.d.ts +2 -2
  117. package/dist/blocks/search/index.d.ts +6 -4
  118. package/dist/blocks/search/index.js +2 -0
  119. package/dist/blocks/security-events/index.d.ts +3 -3
  120. package/dist/blocks/segments/index.d.ts +3 -3
  121. package/dist/blocks/sequences/index.d.ts +2 -2
  122. package/dist/blocks/service-accounts/index.d.ts +2 -2
  123. package/dist/blocks/sessions/index.d.ts +2 -2
  124. package/dist/blocks/settings/index.d.ts +3 -3
  125. package/dist/blocks/share-links/index.d.ts +30 -5
  126. package/dist/blocks/share-links/index.js +58 -22
  127. package/dist/blocks/shipments/index.d.ts +2 -2
  128. package/dist/blocks/signatures/index.d.ts +2 -2
  129. package/dist/blocks/signing-keys/index.d.ts +2 -2
  130. package/dist/blocks/sla/index.d.ts +3 -3
  131. package/dist/blocks/sso/index.d.ts +3 -3
  132. package/dist/blocks/state-machine/index.d.ts +2 -2
  133. package/dist/blocks/subjects/index.d.ts +2 -2
  134. package/dist/blocks/tags/index.d.ts +20 -5
  135. package/dist/blocks/tags/index.js +15 -2
  136. package/dist/blocks/tasks/index.d.ts +5 -5
  137. package/dist/blocks/teams/index.d.ts +28 -6
  138. package/dist/blocks/teams/index.js +10 -3
  139. package/dist/blocks/templates/index.d.ts +4 -4
  140. package/dist/blocks/time-tracking/index.d.ts +28 -5
  141. package/dist/blocks/time-tracking/index.js +27 -11
  142. package/dist/blocks/timeline/index.d.ts +4 -4
  143. package/dist/blocks/trash/index.d.ts +2 -2
  144. package/dist/blocks/undo/index.d.ts +2 -2
  145. package/dist/blocks/updated-at/index.d.ts +1 -1
  146. package/dist/blocks/usage/index.d.ts +2 -2
  147. package/dist/blocks/vercel-marketplace/index.d.ts +2 -2
  148. package/dist/blocks/versions/index.d.ts +2 -2
  149. package/dist/blocks/waitlist/index.d.ts +2 -2
  150. package/dist/blocks/webhooks/index.d.ts +6 -6
  151. package/dist/blocks/workflow-editor/index.d.ts +7 -7
  152. package/dist/blocks/workflows/index.d.ts +5 -5
  153. package/dist/{bookings-BpCNphYp.d.ts → bookings-CVw5-Q0Z.d.ts} +1 -1
  154. package/dist/chat-sdk/index.d.ts +2 -2
  155. package/dist/cli/{add-BXFzr0Wf.js → add-BTVrOGJF.js} +11 -11
  156. package/dist/cli/add-Bf1fyCWm.js +1 -0
  157. package/dist/cli/{add-B6CQOt3A.js → add-C2pNvVpu.js} +2 -2
  158. package/dist/cli/{backfill-Dflp6JZk.js → backfill-BicVPugb.js} +3 -3
  159. package/dist/cli/bin.js +1 -1
  160. package/dist/cli/{blocks-CBH3N7Fy.js → blocks-BmYOH4T-.js} +1 -1
  161. package/dist/cli/{blocks-FtOIcUbu.js → blocks-sScN-ik-.js} +1 -1
  162. package/dist/cli/{cache-61VwYKEv.js → cache-1TfBy2K4.js} +1 -1
  163. package/dist/cli/{codemod-CqPRa25J.js → codemod-ylE6wGLo.js} +1 -1
  164. package/dist/cli/{config-BH0goim0.js → config-BVfeG3A5.js} +37 -5
  165. package/dist/cli/{config-CTRzkX0H.js → config-CeaQMrvS.js} +1 -1
  166. package/dist/cli/{content-mapper-DGQQY5IA.js → content-mapper-hUW2nb92.js} +2 -2
  167. package/dist/cli/{db-DCeyHS1y.js → db-DwjyUbAh.js} +2 -2
  168. package/dist/cli/{doctor-BxxSO193.js → doctor-D3WKFBSv.js} +16 -16
  169. package/dist/cli/{gen-D2cqqqTH.js → gen-CqsUdsB2.js} +14 -14
  170. package/dist/cli/index.d.ts +1 -1
  171. package/dist/cli/index.js +7 -7
  172. package/dist/cli/{init-BnG1IE1y.js → init-DryZ5Mp1.js} +6 -6
  173. package/dist/cli/{live-D26OWOAb.js → live-Di45imoV.js} +2 -2
  174. package/dist/cli/{mcp-1l3C_GdB.js → mcp-BklC-3eK.js} +2 -2
  175. package/dist/cli/{metadata-DDfPBHwI.js → metadata-7PsBF5Xw.js} +3 -3
  176. package/dist/cli/{migration-safety-CQbrfZIx.js → migration-safety-Doy9qYO8.js} +2 -2
  177. package/dist/cli/{migrations-Ch5Uuvyj.js → migrations-JtsPYv8g.js} +1 -1
  178. package/dist/cli/{module-migration-Dul1uTYX.js → module-migration-ZIn1NCMi.js} +2 -2
  179. package/dist/cli/{powersync-CfT-tRx1.js → powersync-BRGXOCJ0.js} +2 -2
  180. package/dist/cli/powersync-Dq-txa0_.js +1 -0
  181. package/dist/cli/{print-CbPT4PTL.js → print-Dfqd4DB-.js} +2 -2
  182. package/dist/cli/{remove-kDH1yxKZ.js → remove-CQzSCYTu.js} +5 -5
  183. package/dist/cli/{render-0Vd7BaNA.js → render-DWRz-uPQ.js} +7 -4
  184. package/dist/cli/{run-DxTd55Ug.js → run-DPLedqTF.js} +25 -25
  185. package/dist/cli/{run-Dafms0D2.js → run-j54rk2w-.js} +8 -8
  186. package/dist/cli/{seed-CdSxunFT.js → seed-BMynpMPy.js} +2 -2
  187. package/dist/cli/seed-CO3j_bly.js +1 -0
  188. package/dist/cli/{shared-BQAMXvwd.js → shared-CslNcs-R.js} +1 -1
  189. package/dist/cli/{snapshot-B8K6gYjA.js → snapshot-DdN5GlhH.js} +3 -3
  190. package/dist/cli/{source-CXDyCWz5.js → source-COARbqch.js} +1 -1
  191. package/dist/cli/{source-args-z-jkabmO.js → source-args-CDmmFmFG.js} +1 -1
  192. package/dist/cli/{spec-BGsnTkIl.js → spec-CgLNZc_C.js} +2 -2
  193. package/dist/cli/{spec-CaN7nOqI.js → spec-DIhBQlBF.js} +1 -1
  194. package/dist/cli/{sql-layout-BGAlcp1U.js → sql-layout-8jrP5gIa.js} +2 -2
  195. package/dist/cli/{sync-CT_5VG0E.js → sync-SqyVHRSJ.js} +3 -3
  196. package/dist/cli/{upgrade-frUtPDDb.js → upgrade-CY-vj_qh.js} +4 -4
  197. package/dist/cli/{upgrade-DA7aO88E.js → upgrade-D0aLhluU.js} +2 -2
  198. package/dist/cli/{version-CUdPyV6J.js → version-Bhca9D6q.js} +1 -1
  199. package/dist/client/index.d.ts +5 -5
  200. package/dist/client/native/index.d.ts +4 -4
  201. package/dist/{cloud-event-CzZTJkXv.d.ts → cloud-event-DcJwder2.d.ts} +1 -1
  202. package/dist/{composite-ChzHhSB0.d.ts → composite-CWJvZgni.d.ts} +6 -6
  203. package/dist/config/index.d.ts +4 -4
  204. package/dist/config/index.js +4 -4
  205. package/dist/{config-C9AOcQ9S.js → config-C19McoGo.js} +4 -3
  206. package/dist/{config-CH-D2B-4.js → config-CP-WaboC.js} +6 -5
  207. package/dist/{connectors-Fud4amxp.d.ts → connectors-CHGiffYH.d.ts} +1 -1
  208. package/dist/{context-DEisra3V.d.ts → context-BJoHD20l.d.ts} +60 -14
  209. package/dist/{controller-B6vWdKSa.d.ts → controller-CwGXms17.d.ts} +1 -1
  210. package/dist/{conversion-DBgMck5U.d.ts → conversion-DlfStnln.d.ts} +1 -1
  211. package/dist/create/index.d.ts +3 -3
  212. package/dist/create/index.js +3 -3
  213. package/dist/create/lite/index.d.ts +3 -3
  214. package/dist/create/lite/index.js +2 -2
  215. package/dist/credentials/index.d.ts +3 -3
  216. package/dist/{define-Lf6rI2QN.d.ts → define-BLP6XtoL.d.ts} +1 -1
  217. package/dist/{define-block-DCAiOrNX.d.ts → define-block-DibVN37N.d.ts} +4 -4
  218. package/dist/edge/index.d.ts +8 -8
  219. package/dist/elysia/index.d.ts +1 -1
  220. package/dist/{ended-gUsMZVNg.d.ts → ended-B8RyuUXF.d.ts} +1 -1
  221. package/dist/{entitlements-BPaPd3MD.d.ts → entitlements-CsZcfllV.d.ts} +2 -2
  222. package/dist/eve/index.d.ts +2 -2
  223. package/dist/{event-calendar-DCufbihU.d.ts → event-calendar-DVLs2wUO.d.ts} +1 -1
  224. package/dist/events/index.d.ts +3 -3
  225. package/dist/{events-vcqenSYU.d.ts → events-Cc9DDQWH.d.ts} +2 -0
  226. package/dist/{executor-DNK401lZ.d.ts → executor-C-Ox9eKq.d.ts} +1 -1
  227. package/dist/{executor-aFV7nEBs.d.ts → executor-DNPm13a9.d.ts} +2 -2
  228. package/dist/expo/index.d.ts +3 -3
  229. package/dist/{field-errors-DBgDCITw.d.ts → field-errors-6BVg31Yp.d.ts} +7 -7
  230. package/dist/{framework-DKA3fTHl.d.ts → framework-GlxXiotm.d.ts} +6 -6
  231. package/dist/h3/index.d.ts +1 -1
  232. package/dist/h3/v1/index.d.ts +1 -1
  233. package/dist/hono/index.d.ts +8 -8
  234. package/dist/{index-ClvuSZEz.d.ts → index-BfYDY6eh.d.ts} +3 -3
  235. package/dist/{index-CM2aGNRo.d.ts → index-C0QuN9_P.d.ts} +186 -8
  236. package/dist/{index-CG9rA8H8.d.ts → index-C_qlBJ3k.d.ts} +2 -2
  237. package/dist/{index-3p_oWttZ.d.ts → index-Cagz4Z2k.d.ts} +1 -1
  238. package/dist/{index-ByF22_C6.d.ts → index-CbUCGMqj.d.ts} +3 -3
  239. package/dist/{index-C4sjewrr.d.ts → index-D01wHGSN.d.ts} +11 -11
  240. package/dist/{index-iRkFvJ7J.d.ts → index-D1ckLbUM.d.ts} +1 -1
  241. package/dist/{index-CdMZQCYR.d.ts → index-DOHx3JuB.d.ts} +4 -4
  242. package/dist/index.d.ts +2 -2
  243. package/dist/{instances-CK0jR3Pc.js → instances-qz2MCMyK.js} +111 -11
  244. package/dist/{kit-CVgQCIBO.d.ts → kit-Dxx3MT8m.d.ts} +3 -3
  245. package/dist/list/index.d.ts +1 -1
  246. package/dist/{list-query-XYfUZb0j.d.ts → list-query-XHoYDlRN.d.ts} +1 -1
  247. package/dist/mapper/bin.js +6 -6
  248. package/dist/mcp/index.d.ts +5 -5
  249. package/dist/mcp/sdk/index.d.ts +5 -5
  250. package/dist/nestjs/index.d.ts +2 -2
  251. package/dist/next/client/index.d.ts +1 -1
  252. package/dist/next/index.d.ts +21 -21
  253. package/dist/node/index.d.ts +2 -2
  254. package/dist/{operations-DC3wU3Sy.d.ts → operations-CPhOcuzl.d.ts} +1 -1
  255. package/dist/{options-fMxhtuVR.js → options-BJtdsK7b.js} +4 -1
  256. package/dist/options-BOGo1qCA.js +13 -0
  257. package/dist/options-BSsYXjhC.js +9 -0
  258. package/dist/options-C4LuqmdG.js +15 -0
  259. package/dist/{options-DhdazgTZ.js → options-eTepQ1rZ.js} +4 -1
  260. package/dist/{options-BfFC4iFE.js → options-jsOCvLUz.js} +3 -1
  261. package/dist/orpc/index.d.ts +7 -7
  262. package/dist/otel/index.d.ts +1 -1
  263. package/dist/otel/index.js +4 -4
  264. package/dist/{outbox-HxjZTfF6.d.ts → outbox-DxZgoKwp.d.ts} +2 -2
  265. package/dist/{pool-CrtT4dg-.d.ts → pool-wjbAMqc1.d.ts} +1 -1
  266. package/dist/{ports-BbBJVyS0.d.ts → ports-Bw7uxPd_.d.ts} +1 -1
  267. package/dist/postgres/index.d.ts +1 -1
  268. package/dist/powersync/index.d.ts +3 -3
  269. package/dist/preset/index.d.ts +3 -3
  270. package/dist/preset/index.js +3 -3
  271. package/dist/{preset-CS490mYJ.js → preset-BbSWLoXM.js} +2 -2
  272. package/dist/{project-NmP1NdLi.js → project-TN03XDsA.js} +5 -5
  273. package/dist/{provider-CqwEOLCA.d.ts → provider-ClrIplXa.d.ts} +1 -1
  274. package/dist/{push-token-CPJfPFa2.d.ts → push-token-vykw2JXT.d.ts} +1 -1
  275. package/dist/query/index.d.ts +1 -1
  276. package/dist/react/index.d.ts +7 -7
  277. package/dist/react/native/index.d.ts +1 -1
  278. package/dist/react/server.d.ts +8 -8
  279. package/dist/react/session.d.ts +2 -2
  280. package/dist/react-router/index.d.ts +5 -5
  281. package/dist/realtime/index.d.ts +4 -4
  282. package/dist/realtime/index.js +1 -1
  283. package/dist/{record-form-BbZpwsEi.d.ts → record-form-D2-F4IwS.d.ts} +1 -1
  284. package/dist/records/index.d.ts +7 -7
  285. package/dist/{refresh-DT_ICaK-.d.ts → refresh-CCKB1Wa6.d.ts} +1 -1
  286. package/dist/{refusal-OrlI3g4H.d.ts → refusal-D_tklIEb.d.ts} +2 -2
  287. package/dist/{resolve-CXX6DHv3.d.ts → resolve-Bj1qD7Dy.d.ts} +1 -1
  288. package/dist/{resolved-names-DdlJzoMK.js → resolved-names-Dsf28_Dr.js} +1 -1
  289. package/dist/{resource-execute-CUG6xUuh.d.ts → resource-execute-BSTIfp1D.d.ts} +1 -1
  290. package/dist/{resource-types-DjZ91WKA.d.ts → resource-types-D5WEvYtV.d.ts} +2 -2
  291. package/dist/{resources-6Ncdt9XT.d.ts → resources-CsZ7RhZC.d.ts} +1 -1
  292. package/dist/{respond-oZeJ342J.d.ts → respond-BzRG-0qc.d.ts} +1 -1
  293. package/dist/server/index.d.ts +20 -20
  294. package/dist/{server-types-BH6AjDBN.d.ts → server-types-BlDiY-ya.d.ts} +8 -8
  295. package/dist/{session-Y5SSYO2C.d.ts → session-BGP98Rgj.d.ts} +5 -5
  296. package/dist/{session-status-qQLm7jzh.d.ts → session-status-C4t7kbSn.d.ts} +2 -2
  297. package/dist/{sign-in-BAjR49fq.d.ts → sign-in-CAadgm33.d.ts} +2 -2
  298. package/dist/solid/index.d.ts +9 -9
  299. package/dist/solid-start/index.d.ts +5 -5
  300. package/dist/spec/index.d.ts +1 -1
  301. package/dist/sql/index.d.ts +5 -5
  302. package/dist/sql/index.js +5 -5
  303. package/dist/{sql-BMXEHTvr.js → sql-Dg3W1ENk.js} +5113 -1530
  304. package/dist/sqlite/index.d.ts +1 -1
  305. package/dist/ssr/index.d.ts +5 -5
  306. package/dist/storage/index.js +1 -1
  307. package/dist/{subject-readers-8GySC9Z8.d.ts → subject-readers-DJbzlm8a.d.ts} +1 -1
  308. package/dist/subjects-NomQg6Eg.d.ts +131 -0
  309. package/dist/{support-B4ZBVxt3.d.ts → support-D7CMbhRT.d.ts} +4 -4
  310. package/dist/{support-view-BYOgwXsJ.d.ts → support-view-CIDXF3_H.d.ts} +1 -1
  311. package/dist/svelte/index.d.ts +8 -8
  312. package/dist/sveltekit/index.d.ts +6 -6
  313. package/dist/{tags-Cjtcp5cN.d.ts → tags-Dg4Ywmqp.d.ts} +1 -1
  314. package/dist/tanstack-db/index.d.ts +1 -1
  315. package/dist/tanstack-start/index.d.ts +5 -5
  316. package/dist/{tenant-BHvMFNXl.d.ts → tenant-BRmKZ7aq.d.ts} +2 -2
  317. package/dist/testing/index.d.ts +16 -16
  318. package/dist/testing/index.js +2 -2
  319. package/dist/{timeline-CEzj9v1z.d.ts → timeline-Cjl-1hiA.d.ts} +3 -3
  320. package/dist/{topic-gTVjLGTk.d.ts → topic-CpsKVBot.d.ts} +3 -3
  321. package/dist/{topic-DClSoqY7.js → topic-F0FKzJyQ.js} +1 -1
  322. package/dist/{types-yj8VF4oY.d.ts → types-BdaBfYIw.d.ts} +2 -2
  323. package/dist/{types-BC1HLEVx.d.ts → types-CjRwmCRP.d.ts} +2 -2
  324. package/dist/{types-EO2crSX_.d.ts → types-DR1MHh7N.d.ts} +1 -1
  325. package/dist/{vault-O-YlAyHb.d.ts → vault-BghaujrZ.d.ts} +1 -1
  326. package/dist/vercel-connect/index.d.ts +1 -1
  327. package/dist/{verify-B0KLBb3j.d.ts → verify-CI8LgSpv.d.ts} +1 -1
  328. package/dist/{view-DyFdMCqg.d.ts → view-BvNA7EOC.d.ts} +1 -1
  329. package/dist/vue/index.d.ts +9 -9
  330. package/dist/{watch-topic-C6HhbnVz.d.ts → watch-topic-BaMZX139.d.ts} +1 -1
  331. package/dist/workflow-sdk/builder/index.d.ts +3 -3
  332. package/dist/workflow-sdk/index.d.ts +1 -1
  333. package/dist/workflow-sdk/world/index.d.ts +1 -1
  334. package/dist/workflow-sdk/world/index.js +1 -1
  335. package/dist/{workflow-sdk-B3Ss55Fy.d.ts → workflow-sdk-BNsZrcVg.d.ts} +1 -1
  336. package/dist/{workflow-sdk-DELaQEp3.js → workflow-sdk-CE8sEK57.js} +38 -1
  337. package/dist/yjs/index.d.ts +1 -1
  338. package/dist/yjs/index.js +1 -1
  339. package/package.json +1 -1
  340. package/schemas/config-v1.json +217 -1
  341. package/dist/cli/add-w_HumDPX.js +0 -1
  342. package/dist/cli/powersync-Vmhw5c1N.js +0 -1
  343. package/dist/cli/seed-CXJvTU5D.js +0 -1
  344. package/dist/options-C1-pwEqm.js +0 -5
  345. package/dist/options-CTv-xmbA.js +0 -5
  346. package/dist/options-ChiL-4ZS.js +0 -8
  347. package/dist/subjects-DvmQeF_F.d.ts +0 -79
@@ -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-61VwYKEv.js";
3
+ import { c as writeAtomic, o as storeTypesModule, s as typesModuleKey, t as CACHE_DIR } from "./cache-1TfBy2K4.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-B8K6gYjA.js";
6
- import { n as render } from "./render-0Vd7BaNA.js";
7
- import { _ as unsafeKey, d as accessProviderMode, f as accessRequirements, g as providerLabel, h as moduleKeyProblems, m as entitlementsMode, p as entitlementRequirements, u as compiledReadSets } from "./migrations-Ch5Uuvyj.js";
8
- import { s as schemaStampPath } from "./content-mapper-DGQQY5IA.js";
5
+ import { _ as stabilizeMetadata, b as typegenVersionNotice, p as oxfmtInstalled, t as loadSnapshot, y as typegenVersion } from "./snapshot-DdN5GlhH.js";
6
+ import { n as render } from "./render-DWRz-uPQ.js";
7
+ import { _ as unsafeKey, d as accessProviderMode, f as accessRequirements, g as providerLabel, h as moduleKeyProblems, m as entitlementsMode, p as entitlementRequirements, u as compiledReadSets } from "./migrations-JtsPYv8g.js";
8
+ import { s as schemaStampPath } from "./content-mapper-hUW2nb92.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-BGAlcp1U.js";
11
- import { l as tableObject, n as exposed, o as policyObject, s as qualified, t as catalogOf } from "./shared-BQAMXvwd.js";
12
- import { c as sameModuleMigration, l as writeLatestMigration, n as READ_SETS_SUFFIX, r as latestMigration, u as writesMigrations } from "./module-migration-Dul1uTYX.js";
10
+ import { n as migrationsDir, o as writtenByBlocks } from "./sql-layout-8jrP5gIa.js";
11
+ import { l as tableObject, n as exposed, o as policyObject, s as qualified, t as catalogOf } from "./shared-CslNcs-R.js";
12
+ import { c as sameModuleMigration, l as writeLatestMigration, n as READ_SETS_SUFFIX, r as latestMigration, u as writesMigrations } from "./module-migration-ZIn1NCMi.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";
@@ -1,11 +1,11 @@
1
1
  import { p as commandMeta, r as defineCliCommand } from "./command-BWEEXmtz.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-BH0goim0.js";
4
+ import { l as stdinDatabaseUrl, n as databaseUrl, o as importExport } from "./config-BVfeG3A5.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-z-jkabmO.js";
8
+ import { r as STACK_ARG, t as DB_URL_STDIN_ARG } from "./source-args-CDmmFmFG.js";
9
9
  import { existsSync } from "node:fs";
10
10
  import { resolve } from "node:path";
11
11
  import { readFile } from "node:fs/promises";
@@ -0,0 +1 @@
1
+ export { n as seedCommand } from "./seed-BMynpMPy.js";
@@ -1,4 +1,4 @@
1
- import { a as toCatalog } from "./source-CXDyCWz5.js";
1
+ import { a as toCatalog } from "./source-COARbqch.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,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-61VwYKEv.js";
2
+ import { d as readExtras, l as TYPEGEN_VERSION, r as cachedIntrospect } from "./cache-1TfBy2K4.js";
3
3
  import { t as byCodePoint } from "./compare-BmIWVEui.js";
4
- import { n as managementSource, r as pgSource } from "./source-CXDyCWz5.js";
5
- import { n as databaseUrl, u as accessToken } from "./config-BH0goim0.js";
4
+ import { n as managementSource, r as pgSource } from "./source-COARbqch.js";
5
+ import { n as databaseUrl, u as accessToken } from "./config-BVfeG3A5.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-CUdPyV6J.js";
1
+ import { t as VERSION } from "./version-Bhca9D6q.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-BH0goim0.js";
2
+ import { l as stdinDatabaseUrl } from "./config-BVfeG3A5.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,9 +1,9 @@
1
1
  import { n as __require, t as __commonJSMin } from "./rolldown-runtime-kJ_i4yPo.js";
2
2
  import { p as commandMeta, r as defineCliCommand } from "./command-BWEEXmtz.js";
3
- import { t as VERSION } from "./version-CUdPyV6J.js";
3
+ import { t as VERSION } from "./version-Bhca9D6q.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-61VwYKEv.js";
6
+ import { c as writeAtomic, t as CACHE_DIR } from "./cache-1TfBy2K4.js";
7
7
  import { t as isRecord } from "./guards-CUlDNYZs.js";
8
8
  import { t as importFresh } from "./fresh-import-DzgsGHkX.js";
9
9
  import { a as changedFiles, i as changeLines, r as applyPlan } from "./files-CX71yBm8.js";
@@ -1 +1 @@
1
- export { n as specEmitCommand, i as specValidateCommand } from "./spec-BGsnTkIl.js";
1
+ export { n as specEmitCommand, i as specValidateCommand } from "./spec-CgLNZc_C.js";
@@ -1,5 +1,5 @@
1
- import { d as TypegenMissingError, i as parseSnapshot } from "./snapshot-B8K6gYjA.js";
2
- import { a as toCatalog } from "./source-CXDyCWz5.js";
1
+ import { d as TypegenMissingError, i as parseSnapshot } from "./snapshot-DdN5GlhH.js";
2
+ import { a as toCatalog } from "./source-COARbqch.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,10 +1,10 @@
1
1
  import { n as CliError } from "./errors-BTe6A15O.js";
2
2
  import { t as display } from "./io-DH1kcmmP.js";
3
- import { a as writeExtensionsMigration, c as layoutFor, t as DATA_NEXT } from "./migrations-Ch5Uuvyj.js";
3
+ import { a as writeExtensionsMigration, c as layoutFor, t as DATA_NEXT } from "./migrations-JtsPYv8g.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-BGAlcp1U.js";
7
- import { c as sameModuleMigration, l as writeLatestMigration, r as latestMigration, s as renderModuleMigration, t as MODULES_SUFFIX, u as writesMigrations } from "./module-migration-Dul1uTYX.js";
6
+ import { a as sqlPlan, n as migrationsDir } from "./sql-layout-8jrP5gIa.js";
7
+ import { c as sameModuleMigration, l as writeLatestMigration, r as latestMigration, s as renderModuleMigration, t as MODULES_SUFFIX, u as writesMigrations } from "./module-migration-ZIn1NCMi.js";
8
8
  import { t as loadTopics } from "./topics-BpdnYmWb.js";
9
9
  import { t as orphanedBlockFiles } from "./orphans-BAboqyVM.js";
10
10
  import { dirname, join, resolve } from "node:path";
@@ -1,9 +1,9 @@
1
1
  import { t as display } from "./io-DH1kcmmP.js";
2
- import { c as layoutFor, r as migrationStamp } from "./migrations-Ch5Uuvyj.js";
2
+ import { c as layoutFor, r as migrationStamp } from "./migrations-JtsPYv8g.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-BGAlcp1U.js";
5
- import { a as migrationInstances, c as sameModuleMigration, o as migrationModules, r as latestMigration, s as renderModuleMigration, t as MODULES_SUFFIX, u as writesMigrations } from "./module-migration-Dul1uTYX.js";
6
- import { a as write, o as topicPolicyFile, r as nextStep } from "./sync-CT_5VG0E.js";
4
+ import { a as sqlPlan, n as migrationsDir } from "./sql-layout-8jrP5gIa.js";
5
+ import { a as migrationInstances, c as sameModuleMigration, o as migrationModules, r as latestMigration, s as renderModuleMigration, t as MODULES_SUFFIX, u as writesMigrations } from "./module-migration-ZIn1NCMi.js";
6
+ import { a as write, o as topicPolicyFile, r as nextStep } from "./sync-SqyVHRSJ.js";
7
7
  import { a as legacyPrefixSql, i as legacyPrefixNames, r as legacyBlocksTableSql } from "./legacy-prefix-R7UChFFl.js";
8
8
  import { resolve } from "node:path";
9
9
  import { readFile } from "node:fs/promises";
@@ -1,8 +1,8 @@
1
1
  import { p as commandMeta, r as defineCliCommand } from "./command-BWEEXmtz.js";
2
2
  import { i as plain } from "./style-Bm2X5JrN.js";
3
- import { t as syncModules } from "./sync-CT_5VG0E.js";
3
+ import { t as syncModules } from "./sync-SqyVHRSJ.js";
4
4
  import { t as SQL_ARGS } from "./args-UEwg0l-N.js";
5
- import { t as upgrade } from "./upgrade-frUtPDDb.js";
5
+ import { t as upgrade } from "./upgrade-CY-vj_qh.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.22.0";
2
+ const VERSION = "0.25.0";
3
3
  //#endregion
4
4
  export { VERSION as t };
@@ -1,8 +1,8 @@
1
1
  import { a as DataSync, c as LocalTablesOption, i as DataEntry, l as liveEngine, n as DataEngine, o as DataSyncState, r as DataEngineOptions, s as LiveEngineOptions, t as DataChanges, u as memoryEngine } from "../data-engine-BWoz9lED.js";
2
- import { n as TopicPort, r as TopicWatch, t as TopicHandle } from "../watch-topic-C6HhbnVz.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-BbBJVyS0.js";
4
- import { a as ClientAuth, i as BindClientOptions, n as AuthUser, o as bindClient, r as BetterClient, t as AuthSnapshot } from "../bind-CFsctoFJ.js";
5
- import { a as defineController, i as ControllerState, n as Controller, o as whileSignedIn, r as ControllerParts, t as AuthPort } from "../controller-B6vWdKSa.js";
2
+ import { n as TopicPort, r as TopicWatch, t as TopicHandle } from "../watch-topic-BaMZX139.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-Bw7uxPd_.js";
4
+ import { a as ClientAuth, i as BindClientOptions, n as AuthUser, o as bindClient, r as BetterClient, t as AuthSnapshot } from "../bind-vKDmdu_4.js";
5
+ import { a as defineController, i as ControllerState, n as Controller, o as whileSignedIn, r as ControllerParts, t as AuthPort } from "../controller-CwGXms17.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-CdMZQCYR.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-DOHx3JuB.js";
8
8
  export { type AuthPort, type AuthSnapshot, type AuthUser, type BetterClient, type BindClientOptions, type ClientAuth, ClientOptions, type ClientPorts, type Controller, type ControllerParts, type ControllerState, type DataChanges, type DataEngine, type DataEngineOptions, type DataEntry, type DataSync, type DataSyncState, type DeepLinkPort, type FilePickerPort, type FunctionContract, type FunctionContracts, type FunctionsHost, type InvokeOptions, type KeyboardPort, type LiveEngineOptions, type LocalTablesOption, type PickFilesOptions, type PickedFile, type PushRegistrationLike, type PushTokenPort, type Shortcut, type StoragePort, type TopicHandle, type TopicPort, type TopicWatch, type TypedFunctions, type UploadDestination, type UploadPort, type WebPushTokenOptions, bindClient, createClient, defineController, functions, liveEngine, memoryEngine, memoryStorage, storageUpload, webDeepLinks, webFilePicker, webKeyboard, webPorts, webPushToken, webStorage, whileSignedIn };
@@ -1,9 +1,9 @@
1
1
  import { t as AsyncResult } from "../../result-DZeA5KS6.js";
2
2
  import { T as UploadOptions, w as UploadBody } from "../../bucket-vc-QRrva.js";
3
- import { n as TopicPort, r as TopicWatch, t as TopicHandle } from "../../watch-topic-C6HhbnVz.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-BbBJVyS0.js";
5
- import { a as ClientAuth, i as BindClientOptions, n as AuthUser, o as bindClient, r as BetterClient, t as AuthSnapshot } from "../../bind-CFsctoFJ.js";
6
- import { n as ExpoPushTokenOptions, r as expoPushToken, t as ExpoNotificationsLike } from "../../push-token-CPJfPFa2.js";
3
+ import { n as TopicPort, r as TopicWatch, t as TopicHandle } from "../../watch-topic-BaMZX139.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-Bw7uxPd_.js";
5
+ import { a as ClientAuth, i as BindClientOptions, n as AuthUser, o as bindClient, r as BetterClient, t as AuthSnapshot } from "../../bind-vKDmdu_4.js";
6
+ import { n as ExpoPushTokenOptions, r as expoPushToken, t as ExpoNotificationsLike } from "../../push-token-vykw2JXT.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-vcqenSYU.js";
2
+ import { D as BlockEventPattern, T as BlockEvent, o as EventHub } from "./events-Cc9DDQWH.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,10 +1,10 @@
1
1
  import { O as AnyFunctions, k as AnyModels } from "./types-DFdg_4yN.js";
2
- import { r as AuthState } from "./resolve-CXX6DHv3.js";
3
- import { t as BetterSupabase, y as Db } from "./define-Lf6rI2QN.js";
4
- import { a as ServerContext, b as ReplicaState, c as ServerOptions, n as BetterServer } from "./server-types-BH6AjDBN.js";
5
- import { t as ActiveSupport } from "./support-B4ZBVxt3.js";
6
- import { n as SessionEntryConfig } from "./session-Y5SSYO2C.js";
7
- import { r as GuardOptions } from "./respond-oZeJ342J.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";
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
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-DhoA7dsD.js";
3
- import { $ as blockEntrySource, $n as APP_COLUMN_ACCESS, $r as RpcTypeReference, $t as ResolvedExtensions, A as ValibotGeneratorOptions, Ai as MigrationSafetyConfig, An as ExposePrivilege, Ar as CatalogIndex, At as GeneratedFile, B as jsonSchema, Br as ForeignKeyAction, Bt as GeneratorInputSchema, Cn as TopicTriggerPayloadValueConfig, Cr as CatalogColumn, D as ZodFlavor, Di as GenTask, Dn as VectorSearchConfig, Dr as CatalogFunction, Dt as resolveJsonSchema, Ei as GenConfig, En as VectorDistance, Er as CatalogForeignKey, F as nuqs, Fi as GEN_TASKS, Fr as ExtrasDomain, Ft as GeneratorEntitySchemas, G as tenantClaimPaths, Gr as PostgresColumn, Gt as JsonSchemaSource, H as ClaimPaths, Hr as SnapshotBucket, Ht as GeneratorModel, I as FactoriesGeneratorOptions, Ii as INTEGRATION_INFO, Ir as ExtrasFunction, It as GeneratorField, J as blockEntityRenames, Jn as CONFIG_DEFAULTS, Jr as RpcFunction, Jt as SourceConfig, K as BlockEntity, Kr as PostgresFunction, Kt as JsonTypeConfig, L as factories, Li as INTEGRATION_NAMES, Lr as ExtrasHook, Lt as GeneratorFunction, M as StandardSchemaGeneratorOptions, Mi as PowerSyncGenConfig, Mn as Privilege, Mr as CatalogTable, Mt as GeneratorBlock, N as standardSchema, Ni as SkillsAgent, Nn as ResolvedExpose, Nr as CatalogTrigger, Nt as GeneratorBlockEntity, O as ZodGeneratorOptions, Oi as IntegrationName, On as ColumnPrivilege, Or as CatalogFunctionArg, Ot as ClaimsConfig, P as NuqsGeneratorOptions, Pi as SkillsConfig, Pr as CatalogUnique, Pt as GeneratorColumn, Q as RENAMED_CONFIG_KEYS, Qr as RpcReturnColumn, Qt as ResolvedConfig, R as JsonSchemaGeneratorOptions, Ri as IntegrationInfo, Rr as ExtrasHookFunction, Rt as GeneratorFunctionArg, Sn as TopicTriggerLookupConfig, Sr as CatalogCheck, Ti as EnvFileConfig, Tn as TopicTriggerValueConfig, Tr as CatalogEnum, U as DEFAULT_CLAIMS, Ur as SnapshotExtras, Ut as GeneratorNoun, V as JsonSchemaTarget, Vr as Snapshot, Vt as GeneratorJsonSchema, W as claimPaths, Wr as GeneratorMetadata, Wt as GeneratorTable, X as CONFIG_GROUPS, Xr as RpcFunctionOverload, Xt as DataHooksFramework, Y as blockSubjectTypes, Yr as RpcFunctionArg, Yt as TableConfig, Z as RENAMED_BLOCK_KEYS, Zr as RpcFunctionReturns, Zt as FlatConfig, _n as ResolvedSqlConfig, _r as AppTableEvents, an as BlockInput, ar as AppColumnAccess, at as defineConfig, bn as SqlWorkflow, br as AppTablesConfig, cn as EnvironmentConfig, cr as AppColumnType, ct as BlockTableReference, dn as SqlInput, dr as AppReference, dt as RoleNames, en as ApiConfig, er as APP_COLUMN_FORMATS, et as flattenConfig, fn as ToolingConfig, fr as AppReferenceTarget, ft as TypedReference, gn as RealtimeConfig, gr as AppTableEventKind, hn as BucketConfig, hr as AppTableConfig, in as BetterSupabaseConfig, ir as APP_TABLE_EVENT_KINDS, it as CONFIG_SCHEMA_URL, j as valibot, ji as OpenApiConfig, jn as ExposeRole, jr as CatalogPolicy, jt as Generator, k as zod, ki as KeysConfig, kn as ExposeConfig, kr as CatalogGrant, kt as CodecsConfig, ln as GenGroupConfig, lr as AppLookupConfig, lt as BucketName, mn as EntitlementsConfig, mr as AppRollupConfig, mt as ExpandedConfig, nn as AppTablesInput, nr as APP_ON_DELETE_ACTIONS, nt as groupEntries, on as BlocksInput, or as AppColumnConfig, ot as resolveConfig, pn as EntitlementPlansSource, pr as AppRollupAggregate, q as blockEntities, qr as PostgresFunctionArg, qt as RelationsConfig, rn as AuthConfig, rr as APP_ROLLUP_AGGREGATES, rt as hasFlatTables, sn as DatabaseConfig, sr as AppColumnFormat, st as AppTableNames, tn as AppTableInput, tr as APP_COLUMN_TYPES, tt as groupConfig, un as OrganizationConfig, ur as AppOnDeleteAction, ut as ConfigReferences, vn as SeedConfig, vr as AppTableSubject, wi as DoctorConfig, wn as TopicTriggerTopicConfig, wr as CatalogColumnGrant, xn as TopicTriggerConfig, xr as Catalog, yn as SqlConfig, yr as AppTableVersions, z as buildJsonSchema, zi as SKILLS_AGENTS, zr as ExtrasTable, zt as GeneratorInput } from "../context-DEisra3V.js";
4
- import { n as SubjectsConfig, t as SubjectConfig } from "../subjects-DvmQeF_F.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-BJV2i8xB.js";
3
+ import { $ as blockEntrySource, $n as APP_COLUMN_ACCESS, $r as RpcTypeReference, $t as ResolvedExtensions, A as ValibotGeneratorOptions, Ai as MigrationSafetyConfig, An as ExposePrivilege, Ar as CatalogIndex, At as GeneratedFile, B as jsonSchema, Br as ForeignKeyAction, Bt as GeneratorInputSchema, Cn as TopicTriggerPayloadValueConfig, Cr as CatalogColumn, D as ZodFlavor, Di as GenTask, Dn as VectorSearchConfig, Dr as CatalogFunction, Dt as resolveJsonSchema, Ei as GenConfig, En as VectorDistance, Er as CatalogForeignKey, F as nuqs, Fi as GEN_TASKS, Fr as ExtrasDomain, Ft as GeneratorEntitySchemas, G as tenantClaimPaths, Gr as PostgresColumn, Gt as JsonSchemaSource, H as ClaimPaths, Hr as SnapshotBucket, Ht as GeneratorModel, I as FactoriesGeneratorOptions, Ii as INTEGRATION_INFO, Ir as ExtrasFunction, It as GeneratorField, J as blockEntityRenames, Jn as CONFIG_DEFAULTS, Jr as RpcFunction, Jt as SourceConfig, K as BlockEntity, Kr as PostgresFunction, Kt as JsonTypeConfig, L as factories, Li as INTEGRATION_NAMES, Lr as ExtrasHook, Lt as GeneratorFunction, M as StandardSchemaGeneratorOptions, Mi as PowerSyncGenConfig, Mn as Privilege, Mr as CatalogTable, Mt as GeneratorBlock, N as standardSchema, Ni as SkillsAgent, Nn as ResolvedExpose, Nr as CatalogTrigger, Nt as GeneratorBlockEntity, O as ZodGeneratorOptions, Oi as IntegrationName, On as ColumnPrivilege, Or as CatalogFunctionArg, Ot as ClaimsConfig, P as NuqsGeneratorOptions, Pi as SkillsConfig, Pr as CatalogUnique, Pt as GeneratorColumn, Q as RENAMED_CONFIG_KEYS, Qr as RpcReturnColumn, Qt as ResolvedConfig, R as JsonSchemaGeneratorOptions, Ri as IntegrationInfo, Rr as ExtrasHookFunction, Rt as GeneratorFunctionArg, Sn as TopicTriggerLookupConfig, Sr as CatalogCheck, Ti as EnvFileConfig, Tn as TopicTriggerValueConfig, Tr as CatalogEnum, U as DEFAULT_CLAIMS, Ur as SnapshotExtras, Ut as GeneratorNoun, V as JsonSchemaTarget, Vr as Snapshot, Vt as GeneratorJsonSchema, W as claimPaths, Wr as GeneratorMetadata, Wt as GeneratorTable, X as CONFIG_GROUPS, Xr as RpcFunctionOverload, Xt as DataHooksFramework, Y as blockSubjectTypes, Yr as RpcFunctionArg, Yt as TableConfig, Z as RENAMED_BLOCK_KEYS, Zr as RpcFunctionReturns, Zt as FlatConfig, _n as ResolvedSqlConfig, _r as AppTableEvents, an as BlockInput, ar as AppColumnAccess, at as defineConfig, bn as SqlWorkflow, br as AppTablesConfig, cn as EnvironmentConfig, cr as AppColumnType, ct as BlockTableReference, dn as SqlInput, dr as AppReference, dt as RoleNames, en as ApiConfig, er as APP_COLUMN_FORMATS, et as flattenConfig, fn as ToolingConfig, fr as AppReferenceTarget, ft as TypedReference, gn as RealtimeConfig, gr as AppTableEventKind, hn as BucketConfig, hr as AppTableConfig, in as BetterSupabaseConfig, ir as APP_TABLE_EVENT_KINDS, it as CONFIG_SCHEMA_URL, j as valibot, ji as OpenApiConfig, jn as ExposeRole, jr as CatalogPolicy, jt as Generator, k as zod, ki as KeysConfig, kn as ExposeConfig, kr as CatalogGrant, kt as CodecsConfig, ln as GenGroupConfig, lr as AppLookupConfig, lt as BucketName, mn as EntitlementsConfig, mr as AppRollupConfig, mt as ExpandedConfig, nn as AppTablesInput, nr as APP_ON_DELETE_ACTIONS, nt as groupEntries, on as BlocksInput, or as AppColumnConfig, ot as resolveConfig, pn as EntitlementPlansSource, pr as AppRollupAggregate, q as blockEntities, qr as PostgresFunctionArg, qt as RelationsConfig, rn as AuthConfig, rr as APP_ROLLUP_AGGREGATES, rt as hasFlatTables, sn as DatabaseConfig, sr as AppColumnFormat, st as AppTableNames, tn as AppTableInput, tr as APP_COLUMN_TYPES, tt as groupConfig, un as OrganizationConfig, ur as AppOnDeleteAction, ut as ConfigReferences, vn as SeedConfig, vr as AppTableSubject, wi as DoctorConfig, wn as TopicTriggerTopicConfig, wr as CatalogColumnGrant, xn as TopicTriggerConfig, xr as Catalog, yn as SqlConfig, yr as AppTableVersions, z as buildJsonSchema, zi as SKILLS_AGENTS, zr as ExtrasTable, zt as GeneratorInput } from "../context-BJoHD20l.js";
4
+ import { i as SubjectsConfig, n as SubjectPermission, r as SubjectSearch, t as SubjectConfig } from "../subjects-NomQg6Eg.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 SubjectsConfig, type TableConfig, type ToolingConfig, type TopicTriggerConfig, type TopicTriggerLookupConfig, type TopicTriggerPayloadValueConfig, type TopicTriggerTopicConfig, type TopicTriggerValueConfig, type TypedReference, type ValibotGeneratorOptions, type VectorDistance, type VectorSearchConfig, type ZodFlavor, type ZodGeneratorOptions, blockEntities, blockEntityRenames, blockEntrySource, blockSubjectTypes, buildJsonSchema, claimPaths, defineConfig, factories, flattenConfig, groupConfig, groupEntries, hasFlatTables, jsonSchema, nuqs, providerApiProblem, resolveConfig, resolveJsonSchema, standardSchema, tenantClaimPaths, tenantNameOf, valibot, zod };
6
+ export { APP_COLUMN_ACCESS, APP_COLUMN_FORMATS, APP_COLUMN_TYPES, APP_ON_DELETE_ACTIONS, APP_ROLLUP_AGGREGATES, APP_TABLE_EVENT_KINDS, type AccessBlockConfig, type ActiveTenantSource, type AnyBlocksConfig, type ApiConfig, type AppColumnAccess, type AppColumnConfig, type AppColumnFormat, type AppColumnType, type AppLookupConfig, type AppOnDeleteAction, type AppReference, type AppReferenceTarget, type AppRollupAggregate, type AppRollupConfig, type AppTableConfig, type AppTableEventKind, type AppTableEvents, type AppTableInput, type AppTableNames, type AppTableSubject, type AppTableVersions, type AppTablesConfig, type AppTablesInput, type AuthConfig, type AuthorizationFunctions, type AuthorizationMembership, type AuthorizationOperation, type AuthorizationPermission, type AuthorizationProvider, type AuthorizationRequirement, type AuthorizationRoleSource, type AuthorizationScope, type AuthorizationTokenHook, type BetterSupabaseConfig, type BlockConfig, type BlockEntity, type BlockInput, type BlockMode, type BlockScope, type BlockTableReference, type BlocksConfig, type BlocksInput, type BucketConfig, type BucketName, CONFIG_DEFAULTS, CONFIG_GROUPS, CONFIG_SCHEMA_URL, type Casing, type Catalog, type CatalogCheck, type CatalogColumn, type CatalogColumnGrant, type CatalogEnum, type CatalogForeignKey, type CatalogFunction, type CatalogFunctionArg, type CatalogGrant, type CatalogIndex, type CatalogPolicy, type CatalogTable, type CatalogTrigger, type CatalogUnique, type ClaimPaths, type ClaimsConfig, type CodecsConfig, type ColumnPrivilege, type ConfigReferences, DEFAULT_ACTIVE_TENANT, DEFAULT_CLAIMS, type DataHooksFramework, type DatabaseConfig, type DisabledRow, type DoctorConfig, type EntitiesConfig, type EntitlementPlansSource, type EntitlementsConfig, type EntityConfig, type EnvFileConfig, type EnvironmentConfig, type ExpandedConfig, type ExposeConfig, type ExposePrivilege, type ExposeRole, type ExtrasDomain, type ExtrasFunction, type ExtrasHook, type ExtrasHookFunction, type ExtrasTable, FIELD_FORMATS, type FactoriesGeneratorOptions, type FieldFormat, type FieldFormatInput, type FlatConfig, type ForeignKeyAction, GEN_TASKS, type GenConfig, type GenGroupConfig, type GenTask, type GeneratedFile, type Generator, type GeneratorBlock, type GeneratorBlockEntity, type GeneratorColumn, type GeneratorEntitySchemas, type GeneratorField, type GeneratorFunction, type GeneratorFunctionArg, type GeneratorInput, type GeneratorInputSchema, type GeneratorJsonSchema, type GeneratorMetadata, type GeneratorModel, type GeneratorNoun, type GeneratorTable, INTEGRATION_INFO, INTEGRATION_NAMES, type IntegrationInfo, type IntegrationName, type JsonSchemaGeneratorOptions, type JsonSchemaSource, type JsonSchemaTarget, type JsonTypeConfig, type KeysConfig, type MigrationSafetyConfig, type NuqsGeneratorOptions, type OpenApiConfig, type OrganizationConfig, type OwnTablePolicies, type PostgresColumn, type PostgresFunction, type PostgresFunctionArg, type PowerSyncGenConfig, type Privilege, RENAMED_BLOCK_KEYS, RENAMED_CONFIG_KEYS, type RealtimeConfig, type RelationsConfig, type ResolvedConfig, type ResolvedExpose, type ResolvedExtensions, type ResolvedSqlConfig, type RoleNames, type RpcFunction, type RpcFunctionArg, type RpcFunctionOverload, type RpcFunctionReturns, type RpcReturnColumn, type RpcTypeReference, SKILLS_AGENTS, type SeedConfig, type SkillsAgent, type SkillsConfig, type Snapshot, type SnapshotBucket, type SnapshotExtras, type SourceConfig, type SqlConfig, type SqlInput, type SqlWorkflow, type StandardSchemaGeneratorOptions, type SubjectConfig, type 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 };
@@ -1,8 +1,8 @@
1
- import { n as resolveJsonSchema, r as CONFIG_DEFAULTS } from "../resolved-names-DdlJzoMK.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-C9AOcQ9S.js";
1
+ import { n as resolveJsonSchema, r as CONFIG_DEFAULTS } from "../resolved-names-Dsf28_Dr.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-C19McoGo.js";
3
3
  import { a as tenantClaimPaths, r as claimPaths, t as DEFAULT_CLAIMS } from "../claims-Bp9My7XP.js";
4
- import { A as APP_ROLLUP_AGGREGATES, D as APP_COLUMN_FORMATS, E as APP_COLUMN_ACCESS, L as tenantNameOf, O as APP_COLUMN_TYPES, P as DEFAULT_ACTIVE_TENANT, j as APP_TABLE_EVENT_KINDS, k as APP_ON_DELETE_ACTIONS } from "../instances-CK0jR3Pc.js";
4
+ import { A as APP_ROLLUP_AGGREGATES, D as APP_COLUMN_FORMATS, E as APP_COLUMN_ACCESS, L as tenantNameOf, O as APP_COLUMN_TYPES, P as DEFAULT_ACTIVE_TENANT, j as APP_TABLE_EVENT_KINDS, k as APP_ON_DELETE_ACTIONS } from "../instances-qz2MCMyK.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-CH-D2B-4.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-CP-WaboC.js";
7
7
  import { n as jsonSchema, t as buildJsonSchema } from "../json-schema-DHJxiizN.js";
8
8
  export { APP_COLUMN_ACCESS, APP_COLUMN_FORMATS, APP_COLUMN_TYPES, APP_ON_DELETE_ACTIONS, APP_ROLLUP_AGGREGATES, APP_TABLE_EVENT_KINDS, CONFIG_DEFAULTS, CONFIG_GROUPS, CONFIG_SCHEMA_URL, DEFAULT_ACTIVE_TENANT, DEFAULT_CLAIMS, FIELD_FORMATS, GEN_TASKS, INTEGRATION_INFO, INTEGRATION_NAMES, RENAMED_BLOCK_KEYS, RENAMED_CONFIG_KEYS, SKILLS_AGENTS, blockEntities, blockEntityRenames, blockEntrySource, blockSubjectTypes, buildJsonSchema, claimPaths, defineConfig, factories, flattenConfig, groupConfig, groupEntries, hasFlatTables, jsonSchema, nuqs, providerApiProblem, resolveConfig, resolveJsonSchema, standardSchema, tenantClaimPaths, tenantNameOf, valibot, zod };
@@ -1,5 +1,5 @@
1
1
  import { t as DEFAULT_TENANT } from "./entity-naming-Dtyq5sKE.js";
2
- import { F as asBlocksConfig, M as PRESET_CATALOG } from "./instances-CK0jR3Pc.js";
2
+ import { F as asBlocksConfig, M as PRESET_CATALOG } from "./instances-qz2MCMyK.js";
3
3
  //#region src/config/names.ts
4
4
  /** The steps `better-supabase gen` runs, in the order it runs them. */
5
5
  const GEN_TASKS = [
@@ -1615,12 +1615,13 @@ function conventionConfig(conventions) {
1615
1615
  const tenant = tenantEntry(conventions);
1616
1616
  const blocks = {
1617
1617
  ...Object.keys(access).length === 0 ? {} : { permissions: access },
1618
- ...Object.keys(tenant).length === 0 ? {} : { memberships: tenant }
1618
+ ...Object.keys(tenant).length === 0 ? {} : { memberships: tenant },
1619
+ "rls-guard": {}
1619
1620
  };
1620
1621
  return {
1621
1622
  casing: conventions.casing,
1622
1623
  ...sql === void 0 ? {} : { sql },
1623
- ...Object.keys(blocks).length === 0 ? {} : { blocks }
1624
+ blocks
1624
1625
  };
1625
1626
  }
1626
1627
  /**
@@ -1,8 +1,8 @@
1
- import { r as CONFIG_DEFAULTS, t as resolveNames } from "./resolved-names-DdlJzoMK.js";
2
- import { A as flattenConfig, n as expandFlatPreset, r as expandPreset } from "./config-C9AOcQ9S.js";
1
+ import { r as CONFIG_DEFAULTS, t as resolveNames } from "./resolved-names-Dsf28_Dr.js";
2
+ import { A as flattenConfig, n as expandFlatPreset, r as expandPreset } from "./config-C19McoGo.js";
3
3
  import { t as DEFAULT_CLAIMS } from "./claims-Bp9My7XP.js";
4
4
  import { o as tenantNames } from "./entity-naming-Dtyq5sKE.js";
5
- import { I as resolveBlock, L as tenantNameOf, M as PRESET_CATALOG, _ as appTablesOf, o as resolveInstances, r as blocksByName, v as withAppTableSubjects } from "./instances-CK0jR3Pc.js";
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-qz2MCMyK.js";
6
6
  import { C as variantsFor, S as variantTitle, _ as schemaName, a as extraSchemas, b as tableEntries, c as resultType, d as fieldSpec, f as fieldsFor, g as rowType, h as propertyKey, i as extraKinds, l as HEADER, m as parseImport, o as fieldMetaLines, p as optionalLine, s as objectType, u as fieldDocs, v as siblingPath, x as temporalGuardImport, y as tableDocs } from "./json-schema-DHJxiizN.js";
7
7
  //#region src/config/authorization.ts
8
8
  /**
@@ -86,13 +86,14 @@ function subjectsOf(module, blocks) {
86
86
  if (subject === void 0 || entity.table === void 0 || table === void 0 || mapped === null) return [];
87
87
  const logical = entity.table;
88
88
  const column = (name) => config.columns[logical]?.[name] ?? resolved.naming.rename(table.columns[name] ?? name);
89
+ const titled = (key) => config.columns[logical]?.[key] === null && subject.fallbackTitle !== void 0 ? column(subject.fallbackTitle) : column(key);
89
90
  const name = mapped ?? resolved.naming.rename(table.name);
90
91
  const url = entity.url ?? subject.url;
91
92
  const entry = {
92
93
  table: name.includes(".") ? name : `${config.schema}.${name}`,
93
94
  idType: "uuid",
94
95
  tenant: column("tenant"),
95
- title: column(subject.title),
96
+ title: titled(subject.title),
96
97
  permissions: {
97
98
  read: key(subject.permissions.read),
98
99
  write: key(subject.permissions.write),
@@ -104,7 +105,7 @@ function subjectsOf(module, blocks) {
104
105
  group: column(subject.rank.group)
105
106
  } },
106
107
  ...subject.search === void 0 ? {} : { search: {
107
- title: column(subject.search.title),
108
+ title: titled(subject.search.title),
108
109
  body: subject.search.body.filter((name) => config.columns[logical]?.[name] !== null).map(column)
109
110
  } },
110
111
  ...url === void 0 ? {} : { url: url.replaceAll(PLACEHOLDER, (_, placeholder) => `{${column(placeholder)}}`) },
@@ -3,7 +3,7 @@ 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-CqwEOLCA.js";
6
+ import { i as CredentialRef, r as CredentialProvider } from "./provider-ClrIplXa.js";
7
7
  import { r as BlockTemporalOptions } from "./block-helpers-CRpAHrp_.js";
8
8
  import { t as BlockTransport } from "./block-transport-DWZSJrwN.js";
9
9
  import { n as BlockHooks } from "./block-hooks-DZN2w69m.js";
@@ -1,9 +1,9 @@
1
1
  /// <reference lib="esnext.temporal" />
2
2
  import { M as Casing, P as ClaimsMeta, T as AccessBucketPolicy, _t as BucketLifecycle, j as BucketPolicyName, ot as SchemaMeta } from "./types-DFdg_4yN.js";
3
- import { D as OwnTablePolicies, E as NamedInstance, I as TablesOf, L as BlockNameRegistry, O as ResolvedBlock, T as InstanceOn, _ as BlockName, a as AuthorizationProvider, d as AccessBlockConfig, g as BlockMode, h as BlockConfigOf, m as BlockConfig, n as AuthorizationMembership, p as AnyBlocksConfig, r as AuthorizationOperation, s as AuthorizationRoleSource, t as AuthorizationFunctions, v as BlockScope, w as InstanceKeys, x as DisabledRow, y as BlocksConfig } from "./authorization-DhoA7dsD.js";
4
- import { Mn as EntityNames, Nn as EntityNoun, Pn as EntityRename, R as PortName, Ut as ActionDescriptor, Xt as BlockSchedule, Zt as DefaultAutomation, _ as BlockProvider, g as BlockEnvKey, i as BlockCategory, y as BlockWorker } from "./define-block-DCAiOrNX.js";
3
+ import { D as OwnTablePolicies, E as NamedInstance, I as TablesOf, L as BlockNameRegistry, O as ResolvedBlock, T as InstanceOn, _ as BlockName, a as AuthorizationProvider, d as AccessBlockConfig, g as BlockMode, h as BlockConfigOf, m as BlockConfig, n as AuthorizationMembership, p as AnyBlocksConfig, r as AuthorizationOperation, s as AuthorizationRoleSource, t as AuthorizationFunctions, v as BlockScope, w as InstanceKeys, x as DisabledRow, y as BlocksConfig } from "./authorization-BJV2i8xB.js";
4
+ import { Mn as EntityNames, Nn as EntityNoun, Pn as EntityRename, R as PortName, Ut as ActionDescriptor, Xt as BlockSchedule, Zt as DefaultAutomation, _ as BlockProvider, g as BlockEnvKey, i as BlockCategory, y as BlockWorker } from "./define-block-DibVN37N.js";
5
5
  import { a as ScalarKind, i as FieldSpec } from "./table-schema-BlF6k62Q.js";
6
- import { n as SubjectsConfig } from "./subjects-DvmQeF_F.js";
6
+ import { i as SubjectsConfig } from "./subjects-NomQg6Eg.js";
7
7
  import { i as FIELD_FORMAT_NAMES, s as FieldFormatName } from "./field-formats-CAFNkKSN.js";
8
8
  import { t as GuestAction } from "./guest-actions-1T1DeS5Y.js";
9
9
  //#region src/config/names.d.ts
@@ -2673,6 +2673,7 @@ declare function conventionConfig(conventions: ConfigConventions): Pick<FlatConf
2673
2673
  readonly blocks?: {
2674
2674
  readonly permissions?: AccessBlockConfig;
2675
2675
  readonly memberships?: BlockConfig;
2676
+ readonly "rls-guard": BlockConfig;
2676
2677
  };
2677
2678
  };
2678
2679
  /**
@@ -3739,6 +3740,53 @@ interface BlockSqlScope {
3739
3740
  guestParty(tenant: string, type: string, id: string): string;
3740
3741
  }
3741
3742
  //#endregion
3743
+ //#region src/sql/value-maps.d.ts
3744
+ /** The `BlockSqlContext` methods that cast and map a typed column's values. */
3745
+ interface BlockSqlValueMethods {
3746
+ /**
3747
+ * `value`, a text expression, as the type of a logical column the table spec
3748
+ * lists in `typed`. On a table the app has, the column may be an enum or
3749
+ * another type with a text input, so the value goes through
3750
+ * `better_supabase.as_column_type`; on the module's own table it stays as it
3751
+ * is. With `invalid: "null"`, a value the type rejects, such as a label the
3752
+ * enum lacks, becomes null through `better_supabase.try_column_type` instead
3753
+ * of raising.
3754
+ */
3755
+ cast(table: string, column: string, value: string, invalid?: "raise" | "null"): string;
3756
+ /**
3757
+ * The label `label` of a typed logical column as the SQL literal the app's
3758
+ * column stores, through `blocks.<name>.values`: the first mapped value, or a
3759
+ * call that raises `VALUE_UNSUPPORTED` for a label mapped to `null`. The
3760
+ * label itself without a map.
3761
+ */
3762
+ value(table: string, column: string, label: string): string;
3763
+ /**
3764
+ * Whether the column expression `value` holds one of `labels`, comparing
3765
+ * against every app value each label maps to: `value = 'label'` for one
3766
+ * label, `value in (...)` for several, `false` when none is supported.
3767
+ */
3768
+ is(table: string, column: string, value: string, labels: readonly string[], negate?: boolean): string;
3769
+ /**
3770
+ * The app values a label of a typed logical column reads from: `[label]`
3771
+ * without a map, `[]` for a label mapped to `null`.
3772
+ */
3773
+ appValues(table: string, column: string, label: string): readonly string[];
3774
+ /**
3775
+ * The column expression `value` of a typed logical column as the block's
3776
+ * label (mapped app values read back as their label), as text. `value` itself
3777
+ * without a map.
3778
+ */
3779
+ label(table: string, column: string, value: string): string;
3780
+ /**
3781
+ * ` || jsonb_build_object(...)` that replaces each mapped typed column of
3782
+ * `to_jsonb(alias)` with its label, keyed by the column's name; empty when no
3783
+ * column of `table` maps values.
3784
+ */
3785
+ labelsJson(table: string, alias: string): string;
3786
+ /** Whether `blocks.<name>.values` maps any label of a typed logical column. */
3787
+ mapsValues(table: string, column: string): boolean;
3788
+ }
3789
+ //#endregion
3742
3790
  //#region src/sql/context.d.ts
3743
3791
  /** The scope id types SQL modules render. */
3744
3792
  declare const MODULE_ID_TYPES: readonly ["uuid", "text", "bigint", "integer"];
@@ -3774,6 +3822,13 @@ interface BlockSqlTableSpec {
3774
3822
  * enum: the module writes and compares them through `ctx.cast`.
3775
3823
  */
3776
3824
  readonly typed?: readonly string[];
3825
+ /**
3826
+ * Text columns that take `blocks.<name>.values` like `typed` ones, but are
3827
+ * written through `ctx.cast` only when the app gives them a values entry (an
3828
+ * empty one casts without renaming labels), so a config without one renders
3829
+ * as before.
3830
+ */
3831
+ readonly mappable?: readonly string[];
3777
3832
  readonly yieldsToExtra?: readonly string[];
3778
3833
  }
3779
3834
  interface BlockSqlTableLifecycle {
@@ -3797,6 +3852,7 @@ interface BlockSqlTableLifecycle {
3797
3852
  */
3798
3853
  interface BlockSqlEntitySubject {
3799
3854
  readonly title: string;
3855
+ readonly fallbackTitle?: string;
3800
3856
  readonly deletedAt?: string;
3801
3857
  readonly permissions: {
3802
3858
  readonly read: string;
@@ -3954,7 +4010,7 @@ interface BlockSqlContractFunction {
3954
4010
  readonly returns: string;
3955
4011
  }
3956
4012
  /** What a module's `build` reads: resolved names for one layout. */
3957
- interface BlockSqlContext {
4013
+ interface BlockSqlContext extends BlockSqlValueMethods {
3958
4014
  readonly module: string;
3959
4015
  /**
3960
4016
  * The instance being rendered: the module's name, or the `blocks` key of an
@@ -4032,16 +4088,6 @@ interface BlockSqlContext {
4032
4088
  colName(table: string, column: string): string;
4033
4089
  /** Whether a logical column exists (adopted tables can map it to `null`). */
4034
4090
  has(table: string, column: string): boolean;
4035
- /**
4036
- * `value`, a text expression, as the type of a logical column the table spec
4037
- * lists in `typed`. On a table the app has, the column may be an enum or
4038
- * another type with a text input, so the value goes through
4039
- * `better_supabase.as_column_type`; on the module's own table it stays as it
4040
- * is. With `invalid: "null"`, a value the type rejects, such as a label the
4041
- * enum lacks, becomes null through `better_supabase.try_column_type` instead
4042
- * of raising.
4043
- */
4044
- cast(table: string, column: string, value: string, invalid?: "raise" | "null"): string;
4045
4091
  /** Whether an optional logical table exists (it can be mapped to `null`). */
4046
4092
  hasTable(table: string): boolean;
4047
4093
  /** Whether the module renders its managed SQL (not adopt or custom mode). */
@@ -1,4 +1,4 @@
1
- import { a as ClientAuth } from "./bind-CFsctoFJ.js";
1
+ import { a as ClientAuth } from "./bind-vKDmdu_4.js";
2
2
  //#region src/blocks/controller.d.ts
3
3
  /**
4
4
  * A block's client state, framework-agnostic. `subscribe` and `getSnapshot`
@@ -1,5 +1,5 @@
1
1
  import { f as Result } from "./result-DZeA5KS6.js";
2
- import { Bt as Action, Ht as ActionContext, Vt as ActionCall } from "./define-block-DCAiOrNX.js";
2
+ import { Bt as Action, Ht as ActionContext, Vt as ActionCall } from "./define-block-DibVN37N.js";
3
3
  import { StandardSchemaV1 } from "@standard-schema/spec";
4
4
  //#region src/blocks/automations/conversion.d.ts
5
5
  /** A record a conversion reads from or creates: its subject type and id. */
@@ -1,7 +1,7 @@
1
1
  /// <reference lib="esnext.temporal" />
2
- import { Pn as PresetSpec, Wn as PresetName, ar as AppColumnAccess, cr as AppColumnType, di as Preset, g as BlockSqlAccessProvider, ht as PresetInput, nr as APP_ON_DELETE_ACTIONS, ur as AppOnDeleteAction } from "../context-DEisra3V.js";
3
- import { E as CreateDesign, b as DesignChange } from "../index-3p_oWttZ.js";
4
- import { $ as SchemaTable, A as renameColumn, B as AppEvents, C as editTable, Ct as tableWithComputed, D as isEmptyDesign, Dt as IssueSeverity, E as isAppTable, Et as IssueCode, F as singular, G as subjectTypeError, H as eventsColumnsEdited, I as tidy, J as SchemaData, K as SchemaColumn, L as updateTable, M as setColumn, N as setExtraColumn, O as moveTables, Ot as IssueSource, P as setTableId, Q as SchemaSource, R as userConnection, S as duplicateTable, St as rollupSources, T as identifierError, Tt as Issue, U as subjectColumns, V as AppSubject, W as subjectColumnsEdited, X as SchemaOptions, Y as SchemaForeignKey, Z as SchemaSoftRef, _ as connect, _t as isRollupAggregate, a as AppScope, at as tenantColumnOf, b as deleteExtraColumn, bt as readableColumns, c as ConnectResult, ct as ComputedRow, d as EMPTY_DESIGN, dt as RollupAggregate, et as SchemaTarget, f as NamedDesign, ft as computedColumnRenamed, g as columnError, gt as fittedRollup, h as appTableId, ht as filterColumns, i as AppReference, it as tableStatements, j as renameTable, k as referenceFrom, l as Connection, lt as DraftRollup, m as addTable, mt as computedTableRenamed, n as APP_MODULE, nt as parseSchema, o as AppTable, ot as AppLookup, p as TablePatch, pt as computedRows, q as SchemaComputed, r as AppColumn, rt as schemaRelations, s as AppTableId, st as AppRollup, t as PresetMigrationFile, tt as keyColumnsOf, u as Design, ut as ROLLUP_AGGREGATES, v as defaultError, vt as lookupSources, w as freeTableName, wt as tableWithoutComputed, x as deleteTable, xt as rollupColumns, y as deleteColumn, yt as prunedComputed, z as withDesign } from "../types-BC1HLEVx.js";
2
+ import { Pn as PresetSpec, Wn as PresetName, ar as AppColumnAccess, cr as AppColumnType, di as Preset, g as BlockSqlAccessProvider, ht as PresetInput, nr as APP_ON_DELETE_ACTIONS, ur as AppOnDeleteAction } from "../context-BJoHD20l.js";
3
+ import { E as CreateDesign, b as DesignChange } from "../index-Cagz4Z2k.js";
4
+ import { $ as SchemaTable, A as renameColumn, B as AppEvents, C as editTable, Ct as tableWithComputed, D as isEmptyDesign, Dt as IssueSeverity, E as isAppTable, Et as IssueCode, F as singular, G as subjectTypeError, H as eventsColumnsEdited, I as tidy, J as SchemaData, K as SchemaColumn, L as updateTable, M as setColumn, N as setExtraColumn, O as moveTables, Ot as IssueSource, P as setTableId, Q as SchemaSource, R as userConnection, S as duplicateTable, St as rollupSources, T as identifierError, Tt as Issue, U as subjectColumns, V as AppSubject, W as subjectColumnsEdited, X as SchemaOptions, Y as SchemaForeignKey, Z as SchemaSoftRef, _ as connect, _t as isRollupAggregate, a as AppScope, at as tenantColumnOf, b as deleteExtraColumn, bt as readableColumns, c as ConnectResult, ct as ComputedRow, d as EMPTY_DESIGN, dt as RollupAggregate, et as SchemaTarget, f as NamedDesign, ft as computedColumnRenamed, g as columnError, gt as fittedRollup, h as appTableId, ht as filterColumns, i as AppReference, it as tableStatements, j as renameTable, k as referenceFrom, l as Connection, lt as DraftRollup, m as addTable, mt as computedTableRenamed, n as APP_MODULE, nt as parseSchema, o as AppTable, ot as AppLookup, p as TablePatch, pt as computedRows, q as SchemaComputed, r as AppColumn, rt as schemaRelations, s as AppTableId, st as AppRollup, t as PresetMigrationFile, tt as keyColumnsOf, u as Design, ut as ROLLUP_AGGREGATES, v as defaultError, vt as lookupSources, w as freeTableName, wt as tableWithoutComputed, x as deleteTable, xt as rollupColumns, y as deleteColumn, yt as prunedComputed, z as withDesign } from "../types-CjRwmCRP.js";
5
5
  import { a as SupabaseLint, o as SupabaseOrganization, s as SupabaseProject } from "../management-wtecfrNf.js";
6
6
  //#region src/create/check.d.ts
7
7
  /** What `checkDesign` returns. */
@@ -1,6 +1,6 @@
1
- import { k as APP_ON_DELETE_ACTIONS } from "../instances-CK0jR3Pc.js";
2
- import { m as diffDesigns } from "../preset-CS490mYJ.js";
3
- import { $ as tableWithComputed, A as referenceFrom, B as withDesign, C as duplicateTable, D as isAppTable, E as identifierError, F as setTableId, G as filterColumns, H as computedColumnRenamed, I as singular, J as lookupSources, K as fittedRollup, L as tidy, M as renameTable, N as setColumn, O as isEmptyDesign, P as setExtraColumn, Q as rollupSources, R as updateTable, S as deleteTable, T as freeTableName, U as computedRows, V as ROLLUP_AGGREGATES, W as computedTableRenamed, X as readableColumns, Y as prunedComputed, Z as rollupColumns, _ as columnError, a as parseSchema, at as boundError, b as deleteColumn, c as tenantColumnOf, ct as fitted, d as previewFiles, dt as takesBounds, et as tableWithoutComputed, f as designIssues, ft as withBounds, g as appTableId, h as addTable, i as keyColumnsOf, it as subjectTypeError, j as renameColumn, k as moveTables, l as schemaData, lt as lockedWithoutDefault, m as EMPTY_DESIGN, n as loadProject, nt as subjectColumns, o as schemaRelations, ot as columnLabel, p as APP_MODULE, q as isRollupAggregate, r as checkDesign, rt as subjectColumnsEdited, s as tableStatements, st as encryptable, t as checkProject, tt as eventsColumnsEdited, u as previewAccessProvider, ut as optionError, v as connect, w as editTable, x as deleteExtraColumn, y as defaultError, z as userConnection } from "../project-NmP1NdLi.js";
1
+ import { k as APP_ON_DELETE_ACTIONS } from "../instances-qz2MCMyK.js";
2
+ import { m as diffDesigns } from "../preset-BbSWLoXM.js";
3
+ import { $ as tableWithComputed, A as referenceFrom, B as withDesign, C as duplicateTable, D as isAppTable, E as identifierError, F as setTableId, G as filterColumns, H as computedColumnRenamed, I as singular, J as lookupSources, K as fittedRollup, L as tidy, M as renameTable, N as setColumn, O as isEmptyDesign, P as setExtraColumn, Q as rollupSources, R as updateTable, S as deleteTable, T as freeTableName, U as computedRows, V as ROLLUP_AGGREGATES, W as computedTableRenamed, X as readableColumns, Y as prunedComputed, Z as rollupColumns, _ as columnError, a as parseSchema, at as boundError, b as deleteColumn, c as tenantColumnOf, ct as fitted, d as previewFiles, dt as takesBounds, et as tableWithoutComputed, f as designIssues, ft as withBounds, g as appTableId, h as addTable, i as keyColumnsOf, it as subjectTypeError, j as renameColumn, k as moveTables, l as schemaData, lt as lockedWithoutDefault, m as EMPTY_DESIGN, n as loadProject, nt as subjectColumns, o as schemaRelations, ot as columnLabel, p as APP_MODULE, q as isRollupAggregate, r as checkDesign, rt as subjectColumnsEdited, s as tableStatements, st as encryptable, t as checkProject, tt as eventsColumnsEdited, u as previewAccessProvider, ut as optionError, v as connect, w as editTable, x as deleteExtraColumn, y as defaultError, z as userConnection } from "../project-TN03XDsA.js";
4
4
  //#region src/create/column-kinds.ts
5
5
  /** The groups of the column type picker, in the order it shows them. */
6
6
  const KIND_GROUPS = [
@@ -1,7 +1,7 @@
1
1
  import { ot as SchemaMeta } from "../../types-DFdg_4yN.js";
2
- import { ht as PresetInput } from "../../context-DEisra3V.js";
3
- import { E as CreateDesign } from "../../index-3p_oWttZ.js";
4
- import { Tt as Issue, t as PresetMigrationFile, u as Design } from "../../types-BC1HLEVx.js";
2
+ import { ht as PresetInput } from "../../context-BJoHD20l.js";
3
+ import { E as CreateDesign } from "../../index-Cagz4Z2k.js";
4
+ import { Tt as Issue, t as PresetMigrationFile, u as Design } from "../../types-CjRwmCRP.js";
5
5
  import { c as SpecDiagnostic } from "../../format-u-65igKI.js";
6
6
  //#region src/lite/runtime.d.ts
7
7
  /**
@@ -1,5 +1,5 @@
1
- import { y as appDefaultError } from "../../instances-CK0jR3Pc.js";
2
- import { n as loadProject } from "../../project-NmP1NdLi.js";
1
+ import { y as appDefaultError } from "../../instances-qz2MCMyK.js";
2
+ import { n as loadProject } from "../../project-TN03XDsA.js";
3
3
  import { n as loadLite, t as LITE_INSTALL } from "../../runtime-CoKxZibd.js";
4
4
  import { t as defineApi } from "../../api-3C0AWFeP.js";
5
5
  //#region src/create/lite/apply.ts
@@ -1,8 +1,8 @@
1
1
  import { t as AsyncResult } from "../result-DZeA5KS6.js";
2
- import { Ct as Events, P as CredentialEventData } from "../events-vcqenSYU.js";
3
- import { a as CredentialSubject, c as SetCredentialOptions, d as foreignCredentialRef, f as subjectFor, i as CredentialRef, l as StartAuthorizationOptions, n as CredentialCapabilities, o as CredentialToken, p as tenantCredentialRef, r as CredentialProvider, s as GetTokenOptions, t as CompleteAuthorizationOptions, u as credentialRefInTenant } from "../provider-CqwEOLCA.js";
2
+ import { Ct as Events, P as CredentialEventData } from "../events-Cc9DDQWH.js";
3
+ import { a as CredentialSubject, c as SetCredentialOptions, d as foreignCredentialRef, f as subjectFor, i as CredentialRef, l as StartAuthorizationOptions, n as CredentialCapabilities, o as CredentialToken, p as tenantCredentialRef, r as CredentialProvider, s as GetTokenOptions, t as CompleteAuthorizationOptions, u as credentialRefInTenant } from "../provider-ClrIplXa.js";
4
4
  import { a as dbTransport, o as rpcTransport, s as sqlTransport, t as BlockTransport } from "../block-transport-DWZSJrwN.js";
5
- import { a as vaultCredentials, i as VaultInboundScheme, n as VaultCredentials, r as VaultCredentialsOptions, t as VaultCredentialRef } from "../vault-O-YlAyHb.js";
5
+ import { a as vaultCredentials, i as VaultInboundScheme, n as VaultCredentials, r as VaultCredentialsOptions, t as VaultCredentialRef } from "../vault-BghaujrZ.js";
6
6
  //#region src/credentials/compose.d.ts
7
7
  /**
8
8
  * One provider over several: each call goes to the provider whose `name` is the
@@ -2,7 +2,7 @@
2
2
  import { T as ErrorMapper, b as DbError, p as ThrowMapper, t as AsyncResult } from "./result-DZeA5KS6.js";
3
3
  import { t as StandardSchemaV1 } from "./standard-DBV730sF.js";
4
4
  import { Bt as Executor, Ct as ApplyExtension, Ft as RequestContext, It as WithExtension, K as Insert, O as AnyFunctions, St as AnyPlugin, Tt as ExtensionOf, Z as PrimaryKeyValue, a as CountMode, at as Schema, dt as TableMeta, ht as Update, it as Row, k as AnyModels, m as Operation, mt as UniqueWhere, nt as Relations, ot as SchemaMeta, pt as UniqueKeyName, st as Simplify, tt as RelationTypes, ut as TableKey } from "./types-DFdg_4yN.js";
5
- import { a as EventHandler, c as MutationNotice, d as RpcNotice, o as EventHub, s as EventName } from "./events-vcqenSYU.js";
5
+ import { a as EventHandler, c as MutationNotice, d as RpcNotice, o as EventHub, s as EventName } from "./events-Cc9DDQWH.js";
6
6
  import { n as Logger } from "./logger-DWVYUmwi.js";
7
7
  import { j as StorageApi, n as Bucket, r as BucketClient } from "./bucket-vc-QRrva.js";
8
8
  import { h as FilterQuery } from "./filter-query-BXLs72G9.js";