better-supabase 0.36.0 → 0.38.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 (366) hide show
  1. package/dist/{ai-schedules-BZPmySUa.d.ts → ai-schedules-ChJkI2jo.d.ts} +1 -1
  2. package/dist/ai-sdk/agents/index.d.ts +2 -2
  3. package/dist/ai-sdk/batches/index.d.ts +1 -1
  4. package/dist/ai-sdk/index.d.ts +1 -1
  5. package/dist/ai-sdk/mcp/index.d.ts +3 -3
  6. package/dist/{api-XEaCJbgv.d.ts → api-CbY2qdzT.d.ts} +3 -3
  7. package/dist/{api-keys-C82fMru4.d.ts → api-keys-BncNDlWG.d.ts} +1 -1
  8. package/dist/{app-tables-C0XVpQEJ.d.ts → app-tables-D2c0i05-.d.ts} +1 -1
  9. package/dist/{approvals-DqCv7f-G.d.ts → approvals-CXW3yFWZ.d.ts} +1 -1
  10. package/dist/astro/index.d.ts +5 -5
  11. package/dist/{authorization-2Rv1AJQJ.d.ts → authorization-D8CaAdqU.d.ts} +48 -20
  12. package/dist/{authorization-hooks-C0GfMvFm.d.ts → authorization-hooks-CR8TVvqo.d.ts} +1 -1
  13. package/dist/better-result/index.d.ts +2 -2
  14. package/dist/{bind-C2XvMlfg.d.ts → bind-5vOwNouG.d.ts} +4 -4
  15. package/dist/{block-env-BQrtLPyc.d.ts → block-env-hco8BLjC.d.ts} +4 -4
  16. package/dist/block-subjects-CINiJW1R.js +253 -0
  17. package/dist/{block-tables-DPOgnT3y.d.ts → block-tables-BsgdB6VG.d.ts} +1 -1
  18. package/dist/blocks/access-requests/index.d.ts +2 -2
  19. package/dist/blocks/activities/index.d.ts +3 -3
  20. package/dist/blocks/agents/index.d.ts +2 -2
  21. package/dist/blocks/ai-cache/index.d.ts +1 -1
  22. package/dist/blocks/ai-chat/index.d.ts +5 -5
  23. package/dist/blocks/ai-files/index.d.ts +1 -1
  24. package/dist/blocks/ai-keys/index.d.ts +3 -3
  25. package/dist/blocks/ai-schedules/index.d.ts +2 -2
  26. package/dist/blocks/announcements/index.d.ts +5 -5
  27. package/dist/blocks/api-keys/index.d.ts +2 -2
  28. package/dist/blocks/approvals/index.d.ts +3 -3
  29. package/dist/blocks/assets/index.d.ts +2 -2
  30. package/dist/blocks/assignment/index.d.ts +3 -3
  31. package/dist/blocks/attachments/index.d.ts +3 -3
  32. package/dist/blocks/audit/index.d.ts +7 -7
  33. package/dist/blocks/automations/index.d.ts +5 -5
  34. package/dist/blocks/billable-time/index.d.ts +2 -2
  35. package/dist/blocks/billing/index.d.ts +5 -5
  36. package/dist/blocks/bookings/index.d.ts +3 -3
  37. package/dist/blocks/bulk/index.d.ts +2 -2
  38. package/dist/blocks/calendar/index.d.ts +3 -3
  39. package/dist/blocks/catalog/index.d.ts +26 -3
  40. package/dist/blocks/catalog/index.js +41 -2
  41. package/dist/blocks/channels/index.d.ts +3 -3
  42. package/dist/blocks/collections/index.d.ts +3 -3
  43. package/dist/blocks/comments/index.d.ts +5 -5
  44. package/dist/blocks/compliance/index.d.ts +2 -2
  45. package/dist/blocks/connectors/index.d.ts +3 -3
  46. package/dist/blocks/contacts/index.d.ts +3 -3
  47. package/dist/blocks/content/index.d.ts +2 -2
  48. package/dist/blocks/contracts/index.d.ts +2 -2
  49. package/dist/blocks/courses/index.d.ts +2 -2
  50. package/dist/blocks/created-by/index.d.ts +1 -1
  51. package/dist/blocks/custom-fields/index.d.ts +2 -2
  52. package/dist/blocks/data-lifecycle/index.d.ts +4 -4
  53. package/dist/blocks/deals/index.d.ts +3 -3
  54. package/dist/blocks/dispatch/index.d.ts +2 -2
  55. package/dist/blocks/documents/index.d.ts +2 -2
  56. package/dist/blocks/domains/index.d.ts +2 -2
  57. package/dist/blocks/donations/index.d.ts +2 -2
  58. package/dist/blocks/drive/index.d.ts +3 -3
  59. package/dist/blocks/employees/index.d.ts +4 -4
  60. package/dist/blocks/enrichment/index.d.ts +3 -3
  61. package/dist/blocks/enrollments/index.d.ts +2 -2
  62. package/dist/blocks/entitlements/index.d.ts +3 -3
  63. package/dist/blocks/expenses/index.d.ts +4 -2
  64. package/dist/blocks/expenses/index.js +10 -3
  65. package/dist/blocks/field-history/index.d.ts +1 -1
  66. package/dist/blocks/flags/index.d.ts +2 -2
  67. package/dist/blocks/forecasts/index.d.ts +3 -3
  68. package/dist/blocks/forms/index.d.ts +3 -3
  69. package/dist/blocks/goals/index.d.ts +1 -1
  70. package/dist/blocks/guests/index.d.ts +2 -2
  71. package/dist/blocks/hiring/index.d.ts +3 -3
  72. package/dist/blocks/identities/index.d.ts +2 -2
  73. package/dist/blocks/imports/index.d.ts +2 -2
  74. package/dist/blocks/inbox/index.d.ts +6 -6
  75. package/dist/blocks/incidents/index.d.ts +2 -2
  76. package/dist/blocks/index.d.ts +4 -4
  77. package/dist/blocks/inventory/index.d.ts +171 -10
  78. package/dist/blocks/inventory/index.js +206 -13
  79. package/dist/blocks/invoices/index.d.ts +18 -4
  80. package/dist/blocks/invoices/index.js +13 -0
  81. package/dist/blocks/knowledge/index.d.ts +1 -1
  82. package/dist/blocks/lead-scoring/index.d.ts +1 -1
  83. package/dist/blocks/leases/index.d.ts +2 -2
  84. package/dist/blocks/leave/index.d.ts +2 -2
  85. package/dist/blocks/leave/index.js +1 -1
  86. package/dist/blocks/ledger/index.d.ts +2 -2
  87. package/dist/blocks/mail-sync/index.d.ts +3 -3
  88. package/dist/blocks/memberships/index.d.ts +1 -1
  89. package/dist/blocks/memory/index.d.ts +1 -1
  90. package/dist/blocks/messaging/index.d.ts +7 -7
  91. package/dist/blocks/metrics/index.d.ts +2 -2
  92. package/dist/blocks/mfa/index.d.ts +2 -2
  93. package/dist/blocks/moderation/index.d.ts +2 -2
  94. package/dist/blocks/notifications/index.d.ts +7 -7
  95. package/dist/blocks/numbering/index.d.ts +2 -2
  96. package/dist/blocks/oauth-server/index.d.ts +2 -2
  97. package/dist/blocks/onboarding/index.d.ts +2 -2
  98. package/dist/blocks/orders/index.d.ts +80 -13
  99. package/dist/blocks/orders/index.js +63 -4
  100. package/dist/blocks/organizations/index.d.ts +4 -4
  101. package/dist/blocks/outbox/index.d.ts +2 -2
  102. package/dist/blocks/passes/index.d.ts +2 -2
  103. package/dist/blocks/permissions/index.d.ts +3 -3
  104. package/dist/blocks/pipelines/index.d.ts +3 -3
  105. package/dist/blocks/posts/index.d.ts +2 -2
  106. package/dist/blocks/profiles/index.d.ts +1 -1
  107. package/dist/blocks/promotions/index.d.ts +3 -3
  108. package/dist/blocks/promotions/index.js +1 -1
  109. package/dist/blocks/push/index.d.ts +3 -3
  110. package/dist/blocks/queue/index.d.ts +1 -1
  111. package/dist/blocks/quotes/index.d.ts +3 -3
  112. package/dist/blocks/rank/index.d.ts +1 -1
  113. package/dist/blocks/reactions/index.d.ts +5 -5
  114. package/dist/blocks/relations/index.d.ts +2 -2
  115. package/dist/blocks/reminders/index.d.ts +3 -3
  116. package/dist/blocks/reviews/index.d.ts +2 -2
  117. package/dist/blocks/saved-views/index.d.ts +4 -4
  118. package/dist/blocks/scores/index.d.ts +2 -2
  119. package/dist/blocks/search/index.d.ts +4 -4
  120. package/dist/blocks/security-events/index.d.ts +3 -3
  121. package/dist/blocks/segments/index.d.ts +3 -3
  122. package/dist/blocks/sequences/index.d.ts +2 -2
  123. package/dist/blocks/service-accounts/index.d.ts +2 -2
  124. package/dist/blocks/sessions/index.d.ts +2 -2
  125. package/dist/blocks/settings/index.d.ts +3 -3
  126. package/dist/blocks/share-links/index.d.ts +2 -2
  127. package/dist/blocks/shipments/index.d.ts +73 -4
  128. package/dist/blocks/shipments/index.js +57 -4
  129. package/dist/blocks/signatures/index.d.ts +2 -2
  130. package/dist/blocks/signing-keys/index.d.ts +2 -2
  131. package/dist/blocks/sla/index.d.ts +3 -3
  132. package/dist/blocks/sso/index.d.ts +3 -3
  133. package/dist/blocks/state-machine/index.d.ts +9 -2
  134. package/dist/blocks/state-machine/index.js +2 -0
  135. package/dist/blocks/subjects/index.d.ts +2 -2
  136. package/dist/blocks/tags/index.d.ts +3 -3
  137. package/dist/blocks/tasks/index.d.ts +5 -5
  138. package/dist/blocks/teams/index.d.ts +2 -2
  139. package/dist/blocks/templates/index.d.ts +122 -9
  140. package/dist/blocks/templates/index.js +157 -7
  141. package/dist/blocks/time-tracking/index.d.ts +3 -3
  142. package/dist/blocks/timeline/index.d.ts +9 -7
  143. package/dist/blocks/timeline/index.js +3 -1
  144. package/dist/blocks/trash/index.d.ts +2 -2
  145. package/dist/blocks/undo/index.d.ts +2 -2
  146. package/dist/blocks/updated-at/index.d.ts +1 -1
  147. package/dist/blocks/usage/index.d.ts +2 -2
  148. package/dist/blocks/vercel-marketplace/index.d.ts +2 -2
  149. package/dist/blocks/versions/index.d.ts +2 -2
  150. package/dist/blocks/waitlist/index.d.ts +2 -2
  151. package/dist/blocks/webhooks/index.d.ts +6 -6
  152. package/dist/blocks/workflow-editor/index.d.ts +7 -7
  153. package/dist/blocks/workflows/index.d.ts +5 -5
  154. package/dist/{carrier-D2b_028L.d.ts → carrier-B2eytEjR.d.ts} +10 -1
  155. package/dist/chat-sdk/index.d.ts +2 -2
  156. package/dist/claims/index.d.ts +5 -5
  157. package/dist/cli/{add-Duf1-19E.js → add-7nCSDmpt.js} +11 -11
  158. package/dist/cli/{add-D2CH8t_B.js → add-B4tQpnXP.js} +2 -2
  159. package/dist/cli/add-CdDneXMN.js +1 -0
  160. package/dist/cli/{app-table-files-ha8X0rRE.js → app-table-files-CtO-zxpO.js} +2 -2
  161. package/dist/cli/{app-tables-BIyQcsHH.js → app-tables-B7UzcJ_g.js} +2 -2
  162. package/dist/cli/{backfill-CLgA6-ll.js → backfill-B2nFDXaS.js} +2 -2
  163. package/dist/cli/bin.js +1 -1
  164. package/dist/cli/{blocks-9AeouX4h.js → blocks-BX_6HUQT.js} +2 -2
  165. package/dist/cli/{blocks-BVB1fMMj.js → blocks-DU4iDrYS.js} +1 -1
  166. package/dist/cli/{cache-aMk9vF1_.js → cache-bS5bAoF-.js} +1 -1
  167. package/dist/cli/{codemod-B5wrcnF2.js → codemod-B1sSIE2p.js} +88 -62
  168. package/dist/cli/{command-DM_x_yzZ.js → command-67WobzTC.js} +7 -1
  169. package/dist/cli/{completion-DbYb3N8e.js → completion-C3nMZgUZ.js} +2 -2
  170. package/dist/cli/{completion-CusuUJNn.js → completion-DSrus7H1.js} +1 -1
  171. package/dist/cli/{completion-Cx2UYd-y.js → completion-Dm0S3ub0.js} +2 -2
  172. package/dist/cli/{config-BeuImpav.js → config-cbK-wiNs.js} +1 -1
  173. package/dist/cli/{content-mapper-CEtdbshU.js → content-mapper-CW6V6VRq.js} +2 -2
  174. package/dist/cli/{db-CeiQzhPq.js → db-bK5eCLaE.js} +1 -1
  175. package/dist/cli/{doctor-DaOUWfRN.js → doctor-Dw2pAf1b.js} +16 -16
  176. package/dist/cli/env-AFfMXxWw.js +1 -0
  177. package/dist/cli/{env-DVV10l_r.js → env-CCT-dMFm.js} +1 -1
  178. package/dist/cli/{gen-BO-2NF-G.js → gen-BtoSx3go.js} +14 -14
  179. package/dist/cli/index.d.ts +1 -1
  180. package/dist/cli/index.js +7 -7
  181. package/dist/cli/{init-Xit9Hnbb.js → init-DZXbrKuJ.js} +9 -9
  182. package/dist/cli/{keys-DJTN2Avl.js → keys-Dj5sJNj7.js} +1 -1
  183. package/dist/cli/{live-CuMpyRjF.js → live-CDFfJcdR.js} +2 -2
  184. package/dist/cli/{mcp-C7d4j5cq.js → mcp-BukxvITV.js} +3 -3
  185. package/dist/cli/{metadata-D2YvkY2D.js → metadata-iZizGVuY.js} +3 -3
  186. package/dist/cli/{migrate-BCXxyTKt.js → migrate-DPnnGLzw.js} +2 -2
  187. package/dist/cli/{migration-safety-DfwTOBQ4.js → migration-safety-COcnZbMO.js} +1 -1
  188. package/dist/cli/{migrations-nomh4TBo.js → migrations-BBt9fmiV.js} +2 -2
  189. package/dist/cli/{module-migration--9T_T-zt.js → module-migration-tCmPLhQp.js} +2 -2
  190. package/dist/cli/{moved-CT6i1csY.js → moved-CY0yDtAr.js} +1 -1
  191. package/dist/cli/{parse-qgJylE_A.js → parse-yAC-NFMq.js} +1 -1
  192. package/dist/cli/{powersync-DB9WZsIv.js → powersync-BRmUJ-uR.js} +4 -4
  193. package/dist/cli/powersync-CYLPcJ9G.js +1 -0
  194. package/dist/cli/{print-S6IF5rZm.js → print-DdwQNG_e.js} +2 -2
  195. package/dist/cli/{providers-BDTcal71.js → providers-CaNg6Ayz.js} +1 -1
  196. package/dist/cli/{prune-workflows-Zr2DjByi.js → prune-workflows-BQQrI3tU.js} +2 -2
  197. package/dist/cli/{remove-CPX5Tg5s.js → remove-BEj9YEON.js} +6 -6
  198. package/dist/cli/{render-Bp7a7XQ9.js → render-UBqU9r44.js} +3 -3
  199. package/dist/cli/{run-BclCFEyP.js → run-3E_IuJzS.js} +9 -9
  200. package/dist/cli/{run-kgG50x_Z.js → run-BXlX9YdD.js} +44 -43
  201. package/dist/cli/{run-BlVaLnt_.js → run-DX4X7xqV.js} +2 -2
  202. package/dist/cli/seed-CLlvrV8I.js +1 -0
  203. package/dist/cli/{seed-Cn2R91cd.js → seed-DSC6f0oh.js} +1 -1
  204. package/dist/cli/{shared-D60W9NS-.js → shared-agrqD28l.js} +1 -1
  205. package/dist/cli/{skills-DH-yPDny.js → skills-B5p6bDwe.js} +1 -1
  206. package/dist/cli/{snapshot-C3_eQUgY.js → snapshot-DOXmozSq.js} +2 -2
  207. package/dist/cli/{source-Bk6XwIAK.js → source-BfJprU-6.js} +1 -1
  208. package/dist/cli/{spec-BDTpcBns.js → spec-CgtIHFsl.js} +1 -1
  209. package/dist/cli/{spec-C8ydQwZC.js → spec-DRpSQGOW.js} +3 -3
  210. package/dist/cli/{sql-layout-DVQ20UMi.js → sql-layout-Cs3FMWcY.js} +2 -2
  211. package/dist/cli/{stack-CmhSfY5V.js → stack-CQXLe5j0.js} +1 -1
  212. package/dist/cli/{sync-D-WO4Yvl.js → sync-C_YGIDjk.js} +4 -4
  213. package/dist/cli/{table-k5OABwy3.js → table-BIQA9Hdt.js} +1 -1
  214. package/dist/cli/{upgrade-DGe5Pv6v.js → upgrade-ByQeJRGU.js} +5 -5
  215. package/dist/cli/{upgrade-XdhMuHAu.js → upgrade-OG9vaBeX.js} +3 -3
  216. package/dist/cli/{version-DKfeme2I.js → version-CF6Yzah0.js} +1 -1
  217. package/dist/client/index.d.ts +5 -5
  218. package/dist/client/native/index.d.ts +4 -4
  219. package/dist/{cloud-event-BEmAUdl1.d.ts → cloud-event-BjgxkfJJ.d.ts} +1 -1
  220. package/dist/{codecs-B9v5Y5HH.js → codecs-D_pOvjvD.js} +1 -0
  221. package/dist/{codecs-B1VO2BGL.d.ts → codecs-DaP45ETv.d.ts} +1 -1
  222. package/dist/{composite-B-oAH16L.d.ts → composite-DPN4SFud.d.ts} +6 -6
  223. package/dist/config/index.d.ts +2 -2
  224. package/dist/config/index.js +4 -4
  225. package/dist/{config-BrRlSxhx.js → config-1-UmQczM.js} +1 -1
  226. package/dist/{config-BKxjItQ-.js → config-AEB5iNEO.js} +4 -123
  227. package/dist/{connectors-CrLRW4Ol.d.ts → connectors-DDsdz-cn.d.ts} +1 -1
  228. package/dist/{context-yfOlyAqb.d.ts → context-CH5FYnVk.d.ts} +2 -2
  229. package/dist/contract/index.d.ts +8 -8
  230. package/dist/{controller-CAcLEndc.d.ts → controller-CJ6rLnpS.d.ts} +1 -1
  231. package/dist/{conversion-s1NtB6S-.d.ts → conversion-CLBBITW5.d.ts} +1 -1
  232. package/dist/create/index.d.ts +3 -3
  233. package/dist/create/index.js +3 -3
  234. package/dist/create/lite/index.d.ts +3 -3
  235. package/dist/create/lite/index.js +2 -2
  236. package/dist/credentials/index.d.ts +3 -3
  237. package/dist/{define-BvkaC3Oh.d.ts → define-C_He1bQO.d.ts} +1 -1
  238. package/dist/{define-block-Ds3aLZwz.d.ts → define-block-CDw9YGVh.d.ts} +4 -4
  239. package/dist/edge/index.d.ts +8 -8
  240. package/dist/elysia/index.d.ts +1 -1
  241. package/dist/{ended-iq2wp8fc.d.ts → ended-BwpmNC5k.d.ts} +1 -1
  242. package/dist/{entitlements-Dhu-4vlH.d.ts → entitlements-6gODwBSz.d.ts} +2 -2
  243. package/dist/eve/index.d.ts +3 -3
  244. package/dist/events/index.d.ts +3 -3
  245. package/dist/{events-DCw3c6pj.d.ts → events-DddDlibJ.d.ts} +8 -0
  246. package/dist/{executor-H8ZLkeHj.d.ts → executor-CxMHiDp_.d.ts} +2 -2
  247. package/dist/{executor-B-o7QMPp.d.ts → executor-uNDJBzT8.d.ts} +1 -1
  248. package/dist/expo/index.d.ts +3 -3
  249. package/dist/{field-errors-DXZk9Qjt.d.ts → field-errors-CdSjV9Zo.d.ts} +7 -7
  250. package/dist/flags-sdk/index.d.ts +1 -1
  251. package/dist/{framework-Byr_j8G-.d.ts → framework-B6JAPr1i.d.ts} +7 -7
  252. package/dist/h3/index.d.ts +1 -1
  253. package/dist/h3/v1/index.d.ts +1 -1
  254. package/dist/hono/index.d.ts +8 -8
  255. package/dist/{index-lMApFSAd.d.ts → index-B5awu2SP.d.ts} +3 -3
  256. package/dist/{index-CnzGRpeH.d.ts → index-BgRl484n.d.ts} +5 -5
  257. package/dist/{index-6H-8Ib1w.d.ts → index-CgKieWlO.d.ts} +3 -3
  258. package/dist/{index-kkZwp5M1.d.ts → index-CrOeAgSh.d.ts} +4 -4
  259. package/dist/{index-Ag-T51Jl.d.ts → index-CvLTqmdq.d.ts} +1 -1
  260. package/dist/{index-Dbd1E5Au.d.ts → index-DAS_5OfK.d.ts} +3 -3
  261. package/dist/{index-CY612vAg.d.ts → index-DjJUamhw.d.ts} +2 -2
  262. package/dist/{index-Dv6lfL5p.d.ts → index-DnEJVKQ2.d.ts} +11 -11
  263. package/dist/{index-BUluRi0b.d.ts → index-DzLLMmUB.d.ts} +5 -5
  264. package/dist/{index-C78VPlXW.d.ts → index-vkd2LTt2.d.ts} +1 -1
  265. package/dist/index.d.ts +2 -2
  266. package/dist/{instances-xQ2lupVE.js → instances-Bycf_aus.js} +86 -7
  267. package/dist/{kit-DCuO1ZhB.d.ts → kit-lHFpu2_1.d.ts} +3 -3
  268. package/dist/list/index.d.ts +1 -1
  269. package/dist/{list-query-D1h3Dmnk.d.ts → list-query-BkbLV-Yc.d.ts} +1 -1
  270. package/dist/mapper/bin.js +5 -5
  271. package/dist/mcp/index.d.ts +3 -3
  272. package/dist/mcp/sdk/index.d.ts +5 -5
  273. package/dist/nestjs/index.d.ts +2 -2
  274. package/dist/next/client/index.d.ts +1 -1
  275. package/dist/next/index.d.ts +22 -22
  276. package/dist/node/index.d.ts +2 -2
  277. package/dist/{operations-SWpzGC_K.d.ts → operations-knMnfzgm.d.ts} +1 -1
  278. package/dist/{options-DqmTs2nv.js → options-CEwoGUk_.js} +2 -1
  279. package/dist/{options-yRwYr4up.js → options-CGQC7Wue.js} +4 -1
  280. package/dist/{options-RYbyaVhv.js → options-CS1DA8q9.js} +1 -0
  281. package/dist/{options-ScQ6Hnxo.js → options-zsLpIqBA.js} +2 -1
  282. package/dist/orpc/index.d.ts +7 -7
  283. package/dist/otel/index.d.ts +1 -1
  284. package/dist/otel/index.js +4 -4
  285. package/dist/{outbox-BFZS6Kvz.d.ts → outbox-DikdzUKf.d.ts} +2 -2
  286. package/dist/{permissions-2UlVQDzY.d.ts → permissions-Ed8WvLgQ.d.ts} +1 -1
  287. package/dist/{pool-yO-LzZAd.d.ts → pool-BJAjQcrJ.d.ts} +1 -1
  288. package/dist/{ports-prqYrReN.d.ts → ports-Bnwy2mlR.d.ts} +1 -1
  289. package/dist/postgres/index.d.ts +1 -1
  290. package/dist/powersync/index.d.ts +3 -3
  291. package/dist/preset/index.d.ts +3 -3
  292. package/dist/preset/index.js +3 -3
  293. package/dist/{preset-BvHNleCo.js → preset-DkeXFh7e.js} +2 -2
  294. package/dist/{project-CBvowdKY.js → project-By0R8ioI.js} +5 -5
  295. package/dist/{provider-bIAzxVMB.d.ts → provider-CVlXXbda.d.ts} +1 -1
  296. package/dist/{push-token-DtqJeg8w.d.ts → push-token-CJbEvwjI.d.ts} +1 -1
  297. package/dist/query/index.d.ts +1 -1
  298. package/dist/react/index.d.ts +8 -8
  299. package/dist/react/native/index.d.ts +1 -1
  300. package/dist/react/server.d.ts +9 -9
  301. package/dist/react/session.d.ts +1 -1
  302. package/dist/react-router/index.d.ts +5 -5
  303. package/dist/realtime/index.d.ts +4 -4
  304. package/dist/{record-form-BQA-lawE.d.ts → record-form-C-gIxGXe.d.ts} +1 -1
  305. package/dist/records/index.d.ts +7 -7
  306. package/dist/{refusal-BX1EvmpJ.d.ts → refusal-CjUUBfhY.d.ts} +2 -2
  307. package/dist/{resolve-BIpQRhvF.d.ts → resolve-XlMQRUeG.d.ts} +1 -1
  308. package/dist/{resource-execute-A1NbR-sd.d.ts → resource-execute-B7-QaS6R.d.ts} +1 -1
  309. package/dist/{resource-types-CTcc37WL.d.ts → resource-types-CF3Uc6OW.d.ts} +2 -2
  310. package/dist/{resources-13ZFX1G6.d.ts → resources-DnHSmJIM.d.ts} +1 -1
  311. package/dist/{respond-CAxhkwAi.d.ts → respond-D7kUatjc.d.ts} +1 -1
  312. package/dist/server/index.d.ts +21 -21
  313. package/dist/{server-types-DEjva0MW.d.ts → server-types-DpI82uNq.d.ts} +8 -8
  314. package/dist/{session-CeYL3EPm.d.ts → session-JV1z0kxa.d.ts} +2 -2
  315. package/dist/{session-BA0YDmjt.d.ts → session-s-mUZ8RQ.d.ts} +5 -5
  316. package/dist/{session-status-Df6tuKY9.d.ts → session-status-CJjTuFtA.d.ts} +2 -2
  317. package/dist/{sign-in-4u4vLtXG.d.ts → sign-in-D5Bg7R47.d.ts} +1 -1
  318. package/dist/solid/index.d.ts +9 -9
  319. package/dist/solid-start/index.d.ts +5 -5
  320. package/dist/spec/index.d.ts +1 -1
  321. package/dist/sql/index.d.ts +5 -5
  322. package/dist/sql/index.js +3 -3
  323. package/dist/{sql-BChN3Hxv.js → sql-B2cMvGnZ.js} +4207 -756
  324. package/dist/sqlite/index.d.ts +1 -1
  325. package/dist/ssr/index.d.ts +4 -4
  326. package/dist/{statuses-BTrQ5H4S.js → statuses-Qqpzda35.js} +12 -1
  327. package/dist/stock-detail-BMqvwq1q.js +12 -0
  328. package/dist/stock-detail-BRIt7CjU.d.ts +19 -0
  329. package/dist/{subject-readers-YL8H9G8X.d.ts → subject-readers-D1Km_Q42.d.ts} +1 -1
  330. package/dist/{support-BwtMgjVg.d.ts → support-Dj5V2WTs.d.ts} +4 -4
  331. package/dist/{support-view-GykHOIQ2.d.ts → support-view-DKZkZeM5.d.ts} +1 -1
  332. package/dist/svelte/index.d.ts +8 -8
  333. package/dist/sveltekit/index.d.ts +6 -6
  334. package/dist/{tags-CAfvzA1U.d.ts → tags-BihwKkTT.d.ts} +1 -1
  335. package/dist/tanstack-db/index.d.ts +1 -1
  336. package/dist/tanstack-start/index.d.ts +5 -5
  337. package/dist/{tenant-lBgoqg9T.d.ts → tenant-eZNRWTRJ.d.ts} +1 -1
  338. package/dist/testing/index.d.ts +17 -17
  339. package/dist/testing/index.js +2 -2
  340. package/dist/{timeline-CrO48Qa6.d.ts → timeline-c6I3uxya.d.ts} +3 -3
  341. package/dist/{topic-x-mrN_Ff.d.ts → topic-D7F2FBNp.d.ts} +3 -3
  342. package/dist/{types-auvHrNWC.d.ts → types-BXLiM6VM.d.ts} +1 -1
  343. package/dist/{types-C9XfFGmA.d.ts → types-DtiDatvu.d.ts} +2 -2
  344. package/dist/{types-CJqNGQKb.d.ts → types-bqvFoBhf.d.ts} +2 -2
  345. package/dist/{vault-DjbG4XQS.d.ts → vault-CbhvnoVC.d.ts} +1 -1
  346. package/dist/vercel-connect/index.d.ts +1 -1
  347. package/dist/vercel-sandbox/index.d.ts +1 -1
  348. package/dist/{verify-HOiu3lRR.d.ts → verify-Cpc1upDA.d.ts} +1 -1
  349. package/dist/{view-DdDY88SC.d.ts → view-eHgOOyRS.d.ts} +1 -1
  350. package/dist/vue/index.d.ts +9 -9
  351. package/dist/{watch-topic-D6bcqOrJ.d.ts → watch-topic-BIEaSN0Y.d.ts} +1 -1
  352. package/dist/workflow-sdk/builder/index.d.ts +3 -3
  353. package/dist/workflow-sdk/index.d.ts +1 -1
  354. package/dist/workflow-sdk/world/index.d.ts +1 -1
  355. package/dist/workflow-sdk/world/index.js +1 -1
  356. package/dist/{workflow-sdk-CBS8L2Ku.js → workflow-sdk-6psRpDIo.js} +2 -50
  357. package/dist/{workflow-sdk-D3H10W5h.d.ts → workflow-sdk-CUt0E4v6.d.ts} +1 -1
  358. package/dist/yjs/index.d.ts +1 -1
  359. package/package.json +1 -1
  360. package/schemas/config-v1.json +15 -0
  361. package/skills/better-supabase-auth/SKILL.md +1 -1
  362. package/dist/cli/add-De73Ghlh.js +0 -1
  363. package/dist/cli/env-BfWbheiC.js +0 -1
  364. package/dist/cli/powersync-IBM_v_eJ.js +0 -1
  365. package/dist/cli/seed-DGGjReq4.js +0 -1
  366. package/dist/resolved-names-b6P2--jK.js +0 -130
