better-supabase 0.54.0 → 0.56.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 (445) hide show
  1. package/dist/{agents-DcZk8HBB.d.ts → agents-DJChYmXn.d.ts} +2 -2
  2. package/dist/{ai-schedules-b-uWaxba.d.ts → ai-schedules-5fxfEOWM.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-B2xNMyLA.d.ts → app-tables-CWnf7wpo.d.ts} +1 -1
  6. package/dist/{audit-actions-Dni5Y4wV.d.ts → audit-actions-DC-AtyWB.d.ts} +6 -0
  7. package/dist/{authorization-Bk6cLL5f.d.ts → authorization-Hh9xUm0r.d.ts} +1 -1
  8. package/dist/{automations-CjKWYzIu.js → automations-Cu1KdCvL.js} +3 -1
  9. package/dist/{bind-DWElQa6I.d.ts → bind-CC5-eBT-.d.ts} +4 -4
  10. package/dist/{block-env-CQQUMPYZ.d.ts → block-env-CzT1OAiI.d.ts} +4 -4
  11. package/dist/{block-subjects-9KU6Q6-3.js → block-subjects-B9hb1LLk.js} +4 -3
  12. package/dist/{block-tables-JC1dMLaA.d.ts → block-tables-DOGtmm0m.d.ts} +1 -1
  13. package/dist/blocks/access-requests/index.d.ts +1 -1
  14. package/dist/blocks/accounting/index.d.ts +1 -1
  15. package/dist/blocks/acknowledgements/index.d.ts +1 -1
  16. package/dist/blocks/activities/index.d.ts +2 -2
  17. package/dist/blocks/advisories/index.d.ts +1 -1
  18. package/dist/blocks/agent-checkout/index.d.ts +1 -1
  19. package/dist/blocks/agents/index.d.ts +1 -1
  20. package/dist/blocks/ai-cache/index.d.ts +1 -1
  21. package/dist/blocks/ai-chat/index.d.ts +1 -1
  22. package/dist/blocks/ai-evals/index.d.ts +1 -1
  23. package/dist/blocks/ai-files/index.d.ts +1 -1
  24. package/dist/blocks/ai-guardrails/index.d.ts +1 -1
  25. package/dist/blocks/ai-keys/index.d.ts +1 -1
  26. package/dist/blocks/ai-schedules/index.d.ts +2 -2
  27. package/dist/blocks/announcements/index.d.ts +4 -4
  28. package/dist/blocks/api-keys/index.d.ts +1 -1
  29. package/dist/blocks/appraisals/index.d.ts +1 -1
  30. package/dist/blocks/approvals/index.d.ts +1 -1
  31. package/dist/blocks/assets/index.d.ts +2 -2
  32. package/dist/blocks/assignment/index.d.ts +1 -1
  33. package/dist/blocks/attachments/index.d.ts +5 -5
  34. package/dist/blocks/audit/index.d.ts +2 -2
  35. package/dist/blocks/automations/index.d.ts +3 -3
  36. package/dist/blocks/banking/index.d.ts +1 -1
  37. package/dist/blocks/billable-time/index.d.ts +1 -1
  38. package/dist/blocks/billing/index.d.ts +2 -2
  39. package/dist/blocks/bookings/index.d.ts +2 -2
  40. package/dist/blocks/bulk/index.d.ts +1 -1
  41. package/dist/blocks/calendar/index.d.ts +3 -3
  42. package/dist/blocks/care/index.d.ts +27 -27
  43. package/dist/blocks/care-plans/index.d.ts +3 -3
  44. package/dist/blocks/cases/index.d.ts +3 -3
  45. package/dist/blocks/catalog/index.d.ts +2 -2
  46. package/dist/blocks/channels/index.d.ts +1 -1
  47. package/dist/blocks/clinical-decision-support/index.d.ts +1 -1
  48. package/dist/blocks/cms/index.d.ts +5 -5
  49. package/dist/blocks/collaboration/index.d.ts +6 -6
  50. package/dist/blocks/collections/index.d.ts +1 -1
  51. package/dist/blocks/comments/index.d.ts +2 -2
  52. package/dist/blocks/commerce/index.d.ts +5 -5
  53. package/dist/blocks/commerce/index.js +2 -2
  54. package/dist/blocks/commissions/index.d.ts +1 -1
  55. package/dist/blocks/compliance/index.d.ts +1 -1
  56. package/dist/blocks/connectors/index.d.ts +1 -1
  57. package/dist/blocks/consents/index.d.ts +2 -2
  58. package/dist/blocks/contacts/index.d.ts +2 -2
  59. package/dist/blocks/content/index.d.ts +2 -2
  60. package/dist/blocks/contracts/index.d.ts +1 -1
  61. package/dist/blocks/courses/index.d.ts +3 -3
  62. package/dist/blocks/created-by/index.d.ts +2 -2
  63. package/dist/blocks/crm/index.d.ts +16 -16
  64. package/dist/blocks/crm/index.js +2 -2
  65. package/dist/blocks/custom-fields/index.d.ts +1 -1
  66. package/dist/blocks/dam/index.d.ts +2 -2
  67. package/dist/blocks/data-lifecycle/index.d.ts +2 -2
  68. package/dist/blocks/deadlines/index.d.ts +249 -43
  69. package/dist/blocks/deadlines/index.js +862 -20
  70. package/dist/blocks/deals/index.d.ts +1 -1
  71. package/dist/blocks/dispatch/index.d.ts +2 -2
  72. package/dist/blocks/document-templates/index.d.ts +2 -2
  73. package/dist/blocks/documents/index.d.ts +1 -1
  74. package/dist/blocks/domains/index.d.ts +1 -1
  75. package/dist/blocks/donations/index.d.ts +1 -1
  76. package/dist/blocks/drive/index.d.ts +5 -5
  77. package/dist/blocks/e-prescribing/index.d.ts +1 -1
  78. package/dist/blocks/employees/index.d.ts +1 -1
  79. package/dist/blocks/enrichment/index.d.ts +1 -1
  80. package/dist/blocks/enrollments/index.d.ts +2 -2
  81. package/dist/blocks/entitlements/index.d.ts +3 -3
  82. package/dist/blocks/events/index.d.ts +3 -3
  83. package/dist/blocks/expenses/index.d.ts +1 -1
  84. package/dist/blocks/field-history/index.d.ts +1 -1
  85. package/dist/blocks/filespace/index.d.ts +8 -8
  86. package/dist/blocks/finance/index.d.ts +5 -5
  87. package/dist/blocks/finance/index.js +1 -1
  88. package/dist/blocks/flags/index.d.ts +1 -1
  89. package/dist/blocks/forecasts/index.d.ts +1 -1
  90. package/dist/blocks/forms/index.d.ts +3 -3
  91. package/dist/blocks/funding/index.d.ts +2 -2
  92. package/dist/blocks/goals/index.d.ts +1 -1
  93. package/dist/blocks/governance/index.d.ts +4 -4
  94. package/dist/blocks/guests/index.d.ts +1 -1
  95. package/dist/blocks/hiring/index.d.ts +1 -1
  96. package/dist/blocks/identities/index.d.ts +1 -1
  97. package/dist/blocks/imports/index.d.ts +2 -2
  98. package/dist/blocks/inbox/index.d.ts +6 -6
  99. package/dist/blocks/incidents/index.d.ts +1 -1
  100. package/dist/blocks/index.d.ts +4 -4
  101. package/dist/blocks/inspections/index.d.ts +2 -2
  102. package/dist/blocks/inventory/index.d.ts +1 -1
  103. package/dist/blocks/inventory/index.js +1 -1
  104. package/dist/blocks/invoices/index.d.ts +1 -1
  105. package/dist/blocks/invoices/index.js +1 -1
  106. package/dist/blocks/knowledge/index.d.ts +1 -1
  107. package/dist/blocks/lead-scoring/index.d.ts +2 -2
  108. package/dist/blocks/learning/index.d.ts +3 -3
  109. package/dist/blocks/leases/index.d.ts +1 -1
  110. package/dist/blocks/leave/index.d.ts +1 -1
  111. package/dist/blocks/ledger/index.d.ts +1 -1
  112. package/dist/blocks/legal-entities/index.d.ts +2 -2
  113. package/dist/blocks/lims/index.d.ts +2 -2
  114. package/dist/blocks/mail-sync/index.d.ts +3 -3
  115. package/dist/blocks/maintenance/index.d.ts +2 -2
  116. package/dist/blocks/manufacturing/index.d.ts +2 -2
  117. package/dist/blocks/medications/index.d.ts +1 -1
  118. package/dist/blocks/meetings/index.d.ts +3 -3
  119. package/dist/blocks/memberships/index.d.ts +2 -2
  120. package/dist/blocks/memory/index.d.ts +1 -1
  121. package/dist/blocks/messaging/index.d.ts +5 -5
  122. package/dist/blocks/metrics/index.d.ts +1 -1
  123. package/dist/blocks/mfa/index.d.ts +2 -2
  124. package/dist/blocks/moderation/index.d.ts +2 -2
  125. package/dist/blocks/notifications/index.d.ts +5 -5
  126. package/dist/blocks/numbering/index.d.ts +1 -1
  127. package/dist/blocks/oauth-server/index.d.ts +1 -1
  128. package/dist/blocks/observations/index.d.ts +2 -2
  129. package/dist/blocks/onboarding/index.d.ts +2 -2
  130. package/dist/blocks/option-sets/index.d.ts +2 -2
  131. package/dist/blocks/orders/index.d.ts +1 -1
  132. package/dist/blocks/orders/index.js +1 -1
  133. package/dist/blocks/organizations/index.d.ts +2 -2
  134. package/dist/blocks/outbox/index.d.ts +1 -1
  135. package/dist/blocks/passes/index.d.ts +2 -2
  136. package/dist/blocks/payroll-export/index.d.ts +2 -2
  137. package/dist/blocks/payroll-export/index.js +1 -1
  138. package/dist/blocks/people/index.d.ts +7 -7
  139. package/dist/blocks/people/index.js +1 -1
  140. package/dist/blocks/periods/index.d.ts +1 -1
  141. package/dist/blocks/permissions/index.d.ts +3 -3
  142. package/dist/blocks/pipelines/index.d.ts +1 -1
  143. package/dist/blocks/posts/index.d.ts +2 -2
  144. package/dist/blocks/procurement/index.d.ts +5 -5
  145. package/dist/blocks/procurement/index.js +2 -2
  146. package/dist/blocks/profiles/index.d.ts +1 -1
  147. package/dist/blocks/projects/index.d.ts +7 -7
  148. package/dist/blocks/projects/index.js +2 -2
  149. package/dist/blocks/promotions/index.d.ts +1 -1
  150. package/dist/blocks/prompts/index.d.ts +1 -1
  151. package/dist/blocks/push/index.d.ts +2 -2
  152. package/dist/blocks/qualifications/index.d.ts +2 -2
  153. package/dist/blocks/queue/index.d.ts +2 -2
  154. package/dist/blocks/quotes/index.d.ts +1 -1
  155. package/dist/blocks/quotes/index.js +2 -2
  156. package/dist/blocks/rank/index.d.ts +1 -1
  157. package/dist/blocks/reactions/index.d.ts +4 -4
  158. package/dist/blocks/recruiting/index.d.ts +4 -4
  159. package/dist/blocks/referrals/index.d.ts +1 -1
  160. package/dist/blocks/relations/index.d.ts +1 -1
  161. package/dist/blocks/reminders/index.d.ts +1 -1
  162. package/dist/blocks/reviews/index.d.ts +1 -1
  163. package/dist/blocks/rfqs/index.d.ts +2 -2
  164. package/dist/blocks/risks/index.d.ts +2 -2
  165. package/dist/blocks/saas/index.d.ts +12 -12
  166. package/dist/blocks/sales/index.d.ts +1 -1
  167. package/dist/blocks/sales/index.js +1 -1
  168. package/dist/blocks/saved-views/index.d.ts +2 -2
  169. package/dist/blocks/scheduling/index.d.ts +4 -4
  170. package/dist/blocks/scores/index.d.ts +2 -2
  171. package/dist/blocks/search/index.d.ts +3 -3
  172. package/dist/blocks/security-events/index.d.ts +1 -1
  173. package/dist/blocks/segments/index.d.ts +2 -2
  174. package/dist/blocks/sequences/index.d.ts +3 -3
  175. package/dist/blocks/service/index.d.ts +7 -7
  176. package/dist/blocks/service/index.js +1 -1
  177. package/dist/blocks/service-accounts/index.d.ts +1 -1
  178. package/dist/blocks/sessions/index.d.ts +2 -2
  179. package/dist/blocks/settings/index.d.ts +2 -2
  180. package/dist/blocks/share-links/index.d.ts +1 -1
  181. package/dist/blocks/shifts/index.d.ts +2 -2
  182. package/dist/blocks/shipments/index.d.ts +2 -2
  183. package/dist/blocks/signatures/index.d.ts +2 -2
  184. package/dist/blocks/signing-keys/index.d.ts +1 -1
  185. package/dist/blocks/sla/index.d.ts +1 -1
  186. package/dist/blocks/sso/index.d.ts +1 -1
  187. package/dist/blocks/state-machine/index.d.ts +1 -1
  188. package/dist/blocks/subjects/index.d.ts +2 -2
  189. package/dist/blocks/support/index.d.ts +5 -5
  190. package/dist/blocks/support/index.js +1 -1
  191. package/dist/blocks/tags/index.d.ts +2 -2
  192. package/dist/blocks/tasks/index.d.ts +2 -2
  193. package/dist/blocks/tasks/index.js +1 -1
  194. package/dist/blocks/tax/index.d.ts +2 -2
  195. package/dist/blocks/teams/index.d.ts +1 -1
  196. package/dist/blocks/templates/index.d.ts +11 -1
  197. package/dist/blocks/templates/index.js +6 -1
  198. package/dist/blocks/tills/index.d.ts +1 -1
  199. package/dist/blocks/time-tracking/index.d.ts +2 -2
  200. package/dist/blocks/timeline/index.d.ts +1 -1
  201. package/dist/blocks/trash/index.d.ts +1 -1
  202. package/dist/blocks/undo/index.d.ts +2 -2
  203. package/dist/blocks/updated-at/index.d.ts +2 -2
  204. package/dist/blocks/usage/index.d.ts +2 -2
  205. package/dist/blocks/vercel-marketplace/index.d.ts +1 -1
  206. package/dist/blocks/versions/index.d.ts +1 -1
  207. package/dist/blocks/waitlist/index.d.ts +1 -1
  208. package/dist/blocks/warehouse/index.d.ts +1 -1
  209. package/dist/blocks/webhooks/index.d.ts +1 -1
  210. package/dist/blocks/workflow-editor/index.d.ts +4 -4
  211. package/dist/blocks/workflows/index.d.ts +4 -4
  212. package/dist/{blocks-LZklPzC5.d.ts → blocks-DvWEz8mQ.d.ts} +56 -21
  213. package/dist/claims/index.d.ts +3 -3
  214. package/dist/cli/{add-BQZbFEAP.js → add--O_HFhs0.js} +2 -2
  215. package/dist/cli/add-CUAchifS.js +1 -0
  216. package/dist/cli/{add-DK38-F2F.js → add-DT2QsJB0.js} +12 -12
  217. package/dist/cli/{app-table-files-C5Sx2Qao.js → app-table-files-BjMDa_7_.js} +3 -3
  218. package/dist/cli/{app-tables-ChZE8Z_L.js → app-tables-D34g1ASz.js} +2 -2
  219. package/dist/cli/{backfill-COnv2tOL.js → backfill-DWD5chCd.js} +3 -3
  220. package/dist/cli/bin.js +1 -1
  221. package/dist/cli/{blocks-Dea_Z5Ps.js → blocks-BduQcXFb.js} +1 -1
  222. package/dist/cli/{blocks-Csu6lLqC.js → blocks-DKs7Qj8R.js} +1 -1
  223. package/dist/cli/{cache-C1nAFZNW.js → cache-EFwNdKib.js} +1 -1
  224. package/dist/cli/{codemod-DHULUpez.js → codemod-CuaWRwst.js} +1 -1
  225. package/dist/cli/{config-FN5Cp861.js → config-DdkxiGjH.js} +7 -0
  226. package/dist/cli/{config-U32Vo0h6.js → config-DmjFp8jY.js} +1 -1
  227. package/dist/cli/{content-mapper-QVJJto5U.js → content-mapper-BlOMmIM2.js} +2 -2
  228. package/dist/cli/{db-T8u160uM.js → db-B54TQ_iX.js} +2 -2
  229. package/dist/cli/{doctor-Du2zwLUG.js → doctor-JdxWuscJ.js} +17 -17
  230. package/dist/cli/{gen-CQ2ubqjB.js → gen-n6l6AMLo.js} +14 -14
  231. package/dist/cli/index.d.ts +1 -1
  232. package/dist/cli/index.js +7 -7
  233. package/dist/cli/{init-CTt0aQn1.js → init-BLMHN_2A.js} +10 -10
  234. package/dist/cli/{live-DMNuAml9.js → live-C4uCg3ME.js} +2 -2
  235. package/dist/cli/{mcp-C63ulwyU.js → mcp-CFLvzFKH.js} +2 -2
  236. package/dist/cli/{metadata-CylES-9Y.js → metadata-CRp8JQTE.js} +3 -3
  237. package/dist/cli/{migrate-BezKva56.js → migrate-BjDf0moD.js} +1 -1
  238. package/dist/cli/{migration-safety-DQtpMu-g.js → migration-safety-D-QnV2BW.js} +2 -2
  239. package/dist/cli/{migrations-DGJJ1rHt.js → migrations-8dDFF8SW.js} +2 -2
  240. package/dist/cli/{module-migration-CxbEDfSF.js → module-migration-DuwIX8MO.js} +2 -2
  241. package/dist/cli/powersync-ByqoHJwp.js +1 -0
  242. package/dist/cli/{powersync-FUYFuZSw.js → powersync-CHVlZIqs.js} +3 -3
  243. package/dist/cli/{print-DAwLAC-7.js → print-orgMiDzp.js} +2 -2
  244. package/dist/cli/{providers-hrxX3YKU.js → providers-DWZVnoDw.js} +1 -1
  245. package/dist/cli/{prune-workflows-DLhKu_UJ.js → prune-workflows-DelKs-zD.js} +3 -3
  246. package/dist/cli/{remove-DSC6Fvwo.js → remove-BH6Zwjhs.js} +6 -6
  247. package/dist/cli/{render-647qdnrX.js → render-DyWVslCM.js} +4 -4
  248. package/dist/cli/{run--qaDaqfL.js → run-BYX5n5rt.js} +9 -9
  249. package/dist/cli/{run-BcI6KXV3.js → run-GcSBgXCH.js} +35 -35
  250. package/dist/cli/seed-BxjjQ3OO.js +1 -0
  251. package/dist/cli/{seed-BgpovbwF.js → seed-kCLEYSOH.js} +2 -2
  252. package/dist/cli/{shared-D_DZ9MfG.js → shared-BoVOOrpJ.js} +1 -1
  253. package/dist/cli/{snapshot-B-1tPbV4.js → snapshot-BZGZ9pB-.js} +3 -3
  254. package/dist/cli/{source-BgFNrRcl.js → source-Buw7eODS.js} +1 -1
  255. package/dist/cli/{source-args-DC8snM7e.js → source-args-C3_mMci3.js} +1 -1
  256. package/dist/cli/{spec-CV0FdW18.js → spec-CUWMpL3f.js} +2 -2
  257. package/dist/cli/{spec-C88dtkj4.js → spec-CnRC9FcX.js} +1 -1
  258. package/dist/cli/{sql-layout-byUur5FC.js → sql-layout-BZ-NhhTI.js} +2 -2
  259. package/dist/cli/{sync-BtM7o-sI.js → sync-CFzA4xdr.js} +4 -4
  260. package/dist/cli/{upgrade-CKDeHkyy.js → upgrade-D1szGysi.js} +5 -5
  261. package/dist/cli/{upgrade-B_HEJvRX.js → upgrade-ukOP0GXf.js} +2 -2
  262. package/dist/cli/{version-DWDoiP5_.js → version-D1sJX6_6.js} +1 -1
  263. package/dist/client/index.d.ts +6 -6
  264. package/dist/client/native/index.d.ts +4 -4
  265. package/dist/config/index.d.ts +4 -4
  266. package/dist/config/index.js +4 -4
  267. package/dist/{config-LOwFAFpo.js → config-Bx3UYp8b.js} +3 -3
  268. package/dist/{config-ekflaCnS.js → config-CAjlOSQY.js} +1 -1
  269. package/dist/{context-iduX3Fsn.d.ts → context-BIBqUjVz.d.ts} +47 -4
  270. package/dist/contract/index.d.ts +3 -3
  271. package/dist/{contributions-DPjEWWpE.js → contributions-olp7tVYC.js} +11 -0
  272. package/dist/{controller-DFGNChQL.d.ts → controller-DBD6WWDa.d.ts} +1 -1
  273. package/dist/{conversion-DTBB0Zgt.d.ts → conversion-DLkof9_y.d.ts} +1 -1
  274. package/dist/create/index.d.ts +4 -4
  275. package/dist/create/index.js +3 -3
  276. package/dist/create/lite/index.d.ts +3 -3
  277. package/dist/create/lite/index.js +2 -2
  278. package/dist/{data-engine-BKO5EAzN.d.ts → data-engine-0uVsKWaB.d.ts} +7 -3
  279. package/dist/deadlines-values-vmaCCdGl.js +92 -0
  280. package/dist/{define-block-By-LUpM_.d.ts → define-block-zK3QnPyG.d.ts} +1 -1
  281. package/dist/{drive-CuNG4qB8.d.ts → drive-Keqe8dIg.d.ts} +1 -1
  282. package/dist/{entitlements-Go8BHqhr.d.ts → entitlements-QwMag409.d.ts} +1 -1
  283. package/dist/{extract-DQKHxiiq.d.ts → extract-CJWS6MMG.d.ts} +1 -1
  284. package/dist/{field-errors-B4SMTk2e.d.ts → field-errors-BlyD3if3.d.ts} +6 -6
  285. package/dist/{index-DQVQYEhP.d.ts → index-0AVn1Dcr.d.ts} +1 -1
  286. package/dist/{index-20EPlFXG.d.ts → index-9rajR8Ti.d.ts} +1 -1
  287. package/dist/{index-DlXgoerO.d.ts → index-B5rQ9MEl.d.ts} +1 -1
  288. package/dist/{index-DkNMN5uU.d.ts → index-B7_Mq8Qm.d.ts} +1 -1
  289. package/dist/{index-DkJtM-9e.d.ts → index-BGqvP9dE.d.ts} +9 -9
  290. package/dist/{index-szXZSILq.d.ts → index-BIClMq6S.d.ts} +7 -7
  291. package/dist/{index-YZ-_hzdR.d.ts → index-BOI3eLz0.d.ts} +1 -1
  292. package/dist/{index-B8axasMg.d.ts → index-BSdDLEA-.d.ts} +1 -1
  293. package/dist/{index-ROumUag2.d.ts → index-BTC40rxx.d.ts} +1 -1
  294. package/dist/{index-C1kImKZg.d.ts → index-BxdldeGx.d.ts} +1 -1
  295. package/dist/{index-DXoS8BnK.d.ts → index-C7tmYYB5.d.ts} +3 -3
  296. package/dist/{index-BoKvWo8t.d.ts → index-CJB2uCFk.d.ts} +1 -1
  297. package/dist/{index-DkNLdcX_.d.ts → index-COLMIEk0.d.ts} +1 -1
  298. package/dist/{index-BmKtYKwN.d.ts → index-CPRQdNHc.d.ts} +2 -2
  299. package/dist/{index-NqLuAXG3.d.ts → index-CSdjm0Kn.d.ts} +2 -2
  300. package/dist/{index-D4ke5U0m.d.ts → index-CT0OjCk1.d.ts} +1 -1
  301. package/dist/{index-D7FXhn2i.d.ts → index-CocISf2h.d.ts} +1 -1
  302. package/dist/{index-9zNFFq6E.d.ts → index-Cvd24Ybb.d.ts} +1 -1
  303. package/dist/{index-CTHuTJtf.d.ts → index-DASeimpy.d.ts} +1 -1
  304. package/dist/{index-Dg35ugqv.d.ts → index-DBqRH5cj.d.ts} +4 -4
  305. package/dist/{index-abVPYQE3.d.ts → index-DCeA3cFQ.d.ts} +1 -1
  306. package/dist/{index-bJVAgXxw.d.ts → index-DD3Ldome.d.ts} +2 -2
  307. package/dist/{index-DJyt9j86.d.ts → index-DEDIPDaW.d.ts} +2 -2
  308. package/dist/{index-D9Sb8Ju5.d.ts → index-DNitLhgU.d.ts} +3 -3
  309. package/dist/{index-BKWnyAWN.d.ts → index-D_OEwOaE.d.ts} +2 -2
  310. package/dist/{index-DzjugbCf.d.ts → index-D_g2loq-.d.ts} +2 -2
  311. package/dist/{index-DfJFbsVp.d.ts → index-DaTxv1aA.d.ts} +1 -1
  312. package/dist/{index-D337YzjX.d.ts → index-DcihkEQo.d.ts} +1 -1
  313. package/dist/{index-DeE-Xuv7.d.ts → index-Do6ZAvXT.d.ts} +1 -1
  314. package/dist/{index-DgRK-iM3.d.ts → index-DpwRuDBy.d.ts} +4 -4
  315. package/dist/{index-pRdO2XnG.d.ts → index-HANt6RDT.d.ts} +1 -1
  316. package/dist/{index-Bsd8P1iQ.d.ts → index-QpKsKUbn.d.ts} +2 -2
  317. package/dist/{index-DFdqVxv6.d.ts → index-WXVYfOHr.d.ts} +4 -4
  318. package/dist/{index-BkBNirhK.d.ts → index-XjhYgGhk.d.ts} +2 -2
  319. package/dist/{index-BvwlIGwY.d.ts → index-_rOaXPbx.d.ts} +1 -1
  320. package/dist/{index-BXRyr3ey.d.ts → index-n-7IwvYP.d.ts} +2 -2
  321. package/dist/{index-D-bMFoGs.d.ts → index-urOSlPMc.d.ts} +2 -2
  322. package/dist/{instances-DJxWRqXk.js → instances-z6DJn2Gr.js} +52 -8
  323. package/dist/{inventory-reads-BNDSYnuG.js → inventory-reads-DEw2Kbff.js} +2 -1
  324. package/dist/{manifest-DjAdsSs4.d.ts → manifest-B4SF4ieN.d.ts} +1 -1
  325. package/dist/{manifest-BeW5LlW1.d.ts → manifest-B9D-PHpo.d.ts} +1 -1
  326. package/dist/{manifest-H6lz9xQm.d.ts → manifest-BBIs-5xy.d.ts} +1 -1
  327. package/dist/{manifest-BfIYKrNe.d.ts → manifest-BE6JGlFP.d.ts} +1 -1
  328. package/dist/{manifest-BCOBkYvY.d.ts → manifest-BExilPWu.d.ts} +2 -2
  329. package/dist/{manifest-uL5fzXsx.d.ts → manifest-BNhdYakH.d.ts} +1 -1
  330. package/dist/{manifest-DZLr6Cbr.js → manifest-BV1YxozT.js} +1 -1
  331. package/dist/{manifest-DweZMH-F.d.ts → manifest-BVkjX2t-.d.ts} +1 -1
  332. package/dist/{manifest-RUmJ5H6p.d.ts → manifest-BVnfLMPU.d.ts} +2 -2
  333. package/dist/{manifest-BxuSAdYu.d.ts → manifest-BX7vyeYr.d.ts} +1 -1
  334. package/dist/{manifest-DBmuiJ91.d.ts → manifest-BYxKYFcH.d.ts} +1 -1
  335. package/dist/{manifest-BRFen7mE.js → manifest-Bb8S2tcs.js} +1 -1
  336. package/dist/{manifest-CfQ0nD_7.d.ts → manifest-Bcx4GSo0.d.ts} +1 -1
  337. package/dist/{manifest-fviCqeHj.d.ts → manifest-BeupHUUC.d.ts} +1 -1
  338. package/dist/{manifest-BAgvJODg.d.ts → manifest-BmI85ooO.d.ts} +1 -1
  339. package/dist/{manifest-Dh4AJeLl.d.ts → manifest-BoKnFQJK.d.ts} +1 -1
  340. package/dist/{manifest-DxPMUjhY.js → manifest-BvcIe5z_.js} +1 -1
  341. package/dist/{manifest-DWQaegX6.d.ts → manifest-BwwWlxof.d.ts} +1 -1
  342. package/dist/{manifest-BGD8cD6S.d.ts → manifest-Bx62hgMv.d.ts} +1 -1
  343. package/dist/{manifest-o-S9bj6i.d.ts → manifest-C1plIFth.d.ts} +1 -1
  344. package/dist/{manifest-upfKO7JJ.d.ts → manifest-C8-zVlM4.d.ts} +1 -1
  345. package/dist/{manifest-BCyCm0Z3.d.ts → manifest-CANbbLyM.d.ts} +1 -1
  346. package/dist/{manifest-DdxfAXvG.d.ts → manifest-CCQYjt7L.d.ts} +1 -1
  347. package/dist/{manifest-CAPSAozN.d.ts → manifest-CDIvE9Po.d.ts} +1 -1
  348. package/dist/{manifest-CDcaLpwB.d.ts → manifest-CJEzfFKP.d.ts} +1 -1
  349. package/dist/{manifest-BgVQ8xd3.d.ts → manifest-CLSlmLnn.d.ts} +1 -1
  350. package/dist/{manifest-KHudP5T5.d.ts → manifest-CV-9uzTU.d.ts} +1 -1
  351. package/dist/{manifest-Dc1eHEJV.d.ts → manifest-CYDtm5Yz.d.ts} +1 -1
  352. package/dist/{manifest-CcDqfRee.d.ts → manifest-Cb0BCYmS.d.ts} +1 -1
  353. package/dist/{manifest-BJs6pHI0.d.ts → manifest-Cc1r_IME.d.ts} +1 -1
  354. package/dist/{manifest-DGgFeLwd.d.ts → manifest-CeFiTTOx.d.ts} +1 -1
  355. package/dist/{manifest-CszjCxVJ.d.ts → manifest-Ch8G8wad.d.ts} +1 -1
  356. package/dist/{manifest-qs_U2rx3.d.ts → manifest-Ciu7htmT.d.ts} +1 -1
  357. package/dist/{manifest-H65OlXiB.js → manifest-CqJkmxrA.js} +1 -1
  358. package/dist/{manifest-xRlf8RQk.d.ts → manifest-CtvRTQoq.d.ts} +1 -1
  359. package/dist/{manifest-B24Ymu8p.d.ts → manifest-CxJtO760.d.ts} +1 -1
  360. package/dist/{manifest-BSkYvne3.d.ts → manifest-D2mvuqCe.d.ts} +1 -1
  361. package/dist/{manifest-B6EkxzC0.d.ts → manifest-D8o7ivPa.d.ts} +1 -1
  362. package/dist/{manifest-Cko_ySTe.d.ts → manifest-DAQAHnHf.d.ts} +1 -1
  363. package/dist/{manifest-2jLTjnVh.d.ts → manifest-DBUE3KbP.d.ts} +1 -1
  364. package/dist/{manifest-DCPKfwsh.d.ts → manifest-DElW3hfs.d.ts} +1 -1
  365. package/dist/{manifest-BrOXXz7k.d.ts → manifest-DFGW17h3.d.ts} +1 -1
  366. package/dist/{manifest-CL5QEu5B.d.ts → manifest-DGXOQgh3.d.ts} +1 -1
  367. package/dist/{manifest-BqBVKNjy.d.ts → manifest-DHV0zxVj.d.ts} +1 -1
  368. package/dist/{manifest-BHZEsuzC.d.ts → manifest-DKCc24tm.d.ts} +1 -1
  369. package/dist/{manifest-BxujRhsY.d.ts → manifest-DKk12W7u.d.ts} +1 -1
  370. package/dist/{manifest-BbC83cJB.d.ts → manifest-DOUGC7xP.d.ts} +1 -1
  371. package/dist/{manifest-BmLU5HtO.d.ts → manifest-DPQpIRCO.d.ts} +1 -1
  372. package/dist/{manifest-Csw2tVut.d.ts → manifest-DPXd-wZG.d.ts} +1 -1
  373. package/dist/{manifest-Ct6mHhg4.d.ts → manifest-D_tuEFvt.d.ts} +1 -1
  374. package/dist/{manifest-BtlEwVU4.d.ts → manifest-DbzB7NQP.d.ts} +1 -1
  375. package/dist/{manifest-Bg5Znp_u.d.ts → manifest-Dd0bmqd-.d.ts} +1 -1
  376. package/dist/{manifest-jSOZl7qT.d.ts → manifest-DebHyEiN.d.ts} +1 -1
  377. package/dist/{manifest-vG5iHhA5.d.ts → manifest-Doxj-elq.d.ts} +1 -1
  378. package/dist/{manifest-Oo7PegXK.d.ts → manifest-DujUV7Cu.d.ts} +1 -1
  379. package/dist/{manifest-DnGgZ9_F.d.ts → manifest-Duj_AN2H.d.ts} +1 -1
  380. package/dist/{manifest-CeoUoZDs.d.ts → manifest-DzN5YdbZ.d.ts} +1 -1
  381. package/dist/{manifest-Da1QZDY4.d.ts → manifest-P2Pzb1Jo.d.ts} +1 -1
  382. package/dist/{manifest-DPGJ2otk.d.ts → manifest-SEhx1LFs.d.ts} +1 -1
  383. package/dist/{manifest-DpF5bliV.d.ts → manifest-Se6qEw03.d.ts} +1 -1
  384. package/dist/{manifest-8JvRt8LB.d.ts → manifest-UHESrKBI.d.ts} +1 -1
  385. package/dist/{manifest-dXPq0ubY.d.ts → manifest-Ul7Uq35H.d.ts} +1 -1
  386. package/dist/{manifest-CH7g3uI3.d.ts → manifest-XpSrCsAV.d.ts} +1 -1
  387. package/dist/{manifest-2ZgzNTbP.d.ts → manifest-iRX3gQ3g.d.ts} +10 -1
  388. package/dist/{manifest-BUktyXMR.js → manifest-ok1ge1bM.js} +1 -1
  389. package/dist/{manifest-BHlKJbN2.d.ts → manifest-uRsVzPOJ.d.ts} +1 -1
  390. package/dist/{manifest-DevURQJj.js → manifest-vBvsSefP.js} +5 -1
  391. package/dist/{manifest-Bj5hfBA_.d.ts → manifest-x50nYF_4.d.ts} +1 -1
  392. package/dist/mapper/bin.js +6 -6
  393. package/dist/mcp/index.d.ts +1 -1
  394. package/dist/next/index.d.ts +7 -7
  395. package/dist/{operations-IzVAIMvs.d.ts → operations-Ce53BGJ0.d.ts} +1 -1
  396. package/dist/{options-CGQC7Wue.js → options-C1N8cOQU.js} +2 -1
  397. package/dist/{options-BTuDJ2RC.js → options-Cu6IqZ_n.js} +3 -1
  398. package/dist/{options-wBw_6uhd.js → options-Oo46IzNk.js} +2 -1
  399. package/dist/{orders-reads-Yo9GGjdv.js → orders-reads-2ozdZx1l.js} +108 -13
  400. package/dist/otel/index.js +4 -4
  401. package/dist/{payroll-export-T754eWz8.js → payroll-export-ChZY6W3w.js} +1 -1
  402. package/dist/{permissions-DxXor_NY.d.ts → permissions-Bi4WvjnM.d.ts} +1 -1
  403. package/dist/{ports-C5BEHQi6.d.ts → ports-TvLRuWgJ.d.ts} +1 -1
  404. package/dist/powersync/index.d.ts +3 -3
  405. package/dist/powersync/index.js +11 -3
  406. package/dist/preset/index.d.ts +4 -4
  407. package/dist/preset/index.js +3 -3
  408. package/dist/{preset-8Xh21Uyw.js → preset-CPUA9haY.js} +9 -3
  409. package/dist/{preview-B-mtB1ka.d.ts → preview-DvpfbcDY.d.ts} +2 -2
  410. package/dist/{project-C6JAWCnH.js → project-CkGGYXKd.js} +5 -5
  411. package/dist/{push-token-TWXWra8i.d.ts → push-token-GJUUE_6j.d.ts} +1 -1
  412. package/dist/query/index.d.ts +1 -1
  413. package/dist/react/index.d.ts +6 -6
  414. package/dist/react/native/index.d.ts +1 -1
  415. package/dist/react/server.d.ts +5 -5
  416. package/dist/realtime/index.d.ts +3 -3
  417. package/dist/{record-form-B9-7RhYz.d.ts → record-form-DhpdYw5e.d.ts} +1 -1
  418. package/dist/records/index.d.ts +7 -7
  419. package/dist/{sales-CLHrvNDm.js → sales-BhOckhix.js} +3 -3
  420. package/dist/server/index.d.ts +3 -3
  421. package/dist/solid/index.d.ts +5 -5
  422. package/dist/sql/index.d.ts +6 -6
  423. package/dist/sql/index.js +3 -3
  424. package/dist/{sql-Bam07JIf.js → sql-CFsIpR4t.js} +2515 -474
  425. package/dist/sqlite/index.d.ts +1 -1
  426. package/dist/ssr/index.d.ts +1 -1
  427. package/dist/svelte/index.d.ts +5 -5
  428. package/dist/tanstack-db/index.d.ts +1 -1
  429. package/dist/{tenant-BpJ2F2b_.d.ts → tenant-BTxVWIN6.d.ts} +1 -1
  430. package/dist/testing/index.d.ts +6 -6
  431. package/dist/testing/index.js +1 -1
  432. package/dist/{timeline-LHtdAJnM.d.ts → timeline-9r4mx0A2.d.ts} +2 -2
  433. package/dist/{topic-4KYLvvTB.d.ts → topic-_7QKu4b5.d.ts} +1 -1
  434. package/dist/{types-Dfa7b0KI.d.ts → types-C2qXUXjK.d.ts} +2 -2
  435. package/dist/vue/index.d.ts +5 -5
  436. package/dist/{watch-topic-C9DIO476.d.ts → watch-topic-Do0x41n3.d.ts} +1 -1
  437. package/dist/webmcp/index.d.ts +1 -1
  438. package/dist/yjs/index.d.ts +1 -1
  439. package/package.json +1 -1
  440. package/schemas/config-v1.json +64 -1
  441. package/skills/better-supabase-api/references/powersync.md +1 -0
  442. package/dist/cli/add-3L9NVEA3.js +0 -1
  443. package/dist/cli/powersync-COHj6FT8.js +0 -1
  444. package/dist/cli/seed-CRD1tYPA.js +0 -1
  445. package/dist/deadlines-values-B7ArpVJU.js +0 -127
