better-supabase 0.63.2 → 0.65.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (467) hide show
  1. package/dist/{adapter-base-DXF0tNJJ.js → adapter-base-BWp_GpBq.js} +1 -1
  2. package/dist/{agents-C8BwEXD0.d.ts → agents-DwZDwOoT.d.ts} +2 -2
  3. package/dist/{ai-schedules-j51dDzm3.d.ts → ai-schedules-Snwu8x_i.d.ts} +1 -1
  4. package/dist/ai-sdk/agents/index.d.ts +1 -1
  5. package/dist/ai-sdk/workflow/index.d.ts +1 -1
  6. package/dist/{api-DhCLHpIU.js → api-DW835Q-a.js} +1 -1
  7. package/dist/{app-tables-Br5Khxij.d.ts → app-tables-Bfqe58WR.d.ts} +1 -1
  8. package/dist/astro/index.js +3 -3
  9. package/dist/{authorization-k0Y3L701.d.ts → authorization-CX-03Zgx.d.ts} +1 -1
  10. package/dist/{bind-CuRPlZYY.d.ts → bind-C9Bu9fgk.d.ts} +3 -3
  11. package/dist/{block-env-hdFBj6FQ.d.ts → block-env-B0azWULB.d.ts} +4 -4
  12. package/dist/{block-tables-1XNfpOPP.d.ts → block-tables-BYfcmfA5.d.ts} +1 -1
  13. package/dist/blocks/access-requests/index.d.ts +1 -1
  14. package/dist/blocks/accounting/index.d.ts +1 -1
  15. package/dist/blocks/acknowledgements/index.d.ts +1 -1
  16. package/dist/blocks/activities/index.d.ts +2 -2
  17. package/dist/blocks/advisories/index.d.ts +1 -1
  18. package/dist/blocks/agent-checkout/index.d.ts +1 -1
  19. package/dist/blocks/agents/index.d.ts +1 -1
  20. package/dist/blocks/ai-cache/index.d.ts +1 -1
  21. package/dist/blocks/ai-chat/index.d.ts +1 -1
  22. package/dist/blocks/ai-evals/index.d.ts +1 -1
  23. package/dist/blocks/ai-files/index.d.ts +1 -1
  24. package/dist/blocks/ai-guardrails/index.d.ts +1 -1
  25. package/dist/blocks/ai-keys/index.d.ts +1 -1
  26. package/dist/blocks/ai-schedules/index.d.ts +2 -2
  27. package/dist/blocks/announcements/index.d.ts +4 -4
  28. package/dist/blocks/api-keys/index.d.ts +1 -1
  29. package/dist/blocks/appraisals/index.d.ts +1 -1
  30. package/dist/blocks/approvals/index.d.ts +1 -1
  31. package/dist/blocks/assets/index.d.ts +2 -2
  32. package/dist/blocks/assignment/index.d.ts +1 -1
  33. package/dist/blocks/attachments/index.d.ts +5 -5
  34. package/dist/blocks/audit/index.d.ts +2 -2
  35. package/dist/blocks/automations/index.d.ts +3 -3
  36. package/dist/blocks/banking/index.d.ts +1 -1
  37. package/dist/blocks/billable-time/index.d.ts +1 -1
  38. package/dist/blocks/billing/index.d.ts +2 -2
  39. package/dist/blocks/bookings/index.d.ts +2 -2
  40. package/dist/blocks/bulk-actions/index.d.ts +2 -2
  41. package/dist/blocks/calendar/index.d.ts +3 -3
  42. package/dist/blocks/care/index.d.ts +27 -27
  43. package/dist/blocks/care-plans/index.d.ts +3 -3
  44. package/dist/blocks/cases/index.d.ts +3 -3
  45. package/dist/blocks/catalog/index.d.ts +2 -2
  46. package/dist/blocks/channels/index.d.ts +1 -1
  47. package/dist/blocks/clinical-decision-support/index.d.ts +1 -1
  48. package/dist/blocks/cms/index.d.ts +5 -5
  49. package/dist/blocks/collaboration/index.d.ts +6 -6
  50. package/dist/blocks/collections/index.d.ts +1 -1
  51. package/dist/blocks/comments/index.d.ts +2 -2
  52. package/dist/blocks/commerce/index.d.ts +5 -5
  53. package/dist/blocks/commissions/index.d.ts +1 -1
  54. package/dist/blocks/compliance/index.d.ts +1 -1
  55. package/dist/blocks/connectors/index.d.ts +1 -1
  56. package/dist/blocks/consents/index.d.ts +2 -2
  57. package/dist/blocks/contacts/index.d.ts +2 -2
  58. package/dist/blocks/content/index.d.ts +2 -2
  59. package/dist/blocks/contracts/index.d.ts +1 -1
  60. package/dist/blocks/courses/index.d.ts +2 -2
  61. package/dist/blocks/created-by/index.d.ts +2 -2
  62. package/dist/blocks/crm/index.d.ts +16 -16
  63. package/dist/blocks/custom-fields/index.d.ts +1 -1
  64. package/dist/blocks/dam/index.d.ts +2 -2
  65. package/dist/blocks/data-lifecycle/index.d.ts +2 -2
  66. package/dist/blocks/deadlines/index.d.ts +1 -1
  67. package/dist/blocks/deals/index.d.ts +1 -1
  68. package/dist/blocks/dispatch/index.d.ts +2 -2
  69. package/dist/blocks/document-templates/index.d.ts +2 -2
  70. package/dist/blocks/documents/index.d.ts +1 -1
  71. package/dist/blocks/domains/index.d.ts +1 -1
  72. package/dist/blocks/donations/index.d.ts +1 -1
  73. package/dist/blocks/drive/index.d.ts +5 -5
  74. package/dist/blocks/e-prescribing/index.d.ts +1 -1
  75. package/dist/blocks/employees/index.d.ts +1 -1
  76. package/dist/blocks/enrichment/index.d.ts +1 -1
  77. package/dist/blocks/enrollments/index.d.ts +2 -2
  78. package/dist/blocks/entitlements/index.d.ts +3 -3
  79. package/dist/blocks/events/index.d.ts +3 -3
  80. package/dist/blocks/expenses/index.d.ts +1 -1
  81. package/dist/blocks/field-history/index.d.ts +1 -1
  82. package/dist/blocks/filespace/index.d.ts +8 -8
  83. package/dist/blocks/finance/index.d.ts +5 -5
  84. package/dist/blocks/flags/index.d.ts +1 -1
  85. package/dist/blocks/forecasts/index.d.ts +1 -1
  86. package/dist/blocks/forms/index.d.ts +3 -3
  87. package/dist/blocks/funding/index.d.ts +2 -2
  88. package/dist/blocks/goals/index.d.ts +1 -1
  89. package/dist/blocks/governance/index.d.ts +4 -4
  90. package/dist/blocks/guests/index.d.ts +1 -1
  91. package/dist/blocks/hiring/index.d.ts +1 -1
  92. package/dist/blocks/identities/index.d.ts +1 -1
  93. package/dist/blocks/imports/index.d.ts +2 -2
  94. package/dist/blocks/inbox/index.d.ts +6 -6
  95. package/dist/blocks/incidents/index.d.ts +1 -1
  96. package/dist/blocks/index.d.ts +3 -3
  97. package/dist/blocks/inspections/index.d.ts +2 -2
  98. package/dist/blocks/inventory/index.d.ts +1 -1
  99. package/dist/blocks/invoices/index.d.ts +1 -1
  100. package/dist/blocks/knowledge/index.d.ts +1 -1
  101. package/dist/blocks/lead-scoring/index.d.ts +2 -2
  102. package/dist/blocks/learning/index.d.ts +3 -3
  103. package/dist/blocks/leases/index.d.ts +1 -1
  104. package/dist/blocks/leave/index.d.ts +1 -1
  105. package/dist/blocks/ledger/index.d.ts +1 -1
  106. package/dist/blocks/legal-entities/index.d.ts +2 -2
  107. package/dist/blocks/lims/index.d.ts +2 -2
  108. package/dist/blocks/mail-sync/index.d.ts +3 -3
  109. package/dist/blocks/maintenance/index.d.ts +2 -2
  110. package/dist/blocks/manufacturing/index.d.ts +2 -2
  111. package/dist/blocks/medications/index.d.ts +1 -1
  112. package/dist/blocks/meetings/index.d.ts +3 -3
  113. package/dist/blocks/memberships/index.d.ts +2 -2
  114. package/dist/blocks/memory/index.d.ts +1 -1
  115. package/dist/blocks/messaging/index.d.ts +5 -5
  116. package/dist/blocks/metrics/index.d.ts +1 -1
  117. package/dist/blocks/mfa/index.d.ts +2 -2
  118. package/dist/blocks/moderation/index.d.ts +2 -2
  119. package/dist/blocks/notifications/index.d.ts +5 -5
  120. package/dist/blocks/numbering/index.d.ts +1 -1
  121. package/dist/blocks/oauth-server/index.d.ts +1 -1
  122. package/dist/blocks/observations/index.d.ts +2 -2
  123. package/dist/blocks/onboarding/index.d.ts +2 -2
  124. package/dist/blocks/option-sets/index.d.ts +2 -2
  125. package/dist/blocks/orders/index.d.ts +1 -1
  126. package/dist/blocks/organizations/index.d.ts +2 -2
  127. package/dist/blocks/outbox/index.d.ts +1 -1
  128. package/dist/blocks/passes/index.d.ts +2 -2
  129. package/dist/blocks/payroll-export/index.d.ts +2 -2
  130. package/dist/blocks/people/index.d.ts +7 -7
  131. package/dist/blocks/periods/index.d.ts +1 -1
  132. package/dist/blocks/permissions/index.d.ts +3 -3
  133. package/dist/blocks/pipelines/index.d.ts +2 -2
  134. package/dist/blocks/posts/index.d.ts +2 -2
  135. package/dist/blocks/procurement/index.d.ts +5 -5
  136. package/dist/blocks/profiles/index.d.ts +1 -1
  137. package/dist/blocks/projects/index.d.ts +7 -7
  138. package/dist/blocks/promotions/index.d.ts +1 -1
  139. package/dist/blocks/prompts/index.d.ts +1 -1
  140. package/dist/blocks/push/index.d.ts +2 -2
  141. package/dist/blocks/qualifications/index.d.ts +2 -2
  142. package/dist/blocks/queue/index.d.ts +2 -2
  143. package/dist/blocks/quotes/index.d.ts +1 -1
  144. package/dist/blocks/rank/index.d.ts +1 -1
  145. package/dist/blocks/reactions/index.d.ts +4 -4
  146. package/dist/blocks/recruiting/index.d.ts +4 -4
  147. package/dist/blocks/referrals/index.d.ts +1 -1
  148. package/dist/blocks/relations/index.d.ts +1 -1
  149. package/dist/blocks/reminders/index.d.ts +1 -1
  150. package/dist/blocks/reviews/index.d.ts +1 -1
  151. package/dist/blocks/rfqs/index.d.ts +2 -2
  152. package/dist/blocks/risks/index.d.ts +2 -2
  153. package/dist/blocks/saas/index.d.ts +12 -12
  154. package/dist/blocks/sales/index.d.ts +1 -1
  155. package/dist/blocks/saved-views/index.d.ts +2 -2
  156. package/dist/blocks/scheduling/index.d.ts +4 -4
  157. package/dist/blocks/scores/index.d.ts +2 -2
  158. package/dist/blocks/search/index.d.ts +3 -3
  159. package/dist/blocks/security-events/index.d.ts +1 -1
  160. package/dist/blocks/segments/index.d.ts +2 -2
  161. package/dist/blocks/sequences/index.d.ts +3 -3
  162. package/dist/blocks/service/index.d.ts +7 -7
  163. package/dist/blocks/service-accounts/index.d.ts +1 -1
  164. package/dist/blocks/sessions/index.d.ts +2 -2
  165. package/dist/blocks/settings/index.d.ts +2 -2
  166. package/dist/blocks/share-links/index.d.ts +1 -1
  167. package/dist/blocks/shifts/index.d.ts +2 -2
  168. package/dist/blocks/shipments/index.d.ts +1 -1
  169. package/dist/blocks/signatures/index.d.ts +2 -2
  170. package/dist/blocks/signing-keys/index.d.ts +1 -1
  171. package/dist/blocks/sla/index.d.ts +1 -1
  172. package/dist/blocks/sso/index.d.ts +1 -1
  173. package/dist/blocks/state-machine/index.d.ts +1 -1
  174. package/dist/blocks/subjects/index.d.ts +2 -2
  175. package/dist/blocks/support/index.d.ts +5 -5
  176. package/dist/blocks/tags/index.d.ts +2 -2
  177. package/dist/blocks/tasks/index.d.ts +2 -2
  178. package/dist/blocks/tax/index.d.ts +2 -2
  179. package/dist/blocks/teams/index.d.ts +1 -1
  180. package/dist/blocks/templates/index.d.ts +1 -1
  181. package/dist/blocks/tills/index.d.ts +1 -1
  182. package/dist/blocks/time-entries/index.d.ts +2 -2
  183. package/dist/blocks/timeline/index.d.ts +1 -1
  184. package/dist/blocks/trash/index.d.ts +1 -1
  185. package/dist/blocks/undo/index.d.ts +2 -2
  186. package/dist/blocks/updated-at/index.d.ts +2 -2
  187. package/dist/blocks/usage/index.d.ts +2 -2
  188. package/dist/blocks/vercel-marketplace/index.d.ts +1 -1
  189. package/dist/blocks/versions/index.d.ts +1 -1
  190. package/dist/blocks/waitlist/index.d.ts +1 -1
  191. package/dist/blocks/warehouse/index.d.ts +1 -1
  192. package/dist/blocks/warranty/index.d.ts +1 -1
  193. package/dist/blocks/webhooks/index.d.ts +1 -1
  194. package/dist/blocks/workflow-editor/index.d.ts +4 -4
  195. package/dist/blocks/workflows/index.d.ts +4 -4
  196. package/dist/{blocks-C2F_SycJ.d.ts → blocks-DuL-Ds3g.d.ts} +11 -3
  197. package/dist/{build-Vd4JkaqJ.js → build-C4utCr_F.js} +1 -1
  198. package/dist/claims/index.d.ts +4 -4
  199. package/dist/{claims-source-fUk4pR24.d.ts → claims-source-Cek93vyw.d.ts} +1 -1
  200. package/dist/cli/{add-B8H-eHVK.js → add-CJunmhIu.js} +11 -11
  201. package/dist/cli/add-D70QLNK7.js +1 -0
  202. package/dist/cli/{add-DzsB2EMd.js → add-FzNe4YLu.js} +2 -2
  203. package/dist/cli/{app-table-files-BNbkk4mU.js → app-table-files-BDmrt2qu.js} +4 -4
  204. package/dist/cli/{app-tables-B9xoTgSg.js → app-tables-C38kyCXS.js} +2 -2
  205. package/dist/cli/{backfill-DxGGF0tw.js → backfill-BafFSdLq.js} +3 -3
  206. package/dist/cli/bin.js +1 -1
  207. package/dist/cli/{blocks-xgk0tdfI.js → blocks-CLZsTRQp.js} +1 -1
  208. package/dist/cli/{blocks-zWXWOGcv.js → blocks-zt9rwTL_.js} +1 -1
  209. package/dist/cli/{cache-DGTzqvsc.js → cache-CEIUM3JG.js} +1 -1
  210. package/dist/cli/{codemod-C63P8ybN.js → codemod-M2rQ1W_U.js} +5 -5
  211. package/dist/cli/{codemod-naming-wb0ni9VH.js → codemod-naming-DfHoYdJU.js} +1 -1
  212. package/dist/cli/{column-renames-Cw-VJmbc.js → column-renames-c21PFef3.js} +2 -2
  213. package/dist/cli/{config-D4AVoIh5.js → config-CVwtXlJf.js} +1 -1
  214. package/dist/cli/{config-By5EbpdJ.js → config-f3sjxKp2.js} +1 -1
  215. package/dist/cli/{content-mapper-DXjq7Wfl.js → content-mapper-DqVf_Fgs.js} +1 -1
  216. package/dist/cli/{db-C4up7wFU.js → db-ZevmfY9U.js} +2 -2
  217. package/dist/cli/{dev-r1oRNl1e.js → dev-D1GK3haS.js} +5 -5
  218. package/dist/cli/{doctor-BHIIEqOU.js → doctor-uoRPUZ8F.js} +19 -19
  219. package/dist/cli/{emit-C6S__22g.js → emit-B_Lm7_wL.js} +2 -2
  220. package/dist/cli/{gen-tasks-D0_qerE6.js → gen-tasks-DqGGUn1q.js} +11 -11
  221. package/dist/cli/{gen-DWNQMbqr.js → gen-wt2ZUpGe.js} +5 -5
  222. package/dist/cli/index.d.ts +1 -1
  223. package/dist/cli/index.js +8 -8
  224. package/dist/cli/{init-DiYhhVtO.js → init-D86uTIWa.js} +9 -9
  225. package/dist/cli/{live-C7AMtQsQ.js → live-BA_a2Jol.js} +2 -2
  226. package/dist/cli/{mcp-DaymIFzT.js → mcp-BAbfqDad.js} +2 -2
  227. package/dist/cli/{memo-backend-DaO-IuUk.js → memo-backend-DhdJmTUc.js} +1 -1
  228. package/dist/cli/{metadata-CsSZ8mZc.js → metadata-CDLkzqxG.js} +4 -4
  229. package/dist/cli/{migrate-Ceai0fte.js → migrate-CdPcq8-a.js} +1 -1
  230. package/dist/cli/{migration-safety-BXKmX5ar.js → migration-safety-Dwfz0WVB.js} +2 -2
  231. package/dist/cli/{module-migration-ueN8AWpK.js → module-migration-DFIsQn_x.js} +1 -1
  232. package/dist/cli/{partition-DMv3-JOr.js → partition-CXNI9PQP.js} +3 -3
  233. package/dist/cli/powersync-Crw4D8xt.js +1 -0
  234. package/dist/cli/{powersync-QpdoYTM1.js → powersync-DrwwjGP-.js} +4 -4
  235. package/dist/cli/{print-CQe9SQD_.js → print-DNSc_N-C.js} +2 -2
  236. package/dist/cli/{providers-DocDgHot.js → providers-QbWlzsWD.js} +1 -1
  237. package/dist/cli/{prune-workflows-w_4KdMR9.js → prune-workflows-BpWuOsJw.js} +3 -3
  238. package/dist/cli/{remove-DvnCBCVe.js → remove-C_qXMRzB.js} +6 -6
  239. package/dist/cli/{render-X1jNuye8.js → render-BETiezmy.js} +5 -5
  240. package/dist/cli/{render-cache-Be5Sm_Eu.js → render-cache-BB0JYz8w.js} +1 -1
  241. package/dist/cli/{run-72NxM1zM.js → run-BOVCY-r-.js} +101 -21
  242. package/dist/cli/{run-BoLLvybx.js → run-Dxc0-5HJ.js} +35 -35
  243. package/dist/cli/seed-CIRl--FX.js +1 -0
  244. package/dist/cli/{seed-BufZFJ_Q.js → seed-DWgxzesp.js} +2 -2
  245. package/dist/cli/{shared-BR48oJN4.js → shared-BaAJV9R_.js} +1 -1
  246. package/dist/cli/{source-aefKuXMY.js → source-1bNLaVRN.js} +1 -1
  247. package/dist/cli/{source-args-CvgOHwlj.js → source-args-BJ0HQoMM.js} +1 -1
  248. package/dist/cli/{spec-CxtMMgXM.js → spec-D4oXGSKz.js} +1 -1
  249. package/dist/cli/{spec-Dvz-C4MP.js → spec-LDMiECv9.js} +2 -2
  250. package/dist/cli/{sql-layout-B2fda2KP.js → sql-layout-C8AdA_Eo.js} +3 -3
  251. package/dist/cli/{squash-D7KwCZHj.js → squash-BB0Kxk8Q.js} +1 -1
  252. package/dist/cli/{sync-DvD3jbb4.js → sync-bBwKCyBW.js} +4 -4
  253. package/dist/cli/{upgrade-hDU5DI6_.js → upgrade-DNukTQY6.js} +5 -5
  254. package/dist/cli/{upgrade-C6Pw49Jc.js → upgrade-DfYVHnuj.js} +5 -5
  255. package/dist/cli/{verify-CR7f21Ri.js → verify-CiUN5skL.js} +2 -2
  256. package/dist/cli/{version-CiDgdPUD.js → version-DfAapHvH.js} +1 -1
  257. package/dist/client/index.d.ts +5 -5
  258. package/dist/client/index.js +1 -1
  259. package/dist/client/native/index.d.ts +4 -4
  260. package/dist/client/native/index.js +2 -2
  261. package/dist/{composite-C13UCNgm.js → composite-RorL_F8I.js} +1 -1
  262. package/dist/config/index.d.ts +4 -4
  263. package/dist/config/index.js +4 -4
  264. package/dist/{config-1kAVpZc_.js → config-BuZW7wNr.js} +3 -3
  265. package/dist/{config-L5_4kg24.js → config-ocvgjLWV.js} +1 -1
  266. package/dist/{context-DtyeoCvj.d.ts → context-CoxeOKXg.d.ts} +3 -3
  267. package/dist/contract/index.d.ts +3 -3
  268. package/dist/{controller-D6ZUjfhv.d.ts → controller-D4dnWk48.d.ts} +1 -1
  269. package/dist/{conversion-BiAEs9ja.d.ts → conversion-BK0OksW-.d.ts} +1 -1
  270. package/dist/create/index.d.ts +4 -4
  271. package/dist/create/index.js +3 -3
  272. package/dist/create/lite/index.d.ts +3 -3
  273. package/dist/create/lite/index.js +4 -4
  274. package/dist/{define-block-DpnCxELV.d.ts → define-block-BNN4jNs1.d.ts} +1 -1
  275. package/dist/{define-runtime-BbNPkt-5.js → define-runtime-DQC2Gjdr.js} +4 -0
  276. package/dist/{define-runtime-full-gpz09qAj.js → define-runtime-full-BIrEQWJR.js} +1 -1
  277. package/dist/{drive-_xuMA2xw.d.ts → drive-CNwty_R6.d.ts} +1 -1
  278. package/dist/edge/index.js +4 -4
  279. package/dist/{entitlements-Djh4bBdj.d.ts → entitlements-CYnE3d6D.d.ts} +2 -2
  280. package/dist/{executor-DABWqMfV.js → executor-D7avvqx3.js} +1 -1
  281. package/dist/expo/index.js +3 -3
  282. package/dist/{extract-DZznUgzb.d.ts → extract-DMI10ymS.d.ts} +1 -1
  283. package/dist/{extras-Cb1ZUvNK.d.ts → extras-DLKG5Qrz.d.ts} +1 -1
  284. package/dist/{field-errors-DSEpFDCa.d.ts → field-errors-B88R19Ds.d.ts} +5 -5
  285. package/dist/{former-permission-keys-FPrqQHXf.js → former-permission-keys-DVwR65bj.js} +1 -1
  286. package/dist/{framework-BQgHM3zD.js → framework-DxCx0pmS.js} +1 -1
  287. package/dist/generators/factories/index.d.ts +1 -1
  288. package/dist/generators/factories/index.js +1 -1
  289. package/dist/generators/index.d.ts +2 -2
  290. package/dist/generators/json-schema/index.d.ts +2 -2
  291. package/dist/generators/json-schema/index.js +1 -1
  292. package/dist/generators/nuqs/index.d.ts +1 -1
  293. package/dist/generators/nuqs/index.js +1 -1
  294. package/dist/generators/standard-schema/index.d.ts +1 -1
  295. package/dist/generators/standard-schema/index.js +1 -1
  296. package/dist/generators/valibot/index.d.ts +1 -1
  297. package/dist/generators/valibot/index.js +1 -1
  298. package/dist/generators/zod/index.d.ts +1 -1
  299. package/dist/generators/zod/index.js +1 -1
  300. package/dist/hono/index.js +3 -3
  301. package/dist/{index-Bx9qRuof.d.ts → index-7zilcSsn.d.ts} +1 -1
  302. package/dist/{index-D9fhYtnp.d.ts → index-95m7aK3r.d.ts} +1 -1
  303. package/dist/{index-DIwhnfIi.d.ts → index-B5_A0px6.d.ts} +2 -2
  304. package/dist/{index-Dsb6-otF.d.ts → index-B62LISft.d.ts} +1 -1
  305. package/dist/{index-DVmqH-jI.d.ts → index-BH0TBQjQ.d.ts} +3 -3
  306. package/dist/{index-CjmtqiRE.d.ts → index-Be44DVw_.d.ts} +1 -1
  307. package/dist/{index-bFOgwrCN.d.ts → index-BezbTIy8.d.ts} +1 -1
  308. package/dist/{index-jJ7Q-AYO.d.ts → index-Bn9uT8zK.d.ts} +2 -2
  309. package/dist/{index-Bt5jJrzR.d.ts → index-BnQd1un1.d.ts} +1 -1
  310. package/dist/{index-1aGCqU0F.d.ts → index-BpB7zXE8.d.ts} +1 -1
  311. package/dist/{index-BEVvxkvW.d.ts → index-BsxetsKr.d.ts} +1 -1
  312. package/dist/{index-DUDYFfnG.d.ts → index-BtBPT0Xd.d.ts} +1 -1
  313. package/dist/{index-BKD8Lkn9.d.ts → index-BuJNFxep.d.ts} +7 -7
  314. package/dist/{index-DtGyj0RU.d.ts → index-ByxPedDM.d.ts} +4 -4
  315. package/dist/{index-BDq77p1R.d.ts → index-C-dzSmym.d.ts} +1 -1
  316. package/dist/{index-BIOLHETk.d.ts → index-C0efZ4-1.d.ts} +1 -1
  317. package/dist/{index-D-LxyjmH.d.ts → index-CGWlGdkC.d.ts} +2 -2
  318. package/dist/{index-B2NJNoRd.d.ts → index-CHpvAU8q.d.ts} +16 -8
  319. package/dist/{index-BiX0gNGQ.d.ts → index-CIC4gEN2.d.ts} +2 -2
  320. package/dist/{index-CygaT0GH.d.ts → index-CIWIKJq9.d.ts} +1 -1
  321. package/dist/{index-Dga-eftL.d.ts → index-CUIQqlYq.d.ts} +4 -4
  322. package/dist/{index-DEHVn5Ma.d.ts → index-Ci5b0O38.d.ts} +1 -1
  323. package/dist/{index-_IFPpPG9.d.ts → index-CuIfFMrc.d.ts} +1 -1
  324. package/dist/{index-RGXgZmyg.d.ts → index-CzJiTefX.d.ts} +2 -2
  325. package/dist/{index-DAYCCmVC.d.ts → index-CzMeb47z.d.ts} +1 -1
  326. package/dist/{index-vOUlkC2o.d.ts → index-D9cT5n3D.d.ts} +1 -1
  327. package/dist/{index-CaE6XZnq.d.ts → index-D9oaJIco.d.ts} +3 -3
  328. package/dist/{index-BAccIXQt.d.ts → index-DIlQq5SD.d.ts} +2 -2
  329. package/dist/{index-CbKxPo6t.d.ts → index-DZBqNuEr.d.ts} +2 -2
  330. package/dist/{index-C8H6hpAP.d.ts → index-DZxb4kuD.d.ts} +2 -2
  331. package/dist/{index-CmHvVWGd.d.ts → index-Dl4NyBCR.d.ts} +1 -1
  332. package/dist/{index-S6WKucTU.d.ts → index-Dpuwg0TF.d.ts} +1 -1
  333. package/dist/{index-BeJMACah.d.ts → index-N---BEYQ.d.ts} +2 -2
  334. package/dist/{index-BREewNqU.d.ts → index-kKRVxhxd.d.ts} +1 -1
  335. package/dist/{index-DitpSLYH.d.ts → index-ljkv6cKx.d.ts} +2 -2
  336. package/dist/{index-C-h2MrvD.d.ts → index-o4u57crs.d.ts} +1 -1
  337. package/dist/{index-TkkZfmGg.d.ts → index-omC5tnCw.d.ts} +1 -1
  338. package/dist/{instances-PZAWgQEX.js → instances-B9oCgEOH.js} +76 -0
  339. package/dist/{json-schema-BwfI_jJ2.js → json-schema-BHx8LHzw.js} +1 -1
  340. package/dist/{manifest-B1bfLbzz.d.ts → manifest-0mtF51MB.d.ts} +1 -1
  341. package/dist/{manifest-C0-rnYge.d.ts → manifest-1Wrn1roh.d.ts} +1 -1
  342. package/dist/{manifest-DiJKbgrM.d.ts → manifest-1scY6yWo.d.ts} +1 -1
  343. package/dist/{manifest-DySuHx51.d.ts → manifest-2xnqzIEk.d.ts} +2 -2
  344. package/dist/{manifest-uAf9hw_t.d.ts → manifest-7jM_DQl2.d.ts} +1 -1
  345. package/dist/{manifest-ByfZrxkk.d.ts → manifest-9foPJ_Fd.d.ts} +1 -1
  346. package/dist/{manifest-BYHJvkqX.d.ts → manifest-B83vvPek.d.ts} +1 -1
  347. package/dist/{manifest-Cf8__tMA.d.ts → manifest-B8ThF_jn.d.ts} +1 -1
  348. package/dist/{manifest-CrO5Gwed.d.ts → manifest-BHwpLaPI.d.ts} +1 -1
  349. package/dist/{manifest-B-5cqXlx.d.ts → manifest-BJ3DoG3E.d.ts} +1 -1
  350. package/dist/{manifest-CzErrA0R.d.ts → manifest-BMLhR4Eg.d.ts} +1 -1
  351. package/dist/{manifest-Bgc-jWOV.d.ts → manifest-BNRs20Uf.d.ts} +1 -1
  352. package/dist/{manifest-rk3V9E0p.d.ts → manifest-BWzHfbrz.d.ts} +1 -1
  353. package/dist/{manifest-C3qUn0ka.d.ts → manifest-BYoi4yhl.d.ts} +1 -1
  354. package/dist/{manifest-C02JeWGr.d.ts → manifest-BZe8-T8v.d.ts} +1 -1
  355. package/dist/{manifest-B1R3o592.d.ts → manifest-B_wuy2Dp.d.ts} +1 -1
  356. package/dist/{manifest-DpW-TJwu.d.ts → manifest-BaElonmS.d.ts} +1 -1
  357. package/dist/{manifest-DgVrJNgv.d.ts → manifest-Batx8PnZ.d.ts} +1 -1
  358. package/dist/{manifest-nsV6ZrZ7.d.ts → manifest-BcgK5CNE.d.ts} +1 -1
  359. package/dist/{manifest-CRe-o25G.d.ts → manifest-BeYe1Tqi.d.ts} +1 -1
  360. package/dist/{manifest-BTZI-Jq1.d.ts → manifest-BlVniNtg.d.ts} +1 -1
  361. package/dist/{manifest-DFRP7LFo.d.ts → manifest-C0fdSZ8P.d.ts} +1 -1
  362. package/dist/{manifest-B__S-85Q.d.ts → manifest-C1hpLMFd.d.ts} +1 -1
  363. package/dist/{manifest-DWS1Hszm.d.ts → manifest-C2msUYGH.d.ts} +1 -1
  364. package/dist/{manifest-CKbJBLaW.d.ts → manifest-CA1Xja1g.d.ts} +1 -1
  365. package/dist/{manifest-D_RJDjHz.d.ts → manifest-CXuwQ864.d.ts} +1 -1
  366. package/dist/{manifest-BGBYLCP-.d.ts → manifest-CYptKcK7.d.ts} +1 -1
  367. package/dist/{manifest-rB3i09ej.d.ts → manifest-CkfGKcp8.d.ts} +1 -1
  368. package/dist/{manifest-BLVRM4WX.d.ts → manifest-ClyZmlqw.d.ts} +1 -1
  369. package/dist/{manifest-4K_pRDrE.d.ts → manifest-CnDmxd8U.d.ts} +1 -1
  370. package/dist/{manifest-DCIvxvg9.d.ts → manifest-CnSYGkcj.d.ts} +1 -1
  371. package/dist/{manifest-CQ1Xpja6.d.ts → manifest-CsFtXBBz.d.ts} +1 -1
  372. package/dist/{manifest-DEf81vUp.d.ts → manifest-CtUjuzks.d.ts} +1 -1
  373. package/dist/{manifest-DH1wX47F.d.ts → manifest-Cw2OY_as.d.ts} +1 -1
  374. package/dist/{manifest-BsuYq-pZ.d.ts → manifest-D0L-FCeR.d.ts} +1 -1
  375. package/dist/{manifest-Ca6Rm4u6.d.ts → manifest-D0bqUKw0.d.ts} +1 -1
  376. package/dist/{manifest-B5y82qsH.d.ts → manifest-D7F15gCk.d.ts} +1 -1
  377. package/dist/{manifest-C46GM61W.d.ts → manifest-DGyxea7P.d.ts} +1 -1
  378. package/dist/{manifest-Qa7Oz8op.d.ts → manifest-DJxtzNlO.d.ts} +1 -1
  379. package/dist/{manifest-BFc_Zpzf.d.ts → manifest-DMlBwnAD.d.ts} +1 -1
  380. package/dist/{manifest-DYMvHTJ4.d.ts → manifest-DO6xgonh.d.ts} +1 -1
  381. package/dist/{manifest-D-IfkyQg.d.ts → manifest-DSMOUOS4.d.ts} +1 -1
  382. package/dist/{manifest-C3-OpYr0.d.ts → manifest-DTo6wGdl.d.ts} +1 -1
  383. package/dist/{manifest-YV2wB81I.d.ts → manifest-DWftB4-k.d.ts} +1 -1
  384. package/dist/{manifest-B9FkI5Za.d.ts → manifest-DZujRBYP.d.ts} +1 -1
  385. package/dist/{manifest-BND77-ps.d.ts → manifest-DdASQqwu.d.ts} +1 -1
  386. package/dist/{manifest-CGnYiIs8.d.ts → manifest-DhxLrgXs.d.ts} +1 -1
  387. package/dist/{manifest-z_JoPdSA.d.ts → manifest-DiVRV5uU.d.ts} +1 -1
  388. package/dist/{manifest-B11QNHpO.d.ts → manifest-Dne-vzLU.d.ts} +1 -1
  389. package/dist/{manifest-DIsc4u7U.d.ts → manifest-Dwlal9hp.d.ts} +1 -1
  390. package/dist/{manifest-BQYkGxek.d.ts → manifest-Dyd4YmHX.d.ts} +1 -1
  391. package/dist/{manifest-CE4rGv9r.d.ts → manifest-Fjo0zGvZ.d.ts} +1 -1
  392. package/dist/{manifest-DF6MWZld.d.ts → manifest-PNunwDTR.d.ts} +1 -1
  393. package/dist/{manifest-BBQmMfq7.d.ts → manifest-QK3zY9yE.d.ts} +1 -1
  394. package/dist/{manifest-iwcDpOkG.d.ts → manifest-aUNaGswA.d.ts} +1 -1
  395. package/dist/{manifest-MIOw1h6u.d.ts → manifest-f3YpFDwr.d.ts} +1 -1
  396. package/dist/{manifest-4zuq-I0U.d.ts → manifest-iw_Mj8TT.d.ts} +1 -1
  397. package/dist/{manifest-D_u0Uhd9.d.ts → manifest-r4Qg9IUj.d.ts} +1 -1
  398. package/dist/{manifest-IWiafJCj.d.ts → manifest-rioWw1Xh.d.ts} +1 -1
  399. package/dist/{manifest-4ZM88myP.d.ts → manifest-svAvvbCb.d.ts} +1 -1
  400. package/dist/{manifest-BLkOEccx.d.ts → manifest-vm3Sbqkq.d.ts} +1 -1
  401. package/dist/{manifest-C9Cs9rtL.d.ts → manifest-z8UXpGBO.d.ts} +1 -1
  402. package/dist/mapper/bin.js +6 -6
  403. package/dist/mcp/index.d.ts +1 -1
  404. package/dist/mcp/index.js +1 -1
  405. package/dist/mcp/sdk/index.js +1 -1
  406. package/dist/{mcp-Cif2SnK4.js → mcp-B6AK8gXQ.js} +3 -3
  407. package/dist/next/index.d.ts +5 -5
  408. package/dist/next/index.js +2 -2
  409. package/dist/next/proxy/index.d.ts +2 -2
  410. package/dist/{operations-C4vxakMi.d.ts → operations-B4iP1805.d.ts} +1 -1
  411. package/dist/orpc/index.js +2 -2
  412. package/dist/otel/index.js +5 -5
  413. package/dist/{permissions-CP5Cwz8h.d.ts → permissions-DM2TO3IW.d.ts} +1 -1
  414. package/dist/{ports-ClJbgoyt.js → ports-BfHdHz1e.js} +1 -1
  415. package/dist/{ports-B1QMhbn5.d.ts → ports-CI4MCK_w.d.ts} +1 -1
  416. package/dist/powersync/index.d.ts +2 -2
  417. package/dist/powersync/index.js +1 -1
  418. package/dist/preset/index.d.ts +4 -4
  419. package/dist/preset/index.js +3 -3
  420. package/dist/{preset-BcwGsW_B.js → preset-DrfMF0Hv.js} +2 -2
  421. package/dist/{preview-ByZwgNq9.d.ts → preview-wfts0f_Q.d.ts} +2 -2
  422. package/dist/{project-DYyr_iyu.js → project-MUYG_cjl.js} +5 -5
  423. package/dist/{push-token-BAcQAeb8.d.ts → push-token-BlbHCW_P.d.ts} +1 -1
  424. package/dist/query/index.d.ts +1 -1
  425. package/dist/react/index.d.ts +5 -5
  426. package/dist/react/index.js +1 -1
  427. package/dist/react/native/index.d.ts +1 -1
  428. package/dist/react/server.d.ts +5 -5
  429. package/dist/react/server.js +1 -1
  430. package/dist/{react-hb2gg5UV.js → react-BkLf1aNc.js} +14 -1
  431. package/dist/react-router/index.js +3 -3
  432. package/dist/realtime/index.d.ts +3 -3
  433. package/dist/{record-form-53Hzv9d9.d.ts → record-form-Do_tZhFZ.d.ts} +1 -1
  434. package/dist/records/index.d.ts +7 -7
  435. package/dist/server/index.d.ts +4 -4
  436. package/dist/server/index.js +4 -4
  437. package/dist/{server-B0T944J9.js → server-DpcMKAt_.js} +1 -1
  438. package/dist/{sign-in-DbXRH5zh.d.ts → sign-in-BK0MoYoZ.d.ts} +4 -4
  439. package/dist/solid/index.d.ts +5 -5
  440. package/dist/solid-start/index.js +3 -3
  441. package/dist/spec/index.js +4 -4
  442. package/dist/sql/index.d.ts +5 -5
  443. package/dist/sql/index.js +2 -2
  444. package/dist/{sql-DPpcMNUF.js → sql-DLM5qTve.js} +82 -4
  445. package/dist/sqlite/index.js +1 -1
  446. package/dist/ssr/index.d.ts +1 -1
  447. package/dist/svelte/index.d.ts +5 -5
  448. package/dist/sveltekit/index.js +3 -3
  449. package/dist/tanstack-start/index.js +3 -3
  450. package/dist/{tenant-tAtS31r8.d.ts → tenant-Cue0nAH2.d.ts} +1 -1
  451. package/dist/testing/index.d.ts +6 -6
  452. package/dist/testing/index.js +3 -3
  453. package/dist/{timeline-BoKhn-Ei.d.ts → timeline-BzwEUkAX.d.ts} +2 -2
  454. package/dist/{topic-BdTuoZRL.d.ts → topic-vKeXr5Iq.d.ts} +1 -1
  455. package/dist/{types-D4wgpab9.d.ts → types-BHPiJK75.d.ts} +2 -2
  456. package/dist/{version-B9H4YoiS.js → version-g50CWvKI.js} +1 -1
  457. package/dist/vue/index.d.ts +5 -5
  458. package/dist/{watch-topic-BjkFSiGe.d.ts → watch-topic-DBvJTKe6.d.ts} +1 -1
  459. package/dist/webmcp/index.d.ts +1 -1
  460. package/dist/webmcp/index.js +1 -1
  461. package/dist/yjs/index.d.ts +1 -1
  462. package/package.json +9 -9
  463. package/schemas/config-v1.json +30 -2
  464. package/skills/better-supabase/references/ui-recipes.md +1174 -532
  465. package/dist/cli/add-BpikP7u5.js +0 -1
  466. package/dist/cli/powersync-CEhwfawV.js +0 -1
  467. package/dist/cli/seed-B3MrC1Qe.js +0 -1
