better-supabase 0.55.0 → 0.57.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 (400) hide show
  1. package/dist/{agents-CBXJce8J.d.ts → agents-BXjBzFlb.d.ts} +2 -2
  2. package/dist/{ai-schedules-CtwkMJDZ.d.ts → ai-schedules-F9MS-bie.d.ts} +1 -1
  3. package/dist/ai-sdk/agents/index.d.ts +1 -1
  4. package/dist/ai-sdk/workflow/index.d.ts +1 -1
  5. package/dist/{app-tables-BsDmauWB.d.ts → app-tables-DypEnAID.d.ts} +1 -1
  6. package/dist/{authorization-DK7YSiFV.d.ts → authorization-CRKL2OFQ.d.ts} +1 -1
  7. package/dist/{bind-DiGmjHzz.d.ts → bind-DEPqZLwv.d.ts} +3 -3
  8. package/dist/{block-env-BTKZBCL4.d.ts → block-env-CAdE4Q5v.d.ts} +4 -4
  9. package/dist/{block-subjects-BoJrJAgR.js → block-subjects-B9hb1LLk.js} +2 -2
  10. package/dist/{block-tables-B6Jt0mWg.d.ts → block-tables-BATer_QF.d.ts} +1 -1
  11. package/dist/blocks/access-requests/index.d.ts +1 -1
  12. package/dist/blocks/accounting/index.d.ts +1 -1
  13. package/dist/blocks/acknowledgements/index.d.ts +1 -1
  14. package/dist/blocks/activities/index.d.ts +2 -2
  15. package/dist/blocks/advisories/index.d.ts +1 -1
  16. package/dist/blocks/agent-checkout/index.d.ts +1 -1
  17. package/dist/blocks/agents/index.d.ts +1 -1
  18. package/dist/blocks/ai-cache/index.d.ts +1 -1
  19. package/dist/blocks/ai-chat/index.d.ts +1 -1
  20. package/dist/blocks/ai-evals/index.d.ts +1 -1
  21. package/dist/blocks/ai-files/index.d.ts +1 -1
  22. package/dist/blocks/ai-guardrails/index.d.ts +1 -1
  23. package/dist/blocks/ai-keys/index.d.ts +1 -1
  24. package/dist/blocks/ai-schedules/index.d.ts +2 -2
  25. package/dist/blocks/announcements/index.d.ts +4 -4
  26. package/dist/blocks/api-keys/index.d.ts +1 -1
  27. package/dist/blocks/appraisals/index.d.ts +1 -1
  28. package/dist/blocks/approvals/index.d.ts +1 -1
  29. package/dist/blocks/assets/index.d.ts +2 -2
  30. package/dist/blocks/assignment/index.d.ts +1 -1
  31. package/dist/blocks/attachments/index.d.ts +5 -5
  32. package/dist/blocks/audit/index.d.ts +2 -2
  33. package/dist/blocks/automations/index.d.ts +3 -3
  34. package/dist/blocks/banking/index.d.ts +1 -1
  35. package/dist/blocks/billable-time/index.d.ts +1 -1
  36. package/dist/blocks/billing/index.d.ts +2 -2
  37. package/dist/blocks/bookings/index.d.ts +2 -2
  38. package/dist/blocks/bulk/index.d.ts +1 -1
  39. package/dist/blocks/calendar/index.d.ts +3 -3
  40. package/dist/blocks/care/index.d.ts +27 -27
  41. package/dist/blocks/care-plans/index.d.ts +3 -3
  42. package/dist/blocks/cases/index.d.ts +3 -3
  43. package/dist/blocks/catalog/index.d.ts +2 -2
  44. package/dist/blocks/channels/index.d.ts +1 -1
  45. package/dist/blocks/clinical-decision-support/index.d.ts +1 -1
  46. package/dist/blocks/cms/index.d.ts +5 -5
  47. package/dist/blocks/collaboration/index.d.ts +6 -6
  48. package/dist/blocks/collections/index.d.ts +1 -1
  49. package/dist/blocks/comments/index.d.ts +2 -2
  50. package/dist/blocks/commerce/index.d.ts +5 -5
  51. package/dist/blocks/commissions/index.d.ts +1 -1
  52. package/dist/blocks/compliance/index.d.ts +1 -1
  53. package/dist/blocks/connectors/index.d.ts +1 -1
  54. package/dist/blocks/consents/index.d.ts +2 -2
  55. package/dist/blocks/contacts/index.d.ts +2 -2
  56. package/dist/blocks/content/index.d.ts +2 -2
  57. package/dist/blocks/contracts/index.d.ts +1 -1
  58. package/dist/blocks/courses/index.d.ts +3 -3
  59. package/dist/blocks/created-by/index.d.ts +2 -2
  60. package/dist/blocks/crm/index.d.ts +16 -16
  61. package/dist/blocks/custom-fields/index.d.ts +1 -1
  62. package/dist/blocks/dam/index.d.ts +2 -2
  63. package/dist/blocks/data-lifecycle/index.d.ts +2 -2
  64. package/dist/blocks/deadlines/index.d.ts +249 -43
  65. package/dist/blocks/deadlines/index.js +862 -20
  66. package/dist/blocks/deals/index.d.ts +1 -1
  67. package/dist/blocks/dispatch/index.d.ts +2 -2
  68. package/dist/blocks/document-templates/index.d.ts +2 -2
  69. package/dist/blocks/documents/index.d.ts +1 -1
  70. package/dist/blocks/domains/index.d.ts +1 -1
  71. package/dist/blocks/donations/index.d.ts +1 -1
  72. package/dist/blocks/drive/index.d.ts +5 -5
  73. package/dist/blocks/e-prescribing/index.d.ts +1 -1
  74. package/dist/blocks/employees/index.d.ts +1 -1
  75. package/dist/blocks/enrichment/index.d.ts +1 -1
  76. package/dist/blocks/enrollments/index.d.ts +2 -2
  77. package/dist/blocks/entitlements/index.d.ts +3 -3
  78. package/dist/blocks/events/index.d.ts +3 -3
  79. package/dist/blocks/expenses/index.d.ts +1 -1
  80. package/dist/blocks/field-history/index.d.ts +1 -1
  81. package/dist/blocks/filespace/index.d.ts +8 -8
  82. package/dist/blocks/finance/index.d.ts +5 -5
  83. package/dist/blocks/flags/index.d.ts +1 -1
  84. package/dist/blocks/forecasts/index.d.ts +1 -1
  85. package/dist/blocks/forms/index.d.ts +3 -3
  86. package/dist/blocks/funding/index.d.ts +2 -2
  87. package/dist/blocks/goals/index.d.ts +1 -1
  88. package/dist/blocks/governance/index.d.ts +4 -4
  89. package/dist/blocks/guests/index.d.ts +1 -1
  90. package/dist/blocks/hiring/index.d.ts +1 -1
  91. package/dist/blocks/identities/index.d.ts +1 -1
  92. package/dist/blocks/imports/index.d.ts +2 -2
  93. package/dist/blocks/inbox/index.d.ts +6 -6
  94. package/dist/blocks/incidents/index.d.ts +1 -1
  95. package/dist/blocks/index.d.ts +3 -3
  96. package/dist/blocks/inspections/index.d.ts +2 -2
  97. package/dist/blocks/inventory/index.d.ts +1 -1
  98. package/dist/blocks/invoices/index.d.ts +1 -1
  99. package/dist/blocks/knowledge/index.d.ts +1 -1
  100. package/dist/blocks/lead-scoring/index.d.ts +2 -2
  101. package/dist/blocks/learning/index.d.ts +3 -3
  102. package/dist/blocks/leases/index.d.ts +1 -1
  103. package/dist/blocks/leave/index.d.ts +1 -1
  104. package/dist/blocks/ledger/index.d.ts +1 -1
  105. package/dist/blocks/legal-entities/index.d.ts +2 -2
  106. package/dist/blocks/lims/index.d.ts +2 -2
  107. package/dist/blocks/mail-sync/index.d.ts +3 -3
  108. package/dist/blocks/maintenance/index.d.ts +2 -2
  109. package/dist/blocks/manufacturing/index.d.ts +2 -2
  110. package/dist/blocks/medications/index.d.ts +1 -1
  111. package/dist/blocks/meetings/index.d.ts +3 -3
  112. package/dist/blocks/memberships/index.d.ts +2 -2
  113. package/dist/blocks/memory/index.d.ts +1 -1
  114. package/dist/blocks/messaging/index.d.ts +5 -5
  115. package/dist/blocks/metrics/index.d.ts +1 -1
  116. package/dist/blocks/mfa/index.d.ts +2 -2
  117. package/dist/blocks/moderation/index.d.ts +2 -2
  118. package/dist/blocks/notifications/index.d.ts +5 -5
  119. package/dist/blocks/numbering/index.d.ts +1 -1
  120. package/dist/blocks/oauth-server/index.d.ts +1 -1
  121. package/dist/blocks/observations/index.d.ts +2 -2
  122. package/dist/blocks/onboarding/index.d.ts +2 -2
  123. package/dist/blocks/option-sets/index.d.ts +2 -2
  124. package/dist/blocks/orders/index.d.ts +1 -1
  125. package/dist/blocks/organizations/index.d.ts +2 -2
  126. package/dist/blocks/outbox/index.d.ts +1 -1
  127. package/dist/blocks/passes/index.d.ts +2 -2
  128. package/dist/blocks/payroll-export/index.d.ts +2 -2
  129. package/dist/blocks/people/index.d.ts +7 -7
  130. package/dist/blocks/periods/index.d.ts +1 -1
  131. package/dist/blocks/permissions/index.d.ts +3 -3
  132. package/dist/blocks/pipelines/index.d.ts +1 -1
  133. package/dist/blocks/posts/index.d.ts +2 -2
  134. package/dist/blocks/procurement/index.d.ts +5 -5
  135. package/dist/blocks/profiles/index.d.ts +1 -1
  136. package/dist/blocks/projects/index.d.ts +7 -7
  137. package/dist/blocks/promotions/index.d.ts +1 -1
  138. package/dist/blocks/prompts/index.d.ts +1 -1
  139. package/dist/blocks/push/index.d.ts +2 -2
  140. package/dist/blocks/qualifications/index.d.ts +2 -2
  141. package/dist/blocks/queue/index.d.ts +2 -2
  142. package/dist/blocks/quotes/index.d.ts +1 -1
  143. package/dist/blocks/rank/index.d.ts +1 -1
  144. package/dist/blocks/reactions/index.d.ts +4 -4
  145. package/dist/blocks/recruiting/index.d.ts +4 -4
  146. package/dist/blocks/referrals/index.d.ts +1 -1
  147. package/dist/blocks/relations/index.d.ts +1 -1
  148. package/dist/blocks/reminders/index.d.ts +1 -1
  149. package/dist/blocks/reviews/index.d.ts +1 -1
  150. package/dist/blocks/rfqs/index.d.ts +2 -2
  151. package/dist/blocks/risks/index.d.ts +2 -2
  152. package/dist/blocks/saas/index.d.ts +12 -12
  153. package/dist/blocks/sales/index.d.ts +1 -1
  154. package/dist/blocks/saved-views/index.d.ts +2 -2
  155. package/dist/blocks/scheduling/index.d.ts +4 -4
  156. package/dist/blocks/scores/index.d.ts +2 -2
  157. package/dist/blocks/search/index.d.ts +3 -3
  158. package/dist/blocks/security-events/index.d.ts +1 -1
  159. package/dist/blocks/segments/index.d.ts +2 -2
  160. package/dist/blocks/sequences/index.d.ts +3 -3
  161. package/dist/blocks/service/index.d.ts +7 -7
  162. package/dist/blocks/service-accounts/index.d.ts +1 -1
  163. package/dist/blocks/sessions/index.d.ts +2 -2
  164. package/dist/blocks/settings/index.d.ts +2 -2
  165. package/dist/blocks/share-links/index.d.ts +1 -1
  166. package/dist/blocks/shifts/index.d.ts +2 -2
  167. package/dist/blocks/shipments/index.d.ts +2 -2
  168. package/dist/blocks/signatures/index.d.ts +2 -2
  169. package/dist/blocks/signing-keys/index.d.ts +1 -1
  170. package/dist/blocks/sla/index.d.ts +1 -1
  171. package/dist/blocks/sso/index.d.ts +1 -1
  172. package/dist/blocks/state-machine/index.d.ts +1 -1
  173. package/dist/blocks/subjects/index.d.ts +2 -2
  174. package/dist/blocks/support/index.d.ts +5 -5
  175. package/dist/blocks/tags/index.d.ts +2 -2
  176. package/dist/blocks/tasks/index.d.ts +2 -2
  177. package/dist/blocks/tax/index.d.ts +2 -2
  178. package/dist/blocks/teams/index.d.ts +1 -1
  179. package/dist/blocks/templates/index.d.ts +1 -1
  180. package/dist/blocks/tills/index.d.ts +1 -1
  181. package/dist/blocks/time-tracking/index.d.ts +2 -2
  182. package/dist/blocks/timeline/index.d.ts +1 -1
  183. package/dist/blocks/trash/index.d.ts +1 -1
  184. package/dist/blocks/undo/index.d.ts +2 -2
  185. package/dist/blocks/updated-at/index.d.ts +2 -2
  186. package/dist/blocks/usage/index.d.ts +2 -2
  187. package/dist/blocks/vercel-marketplace/index.d.ts +1 -1
  188. package/dist/blocks/versions/index.d.ts +1 -1
  189. package/dist/blocks/waitlist/index.d.ts +1 -1
  190. package/dist/blocks/warehouse/index.d.ts +1 -1
  191. package/dist/blocks/webhooks/index.d.ts +1 -1
  192. package/dist/blocks/workflow-editor/index.d.ts +4 -4
  193. package/dist/blocks/workflows/index.d.ts +4 -4
  194. package/dist/{blocks-2HFgUcqG.d.ts → blocks-Cf2U_jmO.d.ts} +4 -4
  195. package/dist/claims/index.d.ts +3 -3
  196. package/dist/cli/{add-LvxZ-JNB.js → add-CB2nU8nW.js} +2 -2
  197. package/dist/cli/{add-BnYh-Kpy.js → add-DQXg3MLt.js} +10 -10
  198. package/dist/cli/add-DWUCeKIl.js +1 -0
  199. package/dist/cli/{app-table-files-7M0I9LaE.js → app-table-files-Ch3GTFjg.js} +2 -2
  200. package/dist/cli/{app-tables-BfWPWiOJ.js → app-tables-CwSpV4yV.js} +2 -2
  201. package/dist/cli/{backfill-i0Tx24Sa.js → backfill-Cngd3Ax2.js} +1 -1
  202. package/dist/cli/bin.js +1 -1
  203. package/dist/cli/{blocks-C_7ioBdJ.js → blocks--hf8elE7.js} +1 -1
  204. package/dist/cli/{blocks-X_eD_t_f.js → blocks-BGHYZGoh.js} +1 -1
  205. package/dist/cli/{cache-D98rjB1C.js → cache-DMqncCOE.js} +1 -1
  206. package/dist/cli/{codemod-j1nCkgA5.js → codemod-BrNMM9qN.js} +1 -1
  207. package/dist/cli/{content-mapper-UsLt4y0J.js → content-mapper-CBBnca0p.js} +2 -2
  208. package/dist/cli/{doctor-BYJM72wi.js → doctor-BHsw2SGl.js} +15 -15
  209. package/dist/cli/{gen-D47t5jj3.js → gen-BbLeZxhv.js} +11 -11
  210. package/dist/cli/index.d.ts +1 -1
  211. package/dist/cli/index.js +6 -6
  212. package/dist/cli/{init-CAWeLXCs.js → init-DH0LI0hx.js} +9 -9
  213. package/dist/cli/{live-DNd8MMNk.js → live-DFlCT5Uk.js} +2 -2
  214. package/dist/cli/{mcp-BUs7M6fq.js → mcp-B9ZwlZrA.js} +2 -2
  215. package/dist/cli/{metadata-UwEYCntC.js → metadata-DmXQDGq9.js} +3 -3
  216. package/dist/cli/{migrate-D-GzXR4D.js → migrate-DG4_cemN.js} +1 -1
  217. package/dist/cli/{migration-safety-Cg9jf2s-.js → migration-safety-CMvBM2Vi.js} +1 -1
  218. package/dist/cli/{migrations-Bhcf7MHM.js → migrations-B88uNBtB.js} +2 -2
  219. package/dist/cli/{module-migration-BJaOdOWy.js → module-migration-CrVdvTsm.js} +2 -2
  220. package/dist/cli/{powersync-DQKdjG_K.js → powersync-CiWMuRwt.js} +3 -3
  221. package/dist/cli/powersync-TFSmK9XH.js +1 -0
  222. package/dist/cli/{print-B1onZWRG.js → print-DJtwCt5U.js} +2 -2
  223. package/dist/cli/{providers-M7s8btf1.js → providers-CN8w11Yf.js} +1 -1
  224. package/dist/cli/{prune-workflows-BiRF1YBZ.js → prune-workflows-Bwzd1_z4.js} +1 -1
  225. package/dist/cli/{remove-BHyzqWNm.js → remove-D4fXl2zz.js} +6 -6
  226. package/dist/cli/{render-DDCy_0V_.js → render-Fafpgh5a.js} +3 -3
  227. package/dist/cli/{run-DDUBMkbN.js → run-BM4C0L-r.js} +9 -9
  228. package/dist/cli/{run-Csm1-Uto.js → run-du7PclzJ.js} +31 -31
  229. package/dist/cli/{shared-Cv22MEAO.js → shared-l0oG47Rc.js} +1 -1
  230. package/dist/cli/{snapshot-9xnSt525.js → snapshot-DAVFBIVQ.js} +2 -2
  231. package/dist/cli/{source-B_miugrh.js → source-CfPOobxZ.js} +1 -1
  232. package/dist/cli/{spec-dYLJbr9J.js → spec-DCSih_mA.js} +2 -2
  233. package/dist/cli/{spec-BeAgQ-of.js → spec-Dlbmh0EH.js} +1 -1
  234. package/dist/cli/{sql-layout-3YU4941N.js → sql-layout-DpCFWUnX.js} +2 -2
  235. package/dist/cli/{sync-Bfwk4Ldc.js → sync-3LMoCI1x.js} +4 -4
  236. package/dist/cli/{upgrade-BMrkzAcD.js → upgrade-4A6oQN-6.js} +5 -5
  237. package/dist/cli/{upgrade-DRvMFW2T.js → upgrade-DyE_4LAn.js} +2 -2
  238. package/dist/cli/{version-BXjNETWS.js → version-DaV4RlVP.js} +1 -1
  239. package/dist/client/index.d.ts +5 -5
  240. package/dist/client/native/index.d.ts +4 -4
  241. package/dist/config/index.d.ts +4 -4
  242. package/dist/config/index.js +4 -4
  243. package/dist/{config-CsX2THwJ.js → config-Bx3UYp8b.js} +3 -3
  244. package/dist/{config-Dgl6AxKE.js → config-CAjlOSQY.js} +1 -1
  245. package/dist/{context-DSJpfeVv.d.ts → context-C3-QkbC2.d.ts} +3 -3
  246. package/dist/contract/index.d.ts +3 -3
  247. package/dist/{controller-BVee4yX8.d.ts → controller-6_Uo4WEe.d.ts} +1 -1
  248. package/dist/{conversion-BPkWkVoa.d.ts → conversion-kJKGDyKY.d.ts} +1 -1
  249. package/dist/create/index.d.ts +4 -4
  250. package/dist/create/index.js +3 -3
  251. package/dist/create/lite/index.d.ts +3 -3
  252. package/dist/create/lite/index.js +2 -2
  253. package/dist/deadlines-values-vmaCCdGl.js +92 -0
  254. package/dist/{define-block-Cu67KCN1.d.ts → define-block-Dle1hNrI.d.ts} +1 -1
  255. package/dist/{drive-D008IDpI.d.ts → drive-C2EYvBxH.d.ts} +1 -1
  256. package/dist/{entitlements-CRBZg5y2.d.ts → entitlements-Bb-dOARS.d.ts} +1 -1
  257. package/dist/{extract-BU5w3k5s.d.ts → extract-BwhGjyWJ.d.ts} +1 -1
  258. package/dist/{field-errors-CjEgbjO9.d.ts → field-errors-CjEfOrH1.d.ts} +5 -5
  259. package/dist/{index-voglIa16.d.ts → index-2gyZE8Rf.d.ts} +3 -3
  260. package/dist/{index-CDEzb5bl.d.ts → index-B5Qh7kMt.d.ts} +1 -1
  261. package/dist/{index-DhS8Qkgj.d.ts → index-BE4JTKF9.d.ts} +2 -2
  262. package/dist/{index-DYzQ_PPW.d.ts → index-BEmlle8t.d.ts} +1 -1
  263. package/dist/{index-BDn4Mqq0.d.ts → index-BEtCBklB.d.ts} +1 -1
  264. package/dist/{index-AmPcMT_X.d.ts → index-BY1YQVSU.d.ts} +1 -1
  265. package/dist/{index-Dyq6B4gZ.d.ts → index-BYV1G4-b.d.ts} +2 -2
  266. package/dist/{index-DZRsTCds.d.ts → index-BjIGMnQ0.d.ts} +1 -1
  267. package/dist/{index-CKdNndE3.d.ts → index-BqD3Iu_J.d.ts} +2 -2
  268. package/dist/{index-BTl5A8Aj.d.ts → index-BqJum_h9.d.ts} +1 -1
  269. package/dist/{index-DtMdKIJU.d.ts → index-Buxrux0m.d.ts} +2 -2
  270. package/dist/{index-DR4P3Lf9.d.ts → index-BzrihVGI.d.ts} +2 -2
  271. package/dist/{index-BeU2DRAI.d.ts → index-C8S7_Q8r.d.ts} +1 -1
  272. package/dist/{index-r3QZBY7z.d.ts → index-CC34bHDQ.d.ts} +1 -1
  273. package/dist/{index-_RnZChF8.d.ts → index-CN3C6JkR.d.ts} +1 -1
  274. package/dist/{index-CaW37FHZ.d.ts → index-CNuolr9n.d.ts} +1 -1
  275. package/dist/{index-DJ1Uk4ff.d.ts → index-COIhSgY7.d.ts} +4 -4
  276. package/dist/{index-BOZ6AsMs.d.ts → index-Cg7SR_qX.d.ts} +1 -1
  277. package/dist/{index-BvPirjfD.d.ts → index-Cm8MeW9i.d.ts} +4 -4
  278. package/dist/{index-ChaJiMkI.d.ts → index-CwPttFTz.d.ts} +2 -2
  279. package/dist/{index-u8EXkOzJ.d.ts → index-D1O-RJWe.d.ts} +1 -1
  280. package/dist/{index-BleHtlJ6.d.ts → index-D9nVD78s.d.ts} +1 -1
  281. package/dist/{index-dMGEJLxl.d.ts → index-DBFr7a8o.d.ts} +1 -1
  282. package/dist/{index-BVJsz3pS.d.ts → index-DOfmW2AH.d.ts} +2 -2
  283. package/dist/{index-D5nY5k-2.d.ts → index-DSAikYZQ.d.ts} +7 -7
  284. package/dist/{index-D-3fZP5z.d.ts → index-DbCYIGAY.d.ts} +1 -1
  285. package/dist/{index--7HXH_H_.d.ts → index-DdMcDiIK.d.ts} +2 -2
  286. package/dist/{index-DsA7MQwZ.d.ts → index-Ddo11etS.d.ts} +1 -1
  287. package/dist/{index-BR8ZkijS.d.ts → index-DugPUkCG.d.ts} +2 -2
  288. package/dist/{index-BoCyVsCr.d.ts → index-DwDtMCDt.d.ts} +1 -1
  289. package/dist/{index-_wr8wCe9.d.ts → index-Dx6jNpfl.d.ts} +1 -1
  290. package/dist/{index-D7zwaGAP.d.ts → index-Dxza7aew.d.ts} +1 -1
  291. package/dist/{index-ilxdL8pz.d.ts → index-NzTBsdNG.d.ts} +1 -1
  292. package/dist/{index-DDDHYXtr.d.ts → index-U2_mkKvZ.d.ts} +8 -8
  293. package/dist/{index-JzAR_Y7n.d.ts → index-bTW0dRZY.d.ts} +3 -3
  294. package/dist/{index-E_Q5L9PV.d.ts → index-hctpn1Mt.d.ts} +1 -1
  295. package/dist/{index-slG4UpF_.d.ts → index-yL19hBMN.d.ts} +2 -2
  296. package/dist/{instances-BMjIO6Xu.js → instances-z6DJn2Gr.js} +20 -1
  297. package/dist/{manifest-CbKgs5qA.d.ts → manifest-2z4m-cwI.d.ts} +1 -1
  298. package/dist/{manifest-CoFpa0dN.d.ts → manifest-64Zd4QzL.d.ts} +1 -1
  299. package/dist/{manifest-DhpmWh55.d.ts → manifest-9tZFwb_N.d.ts} +1 -1
  300. package/dist/{manifest-BZL2TAB1.d.ts → manifest-B0-5rKJ_.d.ts} +1 -1
  301. package/dist/{manifest-CELTce26.d.ts → manifest-B0ByrOJ2.d.ts} +1 -1
  302. package/dist/{manifest-CGZQ9lU3.d.ts → manifest-B4yf2Fir.d.ts} +1 -1
  303. package/dist/{manifest-D2Z_2z9-.d.ts → manifest-BBETqrI-.d.ts} +1 -1
  304. package/dist/{manifest-CMnLDDS3.d.ts → manifest-BEFiuvqo.d.ts} +1 -1
  305. package/dist/{manifest-BE7UwezO.d.ts → manifest-BG6K9qvU.d.ts} +1 -1
  306. package/dist/{manifest-6PhMgCFi.d.ts → manifest-BOkGzZcG.d.ts} +1 -1
  307. package/dist/{manifest-BzsuqiQx.d.ts → manifest-BReV7Ehb.d.ts} +1 -1
  308. package/dist/{manifest-CdD44xlg.d.ts → manifest-BSmnJW4X.d.ts} +1 -1
  309. package/dist/{manifest-DYPVnKW_.d.ts → manifest-BV8_wZab.d.ts} +1 -1
  310. package/dist/{manifest-xikzppm9.d.ts → manifest-BXvY6i0C.d.ts} +1 -1
  311. package/dist/{manifest-lzwWCAYV.d.ts → manifest-BbUa_z3D.d.ts} +1 -1
  312. package/dist/{manifest-Eazz96as.d.ts → manifest-BcurR7jz.d.ts} +1 -1
  313. package/dist/{manifest-BknZ4yQ-.d.ts → manifest-BfWK-zw_.d.ts} +1 -1
  314. package/dist/{manifest-Dk_7prKx.d.ts → manifest-Bl4kFo6c.d.ts} +1 -1
  315. package/dist/{manifest-CSHNTEJZ.d.ts → manifest-Bsr9SSG5.d.ts} +1 -1
  316. package/dist/{manifest-DxPLHyKY.d.ts → manifest-BtI5HhXk.d.ts} +1 -1
  317. package/dist/{manifest-BMNwdO5D.d.ts → manifest-BxY9kn1w.d.ts} +1 -1
  318. package/dist/{manifest-BSvxbZH5.d.ts → manifest-C2QmAn2x.d.ts} +1 -1
  319. package/dist/{manifest-DhXoSaUC.d.ts → manifest-C5CZYXC2.d.ts} +1 -1
  320. package/dist/{manifest-Bz0EjE76.d.ts → manifest-C9PoeugH.d.ts} +1 -1
  321. package/dist/{manifest-DwCorUVJ.d.ts → manifest-C9x5lxeF.d.ts} +1 -1
  322. package/dist/{manifest-CaA-2HPK.d.ts → manifest-CKAtEVtk.d.ts} +1 -1
  323. package/dist/{manifest-C_dVunWg.d.ts → manifest-CVQ3q-JJ.d.ts} +1 -1
  324. package/dist/{manifest-BYbt4y_O.d.ts → manifest-CWKtnWcS.d.ts} +1 -1
  325. package/dist/{manifest-Dl_bw4IU.d.ts → manifest-CchgUbRg.d.ts} +1 -1
  326. package/dist/{manifest-auanzyjB.d.ts → manifest-Cjt5fW9U.d.ts} +1 -1
  327. package/dist/{manifest-Bp0oZ3-W.d.ts → manifest-CuuE9u0c.d.ts} +1 -1
  328. package/dist/{manifest-D7mliM-d.d.ts → manifest-D23v7_Fg.d.ts} +1 -1
  329. package/dist/{manifest-CGcGylmw.d.ts → manifest-D9fWfK2i.d.ts} +1 -1
  330. package/dist/{manifest-DMvx2rWH.d.ts → manifest-DGHeP3gy.d.ts} +1 -1
  331. package/dist/{manifest-DGiswyG5.d.ts → manifest-DGePKO35.d.ts} +1 -1
  332. package/dist/{manifest-gGFtQDJz.d.ts → manifest-DHAShiq8.d.ts} +1 -1
  333. package/dist/{manifest-DPqKZgWn.d.ts → manifest-DPSgN4LB.d.ts} +1 -1
  334. package/dist/{manifest-D2d1wS7g.d.ts → manifest-DPeSW0P5.d.ts} +1 -1
  335. package/dist/{manifest-CBwrN4Nf.d.ts → manifest-DT4l91L_.d.ts} +1 -1
  336. package/dist/{manifest-Pl5us_yz.d.ts → manifest-DUA64Tnn.d.ts} +1 -1
  337. package/dist/{manifest-DUlZ8qck.d.ts → manifest-DVBfzRly.d.ts} +1 -1
  338. package/dist/{manifest-uIIb_YLI.d.ts → manifest-DXuOYu6Q.d.ts} +1 -1
  339. package/dist/{manifest-Df1QDhiQ.d.ts → manifest-D_AT0kqo.d.ts} +1 -1
  340. package/dist/{manifest-B4CEdcH_.d.ts → manifest-D_aJ09Il.d.ts} +1 -1
  341. package/dist/{manifest-D_VmA0aC.d.ts → manifest-D_kxP0yH.d.ts} +1 -1
  342. package/dist/{manifest-X4analSK.d.ts → manifest-DgtO2rew.d.ts} +1 -1
  343. package/dist/{manifest-DG0oDOmq.d.ts → manifest-DiKKpytg.d.ts} +1 -1
  344. package/dist/{manifest-BVjhJ3Mj.d.ts → manifest-DlWg4mC8.d.ts} +1 -1
  345. package/dist/{manifest-DAXz8rxB.d.ts → manifest-DlyGRc_x.d.ts} +1 -1
  346. package/dist/{manifest-BB3GjGa3.d.ts → manifest-DreoW4xj.d.ts} +1 -1
  347. package/dist/{manifest-Dc8pNExY.d.ts → manifest-Gwsis09w.d.ts} +1 -1
  348. package/dist/{manifest-CWj5SFuw.d.ts → manifest-K1yCH7Ai.d.ts} +1 -1
  349. package/dist/{manifest-DtEcJBdE.d.ts → manifest-TSUBAvih.d.ts} +1 -1
  350. package/dist/{manifest-DsuoLp-Y.d.ts → manifest-WuPrNtWh.d.ts} +1 -1
  351. package/dist/{manifest-yKx0faak.d.ts → manifest-b1ei2NBj.d.ts} +1 -1
  352. package/dist/{manifest-BXxSqnLS.d.ts → manifest-byZwzlAG.d.ts} +1 -1
  353. package/dist/{manifest-D9P9Yhe3.d.ts → manifest-fUQWT0ft.d.ts} +1 -1
  354. package/dist/{manifest-DGLrMEdB.d.ts → manifest-hrX9Hsgd.d.ts} +1 -1
  355. package/dist/{manifest-D0FjVeay.d.ts → manifest-iRyMyb7t.d.ts} +1 -1
  356. package/dist/{manifest-B17Sra5h.d.ts → manifest-r5iVaZrT.d.ts} +1 -1
  357. package/dist/{manifest-DIZ6chpf.d.ts → manifest-xVl_34TT.d.ts} +1 -1
  358. package/dist/{manifest-CMNPpmWS.d.ts → manifest-yUJGXgsd.d.ts} +2 -2
  359. package/dist/mapper/bin.js +5 -5
  360. package/dist/mcp/index.d.ts +1 -1
  361. package/dist/next/index.d.ts +7 -7
  362. package/dist/{operations-DKfYeS5z.d.ts → operations-DvIB3N20.d.ts} +1 -1
  363. package/dist/otel/index.js +4 -4
  364. package/dist/{permissions-C5h1cU25.d.ts → permissions-CtS73Ot8.d.ts} +1 -1
  365. package/dist/{ports-DvaVv_3b.d.ts → ports-D_z0B0OU.d.ts} +1 -1
  366. package/dist/powersync/index.d.ts +2 -2
  367. package/dist/preset/index.d.ts +4 -4
  368. package/dist/preset/index.js +3 -3
  369. package/dist/{preset-Cl3Q5ASC.js → preset-CPUA9haY.js} +3 -3
  370. package/dist/{preview-Bwg7r1Lf.d.ts → preview-B0MvbKqQ.d.ts} +2 -2
  371. package/dist/{project-At5wBJSS.js → project-CMRUh_6Z.js} +5 -5
  372. package/dist/{push-token-C6ZGE1g0.d.ts → push-token--jdbVbWv.d.ts} +1 -1
  373. package/dist/query/index.d.ts +1 -1
  374. package/dist/react/index.d.ts +5 -5
  375. package/dist/react/native/index.d.ts +1 -1
  376. package/dist/react/server.d.ts +5 -5
  377. package/dist/realtime/index.d.ts +3 -3
  378. package/dist/{record-form-DTncyqVH.d.ts → record-form-Bb3mf114.d.ts} +1 -1
  379. package/dist/records/index.d.ts +7 -7
  380. package/dist/server/index.d.ts +3 -3
  381. package/dist/solid/index.d.ts +5 -5
  382. package/dist/sql/index.d.ts +5 -5
  383. package/dist/sql/index.js +2 -2
  384. package/dist/{sql-CdZdPqjA.js → sql-DXME28Gr.js} +1560 -264
  385. package/dist/ssr/index.d.ts +1 -1
  386. package/dist/svelte/index.d.ts +5 -5
  387. package/dist/{tenant-BTnwa5oZ.d.ts → tenant-sm9d_APF.d.ts} +1 -1
  388. package/dist/testing/index.d.ts +6 -6
  389. package/dist/testing/index.js +1 -1
  390. package/dist/{timeline-B7kBQ1gh.d.ts → timeline-BR-oKhI4.d.ts} +2 -2
  391. package/dist/{topic-hu0RP7CG.d.ts → topic-CBTgUy6t.d.ts} +1 -1
  392. package/dist/{types-DvglaQ_D.d.ts → types-DRNzKqdm.d.ts} +2 -2
  393. package/dist/vue/index.d.ts +5 -5
  394. package/dist/{watch-topic-C_rGHxIA.d.ts → watch-topic-DYDnWH_a.d.ts} +1 -1
  395. package/dist/webmcp/index.d.ts +1 -1
  396. package/dist/yjs/index.d.ts +1 -1
  397. package/package.json +1 -1
  398. package/dist/cli/add-D0TUMxXn.js +0 -1
  399. package/dist/cli/powersync-Bn-u0TGP.js +0 -1
  400. package/dist/deadlines-values-B7ArpVJU.js +0 -127
