better-supabase 0.60.0 → 0.61.1

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 (742) hide show
  1. package/api/naming.json +1994 -0
  2. package/dist/{account-parts-D-cLYi0Y.d.ts → account-parts-DtC5voD1.d.ts} +3 -3
  3. package/dist/{activities-BkfN6cef.d.ts → activities-BMQuBkrQ.d.ts} +8 -8
  4. package/dist/{adapter-base-BHtxRoRg.js → adapter-base-DGiRWzEo.js} +2 -2
  5. package/dist/{agents-FJk0CNex.d.ts → agents-3wTmHYZr.d.ts} +6 -6
  6. package/dist/{agents-B8kXBfH9.d.ts → agents-NaSREeo_.d.ts} +4 -4
  7. package/dist/{ai-cache-DfbYR_jG.d.ts → ai-cache-CKOJ9cLZ.d.ts} +4 -4
  8. package/dist/{ai-chat-DyffOt16.d.ts → ai-chat-C8FEgeTd.d.ts} +4 -4
  9. package/dist/{ai-guardrails-y6RVvDOH.d.ts → ai-guardrails-fzpJmgzI.d.ts} +3 -3
  10. package/dist/{ai-schedules-wlL3DKqu.d.ts → ai-schedules-CtxaSWA1.d.ts} +5 -5
  11. package/dist/ai-sdk/agents/index.d.ts +2 -2
  12. package/dist/ai-sdk/batches/index.d.ts +3 -3
  13. package/dist/ai-sdk/cache/index.d.ts +1 -1
  14. package/dist/ai-sdk/chat/index.d.ts +2 -2
  15. package/dist/ai-sdk/embeddings/index.d.ts +2 -2
  16. package/dist/ai-sdk/files/index.d.ts +1 -1
  17. package/dist/ai-sdk/index.d.ts +8 -8
  18. package/dist/ai-sdk/mcp/index.d.ts +3 -3
  19. package/dist/ai-sdk/memory/index.d.ts +3 -3
  20. package/dist/ai-sdk/workflow/index.d.ts +4 -4
  21. package/dist/ai-sdk/workflow/index.js +1 -1
  22. package/dist/{api-Clu-XitC.js → api-Dq7hOzxh.js} +1 -1
  23. package/dist/{api-keys-BlfwKpXq.d.ts → api-keys-Bfk9mJgz.d.ts} +4 -4
  24. package/dist/{api-CSx2F4zg.d.ts → api-pGkHTqH6.d.ts} +5 -5
  25. package/dist/{app-tables-C_bRG0ek.d.ts → app-tables-BHoeMC9w.d.ts} +1 -1
  26. package/dist/{approvals-Dn_DM4Oi.d.ts → approvals-B1mzlyzk.d.ts} +6 -6
  27. package/dist/{assistant-53zK5w6Q.d.ts → assistant-BQAjAXDe.d.ts} +2 -2
  28. package/dist/astro/index.d.ts +6 -6
  29. package/dist/astro/index.js +4 -4
  30. package/dist/{auth-module-D_RA-X_y.js → auth-module-B19zCsb4.js} +1 -1
  31. package/dist/{authorization-Cn_oEGoA.d.ts → authorization-glyinWcf.d.ts} +9 -3
  32. package/dist/{authorization-hooks-DtuVzDBf.d.ts → authorization-hooks-Oe0WJTn2.d.ts} +2 -2
  33. package/dist/{authz-refresh-CNV_LFEh.js → authz-refresh-27sp45FG.js} +1 -1
  34. package/dist/{banking-reads-4m0_lltt.js → banking-reads-Baaatsuj.js} +1 -1
  35. package/dist/{base64-CEBz6-Jj.js → base64-DgNIlSAS.js} +1 -1
  36. package/dist/better-result/index.d.ts +3 -3
  37. package/dist/{bind-Dopmkg_T.d.ts → bind-B-NW7-Fd.d.ts} +8 -8
  38. package/dist/{block-controller-CHtFwmpj.d.ts → block-controller-Dy-Jyy8A.d.ts} +2 -2
  39. package/dist/{block-env-4tgXDIAX.d.ts → block-env-BN4cyqTj.d.ts} +4 -4
  40. package/dist/{block-event-listener-B1JTV_Ca.d.ts → block-event-listener-CQrt2JR-.d.ts} +1 -1
  41. package/dist/{block-events-records-x6GNmg6M.d.ts → block-events-records-CUCsDp0S.d.ts} +2 -2
  42. package/dist/{block-helpers-D0QSs8ss.d.ts → block-helpers-DDotKGAf.d.ts} +1 -1
  43. package/dist/{block-hooks-StmUvtuT.d.ts → block-hooks-b7-RUIxS.d.ts} +2 -2
  44. package/dist/{block-subjects-DzCWFD-t.d.ts → block-subjects-CG1x9djp.d.ts} +1 -1
  45. package/dist/{block-tables-KnVB7FH0.d.ts → block-tables-CkbJsNys.d.ts} +1 -1
  46. package/dist/{block-transport-BNMvuuyC.d.ts → block-transport-Bqne7_GN.d.ts} +2 -2
  47. package/dist/blocks/access-requests/index.d.ts +3 -3
  48. package/dist/blocks/accounting/index.d.ts +3 -3
  49. package/dist/blocks/acknowledgements/index.d.ts +2 -2
  50. package/dist/blocks/activities/index.d.ts +6 -6
  51. package/dist/blocks/activities/index.js +1 -1
  52. package/dist/blocks/advisories/index.d.ts +5 -5
  53. package/dist/blocks/agent-checkout/index.d.ts +7 -7
  54. package/dist/blocks/agent-checkout/index.js +2 -2
  55. package/dist/blocks/agents/index.d.ts +5 -5
  56. package/dist/blocks/ai-cache/index.d.ts +3 -3
  57. package/dist/blocks/ai-chat/index.d.ts +4 -4
  58. package/dist/blocks/ai-evals/index.d.ts +4 -4
  59. package/dist/blocks/ai-files/index.d.ts +3 -3
  60. package/dist/blocks/ai-guardrails/index.d.ts +4 -4
  61. package/dist/blocks/ai-keys/index.d.ts +4 -4
  62. package/dist/blocks/ai-schedules/index.d.ts +3 -3
  63. package/dist/blocks/announcements/index.d.ts +8 -8
  64. package/dist/blocks/api-keys/index.d.ts +3 -3
  65. package/dist/blocks/appraisals/index.d.ts +5 -5
  66. package/dist/blocks/approvals/index.d.ts +3 -3
  67. package/dist/blocks/assets/index.d.ts +4 -4
  68. package/dist/blocks/assignment/index.d.ts +3 -3
  69. package/dist/blocks/attachments/index.d.ts +10 -10
  70. package/dist/blocks/audit/index.d.ts +4 -4
  71. package/dist/blocks/audit/index.js +1 -1
  72. package/dist/blocks/automations/index.d.ts +12 -12
  73. package/dist/blocks/banking/index.d.ts +3 -3
  74. package/dist/blocks/banking/index.js +1 -1
  75. package/dist/blocks/billable-time/index.d.ts +3 -3
  76. package/dist/blocks/billing/index.d.ts +6 -6
  77. package/dist/blocks/billing/index.js +1 -1
  78. package/dist/blocks/bookings/index.d.ts +3 -3
  79. package/dist/blocks/bulk-actions/index.d.ts +5 -5
  80. package/dist/blocks/calendar/index.d.ts +3 -3
  81. package/dist/blocks/care/index.d.ts +30 -30
  82. package/dist/blocks/care/index.js +7 -7
  83. package/dist/blocks/care-plans/index.d.ts +6 -6
  84. package/dist/blocks/care-plans/index.js +2 -2
  85. package/dist/blocks/cases/index.d.ts +5 -5
  86. package/dist/blocks/catalog/index.d.ts +4 -4
  87. package/dist/blocks/channels/index.d.ts +7 -7
  88. package/dist/blocks/clinical-decision-support/index.d.ts +4 -4
  89. package/dist/blocks/cms/index.d.ts +7 -7
  90. package/dist/blocks/collaboration/index.d.ts +8 -8
  91. package/dist/blocks/collections/index.d.ts +15 -12
  92. package/dist/blocks/collections/index.js +1 -1
  93. package/dist/blocks/comments/index.d.ts +4 -4
  94. package/dist/blocks/commerce/index.d.ts +7 -7
  95. package/dist/blocks/commerce/index.js +1 -1
  96. package/dist/blocks/commissions/index.d.ts +5 -5
  97. package/dist/blocks/compliance/index.d.ts +5 -5
  98. package/dist/blocks/connectors/index.d.ts +4 -4
  99. package/dist/blocks/consents/index.d.ts +5 -5
  100. package/dist/blocks/contacts/index.d.ts +5 -5
  101. package/dist/blocks/contacts/index.js +1 -1
  102. package/dist/blocks/content/index.d.ts +4 -4
  103. package/dist/blocks/contracts/index.d.ts +6 -6
  104. package/dist/blocks/courses/index.d.ts +4 -4
  105. package/dist/blocks/courses/index.js +2 -2
  106. package/dist/blocks/created-by/index.d.ts +3 -3
  107. package/dist/blocks/crm/index.d.ts +18 -18
  108. package/dist/blocks/crm/index.js +4 -4
  109. package/dist/blocks/custom-fields/index.d.ts +2 -2
  110. package/dist/blocks/dam/index.d.ts +6 -6
  111. package/dist/blocks/data-lifecycle/index.d.ts +3 -3
  112. package/dist/blocks/deadlines/index.d.ts +5 -5
  113. package/dist/blocks/deals/index.d.ts +3 -3
  114. package/dist/blocks/dispatch/index.d.ts +4 -4
  115. package/dist/blocks/document-templates/index.d.ts +6 -6
  116. package/dist/blocks/documents/index.d.ts +4 -4
  117. package/dist/blocks/documents/index.js +1 -1
  118. package/dist/blocks/domains/index.d.ts +6 -6
  119. package/dist/blocks/donations/index.d.ts +6 -6
  120. package/dist/blocks/drive/index.d.ts +6 -6
  121. package/dist/blocks/drive/index.js +1 -1
  122. package/dist/blocks/e-prescribing/index.d.ts +4 -4
  123. package/dist/blocks/employees/index.d.ts +3 -3
  124. package/dist/blocks/enrichment/index.d.ts +3 -3
  125. package/dist/blocks/enrollments/index.d.ts +4 -4
  126. package/dist/blocks/entitlements/index.d.ts +4 -4
  127. package/dist/blocks/events/index.d.ts +5 -5
  128. package/dist/blocks/events/index.js +1 -1
  129. package/dist/blocks/expenses/index.d.ts +5 -5
  130. package/dist/blocks/field-history/index.d.ts +3 -3
  131. package/dist/blocks/filespace/index.d.ts +9 -9
  132. package/dist/blocks/filespace/index.js +1 -1
  133. package/dist/blocks/finance/index.d.ts +6 -6
  134. package/dist/blocks/finance/index.js +2 -2
  135. package/dist/blocks/flags/index.d.ts +5 -5
  136. package/dist/blocks/forecasts/index.d.ts +3 -3
  137. package/dist/blocks/forms/index.d.ts +4 -4
  138. package/dist/blocks/funding/index.d.ts +5 -5
  139. package/dist/blocks/funding/index.js +1 -1
  140. package/dist/blocks/goals/index.d.ts +3 -3
  141. package/dist/blocks/governance/index.d.ts +5 -5
  142. package/dist/blocks/guests/index.d.ts +3 -3
  143. package/dist/blocks/hiring/index.d.ts +3 -3
  144. package/dist/blocks/hiring/index.js +1 -1
  145. package/dist/blocks/identities/index.d.ts +5 -5
  146. package/dist/blocks/imports/index.d.ts +6 -6
  147. package/dist/blocks/inbox/index.d.ts +10 -10
  148. package/dist/blocks/incidents/index.d.ts +5 -5
  149. package/dist/blocks/index.d.ts +12 -12
  150. package/dist/blocks/inspections/index.d.ts +6 -6
  151. package/dist/blocks/inventory/index.d.ts +3 -3
  152. package/dist/blocks/invoices/index.d.ts +6 -6
  153. package/dist/blocks/knowledge/index.d.ts +3 -3
  154. package/dist/blocks/lead-scoring/index.d.ts +4 -4
  155. package/dist/blocks/learning/index.d.ts +5 -5
  156. package/dist/blocks/leases/index.d.ts +6 -6
  157. package/dist/blocks/leave/index.d.ts +3 -3
  158. package/dist/blocks/ledger/index.d.ts +6 -6
  159. package/dist/blocks/legal-entities/index.d.ts +6 -6
  160. package/dist/blocks/lims/index.d.ts +6 -6
  161. package/dist/blocks/mail-sync/index.d.ts +5 -5
  162. package/dist/blocks/maintenance/index.d.ts +4 -4
  163. package/dist/blocks/manufacturing/index.d.ts +7 -7
  164. package/dist/blocks/medications/index.d.ts +4 -4
  165. package/dist/blocks/medications/index.js +1 -1
  166. package/dist/blocks/meetings/index.d.ts +5 -5
  167. package/dist/blocks/memberships/index.d.ts +3 -3
  168. package/dist/blocks/memory/index.d.ts +4 -4
  169. package/dist/blocks/messaging/index.d.ts +11 -11
  170. package/dist/blocks/metrics/index.d.ts +6 -6
  171. package/dist/blocks/mfa/index.d.ts +2 -2
  172. package/dist/blocks/moderation/index.d.ts +7 -7
  173. package/dist/blocks/notifications/index.d.ts +10 -10
  174. package/dist/blocks/notifications/index.js +2 -2
  175. package/dist/blocks/numbering/index.d.ts +1 -1
  176. package/dist/blocks/oauth-server/index.d.ts +5 -5
  177. package/dist/blocks/oauth-server/index.js +1 -1
  178. package/dist/blocks/observations/index.d.ts +5 -5
  179. package/dist/blocks/onboarding/index.d.ts +3 -3
  180. package/dist/blocks/option-sets/index.d.ts +6 -6
  181. package/dist/blocks/orders/index.d.ts +4 -4
  182. package/dist/blocks/orders/index.js +1 -1
  183. package/dist/blocks/organizations/index.d.ts +4 -4
  184. package/dist/blocks/outbox/index.d.ts +4 -4
  185. package/dist/blocks/outbox/index.js +1 -1
  186. package/dist/blocks/passes/index.d.ts +4 -4
  187. package/dist/blocks/passes/index.js +1 -1
  188. package/dist/blocks/payroll-export/index.d.ts +4 -4
  189. package/dist/blocks/payroll-export/index.js +1 -1
  190. package/dist/blocks/people/index.d.ts +8 -8
  191. package/dist/blocks/people/index.js +1 -1
  192. package/dist/blocks/periods/index.d.ts +5 -5
  193. package/dist/blocks/permissions/index.d.ts +7 -7
  194. package/dist/blocks/pipelines/index.d.ts +4 -4
  195. package/dist/blocks/posts/index.d.ts +6 -6
  196. package/dist/blocks/procurement/index.d.ts +6 -6
  197. package/dist/blocks/procurement/index.js +1 -1
  198. package/dist/blocks/profiles/index.d.ts +3 -3
  199. package/dist/blocks/projects/index.d.ts +8 -8
  200. package/dist/blocks/promotions/index.d.ts +3 -3
  201. package/dist/blocks/prompts/index.d.ts +4 -4
  202. package/dist/blocks/push/index.d.ts +7 -7
  203. package/dist/blocks/qualifications/index.d.ts +4 -4
  204. package/dist/blocks/queue/index.d.ts +5 -5
  205. package/dist/blocks/queue/index.js +2 -2
  206. package/dist/blocks/quotes/index.d.ts +5 -5
  207. package/dist/blocks/rank/index.d.ts +7 -7
  208. package/dist/blocks/rank/index.js +1 -1
  209. package/dist/blocks/reactions/index.d.ts +6 -6
  210. package/dist/blocks/recruiting/index.d.ts +5 -5
  211. package/dist/blocks/recruiting/index.js +1 -1
  212. package/dist/blocks/referrals/index.d.ts +5 -5
  213. package/dist/blocks/relations/index.d.ts +7 -7
  214. package/dist/blocks/reminders/index.d.ts +1 -1
  215. package/dist/blocks/reminders/index.js +1 -1
  216. package/dist/blocks/reviews/index.d.ts +5 -5
  217. package/dist/blocks/rfqs/index.d.ts +4 -4
  218. package/dist/blocks/risks/index.d.ts +6 -6
  219. package/dist/blocks/saas/index.d.ts +14 -14
  220. package/dist/blocks/saas/index.js +2 -2
  221. package/dist/blocks/sales/index.d.ts +1 -1
  222. package/dist/blocks/sales/index.js +1 -1
  223. package/dist/blocks/saved-views/index.d.ts +6 -6
  224. package/dist/blocks/scheduling/index.d.ts +6 -6
  225. package/dist/blocks/scheduling/index.js +1 -1
  226. package/dist/blocks/scores/index.d.ts +6 -6
  227. package/dist/blocks/search/index.d.ts +5 -5
  228. package/dist/blocks/search/index.js +1 -1
  229. package/dist/blocks/security-events/index.d.ts +7 -7
  230. package/dist/blocks/security-events/index.js +1 -1
  231. package/dist/blocks/segments/index.d.ts +4 -4
  232. package/dist/blocks/sequences/index.d.ts +5 -5
  233. package/dist/blocks/service/index.d.ts +8 -8
  234. package/dist/blocks/service-accounts/index.d.ts +5 -5
  235. package/dist/blocks/sessions/index.d.ts +4 -4
  236. package/dist/blocks/settings/index.d.ts +4 -4
  237. package/dist/blocks/share-links/index.d.ts +1 -1
  238. package/dist/blocks/shifts/index.d.ts +4 -4
  239. package/dist/blocks/shipments/index.d.ts +6 -6
  240. package/dist/blocks/shipments/index.js +1 -1
  241. package/dist/blocks/signatures/index.d.ts +3 -3
  242. package/dist/blocks/signing-keys/index.d.ts +3 -3
  243. package/dist/blocks/signing-keys/index.js +2 -2
  244. package/dist/blocks/sla/index.d.ts +3 -3
  245. package/dist/blocks/sso/index.d.ts +6 -6
  246. package/dist/blocks/state-machine/index.d.ts +2 -2
  247. package/dist/blocks/state-machine/index.js +1 -1
  248. package/dist/blocks/subjects/index.d.ts +7 -7
  249. package/dist/blocks/subjects/index.js +1 -1
  250. package/dist/blocks/support/index.d.ts +6 -6
  251. package/dist/blocks/tags/index.d.ts +3 -3
  252. package/dist/blocks/tasks/index.d.ts +4 -4
  253. package/dist/blocks/tax/index.d.ts +4 -4
  254. package/dist/blocks/tax/index.js +1 -1
  255. package/dist/blocks/teams/index.d.ts +1 -1
  256. package/dist/blocks/templates/index.d.ts +8 -8
  257. package/dist/blocks/tills/index.d.ts +5 -5
  258. package/dist/blocks/time-entries/index.d.ts +3 -3
  259. package/dist/blocks/timeline/index.d.ts +2 -2
  260. package/dist/blocks/trash/index.d.ts +3 -3
  261. package/dist/blocks/undo/index.d.ts +4 -4
  262. package/dist/blocks/updated-at/index.d.ts +3 -3
  263. package/dist/blocks/usage/index.d.ts +4 -4
  264. package/dist/blocks/vercel-marketplace/index.d.ts +5 -5
  265. package/dist/blocks/vercel-marketplace/index.js +3 -3
  266. package/dist/blocks/versions/index.d.ts +2 -2
  267. package/dist/blocks/waitlist/index.d.ts +5 -5
  268. package/dist/blocks/waitlist/index.js +1 -1
  269. package/dist/blocks/warehouse/index.d.ts +5 -5
  270. package/dist/blocks/warranty/index.d.ts +5 -5
  271. package/dist/blocks/webhooks/index.d.ts +15 -15
  272. package/dist/blocks/webhooks/index.js +6 -6
  273. package/dist/blocks/workflow-editor/index.d.ts +9 -9
  274. package/dist/blocks/workflows/index.d.ts +7 -7
  275. package/dist/{blocks-sDhFO8-h.d.ts → blocks-D4ngpPJ_.d.ts} +13 -3
  276. package/dist/{bookings-sBb-GMK8.d.ts → bookings-6dC83XE6.d.ts} +3 -3
  277. package/dist/{bootstrap-permissions-BOkRVEEh.js → bootstrap-permissions-CulW-R_u.js} +2 -2
  278. package/dist/{bucket-CbRyXRp3.d.ts → bucket-BJ03ZblY.d.ts} +1 -1
  279. package/dist/{build-QM0GdQ2B.js → build-Ds53XOWu.js} +1 -1
  280. package/dist/{cache-tags-FrJaMalu.d.ts → cache-tags-UWvxDMDO.d.ts} +1 -1
  281. package/dist/{care-plans-BR3TkinL.d.ts → care-plans-q3m4ph4G.d.ts} +2 -2
  282. package/dist/{care-plans-sql-DyB5TB6y.js → care-plans-sql-B__5eEaI.js} +1 -1
  283. package/dist/chat-sdk/index.d.ts +6 -6
  284. package/dist/claims/index.d.ts +7 -7
  285. package/dist/{claims-source-CeefCyGV.d.ts → claims-source-D-4CztOl.d.ts} +2 -2
  286. package/dist/cli/add-BXNrz9sN.js +1 -0
  287. package/dist/cli/{add-djLR310z.js → add-BegIE-Rb.js} +2 -2
  288. package/dist/cli/{add-OllEkXon.js → add-BufF64Hx.js} +11 -11
  289. package/dist/cli/{app-table-files-DnoDAkVJ.js → app-table-files-RdOXXDCt.js} +4 -4
  290. package/dist/cli/{app-tables-C4shCkBv.js → app-tables-CK-U5_ZN.js} +2 -2
  291. package/dist/cli/{backfill-_spwSvnn.js → backfill-CT6yncRM.js} +3 -3
  292. package/dist/cli/bin.js +1 -1
  293. package/dist/cli/{blocks-DFkzCFQi.js → blocks-CVadF4-D.js} +1 -1
  294. package/dist/cli/{blocks-Cvs0nhC2.js → blocks-Q7wC6dj7.js} +1 -1
  295. package/dist/cli/{cache-B0JnXfiY.js → cache-BKwYvrrJ.js} +1 -1
  296. package/dist/cli/{codemod-D2Lnca97.js → codemod-BzEKQMSK.js} +5 -5
  297. package/dist/cli/{codemod-naming-CHIeOTt5.js → codemod-naming-BpWNTsvf.js} +1 -1
  298. package/dist/cli/{codes-DNq30BZg.js → codes-D_oa7Aw5.js} +3 -3
  299. package/dist/cli/{column-renames-4OHEvCAj.js → column-renames-7IG0Gcf3.js} +2 -2
  300. package/dist/cli/{config-DkjilxeE.js → config-CoW6aoul.js} +1 -1
  301. package/dist/cli/{config-DD_MnPRL.js → config-DX58lDf7.js} +7 -1
  302. package/dist/cli/{content-mapper-DAYxPQ18.js → content-mapper-BUWZw8Yr.js} +1 -1
  303. package/dist/cli/{db-CEUnv3hK.js → db-CZ9qHsDs.js} +2 -2
  304. package/dist/cli/{dev-Xw7pt3KG.js → dev-BRQUcr0M.js} +5 -5
  305. package/dist/cli/{doctor-diSKQp-6.js → doctor-auNf55mF.js} +41 -24
  306. package/dist/cli/{emit-CICey-Za.js → emit-CxD5qNz7.js} +3 -3
  307. package/dist/cli/{gen-BVuNFeLB.js → gen-B8K-GHgH.js} +5 -5
  308. package/dist/cli/{gen-tasks-C2vwKKTc.js → gen-tasks-oTH8W-xH.js} +11 -11
  309. package/dist/cli/index.d.ts +1 -1
  310. package/dist/cli/index.js +8 -8
  311. package/dist/cli/{init-9BSoBkny.js → init-lNqq_JHu.js} +9 -9
  312. package/dist/cli/{live-Ce8vdcCn.js → live-Dbt0gFSL.js} +2 -2
  313. package/dist/cli/{mcp-UW-gEnP_.js → mcp-Bs3746MS.js} +2 -2
  314. package/dist/cli/{memo-backend-BMdfsihK.js → memo-backend-BAduTvxg.js} +1 -1
  315. package/dist/cli/{metadata-DqrbS0sS.js → metadata-IpEhOh60.js} +4 -4
  316. package/dist/cli/{migrate-Cn8L_0co.js → migrate-CaEzxtNU.js} +1 -1
  317. package/dist/cli/{migration-safety-C1Ysrthi.js → migration-safety-B473uP9G.js} +2 -2
  318. package/dist/cli/{module-migration-DXI95fqs.js → module-migration-BMmyFP2c.js} +1 -1
  319. package/dist/cli/{partition-CJCrIueu.js → partition-C9ta6Kld.js} +3 -3
  320. package/dist/cli/powersync-BLXxgdbk.js +1 -0
  321. package/dist/cli/{powersync-CB-7AksZ.js → powersync-DNUSeMtj.js} +4 -4
  322. package/dist/cli/{print-AVVgXsLG.js → print-84kAnn1u.js} +2 -2
  323. package/dist/cli/{providers-B3FLmlud.js → providers-BgyVs06M.js} +1 -1
  324. package/dist/cli/{prune-workflows-CrLDmFf1.js → prune-workflows-D96eYjdj.js} +3 -3
  325. package/dist/cli/{remove-00SZWfyi.js → remove-Y62Mu1VK.js} +6 -6
  326. package/dist/cli/{render-3J7sk_CL.js → render-Div4K_TT.js} +5 -5
  327. package/dist/cli/{render-cache-P4gQeivH.js → render-cache-CHTWh5Rl.js} +1 -1
  328. package/dist/cli/{run-D_z9ULO7.js → run-BkbVZBeG.js} +8 -8
  329. package/dist/cli/{run-CByEIEng.js → run-Dx-CrkU_.js} +37 -36
  330. package/dist/cli/seed-B6_MBFd2.js +1 -0
  331. package/dist/cli/{seed-CvDA1ItH.js → seed-pDWlnzyK.js} +2 -2
  332. package/dist/cli/{shared-d021xfdn.js → shared-B0zV1qW9.js} +1 -1
  333. package/dist/cli/{source-DdqeWoO4.js → source-So9SSLFc.js} +1 -1
  334. package/dist/cli/{source-args-yU6N6JLm.js → source-args-D5BSEgUG.js} +1 -1
  335. package/dist/cli/{spec-ClfqDbVv.js → spec-BA3jaJaL.js} +2 -2
  336. package/dist/cli/{spec-Diudl7hC.js → spec-BiLpXtjI.js} +1 -1
  337. package/dist/cli/{sql-layout-Bl3iOXMS.js → sql-layout-BH9MeAY3.js} +3 -3
  338. package/dist/cli/{squash-C07y7CsQ.js → squash-CZJcKsks.js} +1 -1
  339. package/dist/cli/{sync-Cw0ke-3h.js → sync-Csq5olpt.js} +60 -8
  340. package/dist/cli/{upgrade-niwEovfl.js → upgrade-DBE7LYrq.js} +9 -7
  341. package/dist/cli/{upgrade-oc6s5Xoe.js → upgrade-MfDU8Z5K.js} +5 -5
  342. package/dist/cli/{verify-CrFHs8Lr.js → verify-O5zxWWuE.js} +2 -2
  343. package/dist/cli/{version-Bd3kCDzL.js → version-ljacjTnk.js} +1 -1
  344. package/dist/client/index.d.ts +6 -6
  345. package/dist/client/index.js +1 -1
  346. package/dist/client/native/index.d.ts +7 -7
  347. package/dist/client/native/index.js +4 -4
  348. package/dist/{client-D1grRDjj.js → client-CPG7YGP2.js} +1 -1
  349. package/dist/{client-bucket-BLVysX-A.js → client-bucket-DvoYllSB.js} +1 -1
  350. package/dist/{clinical-decision-support-BHRUL6qj.d.ts → clinical-decision-support-D6FWGbEw.d.ts} +3 -3
  351. package/dist/{cloud-event-BtWOKfsx.d.ts → cloud-event-B0AsPtwP.d.ts} +1 -1
  352. package/dist/{codec-BI1mq95W.js → codec-CJaAdLjG.js} +1 -1
  353. package/dist/commerce/index.js +1 -1
  354. package/dist/{compiler-BwJR_BHq.d.ts → compiler-u6lO9V7r.d.ts} +2 -2
  355. package/dist/{composite-Tsm5QFS2.js → composite-Bxpd7oru.js} +2 -2
  356. package/dist/{composite-BVEOyec_.d.ts → composite-CxojRRUF.d.ts} +7 -7
  357. package/dist/{composite-reads-DvN7EgDO.d.ts → composite-reads-CK-Y5b6M.d.ts} +2 -2
  358. package/dist/config/index.d.ts +5 -5
  359. package/dist/{connectors-VX1FIU-t.d.ts → connectors-BCIhimzA.d.ts} +4 -4
  360. package/dist/{consents-OI2OWAfb.d.ts → consents-BuIwU6T3.d.ts} +3 -3
  361. package/dist/{contacts-D9_KMOgs.d.ts → contacts-4xMnNBVk.d.ts} +5 -5
  362. package/dist/{context-C_Rx1QaW.d.ts → context-m-t6Kr9_.d.ts} +24 -10
  363. package/dist/contract/index.d.ts +9 -9
  364. package/dist/{contributions-Bh-HcHoJ.js → contributions-Ba-C1ueE.js} +6 -6
  365. package/dist/{controller-D9N4NKbM.d.ts → controller-zwQFyrOG.d.ts} +1 -1
  366. package/dist/{conversion-CruLbcu8.d.ts → conversion-b6htac73.d.ts} +1 -1
  367. package/dist/create/index.d.ts +4 -4
  368. package/dist/create/index.js +2 -2
  369. package/dist/create/lite/index.d.ts +4 -4
  370. package/dist/create/lite/index.js +5 -3
  371. package/dist/credentials/index.d.ts +4 -4
  372. package/dist/credentials/index.js +1 -1
  373. package/dist/{cron-route-Cg1V2MUq.js → cron-route-spE8XDgv.js} +1 -1
  374. package/dist/{data-engine-CQiEEoNx.d.ts → data-engine-nmeUijzR.d.ts} +1 -1
  375. package/dist/{db-blocks-DB8Ct8Eu.d.ts → db-blocks-_jJICfjp.d.ts} +5 -5
  376. package/dist/{define-BDrm9Vl7.d.ts → define-BVBAeKTi.d.ts} +1 -1
  377. package/dist/{define-block-Cd7dm2o6.d.ts → define-block-DQvTGOGv.d.ts} +14 -14
  378. package/dist/{define-runtime-Ca5NN0gu.js → define-runtime-DsFTahQB.js} +1 -1
  379. package/dist/{define-runtime-full-DeuaXsV7.js → define-runtime-full-B_cMkyCk.js} +2 -2
  380. package/dist/{delete-account-DwGFiIYv.d.ts → delete-account-BQDeafVT.d.ts} +4 -4
  381. package/dist/{documents-BHddH30g.d.ts → documents-B8Q_BKha.d.ts} +3 -3
  382. package/dist/{drive-C6thwExa.d.ts → drive-DaEK5ZxU.d.ts} +5 -5
  383. package/dist/e-invoicing/index.d.ts +2 -2
  384. package/dist/{e-prescribing-DkV1wF9y.d.ts → e-prescribing-CP0lcOje.d.ts} +4 -4
  385. package/dist/edge/index.d.ts +9 -9
  386. package/dist/edge/index.js +5 -5
  387. package/dist/elysia/index.d.ts +1 -1
  388. package/dist/{embeddings-4zY3hhO8.d.ts → embeddings-BriQ4hQ1.d.ts} +2 -2
  389. package/dist/{ended-B1oCwF0v.d.ts → ended-CzWPQkkG.d.ts} +2 -2
  390. package/dist/{entitlements-CR5HRd3S.d.ts → entitlements-D4ob6MfK.d.ts} +3 -3
  391. package/dist/eve/index.d.ts +9 -9
  392. package/dist/eve/index.js +1 -1
  393. package/dist/{eve-BZhRFAWs.d.ts → eve-D-hvUFYE.d.ts} +2 -2
  394. package/dist/events/index.d.ts +5 -5
  395. package/dist/{events-Bk63_mjA.d.ts → events-zz8DwtZi.d.ts} +2 -2
  396. package/dist/{executor-BypvvW56.d.ts → executor-7zo2arIZ.d.ts} +1 -1
  397. package/dist/{executor-BaFzh9pS.d.ts → executor-BLv4T8kT.d.ts} +1 -1
  398. package/dist/{executor-Bot0tkvU.js → executor-D24_D6dr.js} +1 -1
  399. package/dist/{executor-CTuilcgE.d.ts → executor-nx2Q8Xdy.d.ts} +4 -4
  400. package/dist/expo/index.d.ts +6 -6
  401. package/dist/expo/index.js +5 -5
  402. package/dist/{extract-B2My7IhT.d.ts → extract-W4zb3wIh.d.ts} +5 -5
  403. package/dist/{extras-CKwPSpGL.d.ts → extras-ByEPERCR.d.ts} +2 -2
  404. package/dist/fhir/index.d.ts +5 -5
  405. package/dist/fhir/index.js +1 -1
  406. package/dist/{field-errors-CihTLojJ.d.ts → field-errors-pj0uOXSg.d.ts} +9 -9
  407. package/dist/{fields-OBEVi7hN.d.ts → fields-BATxzuhy.d.ts} +1 -1
  408. package/dist/{filter-evaluate-CVwpzMX-.d.ts → filter-evaluate-C2JXrZst.d.ts} +1 -1
  409. package/dist/{filter-query-CI5u0oca.d.ts → filter-query-DwJ1iMQ0.d.ts} +1 -1
  410. package/dist/{flags-Du06K0gA.d.ts → flags-CkMvfo73.d.ts} +2 -2
  411. package/dist/flags-sdk/index.d.ts +2 -2
  412. package/dist/{framework-giXStk8k.d.ts → framework-BYx1ke3r.d.ts} +8 -8
  413. package/dist/{framework-BYZ8c9_g.js → framework-pfJvMQy3.js} +1 -1
  414. package/dist/{funding-DpFfyIiK.d.ts → funding-B4vqlKq2.d.ts} +7 -7
  415. package/dist/{gateway-ChuQD_IL.d.ts → gateway-eFh5pEIu.d.ts} +3 -3
  416. package/dist/generators/factories/index.d.ts +1 -1
  417. package/dist/generators/factories/index.js +1 -1
  418. package/dist/generators/index.d.ts +2 -2
  419. package/dist/generators/json-schema/index.d.ts +2 -2
  420. package/dist/generators/json-schema/index.js +1 -1
  421. package/dist/generators/nuqs/index.d.ts +1 -1
  422. package/dist/generators/nuqs/index.js +1 -1
  423. package/dist/generators/standard-schema/index.d.ts +1 -1
  424. package/dist/generators/standard-schema/index.js +1 -1
  425. package/dist/generators/valibot/index.d.ts +1 -1
  426. package/dist/generators/valibot/index.js +1 -1
  427. package/dist/generators/zod/index.d.ts +1 -1
  428. package/dist/generators/zod/index.js +1 -1
  429. package/dist/h3/index.d.ts +1 -1
  430. package/dist/h3/v1/index.d.ts +1 -1
  431. package/dist/hono/index.d.ts +9 -9
  432. package/dist/hono/index.js +4 -4
  433. package/dist/{inbox-CDGfVOyZ.d.ts → inbox-Cr4WDuhI.d.ts} +5 -5
  434. package/dist/{index-DmoaxGHV.d.ts → index-1FGquKaz.d.ts} +3 -3
  435. package/dist/{index-CiCmlbtu.d.ts → index-46tesKqa.d.ts} +6 -6
  436. package/dist/{index-BAku12tP.d.ts → index-BHkxtS6f.d.ts} +1 -1
  437. package/dist/{index-cgHbN_EA.d.ts → index-BLPzvJ5v.d.ts} +9 -9
  438. package/dist/{index-Bs6OCtxW.d.ts → index-BVuN7_fC.d.ts} +8 -8
  439. package/dist/{index-BqUY2MB-.d.ts → index-BYDpdZxq.d.ts} +5 -5
  440. package/dist/{index-BrnGYShi.d.ts → index-BZCCv04g.d.ts} +4 -4
  441. package/dist/{index-DflyfGR8.d.ts → index-Bb_il0ub.d.ts} +5 -5
  442. package/dist/{index-BvRseRob.d.ts → index-BfnBjZpy.d.ts} +5 -5
  443. package/dist/{index-Bv2kSYet.d.ts → index-BomyYKtC.d.ts} +6 -6
  444. package/dist/{index-DsLMqyB5.d.ts → index-BpQxfGSO.d.ts} +6 -6
  445. package/dist/{index-UQOB8v1I.d.ts → index-Bu4YwWl0.d.ts} +3 -3
  446. package/dist/{index-BvZ3uvj9.d.ts → index-ByCXNZ2j.d.ts} +2 -2
  447. package/dist/{index-C59gKJBx.d.ts → index-C37Wq488.d.ts} +6 -6
  448. package/dist/{index-D50ulqMJ.d.ts → index-CDX9U_CH.d.ts} +4 -4
  449. package/dist/{index-Cnc4wyTo.d.ts → index-CQGi7Jnn.d.ts} +9 -9
  450. package/dist/{index-DpXMVE12.d.ts → index-CWTWbIz_.d.ts} +3 -3
  451. package/dist/{index-C1na2fiY.d.ts → index-CjoB5SrD.d.ts} +5 -5
  452. package/dist/{index-Cpj79WyM.d.ts → index-ClqA-t45.d.ts} +5 -5
  453. package/dist/{index-DMHxmit5.d.ts → index-CriIH7di.d.ts} +5 -5
  454. package/dist/{index-74TASXlD.d.ts → index-Crm9IjfQ.d.ts} +7 -7
  455. package/dist/{index-B0dSXth6.d.ts → index-CxX_Bgfa.d.ts} +6 -6
  456. package/dist/{index-BOuJSOaf.d.ts → index-CxZV8RJE.d.ts} +6 -6
  457. package/dist/{index-d2TijvXV.d.ts → index-D2R8Msu5.d.ts} +1 -1
  458. package/dist/{index-BszN5nLs.d.ts → index-DCqy0ESb.d.ts} +2 -2
  459. package/dist/{index-D6px-XTD.d.ts → index-DW_S9n3h.d.ts} +7 -7
  460. package/dist/{index-CdoTvK2W.d.ts → index-DYh76mE_.d.ts} +2 -2
  461. package/dist/{index-pry9PXpK.d.ts → index-D_0l5hHh.d.ts} +4 -4
  462. package/dist/{index-Hzbfht3Z.d.ts → index-DeI4h1N1.d.ts} +7 -7
  463. package/dist/{index-Sl13L6VB.d.ts → index-Dea13gIz.d.ts} +6 -6
  464. package/dist/{index-CMyUugyW.d.ts → index-DlUd0CTA.d.ts} +9 -9
  465. package/dist/{index-DibtbiIW.d.ts → index-DpoUltRu.d.ts} +2 -2
  466. package/dist/{index-DzUnwtxa.d.ts → index-DsNwQRWG.d.ts} +3 -3
  467. package/dist/{index-_No9Jb9O.d.ts → index-DyV6z0Q_.d.ts} +8 -8
  468. package/dist/{index-69aFw9Id.d.ts → index-Dyhkn8FU.d.ts} +5 -5
  469. package/dist/{index-28PPT5w7.d.ts → index-IrsC8TLH.d.ts} +8 -8
  470. package/dist/{index-wc3-R_cK.d.ts → index-SWDnWdWw.d.ts} +3 -3
  471. package/dist/{index-BnY5lZtT.d.ts → index-SZ8qGIVO.d.ts} +15 -15
  472. package/dist/{index-CGAcXNod.d.ts → index-WoE9Z_V-.d.ts} +5 -5
  473. package/dist/{index-CiLb3DTI.d.ts → index-r_SO6mVm.d.ts} +5 -5
  474. package/dist/index.d.ts +7 -7
  475. package/dist/index.js +1 -1
  476. package/dist/{invoices-BXwG7Jwp.d.ts → invoices-L6khZ9kt.d.ts} +5 -5
  477. package/dist/{json-schema-BveJfXoz.js → json-schema-CChz-Csz.js} +1 -1
  478. package/dist/{jwks-cache-C5Bkk8wb.js → jwks-cache-DcfC4DmK.js} +1 -1
  479. package/dist/{jws-D5t4Ylus.js → jws-DChBKezH.js} +1 -1
  480. package/dist/{kit-DN6lGKB6.d.ts → kit-BwlTgitb.d.ts} +4 -4
  481. package/dist/{knowledge-pN-5j-oj.d.ts → knowledge-C7RZqwQu.d.ts} +9 -6
  482. package/dist/lint/index.d.ts +1 -1
  483. package/dist/list/export/index.d.ts +1 -1
  484. package/dist/list/index.d.ts +3 -3
  485. package/dist/list/order/index.d.ts +3 -3
  486. package/dist/{list-query-CBjzZmjx.d.ts → list-query-B6lXbY0T.d.ts} +4 -4
  487. package/dist/{manifest-CgljOcHt.d.ts → manifest-2sJavyD8.d.ts} +6 -6
  488. package/dist/{manifest-BTR978h8.js → manifest-3XKIMZkJ.js} +1 -1
  489. package/dist/{manifest-CGnN_2Yx.d.ts → manifest-4S1YGIS3.d.ts} +6 -6
  490. package/dist/{manifest-CtUKrkx1.d.ts → manifest-5i2UwyQr.d.ts} +4 -4
  491. package/dist/{manifest-DMhuQgOx.d.ts → manifest-B0pan6cS.d.ts} +5 -5
  492. package/dist/{manifest-VbHg6E4F.js → manifest-BBcaI1P8.js} +1 -1
  493. package/dist/{manifest-Dqf2Uw17.d.ts → manifest-BEQWkGmf.d.ts} +5 -5
  494. package/dist/{manifest-2JeNUq8t.d.ts → manifest-BKiaRgiZ.d.ts} +3 -3
  495. package/dist/{manifest-CBdMkxZD.d.ts → manifest-BMilYLsh.d.ts} +3 -3
  496. package/dist/{manifest-dt25CCQA.js → manifest-BNmYcT7b.js} +1 -1
  497. package/dist/{manifest-BVn2Xglt.d.ts → manifest-BRvnB8C0.d.ts} +5 -5
  498. package/dist/{manifest-Ci7NEusH.d.ts → manifest-BZPruG-S.d.ts} +4 -4
  499. package/dist/{manifest-CLG2lmYA.js → manifest-B_qm9fCI.js} +1 -1
  500. package/dist/{manifest-BWKFNoxP.d.ts → manifest-BaIG9QRj.d.ts} +4 -4
  501. package/dist/{manifest-Bo0SCigB.d.ts → manifest-Bf6Rzatq.d.ts} +4 -4
  502. package/dist/{manifest-gl856Z9G.d.ts → manifest-Bfu-Cu0f.d.ts} +7 -7
  503. package/dist/{manifest-DY2KtVcD.d.ts → manifest-Bj8bumDU.d.ts} +6 -6
  504. package/dist/{manifest-WK23vBlH.js → manifest-Bkm_17rp.js} +2 -2
  505. package/dist/{manifest-WpIMAJCT.d.ts → manifest-BpgNJhYN.d.ts} +2 -2
  506. package/dist/{manifest-CjzIpyBP.d.ts → manifest-BxvFH1G_.d.ts} +3 -3
  507. package/dist/{manifest-D43yma-v.d.ts → manifest-BzXqieUD.d.ts} +7 -7
  508. package/dist/{manifest-D1FPczc-.d.ts → manifest-C2hpeEBF.d.ts} +3 -3
  509. package/dist/{manifest-BLFyjEv_.js → manifest-C6bwnO77.js} +1 -1
  510. package/dist/{manifest-3or1oZTo.d.ts → manifest-C95ET4CL.d.ts} +4 -4
  511. package/dist/{manifest-d7vR6coE.d.ts → manifest-CA5EhKZ9.d.ts} +3 -3
  512. package/dist/{manifest-mAxLRfeu.d.ts → manifest-CF3BUmbe.d.ts} +5 -5
  513. package/dist/{manifest-BTgU8Kcf.js → manifest-CG38X6q2.js} +1 -1
  514. package/dist/{manifest-CXNXmH86.js → manifest-CK1J6NE1.js} +1 -1
  515. package/dist/{manifest-B1lOqNaq.js → manifest-CLw7q0PB.js} +1 -1
  516. package/dist/{manifest-AS4QwWdu.d.ts → manifest-CMn61uKN.d.ts} +5 -5
  517. package/dist/{manifest-Bi44m1V3.d.ts → manifest-CS8I2fku.d.ts} +3 -3
  518. package/dist/{manifest-D08Cdndm.js → manifest-CSYLcs5d.js} +2 -2
  519. package/dist/{manifest-iGmnzfGD.d.ts → manifest-CWFhOuFW.d.ts} +4 -4
  520. package/dist/{manifest-DUZUtWBi.d.ts → manifest-CXdJUJjX.d.ts} +8 -8
  521. package/dist/{manifest-3e0zfaQt.d.ts → manifest-CYO44YUb.d.ts} +5 -5
  522. package/dist/{manifest-B9m_UaiY.d.ts → manifest-Ccc0ZZup.d.ts} +6 -6
  523. package/dist/{manifest-CpmJIEt7.d.ts → manifest-CiF1Sb29.d.ts} +6 -6
  524. package/dist/{manifest-C82tY_RD.d.ts → manifest-Cl2U3bic.d.ts} +3 -3
  525. package/dist/{manifest-at0NS8cT.d.ts → manifest-CnVa_nHw.d.ts} +3 -3
  526. package/dist/{manifest-DBT7GiWE.js → manifest-CoR7UHm9.js} +1 -1
  527. package/dist/{manifest-Dxff277Z.js → manifest-CsJhHOcl.js} +2 -2
  528. package/dist/{manifest-Bluupj7R.d.ts → manifest-CtL5JmoY.d.ts} +4 -4
  529. package/dist/{manifest-DHN6WiIJ.d.ts → manifest-CumC7hH5.d.ts} +4 -4
  530. package/dist/{manifest-C20SXAzp.d.ts → manifest-Cv7Mji7w.d.ts} +5 -5
  531. package/dist/{manifest-iMnrzuzj.js → manifest-CwvLYm4x.js} +2 -2
  532. package/dist/{manifest-CUtvLTr3.js → manifest-CzDKrwRf.js} +2 -2
  533. package/dist/{manifest-DaB1w2xo.d.ts → manifest-D48Fi0bR.d.ts} +3 -3
  534. package/dist/{manifest-WJ-UHuEx.d.ts → manifest-DOtSiMt5.d.ts} +4 -4
  535. package/dist/{manifest-Utivc7Qa.d.ts → manifest-DUPKC2rO.d.ts} +5 -5
  536. package/dist/{manifest-CD5D0OWo.d.ts → manifest-DZyxhWcb.d.ts} +3 -3
  537. package/dist/{manifest-CH1MFzXN.d.ts → manifest-DfC1XBrV.d.ts} +4 -4
  538. package/dist/{manifest-CiXl1kUg.d.ts → manifest-DftU8SXo.d.ts} +5 -5
  539. package/dist/{manifest-C40ISJVj.d.ts → manifest-Dg2BCyzg.d.ts} +4 -4
  540. package/dist/{manifest-DJhjOnvk.d.ts → manifest-DiXINLQQ.d.ts} +5 -5
  541. package/dist/{manifest-j4_V-qhA.d.ts → manifest-Dim5U8TQ.d.ts} +3 -3
  542. package/dist/{manifest-CQrTRkRh.js → manifest-DkpKjNGT.js} +1 -1
  543. package/dist/{manifest-qOwMTJHI.js → manifest-DlNcTvH_.js} +1 -1
  544. package/dist/{manifest-C1--UMCz.d.ts → manifest-DoZXpoG_.d.ts} +6 -6
  545. package/dist/{manifest-mBKFNynL.d.ts → manifest-Dp9ZtoFo.d.ts} +7 -7
  546. package/dist/{manifest-BSjzLeb-.d.ts → manifest-DpFy7git.d.ts} +8 -8
  547. package/dist/{manifest-B7xyFqWo.d.ts → manifest-DsINyvTh.d.ts} +6 -6
  548. package/dist/{manifest-C7KPtGTu.d.ts → manifest-DucB6ix_.d.ts} +4 -4
  549. package/dist/{manifest-B9qFGJ_A.d.ts → manifest-DwBFwxFo.d.ts} +6 -6
  550. package/dist/{manifest-Cj6lOdW6.js → manifest-DwZwlGaz.js} +1 -1
  551. package/dist/{manifest-DpXgCZEd.d.ts → manifest-FVkgBS-K.d.ts} +4 -4
  552. package/dist/{manifest-ClDcyCPP.d.ts → manifest-N5wuAzq4.d.ts} +8 -8
  553. package/dist/{manifest-B1lYVfIp.d.ts → manifest-NkuGL5p2.d.ts} +4 -4
  554. package/dist/{manifest-Co0CBReD.d.ts → manifest-NuYSYeQT.d.ts} +5 -5
  555. package/dist/{manifest-CJRob2Ms.d.ts → manifest-TG95ksdH.d.ts} +11 -11
  556. package/dist/{manifest-DAF4J0gk.d.ts → manifest-YtnGn7F9.d.ts} +2 -2
  557. package/dist/{manifest-CCPioFQl.d.ts → manifest-_zu02ImE.d.ts} +5 -5
  558. package/dist/{manifest-ByRLUGaJ.d.ts → manifest-cJ3rQXtl.d.ts} +11 -11
  559. package/dist/{manifest-DQkz9UVy.d.ts → manifest-dOFbx7Iv.d.ts} +2 -2
  560. package/dist/{manifest-wPIH-Oo7.d.ts → manifest-eaGk_4rq.d.ts} +6 -6
  561. package/dist/{manifest-B94f27dU.js → manifest-icEpY96-.js} +1 -1
  562. package/dist/{manifest-DIl_cNua.d.ts → manifest-tP62uJrR.d.ts} +4 -4
  563. package/dist/{manifest-DGoI006V.d.ts → manifest-ubm80xCr.d.ts} +6 -6
  564. package/dist/{manifest-BXWhDMFt.d.ts → manifest-wXk0ZLhO.d.ts} +4 -4
  565. package/dist/{manifest-C94eugvl.d.ts → manifest-x_fSttX7.d.ts} +4 -4
  566. package/dist/{manifest-Cqv6c1KN.d.ts → manifest-xlpYSpLJ.d.ts} +4 -4
  567. package/dist/mapper/bin.js +6 -6
  568. package/dist/mcp/index.d.ts +3 -3
  569. package/dist/mcp/index.js +1 -1
  570. package/dist/mcp/sdk/index.d.ts +6 -6
  571. package/dist/mcp/sdk/index.js +2 -2
  572. package/dist/{mcp-mSD-ic9W.js → mcp-B4bvacl4.js} +5 -5
  573. package/dist/{medications-Cxvrfid3.d.ts → medications-3mcGOelG.d.ts} +5 -5
  574. package/dist/{messaging-C-PJ2LBY.d.ts → messaging-DasXvQj7.d.ts} +4 -4
  575. package/dist/nestjs/index.d.ts +2 -2
  576. package/dist/next/client/index.d.ts +1 -1
  577. package/dist/next/index.d.ts +20 -20
  578. package/dist/next/index.js +7 -7
  579. package/dist/next/offline/index.d.ts +1 -1
  580. package/dist/next/proxy/index.d.ts +5 -5
  581. package/dist/next/proxy/index.js +2 -2
  582. package/dist/node/index.d.ts +2 -2
  583. package/dist/{observations-BBQZWl54.d.ts → observations-8pt9Lflf.d.ts} +3 -3
  584. package/dist/{operations-dIOdHqYz.d.ts → operations-D4zxY2TL.d.ts} +1 -1
  585. package/dist/{orders-ePaBZDl9.d.ts → orders-BCR5H9Tz.d.ts} +3 -3
  586. package/dist/{orders-reads-CWCAZHgZ.js → orders-reads-BGMu5-Ug.js} +2 -2
  587. package/dist/orpc/index.d.ts +8 -8
  588. package/dist/orpc/index.js +3 -3
  589. package/dist/otel/index.d.ts +2 -2
  590. package/dist/otel/index.js +5 -5
  591. package/dist/{outbox-EXHTONFS.d.ts → outbox-DNyzkxyX.d.ts} +4 -4
  592. package/dist/{payroll-export-CIVukFDd.js → payroll-export-kpVJj_Gj.js} +13 -13
  593. package/dist/{permissions-DG0t2lrA.d.ts → permissions-BkUcXwtV.d.ts} +1 -1
  594. package/dist/{permissions-model-CYfIupG0.js → permissions-model-B7E_f7GV.js} +13 -1
  595. package/dist/{pool-tXlDkx18.d.ts → pool-Dzeln5IJ.d.ts} +3 -3
  596. package/dist/{ports-DR88RF0N.js → ports-BBowiGiD.js} +4 -4
  597. package/dist/{ports-CfiOCL2r.d.ts → ports-DD-pDkHu.d.ts} +1 -1
  598. package/dist/postgres/index.d.ts +4 -4
  599. package/dist/{postgrest-gG_GIWFi.d.ts → postgrest-CgAxVpiW.d.ts} +1 -1
  600. package/dist/powersync/index.d.ts +9 -9
  601. package/dist/powersync/index.js +1 -1
  602. package/dist/preset/index.d.ts +4 -4
  603. package/dist/preset/index.js +1 -1
  604. package/dist/{preset-HzYIrxUS.js → preset-ZZ4H2s92.js} +5 -5
  605. package/dist/{preview-3nes4WG4.d.ts → preview-GUvVjUxf.d.ts} +6 -6
  606. package/dist/{project-CXcoauzs.js → project-wJ3jYipI.js} +2 -2
  607. package/dist/{provider-r2RjlARm.d.ts → provider-DSokOaUo.d.ts} +1 -1
  608. package/dist/{push-token-CRBieazN.d.ts → push-token-C8MoiM7E.d.ts} +1 -1
  609. package/dist/query/index.d.ts +1 -1
  610. package/dist/rate-limit/index.d.ts +1 -1
  611. package/dist/{rate-limit-CxN-zbLC.d.ts → rate-limit-Ddv4xmsH.d.ts} +5 -5
  612. package/dist/react/index.d.ts +9 -9
  613. package/dist/react/index.js +2 -2
  614. package/dist/react/native/index.d.ts +1 -1
  615. package/dist/react/native/index.js +3 -3
  616. package/dist/react/server.d.ts +8 -8
  617. package/dist/react/server.js +2 -2
  618. package/dist/react/session.d.ts +2 -2
  619. package/dist/{react-CvgCNgo-.js → react-hb2gg5UV.js} +2 -2
  620. package/dist/react-router/index.d.ts +6 -6
  621. package/dist/react-router/index.js +4 -4
  622. package/dist/realtime/index.d.ts +6 -6
  623. package/dist/realtime/index.js +2 -2
  624. package/dist/{record-form-BggNAKZA.d.ts → record-form-CbFN-AdD.d.ts} +1 -1
  625. package/dist/{recordings-Bdf1OnQS.d.ts → recordings-C1BOyHYu.d.ts} +1 -1
  626. package/dist/records/index.d.ts +9 -9
  627. package/dist/{refusal-DHSRBaS6.d.ts → refusal-6HGi0oY9.d.ts} +3 -3
  628. package/dist/{resolve-oJsHQ9Ib.js → resolve-DP8w5Nl0.js} +2 -2
  629. package/dist/{resolve-Chhtdk4M.d.ts → resolve-Pn7KvQ23.d.ts} +1 -1
  630. package/dist/{resource-BfkM1JZ0.d.ts → resource-DFEtCFTy.d.ts} +1 -1
  631. package/dist/{resource-execute-BIqAzA57.d.ts → resource-execute-BQx_Pmeu.d.ts} +2 -2
  632. package/dist/{resource-types-DcEe07vC.d.ts → resource-types-lBguZ_8J.d.ts} +4 -4
  633. package/dist/{resources-Bb_JRadM.d.ts → resources-CWfoS1er.d.ts} +2 -2
  634. package/dist/{respond-DNcBzi_Y.d.ts → respond-vxhdVf23.d.ts} +1 -1
  635. package/dist/{runs-CTo9cjAz.js → runs-bv1S-1JM.js} +2 -2
  636. package/dist/{sales-CIe7dE4J.js → sales-Br66jZAO.js} +2 -2
  637. package/dist/{sales-lines-CX-xpQQW.d.ts → sales-lines-DWwWHLJj.d.ts} +1 -1
  638. package/dist/{sandboxes-vO9Yb0Bd.d.ts → sandboxes-BjvFi1Wh.d.ts} +1 -1
  639. package/dist/{scores-C8fy3RXF.d.ts → scores-LZaJOHkr.d.ts} +5 -5
  640. package/dist/server/account/index.d.ts +3 -3
  641. package/dist/server/accounts/index.d.ts +6 -6
  642. package/dist/server/accounts/index.js +1 -1
  643. package/dist/server/index.d.ts +27 -27
  644. package/dist/server/index.js +12 -12
  645. package/dist/{server-DA5SRGHQ.js → server-af58-Q51.js} +10 -6
  646. package/dist/{server-types-Cp2en4rP.d.ts → server-types-By5oBsDZ.d.ts} +18 -12
  647. package/dist/{session-Bro3jmnu.d.ts → session-D5IrTUwv.d.ts} +6 -6
  648. package/dist/{session-status-CywvasN_.d.ts → session-status-m5VN1pW1.d.ts} +2 -2
  649. package/dist/{sessions-Dedk1ubX.js → sessions-w6xril_l.js} +1 -1
  650. package/dist/{settings-CMcdSyT4.d.ts → settings-C_zEVfCy.d.ts} +2 -2
  651. package/dist/{sign-in-DgvuMl59.js → sign-in-CxnkReKM.js} +2 -2
  652. package/dist/{sign-in-BwI5DHy5.js → sign-in-DklEPfDI.js} +2 -2
  653. package/dist/{sign-in-R_Ou2FMR.d.ts → sign-in-Dni-tX9B.d.ts} +1 -1
  654. package/dist/{sign-in-Cj7Y0mSU.d.ts → sign-in-TNX4Pj9E.d.ts} +17 -17
  655. package/dist/{signatures-D9_TUapq.js → signatures-BZ10RZbf.js} +1 -1
  656. package/dist/{signers-BnUPoU0u.d.ts → signers-DB0S8YhO.d.ts} +4 -4
  657. package/dist/{signing-keys-DulqHr3n.d.ts → signing-keys-BNwqmUlK.d.ts} +2 -2
  658. package/dist/{signing-keys-BxAcK3ve.js → signing-keys-Cr08qRGc.js} +1 -1
  659. package/dist/solid/index.d.ts +11 -11
  660. package/dist/solid/index.js +1 -1
  661. package/dist/solid-start/index.d.ts +6 -6
  662. package/dist/solid-start/index.js +4 -4
  663. package/dist/spec/index.d.ts +2 -2
  664. package/dist/spec/index.js +2 -2
  665. package/dist/sql/index.d.ts +5 -5
  666. package/dist/sql/index.js +3 -3
  667. package/dist/{sql-BwfPwN8v.js → sql-CP1j2jfo.js} +293 -133
  668. package/dist/sqlite/index.d.ts +3 -3
  669. package/dist/sqlite/index.js +1 -1
  670. package/dist/{sso-DcxycaaP.d.ts → sso-CK6_NPWp.d.ts} +3 -3
  671. package/dist/ssr/index.d.ts +4 -4
  672. package/dist/ssr/index.js +1 -1
  673. package/dist/storage/client/index.d.ts +2 -2
  674. package/dist/storage/client/index.js +1 -1
  675. package/dist/storage/index.d.ts +3 -3
  676. package/dist/storage/index.js +1 -1
  677. package/dist/streams/index.d.ts +1 -1
  678. package/dist/streams/resumable/index.d.ts +1 -1
  679. package/dist/{subject-readers-61Xd5vAQ.js → subject-readers-qnt9P3Tf.js} +2 -2
  680. package/dist/{subject-readers-DNPGHMEg.d.ts → subject-readers-zsCxIZ_1.d.ts} +5 -5
  681. package/dist/{subjects-Bb5-VIcs.d.ts → subjects-Bnhj8AsZ.d.ts} +9 -9
  682. package/dist/{support-N97YzVgD.d.ts → support-8jVUURe-.d.ts} +4 -4
  683. package/dist/{support--EPft3tt.js → support-B9mOOkAy.js} +1 -1
  684. package/dist/{support-view-D0VmaQVg.d.ts → support-view-CfyHFSq4.d.ts} +1 -1
  685. package/dist/{suspend-account-DcQFTDGI.d.ts → suspend-account-Bi-ebizL.d.ts} +2 -2
  686. package/dist/svelte/index.d.ts +10 -10
  687. package/dist/svelte/index.js +1 -1
  688. package/dist/sveltekit/index.d.ts +7 -7
  689. package/dist/sveltekit/index.js +4 -4
  690. package/dist/{tags-C7NyJTdU.d.ts → tags-Csj8VfA7.d.ts} +1 -1
  691. package/dist/tanstack-db/index.d.ts +3 -3
  692. package/dist/tanstack-start/index.d.ts +6 -6
  693. package/dist/tanstack-start/index.js +4 -4
  694. package/dist/{tax-sql-DrR78UUW.js → tax-sql-sSJTtYtF.js} +1 -1
  695. package/dist/{tenant-BFABaxQ5.d.ts → tenant-CVRFoaDM.d.ts} +1 -1
  696. package/dist/testing/index.d.ts +36 -36
  697. package/dist/testing/index.js +37 -18
  698. package/dist/{timeline-0a7kclhg.d.ts → timeline-T1qkzVdR.d.ts} +5 -5
  699. package/dist/{topic-CTqz7oYG.js → topic-CZ8FVS1o.js} +1 -1
  700. package/dist/{topic-BH4L7H8n.d.ts → topic-DytYYyP3.d.ts} +16 -5
  701. package/dist/{types-BQaFrgFr.d.ts → types-BEuYPFta.d.ts} +4 -4
  702. package/dist/{types-BIpCfsXW.d.ts → types-BcBKymdQ.d.ts} +1 -1
  703. package/dist/{types-BME_OjVm.d.ts → types-CID74uQG.d.ts} +5 -5
  704. package/dist/{types-arsKcxoV.d.ts → types-CNE-ybHL.d.ts} +3 -3
  705. package/dist/{types-D9qT7VIV.d.ts → types-CVq6-P5G.d.ts} +7 -7
  706. package/dist/{types-BMLgTFzf.d.ts → types-Cge5o3f5.d.ts} +2 -2
  707. package/dist/{types-BFNVzP1M.d.ts → types-Cikitezb.d.ts} +5 -5
  708. package/dist/{types-BJ4cg51a.d.ts → types-Dizn1liT.d.ts} +12 -2
  709. package/dist/{undo-B_8VpTy2.d.ts → undo-CRejYq21.d.ts} +2 -2
  710. package/dist/{usage-BBR7z7ra.d.ts → usage-CrTrlxoi.d.ts} +4 -4
  711. package/dist/{vault-B2AI88Jz.d.ts → vault-Dyy9I0IE.d.ts} +2 -2
  712. package/dist/vercel-connect/index.d.ts +1 -1
  713. package/dist/vercel-sandbox/index.d.ts +2 -2
  714. package/dist/verifiable-credentials/index.js +2 -2
  715. package/dist/{verify-yUHyGq0u.js → verify-Bu2FKS9o.js} +1 -1
  716. package/dist/{verify-tK2F49Gn.d.ts → verify-dg8Q3iRY.d.ts} +2 -2
  717. package/dist/{version-BHgdHcZN.js → version-BFYCXhul.js} +1 -1
  718. package/dist/{view-DKo-Koiu.d.ts → view-DwTCw_jZ.d.ts} +1 -1
  719. package/dist/vue/index.d.ts +11 -11
  720. package/dist/vue/index.js +1 -1
  721. package/dist/{watch-topic-BYfSlldk.d.ts → watch-topic-DT31uYqF.d.ts} +1 -1
  722. package/dist/{webhook-inbox-Bn-dV-vF.js → webhook-inbox-DIPjKka6.js} +1 -1
  723. package/dist/webmcp/index.d.ts +2 -2
  724. package/dist/webmcp/index.js +1 -1
  725. package/dist/workflow-sdk/builder/index.d.ts +3 -3
  726. package/dist/workflow-sdk/index.d.ts +1 -1
  727. package/dist/workflow-sdk/index.js +1 -1
  728. package/dist/workflow-sdk/world/index.d.ts +1 -1
  729. package/dist/workflow-sdk/world/index.js +1 -1
  730. package/dist/{workflow-sdk-c025kSHf.js → workflow-sdk-IPsOMGEC.js} +1 -1
  731. package/dist/{workflow-sdk-B_yeWl8N.d.ts → workflow-sdk-Js7efMDi.d.ts} +3 -3
  732. package/dist/{workflows-DR6nJ9vq.d.ts → workflows-CUcK8Axx.d.ts} +4 -4
  733. package/dist/yjs/index.d.ts +2 -2
  734. package/dist/yjs/index.js +2 -2
  735. package/package.json +3 -1
  736. package/schemas/config-v1.json +27 -0
  737. package/schemas/error-codes.json +3 -3
  738. package/skills/better-supabase/SKILL.md +2 -2
  739. package/skills/better-supabase/references/ui-recipes.md +2 -2
  740. package/dist/cli/add-BBZULhs3.js +0 -1
  741. package/dist/cli/powersync-JTdU1Xpy.js +0 -1
  742. package/dist/cli/seed-CucH5loT.js +0 -1
