better-supabase 0.53.0 → 0.54.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-DcZk8HBB.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-b-uWaxba.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-B2xNMyLA.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/auth/index.d.ts +8 -0
- package/dist/auth/index.js +1 -0
- package/dist/{authorization-UYejwQsk.d.ts → authorization-Bk6cLL5f.d.ts} +1 -1
- package/dist/{authorization-hooks-BiMwxiZN.d.ts → authorization-hooks-DM_ijJsD.d.ts} +2 -2
- 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-DWElQa6I.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-CQQUMPYZ.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-Cvd-RaMY.js → block-subjects-9KU6Q6-3.js} +6 -4
- package/dist/{block-subjects-B8PmdWEd.d.ts → block-subjects-B6qEt8WO.d.ts} +1 -1
- package/dist/{block-tables-BkgafSZd.d.ts → block-tables-JC1dMLaA.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/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 +2 -2
- 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 +2 -2
- 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 +20 -18
- 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/invoices/index.d.ts +6 -6
- 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/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 +1 -1
- 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 +1 -1
- 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/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-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 +8 -8
- 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-LZklPzC5.d.ts} +145 -16
- 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-3L9NVEA3.js +1 -0
- package/dist/cli/{add-DlucpPCL.js → add-BQZbFEAP.js} +2 -2
- package/dist/cli/{add-C3yGPSQS.js → add-DK38-F2F.js} +10 -10
- package/dist/cli/{app-table-files-CC5n8Si8.js → app-table-files-C5Sx2Qao.js} +2 -2
- package/dist/cli/{app-tables-C-Rk_GnI.js → app-tables-ChZE8Z_L.js} +2 -2
- package/dist/cli/{backfill-DbqA8coR.js → backfill-COnv2tOL.js} +1 -1
- package/dist/cli/bin.js +1 -1
- package/dist/cli/{blocks-BFlOktiM.js → blocks-Csu6lLqC.js} +1 -1
- package/dist/cli/{blocks-BBBpNbQD.js → blocks-Dea_Z5Ps.js} +1 -1
- package/dist/cli/{cache-BgNWPD9a.js → cache-C1nAFZNW.js} +17 -4
- package/dist/cli/{codemod-B4DpCiqX.js → codemod-DHULUpez.js} +1 -1
- package/dist/cli/{content-mapper-BaJhpTQA.js → content-mapper-QVJJto5U.js} +2 -2
- package/dist/cli/{doctor-Dnq5J_p_.js → doctor-Du2zwLUG.js} +32 -18
- package/dist/cli/{gen-Bf9cVgpR.js → gen-CQ2ubqjB.js} +11 -11
- package/dist/cli/index.d.ts +3 -1
- package/dist/cli/index.js +6 -6
- package/dist/cli/{init-_IFg5fe6.js → init-CTt0aQn1.js} +9 -9
- package/dist/cli/{live-pq1yvvsl.js → live-DMNuAml9.js} +2 -2
- package/dist/cli/{mcp-YD0Ap6ok.js → mcp-C63ulwyU.js} +2 -2
- package/dist/cli/{metadata-CfauXPW0.js → metadata-CylES-9Y.js} +3 -3
- package/dist/cli/{migrate-DWCu2Nny.js → migrate-BezKva56.js} +1 -1
- package/dist/cli/{migration-safety-rjlsDMDU.js → migration-safety-DQtpMu-g.js} +1 -1
- package/dist/cli/{migrations-BRCqeu8k.js → migrations-DGJJ1rHt.js} +2 -2
- package/dist/cli/{module-migration-BpptcXiB.js → module-migration-CxbEDfSF.js} +2 -2
- package/dist/cli/powersync-COHj6FT8.js +1 -0
- package/dist/cli/{powersync-DsbJBuTR.js → powersync-FUYFuZSw.js} +3 -3
- package/dist/cli/{print-A9UGTj_t.js → print-DAwLAC-7.js} +2 -2
- package/dist/cli/{providers-MlTm8nMs.js → providers-hrxX3YKU.js} +1 -1
- package/dist/cli/{prune-workflows-B6sqjrR0.js → prune-workflows-DLhKu_UJ.js} +1 -1
- package/dist/cli/{remove-BpY-E_l4.js → remove-DSC6Fvwo.js} +6 -6
- package/dist/cli/{render-8qD7j0se.js → render-647qdnrX.js} +19 -9
- package/dist/cli/{run-Dl1TZGsM.js → run--qaDaqfL.js} +9 -9
- package/dist/cli/{run-DHRA46qf.js → run-BcI6KXV3.js} +31 -31
- package/dist/cli/{shared-B77Q9x0E.js → shared-D_DZ9MfG.js} +1 -1
- package/dist/cli/{snapshot-_roTbSZM.js → snapshot-B-1tPbV4.js} +70 -6
- package/dist/cli/{source-BseR3sy9.js → source-BgFNrRcl.js} +1 -1
- package/dist/cli/{spec-n6QRlBOJ.js → spec-C88dtkj4.js} +1 -1
- package/dist/cli/{spec-Ct3i4drt.js → spec-CV0FdW18.js} +2 -2
- package/dist/cli/{sql-layout-D_fJsw3B.js → sql-layout-byUur5FC.js} +2 -2
- package/dist/cli/{sync-DqBQi0QQ.js → sync-BtM7o-sI.js} +4 -4
- package/dist/cli/{upgrade-MRqrFaO1.js → upgrade-B_HEJvRX.js} +2 -2
- package/dist/cli/{upgrade-y3Iv4wl8.js → upgrade-CKDeHkyy.js} +5 -5
- package/dist/cli/{version-CiE6Pt0K.js → version-DWDoiP5_.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-LOwFAFpo.js} +3 -3
- package/dist/{config-B1m2PpjB.js → config-ekflaCnS.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-iduX3Fsn.d.ts} +23 -5
- package/dist/contract/index.d.ts +9 -9
- package/dist/{controller-BrTPi8Po.d.ts → controller-DFGNChQL.d.ts} +1 -1
- package/dist/{conversion-t1F0y--Y.d.ts → conversion-DTBB0Zgt.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-BKO5EAzN.d.ts} +1 -1
- 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-By-LUpM_.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-CuNG4qB8.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-Go8BHqhr.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-DQKHxiiq.d.ts} +5 -5
- package/dist/fhir/index.d.ts +5 -5
- package/dist/{field-errors-Mo8dzoyA.d.ts → field-errors-B4SMTk2e.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-CV7Ibpek.d.ts → index-20EPlFXG.d.ts} +3 -3
- package/dist/{index-PeaYXjhx.d.ts → index-9zNFFq6E.d.ts} +6 -6
- package/dist/{index-BPz1IGUB.d.ts → index-B8axasMg.d.ts} +5 -5
- package/dist/{index-kKkGf0_-.d.ts → index-BKWnyAWN.d.ts} +5 -5
- package/dist/{index-DNdYTori.d.ts → index-BXRyr3ey.d.ts} +7 -7
- package/dist/{index-Xsu3egx_.d.ts → index-BkBNirhK.d.ts} +8 -8
- package/dist/{index-C8-8-t1s.d.ts → index-BmKtYKwN.d.ts} +9 -9
- package/dist/{index-Bxu7m8vw.d.ts → index-BoKvWo8t.d.ts} +6 -6
- package/dist/{index-Bdd-8C1P.d.ts → index-Bsd8P1iQ.d.ts} +2 -2
- package/dist/{index-BFw-iTQT.d.ts → index-BvwlIGwY.d.ts} +3 -3
- package/dist/{index-BMt0EVnl.d.ts → index-C1kImKZg.d.ts} +6 -6
- package/dist/{index-CT-3_fva.d.ts → index-CCmKc1hX.d.ts} +1 -1
- package/dist/{index-CaMHCzBp.d.ts → index-CTHuTJtf.d.ts} +2 -2
- package/dist/{index-CNNGDSxy.d.ts → index-D-bMFoGs.d.ts} +2 -2
- package/dist/{index-DLKMzlbR.d.ts → index-D337YzjX.d.ts} +8 -8
- package/dist/{index-C3pOr989.d.ts → index-D4ke5U0m.d.ts} +3 -3
- package/dist/{index-DaClvzRy.d.ts → index-D7FXhn2i.d.ts} +6 -6
- package/dist/{index-OHQg8Sdx.d.ts → index-D9Sb8Ju5.d.ts} +5 -5
- package/dist/{index-TNNEpcgG.d.ts → index-DFdqVxv6.d.ts} +6 -6
- package/dist/{index-Dndo_is2.d.ts → index-DJyt9j86.d.ts} +5 -5
- package/dist/{index-BDEwjrNn.d.ts → index-DQVQYEhP.d.ts} +2 -2
- package/dist/{index-C4QxQSYh.d.ts → index-DRsJvXo2.d.ts} +3 -3
- package/dist/{index-BpCBGOVF.d.ts → index-DXoS8BnK.d.ts} +5 -5
- package/dist/{index-DTqpt8XQ.d.ts → index-DeE-Xuv7.d.ts} +5 -5
- package/dist/{index-BLRLF6iG.d.ts → index-DfJFbsVp.d.ts} +6 -6
- package/dist/{index-xA8WHuDE.d.ts → index-Dg35ugqv.d.ts} +6 -6
- package/dist/{index-46Mwoxp8.d.ts → index-DgRK-iM3.d.ts} +9 -9
- package/dist/{index-Zf3t4MuL.d.ts → index-DkJtM-9e.d.ts} +14 -14
- package/dist/{index-DfuF_8Ph.d.ts → index-DkNLdcX_.d.ts} +7 -7
- package/dist/{index-BLpP1czF.d.ts → index-DkNMN5uU.d.ts} +7 -7
- package/dist/{index-C2ilfaOF.d.ts → index-DlXgoerO.d.ts} +5 -5
- package/dist/{index-cPzs5TsD.d.ts → index-Dy-66Gne.d.ts} +1 -1
- package/dist/{index-CnQ27iFg.d.ts → index-DzjugbCf.d.ts} +5 -5
- package/dist/{index-bOWESOEm.d.ts → index-NqLuAXG3.d.ts} +4 -4
- package/dist/{index-B2zDRJMB.d.ts → index-ROumUag2.d.ts} +4 -4
- package/dist/{index-C_Ilif3i.d.ts → index-YZ-_hzdR.d.ts} +3 -3
- package/dist/{index-YgUHItkp.d.ts → index-abVPYQE3.d.ts} +6 -6
- package/dist/{index-s1IQy8sK.d.ts → index-bJVAgXxw.d.ts} +4 -4
- package/dist/{index-BGje-MeF.d.ts → index-pRdO2XnG.d.ts} +5 -5
- package/dist/{index-ISihFGu9.d.ts → index-szXZSILq.d.ts} +9 -9
- package/dist/index.d.ts +6 -6
- package/dist/{instances-CFXFHQMK.js → instances-DJxWRqXk.js} +170 -3
- 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-B3YkuXKR.d.ts → manifest-2ZgzNTbP.d.ts} +24 -7
- package/dist/{manifest-BLOufikB.d.ts → manifest-2jLTjnVh.d.ts} +3 -3
- package/dist/{manifest-D1-lCZro.d.ts → manifest-8JvRt8LB.d.ts} +6 -6
- package/dist/{manifest-C_ZDkBv4.d.ts → manifest-B24Ymu8p.d.ts} +4 -4
- package/dist/{manifest-C9Kn7gwK.d.ts → manifest-B6EkxzC0.d.ts} +5 -5
- package/dist/{manifest-kbSJq3sR.js → manifest-BA4kiB8L.js} +1 -1
- package/dist/{manifest-BFXybbMn.d.ts → manifest-BAgvJODg.d.ts} +3 -3
- package/dist/{manifest-xAeOKTub.d.ts → manifest-BCOBkYvY.d.ts} +11 -11
- package/dist/{manifest-09aHVu5Q.d.ts → manifest-BCyCm0Z3.d.ts} +3 -3
- package/dist/{manifest-DBSs1jJ_.d.ts → manifest-BGD8cD6S.d.ts} +2 -2
- package/dist/{manifest-DQwFCQkG.d.ts → manifest-BHZEsuzC.d.ts} +4 -4
- package/dist/{manifest-CF-LsgEw.d.ts → manifest-BHlKJbN2.d.ts} +3 -3
- package/dist/{manifest-CDK8R8Ze.d.ts → manifest-BJs6pHI0.d.ts} +6 -6
- package/dist/{manifest-CazVMbdf.d.ts → manifest-BSkYvne3.d.ts} +2 -2
- package/dist/{manifest-Dvhqz3qo.d.ts → manifest-BbC83cJB.d.ts} +6 -6
- package/dist/{manifest-jb384ocG.d.ts → manifest-BeW5LlW1.d.ts} +3 -3
- package/dist/{manifest-XZV2sKgk.d.ts → manifest-BfIYKrNe.d.ts} +4 -4
- package/dist/{manifest-DMTmTHBy.d.ts → manifest-Bg5Znp_u.d.ts} +3 -3
- package/dist/{manifest-DpoO491p.d.ts → manifest-BgVQ8xd3.d.ts} +4 -4
- package/dist/{manifest-CnkVWwAg.d.ts → manifest-Bj5hfBA_.d.ts} +4 -4
- package/dist/{manifest-DyZcERh_.d.ts → manifest-BmLU5HtO.d.ts} +4 -4
- package/dist/{manifest-Bwv273Tb.d.ts → manifest-BqBVKNjy.d.ts} +20 -8
- package/dist/{manifest-Dy5_Rc0q.d.ts → manifest-BrOXXz7k.d.ts} +5 -5
- package/dist/{manifest-BdcBkznK.d.ts → manifest-BtlEwVU4.d.ts} +6 -6
- package/dist/{manifest-CgP-MDb3.d.ts → manifest-BxuSAdYu.d.ts} +4 -4
- package/dist/{manifest-COoFT2vY.d.ts → manifest-BxujRhsY.d.ts} +3 -3
- package/dist/{manifest-Dj7bGfoy.js → manifest-C-B9nV2m.js} +1 -1
- package/dist/{manifest-BYUIgwGb.d.ts → manifest-CAPSAozN.d.ts} +4 -4
- package/dist/{manifest-B3RgCccj.d.ts → manifest-CDcaLpwB.d.ts} +3 -3
- package/dist/{manifest-dlqXYOfB.d.ts → manifest-CH7g3uI3.d.ts} +6 -6
- package/dist/{manifest-CNcJxi93.d.ts → manifest-CL5QEu5B.d.ts} +4 -4
- package/dist/{manifest-X24lr5XH.js → manifest-CXxHJ2NU.js} +1 -1
- package/dist/{manifest-dLThrKqV.d.ts → manifest-CcDqfRee.d.ts} +5 -5
- package/dist/{manifest-CMnr9qpi.js → manifest-CeNAAHeR.js} +1 -1
- package/dist/{manifest-CFFaunME.d.ts → manifest-CeoUoZDs.d.ts} +4 -4
- package/dist/{manifest-Lsz6rH3B.d.ts → manifest-CfQ0nD_7.d.ts} +5 -5
- package/dist/{manifest-DF49Pt6Q.d.ts → manifest-Cko_ySTe.d.ts} +4 -4
- package/dist/{manifest-CnSZ16xc.js → manifest-CpL3pCc4.js} +1 -1
- package/dist/{manifest-BnFuyvL7.js → manifest-Cr9mpJDi.js} +4 -0
- package/dist/{manifest-CgCpK4Wm.d.ts → manifest-Csw2tVut.d.ts} +7 -7
- package/dist/{manifest-JdAQqp5w.d.ts → manifest-CszjCxVJ.d.ts} +8 -8
- package/dist/{manifest-BpiZFLbl.d.ts → manifest-Ct6mHhg4.d.ts} +5 -5
- package/dist/{manifest-D0KUPw4L.d.ts → manifest-DBmuiJ91.d.ts} +5 -5
- package/dist/{manifest-BwYOds2o.d.ts → manifest-DCPKfwsh.d.ts} +5 -5
- package/dist/{manifest-CiOcPFFy.d.ts → manifest-DGgFeLwd.d.ts} +5 -5
- package/dist/{manifest-Ccn2k0vb.d.ts → manifest-DPGJ2otk.d.ts} +4 -4
- package/dist/{manifest-Dh3kIEzu.d.ts → manifest-DWQaegX6.d.ts} +4 -4
- package/dist/{manifest-CmquAtQC.js → manifest-DZLr6Cbr.js} +1 -1
- package/dist/{manifest-RAijfop2.d.ts → manifest-Da1QZDY4.d.ts} +4 -4
- package/dist/{manifest-CaKVpJZM.d.ts → manifest-Dc1eHEJV.d.ts} +6 -6
- package/dist/{manifest-Cnb5QGMK.d.ts → manifest-DdxfAXvG.d.ts} +4 -4
- package/dist/{manifest-BSaRwzEH.js → manifest-DevURQJj.js} +19 -5
- package/dist/{manifest-Bc_2t9mY.d.ts → manifest-Dh4AJeLl.d.ts} +4 -4
- package/dist/{manifest-B5vPAt-u.d.ts → manifest-DjAdsSs4.d.ts} +8 -8
- package/dist/{manifest-CW47rgqj.d.ts → manifest-DnGgZ9_F.d.ts} +6 -6
- package/dist/{manifest-BUrKk2Ww.d.ts → manifest-DpF5bliV.d.ts} +2 -2
- package/dist/{manifest-Du_-0ruw.d.ts → manifest-DweZMH-F.d.ts} +5 -5
- package/dist/{manifest-CScOn17C.js → manifest-F35IzwVM.js} +11 -3
- package/dist/{manifest-B3xj3-ew.d.ts → manifest-H6lz9xQm.d.ts} +5 -5
- package/dist/{manifest-DEx8OSZK.js → manifest-IECPtdQj.js} +1 -1
- package/dist/{manifest-jiaWr0x4.d.ts → manifest-KHudP5T5.d.ts} +6 -6
- package/dist/{manifest-Bg1swpdk.d.ts → manifest-Oo7PegXK.d.ts} +5 -5
- package/dist/{manifest-C4CIOVkt.d.ts → manifest-RUmJ5H6p.d.ts} +3 -3
- package/dist/{manifest-BWh9leJI.js → manifest-_9ZFGQQm.js} +1 -1
- package/dist/{manifest-B4HXWUh8.d.ts → manifest-dXPq0ubY.d.ts} +8 -8
- package/dist/{manifest-a0YxYgo0.d.ts → manifest-fviCqeHj.d.ts} +4 -4
- package/dist/{manifest-ETlyMx6o.d.ts → manifest-jSOZl7qT.d.ts} +4 -4
- package/dist/{manifest-0PeNUYcv.d.ts → manifest-o-S9bj6i.d.ts} +4 -4
- package/dist/{manifest-D6ZukDGm.d.ts → manifest-qs_U2rx3.d.ts} +3 -3
- package/dist/{manifest-BpAI3Me7.js → manifest-u0q04U62.js} +2 -2
- package/dist/{manifest-y2y5xPQC.d.ts → manifest-uL5fzXsx.d.ts} +7 -7
- package/dist/{manifest-pLJIrNwi.d.ts → manifest-upfKO7JJ.d.ts} +3 -3
- package/dist/{manifest-aJOA6D9w.d.ts → manifest-vG5iHhA5.d.ts} +18 -5
- package/dist/{manifest-c8mlNzOv.d.ts → manifest-xRlf8RQk.d.ts} +4 -4
- package/dist/mapper/bin.js +5 -5
- 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-IzVAIMvs.d.ts} +1 -1
- package/dist/{options-BxdqA2Ex.js → options-CDn2OgvY.js} +1 -0
- package/dist/options-DtDvpZu7.js +4 -0
- package/dist/{options-DwIoRvic.js → options-HwnZxyI3.js} +4 -1
- package/dist/{orders-DBxCzU3w.d.ts → orders-CbJqNAF3.d.ts} +3 -3
- 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-T754eWz8.js} +1 -1
- package/dist/{permissions-u_qqedin.d.ts → permissions-DxXor_NY.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-C5BEHQi6.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/preset/index.d.ts +4 -4
- package/dist/preset/index.js +3 -3
- package/dist/{preset--1OMwypM.js → preset-8Xh21Uyw.js} +95 -3
- package/dist/{preview-BBA-VaEZ.d.ts → preview-B-mtB1ka.d.ts} +6 -6
- package/dist/{preview-Bd7ZBtf2.js → preview-CUiY7kzV.js} +2 -2
- package/dist/{project-BhE6_64F.js → project-C6JAWCnH.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-TWXWra8i.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-B9-7RhYz.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-CLHrvNDm.js} +1 -1
- 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 +5 -5
- package/dist/sql/index.js +3 -3
- package/dist/{sql-BVUbNexh.js → sql-Bam07JIf.js} +7277 -5001
- 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-BpJ2F2b_.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-LHtdAJnM.d.ts} +5 -5
- package/dist/{topic-fwPlelNI.d.ts → topic-4KYLvvTB.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-Dfa7b0KI.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-C9DIO476.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 +44 -3
- package/schemas/snapshot-v2.json +6 -0
- package/dist/cli/add-C4B2wdfz.js +0 -1
- package/dist/cli/powersync-BejxIowk.js +0 -1
package/README.md
CHANGED
|
@@ -136,7 +136,7 @@ Each feature is its own entry, so an app only loads what it imports.
|
|
|
136
136
|
| Area | Start here |
|
|
137
137
|
| --------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
138
138
|
| Repositories, results and config | [`better-supabase`](https://bettersupabase.com/docs/repository) |
|
|
139
|
-
| Server, Postgres and auth | [`better-supabase/server`](https://bettersupabase.com/docs/auth/server)
|
|
139
|
+
| Server, Postgres and auth | [`better-supabase/server`](https://bettersupabase.com/docs/auth/server) and [`better-supabase/auth`](https://bettersupabase.com/docs/auth/server) |
|
|
140
140
|
| Framework adapters | [`better-supabase/next`](https://bettersupabase.com/docs/frameworks) |
|
|
141
141
|
| Browser client and data hooks | [`better-supabase/client`](https://bettersupabase.com/docs/frontend/client) |
|
|
142
142
|
| Blocks | [`better-supabase/blocks/<name>`](https://bettersupabase.com/docs/blocks) |
|
|
@@ -1,14 +1,14 @@
|
|
|
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 { f as AiFiles } from "./types-
|
|
9
|
-
import { _ as JobHandler } from "./types-
|
|
10
|
-
import { r as BlockTemporalOptions } from "./block-helpers-
|
|
11
|
-
import { a as EngagementRecording, d as Transcript, f as TranscriptSegment, i as EngagementNotesInput, l as Transcriber, r as EngagementNotes, s as NoteTaker } from "./recordings-
|
|
8
|
+
import { f as AiFiles } from "./types-M37hpCz_.js";
|
|
9
|
+
import { _ as JobHandler } from "./types-CTb0Uroz.js";
|
|
10
|
+
import { r as BlockTemporalOptions } from "./block-helpers-rTsuHt6v.js";
|
|
11
|
+
import { a as EngagementRecording, d as Transcript, f as TranscriptSegment, i as EngagementNotesInput, l as Transcriber, r as EngagementNotes, s as NoteTaker } from "./recordings-1yDvOqM4.js";
|
|
12
12
|
/** A record an engagement is on. */
|
|
13
13
|
interface EngagementSubject {
|
|
14
14
|
readonly type: string;
|
|
@@ -1877,6 +1877,49 @@ function supportStorage(options) {
|
|
|
1877
1877
|
}
|
|
1878
1878
|
};
|
|
1879
1879
|
}
|
|
1880
|
+
// src/server/transaction.ts
|
|
1881
|
+
var RolledBack = class extends Error {};
|
|
1882
|
+
function isFailedResult(value) {
|
|
1883
|
+
return typeof value === "object" && value !== null && "ok" in value && value.ok === false;
|
|
1884
|
+
}
|
|
1885
|
+
/**
|
|
1886
|
+
* `server.transaction`: runs `fn` as the user on a `Db` bound to one
|
|
1887
|
+
* transaction. A throw rolls back; so does a returned failed `Result`, which is
|
|
1888
|
+
* still returned.
|
|
1889
|
+
*/
|
|
1890
|
+
async function runServerTransaction(postgres, connect, userId, fn, options = {}) {
|
|
1891
|
+
if (!postgres?.transactionFor) throw new TypeError("server.transaction needs createServer(betterSupabase, { postgres: createPostgres() })");
|
|
1892
|
+
const claims = {
|
|
1893
|
+
role: "authenticated",
|
|
1894
|
+
...options.claims,
|
|
1895
|
+
sub: userId
|
|
1896
|
+
};
|
|
1897
|
+
let failed;
|
|
1898
|
+
try {
|
|
1899
|
+
return await postgres.transactionFor(claims, async (executor) => {
|
|
1900
|
+
const value = await fn(connect(executor, {
|
|
1901
|
+
actor: {
|
|
1902
|
+
id: userId,
|
|
1903
|
+
kind: "user",
|
|
1904
|
+
role: claims.role ?? "authenticated"
|
|
1905
|
+
},
|
|
1906
|
+
claims,
|
|
1907
|
+
...options.tenant === void 0 ? {} : { tenant: options.tenant }
|
|
1908
|
+
}));
|
|
1909
|
+
if (isFailedResult(value)) {
|
|
1910
|
+
failed = { value };
|
|
1911
|
+
throw new RolledBack();
|
|
1912
|
+
}
|
|
1913
|
+
return value;
|
|
1914
|
+
}, options.session);
|
|
1915
|
+
} catch (cause) {
|
|
1916
|
+
if (cause instanceof RolledBack && failed) return failed.value;
|
|
1917
|
+
throw cause;
|
|
1918
|
+
}
|
|
1919
|
+
}
|
|
1920
|
+
function serverTransaction(postgres, betterSupabase) {
|
|
1921
|
+
return (userId, fn, options) => runServerTransaction(postgres, (executor, context) => betterSupabase.connect(executor, context), userId, fn, options);
|
|
1922
|
+
}
|
|
1880
1923
|
// src/server/verify-count.ts
|
|
1881
1924
|
const countVerifications = (forward) => {
|
|
1882
1925
|
let verifications = 0;
|
|
@@ -2402,6 +2445,7 @@ function createServer(betterSupabase, options = {}) {
|
|
|
2402
2445
|
claims: full
|
|
2403
2446
|
});
|
|
2404
2447
|
},
|
|
2448
|
+
transaction: serverTransaction(options.postgres, betterSupabase),
|
|
2405
2449
|
forContext: (context, forOptions = {}) => AsyncResult.from(async () => {
|
|
2406
2450
|
const subject = await ticketSubject(context, forOptions.ticket ?? options.authorization?.tickets?.subject);
|
|
2407
2451
|
if (!subject.ok) return subject;
|
|
@@ -1,12 +1,12 @@
|
|
|
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 { p as KnowledgeScope } from "./knowledge-
|
|
9
|
-
import { r as BlockTemporalOptions } from "./block-helpers-
|
|
8
|
+
import { p as KnowledgeScope } from "./knowledge-vrO4Poa5.js";
|
|
9
|
+
import { r as BlockTemporalOptions } from "./block-helpers-rTsuHt6v.js";
|
|
10
10
|
type AgentVisibility = "private" | "organization" | "public";
|
|
11
11
|
/** A knowledge scope an agent searches: its own (`agent`) or another one. */
|
|
12
12
|
interface AgentKnowledgeScope {
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { a as SessionActor, r as AgentActOptions } from "./actor-DseNR02I.js";
|
|
2
|
-
import { t as Agent } from "./agents-
|
|
3
|
-
import { A as AiModerationStage, D as AiModerationAction, W as AiToolPolicy, t as AiChat } from "./ai-chat-
|
|
4
|
-
import { l as KnowledgeHit, m as KnowledgeSearchOptions, o as Knowledge } from "./knowledge-
|
|
5
|
-
import { t as OperationTable } from "./operations-
|
|
6
|
-
import { a as SearchToolOptions, i as ResultsFilter } from "./embeddings-
|
|
2
|
+
import { t as Agent } from "./agents-BOzK0MbI.js";
|
|
3
|
+
import { A as AiModerationStage, D as AiModerationAction, W as AiToolPolicy, t as AiChat } from "./ai-chat-DiXgrAd3.js";
|
|
4
|
+
import { l as KnowledgeHit, m as KnowledgeSearchOptions, o as Knowledge } from "./knowledge-vrO4Poa5.js";
|
|
5
|
+
import { t as OperationTable } from "./operations-IzVAIMvs.js";
|
|
6
|
+
import { a as SearchToolOptions, i as ResultsFilter } from "./embeddings-DA6mQZKv.js";
|
|
7
7
|
import { n as GatewayOptions } from "./gateway-options-Mut8jih_.js";
|
|
8
|
-
import { r as AuthorizationOperation } from "./authorization-
|
|
8
|
+
import { r as AuthorizationOperation } from "./authorization-Bk6cLL5f.js";
|
|
9
9
|
import { LanguageModel, LanguageModelMiddleware, StopCondition, ToolLoopAgent, ToolLoopAgentSettings, ToolSet, pruneMessages } from "ai";
|
|
10
10
|
/**
|
|
11
11
|
* Who runs an agent: the user from the verified session, never a model or tool
|
|
@@ -1,10 +1,10 @@
|
|
|
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 { _ as JobHandler } from "./types-
|
|
7
|
-
import { r as BlockTemporalOptions } from "./block-helpers-
|
|
6
|
+
import { _ as JobHandler } from "./types-CTb0Uroz.js";
|
|
7
|
+
import { r as BlockTemporalOptions } from "./block-helpers-rTsuHt6v.js";
|
|
8
8
|
/**
|
|
9
9
|
* What an entry caches: a whole generation, a replayable stream, embeddings, or
|
|
10
10
|
* anything else.
|
|
@@ -1,14 +1,14 @@
|
|
|
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 { r as BlockTemporalOptions } from "./block-helpers-
|
|
8
|
+
import { r as BlockTemporalOptions } from "./block-helpers-rTsuHt6v.js";
|
|
9
9
|
import { n as FinalRunState, r as RunState } from "./run-state-D0Tbl-nM.js";
|
|
10
10
|
import { i as AiMessage, s as AiMessageRole } from "./message-Chvocrom.js";
|
|
11
|
-
import { i as AiSandboxes } from "./sandboxes-
|
|
11
|
+
import { i as AiSandboxes } from "./sandboxes-CjBtYDtC.js";
|
|
12
12
|
/** Where a run is: written by `runs.claim`, `release` and `stop`. */
|
|
13
13
|
type AiRunState = Exclude<RunState, "waiting">;
|
|
14
14
|
/** One generation of a chat, as `ai_runs` stores it. */
|
|
@@ -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
|
/** The kinds of personal data `scanPii` finds. */
|
|
8
8
|
declare const PII_KINDS: readonly ["card", "iban", "ssn", "email", "phone"];
|
|
9
9
|
type PiiKind = (typeof PII_KINDS)[number];
|
|
@@ -1,14 +1,14 @@
|
|
|
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 { r as RunState } from "./run-state-D0Tbl-nM.js";
|
|
8
8
|
import { t as StandardSchemaV1 } from "./standard-CiOWpeZL.js";
|
|
9
|
-
import {
|
|
10
|
-
import { _ as JobHandler } from "./types-
|
|
11
|
-
import { r as BlockTemporalOptions } from "./block-helpers-
|
|
9
|
+
import { ft as Notifier } from "./define-block-By-LUpM_.js";
|
|
10
|
+
import { _ as JobHandler } from "./types-CTb0Uroz.js";
|
|
11
|
+
import { r as BlockTemporalOptions } from "./block-helpers-rTsuHt6v.js";
|
|
12
12
|
/** A task run's state, in the words ai-chat and workflow runs share. */
|
|
13
13
|
type AiTaskRunStatus = Extract<RunState, "queued" | "running" | "completed" | "failed">;
|
|
14
14
|
interface AiTaskRun {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { a as AgentSkill, l as Agents, s as AgentSkillProviderRef, t as Agent } from "../../agents-
|
|
2
|
-
import { A as toolDelegated, C as AgentToolOperation, D as agentRunContext, E as ToolDelegation, O as agentToolOperation, S as AgentToolCallContext, T as AgentToolPermissions, _ as AgentCaller, a as AgentToolApprovalFunction, b as AgentRunContext, c as ModerationVerdict, d as agentToolApproval, f as agentTools, g as AgentActor, h as moderationMiddleware, i as AgentRuntimeParts, k as assertToolDelegated, l as agentRuntimeParts, m as mergeGatewayOptions, n as AgentPassthroughSettings, o as ModerationBlockedError, p as createAgentRuntime, r as AgentRuntimeOptions, s as ModerationMiddlewareOptions, t as AgentCompactOptions, u as agentScopes, v as AgentModelAuthorizer, w as AgentToolOperations, x as AgentToolAuthorizer, y as AgentResultsContext } from "../../agents-
|
|
1
|
+
import { a as AgentSkill, l as Agents, s as AgentSkillProviderRef, t as Agent } from "../../agents-BOzK0MbI.js";
|
|
2
|
+
import { A as toolDelegated, C as AgentToolOperation, D as agentRunContext, E as ToolDelegation, O as agentToolOperation, S as AgentToolCallContext, T as AgentToolPermissions, _ as AgentCaller, a as AgentToolApprovalFunction, b as AgentRunContext, c as ModerationVerdict, d as agentToolApproval, f as agentTools, g as AgentActor, h as moderationMiddleware, i as AgentRuntimeParts, k as assertToolDelegated, l as agentRuntimeParts, m as mergeGatewayOptions, n as AgentPassthroughSettings, o as ModerationBlockedError, p as createAgentRuntime, r as AgentRuntimeOptions, s as ModerationMiddlewareOptions, t as AgentCompactOptions, u as agentScopes, v as AgentModelAuthorizer, w as AgentToolOperations, x as AgentToolAuthorizer, y as AgentResultsContext } from "../../agents-DcZk8HBB.js";
|
|
3
3
|
import { c as agentClaims, r as AgentActOptions } from "../../actor-DseNR02I.js";
|
|
4
4
|
import { t as AsyncResult } from "../../result-CMqlHv82.js";
|
|
5
5
|
import { ProviderReference, uploadSkill } from "ai";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { c as AiKeys, i as AiBatchItemInput, r as AiBatchItem, t as AiBatch } from "../../types-
|
|
2
|
-
import { _ as JobHandler } from "../../types-
|
|
3
|
-
import { i as CursorPageOptions } from "../../block-helpers-
|
|
1
|
+
import { c as AiKeys, i as AiBatchItemInput, r as AiBatchItem, t as AiBatch } from "../../types-hL1lelUA.js";
|
|
2
|
+
import { _ as JobHandler } from "../../types-CTb0Uroz.js";
|
|
3
|
+
import { i as CursorPageOptions } from "../../block-helpers-rTsuHt6v.js";
|
|
4
4
|
import { t as AsyncResult } from "../../result-CMqlHv82.js";
|
|
5
5
|
import { Experimental_BatchItemResult, Experimental_BatchProvider, Experimental_BatchReference, Experimental_BatchStatus, Experimental_ListBatchesOptions, Experimental_ListBatchesResult, Experimental_StartBatchOptions, Experimental_StartBatchResult } from "ai";
|
|
6
6
|
/** The AI SDK batch calls, replaceable in tests. */
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as AiCache } from "../../ai-cache-
|
|
1
|
+
import { t as AiCache } from "../../ai-cache-BvDaB1pY.js";
|
|
2
2
|
import { b as DbError } from "../../result-CMqlHv82.js";
|
|
3
3
|
import { LanguageModelMiddleware } from "ai";
|
|
4
4
|
type WrapGenerate = NonNullable<LanguageModelMiddleware["wrapGenerate"]>;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { a as AssistantModeration, c as AssistantRunArgs, d as AssistantTurn, f as AssistantValidation, i as AssistantMessageMetadata, l as AssistantRunResult, m as createAssistant, n as AssistantContext, o as AssistantOptions, p as assistantMetadata, r as AssistantFinish, s as AssistantRequestBody, t as Assistant, u as AssistantStreamOptions } from "../../assistant-
|
|
1
|
+
import { a as AssistantModeration, c as AssistantRunArgs, d as AssistantTurn, f as AssistantValidation, i as AssistantMessageMetadata, l as AssistantRunResult, m as createAssistant, n as AssistantContext, o as AssistantOptions, p as assistantMetadata, r as AssistantFinish, s as AssistantRequestBody, t as Assistant, u as AssistantStreamOptions } from "../../assistant-Du8hceVj.js";
|
|
2
2
|
import { b as DbError } from "../../result-CMqlHv82.js";
|
|
3
3
|
import { t as StandardSchemaV1 } from "../../standard-CiOWpeZL.js";
|
|
4
4
|
import { n as GatewayOptions } from "../../gateway-options-Mut8jih_.js";
|
|
5
|
-
import { t as AiUsage } from "../../gateway-
|
|
5
|
+
import { t as AiUsage } from "../../gateway-Dwd08sBI.js";
|
|
6
6
|
import { LanguageModelUsage } from "ai";
|
|
7
7
|
/** Who asks, for one generation request. */
|
|
8
8
|
interface GenerationContext {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { l as KnowledgeHit, r as Embedder } from "../../knowledge-
|
|
2
|
-
import { a as SearchToolOptions, c as SupabaseEmbedOptions, d as modelName, f as rerankHits, g as toSourceParts, h as supabaseEmbed, i as ResultsFilter, l as embedWith, m as searchTool, n as EmbeddingCacheMiddlewareOptions, o as SearchToolResult, p as rerankWith, r as Reranker, s as SupabaseAiSession, t as EmbedWithOptions, u as embeddingCacheMiddleware } from "../../embeddings-
|
|
1
|
+
import { l as KnowledgeHit, r as Embedder } from "../../knowledge-vrO4Poa5.js";
|
|
2
|
+
import { a as SearchToolOptions, c as SupabaseEmbedOptions, d as modelName, f as rerankHits, g as toSourceParts, h as supabaseEmbed, i as ResultsFilter, l as embedWith, m as searchTool, n as EmbeddingCacheMiddlewareOptions, o as SearchToolResult, p as rerankWith, r as Reranker, s as SupabaseAiSession, t as EmbedWithOptions, u as embeddingCacheMiddleware } from "../../embeddings-DA6mQZKv.js";
|
|
3
3
|
/** One queued row, as `process_embeddings` sends it. */
|
|
4
4
|
interface EmbeddingJob {
|
|
5
5
|
readonly msgId: number;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/// <reference lib="esnext.temporal" />
|
|
2
2
|
import { r as AiFilePart } from "../../message-Chvocrom.js";
|
|
3
|
-
import { c as AiFileSource, f as AiFiles } from "../../types-
|
|
3
|
+
import { c as AiFileSource, f as AiFiles } from "../../types-M37hpCz_.js";
|
|
4
4
|
import { b as DbError, t as AsyncResult } from "../../result-CMqlHv82.js";
|
|
5
5
|
import { Experimental_DownloadFunction, ProviderReference, UIMessage, uploadFile } from "ai";
|
|
6
6
|
interface AiFileDownloadOptions {
|
package/dist/ai-sdk/index.d.ts
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
/// <reference lib="esnext.temporal" />
|
|
2
|
-
import { a as GatewayClient, c as UsageSource, d as modelInputOf, f as problem429, h as usageQuota, i as CostBackfillPayload, l as costBackfill, m as usageOf, n as AiUsageMeters, o as GatewayModelEntry, p as usageEntries, r as CostBackfillOptions, s as ModelCatalogRefreshOptions, t as AiUsage, u as modelCatalogRefresh } from "../gateway-
|
|
3
|
-
import { r as GuardTextOptions, t as AiGuardrails } from "../ai-guardrails-
|
|
4
|
-
import { t as RateLimit } from "../rate-limit-
|
|
2
|
+
import { a as GatewayClient, c as UsageSource, d as modelInputOf, f as problem429, h as usageQuota, i as CostBackfillPayload, l as costBackfill, m as usageOf, n as AiUsageMeters, o as GatewayModelEntry, p as usageEntries, r as CostBackfillOptions, s as ModelCatalogRefreshOptions, t as AiUsage, u as modelCatalogRefresh } from "../gateway-Dwd08sBI.js";
|
|
3
|
+
import { r as GuardTextOptions, t as AiGuardrails } from "../ai-guardrails-DEofLB_z.js";
|
|
4
|
+
import { t as RateLimit } from "../rate-limit-5FLBVmTC.js";
|
|
5
5
|
import { i as AiMessage } from "../message-Chvocrom.js";
|
|
6
6
|
import { b as DbError, f as Result, t as AsyncResult } from "../result-CMqlHv82.js";
|
|
7
7
|
import { i as fromModelMessages, n as ModelApproval, r as ModelSource, t as FromModelMessagesOptions } from "../model-messages-CK7L1_hV.js";
|
|
8
|
-
import { i as AiSandboxes } from "../sandboxes-
|
|
9
|
-
import { c as AiKeys, p as ResolvedProviderKey } from "../types-
|
|
8
|
+
import { i as AiSandboxes } from "../sandboxes-CjBtYDtC.js";
|
|
9
|
+
import { c as AiKeys, p as ResolvedProviderKey } from "../types-hL1lelUA.js";
|
|
10
10
|
import { n as GatewayOptions, r as gatewayOptions, t as GatewayContext } from "../gateway-options-Mut8jih_.js";
|
|
11
11
|
import { i as ThreadSummarizer, o as ThreadSummaryInput, s as ThreadSummaryOutput } from "../summaries-CUemsYwV.js";
|
|
12
|
-
import { _ as JobHandler } from "../types-
|
|
13
|
-
import { a as Usage } from "../usage-
|
|
14
|
-
import { l as Transcriber } from "../recordings-
|
|
12
|
+
import { _ as JobHandler } from "../types-CTb0Uroz.js";
|
|
13
|
+
import { a as Usage } from "../usage-D4Fho6t9.js";
|
|
14
|
+
import { l as Transcriber } from "../recordings-1yDvOqM4.js";
|
|
15
15
|
import { Experimental_SandboxSession, LanguageModel, LanguageModelMiddleware, Telemetry, Tool, UIMessage, safeValidateUIMessages, toolSearch, transcribe } from "ai";
|
|
16
16
|
/** What `guardrailsMiddleware` takes: the options of `guardText`. */
|
|
17
17
|
type GuardrailsMiddlewareOptions = GuardTextOptions;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { r as ConnectorServer, s as Connectors } from "../../connectors-
|
|
2
|
-
import { i as CredentialRef, r as CredentialProvider } from "../../provider-
|
|
3
|
-
import { n as VaultCredentials } from "../../vault-
|
|
1
|
+
import { r as ConnectorServer, s as Connectors } from "../../connectors-DbxxDqyA.js";
|
|
2
|
+
import { i as CredentialRef, r as CredentialProvider } from "../../provider-ChtwfkqL.js";
|
|
3
|
+
import { n as VaultCredentials } from "../../vault-CgioaiiD.js";
|
|
4
4
|
import { b as DbError, t as AsyncResult } from "../../result-CMqlHv82.js";
|
|
5
5
|
import { i as SupabaseMcpScope, n as SupabaseMcpModule, t as SupabaseMcpFeature } from "../../supabase-mcp-DY32eoax.js";
|
|
6
6
|
import { ToolSet } from "ai";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { i as MemoryHit, n as MemoryCommand, s as MemoryNamespace, t as Memory } from "../../types-
|
|
2
|
-
import { _ as JobHandler } from "../../types-
|
|
3
|
-
import { i as ResultsFilter } from "../../embeddings-
|
|
1
|
+
import { i as MemoryHit, n as MemoryCommand, s as MemoryNamespace, t as Memory } from "../../types-CJG0BntG.js";
|
|
2
|
+
import { _ as JobHandler } from "../../types-CTb0Uroz.js";
|
|
3
|
+
import { i as ResultsFilter } from "../../embeddings-DA6mQZKv.js";
|
|
4
4
|
import { LanguageModel, Tool } from "ai";
|
|
5
5
|
/** The memory tool for any model, with the commands of Anthropic's memory tool. */
|
|
6
6
|
export declare function memoryTool(memory: Memory, organizationId: string, ns?: MemoryNamespace): Tool<MemoryCommand, string>;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { b as AgentRunContext, r as AgentRuntimeOptions } from "../../agents-
|
|
1
|
+
import { b as AgentRunContext, r as AgentRuntimeOptions } from "../../agents-DcZk8HBB.js";
|
|
2
2
|
import { o as StreamStore } from "../../store-CGXNwUwi.js";
|
|
3
3
|
import { n as GatewayOptions } from "../../gateway-options-Mut8jih_.js";
|
|
4
|
-
import { d as AssistantTurn, n as AssistantContext, t as Assistant } from "../../assistant-
|
|
5
|
-
import { B as AiStoredMessageStatus, I as AiRunStatus, t as AiChat } from "../../ai-chat-
|
|
4
|
+
import { d as AssistantTurn, n as AssistantContext, t as Assistant } from "../../assistant-Du8hceVj.js";
|
|
5
|
+
import { B as AiStoredMessageStatus, I as AiRunStatus, t as AiChat } from "../../ai-chat-DiXgrAd3.js";
|
|
6
6
|
import { i as AiMessage } from "../../message-Chvocrom.js";
|
|
7
|
-
import { i as CostBackfillPayload, t as AiUsage } from "../../gateway-
|
|
7
|
+
import { i as CostBackfillPayload, t as AiUsage } from "../../gateway-Dwd08sBI.js";
|
|
8
8
|
import { r as ModelSource } from "../../model-messages-CK7L1_hV.js";
|
|
9
9
|
import { LanguageModelUsage, ModelMessage, ToolSet, UIMessage } from "ai";
|
|
10
10
|
import { ModelCallStreamPart, WorkflowAgent } from "@ai-sdk/workflow";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { t as SPEC_PINS } from "./spec-pins-Bb6V8nR2.js";
|
|
2
2
|
import { c as SpecDiagnostic, i as DocumentOf, l as VersionOf, s as RenderedOf, t as AnyDocumentFormat } from "./format-BT0Z3V54.js";
|
|
3
3
|
import { C as ModelWebhook, E as OperationSource, O as SecurityRequirement, S as ModelTag, a as JsonSchema, b as ModelServer, d as ModelInfo, f as ModelMessage, i as JsonObject, m as ModelOperation, n as DataApiOperation, p as ModelMessageTrait, r as HttpMethod, s as ModelChannel, t as ApiModel, v as ModelSecurityProfileRequirement, w as ModelWorkflow, y as ModelSecurityScheme } from "./model-Lxa_mOzB.js";
|
|
4
|
-
import { Ct as AnyPlugin, d as MutationIntent, en as Authorizer, st as SchemaMeta } from "./types-
|
|
5
|
-
import { i as DbBlockSource } from "./db-blocks-
|
|
6
|
-
import { wt as EventMap } from "./events-
|
|
4
|
+
import { Ct as AnyPlugin, d as MutationIntent, en as Authorizer, st as SchemaMeta } from "./types-BlBju7Wa.js";
|
|
5
|
+
import { i as DbBlockSource } from "./db-blocks-CzhzWfvR.js";
|
|
6
|
+
import { wt as EventMap } from "./events-DN9PAcjq.js";
|
|
7
7
|
import { t as RealtimeStatus } from "./realtime-status-D3oUx3o4.js";
|
|
8
|
-
import { n as CloudEventOptions } from "./cloud-event-
|
|
9
|
-
import { a as ResourcePlan, o as StandardLike, r as ResourceDescription, t as ErrorResponse } from "./resource-
|
|
8
|
+
import { n as CloudEventOptions } from "./cloud-event-Dj2V1lQw.js";
|
|
9
|
+
import { a as ResourcePlan, o as StandardLike, r as ResourceDescription, t as ErrorResponse } from "./resource-BDVguZzJ.js";
|
|
10
10
|
import { StandardSchemaV1 } from "@standard-schema/spec";
|
|
11
11
|
type Json = Record<string, unknown>;
|
|
12
12
|
/**
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
/// <reference lib="esnext.temporal" />
|
|
2
|
-
import { n as AuthResolver } from "./resolve-
|
|
2
|
+
import { n as AuthResolver } from "./resolve-B9Rn2M5c.js";
|
|
3
3
|
import { r as FieldsOf } from "./block-fields-Cq2MlJJD.js";
|
|
4
|
-
import { n as BlockHooks } from "./block-hooks-
|
|
5
|
-
import { t as BlockTransport } from "./block-transport-
|
|
4
|
+
import { n as BlockHooks } from "./block-hooks-FM9t7ol_.js";
|
|
5
|
+
import { t as BlockTransport } from "./block-transport-CP4wAHU-.js";
|
|
6
6
|
import { n as Logger } from "./logger-0LfhvwE4.js";
|
|
7
7
|
import { t as StandardSchemaV1 } from "./standard-CiOWpeZL.js";
|
|
8
|
-
import { r as BlockTemporalOptions } from "./block-helpers-
|
|
8
|
+
import { r as BlockTemporalOptions } from "./block-helpers-rTsuHt6v.js";
|
|
9
9
|
import { t as AsyncResult } from "./result-CMqlHv82.js";
|
|
10
10
|
import { JWTClaims } from "@supabase/server";
|
|
11
11
|
type ApiKeyState = "active" | "grace" | "revoked" | "expired";
|
|
@@ -1,14 +1,14 @@
|
|
|
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 { r as BlockTemporalOptions, s as BlockTenantOptions } from "./block-helpers-
|
|
5
|
-
import { t as BlockTransport } from "./block-transport-
|
|
6
|
-
import { i as AuthorizationHooks, n as Approver } from "./authorization-hooks-
|
|
3
|
+
import { n as BlockHooks } from "./block-hooks-FM9t7ol_.js";
|
|
4
|
+
import { r as BlockTemporalOptions, s as BlockTenantOptions } from "./block-helpers-rTsuHt6v.js";
|
|
5
|
+
import { t as BlockTransport } from "./block-transport-CP4wAHU-.js";
|
|
6
|
+
import { i as AuthorizationHooks, n as Approver } from "./authorization-hooks-DM_ijJsD.js";
|
|
7
7
|
import { T as ErrorMapper, t as AsyncResult } from "./result-CMqlHv82.js";
|
|
8
8
|
import { n as Logger } from "./logger-0LfhvwE4.js";
|
|
9
9
|
import { t as StandardSchemaV1 } from "./standard-CiOWpeZL.js";
|
|
10
|
-
import { h as FilterQuery } from "./filter-query-
|
|
11
|
-
import { et as RecordRef } from "./types-
|
|
10
|
+
import { h as FilterQuery } from "./filter-query-CJ3wcwqH.js";
|
|
11
|
+
import { et as RecordRef } from "./types-BlBju7Wa.js";
|
|
12
12
|
interface ApprovalsOptions<S extends StandardSchemaV1 | undefined = undefined> extends BlockTemporalOptions, BlockTenantOptions {
|
|
13
13
|
readonly transport: BlockTransport;
|
|
14
14
|
/**
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { D as AiModerationAction, G as AiUserMessageTrigger, I as AiRunStatus, t as AiChat, y as AiChatRecord } from "./ai-chat-
|
|
1
|
+
import { D as AiModerationAction, G as AiUserMessageTrigger, I as AiRunStatus, t as AiChat, y as AiChatRecord } from "./ai-chat-DiXgrAd3.js";
|
|
2
2
|
import { i as AiMessage } from "./message-Chvocrom.js";
|
|
3
3
|
import { b as DbError } from "./result-CMqlHv82.js";
|
|
4
4
|
import { n as GatewayOptions } from "./gateway-options-Mut8jih_.js";
|
|
5
5
|
import { o as StreamStore } from "./store-CGXNwUwi.js";
|
|
6
|
-
import { i as CostBackfillPayload, t as AiUsage } from "./gateway-
|
|
6
|
+
import { i as CostBackfillPayload, t as AiUsage } from "./gateway-Dwd08sBI.js";
|
|
7
7
|
import { FinishReason, LanguageModelUsage, ModelMessage, TextStreamPart, ToolSet, UIMessage, UIMessageStreamOptions, safeValidateUIMessages } from "ai";
|
|
8
8
|
/** Who asks, for one request. */
|
|
9
9
|
interface AssistantContext {
|
package/dist/astro/index.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { O as AnyFunctions, Ut as AnyAuthorizer, in as PermissionRef, k as AnyModels } from "../types-
|
|
2
|
-
import { s as BetterSupabase } from "../db-blocks-
|
|
3
|
-
import { n as FrameworkOptions, r as LocalsResource, t as FrameworkLocals } from "../framework-
|
|
4
|
-
import { a as AuthorizedContext, l as Unwrapped, n as ActionParsed, o as BlockActionOptions, r as ActionResult, s as BlockRequireOptions } from "../kit-
|
|
5
|
-
import { r as BetterServer } from "../server-types-
|
|
6
|
-
import { P as StorageImageOptions } from "../index-
|
|
7
|
-
import { t as RefusalRedirects } from "../refusal-
|
|
1
|
+
import { O as AnyFunctions, Ut as AnyAuthorizer, in as PermissionRef, k as AnyModels } from "../types-BlBju7Wa.js";
|
|
2
|
+
import { s as BetterSupabase } from "../db-blocks-CzhzWfvR.js";
|
|
3
|
+
import { n as FrameworkOptions, r as LocalsResource, t as FrameworkLocals } from "../framework-B9hr-1OW.js";
|
|
4
|
+
import { a as AuthorizedContext, l as Unwrapped, n as ActionParsed, o as BlockActionOptions, r as ActionResult, s as BlockRequireOptions } from "../kit-EFsCynmb.js";
|
|
5
|
+
import { r as BetterServer } from "../server-types-Cf4eX4kr.js";
|
|
6
|
+
import { P as StorageImageOptions } from "../index-Dy-66Gne.js";
|
|
7
|
+
import { t as RefusalRedirects } from "../refusal-nCMn-Fnw.js";
|
|
8
8
|
import { StandardSchemaV1 } from "@standard-schema/spec";
|
|
9
9
|
/**
|
|
10
10
|
* The part of Astro's `APIContext` (middleware, pages, endpoints, actions) the
|
package/dist/astro/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as around } from "../shared-Ci1g9nl4.js";
|
|
2
|
-
import { c as extendServer, n as flushEvents, s as createServer } from "../adapter-
|
|
3
|
-
import { i as localsOf, r as frameworkEntry } from "../framework-
|
|
2
|
+
import { c as extendServer, n as flushEvents, s as createServer } from "../adapter-D7GH81nF.js";
|
|
3
|
+
import { i as localsOf, r as frameworkEntry } from "../framework-B6jEuZLs.js";
|
|
4
4
|
import { c as defaultExpose, i as requireCaller, o as runAction } from "../kit-CBdolcQN.js";
|
|
5
5
|
import { r as refusalResponse } from "../refusal-Pue3-a0A.js";
|
|
6
6
|
import { i as storageImageUrl } from "../image-url-bsGeybeg.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as authorOf } from "./block-authors-
|
|
1
|
+
import { t as authorOf } from "./block-authors-Dt8tG1o9.js";
|
|
2
2
|
import { c as withFields, i as extraOf, n as blockFields, r as extraFieldsArg, t as allWithFields } from "./block-fields-BKx78iez.js";
|
|
3
3
|
import { r as withBlockHooks } from "./block-hooks-Bd5bRM9B.js";
|
|
4
4
|
import { n as optionalRecordRefOf } from "./block-subjects-DgWgoNtn.js";
|
|
@@ -61,6 +61,8 @@ function attachmentOf(value) {
|
|
|
61
61
|
createdAt: toInstant(textOf(row["created_at"])),
|
|
62
62
|
uploadedAt: optionalInstant(row["uploaded_at"]),
|
|
63
63
|
scannedAt: optionalInstant(row["scanned_at"]),
|
|
64
|
+
sha256: optionalText(row["sha256"]),
|
|
65
|
+
hashVerifiedAt: optionalInstant(row["hash_verified_at"]),
|
|
64
66
|
documentTypeId: optionalText(row["document_type_id"]),
|
|
65
67
|
source: optionalText(row["source"]),
|
|
66
68
|
externalId: optionalText(row["external_id"]),
|
|
@@ -95,6 +97,8 @@ function attachmentVersionOf(value) {
|
|
|
95
97
|
uploadedBy: optionalText(row["uploaded_by"]),
|
|
96
98
|
uploadedAt: optionalInstant(row["uploaded_at"]),
|
|
97
99
|
scannedAt: optionalInstant(row["scanned_at"]),
|
|
100
|
+
sha256: optionalText(row["sha256"]),
|
|
101
|
+
hashVerifiedAt: optionalInstant(row["hash_verified_at"]),
|
|
98
102
|
archivedAt: toInstant(textOf(row["archived_at"]))
|
|
99
103
|
};
|
|
100
104
|
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/** What an Auth error means for the caller. */
|
|
2
|
+
type AuthErrorKind = "retryable" | "session-missing" | "invalid-credentials" | "rate-limited" | "banned" | "unknown";
|
|
3
|
+
/**
|
|
4
|
+
* Classifies an auth-js error. `code` and `status` decide first; the message is
|
|
5
|
+
* the fallback for older Auth servers.
|
|
6
|
+
*/
|
|
7
|
+
export declare function authErrorKind(error: unknown): AuthErrorKind;
|
|
8
|
+
export type { AuthErrorKind };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { t as authErrorKind } from "../error-kind-Bkmljt19.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { d as DisabledRow, n as ActiveTenantSource } from "./blocks-
|
|
1
|
+
import { d as DisabledRow, n as ActiveTenantSource } from "./blocks-LZklPzC5.js";
|
|
2
2
|
/**
|
|
3
3
|
* SQL expression templates the SQL modules and the access policies call.
|
|
4
4
|
* `{permission}` is a text expression (a literal or a parameter), `{user}` a
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { r as AuthState } from "./resolve-
|
|
2
|
-
import { It as RequestContext } from "./types-
|
|
1
|
+
import { r as AuthState } from "./resolve-B9Rn2M5c.js";
|
|
2
|
+
import { It as RequestContext } from "./types-BlBju7Wa.js";
|
|
3
3
|
/**
|
|
4
4
|
* An email address or chat user, as a bot or a mail webhook sees it. The value
|
|
5
5
|
* is what the platform reports; it names no one until an identity link maps it
|
|
@@ -2,7 +2,7 @@ import { a as sqlString, i as sqlIdent } from "./template-1e2akYYK.js";
|
|
|
2
2
|
import { c as renderPolicy, i as policy } from "./policy-B9UWDXMF.js";
|
|
3
3
|
import { C as extraFieldsJson, F as pageSize, O as lockTable, o as SERVICE_CALLER, tt as userGrant, w as fail } from "./shared-DwShIqeQ.js";
|
|
4
4
|
import { n as blockOptions, r as option } from "./options-Z-bd_H1E.js";
|
|
5
|
-
import { n as OPERATIONS } from "./permissions-model-
|
|
5
|
+
import { n as OPERATIONS } from "./permissions-model-Dh9-Zzfy.js";
|
|
6
6
|
import { t as declareRead } from "./reads-CWVqw2JB.js";
|
|
7
7
|
// src/blocks/banking/options.ts
|
|
8
8
|
const bankingSqlOptions = blockOptions({ extraColumns: option.extraColumns() });
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { b as DbError, n as BetterResultApi, t as AsyncResult } from "../result-CMqlHv82.js";
|
|
2
|
-
import { O as AnyFunctions, Q as PrimaryKeyValue, dt as TableKey, ft as TableMeta, gt as Update, k as AnyModels, q as Insert, wt as ApplyExtension } from "../types-
|
|
3
|
-
import { A as RawRpcOptions, At as ListArgs, B as WriteArgs, C as OffsetPageArgs, D as OverloadedName, E as OverloadReturns, Et as GetArgs, F as RpcArgs, G as ReadSet, H as SearchArgs, I as RpcOptions, L as UpdateArgs, Lt as Payload, N as Returned, O as PageOf, P as RowFilter, Q as ReadSetResult, R as UpsertArgs, T as OverloadArgs, U as SearchScore, V as WriteManyArgs, W as InferReadSetParams, _ as GetKey, b as ManyWriteArgs, d as CursorPageArgs, f as Db, g as FindExt, gt as AggregateArgs, h as DeleteExt, k as PlainName, m as DeleteArgs, ot as InferResult, st as QuerySpec, v as ManyOutcome, w as OffsetRangeArgs, wt as CountArgs, x as NoArgName, y as ManyResult, yt as AggregateResult, z as UpsertManyArgs } from "../db-blocks-
|
|
4
|
-
import { a as ListExtra, d as ListQuery, i as ListDefinition, o as ListPage, s as ListPagination } from "../list-query-
|
|
2
|
+
import { O as AnyFunctions, Q as PrimaryKeyValue, dt as TableKey, ft as TableMeta, gt as Update, k as AnyModels, q as Insert, wt as ApplyExtension } from "../types-BlBju7Wa.js";
|
|
3
|
+
import { A as RawRpcOptions, At as ListArgs, B as WriteArgs, C as OffsetPageArgs, D as OverloadedName, E as OverloadReturns, Et as GetArgs, F as RpcArgs, G as ReadSet, H as SearchArgs, I as RpcOptions, L as UpdateArgs, Lt as Payload, N as Returned, O as PageOf, P as RowFilter, Q as ReadSetResult, R as UpsertArgs, T as OverloadArgs, U as SearchScore, V as WriteManyArgs, W as InferReadSetParams, _ as GetKey, b as ManyWriteArgs, d as CursorPageArgs, f as Db, g as FindExt, gt as AggregateArgs, h as DeleteExt, k as PlainName, m as DeleteArgs, ot as InferResult, st as QuerySpec, v as ManyOutcome, w as OffsetRangeArgs, wt as CountArgs, x as NoArgName, y as ManyResult, yt as AggregateResult, z as UpsertManyArgs } from "../db-blocks-CzhzWfvR.js";
|
|
4
|
+
import { a as ListExtra, d as ListQuery, i as ListDefinition, o as ListPage, s as ListPagination } from "../list-query-B4qI5eE8.js";
|
|
5
5
|
import { Result } from "better-result";
|
|
6
6
|
/**
|
|
7
7
|
* Better-result's `Result` namespace with the function each `DbError` goes
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { n as DataEngine } from "./data-engine-
|
|
2
|
-
import {
|
|
3
|
-
import { f as Db, s as BetterSupabase } from "./db-blocks-
|
|
4
|
-
import { c as BlockTenant } from "./block-helpers-
|
|
5
|
-
import { it as BetterQueries } from "./index-
|
|
6
|
-
import { O as AnyFunctions, k as AnyModels } from "./types-
|
|
7
|
-
import { t as ClientPorts } from "./ports-
|
|
1
|
+
import { n as DataEngine } from "./data-engine-BKO5EAzN.js";
|
|
2
|
+
import { fr as GeneratedBlocks } from "./define-block-By-LUpM_.js";
|
|
3
|
+
import { f as Db, s as BetterSupabase } from "./db-blocks-CzhzWfvR.js";
|
|
4
|
+
import { c as BlockTenant } from "./block-helpers-rTsuHt6v.js";
|
|
5
|
+
import { it as BetterQueries } from "./index-DzjugbCf.js";
|
|
6
|
+
import { O as AnyFunctions, k as AnyModels } from "./types-BlBju7Wa.js";
|
|
7
|
+
import { t as ClientPorts } from "./ports-C5BEHQi6.js";
|
|
8
8
|
import { SupabaseClient } from "@supabase/supabase-js";
|
|
9
9
|
interface AuthUser {
|
|
10
10
|
readonly id: string;
|
|
@@ -6,5 +6,7 @@ interface Author {
|
|
|
6
6
|
readonly id: string;
|
|
7
7
|
readonly name: string | undefined;
|
|
8
8
|
readonly avatarUrl: string | undefined;
|
|
9
|
+
/** The avatar's Storage path, with `avatarSource: "path"` on profiles. */
|
|
10
|
+
readonly avatarPath?: string | undefined;
|
|
9
11
|
}
|
|
10
12
|
export { Author as t };
|
|
@@ -7,7 +7,8 @@ function authorOf(value) {
|
|
|
7
7
|
return {
|
|
8
8
|
id: value["id"],
|
|
9
9
|
name: optionalText(value["name"]),
|
|
10
|
-
avatarUrl: optionalText(value["avatarUrl"] ?? value["avatar_url"])
|
|
10
|
+
avatarUrl: optionalText(value["avatarUrl"] ?? value["avatar_url"]),
|
|
11
|
+
...typeof value["avatarPath"] === "string" ? { avatarPath: value["avatarPath"] } : {}
|
|
11
12
|
};
|
|
12
13
|
}
|
|
13
14
|
export { authorOf as t };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { t as ClientPorts } from "./ports-
|
|
2
|
-
import { n as TopicPort } from "./watch-topic-
|
|
3
|
-
import {
|
|
4
|
-
import { t as AuthPort } from "./controller-
|
|
1
|
+
import { t as ClientPorts } from "./ports-C5BEHQi6.js";
|
|
2
|
+
import { n as TopicPort } from "./watch-topic-C9DIO476.js";
|
|
3
|
+
import { fr as GeneratedBlocks } from "./define-block-By-LUpM_.js";
|
|
4
|
+
import { t as AuthPort } from "./controller-DFGNChQL.js";
|
|
5
5
|
import { SupabaseClient } from "@supabase/supabase-js";
|
|
6
6
|
/**
|
|
7
7
|
* What the block bindings hand their controllers: the provider's client,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { D as BlockEventPattern, Dt as Events, T as BlockEvent, k as BlockEventsMatching, o as EventHub, wt as EventMap } from "./events-
|
|
1
|
+
import { D as BlockEventPattern, Dt as Events, T as BlockEvent, k as BlockEventsMatching, o as EventHub, wt as EventMap } from "./events-DN9PAcjq.js";
|
|
2
2
|
/**
|
|
3
3
|
* Listens to the block events that match `pattern` (`'support_session.started'`
|
|
4
4
|
* or `'support_session.*'`), typed by `events`: a block's events,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ut as SubjectEventData } from "./events-
|
|
1
|
+
import { ut as SubjectEventData } from "./events-DN9PAcjq.js";
|
|
2
2
|
/** Events from the parties module: a company, a person, or a link between them. */
|
|
3
3
|
interface PartyEventData {
|
|
4
4
|
readonly organizationId: string;
|