@@ -1,31 +1,31 @@
1
1
  import { b as DbError, f as Result } from "../result-DTOQRyGY.js";
2
2
  import { O as AnyFunctions, Ut as AnyAuthorizer, et as RecordRef, k as AnyModels, nn as AuthzVersionCache, rn as PermissionRef } from "../types-BzIYSSWK.js";
3
- import { C as CookieScope, _ as issuedAtOf, g as isSessionSnapshot, h as authzVersionOf, m as SessionSnapshot, r as AuthState, v as sessionCacheKey } from "../resolve-BIpQRhvF.js";
4
- import { Qt as CacheAdapter, Y as DbStats, mt as QuerySpec, nt as ReadSet, t as BetterSupabase } from "../define-BvkaC3Oh.js";
3
+ import { C as CookieScope, _ as issuedAtOf, g as isSessionSnapshot, h as authzVersionOf, m as SessionSnapshot, r as AuthState, v as sessionCacheKey } from "../resolve-XlMQRUeG.js";
4
+ import { Qt as CacheAdapter, Y as DbStats, mt as QuerySpec, nt as ReadSet, t as BetterSupabase } from "../define-C_He1bQO.js";
5
5
  import { n as Impersonator } from "../impersonation-BOCJcsmS.js";
6
6
  import { n as AmrEntry, t as Aal } from "../mfa-CM5r904M.js";
