better-supabase 0.23.0 → 0.28.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 (364) hide show
  1. package/dist/{access-sql-bjWFUWlk.js → access-sql-CTDNuxRv.js} +177 -12
  2. package/dist/{ai-schedules-7uQNMXve.d.ts → ai-schedules-yGZH-vQb.d.ts} +1 -1
  3. package/dist/ai-sdk/agents/index.d.ts +2 -2
  4. package/dist/ai-sdk/batches/index.d.ts +1 -1
  5. package/dist/ai-sdk/index.d.ts +1 -1
  6. package/dist/ai-sdk/mcp/index.d.ts +3 -3
  7. package/dist/{api-CHObZL7m.d.ts → api-B1OkIWdx.d.ts} +3 -3
  8. package/dist/{api-keys-D5k63K6y.d.ts → api-keys-ClhKBDcc.d.ts} +1 -1
  9. package/dist/{app-tables-CJO6pWwy.d.ts → app-tables-62GqZIhd.d.ts} +1 -1
  10. package/dist/{approvals-Dh9dUXrN.d.ts → approvals-C5fmPLsH.d.ts} +1 -1
  11. package/dist/astro/index.d.ts +5 -5
  12. package/dist/{authorization-Dtwpjeuz.d.ts → authorization-BCG1v0iC.d.ts} +73 -15
  13. package/dist/{authorization-hooks-D_pwXlBs.d.ts → authorization-hooks-DtzreCAq.d.ts} +1 -1
  14. package/dist/{automations-FCnWy387.js → automations-8L3NEuoq.js} +4 -1
  15. package/dist/{availability-vguUvEK2.d.ts → availability-BdeKCHpl.d.ts} +10 -0
  16. package/dist/better-result/index.d.ts +2 -2
  17. package/dist/{bind-DaoTunvE.d.ts → bind-C54jD0r3.d.ts} +4 -4
  18. package/dist/{block-env-DUyo2I5O.d.ts → block-env-CM-LFfj4.d.ts} +4 -4
  19. package/dist/blocks/access-requests/index.d.ts +2 -2
  20. package/dist/blocks/activities/index.d.ts +3 -3
  21. package/dist/blocks/agents/index.d.ts +2 -2
  22. package/dist/blocks/ai-cache/index.d.ts +1 -1
  23. package/dist/blocks/ai-chat/index.d.ts +5 -5
  24. package/dist/blocks/ai-files/index.d.ts +1 -1
  25. package/dist/blocks/ai-keys/index.d.ts +3 -3
  26. package/dist/blocks/ai-schedules/index.d.ts +2 -2
  27. package/dist/blocks/announcements/index.d.ts +5 -5
  28. package/dist/blocks/api-keys/index.d.ts +5 -5
  29. package/dist/blocks/approvals/index.d.ts +3 -3
  30. package/dist/blocks/assets/index.d.ts +2 -2
  31. package/dist/blocks/assignment/index.d.ts +3 -3
  32. package/dist/blocks/attachments/index.d.ts +3 -3
  33. package/dist/blocks/audit/index.d.ts +7 -7
  34. package/dist/blocks/automations/index.d.ts +5 -5
  35. package/dist/blocks/billable-time/index.d.ts +2 -2
  36. package/dist/blocks/billing/index.d.ts +5 -5
  37. package/dist/blocks/bookings/index.d.ts +6 -6
  38. package/dist/blocks/bulk/index.d.ts +2 -2
  39. package/dist/blocks/calendar/index.d.ts +46 -13
  40. package/dist/blocks/calendar/index.js +130 -30
  41. package/dist/blocks/catalog/index.d.ts +2 -2
  42. package/dist/blocks/channels/index.d.ts +3 -3
  43. package/dist/blocks/collections/index.d.ts +3 -3
  44. package/dist/blocks/comments/index.d.ts +5 -5
  45. package/dist/blocks/compliance/index.d.ts +2 -2
  46. package/dist/blocks/connectors/index.d.ts +3 -3
  47. package/dist/blocks/contacts/index.d.ts +3 -3
  48. package/dist/blocks/content/index.d.ts +2 -2
  49. package/dist/blocks/contracts/index.d.ts +2 -2
  50. package/dist/blocks/courses/index.d.ts +2 -2
  51. package/dist/blocks/created-by/index.d.ts +1 -1
  52. package/dist/blocks/custom-fields/index.d.ts +2 -2
  53. package/dist/blocks/custom-fields/index.js +1 -1
  54. package/dist/blocks/data-lifecycle/index.d.ts +4 -4
  55. package/dist/blocks/deals/index.d.ts +3 -3
  56. package/dist/blocks/dispatch/index.d.ts +2 -2
  57. package/dist/blocks/documents/index.d.ts +2 -2
  58. package/dist/blocks/domains/index.d.ts +2 -2
  59. package/dist/blocks/donations/index.d.ts +2 -2
  60. package/dist/blocks/drive/index.d.ts +4 -4
  61. package/dist/blocks/employees/index.d.ts +21 -6
  62. package/dist/blocks/employees/index.js +37 -2
  63. package/dist/blocks/enrichment/index.d.ts +3 -3
  64. package/dist/blocks/enrollments/index.d.ts +2 -2
  65. package/dist/blocks/entitlements/index.d.ts +3 -3
  66. package/dist/blocks/expenses/index.d.ts +2 -2
  67. package/dist/blocks/field-history/index.d.ts +1 -1
  68. package/dist/blocks/flags/index.d.ts +2 -2
  69. package/dist/blocks/forecasts/index.d.ts +3 -3
  70. package/dist/blocks/forms/index.d.ts +3 -3
  71. package/dist/blocks/goals/index.d.ts +1 -1
  72. package/dist/blocks/guests/index.d.ts +2 -2
  73. package/dist/blocks/hiring/index.d.ts +13 -6
  74. package/dist/blocks/hiring/index.js +15 -4
  75. package/dist/blocks/identities/index.d.ts +2 -2
  76. package/dist/blocks/imports/index.d.ts +2 -2
  77. package/dist/blocks/inbox/index.d.ts +6 -6
  78. package/dist/blocks/incidents/index.d.ts +2 -2
  79. package/dist/blocks/index.d.ts +4 -4
  80. package/dist/blocks/inventory/index.d.ts +2 -2
  81. package/dist/blocks/invoices/index.d.ts +3 -3
  82. package/dist/blocks/knowledge/index.d.ts +1 -1
  83. package/dist/blocks/lead-scoring/index.d.ts +1 -1
  84. package/dist/blocks/leases/index.d.ts +2 -2
  85. package/dist/blocks/leave/index.d.ts +2 -2
  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 +3 -3
  99. package/dist/blocks/organizations/index.d.ts +4 -4
  100. package/dist/blocks/outbox/index.d.ts +2 -2
  101. package/dist/blocks/passes/index.d.ts +3 -3
  102. package/dist/blocks/permissions/index.d.ts +3 -3
  103. package/dist/blocks/pipelines/index.d.ts +3 -3
  104. package/dist/blocks/posts/index.d.ts +2 -2
  105. package/dist/blocks/profiles/index.d.ts +1 -1
  106. package/dist/blocks/promotions/index.d.ts +2 -2
  107. package/dist/blocks/push/index.d.ts +3 -3
  108. package/dist/blocks/queue/index.d.ts +1 -1
  109. package/dist/blocks/quotes/index.d.ts +3 -3
  110. package/dist/blocks/rank/index.d.ts +1 -1
  111. package/dist/blocks/reactions/index.d.ts +5 -5
  112. package/dist/blocks/relations/index.d.ts +2 -2
  113. package/dist/blocks/reminders/index.d.ts +4 -4
  114. package/dist/blocks/reviews/index.d.ts +2 -2
  115. package/dist/blocks/saved-views/index.d.ts +4 -4
  116. package/dist/blocks/scores/index.d.ts +2 -2
  117. package/dist/blocks/search/index.d.ts +4 -4
  118. package/dist/blocks/security-events/index.d.ts +3 -3
  119. package/dist/blocks/segments/index.d.ts +3 -3
  120. package/dist/blocks/sequences/index.d.ts +2 -2
  121. package/dist/blocks/service-accounts/index.d.ts +2 -2
  122. package/dist/blocks/sessions/index.d.ts +2 -2
  123. package/dist/blocks/settings/index.d.ts +3 -3
  124. package/dist/blocks/share-links/index.d.ts +2 -2
  125. package/dist/blocks/shipments/index.d.ts +2 -2
  126. package/dist/blocks/signatures/index.d.ts +2 -2
  127. package/dist/blocks/signing-keys/index.d.ts +2 -2
  128. package/dist/blocks/sla/index.d.ts +3 -3
  129. package/dist/blocks/sso/index.d.ts +3 -3
  130. package/dist/blocks/state-machine/index.d.ts +2 -2
  131. package/dist/blocks/subjects/index.d.ts +2 -2
  132. package/dist/blocks/tags/index.d.ts +3 -3
  133. package/dist/blocks/tasks/index.d.ts +6 -6
  134. package/dist/blocks/tasks/index.js +1 -1
  135. package/dist/blocks/teams/index.d.ts +2 -2
  136. package/dist/blocks/templates/index.d.ts +4 -4
  137. package/dist/blocks/time-tracking/index.d.ts +10 -5
  138. package/dist/blocks/time-tracking/index.js +16 -9
  139. package/dist/blocks/timeline/index.d.ts +4 -4
  140. package/dist/blocks/trash/index.d.ts +2 -2
  141. package/dist/blocks/undo/index.d.ts +2 -2
  142. package/dist/blocks/updated-at/index.d.ts +1 -1
  143. package/dist/blocks/usage/index.d.ts +2 -2
  144. package/dist/blocks/vercel-marketplace/index.d.ts +2 -2
  145. package/dist/blocks/versions/index.d.ts +2 -2
  146. package/dist/blocks/waitlist/index.d.ts +2 -2
  147. package/dist/blocks/webhooks/index.d.ts +6 -6
  148. package/dist/blocks/workflow-editor/index.d.ts +7 -7
  149. package/dist/blocks/workflows/index.d.ts +5 -5
  150. package/dist/{bookings-BpCNphYp.d.ts → bookings-CVw5-Q0Z.d.ts} +1 -1
  151. package/dist/chat-sdk/index.d.ts +2 -2
  152. package/dist/cli/{add-DVHniZOO.js → add-BKcE_g9D.js} +2 -2
  153. package/dist/cli/{add-C7lKQNBL.js → add-DUyg9qna.js} +40 -15
  154. package/dist/cli/add-pDOlqWUa.js +1 -0
  155. package/dist/cli/{backfill-Lrn-Qp5X.js → backfill-r9RELEEh.js} +4 -4
  156. package/dist/cli/bin.js +1 -1
  157. package/dist/cli/{blocks-BKNd886C.js → blocks-DTOFdrxL.js} +1 -1
  158. package/dist/cli/{blocks-2Yw9t-_U.js → blocks-k1OG8XDs.js} +2 -2
  159. package/dist/cli/{cache-ByhPVMo-.js → cache-Czfw7Iow.js} +1 -1
  160. package/dist/cli/{codemod-C0eXpzFu.js → codemod-ClmbiLuL.js} +3 -3
  161. package/dist/cli/{command-BWEEXmtz.js → command-CVzTJSLp.js} +31 -0
  162. package/dist/cli/{completion-8EDK21xj.js → completion-CNCqE-Gb.js} +1 -1
  163. package/dist/cli/{completion-BfnKI4QZ.js → completion-Dpk6vh0p.js} +2 -2
  164. package/dist/cli/{completion-Bt7LMypX.js → completion-DxEXxFpz.js} +2 -2
  165. package/dist/cli/{config-CeaQMrvS.js → config-D2YUlzrl.js} +1 -1
  166. package/dist/cli/{config-WKDixoGK.js → config-EjNj3HfT.js} +1 -1
  167. package/dist/cli/{config-BVfeG3A5.js → config-KvV-sLZL.js} +290 -10
  168. package/dist/cli/{content-mapper-qH-_YQ8H.js → content-mapper-ez_mT0d4.js} +2 -2
  169. package/dist/cli/{db-DwjyUbAh.js → db-uYN6O5Eg.js} +38 -14
  170. package/dist/cli/{doctor-BnxkqXGA.js → doctor-BD9oo4MG.js} +31 -28
  171. package/dist/cli/{env-DMgjB_4y.js → env-BK0xKMeU.js} +1 -2
  172. package/dist/cli/{env-C-Bl6Awn.js → env-Bat6ogep.js} +1 -1
  173. package/dist/cli/env-Cy2lWBRC.js +1 -0
  174. package/dist/cli/{env-BCgVZkcb.js → env-DEAtgGoj.js} +2 -2
  175. package/dist/cli/{exec--Q1ZEWUW.js → exec-Ca5s-ygi.js} +1 -1
  176. package/dist/cli/{gen-aERmP3Sw.js → gen-8Ya8n2sA.js} +16 -16
  177. package/dist/cli/in-stack-diff-Cp-tVPj2.js +186 -0
  178. package/dist/cli/index.d.ts +1 -2
  179. package/dist/cli/index.js +8 -8
  180. package/dist/cli/{init-DWUqVSVW.js → init-DgL3sDfQ.js} +118 -11
  181. package/dist/cli/{keys-CbaL0lnw.js → keys-CsanNk-2.js} +1 -1
  182. package/dist/cli/{live-KcdTBUij.js → live-CMMEct_F.js} +2 -2
  183. package/dist/cli/{mcp-Dsjjo-LT.js → mcp-DEHtzAkq.js} +4 -4
  184. package/dist/cli/{metadata-DWQSIZ59.js → metadata-BZh-cOzC.js} +3 -3
  185. package/dist/cli/migrate-sVs1QYTM.js +306 -0
  186. package/dist/cli/{migration-safety-Cy7xlU4G.js → migration-safety-ClnYNMdq.js} +2 -2
  187. package/dist/cli/migrations-DWh38tO9.js +117 -0
  188. package/dist/cli/{module-migration-C6NLY9iZ.js → module-migration-CXfRJIV4.js} +2 -2
  189. package/dist/cli/{moved-DVwgE8lV.js → moved-Cnb4fp49.js} +1 -1
  190. package/dist/cli/{parse-B079x40m.js → parse-BWM6IGhF.js} +1 -1
  191. package/dist/cli/powersync-DURhWDVc.js +1 -0
  192. package/dist/cli/{powersync-CE_hQdgc.js → powersync-Dnyr-Wy5.js} +4 -3
  193. package/dist/cli/{print-Cy_ram9N.js → print-DJrSr56b.js} +2 -2
  194. package/dist/cli/{migrations-CUjNXokR.js → providers-CpaISitn.js} +4 -116
  195. package/dist/cli/{remove-DmwjzqaW.js → remove-ChaieK3t.js} +6 -6
  196. package/dist/cli/{render-CF09FCra.js → render-DUNJ4Pss.js} +8 -5
  197. package/dist/cli/{run-BYpZ8FjF.js → run-ChCQPYOh.js} +41 -39
  198. package/dist/cli/{run-lh-chAJW.js → run-Cl9COGuy.js} +10 -10
  199. package/dist/cli/{run-DmOTMa44.js → run-CxFDjL1Q.js} +4 -4
  200. package/dist/cli/seed-BJ7c-ktX.js +1 -0
  201. package/dist/cli/{seed-BMynpMPy.js → seed-BzVLTdRl.js} +3 -3
  202. package/dist/cli/{shared-D05A6t1e.js → shared-5uqc1GBj.js} +1 -1
  203. package/dist/cli/{skills-FXAVPLzp.js → skills-0gz_qjVb.js} +1 -1
  204. package/dist/cli/{snapshot-BITNbA5V.js → snapshot-DdAP7LWO.js} +3 -3
  205. package/dist/cli/{source-GGJHuzpH.js → source-2irbWSck.js} +1 -1
  206. package/dist/cli/{source-args-CDmmFmFG.js → source-args-DAcQt-Mh.js} +1 -1
  207. package/dist/cli/{spec-BGcRdlhN.js → spec-B7n4Rthp.js} +3 -3
  208. package/dist/cli/{spec-BjxXWaNQ.js → spec-_MS0ym5r.js} +1 -1
  209. package/dist/cli/{sql-layout-BoD5ynN9.js → sql-layout-DYKkQw1k.js} +21 -7
  210. package/dist/cli/{stack-DgASZP0K.js → stack-CteM33gC.js} +3 -3
  211. package/dist/cli/{stack-status-B_Ipd_-z.js → stack-status-BkkYRlXG.js} +1 -1
  212. package/dist/cli/{stacks-BYlQ96WS.js → stacks-CiDBH1dB.js} +1 -1
  213. package/dist/cli/{sync-_QlsTmqu.js → sync-DnSOrQuA.js} +4 -3
  214. package/dist/cli/table-DeH8X0qz.js +89 -0
  215. package/dist/cli/{upgrade-Cwhb1M7O.js → upgrade-CWdrC-K3.js} +5 -4
  216. package/dist/cli/{upgrade-n9ar1kc4.js → upgrade-cMy5fKkg.js} +3 -3
  217. package/dist/cli/{version-RSpJIWDd.js → version-C5RAWmrD.js} +1 -1
  218. package/dist/client/index.d.ts +5 -5
  219. package/dist/client/native/index.d.ts +4 -4
  220. package/dist/{cloud-event-CzZTJkXv.d.ts → cloud-event-DcJwder2.d.ts} +1 -1
  221. package/dist/{composite-ChzHhSB0.d.ts → composite-CWJvZgni.d.ts} +6 -6
  222. package/dist/config/index.d.ts +3 -3
  223. package/dist/config/index.js +4 -4
  224. package/dist/{config-RwpFcPq8.js → config-CTeR7XHK.js} +6 -5
  225. package/dist/{config-vHLJ8SKf.js → config-CvJHIy5q.js} +4 -3
  226. package/dist/{connectors-Fud4amxp.d.ts → connectors-CHGiffYH.d.ts} +1 -1
  227. package/dist/{context-CMf4OKpN.d.ts → context-BFEX0b7H.d.ts} +109 -4
  228. package/dist/{controller-BGto_kYM.d.ts → controller-Cl6HmMBk.d.ts} +1 -1
  229. package/dist/{conversion-DBgMck5U.d.ts → conversion-DlfStnln.d.ts} +1 -1
  230. package/dist/create/index.d.ts +62 -3
  231. package/dist/create/index.js +67 -4
  232. package/dist/create/lite/index.d.ts +140 -3
  233. package/dist/create/lite/index.js +399 -47
  234. package/dist/credentials/index.d.ts +3 -3
  235. package/dist/{define-Lf6rI2QN.d.ts → define-BLP6XtoL.d.ts} +1 -1
  236. package/dist/{define-block-DCAiOrNX.d.ts → define-block-DibVN37N.d.ts} +4 -4
  237. package/dist/edge/index.d.ts +8 -8
  238. package/dist/elysia/index.d.ts +1 -1
  239. package/dist/{ended-gUsMZVNg.d.ts → ended-B8RyuUXF.d.ts} +1 -1
  240. package/dist/{entitlements-CIhVQ-0u.d.ts → entitlements-Y-n4RGAd.d.ts} +2 -2
  241. package/dist/eve/index.d.ts +2 -2
  242. package/dist/{event-calendar-DCufbihU.d.ts → event-calendar-DVLs2wUO.d.ts} +1 -1
  243. package/dist/events/index.d.ts +3 -3
  244. package/dist/{events-vcqenSYU.d.ts → events-Cc9DDQWH.d.ts} +2 -0
  245. package/dist/{executor-DNK401lZ.d.ts → executor-C-Ox9eKq.d.ts} +1 -1
  246. package/dist/{executor-aFV7nEBs.d.ts → executor-DNPm13a9.d.ts} +2 -2
  247. package/dist/expo/index.d.ts +3 -3
  248. package/dist/{field-errors-BDhPaO0a.d.ts → field-errors-Btn3czyz.d.ts} +7 -7
  249. package/dist/{framework-DKA3fTHl.d.ts → framework-GlxXiotm.d.ts} +6 -6
  250. package/dist/h3/index.d.ts +1 -1
  251. package/dist/h3/v1/index.d.ts +1 -1
  252. package/dist/hono/index.d.ts +8 -8
  253. package/dist/{index-CFWlHuVY.d.ts → index-8wOL81rB.d.ts} +1 -1
  254. package/dist/{index-ClvuSZEz.d.ts → index-BfYDY6eh.d.ts} +3 -3
  255. package/dist/{index-ujNqgZ6B.d.ts → index-C0_cweyT.d.ts} +11 -11
  256. package/dist/{index--OhYKouV.d.ts → index-CAY7rIQs.d.ts} +3 -3
  257. package/dist/{index-CG9rA8H8.d.ts → index-C_qlBJ3k.d.ts} +2 -2
  258. package/dist/{index-iRkFvJ7J.d.ts → index-D1ckLbUM.d.ts} +1 -1
  259. package/dist/{index-lV43eM34.d.ts → index-DPMVWm_Z.d.ts} +4 -4
  260. package/dist/{index-4MStWaeF.d.ts → index-k-SyCzcQ.d.ts} +105 -120
  261. package/dist/index.d.ts +2 -2
  262. package/dist/{instances-BPJSESPx.js → instances-C7qUTjhJ.js} +85 -6
  263. package/dist/{kit-CVgQCIBO.d.ts → kit-Dxx3MT8m.d.ts} +3 -3
  264. package/dist/list/index.d.ts +1 -1
  265. package/dist/{list-query-XYfUZb0j.d.ts → list-query-XHoYDlRN.d.ts} +1 -1
  266. package/dist/mapper/bin.js +7 -7
  267. package/dist/mcp/index.d.ts +5 -5
  268. package/dist/mcp/sdk/index.d.ts +5 -5
  269. package/dist/nestjs/index.d.ts +2 -2
  270. package/dist/next/client/index.d.ts +1 -1
  271. package/dist/next/index.d.ts +21 -21
  272. package/dist/node/index.d.ts +2 -2
  273. package/dist/{operations-qSBBV5vl.d.ts → operations-DE7SOBw-.d.ts} +1 -1
  274. package/dist/{options-D4ADKTKo.js → options-B5E2MGIz.js} +6 -1
  275. package/dist/options-C4LuqmdG.js +15 -0
  276. package/dist/{options-D2s7fT1s.js → options-COo7_3MX.js} +2 -1
  277. package/dist/{options-D32-YxnO.js → options-DhoLMknl.js} +3 -1
  278. package/dist/{options-BPp2zzsz.js → options-eTepQ1rZ.js} +2 -1
  279. package/dist/orpc/index.d.ts +7 -7
  280. package/dist/otel/index.d.ts +1 -1
  281. package/dist/otel/index.js +4 -4
  282. package/dist/{outbox-HxjZTfF6.d.ts → outbox-DxZgoKwp.d.ts} +2 -2
  283. package/dist/{pool-CrtT4dg-.d.ts → pool-wjbAMqc1.d.ts} +1 -1
  284. package/dist/{ports-DbHiNSAa.d.ts → ports-DP0bthUk.d.ts} +1 -1
  285. package/dist/postgres/index.d.ts +1 -1
  286. package/dist/powersync/index.d.ts +3 -3
  287. package/dist/preset/index.d.ts +3 -3
  288. package/dist/preset/index.js +3 -3
  289. package/dist/{preset-B1xXOJ0T.js → preset-DwuWNBip.js} +2 -2
  290. package/dist/{project-BM6QMtzV.js → project-Bo1vZqVs.js} +5 -5
  291. package/dist/{provider-CqwEOLCA.d.ts → provider-ClrIplXa.d.ts} +1 -1
  292. package/dist/{push-token-BwF1fyjA.d.ts → push-token-v3xCcVU7.d.ts} +1 -1
  293. package/dist/query/index.d.ts +1 -1
  294. package/dist/react/index.d.ts +7 -7
  295. package/dist/react/native/index.d.ts +1 -1
  296. package/dist/react/server.d.ts +8 -8
  297. package/dist/react/session.d.ts +2 -2
  298. package/dist/react-router/index.d.ts +5 -5
  299. package/dist/realtime/index.d.ts +4 -4
  300. package/dist/realtime/index.js +1 -1
  301. package/dist/{record-form-BbZpwsEi.d.ts → record-form-D2-F4IwS.d.ts} +1 -1
  302. package/dist/records/index.d.ts +7 -7
  303. package/dist/{refresh-DT_ICaK-.d.ts → refresh-CCKB1Wa6.d.ts} +1 -1
  304. package/dist/{refusal-OrlI3g4H.d.ts → refusal-D_tklIEb.d.ts} +2 -2
  305. package/dist/{resolve-CXX6DHv3.d.ts → resolve-Bj1qD7Dy.d.ts} +1 -1
  306. package/dist/{resolved-names-WzRYhUez.js → resolved-names-iLBOUaib.js} +2 -2
  307. package/dist/{resource-execute-CUG6xUuh.d.ts → resource-execute-BSTIfp1D.d.ts} +1 -1
  308. package/dist/{resource-types-DjZ91WKA.d.ts → resource-types-D5WEvYtV.d.ts} +2 -2
  309. package/dist/{resources-6Ncdt9XT.d.ts → resources-CsZ7RhZC.d.ts} +1 -1
  310. package/dist/{respond-oZeJ342J.d.ts → respond-BzRG-0qc.d.ts} +1 -1
  311. package/dist/server/index.d.ts +20 -20
  312. package/dist/{server-types-BH6AjDBN.d.ts → server-types-BlDiY-ya.d.ts} +8 -8
  313. package/dist/{session-Y5SSYO2C.d.ts → session-BGP98Rgj.d.ts} +5 -5
  314. package/dist/{session-status-qQLm7jzh.d.ts → session-status-C4t7kbSn.d.ts} +2 -2
  315. package/dist/{sign-in-BAjR49fq.d.ts → sign-in-CAadgm33.d.ts} +2 -2
  316. package/dist/solid/index.d.ts +9 -9
  317. package/dist/solid-start/index.d.ts +5 -5
  318. package/dist/spec/index.d.ts +1 -1
  319. package/dist/sql/index.d.ts +5 -5
  320. package/dist/sql/index.js +5 -5
  321. package/dist/{sql-CNH8kjLS.js → sql-B7vBP9g0.js} +6248 -2092
  322. package/dist/sqlite/index.d.ts +1 -1
  323. package/dist/ssr/index.d.ts +5 -5
  324. package/dist/storage/index.js +1 -1
  325. package/dist/{subject-readers-8GySC9Z8.d.ts → subject-readers-DJbzlm8a.d.ts} +1 -1
  326. package/dist/{subjects-NomQg6Eg.d.ts → subjects-BYCL-6hA.d.ts} +15 -1
  327. package/dist/{support-B4ZBVxt3.d.ts → support-D7CMbhRT.d.ts} +4 -4
  328. package/dist/{support-view-BYOgwXsJ.d.ts → support-view-CIDXF3_H.d.ts} +1 -1
  329. package/dist/svelte/index.d.ts +8 -8
  330. package/dist/sveltekit/index.d.ts +6 -6
  331. package/dist/{tags-Cjtcp5cN.d.ts → tags-Dg4Ywmqp.d.ts} +1 -1
  332. package/dist/tanstack-db/index.d.ts +1 -1
  333. package/dist/tanstack-start/index.d.ts +5 -5
  334. package/dist/{tenant-D4BA7XQ-.d.ts → tenant-CyLEXgot.d.ts} +2 -2
  335. package/dist/testing/index.d.ts +16 -16
  336. package/dist/testing/index.js +2 -2
  337. package/dist/{timeline-CEzj9v1z.d.ts → timeline-Cjl-1hiA.d.ts} +3 -3
  338. package/dist/{topic-utZqhw96.d.ts → topic-B_DGdAEs.d.ts} +3 -3
  339. package/dist/{topic-F0FKzJyQ.js → topic-DnsNG4Kj.js} +1 -1
  340. package/dist/{types-yj8VF4oY.d.ts → types-BdaBfYIw.d.ts} +2 -2
  341. package/dist/{types-DLnBJ3ST.d.ts → types-DF8JYEf5.d.ts} +2 -2
  342. package/dist/{types-EO2crSX_.d.ts → types-DR1MHh7N.d.ts} +1 -1
  343. package/dist/{vault-O-YlAyHb.d.ts → vault-BghaujrZ.d.ts} +1 -1
  344. package/dist/vercel-connect/index.d.ts +1 -1
  345. package/dist/{verify-B0KLBb3j.d.ts → verify-CI8LgSpv.d.ts} +1 -1
  346. package/dist/{view-DyFdMCqg.d.ts → view-BvNA7EOC.d.ts} +1 -1
  347. package/dist/vue/index.d.ts +9 -9
  348. package/dist/{watch-topic-B1UCoQfz.d.ts → watch-topic-1zIAtiNM.d.ts} +1 -1
  349. package/dist/workflow-sdk/builder/index.d.ts +3 -3
  350. package/dist/workflow-sdk/index.d.ts +1 -1
  351. package/dist/workflow-sdk/world/index.d.ts +1 -1
  352. package/dist/workflow-sdk/world/index.js +1 -1
  353. package/dist/{workflow-sdk-B3Ss55Fy.d.ts → workflow-sdk-BNsZrcVg.d.ts} +1 -1
  354. package/dist/{workflow-sdk-CE8sEK57.js → workflow-sdk-CaEw822d.js} +25 -4
  355. package/dist/yjs/index.d.ts +1 -1
  356. package/dist/yjs/index.js +1 -1
  357. package/package.json +11 -1
  358. package/schemas/config-v1.json +95 -1
  359. package/dist/cli/add-vZRn-uH0.js +0 -1
  360. package/dist/cli/env-xhwXk5Ri.js +0 -1
  361. package/dist/cli/in-stack-diff-DQTW53Vf.js +0 -257
  362. package/dist/cli/powersync-BOhjVQCb.js +0 -1
  363. package/dist/cli/seed-CO3j_bly.js +0 -1
  364. package/dist/options-DztCKw_f.js +0 -8
