better-supabase 0.22.0 → 0.25.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 (347) hide show
  1. package/dist/{access-sql-CNIgUqWf.js → access-sql-bjWFUWlk.js} +11 -0
  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-BGzdnQm5.d.ts → app-tables-xij_MI5H.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-DhoA7dsD.d.ts → authorization-BJV2i8xB.d.ts} +136 -21
  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-CFsctoFJ.d.ts → bind-vKDmdu_4.d.ts} +4 -4
  18. package/dist/{block-env-BrUNeuJ_.d.ts → block-env-wVLz0KMV.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 +50 -13
  40. package/dist/blocks/calendar/index.js +133 -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 +45 -3
  53. package/dist/blocks/custom-fields/index.js +40 -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 +25 -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 +3 -3
  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 +6 -4
  118. package/dist/blocks/search/index.js +2 -0
  119. package/dist/blocks/security-events/index.d.ts +3 -3
  120. package/dist/blocks/segments/index.d.ts +3 -3
  121. package/dist/blocks/sequences/index.d.ts +2 -2
  122. package/dist/blocks/service-accounts/index.d.ts +2 -2
  123. package/dist/blocks/sessions/index.d.ts +2 -2
  124. package/dist/blocks/settings/index.d.ts +3 -3
  125. package/dist/blocks/share-links/index.d.ts +30 -5
  126. package/dist/blocks/share-links/index.js +58 -22
  127. package/dist/blocks/shipments/index.d.ts +2 -2
  128. package/dist/blocks/signatures/index.d.ts +2 -2
  129. package/dist/blocks/signing-keys/index.d.ts +2 -2
  130. package/dist/blocks/sla/index.d.ts +3 -3
  131. package/dist/blocks/sso/index.d.ts +3 -3
  132. package/dist/blocks/state-machine/index.d.ts +2 -2
  133. package/dist/blocks/subjects/index.d.ts +2 -2
  134. package/dist/blocks/tags/index.d.ts +20 -5
  135. package/dist/blocks/tags/index.js +15 -2
  136. package/dist/blocks/tasks/index.d.ts +5 -5
  137. package/dist/blocks/teams/index.d.ts +28 -6
  138. package/dist/blocks/teams/index.js +10 -3
  139. package/dist/blocks/templates/index.d.ts +4 -4
  140. package/dist/blocks/time-tracking/index.d.ts +28 -5
  141. package/dist/blocks/time-tracking/index.js +27 -11
  142. package/dist/blocks/timeline/index.d.ts +4 -4
  143. package/dist/blocks/trash/index.d.ts +2 -2
  144. package/dist/blocks/undo/index.d.ts +2 -2
  145. package/dist/blocks/updated-at/index.d.ts +1 -1
  146. package/dist/blocks/usage/index.d.ts +2 -2
  147. package/dist/blocks/vercel-marketplace/index.d.ts +2 -2
  148. package/dist/blocks/versions/index.d.ts +2 -2
  149. package/dist/blocks/waitlist/index.d.ts +2 -2
  150. package/dist/blocks/webhooks/index.d.ts +6 -6
  151. package/dist/blocks/workflow-editor/index.d.ts +7 -7
  152. package/dist/blocks/workflows/index.d.ts +5 -5
  153. package/dist/{bookings-BpCNphYp.d.ts → bookings-CVw5-Q0Z.d.ts} +1 -1
  154. package/dist/chat-sdk/index.d.ts +2 -2
  155. package/dist/cli/{add-BXFzr0Wf.js → add-BTVrOGJF.js} +11 -11
  156. package/dist/cli/add-Bf1fyCWm.js +1 -0
  157. package/dist/cli/{add-B6CQOt3A.js → add-C2pNvVpu.js} +2 -2
  158. package/dist/cli/{backfill-Dflp6JZk.js → backfill-BicVPugb.js} +3 -3
  159. package/dist/cli/bin.js +1 -1
  160. package/dist/cli/{blocks-CBH3N7Fy.js → blocks-BmYOH4T-.js} +1 -1
  161. package/dist/cli/{blocks-FtOIcUbu.js → blocks-sScN-ik-.js} +1 -1
  162. package/dist/cli/{cache-61VwYKEv.js → cache-1TfBy2K4.js} +1 -1
  163. package/dist/cli/{codemod-CqPRa25J.js → codemod-ylE6wGLo.js} +1 -1
  164. package/dist/cli/{config-BH0goim0.js → config-BVfeG3A5.js} +37 -5
  165. package/dist/cli/{config-CTRzkX0H.js → config-CeaQMrvS.js} +1 -1
  166. package/dist/cli/{content-mapper-DGQQY5IA.js → content-mapper-hUW2nb92.js} +2 -2
  167. package/dist/cli/{db-DCeyHS1y.js → db-DwjyUbAh.js} +2 -2
  168. package/dist/cli/{doctor-BxxSO193.js → doctor-D3WKFBSv.js} +16 -16
  169. package/dist/cli/{gen-D2cqqqTH.js → gen-CqsUdsB2.js} +14 -14
  170. package/dist/cli/index.d.ts +1 -1
  171. package/dist/cli/index.js +7 -7
  172. package/dist/cli/{init-BnG1IE1y.js → init-DryZ5Mp1.js} +6 -6
  173. package/dist/cli/{live-D26OWOAb.js → live-Di45imoV.js} +2 -2
  174. package/dist/cli/{mcp-1l3C_GdB.js → mcp-BklC-3eK.js} +2 -2
  175. package/dist/cli/{metadata-DDfPBHwI.js → metadata-7PsBF5Xw.js} +3 -3
  176. package/dist/cli/{migration-safety-CQbrfZIx.js → migration-safety-Doy9qYO8.js} +2 -2
  177. package/dist/cli/{migrations-Ch5Uuvyj.js → migrations-JtsPYv8g.js} +1 -1
  178. package/dist/cli/{module-migration-Dul1uTYX.js → module-migration-ZIn1NCMi.js} +2 -2
  179. package/dist/cli/{powersync-CfT-tRx1.js → powersync-BRGXOCJ0.js} +2 -2
  180. package/dist/cli/powersync-Dq-txa0_.js +1 -0
  181. package/dist/cli/{print-CbPT4PTL.js → print-Dfqd4DB-.js} +2 -2
  182. package/dist/cli/{remove-kDH1yxKZ.js → remove-CQzSCYTu.js} +5 -5
  183. package/dist/cli/{render-0Vd7BaNA.js → render-DWRz-uPQ.js} +7 -4
  184. package/dist/cli/{run-DxTd55Ug.js → run-DPLedqTF.js} +25 -25
  185. package/dist/cli/{run-Dafms0D2.js → run-j54rk2w-.js} +8 -8
  186. package/dist/cli/{seed-CdSxunFT.js → seed-BMynpMPy.js} +2 -2
  187. package/dist/cli/seed-CO3j_bly.js +1 -0
  188. package/dist/cli/{shared-BQAMXvwd.js → shared-CslNcs-R.js} +1 -1
  189. package/dist/cli/{snapshot-B8K6gYjA.js → snapshot-DdN5GlhH.js} +3 -3
  190. package/dist/cli/{source-CXDyCWz5.js → source-COARbqch.js} +1 -1
  191. package/dist/cli/{source-args-z-jkabmO.js → source-args-CDmmFmFG.js} +1 -1
  192. package/dist/cli/{spec-BGsnTkIl.js → spec-CgLNZc_C.js} +2 -2
  193. package/dist/cli/{spec-CaN7nOqI.js → spec-DIhBQlBF.js} +1 -1
  194. package/dist/cli/{sql-layout-BGAlcp1U.js → sql-layout-8jrP5gIa.js} +2 -2
  195. package/dist/cli/{sync-CT_5VG0E.js → sync-SqyVHRSJ.js} +3 -3
  196. package/dist/cli/{upgrade-frUtPDDb.js → upgrade-CY-vj_qh.js} +4 -4
  197. package/dist/cli/{upgrade-DA7aO88E.js → upgrade-D0aLhluU.js} +2 -2
  198. package/dist/cli/{version-CUdPyV6J.js → version-Bhca9D6q.js} +1 -1
  199. package/dist/client/index.d.ts +5 -5
  200. package/dist/client/native/index.d.ts +4 -4
  201. package/dist/{cloud-event-CzZTJkXv.d.ts → cloud-event-DcJwder2.d.ts} +1 -1
  202. package/dist/{composite-ChzHhSB0.d.ts → composite-CWJvZgni.d.ts} +6 -6
  203. package/dist/config/index.d.ts +4 -4
  204. package/dist/config/index.js +4 -4
  205. package/dist/{config-C9AOcQ9S.js → config-C19McoGo.js} +4 -3
  206. package/dist/{config-CH-D2B-4.js → config-CP-WaboC.js} +6 -5
  207. package/dist/{connectors-Fud4amxp.d.ts → connectors-CHGiffYH.d.ts} +1 -1
  208. package/dist/{context-DEisra3V.d.ts → context-BJoHD20l.d.ts} +60 -14
  209. package/dist/{controller-B6vWdKSa.d.ts → controller-CwGXms17.d.ts} +1 -1
  210. package/dist/{conversion-DBgMck5U.d.ts → conversion-DlfStnln.d.ts} +1 -1
  211. package/dist/create/index.d.ts +3 -3
  212. package/dist/create/index.js +3 -3
  213. package/dist/create/lite/index.d.ts +3 -3
  214. package/dist/create/lite/index.js +2 -2
  215. package/dist/credentials/index.d.ts +3 -3
  216. package/dist/{define-Lf6rI2QN.d.ts → define-BLP6XtoL.d.ts} +1 -1
  217. package/dist/{define-block-DCAiOrNX.d.ts → define-block-DibVN37N.d.ts} +4 -4
  218. package/dist/edge/index.d.ts +8 -8
  219. package/dist/elysia/index.d.ts +1 -1
  220. package/dist/{ended-gUsMZVNg.d.ts → ended-B8RyuUXF.d.ts} +1 -1
  221. package/dist/{entitlements-BPaPd3MD.d.ts → entitlements-CsZcfllV.d.ts} +2 -2
  222. package/dist/eve/index.d.ts +2 -2
  223. package/dist/{event-calendar-DCufbihU.d.ts → event-calendar-DVLs2wUO.d.ts} +1 -1
  224. package/dist/events/index.d.ts +3 -3
  225. package/dist/{events-vcqenSYU.d.ts → events-Cc9DDQWH.d.ts} +2 -0
  226. package/dist/{executor-DNK401lZ.d.ts → executor-C-Ox9eKq.d.ts} +1 -1
  227. package/dist/{executor-aFV7nEBs.d.ts → executor-DNPm13a9.d.ts} +2 -2
  228. package/dist/expo/index.d.ts +3 -3
  229. package/dist/{field-errors-DBgDCITw.d.ts → field-errors-6BVg31Yp.d.ts} +7 -7
  230. package/dist/{framework-DKA3fTHl.d.ts → framework-GlxXiotm.d.ts} +6 -6
  231. package/dist/h3/index.d.ts +1 -1
  232. package/dist/h3/v1/index.d.ts +1 -1
  233. package/dist/hono/index.d.ts +8 -8
  234. package/dist/{index-ClvuSZEz.d.ts → index-BfYDY6eh.d.ts} +3 -3
  235. package/dist/{index-CM2aGNRo.d.ts → index-C0QuN9_P.d.ts} +186 -8
  236. package/dist/{index-CG9rA8H8.d.ts → index-C_qlBJ3k.d.ts} +2 -2
  237. package/dist/{index-3p_oWttZ.d.ts → index-Cagz4Z2k.d.ts} +1 -1
  238. package/dist/{index-ByF22_C6.d.ts → index-CbUCGMqj.d.ts} +3 -3
  239. package/dist/{index-C4sjewrr.d.ts → index-D01wHGSN.d.ts} +11 -11
  240. package/dist/{index-iRkFvJ7J.d.ts → index-D1ckLbUM.d.ts} +1 -1
  241. package/dist/{index-CdMZQCYR.d.ts → index-DOHx3JuB.d.ts} +4 -4
  242. package/dist/index.d.ts +2 -2
  243. package/dist/{instances-CK0jR3Pc.js → instances-qz2MCMyK.js} +111 -11
  244. package/dist/{kit-CVgQCIBO.d.ts → kit-Dxx3MT8m.d.ts} +3 -3
  245. package/dist/list/index.d.ts +1 -1
  246. package/dist/{list-query-XYfUZb0j.d.ts → list-query-XHoYDlRN.d.ts} +1 -1
  247. package/dist/mapper/bin.js +6 -6
  248. package/dist/mcp/index.d.ts +5 -5
  249. package/dist/mcp/sdk/index.d.ts +5 -5
  250. package/dist/nestjs/index.d.ts +2 -2
  251. package/dist/next/client/index.d.ts +1 -1
  252. package/dist/next/index.d.ts +21 -21
  253. package/dist/node/index.d.ts +2 -2
  254. package/dist/{operations-DC3wU3Sy.d.ts → operations-CPhOcuzl.d.ts} +1 -1
  255. package/dist/{options-fMxhtuVR.js → options-BJtdsK7b.js} +4 -1
  256. package/dist/options-BOGo1qCA.js +13 -0
  257. package/dist/options-BSsYXjhC.js +9 -0
  258. package/dist/options-C4LuqmdG.js +15 -0
  259. package/dist/{options-DhdazgTZ.js → options-eTepQ1rZ.js} +4 -1
  260. package/dist/{options-BfFC4iFE.js → options-jsOCvLUz.js} +3 -1
  261. package/dist/orpc/index.d.ts +7 -7
  262. package/dist/otel/index.d.ts +1 -1
  263. package/dist/otel/index.js +4 -4
  264. package/dist/{outbox-HxjZTfF6.d.ts → outbox-DxZgoKwp.d.ts} +2 -2
  265. package/dist/{pool-CrtT4dg-.d.ts → pool-wjbAMqc1.d.ts} +1 -1
  266. package/dist/{ports-BbBJVyS0.d.ts → ports-Bw7uxPd_.d.ts} +1 -1
  267. package/dist/postgres/index.d.ts +1 -1
  268. package/dist/powersync/index.d.ts +3 -3
  269. package/dist/preset/index.d.ts +3 -3
  270. package/dist/preset/index.js +3 -3
  271. package/dist/{preset-CS490mYJ.js → preset-BbSWLoXM.js} +2 -2
  272. package/dist/{project-NmP1NdLi.js → project-TN03XDsA.js} +5 -5
  273. package/dist/{provider-CqwEOLCA.d.ts → provider-ClrIplXa.d.ts} +1 -1
  274. package/dist/{push-token-CPJfPFa2.d.ts → push-token-vykw2JXT.d.ts} +1 -1
  275. package/dist/query/index.d.ts +1 -1
  276. package/dist/react/index.d.ts +7 -7
  277. package/dist/react/native/index.d.ts +1 -1
  278. package/dist/react/server.d.ts +8 -8
  279. package/dist/react/session.d.ts +2 -2
  280. package/dist/react-router/index.d.ts +5 -5
  281. package/dist/realtime/index.d.ts +4 -4
  282. package/dist/realtime/index.js +1 -1
  283. package/dist/{record-form-BbZpwsEi.d.ts → record-form-D2-F4IwS.d.ts} +1 -1
  284. package/dist/records/index.d.ts +7 -7
  285. package/dist/{refresh-DT_ICaK-.d.ts → refresh-CCKB1Wa6.d.ts} +1 -1
  286. package/dist/{refusal-OrlI3g4H.d.ts → refusal-D_tklIEb.d.ts} +2 -2
  287. package/dist/{resolve-CXX6DHv3.d.ts → resolve-Bj1qD7Dy.d.ts} +1 -1
  288. package/dist/{resolved-names-DdlJzoMK.js → resolved-names-Dsf28_Dr.js} +1 -1
  289. package/dist/{resource-execute-CUG6xUuh.d.ts → resource-execute-BSTIfp1D.d.ts} +1 -1
  290. package/dist/{resource-types-DjZ91WKA.d.ts → resource-types-D5WEvYtV.d.ts} +2 -2
  291. package/dist/{resources-6Ncdt9XT.d.ts → resources-CsZ7RhZC.d.ts} +1 -1
  292. package/dist/{respond-oZeJ342J.d.ts → respond-BzRG-0qc.d.ts} +1 -1
  293. package/dist/server/index.d.ts +20 -20
  294. package/dist/{server-types-BH6AjDBN.d.ts → server-types-BlDiY-ya.d.ts} +8 -8
  295. package/dist/{session-Y5SSYO2C.d.ts → session-BGP98Rgj.d.ts} +5 -5
  296. package/dist/{session-status-qQLm7jzh.d.ts → session-status-C4t7kbSn.d.ts} +2 -2
  297. package/dist/{sign-in-BAjR49fq.d.ts → sign-in-CAadgm33.d.ts} +2 -2
  298. package/dist/solid/index.d.ts +9 -9
  299. package/dist/solid-start/index.d.ts +5 -5
  300. package/dist/spec/index.d.ts +1 -1
  301. package/dist/sql/index.d.ts +5 -5
  302. package/dist/sql/index.js +5 -5
  303. package/dist/{sql-BMXEHTvr.js → sql-Dg3W1ENk.js} +5113 -1530
  304. package/dist/sqlite/index.d.ts +1 -1
  305. package/dist/ssr/index.d.ts +5 -5
  306. package/dist/storage/index.js +1 -1
  307. package/dist/{subject-readers-8GySC9Z8.d.ts → subject-readers-DJbzlm8a.d.ts} +1 -1
  308. package/dist/subjects-NomQg6Eg.d.ts +131 -0
  309. package/dist/{support-B4ZBVxt3.d.ts → support-D7CMbhRT.d.ts} +4 -4
  310. package/dist/{support-view-BYOgwXsJ.d.ts → support-view-CIDXF3_H.d.ts} +1 -1
  311. package/dist/svelte/index.d.ts +8 -8
  312. package/dist/sveltekit/index.d.ts +6 -6
  313. package/dist/{tags-Cjtcp5cN.d.ts → tags-Dg4Ywmqp.d.ts} +1 -1
  314. package/dist/tanstack-db/index.d.ts +1 -1
  315. package/dist/tanstack-start/index.d.ts +5 -5
  316. package/dist/{tenant-BHvMFNXl.d.ts → tenant-BRmKZ7aq.d.ts} +2 -2
  317. package/dist/testing/index.d.ts +16 -16
  318. package/dist/testing/index.js +2 -2
  319. package/dist/{timeline-CEzj9v1z.d.ts → timeline-Cjl-1hiA.d.ts} +3 -3
  320. package/dist/{topic-gTVjLGTk.d.ts → topic-CpsKVBot.d.ts} +3 -3
  321. package/dist/{topic-DClSoqY7.js → topic-F0FKzJyQ.js} +1 -1
  322. package/dist/{types-yj8VF4oY.d.ts → types-BdaBfYIw.d.ts} +2 -2
  323. package/dist/{types-BC1HLEVx.d.ts → types-CjRwmCRP.d.ts} +2 -2
  324. package/dist/{types-EO2crSX_.d.ts → types-DR1MHh7N.d.ts} +1 -1
  325. package/dist/{vault-O-YlAyHb.d.ts → vault-BghaujrZ.d.ts} +1 -1
  326. package/dist/vercel-connect/index.d.ts +1 -1
  327. package/dist/{verify-B0KLBb3j.d.ts → verify-CI8LgSpv.d.ts} +1 -1
  328. package/dist/{view-DyFdMCqg.d.ts → view-BvNA7EOC.d.ts} +1 -1
  329. package/dist/vue/index.d.ts +9 -9
  330. package/dist/{watch-topic-C6HhbnVz.d.ts → watch-topic-BaMZX139.d.ts} +1 -1
  331. package/dist/workflow-sdk/builder/index.d.ts +3 -3
  332. package/dist/workflow-sdk/index.d.ts +1 -1
  333. package/dist/workflow-sdk/world/index.d.ts +1 -1
  334. package/dist/workflow-sdk/world/index.js +1 -1
  335. package/dist/{workflow-sdk-B3Ss55Fy.d.ts → workflow-sdk-BNsZrcVg.d.ts} +1 -1
  336. package/dist/{workflow-sdk-DELaQEp3.js → workflow-sdk-CE8sEK57.js} +38 -1
  337. package/dist/yjs/index.d.ts +1 -1
  338. package/dist/yjs/index.js +1 -1
  339. package/package.json +1 -1
  340. package/schemas/config-v1.json +217 -1
  341. package/dist/cli/add-w_HumDPX.js +0 -1
  342. package/dist/cli/powersync-Vmhw5c1N.js +0 -1
  343. package/dist/cli/seed-CXJvTU5D.js +0 -1
  344. package/dist/options-C1-pwEqm.js +0 -5
  345. package/dist/options-CTv-xmbA.js +0 -5
  346. package/dist/options-ChiL-4ZS.js +0 -8
  347. package/dist/subjects-DvmQeF_F.d.ts +0 -79
@@ -59,6 +59,17 @@ const TEMPLATE_PLACEHOLDERS = {
59
59
  "resource",
60
60
  "scope"
61
61
  ],
62
+ rowsWith: [
63
+ "permission",
64
+ "resource",
65
+ "ids"
66
+ ],
67
+ rowsWithFor: [
68
+ "user",
69
+ "permission",
70
+ "resource",
71
+ "ids"
72
+ ],
62
73
  portalSubjects: ["action"],
63
74
  portalParties: []
64
75
  };