7
- import { S as BlockClientSource, on as RecordBindingOptions } from "../define-block-Ds3aLZwz.js";
8
- 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-Dbd1E5Au.js";
9
- import { r as MembershipClaim } from "../entitlements-Dhu-4vlH.js";
10
- import { t as tenantOf } from "../tenant-lBgoqg9T.js";
11
- import { r as permissionsOf, t as PermissionsOfOptions } from "../permissions-2UlVQDzY.js";
12
- import { n as AuthSession, o as toSession } from "../view-DdDY88SC.js";
13
- import { i as ContextOptions, l as ServerOptions, o as ServerContext, r as BetterServer, u as SharedServer } from "../server-types-DEjva0MW.js";
14
- import { a as SupportPolicy, c as supportSessions, i as SupportOptions, o as SupportSessions, s as SupportStartRequest, t as ActiveSupport } from "../support-BwtMgjVg.js";
15
- import { t as AuthOutageHook } from "../session-BA0YDmjt.js";
16
- import { n as AuthKind, r as GuardOptions } from "../respond-CAxhkwAi.js";
17
- import { a as AuthorizedContext, c as ResourceLoaderContext, i as AuthorizeOptions, l as Unwrapped, n as ActionParsed, r as ActionResult, t as ActionInput } from "../kit-DCuO1ZhB.js";
18
- import { c as ListParseOptions, m as ListSearchParams } from "../list-query-D1h3Dmnk.js";
19
- import { r as LiveCountSeed, t as CountRunner } from "../index-lMApFSAd.js";
20
- import { i as ResourceContext, l as ResourceRouteOptions, o as ResourceHooks, r as ResourceAction, t as ActionArgs } from "../resource-types-CTcc37WL.js";
7
+ import { S as BlockClientSource, on as RecordBindingOptions } from "../define-block-CDw9YGVh.js";
8
+ 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-DAS_5OfK.js";
9
+ import { r as MembershipClaim } from "../entitlements-6gODwBSz.js";
10
+ import { t as tenantOf } from "../tenant-eZNRWTRJ.js";
11
+ import { r as permissionsOf, t as PermissionsOfOptions } from "../permissions-Ed8WvLgQ.js";
12
+ import { n as AuthSession, o as toSession } from "../view-eHgOOyRS.js";
13
+ import { i as ContextOptions, l as ServerOptions, o as ServerContext, r as BetterServer, u as SharedServer } from "../server-types-DpI82uNq.js";
14
+ import { a as SupportPolicy, c as supportSessions, i as SupportOptions, o as SupportSessions, s as SupportStartRequest, t as ActiveSupport } from "../support-Dj5V2WTs.js";
15
+ import { t as AuthOutageHook } from "../session-s-mUZ8RQ.js";
16
+ import { n as AuthKind, r as GuardOptions } from "../respond-D7kUatjc.js";
17
+ import { a as AuthorizedContext, c as ResourceLoaderContext, i as AuthorizeOptions, l as Unwrapped, n as ActionParsed, r as ActionResult, t as ActionInput } from "../kit-lHFpu2_1.js";
18
+ import { c as ListParseOptions, m as ListSearchParams } from "../list-query-BkbLV-Yc.js";
19
+ import { r as LiveCountSeed, t as CountRunner } from "../index-B5awu2SP.js";
20
+ import { i as ResourceContext, l as ResourceRouteOptions, o as ResourceHooks, r as ResourceAction, t as ActionArgs } from "../resource-types-CF3Uc6OW.js";
21
21
  import { t as Validated } from "../shared-DsBcvj6q.js";
