better-supabase 0.25.0 → 0.29.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 (417) hide show
  1. package/dist/{access-sql-bjWFUWlk.js → access-sql-CTDNuxRv.js} +177 -12
  2. package/dist/{agents-CMIB3802.d.ts → agents-CM_cCtcr.d.ts} +4 -4
  3. package/dist/{ai-cache-2LGgaT7F.d.ts → ai-cache-BTGqckta.d.ts} +4 -4
  4. package/dist/{ai-chat-BCaKsvLW.d.ts → ai-chat-B7_vQvxU.d.ts} +4 -4
  5. package/dist/{ai-schedules-yGZH-vQb.d.ts → ai-schedules-CZEfo-_M.d.ts} +5 -5
  6. package/dist/ai-sdk/agents/index.d.ts +6 -6
  7. package/dist/ai-sdk/batches/index.d.ts +3 -3
  8. package/dist/ai-sdk/cache/index.d.ts +1 -1
  9. package/dist/ai-sdk/chat/index.d.ts +1 -1
  10. package/dist/ai-sdk/embeddings/index.d.ts +2 -2
  11. package/dist/ai-sdk/files/index.d.ts +1 -1
  12. package/dist/ai-sdk/index.d.ts +5 -5
  13. package/dist/ai-sdk/mcp/index.d.ts +3 -3
  14. package/dist/ai-sdk/memory/index.d.ts +3 -3
  15. package/dist/ai-sdk/workflow/index.d.ts +3 -3
  16. package/dist/{api-B1OkIWdx.d.ts → api-59rv5hL6.d.ts} +5 -5
  17. package/dist/{api-keys-ClhKBDcc.d.ts → api-keys-JE-aykZE.d.ts} +4 -4
  18. package/dist/{app-tables-xij_MI5H.d.ts → app-tables-DekyKNQ8.d.ts} +1 -1
  19. package/dist/{approvals-C5fmPLsH.d.ts → approvals-BfEafAzt.d.ts} +5 -5
  20. package/dist/{assistant-ndGdOBax.d.ts → assistant-B49qATbj.d.ts} +2 -2
  21. package/dist/astro/index.d.ts +7 -7
  22. package/dist/{authorization-BJV2i8xB.d.ts → authorization-C7nuWMuB.d.ts} +27 -6
  23. package/dist/{authorization-hooks-DtzreCAq.d.ts → authorization-hooks-BWhkMZfH.d.ts} +2 -2
  24. package/dist/better-result/index.d.ts +3 -3
  25. package/dist/{bind-vKDmdu_4.d.ts → bind-DmUGUsBd.d.ts} +7 -7
  26. package/dist/{block-env-wVLz0KMV.d.ts → block-env-DWtZsqhH.d.ts} +4 -4
  27. package/dist/{block-helpers-CRpAHrp_.d.ts → block-helpers-D5emQ2O6.d.ts} +1 -1
  28. package/dist/{block-hooks-DZN2w69m.d.ts → block-hooks-B8itxzEE.d.ts} +2 -2
  29. package/dist/{block-subjects-CphkQPxp.d.ts → block-subjects-C1_9DkSA.d.ts} +1 -1
  30. package/dist/{block-transport-DWZSJrwN.d.ts → block-transport-9EUA3q_I.d.ts} +2 -2
  31. package/dist/blocks/access-requests/index.d.ts +5 -5
  32. package/dist/blocks/activities/index.d.ts +10 -10
  33. package/dist/blocks/activities/index.js +1 -1
  34. package/dist/blocks/agents/index.d.ts +4 -4
  35. package/dist/blocks/ai-cache/index.d.ts +3 -3
  36. package/dist/blocks/ai-chat/index.d.ts +7 -7
  37. package/dist/blocks/ai-files/index.d.ts +3 -3
  38. package/dist/blocks/ai-keys/index.d.ts +4 -4
  39. package/dist/blocks/ai-schedules/index.d.ts +3 -3
  40. package/dist/blocks/announcements/index.d.ts +8 -8
  41. package/dist/blocks/api-keys/index.d.ts +6 -6
  42. package/dist/blocks/approvals/index.d.ts +4 -4
  43. package/dist/blocks/assets/index.d.ts +6 -6
  44. package/dist/blocks/assignment/index.d.ts +7 -7
  45. package/dist/blocks/attachments/index.d.ts +4 -4
  46. package/dist/blocks/audit/index.d.ts +13 -13
  47. package/dist/blocks/automations/index.d.ts +12 -12
  48. package/dist/blocks/billable-time/index.d.ts +6 -6
  49. package/dist/blocks/billing/index.d.ts +9 -9
  50. package/dist/blocks/bookings/index.d.ts +4 -4
  51. package/dist/blocks/bulk/index.d.ts +4 -4
  52. package/dist/blocks/calendar/index.d.ts +5 -5
  53. package/dist/blocks/catalog/index.d.ts +6 -6
  54. package/dist/blocks/channels/index.d.ts +7 -7
  55. package/dist/blocks/collections/index.d.ts +12 -12
  56. package/dist/blocks/collections/index.js +1 -1
  57. package/dist/blocks/comments/index.d.ts +10 -10
  58. package/dist/blocks/compliance/index.d.ts +5 -5
  59. package/dist/blocks/connectors/index.d.ts +4 -4
  60. package/dist/blocks/contacts/index.d.ts +7 -7
  61. package/dist/blocks/contacts/index.js +1 -1
  62. package/dist/blocks/content/index.d.ts +5 -5
  63. package/dist/blocks/contracts/index.d.ts +6 -6
  64. package/dist/blocks/courses/index.d.ts +5 -5
  65. package/dist/blocks/created-by/index.d.ts +2 -2
  66. package/dist/blocks/custom-fields/index.d.ts +6 -6
  67. package/dist/blocks/custom-fields/index.js +1 -1
  68. package/dist/blocks/data-lifecycle/index.d.ts +8 -8
  69. package/dist/blocks/deals/index.d.ts +6 -6
  70. package/dist/blocks/dispatch/index.d.ts +7 -7
  71. package/dist/blocks/documents/index.d.ts +4 -4
  72. package/dist/blocks/domains/index.d.ts +6 -6
  73. package/dist/blocks/donations/index.d.ts +6 -6
  74. package/dist/blocks/drive/index.d.ts +7 -7
  75. package/dist/blocks/employees/index.d.ts +8 -8
  76. package/dist/blocks/employees/index.js +1 -1
  77. package/dist/blocks/enrichment/index.d.ts +6 -6
  78. package/dist/blocks/enrollments/index.d.ts +6 -6
  79. package/dist/blocks/entitlements/index.d.ts +6 -6
  80. package/dist/blocks/expenses/index.d.ts +5 -5
  81. package/dist/blocks/field-history/index.d.ts +4 -4
  82. package/dist/blocks/flags/index.d.ts +5 -5
  83. package/dist/blocks/forecasts/index.d.ts +6 -6
  84. package/dist/blocks/forms/index.d.ts +6 -6
  85. package/dist/blocks/goals/index.d.ts +4 -4
  86. package/dist/blocks/guests/index.d.ts +6 -6
  87. package/dist/blocks/hiring/index.d.ts +7 -7
  88. package/dist/blocks/identities/index.d.ts +5 -5
  89. package/dist/blocks/imports/index.d.ts +5 -5
  90. package/dist/blocks/inbox/index.d.ts +10 -10
  91. package/dist/blocks/incidents/index.d.ts +5 -5
  92. package/dist/blocks/index.d.ts +9 -9
  93. package/dist/blocks/inventory/index.d.ts +7 -7
  94. package/dist/blocks/invoices/index.d.ts +8 -8
  95. package/dist/blocks/knowledge/index.d.ts +3 -3
  96. package/dist/blocks/lead-scoring/index.d.ts +7 -7
  97. package/dist/blocks/leases/index.d.ts +6 -6
  98. package/dist/blocks/leave/index.d.ts +5 -5
  99. package/dist/blocks/ledger/index.d.ts +6 -6
  100. package/dist/blocks/mail-sync/index.d.ts +5 -5
  101. package/dist/blocks/memberships/index.d.ts +2 -2
  102. package/dist/blocks/memory/index.d.ts +4 -4
  103. package/dist/blocks/messaging/index.d.ts +11 -11
  104. package/dist/blocks/metrics/index.d.ts +6 -6
  105. package/dist/blocks/mfa/index.d.ts +2 -2
  106. package/dist/blocks/moderation/index.d.ts +6 -6
  107. package/dist/blocks/notifications/index.d.ts +12 -12
  108. package/dist/blocks/notifications/index.js +1 -1
  109. package/dist/blocks/numbering/index.d.ts +4 -4
  110. package/dist/blocks/oauth-server/index.d.ts +5 -5
  111. package/dist/blocks/onboarding/index.d.ts +5 -5
  112. package/dist/blocks/orders/index.d.ts +7 -7
  113. package/dist/blocks/organizations/index.d.ts +8 -8
  114. package/dist/blocks/outbox/index.d.ts +4 -4
  115. package/dist/blocks/passes/index.d.ts +8 -8
  116. package/dist/blocks/permissions/index.d.ts +6 -6
  117. package/dist/blocks/pipelines/index.d.ts +6 -6
  118. package/dist/blocks/posts/index.d.ts +5 -5
  119. package/dist/blocks/profiles/index.d.ts +4 -4
  120. package/dist/blocks/promotions/index.d.ts +5 -5
  121. package/dist/blocks/push/index.d.ts +6 -6
  122. package/dist/blocks/queue/index.d.ts +6 -6
  123. package/dist/blocks/quotes/index.d.ts +8 -8
  124. package/dist/blocks/rank/index.d.ts +5 -5
  125. package/dist/blocks/reactions/index.d.ts +9 -9
  126. package/dist/blocks/relations/index.d.ts +7 -7
  127. package/dist/blocks/reminders/index.d.ts +9 -9
  128. package/dist/blocks/reminders/index.js +1 -1
  129. package/dist/blocks/reviews/index.d.ts +5 -5
  130. package/dist/blocks/saved-views/index.d.ts +6 -6
  131. package/dist/blocks/scores/index.d.ts +5 -5
  132. package/dist/blocks/search/index.d.ts +8 -8
  133. package/dist/blocks/security-events/index.d.ts +7 -7
  134. package/dist/blocks/segments/index.d.ts +8 -8
  135. package/dist/blocks/sequences/index.d.ts +6 -6
  136. package/dist/blocks/service-accounts/index.d.ts +5 -5
  137. package/dist/blocks/sessions/index.d.ts +2 -2
  138. package/dist/blocks/settings/index.d.ts +6 -6
  139. package/dist/blocks/share-links/index.d.ts +5 -5
  140. package/dist/blocks/shipments/index.d.ts +6 -6
  141. package/dist/blocks/signatures/index.d.ts +5 -5
  142. package/dist/blocks/signing-keys/index.d.ts +4 -4
  143. package/dist/blocks/sla/index.d.ts +7 -7
  144. package/dist/blocks/sso/index.d.ts +6 -6
  145. package/dist/blocks/state-machine/index.d.ts +5 -5
  146. package/dist/blocks/subjects/index.d.ts +6 -6
  147. package/dist/blocks/tags/index.d.ts +6 -6
  148. package/dist/blocks/tasks/index.d.ts +10 -10
  149. package/dist/blocks/tasks/index.js +1 -1
  150. package/dist/blocks/teams/index.d.ts +4 -4
  151. package/dist/blocks/templates/index.d.ts +7 -7
  152. package/dist/blocks/time-tracking/index.d.ts +7 -7
  153. package/dist/blocks/timeline/index.d.ts +8 -8
  154. package/dist/blocks/trash/index.d.ts +6 -6
  155. package/dist/blocks/undo/index.d.ts +4 -4
  156. package/dist/blocks/updated-at/index.d.ts +2 -2
  157. package/dist/blocks/usage/index.d.ts +4 -4
  158. package/dist/blocks/vercel-marketplace/index.d.ts +5 -5
  159. package/dist/blocks/versions/index.d.ts +6 -6
  160. package/dist/blocks/waitlist/index.d.ts +5 -5
  161. package/dist/blocks/webhooks/index.d.ts +14 -14
  162. package/dist/blocks/webhooks/index.js +1 -1
  163. package/dist/blocks/workflow-editor/index.d.ts +9 -9
  164. package/dist/blocks/workflows/index.d.ts +7 -7
  165. package/dist/{bookings-CVw5-Q0Z.d.ts → bookings-xsmM2TA_.d.ts} +3 -3
  166. package/dist/{bucket-vc-QRrva.d.ts → bucket-SvRQwYS4.d.ts} +1 -1
  167. package/dist/chat-sdk/index.d.ts +6 -6
  168. package/dist/cli/{add-C2pNvVpu.js → add-BKkV99g9.js} +2 -2
  169. package/dist/cli/{add-BTVrOGJF.js → add-CrQ3jS7t.js} +55 -88
  170. package/dist/cli/add-CwhrRJz5.js +1 -0
  171. package/dist/cli/app-table-files-PnPOpuB4.js +346 -0
  172. package/dist/cli/{backfill-BicVPugb.js → backfill-DDDLhinm.js} +4 -4
  173. package/dist/cli/bin.js +1 -1
  174. package/dist/cli/{blocks-sScN-ik-.js → blocks-BCVcjvbm.js} +1 -1
  175. package/dist/cli/{blocks-BmYOH4T-.js → blocks-tRfYx_mh.js} +2 -2
  176. package/dist/cli/{cache-1TfBy2K4.js → cache-DQZ09YOg.js} +1 -1
  177. package/dist/cli/{codemod-ylE6wGLo.js → codemod-HKuwQmi_.js} +5 -5
  178. package/dist/cli/{command-BWEEXmtz.js → command-DIPmo0wh.js} +37 -1
  179. package/dist/cli/{completion-Bt7LMypX.js → completion-DxPxMtyP.js} +2 -2
  180. package/dist/cli/{completion-8EDK21xj.js → completion-DyLMSjOD.js} +1 -1
  181. package/dist/cli/{completion-BfnKI4QZ.js → completion-FUgqm2-N.js} +2 -2
  182. package/dist/cli/{config-WKDixoGK.js → config-BfapErxs.js} +1 -1
  183. package/dist/cli/{config-BVfeG3A5.js → config-Cskysxp-.js} +327 -16
  184. package/dist/cli/{config-CeaQMrvS.js → config-Df5cXWNN.js} +1 -1
  185. package/dist/cli/{config-group-C8tjut39.js → config-group-CP-B9uRt.js} +2 -3
  186. package/dist/cli/{content-mapper-hUW2nb92.js → content-mapper-B0ehR7K-.js} +2 -2
  187. package/dist/cli/{db-DwjyUbAh.js → db-CWvH1_46.js} +38 -14
  188. package/dist/cli/{doctor-D3WKFBSv.js → doctor-CXJOhwLB.js} +36 -33
  189. package/dist/cli/{env-DMgjB_4y.js → env-BK0xKMeU.js} +1 -2
  190. package/dist/cli/{env-BCgVZkcb.js → env-BM242BCV.js} +2 -2
  191. package/dist/cli/{env-C-Bl6Awn.js → env-Bat6ogep.js} +1 -1
  192. package/dist/cli/env-uqfUbUzk.js +1 -0
  193. package/dist/cli/{exec--Q1ZEWUW.js → exec-Ca5s-ygi.js} +1 -1
  194. package/dist/cli/{gen-CqsUdsB2.js → gen-B7rw4j19.js} +16 -16
  195. package/dist/cli/in-stack-diff-Cp-tVPj2.js +186 -0
  196. package/dist/cli/index.d.ts +9 -3
  197. package/dist/cli/index.js +8 -8
  198. package/dist/cli/{init-DryZ5Mp1.js → init-C1bXXB_P.js} +131 -12
  199. package/dist/cli/{keys-CbaL0lnw.js → keys-V-HcO-21.js} +1 -1
  200. package/dist/cli/{live-Di45imoV.js → live-PpAh9pAc.js} +2 -2
  201. package/dist/cli/{mcp-BklC-3eK.js → mcp-BRNAchdH.js} +6 -14
  202. package/dist/cli/{metadata-7PsBF5Xw.js → metadata-dAAKb_kR.js} +3 -3
  203. package/dist/cli/migrate-BWYXFnaW.js +46 -0
  204. package/dist/cli/{migration-safety-Doy9qYO8.js → migration-safety-DGQswWZy.js} +2 -2
  205. package/dist/cli/migrations-Cqk-lJwu.js +117 -0
  206. package/dist/cli/{module-migration-ZIn1NCMi.js → module-migration-8-hMiZtW.js} +2 -2
  207. package/dist/cli/{moved-DVwgE8lV.js → moved-DNOtp9LA.js} +1 -1
  208. package/dist/cli/{parse-B079x40m.js → parse-BPf3kGnc.js} +1 -1
  209. package/dist/cli/{powersync-BRGXOCJ0.js → powersync-BWQ-8T3G.js} +4 -3
  210. package/dist/cli/powersync-CbYxLsjv.js +1 -0
  211. package/dist/cli/{print-Dfqd4DB-.js → print-DSTnq5xz.js} +2 -2
  212. package/dist/cli/{migrations-JtsPYv8g.js → providers-Cjf5iOp5.js} +4 -116
  213. package/dist/cli/{remove-CQzSCYTu.js → remove-CwG8cPv1.js} +7 -7
  214. package/dist/cli/{render-DWRz-uPQ.js → render-B18iAdsT.js} +9 -6
  215. package/dist/cli/{run-DPLedqTF.js → run-C2Yg5MWt.js} +42 -40
  216. package/dist/cli/{run-DmOTMa44.js → run-CvPl8iQd.js} +4 -4
  217. package/dist/cli/{run-j54rk2w-.js → run-Wx_2Acgv.js} +11 -11
  218. package/dist/cli/seed-BOun22-k.js +1 -0
  219. package/dist/cli/{seed-BMynpMPy.js → seed-CDnL4Tnc.js} +3 -3
  220. package/dist/cli/{shared-CslNcs-R.js → shared-BHbtUOvh.js} +1 -1
  221. package/dist/cli/{skills-FXAVPLzp.js → skills-DM3oeIxY.js} +1 -1
  222. package/dist/cli/{snapshot-DdN5GlhH.js → snapshot-CXgsUPGj.js} +3 -3
  223. package/dist/cli/{source-COARbqch.js → source-B6aMAoEK.js} +1 -1
  224. package/dist/cli/{source-args-CDmmFmFG.js → source-args-v8ljFDfc.js} +1 -1
  225. package/dist/cli/{spec-CgLNZc_C.js → spec-BcYic005.js} +3 -3
  226. package/dist/cli/{spec-DIhBQlBF.js → spec-EO0TP84d.js} +1 -1
  227. package/dist/cli/{sql-layout-8jrP5gIa.js → sql-layout-CkxDNVEH.js} +21 -7
  228. package/dist/cli/{stack-DgASZP0K.js → stack-ClESAZYf.js} +3 -3
  229. package/dist/cli/{stack-status-B_Ipd_-z.js → stack-status-BkkYRlXG.js} +1 -1
  230. package/dist/cli/{stacks-BYlQ96WS.js → stacks-CiDBH1dB.js} +1 -1
  231. package/dist/cli/{sync-SqyVHRSJ.js → sync-pq6gmlhG.js} +4 -3
  232. package/dist/cli/table-dyKddjwo.js +89 -0
  233. package/dist/cli/{upgrade-D0aLhluU.js → upgrade-BoHb4h9P.js} +3 -3
  234. package/dist/cli/{upgrade-CY-vj_qh.js → upgrade-Dp9p7A69.js} +5 -4
  235. package/dist/cli/{version-Bhca9D6q.js → version-CQHFm-ak.js} +1 -1
  236. package/dist/client/index.d.ts +6 -6
  237. package/dist/client/native/index.d.ts +5 -5
  238. package/dist/{cloud-event-DcJwder2.d.ts → cloud-event-0pQ9vFNS.d.ts} +1 -1
  239. package/dist/{compiler-D3UmE7ao.d.ts → compiler-BEeVWXPS.d.ts} +2 -2
  240. package/dist/{composite-CWJvZgni.d.ts → composite-BJ9s-IJJ.d.ts} +7 -7
  241. package/dist/config/index.d.ts +5 -5
  242. package/dist/config/index.js +5 -5
  243. package/dist/{config-C19McoGo.js → config-bqKaPjst.js} +7 -28
  244. package/dist/{config-CP-WaboC.js → config-r7njjNgh.js} +3 -3
  245. package/dist/{connectors-CHGiffYH.d.ts → connectors-uC5baoFV.d.ts} +4 -4
  246. package/dist/{context-BJoHD20l.d.ts → context-B4TsE2gY.d.ts} +138 -52
  247. package/dist/{controller-CwGXms17.d.ts → controller-CtwAsnVV.d.ts} +1 -1
  248. package/dist/{conversion-DlfStnln.d.ts → conversion-g8HzH9My.d.ts} +1 -1
  249. package/dist/create/index.d.ts +62 -3
  250. package/dist/create/index.js +67 -4
  251. package/dist/create/lite/index.d.ts +141 -4
  252. package/dist/create/lite/index.js +399 -47
  253. package/dist/credentials/index.d.ts +4 -4
  254. package/dist/{data-engine-BWoz9lED.d.ts → data-engine-rvbR2C4F.d.ts} +1 -1
  255. package/dist/{define-BLP6XtoL.d.ts → define-D8_9X5fZ.d.ts} +5 -5
  256. package/dist/{define-block-DibVN37N.d.ts → define-block-DWVZSZv1.d.ts} +12 -12
  257. package/dist/{documents-Cup1rpjF.d.ts → documents-BbwYyynk.d.ts} +3 -3
  258. package/dist/edge/index.d.ts +9 -9
  259. package/dist/elysia/index.d.ts +1 -1
  260. package/dist/{embeddings-D_RsS6ow.d.ts → embeddings-I3s5sTDt.d.ts} +1 -1
  261. package/dist/{ended-B8RyuUXF.d.ts → ended-EZzN9QTM.d.ts} +2 -2
  262. package/dist/{entitlements-CsZcfllV.d.ts → entitlements-Bw3eYGKJ.d.ts} +2 -2
  263. package/dist/eve/index.d.ts +5 -5
  264. package/dist/{eve-B7jxYPCw.d.ts → eve-BfhVFV33.d.ts} +2 -2
  265. package/dist/events/index.d.ts +3 -3
  266. package/dist/{events-Cc9DDQWH.d.ts → events-B2qbZps6.d.ts} +1 -1
  267. package/dist/{executor-DNPm13a9.d.ts → executor-BfirBzOr.d.ts} +4 -4
  268. package/dist/{executor-C-Ox9eKq.d.ts → executor-BlS0kCrN.d.ts} +1 -1
  269. package/dist/{executor-hGjrop3A.d.ts → executor-DXQIx4sW.d.ts} +1 -1
  270. package/dist/expo/index.d.ts +4 -4
  271. package/dist/{field-errors-6BVg31Yp.d.ts → field-errors-DkzFduux.d.ts} +10 -10
  272. package/dist/{fields-C3q2ypnO.d.ts → fields-snbaZ14h.d.ts} +1 -1
  273. package/dist/{filter-evaluate-CPxeae5X.d.ts → filter-evaluate-BRpNiNPG.d.ts} +1 -1
  274. package/dist/{filter-query-BXLs72G9.d.ts → filter-query-DBt7OKuH.d.ts} +1 -1
  275. package/dist/{flags-C01PLMJ-.d.ts → flags-DDKTThrO.d.ts} +2 -2
  276. package/dist/flags-sdk/index.d.ts +1 -1
  277. package/dist/{framework-GlxXiotm.d.ts → framework-DVYTtQXA.d.ts} +7 -7
  278. package/dist/{gateway-DzI687yd.d.ts → gateway-Ve7cByEr.d.ts} +3 -3
  279. package/dist/h3/index.d.ts +1 -1
  280. package/dist/h3/v1/index.d.ts +1 -1
  281. package/dist/hono/index.d.ts +9 -9
  282. package/dist/{inbox-NDKwSk_H.d.ts → inbox-c8B86Trp.d.ts} +5 -5
  283. package/dist/{index-C_qlBJ3k.d.ts → index-B4wttiLh.d.ts} +4 -4
  284. package/dist/{index-BfYDY6eh.d.ts → index-BM6NmKSc.d.ts} +5 -5
  285. package/dist/{index-CbUCGMqj.d.ts → index-BNgpz_BV.d.ts} +5 -5
  286. package/dist/{index-C0QuN9_P.d.ts → index-BxckmAFc.d.ts} +106 -121
  287. package/dist/{index-Cagz4Z2k.d.ts → index-CB66nl14.d.ts} +4 -3
  288. package/dist/{index-DOHx3JuB.d.ts → index-CBQT_nXf.d.ts} +5 -5
  289. package/dist/{index-D01wHGSN.d.ts → index-Cw5gGSP8.d.ts} +14 -14
  290. package/dist/{index-CQhPHHDF.d.ts → index-Cxsnd-OL.d.ts} +1 -1
  291. package/dist/{index-D1ckLbUM.d.ts → index-pZn6S_iq.d.ts} +1 -1
  292. package/dist/index.d.ts +6 -6
  293. package/dist/{instances-qz2MCMyK.js → instances-C7qUTjhJ.js} +1 -1
  294. package/dist/{kit-Dxx3MT8m.d.ts → kit-B8yWCRN7.d.ts} +3 -3
  295. package/dist/{knowledge-F1IhRI4Q.d.ts → knowledge-CsLPACGJ.d.ts} +5 -5
  296. package/dist/lint/index.d.ts +1 -1
  297. package/dist/list/index.d.ts +3 -3
  298. package/dist/{list-query-XHoYDlRN.d.ts → list-query-BcU8NnNL.d.ts} +3 -3
  299. package/dist/mapper/bin.js +7 -7
  300. package/dist/mcp/index.d.ts +6 -6
  301. package/dist/mcp/sdk/index.d.ts +6 -6
  302. package/dist/{messaging-C_Pr9tGx.d.ts → messaging-DQP09JsY.d.ts} +4 -4
  303. package/dist/nestjs/index.d.ts +2 -2
  304. package/dist/next/client/index.d.ts +1 -1
  305. package/dist/next/index.d.ts +22 -22
  306. package/dist/node/index.d.ts +2 -2
  307. package/dist/{operations-CPhOcuzl.d.ts → operations-CqmQrTKw.d.ts} +1 -1
  308. package/dist/{options-BOGo1qCA.js → options-B5E2MGIz.js} +3 -1
  309. package/dist/{options-D2s7fT1s.js → options-COo7_3MX.js} +2 -1
  310. package/dist/{options-D32-YxnO.js → options-DhoLMknl.js} +3 -1
  311. package/dist/orpc/index.d.ts +8 -8
  312. package/dist/otel/index.d.ts +2 -2
  313. package/dist/otel/index.js +4 -4
  314. package/dist/{outbox-DxZgoKwp.d.ts → outbox-BZ712Z3X.d.ts} +4 -4
  315. package/dist/{pool-wjbAMqc1.d.ts → pool-DDR1ndk7.d.ts} +3 -3
  316. package/dist/{ports-Bw7uxPd_.d.ts → ports-6LBgr1Aa.d.ts} +1 -1
  317. package/dist/postgres/index.d.ts +4 -4
  318. package/dist/{postgrest-z-T0l23T.d.ts → postgrest-AJc8hnJU.d.ts} +1 -1
  319. package/dist/powersync/index.d.ts +6 -6
  320. package/dist/preset/index.d.ts +3 -3
  321. package/dist/preset/index.js +3 -3
  322. package/dist/{preset-BbSWLoXM.js → preset-DCdEnJj9.js} +9 -14
  323. package/dist/{project-TN03XDsA.js → project-C4NA_van.js} +5 -5
  324. package/dist/{provider-ClrIplXa.d.ts → provider-CWjzAIX9.d.ts} +1 -1
  325. package/dist/{push-token-vykw2JXT.d.ts → push-token-BXsrJ7W9.d.ts} +1 -1
  326. package/dist/query/index.d.ts +1 -1
  327. package/dist/react/index.d.ts +8 -8
  328. package/dist/react/native/index.d.ts +1 -1
  329. package/dist/react/server.d.ts +8 -8
  330. package/dist/react/session.d.ts +2 -2
  331. package/dist/react-router/index.d.ts +6 -6
  332. package/dist/realtime/index.d.ts +6 -6
  333. package/dist/realtime/index.js +2 -2
  334. package/dist/{record-form-D2-F4IwS.d.ts → record-form-CubgBrtI.d.ts} +1 -1
  335. package/dist/{recordings-BBSJt_YV.d.ts → recordings-DeZYx-Kv.d.ts} +1 -1
  336. package/dist/records/index.d.ts +9 -9
  337. package/dist/{refresh-CCKB1Wa6.d.ts → refresh-D02Pbf5B.d.ts} +1 -1
  338. package/dist/{refusal-D_tklIEb.d.ts → refusal-B0VmlAxF.d.ts} +2 -2
  339. package/dist/{resolve-Bj1qD7Dy.d.ts → resolve-CtX6T0c0.d.ts} +1 -1
  340. package/dist/{resolved-names-Dsf28_Dr.js → resolved-names-iLBOUaib.js} +2 -2
  341. package/dist/{resource-D8pzB5Qf.d.ts → resource-WxN0IsvB.d.ts} +1 -1
  342. package/dist/{resource-execute-BSTIfp1D.d.ts → resource-execute-BzqR8DdD.d.ts} +2 -2
  343. package/dist/{resource-types-D5WEvYtV.d.ts → resource-types-BVbHgTPg.d.ts} +4 -4
  344. package/dist/{resources-CsZ7RhZC.d.ts → resources-BSbRa0Ab.d.ts} +2 -2
  345. package/dist/{respond-BzRG-0qc.d.ts → respond-Dzu_-EPH.d.ts} +1 -1
  346. package/dist/{sales-lines-KxxStRzU.d.ts → sales-lines-BsmrNHe9.d.ts} +1 -1
  347. package/dist/{scores-B2BiNuVJ.d.ts → scores-Y8TvyJi1.d.ts} +5 -5
  348. package/dist/server/index.d.ts +24 -24
  349. package/dist/server/index.js +1 -1
  350. package/dist/{server-types-BlDiY-ya.d.ts → server-types-BkTIxW_H.d.ts} +11 -11
  351. package/dist/{session-BGP98Rgj.d.ts → session-BOzx2qHC.d.ts} +6 -6
  352. package/dist/{session-status-C4t7kbSn.d.ts → session-status-BP8eYVnA.d.ts} +2 -2
  353. package/dist/{sign-in-CAadgm33.d.ts → sign-in-CfwJAJJL.d.ts} +2 -2
  354. package/dist/{signers-BKgmVh6A.d.ts → signers-ZmxO1I05.d.ts} +4 -4
  355. package/dist/{signing-keys-BNDUxpQL.d.ts → signing-keys-udgP7Aod.d.ts} +2 -2
  356. package/dist/solid/index.d.ts +10 -10
  357. package/dist/solid-start/index.d.ts +6 -6
  358. package/dist/spec/index.d.ts +2 -2
  359. package/dist/sql/index.d.ts +5 -5
  360. package/dist/sql/index.js +5 -5
  361. package/dist/{sql-Dg3W1ENk.js → sql-CoBySj2F.js} +3617 -1285
  362. package/dist/sqlite/index.d.ts +3 -3
  363. package/dist/{sso-B0Txid2-.d.ts → sso-CkU_4mtK.d.ts} +3 -3
  364. package/dist/ssr/index.d.ts +5 -5
  365. package/dist/storage/index.d.ts +3 -3
  366. package/dist/storage/index.js +1 -1
  367. package/dist/streams/index.d.ts +1 -1
  368. package/dist/{subject-readers-DJbzlm8a.d.ts → subject-readers-CB5Te02u.d.ts} +5 -5
  369. package/dist/{subject-readers-CeeJJOQ4.js → subject-readers-VHcrWhmq.js} +2 -2
  370. package/dist/{subjects-NomQg6Eg.d.ts → subjects-BYCL-6hA.d.ts} +15 -1
  371. package/dist/{subjects-BpIEN1MS.d.ts → subjects-CiBNKy2y.d.ts} +4 -4
  372. package/dist/{support-D7CMbhRT.d.ts → support-BxyPOFk4.d.ts} +4 -4
  373. package/dist/{support-view-CIDXF3_H.d.ts → support-view-nqUWKHEs.d.ts} +1 -1
  374. package/dist/svelte/index.d.ts +9 -9
  375. package/dist/sveltekit/index.d.ts +7 -7
  376. package/dist/{tags-Dg4Ywmqp.d.ts → tags-Cm48BsOa.d.ts} +1 -1
  377. package/dist/tanstack-db/index.d.ts +3 -3
  378. package/dist/tanstack-start/index.d.ts +6 -6
  379. package/dist/{tenant-BRmKZ7aq.d.ts → tenant-Ded341Qz.d.ts} +2 -2
  380. package/dist/testing/index.d.ts +25 -25
  381. package/dist/testing/index.js +2 -2
  382. package/dist/{timeline-Cjl-1hiA.d.ts → timeline-DvXtXq5q.d.ts} +5 -5
  383. package/dist/{topic-F0FKzJyQ.js → topic-DnsNG4Kj.js} +1 -1
  384. package/dist/{topic-CpsKVBot.d.ts → topic-XDdKzlrn.d.ts} +5 -5
  385. package/dist/{types-Dp3UCr1e.d.ts → types-B-D6fYx2.d.ts} +1 -1
  386. package/dist/{types-CjRwmCRP.d.ts → types-BFwB-E1j.d.ts} +2 -2
  387. package/dist/{types-Czq9Xtpa.d.ts → types-CK2X2wCB.d.ts} +5 -5
  388. package/dist/{types-DFdg_4yN.d.ts → types-CPl9uJ0G.d.ts} +2 -2
  389. package/dist/{types-DR1MHh7N.d.ts → types-CwQgFo8c.d.ts} +4 -4
  390. package/dist/{types-Dr9wZgNy.d.ts → types-DMihLukJ.d.ts} +3 -3
  391. package/dist/{types-A4yyKEsg.d.ts → types-iCyZ3lMx.d.ts} +4 -4
  392. package/dist/{types-BdaBfYIw.d.ts → types-nspa5I-a.d.ts} +7 -7
  393. package/dist/{undo-B1jwnVyN.d.ts → undo-0HkWXASn.d.ts} +2 -2
  394. package/dist/{usage-Dp45V42p.d.ts → usage-BkWAPkg2.d.ts} +4 -4
  395. package/dist/{vault-BghaujrZ.d.ts → vault-BkdPmL7f.d.ts} +2 -2
  396. package/dist/vercel-connect/index.d.ts +1 -1
  397. package/dist/{verify-CI8LgSpv.d.ts → verify-41mZmspj.d.ts} +2 -2
  398. package/dist/{view-BvNA7EOC.d.ts → view-C8_xvD-j.d.ts} +1 -1
  399. package/dist/vue/index.d.ts +10 -10
  400. package/dist/{watch-topic-BaMZX139.d.ts → watch-topic-DpN_GEoS.d.ts} +1 -1
  401. package/dist/workflow-sdk/builder/index.d.ts +3 -3
  402. package/dist/workflow-sdk/index.d.ts +1 -1
  403. package/dist/workflow-sdk/world/index.d.ts +1 -1
  404. package/dist/workflow-sdk/world/index.js +1 -1
  405. package/dist/{workflow-sdk-CE8sEK57.js → workflow-sdk-CaEw822d.js} +25 -4
  406. package/dist/{workflow-sdk-BNsZrcVg.d.ts → workflow-sdk-rg3IbCZC.d.ts} +3 -3
  407. package/dist/{workflows-B0ZPAQu0.d.ts → workflows-xL6t0TXx.d.ts} +7 -4
  408. package/dist/yjs/index.d.ts +2 -2
  409. package/dist/yjs/index.js +1 -1
  410. package/package.json +11 -2
  411. package/schemas/config-v1.json +45 -351
  412. package/skills/better-supabase/references/ui-recipes.md +5 -5
  413. package/dist/cli/add-Bf1fyCWm.js +0 -1
  414. package/dist/cli/env-xhwXk5Ri.js +0 -1
  415. package/dist/cli/in-stack-diff-DQTW53Vf.js +0 -257
  416. package/dist/cli/powersync-Dq-txa0_.js +0 -1
  417. package/dist/cli/seed-CO3j_bly.js +0 -1
