better-supabase 0.16.0 → 0.17.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 (269) hide show
  1. package/dist/{ai-schedules-BmkARmQ9.d.ts → ai-schedules-Dk9H3kAp.d.ts} +1 -1
  2. package/dist/ai-sdk/agents/index.d.ts +2 -2
  3. package/dist/{api-hHwieEfz.d.ts → api-CpL3hm87.d.ts} +1 -1
  4. package/dist/{app-tables-D29Rahtg.js → app-tables-Q0TYfeih.js} +1 -0
  5. package/dist/{app-tables-yMQ4ubyY.d.ts → app-tables-dS02piE7.d.ts} +1 -1
  6. package/dist/astro/index.d.ts +3 -3
  7. package/dist/{authorization-HZdJCaVm.d.ts → authorization-CNsvnwle.d.ts} +19 -3
  8. package/dist/better-result/index.d.ts +2 -2
  9. package/dist/{bind-JGCPGUJh.d.ts → bind-C801IaK-.d.ts} +4 -4
  10. package/dist/{block-env-y65GF_px.d.ts → block-env-BeG4DiiO.d.ts} +4 -4
  11. package/dist/blocks/access-requests/index.d.ts +1 -1
  12. package/dist/blocks/activities/index.d.ts +1 -1
  13. package/dist/blocks/agents/index.d.ts +1 -1
  14. package/dist/blocks/ai-cache/index.d.ts +1 -1
  15. package/dist/blocks/ai-chat/index.d.ts +4 -4
  16. package/dist/blocks/ai-files/index.d.ts +1 -1
  17. package/dist/blocks/ai-keys/index.d.ts +1 -1
  18. package/dist/blocks/ai-schedules/index.d.ts +2 -2
  19. package/dist/blocks/announcements/index.d.ts +4 -4
  20. package/dist/blocks/api-keys/index.d.ts +2 -2
  21. package/dist/blocks/approvals/index.d.ts +1 -1
  22. package/dist/blocks/assets/index.d.ts +1 -1
  23. package/dist/blocks/assignment/index.d.ts +1 -1
  24. package/dist/blocks/attachments/index.d.ts +2 -2
  25. package/dist/blocks/audit/index.d.ts +5 -5
  26. package/dist/blocks/automations/index.d.ts +3 -3
  27. package/dist/blocks/billable-time/index.d.ts +1 -1
  28. package/dist/blocks/billing/index.d.ts +3 -3
  29. package/dist/blocks/bookings/index.d.ts +2 -2
  30. package/dist/blocks/bulk/index.d.ts +1 -1
  31. package/dist/blocks/calendar/index.d.ts +2 -2
  32. package/dist/blocks/catalog/index.d.ts +1 -1
  33. package/dist/blocks/channels/index.d.ts +1 -1
  34. package/dist/blocks/collections/index.d.ts +1 -1
  35. package/dist/blocks/comments/index.d.ts +5 -5
  36. package/dist/blocks/compliance/index.d.ts +1 -1
  37. package/dist/blocks/connectors/index.d.ts +1 -1
  38. package/dist/blocks/contacts/index.d.ts +1 -1
  39. package/dist/blocks/content/index.d.ts +1 -1
  40. package/dist/blocks/contracts/index.d.ts +1 -1
  41. package/dist/blocks/courses/index.d.ts +1 -1
  42. package/dist/blocks/created-by/index.d.ts +4 -3
  43. package/dist/blocks/created-by/index.js +2 -2
  44. package/dist/blocks/custom-fields/index.d.ts +1 -1
  45. package/dist/blocks/data-lifecycle/index.d.ts +1 -1
  46. package/dist/blocks/deals/index.d.ts +1 -1
  47. package/dist/blocks/dispatch/index.d.ts +1 -1
  48. package/dist/blocks/documents/index.d.ts +1 -1
  49. package/dist/blocks/domains/index.d.ts +1 -1
  50. package/dist/blocks/donations/index.d.ts +1 -1
  51. package/dist/blocks/drive/index.d.ts +1 -1
  52. package/dist/blocks/employees/index.d.ts +2 -2
  53. package/dist/blocks/enrichment/index.d.ts +1 -1
  54. package/dist/blocks/enrollments/index.d.ts +1 -1
  55. package/dist/blocks/entitlements/index.d.ts +3 -3
  56. package/dist/blocks/expenses/index.d.ts +1 -1
  57. package/dist/blocks/field-history/index.d.ts +1 -1
  58. package/dist/blocks/flags/index.d.ts +1 -1
  59. package/dist/blocks/forecasts/index.d.ts +1 -1
  60. package/dist/blocks/forms/index.d.ts +2 -2
  61. package/dist/blocks/goals/index.d.ts +1 -1
  62. package/dist/blocks/guests/index.d.ts +1 -1
  63. package/dist/blocks/hiring/index.d.ts +1 -1
  64. package/dist/blocks/identities/index.d.ts +1 -1
  65. package/dist/blocks/imports/index.d.ts +1 -1
  66. package/dist/blocks/inbox/index.d.ts +5 -5
  67. package/dist/blocks/incidents/index.d.ts +1 -1
  68. package/dist/blocks/index.d.ts +2 -2
  69. package/dist/blocks/inventory/index.d.ts +1 -1
  70. package/dist/blocks/invoices/index.d.ts +1 -1
  71. package/dist/blocks/knowledge/index.d.ts +1 -1
  72. package/dist/blocks/lead-scoring/index.d.ts +1 -1
  73. package/dist/blocks/leases/index.d.ts +1 -1
  74. package/dist/blocks/leave/index.d.ts +1 -1
  75. package/dist/blocks/ledger/index.d.ts +1 -1
  76. package/dist/blocks/mail-sync/index.d.ts +1 -1
  77. package/dist/blocks/memberships/index.d.ts +1 -1
  78. package/dist/blocks/memory/index.d.ts +1 -1
  79. package/dist/blocks/messaging/index.d.ts +5 -5
  80. package/dist/blocks/metrics/index.d.ts +1 -1
  81. package/dist/blocks/mfa/index.d.ts +2 -2
  82. package/dist/blocks/moderation/index.d.ts +1 -1
  83. package/dist/blocks/notifications/index.d.ts +4 -4
  84. package/dist/blocks/numbering/index.d.ts +1 -1
  85. package/dist/blocks/oauth-server/index.d.ts +1 -1
  86. package/dist/blocks/onboarding/index.d.ts +2 -2
  87. package/dist/blocks/orders/index.d.ts +2 -2
  88. package/dist/blocks/organizations/index.d.ts +2 -2
  89. package/dist/blocks/outbox/index.d.ts +1 -1
  90. package/dist/blocks/passes/index.d.ts +1 -1
  91. package/dist/blocks/permissions/index.d.ts +3 -3
  92. package/dist/blocks/pipelines/index.d.ts +1 -1
  93. package/dist/blocks/posts/index.d.ts +1 -1
  94. package/dist/blocks/profiles/index.d.ts +1 -1
  95. package/dist/blocks/promotions/index.d.ts +1 -1
  96. package/dist/blocks/push/index.d.ts +2 -2
  97. package/dist/blocks/queue/index.d.ts +1 -1
  98. package/dist/blocks/quotes/index.d.ts +1 -1
  99. package/dist/blocks/rank/index.d.ts +1 -1
  100. package/dist/blocks/reactions/index.d.ts +4 -4
  101. package/dist/blocks/relations/index.d.ts +1 -1
  102. package/dist/blocks/reminders/index.d.ts +1 -1
  103. package/dist/blocks/reviews/index.d.ts +1 -1
  104. package/dist/blocks/saved-views/index.d.ts +3 -3
  105. package/dist/blocks/scores/index.d.ts +1 -1
  106. package/dist/blocks/search/index.d.ts +3 -3
  107. package/dist/blocks/security-events/index.d.ts +1 -1
  108. package/dist/blocks/segments/index.d.ts +1 -1
  109. package/dist/blocks/sequences/index.d.ts +1 -1
  110. package/dist/blocks/service-accounts/index.d.ts +1 -1
  111. package/dist/blocks/sessions/index.d.ts +2 -2
  112. package/dist/blocks/settings/index.d.ts +2 -2
  113. package/dist/blocks/share-links/index.d.ts +1 -1
  114. package/dist/blocks/shipments/index.d.ts +1 -1
  115. package/dist/blocks/signatures/index.d.ts +1 -1
  116. package/dist/blocks/signing-keys/index.d.ts +1 -1
  117. package/dist/blocks/sla/index.d.ts +1 -1
  118. package/dist/blocks/sso/index.d.ts +1 -1
  119. package/dist/blocks/state-machine/index.d.ts +1 -1
  120. package/dist/blocks/subjects/index.d.ts +2 -2
  121. package/dist/blocks/tags/index.d.ts +2 -2
  122. package/dist/blocks/tasks/index.d.ts +2 -2
  123. package/dist/blocks/teams/index.d.ts +1 -1
  124. package/dist/blocks/templates/index.d.ts +1 -1
  125. package/dist/blocks/time-tracking/index.d.ts +1 -1
  126. package/dist/blocks/timeline/index.d.ts +3 -3
  127. package/dist/blocks/trash/index.d.ts +1 -1
  128. package/dist/blocks/undo/index.d.ts +2 -2
  129. package/dist/blocks/updated-at/index.d.ts +7 -4
  130. package/dist/blocks/updated-at/index.js +2 -2
  131. package/dist/blocks/usage/index.d.ts +2 -2
  132. package/dist/blocks/vercel-marketplace/index.d.ts +1 -1
  133. package/dist/blocks/versions/index.d.ts +1 -1
  134. package/dist/blocks/waitlist/index.d.ts +1 -1
  135. package/dist/blocks/webhooks/index.d.ts +2 -2
  136. package/dist/blocks/workflow-editor/index.d.ts +4 -4
  137. package/dist/blocks/workflows/index.d.ts +4 -4
  138. package/dist/cli/{add-I8OW-qJH.js → add-BinNYhFD.js} +2 -2
  139. package/dist/cli/{add-D7TkPdco.js → add-DMcrsWjC.js} +13 -11
  140. package/dist/cli/add-z-3pXI6C.js +1 -0
  141. package/dist/cli/{backfill-DIz5DnlQ.js → backfill-DxBB62Zr.js} +3 -3
  142. package/dist/cli/bin.js +1 -1
  143. package/dist/cli/{blocks-xk-SE8gS.js → blocks-DSgTifw0.js} +1 -1
  144. package/dist/cli/{blocks-Bp5RPoft.js → blocks-rxOS-Mzz.js} +1 -1
  145. package/dist/cli/{cache-AznIssjI.js → cache-oU0yHKf0.js} +1 -1
  146. package/dist/cli/{codemod-Aewxza6i.js → codemod-Dsrv_3gQ.js} +1 -1
  147. package/dist/cli/{config-9t5ec_N7.js → config-2rwFHbwj.js} +3 -1
  148. package/dist/cli/{config-CBqkQjjN.js → config-C6XylzKz.js} +1 -1
  149. package/dist/cli/{content-mapper-DCrz6OIv.js → content-mapper-DLbXilBz.js} +2 -2
  150. package/dist/cli/{db-DrBI_HNv.js → db-Bwrr3GHM.js} +2 -2
  151. package/dist/cli/{doctor-DkOSLPEQ.js → doctor-CKt5Yyl4.js} +184 -142
  152. package/dist/cli/{gen-CFkYUnWq.js → gen-CeG6lbka.js} +13 -13
  153. package/dist/cli/index.d.ts +1 -1
  154. package/dist/cli/index.js +7 -7
  155. package/dist/cli/{init-CHj9ad4S.js → init-DrQlf9RL.js} +6 -6
  156. package/dist/cli/{live-DGdLR41j.js → live-BvWGM4c3.js} +2 -2
  157. package/dist/cli/{mcp-BZno503V.js → mcp-BrOnGB15.js} +2 -2
  158. package/dist/cli/{metadata-BfgHMe4q.js → metadata-BNSdPuKp.js} +3 -3
  159. package/dist/cli/{migration-safety-BnnXPAro.js → migration-safety-NtB3dsRU.js} +2 -2
  160. package/dist/cli/{module-migration-O_IxewFs.js → module-migration-mKhX88V_.js} +1 -1
  161. package/dist/cli/{print-DosQIFSy.js → print-Dh8iuPK3.js} +1 -1
  162. package/dist/cli/{remove-DK2G_KHm.js → remove-DfFXVBRr.js} +5 -5
  163. package/dist/cli/{render-5y5a1QZr.js → render-ChIwdIOJ.js} +10 -4
  164. package/dist/cli/{run-Bs4OKdDI.js → run-CLSHSVYo.js} +7 -7
  165. package/dist/cli/{run-MRET30vh.js → run-D48ZEU58.js} +24 -24
  166. package/dist/cli/{seed-Cz8PcXeT.js → seed-CG-pA-5N.js} +2 -2
  167. package/dist/cli/seed-CUxW5Dks.js +1 -0
  168. package/dist/cli/{shared-BLqbvY2x.js → shared-D0XBFSlz.js} +1 -1
  169. package/dist/cli/{snapshot-uTUlEzY2.js → snapshot-C6vh_n3t.js} +3 -3
  170. package/dist/cli/{source-D2gJHKwC.js → source-BZbEK5if.js} +1 -1
  171. package/dist/cli/{source-args-IpJRJO5t.js → source-args-MTLYpifA.js} +1 -1
  172. package/dist/cli/{spec-Cm2einTO.js → spec-B4LhpI6t.js} +2 -2
  173. package/dist/cli/{spec-DUjOtciN.js → spec-C-dhdKwa.js} +1 -1
  174. package/dist/cli/{sql-layout-lUWenjJw.js → sql-layout-26LSoifK.js} +2 -2
  175. package/dist/cli/{sync-CZMRB3aU.js → sync-CHGMZCJ5.js} +2 -2
  176. package/dist/cli/{upgrade-BFEIMC7U.js → upgrade-C0dVsqNX.js} +3 -3
  177. package/dist/cli/{upgrade-fVsJniXm.js → upgrade-GB9rqUGT.js} +2 -2
  178. package/dist/cli/{version-B2Dr6VmJ.js → version-T507a49w.js} +1 -1
  179. package/dist/client/index.d.ts +5 -5
  180. package/dist/client/native/index.d.ts +4 -4
  181. package/dist/{composite-CfYyU3vs.d.ts → composite-B7f1MMgr.d.ts} +3 -3
  182. package/dist/config/index.d.ts +3 -3
  183. package/dist/config/index.js +4 -4
  184. package/dist/{config-DWGgUQCh.js → config-BVNNJwGC.js} +7 -6
  185. package/dist/{config-CcehOvbz.js → config-CIBc79_8.js} +1 -1
  186. package/dist/{context-8kb8m5uO.d.ts → context-CKCgjEDF.d.ts} +9 -2
  187. package/dist/{controller-BW-5Opig.d.ts → controller-CJUXhshv.d.ts} +1 -1
  188. package/dist/{conversion-3iv2r7YC.d.ts → conversion-DgHdDlTK.d.ts} +1 -1
  189. package/dist/create/index.d.ts +2 -2
  190. package/dist/create/index.js +5 -5
  191. package/dist/{define-C5AcEkEJ.d.ts → define-Cgru0_kF.d.ts} +1 -1
  192. package/dist/{define-block-C1RHXz7L.d.ts → define-block-Xxw8Hroe.d.ts} +1 -1
  193. package/dist/edge/index.d.ts +5 -5
  194. package/dist/{entitlements-sO977DO-.d.ts → entitlements-B0jmjNLD.d.ts} +1 -1
  195. package/dist/{executor-BcNWcD-4.d.ts → executor-BWFfz0ik.d.ts} +2 -2
  196. package/dist/expo/index.d.ts +2 -2
  197. package/dist/{extension-B-lajjex.js → extension-DTaHjwdc.js} +3 -2
  198. package/dist/{extension-B0EjCYhO.js → extension-mGylYROs.js} +2 -10
  199. package/dist/{field-errors-Dt86dCKk.d.ts → field-errors-DqlebtTE.d.ts} +6 -6
  200. package/dist/{framework-BGdZVyPL.d.ts → framework-CF6zFU7a.d.ts} +3 -3
  201. package/dist/hono/index.d.ts +4 -4
  202. package/dist/{index-CcAmFNVi.d.ts → index-B8YjrfVl.d.ts} +2 -2
  203. package/dist/{index-CENWq3zb.d.ts → index-BCeTYhFk.d.ts} +1 -1
  204. package/dist/{index-Craf712U.d.ts → index-ClMN0f98.d.ts} +9 -9
  205. package/dist/{index-DZKCc2WM.d.ts → index-DUxXdQN_.d.ts} +3 -3
  206. package/dist/{index-Cc4mIQS8.d.ts → index-Dbb7BQdi.d.ts} +9 -4
  207. package/dist/{index-CTu-3fJB.d.ts → index-lB-8iPmY.d.ts} +3 -3
  208. package/dist/index.d.ts +1 -1
  209. package/dist/{instances-BHjCZoF8.js → instances-QOzIz9-q.js} +1 -1
  210. package/dist/list/index.d.ts +1 -1
  211. package/dist/{list-query-DYhgRTd5.d.ts → list-query-DxjuIHEL.d.ts} +1 -1
  212. package/dist/mapper/bin.js +6 -6
  213. package/dist/mcp/index.d.ts +4 -4
  214. package/dist/mcp/sdk/index.d.ts +2 -2
  215. package/dist/next/index.d.ts +14 -14
  216. package/dist/{operations-CSc_IsHO.d.ts → operations-Dc07aV_H.d.ts} +1 -1
  217. package/dist/{options-DChZoVfs.d.ts → options-B_NrjVDt.d.ts} +1 -0
  218. package/dist/{options-B2swWnJW.js → options-CCUaRLgd.js} +2 -1
  219. package/dist/{options-CM6-18FQ.d.ts → options-CDSCkYxu.d.ts} +1 -0
  220. package/dist/{options-C-dQHH5-.js → options-tSsUF0-7.js} +2 -1
  221. package/dist/orpc/index.d.ts +4 -4
  222. package/dist/otel/index.js +4 -4
  223. package/dist/{ports-mObLgH1z.d.ts → ports-DnpAuTvB.d.ts} +1 -1
  224. package/dist/powersync/index.d.ts +2 -2
  225. package/dist/preset/index.d.ts +3 -3
  226. package/dist/preset/index.js +3 -3
  227. package/dist/{preset-CsHnIBJF.js → preset-BIANzB5p.js} +2 -2
  228. package/dist/{push-token-BSSvsWXZ.d.ts → push-token-C_mFkYfq.d.ts} +1 -1
  229. package/dist/query/index.d.ts +1 -1
  230. package/dist/react/index.d.ts +5 -5
  231. package/dist/react/native/index.d.ts +1 -1
  232. package/dist/react/server.d.ts +6 -6
  233. package/dist/react-router/index.d.ts +3 -3
  234. package/dist/realtime/index.d.ts +3 -3
  235. package/dist/{record-form-D9ILuVtA.d.ts → record-form-xWvVcb86.d.ts} +1 -1
  236. package/dist/records/index.d.ts +7 -7
  237. package/dist/{resource-execute-Cpnob1Vj.d.ts → resource-execute-DqWfEc56.d.ts} +1 -1
  238. package/dist/{resource-types-pMeLs68X.d.ts → resource-types-BIoz_ElD.d.ts} +1 -1
  239. package/dist/{resources-7iq2-5_A.d.ts → resources-Bt2PDKE7.d.ts} +1 -1
  240. package/dist/server/index.d.ts +7 -7
  241. package/dist/{server-types-CK8mUIUT.d.ts → server-types-gR4Q1aM0.d.ts} +1 -1
  242. package/dist/{session-DWmFv3vB.d.ts → session-C1OuXbtN.d.ts} +1 -1
  243. package/dist/solid/index.d.ts +6 -6
  244. package/dist/solid-start/index.d.ts +3 -3
  245. package/dist/spec/index.d.ts +1 -1
  246. package/dist/sql/index.d.ts +5 -5
  247. package/dist/sql/index.js +3 -3
  248. package/dist/{sql-Dl3Alk43.js → sql-ClTmzHs8.js} +72 -31
  249. package/dist/sqlite/index.d.ts +1 -1
  250. package/dist/ssr/index.d.ts +1 -1
  251. package/dist/svelte/index.d.ts +6 -6
  252. package/dist/sveltekit/index.d.ts +4 -4
  253. package/dist/{tags-qvVk79pp.d.ts → tags-sM-CH9Mn.d.ts} +1 -1
  254. package/dist/tanstack-db/index.d.ts +1 -1
  255. package/dist/tanstack-start/index.d.ts +3 -3
  256. package/dist/{tenant-DOKIJI62.d.ts → tenant-DVvjw9H-.d.ts} +1 -1
  257. package/dist/testing/index.d.ts +7 -7
  258. package/dist/testing/index.js +3 -3
  259. package/dist/{timeline-CvTuXYvn.d.ts → timeline-BBfKuMVL.d.ts} +3 -3
  260. package/dist/{topic-CZXHhZye.d.ts → topic-BtLz-qTI.d.ts} +2 -2
  261. package/dist/{verify-CjvNLY7N.d.ts → verify-DEqY__0N.d.ts} +1 -1
  262. package/dist/vue/index.d.ts +6 -6
  263. package/dist/{watch-topic-BAxoPKZx.d.ts → watch-topic-tnfOTa3-.d.ts} +1 -1
  264. package/dist/yjs/index.d.ts +1 -1
  265. package/package.json +1 -1
  266. package/schemas/config-v1.json +22 -0
  267. package/schemas/doctor-report-v1.json +1 -0
  268. package/dist/cli/add-Bfb_ISrO.js +0 -1
  269. package/dist/cli/seed-D6XijwbR.js +0 -1