@@ -8,7 +8,7 @@ import { t as BlockTransport } from "./block-transport-DWZSJrwN.js";
8
8
  import { n as BlockHooks } from "./block-hooks-DZN2w69m.js";
9
9
  import { g as JobHandler } from "./types-Czq9Xtpa.js";
10
10
  import { r as RunState } from "./run-state-BMCD_1Lt.js";
11
- import { I as Notifier } from "./define-block-DCAiOrNX.js";
11
+ import { I as Notifier } from "./define-block-DibVN37N.js";
12
12
  //#region src/blocks/ai-schedules/ai-schedules.d.ts
13
13
  /** A task run's state, in the words ai-chat and workflow runs share. */
14
14
  type AiTaskRunStatus = Extract<RunState, "queued" | "running" | "completed" | "failed">;
@@ -2,8 +2,8 @@ import { a as SessionActor, c as agentClaims, r as AgentActOptions } from "../..
2
2
  import { d as KnowledgeSearchOptions, o as KnowledgeHit, r as Knowledge } from "../../knowledge-F1IhRI4Q.js";
3
3
  import { t as Agent } from "../../agents-CMIB3802.js";
4
4
  import { P as AiToolPolicy, _ as AiModerationAction, b as AiModerationStage, i as AiChat } from "../../ai-chat-BCaKsvLW.js";