@@ -1,30 +1,30 @@
1
1
  import { b as DbError, f as Result } from "../result-DZeA5KS6.js";
2
- import { $ as RecordRef, O as AnyFunctions, k as AnyModels } from "../types-DFdg_4yN.js";
3
- import { r as AuthState } from "../resolve-Bj1qD7Dy.js";
2
+ import { $ as RecordRef, O as AnyFunctions, k as AnyModels } from "../types-CPl9uJ0G.js";
3
+ import { r as AuthState } from "../resolve-CtX6T0c0.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-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";
5
+ import { Qt as CacheAdapter, Y as DbStats, mt as QuerySpec, nt as ReadSet, t as BetterSupabase } from "../define-D8_9X5fZ.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-BkTIxW_H.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-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-BRmKZ7aq.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-CbUCGMqj.js";
19
- import { r as MembershipClaim } from "../entitlements-CsZcfllV.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";
9
+ import { S as BlockClientSource, on as RecordBindingOptions } from "../define-block-DWVZSZv1.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-BM6NmKSc.js";
11
+ import { t as tenantOf } from "../tenant-Ded341Qz.js";
12
+ import { n as toSession, t as AuthSession } from "../view-C8_xvD-j.js";
13
+ import { a as SupportPolicy, c as supportSessions, i as SupportOptions, o as SupportSessions, s as SupportStartRequest, t as ActiveSupport } from "../support-BxyPOFk4.js";
14
+ import { t as AuthOutageHook } from "../session-BOzx2qHC.js";
15
+ import { n as AuthKind, r as GuardOptions } from "../respond-Dzu_-EPH.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-B8yWCRN7.js";
17
+ import { c as ListParseOptions, m as ListSearchParams } from "../list-query-BcU8NnNL.js";
18
+ import { r as LiveCountSeed, t as CountRunner } from "../index-BNgpz_BV.js";
19
+ import { r as MembershipClaim } from "../entitlements-Bw3eYGKJ.js";
20
+ import { i as ResourceContext, l as ResourceRouteOptions, o as ResourceHooks, r as ResourceAction, t as ActionArgs } from "../resource-types-BVbHgTPg.js";
21
+ import { t as ResourceMap } from "../resources-BSbRa0Ab.js";
22
+ import { t as defineAction } from "../resource-execute-BzqR8DdD.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-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";
24
+ import { i as tagFor, t as TagOptions } from "../tags-Cm48BsOa.js";
25
+ import { c as RecordListCells, n as Timeline, o as RecordList, u as RecordListPage } from "../timeline-DvXtXq5q.js";
26
+ import { r as safeRedirectPath } from "../sign-in-CfwJAJJL.js";
27
+ import { n as supportOf, t as SupportView } from "../support-view-nqUWKHEs.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-D_tklIEb.js";
1
+ import { n as RouteGuardOptions } from "../refusal-B0VmlAxF.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-D1ckLbUM.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-pZn6S_iq.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-BJV2i8xB.js";
1
+ import { r as AuthorizationOperation } from "./authorization-C7nuWMuB.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>>;
@@ -7,7 +7,9 @@ const employeesSqlOptions = blockOptions({
7
7
  contractExtraColumns: option.extraColumns(),
8
8
  name: option.string({ default: "single" }),
9
9
  privateDetails: option.string({ default: "json" }),
10
- contracts: option.string({ default: "append" })
10
+ contracts: option.string({ default: "append" }),
11
+ salaryUnits: option.string({ default: "minor" }),
12
+ contractOverlap: option.string({ default: "end" })
11
13
  });