@@ -1,6 +1,6 @@
1
1
  import { c as runsWithInvalidConfig, d as DOCS_ORIGIN, f as GROUPS, g as runCommand, h as parseArgs$2, i as joinRepeated, l as COMMANDS, o as listArgs, p as RESERVED_NAMES, s as readsLegacyTables, t as GLOBAL_ARGS } from "./command-CLvgELKk.js";
2
2
  import { n as highlight, r as painter } from "./style-B5-nByxb.js";
3
- import { t as VERSION } from "./version-BXjNETWS.js";
3
+ import { t as VERSION } from "./version-DaV4RlVP.js";
4
4
  import { a as missingInputNext, o as resolveAgent, t as checkConsent } from "./agent-Tqq3MAqx.js";
5
5
  import { n as CliError, o as toCliError } from "./errors-DcJ_PayO.js";
6
6
  import { a as globalFlags, c as resolveCommand, i as commandTree, n as closestName, o as isVariadic, r as commandArgs, t as checkArgs } from "./parse-BwGYCpEv.js";
@@ -19,48 +19,48 @@ const LOADERS = [
19
19
  ["login", () => import("./account-C1vKOJOX.js").then((m) => m.loginCommand)],
20
20
  ["logout", () => import("./account-C1vKOJOX.js").then((m) => m.logoutCommand)],
21
21
  ["whoami", () => import("./account-C1vKOJOX.js").then((m) => m.whoamiCommand)],
22
- ["init", () => import("./init-CAWeLXCs.js").then((m) => m.initCommand)],
23
- ["add", () => import("./add-D0TUMxXn.js").then((m) => m.addCommand)],
24
- ["remove", () => import("./remove-BHyzqWNm.js").then((m) => m.removeCommand)],
25
- ["upgrade", () => import("./upgrade-DRvMFW2T.js").then((m) => m.upgradeCommand)],
22
+ ["init", () => import("./init-DH0LI0hx.js").then((m) => m.initCommand)],
23
+ ["add", () => import("./add-DWUCeKIl.js").then((m) => m.addCommand)],
24
+ ["remove", () => import("./remove-D4fXl2zz.js").then((m) => m.removeCommand)],
25
+ ["upgrade", () => import("./upgrade-DyE_4LAn.js").then((m) => m.upgradeCommand)],
26
26
  ["table", () => import("./table-Cup45iWj.js").then((m) => m.tableCommand)],
27
- ["migrate schema-first", () => import("./migrate-D-GzXR4D.js").then((m) => m.migrateSchemaFirstCommand)],
28
- ["gen", () => import("./gen-D47t5jj3.js").then((m) => m.genCommand)],
29
- ["doctor", () => import("./doctor-BYJM72wi.js").then((m) => m.doctorCommand)],
27
+ ["migrate schema-first", () => import("./migrate-DG4_cemN.js").then((m) => m.migrateSchemaFirstCommand)],
28
+ ["gen", () => import("./gen-BbLeZxhv.js").then((m) => m.genCommand)],
29
+ ["doctor", () => import("./doctor-BHsw2SGl.js").then((m) => m.doctorCommand)],
30
30
  ["db query", () => import("./db-B54TQ_iX.js").then((m) => m.dbQueryCommand)],
31
31
  ["db diff", () => import("./db-B54TQ_iX.js").then((m) => m.dbDiffCommand)],
32
32
  ["db seed", () => import("./seed-BxjjQ3OO.js").then((m) => m.seedCommand)],
33
- ["db backfill", () => import("./backfill-i0Tx24Sa.js").then((m) => m.dbBackfillCommand)],
34
- ["db prune-workflows", () => import("./prune-workflows-BiRF1YBZ.js").then((m) => m.dbPruneWorkflowsCommand)],
33
+ ["db backfill", () => import("./backfill-Cngd3Ax2.js").then((m) => m.dbBackfillCommand)],
34
+ ["db prune-workflows", () => import("./prune-workflows-Bwzd1_z4.js").then((m) => m.dbPruneWorkflowsCommand)],
35
35
  ["dev env", () => import("./env-BMQqBhS_.js").then((m) => m.envCommand)],
36
36
  ["dev run", () => import("./run-CAvLtfJG.js").then((m) => m.runCommand)],
37
37
  ["dev keys", () => import("./keys-BnVLA3NK.js").then((m) => m.keysCommand)],
38
38
  ["dev stack ls", () => import("./stack-DINh7KWu.js").then((m) => m.stackLsCommand)],
39
39
  ["dev stack prune", () => import("./stack-DINh7KWu.js").then((m) => m.stackPruneCommand)],
40
40
  ["automations list", () => import("./automations-0G37FqXw.js").then((m) => m.automationsListCommand)],
41
- ["blocks list", () => import("./blocks-C_7ioBdJ.js").then((m) => m.blocksListCommand)],
42
- ["blocks view", () => import("./blocks-C_7ioBdJ.js").then((m) => m.blocksViewCommand)],
43
- ["blocks search", () => import("./blocks-C_7ioBdJ.js").then((m) => m.blocksSearchCommand)],
44
- ["powersync streams", () => import("./powersync-Bn-u0TGP.js").then((m) => m.powersyncStreamsCommand)],
45
- ["spec emit", () => import("./spec-BeAgQ-of.js").then((m) => m.specEmitCommand)],
46
- ["spec validate", () => import("./spec-BeAgQ-of.js").then((m) => m.specValidateCommand)],
47
- ["mcp", () => import("./mcp-BUs7M6fq.js").then((m) => m.mcpCommand)],
41
+ ["blocks list", () => import("./blocks--hf8elE7.js").then((m) => m.blocksListCommand)],
42
+ ["blocks view", () => import("./blocks--hf8elE7.js").then((m) => m.blocksViewCommand)],
43
+ ["blocks search", () => import("./blocks--hf8elE7.js").then((m) => m.blocksSearchCommand)],
44
+ ["powersync streams", () => import("./powersync-TFSmK9XH.js").then((m) => m.powersyncStreamsCommand)],
45
+ ["spec emit", () => import("./spec-Dlbmh0EH.js").then((m) => m.specEmitCommand)],
46
+ ["spec validate", () => import("./spec-Dlbmh0EH.js").then((m) => m.specValidateCommand)],
47
+ ["mcp", () => import("./mcp-B9ZwlZrA.js").then((m) => m.mcpCommand)],
48
48
  ["skills list", () => import("./skills-aC7X7bhq.js").then((m) => m.skillsListCommand)],
49
49
  ["skills install", () => import("./skills-aC7X7bhq.js").then((m) => m.skillsInstallCommand)],
50
- ["codemod 0.4", () => import("./codemod-j1nCkgA5.js").then((m) => m.codemodCommand("0.4"))],
51
- ["codemod 0.5", () => import("./codemod-j1nCkgA5.js").then((m) => m.codemodCommand("0.5"))],
52
- ["codemod 0.6", () => import("./codemod-j1nCkgA5.js").then((m) => m.codemodCommand("0.6"))],
53
- ["codemod 0.9", () => import("./codemod-j1nCkgA5.js").then((m) => m.codemodCommand("0.9"))],
54
- ["codemod 0.11", () => import("./codemod-j1nCkgA5.js").then((m) => m.codemodCommand("0.11"))],
55
- ["codemod 0.15", () => import("./codemod-j1nCkgA5.js").then((m) => m.codemodCommand("0.15"))],
56
- ["codemod 0.29", () => import("./codemod-j1nCkgA5.js").then((m) => m.codemodCommand("0.29"))],
57
- ["codemod 0.32", () => import("./codemod-j1nCkgA5.js").then((m) => m.codemodCommand("0.32"))],
58
- ["codemod 0.35", () => import("./codemod-j1nCkgA5.js").then((m) => m.codemodCommand("0.35"))],
59
- ["codemod 0.37", () => import("./codemod-j1nCkgA5.js").then((m) => m.codemodCommand("0.37"))],
60
- ["codemod 0.46", () => import("./codemod-j1nCkgA5.js").then((m) => m.codemodCommand("0.46"))],
61
- ["codemod 0.47", () => import("./codemod-j1nCkgA5.js").then((m) => m.codemodCommand("0.47"))],
62
- ["codemod 0.53", () => import("./codemod-j1nCkgA5.js").then((m) => m.codemodCommand("0.53"))],
63
- ["codemod read-many", () => import("./codemod-j1nCkgA5.js").then((m) => m.codemodCommand("read-many"))],
50
+ ["codemod 0.4", () => import("./codemod-BrNMM9qN.js").then((m) => m.codemodCommand("0.4"))],
51
+ ["codemod 0.5", () => import("./codemod-BrNMM9qN.js").then((m) => m.codemodCommand("0.5"))],
52
+ ["codemod 0.6", () => import("./codemod-BrNMM9qN.js").then((m) => m.codemodCommand("0.6"))],
53
+ ["codemod 0.9", () => import("./codemod-BrNMM9qN.js").then((m) => m.codemodCommand("0.9"))],
54
+ ["codemod 0.11", () => import("./codemod-BrNMM9qN.js").then((m) => m.codemodCommand("0.11"))],
55
+ ["codemod 0.15", () => import("./codemod-BrNMM9qN.js").then((m) => m.codemodCommand("0.15"))],
56
+ ["codemod 0.29", () => import("./codemod-BrNMM9qN.js").then((m) => m.codemodCommand("0.29"))],
57
+ ["codemod 0.32", () => import("./codemod-BrNMM9qN.js").then((m) => m.codemodCommand("0.32"))],
58
+ ["codemod 0.35", () => import("./codemod-BrNMM9qN.js").then((m) => m.codemodCommand("0.35"))],
59
+ ["codemod 0.37", () => import("./codemod-BrNMM9qN.js").then((m) => m.codemodCommand("0.37"))],
60
+ ["codemod 0.46", () => import("./codemod-BrNMM9qN.js").then((m) => m.codemodCommand("0.46"))],
61
+ ["codemod 0.47", () => import("./codemod-BrNMM9qN.js").then((m) => m.codemodCommand("0.47"))],
62
+ ["codemod 0.53", () => import("./codemod-BrNMM9qN.js").then((m) => m.codemodCommand("0.53"))],
63
+ ["codemod read-many", () => import("./codemod-BrNMM9qN.js").then((m) => m.codemodCommand("read-many"))],
64
64
  ["completion", () => import("./completion-Q1M-cdP-.js").then((m) => m.completionCommand)],
65
65
  ["config", () => import("./config-COfXd-G3.js").then((m) => m.configCommand)]
66
66
  ];