@@ -1,30 +1,30 @@
1
1
  import { b as DbError, f as Result } from "../result-DZeA5KS6.js";
2
2
  import { $ as RecordRef, O as AnyFunctions, k as AnyModels } from "../types-DFdg_4yN.js";
3
- import { r as AuthState } from "../resolve-CXX6DHv3.js";
3
+ import { r as AuthState } from "../resolve-Bj1qD7Dy.js";
4
4
  import { l as PermissionRef, t as AnyAuthorizer } from "../authorizer-B6X09otb.js";
5
- import { Qt as CacheAdapter, Y as DbStats, mt as QuerySpec, nt as ReadSet, t as BetterSupabase } from "../define-Lf6rI2QN.js";
6
- import { A as isSessionSnapshot, M as sessionCacheKey, O as SessionSnapshot, a as ServerContext, c as ServerOptions, j as issuedAtOf, k as authzVersionOf, l as SharedServer, n as BetterServer, r as ContextOptions } from "../server-types-BH6AjDBN.js";
5
+ import { Qt as CacheAdapter, Y as DbStats, mt as QuerySpec, nt as ReadSet, t as BetterSupabase } from "../define-BLP6XtoL.js";
6
+ import { A as isSessionSnapshot, M as sessionCacheKey, O as SessionSnapshot, a as ServerContext, c as ServerOptions, j as issuedAtOf, k as authzVersionOf, l as SharedServer, n as BetterServer, r as ContextOptions } from "../server-types-BlDiY-ya.js";
7
7
  import { n as Impersonator } from "../impersonation-YTa9dZUv.js";
