better-supabase 0.23.0 → 0.28.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (364) hide show
  1. package/dist/{access-sql-bjWFUWlk.js → access-sql-CTDNuxRv.js} +177 -12
  2. package/dist/{ai-schedules-7uQNMXve.d.ts → ai-schedules-yGZH-vQb.d.ts} +1 -1
  3. package/dist/ai-sdk/agents/index.d.ts +2 -2
  4. package/dist/ai-sdk/batches/index.d.ts +1 -1
  5. package/dist/ai-sdk/index.d.ts +1 -1
  6. package/dist/ai-sdk/mcp/index.d.ts +3 -3
  7. package/dist/{api-CHObZL7m.d.ts → api-B1OkIWdx.d.ts} +3 -3
  8. package/dist/{api-keys-D5k63K6y.d.ts → api-keys-ClhKBDcc.d.ts} +1 -1
  9. package/dist/{app-tables-CJO6pWwy.d.ts → app-tables-62GqZIhd.d.ts} +1 -1
  10. package/dist/{approvals-Dh9dUXrN.d.ts → approvals-C5fmPLsH.d.ts} +1 -1
  11. package/dist/astro/index.d.ts +5 -5
  12. package/dist/{authorization-Dtwpjeuz.d.ts → authorization-BCG1v0iC.d.ts} +73 -15
  13. package/dist/{authorization-hooks-D_pwXlBs.d.ts → authorization-hooks-DtzreCAq.d.ts} +1 -1
  14. package/dist/{automations-FCnWy387.js → automations-8L3NEuoq.js} +4 -1
  15. package/dist/{availability-vguUvEK2.d.ts → availability-BdeKCHpl.d.ts} +10 -0
  16. package/dist/better-result/index.d.ts +2 -2
  17. package/dist/{bind-DaoTunvE.d.ts → bind-C54jD0r3.d.ts} +4 -4
  18. package/dist/{block-env-DUyo2I5O.d.ts → block-env-CM-LFfj4.d.ts} +4 -4
  19. package/dist/blocks/access-requests/index.d.ts +2 -2
  20. package/dist/blocks/activities/index.d.ts +3 -3
  21. package/dist/blocks/agents/index.d.ts +2 -2
  22. package/dist/blocks/ai-cache/index.d.ts +1 -1
  23. package/dist/blocks/ai-chat/index.d.ts +5 -5
  24. package/dist/blocks/ai-files/index.d.ts +1 -1
  25. package/dist/blocks/ai-keys/index.d.ts +3 -3
  26. package/dist/blocks/ai-schedules/index.d.ts +2 -2
  27. package/dist/blocks/announcements/index.d.ts +5 -5
  28. package/dist/blocks/api-keys/index.d.ts +5 -5
  29. package/dist/blocks/approvals/index.d.ts +3 -3
  30. package/dist/blocks/assets/index.d.ts +2 -2
  31. package/dist/blocks/assignment/index.d.ts +3 -3
  32. package/dist/blocks/attachments/index.d.ts +3 -3
  33. package/dist/blocks/audit/index.d.ts +7 -7
  34. package/dist/blocks/automations/index.d.ts +5 -5
  35. package/dist/blocks/billable-time/index.d.ts +2 -2
  36. package/dist/blocks/billing/index.d.ts +5 -5
  37. package/dist/blocks/bookings/index.d.ts +6 -6
  38. package/dist/blocks/bulk/index.d.ts +2 -2
  39. package/dist/blocks/calendar/index.d.ts +46 -13
  40. package/dist/blocks/calendar/index.js +130 -30
  41. package/dist/blocks/catalog/index.d.ts +2 -2
  42. package/dist/blocks/channels/index.d.ts +3 -3
  43. package/dist/blocks/collections/index.d.ts +3 -3
  44. package/dist/blocks/comments/index.d.ts +5 -5
  45. package/dist/blocks/compliance/index.d.ts +2 -2
  46. package/dist/blocks/connectors/index.d.ts +3 -3
  47. package/dist/blocks/contacts/index.d.ts +3 -3
  48. package/dist/blocks/content/index.d.ts +2 -2
  49. package/dist/blocks/contracts/index.d.ts +2 -2
  50. package/dist/blocks/courses/index.d.ts +2 -2
  51. package/dist/blocks/created-by/index.d.ts +1 -1
  52. package/dist/blocks/custom-fields/index.d.ts +2 -2
  53. package/dist/blocks/custom-fields/index.js +1 -1
  54. package/dist/blocks/data-lifecycle/index.d.ts +4 -4
  55. package/dist/blocks/deals/index.d.ts +3 -3
  56. package/dist/blocks/dispatch/index.d.ts +2 -2
  57. package/dist/blocks/documents/index.d.ts +2 -2
  58. package/dist/blocks/domains/index.d.ts +2 -2
  59. package/dist/blocks/donations/index.d.ts +2 -2
  60. package/dist/blocks/drive/index.d.ts +4 -4
  61. package/dist/blocks/employees/index.d.ts +21 -6
  62. package/dist/blocks/employees/index.js +37 -2
  63. package/dist/blocks/enrichment/index.d.ts +3 -3
  64. package/dist/blocks/enrollments/index.d.ts +2 -2
  65. package/dist/blocks/entitlements/index.d.ts +3 -3
  66. package/dist/blocks/expenses/index.d.ts +2 -2
  67. package/dist/blocks/field-history/index.d.ts +1 -1
  68. package/dist/blocks/flags/index.d.ts +2 -2
  69. package/dist/blocks/forecasts/index.d.ts +3 -3
  70. package/dist/blocks/forms/index.d.ts +3 -3
  71. package/dist/blocks/goals/index.d.ts +1 -1
  72. package/dist/blocks/guests/index.d.ts +2 -2
  73. package/dist/blocks/hiring/index.d.ts +13 -6
  74. package/dist/blocks/hiring/index.js +15 -4
  75. package/dist/blocks/identities/index.d.ts +2 -2
  76. package/dist/blocks/imports/index.d.ts +2 -2
  77. package/dist/blocks/inbox/index.d.ts +6 -6
  78. package/dist/blocks/incidents/index.d.ts +2 -2
  79. package/dist/blocks/index.d.ts +4 -4
  80. package/dist/blocks/inventory/index.d.ts +2 -2
  81. package/dist/blocks/invoices/index.d.ts +3 -3
  82. package/dist/blocks/knowledge/index.d.ts +1 -1
  83. package/dist/blocks/lead-scoring/index.d.ts +1 -1
  84. package/dist/blocks/leases/index.d.ts +2 -2
  85. package/dist/blocks/leave/index.d.ts +2 -2
  86. package/dist/blocks/ledger/index.d.ts +2 -2
  87. package/dist/blocks/mail-sync/index.d.ts +3 -3
  88. package/dist/blocks/memberships/index.d.ts +1 -1
  89. package/dist/blocks/memory/index.d.ts +1 -1
  90. package/dist/blocks/messaging/index.d.ts +7 -7
  91. package/dist/blocks/metrics/index.d.ts +2 -2
  92. package/dist/blocks/mfa/index.d.ts +2 -2
  93. package/dist/blocks/moderation/index.d.ts +2 -2
  94. package/dist/blocks/notifications/index.d.ts +7 -7
  95. package/dist/blocks/numbering/index.d.ts +2 -2
  96. package/dist/blocks/oauth-server/index.d.ts +2 -2
  97. package/dist/blocks/onboarding/index.d.ts +2 -2
  98. package/dist/blocks/orders/index.d.ts +3 -3
  99. package/dist/blocks/organizations/index.d.ts +4 -4
  100. package/dist/blocks/outbox/index.d.ts +2 -2
  101. package/dist/blocks/passes/index.d.ts +3 -3
  102. package/dist/blocks/permissions/index.d.ts +3 -3
  103. package/dist/blocks/pipelines/index.d.ts +3 -3
  104. package/dist/blocks/posts/index.d.ts +2 -2
  105. package/dist/blocks/profiles/index.d.ts +1 -1
  106. package/dist/blocks/promotions/index.d.ts +2 -2
  107. package/dist/blocks/push/index.d.ts +3 -3
  108. package/dist/blocks/queue/index.d.ts +1 -1
  109. package/dist/blocks/quotes/index.d.ts +3 -3
  110. package/dist/blocks/rank/index.d.ts +1 -1
  111. package/dist/blocks/reactions/index.d.ts +5 -5
  112. package/dist/blocks/relations/index.d.ts +2 -2
  113. package/dist/blocks/reminders/index.d.ts +4 -4
  114. package/dist/blocks/reviews/index.d.ts +2 -2
  115. package/dist/blocks/saved-views/index.d.ts +4 -4
  116. package/dist/blocks/scores/index.d.ts +2 -2
  117. package/dist/blocks/search/index.d.ts +4 -4
  118. package/dist/blocks/security-events/index.d.ts +3 -3
  119. package/dist/blocks/segments/index.d.ts +3 -3
  120. package/dist/blocks/sequences/index.d.ts +2 -2
  121. package/dist/blocks/service-accounts/index.d.ts +2 -2
  122. package/dist/blocks/sessions/index.d.ts +2 -2
  123. package/dist/blocks/settings/index.d.ts +3 -3
  124. package/dist/blocks/share-links/index.d.ts +2 -2
  125. package/dist/blocks/shipments/index.d.ts +2 -2
  126. package/dist/blocks/signatures/index.d.ts +2 -2
  127. package/dist/blocks/signing-keys/index.d.ts +2 -2
  128. package/dist/blocks/sla/index.d.ts +3 -3
  129. package/dist/blocks/sso/index.d.ts +3 -3
  130. package/dist/blocks/state-machine/index.d.ts +2 -2
  131. package/dist/blocks/subjects/index.d.ts +2 -2
  132. package/dist/blocks/tags/index.d.ts +3 -3
  133. package/dist/blocks/tasks/index.d.ts +6 -6
  134. package/dist/blocks/tasks/index.js +1 -1
  135. package/dist/blocks/teams/index.d.ts +2 -2
  136. package/dist/blocks/templates/index.d.ts +4 -4
  137. package/dist/blocks/time-tracking/index.d.ts +10 -5
  138. package/dist/blocks/time-tracking/index.js +16 -9
  139. package/dist/blocks/timeline/index.d.ts +4 -4
  140. package/dist/blocks/trash/index.d.ts +2 -2
  141. package/dist/blocks/undo/index.d.ts +2 -2
  142. package/dist/blocks/updated-at/index.d.ts +1 -1
  143. package/dist/blocks/usage/index.d.ts +2 -2
  144. package/dist/blocks/vercel-marketplace/index.d.ts +2 -2
  145. package/dist/blocks/versions/index.d.ts +2 -2
  146. package/dist/blocks/waitlist/index.d.ts +2 -2
  147. package/dist/blocks/webhooks/index.d.ts +6 -6
  148. package/dist/blocks/workflow-editor/index.d.ts +7 -7
  149. package/dist/blocks/workflows/index.d.ts +5 -5
  150. package/dist/{bookings-BpCNphYp.d.ts → bookings-CVw5-Q0Z.d.ts} +1 -1
  151. package/dist/chat-sdk/index.d.ts +2 -2
  152. package/dist/cli/{add-DVHniZOO.js → add-BKcE_g9D.js} +2 -2
  153. package/dist/cli/{add-C7lKQNBL.js → add-DUyg9qna.js} +40 -15
  154. package/dist/cli/add-pDOlqWUa.js +1 -0
  155. package/dist/cli/{backfill-Lrn-Qp5X.js → backfill-r9RELEEh.js} +4 -4
  156. package/dist/cli/bin.js +1 -1
  157. package/dist/cli/{blocks-BKNd886C.js → blocks-DTOFdrxL.js} +1 -1
  158. package/dist/cli/{blocks-2Yw9t-_U.js → blocks-k1OG8XDs.js} +2 -2
  159. package/dist/cli/{cache-ByhPVMo-.js → cache-Czfw7Iow.js} +1 -1
  160. package/dist/cli/{codemod-C0eXpzFu.js → codemod-ClmbiLuL.js} +3 -3
  161. package/dist/cli/{command-BWEEXmtz.js → command-CVzTJSLp.js} +31 -0
  162. package/dist/cli/{completion-8EDK21xj.js → completion-CNCqE-Gb.js} +1 -1
  163. package/dist/cli/{completion-BfnKI4QZ.js → completion-Dpk6vh0p.js} +2 -2
  164. package/dist/cli/{completion-Bt7LMypX.js → completion-DxEXxFpz.js} +2 -2
  165. package/dist/cli/{config-CeaQMrvS.js → config-D2YUlzrl.js} +1 -1
  166. package/dist/cli/{config-WKDixoGK.js → config-EjNj3HfT.js} +1 -1
  167. package/dist/cli/{config-BVfeG3A5.js → config-KvV-sLZL.js} +290 -10
  168. package/dist/cli/{content-mapper-qH-_YQ8H.js → content-mapper-ez_mT0d4.js} +2 -2
  169. package/dist/cli/{db-DwjyUbAh.js → db-uYN6O5Eg.js} +38 -14
  170. package/dist/cli/{doctor-BnxkqXGA.js → doctor-BD9oo4MG.js} +31 -28
  171. package/dist/cli/{env-DMgjB_4y.js → env-BK0xKMeU.js} +1 -2
  172. package/dist/cli/{env-C-Bl6Awn.js → env-Bat6ogep.js} +1 -1
  173. package/dist/cli/env-Cy2lWBRC.js +1 -0
  174. package/dist/cli/{env-BCgVZkcb.js → env-DEAtgGoj.js} +2 -2
  175. package/dist/cli/{exec--Q1ZEWUW.js → exec-Ca5s-ygi.js} +1 -1
  176. package/dist/cli/{gen-aERmP3Sw.js → gen-8Ya8n2sA.js} +16 -16
  177. package/dist/cli/in-stack-diff-Cp-tVPj2.js +186 -0
  178. package/dist/cli/index.d.ts +1 -2
  179. package/dist/cli/index.js +8 -8
  180. package/dist/cli/{init-DWUqVSVW.js → init-DgL3sDfQ.js} +118 -11
  181. package/dist/cli/{keys-CbaL0lnw.js → keys-CsanNk-2.js} +1 -1
  182. package/dist/cli/{live-KcdTBUij.js → live-CMMEct_F.js} +2 -2
  183. package/dist/cli/{mcp-Dsjjo-LT.js → mcp-DEHtzAkq.js} +4 -4
  184. package/dist/cli/{metadata-DWQSIZ59.js → metadata-BZh-cOzC.js} +3 -3
  185. package/dist/cli/migrate-sVs1QYTM.js +306 -0
  186. package/dist/cli/{migration-safety-Cy7xlU4G.js → migration-safety-ClnYNMdq.js} +2 -2
  187. package/dist/cli/migrations-DWh38tO9.js +117 -0
  188. package/dist/cli/{module-migration-C6NLY9iZ.js → module-migration-CXfRJIV4.js} +2 -2
  189. package/dist/cli/{moved-DVwgE8lV.js → moved-Cnb4fp49.js} +1 -1
  190. package/dist/cli/{parse-B079x40m.js → parse-BWM6IGhF.js} +1 -1
  191. package/dist/cli/powersync-DURhWDVc.js +1 -0
  192. package/dist/cli/{powersync-CE_hQdgc.js → powersync-Dnyr-Wy5.js} +4 -3
  193. package/dist/cli/{print-Cy_ram9N.js → print-DJrSr56b.js} +2 -2
  194. package/dist/cli/{migrations-CUjNXokR.js → providers-CpaISitn.js} +4 -116
  195. package/dist/cli/{remove-DmwjzqaW.js → remove-ChaieK3t.js} +6 -6
  196. package/dist/cli/{render-CF09FCra.js → render-DUNJ4Pss.js} +8 -5
  197. package/dist/cli/{run-BYpZ8FjF.js → run-ChCQPYOh.js} +41 -39
  198. package/dist/cli/{run-lh-chAJW.js → run-Cl9COGuy.js} +10 -10
  199. package/dist/cli/{run-DmOTMa44.js → run-CxFDjL1Q.js} +4 -4
  200. package/dist/cli/seed-BJ7c-ktX.js +1 -0
  201. package/dist/cli/{seed-BMynpMPy.js → seed-BzVLTdRl.js} +3 -3
  202. package/dist/cli/{shared-D05A6t1e.js → shared-5uqc1GBj.js} +1 -1
  203. package/dist/cli/{skills-FXAVPLzp.js → skills-0gz_qjVb.js} +1 -1
  204. package/dist/cli/{snapshot-BITNbA5V.js → snapshot-DdAP7LWO.js} +3 -3
  205. package/dist/cli/{source-GGJHuzpH.js → source-2irbWSck.js} +1 -1
  206. package/dist/cli/{source-args-CDmmFmFG.js → source-args-DAcQt-Mh.js} +1 -1
  207. package/dist/cli/{spec-BGcRdlhN.js → spec-B7n4Rthp.js} +3 -3
  208. package/dist/cli/{spec-BjxXWaNQ.js → spec-_MS0ym5r.js} +1 -1
  209. package/dist/cli/{sql-layout-BoD5ynN9.js → sql-layout-DYKkQw1k.js} +21 -7
  210. package/dist/cli/{stack-DgASZP0K.js → stack-CteM33gC.js} +3 -3
  211. package/dist/cli/{stack-status-B_Ipd_-z.js → stack-status-BkkYRlXG.js} +1 -1
  212. package/dist/cli/{stacks-BYlQ96WS.js → stacks-CiDBH1dB.js} +1 -1
  213. package/dist/cli/{sync-_QlsTmqu.js → sync-DnSOrQuA.js} +4 -3
  214. package/dist/cli/table-DeH8X0qz.js +89 -0
  215. package/dist/cli/{upgrade-Cwhb1M7O.js → upgrade-CWdrC-K3.js} +5 -4
  216. package/dist/cli/{upgrade-n9ar1kc4.js → upgrade-cMy5fKkg.js} +3 -3
  217. package/dist/cli/{version-RSpJIWDd.js → version-C5RAWmrD.js} +1 -1
  218. package/dist/client/index.d.ts +5 -5
  219. package/dist/client/native/index.d.ts +4 -4
  220. package/dist/{cloud-event-CzZTJkXv.d.ts → cloud-event-DcJwder2.d.ts} +1 -1
  221. package/dist/{composite-ChzHhSB0.d.ts → composite-CWJvZgni.d.ts} +6 -6
  222. package/dist/config/index.d.ts +3 -3
  223. package/dist/config/index.js +4 -4
  224. package/dist/{config-RwpFcPq8.js → config-CTeR7XHK.js} +6 -5
  225. package/dist/{config-vHLJ8SKf.js → config-CvJHIy5q.js} +4 -3
  226. package/dist/{connectors-Fud4amxp.d.ts → connectors-CHGiffYH.d.ts} +1 -1
  227. package/dist/{context-CMf4OKpN.d.ts → context-BFEX0b7H.d.ts} +109 -4
  228. package/dist/{controller-BGto_kYM.d.ts → controller-Cl6HmMBk.d.ts} +1 -1
  229. package/dist/{conversion-DBgMck5U.d.ts → conversion-DlfStnln.d.ts} +1 -1
  230. package/dist/create/index.d.ts +62 -3
  231. package/dist/create/index.js +67 -4
  232. package/dist/create/lite/index.d.ts +140 -3
  233. package/dist/create/lite/index.js +399 -47
  234. package/dist/credentials/index.d.ts +3 -3
  235. package/dist/{define-Lf6rI2QN.d.ts → define-BLP6XtoL.d.ts} +1 -1
  236. package/dist/{define-block-DCAiOrNX.d.ts → define-block-DibVN37N.d.ts} +4 -4
  237. package/dist/edge/index.d.ts +8 -8
  238. package/dist/elysia/index.d.ts +1 -1
  239. package/dist/{ended-gUsMZVNg.d.ts → ended-B8RyuUXF.d.ts} +1 -1
  240. package/dist/{entitlements-CIhVQ-0u.d.ts → entitlements-Y-n4RGAd.d.ts} +2 -2
  241. package/dist/eve/index.d.ts +2 -2
  242. package/dist/{event-calendar-DCufbihU.d.ts → event-calendar-DVLs2wUO.d.ts} +1 -1
  243. package/dist/events/index.d.ts +3 -3
  244. package/dist/{events-vcqenSYU.d.ts → events-Cc9DDQWH.d.ts} +2 -0
  245. package/dist/{executor-DNK401lZ.d.ts → executor-C-Ox9eKq.d.ts} +1 -1
  246. package/dist/{executor-aFV7nEBs.d.ts → executor-DNPm13a9.d.ts} +2 -2
  247. package/dist/expo/index.d.ts +3 -3
  248. package/dist/{field-errors-BDhPaO0a.d.ts → field-errors-Btn3czyz.d.ts} +7 -7
  249. package/dist/{framework-DKA3fTHl.d.ts → framework-GlxXiotm.d.ts} +6 -6
  250. package/dist/h3/index.d.ts +1 -1
  251. package/dist/h3/v1/index.d.ts +1 -1
  252. package/dist/hono/index.d.ts +8 -8
  253. package/dist/{index-CFWlHuVY.d.ts → index-8wOL81rB.d.ts} +1 -1
  254. package/dist/{index-ClvuSZEz.d.ts → index-BfYDY6eh.d.ts} +3 -3
  255. package/dist/{index-ujNqgZ6B.d.ts → index-C0_cweyT.d.ts} +11 -11
  256. package/dist/{index--OhYKouV.d.ts → index-CAY7rIQs.d.ts} +3 -3
  257. package/dist/{index-CG9rA8H8.d.ts → index-C_qlBJ3k.d.ts} +2 -2
  258. package/dist/{index-iRkFvJ7J.d.ts → index-D1ckLbUM.d.ts} +1 -1
  259. package/dist/{index-lV43eM34.d.ts → index-DPMVWm_Z.d.ts} +4 -4
  260. package/dist/{index-4MStWaeF.d.ts → index-k-SyCzcQ.d.ts} +105 -120
  261. package/dist/index.d.ts +2 -2
  262. package/dist/{instances-BPJSESPx.js → instances-C7qUTjhJ.js} +85 -6
  263. package/dist/{kit-CVgQCIBO.d.ts → kit-Dxx3MT8m.d.ts} +3 -3
  264. package/dist/list/index.d.ts +1 -1
  265. package/dist/{list-query-XYfUZb0j.d.ts → list-query-XHoYDlRN.d.ts} +1 -1
  266. package/dist/mapper/bin.js +7 -7
  267. package/dist/mcp/index.d.ts +5 -5
  268. package/dist/mcp/sdk/index.d.ts +5 -5
  269. package/dist/nestjs/index.d.ts +2 -2
  270. package/dist/next/client/index.d.ts +1 -1
  271. package/dist/next/index.d.ts +21 -21
  272. package/dist/node/index.d.ts +2 -2
  273. package/dist/{operations-qSBBV5vl.d.ts → operations-DE7SOBw-.d.ts} +1 -1
  274. package/dist/{options-D4ADKTKo.js → options-B5E2MGIz.js} +6 -1
  275. package/dist/options-C4LuqmdG.js +15 -0
  276. package/dist/{options-D2s7fT1s.js → options-COo7_3MX.js} +2 -1
  277. package/dist/{options-D32-YxnO.js → options-DhoLMknl.js} +3 -1
  278. package/dist/{options-BPp2zzsz.js → options-eTepQ1rZ.js} +2 -1
  279. package/dist/orpc/index.d.ts +7 -7
  280. package/dist/otel/index.d.ts +1 -1
  281. package/dist/otel/index.js +4 -4
  282. package/dist/{outbox-HxjZTfF6.d.ts → outbox-DxZgoKwp.d.ts} +2 -2
  283. package/dist/{pool-CrtT4dg-.d.ts → pool-wjbAMqc1.d.ts} +1 -1
  284. package/dist/{ports-DbHiNSAa.d.ts → ports-DP0bthUk.d.ts} +1 -1
  285. package/dist/postgres/index.d.ts +1 -1
  286. package/dist/powersync/index.d.ts +3 -3
  287. package/dist/preset/index.d.ts +3 -3
  288. package/dist/preset/index.js +3 -3
  289. package/dist/{preset-B1xXOJ0T.js → preset-DwuWNBip.js} +2 -2
  290. package/dist/{project-BM6QMtzV.js → project-Bo1vZqVs.js} +5 -5
  291. package/dist/{provider-CqwEOLCA.d.ts → provider-ClrIplXa.d.ts} +1 -1
  292. package/dist/{push-token-BwF1fyjA.d.ts → push-token-v3xCcVU7.d.ts} +1 -1
  293. package/dist/query/index.d.ts +1 -1
  294. package/dist/react/index.d.ts +7 -7
  295. package/dist/react/native/index.d.ts +1 -1
  296. package/dist/react/server.d.ts +8 -8
  297. package/dist/react/session.d.ts +2 -2
  298. package/dist/react-router/index.d.ts +5 -5
  299. package/dist/realtime/index.d.ts +4 -4
  300. package/dist/realtime/index.js +1 -1
  301. package/dist/{record-form-BbZpwsEi.d.ts → record-form-D2-F4IwS.d.ts} +1 -1
  302. package/dist/records/index.d.ts +7 -7
  303. package/dist/{refresh-DT_ICaK-.d.ts → refresh-CCKB1Wa6.d.ts} +1 -1
  304. package/dist/{refusal-OrlI3g4H.d.ts → refusal-D_tklIEb.d.ts} +2 -2
  305. package/dist/{resolve-CXX6DHv3.d.ts → resolve-Bj1qD7Dy.d.ts} +1 -1
  306. package/dist/{resolved-names-WzRYhUez.js → resolved-names-iLBOUaib.js} +2 -2
  307. package/dist/{resource-execute-CUG6xUuh.d.ts → resource-execute-BSTIfp1D.d.ts} +1 -1
  308. package/dist/{resource-types-DjZ91WKA.d.ts → resource-types-D5WEvYtV.d.ts} +2 -2
  309. package/dist/{resources-6Ncdt9XT.d.ts → resources-CsZ7RhZC.d.ts} +1 -1
  310. package/dist/{respond-oZeJ342J.d.ts → respond-BzRG-0qc.d.ts} +1 -1
  311. package/dist/server/index.d.ts +20 -20
  312. package/dist/{server-types-BH6AjDBN.d.ts → server-types-BlDiY-ya.d.ts} +8 -8
  313. package/dist/{session-Y5SSYO2C.d.ts → session-BGP98Rgj.d.ts} +5 -5
  314. package/dist/{session-status-qQLm7jzh.d.ts → session-status-C4t7kbSn.d.ts} +2 -2
  315. package/dist/{sign-in-BAjR49fq.d.ts → sign-in-CAadgm33.d.ts} +2 -2
  316. package/dist/solid/index.d.ts +9 -9
  317. package/dist/solid-start/index.d.ts +5 -5
  318. package/dist/spec/index.d.ts +1 -1
  319. package/dist/sql/index.d.ts +5 -5
  320. package/dist/sql/index.js +5 -5
  321. package/dist/{sql-CNH8kjLS.js → sql-B7vBP9g0.js} +6248 -2092
  322. package/dist/sqlite/index.d.ts +1 -1
  323. package/dist/ssr/index.d.ts +5 -5
  324. package/dist/storage/index.js +1 -1
  325. package/dist/{subject-readers-8GySC9Z8.d.ts → subject-readers-DJbzlm8a.d.ts} +1 -1
  326. package/dist/{subjects-NomQg6Eg.d.ts → subjects-BYCL-6hA.d.ts} +15 -1
  327. package/dist/{support-B4ZBVxt3.d.ts → support-D7CMbhRT.d.ts} +4 -4
  328. package/dist/{support-view-BYOgwXsJ.d.ts → support-view-CIDXF3_H.d.ts} +1 -1
  329. package/dist/svelte/index.d.ts +8 -8
  330. package/dist/sveltekit/index.d.ts +6 -6
  331. package/dist/{tags-Cjtcp5cN.d.ts → tags-Dg4Ywmqp.d.ts} +1 -1
  332. package/dist/tanstack-db/index.d.ts +1 -1
  333. package/dist/tanstack-start/index.d.ts +5 -5
  334. package/dist/{tenant-D4BA7XQ-.d.ts → tenant-CyLEXgot.d.ts} +2 -2
  335. package/dist/testing/index.d.ts +16 -16
  336. package/dist/testing/index.js +2 -2
  337. package/dist/{timeline-CEzj9v1z.d.ts → timeline-Cjl-1hiA.d.ts} +3 -3
  338. package/dist/{topic-utZqhw96.d.ts → topic-B_DGdAEs.d.ts} +3 -3
  339. package/dist/{topic-F0FKzJyQ.js → topic-DnsNG4Kj.js} +1 -1
  340. package/dist/{types-yj8VF4oY.d.ts → types-BdaBfYIw.d.ts} +2 -2
  341. package/dist/{types-DLnBJ3ST.d.ts → types-DF8JYEf5.d.ts} +2 -2
  342. package/dist/{types-EO2crSX_.d.ts → types-DR1MHh7N.d.ts} +1 -1
  343. package/dist/{vault-O-YlAyHb.d.ts → vault-BghaujrZ.d.ts} +1 -1
  344. package/dist/vercel-connect/index.d.ts +1 -1
  345. package/dist/{verify-B0KLBb3j.d.ts → verify-CI8LgSpv.d.ts} +1 -1
  346. package/dist/{view-DyFdMCqg.d.ts → view-BvNA7EOC.d.ts} +1 -1
  347. package/dist/vue/index.d.ts +9 -9
  348. package/dist/{watch-topic-B1UCoQfz.d.ts → watch-topic-1zIAtiNM.d.ts} +1 -1
  349. package/dist/workflow-sdk/builder/index.d.ts +3 -3
  350. package/dist/workflow-sdk/index.d.ts +1 -1
  351. package/dist/workflow-sdk/world/index.d.ts +1 -1
  352. package/dist/workflow-sdk/world/index.js +1 -1
  353. package/dist/{workflow-sdk-B3Ss55Fy.d.ts → workflow-sdk-BNsZrcVg.d.ts} +1 -1
  354. package/dist/{workflow-sdk-CE8sEK57.js → workflow-sdk-CaEw822d.js} +25 -4
  355. package/dist/yjs/index.d.ts +1 -1
  356. package/dist/yjs/index.js +1 -1
  357. package/package.json +11 -1
  358. package/schemas/config-v1.json +95 -1
  359. package/dist/cli/add-vZRn-uH0.js +0 -1
  360. package/dist/cli/env-xhwXk5Ri.js +0 -1
  361. package/dist/cli/in-stack-diff-DQTW53Vf.js +0 -257
  362. package/dist/cli/powersync-BOhjVQCb.js +0 -1
  363. package/dist/cli/seed-CO3j_bly.js +0 -1
  364. package/dist/options-DztCKw_f.js +0 -8
