better-supabase 0.11.0 → 0.12.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 (449) hide show
  1. package/dist/{adapter-B2WRsRIg.js → adapter-CRNH2aX_.js} +362 -253
  2. package/dist/{agents-CbUIrH-w.d.ts → agents-CGP2AQge.d.ts} +1 -1
  3. package/dist/{ai-files-DXbgWA5M.js → ai-files-ChFDkMLN.js} +12 -4
  4. package/dist/ai-sdk/agents/index.d.ts +3 -3
  5. package/dist/ai-sdk/batches/index.d.ts +1 -1
  6. package/dist/ai-sdk/embeddings/index.d.ts +2 -2
  7. package/dist/ai-sdk/files/index.d.ts +1 -1
  8. package/dist/ai-sdk/files/index.js +1 -1
  9. package/dist/ai-sdk/index.d.ts +1 -1
  10. package/dist/ai-sdk/mcp/index.d.ts +3 -3
  11. package/dist/ai-sdk/memory/index.d.ts +2 -2
  12. package/dist/{ai-tasks-BJJChl-D.d.ts → ai-tasks-ZvPnNudQ.d.ts} +1 -1
  13. package/dist/{api-keys-qnM63qjS.d.ts → api-keys-AgDXbcql.d.ts} +1 -1
  14. package/dist/{approvals-CRZtzxNt.d.ts → approvals-CyX709B-.d.ts} +1 -1
  15. package/dist/astro/index.d.ts +6 -6
  16. package/dist/astro/index.js +2 -2
  17. package/dist/{attachments-Bk3tyeUF.js → attachments-CK8D8bIV.js} +8 -2
  18. package/dist/{authorization-hooks-mLi894KH.d.ts → authorization-hooks-WDQMKIsc.d.ts} +1 -1
  19. package/dist/better-result/index.d.ts +2 -2
  20. package/dist/{bind-CTNKpBM6.d.ts → bind-Bfo40o63.d.ts} +3 -3
  21. package/dist/blocks/access-requests/index.d.ts +1 -1
  22. package/dist/blocks/agents/index.d.ts +2 -2
  23. package/dist/blocks/ai-cache/index.d.ts +1 -1
  24. package/dist/blocks/ai-chat/index.d.ts +2 -2
  25. package/dist/blocks/ai-chat/react/index.d.ts +1 -1
  26. package/dist/blocks/ai-chat/solid/index.d.ts +2 -2
  27. package/dist/blocks/ai-chat/svelte/index.d.ts +2 -2
  28. package/dist/blocks/ai-chat/vue/index.d.ts +2 -2
  29. package/dist/blocks/ai-files/index.d.ts +2 -2
  30. package/dist/blocks/ai-files/index.js +1 -1
  31. package/dist/blocks/ai-providers/index.d.ts +2 -2
  32. package/dist/blocks/ai-tasks/index.d.ts +2 -2
  33. package/dist/blocks/announcements/index.d.ts +2 -2
  34. package/dist/blocks/announcements/react/index.d.ts +1 -1
  35. package/dist/blocks/announcements/solid/index.d.ts +2 -2
  36. package/dist/blocks/announcements/svelte/index.d.ts +2 -2
  37. package/dist/blocks/announcements/vue/index.d.ts +2 -2
  38. package/dist/blocks/api-keys/index.d.ts +4 -4
  39. package/dist/blocks/api-keys/react/index.d.ts +1 -1
  40. package/dist/blocks/api-keys/react/server.d.ts +1 -1
  41. package/dist/blocks/api-keys/solid/index.d.ts +2 -2
  42. package/dist/blocks/api-keys/svelte/index.d.ts +2 -2
  43. package/dist/blocks/api-keys/vue/index.d.ts +2 -2
  44. package/dist/blocks/approvals/index.d.ts +2 -2
  45. package/dist/blocks/attachments/index.d.ts +2 -2
  46. package/dist/blocks/attachments/index.js +1 -1
  47. package/dist/blocks/audit/index.d.ts +2 -2
  48. package/dist/blocks/audit/react/index.d.ts +1 -1
  49. package/dist/blocks/audit/react/server.d.ts +1 -1
  50. package/dist/blocks/audit/solid/index.d.ts +2 -2
  51. package/dist/blocks/audit/svelte/index.d.ts +2 -2
  52. package/dist/blocks/audit/vue/index.d.ts +2 -2
  53. package/dist/blocks/billing/index.d.ts +3 -3
  54. package/dist/blocks/billing/react/index.d.ts +1 -1
  55. package/dist/blocks/billing/react/server.d.ts +1 -1
  56. package/dist/blocks/billing/solid/index.d.ts +2 -2
  57. package/dist/blocks/billing/svelte/index.d.ts +2 -2
  58. package/dist/blocks/billing/vue/index.d.ts +2 -2
  59. package/dist/blocks/bookings/index.d.ts +2 -2
  60. package/dist/blocks/bookings/react/index.d.ts +1 -1
  61. package/dist/blocks/bookings/solid/index.d.ts +2 -2
  62. package/dist/blocks/bookings/svelte/index.d.ts +2 -2
  63. package/dist/blocks/bookings/vue/index.d.ts +2 -2
  64. package/dist/blocks/bulk/index.d.ts +1 -1
  65. package/dist/blocks/calendar/index.d.ts +2 -2
  66. package/dist/blocks/calendar/react/index.d.ts +1 -1
  67. package/dist/blocks/calendar/solid/index.d.ts +2 -2
  68. package/dist/blocks/calendar/svelte/index.d.ts +2 -2
  69. package/dist/blocks/calendar/vue/index.d.ts +2 -2
  70. package/dist/blocks/catalog/index.d.ts +1 -1
  71. package/dist/blocks/collections/index.d.ts +1 -1
  72. package/dist/blocks/comments/index.d.ts +2 -2
  73. package/dist/blocks/comments/react/index.d.ts +1 -1
  74. package/dist/blocks/comments/react/server.d.ts +1 -1
  75. package/dist/blocks/comments/solid/index.d.ts +2 -2
  76. package/dist/blocks/comments/svelte/index.d.ts +2 -2
  77. package/dist/blocks/comments/vue/index.d.ts +2 -2
  78. package/dist/blocks/connectors/index.d.ts +2 -2
  79. package/dist/blocks/custom-fields/index.d.ts +1 -1
  80. package/dist/blocks/data-lifecycle/index.d.ts +2 -2
  81. package/dist/blocks/deals/index.d.ts +1 -1
  82. package/dist/blocks/documents/index.d.ts +1 -1
  83. package/dist/blocks/domains/index.d.ts +1 -1
  84. package/dist/blocks/drive/index.d.ts +2 -3
  85. package/dist/blocks/drive/index.js +14 -5
  86. package/dist/blocks/employees/index.d.ts +1 -1
  87. package/dist/blocks/engagements/index.d.ts +1 -1
  88. package/dist/blocks/entitlements/index.d.ts +3 -3
  89. package/dist/blocks/entitlements/react/index.d.ts +2 -2
  90. package/dist/blocks/entitlements/solid/index.d.ts +2 -2
  91. package/dist/blocks/entitlements/svelte/index.d.ts +2 -2
  92. package/dist/blocks/entitlements/vue/index.d.ts +2 -2
  93. package/dist/blocks/flags/index.d.ts +1 -1
  94. package/dist/blocks/forms/index.d.ts +2 -2
  95. package/dist/blocks/forms/react/index.d.ts +1 -1
  96. package/dist/blocks/forms/solid/index.d.ts +2 -2
  97. package/dist/blocks/forms/svelte/index.d.ts +2 -2
  98. package/dist/blocks/forms/vue/index.d.ts +2 -2
  99. package/dist/blocks/hiring/index.d.ts +1 -1
  100. package/dist/blocks/identities/index.d.ts +2 -2
  101. package/dist/blocks/imports/index.d.ts +1 -1
  102. package/dist/blocks/inbox/index.d.ts +2 -2
  103. package/dist/blocks/inbox/react/index.d.ts +2 -2
  104. package/dist/blocks/inbox/react/server.d.ts +2 -2
  105. package/dist/blocks/inbox/solid/index.d.ts +2 -2
  106. package/dist/blocks/inbox/svelte/index.d.ts +2 -2
  107. package/dist/blocks/inbox/vue/index.d.ts +2 -2
  108. package/dist/blocks/index.d.ts +2 -2
  109. package/dist/blocks/inventory/index.d.ts +1 -1
  110. package/dist/blocks/invoices/index.d.ts +1 -1
  111. package/dist/blocks/jobs/index.d.ts +1 -1
  112. package/dist/blocks/knowledge/index.d.ts +2 -2
  113. package/dist/blocks/leave/index.d.ts +1 -1
  114. package/dist/blocks/memory/index.d.ts +3 -3
  115. package/dist/blocks/metrics/index.d.ts +1 -1
  116. package/dist/blocks/mfa/index.d.ts +2 -2
  117. package/dist/blocks/mfa/react/index.d.ts +1 -1
  118. package/dist/blocks/mfa/react/server.d.ts +1 -1
  119. package/dist/blocks/mfa/solid/index.d.ts +2 -2
  120. package/dist/blocks/mfa/svelte/index.d.ts +2 -2
  121. package/dist/blocks/mfa/vue/index.d.ts +2 -2
  122. package/dist/blocks/notifications/index.d.ts +3 -3
  123. package/dist/blocks/notifications/react/index.d.ts +1 -1
  124. package/dist/blocks/notifications/react/server.d.ts +1 -1
  125. package/dist/blocks/notifications/solid/index.d.ts +2 -2
  126. package/dist/blocks/notifications/svelte/index.d.ts +2 -2
  127. package/dist/blocks/notifications/vue/index.d.ts +2 -2
  128. package/dist/blocks/number-sequences/index.d.ts +1 -1
  129. package/dist/blocks/oauth-server/index.d.ts +1 -1
  130. package/dist/blocks/onboarding/index.d.ts +2 -2
  131. package/dist/blocks/onboarding/react/index.d.ts +1 -1
  132. package/dist/blocks/onboarding/react/server.d.ts +1 -1
  133. package/dist/blocks/onboarding/solid/index.d.ts +2 -2
  134. package/dist/blocks/onboarding/svelte/index.d.ts +2 -2
  135. package/dist/blocks/onboarding/vue/index.d.ts +2 -2
  136. package/dist/blocks/orders/index.d.ts +1 -1
  137. package/dist/blocks/organizations/index.d.ts +2 -2
  138. package/dist/blocks/organizations/react/index.d.ts +1 -1
  139. package/dist/blocks/organizations/react/server.d.ts +1 -1
  140. package/dist/blocks/organizations/solid/index.d.ts +2 -2
  141. package/dist/blocks/organizations/svelte/index.d.ts +2 -2
  142. package/dist/blocks/organizations/vue/index.d.ts +2 -2
  143. package/dist/blocks/outbox/index.d.ts +2 -2
  144. package/dist/blocks/parties/index.d.ts +1 -1
  145. package/dist/blocks/pipelines/index.d.ts +1 -1
  146. package/dist/blocks/profiles/index.d.ts +1 -1
  147. package/dist/blocks/promotions/index.d.ts +1 -1
  148. package/dist/blocks/push/index.d.ts +2 -2
  149. package/dist/blocks/quotes/index.d.ts +1 -1
  150. package/dist/blocks/rank/index.d.ts +1 -1
  151. package/dist/blocks/reactions/index.d.ts +2 -2
  152. package/dist/blocks/reactions/react/index.d.ts +1 -1
  153. package/dist/blocks/reactions/solid/index.d.ts +2 -2
  154. package/dist/blocks/reactions/svelte/index.d.ts +2 -2
  155. package/dist/blocks/reactions/vue/index.d.ts +2 -2
  156. package/dist/blocks/relations/index.d.ts +1 -1
  157. package/dist/blocks/reminders/index.d.ts +3 -3
  158. package/dist/blocks/reviews/index.d.ts +1 -1
  159. package/dist/blocks/rules/index.d.ts +4 -4
  160. package/dist/blocks/rules/react/index.d.ts +1 -1
  161. package/dist/blocks/rules/solid/index.d.ts +2 -2
  162. package/dist/blocks/rules/svelte/index.d.ts +2 -2
  163. package/dist/blocks/rules/vue/index.d.ts +2 -2
  164. package/dist/blocks/saved-views/index.d.ts +2 -2
  165. package/dist/blocks/saved-views/react/index.d.ts +1 -1
  166. package/dist/blocks/saved-views/react/server.d.ts +1 -1
  167. package/dist/blocks/saved-views/solid/index.d.ts +2 -2
  168. package/dist/blocks/saved-views/svelte/index.d.ts +2 -2
  169. package/dist/blocks/saved-views/vue/index.d.ts +2 -2
  170. package/dist/blocks/search/index.d.ts +2 -2
  171. package/dist/blocks/search/react/index.d.ts +1 -1
  172. package/dist/blocks/search/react/server.d.ts +1 -1
  173. package/dist/blocks/search/solid/index.d.ts +2 -2
  174. package/dist/blocks/search/svelte/index.d.ts +2 -2
  175. package/dist/blocks/search/vue/index.d.ts +2 -2
  176. package/dist/blocks/service-principals/index.d.ts +1 -1
  177. package/dist/blocks/sessions/index.d.ts +2 -2
  178. package/dist/blocks/sessions/react/index.d.ts +1 -1
  179. package/dist/blocks/sessions/react/server.d.ts +1 -1
  180. package/dist/blocks/sessions/solid/index.d.ts +2 -2
  181. package/dist/blocks/sessions/svelte/index.d.ts +2 -2
  182. package/dist/blocks/sessions/vue/index.d.ts +2 -2
  183. package/dist/blocks/settings/index.d.ts +2 -2
  184. package/dist/blocks/settings/react/index.d.ts +1 -1
  185. package/dist/blocks/settings/react/server.d.ts +1 -1
  186. package/dist/blocks/settings/solid/index.d.ts +2 -2
  187. package/dist/blocks/settings/svelte/index.d.ts +2 -2
  188. package/dist/blocks/settings/vue/index.d.ts +2 -2
  189. package/dist/blocks/share-links/index.d.ts +1 -1
  190. package/dist/blocks/shared-signals/index.d.ts +2 -2
  191. package/dist/blocks/signing-keys/index.d.ts +1 -1
  192. package/dist/blocks/sla/index.d.ts +1 -1
  193. package/dist/blocks/sso/index.d.ts +2 -2
  194. package/dist/blocks/state-machine/index.d.ts +1 -1
  195. package/dist/blocks/tags/index.d.ts +2 -2
  196. package/dist/blocks/tags/react/index.d.ts +1 -1
  197. package/dist/blocks/tags/react/server.d.ts +1 -1
  198. package/dist/blocks/tags/solid/index.d.ts +2 -2
  199. package/dist/blocks/tags/svelte/index.d.ts +2 -2
  200. package/dist/blocks/tags/vue/index.d.ts +2 -2
  201. package/dist/blocks/targets/index.d.ts +1 -1
  202. package/dist/blocks/teams/index.d.ts +1 -1
  203. package/dist/blocks/templates/index.d.ts +3 -3
  204. package/dist/blocks/time-tracking/index.d.ts +1 -1
  205. package/dist/blocks/trash/index.d.ts +1 -1
  206. package/dist/blocks/undo/index.d.ts +2 -2
  207. package/dist/blocks/undo/react/index.d.ts +1 -1
  208. package/dist/blocks/undo/react/server.d.ts +1 -1
  209. package/dist/blocks/undo/solid/index.d.ts +2 -2
  210. package/dist/blocks/undo/svelte/index.d.ts +2 -2
  211. package/dist/blocks/undo/vue/index.d.ts +2 -2
  212. package/dist/blocks/usage/index.d.ts +2 -2
  213. package/dist/blocks/usage/react/index.d.ts +1 -1
  214. package/dist/blocks/usage/react/server.d.ts +1 -1
  215. package/dist/blocks/usage/solid/index.d.ts +2 -2
  216. package/dist/blocks/usage/svelte/index.d.ts +2 -2
  217. package/dist/blocks/usage/vue/index.d.ts +2 -2
  218. package/dist/blocks/vercel-marketplace/index.d.ts +1 -1
  219. package/dist/blocks/versions/index.d.ts +1 -1
  220. package/dist/blocks/waitlist/index.d.ts +1 -1
  221. package/dist/blocks/webhooks/index.d.ts +4 -4
  222. package/dist/blocks/work-items/index.d.ts +1 -1
  223. package/dist/blocks/workflow-builder/index.d.ts +4 -4
  224. package/dist/blocks/workflow-builder/react/index.d.ts +2 -2
  225. package/dist/blocks/workflow-builder/solid/index.d.ts +2 -2
  226. package/dist/blocks/workflow-builder/svelte/index.d.ts +2 -2
  227. package/dist/blocks/workflow-builder/vue/index.d.ts +2 -2
  228. package/dist/blocks/workflows/index.d.ts +2 -2
  229. package/dist/blocks/workflows/react/index.d.ts +1 -1
  230. package/dist/blocks/workflows/solid/index.d.ts +2 -2
  231. package/dist/blocks/workflows/svelte/index.d.ts +2 -2
  232. package/dist/blocks/workflows/vue/index.d.ts +2 -2
  233. package/dist/{bucket-BBSNDFNH.d.ts → bucket-BbePDVwc.d.ts} +16 -0
  234. package/dist/chat-sdk/index.d.ts +2 -2
  235. package/dist/chat-sdk/react/index.d.ts +2 -2
  236. package/dist/chat-sdk/react/server.d.ts +2 -2
  237. package/dist/cli/add-DnAyR9w_.js +1 -0
  238. package/dist/cli/{add-B5V6uokQ.js → add-TT72pQk6.js} +3 -3
  239. package/dist/cli/adopt-BuS-DC7_.js +1 -0
  240. package/dist/cli/{adopt-Ht34C3QD.js → adopt-mbB1bcIG.js} +4 -4
  241. package/dist/cli/{apply-4BmTvj2A.js → apply-CiBFOFGw.js} +15 -21
  242. package/dist/cli/bin.js +1 -1
  243. package/dist/cli/{blocks-jIvPqPtw.js → blocks-5-JGzwXX.js} +1 -1
  244. package/dist/cli/{blocks-bBI050w6.js → blocks-DeLQOlUK.js} +1 -1
  245. package/dist/cli/{cache-CVJmPGpd.js → cache-DQwgb3rg.js} +1 -1
  246. package/dist/cli/{codemod-vsknM1Ue.js → codemod-BzAMX4el.js} +2 -2
  247. package/dist/cli/{command-DLCZeHdo.js → command-dfdVhU_2.js} +16 -1
  248. package/dist/cli/{completion-CEZ-c3ja.js → completion-4lLjtI49.js} +1 -1
  249. package/dist/cli/{completion-D2BObVth.js → completion-D4InNrxw.js} +2 -2
  250. package/dist/cli/{completion-BAm8SwGQ.js → completion-zsp5s0zI.js} +2 -2
  251. package/dist/cli/{config-CynctXbc.js → config-CCyweX7Y.js} +1 -1
  252. package/dist/cli/{config-CC5DXgKX.js → config-DI6ielsx.js} +1 -1
  253. package/dist/cli/{config-C4e_RrmL.js → config-yZ55rsKZ.js} +1 -1
  254. package/dist/cli/{db-BxMRcHrY.js → db-TRymMyAW.js} +3 -3
  255. package/dist/cli/{design-edit-B-WsnhUF.js → design-edit-0U9iCTiS.js} +29 -2
  256. package/dist/cli/{doctor-D47sFjh9.js → doctor-DOfy6kjt.js} +119 -70
  257. package/dist/cli/env-Cmu99uKR.js +1 -0
  258. package/dist/cli/{env--JFvv45k.js → env-Dh5K5t2U.js} +32 -31
  259. package/dist/cli/{gen-D2E8osBE.js → gen-D3sC5jDn.js} +11 -11
  260. package/dist/cli/index.d.ts +1 -1
  261. package/dist/cli/index.js +6 -6
  262. package/dist/cli/{init-Cx7DDAdQ.js → init-DNomoycJ.js} +12 -18
  263. package/dist/cli/{introspect-Ck7aa6v0.js → introspect-kYX06Q2g.js} +3 -3
  264. package/dist/cli/{keys-6ufnWeZl.js → keys-B8dIJwwi.js} +1 -1
  265. package/dist/cli/{live-CLxJNC0r.js → live-CkV3d3yp.js} +1 -1
  266. package/dist/cli/{mcp-BVWvEoKo.js → mcp-DrxB2Wuw.js} +3 -3
  267. package/dist/cli/{metadata-BRywyPvv.js → metadata-BGkle6WM.js} +1 -1
  268. package/dist/cli/{moved-BmtFuMK3.js → moved-BMQu1YNY.js} +1 -1
  269. package/dist/cli/{parse-ksnw4phM.js → parse-QzDvMpXH.js} +1 -1
  270. package/dist/cli/{preset-B1o6KbFp.js → preset-CfIs24cc.js} +1 -1
  271. package/dist/cli/run-Bck-p0MI.js +63 -0
  272. package/dist/cli/{run-Bb8Nn8Ax.js → run-BhJKAanr.js} +2 -2
  273. package/dist/cli/{run-nX5ffQM_.js → run-DRZ10srj.js} +51 -43
  274. package/dist/cli/{scaffold-DcXr4z7M.js → scaffold-DoURlDEI.js} +1 -1
  275. package/dist/cli/{scaffold-fO-FJGoO.js → scaffold-mzy3OsN5.js} +1 -1
  276. package/dist/cli/seed-C5q4UUIL.js +1 -0
  277. package/dist/cli/{seed-BmOC6_iz.js → seed-CIdg6s7m.js} +3 -3
  278. package/dist/cli/{skills-CUx7S0bk.js → skills-D3zwIlGA.js} +1 -1
  279. package/dist/cli/{snapshot-ClgWGd-b.js → snapshot-BBKFojqM.js} +3 -3
  280. package/dist/cli/{source-args-BDiUhsH8.js → source-args-Cwo7zwvq.js} +1 -1
  281. package/dist/cli/{spec-DjHpWZJM.js → spec-DOgQUZwM.js} +1 -1
  282. package/dist/cli/{spec-CM7iyRnE.js → spec-DZeIP9ta.js} +3 -3
  283. package/dist/cli/{sql-C4ymac2h.js → sql-CL_Lbhwl.js} +1 -1
  284. package/dist/cli/{sql-ybcjbz20.js → sql-DLOvvnBV.js} +1 -1
  285. package/dist/cli/stack-env-_uWWNHWq.js +87 -0
  286. package/dist/cli/{stack-status-Cb_D79ZR.js → stack-status-_NUgd-g5.js} +41 -1
  287. package/dist/cli/{version-CUKjFbNd.js → version-B7akdvDv.js} +1 -1
  288. package/dist/client/index.d.ts +5 -5
  289. package/dist/client/native/index.d.ts +5 -5
  290. package/dist/{client-GdJH4XJM.d.ts → client-BAOZuBhz.d.ts} +1 -1
  291. package/dist/{client-B9_8yzct.d.ts → client-BJN0IMEp.d.ts} +2 -2
  292. package/dist/{client-QvuCfO4b.d.ts → client-BMcjLG0V.d.ts} +5 -5
  293. package/dist/{client-CeH7vd-g.d.ts → client-BN_fXOs7.d.ts} +1 -1
  294. package/dist/{client-CCGSn7m5.d.ts → client-BONsuFYf.d.ts} +4 -4
  295. package/dist/{client-CBQ2TV0r.d.ts → client-BPn9XhAM.d.ts} +1 -1
  296. package/dist/{client-ehjQ2tIT.d.ts → client-BtC-r4hE.d.ts} +3 -3
  297. package/dist/{client-DarDYaQj.d.ts → client-BuneNd-C.d.ts} +1 -1
  298. package/dist/{client-B_vHBwB6.d.ts → client-CHwNV8Kz.d.ts} +3 -3
  299. package/dist/{client-DbxvLC9Y.d.ts → client-CLQHsa-2.d.ts} +1 -1
  300. package/dist/{client-9ZOirdtr.d.ts → client-CMxxwT3N.d.ts} +3 -3
  301. package/dist/{client-B4a7f5ma.d.ts → client-CU7aNN_B.d.ts} +2 -2
  302. package/dist/{client-cWUWrgis.d.ts → client-CYEdJKjk.d.ts} +1 -1
  303. package/dist/{client-CNh-pjkT.d.ts → client-CYhSGlCN.d.ts} +3 -3
  304. package/dist/{client-5YAtJjyT.d.ts → client-D3gRTNSi.d.ts} +1 -1
  305. package/dist/{client-BqoYuTK3.d.ts → client-DB34f_7i.d.ts} +2 -2
  306. package/dist/{client-eCtwzCbQ.d.ts → client-DCawyopp.d.ts} +3 -3
  307. package/dist/{client-Bovn6-M9.d.ts → client-Dqa4XyJ5.d.ts} +1 -1
  308. package/dist/{client-CXTDJCIs.d.ts → client-Dr5h2r9r.d.ts} +1 -1
  309. package/dist/{client-CrZKZVbb.d.ts → client-DrTqKgvy.d.ts} +1 -1
  310. package/dist/{client-BNy-K6XT.d.ts → client-GCCRI9ge.d.ts} +1 -1
  311. package/dist/{client-DLz68Qga.d.ts → client-P6v3h7vh.d.ts} +1 -1
  312. package/dist/{client-CJT3xiuI.d.ts → client-P8l8ncxV.d.ts} +3 -3
  313. package/dist/{client-BXv09wO1.d.ts → client-kWg4OqIr.d.ts} +2 -2
  314. package/dist/{client-C3rmP3b0.d.ts → client-tvG258_1.d.ts} +4 -4
  315. package/dist/{client-Dft5Vq6m.d.ts → client-wKmX-f3r.d.ts} +1 -1
  316. package/dist/{composite-BFatHqOU.js → composite-1kPAxXto.js} +1 -1
  317. package/dist/{composite-B1Mmo4TU.d.ts → composite-DzvBL5nb.d.ts} +5 -5
  318. package/dist/{connectors-CR9FJGzV.d.ts → connectors-BwPNt-ZG.d.ts} +1 -1
  319. package/dist/{controller-BBXX1RMw.d.ts → controller-BZhiIb-N.d.ts} +1 -1
  320. package/dist/create/index.d.ts +24 -2
  321. package/dist/create/index.js +1001 -914
  322. package/dist/credentials/index.d.ts +2 -2
  323. package/dist/{define-M_r1d2AT.d.ts → define-DYZnvAbs.d.ts} +1 -1
  324. package/dist/{define-block-CPyJ95rq.d.ts → define-block-BHxLHLys.d.ts} +2 -2
  325. package/dist/edge/index.d.ts +8 -8
  326. package/dist/edge/index.js +3 -3
  327. package/dist/elysia/index.d.ts +1 -1
  328. package/dist/{embeddings-lTUwzvW4.d.ts → embeddings-CKhygw4C.d.ts} +1 -1
  329. package/dist/{ended-DQmwYosO.d.ts → ended-De6H52nX.d.ts} +1 -1
  330. package/dist/{entitlements-DgkeStXd.d.ts → entitlements-CtBGXb3B.d.ts} +2 -2
  331. package/dist/eve/index.d.ts +3 -3
  332. package/dist/eve/index.js +1 -1
  333. package/dist/{eve-C_Onyk_j.d.ts → eve-B6ru2Bt4.d.ts} +2 -2
  334. package/dist/{executor-DfdC00xr.d.ts → executor-BWgJNbGh.d.ts} +1 -1
  335. package/dist/expo/index.d.ts +3 -3
  336. package/dist/expo/index.js +3 -3
  337. package/dist/expo-sqlite/index.d.ts +1 -1
  338. package/dist/{field-errors-DmJICh93.d.ts → field-errors-Z-sgsdoN.d.ts} +6 -6
  339. package/dist/{framework-D6IFkuAg.d.ts → framework-BQhTsLX-.d.ts} +5 -5
  340. package/dist/{framework-Ch8bMmQY.js → framework-C6PKBgme.js} +1 -1
  341. package/dist/h3/index.d.ts +1 -1
  342. package/dist/h3/v1/index.d.ts +1 -1
  343. package/dist/hono/index.d.ts +8 -8
  344. package/dist/hono/index.js +2 -2
  345. package/dist/{index-DgobXyil.d.ts → index-1Vsg-7YV.d.ts} +1 -1
  346. package/dist/{index-D8yhOz_4.d.ts → index-BJLPQr2s.d.ts} +36 -3
  347. package/dist/{index-CK0Sxx57.d.ts → index-C-_fs7EI.d.ts} +7 -7
  348. package/dist/{index-F6XTTkC9.d.ts → index-CXFf-c-j.d.ts} +4 -4
  349. package/dist/{index-CEcDqDhc.d.ts → index-Cm2-g_4H.d.ts} +1 -1
  350. package/dist/{index-qCG78-Rf.d.ts → index-DTQSeHx2.d.ts} +2 -2
  351. package/dist/{index-DHReeV74.d.ts → index-Hc4tetmB.d.ts} +1 -1
  352. package/dist/{index-Bq409YZn.d.ts → index-QWTq2o31.d.ts} +1 -1
  353. package/dist/{index-Csi8jD-m.d.ts → index-XcTBR4Gb.d.ts} +1 -1
  354. package/dist/index.d.ts +2 -2
  355. package/dist/{kit-BeZX2pR_.d.ts → kit-De-EVRhw.d.ts} +3 -3
  356. package/dist/{knowledge-CRk1jOAJ.d.ts → knowledge-B5zdpDD-.d.ts} +1 -1
  357. package/dist/list/index.d.ts +1 -1
  358. package/dist/{list-query-FhFXzObg.d.ts → list-query-aXr2WkGA.d.ts} +1 -1
  359. package/dist/mcp/index.d.ts +4 -4
  360. package/dist/mcp/index.js +1 -1
  361. package/dist/mcp/sdk/index.d.ts +5 -5
  362. package/dist/mcp/sdk/index.js +1 -1
  363. package/dist/nestjs/index.d.ts +2 -2
  364. package/dist/next/index.d.ts +15 -15
  365. package/dist/next/index.js +2 -2
  366. package/dist/node/index.d.ts +2 -2
  367. package/dist/orpc/index.d.ts +5 -5
  368. package/dist/orpc/index.js +1 -1
  369. package/dist/otel/index.js +5 -5
  370. package/dist/{outbox-njgoVzFA.d.ts → outbox-B1hZ7PPY.d.ts} +1 -1
  371. package/dist/{ports-DCAcG26M.d.ts → ports-BCDIbC_U.d.ts} +1 -1
  372. package/dist/{ports-DGe1vzF2.d.ts → ports-P0A5wo_-.d.ts} +2 -2
  373. package/dist/powersync/index.d.ts +2 -2
  374. package/dist/preset/index.d.ts +2 -2
  375. package/dist/preset/index.js +2 -2
  376. package/dist/{preset-Cqwlwx6G.js → preset-Cf0T9GRt.js} +49 -6
  377. package/dist/{provider-CNs0Jx0I.d.ts → provider-DXgx5oSA.d.ts} +1 -1
  378. package/dist/{push-token-D2sDxSNN.d.ts → push-token-y1Gnz5bQ.d.ts} +1 -1
  379. package/dist/query/index.d.ts +1 -1
  380. package/dist/react/index.d.ts +7 -7
  381. package/dist/react/native/index.d.ts +1 -1
  382. package/dist/react/server.d.ts +8 -8
  383. package/dist/react/session.d.ts +2 -2
  384. package/dist/react-router/index.d.ts +5 -5
  385. package/dist/react-router/index.js +2 -2
  386. package/dist/realtime/index.d.ts +5 -5
  387. package/dist/{refusal-CufncwaN.d.ts → refusal-C7geIBRl.d.ts} +1 -1
  388. package/dist/{resolve-f8QNuYI3.js → resolve-AtncaPTU.js} +12 -5
  389. package/dist/{resolve-Bqb8TMTt.d.ts → resolve-Ceft-18-.d.ts} +6 -2
  390. package/dist/{resource-execute-ruP2L1op.d.ts → resource-execute-Bxvgmx-n.d.ts} +1 -1
  391. package/dist/{resource-types-CGr0BbL-.d.ts → resource-types-LW1i5-h3.d.ts} +2 -2
  392. package/dist/{resources-BiQpsM6O.d.ts → resources-D3_FAz_H.d.ts} +1 -1
  393. package/dist/{respond-CEBC6KUX.d.ts → respond-BSL36dQp.d.ts} +1 -1
  394. package/dist/server/index.d.ts +27 -19
  395. package/dist/server/index.js +4 -4
  396. package/dist/{server-types-BKN_R4Ws.d.ts → server-types-fLdep4gb.d.ts} +11 -9
  397. package/dist/{session-CwpfitmI.d.ts → session-DObioXpX.d.ts} +3 -3
  398. package/dist/solid/index.d.ts +7 -7
  399. package/dist/{solid-controller-Uqi5ef6z.d.ts → solid-controller-CWotGxcG.d.ts} +1 -1
  400. package/dist/solid-start/index.d.ts +5 -5
  401. package/dist/solid-start/index.js +2 -2
  402. package/dist/sql/index.d.ts +1 -1
  403. package/dist/sql/index.js +1 -1
  404. package/dist/{sql-DCfCbS2j.js → sql-CT1Jnwp8.js} +1 -1
  405. package/dist/ssr/index.d.ts +4 -4
  406. package/dist/ssr/index.js +1 -1
  407. package/dist/storage/index.d.ts +2 -2
  408. package/dist/storage/index.js +11 -0
  409. package/dist/{subject-readers-BNQzBDN9.d.ts → subject-readers-BUChuOxL.d.ts} +1 -1
  410. package/dist/{support-BAhTqI7y.js → support-C2wPYwD7.js} +1 -1
  411. package/dist/{support-view-IRnDLuGN.d.ts → support-view-Bj_lZ8Wr.d.ts} +1 -1
  412. package/dist/svelte/index.d.ts +6 -6
  413. package/dist/{svelte-controller-BQOIXWEw.d.ts → svelte-controller-sS4X66yL.d.ts} +1 -1
  414. package/dist/sveltekit/index.d.ts +6 -6
  415. package/dist/sveltekit/index.js +2 -2
  416. package/dist/{tags-AUpl4Ob9.d.ts → tags-BrGopDVG.d.ts} +1 -1
  417. package/dist/tanstack-db/index.d.ts +1 -1
  418. package/dist/tanstack-db/supabase/index.d.ts +1 -1
  419. package/dist/tanstack-start/index.d.ts +5 -5
  420. package/dist/tanstack-start/index.js +2 -2
  421. package/dist/{tenant-BNp3kBAG.d.ts → tenant-DZMLVuyQ.d.ts} +2 -2
  422. package/dist/testing/index.d.ts +13 -15
  423. package/dist/{topic-1WTkDnPd.d.ts → topic-DAY_HOX2.d.ts} +3 -3
  424. package/dist/{types-DDQ-Rsep.d.ts → types-BA1eTvy4.d.ts} +1 -1
  425. package/dist/{types-Bq64h5nY.d.ts → types-Bels39_u.d.ts} +2 -2
  426. package/dist/{types-DO9xWsGC.d.ts → types-DOC7wnh6.d.ts} +11 -2
  427. package/dist/{types-B4zhT6dq.d.ts → types-D_2rClz-.d.ts} +1 -1
  428. package/dist/upload-claim-BBFCZbBF.js +33 -0
  429. package/dist/{vault-DR2-zOjz.d.ts → vault-ClkzMGTP.d.ts} +1 -1
  430. package/dist/vercel-connect/index.d.ts +1 -1
  431. package/dist/{verify-BucYsoKq.d.ts → verify-DU4p9-Ve.d.ts} +1 -1
  432. package/dist/{version-TXpQEfh1.js → version-DSWxci83.js} +1 -1
  433. package/dist/{view-Bf7e07rQ.d.ts → view-KQhe6eNc.d.ts} +1 -1
  434. package/dist/vue/index.d.ts +7 -7
  435. package/dist/{vue-controller-Cav6Wt_r.d.ts → vue-controller-BUo1oove.d.ts} +1 -1
  436. package/dist/{watch-ry70AEm6.d.ts → watch-5btote1y.d.ts} +2 -2
  437. package/dist/{watch-topic-DWHy63ZJ.d.ts → watch-topic-C79ZW5-R.d.ts} +1 -1
  438. package/dist/workflow-sdk/builder/index.d.ts +3 -3
  439. package/dist/workflow-sdk/index.d.ts +1 -1
  440. package/dist/{workflow-sdk-DM7T3sF4.d.ts → workflow-sdk-CWdCWj7M.d.ts} +1 -1
  441. package/dist/yjs/index.d.ts +1 -1
  442. package/package.json +1 -1
  443. package/schemas/cli-commands-v1.json +15 -0
  444. package/schemas/config-v1.json +1 -1
  445. package/schemas/doctor-report-v1.json +1 -0
  446. package/dist/cli/add-DzRJEHzD.js +0 -1
  447. package/dist/cli/adopt-DDy50yz9.js +0 -1
  448. package/dist/cli/env-D-O91RK1.js +0 -1
  449. package/dist/cli/seed-C_BmN498.js +0 -1
