better-supabase 0.58.2 → 0.59.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (451) hide show
  1. package/dist/{adapter-base-8PuJ3OoB.js → adapter-base-BAjra5Eb.js} +1 -1
  2. package/dist/{ai-schedules-D47O_Vlo.d.ts → ai-schedules-BxBsTpji.d.ts} +1 -1
  3. package/dist/{api-D8E2jvT5.js → api-DAJJ7N_0.js} +1 -1
  4. package/dist/{app-tables-IXL0Hzut.d.ts → app-tables-DBmFqdFN.d.ts} +1 -1
  5. package/dist/astro/index.js +3 -3
  6. package/dist/{bind-BRkDWXXk.d.ts → bind-Bx0H1vAc.d.ts} +2 -2
  7. package/dist/{block-env-I8juWoVO.d.ts → block-env-DUn5reXc.d.ts} +2 -2
  8. package/dist/{block-tables-DmDyNlJf.d.ts → block-tables-BaLXCQha.d.ts} +1 -1
  9. package/dist/blocks/access-requests/index.d.ts +1 -1
  10. package/dist/blocks/accounting/index.d.ts +1 -1
  11. package/dist/blocks/acknowledgements/index.d.ts +1 -1
  12. package/dist/blocks/activities/index.d.ts +2 -2
  13. package/dist/blocks/advisories/index.d.ts +1 -1
  14. package/dist/blocks/agent-checkout/index.d.ts +1 -1
  15. package/dist/blocks/agents/index.d.ts +1 -1
  16. package/dist/blocks/ai-cache/index.d.ts +1 -1
  17. package/dist/blocks/ai-chat/index.d.ts +1 -1
  18. package/dist/blocks/ai-evals/index.d.ts +1 -1
  19. package/dist/blocks/ai-files/index.d.ts +1 -1
  20. package/dist/blocks/ai-guardrails/index.d.ts +1 -1
  21. package/dist/blocks/ai-keys/index.d.ts +1 -1
  22. package/dist/blocks/ai-schedules/index.d.ts +2 -2
  23. package/dist/blocks/announcements/index.d.ts +2 -2
  24. package/dist/blocks/api-keys/index.d.ts +1 -1
  25. package/dist/blocks/appraisals/index.d.ts +1 -1
  26. package/dist/blocks/approvals/index.d.ts +1 -1
  27. package/dist/blocks/assets/index.d.ts +1 -1
  28. package/dist/blocks/assignment/index.d.ts +1 -1
  29. package/dist/blocks/attachments/index.d.ts +3 -3
  30. package/dist/blocks/audit/index.d.ts +2 -2
  31. package/dist/blocks/automations/index.d.ts +3 -3
  32. package/dist/blocks/banking/index.d.ts +1 -1
  33. package/dist/blocks/billable-time/index.d.ts +1 -1
  34. package/dist/blocks/billing/index.d.ts +2 -2
  35. package/dist/blocks/bookings/index.d.ts +2 -2
  36. package/dist/blocks/bulk-actions/index.d.ts +2 -2
  37. package/dist/blocks/calendar/index.d.ts +3 -3
  38. package/dist/blocks/care/index.d.ts +27 -27
  39. package/dist/blocks/care-plans/index.d.ts +2 -2
  40. package/dist/blocks/cases/index.d.ts +2 -2
  41. package/dist/blocks/catalog/index.d.ts +2 -2
  42. package/dist/blocks/channels/index.d.ts +1 -1
  43. package/dist/blocks/clinical-decision-support/index.d.ts +1 -1
  44. package/dist/blocks/cms/index.d.ts +5 -5
  45. package/dist/blocks/collaboration/index.d.ts +6 -6
  46. package/dist/blocks/collections/index.d.ts +1 -1
  47. package/dist/blocks/comments/index.d.ts +1 -1
  48. package/dist/blocks/commerce/index.d.ts +5 -5
  49. package/dist/blocks/commissions/index.d.ts +1 -1
  50. package/dist/blocks/compliance/index.d.ts +1 -1
  51. package/dist/blocks/connectors/index.d.ts +1 -1
  52. package/dist/blocks/consents/index.d.ts +2 -2
  53. package/dist/blocks/contacts/index.d.ts +2 -2
  54. package/dist/blocks/content/index.d.ts +1 -1
  55. package/dist/blocks/contracts/index.d.ts +1 -1
  56. package/dist/blocks/courses/index.d.ts +2 -2
  57. package/dist/blocks/created-by/index.d.ts +1 -1
  58. package/dist/blocks/crm/index.d.ts +16 -16
  59. package/dist/blocks/crm/index.js +1 -1
  60. package/dist/blocks/custom-fields/index.d.ts +1 -1
  61. package/dist/blocks/dam/index.d.ts +2 -2
  62. package/dist/blocks/data-lifecycle/index.d.ts +2 -2
  63. package/dist/blocks/deadlines/index.d.ts +1 -1
  64. package/dist/blocks/deals/index.d.ts +1 -1
  65. package/dist/blocks/dispatch/index.d.ts +1 -1
  66. package/dist/blocks/document-templates/index.d.ts +1 -1
  67. package/dist/blocks/documents/index.d.ts +1 -1
  68. package/dist/blocks/domains/index.d.ts +1 -1
  69. package/dist/blocks/donations/index.d.ts +1 -1
  70. package/dist/blocks/drive/index.d.ts +5 -5
  71. package/dist/blocks/e-prescribing/index.d.ts +1 -1
  72. package/dist/blocks/employees/index.d.ts +1 -1
  73. package/dist/blocks/enrichment/index.d.ts +1 -1
  74. package/dist/blocks/enrollments/index.d.ts +1 -1
  75. package/dist/blocks/entitlements/index.d.ts +3 -3
  76. package/dist/blocks/events/index.d.ts +3 -3
  77. package/dist/blocks/expenses/index.d.ts +1 -1
  78. package/dist/blocks/field-history/index.d.ts +1 -1
  79. package/dist/blocks/filespace/index.d.ts +8 -8
  80. package/dist/blocks/finance/index.d.ts +5 -5
  81. package/dist/blocks/flags/index.d.ts +1 -1
  82. package/dist/blocks/forecasts/index.d.ts +1 -1
  83. package/dist/blocks/forms/index.d.ts +3 -3
  84. package/dist/blocks/funding/index.d.ts +2 -2
  85. package/dist/blocks/goals/index.d.ts +1 -1
  86. package/dist/blocks/governance/index.d.ts +4 -4
  87. package/dist/blocks/guests/index.d.ts +1 -1
  88. package/dist/blocks/hiring/index.d.ts +1 -1
  89. package/dist/blocks/identities/index.d.ts +1 -1
  90. package/dist/blocks/imports/index.d.ts +1 -1
  91. package/dist/blocks/inbox/index.d.ts +3 -3
  92. package/dist/blocks/incidents/index.d.ts +1 -1
  93. package/dist/blocks/index.d.ts +2 -2
  94. package/dist/blocks/index.js +2 -2
  95. package/dist/blocks/inspections/index.d.ts +1 -1
  96. package/dist/blocks/inventory/index.d.ts +1 -1
  97. package/dist/blocks/invoices/index.d.ts +1 -1
  98. package/dist/blocks/knowledge/index.d.ts +1 -1
  99. package/dist/blocks/lead-scoring/index.d.ts +1 -1
  100. package/dist/blocks/learning/index.d.ts +3 -3
  101. package/dist/blocks/leases/index.d.ts +1 -1
  102. package/dist/blocks/leave/index.d.ts +1 -1
  103. package/dist/blocks/ledger/index.d.ts +1 -1
  104. package/dist/blocks/legal-entities/index.d.ts +1 -1
  105. package/dist/blocks/lims/index.d.ts +1 -1
  106. package/dist/blocks/mail-sync/index.d.ts +2 -2
  107. package/dist/blocks/maintenance/index.d.ts +2 -2
  108. package/dist/blocks/manufacturing/index.d.ts +1 -1
  109. package/dist/blocks/medications/index.d.ts +1 -1
  110. package/dist/blocks/meetings/index.d.ts +2 -2
  111. package/dist/blocks/memberships/index.d.ts +1 -1
  112. package/dist/blocks/memory/index.d.ts +1 -1
  113. package/dist/blocks/messaging/index.d.ts +2 -2
  114. package/dist/blocks/metrics/index.d.ts +1 -1
  115. package/dist/blocks/mfa/index.d.ts +2 -2
  116. package/dist/blocks/moderation/index.d.ts +1 -1
  117. package/dist/blocks/notifications/index.d.ts +3 -3
  118. package/dist/blocks/numbering/index.d.ts +1 -1
  119. package/dist/blocks/oauth-server/index.d.ts +1 -1
  120. package/dist/blocks/observations/index.d.ts +2 -2
  121. package/dist/blocks/onboarding/index.d.ts +2 -2
  122. package/dist/blocks/option-sets/index.d.ts +2 -2
  123. package/dist/blocks/orders/index.d.ts +1 -1
  124. package/dist/blocks/organizations/index.d.ts +1 -1
  125. package/dist/blocks/outbox/index.d.ts +1 -1
  126. package/dist/blocks/passes/index.d.ts +1 -1
  127. package/dist/blocks/payroll-export/index.d.ts +2 -2
  128. package/dist/blocks/people/index.d.ts +7 -7
  129. package/dist/blocks/periods/index.d.ts +1 -1
  130. package/dist/blocks/permissions/index.d.ts +3 -3
  131. package/dist/blocks/pipelines/index.d.ts +2 -2
  132. package/dist/blocks/posts/index.d.ts +1 -1
  133. package/dist/blocks/procurement/index.d.ts +5 -5
  134. package/dist/blocks/profiles/index.d.ts +1 -1
  135. package/dist/blocks/projects/index.d.ts +7 -7
  136. package/dist/blocks/promotions/index.d.ts +1 -1
  137. package/dist/blocks/prompts/index.d.ts +1 -1
  138. package/dist/blocks/push/index.d.ts +1 -1
  139. package/dist/blocks/qualifications/index.d.ts +2 -2
  140. package/dist/blocks/queue/index.d.ts +2 -2
  141. package/dist/blocks/quotes/index.d.ts +1 -1
  142. package/dist/blocks/rank/index.d.ts +1 -1
  143. package/dist/blocks/reactions/index.d.ts +2 -2
  144. package/dist/blocks/recruiting/index.d.ts +4 -4
  145. package/dist/blocks/referrals/index.d.ts +1 -1
  146. package/dist/blocks/relations/index.d.ts +1 -1
  147. package/dist/blocks/reminders/index.d.ts +1 -1
  148. package/dist/blocks/reviews/index.d.ts +1 -1
  149. package/dist/blocks/rfqs/index.d.ts +2 -2
  150. package/dist/blocks/risks/index.d.ts +1 -1
  151. package/dist/blocks/saas/index.d.ts +12 -12
  152. package/dist/blocks/sales/index.d.ts +1 -1
  153. package/dist/blocks/saved-views/index.d.ts +2 -2
  154. package/dist/blocks/scheduling/index.d.ts +4 -4
  155. package/dist/blocks/scores/index.d.ts +1 -1
  156. package/dist/blocks/search/index.d.ts +2 -2
  157. package/dist/blocks/security-events/index.d.ts +1 -1
  158. package/dist/blocks/segments/index.d.ts +1 -1
  159. package/dist/blocks/sequences/index.d.ts +2 -2
  160. package/dist/blocks/service/index.d.ts +7 -7
  161. package/dist/blocks/service-accounts/index.d.ts +1 -1
  162. package/dist/blocks/sessions/index.d.ts +2 -2
  163. package/dist/blocks/settings/index.d.ts +2 -2
  164. package/dist/blocks/share-links/index.d.ts +1 -1
  165. package/dist/blocks/shifts/index.d.ts +2 -2
  166. package/dist/blocks/shipments/index.d.ts +1 -1
  167. package/dist/blocks/signatures/index.d.ts +1 -1
  168. package/dist/blocks/signing-keys/index.d.ts +1 -1
  169. package/dist/blocks/sla/index.d.ts +1 -1
  170. package/dist/blocks/sso/index.d.ts +1 -1
  171. package/dist/blocks/state-machine/index.d.ts +1 -1
  172. package/dist/blocks/subjects/index.d.ts +2 -2
  173. package/dist/blocks/support/index.d.ts +5 -5
  174. package/dist/blocks/tags/index.d.ts +2 -2
  175. package/dist/blocks/tasks/index.d.ts +2 -2
  176. package/dist/blocks/tax/index.d.ts +2 -2
  177. package/dist/blocks/teams/index.d.ts +1 -1
  178. package/dist/blocks/templates/index.d.ts +1 -1
  179. package/dist/blocks/tills/index.d.ts +1 -1
  180. package/dist/blocks/time-entries/index.d.ts +2 -2
  181. package/dist/blocks/timeline/index.d.ts +1 -1
  182. package/dist/blocks/trash/index.d.ts +1 -1
  183. package/dist/blocks/undo/index.d.ts +2 -2
  184. package/dist/blocks/updated-at/index.d.ts +1 -1
  185. package/dist/blocks/usage/index.d.ts +2 -2
  186. package/dist/blocks/vercel-marketplace/index.d.ts +1 -1
  187. package/dist/blocks/versions/index.d.ts +1 -1
  188. package/dist/blocks/waitlist/index.d.ts +1 -1
  189. package/dist/blocks/warehouse/index.d.ts +1 -1
  190. package/dist/blocks/warranty/index.d.ts +1 -1
  191. package/dist/blocks/webhooks/index.d.ts +1 -1
  192. package/dist/blocks/workflow-editor/index.d.ts +2 -2
  193. package/dist/blocks/workflows/index.d.ts +2 -2
  194. package/dist/{build-6vLM3d_J.js → build-Rz89mkdS.js} +1 -1
  195. package/dist/claims/index.d.ts +4 -4
  196. package/dist/{claims-source-CXAtLZ9_.d.ts → claims-source-BEVTXHQx.d.ts} +1 -1
  197. package/dist/cli/{add-Ctv6m6Up.js → add-BJNTq7Ti.js} +2 -2
  198. package/dist/cli/add-C04PIE9H.js +1 -0
  199. package/dist/cli/{add-B77M4v-f.js → add-CnCt2QoB.js} +11 -11
  200. package/dist/cli/{app-table-files-Cj0LsH5w.js → app-table-files-CfB0_NuX.js} +4 -4
  201. package/dist/cli/{app-tables-Cwgr3GTi.js → app-tables-oieRU_sP.js} +2 -2
  202. package/dist/cli/{backfill-BN81Sthj.js → backfill-Cr5jgVi1.js} +3 -3
  203. package/dist/cli/bin.js +1 -1
  204. package/dist/cli/{blocks-BgKD3-I9.js → blocks-B-ANsRnH.js} +1 -1
  205. package/dist/cli/{blocks-i6YzVQLK.js → blocks-DLMVaOFG.js} +1 -1
  206. package/dist/cli/{cache-BV7WlzUF.js → cache-Ba26VW2N.js} +1 -1
  207. package/dist/cli/{codemod-naming-8eUxJ86U.js → codemod-naming-CZhndoO7.js} +1 -1
  208. package/dist/cli/{codemod-Dn8JZhKC.js → codemod-x1I7Mjr3.js} +6 -6
  209. package/dist/cli/{column-renames-rRIoozHD.js → column-renames-BEEDF6P6.js} +2 -2
  210. package/dist/cli/{config-NxPVkM-K.js → config-DD_MnPRL.js} +1 -0
  211. package/dist/cli/{config-BGh7rJwA.js → config-DkjilxeE.js} +1 -1
  212. package/dist/cli/{content-mapper-DBMKbB16.js → content-mapper-z7CrnE1s.js} +1 -1
  213. package/dist/cli/{db-od92zIrO.js → db-CEUnv3hK.js} +2 -2
  214. package/dist/cli/{dev-Bd5y9TWU.js → dev-D9nn9Gzt.js} +5 -5
  215. package/dist/cli/{doctor-3L2SV9yp.js → doctor-DCorhlir.js} +584 -25
  216. package/dist/cli/{emit-DS6N1chg.js → emit-qQdWBc9e.js} +2 -2
  217. package/dist/cli/{gen-CITLb2eh.js → gen-Bf1ujcTm.js} +5 -5
  218. package/dist/cli/{gen-tasks-gpTX1KW5.js → gen-tasks-q9JJSJ6r.js} +11 -11
  219. package/dist/cli/index.d.ts +1 -1
  220. package/dist/cli/index.js +8 -8
  221. package/dist/cli/{init-CI-WwnYW.js → init-DLLfL1uL.js} +9 -9
  222. package/dist/cli/{live-TK2YbWEB.js → live-D4giSEyd.js} +2 -2
  223. package/dist/cli/{mcp-C08VfeGU.js → mcp-DwjeMbmV.js} +2 -2
  224. package/dist/cli/{memo-backend-Bjl2s-LJ.js → memo-backend-DPGMyJvH.js} +1 -1
  225. package/dist/cli/{metadata-VfgaGwPp.js → metadata-Cft3CW1M.js} +4 -4
  226. package/dist/cli/{migrate-BHQ0pQ8v.js → migrate-Ci_UUuPv.js} +1 -1
  227. package/dist/cli/{migration-safety-CIDbpK_i.js → migration-safety-D3raBuJx.js} +2 -2
  228. package/dist/cli/{module-migration-N79wX1lQ.js → module-migration-DZtxNO8A.js} +1 -1
  229. package/dist/cli/{partition-BWiWQ7Wv.js → partition-DWJ6icQ5.js} +3 -3
  230. package/dist/cli/{powersync-B-K1msIl.js → powersync-BAyDVR-N.js} +4 -4
  231. package/dist/cli/powersync-DnKUA1tu.js +1 -0
  232. package/dist/cli/{print-BMDcJD64.js → print-BSy5c62C.js} +2 -2
  233. package/dist/cli/{providers-CjF7HAPk.js → providers-BbFKOale.js} +1 -1
  234. package/dist/cli/{prune-workflows-CJ4jrmPf.js → prune-workflows-VY7C9vhb.js} +3 -3
  235. package/dist/cli/{remove-JJ4j1UPX.js → remove-CcBoTjEO.js} +6 -6
  236. package/dist/cli/{render-t8Y_8QIm.js → render-CIrcdge6.js} +5 -5
  237. package/dist/cli/{render-cache-D-L0uCUa.js → render-cache-bbL2UdJ6.js} +1 -1
  238. package/dist/cli/{round-trips-D2KD5Hpq.js → round-trips-n_Dk1iUI.js} +1 -3
  239. package/dist/cli/{run-C89xFeXI.js → run-D_p_WkPh.js} +7 -7
  240. package/dist/cli/{run-BIL3hTIL.js → run-qCtE--0z.js} +35 -35
  241. package/dist/cli/seed-CucH5loT.js +1 -0
  242. package/dist/cli/{seed-DVKgi-7l.js → seed-CvDA1ItH.js} +2 -2
  243. package/dist/cli/{shared-DJ0--OEH.js → shared-CkqZm0Bz.js} +1 -1
  244. package/dist/cli/{source-args-B3Rowfv5.js → source-args-yU6N6JLm.js} +1 -1
  245. package/dist/cli/{source-3EDa7rPw.js → source-io7b1UpH.js} +1 -1
  246. package/dist/cli/{spec-D2Xwy1gO.js → spec-QGOfTJvS.js} +1 -1
  247. package/dist/cli/{spec-DP9TaDgC.js → spec-djAAvGKU.js} +2 -2
  248. package/dist/cli/{sql-layout-COn2WEKP.js → sql-layout-1ASqdR4g.js} +3 -3
  249. package/dist/cli/{squash-bcwO1H_W.js → squash-DEmB47YZ.js} +1 -1
  250. package/dist/cli/{sync-DqvkQ5MB.js → sync-CUcxtnwa.js} +4 -4
  251. package/dist/cli/{upgrade-DmMKImiC.js → upgrade-DV9mKpAp.js} +5 -5
  252. package/dist/cli/{upgrade-ecIafbIb.js → upgrade-FWW6hKCv.js} +5 -5
  253. package/dist/cli/{verify-BFLaU6w3.js → verify-CrFHs8Lr.js} +2 -2
  254. package/dist/cli/{version-DvQcNR10.js → version-CSdXYnhG.js} +1 -1
  255. package/dist/client/index.d.ts +3 -3
  256. package/dist/client/index.js +1 -1
  257. package/dist/client/native/index.d.ts +1 -1
  258. package/dist/client/native/index.js +2 -2
  259. package/dist/{codec-CqLbYQ6z.js → codec-Cjquuv8M.js} +1 -1
  260. package/dist/{composite-6VIY4jUO.js → composite-WUO6K2Hu.js} +1 -1
  261. package/dist/{composite-reads-CbPYsvlz.js → composite-reads-BJeDe1yV.js} +1 -1
  262. package/dist/config/index.d.ts +2 -2
  263. package/dist/config/index.js +2 -2
  264. package/dist/{config-DzPViWQU.js → config-C3yry9U5.js} +2 -1
  265. package/dist/{context-DMBXEzQa.d.ts → context-DMTfze4z.d.ts} +2 -1
  266. package/dist/contract/index.d.ts +1 -1
  267. package/dist/{controller-CaZv50cD.d.ts → controller-l9h4TtKg.d.ts} +1 -1
  268. package/dist/{conversion-D2key0v9.d.ts → conversion-D70FELty.d.ts} +1 -1
  269. package/dist/create/index.d.ts +4 -4
  270. package/dist/create/index.js +1 -1
  271. package/dist/create/lite/index.d.ts +2 -2
  272. package/dist/create/lite/index.js +3 -3
  273. package/dist/{define-block-kWv1wYf7.d.ts → define-block-D-Z8xB6y.d.ts} +5 -0
  274. package/dist/{define-runtime-BBF5JHl4.js → define-runtime-Dv8OYnKW.js} +59 -6
  275. package/dist/{define-runtime-full-D6v1ST7M.js → define-runtime-full-C4eTtJAx.js} +45 -38
  276. package/dist/{drive-Bm-up0KU.d.ts → drive-DrD94tWF.d.ts} +1 -1
  277. package/dist/edge/index.js +4 -4
  278. package/dist/{entitlements-UGUF2RJv.d.ts → entitlements-B6q7TIMP.d.ts} +2 -2
  279. package/dist/{executor-BgjsCon6.js → executor-BmcRcw83.js} +2 -2
  280. package/dist/expo/index.js +3 -3
  281. package/dist/{extract-Bs_b4ZIX.d.ts → extract-D4QPFB_M.d.ts} +1 -1
  282. package/dist/{extras-C258FsPj.d.ts → extras-C0cnpjDP.d.ts} +1 -1
  283. package/dist/{field-errors-BKCtkPxS.d.ts → field-errors-Br3wwgbu.d.ts} +2 -2
  284. package/dist/{former-permission-keys-hL23tm66.js → former-permission-keys-BwJW5uc6.js} +2 -1
  285. package/dist/{framework-DSGTH9p6.js → framework-CbjS8M33.js} +1 -1
  286. package/dist/generators/factories/index.d.ts +1 -1
  287. package/dist/generators/factories/index.js +1 -1
  288. package/dist/generators/index.d.ts +2 -2
  289. package/dist/generators/json-schema/index.d.ts +2 -2
  290. package/dist/generators/json-schema/index.js +1 -1
  291. package/dist/generators/nuqs/index.d.ts +1 -1
  292. package/dist/generators/nuqs/index.js +1 -1
  293. package/dist/generators/standard-schema/index.d.ts +1 -1
  294. package/dist/generators/standard-schema/index.js +1 -1
  295. package/dist/generators/valibot/index.d.ts +1 -1
  296. package/dist/generators/valibot/index.js +1 -1
  297. package/dist/generators/zod/index.d.ts +1 -1
  298. package/dist/generators/zod/index.js +1 -1
  299. package/dist/hono/index.js +3 -3
  300. package/dist/{index-BZdSOt51.d.ts → index-B4uPo3Sr.d.ts} +1 -1
  301. package/dist/{index-CIVA5x1i.d.ts → index-B6h9m3ml.d.ts} +2 -2
  302. package/dist/{index-DebFs8qq.d.ts → index-BFvj-fNS.d.ts} +1 -1
  303. package/dist/{index-icogJj2C.d.ts → index-BWxcC8ll.d.ts} +2 -2
  304. package/dist/{index-BG-WQ0JH.d.ts → index-BZHDwHGW.d.ts} +1 -1
  305. package/dist/{index-DWxio8F_.d.ts → index-BbpacfC0.d.ts} +7 -7
  306. package/dist/{index-DRKAMZV3.d.ts → index-BfoKErj3.d.ts} +1 -1
  307. package/dist/{index-BMh8ACKR.d.ts → index-BquYRGtV.d.ts} +1 -1
  308. package/dist/{index-48l12mNt.d.ts → index-C7Tcervm.d.ts} +2 -2
  309. package/dist/{index-DLVuARYk.d.ts → index-C9p3wiWn.d.ts} +6 -6
  310. package/dist/{index-R_k3Nh4y.d.ts → index-CHOeFZUB.d.ts} +3 -3
  311. package/dist/{index-CjeQqQzW.d.ts → index-Cg0lDbXs.d.ts} +2 -2
  312. package/dist/{index-B64DT6Io.d.ts → index-CnTxcNyl.d.ts} +1 -1
  313. package/dist/{index-DgiSwhKf.d.ts → index-D3d7m03L.d.ts} +1 -1
  314. package/dist/{index-CkCuMFVG.d.ts → index-DG187JM_.d.ts} +1 -1
  315. package/dist/{index-C_DCvnW0.d.ts → index-DGszLnec.d.ts} +1 -1
  316. package/dist/{index-D2aht6Cz.d.ts → index-DHjZvZWC.d.ts} +2 -2
  317. package/dist/{index-Mq2z-GgJ.d.ts → index-DK0Hj3pi.d.ts} +1 -1
  318. package/dist/{index-CDCyOPT7.d.ts → index-DKuOnwh6.d.ts} +2 -2
  319. package/dist/{index-CDrLyU72.d.ts → index-DLlAc0wg.d.ts} +1 -1
  320. package/dist/{index-GamVr8VZ.d.ts → index-DMyMrXPW.d.ts} +1 -1
  321. package/dist/{index-DskEpSgl.d.ts → index-DU_gZYuh.d.ts} +1 -1
  322. package/dist/{index-CDxfstYD.d.ts → index-DYX_uL5t.d.ts} +1 -1
  323. package/dist/{index-BJ1Mv0TK.d.ts → index-D_xJSanv.d.ts} +1 -1
  324. package/dist/{index-DOBq5QFe.d.ts → index-Dg4lbDzI.d.ts} +1 -1
  325. package/dist/{index-BYx-ObF-.d.ts → index-DkALeCTq.d.ts} +1 -1
  326. package/dist/{index-DIK12ZTb.d.ts → index-DtVZnjKf.d.ts} +2 -2
  327. package/dist/{index-BBf3nn7Y.d.ts → index-Dyns9a8l.d.ts} +1 -1
  328. package/dist/{index-B6i7w-iS.d.ts → index-NNox0BqF.d.ts} +1 -1
  329. package/dist/{index-CzNRwKGG.d.ts → index-WuUhLgMp.d.ts} +2 -2
  330. package/dist/{index-DcdC0Qll.d.ts → index-X-ihJBuJ.d.ts} +1 -1
  331. package/dist/{index-rFIDpwjh.d.ts → index-jCKNxp8C.d.ts} +1 -1
  332. package/dist/{index-BtuseUSW.d.ts → index-o2y0w9lX.d.ts} +1 -1
  333. package/dist/{index-nsEUHz98.d.ts → index-ouiV6zqH.d.ts} +2 -2
  334. package/dist/{index-B67YUNow.d.ts → index-qzFFTwel.d.ts} +1 -1
  335. package/dist/index.js +2 -2
  336. package/dist/{json-schema-DxVQGZbL.js → json-schema-B8f7HdoX.js} +1 -1
  337. package/dist/{manifest-DcnVXlH7.d.ts → manifest--_00y416.d.ts} +1 -1
  338. package/dist/{manifest-CxUI9ZXn.d.ts → manifest-B7lSTuVC.d.ts} +1 -1
  339. package/dist/{manifest-Cz8poTZ2.d.ts → manifest-BA-urVob.d.ts} +1 -1
  340. package/dist/{manifest-ChKRtAF6.d.ts → manifest-BAn3lTr4.d.ts} +1 -1
  341. package/dist/{manifest-tjlvcP1t.d.ts → manifest-BESrR9Xp.d.ts} +1 -1
  342. package/dist/{manifest-BkJdR1D-.d.ts → manifest-BEw6nEKW.d.ts} +1 -1
  343. package/dist/{manifest-C7bh84U0.d.ts → manifest-BGmmK9bZ.d.ts} +1 -1
  344. package/dist/{manifest-B7IYj4OA.d.ts → manifest-BMcuCUre.d.ts} +1 -1
  345. package/dist/{manifest-BG2_hkzB.d.ts → manifest-BS8p47JO.d.ts} +1 -1
  346. package/dist/{manifest-C7CtYgWC.d.ts → manifest-BYv5BqtY.d.ts} +1 -1
  347. package/dist/{manifest-9TRpR9P-.d.ts → manifest-B_2lEGUS.d.ts} +1 -1
  348. package/dist/{manifest-BSSoVDlI.d.ts → manifest-BgmY9fuz.d.ts} +1 -1
  349. package/dist/{manifest-C1TwYhyr.d.ts → manifest-BoUGzBpS.d.ts} +1 -1
  350. package/dist/{manifest-D02pP9Nl.d.ts → manifest-BvzmDxod.d.ts} +1 -1
  351. package/dist/{manifest-Ce_JDK4r.d.ts → manifest-ByNpLQWh.d.ts} +1 -1
  352. package/dist/{manifest-CpMVJWDU.d.ts → manifest-ByV81mLa.d.ts} +1 -1
  353. package/dist/{manifest-DBptC4dz.d.ts → manifest-C-pVDUC6.d.ts} +1 -1
  354. package/dist/{manifest-Cx_UVMlT.d.ts → manifest-C0v6IEWk.d.ts} +1 -1
  355. package/dist/{manifest-DAv6iO-q.d.ts → manifest-C5LxShda.d.ts} +1 -1
  356. package/dist/{manifest-DZc_37YJ.d.ts → manifest-C8PUzse6.d.ts} +1 -1
  357. package/dist/{manifest-BdV9GNAF.d.ts → manifest-CCKfdYiH.d.ts} +1 -1
  358. package/dist/{manifest-BNCX3M2Y.d.ts → manifest-CIVhJzKF.d.ts} +1 -1
  359. package/dist/{manifest-BmGsyaxx.d.ts → manifest-CKCaFg8y.d.ts} +1 -1
  360. package/dist/{manifest-BXatXuLx.d.ts → manifest-CKDaQT_5.d.ts} +1 -1
  361. package/dist/{manifest-blSYzmEZ.d.ts → manifest-CLukD6aB.d.ts} +1 -1
  362. package/dist/{manifest-BSrdiUHP.d.ts → manifest-CNLJLsHB.d.ts} +1 -1
  363. package/dist/{manifest-t9v09kRa.d.ts → manifest-CWwdLMT0.d.ts} +1 -1
  364. package/dist/{manifest-Dc_FWIrg.d.ts → manifest-CXYg8gzt.d.ts} +1 -1
  365. package/dist/{manifest-BOxu_JMd.d.ts → manifest-CZoRtSvn.d.ts} +1 -1
  366. package/dist/{manifest-Cle7S3sn.d.ts → manifest-Ch08RUKa.d.ts} +1 -1
  367. package/dist/{manifest-BWE_47qq.d.ts → manifest-CjzlsilW.d.ts} +1 -1
  368. package/dist/{manifest-CD_ZA69x.d.ts → manifest-Clzy2rSU.d.ts} +1 -1
  369. package/dist/{manifest-B91B3Yvk.d.ts → manifest-Co41j70r.d.ts} +1 -1
  370. package/dist/{manifest-Cn85_kP6.d.ts → manifest-CvncELVO.d.ts} +1 -1
  371. package/dist/{manifest-BKY6WHm6.d.ts → manifest-CxgOFWlh.d.ts} +1 -1
  372. package/dist/{manifest-BizfO8zf.d.ts → manifest-CyaHDD_i.d.ts} +1 -1
  373. package/dist/{manifest-DGrcTY4n.d.ts → manifest-D0eItVsP.d.ts} +1 -1
  374. package/dist/{manifest-BdBaGzfE.d.ts → manifest-D80LSWzZ.d.ts} +1 -1
  375. package/dist/{manifest-LAVlQXiw.d.ts → manifest-DBfQe19Z.d.ts} +1 -1
  376. package/dist/{manifest-C3FjJnQT.d.ts → manifest-DCkeNzPW.d.ts} +1 -1
  377. package/dist/{manifest-Bsrn5gfq.d.ts → manifest-DHTVfgX9.d.ts} +1 -1
  378. package/dist/{manifest-gS-wx2yB.d.ts → manifest-DHulRwzL.d.ts} +1 -1
  379. package/dist/{manifest-CIa0-uCj.d.ts → manifest-DKnWcgse.d.ts} +1 -1
  380. package/dist/{manifest-CTEURHfF.d.ts → manifest-DLSzZMXM.d.ts} +1 -1
  381. package/dist/{manifest-dSiPcx5l.d.ts → manifest-DVZmJvrE.d.ts} +1 -1
  382. package/dist/{manifest-BWFemJ6Q.d.ts → manifest-D_wBteR5.d.ts} +1 -1
  383. package/dist/{manifest-Cfrflbtt.d.ts → manifest-DlLxdk7P.d.ts} +1 -1
  384. package/dist/{manifest-zEA2Tw_l.d.ts → manifest-DofXV9lE.d.ts} +1 -1
  385. package/dist/{manifest-BVwoT7GU.d.ts → manifest-Dp92U_iP.d.ts} +1 -1
  386. package/dist/{manifest-DF6GzdBC.d.ts → manifest-Dpad_5Lw.d.ts} +1 -1
  387. package/dist/{manifest-D4iEPtlb.d.ts → manifest-Dvm2mwFy.d.ts} +1 -1
  388. package/dist/{manifest-1P6OEAwH.d.ts → manifest-Fapf4NdA.d.ts} +1 -1
  389. package/dist/{manifest-CPlmHPRY.d.ts → manifest-QmYmc98q.d.ts} +1 -1
  390. package/dist/{manifest-VjVVI7bV.d.ts → manifest-RitquXSE.d.ts} +1 -1
  391. package/dist/{manifest-BN2J8Zo7.d.ts → manifest-TvLJWs_L.d.ts} +1 -1
  392. package/dist/{manifest-D32p1K-g.d.ts → manifest-V0QSCEfx.d.ts} +1 -1
  393. package/dist/{manifest-BNIvrs6_.d.ts → manifest-VCJSqffq.d.ts} +2 -2
  394. package/dist/{manifest-B-wg2F2L.d.ts → manifest-eUUJnoB5.d.ts} +1 -1
  395. package/dist/{manifest-mCn7RdZs.d.ts → manifest-qvMWfrZ-.d.ts} +1 -1
  396. package/dist/{manifest-khfEDzX4.d.ts → manifest-r6DHrB4Q.d.ts} +1 -1
  397. package/dist/{manifest-BcqqAgm9.d.ts → manifest-ra7MSo-3.d.ts} +1 -1
  398. package/dist/{manifest-SoNChfLL.d.ts → manifest-wbs2VkcB.d.ts} +1 -1
  399. package/dist/mapper/bin.js +6 -6
  400. package/dist/mcp/index.js +1 -1
  401. package/dist/mcp/sdk/index.js +1 -1
  402. package/dist/{mcp-Cl8x5Ffg.js → mcp-aMq1fkoe.js} +3 -3
  403. package/dist/next/index.d.ts +4 -4
  404. package/dist/next/index.js +3 -3
  405. package/dist/next/proxy/index.d.ts +2 -2
  406. package/dist/orpc/index.js +2 -2
  407. package/dist/otel/index.js +5 -5
  408. package/dist/{permissions-Ccvec0MR.d.ts → permissions-ZLtxCurD.d.ts} +1 -1
  409. package/dist/{ports-BXtpOQRz.js → ports-DfDzwMCR.js} +2 -2
  410. package/dist/powersync/index.d.ts +1 -1
  411. package/dist/powersync/index.js +1 -1
  412. package/dist/preset/index.d.ts +4 -4
  413. package/dist/{preview-CR1nZ6-E.d.ts → preview-BoJkQw2E.d.ts} +2 -2
  414. package/dist/{project-Ch2b_g1M.js → project-DI09JnXz.js} +2 -2
  415. package/dist/query/index.d.ts +1 -1
  416. package/dist/react/index.d.ts +4 -4
  417. package/dist/react/native/index.d.ts +1 -1
  418. package/dist/react/server.d.ts +4 -4
  419. package/dist/react-router/index.js +3 -3
  420. package/dist/{read-set-DsIurGUE.js → read-set-BptYceHc.js} +1 -1
  421. package/dist/{record-form-mpamIVq3.d.ts → record-form-BHUYs5ju.d.ts} +1 -1
  422. package/dist/records/index.d.ts +5 -5
  423. package/dist/server/index.d.ts +3 -3
  424. package/dist/server/index.js +4 -4
  425. package/dist/{server-DFxO9Dyz.js → server-Bgugpk3A.js} +2 -2
  426. package/dist/{sign-in-CMEBFv36.d.ts → sign-in-Dp-X2YXo.d.ts} +3 -3
  427. package/dist/solid/index.d.ts +4 -4
  428. package/dist/solid-start/index.js +3 -3
  429. package/dist/spec/index.js +2 -2
  430. package/dist/sql/index.d.ts +4 -4
  431. package/dist/sql/index.js +1 -1
  432. package/dist/{sql-Cukwmnm3.js → sql-BqOBYRvI.js} +17 -5
  433. package/dist/sqlite/index.js +1 -1
  434. package/dist/ssr/index.d.ts +1 -1
  435. package/dist/svelte/index.d.ts +4 -4
  436. package/dist/sveltekit/index.js +3 -3
  437. package/dist/tanstack-start/index.js +3 -3
  438. package/dist/{tenant-DpJTJr1c.d.ts → tenant-BQaG8Hma.d.ts} +1 -1
  439. package/dist/testing/index.d.ts +5 -5
  440. package/dist/testing/index.js +4 -4
  441. package/dist/{timeline-CGjiciIY.d.ts → timeline-D7T-qrKN.d.ts} +2 -2
  442. package/dist/{types-BidEA6pZ.d.ts → types-BE6BvLv2.d.ts} +2 -2
  443. package/dist/{version-BAL_8E6V.js → version-CkYT3KbT.js} +1 -1
  444. package/dist/vue/index.d.ts +4 -4
  445. package/dist/webmcp/index.js +1 -1
  446. package/package.json +1 -1
  447. package/schemas/config-v1.json +3 -0
  448. package/schemas/doctor-report-v1.json +2 -0
  449. package/dist/cli/add-CuKMP5du.js +0 -1
  450. package/dist/cli/powersync-C5u6SbHy.js +0 -1
  451. package/dist/cli/seed-Dlm5jjPn.js +0 -1