@@ -2,7 +2,7 @@ import { n as dbError } from "../../errors-BVFgt8BZ.js";
2
2
  import { n as isRecord } from "../../guards-6F2bCtQR.js";
3
3
  import { t as temporal } from "../../temporal-required-DcLhnDhQ.js";
4
4
  import { t as AsyncResult } from "../../result-ntFBW2p2.js";
5
- import { t as calendarSqlOptions } from "../../options-DztCKw_f.js";
5
+ import { t as calendarSqlOptions } from "../../options-C4LuqmdG.js";
6
6
  import { n as event, t as defineEvents } from "../../event-map-CtPFhcOp.js";
7
7
  import { t as defineController } from "../../controller-BEliOBOv.js";
8
8
  import { A as recordsOf, C as optionalInstant, L as textOf, O as recordOf, j as requiredInstant, o as blockCall, w as optionalText, x as oneOf } from "../../block-helpers-B0f0ZVb5.js";
@@ -264,6 +264,7 @@ function eventOf(lines, fallback) {
264
264
  let rrule;
265
265
  let originalStart;
266
266
  const exdates = [];
267
+ const rdates = [];
267
268
  const attendees = [];
268
269
  for (const line of lines) switch (line.name) {
269
270
  case "UID":
@@ -308,6 +309,12 @@ function eventOf(lines, fallback) {
308
309
  if (date !== void 0) exdates.push(date.instant);
309
310
  }
310
311
  break;
312
+ case "RDATE":
313
+ for (const value of line.value.split(",")) {
314
+ const date = value.includes("/") ? void 0 : dateValue(value.trim(), line.params, fallback);
315
+ if (date !== void 0) rdates.push(date.instant);
316
+ }
317
+ break;
311
318
  case "RECURRENCE-ID":
312
319
  originalStart = dateValue(line.value, line.params, fallback)?.instant;
313
320
  break;
@@ -332,6 +339,7 @@ function eventOf(lines, fallback) {
332
339
  status,
333
340
  ...rrule === void 0 ? {} : { rrule },
334
341
  exdates,
342
+ ...rdates.length === 0 ? {} : { rdates },
335
343
  ...originalStart === void 0 ? {} : { originalStart },
336
344
  attendees,
337
345
  ...transparent ? { transparency: "transparent" } : {}
@@ -472,12 +480,14 @@ function eventLines(event, stamp) {
472
480
  if (event.originalStart !== void 0) lines.push(timeProperty("RECURRENCE-ID", event.originalStart, event));
473
481
  if (event.rrule !== void 0) lines.push(`RRULE:${event.rrule}`);
474
482
  for (const exdate of event.exdates) lines.push(timeProperty("EXDATE", exdate, event));
483
+ for (const rdate of event.rdates ?? []) lines.push(timeProperty("RDATE", rdate, event));
475
484
  lines.push(`SUMMARY:${escapeText(event.title)}`);
476
485
  if (event.description !== void 0) lines.push(`DESCRIPTION:${escapeText(event.description)}`);
477
486
  if (event.location !== void 0) lines.push(`LOCATION:${escapeText(event.location)}`);
478
487
  lines.push(`STATUS:${event.status.toUpperCase()}`);
479
488
  if (event.transparency === "transparent") lines.push("TRANSP:TRANSPARENT");
480
489
  for (const attendee of event.attendees ?? []) {
490
+ if (attendee.email === "") continue;
481
491
  const cn = attendee.name === void 0 ? "" : `;CN=${paramValue(attendee.name)}`;
482
492
  lines.push(`ATTENDEE${cn};ROLE=${ROLE_OUT[attendee.role]};PARTSTAT=${attendee.response.toUpperCase()}:mailto:${attendee.email}`);
483
493
  }
@@ -496,7 +506,7 @@ function toIcs(events, options = {}) {
496
506
  for (const event of events) {
497
507
  if (event.allDay || event.tz === "UTC") continue;
498
508
  const from = event.startsAt.subtract({ hours: 24 });
499
- const until = event.rrule === void 0 ? event.endsAt.add({ hours: 24 }) : event.startsAt.add({ hours: 26352 });
509
+ const until = event.rrule === void 0 && (event.rdates ?? []).length === 0 ? event.endsAt.add({ hours: 24 }) : event.startsAt.add({ hours: 26352 });
500
510
  const known = zones.get(event.tz);
501
511
  zones.set(event.tz, {
502
512
  from: known === void 0 || time.Instant.compare(from, known.from) < 0 ? from : known.from,
@@ -519,6 +529,23 @@ function toIcs(events, options = {}) {
519
529
  //#endregion
520
530
  //#region src/blocks/calendar/occurrences.ts
521
531
  const keyOf = (id, start) => `${id}::${start.toString()}`;
532
+ const recurs = (event) => event.rrule !== void 0 || (event.rdates ?? []).length > 0;
533
+ function seriesStarts(event, zoned, window) {
534
+ const ruled = event.rrule === void 0 ? [zoned] : expandRule({
535
+ dtstart: zoned,
536
+ rrule: event.rrule,
537
+ window
538
+ });
539
+ if ((event.rdates ?? []).length === 0) return ruled;
540
+ const time = temporal();
541
+ const seen = new Set(ruled.map((when) => when.epochMilliseconds));
542
+ const all = [...ruled];
543
+ for (const rdate of event.rdates ?? []) if (!seen.has(rdate.epochMilliseconds) && time.Instant.compare(rdate, window.until) < 0) {
544
+ seen.add(rdate.epochMilliseconds);
545
+ all.push(rdate.toZonedDateTimeISO(event.tz));
546
+ }
547
+ return all.toSorted((a, b) => time.ZonedDateTime.compare(a, b));
548
+ }
522
549
  function overlaps(start, end, range) {
523
550
  const time = temporal();
524
551
  return time.Instant.compare(start, range.until) < 0 && (time.Instant.compare(end, range.from) > 0 || time.Instant.compare(start, end) === 0 && time.Instant.compare(start, range.from) >= 0);
@@ -536,7 +563,7 @@ function expandOccurrences(events, range, options = {}) {
536
563
  const series = /* @__PURE__ */ new Map();
537
564
  const overrides = /* @__PURE__ */ new Map();
538
565
  for (const event of events) if (event.recurrenceId !== void 0 && event.originalStart !== void 0) overrides.set(keyOf(event.recurrenceId, event.originalStart), event);
539
- else if (event.rrule !== void 0) series.set(event.id, event);
566
+ else if (recurs(event)) series.set(event.id, event);
540
567
  const found = [];
541
568
  for (const event of events) {
542
569
  if (event.recurrenceId !== void 0) {
@@ -553,7 +580,7 @@ function expandOccurrences(events, range, options = {}) {
553
580
  });
554
581
  continue;
555
582
  }
556
- if (event.rrule === void 0) {
583
+ if (!recurs(event)) {
557
584
  if (keep(event) && overlaps(event.startsAt, event.endsAt, range)) found.push({
558
585
  key: keyOf(event.id, event.startsAt),
559
586
  event,
@@ -570,13 +597,9 @@ function expandOccurrences(events, range, options = {}) {
570
597
  const length = zoned.until(event.endsAt.toZonedDateTimeISO(event.tz), { largestUnit: event.allDay ? "days" : "hours" });
571
598
  const reach = event.endsAt.since(event.startsAt).add({ hours: 25 });
572
599
  const skipped = new Set(event.exdates.map((date) => date.epochMilliseconds));
573
- for (const when of expandRule({
574
- dtstart: zoned,
575
- rrule: event.rrule,
576
- window: {
577
- from: range.from.subtract(reach),
578
- until: range.until
579
- }
600
+ for (const when of seriesStarts(event, zoned, {
601
+ from: range.from.subtract(reach),
602
+ until: range.until
580
603
  })) {
581
604
  const start = when.toInstant();
582
605
  if (skipped.has(start.epochMilliseconds)) continue;
@@ -659,14 +682,22 @@ const STATUSES = [
659
682
  "cancelled"
660
683
  ];
661
684
  function attendeeOf(value) {
662
- const name = optionalText(value["name"]);
663
- const userId = optionalText(value["userId"]);
685
+ const text = (key) => {
686
+ const found = optionalText(value[key]);
687
+ return found === void 0 ? {} : { [key]: found };
688
+ };
689
+ const flag = (key) => typeof value[key] === "boolean" ? { [key]: value[key] } : {};
664
690
  return {
665
- email: textOf(value["email"]),
666
- ...name === void 0 ? {} : { name },
667
- ...userId === void 0 ? {} : { userId },
691
+ email: optionalText(value["email"]) ?? "",
692
+ ...text("name"),
693
+ ...text("userId"),
668
694
  role: oneOf(value["role"], ROLES, "required"),
669
- response: oneOf(value["response"], RESPONSES, "needs-action")
695
+ response: oneOf(value["response"], RESPONSES, "needs-action"),
696
+ ...text("id"),
697
+ ...text("subjectType"),
698
+ ...text("subjectId"),
699
+ ...flag("organizer"),
700
+ ...flag("optional")
670
701
  };
671
702
  }
672
703
  /** A `list_calendar_events` or `calendar_feed` row as an event. */
@@ -679,6 +710,7 @@ function calendarEventOf(value) {
679
710
  const originalStart = optionalInstant(row["originalStart"]);
680
711
  const updatedAt = optionalInstant(row["updatedAt"]);
681
712
  const exdates = Array.isArray(row["exdates"]) ? row["exdates"] : [];
713
+ const rdates = Array.isArray(row["rdates"]) ? row["rdates"] : void 0;
682
714
  return {
683
715
  id: textOf(row["id"]),
684
716
  calendarId: textOf(row["calendarId"]),
@@ -702,7 +734,10 @@ function calendarEventOf(value) {
702
734
  ...row["transparency"] === void 0 ? {} : { transparency: oneOf(row["transparency"], CALENDAR_TRANSPARENCIES, "opaque") },
703
735
  ...typeof row["autoDecline"] === "boolean" ? { autoDecline: row["autoDecline"] } : {},
704
736
  attendees: recordsOf(row["attendees"], "attendees").map(attendeeOf),
705
- ...updatedAt === void 0 ? {} : { updatedAt }
737
+ ...updatedAt === void 0 ? {} : { updatedAt },
738
+ ...rdates === void 0 ? {} : { rdates: rdates.map((date) => requiredInstant(date, "rdate")) },
739
+ ...row["visibility"] === void 0 ? {} : { visibility: oneOf(row["visibility"], ["public", "private"], "public") },
740
+ ...text("ownerId")
706
741
  };
707
742
  }
708
743
  /** The jsonb `save_calendar_event` takes. */
@@ -710,7 +745,7 @@ function itemOf(input) {
710
745
  const item = {};
711
746
  for (const [key, value] of Object.entries(input)) {
712
747
  if (value === void 0) continue;
713
- if (key === "exdates" && Array.isArray(value)) item[key] = value.map(String);
748
+ if ((key === "exdates" || key === "rdates") && Array.isArray(value)) item[key] = value.map(String);
714
749
  else if (key === "startsAt" || key === "endsAt" || key === "originalStart") item[key] = String(value);
715
750
  else item[key] = value;
716
751
  }
@@ -730,6 +765,7 @@ function importItem(event) {
730
765
  status: event.status,
731
766
  rrule: event.rrule ?? null,
732
767
  exdates: event.exdates,
768
+ ...event.rdates === void 0 ? {} : { rdates: event.rdates },
733
769
  ...event.originalStart === void 0 ? {} : { originalStart: event.originalStart },
734
770
  ...event.transparency === void 0 ? {} : { transparency: event.transparency }
735
771
  });
@@ -748,13 +784,25 @@ function copyOf(event) {
748
784
  ...event.color === void 0 ? {} : { color: event.color },
749
785
  ...event.kind === void 0 ? {} : { kind: event.kind },
750
786
  ...event.transparency === void 0 ? {} : { transparency: event.transparency },
751
- ...event.autoDecline === void 0 ? {} : { autoDecline: event.autoDecline }
787
+ ...event.autoDecline === void 0 ? {} : { autoDecline: event.autoDecline },
788
+ ...event.visibility === void 0 ? {} : { visibility: event.visibility }
752
789
  };
753
790
  }
754
791
  const INFINITE = {
755
792
  from: "-infinity",
756
793
  until: "infinity"
757
794
  };
795
+ function attributesOf(input) {
796
+ const attrs = {};
797
+ for (const key of [
798
+ "color",
799
+ "visibility",
800
+ "description",
801
+ "rank",
802
+ "isDefault"
803
+ ]) if (input[key] !== void 0) attrs[key] = input[key];
804
+ return attrs;
805
+ }
758
806
  /** The keys of an event write the block types itself. */
759
807
  const EVENT_INPUT = /* @__PURE__ */ new Set([
760
808
  "id",
@@ -768,6 +816,8 @@ const EVENT_INPUT = /* @__PURE__ */ new Set([
768
816
  "status",
769
817
  "rrule",
770
818
  "exdates",
819
+ "rdates",
820
+ "visibility",
771
821
  "subjectType",
772
822
  "subjectId",
773
823
  "color",
@@ -804,21 +854,35 @@ function createCalendar(options) {
804
854
  range_end: range.until.toString()
805
855
  }, (value) => recordsOf(value, "list_calendar_events").map((raw) => [raw, calendarEventOf(raw)])).andThen((rows) => allWithFields(fields, rows));
806
856
  return withBlockHooks({
807
- createCalendar: (organizationId, name, extra = {}) => call("create_calendar", {
808
- tenant: organizationId,
809
- name,
810
- tz: extra.tz ?? "UTC",
811
- owner_type: extra.ownerType ?? null,
812
- owner_id: extra.ownerId ?? null,
813
- ...extra.fields === void 0 ? {} : { fields: extra.fields }
814
- }, (value) => ({ id: textOf(recordOf(value, "create_calendar")["id"]) })),
857
+ createCalendar: (organizationId, name, extra = {}) => {
858
+ const attrs = attributesOf(extra);
859
+ return call("create_calendar", {
860
+ tenant: organizationId,
861
+ name,
862
+ tz: extra.tz ?? "UTC",
863
+ owner_type: extra.ownerType ?? null,
864
+ owner_id: extra.ownerId ?? null,
865
+ ...extra.fields === void 0 ? {} : { fields: extra.fields },
866
+ ...Object.keys(attrs).length === 0 ? {} : { attrs }
867
+ }, (value) => ({ id: textOf(recordOf(value, "create_calendar")["id"]) }));
868
+ },
869
+ updateCalendar: (id, attributes) => call("update_calendar", {
870
+ calendar_id: id,
871
+ attrs: {
872
+ ...attributesOf(attributes),
873
+ ...attributes.name === void 0 ? {} : { name: attributes.name },
874
+ ...attributes.tz === void 0 ? {} : { tz: attributes.tz }
875
+ }
876
+ }, (value) => value === true),
815
877
  deleteCalendar: (id) => call("delete_calendar", { calendar_id: id }, (value) => value === true),
816
878
  listCalendars: (organizationId) => call("list_calendars", { tenant: organizationId }, (value) => recordsOf(value, "list_calendars").map((row) => {
817
879
  const extra = {};
818
880
  for (const key of [
819
881
  "color",
820
882
  "ownerType",
821
- "ownerId"
883
+ "ownerId",
884
+ "description",
885
+ "rank"
822
886
  ]) {
823
887
  const found = optionalText(row[key]);
824
888
  if (found !== void 0) extra[key] = found;
@@ -828,6 +892,8 @@ function createCalendar(options) {
828
892
  name: textOf(row["name"]),
829
893
  tz: optionalText(row["tz"]) ?? "UTC",
830
894
  ...extra,
895
+ ...row["visibility"] === void 0 ? {} : { visibility: oneOf(row["visibility"], ["shared", "private"], "shared") },
896
+ ...typeof row["isDefault"] === "boolean" ? { isDefault: row["isDefault"] } : {},
831
897
  ...isRecord(row["fields"]) ? { fields: { ...row["fields"] } } : {}
832
898
  };
833
899
  })),
@@ -852,6 +918,7 @@ function createCalendar(options) {
852
918
  ...changes,
853
919
  rrule: null,
854
920
  exdates: [],
921
+ ...series.rdates === void 0 ? {} : { rdates: [] },
855
922
  recurrenceId: series.id,
856
923
  originalStart: occurrence.originalStart
857
924
  });
@@ -894,7 +961,10 @@ function createCalendar(options) {
894
961
  original_start: occurrence.originalStart.toString()
895
962
  }, (value) => value === true);
896
963
  },
897
- setAttendee: (eventId, attendee) => call("set_calendar_attendee", {
964
+ setAttendee: (eventId, attendee) => attendee.email === void 0 || attendee.subjectType !== void 0 || attendee.subjectId !== void 0 || attendee.organizer !== void 0 || attendee.optional !== void 0 ? call("set_calendar_attendee", {
965
+ event_id: eventId,
966
+ attendee: { ...attendee }
967
+ }, (value) => isRecord(value) && typeof value["id"] === "string") : call("set_calendar_attendee", {
898
968
  event_id: eventId,
899
969
  email: attendee.email,
900
970
  name: attendee.name ?? null,
@@ -905,6 +975,20 @@ function createCalendar(options) {
905
975
  event_id: eventId,
906
976
  email
907
977
  }, (value) => value === true),
978
+ removeAttendeeById: (attendeeId) => call("remove_calendar_attendee", { attendee_id: attendeeId }, (value) => value === true),
979
+ setGrant: (calendarId, userId, role) => call("set_calendar_grant", {
980
+ calendar_id: calendarId,
981
+ user_id: userId,
982
+ role
983
+ }, (value) => value === true),
984
+ removeGrant: (calendarId, userId) => call("remove_calendar_grant", {
985
+ calendar_id: calendarId,
986
+ user_id: userId
987
+ }, (value) => value === true),
988
+ grants: (calendarId) => call("list_calendar_grants", { calendar_id: calendarId }, (value) => recordsOf(value, "list_calendar_grants").map((row) => ({
989
+ userId: textOf(row["userId"]),
990
+ role: oneOf(row["role"], ["viewer", "editor"], "viewer")
991
+ }))),
908
992
  respond: (eventId, response) => call("respond_calendar_event", {
909
993
  event_id: eventId,
910
994
  response
@@ -936,6 +1020,11 @@ function createCalendar(options) {
936
1020
  tz: optionalText(info["tz"]) ?? "UTC"
937
1021
  });
938
1022
  }),
1023
+ userFeed: (token) => call("calendar_user_feed", { token }, (value) => {
1024
+ if (value === null || value === void 0) return null;
1025
+ const row = recordOf(value, "calendar_user_feed");
1026
+ return toIcs(recordsOf(row["events"], "calendar_user_feed").map(calendarEventOf));
1027
+ }),
939
1028
  setWorkingHours: (organizationId, input) => call("set_calendar_working_hours", {
940
1029
  tenant: organizationId,
941
1030
  user_id: input.userId ?? null,
@@ -1079,6 +1168,7 @@ function createCalendarController(options) {
1079
1168
  /** The `calendar` block's event types, for its manifest and `onBlockEvent`. */
1080
1169
  const calendarEvents = defineEvents({
1081
1170
  "calendar.created": event(),
1171
+ "calendar.updated": event(),
1082
1172
  "calendar_event.created": event(),
1083
1173
  "calendar_event.updated": event(),
1084
1174
  "calendar_event.deleted": event()
@@ -1144,6 +1234,16 @@ const calendarEventInputSchema = entitySchema({
1144
1234
  optional: true,
1145
1235
  array: true
1146
1236
  },
1237
+ rdates: {
1238
+ kind: "instant",
1239
+ optional: true,
1240
+ array: true
1241
+ },
1242
+ visibility: {
1243
+ kind: "enum",
1244
+ values: ["public", "private"],
1245
+ optional: true
1246
+ },
1147
1247
  subjectType: {
1148
1248
  kind: "string",
1149
1249
  optional: true,
@@ -2,13 +2,13 @@
2
2
  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
- import { Ct as Events, j as CommerceEventData } from "../../events-vcqenSYU.js";
5
+ import { Ct as Events, j as CommerceEventData } from "../../events-Cc9DDQWH.js";
6
6
  import { n as Logger } from "../../logger-DWVYUmwi.js";
7
7
  import { i as CursorPageOptions, 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 { h as FilterQuery } from "../../filter-query-BXLs72G9.js";
11
- import { Sn as EntitySchema, c as BlockOf } from "../../define-block-DCAiOrNX.js";
11
+ import { Sn as EntitySchema, c as BlockOf } from "../../define-block-DibVN37N.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
@@ -1,13 +1,13 @@
1
1
  /// <reference lib="esnext.temporal" />
2
2
  import { T as ErrorMapper, t as AsyncResult } from "../../result-DZeA5KS6.js";
3
3
  import { $ as RecordRef } from "../../types-DFdg_4yN.js";
4
- import { Ct as Events } from "../../events-vcqenSYU.js";
5
- import { m as ChannelEventData } from "../../index-CG9rA8H8.js";
4
+ import { Ct as Events } from "../../events-Cc9DDQWH.js";
5
+ import { m as ChannelEventData } from "../../index-C_qlBJ3k.js";
6
6
  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-DCAiOrNX.js";
10
+ import { Sn as EntitySchema, c as BlockOf } from "../../define-block-DibVN37N.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";
@@ -2,13 +2,13 @@
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 } from "../../events-vcqenSYU.js";
6
- import { P as SavedItemEventData, g as CollectionEventData, h as CollectionEntryEventData } from "../../index-CG9rA8H8.js";
5
+ import { Ct as Events } from "../../events-Cc9DDQWH.js";
6
+ import { P as SavedItemEventData, g as CollectionEventData, h as CollectionEntryEventData } from "../../index-C_qlBJ3k.js";
7
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-DCAiOrNX.js";
11
+ import { I as Notifier, c as BlockOf } from "../../define-block-DibVN37N.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 { F as CommentsSqlOptions } from "../../authorization-Dtwpjeuz.js";
10
+ import { F as CommentsSqlOptions } from "../../authorization-BCG1v0iC.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-DCAiOrNX.js";
15
- import { p as SubscriptionStatus } from "../../topic-utZqhw96.js";
16
- import { n as TopicPort } from "../../watch-topic-B1UCoQfz.js";
17
- import { n as Controller, t as AuthPort } from "../../controller-BGto_kYM.js";
14
+ import { Sn as EntitySchema, c as BlockOf, ln as RecordBindingWrite, mn as RecordRowInput, rn as RecordBinding } from "../../define-block-DibVN37N.js";
15
+ import { p as SubscriptionStatus } from "../../topic-B_DGdAEs.js";
16
+ import { n as TopicPort } from "../../watch-topic-1zIAtiNM.js";
17
+ import { n as Controller, t as AuthPort } from "../../controller-Cl6HmMBk.js";
18
18
  //#region src/blocks/comments/comments.d.ts
19
19
  interface CommentsOptions<S extends StandardSchemaV1 | undefined = undefined> extends BlockTemporalOptions, BlockTenantOptions {
20
20
  /**
@@ -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 { n as ExtraFields, r as FieldsOf } from "../../block-fields-BE7pInWZ.js";
5
- import { Ct as Events } from "../../events-vcqenSYU.js";
5
+ import { Ct as Events } 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, 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-DCAiOrNX.js";
10
+ import { Sn as EntitySchema, c as BlockOf } from "../../define-block-DibVN37N.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
- import { Ct as Events, N as ConnectorEventData } from "../../events-vcqenSYU.js";
1
+ import { Ct as Events, N as ConnectorEventData } from "../../events-Cc9DDQWH.js";
2
2
  import { a as dbTransport, o as rpcTransport, s as sqlTransport, t as BlockTransport } from "../../block-transport-DWZSJrwN.js";
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-DCAiOrNX.js";
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-CHGiffYH.js";
4
+ import { c as BlockOf } from "../../define-block-DibVN37N.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 = {
@@ -1,13 +1,13 @@
1
1
  import { T as ErrorMapper, t as AsyncResult } from "../../result-DZeA5KS6.js";
2
2
  import { t as StandardSchemaV1 } from "../../standard-DBV730sF.js";
3
3
  import { i as RowFields, r as FieldsOf } from "../../block-fields-BE7pInWZ.js";
4
- import { Ct as Events } from "../../events-vcqenSYU.js";
5
- import { A as PartyEventData } from "../../index-CG9rA8H8.js";
4
+ import { Ct as Events } from "../../events-Cc9DDQWH.js";
5
+ import { A as PartyEventData } from "../../index-C_qlBJ3k.js";
6
6
  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-DCAiOrNX.js";
10
+ import { Sn as EntitySchema, c as BlockOf } from "../../define-block-DibVN37N.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 {
@@ -1,12 +1,12 @@
1
1
  /// <reference lib="esnext.temporal" />
2
2
  import { t as AsyncResult } from "../../result-DZeA5KS6.js";
3
- import { Ct as Events } from "../../events-vcqenSYU.js";
3
+ import { Ct as Events } from "../../events-Cc9DDQWH.js";
4
4
  import { n as Logger } from "../../logger-DWVYUmwi.js";
5
5
  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-5WvWOkAm.js";
9
- import { Sn as EntitySchema, c as BlockOf } from "../../define-block-DCAiOrNX.js";
9
+ import { Sn as EntitySchema, c as BlockOf } from "../../define-block-DibVN37N.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"];
@@ -3,12 +3,12 @@ import { T as ErrorMapper, t as AsyncResult } from "../../result-DZeA5KS6.js";
3
3
  import { t as StandardSchemaV1 } from "../../standard-DBV730sF.js";
4
4
  import { n as ExtraFields, r as FieldsOf } from "../../block-fields-BE7pInWZ.js";
5
5
  import { $ as RecordRef } from "../../types-DFdg_4yN.js";
6
- import { Ct as Events } from "../../events-vcqenSYU.js";
6
+ import { Ct as Events } from "../../events-Cc9DDQWH.js";
7
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-DCAiOrNX.js";
11
+ import { Sn as EntitySchema, c as BlockOf, rn as RecordBinding } from "../../define-block-DibVN37N.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 {
@@ -2,13 +2,13 @@
2
2
  import { t as AsyncResult } from "../../result-DZeA5KS6.js";
3
3
  import { t as StandardSchemaV1 } from "../../standard-DBV730sF.js";
4
4
  import { n as ExtraFields, r as FieldsOf } from "../../block-fields-BE7pInWZ.js";
5
- import { Ct as Events } from "../../events-vcqenSYU.js";
5
+ import { Ct as Events } from "../../events-Cc9DDQWH.js";
6
6
  import { n as Logger } from "../../logger-DWVYUmwi.js";
7
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-BUCQYAeJ.js";
11
- import { Sn as EntitySchema, c as BlockOf, ln as RecordBindingWrite, rn as RecordBinding } from "../../define-block-DCAiOrNX.js";
11
+ import { Sn as EntitySchema, c as BlockOf, ln as RecordBindingWrite, rn as RecordBinding } from "../../define-block-DibVN37N.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"];
@@ -1,6 +1,6 @@
1
1
  import { Ft as RequestContext, Mt as Plugin } from "../../types-DFdg_4yN.js";
2
2
  import { t as CreatedBySqlOptions } from "../../options-CDSCkYxu.js";
3
- import { r as Block } from "../../define-block-DCAiOrNX.js";
3
+ import { r as Block } from "../../define-block-DibVN37N.js";
4
4
  //#region src/blocks/created-by/extension.d.ts
5
5
  interface CreatedByExtensionOptions {
6
6
  /**
@@ -1,11 +1,11 @@
1
1
  import { T as ErrorMapper, t as AsyncResult } from "../../result-DZeA5KS6.js";
2
2
  import { $ as RecordRef } from "../../types-DFdg_4yN.js";
3
- import { $ as SaasEventData, Ct as Events, et as SaasSubjectEventData } from "../../events-vcqenSYU.js";
3
+ import { $ as SaasEventData, Ct as Events, et as SaasSubjectEventData } from "../../events-Cc9DDQWH.js";
4
4
  import { n as Logger } from "../../logger-DWVYUmwi.js";
5
5
  import { a as BlockTenantOptions } from "../../block-helpers-CRpAHrp_.js";
6
6
  import { t as BlockTransport } from "../../block-transport-DWZSJrwN.js";
7
7
  import { n as BlockHooks } from "../../block-hooks-DZN2w69m.js";
8
- import { c as BlockOf } from "../../define-block-DCAiOrNX.js";
8
+ import { c as BlockOf } from "../../define-block-DibVN37N.js";
9
9
  import { n as CustomFieldType, t as CUSTOM_FIELD_TYPES } from "../../field-formats-CAFNkKSN.js";
10
10
  import { t as RankNeighbors } from "../../rank-result-Bwe7igy-.js";
11
11
  //#region src/blocks/custom-fields/custom-fields.d.ts
@@ -1,6 +1,6 @@
1
1
  import { t as AsyncResult } from "../../result-ntFBW2p2.js";
2
2
  import { n as CUSTOM_FIELD_TYPES } from "../../field-formats-C6QKA3UR.js";
3
- import { t as customFieldsSqlOptions } from "../../options-D32-YxnO.js";
3
+ import { t as customFieldsSqlOptions } from "../../options-DhoLMknl.js";
4
4
  import { n as event, t as defineEvents } from "../../event-map-CtPFhcOp.js";
5
5
  import { A as recordsOf, L as textOf, O as recordOf, o as blockCall, w as optionalText } from "../../block-helpers-B0f0ZVb5.js";
6
6
  import { r as withBlockHooks } from "../../block-hooks-DKtz0HRh.js";
@@ -1,14 +1,14 @@
1
1
  /// <reference lib="esnext.temporal" />
2
2
  import { T as ErrorMapper, t as AsyncResult } from "../../result-DZeA5KS6.js";
3
- import { Ct as Events, F as DataExportEventData, K as LegalHoldEventData, Y as OrganizationDeletionEventData } from "../../events-vcqenSYU.js";
3
+ import { Ct as Events, F as DataExportEventData, K as LegalHoldEventData, Y as OrganizationDeletionEventData } from "../../events-Cc9DDQWH.js";
4
4
  import { n as Logger } from "../../logger-DWVYUmwi.js";
5
- import { a as CredentialSubject, i as CredentialRef, r as CredentialProvider } from "../../provider-CqwEOLCA.js";
5
+ import { a as CredentialSubject, i as CredentialRef, r as CredentialProvider } from "../../provider-ClrIplXa.js";
6
6
  import { r as BlockTemporalOptions } from "../../block-helpers-CRpAHrp_.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 { g as JobHandler } from "../../types-Czq9Xtpa.js";
10
- import { c as BlockOf } from "../../define-block-DCAiOrNX.js";
11
- import { i as EventSink } from "../../cloud-event-CzZTJkXv.js";
10
+ import { c as BlockOf } from "../../define-block-DibVN37N.js";
11
+ import { i as EventSink } from "../../cloud-event-DcJwder2.js";
12
12
  //#region src/blocks/data-lifecycle/data-lifecycle.d.ts
13
13
  interface StorageReply<T> {
14
14
  readonly data: T | null;
@@ -2,13 +2,13 @@
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 } from "../../events-vcqenSYU.js";
6
- import { v as DealEventData } from "../../index-CG9rA8H8.js";
5
+ import { Ct as Events } from "../../events-Cc9DDQWH.js";
6
+ import { v as DealEventData } from "../../index-C_qlBJ3k.js";
7
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 } from "../../define-block-DCAiOrNX.js";
11
+ import { Sn as EntitySchema, c as BlockOf } from "../../define-block-DibVN37N.js";
12
12
  import { n as Money } from "../../money-BNRdJQzA.js";
13
13
  import { t as DealForecast } from "../../deal-forecast-LwO-Z4_C.js";
14
14
  //#region src/blocks/deals/deals.d.ts
@@ -3,13 +3,13 @@ import { t as AsyncResult } from "../../result-DZeA5KS6.js";
3
3
  import { t as StandardSchemaV1 } from "../../standard-DBV730sF.js";
4
4
  import { n as ExtraFields, r as FieldsOf } from "../../block-fields-BE7pInWZ.js";
5
5
  import { $ as RecordRef } from "../../types-DFdg_4yN.js";
6
- import { Ct as Events } from "../../events-vcqenSYU.js";
6
+ import { Ct as Events } from "../../events-Cc9DDQWH.js";
7
7
  import { n as Logger } from "../../logger-DWVYUmwi.js";
8
8
  import { n as BlockOptions } 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
11
  import { n as dispatchSqlOptions, t as DispatchSqlOptions } from "../../options-o5wCw8H7.js";
12
- import { Sn as EntitySchema, c as BlockOf, ln as RecordBindingWrite, mn as RecordRowInput, rn as RecordBinding } from "../../define-block-DCAiOrNX.js";
12
+ import { Sn as EntitySchema, c as BlockOf, ln as RecordBindingWrite, mn as RecordRowInput, rn as RecordBinding } from "../../define-block-DibVN37N.js";
13
13
  //#region src/blocks/dispatch/statuses.d.ts
14
14
  /** Where a work order is in its life. */
15
15
  export declare const WORK_ORDER_STATUSES: readonly ["unscheduled", "scheduled", "en_route", "on_site", "done", "cancelled"];
@@ -1,6 +1,6 @@
1
- import { Ct as Events, I as DocumentEventData, L as DocumentSuggestionEventData } from "../../events-vcqenSYU.js";
1
+ import { Ct as Events, I as DocumentEventData, L as DocumentSuggestionEventData } from "../../events-Cc9DDQWH.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-DCAiOrNX.js";
3
+ import { c as BlockOf } from "../../define-block-DibVN37N.js";
4
4
  import { a as DocumentSuggestion, c as DocumentVersion, d as OpenedDocument, f as SuggestionDecision, i as DocumentState, l as Documents, n as DocumentInfo, o as DocumentSuggestionStatus, p as createDocuments, r as DocumentRef, s as DocumentUpdate, t as DecidedSuggestion, u as DocumentsOptions } from "../../documents-Cup1rpjF.js";
5
5
  //#region src/blocks/documents/events.d.ts
6
6
  /** The events of the `documents` block: type to data. */