@@ -1,8 +1,8 @@
1
1
  import { t as AsyncResult } from "../result-BREt7qOh.js";
2
2
  import { F as CredentialEventData, wt as Events } from "../events-P3raDX2E.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-CNs0Jx0I.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-DXgx5oSA.js";
4
4
  import { a as dbTransport, o as rpcTransport, s as sqlTransport, t as BlockTransport } from "../block-transport-DezJPPA0.js";
5
- import { a as vaultCredentials, i as VaultInboundScheme, n as VaultCredentials, r as VaultCredentialsOptions, t as VaultCredentialRef } from "../vault-DR2-zOjz.js";
5
+ import { a as vaultCredentials, i as VaultInboundScheme, n as VaultCredentials, r as VaultCredentialsOptions, t as VaultCredentialRef } from "../vault-ClkzMGTP.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`
@@ -6,7 +6,7 @@ import { a as EventHandler, c as MutationNotice, d as RpcNotice, o as EventHub,
6
6
  import { a as ExtensionOf, h as WithExtension, m as RequestContext, n as AnyPlugin, r as ApplyExtension } from "./plugin-D-95Q0w0.js";
7
7
  import { n as Logger } from "./logger-DWVYUmwi.js";
8
8
  import { t as StandardSchemaV1 } from "./standard-BcUQuUgu.js";
9
- import { j as StorageApi, n as Bucket, r as BucketClient } from "./bucket-BBSNDFNH.js";
9
+ import { j as StorageApi, n as Bucket, r as BucketClient } from "./bucket-BbePDVwc.js";
10
10
  import { a as PostgrestPlan, i as PostgrestCompileOptions } from "./postgrest-CjnO1hbr.js";
11
11
  //#region src/core/db-buckets.d.ts
12
12
  /** Buckets registered with `betterSupabase.buckets()`, by key. */
@@ -1,10 +1,10 @@
1
1
  import { D as BlockEventPattern, St as EventMapOf, T as BlockEvent, Tt as MergedEventMap, k as BlockEventsMatching, o as EventHub, wt as Events, xt as EventMap } from "./events-P3raDX2E.js";
2
- import { r as CredentialProvider } from "./provider-CNs0Jx0I.js";
2
+ import { r as CredentialProvider } from "./provider-DXgx5oSA.js";
3
3
  import { n as BlockOptions } from "./block-helpers-CjcQM1yA.js";
4
4
  import { a as BlockTransportMiddleware, n as BlockHooks } from "./block-hooks-DcPJHztl.js";
5
5
  import { t as BlockOptionsSchema } from "./options-ZQzNKKBS.js";
6
6
  import { i as EventSink } from "./cloud-event-DXkNoI6v.js";
7
- import { i as PortName, t as BlockPorts } from "./ports-DGe1vzF2.js";
7
+ import { i as PortName, t as BlockPorts } from "./ports-P0A5wo_-.js";
8
8
  //#region src/core/block-names.d.ts
9
9
  /**
10
10
  * How the SQL names the block functions: `sql.naming.tenant` and the
@@ -2,17 +2,17 @@ import { f as Result } from "../result-BREt7qOh.js";
2
2
  import { a as AnyModels, i as AnyFunctions } from "../types-BrpW5ixT.js";
3
3
  import { t as StandardSchemaV1 } from "../standard-BcUQuUgu.js";
4
4
  import { s as PermissionRef, t as AnyAuthorizer } from "../authorizer-eiOjo-3l.js";
5
- import { t as BetterSupabase } from "../define-M_r1d2AT.js";
6
- import { a as ServerContext, c as ServerOptions, n as BetterServer } from "../server-types-BKN_R4Ws.js";
7
- import { t as AuthSession } from "../view-Bf7e07rQ.js";
8
- import { i as MiddlewareOptions, r as GuardOptions } from "../respond-CEBC6KUX.js";
9
- import { s as BlockRequireOptions } from "../kit-BeZX2pR_.js";
5
+ import { t as BetterSupabase } from "../define-DYZnvAbs.js";
6
+ import { a as ServerContext, c as ServerOptions, n as BetterServer } from "../server-types-fLdep4gb.js";
7
+ import { t as AuthSession } from "../view-KQhe6eNc.js";
8
+ import { i as MiddlewareOptions, r as GuardOptions } from "../respond-BSL36dQp.js";
9
+ import { s as BlockRequireOptions } from "../kit-De-EVRhw.js";
10
10
  import { n as FunctionContract, t as DescribedFunction } from "../function-contract-DWqFl_QO.js";
11
11
  import { t as Validated } from "../shared-DDSjEGDR.js";
12
12
  import { n as SUPABASE_CORS_HEADERS, r as corsConfig, t as CorsOptions } from "../cors-kLq6VM06.js";
13
- import { i as ResourceContext, l as ResourceRouteOptions, o as ResourceHooks, r as ResourceAction, t as ActionArgs } from "../resource-types-CGr0BbL-.js";
14
- import { t as ResourceMap } from "../resources-BiQpsM6O.js";
15
- import { t as defineAction } from "../resource-execute-ruP2L1op.js";
13
+ import { i as ResourceContext, l as ResourceRouteOptions, o as ResourceHooks, r as ResourceAction, t as ActionArgs } from "../resource-types-LW1i5-h3.js";
14
+ import { t as ResourceMap } from "../resources-D3_FAz_H.js";
15
+ import { t as defineAction } from "../resource-execute-Bxvgmx-n.js";
16
16
  import { AnyEntry, Contributions } from "@supabase/middleware";
17
17
  //#region src/bridges/edge.d.ts
18
18
  /** The platform context Workers pass as the third `fetch` argument. */
@@ -2,15 +2,15 @@ import { n as dbError } from "../errors-BV1SKTVs.js";
2
2
  import { a as ok, r as err } from "../result-DIeYscA3.js";
3
3
  import { n as validate } from "../standard-B1BigegP.js";
4
4
  import { o as problemResponse } from "../problem-JRCohp1j.js";
5
- import { a as unexpectedResponse, c as extendServer, o as withFlush, s as createServer } from "../adapter-B2WRsRIg.js";
5
+ import { a as unexpectedResponse, c as extendServer, o as withFlush, s as createServer } from "../adapter-CRNH2aX_.js";
6
6
  import { a as respond, o as settle, t as defaultExpose } from "../respond-Bhp3G__q.js";
7
- import { t as withBetterSupabase } from "../composite-BFatHqOU.js";
7
+ import { t as withBetterSupabase } from "../composite-1kPAxXto.js";
8
8
  import { r as defineAction } from "../resource-Bdkqi8jo.js";
9
9
  import { i as requireCaller } from "../kit-LTbHrWWD.js";
10
10
  import { t as withExtra } from "../extra-CGQ2_q3S.js";
11
11
  import { n as resourceRouter } from "../resources-Ck7itNeX.js";
12
12
  import { n as corsConfig, t as SUPABASE_CORS_HEADERS } from "../cors-h_v7TPxl.js";
13
- import { t as EVERY_CALLER } from "../framework-Ch8bMmQY.js";
13
+ import { t as EVERY_CALLER } from "../framework-C6PKBgme.js";
14
14
  import { t as FUNCTION_DESCRIPTOR } from "../function-contract-DmkBg19r.js";
15
15
  import { bufferRequest, pipeline, seedContext } from "@supabase/middleware";
16
16
  import { withCors } from "@supabase/middleware/cors";
@@ -1,4 +1,4 @@
1
- import { n as RouteGuardOptions } from "../refusal-CufncwaN.js";
1
+ import { n as RouteGuardOptions } from "../refusal-C7geIBRl.js";
2
2
  import { t as Validated } from "../shared-DDSjEGDR.js";
3
3
  import { AnyEntry, Contributions } from "@supabase/middleware";
4
4
  //#region src/bridges/elysia.d.ts
@@ -1,4 +1,4 @@
1
- import { d as KnowledgeSearchOptions, n as Embedder, o as KnowledgeHit, r as Knowledge } from "./knowledge-CRk1jOAJ.js";
1
+ import { d as KnowledgeSearchOptions, n as Embedder, o as KnowledgeHit, r as Knowledge } from "./knowledge-B5zdpDD-.js";
2
2
  import { EmbeddingModel, RerankingModel, SourceDocumentUIPart, Tool, embedMany } from "ai";
3
3
  //#region src/ai-sdk/embeddings/embeddings.d.ts
4
4
  type ProviderOptions = Parameters<typeof embedMany>[0]["providerOptions"];
@@ -1,5 +1,5 @@
1
1
  import { m as RequestContext } from "./plugin-D-95Q0w0.js";
2
- import { g as StoredSession, r as AuthState, u as CookieOptions } from "./resolve-Bqb8TMTt.js";
2
+ import { g as StoredSession, r as AuthState, u as CookieOptions } from "./resolve-Ceft-18-.js";
3
3
  //#region src/auth/refresh.d.ts
4
4
  interface RefreshOptions {
5
5
  readonly url: string;
@@ -1,5 +1,5 @@
1
- import { t as AuthSnapshot } from "./bind-CTNKpBM6.js";
2
- import { t as AuthSession } from "./view-Bf7e07rQ.js";
1
+ import { t as AuthSnapshot } from "./bind-Bfo40o63.js";
2
+ import { t as AuthSession } from "./view-KQhe6eNc.js";
3
3
  //#region src/auth/entitlements.d.ts
4
4
  /**
5
5
  * One entry of the `memberships` claim when a hook writes it as a list.
@@ -1,8 +1,8 @@
1
- import { a as ResolveAuthOptions, r as AuthState } from "../resolve-Bqb8TMTt.js";
2
- import { i as CredentialRef, r as CredentialProvider } from "../provider-CNs0Jx0I.js";
1
+ import { a as ResolveAuthOptions, r as AuthState } from "../resolve-Ceft-18-.js";
2
+ import { i as CredentialRef, r as CredentialProvider } from "../provider-DXgx5oSA.js";
3
3
  import { i as AiChat } from "../ai-chat-D-2MH1sU.js";
4
4
  import { a as Inbox } from "../inbox-Du5aPwKB.js";
5
- import { a as EveMemoryToolsContext, c as MemoryDocumentConflictError, d as supabaseDocumentBackend, f as supabaseMemory, i as EveMemoryTool, l as SupabaseDocumentBackendOptions, m as EveSessionContext, n as EveMemoryContext, o as EveRecallMessage, p as EveSessionAuth, r as EveMemoryProvider, s as EveRecallResult, t as EveDocumentBackend, u as SupabaseMemoryOptions } from "../eve-C_Onyk_j.js";
5
+ import { a as EveMemoryToolsContext, c as MemoryDocumentConflictError, d as supabaseDocumentBackend, f as supabaseMemory, i as EveMemoryTool, l as SupabaseDocumentBackendOptions, m as EveSessionContext, n as EveMemoryContext, o as EveRecallMessage, p as EveSessionAuth, r as EveMemoryProvider, s as EveRecallResult, t as EveDocumentBackend, u as SupabaseMemoryOptions } from "../eve-B6ru2Bt4.js";
6
6
  //#region src/eve/auth.d.ts
7
7
  /** Thrown by `supabaseAuth` so eve answers with `response` instead of downgrading to anonymous. */
8
8
  export declare class EveAuthRejection extends Error {
package/dist/eve/index.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import { t as DbException } from "../db-exception-CnWcYPxL.js";
2
2
  import { n as isRecord } from "../guards-6F2bCtQR.js";
3
3
  import { a as tenantClaimPaths, n as claimAt, t as DEFAULT_CLAIMS } from "../claims-PqzCxaTD.js";
4
- import { r as resolveAuth } from "../resolve-f8QNuYI3.js";
4
+ import { r as resolveAuth } from "../resolve-AtncaPTU.js";
5
5
  import { t as isAnonymousUser } from "../view-CYX1wsgp.js";
6
6
  import { t as importOptionalPeer } from "../optional-peer-Dx8TaYXw.js";
7
7
  //#region src/eve/ids.ts
@@ -1,5 +1,5 @@
1
- import { d as KnowledgeSearchOptions, r as Knowledge } from "./knowledge-CRk1jOAJ.js";
2
- import { t as Memory } from "./types-B4zhT6dq.js";
1
+ import { d as KnowledgeSearchOptions, r as Knowledge } from "./knowledge-B5zdpDD-.js";
2
+ import { t as Memory } from "./types-D_2rClz-.js";
3
3
  //#region src/eve/types.d.ts
4
4
  /**
5
5
  * eve's `SessionAuthContext`, typed structurally so this entry never imports
@@ -1,4 +1,4 @@
1
- import { B as WorkflowGraph } from "./types-Bq64h5nY.js";
1
+ import { B as WorkflowGraph } from "./types-Bels39_u.js";
2
2
  //#region src/blocks/workflow-builder/executor.d.ts
3
3
  /** The record a run belongs to. */
4
4
  interface GraphSubject {
@@ -1,7 +1,7 @@
1
1
  import { a as AnyModels, i as AnyFunctions } from "../types-BrpW5ixT.js";
2
- import { t as BetterSupabase } from "../define-M_r1d2AT.js";
3
- import { a as ServerContext, c as ServerOptions, n as BetterServer, r as ContextOptions } from "../server-types-BKN_R4Ws.js";
4
- import { i as MiddlewareOptions, r as GuardOptions } from "../respond-CEBC6KUX.js";
2
+ import { t as BetterSupabase } from "../define-DYZnvAbs.js";
3
+ import { a as ServerContext, c as ServerOptions, n as BetterServer, r as ContextOptions } from "../server-types-fLdep4gb.js";
4
+ import { i as MiddlewareOptions, r as GuardOptions } from "../respond-BSL36dQp.js";
5
5
  import { t as Validated } from "../shared-DDSjEGDR.js";
6
6
  import { AnyEntry, Contributions } from "@supabase/middleware";
7
7
  import { ImmutableRequest, MiddlewareFunction } from "expo-server";
@@ -1,9 +1,9 @@
1
1
  import { t as DbException } from "../db-exception-CnWcYPxL.js";
2
2
  import { c as toProblem } from "../problem-JRCohp1j.js";
3
- import { a as unexpectedResponse, c as extendServer, s as createServer, x as refreshFor } from "../adapter-B2WRsRIg.js";
4
- import { m as serializeCookie } from "../resolve-f8QNuYI3.js";
3
+ import { a as unexpectedResponse, c as extendServer, s as createServer, x as refreshFor } from "../adapter-CRNH2aX_.js";
4
+ import { m as serializeCookie } from "../resolve-AtncaPTU.js";
5
5
  import { a as respond, r as guard, t as defaultExpose } from "../respond-Bhp3G__q.js";
6
- import { t as withBetterSupabase } from "../composite-BFatHqOU.js";
6
+ import { t as withBetterSupabase } from "../composite-1kPAxXto.js";
7
7
  import { r as handoffOf } from "../shared-BmMcMoW9.js";
8
8
  import { bufferRequest, pipeline, seedContext } from "@supabase/middleware";
9
9
  import { StatusError, setResponseHeaders } from "expo-server";
@@ -1,6 +1,6 @@
1
1
  import { r as Executor } from "../executor-BnMC0lj3.js";
2
2
  import { n as PowerSyncExecutorOptions, t as PowerSyncDatabaseLike } from "../executor-CvsNcQsa.js";
3
- import { a as checkSqlite, n as sqliteTables, r as watch, t as WatchOptions } from "../watch-ry70AEm6.js";
3
+ import { a as checkSqlite, n as sqliteTables, r as watch, t as WatchOptions } from "../watch-5btote1y.js";
4
4
  //#region src/expo-sqlite/executor.d.ts
5
5
  /** What an expo-sqlite database or exclusive transaction can run. */
6
6
  interface ExpoSqliteContextLike {
@@ -1,10 +1,10 @@
1
1
  import { b as DbError } from "./result-BREt7qOh.js";
2
- import { O as TemplateValues } from "./bucket-BBSNDFNH.js";
3
- import { at as QuerySpec } from "./define-M_r1d2AT.js";
4
- import { _ as TopicMessage, c as RealtimeClient, d as SubscribeOptions, i as PresenceOptions, s as PresenceSubscription } from "./topic-1WTkDnPd.js";
5
- import { t as ClientPorts } from "./ports-DCAcG26M.js";
6
- import { a as ClientAuth } from "./bind-CTNKpBM6.js";
7
- import { a as LiveSource, r as LiveCountSeed } from "./index-qCG78-Rf.js";
2
+ import { O as TemplateValues } from "./bucket-BbePDVwc.js";
3
+ import { at as QuerySpec } from "./define-DYZnvAbs.js";
4
+ import { _ as TopicMessage, c as RealtimeClient, d as SubscribeOptions, i as PresenceOptions, s as PresenceSubscription } from "./topic-DAY_HOX2.js";
5
+ import { t as ClientPorts } from "./ports-BCDIbC_U.js";
6
+ import { a as ClientAuth } from "./bind-Bfo40o63.js";
7
+ import { a as LiveSource, r as LiveCountSeed } from "./index-DTQSeHx2.js";
8
8
  import { SupabaseClient } from "@supabase/supabase-js";
9
9
  import { StandardSchemaV1 } from "@standard-schema/spec";
10
10
  import { QueryClient } from "@tanstack/query-core";
@@ -1,9 +1,9 @@
1
1
  import { a as AnyModels, i as AnyFunctions } from "./types-BrpW5ixT.js";
2
- import { c as ServerOptions } from "./server-types-BKN_R4Ws.js";
3
- import { t as AuthSession } from "./view-Bf7e07rQ.js";
4
- import { n as SessionEntryConfig } from "./session-CwpfitmI.js";
5
- import { n as BetterSupabaseContributions } from "./composite-B1Mmo4TU.js";
6
- import { t as RefusalRedirects } from "./refusal-CufncwaN.js";
2
+ import { c as ServerOptions } from "./server-types-fLdep4gb.js";
3
+ import { t as AuthSession } from "./view-KQhe6eNc.js";
4
+ import { n as SessionEntryConfig } from "./session-DObioXpX.js";
5
+ import { n as BetterSupabaseContributions } from "./composite-DzvBL5nb.js";
6
+ import { t as RefusalRedirects } from "./refusal-C7geIBRl.js";
7
7
  //#region src/server/framework.d.ts
8
8
  /** What the framework factories (`createSvelteKit`, `createReactRouter`, `createTanStackStart`) take. */
9
9
  interface FrameworkOptions extends ServerOptions, RefusalRedirects, Pick<SessionEntryConfig, "checkSession" | "cookieScopes" | "encode"> {
@@ -1,5 +1,5 @@
1
1
  import { n as toSession } from "./view-CYX1wsgp.js";
2
- import { t as withBetterSupabase } from "./composite-BFatHqOU.js";
2
+ import { t as withBetterSupabase } from "./composite-1kPAxXto.js";
3
3
  //#region src/server/framework.ts
4
4
  /** Every caller: the framework factories guard per loader, action or route instead. */
5
5
  const EVERY_CALLER = [
@@ -1,4 +1,4 @@
1
- import { n as RouteGuardOptions } from "../refusal-CufncwaN.js";
1
+ import { n as RouteGuardOptions } from "../refusal-C7geIBRl.js";
2
2
  import { t as Validated } from "../shared-DDSjEGDR.js";
3
3
  import { AnyEntry, Contributions } from "@supabase/middleware";
4
4
  //#region src/bridges/h3.d.ts
@@ -1,4 +1,4 @@
1
- import { n as RouteGuardOptions } from "../../refusal-CufncwaN.js";
1
+ import { n as RouteGuardOptions } from "../../refusal-C7geIBRl.js";
2
2
  import { t as Validated } from "../../shared-DDSjEGDR.js";
3
3
  import { n as NodeRequestHead, t as NodeHeaderTarget } from "../../node-headers-AO06VhqH.js";
4
4
  import { AnyEntry, Contributions } from "@supabase/middleware";
@@ -1,14 +1,14 @@
1
1
  import { B as TableKey, a as AnyModels, i as AnyFunctions } from "../types-BrpW5ixT.js";
2
- import { r as AuthState } from "../resolve-Bqb8TMTt.js";
2
+ import { r as AuthState } from "../resolve-Ceft-18-.js";
3
3
  import { s as PermissionRef, t as AnyAuthorizer } from "../authorizer-eiOjo-3l.js";
4
- import { t as BetterSupabase } from "../define-M_r1d2AT.js";
5
- import { a as ServerContext, c as ServerOptions, l as SharedServer, n as BetterServer } from "../server-types-BKN_R4Ws.js";
6
- import { t as AuthSession } from "../view-Bf7e07rQ.js";
7
- import { i as MiddlewareOptions, r as GuardOptions } from "../respond-CEBC6KUX.js";
8
- import { s as BlockRequireOptions } from "../kit-BeZX2pR_.js";
4
+ import { t as BetterSupabase } from "../define-DYZnvAbs.js";
5
+ import { a as ServerContext, c as ServerOptions, l as SharedServer, n as BetterServer } from "../server-types-fLdep4gb.js";
6
+ import { t as AuthSession } from "../view-KQhe6eNc.js";
7
+ import { i as MiddlewareOptions, r as GuardOptions } from "../respond-BSL36dQp.js";
8
+ import { s as BlockRequireOptions } from "../kit-De-EVRhw.js";
9
9
  import { t as CorsOptions } from "../cors-kLq6VM06.js";
10
- import { i as ResourceContext, l as ResourceRouteOptions, o as ResourceHooks, r as ResourceAction, t as ActionArgs } from "../resource-types-CGr0BbL-.js";
11
- import { t as defineAction } from "../resource-execute-ruP2L1op.js";
10
+ import { i as ResourceContext, l as ResourceRouteOptions, o as ResourceHooks, r as ResourceAction, t as ActionArgs } from "../resource-types-LW1i5-h3.js";
11
+ import { t as defineAction } from "../resource-execute-Bxvgmx-n.js";
12
12
  import { i as RouteRateLimitRule, n as RateLimitVerdict, r as RateLimiter, t as RateLimitRouteOptions } from "../rate-limit-c6c1mB6R.js";
13
13
  import { AnyEntry, Contributions, ValidateEntries } from "@supabase/middleware";
14
14
  import { Context, ErrorHandler, Hono, MiddlewareHandler } from "hono";
@@ -1,9 +1,9 @@
1
1
  import { r as dbErrorOf } from "../errors-BV1SKTVs.js";
2
2
  import { o as problemResponse } from "../problem-JRCohp1j.js";
3
- import { a as unexpectedResponse, c as extendServer, n as flushEvents, s as createServer } from "../adapter-B2WRsRIg.js";
3
+ import { a as unexpectedResponse, c as extendServer, n as flushEvents, s as createServer } from "../adapter-CRNH2aX_.js";
4
4
  import { n as toSession } from "../view-CYX1wsgp.js";
5
5
  import { a as respond, t as defaultExpose } from "../respond-Bhp3G__q.js";
6
- import { t as withBetterSupabase } from "../composite-BFatHqOU.js";
6
+ import { t as withBetterSupabase } from "../composite-1kPAxXto.js";
7
7
  import { r as defineAction, t as defineResource } from "../resource-Bdkqi8jo.js";
8
8
  import { i as requireCaller } from "../kit-LTbHrWWD.js";
9
9
  import { t as matchResource } from "../resources-Ck7itNeX.js";
@@ -1,4 +1,4 @@
1
- import { c as InboxListSnapshot, i as ConversationSnapshot, l as InboxSource, p as InboxWidgetSnapshot, s as InboxListActions, t as ConversationActions, u as InboxWidgetActions } from "./client-CCGSn7m5.js";
1
+ import { c as InboxListSnapshot, i as ConversationSnapshot, l as InboxSource, p as InboxWidgetSnapshot, s as InboxListActions, t as ConversationActions, u as InboxWidgetActions } from "./client-BONsuFYf.js";
2
2
  //#region src/blocks/inbox/react/index.d.ts
3
3
  interface UseInboxOptions<T> {
4
4
  /** The organization; the hook joins `inbox:org:<id>`. `null` waits. */
@@ -1,6 +1,6 @@
1
1
  import { d as AccessBlockConfig, p as AnyBlocksConfig } from "./authorization-ClWBcXJi.js";
2
- import { i as BlockCategory } from "./define-block-CPyJ95rq.js";
3
- import { i as PortName } from "./ports-DGe1vzF2.js";
2
+ import { i as BlockCategory } from "./define-block-BHxLHLys.js";
3
+ import { i as PortName } from "./ports-P0A5wo_-.js";
4
4
  import { Nn as AppTablesConfig, On as AppTableConfig, dt as PresetScope, ft as PresetTenantName, it as PresetCodeField, nt as Preset, rt as PresetAccess, st as PresetFieldKey, y as BetterSupabaseConfig } from "./codegen-C64C0NZG.js";
5
5
  //#region src/preset/blocks.d.ts
6
6
  /**
@@ -223,6 +223,8 @@ declare const DESIGN_FORMAT = 5;
223
223
  declare function designFormat(design: CreateDesign): number;
224
224
  /** The longest design code, so a `/create` URL stays under common limits. */
225
225
  declare const MAX_DESIGN_CODE_LENGTH = 6e3;
226
+ /** The name Create gives the design file it downloads. */
227
+ declare const DESIGN_FILE = "better-supabase.design.json";
226
228
  /**
227
229
  * What `encodeDesign` throws when a valid design is too long for a URL, so
228
230
  * a caller can offer the config download instead of a fix.
@@ -234,6 +236,12 @@ declare class DesignTooLongError extends TypeError {
234
236
  }
235
237
  /** Whether `value` has the shape of a design code. It may still fail to decode. */
236
238
  declare function isDesignCode(value: string): boolean;
239
+ /**
240
+ * Checks a design object, such as one from storage or a request body, and
241
+ * drops its empty parts. It runs the same checks as `decodeDesign`, without
242
+ * the code. Throws a TypeError naming the first problem.
243
+ */
244
+ declare function parseDesign(value: unknown): CreateDesign;
237
245
  /**
238
246
  * The design as a code for the `&design=` parameter: `0`, then its JSON
239
247
  * (with `version` set to `designFormat` when it is above 0) compressed with
@@ -269,6 +277,31 @@ declare function designConfigSource(resolved: ResolvedPreset, design: CreateDesi
269
277
  * empty.
270
278
  */
271
279
  declare function designInstallCommand(resolved: ResolvedPreset, designCode: string): string;
280
+ /**
281
+ * A preset and its design as one JSON file, for a design too long for a URL
282
+ * (ADR 0058). `init --preset` and `apply --preset` read it from a path.
283
+ */
284
+ interface DesignFile {
285
+ /** The preset code. */
286
+ readonly preset: string;
287
+ /** The design, with `version` set to `designFormat` when it is above 0. */
288
+ readonly design: CreateDesign & {
289
+ readonly version?: number;
290
+ };
291
+ }
292
+ /**
293
+ * The design file for a preset and design, as JSON text. Throws a TypeError
294
+ * when the design is invalid; it has no length limit.
295
+ */
296
+ declare function designFileSource(resolved: ResolvedPreset, design: CreateDesign): string;
297
+ /**
298
+ * Reads a design file's text. Throws a TypeError naming the first problem:
299
+ * text that isn't JSON, a missing or invalid preset, or an invalid design.
300
+ */
301
+ declare function readDesignFile(text: string): {
302
+ readonly preset: Preset;
303
+ readonly design: CreateDesign;
304
+ };
272
305
  /** The command that applies the preset and design to an existing project. */
273
306
  declare function designApplyCommand(resolved: ResolvedPreset, designCode: string): string;
274
307
  //#endregion
@@ -341,4 +374,4 @@ declare function presetInstallCommand(resolved: ResolvedPreset): string;
341
374
  /** The command that applies the preset to an existing project. */
342
375
  declare function presetApplyCommand(resolved: ResolvedPreset): string;
343
376
  //#endregion
344
- export { presetConfig as A, decodePreset as B, designOf as C, PresetInput as D, ConfigConventions as E, ResolvedPresetBlock as F, PresetCatalog as G, isPresetCode as H, listNames as I, PresetGlueItem as J, PresetCatalogBlock as K, presetBlockConflict as L, PresetConflict as M, PresetIntegration as N, conventionConfig as O, ResolvedPreset as P, resolvePreset as R, designInstallCommand as S, isDesignCode as T, withPresetField as U, encodePreset as V, PRESET_CATALOG as W, PRESET_BLOCKS as Y, decodeDesign as _, presetConfigSource as a, designConfigSource as b, DesignChange as c, diffAppTables as d, diffDesigns as f, MAX_DESIGN_CODE_LENGTH as g, DesignTooLongError as h, presetBlocksSource as i, presetOf as j, expandPreset as k, DesignChangeKind as l, DESIGN_FORMAT as m, glueCommand as n, presetGlue as o, CreateDesign as p, PresetCatalogManifest as q, presetApplyCommand as r, presetInstallCommand as s, PROVIDER_COMMENT as t, DiffOptions as u, designApplyCommand as v, encodeDesign as w, designFormat as x, designConfig as y, DecodedPreset as z };
377
+ export { PresetGlueItem as $, readDesignFile as A, ResolvedPresetBlock as B, designFileSource as C, encodeDesign as D, designOf as E, presetConfig as F, decodePreset as G, presetBlockConflict as H, presetOf as I, withPresetField as J, encodePreset as K, PresetConflict as L, PresetInput as M, conventionConfig as N, isDesignCode as O, expandPreset as P, PresetCatalogManifest as Q, PresetIntegration as R, designConfigSource as S, designInstallCommand as T, resolvePreset as U, listNames as V, DecodedPreset as W, PresetCatalog as X, PRESET_CATALOG as Y, PresetCatalogBlock as Z, DesignTooLongError as _, presetConfigSource as a, designApplyCommand as b, DesignChange as c, diffAppTables as d, PRESET_BLOCKS as et, diffDesigns as f, DesignFile as g, DESIGN_FORMAT as h, presetBlocksSource as i, ConfigConventions as j, parseDesign as k, DesignChangeKind as l, DESIGN_FILE as m, glueCommand as n, presetGlue as o, CreateDesign as p, isPresetCode as q, presetApplyCommand as r, presetInstallCommand as s, PROVIDER_COMMENT as t, DiffOptions as u, MAX_DESIGN_CODE_LENGTH as v, designFormat as w, designConfig as x, decodeDesign as y, ResolvedPreset as z };
@@ -1,11 +1,11 @@
1
1
  import { b as DbError, f as Result, t as AsyncResult } from "./result-BREt7qOh.js";
2
- import { C as UrlOptions, O as TemplateValues, S as UploadOptions, x as UploadBody } from "./bucket-BBSNDFNH.js";
3
- import { at as QuerySpec } from "./define-M_r1d2AT.js";
4
- import { c as RealtimeClient, d as SubscribeOptions, g as TopicHandlers, i as PresenceOptions, m as Topic, p as SubscriptionStatus, r as PresenceMember, s as PresenceSubscription, t as EventSchemas } from "./topic-1WTkDnPd.js";
5
- import { t as AuthSnapshot } from "./bind-CTNKpBM6.js";
6
- import { t as AuthSession } from "./view-Bf7e07rQ.js";
7
- import { r as LiveCountSeed } from "./index-qCG78-Rf.js";
8
- import { a as BroadcastOptions, c as LiveCountHookOptions, m as UseActionOptions, n as ActionInputOf, o as ClaimsOf, p as ProfileOf, r as ActionResultOf, s as ClientLike, u as LiveQueryHookOptions } from "./field-errors-DmJICh93.js";
2
+ import { C as UrlOptions, O as TemplateValues, S as UploadOptions, x as UploadBody } from "./bucket-BbePDVwc.js";
3
+ import { at as QuerySpec } from "./define-DYZnvAbs.js";
4
+ import { c as RealtimeClient, d as SubscribeOptions, g as TopicHandlers, i as PresenceOptions, m as Topic, p as SubscriptionStatus, r as PresenceMember, s as PresenceSubscription, t as EventSchemas } from "./topic-DAY_HOX2.js";
5
+ import { t as AuthSnapshot } from "./bind-Bfo40o63.js";
6
+ import { t as AuthSession } from "./view-KQhe6eNc.js";
7
+ import { r as LiveCountSeed } from "./index-DTQSeHx2.js";
8
+ import { a as BroadcastOptions, c as LiveCountHookOptions, m as UseActionOptions, n as ActionInputOf, o as ClaimsOf, p as ProfileOf, r as ActionResultOf, s as ClientLike, u as LiveQueryHookOptions } from "./field-errors-Z-sgsdoN.js";
9
9
  import { SupabaseClient } from "@supabase/supabase-js";
10
10
  import { ReactNode, SubmitEvent } from "react";
11
11
  import { QueryClient } from "@tanstack/query-core";
@@ -1,10 +1,10 @@
1
1
  import { t as AsyncResult } from "./result-BREt7qOh.js";
2
2
  import { a as AnyModels, i as AnyFunctions } from "./types-BrpW5ixT.js";
3
3
  import { l as PublicEnv } from "./index-CxmVzT-3.js";
4
- import { h as SessionEncoding } from "./resolve-Bqb8TMTt.js";
5
- import { t as BetterSupabase } from "./define-M_r1d2AT.js";
6
- import { i as KeyboardPort, l as StoragePort, n as DeepLinkPort, r as FilePickerPort, s as PushTokenPort, t as ClientPorts } from "./ports-DCAcG26M.js";
7
- import { r as BetterClient } from "./bind-CTNKpBM6.js";
4
+ import { h as SessionEncoding } from "./resolve-Ceft-18-.js";
5
+ import { t as BetterSupabase } from "./define-DYZnvAbs.js";
6
+ import { i as KeyboardPort, l as StoragePort, n as DeepLinkPort, r as FilePickerPort, s as PushTokenPort, t as ClientPorts } from "./ports-BCDIbC_U.js";
7
+ import { r as BetterClient } from "./bind-Bfo40o63.js";
8
8
  import { n as FunctionContract } from "./function-contract-DWqFl_QO.js";
9
9
  import { FunctionInvokeOptions, SupabaseClient, SupabaseClientOptions } from "@supabase/supabase-js";
10
10
  //#region src/client/functions.d.ts
@@ -1,6 +1,6 @@
1
1
  import { n as AccessPolicySql, u as ClaimsMeta } from "./types-BrpW5ixT.js";
2
2
  import { g as BlockScope, h as BlockMode, n as AuthorizationMembership, p as AnyBlocksConfig, r as AuthorizationOperation, s as AuthorizationRoleSource, t as AuthorizationFunctions, x as SqlNaming, y as DisabledRow } from "./authorization-ClWBcXJi.js";
3
- import { q as ReadSet } from "./define-M_r1d2AT.js";
3
+ import { q as ReadSet } from "./define-DYZnvAbs.js";
4
4
  import { n as SubjectsConfig, t as SubjectConfig } from "./subjects-DP-fvFkk.js";
5
5
  import { l as ModuleIdType, o as ModuleContext, s as ModuleContractFunction, u as ModuleNames } from "./context-Cv3KlxWY.js";
6
6
  import { Nn as AppTablesConfig, S as EntitlementPlansSource, x as ResolvedConfig } from "./codegen-C64C0NZG.js";
@@ -1,7 +1,7 @@
1
1
  import { b as DbError, f as Result } from "./result-BREt7qOh.js";
2
2
  import { F as SchemaMeta } from "./types-BrpW5ixT.js";
3
- import { at as QuerySpec } from "./define-M_r1d2AT.js";
4
- import { c as RealtimeClient, p as SubscriptionStatus } from "./topic-1WTkDnPd.js";
3
+ import { at as QuerySpec } from "./define-DYZnvAbs.js";
4
+ import { c as RealtimeClient, p as SubscriptionStatus } from "./topic-DAY_HOX2.js";
5
5
  //#region src/realtime/live.d.ts
6
6
  /** What `liveQuery` needs from `betterSupabase`: metadata and the tables a spec reads. */
7
7
  interface LiveSource {
@@ -1,5 +1,5 @@
1
1
  import { b as DbError, f as Result, t as AsyncResult } from "./result-BREt7qOh.js";
2
- import { N as StorageClient, Q as StoragePath, a as BucketConnectOptions, h as StorageAdminClient, i as BucketConfig, n as Bucket, r as BucketClient, s as BucketPolicy } from "./bucket-BBSNDFNH.js";
2
+ import { N as StorageClient, Q as StoragePath, a as BucketConnectOptions, h as StorageAdminClient, i as BucketConfig, n as Bucket, r as BucketClient, s as BucketPolicy } from "./bucket-BbePDVwc.js";
3
3
  import { SupabaseClient } from "@supabase/supabase-js";
4
4
  //#region src/storage/errors.d.ts
5
5
  /** Maps a Storage error (`StorageApiError`, fetch failures) to a `DbError`. */
@@ -1,4 +1,4 @@
1
- import { n as RouteGuardOptions } from "./refusal-CufncwaN.js";
1
+ import { n as RouteGuardOptions } from "./refusal-C7geIBRl.js";
2
2
  import { t as Validated } from "./shared-DDSjEGDR.js";
3
3
  import { AnyEntry, Contributions } from "@supabase/middleware";
4
4
  import { IncomingMessage, ServerResponse } from "node:http";
@@ -1,6 +1,6 @@
1
1
  import { n as DbException } from "./escape-like-B339PlP-.js";
2
2
  import { B as TableKey, D as PrimaryKeyValue, G as Update, S as Insert, W as UniqueWhere, a as AnyModels, i as AnyFunctions } from "./types-BrpW5ixT.js";
3
- import { B as UpsertArgs, Bt as WhereInput, Ct as FindOnlyArgs, D as OffsetRangeArgs, E as OffsetPageArgs, H as WriteArgs, I as Returned, Nt as Payload, Pt as ReadArgs, St as FindManyArgs, T as OffsetPage, _ as Db, at as QuerySpec, b as DeleteExt, dt as AggregateArgs, g as CursorPageArgs, h as CursorPage, it as InferResult, mt as AggregateResult, s as CacheAdapter, t as BetterSupabase, x as FindExt, xt as FindFirstArgs, y as DeleteArgs, yt as CountArgs, z as UpdateArgs } from "./define-M_r1d2AT.js";
3
+ import { B as UpsertArgs, Bt as WhereInput, Ct as FindOnlyArgs, D as OffsetRangeArgs, E as OffsetPageArgs, H as WriteArgs, I as Returned, Nt as Payload, Pt as ReadArgs, St as FindManyArgs, T as OffsetPage, _ as Db, at as QuerySpec, b as DeleteExt, dt as AggregateArgs, g as CursorPageArgs, h as CursorPage, it as InferResult, mt as AggregateResult, s as CacheAdapter, t as BetterSupabase, x as FindExt, xt as FindFirstArgs, y as DeleteArgs, yt as CountArgs, z as UpdateArgs } from "./define-DYZnvAbs.js";
4
4
  import { t as BetterQueryMeta } from "./invalidate-BBqhpxyB.js";
5
5
  import { DataTag, InfiniteData, QueryClient, SkipToken } from "@tanstack/query-core";
6
6
  //#region src/query/queries.d.ts
package/dist/index.d.ts CHANGED
@@ -9,8 +9,8 @@ import { i as silentLogger, n as Logger, r as consoleLogger, t as LogFields } fr
9
9
  import { n as validate, t as StandardSchemaV1 } from "./standard-BcUQuUgu.js";
10
10
  import { a as ProblemFormat, c as fromProblem, d as toProblem, i as ProblemDetails, l as isProblem, n as PROBLEM_CONTENT_TYPE, o as ProblemOptions, r as PROBLEM_TYPE_BASE, s as ProblemResponseOptions, t as BlockProblemOptions, u as problemResponse } from "./problem-DCDIQiTA.js";
11
11
  import { t as SPEC_PINS } from "./spec-pins-Dqpml2dZ.js";
12
- import { Q as StoragePath } from "./bucket-BBSNDFNH.js";
13
- import { $ as ReadSetParams, At as NumericMeasureArg, B as UpsertArgs, Bt as WhereInput, C as ManyReturningArgs, Ct as FindOnlyArgs, D as OffsetRangeArgs, Dt as MeasureArg, E as OffsetPageArgs, Et as JsonPathOps, F as RepositoryOf, Ft as RelationMeasureArg, Gt as EMPTY_STATS, H as WriteArgs, Ht as RpcDefinition, I as Returned, It as RequestArgs, J as ReadSetAuth, Jt as BucketRegistry, K as InferReadSetParams, Kt as StatsRecorder, Lt as SelectArg, Mt as OrderByInput, Nt as Payload, Ot as MeasureKey, P as Repository, Pt as ReadArgs, Q as ReadSetParamValue, R as RpcOptions, Rt as SortDirection, S as ManyResult, St as FindManyArgs, T as OffsetPage, Tt as IncludeArgs, U as WriteManyArgs, Ut as SupabaseOptions, V as UpsertManyArgs, Vt as ConnectOptions, W as SearchArgs, Wt as DbStats, X as ReadSetParamType, Y as ReadSetOptions, Yt as BucketsHelper, Z as ReadSetParamTypes, _ as Db, _t as ColumnOrderByArg, a as explainPostgrest, at as QuerySpec, b as DeleteExt, bt as FieldFilter, c as CacheTarget, ct as TableSpecs, d as memoryCache, dt as AggregateArgs, et as ReadSetResult, f as rowKey, ft as AggregateOrderBy, g as CursorPageArgs, gt as ColumnOrderBy, h as CursorPage, ht as AggregateRow, i as PostgrestExecutorOptions, it as InferResult, j as PageOf, jt as OrderByArg, kt as MutableWhere, l as MemoryCache, lt as isQuerySpec, m as ConflictTarget, mt as AggregateResult, n as defineSupabase, nt as isReadSet, o as postgrestExecutor, ot as ReadMethod, p as rpcCacheTargets, pt as AggregateOrderByArg, q as ReadSet, qt as recordStats, r as PostgrestClientLike, rt as readSetTables, s as CacheAdapter, st as Specs, t as BetterSupabase, tt as defineReadSet, u as cacheTargetOf, ut as specTables, v as DbHelpers, vt as CountArg, wt as IncludeArg, x as FindExt, xt as FindFirstArgs, y as DeleteArgs, yt as CountArgs, z as UpdateArgs, zt as SortSpec } from "./define-M_r1d2AT.js";
12
+ import { Q as StoragePath } from "./bucket-BbePDVwc.js";
13
+ import { $ as ReadSetParams, At as NumericMeasureArg, B as UpsertArgs, Bt as WhereInput, C as ManyReturningArgs, Ct as FindOnlyArgs, D as OffsetRangeArgs, Dt as MeasureArg, E as OffsetPageArgs, Et as JsonPathOps, F as RepositoryOf, Ft as RelationMeasureArg, Gt as EMPTY_STATS, H as WriteArgs, Ht as RpcDefinition, I as Returned, It as RequestArgs, J as ReadSetAuth, Jt as BucketRegistry, K as InferReadSetParams, Kt as StatsRecorder, Lt as SelectArg, Mt as OrderByInput, Nt as Payload, Ot as MeasureKey, P as Repository, Pt as ReadArgs, Q as ReadSetParamValue, R as RpcOptions, Rt as SortDirection, S as ManyResult, St as FindManyArgs, T as OffsetPage, Tt as IncludeArgs, U as WriteManyArgs, Ut as SupabaseOptions, V as UpsertManyArgs, Vt as ConnectOptions, W as SearchArgs, Wt as DbStats, X as ReadSetParamType, Y as ReadSetOptions, Yt as BucketsHelper, Z as ReadSetParamTypes, _ as Db, _t as ColumnOrderByArg, a as explainPostgrest, at as QuerySpec, b as DeleteExt, bt as FieldFilter, c as CacheTarget, ct as TableSpecs, d as memoryCache, dt as AggregateArgs, et as ReadSetResult, f as rowKey, ft as AggregateOrderBy, g as CursorPageArgs, gt as ColumnOrderBy, h as CursorPage, ht as AggregateRow, i as PostgrestExecutorOptions, it as InferResult, j as PageOf, jt as OrderByArg, kt as MutableWhere, l as MemoryCache, lt as isQuerySpec, m as ConflictTarget, mt as AggregateResult, n as defineSupabase, nt as isReadSet, o as postgrestExecutor, ot as ReadMethod, p as rpcCacheTargets, pt as AggregateOrderByArg, q as ReadSet, qt as recordStats, r as PostgrestClientLike, rt as readSetTables, s as CacheAdapter, st as Specs, t as BetterSupabase, tt as defineReadSet, u as cacheTargetOf, ut as specTables, v as DbHelpers, vt as CountArg, wt as IncludeArg, x as FindExt, xt as FindFirstArgs, y as DeleteArgs, yt as CountArgs, z as UpdateArgs, zt as SortSpec } from "./define-DYZnvAbs.js";
14
14
  import { a as PostgrestPlan, n as PlanLimit, o as compilePostgrest, r as PlanOrder, t as PlanFilter } from "./postgrest-CjnO1hbr.js";
15
15
  import { n as postgrestCompiler, t as Compiler } from "./compiler-D_Gjpw_O.js";
16
16
  import { StandardJSONSchemaV1, StandardSchemaV1 as StandardSchemaV1$1 } from "@standard-schema/spec";
@@ -1,7 +1,7 @@
1
1
  import { b as DbError } from "./result-BREt7qOh.js";
2
- import { r as AuthState } from "./resolve-Bqb8TMTt.js";
3
- import { t as AuthSession } from "./view-Bf7e07rQ.js";
4
- import { r as GuardOptions } from "./respond-CEBC6KUX.js";
2
+ import { r as AuthState } from "./resolve-Ceft-18-.js";
3
+ import { t as AuthSession } from "./view-KQhe6eNc.js";
4
+ import { r as GuardOptions } from "./respond-BSL36dQp.js";
5
5
  import { StandardSchemaV1 } from "@standard-schema/spec";
6
6
  //#region src/server/kit.d.ts
7
7
  /** What a server action returns: plain data, safe across any serialization boundary. */
@@ -4,7 +4,7 @@ import { n as Logger } from "./logger-DWVYUmwi.js";
4
4
  import { t as BlockTransport } from "./block-transport-DezJPPA0.js";
5
5
  import { r as BlockTemporalOptions } from "./block-helpers-CjcQM1yA.js";
6
6
  import { n as BlockHooks } from "./block-hooks-DcPJHztl.js";
7
- import { f as AiFiles, o as AiFile } from "./types-DO9xWsGC.js";
7
+ import { f as AiFiles, o as AiFile } from "./types-DOC7wnh6.js";
8
8
  import { g as JobHandler } from "./types-BEEFkNFY.js";
9
9
  //#region src/blocks/knowledge/knowledge.d.ts
10
10
  /**
@@ -1,4 +1,4 @@
1
1
  import { _ as FilterRule, a as FilterDateValue, b as encodeFilterQuery, c as FilterFieldLabels, f as FilterNode, g as FilterRelativeDate, h as FilterQuery, i as FilterCombinator, l as FilterFieldType, m as FilterOperatorSpec, n as FILTER_OPERATOR_LABELS, o as FilterField, p as FilterOperatorArity, r as FilterClock, s as FilterFieldInfo, t as FILTER_OPERATORS, u as FilterGroupNode, v as ListFilterConfig, y as decodeFilterQuery } from "../filter-query-Bc_Qa8V_.js";
2
- import { _ as UNSET, a as ListExtra, c as ListParseOptions, d as ListQuery, f as ListQueryConfig, g as ParserSpec, h as OpenApiParameter, i as ListDefinition, l as ListParseResult, m as ListSearchParams, n as FacetCounts, o as ListPage, p as ListQueryInput, r as FacetInfo, s as ListPagination, t as FacetCountFields, u as ListParsers, v as defineListQuery } from "../list-query-FhFXzObg.js";
2
+ import { _ as UNSET, a as ListExtra, c as ListParseOptions, d as ListQuery, f as ListQueryConfig, g as ParserSpec, h as OpenApiParameter, i as ListDefinition, l as ListParseResult, m as ListSearchParams, n as FacetCounts, o as ListPage, p as ListQueryInput, r as FacetInfo, s as ListPagination, t as FacetCountFields, u as ListParsers, v as defineListQuery } from "../list-query-aXr2WkGA.js";
3
3
  import { n as FilterRecordField, r as evaluateFilterQuery, t as FilterEvaluation } from "../filter-evaluate-BJcaL3o1.js";
4
4
  export { FILTER_OPERATORS, FILTER_OPERATOR_LABELS, type FacetCountFields, type FacetCounts, type FacetInfo, type FilterClock, type FilterCombinator, type FilterDateValue, type FilterEvaluation, type FilterField, type FilterFieldInfo, type FilterFieldLabels, type FilterFieldType, type FilterGroupNode, type FilterNode, type FilterOperatorArity, type FilterOperatorSpec, type FilterQuery, type FilterRecordField, type FilterRelativeDate, type FilterRule, type ListDefinition, type ListExtra, type ListFilterConfig, type ListPage, type ListPagination, type ListParseOptions, type ListParseResult, type ListParsers, type ListQuery, type ListQueryConfig, type ListQueryInput, type ListSearchParams, type OpenApiParameter, type ParserSpec, UNSET, decodeFilterQuery, defineListQuery, encodeFilterQuery, evaluateFilterQuery };
@@ -1,7 +1,7 @@
1
1
  import { D as ValidationIssue, t as AsyncResult } from "./result-BREt7qOh.js";
2
2
  import { B as TableKey, N as Row, a as AnyModels, i as AnyFunctions } from "./types-BrpW5ixT.js";
3
3
  import { l as CountMode } from "./executor-BnMC0lj3.js";
4
- import { Bt as WhereInput, E as OffsetPageArgs, F as RepositoryOf, Lt as SelectArg, Nt as Payload, T as OffsetPage, g as CursorPageArgs, h as CursorPage, jt as OrderByArg, t as BetterSupabase, wt as IncludeArg, x as FindExt } from "./define-M_r1d2AT.js";
4
+ import { Bt as WhereInput, E as OffsetPageArgs, F as RepositoryOf, Lt as SelectArg, Nt as Payload, T as OffsetPage, g as CursorPageArgs, h as CursorPage, jt as OrderByArg, t as BetterSupabase, wt as IncludeArg, x as FindExt } from "./define-DYZnvAbs.js";
5
5
  import { c as FilterFieldLabels, h as FilterQuery, o as FilterField, r as FilterClock, s as FilterFieldInfo, v as ListFilterConfig } from "./filter-query-Bc_Qa8V_.js";
6
6
  import { StandardSchemaV1 } from "@standard-schema/spec";
7
7
  //#region src/list/list-query.d.ts
@@ -2,10 +2,10 @@ import { B as TableKey, a as AnyModels, i as AnyFunctions } from "../types-BrpW5
2
2
  import { t as OperationTable } from "../operations-DQCWqkt3.js";
3
3
  import { D as ResourceOperation } from "../model-lUafmeBQ.js";
4
4
  import { s as PermissionRef, t as AnyAuthorizer } from "../authorizer-eiOjo-3l.js";
5
- import { t as BetterSupabase } from "../define-M_r1d2AT.js";
6
- import { a as ServerContext, c as ServerOptions, n as BetterServer } from "../server-types-BKN_R4Ws.js";
7
- import { r as GuardOptions } from "../respond-CEBC6KUX.js";
8
- import { l as ResourceRouteOptions } from "../resource-types-CGr0BbL-.js";
5
+ import { t as BetterSupabase } from "../define-DYZnvAbs.js";
6
+ import { a as ServerContext, c as ServerOptions, n as BetterServer } from "../server-types-fLdep4gb.js";
7
+ import { r as GuardOptions } from "../respond-BSL36dQp.js";
8
+ import { l as ResourceRouteOptions } from "../resource-types-LW1i5-h3.js";
9
9
  import { StandardSchemaV1 } from "@standard-schema/spec";
10
10
  //#region src/mcp/json-rpc.d.ts
11
11
  /** A JSON object. */
package/dist/mcp/index.js CHANGED
@@ -6,7 +6,7 @@ import { a as methodNotAllowed, c as toProblem, o as problemResponse } from "../
6
6
  import { t as SPEC_PINS } from "../spec-pins-S4PymRxp.js";
7
7
  import { t as buildJsonSchema, v as toDraft07 } from "../json-schema-CpYINXG8.js";
8
8
  import { r as operationPermission, t as OPERATION_PREFIXES } from "../operations-CsIfMED7.js";
9
- import { c as extendServer, n as flushEvents, s as createServer } from "../adapter-B2WRsRIg.js";
9
+ import { c as extendServer, n as flushEvents, s as createServer } from "../adapter-CRNH2aX_.js";
10
10
  import { n as jsonResponse, t as jsonReplacer } from "../json-CEnpTHlZ.js";
11
11
  import { o as settle, r as guard, t as defaultExpose } from "../respond-Bhp3G__q.js";
12
12
  import { t as boundedTtlCache } from "../ttl-cache-XzZ-Q2eX.js";
@@ -1,10 +1,10 @@
1
1
  import { a as AnyModels, i as AnyFunctions } from "../../types-BrpW5ixT.js";
2
- import { r as AuthState } from "../../resolve-Bqb8TMTt.js";
3
- import { i as CredentialRef, r as CredentialProvider } from "../../provider-CNs0Jx0I.js";
2
+ import { r as AuthState } from "../../resolve-Ceft-18-.js";
3
+ import { i as CredentialRef, r as CredentialProvider } from "../../provider-DXgx5oSA.js";
4
4
  import { i as SupabaseMcpScope, n as SupabaseMcpModule, r as SupabaseMcpPlatformModule, t as SupabaseMcpFeature } from "../../supabase-mcp-C6tMoEjn.js";
5
- import { t as BetterSupabase } from "../../define-M_r1d2AT.js";
6
- import { a as ServerContext$1, c as ServerOptions, n as BetterServer } from "../../server-types-BKN_R4Ws.js";
7
- import { r as GuardOptions, t as AllowedCaller } from "../../respond-CEBC6KUX.js";
5
+ import { t as BetterSupabase } from "../../define-DYZnvAbs.js";
6
+ import { a as ServerContext$1, c as ServerOptions, n as BetterServer } from "../../server-types-fLdep4gb.js";
7
+ import { r as GuardOptions, t as AllowedCaller } from "../../respond-BSL36dQp.js";
8
8
  import { AuthInfo, CallToolResult, Icon, InputRequiredResult, OAuthTokenVerifier, RegisteredTool, ScopeChallengeHandler, ServerContext, StandardSchemaWithJSON, ToolAnnotations } from "@modelcontextprotocol/server";
9
9
  //#region src/mcp/sdk/sdk.d.ts
10
10
  interface McpAuthOptions extends ServerOptions, Omit<GuardOptions, "scopes"> {
@@ -1,7 +1,7 @@
1
1
  import { n as dbError } from "../../errors-BV1SKTVs.js";
2
2
  import { o as problemResponse } from "../../problem-JRCohp1j.js";
3
3
  import { i as delegationOf } from "../../actor-CAL8mMih.js";
4
- import { c as extendServer, i as resolveToken, n as flushEvents, s as createServer } from "../../adapter-B2WRsRIg.js";
4
+ import { c as extendServer, i as resolveToken, n as flushEvents, s as createServer } from "../../adapter-CRNH2aX_.js";
5
5
  import { r as guard } from "../../respond-Bhp3G__q.js";
6
6
  import { t as withExtra } from "../../extra-CGQ2_q3S.js";
7
7
  import { a as withCors, i as metadataPreflight, n as endpointPreflight, r as isMetadataRequest, t as discovery } from "../../http-DdYadv-o.js";
@@ -1,6 +1,6 @@
1
- import { n as RouteGuardOptions } from "../refusal-CufncwaN.js";
1
+ import { n as RouteGuardOptions } from "../refusal-C7geIBRl.js";
2
2
  import { t as Validated } from "../shared-DDSjEGDR.js";
3
- import { l as ToNodeOptions } from "../index-Bq409YZn.js";
3
+ import { l as ToNodeOptions } from "../index-QWTq2o31.js";
4
4
  import { AnyEntry } from "@supabase/middleware";
5
5
  import { IncomingMessage, ServerResponse } from "node:http";
6
6
  //#region src/nestjs/index.d.ts