@@ -1,4 +1,4 @@
1
- import { a as toCatalog } from "./source-B_miugrh.js";
1
+ import { a as toCatalog } from "./source-CfPOobxZ.js";
2
2
  import { h as tomlGet, p as sqlWorkflow, r as detectWorkflow } from "./supabase-toml-B6-eEV5p.js";
3
3
  // src/cli/doctor/shared.ts
4
4
  const catalogs = /* @__PURE__ */ new WeakMap();
@@ -1,10 +1,10 @@
1
1
  import { n as databaseUrl, u as accessToken } from "./config-DdkxiGjH.js";
2
2
  import { n as CliError, r as errorText } from "./errors-DcJ_PayO.js";
3
3
  import { t as connect } from "./db-B8zfxjl2.js";
4
- import { d as readExtras, l as TYPEGEN_VERSION, r as cachedIntrospect } from "./cache-D98rjB1C.js";
4
+ import { d as readExtras, l as TYPEGEN_VERSION, r as cachedIntrospect } from "./cache-DMqncCOE.js";
5
5
  import { t as byCodePoint } from "./compare-yl4sSwVn.js";
6
6
  import { d as readSupabaseToml, f as schemaPaths, h as tomlGet, u as pgFunctionHooks } from "./supabase-toml-B6-eEV5p.js";