5
- import { r as AuthorizationOperation } from "../../authorization-DhoA7dsD.js";
6
- import { t as OperationTable } from "../../operations-DC3wU3Sy.js";
5
+ import { r as AuthorizationOperation } from "../../authorization-BJV2i8xB.js";
6
+ import { t as OperationTable } from "../../operations-CPhOcuzl.js";
7
7
  import { i as SearchToolOptions, r as ResultsFilter } from "../../embeddings-D_RsS6ow.js";
8
8
  import { n as GatewayOptions } from "../../gateway-options-BlVCqgb8.js";
9
9
  import { LanguageModel, LanguageModelMiddleware, StopCondition, ToolLoopAgent, ToolLoopAgentSettings, ToolSet } from "ai";
@@ -1,7 +1,7 @@
1
1
  import { t as AsyncResult } from "../../result-DZeA5KS6.js";
2
2
  import { i as CursorPageOptions } from "../../block-helpers-CRpAHrp_.js";
3
3
  import { g as JobHandler } from "../../types-Czq9Xtpa.js";
4
- import { c as AiKeys, i as AiBatchItemInput, r as AiBatchItem, t as AiBatch } from "../../types-EO2crSX_.js";
4
+ import { c as AiKeys, i as AiBatchItemInput, r as AiBatchItem, t as AiBatch } from "../../types-DR1MHh7N.js";
5
5
  import { Experimental_BatchItemResult, Experimental_BatchProvider, Experimental_BatchReference, Experimental_BatchStatus, Experimental_StartBatchOptions, Experimental_StartBatchResult } from "ai";
6
6
  //#region src/ai-sdk/batches/batches.d.ts
7
7
  /** The AI SDK batch calls, replaceable in tests. */
@@ -4,7 +4,7 @@ import { i as AiMessage } from "../message-Bg4TKA12.js";
4
4
  import { g as JobHandler } from "../types-Czq9Xtpa.js";
5
5
  import { U as AiSandboxes } from "../ai-chat-BCaKsvLW.js";
6
6
  import { n as GatewayOptions, r as gatewayOptions, t as GatewayContext } from "../gateway-options-BlVCqgb8.js";
7
- import { c as AiKeys, p as ResolvedProviderKey } from "../types-EO2crSX_.js";
7
+ import { c as AiKeys, p as ResolvedProviderKey } from "../types-DR1MHh7N.js";
8
8
  import { a as Usage } from "../usage-Dp45V42p.js";
9
9
  import { a as GatewayClient, c as UsageSource, d as modelInputOf, f as problem429, h as usageQuota, i as CostBackfillPayload, l as costBackfill, m as usageOf, n as AiUsageMeters, o as GatewayModelEntry, p as usageEntries, r as CostBackfillOptions, s as ModelCatalogRefreshOptions, t as AiUsage, u as modelCatalogRefresh } from "../gateway-DzI687yd.js";
10
10
  import { i as fromModelMessages, n as ModelApproval, r as ModelSource, t as FromModelMessagesOptions } from "../model-messages-DrR4lZ_c.js";
@@ -1,7 +1,7 @@
1
1
  import { b as DbError, t as AsyncResult } from "../../result-DZeA5KS6.js";
2
- import { i as CredentialRef, r as CredentialProvider } from "../../provider-CqwEOLCA.js";
3
- import { r as ConnectorServer, s as Connectors } from "../../connectors-Fud4amxp.js";
4
- import { n as VaultCredentials } from "../../vault-O-YlAyHb.js";
2
+ import { i as CredentialRef, r as CredentialProvider } from "../../provider-ClrIplXa.js";
3
+ import { r as ConnectorServer, s as Connectors } from "../../connectors-CHGiffYH.js";
4
+ import { n as VaultCredentials } from "../../vault-BghaujrZ.js";
5
5
  import { i as SupabaseMcpScope, n as SupabaseMcpModule, t as SupabaseMcpFeature } from "../../supabase-mcp-Z4vtsuoO.js";
