better-supabase 0.48.0 → 0.50.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{activities-D39qA-Af.d.ts → activities-C2v_Sq4w.d.ts} +1 -1
- package/dist/{ai-schedules-g-uKxgU2.d.ts → ai-schedules-BOiaFIva.d.ts} +1 -1
- package/dist/ai-sdk/agents/index.d.ts +2 -2
- package/dist/{app-tables-C7zbYd0g.d.ts → app-tables-ByFny1cL.d.ts} +1 -1
- package/dist/audit-files/index.js +5 -8
- package/dist/{authorization-BjOM8pzj.d.ts → authorization-N4bh4KQS.d.ts} +1 -1
- package/dist/{automations-ByU4cU9J.js → automations-Ce0jNNIe.js} +1 -1
- package/dist/{banking-reads-Cj4f6_eG.js → banking-reads-D4Yuz4uX.js} +1 -1
- package/dist/{bind-DR7RV4WY.d.ts → bind-ChYzUApb.d.ts} +3 -3
- package/dist/{block-env-CxI_lxyr.d.ts → block-env-buLS8m9m.d.ts} +4 -4
- package/dist/{block-subjects-BLcM5e4I.js → block-subjects-rv7V0R6O.js} +7 -4
- package/dist/{block-tables-CSLUgF1o.d.ts → block-tables-CQHwZ9-v.d.ts} +1 -1
- package/dist/blocks/access-requests/index.d.ts +1 -1
- package/dist/blocks/access-requests/index.js +2 -1
- package/dist/blocks/accounting/index.d.ts +1 -1
- package/dist/blocks/accounting/index.js +1 -1
- package/dist/blocks/acknowledgements/index.d.ts +1 -1
- package/dist/blocks/acknowledgements/index.js +1 -1
- package/dist/blocks/activities/index.d.ts +4 -4
- package/dist/blocks/activities/index.js +1 -1
- package/dist/blocks/advisories/index.d.ts +1 -1
- package/dist/blocks/advisories/index.js +2 -1
- package/dist/blocks/agent-checkout/index.d.ts +1 -1
- package/dist/blocks/agent-checkout/index.js +4 -3
- package/dist/blocks/agents/index.d.ts +1 -1
- package/dist/blocks/agents/index.js +2 -1
- package/dist/blocks/ai-cache/index.d.ts +1 -1
- package/dist/blocks/ai-cache/index.js +3 -2
- package/dist/blocks/ai-chat/index.d.ts +1 -1
- package/dist/blocks/ai-chat/index.js +2 -1
- package/dist/blocks/ai-evals/index.d.ts +1 -1
- package/dist/blocks/ai-evals/index.js +3 -2
- package/dist/blocks/ai-files/index.d.ts +1 -1
- package/dist/blocks/ai-files/index.js +3 -2
- package/dist/blocks/ai-guardrails/index.d.ts +1 -1
- package/dist/blocks/ai-guardrails/index.js +3 -2
- package/dist/blocks/ai-keys/index.d.ts +1 -1
- package/dist/blocks/ai-keys/index.js +2 -1
- package/dist/blocks/ai-schedules/index.d.ts +2 -2
- package/dist/blocks/ai-schedules/index.js +2 -1
- package/dist/blocks/announcements/index.d.ts +4 -4
- package/dist/blocks/announcements/index.js +2 -1
- package/dist/blocks/api-keys/index.d.ts +1 -1
- package/dist/blocks/api-keys/index.js +1 -1
- package/dist/blocks/appraisals/index.d.ts +1 -1
- package/dist/blocks/appraisals/index.js +3 -2
- package/dist/blocks/approvals/index.d.ts +1 -1
- package/dist/blocks/approvals/index.js +1 -1
- package/dist/blocks/assets/index.d.ts +2 -2
- package/dist/blocks/assets/index.js +1 -1
- package/dist/blocks/assignment/index.d.ts +1 -1
- package/dist/blocks/assignment/index.js +1 -1
- package/dist/blocks/attachments/index.d.ts +5 -5
- package/dist/blocks/attachments/index.js +1 -1
- package/dist/blocks/audit/index.d.ts +2 -2
- package/dist/blocks/audit/index.js +1 -1
- package/dist/blocks/automations/index.d.ts +3 -3
- package/dist/blocks/automations/index.js +3 -2
- package/dist/blocks/banking/index.d.ts +1 -2
- package/dist/blocks/banking/index.js +2 -2
- package/dist/blocks/billable-time/index.d.ts +1 -1
- package/dist/blocks/billable-time/index.js +1 -1
- package/dist/blocks/billing/index.d.ts +61 -4
- package/dist/blocks/billing/index.js +52 -3
- package/dist/blocks/bookings/index.d.ts +2 -2
- package/dist/blocks/bookings/index.js +1 -1
- package/dist/blocks/bulk/index.d.ts +1 -1
- package/dist/blocks/bulk/index.js +2 -1
- 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 +31 -29
- package/dist/blocks/care-plans/index.d.ts +3 -3
- package/dist/blocks/care-plans/index.js +2 -2
- package/dist/blocks/cases/index.d.ts +3 -3
- package/dist/blocks/cases/index.js +1 -1
- package/dist/blocks/catalog/index.d.ts +2 -2
- package/dist/blocks/catalog/index.js +1 -1
- package/dist/blocks/channels/index.d.ts +1 -1
- package/dist/blocks/channels/index.js +2 -1
- package/dist/blocks/clinical-decision-support/index.d.ts +1 -1
- package/dist/blocks/clinical-decision-support/index.js +3 -2
- package/dist/blocks/cms/index.d.ts +5 -5
- package/dist/blocks/cms/index.js +7 -6
- package/dist/blocks/collaboration/index.d.ts +6 -6
- package/dist/blocks/collaboration/index.js +8 -7
- package/dist/blocks/collections/index.d.ts +1 -1
- package/dist/blocks/collections/index.js +3 -2
- package/dist/blocks/comments/index.d.ts +2 -2
- package/dist/blocks/comments/index.js +1 -1
- package/dist/blocks/commerce/index.d.ts +5 -5
- package/dist/blocks/commerce/index.js +7 -6
- package/dist/blocks/commissions/index.d.ts +254 -0
- package/dist/blocks/commissions/index.js +231 -0
- package/dist/blocks/compliance/index.d.ts +1 -1
- package/dist/blocks/compliance/index.js +3 -2
- package/dist/blocks/connectors/index.d.ts +1 -1
- package/dist/blocks/connectors/index.js +2 -1
- package/dist/blocks/consents/index.d.ts +2 -2
- package/dist/blocks/consents/index.js +1 -1
- package/dist/blocks/contacts/index.d.ts +2 -2
- package/dist/blocks/contacts/index.js +1 -1
- package/dist/blocks/content/index.d.ts +2 -2
- package/dist/blocks/content/index.js +1 -1
- package/dist/blocks/contracts/index.d.ts +1 -1
- package/dist/blocks/contracts/index.js +4 -3
- package/dist/blocks/courses/index.d.ts +3 -3
- package/dist/blocks/courses/index.js +1 -1
- package/dist/blocks/created-by/index.d.ts +2 -2
- package/dist/blocks/created-by/index.js +2 -1
- package/dist/blocks/crm/index.d.ts +16 -16
- package/dist/blocks/crm/index.js +18 -17
- package/dist/blocks/custom-fields/index.d.ts +1 -1
- package/dist/blocks/custom-fields/index.js +2 -1
- package/dist/blocks/dam/index.d.ts +2 -2
- package/dist/blocks/dam/index.js +3 -2
- package/dist/blocks/data-lifecycle/index.d.ts +2 -2
- package/dist/blocks/data-lifecycle/index.js +1 -1
- package/dist/blocks/deals/index.d.ts +1 -1
- package/dist/blocks/deals/index.js +1 -1
- package/dist/blocks/dispatch/index.d.ts +2 -2
- package/dist/blocks/dispatch/index.js +1 -1
- package/dist/blocks/document-templates/index.d.ts +1 -1
- package/dist/blocks/document-templates/index.js +3 -2
- package/dist/blocks/documents/index.d.ts +1 -1
- package/dist/blocks/documents/index.js +2 -1
- package/dist/blocks/domains/index.d.ts +1 -1
- package/dist/blocks/domains/index.js +3 -2
- package/dist/blocks/donations/index.d.ts +1 -1
- package/dist/blocks/donations/index.js +4 -3
- package/dist/blocks/drive/index.d.ts +5 -5
- package/dist/blocks/drive/index.js +1 -1
- package/dist/blocks/e-prescribing/index.d.ts +1 -1
- package/dist/blocks/e-prescribing/index.js +3 -2
- package/dist/blocks/employees/index.d.ts +1 -1
- package/dist/blocks/employees/index.js +1 -1
- package/dist/blocks/enrichment/index.d.ts +1 -1
- package/dist/blocks/enrichment/index.js +1 -1
- package/dist/blocks/enrollments/index.d.ts +2 -2
- package/dist/blocks/enrollments/index.js +1 -1
- package/dist/blocks/entitlements/index.d.ts +3 -3
- package/dist/blocks/entitlements/index.js +1 -1
- package/dist/blocks/events/index.d.ts +3 -3
- package/dist/blocks/events/index.js +5 -4
- package/dist/blocks/expenses/index.d.ts +1 -1
- package/dist/blocks/expenses/index.js +4 -3
- package/dist/blocks/field-history/index.d.ts +1 -1
- package/dist/blocks/field-history/index.js +1 -1
- package/dist/blocks/filespace/index.d.ts +8 -8
- package/dist/blocks/filespace/index.js +9 -8
- package/dist/blocks/finance/index.d.ts +31 -6
- package/dist/blocks/finance/index.js +48 -15
- package/dist/blocks/flags/index.d.ts +1 -1
- package/dist/blocks/flags/index.js +2 -1
- package/dist/blocks/forecasts/index.d.ts +1 -1
- package/dist/blocks/forecasts/index.js +1 -1
- package/dist/blocks/forms/index.d.ts +3 -3
- package/dist/blocks/forms/index.js +1 -1
- package/dist/blocks/funding/index.d.ts +2 -2
- package/dist/blocks/funding/index.js +1 -1
- package/dist/blocks/goals/index.d.ts +1 -1
- package/dist/blocks/goals/index.js +1 -1
- package/dist/blocks/governance/index.d.ts +4 -4
- package/dist/blocks/governance/index.js +6 -5
- package/dist/blocks/guests/index.d.ts +1 -1
- package/dist/blocks/guests/index.js +1 -1
- package/dist/blocks/hiring/index.d.ts +1 -1
- package/dist/blocks/hiring/index.js +1 -1
- package/dist/blocks/identities/index.d.ts +1 -1
- package/dist/blocks/identities/index.js +3 -2
- package/dist/blocks/imports/index.d.ts +2 -2
- package/dist/blocks/imports/index.js +2 -1
- package/dist/blocks/inbox/index.d.ts +6 -6
- package/dist/blocks/inbox/index.js +1 -1
- package/dist/blocks/incidents/index.d.ts +1 -1
- package/dist/blocks/incidents/index.js +3 -2
- package/dist/blocks/index.d.ts +8 -6
- package/dist/blocks/index.js +1 -1
- package/dist/blocks/inspections/index.d.ts +2 -2
- package/dist/blocks/inspections/index.js +2 -1
- package/dist/blocks/inventory/index.d.ts +1 -1
- package/dist/blocks/inventory/index.js +1 -1
- package/dist/blocks/invoices/index.d.ts +2 -2
- package/dist/blocks/invoices/index.js +1 -1
- package/dist/blocks/knowledge/index.d.ts +1 -1
- package/dist/blocks/knowledge/index.js +1 -1
- package/dist/blocks/lead-scoring/index.d.ts +2 -2
- package/dist/blocks/lead-scoring/index.js +1 -1
- package/dist/blocks/learning/index.d.ts +3 -3
- package/dist/blocks/learning/index.js +5 -4
- package/dist/blocks/leases/index.d.ts +1 -1
- package/dist/blocks/leases/index.js +4 -3
- package/dist/blocks/leave/index.d.ts +1 -1
- package/dist/blocks/leave/index.js +1 -1
- package/dist/blocks/ledger/index.d.ts +1 -1
- package/dist/blocks/ledger/index.js +4 -3
- package/dist/blocks/legal-entities/index.d.ts +2 -2
- package/dist/blocks/legal-entities/index.js +3 -2
- package/dist/blocks/lims/index.d.ts +2 -2
- package/dist/blocks/lims/index.js +3 -2
- package/dist/blocks/mail-sync/index.d.ts +3 -3
- package/dist/blocks/mail-sync/index.js +1 -1
- package/dist/blocks/maintenance/index.d.ts +2 -2
- package/dist/blocks/maintenance/index.js +1 -1
- package/dist/blocks/manufacturing/index.d.ts +2 -2
- package/dist/blocks/manufacturing/index.js +4 -3
- package/dist/blocks/medications/index.d.ts +1 -1
- package/dist/blocks/medications/index.js +1 -1
- package/dist/blocks/meetings/index.d.ts +3 -3
- package/dist/blocks/meetings/index.js +1 -1
- package/dist/blocks/memberships/index.d.ts +2 -2
- package/dist/blocks/memberships/index.js +2 -1
- package/dist/blocks/memory/index.d.ts +1 -1
- package/dist/blocks/memory/index.js +3 -2
- package/dist/blocks/messaging/index.d.ts +5 -5
- package/dist/blocks/messaging/index.js +2 -1
- package/dist/blocks/metrics/index.d.ts +1 -1
- package/dist/blocks/metrics/index.js +2 -1
- package/dist/blocks/mfa/index.d.ts +2 -2
- package/dist/blocks/mfa/index.js +2 -1
- package/dist/blocks/moderation/index.d.ts +2 -2
- package/dist/blocks/moderation/index.js +3 -2
- package/dist/blocks/notifications/index.d.ts +56 -5
- package/dist/blocks/notifications/index.js +83 -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 +3 -2
- package/dist/blocks/observations/index.d.ts +2 -2
- package/dist/blocks/observations/index.js +1 -1
- package/dist/blocks/onboarding/index.d.ts +2 -2
- package/dist/blocks/onboarding/index.js +1 -1
- package/dist/blocks/orders/index.d.ts +1 -1
- package/dist/blocks/orders/index.js +2 -2
- package/dist/blocks/organizations/index.d.ts +2 -2
- package/dist/blocks/organizations/index.js +1 -1
- package/dist/blocks/outbox/index.d.ts +1 -1
- package/dist/blocks/outbox/index.js +1 -1
- package/dist/blocks/passes/index.d.ts +2 -2
- package/dist/blocks/passes/index.js +1 -1
- package/dist/blocks/payroll-export/index.d.ts +2 -2
- package/dist/blocks/payroll-export/index.js +1 -1
- package/dist/blocks/people/index.d.ts +7 -7
- package/dist/blocks/people/index.js +9 -8
- package/dist/blocks/periods/index.d.ts +1 -1
- package/dist/blocks/periods/index.js +3 -2
- package/dist/blocks/permissions/index.d.ts +3 -3
- package/dist/blocks/permissions/index.js +4 -3
- package/dist/blocks/pipelines/index.d.ts +1 -1
- package/dist/blocks/pipelines/index.js +1 -1
- package/dist/blocks/posts/index.d.ts +2 -2
- package/dist/blocks/posts/index.js +2 -1
- package/dist/blocks/procurement/index.d.ts +5 -5
- package/dist/blocks/procurement/index.js +7 -6
- package/dist/blocks/profiles/index.d.ts +1 -1
- package/dist/blocks/profiles/index.js +1 -1
- package/dist/blocks/projects/index.d.ts +7 -7
- package/dist/blocks/projects/index.js +10 -9
- package/dist/blocks/promotions/index.d.ts +1 -1
- package/dist/blocks/promotions/index.js +2 -2
- package/dist/blocks/prompts/index.d.ts +1 -1
- package/dist/blocks/prompts/index.js +3 -2
- package/dist/blocks/push/index.d.ts +2 -2
- package/dist/blocks/push/index.js +2 -1
- package/dist/blocks/qualifications/index.d.ts +2 -2
- package/dist/blocks/qualifications/index.js +1 -1
- package/dist/blocks/queue/index.d.ts +35 -3
- package/dist/blocks/queue/index.js +46 -2
- package/dist/blocks/quotes/index.d.ts +1 -1
- package/dist/blocks/quotes/index.js +1 -1
- package/dist/blocks/rank/index.d.ts +1 -1
- package/dist/blocks/rank/index.js +2 -1
- package/dist/blocks/reactions/index.d.ts +4 -4
- package/dist/blocks/reactions/index.js +1 -1
- package/dist/blocks/recruiting/index.d.ts +4 -4
- package/dist/blocks/recruiting/index.js +6 -5
- package/dist/blocks/referrals/index.d.ts +149 -0
- package/dist/blocks/referrals/index.js +146 -0
- package/dist/blocks/relations/index.d.ts +1 -1
- package/dist/blocks/relations/index.js +2 -1
- 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 +3 -2
- package/dist/blocks/rfqs/index.d.ts +2 -2
- package/dist/blocks/rfqs/index.js +1 -1
- package/dist/blocks/risks/index.d.ts +2 -2
- package/dist/blocks/risks/index.js +2 -1
- package/dist/blocks/saas/index.d.ts +12 -12
- package/dist/blocks/saas/index.js +14 -13
- 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 -1
- package/dist/blocks/scheduling/index.d.ts +4 -4
- package/dist/blocks/scheduling/index.js +6 -5
- package/dist/blocks/scores/index.d.ts +2 -2
- package/dist/blocks/scores/index.js +3 -2
- package/dist/blocks/search/index.d.ts +3 -3
- package/dist/blocks/search/index.js +1 -1
- package/dist/blocks/security-events/index.d.ts +1 -1
- package/dist/blocks/security-events/index.js +3 -2
- package/dist/blocks/segments/index.d.ts +2 -2
- package/dist/blocks/segments/index.js +1 -1
- package/dist/blocks/sequences/index.d.ts +3 -3
- package/dist/blocks/sequences/index.js +1 -1
- package/dist/blocks/service/index.d.ts +7 -7
- package/dist/blocks/service/index.js +9 -8
- package/dist/blocks/service-accounts/index.d.ts +1 -1
- package/dist/blocks/service-accounts/index.js +2 -1
- package/dist/blocks/sessions/index.d.ts +2 -2
- package/dist/blocks/sessions/index.js +2 -1
- package/dist/blocks/settings/index.d.ts +2 -2
- package/dist/blocks/settings/index.js +1 -1
- 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 +1 -1
- package/dist/blocks/shipments/index.d.ts +2 -2
- package/dist/blocks/shipments/index.js +4 -3
- package/dist/blocks/signatures/index.d.ts +2 -2
- package/dist/blocks/signatures/index.js +1 -1
- package/dist/blocks/signing-keys/index.d.ts +1 -1
- package/dist/blocks/signing-keys/index.js +2 -1
- package/dist/blocks/sla/index.d.ts +1 -1
- package/dist/blocks/sla/index.js +1 -1
- package/dist/blocks/sso/index.d.ts +1 -1
- package/dist/blocks/sso/index.js +2 -1
- 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 +1 -1
- package/dist/blocks/support/index.d.ts +5 -5
- package/dist/blocks/support/index.js +7 -6
- 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 +1 -1
- package/dist/blocks/tax/index.d.ts +2 -2
- package/dist/blocks/tax/index.js +1 -1
- package/dist/blocks/teams/index.d.ts +1 -1
- package/dist/blocks/teams/index.js +1 -1
- package/dist/blocks/templates/index.d.ts +1 -1
- package/dist/blocks/templates/index.js +2 -1
- package/dist/blocks/tills/index.d.ts +1 -1
- package/dist/blocks/tills/index.js +4 -3
- package/dist/blocks/time-tracking/index.d.ts +2 -2
- package/dist/blocks/time-tracking/index.js +1 -1
- package/dist/blocks/timeline/index.d.ts +1 -1
- package/dist/blocks/timeline/index.js +1 -1
- package/dist/blocks/trash/index.d.ts +1 -1
- package/dist/blocks/trash/index.js +1 -1
- package/dist/blocks/undo/index.d.ts +2 -2
- package/dist/blocks/undo/index.js +3 -2
- package/dist/blocks/updated-at/index.d.ts +2 -2
- package/dist/blocks/updated-at/index.js +2 -1
- package/dist/blocks/usage/index.d.ts +2 -2
- package/dist/blocks/usage/index.js +3 -2
- package/dist/blocks/vercel-marketplace/index.d.ts +1 -1
- package/dist/blocks/vercel-marketplace/index.js +3 -2
- package/dist/blocks/versions/index.d.ts +1 -1
- package/dist/blocks/versions/index.js +1 -1
- package/dist/blocks/waitlist/index.d.ts +1 -1
- package/dist/blocks/waitlist/index.js +2 -1
- package/dist/blocks/warehouse/index.d.ts +1 -1
- package/dist/blocks/warehouse/index.js +3 -2
- package/dist/blocks/webhooks/index.d.ts +1 -1
- package/dist/blocks/webhooks/index.js +4 -2
- package/dist/blocks/workflow-editor/index.d.ts +4 -4
- package/dist/blocks/workflow-editor/index.js +2 -1
- package/dist/blocks/workflows/index.d.ts +4 -4
- package/dist/blocks/workflows/index.js +2 -1
- package/dist/{blocks-SAugFNo4.d.ts → blocks-ERs7xZ7E.d.ts} +93 -18
- package/dist/{care-plans-sql-BrhEfxVx.js → care-plans-sql-DOfShX0z.js} +1 -1
- package/dist/claims/index.d.ts +3 -3
- package/dist/cli/{add-BiX01SYs.js → add-BhQZHdAv.js} +2 -2
- package/dist/cli/add-C8CZuuRW.js +1 -0
- package/dist/cli/{add-BfnDHlvk.js → add-yTy1CuMe.js} +37 -17
- package/dist/cli/{app-table-files-k2OIuQXL.js → app-table-files-CSZU_cFC.js} +3 -3
- package/dist/cli/{app-tables-CB9PQrKi.js → app-tables-CmY2GVb3.js} +2 -2
- package/dist/cli/{backfill-CpZgv1A6.js → backfill-BUNIA-Vt.js} +3 -3
- package/dist/cli/bin.js +1 -1
- package/dist/cli/{blocks-CGGPe0K4.js → blocks-BO-v5N1q.js} +1 -1
- package/dist/cli/{blocks-DE0qZ1Yz.js → blocks-CLaPv7TM.js} +1 -1
- package/dist/cli/{cache-XYhIgXzI.js → cache-VZU4FIOF.js} +1 -1
- package/dist/cli/{codemod-BWmvfKSo.js → codemod-DgbHI_T7.js} +1 -1
- package/dist/cli/{config-Ci9vE9Cp.js → config-C-DXllAX.js} +9 -1
- package/dist/cli/{config-BbnenK6U.js → config-DyGupd-1.js} +1 -1
- package/dist/cli/{content-mapper-M1H8j6CJ.js → content-mapper-5_KpJMOD.js} +2 -2
- package/dist/cli/{db-BV4gtLuC.js → db-CVoN3aLl.js} +2 -2
- package/dist/cli/{doctor-Be05oUmw.js → doctor-BsB5Sg9v.js} +260 -19
- package/dist/cli/{gen-z-_Dpjmo.js → gen-Dbtv-GLi.js} +14 -14
- package/dist/cli/index.d.ts +1 -1
- package/dist/cli/index.js +7 -7
- package/dist/cli/{init-ifBOh5bq.js → init-DbxcqUL_.js} +9 -9
- package/dist/cli/{live-J-In94dl.js → live-B86Xvfaj.js} +2 -2
- package/dist/cli/{mcp-C7mf6KH9.js → mcp-BjvRPCNn.js} +2 -2
- package/dist/cli/{metadata-CYDEPSi_.js → metadata-BCKNATUX.js} +3 -3
- package/dist/cli/{migrate-rQRFctMv.js → migrate-Ds8H9Vq6.js} +1 -1
- package/dist/cli/{migration-safety-B2AVPCUM.js → migration-safety-CVtbyZQ4.js} +2 -2
- package/dist/cli/{migrations-ClUStdUL.js → migrations-Dob5hF6K.js} +2 -2
- package/dist/cli/{module-migration-BsnMUveg.js → module-migration-BSOn1xPx.js} +2 -2
- package/dist/cli/powersync-6wkF5mUR.js +1 -0
- package/dist/cli/{powersync-BwNqqNym.js → powersync-aGKsgFN9.js} +3 -3
- package/dist/cli/{print-YW7AmWMX.js → print-scQOZbuq.js} +2 -2
- package/dist/cli/{providers-BsjqZkxi.js → providers-Dr7FyvN1.js} +1 -1
- package/dist/cli/{prune-workflows-CO0e6RBk.js → prune-workflows-DguQsnDA.js} +3 -3
- package/dist/cli/{remove-BA8niaOg.js → remove-BK_muhLi.js} +6 -6
- package/dist/cli/{render-Bn_Tmgd6.js → render-D8KGIoSK.js} +4 -4
- package/dist/cli/{run-DF3mWO-N.js → run-BIAan13C.js} +9 -9
- package/dist/cli/{run-DT8Mga9C.js → run-aWo2fn_x.js} +33 -33
- package/dist/cli/{seed-B-YNTxgm.js → seed-C7eiVpBy.js} +2 -2
- package/dist/cli/seed-Ki7TgmY1.js +1 -0
- package/dist/cli/{shared-BnQS0aaB.js → shared-d7o6xxEZ.js} +1 -1
- package/dist/cli/{snapshot-CcduGETT.js → snapshot-BmBrjk2b.js} +3 -3
- package/dist/cli/{source-D5-MimKN.js → source-CEPki4I3.js} +1 -1
- package/dist/cli/{source-args-jRFa0bN2.js → source-args-Deg53QHe.js} +1 -1
- package/dist/cli/{spec-Bhcub30h.js → spec-36lt_pPC.js} +1 -1
- package/dist/cli/{spec-CabrFVxG.js → spec-BKCoD-Ct.js} +2 -2
- package/dist/cli/{sql-layout-BNeDrYab.js → sql-layout-BevHhOrq.js} +2 -2
- package/dist/cli/{sync-CMnEdcF7.js → sync-x1M-Ywqf.js} +4 -4
- package/dist/cli/{upgrade-DWNNxAoj.js → upgrade-BUDxM1EG.js} +5 -5
- package/dist/cli/{upgrade-CQiB_nLU.js → upgrade-Dqze3aEB.js} +2 -2
- package/dist/cli/{version-PZu75_DM.js → version-CvNMxnwv.js} +1 -1
- package/dist/client/index.d.ts +5 -5
- package/dist/client/native/index.d.ts +4 -4
- package/dist/{codecs-hCAYRsL2.js → codecs-jdyv13IU.js} +2 -2
- package/dist/commerce/index.js +3 -3
- package/dist/commissions-values-BrfR5JCS.js +17 -0
- package/dist/config/index.d.ts +4 -4
- package/dist/config/index.js +4 -4
- package/dist/{config-loQV70qq.js → config-DYtSlwsi.js} +3 -3
- package/dist/{config-ClmKXrmI.js → config-gJ9FX0jc.js} +47 -4
- package/dist/{context-oS96_5av.d.ts → context-BlLvUNCj.d.ts} +62 -6
- package/dist/contract/index.d.ts +3 -3
- package/dist/{controller-BES51lfW.d.ts → controller-DfgxFNFx.d.ts} +1 -1
- package/dist/{controller-8a5AvYC-.js → controller-IWNfCm-Y.js} +1 -1
- package/dist/{conversion-DK-9E21e.d.ts → conversion-BzVxeYqk.d.ts} +1 -1
- package/dist/{copy-CPMVxt7Y.js → copy-D0kQ1zJy.js} +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 +2 -2
- package/dist/{deal-forecast-CRj39Mqw.js → deal-forecast-CgzuxYtf.js} +1 -1
- package/dist/{define-block-B00AycyT.d.ts → define-block-DiW9g10_.d.ts} +7 -1
- package/dist/{define-block-CCnA8LbO.js → define-block-DyZiZQrx.js} +1 -0
- package/dist/{drive-BRl5srH7.d.ts → drive-CvgLTJA9.d.ts} +1 -1
- package/dist/e-invoicing/index.d.ts +1 -1
- package/dist/e-invoicing/index.js +1 -1
- package/dist/{entitlements-Def4tw1y.d.ts → entitlements-5nbdIitJ.d.ts} +1 -1
- package/dist/{extract-6-eperTu.d.ts → extract-DpiLKlbp.d.ts} +1 -1
- package/dist/{field-errors-_5ma7dOu.d.ts → field-errors-BCX7RCEc.d.ts} +5 -5
- package/dist/{manifest-CReD46Ml.d.ts → index-1001GtVL.d.ts} +114 -2
- package/dist/{index-CJDZP8D_.d.ts → index-7UV0pNYj.d.ts} +2 -2
- package/dist/{index-llgHOU63.d.ts → index-B1NcZsVD.d.ts} +8 -8
- package/dist/{index-CLfgO2tI.d.ts → index-B2C1NczA.d.ts} +4 -4
- package/dist/{index-DQcBzMPc.d.ts → index-B8Mjb-KA.d.ts} +1 -1
- package/dist/{index-DcMBM8KN.d.ts → index-BB5n8R_s.d.ts} +1 -1
- package/dist/{index-D3z1ulT9.d.ts → index-BGgGwWcn.d.ts} +1 -1
- package/dist/{index-DDsGsDpo.d.ts → index-BK8zPigx.d.ts} +1 -1
- package/dist/{index-DlHpkeH6.d.ts → index-BLL45v55.d.ts} +1 -1
- package/dist/{index-CoTCj9tb.d.ts → index-BMYIwvDA.d.ts} +1 -1
- package/dist/{index-DgtoDNfn.d.ts → index-BNBFiyOR.d.ts} +1 -1
- package/dist/{index-BS8EG1sv.d.ts → index-BW0aDURc.d.ts} +1 -1
- package/dist/{index-OrSSX49l.d.ts → index-BZ1Akcrg.d.ts} +1 -1
- package/dist/{index-DZ7AyHGe.d.ts → index-Bdg6ee4m.d.ts} +1 -1
- package/dist/{index-4XXy4RAc.d.ts → index-Bn5v6soX.d.ts} +1 -1
- package/dist/{index-ByfxpFB2.d.ts → index-BolFrOMw.d.ts} +2 -2
- package/dist/{index-BRDlC3VX.d.ts → index-Bopuqb8z.d.ts} +3 -3
- package/dist/{index-CdzulKV8.d.ts → index-CFT7e_HH.d.ts} +2 -2
- package/dist/{index-9lj_xmJ3.d.ts → index-CRSNN2v9.d.ts} +8 -8
- package/dist/{index-D8AUz50D.d.ts → index-CakXRuAZ.d.ts} +2 -2
- package/dist/{index-B79YuD2v.d.ts → index-CdtD8fqI.d.ts} +31 -4
- package/dist/{index-CIjwxSMw.d.ts → index-CurH6bgW.d.ts} +2 -2
- package/dist/{index-DnUv0ft8.d.ts → index-D25Ry5R9.d.ts} +1 -1
- package/dist/{index-U2HTpZhD.d.ts → index-D48wVmDj.d.ts} +1 -1
- package/dist/{index-a4XujbCp.d.ts → index-D5LnplxJ.d.ts} +4 -4
- package/dist/{index-trDWOpUD.d.ts → index-DHwPGqLY.d.ts} +2 -2
- package/dist/{index-B3X8Yz54.d.ts → index-DMlTXcWp.d.ts} +2 -2
- package/dist/{index-BzP3aXZD.d.ts → index-DZTavebO.d.ts} +1 -1
- package/dist/{index-BclA8VxQ.d.ts → index-DkWXofPH.d.ts} +1 -1
- package/dist/{index-BA_vuNkT.d.ts → index-DplKvjCs.d.ts} +1 -1
- package/dist/{index-B0sgM96O.d.ts → index-DxmiTJJ5.d.ts} +2 -2
- package/dist/{index-BFrhLaf5.d.ts → index-IKK8zWTN.d.ts} +2 -2
- package/dist/{index-Ddi2Xhg8.d.ts → index-S6axmDQL.d.ts} +2 -2
- package/dist/{index-CIJgMT3P.d.ts → index-ZI4sMVPT.d.ts} +2 -2
- package/dist/{index-C_3tUs3G.d.ts → index-iaMOudmP.d.ts} +1 -1
- package/dist/{index-BB3U1ds5.d.ts → index-kidoYhB8.d.ts} +1 -1
- package/dist/index.js +1 -1
- package/dist/{instances-ceZ-orgq.js → instances-ukDFg8oN.js} +342 -23
- package/dist/{invoices-BmVemfWS.d.ts → invoices-C-Fh07qA.d.ts} +1 -1
- package/dist/{manifest-BXSsp-Cl.d.ts → manifest--M7GmEPg.d.ts} +1 -1
- package/dist/{manifest-C_S0cz7X.js → manifest--eIzr9Tj.js} +2 -1
- package/dist/{manifest-DJllrEQG.js → manifest--qnXa2lK.js} +2 -1
- package/dist/{manifest-Dwe06yil.js → manifest-0PDfKdtc.js} +3 -2
- package/dist/{manifest-BhnrsEa1.d.ts → manifest-0vrTq9Uf.d.ts} +1 -1
- package/dist/{manifest-DP5NczoE.js → manifest-1Xiu6zqs.js} +3 -2
- package/dist/{manifest-ByyHf3rr.d.ts → manifest-1lzhOO0z.d.ts} +1 -1
- package/dist/{manifest-BOGvvspH.js → manifest-6MuVEQnP.js} +8 -4
- package/dist/{manifest-DG7YDnDd.js → manifest-A_VPz6fq.js} +3 -2
- package/dist/{manifest-DV8KMolR.js → manifest-B3QwQDTx.js} +2 -1
- package/dist/{manifest-Cf9QTxjI.js → manifest-B4CVN-Kx.js} +3 -2
- package/dist/{manifest-DhYoxy6k.js → manifest-B709eXLx.js} +2 -1
- package/dist/{manifest-BQmucr5m.d.ts → manifest-B7MpuCmz.d.ts} +1 -1
- package/dist/{manifest-Bbu-ubW6.d.ts → manifest-B83YpMlz.d.ts} +1 -1
- package/dist/{manifest-CqJjxStv.d.ts → manifest-B9KmOzmT.d.ts} +1 -1
- package/dist/{manifest-C4UBDE_L.js → manifest-BAgqRR7p.js} +2 -1
- package/dist/{manifest-bDyJmTlO.js → manifest-BDGVge5o.js} +3 -2
- package/dist/{manifest-wUaP6BQ7.js → manifest-BEZ8HltH.js} +2 -1
- package/dist/{manifest-DaeYdl46.js → manifest-BFJvys4-.js} +4 -3
- package/dist/{manifest-DS1kvnEv.d.ts → manifest-BHNrIQ8X.d.ts} +1 -1
- package/dist/{manifest-BC9t0sdd.js → manifest-BHhBqtFw.js} +2 -1
- package/dist/{manifest-Cq2DUdkJ.js → manifest-BKD8DbQT.js} +6 -5
- package/dist/{manifest-BID85FTD.d.ts → manifest-BKDSuS3x.d.ts} +2 -2
- package/dist/{manifest-DUQxpNRM.d.ts → manifest-BKegpJgn.d.ts} +1 -1
- package/dist/{manifest-DSj2RpBr.js → manifest-BQJV63RV.js} +2 -1
- package/dist/{manifest-K4gZCLhk.js → manifest-BQwqV6dQ.js} +3 -1
- package/dist/{manifest-Cnh_IP2z.js → manifest-BR_uGpTd.js} +2 -1
- package/dist/{manifest-DOyy6Xsw.d.ts → manifest-BRd1q660.d.ts} +1 -1
- package/dist/{manifest-Bno8pGBC.js → manifest-BSQh5dw2.js} +2 -1
- package/dist/{manifest-i7N-wK8c.d.ts → manifest-BTC6dWdq.d.ts} +1 -1
- package/dist/{manifest-BLIdN5a_.js → manifest-BW7wdKXA.js} +5 -4
- package/dist/{manifest-CgvFWT2u.js → manifest-BXNDl7bx.js} +2 -1
- package/dist/{manifest-kMa4r3fv.js → manifest-BZP0wKpE.js} +4 -3
- package/dist/{manifest-DuQWeue6.js → manifest-B_3_99xa.js} +3 -2
- package/dist/{manifest-BnxuDY97.d.ts → manifest-Bbtt8mb1.d.ts} +1 -1
- package/dist/{manifest-CZGGddOA.d.ts → manifest-BcdRITPc.d.ts} +1 -1
- package/dist/{manifest-CddtUQsB.js → manifest-BdmDmQtx.js} +2 -1
- package/dist/{manifest-CklVzHZN.d.ts → manifest-BfAXsd-X.d.ts} +1 -1
- package/dist/{manifest-DumCddiN.js → manifest-BfOHwSNK.js} +7 -6
- package/dist/{manifest-BxyGSQDf.js → manifest-BgMjraZw.js} +2 -1
- package/dist/{manifest-Du41K-0_.d.ts → manifest-BhBqFYV4.d.ts} +1 -1
- package/dist/{manifest-Bg5gjjDP.d.ts → manifest-BkS073Py.d.ts} +1 -1
- package/dist/{manifest-X_aLkNvq.js → manifest-BoSzgLUl.js} +4 -3
- package/dist/{manifest-CfBqObZ5.js → manifest-Bpzxyvxc.js} +4 -3
- package/dist/{manifest-D1YoxzeP.js → manifest-Bx_0qkBP.js} +3 -2
- package/dist/{manifest-BZ5IAL8q.d.ts → manifest-Bz3xNPJL.d.ts} +6 -1
- package/dist/{manifest-CFPH94A1.d.ts → manifest-C-_0WkGx.d.ts} +1 -1
- package/dist/{manifest-ConxGWQ-.d.ts → manifest-C0f5YJ7x.d.ts} +1 -1
- package/dist/{manifest-B4PaYDC2.d.ts → manifest-C3RDEoAr.d.ts} +2 -2
- package/dist/{manifest-DR6N0LUt.d.ts → manifest-C3VB7-hM.d.ts} +1 -1
- package/dist/{manifest-DJz-jKBy.js → manifest-C8Boo7Ps.js} +4 -3
- package/dist/{manifest-W1SbwKSj.js → manifest-C95-cClh.js} +2 -1
- package/dist/{manifest-C-sGHHvr.d.ts → manifest-CCXaDWdN.d.ts} +1 -1
- package/dist/{manifest-C6j7vH4c.d.ts → manifest-CHsjS47_.d.ts} +1 -1
- package/dist/{manifest-D67fd79e.d.ts → manifest-CIJTIKo3.d.ts} +1 -1
- package/dist/{manifest-BbsL9igY.d.ts → manifest-CJByGKJ_.d.ts} +1 -1
- package/dist/{manifest-DbnCNIbZ.d.ts → manifest-CJb0PtMj.d.ts} +1 -1
- package/dist/{manifest-CfcytxHT.d.ts → manifest-CKxnGCVY.d.ts} +1 -1
- package/dist/{manifest-Gj3MS6k9.d.ts → manifest-CLphqjtj.d.ts} +1 -1
- package/dist/{manifest-DVwB6GGL.js → manifest-COZUTRxz.js} +3 -2
- package/dist/{manifest-B2Pp7SEu.js → manifest-CPYEEX6u.js} +2 -1
- package/dist/{manifest-DD7MK9BW.d.ts → manifest-CQFlAwfU.d.ts} +2 -2
- package/dist/{manifest-Ceokse8n.d.ts → manifest-CR-6QDLZ.d.ts} +1 -1
- package/dist/{manifest-vNLet6F5.js → manifest-CRXxYu5L.js} +2 -1
- package/dist/{manifest-Q4aEEHjj.js → manifest-CWaCXYgf.js} +3 -2
- package/dist/{manifest-Bpzb2m6F.js → manifest-CX8DVTzn.js} +4 -3
- package/dist/{manifest-155HuVi4.js → manifest-CYNC6a1d.js} +2 -1
- package/dist/{manifest-B5LbGYS4.js → manifest-C_hIU5kk.js} +3 -2
- package/dist/{manifest-D4MO5Cw0.js → manifest-CbxMRPGY.js} +2 -1
- package/dist/{manifest-CxhnJ0HS.js → manifest-Cfvr-BhF.js} +2 -1
- package/dist/manifest-Cj5IjsCB.js +16 -0
- package/dist/{manifest-DaArvOLq.js → manifest-Cj_ZnW6k.js} +2 -1
- package/dist/{manifest-D6iuF7tg.js → manifest-CkYNs6PX.js} +3 -2
- package/dist/{manifest-DIc0gnqc.js → manifest-ClbUuESE.js} +3 -2
- package/dist/{manifest-CuIl6RP_.js → manifest-CtOwRTvP.js} +2 -1
- package/dist/{manifest-Cxp20EUq.js → manifest-Cu_4X5Rm.js} +2 -1
- package/dist/{manifest-Do5KE-U_.d.ts → manifest-Cxz4_mWy.d.ts} +7 -1
- package/dist/{manifest-Xb13Wzgf.js → manifest-Czv_oJ77.js} +4 -2
- package/dist/{manifest-DRwJ4vk4.d.ts → manifest-D2qeEjrC.d.ts} +1 -1
- package/dist/{manifest-BDJIiEya.d.ts → manifest-D3HTgmR3.d.ts} +1 -1
- package/dist/{manifest-Zznk8MMo.d.ts → manifest-D7R4sM8L.d.ts} +1 -1
- package/dist/{manifest-D3YlwpBi.d.ts → manifest-D7slgR5H.d.ts} +1 -1
- package/dist/{manifest-B0nH6lH0.d.ts → manifest-D7y9_k5i.d.ts} +1 -1
- package/dist/{manifest-z3KH7lcy.d.ts → manifest-D7yeYU0f.d.ts} +1 -1
- package/dist/{manifest-C8QX2UDq.js → manifest-D84UV5p6.js} +5 -8
- package/dist/{manifest-CBBM0qqj.js → manifest-D8JpSvuE.js} +4 -3
- package/dist/{manifest-CJXhUvZ1.d.ts → manifest-DBJ5nBG9.d.ts} +1 -1
- package/dist/{manifest-ChSYx5eW.js → manifest-DBsPHetA.js} +5 -3
- package/dist/{manifest-CGVCmsBO.js → manifest-DCC3phPq.js} +2 -1
- package/dist/{manifest-CRbgI4Qg.d.ts → manifest-DDkncgRB.d.ts} +1 -1
- package/dist/{manifest-DSr5imkP.js → manifest-DHYr9yD1.js} +3 -2
- package/dist/{manifest-BuHnJDCN.js → manifest-DHt1h5GN.js} +3 -2
- package/dist/{manifest-CHwfjKUw.d.ts → manifest-DI_Vz152.d.ts} +1 -1
- package/dist/{manifest-D6UCPVG4.js → manifest-DJ5nCW5K.js} +2 -1
- package/dist/{manifest-CMRaUAXu.js → manifest-DJRHzb6v.js} +7 -2
- package/dist/{manifest-BYrW9Uem.js → manifest-DKY9HGin.js} +2 -1
- package/dist/{manifest-nSgX7nL1.d.ts → manifest-DLv_WaSF.d.ts} +1 -1
- package/dist/{manifest-DBdpyUu_.js → manifest-DM2T_dN2.js} +5 -4
- package/dist/{manifest-CNEDhbqI.js → manifest-DNaSpmZ3.js} +3 -2
- package/dist/{manifest-BMcbaFBU.d.ts → manifest-DPFn2x18.d.ts} +1 -1
- package/dist/{manifest-DEl9UiYb.js → manifest-DS2PjAgW.js} +2 -1
- package/dist/{manifest-BfTf2V6E.js → manifest-DVnOUxy4.js} +4 -3
- package/dist/{manifest-Dexf6I0e.js → manifest-DW2_P6AT.js} +4 -3
- package/dist/{manifest-C7dc_j0u.d.ts → manifest-D_iJU__f.d.ts} +1 -1
- package/dist/{manifest-CyAlixZk.d.ts → manifest-Dagm1cVO.d.ts} +1 -1
- package/dist/{manifest-BP5R93We.d.ts → manifest-Db-GUsLH.d.ts} +1 -1
- package/dist/{manifest-CA2p9Zga.js → manifest-DbjDYuCE.js} +3 -2
- package/dist/{manifest-B0C85KCk.d.ts → manifest-Dbq6t-bI.d.ts} +1 -1
- package/dist/{manifest-D1Yyn2dQ.d.ts → manifest-DdFl3BYM.d.ts} +1 -1
- package/dist/{manifest-DYEKxUXY.js → manifest-DeCjklgV.js} +2 -1
- package/dist/{manifest-Bj1dFsWc.js → manifest-DemyeI_z.js} +2 -1
- package/dist/{manifest-DRU-64iu.d.ts → manifest-Di0UrbTw.d.ts} +1 -1
- package/dist/{manifest-DIGjwpba.d.ts → manifest-Dj9AIgTy.d.ts} +1 -1
- package/dist/{manifest-Dfpxslwm.d.ts → manifest-DjVqN_iK.d.ts} +1 -1
- package/dist/{manifest-CLekLziu.js → manifest-Dm_5DTyx.js} +2 -1
- package/dist/{manifest-BhxbjEKX.js → manifest-DnZw4JWP.js} +4 -3
- package/dist/{manifest-B9BrBGxf.js → manifest-DpwaOTir.js} +3 -2
- package/dist/{manifest-DzjzA7JV.js → manifest-Dqgqm1Zo.js} +2 -1
- package/dist/{manifest-BIuELzCj.js → manifest-DqwQmPZb.js} +2 -1
- package/dist/{manifest-CfcTrYyH.js → manifest-DsYIWD--.js} +2 -1
- package/dist/{manifest-BoSqQtc_.d.ts → manifest-DwVl4YC4.d.ts} +1 -1
- package/dist/{manifest-CsjUuK3b.d.ts → manifest-Dz2IkqqY.d.ts} +1 -1
- package/dist/{manifest-DKICxHyD.js → manifest-FAVN8Bg9.js} +2 -1
- package/dist/{manifest-UclKhPQb.js → manifest-FJi1pYoB.js} +10 -9
- package/dist/{manifest-Cj2S4RR-.js → manifest-FkY_rpfH.js} +6 -5
- package/dist/{manifest-BbH87MG5.js → manifest-Hx3FBHKX.js} +2 -1
- package/dist/{manifest-CRJXdgOx.js → manifest-ITF-BpEi.js} +2 -1
- package/dist/{manifest-C_epqyiP.js → manifest-J6kJX8YL.js} +2 -1
- package/dist/{manifest-C5ItHs20.js → manifest-JvgqqKRq.js} +3 -2
- package/dist/{manifest-CuLahaTy.d.ts → manifest-K_42e50M.d.ts} +1 -1
- package/dist/{manifest-BVy_iYaK.d.ts → manifest-OS0pwPRn.d.ts} +1 -1
- package/dist/{manifest-h-rpCQ8y.d.ts → manifest-UbBXSkXn.d.ts} +1 -1
- package/dist/{manifest-BSlz5VjY.js → manifest-_qzN4kUG.js} +2 -1
- package/dist/{manifest-BgMzFL4H.js → manifest-cqfeLW8g.js} +2 -1
- package/dist/{manifest-CCLJTMsY.js → manifest-gCNbUW-X.js} +3 -2
- package/dist/{manifest-Ci26ea5h.d.ts → manifest-gGOpzRmJ.d.ts} +1 -1
- package/dist/{manifest-DuQVJ36p.d.ts → manifest-mu_UflgB.d.ts} +1 -1
- package/dist/{manifest-BTjTE68V.d.ts → manifest-n9XQtQXA.d.ts} +1 -1
- package/dist/{manifest-CIgakSwf.js → manifest-o-EzlFwZ.js} +2 -1
- package/dist/{manifest-1vQFNg_j.d.ts → manifest-ppItbSA5.d.ts} +1 -1
- package/dist/{manifest-DurhFGmh.js → manifest-qb_YXiWK.js} +3 -2
- package/dist/{manifest-CcMQg8U2.d.ts → manifest-roKO06Ko.d.ts} +1 -1
- package/dist/{manifest-6X7L3UX7.js → manifest-xD290bNh.js} +2 -1
- package/dist/{manifest-CJJEgRi-.d.ts → manifest-yPcrAK5N.d.ts} +1 -1
- package/dist/{manifest-DugL8A5q.d.ts → manifest-ycsWja2O.d.ts} +1 -1
- package/dist/mapper/bin.js +6 -6
- package/dist/mcp/index.d.ts +1 -1
- package/dist/{money-codec-DNhD4iy-.js → money-codec-CvUy3_Ep.js} +1 -1
- package/dist/{money-DH--bbYr.js → money-hWAOR9jq.js} +5 -7
- package/dist/next/index.d.ts +7 -7
- package/dist/next/index.js +4 -4
- package/dist/{operations-wexZqk3S.d.ts → operations-Di203azT.d.ts} +1 -1
- package/dist/{options-Dp1VR9Jk.js → options-C3FFnaE-.js} +2 -1
- package/dist/otel/index.js +4 -4
- package/dist/{payments-D7GPsu-r.js → payments-D89SVEgj.js} +1 -1
- package/dist/{payroll-export-Dxl1-7NV.js → payroll-export-BJNe4-XZ.js} +1 -1
- package/dist/{permissions-hc26hFC7.d.ts → permissions-C7GgjgTA.d.ts} +1 -1
- package/dist/{permissions-controller-BYGsjLdD.js → permissions-controller-YLyW9i7T.js} +1 -1
- package/dist/{permissions-model-Dk-gaZiy.js → permissions-model-COgjsFbE.js} +27 -19
- package/dist/{ports-DxX6NGHt.d.ts → ports-6EMtxwGE.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-DZBi6G6G.js → preset-Be8m6-PH.js} +239 -68
- package/dist/{preview-Cnx-eBFM.d.ts → preview-Dlc_7tMK.d.ts} +2 -2
- package/dist/{project-yulopQiw.js → project-C71Z2pg2.js} +7 -7
- package/dist/{push-token-Da8q6hZJ.d.ts → push-token-CQnqTZrb.d.ts} +1 -1
- package/dist/query/index.d.ts +1 -1
- package/dist/query/index.js +1 -1
- 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-CWCEsvZt.js → react-CsgcTKRk.js} +2 -2
- package/dist/realtime/index.d.ts +3 -3
- package/dist/{record-form-bXNjpTar.d.ts → record-form-DqGcUu0C.d.ts} +1 -1
- package/dist/{record-type-DvIobORB.js → record-type-SZywJ0Rp.js} +1 -1
- package/dist/{recordings-B-eiiYGA.d.ts → recordings-CiYHdFPa.d.ts} +3 -2
- package/dist/records/index.d.ts +7 -7
- package/dist/records/index.js +4 -4
- package/dist/referrals-values-EXlMZA7X.js +12 -0
- package/dist/{renames-BBwigNjY.js → renames-PnqMkqit.js} +32 -1
- package/dist/{sales-BG4bqW2M.js → sales-C8o3E5U3.js} +9 -8
- package/dist/{sales-lines-Bd8g7q9G.js → sales-lines-COFwijz1.js} +1 -1
- package/dist/scaled-CyfvEWZ6.js +18 -0
- package/dist/server/index.d.ts +3 -3
- package/dist/solid/index.d.ts +5 -5
- package/dist/sql/index.d.ts +6 -6
- package/dist/sql/index.js +4 -4
- package/dist/{sql-CwBIyfvf.js → sql-DPDvUadH.js} +5697 -1332
- package/dist/ssr/index.d.ts +1 -1
- package/dist/svelte/index.d.ts +5 -5
- package/dist/{tax-l1cp5Rg8.js → tax-D_M90sFh.js} +1 -1
- package/dist/{tax-sql-CdSPknff.js → tax-sql-B9CeB0jG.js} +1 -1
- package/dist/{tenant-Dd8cwx17.d.ts → tenant-DHLx2ZkL.d.ts} +1 -1
- package/dist/testing/index.d.ts +8 -8
- package/dist/testing/index.js +3 -3
- package/dist/{timeline-B2rcgQTF.d.ts → timeline-9mP3m30L.d.ts} +2 -2
- package/dist/{topic-DybM_LFL.d.ts → topic-BKsRT4gu.d.ts} +1 -1
- package/dist/{types-CWMsjQl4.d.ts → types-Dp1r6bih.d.ts} +2 -2
- package/dist/vue/index.d.ts +5 -5
- package/dist/{watch-topic-x9vTgTzq.d.ts → watch-topic-M1yL9NiW.d.ts} +1 -1
- package/dist/webmcp/index.d.ts +1 -1
- package/dist/workflow-sdk/world/index.js +1 -1
- package/dist/{workflow-sdk-BJlx0ANA.js → workflow-sdk-CcoFSLFn.js} +1 -1
- package/dist/yjs/index.d.ts +1 -1
- package/package.json +9 -1
- package/schemas/config-v1.json +60 -0
- package/schemas/design-v1.json +15 -0
- package/schemas/doctor-report-v1.json +5 -0
- package/skills/better-supabase/references/e-invoicing-and-audit-files.md +3 -3
- package/dist/cli/add-C89zg0l9.js +0 -1
- package/dist/cli/powersync-CiHEx435.js +0 -1
- package/dist/cli/seed-CYX1MRFK.js +0 -1
- package/dist/index-B8TJqIoS.d.ts +0 -117
- package/dist/manifest-DxhdqsLf.js +0 -15
|
@@ -4,7 +4,7 @@ import { a as ok, r as err, t as AsyncResult } from "./result-DrBaeIVt.js";
|
|
|
4
4
|
import { t as profilesSqlOptions } from "./options-BxdqA2Ex.js";
|
|
5
5
|
import { T as optionalText, n as applyTemporal, o as blockCall } from "./block-helpers-CCl3V9ku.js";
|
|
6
6
|
import { r as withBlockHooks } from "./block-hooks-C2_d17_b.js";
|
|
7
|
-
import { n as defineBlock } from "./define-block-
|
|
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/profiles/profiles.ts
|
|
10
10
|
/**
|
|
@@ -49,6 +49,7 @@ const profilesBlock = defineBlock({
|
|
|
49
49
|
options: { profiles: profilesSqlOptions },
|
|
50
50
|
create: createProfiles,
|
|
51
51
|
category: "tenancy",
|
|
52
|
+
description: "A profile per user, created on sign-up from auth metadata with a unique username, an email mirror, column-level update grants and a guard on columns the service owns.",
|
|
52
53
|
recipes: ["profile-form"]
|
|
53
54
|
});
|
|
54
55
|
export { createProfiles as n, profilesBlock as t };
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { a as ok, r as err, t as AsyncResult } from "./result-DrBaeIVt.js";
|
|
2
|
-
import { ct as payrollExportSqlOptions, i as PAYROLL_RUN_STATUSES, n as PAYROLL_LINE_KINDS, r as PAYROLL_LINE_UNITS } from "./payroll-export-
|
|
2
|
+
import { ct as payrollExportSqlOptions, i as PAYROLL_RUN_STATUSES, n as PAYROLL_LINE_KINDS, r as PAYROLL_LINE_UNITS } from "./payroll-export-BJNe4-XZ.js";
|
|
3
3
|
import { n as event, t as defineEvents } from "./event-map-DxfsFgQT.js";
|
|
4
4
|
import { B as textOf, C as optionalInstant, D as plainDateOf, N as recordsOf, O as portOf, P as requiredInstant, T as optionalText, d as enumOrThrow, j as recordOf, n as applyTemporal, o as blockCall } from "./block-helpers-CCl3V9ku.js";
|
|
5
5
|
import { r as withBlockHooks } from "./block-hooks-C2_d17_b.js";
|
|
6
6
|
import { n as entitySchema } from "./entity-schema-DEIz0I8i.js";
|
|
7
7
|
import { t as sha256Hex } from "./sha256-DodJVpxz.js";
|
|
8
|
-
import { n as defineBlock } from "./define-block-
|
|
8
|
+
import { n as defineBlock } from "./define-block-DyZiZQrx.js";
|
|
9
9
|
import { t as requireTenant } from "./block-tenant-DHvDBWgF.js";
|
|
10
10
|
// src/blocks/payroll-export/events.ts
|
|
11
11
|
/**
|
|
@@ -199,6 +199,7 @@ const payrollExportBlock = defineBlock({
|
|
|
199
199
|
schemas: { payroll_run: { input: payrollRunInputSchema } },
|
|
200
200
|
create: createPayrollExport,
|
|
201
201
|
recipes: ["payroll-runs"],
|
|
202
|
-
category: "people"
|
|
202
|
+
category: "people",
|
|
203
|
+
description: "Payroll runs that collect the hours worked, the approved leave and optionally the scheduled shifts of a period into lines per person, locked by an export through a versioned PayrollExportFormat port."
|
|
203
204
|
});
|
|
204
205
|
export { payrollFormatOf as a, csvPayrollFormat as i, payrollRunInputSchema as n, payrollExportEvents as o, createPayrollExport as r, payrollExportBlock as t };
|
|
@@ -9,10 +9,10 @@ import { B as textOf, C as optionalInstant, N as recordsOf, P as requiredInstant
|
|
|
9
9
|
import { r as withBlockHooks } from "./block-hooks-C2_d17_b.js";
|
|
10
10
|
import { n as entitySchema } from "./entity-schema-DEIz0I8i.js";
|
|
11
11
|
import { t as defineRecordBinding } from "./record-bindings-jTZw-GVe.js";
|
|
12
|
-
import { n as defineBlock } from "./define-block-
|
|
12
|
+
import { n as defineBlock } from "./define-block-DyZiZQrx.js";
|
|
13
13
|
import { n as blockFields } from "./block-fields-B6_zYPTF.js";
|
|
14
14
|
import { n as narrowClients, t as defineConversionAction } from "./conversion-CaMNmjCT.js";
|
|
15
|
-
import { o as optionalMoneyOf, t as amountText } from "./money-codec-
|
|
15
|
+
import { o as optionalMoneyOf, t as amountText } from "./money-codec-CvUy3_Ep.js";
|
|
16
16
|
import { t as strictChanges } from "./strict-changes-CfF7udqO.js";
|
|
17
17
|
import { t as expandRule } from "./recurrence-dskDvlcP.js";
|
|
18
18
|
// src/blocks/tasks/schemas.ts
|
|
@@ -680,6 +680,7 @@ const tasksBlock = defineBlock({
|
|
|
680
680
|
create: createTasks,
|
|
681
681
|
record: taskChecklistBinding,
|
|
682
682
|
category: "work",
|
|
683
|
+
description: "Issues and tasks on pipelines: identifiers, parents without cycles, several assignees, priority 0 to 4, estimates, start, end and due dates, locking, projects, iterations, batched edits and a progress tree.",
|
|
683
684
|
recipes: [
|
|
684
685
|
"work-item-board",
|
|
685
686
|
"work-item-grid",
|
|
@@ -4,7 +4,7 @@ import { B as textOf, N as recordsOf, P as requiredInstant, T as optionalText, j
|
|
|
4
4
|
import { r as withBlockHooks } from "./block-hooks-C2_d17_b.js";
|
|
5
5
|
import { n as entitySchema } from "./entity-schema-DEIz0I8i.js";
|
|
6
6
|
import { t as defineRecordBinding } from "./record-bindings-jTZw-GVe.js";
|
|
7
|
-
import { n as defineBlock } from "./define-block-
|
|
7
|
+
import { n as defineBlock } from "./define-block-DyZiZQrx.js";
|
|
8
8
|
import { r as subjectKey, t as bySubjectType } from "./block-subjects-ok-uZ1UU.js";
|
|
9
9
|
import { t as requireTenant } from "./block-tenant-DHvDBWgF.js";
|
|
10
10
|
// src/blocks/reactions/events.ts
|
|
@@ -147,6 +147,7 @@ const reactionsBlock = defineBlock({
|
|
|
147
147
|
create: createReactions,
|
|
148
148
|
client: "reactions",
|
|
149
149
|
category: "collaboration",
|
|
150
|
+
description: "Emoji reactions and up or down votes on any subject and on messages, with per-tenant custom emoji, counts and a vote score per subject under the subject's own read rules and a realtime topic per tenant.",
|
|
150
151
|
recipes: ["reactions-bar"]
|
|
151
152
|
});
|
|
152
153
|
export { reactionsEvents as i, createReactions as n, reactionsTopic as r, reactionsBlock as t };
|
|
@@ -2,7 +2,7 @@ import { n as isRecord } from "./guards-CsRa6v57.js";
|
|
|
2
2
|
import { t as goalsSqlOptions } from "./options-BNRvoEkj.js";
|
|
3
3
|
import { B as textOf, N as recordsOf, T as optionalText, a as bigintOf, j as recordOf, n as applyTemporal, o as blockCall, w as optionalPlainDateOf } from "./block-helpers-CCl3V9ku.js";
|
|
4
4
|
import { r as withBlockHooks } from "./block-hooks-C2_d17_b.js";
|
|
5
|
-
import { n as defineBlock } from "./define-block-
|
|
5
|
+
import { n as defineBlock } from "./define-block-DyZiZQrx.js";
|
|
6
6
|
import { n as blockFields } from "./block-fields-B6_zYPTF.js";
|
|
7
7
|
import { n as compact, t as attrsArg } from "./sales-shared-DGSptcqA.js";
|
|
8
8
|
// src/blocks/goals/goals.ts
|
|
@@ -65,6 +65,7 @@ const goalsBlock = defineBlock({
|
|
|
65
65
|
options: { goals: goalsSqlOptions },
|
|
66
66
|
create: createGoals,
|
|
67
67
|
category: "crm",
|
|
68
|
+
description: "Goals per period for a member, a team or the organization, with progress the database computes for won deals, completed work items and paid invoices, or a value the app keeps.",
|
|
68
69
|
recipes: ["targets-progress"]
|
|
69
70
|
});
|
|
70
71
|
export { createGoals as n, goalsBlock as t };
|
|
@@ -5,7 +5,7 @@ import { t as apiKeysSqlOptions } from "./options-PM7IaIFP.js";
|
|
|
5
5
|
import { n as event, t as defineEvents } from "./event-map-DxfsFgQT.js";
|
|
6
6
|
import { B as textOf, C as optionalInstant, L as sha256Hex, N as recordsOf, T as optionalText, j as recordOf, m as instantArg, n as applyTemporal, o as blockCall, z as stringsOf } from "./block-helpers-CCl3V9ku.js";
|
|
7
7
|
import { r as withBlockHooks } from "./block-hooks-C2_d17_b.js";
|
|
8
|
-
import { n as defineBlock } from "./define-block-
|
|
8
|
+
import { n as defineBlock } from "./define-block-DyZiZQrx.js";
|
|
9
9
|
import { c as withFields, n as blockFields, r as extraFieldsArg, t as allWithFields } from "./block-fields-B6_zYPTF.js";
|
|
10
10
|
// src/blocks/api-keys/api-keys.ts
|
|
11
11
|
const TOKEN = /^([a-z][a-z0-9]*)_([0-9a-f]{16})_([A-Za-z0-9_-]{32,})$/;
|
|
@@ -333,6 +333,7 @@ const apiKeysBlock = defineBlock({
|
|
|
333
333
|
events: apiKeysEvents,
|
|
334
334
|
create: createApiKeys,
|
|
335
335
|
category: "developer",
|
|
336
|
+
description: "Hashed API keys for tenants and users with scopes, expiry, rotation with a grace period, a per-key rate limit and throttled last-used tracking. verify_api_key() backs apiKeyResolver; has_scope() and api_key_tenant() go in policies.",
|
|
336
337
|
recipes: ["api-keys-table"]
|
|
337
338
|
});
|
|
338
339
|
export { apiKeyResolver as a, apiKeyClaims as i, apiKeysEvents as n, createApiKeys as o, apiKeyChecksum as r, parseApiKey as s, apiKeysBlock as t };
|
|
@@ -6,7 +6,7 @@ import { n as Logger } from "./logger-0LfhvwE4.js";
|
|
|
6
6
|
import { r as BlockTemporalOptions, s as BlockTenantOptions } from "./block-helpers-gyK33E0Z.js";
|
|
7
7
|
import { t as BlockTransport } from "./block-transport-BO7p8KHh.js";
|
|
8
8
|
import { n as BlockHooks } from "./block-hooks-DOK9DyaZ.js";
|
|
9
|
-
import { E as RecordBinding, c as BlockOf } from "./define-block-
|
|
9
|
+
import { E as RecordBinding, c as BlockOf } from "./define-block-DiW9g10_.js";
|
|
10
10
|
import { n as Money } from "./money-BgpAd7d3.js";
|
|
11
11
|
interface AssetsOptions extends BlockTemporalOptions, BlockTenantOptions {
|
|
12
12
|
readonly transport: BlockTransport;
|
|
@@ -6,7 +6,7 @@ import { Dt as Events, j as CommerceEventData } from "./events-D5aC9hkx.js";
|
|
|
6
6
|
import { n as Logger } from "./logger-0LfhvwE4.js";
|
|
7
7
|
import { i as CursorPageOptions, n as BlockOptions, o as blockCall, t as BlockCall } from "./block-helpers-gyK33E0Z.js";
|
|
8
8
|
import { n as BlockHooks } from "./block-hooks-DOK9DyaZ.js";
|
|
9
|
-
import { c as BlockOf, rn as RankNeighbors } from "./define-block-
|
|
9
|
+
import { c as BlockOf, rn as RankNeighbors } from "./define-block-DiW9g10_.js";
|
|
10
10
|
import { h as FilterQuery } from "./filter-query-H2jkcpVH.js";
|
|
11
11
|
import { n as Money } from "./money-BgpAd7d3.js";
|
|
12
12
|
declare const DISCOUNT_GROUP_KINDS: readonly ["customer", "product"];
|
|
@@ -6,7 +6,7 @@ import { B as textOf, T as optionalText, j as recordOf, n as applyTemporal, o as
|
|
|
6
6
|
import { r as withBlockHooks } from "./block-hooks-C2_d17_b.js";
|
|
7
7
|
import { n as entitySchema } from "./entity-schema-DEIz0I8i.js";
|
|
8
8
|
import { t as defineRecordBinding } from "./record-bindings-jTZw-GVe.js";
|
|
9
|
-
import { n as defineBlock } from "./define-block-
|
|
9
|
+
import { n as defineBlock } from "./define-block-DyZiZQrx.js";
|
|
10
10
|
import { n as blockFields } from "./block-fields-B6_zYPTF.js";
|
|
11
11
|
import { t as requireTenant } from "./block-tenant-DHvDBWgF.js";
|
|
12
12
|
import { n as rankBetweenResult, t as neighborsForIndex } from "./rank-result-5Se-KHhE.js";
|
|
@@ -212,6 +212,7 @@ const tagsBlock = defineBlock({
|
|
|
212
212
|
create: createTags,
|
|
213
213
|
record: tagsBinding,
|
|
214
214
|
category: "work",
|
|
215
|
+
description: "Tenant tags with a kind, and a link from a tag to a subject. Over the app's tables it can use one link table per subject.",
|
|
215
216
|
recipes: ["record-page", "tag-input"]
|
|
216
217
|
});
|
|
217
218
|
export { tagsEvents as a, tagsOptimistic as i, tagRefInput as n, createTags as o, tagsBinding as r, tagsBlock as t };
|
|
@@ -4,11 +4,11 @@ import { t as invoicesSqlOptions } from "./options-BTuDJ2RC.js";
|
|
|
4
4
|
import { n as event, t as defineEvents } from "./event-map-DxfsFgQT.js";
|
|
5
5
|
import { B as textOf, C as optionalInstant, L as sha256Hex, N as recordsOf, P as requiredInstant, T as optionalText, a as bigintOf, d as enumOrThrow, j as recordOf, m as instantArg, n as applyTemporal, o as blockCall, w as optionalPlainDateOf } from "./block-helpers-CCl3V9ku.js";
|
|
6
6
|
import { r as withBlockHooks } from "./block-hooks-C2_d17_b.js";
|
|
7
|
-
import { n as defineBlock } from "./define-block-
|
|
7
|
+
import { n as defineBlock } from "./define-block-DyZiZQrx.js";
|
|
8
8
|
import { n as blockFields } from "./block-fields-B6_zYPTF.js";
|
|
9
|
-
import { i as moneyOf, n as amountsError, s as unknownCurrency, t as amountText } from "./money-codec-
|
|
9
|
+
import { i as moneyOf, n as amountsError, s as unknownCurrency, t as amountText } from "./money-codec-CvUy3_Ep.js";
|
|
10
10
|
import { n as compact, r as refOf, t as attrsArg } from "./sales-shared-DGSptcqA.js";
|
|
11
|
-
import { i as totalsOf, n as lineArg, r as lineOf } from "./sales-lines-
|
|
11
|
+
import { i as totalsOf, n as lineArg, r as lineOf } from "./sales-lines-COFwijz1.js";
|
|
12
12
|
import { n as eInvoiceFormatOf, t as eInvoiceChannelOf } from "./channel-iJrqCvKh.js";
|
|
13
13
|
// src/blocks/invoices/events.ts
|
|
14
14
|
/** The `invoices` block's event types, for its manifest and `onBlockEvent`. */
|
|
@@ -266,13 +266,13 @@ function invoiceEDelivery(call, create) {
|
|
|
266
266
|
});
|
|
267
267
|
const client = {
|
|
268
268
|
sendEInvoice: ({ invoice, ...options }) => AsyncResult.from(async () => {
|
|
269
|
-
if (invoice.status === "draft" || invoice.status === "void") return invalid(`a ${invoice.status} invoice can't be sent as an e-invoice`, "
|
|
269
|
+
if (invoice.status === "draft" || invoice.status === "void") return invalid(`a ${invoice.status} invoice can't be sent as an e-invoice`, "E_INVOICE_NOT_ISSUED");
|
|
270
270
|
const format = eInvoiceFormatOf(options.format);
|
|
271
271
|
const channel = eInvoiceChannelOf(options.channel);
|
|
272
272
|
const endpoints = await client.eInvoiceEndpoints(invoice.id);
|
|
273
273
|
if (!endpoints.ok) return endpoints;
|
|
274
274
|
const { buyer } = endpoints.data;
|
|
275
|
-
if (buyer === void 0) return invalid("the buyer has no e-invoice participant id; set one with setEInvoiceEndpoint", "
|
|
275
|
+
if (buyer === void 0) return invalid("the buyer has no e-invoice participant id; set one with setEInvoiceEndpoint", "E_INVOICE_NO_RECIPIENT");
|
|
276
276
|
if (options.resend !== true) {
|
|
277
277
|
const sent = await client.eInvoiceDeliveries({
|
|
278
278
|
organizationId: invoice.organizationId,
|
|
@@ -280,7 +280,7 @@ function invoiceEDelivery(call, create) {
|
|
|
280
280
|
invoiceId: invoice.id
|
|
281
281
|
});
|
|
282
282
|
if (!sent.ok) return sent;
|
|
283
|
-
if (sent.data.some((row) => row.state === "delivered" || row.state === "pending")) return invalid("this invoice was already sent; pass resend to send it again", "
|
|
283
|
+
if (sent.data.some((row) => row.state === "delivered" || row.state === "pending")) return invalid("this invoice was already sent; pass resend to send it again", "E_INVOICE_ALREADY_SENT");
|
|
284
284
|
}
|
|
285
285
|
const context = {
|
|
286
286
|
organizationId: invoice.organizationId,
|
|
@@ -288,7 +288,7 @@ function invoiceEDelivery(call, create) {
|
|
|
288
288
|
...options.signal ? { signal: options.signal } : {}
|
|
289
289
|
};
|
|
290
290
|
if (channel.lookup !== void 0) {
|
|
291
|
-
if (!await channel.lookup(buyer, context)) return invalid(`${buyer.scheme}:${buyer.id} is not on ${channel.key}`, "
|
|
291
|
+
if (!await channel.lookup(buyer, context)) return invalid(`${buyer.scheme}:${buyer.id} is not on ${channel.key}`, "E_INVOICE_RECIPIENT_UNREACHABLE");
|
|
292
292
|
}
|
|
293
293
|
const document = await format.render(invoice, context);
|
|
294
294
|
const sent = await channel.send(document, {
|
|
@@ -322,7 +322,7 @@ function invoiceEDelivery(call, create) {
|
|
|
322
322
|
}).map((logged) => logged.delivery),
|
|
323
323
|
syncEInvoices: ({ organizationId, ...options }) => AsyncResult.from(async () => {
|
|
324
324
|
const channel = eInvoiceChannelOf(options.channel);
|
|
325
|
-
if (channel.status === void 0) return invalid(`channel ${channel.key} can't report delivery status`, "
|
|
325
|
+
if (channel.status === void 0) return invalid(`channel ${channel.key} can't report delivery status`, "E_INVOICE_CHANNEL_UNSUPPORTED");
|
|
326
326
|
const pending = await client.eInvoiceDeliveries({
|
|
327
327
|
organizationId,
|
|
328
328
|
direction: "outbound",
|
|
@@ -358,7 +358,7 @@ function invoiceEDelivery(call, create) {
|
|
|
358
358
|
}),
|
|
359
359
|
receiveEInvoices: ({ organizationId, ...options }) => AsyncResult.from(async () => {
|
|
360
360
|
const channel = eInvoiceChannelOf(options.channel);
|
|
361
|
-
if (channel.receive === void 0) return invalid(`channel ${channel.key} can't receive documents`, "
|
|
361
|
+
if (channel.receive === void 0) return invalid(`channel ${channel.key} can't receive documents`, "E_INVOICE_CHANNEL_UNSUPPORTED");
|
|
362
362
|
const received = await channel.receive({
|
|
363
363
|
organizationId,
|
|
364
364
|
...options.signal ? { signal: options.signal } : {}
|
|
@@ -1093,6 +1093,7 @@ const invoicesBlock = defineBlock({
|
|
|
1093
1093
|
events: invoicesEvents,
|
|
1094
1094
|
create: createInvoices,
|
|
1095
1095
|
category: "commerce",
|
|
1096
|
+
description: "Invoices an organization sends its own customers and bills from its suppliers: drafts with lines, a gapless number per direction on issue, payments, credit notes, void and write-off, overdue and aging per currency, credit limits, the three-way match of a purchase bill, party payments split over invoices with the rest kept as credit, dunning levels, and invoices from accepted quotes.",
|
|
1096
1097
|
recipes: ["invoices-table"],
|
|
1097
1098
|
schedules: [{
|
|
1098
1099
|
name: "dunning",
|
|
@@ -6,12 +6,12 @@ import { n as event, t as defineEvents } from "./event-map-DxfsFgQT.js";
|
|
|
6
6
|
import { B as textOf, C as optionalInstant, N as recordsOf, P as requiredInstant, T as optionalText, a as bigintOf, d as enumOrThrow, j as recordOf, n as applyTemporal, o as blockCall, w as optionalPlainDateOf } from "./block-helpers-CCl3V9ku.js";
|
|
7
7
|
import { r as withBlockHooks } from "./block-hooks-C2_d17_b.js";
|
|
8
8
|
import { n as entitySchema, r as moneyField } from "./entity-schema-DEIz0I8i.js";
|
|
9
|
-
import { n as defineBlock } from "./define-block-
|
|
9
|
+
import { n as defineBlock } from "./define-block-DyZiZQrx.js";
|
|
10
10
|
import { n as blockFields } from "./block-fields-B6_zYPTF.js";
|
|
11
|
-
import { c as isMoney, s as isCurrency } from "./money-
|
|
12
|
-
import { a as optionalAmountText, i as moneyOf, n as amountsError, r as currencyMismatch, s as unknownCurrency, t as amountText } from "./money-codec-
|
|
13
|
-
import { t as forecastOf } from "./deal-forecast-
|
|
14
|
-
import { i as totalsOf, n as lineArg } from "./sales-lines-
|
|
11
|
+
import { c as isMoney, s as isCurrency } from "./money-hWAOR9jq.js";
|
|
12
|
+
import { a as optionalAmountText, i as moneyOf, n as amountsError, r as currencyMismatch, s as unknownCurrency, t as amountText } from "./money-codec-CvUy3_Ep.js";
|
|
13
|
+
import { t as forecastOf } from "./deal-forecast-CgzuxYtf.js";
|
|
14
|
+
import { i as totalsOf, n as lineArg } from "./sales-lines-COFwijz1.js";
|
|
15
15
|
import { t as strictChanges } from "./strict-changes-CfF7udqO.js";
|
|
16
16
|
// src/blocks/deals/deals.ts
|
|
17
17
|
const OUTCOMES = [
|
|
@@ -468,6 +468,7 @@ const dealsBlock = defineBlock({
|
|
|
468
468
|
events: dealsEvents,
|
|
469
469
|
create: createDeals,
|
|
470
470
|
category: "crm",
|
|
471
|
+
description: "Deals on pipelines: amounts in minor units, a company and contacts, a deal team, line items, forecast calls with attainment, close-date slips, a next step, locking and batched edits with per-change rejections.",
|
|
471
472
|
recipes: ["deal-board"],
|
|
472
473
|
schemas: { deal: {
|
|
473
474
|
input: dealInputSchema,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as defineBlock } from "./define-block-
|
|
1
|
+
import { n as defineBlock } from "./define-block-DyZiZQrx.js";
|
|
2
2
|
import { n as createEntitlements } from "./entitlements-BxZpcgcb.js";
|
|
3
3
|
// src/blocks/entitlements/manifest.ts
|
|
4
4
|
/** The `entitlements` block's manifest (ADR 0029). */
|
|
@@ -7,6 +7,7 @@ const entitlementsBlock = defineBlock({
|
|
|
7
7
|
sql: ["entitlements"],
|
|
8
8
|
create: createEntitlements,
|
|
9
9
|
category: "commerce",
|
|
10
|
+
description: "Active Stripe entitlements per tenant from the Stripe Sync Engine, feature_claims() for the access token hook, and has_entitlement() and tenant_ids_with_entitlement() for RLS.",
|
|
10
11
|
recipes: ["feature-gate"]
|
|
11
12
|
});
|
|
12
13
|
export { entitlementsBlock as t };
|
|
@@ -7,7 +7,7 @@ import { B as textOf, C as optionalInstant, N as recordsOf, P as requiredInstant
|
|
|
7
7
|
import { r as withBlockHooks } from "./block-hooks-C2_d17_b.js";
|
|
8
8
|
import { n as entitySchema } from "./entity-schema-DEIz0I8i.js";
|
|
9
9
|
import { i as recordRowInput, t as defineRecordBinding } from "./record-bindings-jTZw-GVe.js";
|
|
10
|
-
import { n as defineBlock } from "./define-block-
|
|
10
|
+
import { n as defineBlock } from "./define-block-DyZiZQrx.js";
|
|
11
11
|
import { n as optionalRecordRefOf } from "./block-subjects-ok-uZ1UU.js";
|
|
12
12
|
import { n as blockFields } from "./block-fields-B6_zYPTF.js";
|
|
13
13
|
import { t as requireTenant } from "./block-tenant-DHvDBWgF.js";
|
|
@@ -422,6 +422,7 @@ const dispatchBlock = defineBlock({
|
|
|
422
422
|
create: createDispatch,
|
|
423
423
|
record: dispatchBinding,
|
|
424
424
|
category: "work",
|
|
425
|
+
description: "Field service work orders at asset locations: a schedule board of technicians' slots, a status lifecycle from scheduled to done, day routes with ordered stops, and the parts each job used, linked to assets or inventory when those blocks are installed.",
|
|
425
426
|
recipes: ["dispatch-board", "technician-day"]
|
|
426
427
|
});
|
|
427
428
|
export { workOrderSectionInputSchema as a, workOrderPartInputSchema as i, dispatchBinding as n, dispatchEvents as o, workOrderInputSchema as r, createDispatch as s, dispatchBlock as t };
|
|
@@ -2,7 +2,7 @@ import { n as isRecord } from "./guards-CsRa6v57.js";
|
|
|
2
2
|
import { i as eventTypeOf } from "./cloud-event-IBXVjn84.js";
|
|
3
3
|
import { B as textOf, E as pageOf, H as toInstant, N as recordsOf, T as optionalText, j as recordOf, m as instantArg, n as applyTemporal, o as blockCall } from "./block-helpers-CCl3V9ku.js";
|
|
4
4
|
import { r as withBlockHooks } from "./block-hooks-C2_d17_b.js";
|
|
5
|
-
import { n as defineBlock } from "./define-block-
|
|
5
|
+
import { n as defineBlock } from "./define-block-DyZiZQrx.js";
|
|
6
6
|
import { n as optionalRecordRefOf } from "./block-subjects-ok-uZ1UU.js";
|
|
7
7
|
import { n as defineListQuery } from "./list-query-D-tgs1eY.js";
|
|
8
8
|
import { t as requireTenant } from "./block-tenant-DHvDBWgF.js";
|
|
@@ -159,6 +159,7 @@ const timelineBlock = defineBlock({
|
|
|
159
159
|
sql: ["timeline"],
|
|
160
160
|
create: createTimeline,
|
|
161
161
|
category: "collaboration",
|
|
162
|
+
description: "A timeline_entries feed that activitySink() fills from outbox events, filtered by can_subject and joined with the subject's audit entries, notification deliveries and workflow runs when subjects, audit, notifications and workflows are installed.",
|
|
162
163
|
recipes: []
|
|
163
164
|
});
|
|
164
165
|
export { createTimeline as i, activityListQuery as n, activitySink as r, timelineBlock as t };
|
|
@@ -4,7 +4,7 @@ import { B as textOf, C as optionalInstant, N as recordsOf, P as requiredInstant
|
|
|
4
4
|
import { r as withBlockHooks } from "./block-hooks-C2_d17_b.js";
|
|
5
5
|
import { n as entitySchema } from "./entity-schema-DEIz0I8i.js";
|
|
6
6
|
import { i as recordRowInput, t as defineRecordBinding } from "./record-bindings-jTZw-GVe.js";
|
|
7
|
-
import { n as defineBlock } from "./define-block-
|
|
7
|
+
import { n as defineBlock } from "./define-block-DyZiZQrx.js";
|
|
8
8
|
import { t as requireTenant } from "./block-tenant-DHvDBWgF.js";
|
|
9
9
|
// src/blocks/guests/guests.ts
|
|
10
10
|
const STATUSES = [
|
|
@@ -218,6 +218,7 @@ const guestsBlock = defineBlock({
|
|
|
218
218
|
},
|
|
219
219
|
create: createGuests,
|
|
220
220
|
record: guestsBinding,
|
|
221
|
-
category: "collaboration"
|
|
221
|
+
category: "collaboration",
|
|
222
|
+
description: "People outside the organization (clients, contractors) invited by email who read, comment on and upload to the records they are granted, and see the invoices and bookings of the party they act for. Never members, never through an authorization library."
|
|
222
223
|
});
|
|
223
224
|
export { guestSectionGrantSchema as a, guestInviteSchema as i, guestsBinding as n, guestsEvents as o, guestGrantSchema as r, createGuests as s, guestsBlock as t };
|
|
@@ -6,7 +6,7 @@ import { i as CursorPageOptions, r as BlockTemporalOptions } from "./block-helpe
|
|
|
6
6
|
import { n as SqlClient } from "./executor-1m05kt7Y.js";
|
|
7
7
|
import { t as BlockTransport } from "./block-transport-BO7p8KHh.js";
|
|
8
8
|
import { n as BlockHooks } from "./block-hooks-DOK9DyaZ.js";
|
|
9
|
-
import { c as BlockOf } from "./define-block-
|
|
9
|
+
import { c as BlockOf } from "./define-block-DiW9g10_.js";
|
|
10
10
|
import { i as EventSink } from "./cloud-event-CQAnJsbp.js";
|
|
11
11
|
import { n as StripeSource, r as StripeTaxId } from "./stripe-Bl-sjnl6.js";
|
|
12
12
|
/** The events of the `billing` block: type to data. */
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Dt as Events } from "./events-D5aC9hkx.js";
|
|
2
|
-
import { c as BlockOf } from "./define-block-
|
|
2
|
+
import { c as BlockOf } from "./define-block-DiW9g10_.js";
|
|
3
3
|
import { C as createObservations } from "./observations-C5URVvaJ.js";
|
|
4
4
|
/** `observation_definition.created` and `.updated`: a definition was saved. */
|
|
5
5
|
interface ObservationDefinitionSavedEventData {
|
|
@@ -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 { t as BlockTransport } from "./block-transport-BO7p8KHh.js";
|
|
9
9
|
import { n as BlockHooks } from "./block-hooks-DOK9DyaZ.js";
|
|
10
|
-
import { bn as FormJsonSchema, c as BlockOf, gn as FormDefinition, yn as FormJson } from "./define-block-
|
|
10
|
+
import { bn as FormJsonSchema, c as BlockOf, gn as FormDefinition, yn as FormJson } from "./define-block-DiW9g10_.js";
|
|
11
11
|
import { StandardSchemaV1 } from "@standard-schema/spec";
|
|
12
12
|
/** The events of the `forms` block: type to data. */
|
|
13
13
|
type FormsEvents = {
|
|
@@ -6,7 +6,7 @@ import { n as event, t as defineEvents } from "./event-map-DxfsFgQT.js";
|
|
|
6
6
|
import { B as textOf, C as optionalInstant, N as recordsOf, P as requiredInstant, T as optionalText, d as enumOrThrow, j as recordOf, m as instantArg, n as applyTemporal, o as blockCall } from "./block-helpers-CCl3V9ku.js";
|
|
7
7
|
import { r as withBlockHooks } from "./block-hooks-C2_d17_b.js";
|
|
8
8
|
import { n as entitySchema } from "./entity-schema-DEIz0I8i.js";
|
|
9
|
-
import { n as defineBlock } from "./define-block-
|
|
9
|
+
import { n as defineBlock } from "./define-block-DyZiZQrx.js";
|
|
10
10
|
import { n as blockFields } from "./block-fields-B6_zYPTF.js";
|
|
11
11
|
import { t as requireTenant } from "./block-tenant-DHvDBWgF.js";
|
|
12
12
|
// src/blocks/courses/courses.ts
|
|
@@ -449,6 +449,7 @@ const coursesBlock = defineBlock({
|
|
|
449
449
|
},
|
|
450
450
|
create: createCourses,
|
|
451
451
|
category: "content",
|
|
452
|
+
description: "Courses of modules and lessons ordered by rank keys, with quiz lessons graded by forms, per-lesson progress, completion and certificates. Each course runs as an enrollment program, so learners enroll through enrollments.",
|
|
452
453
|
recipes: ["course-outline", "lesson-player"]
|
|
453
454
|
});
|
|
454
455
|
export { coursesEvents as a, courseLessonInputSchema as i, courseInputSchema as n, createCourses as o, courseLearnerSectionInputSchema as r, coursesBlock as t };
|
|
@@ -5,7 +5,7 @@ import { l as isFormDefinition } from "./form-definition-DbyY2DKZ.js";
|
|
|
5
5
|
import { n as event, t as defineEvents } from "./event-map-DxfsFgQT.js";
|
|
6
6
|
import { B as textOf, C as optionalInstant, M as recordOrEmpty, N as recordsOf, P as requiredInstant, T as optionalText, d as enumOrThrow, j as recordOf, m as instantArg, n as applyTemporal, o as blockCall } from "./block-helpers-CCl3V9ku.js";
|
|
7
7
|
import { r as withBlockHooks } from "./block-hooks-C2_d17_b.js";
|
|
8
|
-
import { n as defineBlock } from "./define-block-
|
|
8
|
+
import { n as defineBlock } from "./define-block-DyZiZQrx.js";
|
|
9
9
|
import { n as blockFields } from "./block-fields-B6_zYPTF.js";
|
|
10
10
|
// src/blocks/forms/events.ts
|
|
11
11
|
/** The `forms` block's event types, for its manifest and `onBlockEvent`. */
|
|
@@ -235,6 +235,7 @@ const formsBlock = defineBlock({
|
|
|
235
235
|
create: createForms,
|
|
236
236
|
client: "forms",
|
|
237
237
|
category: "content",
|
|
238
|
+
description: "Forms with numbered versions (steps and show or skip logic), a JSON Schema 2020-12 per version that validates every submission, drafts, public links through share-links with a rate limit and a bot-check hook, handlers that turn a submission into a record, scoring against an answer key respondents can't read, and NPS rollups.",
|
|
238
239
|
recipes: ["form-builder"]
|
|
239
240
|
});
|
|
240
241
|
export { createForms as n, formsEvents as r, formsBlock as t };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { n as isRecord } from "./guards-CsRa6v57.js";
|
|
2
2
|
import { t as temporal } from "./temporal-required-DK3ImZW6.js";
|
|
3
3
|
import { t as AsyncResult } from "./result-DrBaeIVt.js";
|
|
4
|
-
import { a as CARE_PLAN_STATUSES, i as CARE_PLAN_PROBLEM_STATUSES, n as CARE_PLAN_ACTION_STATUSES, r as CARE_PLAN_GOAL_STATUSES, s as carePlansSqlOptions, t as CARE_PLAN_ACTION_KINDS } from "./care-plans-sql-
|
|
4
|
+
import { a as CARE_PLAN_STATUSES, i as CARE_PLAN_PROBLEM_STATUSES, n as CARE_PLAN_ACTION_STATUSES, r as CARE_PLAN_GOAL_STATUSES, s as carePlansSqlOptions, t as CARE_PLAN_ACTION_KINDS } from "./care-plans-sql-DOfShX0z.js";
|
|
5
5
|
import { n as event, t as defineEvents } from "./event-map-DxfsFgQT.js";
|
|
6
6
|
import { B as textOf, C as optionalInstant, N as recordsOf, P as requiredInstant, T as optionalText, d as enumOrThrow, j as recordOf, n as applyTemporal, o as blockCall } from "./block-helpers-CCl3V9ku.js";
|
|
7
7
|
import { r as withBlockHooks } from "./block-hooks-C2_d17_b.js";
|
|
8
8
|
import { n as entitySchema } from "./entity-schema-DEIz0I8i.js";
|
|
9
|
-
import { n as defineBlock } from "./define-block-
|
|
9
|
+
import { n as defineBlock } from "./define-block-DyZiZQrx.js";
|
|
10
10
|
import { n as blockFields } from "./block-fields-B6_zYPTF.js";
|
|
11
11
|
import { t as requireTenant } from "./block-tenant-DHvDBWgF.js";
|
|
12
12
|
// src/blocks/care-plans/care-plans.ts
|
|
@@ -460,6 +460,7 @@ const carePlansBlock = defineBlock({
|
|
|
460
460
|
create: createCarePlans,
|
|
461
461
|
recipes: ["care-plan-editor", "care-plan-evaluations"],
|
|
462
462
|
category: "people",
|
|
463
|
+
description: "Care plans per client: problems with codes from your code systems, goals and the actions that reach them, evaluations over time, one active plan per client published as a version, agreement through a signature, and restrictive measures that start only once approved.",
|
|
463
464
|
schedules: [{
|
|
464
465
|
name: "reviews",
|
|
465
466
|
cron: "0 6 * * *",
|
|
@@ -5,7 +5,7 @@ import { Dt as Events, ut as SubjectEventData } from "./events-D5aC9hkx.js";
|
|
|
5
5
|
import { n as Logger } from "./logger-0LfhvwE4.js";
|
|
6
6
|
import { n as BlockOptions } from "./block-helpers-gyK33E0Z.js";
|
|
7
7
|
import { n as BlockHooks } from "./block-hooks-DOK9DyaZ.js";
|
|
8
|
-
import { c as BlockOf } from "./define-block-
|
|
8
|
+
import { c as BlockOf } from "./define-block-DiW9g10_.js";
|
|
9
9
|
/** Options for {@link createAcknowledgements}. */
|
|
10
10
|
interface AcknowledgementsOptions extends BlockOptions {
|
|
11
11
|
/** `before` and `after` hooks per method (ADR 0015). */
|
|
@@ -8,7 +8,7 @@ import { n as Logger } from "./logger-0LfhvwE4.js";
|
|
|
8
8
|
import { r as BlockTemporalOptions } 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, Wt as CustomFields, c as BlockOf } from "./define-block-
|
|
11
|
+
import { E as RecordBinding, Wt as CustomFields, c as BlockOf } from "./define-block-DiW9g10_.js";
|
|
12
12
|
import { n as Money } from "./money-BgpAd7d3.js";
|
|
13
13
|
/** The events of the `tasks` block: type to data. */
|
|
14
14
|
type TasksEvents = {
|
|
@@ -5,7 +5,7 @@ import { Dt as Events, nt as SaasSubjectEventData } from "./events-D5aC9hkx.js";
|
|
|
5
5
|
import { n as Logger } from "./logger-0LfhvwE4.js";
|
|
6
6
|
import { a as TransitionActor, i as CursorPageOptions, n as BlockOptions } from "./block-helpers-gyK33E0Z.js";
|
|
7
7
|
import { n as BlockHooks } from "./block-hooks-DOK9DyaZ.js";
|
|
8
|
-
import { c as BlockOf } from "./define-block-
|
|
8
|
+
import { c as BlockOf } from "./define-block-DiW9g10_.js";
|
|
9
9
|
/** The events of the `state-machine` block: type to data. */
|
|
10
10
|
type StateMachineEvents = {
|
|
11
11
|
readonly "status.changed": SaasSubjectEventData;
|
|
@@ -5,7 +5,7 @@ import { t as promotionsSqlOptions } from "./options-BvttpM1M.js";
|
|
|
5
5
|
import { n as event, t as defineEvents } from "./event-map-DxfsFgQT.js";
|
|
6
6
|
import { B as textOf, j as recordOf, m as instantArg, n as applyTemporal, o as blockCall } from "./block-helpers-CCl3V9ku.js";
|
|
7
7
|
import { r as withBlockHooks } from "./block-hooks-C2_d17_b.js";
|
|
8
|
-
import { n as defineBlock } from "./define-block-
|
|
8
|
+
import { n as defineBlock } from "./define-block-DyZiZQrx.js";
|
|
9
9
|
import { l as writeFields, n as blockFields, o as readFields, s as rowFields } from "./block-fields-B6_zYPTF.js";
|
|
10
10
|
// src/blocks/promotions/events.ts
|
|
11
11
|
/** The `promotions` block's event types, for its manifest and `onBlockEvent`. */
|
|
@@ -138,6 +138,7 @@ const promotionsBlock = defineBlock({
|
|
|
138
138
|
events: promotionsEvents,
|
|
139
139
|
create: createPromotions,
|
|
140
140
|
category: "commerce",
|
|
141
|
+
description: "Percentage, fixed and free-shipping promotions, automatic or by code, with usage limits and stacking rules, priced into orders carts.",
|
|
141
142
|
recipes: ["promotion-code-field"]
|
|
142
143
|
});
|
|
143
144
|
export { promotionsEvents as i, PROMOTION_SCOPES as n, createPromotions as r, promotionsBlock as t };
|
|
@@ -3,7 +3,7 @@ import { et as RecordRef } from "./types-CaYa549m.js";
|
|
|
3
3
|
import { n as Logger } from "./logger-0LfhvwE4.js";
|
|
4
4
|
import { n as BlockOptions } from "./block-helpers-gyK33E0Z.js";
|
|
5
5
|
import { n as BlockHooks } from "./block-hooks-DOK9DyaZ.js";
|
|
6
|
-
import { c as BlockOf } from "./define-block-
|
|
6
|
+
import { c as BlockOf } from "./define-block-DiW9g10_.js";
|
|
7
7
|
import { r as RuleFieldCatalog } from "./fields-BIvu7Nwq.js";
|
|
8
8
|
import { t as ComputedScore } from "./scores-Ch3tBr07.js";
|
|
9
9
|
interface LeadScoring {
|
|
@@ -3,7 +3,7 @@ import { n as event, t as defineEvents } from "./event-map-DxfsFgQT.js";
|
|
|
3
3
|
import { B as textOf, C as optionalInstant, N as recordsOf, P as requiredInstant, T as optionalText, d as enumOrThrow, j as recordOf, n as applyTemporal, o as blockCall } from "./block-helpers-CCl3V9ku.js";
|
|
4
4
|
import { r as withBlockHooks } from "./block-hooks-C2_d17_b.js";
|
|
5
5
|
import { n as entitySchema } from "./entity-schema-DEIz0I8i.js";
|
|
6
|
-
import { n as defineBlock } from "./define-block-
|
|
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/maintenance/events.ts
|
|
9
9
|
/** The `maintenance` block's event types, for its manifest and `onBlockEvent`. */
|
|
@@ -300,6 +300,7 @@ const maintenanceBlock = defineBlock({
|
|
|
300
300
|
},
|
|
301
301
|
create: createMaintenance,
|
|
302
302
|
recipes: [],
|
|
303
|
-
category: "work"
|
|
303
|
+
category: "work",
|
|
304
|
+
description: "Preventive maintenance plans that fall due by time, by a meter or by an RRULE, meter readings, calibration records, and the dispatch work orders the plans open with their spare parts. Technicians and calibrations can require qualifications."
|
|
304
305
|
});
|
|
305
306
|
export { maintenanceEvents as a, createMaintenance as i, maintenanceCalibrationInputSchema as n, maintenancePlanInputSchema as r, maintenanceBlock as t };
|
|
@@ -6,7 +6,7 @@ import { Dt as Events, rt as SchedulingEventData } from "./events-D5aC9hkx.js";
|
|
|
6
6
|
import { n as Logger } from "./logger-0LfhvwE4.js";
|
|
7
7
|
import { t as BlockTransport } from "./block-transport-BO7p8KHh.js";
|
|
8
8
|
import { n as BlockHooks } from "./block-hooks-DOK9DyaZ.js";
|
|
9
|
-
import { c as BlockOf } from "./define-block-
|
|
9
|
+
import { c as BlockOf } from "./define-block-DiW9g10_.js";
|
|
10
10
|
import { S as CalendarEventStatus, a as FreeBusy, b as AttendeeRole, c as WorkingHoursInput, f as CalendarEvent, h as OccurrenceRange, j as CalendarDefaultAlarm, k as CalendarAlarm, m as OccurrenceOptions, n as CalendarEventKind, p as CalendarOccurrence, r as CalendarTransparency, s as WorkingHours, y as AttendeeResponse } from "./availability-ezSvbaRp.js";
|
|
11
11
|
interface CalendarOptions<S extends StandardSchemaV1 | undefined = undefined> {
|
|
12
12
|
/**
|
|
@@ -5,7 +5,7 @@ import { B as textOf, N as recordsOf, P as requiredInstant, T as optionalText, d
|
|
|
5
5
|
import { r as withBlockHooks } from "./block-hooks-C2_d17_b.js";
|
|
6
6
|
import { n as entitySchema } from "./entity-schema-DEIz0I8i.js";
|
|
7
7
|
import { i as recordRowInput, t as defineRecordBinding } from "./record-bindings-jTZw-GVe.js";
|
|
8
|
-
import { n as defineBlock } from "./define-block-
|
|
8
|
+
import { n as defineBlock } from "./define-block-DyZiZQrx.js";
|
|
9
9
|
import { i as subjectRefOf } from "./block-subjects-ok-uZ1UU.js";
|
|
10
10
|
import { n as blockFields } from "./block-fields-B6_zYPTF.js";
|
|
11
11
|
import { t as requireTenant } from "./block-tenant-DHvDBWgF.js";
|
|
@@ -330,6 +330,7 @@ const versionsBlock = defineBlock({
|
|
|
330
330
|
create: createVersions,
|
|
331
331
|
record: versionsBinding,
|
|
332
332
|
category: "database",
|
|
333
|
+
description: "Numbered snapshots of a subject's content: manual, debounced auto and frozen snapshots, restore through columns or an apply function, and retention.",
|
|
333
334
|
recipes: [
|
|
334
335
|
"version-history",
|
|
335
336
|
"record-history",
|
|
@@ -3,7 +3,7 @@ import { t as AsyncResult } from "./result-CMqlHv82.js";
|
|
|
3
3
|
import { n as Logger } from "./logger-0LfhvwE4.js";
|
|
4
4
|
import { n as BlockOptions } from "./block-helpers-gyK33E0Z.js";
|
|
5
5
|
import { n as BlockHooks } from "./block-hooks-DOK9DyaZ.js";
|
|
6
|
-
import { c as BlockOf } from "./define-block-
|
|
6
|
+
import { c as BlockOf } from "./define-block-DiW9g10_.js";
|
|
7
7
|
interface SearchOptions extends Pick<BlockOptions, "transport" | "service" | "schema" | "mappers"> {
|
|
8
8
|
/** `withBlockHooks` hooks around the methods. */
|
|
9
9
|
readonly hooks?: BlockHooks<Search>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Dt as Events, at as SettingEventData } from "./events-D5aC9hkx.js";
|
|
2
|
-
import { c as BlockOf } from "./define-block-
|
|
2
|
+
import { c as BlockOf } from "./define-block-DiW9g10_.js";
|
|
3
3
|
import { l as createSettings } from "./settings-CNGIoNBD.js";
|
|
4
4
|
/** The events of the `settings` block: type to data. */
|
|
5
5
|
type SettingsEvents = {
|
package/dist/mapper/bin.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { t as VERSION } from "../cli/version-
|
|
2
|
-
import { a as lastTypesModule, c as writeAtomic, s as typesModuleKey } from "../cli/cache-
|
|
3
|
-
import { t as loadSnapshot } from "../cli/snapshot-
|
|
4
|
-
import { i as renderTypesModule, t as mapperFilePath } from "../cli/render-
|
|
5
|
-
import { i as discoverConfig, s as loadConfig } from "../cli/config-
|
|
1
|
+
import { t as VERSION } from "../cli/version-CvNMxnwv.js";
|
|
2
|
+
import { a as lastTypesModule, c as writeAtomic, s as typesModuleKey } from "../cli/cache-VZU4FIOF.js";
|
|
3
|
+
import { t as loadSnapshot } from "../cli/snapshot-BmBrjk2b.js";
|
|
4
|
+
import { i as renderTypesModule, t as mapperFilePath } from "../cli/render-D8KGIoSK.js";
|
|
5
|
+
import { i as discoverConfig, s as loadConfig } from "../cli/config-C-DXllAX.js";
|
|
6
6
|
import { i as parseEnv, n as configEnvironment } from "../cli/env-BLwQ6srP.js";
|
|
7
|
-
import { s as schemaStampPath } from "../cli/content-mapper-
|
|
7
|
+
import { s as schemaStampPath } from "../cli/content-mapper-5_KpJMOD.js";
|
|
8
8
|
import { existsSync, realpathSync } from "node:fs";
|
|
9
9
|
import { basename, dirname, join, resolve } from "node:path";
|
|
10
10
|
import { createHash } from "node:crypto";
|
package/dist/mcp/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { r as GuardOptions } from "../respond-CuZ013EB.js";
|
|
2
2
|
import { l as ResourceRouteOptions } from "../resource-types-CRNqdAHz.js";
|
|
3
|
-
import { _ as ToolResult, a as ToolDecision, c as ToolResourceOptions, d as defineTool, f as MCP_PROTOCOL_VERSION, g as ToolInfo, h as ToolAnnotations, i as ToolContext, l as ToolResources, m as ServerDescription, n as McpOptions, o as ToolDefinition, p as ProtocolServer, r as McpTool, s as ToolRef, t as BetterMcp, u as createMcp, v as answerLine, y as answerMessage } from "../index-
|
|
3
|
+
import { _ as ToolResult, a as ToolDecision, c as ToolResourceOptions, d as defineTool, f as MCP_PROTOCOL_VERSION, g as ToolInfo, h as ToolAnnotations, i as ToolContext, l as ToolResources, m as ServerDescription, n as McpOptions, o as ToolDefinition, p as ProtocolServer, r as McpTool, s as ToolRef, t as BetterMcp, u as createMcp, v as answerLine, y as answerMessage } from "../index-iaMOudmP.js";
|
|
4
4
|
export { type BetterMcp, type GuardOptions, MCP_PROTOCOL_VERSION, type McpOptions, type McpTool, type ProtocolServer, type ResourceRouteOptions, type ServerDescription, type ToolAnnotations, type ToolContext, type ToolDecision, type ToolDefinition, type ToolInfo, type ToolRef, type ToolResourceOptions, type ToolResources, type ToolResult, answerLine, answerMessage, createMcp, defineTool };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { n as dbError } from "./errors-CXPerGIl.js";
|
|
2
2
|
import { S as optionalBigintOf, a as bigintOf } from "./block-helpers-CCl3V9ku.js";
|
|
3
|
-
import { d as money, s as isCurrency } from "./money-
|
|
3
|
+
import { d as money, s as isCurrency } from "./money-hWAOR9jq.js";
|
|
4
4
|
// src/blocks/money-codec.ts
|
|
5
5
|
/**
|
|
6
6
|
* `Money` from an amount block functions send as text and its currency. Throws
|