8
8
  import { n as AmrEntry, t as Aal } from "../mfa-oIOYTpvc.js";
9
- import { S as BlockClientSource, on as RecordBindingOptions } from "../define-block-DCAiOrNX.js";
10
- 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-ClvuSZEz.js";
11
- import { t as tenantOf } from "../tenant-D4BA7XQ-.js";
12
- import { n as toSession, t as AuthSession } from "../view-DyFdMCqg.js";
13
- import { a as SupportPolicy, c as supportSessions, i as SupportOptions, o as SupportSessions, s as SupportStartRequest, t as ActiveSupport } from "../support-B4ZBVxt3.js";
14
- import { t as AuthOutageHook } from "../session-Y5SSYO2C.js";
15
- import { n as AuthKind, r as GuardOptions } from "../respond-oZeJ342J.js";
16
- import { a as AuthorizedContext, c as ResourceLoaderContext, i as AuthorizeOptions, l as Unwrapped, n as ActionParsed, r as ActionResult, t as ActionInput } from "../kit-CVgQCIBO.js";
17
- import { c as ListParseOptions, m as ListSearchParams } from "../list-query-XYfUZb0j.js";
18
- import { r as LiveCountSeed, t as CountRunner } from "../index--OhYKouV.js";
19
- import { r as MembershipClaim } from "../entitlements-CIhVQ-0u.js";
20
- import { i as ResourceContext, l as ResourceRouteOptions, o as ResourceHooks, r as ResourceAction, t as ActionArgs } from "../resource-types-DjZ91WKA.js";
21
- import { t as ResourceMap } from "../resources-6Ncdt9XT.js";
22
- import { t as defineAction } from "../resource-execute-CUG6xUuh.js";
9
+ import { S as BlockClientSource, on as RecordBindingOptions } from "../define-block-DibVN37N.js";
10
+ 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-BfYDY6eh.js";
11
+ import { t as tenantOf } from "../tenant-CyLEXgot.js";
12
+ import { n as toSession, t as AuthSession } from "../view-BvNA7EOC.js";
13
+ import { a as SupportPolicy, c as supportSessions, i as SupportOptions, o as SupportSessions, s as SupportStartRequest, t as ActiveSupport } from "../support-D7CMbhRT.js";
14
+ import { t as AuthOutageHook } from "../session-BGP98Rgj.js";
15
+ import { n as AuthKind, r as GuardOptions } from "../respond-BzRG-0qc.js";
16
+ import { a as AuthorizedContext, c as ResourceLoaderContext, i as AuthorizeOptions, l as Unwrapped, n as ActionParsed, r as ActionResult, t as ActionInput } from "../kit-Dxx3MT8m.js";
17
+ import { c as ListParseOptions, m as ListSearchParams } from "../list-query-XHoYDlRN.js";
18
+ import { r as LiveCountSeed, t as CountRunner } from "../index-CAY7rIQs.js";
19
+ import { r as MembershipClaim } from "../entitlements-Y-n4RGAd.js";
20
+ import { i as ResourceContext, l as ResourceRouteOptions, o as ResourceHooks, r as ResourceAction, t as ActionArgs } from "../resource-types-D5WEvYtV.js";
21
+ import { t as ResourceMap } from "../resources-CsZ7RhZC.js";
22
+ import { t as defineAction } from "../resource-execute-BSTIfp1D.js";
23
23
  import { n as BlockDataOf, r as BlockMethodName, t as BlockArgsOf } from "../block-method-CiVa2G-J.js";
