better-supabase 0.53.0 → 0.55.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/dist/{activities-B0ENjxY5.d.ts → activities-DPq0U9Nb.d.ts} +6 -6
- package/dist/{adapter-CJa5ys5O.js → adapter-D7GH81nF.js} +44 -0
- package/dist/{agents-D_EOJyJM.d.ts → agents-BOzK0MbI.d.ts} +4 -4
- package/dist/{agents-BrLBg0gC.d.ts → agents-CBXJce8J.d.ts} +6 -6
- package/dist/{ai-cache-DkBo2zOv.d.ts → ai-cache-BvDaB1pY.d.ts} +4 -4
- package/dist/{ai-chat-B1tvHB75.d.ts → ai-chat-DiXgrAd3.d.ts} +4 -4
- package/dist/{ai-guardrails-DRstFl-d.d.ts → ai-guardrails-DEofLB_z.d.ts} +3 -3
- package/dist/{ai-schedules-Dfbcor59.d.ts → ai-schedules-CtwkMJDZ.d.ts} +5 -5
- package/dist/ai-sdk/agents/index.d.ts +2 -2
- package/dist/ai-sdk/batches/index.d.ts +3 -3
- package/dist/ai-sdk/cache/index.d.ts +1 -1
- package/dist/ai-sdk/chat/index.d.ts +2 -2
- package/dist/ai-sdk/embeddings/index.d.ts +2 -2
- package/dist/ai-sdk/files/index.d.ts +1 -1
- package/dist/ai-sdk/index.d.ts +8 -8
- package/dist/ai-sdk/mcp/index.d.ts +3 -3
- package/dist/ai-sdk/memory/index.d.ts +3 -3
- package/dist/ai-sdk/workflow/index.d.ts +4 -4
- package/dist/{api-CGYctFBt.d.ts → api-8Q1VgGJT.d.ts} +5 -5
- package/dist/{api-keys-COJAXdGF.d.ts → api-keys-Dqif78kM.d.ts} +4 -4
- package/dist/{app-tables-CZLNOXeA.d.ts → app-tables-BsDmauWB.d.ts} +1 -1
- package/dist/{approvals-Ds7pFvnl.d.ts → approvals-DnabEGo2.d.ts} +6 -6
- package/dist/{assistant-DLKGA2nm.d.ts → assistant-Du8hceVj.d.ts} +2 -2
- package/dist/astro/index.d.ts +7 -7
- package/dist/astro/index.js +2 -2
- package/dist/{attachments-Djs8uyat.js → attachments-sZnT13hL.js} +5 -1
- package/dist/{audit-actions-Dni5Y4wV.d.ts → audit-actions-DC-AtyWB.d.ts} +6 -0
- package/dist/auth/index.d.ts +8 -0
- package/dist/auth/index.js +1 -0
- package/dist/{authorization-UYejwQsk.d.ts → authorization-DK7YSiFV.d.ts} +1 -1
- package/dist/{authorization-hooks-BiMwxiZN.d.ts → authorization-hooks-DM_ijJsD.d.ts} +2 -2
- package/dist/{automations-CjKWYzIu.js → automations-Cu1KdCvL.js} +3 -1
- package/dist/{banking-reads-M3pbqqke.js → banking-reads-C41R4bEw.js} +1 -1
- package/dist/better-result/index.d.ts +3 -3
- package/dist/{bind-D4qLTlY4.d.ts → bind-DiGmjHzz.d.ts} +7 -7
- package/dist/{block-authors-C5z3tGVu.d.ts → block-authors-BkayxCWo.d.ts} +2 -0
- package/dist/{block-authors-BUczGqr5.js → block-authors-Dt8tG1o9.js} +2 -1
- package/dist/{block-env-BLBr90is.d.ts → block-env-BTKZBCL4.d.ts} +4 -4
- package/dist/{block-event-listener-CaR-FW5X.d.ts → block-event-listener-DannKfYZ.d.ts} +1 -1
- package/dist/{block-events-records-CMq4TElv.d.ts → block-events-records-BhqpDl-4.d.ts} +1 -1
- package/dist/{block-helpers-YOdaCxWE.d.ts → block-helpers-rTsuHt6v.d.ts} +1 -1
- package/dist/{block-hooks-xAMR6WdT.d.ts → block-hooks-FM9t7ol_.d.ts} +2 -2
- package/dist/{block-subjects-B8PmdWEd.d.ts → block-subjects-B6qEt8WO.d.ts} +1 -1
- package/dist/{block-subjects-Cvd-RaMY.js → block-subjects-BoJrJAgR.js} +7 -4
- package/dist/{block-tables-BkgafSZd.d.ts → block-tables-B6Jt0mWg.d.ts} +1 -1
- package/dist/{block-transport-DBteddOY.d.ts → block-transport-CP4wAHU-.d.ts} +2 -2
- package/dist/blocks/access-requests/index.d.ts +3 -3
- package/dist/blocks/accounting/index.d.ts +3 -3
- package/dist/blocks/acknowledgements/index.d.ts +2 -2
- package/dist/blocks/activities/index.d.ts +6 -6
- package/dist/blocks/advisories/index.d.ts +5 -5
- package/dist/blocks/agent-checkout/index.d.ts +7 -7
- package/dist/blocks/agents/index.d.ts +5 -5
- package/dist/blocks/ai-cache/index.d.ts +3 -3
- package/dist/blocks/ai-chat/index.d.ts +4 -4
- package/dist/blocks/ai-evals/index.d.ts +4 -4
- package/dist/blocks/ai-files/index.d.ts +3 -3
- package/dist/blocks/ai-guardrails/index.d.ts +4 -4
- package/dist/blocks/ai-keys/index.d.ts +4 -4
- package/dist/blocks/ai-schedules/index.d.ts +3 -3
- package/dist/blocks/announcements/index.d.ts +8 -8
- package/dist/blocks/api-keys/index.d.ts +3 -3
- package/dist/blocks/appraisals/index.d.ts +5 -5
- package/dist/blocks/approvals/index.d.ts +3 -3
- package/dist/blocks/assets/index.d.ts +4 -4
- package/dist/blocks/assignment/index.d.ts +3 -3
- package/dist/blocks/attachments/index.d.ts +11 -11
- package/dist/blocks/attachments/index.js +15 -5
- package/dist/blocks/audit/index.d.ts +121 -42
- package/dist/blocks/audit/index.js +183 -32
- package/dist/blocks/automations/index.d.ts +12 -12
- package/dist/blocks/banking/index.d.ts +3 -3
- package/dist/blocks/banking/index.js +1 -1
- package/dist/blocks/billable-time/index.d.ts +3 -3
- package/dist/blocks/billing/index.d.ts +6 -6
- package/dist/blocks/bookings/index.d.ts +3 -3
- package/dist/blocks/bulk/index.d.ts +4 -4
- package/dist/blocks/calendar/index.d.ts +3 -3
- package/dist/blocks/care/index.d.ts +30 -30
- package/dist/blocks/care/index.js +4 -4
- package/dist/blocks/care-plans/index.d.ts +6 -6
- package/dist/blocks/care-plans/index.js +2 -2
- package/dist/blocks/cases/index.d.ts +5 -5
- package/dist/blocks/catalog/index.d.ts +4 -4
- package/dist/blocks/channels/index.d.ts +7 -7
- package/dist/blocks/clinical-decision-support/index.d.ts +4 -4
- package/dist/blocks/cms/index.d.ts +7 -7
- package/dist/blocks/cms/index.js +2 -2
- package/dist/blocks/collaboration/index.d.ts +8 -8
- package/dist/blocks/collaboration/index.js +2 -2
- package/dist/blocks/collections/index.d.ts +6 -6
- package/dist/blocks/comments/index.d.ts +5 -5
- package/dist/blocks/comments/index.js +2 -2
- package/dist/blocks/commerce/index.d.ts +7 -7
- package/dist/blocks/commerce/index.js +2 -2
- package/dist/blocks/commissions/index.d.ts +5 -5
- package/dist/blocks/compliance/index.d.ts +5 -5
- package/dist/blocks/connectors/index.d.ts +4 -4
- package/dist/blocks/consents/index.d.ts +5 -5
- package/dist/blocks/contacts/index.d.ts +5 -5
- package/dist/blocks/content/index.d.ts +4 -4
- package/dist/blocks/contracts/index.d.ts +6 -6
- package/dist/blocks/courses/index.d.ts +5 -5
- package/dist/blocks/created-by/index.d.ts +3 -3
- package/dist/blocks/crm/index.d.ts +18 -18
- package/dist/blocks/crm/index.js +3 -3
- package/dist/blocks/custom-fields/index.d.ts +2 -2
- package/dist/blocks/dam/index.d.ts +6 -6
- package/dist/blocks/dam/index.js +2 -2
- package/dist/blocks/data-lifecycle/index.d.ts +3 -3
- package/dist/blocks/deadlines/index.d.ts +193 -0
- package/dist/blocks/deadlines/index.js +159 -0
- package/dist/blocks/deals/index.d.ts +3 -3
- package/dist/blocks/dispatch/index.d.ts +4 -4
- package/dist/blocks/document-templates/index.d.ts +23 -52
- package/dist/blocks/document-templates/index.js +17 -17
- package/dist/blocks/documents/index.d.ts +4 -4
- package/dist/blocks/domains/index.d.ts +6 -6
- package/dist/blocks/donations/index.d.ts +6 -6
- package/dist/blocks/drive/index.d.ts +6 -6
- package/dist/blocks/drive/index.js +3 -3
- package/dist/blocks/e-prescribing/index.d.ts +4 -4
- package/dist/blocks/employees/index.d.ts +3 -3
- package/dist/blocks/enrichment/index.d.ts +3 -3
- package/dist/blocks/enrollments/index.d.ts +4 -4
- package/dist/blocks/entitlements/index.d.ts +4 -4
- package/dist/blocks/events/index.d.ts +5 -5
- package/dist/blocks/expenses/index.d.ts +5 -5
- package/dist/blocks/field-history/index.d.ts +3 -3
- package/dist/blocks/filespace/index.d.ts +9 -9
- package/dist/blocks/filespace/index.js +3 -3
- package/dist/blocks/finance/index.d.ts +6 -6
- package/dist/blocks/finance/index.js +3 -3
- package/dist/blocks/flags/index.d.ts +5 -5
- package/dist/blocks/forecasts/index.d.ts +3 -3
- package/dist/blocks/forms/index.d.ts +4 -4
- package/dist/blocks/funding/index.d.ts +5 -5
- package/dist/blocks/goals/index.d.ts +3 -3
- package/dist/blocks/governance/index.d.ts +5 -5
- package/dist/blocks/guests/index.d.ts +3 -3
- package/dist/blocks/hiring/index.d.ts +3 -3
- package/dist/blocks/identities/index.d.ts +5 -5
- package/dist/blocks/imports/index.d.ts +6 -6
- package/dist/blocks/inbox/index.d.ts +10 -10
- package/dist/blocks/inbox/index.js +1 -1
- package/dist/blocks/incidents/index.d.ts +5 -5
- package/dist/blocks/index.d.ts +21 -19
- package/dist/blocks/index.js +1 -1
- package/dist/blocks/inspections/index.d.ts +6 -6
- package/dist/blocks/inventory/index.d.ts +3 -3
- package/dist/blocks/inventory/index.js +1 -1
- package/dist/blocks/invoices/index.d.ts +6 -6
- package/dist/blocks/invoices/index.js +1 -1
- package/dist/blocks/knowledge/index.d.ts +3 -3
- package/dist/blocks/lead-scoring/index.d.ts +4 -4
- package/dist/blocks/learning/index.d.ts +5 -5
- package/dist/blocks/leases/index.d.ts +6 -6
- package/dist/blocks/leave/index.d.ts +3 -3
- package/dist/blocks/ledger/index.d.ts +6 -6
- package/dist/blocks/legal-entities/index.d.ts +6 -6
- package/dist/blocks/lims/index.d.ts +6 -6
- package/dist/blocks/mail-sync/index.d.ts +5 -5
- package/dist/blocks/maintenance/index.d.ts +4 -4
- package/dist/blocks/manufacturing/index.d.ts +6 -6
- package/dist/blocks/medications/index.d.ts +4 -4
- package/dist/blocks/meetings/index.d.ts +5 -5
- package/dist/blocks/memberships/index.d.ts +3 -3
- package/dist/blocks/memory/index.d.ts +4 -4
- package/dist/blocks/messaging/index.d.ts +11 -11
- package/dist/blocks/messaging/index.js +1 -1
- package/dist/blocks/metrics/index.d.ts +6 -6
- package/dist/blocks/mfa/index.d.ts +2 -2
- package/dist/blocks/moderation/index.d.ts +7 -7
- package/dist/blocks/notifications/index.d.ts +10 -10
- package/dist/blocks/numbering/index.d.ts +1 -1
- package/dist/blocks/oauth-server/index.d.ts +5 -5
- package/dist/blocks/observations/index.d.ts +5 -5
- package/dist/blocks/onboarding/index.d.ts +3 -3
- package/dist/blocks/option-sets/index.d.ts +183 -0
- package/dist/blocks/option-sets/index.js +188 -0
- package/dist/blocks/orders/index.d.ts +4 -4
- package/dist/blocks/orders/index.js +1 -1
- package/dist/blocks/organizations/index.d.ts +4 -4
- package/dist/blocks/outbox/index.d.ts +4 -4
- package/dist/blocks/passes/index.d.ts +4 -4
- package/dist/blocks/payroll-export/index.d.ts +4 -4
- package/dist/blocks/payroll-export/index.js +1 -1
- package/dist/blocks/people/index.d.ts +8 -8
- package/dist/blocks/people/index.js +1 -1
- package/dist/blocks/periods/index.d.ts +5 -5
- package/dist/blocks/permissions/index.d.ts +7 -7
- package/dist/blocks/pipelines/index.d.ts +3 -3
- package/dist/blocks/pipelines/index.js +1 -1
- package/dist/blocks/posts/index.d.ts +6 -6
- package/dist/blocks/procurement/index.d.ts +6 -6
- package/dist/blocks/procurement/index.js +3 -3
- package/dist/blocks/profiles/index.d.ts +3 -3
- package/dist/blocks/profiles/index.js +1 -1
- package/dist/blocks/projects/index.d.ts +8 -8
- package/dist/blocks/projects/index.js +2 -2
- package/dist/blocks/promotions/index.d.ts +3 -3
- package/dist/blocks/prompts/index.d.ts +4 -4
- package/dist/blocks/push/index.d.ts +7 -7
- package/dist/blocks/qualifications/index.d.ts +4 -4
- package/dist/blocks/queue/index.d.ts +5 -5
- package/dist/blocks/quotes/index.d.ts +5 -5
- package/dist/blocks/quotes/index.js +2 -2
- package/dist/blocks/rank/index.d.ts +4 -4
- package/dist/blocks/reactions/index.d.ts +6 -6
- package/dist/blocks/recruiting/index.d.ts +5 -5
- package/dist/blocks/referrals/index.d.ts +5 -5
- package/dist/blocks/relations/index.d.ts +7 -7
- package/dist/blocks/reminders/index.d.ts +1 -1
- package/dist/blocks/reviews/index.d.ts +5 -5
- package/dist/blocks/rfqs/index.d.ts +4 -4
- package/dist/blocks/risks/index.d.ts +6 -6
- package/dist/blocks/saas/index.d.ts +14 -14
- package/dist/blocks/saas/index.js +1 -1
- package/dist/blocks/sales/index.d.ts +1 -1
- package/dist/blocks/sales/index.js +1 -1
- package/dist/blocks/saved-views/index.d.ts +6 -6
- package/dist/blocks/scheduling/index.d.ts +6 -6
- package/dist/blocks/scores/index.d.ts +6 -6
- package/dist/blocks/search/index.d.ts +5 -5
- package/dist/blocks/security-events/index.d.ts +7 -7
- package/dist/blocks/segments/index.d.ts +4 -4
- package/dist/blocks/sequences/index.d.ts +5 -5
- package/dist/blocks/service/index.d.ts +8 -8
- package/dist/blocks/service/index.js +1 -1
- package/dist/blocks/service-accounts/index.d.ts +5 -5
- package/dist/blocks/sessions/index.d.ts +4 -4
- package/dist/blocks/settings/index.d.ts +4 -4
- package/dist/blocks/share-links/index.d.ts +1 -1
- package/dist/blocks/shifts/index.d.ts +4 -4
- package/dist/blocks/shipments/index.d.ts +32 -8
- package/dist/blocks/shipments/index.js +23 -0
- package/dist/blocks/signatures/index.d.ts +3 -3
- package/dist/blocks/signing-keys/index.d.ts +3 -3
- package/dist/blocks/sla/index.d.ts +3 -3
- package/dist/blocks/sso/index.d.ts +6 -6
- package/dist/blocks/state-machine/index.d.ts +2 -2
- package/dist/blocks/subjects/index.d.ts +7 -7
- package/dist/blocks/support/index.d.ts +6 -6
- package/dist/blocks/support/index.js +2 -2
- package/dist/blocks/tags/index.d.ts +3 -3
- package/dist/blocks/tasks/index.d.ts +5 -5
- package/dist/blocks/tasks/index.js +1 -1
- package/dist/blocks/tax/index.d.ts +4 -4
- package/dist/blocks/tax/index.js +1 -1
- package/dist/blocks/teams/index.d.ts +1 -1
- package/dist/blocks/templates/index.d.ts +18 -8
- package/dist/blocks/templates/index.js +6 -1
- package/dist/blocks/tills/index.d.ts +5 -5
- package/dist/blocks/time-tracking/index.d.ts +3 -3
- package/dist/blocks/timeline/index.d.ts +2 -2
- package/dist/blocks/trash/index.d.ts +3 -3
- package/dist/blocks/undo/index.d.ts +4 -4
- package/dist/blocks/updated-at/index.d.ts +3 -3
- package/dist/blocks/usage/index.d.ts +4 -4
- package/dist/blocks/vercel-marketplace/index.d.ts +5 -5
- package/dist/blocks/versions/index.d.ts +2 -2
- package/dist/blocks/versions/index.js +1 -1
- package/dist/blocks/waitlist/index.d.ts +5 -5
- package/dist/blocks/warehouse/index.d.ts +5 -5
- package/dist/blocks/webhooks/index.d.ts +13 -13
- package/dist/blocks/workflow-editor/index.d.ts +9 -9
- package/dist/blocks/workflows/index.d.ts +7 -7
- package/dist/{blocks-EFj0duwB.d.ts → blocks-2HFgUcqG.d.ts} +196 -32
- package/dist/{bookings-DetPC3Dw.d.ts → bookings-CBRjx_ZD.d.ts} +3 -3
- package/dist/{bucket-CUw0p3qM.d.ts → bucket-DJu58KBb.d.ts} +1 -1
- package/dist/{cache-tags-TT8h2zMg.d.ts → cache-tags-CGaOtjgV.d.ts} +2 -2
- package/dist/{care-plans-D5B4oqQC.d.ts → care-plans-pCvNs7-a.d.ts} +2 -2
- package/dist/{care-plans-sql-CNMF3H9k.js → care-plans-sql-CNs5Mpql.js} +1 -1
- package/dist/{carrier-DOAreMbT.d.ts → carrier-DaIG8Q4x.d.ts} +12 -0
- package/dist/chat-sdk/index.d.ts +6 -6
- package/dist/claims/index.d.ts +6 -6
- package/dist/cli/{add-C3yGPSQS.js → add-BnYh-Kpy.js} +12 -12
- package/dist/cli/add-D0TUMxXn.js +1 -0
- package/dist/cli/{add-DlucpPCL.js → add-LvxZ-JNB.js} +2 -2
- package/dist/cli/{app-table-files-CC5n8Si8.js → app-table-files-7M0I9LaE.js} +3 -3
- package/dist/cli/{app-tables-C-Rk_GnI.js → app-tables-BfWPWiOJ.js} +2 -2
- package/dist/cli/{backfill-DbqA8coR.js → backfill-i0Tx24Sa.js} +3 -3
- package/dist/cli/bin.js +1 -1
- package/dist/cli/{blocks-BBBpNbQD.js → blocks-C_7ioBdJ.js} +1 -1
- package/dist/cli/{blocks-BFlOktiM.js → blocks-X_eD_t_f.js} +1 -1
- package/dist/cli/{cache-BgNWPD9a.js → cache-D98rjB1C.js} +17 -4
- package/dist/cli/{codemod-B4DpCiqX.js → codemod-j1nCkgA5.js} +1 -1
- package/dist/cli/{config-FN5Cp861.js → config-DdkxiGjH.js} +7 -0
- package/dist/cli/{config-U32Vo0h6.js → config-DmjFp8jY.js} +1 -1
- package/dist/cli/{content-mapper-BaJhpTQA.js → content-mapper-UsLt4y0J.js} +2 -2
- package/dist/cli/{db-T8u160uM.js → db-B54TQ_iX.js} +2 -2
- package/dist/cli/{doctor-Dnq5J_p_.js → doctor-BYJM72wi.js} +34 -20
- package/dist/cli/{gen-Bf9cVgpR.js → gen-D47t5jj3.js} +14 -14
- package/dist/cli/index.d.ts +3 -1
- package/dist/cli/index.js +7 -7
- package/dist/cli/{init-_IFg5fe6.js → init-CAWeLXCs.js} +10 -10
- package/dist/cli/{live-pq1yvvsl.js → live-DNd8MMNk.js} +2 -2
- package/dist/cli/{mcp-YD0Ap6ok.js → mcp-BUs7M6fq.js} +2 -2
- package/dist/cli/{metadata-CfauXPW0.js → metadata-UwEYCntC.js} +3 -3
- package/dist/cli/{migrate-DWCu2Nny.js → migrate-D-GzXR4D.js} +1 -1
- package/dist/cli/{migration-safety-rjlsDMDU.js → migration-safety-Cg9jf2s-.js} +2 -2
- package/dist/cli/{migrations-BRCqeu8k.js → migrations-Bhcf7MHM.js} +2 -2
- package/dist/cli/{module-migration-BpptcXiB.js → module-migration-BJaOdOWy.js} +2 -2
- package/dist/cli/powersync-Bn-u0TGP.js +1 -0
- package/dist/cli/{powersync-DsbJBuTR.js → powersync-DQKdjG_K.js} +3 -3
- package/dist/cli/{print-A9UGTj_t.js → print-B1onZWRG.js} +2 -2
- package/dist/cli/{providers-MlTm8nMs.js → providers-M7s8btf1.js} +1 -1
- package/dist/cli/{prune-workflows-B6sqjrR0.js → prune-workflows-BiRF1YBZ.js} +3 -3
- package/dist/cli/{remove-BpY-E_l4.js → remove-BHyzqWNm.js} +6 -6
- package/dist/cli/{render-8qD7j0se.js → render-DDCy_0V_.js} +20 -10
- package/dist/cli/{run-DHRA46qf.js → run-Csm1-Uto.js} +35 -35
- package/dist/cli/{run-Dl1TZGsM.js → run-DDUBMkbN.js} +9 -9
- package/dist/cli/seed-BxjjQ3OO.js +1 -0
- package/dist/cli/{seed-BgpovbwF.js → seed-kCLEYSOH.js} +2 -2
- package/dist/cli/{shared-B77Q9x0E.js → shared-Cv22MEAO.js} +1 -1
- package/dist/cli/{snapshot-_roTbSZM.js → snapshot-9xnSt525.js} +71 -7
- package/dist/cli/{source-BseR3sy9.js → source-B_miugrh.js} +1 -1
- package/dist/cli/{source-args-DC8snM7e.js → source-args-C3_mMci3.js} +1 -1
- package/dist/cli/{spec-n6QRlBOJ.js → spec-BeAgQ-of.js} +1 -1
- package/dist/cli/{spec-Ct3i4drt.js → spec-dYLJbr9J.js} +2 -2
- package/dist/cli/{sql-layout-D_fJsw3B.js → sql-layout-3YU4941N.js} +2 -2
- package/dist/cli/{sync-DqBQi0QQ.js → sync-Bfwk4Ldc.js} +4 -4
- package/dist/cli/{upgrade-y3Iv4wl8.js → upgrade-BMrkzAcD.js} +5 -5
- package/dist/cli/{upgrade-MRqrFaO1.js → upgrade-DRvMFW2T.js} +2 -2
- package/dist/cli/{version-CiE6Pt0K.js → version-BXjNETWS.js} +1 -1
- package/dist/client/index.d.ts +6 -6
- package/dist/client/native/index.d.ts +5 -5
- package/dist/{clinical-decision-support-C18qtFj-.d.ts → clinical-decision-support-CMAg066a.d.ts} +3 -3
- package/dist/{cloud-event-SAA1PEvA.d.ts → cloud-event-Dj2V1lQw.d.ts} +1 -1
- package/dist/{compiler-70Fl9dnF.d.ts → compiler-BSHKt-d2.d.ts} +2 -2
- package/dist/{composite-CgxTMZTK.js → composite-C4oO4i6z.js} +1 -1
- package/dist/{composite-CvlcYj8Y.d.ts → composite-Ddap_a-U.d.ts} +7 -7
- package/dist/{composite-reads-CEI-IJ5A.d.ts → composite-reads-BJ1TQ3AK.d.ts} +2 -2
- package/dist/config/index.d.ts +5 -5
- package/dist/config/index.js +4 -4
- package/dist/{config-BWYT86yp.js → config-CsX2THwJ.js} +3 -3
- package/dist/{config-B1m2PpjB.js → config-Dgl6AxKE.js} +26 -1
- package/dist/{connectors-BY81_miN.d.ts → connectors-DbxxDqyA.d.ts} +4 -4
- package/dist/{consents-BWE1N4Sn.d.ts → consents-6PofNNAB.d.ts} +3 -3
- package/dist/{contacts-DYS4GDJ-.d.ts → contacts-CDA1nZxh.d.ts} +3 -3
- package/dist/{context-DcHcHc2b.d.ts → context-DSJpfeVv.d.ts} +67 -6
- package/dist/contract/index.d.ts +9 -9
- package/dist/{contributions-DPjEWWpE.js → contributions-olp7tVYC.js} +11 -0
- package/dist/{controller-BrTPi8Po.d.ts → controller-BVee4yX8.d.ts} +1 -1
- package/dist/{conversion-t1F0y--Y.d.ts → conversion-BPkWkVoa.d.ts} +1 -1
- package/dist/create/index.d.ts +4 -4
- package/dist/create/index.js +3 -3
- package/dist/create/lite/index.d.ts +4 -4
- package/dist/create/lite/index.js +2 -2
- package/dist/{create-blocks-CkhSm4iX.js → create-blocks-Af1utfuf.js} +20 -8
- package/dist/credentials/index.d.ts +4 -4
- package/dist/{data-engine-BcUcfW1q.d.ts → data-engine-0uVsKWaB.d.ts} +8 -4
- package/dist/{db-blocks-Dp-4qbYN.d.ts → db-blocks-CzhzWfvR.d.ts} +5 -5
- package/dist/deadlines-values-B7ArpVJU.js +127 -0
- package/dist/{define-block-B2um61Uj.d.ts → define-block-Cu67KCN1.d.ts} +48 -19
- package/dist/{document-templates-values-BnBuJB0m.js → document-templates-values-DpNB3q5K.js} +4 -1
- package/dist/{documents-C8OJO-L6.d.ts → documents-pW4DIqiC.d.ts} +3 -3
- package/dist/{drive-BSp7gloI.d.ts → drive-D008IDpI.d.ts} +5 -5
- package/dist/e-invoicing/index.d.ts +2 -2
- package/dist/{e-prescribing-09IQDtRG.d.ts → e-prescribing-W0tunICr.d.ts} +4 -4
- package/dist/edge/index.d.ts +9 -9
- package/dist/edge/index.js +3 -3
- package/dist/elysia/index.d.ts +1 -1
- package/dist/{embeddings-BXTzKGvc.d.ts → embeddings-DA6mQZKv.d.ts} +2 -2
- package/dist/{ended-U8XnT2Ta.d.ts → ended-C-w3KU-i.d.ts} +2 -2
- package/dist/{entitlements-DuNBTDsH.d.ts → entitlements-CRBZg5y2.d.ts} +2 -2
- package/dist/eve/index.d.ts +9 -9
- package/dist/{eve-BBH2T4UZ.d.ts → eve-CY8cwAtb.d.ts} +2 -2
- package/dist/events/index.d.ts +5 -5
- package/dist/{events-X-Dhu495.d.ts → events-DN9PAcjq.d.ts} +1 -1
- package/dist/{executor-Czf5tnue.d.ts → executor-CeZUCBC3.d.ts} +1 -1
- package/dist/{executor-RNhfR91D.d.ts → executor-CewY2EQK.d.ts} +4 -4
- package/dist/{executor-sziduCKN.d.ts → executor-CnU5r1HS.d.ts} +1 -1
- package/dist/expo/index.d.ts +6 -6
- package/dist/expo/index.js +2 -2
- package/dist/{extract-DvU_lPRQ.d.ts → extract-BU5w3k5s.d.ts} +5 -5
- package/dist/fhir/index.d.ts +5 -5
- package/dist/{field-errors-Mo8dzoyA.d.ts → field-errors-CjEgbjO9.d.ts} +10 -10
- package/dist/{fields-CUZVw9WB.d.ts → fields-Cy8HCOKW.d.ts} +1 -1
- package/dist/{filter-evaluate-BFBP_icy.d.ts → filter-evaluate-CgKvlbI7.d.ts} +1 -1
- package/dist/{filter-query-09B_jtdv.d.ts → filter-query-CJ3wcwqH.d.ts} +1 -1
- package/dist/{flags-3v6OMgdo.d.ts → flags-CRR5N4_s.d.ts} +2 -2
- package/dist/flags-sdk/index.d.ts +2 -2
- package/dist/{framework-BfP8NwDY.js → framework-B6jEuZLs.js} +1 -1
- package/dist/{framework-BoDTo47q.d.ts → framework-B9hr-1OW.d.ts} +8 -8
- package/dist/{funding-B5xV2Vuz.d.ts → funding-C2R7BTT_.d.ts} +4 -4
- package/dist/{gateway-iEOaTBsD.d.ts → gateway-Dwd08sBI.d.ts} +3 -3
- package/dist/h3/index.d.ts +1 -1
- package/dist/h3/v1/index.d.ts +1 -1
- package/dist/hono/index.d.ts +9 -9
- package/dist/hono/index.js +2 -2
- package/dist/{inbox-CkUbmD3t.d.ts → inbox-CnyAG7kj.d.ts} +5 -5
- package/dist/{index-bOWESOEm.d.ts → index--7HXH_H_.d.ts} +4 -4
- package/dist/{index-BFw-iTQT.d.ts → index-AmPcMT_X.d.ts} +3 -3
- package/dist/{index-BLRLF6iG.d.ts → index-BDn4Mqq0.d.ts} +6 -6
- package/dist/{index-DTqpt8XQ.d.ts → index-BOZ6AsMs.d.ts} +5 -5
- package/dist/{index-Xsu3egx_.d.ts → index-BR8ZkijS.d.ts} +8 -8
- package/dist/{index-CnQ27iFg.d.ts → index-BTl5A8Aj.d.ts} +5 -5
- package/dist/{index-C8-8-t1s.d.ts → index-BVJsz3pS.d.ts} +9 -9
- package/dist/{index-CaMHCzBp.d.ts → index-BeU2DRAI.d.ts} +2 -2
- package/dist/{index-BLpP1czF.d.ts → index-BleHtlJ6.d.ts} +7 -7
- package/dist/{index-B2zDRJMB.d.ts → index-BoCyVsCr.d.ts} +4 -4
- package/dist/{index-46Mwoxp8.d.ts → index-BvPirjfD.d.ts} +9 -9
- package/dist/{index-CT-3_fva.d.ts → index-CCmKc1hX.d.ts} +1 -1
- package/dist/{index-BGje-MeF.d.ts → index-CDEzb5bl.d.ts} +5 -5
- package/dist/{index-CNNGDSxy.d.ts → index-CKdNndE3.d.ts} +2 -2
- package/dist/{index-BPz1IGUB.d.ts → index-CaW37FHZ.d.ts} +5 -5
- package/dist/{index-Dndo_is2.d.ts → index-ChaJiMkI.d.ts} +5 -5
- package/dist/{index-PeaYXjhx.d.ts → index-D-3fZP5z.d.ts} +6 -6
- package/dist/{index-ISihFGu9.d.ts → index-D5nY5k-2.d.ts} +9 -9
- package/dist/{index-DaClvzRy.d.ts → index-D7zwaGAP.d.ts} +6 -6
- package/dist/{index-Zf3t4MuL.d.ts → index-DDDHYXtr.d.ts} +14 -14
- package/dist/{index-TNNEpcgG.d.ts → index-DJ1Uk4ff.d.ts} +6 -6
- package/dist/{index-kKkGf0_-.d.ts → index-DR4P3Lf9.d.ts} +5 -5
- package/dist/{index-C4QxQSYh.d.ts → index-DRsJvXo2.d.ts} +3 -3
- package/dist/{index-Bxu7m8vw.d.ts → index-DYzQ_PPW.d.ts} +6 -6
- package/dist/{index-YgUHItkp.d.ts → index-DZRsTCds.d.ts} +6 -6
- package/dist/{index-OHQg8Sdx.d.ts → index-DhS8Qkgj.d.ts} +5 -5
- package/dist/{index-C_Ilif3i.d.ts → index-DsA7MQwZ.d.ts} +3 -3
- package/dist/{index-s1IQy8sK.d.ts → index-DtMdKIJU.d.ts} +4 -4
- package/dist/{index-cPzs5TsD.d.ts → index-Dy-66Gne.d.ts} +1 -1
- package/dist/{index-DNdYTori.d.ts → index-Dyq6B4gZ.d.ts} +7 -7
- package/dist/{index-DLKMzlbR.d.ts → index-E_Q5L9PV.d.ts} +8 -8
- package/dist/{index-BpCBGOVF.d.ts → index-JzAR_Y7n.d.ts} +5 -5
- package/dist/{index-C3pOr989.d.ts → index-_RnZChF8.d.ts} +3 -3
- package/dist/{index-DfuF_8Ph.d.ts → index-_wr8wCe9.d.ts} +7 -7
- package/dist/{index-CV7Ibpek.d.ts → index-dMGEJLxl.d.ts} +3 -3
- package/dist/{index-BDEwjrNn.d.ts → index-ilxdL8pz.d.ts} +2 -2
- package/dist/{index-C2ilfaOF.d.ts → index-r3QZBY7z.d.ts} +5 -5
- package/dist/{index-Bdd-8C1P.d.ts → index-slG4UpF_.d.ts} +2 -2
- package/dist/{index-BMt0EVnl.d.ts → index-u8EXkOzJ.d.ts} +6 -6
- package/dist/{index-xA8WHuDE.d.ts → index-voglIa16.d.ts} +6 -6
- package/dist/index.d.ts +6 -6
- package/dist/{instances-CFXFHQMK.js → instances-BMjIO6Xu.js} +202 -10
- package/dist/{inventory-reads-BNDSYnuG.js → inventory-reads-DEw2Kbff.js} +2 -1
- package/dist/{invoices-D-j6pUMy.d.ts → invoices-DQB0pdnK.d.ts} +5 -5
- package/dist/{kit-CjmzrlVW.d.ts → kit-EFsCynmb.d.ts} +4 -4
- package/dist/{knowledge-CNG6Arug.d.ts → knowledge-vrO4Poa5.d.ts} +5 -5
- package/dist/lint/index.d.ts +1 -1
- package/dist/list/index.d.ts +3 -3
- package/dist/{list-query-CREBmVkm.d.ts → list-query-B4qI5eE8.d.ts} +3 -3
- package/dist/{manifest-D1-lCZro.d.ts → manifest-6PhMgCFi.d.ts} +6 -6
- package/dist/{manifest-C9Kn7gwK.d.ts → manifest-B17Sra5h.d.ts} +5 -5
- package/dist/{manifest-BwYOds2o.d.ts → manifest-B4CEdcH_.d.ts} +5 -5
- package/dist/{manifest-kbSJq3sR.js → manifest-BA4kiB8L.js} +1 -1
- package/dist/{manifest-09aHVu5Q.d.ts → manifest-BB3GjGa3.d.ts} +3 -3
- package/dist/{manifest-B3xj3-ew.d.ts → manifest-BE7UwezO.d.ts} +5 -5
- package/dist/{manifest-CiOcPFFy.d.ts → manifest-BMNwdO5D.d.ts} +5 -5
- package/dist/{manifest-Dy5_Rc0q.d.ts → manifest-BSvxbZH5.d.ts} +5 -5
- package/dist/{manifest-CmquAtQC.js → manifest-BV1YxozT.js} +1 -1
- package/dist/{manifest-CDK8R8Ze.d.ts → manifest-BVjhJ3Mj.d.ts} +6 -6
- package/dist/{manifest-Bc_2t9mY.d.ts → manifest-BXxSqnLS.d.ts} +4 -4
- package/dist/{manifest-dLThrKqV.d.ts → manifest-BYbt4y_O.d.ts} +5 -5
- package/dist/{manifest-jiaWr0x4.d.ts → manifest-BZL2TAB1.d.ts} +6 -6
- package/dist/{manifest-BRFen7mE.js → manifest-Bb8S2tcs.js} +1 -1
- package/dist/{manifest-a0YxYgo0.d.ts → manifest-BknZ4yQ-.d.ts} +4 -4
- package/dist/{manifest-C_ZDkBv4.d.ts → manifest-Bp0oZ3-W.d.ts} +4 -4
- package/dist/{manifest-DxPMUjhY.js → manifest-BvcIe5z_.js} +1 -1
- package/dist/{manifest-Dh3kIEzu.d.ts → manifest-Bz0EjE76.d.ts} +4 -4
- package/dist/{manifest-Dvhqz3qo.d.ts → manifest-BzsuqiQx.d.ts} +6 -6
- package/dist/{manifest-Dj7bGfoy.js → manifest-C-B9nV2m.js} +1 -1
- package/dist/{manifest-CaKVpJZM.d.ts → manifest-CBwrN4Nf.d.ts} +6 -6
- package/dist/{manifest-Bwv273Tb.d.ts → manifest-CELTce26.d.ts} +20 -8
- package/dist/{manifest-ETlyMx6o.d.ts → manifest-CGZQ9lU3.d.ts} +4 -4
- package/dist/{manifest-BUrKk2Ww.d.ts → manifest-CGcGylmw.d.ts} +2 -2
- package/dist/{manifest-C4CIOVkt.d.ts → manifest-CMNPpmWS.d.ts} +3 -3
- package/dist/{manifest-aJOA6D9w.d.ts → manifest-CMnLDDS3.d.ts} +18 -5
- package/dist/{manifest-JdAQqp5w.d.ts → manifest-CSHNTEJZ.d.ts} +8 -8
- package/dist/{manifest-D6ZukDGm.d.ts → manifest-CWj5SFuw.d.ts} +3 -3
- package/dist/{manifest-X24lr5XH.js → manifest-CXxHJ2NU.js} +1 -1
- package/dist/{manifest-DF49Pt6Q.d.ts → manifest-C_dVunWg.d.ts} +4 -4
- package/dist/{manifest-y2y5xPQC.d.ts → manifest-CaA-2HPK.d.ts} +7 -7
- package/dist/{manifest-Ccn2k0vb.d.ts → manifest-CbKgs5qA.d.ts} +4 -4
- package/dist/{manifest-XZV2sKgk.d.ts → manifest-CdD44xlg.d.ts} +4 -4
- package/dist/{manifest-CMnr9qpi.js → manifest-CeNAAHeR.js} +1 -1
- package/dist/{manifest-DBSs1jJ_.d.ts → manifest-CoFpa0dN.d.ts} +2 -2
- package/dist/{manifest-CnSZ16xc.js → manifest-CpL3pCc4.js} +1 -1
- package/dist/{manifest-H65OlXiB.js → manifest-CqJkmxrA.js} +1 -1
- package/dist/{manifest-BnFuyvL7.js → manifest-Cr9mpJDi.js} +4 -0
- package/dist/{manifest-CF-LsgEw.d.ts → manifest-D0FjVeay.d.ts} +3 -3
- package/dist/{manifest-CnkVWwAg.d.ts → manifest-D2Z_2z9-.d.ts} +4 -4
- package/dist/{manifest-0PeNUYcv.d.ts → manifest-D2d1wS7g.d.ts} +4 -4
- package/dist/{manifest-CNcJxi93.d.ts → manifest-D7mliM-d.d.ts} +4 -4
- package/dist/{manifest-D0KUPw4L.d.ts → manifest-D9P9Yhe3.d.ts} +5 -5
- package/dist/{manifest-DMTmTHBy.d.ts → manifest-DAXz8rxB.d.ts} +3 -3
- package/dist/{manifest-DpoO491p.d.ts → manifest-DG0oDOmq.d.ts} +4 -4
- package/dist/{manifest-CgCpK4Wm.d.ts → manifest-DGLrMEdB.d.ts} +7 -7
- package/dist/{manifest-COoFT2vY.d.ts → manifest-DGiswyG5.d.ts} +3 -3
- package/dist/{manifest-RAijfop2.d.ts → manifest-DIZ6chpf.d.ts} +4 -4
- package/dist/{manifest-c8mlNzOv.d.ts → manifest-DMvx2rWH.d.ts} +4 -4
- package/dist/{manifest-BdcBkznK.d.ts → manifest-DPqKZgWn.d.ts} +6 -6
- package/dist/{manifest-DyZcERh_.d.ts → manifest-DUlZ8qck.d.ts} +4 -4
- package/dist/{manifest-B5vPAt-u.d.ts → manifest-DYPVnKW_.d.ts} +8 -8
- package/dist/{manifest-Bg1swpdk.d.ts → manifest-D_VmA0aC.d.ts} +5 -5
- package/dist/{manifest-BYUIgwGb.d.ts → manifest-Dc8pNExY.d.ts} +4 -4
- package/dist/{manifest-B4HXWUh8.d.ts → manifest-Df1QDhiQ.d.ts} +8 -8
- package/dist/{manifest-BFXybbMn.d.ts → manifest-DhXoSaUC.d.ts} +3 -3
- package/dist/{manifest-Du_-0ruw.d.ts → manifest-DhpmWh55.d.ts} +5 -5
- package/dist/{manifest-CgP-MDb3.d.ts → manifest-Dk_7prKx.d.ts} +4 -4
- package/dist/{manifest-CW47rgqj.d.ts → manifest-Dl_bw4IU.d.ts} +6 -6
- package/dist/{manifest-jb384ocG.d.ts → manifest-DsuoLp-Y.d.ts} +3 -3
- package/dist/{manifest-B3YkuXKR.d.ts → manifest-DtEcJBdE.d.ts} +33 -7
- package/dist/{manifest-Cnb5QGMK.d.ts → manifest-DwCorUVJ.d.ts} +4 -4
- package/dist/{manifest-Lsz6rH3B.d.ts → manifest-DxPLHyKY.d.ts} +5 -5
- package/dist/{manifest-CazVMbdf.d.ts → manifest-Eazz96as.d.ts} +2 -2
- package/dist/{manifest-CScOn17C.js → manifest-F35IzwVM.js} +11 -3
- package/dist/{manifest-DEx8OSZK.js → manifest-IECPtdQj.js} +1 -1
- package/dist/{manifest-dlqXYOfB.d.ts → manifest-Pl5us_yz.d.ts} +6 -6
- package/dist/{manifest-pLJIrNwi.d.ts → manifest-X4analSK.d.ts} +3 -3
- package/dist/{manifest-BWh9leJI.js → manifest-_9ZFGQQm.js} +1 -1
- package/dist/{manifest-BLOufikB.d.ts → manifest-auanzyjB.d.ts} +3 -3
- package/dist/{manifest-CFFaunME.d.ts → manifest-gGFtQDJz.d.ts} +4 -4
- package/dist/{manifest-xAeOKTub.d.ts → manifest-lzwWCAYV.d.ts} +12 -12
- package/dist/{manifest-BUktyXMR.js → manifest-ok1ge1bM.js} +1 -1
- package/dist/{manifest-BpAI3Me7.js → manifest-u0q04U62.js} +2 -2
- package/dist/{manifest-BpiZFLbl.d.ts → manifest-uIIb_YLI.d.ts} +5 -5
- package/dist/{manifest-BSaRwzEH.js → manifest-vBvsSefP.js} +24 -6
- package/dist/{manifest-B3RgCccj.d.ts → manifest-xikzppm9.d.ts} +3 -3
- package/dist/{manifest-DQwFCQkG.d.ts → manifest-yKx0faak.d.ts} +4 -4
- package/dist/mapper/bin.js +6 -6
- package/dist/mcp/index.d.ts +3 -3
- package/dist/mcp/index.js +1 -1
- package/dist/mcp/sdk/index.d.ts +6 -6
- package/dist/mcp/sdk/index.js +1 -1
- package/dist/{mcp-Cu-bD9KQ.js → mcp-Br3FGtZ-.js} +1 -1
- package/dist/{medications-DSwF7lxp.d.ts → medications-0Uuwu3k2.d.ts} +4 -4
- package/dist/{messaging-BURLOg2p.d.ts → messaging-Co5bENPB.d.ts} +5 -5
- package/dist/nestjs/index.d.ts +2 -2
- package/dist/next/client/index.d.ts +1 -1
- package/dist/next/index.d.ts +27 -25
- package/dist/next/index.js +12 -8
- package/dist/node/index.d.ts +2 -2
- package/dist/{observations-CciBF6mG.d.ts → observations-ilWeRQ20.d.ts} +3 -3
- package/dist/{operations-_3oh-CEO.d.ts → operations-DKfYeS5z.d.ts} +1 -1
- package/dist/{options-CGQC7Wue.js → options-C1N8cOQU.js} +2 -1
- package/dist/{options-BxdqA2Ex.js → options-CDn2OgvY.js} +1 -0
- package/dist/{options-BTuDJ2RC.js → options-Cu6IqZ_n.js} +3 -1
- package/dist/options-DtDvpZu7.js +4 -0
- package/dist/{options-DwIoRvic.js → options-HwnZxyI3.js} +4 -1
- package/dist/{options-wBw_6uhd.js → options-Oo46IzNk.js} +2 -1
- package/dist/{orders-DBxCzU3w.d.ts → orders-CbJqNAF3.d.ts} +3 -3
- package/dist/{orders-reads-Yo9GGjdv.js → orders-reads-2ozdZx1l.js} +108 -13
- package/dist/orpc/index.d.ts +8 -8
- package/dist/orpc/index.js +1 -1
- package/dist/otel/index.d.ts +2 -2
- package/dist/otel/index.js +4 -4
- package/dist/{outbox-CThKZLSQ.d.ts → outbox-wJZ6Tc_H.d.ts} +4 -4
- package/dist/{parse-BRW-aTQQ.js → parse-CnAiiV-M.js} +1 -1
- package/dist/{payroll-export-CNji28TX.js → payroll-export-ChZY6W3w.js} +2 -2
- package/dist/{permissions-u_qqedin.d.ts → permissions-C5h1cU25.d.ts} +1 -1
- package/dist/{permissions-model-COgjsFbE.js → permissions-model-Dh9-Zzfy.js} +8 -0
- package/dist/{pool-DX5nqbLb.d.ts → pool-3kL7D5vJ.d.ts} +9 -3
- package/dist/{ports-DT5zRdYx.d.ts → ports-DvaVv_3b.d.ts} +1 -1
- package/dist/postgres/index.d.ts +4 -4
- package/dist/postgres/index.js +15 -1
- package/dist/{postgrest-DCLtVoK_.d.ts → postgrest-4vPs3cD4.d.ts} +1 -1
- package/dist/powersync/index.d.ts +9 -9
- package/dist/powersync/index.js +11 -3
- package/dist/preset/index.d.ts +4 -4
- package/dist/preset/index.js +3 -3
- package/dist/{preset--1OMwypM.js → preset-Cl3Q5ASC.js} +101 -3
- package/dist/{preview-BBA-VaEZ.d.ts → preview-Bwg7r1Lf.d.ts} +6 -6
- package/dist/{preview-Bd7ZBtf2.js → preview-CUiY7kzV.js} +2 -2
- package/dist/{project-BhE6_64F.js → project-At5wBJSS.js} +5 -5
- package/dist/{provider-AZZ755Eb.d.ts → provider-ChtwfkqL.d.ts} +1 -1
- package/dist/{push-token-hs6_Vt-I.d.ts → push-token-C6ZGE1g0.d.ts} +1 -1
- package/dist/query/index.d.ts +1 -1
- package/dist/rate-limit/index.d.ts +1 -1
- package/dist/{rate-limit-DzkFszLp.d.ts → rate-limit-5FLBVmTC.d.ts} +5 -5
- package/dist/react/index.d.ts +8 -8
- package/dist/react/index.js +1 -1
- package/dist/react/native/index.d.ts +1 -1
- package/dist/react/server.d.ts +8 -8
- package/dist/react/server.js +1 -1
- package/dist/react/session.d.ts +2 -2
- package/dist/{react-olMpD8et.js → react-C5uBAgPJ.js} +1 -1
- package/dist/react-router/index.d.ts +6 -6
- package/dist/react-router/index.js +2 -2
- package/dist/realtime/index.d.ts +6 -6
- package/dist/{record-form-Cze5j1OB.d.ts → record-form-DTncyqVH.d.ts} +1 -1
- package/dist/{recordings-CNNDKqGd.d.ts → recordings-1yDvOqM4.d.ts} +1 -1
- package/dist/records/index.d.ts +9 -9
- package/dist/{refusal-Dsn4WGbg.d.ts → refusal-nCMn-Fnw.d.ts} +3 -3
- package/dist/{resolve-NeMeUVtf.d.ts → resolve-B9Rn2M5c.d.ts} +1 -1
- package/dist/{resource-gebaumjo.d.ts → resource-BDVguZzJ.d.ts} +1 -1
- package/dist/{resource-execute-D2cJfrKu.d.ts → resource-execute-BVQQHOLb.d.ts} +2 -2
- package/dist/{resource-types-Cs1zWvrn.d.ts → resource-types-BmZx8q4a.d.ts} +4 -4
- package/dist/{resources-DyP9cP9i.d.ts → resources-Dz9pCv6I.d.ts} +2 -2
- package/dist/{respond--w7kF-Ym.d.ts → respond-OjgB7zlB.d.ts} +1 -1
- package/dist/{rows-D1WZwE8A.js → rows-C-eFWUrS.js} +1 -1
- package/dist/{sales-BCArDSEX.js → sales-BhOckhix.js} +4 -4
- package/dist/{sales-lines-C7kECFEA.d.ts → sales-lines-DZBLspUz.d.ts} +1 -1
- package/dist/{sandboxes-BD1M7bTW.d.ts → sandboxes-CjBtYDtC.d.ts} +1 -1
- package/dist/{scores-tCCJALNA.d.ts → scores-BZSIvM-v.d.ts} +5 -5
- package/dist/server/index.d.ts +27 -27
- package/dist/server/index.js +3 -3
- package/dist/{server-types-Bpxk5UWh.d.ts → server-types-Cf4eX4kr.d.ts} +32 -14
- package/dist/{session-DQ5huqEw.d.ts → session-CfOsLGD_.d.ts} +6 -6
- package/dist/{session-status-DDPrDS36.d.ts → session-status-ChvyVQgl.d.ts} +2 -2
- package/dist/{settings-eBr9PBev.d.ts → settings-BLvlPsne.d.ts} +2 -2
- package/dist/{sign-in-03gtm616.js → sign-in-qMkfifO1.js} +1 -1
- package/dist/{signers-BEYFvHJG.d.ts → signers-CPqWfc48.d.ts} +4 -4
- package/dist/{signing-keys-bI2l8FtF.d.ts → signing-keys-Vi7ieN7h.d.ts} +2 -2
- package/dist/solid/index.d.ts +10 -10
- package/dist/solid-start/index.d.ts +6 -6
- package/dist/solid-start/index.js +2 -2
- package/dist/spec/index.d.ts +2 -2
- package/dist/sql/index.d.ts +6 -6
- package/dist/sql/index.js +4 -4
- package/dist/{sql-BVUbNexh.js → sql-CdZdPqjA.js} +8226 -5159
- package/dist/sqlite/index.d.ts +3 -3
- package/dist/{sso-C1bO-vNS.d.ts → sso-C5o6-slp.d.ts} +3 -3
- package/dist/ssr/index.d.ts +4 -4
- package/dist/storage/index.d.ts +3 -3
- package/dist/streams/index.d.ts +1 -1
- package/dist/streams/resumable/index.d.ts +1 -1
- package/dist/{subject-readers-VaaoTxbd.d.ts → subject-readers-fKAdJQGu.d.ts} +2 -2
- package/dist/{subjects-BTUiakig.d.ts → subjects-C0_z3QUL.d.ts} +3 -3
- package/dist/{support-tDhEwXbu.d.ts → support-DYNFoAZ8.d.ts} +4 -4
- package/dist/{support-view-XeoLPB7S.d.ts → support-view-Dn_YTGV4.d.ts} +1 -1
- package/dist/svelte/index.d.ts +9 -9
- package/dist/sveltekit/index.d.ts +7 -7
- package/dist/sveltekit/index.js +2 -2
- package/dist/{tags-CBASI98_.d.ts → tags-BahXc6bW.d.ts} +1 -1
- package/dist/tanstack-db/index.d.ts +3 -3
- package/dist/tanstack-start/index.d.ts +6 -6
- package/dist/tanstack-start/index.js +2 -2
- package/dist/{tax-sql-0dqAt5nE.js → tax-sql-CbE1rhn-.js} +1 -1
- package/dist/{tenant-c_6qMyFI.d.ts → tenant-BTnwa5oZ.d.ts} +1 -1
- package/dist/testing/index.d.ts +34 -34
- package/dist/testing/index.js +1 -1
- package/dist/{timeline-DvZ7C5zf.d.ts → timeline-B7kBQ1gh.d.ts} +5 -5
- package/dist/{topic-fwPlelNI.d.ts → topic-hu0RP7CG.d.ts} +5 -5
- package/dist/{types-CmbztHZL.d.ts → types-BWuFVfGE.d.ts} +1 -1
- package/dist/{types-D5UNIbOQ.d.ts → types-BlBju7Wa.d.ts} +7 -0
- package/dist/{types-DLIYrsqE.d.ts → types-CJG0BntG.d.ts} +5 -5
- package/dist/{types-CmlZw_7N.d.ts → types-CTb0Uroz.d.ts} +5 -5
- package/dist/{types-2DVnlJqQ.d.ts → types-CqTqrrBK.d.ts} +7 -7
- package/dist/{types-Cwai2qe4.d.ts → types-DvglaQ_D.d.ts} +2 -2
- package/dist/{types-B1KabfWa.d.ts → types-M37hpCz_.d.ts} +3 -3
- package/dist/{types-BGbfmnVI.d.ts → types-hL1lelUA.d.ts} +4 -4
- package/dist/{undo-mU6lgk9c.d.ts → undo-CvwsPX4q.d.ts} +2 -2
- package/dist/{usage-Dz8KVrkx.d.ts → usage-D4Fho6t9.d.ts} +4 -4
- package/dist/{vault-CnTW3EtC.d.ts → vault-CgioaiiD.d.ts} +2 -2
- package/dist/vercel-connect/index.d.ts +1 -1
- package/dist/vercel-sandbox/index.d.ts +2 -2
- package/dist/{verify-CupKPoHW.d.ts → verify-ClbMJkEg.d.ts} +2 -2
- package/dist/{view-B44a2jfA.d.ts → view-CVXHgadI.d.ts} +1 -1
- package/dist/vue/index.d.ts +10 -10
- package/dist/{watch-topic-D4AzYs9E.d.ts → watch-topic-C_rGHxIA.d.ts} +1 -1
- package/dist/webmcp/index.d.ts +2 -2
- package/dist/webmcp/index.js +1 -1
- package/dist/workflow-sdk/builder/index.d.ts +3 -3
- package/dist/workflow-sdk/index.d.ts +1 -1
- package/dist/workflow-sdk/world/index.d.ts +1 -1
- package/dist/workflow-sdk/world/index.js +1 -1
- package/dist/{workflow-sdk-C-rVKZTS.js → workflow-sdk-DIyX4ssm.js} +1 -1
- package/dist/{workflow-sdk-MxXG817H.d.ts → workflow-sdk-JVTwhzYJ.d.ts} +3 -3
- package/dist/{workflows-De-yy-cC.d.ts → workflows-DUgxuv2X.d.ts} +3 -3
- package/dist/yjs/index.d.ts +2 -2
- package/package.json +14 -1
- package/schemas/config-v1.json +108 -4
- package/schemas/snapshot-v2.json +6 -0
- package/skills/better-supabase-api/references/powersync.md +1 -0
- package/dist/cli/add-C4B2wdfz.js +0 -1
- package/dist/cli/powersync-BejxIowk.js +0 -1
- package/dist/cli/seed-CRD1tYPA.js +0 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { a as withAuthMode, i as withAuth, o as withJwtClaims, s as withUserClaims } from "./claims-DouHL7ZL.js";
|
|
2
|
-
import { _ as withSupport, b as withServerContext, g as withTenant, s as createServer, x as serverCore, y as withSession } from "./adapter-
|
|
2
|
+
import { _ as withSupport, b as withServerContext, g as withTenant, s as createServer, x as serverCore, y as withSession } from "./adapter-D7GH81nF.js";
|
|
3
3
|
import { o as problemResponse } from "./problem-gZxWhEP2.js";
|
|
4
4
|
import { c as defaultExpose, u as guard } from "./kit-CBdolcQN.js";
|
|
5
5
|
import { u as withPrimaryPin } from "./request-kind-tNDM5Z_o.js";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { f as Db, s as BetterSupabase } from "./db-blocks-
|
|
2
|
-
import { O as AnyFunctions, k as AnyModels } from "./types-
|
|
3
|
-
import { r as AuthState } from "./resolve-
|
|
4
|
-
import { r as GuardOptions } from "./respond
|
|
5
|
-
import { n as SessionEntryConfig } from "./session-
|
|
6
|
-
import {
|
|
7
|
-
import { t as ActiveSupport } from "./support-
|
|
1
|
+
import { f as Db, s as BetterSupabase } from "./db-blocks-CzhzWfvR.js";
|
|
2
|
+
import { O as AnyFunctions, k as AnyModels } from "./types-BlBju7Wa.js";
|
|
3
|
+
import { r as AuthState } from "./resolve-B9Rn2M5c.js";
|
|
4
|
+
import { r as GuardOptions } from "./respond-OjgB7zlB.js";
|
|
5
|
+
import { n as SessionEntryConfig } from "./session-CfOsLGD_.js";
|
|
6
|
+
import { r as BetterServer, s as ServerContext, u as ServerOptions, w as ReplicaState } from "./server-types-Cf4eX4kr.js";
|
|
7
|
+
import { t as ActiveSupport } from "./support-DYNFoAZ8.js";
|
|
8
8
|
import { SupabaseClient } from "@supabase/supabase-js";
|
|
9
9
|
import { Entry, SingleKeyEntry } from "@supabase/middleware";
|
|
10
10
|
import { AuthMode, JWTClaims, UserClaims } from "@supabase/server";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { G as ReadSet, Y as ReadSetParamTypes, rt as BlockReadMap, s as BetterSupabase } from "./db-blocks-
|
|
2
|
-
import { O as AnyFunctions, k as AnyModels } from "./types-
|
|
1
|
+
import { G as ReadSet, Y as ReadSetParamTypes, rt as BlockReadMap, s as BetterSupabase } from "./db-blocks-CzhzWfvR.js";
|
|
2
|
+
import { O as AnyFunctions, k as AnyModels } from "./types-BlBju7Wa.js";
|
|
3
3
|
/** One block read a composite's read set calls. */
|
|
4
4
|
interface CompositeReadEntry {
|
|
5
5
|
/** The block instance, as `blocks.generated.ts` lists it under `reads`. */
|
package/dist/config/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { N as Casing } from "../types-
|
|
2
|
-
import {
|
|
3
|
-
import { $r as
|
|
4
|
-
import { $ as ClaimPaths, $r as APP_COLUMN_TYPES, $t as ApiConfig, Ai as CatalogPolicy, Ar as ResolvedSeedConfig, At as GeneratorBlockEntity, B as zod, Bi as Snapshot, Br as TopicTriggerLookupConfig, Bt as GeneratorNoun, Ci as CatalogColumnGrant, Ct as RoleNames, Di as CatalogFunctionArg, Dt as GeneratedFile, Ei as CatalogFunction, Et as CodecsConfig, Fi as ExtrasFunction, Fr as SeedSampleSize, Ft as GeneratorFunctionArg, G as NuqsGeneratorOptions, Gi as PostgresFunction, Gr as VectorSearchConfig, Gt as SourceConfig, H as valibot, Hi as SnapshotExtras, Hr as TopicTriggerTopicConfig, Ht as JsonSchemaSource, Ii as ExtrasHook, Ir as SqlBlockDefaults, It as GeneratorInput, J as factories, Ji as RpcFunctionArg, Jt as DataHooksFramework, K as nuqs, Ki as PostgresFunctionArg, Kr as CONFIG_DEFAULTS, Kt as TableConfig, Li as ExtrasHookFunction, Lr as SqlConfig, Lt as GeneratorInputSchema, Mi as CatalogTrigger, Mr as SeedConfig, Mt as GeneratorEntitySchemas, Ni as CatalogUnique, Nr as SeedDefaultsConfig, Nt as GeneratorField, Oi as CatalogGrant, Or as BucketConfig, Ot as Generator, Pi as ExtrasDomain, Pr as SeedSampleConfig, Pt as GeneratorFunction, Q as JsonSchemaTarget, Qi as RpcTypeReference, Qr as APP_COLUMN_FORMATS, Qt as ResolvedExtensions, R as ZodFlavor, Ri as ExtrasTable, Rr as SqlWorkflow, Rt as GeneratorJsonSchema, Si as CatalogColumn, St as ConfigReferences, Ti as CatalogForeignKey, Tt as ClaimsConfig, U as StandardSchemaGeneratorOptions, Ui as GeneratorMetadata, Ur as TopicTriggerValueConfig, Ut as JsonTypeConfig, V as ValibotGeneratorOptions, Vi as SnapshotBucket, Vr as TopicTriggerPayloadValueConfig, Vt as GeneratorTable, W as standardSchema, Wi as PostgresColumn, Wr as VectorDistance, Wt as RelationsConfig, X as buildJsonSchema, Xi as RpcFunctionReturns, Xt as FlatConfig, Y as JsonSchemaGeneratorOptions, Yi as RpcFunctionOverload, Yt as DataHooksSelect, Z as jsonSchema, Zi as RpcReturnColumn, Zr as APP_COLUMN_ACCESS, Zt as ResolvedConfig, _i as AppTableSubject, _n as ExposeRole, _t as ResolveInput, ai as AppColumnFormat, an as BlocksInput, at as blockEntityRenames, bi as Catalog, bt as BlockTableReference, ci as AppOnDeleteAction, cn as GenGroupConfig, cr as ExpandedConfig, ct as blockSubjectTypes, di as AppRollupAggregate, dn as ToolingConfig, dt as RENAMED_CONFIG_KEYS, ei as APP_ON_DELETE_ACTIONS, en as AppTableInput, et as DEFAULT_CLAIMS, fi as AppRollupConfig, fn as EntitlementPlansSource, ft as blockEntrySource, gi as AppTableEvents, gn as ExposePrivilege, gt as CONFIG_SCHEMA_URL, hi as AppTableEventKind, hn as ExposeConfig, ht as groupEntries, ii as AppColumnConfig, in as BlockInput, it as blockEntities, ji as CatalogTable, jr as ResolvedSqlConfig, jt as GeneratorColumn, ki as CatalogIndex, kr as RealtimeConfig, kt as GeneratorBlock, li as AppReference, ln as SqlInput, lt as CONFIG_GROUPS, mi as AppTableEmbedding, mn as ColumnPrivilege, mt as groupConfig, ni as APP_TABLE_EVENT_KINDS, nn as AuthConfig, nt as tenantClaimPaths, oi as AppColumnType, on as DatabaseConfig, ot as blockEventRenames, pi as AppTableConfig, pn as EntitlementsConfig, pt as flattenConfig, q as FactoriesGeneratorOptions, qi as RpcFunction, qt as DataHooksConfig, ri as AppColumnAccess, rn as BetterSupabaseConfig, rt as BlockEntity, si as AppLookupConfig, sn as EnvironmentConfig, st as blockFormerFunctions, ti as APP_ROLLUP_AGGREGATES, tn as AppTablesInput, tt as claimPaths, ui as AppReferenceTarget, un as TenantConfig, ut as RENAMED_BLOCK_KEYS, vi as AppTableVersions, vn as Privilege, vt as defineConfig, wi as CatalogEnum, wt as resolveJsonSchema, xi as CatalogCheck, xt as BucketName, yi as AppTablesConfig, yn as ResolvedExpose, yt as resolveConfig, z as ZodGeneratorOptions, zi as ForeignKeyAction, zr as TopicTriggerConfig, zt as GeneratorModel } from "../context-
|
|
5
|
-
import { a as AuthorizationPersona, c as AuthorizationRequirement, d as AuthorizationTokenHook, f as AuthorizationVersions, i as AuthorizationPermission, l as AuthorizationRoleSource, n as AuthorizationMembership, o as AuthorizationPlatformRoles, p as providerApiProblem, r as AuthorizationOperation, s as AuthorizationProvider, t as AuthorizationFunctions, u as AuthorizationScope } from "../authorization-
|
|
1
|
+
import { N as Casing } from "../types-BlBju7Wa.js";
|
|
2
|
+
import { Bt as SubjectsConfig, It as SubjectConfig, Lt as SubjectPermission, Rt as SubjectSearch, _ 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, x as tenantNameOf, zt as SubjectTeam } from "../blocks-2HFgUcqG.js";
|
|
3
|
+
import { $r as PowerSyncGenConfig, Gr as DoctorConfig, Jr as GenTask, Kr as EnvFileConfig, Qr as OpenApiConfig, Xr as KeysConfig, Yr as IntegrationName, Zr as MigrationSafetyConfig, ai as INTEGRATION_INFO, ci as SKILLS_AGENTS, cn as FIELD_FORMATS, dn as FieldFormatInput, ei as SkillsAgent, ii as GEN_TASKS, oi as INTEGRATION_NAMES, qr as GenConfig, si as IntegrationInfo, ti as SkillsConfig, un as FieldFormat } from "../define-block-Cu67KCN1.js";
|
|
4
|
+
import { $ as ClaimPaths, $r as APP_COLUMN_TYPES, $t as ApiConfig, Ai as CatalogPolicy, Ar as ResolvedSeedConfig, At as GeneratorBlockEntity, B as zod, Bi as Snapshot, Br as TopicTriggerLookupConfig, Bt as GeneratorNoun, Ci as CatalogColumnGrant, Ct as RoleNames, Di as CatalogFunctionArg, Dt as GeneratedFile, Ei as CatalogFunction, Et as CodecsConfig, Fi as ExtrasFunction, Fr as SeedSampleSize, Ft as GeneratorFunctionArg, G as NuqsGeneratorOptions, Gi as PostgresFunction, Gr as VectorSearchConfig, Gt as SourceConfig, H as valibot, Hi as SnapshotExtras, Hr as TopicTriggerTopicConfig, Ht as JsonSchemaSource, Ii as ExtrasHook, Ir as SqlBlockDefaults, It as GeneratorInput, J as factories, Ji as RpcFunctionArg, Jt as DataHooksFramework, K as nuqs, Ki as PostgresFunctionArg, Kr as CONFIG_DEFAULTS, Kt as TableConfig, Li as ExtrasHookFunction, Lr as SqlConfig, Lt as GeneratorInputSchema, Mi as CatalogTrigger, Mr as SeedConfig, Mt as GeneratorEntitySchemas, Ni as CatalogUnique, Nr as SeedDefaultsConfig, Nt as GeneratorField, Oi as CatalogGrant, Or as BucketConfig, Ot as Generator, Pi as ExtrasDomain, Pr as SeedSampleConfig, Pt as GeneratorFunction, Q as JsonSchemaTarget, Qi as RpcTypeReference, Qr as APP_COLUMN_FORMATS, Qt as ResolvedExtensions, R as ZodFlavor, Ri as ExtrasTable, Rr as SqlWorkflow, Rt as GeneratorJsonSchema, Si as CatalogColumn, St as ConfigReferences, Ti as CatalogForeignKey, Tt as ClaimsConfig, U as StandardSchemaGeneratorOptions, Ui as GeneratorMetadata, Ur as TopicTriggerValueConfig, Ut as JsonTypeConfig, V as ValibotGeneratorOptions, Vi as SnapshotBucket, Vr as TopicTriggerPayloadValueConfig, Vt as GeneratorTable, W as standardSchema, Wi as PostgresColumn, Wr as VectorDistance, Wt as RelationsConfig, X as buildJsonSchema, Xi as RpcFunctionReturns, Xt as FlatConfig, Y as JsonSchemaGeneratorOptions, Yi as RpcFunctionOverload, Yt as DataHooksSelect, Z as jsonSchema, Zi as RpcReturnColumn, Zr as APP_COLUMN_ACCESS, Zt as ResolvedConfig, _i as AppTableSubject, _n as ExposeRole, _t as ResolveInput, ai as AppColumnFormat, an as BlocksInput, at as blockEntityRenames, bi as Catalog, bt as BlockTableReference, ci as AppOnDeleteAction, cn as GenGroupConfig, cr as ExpandedConfig, ct as blockSubjectTypes, di as AppRollupAggregate, dn as ToolingConfig, dt as RENAMED_CONFIG_KEYS, ei as APP_ON_DELETE_ACTIONS, en as AppTableInput, et as DEFAULT_CLAIMS, fi as AppRollupConfig, fn as EntitlementPlansSource, ft as blockEntrySource, gi as AppTableEvents, gn as ExposePrivilege, gt as CONFIG_SCHEMA_URL, hi as AppTableEventKind, hn as ExposeConfig, ht as groupEntries, ii as AppColumnConfig, in as BlockInput, it as blockEntities, ji as CatalogTable, jr as ResolvedSqlConfig, jt as GeneratorColumn, ki as CatalogIndex, kr as RealtimeConfig, kt as GeneratorBlock, li as AppReference, ln as SqlInput, lt as CONFIG_GROUPS, mi as AppTableEmbedding, mn as ColumnPrivilege, mt as groupConfig, ni as APP_TABLE_EVENT_KINDS, nn as AuthConfig, nt as tenantClaimPaths, oi as AppColumnType, on as DatabaseConfig, ot as blockEventRenames, pi as AppTableConfig, pn as EntitlementsConfig, pt as flattenConfig, q as FactoriesGeneratorOptions, qi as RpcFunction, qt as DataHooksConfig, ri as AppColumnAccess, rn as BetterSupabaseConfig, rt as BlockEntity, si as AppLookupConfig, sn as EnvironmentConfig, st as blockFormerFunctions, ti as APP_ROLLUP_AGGREGATES, tn as AppTablesInput, tt as claimPaths, ui as AppReferenceTarget, un as TenantConfig, ut as RENAMED_BLOCK_KEYS, vi as AppTableVersions, vn as Privilege, vt as defineConfig, wi as CatalogEnum, wt as resolveJsonSchema, xi as CatalogCheck, xt as BucketName, yi as AppTablesConfig, yn as ResolvedExpose, yt as resolveConfig, z as ZodGeneratorOptions, zi as ForeignKeyAction, zr as TopicTriggerConfig, zt as GeneratorModel } from "../context-DSJpfeVv.js";
|
|
5
|
+
import { a as AuthorizationPersona, c as AuthorizationRequirement, d as AuthorizationTokenHook, f as AuthorizationVersions, i as AuthorizationPermission, l as AuthorizationRoleSource, n as AuthorizationMembership, o as AuthorizationPlatformRoles, p as providerApiProblem, r as AuthorizationOperation, s as AuthorizationProvider, t as AuthorizationFunctions, u as AuthorizationScope } from "../authorization-DK7YSiFV.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 AppTableEmbedding, 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 AuthorizationPersona, type AuthorizationPlatformRoles, 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-BoJrJAgR.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-Dgl6AxKE.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-BMjIO6Xu.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-CsX2THwJ.js";
|
|
7
7
|
import { n as jsonSchema, t as buildJsonSchema } from "../json-schema-COU-5CpW.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-BoJrJAgR.js";
|
|
2
|
+
import { j as flattenConfig, n as expandFlatPreset, r as expandPreset } from "./config-Dgl6AxKE.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-BMjIO6Xu.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-COU-5CpW.js";
|
|
7
7
|
// src/config/authorization.ts
|
|
8
8
|
/**
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { F as linkNeedsRelations, I as PRESET_CATALOG, z as asBlocksConfig } from "./instances-
|
|
1
|
+
import { F as linkNeedsRelations, I as PRESET_CATALOG, z as asBlocksConfig } from "./instances-BMjIO6Xu.js";
|
|
2
2
|
import { t as DEFAULT_TENANT } from "./entity-naming-BES3pkQI.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
|
import { t as canonicalJson } from "./canonical-json-CTT9fC4F.js";
|
|
@@ -954,6 +954,30 @@ const PRESETS = {
|
|
|
954
954
|
"signatures"
|
|
955
955
|
]
|
|
956
956
|
},
|
|
957
|
+
filings: {
|
|
958
|
+
name: "filings",
|
|
959
|
+
title: "Regulated filings",
|
|
960
|
+
description: "SaaS plus parties with relations, imports, numbered documents from templates, versions and signatures, staff approvals, shipments with tracking, payments on the ledger, cases, reminders, deadlines computed from versioned rules and the governance trail with a hash chain.",
|
|
961
|
+
group: "verticals",
|
|
962
|
+
blocks: [
|
|
963
|
+
...SAAS,
|
|
964
|
+
"contacts",
|
|
965
|
+
"relations",
|
|
966
|
+
"imports",
|
|
967
|
+
"document-templates",
|
|
968
|
+
"numbering",
|
|
969
|
+
"versions",
|
|
970
|
+
"signatures",
|
|
971
|
+
"approvals",
|
|
972
|
+
"attachments",
|
|
973
|
+
"shipments",
|
|
974
|
+
"ledger",
|
|
975
|
+
"cases",
|
|
976
|
+
"reminders",
|
|
977
|
+
"deadlines",
|
|
978
|
+
"governance"
|
|
979
|
+
]
|
|
980
|
+
},
|
|
957
981
|
spend: {
|
|
958
982
|
name: "spend",
|
|
959
983
|
title: "Expenses and spend",
|
|
@@ -1325,6 +1349,7 @@ const PRESET_NAMES = [
|
|
|
1325
1349
|
"scheduling",
|
|
1326
1350
|
"people",
|
|
1327
1351
|
"psa",
|
|
1352
|
+
"filings",
|
|
1328
1353
|
"ats",
|
|
1329
1354
|
"intranet",
|
|
1330
1355
|
"drive",
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
/// <reference lib="esnext.temporal" />
|
|
2
2
|
import { n as ExtraFields, r as FieldsOf } from "./block-fields-Cq2MlJJD.js";
|
|
3
|
-
import { n as BlockHooks } from "./block-hooks-
|
|
4
|
-
import { t as BlockTransport } from "./block-transport-
|
|
3
|
+
import { n as BlockHooks } from "./block-hooks-FM9t7ol_.js";
|
|
4
|
+
import { t as BlockTransport } from "./block-transport-CP4wAHU-.js";
|
|
5
5
|
import { T as ErrorMapper, t as AsyncResult } from "./result-CMqlHv82.js";
|
|
6
6
|
import { n as Logger } from "./logger-0LfhvwE4.js";
|
|
7
7
|
import { t as StandardSchemaV1 } from "./standard-CiOWpeZL.js";
|
|
8
|
-
import { i as CredentialRef, r as CredentialProvider } from "./provider-
|
|
9
|
-
import { r as BlockTemporalOptions } from "./block-helpers-
|
|
8
|
+
import { i as CredentialRef, r as CredentialProvider } from "./provider-ChtwfkqL.js";
|
|
9
|
+
import { r as BlockTemporalOptions } from "./block-helpers-rTsuHt6v.js";
|
|
10
10
|
type ConnectorTransport = "http" | "sse";
|
|
11
11
|
/**
|
|
12
12
|
* `none`, OAuth per user (a grant each), or a header from the server's
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/// <reference lib="esnext.temporal" />
|
|
2
|
-
import { n as BlockHooks } from "./block-hooks-
|
|
2
|
+
import { n as BlockHooks } from "./block-hooks-FM9t7ol_.js";
|
|
3
3
|
import { n as Logger } from "./logger-0LfhvwE4.js";
|
|
4
4
|
import { t as AsyncResult } from "./result-CMqlHv82.js";
|
|
5
|
-
import { et as RecordRef } from "./types-
|
|
6
|
-
import { n as BlockOptions } from "./block-helpers-
|
|
5
|
+
import { et as RecordRef } from "./types-BlBju7Wa.js";
|
|
6
|
+
import { n as BlockOptions } from "./block-helpers-rTsuHt6v.js";
|
|
7
7
|
declare const LEGAL_BASES: readonly ["consent", "contract", "legal_obligation", "vital_interest", "public_task", "legitimate_interest"];
|
|
8
8
|
declare const STATUSES: readonly ["granted", "refused", "withdrawn", "expired"];
|
|
9
9
|
declare const GIVEN_BY: readonly ["self", "representative"];
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
/// <reference lib="esnext.temporal" />
|
|
2
2
|
import { n as Money } from "./money-BgpAd7d3.js";
|
|
3
3
|
import { i as RowFields, r as FieldsOf } from "./block-fields-Cq2MlJJD.js";
|
|
4
|
-
import { n as BlockHooks } from "./block-hooks-
|
|
5
|
-
import { t as BlockTransport } from "./block-transport-
|
|
4
|
+
import { n as BlockHooks } from "./block-hooks-FM9t7ol_.js";
|
|
5
|
+
import { t as BlockTransport } from "./block-transport-CP4wAHU-.js";
|
|
6
6
|
import { T as ErrorMapper, t as AsyncResult } from "./result-CMqlHv82.js";
|
|
7
7
|
import { n as Logger } from "./logger-0LfhvwE4.js";
|
|
8
8
|
import { t as StandardSchemaV1 } from "./standard-CiOWpeZL.js";
|
|
9
|
-
import { i as CursorPageOptions, r as BlockTemporalOptions } from "./block-helpers-
|
|
9
|
+
import { i as CursorPageOptions, r as BlockTemporalOptions } from "./block-helpers-rTsuHt6v.js";
|
|
10
10
|
/** The roles `options.roles` falls back to. */
|
|
11
11
|
declare const PARTY_ROLES: readonly ["customer", "supplier", "funder", "partner"];
|
|
12
12
|
/** Where a supplier stands on the approved supplier list. */
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
/// <reference lib="esnext.temporal" />
|
|
2
|
-
import { F as ClaimsMeta, M as BucketPolicyName, N as Casing, T as AccessBucketPolicy, st as SchemaMeta, vt as BucketLifecycle } from "./types-
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
2
|
+
import { F as ClaimsMeta, M as BucketPolicyName, N as Casing, T as AccessBucketPolicy, st as SchemaMeta, vt as BucketLifecycle } from "./types-BlBju7Wa.js";
|
|
3
|
+
import { Bt as SubjectsConfig, Ft as RelationKindOptions, _ as OwnTablePolicies, a as BlockConfigOf, c as BlockScope, d as DisabledRow, g as NamedInstance, h as InstanceOn, i as BlockConfig, l as BlocksConfig, nn as BlockNameRegistry, o as BlockMode, p as EntityConfig, r as AnyBlocksConfig, s as BlockName, t as AccessBlockConfig, tn as TablesOf, v as ResolvedBlock, y as TenantScopeConfig } from "./blocks-2HFgUcqG.js";
|
|
4
|
+
import { Ar as PresetAccess, Br as PresetTenantName, C as BlockWorker, Cr as EntityRename, Gr as DoctorConfig, Ir as PresetInstance, Kr as EnvFileConfig, Nr as PresetFieldKey, Qr as OpenApiConfig, Rr as PresetScope, Sr as EntityNoun, Xr as KeysConfig, Yr as IntegrationName, b as BlockEnvKey, bi as BlockSchedule, fi as ActionDescriptor, fn as FieldFormatName, g as PartDefaults, i as BlockCategory, jr as PresetConventions, kr as Preset, ln as FIELD_FORMAT_NAMES, mt as PortName, ni as SpecOutputConfig, qr as GenConfig, ri as SpecsConfig, ti as SkillsConfig, x as BlockProvider, xi as DefaultAutomation, xr as EntityNames } from "./define-block-Cu67KCN1.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
|
-
import { a as BlockSqlEmit, r as BlockSqlAction } from "./audit-actions-
|
|
7
|
+
import { a as BlockSqlEmit, r as BlockSqlAction } from "./audit-actions-DC-AtyWB.js";
|
|
8
8
|
import { t as GuestAction } from "./guest-actions-DfHHp98H.js";
|
|
9
|
-
import { l as AuthorizationRoleSource, n as AuthorizationMembership, o as AuthorizationPlatformRoles, r as AuthorizationOperation, s as AuthorizationProvider, t as AuthorizationFunctions } from "./authorization-
|
|
9
|
+
import { l as AuthorizationRoleSource, n as AuthorizationMembership, o as AuthorizationPlatformRoles, r as AuthorizationOperation, s as AuthorizationProvider, t as AuthorizationFunctions } from "./authorization-DK7YSiFV.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
|
|
@@ -319,12 +319,14 @@ interface BlockContributions {
|
|
|
319
319
|
readonly housekeeping: HousekeepingContribution;
|
|
320
320
|
readonly imports: ImportTargetContribution;
|
|
321
321
|
readonly numbering: NumberingContribution;
|
|
322
|
+
readonly "option-sets": OptionSetContribution;
|
|
322
323
|
readonly periods: PeriodContribution;
|
|
323
324
|
readonly pipelines: PipelineContribution;
|
|
324
325
|
readonly relations: RelationContribution;
|
|
325
326
|
readonly "share-links": ShareLinkContribution;
|
|
326
327
|
readonly "state-machine": StateMachineContribution;
|
|
327
328
|
readonly subjects: SubjectContribution;
|
|
329
|
+
readonly templates: TemplateContribution;
|
|
328
330
|
}
|
|
329
331
|
/** `BlockSql.contributes`: one function per generic block it adds to. */
|
|
330
332
|
type BlockContributes = { readonly [K in keyof BlockContributions]?: (own: BlockSqlContext, target: BlockSqlContext) => readonly BlockContributions[K][]; };
|
|
@@ -517,6 +519,17 @@ interface NumberingContribution {
|
|
|
517
519
|
/** The default entry: `{ period, format }` and the other entity keys. */
|
|
518
520
|
readonly entry: Readonly<Record<string, unknown>>;
|
|
519
521
|
}
|
|
522
|
+
/** A record table of the contributing block with fields that run on option sets. */
|
|
523
|
+
interface OptionSetContribution {
|
|
524
|
+
/** The subject type, after the instance's entity names. */
|
|
525
|
+
readonly type: string;
|
|
526
|
+
/** The qualified table its records live in. */
|
|
527
|
+
readonly table: string;
|
|
528
|
+
/** Its tenant column, unquoted, as the block names it. */
|
|
529
|
+
readonly tenant: string;
|
|
530
|
+
/** One binding per field; an app's own `on` entry is merged over each. */
|
|
531
|
+
readonly fields: Readonly<Record<string, Readonly<Record<string, unknown>>>>;
|
|
532
|
+
}
|
|
520
533
|
/** A record table of the contributing block that runs on pipelines. */
|
|
521
534
|
interface PipelineContribution {
|
|
522
535
|
/** The subject type, after the instance's entity names. */
|
|
@@ -603,6 +616,47 @@ interface SummarySection {
|
|
|
603
616
|
*/
|
|
604
617
|
readonly readAt?: string;
|
|
605
618
|
}
|
|
619
|
+
/**
|
|
620
|
+
* A template type the contributing block owns. `storage: "rows"` keeps the
|
|
621
|
+
* content as rows of `table` whose template column points at `templates`. ADR 0244.
|
|
622
|
+
*/
|
|
623
|
+
interface TemplateContribution {
|
|
624
|
+
readonly type: string;
|
|
625
|
+
readonly storage: "body" | "rows";
|
|
626
|
+
readonly subject?: string;
|
|
627
|
+
/** Qualified `clone(source uuid, overrides jsonb) returns jsonb`. */
|
|
628
|
+
readonly clone?: string;
|
|
629
|
+
/** Qualified table of the root row, for `rows`. */
|
|
630
|
+
readonly table?: string;
|
|
631
|
+
/** The template column of `table`, unquoted. */
|
|
632
|
+
readonly templateColumn?: string;
|
|
633
|
+
/** The id column of `table`. Defaults to `id`. */
|
|
634
|
+
readonly idColumn?: string;
|
|
635
|
+
/** `schema.table` of a 1:1 extension keyed by `template_id`. */
|
|
636
|
+
readonly extension?: string;
|
|
637
|
+
/** JSON Schema for `templates.settings` of this type. */
|
|
638
|
+
readonly settings?: Readonly<Record<string, unknown>>;
|
|
639
|
+
readonly rules?: TemplateRules;
|
|
640
|
+
/** Child tables a pack copies, each referencing the root by `parent`. */
|
|
641
|
+
readonly children?: readonly TemplateChildTable[];
|
|
642
|
+
}
|
|
643
|
+
/** A child table packed and unpacked with a rows template. */
|
|
644
|
+
interface TemplateChildTable {
|
|
645
|
+
readonly table: string;
|
|
646
|
+
/** The column that references the root row. */
|
|
647
|
+
readonly parent: string;
|
|
648
|
+
}
|
|
649
|
+
/** Dates and `{{variables}}` applied when a template becomes a live record. */
|
|
650
|
+
interface TemplateRules {
|
|
651
|
+
readonly dates?: readonly {
|
|
652
|
+
readonly column: string;
|
|
653
|
+
/** `"now"`, or the name of another column on the new row. */
|
|
654
|
+
readonly from: string;
|
|
655
|
+
readonly days: string;
|
|
656
|
+
}[];
|
|
657
|
+
/** Text columns whose `{{name}}` placeholders `overrides.variables` fills. */
|
|
658
|
+
readonly variables?: readonly string[];
|
|
659
|
+
}
|
|
606
660
|
/** What the contributing block adds to the subject functions. */
|
|
607
661
|
interface SubjectContribution {
|
|
608
662
|
/** A section `record_summary` counts. */
|
|
@@ -828,6 +882,12 @@ interface SnapshotExtras {
|
|
|
828
882
|
* any schema. Absent in older snapshots and without a `config.toml`.
|
|
829
883
|
*/
|
|
830
884
|
readonly hooks?: readonly ExtrasHook[];
|
|
885
|
+
/**
|
|
886
|
+
* The bodies (`pg_proc.prosrc`) of the functions behind the sessions block's
|
|
887
|
+
* `bootstrap` entries, keyed by `schema.name`, so `gen` can derive the tables
|
|
888
|
+
* each payload reads. Absent when no entry names a function.
|
|
889
|
+
*/
|
|
890
|
+
readonly functionSources?: Readonly<Record<string, string>>;
|
|
831
891
|
/**
|
|
832
892
|
* Comments of the functions in the read schemas that carry a gen tag
|
|
833
893
|
* (`@notNull`), keyed by `schema.name(signature)`. Absent when none do.
|
|
@@ -2215,7 +2275,7 @@ interface NamedPreset {
|
|
|
2215
2275
|
readonly seeds?: DesignSeeds;
|
|
2216
2276
|
}
|
|
2217
2277
|
/** A named preset's name. */
|
|
2218
|
-
type PresetName = "minimal" | "saas" | "consumer" | "crm" | "projects" | "helpdesk" | "chat" | "commerce" | "cms" | "erp" | "manufacturing" | "pim" | "marketplace" | "scheduling" | "people" | "psa" | "ats" | "intranet" | "drive" | "docs" | "invoicing" | "forms" | "property" | "field-service" | "clinic" | "care" | "lms" | "events" | "legal" | "spend" | "contracts" | "customer-success" | "logistics" | "pos" | "fitness" | "nonprofit" | "itsm" | "compliance" | "qms" | "ehs" | "isms" | "construction" | "claims" | "community" | "feedback" | "ai" | "ai-chat" | "ai-agents" | "developer-api" | "automation" | "enterprise" | "admin" | "everything";
|
|
2278
|
+
type PresetName = "minimal" | "saas" | "consumer" | "crm" | "projects" | "helpdesk" | "chat" | "commerce" | "cms" | "erp" | "manufacturing" | "pim" | "marketplace" | "scheduling" | "people" | "psa" | "filings" | "ats" | "intranet" | "drive" | "docs" | "invoicing" | "forms" | "property" | "field-service" | "clinic" | "care" | "lms" | "events" | "legal" | "spend" | "contracts" | "customer-success" | "logistics" | "pos" | "fitness" | "nonprofit" | "itsm" | "compliance" | "qms" | "ehs" | "isms" | "construction" | "claims" | "community" | "feedback" | "ai" | "ai-chat" | "ai-agents" | "developer-api" | "automation" | "enterprise" | "admin" | "everything";
|
|
2219
2279
|
/** The named presets, for `defineConfig({ preset })` and `/create`. */
|
|
2220
2280
|
declare const PRESETS: Readonly<Record<PresetName, NamedPreset>>;
|
|
2221
2281
|
/** The named presets in display order, grouped by `group`. */
|
|
@@ -4587,6 +4647,7 @@ interface BlockSqlEntitySubject {
|
|
|
4587
4647
|
* when it is installed, without an entry in `blocks.field-history.on`.
|
|
4588
4648
|
*/
|
|
4589
4649
|
readonly history?: readonly string[];
|
|
4650
|
+
readonly template?: string;
|
|
4590
4651
|
}
|
|
4591
4652
|
/**
|
|
4592
4653
|
* A noun the module names its tables, functions, events, permissions and hooks
|
package/dist/contract/index.d.ts
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { a as AuthorizationPersona, c as AuthorizationRequirement, d as AuthorizationTokenHook, f as AuthorizationVersions, i as AuthorizationPermission, l as AuthorizationRoleSource, n as AuthorizationMembership, o as AuthorizationPlatformRoles, r as AuthorizationOperation, s as AuthorizationProvider, t as AuthorizationFunctions, u as AuthorizationScope } from "../authorization-
|
|
1
|
+
import { a as AuthorizationPersona, c as AuthorizationRequirement, d as AuthorizationTokenHook, f as AuthorizationVersions, i as AuthorizationPermission, l as AuthorizationRoleSource, n as AuthorizationMembership, o as AuthorizationPlatformRoles, r as AuthorizationOperation, s as AuthorizationProvider, t as AuthorizationFunctions, u as AuthorizationScope } from "../authorization-DK7YSiFV.js";
|
|
2
2
|
import { r as AuthzVersionSource } from "../authz-topic-C7n3kIm_.js";
|
|
3
|
-
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, an as RequestMemo, en as Authorizer, in as PermissionRef, qt as AuthorizationIntent, rn as AuthzVersionCache, tn as AuthorizerRuntime } from "../types-
|
|
4
|
-
import { _ as SupportAuthorize, g as SubscriberPolicy, i as AuthorizationHooks, v as SupportAuthorizeInput } from "../authorization-hooks-
|
|
5
|
-
import { s as ApiKeyResolverOptions } from "../api-keys-
|
|
6
|
-
import { r as CredentialProvider } from "../provider-
|
|
7
|
-
import { a as ToolDecision, n as McpOptions, s as ToolRef } from "../index-
|
|
8
|
-
import { m as SessionSnapshot } from "../resolve-
|
|
9
|
-
import { n as ApprovalOptions } from "../server-types-
|
|
10
|
-
import { n as BlockTables, t as BlockTable } from "../block-tables-
|
|
3
|
+
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, an as RequestMemo, en as Authorizer, in as PermissionRef, qt as AuthorizationIntent, rn as AuthzVersionCache, tn as AuthorizerRuntime } from "../types-BlBju7Wa.js";
|
|
4
|
+
import { _ as SupportAuthorize, g as SubscriberPolicy, i as AuthorizationHooks, v as SupportAuthorizeInput } from "../authorization-hooks-DM_ijJsD.js";
|
|
5
|
+
import { s as ApiKeyResolverOptions } from "../api-keys-Dqif78kM.js";
|
|
6
|
+
import { r as CredentialProvider } from "../provider-ChtwfkqL.js";
|
|
7
|
+
import { a as ToolDecision, n as McpOptions, s as ToolRef } from "../index-D7zwaGAP.js";
|
|
8
|
+
import { m as SessionSnapshot } from "../resolve-B9Rn2M5c.js";
|
|
9
|
+
import { n as ApprovalOptions } from "../server-types-Cf4eX4kr.js";
|
|
10
|
+
import { n as BlockTables, t as BlockTable } from "../block-tables-B6Jt0mWg.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
|
|
@@ -149,6 +149,15 @@ function registeredSubjects(subjects, naming = tenantNames()) {
|
|
|
149
149
|
const tenant = entry.tenant === false ? void 0 : column(`${where}.tenant`, entry.tenant ?? naming.rename("organization_id"));
|
|
150
150
|
if (entry.title !== void 0) column(`${where}.title`, entry.title);
|
|
151
151
|
if (entry.deletedAt !== void 0) column(`${where}.deletedAt`, entry.deletedAt);
|
|
152
|
+
const template = entry.template;
|
|
153
|
+
if (typeof template === "string") column(`${where}.template`, template);
|
|
154
|
+
else if (template !== void 0) {
|
|
155
|
+
column(`${where}.template.column`, template.column);
|
|
156
|
+
for (const [index, child] of (template.children ?? []).entries()) {
|
|
157
|
+
column(`${where}.template.children[${String(index)}].column`, child.column);
|
|
158
|
+
if (typeof child.table !== "string" || !/^[a-z_][a-z0-9_]{0,62}(\.[a-z_][a-z0-9_]{0,62})?$/.test(child.table)) throw new TypeError(`${where}.template.children[${String(index)}].table must be "table" or "schema.table"`);
|
|
159
|
+
}
|
|
160
|
+
}
|
|
152
161
|
if (entry.url !== void 0) for (const [, name] of entry.url.matchAll(PLACEHOLDER)) column(`${where}.url {${name ?? ""}}`, name);
|
|
153
162
|
for (const [action, value] of Object.entries(entry.permissions ?? {})) checkPermission(`${where}.permissions.${action}`, action, value);
|
|
154
163
|
const readAccess = entry.readAccess;
|
|
@@ -200,6 +209,8 @@ function subjectColumns(entry, tenant) {
|
|
|
200
209
|
if (entry.tenant !== false) columns.push(["tenant", entry.tenant ?? tenantNames(tenant).rename("organization_id")]);
|
|
201
210
|
if (entry.title !== void 0) columns.push(["title", entry.title]);
|
|
202
211
|
if (entry.deletedAt !== void 0) columns.push(["deletedAt", entry.deletedAt]);
|
|
212
|
+
if (typeof entry.template === "string") columns.push(["template", entry.template]);
|
|
213
|
+
else if (entry.template !== void 0) columns.push(["template.column", entry.template.column]);
|
|
203
214
|
for (const [, name] of entry.url?.matchAll(PLACEHOLDER) ?? []) if (name !== void 0) columns.push([`url {${name}}`, name]);
|
|
204
215
|
if (entry.rank !== void 0) {
|
|
205
216
|
columns.push(["rank.column", entry.rank.column]);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as ClientAuth } from "./bind-
|
|
1
|
+
import { a as ClientAuth } from "./bind-DiGmjHzz.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,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { di as ActionContext, li as Action, ui as ActionCall } from "./define-block-Cu67KCN1.js";
|
|
2
2
|
import { f as Result } from "./result-CMqlHv82.js";
|
|
3
3
|
import { StandardSchemaV1 } from "@standard-schema/spec";
|
|
4
4
|
/** A record a conversion reads from or creates: its subject type and id. */
|
package/dist/create/index.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/// <reference lib="esnext.temporal" />
|
|
2
|
-
import { En as PresetName, ci as AppOnDeleteAction, ei as APP_ON_DELETE_ACTIONS, jn as CreateDesign, lr as PresetInput, m as BlockSqlAccessProvider, mr as PresetSpec, oi as AppColumnType, ri as AppColumnAccess } from "../context-
|
|
3
|
-
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-
|
|
4
|
-
import {
|
|
2
|
+
import { En as PresetName, ci as AppOnDeleteAction, ei as APP_ON_DELETE_ACTIONS, jn as CreateDesign, lr as PresetInput, m as BlockSqlAccessProvider, mr as PresetSpec, oi as AppColumnType, ri as AppColumnAccess } from "../context-DSJpfeVv.js";
|
|
3
|
+
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-DvglaQ_D.js";
|
|
4
|
+
import { kr as Preset } from "../define-block-Cu67KCN1.js";
|
|
5
5
|
import { a as SupabaseLint, o as SupabaseOrganization, s as SupabaseProject } from "../management-DtX4ic1F.js";
|
|
6
|
-
import { b as DesignChange } from "../index-
|
|
6
|
+
import { b as DesignChange } from "../index-slG4UpF_.js";
|
|
7
7
|
/** What `checkDesign` returns. */
|
|
8
8
|
export type DesignCheck = {
|
|
9
9
|
readonly ok: true;
|
package/dist/create/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { A as APP_ON_DELETE_ACTIONS } from "../instances-
|
|
2
|
-
import { $ as tableWithComputed, A as referenceFrom, B as withDesign, C as duplicateTable, D as isAppTable, E as identifierError, F as setTableId, G as filterColumns, H as computedColumnRenamed, I as singular, J as lookupSources, K as fittedRollup, L as tidy, M as renameTable, N as setColumn, O as isEmptyDesign, P as setExtraColumn, Q as rollupSources, R as updateTable, S as deleteTable, T as freeTableName, U as computedRows, V as ROLLUP_AGGREGATES, W as computedTableRenamed, X as readableColumns, Y as prunedComputed, Z as rollupColumns, _ as columnError, a as parseSchema, at as boundError, b as deleteColumn, c as tenantColumnOf, ct as fitted, d as previewFiles, dt as takesBounds, et as tableWithoutComputed, f as designIssues, ft as withBounds, g as appTableId, h as addTable, i as keyColumnsOf, it as subjectTypeError, j as renameColumn, k as moveTables, l as schemaData, lt as lockedWithoutDefault, m as EMPTY_DESIGN, n as loadProject, nt as subjectColumns, o as schemaRelations, ot as columnLabel, p as APP_MODULE, q as isRollupAggregate, r as checkDesign, rt as subjectColumnsEdited, s as tableStatements, st as encryptable, t as checkProject, tt as eventsColumnsEdited, u as previewAccessProvider, ut as optionError, v as connect, w as editTable, x as deleteExtraColumn, y as defaultError, z as userConnection } from "../project-
|
|
3
|
-
import { m as diffDesigns } from "../preset
|
|
1
|
+
import { A as APP_ON_DELETE_ACTIONS } from "../instances-BMjIO6Xu.js";
|
|
2
|
+
import { $ as tableWithComputed, A as referenceFrom, B as withDesign, C as duplicateTable, D as isAppTable, E as identifierError, F as setTableId, G as filterColumns, H as computedColumnRenamed, I as singular, J as lookupSources, K as fittedRollup, L as tidy, M as renameTable, N as setColumn, O as isEmptyDesign, P as setExtraColumn, Q as rollupSources, R as updateTable, S as deleteTable, T as freeTableName, U as computedRows, V as ROLLUP_AGGREGATES, W as computedTableRenamed, X as readableColumns, Y as prunedComputed, Z as rollupColumns, _ as columnError, a as parseSchema, at as boundError, b as deleteColumn, c as tenantColumnOf, ct as fitted, d as previewFiles, dt as takesBounds, et as tableWithoutComputed, f as designIssues, ft as withBounds, g as appTableId, h as addTable, i as keyColumnsOf, it as subjectTypeError, j as renameColumn, k as moveTables, l as schemaData, lt as lockedWithoutDefault, m as EMPTY_DESIGN, n as loadProject, nt as subjectColumns, o as schemaRelations, ot as columnLabel, p as APP_MODULE, q as isRollupAggregate, r as checkDesign, rt as subjectColumnsEdited, s as tableStatements, st as encryptable, t as checkProject, tt as eventsColumnsEdited, u as previewAccessProvider, ut as optionError, v as connect, w as editTable, x as deleteExtraColumn, y as defaultError, z as userConnection } from "../project-At5wBJSS.js";
|
|
3
|
+
import { m as diffDesigns } from "../preset-Cl3Q5ASC.js";
|
|
4
4
|
// src/create/column-kinds.ts
|
|
5
5
|
/** The groups of the column type picker, in the order it shows them. */
|
|
6
6
|
const KIND_GROUPS = [
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { Tt as Issue, t as PresetMigrationFile, u as Design } from "../../types-
|
|
2
|
-
import { jn as CreateDesign, lr as PresetInput } from "../../context-
|
|
3
|
-
import { st as SchemaMeta } from "../../types-
|
|
1
|
+
import { Tt as Issue, t as PresetMigrationFile, u as Design } from "../../types-DvglaQ_D.js";
|
|
2
|
+
import { jn as CreateDesign, lr as PresetInput } from "../../context-DSJpfeVv.js";
|
|
3
|
+
import { st as SchemaMeta } from "../../types-BlBju7Wa.js";
|
|
4
4
|
import { c as SpecDiagnostic } from "../../format-BT0Z3V54.js";
|
|
5
|
-
import { s as AuthorizationProvider } from "../../authorization-
|
|
5
|
+
import { s as AuthorizationProvider } from "../../authorization-DK7YSiFV.js";
|
|
6
6
|
/**
|
|
7
7
|
* The parts of `@supabase/lite` that `liteStack()` uses, typed structurally so
|
|
8
8
|
* the optional peer stays out of the published types.
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { n as loadLite, t as LITE_INSTALL } from "../../runtime-qslVrC9l.js";
|
|
2
|
-
import { b as appDefaultError } from "../../instances-
|
|
2
|
+
import { b as appDefaultError } from "../../instances-BMjIO6Xu.js";
|
|
3
3
|
import { t as defineApi } from "../../api-CSUt1Mfm.js";
|
|
4
|
-
import { n as loadProject } from "../../project-
|
|
4
|
+
import { n as loadProject } from "../../project-At5wBJSS.js";
|
|
5
5
|
import { i as fillTemplate } from "../../access-sql-DH2LbcQe.js";
|
|
6
6
|
// src/create/lite/apply.ts
|
|
7
7
|
const MISSING_EXTENSION = /extension "([^"]+)" is not available/u;
|
|
@@ -131,11 +131,15 @@ function checkOf(sql) {
|
|
|
131
131
|
* list pass through.
|
|
132
132
|
*/
|
|
133
133
|
function columnsSchema(columns) {
|
|
134
|
-
const specs = Object.entries(columns).map(([key, type]) =>
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
134
|
+
const specs = Object.entries(columns).map(([key, type]) => {
|
|
135
|
+
const notNull = /\bnot\s+null\b/iu.test(type);
|
|
136
|
+
return [key, {
|
|
137
|
+
check: checkOf(type),
|
|
138
|
+
notNull,
|
|
139
|
+
required: notNull && !/\bdefault\b/iu.test(type),
|
|
140
|
+
type
|
|
141
|
+
}];
|
|
142
|
+
});
|
|
139
143
|
return { "~standard": {
|
|
140
144
|
version: 1,
|
|
141
145
|
vendor: "better-supabase",
|
|
@@ -149,7 +153,7 @@ function columnsSchema(columns) {
|
|
|
149
153
|
message: `${key} is required`,
|
|
150
154
|
path: [key]
|
|
151
155
|
});
|
|
152
|
-
else if (present === null && column.
|
|
156
|
+
else if (present === null && column.notNull) issues.push({
|
|
153
157
|
message: `${key} can't be null`,
|
|
154
158
|
path: [key]
|
|
155
159
|
});
|
|
@@ -219,12 +223,13 @@ function defineBlocks(config, blocks, ...appEvents) {
|
|
|
219
223
|
api,
|
|
220
224
|
call: (db, fn, args) => api === void 0 ? AsyncResult.err(dbError("unsupported", "No block has an API schema (`sql.api`) to call")) : blockCall(dbTransport(db), api)(fn, args, (value) => value),
|
|
221
225
|
serviceBlocks: (admin, options = {}) => {
|
|
226
|
+
const { blocks: overrides = {}, ...shared } = options;
|
|
222
227
|
const builder = blockBuilder({
|
|
223
228
|
tenant: () => void 0,
|
|
224
|
-
...
|
|
229
|
+
...shared,
|
|
225
230
|
config,
|
|
226
231
|
transport: rpcTransport(admin)
|
|
227
|
-
}, blocks);
|
|
232
|
+
}, withOverrides(blocks, overrides));
|
|
228
233
|
const clients = {};
|
|
229
234
|
for (const key of Object.keys(blocks).filter(created)) {
|
|
230
235
|
let built;
|
|
@@ -349,6 +354,13 @@ const UNIQUE_PORTS = [
|
|
|
349
354
|
"mailer",
|
|
350
355
|
"recordAccess"
|
|
351
356
|
];
|
|
357
|
+
/** `blocks` with each block that `overrides` names built with those options. */
|
|
358
|
+
function withOverrides(blocks, overrides) {
|
|
359
|
+
return Object.fromEntries(Object.entries(blocks).map(([key, block]) => {
|
|
360
|
+
const own = overrides[key];
|
|
361
|
+
return [key, own === void 0 ? block : block.with(own)];
|
|
362
|
+
}));
|
|
363
|
+
}
|
|
352
364
|
/** `key`'s entry in `hooks`, which `BlocksHooks` keys like the blocks. */
|
|
353
365
|
function hooksOf(hooks, key) {
|
|
354
366
|
if (hooks === void 0) return;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { a as CredentialSubject, c as SetCredentialOptions, d as credentialRefInTenant, f as foreignCredentialRef, i as CredentialRef, l as StartAuthorizationOptions, m as tenantCredentialRef, n as CredentialCapabilities, o as CredentialToken, p as subjectFor, r as CredentialProvider, s as GetTokenOptions, t as CompleteAuthorizationOptions, u as StartAuthorizationResult } from "../provider-
|
|
1
|
+
import { a as CredentialSubject, c as SetCredentialOptions, d as credentialRefInTenant, f as foreignCredentialRef, i as CredentialRef, l as StartAuthorizationOptions, m as tenantCredentialRef, n as CredentialCapabilities, o as CredentialToken, p as subjectFor, r as CredentialProvider, s as GetTokenOptions, t as CompleteAuthorizationOptions, u as StartAuthorizationResult } from "../provider-ChtwfkqL.js";
|
|
2
2
|
import { t as AsyncResult } from "../result-CMqlHv82.js";
|
|
3
|
-
import { a as vaultCredentials, i as VaultInboundScheme, n as VaultCredentials, r as VaultCredentialsOptions, t as VaultCredentialRef } from "../vault-
|
|
4
|
-
import { a as dbTransport, o as rpcTransport, s as sqlTransport, t as BlockTransport } from "../block-transport-
|
|
5
|
-
import { Dt as Events, P as CredentialEventData } from "../events-
|
|
3
|
+
import { a as vaultCredentials, i as VaultInboundScheme, n as VaultCredentials, r as VaultCredentialsOptions, t as VaultCredentialRef } from "../vault-CgioaiiD.js";
|
|
4
|
+
import { a as dbTransport, o as rpcTransport, s as sqlTransport, t as BlockTransport } from "../block-transport-CP4wAHU-.js";
|
|
5
|
+
import { Dt as Events, P as CredentialEventData } from "../events-DN9PAcjq.js";
|
|
6
6
|
/**
|
|
7
7
|
* One provider over several: each call goes to the provider whose `name` is the
|
|
8
8
|
* ref's `provider`. A ref no provider handles fails with `invalid_input`
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { b as DbError, f as Result, x as DbErrorKind } from "./result-CMqlHv82.js";
|
|
2
|
-
import { Vt as Executor } from "./types-
|
|
2
|
+
import { Vt as Executor } from "./types-BlBju7Wa.js";
|
|
3
3
|
/** A queued local change: PowerSync's `CrudEntry`. */
|
|
4
4
|
interface CrudEntryLike {
|
|
5
5
|
/** `PUT`, `PATCH` or `DELETE` (PowerSync's `UpdateType`). */
|
|
@@ -20,9 +20,13 @@ interface CrudQueueLike {
|
|
|
20
20
|
* plugins and validation run as they do online. `I` is the table's insert type
|
|
21
21
|
* and `K` its primary key; every generated repository fits.
|
|
22
22
|
*/
|
|
23
|
+
/** The write option a replay passes: keep the values the device recorded. */
|
|
24
|
+
interface UploadWriteArgs {
|
|
25
|
+
readonly override: true;
|
|
26
|
+
}
|
|
23
27
|
interface UploadRepository<I = Record<string, unknown>, K = string> {
|
|
24
|
-
upsert(data: I): PromiseLike<Result<unknown>>;
|
|
25
|
-
update(id: K, patch: Partial<I
|
|
28
|
+
upsert(data: I, args?: UploadWriteArgs): PromiseLike<Result<unknown>>;
|
|
29
|
+
update(id: K, patch: Partial<I>, args?: UploadWriteArgs): PromiseLike<Result<unknown>>;
|
|
26
30
|
delete(id: K): PromiseLike<Result<unknown>>;
|
|
27
31
|
}
|
|
28
32
|
/**
|
|
@@ -30,7 +34,7 @@ interface UploadRepository<I = Record<string, unknown>, K = string> {
|
|
|
30
34
|
* `PUT` inserts with `create`, and a `DELETE` calls `delete`.
|
|
31
35
|
*/
|
|
32
36
|
interface CreateUploadRepository<I = Record<string, unknown>, K = string> {
|
|
33
|
-
create(data: I): PromiseLike<Result<unknown>>;
|
|
37
|
+
create(data: I, args?: UploadWriteArgs): PromiseLike<Result<unknown>>;
|
|
34
38
|
delete(id: K): PromiseLike<Result<unknown>>;
|
|
35
39
|
}
|
|
36
40
|
/** Replays one queued change. */
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
/// <reference lib="esnext.temporal" />
|
|
2
|
-
import { j as StorageApi, n as Bucket, r as BucketClient } from "./bucket-
|
|
3
|
-
import { Ct as AnyPlugin, Et as ExtensionOf, It as RequestContext, Lt as WithExtension, O as AnyFunctions, Q as PrimaryKeyValue, Vt as Executor, a as CountMode, at as Row, ct as Simplify, dt as TableKey, ft as TableMeta, gt as Update, ht as UniqueWhere, k as AnyModels, m as Operation, mt as UniqueKeyName, nt as RelationTypes, ot as Schema, q as Insert, rt as Relations, st as SchemaMeta, wt as ApplyExtension } from "./types-
|
|
4
|
-
import { a as EventHandler, c as MutationNotice, d as RpcNotice, o as EventHub, s as EventName } from "./events-
|
|
2
|
+
import { j as StorageApi, n as Bucket, r as BucketClient } from "./bucket-DJu58KBb.js";
|
|
3
|
+
import { Ct as AnyPlugin, Et as ExtensionOf, It as RequestContext, Lt as WithExtension, O as AnyFunctions, Q as PrimaryKeyValue, Vt as Executor, a as CountMode, at as Row, ct as Simplify, dt as TableKey, ft as TableMeta, gt as Update, ht as UniqueWhere, k as AnyModels, m as Operation, mt as UniqueKeyName, nt as RelationTypes, ot as Schema, q as Insert, rt as Relations, st as SchemaMeta, wt as ApplyExtension } from "./types-BlBju7Wa.js";
|
|
4
|
+
import { a as EventHandler, c as MutationNotice, d as RpcNotice, o as EventHub, s as EventName } from "./events-DN9PAcjq.js";
|
|
5
5
|
import { T as ErrorMapper, b as DbError, f as Result, p as ThrowMapper, t as AsyncResult } from "./result-CMqlHv82.js";
|
|
6
6
|
import { n as Logger } from "./logger-0LfhvwE4.js";
|
|
7
7
|
import { t as StandardSchemaV1 } from "./standard-CiOWpeZL.js";
|
|
8
|
-
import { a as PostgrestPlan, i as PostgrestCompileOptions } from "./postgrest-
|
|
9
|
-
import { h as FilterQuery } from "./filter-query-
|
|
8
|
+
import { a as PostgrestPlan, i as PostgrestCompileOptions } from "./postgrest-4vPs3cD4.js";
|
|
9
|
+
import { h as FilterQuery } from "./filter-query-CJ3wcwqH.js";
|
|
10
10
|
import { SupabaseClient } from "@supabase/supabase-js";
|
|
11
11
|
/** Buckets registered with `betterSupabase.buckets()`, by key. */
|
|
12
12
|
type BucketRegistry = Readonly<Record<string, Bucket<any, any, any>>>;
|