better-supabase 0.63.2 → 0.65.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 (467) hide show
  1. package/dist/{adapter-base-DXF0tNJJ.js → adapter-base-BWp_GpBq.js} +1 -1
  2. package/dist/{agents-C8BwEXD0.d.ts → agents-DwZDwOoT.d.ts} +2 -2
  3. package/dist/{ai-schedules-j51dDzm3.d.ts → ai-schedules-Snwu8x_i.d.ts} +1 -1
  4. package/dist/ai-sdk/agents/index.d.ts +1 -1
  5. package/dist/ai-sdk/workflow/index.d.ts +1 -1
  6. package/dist/{api-DhCLHpIU.js → api-DW835Q-a.js} +1 -1
  7. package/dist/{app-tables-Br5Khxij.d.ts → app-tables-Bfqe58WR.d.ts} +1 -1
  8. package/dist/astro/index.js +3 -3
  9. package/dist/{authorization-k0Y3L701.d.ts → authorization-CX-03Zgx.d.ts} +1 -1
  10. package/dist/{bind-CuRPlZYY.d.ts → bind-C9Bu9fgk.d.ts} +3 -3
  11. package/dist/{block-env-hdFBj6FQ.d.ts → block-env-B0azWULB.d.ts} +4 -4
  12. package/dist/{block-tables-1XNfpOPP.d.ts → block-tables-BYfcmfA5.d.ts} +1 -1
  13. package/dist/blocks/access-requests/index.d.ts +1 -1
  14. package/dist/blocks/accounting/index.d.ts +1 -1
  15. package/dist/blocks/acknowledgements/index.d.ts +1 -1
  16. package/dist/blocks/activities/index.d.ts +2 -2
  17. package/dist/blocks/advisories/index.d.ts +1 -1
  18. package/dist/blocks/agent-checkout/index.d.ts +1 -1
  19. package/dist/blocks/agents/index.d.ts +1 -1
  20. package/dist/blocks/ai-cache/index.d.ts +1 -1
  21. package/dist/blocks/ai-chat/index.d.ts +1 -1
  22. package/dist/blocks/ai-evals/index.d.ts +1 -1
  23. package/dist/blocks/ai-files/index.d.ts +1 -1
  24. package/dist/blocks/ai-guardrails/index.d.ts +1 -1
  25. package/dist/blocks/ai-keys/index.d.ts +1 -1
  26. package/dist/blocks/ai-schedules/index.d.ts +2 -2
  27. package/dist/blocks/announcements/index.d.ts +4 -4
  28. package/dist/blocks/api-keys/index.d.ts +1 -1
  29. package/dist/blocks/appraisals/index.d.ts +1 -1
  30. package/dist/blocks/approvals/index.d.ts +1 -1
  31. package/dist/blocks/assets/index.d.ts +2 -2
  32. package/dist/blocks/assignment/index.d.ts +1 -1
  33. package/dist/blocks/attachments/index.d.ts +5 -5
  34. package/dist/blocks/audit/index.d.ts +2 -2
  35. package/dist/blocks/automations/index.d.ts +3 -3
  36. package/dist/blocks/banking/index.d.ts +1 -1
  37. package/dist/blocks/billable-time/index.d.ts +1 -1
  38. package/dist/blocks/billing/index.d.ts +2 -2
  39. package/dist/blocks/bookings/index.d.ts +2 -2
  40. package/dist/blocks/bulk-actions/index.d.ts +2 -2
  41. package/dist/blocks/calendar/index.d.ts +3 -3
  42. package/dist/blocks/care/index.d.ts +27 -27
  43. package/dist/blocks/care-plans/index.d.ts +3 -3
  44. package/dist/blocks/cases/index.d.ts +3 -3
  45. package/dist/blocks/catalog/index.d.ts +2 -2
  46. package/dist/blocks/channels/index.d.ts +1 -1
  47. package/dist/blocks/clinical-decision-support/index.d.ts +1 -1
  48. package/dist/blocks/cms/index.d.ts +5 -5
  49. package/dist/blocks/collaboration/index.d.ts +6 -6
  50. package/dist/blocks/collections/index.d.ts +1 -1
  51. package/dist/blocks/comments/index.d.ts +2 -2
  52. package/dist/blocks/commerce/index.d.ts +5 -5
  53. package/dist/blocks/commissions/index.d.ts +1 -1
  54. package/dist/blocks/compliance/index.d.ts +1 -1
  55. package/dist/blocks/connectors/index.d.ts +1 -1
  56. package/dist/blocks/consents/index.d.ts +2 -2
  57. package/dist/blocks/contacts/index.d.ts +2 -2
  58. package/dist/blocks/content/index.d.ts +2 -2
  59. package/dist/blocks/contracts/index.d.ts +1 -1
  60. package/dist/blocks/courses/index.d.ts +2 -2
  61. package/dist/blocks/created-by/index.d.ts +2 -2
  62. package/dist/blocks/crm/index.d.ts +16 -16
  63. package/dist/blocks/custom-fields/index.d.ts +1 -1
  64. package/dist/blocks/dam/index.d.ts +2 -2
  65. package/dist/blocks/data-lifecycle/index.d.ts +2 -2
  66. package/dist/blocks/deadlines/index.d.ts +1 -1
  67. package/dist/blocks/deals/index.d.ts +1 -1
  68. package/dist/blocks/dispatch/index.d.ts +2 -2
  69. package/dist/blocks/document-templates/index.d.ts +2 -2
  70. package/dist/blocks/documents/index.d.ts +1 -1
  71. package/dist/blocks/domains/index.d.ts +1 -1
  72. package/dist/blocks/donations/index.d.ts +1 -1
  73. package/dist/blocks/drive/index.d.ts +5 -5
  74. package/dist/blocks/e-prescribing/index.d.ts +1 -1
  75. package/dist/blocks/employees/index.d.ts +1 -1
  76. package/dist/blocks/enrichment/index.d.ts +1 -1
  77. package/dist/blocks/enrollments/index.d.ts +2 -2
  78. package/dist/blocks/entitlements/index.d.ts +3 -3
  79. package/dist/blocks/events/index.d.ts +3 -3
  80. package/dist/blocks/expenses/index.d.ts +1 -1
  81. package/dist/blocks/field-history/index.d.ts +1 -1
  82. package/dist/blocks/filespace/index.d.ts +8 -8
  83. package/dist/blocks/finance/index.d.ts +5 -5
  84. package/dist/blocks/flags/index.d.ts +1 -1
  85. package/dist/blocks/forecasts/index.d.ts +1 -1
  86. package/dist/blocks/forms/index.d.ts +3 -3
  87. package/dist/blocks/funding/index.d.ts +2 -2
  88. package/dist/blocks/goals/index.d.ts +1 -1
  89. package/dist/blocks/governance/index.d.ts +4 -4
  90. package/dist/blocks/guests/index.d.ts +1 -1
  91. package/dist/blocks/hiring/index.d.ts +1 -1
  92. package/dist/blocks/identities/index.d.ts +1 -1
  93. package/dist/blocks/imports/index.d.ts +2 -2
  94. package/dist/blocks/inbox/index.d.ts +6 -6
  95. package/dist/blocks/incidents/index.d.ts +1 -1
  96. package/dist/blocks/index.d.ts +3 -3
  97. package/dist/blocks/inspections/index.d.ts +2 -2
  98. package/dist/blocks/inventory/index.d.ts +1 -1
  99. package/dist/blocks/invoices/index.d.ts +1 -1
  100. package/dist/blocks/knowledge/index.d.ts +1 -1
  101. package/dist/blocks/lead-scoring/index.d.ts +2 -2
  102. package/dist/blocks/learning/index.d.ts +3 -3
  103. package/dist/blocks/leases/index.d.ts +1 -1
  104. package/dist/blocks/leave/index.d.ts +1 -1
  105. package/dist/blocks/ledger/index.d.ts +1 -1
  106. package/dist/blocks/legal-entities/index.d.ts +2 -2
  107. package/dist/blocks/lims/index.d.ts +2 -2
  108. package/dist/blocks/mail-sync/index.d.ts +3 -3
  109. package/dist/blocks/maintenance/index.d.ts +2 -2
  110. package/dist/blocks/manufacturing/index.d.ts +2 -2
  111. package/dist/blocks/medications/index.d.ts +1 -1
  112. package/dist/blocks/meetings/index.d.ts +3 -3
  113. package/dist/blocks/memberships/index.d.ts +2 -2
  114. package/dist/blocks/memory/index.d.ts +1 -1
  115. package/dist/blocks/messaging/index.d.ts +5 -5
  116. package/dist/blocks/metrics/index.d.ts +1 -1
  117. package/dist/blocks/mfa/index.d.ts +2 -2
  118. package/dist/blocks/moderation/index.d.ts +2 -2
  119. package/dist/blocks/notifications/index.d.ts +5 -5
  120. package/dist/blocks/numbering/index.d.ts +1 -1
  121. package/dist/blocks/oauth-server/index.d.ts +1 -1
  122. package/dist/blocks/observations/index.d.ts +2 -2
  123. package/dist/blocks/onboarding/index.d.ts +2 -2
  124. package/dist/blocks/option-sets/index.d.ts +2 -2
  125. package/dist/blocks/orders/index.d.ts +1 -1
  126. package/dist/blocks/organizations/index.d.ts +2 -2
  127. package/dist/blocks/outbox/index.d.ts +1 -1
  128. package/dist/blocks/passes/index.d.ts +2 -2
  129. package/dist/blocks/payroll-export/index.d.ts +2 -2
  130. package/dist/blocks/people/index.d.ts +7 -7
  131. package/dist/blocks/periods/index.d.ts +1 -1
  132. package/dist/blocks/permissions/index.d.ts +3 -3
  133. package/dist/blocks/pipelines/index.d.ts +2 -2
  134. package/dist/blocks/posts/index.d.ts +2 -2
  135. package/dist/blocks/procurement/index.d.ts +5 -5
  136. package/dist/blocks/profiles/index.d.ts +1 -1
  137. package/dist/blocks/projects/index.d.ts +7 -7
  138. package/dist/blocks/promotions/index.d.ts +1 -1
  139. package/dist/blocks/prompts/index.d.ts +1 -1
  140. package/dist/blocks/push/index.d.ts +2 -2
  141. package/dist/blocks/qualifications/index.d.ts +2 -2
  142. package/dist/blocks/queue/index.d.ts +2 -2
  143. package/dist/blocks/quotes/index.d.ts +1 -1
  144. package/dist/blocks/rank/index.d.ts +1 -1
  145. package/dist/blocks/reactions/index.d.ts +4 -4
  146. package/dist/blocks/recruiting/index.d.ts +4 -4
  147. package/dist/blocks/referrals/index.d.ts +1 -1
  148. package/dist/blocks/relations/index.d.ts +1 -1
  149. package/dist/blocks/reminders/index.d.ts +1 -1
  150. package/dist/blocks/reviews/index.d.ts +1 -1
  151. package/dist/blocks/rfqs/index.d.ts +2 -2
  152. package/dist/blocks/risks/index.d.ts +2 -2
  153. package/dist/blocks/saas/index.d.ts +12 -12
  154. package/dist/blocks/sales/index.d.ts +1 -1
  155. package/dist/blocks/saved-views/index.d.ts +2 -2
  156. package/dist/blocks/scheduling/index.d.ts +4 -4
  157. package/dist/blocks/scores/index.d.ts +2 -2
  158. package/dist/blocks/search/index.d.ts +3 -3
  159. package/dist/blocks/security-events/index.d.ts +1 -1
  160. package/dist/blocks/segments/index.d.ts +2 -2
  161. package/dist/blocks/sequences/index.d.ts +3 -3
  162. package/dist/blocks/service/index.d.ts +7 -7
  163. package/dist/blocks/service-accounts/index.d.ts +1 -1
  164. package/dist/blocks/sessions/index.d.ts +2 -2
  165. package/dist/blocks/settings/index.d.ts +2 -2
  166. package/dist/blocks/share-links/index.d.ts +1 -1
  167. package/dist/blocks/shifts/index.d.ts +2 -2
  168. package/dist/blocks/shipments/index.d.ts +1 -1
  169. package/dist/blocks/signatures/index.d.ts +2 -2
  170. package/dist/blocks/signing-keys/index.d.ts +1 -1
  171. package/dist/blocks/sla/index.d.ts +1 -1
  172. package/dist/blocks/sso/index.d.ts +1 -1
  173. package/dist/blocks/state-machine/index.d.ts +1 -1
  174. package/dist/blocks/subjects/index.d.ts +2 -2
  175. package/dist/blocks/support/index.d.ts +5 -5
  176. package/dist/blocks/tags/index.d.ts +2 -2
  177. package/dist/blocks/tasks/index.d.ts +2 -2
  178. package/dist/blocks/tax/index.d.ts +2 -2
  179. package/dist/blocks/teams/index.d.ts +1 -1
  180. package/dist/blocks/templates/index.d.ts +1 -1
  181. package/dist/blocks/tills/index.d.ts +1 -1
  182. package/dist/blocks/time-entries/index.d.ts +2 -2
  183. package/dist/blocks/timeline/index.d.ts +1 -1
  184. package/dist/blocks/trash/index.d.ts +1 -1
  185. package/dist/blocks/undo/index.d.ts +2 -2
  186. package/dist/blocks/updated-at/index.d.ts +2 -2
  187. package/dist/blocks/usage/index.d.ts +2 -2
  188. package/dist/blocks/vercel-marketplace/index.d.ts +1 -1
  189. package/dist/blocks/versions/index.d.ts +1 -1
  190. package/dist/blocks/waitlist/index.d.ts +1 -1
  191. package/dist/blocks/warehouse/index.d.ts +1 -1
  192. package/dist/blocks/warranty/index.d.ts +1 -1
  193. package/dist/blocks/webhooks/index.d.ts +1 -1
  194. package/dist/blocks/workflow-editor/index.d.ts +4 -4
  195. package/dist/blocks/workflows/index.d.ts +4 -4
  196. package/dist/{blocks-C2F_SycJ.d.ts → blocks-DuL-Ds3g.d.ts} +11 -3
  197. package/dist/{build-Vd4JkaqJ.js → build-C4utCr_F.js} +1 -1
  198. package/dist/claims/index.d.ts +4 -4
  199. package/dist/{claims-source-fUk4pR24.d.ts → claims-source-Cek93vyw.d.ts} +1 -1
  200. package/dist/cli/{add-B8H-eHVK.js → add-CJunmhIu.js} +11 -11
  201. package/dist/cli/add-D70QLNK7.js +1 -0
  202. package/dist/cli/{add-DzsB2EMd.js → add-FzNe4YLu.js} +2 -2
  203. package/dist/cli/{app-table-files-BNbkk4mU.js → app-table-files-BDmrt2qu.js} +4 -4
  204. package/dist/cli/{app-tables-B9xoTgSg.js → app-tables-C38kyCXS.js} +2 -2
  205. package/dist/cli/{backfill-DxGGF0tw.js → backfill-BafFSdLq.js} +3 -3
  206. package/dist/cli/bin.js +1 -1
  207. package/dist/cli/{blocks-xgk0tdfI.js → blocks-CLZsTRQp.js} +1 -1
  208. package/dist/cli/{blocks-zWXWOGcv.js → blocks-zt9rwTL_.js} +1 -1
  209. package/dist/cli/{cache-DGTzqvsc.js → cache-CEIUM3JG.js} +1 -1
  210. package/dist/cli/{codemod-C63P8ybN.js → codemod-M2rQ1W_U.js} +5 -5
  211. package/dist/cli/{codemod-naming-wb0ni9VH.js → codemod-naming-DfHoYdJU.js} +1 -1
  212. package/dist/cli/{column-renames-Cw-VJmbc.js → column-renames-c21PFef3.js} +2 -2
  213. package/dist/cli/{config-D4AVoIh5.js → config-CVwtXlJf.js} +1 -1
  214. package/dist/cli/{config-By5EbpdJ.js → config-f3sjxKp2.js} +1 -1
  215. package/dist/cli/{content-mapper-DXjq7Wfl.js → content-mapper-DqVf_Fgs.js} +1 -1
  216. package/dist/cli/{db-C4up7wFU.js → db-ZevmfY9U.js} +2 -2
  217. package/dist/cli/{dev-r1oRNl1e.js → dev-D1GK3haS.js} +5 -5
  218. package/dist/cli/{doctor-BHIIEqOU.js → doctor-uoRPUZ8F.js} +19 -19
  219. package/dist/cli/{emit-C6S__22g.js → emit-B_Lm7_wL.js} +2 -2
  220. package/dist/cli/{gen-tasks-D0_qerE6.js → gen-tasks-DqGGUn1q.js} +11 -11
  221. package/dist/cli/{gen-DWNQMbqr.js → gen-wt2ZUpGe.js} +5 -5
  222. package/dist/cli/index.d.ts +1 -1
  223. package/dist/cli/index.js +8 -8
  224. package/dist/cli/{init-DiYhhVtO.js → init-D86uTIWa.js} +9 -9
  225. package/dist/cli/{live-C7AMtQsQ.js → live-BA_a2Jol.js} +2 -2
  226. package/dist/cli/{mcp-DaymIFzT.js → mcp-BAbfqDad.js} +2 -2
  227. package/dist/cli/{memo-backend-DaO-IuUk.js → memo-backend-DhdJmTUc.js} +1 -1
  228. package/dist/cli/{metadata-CsSZ8mZc.js → metadata-CDLkzqxG.js} +4 -4
  229. package/dist/cli/{migrate-Ceai0fte.js → migrate-CdPcq8-a.js} +1 -1
  230. package/dist/cli/{migration-safety-BXKmX5ar.js → migration-safety-Dwfz0WVB.js} +2 -2
  231. package/dist/cli/{module-migration-ueN8AWpK.js → module-migration-DFIsQn_x.js} +1 -1
  232. package/dist/cli/{partition-DMv3-JOr.js → partition-CXNI9PQP.js} +3 -3
  233. package/dist/cli/powersync-Crw4D8xt.js +1 -0
  234. package/dist/cli/{powersync-QpdoYTM1.js → powersync-DrwwjGP-.js} +4 -4
  235. package/dist/cli/{print-CQe9SQD_.js → print-DNSc_N-C.js} +2 -2
  236. package/dist/cli/{providers-DocDgHot.js → providers-QbWlzsWD.js} +1 -1
  237. package/dist/cli/{prune-workflows-w_4KdMR9.js → prune-workflows-BpWuOsJw.js} +3 -3
  238. package/dist/cli/{remove-DvnCBCVe.js → remove-C_qXMRzB.js} +6 -6
  239. package/dist/cli/{render-X1jNuye8.js → render-BETiezmy.js} +5 -5
  240. package/dist/cli/{render-cache-Be5Sm_Eu.js → render-cache-BB0JYz8w.js} +1 -1
  241. package/dist/cli/{run-72NxM1zM.js → run-BOVCY-r-.js} +101 -21
  242. package/dist/cli/{run-BoLLvybx.js → run-Dxc0-5HJ.js} +35 -35
  243. package/dist/cli/seed-CIRl--FX.js +1 -0
  244. package/dist/cli/{seed-BufZFJ_Q.js → seed-DWgxzesp.js} +2 -2
  245. package/dist/cli/{shared-BR48oJN4.js → shared-BaAJV9R_.js} +1 -1
  246. package/dist/cli/{source-aefKuXMY.js → source-1bNLaVRN.js} +1 -1
  247. package/dist/cli/{source-args-CvgOHwlj.js → source-args-BJ0HQoMM.js} +1 -1
  248. package/dist/cli/{spec-CxtMMgXM.js → spec-D4oXGSKz.js} +1 -1
  249. package/dist/cli/{spec-Dvz-C4MP.js → spec-LDMiECv9.js} +2 -2
  250. package/dist/cli/{sql-layout-B2fda2KP.js → sql-layout-C8AdA_Eo.js} +3 -3
  251. package/dist/cli/{squash-D7KwCZHj.js → squash-BB0Kxk8Q.js} +1 -1
  252. package/dist/cli/{sync-DvD3jbb4.js → sync-bBwKCyBW.js} +4 -4
  253. package/dist/cli/{upgrade-hDU5DI6_.js → upgrade-DNukTQY6.js} +5 -5
  254. package/dist/cli/{upgrade-C6Pw49Jc.js → upgrade-DfYVHnuj.js} +5 -5
  255. package/dist/cli/{verify-CR7f21Ri.js → verify-CiUN5skL.js} +2 -2
  256. package/dist/cli/{version-CiDgdPUD.js → version-DfAapHvH.js} +1 -1
  257. package/dist/client/index.d.ts +5 -5
  258. package/dist/client/index.js +1 -1
  259. package/dist/client/native/index.d.ts +4 -4
  260. package/dist/client/native/index.js +2 -2
  261. package/dist/{composite-C13UCNgm.js → composite-RorL_F8I.js} +1 -1
  262. package/dist/config/index.d.ts +4 -4
  263. package/dist/config/index.js +4 -4
  264. package/dist/{config-1kAVpZc_.js → config-BuZW7wNr.js} +3 -3
  265. package/dist/{config-L5_4kg24.js → config-ocvgjLWV.js} +1 -1
  266. package/dist/{context-DtyeoCvj.d.ts → context-CoxeOKXg.d.ts} +3 -3
  267. package/dist/contract/index.d.ts +3 -3
  268. package/dist/{controller-D6ZUjfhv.d.ts → controller-D4dnWk48.d.ts} +1 -1
  269. package/dist/{conversion-BiAEs9ja.d.ts → conversion-BK0OksW-.d.ts} +1 -1
  270. package/dist/create/index.d.ts +4 -4
  271. package/dist/create/index.js +3 -3
  272. package/dist/create/lite/index.d.ts +3 -3
  273. package/dist/create/lite/index.js +4 -4
  274. package/dist/{define-block-DpnCxELV.d.ts → define-block-BNN4jNs1.d.ts} +1 -1
  275. package/dist/{define-runtime-BbNPkt-5.js → define-runtime-DQC2Gjdr.js} +4 -0
  276. package/dist/{define-runtime-full-gpz09qAj.js → define-runtime-full-BIrEQWJR.js} +1 -1
  277. package/dist/{drive-_xuMA2xw.d.ts → drive-CNwty_R6.d.ts} +1 -1
  278. package/dist/edge/index.js +4 -4
  279. package/dist/{entitlements-Djh4bBdj.d.ts → entitlements-CYnE3d6D.d.ts} +2 -2
  280. package/dist/{executor-DABWqMfV.js → executor-D7avvqx3.js} +1 -1
  281. package/dist/expo/index.js +3 -3
  282. package/dist/{extract-DZznUgzb.d.ts → extract-DMI10ymS.d.ts} +1 -1
  283. package/dist/{extras-Cb1ZUvNK.d.ts → extras-DLKG5Qrz.d.ts} +1 -1
  284. package/dist/{field-errors-DSEpFDCa.d.ts → field-errors-B88R19Ds.d.ts} +5 -5
  285. package/dist/{former-permission-keys-FPrqQHXf.js → former-permission-keys-DVwR65bj.js} +1 -1
  286. package/dist/{framework-BQgHM3zD.js → framework-DxCx0pmS.js} +1 -1
  287. package/dist/generators/factories/index.d.ts +1 -1
  288. package/dist/generators/factories/index.js +1 -1
  289. package/dist/generators/index.d.ts +2 -2
  290. package/dist/generators/json-schema/index.d.ts +2 -2
  291. package/dist/generators/json-schema/index.js +1 -1
  292. package/dist/generators/nuqs/index.d.ts +1 -1
  293. package/dist/generators/nuqs/index.js +1 -1
  294. package/dist/generators/standard-schema/index.d.ts +1 -1
  295. package/dist/generators/standard-schema/index.js +1 -1
  296. package/dist/generators/valibot/index.d.ts +1 -1
  297. package/dist/generators/valibot/index.js +1 -1
  298. package/dist/generators/zod/index.d.ts +1 -1
  299. package/dist/generators/zod/index.js +1 -1
  300. package/dist/hono/index.js +3 -3
  301. package/dist/{index-Bx9qRuof.d.ts → index-7zilcSsn.d.ts} +1 -1
  302. package/dist/{index-D9fhYtnp.d.ts → index-95m7aK3r.d.ts} +1 -1
  303. package/dist/{index-DIwhnfIi.d.ts → index-B5_A0px6.d.ts} +2 -2
  304. package/dist/{index-Dsb6-otF.d.ts → index-B62LISft.d.ts} +1 -1
  305. package/dist/{index-DVmqH-jI.d.ts → index-BH0TBQjQ.d.ts} +3 -3
  306. package/dist/{index-CjmtqiRE.d.ts → index-Be44DVw_.d.ts} +1 -1
  307. package/dist/{index-bFOgwrCN.d.ts → index-BezbTIy8.d.ts} +1 -1
  308. package/dist/{index-jJ7Q-AYO.d.ts → index-Bn9uT8zK.d.ts} +2 -2
  309. package/dist/{index-Bt5jJrzR.d.ts → index-BnQd1un1.d.ts} +1 -1
  310. package/dist/{index-1aGCqU0F.d.ts → index-BpB7zXE8.d.ts} +1 -1
  311. package/dist/{index-BEVvxkvW.d.ts → index-BsxetsKr.d.ts} +1 -1
  312. package/dist/{index-DUDYFfnG.d.ts → index-BtBPT0Xd.d.ts} +1 -1
  313. package/dist/{index-BKD8Lkn9.d.ts → index-BuJNFxep.d.ts} +7 -7
  314. package/dist/{index-DtGyj0RU.d.ts → index-ByxPedDM.d.ts} +4 -4
  315. package/dist/{index-BDq77p1R.d.ts → index-C-dzSmym.d.ts} +1 -1
  316. package/dist/{index-BIOLHETk.d.ts → index-C0efZ4-1.d.ts} +1 -1
  317. package/dist/{index-D-LxyjmH.d.ts → index-CGWlGdkC.d.ts} +2 -2
  318. package/dist/{index-B2NJNoRd.d.ts → index-CHpvAU8q.d.ts} +16 -8
  319. package/dist/{index-BiX0gNGQ.d.ts → index-CIC4gEN2.d.ts} +2 -2
  320. package/dist/{index-CygaT0GH.d.ts → index-CIWIKJq9.d.ts} +1 -1
  321. package/dist/{index-Dga-eftL.d.ts → index-CUIQqlYq.d.ts} +4 -4
  322. package/dist/{index-DEHVn5Ma.d.ts → index-Ci5b0O38.d.ts} +1 -1
  323. package/dist/{index-_IFPpPG9.d.ts → index-CuIfFMrc.d.ts} +1 -1
  324. package/dist/{index-RGXgZmyg.d.ts → index-CzJiTefX.d.ts} +2 -2
  325. package/dist/{index-DAYCCmVC.d.ts → index-CzMeb47z.d.ts} +1 -1
  326. package/dist/{index-vOUlkC2o.d.ts → index-D9cT5n3D.d.ts} +1 -1
  327. package/dist/{index-CaE6XZnq.d.ts → index-D9oaJIco.d.ts} +3 -3
  328. package/dist/{index-BAccIXQt.d.ts → index-DIlQq5SD.d.ts} +2 -2
  329. package/dist/{index-CbKxPo6t.d.ts → index-DZBqNuEr.d.ts} +2 -2
  330. package/dist/{index-C8H6hpAP.d.ts → index-DZxb4kuD.d.ts} +2 -2
  331. package/dist/{index-CmHvVWGd.d.ts → index-Dl4NyBCR.d.ts} +1 -1
  332. package/dist/{index-S6WKucTU.d.ts → index-Dpuwg0TF.d.ts} +1 -1
  333. package/dist/{index-BeJMACah.d.ts → index-N---BEYQ.d.ts} +2 -2
  334. package/dist/{index-BREewNqU.d.ts → index-kKRVxhxd.d.ts} +1 -1
  335. package/dist/{index-DitpSLYH.d.ts → index-ljkv6cKx.d.ts} +2 -2
  336. package/dist/{index-C-h2MrvD.d.ts → index-o4u57crs.d.ts} +1 -1
  337. package/dist/{index-TkkZfmGg.d.ts → index-omC5tnCw.d.ts} +1 -1
  338. package/dist/{instances-PZAWgQEX.js → instances-B9oCgEOH.js} +76 -0
  339. package/dist/{json-schema-BwfI_jJ2.js → json-schema-BHx8LHzw.js} +1 -1
  340. package/dist/{manifest-B1bfLbzz.d.ts → manifest-0mtF51MB.d.ts} +1 -1
  341. package/dist/{manifest-C0-rnYge.d.ts → manifest-1Wrn1roh.d.ts} +1 -1
  342. package/dist/{manifest-DiJKbgrM.d.ts → manifest-1scY6yWo.d.ts} +1 -1
  343. package/dist/{manifest-DySuHx51.d.ts → manifest-2xnqzIEk.d.ts} +2 -2
  344. package/dist/{manifest-uAf9hw_t.d.ts → manifest-7jM_DQl2.d.ts} +1 -1
  345. package/dist/{manifest-ByfZrxkk.d.ts → manifest-9foPJ_Fd.d.ts} +1 -1
  346. package/dist/{manifest-BYHJvkqX.d.ts → manifest-B83vvPek.d.ts} +1 -1
  347. package/dist/{manifest-Cf8__tMA.d.ts → manifest-B8ThF_jn.d.ts} +1 -1
  348. package/dist/{manifest-CrO5Gwed.d.ts → manifest-BHwpLaPI.d.ts} +1 -1
  349. package/dist/{manifest-B-5cqXlx.d.ts → manifest-BJ3DoG3E.d.ts} +1 -1
  350. package/dist/{manifest-CzErrA0R.d.ts → manifest-BMLhR4Eg.d.ts} +1 -1
  351. package/dist/{manifest-Bgc-jWOV.d.ts → manifest-BNRs20Uf.d.ts} +1 -1
  352. package/dist/{manifest-rk3V9E0p.d.ts → manifest-BWzHfbrz.d.ts} +1 -1
  353. package/dist/{manifest-C3qUn0ka.d.ts → manifest-BYoi4yhl.d.ts} +1 -1
  354. package/dist/{manifest-C02JeWGr.d.ts → manifest-BZe8-T8v.d.ts} +1 -1
  355. package/dist/{manifest-B1R3o592.d.ts → manifest-B_wuy2Dp.d.ts} +1 -1
  356. package/dist/{manifest-DpW-TJwu.d.ts → manifest-BaElonmS.d.ts} +1 -1
  357. package/dist/{manifest-DgVrJNgv.d.ts → manifest-Batx8PnZ.d.ts} +1 -1
  358. package/dist/{manifest-nsV6ZrZ7.d.ts → manifest-BcgK5CNE.d.ts} +1 -1
  359. package/dist/{manifest-CRe-o25G.d.ts → manifest-BeYe1Tqi.d.ts} +1 -1
  360. package/dist/{manifest-BTZI-Jq1.d.ts → manifest-BlVniNtg.d.ts} +1 -1
  361. package/dist/{manifest-DFRP7LFo.d.ts → manifest-C0fdSZ8P.d.ts} +1 -1
  362. package/dist/{manifest-B__S-85Q.d.ts → manifest-C1hpLMFd.d.ts} +1 -1
  363. package/dist/{manifest-DWS1Hszm.d.ts → manifest-C2msUYGH.d.ts} +1 -1
  364. package/dist/{manifest-CKbJBLaW.d.ts → manifest-CA1Xja1g.d.ts} +1 -1
  365. package/dist/{manifest-D_RJDjHz.d.ts → manifest-CXuwQ864.d.ts} +1 -1
  366. package/dist/{manifest-BGBYLCP-.d.ts → manifest-CYptKcK7.d.ts} +1 -1
  367. package/dist/{manifest-rB3i09ej.d.ts → manifest-CkfGKcp8.d.ts} +1 -1
  368. package/dist/{manifest-BLVRM4WX.d.ts → manifest-ClyZmlqw.d.ts} +1 -1
  369. package/dist/{manifest-4K_pRDrE.d.ts → manifest-CnDmxd8U.d.ts} +1 -1
  370. package/dist/{manifest-DCIvxvg9.d.ts → manifest-CnSYGkcj.d.ts} +1 -1
  371. package/dist/{manifest-CQ1Xpja6.d.ts → manifest-CsFtXBBz.d.ts} +1 -1
  372. package/dist/{manifest-DEf81vUp.d.ts → manifest-CtUjuzks.d.ts} +1 -1
  373. package/dist/{manifest-DH1wX47F.d.ts → manifest-Cw2OY_as.d.ts} +1 -1
  374. package/dist/{manifest-BsuYq-pZ.d.ts → manifest-D0L-FCeR.d.ts} +1 -1
  375. package/dist/{manifest-Ca6Rm4u6.d.ts → manifest-D0bqUKw0.d.ts} +1 -1
  376. package/dist/{manifest-B5y82qsH.d.ts → manifest-D7F15gCk.d.ts} +1 -1
  377. package/dist/{manifest-C46GM61W.d.ts → manifest-DGyxea7P.d.ts} +1 -1
  378. package/dist/{manifest-Qa7Oz8op.d.ts → manifest-DJxtzNlO.d.ts} +1 -1
  379. package/dist/{manifest-BFc_Zpzf.d.ts → manifest-DMlBwnAD.d.ts} +1 -1
  380. package/dist/{manifest-DYMvHTJ4.d.ts → manifest-DO6xgonh.d.ts} +1 -1
  381. package/dist/{manifest-D-IfkyQg.d.ts → manifest-DSMOUOS4.d.ts} +1 -1
  382. package/dist/{manifest-C3-OpYr0.d.ts → manifest-DTo6wGdl.d.ts} +1 -1
  383. package/dist/{manifest-YV2wB81I.d.ts → manifest-DWftB4-k.d.ts} +1 -1
  384. package/dist/{manifest-B9FkI5Za.d.ts → manifest-DZujRBYP.d.ts} +1 -1
  385. package/dist/{manifest-BND77-ps.d.ts → manifest-DdASQqwu.d.ts} +1 -1
  386. package/dist/{manifest-CGnYiIs8.d.ts → manifest-DhxLrgXs.d.ts} +1 -1
  387. package/dist/{manifest-z_JoPdSA.d.ts → manifest-DiVRV5uU.d.ts} +1 -1
  388. package/dist/{manifest-B11QNHpO.d.ts → manifest-Dne-vzLU.d.ts} +1 -1
  389. package/dist/{manifest-DIsc4u7U.d.ts → manifest-Dwlal9hp.d.ts} +1 -1
  390. package/dist/{manifest-BQYkGxek.d.ts → manifest-Dyd4YmHX.d.ts} +1 -1
  391. package/dist/{manifest-CE4rGv9r.d.ts → manifest-Fjo0zGvZ.d.ts} +1 -1
  392. package/dist/{manifest-DF6MWZld.d.ts → manifest-PNunwDTR.d.ts} +1 -1
  393. package/dist/{manifest-BBQmMfq7.d.ts → manifest-QK3zY9yE.d.ts} +1 -1
  394. package/dist/{manifest-iwcDpOkG.d.ts → manifest-aUNaGswA.d.ts} +1 -1
  395. package/dist/{manifest-MIOw1h6u.d.ts → manifest-f3YpFDwr.d.ts} +1 -1
  396. package/dist/{manifest-4zuq-I0U.d.ts → manifest-iw_Mj8TT.d.ts} +1 -1
  397. package/dist/{manifest-D_u0Uhd9.d.ts → manifest-r4Qg9IUj.d.ts} +1 -1
  398. package/dist/{manifest-IWiafJCj.d.ts → manifest-rioWw1Xh.d.ts} +1 -1
  399. package/dist/{manifest-4ZM88myP.d.ts → manifest-svAvvbCb.d.ts} +1 -1
  400. package/dist/{manifest-BLkOEccx.d.ts → manifest-vm3Sbqkq.d.ts} +1 -1
  401. package/dist/{manifest-C9Cs9rtL.d.ts → manifest-z8UXpGBO.d.ts} +1 -1
  402. package/dist/mapper/bin.js +6 -6
  403. package/dist/mcp/index.d.ts +1 -1
  404. package/dist/mcp/index.js +1 -1
  405. package/dist/mcp/sdk/index.js +1 -1
  406. package/dist/{mcp-Cif2SnK4.js → mcp-B6AK8gXQ.js} +3 -3
  407. package/dist/next/index.d.ts +5 -5
  408. package/dist/next/index.js +2 -2
  409. package/dist/next/proxy/index.d.ts +2 -2
  410. package/dist/{operations-C4vxakMi.d.ts → operations-B4iP1805.d.ts} +1 -1
  411. package/dist/orpc/index.js +2 -2
  412. package/dist/otel/index.js +5 -5
  413. package/dist/{permissions-CP5Cwz8h.d.ts → permissions-DM2TO3IW.d.ts} +1 -1
  414. package/dist/{ports-ClJbgoyt.js → ports-BfHdHz1e.js} +1 -1
  415. package/dist/{ports-B1QMhbn5.d.ts → ports-CI4MCK_w.d.ts} +1 -1
  416. package/dist/powersync/index.d.ts +2 -2
  417. package/dist/powersync/index.js +1 -1
  418. package/dist/preset/index.d.ts +4 -4
  419. package/dist/preset/index.js +3 -3
  420. package/dist/{preset-BcwGsW_B.js → preset-DrfMF0Hv.js} +2 -2
  421. package/dist/{preview-ByZwgNq9.d.ts → preview-wfts0f_Q.d.ts} +2 -2
  422. package/dist/{project-DYyr_iyu.js → project-MUYG_cjl.js} +5 -5
  423. package/dist/{push-token-BAcQAeb8.d.ts → push-token-BlbHCW_P.d.ts} +1 -1
  424. package/dist/query/index.d.ts +1 -1
  425. package/dist/react/index.d.ts +5 -5
  426. package/dist/react/index.js +1 -1
  427. package/dist/react/native/index.d.ts +1 -1
  428. package/dist/react/server.d.ts +5 -5
  429. package/dist/react/server.js +1 -1
  430. package/dist/{react-hb2gg5UV.js → react-BkLf1aNc.js} +14 -1
  431. package/dist/react-router/index.js +3 -3
  432. package/dist/realtime/index.d.ts +3 -3
  433. package/dist/{record-form-53Hzv9d9.d.ts → record-form-Do_tZhFZ.d.ts} +1 -1
  434. package/dist/records/index.d.ts +7 -7
  435. package/dist/server/index.d.ts +4 -4
  436. package/dist/server/index.js +4 -4
  437. package/dist/{server-B0T944J9.js → server-DpcMKAt_.js} +1 -1
  438. package/dist/{sign-in-DbXRH5zh.d.ts → sign-in-BK0MoYoZ.d.ts} +4 -4
  439. package/dist/solid/index.d.ts +5 -5
  440. package/dist/solid-start/index.js +3 -3
  441. package/dist/spec/index.js +4 -4
  442. package/dist/sql/index.d.ts +5 -5
  443. package/dist/sql/index.js +2 -2
  444. package/dist/{sql-DPpcMNUF.js → sql-DLM5qTve.js} +82 -4
  445. package/dist/sqlite/index.js +1 -1
  446. package/dist/ssr/index.d.ts +1 -1
  447. package/dist/svelte/index.d.ts +5 -5
  448. package/dist/sveltekit/index.js +3 -3
  449. package/dist/tanstack-start/index.js +3 -3
  450. package/dist/{tenant-tAtS31r8.d.ts → tenant-Cue0nAH2.d.ts} +1 -1
  451. package/dist/testing/index.d.ts +6 -6
  452. package/dist/testing/index.js +3 -3
  453. package/dist/{timeline-BoKhn-Ei.d.ts → timeline-BzwEUkAX.d.ts} +2 -2
  454. package/dist/{topic-BdTuoZRL.d.ts → topic-vKeXr5Iq.d.ts} +1 -1
  455. package/dist/{types-D4wgpab9.d.ts → types-BHPiJK75.d.ts} +2 -2
  456. package/dist/{version-B9H4YoiS.js → version-g50CWvKI.js} +1 -1
  457. package/dist/vue/index.d.ts +5 -5
  458. package/dist/{watch-topic-BjkFSiGe.d.ts → watch-topic-DBvJTKe6.d.ts} +1 -1
  459. package/dist/webmcp/index.d.ts +1 -1
  460. package/dist/webmcp/index.js +1 -1
  461. package/dist/yjs/index.d.ts +1 -1
  462. package/package.json +9 -9
  463. package/schemas/config-v1.json +30 -2
  464. package/skills/better-supabase/references/ui-recipes.md +1174 -532
  465. package/dist/cli/add-BpikP7u5.js +0 -1
  466. package/dist/cli/powersync-CEhwfawV.js +0 -1
  467. package/dist/cli/seed-B3MrC1Qe.js +0 -1