24
- import { i as tagFor, t as TagOptions } from "../tags-Cjtcp5cN.js";
25
- import { c as RecordListCells, n as Timeline, o as RecordList, u as RecordListPage } from "../timeline-CEzj9v1z.js";
26
- import { r as safeRedirectPath } from "../sign-in-BAjR49fq.js";
27
- import { n as supportOf, t as SupportView } from "../support-view-BYOgwXsJ.js";
24
+ import { i as tagFor, t as TagOptions } from "../tags-Dg4Ywmqp.js";
25
+ import { c as RecordListCells, n as Timeline, o as RecordList, u as RecordListPage } from "../timeline-Cjl-1hiA.js";
26
+ import { r as safeRedirectPath } from "../sign-in-CAadgm33.js";
27
+ import { n as supportOf, t as SupportView } from "../support-view-CIDXF3_H.js";
28
28
  import { NextRequest } from "next/server.js";
29
29
  import { StandardSchemaV1 } from "@standard-schema/spec";
30
30
  //#region src/next/collector.d.ts
@@ -1,4 +1,4 @@
1
- import { n as RouteGuardOptions } from "../refusal-OrlI3g4H.js";
1
+ import { n as RouteGuardOptions } from "../refusal-D_tklIEb.js";
2
2
  import { i as toWebHeaders, r as applyWebHeaders, t as NodeHeaderTarget } from "../node-headers-BPtMP4_V.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-iRkFvJ7J.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-D1ckLbUM.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-Dtwpjeuz.js";
