better-supabase 0.55.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.
- package/dist/{agents-CBXJce8J.d.ts → agents-DJChYmXn.d.ts} +2 -2
- package/dist/{ai-schedules-CtwkMJDZ.d.ts → ai-schedules-5fxfEOWM.d.ts} +1 -1
- package/dist/ai-sdk/agents/index.d.ts +1 -1
- package/dist/ai-sdk/workflow/index.d.ts +1 -1
- package/dist/{app-tables-BsDmauWB.d.ts → app-tables-CWnf7wpo.d.ts} +1 -1
- package/dist/{authorization-DK7YSiFV.d.ts → authorization-Hh9xUm0r.d.ts} +1 -1
- package/dist/{bind-DiGmjHzz.d.ts → bind-CC5-eBT-.d.ts} +3 -3
- package/dist/{block-env-BTKZBCL4.d.ts → block-env-CzT1OAiI.d.ts} +4 -4
- package/dist/{block-subjects-BoJrJAgR.js → block-subjects-B9hb1LLk.js} +2 -2
- package/dist/{block-tables-B6Jt0mWg.d.ts → block-tables-DOGtmm0m.d.ts} +1 -1
- package/dist/blocks/access-requests/index.d.ts +1 -1
- package/dist/blocks/accounting/index.d.ts +1 -1
- package/dist/blocks/acknowledgements/index.d.ts +1 -1
- package/dist/blocks/activities/index.d.ts +2 -2
- package/dist/blocks/advisories/index.d.ts +1 -1
- package/dist/blocks/agent-checkout/index.d.ts +1 -1
- package/dist/blocks/agents/index.d.ts +1 -1
- package/dist/blocks/ai-cache/index.d.ts +1 -1
- package/dist/blocks/ai-chat/index.d.ts +1 -1
- package/dist/blocks/ai-evals/index.d.ts +1 -1
- package/dist/blocks/ai-files/index.d.ts +1 -1
- package/dist/blocks/ai-guardrails/index.d.ts +1 -1
- package/dist/blocks/ai-keys/index.d.ts +1 -1
- package/dist/blocks/ai-schedules/index.d.ts +2 -2
- package/dist/blocks/announcements/index.d.ts +4 -4
- package/dist/blocks/api-keys/index.d.ts +1 -1
- package/dist/blocks/appraisals/index.d.ts +1 -1
- package/dist/blocks/approvals/index.d.ts +1 -1
- package/dist/blocks/assets/index.d.ts +2 -2
- package/dist/blocks/assignment/index.d.ts +1 -1
- package/dist/blocks/attachments/index.d.ts +5 -5
- package/dist/blocks/audit/index.d.ts +2 -2
- package/dist/blocks/automations/index.d.ts +3 -3
- package/dist/blocks/banking/index.d.ts +1 -1
- package/dist/blocks/billable-time/index.d.ts +1 -1
- package/dist/blocks/billing/index.d.ts +2 -2
- package/dist/blocks/bookings/index.d.ts +2 -2
- package/dist/blocks/bulk/index.d.ts +1 -1
- package/dist/blocks/calendar/index.d.ts +3 -3
- package/dist/blocks/care/index.d.ts +27 -27
- package/dist/blocks/care-plans/index.d.ts +3 -3
- package/dist/blocks/cases/index.d.ts +3 -3
- package/dist/blocks/catalog/index.d.ts +2 -2
- package/dist/blocks/channels/index.d.ts +1 -1
- package/dist/blocks/clinical-decision-support/index.d.ts +1 -1
- package/dist/blocks/cms/index.d.ts +5 -5
- package/dist/blocks/collaboration/index.d.ts +6 -6
- package/dist/blocks/collections/index.d.ts +1 -1
- package/dist/blocks/comments/index.d.ts +2 -2
- package/dist/blocks/commerce/index.d.ts +5 -5
- package/dist/blocks/commissions/index.d.ts +1 -1
- package/dist/blocks/compliance/index.d.ts +1 -1
- package/dist/blocks/connectors/index.d.ts +1 -1
- package/dist/blocks/consents/index.d.ts +2 -2
- package/dist/blocks/contacts/index.d.ts +2 -2
- package/dist/blocks/content/index.d.ts +2 -2
- package/dist/blocks/contracts/index.d.ts +1 -1
- package/dist/blocks/courses/index.d.ts +3 -3
- package/dist/blocks/created-by/index.d.ts +2 -2
- package/dist/blocks/crm/index.d.ts +16 -16
- package/dist/blocks/custom-fields/index.d.ts +1 -1
- package/dist/blocks/dam/index.d.ts +2 -2
- package/dist/blocks/data-lifecycle/index.d.ts +2 -2
- package/dist/blocks/deadlines/index.d.ts +249 -43
- package/dist/blocks/deadlines/index.js +862 -20
- package/dist/blocks/deals/index.d.ts +1 -1
- package/dist/blocks/dispatch/index.d.ts +2 -2
- package/dist/blocks/document-templates/index.d.ts +2 -2
- package/dist/blocks/documents/index.d.ts +1 -1
- package/dist/blocks/domains/index.d.ts +1 -1
- package/dist/blocks/donations/index.d.ts +1 -1
- package/dist/blocks/drive/index.d.ts +5 -5
- package/dist/blocks/e-prescribing/index.d.ts +1 -1
- package/dist/blocks/employees/index.d.ts +1 -1
- package/dist/blocks/enrichment/index.d.ts +1 -1
- package/dist/blocks/enrollments/index.d.ts +2 -2
- package/dist/blocks/entitlements/index.d.ts +3 -3
- package/dist/blocks/events/index.d.ts +3 -3
- package/dist/blocks/expenses/index.d.ts +1 -1
- package/dist/blocks/field-history/index.d.ts +1 -1
- package/dist/blocks/filespace/index.d.ts +8 -8
- package/dist/blocks/finance/index.d.ts +5 -5
- package/dist/blocks/flags/index.d.ts +1 -1
- package/dist/blocks/forecasts/index.d.ts +1 -1
- package/dist/blocks/forms/index.d.ts +3 -3
- package/dist/blocks/funding/index.d.ts +2 -2
- package/dist/blocks/goals/index.d.ts +1 -1
- package/dist/blocks/governance/index.d.ts +4 -4
- package/dist/blocks/guests/index.d.ts +1 -1
- package/dist/blocks/hiring/index.d.ts +1 -1
- package/dist/blocks/identities/index.d.ts +1 -1
- package/dist/blocks/imports/index.d.ts +2 -2
- package/dist/blocks/inbox/index.d.ts +6 -6
- package/dist/blocks/incidents/index.d.ts +1 -1
- package/dist/blocks/index.d.ts +3 -3
- package/dist/blocks/inspections/index.d.ts +2 -2
- package/dist/blocks/inventory/index.d.ts +1 -1
- package/dist/blocks/invoices/index.d.ts +1 -1
- package/dist/blocks/knowledge/index.d.ts +1 -1
- package/dist/blocks/lead-scoring/index.d.ts +2 -2
- package/dist/blocks/learning/index.d.ts +3 -3
- package/dist/blocks/leases/index.d.ts +1 -1
- package/dist/blocks/leave/index.d.ts +1 -1
- package/dist/blocks/ledger/index.d.ts +1 -1
- package/dist/blocks/legal-entities/index.d.ts +2 -2
- package/dist/blocks/lims/index.d.ts +2 -2
- package/dist/blocks/mail-sync/index.d.ts +3 -3
- package/dist/blocks/maintenance/index.d.ts +2 -2
- package/dist/blocks/manufacturing/index.d.ts +2 -2
- package/dist/blocks/medications/index.d.ts +1 -1
- package/dist/blocks/meetings/index.d.ts +3 -3
- package/dist/blocks/memberships/index.d.ts +2 -2
- package/dist/blocks/memory/index.d.ts +1 -1
- package/dist/blocks/messaging/index.d.ts +5 -5
- package/dist/blocks/metrics/index.d.ts +1 -1
- package/dist/blocks/mfa/index.d.ts +2 -2
- package/dist/blocks/moderation/index.d.ts +2 -2
- package/dist/blocks/notifications/index.d.ts +5 -5
- package/dist/blocks/numbering/index.d.ts +1 -1
- package/dist/blocks/oauth-server/index.d.ts +1 -1
- package/dist/blocks/observations/index.d.ts +2 -2
- package/dist/blocks/onboarding/index.d.ts +2 -2
- package/dist/blocks/option-sets/index.d.ts +2 -2
- package/dist/blocks/orders/index.d.ts +1 -1
- package/dist/blocks/organizations/index.d.ts +2 -2
- package/dist/blocks/outbox/index.d.ts +1 -1
- package/dist/blocks/passes/index.d.ts +2 -2
- package/dist/blocks/payroll-export/index.d.ts +2 -2
- package/dist/blocks/people/index.d.ts +7 -7
- package/dist/blocks/periods/index.d.ts +1 -1
- package/dist/blocks/permissions/index.d.ts +3 -3
- package/dist/blocks/pipelines/index.d.ts +1 -1
- package/dist/blocks/posts/index.d.ts +2 -2
- package/dist/blocks/procurement/index.d.ts +5 -5
- package/dist/blocks/profiles/index.d.ts +1 -1
- package/dist/blocks/projects/index.d.ts +7 -7
- package/dist/blocks/promotions/index.d.ts +1 -1
- package/dist/blocks/prompts/index.d.ts +1 -1
- package/dist/blocks/push/index.d.ts +2 -2
- package/dist/blocks/qualifications/index.d.ts +2 -2
- package/dist/blocks/queue/index.d.ts +2 -2
- package/dist/blocks/quotes/index.d.ts +1 -1
- package/dist/blocks/rank/index.d.ts +1 -1
- package/dist/blocks/reactions/index.d.ts +4 -4
- package/dist/blocks/recruiting/index.d.ts +4 -4
- package/dist/blocks/referrals/index.d.ts +1 -1
- package/dist/blocks/relations/index.d.ts +1 -1
- package/dist/blocks/reminders/index.d.ts +1 -1
- package/dist/blocks/reviews/index.d.ts +1 -1
- package/dist/blocks/rfqs/index.d.ts +2 -2
- package/dist/blocks/risks/index.d.ts +2 -2
- package/dist/blocks/saas/index.d.ts +12 -12
- package/dist/blocks/sales/index.d.ts +1 -1
- package/dist/blocks/saved-views/index.d.ts +2 -2
- package/dist/blocks/scheduling/index.d.ts +4 -4
- package/dist/blocks/scores/index.d.ts +2 -2
- package/dist/blocks/search/index.d.ts +3 -3
- package/dist/blocks/security-events/index.d.ts +1 -1
- package/dist/blocks/segments/index.d.ts +2 -2
- package/dist/blocks/sequences/index.d.ts +3 -3
- package/dist/blocks/service/index.d.ts +7 -7
- package/dist/blocks/service-accounts/index.d.ts +1 -1
- package/dist/blocks/sessions/index.d.ts +2 -2
- package/dist/blocks/settings/index.d.ts +2 -2
- package/dist/blocks/share-links/index.d.ts +1 -1
- package/dist/blocks/shifts/index.d.ts +2 -2
- package/dist/blocks/shipments/index.d.ts +2 -2
- package/dist/blocks/signatures/index.d.ts +2 -2
- package/dist/blocks/signing-keys/index.d.ts +1 -1
- package/dist/blocks/sla/index.d.ts +1 -1
- package/dist/blocks/sso/index.d.ts +1 -1
- package/dist/blocks/state-machine/index.d.ts +1 -1
- package/dist/blocks/subjects/index.d.ts +2 -2
- package/dist/blocks/support/index.d.ts +5 -5
- package/dist/blocks/tags/index.d.ts +2 -2
- package/dist/blocks/tasks/index.d.ts +2 -2
- package/dist/blocks/tax/index.d.ts +2 -2
- package/dist/blocks/teams/index.d.ts +1 -1
- package/dist/blocks/templates/index.d.ts +1 -1
- package/dist/blocks/tills/index.d.ts +1 -1
- package/dist/blocks/time-tracking/index.d.ts +2 -2
- package/dist/blocks/timeline/index.d.ts +1 -1
- package/dist/blocks/trash/index.d.ts +1 -1
- package/dist/blocks/undo/index.d.ts +2 -2
- package/dist/blocks/updated-at/index.d.ts +2 -2
- package/dist/blocks/usage/index.d.ts +2 -2
- package/dist/blocks/vercel-marketplace/index.d.ts +1 -1
- package/dist/blocks/versions/index.d.ts +1 -1
- package/dist/blocks/waitlist/index.d.ts +1 -1
- package/dist/blocks/warehouse/index.d.ts +1 -1
- package/dist/blocks/webhooks/index.d.ts +1 -1
- package/dist/blocks/workflow-editor/index.d.ts +4 -4
- package/dist/blocks/workflows/index.d.ts +4 -4
- package/dist/{blocks-2HFgUcqG.d.ts → blocks-DvWEz8mQ.d.ts} +4 -4
- package/dist/claims/index.d.ts +3 -3
- package/dist/cli/{add-LvxZ-JNB.js → add--O_HFhs0.js} +2 -2
- package/dist/cli/add-CUAchifS.js +1 -0
- package/dist/cli/{add-BnYh-Kpy.js → add-DT2QsJB0.js} +10 -10
- package/dist/cli/{app-table-files-7M0I9LaE.js → app-table-files-BjMDa_7_.js} +2 -2
- package/dist/cli/{app-tables-BfWPWiOJ.js → app-tables-D34g1ASz.js} +2 -2
- package/dist/cli/{backfill-i0Tx24Sa.js → backfill-DWD5chCd.js} +1 -1
- package/dist/cli/bin.js +1 -1
- package/dist/cli/{blocks-C_7ioBdJ.js → blocks-BduQcXFb.js} +1 -1
- package/dist/cli/{blocks-X_eD_t_f.js → blocks-DKs7Qj8R.js} +1 -1
- package/dist/cli/{cache-D98rjB1C.js → cache-EFwNdKib.js} +1 -1
- package/dist/cli/{codemod-j1nCkgA5.js → codemod-CuaWRwst.js} +1 -1
- package/dist/cli/{content-mapper-UsLt4y0J.js → content-mapper-BlOMmIM2.js} +2 -2
- package/dist/cli/{doctor-BYJM72wi.js → doctor-JdxWuscJ.js} +15 -15
- package/dist/cli/{gen-D47t5jj3.js → gen-n6l6AMLo.js} +11 -11
- package/dist/cli/index.d.ts +1 -1
- package/dist/cli/index.js +6 -6
- package/dist/cli/{init-CAWeLXCs.js → init-BLMHN_2A.js} +9 -9
- package/dist/cli/{live-DNd8MMNk.js → live-C4uCg3ME.js} +2 -2
- package/dist/cli/{mcp-BUs7M6fq.js → mcp-CFLvzFKH.js} +2 -2
- package/dist/cli/{metadata-UwEYCntC.js → metadata-CRp8JQTE.js} +3 -3
- package/dist/cli/{migrate-D-GzXR4D.js → migrate-BjDf0moD.js} +1 -1
- package/dist/cli/{migration-safety-Cg9jf2s-.js → migration-safety-D-QnV2BW.js} +1 -1
- package/dist/cli/{migrations-Bhcf7MHM.js → migrations-8dDFF8SW.js} +2 -2
- package/dist/cli/{module-migration-BJaOdOWy.js → module-migration-DuwIX8MO.js} +2 -2
- package/dist/cli/powersync-ByqoHJwp.js +1 -0
- package/dist/cli/{powersync-DQKdjG_K.js → powersync-CHVlZIqs.js} +3 -3
- package/dist/cli/{print-B1onZWRG.js → print-orgMiDzp.js} +2 -2
- package/dist/cli/{providers-M7s8btf1.js → providers-DWZVnoDw.js} +1 -1
- package/dist/cli/{prune-workflows-BiRF1YBZ.js → prune-workflows-DelKs-zD.js} +1 -1
- package/dist/cli/{remove-BHyzqWNm.js → remove-BH6Zwjhs.js} +6 -6
- package/dist/cli/{render-DDCy_0V_.js → render-DyWVslCM.js} +3 -3
- package/dist/cli/{run-DDUBMkbN.js → run-BYX5n5rt.js} +9 -9
- package/dist/cli/{run-Csm1-Uto.js → run-GcSBgXCH.js} +31 -31
- package/dist/cli/{shared-Cv22MEAO.js → shared-BoVOOrpJ.js} +1 -1
- package/dist/cli/{snapshot-9xnSt525.js → snapshot-BZGZ9pB-.js} +2 -2
- package/dist/cli/{source-B_miugrh.js → source-Buw7eODS.js} +1 -1
- package/dist/cli/{spec-dYLJbr9J.js → spec-CUWMpL3f.js} +2 -2
- package/dist/cli/{spec-BeAgQ-of.js → spec-CnRC9FcX.js} +1 -1
- package/dist/cli/{sql-layout-3YU4941N.js → sql-layout-BZ-NhhTI.js} +2 -2
- package/dist/cli/{sync-Bfwk4Ldc.js → sync-CFzA4xdr.js} +4 -4
- package/dist/cli/{upgrade-BMrkzAcD.js → upgrade-D1szGysi.js} +5 -5
- package/dist/cli/{upgrade-DRvMFW2T.js → upgrade-ukOP0GXf.js} +2 -2
- package/dist/cli/{version-BXjNETWS.js → version-D1sJX6_6.js} +1 -1
- package/dist/client/index.d.ts +5 -5
- package/dist/client/native/index.d.ts +4 -4
- package/dist/config/index.d.ts +4 -4
- package/dist/config/index.js +4 -4
- package/dist/{config-CsX2THwJ.js → config-Bx3UYp8b.js} +3 -3
- package/dist/{config-Dgl6AxKE.js → config-CAjlOSQY.js} +1 -1
- package/dist/{context-DSJpfeVv.d.ts → context-BIBqUjVz.d.ts} +3 -3
- package/dist/contract/index.d.ts +3 -3
- package/dist/{controller-BVee4yX8.d.ts → controller-DBD6WWDa.d.ts} +1 -1
- package/dist/{conversion-BPkWkVoa.d.ts → conversion-DLkof9_y.d.ts} +1 -1
- package/dist/create/index.d.ts +4 -4
- package/dist/create/index.js +3 -3
- package/dist/create/lite/index.d.ts +3 -3
- package/dist/create/lite/index.js +2 -2
- package/dist/deadlines-values-vmaCCdGl.js +92 -0
- package/dist/{define-block-Cu67KCN1.d.ts → define-block-zK3QnPyG.d.ts} +1 -1
- package/dist/{drive-D008IDpI.d.ts → drive-Keqe8dIg.d.ts} +1 -1
- package/dist/{entitlements-CRBZg5y2.d.ts → entitlements-QwMag409.d.ts} +1 -1
- package/dist/{extract-BU5w3k5s.d.ts → extract-CJWS6MMG.d.ts} +1 -1
- package/dist/{field-errors-CjEgbjO9.d.ts → field-errors-BlyD3if3.d.ts} +5 -5
- package/dist/{index-ilxdL8pz.d.ts → index-0AVn1Dcr.d.ts} +1 -1
- package/dist/{index-dMGEJLxl.d.ts → index-9rajR8Ti.d.ts} +1 -1
- package/dist/{index-r3QZBY7z.d.ts → index-B5rQ9MEl.d.ts} +1 -1
- package/dist/{index-BleHtlJ6.d.ts → index-B7_Mq8Qm.d.ts} +1 -1
- package/dist/{index-DDDHYXtr.d.ts → index-BGqvP9dE.d.ts} +8 -8
- package/dist/{index-D5nY5k-2.d.ts → index-BIClMq6S.d.ts} +7 -7
- package/dist/{index-DsA7MQwZ.d.ts → index-BOI3eLz0.d.ts} +1 -1
- package/dist/{index-CaW37FHZ.d.ts → index-BSdDLEA-.d.ts} +1 -1
- package/dist/{index-BoCyVsCr.d.ts → index-BTC40rxx.d.ts} +1 -1
- package/dist/{index-u8EXkOzJ.d.ts → index-BxdldeGx.d.ts} +1 -1
- package/dist/{index-JzAR_Y7n.d.ts → index-C7tmYYB5.d.ts} +3 -3
- package/dist/{index-DYzQ_PPW.d.ts → index-CJB2uCFk.d.ts} +1 -1
- package/dist/{index-_wr8wCe9.d.ts → index-COLMIEk0.d.ts} +1 -1
- package/dist/{index-BVJsz3pS.d.ts → index-CPRQdNHc.d.ts} +2 -2
- package/dist/{index--7HXH_H_.d.ts → index-CSdjm0Kn.d.ts} +2 -2
- package/dist/{index-_RnZChF8.d.ts → index-CT0OjCk1.d.ts} +1 -1
- package/dist/{index-D7zwaGAP.d.ts → index-CocISf2h.d.ts} +1 -1
- package/dist/{index-D-3fZP5z.d.ts → index-Cvd24Ybb.d.ts} +1 -1
- package/dist/{index-BeU2DRAI.d.ts → index-DASeimpy.d.ts} +1 -1
- package/dist/{index-voglIa16.d.ts → index-DBqRH5cj.d.ts} +3 -3
- package/dist/{index-DZRsTCds.d.ts → index-DCeA3cFQ.d.ts} +1 -1
- package/dist/{index-DtMdKIJU.d.ts → index-DD3Ldome.d.ts} +2 -2
- package/dist/{index-ChaJiMkI.d.ts → index-DEDIPDaW.d.ts} +2 -2
- package/dist/{index-DhS8Qkgj.d.ts → index-DNitLhgU.d.ts} +2 -2
- package/dist/{index-DR4P3Lf9.d.ts → index-D_OEwOaE.d.ts} +2 -2
- package/dist/{index-BTl5A8Aj.d.ts → index-D_g2loq-.d.ts} +1 -1
- package/dist/{index-BDn4Mqq0.d.ts → index-DaTxv1aA.d.ts} +1 -1
- package/dist/{index-E_Q5L9PV.d.ts → index-DcihkEQo.d.ts} +1 -1
- package/dist/{index-BOZ6AsMs.d.ts → index-Do6ZAvXT.d.ts} +1 -1
- package/dist/{index-BvPirjfD.d.ts → index-DpwRuDBy.d.ts} +4 -4
- package/dist/{index-CDEzb5bl.d.ts → index-HANt6RDT.d.ts} +1 -1
- package/dist/{index-slG4UpF_.d.ts → index-QpKsKUbn.d.ts} +2 -2
- package/dist/{index-DJ1Uk4ff.d.ts → index-WXVYfOHr.d.ts} +4 -4
- package/dist/{index-BR8ZkijS.d.ts → index-XjhYgGhk.d.ts} +2 -2
- package/dist/{index-AmPcMT_X.d.ts → index-_rOaXPbx.d.ts} +1 -1
- package/dist/{index-Dyq6B4gZ.d.ts → index-n-7IwvYP.d.ts} +2 -2
- package/dist/{index-CKdNndE3.d.ts → index-urOSlPMc.d.ts} +2 -2
- package/dist/{instances-BMjIO6Xu.js → instances-z6DJn2Gr.js} +20 -1
- package/dist/{manifest-DYPVnKW_.d.ts → manifest-B4SF4ieN.d.ts} +1 -1
- package/dist/{manifest-DsuoLp-Y.d.ts → manifest-B9D-PHpo.d.ts} +1 -1
- package/dist/{manifest-BE7UwezO.d.ts → manifest-BBIs-5xy.d.ts} +1 -1
- package/dist/{manifest-CdD44xlg.d.ts → manifest-BE6JGlFP.d.ts} +1 -1
- package/dist/{manifest-lzwWCAYV.d.ts → manifest-BExilPWu.d.ts} +1 -1
- package/dist/{manifest-CaA-2HPK.d.ts → manifest-BNhdYakH.d.ts} +1 -1
- package/dist/{manifest-DhpmWh55.d.ts → manifest-BVkjX2t-.d.ts} +1 -1
- package/dist/{manifest-CMNPpmWS.d.ts → manifest-BVnfLMPU.d.ts} +2 -2
- package/dist/{manifest-Dk_7prKx.d.ts → manifest-BX7vyeYr.d.ts} +1 -1
- package/dist/{manifest-D9P9Yhe3.d.ts → manifest-BYxKYFcH.d.ts} +1 -1
- package/dist/{manifest-DxPLHyKY.d.ts → manifest-Bcx4GSo0.d.ts} +1 -1
- package/dist/{manifest-BknZ4yQ-.d.ts → manifest-BeupHUUC.d.ts} +1 -1
- package/dist/{manifest-DhXoSaUC.d.ts → manifest-BmI85ooO.d.ts} +1 -1
- package/dist/{manifest-BXxSqnLS.d.ts → manifest-BoKnFQJK.d.ts} +1 -1
- package/dist/{manifest-Bz0EjE76.d.ts → manifest-BwwWlxof.d.ts} +1 -1
- package/dist/{manifest-CoFpa0dN.d.ts → manifest-Bx62hgMv.d.ts} +1 -1
- package/dist/{manifest-D2d1wS7g.d.ts → manifest-C1plIFth.d.ts} +1 -1
- package/dist/{manifest-X4analSK.d.ts → manifest-C8-zVlM4.d.ts} +1 -1
- package/dist/{manifest-BB3GjGa3.d.ts → manifest-CANbbLyM.d.ts} +1 -1
- package/dist/{manifest-DwCorUVJ.d.ts → manifest-CCQYjt7L.d.ts} +1 -1
- package/dist/{manifest-Dc8pNExY.d.ts → manifest-CDIvE9Po.d.ts} +1 -1
- package/dist/{manifest-xikzppm9.d.ts → manifest-CJEzfFKP.d.ts} +1 -1
- package/dist/{manifest-DG0oDOmq.d.ts → manifest-CLSlmLnn.d.ts} +1 -1
- package/dist/{manifest-BZL2TAB1.d.ts → manifest-CV-9uzTU.d.ts} +1 -1
- package/dist/{manifest-CBwrN4Nf.d.ts → manifest-CYDtm5Yz.d.ts} +1 -1
- package/dist/{manifest-BYbt4y_O.d.ts → manifest-Cb0BCYmS.d.ts} +1 -1
- package/dist/{manifest-BVjhJ3Mj.d.ts → manifest-Cc1r_IME.d.ts} +1 -1
- package/dist/{manifest-BMNwdO5D.d.ts → manifest-CeFiTTOx.d.ts} +1 -1
- package/dist/{manifest-CSHNTEJZ.d.ts → manifest-Ch8G8wad.d.ts} +1 -1
- package/dist/{manifest-CWj5SFuw.d.ts → manifest-Ciu7htmT.d.ts} +1 -1
- package/dist/{manifest-DMvx2rWH.d.ts → manifest-CtvRTQoq.d.ts} +1 -1
- package/dist/{manifest-Bp0oZ3-W.d.ts → manifest-CxJtO760.d.ts} +1 -1
- package/dist/{manifest-Eazz96as.d.ts → manifest-D2mvuqCe.d.ts} +1 -1
- package/dist/{manifest-B17Sra5h.d.ts → manifest-D8o7ivPa.d.ts} +1 -1
- package/dist/{manifest-C_dVunWg.d.ts → manifest-DAQAHnHf.d.ts} +1 -1
- package/dist/{manifest-auanzyjB.d.ts → manifest-DBUE3KbP.d.ts} +1 -1
- package/dist/{manifest-B4CEdcH_.d.ts → manifest-DElW3hfs.d.ts} +1 -1
- package/dist/{manifest-BSvxbZH5.d.ts → manifest-DFGW17h3.d.ts} +1 -1
- package/dist/{manifest-D7mliM-d.d.ts → manifest-DGXOQgh3.d.ts} +1 -1
- package/dist/{manifest-CELTce26.d.ts → manifest-DHV0zxVj.d.ts} +1 -1
- package/dist/{manifest-yKx0faak.d.ts → manifest-DKCc24tm.d.ts} +1 -1
- package/dist/{manifest-DGiswyG5.d.ts → manifest-DKk12W7u.d.ts} +1 -1
- package/dist/{manifest-BzsuqiQx.d.ts → manifest-DOUGC7xP.d.ts} +1 -1
- package/dist/{manifest-DUlZ8qck.d.ts → manifest-DPQpIRCO.d.ts} +1 -1
- package/dist/{manifest-DGLrMEdB.d.ts → manifest-DPXd-wZG.d.ts} +1 -1
- package/dist/{manifest-uIIb_YLI.d.ts → manifest-D_tuEFvt.d.ts} +1 -1
- package/dist/{manifest-DPqKZgWn.d.ts → manifest-DbzB7NQP.d.ts} +1 -1
- package/dist/{manifest-DAXz8rxB.d.ts → manifest-Dd0bmqd-.d.ts} +1 -1
- package/dist/{manifest-CGZQ9lU3.d.ts → manifest-DebHyEiN.d.ts} +1 -1
- package/dist/{manifest-CMnLDDS3.d.ts → manifest-Doxj-elq.d.ts} +1 -1
- package/dist/{manifest-D_VmA0aC.d.ts → manifest-DujUV7Cu.d.ts} +1 -1
- package/dist/{manifest-Dl_bw4IU.d.ts → manifest-Duj_AN2H.d.ts} +1 -1
- package/dist/{manifest-gGFtQDJz.d.ts → manifest-DzN5YdbZ.d.ts} +1 -1
- package/dist/{manifest-DIZ6chpf.d.ts → manifest-P2Pzb1Jo.d.ts} +1 -1
- package/dist/{manifest-CbKgs5qA.d.ts → manifest-SEhx1LFs.d.ts} +1 -1
- package/dist/{manifest-CGcGylmw.d.ts → manifest-Se6qEw03.d.ts} +1 -1
- package/dist/{manifest-6PhMgCFi.d.ts → manifest-UHESrKBI.d.ts} +1 -1
- package/dist/{manifest-Df1QDhiQ.d.ts → manifest-Ul7Uq35H.d.ts} +1 -1
- package/dist/{manifest-Pl5us_yz.d.ts → manifest-XpSrCsAV.d.ts} +1 -1
- package/dist/{manifest-DtEcJBdE.d.ts → manifest-iRX3gQ3g.d.ts} +1 -1
- package/dist/{manifest-D0FjVeay.d.ts → manifest-uRsVzPOJ.d.ts} +1 -1
- package/dist/{manifest-D2Z_2z9-.d.ts → manifest-x50nYF_4.d.ts} +1 -1
- package/dist/mapper/bin.js +5 -5
- package/dist/mcp/index.d.ts +1 -1
- package/dist/next/index.d.ts +7 -7
- package/dist/{operations-DKfYeS5z.d.ts → operations-Ce53BGJ0.d.ts} +1 -1
- package/dist/otel/index.js +4 -4
- package/dist/{permissions-C5h1cU25.d.ts → permissions-Bi4WvjnM.d.ts} +1 -1
- package/dist/{ports-DvaVv_3b.d.ts → ports-TvLRuWgJ.d.ts} +1 -1
- package/dist/powersync/index.d.ts +2 -2
- package/dist/preset/index.d.ts +4 -4
- package/dist/preset/index.js +3 -3
- package/dist/{preset-Cl3Q5ASC.js → preset-CPUA9haY.js} +3 -3
- package/dist/{preview-Bwg7r1Lf.d.ts → preview-DvpfbcDY.d.ts} +2 -2
- package/dist/{project-At5wBJSS.js → project-CkGGYXKd.js} +5 -5
- package/dist/{push-token-C6ZGE1g0.d.ts → push-token-GJUUE_6j.d.ts} +1 -1
- package/dist/query/index.d.ts +1 -1
- package/dist/react/index.d.ts +5 -5
- package/dist/react/native/index.d.ts +1 -1
- package/dist/react/server.d.ts +5 -5
- package/dist/realtime/index.d.ts +3 -3
- package/dist/{record-form-DTncyqVH.d.ts → record-form-DhpdYw5e.d.ts} +1 -1
- package/dist/records/index.d.ts +7 -7
- package/dist/server/index.d.ts +3 -3
- package/dist/solid/index.d.ts +5 -5
- package/dist/sql/index.d.ts +5 -5
- package/dist/sql/index.js +2 -2
- package/dist/{sql-CdZdPqjA.js → sql-CFsIpR4t.js} +1508 -258
- package/dist/ssr/index.d.ts +1 -1
- package/dist/svelte/index.d.ts +5 -5
- package/dist/{tenant-BTnwa5oZ.d.ts → tenant-BTxVWIN6.d.ts} +1 -1
- package/dist/testing/index.d.ts +6 -6
- package/dist/testing/index.js +1 -1
- package/dist/{timeline-B7kBQ1gh.d.ts → timeline-9r4mx0A2.d.ts} +2 -2
- package/dist/{topic-hu0RP7CG.d.ts → topic-_7QKu4b5.d.ts} +1 -1
- package/dist/{types-DvglaQ_D.d.ts → types-C2qXUXjK.d.ts} +2 -2
- package/dist/vue/index.d.ts +5 -5
- package/dist/{watch-topic-C_rGHxIA.d.ts → watch-topic-Do0x41n3.d.ts} +1 -1
- package/dist/webmcp/index.d.ts +1 -1
- package/dist/yjs/index.d.ts +1 -1
- package/package.json +1 -1
- package/dist/cli/add-D0TUMxXn.js +0 -1
- package/dist/cli/powersync-Bn-u0TGP.js +0 -1
- package/dist/deadlines-values-B7ArpVJU.js +0 -127
package/dist/ssr/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { A as serializeCookie, C as CookieScope, D as applyCookieWrites, E as StoredSession, O as parseCookies, S as CookieRecord, T as SessionEncoding, a as ResolveAuthOptions, j as sessionCookieName, k as readSession, n as AuthResolver, r as AuthState, t as AuthResolution, u as resolveAuth, w as CookieWrite, x as CookieOptions } from "../resolve-B9Rn2M5c.js";
|
|
2
2
|
import { a as sessionStatus, i as clearSessionCookies, n as SessionStatus, o as authContext, r as SessionStatusOptions, t as ClearSessionCookiesOptions } from "../ended-C-w3KU-i.js";
|
|
3
3
|
import { n as AuthSession, o as toSession } from "../view-CVXHgadI.js";
|
|
4
|
-
import { r as MembershipClaim } from "../entitlements-
|
|
4
|
+
import { r as MembershipClaim } from "../entitlements-QwMag409.js";
|
|
5
5
|
export { type AuthResolution, type AuthResolver, type AuthSession, type AuthState, type ClearSessionCookiesOptions, type CookieOptions, type CookieRecord, type CookieScope, type CookieWrite, type MembershipClaim, type ResolveAuthOptions, type SessionEncoding, type SessionStatus, type SessionStatusOptions, type StoredSession, applyCookieWrites, authContext, clearSessionCookies, parseCookies, readSession, resolveAuth, serializeCookie, sessionCookieName, sessionStatus, toSession };
|
package/dist/svelte/index.d.ts
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { n as AuthSession } from "../view-CVXHgadI.js";
|
|
2
|
-
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-
|
|
3
|
-
import { t as AuthSnapshot } from "../bind-
|
|
2
|
+
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";
|
|
3
|
+
import { t as AuthSnapshot } from "../bind-CC5-eBT-.js";
|
|
4
4
|
import { b as DbError } from "../result-CMqlHv82.js";
|
|
5
5
|
import { st as QuerySpec } from "../db-blocks-CzhzWfvR.js";
|
|
6
|
-
import { g as TopicHandlers, m as Topic, p as SubscriptionStatus, r as PresenceMember, t as EventSchemas } from "../topic-
|
|
6
|
+
import { g as TopicHandlers, m as Topic, p as SubscriptionStatus, r as PresenceMember, t as EventSchemas } from "../topic-_7QKu4b5.js";
|
|
7
7
|
import { tt as TemplateValues } from "../bucket-DJu58KBb.js";
|
|
8
|
-
import { n as Controller } from "../controller-
|
|
8
|
+
import { n as Controller } from "../controller-DBD6WWDa.js";
|
|
9
9
|
import { D as BlockEventPattern, Dt as Events, T as BlockEvent, k as BlockEventsMatching, wt as EventMap } from "../events-DN9PAcjq.js";
|
|
10
|
-
import { n as BlockOptions } from "../block-env-
|
|
10
|
+
import { n as BlockOptions } from "../block-env-CzT1OAiI.js";
|
|
11
11
|
import { n as BlockDataOf, r as BlockMethodName, t as BlockArgsOf } from "../block-method-BgPAdisB.js";
|
|
12
12
|
import { SupabaseClient } from "@supabase/supabase-js";
|
|
13
13
|
import { QueryClient } from "@tanstack/query-core";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { s as ClaimsSource } from "./entitlements-
|
|
1
|
+
import { s as ClaimsSource } from "./entitlements-QwMag409.js";
|
|
2
2
|
/**
|
|
3
3
|
* The active tenant of a user session: the `claim` claim (`tenant_id` by
|
|
4
4
|
* default, as `config.claims.tenant`) at the top level of the token, then in
|
package/dist/testing/index.d.ts
CHANGED
|
@@ -13,28 +13,28 @@ import { i as EventSink, t as CloudEvent } from "../cloud-event-Dj2V1lQw.js";
|
|
|
13
13
|
import { n as Money } from "../money-BgpAd7d3.js";
|
|
14
14
|
import { n as Payment, o as PaymentProvider } from "../payments-DSIeov-I.js";
|
|
15
15
|
import { r as WebhookInput } from "../signatures-l_OUbLtA.js";
|
|
16
|
-
import { tn as FieldPack, w as AnyRecordBinding } from "../define-block-
|
|
16
|
+
import { tn as FieldPack, w as AnyRecordBinding } from "../define-block-zK3QnPyG.js";
|
|
17
17
|
import { l as TaxProvider, r as TaxAddress } from "../tax-DKZ62cZY.js";
|
|
18
18
|
import { Q as EInvoiceChannel, et as EInvoiceDocument, lt as EInvoiceEndpoint, t as Invoice } from "../invoices-DQB0pdnK.js";
|
|
19
19
|
import { p as ShippingProvider, s as ShipmentAddress } from "../carrier-DaIG8Q4x.js";
|
|
20
20
|
import { O as IncomingDestination, f as WebhookSecretStore, o as WebhookSigner, v as WebhookTransport } from "../signers-CPqWfc48.js";
|
|
21
21
|
import { L as QueueProvider } from "../types-CTb0Uroz.js";
|
|
22
22
|
import { w as SupportSessionStore } from "../support-DYNFoAZ8.js";
|
|
23
|
-
import { n as Controller } from "../controller-
|
|
23
|
+
import { n as Controller } from "../controller-DBD6WWDa.js";
|
|
24
24
|
import { r as GuardOptions } from "../respond-OjgB7zlB.js";
|
|
25
25
|
import { s as ServerContext, u as ServerOptions } from "../server-types-Cf4eX4kr.js";
|
|
26
26
|
import { a as BlockTransportMiddleware } from "../block-hooks-FM9t7ol_.js";
|
|
27
|
-
import { s as AuthorizationProvider } from "../authorization-
|
|
27
|
+
import { s as AuthorizationProvider } from "../authorization-Hh9xUm0r.js";
|
|
28
28
|
import { i as AuthorizationHooks } from "../authorization-hooks-DM_ijJsD.js";
|
|
29
29
|
import { a as DeliveryTransport } from "../delivery-CWcbh87x.js";
|
|
30
30
|
import { l as VersionOf, t as AnyDocumentFormat } from "../format-BT0Z3V54.js";
|
|
31
31
|
import { t as ApiModel } from "../model-Lxa_mOzB.js";
|
|
32
|
-
import { It as GeneratorInput, Ot as Generator, Zt as ResolvedConfig, zt as GeneratorModel } from "../context-
|
|
32
|
+
import { It as GeneratorInput, Ot as Generator, Zt as ResolvedConfig, zt as GeneratorModel } from "../context-BIBqUjVz.js";
|
|
33
33
|
import { l as Transcriber, s as NoteTaker, u as TranscriberInput } from "../recordings-1yDvOqM4.js";
|
|
34
34
|
import { o as VulnerabilityFeed } from "../feed-7YjTfcqT.js";
|
|
35
|
-
import { c as AiTaskRunner, o as AiTaskRun, r as AiTask } from "../ai-schedules-
|
|
35
|
+
import { c as AiTaskRunner, o as AiTaskRun, r as AiTask } from "../ai-schedules-5fxfEOWM.js";
|
|
36
36
|
import { _ as ClinicalDecisionSupport, l as CareDecisionContext } from "../clinical-decision-support-CMAg066a.js";
|
|
37
|
-
import { n as DriveTextFile, s as TextExtractor } from "../extract-
|
|
37
|
+
import { n as DriveTextFile, s as TextExtractor } from "../extract-CJWS6MMG.js";
|
|
38
38
|
import { i as Prescription, r as PrescribedOrder, s as PrescriptionGateway } from "../e-prescribing-W0tunICr.js";
|
|
39
39
|
import { D as FundingRenderedClaim, c as FundingClaim, f as FundingClaimFormat, l as FundingClaimChannel, p as FundingClaimLine } from "../funding-C2R7BTT_.js";
|
|
40
40
|
import { r as Embedder } from "../knowledge-vrO4Poa5.js";
|
package/dist/testing/index.js
CHANGED
|
@@ -33,7 +33,7 @@ import { s as snapshotOf } from "../snapshot-r7c6-qTr.js";
|
|
|
33
33
|
import { c as requestOf, i as defineAuthorizer, r as checkPermission } from "../authorizer-C0__8umq.js";
|
|
34
34
|
import { t as mailHeaders } from "../delivery-SmPHu2_H.js";
|
|
35
35
|
import { t as buildApiModel } from "../build-hI1X186W.js";
|
|
36
|
-
import { c as resolveConfig } from "../config-
|
|
36
|
+
import { c as resolveConfig } from "../config-Bx3UYp8b.js";
|
|
37
37
|
import { i as embedVectors } from "../knowledge-5Qz_NTXw.js";
|
|
38
38
|
import { n as toFhirPrescription } from "../prescriptions-DSMprfT_.js";
|
|
39
39
|
import { a as CARE_BUILT_IN_SOURCE, n as CARE_ALERT_KINDS, r as CARE_ALERT_SEVERITIES } from "../clinical-decision-support-values-Bk1AzL7L.js";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { D as ValidationIssue, t as AsyncResult } from "./result-CMqlHv82.js";
|
|
2
2
|
import { et as RecordRef } from "./types-BlBju7Wa.js";
|
|
3
|
-
import { D as RecordBindingData, R as TimelineItem, j as RecordBindingResult } from "./define-block-
|
|
3
|
+
import { D as RecordBindingData, R as TimelineItem, j as RecordBindingResult } from "./define-block-zK3QnPyG.js";
|
|
4
4
|
import { o as FilterField } from "./filter-query-CJ3wcwqH.js";
|
|
5
|
-
import { A as BindingBlocks, F as LoadBindingsOptions, M as BindingName, N as BindingOf, P as BindingSource, V as PermissionSet, _ as RecordTypeBlocks, g as RecordType, h as RecordCan } from "./index-
|
|
5
|
+
import { A as BindingBlocks, F as LoadBindingsOptions, M as BindingName, N as BindingOf, P as BindingSource, V as PermissionSet, _ as RecordTypeBlocks, g as RecordType, h as RecordCan } from "./index-D_g2loq-.js";
|
|
6
6
|
import { c as ListParseOptions, m as ListSearchParams } from "./list-query-B4qI5eE8.js";
|
|
7
7
|
/**
|
|
8
8
|
* How a binding fills a list column: `count` is how many rows it has (the
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as AuthorizationFunctions } from "./authorization-
|
|
1
|
+
import { t as AuthorizationFunctions } from "./authorization-Hh9xUm0r.js";
|
|
2
2
|
import { g as SubscriberPolicy, h as SubscriberEvent, i as AuthorizationHooks, m as Subscriber } from "./authorization-hooks-DM_ijJsD.js";
|
|
3
3
|
import { s as BetterSupabase } from "./db-blocks-CzhzWfvR.js";
|
|
4
4
|
import { D as ValidationIssue, b as DbError, t as AsyncResult } from "./result-CMqlHv82.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { kr as Preset } from "./define-block-
|
|
2
|
-
import { Pn as DesignErrorCode, ai as AppColumnFormat, ci as AppOnDeleteAction, oi as AppColumnType, ri as AppColumnAccess, vi as AppTableVersions } from "./context-
|
|
1
|
+
import { kr as Preset } from "./define-block-zK3QnPyG.js";
|
|
2
|
+
import { Pn as DesignErrorCode, ai as AppColumnFormat, ci as AppOnDeleteAction, oi as AppColumnType, ri as AppColumnAccess, vi as AppTableVersions } from "./context-BIBqUjVz.js";
|
|
3
3
|
/** Where in the project pipeline an issue came from. */
|
|
4
4
|
type IssueSource = "design" | "rules" | "sql" | "seeds" | "verifier" | "plan";
|
|
5
5
|
type IssueSeverity = "error" | "warning" | "info";
|
package/dist/vue/index.d.ts
CHANGED
|
@@ -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-
|
|
4
|
-
import { t as AuthSnapshot } from "../bind-
|
|
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-
|
|
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-
|
|
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-
|
|
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 { App, ComputedRef, MaybeRefOrGetter, Ref, ShallowRef } from "vue";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as RealtimeClient, p as SubscriptionStatus } from "./topic-
|
|
1
|
+
import { c as RealtimeClient, p as SubscriptionStatus } from "./topic-_7QKu4b5.js";
|
|
2
2
|
interface TopicWatch {
|
|
3
3
|
readonly onMessage: (event: string, payload: unknown) => void;
|
|
4
4
|
readonly onRejoin: () => void;
|
package/dist/webmcp/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as McpTool } from "../index-
|
|
1
|
+
import { r as McpTool } from "../index-CocISf2h.js";
|
|
2
2
|
import { O as AnyFunctions, k as AnyModels } from "../types-BlBju7Wa.js";
|
|
3
3
|
/** A `Result` of a block repository method, typed structurally. */
|
|
4
4
|
interface ActionResult<T> {
|
package/dist/yjs/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { a as DocumentSuggestion, d as OpenedDocument, l as Documents, r as DocumentRef, t as DecidedSuggestion } from "../documents-pW4DIqiC.js";
|
|
2
|
-
import { c as RealtimeClient, r as PresenceMember } from "../topic-
|
|
2
|
+
import { c as RealtimeClient, r as PresenceMember } from "../topic-_7QKu4b5.js";
|
|
3
3
|
import { t as AsyncResult } from "../result-CMqlHv82.js";
|
|
4
4
|
type PresenceState = Readonly<Record<string, unknown>>;
|
|
5
5
|
/** The part of a `Y.Doc` the provider uses. */
|
package/package.json
CHANGED
package/dist/cli/add-D0TUMxXn.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { t as addCommand } from "./add-BnYh-Kpy.js";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { t as powersyncStreamsCommand } from "./powersync-DQKdjG_K.js";
|
|
@@ -1,127 +0,0 @@
|
|
|
1
|
-
// src/sql/modules/deadlines-values.ts
|
|
2
|
-
/** The states of a version of a rule set. */
|
|
3
|
-
const RULE_VERSION_STATUSES = ["draft", "approved"];
|
|
4
|
-
/** What a deadline row holds: a date, or the facts it still waits for. */
|
|
5
|
-
const DEADLINE_RESULTS = ["due", "unknown"];
|
|
6
|
-
/** Where a deadline stands: pending until an action satisfies it. */
|
|
7
|
-
const DEADLINE_STATES = ["pending", "satisfied"];
|
|
8
|
-
const OFFSET_UNITS = [
|
|
9
|
-
"days",
|
|
10
|
-
"business_days",
|
|
11
|
-
"months"
|
|
12
|
-
];
|
|
13
|
-
/** How a date that lands on a weekend moves. */
|
|
14
|
-
const DEADLINE_ADJUSTMENTS = [
|
|
15
|
-
"none",
|
|
16
|
-
"next_business_day",
|
|
17
|
-
"previous_business_day"
|
|
18
|
-
];
|
|
19
|
-
/** The largest offset a rule may carry, in its unit. */
|
|
20
|
-
const OFFSET_LIMIT = 3650;
|
|
21
|
-
/** A name of a fact or a rule: lower case, digits and `_`. */
|
|
22
|
-
const DEADLINE_NAME_PATTERN = /^[a-z][a-z0-9_]{0,62}$/u;
|
|
23
|
-
const DATE = /^(\d{4})-(\d{2})-(\d{2})$/u;
|
|
24
|
-
const DAY_MS = 864e5;
|
|
25
|
-
function isRecord(value) {
|
|
26
|
-
return typeof value === "object" && value !== null && !Array.isArray(value);
|
|
27
|
-
}
|
|
28
|
-
/** Days since the epoch of an ISO date, or `undefined` when it isn't a date. */
|
|
29
|
-
function parseDate(value) {
|
|
30
|
-
if (typeof value !== "string") return;
|
|
31
|
-
const match = DATE.exec(value.trim());
|
|
32
|
-
if (match === null) return;
|
|
33
|
-
const [year, month, day] = [
|
|
34
|
-
match[1],
|
|
35
|
-
match[2],
|
|
36
|
-
match[3]
|
|
37
|
-
].map(Number);
|
|
38
|
-
const ms = Date.UTC(year ?? 0, (month ?? 1) - 1, day ?? 1);
|
|
39
|
-
const check = new Date(ms);
|
|
40
|
-
return check.getUTCFullYear() === year && check.getUTCMonth() === (month ?? 1) - 1 && check.getUTCDate() === day ? ms / DAY_MS : void 0;
|
|
41
|
-
}
|
|
42
|
-
function format(days) {
|
|
43
|
-
return (/* @__PURE__ */ new Date(days * DAY_MS)).toISOString().slice(0, 10);
|
|
44
|
-
}
|
|
45
|
-
function weekend(days) {
|
|
46
|
-
const day = (/* @__PURE__ */ new Date(days * DAY_MS)).getUTCDay();
|
|
47
|
-
return day === 0 || day === 6;
|
|
48
|
-
}
|
|
49
|
-
function addMonths(days, months) {
|
|
50
|
-
const date = /* @__PURE__ */ new Date(days * DAY_MS);
|
|
51
|
-
const total = date.getUTCFullYear() * 12 + date.getUTCMonth() + months;
|
|
52
|
-
const year = Math.floor(total / 12);
|
|
53
|
-
const month = total - year * 12;
|
|
54
|
-
const last = new Date(Date.UTC(year, month + 1, 0)).getUTCDate();
|
|
55
|
-
return Date.UTC(year, month, Math.min(date.getUTCDate(), last)) / DAY_MS;
|
|
56
|
-
}
|
|
57
|
-
function present(facts, name) {
|
|
58
|
-
const value = facts[name];
|
|
59
|
-
return value !== void 0 && value !== null && String(value).trim() !== "";
|
|
60
|
-
}
|
|
61
|
-
/**
|
|
62
|
-
* Evaluates a rule against facts: `due` with an ISO date, or `unknown` with the
|
|
63
|
-
* facts that are missing, the anchor first. Weekends are Saturday and Sunday;
|
|
64
|
-
* holidays are not modeled. The SQL function `evaluate_deadline_rule` returns
|
|
65
|
-
* the same result.
|
|
66
|
-
*/
|
|
67
|
-
function evaluateDeadlineRule(rule, facts) {
|
|
68
|
-
const anchor = parseDate(facts[rule.anchor]);
|
|
69
|
-
const missing = [];
|
|
70
|
-
for (const name of /* @__PURE__ */ new Set([rule.anchor, ...rule.requires ?? []])) if (!present(facts, name) || name === rule.anchor && anchor === void 0) missing.push(name);
|
|
71
|
-
if (missing.length > 0 || anchor === void 0) return {
|
|
72
|
-
status: "unknown",
|
|
73
|
-
missing
|
|
74
|
-
};
|
|
75
|
-
const { amount, unit } = rule.offset;
|
|
76
|
-
let due = anchor;
|
|
77
|
-
if (unit === "days") due += amount;
|
|
78
|
-
else if (unit === "months") due = addMonths(anchor, amount);
|
|
79
|
-
else {
|
|
80
|
-
const step = amount < 0 ? -1 : 1;
|
|
81
|
-
for (let left = Math.abs(amount); left > 0; left -= 1) {
|
|
82
|
-
due += step;
|
|
83
|
-
while (weekend(due)) due += step;
|
|
84
|
-
}
|
|
85
|
-
}
|
|
86
|
-
const adjust = rule.adjust ?? "none";
|
|
87
|
-
if (adjust !== "none") {
|
|
88
|
-
const step = adjust === "next_business_day" ? 1 : -1;
|
|
89
|
-
while (weekend(due)) due += step;
|
|
90
|
-
}
|
|
91
|
-
return {
|
|
92
|
-
status: "due",
|
|
93
|
-
dueOn: format(due)
|
|
94
|
-
};
|
|
95
|
-
}
|
|
96
|
-
/**
|
|
97
|
-
* The problems of a rule list, empty when it is valid. The SQL function
|
|
98
|
-
* `validate_deadline_rules` finds the same ones.
|
|
99
|
-
*/
|
|
100
|
-
function validateDeadlineRules(rules) {
|
|
101
|
-
if (!Array.isArray(rules) || rules.length === 0) return ["a rule set version needs a non-empty list of rules"];
|
|
102
|
-
const issues = [];
|
|
103
|
-
const keys = /* @__PURE__ */ new Set();
|
|
104
|
-
for (const [index, rule] of rules.entries()) {
|
|
105
|
-
const at = `rule ${index + 1}`;
|
|
106
|
-
if (!isRecord(rule)) {
|
|
107
|
-
issues.push(`${at} must be an object`);
|
|
108
|
-
continue;
|
|
109
|
-
}
|
|
110
|
-
const key = rule["key"];
|
|
111
|
-
if (typeof key !== "string" || !DEADLINE_NAME_PATTERN.test(key)) issues.push(`${at} needs a key in lower case letters, digits and _`);
|
|
112
|
-
else if (keys.has(key)) issues.push(`${at} repeats the key ${key}`);
|
|
113
|
-
else keys.add(key);
|
|
114
|
-
const anchor = rule["anchor"];
|
|
115
|
-
if (typeof anchor !== "string" || !DEADLINE_NAME_PATTERN.test(anchor)) issues.push(`${at} needs an anchor fact name`);
|
|
116
|
-
const offset = rule["offset"];
|
|
117
|
-
if (!isRecord(offset) || typeof offset["amount"] !== "number" || !Number.isInteger(offset["amount"]) || Math.abs(offset["amount"]) > 3650 || !OFFSET_UNITS.some((unit) => unit === offset["unit"])) issues.push(`${at} needs an offset of a whole amount up to ${OFFSET_LIMIT} in ${OFFSET_UNITS.join(", ")}`);
|
|
118
|
-
const adjust = rule["adjust"];
|
|
119
|
-
if (adjust !== void 0 && !DEADLINE_ADJUSTMENTS.some((value) => value === adjust)) issues.push(`${at} adjust is ${DEADLINE_ADJUSTMENTS.join(", ")}`);
|
|
120
|
-
const requires = rule["requires"];
|
|
121
|
-
if (requires !== void 0 && (!Array.isArray(requires) || !requires.every((name) => typeof name === "string" && DEADLINE_NAME_PATTERN.test(name)))) issues.push(`${at} requires is a list of fact names`);
|
|
122
|
-
const citation = rule["citation"];
|
|
123
|
-
if (!isRecord(citation) || typeof citation["reference"] !== "string" || citation["reference"].trim() === "") issues.push(`${at} needs a citation with a reference`);
|
|
124
|
-
}
|
|
125
|
-
return issues;
|
|
126
|
-
}
|
|
127
|
-
export { OFFSET_UNITS as a, validateDeadlineRules as c, OFFSET_LIMIT as i, DEADLINE_RESULTS as n, RULE_VERSION_STATUSES as o, DEADLINE_STATES as r, evaluateDeadlineRule as s, DEADLINE_ADJUSTMENTS as t };
|