better-supabase 0.48.0 → 0.49.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-D6Na4nwb.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-Pd7nOPv3.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-4-omCrbh.js +1 -0
- package/dist/cli/{add-BiX01SYs.js → add-BXfK7N0H.js} +2 -2
- package/dist/cli/{add-BfnDHlvk.js → add-Ca3FNbhm.js} +37 -17
- package/dist/cli/{app-table-files-k2OIuQXL.js → app-table-files-BR0zwJ7T.js} +3 -3
- package/dist/cli/{app-tables-CB9PQrKi.js → app-tables-DAHcDTFh.js} +2 -2
- package/dist/cli/{backfill-CpZgv1A6.js → backfill-DHD9e6XO.js} +3 -3
- package/dist/cli/bin.js +1 -1
- package/dist/cli/{blocks-CGGPe0K4.js → blocks-C4J4d_Jx.js} +1 -1
- package/dist/cli/{blocks-DE0qZ1Yz.js → blocks-DtEsw6CG.js} +1 -1
- package/dist/cli/{cache-XYhIgXzI.js → cache-DyhfGbUV.js} +1 -1
- package/dist/cli/{codemod-BWmvfKSo.js → codemod-B7EdR7Fu.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-BM9asZuL.js} +2 -2
- package/dist/cli/{db-BV4gtLuC.js → db-CVoN3aLl.js} +2 -2
- package/dist/cli/{doctor-Be05oUmw.js → doctor-BuE0Ry7T.js} +134 -19
- package/dist/cli/{gen-z-_Dpjmo.js → gen-DMAd__D1.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-BfpkhVgY.js} +9 -9
- package/dist/cli/{live-J-In94dl.js → live-XBM0kzT3.js} +2 -2
- package/dist/cli/{mcp-C7mf6KH9.js → mcp-C9HqqPIV.js} +2 -2
- package/dist/cli/{metadata-CYDEPSi_.js → metadata-dYoVRApT.js} +3 -3
- package/dist/cli/{migrate-rQRFctMv.js → migrate-DLWnaHNN.js} +1 -1
- package/dist/cli/{migration-safety-B2AVPCUM.js → migration-safety-Bh7VzARh.js} +2 -2
- package/dist/cli/{migrations-ClUStdUL.js → migrations-Cq5hkJsa.js} +2 -2
- package/dist/cli/{module-migration-BsnMUveg.js → module-migration-BUd_MAbE.js} +2 -2
- package/dist/cli/{powersync-BwNqqNym.js → powersync-Cb8xtLDc.js} +3 -3
- package/dist/cli/powersync-ZBM_emZL.js +1 -0
- package/dist/cli/{print-YW7AmWMX.js → print-BVeE5vr_.js} +2 -2
- package/dist/cli/{providers-BsjqZkxi.js → providers-xmyaROnG.js} +1 -1
- package/dist/cli/{prune-workflows-CO0e6RBk.js → prune-workflows-DUOBOuHp.js} +3 -3
- package/dist/cli/{remove-BA8niaOg.js → remove-BuasHmdF.js} +6 -6
- package/dist/cli/{render-Bn_Tmgd6.js → render-Hvu_ZKtr.js} +4 -4
- package/dist/cli/{run-DT8Mga9C.js → run-DMZQUy5b.js} +33 -33
- package/dist/cli/{run-DF3mWO-N.js → run-KdsUN7Qj.js} +9 -9
- 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-3cetvs_N.js} +1 -1
- package/dist/cli/{snapshot-CcduGETT.js → snapshot-D7h2oWfS.js} +3 -3
- package/dist/cli/{source-D5-MimKN.js → source-ENOc1zZ9.js} +1 -1
- package/dist/cli/{source-args-jRFa0bN2.js → source-args-Deg53QHe.js} +1 -1
- package/dist/cli/{spec-Bhcub30h.js → spec-CfKQ2Xxd.js} +1 -1
- package/dist/cli/{spec-CabrFVxG.js → spec-DGaKqtfR.js} +2 -2
- package/dist/cli/{sql-layout-BNeDrYab.js → sql-layout-CGlyhvQ1.js} +2 -2
- package/dist/cli/{sync-CMnEdcF7.js → sync-DFJfT7dH.js} +4 -4
- package/dist/cli/{upgrade-DWNNxAoj.js → upgrade-C2Kdvrj-.js} +5 -5
- package/dist/cli/{upgrade-CQiB_nLU.js → upgrade-DSi7r0MG.js} +2 -2
- package/dist/cli/{version-PZu75_DM.js → version-AGe2VWGm.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-DNwBlpKo.d.ts} +40 -5
- 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-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-B0sgM96O.d.ts → index-D6y6ojUX.d.ts} +2 -2
- 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-B79YuD2v.d.ts → index-EHczIYa7.d.ts} +3 -3
- 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-CwZtBezd.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 +5 -5
- package/dist/sql/index.js +3 -3
- package/dist/{sql-CwBIyfvf.js → sql-BPU70zf9.js} +5334 -1266
- 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-D9r3axee.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 +4 -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
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import { r as errorText } from "./errors-DcJ_PayO.js";
|
|
2
2
|
import { a as sameText, t as display } from "./io-CQzy8PEZ.js";
|
|
3
|
-
import { c as writeAtomic, o as storeTypesModule, s as typesModuleKey, t as CACHE_DIR } from "./cache-
|
|
3
|
+
import { c as writeAtomic, o as storeTypesModule, s as typesModuleKey, t as CACHE_DIR } from "./cache-DyhfGbUV.js";
|
|
4
4
|
import { t as byCodePoint } from "./compare-yl4sSwVn.js";
|
|
5
|
-
import { _ as stabilizeMetadata, b as typegenVersionNotice, p as oxfmtInstalled, t as loadSnapshot, y as typegenVersion } from "./snapshot-
|
|
6
|
-
import { n as render } from "./render-
|
|
5
|
+
import { _ as stabilizeMetadata, b as typegenVersionNotice, p as oxfmtInstalled, t as loadSnapshot, y as typegenVersion } from "./snapshot-D7h2oWfS.js";
|
|
6
|
+
import { n as render } from "./render-Hvu_ZKtr.js";
|
|
7
7
|
import { a as moduleKeyProblems, c as unsafeKey, i as entitlementsMode, n as accessRequirements, o as providerLabel, r as entitlementRequirements } from "./authorization-DJkkOjjG.js";
|
|
8
|
-
import { s as schemaStampPath } from "./content-mapper-
|
|
8
|
+
import { s as schemaStampPath } from "./content-mapper-BM9asZuL.js";
|
|
9
9
|
import { a as changedFiles, d as fileDiff, i as changeLines, r as applyPlan, s as hasConflicts } from "./files-DQayErI8.js";
|
|
10
|
-
import { n as migrationsDir } from "./sql-layout-
|
|
11
|
-
import { l as tableObject, n as exposed, o as policyObject, s as qualified, t as catalogOf } from "./shared-
|
|
12
|
-
import { n as adoptionContext, r as appTablesOf, t as accessModule } from "./app-tables-
|
|
13
|
-
import { a as compiledReadSets } from "./providers-
|
|
14
|
-
import { c as sameModuleMigration, l as writeLatestMigration, n as READ_SETS_SUFFIX, r as latestMigration, u as writesMigrations } from "./module-migration-
|
|
10
|
+
import { n as migrationsDir } from "./sql-layout-CGlyhvQ1.js";
|
|
11
|
+
import { l as tableObject, n as exposed, o as policyObject, s as qualified, t as catalogOf } from "./shared-3cetvs_N.js";
|
|
12
|
+
import { n as adoptionContext, r as appTablesOf, t as accessModule } from "./app-tables-DAHcDTFh.js";
|
|
13
|
+
import { a as compiledReadSets } from "./providers-xmyaROnG.js";
|
|
14
|
+
import { c as sameModuleMigration, l as writeLatestMigration, n as READ_SETS_SUFFIX, r as latestMigration, u as writesMigrations } from "./module-migration-BUd_MAbE.js";
|
|
15
15
|
import { existsSync } from "node:fs";
|
|
16
16
|
import { dirname, isAbsolute, relative, resolve, sep } from "node:path";
|
|
17
17
|
import { readFile } from "node:fs/promises";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { m as commandMeta, r as defineCliCommand } from "./command-bvbsvYpo.js";
|
|
2
2
|
import { i as isLocalDatabaseUrl, r as databaseHost } from "./agent-Tqq3MAqx.js";
|
|
3
3
|
import { t as display } from "./io-CQzy8PEZ.js";
|
|
4
|
-
import { l as stdinDatabaseUrl, n as databaseUrl, o as importExport } from "./config-
|
|
4
|
+
import { l as stdinDatabaseUrl, n as databaseUrl, o as importExport } from "./config-C-DXllAX.js";
|
|
5
5
|
import { m as supabaseDir } from "./supabase-toml-B6-eEV5p.js";
|
|
6
6
|
import { t as connect } from "./db-B8zfxjl2.js";
|
|
7
7
|
import { c as insideRoot, i as changeLines, n as PLAN_ARGS, r as applyPlan, s as hasConflicts, u as planResult } from "./files-DQayErI8.js";
|
|
8
8
|
import { d as requestSample, f as tokenPath, l as CloudError, n as cloudUrl, t as cloudFailure, u as activeLogin } from "./account-D7u3LvNN.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 { existsSync } from "node:fs";
|
|
11
11
|
import { dirname, resolve } from "node:path";
|
|
12
12
|
import { mkdir, readFile, writeFile } from "node:fs/promises";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { n as seedCommand } from "./seed-C7eiVpBy.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as toCatalog } from "./source-
|
|
1
|
+
import { a as toCatalog } from "./source-ENOc1zZ9.js";
|
|
2
2
|
import { h as tomlGet, p as sqlWorkflow, r as detectWorkflow } from "./supabase-toml-B6-eEV5p.js";
|
|
3
3
|
// src/cli/doctor/shared.ts
|
|
4
4
|
const catalogs = /* @__PURE__ */ new WeakMap();
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { n as CliError, r as errorText } from "./errors-DcJ_PayO.js";
|
|
2
|
-
import { d as readExtras, l as TYPEGEN_VERSION, r as cachedIntrospect } from "./cache-
|
|
2
|
+
import { d as readExtras, l as TYPEGEN_VERSION, r as cachedIntrospect } from "./cache-DyhfGbUV.js";
|
|
3
3
|
import { t as byCodePoint } from "./compare-yl4sSwVn.js";
|
|
4
|
-
import { n as managementSource, r as pgSource } from "./source-
|
|
5
|
-
import { n as databaseUrl, u as accessToken } from "./config-
|
|
4
|
+
import { n as managementSource, r as pgSource } from "./source-ENOc1zZ9.js";
|
|
5
|
+
import { n as databaseUrl, u as accessToken } from "./config-C-DXllAX.js";
|
|
6
6
|
import { d as readSupabaseToml, f as schemaPaths, h as tomlGet, u as pgFunctionHooks } from "./supabase-toml-B6-eEV5p.js";
|
|
7
7
|
import { t as connect } from "./db-B8zfxjl2.js";
|
|
8
8
|
import { existsSync } from "node:fs";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as VERSION } from "./version-
|
|
1
|
+
import { t as VERSION } from "./version-AGe2VWGm.js";
|
|
2
2
|
import { n as CliError } from "./errors-DcJ_PayO.js";
|
|
3
3
|
import { r as redactUrl } from "./redact--zOGdWzo.js";
|
|
4
4
|
import { n as HTTP_CHANNEL } from "./trace-D3TNqWBg.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { n as CliError } from "./errors-DcJ_PayO.js";
|
|
2
|
-
import { l as stdinDatabaseUrl } from "./config-
|
|
2
|
+
import { l as stdinDatabaseUrl } from "./config-C-DXllAX.js";
|
|
3
3
|
// src/cli/commands/source-args.ts
|
|
4
4
|
/**
|
|
5
5
|
* The connection string from stdin, for commands that connect but read no
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { n as specEmitCommand, i as specValidateCommand } from "./spec-
|
|
1
|
+
export { n as specEmitCommand, i as specValidateCommand } from "./spec-DGaKqtfR.js";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { n as __require, t as __commonJSMin } from "./rolldown-runtime-DegdyBIC.js";
|
|
2
2
|
import { m as commandMeta, r as defineCliCommand } from "./command-bvbsvYpo.js";
|
|
3
|
-
import { t as VERSION } from "./version-
|
|
3
|
+
import { t as VERSION } from "./version-AGe2VWGm.js";
|
|
4
4
|
import { i as failedResult, n as CliError, r as errorText } from "./errors-DcJ_PayO.js";
|
|
5
5
|
import { t as display } from "./io-CQzy8PEZ.js";
|
|
6
|
-
import { c as writeAtomic, t as CACHE_DIR } from "./cache-
|
|
6
|
+
import { c as writeAtomic, t as CACHE_DIR } from "./cache-DyhfGbUV.js";
|
|
7
7
|
import { t as isRecord } from "./guards-DxwRG0Uv.js";
|
|
8
8
|
import { t as importFresh } from "./fresh-import-CdO2oQaQ.js";
|
|
9
9
|
import { a as changedFiles, i as changeLines, r as applyPlan } from "./files-DQayErI8.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { d as TypegenMissingError, i as parseSnapshot } from "./snapshot-
|
|
2
|
-
import { a as toCatalog } from "./source-
|
|
1
|
+
import { d as TypegenMissingError, i as parseSnapshot } from "./snapshot-D7h2oWfS.js";
|
|
2
|
+
import { a as toCatalog } from "./source-ENOc1zZ9.js";
|
|
3
3
|
import { d as readSupabaseToml, f as schemaPaths, n as declarativeSchemasDir, p as sqlWorkflow } from "./supabase-toml-B6-eEV5p.js";
|
|
4
4
|
import { existsSync } from "node:fs";
|
|
5
5
|
import { dirname, join, relative, resolve, sep } from "node:path";
|
|
@@ -2,10 +2,10 @@ import { n as CliError } from "./errors-DcJ_PayO.js";
|
|
|
2
2
|
import { t as display } from "./io-CQzy8PEZ.js";
|
|
3
3
|
import { d as readSupabaseToml, f as schemaPaths, h as tomlGet, i as diffEngine, l as migrationCommand, o as findSupabaseRoot, p as sqlWorkflow, t as PGDELTA_TABLE } from "./supabase-toml-B6-eEV5p.js";
|
|
4
4
|
import { d as fileDiff, i as changeLines, l as keepHandEdit, o as handEditedError, r as applyPlan, t as HAND_EDITED, u as planResult } from "./files-DQayErI8.js";
|
|
5
|
-
import { n as migrationsDir, o as sqlPlan } from "./sql-layout-
|
|
6
|
-
import { r as layoutFor } from "./providers-
|
|
7
|
-
import { a as writeExtensionsMigration, t as DATA_NEXT } from "./migrations-
|
|
8
|
-
import { c as sameModuleMigration, l as writeLatestMigration, r as latestMigration, s as renderModuleMigration, t as MODULES_SUFFIX, u as writesMigrations } from "./module-migration-
|
|
5
|
+
import { n as migrationsDir, o as sqlPlan } from "./sql-layout-CGlyhvQ1.js";
|
|
6
|
+
import { r as layoutFor } from "./providers-xmyaROnG.js";
|
|
7
|
+
import { a as writeExtensionsMigration, t as DATA_NEXT } from "./migrations-Cq5hkJsa.js";
|
|
8
|
+
import { c as sameModuleMigration, l as writeLatestMigration, r as latestMigration, s as renderModuleMigration, t as MODULES_SUFFIX, u as writesMigrations } from "./module-migration-BUd_MAbE.js";
|
|
9
9
|
import { t as loadTopics } from "./topics-Cdg0V7Tt.js";
|
|
10
10
|
import { t as orphanedBlockFiles } from "./orphans-CPcR85QN.js";
|
|
11
11
|
import { dirname, join, resolve } from "node:path";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { t as display } from "./io-CQzy8PEZ.js";
|
|
2
2
|
import { d as fileDiff, i as changeLines, r as applyPlan } from "./files-DQayErI8.js";
|
|
3
|
-
import { n as migrationsDir, o as sqlPlan } from "./sql-layout-
|
|
4
|
-
import { r as layoutFor } from "./providers-
|
|
5
|
-
import { r as migrationStamp } from "./migrations-
|
|
6
|
-
import { a as migrationInstances, c as sameModuleMigration, o as migrationModules, r as latestMigration, s as renderModuleMigration, t as MODULES_SUFFIX, u as writesMigrations } from "./module-migration-
|
|
7
|
-
import { a as write, o as topicPolicyFile, r as nextStep } from "./sync-
|
|
3
|
+
import { n as migrationsDir, o as sqlPlan } from "./sql-layout-CGlyhvQ1.js";
|
|
4
|
+
import { r as layoutFor } from "./providers-xmyaROnG.js";
|
|
5
|
+
import { r as migrationStamp } from "./migrations-Cq5hkJsa.js";
|
|
6
|
+
import { a as migrationInstances, c as sameModuleMigration, o as migrationModules, r as latestMigration, s as renderModuleMigration, t as MODULES_SUFFIX, u as writesMigrations } from "./module-migration-BUd_MAbE.js";
|
|
7
|
+
import { a as write, o as topicPolicyFile, r as nextStep } from "./sync-DFJfT7dH.js";
|
|
8
8
|
import { a as legacyPrefixSql, i as legacyPrefixNames, r as legacyBlocksTableSql } from "./legacy-prefix-D8Jfku6I.js";
|
|
9
9
|
import { resolve } from "node:path";
|
|
10
10
|
import { readFile } from "node:fs/promises";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { 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 syncModules } from "./sync-
|
|
3
|
+
import { t as syncModules } from "./sync-DFJfT7dH.js";
|
|
4
4
|
import { t as SQL_ARGS } from "./args-_ZVgRBkx.js";
|
|
5
|
-
import { t as upgrade } from "./upgrade-
|
|
5
|
+
import { t as upgrade } from "./upgrade-C2Kdvrj-.js";
|
|
6
6
|
// src/cli/commands/upgrade.ts
|
|
7
7
|
const UPGRADE_ARGS = {
|
|
8
8
|
check: {
|
package/dist/client/index.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { a as DataSync, c as LocalTablesOption, i as DataEntry, l as liveEngine, n as DataEngine, o as DataSyncState, r as DataEngineOptions, s as LiveEngineOptions, t as DataChanges, u as memoryEngine } from "../data-engine-BkVCjoLP.js";
|
|
2
|
-
import { n as TopicPort, r as TopicWatch, t as TopicHandle } from "../watch-topic-
|
|
3
|
-
import { a as PickFilesOptions, c as Shortcut, d as UploadPort, f as memoryStorage, i as KeyboardPort, l as StoragePort, n as DeepLinkPort, o as PickedFile, p as storageUpload, r as FilePickerPort, s as PushTokenPort, t as ClientPorts, u as UploadDestination } from "../ports-
|
|
4
|
-
import { a as ClientAuth, i as BindClientOptions, n as AuthUser, o as bindClient, r as BetterClient, t as AuthSnapshot } from "../bind-
|
|
5
|
-
import { a as defineController, i as ControllerState, n as Controller, o as whileSignedIn, r as ControllerParts, t as AuthPort } from "../controller-
|
|
2
|
+
import { n as TopicPort, r as TopicWatch, t as TopicHandle } from "../watch-topic-M1yL9NiW.js";
|
|
3
|
+
import { a as PickFilesOptions, c as Shortcut, d as UploadPort, f as memoryStorage, i as KeyboardPort, l as StoragePort, n as DeepLinkPort, o as PickedFile, p as storageUpload, r as FilePickerPort, s as PushTokenPort, t as ClientPorts, u as UploadDestination } from "../ports-6EMtxwGE.js";
|
|
4
|
+
import { a as ClientAuth, i as BindClientOptions, n as AuthUser, o as bindClient, r as BetterClient, t as AuthSnapshot } from "../bind-ChYzUApb.js";
|
|
5
|
+
import { a as defineController, i as ControllerState, n as Controller, o as whileSignedIn, r as ControllerParts, t as AuthPort } from "../controller-DfgxFNFx.js";
|
|
6
6
|
import { i as authzUserTopic, r as AuthzVersionSource, t as AUTHZ_EVENT } from "../authz-topic-C7n3kIm_.js";
|
|
7
7
|
import { n as FunctionContract } from "../function-contract-CMJR3nYl.js";
|
|
8
|
-
import { a as webDeepLinks, c as webPorts, d as FunctionContracts, f as FunctionsHost, h as functions, i as WebPushTokenOptions, l as webPushToken, m as TypedFunctions, n as createClient, o as webFilePicker, p as InvokeOptions, r as PushRegistrationLike, s as webKeyboard, t as ClientOptions, u as webStorage } from "../index-
|
|
8
|
+
import { a as webDeepLinks, c as webPorts, d as FunctionContracts, f as FunctionsHost, h as functions, i as WebPushTokenOptions, l as webPushToken, m as TypedFunctions, n as createClient, o as webFilePicker, p as InvokeOptions, r as PushRegistrationLike, s as webKeyboard, t as ClientOptions, u as webStorage } from "../index-CFT7e_HH.js";
|
|
9
9
|
export { AUTHZ_EVENT, type AuthPort, type AuthSnapshot, type AuthUser, type AuthzVersionSource, type BetterClient, type BindClientOptions, type ClientAuth, ClientOptions, type ClientPorts, type Controller, type ControllerParts, type ControllerState, type DataChanges, type DataEngine, type DataEngineOptions, type DataEntry, type DataSync, type DataSyncState, type DeepLinkPort, type FilePickerPort, type FunctionContract, type FunctionContracts, type FunctionsHost, type InvokeOptions, type KeyboardPort, type LiveEngineOptions, type LocalTablesOption, type PickFilesOptions, type PickedFile, type PushRegistrationLike, type PushTokenPort, type Shortcut, type StoragePort, type TopicHandle, type TopicPort, type TopicWatch, type TypedFunctions, type UploadDestination, type UploadPort, type WebPushTokenOptions, authzUserTopic, bindClient, createClient, defineController, functions, liveEngine, memoryEngine, memoryStorage, storageUpload, webDeepLinks, webFilePicker, webKeyboard, webPorts, webPushToken, webStorage, whileSignedIn };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { t as AsyncResult } from "../../result-CMqlHv82.js";
|
|
2
2
|
import { T as UploadOptions, w as UploadBody } from "../../bucket-BIYeIS6c.js";
|
|
3
|
-
import { n as TopicPort, r as TopicWatch, t as TopicHandle } from "../../watch-topic-
|
|
4
|
-
import { a as PickFilesOptions, c as Shortcut, d as UploadPort, f as memoryStorage, i as KeyboardPort, l as StoragePort, n as DeepLinkPort, o as PickedFile, p as storageUpload, r as FilePickerPort, s as PushTokenPort, t as ClientPorts, u as UploadDestination } from "../../ports-
|
|
5
|
-
import { a as ClientAuth, i as BindClientOptions, n as AuthUser, o as bindClient, r as BetterClient, t as AuthSnapshot } from "../../bind-
|
|
3
|
+
import { n as TopicPort, r as TopicWatch, t as TopicHandle } from "../../watch-topic-M1yL9NiW.js";
|
|
4
|
+
import { a as PickFilesOptions, c as Shortcut, d as UploadPort, f as memoryStorage, i as KeyboardPort, l as StoragePort, n as DeepLinkPort, o as PickedFile, p as storageUpload, r as FilePickerPort, s as PushTokenPort, t as ClientPorts, u as UploadDestination } from "../../ports-6EMtxwGE.js";
|
|
5
|
+
import { a as ClientAuth, i as BindClientOptions, n as AuthUser, o as bindClient, r as BetterClient, t as AuthSnapshot } from "../../bind-ChYzUApb.js";
|
|
6
6
|
import { i as authzUserTopic, r as AuthzVersionSource, t as AUTHZ_EVENT } from "../../authz-topic-C7n3kIm_.js";
|
|
7
|
-
import { n as ExpoPushTokenOptions, r as expoPushToken, t as ExpoNotificationsLike } from "../../push-token-
|
|
7
|
+
import { n as ExpoPushTokenOptions, r as expoPushToken, t as ExpoNotificationsLike } from "../../push-token-CQnqTZrb.js";
|
|
8
8
|
import { a as OAuthSignInOptions, c as linkParams, i as OAuthClient, l as signInWithOAuthBrowser, n as AuthLinkClient, o as WebBrowserLike, r as AuthLinkResult, s as handleAuthDeepLink, t as AuthFailure } from "../../auth-link-DRjtI1Ky.js";
|
|
9
9
|
import { a as AppStateLike, i as startNativeAuthzRefresh, n as NativeAuthzRefreshOptions, o as AutoRefreshClient, r as PowerSyncReconnect, s as autoRefreshOnForeground, t as NativeAuthzRefreshClient } from "../../authz-refresh-DIqPTJZe.js";
|
|
10
10
|
import { SupabaseClient } from "@supabase/supabase-js";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { n as isRecord } from "./guards-CsRa6v57.js";
|
|
2
2
|
import { B as textOf, C as optionalInstant, N as recordsOf, P as requiredInstant, T as optionalText, b as nullableText, d as enumOrThrow, j as recordOf } from "./block-helpers-CCl3V9ku.js";
|
|
3
3
|
import { s as rowFields } from "./block-fields-B6_zYPTF.js";
|
|
4
|
-
import { d as money } from "./money-
|
|
5
|
-
import { i as moneyOf, t as amountText } from "./money-codec-
|
|
4
|
+
import { d as money } from "./money-hWAOR9jq.js";
|
|
5
|
+
import { i as moneyOf, t as amountText } from "./money-codec-CvUy3_Ep.js";
|
|
6
6
|
// src/blocks/orders/codecs.ts
|
|
7
7
|
const ORDER_STATUSES = [
|
|
8
8
|
"pending_payment",
|
package/dist/commerce/index.js
CHANGED
|
@@ -4,9 +4,9 @@ import { t as temporal } from "../temporal-required-DK3ImZW6.js";
|
|
|
4
4
|
import { a as ok, r as err, s as toDbError, t as AsyncResult } from "../result-DrBaeIVt.js";
|
|
5
5
|
import { t as ISO_4217_MINOR_UNITS } from "../iso4217-oKsif_hW.js";
|
|
6
6
|
import { s as verifyStripeWebhook } from "../verify-fRa6dgEY.js";
|
|
7
|
-
import { _ as roundHalfEven, a as compareMoney, b as toDecimal, c as isMoney, d as money, f as moneyFromJson, g as parseMoney, h as negateMoney, i as applyRate, l as isRate, m as multiplyMoney, n as addMoney, o as formatMoney, p as moneyToJson, r as allocateMoney, s as isCurrency, t as CurrencyMismatchError, u as minorUnits, v as subtractMoney, y as sumMoney } from "../money-
|
|
8
|
-
import { n as paymentProviderOf, t as invalidPaymentAmount } from "../payments-
|
|
9
|
-
import { a as taxProviderOf, i as reversalOf, n as fixedRates, r as invalidTaxCart, t as SHIPPING_LINE } from "../tax-
|
|
7
|
+
import { _ as roundHalfEven, a as compareMoney, b as toDecimal, c as isMoney, d as money, f as moneyFromJson, g as parseMoney, h as negateMoney, i as applyRate, l as isRate, m as multiplyMoney, n as addMoney, o as formatMoney, p as moneyToJson, r as allocateMoney, s as isCurrency, t as CurrencyMismatchError, u as minorUnits, v as subtractMoney, y as sumMoney } from "../money-hWAOR9jq.js";
|
|
8
|
+
import { n as paymentProviderOf, t as invalidPaymentAmount } from "../payments-D89SVEgj.js";
|
|
9
|
+
import { a as taxProviderOf, i as reversalOf, n as fixedRates, r as invalidTaxCart, t as SHIPPING_LINE } from "../tax-D_M90sFh.js";
|
|
10
10
|
import { t as lazyStripe } from "../stripe-DKRwRWew.js";
|
|
11
11
|
// src/commerce/stripe-shared.ts
|
|
12
12
|
/**
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { n as blockOptions, r as option } from "./options-Z-bd_H1E.js";
|
|
2
|
+
// src/blocks/commissions/options.ts
|
|
3
|
+
const commissionsSqlOptions = blockOptions({ invoices: option.boolean() });
|
|
4
|
+
// src/sql/modules/commissions-values.ts
|
|
5
|
+
/** How a plan turns a sale into a commission. */
|
|
6
|
+
const COMMISSION_PLAN_KINDS = ["flat", "tiered"];
|
|
7
|
+
/** Where one accrued commission stands. */
|
|
8
|
+
const COMMISSION_STATUSES = ["accrued", "reversed"];
|
|
9
|
+
/** Where a seller's statement for a period stands. */
|
|
10
|
+
const COMMISSION_STATEMENT_STATUSES = [
|
|
11
|
+
"open",
|
|
12
|
+
"finalized",
|
|
13
|
+
"paid"
|
|
14
|
+
];
|
|
15
|
+
/** The period kind the block contributes to the `periods` block. */
|
|
16
|
+
const COMMISSION_PERIOD_KIND = "commission_period";
|
|
17
|
+
export { commissionsSqlOptions as a, COMMISSION_STATUSES as i, COMMISSION_PLAN_KINDS as n, COMMISSION_STATEMENT_STATUSES as r, COMMISSION_PERIOD_KIND as t };
|
package/dist/config/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { N as Casing } from "../types-CaYa549m.js";
|
|
2
|
-
import { Ct as SubjectPermission, Et as SubjectsConfig, St as SubjectConfig, Tt as SubjectTeam, _ as OwnTablePolicies, c as BlockScope, d as DisabledRow, f as EntitiesConfig, i as BlockConfig, l as BlocksConfig, n as ActiveTenantSource, o as BlockMode, p as EntityConfig, r as AnyBlocksConfig, t as AccessBlockConfig, u as DEFAULT_ACTIVE_TENANT, wt as SubjectSearch, x as tenantNameOf } from "../blocks-
|
|
3
|
-
import { $r as GEN_TASKS, Br as DoctorConfig, Gr as KeysConfig, Hr as GenConfig, Jr as PowerSyncGenConfig, Kr as MigrationSafetyConfig, Ur as GenTask, Vr as EnvFileConfig, Wr as IntegrationName, Xr as SkillsConfig, Yr as SkillsAgent, ei as INTEGRATION_INFO, ln as FieldFormat, ni as IntegrationInfo, qr as OpenApiConfig, ri as SKILLS_AGENTS, sn as FIELD_FORMATS, ti as INTEGRATION_NAMES, un as FieldFormatInput } from "../define-block-
|
|
4
|
-
import { $ as BlockEntity, $r as AppColumnAccess, $t as BetterSupabaseConfig, Ai as ExtrasFunction, Ar as SeedSampleConfig, At as GeneratorFunction, B as standardSchema, Bi as PostgresFunction, Br as VectorDistance, Bt as RelationsConfig, Ci as CatalogGrant, Ct as GeneratedFile, Di as CatalogTrigger, Dr as ResolvedSqlConfig, Dt as GeneratorColumn, Ei as CatalogTable, Er as ResolvedSeedConfig, Et as GeneratorBlockEntity, F as ZodGeneratorOptions, Fi as Snapshot, Fr as TopicTriggerConfig, Ft as GeneratorModel, G as JsonSchemaGeneratorOptions, Gi as RpcFunctionReturns, Gt as DataHooksSelect, H as nuqs, Hi as RpcFunction, Hr as CONFIG_DEFAULTS, Ht as TableConfig, I as zod, Ii as SnapshotBucket, Ir as TopicTriggerLookupConfig, It as GeneratorNoun, J as JsonSchemaTarget, Jr as APP_COLUMN_FORMATS, Jt as ResolvedExtensions, K as buildJsonSchema, Ki as RpcReturnColumn, Kt as FlatConfig, L as ValibotGeneratorOptions, Li as SnapshotExtras, Lr as TopicTriggerPayloadValueConfig, Lt as GeneratorTable, Mi as ExtrasHookFunction, Mr as SqlBlockDefaults, Mt as GeneratorInput, Ni as ExtrasTable, Nr as SqlConfig, Nt as GeneratorInputSchema, Oi as CatalogUnique, Or as SeedConfig, Ot as GeneratorEntitySchemas, P as ZodFlavor, Pi as ForeignKeyAction, Pr as SqlWorkflow, Pt as GeneratorJsonSchema, Q as tenantClaimPaths, Qr as APP_TABLE_EVENT_KINDS, Qt as AuthConfig, R as valibot, Ri as GeneratorMetadata, Rr as TopicTriggerTopicConfig, Rt as JsonSchemaSource, Si as CatalogFunctionArg, St as CodecsConfig, Ti as CatalogPolicy, Tr as RealtimeConfig, Tt as GeneratorBlock, U as FactoriesGeneratorOptions, Ui as RpcFunctionArg, Ut as DataHooksConfig, V as NuqsGeneratorOptions, Vi as PostgresFunctionArg, Vr as VectorSearchConfig, Vt as SourceConfig, W as factories, Wi as RpcFunctionOverload, Wt as DataHooksFramework, X as DEFAULT_CLAIMS, Xr as APP_ON_DELETE_ACTIONS, Xt as AppTableInput, Y as ClaimPaths, Yr as APP_COLUMN_TYPES, Yt as ApiConfig, Z as claimPaths, Zr as APP_ROLLUP_AGGREGATES, Zt as AppTablesInput, _i as CatalogColumn, _t as BucketName, ai as AppReference, an as SqlInput, at as CONFIG_GROUPS, bi as CatalogForeignKey, bt as resolveJsonSchema, ci as AppRollupConfig, cn as EntitlementPlansSource, ct as blockEntrySource, di as AppTableEvents, dn as ExposeConfig, dt as groupEntries, ei as AppColumnConfig, en as BlockInput, et as blockEntities, fi as AppTableSubject, fn as ExposePrivilege, ft as CONFIG_SCHEMA_URL, gi as CatalogCheck, gt as BlockTableReference, hi as Catalog, hn as ResolvedExpose, ht as resolveConfig, ii as AppOnDeleteAction, in as GenGroupConfig, ir as ExpandedConfig, it as blockSubjectTypes, ji as ExtrasHook, jr as SeedSampleSize, jt as GeneratorFunctionArg, ki as ExtrasDomain, kr as SeedDefaultsConfig, kt as GeneratorField, li as AppTableConfig, ln as EntitlementsConfig, lt as flattenConfig, mi as AppTablesConfig, mn as Privilege, mt as defineConfig, ni as AppColumnType, nn as DatabaseConfig, nt as blockEventRenames, oi as AppReferenceTarget, on as TenantConfig, ot as RENAMED_BLOCK_KEYS, pi as AppTableVersions, pn as ExposeRole, pt as ResolveInput, q as jsonSchema, qi as RpcTypeReference, qr as APP_COLUMN_ACCESS, qt as ResolvedConfig, ri as AppLookupConfig, rn as EnvironmentConfig, rt as blockFormerFunctions, si as AppRollupAggregate, sn as ToolingConfig, st as RENAMED_CONFIG_KEYS, ti as AppColumnFormat, tn as BlocksInput, tt as blockEntityRenames, ui as AppTableEventKind, un as ColumnPrivilege, ut as groupConfig, vi as CatalogColumnGrant, vt as ConfigReferences, wi as CatalogIndex, wr as BucketConfig, wt as Generator, xi as CatalogFunction, xt as ClaimsConfig, yi as CatalogEnum, yt as RoleNames, z as StandardSchemaGeneratorOptions, zi as PostgresColumn, zr as TopicTriggerValueConfig, zt as JsonTypeConfig } from "../context-
|
|
5
|
-
import { a as AuthorizationProvider, c as AuthorizationScope, d as providerApiProblem, i as AuthorizationPermission, l as AuthorizationTokenHook, n as AuthorizationMembership, o as AuthorizationRequirement, r as AuthorizationOperation, s as AuthorizationRoleSource, t as AuthorizationFunctions, u as AuthorizationVersions } from "../authorization-
|
|
2
|
+
import { Ct as SubjectPermission, Et as SubjectsConfig, St as SubjectConfig, Tt as SubjectTeam, _ as OwnTablePolicies, c as BlockScope, d as DisabledRow, f as EntitiesConfig, i as BlockConfig, l as BlocksConfig, n as ActiveTenantSource, o as BlockMode, p as EntityConfig, r as AnyBlocksConfig, t as AccessBlockConfig, u as DEFAULT_ACTIVE_TENANT, wt as SubjectSearch, x as tenantNameOf } from "../blocks-ERs7xZ7E.js";
|
|
3
|
+
import { $r as GEN_TASKS, Br as DoctorConfig, Gr as KeysConfig, Hr as GenConfig, Jr as PowerSyncGenConfig, Kr as MigrationSafetyConfig, Ur as GenTask, Vr as EnvFileConfig, Wr as IntegrationName, Xr as SkillsConfig, Yr as SkillsAgent, ei as INTEGRATION_INFO, ln as FieldFormat, ni as IntegrationInfo, qr as OpenApiConfig, ri as SKILLS_AGENTS, sn as FIELD_FORMATS, ti as INTEGRATION_NAMES, un as FieldFormatInput } from "../define-block-DiW9g10_.js";
|
|
4
|
+
import { $ as BlockEntity, $r as AppColumnAccess, $t as BetterSupabaseConfig, Ai as ExtrasFunction, Ar as SeedSampleConfig, At as GeneratorFunction, B as standardSchema, Bi as PostgresFunction, Br as VectorDistance, Bt as RelationsConfig, Ci as CatalogGrant, Ct as GeneratedFile, Di as CatalogTrigger, Dr as ResolvedSqlConfig, Dt as GeneratorColumn, Ei as CatalogTable, Er as ResolvedSeedConfig, Et as GeneratorBlockEntity, F as ZodGeneratorOptions, Fi as Snapshot, Fr as TopicTriggerConfig, Ft as GeneratorModel, G as JsonSchemaGeneratorOptions, Gi as RpcFunctionReturns, Gt as DataHooksSelect, H as nuqs, Hi as RpcFunction, Hr as CONFIG_DEFAULTS, Ht as TableConfig, I as zod, Ii as SnapshotBucket, Ir as TopicTriggerLookupConfig, It as GeneratorNoun, J as JsonSchemaTarget, Jr as APP_COLUMN_FORMATS, Jt as ResolvedExtensions, K as buildJsonSchema, Ki as RpcReturnColumn, Kt as FlatConfig, L as ValibotGeneratorOptions, Li as SnapshotExtras, Lr as TopicTriggerPayloadValueConfig, Lt as GeneratorTable, Mi as ExtrasHookFunction, Mr as SqlBlockDefaults, Mt as GeneratorInput, Ni as ExtrasTable, Nr as SqlConfig, Nt as GeneratorInputSchema, Oi as CatalogUnique, Or as SeedConfig, Ot as GeneratorEntitySchemas, P as ZodFlavor, Pi as ForeignKeyAction, Pr as SqlWorkflow, Pt as GeneratorJsonSchema, Q as tenantClaimPaths, Qr as APP_TABLE_EVENT_KINDS, Qt as AuthConfig, R as valibot, Ri as GeneratorMetadata, Rr as TopicTriggerTopicConfig, Rt as JsonSchemaSource, Si as CatalogFunctionArg, St as CodecsConfig, Ti as CatalogPolicy, Tr as RealtimeConfig, Tt as GeneratorBlock, U as FactoriesGeneratorOptions, Ui as RpcFunctionArg, Ut as DataHooksConfig, V as NuqsGeneratorOptions, Vi as PostgresFunctionArg, Vr as VectorSearchConfig, Vt as SourceConfig, W as factories, Wi as RpcFunctionOverload, Wt as DataHooksFramework, X as DEFAULT_CLAIMS, Xr as APP_ON_DELETE_ACTIONS, Xt as AppTableInput, Y as ClaimPaths, Yr as APP_COLUMN_TYPES, Yt as ApiConfig, Z as claimPaths, Zr as APP_ROLLUP_AGGREGATES, Zt as AppTablesInput, _i as CatalogColumn, _t as BucketName, ai as AppReference, an as SqlInput, at as CONFIG_GROUPS, bi as CatalogForeignKey, bt as resolveJsonSchema, ci as AppRollupConfig, cn as EntitlementPlansSource, ct as blockEntrySource, di as AppTableEvents, dn as ExposeConfig, dt as groupEntries, ei as AppColumnConfig, en as BlockInput, et as blockEntities, fi as AppTableSubject, fn as ExposePrivilege, ft as CONFIG_SCHEMA_URL, gi as CatalogCheck, gt as BlockTableReference, hi as Catalog, hn as ResolvedExpose, ht as resolveConfig, ii as AppOnDeleteAction, in as GenGroupConfig, ir as ExpandedConfig, it as blockSubjectTypes, ji as ExtrasHook, jr as SeedSampleSize, jt as GeneratorFunctionArg, ki as ExtrasDomain, kr as SeedDefaultsConfig, kt as GeneratorField, li as AppTableConfig, ln as EntitlementsConfig, lt as flattenConfig, mi as AppTablesConfig, mn as Privilege, mt as defineConfig, ni as AppColumnType, nn as DatabaseConfig, nt as blockEventRenames, oi as AppReferenceTarget, on as TenantConfig, ot as RENAMED_BLOCK_KEYS, pi as AppTableVersions, pn as ExposeRole, pt as ResolveInput, q as jsonSchema, qi as RpcTypeReference, qr as APP_COLUMN_ACCESS, qt as ResolvedConfig, ri as AppLookupConfig, rn as EnvironmentConfig, rt as blockFormerFunctions, si as AppRollupAggregate, sn as ToolingConfig, st as RENAMED_CONFIG_KEYS, ti as AppColumnFormat, tn as BlocksInput, tt as blockEntityRenames, ui as AppTableEventKind, un as ColumnPrivilege, ut as groupConfig, vi as CatalogColumnGrant, vt as ConfigReferences, wi as CatalogIndex, wr as BucketConfig, wt as Generator, xi as CatalogFunction, xt as ClaimsConfig, yi as CatalogEnum, yt as RoleNames, z as StandardSchemaGeneratorOptions, zi as PostgresColumn, zr as TopicTriggerValueConfig, zt as JsonTypeConfig } from "../context-DNwBlpKo.js";
|
|
5
|
+
import { a as AuthorizationProvider, c as AuthorizationScope, d as providerApiProblem, i as AuthorizationPermission, l as AuthorizationTokenHook, n as AuthorizationMembership, o as AuthorizationRequirement, r as AuthorizationOperation, s as AuthorizationRoleSource, t as AuthorizationFunctions, u as AuthorizationVersions } from "../authorization-N4bh4KQS.js";
|
|
6
6
|
export { APP_COLUMN_ACCESS, APP_COLUMN_FORMATS, APP_COLUMN_TYPES, APP_ON_DELETE_ACTIONS, APP_ROLLUP_AGGREGATES, APP_TABLE_EVENT_KINDS, type AccessBlockConfig, type ActiveTenantSource, type AnyBlocksConfig, type ApiConfig, type AppColumnAccess, type AppColumnConfig, type AppColumnFormat, type AppColumnType, type AppLookupConfig, type AppOnDeleteAction, type AppReference, type AppReferenceTarget, type AppRollupAggregate, type AppRollupConfig, type AppTableConfig, type AppTableEventKind, type AppTableEvents, type AppTableInput, type AppTableSubject, type AppTableVersions, type AppTablesConfig, type AppTablesInput, type AuthConfig, type AuthorizationFunctions, type AuthorizationMembership, type AuthorizationOperation, type AuthorizationPermission, type AuthorizationProvider, type AuthorizationRequirement, type AuthorizationRoleSource, type AuthorizationScope, type AuthorizationTokenHook, type AuthorizationVersions, type BetterSupabaseConfig, type BlockConfig, type BlockEntity, type BlockInput, type BlockMode, type BlockScope, type BlockTableReference, type BlocksConfig, type BlocksInput, type BucketConfig, type BucketName, CONFIG_DEFAULTS, CONFIG_GROUPS, CONFIG_SCHEMA_URL, type Casing, type Catalog, type CatalogCheck, type CatalogColumn, type CatalogColumnGrant, type CatalogEnum, type CatalogForeignKey, type CatalogFunction, type CatalogFunctionArg, type CatalogGrant, type CatalogIndex, type CatalogPolicy, type CatalogTable, type CatalogTrigger, type CatalogUnique, type ClaimPaths, type ClaimsConfig, type CodecsConfig, type ColumnPrivilege, type ConfigReferences, DEFAULT_ACTIVE_TENANT, DEFAULT_CLAIMS, type DataHooksConfig, type DataHooksFramework, type DataHooksSelect, type DatabaseConfig, type DisabledRow, type DoctorConfig, type EntitiesConfig, type EntitlementPlansSource, type EntitlementsConfig, type EntityConfig, type EnvFileConfig, type EnvironmentConfig, type ExpandedConfig, type ExposeConfig, type ExposePrivilege, type ExposeRole, type ExtrasDomain, type ExtrasFunction, type ExtrasHook, type ExtrasHookFunction, type ExtrasTable, FIELD_FORMATS, type FactoriesGeneratorOptions, type FieldFormat, type FieldFormatInput, type FlatConfig, type ForeignKeyAction, GEN_TASKS, type GenConfig, type GenGroupConfig, type GenTask, type GeneratedFile, type Generator, type GeneratorBlock, type GeneratorBlockEntity, type GeneratorColumn, type GeneratorEntitySchemas, type GeneratorField, type GeneratorFunction, type GeneratorFunctionArg, type GeneratorInput, type GeneratorInputSchema, type GeneratorJsonSchema, type GeneratorMetadata, type GeneratorModel, type GeneratorNoun, type GeneratorTable, INTEGRATION_INFO, INTEGRATION_NAMES, type IntegrationInfo, type IntegrationName, type JsonSchemaGeneratorOptions, type JsonSchemaSource, type JsonSchemaTarget, type JsonTypeConfig, type KeysConfig, type MigrationSafetyConfig, type NuqsGeneratorOptions, type OpenApiConfig, type OwnTablePolicies, type PostgresColumn, type PostgresFunction, type PostgresFunctionArg, type PowerSyncGenConfig, type Privilege, RENAMED_BLOCK_KEYS, RENAMED_CONFIG_KEYS, type RealtimeConfig, type RelationsConfig, type ResolveInput, type ResolvedConfig, type ResolvedExpose, type ResolvedExtensions, type ResolvedSeedConfig, type ResolvedSqlConfig, type RoleNames, type RpcFunction, type RpcFunctionArg, type RpcFunctionOverload, type RpcFunctionReturns, type RpcReturnColumn, type RpcTypeReference, SKILLS_AGENTS, type SeedConfig, type SeedDefaultsConfig, type SeedSampleConfig, type SeedSampleSize, type SkillsAgent, type SkillsConfig, type Snapshot, type SnapshotBucket, type SnapshotExtras, type SourceConfig, type SqlBlockDefaults, type SqlConfig, type SqlInput, type SqlWorkflow, type StandardSchemaGeneratorOptions, type SubjectConfig, type SubjectPermission, type SubjectSearch, type SubjectTeam, type SubjectsConfig, type TableConfig, type TenantConfig, type ToolingConfig, type TopicTriggerConfig, type TopicTriggerLookupConfig, type TopicTriggerPayloadValueConfig, type TopicTriggerTopicConfig, type TopicTriggerValueConfig, type ValibotGeneratorOptions, type VectorDistance, type VectorSearchConfig, type ZodFlavor, type ZodGeneratorOptions, blockEntities, blockEntityRenames, blockEntrySource, blockEventRenames, blockFormerFunctions, blockSubjectTypes, buildJsonSchema, claimPaths, defineConfig, factories, flattenConfig, groupConfig, groupEntries, jsonSchema, nuqs, providerApiProblem, resolveConfig, resolveJsonSchema, standardSchema, tenantClaimPaths, tenantNameOf, valibot, zod };
|
package/dist/config/index.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { _ as resolveJsonSchema, i as blockFormerFunctions, n as blockEntityRenames, o as blockSubjectTypes, r as blockEventRenames, t as blockEntities, v as CONFIG_DEFAULTS } from "../block-subjects-
|
|
2
|
-
import { A as blockEntrySource, D as CONFIG_GROUPS, F as INTEGRATION_INFO, I as INTEGRATION_NAMES, L as SKILLS_AGENTS, M as groupConfig, N as groupEntries, O as RENAMED_BLOCK_KEYS, P as GEN_TASKS, j as flattenConfig, k as RENAMED_CONFIG_KEYS } from "../config-
|
|
1
|
+
import { _ as resolveJsonSchema, i as blockFormerFunctions, n as blockEntityRenames, o as blockSubjectTypes, r as blockEventRenames, t as blockEntities, v as CONFIG_DEFAULTS } from "../block-subjects-rv7V0R6O.js";
|
|
2
|
+
import { A as blockEntrySource, D as CONFIG_GROUPS, F as INTEGRATION_INFO, I as INTEGRATION_NAMES, L as SKILLS_AGENTS, M as groupConfig, N as groupEntries, O as RENAMED_BLOCK_KEYS, P as GEN_TASKS, j as flattenConfig, k as RENAMED_CONFIG_KEYS } from "../config-gJ9FX0jc.js";
|
|
3
3
|
import { a as tenantClaimPaths, r as claimPaths, t as DEFAULT_CLAIMS } from "../claims-CqTr_N1n.js";
|
|
4
|
-
import { A as APP_ON_DELETE_ACTIONS, D as APP_COLUMN_ACCESS, M as APP_TABLE_EVENT_KINDS, O as APP_COLUMN_FORMATS, R as DEFAULT_ACTIVE_TENANT, V as tenantNameOf, j as APP_ROLLUP_AGGREGATES, k as APP_COLUMN_TYPES } from "../instances-
|
|
4
|
+
import { A as APP_ON_DELETE_ACTIONS, D as APP_COLUMN_ACCESS, M as APP_TABLE_EVENT_KINDS, O as APP_COLUMN_FORMATS, R as DEFAULT_ACTIVE_TENANT, V as tenantNameOf, j as APP_ROLLUP_AGGREGATES, k as APP_COLUMN_TYPES } from "../instances-ukDFg8oN.js";
|
|
5
5
|
import { i as FIELD_FORMATS } from "../field-formats-sLYMh1ZK.js";
|
|
6
|
-
import { a as factories, c as resolveConfig, i as nuqs, l as providerApiProblem, n as valibot, o as CONFIG_SCHEMA_URL, r as standardSchema, s as defineConfig, t as zod } from "../config-
|
|
6
|
+
import { a as factories, c as resolveConfig, i as nuqs, l as providerApiProblem, n as valibot, o as CONFIG_SCHEMA_URL, r as standardSchema, s as defineConfig, t as zod } from "../config-DYtSlwsi.js";
|
|
7
7
|
import { n as jsonSchema, t as buildJsonSchema } from "../json-schema-D9eVL_xi.js";
|
|
8
8
|
export { APP_COLUMN_ACCESS, APP_COLUMN_FORMATS, APP_COLUMN_TYPES, APP_ON_DELETE_ACTIONS, APP_ROLLUP_AGGREGATES, APP_TABLE_EVENT_KINDS, CONFIG_DEFAULTS, CONFIG_GROUPS, CONFIG_SCHEMA_URL, DEFAULT_ACTIVE_TENANT, DEFAULT_CLAIMS, FIELD_FORMATS, GEN_TASKS, INTEGRATION_INFO, INTEGRATION_NAMES, RENAMED_BLOCK_KEYS, RENAMED_CONFIG_KEYS, SKILLS_AGENTS, blockEntities, blockEntityRenames, blockEntrySource, blockEventRenames, blockFormerFunctions, blockSubjectTypes, buildJsonSchema, claimPaths, defineConfig, factories, flattenConfig, groupConfig, groupEntries, jsonSchema, nuqs, providerApiProblem, resolveConfig, resolveJsonSchema, standardSchema, tenantClaimPaths, tenantNameOf, valibot, zod };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { c as withBlockSubjects, v as CONFIG_DEFAULTS } from "./block-subjects-
|
|
2
|
-
import { j as flattenConfig, n as expandFlatPreset, r as expandPreset } from "./config-
|
|
1
|
+
import { c as withBlockSubjects, v as CONFIG_DEFAULTS } from "./block-subjects-rv7V0R6O.js";
|
|
2
|
+
import { j as flattenConfig, n as expandFlatPreset, r as expandPreset } from "./config-gJ9FX0jc.js";
|
|
3
3
|
import { t as DEFAULT_CLAIMS } from "./claims-CqTr_N1n.js";
|
|
4
4
|
import { o as tenantNames } from "./entity-naming-BES3pkQI.js";
|
|
5
|
-
import { V as tenantNameOf, _ as appTablesOf, o as resolveInstances, r as blocksByName, v as withAppTableSubjects } from "./instances-
|
|
5
|
+
import { V as tenantNameOf, _ as appTablesOf, o as resolveInstances, r as blocksByName, v as withAppTableSubjects } from "./instances-ukDFg8oN.js";
|
|
6
6
|
import { C as variantsFor, S as variantTitle, _ as schemaName, a as extraSchemas, b as tableEntries, c as resultType, d as fieldSpec, f as fieldsFor, g as rowType, h as propertyKey, i as extraKinds, l as HEADER, m as parseImport, o as fieldMetaLines, p as optionalLine, s as objectType, u as fieldDocs, v as siblingPath, x as temporalGuardImport, y as tableDocs } from "./json-schema-D9eVL_xi.js";
|
|
7
7
|
// src/config/authorization.ts
|
|
8
8
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as DEFAULT_TENANT } from "./entity-naming-BES3pkQI.js";
|
|
2
|
-
import { F as linkNeedsRelations, I as PRESET_CATALOG, z as asBlocksConfig } from "./instances-
|
|
2
|
+
import { F as linkNeedsRelations, I as PRESET_CATALOG, z as asBlocksConfig } from "./instances-ukDFg8oN.js";
|
|
3
3
|
import { a as QUALITY, c as SAAS_LINKED, i as PUBLIC_MEDIA, l as TICKETS, n as CONTROLLED_DOCUMENTS, o as QUOTE_TO_ORDER, r as ERP, s as SAAS } from "./preset-blocks-C0y2C2k5.js";
|
|
4
4
|
// src/config/names.ts
|
|
5
5
|
/** The steps `better-supabase gen` runs, in the order it runs them. */
|
|
@@ -558,7 +558,8 @@ const PRESETS = {
|
|
|
558
558
|
"custom-fields",
|
|
559
559
|
"saved-views",
|
|
560
560
|
"search"
|
|
561
|
-
]
|
|
561
|
+
],
|
|
562
|
+
seeds: { variants: { pipelines: "b2b-sales" } }
|
|
562
563
|
},
|
|
563
564
|
projects: {
|
|
564
565
|
name: "projects",
|
|
@@ -637,7 +638,8 @@ const PRESETS = {
|
|
|
637
638
|
description: "SaaS plus parties, a product catalog, stock by location, quotes priced from the catalog that become orders when accepted, orders that invoice when paid, purchase bills matched to purchase orders and receipts, the books every document posts to, bank statements reconciled against them, approvals for purchase requisitions, employees with time and leave, expenses and saved views.",
|
|
638
639
|
group: "products",
|
|
639
640
|
blocks: [...SAAS_LINKED, ...ERP],
|
|
640
|
-
instances: QUOTE_TO_ORDER
|
|
641
|
+
instances: QUOTE_TO_ORDER,
|
|
642
|
+
seeds: { variants: { accounting: "generic" } }
|
|
641
643
|
},
|
|
642
644
|
manufacturing: {
|
|
643
645
|
name: "manufacturing",
|
|
@@ -760,7 +762,8 @@ const PRESETS = {
|
|
|
760
762
|
"saved-views",
|
|
761
763
|
"search",
|
|
762
764
|
"automations"
|
|
763
|
-
]
|
|
765
|
+
],
|
|
766
|
+
seeds: { variants: { pipelines: "recruiting" } }
|
|
764
767
|
},
|
|
765
768
|
intranet: {
|
|
766
769
|
name: "intranet",
|
|
@@ -1372,6 +1375,14 @@ function namedPreset(name) {
|
|
|
1372
1375
|
...instances === void 0 ? {} : { instances }
|
|
1373
1376
|
};
|
|
1374
1377
|
}
|
|
1378
|
+
/**
|
|
1379
|
+
* The seeds a named preset starts from, or undefined for a preset without (ADR
|
|
1380
|
+
* 0196). A preset only names a variant; the locale stays the app's, so tax
|
|
1381
|
+
* codes follow `database.seed.defaults.locale`.
|
|
1382
|
+
*/
|
|
1383
|
+
function namedPresetSeeds(name) {
|
|
1384
|
+
return PRESETS[name].seeds;
|
|
1385
|
+
}
|
|
1375
1386
|
/** The preset `/create` and `init` start from. */
|
|
1376
1387
|
const DEFAULT_PRESET_NAME = "saas";
|
|
1377
1388
|
/** The default preset as a `Preset`, so a new design can start from it. */
|
|
@@ -1880,6 +1891,36 @@ function mergedEntities(preset, own) {
|
|
|
1880
1891
|
const keys = /* @__PURE__ */ new Set([...Object.keys(presetEntries), ...Object.keys(ownEntries)]);
|
|
1881
1892
|
return Object.fromEntries([...keys].map((key) => [key, mergedEntity(presetEntries[key], ownEntries[key])]));
|
|
1882
1893
|
}
|
|
1894
|
+
/**
|
|
1895
|
+
* `database.seed` with a preset's default seeds under it: the app's variants
|
|
1896
|
+
* and locale win key by key, and `defaults: false` keeps defaults off. The
|
|
1897
|
+
* preset's `variants` only name blocks the preset installs (`installed`).
|
|
1898
|
+
*/
|
|
1899
|
+
function mergeSeedConfig(preset, own, installed) {
|
|
1900
|
+
if (preset === void 0 || own?.defaults === false) return own;
|
|
1901
|
+
const ownDefaults = own?.defaults === true ? {} : own?.defaults;
|
|
1902
|
+
const variants = {
|
|
1903
|
+
...Object.fromEntries(Object.entries(preset.variants ?? {}).filter(([block]) => installed.has(block))),
|
|
1904
|
+
...ownDefaults?.variants
|
|
1905
|
+
};
|
|
1906
|
+
const locale = ownDefaults?.locale ?? preset.locale;
|
|
1907
|
+
const defaults = {
|
|
1908
|
+
...ownDefaults,
|
|
1909
|
+
...Object.keys(variants).length === 0 ? {} : { variants },
|
|
1910
|
+
...locale === void 0 ? {} : { locale }
|
|
1911
|
+
};
|
|
1912
|
+
if (Object.keys(defaults).length === 0 && own?.defaults !== true) return own;
|
|
1913
|
+
return {
|
|
1914
|
+
...own,
|
|
1915
|
+
defaults
|
|
1916
|
+
};
|
|
1917
|
+
}
|
|
1918
|
+
/** The named preset's seeds, for `preset` as a name or a `/create` URL. */
|
|
1919
|
+
function presetSeedsOf(input) {
|
|
1920
|
+
if (typeof input !== "string") return;
|
|
1921
|
+
const value = /[?&]preset=([^&#]+)/.exec(input)?.[1] ?? input;
|
|
1922
|
+
return isPresetName(value) ? namedPresetSeeds(value) : void 0;
|
|
1923
|
+
}
|
|
1883
1924
|
/** `expandPreset` on the flat shape `resolveConfig` reads. */
|
|
1884
1925
|
function expandFlatPreset(config) {
|
|
1885
1926
|
if (config.preset === void 0) return config;
|
|
@@ -1902,9 +1943,11 @@ function expandFlatPreset(config) {
|
|
|
1902
1943
|
...entities === void 0 ? {} : { entities }
|
|
1903
1944
|
};
|
|
1904
1945
|
}
|
|
1946
|
+
const seed = mergeSeedConfig(presetSeedsOf(config.preset), config.seed, new Set(resolved.blocks.map((block) => block.name)));
|
|
1905
1947
|
return {
|
|
1906
1948
|
...base,
|
|
1907
1949
|
...config,
|
|
1950
|
+
...seed === void 0 ? {} : { seed },
|
|
1908
1951
|
...config.sql === void 0 && base.sql === void 0 ? {} : { sql: {
|
|
1909
1952
|
...base.sql,
|
|
1910
1953
|
...config.sql
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
/// <reference lib="esnext.temporal" />
|
|
2
2
|
import { F as ClaimsMeta, M as BucketPolicyName, N as Casing, T as AccessBucketPolicy, st as SchemaMeta, vt as BucketLifecycle } from "./types-CaYa549m.js";
|
|
3
|
-
import { Et as SubjectsConfig, Ht as BlockNameRegistry, Vt as TablesOf, _ as OwnTablePolicies, a as BlockConfigOf, c as BlockScope, d as DisabledRow, g as NamedInstance, h as InstanceOn, i as BlockConfig, l as BlocksConfig, o as BlockMode, p as EntityConfig, r as AnyBlocksConfig, s as BlockName, t as AccessBlockConfig, v as ResolvedBlock, xt as RelationKindOptions, y as TenantScopeConfig } from "./blocks-
|
|
4
|
-
import { Br as DoctorConfig, C as BlockWorker, Er as PresetConventions, Fr as PresetTenantName, Gr as KeysConfig, Hr as GenConfig, Nr as PresetScope, Or as PresetFieldKey, Qr as SpecsConfig, Tr as PresetAccess, Vr as EnvFileConfig, Wr as IntegrationName, Xr as SkillsConfig, Zr as SpecOutputConfig, _r as EntityNoun, b as BlockEnvKey, cn as FIELD_FORMAT_NAMES, dn as FieldFormatName, g as PartDefaults, gi as DefaultAutomation, gr as EntityNames, hi as BlockSchedule, i as BlockCategory, jr as PresetInstance, pt as PortName, qr as OpenApiConfig, si as ActionDescriptor, vr as EntityRename, wr as Preset, x as BlockProvider } from "./define-block-
|
|
3
|
+
import { Et as SubjectsConfig, Ht as BlockNameRegistry, Vt as TablesOf, _ as OwnTablePolicies, a as BlockConfigOf, c as BlockScope, d as DisabledRow, g as NamedInstance, h as InstanceOn, i as BlockConfig, l as BlocksConfig, o as BlockMode, p as EntityConfig, r as AnyBlocksConfig, s as BlockName, t as AccessBlockConfig, v as ResolvedBlock, xt as RelationKindOptions, y as TenantScopeConfig } from "./blocks-ERs7xZ7E.js";
|
|
4
|
+
import { Br as DoctorConfig, C as BlockWorker, Er as PresetConventions, Fr as PresetTenantName, Gr as KeysConfig, Hr as GenConfig, Nr as PresetScope, Or as PresetFieldKey, Qr as SpecsConfig, Tr as PresetAccess, Vr as EnvFileConfig, Wr as IntegrationName, Xr as SkillsConfig, Zr as SpecOutputConfig, _r as EntityNoun, b as BlockEnvKey, cn as FIELD_FORMAT_NAMES, dn as FieldFormatName, g as PartDefaults, gi as DefaultAutomation, gr as EntityNames, hi as BlockSchedule, i as BlockCategory, jr as PresetInstance, pt as PortName, qr as OpenApiConfig, si as ActionDescriptor, vr as EntityRename, wr as Preset, x as BlockProvider } from "./define-block-DiW9g10_.js";
|
|
5
5
|
import { a as ScalarKind, i as FieldSpec } from "./table-schema-CwXg7oBz.js";
|
|
6
6
|
import { n as ReadType } from "./read-type-BmF8GOkz.js";
|
|
7
7
|
import { a as BlockSqlEmit, r as BlockSqlAction } from "./audit-actions-Dni5Y4wV.js";
|
|
8
8
|
import { t as GuestAction } from "./guest-actions-DfHHp98H.js";
|
|
9
|
-
import { a as AuthorizationProvider, n as AuthorizationMembership, r as AuthorizationOperation, s as AuthorizationRoleSource, t as AuthorizationFunctions } from "./authorization-
|
|
9
|
+
import { a as AuthorizationProvider, n as AuthorizationMembership, r as AuthorizationOperation, s as AuthorizationRoleSource, t as AuthorizationFunctions } from "./authorization-N4bh4KQS.js";
|
|
10
10
|
import { StandardSchemaV1 } from "@standard-schema/spec";
|
|
11
11
|
/**
|
|
12
12
|
* One declared link from an entity of this module to an entity of another
|
|
@@ -315,6 +315,7 @@ interface BlockContributions {
|
|
|
315
315
|
readonly acknowledgements: AcknowledgementContribution;
|
|
316
316
|
readonly approvals: ApprovalContribution;
|
|
317
317
|
readonly bulk: BulkActionContribution;
|
|
318
|
+
readonly consents: ConsentPurposeContribution;
|
|
318
319
|
readonly housekeeping: HousekeepingContribution;
|
|
319
320
|
readonly imports: ImportTargetContribution;
|
|
320
321
|
readonly numbering: NumberingContribution;
|
|
@@ -327,6 +328,19 @@ interface BlockContributions {
|
|
|
327
328
|
}
|
|
328
329
|
/** `BlockSql.contributes`: one function per generic block it adds to. */
|
|
329
330
|
type BlockContributes = { readonly [K in keyof BlockContributions]?: (own: BlockSqlContext, target: BlockSqlContext) => readonly BlockContributions[K][]; };
|
|
331
|
+
/**
|
|
332
|
+
* A purpose the contributing block sends under. The `consents` block renders it
|
|
333
|
+
* as a system purpose (no organization), so an app can name it on a send and
|
|
334
|
+
* the `requires_consent` gate holds the send back until the record consented.
|
|
335
|
+
*/
|
|
336
|
+
interface ConsentPurposeContribution {
|
|
337
|
+
/** The purpose key, such as `outreach_email`. */
|
|
338
|
+
readonly key: string;
|
|
339
|
+
readonly title: string;
|
|
340
|
+
readonly description?: string;
|
|
341
|
+
/** Defaults to `consent`; any other basis never gates a send. */
|
|
342
|
+
readonly legalBasis?: "consent" | "contract" | "legal_obligation" | "vital_interest" | "public_task" | "legitimate_interest";
|
|
343
|
+
}
|
|
330
344
|
/**
|
|
331
345
|
* A recurring cleanup the contributing block asks the maintenance dispatcher to
|
|
332
346
|
* run: `better_supabase.maintenance()` calls `function` when `every` has passed
|
|
@@ -1952,12 +1966,20 @@ interface CreateDesign {
|
|
|
1952
1966
|
*/
|
|
1953
1967
|
readonly seeds?: DesignSeeds;
|
|
1954
1968
|
}
|
|
1955
|
-
/**
|
|
1969
|
+
/**
|
|
1970
|
+
* `CreateDesign.seeds`: `database.seed.defaults.variants` and `.locale`, and
|
|
1971
|
+
* the `database.seed.sample` size and random seed.
|
|
1972
|
+
*/
|
|
1956
1973
|
interface DesignSeeds {
|
|
1957
1974
|
/** A block's starting set, keyed by block name. */
|
|
1958
1975
|
readonly variants?: Readonly<Record<string, string>>;
|
|
1959
1976
|
/** The language of defaults and sample data, such as `nl`. */
|
|
1960
1977
|
readonly locale?: string;
|
|
1978
|
+
/** How much sample data to generate, and the random seed that fixes it. */
|
|
1979
|
+
readonly sample?: {
|
|
1980
|
+
readonly size: SeedSampleSize;
|
|
1981
|
+
readonly seed: number;
|
|
1982
|
+
};
|
|
1961
1983
|
}
|
|
1962
1984
|
/**
|
|
1963
1985
|
* The newest format of the design JSON, in its `version` key (ADR 0042). A code
|
|
@@ -3676,7 +3698,8 @@ type SeedValue = string | number | boolean | null | {
|
|
|
3676
3698
|
readonly ref: {
|
|
3677
3699
|
readonly table: string;
|
|
3678
3700
|
readonly tenantColumn: string;
|
|
3679
|
-
|
|
3701
|
+
/** A `null` matches a column that is null, such as an unscoped row. */
|
|
3702
|
+
readonly match: Readonly<Record<string, string | number | boolean | null>>;
|
|
3680
3703
|
readonly column?: string;
|
|
3681
3704
|
};
|
|
3682
3705
|
} | {
|
|
@@ -3703,6 +3726,11 @@ interface SeedTable {
|
|
|
3703
3726
|
readonly rows: readonly SeedRow[];
|
|
3704
3727
|
/** The named variant these rows belong to; rows without one are always seeded. */
|
|
3705
3728
|
readonly variant?: string;
|
|
3729
|
+
/**
|
|
3730
|
+
* Also seed these rows when no variant is given, so one variant is the
|
|
3731
|
+
* default of the module. Needs `variant`.
|
|
3732
|
+
*/
|
|
3733
|
+
readonly defaultVariant?: boolean;
|
|
3706
3734
|
/** The locales these rows are seeded for; every locale when unset. */
|
|
3707
3735
|
readonly locales?: readonly string[];
|
|
3708
3736
|
}
|
|
@@ -3960,6 +3988,13 @@ interface BlockSqlFile {
|
|
|
3960
3988
|
readonly contents: string;
|
|
3961
3989
|
}
|
|
3962
3990
|
interface BlockSqlLayout {
|
|
3991
|
+
/** `config.seed.defaults`: what the `seeds` module calls each module with. */
|
|
3992
|
+
readonly seedDefaults?: {
|
|
3993
|
+
readonly enabled: boolean;
|
|
3994
|
+
readonly onCreate: boolean;
|
|
3995
|
+
readonly locale: string;
|
|
3996
|
+
readonly variants: Readonly<Record<string, string>>;
|
|
3997
|
+
};
|
|
3963
3998
|
/**
|
|
3964
3999
|
* `config.instances`. An instance that installs a block under another name
|
|
3965
4000
|
* renders its own files; `modules` holds the instances named after their
|
package/dist/contract/index.d.ts
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { $t as AuthorizationSubject, D as AccessTopicPolicy, E as AccessPolicySql, Gt as AuthorizationChange, Jt as AuthorizationOutcome, Kt as AuthorizationContext, Qt as AuthorizationResourceSource, T as AccessBucketPolicy, Ut as AnyAuthorizer, Wt as AuthorizationCallKind, Xt as AuthorizationRequest, Yt as AuthorizationPurpose, Zt as AuthorizationResource, en as Authorizer, in as RequestMemo, nn as AuthzVersionCache, qt as AuthorizationIntent, rn as PermissionRef, tn as AuthorizerRuntime } from "../types-CaYa549m.js";
|
|
2
2
|
import { m as SessionSnapshot } from "../resolve-DwpH61tV.js";
|
|
3
3
|
import { r as CredentialProvider } from "../provider-BYHu5txM.js";
|
|
4
|
-
import { a as AuthorizationProvider, c as AuthorizationScope, i as AuthorizationPermission, l as AuthorizationTokenHook, n as AuthorizationMembership, o as AuthorizationRequirement, r as AuthorizationOperation, s as AuthorizationRoleSource, t as AuthorizationFunctions, u as AuthorizationVersions } from "../authorization-
|
|
4
|
+
import { a as AuthorizationProvider, c as AuthorizationScope, i as AuthorizationPermission, l as AuthorizationTokenHook, n as AuthorizationMembership, o as AuthorizationRequirement, r as AuthorizationOperation, s as AuthorizationRoleSource, t as AuthorizationFunctions, u as AuthorizationVersions } from "../authorization-N4bh4KQS.js";
|
|
5
5
|
import { _ as SupportAuthorize, g as SubscriberPolicy, i as AuthorizationHooks, v as SupportAuthorizeInput } from "../authorization-hooks-DNjUgOrl.js";
|
|
6
6
|
import { n as ApprovalOptions } from "../server-types-CBa24huI.js";
|
|
7
7
|
import { s as ApiKeyResolverOptions } from "../api-keys-DAPc3sq_.js";
|
|
8
8
|
import { r as AuthzVersionSource } from "../authz-topic-C7n3kIm_.js";
|
|
9
|
-
import { a as ToolDecision, n as McpOptions, s as ToolRef } from "../index-
|
|
10
|
-
import { n as BlockTables, t as BlockTable } from "../block-tables-
|
|
9
|
+
import { a as ToolDecision, n as McpOptions, s as ToolRef } from "../index-iaMOudmP.js";
|
|
10
|
+
import { n as BlockTables, t as BlockTable } from "../block-tables-Pd7nOPv3.js";
|
|
11
11
|
/**
|
|
12
12
|
* The types an authorization library implements or reads, in one entry with no
|
|
13
13
|
* runtime code. Every slot is versioned `apiVersion: 1`; a breaking change to
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as ClientAuth } from "./bind-
|
|
1
|
+
import { a as ClientAuth } from "./bind-ChYzUApb.js";
|
|
2
2
|
/**
|
|
3
3
|
* A block's client state, framework-agnostic. `subscribe` and `getSnapshot`
|
|
4
4
|
* follow the external-store contract, so React's `useSyncExternalStore`, a Vue
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { n as whileSignedIn, t as defineController } from "./controller-BJmh7gFm.js";
|
|
2
2
|
import { r as recordEventMatches } from "./record-bindings-jTZw-GVe.js";
|
|
3
|
-
import { f as findBinding, p as loadBindings } from "./record-type-
|
|
3
|
+
import { f as findBinding, p as loadBindings } from "./record-type-SZywJ0Rp.js";
|
|
4
4
|
// src/records/controller.ts
|
|
5
5
|
/**
|
|
6
6
|
* One record page's bindings for the signed-in user over one realtime
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { f as Result } from "./result-CMqlHv82.js";
|
|
2
|
-
import { ai as ActionCall, ii as Action, oi as ActionContext } from "./define-block-
|
|
2
|
+
import { ai as ActionCall, ii as Action, oi as ActionContext } from "./define-block-DiW9g10_.js";
|
|
3
3
|
import { StandardSchemaV1 } from "@standard-schema/spec";
|
|
4
4
|
/** A record a conversion reads from or creates: its subject type and id. */
|
|
5
5
|
interface ConversionRef {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { n as dbError } from "./errors-CXPerGIl.js";
|
|
2
2
|
import { a as ok, r as err } from "./result-DrBaeIVt.js";
|
|
3
|
-
import { f as findBinding, p as loadBindings } from "./record-type-
|
|
3
|
+
import { f as findBinding, p as loadBindings } from "./record-type-SZywJ0Rp.js";
|
|
4
4
|
// src/records/timeline.ts
|
|
5
5
|
/** The binding names of `blocks` whose bindings map rows to timeline entries. */
|
|
6
6
|
function timelineBindings(blocks) {
|
package/dist/create/index.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/// <reference lib="esnext.temporal" />
|
|
2
|
-
import { wr as Preset } from "../define-block-
|
|
3
|
-
import { $r as AppColumnAccess, Dn as CreateDesign, Sn as PresetName, Xr as APP_ON_DELETE_ACTIONS, ar as PresetInput, ii as AppOnDeleteAction, ni as AppColumnType, u as BlockSqlAccessProvider, ur as PresetSpec } from "../context-
|
|
4
|
-
import { b as DesignChange } from "../index-
|
|
5
|
-
import { $ as SchemaTable, A as renameColumn, B as AppEvents, C as editTable, Ct as tableWithComputed, D as isEmptyDesign, Dt as IssueSeverity, E as isAppTable, Et as IssueCode, F as singular, G as subjectTypeError, H as eventsColumnsEdited, I as tidy, J as SchemaData, K as SchemaColumn, L as updateTable, M as setColumn, N as setExtraColumn, O as moveTables, Ot as IssueSource, P as setTableId, Q as SchemaSource, R as userConnection, S as duplicateTable, St as rollupSources, T as identifierError, Tt as Issue, U as subjectColumns, V as AppSubject, W as subjectColumnsEdited, X as SchemaOptions, Y as SchemaForeignKey, Z as SchemaSoftRef, _ as connect, _t as isRollupAggregate, a as AppScope, at as tenantColumnOf, b as deleteExtraColumn, bt as readableColumns, c as ConnectResult, ct as ComputedRow, d as EMPTY_DESIGN, dt as RollupAggregate, et as SchemaTarget, f as NamedDesign, ft as computedColumnRenamed, g as columnError, gt as fittedRollup, h as appTableId, ht as filterColumns, i as AppReference, it as tableStatements, j as renameTable, k as referenceFrom, l as Connection, lt as DraftRollup, m as addTable, mt as computedTableRenamed, n as APP_MODULE, nt as parseSchema, o as AppTable, ot as AppLookup, p as TablePatch, pt as computedRows, q as SchemaComputed, r as AppColumn, rt as schemaRelations, s as AppTableId, st as AppRollup, t as PresetMigrationFile, tt as keyColumnsOf, u as Design, ut as ROLLUP_AGGREGATES, v as defaultError, vt as lookupSources, w as freeTableName, wt as tableWithoutComputed, x as deleteTable, xt as rollupColumns, y as deleteColumn, yt as prunedComputed, z as withDesign } from "../types-
|
|
2
|
+
import { wr as Preset } from "../define-block-DiW9g10_.js";
|
|
3
|
+
import { $r as AppColumnAccess, Dn as CreateDesign, Sn as PresetName, Xr as APP_ON_DELETE_ACTIONS, ar as PresetInput, ii as AppOnDeleteAction, ni as AppColumnType, u as BlockSqlAccessProvider, ur as PresetSpec } from "../context-DNwBlpKo.js";
|
|
4
|
+
import { b as DesignChange } from "../index-D6y6ojUX.js";
|
|
5
|
+
import { $ as SchemaTable, A as renameColumn, B as AppEvents, C as editTable, Ct as tableWithComputed, D as isEmptyDesign, Dt as IssueSeverity, E as isAppTable, Et as IssueCode, F as singular, G as subjectTypeError, H as eventsColumnsEdited, I as tidy, J as SchemaData, K as SchemaColumn, L as updateTable, M as setColumn, N as setExtraColumn, O as moveTables, Ot as IssueSource, P as setTableId, Q as SchemaSource, R as userConnection, S as duplicateTable, St as rollupSources, T as identifierError, Tt as Issue, U as subjectColumns, V as AppSubject, W as subjectColumnsEdited, X as SchemaOptions, Y as SchemaForeignKey, Z as SchemaSoftRef, _ as connect, _t as isRollupAggregate, a as AppScope, at as tenantColumnOf, b as deleteExtraColumn, bt as readableColumns, c as ConnectResult, ct as ComputedRow, d as EMPTY_DESIGN, dt as RollupAggregate, et as SchemaTarget, f as NamedDesign, ft as computedColumnRenamed, g as columnError, gt as fittedRollup, h as appTableId, ht as filterColumns, i as AppReference, it as tableStatements, j as renameTable, k as referenceFrom, l as Connection, lt as DraftRollup, m as addTable, mt as computedTableRenamed, n as APP_MODULE, nt as parseSchema, o as AppTable, ot as AppLookup, p as TablePatch, pt as computedRows, q as SchemaComputed, r as AppColumn, rt as schemaRelations, s as AppTableId, st as AppRollup, t as PresetMigrationFile, tt as keyColumnsOf, u as Design, ut as ROLLUP_AGGREGATES, v as defaultError, vt as lookupSources, w as freeTableName, wt as tableWithoutComputed, x as deleteTable, xt as rollupColumns, y as deleteColumn, yt as prunedComputed, z as withDesign } from "../types-D9r3axee.js";
|
|
6
6
|
import { a as SupabaseLint, o as SupabaseOrganization, s as SupabaseProject } from "../management-DtX4ic1F.js";
|
|
7
7
|
/** What `checkDesign` returns. */
|
|
8
8
|
export type DesignCheck = {
|