@@ -3,10 +3,10 @@ import { a as hasPlaceholder, f as isFunctionSpec, l as splitPlaceholders, r as
3
3
  import { a as ok } from "./result-DijoXEFG.js";
4
4
  import { n as isRecord$1, t as isList } from "./guards-CsRa6v57.js";
5
5
  import { t as SPEC_PINS } from "./spec-pins-Dlz8OVqi.js";
6
- import { _ as CONFIG_DEFAULTS, d as blockColumnName, f as checkTenantEntry, g as resolveJsonSchema, h as clientFunctions, l as installedBlockSubjects, m as resolveNames, n as checkFormerPermissionKeys, p as entityType, r as renames } from "./former-permission-keys-FPrqQHXf.js";
6
+ import { _ as CONFIG_DEFAULTS, d as blockColumnName, f as checkTenantEntry, g as resolveJsonSchema, h as clientFunctions, l as installedBlockSubjects, m as resolveNames, n as checkFormerPermissionKeys, p as entityType, r as renames } from "./former-permission-keys-DVwR65bj.js";
7
7
  import { t as DEFAULT_CLAIMS } from "./claims-CX-ar1vt.js";
8
8
  import { o as tenantNames, r as composeNames } from "./entity-naming-CUsC8bC1.js";
9
- import { B as resolveBlock, C as columnsWithAccess, E as hiddenColumns, I as PRESET_CATALOG, L as BLOCK_SCOPES, N as createdFromLink, P as link, S as hasComputed, T as hasColumnAccess, V as tenantNameOf, a as isRenamedInstance, g as appTableVersions, i as instancePrefix, l as APP_RANK_COLUMN, m as appTableEventKinds, s as APP_DELETED_AT_COLUMN, w as encryptedColumns, y as lookupColumn } from "./instances-PZAWgQEX.js";
9
+ import { B as resolveBlock, C as columnsWithAccess, E as hiddenColumns, I as PRESET_CATALOG, L as BLOCK_SCOPES, N as createdFromLink, P as link, S as hasComputed, T as hasColumnAccess, V as tenantNameOf, a as isRenamedInstance, g as appTableVersions, i as instancePrefix, l as APP_RANK_COLUMN, m as appTableEventKinds, s as APP_DELETED_AT_COLUMN, w as encryptedColumns, y as lookupColumn } from "./instances-B9oCgEOH.js";
10
10
  import { i as FIELD_FORMATS, n as CUSTOM_FIELD_FORM_TYPES, o as FIELD_FORMAT_VALIDATORS, r as CUSTOM_FIELD_TYPES, s as RATING_BOUNDS, t as CUSTOM_FIELD_CHECKED_FORMATS } from "./field-formats-sLYMh1ZK.js";
11
11
  import { a as sqlString, i as sqlIdent$1 } from "./template-CpYN7hZX.js";
12
12
  import { a as LEGACY_OPTION, n as blockOptions, r as option, t as NO_OPTIONS } from "./options-Bfd-k6yw.js";
@@ -167,7 +167,7 @@ import { n as WARRANTY_STATUSES } from "./warranty-values-BJo_g1F1.js";
167
167
  import { n as WORKFLOW_SDK_WORLD } from "./workflow-sdk-IPsOMGEC.js";
168
168
  import { s as permissionMatches$1 } from "./delegation-CnCIKysL.js";
169
169
  import { n as quoteIdent, t as compileSql } from "./sql-DqCwJ2qB.js";
170
- import { t as provideConnectionRuntime } from "./define-runtime-full-gpz09qAj.js";
170
+ import { t as provideConnectionRuntime } from "./define-runtime-full-BIrEQWJR.js";
171
171
  // src/sql/api-schema.ts
172
172
  /** The roles PostgREST runs a request as. */
173
173
  const API_ROLES = /* @__PURE__ */ new Set([
@@ -2491,7 +2491,7 @@ function createModuleContext(module, namesOf, source = {}) {
2491
2491
  const added = Object.entries(config.eventPayload[type] ?? {});
2492
2492
  if (added.length === 0) return event.payload;
2493
2493
  if (event.row === void 0) throw new TypeError(`${where}.events.payload names "${type}", which module "${module}" records without a row`);
2494
- return `(${event.payload} || jsonb_build_object(${added.map(([key, column]) => `${sqlString(key)}, ${event.row}.${sqlIdent$1(column)}`).join(", ")}))`;
2494
+ return `(${event.payload} || jsonb_build_object(${added.map(([key, column]) => `${sqlString(key)}, ${typeof column === "string" ? `${event.row}.${sqlIdent$1(column)}` : `(${column.sql.replaceAll("{row}", event.row ?? "")})`}`).join(", ")}))`;
2495
2495
  };
2496
2496
  const outbox = (checked) => {
2497
2497
  checkEvent(checked);
@@ -37399,6 +37399,10 @@ const NAMES$131 = {
37399
37399
  permissions: {
37400
37400
  read: "read",
37401
37401
  write: "manage"
37402
+ },
37403
+ search: {
37404
+ title: "name",
37405
+ body: []
37402
37406
  }
37403
37407
  }
37404
37408
  },
@@ -53701,6 +53705,10 @@ const NAMES$121 = {
53701
53705
  permissions: {
53702
53706
  read: "read",
53703
53707
  write: "manage"
53708
+ },
53709
+ search: {
53710
+ title: "customerName",
53711
+ body: []
53704
53712
  }
53705
53713
  }
53706
53714
  } },
@@ -59785,6 +59793,10 @@ const NAMES$119 = {
59785
59793
  permissions: {
59786
59794
  read: "read",
59787
59795
  write: "write"
59796
+ },
59797
+ search: {
59798
+ title: "title",
59799
+ body: []
59788
59800
  }
59789
59801
  }
59790
59802
  },