6
6
  import { ToolSet } from "ai";
7
7
  import { ElicitResult, ElicitationRequest, MCPClient, OAuthClientMetadata, OAuthClientProvider } from "@ai-sdk/mcp";
@@ -1,8 +1,8 @@
1
1
  import { St as AnyPlugin, d as MutationIntent, ot as SchemaMeta } from "./types-DFdg_4yN.js";
2
- import { bt as EventMap } from "./events-vcqenSYU.js";
2
+ import { bt as EventMap } from "./events-Cc9DDQWH.js";
3
3
  import { o as Authorizer } from "./authorizer-B6X09otb.js";
4
- import { p as DbBlockSource } from "./define-Lf6rI2QN.js";
5
- import { n as CloudEventOptions } from "./cloud-event-CzZTJkXv.js";
4
+ import { p as DbBlockSource } from "./define-BLP6XtoL.js";
5
+ import { n as CloudEventOptions } from "./cloud-event-DcJwder2.js";
6
6
  import { t as RealtimeStatus } from "./realtime-status-BhNkb-Ow.js";
7
7
  import { C as ModelWebhook, E as OperationSource, O as SecurityRequirement, S as ModelTag, a as JsonSchema, b as ModelServer, d as ModelInfo, f as ModelMessage, i as JsonObject, m as ModelOperation, n as DataApiOperation, p as ModelMessageTrait, r as HttpMethod, s as ModelChannel, t as ApiModel, v as ModelSecurityProfileRequirement, w as ModelWorkflow, y as ModelSecurityScheme } from "./model-hwpvole9.js";
8
8
  import { c as SpecDiagnostic, i as DocumentOf, l as VersionOf, s as RenderedOf, t as AnyDocumentFormat } from "./format-u-65igKI.js";
@@ -3,7 +3,7 @@ import { t as AsyncResult } from "./result-DZeA5KS6.js";
3
3
  import { t as StandardSchemaV1 } from "./standard-DBV730sF.js";
4
4
  import { r as FieldsOf } from "./block-fields-BE7pInWZ.js";
5
5
  import { n as Logger } from "./logger-DWVYUmwi.js";
6
- import { n as AuthResolver } from "./resolve-CXX6DHv3.js";
6
+ import { n as AuthResolver } from "./resolve-Bj1qD7Dy.js";
7
7
  import { r as BlockTemporalOptions } from "./block-helpers-CRpAHrp_.js";
8
8
  import { t as BlockTransport } from "./block-transport-DWZSJrwN.js";
9
9
  import { n as BlockHooks } from "./block-hooks-DZN2w69m.js";
@@ -1,4 +1,4 @@
1
- import { hr as AppTableConfig } from "./context-DEisra3V.js";
1
+ import { hr as AppTableConfig } from "./context-BJoHD20l.js";
2
2
  //#region src/config/app-tables.d.ts