22
- import { t as ResourceMap } from "../resources-13ZFX1G6.js";
23
- import { t as defineAction } from "../resource-execute-A1NbR-sd.js";
24
- import { c as safeRedirectPath, i as OtpParams, n as EmailOtpType, o as SignOutScope, r as ExistingAccount, t as AuthorizeUrlParams } from "../sign-in-4u4vLtXG.js";
22
+ import { t as ResourceMap } from "../resources-DnHSmJIM.js";
23
+ import { t as defineAction } from "../resource-execute-B7-QaS6R.js";
24
+ import { c as safeRedirectPath, i as OtpParams, n as EmailOtpType, o as SignOutScope, r as ExistingAccount, t as AuthorizeUrlParams } from "../sign-in-D5Bg7R47.js";
25
25
  import { n as BlockDataOf, r as BlockMethodName, t as BlockArgsOf } from "../block-method-QSaPsL2P.js";
26
- import { i as tagFor, t as TagOptions } from "../tags-CAfvzA1U.js";
27
- import { c as RecordListCells, n as Timeline, o as RecordList, u as RecordListPage } from "../timeline-CrO48Qa6.js";
28
- import { n as supportOf, t as SupportView } from "../support-view-GykHOIQ2.js";
26
+ import { i as tagFor, t as TagOptions } from "../tags-BihwKkTT.js";
27
+ import { c as RecordListCells, n as Timeline, o as RecordList, u as RecordListPage } from "../timeline-c6I3uxya.js";
28
+ import { n as supportOf, t as SupportView } from "../support-view-DKZkZeM5.js";
29
29
  import { AnyEntry, Contributions } from "@supabase/middleware";
30
30
  import { UserClaims } from "@supabase/server";
31
31
  import { NextRequest } from "next/server.js";
@@ -1,4 +1,4 @@
1
- import { n as RouteGuardOptions } from "../refusal-BX1EvmpJ.js";
1
+ import { n as RouteGuardOptions } from "../refusal-CjUUBfhY.js";
2
2
  import { i as toWebHeaders, r as applyWebHeaders, t as NodeHeaderTarget } from "../node-headers-TnS4T7V_.js";
3
- import { _ as toNodeHandler, a as FastifyReplyLike, b as toWebRequest, c as KoaMiddleware, d as guard, f as koaGuard, g as toKoa, h as toFastify, i as FastifyHook, l as ToNodeOptions, m as toExpress, n as ExpressMiddleware, o as FastifyRequestLike, p as problemErrorHandler, r as ExpressResponse, s as KoaContextLike, t as ExpressErrorHandler, u as fastifyGuard, v as WebRequestOptions, y as sendWebResponse } from "../index-Ag-T51Jl.js";
3
+ import { _ as toNodeHandler, a as FastifyReplyLike, b as toWebRequest, c as KoaMiddleware, d as guard, f as koaGuard, g as toKoa, h as toFastify, i as FastifyHook, l as ToNodeOptions, m as toExpress, n as ExpressMiddleware, o as FastifyRequestLike, p as problemErrorHandler, r as ExpressResponse, s as KoaContextLike, t as ExpressErrorHandler, u as fastifyGuard, v as WebRequestOptions, y as sendWebResponse } from "../index-CvLTqmdq.js";
4
4
  export { ExpressErrorHandler, ExpressMiddleware, ExpressResponse, FastifyHook, FastifyReplyLike, FastifyRequestLike, KoaContextLike, KoaMiddleware, type NodeHeaderTarget, type RouteGuardOptions, ToNodeOptions, type WebRequestOptions, applyWebHeaders, fastifyGuard, guard, koaGuard, problemErrorHandler, sendWebResponse, toExpress, toFastify, toKoa, toNodeHandler, toWebHeaders, toWebRequest };
@@ -1,4 +1,4 @@
1
- import { r as AuthorizationOperation } from "./authorization-2Rv1AJQJ.js";
1
+ import { r as AuthorizationOperation } from "./authorization-D8CaAdqU.js";
2
2
  /** Operations by name, as `authorization.operations` or a module's own defaults. */
3
3
  type OperationTable = Readonly<Record<string, AuthorizationOperation>>;
4
4
  export { OperationTable as t };
@@ -7,6 +7,7 @@ const catalogSqlOptions = blockOptions({
7
7
  categoryExtraColumns: option.extraColumns(),
8
8
  locales: option.strings({ default: ["en"] }),
9
9
  rankType: option.string({ default: "text" }),
10
- variantInUse: option.string()
10
+ variantInUse: option.string(),
11
+ maxVariants: option.number({ default: 100 })
11
12
  });
12
13
  export { catalogSqlOptions as t };
@@ -1,4 +1,7 @@
1
1
  import { n as blockOptions, r as option } from "./options-Z-bd_H1E.js";
2
2
  // src/blocks/templates/options.ts
3
- const templatesSqlOptions = blockOptions({ extraColumns: option.extraColumns() });
3
+ const templatesSqlOptions = blockOptions({
4
+ brand: option.unknown(),
5
+ extraColumns: option.extraColumns()
6
+ });
4
7
  export { templatesSqlOptions as t };
@@ -2,6 +2,7 @@ import { n as blockOptions, r as option } from "./options-Z-bd_H1E.js";
2
2
  // src/blocks/expenses/options.ts