@@ -82912,6 +82924,10 @@ const NAMES$106 = {
82912
82924
  permissions: {
82913
82925
  read: "read",
82914
82926
  write: "write"
82927
+ },
82928
+ search: {
82929
+ title: "title",
82930
+ body: []
82915
82931
  }
82916
82932
  }
82917
82933
  },
@@ -94214,6 +94230,10 @@ const DISPATCH_NAMES = {
94214
94230
  permissions: {
94215
94231
  read: "read",
94216
94232
  write: "manage"
94233
+ },
94234
+ search: {
94235
+ title: "title",
94236
+ body: []
94217
94237
  }
94218
94238
  }
94219
94239
  },
@@ -97849,6 +97869,10 @@ const NAMES$97 = {
97849
97869
  permissions: {
97850
97870
  read: "read",
97851
97871
  write: "write"
97872
+ },
97873
+ search: {
97874
+ title: "name",
97875
+ body: []
97852
97876
  }
97853
97877
  }
97854
97878
  },
@@ -111224,6 +111248,10 @@ const NAMES$89 = {
111224
111248
  permissions: {
111225
111249
  read: "read",
111226
111250
  write: "manage"
111251
+ },
111252
+ search: {
111253
+ title: "title",
111254
+ body: []
111227
111255
  }
111228
111256
  }