@@ -1,4 +1,4 @@
1
- import { n as ClaimsSource, t as ClaimsRecord } from "./claims-source-fUk4pR24.js";
1
+ import { n as ClaimsSource, t as ClaimsRecord } from "./claims-source-Cek93vyw.js";
2
2
  interface PermissionsOfOptions {
3
3
  /**
4
4
  * The claim holding `{ [tenantId]: string[] }`, as
@@ -2,7 +2,7 @@ import { l as postgrestExecutor } from "./codec-CJaAdLjG.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-DgNIlSAS.js";
4
4
  import { i as userContext } from "./impersonation-BlU6M8zN.js";
5
- import { t as provideLeanConnectionRuntime } from "./define-runtime-BbNPkt-5.js";
5
+ import { t as provideLeanConnectionRuntime } from "./define-runtime-DQC2Gjdr.js";
6
6
  import { n as hasAuthModule, r as claimedTenant } from "./auth-module-B19zCsb4.js";
7
7
  import { t as currentTenant } from "./tenant-source-46lMuMEn.js";
8
8
  import { n as identityKey } from "./user-change-Ngy8z1fZ.js";
@@ -1,4 +1,4 @@
1
- import { n as TopicPort } from "./watch-topic-BjkFSiGe.js";
1
+ import { n as TopicPort } from "./watch-topic-DBvJTKe6.js";
2
2
  import { t as AsyncResult } from "./result-aun_QZHn.js";
3
3
  import { SupabaseClient } from "@supabase/supabase-js";
4
4
  /**
@@ -1,10 +1,10 @@
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-h098g0vY.js";
2
2
  import { Vt as Executor } from "../types-Dizn1liT.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-nmeUijzR.js";
4
- import { t as AuthSnapshot } from "../bind-CuRPlZYY.js";
4
+ import { t as AuthSnapshot } from "../bind-C9Bu9fgk.js";
5
5
  import { t as BlockTransport } from "../block-transport-Bqne7_GN.js";
6
6
  import { b as DbError, f as Result } from "../result-aun_QZHn.js";
7
- import { n as TopicPort } from "../watch-topic-BjkFSiGe.js";
7
+ import { n as TopicPort } from "../watch-topic-DBvJTKe6.js";
8
8
  import { o as ActivitySubject } from "../activities-DFL2uhTK.js";
9
9
  import { a as MedicationAsNeededInput, r as MedicationAdministrationInput } from "../medications-3mcGOelG.js";
10
10
  import { d as ObservationInput, t as Observation } from "../observations-8pt9Lflf.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-DABWqMfV.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-D7avvqx3.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-DpnCxELV.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-DtyeoCvj.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-C8H6hpAP.js";
4
- import { i as appReservedColumns, n as appIdentifierError, r as appNameLengthError, t as APP_NAME_MAX } from "../app-tables-Br5Khxij.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-BNN4jNs1.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-CoxeOKXg.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-DZxb4kuD.js";
4
+ import { i as appReservedColumns, n as appIdentifierError, r as appNameLengthError, t as APP_NAME_MAX } from "../app-tables-Bfqe58WR.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,4 +1,4 @@
1
- import { C as PRESET_TENANT_NAMES, E as presetValueLabel, S as PRESET_FRAMEWORKS, T as presetField, _ as defaultPreset, a as presetOf, b as CONVENTION_FIELDS, c as presetSpec, d as removeComposite, f as resolvePreset, g as PRESET_NAMES, h as PRESET_GROUPS, i as presetConfig, l as listNames, m as PRESETS, o as presetFromSpec, p as DEFAULT_PRESET_NAME, r as expandPreset, s as presetOfSpec, t as conventionConfig, u as presetBlockConflict, v as isPresetName, w as integrationsForFramework, x as DEFAULT_CONVENTIONS, y as namedPreset } from "../config-L5_4kg24.js";
2
- import { I as PRESET_CATALOG, O as APP_COLUMN_FORMATS, b as appDefaultError, c as APP_NAME_MAX, d as appIdentifierError, f as appNameLengthError, i as instancePrefix, n as INSTANCE_NAME, p as appReservedColumns, t as CORE_BLOCKS, x as isAppDefault } from "../instances-PZAWgQEX.js";
3
- import { A as isDesignCode, B as safeDesignFileSource, C as decodeDesign, D as designOf, E as designFormat, F as presetArgumentOf, G as presetGlue, H as PROVIDER_COMMENT, I as presetConfigSource, K as BLOCK_CATALOG, L as presetInstallCommand, M as parseDesign, N as presetAndDesignOf, O as designSchema, P as presetApplyCommand, R as presetKey, S as createUrl, T as designFileSource, U as glueCommand, V as safeParseDesign, W as presetBlocksSource, _ as DESIGN_FORMAT, a as installedBlocks, b as MAX_DESIGN_CODE_LENGTH, c as instancesOf, d as withInstance, f as withoutInstance, g as DESIGN_FILE, h as CREATE_URL, i as entityName, k as encodeDesign, l as presetInstances, m as diffDesigns, n as blockRequires, o as instanceBlock, p as diffAppTables, r as canAddInstance, s as instanceNameProblem, t as blockEntities, u as withEntityName, v as DesignParseError, w as designConfig, x as createQuery, y as DesignTooLongError, z as readDesignFile } from "../preset-BcwGsW_B.js";
1
+ import { C as PRESET_TENANT_NAMES, E as presetValueLabel, S as PRESET_FRAMEWORKS, T as presetField, _ as defaultPreset, a as presetOf, b as CONVENTION_FIELDS, c as presetSpec, d as removeComposite, f as resolvePreset, g as PRESET_NAMES, h as PRESET_GROUPS, i as presetConfig, l as listNames, m as PRESETS, o as presetFromSpec, p as DEFAULT_PRESET_NAME, r as expandPreset, s as presetOfSpec, t as conventionConfig, u as presetBlockConflict, v as isPresetName, w as integrationsForFramework, x as DEFAULT_CONVENTIONS, y as namedPreset } from "../config-ocvgjLWV.js";
2
+ import { I as PRESET_CATALOG, O as APP_COLUMN_FORMATS, b as appDefaultError, c as APP_NAME_MAX, d as appIdentifierError, f as appNameLengthError, i as instancePrefix, n as INSTANCE_NAME, p as appReservedColumns, t as CORE_BLOCKS, x as isAppDefault } from "../instances-B9oCgEOH.js";
3
+ import { A as isDesignCode, B as safeDesignFileSource, C as decodeDesign, D as designOf, E as designFormat, F as presetArgumentOf, G as presetGlue, H as PROVIDER_COMMENT, I as presetConfigSource, K as BLOCK_CATALOG, L as presetInstallCommand, M as parseDesign, N as presetAndDesignOf, O as designSchema, P as presetApplyCommand, R as presetKey, S as createUrl, T as designFileSource, U as glueCommand, V as safeParseDesign, W as presetBlocksSource, _ as DESIGN_FORMAT, a as installedBlocks, b as MAX_DESIGN_CODE_LENGTH, c as instancesOf, d as withInstance, f as withoutInstance, g as DESIGN_FILE, h as CREATE_URL, i as entityName, k as encodeDesign, l as presetInstances, m as diffDesigns, n as blockRequires, o as instanceBlock, p as diffAppTables, r as canAddInstance, s as instanceNameProblem, t as blockEntities, u as withEntityName, v as DesignParseError, w as designConfig, x as createQuery, y as DesignTooLongError, z as readDesignFile } from "../preset-DrfMF0Hv.js";
4
4
  export { APP_COLUMN_FORMATS, APP_NAME_MAX, BLOCK_CATALOG, CONVENTION_FIELDS, CREATE_URL, DEFAULT_CONVENTIONS, DEFAULT_PRESET_NAME, DESIGN_FILE, DESIGN_FORMAT, DesignParseError, DesignTooLongError, INSTANCE_NAME, MAX_DESIGN_CODE_LENGTH, PRESETS, PRESET_CATALOG, PRESET_FRAMEWORKS, PRESET_GROUPS, PRESET_NAMES, PRESET_TENANT_NAMES, PROVIDER_COMMENT, 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,5 +1,5 @@
1
- import { I as PRESET_CATALOG, _ as appTablesOf, n as INSTANCE_NAME, t as CORE_BLOCKS, z as asBlocksConfig } from "./instances-PZAWgQEX.js";
2
- import { N as groupEntries, _ as defaultPreset, a as presetOf, c as presetSpec, f as resolvePreset, i as presetConfig, s as presetOfSpec } from "./config-L5_4kg24.js";
1
+ import { I as PRESET_CATALOG, _ as appTablesOf, n as INSTANCE_NAME, t as CORE_BLOCKS, z as asBlocksConfig } from "./instances-B9oCgEOH.js";
2
+ import { N as groupEntries, _ as defaultPreset, a as presetOf, c as presetSpec, f as resolvePreset, i as presetConfig, s as presetOfSpec } from "./config-ocvgjLWV.js";
3
3
  import { i as FIELD_FORMATS } from "./field-formats-sLYMh1ZK.js";
4
4
  // src/preset/block-catalog.generated.ts
5
5
  const BLOCK_CATALOG = {
@@ -1,9 +1,9 @@
1
1
  import { t as BlockTransport } from "./block-transport-Bqne7_GN.js";
2
2
  import { i as EventSink } from "./cloud-event-B0AsPtwP.js";
3
- import { Ln as AttachmentStorage } from "./define-block-DpnCxELV.js";
3
+ import { Ln as AttachmentStorage } from "./define-block-BNN4jNs1.js";
4
4
  import { _ as JobHandler } from "./types-DerSPnBG.js";
5
5
  import { r as BlockTemporalOptions } from "./block-helpers-DDotKGAf.js";
6
- import { y as DrivePreviews } from "./drive-_xuMA2xw.js";
6
+ import { y as DrivePreviews } from "./drive-CNwty_R6.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
- import { a as presetOf, f as resolvePreset } from "./config-L5_4kg24.js";
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-BcwGsW_B.js";
3
- import { I as PRESET_CATALOG, b as appDefaultError, d as appIdentifierError, f as appNameLengthError, p as appReservedColumns, x as isAppDefault } from "./instances-PZAWgQEX.js";
4
- import { i as resolveConfig } from "./config-1kAVpZc_.js";
5
- import { Ft as SQL_MODULES, ot as renderBlocks, q as moduleLayout } from "./sql-DPpcMNUF.js";
1
+ import { a as presetOf, f as resolvePreset } from "./config-ocvgjLWV.js";
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-DrfMF0Hv.js";
3
+ import { I as PRESET_CATALOG, b as appDefaultError, d as appIdentifierError, f as appNameLengthError, p as appReservedColumns, x as isAppDefault } from "./instances-B9oCgEOH.js";
4
+ import { i as resolveConfig } from "./config-BuZW7wNr.js";
5
+ import { Ft as SQL_MODULES, ot as renderBlocks, q as moduleLayout } from "./sql-DLM5qTve.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
- import { s as PushTokenPort } from "./ports-B1QMhbn5.js";
1
+ import { s as PushTokenPort } from "./ports-CI4MCK_w.js";
2
2
  /** The part of `expo-notifications` the push token port uses. */
3
3
  interface ExpoNotificationsLike {
4
4
  getPermissionsAsync(): Promise<{
@@ -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-DUDYFfnG.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-BtBPT0Xd.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-DwTCw_jZ.js";
3
3
  import { i as DataEntry, m as RejectedChange, n as DataEngine, o as DataSyncState } from "../data-engine-nmeUijzR.js";
4
- import { t as tenantOf } from "../tenant-tAtS31r8.js";
5
- import { r as LiveCountSeed } from "../index-DitpSLYH.js";
6
- import { r as MembershipClaim } from "../entitlements-Djh4bBdj.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-DSEpFDCa.js";
4
+ import { t as tenantOf } from "../tenant-Cue0nAH2.js";
5
+ import { r as LiveCountSeed } from "../index-ljkv6cKx.js";
6
+ import { r as MembershipClaim } from "../entitlements-CYnE3d6D.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-B88R19Ds.js";
8
8
  import { n as supportOf, t as SupportView } from "../support-view-CfyHFSq4.js";
9
9
  import { a as BlockQueryActions, c as BlockRefetchOn, i as BlockMutationState, n as BlockEventSource, o as BlockQueryOptions, r as BlockMutationActions, s as BlockQueryState, t as BlockEngineOptions } from "../block-controller-Dy-Jyy8A.js";
10
- import { $ 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-B2NJNoRd.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-CHpvAU8q.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 };
@@ -4,7 +4,7 @@ import { a as createHooks, d as useSupabase, i as BetterSupabaseProvider, l as u
4
4
  import { t as supportOf } from "../support-view-CvDEgyGY.js";
5
5
  import { i as useSupportSession, r as useSession, t as SessionProvider } from "../session-BBfnagPA.js";
6
6
  import { c as fieldErrorsOf } from "../data-hooks-Bvoc_jzM.js";
7
- import { C as useBlockTenant, E as useOptimisticAction, S as useBlockEnv, T as useActionForm, _ as useBlockMutation, a as useRealtimeRelay, b as useRecordListState, c as useSyncStatus, d as useCan, f as defineDataHooks, g as useBlockEvent, h as defineOneHook, i as useDebouncedSearch, l as PermissionsProvider, m as defineListHook, n as useSignedUrl, o as usePresence, p as defineInfiniteListHook, r as useUpload, s as useConflicts, t as useImage, u as can, v as useBlockQuery, w as useAction, x as createRecordProvider, y as useRecordForm } from "../react-hb2gg5UV.js";
7
+ import { C as useBlockTenant, E as useOptimisticAction, S as useBlockEnv, T as useActionForm, _ as useBlockMutation, a as useRealtimeRelay, b as useRecordListState, c as useSyncStatus, d as useCan, f as defineDataHooks, g as useBlockEvent, h as defineOneHook, i as useDebouncedSearch, l as PermissionsProvider, m as defineListHook, n as useSignedUrl, o as usePresence, p as defineInfiniteListHook, r as useUpload, s as useConflicts, t as useImage, u as can, v as useBlockQuery, w as useAction, x as createRecordProvider, y as useRecordForm } from "../react-BkLf1aNc.js";
8
8
  import { n as useLatest, t as useController } from "../react-controller-BBT925kb.js";
9
9
  import { t as OfflineContext } from "../offline-DC97pA8z.js";
10
10
  import { t as tenantOf } from "../tenant-Duq0dWqX.js";
@@ -1,4 +1,4 @@
1
- import { t as AuthSnapshot } from "../../bind-CuRPlZYY.js";
1
+ import { t as AuthSnapshot } from "../../bind-C9Bu9fgk.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-CfyHFSq4.js";
2
2
  import { c as Impersonator, n as AuthSession } from "../view-DwTCw_jZ.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-B2NJNoRd.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-CHpvAU8q.js";
4
4
  import { dt as QuerySpec } from "../db-blocks-BQkHb77X.js";
5
- import { r as LiveCountSeed } from "../index-DitpSLYH.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-DSEpFDCa.js";
5
+ import { r as LiveCountSeed } from "../index-ljkv6cKx.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-B88R19Ds.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-tAtS31r8.js";
11
- import { r as MembershipClaim } from "../entitlements-Djh4bBdj.js";
10
+ import { t as tenantOf } from "../tenant-Cue0nAH2.js";
11
+ import { r as MembershipClaim } from "../entitlements-CYnE3d6D.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,4 +1,4 @@
1
- import { l as PermissionsProvider, u as can } from "../react-hb2gg5UV.js";
1
+ import { l as PermissionsProvider, u as can } from "../react-BkLf1aNc.js";
2
2
  import { d as useSupabase, i as BetterSupabaseProvider, o as useAuth, s as useBroadcast, u as useLiveQuery } from "../sign-in-CxnkReKM.js";
3
3
  import { c as fieldErrorsOf } from "../data-hooks-Bvoc_jzM.js";
4
4
  import { t as OfflineContext } from "../offline-DC97pA8z.js";
@@ -349,6 +349,18 @@ function createRecordProvider(feature) {
349
349
  // src/react/record-list.ts
350
350
  const present = (state) => Object.fromEntries(Object.entries(state).filter(([, value]) => value !== null && value !== void 0));
351
351
  /**
352
+ * The URL state in the shape of a query: the facet keys move under `facets`, as
353
+ * `toSearchParams` reads them.
354
+ */
355
+ const asQuery = (facetKeys, state) => {
356
+ const query = {};
357
+ const facets = {};
358
+ for (const [key, value] of Object.entries(present(state))) if (facetKeys.has(key)) facets[key] = value;
359
+ else query[key] = value;
360
+ if (Object.keys(facets).length > 0) query["facets"] = facets;
361
+ return query;
362
+ };
363
+ /**
352
364
  * A record list's URL state from nuqs, with the query params the server parses.
353
365
  * Filter and sort changes reset the page. better-supabase doesn't import nuqs:
354
366
  * pass what `useQueryStates` returns.
@@ -368,7 +380,8 @@ const present = (state) => Object.fromEntries(Object.entries(state).filter(([, v
368
380
  function useRecordListState(list, queryStates) {
369
381
  const [state, setState] = queryStates;
370
382
  return useMemo(() => {
371
- const searchParams = list.toSearchParams(present(state));
383
+ const facetKeys = new Set((list.facets ?? []).map((facet) => facet.key));
384
+ const searchParams = list.toSearchParams(asQuery(facetKeys, state));
372
385
  const parsed = list.parse(searchParams);
373
386
  const query = parsed.ok ? parsed.value : list.defaults;
374
387
  return {
@@ -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-DXF0tNJJ.js";
3
+ import { t as adapterBase } from "../adapter-base-BWp_GpBq.js";
4
4
  import { _ as withFlush } from "../sessions-w6xril_l.js";
5
- import { i as localsOf, n as actionInput, r as frameworkEntry } from "../framework-BQgHM3zD.js";
5
+ import { i as localsOf, n as actionInput, r as frameworkEntry } from "../framework-DxCx0pmS.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-B0T944J9.js";
9
+ import { n as extendServer, t as createServer } from "../server-DpcMKAt_.js";
10
10
  // src/bridges/react-router.ts
11
11
  /**
12
12
  * Runs an entry array as React Router server middleware. The contributions are
@@ -1,8 +1,8 @@
1
1
  import { D as AccessTopicPolicy, E as AccessPolicySql } from "../types-Dizn1liT.js";
2
2
  import { et as TemplateParams, tt as TemplateValues } from "../bucket-BJ03ZblY.js";
3
3
  import { t as RealtimeStatus } from "../realtime-status-D3oUx3o4.js";
4
- import { A as TriggerPayloadMode, C as TopicSubscribeOptions, D as TopicTriggerValue, E as TopicTriggerOptions, F as rowKeys, I as FanOutResult, L as TopicFanOutOptions, M as TriggerValue, N as defineTopic, O as TriggerLookup, P as rowChange, S as TopicSqlOptions, T as TopicTriggerLookup, _ as TopicHandlers, a as PresenceOutput, b as TopicPayload, c as RealtimeClient, d as SubscribeOptions, f as Subscription, g as TopicEvent, h as TopicBroadcast, i as PresenceOptions, j as TriggerTopic, k as TriggerOptions, l as RowChange, m as Topic, n as PresenceInput, o as PresenceSchema, p as SubscriptionStatus, r as PresenceMember, s as PresenceSubscription, t as EventSchemas, u as RowKeys, v as TopicMessage, w as TopicSubscription, x as TopicPermission, y as TopicOptions } from "../topic-BdTuoZRL.js";
5
- import { a as watchTopic, i as topicPort, n as TopicPort, r as TopicWatch, t as TopicHandle } from "../watch-topic-BjkFSiGe.js";
6
- import { S as relayTopicPort, _ as subjectPresenceValues, a as LiveSource, b as RelayEventSourceConstructor, c as liveCount, d as realtimeChanges, f as SUBJECT_PRESENCE_TEMPLATE, g as subjectPresenceTopic, h as subjectPresence, i as LiveQueryOptions, l as liveQuery, m as SubjectPresenceValues, n as LiveCountOptions, o as LiveSubscription, p as SubjectPresenceTopic, r as LiveCountSeed, s as RealtimeChangesOptions, t as CountRunner, u as liveTopic, v as RelayClientOptions, x as relayRealtimeClient, y as RelayEventSource } from "../index-DitpSLYH.js";
4
+ import { A as TriggerPayloadMode, C as TopicSubscribeOptions, D as TopicTriggerValue, E as TopicTriggerOptions, F as rowKeys, I as FanOutResult, L as TopicFanOutOptions, M as TriggerValue, N as defineTopic, O as TriggerLookup, P as rowChange, S as TopicSqlOptions, T as TopicTriggerLookup, _ as TopicHandlers, a as PresenceOutput, b as TopicPayload, c as RealtimeClient, d as SubscribeOptions, f as Subscription, g as TopicEvent, h as TopicBroadcast, i as PresenceOptions, j as TriggerTopic, k as TriggerOptions, l as RowChange, m as Topic, n as PresenceInput, o as PresenceSchema, p as SubscriptionStatus, r as PresenceMember, s as PresenceSubscription, t as EventSchemas, u as RowKeys, v as TopicMessage, w as TopicSubscription, x as TopicPermission, y as TopicOptions } from "../topic-vKeXr5Iq.js";
5
+ import { a as watchTopic, i as topicPort, n as TopicPort, r as TopicWatch, t as TopicHandle } from "../watch-topic-DBvJTKe6.js";
6
+ import { S as relayTopicPort, _ as subjectPresenceValues, a as LiveSource, b as RelayEventSourceConstructor, c as liveCount, d as realtimeChanges, f as SUBJECT_PRESENCE_TEMPLATE, g as subjectPresenceTopic, h as subjectPresence, i as LiveQueryOptions, l as liveQuery, m as SubjectPresenceValues, n as LiveCountOptions, o as LiveSubscription, p as SubjectPresenceTopic, r as LiveCountSeed, s as RealtimeChangesOptions, t as CountRunner, u as liveTopic, v as RelayClientOptions, x as relayRealtimeClient, y as RelayEventSource } from "../index-ljkv6cKx.js";
7
7
  import { n as subjectReaders, t as SubjectReadersOptions } from "../subject-readers-zsCxIZ_1.js";
8
8
  export { type AccessPolicySql, type AccessTopicPolicy, type CountRunner, type EventSchemas, type FanOutResult, type LiveCountOptions, type LiveCountSeed, type LiveQueryOptions, type LiveSource, type LiveSubscription, type PresenceInput, type PresenceMember, type PresenceOptions, type PresenceOutput, type PresenceSchema, type PresenceSubscription, type RealtimeChangesOptions, type RealtimeClient, type RealtimeStatus, type RelayClientOptions, type RelayEventSource, type RelayEventSourceConstructor, type RowChange, type RowKeys, SUBJECT_PRESENCE_TEMPLATE, type SubjectPresenceTopic, type SubjectPresenceValues, type SubjectReadersOptions, type SubscribeOptions, type Subscription, type SubscriptionStatus, type TemplateParams, type TemplateValues, type Topic, type TopicBroadcast, type TopicEvent, type TopicFanOutOptions, type TopicHandle, type TopicHandlers, type TopicMessage, type TopicOptions, type TopicPayload, type TopicPermission, type TopicPort, type TopicSqlOptions, type TopicSubscribeOptions, type TopicSubscription, type TopicTriggerLookup, type TopicTriggerOptions, type TopicTriggerValue, type TopicWatch, type TriggerLookup, type TriggerOptions, type TriggerPayloadMode, type TriggerTopic, type TriggerValue, defineTopic, liveCount, liveQuery, liveTopic, realtimeChanges, relayRealtimeClient, relayTopicPort, rowChange, rowKeys, subjectPresence, subjectPresenceTopic, subjectPresenceValues, subjectReaders, topicPort, watchTopic };
@@ -1,4 +1,4 @@
1
- import { G as EntitySchema, yn as FormFieldType } from "./define-block-DpnCxELV.js";
1
+ import { G as EntitySchema, yn as FormFieldType } from "./define-block-BNN4jNs1.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-D6ZUjfhv.js";
1
+ import { n as Controller, t as AuthPort } from "../controller-D4dnWk48.js";
2
2
  import { _ as MyWorkKind, a as RecordSummaryOptions, c as Subjects, i as RecordSummary, n as MyTask, r as MyWorkOptions } from "../subjects-Bnhj8AsZ.js";
3
3
  import { b as DbError, f as Result, t as AsyncResult } from "../result-aun_QZHn.js";
4
- import { p as SubscriptionStatus } from "../topic-BdTuoZRL.js";
5
- import { n as TopicPort } from "../watch-topic-BjkFSiGe.js";
4
+ import { p as SubscriptionStatus } from "../topic-vKeXr5Iq.js";
5
+ import { n as TopicPort } from "../watch-topic-DBvJTKe6.js";
6
6
  import { et as RecordRef } from "../types-Dizn1liT.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-DUDYFfnG.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-BoKhn-Ei.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-53Hzv9d9.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-DpnCxELV.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-BtBPT0Xd.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-BzwEUkAX.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-Do_tZhFZ.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-BNN4jNs1.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,15 +9,15 @@ import { C as SupportSession, D as supportClaims, E as sqlSupportStore, S as Sup
9
9
  import { Et as Events, ft as SupportEventData } from "../events-zz8DwtZi.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-Oe0WJTn2.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-Djh4bBdj.js";
12
+ import { i as decodeEntitlementClaim } from "../entitlements-CYnE3d6D.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-DwTCw_jZ.js";
14
- import { n as isTruncated, r as permissionsOf, t as PermissionsOfOptions } from "../permissions-CP5Cwz8h.js";
14
+ import { n as isTruncated, r as permissionsOf, t as PermissionsOfOptions } from "../permissions-DM2TO3IW.js";
15
15
  import { K as permissionCapOf } from "../types-DerSPnBG.js";
16
- import { n as ClaimsSource, t as ClaimsRecord } from "../claims-source-fUk4pR24.js";
16
+ import { n as ClaimsSource, t as ClaimsRecord } from "../claims-source-Cek93vyw.js";
17
17
  import { n as subjectReaders, t as SubjectReadersOptions } from "../subject-readers-zsCxIZ_1.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-7zo2arIZ.js";
20
- import { c as RealtimeClient } from "../topic-BdTuoZRL.js";
20
+ import { c as RealtimeClient } from "../topic-vKeXr5Iq.js";
21
21
  import { n as supportOf, t as SupportView } from "../support-view-CfyHFSq4.js";
22
22
  import { a as GuardEntryOptions, i as withBetterSupabase, n as BetterSupabaseContributions, o as withGuard, r as BetterSupabaseEntry, t as BetterSupabaseConfig } from "../composite-BInEW9vs.js";
23
23
  import { a as serverCore, i as ServerCore, n as SessionEntryOptions, r as withSession, t as AuthOutageHook } from "../session-DitGLCxF.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-B0T944J9.js";
1
+ import { d as defineAuthorizationHooks, f as SERVER_EVENT_SOURCE, n as extendServer, r as TENANT_HEADER, t as createServer } from "../server-DpcMKAt_.js";
2
2
  import { n as PRIMARY_COOKIE } from "../replicas-DiDz-zyr.js";
3
- import { t as adapterBase } from "../adapter-base-DXF0tNJJ.js";
3
+ import { t as adapterBase } from "../adapter-base-BWp_GpBq.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-w6xril_l.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-gpz09qAj.js";
21
+ import { t as provideConnectionRuntime } from "../define-runtime-full-BIrEQWJR.js";
22
22
  import { t as postgresExecutor } from "../executor-BWg7xw7c.js";
23
- import { n as withGuard, t as withBetterSupabase } from "../composite-C13UCNgm.js";
23
+ import { n as withGuard, t as withBetterSupabase } from "../composite-RorL_F8I.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,7 +4,7 @@ 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-DP8w5Nl0.js";
6
6
  import { s as requestMemo, t as bindAuthorizer } from "./authorizer-DtUCjKBn.js";
7
- import { t as provideConnectionRuntime } from "./define-runtime-full-gpz09qAj.js";
7
+ import { t as provideConnectionRuntime } from "./define-runtime-full-BIrEQWJR.js";
8
8
  import { n as dbError } from "./errors-DK1wGb9z.js";
9
9
  import { l as postgrestExecutor } from "./codec-CJaAdLjG.js";
10
10
  import { a as ok, r as err, t as AsyncResult } from "./result-DijoXEFG.js";
@@ -1,23 +1,23 @@
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-Dizn1liT.js";
3
3
  import { T as CookieScope, g as SessionSnapshot, r as AuthState } from "./resolve-Pn7KvQ23.js";
4
- import { Z as BlockClientSource, k as RecordBindingOptions } from "./define-block-DpnCxELV.js";
4
+ import { Z as BlockClientSource, k as RecordBindingOptions } from "./define-block-BNN4jNs1.js";
5
5
  import { an as StatsRecorder, ct as FunctionSpec, dt as QuerySpec, et as ReadSetResult, q as ReadSet } from "./db-blocks-BQkHb77X.js";
6
6
  import { n as AuthSession } from "./view-DwTCw_jZ.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-DUDYFfnG.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-BtBPT0Xd.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-Bax89ShV.js";
9
9
  import { c as SupportStartRequest } from "./support-8jVUURe-.js";
10
10
  import { t as AuthOutageHook } from "./session-DitGLCxF.js";
11
11
  import { r as GuardOptions } from "./respond-vxhdVf23.js";
12
12
  import { a as AuthorizedContext, c as ResourceLoaderContext, i as AuthorizeOptions, l as Unwrapped, n as ActionParsed, r as ActionResult, t as ActionInput } from "./kit-BwlTgitb.js";
13
13
  import { _ as ListSearchParams, u as ListParseOptions } from "./list-query-0IoIyFnQ.js";
14
- import { r as LiveCountSeed, t as CountRunner } from "./index-DitpSLYH.js";
14
+ import { r as LiveCountSeed, t as CountRunner } from "./index-ljkv6cKx.js";
15
15
  import { t as ResourceMap } from "./resources-B5k-hJW_.js";
16
16
  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-Dni-tX9B.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-C3z-ntLF.js";
20
- import { c as RecordListCells, n as Timeline, o as RecordList, u as RecordListPage } from "./timeline-BoKhn-Ei.js";
20
+ import { c as RecordListCells, n as Timeline, o as RecordList, u as RecordListPage } from "./timeline-BzwEUkAX.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-CfyHFSq4.js";
2
2
  import { n as AuthSession } from "../view-DwTCw_jZ.js";
3
- import { _ as LiveQueryHookOptions, a as DataRows, b as ProfileOf, c as DataWrites, d as ActionState, f as BroadcastOptions, g as LiveCountSource, h as LiveCountHookOptions, i as DataRow, l as ActionInputOf, m as ClientLike, n as DataId, o as DataSource, p as ClaimsOf, r as DataListOptions, s as DataState, t as fieldErrorsOf, u as ActionResultOf, v as PresenceHookOptions, x as UseActionOptions, y as PresenceTopic } from "../field-errors-DSEpFDCa.js";
4
- import { t as AuthSnapshot } from "../bind-CuRPlZYY.js";
3
+ import { _ as LiveQueryHookOptions, a as DataRows, b as ProfileOf, c as DataWrites, d as ActionState, f as BroadcastOptions, g as LiveCountSource, h as LiveCountHookOptions, i as DataRow, l as ActionInputOf, m as ClientLike, n as DataId, o as DataSource, p as ClaimsOf, r as DataListOptions, s as DataState, t as fieldErrorsOf, u as ActionResultOf, v as PresenceHookOptions, x as UseActionOptions, y as PresenceTopic } from "../field-errors-B88R19Ds.js";
4
+ import { t as AuthSnapshot } from "../bind-C9Bu9fgk.js";
5
5
  import { b as DbError } from "../result-aun_QZHn.js";
6
6
  import { dt as QuerySpec } from "../db-blocks-BQkHb77X.js";
7
- import { _ as TopicHandlers, m as Topic, p as SubscriptionStatus, r as PresenceMember, t as EventSchemas } from "../topic-BdTuoZRL.js";
7
+ import { _ as TopicHandlers, m as Topic, p as SubscriptionStatus, r as PresenceMember, t as EventSchemas } from "../topic-vKeXr5Iq.js";
8
8
  import { tt as TemplateValues } from "../bucket-BJ03ZblY.js";
9
9
  import { a as BlockQueryActions, c as BlockRefetchOn, i as BlockMutationState, n as BlockEventSource, o as BlockQueryOptions, r as BlockMutationActions, s as BlockQueryState, t as BlockEngineOptions } from "../block-controller-Dy-Jyy8A.js";
10
- import { n as Controller } from "../controller-D6ZUjfhv.js";
10
+ import { n as Controller } from "../controller-D4dnWk48.js";
11
11
  import { n as BlockDataOf, r as BlockMethodName, t as BlockArgsOf } from "../block-method-OJA4a62H.js";
12
12
  import { Ct as EventMap, E as BlockEventPattern, Et as Events, O as BlockEventsMatching, w as BlockEvent } from "../events-zz8DwtZi.js";
13
- import { n as BlockOptions } from "../block-env-hdFBj6FQ.js";
13
+ import { n as BlockOptions } from "../block-env-B0azWULB.js";
14
14
  import { SupabaseClient } from "@supabase/supabase-js";
15
15
  import { QueryClient } from "@tanstack/query-core";
16
16
  import { 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-DXF0tNJJ.js";
3
+ import { t as adapterBase } from "../adapter-base-BWp_GpBq.js";
4
4
  import { p as flushEvents } from "../sessions-w6xril_l.js";
5
- import { i as localsOf, r as frameworkEntry } from "../framework-BQgHM3zD.js";
5
+ import { i as localsOf, r as frameworkEntry } from "../framework-DxCx0pmS.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-B0T944J9.js";
8
+ import { n as extendServer, t as createServer } from "../server-DpcMKAt_.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-DhCLHpIU.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-Vd4JkaqJ.js";
1
+ import { a as toOpenApi30Schema, n as openapiFormat, o as defineDocumentFormat, r as OPENAPI_33_PREVIEW_VERSION, t as defineApi } from "../api-DW835Q-a.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-C4utCr_F.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";
@@ -1755,8 +1755,8 @@ function resolveReference(overlay, entry, pointer, reporter) {
1755
1755
  };
1756
1756
  }
1757
1757
  function resolve(document, segments) {
1758
- let parent = void 0;
1759
- let key = void 0;
1758
+ let parent;
1759
+ let key;
1760
1760
  let value = document;
1761
1761
  for (const segment of segments) {
1762
1762
  parent = value;
@@ -1,7 +1,7 @@
1
- import { C as BlockOptionsRegistry, S as BLOCK_OPTION_SCHEMAS, b as resolveBlock } from "../blocks-C2F_SycJ.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-DtyeoCvj.js";
1
+ import { C as BlockOptionsRegistry, S as BLOCK_OPTION_SCHEMAS, b as resolveBlock } from "../blocks-DuL-Ds3g.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-CoxeOKXg.js";
3
3
  import { a as BlockSqlEmit, i as BlockSqlAudit, n as AuditCategory, r as BlockSqlAction, t as AUDIT_CATEGORIES } from "../audit-actions-be1sy-Vh.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-DVmqH-jI.js";
5
- import { n as BlockTables, r as blockTables, t as BlockTable } from "../block-tables-1XNfpOPP.js";
6
- import { a as appTableEventTypes } from "../app-tables-Br5Khxij.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-BH0TBQjQ.js";
5
+ import { n as BlockTables, r as blockTables, t as BlockTable } from "../block-tables-BYfcmfA5.js";
6
+ import { a as appTableEventTypes } from "../app-tables-Bfqe58WR.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
- import { B as resolveBlock, T as hasColumnAccess, h as appTableEventTypes } from "../instances-PZAWgQEX.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-DPpcMNUF.js";
1
+ import { B as resolveBlock, T as hasColumnAccess, h as appTableEventTypes } from "../instances-B9oCgEOH.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-DLM5qTve.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-Ba-C1ueE.js";