@@ -1,10 +1,10 @@
1
1
  /// <reference lib="esnext.temporal" />
2
- import { c as BlockOf } from "./define-block-Cd7dm2o6.js";
3
- import { Et as Events } from "./events-Bk63_mjA.js";
2
+ import { c as BlockOf } from "./define-block-DQvTGOGv.js";
3
+ import { Et as Events } from "./events-zz8DwtZi.js";
4
4
  import { n as Money } from "./money-BgpAd7d3.js";
5
- import { n as BlockHooks } from "./block-hooks-StmUvtuT.js";
5
+ import { n as BlockHooks } from "./block-hooks-b7-RUIxS.js";
6
6
  import { n as Logger } from "./logger-0LfhvwE4.js";
7
- import { n as BlockOptions } from "./block-helpers-D0QSs8ss.js";
7
+ import { n as BlockOptions } from "./block-helpers-DDotKGAf.js";
8
8
  import { t as AsyncResult } from "./result-aun_QZHn.js";
9
9
  /** What `tax_code.created` and `tax_code.updated` carry. */
10
10
  interface TaxCodeEventData {
@@ -1,9 +1,9 @@
1
- import { c as BlockOf } from "./define-block-Cd7dm2o6.js";
2
- import { n as BlockHooks } from "./block-hooks-StmUvtuT.js";
3
- import { t as BlockTransport } from "./block-transport-BNMvuuyC.js";
1
+ import { c as BlockOf } from "./define-block-DQvTGOGv.js";
2
+ import { n as BlockHooks } from "./block-hooks-b7-RUIxS.js";
3
+ import { t as BlockTransport } from "./block-transport-Bqne7_GN.js";
4
4
  import { T as ErrorMapper, t as AsyncResult } from "./result-aun_QZHn.js";
5
5
  import { n as Logger } from "./logger-0LfhvwE4.js";
6
- import { n as SqlClient } from "./executor-BypvvW56.js";
6
+ import { n as SqlClient } from "./executor-7zo2arIZ.js";
7
7
  /** The Stripe event sent when a customer's active entitlements change. */
8
8
  declare const ENTITLEMENTS_UPDATED = "entitlements.active_entitlement_summary.updated";
9
9
  /**
@@ -1,7 +1,7 @@
1
- import { c as BlockOf } from "./define-block-Cd7dm2o6.js";
2
- import { i as ActivityRecordingEventData, n as ActivityErrorMarkedEventData, r as ActivityEventData, t as ActivityAmendedEventData } from "./block-events-records-x6GNmg6M.js";
3
- import { Et as Events } from "./events-Bk63_mjA.js";
4
- import { s as createActivities } from "./activities-BkfN6cef.js";
1
+ import { c as BlockOf } from "./define-block-DQvTGOGv.js";
2
+ import { i as ActivityRecordingEventData, n as ActivityErrorMarkedEventData, r as ActivityEventData, t as ActivityAmendedEventData } from "./block-events-records-CUCsDp0S.js";
3
+ import { Et as Events } from "./events-zz8DwtZi.js";
4
+ import { s as createActivities } from "./activities-BMQuBkrQ.js";
5
5
  /** The events of the `activities` block: type to data. */
6
6
  type ActivitiesEvents = {
7
7
  readonly "activity.logged": ActivityEventData;
@@ -1,10 +1,10 @@
1
- import { d as loadSnapshot } from "../cli/sql-layout-Bl3iOXMS.js";
2
- import { i as discoverConfig, s as loadConfig } from "../cli/config-DD_MnPRL.js";
3
- import { s as schemaStampPath } from "../cli/content-mapper-DAYxPQ18.js";
1
+ import { d as loadSnapshot } from "../cli/sql-layout-BH9MeAY3.js";
2
+ import { i as discoverConfig, s as loadConfig } from "../cli/config-DX58lDf7.js";
3
+ import { s as schemaStampPath } from "../cli/content-mapper-BUWZw8Yr.js";
4
4
  import { i as parseEnv, n as configEnvironment } from "../cli/env-CQ831uY0.js";
5
- import { i as renderTypesModule, t as mapperFilePath } from "../cli/render-3J7sk_CL.js";
6
- import { i as lastTypesModule, o as typesModuleKey, s as writeAtomic } from "../cli/cache-B0JnXfiY.js";
7
- import { t as VERSION } from "../cli/version-Bd3kCDzL.js";
5
+ import { i as renderTypesModule, t as mapperFilePath } from "../cli/render-Div4K_TT.js";
6
+ import { i as lastTypesModule, o as typesModuleKey, s as writeAtomic } from "../cli/cache-BKwYvrrJ.js";
7
+ import { t as VERSION } from "../cli/version-ljacjTnk.js";
8
8
  import { existsSync, realpathSync } from "node:fs";
9
9
  import { basename, dirname, join, resolve } from "node:path";
10
10
  import { readFile } from "node:fs/promises";
@@ -1,4 +1,4 @@
1
- import { r as GuardOptions } from "../respond-DNcBzi_Y.js";
2
- import { l as ResourceRouteOptions } from "../resource-types-DcEe07vC.js";
3
- import { _ as ToolResult, a as ToolDecision, c as ToolResourceOptions, d as defineTool, f as MCP_PROTOCOL_VERSION, g as ToolInfo, h as ToolAnnotations, i as ToolContext, l as ToolResources, m as ServerDescription, n as McpOptions, o as ToolDefinition, p as ProtocolServer, r as McpTool, s as ToolRef, t as BetterMcp, u as createMcp, v as answerLine, y as answerMessage } from "../index-Sl13L6VB.js";
1
+ import { r as GuardOptions } from "../respond-vxhdVf23.js";
2
+ import { l as ResourceRouteOptions } from "../resource-types-lBguZ_8J.js";
3
+ import { _ as ToolResult, a as ToolDecision, c as ToolResourceOptions, d as defineTool, f as MCP_PROTOCOL_VERSION, g as ToolInfo, h as ToolAnnotations, i as ToolContext, l as ToolResources, m as ServerDescription, n as McpOptions, o as ToolDefinition, p as ProtocolServer, r as McpTool, s as ToolRef, t as BetterMcp, u as createMcp, v as answerLine, y as answerMessage } from "../index-Dea13gIz.js";
4
4
  export { type BetterMcp, type GuardOptions, MCP_PROTOCOL_VERSION, type McpOptions, type McpTool, type ProtocolServer, type ResourceRouteOptions, type ServerDescription, type ToolAnnotations, type ToolContext, type ToolDecision, type ToolDefinition, type ToolInfo, type ToolRef, type ToolResourceOptions, type ToolResources, type ToolResult, answerLine, answerMessage, createMcp, defineTool };
package/dist/mcp/index.js CHANGED
@@ -1 +1 @@
1
- export { r as MCP_PROTOCOL_VERSION, i as answerLine, a as answerMessage, t as createMcp, n as defineTool } from "../mcp-mSD-ic9W.js";
1
+ export { r as MCP_PROTOCOL_VERSION, i as answerLine, a as answerMessage, t as createMcp, n as defineTool } from "../mcp-B4bvacl4.js";
@@ -1,10 +1,10 @@
1
- import { r as AuthState } from "../../resolve-Chhtdk4M.js";
2
- import { s as BetterSupabase } from "../../db-blocks-DB8Ct8Eu.js";
3
- import { O as AnyFunctions, k as AnyModels } from "../../types-BJ4cg51a.js";
4
- import { r as GuardOptions, t as AllowedCaller } from "../../respond-DNcBzi_Y.js";
5
- import { r as BetterServer, s as ServerContext$1, u as ServerOptions } from "../../server-types-Cp2en4rP.js";
1
+ import { r as AuthState } from "../../resolve-Pn7KvQ23.js";
2
+ import { s as BetterSupabase } from "../../db-blocks-_jJICfjp.js";
3
+ import { O as AnyFunctions, k as AnyModels } from "../../types-Dizn1liT.js";
4
+ import { r as GuardOptions, t as AllowedCaller } from "../../respond-vxhdVf23.js";
5
+ import { r as BetterServer, s as ServerContext$1, u as ServerOptions } from "../../server-types-By5oBsDZ.js";
6
6
  import { i as SupabaseMcpScope, n as SupabaseMcpModule, r as SupabaseMcpPlatformModule, t as SupabaseMcpFeature } from "../../supabase-mcp-DY32eoax.js";
7
- import { i as CredentialRef, r as CredentialProvider } from "../../provider-r2RjlARm.js";
7
+ import { i as CredentialRef, r as CredentialProvider } from "../../provider-DSokOaUo.js";
8
8
  import { AuthInfo, CallToolResult, Icon, InputRequiredResult, OAuthTokenVerifier, RegisteredTool, ScopeChallengeHandler, ServerContext, StandardSchemaWithJSON, ToolAnnotations } from "@modelcontextprotocol/server";
9
9
  /** Where `serve` keeps the verified `AuthState` in `AuthInfo.extra`. */
10
10
  export declare const MCP_AUTH_STATE_KEY = "betterSupabase";
@@ -1,8 +1,8 @@
1
1
  import { i as delegationOf } from "../../actor-DraVJ7tB.js";
2
- import { h as resolveToken, p as flushEvents } from "../../sessions-Dedk1ubX.js";
2
+ import { h as resolveToken, p as flushEvents } from "../../sessions-w6xril_l.js";
3
3
  import { t as withExtra } from "../../extra-Dz9n5y1s.js";
4
4
  import { i as guard } from "../../respond-DLvLJwwN.js";
5
- import { n as extendServer, t as createServer } from "../../server-DA5SRGHQ.js";
5
+ import { n as extendServer, t as createServer } from "../../server-af58-Q51.js";
6
6
  import { a as withCors, i as metadataPreflight, n as endpointPreflight, r as isMetadataRequest, t as discovery } from "../../http-BRUI3qim.js";
7
7
  import { n as dbError } from "../../errors-DK1wGb9z.js";
8
8
  import { o as problemResponse } from "../../problem-BwplIuhI.js";
@@ -3,16 +3,16 @@ import { n as jsonResponse, t as jsonReplacer } from "./json-O5vFw243.js";
3
3
  import { a as methodNotAllowed, c as toProblem, o as problemResponse } from "./problem-BwplIuhI.js";
4
4
  import { n as validate } from "./standard-DM4THQrL.js";
5
5
  import { t as boundedTtlCache } from "./ttl-cache-C5S0L2wx.js";
6
- import { n as toJsonSchema, r as toDraft07 } from "./json-schema-BveJfXoz.js";
7
- import { t as adapterBase } from "./adapter-base-BHtxRoRg.js";
8
- import { p as flushEvents } from "./sessions-Dedk1ubX.js";
6
+ import { n as toJsonSchema, r as toDraft07 } from "./json-schema-CChz-Csz.js";
7
+ import { t as adapterBase } from "./adapter-base-DGiRWzEo.js";
8
+ import { p as flushEvents } from "./sessions-w6xril_l.js";
9
9
  import { t as withExtra } from "./extra-Dz9n5y1s.js";
10
10
  import { t as defineResource } from "./resource-BxSmk1R1.js";
11
11
  import { i as guard, s as settle } from "./respond-DLvLJwwN.js";
12
- import { n as extendServer, t as createServer } from "./server-DA5SRGHQ.js";
12
+ import { n as extendServer, t as createServer } from "./server-af58-Q51.js";
13
13
  import { r as pageSchema, t as pageInputSchema } from "./resource-schemas-Bq0g2RCQ.js";
14
14
  import { a as withCors, i as metadataPreflight, n as endpointPreflight, r as isMetadataRequest, t as discovery } from "./http-BRUI3qim.js";
15
- import { t as base64ToText } from "./base64-CEBz6-Jj.js";
15
+ import { t as base64ToText } from "./base64-DgNIlSAS.js";
16
16
  import { a as isRequestMemo, o as outcomesOfMany, r as checkPermission } from "./authorizer-DtUCjKBn.js";
17
17
  import { r as operationPermission, t as OPERATION_PREFIXES } from "./operations-BNFbWv1t.js";
18
18
  import { a as ok } from "./result-DijoXEFG.js";
@@ -1,12 +1,12 @@
1
1
  /// <reference lib="esnext.temporal" />
2
2
  import { n as ExtraFields, r as FieldsOf } from "./block-fields-go27qquz.js";
3
- import { n as BlockHooks } from "./block-hooks-StmUvtuT.js";
4
- import { t as BlockTransport } from "./block-transport-BNMvuuyC.js";
3
+ import { n as BlockHooks } from "./block-hooks-b7-RUIxS.js";
4
+ import { t as BlockTransport } from "./block-transport-Bqne7_GN.js";
5
5
  import { T as ErrorMapper, t as AsyncResult } from "./result-aun_QZHn.js";
6
6
  import { n as Logger } from "./logger-0LfhvwE4.js";
7
7
  import { t as StandardSchemaV1 } from "./standard-Vmy7ALDX.js";
8
- import { r as BlockTemporalOptions } from "./block-helpers-D0QSs8ss.js";
9
- import { et as RecordRef } from "./types-BJ4cg51a.js";
8
+ import { r as BlockTemporalOptions } from "./block-helpers-DDotKGAf.js";
9
+ import { et as RecordRef } from "./types-Dizn1liT.js";
10
10
  /** Where a medication's code comes from. `custom` is the app's own list. */
11
11
  type MedicationCodeSystem = "gtin" | "hpk" | "atc" | "rxnorm" | "custom";
12
12
  /** Who wrote an order: a prescriber in the app, a pharmacy feed or an import. */
@@ -381,7 +381,7 @@ interface Medications<F extends object = Record<never, never>> {
381
381
  }
382
382
  /**
383
383
  * The medications block: an organization's medication list, orders on any
384
- * record registered in `config.subjects`, and the doses planned and recorded
384
+ * record registered in `config.recordTypes`, and the doses planned and recorded
385
385
  * against them, for a medication chart.
386
386
  */
387
387
  declare function createMedications<S extends StandardSchemaV1 | undefined = undefined>(options: MedicationsOptions<S>): Medications<FieldsOf<S>>;
@@ -1,13 +1,13 @@
1
1
  /// <reference lib="esnext.temporal" />
2
2
  import { t as Author } from "./block-authors-BkayxCWo.js";
3
3
  import { n as ExtraFields, r as FieldsOf } from "./block-fields-go27qquz.js";
4
- import { n as BlockHooks } from "./block-hooks-StmUvtuT.js";
5
- import { c as BlockTenantOptions, r as BlockTemporalOptions } from "./block-helpers-D0QSs8ss.js";
6
- import { t as BlockTransport } from "./block-transport-BNMvuuyC.js";
4
+ import { n as BlockHooks } from "./block-hooks-b7-RUIxS.js";
5
+ import { c as BlockTenantOptions, r as BlockTemporalOptions } from "./block-helpers-DDotKGAf.js";
6
+ import { t as BlockTransport } from "./block-transport-Bqne7_GN.js";
7
7
  import { T as ErrorMapper, t as AsyncResult } from "./result-aun_QZHn.js";
8
8
  import { n as Logger } from "./logger-0LfhvwE4.js";
9
9
  import { t as StandardSchemaV1 } from "./standard-Vmy7ALDX.js";
10
- import { et as RecordRef } from "./types-BJ4cg51a.js";
10
+ import { et as RecordRef } from "./types-Dizn1liT.js";
11
11
  import { a as ThreadSummary, i as ThreadSummarizer, r as SummaryTarget, t as SummarizeOptions } from "./summaries-CUemsYwV.js";
12
12
  /** What a conversation is for. */
13
13
  type ConversationKind = "channel" | "dm" | "group_dm" | "subject" | "inbox";
@@ -1,6 +1,6 @@
1
1
  import { t as Validated } from "../shared-DsBcvj6q.js";
2
- import { l as ToNodeOptions } from "../index-d2TijvXV.js";
3
- import { n as RouteGuardOptions } from "../refusal-DHSRBaS6.js";
2
+ import { l as ToNodeOptions } from "../index-D2R8Msu5.js";
3
+ import { n as RouteGuardOptions } from "../refusal-6HGi0oY9.js";
4
4
  import { AnyEntry } from "@supabase/middleware";
5
5
  import { IncomingMessage, ServerResponse } from "node:http";
6
6
  /**
@@ -1,4 +1,4 @@
1
- import { i as SessionWatchStatus, t as SessionStatusBody } from "../../session-status-CywvasN_.js";
1
+ import { i as SessionWatchStatus, t as SessionStatusBody } from "../../session-status-m5VN1pW1.js";
2
2
  /**
3
3
  * Why the session changed: Auth ended it or banned the user, the user signed
4
4
  * out, or the claims or support target behind the session changed.
@@ -1,25 +1,25 @@
1
- import { O as AnyFunctions, Ut as AnyAuthorizer, et as RecordRef, in as PermissionRef, k as AnyModels, rn as AuthzVersionCache } from "../types-BJ4cg51a.js";
2
- import { rn as DbStats, s as BetterSupabase, sn as CacheAdapter } from "../db-blocks-DB8Ct8Eu.js";
3
- import { $ as RecordView, A as RouteOptions, B as SupportStarted, C as RemoteCachedOptions, D as ResendParams, E as RequireOptions, F as SignInWithOAuthParams, G as NextResourcesOptions, H as VerifySessionOptions, I as SignInWithOtpParams, J as RecordLoadOptions, K as RecordListServer, L as SignOutParams, M as SessionHandle, N as SignInCredentials, O as ResetPasswordParams, P as SignInOptions, Q as RecordTimelineOptions, R as SignUpParams, S as RemoteCacheKey, T as RequireAalOptions, U as NextResourceHandler, V as VerifyOtpParams, W as NextResourceRoutes, X as RecordServerActions, Y as RecordServer, Z as RecordServerContext, _ as NextDebugOptions, a as BlockActionParams, b as PrivateCachedOptions, c as CacheShare, d as CachedOptions, et as recordListServer, f as CachedStage, g as NextCacheOptions, h as MfaVerification, i as BetterNext, j as ScopeOptions, k as RevalidateProfile, l as CachedContext, m as ExchangeCodeParams, n as ActionMapper, nt as REQUEST_ID_HEADER, o as BootstrapOptions, p as EmailRedirect, q as RecordListView, r as ActionOptions, s as CacheScope, t as postAuthPath, tt as DbBudget, u as CachedLife, v as NextOptions, w as RemoteOptions, x as ProxyOptions, y as NextRootParams, z as SignedIn } from "../sign-in-Cj7Y0mSU.js";
1
+ import { O as AnyFunctions, Ut as AnyAuthorizer, et as RecordRef, in as PermissionRef, k as AnyModels, rn as AuthzVersionCache } from "../types-Dizn1liT.js";
2
+ import { rn as DbStats, s as BetterSupabase, sn as CacheAdapter } from "../db-blocks-_jJICfjp.js";
3
+ import { $ as RecordView, A as RouteOptions, B as SupportStarted, C as RemoteCachedOptions, D as ResendParams, E as RequireOptions, F as SignInWithOAuthParams, G as NextResourcesOptions, H as VerifySessionOptions, I as SignInWithOtpParams, J as RecordLoadOptions, K as RecordListServer, L as SignOutParams, M as SessionHandle, N as SignInCredentials, O as ResetPasswordParams, P as SignInOptions, Q as RecordTimelineOptions, R as SignUpParams, S as RemoteCacheKey, T as RequireAalOptions, U as NextResourceHandler, V as VerifyOtpParams, W as NextResourceRoutes, X as RecordServerActions, Y as RecordServer, Z as RecordServerContext, _ as NextDebugOptions, a as BlockActionParams, b as PrivateCachedOptions, c as CacheShare, d as CachedOptions, et as recordListServer, f as CachedStage, g as NextCacheOptions, h as MfaVerification, i as BetterNext, j as ScopeOptions, k as RevalidateProfile, l as CachedContext, m as ExchangeCodeParams, n as ActionMapper, nt as REQUEST_ID_HEADER, o as BootstrapOptions, p as EmailRedirect, q as RecordListView, r as ActionOptions, s as CacheScope, t as postAuthPath, tt as DbBudget, u as CachedLife, v as NextOptions, w as RemoteOptions, x as ProxyOptions, y as NextRootParams, z as SignedIn } from "../sign-in-TNX4Pj9E.js";
4
4
  import { t as GateUser } from "../user-qcaSmToA.js";
5
- import { _ as authzVersionOf, b as sessionCacheKey, g as SessionSnapshot, r as AuthState, v as isSessionSnapshot, y as issuedAtOf } from "../resolve-Chhtdk4M.js";
6
- import { t as tenantOf } from "../tenant-BFABaxQ5.js";
7
- import { r as permissionsOf, t as PermissionsOfOptions } from "../permissions-DG0t2lrA.js";
8
- import { b as Bootstrap, v as Access } from "../server-types-Cp2en4rP.js";
9
- import { c as safeRedirectPath, n as EmailOtpType, o as SignOutScope, r as ExistingAccount, t as AuthorizeUrlParams } from "../sign-in-R_Ou2FMR.js";
5
+ import { _ as authzVersionOf, b as sessionCacheKey, g as SessionSnapshot, r as AuthState, v as isSessionSnapshot, y as issuedAtOf } from "../resolve-Pn7KvQ23.js";
6
+ import { t as tenantOf } from "../tenant-CVRFoaDM.js";
7
+ import { r as permissionsOf, t as PermissionsOfOptions } from "../permissions-BkUcXwtV.js";
8
+ import { b as Bootstrap, v as Access } from "../server-types-By5oBsDZ.js";
9
+ import { c as safeRedirectPath, n as EmailOtpType, o as SignOutScope, r as ExistingAccount, t as AuthorizeUrlParams } from "../sign-in-Dni-tX9B.js";
10
10
  import { n as AmrEntry, t as Aal } from "../mfa-DzVJV8QL.js";
11
- import { i as tagFor, t as TagOptions } from "../tags-C7NyJTdU.js";
12
- import { i as ResourceContext, l as ResourceRouteOptions, o as ResourceHooks, r as ResourceAction, t as ActionParams } from "../resource-types-DcEe07vC.js";
13
- import { t as defineAction } from "../resource-execute-BIqAzA57.js";
14
- import { t as ResourceMap } from "../resources-Bb_JRadM.js";
15
- import { a as AuthorizedContext, c as ResourceLoaderContext, i as AuthorizeOptions, r as ActionResult } from "../kit-DN6lGKB6.js";
16
- import { r as LiveCountSeed } from "../index-C1na2fiY.js";
17
- import { n as AuthKind, r as GuardOptions } from "../respond-DNcBzi_Y.js";
18
- import { c as Impersonator, n as AuthSession, o as toSession } from "../view-DKo-Koiu.js";
19
- import { n as supportOf, t as SupportView } from "../support-view-D0VmaQVg.js";
20
- import { a as SupportOptions, c as SupportStartRequest, l as supportSessions, o as SupportPolicy, s as SupportSessions, t as ActiveSupport } from "../support-N97YzVgD.js";
21
- import { r as MembershipClaim } from "../entitlements-CR5HRd3S.js";
22
- import { n as sessionTag, t as sessionIdTag } from "../cache-tags-FrJaMalu.js";
11
+ import { i as tagFor, t as TagOptions } from "../tags-Csj8VfA7.js";
12
+ import { i as ResourceContext, l as ResourceRouteOptions, o as ResourceHooks, r as ResourceAction, t as ActionParams } from "../resource-types-lBguZ_8J.js";
13
+ import { t as defineAction } from "../resource-execute-BQx_Pmeu.js";
14
+ import { t as ResourceMap } from "../resources-CWfoS1er.js";
15
+ import { a as AuthorizedContext, c as ResourceLoaderContext, i as AuthorizeOptions, r as ActionResult } from "../kit-BwlTgitb.js";
16
+ import { r as LiveCountSeed } from "../index-CjoB5SrD.js";
17
+ import { n as AuthKind, r as GuardOptions } from "../respond-vxhdVf23.js";
18
+ import { c as Impersonator, n as AuthSession, o as toSession } from "../view-DwTCw_jZ.js";
19
+ import { n as supportOf, t as SupportView } from "../support-view-CfyHFSq4.js";
20
+ import { a as SupportOptions, c as SupportStartRequest, l as supportSessions, o as SupportPolicy, s as SupportSessions, t as ActiveSupport } from "../support-8jVUURe-.js";
21
+ import { r as MembershipClaim } from "../entitlements-D4ob6MfK.js";
22
+ import { n as sessionTag, t as sessionIdTag } from "../cache-tags-UWvxDMDO.js";
23
23
  import { t as Validated } from "../shared-DsBcvj6q.js";
24
24
  import { AnyEntry, Contributions } from "@supabase/middleware";
25
25
  import { NextRequest } from "next/server.js";
@@ -1,4 +1,4 @@
1
- import { f as readSession, m as sessionCookieName, s as markSessionEnded } from "../resolve-oJsHQ9Ib.js";
1
+ import { f as readSession, m as sessionCookieName, s as markSessionEnded } from "../resolve-DP8w5Nl0.js";
2
2
  import { c as snapshotOf, i as issuedAtOf, n as authzVersionOf, o as sessionCacheKey, r as isSessionSnapshot } from "../snapshot-C1KUHKTc.js";
3
3
  import { a as supportCookieMaxAge } from "../support-storage-DxxdEsc_.js";
4
4
  import { i as toSession } from "../view-DpKWWhP2.js";
@@ -11,20 +11,20 @@ import { n as validate } from "../standard-DM4THQrL.js";
11
11
  import { t as EMPTY_STATS } from "../stats-D2TN2c3B.js";
12
12
  import { r as tagFor, t as cacheTagsOf } from "../tags-CW-KvjdL.js";
13
13
  import { t as ACCOUNT_PARTS } from "../account-parts-CsuHH0Zs.js";
14
- import { t as adapterBase } from "../adapter-base-BHtxRoRg.js";
14
+ import { t as adapterBase } from "../adapter-base-DGiRWzEo.js";
15
15
  import { t as tenantOf } from "../tenant-Duq0dWqX.js";
16
- import { c as serverCore, f as bearerRequest, m as handle } from "../sessions-Dedk1ubX.js";
16
+ import { c as serverCore, f as bearerRequest, m as handle } from "../sessions-w6xril_l.js";
17
17
  import { r as permissionsOf } from "../permissions-Dk3BH3dS.js";
18
- import { c as bootstrapSchema, l as bootstrapWith, n as extendServer, s as accessOf, t as createServer, u as mapBootstrapMemo } from "../server-DA5SRGHQ.js";
18
+ import { c as bootstrapSchema, l as bootstrapWith, n as extendServer, s as accessOf, t as createServer, u as mapBootstrapMemo } from "../server-af58-Q51.js";
19
19
  import { t as withExtra } from "../extra-Dz9n5y1s.js";
20
20
  import { i as requireCaller, n as formDataObject, t as authorizeCaller } from "../kit-BgRTtW9w.js";
21
21
  import { n as resourceRouter } from "../resources-CM9wwyfa.js";
22
22
  import { i as guard, s as settle } from "../respond-DLvLJwwN.js";
23
23
  import { n as methodOf } from "../block-method-DIbWG4Mj.js";
24
- import { _ as logActionStats, a as STATS_URL_HEADER, c as adminForRequest, g as formatStats, h as REQUEST_ID_HEADER, i as proxyHandler, l as verifyOption, n as postAuthPath, o as requireAal, r as proxyRuntime, s as shouldCheckSession, t as authFlows, v as requestIdOf } from "../sign-in-BwI5DHy5.js";
24
+ import { _ as logActionStats, a as STATS_URL_HEADER, c as adminForRequest, g as formatStats, h as REQUEST_ID_HEADER, i as proxyHandler, l as verifyOption, n as postAuthPath, o as requireAal, r as proxyRuntime, s as shouldCheckSession, t as authFlows, v as requestIdOf } from "../sign-in-DklEPfDI.js";
25
25
  import { t as DbException } from "../db-exception-Dv18UZ-I.js";
26
26
  import { n as createBlockClient } from "../create-blocks-BNd5HtJf.js";
27
- import { t as subjectsBlock } from "../manifest-B94f27dU.js";
27
+ import { t as subjectsBlock } from "../manifest-icEpY96-.js";
28
28
  import { t as trashBlock } from "../manifest-BuNGeVPw.js";
29
29
  import { a as recordCan, c as recordWriteInput, i as plainData, l as runBindingWrite, o as recordPermissionKeys, p as loadBindings, r as findBindingWrite, s as recordSubject, t as bindingWrites } from "../record-type-CvSMIjXj.js";
30
30
  import { r as loadTimeline, t as copyBindings } from "../copy-CIRGrf7N.js";
@@ -33,7 +33,7 @@ import { i as userSessionTags, n as sessionTag, r as tableTags, t as sessionIdTa
33
33
  import { d as safeRedirectPath } from "../sign-in-iiAK17l3.js";
34
34
  import { i as defineAction } from "../resource-BxSmk1R1.js";
35
35
  import { t as supportOf } from "../support-view-CvDEgyGY.js";
36
- import { t as supportSessions } from "../support--EPft3tt.js";
36
+ import { t as supportSessions } from "../support-B9mOOkAy.js";
37
37
  import { a as toResponse, n as bufferInPlace, t as around } from "../shared-Ci1g9nl4.js";
38
38
  import * as react from "react";
39
39
  import { cache } from "react";
@@ -1,5 +1,5 @@
1
1
  import { n as BlockDataOf, r as BlockMethodName, t as BlockArgsOf } from "../../block-method-OJA4a62H.js";
2
- import { a as BlockQueryActions, i as BlockMutationState, o as BlockQueryOptions, r as BlockMutationActions, s as BlockQueryState, t as BlockEngineOptions } from "../../block-controller-CHtFwmpj.js";
2
+ import { a as BlockQueryActions, i as BlockMutationState, o as BlockQueryOptions, r as BlockMutationActions, s as BlockQueryState, t as BlockEngineOptions } from "../../block-controller-Dy-Jyy8A.js";
3
3
  import { ReactNode } from "react";
4
4
  interface BlockOfflineQueryState<T> extends BlockQueryState<T> {
5
5
  /**
@@ -1,8 +1,8 @@
1
- import { s as BetterSupabase } from "../../db-blocks-DB8Ct8Eu.js";
2
- import { O as AnyFunctions, k as AnyModels } from "../../types-BJ4cg51a.js";
3
- import { t as postAuthPath, v as NextOptions, x as ProxyOptions } from "../../sign-in-Cj7Y0mSU.js";
4
- import { r as permissionsOf } from "../../permissions-DG0t2lrA.js";
5
- import { o as toSession } from "../../view-DKo-Koiu.js";
1
+ import { s as BetterSupabase } from "../../db-blocks-_jJICfjp.js";
2
+ import { O as AnyFunctions, k as AnyModels } from "../../types-Dizn1liT.js";
3
+ import { t as postAuthPath, v as NextOptions, x as ProxyOptions } from "../../sign-in-TNX4Pj9E.js";
4
+ import { r as permissionsOf } from "../../permissions-BkUcXwtV.js";
5
+ import { o as toSession } from "../../view-DwTCw_jZ.js";
6
6
  import { NextRequest } from "next/server.js";
7
7
  /** A response whose headers can be changed (`Response.redirect()`'s cannot). */
8
8
  export declare function mutableResponse(response: Response): Response;
@@ -1,6 +1,6 @@
1
1
  import { r as permissionsOf } from "../../permissions-Dk3BH3dS.js";
2
- import { n as sessionsRuntime, t as serverSessions } from "../../sessions-Dedk1ubX.js";
3
- import { d as mutableResponse, f as overrideRequestHeaders, i as proxyHandler, m as syncMiddlewareSetCookie, n as postAuthPath, p as serverTimingValue, r as proxyRuntime, u as isRedirect } from "../../sign-in-BwI5DHy5.js";
2
+ import { n as sessionsRuntime, t as serverSessions } from "../../sessions-w6xril_l.js";
3
+ import { d as mutableResponse, f as overrideRequestHeaders, i as proxyHandler, m as syncMiddlewareSetCookie, n as postAuthPath, p as serverTimingValue, r as proxyRuntime, u as isRedirect } from "../../sign-in-DklEPfDI.js";
4
4
  import { i as toSession } from "../../view-DpKWWhP2.js";
5
5
  // src/next/proxy/index.ts
6
6
  /**
@@ -1,4 +1,4 @@
1
- import { n as RouteGuardOptions } from "../refusal-DHSRBaS6.js";
1
+ import { n as RouteGuardOptions } from "../refusal-6HGi0oY9.js";
2
2
  import { i as toWebHeaders, r as applyWebHeaders, t as NodeHeaderTarget } from "../node-headers-TnS4T7V_.js";
3
- import { C as toWebRequest, S as sendWebResponse, _ as toNodeHandler, a as FastifyReplyLike, b as keepAliveFetch, c as KoaMiddleware, d as guard, f as koaGuard, g as toKoa, h as toFastify, i as FastifyHook, l as ToNodeOptions, m as toExpress, n as ExpressMiddleware, o as FastifyRequestLike, p as problemErrorHandler, r as ExpressResponse, s as KoaContextLike, t as ExpressErrorHandler, u as fastifyGuard, v as KeepAliveFetchOptions, x as WebRequestOptions, y as UndiciModule } from "../index-d2TijvXV.js";
3
+ import { C as toWebRequest, S as sendWebResponse, _ as toNodeHandler, a as FastifyReplyLike, b as keepAliveFetch, c as KoaMiddleware, d as guard, f as koaGuard, g as toKoa, h as toFastify, i as FastifyHook, l as ToNodeOptions, m as toExpress, n as ExpressMiddleware, o as FastifyRequestLike, p as problemErrorHandler, r as ExpressResponse, s as KoaContextLike, t as ExpressErrorHandler, u as fastifyGuard, v as KeepAliveFetchOptions, x as WebRequestOptions, y as UndiciModule } from "../index-D2R8Msu5.js";
4
4
  export { ExpressErrorHandler, ExpressMiddleware, ExpressResponse, FastifyHook, FastifyReplyLike, FastifyRequestLike, type KeepAliveFetchOptions, KoaContextLike, KoaMiddleware, type NodeHeaderTarget, type RouteGuardOptions, ToNodeOptions, type UndiciModule, type WebRequestOptions, applyWebHeaders, fastifyGuard, guard, keepAliveFetch, koaGuard, problemErrorHandler, sendWebResponse, toExpress, toFastify, toKoa, toNodeHandler, toWebHeaders, toWebRequest };
@@ -1,11 +1,11 @@
1
1
  /// <reference lib="esnext.temporal" />
2
2
  import { n as ExtraFields, r as FieldsOf } from "./block-fields-go27qquz.js";
3
- import { n as BlockHooks } from "./block-hooks-StmUvtuT.js";
4
- import { t as BlockTransport } from "./block-transport-BNMvuuyC.js";
3
+ import { n as BlockHooks } from "./block-hooks-b7-RUIxS.js";
4
+ import { t as BlockTransport } from "./block-transport-Bqne7_GN.js";
5
5
  import { T as ErrorMapper, t as AsyncResult } from "./result-aun_QZHn.js";
6
6
  import { n as Logger } from "./logger-0LfhvwE4.js";
7
7
  import { t as StandardSchemaV1 } from "./standard-Vmy7ALDX.js";
8
- import { r as BlockTemporalOptions } from "./block-helpers-D0QSs8ss.js";
8
+ import { r as BlockTemporalOptions } from "./block-helpers-DDotKGAf.js";
9
9
  interface ObservationsOptions<S extends StandardSchemaV1 | undefined = undefined> extends BlockTemporalOptions {
10
10
  readonly transport: BlockTransport;
11
11
  /**
@@ -1,4 +1,4 @@
1
- import { i as AuthorizationOperation } from "./authorization-Cn_oEGoA.js";
1
+ import { i as AuthorizationOperation } from "./authorization-glyinWcf.js";
2
2
  /** Operations by name, as `authorization.operations` or a module's own defaults. */
3
3
  type OperationTable = Readonly<Record<string, AuthorizationOperation>>;
4
4
  export { OperationTable as t };
@@ -4,13 +4,13 @@ import { i as PaymentEvent, n as Payment, o as PaymentProvider } from "./payment
4
4
  import { t as StockDetail } from "./stock-detail-BRIt7CjU.js";
5
5
  import { l as TaxProvider, p as TaxTransaction } from "./tax-fBGOPO9u.js";
6
6
  import { r as FieldsOf } from "./block-fields-go27qquz.js";
7
- import { n as BlockHooks } from "./block-hooks-StmUvtuT.js";
7
+ import { n as BlockHooks } from "./block-hooks-b7-RUIxS.js";
8
8
  import { n as Logger } from "./logger-0LfhvwE4.js";
9
9
  import { r as WebhookInput } from "./signatures-Db_koMbq.js";
10
10
  import { t as StandardSchemaV1 } from "./standard-Vmy7ALDX.js";
11
- import { _ as JobHandler } from "./types-BME_OjVm.js";
11
+ import { _ as JobHandler } from "./types-CID74uQG.js";
12
12
  import { n as OrderVariants } from "./sales-variants-BoAmPvOd.js";
13
- import { n as BlockOptions } from "./block-helpers-D0QSs8ss.js";
13
+ import { n as BlockOptions } from "./block-helpers-DDotKGAf.js";
14
14
  import { S as ShippingOption, _ as PricedCart, h as OrderStatus, l as Order, p as OrderRefundStatus, r as CartLine, t as Address, v as QuantityLine } from "./codecs-B5fYSNuM.js";
15
15
  import { t as AsyncResult } from "./result-aun_QZHn.js";
16
16
  interface OrderStatusTotal {
@@ -2,7 +2,7 @@ import { n as isRecord } from "./guards-CsRa6v57.js";
2
2
  import { a as sqlString, i as sqlIdent } from "./template-CpYN7hZX.js";
3
3
  import { n as blockOptions, r as option } from "./options-Bfd-k6yw.js";
4
4
  import { $ as userGrant, C as insertExtraColumns, S as fail, Z as updateExtraColumns, b as extraFieldsArg, f as columnRef, p as columnsObject, q as splitTable, r as NOTHING } from "./shared-D-qwk29i.js";
5
- import { l as tenantColumnOf, o as registeredSubjects, t as uniqueContributions } from "./contributions-Bh-HcHoJ.js";
5
+ import { l as tenantColumnOf, o as registeredSubjects, t as uniqueContributions } from "./contributions-Ba-C1ueE.js";
6
6
  import { t as RANK_ALPHABET } from "./rank-keys-CEBzd9Xa.js";
7
7
  import { t as declareRead } from "./reads-CWVqw2JB.js";
8
8
  import { c as stockHistory } from "./inventory-stock-D7rVAss1.js";
@@ -276,7 +276,7 @@ function entity(ctx, name, entry) {
276
276
  const column = record["column"] ?? (record["table"] === void 0 ? void 0 : "number");
277
277
  if (table !== void 0 && typeof table !== "string") throw new TypeError(`${where}.table must be "schema.table"`);
278
278
  if (column !== void 0 && (typeof column !== "string" || !ENTITY.test(column))) throw new TypeError(`${where}.column must be a column name`);
279
- if (table === void 0 !== (column === void 0)) throw new TypeError(`${where}.column needs a table: set table, or add a subject named "${name}" in config.subjects`);
279
+ if (table === void 0 !== (column === void 0)) throw new TypeError(`${where}.column needs a table: set table, or add a subject named "${name}" in config.recordTypes`);
280
280
  const sequenceColumn = record["sequenceColumn"];
281
281
  if (sequenceColumn !== void 0 && (typeof sequenceColumn !== "string" || !ENTITY.test(sequenceColumn) || column === void 0 || sequenceColumn === column)) throw new TypeError(`${where}.sequenceColumn must be a column name other than column, with table and column set`);
282
282
  const tenantColumn = record["tenantColumn"] ?? (typeof table === "string" ? tenantColumnOf(table, ctx.subjects, ctx.naming) : ctx.naming.rename("organization_id"));
@@ -1,14 +1,14 @@
1
- import { r as AuthState } from "../resolve-Chhtdk4M.js";
2
- import { s as BetterSupabase } from "../db-blocks-DB8Ct8Eu.js";
1
+ import { r as AuthState } from "../resolve-Pn7KvQ23.js";
2
+ import { s as BetterSupabase } from "../db-blocks-_jJICfjp.js";
3
3
  import { b as DbError, f as Result } from "../result-aun_QZHn.js";
4
4
  import { i as ProblemDetails } from "../problem-DfABfWnk.js";
5
- import { O as AnyFunctions, k as AnyModels } from "../types-BJ4cg51a.js";
6
- import { c as ResourceLoaderContext, i as AuthorizeOptions } from "../kit-DN6lGKB6.js";
5
+ import { O as AnyFunctions, k as AnyModels } from "../types-Dizn1liT.js";
6
+ import { c as ResourceLoaderContext, i as AuthorizeOptions } from "../kit-BwlTgitb.js";
7
7
  import { a as RateLimitVerdict, c as RouteRateLimitRule, i as RateLimitRouteOptions, l as SingleRateLimitOptions, n as MultiRateLimiter, o as RateLimiter, r as RateLimitAllVerdict, s as RouteRateLimitHit, t as MultiRateLimitOptions } from "../rate-limit-DoUeCpsi.js";
8
- import { i as MiddlewareOptions, r as GuardOptions } from "../respond-DNcBzi_Y.js";
9
- import { r as BetterServer, s as ServerContext, u as ServerOptions } from "../server-types-Cp2en4rP.js";
10
- import { t as Api } from "../api-CSx2F4zg.js";
11
- import { a as ResourceHandler } from "../resource-types-DcEe07vC.js";
8
+ import { i as MiddlewareOptions, r as GuardOptions } from "../respond-vxhdVf23.js";
9
+ import { r as BetterServer, s as ServerContext, u as ServerOptions } from "../server-types-By5oBsDZ.js";
10
+ import { t as Api } from "../api-pGkHTqH6.js";
11
+ import { a as ResourceHandler } from "../resource-types-lBguZ_8J.js";
12
12
  import { t as Validated } from "../shared-DsBcvj6q.js";
13
13
  import { AnyEntry, Contributions } from "@supabase/middleware";
14
14
  import { AnySchema, BuilderWithMiddlewares, DecoratedMiddleware, DecoratedProcedure, MetaPlugin, ORPCError, Schema } from "@orpc/server";
@@ -2,14 +2,14 @@ import { i as toSession } from "../view-DpKWWhP2.js";
2
2
  import { i as claimsOf } from "../claims-CX-ar1vt.js";
3
3
  import { n as dbError, 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-BHtxRoRg.js";
6
- import { p as flushEvents } from "../sessions-Dedk1ubX.js";
5
+ import { t as adapterBase } from "../adapter-base-DGiRWzEo.js";
6
+ import { p as flushEvents } from "../sessions-w6xril_l.js";
7
7
  import { t as authorizeCaller } from "../kit-BgRTtW9w.js";
8
8
  import { t as rateLimitGate } from "../rate-limit-Wolzge1m.js";
9
9
  import { t as tenantOf } from "../tenant-Duq0dWqX.js";
10
10
  import { r as refreshFor } from "../request-kind-BMNdlQpz.js";
11
11
  import { i as guard, s as settle, t as assertCookieRefresh } from "../respond-DLvLJwwN.js";
12
- import { n as extendServer, t as createServer } from "../server-DA5SRGHQ.js";
12
+ import { n as extendServer, t as createServer } from "../server-af58-Q51.js";
13
13
  import { t as callWithInput } from "../block-method-DIbWG4Mj.js";
14
14
  import { r as checkPermission } from "../authorizer-DtUCjKBn.js";
15
15
  import { n as isRecord } from "../guards-CsRa6v57.js";
@@ -1,5 +1,5 @@
1
- import { o as EventHub } from "../events-Bk63_mjA.js";
2
- import { Nt as Plugin } from "../types-BJ4cg51a.js";
1
+ import { o as EventHub } from "../events-zz8DwtZi.js";
2
+ import { Nt as Plugin } from "../types-Dizn1liT.js";
3
3
  import { t as SPEC_PINS } from "../spec-pins-Bb6V8nR2.js";
4
4
  import { Attributes, Meter, Tracer } from "@opentelemetry/api";
5
5
  export declare const INSTRUMENTATION_NAME = "better-supabase";
@@ -1,7 +1,7 @@
1
1
  import { r as blockEventAttributes } from "../block-events-uKWyOpAy.js";
2
2
  import { r as definePlugin } from "../plugin-Ca2qBiFZ.js";
3
3
  import { t as SPEC_PINS } from "../spec-pins-Dlz8OVqi.js";
4
- import "../version-BHgdHcZN.js";
4
+ import "../version-BFYCXhul.js";
5
5
  import { SpanKind, SpanStatusCode, context, metrics, propagation, trace } from "@opentelemetry/api";
6
6
  // src/otel/index.ts
7
7
  const INSTRUMENTATION_NAME = "better-supabase";
@@ -40,9 +40,9 @@ function systemOf(executor) {
40
40
  * ```
41
41
  */
42
42
  function otel(options = {}) {
43
- const tracer = options.tracer ?? trace.getTracer("better-supabase", "0.60.0");
43
+ const tracer = options.tracer ?? trace.getTracer("better-supabase", "0.61.1");
44
44
  let histogram;
45
- if (options.metrics !== false) histogram = (options.meter ?? metrics.getMeter("better-supabase", "0.60.0")).createHistogram("db.client.operation.duration", {
45
+ if (options.metrics !== false) histogram = (options.meter ?? metrics.getMeter("better-supabase", "0.61.1")).createHistogram("db.client.operation.duration", {
46
46
  unit: "s",
47
47
  description: "Duration of database client operations.",
48
48
  advice: { explicitBucketBoundaries: [
@@ -231,7 +231,7 @@ function otel(options = {}) {
231
231
  * `betterSupabase.events`. Returns a function that stops listening.
232
232
  */
233
233
  function traceAuth(betterSupabase, options = {}) {
234
- const tracer = options.tracer ?? trace.getTracer("better-supabase", "0.60.0");
234
+ const tracer = options.tracer ?? trace.getTracer("better-supabase", "0.61.1");
235
235
  const offAuth = betterSupabase.events.on("auth", (event) => {
236
236
  const span = tracer.startSpan("auth.resolve", {
237
237
  kind: SpanKind.INTERNAL,
@@ -270,7 +270,7 @@ function traceAuth(betterSupabase, options = {}) {
270
270
  * `*.denied`) set an error status. Returns a function that stops listening.
271
271
  */
272
272
  function traceBlockEvents(betterSupabase, options = {}) {
273
- const tracer = options.tracer ?? trace.getTracer("better-supabase", "0.60.0");
273
+ const tracer = options.tracer ?? trace.getTracer("better-supabase", "0.61.1");
274
274
  return betterSupabase.events.on("block", (event) => {
275
275
  const attributes = {
276
276
  ...options.attributes,
@@ -1,11 +1,11 @@
1
1
  /// <reference lib="esnext.temporal" />
2
- import { i as CursorPageOptions, n as BlockOptions } from "./block-helpers-D0QSs8ss.js";
3
- import { n as BlockHooks } from "./block-hooks-StmUvtuT.js";
4
- import { g as SubscriberPolicy, i as AuthorizationHooks } from "./authorization-hooks-DtuVzDBf.js";
2
+ import { i as CursorPageOptions, n as BlockOptions } from "./block-helpers-DDotKGAf.js";
3
+ import { n as BlockHooks } from "./block-hooks-b7-RUIxS.js";
4
+ import { g as SubscriberPolicy, i as AuthorizationHooks } from "./authorization-hooks-Oe0WJTn2.js";
5
5
  import { b as DbError, t as AsyncResult } from "./result-aun_QZHn.js";
6
6
  import { n as Logger } from "./logger-0LfhvwE4.js";
7
7
  import { t as BlockProblemOptions } from "./problem-DfABfWnk.js";
8
- import { i as EventSink, t as CloudEvent } from "./cloud-event-BtWOKfsx.js";
8
+ import { i as EventSink, t as CloudEvent } from "./cloud-event-B0AsPtwP.js";
9
9
  /** One row of the outbox, as `outbox_claim` and `outbox_history` return it. */
10
10
  interface OutboxEvent {
11
11
  /** The cursor value: increases with every event. */
@@ -2,10 +2,10 @@ import { n as isRecord } from "./guards-CsRa6v57.js";
2
2
  import { a as sqlString, i as sqlIdent } from "./template-CpYN7hZX.js";
3
3
  import { n as blockOptions, r as option } from "./options-Bfd-k6yw.js";
4
4
  import { $ as userGrant, E as lockTable, G as sha256HexSql, H as schemaPreamble, P as quotedTable, S as fail, a as SERVICE_CALLER, b as extraFieldsArg, et as withExtraFields, f as columnRef, q as splitTable, tt as writeExtraColumns, x as extraFieldsJson } from "./shared-D-qwk29i.js";
5
- import { d as subjectPermissionKey, f as subjectPermissionOf, r as checkCall, t as uniqueContributions } from "./contributions-Bh-HcHoJ.js";
5
+ import { d as subjectPermissionKey, f as subjectPermissionOf, r as checkCall, t as uniqueContributions } from "./contributions-Ba-C1ueE.js";
6
6
  import { t as SUBJECT_TYPE_PATTERN } from "./subject-type-BarjdHZV.js";
7
7
  import { i as fillTemplate } from "./access-sql-Dvl7BRy0.js";
8
- import { a as moduleOperations, n as OPERATIONS, r as accessModel } from "./permissions-model-CYfIupG0.js";
8
+ import { i as accessModel, o as moduleOperations, r as OPERATIONS } from "./permissions-model-B7E_f7GV.js";
9
9
  import { c as renderPolicy, i as policy } from "./policy-Buem9L_M.js";
10
10
  // src/blocks/payroll-export/options.ts
11
11
  const payrollExportSqlOptions = blockOptions({
@@ -165,7 +165,7 @@ function subjectIdMatches(subject, value) {
165
165
  if (subject.idType === void 0) return `${column}::text = ${value}`;
166
166
  return subject.idInferred === true && subject.idType === "uuid" ? `${column} = (case when ${value} ~* '${UUID_PATTERN}' then (${value})::uuid end)` : `${column} = (${value})::${subject.idType}`;
167
167
  }
168
- /** The keys of a registry entry (`config.subjects.<type>`) a module reads. */
168
+ /** The keys of a registry entry (`config.recordTypes.<type>`) a module reads. */
169
169
  function fromRegistry(entry, extraKeys) {
170
170
  const read = subjectPermissionKey(entry.permissions?.["read"]);
171
171
  return {
@@ -199,13 +199,13 @@ function rawSubjects(ctx, where, extraKeys, allow) {
199
199
  return Object.fromEntries(Object.entries(registry).filter(([, entry]) => tenantless || entry.tenant !== false).map(([type, entry]) => [type, fromRegistry(entry, extraKeys)]));
200
200
  }
201
201
  if (Array.isArray(raw)) {
202
- if (raw.length === 0) throw new TypeError(`${where}: list at least one config.subjects type, or pass an object of subject type to { table, ... }`);
202
+ if (raw.length === 0) throw new TypeError(`${where}: list at least one config.recordTypes type, or pass an object of subject type to { table, ... }`);
203
203
  return Object.fromEntries(raw.map((type) => {
204
- if (typeof type !== "string" || !Object.hasOwn(registry, type)) throw new TypeError(`${where}: "${String(type)}" is not a subject type in config.subjects. Types: ${Object.keys(registry).join(", ") || "none"}`);
204
+ if (typeof type !== "string" || !Object.hasOwn(registry, type)) throw new TypeError(`${where}: "${String(type)}" is not a subject type in config.recordTypes. Types: ${Object.keys(registry).join(", ") || "none"}`);
205
205
  return [type, fromRegistry(registry[type], extraKeys)];
206
206
  }));
207
207
  }
208
- if (!isRecord(raw)) throw new TypeError(`${where}: pass a list of config.subjects types, or an object of subject type to { table, id?, tenant?, permission?, cascade? }`);
208
+ if (!isRecord(raw)) throw new TypeError(`${where}: pass a list of config.recordTypes types, or an object of subject type to { table, id?, tenant?, permission?, cascade? }`);
209
209
  return Object.fromEntries(Object.entries(raw).map(([type, entry]) => {
210
210
  const registered = Object.hasOwn(registry, type) ? registry[type] : void 0;
211
211
  return [type, registered && isRecord(entry) ? {
@@ -238,7 +238,7 @@ function registeredRead(entry, permission) {
238
238
  /**
239
239
  * `blocks.<instance>.on`: subject type to `{ table, id?, tenant?, permission?,
240
240
  * cascade? }` plus the `extra` keys the module reads, falling back to the
241
- * app-wide `config.subjects` registry.
241
+ * app-wide `config.recordTypes` registry.
242
242
  */
243
243
  function subjectsOption(ctx, extraKeys = [], allow = {}) {
244
244
  const where = `blocks.${ctx.instance}.on`;
@@ -281,7 +281,7 @@ function subjectsOption(ctx, extraKeys = [], allow = {}) {
281
281
  }
282
282
  /**
283
283
  * The record types `blocks.<instance>.on` allows, checked against
284
- * `config.subjects`, or `undefined` when `on` is unset and every registered
284
+ * `config.recordTypes`, or `undefined` when `on` is unset and every registered
285
285
  * type is allowed.
286
286
  */
287
287
  function allowedSubjectTypes(ctx) {
@@ -424,10 +424,10 @@ function subjectReadable(ctx, subjects, args, options = {}) {
424
424
  }
425
425
  /**
426
426
  * Whether the caller may take `action` on subject `type`/`id`, for each of
427
- * `subjects` whose `config.subjects` entry declares it (the first of `actions`
428
- * it declares): `can_subject(type, id, action)` as the caller, so a key, the
429
- * provider's per-row grants and an owner column all count. Other types pass.
430
- * `undefined` when no subject declares one of `actions` or the `subjects`
427
+ * `subjects` whose `config.recordTypes` entry declares it (the first of
428
+ * `actions` it declares): `can_subject(type, id, action)` as the caller, so a
429
+ * key, the provider's per-row grants and an owner column all count. Other types
430
+ * pass. `undefined` when no subject declares one of `actions` or the `subjects`
431
431
  * module isn't installed, so the module's own check stays as it was; a module
432
432
  * that uses it lists `subjects` in `integrates`.
433
433
  */
@@ -774,7 +774,7 @@ function singleRevoke(ctx) {
774
774
  /**
775
775
  * Whether the subject a new link names exists in the link's tenant and the
776
776
  * caller may share it. Block-owned types come first; registered subjects
777
- * (`config.subjects` or `on`) check the row's tenant and the subject's read
777
+ * (`config.recordTypes` or `on`) check the row's tenant and the subject's read
778
778
  * permission. Any other type fails.
779
779
  */
780
780
  function allowedTypes(ctx) {