3
3
  const expensesSqlOptions = blockOptions({
4
4
  extraColumns: option.extraColumns(),
5
+ categoryExtraColumns: option.extraColumns(),
5
6
  approvals: option.boolean({ default: true }),
6
7
  owner: option.string({ default: "user" }),
7
8
  companyExpenses: option.boolean({ default: false })
@@ -13,6 +13,7 @@ const leaveSqlOptions = blockOptions({
13
13
  extraColumns: option.extraColumns(),
14
14
  feed: option.unknown(),
15
15
  approvals: option.boolean({ default: true }),
16
- owner: option.string({ default: "user" })
16
+ owner: option.string({ default: "user" }),
17
+ reapprove: option.boolean({ default: false })
17
18
  });
18
19
  export { leaveSqlOptions as t };
@@ -1,15 +1,15 @@
1
1
  import { b as DbError, f as Result } from "../result-DTOQRyGY.js";
2
2
  import { O as AnyFunctions, k as AnyModels } from "../types-BzIYSSWK.js";
3
- import { r as AuthState } from "../resolve-BIpQRhvF.js";
3
+ import { r as AuthState } from "../resolve-XlMQRUeG.js";
4
4
  import { i as ProblemDetails } from "../problem-NGBjN-TO.js";
5
- import { t as BetterSupabase } from "../define-BvkaC3Oh.js";
6
- import { l as ServerOptions, o as ServerContext, r as BetterServer } from "../server-types-DEjva0MW.js";
7
- import { i as MiddlewareOptions, r as GuardOptions } from "../respond-CAxhkwAi.js";
8
- import { c as ResourceLoaderContext, i as AuthorizeOptions } from "../kit-DCuO1ZhB.js";
9
- import { a as ResourceHandler } from "../resource-types-CTcc37WL.js";
5
+ import { t as BetterSupabase } from "../define-C_He1bQO.js";
6
+ import { l as ServerOptions, o as ServerContext, r as BetterServer } from "../server-types-DpI82uNq.js";
7
+ import { i as MiddlewareOptions, r as GuardOptions } from "../respond-D7kUatjc.js";
8
+ import { c as ResourceLoaderContext, i as AuthorizeOptions } from "../kit-lHFpu2_1.js";
9
+ import { a as ResourceHandler } from "../resource-types-CF3Uc6OW.js";
10
10
  import { t as Validated } from "../shared-DsBcvj6q.js";
11
11
  import { i as RouteRateLimitRule, n as RateLimitVerdict, r as RateLimiter, t as RateLimitRouteOptions } from "../rate-limit-C89Yzwd9.js";
12
- import { t as Api } from "../api-XEaCJbgv.js";
12
+ import { t as Api } from "../api-CbY2qdzT.js";
13
13
  import { AnyEntry, Contributions } from "@supabase/middleware";
14
14
  import { AnySchema, BuilderWithMiddlewares, DecoratedMiddleware, DecoratedProcedure, MetaPlugin, ORPCError, Schema } from "@orpc/server";
15
15
  /** The route `router()` gives one operation of the API model. */
@@ -1,5 +1,5 @@
1
1
  import { Nt as Plugin } from "../types-BzIYSSWK.js";
2
- import { o as EventHub } from "../events-DCw3c6pj.js";
2
+ import { o as EventHub } from "../events-DddDlibJ.js";
3
3
  import { t as SPEC_PINS } from "../spec-pins-CuQ2anBw.js";
4
4
  import { Attributes, Meter, Tracer } from "@opentelemetry/api";
5
5
  export declare const INSTRUMENTATION_NAME = "better-supabase";
@@ -39,9 +39,9 @@ function systemOf(executor) {
39
39
  * ```
40
40
  */
41
41
  function otel(options = {}) {
42
- const tracer = options.tracer ?? trace.getTracer("better-supabase", "0.36.0");
42
+ const tracer = options.tracer ?? trace.getTracer("better-supabase", "0.38.0");
43
43
  let histogram;
44
- if (options.metrics !== false) histogram = (options.meter ?? metrics.getMeter("better-supabase", "0.36.0")).createHistogram("db.client.operation.duration", {
44
+ if (options.metrics !== false) histogram = (options.meter ?? metrics.getMeter("better-supabase", "0.38.0")).createHistogram("db.client.operation.duration", {
45
45
  unit: "s",
46
46
  description: "Duration of database client operations.",
47
47
  advice: { explicitBucketBoundaries: [
@@ -218,7 +218,7 @@ function otel(options = {}) {
218
218
  * `betterSupabase.events`. Returns a function that stops listening.
219
219
  */
220
220
  function traceAuth(betterSupabase, options = {}) {
221
- const tracer = options.tracer ?? trace.getTracer("better-supabase", "0.36.0");
221
+ const tracer = options.tracer ?? trace.getTracer("better-supabase", "0.38.0");
222
222
  const offAuth = betterSupabase.events.on("auth", (event) => {
223
223
  const span = tracer.startSpan("auth.resolve", {
224
224
  kind: SpanKind.INTERNAL,
@@ -256,7 +256,7 @@ function traceAuth(betterSupabase, options = {}) {
256
256
  * an error status. Returns a function that stops listening.
257
257
  */
258
258
  function traceBlockEvents(betterSupabase, options = {}) {
259
- const tracer = options.tracer ?? trace.getTracer("better-supabase", "0.36.0");
259
+ const tracer = options.tracer ?? trace.getTracer("better-supabase", "0.38.0");
260
260
  return betterSupabase.events.on("block", (event) => {
261
261
  const attributes = {
262
262
  ...options.attributes,
@@ -4,8 +4,8 @@ import { n as Logger } from "./logger-0LfhvwE4.js";
4
4
  import { i as CursorPageOptions, n as BlockOptions } from "./block-helpers-BNtM1tqy.js";
5
5
  import { n as BlockHooks } from "./block-hooks-CtMsgLQr.js";
6
6
  import { t as BlockProblemOptions } from "./problem-NGBjN-TO.js";
7
- import { i as EventSink, t as CloudEvent } from "./cloud-event-BEmAUdl1.js";
8
- import { g as SubscriberPolicy, i as AuthorizationHooks } from "./authorization-hooks-C0GfMvFm.js";
7
+ import { i as EventSink, t as CloudEvent } from "./cloud-event-BjgxkfJJ.js";
8
+ import { g as SubscriberPolicy, i as AuthorizationHooks } from "./authorization-hooks-CR8TVvqo.js";
9
9
  /** One row of the outbox, as `outbox_claim` and `outbox_history` return it. */
10
10
  interface OutboxEvent {
11
11
  /** The cursor value: increases with every event. */
@@ -1,4 +1,4 @@
1
- import { o as ClaimsRecord, s as ClaimsSource } from "./entitlements-Dhu-4vlH.js";
1
+ import { o as ClaimsRecord, s as ClaimsSource } from "./entitlements-6gODwBSz.js";
2
2
  interface PermissionsOfOptions {
3
3
  /**
4
4
  * The claim holding `{ [tenantId]: string[] }`, as
@@ -1,5 +1,5 @@
1
1
  import { Vt as Executor } from "./types-BzIYSSWK.js";
2
- import { o as EventHub } from "./events-DCw3c6pj.js";
2
+ import { o as EventHub } from "./events-DddDlibJ.js";
3
3
  import { n as Logger } from "./logger-0LfhvwE4.js";
4
4
  import { n as SqlClient } from "./executor-DoSNec_H.js";
5
5
  /** The part of a `pg` pool client `createPostgres` uses. */
@@ -1,5 +1,5 @@
1
1
  import { t as AsyncResult } from "./result-DTOQRyGY.js";
2
- import { n as TopicPort } from "./watch-topic-D6bcqOrJ.js";
2
+ import { n as TopicPort } from "./watch-topic-BIEaSN0Y.js";
3
3
  import { SupabaseClient } from "@supabase/supabase-js";
4
4
  /**
5
5
  * A string store: `localStorage` on the web (`webStorage()`), AsyncStorage,
@@ -1,7 +1,7 @@
1
1
  import { E as RawDbError } from "../result-DTOQRyGY.js";
2
2
  import { m as Operation } from "../types-BzIYSSWK.js";
3
3
  import { n as SqlClient, r as postgresExecutor, t as PostgresExecutorOptions } from "../executor-DoSNec_H.js";
4
- import { a as PostgresTimeouts, c as createPostgres, i as PostgresOptions, n as PgPool, o as SessionOptions, r as PgPoolClient, s as SqlClaims, t as BetterPostgres } from "../pool-yO-LzZAd.js";
4
+ import { a as PostgresTimeouts, c as createPostgres, i as PostgresOptions, n as PgPool, o as SessionOptions, r as PgPoolClient, s as SqlClaims, t as BetterPostgres } from "../pool-BJAjQcrJ.js";
5
5
  import { t as Compiler } from "../compiler-BOW4yPcW.js";
6
6
  /** Node-postgres error fields to the shape `mapDbError` reads. */
7
7
  export declare function fromPgError(error: unknown): RawDbError | undefined;
@@ -2,9 +2,9 @@ import { f as Result } from "../result-DTOQRyGY.js";
2
2
  import { Vt as Executor } from "../types-BzIYSSWK.js";
3
3
  import { t as BlockTransport } from "../block-transport-CDmOUuLZ.js";
4
4
  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-CX1oYDZl.js";
5
- import { n as TopicPort } from "../watch-topic-D6bcqOrJ.js";
6
- import { t as AuthSnapshot } from "../bind-C2XvMlfg.js";
7
- 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-H8ZLkeHj.js";
5
+ import { n as TopicPort } from "../watch-topic-BIEaSN0Y.js";
6
+ import { t as AuthSnapshot } from "../bind-5vOwNouG.js";
7
+ 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-CxMHiDp_.js";
8
8
  /** The part of PowerSync's `SyncStatus` the engine reads. */
9
9
  interface SyncStatusLike {
10
10
  readonly connected: boolean;
@@ -1,4 +1,4 @@
1
- import { $n as PresetGroup, Ai as PresetValueInfo, At as PresetConflict, Ci as PresetConventions, Ct as ConfigConventions, Di as PresetFramework, Dt as expandPreset, Ei as PresetFieldValue, Et as conventionConfig, Ft as presetBlockConflict, Gn as presetFromSpec, It as resolvePreset, Jn as DEFAULT_PRESET_NAME, Kn as presetOfSpec, Mi as presetField, Mt as ResolvedPreset, Ni as presetValueLabel, Nt as ResolvedPresetBlock, Oi as PresetPlatforms, Ot as presetConfig, Pt as listNames, Qn as PRESET_NAMES, Si as PresetAccess, Ti as PresetFieldKey, Tt as PresetInput, Wn as PresetSpec, Xn as PRESETS, Yn as NamedPreset, Zn as PRESET_GROUPS, _i as CONVENTION_FIELDS, _r as AppColumnFormat, bi as PRESET_TENANT_NAMES, di as INSTANCE_NAME, er as PresetName, fi as instancePrefix, gi as PresetGlueItem, hi as PresetCatalogManifest, ji as integrationsForFramework, jt as PresetIntegration, ki as PresetScope, kt as presetOf, mi as PresetCatalogBlock, nr as isPresetName, pi as PresetCatalog, qn as presetSpec, rr as namedPreset, tr as defaultPreset, ui as CORE_BLOCKS, ur as APP_COLUMN_FORMATS, vi as DEFAULT_CONVENTIONS, wi as PresetField, wt as ExpandedConfig, xi as Preset, yi as PRESET_FRAMEWORKS } from "../context-yfOlyAqb.js";
2
- import { $ as readDesignFile, A as DesignFile, B as designFileSource, C as diffAppTables, D as DESIGN_FILE, E as CreateDesign, F as MAX_DESIGN_CODE_LENGTH, G as isDesignCode, H as designOf, I as createQuery, J as presetApplyCommand, K as parseDesign, L as createUrl, M as DesignParseIssue, N as DesignParseResult, O as DESIGN_FORMAT, P as DesignTooLongError, Q as presetKey, R as decodeDesign, S as DiffOptions, T as CREATE_URL, U as designSchema, V as designFormat, W as encodeDesign, X as presetConfigSource, Y as presetArgumentOf, Z as presetInstallCommand, _ as glueCommand, a as blockRequires, b as DesignChange, c as installedBlocks, d as instancesOf, et as safeDesignFileSource, f as presetInstances, g as PROVIDER_COMMENT, h as withoutInstance, i as blockEntities, it as PRESET_CATALOG, j as DesignParseError, k as DesignErrorCode, l as instanceBlock, m as withInstance, n as BlockInstance, nt as appDefaultError, o as canAddInstance, p as withEntityName, q as presetAndDesignOf, r as PresetInstance, rt as isAppDefault, s as entityName, t as BlockEntity, tt as safeParseDesign, u as instanceNameProblem, v as presetBlocksSource, w as diffDesigns, x as DesignChangeKind, y as presetGlue, z as designConfig } from "../index-C78VPlXW.js";
3
- import { i as appReservedColumns, n as appIdentifierError, r as appNameLengthError, t as APP_NAME_MAX } from "../app-tables-C0XVpQEJ.js";
1
+ import { $n as PresetGroup, Ai as PresetValueInfo, At as PresetConflict, Ci as PresetConventions, Ct as ConfigConventions, Di as PresetFramework, Dt as expandPreset, Ei as PresetFieldValue, Et as conventionConfig, Ft as presetBlockConflict, Gn as presetFromSpec, It as resolvePreset, Jn as DEFAULT_PRESET_NAME, Kn as presetOfSpec, Mi as presetField, Mt as ResolvedPreset, Ni as presetValueLabel, Nt as ResolvedPresetBlock, Oi as PresetPlatforms, Ot as presetConfig, Pt as listNames, Qn as PRESET_NAMES, Si as PresetAccess, Ti as PresetFieldKey, Tt as PresetInput, Wn as PresetSpec, Xn as PRESETS, Yn as NamedPreset, Zn as PRESET_GROUPS, _i as CONVENTION_FIELDS, _r as AppColumnFormat, bi as PRESET_TENANT_NAMES, di as INSTANCE_NAME, er as PresetName, fi as instancePrefix, gi as PresetGlueItem, hi as PresetCatalogManifest, ji as integrationsForFramework, jt as PresetIntegration, ki as PresetScope, kt as presetOf, mi as PresetCatalogBlock, nr as isPresetName, pi as PresetCatalog, qn as presetSpec, rr as namedPreset, tr as defaultPreset, ui as CORE_BLOCKS, ur as APP_COLUMN_FORMATS, vi as DEFAULT_CONVENTIONS, wi as PresetField, wt as ExpandedConfig, xi as Preset, yi as PRESET_FRAMEWORKS } from "../context-CH5FYnVk.js";
2
+ import { $ as readDesignFile, A as DesignFile, B as designFileSource, C as diffAppTables, D as DESIGN_FILE, E as CreateDesign, F as MAX_DESIGN_CODE_LENGTH, G as isDesignCode, H as designOf, I as createQuery, J as presetApplyCommand, K as parseDesign, L as createUrl, M as DesignParseIssue, N as DesignParseResult, O as DESIGN_FORMAT, P as DesignTooLongError, Q as presetKey, R as decodeDesign, S as DiffOptions, T as CREATE_URL, U as designSchema, V as designFormat, W as encodeDesign, X as presetConfigSource, Y as presetArgumentOf, Z as presetInstallCommand, _ as glueCommand, a as blockRequires, b as DesignChange, c as installedBlocks, d as instancesOf, et as safeDesignFileSource, f as presetInstances, g as PROVIDER_COMMENT, h as withoutInstance, i as blockEntities, it as PRESET_CATALOG, j as DesignParseError, k as DesignErrorCode, l as instanceBlock, m as withInstance, n as BlockInstance, nt as appDefaultError, o as canAddInstance, p as withEntityName, q as presetAndDesignOf, r as PresetInstance, rt as isAppDefault, s as entityName, t as BlockEntity, tt as safeParseDesign, u as instanceNameProblem, v as presetBlocksSource, w as diffDesigns, x as DesignChangeKind, y as presetGlue, z as designConfig } from "../index-vkd2LTt2.js";
3
+ import { i as appReservedColumns, n as appIdentifierError, r as appNameLengthError, t as APP_NAME_MAX } from "../app-tables-D2c0i05-.js";
4
4
  export { APP_COLUMN_FORMATS, APP_NAME_MAX, type AppColumnFormat, type BlockEntity, type BlockInstance, CONVENTION_FIELDS, CREATE_URL, 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 PresetValueInfo, 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, resolvePreset, safeDesignFileSource, safeParseDesign, withEntityName, withInstance, withoutInstance };
@@ -1,4 +1,4 @@
1
- import { C as integrationsForFramework, S as PRESET_TENANT_NAMES, T as presetValueLabel, _ as isPresetName, a as presetOf, b as DEFAULT_CONVENTIONS, c as presetSpec, d as resolvePreset, f as DEFAULT_PRESET_NAME, g as defaultPreset, h as PRESET_NAMES, i as presetConfig, l as listNames, m as PRESET_GROUPS, o as presetFromSpec, p as PRESETS, r as expandPreset, s as presetOfSpec, t as conventionConfig, u as presetBlockConflict, v as namedPreset, w as presetField, x as PRESET_FRAMEWORKS, y as CONVENTION_FIELDS } from "../config-BrRlSxhx.js";
2
- import { D as APP_COLUMN_FORMATS, M as PRESET_CATALOG, b as isAppDefault, 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, y as appDefaultError } from "../instances-xQ2lupVE.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, 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-BvHNleCo.js";
1
+ import { C as integrationsForFramework, S as PRESET_TENANT_NAMES, T as presetValueLabel, _ as isPresetName, a as presetOf, b as DEFAULT_CONVENTIONS, c as presetSpec, d as resolvePreset, f as DEFAULT_PRESET_NAME, g as defaultPreset, h as PRESET_NAMES, i as presetConfig, l as listNames, m as PRESET_GROUPS, o as presetFromSpec, p as PRESETS, r as expandPreset, s as presetOfSpec, t as conventionConfig, u as presetBlockConflict, v as namedPreset, w as presetField, x as PRESET_FRAMEWORKS, y as CONVENTION_FIELDS } from "../config-1-UmQczM.js";
2
+ import { D as APP_COLUMN_FORMATS, M as PRESET_CATALOG, b as isAppDefault, 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, y as appDefaultError } from "../instances-Bycf_aus.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, 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-DkeXFh7e.js";
4
4
  export { APP_COLUMN_FORMATS, APP_NAME_MAX, 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, resolvePreset, safeDesignFileSource, safeParseDesign, withEntityName, withInstance, withoutInstance };
@@ -1,5 +1,5 @@
1
- import { M as groupEntries, a as presetOf, c as presetSpec, d as resolvePreset, g as defaultPreset, i as presetConfig, s as presetOfSpec } from "./config-BrRlSxhx.js";
2
- import { F as asBlocksConfig, M as PRESET_CATALOG, _ as appTablesOf, n as INSTANCE_NAME, t as CORE_BLOCKS } from "./instances-xQ2lupVE.js";
1
+ import { M as groupEntries, a as presetOf, c as presetSpec, d as resolvePreset, g as defaultPreset, i as presetConfig, s as presetOfSpec } from "./config-1-UmQczM.js";
2
+ import { F as asBlocksConfig, M as PRESET_CATALOG, _ as appTablesOf, n as INSTANCE_NAME, t as CORE_BLOCKS } from "./instances-Bycf_aus.js";
3
3
  import { r as FIELD_FORMATS } from "./field-formats-Cap-V7UP.js";
4
4
  import { t as isSqlType } from "./sql-type-XWMeZRAl.js";
5
5
  // src/preset/render.ts
@@ -1,8 +1,8 @@
1
- import { a as presetOf, d as resolvePreset } from "./config-BrRlSxhx.js";
2
- import { M as PRESET_CATALOG, b as isAppDefault, d as appIdentifierError, f as appNameLengthError, p as appReservedColumns, y as appDefaultError } from "./instances-xQ2lupVE.js";
3
- import { c as resolveConfig } from "./config-BKxjItQ-.js";
4
- import { D as designOf, M as parseDesign, j as jsonPointer, k as encodeDesign, v as DesignParseError, w as designConfig, y as DesignTooLongError } from "./preset-BvHNleCo.js";
5
- import { I as renderBlocks, j as moduleLayout, rt as SQL_MODULES } from "./sql-BChN3Hxv.js";
1
+ import { a as presetOf, d as resolvePreset } from "./config-1-UmQczM.js";
2
+ import { M as PRESET_CATALOG, b as isAppDefault, d as appIdentifierError, f as appNameLengthError, p as appReservedColumns, y as appDefaultError } from "./instances-Bycf_aus.js";
3
+ import { c as resolveConfig } from "./config-AEB5iNEO.js";
4
+ import { D as designOf, M as parseDesign, j as jsonPointer, k as encodeDesign, v as DesignParseError, w as designConfig, y as DesignTooLongError } from "./preset-DkeXFh7e.js";
5
+ import { I as renderBlocks, j as moduleLayout, rt as SQL_MODULES } from "./sql-B2cMvGnZ.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,6 +1,6 @@
1
1
  /// <reference lib="esnext.temporal" />
2
2
  import { b as DbError, t as AsyncResult } from "./result-DTOQRyGY.js";
3
- import { r as AuthState } from "./resolve-BIpQRhvF.js";
3
+ import { r as AuthState } from "./resolve-XlMQRUeG.js";
4
4
  /**
5
5
  * Names a credential without holding it. Tables store this as a `credential_ref
6
6
  * jsonb` column; `provider` picks the `CredentialProvider` and the other keys
@@ -1,4 +1,4 @@
1
- import { s as PushTokenPort } from "./ports-prqYrReN.js";
1
+ import { s as PushTokenPort } from "./ports-Bnwy2mlR.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-CK6L7gkj.js";
2
2
  import { n as invalidateTables, t as BetterQueryMeta } from "../invalidate-DAB9CaPm.js";
3
- import { $ as invalidateOnBlockEvents, G as BLOCK_READ_PREFIXES, J as BlockInvalidation, K as BlockClientQueries, Q as blockQueries, X as BlockQueries, Y as BlockMethodQuery, Z as BlockVariablesOf, a as RecordBindingQueries, at as InfiniteOptionsOf, c as RecordWriteMutations, ct as QueryHelpers, dt as TableQueries, et as queryEngine, ft as createQueries, i as optimistic, it as InfiniteExtras, l as invalidateOnRecordEvents, lt as QueryKeyOf, mt as queryCache, n as OptimisticSnapshot, nt as clearOnUserChange, o as RecordQueries, ot as MutationOptionsOf, pt as invalidateOnMutation, q as BlockClients, r as OptimisticTarget, rt as BetterQueries, s as RecordQueriesOptions, st as QueriesOptions, t as OptimisticHandlers, tt as UserChangeSource, u as recordQueries, ut as QueryOptionsOf } from "../index-Dbd1E5Au.js";
3
+ import { $ as invalidateOnBlockEvents, G as BLOCK_READ_PREFIXES, J as BlockInvalidation, K as BlockClientQueries, Q as blockQueries, X as BlockQueries, Y as BlockMethodQuery, Z as BlockVariablesOf, a as RecordBindingQueries, at as InfiniteOptionsOf, c as RecordWriteMutations, ct as QueryHelpers, dt as TableQueries, et as queryEngine, ft as createQueries, i as optimistic, it as InfiniteExtras, l as invalidateOnRecordEvents, lt as QueryKeyOf, mt as queryCache, n as OptimisticSnapshot, nt as clearOnUserChange, o as RecordQueries, ot as MutationOptionsOf, pt as invalidateOnMutation, q as BlockClients, r as OptimisticTarget, rt as BetterQueries, s as RecordQueriesOptions, st as QueriesOptions, t as OptimisticHandlers, tt as UserChangeSource, u as recordQueries, ut as QueryOptionsOf } from "../index-DAS_5OfK.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, 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-CK6L7gkj.js";
2
2
  import { n as Impersonator } from "../impersonation-BOCJcsmS.js";
3
3
  import { i as DataEntry, m as RejectedChange, n as DataEngine, o as DataSyncState } from "../data-engine-CX1oYDZl.js";
4
- import { r as MembershipClaim } from "../entitlements-Dhu-4vlH.js";
5
- import { t as tenantOf } from "../tenant-lBgoqg9T.js";
6
- import { n as AuthSession } from "../view-DdDY88SC.js";
7
- import { r as LiveCountSeed } from "../index-lMApFSAd.js";
8
- import { D as ProfileOf, O as UseActionOptions, S as LiveCountHookOptions, _ as ActionResultOf, b as ClaimsOf, c as DataWrites, d as BlockMutationState, f as BlockQueryActions, g as ActionInputOf, h as BlockRefetchOn, l as BlockEventSource, m as BlockQueryState, o as DataSource, p as BlockQueryOptions, s as DataState, t as fieldErrorsOf, u as BlockMutationActions, w as LiveQueryHookOptions, x as ClientLike, y as BroadcastOptions } from "../field-errors-DXZk9Qjt.js";
9
- import { n as supportOf, t as SupportView } from "../support-view-GykHOIQ2.js";
10
- import { $ as UseActionFormOptions, A as useController, B as RecordListUrl, C as useConflicts, D as defineDataHooks, E as DataView, F as RecordFormState, G as RecordInitial, H as useRecordListState, I as UseRecordFormOptions, J as RecordState, K as RecordProviderKit, L as useRecordForm, M as useBlockEvent, N as useBlockMutation, O as useBlockEnv, P as useBlockQuery, Q as ActionHandle, R as RecordListQueryStates, S as Conflicts, T as DataHooks, U as RecordActionsOf, V as RecordListUrlState, W as RecordContextValue, X as createRecordProvider, Y as RecordWriteHandlers, Z as ActionForm, _ as useRealtimeRelay, a as Upload, at as LiveCount, b as PresenceTopic, c as UseImageOptions, ct as useBroadcast, d as useSignedUrl, dt as useSupabase, et as useAction, f as useUpload, g as UseRealtimeRelayOptions, h as useDebouncedSearch, i as StorageImage, it as BetterSupabaseProviderProps, j as useLatest, k as useBlockTenant, l as UseUploadOptions, lt as useLiveCount, m as DebouncedSearchOptions, n as SignedUrl, nt as BetterHooks, o as UploadStatus, ot as createHooks, p as DebouncedSearch, q as RecordProviderProps, r as SignedUrlSource, rt as BetterSupabaseProvider, s as UploadTarget, st as useAuth, t as ImageSource, tt as useActionForm, u as useImage, ut as useLiveQuery, v as Presence, w as useSyncStatus, x as usePresence, y as PresenceHookOptions, z as RecordListState } from "../index-Dv6lfL5p.js";
11
- import { a as useSupportSession, i as useSession, n as SessionProviderProps, t as SessionProvider } from "../session-CeYL3EPm.js";
4
+ import { r as MembershipClaim } from "../entitlements-6gODwBSz.js";
5
+ import { t as tenantOf } from "../tenant-eZNRWTRJ.js";
6
+ import { n as AuthSession } from "../view-eHgOOyRS.js";
7
+ import { r as LiveCountSeed } from "../index-B5awu2SP.js";
8
+ import { D as ProfileOf, O as UseActionOptions, S as LiveCountHookOptions, _ as ActionResultOf, b as ClaimsOf, c as DataWrites, d as BlockMutationState, f as BlockQueryActions, g as ActionInputOf, h as BlockRefetchOn, l as BlockEventSource, m as BlockQueryState, o as DataSource, p as BlockQueryOptions, s as DataState, t as fieldErrorsOf, u as BlockMutationActions, w as LiveQueryHookOptions, x as ClientLike, y as BroadcastOptions } from "../field-errors-CdSjV9Zo.js";
9
+ import { n as supportOf, t as SupportView } from "../support-view-DKZkZeM5.js";
10
+ import { $ as UseActionFormOptions, A as useController, B as RecordListUrl, C as useConflicts, D as defineDataHooks, E as DataView, F as RecordFormState, G as RecordInitial, H as useRecordListState, I as UseRecordFormOptions, J as RecordState, K as RecordProviderKit, L as useRecordForm, M as useBlockEvent, N as useBlockMutation, O as useBlockEnv, P as useBlockQuery, Q as ActionHandle, R as RecordListQueryStates, S as Conflicts, T as DataHooks, U as RecordActionsOf, V as RecordListUrlState, W as RecordContextValue, X as createRecordProvider, Y as RecordWriteHandlers, Z as ActionForm, _ as useRealtimeRelay, a as Upload, at as LiveCount, b as PresenceTopic, c as UseImageOptions, ct as useBroadcast, d as useSignedUrl, dt as useSupabase, et as useAction, f as useUpload, g as UseRealtimeRelayOptions, h as useDebouncedSearch, i as StorageImage, it as BetterSupabaseProviderProps, j as useLatest, k as useBlockTenant, l as UseUploadOptions, lt as useLiveCount, m as DebouncedSearchOptions, n as SignedUrl, nt as BetterHooks, o as UploadStatus, ot as createHooks, p as DebouncedSearch, q as RecordProviderProps, r as SignedUrlSource, rt as BetterSupabaseProvider, s as UploadTarget, st as useAuth, t as ImageSource, tt as useActionForm, u as useImage, ut as useLiveQuery, v as Presence, w as useSyncStatus, x as usePresence, y as PresenceHookOptions, z as RecordListState } from "../index-DnEJVKQ2.js";
11
+ import { a as useSupportSession, i as useSession, n as SessionProviderProps, t as SessionProvider } from "../session-JV1z0kxa.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-C9pZE1kM.js";
13
13
  export { type ActionForm, type ActionHandle, type ActionInputOf, type ActionResultOf, type AuthHookOptions, type AuthSession, type BetterHooks, BetterSupabaseProvider, type BetterSupabaseProviderProps, 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 LiveCount, type LiveCountHookOptions, type LiveCountSeed, type LiveQueryHookOptions, type MembershipClaim, type PendingState, 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 UseRealtimeRelayOptions, type UseRecordFormOptions, type UseUploadOptions, createHooks, createRecordProvider, defineDataHooks, escapeLike, fieldErrorsOf, supportOf, tenantOf, useAction, useActionForm, useAuth, useBlockEnv, useBlockEvent, useBlockMutation, useBlockQuery, useBlockTenant, useBroadcast, useConflicts, useController, useDebouncedSearch, useImage, useLatest, useLiveCount, useLiveQuery, usePresence, useRealtimeRelay, useRecordForm, useRecordListState, useSession, useSignIn, useSignOut, useSignedUrl, useSupabase, useSupportSession, useSyncStatus, useUpload };
@@ -1,4 +1,4 @@
1
- import { t as AuthSnapshot } from "../../bind-C2XvMlfg.js";
1
+ import { t as AuthSnapshot } from "../../bind-5vOwNouG.js";
2
2
  import { a as OAuthSignInOptions, i as OAuthClient, n as AuthLinkClient, o as WebBrowserLike, r as AuthLinkResult, t as AuthFailure } from "../../auth-link-DRjtI1Ky.js";
3
3
  import { n as PendingState } from "../../sign-in-C9pZE1kM.js";
4
4
  import { Provider } from "@supabase/supabase-js";
@@ -1,14 +1,14 @@
1
1
  import { t as escapeLike } from "../escape-like-CK6L7gkj.js";
2
- import { mt as QuerySpec } from "../define-BvkaC3Oh.js";
2
+ import { mt as QuerySpec } from "../define-C_He1bQO.js";
3
3
  import { n as Impersonator } from "../impersonation-BOCJcsmS.js";
4
- import { r as MembershipClaim } from "../entitlements-Dhu-4vlH.js";
5
- import { t as tenantOf } from "../tenant-lBgoqg9T.js";
6
- import { n as AuthSession } from "../view-DdDY88SC.js";
7
- import { r as LiveCountSeed } from "../index-lMApFSAd.js";
8
- import { D as ProfileOf, O as UseActionOptions, S as LiveCountHookOptions, _ as ActionResultOf, b as ClaimsOf, g as ActionInputOf, t as fieldErrorsOf, w as LiveQueryHookOptions, x as ClientLike, y as BroadcastOptions } from "../field-errors-DXZk9Qjt.js";
9
- import { n as supportOf, t as SupportView } from "../support-view-GykHOIQ2.js";
10
- import { $ as UseActionFormOptions, A as useController$1, B as RecordListUrl, C as useConflicts$1, D as defineDataHooks$1, F as RecordFormState, G as RecordInitial, H as useRecordListState$1, I as UseRecordFormOptions, J as RecordState, K as RecordProviderKit, L as useRecordForm$1, M as useBlockEvent$1, N as useBlockMutation$1, O as useBlockEnv$1, P as useBlockQuery$1, Q as ActionHandle, R as RecordListQueryStates, U as RecordActionsOf, V as RecordListUrlState, W as RecordContextValue, X as createRecordProvider$1, Y as RecordWriteHandlers, Z as ActionForm, _ as useRealtimeRelay$1, a as Upload, at as LiveCount, b as PresenceTopic, c as UseImageOptions, ct as useBroadcast, d as useSignedUrl$1, dt as useSupabase, f as useUpload$1, g as UseRealtimeRelayOptions, h as useDebouncedSearch$1, i as StorageImage, it as BetterSupabaseProviderProps, j as useLatest$1, k as useBlockTenant$1, l as UseUploadOptions, m as DebouncedSearchOptions, n as SignedUrl, nt as BetterHooks, o as UploadStatus, p as DebouncedSearch, q as RecordProviderProps, r as SignedUrlSource, rt as BetterSupabaseProvider, s as UploadTarget, st as useAuth, t as ImageSource, u as useImage$1, ut as useLiveQuery, v as Presence, w as useSyncStatus$1, x as usePresence$1, y as PresenceHookOptions, z as RecordListState } from "../index-Dv6lfL5p.js";
11
- import { n as SessionProviderProps, t as SessionProvider } from "../session-CeYL3EPm.js";
4
+ import { r as MembershipClaim } from "../entitlements-6gODwBSz.js";
5
+ import { t as tenantOf } from "../tenant-eZNRWTRJ.js";
6
+ import { n as AuthSession } from "../view-eHgOOyRS.js";
7
+ import { r as LiveCountSeed } from "../index-B5awu2SP.js";
8
+ import { D as ProfileOf, O as UseActionOptions, S as LiveCountHookOptions, _ as ActionResultOf, b as ClaimsOf, g as ActionInputOf, t as fieldErrorsOf, w as LiveQueryHookOptions, x as ClientLike, y as BroadcastOptions } from "../field-errors-CdSjV9Zo.js";
9
+ import { n as supportOf, t as SupportView } from "../support-view-DKZkZeM5.js";
10
+ import { $ as UseActionFormOptions, A as useController$1, B as RecordListUrl, C as useConflicts$1, D as defineDataHooks$1, F as RecordFormState, G as RecordInitial, H as useRecordListState$1, I as UseRecordFormOptions, J as RecordState, K as RecordProviderKit, L as useRecordForm$1, M as useBlockEvent$1, N as useBlockMutation$1, O as useBlockEnv$1, P as useBlockQuery$1, Q as ActionHandle, R as RecordListQueryStates, U as RecordActionsOf, V as RecordListUrlState, W as RecordContextValue, X as createRecordProvider$1, Y as RecordWriteHandlers, Z as ActionForm, _ as useRealtimeRelay$1, a as Upload, at as LiveCount, b as PresenceTopic, c as UseImageOptions, ct as useBroadcast, d as useSignedUrl$1, dt as useSupabase, f as useUpload$1, g as UseRealtimeRelayOptions, h as useDebouncedSearch$1, i as StorageImage, it as BetterSupabaseProviderProps, j as useLatest$1, k as useBlockTenant$1, l as UseUploadOptions, m as DebouncedSearchOptions, n as SignedUrl, nt as BetterHooks, o as UploadStatus, p as DebouncedSearch, q as RecordProviderProps, r as SignedUrlSource, rt as BetterSupabaseProvider, s as UploadTarget, st as useAuth, t as ImageSource, u as useImage$1, ut as useLiveQuery, v as Presence, w as useSyncStatus$1, x as usePresence$1, y as PresenceHookOptions, z as RecordListState } from "../index-DnEJVKQ2.js";
11
+ import { n as SessionProviderProps, t as SessionProvider } from "../session-JV1z0kxa.js";
12
12
  import { a as useSignIn$1, i as SignOut, n as PendingState, o as useSignOut$1, r as SignIn, t as AuthHookOptions } from "../sign-in-C9pZE1kM.js";
13
13
  /** The `react-server` build of `useSession`: await `bsb.claims()` instead. */
14
14
  export declare const useSession: <C = unknown, P = unknown>() => AuthSession<C, P>;
@@ -1,2 +1,2 @@
1
- import { a as useSupportSession, i as useSession, n as SessionProviderProps, r as useOptionalSupportSession, t as SessionProvider } from "../session-CeYL3EPm.js";
1
+ import { a as useSupportSession, i as useSession, n as SessionProviderProps, r as useOptionalSupportSession, t as SessionProvider } from "../session-JV1z0kxa.js";
2
2
  export { SessionProvider, SessionProviderProps, useOptionalSupportSession, useSession, useSupportSession };
@@ -1,9 +1,9 @@
1
1
  import { O as AnyFunctions, Ut as AnyAuthorizer, k as AnyModels, rn as PermissionRef } from "../types-BzIYSSWK.js";
2
- import { t as BetterSupabase } from "../define-BvkaC3Oh.js";
3
- import { r as BetterServer } from "../server-types-DEjva0MW.js";
4
- import { a as AuthorizedContext, c as ResourceLoaderContext, i as AuthorizeOptions, l as Unwrapped, n as ActionParsed, o as BlockActionOptions, r as ActionResult, s as BlockRequireOptions } from "../kit-DCuO1ZhB.js";
5
- import { t as RefusalRedirects } from "../refusal-BX1EvmpJ.js";
6
- import { n as FrameworkOptions, r as LocalsResource, t as FrameworkLocals } from "../framework-Byr_j8G-.js";
2
+ import { t as BetterSupabase } from "../define-C_He1bQO.js";
3
+ import { r as BetterServer } from "../server-types-DpI82uNq.js";
4
+ import { a as AuthorizedContext, c as ResourceLoaderContext, i as AuthorizeOptions, l as Unwrapped, n as ActionParsed, o as BlockActionOptions, r as ActionResult, s as BlockRequireOptions } from "../kit-lHFpu2_1.js";
5
+ import { t as RefusalRedirects } from "../refusal-CjUUBfhY.js";
6
+ import { n as FrameworkOptions, r as LocalsResource, t as FrameworkLocals } from "../framework-B6JAPr1i.js";
7
7
  import { t as Validated } from "../shared-DsBcvj6q.js";
8
8
  import { AnyEntry, Contributions } from "@supabase/middleware";
9
9
  import { StandardSchemaV1 } from "@standard-schema/spec";
@@ -1,8 +1,8 @@
1
1
  import { D as AccessTopicPolicy, E as AccessPolicySql } from "../types-BzIYSSWK.js";
2
2
  import { et as TemplateParams, tt as TemplateValues } from "../bucket-CrsJNHzi.js";
3
3
  import { t as RealtimeStatus } from "../realtime-status-D3oUx3o4.js";
4
- import { A as TriggerTopic, C as TopicSubscription, D as TriggerLookup, E as TopicTriggerValue, F as FanOutResult, I as TopicFanOutOptions, M as defineTopic, N as rowChange, O as TriggerOptions, P as rowKeys, S as TopicSubscribeOptions, T as TopicTriggerOptions, _ as TopicMessage, a as PresenceOutput, b as TopicPermission, c as RealtimeClient, d as SubscribeOptions, f as Subscription, g as TopicHandlers, h as TopicEvent, i as PresenceOptions, j as TriggerValue, k as TriggerPayloadMode, 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 TopicOptions, w as TopicTriggerLookup, x as TopicSqlOptions, y as TopicPayload } from "../topic-x-mrN_Ff.js";
5
- import { a as watchTopic, i as topicPort, n as TopicPort, r as TopicWatch, t as TopicHandle } from "../watch-topic-D6bcqOrJ.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-lMApFSAd.js";
7
- import { n as subjectReaders, t as SubjectReadersOptions } from "../subject-readers-YL8H9G8X.js";
4
+ import { A as TriggerTopic, C as TopicSubscription, D as TriggerLookup, E as TopicTriggerValue, F as FanOutResult, I as TopicFanOutOptions, M as defineTopic, N as rowChange, O as TriggerOptions, P as rowKeys, S as TopicSubscribeOptions, T as TopicTriggerOptions, _ as TopicMessage, a as PresenceOutput, b as TopicPermission, c as RealtimeClient, d as SubscribeOptions, f as Subscription, g as TopicHandlers, h as TopicEvent, i as PresenceOptions, j as TriggerValue, k as TriggerPayloadMode, 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 TopicOptions, w as TopicTriggerLookup, x as TopicSqlOptions, y as TopicPayload } from "../topic-D7F2FBNp.js";
5
+ import { a as watchTopic, i as topicPort, n as TopicPort, r as TopicWatch, t as TopicHandle } from "../watch-topic-BIEaSN0Y.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-B5awu2SP.js";
7
+ import { n as subjectReaders, t as SubjectReadersOptions } from "../subject-readers-D1Km_Q42.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 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 { Sn as EntitySchema } from "./define-block-Ds3aLZwz.js";
1
+ import { Sn as EntitySchema } from "./define-block-CDw9YGVh.js";
2
2
  import { s as FormFieldType } from "./form-definition-BN8shngm.js";
3
3
  /** The input a field renders: a forms block field type, or a date and time. */
4
4
  type RecordFormInput = FormFieldType | "datetime";
@@ -1,13 +1,13 @@
1
1
  import { b as DbError, t as AsyncResult } from "../result-DTOQRyGY.js";
2
2
  import { et as RecordRef } from "../types-BzIYSSWK.js";
3
- import { _n as recordBindingWrite, an as RecordBindingDefinition, cn as RecordBindingResult, dn as RecordBindingWriteName, fn as RecordBindingWriteOutput, gn as defineRecordBinding, hn as TimelineItem, in as RecordBindingData, ln as RecordBindingWrite, mn as RecordRowInput, nn as AnyRecordBindingWrite, on as RecordBindingOptions, pn as RecordBindingWrites, rn as RecordBinding, sn as RecordBindingPermissions, tn as AnyRecordBinding, un as RecordBindingWriteInput, vn as recordEventMatches, yn as recordRowInput } from "../define-block-Ds3aLZwz.js";
4
- 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-Dbd1E5Au.js";
5
- import { p as SubscriptionStatus } from "../topic-x-mrN_Ff.js";
6
- import { n as TopicPort } from "../watch-topic-D6bcqOrJ.js";
7
- import { n as Controller, t as AuthPort } from "../controller-CAcLEndc.js";
3
+ import { _n as recordBindingWrite, an as RecordBindingDefinition, cn as RecordBindingResult, dn as RecordBindingWriteName, fn as RecordBindingWriteOutput, gn as defineRecordBinding, hn as TimelineItem, in as RecordBindingData, ln as RecordBindingWrite, mn as RecordRowInput, nn as AnyRecordBindingWrite, on as RecordBindingOptions, pn as RecordBindingWrites, rn as RecordBinding, sn as RecordBindingPermissions, tn as AnyRecordBinding, un as RecordBindingWriteInput, vn as recordEventMatches, yn as recordRowInput } from "../define-block-CDw9YGVh.js";
4
+ 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-DAS_5OfK.js";
5
+ import { p as SubscriptionStatus } from "../topic-D7F2FBNp.js";
6
+ import { n as TopicPort } from "../watch-topic-BIEaSN0Y.js";
7
+ import { n as Controller, t as AuthPort } from "../controller-CJ6rLnpS.js";
8
8
  import { a as RecordSummaryOptions, c as Subjects, f as MyWorkKind, i as RecordSummary, n as MyWorkItem, r as MyWorkOptions } from "../subjects-CVjAE7nz.js";
9
- 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-CrO48Qa6.js";
10
- 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-BQA-lawE.js";
9
+ 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-c6I3uxya.js";
10
+ 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-C-gIxGXe.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;
@@ -1,6 +1,6 @@
1
1
  import { Ut as AnyAuthorizer } from "./types-BzIYSSWK.js";
2
- import { r as AuthState } from "./resolve-BIpQRhvF.js";
3
- import { c as ResourceLoaderContext, s as BlockRequireOptions } from "./kit-DCuO1ZhB.js";
2
+ import { r as AuthState } from "./resolve-XlMQRUeG.js";
3
+ import { c as ResourceLoaderContext, s as BlockRequireOptions } from "./kit-lHFpu2_1.js";
4
4
  /** Where refused callers go instead of a Problem Details response. */
5
5
  interface RefusalRedirects {
6
6
  /** Sign-in page for callers without a session; gets `?next=<path>`. */
@@ -1,7 +1,7 @@
1
1
  /// <reference lib="esnext.temporal" />
2
2
  import { b as DbError } from "./result-DTOQRyGY.js";
3
3
  import { t as StandardSchemaV1 } from "./standard-DRX6Ch1j.js";
4
- import { n as AuthOutageEvent, u as RefreshEvent } from "./events-DCw3c6pj.js";
4
+ import { n as AuthOutageEvent, u as RefreshEvent } from "./events-DddDlibJ.js";
5
5
  import { n as Logger } from "./logger-0LfhvwE4.js";
6
6
  import { t as BetterSupabaseEnv } from "./index-F6lsRlsr.js";
7
7
  import { CookieOptions } from "@supabase/ssr";
@@ -1,5 +1,5 @@
1
1
  import { n as ResourceActionSpec } from "./resource-CaYpB07K.js";
2
- import { i as ResourceContext, n as Parsed, r as ResourceAction, t as ActionArgs } from "./resource-types-CTcc37WL.js";
2
+ import { i as ResourceContext, n as Parsed, r as ResourceAction, t as ActionArgs } from "./resource-types-CF3Uc6OW.js";
3
3
  import { StandardSchemaV1 } from "@standard-schema/spec";
4
4
  /**
5
5
  * Defines an action and types its handler's `data` and `query` from the
@@ -1,7 +1,7 @@
1
1
  import { D as ValidationIssue, f as Result } from "./result-DTOQRyGY.js";
2
2
  import { It as RequestContext, at as Row, dt as TableKey, ft as TableMeta, gt as Update, k as AnyModels, q as Insert } from "./types-BzIYSSWK.js";
3
- import { Gt as SelectArg } from "./define-BvkaC3Oh.js";
4
- import { a as RespondOptions } from "./respond-CAxhkwAi.js";
3
+ import { Gt as SelectArg } from "./define-C_He1bQO.js";
4
+ import { a as RespondOptions } from "./respond-D7kUatjc.js";
5
5
  import { D as ResourceOperation, k as TableVerb } from "./model-Lxa_mOzB.js";
6
6
  import { a as ResourcePlan, i as ResourcePagination, n as ResourceActionSpec, r as ResourceDescription } from "./resource-CaYpB07K.js";
7
7
  import { StandardSchemaV1 } from "@standard-schema/spec";
@@ -1,5 +1,5 @@
1
1
  import { dt as TableKey, k as AnyModels } from "./types-BzIYSSWK.js";
2
- import { l as ResourceRouteOptions } from "./resource-types-CTcc37WL.js";
2
+ import { l as ResourceRouteOptions } from "./resource-types-CF3Uc6OW.js";
3
3
  /** Resources by table name; `true` serves a table with the defaults. */
4
4
  type ResourceMap<M extends AnyModels, Ref = string, DbT = unknown> = { readonly [T in TableKey<M>]?: ResourceRouteOptions<M, T, Ref, DbT> | true; };
5
5
  export { ResourceMap as t };
@@ -1,5 +1,5 @@
1
1
  import { b as DbError } from "./result-DTOQRyGY.js";
2
- import { r as AuthState } from "./resolve-BIpQRhvF.js";
2
+ import { r as AuthState } from "./resolve-XlMQRUeG.js";
3
3
  import { t as Aal } from "./mfa-CM5r904M.js";
4
4
  /**
5
5
  * A router or browser prefetch, by its request headers: Next.js route and