@@ -1,5 +1,5 @@
1
- import { Ar as PresetAccess, Dr as PRESET_FRAMEWORKS, Er as DEFAULT_CONVENTIONS, Fr as PresetFramework, Hr as integrationsForFramework, Lr as PresetPlatforms, Mr as PresetField, Nr as PresetFieldKey, Or as PRESET_TENANT_NAMES, Pr as PresetFieldValue, Rr as PresetScope, Tr as CONVENTION_FIELDS, Ur as presetField, Vr as PresetValueInfo, Wr as presetValueLabel, jr as PresetConventions, kr as Preset, zr as PresetSubjectSettings } from "../define-block-By-LUpM_.js";
2
- import { $i as CORE_BLOCKS, $n as presetApplyCommand, An as CREATE_URL, Bn as MAX_DESIGN_CODE_LENGTH, Cn as PRESET_GROUPS, Cr as ResolvedPresetBlock, Dn as defaultPreset, Dr as resolvePreset, En as PresetName, Er as removeComposite, Fn as DesignFile, Gn as designFileSource, Hn as createUrl, In as DesignParseError, Jn as designSchema, Kn as designFormat, Ln as DesignParseIssue, Mn as DESIGN_FILE, Nn as DESIGN_FORMAT, On as isPresetName, Pn as DesignErrorCode, Qn as presetAndDesignOf, Qr as APP_COLUMN_FORMATS, Rn as DesignParseResult, Sn as PRESETS, Sr as ResolvedPreset, Tn as PresetGroup, Tr as presetBlockConflict, Un as decodeDesign, Vn as createQuery, Wn as designConfig, Xn as isDesignCode, Yn as encodeDesign, Zn as parseDesign, _r as presetSpec, aa as PresetCatalogBlock, ai as AppColumnFormat, ar as safeDesignFileSource, bn as DEFAULT_PRESET_NAME, br as PresetIntegration, cr as ExpandedConfig, dr as expandPreset, ea as INSTANCE_NAME, er as presetArgumentOf, fr as presetConfig, gr as presetOfSpec, hr as presetFromSpec, ia as PresetCatalog, ir as readDesignFile, jn as CreateDesign, kn as namedPreset, lr as PresetInput, mr as PresetSpec, na as BlockCatalog, nr as presetInstallCommand, oa as PresetCatalogManifest, or as safeParseDesign, pr as presetOf, qn as designOf, ra as BlockCatalogEntry, rr as presetKey, sa as PresetGlueItem, sr as ConfigConventions, ta as instancePrefix, tr as presetConfigSource, ur as conventionConfig, vr as CompositeRemoval, wn as PRESET_NAMES, wr as listNames, xn as NamedPreset, xr as ResolvedComposite, yr as PresetConflict, zn as DesignTooLongError } from "../context-iduX3Fsn.js";
3
- import { C as diffAppTables, D as PRESET_CATALOG, E as isAppDefault, O as BLOCK_CATALOG, S as DiffOptions, T as appDefaultError, _ as glueCommand, a as blockRequires, b as DesignChange, c as installedBlocks, d as instancesOf, f as presetInstances, g as PROVIDER_COMMENT, h as withoutInstance, i as blockEntities, l as instanceBlock, m as withInstance, n as BlockInstance, o as canAddInstance, p as withEntityName, r as PresetInstance, s as entityName, t as BlockEntity, u as instanceNameProblem, v as presetBlocksSource, w as diffDesigns, x as DesignChangeKind, y as presetGlue } from "../index-Bsd8P1iQ.js";
4
- import { i as appReservedColumns, n as appIdentifierError, r as appNameLengthError, t as APP_NAME_MAX } from "../app-tables-B2xNMyLA.js";
1
+ import { Ar as PresetAccess, Dr as PRESET_FRAMEWORKS, Er as DEFAULT_CONVENTIONS, Fr as PresetFramework, Hr as integrationsForFramework, Lr as PresetPlatforms, Mr as PresetField, Nr as PresetFieldKey, Or as PRESET_TENANT_NAMES, Pr as PresetFieldValue, Rr as PresetScope, Tr as CONVENTION_FIELDS, Ur as presetField, Vr as PresetValueInfo, Wr as presetValueLabel, jr as PresetConventions, kr as Preset, zr as PresetSubjectSettings } from "../define-block-zK3QnPyG.js";
2
+ import { $i as CORE_BLOCKS, $n as presetApplyCommand, An as CREATE_URL, Bn as MAX_DESIGN_CODE_LENGTH, Cn as PRESET_GROUPS, Cr as ResolvedPresetBlock, Dn as defaultPreset, Dr as resolvePreset, En as PresetName, Er as removeComposite, Fn as DesignFile, Gn as designFileSource, Hn as createUrl, In as DesignParseError, Jn as designSchema, Kn as designFormat, Ln as DesignParseIssue, Mn as DESIGN_FILE, Nn as DESIGN_FORMAT, On as isPresetName, Pn as DesignErrorCode, Qn as presetAndDesignOf, Qr as APP_COLUMN_FORMATS, Rn as DesignParseResult, Sn as PRESETS, Sr as ResolvedPreset, Tn as PresetGroup, Tr as presetBlockConflict, Un as decodeDesign, Vn as createQuery, Wn as designConfig, Xn as isDesignCode, Yn as encodeDesign, Zn as parseDesign, _r as presetSpec, aa as PresetCatalogBlock, ai as AppColumnFormat, ar as safeDesignFileSource, bn as DEFAULT_PRESET_NAME, br as PresetIntegration, cr as ExpandedConfig, dr as expandPreset, ea as INSTANCE_NAME, er as presetArgumentOf, fr as presetConfig, gr as presetOfSpec, hr as presetFromSpec, ia as PresetCatalog, ir as readDesignFile, jn as CreateDesign, kn as namedPreset, lr as PresetInput, mr as PresetSpec, na as BlockCatalog, nr as presetInstallCommand, oa as PresetCatalogManifest, or as safeParseDesign, pr as presetOf, qn as designOf, ra as BlockCatalogEntry, rr as presetKey, sa as PresetGlueItem, sr as ConfigConventions, ta as instancePrefix, tr as presetConfigSource, ur as conventionConfig, vr as CompositeRemoval, wn as PRESET_NAMES, wr as listNames, xn as NamedPreset, xr as ResolvedComposite, yr as PresetConflict, zn as DesignTooLongError } from "../context-BIBqUjVz.js";
3
+ import { C as diffAppTables, D as PRESET_CATALOG, E as isAppDefault, O as BLOCK_CATALOG, S as DiffOptions, T as appDefaultError, _ as glueCommand, a as blockRequires, b as DesignChange, c as installedBlocks, d as instancesOf, f as presetInstances, g as PROVIDER_COMMENT, h as withoutInstance, i as blockEntities, l as instanceBlock, m as withInstance, n as BlockInstance, o as canAddInstance, p as withEntityName, r as PresetInstance, s as entityName, t as BlockEntity, u as instanceNameProblem, v as presetBlocksSource, w as diffDesigns, x as DesignChangeKind, y as presetGlue } from "../index-QpKsKUbn.js";
4
+ import { i as appReservedColumns, n as appIdentifierError, r as appNameLengthError, t as APP_NAME_MAX } from "../app-tables-CWnf7wpo.js";
5
5
  export { APP_COLUMN_FORMATS, APP_NAME_MAX, type AppColumnFormat, BLOCK_CATALOG, type BlockCatalog, type BlockCatalogEntry, type BlockEntity, type BlockInstance, CONVENTION_FIELDS, CREATE_URL, type CompositeRemoval, type ConfigConventions, type CreateDesign, DEFAULT_CONVENTIONS, DEFAULT_PRESET_NAME, DESIGN_FILE, DESIGN_FORMAT, type DesignChange, type DesignChangeKind, type DesignErrorCode, type DesignFile, DesignParseError, type DesignParseIssue, type DesignParseResult, DesignTooLongError, type DiffOptions, type ExpandedConfig, INSTANCE_NAME, MAX_DESIGN_CODE_LENGTH, type NamedPreset, PRESETS, PRESET_CATALOG, PRESET_FRAMEWORKS, PRESET_GROUPS, PRESET_NAMES, PRESET_TENANT_NAMES, PROVIDER_COMMENT, type Preset, type PresetAccess, type PresetCatalog, type PresetCatalogBlock, type PresetCatalogManifest, type PresetConflict, type PresetConventions, type PresetField, type PresetFieldKey, type PresetFieldValue, type PresetFramework, type PresetGlueItem, type PresetGroup, type PresetInput, type PresetInstance, type PresetIntegration, type PresetName, type PresetPlatforms, type PresetScope, type PresetSpec, type PresetSubjectSettings, type PresetValueInfo, type ResolvedComposite, type ResolvedPreset, type ResolvedPresetBlock, CORE_BLOCKS as SINGLE_INSTANCE_BLOCKS, appDefaultError, appIdentifierError, appNameLengthError, appReservedColumns, blockEntities, blockRequires, canAddInstance, conventionConfig, createQuery, createUrl, decodeDesign, defaultPreset, designConfig, designFileSource, designFormat, designOf, designSchema, diffAppTables, diffDesigns, encodeDesign, entityName, expandPreset, glueCommand, installedBlocks, instanceBlock, instanceNameProblem, instancePrefix, instancesOf, integrationsForFramework, isAppDefault, isDesignCode, isPresetName, listNames, namedPreset, parseDesign, presetAndDesignOf, presetApplyCommand, presetArgumentOf, presetBlockConflict, presetBlocksSource, presetConfig, presetConfigSource, presetField, presetFromSpec, presetGlue, presetInstallCommand, presetInstances, presetKey, presetOf, presetOfSpec, presetSpec, presetValueLabel, readDesignFile, removeComposite, resolvePreset, safeDesignFileSource, safeParseDesign, withEntityName, withInstance, withoutInstance };