7
- import { n as managementSource, r as pgSource } from "./source-B_miugrh.js";
7
+ import { n as managementSource, r as pgSource } from "./source-CfPOobxZ.js";
8
8
  import { existsSync } from "node:fs";
9
9
  import { dirname, join, resolve } from "node:path";
10
10
  import { readFile, readdir } from "node:fs/promises";
@@ -1,4 +1,4 @@
1
- import { t as VERSION } from "./version-BXjNETWS.js";
1
+ import { t as VERSION } from "./version-DaV4RlVP.js";
2
2
  import { n as CliError } from "./errors-DcJ_PayO.js";
3
3
  import { r as redactUrl } from "./redact--zOGdWzo.js";
4
4
  import { n as HTTP_CHANNEL } from "./trace-D3TNqWBg.js";
@@ -3,8 +3,8 @@ import { m as commandMeta, r as defineCliCommand } from "./command-CLvgELKk.js";
3
3
  import { i as failedResult, n as CliError, r as errorText } from "./errors-DcJ_PayO.js";
4
4
  import { a as changedFiles, i as changeLines, r as applyPlan } from "./files-DQayErI8.js";
5
5
  import { t as display } from "./io-CQzy8PEZ.js";
6
- import { c as writeAtomic, t as CACHE_DIR } from "./cache-D98rjB1C.js";
7
- import { t as VERSION } from "./version-BXjNETWS.js";
6
+ import { c as writeAtomic, t as CACHE_DIR } from "./cache-DMqncCOE.js";
7
+ import { t as VERSION } from "./version-DaV4RlVP.js";
8
8
  import { t as importFresh } from "./fresh-import-CdO2oQaQ.js";
9
9
  import { t as isRecord } from "./guards-DxwRG0Uv.js";
10
10
  import { t as loadTopics } from "./topics-Cdg0V7Tt.js";
@@ -1 +1 @@
1
- export { n as specEmitCommand, i as specValidateCommand } from "./spec-dYLJbr9J.js";
1
+ export { n as specEmitCommand, i as specValidateCommand } from "./spec-DCSih_mA.js";
@@ -1,8 +1,8 @@
1
1
  import { t as byCodePoint } from "./compare-yl4sSwVn.js";
2
2
  import { t as detectProject } from "./detect-ad_V_zja.js";
3
3
  import { d as readSupabaseToml, f as schemaPaths, n as declarativeSchemasDir, p as sqlWorkflow, u as pgFunctionHooks } from "./supabase-toml-B6-eEV5p.js";
4
- import { i as parseSnapshot, p as TypegenMissingError } from "./snapshot-9xnSt525.js";
5
- import { a as toCatalog } from "./source-B_miugrh.js";
4
+ import { i as parseSnapshot, p as TypegenMissingError } from "./snapshot-DAVFBIVQ.js";
5
+ import { a as toCatalog } from "./source-CfPOobxZ.js";
6
6
  import { existsSync } from "node:fs";
7
7
  import { dirname, join, posix, relative, resolve, sep } from "node:path";
8
8
  import { glob, readFile, readdir } from "node:fs/promises";
@@ -1,13 +1,13 @@
1
1
  import { d as fileDiff, i as changeLines, l as keepHandEdit, o as handEditedError, r as applyPlan, t as HAND_EDITED, u as planResult } from "./files-DQayErI8.js";
2
2
  import { t as display } from "./io-CQzy8PEZ.js";
3
- import { n as migrationsDir, o as sqlPlan } from "./sql-layout-3YU4941N.js";
3
+ import { n as migrationsDir, o as sqlPlan } from "./sql-layout-DpCFWUnX.js";
4
4
  import { n as CliError } from "./errors-DcJ_PayO.js";
5
5
  import { t as loadTopics } from "./topics-Cdg0V7Tt.js";
6
- import { c as sameModuleMigration, l as writeLatestMigration, r as latestMigration, s as renderModuleMigration, t as MODULES_SUFFIX, u as writesMigrations } from "./module-migration-BJaOdOWy.js";
6
+ import { c as sameModuleMigration, l as writeLatestMigration, r as latestMigration, s as renderModuleMigration, t as MODULES_SUFFIX, u as writesMigrations } from "./module-migration-CrVdvTsm.js";
7
7
  import { t as orphanedBlockFiles } from "./orphans-ByB0gKOp.js";
8
- import { r as layoutFor } from "./providers-M7s8btf1.js";
8
+ import { r as layoutFor } from "./providers-CN8w11Yf.js";
9
9
  import { d as readSupabaseToml, f as schemaPaths, h as tomlGet, i as diffEngine, l as migrationCommand, o as findSupabaseRoot, p as sqlWorkflow, t as PGDELTA_TABLE } from "./supabase-toml-B6-eEV5p.js";
10
- import { a as writeExtensionsMigration, t as DATA_NEXT } from "./migrations-Bhcf7MHM.js";
10
+ import { a as writeExtensionsMigration, t as DATA_NEXT } from "./migrations-B88uNBtB.js";
11
11
  import { dirname, join, resolve } from "node:path";
12
12
  import { readFile, readdir } from "node:fs/promises";
13
13
  import { APP_TABLES_MARKER, APP_TABLES_MODULE, currentBlockName, moduleTopics, renderBlocks, resolveBlocks, sameBlockFile } from "better-supabase/sql";
@@ -1,11 +1,11 @@
1
1
  import { d as fileDiff, i as changeLines, r as applyPlan } from "./files-DQayErI8.js";
2
2
  import { t as display } from "./io-CQzy8PEZ.js";
3
- import { n as migrationsDir, o as sqlPlan } from "./sql-layout-3YU4941N.js";
4
- import { a as write, o as topicPolicyFile, r as nextStep } from "./sync-Bfwk4Ldc.js";
3
+ import { n as migrationsDir, o as sqlPlan } from "./sql-layout-DpCFWUnX.js";
4
+ import { a as write, o as topicPolicyFile, r as nextStep } from "./sync-3LMoCI1x.js";
5
5
  import { a as legacyPrefixSql, i as legacyPrefixNames, r as legacyBlocksTableSql } from "./legacy-prefix-D8Jfku6I.js";
6
- import { r as migrationStamp } from "./migrations-Bhcf7MHM.js";
7
- import { a as migrationInstances, c as sameModuleMigration, o as migrationModules, r as latestMigration, s as renderModuleMigration, t as MODULES_SUFFIX, u as writesMigrations } from "./module-migration-BJaOdOWy.js";
8
- import { r as layoutFor } from "./providers-M7s8btf1.js";
6
+ import { r as migrationStamp } from "./migrations-B88uNBtB.js";
7
+ import { a as migrationInstances, c as sameModuleMigration, o as migrationModules, r as latestMigration, s as renderModuleMigration, t as MODULES_SUFFIX, u as writesMigrations } from "./module-migration-CrVdvTsm.js";
8
+ import { r as layoutFor } from "./providers-CN8w11Yf.js";
9
9
  import { resolve } from "node:path";
10
10
  import { readFile } from "node:fs/promises";
11
11
  import { BLOCK_RENAMES, SQL_MODULES, currentBlockName, entityRenamePlan, formerBlockName, moduleFileVersion, moduleTopics, renderBlocks, sameBlockFile, upgradePlan } from "better-supabase/sql";
@@ -1,7 +1,7 @@
1
1
  import { m as commandMeta, r as defineCliCommand } from "./command-CLvgELKk.js";
2
2
  import { t as SQL_ARGS } from "./args-_ZVgRBkx.js";
3
- import { t as syncModules } from "./sync-Bfwk4Ldc.js";
4
- import { t as upgrade } from "./upgrade-BMrkzAcD.js";
3
+ import { t as syncModules } from "./sync-3LMoCI1x.js";
4
+ import { t as upgrade } from "./upgrade-4A6oQN-6.js";
5
5
  import { i as plain } from "./style-B5-nByxb.js";
6
6
  // src/cli/commands/upgrade.ts