12
14
  //#endregion
13
15
  export { employeesSqlOptions 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 };
@@ -1,15 +1,15 @@
1
1
  import { b as DbError, f as Result } from "../result-DZeA5KS6.js";
2
- import { O as AnyFunctions, k as AnyModels } from "../types-DFdg_4yN.js";
3
- import { r as AuthState } from "../resolve-Bj1qD7Dy.js";
2
+ import { O as AnyFunctions, k as AnyModels } from "../types-CPl9uJ0G.js";
3
+ import { r as AuthState } from "../resolve-CtX6T0c0.js";
4
4
  import { i as ProblemDetails } from "../problem-DNwN8iGz.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";
5
+ import { t as BetterSupabase } from "../define-D8_9X5fZ.js";
6
+ import { a as ServerContext, c as ServerOptions, n as BetterServer } from "../server-types-BkTIxW_H.js";
7
+ import { i as MiddlewareOptions, r as GuardOptions } from "../respond-Dzu_-EPH.js";
8
+ import { c as ResourceLoaderContext, i as AuthorizeOptions } from "../kit-B8yWCRN7.js";
9
9
  import { t as Validated } from "../shared-CRRfQAKG.js";
10
- import { a as ResourceHandler } from "../resource-types-D5WEvYtV.js";
10
+ import { a as ResourceHandler } from "../resource-types-BVbHgTPg.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-B1OkIWdx.js";
12
+ import { t as Api } from "../api-59rv5hL6.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
- import { Mt as Plugin } from "../types-DFdg_4yN.js";
2
- import { o as EventHub } from "../events-Cc9DDQWH.js";
1
+ import { Mt as Plugin } from "../types-CPl9uJ0G.js";
2
+ import { o as EventHub } from "../events-B2qbZps6.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.25.0");
43
+ const tracer = options.tracer ?? trace.getTracer("better-supabase", "0.29.0");
44
44
  let histogram;