3
3
  /**
4
4
  * The columns every app table gets, which `columns` may not name: `id`,
@@ -7,7 +7,7 @@ import { n as Logger } from "./logger-DWVYUmwi.js";
7
7
  import { a as BlockTenantOptions, r as BlockTemporalOptions } from "./block-helpers-CRpAHrp_.js";
8
8
  import { t as BlockTransport } from "./block-transport-DWZSJrwN.js";
9
9
  import { n as BlockHooks } from "./block-hooks-DZN2w69m.js";
10
- import { i as AuthorizationHooks, n as Approver } from "./authorization-hooks-D_pwXlBs.js";
10
+ import { i as AuthorizationHooks, n as Approver } from "./authorization-hooks-DtzreCAq.js";
11
11
  //#region src/blocks/approvals/approvals.d.ts
12
12
  interface ApprovalsOptions<S extends StandardSchemaV1 | undefined = undefined> extends BlockTemporalOptions, BlockTenantOptions {
13
13
  readonly transport: BlockTransport;
@@ -1,11 +1,11 @@
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";
3
+ import { t as BetterSupabase } from "../define-BLP6XtoL.js";
4
+ import { n as BetterServer } from "../server-types-BlDiY-ya.js";
5
5
  import { P as StorageImageOptions } from "../index-CQhPHHDF.js";
6
- import { a as AuthorizedContext, l as Unwrapped, n as ActionParsed, o as BlockActionOptions, r as ActionResult, s as BlockRequireOptions } from "../kit-CVgQCIBO.js";
7
- import { t as RefusalRedirects } from "../refusal-OrlI3g4H.js";
8
- import { n as FrameworkOptions, r as LocalsResource, t as FrameworkLocals } from "../framework-DKA3fTHl.js";
6
+ import { a as AuthorizedContext, l as Unwrapped, n as ActionParsed, o as BlockActionOptions, r as ActionResult, s as BlockRequireOptions } from "../kit-Dxx3MT8m.js";
7
+ import { t as RefusalRedirects } from "../refusal-D_tklIEb.js";
8
+ import { n as FrameworkOptions, r as LocalsResource, t as FrameworkLocals } from "../framework-GlxXiotm.js";
9
9
  import { StandardSchemaV1 } from "@standard-schema/spec";
10
10
  //#region src/astro/index.d.ts
11
11
  /**
@@ -230,7 +230,7 @@ interface BlockNameRegistry {
230
230
  readonly "registry": "target" | "ignore" | "keyColumns" | "redact" | "category" | "eventPrefix" | "targetType" | "tenantColumn" | "labelColumn";
231
231
  };
232
232
  readonly functions: "audit" | "audit_event" | "audit_event_many" | "audit_read_tenants" | "audit_reads_all" | "count_audit_events" | "list_audit_events" | "purge_audit_log";
233
- readonly actions: "view" | "viewAll" | "revert";
233
+ readonly actions: "view" | "viewAll" | "revert" | "reveal";
234
234
  readonly hooks: "audit_retention";
235
235
  readonly entities: {};
236
236
  readonly primary: never;
@@ -304,17 +304,20 @@ interface BlockNameRegistry {
304
304
  };
305
305
  readonly "calendar": {
306
306
  readonly tables: {
307
- readonly "calendars": "id" | "tenant" | "name" | "tz" | "color" | "ownerType" | "ownerId" | "createdAt";
308
- readonly "events": "id" | "tenant" | "calendar" | "uid" | "title" | "description" | "location" | "startsAt" | "endsAt" | "allDay" | "tz" | "status" | "rrule" | "exdates" | "recurrence" | "originalStart" | "subjectType" | "subjectId" | "color" | "kind" | "transparency" | "autoDecline" | "createdBy" | "createdAt" | "updatedAt";
309
- readonly "attendees": "id" | "tenant" | "event" | "email" | "name" | "user" | "role" | "response";
307
+ readonly "calendars": "id" | "tenant" | "name" | "tz" | "color" | "ownerType" | "ownerId" | "createdAt" | "visibility" | "description" | "rank" | "isDefault";
308
+ readonly "events": "id" | "tenant" | "calendar" | "uid" | "title" | "description" | "location" | "startsAt" | "endsAt" | "allDay" | "tz" | "status" | "rrule" | "exdates" | "recurrence" | "originalStart" | "subjectType" | "subjectId" | "color" | "kind" | "transparency" | "autoDecline" | "createdBy" | "createdAt" | "updatedAt" | "visibility" | "owner" | "rdates";
309
+ readonly "attendees": "id" | "tenant" | "event" | "email" | "name" | "user" | "role" | "response" | "subjectType" | "subjectId" | "organizer" | "optional";
310
310
  readonly "workingHours": "id" | "tenant" | "user" | "weekday" | "startsAt" | "endsAt" | "tz";
311
+ readonly "grants": "id" | "tenant" | "calendar" | "user" | "role" | "createdAt";
312
+ readonly "rules": "id" | "tenant" | "event" | "rrule" | "freq" | "interval" | "count" | "until" | "byDay" | "byMonthDay" | "byMonth" | "bySetPos";
313
+ readonly "recurrenceDates": "id" | "tenant" | "event" | "kind" | "at";
311
314
  };
312
315
  readonly functions: "calendar_attendee_auto_decline" | "calendar_block_auto_decline" | "calendar_busy_blocks" | "calendar_free_busy" | "calendar_rule_starts" | "cancel_calendar_occurrence" | "create_calendar" | "delete_calendar" | "delete_calendar_event" | "import_calendar_events" | "list_calendar_events" | "list_calendar_working_hours" | "list_calendars" | "remove_calendar_attendee" | "respond_calendar_event" | "save_calendar_event" | "set_calendar_attendee" | "set_calendar_working_hours" | "split_calendar_event";
313
316
  readonly actions: "manage" | "write" | "read";
314
317
  readonly hooks: "before_calendar_event_save" | "after_calendar_event_save";
315
318
  readonly entities: {
316
- readonly "calendar_event": "id" | "tenant_id" | "calendar_id" | "uid" | "title" | "description" | "location" | "starts_at" | "ends_at" | "all_day" | "tz" | "status" | "rrule" | "exdates" | "recurrence_id" | "original_start" | "subject_type" | "subject_id" | "color" | "kind" | "transparency" | "auto_decline" | "created_by" | "created_at" | "updated_at";
317
- readonly "calendar": "id" | "tenant_id" | "name" | "tz" | "color" | "owner_type" | "owner_id" | "created_at";
319
+ readonly "calendar_event": "id" | "tenant_id" | "calendar_id" | "uid" | "title" | "description" | "location" | "starts_at" | "ends_at" | "all_day" | "tz" | "status" | "rrule" | "exdates" | "recurrence_id" | "original_start" | "subject_type" | "subject_id" | "color" | "kind" | "transparency" | "auto_decline" | "created_by" | "created_at" | "updated_at" | "visibility" | "owner_id" | "rdates";
320
+ readonly "calendar": "id" | "tenant_id" | "name" | "tz" | "color" | "owner_type" | "owner_id" | "created_at" | "visibility" | "description" | "rank" | "is_default";
318
321
  };
319
322
  readonly primary: "calendar_event";
320
323
  };
@@ -517,7 +520,7 @@ interface BlockNameRegistry {
517
520
  readonly tables: {
518
521
  readonly "definitions": "id" | "tenant" | "entity" | "key" | "label" | "type" | "required" | "sensitive" | "permission" | "rank" | "encrypted";
519
522
  readonly "options": "id" | "definition" | "value" | "label" | "rank";
520
- readonly "values": "id" | "tenant" | "definition" | "subjectType" | "subjectId" | "valueText" | "valueNumber" | "valueDate" | "valueBool" | "optionId" | "valueJson";
523
+ readonly "values": "id" | "tenant" | "definition" | "subjectType" | "subjectId" | "valueText" | "valueNumber" | "valueDate" | "valueBool" | "optionId" | "valueJson" | "valueUrl" | "valueEmail" | "key" | "label" | "type" | "rank" | "createdAt" | "updatedAt";
521
524
  };
522
525
  readonly functions: "delete_field_definition" | "list_field_definitions" | "rank_field_definition" | "read_field_values" | "save_field_definition" | "set_field_value";
523
526
  readonly actions: "manage" | "read" | "sensitive";
@@ -535,7 +538,7 @@ interface BlockNameRegistry {
535
538
  readonly "holds": "id" | "tenant" | "kind" | "reason" | "placedBy" | "placedAt" | "releasedBy" | "releasedAt";
536
539
  };
537
540
  readonly functions: "anonymize_due" | "cancel_organization_deletion" | "claim_data_export" | "complete_data_export" | "data_export_object_allowed" | "data_export_rows" | "data_lifecycle_credentials" | "data_lifecycle_tables" | "due_organization_deletions" | "expired_data_exports" | "fail_data_export" | "forget_data_exports" | "get_data_export" | "is_held" | "list_data_exports" | "list_legal_holds" | "list_retention_policies" | "organization_credential_refs" | "organization_deletion" | "place_legal_hold" | "purge_organization" | "release_legal_hold" | "remove_retention_policy" | "request_data_export" | "request_organization_deletion" | "retention_cutoff" | "retention_floor" | "retention_for" | "set_retention_policy";
538
- readonly actions: "export" | "delete" | "cancelDelete";
541
+ readonly actions: "export" | "delete" | "cancelDelete" | "deletePlatform";
539
542
  readonly hooks: "on_organization_purge";
540
543
  readonly entities: {};
541
544
  readonly primary: never;
@@ -639,15 +642,15 @@ interface BlockNameRegistry {
639
642
  };
640
643
  readonly "employees": {
641
644
  readonly tables: {
642
- readonly "employees": "id" | "tenant" | "user" | "name" | "email" | "jobTitle" | "team" | "manager" | "employmentType" | "status" | "startDate" | "endDate" | "offboardReason" | "originType" | "originId" | "createdBy" | "createdAt" | "updatedAt";
643
- readonly "privateDetails": "employee" | "tenant" | "user" | "nationalId" | "iban" | "birthDate" | "personalEmail" | "phone" | "address" | "emergencyContacts" | "offboardedAt" | "anonymizedAt" | "updatedAt" | "updatedBy";
645
+ readonly "employees": "id" | "tenant" | "user" | "name" | "email" | "jobTitle" | "team" | "manager" | "employmentType" | "status" | "startDate" | "endDate" | "offboardReason" | "originType" | "originId" | "createdBy" | "createdAt" | "updatedAt" | "firstName" | "lastName";
646
+ readonly "privateDetails": "employee" | "tenant" | "user" | "nationalId" | "iban" | "birthDate" | "personalEmail" | "phone" | "address" | "emergencyContacts" | "offboardedAt" | "anonymizedAt" | "updatedAt" | "updatedBy" | "addressLine1" | "addressLine2" | "postalCode" | "city" | "region" | "country" | "emergencyName" | "emergencyPhone" | "emergencyRelation";
644
647
  readonly "contracts": "id" | "tenant" | "employee" | "startsOn" | "endsOn" | "hoursPerWeek" | "salary" | "currency" | "salaryPeriod" | "note" | "createdBy" | "createdAt";
645
648
  };
646
649
  readonly functions: "add_employee_contract" | "create_employee" | "employee_contracts" | "employee_private_details" | "offboard_employee" | "org_chart" | "reports_of" | "save_employee_private_details" | "update_employees";
647
650
  readonly actions: "read" | "write" | "viewSensitive";
648
651
  readonly hooks: "before_employee_create" | "after_employee_create" | "before_employee_update" | "after_employee_update" | "before_employee_offboard" | "after_employee_offboard";
649
652
  readonly entities: {
650
- readonly "employee": "id" | "tenant_id" | "user_id" | "name" | "email" | "job_title" | "team_id" | "manager_id" | "employment_type" | "status" | "start_date" | "end_date" | "offboard_reason" | "origin_type" | "origin_id" | "created_by" | "created_at" | "updated_at";
653
+ readonly "employee": "id" | "tenant_id" | "user_id" | "name" | "email" | "job_title" | "team_id" | "manager_id" | "employment_type" | "status" | "start_date" | "end_date" | "offboard_reason" | "origin_type" | "origin_id" | "created_by" | "created_at" | "updated_at" | "first_name" | "last_name";
651
654
  };
652
655
  readonly primary: "employee";
653
656
  };
@@ -801,6 +804,8 @@ interface BlockNameRegistry {
801
804
  readonly "applications": "id" | "tenant" | "job" | "candidateType" | "candidateId" | "source" | "owner" | "pipeline" | "stage" | "stageEnteredAt" | "state" | "rejectionReason" | "hiredAt" | "rank" | "createdAt" | "updatedAt";
802
805
  readonly "scorecards": "id" | "tenant" | "application" | "stage" | "reviewer" | "rating" | "recommendation" | "notes" | "submittedAt";
803
806
  readonly "interviews": "id" | "tenant" | "application" | "kind" | "startsAt" | "endsAt" | "location" | "interviewers" | "createdBy" | "createdAt";
807
+ readonly "interviewers": "tenant" | "interview" | "user";
808
+ readonly "scorecardScores": "tenant" | "scorecard" | "criterion" | "score" | "notes";
804
809
  };
805
810
  readonly functions: "application_detail" | "apply_to_job" | "close_application" | "save_job" | "schedule_interview" | "submit_scorecard";
806
811
  readonly actions: "read" | "write" | "manage";
@@ -1195,7 +1200,7 @@ interface BlockNameRegistry {
1195
1200
  readonly "organizations": "id" | "name" | "slug" | "createdBy" | "createdAt" | "updatedAt" | "disabledAt" | "deletedAt";
1196
1201
  };
1197
1202
  readonly functions: "add_member_role" | "create_organization" | "delete_organization" | "ensure_organization_owner" | "guard_membership" | "guard_membership_role" | "leave_organization" | "list_members" | "list_my_organizations" | "mark_used" | "organization_slug_problem" | "remove_member" | "remove_member_role" | "resume_member" | "suspend_member" | "switch_organization" | "transfer_ownership" | "update_member_role" | "update_organization";
1198
- readonly actions: "update" | "delete" | "listMembers" | "removeMember" | "suspendMember" | "updateRole" | "transferOwnership";
1203
+ readonly actions: "update" | "delete" | "listMembers" | "removeMember" | "suspendMember" | "updateRole" | "transferOwnership" | "create" | "updatePlatform" | "deletePlatform" | "updateRolePlatform" | "removeMemberPlatform";
1199
1204
  readonly hooks: "before_organization_create" | "after_organization_create" | "before_organization_update" | "after_organization_update" | "after_member_change";
1200
1205
  readonly entities: {};
1201
1206
  readonly primary: never;
@@ -1472,7 +1477,7 @@ interface BlockNameRegistry {
1472
1477
  };
1473
1478
  readonly "search": {
1474
1479
  readonly tables: {
1475
- readonly "documents": "tenant" | "subjectType" | "subjectId" | "title" | "titleSearch" | "body" | "url" | "tsv" | "contentHash" | "embedding" | "updatedAt";
1480
+ readonly "documents": "tenant" | "subjectType" | "subjectId" | "title" | "titleSearch" | "body" | "url" | "tsv" | "contentHash" | "embedding" | "updatedAt" | "description";
1476
1481
  };
1477
1482
  readonly functions: "search" | "search_favorites" | "search_index_row" | "search_normalize" | "search_recents" | "search_refresh" | "search_reindex" | "search_remove" | "search_star" | "search_touch" | "search_user_state";
1478
1483
  readonly actions: "read";
@@ -1551,7 +1556,7 @@ interface BlockNameRegistry {
1551
1556
  };
1552
1557
  readonly "share-links": {
1553
1558
  readonly tables: {
1554
- readonly "links": "id" | "tenant" | "subjectType" | "subjectId" | "tokenHash" | "role" | "version" | "expiresAt" | "revokedAt" | "maxUses" | "useCount" | "createdBy" | "leaf" | "versionId";
1559
+ readonly "links": "id" | "tenant" | "subjectType" | "subjectId" | "tokenHash" | "role" | "version" | "expiresAt" | "revokedAt" | "maxUses" | "useCount" | "createdBy" | "leaf" | "versionId" | "createdAt";
1555
1560
  readonly "views": "id" | "tenant" | "subjectType" | "subjectId" | "version" | "viewerKind" | "viewer" | "firstViewedAt" | "lastViewedAt" | "viewCount";
1556
1561
  readonly "state": "subjectType" | "subjectId" | "user" | "starredAt" | "lastOpenedAt";
1557
1562
  };
@@ -1559,7 +1564,7 @@ interface BlockNameRegistry {
1559
1564
  readonly actions: "create" | "read";
1560
1565
  readonly hooks: never;
1561
1566
  readonly entities: {
1562
- readonly "link": "id" | "tenant_id" | "subject_type" | "subject_id" | "token_hash" | "role" | "version" | "expires_at" | "revoked_at" | "max_uses" | "use_count" | "created_by" | "leaf_id" | "version_id";
1567
+ readonly "link": "id" | "tenant_id" | "subject_type" | "subject_id" | "token_hash" | "role" | "version" | "expires_at" | "revoked_at" | "max_uses" | "use_count" | "created_by" | "leaf_id" | "version_id" | "created_at";
1563
1568
  };
1564
1569
  readonly primary: "link";
1565
1570
  };
@@ -1667,7 +1672,7 @@ interface BlockNameRegistry {
1667
1672
  readonly "taggings": "tenant" | "tag" | "subjectType" | "subjectId" | "createdAt";
1668
1673
  };
1669
1674
  readonly functions: "create_tag" | "delete_tag" | "list_tags" | "rank_tag" | "subject_tags" | "tag" | "untag" | "update_tag";
1670
- readonly actions: "manage" | "read" | "apply";
1675
+ readonly actions: "manage" | "read" | "apply" | "create" | "update" | "delete";
1671
1676
  readonly hooks: "before_tag_apply" | "after_tag_apply";
1672
1677
  readonly entities: {
1673
1678
  readonly "tag": "id" | "tenant_id" | "kind" | "name" | "slug" | "color" | "description" | "rank" | "created_at" | "updated_at";
@@ -1699,7 +1704,7 @@ interface BlockNameRegistry {
1699
1704
  readonly "members": "team" | "user" | "tenant" | "createdAt";
1700
1705
  };
1701
1706
  readonly functions: "add_team_member" | "archive_team" | "create_team" | "delete_team" | "list_teams" | "remove_team_member" | "team_ids_of" | "update_team";
1702
- readonly actions: "manage" | "read";
1707
+ readonly actions: "manage" | "read" | "create" | "update" | "delete" | "members";
1703
1708
  readonly hooks: "before_team_create" | "after_team_create";
1704
1709
  readonly entities: {
1705
1710
  readonly "team": "id" | "tenant_id" | "name" | "slug" | "description" | "status" | "created_by" | "created_at" | "updated_at";
@@ -1723,15 +1728,15 @@ interface BlockNameRegistry {
1723
1728
  };
1724
1729
  readonly "time-tracking": {
1725
1730
  readonly tables: {
1726
- readonly "entries": "id" | "tenant" | "user" | "subjectType" | "subjectId" | "startedAt" | "endedAt" | "billable" | "rate" | "rateCurrency" | "note" | "createdAt" | "updatedAt" | "seconds";
1727
- readonly "timesheets": "id" | "tenant" | "user" | "week" | "approval" | "note" | "submittedAt" | "approvedAt" | "createdAt";
1731
+ readonly "entries": "id" | "tenant" | "user" | "subjectType" | "subjectId" | "startedAt" | "endedAt" | "billable" | "rate" | "rateCurrency" | "note" | "createdAt" | "updatedAt" | "seconds" | "runningSince" | "employee";
1732
+ readonly "timesheets": "id" | "tenant" | "user" | "week" | "approval" | "note" | "submittedAt" | "approvedAt" | "createdAt" | "status" | "decidedBy" | "decidedAt" | "decisionNote" | "employee";
1728
1733
  };
1729
1734
  readonly functions: "approve_timesheet" | "delete_time_entry" | "get_timesheet" | "list_time_entries" | "list_timesheets" | "log_time" | "reopen_timesheet" | "running_timer" | "start_timer" | "stop_timer" | "submit_timesheet" | "time_entry_guard" | "time_week" | "time_week_locked" | "update_time_entry";
1730
1735
  readonly actions: "read" | "track" | "approve" | "manage";
1731
1736
  readonly hooks: "before_time_entry_save" | "after_time_entry_save" | "before_timesheet_submit" | "after_timesheet_submit";
1732
1737
  readonly entities: {
1733
- readonly "entry": "id" | "tenant_id" | "user_id" | "subject_type" | "subject_id" | "started_at" | "ended_at" | "billable" | "rate" | "rate_currency" | "note" | "created_at" | "updated_at" | "seconds";
1734
- readonly "timesheet": "id" | "tenant_id" | "user_id" | "week" | "approval_id" | "note" | "submitted_at" | "approved_at" | "created_at";
1738
+ readonly "entry": "id" | "tenant_id" | "user_id" | "subject_type" | "subject_id" | "started_at" | "ended_at" | "billable" | "rate" | "rate_currency" | "note" | "created_at" | "updated_at" | "seconds" | "running_since" | "employee_id";
1739
+ readonly "timesheet": "id" | "tenant_id" | "user_id" | "week" | "approval_id" | "note" | "submitted_at" | "approved_at" | "created_at" | "status" | "decided_by" | "decided_at" | "decision_note" | "employee_id";
1735
1740
  };
1736
1741
  readonly primary: "entry";
1737
1742
  };
@@ -2140,9 +2145,25 @@ type BulkSqlOptions = {
2140
2145
  };
2141
2146
  //#endregion
2142
2147
  //#region src/blocks/calendar/options.d.ts
2148
+ type CalendarAccessFunctions = {
2149
+ readonly read?: string;
2150
+ readonly write?: string;
2151
+ };
2143
2152
  /** `blocks.calendar.options`. */