7
7
  const UPGRADE_ARGS = {
@@ -1,3 +1,3 @@
1
1
  // src/cli/version.ts
2
- const VERSION = "0.55.0";
2
+ const VERSION = "0.57.0";
3
3
  export { VERSION as t };
@@ -1,9 +1,9 @@
1
1
  import { a as DataSync, c as LocalTablesOption, i as DataEntry, l as liveEngine, n as DataEngine, o as DataSyncState, r as DataEngineOptions, s as LiveEngineOptions, t as DataChanges, u as memoryEngine } from "../data-engine-0uVsKWaB.js";
2
- import { n as TopicPort, r as TopicWatch, t as TopicHandle } from "../watch-topic-C_rGHxIA.js";
3
- import { a as PickFilesOptions, c as Shortcut, d as UploadPort, f as memoryStorage, i as KeyboardPort, l as StoragePort, n as DeepLinkPort, o as PickedFile, p as storageUpload, r as FilePickerPort, s as PushTokenPort, t as ClientPorts, u as UploadDestination } from "../ports-DvaVv_3b.js";
4
- import { a as ClientAuth, i as BindClientOptions, n as AuthUser, o as bindClient, r as BetterClient, t as AuthSnapshot } from "../bind-DiGmjHzz.js";
5
- import { a as defineController, i as ControllerState, n as Controller, o as whileSignedIn, r as ControllerParts, t as AuthPort } from "../controller-BVee4yX8.js";
2
+ import { n as TopicPort, r as TopicWatch, t as TopicHandle } from "../watch-topic-DYDnWH_a.js";
3
+ import { a as PickFilesOptions, c as Shortcut, d as UploadPort, f as memoryStorage, i as KeyboardPort, l as StoragePort, n as DeepLinkPort, o as PickedFile, p as storageUpload, r as FilePickerPort, s as PushTokenPort, t as ClientPorts, u as UploadDestination } from "../ports-D_z0B0OU.js";
4
+ import { a as ClientAuth, i as BindClientOptions, n as AuthUser, o as bindClient, r as BetterClient, t as AuthSnapshot } from "../bind-DEPqZLwv.js";
5
+ import { a as defineController, i as ControllerState, n as Controller, o as whileSignedIn, r as ControllerParts, t as AuthPort } from "../controller-6_Uo4WEe.js";
6
6
  import { i as authzUserTopic, r as AuthzVersionSource, t as AUTHZ_EVENT } from "../authz-topic-C7n3kIm_.js";
7
7
  import { n as FunctionContract } from "../function-contract-CMJR3nYl.js";
8
- import { a as webDeepLinks, c as webPorts, d as FunctionContracts, f as FunctionsHost, h as functions, i as WebPushTokenOptions, l as webPushToken, m as TypedFunctions, n as createClient, o as webFilePicker, p as InvokeOptions, r as PushRegistrationLike, s as webKeyboard, t as ClientOptions, u as webStorage } from "../index-ChaJiMkI.js";
8
+ import { a as webDeepLinks, c as webPorts, d as FunctionContracts, f as FunctionsHost, h as functions, i as WebPushTokenOptions, l as webPushToken, m as TypedFunctions, n as createClient, o as webFilePicker, p as InvokeOptions, r as PushRegistrationLike, s as webKeyboard, t as ClientOptions, u as webStorage } from "../index-CwPttFTz.js";
9
9
  export { AUTHZ_EVENT, type AuthPort, type AuthSnapshot, type AuthUser, type AuthzVersionSource, type BetterClient, type BindClientOptions, type ClientAuth, ClientOptions, type ClientPorts, type Controller, type ControllerParts, type ControllerState, type DataChanges, type DataEngine, type DataEngineOptions, type DataEntry, type DataSync, type DataSyncState, type DeepLinkPort, type FilePickerPort, type FunctionContract, type FunctionContracts, type FunctionsHost, type InvokeOptions, type KeyboardPort, type LiveEngineOptions, type LocalTablesOption, type PickFilesOptions, type PickedFile, type PushRegistrationLike, type PushTokenPort, type Shortcut, type StoragePort, type TopicHandle, type TopicPort, type TopicWatch, type TypedFunctions, type UploadDestination, type UploadPort, type WebPushTokenOptions, authzUserTopic, bindClient, createClient, defineController, functions, liveEngine, memoryEngine, memoryStorage, storageUpload, webDeepLinks, webFilePicker, webKeyboard, webPorts, webPushToken, webStorage, whileSignedIn };
@@ -1,10 +1,10 @@
1
- import { a as ClientAuth, i as BindClientOptions, n as AuthUser, o as bindClient, r as BetterClient, t as AuthSnapshot } from "../../bind-DiGmjHzz.js";
1
+ import { a as ClientAuth, i as BindClientOptions, n as AuthUser, o as bindClient, r as BetterClient, t as AuthSnapshot } from "../../bind-DEPqZLwv.js";
2
2
  import { a as OAuthSignInOptions, c as linkParams, i as OAuthClient, l as signInWithOAuthBrowser, n as AuthLinkClient, o as WebBrowserLike, r as AuthLinkResult, s as handleAuthDeepLink, t as AuthFailure } from "../../auth-link-DRjtI1Ky.js";
3
- import { n as TopicPort, r as TopicWatch, t as TopicHandle } from "../../watch-topic-C_rGHxIA.js";
3
+ import { n as TopicPort, r as TopicWatch, t as TopicHandle } from "../../watch-topic-DYDnWH_a.js";
4
4
  import { i as authzUserTopic, r as AuthzVersionSource, t as AUTHZ_EVENT } from "../../authz-topic-C7n3kIm_.js";
5
5
  import { a as AppStateLike, i as startNativeAuthzRefresh, n as NativeAuthzRefreshOptions, o as AutoRefreshClient, r as PowerSyncReconnect, s as autoRefreshOnForeground, t as NativeAuthzRefreshClient } from "../../authz-refresh-DIqPTJZe.js";
6
- import { a as PickFilesOptions, c as Shortcut, d as UploadPort, f as memoryStorage, i as KeyboardPort, l as StoragePort, n as DeepLinkPort, o as PickedFile, p as storageUpload, r as FilePickerPort, s as PushTokenPort, t as ClientPorts, u as UploadDestination } from "../../ports-DvaVv_3b.js";
7
- import { n as ExpoPushTokenOptions, r as expoPushToken, t as ExpoNotificationsLike } from "../../push-token-C6ZGE1g0.js";
6
+ import { a as PickFilesOptions, c as Shortcut, d as UploadPort, f as memoryStorage, i as KeyboardPort, l as StoragePort, n as DeepLinkPort, o as PickedFile, p as storageUpload, r as FilePickerPort, s as PushTokenPort, t as ClientPorts, u as UploadDestination } from "../../ports-D_z0B0OU.js";
7
+ import { n as ExpoPushTokenOptions, r as expoPushToken, t as ExpoNotificationsLike } from "../../push-token--jdbVbWv.js";
8
8
  import { T as UploadOptions, w as UploadBody } from "../../bucket-DJu58KBb.js";
9
9
  import { t as AsyncResult } from "../../result-CMqlHv82.js";
10
10
  import { SupabaseClient } from "@supabase/supabase-js";
@@ -1,6 +1,6 @@
1
1
  import { N as Casing } from "../types-BlBju7Wa.js";
2
- import { Bt as SubjectsConfig, It as SubjectConfig, Lt as SubjectPermission, Rt as SubjectSearch, _ as OwnTablePolicies, c as BlockScope, d as DisabledRow, f as EntitiesConfig, i as BlockConfig, l as BlocksConfig, n as ActiveTenantSource, o as BlockMode, p as EntityConfig, r as AnyBlocksConfig, t as AccessBlockConfig, u as DEFAULT_ACTIVE_TENANT, x as tenantNameOf, zt as SubjectTeam } from "../blocks-2HFgUcqG.js";
3
- import { $r as PowerSyncGenConfig, Gr as DoctorConfig, Jr as GenTask, Kr as EnvFileConfig, Qr as OpenApiConfig, Xr as KeysConfig, Yr as IntegrationName, Zr as MigrationSafetyConfig, ai as INTEGRATION_INFO, ci as SKILLS_AGENTS, cn as FIELD_FORMATS, dn as FieldFormatInput, ei as SkillsAgent, ii as GEN_TASKS, oi as INTEGRATION_NAMES, qr as GenConfig, si as IntegrationInfo, ti as SkillsConfig, un as FieldFormat } from "../define-block-Cu67KCN1.js";
4
- import { $ as ClaimPaths, $r as APP_COLUMN_TYPES, $t as ApiConfig, Ai as CatalogPolicy, Ar as ResolvedSeedConfig, At as GeneratorBlockEntity, B as zod, Bi as Snapshot, Br as TopicTriggerLookupConfig, Bt as GeneratorNoun, Ci as CatalogColumnGrant, Ct as RoleNames, Di as CatalogFunctionArg, Dt as GeneratedFile, Ei as CatalogFunction, Et as CodecsConfig, Fi as ExtrasFunction, Fr as SeedSampleSize, Ft as GeneratorFunctionArg, G as NuqsGeneratorOptions, Gi as PostgresFunction, Gr as VectorSearchConfig, Gt as SourceConfig, H as valibot, Hi as SnapshotExtras, Hr as TopicTriggerTopicConfig, Ht as JsonSchemaSource, Ii as ExtrasHook, Ir as SqlBlockDefaults, It as GeneratorInput, J as factories, Ji as RpcFunctionArg, Jt as DataHooksFramework, K as nuqs, Ki as PostgresFunctionArg, Kr as CONFIG_DEFAULTS, Kt as TableConfig, Li as ExtrasHookFunction, Lr as SqlConfig, Lt as GeneratorInputSchema, Mi as CatalogTrigger, Mr as SeedConfig, Mt as GeneratorEntitySchemas, Ni as CatalogUnique, Nr as SeedDefaultsConfig, Nt as GeneratorField, Oi as CatalogGrant, Or as BucketConfig, Ot as Generator, Pi as ExtrasDomain, Pr as SeedSampleConfig, Pt as GeneratorFunction, Q as JsonSchemaTarget, Qi as RpcTypeReference, Qr as APP_COLUMN_FORMATS, Qt as ResolvedExtensions, R as ZodFlavor, Ri as ExtrasTable, Rr as SqlWorkflow, Rt as GeneratorJsonSchema, Si as CatalogColumn, St as ConfigReferences, Ti as CatalogForeignKey, Tt as ClaimsConfig, U as StandardSchemaGeneratorOptions, Ui as GeneratorMetadata, Ur as TopicTriggerValueConfig, Ut as JsonTypeConfig, V as ValibotGeneratorOptions, Vi as SnapshotBucket, Vr as TopicTriggerPayloadValueConfig, Vt as GeneratorTable, W as standardSchema, Wi as PostgresColumn, Wr as VectorDistance, Wt as RelationsConfig, X as buildJsonSchema, Xi as RpcFunctionReturns, Xt as FlatConfig, Y as JsonSchemaGeneratorOptions, Yi as RpcFunctionOverload, Yt as DataHooksSelect, Z as jsonSchema, Zi as RpcReturnColumn, Zr as APP_COLUMN_ACCESS, Zt as ResolvedConfig, _i as AppTableSubject, _n as ExposeRole, _t as ResolveInput, ai as AppColumnFormat, an as BlocksInput, at as blockEntityRenames, bi as Catalog, bt as BlockTableReference, ci as AppOnDeleteAction, cn as GenGroupConfig, cr as ExpandedConfig, ct as blockSubjectTypes, di as AppRollupAggregate, dn as ToolingConfig, dt as RENAMED_CONFIG_KEYS, ei as APP_ON_DELETE_ACTIONS, en as AppTableInput, et as DEFAULT_CLAIMS, fi as AppRollupConfig, fn as EntitlementPlansSource, ft as blockEntrySource, gi as AppTableEvents, gn as ExposePrivilege, gt as CONFIG_SCHEMA_URL, hi as AppTableEventKind, hn as ExposeConfig, ht as groupEntries, ii as AppColumnConfig, in as BlockInput, it as blockEntities, ji as CatalogTable, jr as ResolvedSqlConfig, jt as GeneratorColumn, ki as CatalogIndex, kr as RealtimeConfig, kt as GeneratorBlock, li as AppReference, ln as SqlInput, lt as CONFIG_GROUPS, mi as AppTableEmbedding, mn as ColumnPrivilege, mt as groupConfig, ni as APP_TABLE_EVENT_KINDS, nn as AuthConfig, nt as tenantClaimPaths, oi as AppColumnType, on as DatabaseConfig, ot as blockEventRenames, pi as AppTableConfig, pn as EntitlementsConfig, pt as flattenConfig, q as FactoriesGeneratorOptions, qi as RpcFunction, qt as DataHooksConfig, ri as AppColumnAccess, rn as BetterSupabaseConfig, rt as BlockEntity, si as AppLookupConfig, sn as EnvironmentConfig, st as blockFormerFunctions, ti as APP_ROLLUP_AGGREGATES, tn as AppTablesInput, tt as claimPaths, ui as AppReferenceTarget, un as TenantConfig, ut as RENAMED_BLOCK_KEYS, vi as AppTableVersions, vn as Privilege, vt as defineConfig, wi as CatalogEnum, wt as resolveJsonSchema, xi as CatalogCheck, xt as BucketName, yi as AppTablesConfig, yn as ResolvedExpose, yt as resolveConfig, z as ZodGeneratorOptions, zi as ForeignKeyAction, zr as TopicTriggerConfig, zt as GeneratorModel } from "../context-DSJpfeVv.js";
5
- import { a as AuthorizationPersona, c as AuthorizationRequirement, d as AuthorizationTokenHook, f as AuthorizationVersions, i as AuthorizationPermission, l as AuthorizationRoleSource, n as AuthorizationMembership, o as AuthorizationPlatformRoles, p as providerApiProblem, r as AuthorizationOperation, s as AuthorizationProvider, t as AuthorizationFunctions, u as AuthorizationScope } from "../authorization-DK7YSiFV.js";
2
+ import { Bt as SubjectsConfig, It as SubjectConfig, Lt as SubjectPermission, Rt as SubjectSearch, _ as OwnTablePolicies, c as BlockScope, d as DisabledRow, f as EntitiesConfig, i as BlockConfig, l as BlocksConfig, n as ActiveTenantSource, o as BlockMode, p as EntityConfig, r as AnyBlocksConfig, t as AccessBlockConfig, u as DEFAULT_ACTIVE_TENANT, x as tenantNameOf, zt as SubjectTeam } from "../blocks-Cf2U_jmO.js";
3
+ import { $r as PowerSyncGenConfig, Gr as DoctorConfig, Jr as GenTask, Kr as EnvFileConfig, Qr as OpenApiConfig, Xr as KeysConfig, Yr as IntegrationName, Zr as MigrationSafetyConfig, ai as INTEGRATION_INFO, ci as SKILLS_AGENTS, cn as FIELD_FORMATS, dn as FieldFormatInput, ei as SkillsAgent, ii as GEN_TASKS, oi as INTEGRATION_NAMES, qr as GenConfig, si as IntegrationInfo, ti as SkillsConfig, un as FieldFormat } from "../define-block-Dle1hNrI.js";
4
+ import { $ as ClaimPaths, $r as APP_COLUMN_TYPES, $t as ApiConfig, Ai as CatalogPolicy, Ar as ResolvedSeedConfig, At as GeneratorBlockEntity, B as zod, Bi as Snapshot, Br as TopicTriggerLookupConfig, Bt as GeneratorNoun, Ci as CatalogColumnGrant, Ct as RoleNames, Di as CatalogFunctionArg, Dt as GeneratedFile, Ei as CatalogFunction, Et as CodecsConfig, Fi as ExtrasFunction, Fr as SeedSampleSize, Ft as GeneratorFunctionArg, G as NuqsGeneratorOptions, Gi as PostgresFunction, Gr as VectorSearchConfig, Gt as SourceConfig, H as valibot, Hi as SnapshotExtras, Hr as TopicTriggerTopicConfig, Ht as JsonSchemaSource, Ii as ExtrasHook, Ir as SqlBlockDefaults, It as GeneratorInput, J as factories, Ji as RpcFunctionArg, Jt as DataHooksFramework, K as nuqs, Ki as PostgresFunctionArg, Kr as CONFIG_DEFAULTS, Kt as TableConfig, Li as ExtrasHookFunction, Lr as SqlConfig, Lt as GeneratorInputSchema, Mi as CatalogTrigger, Mr as SeedConfig, Mt as GeneratorEntitySchemas, Ni as CatalogUnique, Nr as SeedDefaultsConfig, Nt as GeneratorField, Oi as CatalogGrant, Or as BucketConfig, Ot as Generator, Pi as ExtrasDomain, Pr as SeedSampleConfig, Pt as GeneratorFunction, Q as JsonSchemaTarget, Qi as RpcTypeReference, Qr as APP_COLUMN_FORMATS, Qt as ResolvedExtensions, R as ZodFlavor, Ri as ExtrasTable, Rr as SqlWorkflow, Rt as GeneratorJsonSchema, Si as CatalogColumn, St as ConfigReferences, Ti as CatalogForeignKey, Tt as ClaimsConfig, U as StandardSchemaGeneratorOptions, Ui as GeneratorMetadata, Ur as TopicTriggerValueConfig, Ut as JsonTypeConfig, V as ValibotGeneratorOptions, Vi as SnapshotBucket, Vr as TopicTriggerPayloadValueConfig, Vt as GeneratorTable, W as standardSchema, Wi as PostgresColumn, Wr as VectorDistance, Wt as RelationsConfig, X as buildJsonSchema, Xi as RpcFunctionReturns, Xt as FlatConfig, Y as JsonSchemaGeneratorOptions, Yi as RpcFunctionOverload, Yt as DataHooksSelect, Z as jsonSchema, Zi as RpcReturnColumn, Zr as APP_COLUMN_ACCESS, Zt as ResolvedConfig, _i as AppTableSubject, _n as ExposeRole, _t as ResolveInput, ai as AppColumnFormat, an as BlocksInput, at as blockEntityRenames, bi as Catalog, bt as BlockTableReference, ci as AppOnDeleteAction, cn as GenGroupConfig, cr as ExpandedConfig, ct as blockSubjectTypes, di as AppRollupAggregate, dn as ToolingConfig, dt as RENAMED_CONFIG_KEYS, ei as APP_ON_DELETE_ACTIONS, en as AppTableInput, et as DEFAULT_CLAIMS, fi as AppRollupConfig, fn as EntitlementPlansSource, ft as blockEntrySource, gi as AppTableEvents, gn as ExposePrivilege, gt as CONFIG_SCHEMA_URL, hi as AppTableEventKind, hn as ExposeConfig, ht as groupEntries, ii as AppColumnConfig, in as BlockInput, it as blockEntities, ji as CatalogTable, jr as ResolvedSqlConfig, jt as GeneratorColumn, ki as CatalogIndex, kr as RealtimeConfig, kt as GeneratorBlock, li as AppReference, ln as SqlInput, lt as CONFIG_GROUPS, mi as AppTableEmbedding, mn as ColumnPrivilege, mt as groupConfig, ni as APP_TABLE_EVENT_KINDS, nn as AuthConfig, nt as tenantClaimPaths, oi as AppColumnType, on as DatabaseConfig, ot as blockEventRenames, pi as AppTableConfig, pn as EntitlementsConfig, pt as flattenConfig, q as FactoriesGeneratorOptions, qi as RpcFunction, qt as DataHooksConfig, ri as AppColumnAccess, rn as BetterSupabaseConfig, rt as BlockEntity, si as AppLookupConfig, sn as EnvironmentConfig, st as blockFormerFunctions, ti as APP_ROLLUP_AGGREGATES, tn as AppTablesInput, tt as claimPaths, ui as AppReferenceTarget, un as TenantConfig, ut as RENAMED_BLOCK_KEYS, vi as AppTableVersions, vn as Privilege, vt as defineConfig, wi as CatalogEnum, wt as resolveJsonSchema, xi as CatalogCheck, xt as BucketName, yi as AppTablesConfig, yn as ResolvedExpose, yt as resolveConfig, z as ZodGeneratorOptions, zi as ForeignKeyAction, zr as TopicTriggerConfig, zt as GeneratorModel } from "../context-C3-QkbC2.js";
5
+ import { a as AuthorizationPersona, c as AuthorizationRequirement, d as AuthorizationTokenHook, f as AuthorizationVersions, i as AuthorizationPermission, l as AuthorizationRoleSource, n as AuthorizationMembership, o as AuthorizationPlatformRoles, p as providerApiProblem, r as AuthorizationOperation, s as AuthorizationProvider, t as AuthorizationFunctions, u as AuthorizationScope } from "../authorization-CRKL2OFQ.js";
6
6
  export { APP_COLUMN_ACCESS, APP_COLUMN_FORMATS, APP_COLUMN_TYPES, APP_ON_DELETE_ACTIONS, APP_ROLLUP_AGGREGATES, APP_TABLE_EVENT_KINDS, type AccessBlockConfig, type ActiveTenantSource, type AnyBlocksConfig, type ApiConfig, type AppColumnAccess, type AppColumnConfig, type AppColumnFormat, type AppColumnType, type AppLookupConfig, type AppOnDeleteAction, type AppReference, type AppReferenceTarget, type AppRollupAggregate, type AppRollupConfig, type AppTableConfig, type AppTableEmbedding, type AppTableEventKind, type AppTableEvents, type AppTableInput, type AppTableSubject, type AppTableVersions, type AppTablesConfig, type AppTablesInput, type AuthConfig, type AuthorizationFunctions, type AuthorizationMembership, type AuthorizationOperation, type AuthorizationPermission, type AuthorizationPersona, type AuthorizationPlatformRoles, type AuthorizationProvider, type AuthorizationRequirement, type AuthorizationRoleSource, type AuthorizationScope, type AuthorizationTokenHook, type AuthorizationVersions, type BetterSupabaseConfig, type BlockConfig, type BlockEntity, type BlockInput, type BlockMode, type BlockScope, type BlockTableReference, type BlocksConfig, type BlocksInput, type BucketConfig, type BucketName, CONFIG_DEFAULTS, CONFIG_GROUPS, CONFIG_SCHEMA_URL, type Casing, type Catalog, type CatalogCheck, type CatalogColumn, type CatalogColumnGrant, type CatalogEnum, type CatalogForeignKey, type CatalogFunction, type CatalogFunctionArg, type CatalogGrant, type CatalogIndex, type CatalogPolicy, type CatalogTable, type CatalogTrigger, type CatalogUnique, type ClaimPaths, type ClaimsConfig, type CodecsConfig, type ColumnPrivilege, type ConfigReferences, DEFAULT_ACTIVE_TENANT, DEFAULT_CLAIMS, type DataHooksConfig, type DataHooksFramework, type DataHooksSelect, type DatabaseConfig, type DisabledRow, type DoctorConfig, type EntitiesConfig, type EntitlementPlansSource, type EntitlementsConfig, type EntityConfig, type EnvFileConfig, type EnvironmentConfig, type ExpandedConfig, type ExposeConfig, type ExposePrivilege, type ExposeRole, type ExtrasDomain, type ExtrasFunction, type ExtrasHook, type ExtrasHookFunction, type ExtrasTable, FIELD_FORMATS, type FactoriesGeneratorOptions, type FieldFormat, type FieldFormatInput, type FlatConfig, type ForeignKeyAction, GEN_TASKS, type GenConfig, type GenGroupConfig, type GenTask, type GeneratedFile, type Generator, type GeneratorBlock, type GeneratorBlockEntity, type GeneratorColumn, type GeneratorEntitySchemas, type GeneratorField, type GeneratorFunction, type GeneratorFunctionArg, type GeneratorInput, type GeneratorInputSchema, type GeneratorJsonSchema, type GeneratorMetadata, type GeneratorModel, type GeneratorNoun, type GeneratorTable, INTEGRATION_INFO, INTEGRATION_NAMES, type IntegrationInfo, type IntegrationName, type JsonSchemaGeneratorOptions, type JsonSchemaSource, type JsonSchemaTarget, type JsonTypeConfig, type KeysConfig, type MigrationSafetyConfig, type NuqsGeneratorOptions, type OpenApiConfig, type OwnTablePolicies, type PostgresColumn, type PostgresFunction, type PostgresFunctionArg, type PowerSyncGenConfig, type Privilege, RENAMED_BLOCK_KEYS, RENAMED_CONFIG_KEYS, type RealtimeConfig, type RelationsConfig, type ResolveInput, type ResolvedConfig, type ResolvedExpose, type ResolvedExtensions, type ResolvedSeedConfig, type ResolvedSqlConfig, type RoleNames, type RpcFunction, type RpcFunctionArg, type RpcFunctionOverload, type RpcFunctionReturns, type RpcReturnColumn, type RpcTypeReference, SKILLS_AGENTS, type SeedConfig, type SeedDefaultsConfig, type SeedSampleConfig, type SeedSampleSize, type SkillsAgent, type SkillsConfig, type Snapshot, type SnapshotBucket, type SnapshotExtras, type SourceConfig, type SqlBlockDefaults, type SqlConfig, type SqlInput, type SqlWorkflow, type StandardSchemaGeneratorOptions, type SubjectConfig, type SubjectPermission, type SubjectSearch, type SubjectTeam, type SubjectsConfig, type TableConfig, type TenantConfig, type ToolingConfig, type TopicTriggerConfig, type TopicTriggerLookupConfig, type TopicTriggerPayloadValueConfig, type TopicTriggerTopicConfig, type TopicTriggerValueConfig, type ValibotGeneratorOptions, type VectorDistance, type VectorSearchConfig, type ZodFlavor, type ZodGeneratorOptions, blockEntities, blockEntityRenames, blockEntrySource, blockEventRenames, blockFormerFunctions, blockSubjectTypes, buildJsonSchema, claimPaths, defineConfig, factories, flattenConfig, groupConfig, groupEntries, jsonSchema, nuqs, providerApiProblem, resolveConfig, resolveJsonSchema, standardSchema, tenantClaimPaths, tenantNameOf, valibot, zod };
@@ -1,8 +1,8 @@
1
- import { _ as resolveJsonSchema, i as blockFormerFunctions, n as blockEntityRenames, o as blockSubjectTypes, r as blockEventRenames, t as blockEntities, v as CONFIG_DEFAULTS } from "../block-subjects-BoJrJAgR.js";
2
- import { A as blockEntrySource, D as CONFIG_GROUPS, F as INTEGRATION_INFO, I as INTEGRATION_NAMES, L as SKILLS_AGENTS, M as groupConfig, N as groupEntries, O as RENAMED_BLOCK_KEYS, P as GEN_TASKS, j as flattenConfig, k as RENAMED_CONFIG_KEYS } from "../config-Dgl6AxKE.js";
1
+ import { _ as resolveJsonSchema, i as blockFormerFunctions, n as blockEntityRenames, o as blockSubjectTypes, r as blockEventRenames, t as blockEntities, v as CONFIG_DEFAULTS } from "../block-subjects-B9hb1LLk.js";
2
+ import { A as blockEntrySource, D as CONFIG_GROUPS, F as INTEGRATION_INFO, I as INTEGRATION_NAMES, L as SKILLS_AGENTS, M as groupConfig, N as groupEntries, O as RENAMED_BLOCK_KEYS, P as GEN_TASKS, j as flattenConfig, k as RENAMED_CONFIG_KEYS } from "../config-CAjlOSQY.js";
3
3
  import { a as tenantClaimPaths, r as claimPaths, t as DEFAULT_CLAIMS } from "../claims-CqTr_N1n.js";
4
- import { A as APP_ON_DELETE_ACTIONS, D as APP_COLUMN_ACCESS, M as APP_TABLE_EVENT_KINDS, O as APP_COLUMN_FORMATS, R as DEFAULT_ACTIVE_TENANT, V as tenantNameOf, j as APP_ROLLUP_AGGREGATES, k as APP_COLUMN_TYPES } from "../instances-BMjIO6Xu.js";
4
+ import { A as APP_ON_DELETE_ACTIONS, D as APP_COLUMN_ACCESS, M as APP_TABLE_EVENT_KINDS, O as APP_COLUMN_FORMATS, R as DEFAULT_ACTIVE_TENANT, V as tenantNameOf, j as APP_ROLLUP_AGGREGATES, k as APP_COLUMN_TYPES } from "../instances-z6DJn2Gr.js";
5
5
  import { i as FIELD_FORMATS } from "../field-formats-sLYMh1ZK.js";
6
- import { a as factories, c as resolveConfig, i as nuqs, l as providerApiProblem, n as valibot, o as CONFIG_SCHEMA_URL, r as standardSchema, s as defineConfig, t as zod } from "../config-CsX2THwJ.js";
6
+ import { a as factories, c as resolveConfig, i as nuqs, l as providerApiProblem, n as valibot, o as CONFIG_SCHEMA_URL, r as standardSchema, s as defineConfig, t as zod } from "../config-Bx3UYp8b.js";
7
7
  import { n as jsonSchema, t as buildJsonSchema } from "../json-schema-COU-5CpW.js";
8
8
  export { APP_COLUMN_ACCESS, APP_COLUMN_FORMATS, APP_COLUMN_TYPES, APP_ON_DELETE_ACTIONS, APP_ROLLUP_AGGREGATES, APP_TABLE_EVENT_KINDS, CONFIG_DEFAULTS, CONFIG_GROUPS, CONFIG_SCHEMA_URL, DEFAULT_ACTIVE_TENANT, DEFAULT_CLAIMS, FIELD_FORMATS, GEN_TASKS, INTEGRATION_INFO, INTEGRATION_NAMES, RENAMED_BLOCK_KEYS, RENAMED_CONFIG_KEYS, SKILLS_AGENTS, blockEntities, blockEntityRenames, blockEntrySource, blockEventRenames, blockFormerFunctions, blockSubjectTypes, buildJsonSchema, claimPaths, defineConfig, factories, flattenConfig, groupConfig, groupEntries, jsonSchema, nuqs, providerApiProblem, resolveConfig, resolveJsonSchema, standardSchema, tenantClaimPaths, tenantNameOf, valibot, zod };
@@ -1,8 +1,8 @@
1
- import { c as withBlockSubjects, v as CONFIG_DEFAULTS } from "./block-subjects-BoJrJAgR.js";
2
- import { j as flattenConfig, n as expandFlatPreset, r as expandPreset } from "./config-Dgl6AxKE.js";
1
+ import { c as withBlockSubjects, v as CONFIG_DEFAULTS } from "./block-subjects-B9hb1LLk.js";
2
+ import { j as flattenConfig, n as expandFlatPreset, r as expandPreset } from "./config-CAjlOSQY.js";
3
3
  import { t as DEFAULT_CLAIMS } from "./claims-CqTr_N1n.js";
4
4
  import { o as tenantNames } from "./entity-naming-BES3pkQI.js";
5
- import { V as tenantNameOf, _ as appTablesOf, o as resolveInstances, r as blocksByName, v as withAppTableSubjects } from "./instances-BMjIO6Xu.js";
5
+ import { V as tenantNameOf, _ as appTablesOf, o as resolveInstances, r as blocksByName, v as withAppTableSubjects } from "./instances-z6DJn2Gr.js";
6
6
  import { C as variantsFor, S as variantTitle, _ as schemaName, a as extraSchemas, b as tableEntries, c as resultType, d as fieldSpec, f as fieldsFor, g as rowType, h as propertyKey, i as extraKinds, l as HEADER, m as parseImport, o as fieldMetaLines, p as optionalLine, s as objectType, u as fieldDocs, v as siblingPath, x as temporalGuardImport, y as tableDocs } from "./json-schema-COU-5CpW.js";
7
7
  // src/config/authorization.ts
8
8
  /**
@@ -1,4 +1,4 @@
1
- import { F as linkNeedsRelations, I as PRESET_CATALOG, z as asBlocksConfig } from "./instances-BMjIO6Xu.js";
1
+ import { F as linkNeedsRelations, I as PRESET_CATALOG, z as asBlocksConfig } from "./instances-z6DJn2Gr.js";
2
2
  import { t as DEFAULT_TENANT } from "./entity-naming-BES3pkQI.js";
3
3
  import { a as QUALITY, c as SAAS_LINKED, i as PUBLIC_MEDIA, l as TICKETS, n as CONTROLLED_DOCUMENTS, o as QUOTE_TO_ORDER, r as ERP, s as SAAS } from "./preset-blocks-C0y2C2k5.js";
4
4
  import { t as canonicalJson } from "./canonical-json-CTT9fC4F.js";
@@ -1,12 +1,12 @@
1
1
  /// <reference lib="esnext.temporal" />
2
2
  import { F as ClaimsMeta, M as BucketPolicyName, N as Casing, T as AccessBucketPolicy, st as SchemaMeta, vt as BucketLifecycle } from "./types-BlBju7Wa.js";
3
- import { Bt as SubjectsConfig, Ft as RelationKindOptions, _ as OwnTablePolicies, a as BlockConfigOf, c as BlockScope, d as DisabledRow, g as NamedInstance, h as InstanceOn, i as BlockConfig, l as BlocksConfig, nn as BlockNameRegistry, o as BlockMode, p as EntityConfig, r as AnyBlocksConfig, s as BlockName, t as AccessBlockConfig, tn as TablesOf, v as ResolvedBlock, y as TenantScopeConfig } from "./blocks-2HFgUcqG.js";
4
- import { Ar as PresetAccess, Br as PresetTenantName, C as BlockWorker, Cr as EntityRename, Gr as DoctorConfig, Ir as PresetInstance, Kr as EnvFileConfig, Nr as PresetFieldKey, Qr as OpenApiConfig, Rr as PresetScope, Sr as EntityNoun, Xr as KeysConfig, Yr as IntegrationName, b as BlockEnvKey, bi as BlockSchedule, fi as ActionDescriptor, fn as FieldFormatName, g as PartDefaults, i as BlockCategory, jr as PresetConventions, kr as Preset, ln as FIELD_FORMAT_NAMES, mt as PortName, ni as SpecOutputConfig, qr as GenConfig, ri as SpecsConfig, ti as SkillsConfig, x as BlockProvider, xi as DefaultAutomation, xr as EntityNames } from "./define-block-Cu67KCN1.js";
3
+ import { Bt as SubjectsConfig, Ft as RelationKindOptions, _ as OwnTablePolicies, a as BlockConfigOf, c as BlockScope, d as DisabledRow, g as NamedInstance, h as InstanceOn, i as BlockConfig, l as BlocksConfig, nn as BlockNameRegistry, o as BlockMode, p as EntityConfig, r as AnyBlocksConfig, s as BlockName, t as AccessBlockConfig, tn as TablesOf, v as ResolvedBlock, y as TenantScopeConfig } from "./blocks-Cf2U_jmO.js";
4
+ import { Ar as PresetAccess, Br as PresetTenantName, C as BlockWorker, Cr as EntityRename, Gr as DoctorConfig, Ir as PresetInstance, Kr as EnvFileConfig, Nr as PresetFieldKey, Qr as OpenApiConfig, Rr as PresetScope, Sr as EntityNoun, Xr as KeysConfig, Yr as IntegrationName, b as BlockEnvKey, bi as BlockSchedule, fi as ActionDescriptor, fn as FieldFormatName, g as PartDefaults, i as BlockCategory, jr as PresetConventions, kr as Preset, ln as FIELD_FORMAT_NAMES, mt as PortName, ni as SpecOutputConfig, qr as GenConfig, ri as SpecsConfig, ti as SkillsConfig, x as BlockProvider, xi as DefaultAutomation, xr as EntityNames } from "./define-block-Dle1hNrI.js";
5
5
  import { a as ScalarKind, i as FieldSpec } from "./table-schema-CwXg7oBz.js";
6
6
  import { n as ReadType } from "./read-type-BmF8GOkz.js";
7
7
  import { a as BlockSqlEmit, r as BlockSqlAction } from "./audit-actions-DC-AtyWB.js";
8
8
  import { t as GuestAction } from "./guest-actions-DfHHp98H.js";
9
- import { l as AuthorizationRoleSource, n as AuthorizationMembership, o as AuthorizationPlatformRoles, r as AuthorizationOperation, s as AuthorizationProvider, t as AuthorizationFunctions } from "./authorization-DK7YSiFV.js";
9
+ import { l as AuthorizationRoleSource, n as AuthorizationMembership, o as AuthorizationPlatformRoles, r as AuthorizationOperation, s as AuthorizationProvider, t as AuthorizationFunctions } from "./authorization-CRKL2OFQ.js";
10
10
  import { StandardSchemaV1 } from "@standard-schema/spec";
11
11
  /**
12
12
  * One declared link from an entity of this module to an entity of another
@@ -1,13 +1,13 @@
1
- import { a as AuthorizationPersona, c as AuthorizationRequirement, d as AuthorizationTokenHook, f as AuthorizationVersions, i as AuthorizationPermission, l as AuthorizationRoleSource, n as AuthorizationMembership, o as AuthorizationPlatformRoles, r as AuthorizationOperation, s as AuthorizationProvider, t as AuthorizationFunctions, u as AuthorizationScope } from "../authorization-DK7YSiFV.js";
1
+ import { a as AuthorizationPersona, c as AuthorizationRequirement, d as AuthorizationTokenHook, f as AuthorizationVersions, i as AuthorizationPermission, l as AuthorizationRoleSource, n as AuthorizationMembership, o as AuthorizationPlatformRoles, r as AuthorizationOperation, s as AuthorizationProvider, t as AuthorizationFunctions, u as AuthorizationScope } from "../authorization-CRKL2OFQ.js";
2
2
  import { r as AuthzVersionSource } from "../authz-topic-C7n3kIm_.js";
3
3
  import { $t as AuthorizationSubject, D as AccessTopicPolicy, E as AccessPolicySql, Gt as AuthorizationChange, Jt as AuthorizationOutcome, Kt as AuthorizationContext, Qt as AuthorizationResourceSource, T as AccessBucketPolicy, Ut as AnyAuthorizer, Wt as AuthorizationCallKind, Xt as AuthorizationRequest, Yt as AuthorizationPurpose, Zt as AuthorizationResource, an as RequestMemo, en as Authorizer, in as PermissionRef, qt as AuthorizationIntent, rn as AuthzVersionCache, tn as AuthorizerRuntime } from "../types-BlBju7Wa.js";
4
4
  import { _ as SupportAuthorize, g as SubscriberPolicy, i as AuthorizationHooks, v as SupportAuthorizeInput } from "../authorization-hooks-DM_ijJsD.js";
5
5
  import { s as ApiKeyResolverOptions } from "../api-keys-Dqif78kM.js";
6
6
  import { r as CredentialProvider } from "../provider-ChtwfkqL.js";
7
- import { a as ToolDecision, n as McpOptions, s as ToolRef } from "../index-D7zwaGAP.js";
7
+ import { a as ToolDecision, n as McpOptions, s as ToolRef } from "../index-Dxza7aew.js";
8
8
  import { m as SessionSnapshot } from "../resolve-B9Rn2M5c.js";
9
9
  import { n as ApprovalOptions } from "../server-types-Cf4eX4kr.js";
10
- import { n as BlockTables, t as BlockTable } from "../block-tables-B6Jt0mWg.js";
10
+ import { n as BlockTables, t as BlockTable } from "../block-tables-BATer_QF.js";
11
11
  /**
12
12
  * The types an authorization library implements or reads, in one entry with no
13
13
  * runtime code. Every slot is versioned `apiVersion: 1`; a breaking change to
@@ -1,4 +1,4 @@
1
- import { a as ClientAuth } from "./bind-DiGmjHzz.js";
1
+ import { a as ClientAuth } from "./bind-DEPqZLwv.js";
2
2
  /**
3
3
  * A block's client state, framework-agnostic. `subscribe` and `getSnapshot`
4
4
  * follow the external-store contract, so React's `useSyncExternalStore`, a Vue
@@ -1,4 +1,4 @@
1
- import { di as ActionContext, li as Action, ui as ActionCall } from "./define-block-Cu67KCN1.js";
1
+ import { di as ActionContext, li as Action, ui as ActionCall } from "./define-block-Dle1hNrI.js";
2
2
  import { f as Result } from "./result-CMqlHv82.js";
3
3
  import { StandardSchemaV1 } from "@standard-schema/spec";
4
4
  /** A record a conversion reads from or creates: its subject type and id. */
@@ -1,9 +1,9 @@
1
1
  /// <reference lib="esnext.temporal" />
2
- import { En as PresetName, ci as AppOnDeleteAction, ei as APP_ON_DELETE_ACTIONS, jn as CreateDesign, lr as PresetInput, m as BlockSqlAccessProvider, mr as PresetSpec, oi as AppColumnType, ri as AppColumnAccess } from "../context-DSJpfeVv.js";
3
- import { $ as SchemaTable, A as renameColumn, B as AppEvents, C as editTable, Ct as tableWithComputed, D as isEmptyDesign, Dt as IssueSeverity, E as isAppTable, Et as IssueCode, F as singular, G as subjectTypeError, H as eventsColumnsEdited, I as tidy, J as SchemaData, K as SchemaColumn, L as updateTable, M as setColumn, N as setExtraColumn, O as moveTables, Ot as IssueSource, P as setTableId, Q as SchemaSource, R as userConnection, S as duplicateTable, St as rollupSources, T as identifierError, Tt as Issue, U as subjectColumns, V as AppSubject, W as subjectColumnsEdited, X as SchemaOptions, Y as SchemaForeignKey, Z as SchemaSoftRef, _ as connect, _t as isRollupAggregate, a as AppScope, at as tenantColumnOf, b as deleteExtraColumn, bt as readableColumns, c as ConnectResult, ct as ComputedRow, d as EMPTY_DESIGN, dt as RollupAggregate, et as SchemaTarget, f as NamedDesign, ft as computedColumnRenamed, g as columnError, gt as fittedRollup, h as appTableId, ht as filterColumns, i as AppReference, it as tableStatements, j as renameTable, k as referenceFrom, l as Connection, lt as DraftRollup, m as addTable, mt as computedTableRenamed, n as APP_MODULE, nt as parseSchema, o as AppTable, ot as AppLookup, p as TablePatch, pt as computedRows, q as SchemaComputed, r as AppColumn, rt as schemaRelations, s as AppTableId, st as AppRollup, t as PresetMigrationFile, tt as keyColumnsOf, u as Design, ut as ROLLUP_AGGREGATES, v as defaultError, vt as lookupSources, w as freeTableName, wt as tableWithoutComputed, x as deleteTable, xt as rollupColumns, y as deleteColumn, yt as prunedComputed, z as withDesign } from "../types-DvglaQ_D.js";
4
- import { kr as Preset } from "../define-block-Cu67KCN1.js";
2
+ import { En as PresetName, ci as AppOnDeleteAction, ei as APP_ON_DELETE_ACTIONS, jn as CreateDesign, lr as PresetInput, m as BlockSqlAccessProvider, mr as PresetSpec, oi as AppColumnType, ri as AppColumnAccess } from "../context-C3-QkbC2.js";
3
+ import { $ as SchemaTable, A as renameColumn, B as AppEvents, C as editTable, Ct as tableWithComputed, D as isEmptyDesign, Dt as IssueSeverity, E as isAppTable, Et as IssueCode, F as singular, G as subjectTypeError, H as eventsColumnsEdited, I as tidy, J as SchemaData, K as SchemaColumn, L as updateTable, M as setColumn, N as setExtraColumn, O as moveTables, Ot as IssueSource, P as setTableId, Q as SchemaSource, R as userConnection, S as duplicateTable, St as rollupSources, T as identifierError, Tt as Issue, U as subjectColumns, V as AppSubject, W as subjectColumnsEdited, X as SchemaOptions, Y as SchemaForeignKey, Z as SchemaSoftRef, _ as connect, _t as isRollupAggregate, a as AppScope, at as tenantColumnOf, b as deleteExtraColumn, bt as readableColumns, c as ConnectResult, ct as ComputedRow, d as EMPTY_DESIGN, dt as RollupAggregate, et as SchemaTarget, f as NamedDesign, ft as computedColumnRenamed, g as columnError, gt as fittedRollup, h as appTableId, ht as filterColumns, i as AppReference, it as tableStatements, j as renameTable, k as referenceFrom, l as Connection, lt as DraftRollup, m as addTable, mt as computedTableRenamed, n as APP_MODULE, nt as parseSchema, o as AppTable, ot as AppLookup, p as TablePatch, pt as computedRows, q as SchemaComputed, r as AppColumn, rt as schemaRelations, s as AppTableId, st as AppRollup, t as PresetMigrationFile, tt as keyColumnsOf, u as Design, ut as ROLLUP_AGGREGATES, v as defaultError, vt as lookupSources, w as freeTableName, wt as tableWithoutComputed, x as deleteTable, xt as rollupColumns, y as deleteColumn, yt as prunedComputed, z as withDesign } from "../types-DRNzKqdm.js";
4
+ import { kr as Preset } from "../define-block-Dle1hNrI.js";
5
5
  import { a as SupabaseLint, o as SupabaseOrganization, s as SupabaseProject } from "../management-DtX4ic1F.js";
6
- import { b as DesignChange } from "../index-slG4UpF_.js";
6
+ import { b as DesignChange } from "../index-yL19hBMN.js";
7
7
  /** What `checkDesign` returns. */
8
8
  export type DesignCheck = {
9
9
  readonly ok: true;
@@ -1,6 +1,6 @@
1
- import { A as APP_ON_DELETE_ACTIONS } from "../instances-BMjIO6Xu.js";
2
- import { $ as tableWithComputed, A as referenceFrom, B as withDesign, C as duplicateTable, D as isAppTable, E as identifierError, F as setTableId, G as filterColumns, H as computedColumnRenamed, I as singular, J as lookupSources, K as fittedRollup, L as tidy, M as renameTable, N as setColumn, O as isEmptyDesign, P as setExtraColumn, Q as rollupSources, R as updateTable, S as deleteTable, T as freeTableName, U as computedRows, V as ROLLUP_AGGREGATES, W as computedTableRenamed, X as readableColumns, Y as prunedComputed, Z as rollupColumns, _ as columnError, a as parseSchema, at as boundError, b as deleteColumn, c as tenantColumnOf, ct as fitted, d as previewFiles, dt as takesBounds, et as tableWithoutComputed, f as designIssues, ft as withBounds, g as appTableId, h as addTable, i as keyColumnsOf, it as subjectTypeError, j as renameColumn, k as moveTables, l as schemaData, lt as lockedWithoutDefault, m as EMPTY_DESIGN, n as loadProject, nt as subjectColumns, o as schemaRelations, ot as columnLabel, p as APP_MODULE, q as isRollupAggregate, r as checkDesign, rt as subjectColumnsEdited, s as tableStatements, st as encryptable, t as checkProject, tt as eventsColumnsEdited, u as previewAccessProvider, ut as optionError, v as connect, w as editTable, x as deleteExtraColumn, y as defaultError, z as userConnection } from "../project-At5wBJSS.js";
3
- import { m as diffDesigns } from "../preset-Cl3Q5ASC.js";
1
+ import { A as APP_ON_DELETE_ACTIONS } from "../instances-z6DJn2Gr.js";
2
+ import { $ as tableWithComputed, A as referenceFrom, B as withDesign, C as duplicateTable, D as isAppTable, E as identifierError, F as setTableId, G as filterColumns, H as computedColumnRenamed, I as singular, J as lookupSources, K as fittedRollup, L as tidy, M as renameTable, N as setColumn, O as isEmptyDesign, P as setExtraColumn, Q as rollupSources, R as updateTable, S as deleteTable, T as freeTableName, U as computedRows, V as ROLLUP_AGGREGATES, W as computedTableRenamed, X as readableColumns, Y as prunedComputed, Z as rollupColumns, _ as columnError, a as parseSchema, at as boundError, b as deleteColumn, c as tenantColumnOf, ct as fitted, d as previewFiles, dt as takesBounds, et as tableWithoutComputed, f as designIssues, ft as withBounds, g as appTableId, h as addTable, i as keyColumnsOf, it as subjectTypeError, j as renameColumn, k as moveTables, l as schemaData, lt as lockedWithoutDefault, m as EMPTY_DESIGN, n as loadProject, nt as subjectColumns, o as schemaRelations, ot as columnLabel, p as APP_MODULE, q as isRollupAggregate, r as checkDesign, rt as subjectColumnsEdited, s as tableStatements, st as encryptable, t as checkProject, tt as eventsColumnsEdited, u as previewAccessProvider, ut as optionError, v as connect, w as editTable, x as deleteExtraColumn, y as defaultError, z as userConnection } from "../project-CMRUh_6Z.js";
3
+ import { m as diffDesigns } from "../preset-CPUA9haY.js";
4
4
  // src/create/column-kinds.ts
5
5
  /** The groups of the column type picker, in the order it shows them. */
6
6
  const KIND_GROUPS = [
@@ -1,8 +1,8 @@
1
- import { Tt as Issue, t as PresetMigrationFile, u as Design } from "../../types-DvglaQ_D.js";
2
- import { jn as CreateDesign, lr as PresetInput } from "../../context-DSJpfeVv.js";
1
+ import { Tt as Issue, t as PresetMigrationFile, u as Design } from "../../types-DRNzKqdm.js";
2
+ import { jn as CreateDesign, lr as PresetInput } from "../../context-C3-QkbC2.js";
3
3
  import { st as SchemaMeta } from "../../types-BlBju7Wa.js";
4
4
  import { c as SpecDiagnostic } from "../../format-BT0Z3V54.js";
5
- import { s as AuthorizationProvider } from "../../authorization-DK7YSiFV.js";
5
+ import { s as AuthorizationProvider } from "../../authorization-CRKL2OFQ.js";
6
6
  /**
7
7
  * The parts of `@supabase/lite` that `liteStack()` uses, typed structurally so
8
8
  * the optional peer stays out of the published types.
@@ -1,7 +1,7 @@
1
1
  import { n as loadLite, t as LITE_INSTALL } from "../../runtime-qslVrC9l.js";
2
- import { b as appDefaultError } from "../../instances-BMjIO6Xu.js";
2
+ import { b as appDefaultError } from "../../instances-z6DJn2Gr.js";
3
3
  import { t as defineApi } from "../../api-CSUt1Mfm.js";
4
- import { n as loadProject } from "../../project-At5wBJSS.js";
4
+ import { n as loadProject } from "../../project-CMRUh_6Z.js";
5
5
  import { i as fillTemplate } from "../../access-sql-DH2LbcQe.js";
6
6
  // src/create/lite/apply.ts
7
7
  const MISSING_EXTENSION = /extension "([^"]+)" is not available/u;
@@ -0,0 +1,92 @@
1
+ // src/sql/modules/deadlines-values.ts
2
+ /** The states of a version of a rule set. */
3
+ const RULE_VERSION_STATUSES = ["draft", "approved"];
4
+ /** What one group of a rule set version yields for a subject. */
5
+ const DEADLINE_RESULTS = [
6
+ "due",
7
+ "unknown",
8
+ "pending",
9
+ "undated",
10
+ "not_covered",
11
+ "not_applicable",
12
+ "not_required",
13
+ "barred"
14
+ ];
15
+ /** Where a deadline stands: pending until an action satisfies it. */
16
+ const DEADLINE_STATES = ["pending", "satisfied"];
17
+ const OFFSET_UNITS = [
18
+ "days",
19
+ "business_days",
20
+ "months"
21
+ ];
22
+ /** How a date that lands on a non-business day moves after the roll. */
23
+ const DEADLINE_ADJUSTMENTS = [
24
+ "none",
25
+ "next_business_day",
26
+ "previous_business_day"
27
+ ];
28
+ /** The largest count a rule may carry, in its unit. */
29
+ const OFFSET_LIMIT = 3650;
30
+ /** The approval state of a rule, an exception or a counting block. */
31
+ const PART_STATUSES = [
32
+ "approved",
33
+ "draft",
34
+ "review_required"
35
+ ];
36
+ /** What a settled exception decides; `review_required` never decides. */
37
+ const EXCEPTION_RESULTS = [
38
+ "barred",
39
+ "not_applicable",
40
+ "not_required",
41
+ "review_required"
42
+ ];
43
+ /** The days a counting block can roll a last day past. */
44
+ const ROLL_DAYS = [
45
+ "saturday",
46
+ "sunday",
47
+ "holiday"
48
+ ];
49
+ const WEEKDAYS = [
50
+ "monday",
51
+ "tuesday",
52
+ "wednesday",
53
+ "thursday",
54
+ "friday",
55
+ "saturday",
56
+ "sunday"
57
+ ];
58
+ /** The listed day an observed shift reads. */
59
+ const OBSERVED_FALLS_ON = [
60
+ "saturday",
61
+ "sunday",
62
+ "other_than_sunday"
63
+ ];
64
+ /** Where an observed shift moves a holiday, strictly before or after it. */
65
+ const OBSERVED_MOVES = [
66
+ "preceding_friday",
67
+ "following_monday",
68
+ "preceding_sunday",
69
+ "following_sunday"
70
+ ];
71
+ /** The largest `meta` object, in bytes of its jsonb text. */
72
+ const META_LIMIT = 32768;
73
+ /** The fact a monthly count reads its first furnishing month from. */
74
+ const FIRST_FURNISHING_FACT = "first_furnishing_date";
75
+ /** The fact that ends a monthly count's months. */
76
+ const LAST_FURNISHING_FACT = "last_furnishing_date";
77
+ /** A name of a fact, a group or an exception. */
78
+ const DEADLINE_NAME = /^[a-z][a-z0-9_]{0,62}$/u;
79
+ /** A rule key, long enough for `<group>__<cell>`. */
80
+ const RULE_KEY = /^[a-z][a-z0-9_]{0,127}$/u;
81
+ /** The longest exception note. */
82
+ const NOTE_LIMIT = 2e3;
83
+ const ISO_DATE = /^(\d{4})-(\d{2})-(\d{2})$/u;
84
+ /** A plain object, not an array or null. */
85
+ function isRecord(value) {
86
+ return typeof value === "object" && value !== null && !Array.isArray(value);
87
+ }
88
+ /** Whether an object has its own key. */
89
+ function has(value, key) {
90
+ return Object.hasOwn(value, key);
91
+ }
92
+ export { RULE_KEY as _, EXCEPTION_RESULTS as a, has as b, LAST_FURNISHING_FACT as c, OBSERVED_FALLS_ON as d, OBSERVED_MOVES as f, ROLL_DAYS as g, PART_STATUSES as h, DEADLINE_STATES as i, META_LIMIT as l, OFFSET_UNITS as m, DEADLINE_NAME as n, FIRST_FURNISHING_FACT as o, OFFSET_LIMIT as p, DEADLINE_RESULTS as r, ISO_DATE as s, DEADLINE_ADJUSTMENTS as t, NOTE_LIMIT as u, RULE_VERSION_STATUSES as v, isRecord as x, WEEKDAYS as y };
@@ -1,7 +1,7 @@
1
1
  /// <reference lib="esnext.temporal" />
2
2
  import { T as ErrorMapper, b as DbError, f as Result, t as AsyncResult } from "./result-CMqlHv82.js";
3
3
  import { D as BlockEventPattern, Dt as Events, Ot as MergedEventMap, T as BlockEvent, Tt as EventMapOf, k as BlockEventsMatching, o as EventHub, wt as EventMap } from "./events-DN9PAcjq.js";
4
- import { Wt as BlockOptionsSchema, m as InstanceKeys, p as EntityConfig } from "./blocks-2HFgUcqG.js";
4
+ import { Wt as BlockOptionsSchema, m as InstanceKeys, p as EntityConfig } from "./blocks-Cf2U_jmO.js";
5
5
  import { n as BlockOptions, r as BlockTemporalOptions, s as BlockTenantOptions } from "./block-helpers-rTsuHt6v.js";
6
6
  import { a as BlockTransportMiddleware, n as BlockHooks } from "./block-hooks-FM9t7ol_.js";
7
7
  import { i as RpcClient, r as DbTransportSource, t as BlockTransport } from "./block-transport-CP4wAHU-.js";
@@ -5,7 +5,7 @@ import { t as BlockTransport } from "./block-transport-CP4wAHU-.js";
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 { An as Attachment, Ln as AttachmentStorage, Mn as AttachmentDownload, Vn as Attachments, cr as RecordRequestListOptions, er as AccessRequests, sr as RecordAccessRequest } from "./define-block-Cu67KCN1.js";
8
+ import { An as Attachment, Ln as AttachmentStorage, Mn as AttachmentDownload, Vn as Attachments, cr as RecordRequestListOptions, er as AccessRequests, sr as RecordAccessRequest } from "./define-block-Dle1hNrI.js";
9
9
  import { p as ApprovalStatus } from "./approvals-DnabEGo2.js";
10
10
  import { r as BlockTemporalOptions } from "./block-helpers-rTsuHt6v.js";
11
11
  /**
@@ -1,4 +1,4 @@
1
- import { t as AuthSnapshot } from "./bind-DiGmjHzz.js";
1
+ import { t as AuthSnapshot } from "./bind-DEPqZLwv.js";
2
2
  import { n as AuthSession } from "./view-CVXHgadI.js";
3
3
  /** Verified claims, read by name. */
4
4
  type ClaimsRecord = Readonly<Record<string, unknown>>;
@@ -1,6 +1,6 @@
1
1
  import { t as BlockTransport } from "./block-transport-CP4wAHU-.js";
2
2
  import { i as EventSink } from "./cloud-event-Dj2V1lQw.js";
3
- import { jn as AttachmentBucket } from "./define-block-Cu67KCN1.js";
3
+ import { jn as AttachmentBucket } from "./define-block-Dle1hNrI.js";
4
4
  import { o as Knowledge } from "./knowledge-vrO4Poa5.js";
5
5
  import { _ as JobHandler } from "./types-CTb0Uroz.js";
6
6
  import { t as AsyncResult } from "./result-CMqlHv82.js";