@@ -1,4 +1,4 @@
1
- import { C as PRESET_TENANT_NAMES, E as presetValueLabel, S as PRESET_FRAMEWORKS, T as presetField, _ as defaultPreset, a as presetOf, b as CONVENTION_FIELDS, c as presetSpec, d as removeComposite, f as resolvePreset, g as PRESET_NAMES, h as PRESET_GROUPS, i as presetConfig, l as listNames, m as PRESETS, o as presetFromSpec, p as DEFAULT_PRESET_NAME, r as expandPreset, s as presetOfSpec, t as conventionConfig, u as presetBlockConflict, v as isPresetName, w as integrationsForFramework, x as DEFAULT_CONVENTIONS, y as namedPreset } from "../config-ekflaCnS.js";
2
- import { I as PRESET_CATALOG, O as APP_COLUMN_FORMATS, b as appDefaultError, c as APP_NAME_MAX, d as appIdentifierError, f as appNameLengthError, i as instancePrefix, n as INSTANCE_NAME, p as appReservedColumns, t as CORE_BLOCKS, x as isAppDefault } from "../instances-DJxWRqXk.js";
3
- import { A as isDesignCode, B as safeDesignFileSource, C as decodeDesign, D as designOf, E as designFormat, F as presetArgumentOf, G as presetGlue, H as PROVIDER_COMMENT, I as presetConfigSource, K as BLOCK_CATALOG, L as presetInstallCommand, M as parseDesign, N as presetAndDesignOf, O as designSchema, P as presetApplyCommand, R as presetKey, S as createUrl, T as designFileSource, U as glueCommand, V as safeParseDesign, W as presetBlocksSource, _ as DESIGN_FORMAT, a as installedBlocks, b as MAX_DESIGN_CODE_LENGTH, c as instancesOf, d as withInstance, f as withoutInstance, g as DESIGN_FILE, h as CREATE_URL, i as entityName, k as encodeDesign, l as presetInstances, m as diffDesigns, n as blockRequires, o as instanceBlock, p as diffAppTables, r as canAddInstance, s as instanceNameProblem, t as blockEntities, u as withEntityName, v as DesignParseError, w as designConfig, x as createQuery, y as DesignTooLongError, z as readDesignFile } from "../preset-8Xh21Uyw.js";
1
+ import { C as PRESET_TENANT_NAMES, E as presetValueLabel, S as PRESET_FRAMEWORKS, T as presetField, _ as defaultPreset, a as presetOf, b as CONVENTION_FIELDS, c as presetSpec, d as removeComposite, f as resolvePreset, g as PRESET_NAMES, h as PRESET_GROUPS, i as presetConfig, l as listNames, m as PRESETS, o as presetFromSpec, p as DEFAULT_PRESET_NAME, r as expandPreset, s as presetOfSpec, t as conventionConfig, u as presetBlockConflict, v as isPresetName, w as integrationsForFramework, x as DEFAULT_CONVENTIONS, y as namedPreset } from "../config-CAjlOSQY.js";
2
+ import { I as PRESET_CATALOG, O as APP_COLUMN_FORMATS, b as appDefaultError, c as APP_NAME_MAX, d as appIdentifierError, f as appNameLengthError, i as instancePrefix, n as INSTANCE_NAME, p as appReservedColumns, t as CORE_BLOCKS, x as isAppDefault } from "../instances-z6DJn2Gr.js";
3
+ import { A as isDesignCode, B as safeDesignFileSource, C as decodeDesign, D as designOf, E as designFormat, F as presetArgumentOf, G as presetGlue, H as PROVIDER_COMMENT, I as presetConfigSource, K as BLOCK_CATALOG, L as presetInstallCommand, M as parseDesign, N as presetAndDesignOf, O as designSchema, P as presetApplyCommand, R as presetKey, S as createUrl, T as designFileSource, U as glueCommand, V as safeParseDesign, W as presetBlocksSource, _ as DESIGN_FORMAT, a as installedBlocks, b as MAX_DESIGN_CODE_LENGTH, c as instancesOf, d as withInstance, f as withoutInstance, g as DESIGN_FILE, h as CREATE_URL, i as entityName, k as encodeDesign, l as presetInstances, m as diffDesigns, n as blockRequires, o as instanceBlock, p as diffAppTables, r as canAddInstance, s as instanceNameProblem, t as blockEntities, u as withEntityName, v as DesignParseError, w as designConfig, x as createQuery, y as DesignTooLongError, z as readDesignFile } from "../preset-CPUA9haY.js";
4
4
  export { APP_COLUMN_FORMATS, APP_NAME_MAX, BLOCK_CATALOG, CONVENTION_FIELDS, CREATE_URL, DEFAULT_CONVENTIONS, DEFAULT_PRESET_NAME, DESIGN_FILE, DESIGN_FORMAT, DesignParseError, DesignTooLongError, INSTANCE_NAME, MAX_DESIGN_CODE_LENGTH, PRESETS, PRESET_CATALOG, PRESET_FRAMEWORKS, PRESET_GROUPS, PRESET_NAMES, PRESET_TENANT_NAMES, PROVIDER_COMMENT, CORE_BLOCKS as SINGLE_INSTANCE_BLOCKS, appDefaultError, appIdentifierError, appNameLengthError, appReservedColumns, blockEntities, blockRequires, canAddInstance, conventionConfig, createQuery, createUrl, decodeDesign, defaultPreset, designConfig, designFileSource, designFormat, designOf, designSchema, diffAppTables, diffDesigns, encodeDesign, entityName, expandPreset, glueCommand, installedBlocks, instanceBlock, instanceNameProblem, instancePrefix, instancesOf, integrationsForFramework, isAppDefault, isDesignCode, isPresetName, listNames, namedPreset, parseDesign, presetAndDesignOf, presetApplyCommand, presetArgumentOf, presetBlockConflict, presetBlocksSource, presetConfig, presetConfigSource, presetField, presetFromSpec, presetGlue, presetInstallCommand, presetInstances, presetKey, presetOf, presetOfSpec, presetSpec, presetValueLabel, readDesignFile, removeComposite, resolvePreset, safeDesignFileSource, safeParseDesign, withEntityName, withInstance, withoutInstance };