111229
111257
  },
@@ -113746,6 +113774,10 @@ const NAMES$85 = {
113746
113774
  permissions: {
113747
113775
  read: "read",
113748
113776
  write: "manage"
113777
+ },
113778
+ search: {
113779
+ title: "title",
113780
+ body: []
113749
113781
  }
113750
113782
  }
113751
113783
  } },
@@ -117563,6 +117595,10 @@ const NAMES$83 = {
117563
117595
  permissions: {
117564
117596
  read: "read",
117565
117597
  write: "manage"
117598
+ },
117599
+ search: {
117600
+ title: "name",
117601
+ body: []
117566
117602
  }
117567
117603
  }
117568
117604
  },
@@ -119819,6 +119855,7 @@ ${indent}end if;`;
119819
119855
  const payload = (alias, extra = "") => `jsonb_build_object('organizationId', ${alias}.${a("tenant")}, 'applicationId', ${alias}.${a("id")}, 'subjectType', 'application', 'subjectId', ${alias}.${a("id")}::text, 'jobId', ${alias}.${a("job")}, 'candidateType', ${candidateType(alias)}, 'candidateId', ${candidateId(alias)}${extra})`;
119820
119856
  const record = (type, alias, extra = "") => ctx.record({
119821
119857
  type,
119858
+ row: alias,
119822
119859
  payload: payload(alias, extra),
119823
119860
  subject: `'applications/' || ${alias}.${a("id")}::text`,
119824
119861
  tenant: `${alias}.${a("tenant")}::text`,
@@ -119826,6 +119863,7 @@ ${indent}end if;`;
119826
119863
  });
