better-supabase 0.49.0 → 0.51.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 +14 -0
- package/dist/{activities-C2v_Sq4w.d.ts → activities-CL253DEv.d.ts} +2 -2
- package/dist/{adapter-BzeH7ffo.js → adapter-DBO28HF_.js} +1 -1
- package/dist/{agents-Cekdx8Bz.d.ts → agents-C3l31Csq.d.ts} +33 -2
- package/dist/agents-Cf59iYaF.d.ts +290 -0
- package/dist/agents-lkuM-m6i.js +380 -0
- package/dist/{ai-cache-Pchr6Y4y.js → ai-cache-CnmJIQZG.js} +2 -2
- package/dist/{ai-chat-D2o3jqZ5.d.ts → ai-chat-DwVklsNR.d.ts} +88 -7
- package/dist/{ai-files-B2BWwPoj.js → ai-files-CMDsogDg.js} +3 -2
- package/dist/ai-guardrails-Ckbf-cmW.d.ts +216 -0
- package/dist/{ai-schedules-BOiaFIva.d.ts → ai-schedules-D68hvDoZ.d.ts} +1 -1
- package/dist/ai-sdk/agents/index.d.ts +68 -212
- package/dist/ai-sdk/agents/index.js +103 -300
- package/dist/ai-sdk/batches/index.js +1 -1
- package/dist/ai-sdk/cache/index.js +1 -1
- package/dist/ai-sdk/chat/index.d.ts +2 -2
- package/dist/ai-sdk/chat/index.js +5 -2
- package/dist/ai-sdk/embeddings/index.d.ts +52 -3
- package/dist/ai-sdk/embeddings/index.js +69 -1
- package/dist/ai-sdk/files/index.d.ts +38 -4
- package/dist/ai-sdk/files/index.js +100 -4
- package/dist/ai-sdk/index.d.ts +166 -16
- package/dist/ai-sdk/index.js +394 -21
- package/dist/ai-sdk/mcp/index.d.ts +49 -2
- package/dist/ai-sdk/mcp/index.js +108 -6
- package/dist/ai-sdk/memory/index.d.ts +2 -2
- package/dist/ai-sdk/memory/index.js +7 -2
- package/dist/ai-sdk/react/index.js +2 -2
- package/dist/ai-sdk/react/server.js +1 -1
- package/dist/ai-sdk/workflow/index.d.ts +87 -23
- package/dist/ai-sdk/workflow/index.js +275 -28
- package/dist/ai-sdk/workflow/react/index.d.ts +25 -4
- package/dist/ai-sdk/workflow/react/index.js +71 -16
- package/dist/ai-sdk/workflow/react/server.d.ts +4 -4
- package/dist/{api-CWeCh_j2.d.ts → api-3I8ucZF2.d.ts} +1 -1
- package/dist/{api-DXZh-j0l.js → api-CZGUgEVr.js} +1 -1
- package/dist/{app-tables-D6Na4nwb.d.ts → app-tables-qa0wvhw0.d.ts} +1 -1
- package/dist/{approvals-B-WgN6Mf.d.ts → approvals-C7DjllLP.d.ts} +84 -1
- package/dist/{approvals-CMkvP9kT.js → approvals-CfQuk-lJ.js} +84 -8
- package/dist/{assistant-DcxV_seb.js → assistant-BBN9KJPi.js} +108 -26
- package/dist/{assistant-Dy9zwENt.d.ts → assistant-VF3vhPZo.d.ts} +68 -25
- package/dist/astro/index.js +2 -2
- package/dist/{attachments-gjSYzlsQ.js → attachments-Da24yVTB.js} +4 -4
- package/dist/audit-files/index.js +2 -2
- package/dist/{authorization-N4bh4KQS.d.ts → authorization-fXe0XyzB.d.ts} +1 -1
- package/dist/{automations-Ce0jNNIe.js → automations-BKxKPkhr.js} +2 -2
- package/dist/{automations-CCc5RUw-.js → automations-CkwKi84L.js} +2 -1
- package/dist/{bind-ChYzUApb.d.ts → bind-CimlbjXB.d.ts} +3 -3
- package/dist/{block-authors-CjI5VcQz.js → block-authors-Dt82LpCs.js} +1 -1
- package/dist/{block-env-buLS8m9m.d.ts → block-env-D0JCpFzh.d.ts} +4 -4
- package/dist/{block-helpers-CCl3V9ku.js → block-helpers-DApvw3n9.js} +5 -2
- package/dist/{block-hooks-C2_d17_b.js → block-hooks-mazaapv5.js} +1 -1
- package/dist/{block-subjects-ok-uZ1UU.js → block-subjects-CFDmtXvr.js} +1 -1
- package/dist/{block-subjects-rv7V0R6O.js → block-subjects-D3r2SfCb.js} +10 -10
- package/dist/{block-tables-Pd7nOPv3.d.ts → block-tables-CdXRHb2v.d.ts} +1 -1
- package/dist/blocks/access-requests/index.d.ts +1 -1
- package/dist/blocks/access-requests/index.js +2 -2
- package/dist/blocks/accounting/index.d.ts +1 -1
- package/dist/blocks/accounting/index.js +3 -3
- package/dist/blocks/acknowledgements/index.d.ts +1 -1
- package/dist/blocks/acknowledgements/index.js +2 -2
- package/dist/blocks/activities/index.d.ts +5 -13
- package/dist/blocks/activities/index.js +3 -3
- package/dist/blocks/advisories/index.d.ts +1 -1
- package/dist/blocks/advisories/index.js +2 -2
- package/dist/blocks/agent-checkout/index.d.ts +1 -1
- package/dist/blocks/agent-checkout/index.js +2 -2
- package/dist/blocks/agents/index.d.ts +4 -4
- package/dist/blocks/agents/index.js +47 -8
- package/dist/blocks/ai-cache/index.d.ts +1 -1
- package/dist/blocks/ai-cache/index.js +2 -2
- package/dist/blocks/ai-chat/index.d.ts +4 -4
- package/dist/blocks/ai-chat/index.js +76 -8
- package/dist/blocks/ai-evals/index.d.ts +1 -1
- package/dist/blocks/ai-evals/index.js +2 -2
- package/dist/blocks/ai-files/index.d.ts +2 -2
- package/dist/blocks/ai-files/index.js +2 -2
- package/dist/blocks/ai-guardrails/index.d.ts +3 -216
- package/dist/blocks/ai-guardrails/index.js +4 -4
- package/dist/blocks/ai-keys/index.d.ts +1 -1
- package/dist/blocks/ai-keys/index.js +4 -4
- package/dist/blocks/ai-schedules/index.d.ts +2 -2
- package/dist/blocks/ai-schedules/index.js +2 -2
- package/dist/blocks/announcements/index.d.ts +4 -4
- package/dist/blocks/announcements/index.js +2 -2
- package/dist/blocks/api-keys/index.d.ts +1 -1
- package/dist/blocks/api-keys/index.js +2 -2
- package/dist/blocks/appraisals/index.d.ts +1 -1
- package/dist/blocks/appraisals/index.js +2 -2
- package/dist/blocks/approvals/index.d.ts +2 -2
- package/dist/blocks/approvals/index.js +3 -3
- package/dist/blocks/assets/index.d.ts +2 -2
- package/dist/blocks/assets/index.js +3 -3
- package/dist/blocks/assignment/index.d.ts +1 -1
- package/dist/blocks/assignment/index.js +3 -3
- package/dist/blocks/attachments/index.d.ts +5 -5
- package/dist/blocks/attachments/index.js +3 -3
- package/dist/blocks/audit/index.d.ts +2 -2
- package/dist/blocks/audit/index.js +2 -2
- package/dist/blocks/automations/index.d.ts +4 -4
- package/dist/blocks/automations/index.js +3 -3
- package/dist/blocks/banking/index.d.ts +1 -1
- package/dist/blocks/banking/index.js +3 -3
- package/dist/blocks/billable-time/index.d.ts +1 -1
- package/dist/blocks/billable-time/index.js +3 -3
- package/dist/blocks/billing/index.d.ts +2 -2
- package/dist/blocks/billing/index.js +2 -2
- package/dist/blocks/bookings/index.d.ts +2 -2
- package/dist/blocks/bookings/index.js +2 -2
- package/dist/blocks/bulk/index.d.ts +1 -1
- package/dist/blocks/bulk/index.js +2 -2
- package/dist/blocks/calendar/index.d.ts +3 -3
- package/dist/blocks/calendar/index.js +1 -1
- package/dist/blocks/care/index.d.ts +27 -27
- package/dist/blocks/care/index.js +27 -27
- package/dist/blocks/care-plans/index.d.ts +3 -3
- package/dist/blocks/care-plans/index.js +3 -3
- package/dist/blocks/cases/index.d.ts +3 -3
- package/dist/blocks/cases/index.js +3 -3
- package/dist/blocks/catalog/index.d.ts +2 -2
- package/dist/blocks/catalog/index.js +3 -3
- package/dist/blocks/channels/index.d.ts +1 -1
- package/dist/blocks/channels/index.js +2 -2
- package/dist/blocks/clinical-decision-support/index.d.ts +1 -1
- package/dist/blocks/clinical-decision-support/index.js +2 -2
- package/dist/blocks/cms/index.d.ts +5 -5
- package/dist/blocks/cms/index.js +5 -5
- package/dist/blocks/collaboration/index.d.ts +6 -6
- package/dist/blocks/collaboration/index.js +6 -6
- package/dist/blocks/collections/index.d.ts +1 -1
- package/dist/blocks/collections/index.js +2 -2
- package/dist/blocks/comments/index.d.ts +2 -2
- package/dist/blocks/comments/index.js +3 -3
- package/dist/blocks/commerce/index.d.ts +5 -5
- package/dist/blocks/commerce/index.js +5 -5
- package/dist/blocks/commissions/index.d.ts +1 -1
- package/dist/blocks/commissions/index.js +2 -2
- package/dist/blocks/compliance/index.d.ts +1 -1
- package/dist/blocks/compliance/index.js +2 -2
- package/dist/blocks/connectors/index.d.ts +1 -1
- package/dist/blocks/connectors/index.js +3 -3
- package/dist/blocks/consents/index.d.ts +2 -2
- package/dist/blocks/consents/index.js +3 -3
- package/dist/blocks/contacts/index.d.ts +3 -3
- package/dist/blocks/contacts/index.js +4 -4
- package/dist/blocks/content/index.d.ts +2 -2
- package/dist/blocks/content/index.js +3 -3
- package/dist/blocks/contracts/index.d.ts +1 -1
- package/dist/blocks/contracts/index.js +4 -4
- package/dist/blocks/courses/index.d.ts +3 -3
- package/dist/blocks/courses/index.js +3 -3
- package/dist/blocks/created-by/index.d.ts +2 -2
- package/dist/blocks/crm/index.d.ts +16 -16
- package/dist/blocks/crm/index.js +16 -16
- package/dist/blocks/custom-fields/index.d.ts +1 -1
- package/dist/blocks/custom-fields/index.js +2 -2
- package/dist/blocks/dam/index.d.ts +2 -2
- package/dist/blocks/dam/index.js +4 -4
- package/dist/blocks/data-lifecycle/index.d.ts +2 -2
- package/dist/blocks/data-lifecycle/index.js +3 -3
- package/dist/blocks/deals/index.d.ts +1 -1
- package/dist/blocks/deals/index.js +3 -3
- package/dist/blocks/dispatch/index.d.ts +2 -2
- package/dist/blocks/dispatch/index.js +4 -4
- package/dist/blocks/document-templates/index.d.ts +1 -1
- package/dist/blocks/document-templates/index.js +2 -2
- package/dist/blocks/documents/index.d.ts +1 -1
- package/dist/blocks/documents/index.js +2 -2
- package/dist/blocks/domains/index.d.ts +1 -1
- package/dist/blocks/domains/index.js +3 -3
- package/dist/blocks/donations/index.d.ts +1 -1
- package/dist/blocks/donations/index.js +4 -4
- package/dist/blocks/drive/index.d.ts +5 -5
- package/dist/blocks/drive/index.js +5 -5
- package/dist/blocks/e-prescribing/index.d.ts +1 -1
- package/dist/blocks/e-prescribing/index.js +2 -2
- package/dist/blocks/employees/index.d.ts +1 -1
- package/dist/blocks/employees/index.js +3 -3
- package/dist/blocks/enrichment/index.d.ts +1 -1
- package/dist/blocks/enrichment/index.js +3 -3
- package/dist/blocks/enrollments/index.d.ts +2 -2
- package/dist/blocks/enrollments/index.js +3 -3
- package/dist/blocks/entitlements/index.d.ts +3 -3
- package/dist/blocks/entitlements/index.js +3 -3
- package/dist/blocks/events/index.d.ts +3 -3
- package/dist/blocks/events/index.js +3 -3
- package/dist/blocks/expenses/index.d.ts +1 -1
- package/dist/blocks/expenses/index.js +3 -3
- package/dist/blocks/field-history/index.d.ts +1 -1
- package/dist/blocks/field-history/index.js +3 -3
- package/dist/blocks/filespace/index.d.ts +8 -8
- package/dist/blocks/filespace/index.js +7 -7
- package/dist/blocks/finance/index.d.ts +5 -5
- package/dist/blocks/finance/index.js +5 -5
- package/dist/blocks/flags/index.d.ts +1 -1
- package/dist/blocks/flags/index.js +3 -3
- package/dist/blocks/forecasts/index.d.ts +1 -1
- package/dist/blocks/forecasts/index.js +3 -3
- package/dist/blocks/forms/index.d.ts +3 -3
- package/dist/blocks/forms/index.js +2 -2
- package/dist/blocks/funding/index.d.ts +2 -2
- package/dist/blocks/funding/index.js +3 -3
- package/dist/blocks/goals/index.d.ts +1 -1
- package/dist/blocks/goals/index.js +3 -3
- package/dist/blocks/governance/index.d.ts +4 -4
- package/dist/blocks/governance/index.js +4 -4
- package/dist/blocks/guests/index.d.ts +1 -1
- package/dist/blocks/guests/index.js +3 -3
- package/dist/blocks/hiring/index.d.ts +1 -1
- package/dist/blocks/hiring/index.js +3 -3
- package/dist/blocks/identities/index.d.ts +1 -1
- package/dist/blocks/identities/index.js +2 -2
- package/dist/blocks/imports/index.d.ts +2 -2
- package/dist/blocks/imports/index.js +2 -2
- package/dist/blocks/inbox/index.d.ts +8 -8
- package/dist/blocks/inbox/index.js +3 -3
- package/dist/blocks/incidents/index.d.ts +1 -1
- package/dist/blocks/incidents/index.js +2 -2
- package/dist/blocks/index.d.ts +8 -8
- package/dist/blocks/index.js +4 -4
- package/dist/blocks/inspections/index.d.ts +2 -2
- package/dist/blocks/inspections/index.js +2 -2
- package/dist/blocks/inventory/index.d.ts +1 -1
- package/dist/blocks/inventory/index.js +3 -3
- package/dist/blocks/invoices/index.d.ts +1 -1
- package/dist/blocks/invoices/index.js +3 -3
- package/dist/blocks/knowledge/index.d.ts +3 -3
- package/dist/blocks/knowledge/index.js +4 -4
- package/dist/blocks/lead-scoring/index.d.ts +2 -2
- package/dist/blocks/lead-scoring/index.js +3 -3
- package/dist/blocks/learning/index.d.ts +3 -3
- package/dist/blocks/learning/index.js +3 -3
- package/dist/blocks/leases/index.d.ts +1 -1
- package/dist/blocks/leases/index.js +3 -3
- package/dist/blocks/leave/index.d.ts +1 -1
- package/dist/blocks/leave/index.js +3 -3
- package/dist/blocks/ledger/index.d.ts +1 -1
- package/dist/blocks/ledger/index.js +2 -2
- package/dist/blocks/legal-entities/index.d.ts +2 -2
- package/dist/blocks/legal-entities/index.js +2 -2
- package/dist/blocks/lims/index.d.ts +2 -2
- package/dist/blocks/lims/index.js +2 -2
- package/dist/blocks/mail-sync/index.d.ts +3 -3
- package/dist/blocks/mail-sync/index.js +3 -3
- package/dist/blocks/maintenance/index.d.ts +2 -2
- package/dist/blocks/maintenance/index.js +3 -3
- package/dist/blocks/manufacturing/index.d.ts +2 -2
- package/dist/blocks/manufacturing/index.js +3 -3
- package/dist/blocks/medications/index.d.ts +1 -1
- package/dist/blocks/medications/index.js +3 -3
- package/dist/blocks/meetings/index.d.ts +3 -3
- package/dist/blocks/meetings/index.js +3 -3
- package/dist/blocks/memberships/index.d.ts +2 -2
- package/dist/blocks/memory/index.d.ts +3 -3
- package/dist/blocks/memory/index.js +7 -7
- package/dist/blocks/messaging/index.d.ts +5 -5
- package/dist/blocks/messaging/index.js +3 -3
- package/dist/blocks/metrics/index.d.ts +1 -1
- package/dist/blocks/metrics/index.js +2 -2
- package/dist/blocks/mfa/index.d.ts +2 -2
- package/dist/blocks/moderation/index.d.ts +2 -2
- package/dist/blocks/moderation/index.js +2 -2
- package/dist/blocks/notifications/index.d.ts +5 -5
- package/dist/blocks/notifications/index.js +3 -3
- package/dist/blocks/numbering/index.d.ts +1 -1
- package/dist/blocks/numbering/index.js +1 -1
- package/dist/blocks/oauth-server/index.d.ts +1 -1
- package/dist/blocks/oauth-server/index.js +2 -2
- package/dist/blocks/observations/index.d.ts +2 -2
- package/dist/blocks/observations/index.js +3 -3
- package/dist/blocks/onboarding/index.d.ts +2 -2
- package/dist/blocks/onboarding/index.js +2 -2
- package/dist/blocks/orders/index.d.ts +1 -1
- package/dist/blocks/orders/index.js +4 -4
- package/dist/blocks/organizations/index.d.ts +2 -2
- package/dist/blocks/organizations/index.js +3 -3
- package/dist/blocks/outbox/index.d.ts +1 -1
- package/dist/blocks/outbox/index.js +2 -2
- package/dist/blocks/passes/index.d.ts +2 -2
- package/dist/blocks/passes/index.js +3 -3
- package/dist/blocks/payroll-export/index.d.ts +2 -2
- package/dist/blocks/payroll-export/index.js +3 -3
- package/dist/blocks/people/index.d.ts +7 -7
- package/dist/blocks/people/index.js +7 -7
- package/dist/blocks/periods/index.d.ts +1 -1
- package/dist/blocks/periods/index.js +2 -2
- package/dist/blocks/permissions/index.d.ts +3 -3
- package/dist/blocks/permissions/index.js +2 -2
- package/dist/blocks/pipelines/index.d.ts +1 -1
- package/dist/blocks/pipelines/index.js +3 -3
- package/dist/blocks/posts/index.d.ts +2 -2
- package/dist/blocks/posts/index.js +2 -2
- package/dist/blocks/procurement/index.d.ts +5 -5
- package/dist/blocks/procurement/index.js +5 -5
- package/dist/blocks/profiles/index.d.ts +1 -1
- package/dist/blocks/profiles/index.js +3 -3
- package/dist/blocks/projects/index.d.ts +7 -7
- package/dist/blocks/projects/index.js +7 -7
- package/dist/blocks/promotions/index.d.ts +1 -1
- package/dist/blocks/promotions/index.js +4 -4
- package/dist/blocks/prompts/index.d.ts +1 -1
- package/dist/blocks/prompts/index.js +2 -2
- package/dist/blocks/push/index.d.ts +2 -2
- package/dist/blocks/push/index.js +3 -3
- package/dist/blocks/qualifications/index.d.ts +2 -2
- package/dist/blocks/qualifications/index.js +3 -3
- package/dist/blocks/queue/index.d.ts +96 -3
- package/dist/blocks/queue/index.js +149 -7
- package/dist/blocks/quotes/index.d.ts +1 -1
- package/dist/blocks/quotes/index.js +3 -3
- package/dist/blocks/rank/index.d.ts +1 -1
- package/dist/blocks/rank/index.js +2 -2
- package/dist/blocks/reactions/index.d.ts +4 -4
- package/dist/blocks/reactions/index.js +3 -3
- package/dist/blocks/recruiting/index.d.ts +4 -4
- package/dist/blocks/recruiting/index.js +4 -4
- package/dist/blocks/referrals/index.d.ts +1 -1
- package/dist/blocks/referrals/index.js +2 -2
- package/dist/blocks/relations/index.d.ts +1 -1
- package/dist/blocks/relations/index.js +4 -4
- package/dist/blocks/reminders/index.d.ts +1 -1
- package/dist/blocks/reminders/index.js +1 -1
- package/dist/blocks/reviews/index.d.ts +1 -1
- package/dist/blocks/reviews/index.js +2 -2
- package/dist/blocks/rfqs/index.d.ts +2 -2
- package/dist/blocks/rfqs/index.js +3 -3
- package/dist/blocks/risks/index.d.ts +2 -2
- package/dist/blocks/risks/index.js +2 -2
- package/dist/blocks/saas/index.d.ts +12 -12
- package/dist/blocks/saas/index.js +12 -12
- 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 +2 -2
- package/dist/blocks/saved-views/index.js +2 -2
- package/dist/blocks/scheduling/index.d.ts +4 -4
- package/dist/blocks/scheduling/index.js +4 -4
- package/dist/blocks/scores/index.d.ts +2 -2
- package/dist/blocks/scores/index.js +3 -3
- package/dist/blocks/search/index.d.ts +4 -4
- package/dist/blocks/search/index.js +2 -2
- package/dist/blocks/security-events/index.d.ts +1 -1
- package/dist/blocks/security-events/index.js +2 -2
- package/dist/blocks/segments/index.d.ts +2 -2
- package/dist/blocks/segments/index.js +3 -3
- package/dist/blocks/sequences/index.d.ts +3 -3
- package/dist/blocks/sequences/index.js +3 -3
- package/dist/blocks/service/index.d.ts +7 -7
- package/dist/blocks/service/index.js +7 -7
- package/dist/blocks/service-accounts/index.d.ts +1 -1
- package/dist/blocks/service-accounts/index.js +2 -2
- package/dist/blocks/sessions/index.d.ts +2 -2
- package/dist/blocks/sessions/index.js +2 -2
- package/dist/blocks/settings/index.d.ts +2 -2
- package/dist/blocks/settings/index.js +3 -3
- package/dist/blocks/share-links/index.d.ts +1 -1
- package/dist/blocks/share-links/index.js +1 -1
- package/dist/blocks/shifts/index.d.ts +2 -2
- package/dist/blocks/shifts/index.js +3 -3
- package/dist/blocks/shipments/index.d.ts +2 -2
- package/dist/blocks/shipments/index.js +4 -4
- package/dist/blocks/signatures/index.d.ts +2 -2
- package/dist/blocks/signatures/index.js +2 -2
- package/dist/blocks/signing-keys/index.d.ts +1 -1
- package/dist/blocks/signing-keys/index.js +2 -2
- package/dist/blocks/sla/index.d.ts +1 -1
- package/dist/blocks/sla/index.js +3 -3
- package/dist/blocks/sso/index.d.ts +1 -1
- package/dist/blocks/sso/index.js +2 -2
- package/dist/blocks/state-machine/index.d.ts +1 -1
- package/dist/blocks/state-machine/index.js +1 -1
- package/dist/blocks/subjects/index.d.ts +2 -2
- package/dist/blocks/subjects/index.js +3 -3
- package/dist/blocks/support/index.d.ts +5 -5
- package/dist/blocks/support/index.js +5 -5
- package/dist/blocks/tags/index.d.ts +2 -2
- package/dist/blocks/tags/index.js +1 -1
- package/dist/blocks/tasks/index.d.ts +2 -2
- package/dist/blocks/tasks/index.js +3 -3
- package/dist/blocks/tax/index.d.ts +2 -2
- package/dist/blocks/tax/index.js +3 -3
- package/dist/blocks/teams/index.d.ts +1 -1
- package/dist/blocks/teams/index.js +1 -1
- package/dist/blocks/templates/index.d.ts +3 -3
- package/dist/blocks/templates/index.js +2 -2
- package/dist/blocks/tills/index.d.ts +1 -1
- package/dist/blocks/tills/index.js +3 -3
- package/dist/blocks/time-tracking/index.d.ts +2 -2
- package/dist/blocks/time-tracking/index.js +2 -2
- package/dist/blocks/timeline/index.d.ts +1 -1
- package/dist/blocks/timeline/index.js +2 -2
- package/dist/blocks/trash/index.d.ts +1 -1
- package/dist/blocks/trash/index.js +2 -2
- package/dist/blocks/undo/index.d.ts +2 -2
- package/dist/blocks/undo/index.js +2 -2
- package/dist/blocks/updated-at/index.d.ts +2 -2
- package/dist/blocks/usage/index.d.ts +3 -3
- package/dist/blocks/usage/index.js +15 -3
- package/dist/blocks/vercel-marketplace/index.d.ts +1 -1
- package/dist/blocks/vercel-marketplace/index.js +2 -2
- package/dist/blocks/versions/index.d.ts +1 -1
- package/dist/blocks/versions/index.js +2 -2
- package/dist/blocks/waitlist/index.d.ts +1 -1
- package/dist/blocks/waitlist/index.js +2 -2
- package/dist/blocks/warehouse/index.d.ts +1 -1
- package/dist/blocks/warehouse/index.js +3 -3
- package/dist/blocks/webhooks/index.d.ts +1 -1
- package/dist/blocks/webhooks/index.js +6 -6
- package/dist/blocks/workflow-editor/index.d.ts +7 -7
- package/dist/blocks/workflow-editor/index.js +3 -3
- package/dist/blocks/workflows/index.d.ts +5 -5
- package/dist/blocks/workflows/index.js +51 -12
- package/dist/{blocks-ERs7xZ7E.d.ts → blocks-DbarkJe1.d.ts} +43 -19
- package/dist/{channel-iJrqCvKh.js → channel-HoCqE6Xb.js} +1 -1
- package/dist/chat-sdk/index.d.ts +549 -131
- package/dist/chat-sdk/index.js +881 -245
- package/dist/claims/index.d.ts +3 -3
- package/dist/cli/{account-D7u3LvNN.js → account-CVomaGBV.js} +1 -1
- package/dist/cli/{account-BGMPSKJs.js → account-Co53476L.js} +1 -1
- package/dist/cli/add-CGR3mLgc.js +1 -0
- package/dist/cli/{add-BXfK7N0H.js → add-Cbuj3vBk.js} +2 -2
- package/dist/cli/{add-Ca3FNbhm.js → add-ymWkkPNw.js} +13 -13
- package/dist/cli/{app-table-files-BR0zwJ7T.js → app-table-files-DoPmytoG.js} +3 -3
- package/dist/cli/{app-tables-DAHcDTFh.js → app-tables-D1rjtFmq.js} +2 -2
- package/dist/cli/{automations-DKKuC8MW.js → automations-DAMWU5je.js} +1 -1
- package/dist/cli/{backfill-DHD9e6XO.js → backfill-DgHzYvi5.js} +162 -6
- package/dist/cli/bin.js +1 -1
- package/dist/cli/{blocks-C4J4d_Jx.js → blocks-CzCYyx9N.js} +2 -2
- package/dist/cli/{blocks-DtEsw6CG.js → blocks-DmIQd43q.js} +1 -1
- package/dist/cli/{cache-DyhfGbUV.js → cache-dmC65uMm.js} +1 -1
- package/dist/cli/{codemod-B7EdR7Fu.js → codemod-CzRpopTy.js} +3 -3
- package/dist/cli/{command-bvbsvYpo.js → command-CLlRvLN9.js} +14 -7
- package/dist/cli/{completion-C8zJwfzA.js → completion-4Ta2j6uu.js} +2 -2
- package/dist/cli/{completion-CsGpvIuo.js → completion-BeyJYbyT.js} +2 -2
- package/dist/cli/{completion-GgZmb_t7.js → completion-DwUZqnou.js} +1 -1
- package/dist/cli/{config-C-DXllAX.js → config-DDzGKmmT.js} +32 -1
- package/dist/cli/{config-DyGupd-1.js → config-DPKOp4D5.js} +1 -1
- package/dist/cli/{config-CWQesy6K.js → config-lZB85ksj.js} +1 -1
- package/dist/cli/{content-mapper-BM9asZuL.js → content-mapper-B6JGZZ-x.js} +2 -2
- package/dist/cli/{db-CVoN3aLl.js → db-XUHrXei6.js} +3 -3
- package/dist/cli/{doctor-BuE0Ry7T.js → doctor-Be-y8dsz.js} +240 -20
- package/dist/cli/{env-Bco8UGR3.js → env-49B92Izr.js} +1 -1
- package/dist/cli/env-BNeYZxBV.js +1 -0
- package/dist/cli/{gen-DMAd__D1.js → gen-CMppeGNK.js} +16 -16
- package/dist/cli/index.d.ts +1 -1
- package/dist/cli/index.js +8 -8
- package/dist/cli/{init-BfpkhVgY.js → init-qbw1o0Dd.js} +10 -10
- package/dist/cli/{keys-CRf_wOFs.js → keys-DPHVpbjn.js} +1 -1
- package/dist/cli/{live-XBM0kzT3.js → live-RZhHZRFj.js} +2 -2
- package/dist/cli/{mcp-C9HqqPIV.js → mcp-DudhybBp.js} +3 -3
- package/dist/cli/{metadata-dYoVRApT.js → metadata-O2AJ-PDA.js} +3 -3
- package/dist/cli/{migrate-DLWnaHNN.js → migrate-CiGCX8KP.js} +2 -2
- package/dist/cli/{migration-safety-Bh7VzARh.js → migration-safety-Cn2z7UC-.js} +11 -2
- package/dist/cli/{migrations-Cq5hkJsa.js → migrations-6KOIDi_b.js} +2 -2
- package/dist/cli/{module-migration-BUd_MAbE.js → module-migration-XPQbFJib.js} +2 -2
- package/dist/cli/{moved-btVl2MAQ.js → moved-DV_Edueb.js} +1 -1
- package/dist/cli/{parse-ThNFQ1hP.js → parse-CX-x-r5L.js} +1 -1
- package/dist/cli/powersync-BNWYxuB0.js +1 -0
- package/dist/cli/{powersync-Cb8xtLDc.js → powersync-CFOmXWSv.js} +4 -4
- package/dist/cli/{print-BVeE5vr_.js → print-BgO62egM.js} +2 -2
- package/dist/cli/{providers-xmyaROnG.js → providers-Ciss4nHV.js} +1 -1
- package/dist/cli/{prune-workflows-DUOBOuHp.js → prune-workflows-eAi-3R9F.js} +4 -4
- package/dist/cli/{remove-BuasHmdF.js → remove-B-vjuw8U.js} +7 -7
- package/dist/cli/{render-Hvu_ZKtr.js → render-eYxq_mwL.js} +4 -4
- package/dist/cli/{run-1ZTOS-gb.js → run-CLLVkt9B.js} +2 -2
- package/dist/cli/{run-DMZQUy5b.js → run-Cn0Ay_l6.js} +51 -51
- package/dist/cli/{run-KdsUN7Qj.js → run-VHRy6vLi.js} +9 -9
- package/dist/cli/seed-BqsY5MlO.js +1 -0
- package/dist/cli/{seed-C7eiVpBy.js → seed-DNaRUG_M.js} +4 -4
- package/dist/cli/{shared-3cetvs_N.js → shared-CL-Gg-tZ.js} +1 -1
- package/dist/cli/{skills-wZ94Fa8G.js → skills-Bfx3HM5e.js} +1 -1
- package/dist/cli/{snapshot-D7h2oWfS.js → snapshot-BDeHrbby.js} +3 -3
- package/dist/cli/{source-ENOc1zZ9.js → source-BPCSkEGq.js} +1 -1
- package/dist/cli/{source-args-Deg53QHe.js → source-args-DowOyFq5.js} +1 -1
- package/dist/cli/{spec-DGaKqtfR.js → spec-BN7JlljA.js} +3 -3
- package/dist/cli/{spec-CfKQ2Xxd.js → spec-CEiZkG-g.js} +1 -1
- package/dist/cli/{sql-layout-CGlyhvQ1.js → sql-layout-oPEsvcMQ.js} +2 -2
- package/dist/cli/{stack-Dr_oEfmw.js → stack-CwBH6-o8.js} +1 -1
- package/dist/cli/{sync-DFJfT7dH.js → sync-CgpA7QSy.js} +4 -4
- package/dist/cli/{table-DJiZ_PJP.js → table-BEiSh604.js} +1 -1
- package/dist/cli/{upgrade-C2Kdvrj-.js → upgrade-CWx1Pdz2.js} +5 -5
- package/dist/cli/{upgrade-DSi7r0MG.js → upgrade-DPDYkDat.js} +3 -3
- package/dist/cli/{version-AGe2VWGm.js → version-XN1WDU-l.js} +1 -1
- package/dist/client/index.d.ts +5 -5
- package/dist/client/native/index.d.ts +4 -4
- package/dist/{codecs-jdyv13IU.js → codecs-BSDJw_Fn.js} +2 -2
- package/dist/commerce/index.js +2 -2
- package/dist/{compose-DUitDAa_.js → compose-Be6lxp05.js} +1 -1
- package/dist/{composite-CQjoTPwv.js → composite-qffn948S.js} +1 -1
- package/dist/config/index.d.ts +5 -5
- package/dist/config/index.js +4 -4
- package/dist/{config-DYtSlwsi.js → config-DVRBLGIK.js} +3 -3
- package/dist/{config-gJ9FX0jc.js → config-DwPO3Dcs.js} +1 -1
- package/dist/{context-DNwBlpKo.d.ts → context-NgBzQFD8.d.ts} +61 -4
- package/dist/contract/index.d.ts +3 -3
- package/dist/{controller-DfgxFNFx.d.ts → controller-XiTA4O2z.d.ts} +1 -1
- package/dist/{conversion-BzVxeYqk.d.ts → conversion-BYSDK6_r.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 +2 -2
- package/dist/create/lite/index.js +3 -3
- package/dist/{create-blocks-DupJA8Lw.js → create-blocks-X59FRi6t.js} +2 -2
- package/dist/credentials/index.js +3 -3
- package/dist/{deal-forecast-CgzuxYtf.js → deal-forecast-DWwQ_ZL6.js} +2 -2
- package/dist/{define-block-DiW9g10_.d.ts → define-block-DLqYhrYF.d.ts} +3 -3
- package/dist/{delivery-events-DUiTctdo.js → delivery-events-BNBvla4y.js} +1 -1
- package/dist/{drive-CvgLTJA9.d.ts → drive-CnOz5P5H.d.ts} +2 -2
- package/dist/e-invoicing/index.js +1 -1
- package/dist/edge/index.js +3 -3
- package/dist/embeddings-CCPghrsU.js +249 -0
- package/dist/{embeddings-Dm-GSHAi.d.ts → embeddings-DoNwEveb.d.ts} +52 -4
- package/dist/{entitlements-5nbdIitJ.d.ts → entitlements-7iVfWIy8.d.ts} +1 -1
- package/dist/{entitlements-BxZpcgcb.js → entitlements-CE-fFbUR.js} +2 -2
- package/dist/{errors-DCJMVeY7.js → errors-B3EJToP_.js} +72 -19
- package/dist/eve/index.d.ts +4 -4
- package/dist/eve/index.js +2 -2
- package/dist/{eve-DRYPT58Y.d.ts → eve-UQ0RZX-K.d.ts} +2 -2
- package/dist/{executor-COn2O4fg.d.ts → executor-mRSXEFIB.d.ts} +1 -1
- package/dist/expo/index.js +2 -2
- package/dist/{extract-DpiLKlbp.d.ts → extract-4SajsgPj.d.ts} +2 -2
- package/dist/fhir/index.js +1 -1
- package/dist/{field-errors-BCX7RCEc.d.ts → field-errors-B6sHzfiG.d.ts} +5 -5
- package/dist/{flags-oS3Mbyfc.js → flags-CtmDvszx.js} +1 -1
- package/dist/flags-sdk/index.js +5 -3
- package/dist/{framework-D8eW-nTX.js → framework-CD0tHWLN.js} +1 -1
- package/dist/{gateway-DjJYyq6h.d.ts → gateway-BsE1qacd.d.ts} +2 -2
- package/dist/{history-6KiVNWdH.js → history-CoX8QoXr.js} +21 -6
- package/dist/hono/index.js +2 -2
- package/dist/{inbox-BnELyPRZ.d.ts → inbox-i3nEfNHG.d.ts} +21 -1
- package/dist/{index-B8Mjb-KA.d.ts → index---6uF_J0.d.ts} +1 -1
- package/dist/{index-CFT7e_HH.d.ts → index-7-mAsoAB.d.ts} +2 -2
- package/dist/{index-CakXRuAZ.d.ts → index-B2HOIiNe.d.ts} +2 -2
- package/dist/{index-DMlTXcWp.d.ts → index-B9sdIEmz.d.ts} +2 -2
- package/dist/{index-ZI4sMVPT.d.ts → index-BEyOO6xN.d.ts} +2 -2
- package/dist/{index-BB5n8R_s.d.ts → index-BHlGYVat.d.ts} +1 -1
- package/dist/{index-D48wVmDj.d.ts → index-BUGFN7Lu.d.ts} +1 -1
- package/dist/{index-DHwPGqLY.d.ts → index-BaI1DFjU.d.ts} +2 -2
- package/dist/{index-BMYIwvDA.d.ts → index-BjMlZ2la.d.ts} +1 -1
- package/dist/{index-D6y6ojUX.d.ts → index-BpW3Kn-H.d.ts} +2 -2
- package/dist/{index-CurH6bgW.d.ts → index-C35Mxkfj.d.ts} +1 -1
- package/dist/{index-Bn5v6soX.d.ts → index-CA5xzl6j.d.ts} +1 -1
- package/dist/{index-D5LnplxJ.d.ts → index-CBTA4Hus.d.ts} +6 -6
- package/dist/{index-EHczIYa7.d.ts → index-CFfFev2y.d.ts} +72 -5
- package/dist/{index-BolFrOMw.d.ts → index-CaUkbhw7.d.ts} +2 -2
- package/dist/{index-BGgGwWcn.d.ts → index-Cfft6iUs.d.ts} +1 -1
- package/dist/{index-BW0aDURc.d.ts → index-CsngKWje.d.ts} +1 -1
- package/dist/{index-BNBFiyOR.d.ts → index-D89tUktw.d.ts} +1 -1
- package/dist/{index-BK8zPigx.d.ts → index-DDIZwUK-.d.ts} +1 -1
- package/dist/{index-BZ1Akcrg.d.ts → index-D_JS5FYo.d.ts} +1 -1
- package/dist/{index-BLL45v55.d.ts → index-Dh-CE1YF.d.ts} +1 -1
- package/dist/{index-DkWXofPH.d.ts → index-Dk039ZLg.d.ts} +1 -1
- package/dist/{index-DZTavebO.d.ts → index-Do2iK7pF.d.ts} +1 -1
- package/dist/{index-IKK8zWTN.d.ts → index-DpQ1JuKa.d.ts} +2 -2
- package/dist/{index-S6axmDQL.d.ts → index-Drjrj8Y5.d.ts} +2 -2
- package/dist/{index-7UV0pNYj.d.ts → index-Dvu6MySL.d.ts} +2 -2
- package/dist/{index-B2C1NczA.d.ts → index-LnDm58TV.d.ts} +4 -4
- package/dist/{index-D25Ry5R9.d.ts → index-P5Xhtrzo.d.ts} +1 -1
- package/dist/{index-CRSNN2v9.d.ts → index-PV91A2_J.d.ts} +8 -8
- package/dist/{index-B1NcZsVD.d.ts → index-VaTlShTa.d.ts} +7 -7
- package/dist/{index-iaMOudmP.d.ts → index-aNW_fYBI.d.ts} +1 -1
- package/dist/{index-Bdg6ee4m.d.ts → index-b5FUPI-5.d.ts} +1 -1
- package/dist/{index-1001GtVL.d.ts → index-hkFhFgRv.d.ts} +1 -1
- package/dist/{index-kidoYhB8.d.ts → index-jaxdP0Qe.d.ts} +1 -1
- package/dist/index-nFxtUFQv.d.ts +11 -0
- package/dist/{index-Bopuqb8z.d.ts → index-oR-iOHLT.d.ts} +4 -4
- package/dist/{index-DplKvjCs.d.ts → index-qPP3ja-K.d.ts} +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/{instances-ukDFg8oN.js → instances-CAzvtvlH.js} +119 -8
- package/dist/json-render/index.d.ts +91 -0
- package/dist/json-render/index.js +233 -0
- package/dist/{knowledge-DL1ZnEe7.d.ts → knowledge-CjrMiSnp.d.ts} +59 -9
- package/dist/{knowledge-CQl9LXaZ.js → knowledge-m3IJobAw.js} +22 -10
- package/dist/{manifest-DKY9HGin.js → manifest-12CvUHma.js} +3 -3
- package/dist/{manifest-DI_Vz152.d.ts → manifest-1CNHDf-P.d.ts} +2 -2
- package/dist/{manifest-D8JpSvuE.js → manifest-1X1rpQ-5.js} +3 -3
- package/dist/{manifest-BSQh5dw2.js → manifest-1qVuPpg1.js} +2 -2
- package/dist/{manifest-Cxz4_mWy.d.ts → manifest-279mgqK2.d.ts} +1 -1
- package/dist/{manifest-Cu_4X5Rm.js → manifest-3mRZEFbA.js} +2 -2
- package/dist/{manifest-ppItbSA5.d.ts → manifest-4-J2cBhl.d.ts} +1 -1
- package/dist/{manifest-BhBqFYV4.d.ts → manifest-4Ei8W6XJ.d.ts} +1 -1
- package/dist/{manifest-BEZ8HltH.js → manifest-638tYNw7.js} +2 -2
- package/dist/{manifest-BXNDl7bx.js → manifest-AFBjJxrJ.js} +2 -2
- package/dist/{manifest-B_3_99xa.js → manifest-AI6u-id7.js} +3 -3
- package/dist/{manifest-C95-cClh.js → manifest-B1Xj7ObD.js} +1 -1
- package/dist/{manifest-_qzN4kUG.js → manifest-B2G5B8ty.js} +2 -2
- package/dist/{manifest-CPYEEX6u.js → manifest-B3Fs0ZeU.js} +8 -3
- package/dist/{manifest-DJRHzb6v.js → manifest-B5c8gqof.js} +2 -2
- package/dist/{manifest-Dagm1cVO.d.ts → manifest-BAEYvNSN.d.ts} +1 -1
- package/dist/{manifest-CJByGKJ_.d.ts → manifest-BBCFaNss.d.ts} +1 -1
- package/dist/{manifest-CRXxYu5L.js → manifest-BEyhZ8sV.js} +3 -3
- package/dist/{manifest-ycsWja2O.d.ts → manifest-BFXftMd7.d.ts} +1 -1
- package/dist/{manifest--eIzr9Tj.js → manifest-BFbZ2mZA.js} +2 -2
- package/dist/{manifest-C0f5YJ7x.d.ts → manifest-BFi8-A1w.d.ts} +1 -1
- package/dist/{manifest-DeCjklgV.js → manifest-BHaR8iYx.js} +2 -2
- package/dist/{manifest-BKD8DbQT.js → manifest-BI65KPyR.js} +4 -4
- package/dist/{manifest-DHYr9yD1.js → manifest-BIOzNAsT.js} +2 -2
- package/dist/{manifest-CKxnGCVY.d.ts → manifest-BJ7XyLlV.d.ts} +1 -1
- package/dist/{manifest-DM2T_dN2.js → manifest-BKvawy3P.js} +3 -3
- package/dist/{manifest-C-_0WkGx.d.ts → manifest-BNR_72jF.d.ts} +4 -3
- package/dist/{manifest-BcdRITPc.d.ts → manifest-BOQOTepZ.d.ts} +1 -1
- package/dist/{manifest-DqwQmPZb.js → manifest-BP7YQERu.js} +3 -3
- package/dist/{manifest-C_hIU5kk.js → manifest-BPeoWfAO.js} +3 -3
- package/dist/{manifest-DHt1h5GN.js → manifest-BPpt2s0a.js} +3 -3
- package/dist/{manifest-6MuVEQnP.js → manifest-BQobHp4x.js} +5 -5
- package/dist/{manifest-BgMjraZw.js → manifest-BRgWZzVn.js} +3 -3
- package/dist/{manifest-CCXaDWdN.d.ts → manifest-BS1QA4mT.d.ts} +1 -1
- package/dist/{manifest-JvgqqKRq.js → manifest-BW6RRJXm.js} +2 -2
- package/dist/{manifest-K_42e50M.d.ts → manifest-BWIcNHVs.d.ts} +1 -1
- package/dist/{manifest-Hx3FBHKX.js → manifest-BXIL-A7I.js} +1 -1
- package/dist/{manifest-C3VB7-hM.d.ts → manifest-BaQ-A5Jy.d.ts} +2 -2
- package/dist/{manifest-D3HTgmR3.d.ts → manifest-BaR4cYwY.d.ts} +1 -1
- package/dist/{manifest-DjVqN_iK.d.ts → manifest-Bc1-GptG.d.ts} +1 -1
- package/dist/{manifest-C8Boo7Ps.js → manifest-Bea2AWYl.js} +4 -4
- package/dist/{manifest-1Xiu6zqs.js → manifest-BgKbxGVp.js} +2 -2
- package/dist/{manifest-Dbq6t-bI.d.ts → manifest-BhhX6xjo.d.ts} +1 -1
- package/dist/{manifest-Dm_5DTyx.js → manifest-BhpXYw_3.js} +2 -2
- package/dist/{manifest-BHNrIQ8X.d.ts → manifest-BieAORBI.d.ts} +1 -1
- package/dist/{manifest-D2qeEjrC.d.ts → manifest-Bk69YFI3.d.ts} +1 -1
- package/dist/{manifest-gCNbUW-X.js → manifest-BnJ_9tgk.js} +2 -2
- package/dist/{manifest-1lzhOO0z.d.ts → manifest-BqCQrbSP.d.ts} +2 -2
- package/dist/{manifest-DnZw4JWP.js → manifest-Brv_Pss2.js} +2 -2
- package/dist/{manifest-D7y9_k5i.d.ts → manifest-BuEIqayB.d.ts} +1 -1
- package/dist/{manifest-OS0pwPRn.d.ts → manifest-BxRL6XuJ.d.ts} +1 -1
- package/dist/{manifest-qb_YXiWK.js → manifest-BydKYd32.js} +2 -2
- package/dist/{manifest-FkY_rpfH.js → manifest-C-ROCYHF.js} +5 -5
- package/dist/{manifest-BfAXsd-X.d.ts → manifest-C1JGYvR-.d.ts} +1 -1
- package/dist/{manifest-gGOpzRmJ.d.ts → manifest-C3d7DJiE.d.ts} +1 -1
- package/dist/{manifest-D84UV5p6.js → manifest-C5NzuW_p.js} +2 -2
- package/dist/{manifest-A_VPz6fq.js → manifest-C75gu7oi.js} +2 -2
- package/dist/{manifest-BdmDmQtx.js → manifest-CBj4zlpo.js} +4 -4
- package/dist/{manifest-BKDSuS3x.d.ts → manifest-CFb---rO.d.ts} +2 -2
- package/dist/{manifest-BHhBqtFw.js → manifest-CFq6WJJO.js} +4 -4
- package/dist/{manifest-Bbtt8mb1.d.ts → manifest-CGJ2xLRu.d.ts} +1 -1
- package/dist/{manifest-DpwaOTir.js → manifest-CHheBZjl.js} +3 -3
- package/dist/{manifest-B83YpMlz.d.ts → manifest-CJzK3H3h.d.ts} +1 -1
- package/dist/{manifest-ClbUuESE.js → manifest-CKT1bZoZ.js} +2 -2
- package/dist/{manifest-Cj5IjsCB.js → manifest-CLFmOMSQ.js} +2 -2
- package/dist/{manifest-B9KmOzmT.d.ts → manifest-CMmfdgAG.d.ts} +1 -1
- package/dist/{manifest-Bx_0qkBP.js → manifest-COnvr04R.js} +2 -2
- package/dist/{manifest-mu_UflgB.d.ts → manifest-CR_RHsHu.d.ts} +1 -1
- package/dist/{manifest-BTC6dWdq.d.ts → manifest-CSLqw5qE.d.ts} +1 -1
- package/dist/{manifest-BDGVge5o.js → manifest-CWkdEugm.js} +2 -2
- package/dist/{manifest-DS2PjAgW.js → manifest-CXTVwg4s.js} +3 -3
- package/dist/{manifest-CX8DVTzn.js → manifest-CY-bInzt.js} +3 -3
- package/dist/{manifest-BZP0wKpE.js → manifest-CaZnTLGe.js} +3 -3
- package/dist/{manifest-B4CVN-Kx.js → manifest-CbdezcLS.js} +2 -2
- package/dist/{manifest-B3QwQDTx.js → manifest-Ccjdt-zG.js} +3 -3
- package/dist/{manifest-BW7wdKXA.js → manifest-CdDdPHbV.js} +4 -4
- package/dist/{manifest-cqfeLW8g.js → manifest-CeN-ohYP.js} +2 -2
- package/dist/{manifest-B7MpuCmz.d.ts → manifest-Cge4urPD.d.ts} +1 -1
- package/dist/{manifest-DsYIWD--.js → manifest-CiAp3lJg.js} +2 -2
- package/dist/{manifest-BFJvys4-.js → manifest-CmtXDmOP.js} +3 -3
- package/dist/{manifest-CJb0PtMj.d.ts → manifest-Cq3zIydP.d.ts} +1 -1
- package/dist/{manifest-DLv_WaSF.d.ts → manifest-Cs5-Vi9X.d.ts} +1 -1
- package/dist/{manifest-DwVl4YC4.d.ts → manifest-CsVTMa-G.d.ts} +1 -1
- package/dist/{manifest-DBsPHetA.js → manifest-Ct3CZB2E.js} +2 -2
- package/dist/{manifest--M7GmEPg.d.ts → manifest-CyKD7Hyx.d.ts} +1 -1
- package/dist/{manifest-DNaSpmZ3.js → manifest-Cytb-iJk.js} +2 -2
- package/dist/{manifest-Cj_ZnW6k.js → manifest-D-sJpAJB.js} +3 -3
- package/dist/{manifest-Bpzxyvxc.js → manifest-D0ceE9Zm.js} +3 -3
- package/dist/{manifest-CIJTIKo3.d.ts → manifest-D1FhVaUw.d.ts} +1 -1
- package/dist/{manifest-CLphqjtj.d.ts → manifest-D2URJ82u.d.ts} +1 -1
- package/dist/{manifest-Czv_oJ77.js → manifest-D2r45JYc.js} +2 -2
- package/dist/{manifest-DBJ5nBG9.d.ts → manifest-D3V8Ngw3.d.ts} +1 -1
- package/dist/{manifest-B709eXLx.js → manifest-D5UYH-l1.js} +2 -2
- package/dist/{manifest-DVnOUxy4.js → manifest-D5gmrL5j.js} +6 -6
- package/dist/{manifest-BQwqV6dQ.js → manifest-D6k-MFrE.js} +4 -4
- package/dist/{manifest-BoSzgLUl.js → manifest-D72opuEP.js} +3 -3
- package/dist/{manifest-DJ5nCW5K.js → manifest-D8ljY6Fz.js} +4 -4
- package/dist/{manifest-DemyeI_z.js → manifest-D96KwsqD.js} +4 -4
- package/dist/{manifest-Bz3xNPJL.d.ts → manifest-D9B8QIWz.d.ts} +1 -1
- package/dist/{manifest-BkS073Py.d.ts → manifest-DA0Q62es.d.ts} +1 -1
- package/dist/{manifest-CYNC6a1d.js → manifest-DAu2qpOy.js} +2 -2
- package/dist/{manifest-0vrTq9Uf.d.ts → manifest-DB6dSXpw.d.ts} +1 -1
- package/dist/{manifest-Db-GUsLH.d.ts → manifest-DKY1mHtE.d.ts} +1 -1
- package/dist/{manifest-CQFlAwfU.d.ts → manifest-DOIRQHB8.d.ts} +2 -2
- package/dist/{manifest-0PDfKdtc.js → manifest-DR8po1OZ.js} +4 -4
- package/dist/{manifest-ITF-BpEi.js → manifest-D_RCNlv9.js} +4 -4
- package/dist/{manifest-CR-6QDLZ.d.ts → manifest-D_gWI_Xp.d.ts} +1 -1
- package/dist/{manifest-BR_uGpTd.js → manifest-DaZ7LEOi.js} +2 -2
- package/dist/{manifest-Dz2IkqqY.d.ts → manifest-DfaKFvmO.d.ts} +1 -1
- package/dist/{manifest-DPFn2x18.d.ts → manifest-Dg4rFnjr.d.ts} +1 -1
- package/dist/{manifest-n9XQtQXA.d.ts → manifest-DhYiWMYQ.d.ts} +1 -1
- package/dist/{manifest-BfOHwSNK.js → manifest-DjIq3ZJf.js} +7 -7
- package/dist/{manifest-D7yeYU0f.d.ts → manifest-DnSrbZuv.d.ts} +1 -1
- package/dist/{manifest-D7slgR5H.d.ts → manifest-Do4TvdNR.d.ts} +1 -1
- package/dist/{manifest-DdFl3BYM.d.ts → manifest-Do7f1k9C.d.ts} +1 -1
- package/dist/{manifest--qnXa2lK.js → manifest-Dr-wuvfR.js} +4 -4
- package/dist/{manifest-yPcrAK5N.d.ts → manifest-Dr5yltSj.d.ts} +10 -3
- package/dist/{manifest-CbxMRPGY.js → manifest-DunhKI5K.js} +4 -4
- package/dist/{manifest-C3RDEoAr.d.ts → manifest-Duq5aCrY.d.ts} +1 -1
- package/dist/{manifest-J6kJX8YL.js → manifest-DuwJ7Ya_.js} +3 -3
- package/dist/{manifest-FJi1pYoB.js → manifest-Dxob7J6V.js} +6 -6
- package/dist/{manifest-Dj9AIgTy.d.ts → manifest-DzNmDhoS.d.ts} +1 -1
- package/dist/{manifest-CHsjS47_.d.ts → manifest-FqJtbN5n.d.ts} +1 -1
- package/dist/{manifest-roKO06Ko.d.ts → manifest-I7nR1vhO.d.ts} +1 -1
- package/dist/{manifest-o-EzlFwZ.js → manifest-N-vJi36T.js} +2 -2
- package/dist/{manifest-FAVN8Bg9.js → manifest-UHMLAfCl.js} +2 -2
- package/dist/{manifest-BKegpJgn.d.ts → manifest-VoN5Ae-i.d.ts} +1 -1
- package/dist/{manifest-DDkncgRB.d.ts → manifest-XRDA_p9P.d.ts} +1 -1
- package/dist/{manifest-Di0UrbTw.d.ts → manifest-ZQvywRBI.d.ts} +1 -1
- package/dist/{manifest-COZUTRxz.js → manifest-aWO0h4lZ.js} +3 -3
- package/dist/{manifest-D7R4sM8L.d.ts → manifest-hpPeciuH.d.ts} +1 -1
- package/dist/{manifest-CkYNs6PX.js → manifest-iNt_0t6h.js} +4 -4
- package/dist/{manifest-BAgqRR7p.js → manifest-j5YiEWqV.js} +2 -2
- package/dist/{manifest-D_iJU__f.d.ts → manifest-jRpt7muB.d.ts} +1 -1
- package/dist/{manifest-xD290bNh.js → manifest-jU8fwfLu.js} +3 -3
- package/dist/{manifest-DCC3phPq.js → manifest-nR_d-Ivi.js} +1 -1
- package/dist/{manifest-BRd1q660.d.ts → manifest-nyksTa_6.d.ts} +1 -1
- package/dist/{manifest-CWaCXYgf.js → manifest-p4Yvamix.js} +2 -2
- package/dist/{manifest-BQJV63RV.js → manifest-pKQ4z-dv.js} +1 -1
- package/dist/{manifest-DbjDYuCE.js → manifest-q62slcP6.js} +2 -2
- package/dist/{manifest-UbBXSkXn.d.ts → manifest-uDAAzAlQ.d.ts} +1 -1
- package/dist/{manifest-CtOwRTvP.js → manifest-upxzRaY-.js} +2 -2
- package/dist/{manifest-DW2_P6AT.js → manifest-vaCUz3Wa.js} +3 -3
- package/dist/{manifest-Dqgqm1Zo.js → manifest-vabt4x2a.js} +3 -3
- package/dist/{manifest-Cfvr-BhF.js → manifest-wSbIcOln.js} +19 -7
- package/dist/mapper/bin.js +7 -7
- package/dist/mcp/index.d.ts +1 -1
- package/dist/mcp/index.js +1 -1
- package/dist/mcp/sdk/index.js +1 -1
- package/dist/{mcp-Bx9wzQw6.js → mcp-D1d_uDNE.js} +2 -2
- package/dist/{message-Cc4bkdNw.d.ts → message-Chvocrom.d.ts} +27 -4
- package/dist/{model-messages-OmbNNuN2.js → model-messages-BgSCTojd.js} +1 -1
- package/dist/{model-messages-CGSUU450.d.ts → model-messages-CK7L1_hV.d.ts} +1 -1
- package/dist/{money-codec-CvUy3_Ep.js → money-codec-lrXaOqi7.js} +1 -1
- package/dist/next/index.d.ts +7 -7
- package/dist/next/index.js +5 -5
- package/dist/{operations-Di203azT.d.ts → operations-BSsNQ81h.d.ts} +1 -1
- package/dist/{options-CyYZvdSy.js → options-BNtLQZrG.js} +2 -1
- package/dist/{options-SOjQVgfS.js → options-BYlcrVVf.js} +1 -0
- package/dist/options-BxOFSs-u.js +4 -0
- package/dist/orpc/index.d.ts +1 -1
- package/dist/orpc/index.js +1 -1
- package/dist/otel/index.d.ts +1 -1
- package/dist/otel/index.js +5 -5
- package/dist/{parse-H3g3kyZa.js → parse-Iz0DTVot.js} +2 -2
- package/dist/{payments-D89SVEgj.js → payments-DjrRAHBY.js} +1 -1
- package/dist/{permissions-C7GgjgTA.d.ts → permissions-CrPkD5Ik.d.ts} +1 -1
- package/dist/{ports-6EMtxwGE.d.ts → ports-Z6S_jGD7.d.ts} +1 -1
- package/dist/powersync/index.d.ts +3 -3
- package/dist/preset/index.d.ts +4 -4
- package/dist/preset/index.js +3 -3
- package/dist/{preset-Be8m6-PH.js → preset-D2dg-EVp.js} +3 -2
- package/dist/{preview-DCndUjk9.js → preview-B7OjoABd.js} +3 -3
- package/dist/{preview-Dlc_7tMK.d.ts → preview-Bgwwuvc9.d.ts} +2 -2
- package/dist/{project-CwZtBezd.js → project-Dhm0C7OR.js} +5 -5
- package/dist/{provider-DRGTjcBY.js → provider-Bkh8zSHN.js} +1 -1
- package/dist/{push-token-CQnqTZrb.d.ts → push-token-hDDp188w.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/index.js +1 -1
- package/dist/{rate-limit-Bl_jNyAg.d.ts → rate-limit-A_ngDsV_.d.ts} +17 -0
- package/dist/{rate-limit-Df913_w3.js → rate-limit-Jl-5e7s8.js} +30 -10
- package/dist/react/index.d.ts +5 -5
- package/dist/react/index.js +1 -1
- package/dist/react/native/index.d.ts +1 -1
- package/dist/react/server.d.ts +5 -5
- package/dist/react/server.js +1 -1
- package/dist/{react-CsgcTKRk.js → react-DIfKgdfV.js} +2 -2
- package/dist/{react-CqOVutZj.js → react-DnOu9xsi.js} +3 -3
- package/dist/react-router/index.js +2 -2
- package/dist/realtime/index.d.ts +3 -3
- package/dist/realtime/index.js +2 -2
- package/dist/{record-form-DqGcUu0C.d.ts → record-form-Bye6v7Sg.d.ts} +1 -1
- package/dist/{recordings-CiYHdFPa.d.ts → recordings-16Flkx9W.d.ts} +1 -1
- package/dist/records/index.d.ts +7 -7
- package/dist/{route-optimizer-DqUyDP78.js → route-optimizer-Ds11cQyM.js} +1 -1
- package/dist/{rows-Ccg381fF.js → rows-DidUYmOx.js} +1 -1
- package/dist/{rows-CTzeKlaI.js → rows-kSV-CDYA.js} +2 -2
- package/dist/runs-CEm5AFQk.js +91 -0
- package/dist/{sales-C8o3E5U3.js → sales-DNuk5v36.js} +7 -7
- package/dist/{sales-lines-COFwijz1.js → sales-lines-mwRnIC9p.js} +3 -3
- package/dist/{sales-shared-DGSptcqA.js → sales-shared-Ca2ZDF6a.js} +1 -1
- package/dist/{sales-variants-D0oxdF-6.js → sales-variants-QTgChYXJ.js} +1 -1
- package/dist/{scores-CQt_G6T-.js → scores-Opsegupn.js} +2 -2
- package/dist/server/index.d.ts +3 -3
- package/dist/server/index.js +4 -4
- package/dist/{settings-B4NApcY7.js → settings-Bf5nmbl-.js} +2 -2
- package/dist/{sign-in-Dd5ljzNG.js → sign-in-BYJboUBW.js} +1 -1
- package/dist/{signing-keys-B2bpJ3eJ.js → signing-keys-sYy92dAx.js} +2 -2
- package/dist/solid/index.d.ts +5 -5
- package/dist/solid-start/index.js +2 -2
- package/dist/spec/index.d.ts +2 -2
- package/dist/spec/index.js +2 -2
- package/dist/{spec-pins-D2Q41RiK.d.ts → spec-pins-Bb6V8nR2.d.ts} +1 -1
- package/dist/{spec-pins-BtVFN8wA.js → spec-pins-Dlz8OVqi.js} +1 -1
- package/dist/sql/index.d.ts +6 -6
- package/dist/sql/index.js +3 -3
- package/dist/{sql-BPU70zf9.js → sql-DrlapNYO.js} +3365 -788
- package/dist/{sso-gMj8CIpe.js → sso-RsAYRs9q.js} +2 -2
- package/dist/ssr/index.d.ts +1 -1
- package/dist/{store-DHoKrWYZ.d.ts → store-CGXNwUwi.d.ts} +6 -1
- package/dist/streams/index.d.ts +59 -2
- package/dist/streams/index.js +111 -22
- package/dist/streams/redis/index.d.ts +8 -1
- package/dist/streams/redis/index.js +12 -4
- package/dist/streams/resumable/index.d.ts +68 -0
- package/dist/streams/resumable/index.js +71 -0
- package/dist/{subject-readers-B5YcD7CO.js → subject-readers-DhXR7Tdk.js} +1 -1
- package/dist/svelte/index.d.ts +5 -5
- package/dist/sveltekit/index.js +2 -2
- package/dist/tanstack-start/index.js +2 -2
- package/dist/{tax-D_M90sFh.js → tax-Deg3udmG.js} +1 -1
- package/dist/{tee-eneLXtYJ.js → tee-CHLXLuvg.js} +2 -1
- package/dist/{tenant-DHLx2ZkL.d.ts → tenant-DYOUVE8r.d.ts} +1 -1
- package/dist/testing/index.d.ts +13 -12
- package/dist/testing/index.js +60 -15
- package/dist/{timeline-9mP3m30L.d.ts → timeline-DTE4-6Hq.d.ts} +2 -2
- package/dist/{topic-DVr01uhB.js → topic-CLEQ3t6o.js} +25 -2
- package/dist/{topic-BKsRT4gu.d.ts → topic-DrN4Af8U.d.ts} +16 -1
- package/dist/{transport-CS4cVH4S.js → transport-CZBRg-9e.js} +7 -3
- package/dist/{types-Y1Oa950J.d.ts → types-BKtpHTHc.d.ts} +8 -0
- package/dist/{types-B2y4HmKY.d.ts → types-C941lZYk.d.ts} +1 -1
- package/dist/{types-D9r3axee.d.ts → types-DTNDqdyT.d.ts} +2 -2
- package/dist/{types-zYtQ5JDy.d.ts → types-D_o60OcA.d.ts} +1 -1
- package/dist/{types-DlG6Uj4P.d.ts → types-DeKSApwU.d.ts} +2 -2
- package/dist/{undo-DNRfstwk.js → undo-BXeYO6gy.js} +2 -2
- package/dist/{usage-CFVOHbUu.d.ts → usage-D7CYIk1m.d.ts} +22 -0
- package/dist/vue/index.d.ts +5 -5
- package/dist/{watch-topic-M1yL9NiW.d.ts → watch-topic-ClQWiVZ1.d.ts} +1 -1
- package/dist/{webhook-inbox-BamK2_Vw.js → webhook-inbox-B36XJ2eY.js} +25 -2
- package/dist/webmcp/index.d.ts +1 -1
- package/dist/webmcp/index.js +1 -1
- package/dist/workflow-sdk/builder/index.d.ts +3 -3
- package/dist/workflow-sdk/builder/index.js +1 -1
- package/dist/workflow-sdk/index.d.ts +7 -3
- package/dist/workflow-sdk/index.js +16 -74
- package/dist/workflow-sdk/world/index.d.ts +48 -3
- package/dist/workflow-sdk/world/index.js +326 -31
- package/dist/{workflow-sdk-BCNusk7Y.d.ts → workflow-sdk-Bdp_VQ3Q.d.ts} +37 -3
- package/dist/{workflow-sdk-cHlpMyLV.js → workflow-sdk-ID8eoPMe.js} +108 -7
- package/dist/{workflow-sdk-CcoFSLFn.js → workflow-sdk-j7xorOLf.js} +230 -60
- package/dist/{workflows-DjVrHu22.d.ts → workflows-C6fR7YGm.d.ts} +56 -15
- package/dist/yjs/index.d.ts +1 -1
- package/dist/yjs/index.js +1 -1
- package/package.json +41 -11
- package/schemas/ai-message-v2.json +290 -0
- package/schemas/config-v1.json +29 -1
- package/schemas/design-v1.json +45 -0
- package/schemas/doctor-report-v1.json +5 -0
- package/skills/better-supabase/references/ui-recipes.md +77 -0
- package/skills/better-supabase-api/SKILL.md +2 -2
- package/skills/better-supabase-api/references/ai.md +56 -0
- package/skills/better-supabase-api/references/streams-credentials.md +5 -0
- package/dist/cli/add-4-omCrbh.js +0 -1
- package/dist/cli/env-C9HRYvnX.js +0 -1
- package/dist/cli/powersync-ZBM_emZL.js +0 -1
- package/dist/cli/seed-Ki7TgmY1.js +0 -1
- package/dist/embeddings-bZWDJ5yx.js +0 -129
|
@@ -3,8 +3,8 @@ import { b as DbError, f as Result, t as AsyncResult } from "../../result-CMqlHv
|
|
|
3
3
|
import { n as SqlClient } from "../../executor-1m05kt7Y.js";
|
|
4
4
|
import { a as dbTransport, o as rpcTransport, s as sqlTransport, t as BlockTransport } from "../../block-transport-BO7p8KHh.js";
|
|
5
5
|
import { A as ScheduleInfo, B as QueueStats, C as QueueSchemas, D as ScheduleDefinition, E as RunSchedulesOptions, F as QueueMessageBody, H as pgmqPublicBackend, I as QueueMessageRow, L as QueueProvider, M as WorkOptions, N as DeadJobRow, O as ScheduleDefinitions, P as DueSchedule, R as QueuePurgeArgs, S as QueueOptions, T as RunJobOptions, U as sqlQueueProvider, V as TransportQueueProviderOptions, W as transportQueueProvider, _ as JobHandler, a as DrainResult, b as PurgeJobsOptions, c as EnqueueOnceOptions, d as EnsureSchedulesOptions, f as EnsureSchedulesResult, g as JobDelivery, h as JobContext, i as DrainOptions, j as ScheduleOptions, k as ScheduleFilter, l as EnqueueOnceResult, m as Job, n as DeadJob, o as DrainRouteOptions, p as FailOptions, r as DrainMonitor, s as DrainRouteResult, t as ClaimOptions, u as EnqueueOptions, v as ListDeadOptions, w as RetryDeadOptions, x as Queue, y as PayloadOut, z as QueueRpcClient } from "../../types-Dwzaxp9p.js";
|
|
6
|
-
import { hi as BlockSchedule } from "../../define-block-
|
|
7
|
-
import { S as createIdempotency, _ as Idempotency, a as WebhookInbox, b as IdempotencySource, c as WebhookInboxListOptions, d as WebhookInboxProcessOptions, f as WebhookInboxPurgeOptions, g as createQueue, h as JobsSource, i as webhookInboxBlock, l as WebhookInboxMessage, m as purgeWebhookInbox, n as queueBlock, o as WebhookInboxEntry, p as createWebhookInbox, r as rateLimitBlock, s as WebhookInboxEvent, t as idempotencyBlock, u as WebhookInboxOptions, v as IdempotencyOptions, x as IdempotencyState, y as IdempotencySettings } from "../../manifest-
|
|
6
|
+
import { hi as BlockSchedule } from "../../define-block-DLqYhrYF.js";
|
|
7
|
+
import { S as createIdempotency, _ as Idempotency, a as WebhookInbox, b as IdempotencySource, c as WebhookInboxListOptions, d as WebhookInboxProcessOptions, f as WebhookInboxPurgeOptions, g as createQueue, h as JobsSource, i as webhookInboxBlock, l as WebhookInboxMessage, m as purgeWebhookInbox, n as queueBlock, o as WebhookInboxEntry, p as createWebhookInbox, r as rateLimitBlock, s as WebhookInboxEvent, t as idempotencyBlock, u as WebhookInboxOptions, v as IdempotencyOptions, x as IdempotencyState, y as IdempotencySettings } from "../../manifest-BNR_72jF.js";
|
|
8
8
|
import { StandardSchemaV1 } from "@standard-schema/spec";
|
|
9
9
|
/**
|
|
10
10
|
* Throws a `TypeError` unless `expression` is a schedule `nextCronRun`
|
|
@@ -135,6 +135,99 @@ type LeaseOutcome<T> = {
|
|
|
135
135
|
* writes.
|
|
136
136
|
*/
|
|
137
137
|
export declare function withLease<T>(source: SqlClient | BlockTransport, key: string, fn: (lease: Lease) => Promise<T> | T, options?: LeaseOptions): AsyncResult<LeaseOutcome<T>>;
|
|
138
|
+
/** Where `createLeases` stores leases: a service SQL connection or transport. */
|
|
139
|
+
type LeasesSource = SqlClient | BlockTransport;
|
|
140
|
+
interface LeasesOptions {
|
|
141
|
+
/**
|
|
142
|
+
* The schema the functions live in, over a transport. Defaults to
|
|
143
|
+
* `better_supabase`.
|
|
144
|
+
*/
|
|
145
|
+
readonly schema?: string;
|
|
146
|
+
/** The scope a call uses without its own. Defaults to the empty scope. */
|
|
147
|
+
readonly scope?: string;
|
|
148
|
+
}
|
|
149
|
+
interface LeaseClaimInput {
|
|
150
|
+
readonly scope?: string;
|
|
151
|
+
readonly key: string;
|
|
152
|
+
/**
|
|
153
|
+
* How long `claim` waits while another holder has the lease, in ms. It
|
|
154
|
+
* retries with backoff and stops at this bound, so pass what is left of a
|
|
155
|
+
* drain's `budgetMs`. Defaults to 0: one attempt.
|
|
156
|
+
*/
|
|
157
|
+
readonly timeoutMs?: number;
|
|
158
|
+
/** Seconds the lease holds without an `extend`. Defaults to 60. */
|
|
159
|
+
readonly leaseSeconds?: number;
|
|
160
|
+
}
|
|
161
|
+
/** The held lease. */
|
|
162
|
+
interface HeldLease {
|
|
163
|
+
readonly scope: string;
|
|
164
|
+
readonly key: string;
|
|
165
|
+
readonly holder: string;
|
|
166
|
+
readonly expiresAt: Temporal.Instant;
|
|
167
|
+
/** Moves the expiry; `false` once the lease ran out or was taken over. */
|
|
168
|
+
extend(leaseSeconds?: number): AsyncResult<boolean>;
|
|
169
|
+
/**
|
|
170
|
+
* Marks the work done: later claims answer `completed` for `keepSeconds`
|
|
171
|
+
* (default one day). `false` when another holder took the lease over.
|
|
172
|
+
*/
|
|
173
|
+
complete(keepSeconds?: number): AsyncResult<boolean>;
|
|
174
|
+
/** Gives the lease up so the next claim succeeds at once. */
|
|
175
|
+
release(): AsyncResult<boolean>;
|
|
176
|
+
}
|
|
177
|
+
/**
|
|
178
|
+
* `claimed` holds the lease. `busy` means another holder still had it when the
|
|
179
|
+
* wait ended, and `retryAfterMs` is when that holder's lease runs out.
|
|
180
|
+
* `completed` means a holder finished the work, so the caller skips it.
|
|
181
|
+
*/
|
|
182
|
+
type LeaseClaim = {
|
|
183
|
+
readonly status: "claimed";
|
|
184
|
+
readonly lease: HeldLease;
|
|
185
|
+
} | {
|
|
186
|
+
readonly status: "busy";
|
|
187
|
+
readonly retryAfterMs: number;
|
|
188
|
+
} | {
|
|
189
|
+
readonly status: "completed";
|
|
190
|
+
readonly until: Temporal.Instant;
|
|
191
|
+
};
|
|
192
|
+
interface WithLeaseOptions extends LeaseClaimInput {
|
|
193
|
+
/**
|
|
194
|
+
* Mark the lease completed when `fn` returns, for this many seconds (`true`
|
|
195
|
+
* keeps it for a day). Without it the lease is released.
|
|
196
|
+
*/
|
|
197
|
+
readonly completeFor?: number | true;
|
|
198
|
+
/** Extend the lease while `fn` runs. Defaults to true. */
|
|
199
|
+
readonly heartbeat?: boolean;
|
|
200
|
+
}
|
|
201
|
+
type WithLeaseResult<T> = {
|
|
202
|
+
readonly status: "claimed";
|
|
203
|
+
readonly value: T;
|
|
204
|
+
} | {
|
|
205
|
+
readonly status: "busy";
|
|
206
|
+
readonly retryAfterMs: number;
|
|
207
|
+
} | {
|
|
208
|
+
readonly status: "completed";
|
|
209
|
+
readonly until: Temporal.Instant;
|
|
210
|
+
};
|
|
211
|
+
interface Leases {
|
|
212
|
+
/**
|
|
213
|
+
* Claims the lease on `(scope, key)`, waiting up to `timeoutMs` while another
|
|
214
|
+
* holder has it. A lease that ran out is taken over.
|
|
215
|
+
*/
|
|
216
|
+
claim(input: LeaseClaimInput): AsyncResult<LeaseClaim>;
|
|
217
|
+
/**
|
|
218
|
+
* Runs `fn` while holding the lease, extends it in the background, and
|
|
219
|
+
* releases it afterwards, also when `fn` throws (the thrown error comes back
|
|
220
|
+
* as the error of the result).
|
|
221
|
+
*/
|
|
222
|
+
withLease<T>(input: WithLeaseOptions, fn: (lease: HeldLease) => Promise<T> | T): AsyncResult<WithLeaseResult<T>>;
|
|
223
|
+
}
|
|
224
|
+
/**
|
|
225
|
+
* Leases on any `(scope, key)` in the `queue` block's `job_leases` table: one
|
|
226
|
+
* holder at a time, a bounded wait with backoff, and a `completed` answer once
|
|
227
|
+
* the work is done. Takes a service SQL connection or a service-role transport
|
|
228
|
+
* (`rpcTransport` over the wrappers `blocks.queue.api` writes).
|
|
229
|
+
*/
|
|
230
|
+
export declare function createLeases(source: LeasesSource, options?: LeasesOptions): Leases;
|
|
138
231
|
/** What the backend reads of `@vercel/queue`'s message metadata. */
|
|
139
232
|
interface VercelQueueMetadata {
|
|
140
233
|
readonly messageId: string;
|
|
@@ -357,4 +450,4 @@ export declare function vercelQueueRoute<Q extends QueueSchemas>(jobs: Queue<Q>,
|
|
|
357
450
|
* body (Express, the Next.js Pages Router), over `handleNodeCallback`.
|
|
358
451
|
*/
|
|
359
452
|
export declare function vercelQueueNodeRoute<Q extends QueueSchemas>(jobs: Queue<Q>, options: VercelQueueRouteOptions<Q, VercelQueueNodeCallbackClient>): (request: VercelNodeRequest, response: VercelNodeResponse) => Promise<void>;
|
|
360
|
-
export { type BlockScheduleDefinition, type BlockTick, type BlockTickRun, type BlockTransport, type ClaimOptions, type DeadJob, type DeadJobRow, type DeadLetterSink, type DevDrain, type DevDrainOptions, type DrainMonitor, type DrainOptions, type DrainResult, type DrainRouteOptions, type DrainRouteResult, type DueSchedule, type EnqueueOnceOptions, type EnqueueOnceResult, type EnqueueOptions, type EnsureSchedulesOptions, type EnsureSchedulesResult, type FailOptions, type Idempotency, type IdempotencyOptions, type IdempotencySettings, type IdempotencySource, type IdempotencyState, type Job, type JobContext, type JobDelivery, type JobHandler, type JobsSource, type Lease, type LeaseOptions, type LeaseOutcome, type ListDeadOptions, type MaintenanceTickOptions, type MaintenanceTickResult, type PurgeJobsOptions, type Queue, type QueueMessageBody, type QueueMessageRow, type QueueOptions, type QueueProvider, type QueuePurgeArgs, type QueueRpcClient, type QueueSchemas, type QueueStats, type RetryDeadOptions, type RunJobOptions, type RunSchedulesOptions, type ScheduleDefinition, type ScheduleDefinitions, type ScheduleFilter, type ScheduleInfo, type ScheduleOptions, type ScheduledBlock, type SqlClient, type TransportQueueProviderOptions, type VercelNodeRequest, type VercelNodeResponse, type VercelQueueCallbackClient, type VercelQueueClient, type VercelQueueMetadata, type VercelQueueNodeCallbackClient, type VercelQueueProviderOptions, type VercelQueueRouteOptions, type VercelQueueTrigger, type VercelReceiveResult, type VercelRetryDirective, type VercelSendOptions, type WebhookInbox, type WebhookInboxEntry, type WebhookInboxEvent, type WebhookInboxListOptions, type WebhookInboxMessage, type WebhookInboxOptions, type WebhookInboxProcessOptions, type WebhookInboxPurgeOptions, type WorkOptions, createIdempotency, createQueue, createWebhookInbox, dbTransport, idempotencyBlock, pgmqPublicBackend, purgeWebhookInbox, queueBlock, rateLimitBlock, rpcTransport, sqlQueueProvider, sqlTransport, transportQueueProvider, webhookInboxBlock };
|
|
453
|
+
export { type BlockScheduleDefinition, type BlockTick, type BlockTickRun, type BlockTransport, type ClaimOptions, type DeadJob, type DeadJobRow, type DeadLetterSink, type DevDrain, type DevDrainOptions, type DrainMonitor, type DrainOptions, type DrainResult, type DrainRouteOptions, type DrainRouteResult, type DueSchedule, type EnqueueOnceOptions, type EnqueueOnceResult, type EnqueueOptions, type EnsureSchedulesOptions, type EnsureSchedulesResult, type FailOptions, type HeldLease, type Idempotency, type IdempotencyOptions, type IdempotencySettings, type IdempotencySource, type IdempotencyState, type Job, type JobContext, type JobDelivery, type JobHandler, type JobsSource, type Lease, type LeaseClaim, type LeaseClaimInput, type LeaseOptions, type LeaseOutcome, type Leases, type LeasesOptions, type LeasesSource, type ListDeadOptions, type MaintenanceTickOptions, type MaintenanceTickResult, type PurgeJobsOptions, type Queue, type QueueMessageBody, type QueueMessageRow, type QueueOptions, type QueueProvider, type QueuePurgeArgs, type QueueRpcClient, type QueueSchemas, type QueueStats, type RetryDeadOptions, type RunJobOptions, type RunSchedulesOptions, type ScheduleDefinition, type ScheduleDefinitions, type ScheduleFilter, type ScheduleInfo, type ScheduleOptions, type ScheduledBlock, type SqlClient, type TransportQueueProviderOptions, type VercelNodeRequest, type VercelNodeResponse, type VercelQueueCallbackClient, type VercelQueueClient, type VercelQueueMetadata, type VercelQueueNodeCallbackClient, type VercelQueueProviderOptions, type VercelQueueRouteOptions, type VercelQueueTrigger, type VercelReceiveResult, type VercelRetryDirective, type VercelSendOptions, type WebhookInbox, type WebhookInboxEntry, type WebhookInboxEvent, type WebhookInboxListOptions, type WebhookInboxMessage, type WebhookInboxOptions, type WebhookInboxProcessOptions, type WebhookInboxPurgeOptions, type WithLeaseOptions, type WithLeaseResult, type WorkOptions, createIdempotency, createQueue, createWebhookInbox, dbTransport, idempotencyBlock, pgmqPublicBackend, purgeWebhookInbox, queueBlock, rateLimitBlock, rpcTransport, sqlQueueProvider, sqlTransport, transportQueueProvider, webhookInboxBlock };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { t as DbException } from "../../db-exception-Dv18UZ-I.js";
|
|
2
2
|
import { n as dbError } from "../../errors-CXPerGIl.js";
|
|
3
3
|
import { a as ok, r as err, s as toDbError } from "../../result-DrBaeIVt.js";
|
|
4
|
-
import { F as run, K as rpcTransport, W as dbTransport, q as sqlTransport } from "../../block-helpers-
|
|
4
|
+
import { F as run, H as toInstant, K as rpcTransport, R as sleep, W as dbTransport, _ as leaseHeartbeat, q as sqlTransport, s as budget } from "../../block-helpers-DApvw3n9.js";
|
|
5
5
|
import { n as nextCronRun, t as assertCron } from "../../cron-DOV5bOp2.js";
|
|
6
|
-
import { a as createQueue, c as sqlOnly, i as webhookInboxBlock, l as sqlQueueProvider, n as queueBlock, o as createIdempotency, r as rateLimitBlock, s as pgmqPublicBackend, t as idempotencyBlock, u as transportQueueProvider } from "../../manifest-
|
|
7
|
-
import { n as purgeWebhookInbox, t as createWebhookInbox } from "../../webhook-inbox-
|
|
6
|
+
import { a as createQueue, c as sqlOnly, d as transportRows, i as webhookInboxBlock, l as sqlQueueProvider, n as queueBlock, o as createIdempotency, r as rateLimitBlock, s as pgmqPublicBackend, t as idempotencyBlock, u as transportQueueProvider } from "../../manifest-BQobHp4x.js";
|
|
7
|
+
import { n as purgeWebhookInbox, t as createWebhookInbox } from "../../webhook-inbox-B36XJ2eY.js";
|
|
8
8
|
// src/blocks/queue/block-schedules.ts
|
|
9
9
|
/** The queue every block timer enqueues on. */
|
|
10
10
|
const BLOCK_TICKS_QUEUE = "block_ticks";
|
|
@@ -141,7 +141,7 @@ function devDrain(options) {
|
|
|
141
141
|
};
|
|
142
142
|
}
|
|
143
143
|
// src/blocks/queue/lease.ts
|
|
144
|
-
function sqlCalls(sql) {
|
|
144
|
+
function sqlCalls$1(sql) {
|
|
145
145
|
return {
|
|
146
146
|
async acquire(key, ttl, scope) {
|
|
147
147
|
const [row] = await sql.queryRaw("select better_supabase.acquire_lease($1, $2, $3) as holder", [
|
|
@@ -169,7 +169,7 @@ function sqlCalls(sql) {
|
|
|
169
169
|
}
|
|
170
170
|
};
|
|
171
171
|
}
|
|
172
|
-
function transportCalls(transport, schema) {
|
|
172
|
+
function transportCalls$1(transport, schema) {
|
|
173
173
|
return {
|
|
174
174
|
async acquire(key, ttl, scope) {
|
|
175
175
|
const holder = await transport.call(schema, "acquire_lease", {
|
|
@@ -205,7 +205,7 @@ function transportCalls(transport, schema) {
|
|
|
205
205
|
function withLease(source, key, fn, options = {}) {
|
|
206
206
|
const scope = options.scope ?? "";
|
|
207
207
|
const ttl = options.seconds ?? 60;
|
|
208
|
-
const calls = "call" in source ? transportCalls(source, options.schema ?? "better_supabase") : sqlCalls(source);
|
|
208
|
+
const calls = "call" in source ? transportCalls$1(source, options.schema ?? "better_supabase") : sqlCalls$1(source);
|
|
209
209
|
return run(async () => {
|
|
210
210
|
const holder = await calls.acquire(key, ttl, scope);
|
|
211
211
|
if (!holder) return { acquired: false };
|
|
@@ -223,6 +223,148 @@ function withLease(source, key, fn, options = {}) {
|
|
|
223
223
|
}
|
|
224
224
|
});
|
|
225
225
|
}
|
|
226
|
+
// src/blocks/queue/leases.ts
|
|
227
|
+
const DAY_SECONDS = 86400;
|
|
228
|
+
const FIRST_BACKOFF_MS = 50;
|
|
229
|
+
const MAX_BACKOFF_MS = 1e3;
|
|
230
|
+
function sqlCalls(sql) {
|
|
231
|
+
const flag = async (text, values) => {
|
|
232
|
+
const [row] = await sql.queryRaw(text, values);
|
|
233
|
+
return row?.done === true;
|
|
234
|
+
};
|
|
235
|
+
return {
|
|
236
|
+
claim: (scope, key, seconds) => sql.queryRaw("select * from better_supabase.claim_lease($1, $2, $3)", [
|
|
237
|
+
scope,
|
|
238
|
+
key,
|
|
239
|
+
seconds
|
|
240
|
+
]),
|
|
241
|
+
extend: (scope, key, holder, seconds) => flag("select better_supabase.extend_lease_claim($1, $2, $3::uuid, $4) as done", [
|
|
242
|
+
scope,
|
|
243
|
+
key,
|
|
244
|
+
holder,
|
|
245
|
+
seconds
|
|
246
|
+
]),
|
|
247
|
+
complete: (scope, key, holder, keep) => flag("select better_supabase.complete_lease($1, $2, $3::uuid, $4) as done", [
|
|
248
|
+
scope,
|
|
249
|
+
key,
|
|
250
|
+
holder,
|
|
251
|
+
keep
|
|
252
|
+
]),
|
|
253
|
+
release: (scope, key, holder) => flag("select better_supabase.release_lease_claim($1, $2, $3::uuid) as done", [
|
|
254
|
+
scope,
|
|
255
|
+
key,
|
|
256
|
+
holder
|
|
257
|
+
])
|
|
258
|
+
};
|
|
259
|
+
}
|
|
260
|
+
function transportCalls(transport, schema) {
|
|
261
|
+
return {
|
|
262
|
+
claim: async (scope, key, seconds) => transportRows("claim_lease", await transport.call(schema, "claim_lease", {
|
|
263
|
+
scope,
|
|
264
|
+
key,
|
|
265
|
+
lease_seconds: seconds
|
|
266
|
+
})),
|
|
267
|
+
extend: async (scope, key, holder, seconds) => await transport.call(schema, "extend_lease_claim", {
|
|
268
|
+
scope,
|
|
269
|
+
key,
|
|
270
|
+
holder,
|
|
271
|
+
lease_seconds: seconds
|
|
272
|
+
}) === true,
|
|
273
|
+
complete: async (scope, key, holder, keep) => await transport.call(schema, "complete_lease", {
|
|
274
|
+
scope,
|
|
275
|
+
key,
|
|
276
|
+
holder,
|
|
277
|
+
keep_seconds: keep
|
|
278
|
+
}) === true,
|
|
279
|
+
release: async (scope, key, holder) => await transport.call(schema, "release_lease_claim", {
|
|
280
|
+
scope,
|
|
281
|
+
key,
|
|
282
|
+
holder
|
|
283
|
+
}) === true
|
|
284
|
+
};
|
|
285
|
+
}
|
|
286
|
+
function checkKey(key) {
|
|
287
|
+
if (key === "") throw new TypeError("better-supabase: a lease needs a key");
|
|
288
|
+
}
|
|
289
|
+
/**
|
|
290
|
+
* Leases on any `(scope, key)` in the `queue` block's `job_leases` table: one
|
|
291
|
+
* holder at a time, a bounded wait with backoff, and a `completed` answer once
|
|
292
|
+
* the work is done. Takes a service SQL connection or a service-role transport
|
|
293
|
+
* (`rpcTransport` over the wrappers `blocks.queue.api` writes).
|
|
294
|
+
*/
|
|
295
|
+
function createLeases(source, options = {}) {
|
|
296
|
+
const calls = "call" in source ? transportCalls(source, options.schema ?? "better_supabase") : sqlCalls(source);
|
|
297
|
+
const defaultScope = options.scope ?? "";
|
|
298
|
+
const holdOf = (scope, key, holder, expiresAt, seconds) => ({
|
|
299
|
+
scope,
|
|
300
|
+
key,
|
|
301
|
+
holder,
|
|
302
|
+
expiresAt,
|
|
303
|
+
extend: (next = seconds) => run(() => calls.extend(scope, key, holder, next)),
|
|
304
|
+
complete: (keep = DAY_SECONDS) => run(() => calls.complete(scope, key, holder, keep)),
|
|
305
|
+
release: () => run(() => calls.release(scope, key, holder))
|
|
306
|
+
});
|
|
307
|
+
async function claimOnce(input, scope, seconds) {
|
|
308
|
+
const [row] = await calls.claim(scope, input.key, seconds);
|
|
309
|
+
const retryAfterMs = Number(row?.retry_after_ms ?? 0);
|
|
310
|
+
if (row?.lease_state === "claimed" && row.lease_holder) return {
|
|
311
|
+
status: "claimed",
|
|
312
|
+
lease: holdOf(scope, input.key, row.lease_holder, toInstant(row.lease_expires_at ?? /* @__PURE__ */ new Date()), seconds)
|
|
313
|
+
};
|
|
314
|
+
if (row?.lease_state === "completed" && row.lease_expires_at) return {
|
|
315
|
+
status: "completed",
|
|
316
|
+
until: toInstant(row.lease_expires_at)
|
|
317
|
+
};
|
|
318
|
+
return {
|
|
319
|
+
status: "busy",
|
|
320
|
+
retryAfterMs
|
|
321
|
+
};
|
|
322
|
+
}
|
|
323
|
+
async function claim(input) {
|
|
324
|
+
checkKey(input.key);
|
|
325
|
+
const scope = input.scope ?? defaultScope;
|
|
326
|
+
const seconds = input.leaseSeconds ?? 60;
|
|
327
|
+
const wait = budget(input.timeoutMs ?? 0);
|
|
328
|
+
let backoff = FIRST_BACKOFF_MS;
|
|
329
|
+
for (;;) {
|
|
330
|
+
const claimed = await claimOnce(input, scope, seconds);
|
|
331
|
+
if (claimed.status !== "busy") return claimed;
|
|
332
|
+
const left = wait.remaining();
|
|
333
|
+
if (left <= 0) return claimed;
|
|
334
|
+
const hint = claimed.retryAfterMs > 0 ? claimed.retryAfterMs : Number.POSITIVE_INFINITY;
|
|
335
|
+
await sleep(Math.max(1, Math.min(backoff, hint, left)));
|
|
336
|
+
backoff = Math.min(backoff * 2, MAX_BACKOFF_MS);
|
|
337
|
+
}
|
|
338
|
+
}
|
|
339
|
+
async function withLease(input, fn) {
|
|
340
|
+
const claimed = await claim(input);
|
|
341
|
+
if (claimed.status !== "claimed") return claimed;
|
|
342
|
+
const { lease } = claimed;
|
|
343
|
+
const seconds = input.leaseSeconds ?? 60;
|
|
344
|
+
const stop = input.heartbeat === false ? () => void 0 : leaseHeartbeat(seconds, () => {
|
|
345
|
+
lease.extend(seconds);
|
|
346
|
+
});
|
|
347
|
+
let value;
|
|
348
|
+
try {
|
|
349
|
+
value = await fn(lease);
|
|
350
|
+
} catch (cause) {
|
|
351
|
+
stop();
|
|
352
|
+
await lease.release();
|
|
353
|
+
throw cause;
|
|
354
|
+
}
|
|
355
|
+
stop();
|
|
356
|
+
if (input.completeFor === void 0) await lease.release();
|
|
357
|
+
else await lease.complete(input.completeFor === true ? DAY_SECONDS : input.completeFor);
|
|
358
|
+
return {
|
|
359
|
+
status: "claimed",
|
|
360
|
+
value
|
|
361
|
+
};
|
|
362
|
+
}
|
|
363
|
+
return {
|
|
364
|
+
claim: (input) => run(() => claim(input)),
|
|
365
|
+
withLease: (input, fn) => run(() => withLease(input, fn))
|
|
366
|
+
};
|
|
367
|
+
}
|
|
226
368
|
// src/blocks/queue/vercel-queue.ts
|
|
227
369
|
const TOPIC = /^[A-Za-z0-9_-]+$/;
|
|
228
370
|
const DAY = 86400;
|
|
@@ -491,4 +633,4 @@ function consumerOf(jobs, options) {
|
|
|
491
633
|
}
|
|
492
634
|
};
|
|
493
635
|
}
|
|
494
|
-
export { BLOCK_SCHEDULE_PREFIX, BLOCK_TICKS_QUEUE, MAINTENANCE_TIMER_BLOCK, assertCron, blockSchedules, blockTickHandler, blockTickSchema, createIdempotency, createQueue, createWebhookInbox, dbTransport, devDrain, devDrainSecret, idempotencyBlock, maintenanceTick, maintenanceTimer, nextCronRun, pgmqPublicBackend, purgeWebhookInbox, queueBlock, rateLimitBlock, rpcTransport, sqlQueueProvider, sqlTransport, transportQueueProvider, vercelIdempotencyKey, vercelQueueNodeRoute, vercelQueueProvider, vercelQueueRoute, vercelQueueTriggers, vercelRetentionSeconds, vercelSendOptionsOf, vercelTopicOf, webhookInboxBlock, withDeadLetters, withLease };
|
|
636
|
+
export { BLOCK_SCHEDULE_PREFIX, BLOCK_TICKS_QUEUE, MAINTENANCE_TIMER_BLOCK, assertCron, blockSchedules, blockTickHandler, blockTickSchema, createIdempotency, createLeases, createQueue, createWebhookInbox, dbTransport, devDrain, devDrainSecret, idempotencyBlock, maintenanceTick, maintenanceTimer, nextCronRun, pgmqPublicBackend, purgeWebhookInbox, queueBlock, rateLimitBlock, rpcTransport, sqlQueueProvider, sqlTransport, transportQueueProvider, vercelIdempotencyKey, vercelQueueNodeRoute, vercelQueueProvider, vercelQueueRoute, vercelQueueTriggers, vercelRetentionSeconds, vercelSendOptionsOf, vercelTopicOf, webhookInboxBlock, withDeadLetters, withLease };
|
|
@@ -2,6 +2,6 @@ import { et as RecordRef } from "../../types-CaYa549m.js";
|
|
|
2
2
|
import { a as dbTransport, i as RpcClient, o as rpcTransport, s as sqlTransport, t as BlockTransport } from "../../block-transport-BO7p8KHh.js";
|
|
3
3
|
import { a as BlockTransportMiddleware, d as extendBlock, f as withBlockHooks, n as BlockHooks, p as wrapTransport } from "../../block-hooks-DOK9DyaZ.js";
|
|
4
4
|
import { i as QuoteVariants, r as QuoteVariantSelection, t as DocumentVariant } from "../../sales-variants-uaXwbWQ9.js";
|
|
5
|
-
import { C as QuotesOptions, E as quotesEvents, S as Quotes, T as QuotesEvents, _ as QuoteResponse, a as QuoteFromDealOptions, b as QuoteVersion, c as quotesBlock, d as QuoteAnswer, f as QuoteDecision, g as QuotePricing, h as QuoteLineInput, i as QuoteFromDealClients, l as PublicQuote, m as QuoteLine, n as QUOTES_AUTOMATIONS, o as quoteFromDealAction, p as QuoteInput, r as QUOTE_TO_ORDER, s as quoteFromDealFactory, t as DEAL_TO_QUOTE, u as Quote, v as QuoteStatus, w as createQuotes, x as QuoteVersionSummary, y as QuoteTaxLine } from "../../index-
|
|
5
|
+
import { C as QuotesOptions, E as quotesEvents, S as Quotes, T as QuotesEvents, _ as QuoteResponse, a as QuoteFromDealOptions, b as QuoteVersion, c as quotesBlock, d as QuoteAnswer, f as QuoteDecision, g as QuotePricing, h as QuoteLineInput, i as QuoteFromDealClients, l as PublicQuote, m as QuoteLine, n as QUOTES_AUTOMATIONS, o as quoteFromDealAction, p as QuoteInput, r as QUOTE_TO_ORDER, s as quoteFromDealFactory, t as DEAL_TO_QUOTE, u as Quote, v as QuoteStatus, w as createQuotes, x as QuoteVersionSummary, y as QuoteTaxLine } from "../../index-CaUkbhw7.js";
|
|
6
6
|
import { i as Totals, n as Line, r as LineInput, t as CatalogLineInput } from "../../sales-lines-CWKOVa0B.js";
|
|
7
7
|
export { type BlockHooks, type BlockTransport, type BlockTransportMiddleware, type CatalogLineInput, DEAL_TO_QUOTE, type DocumentVariant, type Line, type LineInput, type PublicQuote, QUOTES_AUTOMATIONS, QUOTE_TO_ORDER, type Quote, type QuoteAnswer, type QuoteDecision, type QuoteFromDealClients, type QuoteFromDealOptions, type QuoteInput, type QuoteLine, type QuoteLineInput, type QuotePricing, type QuoteResponse, type QuoteStatus, type QuoteTaxLine, type QuoteVariantSelection, type QuoteVariants, type QuoteVersion, type QuoteVersionSummary, type Quotes, type QuotesEvents, type QuotesOptions, type RecordRef, type RpcClient, type Totals, createQuotes, dbTransport, extendBlock, quoteFromDealAction, quoteFromDealFactory, quotesBlock, quotesEvents, rpcTransport, sqlTransport, withBlockHooks, wrapTransport };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { n as QUOTES_AUTOMATIONS, r as QUOTE_TO_ORDER, t as DEAL_TO_QUOTE } from "../../automations-CjKWYzIu.js";
|
|
2
|
-
import { K as rpcTransport, W as dbTransport, q as sqlTransport } from "../../block-helpers-
|
|
3
|
-
import { i as wrapTransport, n as extendBlock, r as withBlockHooks } from "../../block-hooks-
|
|
4
|
-
import { a as quoteFromDealFactory, i as quoteFromDealAction, n as createQuotes, r as quotesEvents, t as quotesBlock } from "../../manifest-
|
|
2
|
+
import { K as rpcTransport, W as dbTransport, q as sqlTransport } from "../../block-helpers-DApvw3n9.js";
|
|
3
|
+
import { i as wrapTransport, n as extendBlock, r as withBlockHooks } from "../../block-hooks-mazaapv5.js";
|
|
4
|
+
import { a as quoteFromDealFactory, i as quoteFromDealAction, n as createQuotes, r as quotesEvents, t as quotesBlock } from "../../manifest-D5gmrL5j.js";
|
|
5
5
|
export { DEAL_TO_QUOTE, QUOTES_AUTOMATIONS, QUOTE_TO_ORDER, createQuotes, dbTransport, extendBlock, quoteFromDealAction, quoteFromDealFactory, quotesBlock, quotesEvents, rpcTransport, sqlTransport, withBlockHooks, wrapTransport };
|
|
@@ -3,7 +3,7 @@ import { n as Logger } from "../../logger-0LfhvwE4.js";
|
|
|
3
3
|
import { n as BlockOptions } from "../../block-helpers-gyK33E0Z.js";
|
|
4
4
|
import { n as BlockHooks } from "../../block-hooks-DOK9DyaZ.js";
|
|
5
5
|
import { _ as JobHandler } from "../../types-Dwzaxp9p.js";
|
|
6
|
-
import { c as BlockOf, in as rankBetweenResult, rn as RankNeighbors } from "../../define-block-
|
|
6
|
+
import { c as BlockOf, in as rankBetweenResult, rn as RankNeighbors } from "../../define-block-DLqYhrYF.js";
|
|
7
7
|
/** The queue `move()` enqueues on when a key grows past 24 digits. */
|
|
8
8
|
export declare const RANK_REBALANCE_QUEUE = "rank.rebalance";
|
|
9
9
|
/** The digits, in byte order. */
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { n as isRecord } from "../../guards-CsRa6v57.js";
|
|
2
2
|
import { t as AsyncResult } from "../../result-DrBaeIVt.js";
|
|
3
3
|
import { a as rankKeys, i as rankBetween, n as RANK_REBALANCE_QUEUE, r as isRankKey, t as RANK_ALPHABET } from "../../rank-keys-CEBzd9Xa.js";
|
|
4
|
-
import { B as textOf, T as optionalText, o as blockCall } from "../../block-helpers-
|
|
5
|
-
import { r as withBlockHooks } from "../../block-hooks-
|
|
4
|
+
import { B as textOf, T as optionalText, o as blockCall } from "../../block-helpers-DApvw3n9.js";
|
|
5
|
+
import { r as withBlockHooks } from "../../block-hooks-mazaapv5.js";
|
|
6
6
|
import { n as defineBlock } from "../../define-block-DyZiZQrx.js";
|
|
7
7
|
import { n as rankBetweenResult } from "../../rank-result-5Se-KHhE.js";
|
|
8
8
|
// src/blocks/rank/rank.ts
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { b as DbError } from "../../result-CMqlHv82.js";
|
|
2
2
|
import { et as RecordRef } from "../../types-CaYa549m.js";
|
|
3
3
|
import { a as dbTransport, o as rpcTransport, s as sqlTransport, t as BlockTransport } from "../../block-transport-BO7p8KHh.js";
|
|
4
|
-
import { p as SubscriptionStatus } from "../../topic-
|
|
5
|
-
import { n as TopicPort } from "../../watch-topic-
|
|
6
|
-
import { n as Controller, t as AuthPort } from "../../controller-
|
|
7
|
-
import { a as ReactionActors, c as ReactionsOptions, d as VoteValue, f as createReactions, h as reactionsEvents, i as ReactOptions, l as VoteOptions, m as ReactionsEvents, n as CustomEmoji, o as ReactionCount, p as reactionsTopic, r as CustomEmojiInput, s as Reactions, t as reactionsBlock, u as VoteTally } from "../../manifest-
|
|
4
|
+
import { p as SubscriptionStatus } from "../../topic-DrN4Af8U.js";
|
|
5
|
+
import { n as TopicPort } from "../../watch-topic-ClQWiVZ1.js";
|
|
6
|
+
import { n as Controller, t as AuthPort } from "../../controller-XiTA4O2z.js";
|
|
7
|
+
import { a as ReactionActors, c as ReactionsOptions, d as VoteValue, f as createReactions, h as reactionsEvents, i as ReactOptions, l as VoteOptions, m as ReactionsEvents, n as CustomEmoji, o as ReactionCount, p as reactionsTopic, r as CustomEmojiInput, s as Reactions, t as reactionsBlock, u as VoteTally } from "../../manifest-Bc1-GptG.js";
|
|
8
8
|
interface ReactionsControllerOptions {
|
|
9
9
|
readonly client: Pick<Reactions, "summary" | "react">;
|
|
10
10
|
readonly auth: AuthPort;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { n as whileSignedIn, t as defineController } from "../../controller-BJmh7gFm.js";
|
|
2
|
-
import { K as rpcTransport, W as dbTransport, q as sqlTransport } from "../../block-helpers-
|
|
3
|
-
import { r as subjectKey } from "../../block-subjects-
|
|
4
|
-
import { i as reactionsEvents, n as createReactions, r as reactionsTopic, t as reactionsBlock } from "../../manifest-
|
|
2
|
+
import { K as rpcTransport, W as dbTransport, q as sqlTransport } from "../../block-helpers-DApvw3n9.js";
|
|
3
|
+
import { r as subjectKey } from "../../block-subjects-CFDmtXvr.js";
|
|
4
|
+
import { i as reactionsEvents, n as createReactions, r as reactionsTopic, t as reactionsBlock } from "../../manifest-vabt4x2a.js";
|
|
5
5
|
// src/blocks/reactions/client.ts
|
|
6
6
|
const sameSubjects = (a, b) => a.length === b.length && a.every((subject, index) => {
|
|
7
7
|
const other = b[index];
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { t as AsyncResult } from "../../result-CMqlHv82.js";
|
|
2
2
|
import { n as Logger } from "../../logger-0LfhvwE4.js";
|
|
3
3
|
import { n as BlockHooks } from "../../block-hooks-DOK9DyaZ.js";
|
|
4
|
-
import { Q as BlockContext, c as BlockOf, p as CompositeOptions } from "../../define-block-
|
|
5
|
-
import { t as calendarBlock } from "../../manifest-
|
|
6
|
-
import { _ as EmployeeInput, o as employeesBlock, p as Employee } from "../../index-
|
|
7
|
-
import { o as Application, r as hiringBlock } from "../../index-
|
|
4
|
+
import { Q as BlockContext, c as BlockOf, p as CompositeOptions } from "../../define-block-DLqYhrYF.js";
|
|
5
|
+
import { t as calendarBlock } from "../../manifest-I7nR1vhO.js";
|
|
6
|
+
import { _ as EmployeeInput, o as employeesBlock, p as Employee } from "../../index-BEyOO6xN.js";
|
|
7
|
+
import { o as Application, r as hiringBlock } from "../../index-DDIZwUK-.js";
|
|
8
8
|
/** What `recruiting.hire` returns. */
|
|
9
9
|
interface Hired {
|
|
10
10
|
readonly application: Application;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { r as withBlockHooks } from "../../block-hooks-
|
|
1
|
+
import { r as withBlockHooks } from "../../block-hooks-mazaapv5.js";
|
|
2
2
|
import { n as defineBlock } from "../../define-block-DyZiZQrx.js";
|
|
3
|
-
import { t as employeesBlock } from "../../manifest-
|
|
4
|
-
import { t as calendarBlock } from "../../manifest-
|
|
5
|
-
import { t as hiringBlock } from "../../manifest-
|
|
3
|
+
import { t as employeesBlock } from "../../manifest-iNt_0t6h.js";
|
|
4
|
+
import { t as calendarBlock } from "../../manifest-3mRZEFbA.js";
|
|
5
|
+
import { t as hiringBlock } from "../../manifest-CXTVwg4s.js";
|
|
6
6
|
// src/blocks/recruiting/recruiting.ts
|
|
7
7
|
/** Creates the `recruiting` helpers over the clients of its parts. */
|
|
8
8
|
function createRecruiting(options) {
|
|
@@ -5,7 +5,7 @@ import { n as Logger } from "../../logger-0LfhvwE4.js";
|
|
|
5
5
|
import { n as BlockOptions } from "../../block-helpers-gyK33E0Z.js";
|
|
6
6
|
import { a as dbTransport, i as RpcClient, o as rpcTransport, s as sqlTransport, t as BlockTransport } from "../../block-transport-BO7p8KHh.js";
|
|
7
7
|
import { a as BlockTransportMiddleware, d as extendBlock, f as withBlockHooks, n as BlockHooks, p as wrapTransport } from "../../block-hooks-DOK9DyaZ.js";
|
|
8
|
-
import { c as BlockOf } from "../../define-block-
|
|
8
|
+
import { c as BlockOf } from "../../define-block-DLqYhrYF.js";
|
|
9
9
|
/** Where a referral stands: attributed at signup, qualified, then rewarded. */
|
|
10
10
|
declare const REFERRAL_STATUSES: readonly ["attributed", "qualified", "rewarded", "void"];
|
|
11
11
|
/** Where a referral stands: attributed at signup, qualified, then rewarded. */
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { t as temporal } from "../../temporal-required-DK3ImZW6.js";
|
|
2
2
|
import { n as referralsSqlOptions, t as REFERRAL_STATUSES } from "../../referrals-values-EXlMZA7X.js";
|
|
3
3
|
import { n as event, t as defineEvents } from "../../event-map-DxfsFgQT.js";
|
|
4
|
-
import { B as textOf, C as optionalInstant, K as rpcTransport, N as recordsOf, T as optionalText, W as dbTransport, a as bigintOf, d as enumOrThrow, j as recordOf, n as applyTemporal, o as blockCall, q as sqlTransport } from "../../block-helpers-
|
|
5
|
-
import { i as wrapTransport, n as extendBlock, r as withBlockHooks } from "../../block-hooks-
|
|
4
|
+
import { B as textOf, C as optionalInstant, K as rpcTransport, N as recordsOf, T as optionalText, W as dbTransport, a as bigintOf, d as enumOrThrow, j as recordOf, n as applyTemporal, o as blockCall, q as sqlTransport } from "../../block-helpers-DApvw3n9.js";
|
|
5
|
+
import { i as wrapTransport, n as extendBlock, r as withBlockHooks } from "../../block-hooks-mazaapv5.js";
|
|
6
6
|
import { n as defineBlock } from "../../define-block-DyZiZQrx.js";
|
|
7
7
|
import { t as requireTenant } from "../../block-tenant-DHvDBWgF.js";
|
|
8
8
|
// src/blocks/referrals/referrals.ts
|
|
@@ -8,7 +8,7 @@ import { n as Logger } from "../../logger-0LfhvwE4.js";
|
|
|
8
8
|
import { s as BlockTenantOptions } from "../../block-helpers-gyK33E0Z.js";
|
|
9
9
|
import { t as BlockTransport } from "../../block-transport-BO7p8KHh.js";
|
|
10
10
|
import { n as BlockHooks } from "../../block-hooks-DOK9DyaZ.js";
|
|
11
|
-
import { E as RecordBinding, G as EntitySchema, M as RecordBindingWrite, c as BlockOf } from "../../define-block-
|
|
11
|
+
import { E as RecordBinding, G as EntitySchema, M as RecordBindingWrite, c as BlockOf } from "../../define-block-DLqYhrYF.js";
|
|
12
12
|
import { a as UndoToken } from "../../undo-DXZw1dFP.js";
|
|
13
13
|
interface LinkInput<F extends object = Record<never, never>> {
|
|
14
14
|
/**
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { n as isRecord } from "../../guards-CsRa6v57.js";
|
|
2
2
|
import { t as relationsSqlOptions } from "../../options-Lg76d-cV.js";
|
|
3
3
|
import { n as event, t as defineEvents } from "../../event-map-DxfsFgQT.js";
|
|
4
|
-
import { B as textOf, N as recordsOf, h as instantOf, j as recordOf, o as blockCall } from "../../block-helpers-
|
|
5
|
-
import { r as withBlockHooks } from "../../block-hooks-
|
|
4
|
+
import { B as textOf, N as recordsOf, h as instantOf, j as recordOf, o as blockCall } from "../../block-helpers-DApvw3n9.js";
|
|
5
|
+
import { r as withBlockHooks } from "../../block-hooks-mazaapv5.js";
|
|
6
6
|
import { n as entitySchema } from "../../entity-schema-DEIz0I8i.js";
|
|
7
7
|
import { t as defineRecordBinding } from "../../record-bindings-jTZw-GVe.js";
|
|
8
8
|
import { n as defineBlock } from "../../define-block-DyZiZQrx.js";
|
|
9
|
-
import { i as subjectRefOf } from "../../block-subjects-
|
|
9
|
+
import { i as subjectRefOf } from "../../block-subjects-CFDmtXvr.js";
|
|
10
10
|
import { a as readAllFields, l as writeFields, n as blockFields, o as readFields, s as rowFields } from "../../block-fields-B6_zYPTF.js";
|
|
11
|
-
import { i as undoToken } from "../../undo-
|
|
11
|
+
import { i as undoToken } from "../../undo-BXeYO6gy.js";
|
|
12
12
|
import { t as requireTenant } from "../../block-tenant-DHvDBWgF.js";
|
|
13
13
|
// src/blocks/relations/adapters.ts
|
|
14
14
|
const DEPENDENCY_TYPES = [
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _ as deliverReminder, a as ReminderJobs, b as remindersEvents, c as ReminderWhen, d as SavedReminder, f as createReminders, g as ReminderPlanInput, h as PlannedDelivery, i as ReminderJobPayload, l as Reminders, m as DeliveryPayload, n as REMINDER_DELIVERY_QUEUE, o as ReminderScheduleOptions, p as reminderJobSchema, r as ReminderEntry, s as ReminderScheduleResult, t as remindersBlock, u as RemindersOptions, v as planReminderDeliveries, y as RemindersEvents } from "../../manifest-
|
|
1
|
+
import { _ as deliverReminder, a as ReminderJobs, b as remindersEvents, c as ReminderWhen, d as SavedReminder, f as createReminders, g as ReminderPlanInput, h as PlannedDelivery, i as ReminderJobPayload, l as Reminders, m as DeliveryPayload, n as REMINDER_DELIVERY_QUEUE, o as ReminderScheduleOptions, p as reminderJobSchema, r as ReminderEntry, s as ReminderScheduleResult, t as remindersBlock, u as RemindersOptions, v as planReminderDeliveries, y as RemindersEvents } from "../../manifest-D_gWI_Xp.js";
|
|
2
2
|
import { a as weekdayName, r as expandRule, t as ExpandInput } from "../../recurrence-C8ZyBzKr.js";
|
|
3
3
|
import "../../index-DMnXy2Rv.js";
|
|
4
4
|
export { type DeliveryPayload, type ExpandInput, type PlannedDelivery, REMINDER_DELIVERY_QUEUE, type ReminderEntry, type ReminderJobPayload, type ReminderJobs, type ReminderPlanInput, type ReminderScheduleOptions, type ReminderScheduleResult, type ReminderWhen, type Reminders, type RemindersEvents, type RemindersOptions, type SavedReminder, createReminders, deliverReminder, expandRule, planReminderDeliveries, reminderJobSchema, remindersBlock, remindersEvents, weekdayName };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { r as weekdayName, t as expandRule } from "../../recurrence-dskDvlcP.js";
|
|
2
|
-
import { a as deliverReminder, i as reminderJobSchema, n as REMINDER_DELIVERY_QUEUE, o as planReminderDeliveries, r as createReminders, s as remindersEvents, t as remindersBlock } from "../../manifest
|
|
2
|
+
import { a as deliverReminder, i as reminderJobSchema, n as REMINDER_DELIVERY_QUEUE, o as planReminderDeliveries, r as createReminders, s as remindersEvents, t as remindersBlock } from "../../manifest-Dr-wuvfR.js";
|
|
3
3
|
export { REMINDER_DELIVERY_QUEUE, createReminders, deliverReminder, expandRule, planReminderDeliveries, reminderJobSchema, remindersBlock, remindersEvents, weekdayName };
|
|
@@ -7,7 +7,7 @@ import { n as Logger } from "../../logger-0LfhvwE4.js";
|
|
|
7
7
|
import { r as BlockTemporalOptions } from "../../block-helpers-gyK33E0Z.js";
|
|
8
8
|
import { a as dbTransport, i as RpcClient, o as rpcTransport, s as sqlTransport, t as BlockTransport } from "../../block-transport-BO7p8KHh.js";
|
|
9
9
|
import { a as BlockTransportMiddleware, d as extendBlock, f as withBlockHooks, n as BlockHooks, p as wrapTransport } from "../../block-hooks-DOK9DyaZ.js";
|
|
10
|
-
import { c as BlockOf } from "../../define-block-
|
|
10
|
+
import { c as BlockOf } from "../../define-block-DLqYhrYF.js";
|
|
11
11
|
interface ReviewsOptions<S extends StandardSchemaV1 | undefined = undefined> extends BlockTemporalOptions {
|
|
12
12
|
readonly transport: BlockTransport;
|
|
13
13
|
/**
|
|
@@ -2,8 +2,8 @@ import { n as isRecord } from "../../guards-CsRa6v57.js";
|
|
|
2
2
|
import { t as AsyncResult } from "../../result-DrBaeIVt.js";
|
|
3
3
|
import { t as reviewsSqlOptions } from "../../options-D848Os4l.js";
|
|
4
4
|
import { n as event, t as defineEvents } from "../../event-map-DxfsFgQT.js";
|
|
5
|
-
import { B as textOf, C as optionalInstant, K as rpcTransport, N as recordsOf, P as requiredInstant, T as optionalText, W as dbTransport, d as enumOrThrow, j as recordOf, m as instantArg, n as applyTemporal, o as blockCall, q as sqlTransport } from "../../block-helpers-
|
|
6
|
-
import { i as wrapTransport, n as extendBlock, r as withBlockHooks } from "../../block-hooks-
|
|
5
|
+
import { B as textOf, C as optionalInstant, K as rpcTransport, N as recordsOf, P as requiredInstant, T as optionalText, W as dbTransport, d as enumOrThrow, j as recordOf, m as instantArg, n as applyTemporal, o as blockCall, q as sqlTransport } from "../../block-helpers-DApvw3n9.js";
|
|
6
|
+
import { i as wrapTransport, n as extendBlock, r as withBlockHooks } from "../../block-hooks-mazaapv5.js";
|
|
7
7
|
import { n as defineBlock } from "../../define-block-DyZiZQrx.js";
|
|
8
8
|
import { n as blockFields } from "../../block-fields-B6_zYPTF.js";
|
|
9
9
|
// src/blocks/reviews/reviews.ts
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { a as dbTransport, i as RpcClient, o as rpcTransport, s as sqlTransport, t as BlockTransport } from "../../block-transport-BO7p8KHh.js";
|
|
2
2
|
import { a as BlockTransportMiddleware, d as extendBlock, f as withBlockHooks, n as BlockHooks, p as wrapTransport } from "../../block-hooks-DOK9DyaZ.js";
|
|
3
|
-
import { G as EntitySchema } from "../../define-block-
|
|
4
|
-
import { C as RfqEventData, E as rfqsEvents, S as createRfqs, T as RfqsEvents, _ as RfqStatus, a as RfqComparisonQuote, b as Rfqs, c as RfqLine, d as RfqOffer, f as RfqQuote, g as RfqQuoteStatus, h as RfqQuoteLineInput, i as RfqComparisonLine, l as RfqLineInput, m as RfqQuoteLine, n as Rfq, o as RfqDetail, p as RfqQuoteInput, r as RfqComparison, s as RfqInput, t as rfqsBlock, u as RfqListOptions, v as RfqSupplier, w as RfqQuoteEventData, x as RfqsOptions, y as RfqSupplierStatus } from "../../manifest-
|
|
3
|
+
import { G as EntitySchema } from "../../define-block-DLqYhrYF.js";
|
|
4
|
+
import { C as RfqEventData, E as rfqsEvents, S as createRfqs, T as RfqsEvents, _ as RfqStatus, a as RfqComparisonQuote, b as Rfqs, c as RfqLine, d as RfqOffer, f as RfqQuote, g as RfqQuoteStatus, h as RfqQuoteLineInput, i as RfqComparisonLine, l as RfqLineInput, m as RfqQuoteLine, n as Rfq, o as RfqDetail, p as RfqQuoteInput, r as RfqComparison, s as RfqInput, t as rfqsBlock, u as RfqListOptions, v as RfqSupplier, w as RfqQuoteEventData, x as RfqsOptions, y as RfqSupplierStatus } from "../../manifest-XRDA_p9P.js";
|
|
5
5
|
/** What `createRfq` takes, with the bounds the SQL checks. */
|
|
6
6
|
export declare const rfqInputSchema: EntitySchema<RfqInput>;
|
|
7
7
|
export { type BlockHooks, type BlockTransport, type BlockTransportMiddleware, type Rfq, type RfqComparison, type RfqComparisonLine, type RfqComparisonQuote, type RfqDetail, type RfqEventData, type RfqInput, type RfqLine, type RfqLineInput, type RfqListOptions, type RfqOffer, type RfqQuote, type RfqQuoteEventData, type RfqQuoteInput, type RfqQuoteLine, type RfqQuoteLineInput, type RfqQuoteStatus, type RfqStatus, type RfqSupplier, type RfqSupplierStatus, type Rfqs, type RfqsEvents, type RfqsOptions, type RpcClient, createRfqs, dbTransport, extendBlock, rfqsBlock, rfqsEvents, rpcTransport, sqlTransport, withBlockHooks, wrapTransport };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { K as rpcTransport, W as dbTransport, q as sqlTransport } from "../../block-helpers-
|
|
2
|
-
import { i as wrapTransport, n as extendBlock, r as withBlockHooks } from "../../block-hooks-
|
|
3
|
-
import { i as createRfqs, n as rfqInputSchema, r as rfqsEvents, t as rfqsBlock } from "../../manifest-
|
|
1
|
+
import { K as rpcTransport, W as dbTransport, q as sqlTransport } from "../../block-helpers-DApvw3n9.js";
|
|
2
|
+
import { i as wrapTransport, n as extendBlock, r as withBlockHooks } from "../../block-hooks-mazaapv5.js";
|
|
3
|
+
import { i as createRfqs, n as rfqInputSchema, r as rfqsEvents, t as rfqsBlock } from "../../manifest-D72opuEP.js";
|
|
4
4
|
export { createRfqs, dbTransport, extendBlock, rfqInputSchema, rfqsBlock, rfqsEvents, rpcTransport, sqlTransport, withBlockHooks, wrapTransport };
|
|
@@ -7,8 +7,8 @@ import { n as Logger } from "../../logger-0LfhvwE4.js";
|
|
|
7
7
|
import { n as BlockOptions } from "../../block-helpers-gyK33E0Z.js";
|
|
8
8
|
import { a as dbTransport, i as RpcClient, o as rpcTransport, s as sqlTransport, t as BlockTransport } from "../../block-transport-BO7p8KHh.js";
|
|
9
9
|
import { a as BlockTransportMiddleware, d as extendBlock, f as withBlockHooks, n as BlockHooks, p as wrapTransport } from "../../block-hooks-DOK9DyaZ.js";
|
|
10
|
-
import { F as RiskMatrixBand, I as RiskMatrixLevel, N as RisksSqlOptions, P as risksSqlOptions } from "../../blocks-
|
|
11
|
-
import { G as EntitySchema, c as BlockOf } from "../../define-block-
|
|
10
|
+
import { F as RiskMatrixBand, I as RiskMatrixLevel, N as RisksSqlOptions, P as risksSqlOptions } from "../../blocks-DbarkJe1.js";
|
|
11
|
+
import { G as EntitySchema, c as BlockOf } from "../../define-block-DLqYhrYF.js";
|
|
12
12
|
declare const STATUSES: readonly ["identified", "assessed", "treating", "accepted", "closed"];
|
|
13
13
|
declare const TREATMENTS: readonly ["mitigate", "accept", "transfer", "avoid"];
|
|
14
14
|
declare const SCORINGS: readonly ["product", "sum"];
|
|
@@ -2,8 +2,8 @@ import { n as isRecord } from "../../guards-CsRa6v57.js";
|
|
|
2
2
|
import { t as temporal } from "../../temporal-required-DK3ImZW6.js";
|
|
3
3
|
import { t as risksSqlOptions } from "../../options-CKMLVUel.js";
|
|
4
4
|
import { n as event, t as defineEvents } from "../../event-map-DxfsFgQT.js";
|
|
5
|
-
import { B as textOf, C as optionalInstant, K as rpcTransport, N as recordsOf, P as requiredInstant, T as optionalText, W as dbTransport, d as enumOrThrow, j as recordOf, n as applyTemporal, o as blockCall, q as sqlTransport } from "../../block-helpers-
|
|
6
|
-
import { i as wrapTransport, n as extendBlock, r as withBlockHooks } from "../../block-hooks-
|
|
5
|
+
import { B as textOf, C as optionalInstant, K as rpcTransport, N as recordsOf, P as requiredInstant, T as optionalText, W as dbTransport, d as enumOrThrow, j as recordOf, n as applyTemporal, o as blockCall, q as sqlTransport } from "../../block-helpers-DApvw3n9.js";
|
|
6
|
+
import { i as wrapTransport, n as extendBlock, r as withBlockHooks } from "../../block-hooks-mazaapv5.js";
|
|
7
7
|
import { n as entitySchema } from "../../entity-schema-DEIz0I8i.js";
|
|
8
8
|
import { n as defineBlock } from "../../define-block-DyZiZQrx.js";
|
|
9
9
|
import { n as blockFields } from "../../block-fields-B6_zYPTF.js";
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import { t as AsyncResult } from "../../result-CMqlHv82.js";
|
|
2
2
|
import { n as Logger } from "../../logger-0LfhvwE4.js";
|
|
3
3
|
import { n as BlockHooks } from "../../block-hooks-DOK9DyaZ.js";
|
|
4
|
-
import { Q as BlockContext, c as BlockOf, h as PartClients, p as CompositeOptions } from "../../define-block-
|
|
4
|
+
import { Q as BlockContext, c as BlockOf, h as PartClients, p as CompositeOptions } from "../../define-block-DLqYhrYF.js";
|
|
5
5
|
import { f as CreatedApiKey } from "../../api-keys-DAPc3sq_.js";
|
|
6
|
-
import { t as apiKeysBlock } from "../../index-
|
|
7
|
-
import { t as auditBlock } from "../../manifest-
|
|
8
|
-
import { t as billingBlock } from "../../manifest-
|
|
9
|
-
import { t as entitlementsBlock } from "../../manifest-
|
|
10
|
-
import { t as notificationsBlock } from "../../manifest-
|
|
11
|
-
import { t as onboardingBlock } from "../../manifest-
|
|
12
|
-
import { k as InvitationSent, x as organizationsBlock } from "../../index-
|
|
13
|
-
import { t as outboxBlock } from "../../manifest-
|
|
14
|
-
import { t as profilesBlock } from "../../manifest-
|
|
15
|
-
import { t as settingsBlock } from "../../manifest-
|
|
16
|
-
import { t as teamsBlock } from "../../manifest-
|
|
6
|
+
import { t as apiKeysBlock } from "../../index-BaI1DFjU.js";
|
|
7
|
+
import { t as auditBlock } from "../../manifest-BJ7XyLlV.js";
|
|
8
|
+
import { t as billingBlock } from "../../manifest-BWIcNHVs.js";
|
|
9
|
+
import { t as entitlementsBlock } from "../../manifest-CJzK3H3h.js";
|
|
10
|
+
import { t as notificationsBlock } from "../../manifest-D9B8QIWz.js";
|
|
11
|
+
import { t as onboardingBlock } from "../../manifest-CMmfdgAG.js";
|
|
12
|
+
import { k as InvitationSent, x as organizationsBlock } from "../../index-B9sdIEmz.js";
|
|
13
|
+
import { t as outboxBlock } from "../../manifest-Cge4urPD.js";
|
|
14
|
+
import { t as profilesBlock } from "../../manifest-BieAORBI.js";
|
|
15
|
+
import { t as settingsBlock } from "../../manifest-BFXftMd7.js";
|
|
16
|
+
import { t as teamsBlock } from "../../manifest-DKY1mHtE.js";
|
|
17
17
|
/** The blocks `saas` is made of, by block name. */
|
|
18
18
|
export declare const saasParts: {
|
|
19
19
|
readonly organizations: typeof organizationsBlock;
|