2144
2153
  type CalendarSqlOptions = {
2145
2154
  readonly extraColumns?: ExtraColumns;
2155
+ /**
2156
+ * Columns of the app's own on the calendars table, which `create_calendar`
2157
+ * takes as `fields` and `list_calendars` returns under `fields`.
2158
+ */
2159
+ readonly calendarExtraColumns?: ExtraColumns;
2160
+ readonly access?: boolean;
2161
+ readonly accessFunctions?: CalendarAccessFunctions;
2162
+ readonly userFeed?: boolean;
2163
+ readonly recurrence?: "inline" | "table";
2164
+ readonly rdates?: boolean;
2165
+ readonly attendeeKey?: "email" | "any";
2166
+ readonly calendarDetails?: boolean;
2146
2167
  };
2147
2168
  //#endregion
2148
2169
  //#region src/blocks/catalog/options.d.ts
@@ -2289,6 +2310,16 @@ type DriveSqlOptions = {
2289
2310
  type EmployeesSqlOptions = {
2290
2311
  readonly employmentTypes?: readonly string[];
2291
2312
  readonly extraColumns?: ExtraColumns;
2313
+ /**
2314
+ * Columns of the app's own on the private details table, which
2315
+ * `savePrivateDetails` takes under `fields`.
2316
+ */
2317
+ readonly privateDetailsExtraColumns?: ExtraColumns;
2318
+ /** Columns of the app's own on the contracts table, set from `fields`. */
2319
+ readonly contractExtraColumns?: ExtraColumns;
2320
+ readonly name?: "single" | "split";
2321
+ readonly privateDetails?: "json" | "flat";
2322
+ readonly contracts?: "append" | "editable";
2292
2323
  };
2293
2324
  //#endregion
2294
2325
  //#region src/blocks/expenses/options.d.ts
@@ -2338,10 +2369,27 @@ type GrantsSqlOptions = {
2338
2369
  };
2339
2370
  //#endregion
2340
2371
  //#region src/blocks/hiring/options.d.ts
2372
+ type HiringStageMarker = string | {
2373
+ readonly column: string;
2374
+ readonly value: string;
2375
+ };
2376
+ type HiringJobStages = {
2377
+ readonly table: string;
2378
+ readonly id?: string;
2379
+ readonly job: string;
2380
+ readonly rank: string;
2381
+ readonly archivedAt?: string;
2382
+ readonly hired?: HiringStageMarker;
2383
+ readonly rejected?: HiringStageMarker;
2384
+ readonly withdrawn?: HiringStageMarker;
2385
+ };
2341
2386
  /** `blocks.hiring.options`. */
2342
2387
  type HiringSqlOptions = {
2343
2388
  readonly candidate?: string;
2344
2389
  readonly extraColumns?: ExtraColumns;
2390
+ readonly stages?: "pipelines" | HiringJobStages;
2391
+ readonly scorecardKey?: "stage" | "application";
2392
+ readonly hiringManager?: "user" | "employee";
2345
2393
  };
2346
2394
  //#endregion
2347
2395
  //#region src/blocks/identities/options.d.ts
@@ -2758,6 +2806,17 @@ type SettingsSqlOptions = {
2758
2806
  /** `blocks.share-links.options`. */
2759
2807
  type ShareLinksSqlOptions = {
2760
2808
  readonly extraColumns?: ExtraColumns;
2809
+ /**
2810
+ * `create_share_link` takes a `token_hash` the caller made (sha256 hex), and
2811
+ * `find_share_link(token_hash)` looks a live link up by it without counting a
2812
+ * use.
2813
+ */
2814
+ readonly tokenHash?: boolean;
2815
+ /**
2816
+ * `list_share_links` returns each link's tenant, subject, creator and
2817
+ * creation time, and takes `include_revoked`.
2818
+ */
2819
+ readonly fullRows?: boolean;
2761
2820
  };
2762
2821
  //#endregion
2763
2822
  //#region src/blocks/signing-keys/options.d.ts
@@ -2800,6 +2859,12 @@ type StreamsSqlOptions = {
2800
2859
  /** `blocks.tags.options`. */
2801
2860
  type TagsSqlOptions = {
2802
2861
  readonly extraColumns?: ExtraColumns;
2862
+ /**
2863
+ * `create_tag` takes the caller's `slug`, and `update_tag` a `patch` that
2864
+ * sets `name`, `slug`, `color`, `description` and `kind` and can clear the
2865
+ * nullable ones.
2866
+ */
2867
+ readonly patch?: boolean;
2803
2868
  };
2804
2869
  //#endregion
2805
2870
  //#region src/blocks/tasks/options.d.ts
@@ -2816,6 +2881,13 @@ type TeamsSqlOptions = {
2816
2881
  /** The key type of teams. Default `uuid`; `inbox` needs `uuid`. */
2817
2882
  readonly teamIdType?: "uuid" | "bigint";
2818
2883
  readonly extraColumns?: ExtraColumns;
2884
+ /**
2885
+ * `create_team` takes the caller's `slug`, and `update_team` a `patch` that
2886
+ * sets `name`, `slug` and `description` and can clear the description.
2887
+ */
2888
+ readonly patch?: boolean;
2889
+ /** Writes `restore_team`, which makes an archived team active again. */
2890
+ readonly restore?: boolean;
2819
2891
  };
2820
2892
  //#endregion
2821
2893
  //#region src/blocks/templates/options.d.ts
@@ -2830,6 +2902,23 @@ type TimeTrackingSqlOptions = {
2830
2902
  readonly policy?: unknown;
2831
2903
  readonly timeZone?: string;
2832
2904
  readonly extraColumns?: ExtraColumns;
2905
+ /**
2906
+ * `false` keeps timesheets without the approvals block: a status column holds
2907
+ * open, submitted, approved or rejected, and members with
2908
+ * `time_tracking.approve` decide through `approve_timesheet` and
2909
+ * `reject_timesheet`. Default `true`.
2910
+ */
2911
+ readonly approvals?: boolean;
2912
+ /**
2913
+ * The column that holds each user's IANA time zone, as `{ column:
2914
+ * "schema.table.column", key? }` (`key` defaults to `id`). Weeks then start
2915
+ * in the user's own zone, and in `timeZone` for a user without one.
2916
+ */
2917
+ readonly userTimeZone?: {
2918
+ readonly column: string;
2919
+ readonly key?: string;
2920
+ };
2921
+ readonly owner?: "user" | "employee";
2833
2922
  };
2834
2923
  //#endregion
2835
2924
  //#region src/blocks/trash/options.d.ts
@@ -3175,6 +3264,15 @@ interface BlockConfig<Options extends object = Readonly<Record<string, unknown>>
3175
3264
  * column the adopted table doesn't have.
3176
3265
  */
3177
3266
  readonly columns?: { readonly [T in keyof Names["tables"]]?: { readonly [C in Names["tables"][T]]?: string | null; }; };
3267
+ /**
3268
+ * Logical table to logical column to the values the app's column stores for
3269
+ * each label the block writes or compares, e.g. `{ events: { status: {
3270
+ * cancelled: 'canceled' } } }`. A list maps one label to several app values
3271
+ * (the first is written, each reads as the label); `null` marks a label the
3272
+ * app does not support, so a write of it fails with `VALUE_UNSUPPORTED`. Only
3273
+ * columns a block lists as typed take values; its docs page names them.
3274
+ */
3275
+ readonly values?: { readonly [T in keyof Names["tables"]]?: { readonly [C in Names["tables"][T]]?: Readonly<Record<string, string | readonly string[] | null>>; }; };
3178
3276
  /** Type of tenant ids: `uuid` (default), `text`, `bigint` or `integer`. */
3179
3277
  readonly idType?: string;
3180
3278
  /** Who the block's rows belong to. Defaults to `sql.scope`, then `tenant`. */
@@ -3395,6 +3493,8 @@ interface ResolvedBlock {
3395
3493
  readonly schema: string;
3396
3494
  readonly tables: Readonly<Record<string, string | null>>;
3397
3495
  readonly columns: Readonly<Record<string, Readonly<Record<string, string | null>>>>;
3496
+ /** `values`, unchecked; the module context checks it against its tables. */
3497
+ readonly values?: Readonly<Record<string, unknown>>;
3398
3498
  readonly idType?: string;
3399
3499
  readonly scope?: BlockScope;
3400
3500
  /** `ownTablePolicies`, with its default. */
@@ -3506,6 +3606,21 @@ interface AuthorizationFunctions {
3506
3606
  * `permission` calls it for the instance in its topic name.
3507
3607
  */
3508
3608
  readonly permitted?: string;
3609
+ /**
3610
+ * The ids of the rows of `{resource}` the caller holds `{permission}` on, as
3611
+ * a set of text: it is used as `select r.id from <template> as r(id)`.
3612
+ * `{resource}` is a resource name as the provider spells it in SQL (such as
3613
+ * `file_node`), unquoted, so it can be part of a function name; `{ids}` is a
3614
+ * `text[]` of the candidate ids, which a provider may use to limit the work.
3615
+ * `can_subject` calls it for a `config.records.<type>.permissions.<action>`
3616
+ * entry with `rows`.
3617
+ */
3618
+ readonly rowsWith?: string;
3619
+ /**
3620
+ * `rowsWith` for `{user}`, so `can_subject_for` answers per-row grants for
3621
+ * another user. Without it those grants count for the caller only.
3622
+ */
3623
+ readonly rowsWithFor?: string;
3509
3624
  /**
3510
3625
  * The records the caller may reach as a guest for `{action}` (`read`,
3511
3626
  * `comment` or `upload`), as a set of `(tenant text, subject_type text,
@@ -1,5 +1,5 @@
1
1
  import { Ft as RequestContext } from "./types-DFdg_4yN.js";
2
- import { r as AuthState } from "./resolve-CXX6DHv3.js";
2
+ import { r as AuthState } from "./resolve-Bj1qD7Dy.js";
3
3
  //#region src/core/contracts/authorization-hooks.d.ts
4
4
  /**
5
5
  * An email address or chat user, as a bot or a mail webhook sees it. The value
@@ -2,7 +2,10 @@ import { n as blockOptions, r as option } from "./options-CfVPctAw.js";
2
2
  //#region src/blocks/hiring/options.ts
3
3
  const hiringSqlOptions = blockOptions({
4
4
  candidate: option.string({ default: "person" }),
5
- extraColumns: option.extraColumns()
5
+ extraColumns: option.extraColumns(),
6
+ stages: option.unknown({ default: "pipelines" }),
7
+ scorecardKey: option.string({ default: "stage" }),
8
+ hiringManager: option.string({ default: "user" })
6
9
  });
7
10
  //#endregion
8
11
  //#region src/blocks/hiring/automations.ts
@@ -11,6 +11,11 @@ interface CalendarAttendee {
11
11
  readonly userId?: string;
12
12
  readonly role: AttendeeRole;
13
13
  readonly response: AttendeeResponse;
14
+ readonly id?: string;
15
+ readonly subjectType?: string;
16
+ readonly subjectId?: string;
17
+ readonly organizer?: boolean;
18
+ readonly optional?: boolean;
14
19
  }
15
20
  /** One `VEVENT`, ready for `importIcs` or `upsert`. */
16
21
  interface IcsEvent {
@@ -27,6 +32,7 @@ interface IcsEvent {
27
32
  readonly status: CalendarEventStatus;
28
33
  readonly rrule?: string;
29
34
  readonly exdates: readonly Temporal.Instant[];
35
+ readonly rdates?: readonly Temporal.Instant[];
30
36
  /** `RECURRENCE-ID`: the occurrence of the series this event overrides. */
31
37
  readonly originalStart?: Temporal.Instant;
32
38
  readonly attendees: readonly CalendarAttendee[];
@@ -63,6 +69,7 @@ interface IcsSource {
63
69
  readonly status: CalendarEventStatus;
64
70
  readonly rrule?: string;
65
71
  readonly exdates: readonly Temporal.Instant[];
72
+ readonly rdates?: readonly Temporal.Instant[];
66
73
  readonly originalStart?: Temporal.Instant;
67
74
  readonly attendees?: readonly CalendarAttendee[];
68
75
  readonly updatedAt?: Temporal.Instant;
@@ -100,6 +107,7 @@ interface CalendarEvent {
100
107
  /** The RFC 5545 `RRULE` value of a series, without the `RRULE:` prefix. */
101
108
  readonly rrule?: string;
102
109
  readonly exdates: readonly Temporal.Instant[];
110
+ readonly rdates?: readonly Temporal.Instant[];
103
111
  /** The series an override belongs to. */
104
112
  readonly recurrenceId?: string;
105
113
  /** The occurrence of the series an override replaces. */
@@ -114,6 +122,8 @@ interface CalendarEvent {
114
122
  readonly autoDecline?: boolean;
115
123
  readonly attendees: readonly CalendarAttendee[];
116
124
  readonly updatedAt?: Temporal.Instant;
125
+ readonly visibility?: "public" | "private";
126
+ readonly ownerId?: string;
117
127
  }
118
128
  /** One occurrence in a range: a single event, or one instance of a series. */
119
129
  interface CalendarOccurrence {
@@ -1,7 +1,7 @@
1
1
  import { b as DbError, n as BetterResultApi, t as AsyncResult } from "../result-DZeA5KS6.js";
2
2
  import { Ct as ApplyExtension, K as Insert, O as AnyFunctions, Z as PrimaryKeyValue, dt as TableMeta, ht as Update, k as AnyModels, ut as TableKey } from "../types-DFdg_4yN.js";
3
- import { $ as SearchArgs, A as OffsetPageArgs, At as GetArgs, B as Returned, C as FindExt, Ct as AggregateResult, D as ManyWriteArgs, E as ManyResult, F as PageOf, G as UpsertArgs, H as RpcArgs, I as PlainName, J as WriteManyArgs, K as UpsertManyArgs, L as RawRpcOptions, M as OverloadArgs, N as OverloadReturns, O as NoArgName, Ot as CountArgs, P as OverloadedName, Pt as ListArgs, S as DeleteExt, T as ManyOutcome, U as RpcOptions, V as RowFilter, Vt as Payload, W as UpdateArgs, bt as AggregateArgs, et as SearchScore, j as OffsetRangeArgs, lt as ReadSetResult, mt as QuerySpec, nt as ReadSet, pt as InferResult, q as WriteArgs, tt as InferReadSetParams, v as CursorPageArgs, w as GetKey, x as DeleteArgs, y as Db } from "../define-Lf6rI2QN.js";
4
- import { a as ListExtra, d as ListQuery, i as ListDefinition, o as ListPage, s as ListPagination } from "../list-query-XYfUZb0j.js";
3
+ import { $ as SearchArgs, A as OffsetPageArgs, At as GetArgs, B as Returned, C as FindExt, Ct as AggregateResult, D as ManyWriteArgs, E as ManyResult, F as PageOf, G as UpsertArgs, H as RpcArgs, I as PlainName, J as WriteManyArgs, K as UpsertManyArgs, L as RawRpcOptions, M as OverloadArgs, N as OverloadReturns, O as NoArgName, Ot as CountArgs, P as OverloadedName, Pt as ListArgs, S as DeleteExt, T as ManyOutcome, U as RpcOptions, V as RowFilter, Vt as Payload, W as UpdateArgs, bt as AggregateArgs, et as SearchScore, j as OffsetRangeArgs, lt as ReadSetResult, mt as QuerySpec, nt as ReadSet, pt as InferResult, q as WriteArgs, tt as InferReadSetParams, v as CursorPageArgs, w as GetKey, x as DeleteArgs, y as Db } from "../define-BLP6XtoL.js";
4
+ import { a as ListExtra, d as ListQuery, i as ListDefinition, o as ListPage, s as ListPagination } from "../list-query-XHoYDlRN.js";
5
5
  import { Result } from "better-result";
6
6
  //#region src/better-result/better-result.d.ts
7
7
  /**
@@ -1,10 +1,10 @@
1
1
  import { O as AnyFunctions, k as AnyModels } from "./types-DFdg_4yN.js";
2
2
  import { o as BlockTenant } from "./block-helpers-CRpAHrp_.js";
3
- import { t as BetterSupabase, y as Db } from "./define-Lf6rI2QN.js";
3
+ import { t as BetterSupabase, y as Db } from "./define-BLP6XtoL.js";
4
4
  import { n as DataEngine } from "./data-engine-BWoz9lED.js";
5
- import { Dn as GeneratedBlocks } from "./define-block-DCAiOrNX.js";
6
- import { rt as BetterQueries } from "./index-ClvuSZEz.js";
7
- import { t as ClientPorts } from "./ports-BbBJVyS0.js";
5
+ import { Dn as GeneratedBlocks } from "./define-block-DibVN37N.js";
6
+ import { rt as BetterQueries } from "./index-BfYDY6eh.js";
7
+ import { t as ClientPorts } from "./ports-Bw7uxPd_.js";
8
8
  import { SupabaseClient } from "@supabase/supabase-js";
9
9
  //#region src/client/bind.d.ts
10
10
  interface AuthUser {
@@ -1,7 +1,7 @@
1
- import { Dn as GeneratedBlocks } from "./define-block-DCAiOrNX.js";
2
- import { n as TopicPort } from "./watch-topic-C6HhbnVz.js";
3
- import { t as ClientPorts } from "./ports-BbBJVyS0.js";
4
- import { t as AuthPort } from "./controller-B6vWdKSa.js";
1
+ import { Dn as GeneratedBlocks } from "./define-block-DibVN37N.js";
2
+ import { n as TopicPort } from "./watch-topic-BaMZX139.js";
3
+ import { t as ClientPorts } from "./ports-Bw7uxPd_.js";
4
+ import { t as AuthPort } from "./controller-CwGXms17.js";
5
5
  import { SupabaseClient } from "@supabase/supabase-js";
6
6
  //#region src/blocks/block-env.d.ts
7
7
  /**
@@ -2,12 +2,12 @@
2
2
  import { T as ErrorMapper, t as AsyncResult } from "../../result-DZeA5KS6.js";
3
3
  import { t as StandardSchemaV1 } from "../../standard-DBV730sF.js";
4
4
  import { r as FieldsOf } from "../../block-fields-BE7pInWZ.js";
5
- import { Ct as Events, f as AccessRequestEventData } from "../../events-vcqenSYU.js";
5
+ import { Ct as Events, f as AccessRequestEventData } from "../../events-Cc9DDQWH.js";
6
6
  import { n as Logger } from "../../logger-DWVYUmwi.js";
7
7
  import { r as BlockTemporalOptions } from "../../block-helpers-CRpAHrp_.js";
8
8
  import { a as dbTransport, o as rpcTransport, s as sqlTransport, t as BlockTransport } from "../../block-transport-DWZSJrwN.js";
9
9
  import { n as BlockHooks } from "../../block-hooks-DZN2w69m.js";
10
- import { c as BlockOf } from "../../define-block-DCAiOrNX.js";
10
+ import { c as BlockOf } from "../../define-block-DibVN37N.js";
11
11
  //#region src/blocks/access-requests/access-requests.d.ts
12
12
  interface AccessRequestsOptions<S extends StandardSchemaV1 | undefined = undefined> extends BlockTemporalOptions {
13
13
  readonly transport: BlockTransport;