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/dist/react/index.d.ts
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { t as escapeLike } from "../escape-like-BtorH1tO.js";
|
|
2
|
-
import { c as Impersonator, n as AuthSession } from "../view-
|
|
3
|
-
import { i as DataEntry, m as RejectedChange, n as DataEngine, o as DataSyncState } from "../data-engine-
|
|
4
|
-
import { r as MembershipClaim } from "../entitlements-
|
|
5
|
-
import { t as tenantOf } from "../tenant-
|
|
6
|
-
import { r as LiveCountSeed } from "../index-
|
|
7
|
-
import { C as LiveCountHookOptions, O as ProfileOf, S as ClientLike, T as LiveQueryHookOptions, _ as ActionInputOf, b as BroadcastOptions, c as DataWrites, d as BlockMutationActions, f as BlockMutationState, g as BlockRefetchOn, h as BlockQueryState, k as UseActionOptions, l as BlockEngineOptions, m as BlockQueryOptions, o as DataSource, p as BlockQueryActions, s as DataState, t as fieldErrorsOf, u as BlockEventSource, v as ActionResultOf, x as ClaimsOf } from "../field-errors-
|
|
8
|
-
import { n as supportOf, t as SupportView } from "../support-view-
|
|
9
|
-
import { $ as ActionForm, A as useBlockEnv, B as RecordListQueryStates, C as useConflicts, D as defineDataHooks, E as DataView, F as useBlockMutation, G as RecordActionsOf, H as RecordListUrl, I as useBlockQuery, J as RecordProviderKit, K as RecordContextValue, L as RecordFormState, M as useController, N as useLatest, O as defineListHook, P as useBlockEvent, Q as createRecordProvider, R as UseRecordFormOptions, S as Conflicts, T as DataHooks, U as RecordListUrlState, V as RecordListState, W as useRecordListState, X as RecordState, Y as RecordProviderProps, Z as RecordWriteHandlers, _ as useRealtimeRelay, a as Upload, at as BetterSupabaseProvider, b as PresenceTopic, c as UseImageOptions, ct as createHooks, d as useSignedUrl, dt as useLiveCount, et as ActionHandle, f as useUpload, ft as useLiveQuery, g as UseRealtimeRelayOptions, h as useDebouncedSearch, i as StorageImage, it as BetterHooks, j as useBlockTenant, k as defineOneHook, l as UseUploadOptions, lt as useAuth, m as DebouncedSearchOptions, n as SignedUrl, nt as useAction, o as UploadStatus, ot as BetterSupabaseProviderProps, p as DebouncedSearch, pt as useSupabase, q as RecordInitial, r as SignedUrlSource, rt as useActionForm, s as UploadTarget, st as LiveCount, t as ImageSource, tt as UseActionFormOptions, u as useImage, ut as useBroadcast, v as Presence, w as useSyncStatus, x as usePresence, y as PresenceHookOptions, z as useRecordForm } from "../index-
|
|
2
|
+
import { c as Impersonator, n as AuthSession } from "../view-CVXHgadI.js";
|
|
3
|
+
import { i as DataEntry, m as RejectedChange, n as DataEngine, o as DataSyncState } from "../data-engine-BKO5EAzN.js";
|
|
4
|
+
import { r as MembershipClaim } from "../entitlements-Go8BHqhr.js";
|
|
5
|
+
import { t as tenantOf } from "../tenant-BpJ2F2b_.js";
|
|
6
|
+
import { r as LiveCountSeed } from "../index-D9Sb8Ju5.js";
|
|
7
|
+
import { C as LiveCountHookOptions, O as ProfileOf, S as ClientLike, T as LiveQueryHookOptions, _ as ActionInputOf, b as BroadcastOptions, c as DataWrites, d as BlockMutationActions, f as BlockMutationState, g as BlockRefetchOn, h as BlockQueryState, k as UseActionOptions, l as BlockEngineOptions, m as BlockQueryOptions, o as DataSource, p as BlockQueryActions, s as DataState, t as fieldErrorsOf, u as BlockEventSource, v as ActionResultOf, x as ClaimsOf } from "../field-errors-B4SMTk2e.js";
|
|
8
|
+
import { n as supportOf, t as SupportView } from "../support-view-Dn_YTGV4.js";
|
|
9
|
+
import { $ as ActionForm, A as useBlockEnv, B as RecordListQueryStates, C as useConflicts, D as defineDataHooks, E as DataView, F as useBlockMutation, G as RecordActionsOf, H as RecordListUrl, I as useBlockQuery, J as RecordProviderKit, K as RecordContextValue, L as RecordFormState, M as useController, N as useLatest, O as defineListHook, P as useBlockEvent, Q as createRecordProvider, R as UseRecordFormOptions, S as Conflicts, T as DataHooks, U as RecordListUrlState, V as RecordListState, W as useRecordListState, X as RecordState, Y as RecordProviderProps, Z as RecordWriteHandlers, _ as useRealtimeRelay, a as Upload, at as BetterSupabaseProvider, b as PresenceTopic, c as UseImageOptions, ct as createHooks, d as useSignedUrl, dt as useLiveCount, et as ActionHandle, f as useUpload, ft as useLiveQuery, g as UseRealtimeRelayOptions, h as useDebouncedSearch, i as StorageImage, it as BetterHooks, j as useBlockTenant, k as defineOneHook, l as UseUploadOptions, lt as useAuth, m as DebouncedSearchOptions, n as SignedUrl, nt as useAction, o as UploadStatus, ot as BetterSupabaseProviderProps, p as DebouncedSearch, pt as useSupabase, q as RecordInitial, r as SignedUrlSource, rt as useActionForm, s as UploadTarget, st as LiveCount, t as ImageSource, tt as UseActionFormOptions, u as useImage, ut as useBroadcast, v as Presence, w as useSyncStatus, x as usePresence, y as PresenceHookOptions, z as useRecordForm } from "../index-DkJtM-9e.js";
|
|
10
10
|
import { SessionProvider, SessionProviderProps, useSession, useSupportSession } from "./session.js";
|
|
11
11
|
import { a as useSignIn, i as SignOut, n as PendingState, o as useSignOut, r as SignIn, t as AuthHookOptions } from "../sign-in-C9pZE1kM.js";
|
|
12
12
|
export { type ActionForm, type ActionHandle, type ActionInputOf, type ActionResultOf, type AuthHookOptions, type AuthSession, type BetterHooks, BetterSupabaseProvider, type BetterSupabaseProviderProps, type BlockEngineOptions, type BlockEventSource, type BlockMutationActions, type BlockMutationState, type BlockQueryActions, type BlockQueryOptions, type BlockQueryState, type BlockRefetchOn, type BroadcastOptions, type ClaimsOf, type ClientLike, type Conflicts, type DataEngine, type DataEntry, type DataHooks, type DataSource, type DataState, type DataSyncState, type DataView, type DataWrites, type DebouncedSearch, type DebouncedSearchOptions, type ImageSource, type Impersonator, type LiveCount, type LiveCountHookOptions, type LiveCountSeed, type LiveQueryHookOptions, type MembershipClaim, type PendingState, type Presence, type PresenceHookOptions, type PresenceTopic, type ProfileOf, type RecordActionsOf, type RecordContextValue, type RecordFormState, type RecordInitial, type RecordListQueryStates, type RecordListState, type RecordListUrl, type RecordListUrlState, type RecordProviderKit, type RecordProviderProps, type RecordState, type RecordWriteHandlers, type RejectedChange, SessionProvider, type SessionProviderProps, type SignIn, type SignOut, type SignedUrl, type SignedUrlSource, type StorageImage, type SupportView, type Upload, type UploadStatus, type UploadTarget, type UseActionFormOptions, type UseActionOptions, type UseImageOptions, type UseRealtimeRelayOptions, type UseRecordFormOptions, type UseUploadOptions, createHooks, createRecordProvider, defineDataHooks, defineListHook, defineOneHook, escapeLike, fieldErrorsOf, supportOf, tenantOf, useAction, useActionForm, useAuth, useBlockEnv, useBlockEvent, useBlockMutation, useBlockQuery, useBlockTenant, useBroadcast, useConflicts, useController, useDebouncedSearch, useImage, useLatest, useLiveCount, useLiveQuery, usePresence, useRealtimeRelay, useRecordForm, useRecordListState, useSession, useSignIn, useSignOut, useSignedUrl, useSupabase, useSupportSession, useSyncStatus, useUpload };
|
package/dist/react/index.js
CHANGED
|
@@ -4,6 +4,6 @@ import { a as createHooks, d as useSupabase, i as BetterSupabaseProvider, l as u
|
|
|
4
4
|
import { t as supportOf } from "../support-view-CvDEgyGY.js";
|
|
5
5
|
import { i as useSupportSession, r as useSession, t as SessionProvider } from "../session-BBfnagPA.js";
|
|
6
6
|
import { d as fieldErrorsOf } from "../data-hooks-CzYlBzgr.js";
|
|
7
|
-
import { C as useActionForm, S as useAction, _ as createRecordProvider, a as useRealtimeRelay, b as useController, c as useSyncStatus, d as defineOneHook, f as useBlockEvent, g as useRecordListState, h as useRecordForm, i as useDebouncedSearch, l as defineDataHooks, m as useBlockQuery, n as useSignedUrl, o as usePresence, p as useBlockMutation, r as useUpload, s as useConflicts, t as useImage, u as defineListHook, v as useBlockEnv, x as useLatest, y as useBlockTenant } from "../react-
|
|
7
|
+
import { C as useActionForm, S as useAction, _ as createRecordProvider, a as useRealtimeRelay, b as useController, c as useSyncStatus, d as defineOneHook, f as useBlockEvent, g as useRecordListState, h as useRecordForm, i as useDebouncedSearch, l as defineDataHooks, m as useBlockQuery, n as useSignedUrl, o as usePresence, p as useBlockMutation, r as useUpload, s as useConflicts, t as useImage, u as defineListHook, v as useBlockEnv, x as useLatest, y as useBlockTenant } from "../react-C5uBAgPJ.js";
|
|
8
8
|
import { t as tenantOf } from "../tenant-Beqd7TTq.js";
|
|
9
9
|
export { BetterSupabaseProvider, SessionProvider, createHooks, createRecordProvider, defineDataHooks, defineListHook, defineOneHook, escapeLike, fieldErrorsOf, supportOf, tenantOf, useAction, useActionForm, useAuth, useBlockEnv, useBlockEvent, useBlockMutation, useBlockQuery, useBlockTenant, useBroadcast, useConflicts, useController, useDebouncedSearch, useImage, useLatest, useLiveCount, useLiveQuery, usePresence, useRealtimeRelay, useRecordForm, useRecordListState, useSession, useSignIn, useSignOut, useSignedUrl, useSupabase, useSupportSession, useSyncStatus, useUpload };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as AuthSnapshot } from "../../bind-
|
|
1
|
+
import { t as AuthSnapshot } from "../../bind-DWElQa6I.js";
|
|
2
2
|
import { a as OAuthSignInOptions, i as OAuthClient, n as AuthLinkClient, o as WebBrowserLike, r as AuthLinkResult, t as AuthFailure } from "../../auth-link-DRjtI1Ky.js";
|
|
3
3
|
import { a as AppStateLike, r as PowerSyncReconnect, t as NativeAuthzRefreshClient } from "../../authz-refresh-DIqPTJZe.js";
|
|
4
4
|
import { i as authzUserTopic, r as AuthzVersionSource, t as AUTHZ_EVENT } from "../../authz-topic-C7n3kIm_.js";
|
package/dist/react/server.d.ts
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { n as supportOf, t as SupportView } from "../support-view-
|
|
2
|
-
import { c as Impersonator, n as AuthSession } from "../view-
|
|
3
|
-
import { $ as ActionForm, A as useBlockEnv$1, B as RecordListQueryStates, C as useConflicts$1, D as defineDataHooks$1, F as useBlockMutation$1, G as RecordActionsOf, H as RecordListUrl, I as useBlockQuery$1, J as RecordProviderKit, K as RecordContextValue, L as RecordFormState, M as useController$1, N as useLatest$1, O as defineListHook$1, P as useBlockEvent$1, Q as createRecordProvider$1, R as UseRecordFormOptions, U as RecordListUrlState, V as RecordListState, W as useRecordListState$1, X as RecordState, Y as RecordProviderProps, Z as RecordWriteHandlers, _ as useRealtimeRelay$1, a as Upload, at as BetterSupabaseProvider, b as PresenceTopic, c as UseImageOptions, d as useSignedUrl$1, et as ActionHandle, f as useUpload$1, ft as useLiveQuery, g as UseRealtimeRelayOptions, h as useDebouncedSearch$1, i as StorageImage, it as BetterHooks, j as useBlockTenant$1, k as defineOneHook$1, l as UseUploadOptions, lt as useAuth, m as DebouncedSearchOptions, n as SignedUrl, o as UploadStatus, ot as BetterSupabaseProviderProps, p as DebouncedSearch, pt as useSupabase, q as RecordInitial, r as SignedUrlSource, s as UploadTarget, st as LiveCount, t as ImageSource, tt as UseActionFormOptions, u as useImage$1, ut as useBroadcast, v as Presence, w as useSyncStatus$1, x as usePresence$1, y as PresenceHookOptions, z as useRecordForm$1 } from "../index-
|
|
4
|
-
import { st as QuerySpec } from "../db-blocks-
|
|
5
|
-
import { r as LiveCountSeed } from "../index-
|
|
6
|
-
import { C as LiveCountHookOptions, O as ProfileOf, S as ClientLike, T as LiveQueryHookOptions, _ as ActionInputOf, b as BroadcastOptions, k as UseActionOptions, t as fieldErrorsOf, v as ActionResultOf, x as ClaimsOf } from "../field-errors-
|
|
1
|
+
import { n as supportOf, t as SupportView } from "../support-view-Dn_YTGV4.js";
|
|
2
|
+
import { c as Impersonator, n as AuthSession } from "../view-CVXHgadI.js";
|
|
3
|
+
import { $ as ActionForm, A as useBlockEnv$1, B as RecordListQueryStates, C as useConflicts$1, D as defineDataHooks$1, F as useBlockMutation$1, G as RecordActionsOf, H as RecordListUrl, I as useBlockQuery$1, J as RecordProviderKit, K as RecordContextValue, L as RecordFormState, M as useController$1, N as useLatest$1, O as defineListHook$1, P as useBlockEvent$1, Q as createRecordProvider$1, R as UseRecordFormOptions, U as RecordListUrlState, V as RecordListState, W as useRecordListState$1, X as RecordState, Y as RecordProviderProps, Z as RecordWriteHandlers, _ as useRealtimeRelay$1, a as Upload, at as BetterSupabaseProvider, b as PresenceTopic, c as UseImageOptions, d as useSignedUrl$1, et as ActionHandle, f as useUpload$1, ft as useLiveQuery, g as UseRealtimeRelayOptions, h as useDebouncedSearch$1, i as StorageImage, it as BetterHooks, j as useBlockTenant$1, k as defineOneHook$1, l as UseUploadOptions, lt as useAuth, m as DebouncedSearchOptions, n as SignedUrl, o as UploadStatus, ot as BetterSupabaseProviderProps, p as DebouncedSearch, pt as useSupabase, q as RecordInitial, r as SignedUrlSource, s as UploadTarget, st as LiveCount, t as ImageSource, tt as UseActionFormOptions, u as useImage$1, ut as useBroadcast, v as Presence, w as useSyncStatus$1, x as usePresence$1, y as PresenceHookOptions, z as useRecordForm$1 } from "../index-DkJtM-9e.js";
|
|
4
|
+
import { st as QuerySpec } from "../db-blocks-CzhzWfvR.js";
|
|
5
|
+
import { r as LiveCountSeed } from "../index-D9Sb8Ju5.js";
|
|
6
|
+
import { C as LiveCountHookOptions, O as ProfileOf, S as ClientLike, T as LiveQueryHookOptions, _ as ActionInputOf, b as BroadcastOptions, k as UseActionOptions, t as fieldErrorsOf, v as ActionResultOf, x as ClaimsOf } from "../field-errors-B4SMTk2e.js";
|
|
7
7
|
import { a as useSignIn$1, i as SignOut, n as PendingState, o as useSignOut$1, r as SignIn, t as AuthHookOptions } from "../sign-in-C9pZE1kM.js";
|
|
8
8
|
import { SessionProvider, SessionProviderProps } from "./session.js";
|
|
9
9
|
import { t as escapeLike } from "../escape-like-BtorH1tO.js";
|
|
10
|
-
import { t as tenantOf } from "../tenant-
|
|
11
|
-
import { r as MembershipClaim } from "../entitlements-
|
|
10
|
+
import { t as tenantOf } from "../tenant-BpJ2F2b_.js";
|
|
11
|
+
import { r as MembershipClaim } from "../entitlements-Go8BHqhr.js";
|
|
12
12
|
/** The `react-server` build of `useSession`: await `bsb.claims()` instead. */
|
|
13
13
|
export declare const useSession: <C = unknown, P = unknown>() => AuthSession<C, P>;
|
|
14
14
|
/**
|
package/dist/react/server.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import "../react-
|
|
1
|
+
import "../react-C5uBAgPJ.js";
|
|
2
2
|
import { d as useSupabase, i as BetterSupabaseProvider, o as useAuth, s as useBroadcast, u as useLiveQuery } from "../sign-in-B-DmJGbo.js";
|
|
3
3
|
import { d as fieldErrorsOf } from "../data-hooks-CzYlBzgr.js";
|
|
4
4
|
import { t as escapeLike } from "../escape-like-gxNXs145.js";
|
package/dist/react/session.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { t as SupportView } from "../support-view-
|
|
2
|
-
import { n as AuthSession, r as UserSession } from "../view-
|
|
1
|
+
import { t as SupportView } from "../support-view-Dn_YTGV4.js";
|
|
2
|
+
import { n as AuthSession, r as UserSession } from "../view-CVXHgadI.js";
|
|
3
3
|
import { r as AuthzVersionSource } from "../authz-topic-C7n3kIm_.js";
|
|
4
4
|
import { t as AuthzRefreshClient } from "../authz-refresh-Nc-38Xeh.js";
|
|
5
5
|
import { ReactNode } from "react";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { c as useBroadcastAuth, f as ClientContext } from "./sign-in-B-DmJGbo.js";
|
|
2
2
|
import { a as blockArgsKey, c as listenToBlockEvents, d as fieldErrorsOf, i as dataTarget, l as blockEnv, n as createDataOne, o as createBlockMutation, r as dataArgsKey, s as createBlockQuery, t as createDataList } from "./data-hooks-CzYlBzgr.js";
|
|
3
|
-
import { r as createBlocks } from "./create-blocks-
|
|
3
|
+
import { r as createBlocks } from "./create-blocks-Af1utfuf.js";
|
|
4
4
|
import { K as rpcTransport } from "./block-helpers-BR1V7DN1.js";
|
|
5
5
|
import { t as createRecordController } from "./controller-DvihM19C.js";
|
|
6
6
|
import { a as recordCan, i as plainData, l as runBindingWrite, s as recordSubject } from "./record-type-BPUobukL.js";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { t as Validated } from "../shared-DsBcvj6q.js";
|
|
2
|
-
import { O as AnyFunctions, Ut as AnyAuthorizer, in as PermissionRef, k as AnyModels } from "../types-
|
|
3
|
-
import { s as BetterSupabase } from "../db-blocks-
|
|
4
|
-
import { n as FrameworkOptions, r as LocalsResource, t as FrameworkLocals } from "../framework-
|
|
5
|
-
import { a as AuthorizedContext, c as ResourceLoaderContext, i as AuthorizeOptions, l as Unwrapped, n as ActionParsed, o as BlockActionOptions, r as ActionResult, s as BlockRequireOptions } from "../kit-
|
|
6
|
-
import { r as BetterServer } from "../server-types-
|
|
7
|
-
import { t as RefusalRedirects } from "../refusal-
|
|
2
|
+
import { O as AnyFunctions, Ut as AnyAuthorizer, in as PermissionRef, k as AnyModels } from "../types-BlBju7Wa.js";
|
|
3
|
+
import { s as BetterSupabase } from "../db-blocks-CzhzWfvR.js";
|
|
4
|
+
import { n as FrameworkOptions, r as LocalsResource, t as FrameworkLocals } from "../framework-B9hr-1OW.js";
|
|
5
|
+
import { a as AuthorizedContext, c as ResourceLoaderContext, i as AuthorizeOptions, l as Unwrapped, n as ActionParsed, o as BlockActionOptions, r as ActionResult, s as BlockRequireOptions } from "../kit-EFsCynmb.js";
|
|
6
|
+
import { r as BetterServer } from "../server-types-Cf4eX4kr.js";
|
|
7
|
+
import { t as RefusalRedirects } from "../refusal-nCMn-Fnw.js";
|
|
8
8
|
import { AnyEntry, Contributions } from "@supabase/middleware";
|
|
9
9
|
import { StandardSchemaV1 } from "@standard-schema/spec";
|
|
10
10
|
/** The part of React Router's `RouterContextProvider` the bridge writes. */
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { n as bufferInPlace, t as around } from "../shared-Ci1g9nl4.js";
|
|
2
2
|
import { o as problemResponse } from "../problem-gZxWhEP2.js";
|
|
3
|
-
import { c as extendServer, o as withFlush, s as createServer } from "../adapter-
|
|
4
|
-
import { i as localsOf, n as actionInput, r as frameworkEntry } from "../framework-
|
|
3
|
+
import { c as extendServer, o as withFlush, s as createServer } from "../adapter-D7GH81nF.js";
|
|
4
|
+
import { i as localsOf, n as actionInput, r as frameworkEntry } from "../framework-B6jEuZLs.js";
|
|
5
5
|
import { c as defaultExpose, i as requireCaller, o as runAction, p as settle } from "../kit-CBdolcQN.js";
|
|
6
6
|
import { r as refusalResponse } from "../refusal-Pue3-a0A.js";
|
|
7
7
|
// src/bridges/react-router.ts
|
package/dist/realtime/index.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { D as AccessTopicPolicy, E as AccessPolicySql } from "../types-
|
|
2
|
-
import { et as TemplateParams, tt as TemplateValues } from "../bucket-
|
|
1
|
+
import { D as AccessTopicPolicy, E as AccessPolicySql } from "../types-BlBju7Wa.js";
|
|
2
|
+
import { et as TemplateParams, tt as TemplateValues } from "../bucket-DJu58KBb.js";
|
|
3
3
|
import { t as RealtimeStatus } from "../realtime-status-D3oUx3o4.js";
|
|
4
|
-
import { A as TriggerTopic, C as TopicSubscription, D as TriggerLookup, E as TopicTriggerValue, F as FanOutResult, I as TopicFanOutOptions, M as defineTopic, N as rowChange, O as TriggerOptions, P as rowKeys, S as TopicSubscribeOptions, T as TopicTriggerOptions, _ as TopicMessage, a as PresenceOutput, b as TopicPermission, c as RealtimeClient, d as SubscribeOptions, f as Subscription, g as TopicHandlers, h as TopicEvent, i as PresenceOptions, j as TriggerValue, k as TriggerPayloadMode, l as RowChange, m as Topic, n as PresenceInput, o as PresenceSchema, p as SubscriptionStatus, r as PresenceMember, s as PresenceSubscription, t as EventSchemas, u as RowKeys, v as TopicOptions, w as TopicTriggerLookup, x as TopicSqlOptions, y as TopicPayload } from "../topic-
|
|
5
|
-
import { a as watchTopic, i as topicPort, n as TopicPort, r as TopicWatch, t as TopicHandle } from "../watch-topic-
|
|
6
|
-
import { S as relayTopicPort, _ as subjectPresenceValues, a as LiveSource, b as RelayEventSourceConstructor, c as liveCount, d as realtimeChanges, f as SUBJECT_PRESENCE_TEMPLATE, g as subjectPresenceTopic, h as subjectPresence, i as LiveQueryOptions, l as liveQuery, m as SubjectPresenceValues, n as LiveCountOptions, o as LiveSubscription, p as SubjectPresenceTopic, r as LiveCountSeed, s as RealtimeChangesOptions, t as CountRunner, u as liveTopic, v as RelayClientOptions, x as relayRealtimeClient, y as RelayEventSource } from "../index-
|
|
7
|
-
import { n as subjectReaders, t as SubjectReadersOptions } from "../subject-readers-
|
|
4
|
+
import { A as TriggerTopic, C as TopicSubscription, D as TriggerLookup, E as TopicTriggerValue, F as FanOutResult, I as TopicFanOutOptions, M as defineTopic, N as rowChange, O as TriggerOptions, P as rowKeys, S as TopicSubscribeOptions, T as TopicTriggerOptions, _ as TopicMessage, a as PresenceOutput, b as TopicPermission, c as RealtimeClient, d as SubscribeOptions, f as Subscription, g as TopicHandlers, h as TopicEvent, i as PresenceOptions, j as TriggerValue, k as TriggerPayloadMode, l as RowChange, m as Topic, n as PresenceInput, o as PresenceSchema, p as SubscriptionStatus, r as PresenceMember, s as PresenceSubscription, t as EventSchemas, u as RowKeys, v as TopicOptions, w as TopicTriggerLookup, x as TopicSqlOptions, y as TopicPayload } from "../topic-4KYLvvTB.js";
|
|
5
|
+
import { a as watchTopic, i as topicPort, n as TopicPort, r as TopicWatch, t as TopicHandle } from "../watch-topic-C9DIO476.js";
|
|
6
|
+
import { S as relayTopicPort, _ as subjectPresenceValues, a as LiveSource, b as RelayEventSourceConstructor, c as liveCount, d as realtimeChanges, f as SUBJECT_PRESENCE_TEMPLATE, g as subjectPresenceTopic, h as subjectPresence, i as LiveQueryOptions, l as liveQuery, m as SubjectPresenceValues, n as LiveCountOptions, o as LiveSubscription, p as SubjectPresenceTopic, r as LiveCountSeed, s as RealtimeChangesOptions, t as CountRunner, u as liveTopic, v as RelayClientOptions, x as relayRealtimeClient, y as RelayEventSource } from "../index-D9Sb8Ju5.js";
|
|
7
|
+
import { n as subjectReaders, t as SubjectReadersOptions } from "../subject-readers-fKAdJQGu.js";
|
|
8
8
|
export { type AccessPolicySql, type AccessTopicPolicy, type CountRunner, type EventSchemas, type FanOutResult, type LiveCountOptions, type LiveCountSeed, type LiveQueryOptions, type LiveSource, type LiveSubscription, type PresenceInput, type PresenceMember, type PresenceOptions, type PresenceOutput, type PresenceSchema, type PresenceSubscription, type RealtimeChangesOptions, type RealtimeClient, type RealtimeStatus, type RelayClientOptions, type RelayEventSource, type RelayEventSourceConstructor, type RowChange, type RowKeys, SUBJECT_PRESENCE_TEMPLATE, type SubjectPresenceTopic, type SubjectPresenceValues, type SubjectReadersOptions, type SubscribeOptions, type Subscription, type SubscriptionStatus, type TemplateParams, type TemplateValues, type Topic, type TopicEvent, type TopicFanOutOptions, type TopicHandle, type TopicHandlers, type TopicMessage, type TopicOptions, type TopicPayload, type TopicPermission, type TopicPort, type TopicSqlOptions, type TopicSubscribeOptions, type TopicSubscription, type TopicTriggerLookup, type TopicTriggerOptions, type TopicTriggerValue, type TopicWatch, type TriggerLookup, type TriggerOptions, type TriggerPayloadMode, type TriggerTopic, type TriggerValue, defineTopic, liveCount, liveQuery, liveTopic, realtimeChanges, relayRealtimeClient, relayTopicPort, rowChange, rowKeys, subjectPresence, subjectPresenceTopic, subjectPresenceValues, subjectReaders, topicPort, watchTopic };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { G as EntitySchema,
|
|
1
|
+
import { G as EntitySchema, yn as FormFieldType } from "./define-block-By-LUpM_.js";
|
|
2
2
|
/** The input a field renders: a forms block field type, or a date and time. */
|
|
3
3
|
type RecordFormInput = FormFieldType | "datetime";
|
|
4
4
|
/** One field of an entity form, in render order. */
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference lib="esnext.temporal" />
|
|
2
|
-
import { o as AiFile } from "./types-
|
|
2
|
+
import { o as AiFile } from "./types-M37hpCz_.js";
|
|
3
3
|
/** The queue a recording's transcription job goes on, with the jobs block. */
|
|
4
4
|
declare const ENGAGEMENT_TRANSCRIBE_QUEUE = "engagements.transcribe";
|
|
5
5
|
/** `pending` until a transcript is saved; `failed` when the transcriber gave up. */
|
package/dist/records/index.d.ts
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { n as Controller, t as AuthPort } from "../controller-
|
|
2
|
-
import { _ as MyWorkKind, a as RecordSummaryOptions, c as Subjects, i as RecordSummary, n as MyWorkItem, r as MyWorkOptions } from "../subjects-
|
|
1
|
+
import { n as Controller, t as AuthPort } from "../controller-DFGNChQL.js";
|
|
2
|
+
import { _ as MyWorkKind, a as RecordSummaryOptions, c as Subjects, i as RecordSummary, n as MyWorkItem, r as MyWorkOptions } from "../subjects-C0_z3QUL.js";
|
|
3
3
|
import { b as DbError, f as Result, t as AsyncResult } from "../result-CMqlHv82.js";
|
|
4
|
-
import { p as SubscriptionStatus } from "../topic-
|
|
5
|
-
import { n as TopicPort } from "../watch-topic-
|
|
6
|
-
import { et as RecordRef } from "../types-
|
|
7
|
-
import { A as BindingBlocks, B as PermissionFlags, C as defineRecordType, D as recordPermissionKeys, E as recordCan, F as LoadBindingsOptions, H as can, I as LoadedBindings, L as bindingCan, M as BindingName, N as BindingOf, O as recordSubject, P as BindingSource, R as countBinding, S as RecordWriteInput, T as plainData, U as permissionFlags, V as PermissionSet, _ as RecordTypeBlocks, b as RecordTypeWriteInput, d as BindingWritesOf, f as Plain, g as RecordType, h as RecordCan, j as BindingCheck, k as recordWriteInput, m as PlainBindings, p as PlainBinding, v as RecordTypePermissions, w as findBindingWrite, x as RecordTypeWriteOutput, y as RecordTypeSpec, z as loadBindings } from "../index-
|
|
8
|
-
import { a as timelineBindings, c as RecordListCells, d as RecordListQuery, f as RecordListRow, h as defineRecordList, i as loadTimeline, l as RecordListColumn, m as RecordListSpec, n as Timeline, o as RecordList, p as RecordListSource, r as TimelineEntry, s as RecordListCell, t as LoadTimelineOptions, u as RecordListPage } from "../timeline-
|
|
9
|
-
import { a as RecordFormOptions, c as recordForm, i as RecordFormInput, n as RecordFormCustomField, o as RecordFormResult, r as RecordFormField, s as RecordFormValues, t as RecordForm } from "../record-form-
|
|
10
|
-
import { A as RecordBindingPermissions, B as recordBindingWrite, D as RecordBindingData, E as RecordBinding, F as RecordBindingWriteOutput, H as recordRowInput, I as RecordBindingWrites, L as RecordRowInput, M as RecordBindingWrite, N as RecordBindingWriteInput, O as RecordBindingDefinition, P as RecordBindingWriteName, R as TimelineItem, T as AnyRecordBindingWrite, V as recordEventMatches, j as RecordBindingResult, k as RecordBindingOptions, w as AnyRecordBinding, z as defineRecordBinding } from "../define-block-
|
|
4
|
+
import { p as SubscriptionStatus } from "../topic-4KYLvvTB.js";
|
|
5
|
+
import { n as TopicPort } from "../watch-topic-C9DIO476.js";
|
|
6
|
+
import { et as RecordRef } from "../types-BlBju7Wa.js";
|
|
7
|
+
import { A as BindingBlocks, B as PermissionFlags, C as defineRecordType, D as recordPermissionKeys, E as recordCan, F as LoadBindingsOptions, H as can, I as LoadedBindings, L as bindingCan, M as BindingName, N as BindingOf, O as recordSubject, P as BindingSource, R as countBinding, S as RecordWriteInput, T as plainData, U as permissionFlags, V as PermissionSet, _ as RecordTypeBlocks, b as RecordTypeWriteInput, d as BindingWritesOf, f as Plain, g as RecordType, h as RecordCan, j as BindingCheck, k as recordWriteInput, m as PlainBindings, p as PlainBinding, v as RecordTypePermissions, w as findBindingWrite, x as RecordTypeWriteOutput, y as RecordTypeSpec, z as loadBindings } from "../index-DzjugbCf.js";
|
|
8
|
+
import { a as timelineBindings, c as RecordListCells, d as RecordListQuery, f as RecordListRow, h as defineRecordList, i as loadTimeline, l as RecordListColumn, m as RecordListSpec, n as Timeline, o as RecordList, p as RecordListSource, r as TimelineEntry, s as RecordListCell, t as LoadTimelineOptions, u as RecordListPage } from "../timeline-LHtdAJnM.js";
|
|
9
|
+
import { a as RecordFormOptions, c as recordForm, i as RecordFormInput, n as RecordFormCustomField, o as RecordFormResult, r as RecordFormField, s as RecordFormValues, t as RecordForm } from "../record-form-B9-7RhYz.js";
|
|
10
|
+
import { A as RecordBindingPermissions, B as recordBindingWrite, D as RecordBindingData, E as RecordBinding, F as RecordBindingWriteOutput, H as recordRowInput, I as RecordBindingWrites, L as RecordRowInput, M as RecordBindingWrite, N as RecordBindingWriteInput, O as RecordBindingDefinition, P as RecordBindingWriteName, R as TimelineItem, T as AnyRecordBindingWrite, V as recordEventMatches, j as RecordBindingResult, k as RecordBindingOptions, w as AnyRecordBinding, z as defineRecordBinding } from "../define-block-By-LUpM_.js";
|
|
11
11
|
interface RecordControllerOptions<B extends BindingBlocks, N extends BindingName<B>> extends LoadBindingsOptions<B, N> {
|
|
12
12
|
readonly source: BindingSource<B>;
|
|
13
13
|
readonly auth: AuthPort;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { r as AuthState } from "./resolve-
|
|
2
|
-
import { Ut as AnyAuthorizer } from "./types-
|
|
3
|
-
import { c as ResourceLoaderContext, s as BlockRequireOptions } from "./kit-
|
|
1
|
+
import { r as AuthState } from "./resolve-B9Rn2M5c.js";
|
|
2
|
+
import { Ut as AnyAuthorizer } from "./types-BlBju7Wa.js";
|
|
3
|
+
import { c as ResourceLoaderContext, s as BlockRequireOptions } from "./kit-EFsCynmb.js";
|
|
4
4
|
/** Where refused callers go instead of a Problem Details response. */
|
|
5
5
|
interface RefusalRedirects {
|
|
6
6
|
/** Sign-in page for callers without a session; gets `?next=<path>`. */
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/// <reference lib="esnext.temporal" />
|
|
2
2
|
import { b as DbError } from "./result-CMqlHv82.js";
|
|
3
|
-
import { n as AuthOutageEvent, u as RefreshEvent } from "./events-
|
|
3
|
+
import { n as AuthOutageEvent, u as RefreshEvent } from "./events-DN9PAcjq.js";
|
|
4
4
|
import { n as Logger } from "./logger-0LfhvwE4.js";
|
|
5
5
|
import { t as StandardSchemaV1 } from "./standard-CiOWpeZL.js";
|
|
6
6
|
import { t as BetterSupabaseEnv } from "./index-F6lsRlsr.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ft as TableMeta, qt as AuthorizationIntent } from "./types-
|
|
1
|
+
import { ft as TableMeta, qt as AuthorizationIntent } from "./types-BlBju7Wa.js";
|
|
2
2
|
import { D as ResourceOperation, O as SecurityRequirement, i as JsonObject, k as TableVerb } from "./model-Lxa_mOzB.js";
|
|
3
3
|
/** A Standard Schema, or anything else that might carry `~standard`. */
|
|
4
4
|
interface StandardLike {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { n as ResourceActionSpec } from "./resource-
|
|
2
|
-
import { i as ResourceContext, n as Parsed, r as ResourceAction, t as ActionArgs } from "./resource-types-
|
|
1
|
+
import { n as ResourceActionSpec } from "./resource-BDVguZzJ.js";
|
|
2
|
+
import { i as ResourceContext, n as Parsed, r as ResourceAction, t as ActionArgs } from "./resource-types-BmZx8q4a.js";
|
|
3
3
|
import { StandardSchemaV1 } from "@standard-schema/spec";
|
|
4
4
|
/**
|
|
5
5
|
* Defines an action and types its handler's `data` and `query` from the
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { D as ValidationIssue, f as Result } from "./result-CMqlHv82.js";
|
|
2
|
-
import { It as RequestContext, at as Row, dt as TableKey, ft as TableMeta, gt as Update, k as AnyModels, q as Insert } from "./types-
|
|
3
|
-
import { Vt as SelectArg } from "./db-blocks-
|
|
2
|
+
import { It as RequestContext, at as Row, dt as TableKey, ft as TableMeta, gt as Update, k as AnyModels, q as Insert } from "./types-BlBju7Wa.js";
|
|
3
|
+
import { Vt as SelectArg } from "./db-blocks-CzhzWfvR.js";
|
|
4
4
|
import { D as ResourceOperation, k as TableVerb } from "./model-Lxa_mOzB.js";
|
|
5
|
-
import { a as ResourcePlan, i as ResourcePagination, n as ResourceActionSpec, r as ResourceDescription } from "./resource-
|
|
6
|
-
import { a as RespondOptions } from "./respond
|
|
5
|
+
import { a as ResourcePlan, i as ResourcePagination, n as ResourceActionSpec, r as ResourceDescription } from "./resource-BDVguZzJ.js";
|
|
6
|
+
import { a as RespondOptions } from "./respond-OjgB7zlB.js";
|
|
7
7
|
import { StandardSchemaV1 } from "@standard-schema/spec";
|
|
8
8
|
/** What a resource needs from `defineListQuery`. */
|
|
9
9
|
interface ResourceList {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { dt as TableKey, k as AnyModels } from "./types-
|
|
2
|
-
import { l as ResourceRouteOptions } from "./resource-types-
|
|
1
|
+
import { dt as TableKey, k as AnyModels } from "./types-BlBju7Wa.js";
|
|
2
|
+
import { l as ResourceRouteOptions } from "./resource-types-BmZx8q4a.js";
|
|
3
3
|
/** Resources by table name; `true` serves a table with the defaults. */
|
|
4
4
|
type ResourceMap<M extends AnyModels, Ref = string, DbT = unknown> = { readonly [T in TableKey<M>]?: ResourceRouteOptions<M, T, Ref, DbT> | true; };
|
|
5
5
|
export { ResourceMap as t };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as Aal } from "./mfa-BbzlzjEV.js";
|
|
2
|
-
import { r as AuthState } from "./resolve-
|
|
2
|
+
import { r as AuthState } from "./resolve-B9Rn2M5c.js";
|
|
3
3
|
import { b as DbError } from "./result-CMqlHv82.js";
|
|
4
4
|
/**
|
|
5
5
|
* A router or browser prefetch, by its request headers: Next.js route and
|
|
@@ -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 { B as textOf, C as optionalInstant, P as requiredInstant, T as optionalText, d as enumOrThrow, j as recordOf, z as stringsOf } from "./block-helpers-BR1V7DN1.js";
|
|
3
3
|
import { n as isRecord } from "./guards-CsRa6v57.js";
|
|
4
4
|
// src/blocks/messaging/rows.ts
|
|
@@ -4,7 +4,7 @@ import { t as contactsBlock } from "./manifest-D46SY8Og.js";
|
|
|
4
4
|
import { t as dealsBlock } from "./manifest-jLh9Rwsh.js";
|
|
5
5
|
import { t as invoicesBlock } from "./manifest-BRFen7mE.js";
|
|
6
6
|
import { t as ordersBlock } from "./manifest-DxPMUjhY.js";
|
|
7
|
-
import { t as pipelinesBlock } from "./manifest-
|
|
7
|
+
import { t as pipelinesBlock } from "./manifest-F35IzwVM.js";
|
|
8
8
|
import { t as quotesBlock } from "./manifest-H65OlXiB.js";
|
|
9
9
|
import { n as defineBlock } from "./define-block-D3uNVp2k.js";
|
|
10
10
|
// src/blocks/sales/sales.ts
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { n as Money } from "./money-BgpAd7d3.js";
|
|
2
|
-
import { et as RecordRef } from "./types-
|
|
2
|
+
import { et as RecordRef } from "./types-BlBju7Wa.js";
|
|
3
3
|
/** A line of a quote or invoice, in the document's currency. */
|
|
4
4
|
interface LineInput {
|
|
5
5
|
readonly description: string;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/// <reference lib="esnext.temporal" />
|
|
2
2
|
import { t as AsyncResult } from "./result-CMqlHv82.js";
|
|
3
|
-
import { _ as JobHandler } from "./types-
|
|
3
|
+
import { _ as JobHandler } from "./types-CTb0Uroz.js";
|
|
4
4
|
type AiSandboxStatus = "running" | "stopping" | "stopped";
|
|
5
5
|
interface AiSandbox {
|
|
6
6
|
readonly id: string;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
/// <reference lib="esnext.temporal" />
|
|
2
|
-
import { n as BlockHooks } from "./block-hooks-
|
|
3
|
-
import { r as BlockTemporalOptions, s as BlockTenantOptions } from "./block-helpers-
|
|
4
|
-
import { t as BlockTransport } from "./block-transport-
|
|
2
|
+
import { n as BlockHooks } from "./block-hooks-FM9t7ol_.js";
|
|
3
|
+
import { r as BlockTemporalOptions, s as BlockTenantOptions } from "./block-helpers-rTsuHt6v.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
|
-
import { h as FilterQuery } from "./filter-query-
|
|
8
|
-
import { et as RecordRef } from "./types-
|
|
7
|
+
import { h as FilterQuery } from "./filter-query-CJ3wcwqH.js";
|
|
8
|
+
import { et as RecordRef } from "./types-BlBju7Wa.js";
|
|
9
9
|
interface ScoresOptions extends BlockTemporalOptions, BlockTenantOptions {
|
|
10
10
|
readonly transport: BlockTransport;
|
|
11
11
|
/**
|
package/dist/server/index.d.ts
CHANGED
|
@@ -1,37 +1,37 @@
|
|
|
1
1
|
import { i as toCsv, n as csvColumns, t as CsvOptions } from "../csv-Dd1iKsk-.js";
|
|
2
|
-
import { A as
|
|
3
|
-
import { $t as AuthorizationSubject, Gt as AuthorizationChange, It as RequestContext, Jt as AuthorizationOutcome, Kt as AuthorizationContext, O as AnyFunctions, Qt as AuthorizationResourceSource, Ut as AnyAuthorizer, Wt as AuthorizationCallKind, Xt as AuthorizationRequest, Yt as AuthorizationPurpose, Zt as AuthorizationResource, an as RequestMemo, cn as requestMemo, dt as TableKey, en as Authorizer, in as PermissionRef, k as AnyModels, nn as AuthzSubjectSeed, on as bindAuthorizer, qt as AuthorizationIntent, rn as AuthzVersionCache, sn as defineAuthorizer, tn as AuthorizerRuntime } from "../types-
|
|
4
|
-
import { $t as DbStats, f as Db, s as BetterSupabase } from "../db-blocks-
|
|
5
|
-
import { E as StoredSession, S as CookieRecord, _ as issuedAtOf, a as ResolveAuthOptions, b as snapshotOf, c as SessionRejection, d as SessionMemo, f as SessionMemoOptions, g as isSessionSnapshot, h as authzVersionOf, i as InvalidReason, j as sessionCookieName, k as readSession, l as clientIp, m as SessionSnapshot, n as AuthResolver, p as SessionMemoStats, r as AuthState, s as ResolvedState, t as AuthResolution, u as resolveAuth, v as sessionCacheKey, w as CookieWrite, x as CookieOptions, y as sessionMemo } from "../resolve-
|
|
6
|
-
import { a as RespondOptions, c as isResult, d as RefreshPolicy, f as isDocumentLoad, i as MiddlewareOptions, l as respond, m as refreshFor, n as AuthKind, o as Settled, p as isPrefetch, r as GuardOptions, s as guard, u as settle } from "../respond
|
|
7
|
-
import { C as SupportSession, D as supportClaims, E as sqlSupportStore, S as SupportRequestInput, T as SupportStartInput, _ as SupportApprover, a as SupportOptions, b as SupportListFilter, c as SupportStartRequest, d as SupportCookieOptions, f as clearSupportCookie, g as SupportApprovalQuery, h as SqlSupportStoreOptions, i as SupportExpireRouteOptions, l as supportSessions, m as supportCookieValue, n as SupportApi, o as SupportPolicy, p as supportCookie, r as SupportCaller, s as SupportSessions, t as ActiveSupport, u as SUPPORT_COOKIE, v as SupportCallerClaims, w as SupportSessionStore, x as SupportRequest, y as SupportEndedBy } from "../support-
|
|
8
|
-
import { Dt as Events, pt as SupportEventData } from "../events-
|
|
9
|
-
import { _ as SupportAuthorize, a as AutomationHooks, b as TicketSubject, c as ChatActionHook, d as IdentityRef, f as IdentityTarget, g as SubscriberPolicy, h as SubscriberEvent, i as AuthorizationHooks, l as DelegationPermissions, m as Subscriber, n as Approver, o as AutomationRef, p as PrincipalByIdentity, r as ApproverOf, s as ChatAction, t as ApprovalRequestRef, u as DelegationRef, v as SupportAuthorizeInput, x as defineAuthorizationHooks, y as SupportDecision } from "../authorization-hooks-
|
|
2
|
+
import { A as AccessForOptions, C as PRIMARY_COOKIE, D as DeleteAccountResult, E as DeleteAccountOptions, M as BootstrapCallOptions, O as deleteAccount, S as RequestIdOptions, T as LiteDriver, _ as SuspendAccountOptions, a as ForContextOptions, b as lastSignIns, c as ServerDbOptions, f as TENANT_HEADER, g as LastSignIn, h as EndSessionsResult, i as ContextOptions, j as Bootstrap, k as Access, l as ServerKeys, m as AccountTransport, n as ApprovalOptions, o as ResolveRequestOptions, p as TransactionOptions, r as BetterServer, s as ServerContext, t as AdminDb, u as ServerOptions, v as SuspendAccountResult, w as ReplicaState, x as suspendAccount, y as endSessions } from "../server-types-Cf4eX4kr.js";
|
|
3
|
+
import { $t as AuthorizationSubject, Gt as AuthorizationChange, It as RequestContext, Jt as AuthorizationOutcome, Kt as AuthorizationContext, O as AnyFunctions, Qt as AuthorizationResourceSource, Ut as AnyAuthorizer, Wt as AuthorizationCallKind, Xt as AuthorizationRequest, Yt as AuthorizationPurpose, Zt as AuthorizationResource, an as RequestMemo, cn as requestMemo, dt as TableKey, en as Authorizer, in as PermissionRef, k as AnyModels, nn as AuthzSubjectSeed, on as bindAuthorizer, qt as AuthorizationIntent, rn as AuthzVersionCache, sn as defineAuthorizer, tn as AuthorizerRuntime } from "../types-BlBju7Wa.js";
|
|
4
|
+
import { $t as DbStats, f as Db, s as BetterSupabase } from "../db-blocks-CzhzWfvR.js";
|
|
5
|
+
import { E as StoredSession, S as CookieRecord, _ as issuedAtOf, a as ResolveAuthOptions, b as snapshotOf, c as SessionRejection, d as SessionMemo, f as SessionMemoOptions, g as isSessionSnapshot, h as authzVersionOf, i as InvalidReason, j as sessionCookieName, k as readSession, l as clientIp, m as SessionSnapshot, n as AuthResolver, p as SessionMemoStats, r as AuthState, s as ResolvedState, t as AuthResolution, u as resolveAuth, v as sessionCacheKey, w as CookieWrite, x as CookieOptions, y as sessionMemo } from "../resolve-B9Rn2M5c.js";
|
|
6
|
+
import { a as RespondOptions, c as isResult, d as RefreshPolicy, f as isDocumentLoad, i as MiddlewareOptions, l as respond, m as refreshFor, n as AuthKind, o as Settled, p as isPrefetch, r as GuardOptions, s as guard, u as settle } from "../respond-OjgB7zlB.js";
|
|
7
|
+
import { C as SupportSession, D as supportClaims, E as sqlSupportStore, S as SupportRequestInput, T as SupportStartInput, _ as SupportApprover, a as SupportOptions, b as SupportListFilter, c as SupportStartRequest, d as SupportCookieOptions, f as clearSupportCookie, g as SupportApprovalQuery, h as SqlSupportStoreOptions, i as SupportExpireRouteOptions, l as supportSessions, m as supportCookieValue, n as SupportApi, o as SupportPolicy, p as supportCookie, r as SupportCaller, s as SupportSessions, t as ActiveSupport, u as SUPPORT_COOKIE, v as SupportCallerClaims, w as SupportSessionStore, x as SupportRequest, y as SupportEndedBy } from "../support-DYNFoAZ8.js";
|
|
8
|
+
import { Dt as Events, pt as SupportEventData } from "../events-DN9PAcjq.js";
|
|
9
|
+
import { _ as SupportAuthorize, a as AutomationHooks, b as TicketSubject, c as ChatActionHook, d as IdentityRef, f as IdentityTarget, g as SubscriberPolicy, h as SubscriberEvent, i as AuthorizationHooks, l as DelegationPermissions, m as Subscriber, n as Approver, o as AutomationRef, p as PrincipalByIdentity, r as ApproverOf, s as ChatAction, t as ApprovalRequestRef, u as DelegationRef, v as SupportAuthorizeInput, x as defineAuthorizationHooks, y as SupportDecision } from "../authorization-hooks-DM_ijJsD.js";
|
|
10
10
|
import { a as PERMISSIONS_TRUNCATED_CLAIM, i as PERMISSIONS_CLAIM, n as FEATURES_CLAIM, o as PERMISSION_CAP_CLAIM, r as MEMBERSHIPS_CLAIM, t as AUTHZ_VERSION_CLAIM } from "../index-IKfbX_39.js";
|
|
11
|
-
import { i as decodeEntitlementClaim, o as ClaimsRecord, s as ClaimsSource } from "../entitlements-
|
|
12
|
-
import { a as isUserSession, c as Impersonator, i as isApiKeySession, l as impersonatorOf, n as AuthSession, o as toSession, r as UserSession, s as ImpersonationOptions, t as ApiKeySession } from "../view-
|
|
13
|
-
import { n as isTruncated, r as permissionsOf, t as PermissionsOfOptions } from "../permissions-
|
|
14
|
-
import { K as permissionCapOf } from "../types-
|
|
15
|
-
import { n as subjectReaders, t as SubjectReadersOptions } from "../subject-readers-
|
|
16
|
-
import { n as SqlClient } from "../executor-
|
|
17
|
-
import { j as StorageApi } from "../bucket-
|
|
18
|
-
import { a as claimsFingerprint, i as SessionWatchStatus, n as SessionStatusRouteOptions, o as sessionStatusRoute, r as SessionStatusServer, t as SessionStatusBody } from "../session-status-
|
|
11
|
+
import { i as decodeEntitlementClaim, o as ClaimsRecord, s as ClaimsSource } from "../entitlements-Go8BHqhr.js";
|
|
12
|
+
import { a as isUserSession, c as Impersonator, i as isApiKeySession, l as impersonatorOf, n as AuthSession, o as toSession, r as UserSession, s as ImpersonationOptions, t as ApiKeySession } from "../view-CVXHgadI.js";
|
|
13
|
+
import { n as isTruncated, r as permissionsOf, t as PermissionsOfOptions } from "../permissions-DxXor_NY.js";
|
|
14
|
+
import { K as permissionCapOf } from "../types-CTb0Uroz.js";
|
|
15
|
+
import { n as subjectReaders, t as SubjectReadersOptions } from "../subject-readers-fKAdJQGu.js";
|
|
16
|
+
import { n as SqlClient } from "../executor-CnU5r1HS.js";
|
|
17
|
+
import { j as StorageApi } from "../bucket-DJu58KBb.js";
|
|
18
|
+
import { a as claimsFingerprint, i as SessionWatchStatus, n as SessionStatusRouteOptions, o as sessionStatusRoute, r as SessionStatusServer, t as SessionStatusBody } from "../session-status-ChvyVQgl.js";
|
|
19
19
|
import { a as ProblemFormat, c as fromProblem, d as toProblem, i as ProblemDetails, l as isProblem, n as PROBLEM_CONTENT_TYPE, o as ProblemOptions, r as PROBLEM_TYPE_BASE, s as ProblemResponseOptions, u as problemResponse } from "../problem-BkuOcWRv.js";
|
|
20
|
-
import { c as RealtimeClient } from "../topic-
|
|
21
|
-
import { n as supportOf, t as SupportView } from "../support-view-
|
|
22
|
-
import { a as GuardEntryConfig, i as withBetterSupabase, n as BetterSupabaseContributions, o as withGuard, r as BetterSupabaseEntry, t as BetterSupabaseConfig } from "../composite-
|
|
23
|
-
import { a as serverCore, i as ServerCore, n as SessionEntryConfig, r as withSession, t as AuthOutageHook } from "../session-
|
|
20
|
+
import { c as RealtimeClient } from "../topic-4KYLvvTB.js";
|
|
21
|
+
import { n as supportOf, t as SupportView } from "../support-view-Dn_YTGV4.js";
|
|
22
|
+
import { a as GuardEntryConfig, i as withBetterSupabase, n as BetterSupabaseContributions, o as withGuard, r as BetterSupabaseEntry, t as BetterSupabaseConfig } from "../composite-Ddap_a-U.js";
|
|
23
|
+
import { a as serverCore, i as ServerCore, n as SessionEntryConfig, r as withSession, t as AuthOutageHook } from "../session-CfOsLGD_.js";
|
|
24
24
|
import { a as checkAal, i as amrOf, n as AmrEntry, r as aalOf, t as Aal } from "../mfa-BbzlzjEV.js";
|
|
25
25
|
import { a as SessionActor, c as agentClaims, i as IDENTITY_SCOPES, l as delegationOf, n as ActorOutcome, o as SessionDelegation, r as AgentActOptions, s as actorOf, t as ActClaim } from "../actor-DseNR02I.js";
|
|
26
|
-
import { a as sessionStatus, i as clearSessionCookies, n as SessionStatus, o as authContext, r as SessionStatusOptions, t as ClearSessionCookiesOptions } from "../ended-
|
|
26
|
+
import { a as sessionStatus, i as clearSessionCookies, n as SessionStatus, o as authContext, r as SessionStatusOptions, t as ClearSessionCookiesOptions } from "../ended-C-w3KU-i.js";
|
|
27
27
|
import { b as DbError, f as Result } from "../result-CMqlHv82.js";
|
|
28
28
|
import { i as JwsAlgorithm, n as Jwks, r as JwksOfOptions } from "../jws-CxgTsbgG.js";
|
|
29
|
-
import { c as PasswordGrantOptions, d as safeRedirectPath, n as sessionTag, r as tableTags, t as sessionIdTag, u as passwordGrant } from "../cache-tags-
|
|
29
|
+
import { c as PasswordGrantOptions, d as safeRedirectPath, n as sessionTag, r as tableTags, t as sessionIdTag, u as passwordGrant } from "../cache-tags-CGaOtjgV.js";
|
|
30
30
|
import { i as authzUserTopic, n as AUTHZ_TOPIC, t as AUTHZ_EVENT } from "../authz-topic-C7n3kIm_.js";
|
|
31
|
-
import { a as ResourceHandler, c as ResourceList, l as ResourceRouteOptions, s as ResourceInput } from "../resource-types-
|
|
32
|
-
import { i as ResourcePagination } from "../resource-
|
|
33
|
-
import { i as tagFor, n as cacheTagsOf, r as tagCache, t as TagOptions } from "../tags-
|
|
34
|
-
import { a as AuthorizedContext, c as ResourceLoaderContext, d as rolesAt, i as AuthorizeOptions, o as BlockActionOptions, r as ActionResult, s as BlockRequireOptions, u as hasRole } from "../kit-
|
|
31
|
+
import { a as ResourceHandler, c as ResourceList, l as ResourceRouteOptions, s as ResourceInput } from "../resource-types-BmZx8q4a.js";
|
|
32
|
+
import { i as ResourcePagination } from "../resource-BDVguZzJ.js";
|
|
33
|
+
import { i as tagFor, n as cacheTagsOf, r as tagCache, t as TagOptions } from "../tags-BahXc6bW.js";
|
|
34
|
+
import { a as AuthorizedContext, c as ResourceLoaderContext, d as rolesAt, i as AuthorizeOptions, o as BlockActionOptions, r as ActionResult, s as BlockRequireOptions, u as hasRole } from "../kit-EFsCynmb.js";
|
|
35
35
|
import { SupabaseClient } from "@supabase/supabase-js";
|
|
36
36
|
import { Middleware, SingleKeyEntry } from "@supabase/middleware";
|
|
37
37
|
import { AuthMode, JWTClaims, UserClaims } from "@supabase/server";
|
|
@@ -654,4 +654,4 @@ export declare function withDbStats(options?: {
|
|
|
654
654
|
stats(): DbStats;
|
|
655
655
|
};
|
|
656
656
|
}, () => DbStats>;
|
|
657
|
-
export { AUTHZ_EVENT, AUTHZ_TOPIC, AUTHZ_VERSION_CLAIM, type Aal, type Access, type AccessForOptions, type AccessTokenResolverOptions, type AccessTokenRevocation, type AccountEventType, type AccountTransport, type ActClaim, type ActionResult, type ActiveSupport, type ActorOutcome, type AdminDb, type AgentActOptions, type AmrEntry, type AnyAuthorizer, type ApiKeySession, type ApprovalOptions, type ApprovalRequestRef, type Approver, type ApproverOf, type AuthKind, type AuthOutageHook, type AuthResolution, type AuthResolver, type AuthSession, type AuthState, type AuthorizationCallKind, type AuthorizationChange, type AuthorizationContext, type AuthorizationHooks, type AuthorizationIntent, type AuthorizationOutcome, type AuthorizationPurpose, type AuthorizationRequest, type AuthorizationResource, type AuthorizationResourceSource, type AuthorizationSubject, type AuthorizeOptions, type AuthorizedContext, type Authorizer, type AuthorizerRuntime, type AuthzSubjectSeed, type AuthzVersionCache, type AuthzVersionChannel, type AuthzVersionClient, type AuthzVersionSubscription, type AutomationHooks, type AutomationRef, type BetterServer, type BetterSupabaseConfig, type BetterSupabaseContributions, type BetterSupabaseEntry, type BlockActionOptions, type BlockRequireOptions, type Bootstrap, type BootstrapCallOptions, type ChatAction, type ChatActionHook, type ClaimsRecord, type ClaimsSource, type ClearSessionCookiesOptions, type ContextOptions, type CookieOptions, type CookieRecord, type CookieWrite, type CreateVersionCacheOptions, type CsvOptions, type CsvResponseOptions, type DelegationPermissions, type DelegationRef, type DeleteAccountOptions, type DeleteAccountResult, type EndSessionsResult, FEATURES_CLAIM, type ForContextOptions, type GuardEntryConfig, type GuardOptions, type HandleOptions, IDENTITY_SCOPES, type IdentityRef, type IdentityTarget, type ImpersonationEvents, type ImpersonationOptions, type Impersonator, type InvalidReason, type LastSignIn, type LiteDriver, MEMBERSHIPS_CLAIM, type MiddlewareOptions, PERMISSIONS_CLAIM, PERMISSIONS_TRUNCATED_CLAIM, PERMISSION_CAP_CLAIM, PRIMARY_COOKIE, PROBLEM_CONTENT_TYPE, PROBLEM_TYPE_BASE, type PasswordGrantOptions, type PermissionRef, type PermissionsOfOptions, type PrincipalByIdentity, type ProblemDetails, type ProblemOptions, type ProblemResponseOptions, type RateLimitPolicy, type RateLimitState, type RealtimeRelayOptions, type RefreshPolicy, type RelayAccessInput, type RelayAuthorize, type RelayEndReason, type RelayPostgres, type RelayServer, type RelayTopic, type ReplicaState, type RequestIdOptions, type RequestMemo, type ResolveAuthOptions, type ResolveRequestOptions, type ResolvedState, type ResourceHandler, type ResourceInput, type ResourceList, type ResourceLoaderContext, type ResourcePagination, type ResourceRouteOptions, type RespondOptions, SUPPORT_COOKIE, type ServerContext, type ServerCore, type ServerDbOptions, type ServerOptions, type ServerTiming, type SessionActor, type SessionDelegation, type SessionEntryConfig, type SessionLookup, type SessionMemo, type SessionMemoOptions, type SessionMemoStats, type SessionRejection, type SessionSnapshot, type SessionStatus, type SessionStatusBody, type SessionStatusOptions, type SessionStatusRouteOptions, type SessionStatusServer, type SessionWatchStatus, type Settled, type SqlSupportStoreOptions, type StoredSession, type SubjectReadersOptions, type SubscribeAuthzVersionsOptions, type Subscriber, type SubscriberEvent, type SubscriberPolicy, type SupabaseAuthContext, type SupportApi, type SupportApprovalQuery, type SupportApprover, type SupportAuthorize, type SupportAuthorizeInput, type SupportCaller, type SupportCallerClaims, type SupportCookieOptions, type SupportDecision, type SupportEndedBy, type SupportExpireRouteOptions, type SupportListFilter, type SupportOptions, type SupportPolicy, type SupportRequest, type SupportRequestInput, type SupportSession, type SupportSessionStore, type SupportSessions, type SupportStartInput, type SupportStartRequest, type SupportStorageOptions, type SupportView, type SuspendAccountOptions, type SuspendAccountResult, TENANT_HEADER, type TagOptions, type TicketSubject, type UserSession, type VersionCache, type VersionStore, aalOf, actorOf, agentClaims, amrOf, authContext, authzUserTopic, authzVersionOf, bindAuthorizer, cacheTagsOf, checkAal, claimsFingerprint, clearSessionCookies, clearSupportCookie, clientIp, csvColumns, decodeEntitlementClaim, defineAuthorizationHooks, defineAuthorizer, delegationOf, deleteAccount, endSessions, fromProblem, guard, hasRole, impersonatorOf, isApiKeySession, isDocumentLoad, isPrefetch, isProblem, isResult, isSessionSnapshot, isTruncated, isUserSession, issuedAtOf, lastSignIns, passwordGrant, permissionCapOf, permissionsOf, problemResponse, readSession, refreshFor, requestMemo, resolveAuth, respond, rolesAt, safeRedirectPath, serverCore, sessionCacheKey, sessionCookieName, sessionIdTag, sessionMemo, sessionStatus, sessionStatusRoute, sessionTag, settle, snapshotOf, sqlSupportStore, subjectReaders, supportClaims, supportCookie, supportCookieValue, supportOf, supportSessions, suspendAccount, tableTags, tagCache, tagFor, toCsv, toProblem, toSession, withBetterSupabase, withGuard, withSession };
|
|
657
|
+
export { AUTHZ_EVENT, AUTHZ_TOPIC, AUTHZ_VERSION_CLAIM, type Aal, type Access, type AccessForOptions, type AccessTokenResolverOptions, type AccessTokenRevocation, type AccountEventType, type AccountTransport, type ActClaim, type ActionResult, type ActiveSupport, type ActorOutcome, type AdminDb, type AgentActOptions, type AmrEntry, type AnyAuthorizer, type ApiKeySession, type ApprovalOptions, type ApprovalRequestRef, type Approver, type ApproverOf, type AuthKind, type AuthOutageHook, type AuthResolution, type AuthResolver, type AuthSession, type AuthState, type AuthorizationCallKind, type AuthorizationChange, type AuthorizationContext, type AuthorizationHooks, type AuthorizationIntent, type AuthorizationOutcome, type AuthorizationPurpose, type AuthorizationRequest, type AuthorizationResource, type AuthorizationResourceSource, type AuthorizationSubject, type AuthorizeOptions, type AuthorizedContext, type Authorizer, type AuthorizerRuntime, type AuthzSubjectSeed, type AuthzVersionCache, type AuthzVersionChannel, type AuthzVersionClient, type AuthzVersionSubscription, type AutomationHooks, type AutomationRef, type BetterServer, type BetterSupabaseConfig, type BetterSupabaseContributions, type BetterSupabaseEntry, type BlockActionOptions, type BlockRequireOptions, type Bootstrap, type BootstrapCallOptions, type ChatAction, type ChatActionHook, type ClaimsRecord, type ClaimsSource, type ClearSessionCookiesOptions, type ContextOptions, type CookieOptions, type CookieRecord, type CookieWrite, type CreateVersionCacheOptions, type CsvOptions, type CsvResponseOptions, type DelegationPermissions, type DelegationRef, type DeleteAccountOptions, type DeleteAccountResult, type EndSessionsResult, FEATURES_CLAIM, type ForContextOptions, type GuardEntryConfig, type GuardOptions, type HandleOptions, IDENTITY_SCOPES, type IdentityRef, type IdentityTarget, type ImpersonationEvents, type ImpersonationOptions, type Impersonator, type InvalidReason, type LastSignIn, type LiteDriver, MEMBERSHIPS_CLAIM, type MiddlewareOptions, PERMISSIONS_CLAIM, PERMISSIONS_TRUNCATED_CLAIM, PERMISSION_CAP_CLAIM, PRIMARY_COOKIE, PROBLEM_CONTENT_TYPE, PROBLEM_TYPE_BASE, type PasswordGrantOptions, type PermissionRef, type PermissionsOfOptions, type PrincipalByIdentity, type ProblemDetails, type ProblemOptions, type ProblemResponseOptions, type RateLimitPolicy, type RateLimitState, type RealtimeRelayOptions, type RefreshPolicy, type RelayAccessInput, type RelayAuthorize, type RelayEndReason, type RelayPostgres, type RelayServer, type RelayTopic, type ReplicaState, type RequestIdOptions, type RequestMemo, type ResolveAuthOptions, type ResolveRequestOptions, type ResolvedState, type ResourceHandler, type ResourceInput, type ResourceList, type ResourceLoaderContext, type ResourcePagination, type ResourceRouteOptions, type RespondOptions, SUPPORT_COOKIE, type ServerContext, type ServerCore, type ServerDbOptions, type ServerOptions, type ServerTiming, type SessionActor, type SessionDelegation, type SessionEntryConfig, type SessionLookup, type SessionMemo, type SessionMemoOptions, type SessionMemoStats, type SessionRejection, type SessionSnapshot, type SessionStatus, type SessionStatusBody, type SessionStatusOptions, type SessionStatusRouteOptions, type SessionStatusServer, type SessionWatchStatus, type Settled, type SqlSupportStoreOptions, type StoredSession, type SubjectReadersOptions, type SubscribeAuthzVersionsOptions, type Subscriber, type SubscriberEvent, type SubscriberPolicy, type SupabaseAuthContext, type SupportApi, type SupportApprovalQuery, type SupportApprover, type SupportAuthorize, type SupportAuthorizeInput, type SupportCaller, type SupportCallerClaims, type SupportCookieOptions, type SupportDecision, type SupportEndedBy, type SupportExpireRouteOptions, type SupportListFilter, type SupportOptions, type SupportPolicy, type SupportRequest, type SupportRequestInput, type SupportSession, type SupportSessionStore, type SupportSessions, type SupportStartInput, type SupportStartRequest, type SupportStorageOptions, type SupportView, type SuspendAccountOptions, type SuspendAccountResult, TENANT_HEADER, type TagOptions, type TicketSubject, type TransactionOptions, type UserSession, type VersionCache, type VersionStore, aalOf, actorOf, agentClaims, amrOf, authContext, authzUserTopic, authzVersionOf, bindAuthorizer, cacheTagsOf, checkAal, claimsFingerprint, clearSessionCookies, clearSupportCookie, clientIp, csvColumns, decodeEntitlementClaim, defineAuthorizationHooks, defineAuthorizer, delegationOf, deleteAccount, endSessions, fromProblem, guard, hasRole, impersonatorOf, isApiKeySession, isDocumentLoad, isPrefetch, isProblem, isResult, isSessionSnapshot, isTruncated, isUserSession, issuedAtOf, lastSignIns, passwordGrant, permissionCapOf, permissionsOf, problemResponse, readSession, refreshFor, requestMemo, resolveAuth, respond, rolesAt, safeRedirectPath, serverCore, sessionCacheKey, sessionCookieName, sessionIdTag, sessionMemo, sessionStatus, sessionStatusRoute, sessionTag, settle, snapshotOf, sqlSupportStore, subjectReaders, supportClaims, supportCookie, supportCookieValue, supportOf, supportSessions, suspendAccount, tableTags, tagCache, tagFor, toCsv, toProblem, toSession, withBetterSupabase, withGuard, withSession };
|
package/dist/server/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { r as toCsv, t as csvColumns } from "../csv-Bwn9insJ.js";
|
|
2
|
-
import { A as suspendAccount, D as SERVER_EVENT_SOURCE, E as defineAuthorizationHooks, O as endSessions, a as unexpectedResponse, c as extendServer, d as clearSupportCookie, f as supportCookie, h as TENANT_HEADER, i as resolveToken, j as deleteAccount, k as lastSignIns, l as supportStorage, m as supportCookieValue, n as flushEvents, o as withFlush, r as handle, s as createServer, u as SUPPORT_COOKIE, x as serverCore, y as withSession } from "../adapter-
|
|
2
|
+
import { A as suspendAccount, D as SERVER_EVENT_SOURCE, E as defineAuthorizationHooks, O as endSessions, a as unexpectedResponse, c as extendServer, d as clearSupportCookie, f as supportCookie, h as TENANT_HEADER, i as resolveToken, j as deleteAccount, k as lastSignIns, l as supportStorage, m as supportCookieValue, n as flushEvents, o as withFlush, r as handle, s as createServer, u as SUPPORT_COOKIE, x as serverCore, y as withSession } from "../adapter-D7GH81nF.js";
|
|
3
3
|
import { a as PRIMARY_COOKIE, n as isPrefetch, r as refreshFor, t as isDocumentLoad } from "../request-kind-tNDM5Z_o.js";
|
|
4
|
-
import { d as safeRedirectPath, f as supportSessions, m as supportClaims, p as sqlSupportStore, s as passwordGrant } from "../sign-in-
|
|
4
|
+
import { d as safeRedirectPath, f as supportSessions, m as supportClaims, p as sqlSupportStore, s as passwordGrant } from "../sign-in-qMkfifO1.js";
|
|
5
5
|
import { n as event, t as defineEvents } from "../event-map-DLajpFiJ.js";
|
|
6
6
|
import { a as PERMISSIONS_TRUNCATED_CLAIM, i as PERMISSIONS_CLAIM, n as FEATURES_CLAIM, o as PERMISSION_CAP_CLAIM, r as MEMBERSHIPS_CLAIM, t as AUTHZ_VERSION_CLAIM } from "../claim-names-BKig1LOk.js";
|
|
7
7
|
import { t as decodeEntitlementClaim } from "../entitlements-Dydkg-TV.js";
|
|
@@ -18,7 +18,7 @@ import { t as supportOf } from "../support-view-CvDEgyGY.js";
|
|
|
18
18
|
import "../claims/index.js";
|
|
19
19
|
import { i as userContext, r as impersonatorOf } from "../impersonation-D06fv2aF.js";
|
|
20
20
|
import { t as postgresExecutor } from "../executor-DhQDDIqq.js";
|
|
21
|
-
import { n as withGuard, t as withBetterSupabase } from "../composite-
|
|
21
|
+
import { n as withGuard, t as withBetterSupabase } from "../composite-C4oO4i6z.js";
|
|
22
22
|
import { n as jwtClaimsOf, r as userClaimsOf, t as authModeOf } from "../claims-DouHL7ZL.js";
|
|
23
23
|
import { i as delegationOf, n as actorOf, r as agentClaims, t as IDENTITY_SCOPES } from "../actor-BY7JnimK.js";
|
|
24
24
|
import { t as authContext } from "../context-Btw88VG1.js";
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
/// <reference lib="esnext.temporal" />
|
|
2
|
-
import { n as AuthSession, s as ImpersonationOptions } from "./view-
|
|
3
|
-
import { a as ResolveAuthOptions, c as SessionRejection, f as SessionMemoOptions, m as SessionSnapshot, o as ResolvePhase, p as SessionMemoStats, r as AuthState, t as AuthResolution, w as CookieWrite } from "./resolve-
|
|
4
|
-
import { It as RequestContext, O as AnyFunctions, Ut as AnyAuthorizer, an as RequestMemo, k as AnyModels, rn as AuthzVersionCache } from "./types-
|
|
5
|
-
import { b as TicketSubject, i as AuthorizationHooks } from "./authorization-hooks-
|
|
6
|
-
import { o as EventHub } from "./events-
|
|
7
|
-
import { $t as DbStats, G as ReadSet, Q as ReadSetResult, W as InferReadSetParams, f as Db, s as BetterSupabase, tn as StatsRecorder } from "./db-blocks-
|
|
2
|
+
import { n as AuthSession, s as ImpersonationOptions } from "./view-CVXHgadI.js";
|
|
3
|
+
import { a as ResolveAuthOptions, c as SessionRejection, f as SessionMemoOptions, m as SessionSnapshot, o as ResolvePhase, p as SessionMemoStats, r as AuthState, t as AuthResolution, w as CookieWrite } from "./resolve-B9Rn2M5c.js";
|
|
4
|
+
import { It as RequestContext, O as AnyFunctions, Ut as AnyAuthorizer, an as RequestMemo, k as AnyModels, rn as AuthzVersionCache } from "./types-BlBju7Wa.js";
|
|
5
|
+
import { b as TicketSubject, i as AuthorizationHooks } from "./authorization-hooks-DM_ijJsD.js";
|
|
6
|
+
import { o as EventHub } from "./events-DN9PAcjq.js";
|
|
7
|
+
import { $t as DbStats, G as ReadSet, Q as ReadSetResult, W as InferReadSetParams, f as Db, s as BetterSupabase, tn as StatsRecorder } from "./db-blocks-CzhzWfvR.js";
|
|
8
8
|
import { t as AsyncResult } from "./result-CMqlHv82.js";
|
|
9
|
-
import { r as CredentialProvider } from "./provider-
|
|
9
|
+
import { r as CredentialProvider } from "./provider-ChtwfkqL.js";
|
|
10
10
|
import { o as EnvSource, t as BetterSupabaseEnv } from "./index-F6lsRlsr.js";
|
|
11
|
-
import { i as EventSink } from "./cloud-event-
|
|
12
|
-
import { s as SqlClaims, t as BetterPostgres } from "./pool-
|
|
13
|
-
import { j as StorageApi, n as Bucket } from "./bucket-
|
|
14
|
-
import { n as SqlClient } from "./executor-
|
|
15
|
-
import { n as SupportApi, s as SupportSessions, t as ActiveSupport } from "./support-
|
|
16
|
-
import { t as BlockTransport } from "./block-transport-
|
|
11
|
+
import { i as EventSink } from "./cloud-event-Dj2V1lQw.js";
|
|
12
|
+
import { o as SessionOptions, s as SqlClaims, t as BetterPostgres } from "./pool-3kL7D5vJ.js";
|
|
13
|
+
import { j as StorageApi, n as Bucket } from "./bucket-DJu58KBb.js";
|
|
14
|
+
import { n as SqlClient } from "./executor-CnU5r1HS.js";
|
|
15
|
+
import { n as SupportApi, s as SupportSessions, t as ActiveSupport } from "./support-DYNFoAZ8.js";
|
|
16
|
+
import { t as BlockTransport } from "./block-transport-CP4wAHU-.js";
|
|
17
17
|
import { SupabaseClient } from "@supabase/supabase-js";
|
|
18
18
|
/** One `bootstrap_<rpc>` call: the parts every adapter takes. */
|
|
19
19
|
interface BootstrapCallOptions<S extends ReadSet = ReadSet> {
|
|
@@ -378,6 +378,15 @@ interface ServerSessions<C = unknown, P = unknown> {
|
|
|
378
378
|
evict(userId: string): void;
|
|
379
379
|
clear(): void;
|
|
380
380
|
}
|
|
381
|
+
/** Options for `server.transaction`. */
|
|
382
|
+
interface TransactionOptions {
|
|
383
|
+
/** More claims for the user, like `actingAs`. */
|
|
384
|
+
readonly claims?: Omit<SqlClaims, "sub" | "act">;
|
|
385
|
+
/** The tenant the blocks in the transaction act in. */
|
|
386
|
+
readonly tenant?: string;
|
|
387
|
+
/** Session settings, a statement timeout or `readOnly`. */
|
|
388
|
+
readonly session?: SessionOptions;
|
|
389
|
+
}
|
|
381
390
|
interface ForContextOptions {
|
|
382
391
|
/**
|
|
383
392
|
* Recorded as `act.reason` when the context carries an impersonator. Defaults
|
|
@@ -591,6 +600,15 @@ interface BetterServer<M extends AnyModels, F extends AnyFunctions, E, C = unkno
|
|
|
591
600
|
* reason }`, which the `audit` and `actor` SQL modules record.
|
|
592
601
|
*/
|
|
593
602
|
actingAs(userId: string, claims?: Omit<SqlClaims, "sub" | "act">, impersonation?: ImpersonationOptions): Db<M, F, E, undefined, B>;
|
|
603
|
+
/**
|
|
604
|
+
* Runs `fn` as the user in one Postgres transaction. The `Db` it receives is
|
|
605
|
+
* bound to that transaction, so repository writes and block calls
|
|
606
|
+
* (`db.audit`, `db.$blocks.*`) commit or roll back together, with RLS and the
|
|
607
|
+
* user's claims. A throw rolls back, and so does a returned `Result` that is
|
|
608
|
+
* not ok: the `Result` is still returned. A nested transaction (`$many`) runs
|
|
609
|
+
* in a savepoint. Needs `ServerOptions.postgres`.
|
|
610
|
+
*/
|
|
611
|
+
transaction<T>(userId: string, fn: (db: Db<M, F, E, undefined, B>) => Promise<T>, options?: TransactionOptions): Promise<T>;
|
|
594
612
|
/**
|
|
595
613
|
* Repositories for the user in a recorded context (`job.context`), with RLS,
|
|
596
614
|
* over direct Postgres: `actingAs` with the context's tenant and
|
|
@@ -649,4 +667,4 @@ interface BetterServer<M extends AnyModels, F extends AnyFunctions, E, C = unkno
|
|
|
649
667
|
evictSession(userId: string): Promise<void>;
|
|
650
668
|
}
|
|
651
669
|
type ServerKeys = keyof BetterServer<AnyModels, AnyFunctions, unknown>;
|
|
652
|
-
export {
|
|
670
|
+
export { AccessForOptions as A, PRIMARY_COOKIE as C, DeleteAccountResult as D, DeleteAccountOptions as E, BootstrapCallOptions as M, deleteAccount as O, RequestIdOptions as S, LiteDriver as T, SuspendAccountOptions as _, ForContextOptions as a, lastSignIns as b, ServerDbOptions as c, SharedServer as d, TENANT_HEADER as f, LastSignIn as g, EndSessionsResult as h, ContextOptions as i, Bootstrap as j, Access as k, ServerKeys as l, AccountTransport as m, ApprovalOptions as n, ResolveRequestOptions as o, TransactionOptions as p, BetterServer as r, ServerContext as s, AdminDb as t, ServerOptions as u, SuspendAccountResult as v, ReplicaState as w, suspendAccount as x, endSessions as y };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { C as CookieScope, T as SessionEncoding, o as ResolvePhase, r as AuthState, t as AuthResolution } from "./resolve-
|
|
2
|
-
import { n as AuthOutageEvent, o as EventHub } from "./events-
|
|
3
|
-
import { O as AnyFunctions, k as AnyModels } from "./types-
|
|
4
|
-
import { d as RefreshPolicy } from "./respond
|
|
5
|
-
import { i as ContextOptions, s as ServerContext } from "./server-types-
|
|
6
|
-
import { t as ActiveSupport } from "./support-
|
|
1
|
+
import { C as CookieScope, T as SessionEncoding, o as ResolvePhase, r as AuthState, t as AuthResolution } from "./resolve-B9Rn2M5c.js";
|
|
2
|
+
import { n as AuthOutageEvent, o as EventHub } from "./events-DN9PAcjq.js";
|
|
3
|
+
import { O as AnyFunctions, k as AnyModels } from "./types-BlBju7Wa.js";
|
|
4
|
+
import { d as RefreshPolicy } from "./respond-OjgB7zlB.js";
|
|
5
|
+
import { i as ContextOptions, s as ServerContext } from "./server-types-Cf4eX4kr.js";
|
|
6
|
+
import { t as ActiveSupport } from "./support-DYNFoAZ8.js";
|
|
7
7
|
import { SingleKeyEntry } from "@supabase/middleware";
|
|
8
8
|
/**
|
|
9
9
|
* What the entries need from a `createServer` server: its resolver, its
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { r as AuthState, t as AuthResolution } from "./resolve-
|
|
2
|
-
import { t as ActiveSupport } from "./support-
|
|
1
|
+
import { r as AuthState, t as AuthResolution } from "./resolve-B9Rn2M5c.js";
|
|
2
|
+
import { t as ActiveSupport } from "./support-DYNFoAZ8.js";
|
|
3
3
|
/**
|
|
4
4
|
* `active`: the session is valid. `expired`: the cookie's token expired and the
|
|
5
5
|
* route may not refresh it; the next navigation through the proxy does. `ended`
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { n as BlockOptions } from "./block-helpers-
|
|
2
|
-
import { n as BlockHooks } from "./block-hooks-
|
|
1
|
+
import { n as BlockOptions } from "./block-helpers-rTsuHt6v.js";
|
|
2
|
+
import { n as BlockHooks } from "./block-hooks-FM9t7ol_.js";
|
|
3
3
|
import { n as Logger } from "./logger-0LfhvwE4.js";
|
|
4
4
|
import { t as AsyncResult } from "./result-CMqlHv82.js";
|
|
5
5
|
import { StandardSchemaV1 } from "@standard-schema/spec";
|