@@ -3,13 +3,13 @@ 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-DxVQGZbL.js";
7
- import { t as adapterBase } from "./adapter-base-8PuJ3OoB.js";
6
+ import { n as toJsonSchema, r as toDraft07 } from "./json-schema-B8f7HdoX.js";
7
+ import { t as adapterBase } from "./adapter-base-BAjra5Eb.js";
8
8
  import { p as flushEvents } from "./sessions-Dedk1ubX.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-DFxO9Dyz.js";
12
+ import { n as extendServer, t as createServer } from "./server-Bgugpk3A.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
15
  import { t as base64ToText } from "./base64-CEBz6-Jj.js";
@@ -1,10 +1,10 @@
1
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
2
  import { an as CacheAdapter, s as BetterSupabase, tn as DbStats } from "../db-blocks-Db3LVXco.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-CMEBFv36.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-Dp-X2YXo.js";
4
4
  import { t as GateUser } from "../user-qcaSmToA.js";
5
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-DpJTJr1c.js";
7
- import { r as permissionsOf, t as PermissionsOfOptions } from "../permissions-Ccvec0MR.js";
6
+ import { t as tenantOf } from "../tenant-BQaG8Hma.js";
7
+ import { r as permissionsOf, t as PermissionsOfOptions } from "../permissions-ZLtxCurD.js";
8
8
  import { b as Bootstrap, v as Access } from "../server-types-C8zErBy9.js";