@@ -1,5 +1,5 @@
1
- import { I as PRESET_CATALOG, _ as appTablesOf, n as INSTANCE_NAME, t as CORE_BLOCKS, z as asBlocksConfig } from "./instances-DJxWRqXk.js";
2
- import { N as groupEntries, _ as defaultPreset, a as presetOf, c as presetSpec, f as resolvePreset, i as presetConfig, s as presetOfSpec } from "./config-ekflaCnS.js";
1
+ import { I as PRESET_CATALOG, _ as appTablesOf, n as INSTANCE_NAME, t as CORE_BLOCKS, z as asBlocksConfig } from "./instances-z6DJn2Gr.js";
2
+ import { N as groupEntries, _ as defaultPreset, a as presetOf, c as presetSpec, f as resolvePreset, i as presetConfig, s as presetOfSpec } from "./config-CAjlOSQY.js";
3
3
  import { t as isSqlType } from "./sql-type-XWMeZRAl.js";
4
4
  import { i as FIELD_FORMATS } from "./field-formats-sLYMh1ZK.js";
5
5
  // src/preset/block-catalog.generated.ts
@@ -1640,6 +1640,7 @@ const BLOCK_CATALOG = {
1640
1640
  "contacts",
1641
1641
  "approvals",
1642
1642
  "inspections",
1643
+ "templates",
1643
1644
  "imports"
1644
1645
  ],
1645
1646
  "modes": ["managed", "custom"],
@@ -1763,6 +1764,7 @@ const BLOCK_CATALOG = {
1763
1764
  "invoices",
1764
1765
  "quotes",
1765
1766
  "contacts",
1767
+ "templates",
1766
1768
  "imports"
1767
1769
  ],
1768
1770
  "modes": ["managed", "custom"],
@@ -2089,6 +2091,8 @@ const BLOCK_CATALOG = {
2089
2091
  "reminders",
2090
2092
  "accounting",
2091
2093
  "option-sets",
2094
+ "templates",
2095
+ "tags",
2092
2096
  "pipelines",
2093
2097
  "subjects"
2094
2098
  ],
@@ -2128,6 +2132,7 @@ const BLOCK_CATALOG = {
2128
2132
  "orders",
2129
2133
  "invoices",
2130
2134
  "inventory",
2135
+ "templates",
2131
2136
  "imports"
2132
2137
  ],
2133
2138
  "modes": ["managed", "custom"],
@@ -2174,6 +2179,7 @@ const BLOCK_CATALOG = {
2174
2179
  "orders",
2175
2180
  "shipments",
2176
2181
  "billable-time",
2182
+ "templates",
2177
2183
  "imports"
2178
2184
  ],
2179
2185
  "modes": ["managed", "custom"],
