better-supabase 0.52.0 → 0.53.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 (813) hide show
  1. package/dist/{access-sql-DVntbgJf.js → access-sql-DH2LbcQe.js} +2 -1
  2. package/dist/{adapter-iCMh_XnC.js → adapter-CJa5ys5O.js} +46 -11
  3. package/dist/{agents-C_VAKJ_s.d.ts → agents-BrLBg0gC.d.ts} +2 -2
  4. package/dist/{agents-CkRsaxAr.js → agents-CEna9P0O.js} +1 -1
  5. package/dist/{ai-cache-DV8O7Kav.js → ai-cache-CqNHapwf.js} +1 -1
  6. package/dist/{ai-files-BD6YE9TZ.js → ai-files-C8n2QKlX.js} +1 -1
  7. package/dist/{ai-schedules-BMM-ZHOC.d.ts → ai-schedules-Dfbcor59.d.ts} +1 -1
  8. package/dist/ai-sdk/agents/index.d.ts +1 -1
  9. package/dist/ai-sdk/agents/index.js +1 -1
  10. package/dist/ai-sdk/cache/index.js +1 -1
  11. package/dist/ai-sdk/embeddings/index.js +1 -1
  12. package/dist/ai-sdk/files/index.js +1 -1
  13. package/dist/ai-sdk/workflow/index.d.ts +1 -1
  14. package/dist/ai-sdk/workflow/index.js +1 -1
  15. package/dist/{api-YjQpioTT.d.ts → api-CGYctFBt.d.ts} +1 -1
  16. package/dist/{api-keys-mfwDRWHv.d.ts → api-keys-COJAXdGF.d.ts} +1 -1
  17. package/dist/{app-tables-D2uN1feV.d.ts → app-tables-CZLNOXeA.d.ts} +1 -1
  18. package/dist/{approvals-BSweHvij.js → approvals-DCLl96Xf.js} +1 -1
  19. package/dist/astro/index.d.ts +3 -3
  20. package/dist/astro/index.js +2 -2
  21. package/dist/{attachments-DqQ61LfS.js → attachments-Djs8uyat.js} +1 -1
  22. package/dist/{auth-reply-CgXF76sz.js → auth-reply-CimDH13K.js} +4 -1
  23. package/dist/{authorization-hk0TAA6-.d.ts → authorization-UYejwQsk.d.ts} +70 -9
  24. package/dist/{automations-CrdULEET.js → automations-DChuvKPy.js} +1 -1
  25. package/dist/better-result/index.d.ts +2 -2
  26. package/dist/{bind-CEN9Us3B.d.ts → bind-D4qLTlY4.d.ts} +11 -7
  27. package/dist/{block-env-CvQj4rbD.d.ts → block-env-BLBr90is.d.ts} +4 -4
  28. package/dist/{block-hooks-BIRJauOk.js → block-hooks-Bd5bRM9B.js} +1 -0
  29. package/dist/{block-subjects-SKkp3d_Q.js → block-subjects-Cvd-RaMY.js} +2 -2
  30. package/dist/{block-tables-BR6Ckm_1.d.ts → block-tables-BkgafSZd.d.ts} +1 -1
  31. package/dist/blocks/access-requests/index.d.ts +1 -1
  32. package/dist/blocks/access-requests/index.js +10 -10
  33. package/dist/blocks/accounting/index.d.ts +1 -1
  34. package/dist/blocks/accounting/index.js +2 -2
  35. package/dist/blocks/acknowledgements/index.d.ts +1 -1
  36. package/dist/blocks/acknowledgements/index.js +1 -1
  37. package/dist/blocks/activities/index.d.ts +2 -2
  38. package/dist/blocks/activities/index.js +2 -2
  39. package/dist/blocks/advisories/index.d.ts +1 -1
  40. package/dist/blocks/advisories/index.js +16 -16
  41. package/dist/blocks/agent-checkout/index.d.ts +1 -1
  42. package/dist/blocks/agent-checkout/index.js +11 -11
  43. package/dist/blocks/agents/index.d.ts +1 -1
  44. package/dist/blocks/agents/index.js +11 -11
  45. package/dist/blocks/ai-cache/index.d.ts +1 -1
  46. package/dist/blocks/ai-cache/index.js +3 -3
  47. package/dist/blocks/ai-chat/index.d.ts +1 -1
  48. package/dist/blocks/ai-chat/index.js +10 -10
  49. package/dist/blocks/ai-evals/index.d.ts +1 -1
  50. package/dist/blocks/ai-evals/index.js +3 -3
  51. package/dist/blocks/ai-files/index.d.ts +1 -1
  52. package/dist/blocks/ai-files/index.js +3 -3
  53. package/dist/blocks/ai-guardrails/index.d.ts +1 -1
  54. package/dist/blocks/ai-guardrails/index.js +5 -5
  55. package/dist/blocks/ai-keys/index.d.ts +1 -1
  56. package/dist/blocks/ai-keys/index.js +8 -8
  57. package/dist/blocks/ai-schedules/index.d.ts +2 -2
  58. package/dist/blocks/ai-schedules/index.js +3 -3
  59. package/dist/blocks/announcements/index.d.ts +4 -4
  60. package/dist/blocks/announcements/index.js +8 -8
  61. package/dist/blocks/api-keys/index.d.ts +2 -2
  62. package/dist/blocks/api-keys/index.js +1 -1
  63. package/dist/blocks/appraisals/index.d.ts +1 -1
  64. package/dist/blocks/appraisals/index.js +12 -12
  65. package/dist/blocks/approvals/index.d.ts +1 -1
  66. package/dist/blocks/approvals/index.js +2 -2
  67. package/dist/blocks/assets/index.d.ts +2 -2
  68. package/dist/blocks/assets/index.js +2 -2
  69. package/dist/blocks/assignment/index.d.ts +1 -1
  70. package/dist/blocks/assignment/index.js +2 -2
  71. package/dist/blocks/attachments/index.d.ts +5 -5
  72. package/dist/blocks/attachments/index.js +2 -2
  73. package/dist/blocks/audit/index.d.ts +2 -2
  74. package/dist/blocks/audit/index.js +1 -1
  75. package/dist/blocks/automations/index.d.ts +3 -3
  76. package/dist/blocks/automations/index.js +12 -12
  77. package/dist/blocks/banking/index.d.ts +1 -1
  78. package/dist/blocks/banking/index.js +2 -2
  79. package/dist/blocks/billable-time/index.d.ts +1 -1
  80. package/dist/blocks/billable-time/index.js +2 -2
  81. package/dist/blocks/billing/index.d.ts +3 -3
  82. package/dist/blocks/billing/index.js +1 -1
  83. package/dist/blocks/bookings/index.d.ts +2 -2
  84. package/dist/blocks/bookings/index.js +1 -1
  85. package/dist/blocks/bulk/index.d.ts +1 -1
  86. package/dist/blocks/bulk/index.js +5 -5
  87. package/dist/blocks/calendar/index.d.ts +3 -3
  88. package/dist/blocks/calendar/index.js +1 -1
  89. package/dist/blocks/care/index.d.ts +27 -27
  90. package/dist/blocks/care/index.js +37 -46
  91. package/dist/blocks/care-plans/index.d.ts +3 -3
  92. package/dist/blocks/care-plans/index.js +2 -2
  93. package/dist/blocks/cases/index.d.ts +3 -3
  94. package/dist/blocks/cases/index.js +2 -2
  95. package/dist/blocks/catalog/index.d.ts +2 -2
  96. package/dist/blocks/catalog/index.js +2 -2
  97. package/dist/blocks/channels/index.d.ts +1 -1
  98. package/dist/blocks/channels/index.js +7 -7
  99. package/dist/blocks/clinical-decision-support/index.d.ts +1 -1
  100. package/dist/blocks/clinical-decision-support/index.js +11 -11
  101. package/dist/blocks/cms/index.d.ts +5 -5
  102. package/dist/blocks/cms/index.js +7 -7
  103. package/dist/blocks/collaboration/index.d.ts +6 -6
  104. package/dist/blocks/collaboration/index.js +8 -8
  105. package/dist/blocks/collections/index.d.ts +1 -1
  106. package/dist/blocks/collections/index.js +10 -10
  107. package/dist/blocks/comments/index.d.ts +2 -2
  108. package/dist/blocks/comments/index.js +1 -1
  109. package/dist/blocks/commerce/index.d.ts +5 -5
  110. package/dist/blocks/commerce/index.js +7 -7
  111. package/dist/blocks/commissions/index.d.ts +1 -1
  112. package/dist/blocks/commissions/index.js +11 -11
  113. package/dist/blocks/compliance/index.d.ts +1 -1
  114. package/dist/blocks/compliance/index.js +11 -11
  115. package/dist/blocks/connectors/index.d.ts +1 -1
  116. package/dist/blocks/connectors/index.js +11 -11
  117. package/dist/blocks/consents/index.d.ts +2 -2
  118. package/dist/blocks/consents/index.js +2 -2
  119. package/dist/blocks/contacts/index.d.ts +2 -2
  120. package/dist/blocks/contacts/index.js +2 -2
  121. package/dist/blocks/content/index.d.ts +2 -2
  122. package/dist/blocks/content/index.js +2 -2
  123. package/dist/blocks/contracts/index.d.ts +1 -1
  124. package/dist/blocks/contracts/index.js +12 -12
  125. package/dist/blocks/courses/index.d.ts +3 -3
  126. package/dist/blocks/courses/index.js +2 -2
  127. package/dist/blocks/created-by/index.d.ts +2 -2
  128. package/dist/blocks/created-by/index.js +2 -2
  129. package/dist/blocks/crm/index.d.ts +17 -17
  130. package/dist/blocks/crm/index.js +19 -19
  131. package/dist/blocks/custom-fields/index.d.ts +1 -1
  132. package/dist/blocks/custom-fields/index.js +11 -11
  133. package/dist/blocks/dam/index.d.ts +2 -2
  134. package/dist/blocks/dam/index.js +11 -11
  135. package/dist/blocks/data-lifecycle/index.d.ts +2 -2
  136. package/dist/blocks/data-lifecycle/index.js +1 -1
  137. package/dist/blocks/deals/index.d.ts +1 -1
  138. package/dist/blocks/deals/index.js +2 -2
  139. package/dist/blocks/dispatch/index.d.ts +2 -2
  140. package/dist/blocks/dispatch/index.js +2 -2
  141. package/dist/blocks/document-templates/index.d.ts +1 -1
  142. package/dist/blocks/document-templates/index.js +10 -10
  143. package/dist/blocks/documents/index.d.ts +1 -1
  144. package/dist/blocks/documents/index.js +9 -9
  145. package/dist/blocks/domains/index.d.ts +1 -1
  146. package/dist/blocks/domains/index.js +10 -10
  147. package/dist/blocks/donations/index.d.ts +1 -1
  148. package/dist/blocks/donations/index.js +12 -12
  149. package/dist/blocks/drive/index.d.ts +5 -5
  150. package/dist/blocks/drive/index.js +4 -4
  151. package/dist/blocks/e-prescribing/index.d.ts +1 -1
  152. package/dist/blocks/e-prescribing/index.js +11 -11
  153. package/dist/blocks/employees/index.d.ts +1 -1
  154. package/dist/blocks/employees/index.js +2 -2
  155. package/dist/blocks/enrichment/index.d.ts +1 -1
  156. package/dist/blocks/enrichment/index.js +2 -2
  157. package/dist/blocks/enrollments/index.d.ts +2 -2
  158. package/dist/blocks/enrollments/index.js +2 -2
  159. package/dist/blocks/entitlements/index.d.ts +3 -3
  160. package/dist/blocks/entitlements/index.js +2 -2
  161. package/dist/blocks/events/index.d.ts +3 -3
  162. package/dist/blocks/events/index.js +5 -5
  163. package/dist/blocks/expenses/index.d.ts +1 -1
  164. package/dist/blocks/expenses/index.js +18 -18
  165. package/dist/blocks/field-history/index.d.ts +1 -1
  166. package/dist/blocks/field-history/index.js +2 -2
  167. package/dist/blocks/filespace/index.d.ts +8 -8
  168. package/dist/blocks/filespace/index.js +9 -9
  169. package/dist/blocks/finance/index.d.ts +5 -5
  170. package/dist/blocks/finance/index.js +7 -7
  171. package/dist/blocks/flags/index.d.ts +1 -1
  172. package/dist/blocks/flags/index.js +9 -9
  173. package/dist/blocks/forecasts/index.d.ts +1 -1
  174. package/dist/blocks/forecasts/index.js +2 -2
  175. package/dist/blocks/forms/index.d.ts +3 -3
  176. package/dist/blocks/forms/index.js +1 -1
  177. package/dist/blocks/funding/index.d.ts +2 -2
  178. package/dist/blocks/funding/index.js +2 -2
  179. package/dist/blocks/goals/index.d.ts +1 -1
  180. package/dist/blocks/goals/index.js +2 -2
  181. package/dist/blocks/governance/index.d.ts +4 -4
  182. package/dist/blocks/governance/index.js +6 -6
  183. package/dist/blocks/guests/index.d.ts +1 -1
  184. package/dist/blocks/guests/index.js +2 -2
  185. package/dist/blocks/hiring/index.d.ts +1 -1
  186. package/dist/blocks/hiring/index.js +2 -2
  187. package/dist/blocks/identities/index.d.ts +1 -1
  188. package/dist/blocks/identities/index.js +3 -3
  189. package/dist/blocks/imports/index.d.ts +2 -2
  190. package/dist/blocks/imports/index.js +8 -8
  191. package/dist/blocks/inbox/index.d.ts +6 -6
  192. package/dist/blocks/inbox/index.js +1 -1
  193. package/dist/blocks/incidents/index.d.ts +1 -1
  194. package/dist/blocks/incidents/index.js +12 -12
  195. package/dist/blocks/index.d.ts +6 -6
  196. package/dist/blocks/index.js +8 -7
  197. package/dist/blocks/inspections/index.d.ts +2 -2
  198. package/dist/blocks/inspections/index.js +19 -19
  199. package/dist/blocks/inventory/index.d.ts +1 -1
  200. package/dist/blocks/inventory/index.js +2 -2
  201. package/dist/blocks/invoices/index.d.ts +1 -1
  202. package/dist/blocks/invoices/index.js +2 -2
  203. package/dist/blocks/knowledge/index.d.ts +1 -1
  204. package/dist/blocks/knowledge/index.js +2 -2
  205. package/dist/blocks/lead-scoring/index.d.ts +2 -2
  206. package/dist/blocks/lead-scoring/index.js +2 -2
  207. package/dist/blocks/learning/index.d.ts +3 -3
  208. package/dist/blocks/learning/index.js +5 -5
  209. package/dist/blocks/leases/index.d.ts +1 -1
  210. package/dist/blocks/leases/index.js +11 -11
  211. package/dist/blocks/leave/index.d.ts +1 -1
  212. package/dist/blocks/leave/index.js +2 -2
  213. package/dist/blocks/ledger/index.d.ts +1 -1
  214. package/dist/blocks/ledger/index.js +12 -12
  215. package/dist/blocks/legal-entities/index.d.ts +2 -2
  216. package/dist/blocks/legal-entities/index.js +7 -7
  217. package/dist/blocks/lims/index.d.ts +2 -2
  218. package/dist/blocks/lims/index.js +14 -14
  219. package/dist/blocks/mail-sync/index.d.ts +3 -3
  220. package/dist/blocks/mail-sync/index.js +2 -2
  221. package/dist/blocks/maintenance/index.d.ts +2 -2
  222. package/dist/blocks/maintenance/index.js +2 -2
  223. package/dist/blocks/manufacturing/index.d.ts +2 -2
  224. package/dist/blocks/manufacturing/index.js +9 -9
  225. package/dist/blocks/medications/index.d.ts +1 -1
  226. package/dist/blocks/medications/index.js +2 -2
  227. package/dist/blocks/meetings/index.d.ts +3 -3
  228. package/dist/blocks/meetings/index.js +2 -2
  229. package/dist/blocks/memberships/index.d.ts +2 -2
  230. package/dist/blocks/memberships/index.js +2 -2
  231. package/dist/blocks/memory/index.d.ts +1 -1
  232. package/dist/blocks/memory/index.js +4 -4
  233. package/dist/blocks/messaging/index.d.ts +5 -5
  234. package/dist/blocks/messaging/index.js +14 -14
  235. package/dist/blocks/metrics/index.d.ts +1 -1
  236. package/dist/blocks/metrics/index.js +3 -3
  237. package/dist/blocks/mfa/index.d.ts +2 -2
  238. package/dist/blocks/mfa/index.js +3 -3
  239. package/dist/blocks/moderation/index.d.ts +2 -2
  240. package/dist/blocks/moderation/index.js +14 -14
  241. package/dist/blocks/notifications/index.d.ts +5 -5
  242. package/dist/blocks/notifications/index.js +2 -2
  243. package/dist/blocks/numbering/index.d.ts +1 -1
  244. package/dist/blocks/numbering/index.js +1 -1
  245. package/dist/blocks/oauth-server/index.d.ts +1 -1
  246. package/dist/blocks/oauth-server/index.js +9 -9
  247. package/dist/blocks/observations/index.d.ts +2 -2
  248. package/dist/blocks/observations/index.js +2 -2
  249. package/dist/blocks/onboarding/index.d.ts +2 -2
  250. package/dist/blocks/onboarding/index.js +1 -1
  251. package/dist/blocks/orders/index.d.ts +1 -1
  252. package/dist/blocks/orders/index.js +2 -2
  253. package/dist/blocks/organizations/index.d.ts +2 -2
  254. package/dist/blocks/organizations/index.js +3 -3
  255. package/dist/blocks/outbox/index.d.ts +1 -1
  256. package/dist/blocks/outbox/index.js +1 -1
  257. package/dist/blocks/passes/index.d.ts +2 -2
  258. package/dist/blocks/passes/index.js +2 -2
  259. package/dist/blocks/payroll-export/index.d.ts +2 -2
  260. package/dist/blocks/payroll-export/index.js +2 -2
  261. package/dist/blocks/people/index.d.ts +7 -7
  262. package/dist/blocks/people/index.js +9 -9
  263. package/dist/blocks/periods/index.d.ts +1 -1
  264. package/dist/blocks/periods/index.js +9 -9
  265. package/dist/blocks/permissions/index.d.ts +3 -3
  266. package/dist/blocks/permissions/index.js +3 -3
  267. package/dist/blocks/pipelines/index.d.ts +1 -1
  268. package/dist/blocks/pipelines/index.js +2 -2
  269. package/dist/blocks/posts/index.d.ts +2 -2
  270. package/dist/blocks/posts/index.js +13 -13
  271. package/dist/blocks/procurement/index.d.ts +5 -5
  272. package/dist/blocks/procurement/index.js +7 -7
  273. package/dist/blocks/profiles/index.d.ts +1 -1
  274. package/dist/blocks/profiles/index.js +2 -2
  275. package/dist/blocks/projects/index.d.ts +7 -7
  276. package/dist/blocks/projects/index.js +9 -9
  277. package/dist/blocks/promotions/index.d.ts +1 -1
  278. package/dist/blocks/promotions/index.js +2 -2
  279. package/dist/blocks/prompts/index.d.ts +1 -1
  280. package/dist/blocks/prompts/index.js +3 -3
  281. package/dist/blocks/push/index.d.ts +2 -2
  282. package/dist/blocks/push/index.js +7 -7
  283. package/dist/blocks/qualifications/index.d.ts +2 -2
  284. package/dist/blocks/qualifications/index.js +2 -2
  285. package/dist/blocks/queue/index.d.ts +2 -2
  286. package/dist/blocks/queue/index.js +2 -2
  287. package/dist/blocks/quotes/index.d.ts +1 -1
  288. package/dist/blocks/quotes/index.js +2 -2
  289. package/dist/blocks/rank/index.d.ts +1 -1
  290. package/dist/blocks/rank/index.js +3 -3
  291. package/dist/blocks/reactions/index.d.ts +4 -4
  292. package/dist/blocks/reactions/index.js +1 -1
  293. package/dist/blocks/recruiting/index.d.ts +4 -4
  294. package/dist/blocks/recruiting/index.js +6 -6
  295. package/dist/blocks/referrals/index.d.ts +1 -1
  296. package/dist/blocks/referrals/index.js +10 -10
  297. package/dist/blocks/relations/index.d.ts +1 -1
  298. package/dist/blocks/relations/index.js +8 -8
  299. package/dist/blocks/reminders/index.d.ts +1 -1
  300. package/dist/blocks/reminders/index.js +1 -1
  301. package/dist/blocks/reviews/index.d.ts +1 -1
  302. package/dist/blocks/reviews/index.js +10 -10
  303. package/dist/blocks/rfqs/index.d.ts +2 -2
  304. package/dist/blocks/rfqs/index.js +2 -2
  305. package/dist/blocks/risks/index.d.ts +2 -2
  306. package/dist/blocks/risks/index.js +14 -14
  307. package/dist/blocks/saas/index.d.ts +13 -13
  308. package/dist/blocks/saas/index.js +14 -14
  309. package/dist/blocks/sales/index.d.ts +1 -1
  310. package/dist/blocks/sales/index.js +1 -1
  311. package/dist/blocks/saved-views/index.d.ts +3 -3
  312. package/dist/blocks/saved-views/index.js +8 -8
  313. package/dist/blocks/scheduling/index.d.ts +4 -4
  314. package/dist/blocks/scheduling/index.js +6 -6
  315. package/dist/blocks/scores/index.d.ts +2 -2
  316. package/dist/blocks/scores/index.js +10 -10
  317. package/dist/blocks/search/index.d.ts +3 -3
  318. package/dist/blocks/search/index.js +1 -1
  319. package/dist/blocks/security-events/index.d.ts +1 -1
  320. package/dist/blocks/security-events/index.js +8 -8
  321. package/dist/blocks/segments/index.d.ts +2 -2
  322. package/dist/blocks/segments/index.js +2 -2
  323. package/dist/blocks/sequences/index.d.ts +3 -3
  324. package/dist/blocks/sequences/index.js +2 -2
  325. package/dist/blocks/service/index.d.ts +7 -7
  326. package/dist/blocks/service/index.js +9 -9
  327. package/dist/blocks/service-accounts/index.d.ts +1 -1
  328. package/dist/blocks/service-accounts/index.js +8 -8
  329. package/dist/blocks/sessions/index.d.ts +2 -2
  330. package/dist/blocks/sessions/index.js +4 -4
  331. package/dist/blocks/settings/index.d.ts +2 -2
  332. package/dist/blocks/settings/index.js +2 -2
  333. package/dist/blocks/share-links/index.d.ts +1 -1
  334. package/dist/blocks/share-links/index.js +1 -1
  335. package/dist/blocks/shifts/index.d.ts +2 -2
  336. package/dist/blocks/shifts/index.js +2 -2
  337. package/dist/blocks/shipments/index.d.ts +2 -2
  338. package/dist/blocks/shipments/index.js +10 -10
  339. package/dist/blocks/signatures/index.d.ts +2 -2
  340. package/dist/blocks/signatures/index.js +1 -1
  341. package/dist/blocks/signing-keys/index.d.ts +1 -1
  342. package/dist/blocks/signing-keys/index.js +7 -7
  343. package/dist/blocks/sla/index.d.ts +1 -1
  344. package/dist/blocks/sla/index.js +2 -2
  345. package/dist/blocks/sso/index.d.ts +2 -2
  346. package/dist/blocks/sso/index.js +20 -20
  347. package/dist/blocks/state-machine/index.d.ts +1 -1
  348. package/dist/blocks/state-machine/index.js +1 -1
  349. package/dist/blocks/subjects/index.d.ts +2 -2
  350. package/dist/blocks/subjects/index.js +1 -1
  351. package/dist/blocks/support/index.d.ts +5 -5
  352. package/dist/blocks/support/index.js +7 -7
  353. package/dist/blocks/tags/index.d.ts +2 -2
  354. package/dist/blocks/tags/index.js +1 -1
  355. package/dist/blocks/tasks/index.d.ts +2 -2
  356. package/dist/blocks/tasks/index.js +2 -2
  357. package/dist/blocks/tax/index.d.ts +2 -2
  358. package/dist/blocks/tax/index.js +2 -2
  359. package/dist/blocks/teams/index.d.ts +1 -1
  360. package/dist/blocks/teams/index.js +1 -1
  361. package/dist/blocks/templates/index.d.ts +1 -1
  362. package/dist/blocks/templates/index.js +7 -7
  363. package/dist/blocks/tills/index.d.ts +1 -1
  364. package/dist/blocks/tills/index.js +12 -12
  365. package/dist/blocks/time-tracking/index.d.ts +2 -2
  366. package/dist/blocks/time-tracking/index.js +1 -1
  367. package/dist/blocks/timeline/index.d.ts +1 -1
  368. package/dist/blocks/timeline/index.js +1 -1
  369. package/dist/blocks/trash/index.d.ts +1 -1
  370. package/dist/blocks/trash/index.js +1 -1
  371. package/dist/blocks/undo/index.d.ts +2 -2
  372. package/dist/blocks/undo/index.js +3 -3
  373. package/dist/blocks/updated-at/index.d.ts +2 -2
  374. package/dist/blocks/updated-at/index.js +2 -2
  375. package/dist/blocks/usage/index.d.ts +2 -2
  376. package/dist/blocks/usage/index.js +3 -3
  377. package/dist/blocks/vercel-marketplace/index.d.ts +1 -1
  378. package/dist/blocks/vercel-marketplace/index.js +9 -9
  379. package/dist/blocks/versions/index.d.ts +1 -1
  380. package/dist/blocks/versions/index.js +1 -1
  381. package/dist/blocks/waitlist/index.d.ts +1 -1
  382. package/dist/blocks/waitlist/index.js +10 -10
  383. package/dist/blocks/warehouse/index.d.ts +1 -1
  384. package/dist/blocks/warehouse/index.js +12 -12
  385. package/dist/blocks/webhooks/index.d.ts +2 -2
  386. package/dist/blocks/webhooks/index.js +19 -19
  387. package/dist/blocks/workflow-editor/index.d.ts +4 -4
  388. package/dist/blocks/workflow-editor/index.js +7 -7
  389. package/dist/blocks/workflows/index.d.ts +4 -4
  390. package/dist/blocks/workflows/index.js +8 -8
  391. package/dist/{blocks-C_ArClZU.d.ts → blocks-EFj0duwB.d.ts} +18 -5
  392. package/dist/{build-k56UjnbK.js → build-OCuu29wd.js} +1 -0
  393. package/dist/{cache-tags-JJWT0mkn.d.ts → cache-tags-TT8h2zMg.d.ts} +1 -1
  394. package/dist/claims/index.d.ts +3 -3
  395. package/dist/cli/{account-CBDO_E5S.js → account-C1vKOJOX.js} +1 -1
  396. package/dist/cli/{account-D7bjOpRN.js → account-MSvhufSp.js} +1 -1
  397. package/dist/cli/{add-7mEozwbY.js → add-C3yGPSQS.js} +14 -14
  398. package/dist/cli/add-C4B2wdfz.js +1 -0
  399. package/dist/cli/{add-Cn03PJzF.js → add-DlucpPCL.js} +4 -4
  400. package/dist/cli/{app-table-files-C50U5rM-.js → app-table-files-CC5n8Si8.js} +4 -4
  401. package/dist/cli/{app-tables-CvY1qzV7.js → app-tables-C-Rk_GnI.js} +3 -3
  402. package/dist/cli/{authorization-DJkkOjjG.js → authorization-DAYgx04b.js} +3 -1
  403. package/dist/cli/{automations-Mx4gbtJf.js → automations-0G37FqXw.js} +1 -1
  404. package/dist/cli/{backfill-D8xu2ME9.js → backfill-DbqA8coR.js} +4 -4
  405. package/dist/cli/bin.js +1 -1
  406. package/dist/cli/{blocks-C-bZ2mX9.js → blocks-BBBpNbQD.js} +1 -1
  407. package/dist/cli/{blocks-CFYBoQVe.js → blocks-BFlOktiM.js} +3 -3
  408. package/dist/cli/{cache-vvJW9h-r.js → cache-BgNWPD9a.js} +1 -1
  409. package/dist/cli/{codemod-CR3I3yN9.js → codemod-B4DpCiqX.js} +34 -4
  410. package/dist/cli/{command-CJomeJg-.js → command-CLvgELKk.js} +6 -0
  411. package/dist/cli/{completion-BbBXWoj-.js → completion-BrARDcFB.js} +1 -1
  412. package/dist/cli/{completion-CxG9ycKP.js → completion-CifzoO8f.js} +2 -2
  413. package/dist/cli/{completion-CN2g0Fy_.js → completion-Q1M-cdP-.js} +2 -2
  414. package/dist/cli/{config-CP9zs7sG.js → config-COfXd-G3.js} +1 -1
  415. package/dist/cli/{config-C0aclGpw.js → config-FN5Cp861.js} +30 -5
  416. package/dist/cli/{config-BxiYiAN6.js → config-U32Vo0h6.js} +1 -1
  417. package/dist/cli/{content-mapper-BPtXLD3N.js → content-mapper-BaJhpTQA.js} +2 -2
  418. package/dist/cli/{db-kIWj4SJu.js → db-T8u160uM.js} +3 -3
  419. package/dist/cli/{doctor-0vyTC81z.js → doctor-Dnq5J_p_.js} +293 -103
  420. package/dist/cli/env-BMQqBhS_.js +1 -0
  421. package/dist/cli/{env-D8ndoCoC.js → env-G6fCEgJi.js} +1 -1
  422. package/dist/cli/{gen-CxJYiySd.js → gen-Bf9cVgpR.js} +16 -16
  423. package/dist/cli/index.d.ts +18 -1
  424. package/dist/cli/index.js +9 -9
  425. package/dist/cli/{init-CHBWJGSc.js → init-_IFg5fe6.js} +11 -11
  426. package/dist/cli/{keys-DjNcartA.js → keys-BnVLA3NK.js} +1 -1
  427. package/dist/cli/{live-De6AKObd.js → live-pq1yvvsl.js} +2 -2
  428. package/dist/cli/{mcp-Bw7PKU4b.js → mcp-YD0Ap6ok.js} +3 -3
  429. package/dist/cli/{metadata-BRrfdS8c.js → metadata-CfauXPW0.js} +3 -3
  430. package/dist/cli/{migrate-CR7e0qjQ.js → migrate-DWCu2Nny.js} +2 -2
  431. package/dist/cli/{migration-safety-Cy-T3xws.js → migration-safety-rjlsDMDU.js} +3 -3
  432. package/dist/cli/{migrations-C6DXXH2j.js → migrations-BRCqeu8k.js} +2 -2
  433. package/dist/cli/{module-migration-B-VqMxE-.js → module-migration-BpptcXiB.js} +2 -2
  434. package/dist/cli/{moved-CC2yanOJ.js → moved-B_XzRpRE.js} +1 -1
  435. package/dist/cli/{parse-BaW3_Itq.js → parse-BwGYCpEv.js} +1 -1
  436. package/dist/cli/powersync-BejxIowk.js +1 -0
  437. package/dist/cli/{powersync-CK8AR-WC.js → powersync-DsbJBuTR.js} +4 -4
  438. package/dist/cli/{print-DnZdC-oy.js → print-A9UGTj_t.js} +2 -2
  439. package/dist/cli/{providers-WCZgGeBy.js → providers-MlTm8nMs.js} +2 -2
  440. package/dist/cli/{prune-workflows-B69exaiW.js → prune-workflows-B6sqjrR0.js} +4 -4
  441. package/dist/cli/{remove-8f3luaAm.js → remove-BpY-E_l4.js} +8 -8
  442. package/dist/cli/{render-CZw4nKPe.js → render-8qD7j0se.js} +173 -64
  443. package/dist/cli/{run-BEKT_kd3.js → run-CAvLtfJG.js} +2 -2
  444. package/dist/cli/{run-R1XanA6K.js → run-DHRA46qf.js} +53 -52
  445. package/dist/cli/{run-C7VeseCS.js → run-Dl1TZGsM.js} +45 -11
  446. package/dist/cli/{seed-Q0D1Vr2S.js → seed-BgpovbwF.js} +4 -4
  447. package/dist/cli/seed-CRD1tYPA.js +1 -0
  448. package/dist/cli/{shared-B4Lw35PY.js → shared-B77Q9x0E.js} +1 -1
  449. package/dist/cli/{skills-BGn6lqa3.js → skills-aC7X7bhq.js} +1 -1
  450. package/dist/cli/{snapshot-Cj8BlMTz.js → snapshot-_roTbSZM.js} +26 -5
  451. package/dist/cli/{source-D1s75o6g.js → source-BseR3sy9.js} +1 -1
  452. package/dist/cli/{source-args-B3Po6qsn.js → source-args-DC8snM7e.js} +1 -1
  453. package/dist/cli/{spec-L6nabkxl.js → spec-Ct3i4drt.js} +3 -3
  454. package/dist/cli/{spec-CvKK1F-_.js → spec-n6QRlBOJ.js} +1 -1
  455. package/dist/cli/{sql-layout-D2H2DL4t.js → sql-layout-D_fJsw3B.js} +11 -4
  456. package/dist/cli/{stack-DzA4tS9O.js → stack-DINh7KWu.js} +1 -1
  457. package/dist/cli/{sync-6b06cM1c.js → sync-DqBQi0QQ.js} +6 -6
  458. package/dist/cli/{table-CSiri9RG.js → table-Cup45iWj.js} +1 -1
  459. package/dist/cli/{upgrade-C91Jw5xZ.js → upgrade-MRqrFaO1.js} +3 -3
  460. package/dist/cli/{upgrade-c7oPXvNG.js → upgrade-y3Iv4wl8.js} +5 -5
  461. package/dist/cli/{version-_XjqP_ML.js → version-CiE6Pt0K.js} +1 -1
  462. package/dist/client/index.d.ts +5 -5
  463. package/dist/client/index.js +1 -1
  464. package/dist/client/native/index.d.ts +4 -4
  465. package/dist/client/native/index.js +1 -1
  466. package/dist/{composite-DuN-BnSc.js → composite-CgxTMZTK.js} +1 -1
  467. package/dist/{composite-B3L12SH4.d.ts → composite-CvlcYj8Y.d.ts} +4 -4
  468. package/dist/{composite-reads-MV2aCxBz.js → composite-reads-B99Cfmcf.js} +1 -1
  469. package/dist/{composite-reads-BIUJE_Rs.d.ts → composite-reads-CEI-IJ5A.d.ts} +1 -1
  470. package/dist/config/index.d.ts +5 -5
  471. package/dist/config/index.js +4 -4
  472. package/dist/{config-BOc24DLJ.js → config-B1m2PpjB.js} +1 -1
  473. package/dist/{config-7TP5XUaX.js → config-BWYT86yp.js} +3 -3
  474. package/dist/{context-DyXTQUb_.d.ts → context-DcHcHc2b.d.ts} +38 -4
  475. package/dist/contract/index.d.ts +6 -6
  476. package/dist/{controller-BHEUaOKo.d.ts → controller-BrTPi8Po.d.ts} +1 -1
  477. package/dist/{controller-o6DleXLi.js → controller-DvihM19C.js} +1 -1
  478. package/dist/{conversion-BBIeUsfd.d.ts → conversion-t1F0y--Y.d.ts} +1 -1
  479. package/dist/{copy-DurB738g.js → copy-DJBlRqH6.js} +1 -1
  480. package/dist/create/index.d.ts +4 -4
  481. package/dist/create/index.js +3 -3
  482. package/dist/create/lite/index.d.ts +19 -2
  483. package/dist/create/lite/index.js +55 -3
  484. package/dist/{create-blocks-C6Ty49vp.js → create-blocks-CkhSm4iX.js} +117 -5
  485. package/dist/credentials/index.js +4 -4
  486. package/dist/{db-blocks-CFqt-e4_.d.ts → db-blocks-Dp-4qbYN.d.ts} +18 -0
  487. package/dist/{define-C2OUEXIf.js → define-UhyrfLYX.js} +147 -100
  488. package/dist/{define-block-DHOCtKKS.d.ts → define-block-B2um61Uj.d.ts} +65 -6
  489. package/dist/{define-block-DyZiZQrx.js → define-block-D3uNVp2k.js} +1 -0
  490. package/dist/{drive-C2o3Xx_i.d.ts → drive-BSp7gloI.d.ts} +1 -1
  491. package/dist/edge/index.d.ts +5 -5
  492. package/dist/edge/index.js +3 -3
  493. package/dist/{embeddings-yvAeg_C7.js → embeddings-BamT6vln.js} +1 -1
  494. package/dist/{entitlements-Ckadglcj.js → entitlements-B2rEDiKh.js} +1 -1
  495. package/dist/{entitlements-DIVgwFPk.d.ts → entitlements-DuNBTDsH.d.ts} +1 -1
  496. package/dist/error-kind-Bkmljt19.js +40 -0
  497. package/dist/eve/index.js +1 -1
  498. package/dist/{event-map-DxfsFgQT.js → event-map-DLajpFiJ.js} +2 -0
  499. package/dist/events/index.js +1 -1
  500. package/dist/events-CCw0FE_F.js +25 -0
  501. package/dist/{executor-BN24zqcr.js → executor-Bed-RLhP.js} +3 -3
  502. package/dist/{executor-CTiacxbx.js → executor-DhQDDIqq.js} +1 -1
  503. package/dist/{executor-ClpWppJK.d.ts → executor-RNhfR91D.d.ts} +2 -2
  504. package/dist/expo/index.d.ts +2 -2
  505. package/dist/expo/index.js +2 -2
  506. package/dist/{extract-CrOX8i1t.d.ts → extract-DvU_lPRQ.d.ts} +1 -1
  507. package/dist/{field-errors-B9cPS36j.d.ts → field-errors-Mo8dzoyA.d.ts} +6 -6
  508. package/dist/{framework-GAR2no7D.js → framework-BfP8NwDY.js} +1 -1
  509. package/dist/{framework-G-kFZ_Zu.d.ts → framework-BoDTo47q.d.ts} +3 -3
  510. package/dist/hono/index.d.ts +4 -4
  511. package/dist/hono/index.js +2 -2
  512. package/dist/{index-OXEh0xet.d.ts → index-46Mwoxp8.d.ts} +4 -4
  513. package/dist/{index-70sHeLK0.d.ts → index-B2zDRJMB.d.ts} +1 -1
  514. package/dist/{index-Cq91CC2i.d.ts → index-BDEwjrNn.d.ts} +1 -1
  515. package/dist/{index-Bh-mcFvM.d.ts → index-BFw-iTQT.d.ts} +1 -1
  516. package/dist/{index-DS1cREWV.d.ts → index-BGje-MeF.d.ts} +1 -1
  517. package/dist/{index-C9rUCq13.d.ts → index-BLRLF6iG.d.ts} +1 -1
  518. package/dist/{index-WdVPDjby.d.ts → index-BLpP1czF.d.ts} +1 -1
  519. package/dist/{index-CekZhXD2.d.ts → index-BMt0EVnl.d.ts} +1 -1
  520. package/dist/{index-DX0AQN4S.d.ts → index-BPz1IGUB.d.ts} +1 -1
  521. package/dist/{index-Cu7TSSiT.d.ts → index-Bdd-8C1P.d.ts} +2 -2
  522. package/dist/{index-xaSPPgB7.d.ts → index-BpCBGOVF.d.ts} +3 -3
  523. package/dist/{index-Bl44eUq9.d.ts → index-Bxu7m8vw.d.ts} +1 -1
  524. package/dist/{index--qIecGmt.d.ts → index-C2ilfaOF.d.ts} +1 -1
  525. package/dist/{index-A9U5y90N.d.ts → index-C3pOr989.d.ts} +1 -1
  526. package/dist/{index-Rj_9oAEO.d.ts → index-C8-8-t1s.d.ts} +2 -2
  527. package/dist/{index-Dfm7cQdw.d.ts → index-CNNGDSxy.d.ts} +2 -2
  528. package/dist/{index--qWRLdDu.d.ts → index-CV7Ibpek.d.ts} +1 -1
  529. package/dist/{index-Bo_5VFCD.d.ts → index-C_Ilif3i.d.ts} +1 -1
  530. package/dist/{index-DOPaoauk.d.ts → index-CaMHCzBp.d.ts} +1 -1
  531. package/dist/{index-XhmH0QFF.d.ts → index-CnQ27iFg.d.ts} +2 -2
  532. package/dist/{index-DGPYJUsm.d.ts → index-DLKMzlbR.d.ts} +1 -1
  533. package/dist/{index-Csx1g10j.d.ts → index-DNdYTori.d.ts} +2 -2
  534. package/dist/{index-DXlGFVDA.d.ts → index-DTqpt8XQ.d.ts} +1 -1
  535. package/dist/{index-C0MuI4v1.d.ts → index-DaClvzRy.d.ts} +4 -4
  536. package/dist/{index-CVOgOU3Z.d.ts → index-DfuF_8Ph.d.ts} +1 -1
  537. package/dist/{index-DL-X_e7F.d.ts → index-Dndo_is2.d.ts} +6 -5
  538. package/dist/{index-DxRrnBQR.d.ts → index-ISihFGu9.d.ts} +7 -7
  539. package/dist/{index-Cq6sRJPI.d.ts → index-OHQg8Sdx.d.ts} +3 -3
  540. package/dist/{index-BU5ifSPf.d.ts → index-PeaYXjhx.d.ts} +1 -1
  541. package/dist/{index-AAC2eWs-.d.ts → index-TNNEpcgG.d.ts} +4 -4
  542. package/dist/{index-Bksw5AoY.d.ts → index-Xsu3egx_.d.ts} +20 -9
  543. package/dist/{index-CUS-3XG1.d.ts → index-YgUHItkp.d.ts} +1 -1
  544. package/dist/{index-DERMRibg.d.ts → index-Zf3t4MuL.d.ts} +17 -10
  545. package/dist/{index-BKsK1OFh.d.ts → index-bOWESOEm.d.ts} +2 -2
  546. package/dist/{index-CqtV72-L.d.ts → index-kKkGf0_-.d.ts} +3 -3
  547. package/dist/{index-BFCUcLda.d.ts → index-s1IQy8sK.d.ts} +2 -2
  548. package/dist/{index-3QwzddR3.d.ts → index-xA8WHuDE.d.ts} +4 -4
  549. package/dist/index.d.ts +1 -1
  550. package/dist/index.js +5 -5
  551. package/dist/{instances-B3gBKh8G.js → instances-CFXFHQMK.js} +2 -1
  552. package/dist/{knowledge-CJhz_QTb.js → knowledge-5Qz_NTXw.js} +1 -1
  553. package/dist/list/index.d.ts +1 -1
  554. package/dist/{list-query-yg-W4BlQ.d.ts → list-query-CREBmVkm.d.ts} +1 -1
  555. package/dist/{manifest-BoOhT_Sh.d.ts → manifest-09aHVu5Q.d.ts} +1 -1
  556. package/dist/{manifest-CnyT7c1s.d.ts → manifest-0PeNUYcv.d.ts} +1 -1
  557. package/dist/{manifest-Q9_hEoaz.js → manifest-0UcJEkVv.js} +10 -10
  558. package/dist/{manifest-C6Tpng5m.js → manifest-5f_9qQnw.js} +9 -9
  559. package/dist/{manifest-CVL8uWZM.js → manifest-8oyDNj1x.js} +10 -10
  560. package/dist/{manifest-BGfX8wev.js → manifest-B-GhBRkt.js} +10 -10
  561. package/dist/{manifest-Dy1YssHm.js → manifest-B-LuM8VG.js} +7 -7
  562. package/dist/{manifest-Btbo698t.js → manifest-B-wRV_0N.js} +13 -13
  563. package/dist/{manifest-DGWojJC1.js → manifest-B1CzCbIE.js} +13 -13
  564. package/dist/{manifest-DDd8ppp7.d.ts → manifest-B3RgCccj.d.ts} +1 -1
  565. package/dist/{manifest-vUGVlXLh.d.ts → manifest-B3YkuXKR.d.ts} +1 -1
  566. package/dist/{manifest-H9u744d9.js → manifest-B3b2Y84h.js} +3 -3
  567. package/dist/{manifest-3bD3TaDt.d.ts → manifest-B3xj3-ew.d.ts} +1 -1
  568. package/dist/{manifest-BO4rlrML.d.ts → manifest-B4HXWUh8.d.ts} +1 -1
  569. package/dist/{manifest-CAwbcrJO.d.ts → manifest-B5vPAt-u.d.ts} +1 -1
  570. package/dist/{manifest-xoePLm1M.js → manifest-B7-Numjr.js} +13 -13
  571. package/dist/{manifest-Cc3wO1KI.js → manifest-BEeu_r4Y.js} +3 -3
  572. package/dist/{manifest-urrijhoM.d.ts → manifest-BFXybbMn.d.ts} +1 -1
  573. package/dist/{manifest-BY60j47w.js → manifest-BHAaE8V8.js} +5 -5
  574. package/dist/{manifest-D-Cq1TTO.js → manifest-BKJXc9sY.js} +3 -3
  575. package/dist/{manifest-D3sWX05O.d.ts → manifest-BLOufikB.d.ts} +1 -1
  576. package/dist/{manifest-D_wDGSVQ.js → manifest-BNT_WDkt.js} +5 -5
  577. package/dist/{manifest-N4AW74PT.js → manifest-BQhSqR4D.js} +14 -14
  578. package/dist/{manifest-Bc10Mthq.js → manifest-BRFen7mE.js} +31 -31
  579. package/dist/{manifest-CS9W2n9y.js → manifest-BSaRwzEH.js} +12 -12
  580. package/dist/{manifest-BvTS58t8.js → manifest-BUktyXMR.js} +22 -22
  581. package/dist/{manifest-BHthvzO5.d.ts → manifest-BUrKk2Ww.d.ts} +1 -1
  582. package/dist/{manifest-BhL35Pr2.js → manifest-BVAHowRk.js} +12 -12
  583. package/dist/{manifest-gA_niypr.js → manifest-BWh9leJI.js} +8 -8
  584. package/dist/{manifest-DKZEyfK6.js → manifest-BXN6WKgs.js} +3 -3
  585. package/dist/{manifest-Cds0y0r4.d.ts → manifest-BYUIgwGb.d.ts} +1 -1
  586. package/dist/{manifest-B4E33DXF.d.ts → manifest-Bc_2t9mY.d.ts} +1 -1
  587. package/dist/{manifest-CQOdY5Cc.d.ts → manifest-BdcBkznK.d.ts} +1 -1
  588. package/dist/{manifest-CkeHPwD_.d.ts → manifest-Bg1swpdk.d.ts} +1 -1
  589. package/dist/{manifest-DgsbIFLv.js → manifest-BhKkBdlV.js} +11 -11
  590. package/dist/{manifest-D25mxZdE.js → manifest-BnFuyvL7.js} +8 -8
  591. package/dist/{manifest-eUnjSmkX.js → manifest-BnJqvwXA.js} +14 -14
  592. package/dist/{manifest-Cw3Ak4ac.js → manifest-BnmxgXet.js} +4 -4
  593. package/dist/{manifest-S2EhG5Gw.js → manifest-BpAI3Me7.js} +34 -34
  594. package/dist/{manifest-D-D1xDw2.d.ts → manifest-BpiZFLbl.d.ts} +1 -1
  595. package/dist/{manifest-C4oqpEqj.js → manifest-BrkF61-W.js} +8 -8
  596. package/dist/{manifest-Cl13wY3u.d.ts → manifest-BwYOds2o.d.ts} +1 -1
  597. package/dist/{manifest-B2HCw2CH.js → manifest-BwZjGHRu.js} +14 -14
  598. package/dist/{manifest-CiSSfthq.d.ts → manifest-Bwv273Tb.d.ts} +1 -1
  599. package/dist/{manifest-D6jxUviz.js → manifest-C-QxTuzM.js} +3 -3
  600. package/dist/{manifest-CNNWN9Rr.js → manifest-C15_YXQV.js} +3 -3
  601. package/dist/{manifest-C9kzPc3l.d.ts → manifest-C4CIOVkt.d.ts} +2 -2
  602. package/dist/{manifest-cLGmrzgW.js → manifest-C692l8af.js} +12 -12
  603. package/dist/{manifest-C8AENKFu.js → manifest-C8_k9anI.js} +8 -8
  604. package/dist/{manifest-dOdQx0hy.d.ts → manifest-C9Kn7gwK.d.ts} +1 -1
  605. package/dist/{manifest-Dry8RIXq.js → manifest-C9fN2qRW.js} +12 -12
  606. package/dist/{manifest-CM5RhlxN.js → manifest-CBFQeKg6.js} +12 -12
  607. package/dist/{manifest-oZ1s2HoJ.d.ts → manifest-CDK8R8Ze.d.ts} +1 -1
  608. package/dist/{manifest-Dsi1aOKw.d.ts → manifest-CF-LsgEw.d.ts} +1 -1
  609. package/dist/{manifest-CWnpnTcL.js → manifest-CF92Kiog.js} +3 -3
  610. package/dist/{manifest-B3VjTLRv.d.ts → manifest-CFFaunME.d.ts} +1 -1
  611. package/dist/{manifest-Bgx1ETpN.js → manifest-CMnr9qpi.js} +10 -10
  612. package/dist/{manifest-C3fDS3NG.d.ts → manifest-CNcJxi93.d.ts} +1 -1
  613. package/dist/{manifest-CaKD48WX.d.ts → manifest-COoFT2vY.d.ts} +1 -1
  614. package/dist/{manifest-CMjAfphZ.js → manifest-CQ9I_8q2.js} +8 -8
  615. package/dist/{manifest-Bq11rIm6.js → manifest-CScOn17C.js} +12 -12
  616. package/dist/{manifest-CyMaBCGq.d.ts → manifest-CW47rgqj.d.ts} +1 -1
  617. package/dist/{manifest-DKqcq-LB.d.ts → manifest-C_ZDkBv4.d.ts} +1 -1
  618. package/dist/{manifest-Cg6iafYQ.js → manifest-C__pecuF.js} +14 -14
  619. package/dist/{manifest-DlRpMwfK.d.ts → manifest-CaKVpJZM.d.ts} +1 -1
  620. package/dist/{manifest-Dv8Hfpym.d.ts → manifest-CazVMbdf.d.ts} +1 -1
  621. package/dist/{manifest-DpUGCrdL.d.ts → manifest-Ccn2k0vb.d.ts} +1 -1
  622. package/dist/{manifest-oSaeMiYm.js → manifest-Cg25x0rD.js} +11 -11
  623. package/dist/{manifest-D5AuRrMx.d.ts → manifest-CgCpK4Wm.d.ts} +1 -1
  624. package/dist/{manifest-DqVGGnLa.d.ts → manifest-CgP-MDb3.d.ts} +1 -1
  625. package/dist/{manifest-CBzq9IhS.d.ts → manifest-CiOcPFFy.d.ts} +1 -1
  626. package/dist/{manifest-DsLlJTUa.js → manifest-CmSVpPBS.js} +7 -7
  627. package/dist/{manifest-BQzebb6B.js → manifest-CmquAtQC.js} +8 -8
  628. package/dist/{manifest-BbrSRrrB.js → manifest-CnSZ16xc.js} +3 -3
  629. package/dist/{manifest-BDEAP2_6.d.ts → manifest-Cnb5QGMK.d.ts} +1 -1
  630. package/dist/{manifest-eIWKtbU-.d.ts → manifest-CnkVWwAg.d.ts} +1 -1
  631. package/dist/{manifest-B5JVSm7q.js → manifest-CnlgJJDS.js} +10 -10
  632. package/dist/{manifest-qO6Dn0Rf.js → manifest-D0DK7Gdu.js} +12 -12
  633. package/dist/{manifest-BYIGiQA0.d.ts → manifest-D0KUPw4L.d.ts} +1 -1
  634. package/dist/{manifest-D5bH3Mec.d.ts → manifest-D1-lCZro.d.ts} +1 -1
  635. package/dist/{manifest-BeMK5Uir.js → manifest-D1VrUJOA.js} +5 -5
  636. package/dist/{manifest-C0BV1Dqr.js → manifest-D3LeYpRm.js} +13 -13
  637. package/dist/{manifest-CTjhS3_I.js → manifest-D3To2MLR.js} +6 -6
  638. package/dist/{manifest-3ImEz2CE.js → manifest-D46SY8Og.js} +17 -17
  639. package/dist/{manifest-57rK1ngY.d.ts → manifest-D6ZukDGm.d.ts} +1 -1
  640. package/dist/{manifest-CoGArkb4.js → manifest-D8teMyal.js} +11 -11
  641. package/dist/{manifest-DA8v7QwQ.js → manifest-DAZuHpm2.js} +14 -14
  642. package/dist/{manifest-DFDQCoIR.d.ts → manifest-DBSs1jJ_.d.ts} +1 -1
  643. package/dist/{manifest-DPQ1ECvV.js → manifest-DEx8OSZK.js} +8 -8
  644. package/dist/{manifest-Cs_BBJMk.d.ts → manifest-DF49Pt6Q.d.ts} +1 -1
  645. package/dist/{manifest-nghaYPXC.js → manifest-DFoZF4CI.js} +14 -14
  646. package/dist/{manifest-CTH_3PQ8.js → manifest-DHfYjJMJ.js} +12 -12
  647. package/dist/{manifest-_5YD_7qt.js → manifest-DIC1MsM0.js} +15 -15
  648. package/dist/{manifest-DFhs8tTZ.js → manifest-DKthWXiw.js} +9 -9
  649. package/dist/{manifest-DisFKYTB.js → manifest-DLsq8M80.js} +5 -5
  650. package/dist/{manifest-D7zENukq.d.ts → manifest-DMTmTHBy.d.ts} +1 -1
  651. package/dist/{manifest-t0UobwxV.d.ts → manifest-DQwFCQkG.d.ts} +1 -1
  652. package/dist/{manifest-CXRuupEQ.js → manifest-DWGEzte4.js} +18 -18
  653. package/dist/{manifest-CMwKGDuJ.js → manifest-DWLGd0FS.js} +8 -8
  654. package/dist/{manifest-D9ldgISN.js → manifest-DYpXtqzm.js} +8 -8
  655. package/dist/{manifest-CRrS1eXB.js → manifest-DcI69zyP.js} +12 -12
  656. package/dist/{manifest-DpUU_GQF.d.ts → manifest-Dh3kIEzu.d.ts} +1 -1
  657. package/dist/{manifest-CPGq3poM.js → manifest-DiPqog2j.js} +3 -3
  658. package/dist/{manifest-B0PJg-oT.js → manifest-Dj7bGfoy.js} +11 -11
  659. package/dist/{manifest-BpCVzhPX.js → manifest-DkI--7fx.js} +14 -14
  660. package/dist/{manifest-B2nCtBhS.js → manifest-Dm822kx0.js} +9 -9
  661. package/dist/{manifest-BWuJw7AI.js → manifest-DnSvthaM.js} +10 -10
  662. package/dist/{manifest-CehK0epY.d.ts → manifest-DpoO491p.d.ts} +1 -1
  663. package/dist/{manifest-CVQW9Vcl.js → manifest-DsJukV9d.js} +18 -18
  664. package/dist/{manifest-BYiCfDfW.d.ts → manifest-Du_-0ruw.d.ts} +1 -1
  665. package/dist/{manifest-CcErLbUW.d.ts → manifest-Dvhqz3qo.d.ts} +1 -1
  666. package/dist/{manifest-BEE8kXlc.js → manifest-DxPMUjhY.js} +17 -17
  667. package/dist/{manifest-CFEY-PSe.d.ts → manifest-Dy5_Rc0q.d.ts} +1 -1
  668. package/dist/{manifest-BdWn7BTX.d.ts → manifest-DyZcERh_.d.ts} +1 -1
  669. package/dist/{manifest-DqbXAQwZ.d.ts → manifest-ETlyMx6o.d.ts} +1 -1
  670. package/dist/{manifest-Cu1zCdXg.js → manifest-EcWk4ytT.js} +9 -9
  671. package/dist/{manifest-CPecIPI5.js → manifest-EwHcMCiW.js} +4 -4
  672. package/dist/{manifest-amQk8j7Y.js → manifest-FXQp4dob.js} +13 -13
  673. package/dist/{manifest-Y1Z5L2T3.js → manifest-Gi6V1g3E.js} +12 -12
  674. package/dist/{manifest-e7ZbaKYF.js → manifest-H65OlXiB.js} +15 -15
  675. package/dist/{manifest-DyjQZh7Z.js → manifest-IZ9GQI7f.js} +13 -13
  676. package/dist/{manifest-Hm1-O138.d.ts → manifest-JdAQqp5w.d.ts} +3 -3
  677. package/dist/{manifest-D8iIf1Kb.js → manifest-Lasq6DPg.js} +10 -10
  678. package/dist/{manifest-0F7lof-8.d.ts → manifest-Lsz6rH3B.d.ts} +1 -1
  679. package/dist/{manifest-DSGLUrYq.js → manifest-MTW4mY5N.js} +10 -10
  680. package/dist/{manifest-B_6NoKFg.d.ts → manifest-RAijfop2.d.ts} +1 -1
  681. package/dist/{manifest-DAxxMf9a.js → manifest-X24lr5XH.js} +3 -3
  682. package/dist/{manifest-Hr6MyREb.d.ts → manifest-XZV2sKgk.d.ts} +1 -1
  683. package/dist/{manifest-BLnVv55R.js → manifest-YB3ZtXEb.js} +11 -11
  684. package/dist/{manifest-gSko__Wn.d.ts → manifest-a0YxYgo0.d.ts} +1 -1
  685. package/dist/{manifest-CgMNtyTZ.d.ts → manifest-aJOA6D9w.d.ts} +1 -1
  686. package/dist/{manifest-CwJZGhJ8.d.ts → manifest-c8mlNzOv.d.ts} +1 -1
  687. package/dist/{manifest-KUbi4IKj.d.ts → manifest-dLThrKqV.d.ts} +1 -1
  688. package/dist/{manifest-Bde5xCaP.d.ts → manifest-dlqXYOfB.d.ts} +1 -1
  689. package/dist/{manifest-BUFE6Vda.js → manifest-jLh9Rwsh.js} +11 -11
  690. package/dist/{manifest-iKyF53SI.d.ts → manifest-jb384ocG.d.ts} +1 -1
  691. package/dist/{manifest-DBu84LST.d.ts → manifest-jiaWr0x4.d.ts} +1 -1
  692. package/dist/{manifest-t-8upuXv.js → manifest-kZCtkWqj.js} +9 -9
  693. package/dist/{manifest-BGhS_IRb.js → manifest-kbSJq3sR.js} +17 -17
  694. package/dist/{manifest-oVRDNj7t.d.ts → manifest-pLJIrNwi.d.ts} +1 -1
  695. package/dist/{manifest-DlK0gus-.js → manifest-rHukkAIC.js} +16 -16
  696. package/dist/{manifest-NSNQGS0I.js → manifest-wlx1-yvJ.js} +5 -5
  697. package/dist/{manifest-BUvqSThC.d.ts → manifest-xAeOKTub.d.ts} +3 -3
  698. package/dist/{manifest-CbXBkXqf.d.ts → manifest-y2y5xPQC.d.ts} +1 -1
  699. package/dist/{manifest-MleiBHu4.js → manifest-yLshQDXw.js} +6 -6
  700. package/dist/mapper/bin.js +6 -6
  701. package/dist/mcp/index.d.ts +2 -2
  702. package/dist/mcp/index.js +1 -1
  703. package/dist/mcp/sdk/index.d.ts +2 -2
  704. package/dist/mcp/sdk/index.js +1 -1
  705. package/dist/{mcp-DAJ7WsQb.js → mcp-Cu-bD9KQ.js} +1 -1
  706. package/dist/next/client/index.d.ts +1 -1
  707. package/dist/next/index.d.ts +92 -35
  708. package/dist/next/index.js +123 -44
  709. package/dist/{operations-Cqx3ghVP.d.ts → operations-_3oh-CEO.d.ts} +1 -1
  710. package/dist/{options-PM7IaIFP.js → options-B1rQBo1M.js} +4 -1
  711. package/dist/orpc/index.d.ts +4 -4
  712. package/dist/orpc/index.js +1 -1
  713. package/dist/otel/index.js +4 -4
  714. package/dist/{parse-B1g9TF99.js → parse-BRW-aTQQ.js} +1 -1
  715. package/dist/{payroll-export-CrEznq6i.js → payroll-export-CNji28TX.js} +1 -1
  716. package/dist/{permissions-cKhOwOuj.d.ts → permissions-u_qqedin.d.ts} +1 -1
  717. package/dist/{ports-DEC5OfLy.js → ports-BhCn6uGk.js} +1 -1
  718. package/dist/{ports-zqXSEoFP.d.ts → ports-DT5zRdYx.d.ts} +1 -1
  719. package/dist/postgres/index.js +2 -2
  720. package/dist/{postgrest-executor-DaDNeFDr.js → postgrest-executor-BMNA_O9-.js} +1 -1
  721. package/dist/powersync/index.d.ts +3 -3
  722. package/dist/powersync/index.js +1 -1
  723. package/dist/preset/index.d.ts +4 -4
  724. package/dist/preset/index.js +3 -3
  725. package/dist/{preset-BILsEo24.js → preset--1OMwypM.js} +4 -3
  726. package/dist/{preview-DN0JKESa.d.ts → preview-BBA-VaEZ.d.ts} +2 -2
  727. package/dist/{preview-DsrEvLWG.js → preview-Bd7ZBtf2.js} +2 -2
  728. package/dist/{project-C23WlGy4.js → project-BhE6_64F.js} +5 -5
  729. package/dist/{push-token-DZACGqYX.d.ts → push-token-hs6_Vt-I.d.ts} +1 -1
  730. package/dist/query/index.d.ts +1 -1
  731. package/dist/query/index.js +1 -1
  732. package/dist/rate-limit/index.js +1 -1
  733. package/dist/{rate-limit-DSOwe_Re.js → rate-limit-ruAG2w45.js} +1 -1
  734. package/dist/react/index.d.ts +6 -6
  735. package/dist/react/index.js +2 -2
  736. package/dist/react/native/index.d.ts +1 -1
  737. package/dist/react/server.d.ts +10 -6
  738. package/dist/react/server.js +6 -2
  739. package/dist/{react-oftUdRLD.js → react-olMpD8et.js} +31 -24
  740. package/dist/react-router/index.d.ts +3 -3
  741. package/dist/react-router/index.js +2 -2
  742. package/dist/{read-set-Vqn_XdqV.js → read-set-4EsAPjII.js} +2 -1
  743. package/dist/realtime/index.d.ts +3 -3
  744. package/dist/realtime/index.js +1 -1
  745. package/dist/{record-form-S1-QnCI_.d.ts → record-form-Cze5j1OB.d.ts} +1 -1
  746. package/dist/{record-type-uD8JMf0g.js → record-type-BPUobukL.js} +1 -0
  747. package/dist/records/index.d.ts +7 -7
  748. package/dist/records/index.js +3 -3
  749. package/dist/{resource-execute-y2wGRwTn.d.ts → resource-execute-D2cJfrKu.d.ts} +1 -1
  750. package/dist/{resource-types-B8ocsWgZ.d.ts → resource-types-Cs1zWvrn.d.ts} +1 -1
  751. package/dist/{resources-DS3fQtwv.d.ts → resources-DyP9cP9i.d.ts} +1 -1
  752. package/dist/{sales-DKOs8F12.js → sales-BCArDSEX.js} +9 -9
  753. package/dist/{scores-Dfes6BDr.js → scores-D3fvLQGX.js} +1 -1
  754. package/dist/server/index.d.ts +13 -13
  755. package/dist/server/index.js +9 -9
  756. package/dist/{server-types-CXNFIjFU.d.ts → server-types-Bpxk5UWh.d.ts} +32 -10
  757. package/dist/{session-CDkvmd52.d.ts → session-DQ5huqEw.d.ts} +2 -2
  758. package/dist/{session-status-PE2_AdYA.d.ts → session-status-DDPrDS36.d.ts} +1 -1
  759. package/dist/{settings-CqhQrT3a.js → settings-DhzIPgTN.js} +1 -1
  760. package/dist/{shared-B0clSLXG.js → shared-BTf7Qrnk.js} +1 -1
  761. package/dist/{sign-in-BRT-0QYF.js → sign-in-03gtm616.js} +34 -9
  762. package/dist/{signing-keys-hgspu0oB.js → signing-keys-sEdfxGbZ.js} +1 -1
  763. package/dist/solid/index.d.ts +13 -6
  764. package/dist/solid/index.js +10 -3
  765. package/dist/solid-start/index.d.ts +3 -3
  766. package/dist/solid-start/index.js +2 -2
  767. package/dist/spec/index.d.ts +1 -1
  768. package/dist/{spec-CGD_BzCF.js → spec-BSc8n34a.js} +1 -1
  769. package/dist/sql/index.d.ts +5 -5
  770. package/dist/sql/index.js +3 -3
  771. package/dist/{sql-DUonzxhb.js → sql-B0t41P1F.js} +2 -2
  772. package/dist/{sql-DWsHDJ3c.js → sql-BVUbNexh.js} +581 -242
  773. package/dist/sqlite/index.d.ts +1 -1
  774. package/dist/sqlite/index.js +1 -1
  775. package/dist/{sso-CSfrymeX.js → sso-fXXdjhyz.js} +1 -1
  776. package/dist/ssr/index.d.ts +1 -1
  777. package/dist/storage/index.js +1 -1
  778. package/dist/{support-DLms-JZd.d.ts → support-tDhEwXbu.d.ts} +18 -9
  779. package/dist/svelte/index.d.ts +13 -6
  780. package/dist/svelte/index.js +10 -3
  781. package/dist/sveltekit/index.d.ts +4 -4
  782. package/dist/sveltekit/index.js +2 -2
  783. package/dist/{tags-BGwWAMVB.d.ts → tags-CBASI98_.d.ts} +1 -1
  784. package/dist/tanstack-db/index.d.ts +1 -1
  785. package/dist/tanstack-start/index.d.ts +3 -3
  786. package/dist/tanstack-start/index.js +2 -2
  787. package/dist/{tenant-DNoe5dUa.d.ts → tenant-c_6qMyFI.d.ts} +1 -1
  788. package/dist/testing/index.d.ts +111 -10
  789. package/dist/testing/index.js +217 -7
  790. package/dist/{timeline-Dy099qKD.d.ts → timeline-DvZ7C5zf.d.ts} +3 -3
  791. package/dist/{topic-CqSqDnjb.js → topic-CW7sraaQ.js} +1 -1
  792. package/dist/{topic-EkhjfSPH.d.ts → topic-fwPlelNI.d.ts} +2 -2
  793. package/dist/{types-CkLE9lwr.d.ts → types-Cwai2qe4.d.ts} +2 -2
  794. package/dist/{undo-CnWDmntn.js → undo-DhLhQlyY.js} +1 -1
  795. package/dist/{verify-Dh2MQQze.d.ts → verify-CupKPoHW.d.ts} +1 -1
  796. package/dist/vue/index.d.ts +13 -6
  797. package/dist/vue/index.js +10 -3
  798. package/dist/{watch-topic-B4eLrVUl.d.ts → watch-topic-D4AzYs9E.d.ts} +1 -1
  799. package/dist/{webhook-inbox-_7ApdH2q.js → webhook-inbox-TA5H3ti3.js} +1 -1
  800. package/dist/webmcp/index.d.ts +1 -1
  801. package/dist/webmcp/index.js +1 -1
  802. package/dist/yjs/index.d.ts +1 -1
  803. package/dist/yjs/index.js +1 -1
  804. package/package.json +1 -1
  805. package/schemas/config-v1.json +89 -0
  806. package/schemas/doctor-report-v1.json +12 -0
  807. package/skills/better-supabase/references/ui-recipes.md +13 -13
  808. package/dist/cli/add-TZa-GEt2.js +0 -1
  809. package/dist/cli/env-DWtI_scC.js +0 -1
  810. package/dist/cli/powersync-DfiIdCgd.js +0 -1
  811. package/dist/cli/seed-DsoWExFu.js +0 -1
  812. package/dist/events-BRKIxVQD.js +0 -25
  813. package/dist/cli/{orphans-CPcR85QN.js → orphans-ByB0gKOp.js} +1 -1