9
9
  import { c as safeRedirectPath, n as EmailOtpType, o as SignOutScope, r as ExistingAccount, t as AuthorizeUrlParams } from "../sign-in-R_Ou2FMR.js";
10
10
  import { n as AmrEntry, t as Aal } from "../mfa-DzVJV8QL.js";
@@ -18,7 +18,7 @@ import { n as AuthKind, r as GuardOptions } from "../respond-DNcBzi_Y.js";
18
18
  import { c as Impersonator, n as AuthSession, o as toSession } from "../view-DKo-Koiu.js";
19
19
  import { n as supportOf, t as SupportView } from "../support-view-D0VmaQVg.js";
20
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-UGUF2RJv.js";
21
+ import { r as MembershipClaim } from "../entitlements-B6q7TIMP.js";
22
22
  import { n as sessionTag, t as sessionIdTag } from "../cache-tags-BxpxsCtq.js";
23
23
  import { t as Validated } from "../shared-DsBcvj6q.js";
24
24
  import { AnyEntry, Contributions } from "@supabase/middleware";
@@ -5,17 +5,17 @@ import { i as toSession } from "../view-DpKWWhP2.js";
5
5
  import { i as claimsOf } from "../claims-CX-ar1vt.js";
6
6
  import { n as dbError } from "../errors-DK1wGb9z.js";
7
7
  import { t as isList } from "../guards-CsRa6v57.js";
8
- import { c as readSetTables, o as isReadSet, p as isQuerySpec } from "../read-set-DsIurGUE.js";
8
+ import { c as readSetTables, o as isReadSet, p as isQuerySpec } from "../read-set-BptYceHc.js";
9
9
  import { r as err } from "../result-DijoXEFG.js";
10
10
  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-8PuJ3OoB.js";
14
+ import { t as adapterBase } from "../adapter-base-BAjra5Eb.js";
15
15
  import { t as tenantOf } from "../tenant-Duq0dWqX.js";
16
16
  import { c as serverCore, f as bearerRequest, m as handle } from "../sessions-Dedk1ubX.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-DFxO9Dyz.js";
18
+ import { c as bootstrapSchema, l as bootstrapWith, n as extendServer, s as accessOf, t as createServer, u as mapBootstrapMemo } from "../server-Bgugpk3A.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";
@@ -1,7 +1,7 @@
1
1
  import { s as BetterSupabase } from "../../db-blocks-Db3LVXco.js";
2
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-CMEBFv36.js";
4
- import { r as permissionsOf } from "../../permissions-Ccvec0MR.js";
3
+ import { t as postAuthPath, v as NextOptions, x as ProxyOptions } from "../../sign-in-Dp-X2YXo.js";
4
+ import { r as permissionsOf } from "../../permissions-ZLtxCurD.js";
5
5
  import { o as toSession } from "../../view-DKo-Koiu.js";
6
6
  import { NextRequest } from "next/server.js";
7
7
  /** A response whose headers can be changed (`Response.redirect()`'s cannot). */
@@ -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-8PuJ3OoB.js";
5
+ import { t as adapterBase } from "../adapter-base-BAjra5Eb.js";
6
6
  import { p as flushEvents } from "../sessions-Dedk1ubX.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-DFxO9Dyz.js";
12
+ import { n as extendServer, t as createServer } from "../server-Bgugpk3A.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,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-BAL_8E6V.js";
4
+ import "../version-CkYT3KbT.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.58.2");
43
+ const tracer = options.tracer ?? trace.getTracer("better-supabase", "0.59.0");
44
44
  let histogram;