119827
119864
  const jobRecord = (type) => ctx.record({
119828
119865
  type,
119866
+ row: "v_job",
119829
119867
  payload: `jsonb_build_object('organizationId', v_job.${j("tenant")}, 'jobId', v_job.${j("id")}, 'title', v_job.${j("title")})`,
119830
119868
  subject: `'jobs/' || v_job.${j("id")}::text`,
119831
119869
  tenant: `v_job.${j("tenant")}::text`,
@@ -128858,6 +128896,10 @@ const NAMES$76 = {
128858
128896
  permissions: {
128859
128897
  read: "read",
128860
128898
  write: "write"
128899
+ },
128900
+ search: {
128901
+ title: "title",
128902
+ body: []
128861
128903
  }
128862
128904
  }
128863
128905
  },
@@ -144824,6 +144866,10 @@ const NAMES$72 = {
144824
144866
  read: "read",
144825
144867
  write: "write"
144826
144868
  },
144869
+ search: {
144870
+ title: "title",
144871
+ body: []
144872
+ },
144827
144873
  template: "template"
144828
144874
  }
144829
144875
  } },
@@ -147584,6 +147630,10 @@ const NAMES$69 = {
147584
147630
  permissions: {
147585
147631
  read: "read",
147586
147632
  write: "manage"
147633
+ },
147634
+ search: {
147635
+ title: "title",
147636
+ body: []
147587
147637
  }
147588
147638
  }