1
+ import { r as AuthorizationOperation } from "./authorization-BCG1v0iC.js";
2
2
  //#region src/core/operations.d.ts
3
3
  /** Operations by name, as `authorization.operations` or a module's own defaults. */
4
4
  type OperationTable = Readonly<Record<string, AuthorizationOperation>>;
@@ -4,7 +4,12 @@ const employeesSqlOptions = blockOptions({
4
4
  employmentTypes: option.strings(),
5
5
  extraColumns: option.extraColumns(),
6
6
  privateDetailsExtraColumns: option.extraColumns(),
7
- contractExtraColumns: option.extraColumns()
7
+ contractExtraColumns: option.extraColumns(),
8
+ name: option.string({ default: "single" }),
9
+ privateDetails: option.string({ default: "json" }),
10
+ contracts: option.string({ default: "append" }),
11
+ salaryUnits: option.string({ default: "minor" }),
12
+ contractOverlap: option.string({ default: "end" })
8
13
  });
9
14
  //#endregion
10
15
  export { employeesSqlOptions as t };
@@ -0,0 +1,15 @@
1
+ import { n as blockOptions, r as option } from "./options-CfVPctAw.js";
2
+ //#region src/blocks/calendar/options.ts
3
+ const calendarSqlOptions = blockOptions({
4
+ extraColumns: option.extraColumns(),
5
+ calendarExtraColumns: option.extraColumns(),
6
+ access: option.boolean({ default: false }),
7
+ accessFunctions: option.unknown(),
8
+ userFeed: option.boolean({ default: false }),
9
+ recurrence: option.string({ default: "inline" }),
10
+ rdates: option.boolean({ default: false }),
11
+ attendeeKey: option.string({ default: "email" }),
12
+ calendarDetails: option.boolean({ default: false })
13
+ });
14
+ //#endregion
15
+ export { calendarSqlOptions as t };
@@ -3,7 +3,8 @@ import { n as blockOptions, r as option } from "./options-CfVPctAw.js";
3
3
  const tasksSqlOptions = blockOptions({
4
4
  prefix: option.string({ default: "TASK-" }),
5
5
  maxAssignees: option.number({ default: 0 }),
6
- extraColumns: option.extraColumns()
6
+ extraColumns: option.extraColumns(),
7
+ authorCanDelete: option.boolean({ default: true })
7
8
  });
8
9
  //#endregion
9
10
  export { tasksSqlOptions as t };
@@ -2,7 +2,9 @@ import { n as blockOptions, r as option } from "./options-CfVPctAw.js";
2
2
  //#region src/blocks/custom-fields/options.ts
3
3
  const customFieldsSqlOptions = blockOptions({
4
4
  layout: option.string({ default: "normalized" }),
5
- auditReads: option.boolean({ default: false })
5
+ auditReads: option.boolean({ default: false }),
6
+ rankType: option.string({ default: "text" }),
7
+ readAccess: option.string({ default: "tenant" })
6
8
  });
7
9
  //#endregion
8
10
  export { customFieldsSqlOptions as t };
@@ -8,7 +8,8 @@ const timeTrackingSqlOptions = blockOptions({
8
8
  }),
9
9
  extraColumns: option.extraColumns(),
10
10
  approvals: option.boolean({ default: true }),
11
- userTimeZone: option.unknown()
11
+ userTimeZone: option.unknown(),
12
+ owner: option.string({ default: "user" })
12
13
  });
13
14
  //#endregion
14
15
  export { timeTrackingSqlOptions as t };
@@ -1,15 +1,15 @@
1
1
  import { b as DbError, f as Result } from "../result-DZeA5KS6.js";
2
2
  import { O as AnyFunctions, k as AnyModels } from "../types-DFdg_4yN.js";
3
- import { r as AuthState } from "../resolve-CXX6DHv3.js";
3
+ import { r as AuthState } from "../resolve-Bj1qD7Dy.js";
4
4
  import { i as ProblemDetails } from "../problem-DNwN8iGz.js";
5
- import { t as BetterSupabase } from "../define-Lf6rI2QN.js";
6
- import { a as ServerContext, c as ServerOptions, n as BetterServer } from "../server-types-BH6AjDBN.js";
7
- import { i as MiddlewareOptions, r as GuardOptions } from "../respond-oZeJ342J.js";
8
- import { c as ResourceLoaderContext, i as AuthorizeOptions } from "../kit-CVgQCIBO.js";
5
+ import { t as BetterSupabase } from "../define-BLP6XtoL.js";
6
+ import { a as ServerContext, c as ServerOptions, n as BetterServer } from "../server-types-BlDiY-ya.js";
7
+ import { i as MiddlewareOptions, r as GuardOptions } from "../respond-BzRG-0qc.js";
8
+ import { c as ResourceLoaderContext, i as AuthorizeOptions } from "../kit-Dxx3MT8m.js";
9
9
  import { t as Validated } from "../shared-CRRfQAKG.js";
10
- import { a as ResourceHandler } from "../resource-types-DjZ91WKA.js";
10
+ import { a as ResourceHandler } from "../resource-types-D5WEvYtV.js";
11
11
  import { i as RouteRateLimitRule, n as RateLimitVerdict, r as RateLimiter, t as RateLimitRouteOptions } from "../rate-limit-Bztf32cl.js";
