better-supabase 0.53.0 → 0.55.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/README.md +1 -1
- package/dist/{activities-B0ENjxY5.d.ts → activities-DPq0U9Nb.d.ts} +6 -6
- package/dist/{adapter-CJa5ys5O.js → adapter-D7GH81nF.js} +44 -0
- package/dist/{agents-D_EOJyJM.d.ts → agents-BOzK0MbI.d.ts} +4 -4
- package/dist/{agents-BrLBg0gC.d.ts → agents-CBXJce8J.d.ts} +6 -6
- package/dist/{ai-cache-DkBo2zOv.d.ts → ai-cache-BvDaB1pY.d.ts} +4 -4
- package/dist/{ai-chat-B1tvHB75.d.ts → ai-chat-DiXgrAd3.d.ts} +4 -4
- package/dist/{ai-guardrails-DRstFl-d.d.ts → ai-guardrails-DEofLB_z.d.ts} +3 -3
- package/dist/{ai-schedules-Dfbcor59.d.ts → ai-schedules-CtwkMJDZ.d.ts} +5 -5
- package/dist/ai-sdk/agents/index.d.ts +2 -2
- package/dist/ai-sdk/batches/index.d.ts +3 -3
- package/dist/ai-sdk/cache/index.d.ts +1 -1
- package/dist/ai-sdk/chat/index.d.ts +2 -2
- package/dist/ai-sdk/embeddings/index.d.ts +2 -2
- package/dist/ai-sdk/files/index.d.ts +1 -1
- package/dist/ai-sdk/index.d.ts +8 -8
- package/dist/ai-sdk/mcp/index.d.ts +3 -3
- package/dist/ai-sdk/memory/index.d.ts +3 -3
- package/dist/ai-sdk/workflow/index.d.ts +4 -4
- package/dist/{api-CGYctFBt.d.ts → api-8Q1VgGJT.d.ts} +5 -5
- package/dist/{api-keys-COJAXdGF.d.ts → api-keys-Dqif78kM.d.ts} +4 -4
- package/dist/{app-tables-CZLNOXeA.d.ts → app-tables-BsDmauWB.d.ts} +1 -1
- package/dist/{approvals-Ds7pFvnl.d.ts → approvals-DnabEGo2.d.ts} +6 -6
- package/dist/{assistant-DLKGA2nm.d.ts → assistant-Du8hceVj.d.ts} +2 -2
- package/dist/astro/index.d.ts +7 -7
- package/dist/astro/index.js +2 -2
- package/dist/{attachments-Djs8uyat.js → attachments-sZnT13hL.js} +5 -1
- package/dist/{audit-actions-Dni5Y4wV.d.ts → audit-actions-DC-AtyWB.d.ts} +6 -0
- package/dist/auth/index.d.ts +8 -0
- package/dist/auth/index.js +1 -0
- package/dist/{authorization-UYejwQsk.d.ts → authorization-DK7YSiFV.d.ts} +1 -1
- package/dist/{authorization-hooks-BiMwxiZN.d.ts → authorization-hooks-DM_ijJsD.d.ts} +2 -2
- package/dist/{automations-CjKWYzIu.js → automations-Cu1KdCvL.js} +3 -1
- package/dist/{banking-reads-M3pbqqke.js → banking-reads-C41R4bEw.js} +1 -1
- package/dist/better-result/index.d.ts +3 -3
- package/dist/{bind-D4qLTlY4.d.ts → bind-DiGmjHzz.d.ts} +7 -7
- package/dist/{block-authors-C5z3tGVu.d.ts → block-authors-BkayxCWo.d.ts} +2 -0
- package/dist/{block-authors-BUczGqr5.js → block-authors-Dt8tG1o9.js} +2 -1
- package/dist/{block-env-BLBr90is.d.ts → block-env-BTKZBCL4.d.ts} +4 -4
- package/dist/{block-event-listener-CaR-FW5X.d.ts → block-event-listener-DannKfYZ.d.ts} +1 -1
- package/dist/{block-events-records-CMq4TElv.d.ts → block-events-records-BhqpDl-4.d.ts} +1 -1
- package/dist/{block-helpers-YOdaCxWE.d.ts → block-helpers-rTsuHt6v.d.ts} +1 -1
- package/dist/{block-hooks-xAMR6WdT.d.ts → block-hooks-FM9t7ol_.d.ts} +2 -2
- package/dist/{block-subjects-B8PmdWEd.d.ts → block-subjects-B6qEt8WO.d.ts} +1 -1
- package/dist/{block-subjects-Cvd-RaMY.js → block-subjects-BoJrJAgR.js} +7 -4
- package/dist/{block-tables-BkgafSZd.d.ts → block-tables-B6Jt0mWg.d.ts} +1 -1
- package/dist/{block-transport-DBteddOY.d.ts → block-transport-CP4wAHU-.d.ts} +2 -2
- package/dist/blocks/access-requests/index.d.ts +3 -3
- package/dist/blocks/accounting/index.d.ts +3 -3
- package/dist/blocks/acknowledgements/index.d.ts +2 -2
- package/dist/blocks/activities/index.d.ts +6 -6
- package/dist/blocks/advisories/index.d.ts +5 -5
- package/dist/blocks/agent-checkout/index.d.ts +7 -7
- package/dist/blocks/agents/index.d.ts +5 -5
- package/dist/blocks/ai-cache/index.d.ts +3 -3
- package/dist/blocks/ai-chat/index.d.ts +4 -4
- package/dist/blocks/ai-evals/index.d.ts +4 -4
- package/dist/blocks/ai-files/index.d.ts +3 -3
- package/dist/blocks/ai-guardrails/index.d.ts +4 -4
- package/dist/blocks/ai-keys/index.d.ts +4 -4
- package/dist/blocks/ai-schedules/index.d.ts +3 -3
- package/dist/blocks/announcements/index.d.ts +8 -8
- package/dist/blocks/api-keys/index.d.ts +3 -3
- package/dist/blocks/appraisals/index.d.ts +5 -5
- package/dist/blocks/approvals/index.d.ts +3 -3
- package/dist/blocks/assets/index.d.ts +4 -4
- package/dist/blocks/assignment/index.d.ts +3 -3
- package/dist/blocks/attachments/index.d.ts +11 -11
- package/dist/blocks/attachments/index.js +15 -5
- package/dist/blocks/audit/index.d.ts +121 -42
- package/dist/blocks/audit/index.js +183 -32
- package/dist/blocks/automations/index.d.ts +12 -12
- package/dist/blocks/banking/index.d.ts +3 -3
- package/dist/blocks/banking/index.js +1 -1
- package/dist/blocks/billable-time/index.d.ts +3 -3
- package/dist/blocks/billing/index.d.ts +6 -6
- package/dist/blocks/bookings/index.d.ts +3 -3
- package/dist/blocks/bulk/index.d.ts +4 -4
- package/dist/blocks/calendar/index.d.ts +3 -3
- package/dist/blocks/care/index.d.ts +30 -30
- package/dist/blocks/care/index.js +4 -4
- package/dist/blocks/care-plans/index.d.ts +6 -6
- package/dist/blocks/care-plans/index.js +2 -2
- package/dist/blocks/cases/index.d.ts +5 -5
- package/dist/blocks/catalog/index.d.ts +4 -4
- package/dist/blocks/channels/index.d.ts +7 -7
- package/dist/blocks/clinical-decision-support/index.d.ts +4 -4
- package/dist/blocks/cms/index.d.ts +7 -7
- package/dist/blocks/cms/index.js +2 -2
- package/dist/blocks/collaboration/index.d.ts +8 -8
- package/dist/blocks/collaboration/index.js +2 -2
- package/dist/blocks/collections/index.d.ts +6 -6
- package/dist/blocks/comments/index.d.ts +5 -5
- package/dist/blocks/comments/index.js +2 -2
- package/dist/blocks/commerce/index.d.ts +7 -7
- package/dist/blocks/commerce/index.js +2 -2
- package/dist/blocks/commissions/index.d.ts +5 -5
- package/dist/blocks/compliance/index.d.ts +5 -5
- package/dist/blocks/connectors/index.d.ts +4 -4
- package/dist/blocks/consents/index.d.ts +5 -5
- package/dist/blocks/contacts/index.d.ts +5 -5
- package/dist/blocks/content/index.d.ts +4 -4
- package/dist/blocks/contracts/index.d.ts +6 -6
- package/dist/blocks/courses/index.d.ts +5 -5
- package/dist/blocks/created-by/index.d.ts +3 -3
- package/dist/blocks/crm/index.d.ts +18 -18
- package/dist/blocks/crm/index.js +3 -3
- package/dist/blocks/custom-fields/index.d.ts +2 -2
- package/dist/blocks/dam/index.d.ts +6 -6
- package/dist/blocks/dam/index.js +2 -2
- package/dist/blocks/data-lifecycle/index.d.ts +3 -3
- package/dist/blocks/deadlines/index.d.ts +193 -0
- package/dist/blocks/deadlines/index.js +159 -0
- package/dist/blocks/deals/index.d.ts +3 -3
- package/dist/blocks/dispatch/index.d.ts +4 -4
- package/dist/blocks/document-templates/index.d.ts +23 -52
- package/dist/blocks/document-templates/index.js +17 -17
- package/dist/blocks/documents/index.d.ts +4 -4
- package/dist/blocks/domains/index.d.ts +6 -6
- package/dist/blocks/donations/index.d.ts +6 -6
- package/dist/blocks/drive/index.d.ts +6 -6
- package/dist/blocks/drive/index.js +3 -3
- package/dist/blocks/e-prescribing/index.d.ts +4 -4
- package/dist/blocks/employees/index.d.ts +3 -3
- package/dist/blocks/enrichment/index.d.ts +3 -3
- package/dist/blocks/enrollments/index.d.ts +4 -4
- package/dist/blocks/entitlements/index.d.ts +4 -4
- package/dist/blocks/events/index.d.ts +5 -5
- package/dist/blocks/expenses/index.d.ts +5 -5
- package/dist/blocks/field-history/index.d.ts +3 -3
- package/dist/blocks/filespace/index.d.ts +9 -9
- package/dist/blocks/filespace/index.js +3 -3
- package/dist/blocks/finance/index.d.ts +6 -6
- package/dist/blocks/finance/index.js +3 -3
- package/dist/blocks/flags/index.d.ts +5 -5
- package/dist/blocks/forecasts/index.d.ts +3 -3
- package/dist/blocks/forms/index.d.ts +4 -4
- package/dist/blocks/funding/index.d.ts +5 -5
- package/dist/blocks/goals/index.d.ts +3 -3
- package/dist/blocks/governance/index.d.ts +5 -5
- package/dist/blocks/guests/index.d.ts +3 -3
- package/dist/blocks/hiring/index.d.ts +3 -3
- package/dist/blocks/identities/index.d.ts +5 -5
- package/dist/blocks/imports/index.d.ts +6 -6
- package/dist/blocks/inbox/index.d.ts +10 -10
- package/dist/blocks/inbox/index.js +1 -1
- package/dist/blocks/incidents/index.d.ts +5 -5
- package/dist/blocks/index.d.ts +21 -19
- package/dist/blocks/index.js +1 -1
- package/dist/blocks/inspections/index.d.ts +6 -6
- package/dist/blocks/inventory/index.d.ts +3 -3
- package/dist/blocks/inventory/index.js +1 -1
- package/dist/blocks/invoices/index.d.ts +6 -6
- package/dist/blocks/invoices/index.js +1 -1
- package/dist/blocks/knowledge/index.d.ts +3 -3
- package/dist/blocks/lead-scoring/index.d.ts +4 -4
- package/dist/blocks/learning/index.d.ts +5 -5
- package/dist/blocks/leases/index.d.ts +6 -6
- package/dist/blocks/leave/index.d.ts +3 -3
- package/dist/blocks/ledger/index.d.ts +6 -6
- package/dist/blocks/legal-entities/index.d.ts +6 -6
- package/dist/blocks/lims/index.d.ts +6 -6
- package/dist/blocks/mail-sync/index.d.ts +5 -5
- package/dist/blocks/maintenance/index.d.ts +4 -4
- package/dist/blocks/manufacturing/index.d.ts +6 -6
- package/dist/blocks/medications/index.d.ts +4 -4
- package/dist/blocks/meetings/index.d.ts +5 -5
- package/dist/blocks/memberships/index.d.ts +3 -3
- package/dist/blocks/memory/index.d.ts +4 -4
- package/dist/blocks/messaging/index.d.ts +11 -11
- package/dist/blocks/messaging/index.js +1 -1
- package/dist/blocks/metrics/index.d.ts +6 -6
- package/dist/blocks/mfa/index.d.ts +2 -2
- package/dist/blocks/moderation/index.d.ts +7 -7
- package/dist/blocks/notifications/index.d.ts +10 -10
- package/dist/blocks/numbering/index.d.ts +1 -1
- package/dist/blocks/oauth-server/index.d.ts +5 -5
- package/dist/blocks/observations/index.d.ts +5 -5
- package/dist/blocks/onboarding/index.d.ts +3 -3
- package/dist/blocks/option-sets/index.d.ts +183 -0
- package/dist/blocks/option-sets/index.js +188 -0
- package/dist/blocks/orders/index.d.ts +4 -4
- package/dist/blocks/orders/index.js +1 -1
- package/dist/blocks/organizations/index.d.ts +4 -4
- package/dist/blocks/outbox/index.d.ts +4 -4
- package/dist/blocks/passes/index.d.ts +4 -4
- package/dist/blocks/payroll-export/index.d.ts +4 -4
- package/dist/blocks/payroll-export/index.js +1 -1
- package/dist/blocks/people/index.d.ts +8 -8
- package/dist/blocks/people/index.js +1 -1
- package/dist/blocks/periods/index.d.ts +5 -5
- package/dist/blocks/permissions/index.d.ts +7 -7
- package/dist/blocks/pipelines/index.d.ts +3 -3
- package/dist/blocks/pipelines/index.js +1 -1
- package/dist/blocks/posts/index.d.ts +6 -6
- package/dist/blocks/procurement/index.d.ts +6 -6
- package/dist/blocks/procurement/index.js +3 -3
- package/dist/blocks/profiles/index.d.ts +3 -3
- package/dist/blocks/profiles/index.js +1 -1
- package/dist/blocks/projects/index.d.ts +8 -8
- package/dist/blocks/projects/index.js +2 -2
- package/dist/blocks/promotions/index.d.ts +3 -3
- package/dist/blocks/prompts/index.d.ts +4 -4
- package/dist/blocks/push/index.d.ts +7 -7
- package/dist/blocks/qualifications/index.d.ts +4 -4
- package/dist/blocks/queue/index.d.ts +5 -5
- package/dist/blocks/quotes/index.d.ts +5 -5
- package/dist/blocks/quotes/index.js +2 -2
- package/dist/blocks/rank/index.d.ts +4 -4
- package/dist/blocks/reactions/index.d.ts +6 -6
- package/dist/blocks/recruiting/index.d.ts +5 -5
- package/dist/blocks/referrals/index.d.ts +5 -5
- package/dist/blocks/relations/index.d.ts +7 -7
- package/dist/blocks/reminders/index.d.ts +1 -1
- package/dist/blocks/reviews/index.d.ts +5 -5
- package/dist/blocks/rfqs/index.d.ts +4 -4
- package/dist/blocks/risks/index.d.ts +6 -6
- package/dist/blocks/saas/index.d.ts +14 -14
- package/dist/blocks/saas/index.js +1 -1
- package/dist/blocks/sales/index.d.ts +1 -1
- package/dist/blocks/sales/index.js +1 -1
- package/dist/blocks/saved-views/index.d.ts +6 -6
- package/dist/blocks/scheduling/index.d.ts +6 -6
- package/dist/blocks/scores/index.d.ts +6 -6
- package/dist/blocks/search/index.d.ts +5 -5
- package/dist/blocks/security-events/index.d.ts +7 -7
- package/dist/blocks/segments/index.d.ts +4 -4
- package/dist/blocks/sequences/index.d.ts +5 -5
- package/dist/blocks/service/index.d.ts +8 -8
- package/dist/blocks/service/index.js +1 -1
- package/dist/blocks/service-accounts/index.d.ts +5 -5
- package/dist/blocks/sessions/index.d.ts +4 -4
- package/dist/blocks/settings/index.d.ts +4 -4
- package/dist/blocks/share-links/index.d.ts +1 -1
- package/dist/blocks/shifts/index.d.ts +4 -4
- package/dist/blocks/shipments/index.d.ts +32 -8
- package/dist/blocks/shipments/index.js +23 -0
- package/dist/blocks/signatures/index.d.ts +3 -3
- package/dist/blocks/signing-keys/index.d.ts +3 -3
- package/dist/blocks/sla/index.d.ts +3 -3
- package/dist/blocks/sso/index.d.ts +6 -6
- package/dist/blocks/state-machine/index.d.ts +2 -2
- package/dist/blocks/subjects/index.d.ts +7 -7
- package/dist/blocks/support/index.d.ts +6 -6
- package/dist/blocks/support/index.js +2 -2
- package/dist/blocks/tags/index.d.ts +3 -3
- package/dist/blocks/tasks/index.d.ts +5 -5
- package/dist/blocks/tasks/index.js +1 -1
- package/dist/blocks/tax/index.d.ts +4 -4
- package/dist/blocks/tax/index.js +1 -1
- package/dist/blocks/teams/index.d.ts +1 -1
- package/dist/blocks/templates/index.d.ts +18 -8
- package/dist/blocks/templates/index.js +6 -1
- package/dist/blocks/tills/index.d.ts +5 -5
- package/dist/blocks/time-tracking/index.d.ts +3 -3
- package/dist/blocks/timeline/index.d.ts +2 -2
- package/dist/blocks/trash/index.d.ts +3 -3
- package/dist/blocks/undo/index.d.ts +4 -4
- package/dist/blocks/updated-at/index.d.ts +3 -3
- package/dist/blocks/usage/index.d.ts +4 -4
- package/dist/blocks/vercel-marketplace/index.d.ts +5 -5
- package/dist/blocks/versions/index.d.ts +2 -2
- package/dist/blocks/versions/index.js +1 -1
- package/dist/blocks/waitlist/index.d.ts +5 -5
- package/dist/blocks/warehouse/index.d.ts +5 -5
- package/dist/blocks/webhooks/index.d.ts +13 -13
- package/dist/blocks/workflow-editor/index.d.ts +9 -9
- package/dist/blocks/workflows/index.d.ts +7 -7
- package/dist/{blocks-EFj0duwB.d.ts → blocks-2HFgUcqG.d.ts} +196 -32
- package/dist/{bookings-DetPC3Dw.d.ts → bookings-CBRjx_ZD.d.ts} +3 -3
- package/dist/{bucket-CUw0p3qM.d.ts → bucket-DJu58KBb.d.ts} +1 -1
- package/dist/{cache-tags-TT8h2zMg.d.ts → cache-tags-CGaOtjgV.d.ts} +2 -2
- package/dist/{care-plans-D5B4oqQC.d.ts → care-plans-pCvNs7-a.d.ts} +2 -2
- package/dist/{care-plans-sql-CNMF3H9k.js → care-plans-sql-CNs5Mpql.js} +1 -1
- package/dist/{carrier-DOAreMbT.d.ts → carrier-DaIG8Q4x.d.ts} +12 -0
- package/dist/chat-sdk/index.d.ts +6 -6
- package/dist/claims/index.d.ts +6 -6
- package/dist/cli/{add-C3yGPSQS.js → add-BnYh-Kpy.js} +12 -12
- package/dist/cli/add-D0TUMxXn.js +1 -0
- package/dist/cli/{add-DlucpPCL.js → add-LvxZ-JNB.js} +2 -2
- package/dist/cli/{app-table-files-CC5n8Si8.js → app-table-files-7M0I9LaE.js} +3 -3
- package/dist/cli/{app-tables-C-Rk_GnI.js → app-tables-BfWPWiOJ.js} +2 -2
- package/dist/cli/{backfill-DbqA8coR.js → backfill-i0Tx24Sa.js} +3 -3
- package/dist/cli/bin.js +1 -1
- package/dist/cli/{blocks-BBBpNbQD.js → blocks-C_7ioBdJ.js} +1 -1
- package/dist/cli/{blocks-BFlOktiM.js → blocks-X_eD_t_f.js} +1 -1
- package/dist/cli/{cache-BgNWPD9a.js → cache-D98rjB1C.js} +17 -4
- package/dist/cli/{codemod-B4DpCiqX.js → codemod-j1nCkgA5.js} +1 -1
- package/dist/cli/{config-FN5Cp861.js → config-DdkxiGjH.js} +7 -0
- package/dist/cli/{config-U32Vo0h6.js → config-DmjFp8jY.js} +1 -1
- package/dist/cli/{content-mapper-BaJhpTQA.js → content-mapper-UsLt4y0J.js} +2 -2
- package/dist/cli/{db-T8u160uM.js → db-B54TQ_iX.js} +2 -2
- package/dist/cli/{doctor-Dnq5J_p_.js → doctor-BYJM72wi.js} +34 -20
- package/dist/cli/{gen-Bf9cVgpR.js → gen-D47t5jj3.js} +14 -14
- package/dist/cli/index.d.ts +3 -1
- package/dist/cli/index.js +7 -7
- package/dist/cli/{init-_IFg5fe6.js → init-CAWeLXCs.js} +10 -10
- package/dist/cli/{live-pq1yvvsl.js → live-DNd8MMNk.js} +2 -2
- package/dist/cli/{mcp-YD0Ap6ok.js → mcp-BUs7M6fq.js} +2 -2
- package/dist/cli/{metadata-CfauXPW0.js → metadata-UwEYCntC.js} +3 -3
- package/dist/cli/{migrate-DWCu2Nny.js → migrate-D-GzXR4D.js} +1 -1
- package/dist/cli/{migration-safety-rjlsDMDU.js → migration-safety-Cg9jf2s-.js} +2 -2
- package/dist/cli/{migrations-BRCqeu8k.js → migrations-Bhcf7MHM.js} +2 -2
- package/dist/cli/{module-migration-BpptcXiB.js → module-migration-BJaOdOWy.js} +2 -2
- package/dist/cli/powersync-Bn-u0TGP.js +1 -0
- package/dist/cli/{powersync-DsbJBuTR.js → powersync-DQKdjG_K.js} +3 -3
- package/dist/cli/{print-A9UGTj_t.js → print-B1onZWRG.js} +2 -2
- package/dist/cli/{providers-MlTm8nMs.js → providers-M7s8btf1.js} +1 -1
- package/dist/cli/{prune-workflows-B6sqjrR0.js → prune-workflows-BiRF1YBZ.js} +3 -3
- package/dist/cli/{remove-BpY-E_l4.js → remove-BHyzqWNm.js} +6 -6
- package/dist/cli/{render-8qD7j0se.js → render-DDCy_0V_.js} +20 -10
- package/dist/cli/{run-DHRA46qf.js → run-Csm1-Uto.js} +35 -35
- package/dist/cli/{run-Dl1TZGsM.js → run-DDUBMkbN.js} +9 -9
- package/dist/cli/seed-BxjjQ3OO.js +1 -0
- package/dist/cli/{seed-BgpovbwF.js → seed-kCLEYSOH.js} +2 -2
- package/dist/cli/{shared-B77Q9x0E.js → shared-Cv22MEAO.js} +1 -1
- package/dist/cli/{snapshot-_roTbSZM.js → snapshot-9xnSt525.js} +71 -7
- package/dist/cli/{source-BseR3sy9.js → source-B_miugrh.js} +1 -1
- package/dist/cli/{source-args-DC8snM7e.js → source-args-C3_mMci3.js} +1 -1
- package/dist/cli/{spec-n6QRlBOJ.js → spec-BeAgQ-of.js} +1 -1
- package/dist/cli/{spec-Ct3i4drt.js → spec-dYLJbr9J.js} +2 -2
- package/dist/cli/{sql-layout-D_fJsw3B.js → sql-layout-3YU4941N.js} +2 -2
- package/dist/cli/{sync-DqBQi0QQ.js → sync-Bfwk4Ldc.js} +4 -4
- package/dist/cli/{upgrade-y3Iv4wl8.js → upgrade-BMrkzAcD.js} +5 -5
- package/dist/cli/{upgrade-MRqrFaO1.js → upgrade-DRvMFW2T.js} +2 -2
- package/dist/cli/{version-CiE6Pt0K.js → version-BXjNETWS.js} +1 -1
- package/dist/client/index.d.ts +6 -6
- package/dist/client/native/index.d.ts +5 -5
- package/dist/{clinical-decision-support-C18qtFj-.d.ts → clinical-decision-support-CMAg066a.d.ts} +3 -3
- package/dist/{cloud-event-SAA1PEvA.d.ts → cloud-event-Dj2V1lQw.d.ts} +1 -1
- package/dist/{compiler-70Fl9dnF.d.ts → compiler-BSHKt-d2.d.ts} +2 -2
- package/dist/{composite-CgxTMZTK.js → composite-C4oO4i6z.js} +1 -1
- package/dist/{composite-CvlcYj8Y.d.ts → composite-Ddap_a-U.d.ts} +7 -7
- package/dist/{composite-reads-CEI-IJ5A.d.ts → composite-reads-BJ1TQ3AK.d.ts} +2 -2
- package/dist/config/index.d.ts +5 -5
- package/dist/config/index.js +4 -4
- package/dist/{config-BWYT86yp.js → config-CsX2THwJ.js} +3 -3
- package/dist/{config-B1m2PpjB.js → config-Dgl6AxKE.js} +26 -1
- package/dist/{connectors-BY81_miN.d.ts → connectors-DbxxDqyA.d.ts} +4 -4
- package/dist/{consents-BWE1N4Sn.d.ts → consents-6PofNNAB.d.ts} +3 -3
- package/dist/{contacts-DYS4GDJ-.d.ts → contacts-CDA1nZxh.d.ts} +3 -3
- package/dist/{context-DcHcHc2b.d.ts → context-DSJpfeVv.d.ts} +67 -6
- package/dist/contract/index.d.ts +9 -9
- package/dist/{contributions-DPjEWWpE.js → contributions-olp7tVYC.js} +11 -0
- package/dist/{controller-BrTPi8Po.d.ts → controller-BVee4yX8.d.ts} +1 -1
- package/dist/{conversion-t1F0y--Y.d.ts → conversion-BPkWkVoa.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 +4 -4
- package/dist/create/lite/index.js +2 -2
- package/dist/{create-blocks-CkhSm4iX.js → create-blocks-Af1utfuf.js} +20 -8
- package/dist/credentials/index.d.ts +4 -4
- package/dist/{data-engine-BcUcfW1q.d.ts → data-engine-0uVsKWaB.d.ts} +8 -4
- package/dist/{db-blocks-Dp-4qbYN.d.ts → db-blocks-CzhzWfvR.d.ts} +5 -5
- package/dist/deadlines-values-B7ArpVJU.js +127 -0
- package/dist/{define-block-B2um61Uj.d.ts → define-block-Cu67KCN1.d.ts} +48 -19
- package/dist/{document-templates-values-BnBuJB0m.js → document-templates-values-DpNB3q5K.js} +4 -1
- package/dist/{documents-C8OJO-L6.d.ts → documents-pW4DIqiC.d.ts} +3 -3
- package/dist/{drive-BSp7gloI.d.ts → drive-D008IDpI.d.ts} +5 -5
- package/dist/e-invoicing/index.d.ts +2 -2
- package/dist/{e-prescribing-09IQDtRG.d.ts → e-prescribing-W0tunICr.d.ts} +4 -4
- package/dist/edge/index.d.ts +9 -9
- package/dist/edge/index.js +3 -3
- package/dist/elysia/index.d.ts +1 -1
- package/dist/{embeddings-BXTzKGvc.d.ts → embeddings-DA6mQZKv.d.ts} +2 -2
- package/dist/{ended-U8XnT2Ta.d.ts → ended-C-w3KU-i.d.ts} +2 -2
- package/dist/{entitlements-DuNBTDsH.d.ts → entitlements-CRBZg5y2.d.ts} +2 -2
- package/dist/eve/index.d.ts +9 -9
- package/dist/{eve-BBH2T4UZ.d.ts → eve-CY8cwAtb.d.ts} +2 -2
- package/dist/events/index.d.ts +5 -5
- package/dist/{events-X-Dhu495.d.ts → events-DN9PAcjq.d.ts} +1 -1
- package/dist/{executor-Czf5tnue.d.ts → executor-CeZUCBC3.d.ts} +1 -1
- package/dist/{executor-RNhfR91D.d.ts → executor-CewY2EQK.d.ts} +4 -4
- package/dist/{executor-sziduCKN.d.ts → executor-CnU5r1HS.d.ts} +1 -1
- package/dist/expo/index.d.ts +6 -6
- package/dist/expo/index.js +2 -2
- package/dist/{extract-DvU_lPRQ.d.ts → extract-BU5w3k5s.d.ts} +5 -5
- package/dist/fhir/index.d.ts +5 -5
- package/dist/{field-errors-Mo8dzoyA.d.ts → field-errors-CjEgbjO9.d.ts} +10 -10
- package/dist/{fields-CUZVw9WB.d.ts → fields-Cy8HCOKW.d.ts} +1 -1
- package/dist/{filter-evaluate-BFBP_icy.d.ts → filter-evaluate-CgKvlbI7.d.ts} +1 -1
- package/dist/{filter-query-09B_jtdv.d.ts → filter-query-CJ3wcwqH.d.ts} +1 -1
- package/dist/{flags-3v6OMgdo.d.ts → flags-CRR5N4_s.d.ts} +2 -2
- package/dist/flags-sdk/index.d.ts +2 -2
- package/dist/{framework-BfP8NwDY.js → framework-B6jEuZLs.js} +1 -1
- package/dist/{framework-BoDTo47q.d.ts → framework-B9hr-1OW.d.ts} +8 -8
- package/dist/{funding-B5xV2Vuz.d.ts → funding-C2R7BTT_.d.ts} +4 -4
- package/dist/{gateway-iEOaTBsD.d.ts → gateway-Dwd08sBI.d.ts} +3 -3
- package/dist/h3/index.d.ts +1 -1
- package/dist/h3/v1/index.d.ts +1 -1
- package/dist/hono/index.d.ts +9 -9
- package/dist/hono/index.js +2 -2
- package/dist/{inbox-CkUbmD3t.d.ts → inbox-CnyAG7kj.d.ts} +5 -5
- package/dist/{index-bOWESOEm.d.ts → index--7HXH_H_.d.ts} +4 -4
- package/dist/{index-BFw-iTQT.d.ts → index-AmPcMT_X.d.ts} +3 -3
- package/dist/{index-BLRLF6iG.d.ts → index-BDn4Mqq0.d.ts} +6 -6
- package/dist/{index-DTqpt8XQ.d.ts → index-BOZ6AsMs.d.ts} +5 -5
- package/dist/{index-Xsu3egx_.d.ts → index-BR8ZkijS.d.ts} +8 -8
- package/dist/{index-CnQ27iFg.d.ts → index-BTl5A8Aj.d.ts} +5 -5
- package/dist/{index-C8-8-t1s.d.ts → index-BVJsz3pS.d.ts} +9 -9
- package/dist/{index-CaMHCzBp.d.ts → index-BeU2DRAI.d.ts} +2 -2
- package/dist/{index-BLpP1czF.d.ts → index-BleHtlJ6.d.ts} +7 -7
- package/dist/{index-B2zDRJMB.d.ts → index-BoCyVsCr.d.ts} +4 -4
- package/dist/{index-46Mwoxp8.d.ts → index-BvPirjfD.d.ts} +9 -9
- package/dist/{index-CT-3_fva.d.ts → index-CCmKc1hX.d.ts} +1 -1
- package/dist/{index-BGje-MeF.d.ts → index-CDEzb5bl.d.ts} +5 -5
- package/dist/{index-CNNGDSxy.d.ts → index-CKdNndE3.d.ts} +2 -2
- package/dist/{index-BPz1IGUB.d.ts → index-CaW37FHZ.d.ts} +5 -5
- package/dist/{index-Dndo_is2.d.ts → index-ChaJiMkI.d.ts} +5 -5
- package/dist/{index-PeaYXjhx.d.ts → index-D-3fZP5z.d.ts} +6 -6
- package/dist/{index-ISihFGu9.d.ts → index-D5nY5k-2.d.ts} +9 -9
- package/dist/{index-DaClvzRy.d.ts → index-D7zwaGAP.d.ts} +6 -6
- package/dist/{index-Zf3t4MuL.d.ts → index-DDDHYXtr.d.ts} +14 -14
- package/dist/{index-TNNEpcgG.d.ts → index-DJ1Uk4ff.d.ts} +6 -6
- package/dist/{index-kKkGf0_-.d.ts → index-DR4P3Lf9.d.ts} +5 -5
- package/dist/{index-C4QxQSYh.d.ts → index-DRsJvXo2.d.ts} +3 -3
- package/dist/{index-Bxu7m8vw.d.ts → index-DYzQ_PPW.d.ts} +6 -6
- package/dist/{index-YgUHItkp.d.ts → index-DZRsTCds.d.ts} +6 -6
- package/dist/{index-OHQg8Sdx.d.ts → index-DhS8Qkgj.d.ts} +5 -5
- package/dist/{index-C_Ilif3i.d.ts → index-DsA7MQwZ.d.ts} +3 -3
- package/dist/{index-s1IQy8sK.d.ts → index-DtMdKIJU.d.ts} +4 -4
- package/dist/{index-cPzs5TsD.d.ts → index-Dy-66Gne.d.ts} +1 -1
- package/dist/{index-DNdYTori.d.ts → index-Dyq6B4gZ.d.ts} +7 -7
- package/dist/{index-DLKMzlbR.d.ts → index-E_Q5L9PV.d.ts} +8 -8
- package/dist/{index-BpCBGOVF.d.ts → index-JzAR_Y7n.d.ts} +5 -5
- package/dist/{index-C3pOr989.d.ts → index-_RnZChF8.d.ts} +3 -3
- package/dist/{index-DfuF_8Ph.d.ts → index-_wr8wCe9.d.ts} +7 -7
- package/dist/{index-CV7Ibpek.d.ts → index-dMGEJLxl.d.ts} +3 -3
- package/dist/{index-BDEwjrNn.d.ts → index-ilxdL8pz.d.ts} +2 -2
- package/dist/{index-C2ilfaOF.d.ts → index-r3QZBY7z.d.ts} +5 -5
- package/dist/{index-Bdd-8C1P.d.ts → index-slG4UpF_.d.ts} +2 -2
- package/dist/{index-BMt0EVnl.d.ts → index-u8EXkOzJ.d.ts} +6 -6
- package/dist/{index-xA8WHuDE.d.ts → index-voglIa16.d.ts} +6 -6
- package/dist/index.d.ts +6 -6
- package/dist/{instances-CFXFHQMK.js → instances-BMjIO6Xu.js} +202 -10
- package/dist/{inventory-reads-BNDSYnuG.js → inventory-reads-DEw2Kbff.js} +2 -1
- package/dist/{invoices-D-j6pUMy.d.ts → invoices-DQB0pdnK.d.ts} +5 -5
- package/dist/{kit-CjmzrlVW.d.ts → kit-EFsCynmb.d.ts} +4 -4
- package/dist/{knowledge-CNG6Arug.d.ts → knowledge-vrO4Poa5.d.ts} +5 -5
- package/dist/lint/index.d.ts +1 -1
- package/dist/list/index.d.ts +3 -3
- package/dist/{list-query-CREBmVkm.d.ts → list-query-B4qI5eE8.d.ts} +3 -3
- package/dist/{manifest-D1-lCZro.d.ts → manifest-6PhMgCFi.d.ts} +6 -6
- package/dist/{manifest-C9Kn7gwK.d.ts → manifest-B17Sra5h.d.ts} +5 -5
- package/dist/{manifest-BwYOds2o.d.ts → manifest-B4CEdcH_.d.ts} +5 -5
- package/dist/{manifest-kbSJq3sR.js → manifest-BA4kiB8L.js} +1 -1
- package/dist/{manifest-09aHVu5Q.d.ts → manifest-BB3GjGa3.d.ts} +3 -3
- package/dist/{manifest-B3xj3-ew.d.ts → manifest-BE7UwezO.d.ts} +5 -5
- package/dist/{manifest-CiOcPFFy.d.ts → manifest-BMNwdO5D.d.ts} +5 -5
- package/dist/{manifest-Dy5_Rc0q.d.ts → manifest-BSvxbZH5.d.ts} +5 -5
- package/dist/{manifest-CmquAtQC.js → manifest-BV1YxozT.js} +1 -1
- package/dist/{manifest-CDK8R8Ze.d.ts → manifest-BVjhJ3Mj.d.ts} +6 -6
- package/dist/{manifest-Bc_2t9mY.d.ts → manifest-BXxSqnLS.d.ts} +4 -4
- package/dist/{manifest-dLThrKqV.d.ts → manifest-BYbt4y_O.d.ts} +5 -5
- package/dist/{manifest-jiaWr0x4.d.ts → manifest-BZL2TAB1.d.ts} +6 -6
- package/dist/{manifest-BRFen7mE.js → manifest-Bb8S2tcs.js} +1 -1
- package/dist/{manifest-a0YxYgo0.d.ts → manifest-BknZ4yQ-.d.ts} +4 -4
- package/dist/{manifest-C_ZDkBv4.d.ts → manifest-Bp0oZ3-W.d.ts} +4 -4
- package/dist/{manifest-DxPMUjhY.js → manifest-BvcIe5z_.js} +1 -1
- package/dist/{manifest-Dh3kIEzu.d.ts → manifest-Bz0EjE76.d.ts} +4 -4
- package/dist/{manifest-Dvhqz3qo.d.ts → manifest-BzsuqiQx.d.ts} +6 -6
- package/dist/{manifest-Dj7bGfoy.js → manifest-C-B9nV2m.js} +1 -1
- package/dist/{manifest-CaKVpJZM.d.ts → manifest-CBwrN4Nf.d.ts} +6 -6
- package/dist/{manifest-Bwv273Tb.d.ts → manifest-CELTce26.d.ts} +20 -8
- package/dist/{manifest-ETlyMx6o.d.ts → manifest-CGZQ9lU3.d.ts} +4 -4
- package/dist/{manifest-BUrKk2Ww.d.ts → manifest-CGcGylmw.d.ts} +2 -2
- package/dist/{manifest-C4CIOVkt.d.ts → manifest-CMNPpmWS.d.ts} +3 -3
- package/dist/{manifest-aJOA6D9w.d.ts → manifest-CMnLDDS3.d.ts} +18 -5
- package/dist/{manifest-JdAQqp5w.d.ts → manifest-CSHNTEJZ.d.ts} +8 -8
- package/dist/{manifest-D6ZukDGm.d.ts → manifest-CWj5SFuw.d.ts} +3 -3
- package/dist/{manifest-X24lr5XH.js → manifest-CXxHJ2NU.js} +1 -1
- package/dist/{manifest-DF49Pt6Q.d.ts → manifest-C_dVunWg.d.ts} +4 -4
- package/dist/{manifest-y2y5xPQC.d.ts → manifest-CaA-2HPK.d.ts} +7 -7
- package/dist/{manifest-Ccn2k0vb.d.ts → manifest-CbKgs5qA.d.ts} +4 -4
- package/dist/{manifest-XZV2sKgk.d.ts → manifest-CdD44xlg.d.ts} +4 -4
- package/dist/{manifest-CMnr9qpi.js → manifest-CeNAAHeR.js} +1 -1
- package/dist/{manifest-DBSs1jJ_.d.ts → manifest-CoFpa0dN.d.ts} +2 -2
- package/dist/{manifest-CnSZ16xc.js → manifest-CpL3pCc4.js} +1 -1
- package/dist/{manifest-H65OlXiB.js → manifest-CqJkmxrA.js} +1 -1
- package/dist/{manifest-BnFuyvL7.js → manifest-Cr9mpJDi.js} +4 -0
- package/dist/{manifest-CF-LsgEw.d.ts → manifest-D0FjVeay.d.ts} +3 -3
- package/dist/{manifest-CnkVWwAg.d.ts → manifest-D2Z_2z9-.d.ts} +4 -4
- package/dist/{manifest-0PeNUYcv.d.ts → manifest-D2d1wS7g.d.ts} +4 -4
- package/dist/{manifest-CNcJxi93.d.ts → manifest-D7mliM-d.d.ts} +4 -4
- package/dist/{manifest-D0KUPw4L.d.ts → manifest-D9P9Yhe3.d.ts} +5 -5
- package/dist/{manifest-DMTmTHBy.d.ts → manifest-DAXz8rxB.d.ts} +3 -3
- package/dist/{manifest-DpoO491p.d.ts → manifest-DG0oDOmq.d.ts} +4 -4
- package/dist/{manifest-CgCpK4Wm.d.ts → manifest-DGLrMEdB.d.ts} +7 -7
- package/dist/{manifest-COoFT2vY.d.ts → manifest-DGiswyG5.d.ts} +3 -3
- package/dist/{manifest-RAijfop2.d.ts → manifest-DIZ6chpf.d.ts} +4 -4
- package/dist/{manifest-c8mlNzOv.d.ts → manifest-DMvx2rWH.d.ts} +4 -4
- package/dist/{manifest-BdcBkznK.d.ts → manifest-DPqKZgWn.d.ts} +6 -6
- package/dist/{manifest-DyZcERh_.d.ts → manifest-DUlZ8qck.d.ts} +4 -4
- package/dist/{manifest-B5vPAt-u.d.ts → manifest-DYPVnKW_.d.ts} +8 -8
- package/dist/{manifest-Bg1swpdk.d.ts → manifest-D_VmA0aC.d.ts} +5 -5
- package/dist/{manifest-BYUIgwGb.d.ts → manifest-Dc8pNExY.d.ts} +4 -4
- package/dist/{manifest-B4HXWUh8.d.ts → manifest-Df1QDhiQ.d.ts} +8 -8
- package/dist/{manifest-BFXybbMn.d.ts → manifest-DhXoSaUC.d.ts} +3 -3
- package/dist/{manifest-Du_-0ruw.d.ts → manifest-DhpmWh55.d.ts} +5 -5
- package/dist/{manifest-CgP-MDb3.d.ts → manifest-Dk_7prKx.d.ts} +4 -4
- package/dist/{manifest-CW47rgqj.d.ts → manifest-Dl_bw4IU.d.ts} +6 -6
- package/dist/{manifest-jb384ocG.d.ts → manifest-DsuoLp-Y.d.ts} +3 -3
- package/dist/{manifest-B3YkuXKR.d.ts → manifest-DtEcJBdE.d.ts} +33 -7
- package/dist/{manifest-Cnb5QGMK.d.ts → manifest-DwCorUVJ.d.ts} +4 -4
- package/dist/{manifest-Lsz6rH3B.d.ts → manifest-DxPLHyKY.d.ts} +5 -5
- package/dist/{manifest-CazVMbdf.d.ts → manifest-Eazz96as.d.ts} +2 -2
- package/dist/{manifest-CScOn17C.js → manifest-F35IzwVM.js} +11 -3
- package/dist/{manifest-DEx8OSZK.js → manifest-IECPtdQj.js} +1 -1
- package/dist/{manifest-dlqXYOfB.d.ts → manifest-Pl5us_yz.d.ts} +6 -6
- package/dist/{manifest-pLJIrNwi.d.ts → manifest-X4analSK.d.ts} +3 -3
- package/dist/{manifest-BWh9leJI.js → manifest-_9ZFGQQm.js} +1 -1
- package/dist/{manifest-BLOufikB.d.ts → manifest-auanzyjB.d.ts} +3 -3
- package/dist/{manifest-CFFaunME.d.ts → manifest-gGFtQDJz.d.ts} +4 -4
- package/dist/{manifest-xAeOKTub.d.ts → manifest-lzwWCAYV.d.ts} +12 -12
- package/dist/{manifest-BUktyXMR.js → manifest-ok1ge1bM.js} +1 -1
- package/dist/{manifest-BpAI3Me7.js → manifest-u0q04U62.js} +2 -2
- package/dist/{manifest-BpiZFLbl.d.ts → manifest-uIIb_YLI.d.ts} +5 -5
- package/dist/{manifest-BSaRwzEH.js → manifest-vBvsSefP.js} +24 -6
- package/dist/{manifest-B3RgCccj.d.ts → manifest-xikzppm9.d.ts} +3 -3
- package/dist/{manifest-DQwFCQkG.d.ts → manifest-yKx0faak.d.ts} +4 -4
- package/dist/mapper/bin.js +6 -6
- package/dist/mcp/index.d.ts +3 -3
- package/dist/mcp/index.js +1 -1
- package/dist/mcp/sdk/index.d.ts +6 -6
- package/dist/mcp/sdk/index.js +1 -1
- package/dist/{mcp-Cu-bD9KQ.js → mcp-Br3FGtZ-.js} +1 -1
- package/dist/{medications-DSwF7lxp.d.ts → medications-0Uuwu3k2.d.ts} +4 -4
- package/dist/{messaging-BURLOg2p.d.ts → messaging-Co5bENPB.d.ts} +5 -5
- package/dist/nestjs/index.d.ts +2 -2
- package/dist/next/client/index.d.ts +1 -1
- package/dist/next/index.d.ts +27 -25
- package/dist/next/index.js +12 -8
- package/dist/node/index.d.ts +2 -2
- package/dist/{observations-CciBF6mG.d.ts → observations-ilWeRQ20.d.ts} +3 -3
- package/dist/{operations-_3oh-CEO.d.ts → operations-DKfYeS5z.d.ts} +1 -1
- package/dist/{options-CGQC7Wue.js → options-C1N8cOQU.js} +2 -1
- package/dist/{options-BxdqA2Ex.js → options-CDn2OgvY.js} +1 -0
- package/dist/{options-BTuDJ2RC.js → options-Cu6IqZ_n.js} +3 -1
- package/dist/options-DtDvpZu7.js +4 -0
- package/dist/{options-DwIoRvic.js → options-HwnZxyI3.js} +4 -1
- package/dist/{options-wBw_6uhd.js → options-Oo46IzNk.js} +2 -1
- package/dist/{orders-DBxCzU3w.d.ts → orders-CbJqNAF3.d.ts} +3 -3
- package/dist/{orders-reads-Yo9GGjdv.js → orders-reads-2ozdZx1l.js} +108 -13
- package/dist/orpc/index.d.ts +8 -8
- package/dist/orpc/index.js +1 -1
- package/dist/otel/index.d.ts +2 -2
- package/dist/otel/index.js +4 -4
- package/dist/{outbox-CThKZLSQ.d.ts → outbox-wJZ6Tc_H.d.ts} +4 -4
- package/dist/{parse-BRW-aTQQ.js → parse-CnAiiV-M.js} +1 -1
- package/dist/{payroll-export-CNji28TX.js → payroll-export-ChZY6W3w.js} +2 -2
- package/dist/{permissions-u_qqedin.d.ts → permissions-C5h1cU25.d.ts} +1 -1
- package/dist/{permissions-model-COgjsFbE.js → permissions-model-Dh9-Zzfy.js} +8 -0
- package/dist/{pool-DX5nqbLb.d.ts → pool-3kL7D5vJ.d.ts} +9 -3
- package/dist/{ports-DT5zRdYx.d.ts → ports-DvaVv_3b.d.ts} +1 -1
- package/dist/postgres/index.d.ts +4 -4
- package/dist/postgres/index.js +15 -1
- package/dist/{postgrest-DCLtVoK_.d.ts → postgrest-4vPs3cD4.d.ts} +1 -1
- package/dist/powersync/index.d.ts +9 -9
- package/dist/powersync/index.js +11 -3
- package/dist/preset/index.d.ts +4 -4
- package/dist/preset/index.js +3 -3
- package/dist/{preset--1OMwypM.js → preset-Cl3Q5ASC.js} +101 -3
- package/dist/{preview-BBA-VaEZ.d.ts → preview-Bwg7r1Lf.d.ts} +6 -6
- package/dist/{preview-Bd7ZBtf2.js → preview-CUiY7kzV.js} +2 -2
- package/dist/{project-BhE6_64F.js → project-At5wBJSS.js} +5 -5
- package/dist/{provider-AZZ755Eb.d.ts → provider-ChtwfkqL.d.ts} +1 -1
- package/dist/{push-token-hs6_Vt-I.d.ts → push-token-C6ZGE1g0.d.ts} +1 -1
- package/dist/query/index.d.ts +1 -1
- package/dist/rate-limit/index.d.ts +1 -1
- package/dist/{rate-limit-DzkFszLp.d.ts → rate-limit-5FLBVmTC.d.ts} +5 -5
- package/dist/react/index.d.ts +8 -8
- package/dist/react/index.js +1 -1
- package/dist/react/native/index.d.ts +1 -1
- package/dist/react/server.d.ts +8 -8
- package/dist/react/server.js +1 -1
- package/dist/react/session.d.ts +2 -2
- package/dist/{react-olMpD8et.js → react-C5uBAgPJ.js} +1 -1
- package/dist/react-router/index.d.ts +6 -6
- package/dist/react-router/index.js +2 -2
- package/dist/realtime/index.d.ts +6 -6
- package/dist/{record-form-Cze5j1OB.d.ts → record-form-DTncyqVH.d.ts} +1 -1
- package/dist/{recordings-CNNDKqGd.d.ts → recordings-1yDvOqM4.d.ts} +1 -1
- package/dist/records/index.d.ts +9 -9
- package/dist/{refusal-Dsn4WGbg.d.ts → refusal-nCMn-Fnw.d.ts} +3 -3
- package/dist/{resolve-NeMeUVtf.d.ts → resolve-B9Rn2M5c.d.ts} +1 -1
- package/dist/{resource-gebaumjo.d.ts → resource-BDVguZzJ.d.ts} +1 -1
- package/dist/{resource-execute-D2cJfrKu.d.ts → resource-execute-BVQQHOLb.d.ts} +2 -2
- package/dist/{resource-types-Cs1zWvrn.d.ts → resource-types-BmZx8q4a.d.ts} +4 -4
- package/dist/{resources-DyP9cP9i.d.ts → resources-Dz9pCv6I.d.ts} +2 -2
- package/dist/{respond--w7kF-Ym.d.ts → respond-OjgB7zlB.d.ts} +1 -1
- package/dist/{rows-D1WZwE8A.js → rows-C-eFWUrS.js} +1 -1
- package/dist/{sales-BCArDSEX.js → sales-BhOckhix.js} +4 -4
- package/dist/{sales-lines-C7kECFEA.d.ts → sales-lines-DZBLspUz.d.ts} +1 -1
- package/dist/{sandboxes-BD1M7bTW.d.ts → sandboxes-CjBtYDtC.d.ts} +1 -1
- package/dist/{scores-tCCJALNA.d.ts → scores-BZSIvM-v.d.ts} +5 -5
- package/dist/server/index.d.ts +27 -27
- package/dist/server/index.js +3 -3
- package/dist/{server-types-Bpxk5UWh.d.ts → server-types-Cf4eX4kr.d.ts} +32 -14
- package/dist/{session-DQ5huqEw.d.ts → session-CfOsLGD_.d.ts} +6 -6
- package/dist/{session-status-DDPrDS36.d.ts → session-status-ChvyVQgl.d.ts} +2 -2
- package/dist/{settings-eBr9PBev.d.ts → settings-BLvlPsne.d.ts} +2 -2
- package/dist/{sign-in-03gtm616.js → sign-in-qMkfifO1.js} +1 -1
- package/dist/{signers-BEYFvHJG.d.ts → signers-CPqWfc48.d.ts} +4 -4
- package/dist/{signing-keys-bI2l8FtF.d.ts → signing-keys-Vi7ieN7h.d.ts} +2 -2
- package/dist/solid/index.d.ts +10 -10
- package/dist/solid-start/index.d.ts +6 -6
- package/dist/solid-start/index.js +2 -2
- package/dist/spec/index.d.ts +2 -2
- package/dist/sql/index.d.ts +6 -6
- package/dist/sql/index.js +4 -4
- package/dist/{sql-BVUbNexh.js → sql-CdZdPqjA.js} +8226 -5159
- package/dist/sqlite/index.d.ts +3 -3
- package/dist/{sso-C1bO-vNS.d.ts → sso-C5o6-slp.d.ts} +3 -3
- package/dist/ssr/index.d.ts +4 -4
- package/dist/storage/index.d.ts +3 -3
- package/dist/streams/index.d.ts +1 -1
- package/dist/streams/resumable/index.d.ts +1 -1
- package/dist/{subject-readers-VaaoTxbd.d.ts → subject-readers-fKAdJQGu.d.ts} +2 -2
- package/dist/{subjects-BTUiakig.d.ts → subjects-C0_z3QUL.d.ts} +3 -3
- package/dist/{support-tDhEwXbu.d.ts → support-DYNFoAZ8.d.ts} +4 -4
- package/dist/{support-view-XeoLPB7S.d.ts → support-view-Dn_YTGV4.d.ts} +1 -1
- package/dist/svelte/index.d.ts +9 -9
- package/dist/sveltekit/index.d.ts +7 -7
- package/dist/sveltekit/index.js +2 -2
- package/dist/{tags-CBASI98_.d.ts → tags-BahXc6bW.d.ts} +1 -1
- package/dist/tanstack-db/index.d.ts +3 -3
- package/dist/tanstack-start/index.d.ts +6 -6
- package/dist/tanstack-start/index.js +2 -2
- package/dist/{tax-sql-0dqAt5nE.js → tax-sql-CbE1rhn-.js} +1 -1
- package/dist/{tenant-c_6qMyFI.d.ts → tenant-BTnwa5oZ.d.ts} +1 -1
- package/dist/testing/index.d.ts +34 -34
- package/dist/testing/index.js +1 -1
- package/dist/{timeline-DvZ7C5zf.d.ts → timeline-B7kBQ1gh.d.ts} +5 -5
- package/dist/{topic-fwPlelNI.d.ts → topic-hu0RP7CG.d.ts} +5 -5
- package/dist/{types-CmbztHZL.d.ts → types-BWuFVfGE.d.ts} +1 -1
- package/dist/{types-D5UNIbOQ.d.ts → types-BlBju7Wa.d.ts} +7 -0
- package/dist/{types-DLIYrsqE.d.ts → types-CJG0BntG.d.ts} +5 -5
- package/dist/{types-CmlZw_7N.d.ts → types-CTb0Uroz.d.ts} +5 -5
- package/dist/{types-2DVnlJqQ.d.ts → types-CqTqrrBK.d.ts} +7 -7
- package/dist/{types-Cwai2qe4.d.ts → types-DvglaQ_D.d.ts} +2 -2
- package/dist/{types-B1KabfWa.d.ts → types-M37hpCz_.d.ts} +3 -3
- package/dist/{types-BGbfmnVI.d.ts → types-hL1lelUA.d.ts} +4 -4
- package/dist/{undo-mU6lgk9c.d.ts → undo-CvwsPX4q.d.ts} +2 -2
- package/dist/{usage-Dz8KVrkx.d.ts → usage-D4Fho6t9.d.ts} +4 -4
- package/dist/{vault-CnTW3EtC.d.ts → vault-CgioaiiD.d.ts} +2 -2
- package/dist/vercel-connect/index.d.ts +1 -1
- package/dist/vercel-sandbox/index.d.ts +2 -2
- package/dist/{verify-CupKPoHW.d.ts → verify-ClbMJkEg.d.ts} +2 -2
- package/dist/{view-B44a2jfA.d.ts → view-CVXHgadI.d.ts} +1 -1
- package/dist/vue/index.d.ts +10 -10
- package/dist/{watch-topic-D4AzYs9E.d.ts → watch-topic-C_rGHxIA.d.ts} +1 -1
- package/dist/webmcp/index.d.ts +2 -2
- package/dist/webmcp/index.js +1 -1
- package/dist/workflow-sdk/builder/index.d.ts +3 -3
- package/dist/workflow-sdk/index.d.ts +1 -1
- package/dist/workflow-sdk/world/index.d.ts +1 -1
- package/dist/workflow-sdk/world/index.js +1 -1
- package/dist/{workflow-sdk-C-rVKZTS.js → workflow-sdk-DIyX4ssm.js} +1 -1
- package/dist/{workflow-sdk-MxXG817H.d.ts → workflow-sdk-JVTwhzYJ.d.ts} +3 -3
- package/dist/{workflows-De-yy-cC.d.ts → workflows-DUgxuv2X.d.ts} +3 -3
- package/dist/yjs/index.d.ts +2 -2
- package/package.json +14 -1
- package/schemas/config-v1.json +108 -4
- package/schemas/snapshot-v2.json +6 -0
- package/skills/better-supabase-api/references/powersync.md +1 -0
- package/dist/cli/add-C4B2wdfz.js +0 -1
- package/dist/cli/powersync-BejxIowk.js +0 -1
- package/dist/cli/seed-CRD1tYPA.js +0 -1
|
@@ -0,0 +1,127 @@
|
|
|
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 };
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
/// <reference lib="esnext.temporal" />
|
|
2
2
|
import { T as ErrorMapper, b as DbError, f as Result, t as AsyncResult } from "./result-CMqlHv82.js";
|
|
3
|
-
import { D as BlockEventPattern, Dt as Events, Ot as MergedEventMap, T as BlockEvent, Tt as EventMapOf, k as BlockEventsMatching, o as EventHub, wt as EventMap } from "./events-
|
|
4
|
-
import {
|
|
5
|
-
import { n as BlockOptions, r as BlockTemporalOptions, s as BlockTenantOptions } from "./block-helpers-
|
|
6
|
-
import { a as BlockTransportMiddleware, n as BlockHooks } from "./block-hooks-
|
|
7
|
-
import { i as RpcClient, r as DbTransportSource, t as BlockTransport } from "./block-transport-
|
|
8
|
-
import { n as BlockInstanceSurface } from "./db-blocks-
|
|
9
|
-
import { i as CredentialRef, o as CredentialToken, r as CredentialProvider } from "./provider-
|
|
10
|
-
import { i as EventSink } from "./cloud-event-
|
|
11
|
-
import { A as TtlPreset, C as TransformOptions, j as StorageApi, l as ImageTransform } from "./bucket-
|
|
3
|
+
import { D as BlockEventPattern, Dt as Events, Ot as MergedEventMap, T as BlockEvent, Tt as EventMapOf, k as BlockEventsMatching, o as EventHub, wt as EventMap } from "./events-DN9PAcjq.js";
|
|
4
|
+
import { Wt as BlockOptionsSchema, m as InstanceKeys, p as EntityConfig } from "./blocks-2HFgUcqG.js";
|
|
5
|
+
import { n as BlockOptions, r as BlockTemporalOptions, s as BlockTenantOptions } from "./block-helpers-rTsuHt6v.js";
|
|
6
|
+
import { a as BlockTransportMiddleware, n as BlockHooks } from "./block-hooks-FM9t7ol_.js";
|
|
7
|
+
import { i as RpcClient, r as DbTransportSource, t as BlockTransport } from "./block-transport-CP4wAHU-.js";
|
|
8
|
+
import { n as BlockInstanceSurface } from "./db-blocks-CzhzWfvR.js";
|
|
9
|
+
import { i as CredentialRef, o as CredentialToken, r as CredentialProvider } from "./provider-ChtwfkqL.js";
|
|
10
|
+
import { i as EventSink } from "./cloud-event-Dj2V1lQw.js";
|
|
11
|
+
import { A as TtlPreset, C as TransformOptions, j as StorageApi, l as ImageTransform } from "./bucket-DJu58KBb.js";
|
|
12
12
|
import { t as StandardSchemaV1$1 } from "./standard-CiOWpeZL.js";
|
|
13
13
|
import { r as FieldsOf } from "./block-fields-Cq2MlJJD.js";
|
|
14
14
|
import { n as Logger } from "./logger-0LfhvwE4.js";
|
|
15
|
-
import { f as AiFiles, y as UploadClaimStorage } from "./types-
|
|
16
|
-
import { t as Author } from "./block-authors-
|
|
17
|
-
import { et as RecordRef } from "./types-
|
|
18
|
-
import { g as Workflows } from "./workflows-
|
|
15
|
+
import { f as AiFiles, y as UploadClaimStorage } from "./types-M37hpCz_.js";
|
|
16
|
+
import { t as Author } from "./block-authors-BkayxCWo.js";
|
|
17
|
+
import { et as RecordRef } from "./types-BlBju7Wa.js";
|
|
18
|
+
import { g as Workflows } from "./workflows-DUgxuv2X.js";
|
|
19
19
|
import { i as FieldSpec, n as TableSchema, o as TableSchemaSpec } from "./table-schema-CwXg7oBz.js";
|
|
20
20
|
import { StandardSchemaV1 } from "@standard-schema/spec";
|
|
21
21
|
/**
|
|
@@ -559,9 +559,19 @@ declare function blockNames(naming: BlockNaming): BlockTransportMiddleware;
|
|
|
559
559
|
/** The TypeScript type of one SQL column type, by its leading type name. */
|
|
560
560
|
type BaseOf<T extends string> = T extends `${infer Head} not null${string}` ? BaseOf<Head> : T extends `${infer Head} default${string}` ? BaseOf<Head> : T extends `${infer Head}[]` ? BaseOf<Head>[] : Lowercase<T> extends "text" | "varchar" | "citext" | "uuid" | "date" | "timestamptz" | "timestamp" | "time" | "interval" | "int8" | "bigint" | "numeric" | "money" ? string : Lowercase<T> extends "int2" | "int4" | "integer" | "smallint" | "float4" | "float8" | "real" | "double precision" ? number : Lowercase<T> extends "boolean" | "bool" ? boolean : unknown;
|
|
561
561
|
type Required_<T extends string> = Lowercase<T> extends `${string}not null${string}` ? true : false;
|
|
562
|
+
type Defaulted<T extends string> = Lowercase<T> extends `${string} default${string}` ? true : false;
|
|
563
|
+
/** A key the caller must send: `not null` and no database default. */
|
|
564
|
+
type NeededOnInput<T extends string> = Required_<T> extends true ? Defaulted<T> extends true ? false : true : false;
|
|
562
565
|
/**
|
|
563
|
-
* What `columnsSchema`
|
|
564
|
-
* other column is optional
|
|
566
|
+
* What `columnsSchema` accepts: a column with `not null` and no `default` is a
|
|
567
|
+
* required key. Any other column is optional, because the database fills a
|
|
568
|
+
* default and a nullable column may be `null`.
|
|
569
|
+
*/
|
|
570
|
+
type ColumnsInput<C extends Readonly<Record<string, string>>> = { readonly [K in keyof C as NeededOnInput<C[K]> extends true ? K : never]: BaseOf<C[K]>; } & { readonly [K in keyof C as NeededOnInput<C[K]> extends true ? never : K]?: BaseOf<C[K]> | null; };
|
|
571
|
+
/**
|
|
572
|
+
* What `columnsSchema` returns: a column with `not null` is a required key
|
|
573
|
+
* (also when it has a default), any other column is optional and may be
|
|
574
|
+
* `null`.
|
|
565
575
|
*/
|
|
566
576
|
type ColumnsOutput<C extends Readonly<Record<string, string>>> = { readonly [K in keyof C as Required_<C[K]> extends true ? K : never]: BaseOf<C[K]>; } & { readonly [K in keyof C as Required_<C[K]> extends true ? never : K]?: BaseOf<C[K]> | null; };
|
|
567
577
|
/**
|
|
@@ -573,7 +583,7 @@ type ColumnsOutput<C extends Readonly<Record<string, string>>> = { readonly [K i
|
|
|
573
583
|
* required key and the others may be missing or `null`. Keys the config doesn't
|
|
574
584
|
* list pass through.
|
|
575
585
|
*/
|
|
576
|
-
declare function columnsSchema<const C extends Readonly<Record<string, string>>>(columns: C): StandardSchemaV1$1<
|
|
586
|
+
declare function columnsSchema<const C extends Readonly<Record<string, string>>>(columns: C): StandardSchemaV1$1<ColumnsInput<C>, ColumnsOutput<C>>;
|
|
577
587
|
/**
|
|
578
588
|
* One block's entry in `blocks.generated.ts`, which `better-supabase gen`
|
|
579
589
|
* writes from the `blocks` config, so the SQL and TypeScript halves of a block
|
|
@@ -637,7 +647,7 @@ declare function generatedOptions<const E extends GeneratedBlock>(entry: E): E["
|
|
|
637
647
|
type GeneratedFields<E extends GeneratedBlock> = E extends {
|
|
638
648
|
readonly columns: infer C extends Readonly<Record<string, string>>;
|
|
639
649
|
} ? {
|
|
640
|
-
readonly fields: StandardSchemaV1$1<
|
|
650
|
+
readonly fields: StandardSchemaV1$1<ColumnsInput<C>, ColumnsOutput<C>>;
|
|
641
651
|
} : unknown;
|
|
642
652
|
/**
|
|
643
653
|
* A realtime topic template from `blocks.generated.ts` with its placeholders
|
|
@@ -958,6 +968,13 @@ interface Attachment {
|
|
|
958
968
|
/** Set by `confirm()` once the object exists. */
|
|
959
969
|
readonly uploadedAt: Temporal.Instant | undefined;
|
|
960
970
|
readonly scannedAt: Temporal.Instant | undefined;
|
|
971
|
+
/**
|
|
972
|
+
* The SHA-256 of the file's bytes (lowercase hex), recorded by the scan step
|
|
973
|
+
* from the stored object. A client never supplies it.
|
|
974
|
+
*/
|
|
975
|
+
readonly sha256: string | undefined;
|
|
976
|
+
/** When the scan step computed `sha256`. */
|
|
977
|
+
readonly hashVerifiedAt: Temporal.Instant | undefined;
|
|
961
978
|
/** The id of the file's document type, from `documentTypes`. */
|
|
962
979
|
readonly documentTypeId: string | undefined;
|
|
963
980
|
/** Where the record came from: an import source or one of `options.sources`. */
|
|
@@ -1033,6 +1050,8 @@ interface AttachmentVersion {
|
|
|
1033
1050
|
readonly uploadedBy: string | undefined;
|
|
1034
1051
|
readonly uploadedAt: Temporal.Instant | undefined;
|
|
1035
1052
|
readonly scannedAt: Temporal.Instant | undefined;
|
|
1053
|
+
readonly sha256: string | undefined;
|
|
1054
|
+
readonly hashVerifiedAt: Temporal.Instant | undefined;
|
|
1036
1055
|
/** When the version stopped being the current one. */
|
|
1037
1056
|
readonly archivedAt: Temporal.Instant;
|
|
1038
1057
|
}
|
|
@@ -2069,6 +2088,16 @@ interface BlockClientOptions extends Omit<CreateBlocksOptions, "transport" | "au
|
|
|
2069
2088
|
*/
|
|
2070
2089
|
readonly instance?: string;
|
|
2071
2090
|
}
|
|
2091
|
+
/** Options for `BlockSet.serviceBlocks`. */
|
|
2092
|
+
interface ServiceBlocksOptions<B extends BlockMap = BlockMap> extends Omit<BlockClientOptions, "transport" | "config" | "instance"> {
|
|
2093
|
+
/**
|
|
2094
|
+
* Options for single blocks, keyed like the set: a tenant for the comments
|
|
2095
|
+
* copy, the Stripe and account resolvers for billing, a TTL for flags, or the
|
|
2096
|
+
* recorder of the audit log. Each one is what `block.with(options)` takes and
|
|
2097
|
+
* applies over the shared options, for this call only.
|
|
2098
|
+
*/
|
|
2099
|
+
readonly blocks?: { readonly [K in CreatedKeys<B> & string]?: Parameters<B[K]["with"]>[0]; };
|
|
2100
|
+
}
|
|
2072
2101
|
/** Blocks keyed by the name the app gives each one. */
|
|
2073
2102
|
type BlockMap = Readonly<Record<string, AnyBlock>>;
|
|
2074
2103
|
type CreatedKeys<B extends BlockMap> = { readonly [K in keyof B]: B[K]["create"] extends undefined ? never : K; }[keyof B];
|
|
@@ -2145,7 +2174,7 @@ interface BlockSet<B extends BlockMap, M extends EventMap> {
|
|
|
2145
2174
|
* const { sessions } = blockSet.serviceBlocks(server.admin().$client);
|
|
2146
2175
|
* ```
|
|
2147
2176
|
*/
|
|
2148
|
-
serviceBlocks(admin: RpcClient, options?:
|
|
2177
|
+
serviceBlocks(admin: RpcClient, options?: ServiceBlocksOptions<B>): BlockSetClientMap<B>;
|
|
2149
2178
|
/**
|
|
2150
2179
|
* Calls `fn` in the API schema the blocks are wrapped in (`sql.api`), as
|
|
2151
2180
|
* `db`'s caller. The error is a `DbError` in the result.
|
|
@@ -2694,4 +2723,4 @@ type ClientOf<B> = B extends {
|
|
|
2694
2723
|
} ? Client : never;
|
|
2695
2724
|
/** Describes a block with one manifest (ADR 0029). */
|
|
2696
2725
|
declare function defineBlock<const Name extends string, Options = BlockContext, Client = unknown, M extends EventMap = Nothing, const C extends BlockConsumes = Nothing, P extends PortName = never, const R extends AnyRecordBinding | undefined = undefined>(definition: BlockDefinition<Name, Options, Client, M, C, P, R>): Block<Name, Options, Client, M, C, P, R>;
|
|
2697
|
-
export { BlockMap as $,
|
|
2726
|
+
export { BlockMap as $, AccessRequestStatus as $n, PowerSyncGenConfig as $r, createCustomFields as $t, RecordBindingPermissions as A, Attachment as An, PresetAccess as Ar, MailListInput as At, recordBindingWrite as B, AttachmentVersion as Bn, PresetTenantName as Br, mailProviderOf as Bt, BlockWorker as C, createActionRegistry as Ci, FormScoring as Cn, EntityRename as Cr, MailThread as Ct, RecordBindingData as D, formDefinitionProblems as Dn, PRESET_FRAMEWORKS as Dr, HttpMailOptions as Dt, RecordBinding as E, UNSCORED_FIELD_TYPES as En, DEFAULT_CONVENTIONS as Er, messageArg as Et, RecordBindingWriteOutput as F, AttachmentReplacement as Fn, PresetFramework as Fr, MailSendInput as Ft, EntitySchema as G, attachmentVersionOf as Gn, DoctorConfig as Gr, CustomFields as Gt, recordRowInput as H, AttachmentsOptions as Hn, integrationsForFramework as Hr, outlookMail as Ht, RecordBindingWrites as I, AttachmentStatus as In, PresetInstance as Ir, MailSent as It, entitySchema as J, DocumentType as Jn, GenTask as Jr, FieldDefinitionDetail as Jt, EntitySchemaSpec as K, createAttachments as Kn, EnvFileConfig as Kr, CustomFieldsOptions as Kt, RecordRowInput as L, AttachmentStorage as Ln, PresetPlatforms as Lr, buildMime as Lt, RecordBindingWrite as M, AttachmentDownload as Mn, PresetField as Mr, MailProvider as Mt, RecordBindingWriteInput as N, AttachmentImageUrlOptions as Nn, PresetFieldKey as Nr, MailProviderMessage as Nt, RecordBindingDefinition as O, formSchema as On, PRESET_TENANT_NAMES as Or, MailAddress as Ot, RecordBindingWriteName as P, AttachmentImages as Pn, PresetFieldValue as Pr, MailReplyTarget as Pt, BlockContext as Q, AccessRequestListOptions as Qn, OpenApiConfig as Qr, SetFieldInput as Qt, TimelineItem as R, AttachmentStorageStatus as Rn, PresetScope as Rr, gmailMail as Rt, BlockWiring as S, actionKey as Si, FormOption as Sn, EntityNoun as Sr, MailTemplateStats as St, AnyRecordBindingWrite as T, NPS_MAX as Tn, CONVENTION_FIELDS as Tr, createMailSync as Tt, BlockSchemas as U, NewAttachment as Un, presetField as Ur, outlookMessage as Ut, recordEventMatches as V, Attachments as Vn, PresetValueInfo as Vr, newMessageId as Vt, EntityFieldSpecs as W, UploadProgress as Wn, presetValueLabel as Wr, parseAddresses as Wt, BlockClientOptions as X, AccessRequest as Xn, KeysConfig as Xr, FieldPackInstall as Xt, BLOCK_EVENT_SOURCE as Y, documentTypeOf as Yn, IntegrationName as Yr, FieldEntityScope as Yt, BlockClientSource as Z, AccessRequestInput as Zn, MigrationSafetyConfig as Zr, FieldValue as Zt, ProvidedPorts as _, ActionRef as _i, FormDefinition as _n, ColumnsOutput as _r, MailSendDraft as _t, BlockConsumes as a, INTEGRATION_INFO as ai, rankBetweenResult as an, EmergencyReviewInput as ar, CreateBlocksOptions as at, BlockEnvKey as b, BlockSchedule as bi, FormJson as bn, blockNames as br, MailSyncOptions as bt, BlockOf as c, SKILLS_AGENTS as ci, FIELD_FORMATS as cn, RecordRequestListOptions as cr, createBlockClient as ct, ClientOf as d, ActionContext as di, FieldFormatInput as dn, GeneratedBlock as dr, BlockPorts as dt, SkillsAgent as ei, FIELD_PACK_KEY_PATTERN as en, AccessRequests as er, BlockSet as et, ComposedParts as f, ActionDescriptor as fi, FieldFormatName as fn, GeneratedBlocks as fr, Notifier as ft, PartDefaults as g, ActionOrigin as gi, FormCondition as gn, ColumnsInput as gr, MailMessage as gt, PartClients as h, ActionInfo as hi, FORM_SCHEMA_DIALECT as hn, generatedOptions as hr, MailAccount as ht, BlockCategory as i, GEN_TASKS as ii, RankNeighbors as in, EmergencyReview as ir, BlocksHooks as it, RecordBindingResult as j, AttachmentBucket as jn, PresetConventions as jr, MailPage as jt, RecordBindingOptions as k, isFormDefinition as kn, Preset as kr, MailDraft as kt, BlockOptionSchemas as l, Action as li, FIELD_FORMAT_NAMES as ln, RoleAccessRequest as lr, createBlocks as lt, ConsumedPorts as m, ActionHandler as mi, FORM_FIELD_TYPES as mn, fillTopic as mr, PortName as mt, BLOCK_CATEGORIES as n, SpecOutputConfig as ni, FieldPackField as nn, EmergencyAccessInput as nr, Blocks as nt, BlockDefinition as o, INTEGRATION_NAMES as oi, CUSTOM_FIELD_TYPES as on, RecordAccessInput as or, ServiceBlocksOptions as ot, CompositeOptions as p, ActionFactory as pi, FORM_DEFINITION_SCHEMA as pn, GeneratedFields as pr, NotifierInput as pt, EntitySchemas as q, DocumentField as qn, GenConfig as qr, FieldDefinition as qt, Block as r, SpecsConfig as ri, defineFieldPack as rn, EmergencyListOptions as rr, BlocksEventMap as rt, BlockInvalidates as s, IntegrationInfo as si, CustomFieldType as sn, RecordAccessRequest as sr, UniquePort as st, AnyBlock as t, SkillsConfig as ti, FieldPack as tn, AccessRequestsOptions as tr, BlockSinks as tt, BlockProvides as u, ActionCall as ui, FieldFormat as un, createAccessRequests as ur, defineBlocks as ut, UsingOptions as v, ActionRegistry as vi, FormField as vn, columnsSchema as vr, MailSubject as vt, AnyRecordBinding as w, defineAction as wi, FormStep as wn, entityNames as wr, MailThreadDetail as wt, BlockProvider as x, DefaultAutomation as xi, FormJsonSchema as xn, EntityNames as xr, MailSyncReport as xt, defineBlock as y, ActionSpec as yi, FormFieldType as yn, BlockNaming as yr, MailSync as yt, defineRecordBinding as z, AttachmentUpload as zn, PresetSubjectSettings as zr, gmailMessage as zt };
|
package/dist/{document-templates-values-BnBuJB0m.js → document-templates-values-DpNB3q5K.js}
RENAMED
|
@@ -1,3 +1,6 @@
|
|
|
1
|
+
import { n as blockOptions, r as option } from "./options-Z-bd_H1E.js";
|
|
2
|
+
// src/blocks/document-templates/options.ts
|
|
3
|
+
const documentTemplatesSqlOptions = blockOptions({ documentTypes: option.unknown() });
|
|
1
4
|
// src/sql/modules/document-templates-values.ts
|
|
2
5
|
/** The documents a template can be written for. */
|
|
3
6
|
const DOCUMENT_TYPES = [
|
|
@@ -168,4 +171,4 @@ function documentContract(type) {
|
|
|
168
171
|
variables: DOCUMENT_VARIABLES[type]
|
|
169
172
|
};
|
|
170
173
|
}
|
|
171
|
-
export { DOCUMENT_TEMPLATE_ISSUES as a, DOCUMENT_VARIABLES as c, DOCUMENT_LANGUAGE_PATTERN as i, documentContract as l, DOCUMENT_CONTRACT_VERSION as n, DOCUMENT_TEXT_KEY_PATTERN as o, DOCUMENT_FILTERS as r, DOCUMENT_TYPES as s, DOCUMENT_BODY_MAX as t };
|
|
174
|
+
export { DOCUMENT_TEMPLATE_ISSUES as a, DOCUMENT_VARIABLES as c, DOCUMENT_LANGUAGE_PATTERN as i, documentContract as l, DOCUMENT_CONTRACT_VERSION as n, DOCUMENT_TEXT_KEY_PATTERN as o, DOCUMENT_FILTERS as r, DOCUMENT_TYPES as s, DOCUMENT_BODY_MAX as t, documentTemplatesSqlOptions as u };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/// <reference lib="esnext.temporal" />
|
|
2
|
-
import { n as BlockHooks } from "./block-hooks-
|
|
3
|
-
import { t as BlockTransport } from "./block-transport-
|
|
2
|
+
import { n as BlockHooks } from "./block-hooks-FM9t7ol_.js";
|
|
3
|
+
import { t as BlockTransport } from "./block-transport-CP4wAHU-.js";
|
|
4
4
|
import { T as ErrorMapper, t as AsyncResult } from "./result-CMqlHv82.js";
|
|
5
5
|
import { n as Logger } from "./logger-0LfhvwE4.js";
|
|
6
|
-
import { r as BlockTemporalOptions } from "./block-helpers-
|
|
6
|
+
import { r as BlockTemporalOptions } from "./block-helpers-rTsuHt6v.js";
|
|
7
7
|
interface DocumentsOptions extends BlockTemporalOptions {
|
|
8
8
|
readonly transport: BlockTransport;
|
|
9
9
|
/**
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
/// <reference lib="esnext.temporal" />
|
|
2
2
|
import { r as FieldsOf } from "./block-fields-Cq2MlJJD.js";
|
|
3
|
-
import { n as BlockHooks } from "./block-hooks-
|
|
4
|
-
import { t as BlockTransport } from "./block-transport-
|
|
3
|
+
import { n as BlockHooks } from "./block-hooks-FM9t7ol_.js";
|
|
4
|
+
import { t as BlockTransport } from "./block-transport-CP4wAHU-.js";
|
|
5
5
|
import { T as ErrorMapper, t as AsyncResult } from "./result-CMqlHv82.js";
|
|
6
6
|
import { n as Logger } from "./logger-0LfhvwE4.js";
|
|
7
7
|
import { t as StandardSchemaV1 } from "./standard-CiOWpeZL.js";
|
|
8
|
-
import {
|
|
9
|
-
import { p as ApprovalStatus } from "./approvals-
|
|
10
|
-
import { r as BlockTemporalOptions } from "./block-helpers-
|
|
8
|
+
import { An as Attachment, Ln as AttachmentStorage, Mn as AttachmentDownload, Vn as Attachments, cr as RecordRequestListOptions, er as AccessRequests, sr as RecordAccessRequest } from "./define-block-Cu67KCN1.js";
|
|
9
|
+
import { p as ApprovalStatus } from "./approvals-DnabEGo2.js";
|
|
10
|
+
import { r as BlockTemporalOptions } from "./block-helpers-rTsuHt6v.js";
|
|
11
11
|
/**
|
|
12
12
|
* One entry of the changes feed: a node as it is now, or one that left the
|
|
13
13
|
* tree.
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { n as Line } from "../sales-lines-
|
|
2
|
-
import { $ as EInvoiceContext, J as FromUblOptions, Q as EInvoiceChannel, X as fromUbl, Y as UblBill, Z as XmlParserModule, at as EInvoiceStatus, ct as EInvoiceAddress, et as EInvoiceDocument, it as EInvoiceSent, lt as EInvoiceEndpoint, nt as EInvoiceReceived, ot as eInvoiceChannelOf, rt as EInvoiceSendContext, st as eInvoiceFormatOf, t as Invoice, tt as EInvoiceFormat, ut as EInvoiceParty } from "../invoices-
|
|
1
|
+
import { n as Line } from "../sales-lines-DZBLspUz.js";
|
|
2
|
+
import { $ as EInvoiceContext, J as FromUblOptions, Q as EInvoiceChannel, X as fromUbl, Y as UblBill, Z as XmlParserModule, at as EInvoiceStatus, ct as EInvoiceAddress, et as EInvoiceDocument, it as EInvoiceSent, lt as EInvoiceEndpoint, nt as EInvoiceReceived, ot as eInvoiceChannelOf, rt as EInvoiceSendContext, st as eInvoiceFormatOf, t as Invoice, tt as EInvoiceFormat, ut as EInvoiceParty } from "../invoices-DQB0pdnK.js";
|
|
3
3
|
/** The EN 16931 specification identifier of Peppol BIS Billing 3.0 (BT-24). */
|
|
4
4
|
export declare const PEPPOL_BIS_CUSTOMIZATION = "urn:cen.eu:en16931:2017#compliant#urn:fdc:peppol.eu:2017:poacc:billing:3.0";
|
|
5
5
|
/** The Peppol business process of a billing document (BT-23). */
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/// <reference lib="esnext.temporal" />
|
|
2
|
-
import { n as BlockHooks } from "./block-hooks-
|
|
2
|
+
import { n as BlockHooks } from "./block-hooks-FM9t7ol_.js";
|
|
3
3
|
import { n as Logger } from "./logger-0LfhvwE4.js";
|
|
4
4
|
import { f as Result, t as AsyncResult } from "./result-CMqlHv82.js";
|
|
5
|
-
import { d as MedicationOrder, f as MedicationOrderImport, l as MedicationCodeSystem, n as MedicationAdministration, t as Medication, v as MedicationSchedule } from "./medications-
|
|
6
|
-
import { n as BlockOptions } from "./block-helpers-
|
|
7
|
-
import { et as RecordRef } from "./types-
|
|
5
|
+
import { d as MedicationOrder, f as MedicationOrderImport, l as MedicationCodeSystem, n as MedicationAdministration, t as Medication, v as MedicationSchedule } from "./medications-0Uuwu3k2.js";
|
|
6
|
+
import { n as BlockOptions } from "./block-helpers-rTsuHt6v.js";
|
|
7
|
+
import { et as RecordRef } from "./types-BlBju7Wa.js";
|
|
8
8
|
/**
|
|
9
9
|
* Structural FHIR R4 (4.0.1) types: the elements the mappers read and write,
|
|
10
10
|
* not the whole specification. A profile layer (zib, US Core) can add
|
package/dist/edge/index.d.ts
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { n as AuthSession } from "../view-
|
|
1
|
+
import { n as AuthSession } from "../view-CVXHgadI.js";
|
|
2
2
|
import { t as Validated } from "../shared-DsBcvj6q.js";
|
|
3
|
-
import { O as AnyFunctions, Ut as AnyAuthorizer, in as PermissionRef, k as AnyModels, rn as AuthzVersionCache } from "../types-
|
|
4
|
-
import { s as BetterSupabase } from "../db-blocks-
|
|
3
|
+
import { O as AnyFunctions, Ut as AnyAuthorizer, in as PermissionRef, k as AnyModels, rn as AuthzVersionCache } from "../types-BlBju7Wa.js";
|
|
4
|
+
import { s as BetterSupabase } from "../db-blocks-CzhzWfvR.js";
|
|
5
5
|
import { n as SUPABASE_CORS_HEADERS, r as corsConfig, t as CorsOptions } from "../cors-9SDsndtb.js";
|
|
6
|
-
import { c as ResourceLoaderContext, s as BlockRequireOptions } from "../kit-
|
|
7
|
-
import { t as ResourceMap } from "../resources-
|
|
8
|
-
import { i as MiddlewareOptions, r as GuardOptions } from "../respond
|
|
9
|
-
import { r as BetterServer, s as ServerContext, u as ServerOptions } from "../server-types-
|
|
10
|
-
import { i as ResourceContext, l as ResourceRouteOptions, o as ResourceHooks, r as ResourceAction, t as ActionArgs } from "../resource-types-
|
|
11
|
-
import { t as defineAction } from "../resource-execute-
|
|
6
|
+
import { c as ResourceLoaderContext, s as BlockRequireOptions } from "../kit-EFsCynmb.js";
|
|
7
|
+
import { t as ResourceMap } from "../resources-Dz9pCv6I.js";
|
|
8
|
+
import { i as MiddlewareOptions, r as GuardOptions } from "../respond-OjgB7zlB.js";
|
|
9
|
+
import { r as BetterServer, s as ServerContext, u as ServerOptions } from "../server-types-Cf4eX4kr.js";
|
|
10
|
+
import { i as ResourceContext, l as ResourceRouteOptions, o as ResourceHooks, r as ResourceAction, t as ActionArgs } from "../resource-types-BmZx8q4a.js";
|
|
11
|
+
import { t as defineAction } from "../resource-execute-BVQQHOLb.js";
|
|
12
12
|
import { n as FunctionContract, t as DescribedFunction } from "../function-contract-CMJR3nYl.js";
|
|
13
13
|
import { f as Result } from "../result-CMqlHv82.js";
|
|
14
14
|
import { t as StandardSchemaV1 } from "../standard-CiOWpeZL.js";
|
package/dist/edge/index.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { n as dbError } from "../errors-CXPerGIl.js";
|
|
2
2
|
import { o as problemResponse } from "../problem-gZxWhEP2.js";
|
|
3
3
|
import { a as ok, r as err } from "../result-DrBaeIVt.js";
|
|
4
|
-
import { a as unexpectedResponse, c as extendServer, o as withFlush, s as createServer } from "../adapter-
|
|
5
|
-
import { t as withBetterSupabase } from "../composite-
|
|
4
|
+
import { a as unexpectedResponse, c as extendServer, o as withFlush, s as createServer } from "../adapter-D7GH81nF.js";
|
|
5
|
+
import { t as withBetterSupabase } from "../composite-C4oO4i6z.js";
|
|
6
6
|
import { n as corsConfig, t as SUPABASE_CORS_HEADERS } from "../cors-DrDFLMNn.js";
|
|
7
7
|
import { t as withExtra } from "../extra-Dz9n5y1s.js";
|
|
8
|
-
import { t as EVERY_CALLER } from "../framework-
|
|
8
|
+
import { t as EVERY_CALLER } from "../framework-B6jEuZLs.js";
|
|
9
9
|
import { c as defaultExpose, f as respond, i as requireCaller, p as settle } from "../kit-CBdolcQN.js";
|
|
10
10
|
import { n as resourceRouter } from "../resources-DpbVfgfR.js";
|
|
11
11
|
import { i as defineAction } from "../resource-CIYtVbd2.js";
|
package/dist/elysia/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as Validated } from "../shared-DsBcvj6q.js";
|
|
2
|
-
import { n as RouteGuardOptions } from "../refusal-
|
|
2
|
+
import { n as RouteGuardOptions } from "../refusal-nCMn-Fnw.js";
|
|
3
3
|
import { AnyEntry, Contributions } from "@supabase/middleware";
|
|
4
4
|
interface ElysiaBridge<Entries extends readonly AnyEntry[]> {
|
|
5
5
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { t as AiCache } from "./ai-cache-
|
|
2
|
-
import { a as EmbedderV2, l as KnowledgeHit, m as KnowledgeSearchOptions, o as Knowledge, r as Embedder } from "./knowledge-
|
|
1
|
+
import { t as AiCache } from "./ai-cache-BvDaB1pY.js";
|
|
2
|
+
import { a as EmbedderV2, l as KnowledgeHit, m as KnowledgeSearchOptions, o as Knowledge, r as Embedder } from "./knowledge-vrO4Poa5.js";
|
|
3
3
|
import { b as DbError } from "./result-CMqlHv82.js";
|
|
4
4
|
import { EmbeddingModel, EmbeddingModelMiddleware, RerankingModel, SourceDocumentUIPart, Tool, embedMany } from "ai";
|
|
5
5
|
type ProviderOptions = Parameters<typeof embedMany>[0]["providerOptions"];
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { It as RequestContext } from "./types-
|
|
2
|
-
import { r as AuthState, x as CookieOptions } from "./resolve-
|
|
1
|
+
import { It as RequestContext } from "./types-BlBju7Wa.js";
|
|
2
|
+
import { r as AuthState, x as CookieOptions } from "./resolve-B9Rn2M5c.js";
|
|
3
3
|
/** The repository context (`actor`, `claims`) for an auth state. */
|
|
4
4
|
declare function authContext(auth: AuthState): RequestContext;
|
|
5
5
|
/** `banned`: Auth rejected the token with `error_code: "user_banned"`. */
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { t as AuthSnapshot } from "./bind-
|
|
2
|
-
import { n as AuthSession } from "./view-
|
|
1
|
+
import { t as AuthSnapshot } from "./bind-DiGmjHzz.js";
|
|
2
|
+
import { n as AuthSession } from "./view-CVXHgadI.js";
|
|
3
3
|
/** Verified claims, read by name. */
|
|
4
4
|
type ClaimsRecord = Readonly<Record<string, unknown>>;
|
|
5
5
|
/** A server session, the client's `useAuth()` snapshot, or verified claims. */
|
package/dist/eve/index.d.ts
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { S as EveToolContext, _ as EveApprovalResponseDecision, a as EveMemoryToolsContext, b as EveSessionContext, c as MemoryDocumentConflictError, d as supabaseDocumentBackend, f as supabaseMemory, g as EveApprovalResponseContext, h as EveApprovalPolicy, i as EveMemoryTool, l as SupabaseDocumentBackendOptions, m as EveApprovalContext, n as EveMemoryContext, o as EveRecallMessage, p as EveApprovalConfiguration, r as EveMemoryProvider, s as EveRecallResult, t as EveDocumentBackend, u as SupabaseMemoryOptions, v as EveApprovalStatus, x as EveToolApproval, y as EveSessionAuth } from "../eve-
|
|
2
|
-
import { W as AiToolPolicy, t as AiChat } from "../ai-chat-
|
|
3
|
-
import { It as RequestContext } from "../types-
|
|
1
|
+
import { S as EveToolContext, _ as EveApprovalResponseDecision, a as EveMemoryToolsContext, b as EveSessionContext, c as MemoryDocumentConflictError, d as supabaseDocumentBackend, f as supabaseMemory, g as EveApprovalResponseContext, h as EveApprovalPolicy, i as EveMemoryTool, l as SupabaseDocumentBackendOptions, m as EveApprovalContext, n as EveMemoryContext, o as EveRecallMessage, p as EveApprovalConfiguration, r as EveMemoryProvider, s as EveRecallResult, t as EveDocumentBackend, u as SupabaseMemoryOptions, v as EveApprovalStatus, x as EveToolApproval, y as EveSessionAuth } from "../eve-CY8cwAtb.js";
|
|
2
|
+
import { W as AiToolPolicy, t as AiChat } from "../ai-chat-DiXgrAd3.js";
|
|
3
|
+
import { It as RequestContext } from "../types-BlBju7Wa.js";
|
|
4
4
|
import { t as AsyncResult } from "../result-CMqlHv82.js";
|
|
5
|
-
import { _ as Approvals } from "../approvals-
|
|
6
|
-
import { r as DbTransportSource, t as BlockTransport } from "../block-transport-
|
|
7
|
-
import { a as ResolveAuthOptions, r as AuthState } from "../resolve-
|
|
8
|
-
import { i as CredentialRef, r as CredentialProvider } from "../provider-
|
|
9
|
-
import { a as Inbox } from "../inbox-
|
|
10
|
-
import { j as ScheduleOptions } from "../types-
|
|
5
|
+
import { _ as Approvals } from "../approvals-DnabEGo2.js";
|
|
6
|
+
import { r as DbTransportSource, t as BlockTransport } from "../block-transport-CP4wAHU-.js";
|
|
7
|
+
import { a as ResolveAuthOptions, r as AuthState } from "../resolve-B9Rn2M5c.js";
|
|
8
|
+
import { i as CredentialRef, r as CredentialProvider } from "../provider-ChtwfkqL.js";
|
|
9
|
+
import { a as Inbox } from "../inbox-CnyAG7kj.js";
|
|
10
|
+
import { j as ScheduleOptions } from "../types-CTb0Uroz.js";
|
|
11
11
|
import { StandardSchemaV1 } from "@standard-schema/spec";
|
|
12
12
|
/** The user a tool runs as when the session has no Supabase user. */
|
|
13
13
|
interface EveRunAs {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { m as KnowledgeSearchOptions, o as Knowledge } from "./knowledge-
|
|
2
|
-
import { t as Memory } from "./types-
|
|
1
|
+
import { m as KnowledgeSearchOptions, o as Knowledge } from "./knowledge-vrO4Poa5.js";
|
|
2
|
+
import { t as Memory } from "./types-CJG0BntG.js";
|
|
3
3
|
/**
|
|
4
4
|
* Eve's `SessionAuthContext`, typed structurally so this entry never imports
|
|
5
5
|
* eve. `attributes` carries `tenantId`, `roles` and `isAnonymous`.
|
package/dist/events/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { $ as OrganizationEventData, A as CollaborationEventData, At as event, B as FlagEventData, C as BillingEventData, Ct as emitBlockEvent, D as BlockEventPattern, Dt as Events, E as BlockEventMeta, Et as EventSpec, F as DataExportEventData, G as IncomingWebhookEventData, H as FormSubmissionEventData, J as LegalHoldEventData, K as InvitationEventData, M as CommerceSubjectEventData, N as ConnectorEventData, O as BlockEventType, Ot as MergedEventMap, P as CredentialEventData, Q as OrganizationDomainEventData, S as BLOCK_EVENT_RENAMES, St as blockEventAttributes, T as BlockEvent, Tt as EventMapOf, V as FormEventData, W as InboxEventData, X as NotificationEventData, Y as NotificationDeliveryEventData, Z as OrganizationDeletionEventData, _ as AnnouncementEventData, _t as TimesheetEventData, at as SettingEventData, b as AuditRevealEventData, bt as WorkflowEventData, ct as StorageObjectEventData, dt as SubjectEventType, et as PushDeviceEventData, g as AiToolEventData, gt as TimeEntryEventData, h as AiProviderKeyEventData, ht as TemplateEventData, it as ScimEventData, j as CommerceEventData, jt as mergeEvents, k as BlockEventsMatching, kt as defineEvents, m as AiChatEventData, mt as TemplateApplicationEventData, nt as SaasSubjectEventData, ot as SignatureEventData, p as AgentEventData, pt as SupportEventData, q as InviteCodeEventData, rt as SchedulingEventData, st as SsoProviderEventData, tt as SaasEventData, ut as SubjectEventData, v as ApiKeyEventData, vt as WaitlistEventData, w as BlockEmit, wt as EventMap, x as BLOCK_ATTRIBUTES, xt as WorkflowRunEventData, y as AttachmentEventData, yt as WebhookEventData } from "../events-
|
|
2
|
-
import { t as onBlockEvent } from "../block-event-listener-
|
|
3
|
-
import { C as PipelineStageEventData, D as SegmentMemberEventData, E as SegmentEventData, O as SlaEventData, S as PipelineEventData, T as SavedItemEventData, _ as MailAccountEventData, a as CollectionEventData, c as EmployeeEventData, d as EngagementEventData, f as EngagementRecordingEventData, g as JobEventData, h as InvoiceEventData, i as CollectionEntryEventData, k as WorkItemEventData, l as EngagementAmendedEventData, m as ForecastSnapshotEventData, n as AssignmentEventData, p as EnrichmentEventData, s as DealEventData, t as ApplicationEventData, u as EngagementErrorMarkedEventData, v as MailMessageEventData, w as QuoteEventData, x as PartyEventData, y as MailTrackingEventData } from "../block-events-records-
|
|
4
|
-
import { a as ForwardBlockOptions, c as forwardBlockEvents, i as EventSink, n as CloudEventOptions, o as blockCloudEvent, r as DataschemaContext, s as eventTypeOf, t as CloudEvent } from "../cloud-event-
|
|
5
|
-
import { a as RowEventData, c as httpSink, d as toHttp, i as ROW_EVENT_TYPES, l as isCloudEvent, n as HttpMode, o as forwardMutations, r as HttpSinkOptions, s as fromHttp, t as ForwardOptions, u as toCloudEvents } from "../index-
|
|
1
|
+
import { $ as OrganizationEventData, A as CollaborationEventData, At as event, B as FlagEventData, C as BillingEventData, Ct as emitBlockEvent, D as BlockEventPattern, Dt as Events, E as BlockEventMeta, Et as EventSpec, F as DataExportEventData, G as IncomingWebhookEventData, H as FormSubmissionEventData, J as LegalHoldEventData, K as InvitationEventData, M as CommerceSubjectEventData, N as ConnectorEventData, O as BlockEventType, Ot as MergedEventMap, P as CredentialEventData, Q as OrganizationDomainEventData, S as BLOCK_EVENT_RENAMES, St as blockEventAttributes, T as BlockEvent, Tt as EventMapOf, V as FormEventData, W as InboxEventData, X as NotificationEventData, Y as NotificationDeliveryEventData, Z as OrganizationDeletionEventData, _ as AnnouncementEventData, _t as TimesheetEventData, at as SettingEventData, b as AuditRevealEventData, bt as WorkflowEventData, ct as StorageObjectEventData, dt as SubjectEventType, et as PushDeviceEventData, g as AiToolEventData, gt as TimeEntryEventData, h as AiProviderKeyEventData, ht as TemplateEventData, it as ScimEventData, j as CommerceEventData, jt as mergeEvents, k as BlockEventsMatching, kt as defineEvents, m as AiChatEventData, mt as TemplateApplicationEventData, nt as SaasSubjectEventData, ot as SignatureEventData, p as AgentEventData, pt as SupportEventData, q as InviteCodeEventData, rt as SchedulingEventData, st as SsoProviderEventData, tt as SaasEventData, ut as SubjectEventData, v as ApiKeyEventData, vt as WaitlistEventData, w as BlockEmit, wt as EventMap, x as BLOCK_ATTRIBUTES, xt as WorkflowRunEventData, y as AttachmentEventData, yt as WebhookEventData } from "../events-DN9PAcjq.js";
|
|
2
|
+
import { t as onBlockEvent } from "../block-event-listener-DannKfYZ.js";
|
|
3
|
+
import { C as PipelineStageEventData, D as SegmentMemberEventData, E as SegmentEventData, O as SlaEventData, S as PipelineEventData, T as SavedItemEventData, _ as MailAccountEventData, a as CollectionEventData, c as EmployeeEventData, d as EngagementEventData, f as EngagementRecordingEventData, g as JobEventData, h as InvoiceEventData, i as CollectionEntryEventData, k as WorkItemEventData, l as EngagementAmendedEventData, m as ForecastSnapshotEventData, n as AssignmentEventData, p as EnrichmentEventData, s as DealEventData, t as ApplicationEventData, u as EngagementErrorMarkedEventData, v as MailMessageEventData, w as QuoteEventData, x as PartyEventData, y as MailTrackingEventData } from "../block-events-records-BhqpDl-4.js";
|
|
4
|
+
import { a as ForwardBlockOptions, c as forwardBlockEvents, i as EventSink, n as CloudEventOptions, o as blockCloudEvent, r as DataschemaContext, s as eventTypeOf, t as CloudEvent } from "../cloud-event-Dj2V1lQw.js";
|
|
5
|
+
import { a as RowEventData, c as httpSink, d as toHttp, i as ROW_EVENT_TYPES, l as isCloudEvent, n as HttpMode, o as forwardMutations, r as HttpSinkOptions, s as fromHttp, t as ForwardOptions, u as toCloudEvents } from "../index-DRsJvXo2.js";
|
|
6
6
|
export { type AgentEventData, type AiChatEventData, type AiProviderKeyEventData, type AiToolEventData, type AnnouncementEventData, type ApiKeyEventData, type ApplicationEventData, type AssignmentEventData, type AttachmentEventData, type AuditRevealEventData, BLOCK_ATTRIBUTES, BLOCK_EVENT_RENAMES, type BillingEventData, type BlockEmit, type BlockEvent, type BlockEventMeta, type BlockEventPattern, type BlockEventType, type BlockEventsMatching, type CloudEvent, type CloudEventOptions, type CollaborationEventData, type CollectionEntryEventData, type CollectionEventData, type CommerceEventData, type CommerceSubjectEventData, type ConnectorEventData, type CredentialEventData, type DataExportEventData, type DataschemaContext, type DealEventData, type EmployeeEventData, type EngagementAmendedEventData, type EngagementErrorMarkedEventData, type EngagementEventData, type EngagementRecordingEventData, type EnrichmentEventData, type EventMap, type EventMapOf, type EventSink, type EventSpec, type Events, type FlagEventData, type ForecastSnapshotEventData, type FormEventData, type FormSubmissionEventData, type ForwardBlockOptions, ForwardOptions, HttpMode, HttpSinkOptions, type InboxEventData, type IncomingWebhookEventData, type InvitationEventData, type InviteCodeEventData, type InvoiceEventData, type JobEventData, type LegalHoldEventData, type MailAccountEventData, type MailMessageEventData, type MailTrackingEventData, type MergedEventMap, type NotificationDeliveryEventData, type NotificationEventData, type OrganizationDeletionEventData, type OrganizationDomainEventData, type OrganizationEventData, type PartyEventData, type PipelineEventData, type PipelineStageEventData, type PushDeviceEventData, type QuoteEventData, ROW_EVENT_TYPES, RowEventData, type SaasEventData, type SaasSubjectEventData, type SavedItemEventData, type SchedulingEventData, type ScimEventData, type SegmentEventData, type SegmentMemberEventData, type SettingEventData, type SignatureEventData, type SlaEventData, type SsoProviderEventData, type StorageObjectEventData, type SubjectEventData, type SubjectEventType, type SupportEventData, type TemplateApplicationEventData, type TemplateEventData, type TimeEntryEventData, type TimesheetEventData, type WaitlistEventData, type WebhookEventData, type WorkItemEventData, type WorkflowEventData, type WorkflowRunEventData, blockCloudEvent, blockEventAttributes, defineEvents, emitBlockEvent, event, eventTypeOf, forwardBlockEvents, forwardMutations, fromHttp, httpSink, isCloudEvent, mergeEvents, onBlockEvent, toCloudEvents, toHttp };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference lib="esnext.temporal" />
|
|
2
|
-
import { It as RequestContext, d as MutationIntent, f as MutationKind, m as Operation } from "./types-
|
|
2
|
+
import { It as RequestContext, d as MutationIntent, f as MutationKind, m as Operation } from "./types-BlBju7Wa.js";
|
|
3
3
|
import { b as DbError } from "./result-CMqlHv82.js";
|
|
4
4
|
import { n as Logger } from "./logger-0LfhvwE4.js";
|
|
5
5
|
/**
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { E as RawDbError, b as DbError, f as Result } from "./result-CMqlHv82.js";
|
|
2
|
-
import { O as AnyFunctions, Vt as Executor, dt as TableKey, ft as TableMeta, k as AnyModels, m as Operation } from "./types-
|
|
3
|
-
import { s as BetterSupabase, st as QuerySpec } from "./db-blocks-
|
|
4
|
-
import { i as ListDefinition } from "./list-query-
|
|
5
|
-
import { t as Compiler } from "./compiler-
|
|
2
|
+
import { O as AnyFunctions, Vt as Executor, dt as TableKey, ft as TableMeta, k as AnyModels, m as Operation } from "./types-BlBju7Wa.js";
|
|
3
|
+
import { s as BetterSupabase, st as QuerySpec } from "./db-blocks-CzhzWfvR.js";
|
|
4
|
+
import { i as ListDefinition } from "./list-query-B4qI5eE8.js";
|
|
5
|
+
import { t as Compiler } from "./compiler-BSHKt-d2.js";
|
|
6
6
|
/** A value SQLite binds: booleans become `0`/`1`, objects JSON text. */
|
|
7
7
|
type SqliteValue = string | number | bigint | null;
|
|
8
8
|
interface SqliteQuery {
|
package/dist/expo/index.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { m as SessionSnapshot } from "../resolve-
|
|
2
|
-
import { n as AuthSession } from "../view-
|
|
1
|
+
import { m as SessionSnapshot } from "../resolve-B9Rn2M5c.js";
|
|
2
|
+
import { n as AuthSession } from "../view-CVXHgadI.js";
|
|
3
3
|
import { t as Validated } from "../shared-DsBcvj6q.js";
|
|
4
|
-
import { O as AnyFunctions, k as AnyModels, rn as AuthzVersionCache } from "../types-
|
|
5
|
-
import { G as ReadSet, Q as ReadSetResult, s as BetterSupabase } from "../db-blocks-
|
|
6
|
-
import { A as
|
|
7
|
-
import { i as MiddlewareOptions, r as GuardOptions } from "../respond
|
|
4
|
+
import { O as AnyFunctions, k as AnyModels, rn as AuthzVersionCache } from "../types-BlBju7Wa.js";
|
|
5
|
+
import { G as ReadSet, Q as ReadSetResult, s as BetterSupabase } from "../db-blocks-CzhzWfvR.js";
|
|
6
|
+
import { A as AccessForOptions, M as BootstrapCallOptions, i as ContextOptions, j as Bootstrap, k as Access, r as BetterServer, s as ServerContext, u as ServerOptions } from "../server-types-Cf4eX4kr.js";
|
|
7
|
+
import { i as MiddlewareOptions, r as GuardOptions } from "../respond-OjgB7zlB.js";
|
|
8
8
|
import { AnyEntry, Contributions } from "@supabase/middleware";
|
|
9
9
|
import { ImmutableRequest, MiddlewareFunction } from "expo-server";
|
|
10
10
|
/** Route parameters from the file name (`[id]`, `[...slug]`). */
|
package/dist/expo/index.js
CHANGED
|
@@ -6,9 +6,9 @@ import { t as tenantOf } from "../tenant-Beqd7TTq.js";
|
|
|
6
6
|
import { i as claimsOf } from "../claims-CqTr_N1n.js";
|
|
7
7
|
import { t as DbException } from "../db-exception-Dv18UZ-I.js";
|
|
8
8
|
import { c as toProblem } from "../problem-gZxWhEP2.js";
|
|
9
|
-
import { C as bootstrapSchema, S as accessOf, a as unexpectedResponse, c as extendServer, s as createServer, w as bootstrapWith } from "../adapter-
|
|
9
|
+
import { C as bootstrapSchema, S as accessOf, a as unexpectedResponse, c as extendServer, s as createServer, w as bootstrapWith } from "../adapter-D7GH81nF.js";
|
|
10
10
|
import { i as userSessionTags, r as tableTags, t as sessionIdTag } from "../cache-tags-C5Oivuxo.js";
|
|
11
|
-
import { t as withBetterSupabase } from "../composite-
|
|
11
|
+
import { t as withBetterSupabase } from "../composite-C4oO4i6z.js";
|
|
12
12
|
import { r as refreshFor } from "../request-kind-tNDM5Z_o.js";
|
|
13
13
|
import { c as defaultExpose, f as respond, u as guard } from "../kit-CBdolcQN.js";
|
|
14
14
|
import { bufferRequest, pipeline, seedContext } from "@supabase/middleware";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { t as BlockTransport } from "./block-transport-
|
|
2
|
-
import { i as EventSink } from "./cloud-event-
|
|
3
|
-
import {
|
|
4
|
-
import { o as Knowledge } from "./knowledge-
|
|
5
|
-
import { _ as JobHandler } from "./types-
|
|
1
|
+
import { t as BlockTransport } from "./block-transport-CP4wAHU-.js";
|
|
2
|
+
import { i as EventSink } from "./cloud-event-Dj2V1lQw.js";
|
|
3
|
+
import { jn as AttachmentBucket } from "./define-block-Cu67KCN1.js";
|
|
4
|
+
import { o as Knowledge } from "./knowledge-vrO4Poa5.js";
|
|
5
|
+
import { _ as JobHandler } from "./types-CTb0Uroz.js";
|
|
6
6
|
import { t as AsyncResult } from "./result-CMqlHv82.js";
|
|
7
7
|
/** The file a `TextExtractor` reads: its node and its current content. */
|
|
8
8
|
interface DriveTextFile {
|