147589
147639
  } },
@@ -151692,6 +151742,10 @@ const NAMES$67 = {
151692
151742
  permissions: {
151693
151743
  read: "read",
151694
151744
  write: "write"
151745
+ },
151746
+ search: {
151747
+ title: "title",
151748
+ body: []
151695
151749
  }
151696
151750
  }
151697
151751
  },
@@ -154141,6 +154195,10 @@ const NAMES$65 = {
154141
154195
  permissions: {
154142
154196
  read: "read",
154143
154197
  write: "manage"
154198
+ },
154199
+ search: {
154200
+ title: "title",
154201
+ body: []
154144
154202
  }
154145
154203
  }
154146
154204
  },
@@ -174917,6 +174975,10 @@ const NAMES$53 = {
174917
174975
  read: "read",
174918
174976
  write: "manage"
174919
174977
  },
174978
+ search: {
174979
+ title: "number",
174980
+ body: []
174981
+ },
174920
174982
  template: "template"
174921
174983
  }
174922
174984
  },
@@ -187870,6 +187932,10 @@ const NAMES$41 = {
187870
187932
  read: "read",
187871
187933
  write: "write"
187872
187934
  },
187935
+ search: {
187936
+ title: "title",
187937
+ body: []
187938
+ },
187873
187939
  template: "template"
187874
187940
  }
187875
187941
  } },
@@ -194135,6 +194201,10 @@ const NAMES$32 = {
194135
194201
  permissions: {
194136
194202
  read: "read",
194137
194203
  write: "write"
194204
+ },
194205
+ search: {
194206
+ title: "title",
194207
+ body: []
194138
194208
  }
194139
194209
  }
194140
194210
  },
@@ -205187,6 +205257,10 @@ const NAMES$21 = {
205187
205257
  permissions: {
205188
205258
  read: "read",
205189
205259
  write: "manage"
205260
+ },
205261
+ search: {
205262
+ title: "reference",
205263
+ body: []
205190
205264
  }
205191
205265
  }
205192
205266
  },
@@ -217062,6 +217136,10 @@ const NAMES$10 = {
217062
217136
  permissions: {
217063
217137
  read: "read",
217064
217138
  write: "write"
217139
+ },
217140
+ search: {
217141
+ title: "name",
217142
+ body: []
217065
217143
  }
217066
217144
  }
217067
217145
  },
@@ -1,5 +1,5 @@
1
1
  import { i as localEngine } from "../data-engine-MRAlinsa.js";
2
- import { i as checkSqlite, r as sqliteExecutor, t as fromSqliteError } from "../executor-DABWqMfV.js";
2
+ import { i as checkSqlite, r as sqliteExecutor, t as fromSqliteError } from "../executor-D7avvqx3.js";
3
3
  // src/sqlite/engine.ts