45
- if (options.metrics !== false) histogram = (options.meter ?? metrics.getMeter("better-supabase", "0.25.0")).createHistogram("db.client.operation.duration", {
45
+ if (options.metrics !== false) histogram = (options.meter ?? metrics.getMeter("better-supabase", "0.29.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.25.0");
222
+ const tracer = options.tracer ?? trace.getTracer("better-supabase", "0.29.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.25.0");
260
+ const tracer = options.tracer ?? trace.getTracer("better-supabase", "0.29.0");
261
261
  return betterSupabase.events.on("block", (event) => {
262
262
  const attributes = {
263
263
  ...options.attributes,
@@ -1,11 +1,11 @@
1
1
  /// <reference lib="esnext.temporal" />
2
2
  import { b as DbError, t as AsyncResult } from "./result-DZeA5KS6.js";
3
3
  import { n as Logger } from "./logger-DWVYUmwi.js";
4
- import { i as CursorPageOptions, n as BlockOptions } from "./block-helpers-CRpAHrp_.js";
5
- import { n as BlockHooks } from "./block-hooks-DZN2w69m.js";
4
+ import { i as CursorPageOptions, n as BlockOptions } from "./block-helpers-D5emQ2O6.js";
5
+ import { n as BlockHooks } from "./block-hooks-B8itxzEE.js";
6
6
  import { t as BlockProblemOptions } from "./problem-DNwN8iGz.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";
7
+ import { i as EventSink, t as CloudEvent } from "./cloud-event-0pQ9vFNS.js";
8
+ import { g as SubscriberPolicy, i as AuthorizationHooks } from "./authorization-hooks-BWhkMZfH.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,7 +1,7 @@
1
- import { Bt as Executor } from "./types-DFdg_4yN.js";
2
- import { o as EventHub } from "./events-Cc9DDQWH.js";
1
+ import { Bt as Executor } from "./types-CPl9uJ0G.js";
2
+ import { o as EventHub } from "./events-B2qbZps6.js";
3
3
  import { n as Logger } from "./logger-DWVYUmwi.js";
4
- import { n as SqlClient } from "./executor-hGjrop3A.js";
4
+ import { n as SqlClient } from "./executor-DXQIx4sW.js";
5
5
  //#region src/postgres/pool.d.ts
6
6
  /** The part of a `pg` pool client `createPostgres` uses. */
7
7
  interface PgPoolClient {
@@ -1,5 +1,5 @@
1
1
  import { t as AsyncResult } from "./result-DZeA5KS6.js";
2
- import { n as TopicPort } from "./watch-topic-BaMZX139.js";
2
+ import { n as TopicPort } from "./watch-topic-DpN_GEoS.js";
3
3
  import { SupabaseClient } from "@supabase/supabase-js";
4
4
  //#region src/client/ports.d.ts
5
5
  /**
@@ -1,8 +1,8 @@
1
1
  import { E as RawDbError } from "../result-DZeA5KS6.js";
2
- import { m as Operation } from "../types-DFdg_4yN.js";
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-wjbAMqc1.js";
5
- import { t as Compiler } from "../compiler-D3UmE7ao.js";
2
+ import { m as Operation } from "../types-CPl9uJ0G.js";
3
+ import { n as SqlClient, r as postgresExecutor, t as PostgresExecutorOptions } from "../executor-DXQIx4sW.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-DDR1ndk7.js";
5
+ import { t as Compiler } from "../compiler-BEeVWXPS.js";
6
6
  //#region src/postgres/pg-error.d.ts
7
7
  /** Node-postgres error fields to the shape `mapDbError` reads. */
8
8
  export declare function fromPgError(error: unknown): RawDbError | undefined;
@@ -1,4 +1,4 @@
1
- import { m as Operation } from "./types-DFdg_4yN.js";
1
+ import { m as Operation } from "./types-CPl9uJ0G.js";
2
2
  //#region src/compile/postgrest.d.ts
3
3
  /**
4
4
  * A compiled PostgREST request, expressed as calls on the public postgrest-js
@@ -1,10 +1,10 @@
1
1
  import { f as Result } from "../result-DZeA5KS6.js";
2
- import { Bt as Executor } from "../types-DFdg_4yN.js";
3
- import { t as BlockTransport } from "../block-transport-DWZSJrwN.js";
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-BaMZX139.js";
6
- import { t as AuthSnapshot } from "../bind-vKDmdu_4.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";
2
+ import { Bt as Executor } from "../types-CPl9uJ0G.js";
3
+ import { t as BlockTransport } from "../block-transport-9EUA3q_I.js";
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-rvbR2C4F.js";
5
+ import { n as TopicPort } from "../watch-topic-DpN_GEoS.js";
6
+ import { t as AuthSnapshot } from "../bind-DmUGUsBd.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-BfirBzOr.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-BJoHD20l.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-Cagz4Z2k.js";
3
- import { i as appReservedColumns, n as appIdentifierError, r as appNameLengthError, t as APP_NAME_MAX } from "../app-tables-xij_MI5H.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-B4TsE2gY.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-CB66nl14.js";
3
+ import { i as appReservedColumns, n as appIdentifierError, r as appNameLengthError, t as APP_NAME_MAX } from "../app-tables-DekyKNQ8.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-C19McoGo.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-qz2MCMyK.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-BbSWLoXM.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-bqKaPjst.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-DCdEnJj9.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-C19McoGo.js";
2
- import { F as asBlocksConfig, M as PRESET_CATALOG, _ as appTablesOf, n as INSTANCE_NAME, t as CORE_BLOCKS } from "./instances-qz2MCMyK.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-bqKaPjst.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
@@ -18,8 +18,9 @@ function literal(value) {
18
18
  return JSON.stringify(value);
19
19
  }
20
20
  /**
21
- * `better-supabase.config.ts` with these keys: every block with its reason, the
22
- * conventions, and the app tables, under a comment with the `/create` URL.
21
+ * `better-supabase.config.ts` with these keys: every block with its reason and
22
+ * the conventions, under a comment with the `/create` URL. A design's tables
23
+ * are SQL files that `init --preset` writes, so they are not in the config.
23
24
  */
24
25
  function configSource(resolved, config, url) {
25
26
  const lines = [
@@ -30,7 +31,6 @@ function configSource(resolved, config, url) {
30
31
  ];
31
32
  const grouped = groupEntries(config);
32
33
  const blocks = grouped["blocks"];
33
- const tables = grouped["tables"];
34
34
  for (const group of [
35
35
  "database",
36
36
  "gen",
@@ -46,13 +46,7 @@ function configSource(resolved, config, url) {
46
46
  }
47
47
  const listed = new Set(resolved.blocks.map((block) => block.name));
48
48
  for (const [name, entry] of entries) if (!listed.has(name)) lines.push(` ${key(name)}: ${literal(entry)},`);
49
- lines.push(" },");
50
- if (typeof tables === "object" && tables !== null) {
51
- lines.push(" tables: {");
52
- for (const [name, table] of Object.entries(tables)) lines.push(` ${key(name)}: ${literal(table)},`);
53
- lines.push(" },");
54
- }
55
- lines.push("});", "");
49
+ lines.push(" },", "});", "");
56
50
  return lines.join("\n");
57
51
  }
58
52
  /**
@@ -544,8 +538,9 @@ function presetKey(preset) {
544
538
  }
545
539
  /**
546
540
  * `better-supabase.config.ts` for a preset and an optional design: every block
547
- * with its reason, the conventions that differ from the defaults and the app
548
- * tables, under a comment with the `/create` URL that reopens the canvas.
541
+ * with its reason and the conventions that differ from the defaults, under a
542
+ * comment with the `/create` URL that reopens the canvas. The design's tables
543
+ * are not in it: `init --preset` and `add --preset` write them as SQL files.
549
544
  */
550
545
  async function presetConfigSource(resolved, design) {
551
546
  return configSource(resolved, design === void 0 ? presetConfig(resolved) : designConfig(resolved, design), await createUrl(resolved, design));
@@ -1,8 +1,8 @@
1
- import { a as presetOf, d as resolvePreset } from "./config-C19McoGo.js";
2
- import { M as PRESET_CATALOG, b as isAppDefault, d as appIdentifierError, f as appNameLengthError, p as appReservedColumns, y as appDefaultError } from "./instances-qz2MCMyK.js";
3
- import { c as resolveConfig } from "./config-CP-WaboC.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-BbSWLoXM.js";
5
- import { K as SQL_MODULES, T as renderBlocks, f as moduleLayout } from "./sql-Dg3W1ENk.js";
1
+ import { a as presetOf, d as resolvePreset } from "./config-bqKaPjst.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-r7njjNgh.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-DCdEnJj9.js";
5
+ import { F as renderBlocks, S as moduleLayout, nt as SQL_MODULES } from "./sql-CoBySj2F.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-Bj1qD7Dy.js";
3
+ import { r as AuthState } from "./resolve-CtX6T0c0.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-Bw7uxPd_.js";
1
+ import { s as PushTokenPort } from "./ports-6LBgr1Aa.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-BfYDY6eh.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-BM6NmKSc.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
- 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-BRmKZ7aq.js";
5
- import { t as AuthSession } from "../view-BvNA7EOC.js";
6
- import { r as LiveCountSeed } from "../index-CbUCGMqj.js";
7
- import { r as MembershipClaim } from "../entitlements-CsZcfllV.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-6BVg31Yp.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-D01wHGSN.js";
3
+ import { i as DataEntry, m as RejectedChange, n as DataEngine, o as DataSyncState } from "../data-engine-rvbR2C4F.js";
4
+ import { t as tenantOf } from "../tenant-Ded341Qz.js";
5
+ import { t as AuthSession } from "../view-C8_xvD-j.js";
6
+ import { r as LiveCountSeed } from "../index-BNgpz_BV.js";
7
+ import { r as MembershipClaim } from "../entitlements-Bw3eYGKJ.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-DkzFduux.js";
9
+ import { n as supportOf, t as SupportView } from "../support-view-nqUWKHEs.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-Cw5gGSP8.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-vKDmdu_4.js";
1
+ import { t as AuthSnapshot } from "../../bind-DmUGUsBd.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-BLP6XtoL.js";
2
+ import { mt as QuerySpec } from "../define-D8_9X5fZ.js";
3
3
  import { n as Impersonator } from "../impersonation-YTa9dZUv.js";
4
- import { t as tenantOf } from "../tenant-BRmKZ7aq.js";
5
- import { t as AuthSession } from "../view-BvNA7EOC.js";
6
- import { r as LiveCountSeed } from "../index-CbUCGMqj.js";
7
- import { r as MembershipClaim } from "../entitlements-CsZcfllV.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-6BVg31Yp.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-D01wHGSN.js";
4
+ import { t as tenantOf } from "../tenant-Ded341Qz.js";
5
+ import { t as AuthSession } from "../view-C8_xvD-j.js";
6
+ import { r as LiveCountSeed } from "../index-BNgpz_BV.js";
7
+ import { r as MembershipClaim } from "../entitlements-Bw3eYGKJ.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-DkzFduux.js";
9
+ import { n as supportOf, t as SupportView } from "../support-view-nqUWKHEs.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-Cw5gGSP8.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-BvNA7EOC.js";
2
- import { t as SupportView } from "../support-view-CIDXF3_H.js";
1
+ import { t as AuthSession } from "../view-C8_xvD-j.js";
2
+ import { t as SupportView } from "../support-view-nqUWKHEs.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
- import { O as AnyFunctions, k as AnyModels } from "../types-DFdg_4yN.js";
1
+ import { O as AnyFunctions, k as AnyModels } from "../types-CPl9uJ0G.js";
2
2
  import { l as PermissionRef, t as AnyAuthorizer } from "../authorizer-B6X09otb.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";
3
+ import { t as BetterSupabase } from "../define-D8_9X5fZ.js";
4
+ import { n as BetterServer } from "../server-types-BkTIxW_H.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-B8yWCRN7.js";
6
+ import { t as RefusalRedirects } from "../refusal-B0VmlAxF.js";
7
+ import { n as FrameworkOptions, r as LocalsResource, t as FrameworkLocals } from "../framework-DVYTtQXA.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
- import { D as AccessTopicPolicy, E as AccessPolicySql } from "../types-DFdg_4yN.js";
2
- import { et as TemplateParams, tt as TemplateValues } from "../bucket-vc-QRrva.js";
1
+ import { D as AccessTopicPolicy, E as AccessPolicySql } from "../types-CPl9uJ0G.js";
2
+ import { et as TemplateParams, tt as TemplateValues } from "../bucket-SvRQwYS4.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-CpsKVBot.js";
5
- import { a as watchTopic, i as topicPort, n as TopicPort, r as TopicWatch, t as TopicHandle } from "../watch-topic-BaMZX139.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-CbUCGMqj.js";
7
- import { n as subjectReaders, t as SubjectReadersOptions } from "../subject-readers-DJbzlm8a.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-XDdKzlrn.js";
5
+ import { a as watchTopic, i as topicPort, n as TopicPort, r as TopicWatch, t as TopicHandle } from "../watch-topic-DpN_GEoS.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-BNgpz_BV.js";
7
+ import { n as subjectReaders, t as SubjectReadersOptions } from "../subject-readers-CB5Te02u.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,8 +1,8 @@
1
1
  import { i as realtimeChanges, n as liveQuery, r as liveTopic, t as liveCount } from "../live-C21DgbsD.js";
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
- import { t as subjectReaders } from "../subject-readers-CeeJJOQ4.js";
5
- import { n as rowChange, r as rowKeys, t as defineTopic } from "../topic-F0FKzJyQ.js";
4
+ import { t as subjectReaders } from "../subject-readers-VHcrWhmq.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-DibVN37N.js";
1
+ import { Sn as EntitySchema } from "./define-block-DWVZSZv1.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,5 +1,5 @@
1
1
  /// <reference lib="esnext.temporal" />
2
- import { o as AiFile } from "./types-Dr9wZgNy.js";
2
+ import { o as AiFile } from "./types-DMihLukJ.js";
3
3
  //#region src/blocks/activities/recordings.d.ts
4
4
  /** The queue a recording's transcription job goes on, with the jobs block. */
5
5
  declare const ENGAGEMENT_TRANSCRIBE_QUEUE = "engagements.transcribe";
@@ -1,13 +1,13 @@
1
1
  import { b as DbError, t as AsyncResult } from "../result-DZeA5KS6.js";
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-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-CpsKVBot.js";
6
- import { n as TopicPort } from "../watch-topic-BaMZX139.js";
7
- import { n as Controller, t as AuthPort } from "../controller-CwGXms17.js";
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-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";
2
+ import { $ as RecordRef } from "../types-CPl9uJ0G.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-DWVZSZv1.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-BM6NmKSc.js";
5
+ import { p as SubscriptionStatus } from "../topic-XDdKzlrn.js";
6
+ import { n as TopicPort } from "../watch-topic-DpN_GEoS.js";
7
+ import { n as Controller, t as AuthPort } from "../controller-CtwAsnVV.js";
8
+ import { a as RecordSummaryOptions, c as Subjects, f as MyWorkKind, i as RecordSummary, n as MyWorkItem, r as MyWorkOptions } from "../subjects-CiBNKy2y.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-DvXtXq5q.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-CubgBrtI.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>;