@@ -4199,7 +4205,7 @@ const BLOCK_CATALOG = {
4199
4205
  "name": "deadlines",
4200
4206
  "title": "Deadlines",
4201
4207
  "category": "Work management",
4202
- "description": "Platform-owned rule sets per jurisdiction and kind, versioned and approved once with a content hash and a citation per rule, and the deadlines computed from a subject's facts: due on a date or unknown with the facts still missing.",
4208
+ "description": "Platform-owned rule sets per jurisdiction and kind, versioned and approved once with a content hash: groups of cited rules with conditions, exceptions and counts, and the deadlines computed from a subject's facts per group: due on a date, unknown with the facts still missing, or the reason there is none.",
4203
4209
  "requires": ["memberships", "permissions"],
4204
4210
  "integrates": [
4205
4211
  "outbox",
@@ -1,9 +1,9 @@
1
1
  import { t as BlockTransport } from "./block-transport-CP4wAHU-.js";
2
2
  import { i as EventSink } from "./cloud-event-Dj2V1lQw.js";
3
- import { Ln as AttachmentStorage } from "./define-block-By-LUpM_.js";
3
+ import { Ln as AttachmentStorage } from "./define-block-zK3QnPyG.js";
4
4
  import { _ as JobHandler } from "./types-CTb0Uroz.js";
5
5
  import { r as BlockTemporalOptions } from "./block-helpers-rTsuHt6v.js";
6
- import { y as DrivePreviews } from "./drive-CuNG4qB8.js";
6
+ import { y as DrivePreviews } from "./drive-Keqe8dIg.js";
7
7
  import { t as AsyncResult } from "./result-CMqlHv82.js";
8
8
  /** One rendered page: an image the drive stores under the file's previews. */
9
9
  interface PreviewPage {
@@ -1,8 +1,8 @@
1
- import { a as presetOf, f as resolvePreset } from "./config-ekflaCnS.js";
2
- import { D as designOf, M as parseDesign, j as jsonPointer, k as encodeDesign, v as DesignParseError, w as designConfig, y as DesignTooLongError } from "./preset-8Xh21Uyw.js";
3
- import { I as PRESET_CATALOG, b as appDefaultError, d as appIdentifierError, f as appNameLengthError, p as appReservedColumns, x as isAppDefault } from "./instances-DJxWRqXk.js";
4
- import { c as resolveConfig } from "./config-LOwFAFpo.js";
5
- import { R as moduleLayout, U as renderBlocks, dt as SQL_MODULES } from "./sql-Bam07JIf.js";
1
+ import { a as presetOf, f as resolvePreset } from "./config-CAjlOSQY.js";
2
+ import { D as designOf, M as parseDesign, j as jsonPointer, k as encodeDesign, v as DesignParseError, w as designConfig, y as DesignTooLongError } from "./preset-CPUA9haY.js";
3
+ import { I as PRESET_CATALOG, b as appDefaultError, d as appIdentifierError, f as appNameLengthError, p as appReservedColumns, x as isAppDefault } from "./instances-z6DJn2Gr.js";
4
+ import { c as resolveConfig } from "./config-Bx3UYp8b.js";
5
+ import { H as renderBlocks, L as moduleLayout, ut as SQL_MODULES } from "./sql-CFsIpR4t.js";
6
6
  // src/create/column-keys.ts
7
7
  /** The most options a select takes, and the longest option. */
8
8
  const MAX_OPTIONS = 100;
@@ -1,4 +1,4 @@
1
- import { s as PushTokenPort } from "./ports-C5BEHQi6.js";
1
+ import { s as PushTokenPort } from "./ports-TvLRuWgJ.js";
2
2
  /** The part of `expo-notifications` the push token port uses. */
3
3
  interface ExpoNotificationsLike {
4
4
  getPermissionsAsync(): Promise<{
@@ -1,4 +1,4 @@
1
1
  import { t as escapeLike } from "../escape-like-BtorH1tO.js";
2
2
  import { n as invalidateTables, t as BetterQueryMeta } from "../invalidate-DAB9CaPm.js";
3
- import { $ as blockQueries, G as BLOCK_READ_PREFIXES, J as BlockInvalidation, K as BlockClientQueries, Q as blockControllerEngine, X as BlockQueries, Y as BlockMethodQuery, Z as BlockVariablesOf, a as RecordBindingQueries, at as InfiniteExtras, c as RecordWriteMutations, ct as QueriesOptions, dt as QueryOptionsOf, et as invalidateOnBlockEvents, ft as TableQueries, ht as queryCache, i as optimistic, it as BetterQueries, l as invalidateOnRecordEvents, lt as QueryHelpers, mt as invalidateOnMutation, n as OptimisticSnapshot, nt as UserChangeSource, o as RecordQueries, ot as InfiniteOptionsOf, pt as createQueries, q as BlockClients, r as OptimisticTarget, rt as clearOnUserChange, s as RecordQueriesOptions, st as MutationOptionsOf, t as OptimisticHandlers, tt as queryEngine, u as recordQueries, ut as QueryKeyOf } from "../index-DzjugbCf.js";
3
+ import { $ as blockQueries, G as BLOCK_READ_PREFIXES, J as BlockInvalidation, K as BlockClientQueries, Q as blockControllerEngine, X as BlockQueries, Y as BlockMethodQuery, Z as BlockVariablesOf, a as RecordBindingQueries, at as InfiniteExtras, c as RecordWriteMutations, ct as QueriesOptions, dt as QueryOptionsOf, et as invalidateOnBlockEvents, ft as TableQueries, ht as queryCache, i as optimistic, it as BetterQueries, l as invalidateOnRecordEvents, lt as QueryHelpers, mt as invalidateOnMutation, n as OptimisticSnapshot, nt as UserChangeSource, o as RecordQueries, ot as InfiniteOptionsOf, pt as createQueries, q as BlockClients, r as OptimisticTarget, rt as clearOnUserChange, s as RecordQueriesOptions, st as MutationOptionsOf, t as OptimisticHandlers, tt as queryEngine, u as recordQueries, ut as QueryKeyOf } from "../index-D_g2loq-.js";
4
4
  export { BLOCK_READ_PREFIXES, type BetterQueries, type BetterQueryMeta, type BlockClientQueries, type BlockClients, type BlockInvalidation, type BlockMethodQuery, type BlockQueries, type BlockVariablesOf, type InfiniteExtras, type InfiniteOptionsOf, type MutationOptionsOf, type OptimisticHandlers, type OptimisticSnapshot, type OptimisticTarget, type QueriesOptions, type QueryHelpers, type QueryKeyOf, type QueryOptionsOf, type RecordBindingQueries, type RecordQueries, type RecordQueriesOptions, type RecordWriteMutations, type TableQueries, type UserChangeSource, blockControllerEngine, blockQueries, clearOnUserChange, createQueries, escapeLike, invalidateOnBlockEvents, invalidateOnMutation, invalidateOnRecordEvents, invalidateTables, optimistic, queryCache, queryEngine, recordQueries };
@@ -1,12 +1,12 @@
1
1
  import { t as escapeLike } from "../escape-like-BtorH1tO.js";
2
2
  import { c as Impersonator, n as AuthSession } from "../view-CVXHgadI.js";
3
- import { i as DataEntry, m as RejectedChange, n as DataEngine, o as DataSyncState } from "../data-engine-BKO5EAzN.js";
4
- import { r as MembershipClaim } from "../entitlements-Go8BHqhr.js";
5
- import { t as tenantOf } from "../tenant-BpJ2F2b_.js";
6
- import { r as LiveCountSeed } from "../index-D9Sb8Ju5.js";
7
- import { C as LiveCountHookOptions, O as ProfileOf, S as ClientLike, T as LiveQueryHookOptions, _ as ActionInputOf, b as BroadcastOptions, c as DataWrites, d as BlockMutationActions, f as BlockMutationState, g as BlockRefetchOn, h as BlockQueryState, k as UseActionOptions, l as BlockEngineOptions, m as BlockQueryOptions, o as DataSource, p as BlockQueryActions, s as DataState, t as fieldErrorsOf, u as BlockEventSource, v as ActionResultOf, x as ClaimsOf } from "../field-errors-B4SMTk2e.js";
3
+ import { i as DataEntry, m as RejectedChange, n as DataEngine, o as DataSyncState } from "../data-engine-0uVsKWaB.js";
4
+ import { r as MembershipClaim } from "../entitlements-QwMag409.js";
5
+ import { t as tenantOf } from "../tenant-BTxVWIN6.js";
6
+ import { r as LiveCountSeed } from "../index-DNitLhgU.js";
7
+ import { C as LiveCountHookOptions, O as ProfileOf, S as ClientLike, T as LiveQueryHookOptions, _ as ActionInputOf, b as BroadcastOptions, c as DataWrites, d as BlockMutationActions, f as BlockMutationState, g as BlockRefetchOn, h as BlockQueryState, k as UseActionOptions, l as BlockEngineOptions, m as BlockQueryOptions, o as DataSource, p as BlockQueryActions, s as DataState, t as fieldErrorsOf, u as BlockEventSource, v as ActionResultOf, x as ClaimsOf } from "../field-errors-BlyD3if3.js";
8
8
  import { n as supportOf, t as SupportView } from "../support-view-Dn_YTGV4.js";
9
- import { $ as ActionForm, A as useBlockEnv, B as RecordListQueryStates, C as useConflicts, D as defineDataHooks, E as DataView, F as useBlockMutation, G as RecordActionsOf, H as RecordListUrl, I as useBlockQuery, J as RecordProviderKit, K as RecordContextValue, L as RecordFormState, M as useController, N as useLatest, O as defineListHook, P as useBlockEvent, Q as createRecordProvider, R as UseRecordFormOptions, S as Conflicts, T as DataHooks, U as RecordListUrlState, V as RecordListState, W as useRecordListState, X as RecordState, Y as RecordProviderProps, Z as RecordWriteHandlers, _ as useRealtimeRelay, a as Upload, at as BetterSupabaseProvider, b as PresenceTopic, c as UseImageOptions, ct as createHooks, d as useSignedUrl, dt as useLiveCount, et as ActionHandle, f as useUpload, ft as useLiveQuery, g as UseRealtimeRelayOptions, h as useDebouncedSearch, i as StorageImage, it as BetterHooks, j as useBlockTenant, k as defineOneHook, l as UseUploadOptions, lt as useAuth, m as DebouncedSearchOptions, n as SignedUrl, nt as useAction, o as UploadStatus, ot as BetterSupabaseProviderProps, p as DebouncedSearch, pt as useSupabase, q as RecordInitial, r as SignedUrlSource, rt as useActionForm, s as UploadTarget, st as LiveCount, t as ImageSource, tt as UseActionFormOptions, u as useImage, ut as useBroadcast, v as Presence, w as useSyncStatus, x as usePresence, y as PresenceHookOptions, z as useRecordForm } from "../index-DkJtM-9e.js";
9
+ import { $ as ActionForm, A as useBlockEnv, B as RecordListQueryStates, C as useConflicts, D as defineDataHooks, E as DataView, F as useBlockMutation, G as RecordActionsOf, H as RecordListUrl, I as useBlockQuery, J as RecordProviderKit, K as RecordContextValue, L as RecordFormState, M as useController, N as useLatest, O as defineListHook, P as useBlockEvent, Q as createRecordProvider, R as UseRecordFormOptions, S as Conflicts, T as DataHooks, U as RecordListUrlState, V as RecordListState, W as useRecordListState, X as RecordState, Y as RecordProviderProps, Z as RecordWriteHandlers, _ as useRealtimeRelay, a as Upload, at as BetterSupabaseProvider, b as PresenceTopic, c as UseImageOptions, ct as createHooks, d as useSignedUrl, dt as useLiveCount, et as ActionHandle, f as useUpload, ft as useLiveQuery, g as UseRealtimeRelayOptions, h as useDebouncedSearch, i as StorageImage, it as BetterHooks, j as useBlockTenant, k as defineOneHook, l as UseUploadOptions, lt as useAuth, m as DebouncedSearchOptions, n as SignedUrl, nt as useAction, o as UploadStatus, ot as BetterSupabaseProviderProps, p as DebouncedSearch, pt as useSupabase, q as RecordInitial, r as SignedUrlSource, rt as useActionForm, s as UploadTarget, st as LiveCount, t as ImageSource, tt as UseActionFormOptions, u as useImage, ut as useBroadcast, v as Presence, w as useSyncStatus, x as usePresence, y as PresenceHookOptions, z as useRecordForm } from "../index-BGqvP9dE.js";
10
10
  import { SessionProvider, SessionProviderProps, useSession, useSupportSession } from "./session.js";
11
11
  import { a as useSignIn, i as SignOut, n as PendingState, o as useSignOut, r as SignIn, t as AuthHookOptions } from "../sign-in-C9pZE1kM.js";
12
12
  export { type ActionForm, type ActionHandle, type ActionInputOf, type ActionResultOf, type AuthHookOptions, type AuthSession, type BetterHooks, BetterSupabaseProvider, type BetterSupabaseProviderProps, type BlockEngineOptions, type BlockEventSource, type BlockMutationActions, type BlockMutationState, type BlockQueryActions, type BlockQueryOptions, type BlockQueryState, type BlockRefetchOn, type BroadcastOptions, type ClaimsOf, type ClientLike, type Conflicts, type DataEngine, type DataEntry, type DataHooks, type DataSource, type DataState, type DataSyncState, type DataView, type DataWrites, type DebouncedSearch, type DebouncedSearchOptions, type ImageSource, type Impersonator, type LiveCount, type LiveCountHookOptions, type LiveCountSeed, type LiveQueryHookOptions, type MembershipClaim, type PendingState, type Presence, type PresenceHookOptions, type PresenceTopic, type ProfileOf, type RecordActionsOf, type RecordContextValue, type RecordFormState, type RecordInitial, type RecordListQueryStates, type RecordListState, type RecordListUrl, type RecordListUrlState, type RecordProviderKit, type RecordProviderProps, type RecordState, type RecordWriteHandlers, type RejectedChange, SessionProvider, type SessionProviderProps, type SignIn, type SignOut, type SignedUrl, type SignedUrlSource, type StorageImage, type SupportView, type Upload, type UploadStatus, type UploadTarget, type UseActionFormOptions, type UseActionOptions, type UseImageOptions, type UseRealtimeRelayOptions, type UseRecordFormOptions, type UseUploadOptions, createHooks, createRecordProvider, defineDataHooks, defineListHook, defineOneHook, escapeLike, fieldErrorsOf, supportOf, tenantOf, useAction, useActionForm, useAuth, useBlockEnv, useBlockEvent, useBlockMutation, useBlockQuery, useBlockTenant, useBroadcast, useConflicts, useController, useDebouncedSearch, useImage, useLatest, useLiveCount, useLiveQuery, usePresence, useRealtimeRelay, useRecordForm, useRecordListState, useSession, useSignIn, useSignOut, useSignedUrl, useSupabase, useSupportSession, useSyncStatus, useUpload };
@@ -1,4 +1,4 @@
1
- import { t as AuthSnapshot } from "../../bind-DWElQa6I.js";
1
+ import { t as AuthSnapshot } from "../../bind-CC5-eBT-.js";
2
2
  import { a as OAuthSignInOptions, i as OAuthClient, n as AuthLinkClient, o as WebBrowserLike, r as AuthLinkResult, t as AuthFailure } from "../../auth-link-DRjtI1Ky.js";
3
3
  import { a as AppStateLike, r as PowerSyncReconnect, t as NativeAuthzRefreshClient } from "../../authz-refresh-DIqPTJZe.js";
4
4
  import { i as authzUserTopic, r as AuthzVersionSource, t as AUTHZ_EVENT } from "../../authz-topic-C7n3kIm_.js";
@@ -1,14 +1,14 @@
1
1
  import { n as supportOf, t as SupportView } from "../support-view-Dn_YTGV4.js";
2
2
  import { c as Impersonator, n as AuthSession } from "../view-CVXHgadI.js";
3
- import { $ as ActionForm, A as useBlockEnv$1, B as RecordListQueryStates, C as useConflicts$1, D as defineDataHooks$1, F as useBlockMutation$1, G as RecordActionsOf, H as RecordListUrl, I as useBlockQuery$1, J as RecordProviderKit, K as RecordContextValue, L as RecordFormState, M as useController$1, N as useLatest$1, O as defineListHook$1, P as useBlockEvent$1, Q as createRecordProvider$1, R as UseRecordFormOptions, U as RecordListUrlState, V as RecordListState, W as useRecordListState$1, X as RecordState, Y as RecordProviderProps, Z as RecordWriteHandlers, _ as useRealtimeRelay$1, a as Upload, at as BetterSupabaseProvider, b as PresenceTopic, c as UseImageOptions, d as useSignedUrl$1, et as ActionHandle, f as useUpload$1, ft as useLiveQuery, g as UseRealtimeRelayOptions, h as useDebouncedSearch$1, i as StorageImage, it as BetterHooks, j as useBlockTenant$1, k as defineOneHook$1, l as UseUploadOptions, lt as useAuth, m as DebouncedSearchOptions, n as SignedUrl, o as UploadStatus, ot as BetterSupabaseProviderProps, p as DebouncedSearch, pt as useSupabase, q as RecordInitial, r as SignedUrlSource, s as UploadTarget, st as LiveCount, t as ImageSource, tt as UseActionFormOptions, u as useImage$1, ut as useBroadcast, v as Presence, w as useSyncStatus$1, x as usePresence$1, y as PresenceHookOptions, z as useRecordForm$1 } from "../index-DkJtM-9e.js";
3
+ import { $ as ActionForm, A as useBlockEnv$1, B as RecordListQueryStates, C as useConflicts$1, D as defineDataHooks$1, F as useBlockMutation$1, G as RecordActionsOf, H as RecordListUrl, I as useBlockQuery$1, J as RecordProviderKit, K as RecordContextValue, L as RecordFormState, M as useController$1, N as useLatest$1, O as defineListHook$1, P as useBlockEvent$1, Q as createRecordProvider$1, R as UseRecordFormOptions, U as RecordListUrlState, V as RecordListState, W as useRecordListState$1, X as RecordState, Y as RecordProviderProps, Z as RecordWriteHandlers, _ as useRealtimeRelay$1, a as Upload, at as BetterSupabaseProvider, b as PresenceTopic, c as UseImageOptions, d as useSignedUrl$1, et as ActionHandle, f as useUpload$1, ft as useLiveQuery, g as UseRealtimeRelayOptions, h as useDebouncedSearch$1, i as StorageImage, it as BetterHooks, j as useBlockTenant$1, k as defineOneHook$1, l as UseUploadOptions, lt as useAuth, m as DebouncedSearchOptions, n as SignedUrl, o as UploadStatus, ot as BetterSupabaseProviderProps, p as DebouncedSearch, pt as useSupabase, q as RecordInitial, r as SignedUrlSource, s as UploadTarget, st as LiveCount, t as ImageSource, tt as UseActionFormOptions, u as useImage$1, ut as useBroadcast, v as Presence, w as useSyncStatus$1, x as usePresence$1, y as PresenceHookOptions, z as useRecordForm$1 } from "../index-BGqvP9dE.js";
4
4
  import { st as QuerySpec } from "../db-blocks-CzhzWfvR.js";
5
- import { r as LiveCountSeed } from "../index-D9Sb8Ju5.js";
6
- import { C as LiveCountHookOptions, O as ProfileOf, S as ClientLike, T as LiveQueryHookOptions, _ as ActionInputOf, b as BroadcastOptions, k as UseActionOptions, t as fieldErrorsOf, v as ActionResultOf, x as ClaimsOf } from "../field-errors-B4SMTk2e.js";
5
+ import { r as LiveCountSeed } from "../index-DNitLhgU.js";
6
+ import { C as LiveCountHookOptions, O as ProfileOf, S as ClientLike, T as LiveQueryHookOptions, _ as ActionInputOf, b as BroadcastOptions, k as UseActionOptions, t as fieldErrorsOf, v as ActionResultOf, x as ClaimsOf } from "../field-errors-BlyD3if3.js";
7
7
  import { a as useSignIn$1, i as SignOut, n as PendingState, o as useSignOut$1, r as SignIn, t as AuthHookOptions } from "../sign-in-C9pZE1kM.js";
8
8
  import { SessionProvider, SessionProviderProps } from "./session.js";
9
9
  import { t as escapeLike } from "../escape-like-BtorH1tO.js";
10
- import { t as tenantOf } from "../tenant-BpJ2F2b_.js";
11
- import { r as MembershipClaim } from "../entitlements-Go8BHqhr.js";
10
+ import { t as tenantOf } from "../tenant-BTxVWIN6.js";
11
+ import { r as MembershipClaim } from "../entitlements-QwMag409.js";
12
12
  /** The `react-server` build of `useSession`: await `bsb.claims()` instead. */
13
13
  export declare const useSession: <C = unknown, P = unknown>() => AuthSession<C, P>;
14
14
  /**
@@ -1,8 +1,8 @@
1
1
  import { D as AccessTopicPolicy, E as AccessPolicySql } from "../types-BlBju7Wa.js";
2
2
  import { et as TemplateParams, tt as TemplateValues } from "../bucket-DJu58KBb.js";
3
3
  import { t as RealtimeStatus } from "../realtime-status-D3oUx3o4.js";
4
- import { A as TriggerTopic, C as TopicSubscription, D as TriggerLookup, E as TopicTriggerValue, F as FanOutResult, I as TopicFanOutOptions, M as defineTopic, N as rowChange, O as TriggerOptions, P as rowKeys, S as TopicSubscribeOptions, T as TopicTriggerOptions, _ as TopicMessage, a as PresenceOutput, b as TopicPermission, c as RealtimeClient, d as SubscribeOptions, f as Subscription, g as TopicHandlers, h as TopicEvent, i as PresenceOptions, j as TriggerValue, k as TriggerPayloadMode, l as RowChange, m as Topic, n as PresenceInput, o as PresenceSchema, p as SubscriptionStatus, r as PresenceMember, s as PresenceSubscription, t as EventSchemas, u as RowKeys, v as TopicOptions, w as TopicTriggerLookup, x as TopicSqlOptions, y as TopicPayload } from "../topic-4KYLvvTB.js";
5
- import { a as watchTopic, i as topicPort, n as TopicPort, r as TopicWatch, t as TopicHandle } from "../watch-topic-C9DIO476.js";
6
- import { S as relayTopicPort, _ as subjectPresenceValues, a as LiveSource, b as RelayEventSourceConstructor, c as liveCount, d as realtimeChanges, f as SUBJECT_PRESENCE_TEMPLATE, g as subjectPresenceTopic, h as subjectPresence, i as LiveQueryOptions, l as liveQuery, m as SubjectPresenceValues, n as LiveCountOptions, o as LiveSubscription, p as SubjectPresenceTopic, r as LiveCountSeed, s as RealtimeChangesOptions, t as CountRunner, u as liveTopic, v as RelayClientOptions, x as relayRealtimeClient, y as RelayEventSource } from "../index-D9Sb8Ju5.js";
4
+ import { A as TriggerTopic, C as TopicSubscription, D as TriggerLookup, E as TopicTriggerValue, F as FanOutResult, I as TopicFanOutOptions, M as defineTopic, N as rowChange, O as TriggerOptions, P as rowKeys, S as TopicSubscribeOptions, T as TopicTriggerOptions, _ as TopicMessage, a as PresenceOutput, b as TopicPermission, c as RealtimeClient, d as SubscribeOptions, f as Subscription, g as TopicHandlers, h as TopicEvent, i as PresenceOptions, j as TriggerValue, k as TriggerPayloadMode, l as RowChange, m as Topic, n as PresenceInput, o as PresenceSchema, p as SubscriptionStatus, r as PresenceMember, s as PresenceSubscription, t as EventSchemas, u as RowKeys, v as TopicOptions, w as TopicTriggerLookup, x as TopicSqlOptions, y as TopicPayload } from "../topic-_7QKu4b5.js";
5
+ import { a as watchTopic, i as topicPort, n as TopicPort, r as TopicWatch, t as TopicHandle } from "../watch-topic-Do0x41n3.js";
6
+ import { S as relayTopicPort, _ as subjectPresenceValues, a as LiveSource, b as RelayEventSourceConstructor, c as liveCount, d as realtimeChanges, f as SUBJECT_PRESENCE_TEMPLATE, g as subjectPresenceTopic, h as subjectPresence, i as LiveQueryOptions, l as liveQuery, m as SubjectPresenceValues, n as LiveCountOptions, o as LiveSubscription, p as SubjectPresenceTopic, r as LiveCountSeed, s as RealtimeChangesOptions, t as CountRunner, u as liveTopic, v as RelayClientOptions, x as relayRealtimeClient, y as RelayEventSource } from "../index-DNitLhgU.js";
7
7
  import { n as subjectReaders, t as SubjectReadersOptions } from "../subject-readers-fKAdJQGu.js";
8
8
  export { type AccessPolicySql, type AccessTopicPolicy, type CountRunner, type EventSchemas, type FanOutResult, type LiveCountOptions, type LiveCountSeed, type LiveQueryOptions, type LiveSource, type LiveSubscription, type PresenceInput, type PresenceMember, type PresenceOptions, type PresenceOutput, type PresenceSchema, type PresenceSubscription, type RealtimeChangesOptions, type RealtimeClient, type RealtimeStatus, type RelayClientOptions, type RelayEventSource, type RelayEventSourceConstructor, type RowChange, type RowKeys, SUBJECT_PRESENCE_TEMPLATE, type SubjectPresenceTopic, type SubjectPresenceValues, type SubjectReadersOptions, type SubscribeOptions, type Subscription, type SubscriptionStatus, type TemplateParams, type TemplateValues, type Topic, type TopicEvent, type TopicFanOutOptions, type TopicHandle, type TopicHandlers, type TopicMessage, type TopicOptions, type TopicPayload, type TopicPermission, type TopicPort, type TopicSqlOptions, type TopicSubscribeOptions, type TopicSubscription, type TopicTriggerLookup, type TopicTriggerOptions, type TopicTriggerValue, type TopicWatch, type TriggerLookup, type TriggerOptions, type TriggerPayloadMode, type TriggerTopic, type TriggerValue, defineTopic, liveCount, liveQuery, liveTopic, realtimeChanges, relayRealtimeClient, relayTopicPort, rowChange, rowKeys, subjectPresence, subjectPresenceTopic, subjectPresenceValues, subjectReaders, topicPort, watchTopic };
@@ -1,4 +1,4 @@
1
- import { G as EntitySchema, yn as FormFieldType } from "./define-block-By-LUpM_.js";
1
+ import { G as EntitySchema, yn as FormFieldType } from "./define-block-zK3QnPyG.js";
2
2
  /** The input a field renders: a forms block field type, or a date and time. */
3
3
  type RecordFormInput = FormFieldType | "datetime";
4
4
  /** One field of an entity form, in render order. */
@@ -1,13 +1,13 @@
1
- import { n as Controller, t as AuthPort } from "../controller-DFGNChQL.js";
1
+ import { n as Controller, t as AuthPort } from "../controller-DBD6WWDa.js";
2
2
  import { _ as MyWorkKind, a as RecordSummaryOptions, c as Subjects, i as RecordSummary, n as MyWorkItem, r as MyWorkOptions } from "../subjects-C0_z3QUL.js";
3
3
  import { b as DbError, f as Result, t as AsyncResult } from "../result-CMqlHv82.js";
4
- import { p as SubscriptionStatus } from "../topic-4KYLvvTB.js";
5
- import { n as TopicPort } from "../watch-topic-C9DIO476.js";
4
+ import { p as SubscriptionStatus } from "../topic-_7QKu4b5.js";
5
+ import { n as TopicPort } from "../watch-topic-Do0x41n3.js";
6
6
  import { et as RecordRef } from "../types-BlBju7Wa.js";
7
- import { A as BindingBlocks, B as PermissionFlags, C as defineRecordType, D as recordPermissionKeys, E as recordCan, F as LoadBindingsOptions, H as can, I as LoadedBindings, L as bindingCan, M as BindingName, N as BindingOf, O as recordSubject, P as BindingSource, R as countBinding, S as RecordWriteInput, T as plainData, U as permissionFlags, V as PermissionSet, _ as RecordTypeBlocks, b as RecordTypeWriteInput, d as BindingWritesOf, f as Plain, g as RecordType, h as RecordCan, j as BindingCheck, k as recordWriteInput, m as PlainBindings, p as PlainBinding, v as RecordTypePermissions, w as findBindingWrite, x as RecordTypeWriteOutput, y as RecordTypeSpec, z as loadBindings } from "../index-DzjugbCf.js";
8
- import { a as timelineBindings, c as RecordListCells, d as RecordListQuery, f as RecordListRow, h as defineRecordList, i as loadTimeline, l as RecordListColumn, m as RecordListSpec, n as Timeline, o as RecordList, p as RecordListSource, r as TimelineEntry, s as RecordListCell, t as LoadTimelineOptions, u as RecordListPage } from "../timeline-LHtdAJnM.js";
9
- import { a as RecordFormOptions, c as recordForm, i as RecordFormInput, n as RecordFormCustomField, o as RecordFormResult, r as RecordFormField, s as RecordFormValues, t as RecordForm } from "../record-form-B9-7RhYz.js";
10
- import { A as RecordBindingPermissions, B as recordBindingWrite, D as RecordBindingData, E as RecordBinding, F as RecordBindingWriteOutput, H as recordRowInput, I as RecordBindingWrites, L as RecordRowInput, M as RecordBindingWrite, N as RecordBindingWriteInput, O as RecordBindingDefinition, P as RecordBindingWriteName, R as TimelineItem, T as AnyRecordBindingWrite, V as recordEventMatches, j as RecordBindingResult, k as RecordBindingOptions, w as AnyRecordBinding, z as defineRecordBinding } from "../define-block-By-LUpM_.js";
7
+ import { A as BindingBlocks, B as PermissionFlags, C as defineRecordType, D as recordPermissionKeys, E as recordCan, F as LoadBindingsOptions, H as can, I as LoadedBindings, L as bindingCan, M as BindingName, N as BindingOf, O as recordSubject, P as BindingSource, R as countBinding, S as RecordWriteInput, T as plainData, U as permissionFlags, V as PermissionSet, _ as RecordTypeBlocks, b as RecordTypeWriteInput, d as BindingWritesOf, f as Plain, g as RecordType, h as RecordCan, j as BindingCheck, k as recordWriteInput, m as PlainBindings, p as PlainBinding, v as RecordTypePermissions, w as findBindingWrite, x as RecordTypeWriteOutput, y as RecordTypeSpec, z as loadBindings } from "../index-D_g2loq-.js";
8
+ import { a as timelineBindings, c as RecordListCells, d as RecordListQuery, f as RecordListRow, h as defineRecordList, i as loadTimeline, l as RecordListColumn, m as RecordListSpec, n as Timeline, o as RecordList, p as RecordListSource, r as TimelineEntry, s as RecordListCell, t as LoadTimelineOptions, u as RecordListPage } from "../timeline-9r4mx0A2.js";
9
+ import { a as RecordFormOptions, c as recordForm, i as RecordFormInput, n as RecordFormCustomField, o as RecordFormResult, r as RecordFormField, s as RecordFormValues, t as RecordForm } from "../record-form-DhpdYw5e.js";
10
+ import { A as RecordBindingPermissions, B as recordBindingWrite, D as RecordBindingData, E as RecordBinding, F as RecordBindingWriteOutput, H as recordRowInput, I as RecordBindingWrites, L as RecordRowInput, M as RecordBindingWrite, N as RecordBindingWriteInput, O as RecordBindingDefinition, P as RecordBindingWriteName, R as TimelineItem, T as AnyRecordBindingWrite, V as recordEventMatches, j as RecordBindingResult, k as RecordBindingOptions, w as AnyRecordBinding, z as defineRecordBinding } from "../define-block-zK3QnPyG.js";
11
11
  interface RecordControllerOptions<B extends BindingBlocks, N extends BindingName<B>> extends LoadBindingsOptions<B, N> {
12
12
  readonly source: BindingSource<B>;
13
13
  readonly auth: AuthPort;
@@ -2,10 +2,10 @@ import { r as withBlockHooks } from "./block-hooks-Bd5bRM9B.js";
2
2
  import { t as AsyncResult } from "./result-DrBaeIVt.js";
3
3
  import { t as contactsBlock } from "./manifest-D46SY8Og.js";
4
4
  import { t as dealsBlock } from "./manifest-jLh9Rwsh.js";
5
- import { t as invoicesBlock } from "./manifest-BRFen7mE.js";
6
- import { t as ordersBlock } from "./manifest-DxPMUjhY.js";
5
+ import { t as invoicesBlock } from "./manifest-Bb8S2tcs.js";
6
+ import { t as ordersBlock } from "./manifest-BvcIe5z_.js";
7
7
  import { t as pipelinesBlock } from "./manifest-F35IzwVM.js";
8
- import { t as quotesBlock } from "./manifest-H65OlXiB.js";
8
+ import { t as quotesBlock } from "./manifest-CqJkmxrA.js";
9
9
  import { n as defineBlock } from "./define-block-D3uNVp2k.js";
10
10
  // src/blocks/sales/sales.ts
11
11
  /**
@@ -8,16 +8,16 @@ import { C as SupportSession, D as supportClaims, E as sqlSupportStore, S as Sup
8
8
  import { Dt as Events, pt as SupportEventData } from "../events-DN9PAcjq.js";
9
9
  import { _ as SupportAuthorize, a as AutomationHooks, b as TicketSubject, c as ChatActionHook, d as IdentityRef, f as IdentityTarget, g as SubscriberPolicy, h as SubscriberEvent, i as AuthorizationHooks, l as DelegationPermissions, m as Subscriber, n as Approver, o as AutomationRef, p as PrincipalByIdentity, r as ApproverOf, s as ChatAction, t as ApprovalRequestRef, u as DelegationRef, v as SupportAuthorizeInput, x as defineAuthorizationHooks, y as SupportDecision } from "../authorization-hooks-DM_ijJsD.js";
10
10
  import { a as PERMISSIONS_TRUNCATED_CLAIM, i as PERMISSIONS_CLAIM, n as FEATURES_CLAIM, o as PERMISSION_CAP_CLAIM, r as MEMBERSHIPS_CLAIM, t as AUTHZ_VERSION_CLAIM } from "../index-IKfbX_39.js";
11
- import { i as decodeEntitlementClaim, o as ClaimsRecord, s as ClaimsSource } from "../entitlements-Go8BHqhr.js";
11
+ import { i as decodeEntitlementClaim, o as ClaimsRecord, s as ClaimsSource } from "../entitlements-QwMag409.js";
12
12
  import { a as isUserSession, c as Impersonator, i as isApiKeySession, l as impersonatorOf, n as AuthSession, o as toSession, r as UserSession, s as ImpersonationOptions, t as ApiKeySession } from "../view-CVXHgadI.js";
13
- import { n as isTruncated, r as permissionsOf, t as PermissionsOfOptions } from "../permissions-DxXor_NY.js";
13
+ import { n as isTruncated, r as permissionsOf, t as PermissionsOfOptions } from "../permissions-Bi4WvjnM.js";
14
14
  import { K as permissionCapOf } from "../types-CTb0Uroz.js";
15
15
  import { n as subjectReaders, t as SubjectReadersOptions } from "../subject-readers-fKAdJQGu.js";
16
16
  import { n as SqlClient } from "../executor-CnU5r1HS.js";
17
17
  import { j as StorageApi } from "../bucket-DJu58KBb.js";
18
18
  import { a as claimsFingerprint, i as SessionWatchStatus, n as SessionStatusRouteOptions, o as sessionStatusRoute, r as SessionStatusServer, t as SessionStatusBody } from "../session-status-ChvyVQgl.js";
19
19
  import { a as ProblemFormat, c as fromProblem, d as toProblem, i as ProblemDetails, l as isProblem, n as PROBLEM_CONTENT_TYPE, o as ProblemOptions, r as PROBLEM_TYPE_BASE, s as ProblemResponseOptions, u as problemResponse } from "../problem-BkuOcWRv.js";
20
- import { c as RealtimeClient } from "../topic-4KYLvvTB.js";
20
+ import { c as RealtimeClient } from "../topic-_7QKu4b5.js";
21
21
  import { n as supportOf, t as SupportView } from "../support-view-Dn_YTGV4.js";
22
22
  import { a as GuardEntryConfig, i as withBetterSupabase, n as BetterSupabaseContributions, o as withGuard, r as BetterSupabaseEntry, t as BetterSupabaseConfig } from "../composite-Ddap_a-U.js";
23
23
  import { a as serverCore, i as ServerCore, n as SessionEntryConfig, r as withSession, t as AuthOutageHook } from "../session-CfOsLGD_.js";
@@ -1,15 +1,15 @@
1
1
  import { t as SupportView } from "../support-view-Dn_YTGV4.js";
2
2
  import { n as AuthSession } from "../view-CVXHgadI.js";
3
- import { C as LiveCountHookOptions, D as PresenceTopic, E as PresenceHookOptions, O as ProfileOf, S as ClientLike, T as LiveQueryHookOptions, _ as ActionInputOf, a as DataRows, b as BroadcastOptions, c as DataWrites, d as BlockMutationActions, f as BlockMutationState, g as BlockRefetchOn, h as BlockQueryState, i as DataRow, k as UseActionOptions, l as BlockEngineOptions, m as BlockQueryOptions, n as DataId, o as DataSource, p as BlockQueryActions, r as DataListArgs, s as DataState, t as fieldErrorsOf, u as BlockEventSource, v as ActionResultOf, w as LiveCountSource, x as ClaimsOf, y as ActionState } from "../field-errors-B4SMTk2e.js";
4
- import { t as AuthSnapshot } from "../bind-DWElQa6I.js";
3
+ import { C as LiveCountHookOptions, D as PresenceTopic, E as PresenceHookOptions, O as ProfileOf, S as ClientLike, T as LiveQueryHookOptions, _ as ActionInputOf, a as DataRows, b as BroadcastOptions, c as DataWrites, d as BlockMutationActions, f as BlockMutationState, g as BlockRefetchOn, h as BlockQueryState, i as DataRow, k as UseActionOptions, l as BlockEngineOptions, m as BlockQueryOptions, n as DataId, o as DataSource, p as BlockQueryActions, r as DataListArgs, s as DataState, t as fieldErrorsOf, u as BlockEventSource, v as ActionResultOf, w as LiveCountSource, x as ClaimsOf, y as ActionState } from "../field-errors-BlyD3if3.js";
4
+ import { t as AuthSnapshot } from "../bind-CC5-eBT-.js";
5
5
  import { b as DbError } from "../result-CMqlHv82.js";
6
6
  import { st as QuerySpec } from "../db-blocks-CzhzWfvR.js";
7
- import { g as TopicHandlers, m as Topic, p as SubscriptionStatus, r as PresenceMember, t as EventSchemas } from "../topic-4KYLvvTB.js";
7
+ import { g as TopicHandlers, m as Topic, p as SubscriptionStatus, r as PresenceMember, t as EventSchemas } from "../topic-_7QKu4b5.js";
8
8
  import { tt as TemplateValues } from "../bucket-DJu58KBb.js";
9
- import { n as Controller } from "../controller-DFGNChQL.js";
9
+ import { n as Controller } from "../controller-DBD6WWDa.js";
10
10
  import { D as BlockEventPattern, Dt as Events, T as BlockEvent, k as BlockEventsMatching, wt as EventMap } from "../events-DN9PAcjq.js";
11
11
  import { n as BlockDataOf, r as BlockMethodName, t as BlockArgsOf } from "../block-method-BgPAdisB.js";
12
- import { n as BlockOptions } from "../block-env-CQQUMPYZ.js";
12
+ import { n as BlockOptions } from "../block-env-CzT1OAiI.js";
13
13
  import { SupabaseClient } from "@supabase/supabase-js";
14
14
  import { QueryClient } from "@tanstack/query-core";
15
15
  import { Accessor, JSX } from "solid-js";
@@ -1,7 +1,7 @@
1
- import { C as BlockOptionsRegistry, S as BLOCK_OPTION_SCHEMAS, b as resolveBlock } from "../blocks-LZklPzC5.js";
2
- import { A as declaredTableColumns, C as notNullCheckName, D as addedColumnTypes, E as PolicyGrant, F as policyGrants, I as rlsTables, Jr as sameTenantLayout, M as declaredUpdatedAtTriggers, N as declaredViews, O as declaredColumnTypes, P as extensionSchema, S as blockSqlVersion, T as OwnIndex, Xr as auditRegistrations, Yr as AuditedTable, _ as BlockSqlFile, a as BlockSqlTableSpec, b as BlockSqlUpgrade, c as moduleIdType, ca as BlockSqlRead, d as appValues, da as declareRead, f as checkedValueMaps, fa as readArgSource, g as BlockSqlEntitlementsProvider, h as BlockSqlDeprecation, i as BlockSqlNames, j as declaredTables, k as declaredIndexes, l as ValueMap, la as BlockSqlReadArg, m as BlockSqlAccessProvider, n as BlockSqlContractFunction, o as MODULE_ID_TYPES, p as BlockSql, pa as readArgSqlType, qr as DeclaredForeignKey, r as BlockSqlIdType, s as isBlockSqlIdType, t as BlockSqlContext, u as ValueMaps, ua as BlockSqlReadArgType, v as BlockSqlLayout, w as DeclaredView, x as OwnView, y as BlockSqlTestFile } from "../context-iduX3Fsn.js";
3
- import { a as BlockSqlEmit, i as BlockSqlAudit, n as AuditCategory, r as BlockSqlAction, t as AUDIT_CATEGORIES } from "../audit-actions-Dni5Y4wV.js";
4
- import { $ as compileReadSet, $t as sameBlockFile, A as renderRulePolicy, At as adoptedColumnProblems, B as PolicyInput, Bt as seedDefaultsFunctions, C as RulePolicyInput, Ct as DataExportPlan, D as policyFunctionsSql, Dt as resolveExposeColumns, E as isRule, Et as excludedColumns, F as TENANT_SCOPE_NAMES, Ft as APP_TABLES_MODULE, G as policy, Gt as BlockSqlPermissionKey, H as RenderPolicyOptions, Ht as moduleSource, I as TENANT_SCOPE_POLICY, It as appTablesFiles, J as readPolicy, Jt as modulePermissionKeys, K as readGrants, Kt as moduleEventTriggers, L as Grant, Lt as DEFAULT_ROLES, M as appTablePolicyNotes, Mt as adoptedViews, N as declaredPolicies, Nt as moduleWritesText, O as readRulePolicies, Ot as AdoptedTable, P as widenedCommands, Pt as APP_TABLES_MARKER, Q as CompiledReadSet, Qt as moduleFileVersion, R as Policy, Rt as instanceFunctions, S as RulePolicy, St as sameTenantTrigger, T as disallowedPolicyCalls, Tt as dataExportPlan, U as catalogPolicy, Ut as resolveBlocks, V as ReadPolicy, Vt as SQL_MODULES, W as maskSql, Wt as BlockSqlExtension, X as scopePolicyName, Xt as blockFileState, Y as renderPolicy, Yt as moduleSchemaExtensions, Z as hasColumnAccess, Zt as isModuleDataFile, _ as POLICY_FUNCTIONS, _n as renderBlocks, _t as subjectColumns, a as createsTable, an as BLOCK_RENAMES, at as SCOPE_ID_TYPES, b as Rule, bt as expiredFlagsQuery, c as setTableFeature, cn as renamedBlock, ct as scopeProblems, d as BsbComment, dn as moduleDeprecations, dt as CheckValues, en as moduleDataDir, et as compileReadSets, f as BsbTag, fn as upgradePlan, ft as TableCheckValues, g as setBsbTag, gn as moduleTopics, gt as blockReadRoles, h as parseBsbComment, hn as moduleBody, ht as ReadRolesModule, i as TableFeature, in as entityRenamePlan, it as moduleLayout, j as rulePolicy, jt as adoptedTables, k as renderRule, kt as AdoptedView, l as tableFeatures, ln as BlockSqlUpgradePlan, lt as templateFunctions, m as formatBsbComment, mn as customContracts, mt as declaredCheckValues, n as renderAutoEmbedding, nn as EntityRenamePlan, nt as MigrationOptionUse, o as isTableFeature, on as currentBlockName, ot as resolveProviderSql, p as commentOnTableSql, pn as BlockSqlTopic, pt as checkValues, q as readPolicies, qt as moduleHidingColumns, r as TABLE_FEATURES, rn as EntityRenameStep, rt as migrationOptionUses, s as setFeatureStatement, sn as formerBlockName, st as sameTemplateFunction, t as AutoEmbeddingConfig, tn as moduleFilePaths, tt as sharedRolesProblems, u as tableTagComments, un as InstalledBlock, ut as writtenValues, v as PolicyFunctionsOptions, vn as contractSignature, vt as TenantQuery, w as RuleValue, wt as SECRET_COLUMNS, x as RuleOperator, xt as sameTenantColumn, y as ReadRulePolicy, yt as tenantsQuery, z as PolicyCommand, zt as SeedDefaultsFunction } from "../index-Dg35ugqv.js";
5
- import { n as BlockTables, r as blockTables, t as BlockTable } from "../block-tables-JC1dMLaA.js";
6
- import { a as appTableEventTypes } from "../app-tables-B2xNMyLA.js";
1
+ import { C as BlockOptionsRegistry, S as BLOCK_OPTION_SCHEMAS, b as resolveBlock } from "../blocks-DvWEz8mQ.js";
2
+ import { A as declaredTableColumns, C as notNullCheckName, D as addedColumnTypes, E as PolicyGrant, F as policyGrants, I as rlsTables, Jr as sameTenantLayout, M as declaredUpdatedAtTriggers, N as declaredViews, O as declaredColumnTypes, P as extensionSchema, S as blockSqlVersion, T as OwnIndex, Xr as auditRegistrations, Yr as AuditedTable, _ as BlockSqlFile, a as BlockSqlTableSpec, b as BlockSqlUpgrade, c as moduleIdType, ca as BlockSqlRead, d as appValues, da as declareRead, f as checkedValueMaps, fa as readArgSource, g as BlockSqlEntitlementsProvider, h as BlockSqlDeprecation, i as BlockSqlNames, j as declaredTables, k as declaredIndexes, l as ValueMap, la as BlockSqlReadArg, m as BlockSqlAccessProvider, n as BlockSqlContractFunction, o as MODULE_ID_TYPES, p as BlockSql, pa as readArgSqlType, qr as DeclaredForeignKey, r as BlockSqlIdType, s as isBlockSqlIdType, t as BlockSqlContext, u as ValueMaps, ua as BlockSqlReadArgType, v as BlockSqlLayout, w as DeclaredView, x as OwnView, y as BlockSqlTestFile } from "../context-BIBqUjVz.js";
3
+ import { a as BlockSqlEmit, i as BlockSqlAudit, n as AuditCategory, r as BlockSqlAction, t as AUDIT_CATEGORIES } from "../audit-actions-DC-AtyWB.js";
4
+ import { $ as compileReadSet, $t as sameBlockFile, A as renderRulePolicy, At as adoptedColumnProblems, B as PolicyInput, Bt as seedDefaultsFunctions, C as RulePolicyInput, Ct as DataExportPlan, D as policyFunctionsSql, Dt as resolveExposeColumns, E as isRule, Et as excludedColumns, F as TENANT_SCOPE_NAMES, Ft as APP_TABLES_MODULE, G as policy, Gt as BlockSqlPermissionKey, H as RenderPolicyOptions, Ht as moduleSource, I as TENANT_SCOPE_POLICY, It as appTablesFiles, J as readPolicy, Jt as modulePermissionKeys, K as readGrants, Kt as moduleEventTriggers, L as Grant, Lt as DEFAULT_ROLES, M as appTablePolicyNotes, Mt as adoptedViews, N as declaredPolicies, Nt as moduleWritesText, O as readRulePolicies, Ot as AdoptedTable, P as widenedCommands, Pt as APP_TABLES_MARKER, Q as CompiledReadSet, Qt as moduleFileVersion, R as Policy, Rt as instanceFunctions, S as RulePolicy, St as sameTenantTrigger, T as disallowedPolicyCalls, Tt as dataExportPlan, U as catalogPolicy, Ut as resolveBlocks, V as ReadPolicy, Vt as SQL_MODULES, W as maskSql, Wt as BlockSqlExtension, X as scopePolicyName, Xt as blockFileState, Y as renderPolicy, Yt as moduleSchemaExtensions, Z as hasColumnAccess, Zt as isModuleDataFile, _ as POLICY_FUNCTIONS, _n as renderBlocks, _t as subjectColumns, a as createsTable, an as BLOCK_RENAMES, at as SCOPE_ID_TYPES, b as Rule, bt as expiredFlagsQuery, c as setTableFeature, cn as renamedBlock, ct as scopeProblems, d as BsbComment, dn as moduleDeprecations, dt as CheckValues, en as moduleDataDir, et as compileReadSets, f as BsbTag, fn as upgradePlan, ft as TableCheckValues, g as setBsbTag, gn as moduleTopics, gt as blockReadRoles, h as parseBsbComment, hn as moduleBody, ht as ReadRolesModule, i as TableFeature, in as entityRenamePlan, it as moduleLayout, j as rulePolicy, jt as adoptedTables, k as renderRule, kt as AdoptedView, l as tableFeatures, ln as BlockSqlUpgradePlan, lt as templateFunctions, m as formatBsbComment, mn as customContracts, mt as declaredCheckValues, n as renderAutoEmbedding, nn as EntityRenamePlan, nt as MigrationOptionUse, o as isTableFeature, on as currentBlockName, ot as resolveProviderSql, p as commentOnTableSql, pn as BlockSqlTopic, pt as checkValues, q as readPolicies, qt as moduleHidingColumns, r as TABLE_FEATURES, rn as EntityRenameStep, rt as migrationOptionUses, s as setFeatureStatement, sn as formerBlockName, st as sameTemplateFunction, t as AutoEmbeddingConfig, tn as moduleFilePaths, tt as sharedRolesProblems, u as tableTagComments, un as InstalledBlock, ut as writtenValues, v as PolicyFunctionsOptions, vn as contractSignature, vt as TenantQuery, w as RuleValue, wt as SECRET_COLUMNS, x as RuleOperator, xt as sameTenantColumn, y as ReadRulePolicy, yt as tenantsQuery, z as PolicyCommand, zt as SeedDefaultsFunction } from "../index-DBqRH5cj.js";
5
+ import { n as BlockTables, r as blockTables, t as BlockTable } from "../block-tables-DOGtmm0m.js";
6
+ import { a as appTableEventTypes } from "../app-tables-CWnf7wpo.js";
7
7
  export { APP_TABLES_MARKER, APP_TABLES_MODULE, AUDIT_CATEGORIES, type AdoptedTable, type AdoptedView, type AuditCategory, type AuditedTable, type AutoEmbeddingConfig, BLOCK_OPTION_SCHEMAS, BLOCK_RENAMES, type BlockOptionsRegistry, type BlockSql, type BlockSqlAccessProvider, type BlockSqlAction, type BlockSqlAudit, type BlockSqlContext, type BlockSqlContractFunction, type BlockSqlDeprecation, type BlockSqlEmit, type BlockSqlEntitlementsProvider, type BlockSqlExtension, type BlockSqlFile, type BlockSqlIdType, type BlockSqlLayout, type BlockSqlNames, type BlockSqlPermissionKey, type BlockSqlRead, type BlockSqlReadArg, type BlockSqlReadArgType, type BlockSqlTableSpec, type BlockSqlTestFile, type BlockSqlTopic, type BlockSqlUpgrade, type BlockSqlUpgradePlan, type BlockTable, type BlockTables, type BsbComment, type BsbTag, type CheckValues, type CompiledReadSet, DEFAULT_ROLES, type DataExportPlan, type DeclaredForeignKey, type DeclaredView, type EntityRenamePlan, type EntityRenameStep, type Grant, type InstalledBlock, MODULE_ID_TYPES, type MigrationOptionUse, type OwnIndex, type OwnView, POLICY_FUNCTIONS, type Policy, type PolicyCommand, type PolicyFunctionsOptions, type PolicyGrant, type PolicyInput, type ReadPolicy, type ReadRolesModule, type ReadRulePolicy, type RenderPolicyOptions, type Rule, type RuleOperator, type RulePolicy, type RulePolicyInput, type RuleValue, SCOPE_ID_TYPES, SECRET_COLUMNS, SQL_MODULES, type SeedDefaultsFunction, TABLE_FEATURES, TENANT_SCOPE_NAMES, TENANT_SCOPE_POLICY, type TableCheckValues, type TableFeature, type TenantQuery, type ValueMap, type ValueMaps, addedColumnTypes, adoptedColumnProblems, adoptedTables, adoptedViews, appTableEventTypes, appTablePolicyNotes, appTablesFiles, appValues, auditRegistrations, blockFileState, blockReadRoles, blockSqlVersion, blockTables, catalogPolicy, checkValues, checkedValueMaps, commentOnTableSql, compileReadSet, compileReadSets, contractSignature, createsTable, currentBlockName, customContracts, dataExportPlan, declareRead, declaredCheckValues, declaredColumnTypes, declaredIndexes, declaredPolicies, declaredTableColumns, declaredTables, declaredUpdatedAtTriggers, declaredViews, disallowedPolicyCalls, entityRenamePlan, excludedColumns, expiredFlagsQuery, extensionSchema, formatBsbComment, formerBlockName, hasColumnAccess, instanceFunctions, isBlockSqlIdType, isModuleDataFile, isRule, isTableFeature, maskSql, migrationOptionUses, moduleBody, moduleDataDir, moduleDeprecations, moduleEventTriggers, moduleFilePaths, moduleFileVersion, moduleHidingColumns, moduleIdType, moduleLayout, modulePermissionKeys, moduleSchemaExtensions, moduleSource, moduleTopics, moduleWritesText, notNullCheckName, parseBsbComment, policy, policyFunctionsSql, policyGrants, readArgSource, readArgSqlType, readGrants, readPolicies, readPolicy, readRulePolicies, renamedBlock, renderAutoEmbedding, renderBlocks, renderPolicy, renderRule, renderRulePolicy, resolveBlock, resolveBlocks, resolveExposeColumns, resolveProviderSql, rlsTables, rulePolicy, sameBlockFile, sameTemplateFunction, sameTenantColumn, sameTenantLayout, sameTenantTrigger, scopePolicyName, scopeProblems, seedDefaultsFunctions, setBsbTag, setFeatureStatement, setTableFeature, sharedRolesProblems, subjectColumns, tableFeatures, tableTagComments, templateFunctions, tenantsQuery, upgradePlan, widenedCommands, writtenValues };
package/dist/sql/index.js CHANGED
@@ -1,9 +1,9 @@
1
- import { B as resolveBlock, T as hasColumnAccess, h as appTableEventTypes } from "../instances-DJxWRqXk.js";
1
+ import { B as resolveBlock, T as hasColumnAccess, h as appTableEventTypes } from "../instances-z6DJn2Gr.js";
2
2
  import { c as scopeProblems, l as templateFunctions, o as resolveProviderSql, s as sameTemplateFunction, t as SCOPE_ID_TYPES } from "../access-sql-DH2LbcQe.js";
3
3
  import { a as readGrants, c as renderPolicy, i as policy, o as readPolicies, r as maskSql, s as readPolicy, t as catalogPolicy } from "../policy-B9UWDXMF.js";
4
4
  import { M as notNullCheckName } from "../shared-DwShIqeQ.js";
5
- import { $ as appTablesFiles, A as sameTenantLayout, At as contractSignature, B as customContracts, Bt as declaredViews, C as AUDIT_CATEGORIES, Ct as BLOCK_RENAMES, D as blockReadRoles, Dt as MODULE_ID_TYPES, E as declaredCheckValues, Et as renamedBlock, F as instanceFunctions, Ft as declaredColumnTypes, G as upgradePlan, H as moduleTopics, Ht as policyGrants, I as blockTables, It as declaredIndexes, J as widenedCommands, K as appTablePolicyNotes, L as seedDefaultsFunctions, Lt as declaredTableColumns, M as adoptedTables, Mt as checkedValueMaps, N as adoptedViews, Nt as BLOCK_OPTION_SCHEMAS, O as tenantsQuery, Ot as isBlockSqlIdType, P as moduleWritesText, Pt as addedColumnTypes, Q as APP_TABLES_MODULE, R as moduleLayout, Rt as declaredTables, S as sharedRolesProblems, St as migrationOptionUses, T as checkValues, Tt as formerBlockName, U as renderBlocks, Ut as rlsTables, V as moduleBody, Vt as extensionSchema, W as moduleDeprecations, Wt as auditRegistrations, X as moduleFilePaths, Y as moduleDataDir, Z as APP_TABLES_MARKER, _ as renderRule, _t as resolveExposeColumns, a as setTableFeature, at as moduleFileVersion, b as compileReadSet, bt as sameTenantColumn, c as commentOnTableSql, ct as moduleHidingColumns, d as setBsbTag, dt as SQL_MODULES, et as scopePolicyName, f as POLICY_FUNCTIONS, ft as moduleSource, g as readRulePolicies, gt as excludedColumns, h as policyFunctionsSql, ht as TENANT_SCOPE_POLICY, i as setFeatureStatement, it as isModuleDataFile, j as adoptedColumnProblems, jt as appValues, k as expiredFlagsQuery, kt as moduleIdType, l as formatBsbComment, lt as modulePermissionKeys, m as isRule, mt as TENANT_SCOPE_NAMES, n as createsTable, nt as blockSqlVersion, o as tableFeatures, ot as sameBlockFile, p as disallowedPolicyCalls, pt as resolveBlocks, q as declaredPolicies, r as isTableFeature, rt as blockFileState, s as tableTagComments, st as moduleEventTriggers, t as TABLE_FEATURES, tt as renderAutoEmbedding, u as parseBsbComment, ut as moduleSchemaExtensions, v as renderRulePolicy, vt as SECRET_COLUMNS, w as writtenValues, wt as currentBlockName, x as compileReadSets, xt as sameTenantTrigger, y as rulePolicy, yt as dataExportPlan, z as entityRenamePlan, zt as declaredUpdatedAtTriggers } from "../sql-Bam07JIf.js";
6
- import { s as subjectColumns } from "../contributions-DPjEWWpE.js";
5
+ import { $ as scopePolicyName, A as adoptedColumnProblems, At as appValues, B as moduleBody, Bt as declaredViews, C as writtenValues, Ct as currentBlockName, D as tenantsQuery, Dt as isBlockSqlIdType, E as blockReadRoles, Et as MODULE_ID_TYPES, F as blockTables, Ft as declaredColumnTypes, G as appTablePolicyNotes, H as renderBlocks, Ht as policyGrants, I as seedDefaultsFunctions, It as declaredIndexes, J as moduleDataDir, K as declaredPolicies, L as moduleLayout, Lt as declaredTableColumns, M as adoptedViews, Mt as AUDIT_CATEGORIES, N as moduleWritesText, Nt as BLOCK_OPTION_SCHEMAS, O as expiredFlagsQuery, Ot as moduleIdType, P as instanceFunctions, Pt as addedColumnTypes, Q as appTablesFiles, R as entityRenamePlan, Rt as declaredTables, S as sharedRolesProblems, St as BLOCK_RENAMES, T as declaredCheckValues, Tt as renamedBlock, U as moduleDeprecations, Ut as rlsTables, V as moduleTopics, Vt as extensionSchema, W as upgradePlan, Wt as auditRegistrations, X as APP_TABLES_MARKER, Y as moduleFilePaths, Z as APP_TABLES_MODULE, _ as renderRule, _t as SECRET_COLUMNS, a as setTableFeature, at as sameBlockFile, b as compileReadSet, bt as sameTenantTrigger, c as commentOnTableSql, ct as modulePermissionKeys, d as setBsbTag, dt as moduleSource, et as renderAutoEmbedding, f as POLICY_FUNCTIONS, ft as resolveBlocks, g as readRulePolicies, gt as resolveExposeColumns, h as policyFunctionsSql, ht as excludedColumns, i as setFeatureStatement, it as moduleFileVersion, j as adoptedTables, jt as checkedValueMaps, k as sameTenantLayout, kt as contractSignature, l as formatBsbComment, lt as moduleSchemaExtensions, m as isRule, mt as TENANT_SCOPE_POLICY, n as createsTable, nt as blockFileState, o as tableFeatures, ot as moduleEventTriggers, p as disallowedPolicyCalls, pt as TENANT_SCOPE_NAMES, q as widenedCommands, r as isTableFeature, rt as isModuleDataFile, s as tableTagComments, st as moduleHidingColumns, t as TABLE_FEATURES, tt as blockSqlVersion, u as parseBsbComment, ut as SQL_MODULES, v as renderRulePolicy, vt as dataExportPlan, w as checkValues, wt as formerBlockName, x as compileReadSets, xt as migrationOptionUses, y as rulePolicy, yt as sameTenantColumn, z as customContracts, zt as declaredUpdatedAtTriggers } from "../sql-CFsIpR4t.js";
6
+ import { s as subjectColumns } from "../contributions-olp7tVYC.js";
7
7
  import { t as DEFAULT_ROLES } from "../permissions-model-Dh9-Zzfy.js";
8
8
  import { n as readArgSource, r as readArgSqlType, t as declareRead } from "../reads-CWVqw2JB.js";
9
9
  export { APP_TABLES_MARKER, APP_TABLES_MODULE, AUDIT_CATEGORIES, BLOCK_OPTION_SCHEMAS, BLOCK_RENAMES, DEFAULT_ROLES, MODULE_ID_TYPES, POLICY_FUNCTIONS, SCOPE_ID_TYPES, SECRET_COLUMNS, SQL_MODULES, TABLE_FEATURES, TENANT_SCOPE_NAMES, TENANT_SCOPE_POLICY, addedColumnTypes, adoptedColumnProblems, adoptedTables, adoptedViews, appTableEventTypes, appTablePolicyNotes, appTablesFiles, appValues, auditRegistrations, blockFileState, blockReadRoles, blockSqlVersion, blockTables, catalogPolicy, checkValues, checkedValueMaps, commentOnTableSql, compileReadSet, compileReadSets, contractSignature, createsTable, currentBlockName, customContracts, dataExportPlan, declareRead, declaredCheckValues, declaredColumnTypes, declaredIndexes, declaredPolicies, declaredTableColumns, declaredTables, declaredUpdatedAtTriggers, declaredViews, disallowedPolicyCalls, entityRenamePlan, excludedColumns, expiredFlagsQuery, extensionSchema, formatBsbComment, formerBlockName, hasColumnAccess, instanceFunctions, isBlockSqlIdType, isModuleDataFile, isRule, isTableFeature, maskSql, migrationOptionUses, moduleBody, moduleDataDir, moduleDeprecations, moduleEventTriggers, moduleFilePaths, moduleFileVersion, moduleHidingColumns, moduleIdType, moduleLayout, modulePermissionKeys, moduleSchemaExtensions, moduleSource, moduleTopics, moduleWritesText, notNullCheckName, parseBsbComment, policy, policyFunctionsSql, policyGrants, readArgSource, readArgSqlType, readGrants, readPolicies, readPolicy, readRulePolicies, renamedBlock, renderAutoEmbedding, renderBlocks, renderPolicy, renderRule, renderRulePolicy, resolveBlock, resolveBlocks, resolveExposeColumns, resolveProviderSql, rlsTables, rulePolicy, sameBlockFile, sameTemplateFunction, sameTenantColumn, sameTenantLayout, sameTenantTrigger, scopePolicyName, scopeProblems, seedDefaultsFunctions, setBsbTag, setFeatureStatement, setTableFeature, sharedRolesProblems, subjectColumns, tableFeatures, tableTagComments, templateFunctions, tenantsQuery, upgradePlan, widenedCommands, writtenValues };