4
4
  /**
5
5
  * A UUID v4 from SQLite's `randomblob`, for runtimes without
@@ -1,5 +1,5 @@
1
1
  import { A as parseCookies, C as CookieOptions, D as SessionEncoding, E as CookieWrite, M as serializeCookie, N as sessionCookieName, O as StoredSession, T as CookieScope, a as ResolveAuthOptions, d as resolveAuth, j as readSession, k as applyCookieWrites, n as AuthResolver, r as AuthState, t as AuthResolution, w as CookieRecord } from "../resolve-Pn7KvQ23.js";
2
2
  import { a as sessionStatus, i as clearSessionCookies, n as SessionStatus, o as authContext, r as SessionStatusOptions, t as ClearSessionCookiesOptions } from "../ended-CzWPQkkG.js";
3
3
  import { n as AuthSession, o as toSession } from "../view-DwTCw_jZ.js";
4
- import { r as MembershipClaim } from "../entitlements-Djh4bBdj.js";
4
+ import { r as MembershipClaim } from "../entitlements-CYnE3d6D.js";
5
5
  export { type AuthResolution, type AuthResolver, type AuthSession, type AuthState, type ClearSessionCookiesOptions, type CookieOptions, type CookieRecord, type CookieScope, type CookieWrite, type MembershipClaim, type ResolveAuthOptions, type SessionEncoding, type SessionStatus, type SessionStatusOptions, type StoredSession, applyCookieWrites, authContext, clearSessionCookies, parseCookies, readSession, resolveAuth, serializeCookie, sessionCookieName, sessionStatus, toSession };
@@ -1,15 +1,15 @@
1
1
  import { n as AuthSession } from "../view-DwTCw_jZ.js";
2
- import { _ as LiveQueryHookOptions, a as DataRows, b as ProfileOf, c as DataWrites, d as ActionState, f as BroadcastOptions, g as LiveCountSource, h as LiveCountHookOptions, i as DataRow, l as ActionInputOf, m as ClientLike, n as DataId, o as DataSource, p as ClaimsOf, r as DataListOptions, s as DataState, t as fieldErrorsOf, u as ActionResultOf, v as PresenceHookOptions, x as UseActionOptions, y as PresenceTopic } from "../field-errors-DSEpFDCa.js";
3
- import { t as AuthSnapshot } from "../bind-CuRPlZYY.js";
2
+ import { _ as LiveQueryHookOptions, a as DataRows, b as ProfileOf, c as DataWrites, d as ActionState, f as BroadcastOptions, g as LiveCountSource, h as LiveCountHookOptions, i as DataRow, l as ActionInputOf, m as ClientLike, n as DataId, o as DataSource, p as ClaimsOf, r as DataListOptions, s as DataState, t as fieldErrorsOf, u as ActionResultOf, v as PresenceHookOptions, x as UseActionOptions, y as PresenceTopic } from "../field-errors-B88R19Ds.js";
3
+ import { t as AuthSnapshot } from "../bind-C9Bu9fgk.js";
4
4
  import { b as DbError } from "../result-aun_QZHn.js";
5
5
  import { dt as QuerySpec } from "../db-blocks-BQkHb77X.js";
6
- import { _ as TopicHandlers, m as Topic, p as SubscriptionStatus, r as PresenceMember, t as EventSchemas } from "../topic-BdTuoZRL.js";
6
+ import { _ as TopicHandlers, m as Topic, p as SubscriptionStatus, r as PresenceMember, t as EventSchemas } from "../topic-vKeXr5Iq.js";
7
7
  import { tt as TemplateValues } from "../bucket-BJ03ZblY.js";
8
8
  import { a as BlockQueryActions, c as BlockRefetchOn, i as BlockMutationState, n as BlockEventSource, o as BlockQueryOptions, r as BlockMutationActions, s as BlockQueryState, t as BlockEngineOptions } from "../block-controller-Dy-Jyy8A.js";
9
- import { n as Controller } from "../controller-D6ZUjfhv.js";
9
+ import { n as Controller } from "../controller-D4dnWk48.js";
10
10
  import { Ct as EventMap, E as BlockEventPattern, Et as Events, O as BlockEventsMatching, w as BlockEvent } from "../events-zz8DwtZi.js";
11
11
  import { n as BlockDataOf, r as BlockMethodName, t as BlockArgsOf } from "../block-method-OJA4a62H.js";
12
- import { n as BlockOptions } from "../block-env-hdFBj6FQ.js";
12
+ import { n as BlockOptions } from "../block-env-B0azWULB.js";
13
13
  import { SupabaseClient } from "@supabase/supabase-js";
14
14
  import { QueryClient } from "@tanstack/query-core";
15
15
  import { Readable } from "svelte/store";
@@ -2,12 +2,12 @@ import { t as DbException } from "../db-exception-Dv18UZ-I.js";
2
2
  import { n as bufferInPlace, t as around } from "../shared-Ci1g9nl4.js";
3
3
  import { r as dbErrorOf } from "../errors-DK1wGb9z.js";
4
4
  import { c as toProblem } from "../problem-BwplIuhI.js";
5
- import { t as adapterBase } from "../adapter-base-DXF0tNJJ.js";
5
+ import { t as adapterBase } from "../adapter-base-BWp_GpBq.js";
6
6
  import { _ as withFlush } from "../sessions-w6xril_l.js";
7
- import { a as platformWaitUntil, i as localsOf, n as actionInput, r as frameworkEntry } from "../framework-BQgHM3zD.js";
7
+ import { a as platformWaitUntil, i as localsOf, n as actionInput, r as frameworkEntry } from "../framework-DxCx0pmS.js";
8
8
  import { i as requireCaller, o as runAction } from "../kit-BgRTtW9w.js";
9
9
  import { i as refusalTarget } from "../refusal-CgSrkirX.js";
10
- import { n as extendServer, t as createServer } from "../server-B0T944J9.js";
10
+ import { n as extendServer, t as createServer } from "../server-DpcMKAt_.js";
11
11
  import { r as tagFor } from "../tags-CW-KvjdL.js";
12
12
  // src/bridges/sveltekit.ts
13
13
  /**
@@ -1,10 +1,10 @@
1
1
  import { n as bufferInPlace, t as around } from "../shared-Ci1g9nl4.js";
2
- import { t as adapterBase } from "../adapter-base-DXF0tNJJ.js";
2
+ import { t as adapterBase } from "../adapter-base-BWp_GpBq.js";
3
3
  import { _ as withFlush } from "../sessions-w6xril_l.js";
4
- import { i as localsOf, r as frameworkEntry } from "../framework-BQgHM3zD.js";
4
+ import { i as localsOf, r as frameworkEntry } from "../framework-DxCx0pmS.js";
5
5
  import { i as requireCaller, o as runAction } from "../kit-BgRTtW9w.js";
6
6
  import { r as refusalResponse } from "../refusal-CgSrkirX.js";
7
- import { n as extendServer, t as createServer } from "../server-B0T944J9.js";
7
+ import { n as extendServer, t as createServer } from "../server-DpcMKAt_.js";
8
8
  // src/bridges/tanstack-start.ts
9
9
  /**
10
10
  * The `response` of a request middleware's `next()` result; server function
@@ -1,4 +1,4 @@
1
- import { n as ClaimsSource } from "./claims-source-fUk4pR24.js";
1
+ import { n as ClaimsSource } from "./claims-source-Cek93vyw.js";
2
2
  /**
3
3
  * The active tenant of a user session: the `claim` claim (`tenant_id` by
4
4
  * default, as `config.claims.tenant`) at the top level of the token, then in
@@ -13,28 +13,28 @@ import { i as EventSink, t as CloudEvent } from "../cloud-event-B0AsPtwP.js";
13
13
  import { n as Money } from "../money-BgpAd7d3.js";
14
14
  import { n as Payment, o as PaymentProvider } from "../payments-CE1UK-Kj.js";
15
15
  import { r as WebhookInput } from "../signatures-Db_koMbq.js";
16
- import { tn as FieldPack, w as AnyRecordBinding } from "../define-block-DpnCxELV.js";
16
+ import { tn as FieldPack, w as AnyRecordBinding } from "../define-block-BNN4jNs1.js";
17
17
  import { l as TaxProvider, r as TaxAddress } from "../tax-fBGOPO9u.js";
18
18
  import { Q as EInvoiceChannel, et as EInvoiceDocument, lt as EInvoiceEndpoint, t as Invoice } from "../invoices-L6khZ9kt.js";
19
19
  import { p as ShippingProvider, s as ShipmentAddress } from "../carrier-CxbhGVXO.js";
20
20
  import { O as IncomingDestination, f as WebhookSecretStore, o as WebhookSigner, v as WebhookTransport } from "../signers-FVeDbZxq.js";
21
21
  import { L as QueueProvider } from "../types-DerSPnBG.js";
22
22
  import { w as SupportSessionStore } from "../support-8jVUURe-.js";
23
- import { n as Controller } from "../controller-D6ZUjfhv.js";
23
+ import { n as Controller } from "../controller-D4dnWk48.js";
24
24
  import { r as GuardOptions } from "../respond-vxhdVf23.js";
25
25
  import { s as ServerContext, u as ServerOptions } from "../server-types-Bax89ShV.js";
26
26
  import { a as BlockTransportMiddleware } from "../block-hooks-b7-RUIxS.js";
27
- import { c as AuthorizationProvider } from "../authorization-k0Y3L701.js";
27
+ import { c as AuthorizationProvider } from "../authorization-CX-03Zgx.js";
28
28
  import { i as AuthorizationHooks } from "../authorization-hooks-Oe0WJTn2.js";
29
29
  import { a as DeliveryTransport } from "../delivery-CWcbh87x.js";
30
30
  import { l as VersionOf, t as AnyDocumentFormat } from "../format-BT0Z3V54.js";
31
31
  import { t as ApiModel } from "../model-Lxa_mOzB.js";
32
- import { Ct as ResolvedConfig, Er as GeneratorInput, hr as Generator, kr as GeneratorModel } from "../context-DtyeoCvj.js";
32
+ import { Ct as ResolvedConfig, Er as GeneratorInput, hr as Generator, kr as GeneratorModel } from "../context-CoxeOKXg.js";
33
33
  import { l as Transcriber, s as NoteTaker, u as TranscriberInput } from "../recordings-C1BOyHYu.js";
34
34
  import { o as VulnerabilityFeed } from "../feed-cS7xrEWS.js";
35
- import { c as AiTaskRunner, o as AiTaskRun, r as AiTask } from "../ai-schedules-j51dDzm3.js";
35
+ import { c as AiTaskRunner, o as AiTaskRun, r as AiTask } from "../ai-schedules-Snwu8x_i.js";
36
36
  import { _ as ClinicalDecisionSupport, l as CareDecisionContext } from "../clinical-decision-support-D6FWGbEw.js";
37
- import { n as DriveTextFile, s as TextExtractor } from "../extract-DZznUgzb.js";
37
+ import { n as DriveTextFile, s as TextExtractor } from "../extract-DMI10ymS.js";
38
38
  import { i as Prescription, r as PrescribedOrder, s as PrescriptionGateway } from "../e-prescribing-CP0lcOje.js";
39
39
  import { D as FundingRenderedClaim, c as FundingClaim, f as FundingClaimFormat, l as FundingClaimChannel, p as FundingClaimLine } from "../funding-B4vqlKq2.js";
40
40
  import { r as Embedder } from "../knowledge-CSWQouuC.js";
@@ -1,7 +1,7 @@
1
1
  import { i as fromBase64, o as toBase64Url, t as base64ToText } from "../base64-DgNIlSAS.js";
2
2
  import { t as DbException } from "../db-exception-Dv18UZ-I.js";
3
3
  import { n as dbError } from "../errors-DK1wGb9z.js";
4
- import { t as provideConnectionRuntime } from "../define-runtime-full-gpz09qAj.js";
4
+ import { t as provideConnectionRuntime } from "../define-runtime-full-BIrEQWJR.js";
5
5
  import { ENV_VARIABLES } from "../env/index.js";
6
6
  import { t as postgresExecutor } from "../executor-BWg7xw7c.js";
7
7
  import { i as seedLite, n as loadLite, r as migrateLite, t as LITE_INSTALL } from "../runtime-sBnEajcK.js";
@@ -34,8 +34,8 @@ import { t as AUTHZ_VERSION_CLAIM } from "../claim-names-B3KyK7Js.js";
34
34
  import { c as snapshotOf } from "../snapshot-C1KUHKTc.js";
35
35
  import { c as requestOf, i as defineAuthorizer, r as checkPermission } from "../authorizer-DtUCjKBn.js";
36
36
  import { t as mailHeaders } from "../delivery-SmPHu2_H.js";
37
- import { t as defineApiModel } from "../build-Vd4JkaqJ.js";
38
- import { i as resolveConfig, r as generatorProblem } from "../config-1kAVpZc_.js";
37
+ import { t as defineApiModel } from "../build-C4utCr_F.js";
38
+ import { i as resolveConfig, r as generatorProblem } from "../config-BuZW7wNr.js";
39
39
  import { i as embedVectors } from "../knowledge-LNI5C6QT.js";
40
40
  import { n as toFhirPrescription } from "../prescriptions-CzY13vFr.js";
41
41
  import { a as CARE_BUILT_IN_SOURCE, n as CARE_ALERT_KINDS, r as CARE_ALERT_SEVERITIES } from "../clinical-decision-support-values-Bk1AzL7L.js";
@@ -1,8 +1,8 @@
1
1
  import { D as ValidationIssue, t as AsyncResult } from "./result-aun_QZHn.js";
2
2
  import { et as RecordRef } from "./types-Dizn1liT.js";
3
- import { D as RecordBindingData, R as TimelineItem, j as RecordBindingResult } from "./define-block-DpnCxELV.js";
3
+ import { D as RecordBindingData, R as TimelineItem, j as RecordBindingResult } from "./define-block-BNN4jNs1.js";
4
4
  import { o as FilterField } from "./filter-query-DwJ1iMQ0.js";
5
- import { A as BindingBlocks, F as LoadBindingsOptions, M as BindingName, N as BindingOf, P as BindingSource, V as PermissionSet, _ as RecordTypeBlocks, g as RecordType, h as RecordCan } from "./index-DUDYFfnG.js";
5
+ import { A as BindingBlocks, F as LoadBindingsOptions, M as BindingName, N as BindingOf, P as BindingSource, V as PermissionSet, _ as RecordTypeBlocks, g as RecordType, h as RecordCan } from "./index-BtBPT0Xd.js";
6
6
  import { _ as ListSearchParams, u as ListParseOptions } from "./list-query-0IoIyFnQ.js";
7
7
  /**
8
8
  * How a binding fills a list column: `count` is how many rows it has (the
@@ -1,4 +1,4 @@
1
- import { n as AuthorizationFunctions } from "./authorization-k0Y3L701.js";
1
+ import { n as AuthorizationFunctions } from "./authorization-CX-03Zgx.js";
2
2
  import { g as SubscriberPolicy, h as SubscriberEvent, i as AuthorizationHooks, m as Subscriber } from "./authorization-hooks-Oe0WJTn2.js";
3
3
  import { s as BetterSupabase } from "./db-blocks-BQkHb77X.js";
4
4
  import { D as ValidationIssue, b as DbError, t as AsyncResult } from "./result-aun_QZHn.js";
@@ -1,5 +1,5 @@
1
- import { kr as Preset } from "./define-block-DpnCxELV.js";
2
- import { Qr as AppColumnType, Yr as AppColumnAccess, Zr as AppColumnFormat, ei as AppOnDeleteAction, on as DesignErrorCode, ui as AppTableVersions } from "./context-DtyeoCvj.js";
1
+ import { kr as Preset } from "./define-block-BNN4jNs1.js";
2
+ import { Qr as AppColumnType, Yr as AppColumnAccess, Zr as AppColumnFormat, ei as AppOnDeleteAction, on as DesignErrorCode, ui as AppTableVersions } from "./context-CoxeOKXg.js";
3
3
  /** Where in the project pipeline an issue came from. */
4
4
  type IssueSource = "design" | "rules" | "sql" | "seeds" | "verifier" | "plan";
5
5
  type IssueSeverity = "error" | "warning" | "info";
@@ -1,3 +1,3 @@
1
1
  // src/core/version.ts
2
- const VERSION = "0.63.2";
2
+ const VERSION = "0.65.0";
3
3
  export { VERSION as t };
@@ -1,16 +1,16 @@
1
1
  import { t as SupportView } from "../support-view-CfyHFSq4.js";
2
2
  import { n as AuthSession } from "../view-DwTCw_jZ.js";