@@ -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-C1RHXz7L.js";
11
+ import { I as Notifier } from "./define-block-Xxw8Hroe.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-HZdJCaVm.js";
6
- import { t as OperationTable } from "../../operations-CSc_IsHO.js";
5
+ import { r as AuthorizationOperation } from "../../authorization-CNsvnwle.js";
6
+ import { t as OperationTable } from "../../operations-Dc07aV_H.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 { St as AnyPlugin, d as MutationIntent, ot as SchemaMeta } from "./types-DFdg_4yN.js";
2
2
  import { bt as EventMap } from "./events-vcqenSYU.js";
3
3
  import { o as Authorizer } from "./authorizer-B6X09otb.js";
4
- import { f as DbBlockSource } from "./define-C5AcEkEJ.js";
4
+ import { f as DbBlockSource } from "./define-Cgru0_kF.js";
5
5
  import { n as CloudEventOptions } from "./cloud-event-CzZTJkXv.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";
@@ -46,6 +46,7 @@ function resolveBlock(config = {}) {
46
46
  columns: Object.fromEntries(Object.entries(defined(config.columns)).map(([table, columns]) => [table, defined(columns)])),
47
47
  ...config.idType === void 0 ? {} : { idType: config.idType },
48
48
  ...config.scope === void 0 ? {} : { scope: config.scope },
49
+ ownTablePolicies: config.ownTablePolicies ?? "block",
49
50
  functions: defined(config.functions),
50
51
  permissions: defined(config.permissions),
51
52
  options: config.options ?? {},
@@ -1,4 +1,4 @@
1
- import { hr as AppTableConfig } from "./context-8kb8m5uO.js";
1
+ import { hr as AppTableConfig } from "./context-CKCgjEDF.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`,
@@ -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-C5AcEkEJ.js";
4
- import { n as BetterServer } from "../server-types-CK8mUIUT.js";
3
+ import { t as BetterSupabase } from "../define-Cgru0_kF.js";
4
+ import { n as BetterServer } from "../server-types-gR4Q1aM0.js";
5
5
  import { P as StorageImageOptions } from "../index-CQhPHHDF.js";
6
6
  import { a as AuthorizedContext, l as Unwrapped, n as ActionParsed, o as BlockActionOptions, r as ActionResult, s as BlockRequireOptions } from "../kit-DOwKpSkA.js";
7
7
  import { t as RefusalRedirects } from "../refusal-CSntB_x8.js";
8
- import { n as FrameworkOptions, r as LocalsResource, t as FrameworkLocals } from "../framework-BGdZVyPL.js";
8
+ import { n as FrameworkOptions, r as LocalsResource, t as FrameworkLocals } from "../framework-CF6zFU7a.js";
9
9
  import { StandardSchemaV1 } from "@standard-schema/spec";
10
10
  //#region src/astro/index.d.ts
11
11
  /**
@@ -2,7 +2,7 @@ import { t as BlockOptionsSchema } from "./options-CsGl5BLH.js";
2
2
  import { t as AssetsSqlOptions } from "./options-D1hSuf50.js";
3
3
  import { t as ContentSqlOptions } from "./options-_F-enoBs.js";
4
4
  import { t as CoursesSqlOptions } from "./options-Li1Dyu88.js";
5
- import { t as CreatedBySqlOptions } from "./options-CM6-18FQ.js";
5
+ import { t as CreatedBySqlOptions } from "./options-CDSCkYxu.js";
6
6
  import { t as DispatchSqlOptions } from "./options-CyAhRKKm.js";
7
7
  import { t as EnrollmentsSqlOptions } from "./options-CSCXNYJO.js";
8
8
  import { t as LeadScoringSqlOptions } from "./options-DWVYM8P0.js";
@@ -16,7 +16,7 @@ import { t as SegmentsSqlOptions } from "./options-pOVWwbAK.js";
16
16
  import { t as SequencesSqlOptions } from "./options-y_-AkVCs.js";
17
17
  import { t as ShipmentsSqlOptions } from "./options-BlzSfWxC.js";
18
18
  import { t as SignaturesSqlOptions } from "./options-CE93HOYi.js";
19
- import { t as UpdatedAtSqlOptions } from "./options-DChZoVfs.js";
19
+ import { t as UpdatedAtSqlOptions } from "./options-B_NrjVDt.js";
20
20
  //#region src/blocks/name-registry.generated.d.ts
21
21
  /** The names each module's `blocks.<name>` config keys accept. */
22
22
  interface BlockNameRegistry {
@@ -3020,6 +3020,13 @@ type BlockMode = "managed" | "custom";
3020
3020
  * writes. Blocks that need tenants run only in `tenant`.
3021
3021
  */
3022
3022
  type BlockScope = "tenant" | "user" | "none";
3023
+ /**
3024
+ * Whose policies govern the app's tables a block runs over. `block`: the block
3025
+ * adds its `bsb_` policies where none of the app's covers them. `app`: it adds
3026
+ * none, permissive or restrictive, and still writes its functions, triggers,
3027
+ * indexes and grants.
3028
+ */
3029
+ type OwnTablePolicies = "block" | "app";
3023
3030
  /**
3024
3031
  * A new name for one of a block's entities: its singular `name`, an irregular
3025
3032
  * plural and, for an entity the block registers as a subject, the URL of one
@@ -3096,6 +3103,13 @@ interface BlockConfig<Options extends object = Readonly<Record<string, unknown>>
3096
3103
  readonly idType?: string;
3097
3104
  /** Who the block's rows belong to. Defaults to `sql.scope`, then `tenant`. */
3098
3105
  readonly scope?: BlockScope;
3106
+ /**
3107
+ * Whose policies govern every table of the app's that the block runs over:
3108
+ * `block` adds the block's `bsb_` policies where none of the app's covers
3109
+ * them, `app` adds none, permissive or restrictive. Defaults to
3110
+ * `sql.ownTablePolicies`, then `block`.
3111
+ */
3112
+ readonly ownTablePolicies?: OwnTablePolicies;
3099
3113
  /**
3100
3114
  * Function name to the name the module writes it under, e.g. `{
3101
3115
  * create_organization: 'start_company' }`. Keys are the default names; an
@@ -3306,6 +3320,8 @@ interface ResolvedBlock {
3306
3320
  readonly columns: Readonly<Record<string, Readonly<Record<string, string | null>>>>;
3307
3321
  readonly idType?: string;
3308
3322
  readonly scope?: BlockScope;
3323
+ /** `ownTablePolicies`, with its default. */
3324
+ readonly ownTablePolicies: OwnTablePolicies;
3309
3325
  readonly functions: Readonly<Record<string, string>>;
3310
3326
  readonly permissions: Readonly<Record<string, string>>;
3311
3327
  readonly options: Readonly<Record<string, unknown>>;
@@ -3592,4 +3608,4 @@ declare function providerApiProblem(provider: {
3592
3608
  readonly apiVersion?: unknown;
3593
3609
  }): string | undefined;
3594
3610
  //#endregion
3595
- export { BLOCK_OPTION_SCHEMAS as A, EntityConfig as C, ResolvedBlock as D, NamedInstance as E, BlockNameRegistry as F, MessagingSqlOptions as M, CommentsSqlOptions as N, resolveBlock as O, TablesOf as P, EntitiesConfig as S, InstanceOn as T, BlockName as _, AuthorizationProvider as a, DEFAULT_ACTIVE_TENANT as b, AuthorizationScope as c, AccessBlockConfig as d, ActiveTenantSource as f, BlockMode as g, BlockConfigOf as h, AuthorizationPermission as i, BlockOptionsRegistry as j, tenantNameOf as k, AuthorizationTokenHook as l, BlockConfig as m, AuthorizationMembership as n, AuthorizationRequirement as o, AnyBlocksConfig as p, AuthorizationOperation as r, AuthorizationRoleSource as s, AuthorizationFunctions as t, providerApiProblem as u, BlockScope as v, InstanceKeys as w, DisabledRow as x, BlocksConfig as y };
3611
+ export { tenantNameOf as A, EntityConfig as C, OwnTablePolicies as D, NamedInstance as E, TablesOf as F, BlockNameRegistry as I, BlockOptionsRegistry as M, MessagingSqlOptions as N, ResolvedBlock as O, CommentsSqlOptions as P, EntitiesConfig as S, InstanceOn as T, BlockName as _, AuthorizationProvider as a, DEFAULT_ACTIVE_TENANT as b, AuthorizationScope as c, AccessBlockConfig as d, ActiveTenantSource as f, BlockMode as g, BlockConfigOf as h, AuthorizationPermission as i, BLOCK_OPTION_SCHEMAS as j, resolveBlock as k, AuthorizationTokenHook as l, BlockConfig as m, AuthorizationMembership as n, AuthorizationRequirement as o, AnyBlocksConfig as p, AuthorizationOperation as r, AuthorizationRoleSource as s, AuthorizationFunctions as t, providerApiProblem as u, BlockScope as v, InstanceKeys as w, DisabledRow as x, BlocksConfig as y };
@@ -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 SearchScore, A as OffsetRangeArgs, B as RowFilter, Bt as Payload, C as GetKey, D as NoArgName, Dt as CountArgs, E as ManyWriteArgs, F as PlainName, G as UpsertManyArgs, H as RpcOptions, I as RawRpcOptions, K as WriteArgs, M as OverloadReturns, N as OverloadedName, Nt as ListArgs, P as PageOf, Q as SearchArgs, S as FindExt, St as AggregateResult, T as ManyResult, U as UpdateArgs, V as RpcArgs, W as UpsertArgs, _ as CursorPageArgs, b as DeleteArgs, ct as ReadSetResult, et as InferReadSetParams, ft as InferResult, j as OverloadArgs, k as OffsetPageArgs, kt as GetArgs, pt as QuerySpec, q as WriteManyArgs, tt as ReadSet, v as Db, w as ManyOutcome, x as DeleteExt, yt as AggregateArgs, z as Returned } from "../define-C5AcEkEJ.js";
4
- import { a as ListExtra, d as ListQuery, i as ListDefinition, o as ListPage, s as ListPagination } from "../list-query-DYhgRTd5.js";
3
+ import { $ as SearchScore, A as OffsetRangeArgs, B as RowFilter, Bt as Payload, C as GetKey, D as NoArgName, Dt as CountArgs, E as ManyWriteArgs, F as PlainName, G as UpsertManyArgs, H as RpcOptions, I as RawRpcOptions, K as WriteArgs, M as OverloadReturns, N as OverloadedName, Nt as ListArgs, P as PageOf, Q as SearchArgs, S as FindExt, St as AggregateResult, T as ManyResult, U as UpdateArgs, V as RpcArgs, W as UpsertArgs, _ as CursorPageArgs, b as DeleteArgs, ct as ReadSetResult, et as InferReadSetParams, ft as InferResult, j as OverloadArgs, k as OffsetPageArgs, kt as GetArgs, pt as QuerySpec, q as WriteManyArgs, tt as ReadSet, v as Db, w as ManyOutcome, x as DeleteExt, yt as AggregateArgs, z as Returned } from "../define-Cgru0_kF.js";
4
+ import { a as ListExtra, d as ListQuery, i as ListDefinition, o as ListPage, s as ListPagination } from "../list-query-DxjuIHEL.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, v as Db } from "./define-C5AcEkEJ.js";
3
+ import { t as BetterSupabase, v as Db } from "./define-Cgru0_kF.js";
4
4
  import { n as DataEngine } from "./data-engine-BWoz9lED.js";
5
- import { Dn as GeneratedBlocks } from "./define-block-C1RHXz7L.js";
6
- import { rt as BetterQueries } from "./index-CcAmFNVi.js";
7
- import { t as ClientPorts } from "./ports-mObLgH1z.js";
5
+ import { Dn as GeneratedBlocks } from "./define-block-Xxw8Hroe.js";
6
+ import { rt as BetterQueries } from "./index-B8YjrfVl.js";
7
+ import { t as ClientPorts } from "./ports-DnpAuTvB.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-C1RHXz7L.js";
2
- import { n as TopicPort } from "./watch-topic-BAxoPKZx.js";
3
- import { t as ClientPorts } from "./ports-mObLgH1z.js";
4
- import { t as AuthPort } from "./controller-BW-5Opig.js";
1
+ import { Dn as GeneratedBlocks } from "./define-block-Xxw8Hroe.js";
2
+ import { n as TopicPort } from "./watch-topic-tnfOTa3-.js";
3
+ import { t as ClientPorts } from "./ports-DnpAuTvB.js";
4
+ import { t as AuthPort } from "./controller-CJUXhshv.js";
5
5
  import { SupabaseClient } from "@supabase/supabase-js";
6
6
  //#region src/blocks/block-env.d.ts
7
7
  /**
@@ -7,7 +7,7 @@ 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-C1RHXz7L.js";
10
+ import { c as BlockOf } from "../../define-block-Xxw8Hroe.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;
@@ -10,7 +10,7 @@ import { a as dbTransport, i as RpcClient, o as rpcTransport, s as sqlTransport,
10
10
  import { a as BlockTransportMiddleware, d as extendBlock, f as withBlockHooks, n as BlockHooks, p as wrapTransport } from "../../block-hooks-DZN2w69m.js";
11
11
  import { f as AiFiles } from "../../types-Dr9wZgNy.js";
12
12
  import { g as JobHandler } from "../../types-Czq9Xtpa.js";
13
- import { Sn as EntitySchema, c as BlockOf } from "../../define-block-C1RHXz7L.js";
13
+ import { Sn as EntitySchema, c as BlockOf } from "../../define-block-Xxw8Hroe.js";
14
14
  import { a as EngagementRecording, c as NoteTakerInput, d as Transcript, f as TranscriptSegment, i as EngagementNotesInput, l as Transcriber, n as EngagementActionItem, o as EngagementRecordingStatus, p as TranscriptSegmentInput, r as EngagementNotes, s as NoteTaker, t as ENGAGEMENT_TRANSCRIBE_QUEUE, u as TranscriberInput } from "../../recordings-BBSJt_YV.js";
15
15
  //#region src/blocks/activities/activities.d.ts
16
16
  /** A record an engagement is on. */
@@ -1,7 +1,7 @@
1
1
  import { Ct as Events, p as AgentEventData } from "../../events-vcqenSYU.js";
2
2
  import { a as dbTransport, o as rpcTransport, s as sqlTransport, t as BlockTransport } from "../../block-transport-DWZSJrwN.js";
3
3
  import { a as AgentSkill, c as AgentsOptions, i as AgentKnowledgeScope, l as NewAgent, n as AgentFields, o as AgentVisibility, r as AgentFilter, s as Agents, t as Agent, u as createAgents } from "../../agents-CMIB3802.js";
4
- import { c as BlockOf } from "../../define-block-C1RHXz7L.js";
4
+ import { c as BlockOf } from "../../define-block-Xxw8Hroe.js";
5
5
  //#region src/blocks/agents/events.d.ts
6
6
  /** The events of the `agents` block: type to data. */
7
7
  type AgentsEvents = {
@@ -1,6 +1,6 @@
1
1
  import { a as dbTransport, o as rpcTransport, s as sqlTransport, t as BlockTransport } from "../../block-transport-DWZSJrwN.js";
2
2
  import { a as AiCacheSetOptions, i as AiCacheOptions, n as AiCacheEntry, o as cacheKey, r as AiCacheKind, s as createAiCache, t as AiCache } from "../../ai-cache-2LGgaT7F.js";
3
- import { c as BlockOf } from "../../define-block-C1RHXz7L.js";
3
+ import { c as BlockOf } from "../../define-block-Xxw8Hroe.js";
4
4
  //#region src/blocks/ai-cache/manifest.d.ts
5
5
  /** The `ai-cache` block's manifest (ADR 0029). */
6
6
  export declare const aiCacheBlock: BlockOf<"ai-cache", typeof createAiCache>;
@@ -3,10 +3,10 @@ import { Ct as Events, g as AiToolEventData, m as AiChatEventData } from "../../
3
3
  import { a as dbTransport, o as rpcTransport, s as sqlTransport, t as BlockTransport } from "../../block-transport-DWZSJrwN.js";
4
4
  import { a as AiMessagePart, c as AiReasoningPart, d as AiTextPart, f as AiToolApprovalPart, g as isAiMessage, h as aiMessageSchema, i as AiMessage, l as AiSourcePart, m as AiToolResultPart, n as AiDataPart, o as AiMessagePartType, p as AiToolCallPart, r as AiFilePart, s as AiMessageRole, t as AI_MESSAGE_SCHEMA_ID, u as AiStepPart } from "../../message-Bg4TKA12.js";
5
5
  import { $ as AiRunStep, A as AiStoredMessageStatus, B as AiSandbox, C as AiProject, D as AiSaveResult, E as AiRunStatus, F as AiUserMessageTrigger, G as AiHarnessSession, H as AiSandboxStopper, I as SharedAiChat, J as AiHarnessStatus, K as AiHarnessSessionPatch, L as aiChatListTopic, M as AiToolApproval, N as AiToolApprovalRequest, O as AiShareLink, P as AiToolPolicy, Q as AiRunState, R as aiChatTopic, S as AiPendingInputRequest, T as AiRunRelease, U as AiSandboxes, V as AiSandboxStatus, W as NewAiSandbox, X as AiRun, Y as AiPendingApproval, Z as AiRunQuery, _ as AiModerationAction, a as AiChatInput, b as AiModerationStage, c as AiChatPatch, d as AiChatShare, et as AiRunStepInput, f as AiChatVisibility, g as AiModelInput, h as AiModel, i as AiChat, j as AiStreamClaim, k as AiStoredMessage, l as AiChatQuery, m as AiMessageSibling, n as AiApprovalDecision, nt as AiRuns, o as AiChatOptions, p as AiFeedback, q as AiHarnessSessions, r as AiAssistantMessageOptions, rt as createHarnessSessions, s as AiChatPage, t as AiAppendResult, tt as AiRunStepStatus, u as AiChatRecord, v as AiModerationEvent, w as AiProjectInput, x as AiPendingInput, y as AiModerationInput, z as createAiChat } from "../../ai-chat-BCaKsvLW.js";
6
- import { c as BlockOf } from "../../define-block-C1RHXz7L.js";
7
- import { p as SubscriptionStatus } from "../../topic-CZXHhZye.js";
8
- import { n as TopicPort } from "../../watch-topic-BAxoPKZx.js";
9
- import { n as Controller, t as AuthPort } from "../../controller-BW-5Opig.js";
6
+ import { c as BlockOf } from "../../define-block-Xxw8Hroe.js";
7
+ import { p as SubscriptionStatus } from "../../topic-BtLz-qTI.js";
8
+ import { n as TopicPort } from "../../watch-topic-tnfOTa3-.js";
9
+ import { n as Controller, t as AuthPort } from "../../controller-CJUXhshv.js";
10
10
  import { StandardSchemaV1 } from "@standard-schema/spec";
11
11
  //#region src/core/contracts/ai-message.d.ts
12
12
  /**
@@ -2,7 +2,7 @@ import { t as StandardSchemaV1 } from "../../standard-DBV730sF.js";
2
2
  import { r as FieldsOf } from "../../block-fields-BE7pInWZ.js";
3
3
  import { a as dbTransport, o as rpcTransport, s as sqlTransport, t as BlockTransport } from "../../block-transport-DWZSJrwN.js";
4
4
  import { _ as NewAiFile, a as AiDocumentWithContent, c as AiFileSource, d as AiFileUpload, f as AiFiles, g as NewAiDocument, h as AiSuggestion, i as AiDocumentVersion, l as AiFileStatus, m as AiProviderFile, n as AiDocumentEdit, o as AiFile, p as AiFilesOptions, r as AiDocumentKind, s as AiFileBucket, t as AiDocument, u as AiFileStorage, v as StoredAiFile } from "../../types-Dr9wZgNy.js";
5
- import { c as BlockOf } from "../../define-block-C1RHXz7L.js";
5
+ import { c as BlockOf } from "../../define-block-Xxw8Hroe.js";
6
6
  //#region src/blocks/ai-files/ai-files.d.ts
7
7
  /** The URL a message stores for a file: `supabase-storage://{bucket}/{path}`. */
8
8
  export declare function aiFileUrl(file: Pick<AiFile, "bucket" | "path">): string;
@@ -1,7 +1,7 @@
1
1
  import { Ct as Events, h as AiProviderKeyEventData } from "../../events-vcqenSYU.js";
2
2
  import { a as dbTransport, o as rpcTransport, s as sqlTransport, t as BlockTransport } from "../../block-transport-DWZSJrwN.js";
3
3
  import { a as AiBatchItemStatus, c as AiKeys, d as AiProviderKeyInput, f as NewAiBatch, i as AiBatchItemInput, l as AiKeysOptions, n as AiBatchCounts, o as AiBatchPatch, p as ResolvedProviderKey, r as AiBatchItem, s as AiBatchStatus, t as AiBatch, u as AiProviderKey } from "../../types-EO2crSX_.js";
4
- import { c as BlockOf } from "../../define-block-C1RHXz7L.js";
4
+ import { c as BlockOf } from "../../define-block-Xxw8Hroe.js";
5
5
  //#region src/blocks/ai-keys/ai-keys.d.ts
6
6
  /** Per-tenant provider keys and provider batch jobs. */
7
7
  export declare function createAiKeys(options: AiKeysOptions): AiKeys;
@@ -1,6 +1,6 @@
1
1
  import { a as dbTransport, o as rpcTransport, s as sqlTransport, t as BlockTransport } from "../../block-transport-DWZSJrwN.js";
2
- import { c as BlockOf } from "../../define-block-C1RHXz7L.js";
3
- import { a as AiTaskOutcome, c as AiTaskRunner, i as AiTaskFields, l as NewAiTask, n as AiSchedulesOptions, o as AiTaskRun, r as AiTask, s as AiTaskRunStatus, t as AiSchedules, u as createAiSchedules } from "../../ai-schedules-BmkARmQ9.js";
2
+ import { c as BlockOf } from "../../define-block-Xxw8Hroe.js";
3
+ import { a as AiTaskOutcome, c as AiTaskRunner, i as AiTaskFields, l as NewAiTask, n as AiSchedulesOptions, o as AiTaskRun, r as AiTask, s as AiTaskRunStatus, t as AiSchedules, u as createAiSchedules } from "../../ai-schedules-Dk9H3kAp.js";
4
4
  //#region src/blocks/ai-schedules/manifest.d.ts
5
5
  /** The `ai-schedules` block's manifest (ADR 0029). */
6
6
  export declare const aiSchedulesBlock: BlockOf<"ai-schedules", typeof createAiSchedules, Record<never, never>, {
@@ -7,10 +7,10 @@ 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-C1RHXz7L.js";
11
- import { p as SubscriptionStatus } from "../../topic-CZXHhZye.js";
12
- import { n as TopicPort } from "../../watch-topic-BAxoPKZx.js";
13
- import { n as Controller, t as AuthPort } from "../../controller-BW-5Opig.js";
10
+ import { c as BlockOf } from "../../define-block-Xxw8Hroe.js";
11
+ import { p as SubscriptionStatus } from "../../topic-BtLz-qTI.js";
12
+ import { n as TopicPort } from "../../watch-topic-tnfOTa3-.js";
13
+ import { n as Controller, t as AuthPort } from "../../controller-CJUXhshv.js";
14
14
  //#region src/blocks/announcements/announcements.d.ts
15
15
  type AnnouncementSeverity = "info" | "success" | "warning" | "critical";
16
16
  /**
@@ -3,8 +3,8 @@ import { Ct as Events, v as ApiKeyEventData } from "../../events-vcqenSYU.js";
3
3
  import { r as AuthState } from "../../resolve-CXX6DHv3.js";
4
4
  import { a as dbTransport, o as rpcTransport, s as sqlTransport, t as BlockTransport } from "../../block-transport-DWZSJrwN.js";
5
5
  import { t as BlockProblemOptions } from "../../problem-DNwN8iGz.js";
6
- import { c as BlockOf } from "../../define-block-C1RHXz7L.js";
7
- import { n as Controller, t as AuthPort } from "../../controller-BW-5Opig.js";
6
+ import { c as BlockOf } from "../../define-block-Xxw8Hroe.js";
7
+ import { n as Controller, t as AuthPort } from "../../controller-CJUXhshv.js";
8
8
  import { _ as createApiKeys, a as ApiKeyExtraClaims, c as ApiKeyState, d as CreateApiKeyInput, f as CreatedApiKey, g as apiKeyResolver, h as apiKeyClaims, i as ApiKeyExtraClaim, l as ApiKeys, m as apiKeyChecksum, n as ApiKeyCheck, o as ApiKeyReservedClaim, p as ParsedApiKey, r as ApiKeyClaimsOptions, s as ApiKeyResolverOptions, t as ApiKey, u as ApiKeysOptions, v as parseApiKey } from "../../api-keys-D5k63K6y.js";
9
9
  import { Entry } from "@supabase/middleware";
10
10
  import { AuthMode, JWTClaims, UserClaims } from "@supabase/server";
@@ -1,6 +1,6 @@
1
1
  import { A as CollaborationEventData, Ct as Events } from "../../events-vcqenSYU.js";
2
2
  import { a as dbTransport, o as rpcTransport, s as sqlTransport, t as BlockTransport } from "../../block-transport-DWZSJrwN.js";
3
- import { c as BlockOf } from "../../define-block-C1RHXz7L.js";
3
+ import { c as BlockOf } from "../../define-block-Xxw8Hroe.js";
4
4
  import { a as ApprovalRequestDetail, c as ApprovalStep, d as createApprovals, i as ApprovalRequest, l as Approvals, n as ApprovalDecision, o as ApprovalRequestInput, r as ApprovalListOptions, s as ApprovalStatus, t as ApprovalApprovers, u as ApprovalsOptions } from "../../approvals-Dh9dUXrN.js";
5
5
  //#region src/blocks/approvals/events.d.ts
6
6
  /** The events of the `approvals` block: type to data. */
@@ -7,7 +7,7 @@ import { a as BlockTenantOptions, r as BlockTemporalOptions } from "../../block-
7
7
  import { a as dbTransport, i as RpcClient, o as rpcTransport, s as sqlTransport, t as BlockTransport } from "../../block-transport-DWZSJrwN.js";
8
8
  import { a as BlockTransportMiddleware, d as extendBlock, f as withBlockHooks, n as BlockHooks, p as wrapTransport } from "../../block-hooks-DZN2w69m.js";
9
9
  import { t as AssetsSqlOptions } from "../../options-D1hSuf50.js";
10
- import { c as BlockOf, rn as RecordBinding } from "../../define-block-C1RHXz7L.js";
10
+ import { c as BlockOf, rn as RecordBinding } from "../../define-block-Xxw8Hroe.js";
11
11
  //#region src/blocks/assets/assets.d.ts
12
12
  interface AssetsOptions extends BlockTemporalOptions, BlockTenantOptions {
13
13
  readonly transport: BlockTransport;
@@ -7,7 +7,7 @@ import { r as BlockTemporalOptions } from "../../block-helpers-CRpAHrp_.js";
7
7
  import { a as dbTransport, i as RpcClient, o as rpcTransport, s as sqlTransport, t as BlockTransport } from "../../block-transport-DWZSJrwN.js";
8
8
  import { a as BlockTransportMiddleware, d as extendBlock, f as withBlockHooks, n as BlockHooks, p as wrapTransport } from "../../block-hooks-DZN2w69m.js";
9
9
  import { h as FilterQuery } from "../../filter-query-BXLs72G9.js";
10
- import { Sn as EntitySchema, c as BlockOf } from "../../define-block-C1RHXz7L.js";
10
+ import { Sn as EntitySchema, c as BlockOf } from "../../define-block-Xxw8Hroe.js";
11
11
  //#region src/blocks/assignment/assignment.d.ts
12
12
  /** How a queue picks the next owner. */
13
13
  type AssignmentStrategy = "round_robin" | "weighted";
@@ -2,8 +2,8 @@ import { b as DbError, f as Result } from "../../result-DZeA5KS6.js";
2
2
  import { Ct as Events, ot as StorageObjectEventData, y as AttachmentEventData } from "../../events-vcqenSYU.js";
3
3
  import { a as dbTransport, o as rpcTransport, s as sqlTransport, t as BlockTransport } from "../../block-transport-DWZSJrwN.js";
4
4
  import { t as Author } from "../../block-authors-DzXLUiIq.js";
5
- import { At as NewAttachment, Ct as AttachmentScannerOptions, Dt as AttachmentVersion, Et as AttachmentUpload, Ft as ScannedObject, It as attachmentVersionOf, Lt as createAttachmentScanner, Mt as ObjectScanner, Nt as ObjectScannerOptions, Ot as Attachments, Pt as ScanVerdict, Rt as createAttachments, Sn as EntitySchema, St as AttachmentScanner, Tt as AttachmentStorage, _t as AttachmentDownload, bt as AttachmentReplacement, c as BlockOf, gt as AttachmentBucket, ht as Attachment, jt as ObjectScanJob, kt as AttachmentsOptions, ln as RecordBindingWrite, mn as RecordRowInput, rn as RecordBinding, vt as AttachmentImageUrlOptions, wt as AttachmentStatus, xt as AttachmentScanJob, yt as AttachmentImages, zt as createObjectScanner } from "../../define-block-C1RHXz7L.js";
6
- import { n as Controller } from "../../controller-BW-5Opig.js";
5
+ import { At as NewAttachment, Ct as AttachmentScannerOptions, Dt as AttachmentVersion, Et as AttachmentUpload, Ft as ScannedObject, It as attachmentVersionOf, Lt as createAttachmentScanner, Mt as ObjectScanner, Nt as ObjectScannerOptions, Ot as Attachments, Pt as ScanVerdict, Rt as createAttachments, Sn as EntitySchema, St as AttachmentScanner, Tt as AttachmentStorage, _t as AttachmentDownload, bt as AttachmentReplacement, c as BlockOf, gt as AttachmentBucket, ht as Attachment, jt as ObjectScanJob, kt as AttachmentsOptions, ln as RecordBindingWrite, mn as RecordRowInput, rn as RecordBinding, vt as AttachmentImageUrlOptions, wt as AttachmentStatus, xt as AttachmentScanJob, yt as AttachmentImages, zt as createObjectScanner } from "../../define-block-Xxw8Hroe.js";
6
+ import { n as Controller } from "../../controller-CJUXhshv.js";
7
7
  //#region src/blocks/attachments/record-binding.d.ts
8
8
  /** A pending write to a record's files, for `useOptimistic`. */
9
9
  type AttachmentsOptimisticAction = {
@@ -7,13 +7,13 @@ import { r as BlockTemporalOptions } from "../../block-helpers-CRpAHrp_.js";
7
7
  import { n as SqlClient } from "../../executor-hGjrop3A.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 { Jt as WhereInput, t as BetterSupabase } from "../../define-C5AcEkEJ.js";
11
- import { c as BlockOf } from "../../define-block-C1RHXz7L.js";
10
+ import { Jt as WhereInput, t as BetterSupabase } from "../../define-Cgru0_kF.js";
11
+ import { c as BlockOf } from "../../define-block-Xxw8Hroe.js";
12
12
  import { i as EventSink, t as CloudEvent } from "../../cloud-event-CzZTJkXv.js";
13
- import { i as ListDefinition } from "../../list-query-DYhgRTd5.js";
14
- import { n as Controller, t as AuthPort } from "../../controller-BW-5Opig.js";
13
+ import { i as ListDefinition } from "../../list-query-DxjuIHEL.js";
14
+ import { n as Controller, t as AuthPort } from "../../controller-CJUXhshv.js";
15
15
  import { a as UndoToken } from "../../undo-B1jwnVyN.js";
16
- import { n as AuditCategory } from "../../context-8kb8m5uO.js";
16
+ import { n as AuditCategory } from "../../context-CKCgjEDF.js";
17
17
  //#region src/blocks/audit/audit.d.ts
18
18
  interface PurgeAuditLogOptions extends BlockTemporalOptions {
19
19
  /**
@@ -7,12 +7,12 @@ import { r as BlockTemporalOptions } from "../../block-helpers-CRpAHrp_.js";
7
7
  import { a as dbTransport, i as RpcClient, o as rpcTransport, s as sqlTransport, t as BlockTransport } from "../../block-transport-DWZSJrwN.js";
8
8
  import { a as BlockTransportMiddleware, d as extendBlock, f as withBlockHooks, n as BlockHooks, p as wrapTransport } from "../../block-hooks-DZN2w69m.js";
9
9
  import { _ as FilterRule, d as FilterLimits, f as FilterNode, h as FilterQuery, i as FilterCombinator, m as FilterOperatorSpec, r as FilterClock } from "../../filter-query-BXLs72G9.js";
10
- import { $t as createActionRegistry, Bt as Action, Gt as ActionInfo, Ht as ActionContext, Jt as ActionRegistry, Kt as ActionOrigin, L as NotifierInput, Qt as actionKey, Ut as ActionDescriptor, Vt as ActionCall, Wt as ActionHandler, Yt as ActionSpec, Zt as DefaultAutomation, c as BlockOf, en as defineAction, qt as ActionRef } from "../../define-block-C1RHXz7L.js";
11
- import { n as Controller, t as AuthPort } from "../../controller-BW-5Opig.js";
10
+ import { $t as createActionRegistry, Bt as Action, Gt as ActionInfo, Ht as ActionContext, Jt as ActionRegistry, Kt as ActionOrigin, L as NotifierInput, Qt as actionKey, Ut as ActionDescriptor, Vt as ActionCall, Wt as ActionHandler, Yt as ActionSpec, Zt as DefaultAutomation, c as BlockOf, en as defineAction, qt as ActionRef } from "../../define-block-Xxw8Hroe.js";
11
+ import { n as Controller, t as AuthPort } from "../../controller-CJUXhshv.js";
12
12
  import { o as ApprovalRequestInput } from "../../approvals-Dh9dUXrN.js";
13
13
  import { n as FilterRecordField, t as FilterEvaluation } from "../../filter-evaluate-CPxeae5X.js";
14
14
  import { a as checkRuleConditions, c as ruleFilterFields, i as RuleFieldDefinition, n as RuleField, o as defineRuleFields, r as RuleFieldCatalog, s as ruleFilterFieldInfo, t as RULE_LIMITS } from "../../fields-C3q2ypnO.js";
15
- import { a as ConversionRelations, i as ConversionRef, n as ConversionContext, o as ConversionSpec, r as ConversionOutcome, s as defineConversionAction, t as ConversionClients } from "../../conversion-3iv2r7YC.js";
15
+ import { a as ConversionRelations, i as ConversionRef, n as ConversionContext, o as ConversionSpec, r as ConversionOutcome, s as defineConversionAction, t as ConversionClients } from "../../conversion-DgHdDlTK.js";
16
16
  //#region src/blocks/automations/automations.d.ts
17
17
  /** What a rule runs when it matches: an action reference (ADR 0046). */
18
18
  type RuleAction = ActionRef;
@@ -6,7 +6,7 @@ import { n as Logger } from "../../logger-DWVYUmwi.js";
6
6
  import { a as BlockTenantOptions, r as BlockTemporalOptions } from "../../block-helpers-CRpAHrp_.js";
7
7
  import { a as dbTransport, i as RpcClient, o as rpcTransport, s as sqlTransport, t as BlockTransport } from "../../block-transport-DWZSJrwN.js";
8
8
  import { a as BlockTransportMiddleware, d as extendBlock, f as withBlockHooks, n as BlockHooks, p as wrapTransport } from "../../block-hooks-DZN2w69m.js";
9
- import { Sn as EntitySchema, c as BlockOf, ln as RecordBindingWrite, rn as RecordBinding } from "../../define-block-C1RHXz7L.js";
9
+ import { Sn as EntitySchema, c as BlockOf, ln as RecordBindingWrite, rn as RecordBinding } from "../../define-block-Xxw8Hroe.js";
10
10
  import { n as Money } from "../../money-BNRdJQzA.js";
11
11
  //#region src/blocks/billable-time/billable-time.d.ts
12
12
  /** How `unbilled` and `invoice` turn entries into lines. */
@@ -7,10 +7,10 @@ import { n as SqlClient } from "../../executor-hGjrop3A.js";
7
7
  import { a as dbTransport, o as rpcTransport, s as sqlTransport, t as BlockTransport } from "../../block-transport-DWZSJrwN.js";
8
8
  import { n as BlockHooks } from "../../block-hooks-DZN2w69m.js";
9
9
  import { n as StripeSource, r as StripeTaxId, t as StripeClient } from "../../stripe-X22LjuH-.js";
10
- import { c as BlockOf } from "../../define-block-C1RHXz7L.js";
10
+ import { c as BlockOf } from "../../define-block-Xxw8Hroe.js";
11
11
  import { i as EventSink } from "../../cloud-event-CzZTJkXv.js";
12
- import { n as Controller, t as AuthPort } from "../../controller-BW-5Opig.js";
13
- import { d as stripeInboxVerify, f as verifyStripeWebhook, u as signStripeWebhook } from "../../verify-CjvNLY7N.js";
12
+ import { n as Controller, t as AuthPort } from "../../controller-CJUXhshv.js";
13
+ import { d as stripeInboxVerify, f as verifyStripeWebhook, u as signStripeWebhook } from "../../verify-DEqY__0N.js";
14
14
  //#region src/blocks/billing/events.d.ts
15
15
  /** The events of the `billing` block: type to data. */
16
16
  type BillingEvents = {
@@ -1,7 +1,7 @@
1
1
  import { b as DbError } from "../../result-DZeA5KS6.js";
2
2
  import { Ct as Events, tt as SchedulingEventData } from "../../events-vcqenSYU.js";
3
- import { c as BlockOf } from "../../define-block-C1RHXz7L.js";
4
- import { n as Controller } from "../../controller-BW-5Opig.js";
3
+ import { c as BlockOf } from "../../define-block-Xxw8Hroe.js";
4
+ import { n as Controller } from "../../controller-CJUXhshv.js";
5
5
  import { o as WeeklyHours } from "../../availability-vguUvEK2.js";
6
6
  import { C as bookingSeriesOf, S as BookingWeekday, T as parseRecurrence, _ as BookedSeries, a as BookingExceptionInput, b as BookingSeriesScope, c as BookingResourceInput, d as BookingStatus, f as Bookings, g as createBookings, h as PublicBookingService, i as BookingDuration, l as BookingServiceInput, m as PlacedBooking, n as Booking, o as BookingExpirePayload, p as BookingsOptions, r as BookingCustomer, s as BookingRange, t as BOOKING_EXPIRE_QUEUE, u as BookingSlot, v as BookingRecurrence, w as formatRecurrence, x as BookingSeriesStatus, y as BookingSeries } from "../../bookings-Dox2rced.js";
7
7
  import { t as EventCalendarEvent } from "../../event-calendar-DCufbihU.js";
@@ -3,7 +3,7 @@ import { $ as SaasEventData, Ct as Events } from "../../events-vcqenSYU.js";
3
3
  import { n as Logger } from "../../logger-DWVYUmwi.js";
4
4
  import { t as BlockTransport } from "../../block-transport-DWZSJrwN.js";
5
5
  import { n as BlockHooks } from "../../block-hooks-DZN2w69m.js";
6
- import { c as BlockOf } from "../../define-block-C1RHXz7L.js";
6
+ import { c as BlockOf } from "../../define-block-Xxw8Hroe.js";
7
7
  //#region src/blocks/bulk/bulk.d.ts
8
8
  /** The actions every install knows, when the block that owns each is installed. */
9
9
  type BuiltInBulkAction = "tags.set" | "stateMachine.transition" | "relations.link" | "trash.trash" | "collections.add" | "appTables.set";
@@ -6,8 +6,8 @@ import { Ct as Events, tt as SchedulingEventData } from "../../events-vcqenSYU.j
6
6
  import { n as Logger } from "../../logger-DWVYUmwi.js";
7
7
  import { t as BlockTransport } from "../../block-transport-DWZSJrwN.js";
8
8
  import { n as BlockHooks } from "../../block-hooks-DZN2w69m.js";
9
- import { Sn as EntitySchema, c as BlockOf } from "../../define-block-C1RHXz7L.js";
10
- import { n as Controller } from "../../controller-BW-5Opig.js";
9
+ import { Sn as EntitySchema, c as BlockOf } from "../../define-block-Xxw8Hroe.js";
10
+ import { n as Controller } from "../../controller-CJUXhshv.js";
11
11
  import { C as IcsEvent, D as parseIcs, E as ToIcsOptions, O as toIcs, S as CalendarEventStatus, T as ParsedIcs, _ as expandOccurrences, a as FreeBusy, b as AttendeeRole, c as WorkingHoursInput, d as workingHoursOf, f as CalendarEvent, g as SplitRules, h as OccurrenceRange, i as CommonFreeTimeOptions, l as commonFreeTime, m as OccurrenceOptions, n as CalendarEventKind, o as WeeklyHours, p as CalendarOccurrence, r as CalendarTransparency, s as WorkingHours, t as BusyRange, u as freeBusyOf, v as splitRule, w as IcsSource, x as CalendarAttendee, y as AttendeeResponse } from "../../availability-vguUvEK2.js";
12
12
  import { a as fromEventCalendarUpdate, c as toEventCalendarResources, i as OccurrenceMove, n as EventCalendarOptions, o as seriesOf, r as EventCalendarResource, s as toEventCalendarEvents, t as EventCalendarEvent } from "../../event-calendar-DCufbihU.js";
13
13
  import { t as VisibleRange } from "../../range-p5V4rBhZ.js";
@@ -8,7 +8,7 @@ import { i as CursorPageOptions, n as BlockOptions } from "../../block-helpers-C
8
8
  import { a as dbTransport, i as RpcClient, o as rpcTransport, s as sqlTransport, t as BlockTransport } from "../../block-transport-DWZSJrwN.js";
9
9
  import { a as BlockTransportMiddleware, d as extendBlock, f as withBlockHooks, n as BlockHooks, p as wrapTransport } from "../../block-hooks-DZN2w69m.js";
10
10
  import { h as FilterQuery } from "../../filter-query-BXLs72G9.js";
11
- import { Sn as EntitySchema, c as BlockOf } from "../../define-block-C1RHXz7L.js";
11
+ import { Sn as EntitySchema, c as BlockOf } from "../../define-block-Xxw8Hroe.js";
12
12
  import { n as Money } from "../../money-BNRdJQzA.js";
13
13
  import { t as RankNeighbors } from "../../rank-result-Bwe7igy-.js";
14
14
  //#region src/blocks/catalog/catalog.d.ts
@@ -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 { a as dbTransport, i as RpcClient, o as rpcTransport, s as sqlTransport, t as BlockTransport } from "../../block-transport-DWZSJrwN.js";
9
9
  import { a as BlockTransportMiddleware, d as extendBlock, f as withBlockHooks, n as BlockHooks, p as wrapTransport } from "../../block-hooks-DZN2w69m.js";
10
- import { Sn as EntitySchema, c as BlockOf } from "../../define-block-C1RHXz7L.js";
10
+ import { Sn as EntitySchema, c as BlockOf } from "../../define-block-Xxw8Hroe.js";
11
11
  //#region src/blocks/channels/channels.d.ts
12
12
  /** Who reads a channel: the tenant, or its members. */
13
13
  type ChannelVisibility = "public" | "private";
@@ -8,7 +8,7 @@ import { n as Logger } from "../../logger-DWVYUmwi.js";
8
8
  import { i as CursorPageOptions } from "../../block-helpers-CRpAHrp_.js";
9
9
  import { a as dbTransport, i as RpcClient, o as rpcTransport, s as sqlTransport, t as BlockTransport } from "../../block-transport-DWZSJrwN.js";
10
10
  import { a as BlockTransportMiddleware, d as extendBlock, f as withBlockHooks, n as BlockHooks, p as wrapTransport } from "../../block-hooks-DZN2w69m.js";
11
- import { I as Notifier, c as BlockOf } from "../../define-block-C1RHXz7L.js";
11
+ import { I as Notifier, c as BlockOf } from "../../define-block-Xxw8Hroe.js";
12
12
  import { t as RankNeighbors } from "../../rank-result-Bwe7igy-.js";
13
13
  //#region src/blocks/collections/collections.d.ts
14
14
  /** Who sees a collection: its owner, a team, or the whole organization. */
@@ -7,14 +7,14 @@ import { n as Logger } from "../../logger-DWVYUmwi.js";
7
7
  import { a as BlockTenantOptions, i as CursorPageOptions, 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 { N as CommentsSqlOptions } from "../../authorization-HZdJCaVm.js";
10
+ import { P as CommentsSqlOptions } from "../../authorization-CNsvnwle.js";
11
11
  import { t as Author } from "../../block-authors-DzXLUiIq.js";
12
12
  import { a as isFileAnchor, i as fileAnchor, n as FileAnchor, o as conversationTopic, r as FileAnchorAt, t as AnchorRegion } from "../../anchors-7F34QyHa.js";
13
13
  import { c as MessageEdit, l as MessageEdition, o as Message } from "../../messaging-C_Pr9tGx.js";
14
- import { Sn as EntitySchema, c as BlockOf, ln as RecordBindingWrite, mn as RecordRowInput, rn as RecordBinding } from "../../define-block-C1RHXz7L.js";
15
- import { p as SubscriptionStatus } from "../../topic-CZXHhZye.js";
16
- import { n as TopicPort } from "../../watch-topic-BAxoPKZx.js";
17
- import { n as Controller, t as AuthPort } from "../../controller-BW-5Opig.js";
14
+ import { Sn as EntitySchema, c as BlockOf, ln as RecordBindingWrite, mn as RecordRowInput, rn as RecordBinding } from "../../define-block-Xxw8Hroe.js";
15
+ import { p as SubscriptionStatus } from "../../topic-BtLz-qTI.js";
16
+ import { n as TopicPort } from "../../watch-topic-tnfOTa3-.js";
17
+ import { n as Controller, t as AuthPort } from "../../controller-CJUXhshv.js";
18
18
  //#region src/blocks/comments/comments.d.ts
19
19
  interface CommentsOptions<S extends StandardSchemaV1 | undefined = undefined> extends BlockTemporalOptions, BlockTenantOptions {
20
20
  /**
@@ -7,7 +7,7 @@ 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, i as RpcClient, o as rpcTransport, s as sqlTransport, t as BlockTransport } from "../../block-transport-DWZSJrwN.js";
9
9
  import { a as BlockTransportMiddleware, d as extendBlock, f as withBlockHooks, n as BlockHooks, p as wrapTransport } from "../../block-hooks-DZN2w69m.js";
10
- import { Sn as EntitySchema, c as BlockOf } from "../../define-block-C1RHXz7L.js";
10
+ import { Sn as EntitySchema, c as BlockOf } from "../../define-block-Xxw8Hroe.js";
11
11
  //#region src/blocks/compliance/compliance.d.ts
12
12
  interface ComplianceOptions<S extends StandardSchemaV1 | undefined = undefined> extends BlockTemporalOptions {
13
13
  readonly transport: BlockTransport;
@@ -1,7 +1,7 @@
1
1
  import { Ct as Events, N as ConnectorEventData } from "../../events-vcqenSYU.js";
2
2
  import { a as dbTransport, o as rpcTransport, s as sqlTransport, t as BlockTransport } from "../../block-transport-DWZSJrwN.js";
3
3
  import { a as ConnectorSession, c as ConnectorsOptions, i as ConnectorServerFields, l as FingerprintStatus, n as ConnectorGrant, o as ConnectorTransport, r as ConnectorServer, s as Connectors, t as ConnectorAuth, u as createConnectors } from "../../connectors-Fud4amxp.js";
4
- import { c as BlockOf } from "../../define-block-C1RHXz7L.js";
4
+ import { c as BlockOf } from "../../define-block-Xxw8Hroe.js";
5
5
  //#region src/blocks/connectors/events.d.ts
6
6
  /** The events of the `connectors` block: type to data. */
7
7
  type ConnectorsEvents = {
@@ -7,7 +7,7 @@ import { n as Logger } from "../../logger-DWVYUmwi.js";
7
7
  import { i as CursorPageOptions } from "../../block-helpers-CRpAHrp_.js";
8
8
  import { a as dbTransport, i as RpcClient, o as rpcTransport, s as sqlTransport, t as BlockTransport } from "../../block-transport-DWZSJrwN.js";
9
9
  import { a as BlockTransportMiddleware, d as extendBlock, f as withBlockHooks, n as BlockHooks, p as wrapTransport } from "../../block-hooks-DZN2w69m.js";
10
- import { Sn as EntitySchema, c as BlockOf } from "../../define-block-C1RHXz7L.js";
10
+ import { Sn as EntitySchema, c as BlockOf } from "../../define-block-Xxw8Hroe.js";
11
11
  //#region src/blocks/contacts/contacts.d.ts
12
12
  /** Where a page of a list stops: the last row's name and id. */
13
13
  interface PartyCursor {
@@ -6,7 +6,7 @@ import { n as BlockOptions } from "../../block-helpers-CRpAHrp_.js";
6
6
  import { a as dbTransport, i as RpcClient, o as rpcTransport, s as sqlTransport, t as BlockTransport } from "../../block-transport-DWZSJrwN.js";
7
7
  import { a as BlockTransportMiddleware, d as extendBlock, f as withBlockHooks, n as BlockHooks, p as wrapTransport } from "../../block-hooks-DZN2w69m.js";
8
8
  import { n as contentSqlOptions, t as ContentSqlOptions } from "../../options-_F-enoBs.js";
9
- import { Sn as EntitySchema, c as BlockOf } from "../../define-block-C1RHXz7L.js";
9
+ import { Sn as EntitySchema, c as BlockOf } from "../../define-block-Xxw8Hroe.js";
10
10
  //#region src/blocks/content/content.d.ts
11
11
  declare const STATUSES: readonly ["draft", "scheduled", "published", "archived"];
12
12
  declare const APPROVAL_STATUSES: readonly ["pending", "approved", "rejected", "cancelled", "expired"];
@@ -8,7 +8,7 @@ import { n as Logger } from "../../logger-DWVYUmwi.js";
8
8
  import { r as BlockTemporalOptions } from "../../block-helpers-CRpAHrp_.js";
9
9
  import { a as dbTransport, i as RpcClient, o as rpcTransport, s as sqlTransport, t as BlockTransport } from "../../block-transport-DWZSJrwN.js";
10
10
  import { a as BlockTransportMiddleware, d as extendBlock, f as withBlockHooks, n as BlockHooks, p as wrapTransport } from "../../block-hooks-DZN2w69m.js";
11
- import { Sn as EntitySchema, c as BlockOf, rn as RecordBinding } from "../../define-block-C1RHXz7L.js";
11
+ import { Sn as EntitySchema, c as BlockOf, rn as RecordBinding } from "../../define-block-Xxw8Hroe.js";
12
12
  import { n as Money } from "../../money-BNRdJQzA.js";
13
13
  //#region src/blocks/contracts/contracts.d.ts
14
14
  interface ContractsOptions<S extends StandardSchemaV1 | undefined = undefined> extends BlockTemporalOptions {
@@ -8,7 +8,7 @@ import { n as BlockOptions } from "../../block-helpers-CRpAHrp_.js";
8
8
  import { a as dbTransport, i as RpcClient, o as rpcTransport, s as sqlTransport, t as BlockTransport } from "../../block-transport-DWZSJrwN.js";
9
9
  import { a as BlockTransportMiddleware, d as extendBlock, f as withBlockHooks, n as BlockHooks, p as wrapTransport } from "../../block-hooks-DZN2w69m.js";
10
10
  import { n as coursesSqlOptions, t as CoursesSqlOptions } from "../../options-Li1Dyu88.js";
11
- import { Sn as EntitySchema, c as BlockOf, ln as RecordBindingWrite, rn as RecordBinding } from "../../define-block-C1RHXz7L.js";
11
+ import { Sn as EntitySchema, c as BlockOf, ln as RecordBindingWrite, rn as RecordBinding } from "../../define-block-Xxw8Hroe.js";
12
12
  import { a as FormDefinition, l as FormJsonSchema } from "../../form-definition-BjEtH8BT.js";
13
13
  //#region src/blocks/courses/courses.d.ts
14
14
  declare const COURSE_STATUSES: readonly ["draft", "published", "archived"];