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
|
@@ -17,6 +17,8 @@ interface BlockNameRegistry {
|
|
|
17
17
|
};
|
|
18
18
|
readonly "accounting": {
|
|
19
19
|
readonly tables: {
|
|
20
|
+
readonly "recognitionSchedules": "id" | "tenant" | "sourceType" | "sourceId" | "lineRef" | "amount" | "currency" | "startsOn" | "endsOn" | "deferralEntry" | "createdAt";
|
|
21
|
+
readonly "recognitionRows": "id" | "schedule" | "tenant" | "dueOn" | "amount" | "status" | "entry" | "postedAt";
|
|
20
22
|
readonly "settings": "tenant" | "functionalCurrency" | "fiscalYearStartMonth" | "lockDate" | "createdAt" | "updatedAt";
|
|
21
23
|
readonly "accounts": "id" | "tenant" | "code" | "name" | "type" | "subtype" | "parent" | "currency" | "reconcilable" | "normalSide" | "level" | "defaultTaxCode" | "active" | "archivedAt" | "createdAt" | "updatedAt";
|
|
22
24
|
readonly "roles": "tenant" | "role" | "account" | "updatedAt";
|
|
@@ -31,7 +33,7 @@ interface BlockNameRegistry {
|
|
|
31
33
|
readonly "budgets": "id" | "tenant" | "name" | "fiscalYear" | "status" | "createdBy" | "createdAt" | "updatedAt";
|
|
32
34
|
readonly "budgetLines": "id" | "tenant" | "budget" | "account" | "periodNumber" | "dimensions" | "amount";
|
|
33
35
|
};
|
|
34
|
-
readonly functions: "accounting_account_level" | "accounting_account_level_children" | "accounting_balance_sheet" | "accounting_budget_vs_actual" | "accounting_close_range" | "accounting_column_balance" | "accounting_entry_guard" | "accounting_entry_line_guard" | "accounting_fx_rate" | "accounting_general_ledger" | "accounting_journal_listing" | "accounting_opening_posted" | "accounting_opening_write" | "accounting_period_close_blockers" | "accounting_period_trial_balance" | "accounting_post" | "accounting_post_source" | "accounting_profit_and_loss" | "accounting_range_close_blockers" | "accounting_reverse" | "accounting_reverse_source" | "accounting_sync_dimension_value" | "accounting_tax_report" | "accounting_trial_balance" | "archive_accounting_account" | "close_accounting_period" | "close_fiscal_year" | "delete_accounting_entry" | "get_accounting_budget" | "get_accounting_entry" | "get_accounting_settings" | "import_accounting_account" | "import_accounting_entry" | "import_accounting_journal" | "import_accounting_opening_balance" | "list_accounting_accounts" | "list_accounting_budgets" | "list_accounting_dimensions" | "list_accounting_entries" | "list_accounting_journals" | "list_accounting_opening_balances" | "list_accounting_periods" | "lock_accounting_period" | "open_fiscal_year" | "post_accounting_entry" | "post_accounting_opening_balances" | "post_accounting_source" | "reopen_accounting_period" | "reverse_accounting_entry" | "save_accounting_account" | "save_accounting_budget" | "save_accounting_dimension" | "save_accounting_dimension_value" | "save_accounting_entry" | "save_accounting_journal" | "save_accounting_opening_balances" | "set_accounting_account_role" | "set_accounting_fx_rate" | "set_accounting_lock_date" | "setup_accounting" | "tax_rate_on" | "unlock_accounting_period";
|
|
36
|
+
readonly functions: "accounting_account_level" | "accounting_account_level_children" | "accounting_balance_sheet" | "accounting_budget_vs_actual" | "accounting_close_range" | "accounting_column_balance" | "accounting_entry_guard" | "accounting_entry_line_guard" | "accounting_fx_rate" | "accounting_general_ledger" | "accounting_journal_listing" | "accounting_opening_posted" | "accounting_opening_write" | "accounting_period_close_blockers" | "accounting_period_trial_balance" | "accounting_post" | "accounting_post_source" | "accounting_profit_and_loss" | "accounting_range_close_blockers" | "accounting_reverse" | "accounting_reverse_source" | "accounting_sync_dimension_value" | "accounting_tax_report" | "accounting_trial_balance" | "archive_accounting_account" | "close_accounting_period" | "close_fiscal_year" | "delete_accounting_entry" | "get_accounting_budget" | "get_accounting_entry" | "get_accounting_settings" | "import_accounting_account" | "import_accounting_entry" | "import_accounting_journal" | "import_accounting_opening_balance" | "list_accounting_accounts" | "list_accounting_budgets" | "list_accounting_dimensions" | "list_accounting_entries" | "list_accounting_journals" | "list_accounting_opening_balances" | "list_accounting_periods" | "lock_accounting_period" | "open_fiscal_year" | "post_accounting_entry" | "post_accounting_opening_balances" | "post_accounting_source" | "reopen_accounting_period" | "reverse_accounting_entry" | "save_accounting_account" | "save_accounting_budget" | "save_accounting_dimension" | "save_accounting_dimension_value" | "save_accounting_entry" | "save_accounting_journal" | "save_accounting_opening_balances" | "seed_accounting_defaults" | "set_accounting_account_role" | "set_accounting_fx_rate" | "set_accounting_lock_date" | "setup_accounting" | "tax_rate_on" | "unlock_accounting_period";
|
|
35
37
|
readonly actions: "read" | "write" | "post" | "close" | "manage";
|
|
36
38
|
readonly hooks: "before_accounting_entry_post" | "after_accounting_entry_post" | "before_accounting_entry_reverse" | "after_accounting_entry_reverse";
|
|
37
39
|
readonly entities: {
|
|
@@ -67,7 +69,8 @@ interface BlockNameRegistry {
|
|
|
67
69
|
readonly "links": "tenant" | "engagement" | "subjectType" | "subjectId" | "position";
|
|
68
70
|
readonly "recordings": "id" | "tenant" | "engagement" | "file" | "filename" | "mediaType" | "status" | "language" | "durationSeconds" | "error" | "model" | "createdBy" | "createdAt" | "transcribedAt";
|
|
69
71
|
readonly "segments": "recording" | "tenant" | "position" | "speaker" | "speakerUser" | "startsMs" | "endsMs" | "text" | "confidence";
|
|
70
|
-
readonly "notes": "engagement" | "tenant" | "summary" | "
|
|
72
|
+
readonly "notes": "engagement" | "tenant" | "summary" | "model" | "source" | "createdBy" | "createdAt" | "updatedAt";
|
|
73
|
+
readonly "actions": "id" | "tenant" | "engagement" | "task" | "createdAt";
|
|
71
74
|
};
|
|
72
75
|
readonly functions: "activities_of" | "amend_activity" | "complete_activity" | "delete_activity" | "log_activity" | "mark_activity_error" | "next_activity" | "open_activities" | "update_activity";
|
|
73
76
|
readonly actions: "read" | "write" | "manage" | "readRestricted";
|
|
@@ -165,7 +168,7 @@ interface BlockNameRegistry {
|
|
|
165
168
|
readonly "harness": "chat" | "harness" | "owner" | "resume" | "continue" | "status" | "holder" | "lockedUntil" | "lastActiveAt" | "createdAt" | "updatedAt";
|
|
166
169
|
};
|
|
167
170
|
readonly functions: "add_ai_chat_participant" | "ai_chat_can_read" | "ai_chat_notify" | "ai_message_path" | "ai_message_path_of" | "ai_message_siblings" | "ai_sandbox_for" | "ai_tool_approval_approvable" | "ai_tool_policies_for" | "allowed_ai_models" | "answer_ai_pending_input" | "append_ai_user_message" | "apply_ai_tool_approval" | "attach_ai_run" | "claim_ai_chat_stream" | "create_ai_chat" | "decide_ai_tool_approval" | "delete_ai_chat" | "delete_ai_project" | "finish_ai_sandbox_stop" | "get_ai_chat" | "get_ai_run" | "get_ai_tool_approvals" | "get_shared_ai_chat" | "idle_ai_sandboxes" | "list_ai_chat_participants" | "list_ai_chat_shares" | "list_ai_chats" | "list_ai_moderation_events" | "list_ai_projects" | "list_ai_run_steps" | "list_ai_runs" | "list_ai_sandboxes" | "list_pending_ai_tool_approvals" | "load_ai_harness_session" | "lock_ai_harness_session" | "open_ai_pending_input" | "purge_ai_chats" | "rate_ai_message" | "record_ai_moderation_event" | "record_ai_run_step" | "record_ai_tool_approval" | "register_ai_sandbox" | "release_ai_chat_stream" | "remove_ai_chat_participant" | "request_ai_chat_stop" | "revoke_ai_chat_share" | "save_ai_assistant_message" | "save_ai_harness_session" | "save_ai_project" | "set_ai_run_cost" | "set_ai_tool_policy" | "share_ai_chat" | "switch_ai_branch" | "touch_ai_sandbox" | "unlock_ai_harness_session" | "update_ai_chat" | "upsert_ai_models";
|
|
168
|
-
readonly actions: "read" | "create" | "share" | "moderate" | "
|
|
171
|
+
readonly actions: "read" | "create" | "share" | "moderate" | "manage";
|
|
169
172
|
readonly hooks: never;
|
|
170
173
|
readonly entities: {
|
|
171
174
|
readonly "ai_chat": "id" | "organization_id" | "owner_id" | "project_id" | "agent_id" | "title" | "model" | "visibility" | "pinned" | "archived_at" | "is_temporary" | "expires_at" | "current_leaf_id" | "active_stream_id" | "active_run_id" | "last_message_at" | "created_at" | "updated_at" | "search_tsv";
|
|
@@ -366,7 +369,7 @@ interface BlockNameRegistry {
|
|
|
366
369
|
readonly "registry": "target" | "ignore" | "keyColumns" | "redact" | "category" | "eventPrefix" | "targetType" | "tenantColumn" | "labelColumn";
|
|
367
370
|
};
|
|
368
371
|
readonly functions: "audit" | "audit_event" | "audit_event_many" | "audit_read_tenants" | "audit_reads_all" | "count_audit_events" | "list_audit_events" | "purge_audit_log";
|
|
369
|
-
readonly actions: "
|
|
372
|
+
readonly actions: "read" | "readAll" | "revert" | "reveal";
|
|
370
373
|
readonly hooks: "audit_retention";
|
|
371
374
|
readonly entities: {};
|
|
372
375
|
readonly primary: never;
|
|
@@ -381,7 +384,7 @@ interface BlockNameRegistry {
|
|
|
381
384
|
readonly "fields": "subjectType" | "id" | "label" | "description" | "type" | "path" | "columnType" | "nullable" | "options" | "operators" | "position" | "updatedAt";
|
|
382
385
|
};
|
|
383
386
|
readonly functions: "install_default_rules" | "matching_rules" | "rank_rule" | "record_rule_evaluation" | "remove_rule" | "reset_default_rule" | "rule_boolean" | "rule_bounds" | "rule_check" | "rule_date" | "rule_equal" | "rule_evaluate" | "rule_evaluations_list" | "rule_field_map" | "rule_fields_list" | "rule_get" | "rule_list" | "rule_matches" | "rule_moment" | "rule_node" | "rule_numeric" | "rule_positive" | "rule_text" | "rule_versions_list" | "rules_list" | "run_rules" | "save_rule" | "set_rule_enabled" | "sync_rule_fields";
|
|
384
|
-
readonly actions: "read" | "
|
|
387
|
+
readonly actions: "read" | "write" | "publish" | "manage";
|
|
385
388
|
readonly hooks: "before_automation_save" | "after_automation_save" | "before_automation_remove" | "after_automation_remove";
|
|
386
389
|
readonly entities: {
|
|
387
390
|
readonly "automation": "id" | "organization_id" | "subject_type" | "trigger" | "name" | "description" | "conditions" | "actions" | "enabled" | "stop_processing" | "rank" | "version" | "created_by" | "updated_by" | "created_at" | "updated_at" | "default_key";
|
|
@@ -428,11 +431,12 @@ interface BlockNameRegistry {
|
|
|
428
431
|
};
|
|
429
432
|
readonly "billing": {
|
|
430
433
|
readonly tables: {
|
|
434
|
+
readonly "native": "id" | "tenant" | "plan" | "currency" | "unitAmount" | "quantity" | "interval" | "status" | "periodStart" | "periodEnd" | "canceledAt" | "createdAt";
|
|
431
435
|
readonly "customers": "tenant" | "customer" | "account" | "createdAt";
|
|
432
436
|
readonly "subscriptions": "tenant" | "subscription" | "status" | "price" | "plan" | "periodEnd" | "cancelAt" | "eventAt" | "updatedAt";
|
|
433
437
|
};
|
|
434
|
-
readonly functions: "billing_account" | "billing_all_customers" | "billing_all_invoices" | "billing_all_subscriptions" | "billing_customer" | "billing_customer_details" | "billing_customer_tenant" | "billing_invoices" | "billing_overview" | "billing_payment_methods" | "billing_plan_price" | "billing_platform_customers" | "billing_platform_invoices" | "billing_platform_subscriptions" | "billing_seat_count" | "billing_status" | "billing_stripe_rows" | "billing_subscription" | "billing_subscription_item" | "billing_tax_ids" | "billing_tenant_subscription" | "link_billing_account" | "link_billing_customer";
|
|
435
|
-
readonly actions: "read" | "manage" | "
|
|
438
|
+
readonly functions: "billing_account" | "billing_all_customers" | "billing_all_invoices" | "billing_all_subscriptions" | "billing_customer" | "billing_customer_details" | "billing_customer_tenant" | "billing_invoices" | "billing_overview" | "billing_payment_methods" | "billing_plan_price" | "billing_platform_customers" | "billing_platform_invoices" | "billing_platform_subscriptions" | "billing_seat_count" | "billing_status" | "billing_stripe_rows" | "billing_subscription" | "billing_subscription_item" | "billing_tax_ids" | "billing_tenant_subscription" | "cancel_native_subscription" | "create_native_subscription" | "link_billing_account" | "link_billing_customer" | "prorate_change";
|
|
439
|
+
readonly actions: "read" | "manage" | "readAll";
|
|
436
440
|
readonly hooks: never;
|
|
437
441
|
readonly entities: {};
|
|
438
442
|
readonly primary: never;
|
|
@@ -635,6 +639,25 @@ interface BlockNameRegistry {
|
|
|
635
639
|
readonly primary: never;
|
|
636
640
|
readonly formerKeys: never;
|
|
637
641
|
};
|
|
642
|
+
readonly "commissions": {
|
|
643
|
+
readonly tables: {
|
|
644
|
+
readonly "plans": "id" | "tenant" | "name" | "kind" | "rateBps" | "tiers" | "archivedAt" | "createdAt" | "updatedAt";
|
|
645
|
+
readonly "assignments": "id" | "tenant" | "plan" | "seller" | "subjectType" | "subjectId" | "startsOn" | "endsOn" | "createdAt";
|
|
646
|
+
readonly "entries": "id" | "tenant" | "plan" | "seller" | "sourceType" | "sourceId" | "basis" | "amount" | "currency" | "occurredOn" | "status" | "statement" | "ledgerTransaction" | "reversedAt" | "createdAt";
|
|
647
|
+
readonly "statements": "id" | "tenant" | "seller" | "currency" | "startsOn" | "endsOn" | "status" | "total" | "ledgerTransaction" | "finalizedAt" | "paidAt" | "paidBy" | "createdAt";
|
|
648
|
+
};
|
|
649
|
+
readonly functions: "accrue_commission" | "assign_commission_plan" | "build_commission_statement" | "commission_accrue" | "commission_amount" | "commission_close_range" | "commission_payroll_lines" | "commission_plan_for" | "commission_statement_build" | "commission_statement_finalize" | "commission_tiers_valid" | "end_commission_assignment" | "finalize_commission_statement" | "get_commission_statement" | "list_commission_plans" | "list_commission_statements" | "list_commissions" | "pay_commission_statement" | "reverse_commission" | "save_commission_plan";
|
|
650
|
+
readonly actions: "read" | "write" | "manage";
|
|
651
|
+
readonly hooks: never;
|
|
652
|
+
readonly entities: {
|
|
653
|
+
readonly "commission_plan": "id" | "tenant_id" | "name" | "kind" | "rate_bps" | "tiers" | "archived_at" | "created_at" | "updated_at";
|
|
654
|
+
readonly "commission_assignment": "id" | "tenant_id" | "plan_id" | "seller_id" | "subject_type" | "subject_id" | "starts_on" | "ends_on" | "created_at";
|
|
655
|
+
readonly "commission": "id" | "tenant_id" | "plan_id" | "seller_id" | "source_type" | "source_id" | "basis" | "amount" | "currency" | "occurred_on" | "status" | "statement_id" | "ledger_transaction_id" | "reversed_at" | "created_at";
|
|
656
|
+
readonly "commission_statement": "id" | "tenant_id" | "seller_id" | "currency" | "starts_on" | "ends_on" | "status" | "total" | "ledger_transaction_id" | "finalized_at" | "paid_at" | "paid_by" | "created_at";
|
|
657
|
+
};
|
|
658
|
+
readonly primary: "commission_plan";
|
|
659
|
+
readonly formerKeys: never;
|
|
660
|
+
};
|
|
638
661
|
readonly "compliance": {
|
|
639
662
|
readonly tables: {
|
|
640
663
|
readonly "frameworks": "id" | "tenant" | "key" | "name" | "kind" | "version" | "description" | "createdAt" | "updatedAt";
|
|
@@ -678,7 +701,7 @@ interface BlockNameRegistry {
|
|
|
678
701
|
readonly "signals": "id" | "tenant" | "subjectType" | "subjectId" | "kind" | "raw" | "parsed" | "consents" | "createdBy" | "receivedAt";
|
|
679
702
|
readonly "receipts": "id" | "tenant" | "subjectType" | "subjectId" | "consent" | "status" | "receipt" | "digest" | "issuedAt";
|
|
680
703
|
};
|
|
681
|
-
readonly functions: "archive_consent_purpose" | "consent_active" | "expire_consents" | "issue_consent_receipt" | "list_consent_purposes" | "list_consent_receipts" | "list_consent_signals" | "list_consents" | "parse_gpp_string" | "parse_tc_string" | "record_consent" | "record_consent_signal" | "save_consent_purpose" | "withdraw_consent";
|
|
704
|
+
readonly functions: "archive_consent_purpose" | "consent_active" | "consent_missing" | "expire_consents" | "issue_consent_receipt" | "list_consent_purposes" | "list_consent_receipts" | "list_consent_signals" | "list_consents" | "parse_gpp_string" | "parse_tc_string" | "record_consent" | "record_consent_signal" | "requires_consent" | "save_consent_purpose" | "withdraw_consent";
|
|
682
705
|
readonly actions: "read" | "record" | "manage";
|
|
683
706
|
readonly hooks: "before_consent_record" | "after_consent_record" | "before_consent_withdraw" | "after_consent_withdraw";
|
|
684
707
|
readonly entities: {
|
|
@@ -966,7 +989,7 @@ interface BlockNameRegistry {
|
|
|
966
989
|
readonly "contracts": "id" | "tenant" | "employee" | "startsOn" | "endsOn" | "hoursPerWeek" | "salary" | "currency" | "salaryPeriod" | "note" | "createdBy" | "createdAt";
|
|
967
990
|
};
|
|
968
991
|
readonly functions: "add_employee_contract" | "create_employee" | "delete_employee" | "employee_contracts" | "employee_private_details" | "offboard_employee" | "org_chart" | "reports_of" | "save_employee_private_details" | "update_employees";
|
|
969
|
-
readonly actions: "read" | "write" | "
|
|
992
|
+
readonly actions: "read" | "write" | "readSensitive" | "create" | "contractsRead" | "contractsWrite" | "privateDetailsWrite";
|
|
970
993
|
readonly hooks: "before_employee_create" | "after_employee_create" | "before_employee_update" | "after_employee_update" | "before_employee_offboard" | "after_employee_offboard" | "before_employee_delete" | "after_employee_delete";
|
|
971
994
|
readonly entities: {
|
|
972
995
|
readonly "employee": "id" | "tenant_id" | "user_id" | "name" | "email" | "job_title" | "team_id" | "manager_id" | "employment_type" | "status" | "start_date" | "end_date" | "offboard_reason" | "origin_type" | "origin_id" | "created_by" | "created_at" | "updated_at" | "first_name" | "last_name";
|
|
@@ -1215,7 +1238,7 @@ interface BlockNameRegistry {
|
|
|
1215
1238
|
readonly "requests": "id" | "admin" | "target" | "reason" | "tenant" | "readOnly" | "metadata" | "requestedAt" | "expiresAt" | "approvedBy" | "approvedAt" | "session";
|
|
1216
1239
|
};
|
|
1217
1240
|
readonly functions: "active_support_session" | "apply_support_approval" | "approve_support_request" | "approved_support_request" | "end_support_session" | "expire_support_sessions" | "list_support_sessions" | "request_support_session" | "start_support_session" | "support_request" | "support_target_claims";
|
|
1218
|
-
readonly actions: "start" | "
|
|
1241
|
+
readonly actions: "start" | "read" | "revoke";
|
|
1219
1242
|
readonly hooks: "before_support_start" | "after_support_start" | "after_support_end";
|
|
1220
1243
|
readonly entities: {};
|
|
1221
1244
|
readonly primary: never;
|
|
@@ -1341,7 +1364,7 @@ interface BlockNameRegistry {
|
|
|
1341
1364
|
readonly "platformInvitations": "id" | "email" | "role" | "tokenHash" | "invitedBy" | "createdAt" | "updatedAt" | "expiresAt" | "acceptedAt" | "acceptedBy" | "declinedAt" | "revokedAt";
|
|
1342
1365
|
};
|
|
1343
1366
|
readonly functions: "accept_invitation" | "accept_invitation_by_id" | "create_invitation" | "decline_invitation" | "decline_invitation_by_id" | "invitation_extra" | "invitation_preview" | "invitation_tenant_ids" | "invite_member" | "my_invitations" | "resend_invitation" | "revoke_invitation" | "update_invitation";
|
|
1344
|
-
readonly actions: "invite" | "revoke" | "
|
|
1367
|
+
readonly actions: "invite" | "revoke" | "read" | "invitePlatform";
|
|
1345
1368
|
readonly hooks: "before_invitation_create" | "after_invitation_accept" | "invitation_preview_extra";
|
|
1346
1369
|
readonly entities: {};
|
|
1347
1370
|
readonly primary: never;
|
|
@@ -1690,10 +1713,11 @@ interface BlockNameRegistry {
|
|
|
1690
1713
|
readonly "deliveries": "id" | "recipient" | "tenant" | "channel" | "status" | "provider" | "providerMessageId" | "error" | "attempts" | "attemptedAt" | "nextAttemptAt" | "deliveredAt" | "providerStatus" | "providerStatusAt" | "templateKey" | "createdAt";
|
|
1691
1714
|
readonly "deliveryEvents": "id" | "delivery" | "tenant" | "kind" | "provider" | "providerEventId" | "occurredAt" | "detail" | "createdAt";
|
|
1692
1715
|
readonly "subscriptions": "id" | "tenant" | "user" | "subjectType" | "subjectId" | "level" | "createdAt" | "updatedAt";
|
|
1693
|
-
readonly "preferences": "id" | "user" | "tenant" | "type" | "channel" | "enabled" | "createdAt" | "updatedAt";
|
|
1716
|
+
readonly "preferences": "id" | "user" | "tenant" | "type" | "channel" | "enabled" | "cadence" | "createdAt" | "updatedAt";
|
|
1717
|
+
readonly "digests": "id" | "user" | "tenant" | "channel" | "cadence" | "items" | "itemCount" | "status" | "attempts" | "attemptedAt" | "error" | "providerMessageId" | "sentAt" | "createdAt";
|
|
1694
1718
|
readonly "suppressions": "id" | "channel" | "address" | "user" | "reason" | "provider" | "providerEventId" | "detail" | "createdAt";
|
|
1695
1719
|
};
|
|
1696
|
-
readonly functions: "broadcast_notification" | "claim_notification_deliveries" | "complete_notification_delivery" | "dismiss_notifications" | "get_notification" | "list_notification_preferences" | "list_notification_subscriptions" | "list_notification_suppressions" | "list_notifications" | "list_subject_deliveries" | "mark_notifications_read" | "mark_notifications_unread" | "notification_counts" | "notification_enabled" | "notification_page" | "notify" | "purge_notifications" | "record_delivery_event" | "resolve_notifications" | "send_notification" | "send_notifications" | "set_notification_preference" | "set_notification_subscription" | "suppress_notification_address" | "unsuppress_notification_address";
|
|
1720
|
+
readonly functions: "broadcast_notification" | "claim_notification_deliveries" | "claim_notification_digests" | "complete_notification_delivery" | "complete_notification_digest" | "dismiss_notifications" | "get_notification" | "list_notification_preferences" | "list_notification_subscriptions" | "list_notification_suppressions" | "list_notifications" | "list_subject_deliveries" | "mark_notifications_read" | "mark_notifications_unread" | "notification_cadence" | "notification_counts" | "notification_enabled" | "notification_page" | "notify" | "purge_notifications" | "record_delivery_event" | "resolve_notifications" | "run_notification_digests" | "send_notification" | "send_notifications" | "set_notification_cadence" | "set_notification_preference" | "set_notification_subscription" | "suppress_notification_address" | "unsuppress_notification_address";
|
|
1697
1721
|
readonly actions: "send" | "read";
|
|
1698
1722
|
readonly hooks: "notification_audience" | "before_notification_send" | "after_notify";
|
|
1699
1723
|
readonly entities: {};
|
|
@@ -2059,6 +2083,21 @@ interface BlockNameRegistry {
|
|
|
2059
2083
|
readonly primary: never;
|
|
2060
2084
|
readonly formerKeys: never;
|
|
2061
2085
|
};
|
|
2086
|
+
readonly "referrals": {
|
|
2087
|
+
readonly tables: {
|
|
2088
|
+
readonly "codes": "id" | "tenant" | "code" | "referrer" | "invitation" | "rewardAmount" | "rewardUnit" | "maxUses" | "uses" | "active" | "expiresAt" | "createdAt";
|
|
2089
|
+
readonly "referrals": "id" | "tenant" | "code" | "referrer" | "referredUser" | "referredOrganization" | "referredEmail" | "status" | "rewardAmount" | "rewardUnit" | "qualifiedAt" | "qualifiedBy" | "rewardedAt" | "ledgerTransaction" | "voidedAt" | "createdAt";
|
|
2090
|
+
};
|
|
2091
|
+
readonly functions: "attribute_referral" | "create_referral_code" | "list_referral_codes" | "list_referrals" | "qualify_referral" | "referral_attribute" | "void_referral";
|
|
2092
|
+
readonly actions: "read" | "write" | "manage";
|
|
2093
|
+
readonly hooks: never;
|
|
2094
|
+
readonly entities: {
|
|
2095
|
+
readonly "referral_code": "id" | "tenant_id" | "code" | "referrer_id" | "invitation_id" | "reward_amount" | "reward_unit" | "max_uses" | "uses" | "active" | "expires_at" | "created_at";
|
|
2096
|
+
readonly "referral": "id" | "tenant_id" | "code_id" | "referrer_id" | "referred_user_id" | "referred_organization_id" | "referred_email" | "status" | "reward_amount" | "reward_unit" | "qualified_at" | "qualified_by" | "rewarded_at" | "ledger_transaction_id" | "voided_at" | "created_at";
|
|
2097
|
+
};
|
|
2098
|
+
readonly primary: "referral_code";
|
|
2099
|
+
readonly formerKeys: never;
|
|
2100
|
+
};
|
|
2062
2101
|
readonly "relations": {
|
|
2063
2102
|
readonly tables: {
|
|
2064
2103
|
readonly "relations": "id" | "tenant" | "kind" | "sourceType" | "sourceId" | "targetType" | "targetId" | "data" | "createdBy" | "createdAt";
|
|
@@ -2212,13 +2251,22 @@ interface BlockNameRegistry {
|
|
|
2212
2251
|
readonly primary: never;
|
|
2213
2252
|
readonly formerKeys: never;
|
|
2214
2253
|
};
|
|
2254
|
+
readonly "seeds": {
|
|
2255
|
+
readonly tables: {};
|
|
2256
|
+
readonly functions: never;
|
|
2257
|
+
readonly actions: never;
|
|
2258
|
+
readonly hooks: never;
|
|
2259
|
+
readonly entities: {};
|
|
2260
|
+
readonly primary: never;
|
|
2261
|
+
readonly formerKeys: never;
|
|
2262
|
+
};
|
|
2215
2263
|
readonly "segments": {
|
|
2216
2264
|
readonly tables: {
|
|
2217
2265
|
readonly "segments": "id" | "tenant" | "name" | "description" | "subjectType" | "conditions" | "memberCount" | "refreshedAt" | "createdBy" | "createdAt" | "updatedAt";
|
|
2218
2266
|
readonly "members": "segment" | "tenant" | "subjectId" | "enteredAt";
|
|
2219
2267
|
};
|
|
2220
2268
|
readonly functions: "evaluate_segment" | "list_segment_members" | "refresh_due_segments" | "refresh_segment" | "remove_segment" | "save_segment" | "segment_get" | "segments_list" | "segments_of";
|
|
2221
|
-
readonly actions: "read" | "
|
|
2269
|
+
readonly actions: "read" | "write";
|
|
2222
2270
|
readonly hooks: never;
|
|
2223
2271
|
readonly entities: {
|
|
2224
2272
|
readonly "segment": "id" | "tenant_id" | "name" | "description" | "subject_type" | "conditions" | "member_count" | "refreshed_at" | "created_by" | "created_at" | "updated_at";
|
|
@@ -2684,7 +2732,7 @@ interface BlockNameRegistry {
|
|
|
2684
2732
|
readonly "endpoints": "id" | "tenant" | "name" | "tokenHash" | "verify" | "secret" | "secretId" | "previousSecret" | "previousSecretId" | "previousSecretExpiresAt" | "signatureHeader" | "enabled" | "maxBodyBytes" | "receiveCount" | "lastReceivedAt" | "lastStatus" | "metadata" | "subjectType" | "subjectId" | "createdBy" | "createdAt" | "updatedAt";
|
|
2685
2733
|
};
|
|
2686
2734
|
readonly functions: "create_incoming_webhook" | "delete_incoming_webhook" | "drop_incoming_webhook_secret" | "incoming_webhook_by_token" | "incoming_webhook_subject_readable" | "incoming_webhook_tenant_ids" | "list_incoming_webhooks" | "record_incoming_webhook" | "rotate_incoming_webhook" | "rotate_incoming_webhook_secret" | "set_incoming_webhook_enabled" | "update_incoming_webhook";
|
|
2687
|
-
readonly actions: "create" | "update" | "delete" | "
|
|
2735
|
+
readonly actions: "create" | "update" | "delete" | "read";
|
|
2688
2736
|
readonly hooks: never;
|
|
2689
2737
|
readonly entities: {};
|
|
2690
2738
|
readonly primary: never;
|
|
@@ -2697,7 +2745,7 @@ interface BlockNameRegistry {
|
|
|
2697
2745
|
readonly "deliveries": "id" | "tenant" | "endpoint" | "event" | "run" | "type" | "subject" | "payload" | "status" | "attempt" | "availableAt" | "leasedUntil" | "responseStatus" | "responseBody" | "durationMs" | "lastError" | "processedAt" | "createdAt" | "updatedAt";
|
|
2698
2746
|
};
|
|
2699
2747
|
readonly functions: "claim_webhook_deliveries" | "complete_webhook_delivery" | "create_webhook_endpoint" | "delete_webhook_endpoint" | "dispatch_webhook" | "drop_webhook_vault_secret" | "list_webhook_endpoints" | "publish_webhook_event" | "publish_webhook_events" | "purge_webhook_deliveries" | "redeliver_webhook" | "reset_webhook_endpoint" | "rotate_webhook_secret" | "update_webhook_endpoint" | "webhook_secrets";
|
|
2700
|
-
readonly actions: "manage" | "
|
|
2748
|
+
readonly actions: "manage" | "read";
|
|
2701
2749
|
readonly hooks: "after_webhook_delivery";
|
|
2702
2750
|
readonly entities: {
|
|
2703
2751
|
readonly "webhook_endpoint": "id" | "organization_id" | "name" | "url" | "enabled" | "event_types" | "permissions" | "batch" | "signing" | "format" | "credential_ref" | "failing_since" | "disabled_at" | "disabled_reason" | "created_by" | "created_at" | "updated_at";
|
|
@@ -2721,7 +2769,7 @@ interface BlockNameRegistry {
|
|
|
2721
2769
|
readonly "alertFires": "alert" | "run" | "firedAt";
|
|
2722
2770
|
};
|
|
2723
2771
|
readonly functions: "check_workflow_alerts" | "fork_workflow_definition" | "publish_workflow_version" | "record_workflow_node_run" | "remove_workflow_alert" | "remove_workflow_credential" | "remove_workflow_definition" | "remove_workflow_trigger" | "resolve_workflow_definition" | "rotate_workflow_webhook_token" | "save_workflow_alert" | "save_workflow_credential" | "save_workflow_definition" | "save_workflow_draft" | "save_workflow_trigger" | "set_workflow_definition_grant" | "set_workflow_definition_purpose" | "set_workflow_opt_out" | "start_test_run" | "sync_workflow_node_kinds" | "sync_workflow_steps" | "validate_workflow_graph" | "workflow_alerts_list" | "workflow_credential_get" | "workflow_credentials_list" | "workflow_definition_get" | "workflow_definition_grants_list" | "workflow_definitions_list" | "workflow_graph_permissions" | "workflow_node_kinds_list" | "workflow_node_runs_list" | "workflow_run_principal" | "workflow_runs_alert" | "workflow_start_target" | "workflow_steps_list" | "workflow_subject_start_target" | "workflow_triggers_list" | "workflow_version_get" | "workflow_versions_list" | "workflow_webhook_target";
|
|
2724
|
-
readonly actions: "read" | "run" | "
|
|
2772
|
+
readonly actions: "read" | "run" | "write" | "publish" | "manage";
|
|
2725
2773
|
readonly hooks: never;
|
|
2726
2774
|
readonly entities: {
|
|
2727
2775
|
readonly "workflow_definition": "id" | "tenant_id" | "slug" | "name" | "description" | "subject_types" | "scope" | "forked_from" | "forked_from_version" | "restricted" | "purpose" | "is_default" | "created_by" | "created_at" | "updated_at";
|
|
@@ -2746,7 +2794,7 @@ interface BlockNameRegistry {
|
|
|
2746
2794
|
readonly "startRequests": "id" | "key" | "workflow" | "input" | "tenant" | "actor" | "concurrency" | "status" | "notBefore" | "claimedUntil" | "runId" | "createdAt" | "startedAt" | "subjectType" | "subjectId";
|
|
2747
2795
|
};
|
|
2748
2796
|
readonly functions: "acquire_workflow_semaphore" | "advance_workflow_schedule" | "claim_due_workflow_schedules" | "claim_workflow_start_requests" | "create_workflow_schedule" | "mark_workflow_start_request" | "pause_workflow_schedule" | "purge_workflow_runs" | "record_workflow_run" | "release_workflow_semaphore" | "remove_workflow_schedule" | "request_workflow_cancel" | "request_workflow_start" | "workflow_admission_active" | "workflow_run_get" | "workflow_runs_changed" | "workflow_runs_list" | "workflow_schedules_list";
|
|
2749
|
-
readonly actions: "read" | "run" | "
|
|
2797
|
+
readonly actions: "read" | "run" | "manage";
|
|
2750
2798
|
readonly hooks: "before_workflow_schedule_create" | "after_workflow_schedule_create" | "before_workflow_start_request" | "after_workflow_start_request";
|
|
2751
2799
|
readonly entities: {};
|
|
2752
2800
|
readonly primary: never;
|
|
@@ -2867,6 +2915,12 @@ type AccountingSqlOptions = {
|
|
|
2867
2915
|
* to post.
|
|
2868
2916
|
*/
|
|
2869
2917
|
readonly autoPost?: boolean;
|
|
2918
|
+
/**
|
|
2919
|
+
* Whether `schedule_revenue_recognition` spreads an amount over the months it
|
|
2920
|
+
* is earned in and the `revenue_recognition` period posts each month when it
|
|
2921
|
+
* closes (default `false`).
|
|
2922
|
+
*/
|
|
2923
|
+
readonly recognition?: boolean;
|
|
2870
2924
|
};
|
|
2871
2925
|
/** `blocks.activities.options`. */
|
|
2872
2926
|
type ActivitiesSqlOptions = {
|
|
@@ -3519,6 +3573,15 @@ type CommentsSqlOptions = {
|
|
|
3519
3573
|
/** `false` sends no `comment.posted` notification to the record's followers. */
|
|
3520
3574
|
readonly notify?: boolean;
|
|
3521
3575
|
};
|
|
3576
|
+
/** `blocks.commissions.options`. */
|
|
3577
|
+
type CommissionsSqlOptions = {
|
|
3578
|
+
/**
|
|
3579
|
+
* Accrue a commission for the seller (`created_by`) when a sales invoice
|
|
3580
|
+
* becomes paid. Needs the invoices block with a `createdBy` column. Default
|
|
3581
|
+
* `false`.
|
|
3582
|
+
*/
|
|
3583
|
+
readonly invoices?: boolean;
|
|
3584
|
+
};
|
|
3522
3585
|
/** `blocks.compliance.options`. */
|
|
3523
3586
|
type ComplianceSqlOptions = {
|
|
3524
3587
|
readonly extraColumns?: ExtraColumns;
|
|
@@ -4730,6 +4793,15 @@ type QuotesSqlOptions = {
|
|
|
4730
4793
|
type ReactionsSqlOptions = {
|
|
4731
4794
|
readonly topic?: string;
|
|
4732
4795
|
};
|
|
4796
|
+
/** `blocks.referrals.options`. */
|
|
4797
|
+
type ReferralsSqlOptions = {
|
|
4798
|
+
/**
|
|
4799
|
+
* Attribute the referral of an invitation's code to the user who accepts the
|
|
4800
|
+
* invitation. Needs the invitations block with an `acceptedBy` column.
|
|
4801
|
+
* Default `false`.
|
|
4802
|
+
*/
|
|
4803
|
+
readonly invitations?: boolean;
|
|
4804
|
+
};
|
|
4733
4805
|
/** `blocks.reminders.options`. */
|
|
4734
4806
|
type RemindersSqlOptions = {
|
|
4735
4807
|
readonly ruleFormat?: string;
|
|
@@ -5173,6 +5245,7 @@ interface BlockOptionsRegistry {
|
|
|
5173
5245
|
readonly "chat-sdk-state": None;
|
|
5174
5246
|
readonly collections: CollectionsSqlOptions;
|
|
5175
5247
|
readonly comments: CommentsSqlOptions;
|
|
5248
|
+
readonly commissions: CommissionsSqlOptions;
|
|
5176
5249
|
readonly compliance: ComplianceSqlOptions;
|
|
5177
5250
|
readonly connectors: ConnectorsSqlOptions;
|
|
5178
5251
|
readonly consents: None;
|
|
@@ -5205,6 +5278,7 @@ interface BlockOptionsRegistry {
|
|
|
5205
5278
|
readonly guests: GuestsSqlOptions;
|
|
5206
5279
|
readonly hiring: HiringSqlOptions;
|
|
5207
5280
|
readonly housekeeping: None;
|
|
5281
|
+
readonly seeds: None;
|
|
5208
5282
|
readonly idempotency: None;
|
|
5209
5283
|
readonly identities: IdentitiesSqlOptions;
|
|
5210
5284
|
readonly impersonation: ImpersonationSqlOptions;
|
|
@@ -5271,6 +5345,7 @@ interface BlockOptionsRegistry {
|
|
|
5271
5345
|
readonly "read-sets": None;
|
|
5272
5346
|
readonly recurrence: None;
|
|
5273
5347
|
readonly "realtime-tables": None;
|
|
5348
|
+
readonly referrals: ReferralsSqlOptions;
|
|
5274
5349
|
readonly relations: RelationsSqlOptions;
|
|
5275
5350
|
readonly reminders: RemindersSqlOptions;
|
|
5276
5351
|
readonly "reserved-slugs": ReservedSlugsSqlOptions;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { a as sqlString } from "./template-1e2akYYK.js";
|
|
2
2
|
import { C as extraFieldsJson, o as SERVICE_CALLER, w as fail } from "./shared-9pBD72iX.js";
|
|
3
3
|
import { n as blockOptions, r as option } from "./options-Z-bd_H1E.js";
|
|
4
|
-
import { n as OPERATIONS } from "./permissions-model-
|
|
4
|
+
import { n as OPERATIONS } from "./permissions-model-COgjsFbE.js";
|
|
5
5
|
// src/blocks/care-plans/options.ts
|
|
6
6
|
const carePlansSqlOptions = blockOptions({
|
|
7
7
|
codeSystems: option.strings(),
|
package/dist/claims/index.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ import { g as isSessionSnapshot, m as SessionSnapshot } from "../resolve-DwpH61t
|
|
|
2
2
|
import { a as PERMISSIONS_TRUNCATED_CLAIM, i as PERMISSIONS_CLAIM, n as FEATURES_CLAIM, o as PERMISSION_CAP_CLAIM, r as MEMBERSHIPS_CLAIM, t as AUTHZ_VERSION_CLAIM } from "../index-IKfbX_39.js";
|
|
3
3
|
import { G as permissionCapOf } from "../types-Dwzaxp9p.js";
|
|
4
4
|
import { a as isUserSession, i as isApiKeySession, n as AuthSession, r as UserSession, t as ApiKeySession } from "../view-UrPRDF5s.js";
|
|
5
|
-
import { i as decodeEntitlementClaim, o as ClaimsRecord, r as MembershipClaim, s as ClaimsSource, t as EntitlementClaimOptions } from "../entitlements-
|
|
6
|
-
import { t as tenantOf } from "../tenant-
|
|
7
|
-
import { n as isTruncated, r as permissionsOf, t as PermissionsOfOptions } from "../permissions-
|
|
5
|
+
import { i as decodeEntitlementClaim, o as ClaimsRecord, r as MembershipClaim, s as ClaimsSource, t as EntitlementClaimOptions } from "../entitlements-5nbdIitJ.js";
|
|
6
|
+
import { t as tenantOf } from "../tenant-DHLx2ZkL.js";
|
|
7
|
+
import { n as isTruncated, r as permissionsOf, t as PermissionsOfOptions } from "../permissions-C7GgjgTA.js";
|
|
8
8
|
export { AUTHZ_VERSION_CLAIM, type ApiKeySession, type AuthSession, type ClaimsRecord, type ClaimsSource, type EntitlementClaimOptions, FEATURES_CLAIM, MEMBERSHIPS_CLAIM, type MembershipClaim, PERMISSIONS_CLAIM, PERMISSIONS_TRUNCATED_CLAIM, PERMISSION_CAP_CLAIM, type PermissionsOfOptions, type SessionSnapshot, type UserSession, decodeEntitlementClaim, isApiKeySession, isSessionSnapshot, isTruncated, isUserSession, permissionCapOf, permissionsOf, tenantOf };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { n as CliError } from "./errors-DcJ_PayO.js";
|
|
2
2
|
import { o as providerLabel } from "./authorization-DJkkOjjG.js";
|
|
3
3
|
import { r as applyPlan } from "./files-DQayErI8.js";
|
|
4
|
-
import { i as providerOwnsMemberships, r as layoutFor, t as MEMBERSHIP_CLAIM_MODULES } from "./providers-
|
|
4
|
+
import { i as providerOwnsMemberships, r as layoutFor, t as MEMBERSHIP_CLAIM_MODULES } from "./providers-Dr7FyvN1.js";
|
|
5
5
|
import { n as addBlocksToJson, s as keyText, t as addBlocksToConfig } from "./config-edit-C6sQ1MqT.js";
|
|
6
|
-
import { a as write, i as unlistedModuleFiles, r as nextStep } from "./sync-
|
|
6
|
+
import { a as write, i as unlistedModuleFiles, r as nextStep } from "./sync-x1M-Ywqf.js";
|
|
7
7
|
import { basename, dirname } from "node:path";
|
|
8
8
|
import { readFile } from "node:fs/promises";
|
|
9
9
|
import { DEFAULT_CONVENTIONS, PRESET_CATALOG, resolvePreset } from "better-supabase/preset";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { t as addCommand } from "./add-yTy1CuMe.js";
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import { a as list, m as commandMeta, r as defineCliCommand } from "./command-bvbsvYpo.js";
|
|
2
2
|
import { i as plain } from "./style-B5-nByxb.js";
|
|
3
|
-
import { t as VERSION } from "./version-
|
|
3
|
+
import { t as VERSION } from "./version-CvNMxnwv.js";
|
|
4
4
|
import { a as parseNames, n as CliError } from "./errors-DcJ_PayO.js";
|
|
5
5
|
import { r as readIfExists, t as display } from "./io-CQzy8PEZ.js";
|
|
6
|
-
import { t as loadSnapshot } from "./snapshot-
|
|
6
|
+
import { t as loadSnapshot } from "./snapshot-BmBrjk2b.js";
|
|
7
7
|
import { t as isRecord } from "./guards-DxwRG0Uv.js";
|
|
8
|
-
import { a as toCatalog } from "./source-
|
|
9
|
-
import { a as findConfig, f as INTEGRATIONS, s as loadConfig } from "./config-
|
|
8
|
+
import { a as toCatalog } from "./source-CEPki4I3.js";
|
|
9
|
+
import { a as findConfig, f as INTEGRATIONS, s as loadConfig } from "./config-C-DXllAX.js";
|
|
10
10
|
import { i as changeLines, n as PLAN_ARGS, r as applyPlan, u as planResult } from "./files-DQayErI8.js";
|
|
11
|
-
import { n as adoptionContext } from "./app-tables-
|
|
12
|
-
import { n as dataMigration } from "./migrations-
|
|
13
|
-
import { a as wiringFiles, d as libEntry, f as needsLib, i as wiringChecklist, l as importFrom, n as latestMigrationVersion, o as wiringFor, p as resolveIntegrations, s as TEMPLATES, u as isIntegration } from "./migration-safety-
|
|
11
|
+
import { n as adoptionContext } from "./app-tables-CmY2GVb3.js";
|
|
12
|
+
import { n as dataMigration } from "./migrations-Dob5hF6K.js";
|
|
13
|
+
import { a as wiringFiles, d as libEntry, f as needsLib, i as wiringChecklist, l as importFrom, n as latestMigrationVersion, o as wiringFor, p as resolveIntegrations, s as TEMPLATES, u as isIntegration } from "./migration-safety-CVtbyZQ4.js";
|
|
14
14
|
import { n as installCommand, t as detectProject } from "./detect-BcUDaO8I.js";
|
|
15
15
|
import { d as setBlockInJson, f as setPathInConfig, h as setPresetInJson, m as setPresetInConfig, n as addBlocksToJson, p as setPathInJson, r as addBlocksToWiring, t as addBlocksToConfig, u as setBlockInConfig } from "./config-edit-C6sQ1MqT.js";
|
|
16
|
-
import { t as syncModules } from "./sync-
|
|
17
|
-
import { t as addModules } from "./add-
|
|
18
|
-
import { t as appTablePlan } from "./app-table-files-
|
|
19
|
-
import { t as blockNames } from "./blocks-
|
|
20
|
-
import { i as sourceArgs, n as SOURCE_ARGS } from "./source-args-
|
|
16
|
+
import { t as syncModules } from "./sync-x1M-Ywqf.js";
|
|
17
|
+
import { t as addModules } from "./add-BhQZHdAv.js";
|
|
18
|
+
import { t as appTablePlan } from "./app-table-files-CSZU_cFC.js";
|
|
19
|
+
import { t as blockNames } from "./blocks-BO-v5N1q.js";
|
|
20
|
+
import { i as sourceArgs, n as SOURCE_ARGS } from "./source-args-Deg53QHe.js";
|
|
21
21
|
import { existsSync } from "node:fs";
|
|
22
22
|
import { dirname, join, posix, resolve } from "node:path";
|
|
23
23
|
import { readFile } from "node:fs/promises";
|
|
@@ -679,14 +679,34 @@ function writeDesign(file, source, design, config) {
|
|
|
679
679
|
reason: problem
|
|
680
680
|
};
|
|
681
681
|
}
|
|
682
|
-
for (const [
|
|
683
|
-
|
|
684
|
-
|
|
682
|
+
for (const [path, value] of [
|
|
683
|
+
[[
|
|
684
|
+
"database",
|
|
685
|
+
"seed",
|
|
686
|
+
"defaults",
|
|
687
|
+
"variants"
|
|
688
|
+
], design.seeds?.variants],
|
|
689
|
+
[[
|
|
685
690
|
"database",
|
|
686
691
|
"seed",
|
|
687
692
|
"defaults",
|
|
688
|
-
|
|
689
|
-
],
|
|
693
|
+
"locale"
|
|
694
|
+
], design.seeds?.locale],
|
|
695
|
+
[[
|
|
696
|
+
"database",
|
|
697
|
+
"seed",
|
|
698
|
+
"sample",
|
|
699
|
+
"size"
|
|
700
|
+
], design.seeds?.sample?.size],
|
|
701
|
+
[[
|
|
702
|
+
"database",
|
|
703
|
+
"seed",
|
|
704
|
+
"sample",
|
|
705
|
+
"seed"
|
|
706
|
+
], design.seeds?.sample?.seed]
|
|
707
|
+
]) {
|
|
708
|
+
if (value === void 0) continue;
|
|
709
|
+
const problem = apply(path, value);
|
|
690
710
|
if (problem !== void 0) return {
|
|
691
711
|
ok: false,
|
|
692
712
|
reason: problem
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { n as CliError } from "./errors-DcJ_PayO.js";
|
|
2
|
-
import { h as subjectTagArgs } from "./config-
|
|
2
|
+
import { h as subjectTagArgs } from "./config-C-DXllAX.js";
|
|
3
3
|
import { d as readSupabaseToml, n as declarativeSchemasDir } from "./supabase-toml-B6-eEV5p.js";
|
|
4
|
-
import { r as layoutFor } from "./providers-
|
|
5
|
-
import { r as literal } from "./live-
|
|
4
|
+
import { r as layoutFor } from "./providers-Dr7FyvN1.js";
|
|
5
|
+
import { r as literal } from "./live-B86Xvfaj.js";
|
|
6
6
|
import { join, resolve, sep } from "node:path";
|
|
7
7
|
import { FIELD_FORMATS } from "better-supabase/config";
|
|
8
8
|
import { APP_TABLES_MODULE, renderBlocks, setTableFeature } from "better-supabase/sql";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as accessProviderMode } from "./authorization-DJkkOjjG.js";
|
|
2
|
-
import { s as writtenByBlocks } from "./sql-layout-
|
|
3
|
-
import { s as qualified, t as catalogOf } from "./shared-
|
|
2
|
+
import { s as writtenByBlocks } from "./sql-layout-BevHhOrq.js";
|
|
3
|
+
import { s as qualified, t as catalogOf } from "./shared-d7o6xxEZ.js";
|
|
4
4
|
import { declaredTables, resolveBlocks } from "better-supabase/sql";
|
|
5
5
|
// src/cli/doctor/app-tables.ts
|
|
6
6
|
/**
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { m as commandMeta, r as defineCliCommand } from "./command-bvbsvYpo.js";
|
|
2
2
|
import { n as CliError, r as errorText } from "./errors-DcJ_PayO.js";
|
|
3
3
|
import { i as isLocalDatabaseUrl, r as databaseHost } from "./agent-Tqq3MAqx.js";
|
|
4
|
-
import { l as stdinDatabaseUrl, n as databaseUrl } from "./config-
|
|
4
|
+
import { l as stdinDatabaseUrl, n as databaseUrl } from "./config-C-DXllAX.js";
|
|
5
5
|
import { t as connect } from "./db-B8zfxjl2.js";
|
|
6
|
-
import { n as ident } from "./live-
|
|
7
|
-
import { r as STACK_ARG, t as DB_URL_STDIN_ARG } from "./source-args-
|
|
6
|
+
import { n as ident } from "./live-B86Xvfaj.js";
|
|
7
|
+
import { r as STACK_ARG, t as DB_URL_STDIN_ARG } from "./source-args-Deg53QHe.js";
|
|
8
8
|
// src/cli/commands/backfill.ts
|
|
9
9
|
const DEFAULT_BATCH = 1e3;
|
|
10
10
|
const ARGS = {
|
package/dist/cli/bin.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { m as commandMeta, r as defineCliCommand } from "./command-bvbsvYpo.js";
|
|
2
2
|
import { n as CliError } from "./errors-DcJ_PayO.js";
|
|
3
3
|
import { t as SQL_ARGS } from "./args-_ZVgRBkx.js";
|
|
4
|
-
import { n as listModules, t as printModule } from "./print-
|
|
4
|
+
import { n as listModules, t as printModule } from "./print-scQOZbuq.js";
|
|
5
5
|
import { t as decodePresetInput } from "./preset-BQnjDCSR.js";
|
|
6
6
|
import { BLOCK_CATEGORIES } from "better-supabase/blocks";
|
|
7
7
|
import { PRESET_CATALOG, PRESET_NAMES, glueCommand } from "better-supabase/preset";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { n as blocksListCommand, r as blocksSearchCommand, i as blocksViewCommand } from "./blocks-
|
|
1
|
+
export { n as blocksListCommand, r as blocksSearchCommand, i as blocksViewCommand } from "./blocks-BO-v5N1q.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as VERSION } from "./version-
|
|
1
|
+
import { t as VERSION } from "./version-CvNMxnwv.js";
|
|
2
2
|
import { dirname, resolve } from "node:path";
|
|
3
3
|
import { createHash } from "node:crypto";
|
|
4
4
|
import { mkdir, readFile, rename, rm, writeFile } from "node:fs/promises";
|
|
@@ -4,7 +4,7 @@ import { n as CliError } from "./errors-DcJ_PayO.js";
|
|
|
4
4
|
import { t as migrateCliCall } from "./moved-btVl2MAQ.js";
|
|
5
5
|
import { t as isRecord$1 } from "./guards-DxwRG0Uv.js";
|
|
6
6
|
import { a as changedFiles, i as changeLines, r as applyPlan, u as planResult } from "./files-DQayErI8.js";
|
|
7
|
-
import { i as schemasDirOf, n as migrationsDir, s as writtenByBlocks } from "./sql-layout-
|
|
7
|
+
import { i as schemasDirOf, n as migrationsDir, s as writtenByBlocks } from "./sql-layout-BevHhOrq.js";
|
|
8
8
|
import { a as configObject, c as mask, f as setPathInConfig, g as skipSpace, h as setPresetInJson, i as closingIndex, l as properties, m as setPresetInConfig, o as indentAt, p as setPathInJson, t as addBlocksToConfig, v as codeRanges } from "./config-edit-C6sQ1MqT.js";
|
|
9
9
|
import { i as legacyPrefixNames, n as LEGACY_PREFIXES, t as LEGACY_CLAIMS } from "./legacy-prefix-D8Jfku6I.js";
|
|
10
10
|
import { a as PLUGIN_IMPORT_RENAMES, l as SUBPATH_RENAMES_0_15, n as rewriteObjectInputCalls, r as BLOCK_EXPORT_RENAMES, s as REVIEW_0_15, u as renameSubpaths } from "./codemod-object-inputs-dn5dnZO_.js";
|
|
@@ -1886,7 +1886,15 @@ strictObject({
|
|
|
1886
1886
|
positions: optional(record(string(), pipe(array(number()), length(2)))),
|
|
1887
1887
|
seeds: optional(strictObject({
|
|
1888
1888
|
variants: optional(record(string(), string())),
|
|
1889
|
-
locale: optional(string())
|
|
1889
|
+
locale: optional(string()),
|
|
1890
|
+
sample: optional(strictObject({
|
|
1891
|
+
size: picklist([
|
|
1892
|
+
"s",
|
|
1893
|
+
"m",
|
|
1894
|
+
"l"
|
|
1895
|
+
]),
|
|
1896
|
+
seed: pipe(number(), integer(), minValue(0))
|
|
1897
|
+
}))
|
|
1890
1898
|
}))
|
|
1891
1899
|
});
|
|
1892
1900
|
const ConfigSchema = strictObject({
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { t as applyEnvironment, n as databaseUrl, r as defaultConfig, i as discoverConfig, a as findConfig, o as importExport, s as loadConfig, c as readSupabasePort, l as stdinDatabaseUrl } from "./config-
|
|
1
|
+
export { t as applyEnvironment, n as databaseUrl, r as defaultConfig, i as discoverConfig, a as findConfig, o as importExport, s as loadConfig, c as readSupabasePort, l as stdinDatabaseUrl } from "./config-C-DXllAX.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { r as readIfExists } from "./io-CQzy8PEZ.js";
|
|
2
|
-
import { t as CACHE_DIR } from "./cache-
|
|
3
|
-
import { x as installedVersion } from "./snapshot-
|
|
2
|
+
import { t as CACHE_DIR } from "./cache-VZU4FIOF.js";
|
|
3
|
+
import { x as installedVersion } from "./snapshot-BmBrjk2b.js";
|
|
4
4
|
import { t as i } from "./jsonc-u_UiXFxs.js";
|
|
5
5
|
import { resolve } from "node:path";
|
|
6
6
|
import { createHash } from "node:crypto";
|
|
@@ -2,11 +2,11 @@ import { m as commandMeta, r as defineCliCommand } from "./command-bvbsvYpo.js";
|
|
|
2
2
|
import { n as CliError, r as errorText } from "./errors-DcJ_PayO.js";
|
|
3
3
|
import { i as isLocalDatabaseUrl, r as databaseHost } from "./agent-Tqq3MAqx.js";
|
|
4
4
|
import { t as display } from "./io-CQzy8PEZ.js";
|
|
5
|
-
import { l as stdinDatabaseUrl, n as databaseUrl } from "./config-
|
|
5
|
+
import { l as stdinDatabaseUrl, n as databaseUrl } from "./config-C-DXllAX.js";
|
|
6
6
|
import { d as readSupabaseToml, f as schemaPaths, n as declarativeSchemasDir, p as sqlWorkflow } from "./supabase-toml-B6-eEV5p.js";
|
|
7
7
|
import { r as supabaseCli } from "./exec-LJeQZ_9q.js";
|
|
8
8
|
import { t as connect } from "./db-B8zfxjl2.js";
|
|
9
|
-
import { r as STACK_ARG, t as DB_URL_STDIN_ARG } from "./source-args-
|
|
9
|
+
import { r as STACK_ARG, t as DB_URL_STDIN_ARG } from "./source-args-Deg53QHe.js";
|
|
10
10
|
import { a as migrationFiles, i as isShadowFailure, o as migrationVersion, r as inStackDiff, t as MIGRATION_HEADER } from "./in-stack-diff-huI7fGMX.js";
|
|
11
11
|
import { dirname, join, resolve } from "node:path";
|
|
12
12
|
import { mkdir, readFile, writeFile } from "node:fs/promises";
|