3
- import { _ as LiveQueryHookOptions, a as DataRows, b as ProfileOf, c as DataWrites, d as ActionState, f as BroadcastOptions, g as LiveCountSource, h as LiveCountHookOptions, i as DataRow, l as ActionInputOf, m as ClientLike, n as DataId, o as DataSource, p as ClaimsOf, r as DataListOptions, s as DataState, t as fieldErrorsOf, u as ActionResultOf, v as PresenceHookOptions, x as UseActionOptions, y as PresenceTopic } from "../field-errors-DSEpFDCa.js";
4
- import { t as AuthSnapshot } from "../bind-CuRPlZYY.js";
3
+ import { _ as LiveQueryHookOptions, a as DataRows, b as ProfileOf, c as DataWrites, d as ActionState, f as BroadcastOptions, g as LiveCountSource, h as LiveCountHookOptions, i as DataRow, l as ActionInputOf, m as ClientLike, n as DataId, o as DataSource, p as ClaimsOf, r as DataListOptions, s as DataState, t as fieldErrorsOf, u as ActionResultOf, v as PresenceHookOptions, x as UseActionOptions, y as PresenceTopic } from "../field-errors-B88R19Ds.js";
4
+ import { t as AuthSnapshot } from "../bind-C9Bu9fgk.js";
5
5
  import { b as DbError } from "../result-aun_QZHn.js";
6
6
  import { dt as QuerySpec } from "../db-blocks-BQkHb77X.js";
7
- import { _ as TopicHandlers, m as Topic, p as SubscriptionStatus, r as PresenceMember, t as EventSchemas } from "../topic-BdTuoZRL.js";
7
+ import { _ as TopicHandlers, m as Topic, p as SubscriptionStatus, r as PresenceMember, t as EventSchemas } from "../topic-vKeXr5Iq.js";
8
8
  import { tt as TemplateValues } from "../bucket-BJ03ZblY.js";
9
9
  import { a as BlockQueryActions, c as BlockRefetchOn, i as BlockMutationState, n as BlockEventSource, o as BlockQueryOptions, r as BlockMutationActions, s as BlockQueryState, t as BlockEngineOptions } from "../block-controller-Dy-Jyy8A.js";
10
- import { n as Controller } from "../controller-D6ZUjfhv.js";
10
+ import { n as Controller } from "../controller-D4dnWk48.js";
11
11
  import { n as BlockDataOf, r as BlockMethodName, t as BlockArgsOf } from "../block-method-OJA4a62H.js";
12
12
  import { Ct as EventMap, E as BlockEventPattern, Et as Events, O as BlockEventsMatching, w as BlockEvent } from "../events-zz8DwtZi.js";
13
- import { n as BlockOptions } from "../block-env-hdFBj6FQ.js";
13
+ import { n as BlockOptions } from "../block-env-B0azWULB.js";
14
14
  import { SupabaseClient } from "@supabase/supabase-js";
15
15
  import { QueryClient } from "@tanstack/query-core";
16
16
  import { App, ComputedRef, MaybeRefOrGetter, Ref, ShallowRef } from "vue";
@@ -1,4 +1,4 @@
1
- import { c as RealtimeClient, p as SubscriptionStatus } from "./topic-BdTuoZRL.js";
1
+ import { c as RealtimeClient, p as SubscriptionStatus } from "./topic-vKeXr5Iq.js";
2
2
  interface TopicWatch {
3
3
  readonly onMessage: (event: string, payload: unknown) => void;
4
4
  readonly onRejoin: () => void;
@@ -1,4 +1,4 @@
1
- import { r as McpTool } from "../index-bFOgwrCN.js";
1
+ import { r as McpTool } from "../index-BezbTIy8.js";
2
2
  import { O as AnyFunctions, k as AnyModels } from "../types-Dizn1liT.js";
3
3
  /** A `Result` of a block repository method, typed structurally. */
4
4
  interface ActionResult<T> {
@@ -1,4 +1,4 @@
1
- import { n as defineTool } from "../mcp-Cif2SnK4.js";
1
+ import { n as defineTool } from "../mcp-B6AK8gXQ.js";
2
2
  // src/webmcp/webmcp.ts
3
3
  /** The WebMCP tool name rule: 1 to 128 ASCII letters, digits, `_`, `-` or `.`. */
4
4
  const TOOL_NAME = /^[A-Za-z0-9_.-]{1,128}$/;
@@ -1,5 +1,5 @@
1
1
  import { a as DocumentSuggestion, d as OpenedDocument, l as Documents, r as DocumentRef, t as DecidedSuggestion } from "../documents-B8Q_BKha.js";
2
- import { c as RealtimeClient, r as PresenceMember } from "../topic-BdTuoZRL.js";
2
+ import { c as RealtimeClient, r as PresenceMember } from "../topic-vKeXr5Iq.js";
3
3
  import { t as AsyncResult } from "../result-aun_QZHn.js";
4
4
  type PresenceState = Readonly<Record<string, unknown>>;
5
5
  /** The part of a `Y.Doc` the provider uses. */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "better-supabase",
3
- "version": "0.63.2",
3
+ "version": "0.65.0",
4
4
  "description": "Strongly typed Supabase: generated schema, typed repositories, plugins, auth glue, framework integrations and the better-supabase CLI.",
5
5
  "keywords": [
6
6
  "cli",
@@ -1253,7 +1253,6 @@
1253
1253
  "@ai-sdk/react": "4.0.169",
1254
1254
  "@ai-sdk/sandbox-vercel": "1.0.176",
1255
1255
  "@ai-sdk/workflow": "2.0.97",
1256
- "@arethetypeswrong/cli": "0.18.5",
1257
1256
  "@better-supabase/typescript-config": "0.0.0",
1258
1257
  "@chat-adapter/catalog": "4.44.0",
1259
1258
  "@chat-adapter/state-pg": "4.44.0",
@@ -1265,7 +1264,7 @@
1265
1264
  "@modelcontextprotocol/client": "2.4.0",
1266
1265
  "@modelcontextprotocol/server": "2.4.0",
1267
1266
  "@nestjs/common": "12.1.3",
1268
- "@next/playwright": "16.4.5",
1267
+ "@next/playwright": "16.4.6",
1269
1268
  "@openfeature/server-sdk": "1.23.0",
1270
1269
  "@opentelemetry/api": "1.9.1",
1271
1270
  "@orpc/contract": "2.0.0-beta.49",
@@ -1300,7 +1299,7 @@
1300
1299
  "@vercel/detect-agent": "1.2.5",
1301
1300
  "@vercel/queue": "0.8.0",
1302
1301
  "@vercel/sandbox": "3.9.1",
1303
- "@vitest/coverage-v8": "5.0.5",
1302
+ "@vitest/coverage-v8": "5.1.0",
1304
1303
  "@workflow/vitest": "5.0.8",
1305
1304
  "@workflow/world": "5.1.0",
1306
1305
  "@workflow/world-postgres": "5.1.1",
@@ -1328,11 +1327,11 @@
1328
1327
  "hono": "4.13.17",
1329
1328
  "jsonpath-rfc9535": "1.3.0",
1330
1329
  "koa": "3.3.0",
1331
- "next": "16.4.5",
1330
+ "next": "16.4.6",
1332
1331
  "nuqs": "2.10.2",
1333
1332
  "nuxt": "4.6.4",
1334
1333
  "oxfmt": "0.74.0",
1335
- "oxlint": "1.92.0",
1334
+ "oxlint": "1.93.0",
1336
1335
  "pg": "8.23.1",
1337
1336
  "publint": "0.3.25",
1338
1337
  "react": "19.3.1",
@@ -1353,7 +1352,7 @@
1353
1352
  "typescript": "7.0.2",
1354
1353
  "undici": "8.12.4",
1355
1354
  "valibot": "1.5.0",
1356
- "vitest": "5.0.5",
1355
+ "vitest": "5.1.0",
1357
1356
  "vue": "3.5.45",
1358
1357
  "workflow": "5.4.0",
1359
1358
  "yaml": "2.9.1",
@@ -1652,12 +1651,13 @@
1652
1651
  "bench:live": "node tests/bench/postgrest-floor.ts && node tests/bench/executors.ts",
1653
1652
  "bench:sql": "node tests/bench/approval-eligible-ids.ts && node tests/bench/audit-statement.ts",
1654
1653
  "build": "tsdown",
1655
- "check:publish": "publint && pnpm pack --out pack.tgz && attw --profile esm-only pack.tgz && rm -f pack.tgz",
1654
+ "check:publish": "publint",
1656
1655
  "gen:check": "node scripts/gen-fixtures.ts --check",
1657
1656
  "gen:config-schema": "node scripts/gen-config-schema.ts",
1658
1657
  "gen:fixtures": "node scripts/gen-fixtures.ts",
1659
1658
  "lint": "oxlint",
1660
- "test": "vitest run --project unit --coverage",
1659
+ "test": "vitest run --project unit",
1660
+ "test:coverage": "vitest run --project unit --coverage",
1661
1661
  "typecheck": "tsc --noEmit"
1662
1662
  }
1663
1663
  }
@@ -3764,7 +3764,21 @@
3764
3764
  "additionalProperties": {
3765
3765
  "type": "object",
3766
3766
  "additionalProperties": {
3767
- "type": "string"
3767
+ "anyOf": [
3768
+ {
3769
+ "type": "string"
3770
+ },
3771
+ {
3772
+ "type": "object",
3773
+ "properties": {
3774
+ "sql": {
3775
+ "type": "string"
3776
+ }
3777
+ },
3778
+ "required": ["sql"],
3779
+ "additionalProperties": false
3780
+ }
3781
+ ]
3768
3782
  }
3769
3783
  }
3770
3784
  }
@@ -4062,7 +4076,21 @@
4062
4076
  "additionalProperties": {
4063
4077
  "type": "object",
4064
4078
  "additionalProperties": {
4065
- "type": "string"
4079
+ "anyOf": [
4080
+ {
4081
+ "type": "string"
4082
+ },
4083
+ {
4084
+ "type": "object",
4085
+ "properties": {
4086
+ "sql": {
4087
+ "type": "string"
4088
+ }
4089
+ },
4090
+ "required": ["sql"],
4091
+ "additionalProperties": false
4092
+ }
4093
+ ]
4066
4094
  }
4067
4095
  }
4068
4096
  }