@@ -5,7 +5,7 @@ import { a as dbTransport, o as rpcTransport, s as sqlTransport, t as BlockTrans
5
5
  import { T as ErrorMapper, t as AsyncResult } from "../../result-CMqlHv82.js";
6
6
  import { n as Logger } from "../../logger-0LfhvwE4.js";
7
7
  import { t as StandardSchemaV1 } from "../../standard-CiOWpeZL.js";
8
- import { c as BlockOf } from "../../define-block-DHOCtKKS.js";
8
+ import { c as BlockOf } from "../../define-block-B2um61Uj.js";
9
9
  import { B as FlagEventData, Dt as Events } from "../../events-X-Dhu495.js";
10
10
  interface FlagsOptions<S extends StandardSchemaV1 | undefined = undefined> {
11
11
  /**
@@ -1,11 +1,11 @@
1
1
  import { a as evaluateFlag, c as flagContext, i as createFlagsProvider, l as flagDefinitionsOf, n as conditionOf, o as expandSegments, r as createFlagClient, s as flagBucket, t as chooseSplitVariant, u as rolloutPercentageAt } from "../../flags-C-tgsZ1V.js";
2
2
  import { n as blockFields } from "../../block-fields-BKx78iez.js";
3
- import { r as withBlockHooks } from "../../block-hooks-BIRJauOk.js";
3
+ import { r as withBlockHooks } from "../../block-hooks-Bd5bRM9B.js";
4
4
  import { a as ok, t as AsyncResult } from "../../result-DrBaeIVt.js";
5
5
  import { B as textOf, K as rpcTransport, N as recordsOf, T as optionalText, W as dbTransport, o as blockCall, q as sqlTransport } from "../../block-helpers-BR1V7DN1.js";
6
6
  import { n as isRecord } from "../../guards-CsRa6v57.js";
7
- import { n as defineBlock } from "../../define-block-DyZiZQrx.js";
8
- import { n as event, t as defineEvents } from "../../event-map-DxfsFgQT.js";
7
+ import { n as defineBlock } from "../../define-block-D3uNVp2k.js";
8
+ import { n as event, t as defineEvents } from "../../event-map-DLajpFiJ.js";
9
9
  import { t as flagsSqlOptions } from "../../options-BMO-FnOT.js";
10
10
  // src/blocks/flags/admin.ts
11
11
  const rowOf = (input, fields) => {
@@ -132,15 +132,15 @@ function createFlags(options) {
132
132
  }
133
133
  // src/blocks/flags/events.ts
134
134
  /** The `flags` block's event types, for its manifest and `onBlockEvent`. */
135
- const flagsEvents = defineEvents({
136
- "flag.created": event(),
137
- "flag.updated": event(),
138
- "flag.deleted": event(),
139
- "flag.override_changed": event()
135
+ const flagsEvents = /* @__PURE__ */ defineEvents({
136
+ "flag.created": /* @__PURE__ */ event(),
137
+ "flag.updated": /* @__PURE__ */ event(),
138
+ "flag.deleted": /* @__PURE__ */ event(),
139
+ "flag.override_changed": /* @__PURE__ */ event()
140
140
  });
141
141
  // src/blocks/flags/manifest.ts
142
142
  /** The `flags` block's manifest (ADR 0029). */
143
- const flagsBlock = defineBlock({
143
+ const flagsBlock = /* @__PURE__ */ defineBlock({
144
144
  name: "flags",
145
145
  sql: ["flags"],
146
146
  options: { flags: flagsSqlOptions },
@@ -1,4 +1,4 @@
1
- import { a as ForecastSnapshot, c as ForecastsOptions, d as forecastsEvents, i as ForecastDealChange, l as createForecasts, n as ForecastChangeKind, o as ForecastSnapshotDeal, r as ForecastChanges, s as Forecasts, t as forecastsBlock, u as ForecastsEvents } from "../../manifest-DlRpMwfK.js";
1
+ import { a as ForecastSnapshot, c as ForecastsOptions, d as forecastsEvents, i as ForecastDealChange, l as createForecasts, n as ForecastChangeKind, o as ForecastSnapshotDeal, r as ForecastChanges, s as Forecasts, t as forecastsBlock, u as ForecastsEvents } from "../../manifest-CaKVpJZM.js";
2
2
  import { t as DealForecast } from "../../deal-forecast-CN_BEy9s.js";
3
3
  import { a as BlockTransportMiddleware, d as extendBlock, f as withBlockHooks, n as BlockHooks, p as wrapTransport } from "../../block-hooks-xAMR6WdT.js";
4
4
  import { a as dbTransport, i as RpcClient, o as rpcTransport, s as sqlTransport, t as BlockTransport } from "../../block-transport-DBteddOY.js";
@@ -1,4 +1,4 @@
1
- import { n as createForecasts, r as forecastsEvents, t as forecastsBlock } from "../../manifest-D_wDGSVQ.js";
2
- import { i as wrapTransport, n as extendBlock, r as withBlockHooks } from "../../block-hooks-BIRJauOk.js";
1
+ import { n as createForecasts, r as forecastsEvents, t as forecastsBlock } from "../../manifest-BNT_WDkt.js";
2
+ import { i as wrapTransport, n as extendBlock, r as withBlockHooks } from "../../block-hooks-Bd5bRM9B.js";
3
3
  import { K as rpcTransport, W as dbTransport, q as sqlTransport } from "../../block-helpers-BR1V7DN1.js";
4
4
  export { createForecasts, dbTransport, extendBlock, forecastsBlock, forecastsEvents, rpcTransport, sqlTransport, withBlockHooks, wrapTransport };
@@ -1,8 +1,8 @@
1
- import { A as answersSchema, C as createForms, D as npsCategory, E as formScore, M as FormsEvents, N as formsEvents, O as npsScore, S as SubmitOptions, T as NpsCategory, _ as NpsPeriod, a as FormNps, b as PublicSubmitOptions, c as FormSubmissionSource, d as FormVersion, f as Forms, g as NpsOptions, h as NpsCounts, i as FormInput, j as validateAnswers, k as FormAnswers, l as FormSubmissionStatus, m as NpsBucket, n as Form, o as FormStatus, p as FormsOptions, r as FormDetail, s as FormSubmission, t as formsBlock, u as FormUpdate, v as PublicForm, w as FormScore, x as SubmissionListOptions, y as PublicSubmission } from "../../manifest-CkeHPwD_.js";
2
- import { Cn as FormStep, Dn as formSchema, En as formDefinitionProblems, On as isFormDefinition, Sn as FormScoring, Tn as UNSCORED_FIELD_TYPES, _n as FormField, bn as FormJsonSchema, fn as FORM_DEFINITION_SCHEMA, gn as FormDefinition, hn as FormCondition, mn as FORM_SCHEMA_DIALECT, pn as FORM_FIELD_TYPES, vn as FormFieldType, wn as NPS_MAX, xn as FormOption, yn as FormJson } from "../../define-block-DHOCtKKS.js";
1
+ import { A as answersSchema, C as createForms, D as npsCategory, E as formScore, M as FormsEvents, N as formsEvents, O as npsScore, S as SubmitOptions, T as NpsCategory, _ as NpsPeriod, a as FormNps, b as PublicSubmitOptions, c as FormSubmissionSource, d as FormVersion, f as Forms, g as NpsOptions, h as NpsCounts, i as FormInput, j as validateAnswers, k as FormAnswers, l as FormSubmissionStatus, m as NpsBucket, n as Form, o as FormStatus, p as FormsOptions, r as FormDetail, s as FormSubmission, t as formsBlock, u as FormUpdate, v as PublicForm, w as FormScore, x as SubmissionListOptions, y as PublicSubmission } from "../../manifest-Bg1swpdk.js";
2
+ import { Cn as FormStep, Dn as formSchema, En as formDefinitionProblems, On as isFormDefinition, Sn as FormScoring, Tn as UNSCORED_FIELD_TYPES, _n as FormField, bn as FormJsonSchema, fn as FORM_DEFINITION_SCHEMA, gn as FormDefinition, hn as FormCondition, mn as FORM_SCHEMA_DIALECT, pn as FORM_FIELD_TYPES, vn as FormFieldType, wn as NPS_MAX, xn as FormOption, yn as FormJson } from "../../define-block-B2um61Uj.js";
3
3
  import { D as ValidationIssue } from "../../result-CMqlHv82.js";
4
4
  import { a as dbTransport, o as rpcTransport, s as sqlTransport, t as BlockTransport } from "../../block-transport-DBteddOY.js";
5
- import { n as Controller } from "../../controller-BHEUaOKo.js";
5
+ import { n as Controller } from "../../controller-BrTPi8Po.js";
6
6
  /**
7
7
  * Whether `condition` holds for `answers`, with the semantics of its JSON
8
8
  * Schema `if`.
@@ -1,4 +1,4 @@
1
- import { n as createForms, r as formsEvents, t as formsBlock } from "../../manifest-B5JVSm7q.js";
1
+ import { n as createForms, r as formsEvents, t as formsBlock } from "../../manifest-CnlgJJDS.js";
2
2
  import { a as NPS_MAX, c as formSchema, i as FORM_SCHEMA_DIALECT, l as isFormDefinition, n as FORM_FIELD_TYPES, o as UNSCORED_FIELD_TYPES, s as formDefinitionProblems, t as FORM_DEFINITION_SCHEMA } from "../../form-definition-DbyY2DKZ.js";
3
3
  import { K as rpcTransport, W as dbTransport, q as sqlTransport } from "../../block-helpers-BR1V7DN1.js";
4
4
  import { t as defineController } from "../../controller-BJmh7gFm.js";
@@ -1,8 +1,8 @@
1
1
  import { A as FundingUnmatchedEntry, C as FundingOptions, D as FundingRenderedClaim, E as FundingProductInput, M as createFunding, O as FundingTimeRegistration, S as FundingDeliveryStatus, T as FundingProduct, _ as FundingClaimWithLines, a as FundingAwardStatus, b as FundingDeliveryInput, c as FundingClaim, d as FundingClaimDelivery, f as FundingClaimFormat, g as FundingClaimStatus, h as FundingClaimResponse, i as FundingAwardPatch, j as FundingUsagePeriod, k as FundingUnit, l as FundingClaimChannel, m as FundingClaimLineStatus, n as FundingAward, o as FundingAwardUsage, p as FundingClaimLine, r as FundingAwardInput, s as FundingAwardWithProduct, t as Funding, u as FundingClaimContext, v as FundingDelivery, w as FundingPeriod, x as FundingDeliverySource, y as FundingDeliveryFilter } from "../../funding-B5xV2Vuz.js";
2
2
  import { a as BlockTransportMiddleware, d as extendBlock, f as withBlockHooks, n as BlockHooks, p as wrapTransport } from "../../block-hooks-xAMR6WdT.js";
3
3
  import { a as dbTransport, i as RpcClient, o as rpcTransport, s as sqlTransport, t as BlockTransport } from "../../block-transport-DBteddOY.js";
4
- import { a as FundingAwardUpdatedEventData, c as FundingClaimRespondedEventData, d as FundingEvents, f as fundingEvents, i as FundingAwardExceededEventData, l as FundingClaimSentEventData, n as FundingAwardCreatedEventData, o as FundingClaimCreatedEventData, r as FundingAwardEndedEventData, s as FundingClaimDeletedEventData, t as fundingBlock, u as FundingDeliveryRegisteredEventData } from "../../manifest-iKyF53SI.js";
5
- import { G as EntitySchema } from "../../define-block-DHOCtKKS.js";
4
+ import { a as FundingAwardUpdatedEventData, c as FundingClaimRespondedEventData, d as FundingEvents, f as fundingEvents, i as FundingAwardExceededEventData, l as FundingClaimSentEventData, n as FundingAwardCreatedEventData, o as FundingClaimCreatedEventData, r as FundingAwardEndedEventData, s as FundingClaimDeletedEventData, t as fundingBlock, u as FundingDeliveryRegisteredEventData } from "../../manifest-jb384ocG.js";
5
+ import { G as EntitySchema } from "../../define-block-B2um61Uj.js";
6
6
  /** What `createAward` takes. */
7
7
  export declare const fundingAwardInputSchema: EntitySchema<FundingAwardInput>;
8
8
  export { type BlockHooks, type BlockTransport, type BlockTransportMiddleware, type Funding, type FundingAward, type FundingAwardCreatedEventData, type FundingAwardEndedEventData, type FundingAwardExceededEventData, type FundingAwardInput, type FundingAwardPatch, type FundingAwardStatus, type FundingAwardUpdatedEventData, type FundingAwardUsage, type FundingAwardWithProduct, type FundingClaim, type FundingClaimChannel, type FundingClaimContext, type FundingClaimCreatedEventData, type FundingClaimDeletedEventData, type FundingClaimDelivery, type FundingClaimFormat, type FundingClaimLine, type FundingClaimLineStatus, type FundingClaimRespondedEventData, type FundingClaimResponse, type FundingClaimSentEventData, type FundingClaimStatus, type FundingClaimWithLines, type FundingDelivery, type FundingDeliveryFilter, type FundingDeliveryInput, type FundingDeliveryRegisteredEventData, type FundingDeliverySource, type FundingDeliveryStatus, type FundingEvents, type FundingOptions, type FundingPeriod, type FundingProduct, type FundingProductInput, type FundingRenderedClaim, type FundingTimeRegistration, type FundingUnit, type FundingUnmatchedEntry, type FundingUsagePeriod, type RpcClient, createFunding, dbTransport, extendBlock, fundingBlock, fundingEvents, rpcTransport, sqlTransport, withBlockHooks, wrapTransport };
@@ -1,4 +1,4 @@
1
- import { i as fundingEvents, n as fundingAwardInputSchema, r as createFunding, t as fundingBlock } from "../../manifest-BpCVzhPX.js";
2
- import { i as wrapTransport, n as extendBlock, r as withBlockHooks } from "../../block-hooks-BIRJauOk.js";
1
+ import { i as fundingEvents, n as fundingAwardInputSchema, r as createFunding, t as fundingBlock } from "../../manifest-DkI--7fx.js";
2
+ import { i as wrapTransport, n as extendBlock, r as withBlockHooks } from "../../block-hooks-Bd5bRM9B.js";
3
3
  import { K as rpcTransport, W as dbTransport, q as sqlTransport } from "../../block-helpers-BR1V7DN1.js";
4
4
  export { createFunding, dbTransport, extendBlock, fundingAwardInputSchema, fundingBlock, fundingEvents, rpcTransport, sqlTransport, withBlockHooks, wrapTransport };
@@ -1,4 +1,4 @@
1
1
  import { a as dbTransport, i as RpcClient, o as rpcTransport, s as sqlTransport, t as BlockTransport } from "../../block-transport-DBteddOY.js";
2
2
  import { a as BlockTransportMiddleware, d as extendBlock, f as withBlockHooks, n as BlockHooks, p as wrapTransport } from "../../block-hooks-xAMR6WdT.js";
3
- import { a as TargetInput, c as createGoals, i as Target, n as Goals, o as TargetMetric, r as GoalsOptions, s as TargetProgress, t as goalsBlock } from "../../index-A9U5y90N.js";
3
+ import { a as TargetInput, c as createGoals, i as Target, n as Goals, o as TargetMetric, r as GoalsOptions, s as TargetProgress, t as goalsBlock } from "../../index-C3pOr989.js";
4
4
  export { type BlockHooks, type BlockTransport, type BlockTransportMiddleware, type Goals, type GoalsOptions, type RpcClient, type Target, type TargetInput, type TargetMetric, type TargetProgress, createGoals, dbTransport, extendBlock, goalsBlock, rpcTransport, sqlTransport, withBlockHooks, wrapTransport };
@@ -1,4 +1,4 @@
1
- import { n as createGoals, t as goalsBlock } from "../../manifest-D6jxUviz.js";
2
- import { i as wrapTransport, n as extendBlock, r as withBlockHooks } from "../../block-hooks-BIRJauOk.js";
1
+ import { n as createGoals, t as goalsBlock } from "../../manifest-C-QxTuzM.js";
2
+ import { i as wrapTransport, n as extendBlock, r as withBlockHooks } from "../../block-hooks-Bd5bRM9B.js";
3
3
  import { K as rpcTransport, W as dbTransport, q as sqlTransport } from "../../block-helpers-BR1V7DN1.js";
4
4
  export { createGoals, dbTransport, extendBlock, goalsBlock, rpcTransport, sqlTransport, withBlockHooks, wrapTransport };
@@ -1,10 +1,10 @@
1
1
  import { n as BlockHooks } from "../../block-hooks-xAMR6WdT.js";
2
2
  import { n as Logger } from "../../logger-0LfhvwE4.js";
3
3
  import { t as AsyncResult } from "../../result-CMqlHv82.js";
4
- import { Q as BlockContext, c as BlockOf, p as CompositeOptions } from "../../define-block-DHOCtKKS.js";
5
- import { i as DataExportFormat, n as DataExport, t as dataLifecycleBlock } from "../../manifest-dOdQx0hy.js";
6
- import { t as auditBlock } from "../../manifest-BUvqSThC.js";
7
- import { t as fieldHistoryBlock } from "../../manifest-BdWn7BTX.js";
4
+ import { Q as BlockContext, c as BlockOf, p as CompositeOptions } from "../../define-block-B2um61Uj.js";
5
+ import { i as DataExportFormat, n as DataExport, t as dataLifecycleBlock } from "../../manifest-C9Kn7gwK.js";
6
+ import { t as auditBlock } from "../../manifest-xAeOKTub.js";
7
+ import { t as fieldHistoryBlock } from "../../manifest-DyZcERh_.js";
8
8
  /** The blocks `governance` is made of, by block name. */
9
9
  export declare const governanceParts: {
10
10
  readonly audit: typeof auditBlock;
@@ -1,9 +1,9 @@
1
- import { r as withBlockHooks } from "../../block-hooks-BIRJauOk.js";
1
+ import { r as withBlockHooks } from "../../block-hooks-Bd5bRM9B.js";
2
2
  import { a as ok, t as AsyncResult } from "../../result-DrBaeIVt.js";
3
- import { t as auditBlock } from "../../manifest-MleiBHu4.js";
4
- import { t as dataLifecycleBlock } from "../../manifest-CXRuupEQ.js";
5
- import { n as defineBlock } from "../../define-block-DyZiZQrx.js";
6
- import { t as fieldHistoryBlock } from "../../manifest-CNNWN9Rr.js";
3
+ import { t as auditBlock } from "../../manifest-yLshQDXw.js";
4
+ import { t as dataLifecycleBlock } from "../../manifest-DWGEzte4.js";
5
+ import { n as defineBlock } from "../../define-block-D3uNVp2k.js";
6
+ import { t as fieldHistoryBlock } from "../../manifest-C15_YXQV.js";
7
7
  // src/blocks/governance/governance.ts
8
8
  /** Creates the `governance` helpers over the clients of its parts. */
9
9
  function createGovernance(options) {
@@ -43,7 +43,7 @@ const governanceParts = {
43
43
  * lifecycle, for records that must stay accountable. It installs its parts and
44
44
  * sets their defaults; the parts stay ordinary blocks in the config.
45
45
  */
46
- const governanceBlock = defineBlock({
46
+ const governanceBlock = /* @__PURE__ */ defineBlock({
47
47
  name: "governance",
48
48
  composes: governanceParts,
49
49
  create: createGovernance,
@@ -1,4 +1,4 @@
1
- import { C as GuestRevokedEventData, S as GuestInvitedEventData, T as guestsEvents, _ as GuestsOptions, a as guestGrantSchema, b as GuestAcceptedEventData, c as Guest, d as GuestInvite, f as GuestInviteInput, g as Guests, h as GuestStatus, i as GuestSectionGrantInput, l as GuestGrant, m as GuestMembership, n as GuestsWrites, o as guestInviteSchema, p as GuestListOptions, r as guestsBinding, s as guestSectionGrantSchema, t as guestsBlock, u as GuestGrantInput, v as RecordGuestGrant, w as GuestsEvents, x as GuestGrantEventData, y as createGuests } from "../../manifest-Bde5xCaP.js";
1
+ import { C as GuestRevokedEventData, S as GuestInvitedEventData, T as guestsEvents, _ as GuestsOptions, a as guestGrantSchema, b as GuestAcceptedEventData, c as Guest, d as GuestInvite, f as GuestInviteInput, g as Guests, h as GuestStatus, i as GuestSectionGrantInput, l as GuestGrant, m as GuestMembership, n as GuestsWrites, o as guestInviteSchema, p as GuestListOptions, r as guestsBinding, s as guestSectionGrantSchema, t as guestsBlock, u as GuestGrantInput, v as RecordGuestGrant, w as GuestsEvents, x as GuestGrantEventData, y as createGuests } from "../../manifest-dlqXYOfB.js";
2
2
  import { a as BlockTransportMiddleware, d as extendBlock, f as withBlockHooks, n as BlockHooks, p as wrapTransport } from "../../block-hooks-xAMR6WdT.js";
3
3
  import { t as GuestAction } from "../../guest-actions-DfHHp98H.js";
4
4
  import { a as dbTransport, i as RpcClient, o as rpcTransport, s as sqlTransport, t as BlockTransport } from "../../block-transport-DBteddOY.js";
@@ -1,4 +1,4 @@
1
- import { a as guestSectionGrantSchema, i as guestInviteSchema, n as guestsBinding, o as guestsEvents, r as guestGrantSchema, s as createGuests, t as guestsBlock } from "../../manifest-D8iIf1Kb.js";
2
- import { i as wrapTransport, n as extendBlock, r as withBlockHooks } from "../../block-hooks-BIRJauOk.js";
1
+ import { a as guestSectionGrantSchema, i as guestInviteSchema, n as guestsBinding, o as guestsEvents, r as guestGrantSchema, s as createGuests, t as guestsBlock } from "../../manifest-Lasq6DPg.js";
2
+ import { i as wrapTransport, n as extendBlock, r as withBlockHooks } from "../../block-hooks-Bd5bRM9B.js";
3
3
  import { K as rpcTransport, W as dbTransport, q as sqlTransport } from "../../block-helpers-BR1V7DN1.js";
4
4
  export { createGuests, dbTransport, extendBlock, guestGrantSchema, guestInviteSchema, guestSectionGrantSchema, guestsBinding, guestsBlock, guestsEvents, rpcTransport, sqlTransport, withBlockHooks, wrapTransport };
@@ -1,4 +1,4 @@
1
1
  import { a as dbTransport, i as RpcClient, o as rpcTransport, s as sqlTransport, t as BlockTransport } from "../../block-transport-DBteddOY.js";
2
2
  import { a as BlockTransportMiddleware, d as extendBlock, f as withBlockHooks, n as BlockHooks, p as wrapTransport } from "../../block-hooks-xAMR6WdT.js";
3
- import { _ as Scorecard, a as hiringEvents, c as ApplicationState, d as HiringOptions, f as Interview, g as Recommendation, h as JobStatus, i as HiringEvents, l as Candidate, m as JobInput, n as HIRING_AUTOMATIONS, o as Application, p as Job, r as hiringBlock, s as ApplicationDetail, t as APPLICATION_TO_EMPLOYEE, u as Hiring, v as ScorecardScore, y as createHiring } from "../../index-Bl44eUq9.js";
3
+ import { _ as Scorecard, a as hiringEvents, c as ApplicationState, d as HiringOptions, f as Interview, g as Recommendation, h as JobStatus, i as HiringEvents, l as Candidate, m as JobInput, n as HIRING_AUTOMATIONS, o as Application, p as Job, r as hiringBlock, s as ApplicationDetail, t as APPLICATION_TO_EMPLOYEE, u as Hiring, v as ScorecardScore, y as createHiring } from "../../index-Bxu7m8vw.js";
4
4
  export { APPLICATION_TO_EMPLOYEE, type Application, type ApplicationDetail, type ApplicationState, type BlockHooks, type BlockTransport, type BlockTransportMiddleware, type Candidate, HIRING_AUTOMATIONS, type Hiring, type HiringEvents, type HiringOptions, type Interview, type Job, type JobInput, type JobStatus, type Recommendation, type RpcClient, type Scorecard, type ScorecardScore, createHiring, dbTransport, extendBlock, hiringBlock, hiringEvents, rpcTransport, sqlTransport, withBlockHooks, wrapTransport };
@@ -1,5 +1,5 @@
1
- import { n as createHiring, r as hiringEvents, t as hiringBlock } from "../../manifest-Btbo698t.js";
2
- import { i as wrapTransport, n as extendBlock, r as withBlockHooks } from "../../block-hooks-BIRJauOk.js";
1
+ import { n as createHiring, r as hiringEvents, t as hiringBlock } from "../../manifest-B-wRV_0N.js";
2
+ import { i as wrapTransport, n as extendBlock, r as withBlockHooks } from "../../block-hooks-Bd5bRM9B.js";
3
3
  import { K as rpcTransport, W as dbTransport, q as sqlTransport } from "../../block-helpers-BR1V7DN1.js";
4
4
  import { n as HIRING_AUTOMATIONS, t as APPLICATION_TO_EMPLOYEE } from "../../automations-Bi7ALtKY.js";
5
5
  export { APPLICATION_TO_EMPLOYEE, HIRING_AUTOMATIONS, createHiring, dbTransport, extendBlock, hiringBlock, hiringEvents, rpcTransport, sqlTransport, withBlockHooks, wrapTransport };
@@ -5,7 +5,7 @@ import { d as IdentityRef, f as IdentityTarget, p as PrincipalByIdentity } from
5
5
  import { T as ErrorMapper, t as AsyncResult } from "../../result-CMqlHv82.js";
6
6
  import { n as Logger } from "../../logger-0LfhvwE4.js";
7
7
  import { r as BlockTemporalOptions } from "../../block-helpers-YOdaCxWE.js";
8
- import { c as BlockOf } from "../../define-block-DHOCtKKS.js";
8
+ import { c as BlockOf } from "../../define-block-B2um61Uj.js";
9
9
  interface IdentitiesOptions extends BlockTemporalOptions {
10
10
  /**
11
11
  * `sqlTransport(postgres.asUser(claims))` for `beginLink`, `list` and
@@ -1,7 +1,7 @@
1
- import { r as withBlockHooks } from "../../block-hooks-BIRJauOk.js";
1
+ import { r as withBlockHooks } from "../../block-hooks-Bd5bRM9B.js";
2
2
  import { B as textOf, K as rpcTransport, N as recordsOf, P as requiredInstant, W as dbTransport, b as nullableText, d as enumOrThrow, j as recordOf, n as applyTemporal, o as blockCall, q as sqlTransport } from "../../block-helpers-BR1V7DN1.js";
3
3
  import { n as isRecord } from "../../guards-CsRa6v57.js";
4
- import { n as defineBlock } from "../../define-block-DyZiZQrx.js";
4
+ import { n as defineBlock } from "../../define-block-D3uNVp2k.js";
5
5
  import { t as identitiesSqlOptions } from "../../options-D5a9CHgP.js";
6
6
  // src/blocks/identities/identities.ts
7
7
  const KINDS = ["email", "chat"];
@@ -102,7 +102,7 @@ function redeemLink(transport, code, identity) {
102
102
  }
103
103
  // src/blocks/identities/manifest.ts
104
104
  /** The `identities` block's manifest (ADR 0029). */
105
- const identitiesBlock = defineBlock({
105
+ const identitiesBlock = /* @__PURE__ */ defineBlock({
106
106
  name: "identities",
107
107
  sql: ["identities"],
108
108
  options: { identities: identitiesSqlOptions },
@@ -5,8 +5,8 @@ import { ft as TableMeta } from "../../types-D5UNIbOQ.js";
5
5
  import { n as BlockHooks } from "../../block-hooks-xAMR6WdT.js";
6
6
  import { t as BlockTransport } from "../../block-transport-DBteddOY.js";
7
7
  import { n as Logger } from "../../logger-0LfhvwE4.js";
8
- import { ct as ImportsSqlOptions, lt as importsSqlOptions } from "../../blocks-C_ArClZU.js";
9
- import { c as BlockOf } from "../../define-block-DHOCtKKS.js";
8
+ import { ct as ImportsSqlOptions, lt as importsSqlOptions } from "../../blocks-EFj0duwB.js";
9
+ import { c as BlockOf } from "../../define-block-B2um61Uj.js";
10
10
  import { Dt as Events, tt as SaasEventData } from "../../events-X-Dhu495.js";
11
11
  import { StandardSchemaV1 } from "@standard-schema/spec";
12
12
  interface ImportColumn {
@@ -1,11 +1,11 @@
1
1
  import { n as parseCsv } from "../../csv-Bwn9insJ.js";
2
2
  import { n as validate } from "../../standard-BEYqhwCE.js";
3
- import { r as withBlockHooks } from "../../block-hooks-BIRJauOk.js";
3
+ import { r as withBlockHooks } from "../../block-hooks-Bd5bRM9B.js";
4
4
  import { a as ok, t as AsyncResult } from "../../result-DrBaeIVt.js";
5
5
  import { B as textOf, M as recordOrEmpty, N as recordsOf, P as requiredInstant, T as optionalText, b as nullableText, j as recordOf, o as blockCall, y as nullableInstant } from "../../block-helpers-BR1V7DN1.js";
6
6
  import { t as importsSqlOptions } from "../../options-CQmxsjZK.js";
7
- import { n as defineBlock } from "../../define-block-DyZiZQrx.js";
8
- import { n as event, t as defineEvents } from "../../event-map-DxfsFgQT.js";
7
+ import { n as defineBlock } from "../../define-block-D3uNVp2k.js";
8
+ import { n as event, t as defineEvents } from "../../event-map-DLajpFiJ.js";
9
9
  // src/blocks/imports/define-import.ts
10
10
  /** Registers an import. `runImport` calls `insert` in batches. */
11
11
  function defineImport(definition) {
@@ -423,14 +423,14 @@ function createImports(options) {
423
423
  }
424
424
  // src/blocks/imports/events.ts
425
425
  /** The `imports` block's event types, for its manifest and `onBlockEvent`. */
426
- const importsEvents = defineEvents({
427
- "import.completed": event(),
428
- "import.failed": event(),
429
- "import.entity_completed": event()
426
+ const importsEvents = /* @__PURE__ */ defineEvents({
427
+ "import.completed": /* @__PURE__ */ event(),
428
+ "import.failed": /* @__PURE__ */ event(),
429
+ "import.entity_completed": /* @__PURE__ */ event()
430
430
  });
431
431
  // src/blocks/imports/manifest.ts
432
432
  /** The `imports` block's manifest (ADR 0029). */
433
- const importsBlock = defineBlock({
433
+ const importsBlock = /* @__PURE__ */ defineBlock({
434
434
  name: "imports",
435
435
  sql: ["imports"],
436
436
  options: { imports: importsSqlOptions },
@@ -2,12 +2,12 @@ import { a as dbTransport, i as RpcClient, o as rpcTransport, s as sqlTransport,
2
2
  import { _ as InboxDraft, a as Inbox, b as InboxDraftStatus, c as InboxPatch, d as ScheduledMessageInput, f as SetupInboxInput, g as createInbox, h as TemplateInput, i as InboundInput, l as MessageInput, m as StartConversationInput, n as ConversationFilter, o as InboxHooks, p as SetupInboxResult, r as CreateInboxInput, s as InboxOptions, t as ContactInput, u as MessagePageOptions, v as InboxDraftInput, x as InboxDrafts, y as InboxDraftSource } from "../../inbox-CkUbmD3t.js";
3
3
  import { S as StoredInboundEvent, _ as MessageDirection, a as ConversationEvent, b as PurgedContact, c as DeliveryStatus, d as InboxCounts, f as InboxFileSource, g as MessageDelivery, h as InboxUpload, i as Conversation, l as InboundResult, m as InboxRow, n as BotMode, o as ConversationPriority, p as InboxMessage, r as Contact, s as ConversationStatus, t as AuthorType, u as InboxChannel, v as MessageTemplate, x as ScheduledInboxMessage, y as PendingInboxFile } from "../../types-CmbztHZL.js";
4
4
  import { d as MessageKind, p as MessageReaction, u as MessageFile } from "../../messaging-BURLOg2p.js";
5
- import { l as StoragePort } from "../../ports-zqXSEoFP.js";
6
- import { p as SubscriptionStatus } from "../../topic-EkhjfSPH.js";
7
- import { n as TopicPort } from "../../watch-topic-B4eLrVUl.js";
8
- import { n as Controller, t as AuthPort } from "../../controller-BHEUaOKo.js";
9
- import { n as InboxEvents, r as inboxEvents, t as inboxBlock } from "../../manifest-urrijhoM.js";
10
- import { gi as DefaultAutomation } from "../../define-block-DHOCtKKS.js";
5
+ import { l as StoragePort } from "../../ports-DT5zRdYx.js";
6
+ import { p as SubscriptionStatus } from "../../topic-fwPlelNI.js";
7
+ import { n as TopicPort } from "../../watch-topic-D4AzYs9E.js";
8
+ import { n as Controller, t as AuthPort } from "../../controller-BrTPi8Po.js";
9
+ import { n as InboxEvents, r as inboxEvents, t as inboxBlock } from "../../manifest-BFXybbMn.js";
10
+ import { yi as DefaultAutomation } from "../../define-block-B2um61Uj.js";
11
11
  export declare const INBOX_CHANNELS: readonly InboxChannel[];
12
12
  /** Loads one list, e.g. a server action that calls `inbox.conversations.list()`. */
13
13
  type InboxSource<T> = () => Promise<readonly T[]>;
@@ -1,5 +1,5 @@
1
1
  import { K as rpcTransport, W as dbTransport, q as sqlTransport } from "../../block-helpers-BR1V7DN1.js";
2
- import { i as inboxEvents, n as createInbox, r as INBOX_CHANNELS, t as inboxBlock } from "../../manifest-B0PJg-oT.js";
2
+ import { i as inboxEvents, n as createInbox, r as INBOX_CHANNELS, t as inboxBlock } from "../../manifest-Dj7bGfoy.js";
3
3
  import { n as whileSignedIn, t as defineController } from "../../controller-BJmh7gFm.js";
4
4
  import { n as INBOX_AUTOMATIONS, t as CONVERSATION_TO_TASK } from "../../automations-CkwKi84L.js";
5
5
  // src/blocks/inbox/client.ts
@@ -6,7 +6,7 @@ import { T as ErrorMapper, t as AsyncResult } from "../../result-CMqlHv82.js";
6
6
  import { n as Logger } from "../../logger-0LfhvwE4.js";
7
7
  import { t as StandardSchemaV1 } from "../../standard-CiOWpeZL.js";
8
8
  import { r as BlockTemporalOptions } from "../../block-helpers-YOdaCxWE.js";
9
- import { G as EntitySchema, c as BlockOf } from "../../define-block-DHOCtKKS.js";
9
+ import { G as EntitySchema, c as BlockOf } from "../../define-block-B2um61Uj.js";
10
10
  import { Dt as Events } from "../../events-X-Dhu495.js";
11
11
  interface IncidentsOptions<S extends StandardSchemaV1 | undefined = undefined> extends BlockTemporalOptions {
12
12
  readonly transport: BlockTransport;
@@ -1,11 +1,11 @@
1
1
  import { n as blockFields } from "../../block-fields-BKx78iez.js";
2
- import { i as wrapTransport, n as extendBlock, r as withBlockHooks } from "../../block-hooks-BIRJauOk.js";
2
+ import { i as wrapTransport, n as extendBlock, r as withBlockHooks } from "../../block-hooks-Bd5bRM9B.js";
3
3
  import { t as AsyncResult } from "../../result-DrBaeIVt.js";
4
4
  import { t as temporal } from "../../temporal-required-DK3ImZW6.js";
5
5
  import { B as textOf, C as optionalInstant, K as rpcTransport, N as recordsOf, P as requiredInstant, T as optionalText, W as dbTransport, d as enumOrThrow, j as recordOf, m as instantArg, n as applyTemporal, o as blockCall, q as sqlTransport } from "../../block-helpers-BR1V7DN1.js";
6
6
  import { n as isRecord } from "../../guards-CsRa6v57.js";
7
- import { n as defineBlock } from "../../define-block-DyZiZQrx.js";
8
- import { n as event, t as defineEvents } from "../../event-map-DxfsFgQT.js";
7
+ import { n as defineBlock } from "../../define-block-D3uNVp2k.js";
8
+ import { n as event, t as defineEvents } from "../../event-map-DLajpFiJ.js";
9
9
  import { t as incidentsSqlOptions } from "../../options-BmFSI07A.js";
10
10
  import { n as entitySchema } from "../../entity-schema-DEIz0I8i.js";
11
11
  // src/blocks/incidents/incidents.ts
@@ -373,14 +373,14 @@ function createIncidents(options) {
373
373
  }
374
374
  // src/blocks/incidents/events.ts
375
375
  /** The `incidents` block's event types, for its manifest and `onBlockEvent`. */
376
- const incidentsEvents = defineEvents({
377
- "incident.opened": event(),
378
- "incident.updated": event(),
379
- "incident.resolved": event(),
380
- "incident_postmortem.published": event(),
381
- "incident_profile.updated": event(),
382
- "incident_filing.submitted": event(),
383
- "status_component.changed": event()
376
+ const incidentsEvents = /* @__PURE__ */ defineEvents({
377
+ "incident.opened": /* @__PURE__ */ event(),
378
+ "incident.updated": /* @__PURE__ */ event(),
379
+ "incident.resolved": /* @__PURE__ */ event(),
380
+ "incident_postmortem.published": /* @__PURE__ */ event(),
381
+ "incident_profile.updated": /* @__PURE__ */ event(),
382
+ "incident_filing.submitted": /* @__PURE__ */ event(),
383
+ "status_component.changed": /* @__PURE__ */ event()
384
384
  });
385
385
  // src/blocks/incidents/schemas.ts
386
386
  const SEVERITIES = [
@@ -552,7 +552,7 @@ const statusPageInputSchema = entitySchema({
552
552
  });
553
553
  // src/blocks/incidents/manifest.ts
554
554
  /** The `incidents` block's manifest (ADR 0029). */
555
- const incidentsBlock = defineBlock({
555
+ const incidentsBlock = /* @__PURE__ */ defineBlock({
556
556
  name: "incidents",
557
557
  sql: ["incidents"],
558
558
  options: { incidents: incidentsSqlOptions },
@@ -1,20 +1,20 @@
1
1
  /// <reference lib="esnext.temporal" />
2
- import { $ as BlockMap, C as BlockWorker, G as EntitySchema, J as entitySchema, K as EntitySchemaSpec, Q as BlockContext, S as BlockWiring, U as BlockSchemas, W as EntityFieldSpecs, X as BlockClientOptions, Y as BLOCK_EVENT_SOURCE, Z as BlockClientSource, _ as ProvidedPorts, _r as EntityNoun, a as BlockConsumes, at as CreateBlocksOptions, b as BlockEnvKey, c as BlockOf, ct as createBlocks, d as ClientOf, dr as GeneratedBlocks, dt as Notifier, et as BlockSet, f as ComposedParts, fr as fillTopic, ft as NotifierInput, g as PartDefaults, gr as EntityNames, h as PartClients, hr as blockNames, i as BlockCategory, it as BlocksHooks, l as BlockOptionSchemas, lt as defineBlocks, m as ConsumedPorts, mr as BlockNaming, n as BLOCK_CATEGORIES, nt as Blocks, o as BlockDefinition, ot as UniquePort, p as CompositeOptions, pr as generatedOptions, pt as PortName, q as EntitySchemas, r as Block, rt as BlocksEventMap, s as BlockInvalidates, st as createBlockClient, t as AnyBlock, tt as BlockSinks, u as BlockProvides, ur as GeneratedBlock, ut as BlockPorts, v as UsingOptions, vr as EntityRename, w as AnyRecordBinding, x as BlockProvider, y as defineBlock, yr as entityNames } from "../define-block-DHOCtKKS.js";
2
+ import { $ as BlockMap, C as BlockWorker, G as EntitySchema, J as entitySchema, K as EntitySchemaSpec, Q as BlockContext, S as BlockWiring, Sr as entityNames, U as BlockSchemas, W as EntityFieldSpecs, X as BlockClientOptions, Y as BLOCK_EVENT_SOURCE, Z as BlockClientSource, _ as ProvidedPorts, _r as BlockNaming, a as BlockConsumes, at as CreateBlocksOptions, b as BlockEnvKey, br as EntityNoun, c as BlockOf, ct as createBlocks, d as ClientOf, dr as GeneratedBlocks, dt as Notifier, et as BlockSet, f as ComposedParts, fr as GeneratedFields, ft as NotifierInput, g as PartDefaults, gr as columnsSchema, h as PartClients, hr as ColumnsOutput, i as BlockCategory, it as BlocksHooks, l as BlockOptionSchemas, lt as defineBlocks, m as ConsumedPorts, mr as generatedOptions, n as BLOCK_CATEGORIES, nt as Blocks, o as BlockDefinition, ot as UniquePort, p as CompositeOptions, pr as fillTopic, pt as PortName, q as EntitySchemas, r as Block, rt as BlocksEventMap, s as BlockInvalidates, st as createBlockClient, t as AnyBlock, tt as BlockSinks, u as BlockProvides, ur as GeneratedBlock, ut as BlockPorts, v as UsingOptions, vr as blockNames, w as AnyRecordBinding, x as BlockProvider, xr as EntityRename, y as defineBlock, yr as EntityNames } from "../define-block-B2um61Uj.js";
3
3
  import { b as DbError, t as AsyncResult } from "../result-CMqlHv82.js";
4
- import { i as defineCompositeReadSet, n as CompositeReadSet, r as compositeReadSet, t as CompositeReadEntry } from "../composite-reads-BIUJE_Rs.js";
5
- import { At as BlockOptionsSchema, Bt as optionsJsonSchema, Ft as OptionKind, It as OptionSpec, Lt as OptionSpecs, Mt as NO_OPTIONS, Nt as OptionBuilders, Pt as OptionInput, Rt as blockOptions, jt as ExtraColumns, zt as option } from "../blocks-C_ArClZU.js";
4
+ import { i as defineCompositeReadSet, n as CompositeReadSet, r as compositeReadSet, t as CompositeReadEntry } from "../composite-reads-CEI-IJ5A.js";
5
+ import { At as BlockOptionsSchema, Bt as optionsJsonSchema, Ft as OptionKind, It as OptionSpec, Lt as OptionSpecs, Mt as NO_OPTIONS, Nt as OptionBuilders, Pt as OptionInput, Rt as blockOptions, jt as ExtraColumns, zt as option } from "../blocks-EFj0duwB.js";
6
6
  import { t as onBlockEvent } from "../block-event-listener-CaR-FW5X.js";
7
7
  import { t as subjectKey } from "../block-subjects-B8PmdWEd.js";
8
8
  import { c as BlockTenant, i as CursorPageOptions, n as BlockOptions, s as BlockTenantOptions } from "../block-helpers-YOdaCxWE.js";
9
9
  import { et as RecordRef } from "../types-D5UNIbOQ.js";
10
10
  import { a as dbTransport, i as RpcClient, n as DbTransportOptions, o as rpcTransport, r as DbTransportSource, s as sqlTransport, t as BlockTransport } from "../block-transport-DBteddOY.js";
11
- import { t as BlockEnv } from "../block-env-CvQj4rbD.js";
11
+ import { t as BlockEnv } from "../block-env-BLBr90is.js";
12
12
  import { t as VisibleRange } from "../range-BN3kpJAE.js";
13
13
  import { At as event, Dt as Events, Et as EventSpec, Tt as EventMapOf, jt as mergeEvents, kt as defineEvents, w as BlockEmit, wt as EventMap } from "../events-X-Dhu495.js";
14
14
  import { a as BlockTransportMiddleware, c as ExtendBlockTools, d as extendBlock, f as withBlockHooks, i as BlockMethodName, l as WithBlockHooksOptions, n as BlockHooks, o as BlockTransportRequest, p as wrapTransport, r as BlockMethodHooks, s as ExtendBlockOptions, t as BlockHookInfo, u as defineTransportMiddleware } from "../block-hooks-xAMR6WdT.js";
15
15
  import { n as FinalRunState, r as RunState, t as FINAL_RUN_STATES } from "../run-state-D0Tbl-nM.js";
16
16
  import { a as WithExtraFields, n as ExtraFields, o as blockFields, r as FieldsOf, t as BlockFields } from "../block-fields-Cq2MlJJD.js";
17
- import { at as blockRead, nt as BlockRead } from "../db-blocks-CFqt-e4_.js";
17
+ import { at as blockRead, nt as BlockRead } from "../db-blocks-Dp-4qbYN.js";
18
18
  /** The hint codes each block's errors can carry, by block name. */
19
19
  interface BlockHints {
20
20
  readonly "access-requests": "ACCESS_DURATION_INVALID" | "ACCESS_NOT_GRANTED" | "ACCESS_REQUEST_FORBIDDEN" | "ACCESS_REQUEST_NOT_FOUND" | "ACCESS_REQUEST_PENDING" | "ACCESS_REQUEST_REASON_REQUIRED" | "ACCESS_REQUEST_RECORD_INVALID" | "ACCESS_REQUEST_REVIEW_INVALID" | "ACCESS_ROLE_HELD" | "ACCESS_ROLE_INVALID" | "ACCESS_SIGN_IN" | "ACTOR_READ_ONLY";
@@ -350,4 +350,4 @@ interface AppTableEventData {
350
350
  /** The values of the columns in `events.include`. */
351
351
  readonly [column: string]: unknown;
352
352
  }
353
- export { type AnyBlock, type AppTableEventData, BLOCK_CATEGORIES, BLOCK_EVENT_SOURCE, type Block, type BlockCategory, type BlockClientOptions, type BlockClientSource, type BlockConsumes, type BlockContext, type BlockDefinition, type BlockEmit, type BlockEnv, type BlockEnvKey, type BlockFields, type BlockHint, type BlockHints, type BlockHookInfo, type BlockHooks, type BlockInvalidates, type BlockMap, type BlockMethodHooks, type BlockMethodName, type BlockNaming, type BlockOf, type BlockOptionSchemas, type BlockOptions, type BlockOptionsSchema, type BlockPorts, type BlockProvider, type BlockProvides, type BlockRead, type BlockSchemas, type BlockSet, type BlockSinks, type BlockTenant, type BlockTenantOptions, type BlockTransport, type BlockTransportMiddleware, type BlockTransportRequest, type BlockWiring, type BlockWorker, type Blocks, type BlocksEventMap, type BlocksHooks, type ClientOf, type ComposedParts, type CompositeOptions, type CompositeReadEntry, type CompositeReadSet, type ConsumedPorts, type CreateBlocksOptions, type CursorPageOptions, type DbTransportOptions, type DbTransportSource, type EntityFieldSpecs, type EntityNames, type EntityNoun, type EntityRename, type EntitySchema, type EntitySchemaSpec, type EntitySchemas, type EnvBlockOptions, type EventMap, type EventMapOf, type EventRenamesOf, type EventSpec, type Events, type ExtendBlockOptions, type ExtendBlockTools, type ExtraColumns, type ExtraFields, FINAL_RUN_STATES, type FieldsOf, type FinalRunState, type GeneratedBlock, type GeneratedBlocks, NO_OPTIONS, type Notifier, type NotifierInput, type NounRename, type NounRenames, type OptionBuilders, type OptionInput, type OptionKind, type OptionSpec, type OptionSpecs, type PartClients, type PartDefaults, type PortName, type ProvidedPorts, type RecordRef, type RenameKey, type RenamedBlock, type RenamedClient, type RenamedEvents, type RenamedOptions, type RenamedType, type RenamesOf, type RpcClient, type RunState, type UniquePort, type UsingOptions, type VisibleRange, type WithBlockHooksOptions, type WithExtraFields, blockFields, blockNames, blockOptions, blockRead, compositeReadSet, createBlockClient, createBlocks, dbTransport, defineBlock, defineBlocks, defineCompositeReadSet, defineEvents, defineTransportMiddleware, entityNames, entitySchema, event, extendBlock, fillTopic, generatedOptions, mergeEvents, onBlockEvent, option, optionsJsonSchema, rpcTransport, sqlTransport, subjectKey, withBlockHooks, wrapTransport };
353
+ export { type AnyBlock, type AppTableEventData, BLOCK_CATEGORIES, BLOCK_EVENT_SOURCE, type Block, type BlockCategory, type BlockClientOptions, type BlockClientSource, type BlockConsumes, type BlockContext, type BlockDefinition, type BlockEmit, type BlockEnv, type BlockEnvKey, type BlockFields, type BlockHint, type BlockHints, type BlockHookInfo, type BlockHooks, type BlockInvalidates, type BlockMap, type BlockMethodHooks, type BlockMethodName, type BlockNaming, type BlockOf, type BlockOptionSchemas, type BlockOptions, type BlockOptionsSchema, type BlockPorts, type BlockProvider, type BlockProvides, type BlockRead, type BlockSchemas, type BlockSet, type BlockSinks, type BlockTenant, type BlockTenantOptions, type BlockTransport, type BlockTransportMiddleware, type BlockTransportRequest, type BlockWiring, type BlockWorker, type Blocks, type BlocksEventMap, type BlocksHooks, type ClientOf, type ColumnsOutput, type ComposedParts, type CompositeOptions, type CompositeReadEntry, type CompositeReadSet, type ConsumedPorts, type CreateBlocksOptions, type CursorPageOptions, type DbTransportOptions, type DbTransportSource, type EntityFieldSpecs, type EntityNames, type EntityNoun, type EntityRename, type EntitySchema, type EntitySchemaSpec, type EntitySchemas, type EnvBlockOptions, type EventMap, type EventMapOf, type EventRenamesOf, type EventSpec, type Events, type ExtendBlockOptions, type ExtendBlockTools, type ExtraColumns, type ExtraFields, FINAL_RUN_STATES, type FieldsOf, type FinalRunState, type GeneratedBlock, type GeneratedBlocks, type GeneratedFields, NO_OPTIONS, type Notifier, type NotifierInput, type NounRename, type NounRenames, type OptionBuilders, type OptionInput, type OptionKind, type OptionSpec, type OptionSpecs, type PartClients, type PartDefaults, type PortName, type ProvidedPorts, type RecordRef, type RenameKey, type RenamedBlock, type RenamedClient, type RenamedEvents, type RenamedOptions, type RenamedType, type RenamesOf, type RpcClient, type RunState, type UniquePort, type UsingOptions, type VisibleRange, type WithBlockHooksOptions, type WithExtraFields, blockFields, blockNames, blockOptions, blockRead, columnsSchema, compositeReadSet, createBlockClient, createBlocks, dbTransport, defineBlock, defineBlocks, defineCompositeReadSet, defineEvents, defineTransportMiddleware, entityNames, entitySchema, event, extendBlock, fillTopic, generatedOptions, mergeEvents, onBlockEvent, option, optionsJsonSchema, rpcTransport, sqlTransport, subjectKey, withBlockHooks, wrapTransport };
@@ -1,19 +1,19 @@
1
- import { a as fillTopic, c as renameKeys, i as defineBlocks, n as createBlockClient, o as generatedOptions, r as createBlocks, s as blockNames, t as BLOCK_EVENT_SOURCE } from "../create-blocks-C6Ty49vp.js";
2
- import { n as defineBlock, t as BLOCK_CATEGORIES } from "../define-block-DyZiZQrx.js";
3
- import { n as defineCompositeReadSet, t as compositeReadSet } from "../composite-reads-MV2aCxBz.js";
1
+ import { a as fillTopic, c as blockNames, i as defineBlocks, l as renameKeys, n as createBlockClient, o as generatedOptions, r as createBlocks, s as columnsSchema, t as BLOCK_EVENT_SOURCE } from "../create-blocks-CkhSm4iX.js";
2
+ import { n as defineBlock, t as BLOCK_CATEGORIES } from "../define-block-D3uNVp2k.js";
3
+ import { n as defineCompositeReadSet, t as compositeReadSet } from "../composite-reads-B99Cfmcf.js";
4
4
  import { i as optionsJsonSchema, n as blockOptions, r as option, t as NO_OPTIONS } from "../options-Z-bd_H1E.js";
5
5
  import { i as entityNames } from "../entity-naming-BES3pkQI.js";
6
6
  import { r as subjectKey } from "../block-subjects-DgWgoNtn.js";
7
- import { i as wrapTransport, n as extendBlock, r as withBlockHooks, t as defineTransportMiddleware } from "../block-hooks-BIRJauOk.js";
7
+ import { i as wrapTransport, n as extendBlock, r as withBlockHooks, t as defineTransportMiddleware } from "../block-hooks-Bd5bRM9B.js";
8
8
  import { K as rpcTransport, W as dbTransport, q as sqlTransport } from "../block-helpers-BR1V7DN1.js";
9
9
  import { t as AsyncResult } from "../result-DrBaeIVt.js";
10
10
  import { n as isRecord, t as isList } from "../guards-CsRa6v57.js";
11
11
  import { n as entitySchema, t as ENTITY_SCHEMA_KINDS } from "../entity-schema-DEIz0I8i.js";
12
- import { n as event, r as mergeEvents, t as defineEvents } from "../event-map-DxfsFgQT.js";
12
+ import { n as event, r as mergeEvents, t as defineEvents } from "../event-map-DLajpFiJ.js";
13
13
  import { t as onBlockEvent } from "../block-event-listener-iD8R2IRl.js";
14
14
  import { t as FINAL_RUN_STATES } from "../run-state-DGiyDQxH.js";
15
15
  import { n as blockFields } from "../block-fields-BKx78iez.js";
16
- import { u as blockRead } from "../read-set-Vqn_XdqV.js";
16
+ import { u as blockRead } from "../read-set-4EsAPjII.js";
17
17
  // src/blocks/block-hints.ts
18
18
  /**
19
19
  * Whether `error` carries one of `hints`, narrowing its `hint` to them:
@@ -222,9 +222,10 @@ function renamed(block, renamer, names, events) {
222
222
  using: (next) => renamed(block.using(next), renamer, names, events)
223
223
  };
224
224
  }
225
+ /*#__NO_SIDE_EFFECTS__*/
225
226
  function renameBlock(block, names) {
226
227
  const entities = entityNames(names?.entities);
227
228
  const events = entityNames([...names?.events ?? [], ...names?.entities ?? []]);
228
229
  return entities.renamed ? renamed(block, new Renamer(entities), entities, events) : block;
229
230
  }
230
- export { BLOCK_CATEGORIES, BLOCK_EVENT_SOURCE, FINAL_RUN_STATES, NO_OPTIONS, blockFields, blockHint, blockNames, blockOptions, blockRead, compositeReadSet, createBlockClient, createBlocks, dbTransport, defineBlock, defineBlocks, defineCompositeReadSet, defineEvents, defineTransportMiddleware, entityNames, entitySchema, envBlockOptions, envBlockSettings, event, extendBlock, fillTopic, generatedOptions, isBlockHint, mergeEvents, onBlockEvent, option, optionsJsonSchema, renameBlock, rpcTransport, sqlTransport, subjectKey, withBlockHooks, wrapTransport };
231
+ export { BLOCK_CATEGORIES, BLOCK_EVENT_SOURCE, FINAL_RUN_STATES, NO_OPTIONS, blockFields, blockHint, blockNames, blockOptions, blockRead, columnsSchema, compositeReadSet, createBlockClient, createBlocks, dbTransport, defineBlock, defineBlocks, defineCompositeReadSet, defineEvents, defineTransportMiddleware, entityNames, entitySchema, envBlockOptions, envBlockSettings, event, extendBlock, fillTopic, generatedOptions, isBlockHint, mergeEvents, onBlockEvent, option, optionsJsonSchema, renameBlock, rpcTransport, sqlTransport, subjectKey, withBlockHooks, wrapTransport };
@@ -6,9 +6,9 @@ import { t as AsyncResult } from "../../result-CMqlHv82.js";
6
6
  import { t as StandardSchemaV1 } from "../../standard-CiOWpeZL.js";
7
7
  import { n as BlockOptions } from "../../block-helpers-YOdaCxWE.js";
8
8
  import { a as dbTransport, i as RpcClient, o as rpcTransport, s as sqlTransport, t as BlockTransport } from "../../block-transport-DBteddOY.js";
9
- import { G as EntitySchema, c as BlockOf } from "../../define-block-DHOCtKKS.js";
9
+ import { G as EntitySchema, c as BlockOf } from "../../define-block-B2um61Uj.js";
10
10
  import { Dt as Events } from "../../events-X-Dhu495.js";
11
- import { ot as InspectionsSqlOptions, st as inspectionsSqlOptions } from "../../blocks-C_ArClZU.js";
11
+ import { ot as InspectionsSqlOptions, st as inspectionsSqlOptions } from "../../blocks-EFj0duwB.js";
12
12
  /** Where an audit programme stands. */
13
13
  declare const INSPECTION_PROGRAM_STATUSES: readonly ["draft", "approved", "closed"];
14
14
  /** Where an inspection stands. */
@@ -1,12 +1,12 @@
1
1
  import { n as blockFields } from "../../block-fields-BKx78iez.js";
2
- import { i as wrapTransport, n as extendBlock, r as withBlockHooks } from "../../block-hooks-BIRJauOk.js";
2
+ import { i as wrapTransport, n as extendBlock, r as withBlockHooks } from "../../block-hooks-Bd5bRM9B.js";
3
3
  import { t as requireTenant } from "../../block-tenant-DHvDBWgF.js";
4
4
  import { t as temporal } from "../../temporal-required-DK3ImZW6.js";
5
5
  import { a as INSPECTION_PROGRAM_STATUSES, i as INSPECTION_MEMBER_ROLES, o as INSPECTION_STATUSES, s as inspectionsSqlOptions } from "../../inspections-values-Djv5fqaw.js";
6
6
  import { B as textOf, C as optionalInstant, K as rpcTransport, N as recordsOf, P as requiredInstant, T as optionalText, W as dbTransport, d as enumOrThrow, j as recordOf, n as applyTemporal, o as blockCall, q as sqlTransport } from "../../block-helpers-BR1V7DN1.js";
7
7
  import { n as isRecord } from "../../guards-CsRa6v57.js";
8
- import { n as defineBlock } from "../../define-block-DyZiZQrx.js";
9
- import { n as event, t as defineEvents } from "../../event-map-DxfsFgQT.js";
8
+ import { n as defineBlock } from "../../define-block-D3uNVp2k.js";
9
+ import { n as event, t as defineEvents } from "../../event-map-DLajpFiJ.js";
10
10
  import { n as entitySchema } from "../../entity-schema-DEIz0I8i.js";
11
11
  // src/blocks/inspections/inspections.ts
12
12
  function optional(key, value) {
@@ -214,21 +214,21 @@ function createInspections(options) {
214
214
  }
215
215
  // src/blocks/inspections/events.ts
216
216
  /** The `inspections` block's event types, for its manifest and `onBlockEvent`. */
217
- const inspectionsEvents = defineEvents({
218
- "inspection_program.created": event(),
219
- "inspection_program.updated": event(),
220
- "inspection_program.approved": event(),
221
- "inspection_program.closed": event(),
222
- "inspection.scheduled": event(),
223
- "inspection.updated": event(),
224
- "inspection.started": event(),
225
- "inspection.completed": event(),
226
- "inspection.closed": event(),
227
- "inspection.cancelled": event(),
228
- "inspection_finding.created": event(),
229
- "inspection_finding.updated": event(),
230
- "inspection_finding.deleted": event(),
231
- "inspection_finding.case_raised": event()
217
+ const inspectionsEvents = /* @__PURE__ */ defineEvents({
218
+ "inspection_program.created": /* @__PURE__ */ event(),
219
+ "inspection_program.updated": /* @__PURE__ */ event(),
220
+ "inspection_program.approved": /* @__PURE__ */ event(),
221
+ "inspection_program.closed": /* @__PURE__ */ event(),
222
+ "inspection.scheduled": /* @__PURE__ */ event(),
223
+ "inspection.updated": /* @__PURE__ */ event(),
224
+ "inspection.started": /* @__PURE__ */ event(),
225
+ "inspection.completed": /* @__PURE__ */ event(),
226
+ "inspection.closed": /* @__PURE__ */ event(),
227
+ "inspection.cancelled": /* @__PURE__ */ event(),
228
+ "inspection_finding.created": /* @__PURE__ */ event(),
229
+ "inspection_finding.updated": /* @__PURE__ */ event(),
230
+ "inspection_finding.deleted": /* @__PURE__ */ event(),
231
+ "inspection_finding.case_raised": /* @__PURE__ */ event()
232
232
  });
233
233
  // src/blocks/inspections/schemas.ts
234
234
  /** What `saveProgram` takes. */
@@ -375,7 +375,7 @@ const inspectionFindingInputSchema = entitySchema({
375
375
  });
376
376
  // src/blocks/inspections/manifest.ts
377
377
  /** The `inspections` block's manifest (ADR 0029, ADR 0132). */
378
- const inspectionsBlock = defineBlock({
378
+ const inspectionsBlock = /* @__PURE__ */ defineBlock({
379
379
  name: "inspections",
380
380
  sql: ["inspections"],
381
381
  options: { inspections: inspectionsSqlOptions },
@@ -1,4 +1,4 @@
1
- import { $ as RequisitionStatus, A as BinInput, B as StockValuation, C as TransferLine, D as AllocationInput, E as Allocation, F as Lot, G as InventoryLowStock, H as TrackingMode, I as StockBucket, J as PurchaseRequisition, K as InventoryOverview, L as StockItem, M as CostingMethod, N as ExpiringLot, O as AllocationStatus, P as InventoryTracking, Q as RequisitionLineInput, R as StockItemInput, S as TransferInput, T as ALLOCATION_STATUSES, U as InventoryReads, V as TRACKING_MODES, W as InventoryExpiringLot, X as RequisitionInput, Y as REQUISITION_STATUSES, Z as RequisitionLine, _ as ReserveInput, a as InventoryOptions, at as OpenCountInput, b as StockCount, c as LocationInput, ct as inventoryCounts, d as PurchaseOrderInput, et as COUNT_STATUSES, f as PurchaseOrderLine, g as Reservation, h as ReceiptLine, i as Inventory, it as InventoryCounts, j as COSTING_METHODS, k as Bin, l as LocationKind, lt as InventoryEvents, m as Receipt, n as ADJUST_REASONS, nt as CountLineInput, o as LOCATION_KINDS, ot as OpenedCount, p as PurchaseOrderStatus, q as InventoryProcurement, r as AdjustReason, rt as CountStatus, s as LocationAddress, st as PostedCount, t as inventoryBlock, tt as CountLine, u as PURCHASE_ORDER_STATUSES, ut as inventoryEvents, v as SavedLocation, w as createInventory, x as StockLine, y as StockChange, z as StockLevelDetail } from "../../manifest-D-D1xDw2.js";
1
+ import { $ as RequisitionStatus, A as BinInput, B as StockValuation, C as TransferLine, D as AllocationInput, E as Allocation, F as Lot, G as InventoryLowStock, H as TrackingMode, I as StockBucket, J as PurchaseRequisition, K as InventoryOverview, L as StockItem, M as CostingMethod, N as ExpiringLot, O as AllocationStatus, P as InventoryTracking, Q as RequisitionLineInput, R as StockItemInput, S as TransferInput, T as ALLOCATION_STATUSES, U as InventoryReads, V as TRACKING_MODES, W as InventoryExpiringLot, X as RequisitionInput, Y as REQUISITION_STATUSES, Z as RequisitionLine, _ as ReserveInput, a as InventoryOptions, at as OpenCountInput, b as StockCount, c as LocationInput, ct as inventoryCounts, d as PurchaseOrderInput, et as COUNT_STATUSES, f as PurchaseOrderLine, g as Reservation, h as ReceiptLine, i as Inventory, it as InventoryCounts, j as COSTING_METHODS, k as Bin, l as LocationKind, lt as InventoryEvents, m as Receipt, n as ADJUST_REASONS, nt as CountLineInput, o as LOCATION_KINDS, ot as OpenedCount, p as PurchaseOrderStatus, q as InventoryProcurement, r as AdjustReason, rt as CountStatus, s as LocationAddress, st as PostedCount, t as inventoryBlock, tt as CountLine, u as PURCHASE_ORDER_STATUSES, ut as inventoryEvents, v as SavedLocation, w as createInventory, x as StockLine, y as StockChange, z as StockLevelDetail } from "../../manifest-BpiZFLbl.js";
2
2
  import { a as BlockTransportMiddleware, d as extendBlock, f as withBlockHooks, n as BlockHooks, p as wrapTransport } from "../../block-hooks-xAMR6WdT.js";
3
3
  import { t as StockDetail } from "../../stock-detail-BRIt7CjU.js";
4
4
  import { a as dbTransport, i as RpcClient, o as rpcTransport, s as sqlTransport, t as BlockTransport } from "../../block-transport-DBteddOY.js";
@@ -1,4 +1,4 @@
1
- import { a as createInventory, c as TRACKING_MODES, d as inventoryCounts, f as inventoryEvents, i as PURCHASE_ORDER_STATUSES, l as REQUISITION_STATUSES, n as ADJUST_REASONS, o as ALLOCATION_STATUSES, r as LOCATION_KINDS, s as COSTING_METHODS, t as inventoryBlock, u as COUNT_STATUSES } from "../../manifest-BvTS58t8.js";
2
- import { i as wrapTransport, n as extendBlock, r as withBlockHooks } from "../../block-hooks-BIRJauOk.js";
1
+ import { a as createInventory, c as TRACKING_MODES, d as inventoryCounts, f as inventoryEvents, i as PURCHASE_ORDER_STATUSES, l as REQUISITION_STATUSES, n as ADJUST_REASONS, o as ALLOCATION_STATUSES, r as LOCATION_KINDS, s as COSTING_METHODS, t as inventoryBlock, u as COUNT_STATUSES } from "../../manifest-BUktyXMR.js";
2
+ import { i as wrapTransport, n as extendBlock, r as withBlockHooks } from "../../block-hooks-Bd5bRM9B.js";
3
3
  import { K as rpcTransport, W as dbTransport, q as sqlTransport } from "../../block-helpers-BR1V7DN1.js";
4
4
  export { ADJUST_REASONS, ALLOCATION_STATUSES, COSTING_METHODS, COUNT_STATUSES, LOCATION_KINDS, PURCHASE_ORDER_STATUSES, REQUISITION_STATUSES, TRACKING_MODES, createInventory, dbTransport, extendBlock, inventoryBlock, inventoryCounts, inventoryEvents, rpcTransport, sqlTransport, withBlockHooks, wrapTransport };
@@ -3,6 +3,6 @@ import { a as dbTransport, i as RpcClient, o as rpcTransport, s as sqlTransport,
3
3
  import { a as BlockTransportMiddleware, d as extendBlock, f as withBlockHooks, n as BlockHooks, p as wrapTransport } from "../../block-hooks-xAMR6WdT.js";
4
4
  import { i as Totals, n as Line, r as LineInput } from "../../sales-lines-C7kECFEA.js";
5
5
  import { A as InvoiceTotalsSnapshot, B as EInvoiceDeliveryState, C as InvoiceApproval, D as InvoiceOpenItems, E as InvoiceApprovalStatus, F as PaymentAllocation, G as InvoiceEDelivery, H as EInvoicePartyKind, I as PaymentAllocationInput, K as ReceiveEInvoicesOptions, L as PaymentAllocationLine, M as OpenItemAgeing, N as OpenItemBucket, O as InvoiceTotalsCorrection, P as OpenItemSide, R as EInvoiceDelivery, S as InvoiceAllocation, St as PartyPaymentInput, T as InvoiceApprovalLevelInput, U as EInvoiceReceipt, V as EInvoiceEndpoints, W as EInvoiceSync, _ as InvoiceSource, _t as InvoiceDunningRun, a as InvoiceDirection, b as ReadySource, bt as InvoicePaymentTerms, c as InvoiceMatchLine, d as InvoicePayment, dt as InvoiceCollection, f as InvoiceStatus, ft as InvoiceCollections, g as createInvoices, gt as InvoiceDunningLevelInput, h as InvoicesOptions, ht as InvoiceDunningLevel, i as InvoiceCharge, j as OpenItem, k as InvoiceTotalsRepair, l as InvoiceMatchStatus, m as Invoices, mt as InvoiceDunningHistoryEntry, n as InvoiceActorOptions, o as InvoiceInput, p as InvoiceWarning, pt as InvoiceDunning, q as SendEInvoiceOptions, r as InvoiceAging, s as InvoiceMatch, t as Invoice, u as InvoicePatch, v as InvoiceSources, vt as InvoiceDunningRunCustomer, w as InvoiceApprovalLevel, x as SourceInvoice, xt as PartyPayment, y as InvoicedSources, yt as InvoiceDunningRunItem, z as EInvoiceDeliveryRecord } from "../../invoices-D-j6pUMy.js";
6
- import { n as InvoicesEvents, r as invoicesEvents, t as invoicesBlock } from "../../manifest-DKqcq-LB.js";
6
+ import { n as InvoicesEvents, r as invoicesEvents, t as invoicesBlock } from "../../manifest-C_ZDkBv4.js";
7
7
  import "../../index-DeSJDZGk.js";
8
8
  export { type BlockHooks, type BlockTransport, type BlockTransportMiddleware, type EInvoiceDelivery, type EInvoiceDeliveryRecord, type EInvoiceDeliveryState, type EInvoiceEndpoints, type EInvoicePartyKind, type EInvoiceReceipt, type EInvoiceSync, type Invoice, type InvoiceActorOptions, type InvoiceAging, type InvoiceAllocation, type InvoiceApproval, type InvoiceApprovalLevel, type InvoiceApprovalLevelInput, type InvoiceApprovalStatus, type InvoiceCharge, type InvoiceCollection, type InvoiceCollections, type InvoiceDirection, type InvoiceDunning, type InvoiceDunningHistoryEntry, type InvoiceDunningLevel, type InvoiceDunningLevelInput, type InvoiceDunningRun, type InvoiceDunningRunCustomer, type InvoiceDunningRunItem, type InvoiceEDelivery, type InvoiceInput, type InvoiceMatch, type InvoiceMatchLine, type InvoiceMatchStatus, type InvoiceOpenItems, type InvoicePatch, type InvoicePayment, type InvoicePaymentTerms, type InvoiceSource, type InvoiceSources, type InvoiceStatus, type InvoiceTotalsCorrection, type InvoiceTotalsRepair, type InvoiceTotalsSnapshot, type InvoiceWarning, type InvoicedSources, type Invoices, type InvoicesEvents, type InvoicesOptions, type Line, type LineInput, type OpenItem, type OpenItemAgeing, type OpenItemBucket, type OpenItemSide, type PartyPayment, type PartyPaymentInput, type PaymentAllocation, type PaymentAllocationInput, type PaymentAllocationLine, type ReadySource, type ReceiveEInvoicesOptions, type RecordRef, type RpcClient, type SendEInvoiceOptions, type SourceInvoice, type Totals, createInvoices, dbTransport, extendBlock, invoicesBlock, invoicesEvents, rpcTransport, sqlTransport, withBlockHooks, wrapTransport };