12
- import { t as Api } from "../api-CHObZL7m.js";
12
+ import { t as Api } from "../api-B1OkIWdx.js";
13
13
  import { AnyEntry, Contributions } from "@supabase/middleware";
14
14
  import { AnySchema, BuilderWithMiddlewares, DecoratedMiddleware, DecoratedProcedure, MetaPlugin, ORPCError, Schema } from "@orpc/server";
15
15
  //#region src/orpc/router.d.ts
@@ -1,5 +1,5 @@
1
1
  import { Mt as Plugin } from "../types-DFdg_4yN.js";
2
- import { o as EventHub } from "../events-vcqenSYU.js";
2
+ import { o as EventHub } from "../events-Cc9DDQWH.js";
3
3
  import { t as SPEC_PINS } from "../spec-pins-BZkKfwY8.js";
4
4
  import { Attributes, Meter, Tracer } from "@opentelemetry/api";
5
5
  //#region src/otel/index.d.ts
@@ -40,9 +40,9 @@ function systemOf(executor) {
40
40
  * ```
41
41
  */
42
42
  function otel(options = {}) {
43
- const tracer = options.tracer ?? trace.getTracer("better-supabase", "0.23.0");
43
+ const tracer = options.tracer ?? trace.getTracer("better-supabase", "0.28.0");
44
44
  let histogram;
45
- if (options.metrics !== false) histogram = (options.meter ?? metrics.getMeter("better-supabase", "0.23.0")).createHistogram("db.client.operation.duration", {
45
+ if (options.metrics !== false) histogram = (options.meter ?? metrics.getMeter("better-supabase", "0.28.0")).createHistogram("db.client.operation.duration", {
46
46
  unit: "s",
47
47
  description: "Duration of database client operations.",
48
48
  advice: { explicitBucketBoundaries: [
@@ -219,7 +219,7 @@ function otel(options = {}) {
219
219
  * `betterSupabase.events`. Returns a function that stops listening.
220
220
  */
221
221
  function traceAuth(betterSupabase, options = {}) {
222
- const tracer = options.tracer ?? trace.getTracer("better-supabase", "0.23.0");
222
+ const tracer = options.tracer ?? trace.getTracer("better-supabase", "0.28.0");
223
223
  const offAuth = betterSupabase.events.on("auth", (event) => {
224
224
  const span = tracer.startSpan("auth.resolve", {
225
225
  kind: SpanKind.INTERNAL,
@@ -257,7 +257,7 @@ function traceAuth(betterSupabase, options = {}) {
257
257
  * an error status. Returns a function that stops listening.
258
258
  */
259
259
  function traceBlockEvents(betterSupabase, options = {}) {
260
- const tracer = options.tracer ?? trace.getTracer("better-supabase", "0.23.0");
260
+ const tracer = options.tracer ?? trace.getTracer("better-supabase", "0.28.0");
261
261
  return betterSupabase.events.on("block", (event) => {
262
262
  const attributes = {
263
263
  ...options.attributes,
@@ -4,8 +4,8 @@ import { n as Logger } from "./logger-DWVYUmwi.js";
4
4
  import { i as CursorPageOptions, n as BlockOptions } from "./block-helpers-CRpAHrp_.js";
5
5
  import { n as BlockHooks } from "./block-hooks-DZN2w69m.js";
6
6
  import { t as BlockProblemOptions } from "./problem-DNwN8iGz.js";
7
- import { i as EventSink, t as CloudEvent } from "./cloud-event-CzZTJkXv.js";
8
- import { g as SubscriberPolicy, i as AuthorizationHooks } from "./authorization-hooks-D_pwXlBs.js";
7
+ import { i as EventSink, t as CloudEvent } from "./cloud-event-DcJwder2.js";
8
+ import { g as SubscriberPolicy, i as AuthorizationHooks } from "./authorization-hooks-DtzreCAq.js";
9
9
  //#region src/blocks/outbox/outbox.d.ts
10
10
  /** One row of the outbox, as `outbox_claim` and `outbox_history` return it. */
11
11
  interface OutboxEvent {
@@ -1,5 +1,5 @@
1
1
  import { Bt as Executor } from "./types-DFdg_4yN.js";
2
- import { o as EventHub } from "./events-vcqenSYU.js";
2
+ import { o as EventHub } from "./events-Cc9DDQWH.js";
3
3
  import { n as Logger } from "./logger-DWVYUmwi.js";
4
4
  import { n as SqlClient } from "./executor-hGjrop3A.js";
5
5
  //#region src/postgres/pool.d.ts
@@ -1,5 +1,5 @@
1
1
  import { t as AsyncResult } from "./result-DZeA5KS6.js";
2
- import { n as TopicPort } from "./watch-topic-B1UCoQfz.js";
2
+ import { n as TopicPort } from "./watch-topic-1zIAtiNM.js";
3
3
  import { SupabaseClient } from "@supabase/supabase-js";
4
4
  //#region src/client/ports.d.ts
5
5
  /**
@@ -1,7 +1,7 @@
1
1
  import { E as RawDbError } from "../result-DZeA5KS6.js";
2
2
  import { m as Operation } from "../types-DFdg_4yN.js";
3
3
  import { n as SqlClient, r as postgresExecutor, t as PostgresExecutorOptions } from "../executor-hGjrop3A.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-CrtT4dg-.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-wjbAMqc1.js";
5
5
  import { t as Compiler } from "../compiler-D3UmE7ao.js";
6
6
  //#region src/postgres/pg-error.d.ts
7
7
  /** Node-postgres error fields to the shape `mapDbError` reads. */
@@ -2,9 +2,9 @@ import { f as Result } from "../result-DZeA5KS6.js";
2
2
  import { Bt as Executor } from "../types-DFdg_4yN.js";
3
3
  import { t as BlockTransport } from "../block-transport-DWZSJrwN.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-BWoz9lED.js";
5
- import { n as TopicPort } from "../watch-topic-B1UCoQfz.js";
6
- import { t as AuthSnapshot } from "../bind-DaoTunvE.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-aFV7nEBs.js";
5
+ import { n as TopicPort } from "../watch-topic-1zIAtiNM.js";
6
+ import { t as AuthSnapshot } from "../bind-C54jD0r3.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-DNPm13a9.js";
8
8
  //#region src/powersync/sync.d.ts
9
9
  /** The part of PowerSync's `SyncStatus` the engine reads. */
10
10
  interface SyncStatusLike {
@@ -1,4 +1,4 @@
1
- import { Bn as PRESETS, Ci as presetValueLabel, Ct as ResolvedPresetBlock, Et as resolvePreset, Fn as presetFromSpec, Gn as defaultPreset, Hn as PRESET_NAMES, In as presetOfSpec, Kn as isPresetName, Ln as presetSpec, Pn as PresetSpec, Rn as DEFAULT_PRESET_NAME, Si as presetField, St as ResolvedPreset, Tt as presetBlockConflict, Un as PresetGroup, Vn as PRESET_GROUPS, Wn as PresetName, _i as PresetFramework, _t as expandPreset, ai as PresetCatalogManifest, bi as PresetValueInfo, bt as PresetConflict, ci as DEFAULT_CONVENTIONS, di as Preset, ei as CORE_BLOCKS, er as APP_COLUMN_FORMATS, fi as PresetAccess, gi as PresetFieldValue, gt as conventionConfig, hi as PresetFieldKey, ht as PresetInput, ii as PresetCatalogBlock, li as PRESET_FRAMEWORKS, mi as PresetField, mt as ExpandedConfig, ni as instancePrefix, oi as PresetGlueItem, pi as PresetConventions, pt as ConfigConventions, qn as namedPreset, ri as PresetCatalog, si as CONVENTION_FIELDS, sr as AppColumnFormat, ti as INSTANCE_NAME, ui as PRESET_TENANT_NAMES, vi as PresetPlatforms, vt as presetConfig, wt as listNames, xi as integrationsForFramework, xt as PresetIntegration, yi as PresetScope, yt as presetOf, zn as NamedPreset } from "../context-CMf4OKpN.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-CFWlHuVY.js";
3
- import { i as appReservedColumns, n as appIdentifierError, r as appNameLengthError, t as APP_NAME_MAX } from "../app-tables-CJO6pWwy.js";
1
+ import { $n as PRESET_GROUPS, Ai as PresetPlatforms, At as presetConfig, Ci as Preset, Di as PresetFieldKey, Dt as PresetInput, Ei as PresetField, Et as ExpandedConfig, Fi as presetValueLabel, Ft as ResolvedPresetBlock, It as listNames, Jn as presetOfSpec, Kn as PresetSpec, Lt as presetBlockConflict, Mi as PresetValueInfo, Mt as PresetConflict, Ni as integrationsForFramework, Nt as PresetIntegration, Oi as PresetFieldValue, Ot as conventionConfig, Pi as presetField, Pt as ResolvedPreset, Qn as PRESETS, Rt as resolvePreset, Si as PRESET_TENANT_NAMES, Ti as PresetConventions, Tt as ConfigConventions, Xn as DEFAULT_PRESET_NAME, Yn as presetSpec, Zn as NamedPreset, _i as PresetCatalogManifest, ar as namedPreset, bi as DEFAULT_CONVENTIONS, er as PRESET_NAMES, fi as CORE_BLOCKS, fr as APP_COLUMN_FORMATS, gi as PresetCatalogBlock, hi as PresetCatalog, ir as isPresetName, ji as PresetScope, jt as presetOf, ki as PresetFramework, kt as expandPreset, mi as instancePrefix, nr as PresetName, pi as INSTANCE_NAME, qn as presetFromSpec, rr as defaultPreset, tr as PresetGroup, vi as PresetGlueItem, wi as PresetAccess, xi as PRESET_FRAMEWORKS, yi as CONVENTION_FIELDS, yr as AppColumnFormat } from "../context-BFEX0b7H.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-8wOL81rB.js";
3
+ import { i as appReservedColumns, n as appIdentifierError, r as appNameLengthError, t as APP_NAME_MAX } from "../app-tables-62GqZIhd.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-vHLJ8SKf.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-BPJSESPx.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-B1xXOJ0T.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-CvJHIy5q.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-C7qUTjhJ.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-DwuWNBip.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-vHLJ8SKf.js";
2
- import { F as asBlocksConfig, M as PRESET_CATALOG, _ as appTablesOf, n as INSTANCE_NAME, t as CORE_BLOCKS } from "./instances-BPJSESPx.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-CvJHIy5q.js";
2
+ import { F as asBlocksConfig, M as PRESET_CATALOG, _ as appTablesOf, n as INSTANCE_NAME, t as CORE_BLOCKS } from "./instances-C7qUTjhJ.js";
3
3
  import { r as FIELD_FORMATS } from "./field-formats-C6QKA3UR.js";
4
4
  import { t as isSqlType } from "./sql-type-iUSZpaUu.js";
5
5
  //#region src/preset/render.ts
@@ -1,8 +1,8 @@
1
- import { a as presetOf, d as resolvePreset } from "./config-vHLJ8SKf.js";
2
- import { M as PRESET_CATALOG, b as isAppDefault, d as appIdentifierError, f as appNameLengthError, p as appReservedColumns, y as appDefaultError } from "./instances-BPJSESPx.js";
3
- import { c as resolveConfig } from "./config-RwpFcPq8.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-B1xXOJ0T.js";
5
- import { K as SQL_MODULES, T as renderBlocks, f as moduleLayout } from "./sql-CNH8kjLS.js";
1
+ import { a as presetOf, d as resolvePreset } from "./config-CvJHIy5q.js";
2
+ import { M as PRESET_CATALOG, b as isAppDefault, d as appIdentifierError, f as appNameLengthError, p as appReservedColumns, y as appDefaultError } from "./instances-C7qUTjhJ.js";
3
+ import { c as resolveConfig } from "./config-CTeR7XHK.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-DwuWNBip.js";
5
+ import { F as renderBlocks, S as moduleLayout, nt as SQL_MODULES } from "./sql-B7vBP9g0.js";
6
6
  //#region 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-DZeA5KS6.js";
3
- import { r as AuthState } from "./resolve-CXX6DHv3.js";
3
+ import { r as AuthState } from "./resolve-Bj1qD7Dy.js";
4
4
  //#region src/credentials/provider.d.ts
5
5
  /**
6
6
  * Names a credential without holding it. Tables store this as a `credential_ref
@@ -1,4 +1,4 @@
1
- import { s as PushTokenPort } from "./ports-DbHiNSAa.js";
1
+ import { s as PushTokenPort } from "./ports-DP0bthUk.js";
2
2
  //#region src/client/native/push-token.d.ts
3
3
  /** The part of `expo-notifications` the push token port uses. */
4
4
  interface ExpoNotificationsLike {
@@ -1,4 +1,4 @@
1
1
  import { t as escapeLike } from "../escape-like-PReMbEEU.js";
2
2
  import { n as invalidateTables, t as BetterQueryMeta } from "../invalidate-DMp4eqfF.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-ClvuSZEz.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-BfYDY6eh.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-PReMbEEU.js";
2
2
  import { n as Impersonator } from "../impersonation-YTa9dZUv.js";
3
3
  import { i as DataEntry, m as RejectedChange, n as DataEngine, o as DataSyncState } from "../data-engine-BWoz9lED.js";
4
- import { t as tenantOf } from "../tenant-D4BA7XQ-.js";
5
- import { t as AuthSession } from "../view-DyFdMCqg.js";
6
- import { r as LiveCountSeed } from "../index--OhYKouV.js";
7
- import { r as MembershipClaim } from "../entitlements-CIhVQ-0u.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-BDhPaO0a.js";
9
- import { n as supportOf, t as SupportView } from "../support-view-BYOgwXsJ.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-ujNqgZ6B.js";
4
+ import { t as tenantOf } from "../tenant-CyLEXgot.js";
5
+ import { t as AuthSession } from "../view-BvNA7EOC.js";
6
+ import { r as LiveCountSeed } from "../index-CAY7rIQs.js";
7
+ import { r as MembershipClaim } from "../entitlements-Y-n4RGAd.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-Btn3czyz.js";
9
+ import { n as supportOf, t as SupportView } from "../support-view-CIDXF3_H.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-C0_cweyT.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-D54FLMQy.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-DaoTunvE.js";
1
+ import { t as AuthSnapshot } from "../../bind-C54jD0r3.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-B4NL84XU.js";
3
3
  import { n as PendingState } from "../../sign-in-D54FLMQy.js";
4
4
  import { Provider } from "@supabase/supabase-js";
@@ -1,13 +1,13 @@
1
1
  import { t as escapeLike } from "../escape-like-PReMbEEU.js";
2
- import { mt as QuerySpec } from "../define-Lf6rI2QN.js";
2
+ import { mt as QuerySpec } from "../define-BLP6XtoL.js";
3
3
  import { n as Impersonator } from "../impersonation-YTa9dZUv.js";
4
- import { t as tenantOf } from "../tenant-D4BA7XQ-.js";
5
- import { t as AuthSession } from "../view-DyFdMCqg.js";
6
- import { r as LiveCountSeed } from "../index--OhYKouV.js";
7
- import { r as MembershipClaim } from "../entitlements-CIhVQ-0u.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-BDhPaO0a.js";
9
- import { n as supportOf, t as SupportView } from "../support-view-BYOgwXsJ.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-ujNqgZ6B.js";
4
+ import { t as tenantOf } from "../tenant-CyLEXgot.js";
5
+ import { t as AuthSession } from "../view-BvNA7EOC.js";
6
+ import { r as LiveCountSeed } from "../index-CAY7rIQs.js";
7
+ import { r as MembershipClaim } from "../entitlements-Y-n4RGAd.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-Btn3czyz.js";
9
+ import { n as supportOf, t as SupportView } from "../support-view-CIDXF3_H.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-C0_cweyT.js";
11
11
  import { SessionProvider, SessionProviderProps } from "./session.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-D54FLMQy.js";
13
13
  //#region src/react/server.d.ts
@@ -1,5 +1,5 @@
1
- import { t as AuthSession } from "../view-DyFdMCqg.js";
2
- import { t as SupportView } from "../support-view-BYOgwXsJ.js";
1
+ import { t as AuthSession } from "../view-BvNA7EOC.js";
2
+ import { t as SupportView } from "../support-view-CIDXF3_H.js";
3
3
  import { ReactNode } from "react";
4
4
  //#region src/react/session.d.ts
5
5
  export interface SessionProviderProps {
@@ -1,10 +1,10 @@
1
1
  import { O as AnyFunctions, k as AnyModels } from "../types-DFdg_4yN.js";
2
2
  import { l as PermissionRef, t as AnyAuthorizer } from "../authorizer-B6X09otb.js";
3
- import { t as BetterSupabase } from "../define-Lf6rI2QN.js";
4
- import { n as BetterServer } from "../server-types-BH6AjDBN.js";
5
- 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-CVgQCIBO.js";
6
- import { t as RefusalRedirects } from "../refusal-OrlI3g4H.js";
7
- import { n as FrameworkOptions, r as LocalsResource, t as FrameworkLocals } from "../framework-DKA3fTHl.js";
3
+ import { t as BetterSupabase } from "../define-BLP6XtoL.js";
4
+ import { n as BetterServer } from "../server-types-BlDiY-ya.js";
5
+ 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-Dxx3MT8m.js";
6
+ import { t as RefusalRedirects } from "../refusal-D_tklIEb.js";
7
+ import { n as FrameworkOptions, r as LocalsResource, t as FrameworkLocals } from "../framework-GlxXiotm.js";
8
8
  import { t as Validated } from "../shared-CRRfQAKG.js";
9
9
  import { AnyEntry, Contributions } from "@supabase/middleware";
10
10
  import { StandardSchemaV1 } from "@standard-schema/spec";
@@ -1,8 +1,8 @@
1
1
  import { D as AccessTopicPolicy, E as AccessPolicySql } from "../types-DFdg_4yN.js";
2
2
  import { et as TemplateParams, tt as TemplateValues } from "../bucket-vc-QRrva.js";
3
3
  import { t as RealtimeStatus } from "../realtime-status-BhNkb-Ow.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-utZqhw96.js";
5
- import { a as watchTopic, i as topicPort, n as TopicPort, r as TopicWatch, t as TopicHandle } from "../watch-topic-B1UCoQfz.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--OhYKouV.js";
7
- import { n as subjectReaders, t as SubjectReadersOptions } from "../subject-readers-8GySC9Z8.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-B_DGdAEs.js";
5
+ import { a as watchTopic, i as topicPort, n as TopicPort, r as TopicWatch, t as TopicHandle } from "../watch-topic-1zIAtiNM.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-CAY7rIQs.js";
7
+ import { n as subjectReaders, t as SubjectReadersOptions } from "../subject-readers-DJbzlm8a.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 };
@@ -2,7 +2,7 @@ import { i as realtimeChanges, n as liveQuery, r as liveTopic, t as liveCount }
2
2
  import { n as watchTopic, t as topicPort } from "../watch-topic-CuaWfCuv.js";
3
3
  import { n as relayTopicPort, t as relayRealtimeClient } from "../relay-CIKcAVjf.js";
4
4
  import { t as subjectReaders } from "../subject-readers-CeeJJOQ4.js";
5
- import { n as rowChange, r as rowKeys, t as defineTopic } from "../topic-F0FKzJyQ.js";
5
+ import { n as rowChange, r as rowKeys, t as defineTopic } from "../topic-DnsNG4Kj.js";
6
6
  //#region src/realtime/subject-presence.ts
7
7
  /** The presence topic template; the subjects module's policies authorize it. */
8
8
  const SUBJECT_PRESENCE_TEMPLATE = "presence:{subjectType}:{subjectId}";
@@ -1,4 +1,4 @@
1
- import { Sn as EntitySchema } from "./define-block-DCAiOrNX.js";
1
+ import { Sn as EntitySchema } from "./define-block-DibVN37N.js";
2
2
  import { s as FormFieldType } from "./form-definition-BjEtH8BT.js";
3
3
  //#region src/records/record-form.d.ts
4
4
  /** The input a field renders: a forms block field type, or a date and time. */
@@ -1,13 +1,13 @@
1
1
  import { b as DbError, t as AsyncResult } from "../result-DZeA5KS6.js";
2
2
  import { $ as RecordRef } from "../types-DFdg_4yN.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-DCAiOrNX.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-ClvuSZEz.js";
5
- import { p as SubscriptionStatus } from "../topic-utZqhw96.js";
6
- import { n as TopicPort } from "../watch-topic-B1UCoQfz.js";
7
- import { n as Controller, t as AuthPort } from "../controller-BGto_kYM.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-DibVN37N.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-BfYDY6eh.js";
5
+ import { p as SubscriptionStatus } from "../topic-B_DGdAEs.js";
6
+ import { n as TopicPort } from "../watch-topic-1zIAtiNM.js";
7
+ import { n as Controller, t as AuthPort } from "../controller-Cl6HmMBk.js";
8
8
  import { a as RecordSummaryOptions, c as Subjects, f as MyWorkKind, i as RecordSummary, n as MyWorkItem, r as MyWorkOptions } from "../subjects-BpIEN1MS.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-CEzj9v1z.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-BbZpwsEi.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-Cjl-1hiA.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-D2-F4IwS.js";
11
11
  //#region src/records/controller.d.ts
12
12
  interface RecordControllerOptions<B extends BindingBlocks, N extends BindingName<B>> extends LoadBindingsOptions<B, N> {
13
13
  readonly source: BindingSource<B>;
@@ -1,4 +1,4 @@
1
- import { _ as StoredSession } from "./resolve-CXX6DHv3.js";
1
+ import { _ as StoredSession } from "./resolve-Bj1qD7Dy.js";
2
2
  //#region src/auth/refresh.d.ts
3
3
  interface RefreshOptions {
4
4
  readonly url: string;
@@ -1,6 +1,6 @@
1
- import { r as AuthState } from "./resolve-CXX6DHv3.js";
1
+ import { r as AuthState } from "./resolve-Bj1qD7Dy.js";
2
2
  import { t as AnyAuthorizer } from "./authorizer-B6X09otb.js";
3
- import { c as ResourceLoaderContext, s as BlockRequireOptions } from "./kit-CVgQCIBO.js";
3
+ import { c as ResourceLoaderContext, s as BlockRequireOptions } from "./kit-Dxx3MT8m.js";
4
4
  //#region src/server/refusal.d.ts
5
5
  /** Where refused callers go instead of a Problem Details response. */
6
6
  interface RefusalRedirects {
@@ -1,7 +1,7 @@
1
1
  /// <reference lib="esnext.temporal" />
2
2
  import { b as DbError } from "./result-DZeA5KS6.js";
3
3
  import { t as StandardSchemaV1 } from "./standard-DBV730sF.js";
4
- import { n as AuthOutageEvent, u as RefreshEvent } from "./events-vcqenSYU.js";
4
+ import { n as AuthOutageEvent, u as RefreshEvent } from "./events-Cc9DDQWH.js";
5
5
  import { n as Logger } from "./logger-DWVYUmwi.js";
6
6
  import { t as BetterSupabaseEnv } from "./index-NRMMhhEi.js";
7
7
  import { CookieOptions } from "@supabase/ssr";
@@ -1,5 +1,5 @@
1
1
  import { a as entityNoun, i as entityNames, n as checkEntityName, s as tenantRename, t as DEFAULT_TENANT } from "./entity-naming-Dtyq5sKE.js";
2
- import { L as tenantNameOf } from "./instances-BPJSESPx.js";
2
+ import { L as tenantNameOf } from "./instances-C7qUTjhJ.js";
3
3
  //#region src/config/defaults.ts
4
4
  /**
5
5
  * Every default `resolveConfig` fills in. Other modules (the SQL module
@@ -108,7 +108,7 @@ function resolveEntity(where, key, spec, names, config) {
108
108
  * or a name that contains another noun the blocks rename.
109
109
  */
110
110
  function resolveNames(module, names, blocks = {}) {
111
- const where = `blocks.${module}.entities`;
111
+ const where = `blocks.${module}.names`;
112
112
  const specs = names.entities ?? {};
113
113
  const config = configured(where, specs, blocks[module]?.entities);
114
114
  const tenantName = tenantNameOf(blocks);
@@ -1,5 +1,5 @@
1
1
  import { n as ResourceActionSpec } from "./resource-D8pzB5Qf.js";
2
- import { i as ResourceContext, n as Parsed, r as ResourceAction, t as ActionArgs } from "./resource-types-DjZ91WKA.js";
2
+ import { i as ResourceContext, n as Parsed, r as ResourceAction, t as ActionArgs } from "./resource-types-D5WEvYtV.js";
3
3
  import { StandardSchemaV1 } from "@standard-schema/spec";
4
4
  //#region src/server/resource-execute.d.ts
5
5
  /**