45
- if (options.metrics !== false) histogram = (options.meter ?? metrics.getMeter("better-supabase", "0.58.2")).createHistogram("db.client.operation.duration", {
45
+ if (options.metrics !== false) histogram = (options.meter ?? metrics.getMeter("better-supabase", "0.59.0")).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.58.2");
234
+ const tracer = options.tracer ?? trace.getTracer("better-supabase", "0.59.0");
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.58.2");
273
+ const tracer = options.tracer ?? trace.getTracer("better-supabase", "0.59.0");
274
274
  return betterSupabase.events.on("block", (event) => {
275
275
  const attributes = {
276
276
  ...options.attributes,
@@ -1,4 +1,4 @@
1
- import { n as ClaimsSource, t as ClaimsRecord } from "./claims-source-CXAtLZ9_.js";
1
+ import { n as ClaimsSource, t as ClaimsRecord } from "./claims-source-BEVTXHQx.js";
2
2
  interface PermissionsOfOptions {
3
3
  /**
4
4
  * The claim holding `{ [tenantId]: string[] }`, as
@@ -1,8 +1,8 @@
1
- import { l as postgrestExecutor } from "./codec-CqLbYQ6z.js";
1
+ import { l as postgrestExecutor } from "./codec-Cjquuv8M.js";
2
2
  import { a as ok, r as err, t as AsyncResult } from "./result-DijoXEFG.js";
3
3
  import { r as decodeJwtPayload } from "./base64-CEBz6-Jj.js";
4
4
  import { i as userContext } from "./impersonation-BlU6M8zN.js";
5
- import { t as provideLeanConnectionRuntime } from "./define-runtime-BBF5JHl4.js";
5
+ import { t as provideLeanConnectionRuntime } from "./define-runtime-Dv8OYnKW.js";
6
6
  import { n as hasAuthModule, r as claimedTenant } from "./auth-module-D_RA-X_y.js";
7
7
  import { t as currentTenant } from "./tenant-source-46lMuMEn.js";
8
8
  import { n as identityKey } from "./user-change-Ngy8z1fZ.js";
@@ -1,7 +1,7 @@
1
1
  import { C as quoteSqliteIdent, S as likeToGlob, _ as SqliteQuery, a as postgrestTimestamp, b as SqliteValue, c as sqliteCompiler, d as SqliteDecode, f as SqliteInsertPlan, g as SqlitePlan, h as SqliteNested, i as fromSqliteError, l as SqliteColumn, m as SqliteKeys, n as SqliteDatabaseLike, o as CheckSqliteOptions, p as SqliteKeyedPlan, r as SqliteExecutorOptions, s as checkSqlite, t as SqliteContextLike, u as SqliteCompilerOptions, v as SqliteReturning, w as sqliteValue, x as compileSqlite, y as SqliteSelectPlan } from "../executor-Dp4A_McY.js";
2
2
  import { Vt as Executor } from "../types-BJ4cg51a.js";
3
3
  import { C as UploadRouteOptions, E as uploadRoute, S as UploadRoute, T as uploadOutcome, _ as UploadConnectorOptions, b as UploadOutcome, c as LocalTablesOption, d as CreateUploadRepository, f as CrudEntryLike, g as UploadConnector, h as RejectedStore, m as RejectedChange, n as DataEngine, p as CrudQueueLike, s as LiveEngineOptions, v as UploadErrorContext, w as createUploadConnector, x as UploadRepository, y as UploadFunction } from "../data-engine-CQiEEoNx.js";
4
- import { t as AuthSnapshot } from "../bind-BRkDWXXk.js";
4
+ import { t as AuthSnapshot } from "../bind-Bx0H1vAc.js";
5
5
  import { t as BlockTransport } from "../block-transport-BNMvuuyC.js";
6
6
  import { b as DbError, f as Result } from "../result-aun_QZHn.js";
7
7
  import { n as TopicPort } from "../watch-topic-D18gT7-K.js";
@@ -1,4 +1,4 @@
1
- import { a as sqliteCompiler, c as quoteSqliteIdent, i as checkSqlite, l as sqliteValue, n as postgrestTimestamp, o as compileSqlite, r as sqliteExecutor, s as likeToGlob, t as fromSqliteError } from "../executor-BgjsCon6.js";
1
+ import { a as sqliteCompiler, c as quoteSqliteIdent, i as checkSqlite, l as sqliteValue, n as postgrestTimestamp, o as compileSqlite, r as sqliteExecutor, s as likeToGlob, t as fromSqliteError } from "../executor-BmcRcw83.js";
2
2
  import { i as localEngine } from "../data-engine-MRAlinsa.js";
3
3
  import { n as authzVersionOf } from "../snapshot-C1KUHKTc.js";
4
4
  import { n as claimAt, s as tenantPathsFor } from "../claims-CX-ar1vt.js";
@@ -1,5 +1,5 @@
1
- import { Ar as PresetAccess, Dr as PRESET_FRAMEWORKS, Er as DEFAULT_CONVENTIONS, Fr as PresetFramework, Hr as integrationsForFramework, Lr as PresetPlatforms, Mr as PresetField, Nr as PresetFieldKey, Or as PRESET_TENANT_NAMES, Pr as PresetFieldValue, Rr as PresetScope, Tr as CONVENTION_FIELDS, Ur as presetField, Vr as PresetValueInfo, Wr as presetValueLabel, jr as PresetConventions, kr as Preset, zr as PresetSubjectOptions } from "../define-block-kWv1wYf7.js";
2
- import { $i as PresetGlueItem, $t as defaultPreset, An as readDesignFile, Bn as ResolvedComposite, Cn as parseDesign, Dn as presetConfigSource, En as presetArgumentOf, Fn as presetOfSpec, Gi as CORE_BLOCKS, Gn as removeComposite, Hn as ResolvedPresetBlock, In as presetSpec, Ji as BlockCatalog, Jt as PRESETS, Ki as INSTANCE_NAME, Kn as resolvePreset, Kt as DEFAULT_PRESET_NAME, Ln as CompositeRemoval, Mn as safeParseDesign, Nn as PresetSpec, On as presetInstallCommand, Pn as presetFromSpec, Qi as PresetCatalogManifest, Qt as PresetName, Rn as PresetConflict, Sn as isDesignCode, Tn as presetApplyCommand, Un as listNames, Vn as ResolvedPreset, Wn as presetBlockConflict, Wr as APP_COLUMN_FORMATS, Xi as PresetCatalog, Xt as PRESET_NAMES, Yi as BlockCatalogEntry, Yt as PRESET_GROUPS, Zi as PresetCatalogBlock, Zr as AppColumnFormat, Zt as PresetGroup, _n as designFileSource, _t as presetOf, an as DESIGN_FORMAT, bn as designSchema, cn as DesignParseError, dn as DesignTooLongError, dt as ConfigConventions, en as isPresetName, fn as MAX_DESIGN_CODE_LENGTH, ft as ExpandedConfig, gn as designConfig, gt as presetConfig, hn as decodeDesign, ht as expandPreset, in as DESIGN_FILE, jn as safeDesignFileSource, kn as presetKey, ln as DesignParseIssue, mn as createUrl, mt as conventionConfig, nn as CREATE_URL, on as DesignErrorCode, pn as createQuery, pt as PresetInput, qi as instancePrefix, qt as NamedPreset, rn as CreateDesign, sn as DesignFile, tn as namedPreset, un as DesignParseResult, vn as designFormat, wn as presetAndDesignOf, xn as encodeDesign, yn as designOf, zn as PresetIntegration } from "../context-DMBXEzQa.js";
3
- import { C as diffAppTables, D as PRESET_CATALOG, E as isAppDefault, O as BLOCK_CATALOG, S as DiffOptions, T as appDefaultError, _ as glueCommand, a as blockRequires, b as DesignChange, c as installedBlocks, d as instancesOf, f as presetInstances, g as PROVIDER_COMMENT, h as withoutInstance, i as blockEntities, l as instanceBlock, m as withInstance, n as BlockInstance, o as canAddInstance, p as withEntityName, r as PresetInstance, s as entityName, t as BlockEntity, u as instanceNameProblem, v as presetBlocksSource, w as diffDesigns, x as DesignChangeKind, y as presetGlue } from "../index-CIVA5x1i.js";
4
- import { i as appReservedColumns, n as appIdentifierError, r as appNameLengthError, t as APP_NAME_MAX } from "../app-tables-IXL0Hzut.js";
1
+ import { Ar as PresetAccess, Dr as PRESET_FRAMEWORKS, Er as DEFAULT_CONVENTIONS, Fr as PresetFramework, Hr as integrationsForFramework, Lr as PresetPlatforms, Mr as PresetField, Nr as PresetFieldKey, Or as PRESET_TENANT_NAMES, Pr as PresetFieldValue, Rr as PresetScope, Tr as CONVENTION_FIELDS, Ur as presetField, Vr as PresetValueInfo, Wr as presetValueLabel, jr as PresetConventions, kr as Preset, zr as PresetSubjectOptions } from "../define-block-D-Z8xB6y.js";
2
+ import { $i as PresetGlueItem, $t as defaultPreset, An as readDesignFile, Bn as ResolvedComposite, Cn as parseDesign, Dn as presetConfigSource, En as presetArgumentOf, Fn as presetOfSpec, Gi as CORE_BLOCKS, Gn as removeComposite, Hn as ResolvedPresetBlock, In as presetSpec, Ji as BlockCatalog, Jt as PRESETS, Ki as INSTANCE_NAME, Kn as resolvePreset, Kt as DEFAULT_PRESET_NAME, Ln as CompositeRemoval, Mn as safeParseDesign, Nn as PresetSpec, On as presetInstallCommand, Pn as presetFromSpec, Qi as PresetCatalogManifest, Qt as PresetName, Rn as PresetConflict, Sn as isDesignCode, Tn as presetApplyCommand, Un as listNames, Vn as ResolvedPreset, Wn as presetBlockConflict, Wr as APP_COLUMN_FORMATS, Xi as PresetCatalog, Xt as PRESET_NAMES, Yi as BlockCatalogEntry, Yt as PRESET_GROUPS, Zi as PresetCatalogBlock, Zr as AppColumnFormat, Zt as PresetGroup, _n as designFileSource, _t as presetOf, an as DESIGN_FORMAT, bn as designSchema, cn as DesignParseError, dn as DesignTooLongError, dt as ConfigConventions, en as isPresetName, fn as MAX_DESIGN_CODE_LENGTH, ft as ExpandedConfig, gn as designConfig, gt as presetConfig, hn as decodeDesign, ht as expandPreset, in as DESIGN_FILE, jn as safeDesignFileSource, kn as presetKey, ln as DesignParseIssue, mn as createUrl, mt as conventionConfig, nn as CREATE_URL, on as DesignErrorCode, pn as createQuery, pt as PresetInput, qi as instancePrefix, qt as NamedPreset, rn as CreateDesign, sn as DesignFile, tn as namedPreset, un as DesignParseResult, vn as designFormat, wn as presetAndDesignOf, xn as encodeDesign, yn as designOf, zn as PresetIntegration } from "../context-DMTfze4z.js";
3
+ import { C as diffAppTables, D as PRESET_CATALOG, E as isAppDefault, O as BLOCK_CATALOG, S as DiffOptions, T as appDefaultError, _ as glueCommand, a as blockRequires, b as DesignChange, c as installedBlocks, d as instancesOf, f as presetInstances, g as PROVIDER_COMMENT, h as withoutInstance, i as blockEntities, l as instanceBlock, m as withInstance, n as BlockInstance, o as canAddInstance, p as withEntityName, r as PresetInstance, s as entityName, t as BlockEntity, u as instanceNameProblem, v as presetBlocksSource, w as diffDesigns, x as DesignChangeKind, y as presetGlue } from "../index-B6h9m3ml.js";
4
+ import { i as appReservedColumns, n as appIdentifierError, r as appNameLengthError, t as APP_NAME_MAX } from "../app-tables-DBmFqdFN.js";
5
5
  export { APP_COLUMN_FORMATS, APP_NAME_MAX, type AppColumnFormat, BLOCK_CATALOG, type BlockCatalog, type BlockCatalogEntry, type BlockEntity, type BlockInstance, CONVENTION_FIELDS, CREATE_URL, type CompositeRemoval, type ConfigConventions, type CreateDesign, DEFAULT_CONVENTIONS, DEFAULT_PRESET_NAME, DESIGN_FILE, DESIGN_FORMAT, type DesignChange, type DesignChangeKind, type DesignErrorCode, type DesignFile, DesignParseError, type DesignParseIssue, type DesignParseResult, DesignTooLongError, type DiffOptions, type ExpandedConfig, INSTANCE_NAME, MAX_DESIGN_CODE_LENGTH, type NamedPreset, PRESETS, PRESET_CATALOG, PRESET_FRAMEWORKS, PRESET_GROUPS, PRESET_NAMES, PRESET_TENANT_NAMES, PROVIDER_COMMENT, type Preset, type PresetAccess, type PresetCatalog, type PresetCatalogBlock, type PresetCatalogManifest, type PresetConflict, type PresetConventions, type PresetField, type PresetFieldKey, type PresetFieldValue, type PresetFramework, type PresetGlueItem, type PresetGroup, type PresetInput, type PresetInstance, type PresetIntegration, type PresetName, type PresetPlatforms, type PresetScope, type PresetSpec, type PresetSubjectOptions, type PresetValueInfo, type ResolvedComposite, type ResolvedPreset, type ResolvedPresetBlock, CORE_BLOCKS as SINGLE_INSTANCE_BLOCKS, appDefaultError, appIdentifierError, appNameLengthError, appReservedColumns, blockEntities, blockRequires, canAddInstance, conventionConfig, createQuery, createUrl, decodeDesign, defaultPreset, designConfig, designFileSource, designFormat, designOf, designSchema, diffAppTables, diffDesigns, encodeDesign, entityName, expandPreset, glueCommand, installedBlocks, instanceBlock, instanceNameProblem, instancePrefix, instancesOf, integrationsForFramework, isAppDefault, isDesignCode, isPresetName, listNames, namedPreset, parseDesign, presetAndDesignOf, presetApplyCommand, presetArgumentOf, presetBlockConflict, presetBlocksSource, presetConfig, presetConfigSource, presetField, presetFromSpec, presetGlue, presetInstallCommand, presetInstances, presetKey, presetOf, presetOfSpec, presetSpec, presetValueLabel, readDesignFile, removeComposite, resolvePreset, safeDesignFileSource, safeParseDesign, withEntityName, withInstance, withoutInstance };
@@ -1,9 +1,9 @@
1
1
  import { t as BlockTransport } from "./block-transport-BNMvuuyC.js";
2
2
  import { i as EventSink } from "./cloud-event-BtWOKfsx.js";
3
- import { Ln as AttachmentStorage } from "./define-block-kWv1wYf7.js";
3
+ import { Ln as AttachmentStorage } from "./define-block-D-Z8xB6y.js";
4
4
  import { _ as JobHandler } from "./types-BME_OjVm.js";
5
5
  import { r as BlockTemporalOptions } from "./block-helpers-D0QSs8ss.js";
6
- import { y as DrivePreviews } from "./drive-Bm-up0KU.js";
6
+ import { y as DrivePreviews } from "./drive-DrD94tWF.js";
7
7
  import { t as AsyncResult } from "./result-aun_QZHn.js";
8
8
  /** One rendered page: an image the drive stores under the file's previews. */
9
9
  interface PreviewPage {
@@ -1,8 +1,8 @@
1
1
  import { a as presetOf, f as resolvePreset } from "./config-a_CzEbpi.js";
2
2
  import { D as designOf, M as parseDesign, j as jsonPointer, k as encodeDesign, v as DesignParseError, w as designConfig, y as DesignTooLongError } from "./preset-HzYIrxUS.js";
3
3
  import { I as PRESET_CATALOG, b as appDefaultError, d as appIdentifierError, f as appNameLengthError, p as appReservedColumns, x as isAppDefault } from "./instances-07Lopbd1.js";
4
- import { i as resolveConfig } from "./config-DzPViWQU.js";
5
- import { Ft as SQL_MODULES, ot as renderBlocks, q as moduleLayout } from "./sql-Cukwmnm3.js";
4
+ import { i as resolveConfig } from "./config-C3yry9U5.js";
5
+ import { Ft as SQL_MODULES, ot as renderBlocks, q as moduleLayout } from "./sql-BqOBYRvI.js";
6
6
  // src/create/column-keys.ts
7
7
  /** The most options a select takes, and the longest option. */
8
8
  const MAX_OPTIONS = 100;
@@ -1,4 +1,4 @@
1
1
  import { t as escapeLike } from "../escape-like-BvolEoGc.js";
2
2
  import { n as invalidateTables, t as BetterQueryMeta } from "../invalidate-DAB9CaPm.js";
3
- import { $ as blockQueries, G as BLOCK_READ_PREFIXES, J as BlockInvalidation, K as BlockClientQueries, Q as blockControllerEngine, X as BlockQueries, Y as BlockMethodQuery, Z as BlockVariablesOf, a as RecordBindingQueries, at as InfiniteExtras, c as RecordWriteMutations, ct as QueriesOptions, dt as QueryOptionsOf, et as invalidateOnBlockEvents, ft as TableQueries, ht as queryCache, i as optimistic, it as BetterQueries, l as invalidateOnRecordEvents, lt as QueryHelpers, mt as invalidateOnMutation, n as OptimisticSnapshot, nt as UserChangeSource, o as RecordQueries, ot as InfiniteOptionsOf, pt as createQueries, q as BlockClients, r as OptimisticTarget, rt as clearOnUserChange, s as RecordQueriesOptions, st as MutationOptionsOf, t as OptimisticHandlers, tt as queryEngine, u as recordQueries, ut as QueryKeyOf } from "../index-BBf3nn7Y.js";
3
+ import { $ as blockQueries, G as BLOCK_READ_PREFIXES, J as BlockInvalidation, K as BlockClientQueries, Q as blockControllerEngine, X as BlockQueries, Y as BlockMethodQuery, Z as BlockVariablesOf, a as RecordBindingQueries, at as InfiniteExtras, c as RecordWriteMutations, ct as QueriesOptions, dt as QueryOptionsOf, et as invalidateOnBlockEvents, ft as TableQueries, ht as queryCache, i as optimistic, it as BetterQueries, l as invalidateOnRecordEvents, lt as QueryHelpers, mt as invalidateOnMutation, n as OptimisticSnapshot, nt as UserChangeSource, o as RecordQueries, ot as InfiniteOptionsOf, pt as createQueries, q as BlockClients, r as OptimisticTarget, rt as clearOnUserChange, s as RecordQueriesOptions, st as MutationOptionsOf, t as OptimisticHandlers, tt as queryEngine, u as recordQueries, ut as QueryKeyOf } from "../index-Dyns9a8l.js";
4
4
  export { BLOCK_READ_PREFIXES, type BetterQueries, type BetterQueryMeta, type BlockClientQueries, type BlockClients, type BlockInvalidation, type BlockMethodQuery, type BlockQueries, type BlockVariablesOf, type InfiniteExtras, type InfiniteOptionsOf, type MutationOptionsOf, type OptimisticHandlers, type OptimisticSnapshot, type OptimisticTarget, type QueriesOptions, type QueryHelpers, type QueryKeyOf, type QueryOptionsOf, type RecordBindingQueries, type RecordQueries, type RecordQueriesOptions, type RecordWriteMutations, type TableQueries, type UserChangeSource, blockControllerEngine, blockQueries, clearOnUserChange, createQueries, escapeLike, invalidateOnBlockEvents, invalidateOnMutation, invalidateOnRecordEvents, invalidateTables, optimistic, queryCache, queryEngine, recordQueries };
@@ -1,13 +1,13 @@
1
1
  import { t as escapeLike } from "../escape-like-BvolEoGc.js";
2
2
  import { c as Impersonator, n as AuthSession } from "../view-DKo-Koiu.js";
3
3
  import { i as DataEntry, m as RejectedChange, n as DataEngine, o as DataSyncState } from "../data-engine-CQiEEoNx.js";
4
- import { t as tenantOf } from "../tenant-DpJTJr1c.js";
4
+ import { t as tenantOf } from "../tenant-BQaG8Hma.js";
5
5
  import { r as LiveCountSeed } from "../index-ClysJ8O-.js";
6
- import { r as MembershipClaim } from "../entitlements-UGUF2RJv.js";
7
- import { _ as LiveQueryHookOptions, b as ProfileOf, c as DataWrites, f as BroadcastOptions, h as LiveCountHookOptions, l as ActionInputOf, m as ClientLike, o as DataSource, p as ClaimsOf, s as DataState, t as fieldErrorsOf, u as ActionResultOf, x as UseActionOptions } from "../field-errors-BKCtkPxS.js";
6
+ import { r as MembershipClaim } from "../entitlements-B6q7TIMP.js";
7
+ import { _ as LiveQueryHookOptions, b as ProfileOf, c as DataWrites, f as BroadcastOptions, h as LiveCountHookOptions, l as ActionInputOf, m as ClientLike, o as DataSource, p as ClaimsOf, s as DataState, t as fieldErrorsOf, u as ActionResultOf, x as UseActionOptions } from "../field-errors-Br3wwgbu.js";
8
8
  import { n as supportOf, t as SupportView } from "../support-view-D0VmaQVg.js";
9
9
  import { a as BlockQueryActions, c as BlockRefetchOn, i as BlockMutationState, n as BlockEventSource, o as BlockQueryOptions, r as BlockMutationActions, s as BlockQueryState, t as BlockEngineOptions } from "../block-controller-CHtFwmpj.js";
10
- import { $ as RecordInitial, A as DataView, B as useBlockEvent, C as useConflicts, D as can, E as PermissionsProvider, F as defineOneHook, G as useRecordForm, H as useBlockQuery, I as useBlockEnv, J as RecordListUrl, K as RecordListQueryStates, L as useBlockTenant, M as defineDataHooks, N as defineInfiniteListHook, O as useCan, P as defineListHook, Q as RecordContextValue, R as useController, S as Conflicts, St as useSupabase, T as OfflineContext, U as RecordFormState, V as useBlockMutation, W as UseRecordFormOptions, X as useRecordListState, Y as RecordListUrlState, Z as RecordActionsOf, _ as useRealtimeRelay, _t as createHooks, a as Upload, at as ActionForm, b as PresenceTopic, bt as useLiveCount, c as UseImageOptions, ct as UseActionFormOptions, d as useSignedUrl, dt as useActionForm, et as RecordProviderKit, f as useUpload, ft as useOptimisticAction, g as UseRealtimeRelayOptions, gt as LiveCount, h as useDebouncedSearch, ht as BetterSupabaseProviderProps, i as StorageImage, it as createRecordProvider, j as InfiniteList, k as DataHooks, l as UseUploadOptions, lt as UseOptimisticActionOptions, m as DebouncedSearchOptions, mt as BetterSupabaseProvider, n as SignedUrl, nt as RecordState, o as UploadStatus, ot as ActionHandle, p as DebouncedSearch, pt as BetterHooks, q as RecordListState, r as SignedUrlSource, rt as RecordWriteHandlers, s as UploadTarget, st as OptimisticActionHandle, t as ImageSource, tt as RecordProviderProps, u as useImage, ut as useAction, v as Presence, vt as useAuth, w as useSyncStatus, x as usePresence, xt as useLiveQuery, y as PresenceHookOptions, yt as useBroadcast, z as useLatest } from "../index-DLVuARYk.js";
10
+ import { $ as RecordInitial, A as DataView, B as useBlockEvent, C as useConflicts, D as can, E as PermissionsProvider, F as defineOneHook, G as useRecordForm, H as useBlockQuery, I as useBlockEnv, J as RecordListUrl, K as RecordListQueryStates, L as useBlockTenant, M as defineDataHooks, N as defineInfiniteListHook, O as useCan, P as defineListHook, Q as RecordContextValue, R as useController, S as Conflicts, St as useSupabase, T as OfflineContext, U as RecordFormState, V as useBlockMutation, W as UseRecordFormOptions, X as useRecordListState, Y as RecordListUrlState, Z as RecordActionsOf, _ as useRealtimeRelay, _t as createHooks, a as Upload, at as ActionForm, b as PresenceTopic, bt as useLiveCount, c as UseImageOptions, ct as UseActionFormOptions, d as useSignedUrl, dt as useActionForm, et as RecordProviderKit, f as useUpload, ft as useOptimisticAction, g as UseRealtimeRelayOptions, gt as LiveCount, h as useDebouncedSearch, ht as BetterSupabaseProviderProps, i as StorageImage, it as createRecordProvider, j as InfiniteList, k as DataHooks, l as UseUploadOptions, lt as UseOptimisticActionOptions, m as DebouncedSearchOptions, mt as BetterSupabaseProvider, n as SignedUrl, nt as RecordState, o as UploadStatus, ot as ActionHandle, p as DebouncedSearch, pt as BetterHooks, q as RecordListState, r as SignedUrlSource, rt as RecordWriteHandlers, s as UploadTarget, st as OptimisticActionHandle, t as ImageSource, tt as RecordProviderProps, u as useImage, ut as useAction, v as Presence, vt as useAuth, w as useSyncStatus, x as usePresence, xt as useLiveQuery, y as PresenceHookOptions, yt as useBroadcast, z as useLatest } from "../index-C9p3wiWn.js";
11
11
  import { SessionProvider, SessionProviderProps, useSession, useSupportSession } from "./session.js";
12
12
  import { a as useSignIn, i as SignOut, n as PendingState, o as useSignOut, r as SignIn, t as AuthHookOptions } from "../sign-in-DkRvzECa.js";
13
13
  export { type ActionForm, type ActionHandle, type ActionInputOf, type ActionResultOf, type AuthHookOptions, type AuthSession, type BetterHooks, BetterSupabaseProvider, type BetterSupabaseProviderProps, type BlockEngineOptions, type BlockEventSource, type BlockMutationActions, type BlockMutationState, type BlockQueryActions, type BlockQueryOptions, type BlockQueryState, type BlockRefetchOn, type BroadcastOptions, type ClaimsOf, type ClientLike, type Conflicts, type DataEngine, type DataEntry, type DataHooks, type DataSource, type DataState, type DataSyncState, type DataView, type DataWrites, type DebouncedSearch, type DebouncedSearchOptions, type ImageSource, type Impersonator, type InfiniteList, type LiveCount, type LiveCountHookOptions, type LiveCountSeed, type LiveQueryHookOptions, type MembershipClaim, OfflineContext, type OptimisticActionHandle, type PendingState, PermissionsProvider, type Presence, type PresenceHookOptions, type PresenceTopic, type ProfileOf, type RecordActionsOf, type RecordContextValue, type RecordFormState, type RecordInitial, type RecordListQueryStates, type RecordListState, type RecordListUrl, type RecordListUrlState, type RecordProviderKit, type RecordProviderProps, type RecordState, type RecordWriteHandlers, type RejectedChange, SessionProvider, type SessionProviderProps, type SignIn, type SignOut, type SignedUrl, type SignedUrlSource, type StorageImage, type SupportView, type Upload, type UploadStatus, type UploadTarget, type UseActionFormOptions, type UseActionOptions, type UseImageOptions, type UseOptimisticActionOptions, type UseRealtimeRelayOptions, type UseRecordFormOptions, type UseUploadOptions, can, createHooks, createRecordProvider, defineDataHooks, defineInfiniteListHook, defineListHook, defineOneHook, escapeLike, fieldErrorsOf, supportOf, tenantOf, useAction, useActionForm, useAuth, useBlockEnv, useBlockEvent, useBlockMutation, useBlockQuery, useBlockTenant, useBroadcast, useCan, useConflicts, useController, useDebouncedSearch, useImage, useLatest, useLiveCount, useLiveQuery, useOptimisticAction, usePresence, useRealtimeRelay, useRecordForm, useRecordListState, useSession, useSignIn, useSignOut, useSignedUrl, useSupabase, useSupportSession, useSyncStatus, useUpload };
@@ -1,4 +1,4 @@
1
- import { t as AuthSnapshot } from "../../bind-BRkDWXXk.js";
1
+ import { t as AuthSnapshot } from "../../bind-Bx0H1vAc.js";
2
2
  import { a as OAuthSignInOptions, i as OAuthClient, n as AuthLinkError, o as WebBrowserLike, r as AuthLinkResult, t as AuthLinkClient } from "../../auth-link-C6n-ophf.js";
3
3
  import { a as AppStateLike, r as PowerSyncReconnect, t as NativeAuthzRefreshClient } from "../../authz-refresh-Bg0T1i86.js";
4
4
  import { i as authzUserTopic, r as AuthzVersionSource, t as AUTHZ_EVENT } from "../../authz-topic-C7n3kIm_.js";
@@ -1,14 +1,14 @@
1
1
  import { n as supportOf, t as SupportView } from "../support-view-D0VmaQVg.js";
2
2
  import { c as Impersonator, n as AuthSession } from "../view-DKo-Koiu.js";
3
- import { $ as RecordInitial, B as useBlockEvent$1, C as useConflicts$1, D as can, E as PermissionsProvider, F as defineOneHook$1, G as useRecordForm$1, H as useBlockQuery$1, I as useBlockEnv$1, J as RecordListUrl, K as RecordListQueryStates, L as useBlockTenant$1, M as defineDataHooks$1, N as defineInfiniteListHook$1, O as useCan$1, P as defineListHook$1, Q as RecordContextValue, R as useController$1, St as useSupabase, T as OfflineContext, U as RecordFormState, V as useBlockMutation$1, W as UseRecordFormOptions, X as useRecordListState$1, Y as RecordListUrlState, Z as RecordActionsOf, _ as useRealtimeRelay$1, a as Upload, at as ActionForm, b as PresenceTopic, c as UseImageOptions, ct as UseActionFormOptions, d as useSignedUrl$1, et as RecordProviderKit, f as useUpload$1, g as UseRealtimeRelayOptions, gt as LiveCount, h as useDebouncedSearch$1, ht as BetterSupabaseProviderProps, i as StorageImage, it as createRecordProvider$1, l as UseUploadOptions, lt as UseOptimisticActionOptions, m as DebouncedSearchOptions, mt as BetterSupabaseProvider, n as SignedUrl, nt as RecordState, o as UploadStatus, ot as ActionHandle, p as DebouncedSearch, pt as BetterHooks, q as RecordListState, r as SignedUrlSource, rt as RecordWriteHandlers, s as UploadTarget, st as OptimisticActionHandle, t as ImageSource, tt as RecordProviderProps, u as useImage$1, v as Presence, vt as useAuth, w as useSyncStatus$1, x as usePresence$1, xt as useLiveQuery, y as PresenceHookOptions, yt as useBroadcast, z as useLatest$1 } from "../index-DLVuARYk.js";
3
+ import { $ as RecordInitial, B as useBlockEvent$1, C as useConflicts$1, D as can, E as PermissionsProvider, F as defineOneHook$1, G as useRecordForm$1, H as useBlockQuery$1, I as useBlockEnv$1, J as RecordListUrl, K as RecordListQueryStates, L as useBlockTenant$1, M as defineDataHooks$1, N as defineInfiniteListHook$1, O as useCan$1, P as defineListHook$1, Q as RecordContextValue, R as useController$1, St as useSupabase, T as OfflineContext, U as RecordFormState, V as useBlockMutation$1, W as UseRecordFormOptions, X as useRecordListState$1, Y as RecordListUrlState, Z as RecordActionsOf, _ as useRealtimeRelay$1, a as Upload, at as ActionForm, b as PresenceTopic, c as UseImageOptions, ct as UseActionFormOptions, d as useSignedUrl$1, et as RecordProviderKit, f as useUpload$1, g as UseRealtimeRelayOptions, gt as LiveCount, h as useDebouncedSearch$1, ht as BetterSupabaseProviderProps, i as StorageImage, it as createRecordProvider$1, l as UseUploadOptions, lt as UseOptimisticActionOptions, m as DebouncedSearchOptions, mt as BetterSupabaseProvider, n as SignedUrl, nt as RecordState, o as UploadStatus, ot as ActionHandle, p as DebouncedSearch, pt as BetterHooks, q as RecordListState, r as SignedUrlSource, rt as RecordWriteHandlers, s as UploadTarget, st as OptimisticActionHandle, t as ImageSource, tt as RecordProviderProps, u as useImage$1, v as Presence, vt as useAuth, w as useSyncStatus$1, x as usePresence$1, xt as useLiveQuery, y as PresenceHookOptions, yt as useBroadcast, z as useLatest$1 } from "../index-C9p3wiWn.js";
4
4
  import { lt as QuerySpec } from "../db-blocks-Db3LVXco.js";
5
5
  import { r as LiveCountSeed } from "../index-ClysJ8O-.js";
6
- import { _ as LiveQueryHookOptions, b as ProfileOf, f as BroadcastOptions, h as LiveCountHookOptions, l as ActionInputOf, m as ClientLike, p as ClaimsOf, t as fieldErrorsOf, u as ActionResultOf, x as UseActionOptions } from "../field-errors-BKCtkPxS.js";
6
+ import { _ as LiveQueryHookOptions, b as ProfileOf, f as BroadcastOptions, h as LiveCountHookOptions, l as ActionInputOf, m as ClientLike, p as ClaimsOf, t as fieldErrorsOf, u as ActionResultOf, x as UseActionOptions } from "../field-errors-Br3wwgbu.js";
7
7
  import { a as useSignIn$1, i as SignOut, n as PendingState, o as useSignOut$1, r as SignIn, t as AuthHookOptions } from "../sign-in-DkRvzECa.js";
8
8
  import { SessionProvider, SessionProviderProps } from "./session.js";
9
9
  import { t as escapeLike } from "../escape-like-BvolEoGc.js";
10
- import { t as tenantOf } from "../tenant-DpJTJr1c.js";
11
- import { r as MembershipClaim } from "../entitlements-UGUF2RJv.js";
10
+ import { t as tenantOf } from "../tenant-BQaG8Hma.js";
11
+ import { r as MembershipClaim } from "../entitlements-B6q7TIMP.js";
12
12
  /** The `react-server` build of `useSession`: await `bsb.claims()` instead. */
13
13
  export declare const useSession: <C = unknown, P = unknown>() => AuthSession<C, P>;
14
14
  /**
@@ -1,12 +1,12 @@
1
1
  import { n as bufferInPlace, t as around } from "../shared-Ci1g9nl4.js";
2
2
  import { o as problemResponse } from "../problem-BwplIuhI.js";
3
- import { t as adapterBase } from "../adapter-base-8PuJ3OoB.js";
3
+ import { t as adapterBase } from "../adapter-base-BAjra5Eb.js";
4
4
  import { _ as withFlush } from "../sessions-Dedk1ubX.js";
5
- import { i as localsOf, n as actionInput, r as frameworkEntry } from "../framework-DSGTH9p6.js";
5
+ import { i as localsOf, n as actionInput, r as frameworkEntry } from "../framework-CbjS8M33.js";
6
6
  import { i as requireCaller, o as runAction } from "../kit-BgRTtW9w.js";
7
7
  import { r as refusalResponse } from "../refusal-CgSrkirX.js";
8
8
  import { s as settle } from "../respond-DLvLJwwN.js";
9
- import { n as extendServer, t as createServer } from "../server-DFxO9Dyz.js";
9
+ import { n as extendServer, t as createServer } from "../server-Bgugpk3A.js";
10
10
  // src/bridges/react-router.ts
11
11
  /**
12
12
  * Runs an entry array as React Router server middleware. The contributions are
@@ -98,7 +98,7 @@ function specTables(meta, spec) {
98
98
  try {
99
99
  tables = readTables(meta, spec);
100
100
  } catch {
101
- tables = [spec.table];
101
+ return [spec.table];
102
102
  }
103
103
  if (key !== void 0) {
104
104
  if (byKey.size >= SPEC_CACHE_SIZE) byKey.clear();
@@ -1,4 +1,4 @@
1
- import { G as EntitySchema, yn as FormFieldType } from "./define-block-kWv1wYf7.js";
1
+ import { G as EntitySchema, yn as FormFieldType } from "./define-block-D-Z8xB6y.js";
2
2
  /** The input a field renders: a forms block field type, or a date and time. */
3
3
  type RecordFormInput = FormFieldType | "datetime";
4
4
  /** One field of an entity form, in render order. */
@@ -1,13 +1,13 @@
1
- import { n as Controller, t as AuthPort } from "../controller-CaZv50cD.js";
1
+ import { n as Controller, t as AuthPort } from "../controller-l9h4TtKg.js";
2
2
  import { _ as MyWorkKind, a as RecordSummaryOptions, c as Subjects, i as RecordSummary, n as MyTask, r as MyWorkOptions } from "../subjects-Bb5-VIcs.js";
3
3
  import { b as DbError, f as Result, t as AsyncResult } from "../result-aun_QZHn.js";
4
4
  import { p as SubscriptionStatus } from "../topic-R7kIJ_xI.js";
5
5
  import { n as TopicPort } from "../watch-topic-D18gT7-K.js";
6
6
  import { et as RecordRef } from "../types-BJ4cg51a.js";
7
- import { A as BindingBlocks, B as PermissionFlags, C as defineRecordType, D as recordPermissionKeys, E as recordCan, F as LoadBindingsOptions, H as can, I as LoadedBindings, L as bindingCan, M as BindingName, N as BindingOf, O as recordSubject, P as BindingSource, R as countBinding, S as RecordWriteInput, T as plainData, U as permissionFlags, V as PermissionSet, _ as RecordTypeBlocks, b as RecordTypeWriteInput, d as BindingWritesOf, f as Plain, g as RecordType, h as RecordCan, j as BindingCheck, k as recordWriteInput, m as PlainBindings, p as PlainBinding, v as RecordTypePermissions, w as findBindingWrite, x as RecordTypeWriteOutput, y as RecordTypeSpec, z as loadBindings } from "../index-BBf3nn7Y.js";
8
- import { a as timelineBindings, c as RecordListCells, d as RecordListQuery, f as RecordListRow, h as defineRecordList, i as loadTimeline, l as RecordListColumn, m as RecordListSpec, n as Timeline, o as RecordList, p as RecordListSource, r as TimelineEntry, s as RecordListCell, t as LoadTimelineOptions, u as RecordListPage } from "../timeline-CGjiciIY.js";
9
- import { a as RecordFormOptions, c as recordForm, i as RecordFormInput, n as RecordFormCustomField, o as RecordFormResult, r as RecordFormField, s as RecordFormValues, t as RecordForm } from "../record-form-mpamIVq3.js";
10
- import { A as RecordBindingPermissions, B as recordBindingWrite, D as RecordBindingData, E as RecordBinding, F as RecordBindingWriteOutput, H as recordRowInput, I as RecordBindingWrites, L as RecordRowInput, M as RecordBindingWrite, N as RecordBindingWriteInput, O as RecordBindingDefinition, P as RecordBindingWriteName, R as TimelineItem, T as AnyRecordBindingWrite, V as recordEventMatches, j as RecordBindingResult, k as RecordBindingOptions, w as AnyRecordBinding, z as defineRecordBinding } from "../define-block-kWv1wYf7.js";
7
+ import { A as BindingBlocks, B as PermissionFlags, C as defineRecordType, D as recordPermissionKeys, E as recordCan, F as LoadBindingsOptions, H as can, I as LoadedBindings, L as bindingCan, M as BindingName, N as BindingOf, O as recordSubject, P as BindingSource, R as countBinding, S as RecordWriteInput, T as plainData, U as permissionFlags, V as PermissionSet, _ as RecordTypeBlocks, b as RecordTypeWriteInput, d as BindingWritesOf, f as Plain, g as RecordType, h as RecordCan, j as BindingCheck, k as recordWriteInput, m as PlainBindings, p as PlainBinding, v as RecordTypePermissions, w as findBindingWrite, x as RecordTypeWriteOutput, y as RecordTypeSpec, z as loadBindings } from "../index-Dyns9a8l.js";
8
+ import { a as timelineBindings, c as RecordListCells, d as RecordListQuery, f as RecordListRow, h as defineRecordList, i as loadTimeline, l as RecordListColumn, m as RecordListSpec, n as Timeline, o as RecordList, p as RecordListSource, r as TimelineEntry, s as RecordListCell, t as LoadTimelineOptions, u as RecordListPage } from "../timeline-D7T-qrKN.js";
9
+ import { a as RecordFormOptions, c as recordForm, i as RecordFormInput, n as RecordFormCustomField, o as RecordFormResult, r as RecordFormField, s as RecordFormValues, t as RecordForm } from "../record-form-BHUYs5ju.js";
10
+ import { A as RecordBindingPermissions, B as recordBindingWrite, D as RecordBindingData, E as RecordBinding, F as RecordBindingWriteOutput, H as recordRowInput, I as RecordBindingWrites, L as RecordRowInput, M as RecordBindingWrite, N as RecordBindingWriteInput, O as RecordBindingDefinition, P as RecordBindingWriteName, R as TimelineItem, T as AnyRecordBindingWrite, V as recordEventMatches, j as RecordBindingResult, k as RecordBindingOptions, w as AnyRecordBinding, z as defineRecordBinding } from "../define-block-D-Z8xB6y.js";
11
11
  interface RecordControllerOptions<B extends BindingBlocks, N extends BindingName<B>> extends LoadBindingsOptions<B, N> {
12
12
  readonly source: BindingSource<B>;
13
13
  readonly auth: AuthPort;
@@ -9,11 +9,11 @@ import { C as SupportSession, D as supportClaims, E as sqlSupportStore, S as Sup
9
9
  import { Et as Events, ft as SupportEventData } from "../events-Bk63_mjA.js";
10
10
  import { _ as SupportAuthorize, a as AutomationHooks, b as TicketSubject, c as ChatActionHook, d as IdentityRef, f as IdentityTarget, g as SubscriberPolicy, h as SubscriberEvent, i as AuthorizationHooks, l as DelegationPermissions, m as Subscriber, n as Approver, o as AutomationRef, p as PrincipalByIdentity, r as ApproverOf, s as ChatAction, t as ApprovalRequestRef, u as DelegationRef, v as SupportAuthorizeInput, x as defineAuthorizationHooks, y as SupportDecision } from "../authorization-hooks-DtuVzDBf.js";
11
11
  import { a as PERMISSIONS_TRUNCATED_CLAIM, i as PERMISSIONS_CLAIM, n as FEATURES_CLAIM, o as PERMISSION_CAP_CLAIM, r as MEMBERSHIPS_CLAIM, t as AUTHZ_VERSION_CLAIM } from "../index-IKfbX_39.js";
12
- import { i as decodeEntitlementClaim } from "../entitlements-UGUF2RJv.js";
12
+ import { i as decodeEntitlementClaim } from "../entitlements-B6q7TIMP.js";
13
13
  import { a as isUserSession, c as Impersonator, i as isApiKeySession, l as impersonatorOf, n as AuthSession, o as toSession, r as UserSession, s as ImpersonationOptions, t as ApiKeySession } from "../view-DKo-Koiu.js";
14
- import { n as isTruncated, r as permissionsOf, t as PermissionsOfOptions } from "../permissions-Ccvec0MR.js";
14
+ import { n as isTruncated, r as permissionsOf, t as PermissionsOfOptions } from "../permissions-ZLtxCurD.js";
15
15
  import { K as permissionCapOf } from "../types-BME_OjVm.js";
16
- import { n as ClaimsSource, t as ClaimsRecord } from "../claims-source-CXAtLZ9_.js";
16
+ import { n as ClaimsSource, t as ClaimsRecord } from "../claims-source-BEVTXHQx.js";
17
17
  import { n as subjectReaders, t as SubjectReadersOptions } from "../subject-readers-DNPGHMEg.js";
18
18
  import { a as ProblemFormat, c as fromProblem, d as toProblem, i as ProblemDetails, l as isProblem, n as PROBLEM_CONTENT_TYPE, o as ProblemOptions, r as PROBLEM_TYPE_BASE, s as ProblemResponseOptions, u as problemResponse } from "../problem-DfABfWnk.js";
19
19
  import { n as SqlClient } from "../executor-BypvvW56.js";
@@ -1,6 +1,6 @@
1
- import { d as defineAuthorizationHooks, f as SERVER_EVENT_SOURCE, n as extendServer, r as TENANT_HEADER, t as createServer } from "../server-DFxO9Dyz.js";
1
+ import { d as defineAuthorizationHooks, f as SERVER_EVENT_SOURCE, n as extendServer, r as TENANT_HEADER, t as createServer } from "../server-Bgugpk3A.js";
2
2
  import { n as PRIMARY_COOKIE } from "../replicas-DiDz-zyr.js";
3
- import { t as adapterBase } from "../adapter-base-8PuJ3OoB.js";
3
+ import { t as adapterBase } from "../adapter-base-BAjra5Eb.js";
4
4
  import { _ as withFlush, c as serverCore, g as unexpectedResponse, h as resolveToken, i as withSession, m as handle, p as flushEvents } from "../sessions-Dedk1ubX.js";
5
5
  import { n as event, t as defineEvents } from "../event-map-DLajpFiJ.js";
6
6
  import { a as PERMISSIONS_TRUNCATED_CLAIM, i as PERMISSIONS_CLAIM, n as FEATURES_CLAIM, o as PERMISSION_CAP_CLAIM, r as MEMBERSHIPS_CLAIM, t as AUTHZ_VERSION_CLAIM } from "../claim-names-B3KyK7Js.js";
@@ -18,9 +18,9 @@ import { n as supportClaims, t as sqlSupportStore } from "../support-DqbhfGgx.js
18
18
  import { t as supportOf } from "../support-view-CvDEgyGY.js";
19
19
  import { i as userContext, r as impersonatorOf } from "../impersonation-BlU6M8zN.js";
20
20
  import "../claims/index.js";
21
- import { t as provideConnectionRuntime } from "../define-runtime-full-D6v1ST7M.js";
21
+ import { t as provideConnectionRuntime } from "../define-runtime-full-C4eTtJAx.js";
22
22
  import { t as postgresExecutor } from "../executor-BWg7xw7c.js";
23
- import { n as withGuard, t as withBetterSupabase } from "../composite-6VIY4jUO.js";
23
+ import { n as withGuard, t as withBetterSupabase } from "../composite-WUO6K2Hu.js";
24
24
  import { n as jwtClaimsOf, r as userClaimsOf, t as authModeOf } from "../claims-DouHL7ZL.js";
25
25
  import { i as delegationOf, n as actorOf, r as agentClaims, t as IDENTITY_SCOPES } from "../actor-DraVJ7tB.js";
26
26
  import { t as authContext } from "../context-DxTbfhD8.js";
@@ -4,9 +4,9 @@ import { a as narrowCap, i as delegatedClaims, r as contextClaims } from "./dele
4
4
  import { i as userContext, t as actClaim } from "./impersonation-BlU6M8zN.js";
5
5
  import { m as sessionCookieName } from "./resolve-oJsHQ9Ib.js";
6
6
  import { s as requestMemo, t as bindAuthorizer } from "./authorizer-DtUCjKBn.js";
7
- import { t as provideConnectionRuntime } from "./define-runtime-full-D6v1ST7M.js";
7
+ import { t as provideConnectionRuntime } from "./define-runtime-full-C4eTtJAx.js";
8
8
  import { n as dbError } from "./errors-DK1wGb9z.js";
9
- import { l as postgrestExecutor } from "./codec-CqLbYQ6z.js";
9
+ import { l as postgrestExecutor } from "./codec-Cjquuv8M.js";
10
10
  import { a as ok, r as err, t as AsyncResult } from "./result-DijoXEFG.js";
11
11
  import { n as StatsRecorder } from "./stats-D2TN2c3B.js";
12
12
  import { t as credentialProviderOf } from "./provider-DEDGgEeN.js";
@@ -1,10 +1,10 @@
1
1
  import { b as DbError, f as Result } from "./result-aun_QZHn.js";
2
2
  import { It as RequestContext, O as AnyFunctions, et as RecordRef, k as AnyModels, rn as AuthzVersionCache } from "./types-BJ4cg51a.js";
3
3
  import { T as CookieScope, g as SessionSnapshot, r as AuthState } from "./resolve-Chhtdk4M.js";
4
- import { Z as BlockClientSource, k as RecordBindingOptions } from "./define-block-kWv1wYf7.js";
4
+ import { Z as BlockClientSource, k as RecordBindingOptions } from "./define-block-D-Z8xB6y.js";
5
5
  import { et as ReadSetResult, lt as QuerySpec, q as ReadSet, rn as StatsRecorder } from "./db-blocks-Db3LVXco.js";
6
6
  import { n as AuthSession } from "./view-DKo-Koiu.js";
7
- import { M as BindingName, N as BindingOf, S as RecordWriteInput, _ as RecordTypeBlocks, b as RecordTypeWriteInput, d as BindingWritesOf, f as Plain, g as RecordType, h as RecordCan, m as PlainBindings, x as RecordTypeWriteOutput } from "./index-BBf3nn7Y.js";
7
+ import { M as BindingName, N as BindingOf, S as RecordWriteInput, _ as RecordTypeBlocks, b as RecordTypeWriteInput, d as BindingWritesOf, f as Plain, g as RecordType, h as RecordCan, m as PlainBindings, x as RecordTypeWriteOutput } from "./index-Dyns9a8l.js";
8
8
  import { b as Bootstrap, d as SharedServer, i as ContextOptions, r as BetterServer, s as ServerContext, t as AdminDb, u as ServerOptions, v as Access, x as BootstrapCallOptions } from "./server-types-C8zErBy9.js";
9
9
  import { c as SupportStartRequest } from "./support-N97YzVgD.js";
10
10
  import { t as AuthOutageHook } from "./session-DRn_URq0.js";
@@ -17,7 +17,7 @@ import { t as GateUser } from "./user-qcaSmToA.js";
17
17
  import { i as OtpParams, o as SignOutScope, r as ExistingAccount, t as AuthorizeUrlParams } from "./sign-in-R_Ou2FMR.js";
18
18
  import { n as BlockDataOf, r as BlockMethodName, t as BlockArgsOf } from "./block-method-OJA4a62H.js";
19
19
  import { t as TagOptions } from "./tags-Bh4zXrnl.js";
20
- import { c as RecordListCells, n as Timeline, o as RecordList, u as RecordListPage } from "./timeline-CGjiciIY.js";
20
+ import { c as RecordListCells, n as Timeline, o as RecordList, u as RecordListPage } from "./timeline-D7T-qrKN.js";
21
21
  import { UserClaims } from "@supabase/server";
22
22
  import { NextRequest } from "next/server.js";
23
23
  import { StandardSchemaV1 } from "@standard-schema/spec";
@@ -1,16 +1,16 @@
1
1
  import { t as SupportView } from "../support-view-D0VmaQVg.js";
2
2
  import { n as AuthSession } from "../view-DKo-Koiu.js";
3
- import { _ as LiveQueryHookOptions, a as DataRows, b as ProfileOf, c as DataWrites, d as ActionState, f as BroadcastOptions, g as LiveCountSource, h as LiveCountHookOptions, i as DataRow, l as ActionInputOf, m as ClientLike, n as DataId, o as DataSource, p as ClaimsOf, r as DataListOptions, s as DataState, t as fieldErrorsOf, u as ActionResultOf, v as PresenceHookOptions, x as UseActionOptions, y as PresenceTopic } from "../field-errors-BKCtkPxS.js";
4
- import { t as AuthSnapshot } from "../bind-BRkDWXXk.js";
3
+ import { _ as LiveQueryHookOptions, a as DataRows, b as ProfileOf, c as DataWrites, d as ActionState, f as BroadcastOptions, g as LiveCountSource, h as LiveCountHookOptions, i as DataRow, l as ActionInputOf, m as ClientLike, n as DataId, o as DataSource, p as ClaimsOf, r as DataListOptions, s as DataState, t as fieldErrorsOf, u as ActionResultOf, v as PresenceHookOptions, x as UseActionOptions, y as PresenceTopic } from "../field-errors-Br3wwgbu.js";
4
+ import { t as AuthSnapshot } from "../bind-Bx0H1vAc.js";
5
5
  import { b as DbError } from "../result-aun_QZHn.js";
6
6
  import { lt as QuerySpec } from "../db-blocks-Db3LVXco.js";
7
7
  import { _ as TopicHandlers, m as Topic, p as SubscriptionStatus, r as PresenceMember, t as EventSchemas } from "../topic-R7kIJ_xI.js";
8
8
  import { tt as TemplateValues } from "../bucket-CbRyXRp3.js";
9
9
  import { a as BlockQueryActions, c as BlockRefetchOn, i as BlockMutationState, n as BlockEventSource, o as BlockQueryOptions, r as BlockMutationActions, s as BlockQueryState, t as BlockEngineOptions } from "../block-controller-CHtFwmpj.js";
10
- import { n as Controller } from "../controller-CaZv50cD.js";
10
+ import { n as Controller } from "../controller-l9h4TtKg.js";
11
11
  import { n as BlockDataOf, r as BlockMethodName, t as BlockArgsOf } from "../block-method-OJA4a62H.js";
12
12
  import { Ct as EventMap, E as BlockEventPattern, Et as Events, O as BlockEventsMatching, w as BlockEvent } from "../events-Bk63_mjA.js";
13
- import { n as BlockOptions } from "../block-env-I8juWoVO.js";
13
+ import { n as BlockOptions } from "../block-env-DUn5reXc.js";
14
14
  import { SupabaseClient } from "@supabase/supabase-js";
15
15
  import { QueryClient } from "@tanstack/query-core";
16
16
  import { Accessor, JSX } from "solid-js";
@@ -1,11 +1,11 @@
1
1
  import { t as beforeRoute } from "../before-route-Ra3OhI2x.js";
2
2
  import { i as nitroCloudflareEnv } from "../shared-Ci1g9nl4.js";
3
- import { t as adapterBase } from "../adapter-base-8PuJ3OoB.js";
3
+ import { t as adapterBase } from "../adapter-base-BAjra5Eb.js";
4
4
  import { p as flushEvents } from "../sessions-Dedk1ubX.js";
5
- import { i as localsOf, r as frameworkEntry } from "../framework-DSGTH9p6.js";
5
+ import { i as localsOf, r as frameworkEntry } from "../framework-CbjS8M33.js";
6
6
  import { i as requireCaller, o as runAction } from "../kit-BgRTtW9w.js";
7
7
  import { r as refusalResponse } from "../refusal-CgSrkirX.js";
8
- import { n as extendServer, t as createServer } from "../server-DFxO9Dyz.js";
8
+ import { n as extendServer, t as createServer } from "../server-Bgugpk3A.js";
9
9
  // src/solid-start/index.ts
10
10
  /** SolidStart integration: middleware, guards and server function actions. */
11
11
  function createSolidStart(betterSupabase, options) {
@@ -1,5 +1,5 @@
1
- import { a as toOpenApi30Schema, n as openapiFormat, o as defineDocumentFormat, r as OPENAPI_33_PREVIEW_VERSION, t as defineApi } from "../api-D8E2jvT5.js";
2
- import { a as topicsFrom, c as PROBLEM_SCHEMA, d as mergeJson, f as pointerToken, i as safeKey, l as convertStandard, r as CLOUD_EVENT_TRAIT, s as DEFAULT_ERRORS, t as defineApiModel, u as pascal } from "../build-6vLM3d_J.js";
1
+ import { a as toOpenApi30Schema, n as openapiFormat, o as defineDocumentFormat, r as OPENAPI_33_PREVIEW_VERSION, t as defineApi } from "../api-DAJJ7N_0.js";
2
+ import { a as topicsFrom, c as PROBLEM_SCHEMA, d as mergeJson, f as pointerToken, i as safeKey, l as convertStandard, r as CLOUD_EVENT_TRAIT, s as DEFAULT_ERRORS, t as defineApiModel, u as pascal } from "../build-Rz89mkdS.js";
3
3
  import { t as FUNCTION_DESCRIPTOR } from "../function-contract-Bf6llTkE.js";
4
4
  import { r as isPlainObject } from "../clone-H_gCsL29.js";
5
5
  import { a as methodNotAllowed } from "../problem-BwplIuhI.js";
@@ -1,7 +1,7 @@
1
1
  import { C as BlockOptionsRegistry, S as BLOCK_OPTION_SCHEMAS, b as resolveBlock } from "../blocks-RVd7m590.js";
2
- import { A as declaredTableColumns, Br as sameTenantLayout, C as notNullCheckName, D as addedColumnTypes, E as PolicyGrant, F as policyGrants, Hr as auditRegistrations, I as rlsTables, M as declaredUpdatedAtTriggers, N as declaredViews, O as declaredColumnTypes, P as extensionSchema, S as blockSqlVersion, T as OwnIndex, Vr as AuditedTable, _ as BlockSqlFile, a as BlockSqlTableSpec, aa as readArgSqlType, b as BlockSqlUpgrade, c as moduleIdType, d as appValues, ea as BlockSqlRead, f as checkedValueMaps, g as BlockSqlEntitlementsProvider, h as BlockSqlDeprecation, i as BlockSqlNames, ia as readArgSource, j as declaredTables, k as declaredIndexes, l as ValueMap, m as BlockSqlAccessProvider, n as BlockSqlContractFunction, na as BlockSqlReadArgType, o as MODULE_ID_TYPES, p as BlockSql, r as BlockSqlIdType, ra as declareRead, s as isBlockSqlIdType, t as BlockSqlContext, ta as BlockSqlReadArg, u as ValueMaps, v as BlockSqlLayout, w as DeclaredView, x as OwnView, y as BlockSqlTestFile, zr as DeclaredForeignKey } from "../context-DMBXEzQa.js";
2
+ import { A as declaredTableColumns, Br as sameTenantLayout, C as notNullCheckName, D as addedColumnTypes, E as PolicyGrant, F as policyGrants, Hr as auditRegistrations, I as rlsTables, M as declaredUpdatedAtTriggers, N as declaredViews, O as declaredColumnTypes, P as extensionSchema, S as blockSqlVersion, T as OwnIndex, Vr as AuditedTable, _ as BlockSqlFile, a as BlockSqlTableSpec, aa as readArgSqlType, b as BlockSqlUpgrade, c as moduleIdType, d as appValues, ea as BlockSqlRead, f as checkedValueMaps, g as BlockSqlEntitlementsProvider, h as BlockSqlDeprecation, i as BlockSqlNames, ia as readArgSource, j as declaredTables, k as declaredIndexes, l as ValueMap, m as BlockSqlAccessProvider, n as BlockSqlContractFunction, na as BlockSqlReadArgType, o as MODULE_ID_TYPES, p as BlockSql, r as BlockSqlIdType, ra as declareRead, s as isBlockSqlIdType, t as BlockSqlContext, ta as BlockSqlReadArg, u as ValueMaps, v as BlockSqlLayout, w as DeclaredView, x as OwnView, y as BlockSqlTestFile, zr as DeclaredForeignKey } from "../context-DMTfze4z.js";
3
3
  import { a as BlockSqlEmit, i as BlockSqlAudit, n as AuditCategory, r as BlockSqlAction, t as AUDIT_CATEGORIES } from "../audit-actions-DC-AtyWB.js";
4
- import { $ as PolicyCommand, $n as moduleContext, $t as AdoptedView, A as POLICY_FUNCTIONS, An as EntityRenameStep, At as checkValues, B as policyFunctionsSql, Bn as ParseStore, Bt as DataExportPlan, C as setTagBlock, Cn as blockFileState, Ct as templateFunctions, D as formatBsbComment, Dn as moduleDataDir, Dt as writtenValues, E as commentOnTableSql, En as sameBlockFile, Et as duplicateObjects, F as RulePolicy, Fn as ModuleRenderEntry, Ft as TenantQuery, G as bsbPolicyName, Gn as duplicatePolicies, Gt as excludedColumns, H as renderRule, Hn as appColumnsOf, Ht as dataExportPlan, I as RulePolicyInput, In as ModuleRenderStore, It as tenantsQuery, J as widenedCommands, Jn as setParseStore, Jt as clearMemo, K as appTablePolicyNotes, Kn as ownerOf, Kt as resolveExposeColumns, L as RuleValue, Ln as moduleRenderStats, Lt as expiredFlagsQuery, M as ReadRulePolicy, Mn as SqlStatement, Mt as ReadRolesModule, N as Rule, Nn as splitStatements, Nt as blockReadRoles, O as parseBsbComment, On as moduleFilePaths, Ot as CheckValues, P as RuleOperator, Pn as renderKey, Pt as subjectColumns, Q as Policy, Qn as upgradePlan, Qt as AdoptedTable, R as disallowedPolicyCalls, Rn as setModuleRenderStore, Rt as sameTenantColumn, S as renderTagBlock, Sn as moduleSchemaExtensions, St as scopeProblems, T as BsbTag, Tn as moduleFileVersion, Tt as DuplicateObject, U as renderRulePolicy, Un as buildModel, Ut as OwnedColumn, V as readRulePolicies, Vn as SchemaModel, Vt as SECRET_COLUMNS, W as rulePolicy, Wn as conflicts, Wt as ownedColumns, X as TENANT_SCOPE_POLICY, Xn as InstalledBlock, Xt as memoized, Y as TENANT_SCOPE_NAMES, Yn as BlockSqlUpgradePlan, Yt as memoStats, Z as Grant, Zn as moduleDeprecations, Zt as setMemoBackend, _ as tableTagComments, _n as BlockSqlExtension, _t as migrationOptionUses, a as ListTemplateOptions, an as PRELUDE_FUNCTIONS, ar as customContracts, at as policy, b as TagRenderOptions, bn as moduleHidingColumns, bt as resolveProviderSql, c as listDeclare, cn as APP_TABLES_MODULE, cr as renderBlocks, ct as readPolicy, d as TableFeature, dn as instanceFunctions, dt as hasColumnAccess, en as adoptedColumnProblems, er as redundantNulls, et as PolicyInput, f as createsTable, fn as SeedDefaultsFunction, ft as CompiledReadSet, g as tableFeatures, gn as resolveBlocks, gt as MigrationOptionUse, h as setTableFeature, hn as moduleSource, ht as sharedRolesProblems, i as ListSortKey, in as UNSCOPED_MODULE, ir as BlockSqlTopic, it as maskSql, j as PolicyFunctionsOptions, jn as entityRenamePlan, jt as declaredCheckValues, k as setBsbTag, kn as EntityRenamePlan, kt as TableCheckValues, l as listOrder, ln as appTablesFiles, lr as contractSignature, lt as renderPolicy, m as setFeatureStatement, mn as SQL_MODULES, mt as compileReadSets, n as renderAutoEmbedding, nn as adoptedViews, nr as legacyOptionTarget, nt as RenderPolicyOptions, o as keysetPredicate, on as PRELUDE_MODULE, or as moduleBody, ot as readGrants, p as isTableFeature, pn as seedDefaultsFunctions, pt as compileReadSet, q as declaredPolicies, qn as parseDeclared, qt as MemoBackend, r as LIST_TOTAL_CAP, rn as moduleWritesText, rr as LEGACY_OPTION, rt as catalogPolicy, s as listBody, sn as APP_TABLES_MARKER, sr as moduleTopics, st as readPolicies, t as AutoEmbeddingConfig, tn as adoptedTables, tr as legacyOptionTables, tt as ReadPolicy, u as TABLE_FEATURES, un as DEFAULT_ROLES, ut as scopePolicyName, v as RENDERED_FEATURES, vn as BlockSqlPermissionKey, vt as moduleLayout, w as BsbComment, wn as isModuleDataFile, wt as templatePlaceholderProblems, x as isRenderedFeature, xn as modulePermissionKeys, xt as sameTemplateFunction, y as RenderedFeature, yn as moduleEventTriggers, yt as SCOPE_ID_TYPES, z as isRule, zn as Declaration, zt as sameTenantTrigger } from "../index-DRKAMZV3.js";
5
- import { n as BlockTables, r as blockTables, t as BlockTable } from "../block-tables-DmDyNlJf.js";
6
- import { a as appTableEventTypes } from "../app-tables-IXL0Hzut.js";
4
+ import { $ as PolicyCommand, $n as moduleContext, $t as AdoptedView, A as POLICY_FUNCTIONS, An as EntityRenameStep, At as checkValues, B as policyFunctionsSql, Bn as ParseStore, Bt as DataExportPlan, C as setTagBlock, Cn as blockFileState, Ct as templateFunctions, D as formatBsbComment, Dn as moduleDataDir, Dt as writtenValues, E as commentOnTableSql, En as sameBlockFile, Et as duplicateObjects, F as RulePolicy, Fn as ModuleRenderEntry, Ft as TenantQuery, G as bsbPolicyName, Gn as duplicatePolicies, Gt as excludedColumns, H as renderRule, Hn as appColumnsOf, Ht as dataExportPlan, I as RulePolicyInput, In as ModuleRenderStore, It as tenantsQuery, J as widenedCommands, Jn as setParseStore, Jt as clearMemo, K as appTablePolicyNotes, Kn as ownerOf, Kt as resolveExposeColumns, L as RuleValue, Ln as moduleRenderStats, Lt as expiredFlagsQuery, M as ReadRulePolicy, Mn as SqlStatement, Mt as ReadRolesModule, N as Rule, Nn as splitStatements, Nt as blockReadRoles, O as parseBsbComment, On as moduleFilePaths, Ot as CheckValues, P as RuleOperator, Pn as renderKey, Pt as subjectColumns, Q as Policy, Qn as upgradePlan, Qt as AdoptedTable, R as disallowedPolicyCalls, Rn as setModuleRenderStore, Rt as sameTenantColumn, S as renderTagBlock, Sn as moduleSchemaExtensions, St as scopeProblems, T as BsbTag, Tn as moduleFileVersion, Tt as DuplicateObject, U as renderRulePolicy, Un as buildModel, Ut as OwnedColumn, V as readRulePolicies, Vn as SchemaModel, Vt as SECRET_COLUMNS, W as rulePolicy, Wn as conflicts, Wt as ownedColumns, X as TENANT_SCOPE_POLICY, Xn as InstalledBlock, Xt as memoized, Y as TENANT_SCOPE_NAMES, Yn as BlockSqlUpgradePlan, Yt as memoStats, Z as Grant, Zn as moduleDeprecations, Zt as setMemoBackend, _ as tableTagComments, _n as BlockSqlExtension, _t as migrationOptionUses, a as ListTemplateOptions, an as PRELUDE_FUNCTIONS, ar as customContracts, at as policy, b as TagRenderOptions, bn as moduleHidingColumns, bt as resolveProviderSql, c as listDeclare, cn as APP_TABLES_MODULE, cr as renderBlocks, ct as readPolicy, d as TableFeature, dn as instanceFunctions, dt as hasColumnAccess, en as adoptedColumnProblems, er as redundantNulls, et as PolicyInput, f as createsTable, fn as SeedDefaultsFunction, ft as CompiledReadSet, g as tableFeatures, gn as resolveBlocks, gt as MigrationOptionUse, h as setTableFeature, hn as moduleSource, ht as sharedRolesProblems, i as ListSortKey, in as UNSCOPED_MODULE, ir as BlockSqlTopic, it as maskSql, j as PolicyFunctionsOptions, jn as entityRenamePlan, jt as declaredCheckValues, k as setBsbTag, kn as EntityRenamePlan, kt as TableCheckValues, l as listOrder, ln as appTablesFiles, lr as contractSignature, lt as renderPolicy, m as setFeatureStatement, mn as SQL_MODULES, mt as compileReadSets, n as renderAutoEmbedding, nn as adoptedViews, nr as legacyOptionTarget, nt as RenderPolicyOptions, o as keysetPredicate, on as PRELUDE_MODULE, or as moduleBody, ot as readGrants, p as isTableFeature, pn as seedDefaultsFunctions, pt as compileReadSet, q as declaredPolicies, qn as parseDeclared, qt as MemoBackend, r as LIST_TOTAL_CAP, rn as moduleWritesText, rr as LEGACY_OPTION, rt as catalogPolicy, s as listBody, sn as APP_TABLES_MARKER, sr as moduleTopics, st as readPolicies, t as AutoEmbeddingConfig, tn as adoptedTables, tr as legacyOptionTables, tt as ReadPolicy, u as TABLE_FEATURES, un as DEFAULT_ROLES, ut as scopePolicyName, v as RENDERED_FEATURES, vn as BlockSqlPermissionKey, vt as moduleLayout, w as BsbComment, wn as isModuleDataFile, wt as templatePlaceholderProblems, x as isRenderedFeature, xn as modulePermissionKeys, xt as sameTemplateFunction, y as RenderedFeature, yn as moduleEventTriggers, yt as SCOPE_ID_TYPES, z as isRule, zn as Declaration, zt as sameTenantTrigger } from "../index-BfoKErj3.js";
5
+ import { n as BlockTables, r as blockTables, t as BlockTable } from "../block-tables-BaLXCQha.js";
6
+ import { a as appTableEventTypes } from "../app-tables-DBmFqdFN.js";
7
7
  export { APP_TABLES_MARKER, APP_TABLES_MODULE, AUDIT_CATEGORIES, type AdoptedTable, type AdoptedView, type AuditCategory, type AuditedTable, type AutoEmbeddingConfig, BLOCK_OPTION_SCHEMAS, type BlockOptionsRegistry, type BlockSql, type BlockSqlAccessProvider, type BlockSqlAction, type BlockSqlAudit, type BlockSqlContext, type BlockSqlContractFunction, type BlockSqlDeprecation, type BlockSqlEmit, type BlockSqlEntitlementsProvider, type BlockSqlExtension, type BlockSqlFile, type BlockSqlIdType, type BlockSqlLayout, type BlockSqlNames, type BlockSqlPermissionKey, type BlockSqlRead, type BlockSqlReadArg, type BlockSqlReadArgType, type BlockSqlTableSpec, type BlockSqlTestFile, type BlockSqlTopic, type BlockSqlUpgrade, type BlockSqlUpgradePlan, type BlockTable, type BlockTables, type BsbComment, type BsbTag, type CheckValues, type CompiledReadSet, DEFAULT_ROLES, type DataExportPlan, type Declaration, type DeclaredForeignKey, type DeclaredView, type DuplicateObject, type EntityRenamePlan, type EntityRenameStep, type Grant, type InstalledBlock, LEGACY_OPTION, LIST_TOTAL_CAP, type ListSortKey, type ListTemplateOptions, MODULE_ID_TYPES, type MemoBackend, type MigrationOptionUse, type ModuleRenderEntry, type ModuleRenderStore, type OwnIndex, type OwnView, type OwnedColumn, POLICY_FUNCTIONS, PRELUDE_FUNCTIONS, PRELUDE_MODULE, type ParseStore, type Policy, type PolicyCommand, type PolicyFunctionsOptions, type PolicyGrant, type PolicyInput, RENDERED_FEATURES, type ReadPolicy, type ReadRolesModule, type ReadRulePolicy, type RenderPolicyOptions, type RenderedFeature, type Rule, type RuleOperator, type RulePolicy, type RulePolicyInput, type RuleValue, SCOPE_ID_TYPES, SECRET_COLUMNS, SQL_MODULES, type SchemaModel, type SeedDefaultsFunction, type SqlStatement, TABLE_FEATURES, TENANT_SCOPE_NAMES, TENANT_SCOPE_POLICY, type TableCheckValues, type TableFeature, type TagRenderOptions, type TenantQuery, UNSCOPED_MODULE, type ValueMap, type ValueMaps, addedColumnTypes, adoptedColumnProblems, adoptedTables, adoptedViews, appColumnsOf, appTableEventTypes, appTablePolicyNotes, appTablesFiles, appValues, auditRegistrations, blockFileState, blockReadRoles, blockSqlVersion, blockTables, bsbPolicyName, buildModel, catalogPolicy, checkValues, checkedValueMaps, clearMemo, commentOnTableSql, compileReadSet, compileReadSets, conflicts, contractSignature, createsTable, customContracts, dataExportPlan, declareRead, declaredCheckValues, declaredColumnTypes, declaredIndexes, declaredPolicies, declaredTableColumns, declaredTables, declaredUpdatedAtTriggers, declaredViews, disallowedPolicyCalls, duplicateObjects, duplicatePolicies, entityRenamePlan, excludedColumns, expiredFlagsQuery, extensionSchema, formatBsbComment, hasColumnAccess, instanceFunctions, isBlockSqlIdType, isModuleDataFile, isRenderedFeature, isRule, isTableFeature, keysetPredicate, legacyOptionTables, legacyOptionTarget, listBody, listDeclare, listOrder, maskSql, memoStats, memoized, migrationOptionUses, moduleBody, moduleContext, moduleDataDir, moduleDeprecations, moduleEventTriggers, moduleFilePaths, moduleFileVersion, moduleHidingColumns, moduleIdType, moduleLayout, modulePermissionKeys, moduleRenderStats, moduleSchemaExtensions, moduleSource, moduleTopics, moduleWritesText, notNullCheckName, ownedColumns, ownerOf, parseBsbComment, parseDeclared, policy, policyFunctionsSql, policyGrants, readArgSource, readArgSqlType, readGrants, readPolicies, readPolicy, readRulePolicies, redundantNulls, renderAutoEmbedding, renderBlocks, renderKey, renderPolicy, renderRule, renderRulePolicy, renderTagBlock, resolveBlock, resolveBlocks, resolveExposeColumns, resolveProviderSql, rlsTables, rulePolicy, sameBlockFile, sameTemplateFunction, sameTenantColumn, sameTenantLayout, sameTenantTrigger, scopePolicyName, scopeProblems, seedDefaultsFunctions, setBsbTag, setFeatureStatement, setMemoBackend, setModuleRenderStore, setParseStore, setTableFeature, setTagBlock, sharedRolesProblems, splitStatements, subjectColumns, tableFeatures, tableTagComments, templateFunctions, templatePlaceholderProblems, tenantsQuery, upgradePlan, widenedCommands, writtenValues };
package/dist/sql/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { B as resolveBlock, T as hasColumnAccess, h as appTableEventTypes } from "../instances-07Lopbd1.js";
2
- import { $ as ownerOf, $t as redundantNulls, A as declaredCheckValues, At as sameBlockFile, B as clearMemo, Bt as excludedColumns, C as rulePolicy, Ct as appTablesFiles, D as duplicateObjects, Dt as blockFileState, E as sharedRolesProblems, Et as blockSqlVersion, F as sameTenantLayout, Ft as SQL_MODULES, G as blockTables, Gt as keysetPredicate, H as memoized, Ht as SECRET_COLUMNS, I as adoptedColumnProblems, It as moduleSource, J as entityRenamePlan, Jt as listOrder, K as seedDefaultsFunctions, Kt as listBody, L as adoptedTables, Lt as resolveBlocks, M as tenantsQuery, Mt as moduleHidingColumns, N as expiredFlagsQuery, Nt as modulePermissionKeys, O as writtenValues, Ot as isModuleDataFile, P as ownedColumns, Pt as moduleSchemaExtensions, Q as duplicatePolicies, Qt as moduleContext, R as adoptedViews, Rt as TENANT_SCOPE_NAMES, S as renderRulePolicy, St as APP_TABLES_MODULE, T as compileReadSets, Tt as renderAutoEmbedding, U as setMemoBackend, Ut as dataExportPlan, V as memoStats, Vt as resolveExposeColumns, W as instanceFunctions, Wt as LIST_TOTAL_CAP, X as buildModel, Xt as sameTenantTrigger, Y as appColumnsOf, Yt as sameTenantColumn, Z as conflicts, Zt as migrationOptionUses, _ as disallowedPolicyCalls, _n as extensionSchema, _t as setModuleRenderStore, a as setTableFeature, an as checkedValueMaps, at as moduleTopics, b as readRulePolicies, bn as auditRegistrations, bt as moduleFilePaths, c as RENDERED_FEATURES, cn as AUDIT_CATEGORIES, ct as upgradePlan, d as setTagBlock, dn as declaredColumnTypes, dt as appTablePolicyNotes, en as MODULE_ID_TYPES, et as parseDeclared, f as commentOnTableSql, fn as declaredIndexes, ft as declaredPolicies, g as POLICY_FUNCTIONS, gn as declaredViews, gt as moduleRenderStats, h as setBsbTag, hn as declaredUpdatedAtTriggers, ht as PRELUDE_MODULE, i as setFeatureStatement, in as appValues, it as moduleBody, j as blockReadRoles, jt as moduleEventTriggers, k as checkValues, kt as moduleFileVersion, l as isRenderedFeature, ln as BLOCK_OPTION_SCHEMAS, lt as bsbPolicyName, m as parseBsbComment, mn as declaredTables, mt as PRELUDE_FUNCTIONS, n as createsTable, nn as moduleIdType, nt as splitStatements, o as tableFeatures, on as legacyOptionTables, ot as renderBlocks, p as formatBsbComment, pn as declaredTableColumns, pt as widenedCommands, q as moduleLayout, qt as listDeclare, r as isTableFeature, rn as contractSignature, rt as customContracts, s as tableTagComments, sn as legacyOptionTarget, st as moduleDeprecations, t as TABLE_FEATURES, tn as isBlockSqlIdType, tt as setParseStore, u as renderTagBlock, un as addedColumnTypes, ut as UNSCOPED_MODULE, v as isRule, vn as policyGrants, vt as renderKey, w as compileReadSet, wt as scopePolicyName, x as renderRule, xt as APP_TABLES_MARKER, y as policyFunctionsSql, yn as rlsTables, yt as moduleDataDir, z as moduleWritesText, zt as TENANT_SCOPE_POLICY } from "../sql-Cukwmnm3.js";
2
+ import { $ as ownerOf, $t as redundantNulls, A as declaredCheckValues, At as sameBlockFile, B as clearMemo, Bt as excludedColumns, C as rulePolicy, Ct as appTablesFiles, D as duplicateObjects, Dt as blockFileState, E as sharedRolesProblems, Et as blockSqlVersion, F as sameTenantLayout, Ft as SQL_MODULES, G as blockTables, Gt as keysetPredicate, H as memoized, Ht as SECRET_COLUMNS, I as adoptedColumnProblems, It as moduleSource, J as entityRenamePlan, Jt as listOrder, K as seedDefaultsFunctions, Kt as listBody, L as adoptedTables, Lt as resolveBlocks, M as tenantsQuery, Mt as moduleHidingColumns, N as expiredFlagsQuery, Nt as modulePermissionKeys, O as writtenValues, Ot as isModuleDataFile, P as ownedColumns, Pt as moduleSchemaExtensions, Q as duplicatePolicies, Qt as moduleContext, R as adoptedViews, Rt as TENANT_SCOPE_NAMES, S as renderRulePolicy, St as APP_TABLES_MODULE, T as compileReadSets, Tt as renderAutoEmbedding, U as setMemoBackend, Ut as dataExportPlan, V as memoStats, Vt as resolveExposeColumns, W as instanceFunctions, Wt as LIST_TOTAL_CAP, X as buildModel, Xt as sameTenantTrigger, Y as appColumnsOf, Yt as sameTenantColumn, Z as conflicts, Zt as migrationOptionUses, _ as disallowedPolicyCalls, _n as extensionSchema, _t as setModuleRenderStore, a as setTableFeature, an as checkedValueMaps, at as moduleTopics, b as readRulePolicies, bn as auditRegistrations, bt as moduleFilePaths, c as RENDERED_FEATURES, cn as AUDIT_CATEGORIES, ct as upgradePlan, d as setTagBlock, dn as declaredColumnTypes, dt as appTablePolicyNotes, en as MODULE_ID_TYPES, et as parseDeclared, f as commentOnTableSql, fn as declaredIndexes, ft as declaredPolicies, g as POLICY_FUNCTIONS, gn as declaredViews, gt as moduleRenderStats, h as setBsbTag, hn as declaredUpdatedAtTriggers, ht as PRELUDE_MODULE, i as setFeatureStatement, in as appValues, it as moduleBody, j as blockReadRoles, jt as moduleEventTriggers, k as checkValues, kt as moduleFileVersion, l as isRenderedFeature, ln as BLOCK_OPTION_SCHEMAS, lt as bsbPolicyName, m as parseBsbComment, mn as declaredTables, mt as PRELUDE_FUNCTIONS, n as createsTable, nn as moduleIdType, nt as splitStatements, o as tableFeatures, on as legacyOptionTables, ot as renderBlocks, p as formatBsbComment, pn as declaredTableColumns, pt as widenedCommands, q as moduleLayout, qt as listDeclare, r as isTableFeature, rn as contractSignature, rt as customContracts, s as tableTagComments, sn as legacyOptionTarget, st as moduleDeprecations, t as TABLE_FEATURES, tn as isBlockSqlIdType, tt as setParseStore, u as renderTagBlock, un as addedColumnTypes, ut as UNSCOPED_MODULE, v as isRule, vn as policyGrants, vt as renderKey, w as compileReadSet, wt as scopePolicyName, x as renderRule, xt as APP_TABLES_MARKER, y as policyFunctionsSql, yn as rlsTables, yt as moduleDataDir, z as moduleWritesText, zt as TENANT_SCOPE_POLICY } from "../sql-BqOBYRvI.js";
3
3
  import { a as LEGACY_OPTION } from "../options-Bfd-k6yw.js";
4
4
  import { A as notNullCheckName } from "../shared-D-qwk29i.js";
5
5
  import { s as subjectColumns } from "../contributions-Bh-HcHoJ.js";