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,8 +1,8 @@
|
|
|
1
1
|
import { n as isRecord } from "./guards-CsRa6v57.js";
|
|
2
2
|
import { a as sqlString, i as sqlIdent } from "./template-1e2akYYK.js";
|
|
3
|
-
import { $ as updateExtraColumns, S as extraFieldsArg, T as insertExtraColumns, h as columnsObject, m as columnRef, r as NOTHING, tt as userGrant, w as fail } from "./shared-DwShIqeQ.js";
|
|
3
|
+
import { $ as updateExtraColumns, S as extraFieldsArg, T as insertExtraColumns, Y as splitTable, h as columnsObject, m as columnRef, r as NOTHING, tt as userGrant, w as fail } from "./shared-DwShIqeQ.js";
|
|
4
4
|
import { n as blockOptions, r as option } from "./options-Z-bd_H1E.js";
|
|
5
|
-
import { l as tenantColumnOf, t as uniqueContributions } from "./contributions-
|
|
5
|
+
import { l as tenantColumnOf, o as registeredSubjects, t as uniqueContributions } from "./contributions-olp7tVYC.js";
|
|
6
6
|
import { t as RANK_ALPHABET } from "./rank-keys-CEBzd9Xa.js";
|
|
7
7
|
import { t as declareRead } from "./reads-CWVqw2JB.js";
|
|
8
8
|
import { c as stockHistory } from "./inventory-stock-DadU4mb2.js";
|
|
@@ -11,7 +11,8 @@ const ordersSqlOptions = blockOptions({
|
|
|
11
11
|
paymentWindowMinutes: option.number({ default: 30 }),
|
|
12
12
|
extraColumns: option.extraColumns(),
|
|
13
13
|
kitchen: option.boolean({ default: false }),
|
|
14
|
-
discountMatrix: option.boolean({ default: false })
|
|
14
|
+
discountMatrix: option.boolean({ default: false }),
|
|
15
|
+
templates: option.boolean({ default: false })
|
|
15
16
|
});
|
|
16
17
|
// src/sql/rank-sql.ts
|
|
17
18
|
/** The `~` pattern a rank key matches, the same as `isRankKey`. */
|
|
@@ -69,6 +70,81 @@ function rankSql(type) {
|
|
|
69
70
|
pattern: RANK_KEY_PATTERN
|
|
70
71
|
};
|
|
71
72
|
}
|
|
73
|
+
// src/sql/template-rows-sql.ts
|
|
74
|
+
/**
|
|
75
|
+
* The template column of a subject, when the table holds template rows. A
|
|
76
|
+
* string is the column; an object also names the child tables a clone copies.
|
|
77
|
+
*/
|
|
78
|
+
function templateRowsOf(config) {
|
|
79
|
+
const value = config.template;
|
|
80
|
+
if (value === void 0) return;
|
|
81
|
+
if (typeof value === "string") return {
|
|
82
|
+
column: value,
|
|
83
|
+
children: []
|
|
84
|
+
};
|
|
85
|
+
return {
|
|
86
|
+
column: value.column,
|
|
87
|
+
children: value.children ?? []
|
|
88
|
+
};
|
|
89
|
+
}
|
|
90
|
+
/** `alias.column is null`: the row is a live record, not a template. */
|
|
91
|
+
function isLiveRow(alias, column) {
|
|
92
|
+
return `${alias}.${sqlIdent(column)} is null`;
|
|
93
|
+
}
|
|
94
|
+
/**
|
|
95
|
+
* An early return for a template row, or "" when the subject has no template
|
|
96
|
+
* column. The block ends in a newline so the next statement keeps its indent.
|
|
97
|
+
*/
|
|
98
|
+
function templateTriggerReturn(column, value) {
|
|
99
|
+
return column === void 0 ? "" : ` if new.${sqlIdent(column)} is not null then
|
|
100
|
+
return ${value};
|
|
101
|
+
end if;
|
|
102
|
+
`;
|
|
103
|
+
}
|
|
104
|
+
/** ` and alias.template is null` when the subject holds template rows. */
|
|
105
|
+
function excludeTemplates(config, alias) {
|
|
106
|
+
const column = templateRowsOf(config)?.column;
|
|
107
|
+
return column === void 0 ? "" : ` and ${isLiveRow(alias, column)}`;
|
|
108
|
+
}
|
|
109
|
+
/**
|
|
110
|
+
* The `template` column: a uuid that points at the templates table. Unique on
|
|
111
|
+
* the root table of a type, so one template owns one root row; bundle members
|
|
112
|
+
* share the id and are not unique.
|
|
113
|
+
*/
|
|
114
|
+
function templateColumnSql(column, templates, unique) {
|
|
115
|
+
return `${sqlIdent(column)} uuid${unique ? " unique" : ""} references ${templates} (id) on delete cascade`;
|
|
116
|
+
}
|
|
117
|
+
/** The column that records which template a live row was made from. */
|
|
118
|
+
function sourceTemplateColumnSql(column, templates) {
|
|
119
|
+
return `${sqlIdent(column)} uuid references ${templates} (id) on delete set null`;
|
|
120
|
+
}
|
|
121
|
+
/**
|
|
122
|
+
* A before-update trigger that refuses a change of the template column, so a
|
|
123
|
+
* row never switches between a template and a live record.
|
|
124
|
+
*/
|
|
125
|
+
function templateGuardSql(options) {
|
|
126
|
+
const column = sqlIdent(options.column);
|
|
127
|
+
return `create or replace function ${options.fn}()
|
|
128
|
+
returns trigger
|
|
129
|
+
language plpgsql
|
|
130
|
+
as $$
|
|
131
|
+
begin
|
|
132
|
+
if tg_op = 'UPDATE' and new.${column} is distinct from old.${column} then
|
|
133
|
+
${fail(options.hint, "A row cannot change between a template and a live record", "23514")}
|
|
134
|
+
end if;
|
|
135
|
+
return new;
|
|
136
|
+
end;
|
|
137
|
+
$$;
|
|
138
|
+
|
|
139
|
+
drop trigger if exists ${options.trigger} on ${options.table};
|
|
140
|
+
create trigger ${options.trigger}
|
|
141
|
+
before update of ${column} on ${options.table}
|
|
142
|
+
for each row execute function ${options.fn}();`;
|
|
143
|
+
}
|
|
144
|
+
/** A partial index over the live rows, the ones lists read by default. */
|
|
145
|
+
function liveRowsIndex(name, table, columns, template) {
|
|
146
|
+
return `create index if not exists ${sqlIdent(name)} on ${table} (${columns}) where ${sqlIdent(template)} is null;`;
|
|
147
|
+
}
|
|
72
148
|
// src/sql/modules/numbering-entities.ts
|
|
73
149
|
const ENTITY = /^[a-z][a-z0-9_]*$/;
|
|
74
150
|
const PREDICATE = /^[A-Za-z0-9_.'"=<>!(), \t-]+$/;
|
|
@@ -289,11 +365,12 @@ function assignNumberSql(ctx, entity, tenant, target, fallback, at = "now()", op
|
|
|
289
365
|
const sequence = sequenceFormatOf(ctx, entity, tenant);
|
|
290
366
|
const scope = options.scope ?? "''";
|
|
291
367
|
const scoped = scope !== "''";
|
|
368
|
+
const gate = (body) => options.when === void 0 ? body : `if ${options.when} then\n ${body.replaceAll("\n", "\n ")}\nend if;`;
|
|
292
369
|
if (sequence !== void 0) {
|
|
293
370
|
const next = ctx.of("numbering").fn("next_number");
|
|
294
371
|
const issued = sequence.assigns ? `
|
|
295
372
|
perform set_config('better_supabase.issued_number', ${sqlString(entity)} || chr(31) || ${target.seq}::text || chr(31) || ${target.identifier}, true);` : "";
|
|
296
|
-
return withFixedNumber(ctx, entity, tenant, {
|
|
373
|
+
return gate(withFixedNumber(ctx, entity, tenant, {
|
|
297
374
|
seq: target.seq,
|
|
298
375
|
text: target.identifier
|
|
299
376
|
}, `${target.seq} := ${next}(${tenant}, ${sqlString(entity)}, ${at}, ${scope});
|
|
@@ -303,9 +380,9 @@ function assignNumberSql(ctx, entity, tenant, target, fallback, at = "now()", op
|
|
|
303
380
|
registered: true,
|
|
304
381
|
...options.fixed === void 0 ? {} : { fixed: options.fixed },
|
|
305
382
|
after: issued
|
|
306
|
-
});
|
|
383
|
+
}));
|
|
307
384
|
}
|
|
308
|
-
return withFixedNumber(ctx, entity, tenant, {
|
|
385
|
+
return gate(withFixedNumber(ctx, entity, tenant, {
|
|
309
386
|
seq: target.seq,
|
|
310
387
|
text: target.identifier
|
|
311
388
|
}, `perform pg_catalog.pg_advisory_xact_lock(pg_catalog.hashtextextended(${tenant}::text || ${sqlString(`:${entity}`)}${scoped ? ` || ':' || ${scope}` : ""}, 0));
|
|
@@ -314,7 +391,7 @@ function assignNumberSql(ctx, entity, tenant, target, fallback, at = "now()", op
|
|
|
314
391
|
at,
|
|
315
392
|
scope,
|
|
316
393
|
...options.fixed === void 0 ? {} : { fixed: options.fixed }
|
|
317
|
-
});
|
|
394
|
+
}));
|
|
318
395
|
}
|
|
319
396
|
/**
|
|
320
397
|
* Wraps `normal`, the SQL that takes the next number, so an importer's fixed
|
|
@@ -340,6 +417,17 @@ function withFixedNumber(ctx, entity, tenant, target, normal, options) {
|
|
|
340
417
|
${normal}
|
|
341
418
|
end if;`;
|
|
342
419
|
}
|
|
420
|
+
/**
|
|
421
|
+
* `assignOn`, and a template row never takes a number when the numbered table
|
|
422
|
+
* is a subject with a template column.
|
|
423
|
+
*/
|
|
424
|
+
function assignWhen(ctx, item) {
|
|
425
|
+
if (item.table === void 0) return item.assignOn;
|
|
426
|
+
const [schema, table] = splitTable(item.table);
|
|
427
|
+
const subject = registeredSubjects(ctx.subjects, ctx.naming).find((entry) => entry.schema === schema && entry.table === table);
|
|
428
|
+
const column = subject === void 0 ? void 0 : templateRowsOf(subject.config)?.column;
|
|
429
|
+
return column === void 0 ? item.assignOn : `(${item.assignOn}) and new.${sqlIdent(column)} is null`;
|
|
430
|
+
}
|
|
343
431
|
// src/sql/column-defaults.ts
|
|
344
432
|
const QUOTED_IDENT = /^"(.*)"$/s;
|
|
345
433
|
const bareName = (ident) => QUOTED_IDENT.exec(ident)?.[1]?.replaceAll("\"\"", "\"") ?? ident;
|
|
@@ -1347,11 +1435,18 @@ function sequenceFormat(ctx, entity, tenant) {
|
|
|
1347
1435
|
* one more than the tenant's highest under a transaction lock, as plain
|
|
1348
1436
|
* digits.
|
|
1349
1437
|
*/
|
|
1350
|
-
|
|
1438
|
+
/** Template rows are on for orders (ADR 0244). */
|
|
1439
|
+
function orderTemplatesOn(ctx) {
|
|
1440
|
+
if (!ctx.flag("templates", false)) return false;
|
|
1441
|
+
if (!ctx.installed("templates")) throw new TypeError("blocks.orders.options.templates needs the templates block");
|
|
1442
|
+
return ctx.has("orders", "template");
|
|
1443
|
+
}
|
|
1444
|
+
function assignNumber(ctx, entity, tenant, target, when) {
|
|
1351
1445
|
const format = sequenceFormat(ctx, entity, tenant);
|
|
1446
|
+
const gate = (body) => when === void 0 ? body : `if ${when} then\n ${body.replaceAll("\n", "\n ")}\nend if;`;
|
|
1352
1447
|
if (format !== void 0) {
|
|
1353
1448
|
const next = ctx.of("numbering").fn("next_number");
|
|
1354
|
-
return withFixedNumber(ctx, entity, tenant, {
|
|
1449
|
+
return gate(withFixedNumber(ctx, entity, tenant, {
|
|
1355
1450
|
seq: target.seq,
|
|
1356
1451
|
text: target.number
|
|
1357
1452
|
}, `${target.seq} := ${next}(${tenant}, ${sqlString(entity)}, now());
|
|
@@ -1359,11 +1454,11 @@ function assignNumber(ctx, entity, tenant, target) {
|
|
|
1359
1454
|
at: "now()",
|
|
1360
1455
|
scope: "''",
|
|
1361
1456
|
registered: true
|
|
1362
|
-
});
|
|
1457
|
+
}));
|
|
1363
1458
|
}
|
|
1364
1459
|
const o = columns(ctx, "orders");
|
|
1365
1460
|
const column = entity === "order" ? o("sequence") : o("invoiceSequence");
|
|
1366
|
-
return withFixedNumber(ctx, entity, tenant, {
|
|
1461
|
+
return gate(withFixedNumber(ctx, entity, tenant, {
|
|
1367
1462
|
seq: target.seq,
|
|
1368
1463
|
text: target.number
|
|
1369
1464
|
}, `perform pg_catalog.pg_advisory_xact_lock(pg_catalog.hashtextextended(${tenant}::text || ':commerce:${entity}', 0));
|
|
@@ -1371,7 +1466,7 @@ function assignNumber(ctx, entity, tenant, target) {
|
|
|
1371
1466
|
${target.number} := ${target.seq}::text;`, {
|
|
1372
1467
|
at: "now()",
|
|
1373
1468
|
scope: "''"
|
|
1374
|
-
});
|
|
1469
|
+
}));
|
|
1375
1470
|
}
|
|
1376
1471
|
/**
|
|
1377
1472
|
* `${fn("order_transition")}(order, to)`: moves an order's status along the
|
|
@@ -1534,4 +1629,4 @@ $$;
|
|
|
1534
1629
|
${userGrant(`${fn}(${ctx.idType}, integer)`)}
|
|
1535
1630
|
`;
|
|
1536
1631
|
}
|
|
1537
|
-
export {
|
|
1632
|
+
export { assignWhen as A, templateColumnSql as B, storefrontOption as C, uniqueViolationOn as D, columnDefaults as E, sequenceEntry as F, rankAfter as G, templateRowsOf as H, sequences as I, rankBackfill as K, excludeTemplates as L, scopeSql as M, sequenceFormatOf as N, withColumnDefault as O, withFixedNumber as P, liveRowsIndex as R, productSettingTypes as S, catalogRank as T, templateTriggerReturn as U, templateGuardSql as V, RANK_KEY_PATTERN as W, categoryExtras as _, asService as a, productExtras as b, guard as c, orderTemplatesOn as d, paymentWindow as f, amountOf$1 as g, SLUG as h, amountOf as i, hasLegalEntityColumn as j, assignNumberSql as k, orderFields as l, transitionFunction as m, ORDER_STATUS_BOARD_RESULT as n, assignNumber as o, serviceOnlyGuard as p, ordersSqlOptions as q, orderReads as r, columns as s, ORDER_READS as t, orderPayload as u, guard$1 as v, variantExtras as w, productFunctions as x, optionFunctions as y, sourceTemplateColumnSql as z };
|
package/dist/orpc/index.d.ts
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { r as AuthState } from "../resolve-
|
|
2
|
-
import { s as BetterSupabase } from "../db-blocks-
|
|
1
|
+
import { r as AuthState } from "../resolve-B9Rn2M5c.js";
|
|
2
|
+
import { s as BetterSupabase } from "../db-blocks-CzhzWfvR.js";
|
|
3
3
|
import { b as DbError, f as Result } from "../result-CMqlHv82.js";
|
|
4
4
|
import { i as ProblemDetails } from "../problem-BkuOcWRv.js";
|
|
5
|
-
import { O as AnyFunctions, k as AnyModels } from "../types-
|
|
6
|
-
import { c as ResourceLoaderContext, i as AuthorizeOptions } from "../kit-
|
|
5
|
+
import { O as AnyFunctions, k as AnyModels } from "../types-BlBju7Wa.js";
|
|
6
|
+
import { c as ResourceLoaderContext, i as AuthorizeOptions } from "../kit-EFsCynmb.js";
|
|
7
7
|
import { a as RateLimitVerdict, c as RouteRateLimitRule, i as RateLimitRouteOptions, l as SingleRateLimitOptions, n as MultiRateLimiter, o as RateLimiter, r as RateLimitAllVerdict, s as RouteRateLimitHit, t as MultiRateLimitOptions } from "../rate-limit-7PzkzB3R.js";
|
|
8
|
-
import { i as MiddlewareOptions, r as GuardOptions } from "../respond
|
|
9
|
-
import { r as BetterServer, s as ServerContext, u as ServerOptions } from "../server-types-
|
|
10
|
-
import { t as Api } from "../api-
|
|
11
|
-
import { a as ResourceHandler } from "../resource-types-
|
|
8
|
+
import { i as MiddlewareOptions, r as GuardOptions } from "../respond-OjgB7zlB.js";
|
|
9
|
+
import { r as BetterServer, s as ServerContext, u as ServerOptions } from "../server-types-Cf4eX4kr.js";
|
|
10
|
+
import { t as Api } from "../api-8Q1VgGJT.js";
|
|
11
|
+
import { a as ResourceHandler } from "../resource-types-BmZx8q4a.js";
|
|
12
12
|
import { t as Validated } from "../shared-DsBcvj6q.js";
|
|
13
13
|
import { AnyEntry, Contributions } from "@supabase/middleware";
|
|
14
14
|
import { AnySchema, BuilderWithMiddlewares, DecoratedMiddleware, DecoratedProcedure, MetaPlugin, ORPCError, Schema } from "@orpc/server";
|
package/dist/orpc/index.js
CHANGED
|
@@ -2,7 +2,7 @@ import { i as toSession } from "../view-B8vDPZSf.js";
|
|
|
2
2
|
import { i as claimsOf } from "../claims-CqTr_N1n.js";
|
|
3
3
|
import { n as dbError, r as dbErrorOf } from "../errors-CXPerGIl.js";
|
|
4
4
|
import { c as toProblem } from "../problem-gZxWhEP2.js";
|
|
5
|
-
import { c as extendServer, n as flushEvents, s as createServer } from "../adapter-
|
|
5
|
+
import { c as extendServer, n as flushEvents, s as createServer } from "../adapter-D7GH81nF.js";
|
|
6
6
|
import { c as defaultExpose, p as settle, s as assertCookieRefresh, t as authorizeCaller, u as guard } from "../kit-CBdolcQN.js";
|
|
7
7
|
import { t as rateLimitGate } from "../rate-limit-s_8DovmF.js";
|
|
8
8
|
import { r as refreshFor } from "../request-kind-tNDM5Z_o.js";
|
package/dist/otel/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { o as EventHub } from "../events-
|
|
2
|
-
import { Nt as Plugin } from "../types-
|
|
1
|
+
import { o as EventHub } from "../events-DN9PAcjq.js";
|
|
2
|
+
import { Nt as Plugin } from "../types-BlBju7Wa.js";
|
|
3
3
|
import { t as SPEC_PINS } from "../spec-pins-Bb6V8nR2.js";
|
|
4
4
|
import { Attributes, Meter, Tracer } from "@opentelemetry/api";
|
|
5
5
|
export declare const INSTRUMENTATION_NAME = "better-supabase";
|
package/dist/otel/index.js
CHANGED
|
@@ -39,9 +39,9 @@ function systemOf(executor) {
|
|
|
39
39
|
* ```
|
|
40
40
|
*/
|
|
41
41
|
function otel(options = {}) {
|
|
42
|
-
const tracer = options.tracer ?? trace.getTracer("better-supabase", "0.
|
|
42
|
+
const tracer = options.tracer ?? trace.getTracer("better-supabase", "0.55.0");
|
|
43
43
|
let histogram;
|
|
44
|
-
if (options.metrics !== false) histogram = (options.meter ?? metrics.getMeter("better-supabase", "0.
|
|
44
|
+
if (options.metrics !== false) histogram = (options.meter ?? metrics.getMeter("better-supabase", "0.55.0")).createHistogram("db.client.operation.duration", {
|
|
45
45
|
unit: "s",
|
|
46
46
|
description: "Duration of database client operations.",
|
|
47
47
|
advice: { explicitBucketBoundaries: [
|
|
@@ -230,7 +230,7 @@ function otel(options = {}) {
|
|
|
230
230
|
* `betterSupabase.events`. Returns a function that stops listening.
|
|
231
231
|
*/
|
|
232
232
|
function traceAuth(betterSupabase, options = {}) {
|
|
233
|
-
const tracer = options.tracer ?? trace.getTracer("better-supabase", "0.
|
|
233
|
+
const tracer = options.tracer ?? trace.getTracer("better-supabase", "0.55.0");
|
|
234
234
|
const offAuth = betterSupabase.events.on("auth", (event) => {
|
|
235
235
|
const span = tracer.startSpan("auth.resolve", {
|
|
236
236
|
kind: SpanKind.INTERNAL,
|
|
@@ -269,7 +269,7 @@ function traceAuth(betterSupabase, options = {}) {
|
|
|
269
269
|
* `*.denied`) set an error status. Returns a function that stops listening.
|
|
270
270
|
*/
|
|
271
271
|
function traceBlockEvents(betterSupabase, options = {}) {
|
|
272
|
-
const tracer = options.tracer ?? trace.getTracer("better-supabase", "0.
|
|
272
|
+
const tracer = options.tracer ?? trace.getTracer("better-supabase", "0.55.0");
|
|
273
273
|
return betterSupabase.events.on("block", (event) => {
|
|
274
274
|
const attributes = {
|
|
275
275
|
...options.attributes,
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
/// <reference lib="esnext.temporal" />
|
|
2
|
-
import { i as CursorPageOptions, n as BlockOptions } from "./block-helpers-
|
|
3
|
-
import { n as BlockHooks } from "./block-hooks-
|
|
4
|
-
import { g as SubscriberPolicy, i as AuthorizationHooks } from "./authorization-hooks-
|
|
2
|
+
import { i as CursorPageOptions, n as BlockOptions } from "./block-helpers-rTsuHt6v.js";
|
|
3
|
+
import { n as BlockHooks } from "./block-hooks-FM9t7ol_.js";
|
|
4
|
+
import { g as SubscriberPolicy, i as AuthorizationHooks } from "./authorization-hooks-DM_ijJsD.js";
|
|
5
5
|
import { b as DbError, t as AsyncResult } from "./result-CMqlHv82.js";
|
|
6
6
|
import { n as Logger } from "./logger-0LfhvwE4.js";
|
|
7
7
|
import { t as BlockProblemOptions } from "./problem-BkuOcWRv.js";
|
|
8
|
-
import { i as EventSink, t as CloudEvent } from "./cloud-event-
|
|
8
|
+
import { i as EventSink, t as CloudEvent } from "./cloud-event-Dj2V1lQw.js";
|
|
9
9
|
/** One row of the outbox, as `outbox_claim` and `outbox_history` return it. */
|
|
10
10
|
interface OutboxEvent {
|
|
11
11
|
/** The cursor value: increases with every event. */
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { a as ok, t as AsyncResult } from "./result-DrBaeIVt.js";
|
|
2
|
-
import { t as attachmentOf } from "./attachments-
|
|
2
|
+
import { t as attachmentOf } from "./attachments-sZnT13hL.js";
|
|
3
3
|
import { B as textOf, C as optionalInstant, N as recordsOf, P as requiredInstant, T as optionalText, d as enumOrThrow, j as recordOf } from "./block-helpers-BR1V7DN1.js";
|
|
4
4
|
import { n as isRecord } from "./guards-CsRa6v57.js";
|
|
5
5
|
import { t as temporal } from "./temporal-required-DK3ImZW6.js";
|
|
@@ -4,9 +4,9 @@ import { i as fillTemplate } from "./access-sql-DH2LbcQe.js";
|
|
|
4
4
|
import { c as renderPolicy, i as policy } from "./policy-B9UWDXMF.js";
|
|
5
5
|
import { C as extraFieldsJson, I as quotedTable, O as lockTable, S as extraFieldsArg, W as schemaPreamble, Y as splitTable, a as SCHEMA, m as columnRef, nt as withExtraFields, o as SERVICE_CALLER, q as sha256HexSql, rt as writeExtraColumns, tt as userGrant, u as addExtraColumns, w as fail } from "./shared-DwShIqeQ.js";
|
|
6
6
|
import { n as blockOptions, r as option } from "./options-Z-bd_H1E.js";
|
|
7
|
-
import { d as subjectPermissionKey, f as subjectPermissionOf, r as checkCall, t as uniqueContributions } from "./contributions-
|
|
7
|
+
import { d as subjectPermissionKey, f as subjectPermissionOf, r as checkCall, t as uniqueContributions } from "./contributions-olp7tVYC.js";
|
|
8
8
|
import { t as SUBJECT_TYPE_PATTERN } from "./subject-type-BarjdHZV.js";
|
|
9
|
-
import { a as moduleOperations, n as OPERATIONS, r as accessModel } from "./permissions-model-
|
|
9
|
+
import { a as moduleOperations, n as OPERATIONS, r as accessModel } from "./permissions-model-Dh9-Zzfy.js";
|
|
10
10
|
// src/sql/column-type.ts
|
|
11
11
|
function columnTypeFunction() {
|
|
12
12
|
return `${SCHEMA}
|
|
@@ -59,6 +59,7 @@ const DEFAULT_ROLES = {
|
|
|
59
59
|
"time_tracking.*",
|
|
60
60
|
"service_accounts.*",
|
|
61
61
|
"pipelines.*",
|
|
62
|
+
"option_sets.*",
|
|
62
63
|
"contacts.*",
|
|
63
64
|
"activities.*",
|
|
64
65
|
"deals.*",
|
|
@@ -126,6 +127,7 @@ const DEFAULT_ROLES = {
|
|
|
126
127
|
"rfqs.*",
|
|
127
128
|
"tills.*",
|
|
128
129
|
"periods.*",
|
|
130
|
+
"deadlines.*",
|
|
129
131
|
"commissions.*",
|
|
130
132
|
"referrals.*",
|
|
131
133
|
"agent_checkout.*",
|
|
@@ -203,6 +205,7 @@ const DEFAULT_ROLES = {
|
|
|
203
205
|
"time_tracking.track",
|
|
204
206
|
"leave.request",
|
|
205
207
|
"pipelines.read",
|
|
208
|
+
"option_sets.read",
|
|
206
209
|
"contacts.read",
|
|
207
210
|
"contacts.write",
|
|
208
211
|
"activities.read",
|
|
@@ -463,6 +466,8 @@ const OPERATIONS = {
|
|
|
463
466
|
"service-accounts.manage": "service_accounts.manage",
|
|
464
467
|
"pipelines.read": "pipelines.read",
|
|
465
468
|
"pipelines.manage": "pipelines.manage",
|
|
469
|
+
"option-sets.read": "option_sets.read",
|
|
470
|
+
"option-sets.manage": "option_sets.manage",
|
|
466
471
|
"contacts.read": "contacts.read",
|
|
467
472
|
"contacts.write": "contacts.write",
|
|
468
473
|
"contacts.manage": "contacts.manage",
|
|
@@ -664,6 +669,9 @@ const OPERATIONS = {
|
|
|
664
669
|
"periods.read": "periods.read",
|
|
665
670
|
"periods.write": "periods.write",
|
|
666
671
|
"periods.manage": "periods.manage",
|
|
672
|
+
"deadlines.read": "deadlines.read",
|
|
673
|
+
"deadlines.write": "deadlines.write",
|
|
674
|
+
"deadlines.manage": "deadlines.manage",
|
|
667
675
|
"commissions.read": "commissions.read",
|
|
668
676
|
"commissions.write": "commissions.write",
|
|
669
677
|
"commissions.manage": "commissions.manage",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { o as EventHub } from "./events-
|
|
2
|
-
import { Vt as Executor } from "./types-
|
|
1
|
+
import { o as EventHub } from "./events-DN9PAcjq.js";
|
|
2
|
+
import { Vt as Executor } from "./types-BlBju7Wa.js";
|
|
3
3
|
import { n as Logger } from "./logger-0LfhvwE4.js";
|
|
4
|
-
import { n as SqlClient } from "./executor-
|
|
4
|
+
import { n as SqlClient } from "./executor-CnU5r1HS.js";
|
|
5
5
|
/** The part of a `pg` pool client `createPostgres` uses. */
|
|
6
6
|
interface PgPoolClient {
|
|
7
7
|
query(text: string, values?: unknown[]): Promise<{
|
|
@@ -101,6 +101,12 @@ interface BetterPostgres {
|
|
|
101
101
|
* `ctx.sql`, so only apps that pass `postgres` bundle the SQL compiler.
|
|
102
102
|
*/
|
|
103
103
|
executorFor(claims: SqlClaims, options?: SessionOptions): Executor;
|
|
104
|
+
/**
|
|
105
|
+
* Runs `fn` in one transaction as the user, with an executor bound to it.
|
|
106
|
+
* Everything connected to that executor, repositories and blocks alike,
|
|
107
|
+
* commits or rolls back together. A throw rolls back.
|
|
108
|
+
*/
|
|
109
|
+
transactionFor?<T>(claims: SqlClaims, fn: (executor: Executor) => Promise<T>, options?: SessionOptions): Promise<T>;
|
|
104
110
|
/**
|
|
105
111
|
* Runs `fn` in one transaction. Pass claims to run it as a user; the session
|
|
106
112
|
* options apply with or without them.
|
package/dist/postgres/index.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { n as SqlClient, r as postgresExecutor, t as PostgresExecutorOptions } from "../executor-
|
|
1
|
+
import { n as SqlClient, r as postgresExecutor, t as PostgresExecutorOptions } from "../executor-CnU5r1HS.js";
|
|
2
2
|
import { E as RawDbError } from "../result-CMqlHv82.js";
|
|
3
|
-
import { a as PostgresTimeouts, c as createPostgres, i as PostgresOptions, n as PgPool, o as SessionOptions, r as PgPoolClient, s as SqlClaims, t as BetterPostgres } from "../pool-
|
|
4
|
-
import { m as Operation } from "../types-
|
|
5
|
-
import { t as Compiler } from "../compiler-
|
|
3
|
+
import { a as PostgresTimeouts, c as createPostgres, i as PostgresOptions, n as PgPool, o as SessionOptions, r as PgPoolClient, s as SqlClaims, t as BetterPostgres } from "../pool-3kL7D5vJ.js";
|
|
4
|
+
import { m as Operation } from "../types-BlBju7Wa.js";
|
|
5
|
+
import { t as Compiler } from "../compiler-BSHKt-d2.js";
|
|
6
6
|
/** Node-postgres error fields to the shape `mapDbError` reads. */
|
|
7
7
|
export declare function fromPgError(error: unknown): RawDbError | undefined;
|
|
8
8
|
interface SqlQuery {
|
package/dist/postgres/index.js
CHANGED
|
@@ -96,9 +96,22 @@ function createPostgres(options = {}) {
|
|
|
96
96
|
const client = await pool.connect();
|
|
97
97
|
try {
|
|
98
98
|
await begin(client, session, settingsOf(session));
|
|
99
|
+
let savepoints = 0;
|
|
99
100
|
const scoped = {
|
|
100
101
|
queryRaw: async (text, params) => (await client.query(text, params?.map(encodeArgument))).rows,
|
|
101
|
-
transaction: (inner) =>
|
|
102
|
+
transaction: async (inner) => {
|
|
103
|
+
savepoints += 1;
|
|
104
|
+
const name = `bsb_sp_${String(savepoints)}`;
|
|
105
|
+
await client.query(`savepoint ${name}`);
|
|
106
|
+
try {
|
|
107
|
+
const nested = await inner(scoped);
|
|
108
|
+
await client.query(`release savepoint ${name}`);
|
|
109
|
+
return nested;
|
|
110
|
+
} catch (cause) {
|
|
111
|
+
await client.query(`rollback to savepoint ${name}`).catch(() => void 0);
|
|
112
|
+
throw cause;
|
|
113
|
+
}
|
|
114
|
+
}
|
|
102
115
|
};
|
|
103
116
|
const result = await fn(scoped);
|
|
104
117
|
await client.query("commit");
|
|
@@ -138,6 +151,7 @@ function createPostgres(options = {}) {
|
|
|
138
151
|
}),
|
|
139
152
|
asUser: (claims, sessionOptions) => clientFor(sessionFor(claims, sessionOptions)),
|
|
140
153
|
executorFor: (claims, sessionOptions) => postgresExecutor(clientFor(sessionFor(claims, sessionOptions))),
|
|
154
|
+
transactionFor: (claims, fn, sessionOptions) => transaction(sessionFor(claims, sessionOptions), (client) => fn(postgresExecutor(client))),
|
|
141
155
|
transaction: (fn, txOptions = {}) => transaction(txOptions.claims ? sessionFor(txOptions.claims, txOptions) : optionsOf(txOptions), fn),
|
|
142
156
|
end: () => pool.end(),
|
|
143
157
|
[Symbol.asyncDispose]: () => pool.end()
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { C as quoteSqliteIdent, S as likeToGlob, _ as SqliteQuery, a as postgrestTimestamp, b as SqliteValue, c as sqliteCompiler, d as SqliteDecode, f as SqliteInsertPlan, g as SqlitePlan, h as SqliteNested, i as fromSqliteError, l as SqliteColumn, m as SqliteKeys, n as SqliteDatabaseLike, o as CheckSqliteOptions, p as SqliteKeyedPlan, r as SqliteExecutorOptions, s as checkSqlite, t as SqliteContextLike, u as SqliteCompilerOptions, v as SqliteReturning, w as sqliteValue, x as compileSqlite, y as SqliteSelectPlan } from "../executor-
|
|
2
|
-
import { Vt as Executor } from "../types-
|
|
3
|
-
import { C as UploadRouteOptions, E as uploadRoute, S as UploadRoute, T as uploadOutcome, _ as UploadConnectorOptions, b as UploadOutcome, c as LocalTablesOption, d as CreateUploadRepository, f as CrudEntryLike, g as UploadConnector, h as RejectedStore, m as RejectedChange, n as DataEngine, p as CrudQueueLike, s as LiveEngineOptions, v as UploadErrorContext, w as createUploadConnector, x as UploadRepository, y as UploadFunction } from "../data-engine-
|
|
4
|
-
import { t as AuthSnapshot } from "../bind-
|
|
5
|
-
import { t as BlockTransport } from "../block-transport-
|
|
1
|
+
import { C as quoteSqliteIdent, S as likeToGlob, _ as SqliteQuery, a as postgrestTimestamp, b as SqliteValue, c as sqliteCompiler, d as SqliteDecode, f as SqliteInsertPlan, g as SqlitePlan, h as SqliteNested, i as fromSqliteError, l as SqliteColumn, m as SqliteKeys, n as SqliteDatabaseLike, o as CheckSqliteOptions, p as SqliteKeyedPlan, r as SqliteExecutorOptions, s as checkSqlite, t as SqliteContextLike, u as SqliteCompilerOptions, v as SqliteReturning, w as sqliteValue, x as compileSqlite, y as SqliteSelectPlan } from "../executor-CewY2EQK.js";
|
|
2
|
+
import { Vt as Executor } from "../types-BlBju7Wa.js";
|
|
3
|
+
import { C as UploadRouteOptions, E as uploadRoute, S as UploadRoute, T as uploadOutcome, _ as UploadConnectorOptions, b as UploadOutcome, c as LocalTablesOption, d as CreateUploadRepository, f as CrudEntryLike, g as UploadConnector, h as RejectedStore, m as RejectedChange, n as DataEngine, p as CrudQueueLike, s as LiveEngineOptions, v as UploadErrorContext, w as createUploadConnector, x as UploadRepository, y as UploadFunction } from "../data-engine-0uVsKWaB.js";
|
|
4
|
+
import { t as AuthSnapshot } from "../bind-DiGmjHzz.js";
|
|
5
|
+
import { t as BlockTransport } from "../block-transport-CP4wAHU-.js";
|
|
6
6
|
import { b as DbError, f as Result } from "../result-CMqlHv82.js";
|
|
7
|
-
import { n as TopicPort } from "../watch-topic-
|
|
8
|
-
import { o as EngagementSubject } from "../activities-
|
|
9
|
-
import { a as MedicationAsNeededInput, r as MedicationAdministrationInput } from "../medications-
|
|
10
|
-
import { d as ObservationInput, t as Observation } from "../observations-
|
|
7
|
+
import { n as TopicPort } from "../watch-topic-C_rGHxIA.js";
|
|
8
|
+
import { o as EngagementSubject } from "../activities-DPq0U9Nb.js";
|
|
9
|
+
import { a as MedicationAsNeededInput, r as MedicationAdministrationInput } from "../medications-0Uuwu3k2.js";
|
|
10
|
+
import { d as ObservationInput, t as Observation } from "../observations-ilWeRQ20.js";
|
|
11
11
|
/** The part of PowerSync's `SyncStatus` the engine reads. */
|
|
12
12
|
interface SyncStatusLike {
|
|
13
13
|
readonly connected: boolean;
|
package/dist/powersync/index.js
CHANGED
|
@@ -272,6 +272,14 @@ function sessionError(cause) {
|
|
|
272
272
|
function unsupportedOp(entry, route) {
|
|
273
273
|
return err(dbError("unsupported", `better-supabase: a ${route} upload route can't replay PowerSync op ${entry.op}`));
|
|
274
274
|
}
|
|
275
|
+
/**
|
|
276
|
+
* A replay writes what the device recorded, including the columns the
|
|
277
|
+
* timestamps, actor and trash plugins fill: the local repository stamped them
|
|
278
|
+
* offline, so refusing them would refuse every queued insert. The plugins guard
|
|
279
|
+
* against mistakes in app code, not untrusted clients; a column the server must
|
|
280
|
+
* own needs its trigger (`bsb_updated_at`, `track_actor`).
|
|
281
|
+
*/
|
|
282
|
+
const REPLAY = { override: true };
|
|
275
283
|
function uploadRoute(repository, options = {}) {
|
|
276
284
|
const put = options.put ?? "upsert";
|
|
277
285
|
return async (entry) => {
|
|
@@ -283,11 +291,11 @@ function uploadRoute(repository, options = {}) {
|
|
|
283
291
|
switch (entry.op) {
|
|
284
292
|
case "PUT":
|
|
285
293
|
if (put === "create" && "create" in repository) {
|
|
286
|
-
const result = await repository.create(row);
|
|
294
|
+
const result = await repository.create(row, REPLAY);
|
|
287
295
|
return !result.ok && result.error.kind === "conflict" ? ok(void 0) : result;
|
|
288
296
|
}
|
|
289
|
-
return "upsert" in repository ? repository.upsert(row) : unsupportedOp(entry, put);
|
|
290
|
-
case "PATCH": return put === "upsert" && "update" in repository ? repository.update(id, entry.opData ?? {}) : unsupportedOp(entry, put);
|
|
297
|
+
return "upsert" in repository ? repository.upsert(row, REPLAY) : unsupportedOp(entry, put);
|
|
298
|
+
case "PATCH": return put === "upsert" && "update" in repository ? repository.update(id, entry.opData ?? {}, REPLAY) : unsupportedOp(entry, put);
|
|
291
299
|
case "DELETE": return repository.delete(id);
|
|
292
300
|
default: return err(dbError("unsupported", `better-supabase: unknown PowerSync op ${entry.op}`));
|
|
293
301
|
}
|
package/dist/preset/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Ar as
|
|
2
|
-
import { $i as CORE_BLOCKS, $n as presetApplyCommand, An as CREATE_URL, Bn as MAX_DESIGN_CODE_LENGTH, Cn as PRESET_GROUPS, Cr as ResolvedPresetBlock, Dn as defaultPreset, Dr as resolvePreset, En as PresetName, Er as removeComposite, Fn as DesignFile, Gn as designFileSource, Hn as createUrl, In as DesignParseError, Jn as designSchema, Kn as designFormat, Ln as DesignParseIssue, Mn as DESIGN_FILE, Nn as DESIGN_FORMAT, On as isPresetName, Pn as DesignErrorCode, Qn as presetAndDesignOf, Qr as APP_COLUMN_FORMATS, Rn as DesignParseResult, Sn as PRESETS, Sr as ResolvedPreset, Tn as PresetGroup, Tr as presetBlockConflict, Un as decodeDesign, Vn as createQuery, Wn as designConfig, Xn as isDesignCode, Yn as encodeDesign, Zn as parseDesign, _r as presetSpec, aa as PresetCatalogBlock, ai as AppColumnFormat, ar as safeDesignFileSource, bn as DEFAULT_PRESET_NAME, br as PresetIntegration, cr as ExpandedConfig, dr as expandPreset, ea as INSTANCE_NAME, er as presetArgumentOf, fr as presetConfig, gr as presetOfSpec, hr as presetFromSpec, ia as PresetCatalog, ir as readDesignFile, jn as CreateDesign, kn as namedPreset, lr as PresetInput, mr as PresetSpec, na as BlockCatalog, nr as presetInstallCommand, oa as PresetCatalogManifest, or as safeParseDesign, pr as presetOf, qn as designOf, ra as BlockCatalogEntry, rr as presetKey, sa as PresetGlueItem, sr as ConfigConventions, ta as instancePrefix, tr as presetConfigSource, ur as conventionConfig, vr as CompositeRemoval, wn as PRESET_NAMES, wr as listNames, xn as NamedPreset, xr as ResolvedComposite, yr as PresetConflict, zn as DesignTooLongError } from "../context-
|
|
3
|
-
import { C as diffAppTables, D as PRESET_CATALOG, E as isAppDefault, O as BLOCK_CATALOG, S as DiffOptions, T as appDefaultError, _ as glueCommand, a as blockRequires, b as DesignChange, c as installedBlocks, d as instancesOf, f as presetInstances, g as PROVIDER_COMMENT, h as withoutInstance, i as blockEntities, l as instanceBlock, m as withInstance, n as BlockInstance, o as canAddInstance, p as withEntityName, r as PresetInstance, s as entityName, t as BlockEntity, u as instanceNameProblem, v as presetBlocksSource, w as diffDesigns, x as DesignChangeKind, y as presetGlue } from "../index-
|
|
4
|
-
import { i as appReservedColumns, n as appIdentifierError, r as appNameLengthError, t as APP_NAME_MAX } from "../app-tables-
|
|
1
|
+
import { Ar as PresetAccess, Dr as PRESET_FRAMEWORKS, Er as DEFAULT_CONVENTIONS, Fr as PresetFramework, Hr as integrationsForFramework, Lr as PresetPlatforms, Mr as PresetField, Nr as PresetFieldKey, Or as PRESET_TENANT_NAMES, Pr as PresetFieldValue, Rr as PresetScope, Tr as CONVENTION_FIELDS, Ur as presetField, Vr as PresetValueInfo, Wr as presetValueLabel, jr as PresetConventions, kr as Preset, zr as PresetSubjectSettings } from "../define-block-Cu67KCN1.js";
|
|
2
|
+
import { $i as CORE_BLOCKS, $n as presetApplyCommand, An as CREATE_URL, Bn as MAX_DESIGN_CODE_LENGTH, Cn as PRESET_GROUPS, Cr as ResolvedPresetBlock, Dn as defaultPreset, Dr as resolvePreset, En as PresetName, Er as removeComposite, Fn as DesignFile, Gn as designFileSource, Hn as createUrl, In as DesignParseError, Jn as designSchema, Kn as designFormat, Ln as DesignParseIssue, Mn as DESIGN_FILE, Nn as DESIGN_FORMAT, On as isPresetName, Pn as DesignErrorCode, Qn as presetAndDesignOf, Qr as APP_COLUMN_FORMATS, Rn as DesignParseResult, Sn as PRESETS, Sr as ResolvedPreset, Tn as PresetGroup, Tr as presetBlockConflict, Un as decodeDesign, Vn as createQuery, Wn as designConfig, Xn as isDesignCode, Yn as encodeDesign, Zn as parseDesign, _r as presetSpec, aa as PresetCatalogBlock, ai as AppColumnFormat, ar as safeDesignFileSource, bn as DEFAULT_PRESET_NAME, br as PresetIntegration, cr as ExpandedConfig, dr as expandPreset, ea as INSTANCE_NAME, er as presetArgumentOf, fr as presetConfig, gr as presetOfSpec, hr as presetFromSpec, ia as PresetCatalog, ir as readDesignFile, jn as CreateDesign, kn as namedPreset, lr as PresetInput, mr as PresetSpec, na as BlockCatalog, nr as presetInstallCommand, oa as PresetCatalogManifest, or as safeParseDesign, pr as presetOf, qn as designOf, ra as BlockCatalogEntry, rr as presetKey, sa as PresetGlueItem, sr as ConfigConventions, ta as instancePrefix, tr as presetConfigSource, ur as conventionConfig, vr as CompositeRemoval, wn as PRESET_NAMES, wr as listNames, xn as NamedPreset, xr as ResolvedComposite, yr as PresetConflict, zn as DesignTooLongError } from "../context-DSJpfeVv.js";
|
|
3
|
+
import { C as diffAppTables, D as PRESET_CATALOG, E as isAppDefault, O as BLOCK_CATALOG, S as DiffOptions, T as appDefaultError, _ as glueCommand, a as blockRequires, b as DesignChange, c as installedBlocks, d as instancesOf, f as presetInstances, g as PROVIDER_COMMENT, h as withoutInstance, i as blockEntities, l as instanceBlock, m as withInstance, n as BlockInstance, o as canAddInstance, p as withEntityName, r as PresetInstance, s as entityName, t as BlockEntity, u as instanceNameProblem, v as presetBlocksSource, w as diffDesigns, x as DesignChangeKind, y as presetGlue } from "../index-slG4UpF_.js";
|
|
4
|
+
import { i as appReservedColumns, n as appIdentifierError, r as appNameLengthError, t as APP_NAME_MAX } from "../app-tables-BsDmauWB.js";
|
|
5
5
|
export { APP_COLUMN_FORMATS, APP_NAME_MAX, type AppColumnFormat, BLOCK_CATALOG, type BlockCatalog, type BlockCatalogEntry, type BlockEntity, type BlockInstance, CONVENTION_FIELDS, CREATE_URL, type CompositeRemoval, type ConfigConventions, type CreateDesign, DEFAULT_CONVENTIONS, DEFAULT_PRESET_NAME, DESIGN_FILE, DESIGN_FORMAT, type DesignChange, type DesignChangeKind, type DesignErrorCode, type DesignFile, DesignParseError, type DesignParseIssue, type DesignParseResult, DesignTooLongError, type DiffOptions, type ExpandedConfig, INSTANCE_NAME, MAX_DESIGN_CODE_LENGTH, type NamedPreset, PRESETS, PRESET_CATALOG, PRESET_FRAMEWORKS, PRESET_GROUPS, PRESET_NAMES, PRESET_TENANT_NAMES, PROVIDER_COMMENT, type Preset, type PresetAccess, type PresetCatalog, type PresetCatalogBlock, type PresetCatalogManifest, type PresetConflict, type PresetConventions, type PresetField, type PresetFieldKey, type PresetFieldValue, type PresetFramework, type PresetGlueItem, type PresetGroup, type PresetInput, type PresetInstance, type PresetIntegration, type PresetName, type PresetPlatforms, type PresetScope, type PresetSpec, type PresetSubjectSettings, type PresetValueInfo, type ResolvedComposite, type ResolvedPreset, type ResolvedPresetBlock, CORE_BLOCKS as SINGLE_INSTANCE_BLOCKS, appDefaultError, appIdentifierError, appNameLengthError, appReservedColumns, blockEntities, blockRequires, canAddInstance, conventionConfig, createQuery, createUrl, decodeDesign, defaultPreset, designConfig, designFileSource, designFormat, designOf, designSchema, diffAppTables, diffDesigns, encodeDesign, entityName, expandPreset, glueCommand, installedBlocks, instanceBlock, instanceNameProblem, instancePrefix, instancesOf, integrationsForFramework, isAppDefault, isDesignCode, isPresetName, listNames, namedPreset, parseDesign, presetAndDesignOf, presetApplyCommand, presetArgumentOf, presetBlockConflict, presetBlocksSource, presetConfig, presetConfigSource, presetField, presetFromSpec, presetGlue, presetInstallCommand, presetInstances, presetKey, presetOf, presetOfSpec, presetSpec, presetValueLabel, readDesignFile, removeComposite, resolvePreset, safeDesignFileSource, safeParseDesign, withEntityName, withInstance, withoutInstance };
|
package/dist/preset/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { C as PRESET_TENANT_NAMES, E as presetValueLabel, S as PRESET_FRAMEWORKS, T as presetField, _ as defaultPreset, a as presetOf, b as CONVENTION_FIELDS, c as presetSpec, d as removeComposite, f as resolvePreset, g as PRESET_NAMES, h as PRESET_GROUPS, i as presetConfig, l as listNames, m as PRESETS, o as presetFromSpec, p as DEFAULT_PRESET_NAME, r as expandPreset, s as presetOfSpec, t as conventionConfig, u as presetBlockConflict, v as isPresetName, w as integrationsForFramework, x as DEFAULT_CONVENTIONS, y as namedPreset } from "../config-
|
|
2
|
-
import { I as PRESET_CATALOG, O as APP_COLUMN_FORMATS, b as appDefaultError, c as APP_NAME_MAX, d as appIdentifierError, f as appNameLengthError, i as instancePrefix, n as INSTANCE_NAME, p as appReservedColumns, t as CORE_BLOCKS, x as isAppDefault } from "../instances-
|
|
3
|
-
import { A as isDesignCode, B as safeDesignFileSource, C as decodeDesign, D as designOf, E as designFormat, F as presetArgumentOf, G as presetGlue, H as PROVIDER_COMMENT, I as presetConfigSource, K as BLOCK_CATALOG, L as presetInstallCommand, M as parseDesign, N as presetAndDesignOf, O as designSchema, P as presetApplyCommand, R as presetKey, S as createUrl, T as designFileSource, U as glueCommand, V as safeParseDesign, W as presetBlocksSource, _ as DESIGN_FORMAT, a as installedBlocks, b as MAX_DESIGN_CODE_LENGTH, c as instancesOf, d as withInstance, f as withoutInstance, g as DESIGN_FILE, h as CREATE_URL, i as entityName, k as encodeDesign, l as presetInstances, m as diffDesigns, n as blockRequires, o as instanceBlock, p as diffAppTables, r as canAddInstance, s as instanceNameProblem, t as blockEntities, u as withEntityName, v as DesignParseError, w as designConfig, x as createQuery, y as DesignTooLongError, z as readDesignFile } from "../preset
|
|
1
|
+
import { C as PRESET_TENANT_NAMES, E as presetValueLabel, S as PRESET_FRAMEWORKS, T as presetField, _ as defaultPreset, a as presetOf, b as CONVENTION_FIELDS, c as presetSpec, d as removeComposite, f as resolvePreset, g as PRESET_NAMES, h as PRESET_GROUPS, i as presetConfig, l as listNames, m as PRESETS, o as presetFromSpec, p as DEFAULT_PRESET_NAME, r as expandPreset, s as presetOfSpec, t as conventionConfig, u as presetBlockConflict, v as isPresetName, w as integrationsForFramework, x as DEFAULT_CONVENTIONS, y as namedPreset } from "../config-Dgl6AxKE.js";
|
|
2
|
+
import { I as PRESET_CATALOG, O as APP_COLUMN_FORMATS, b as appDefaultError, c as APP_NAME_MAX, d as appIdentifierError, f as appNameLengthError, i as instancePrefix, n as INSTANCE_NAME, p as appReservedColumns, t as CORE_BLOCKS, x as isAppDefault } from "../instances-BMjIO6Xu.js";
|
|
3
|
+
import { A as isDesignCode, B as safeDesignFileSource, C as decodeDesign, D as designOf, E as designFormat, F as presetArgumentOf, G as presetGlue, H as PROVIDER_COMMENT, I as presetConfigSource, K as BLOCK_CATALOG, L as presetInstallCommand, M as parseDesign, N as presetAndDesignOf, O as designSchema, P as presetApplyCommand, R as presetKey, S as createUrl, T as designFileSource, U as glueCommand, V as safeParseDesign, W as presetBlocksSource, _ as DESIGN_FORMAT, a as installedBlocks, b as MAX_DESIGN_CODE_LENGTH, c as instancesOf, d as withInstance, f as withoutInstance, g as DESIGN_FILE, h as CREATE_URL, i as entityName, k as encodeDesign, l as presetInstances, m as diffDesigns, n as blockRequires, o as instanceBlock, p as diffAppTables, r as canAddInstance, s as instanceNameProblem, t as blockEntities, u as withEntityName, v as DesignParseError, w as designConfig, x as createQuery, y as DesignTooLongError, z as readDesignFile } from "../preset-Cl3Q5ASC.js";
|
|
4
4
|
export { APP_COLUMN_FORMATS, APP_NAME_MAX, BLOCK_CATALOG, CONVENTION_FIELDS, CREATE_URL, DEFAULT_CONVENTIONS, DEFAULT_PRESET_NAME, DESIGN_FILE, DESIGN_FORMAT, DesignParseError, DesignTooLongError, INSTANCE_NAME, MAX_DESIGN_CODE_LENGTH, PRESETS, PRESET_CATALOG, PRESET_FRAMEWORKS, PRESET_GROUPS, PRESET_NAMES, PRESET_TENANT_NAMES, PROVIDER_COMMENT, CORE_BLOCKS as SINGLE_INSTANCE_BLOCKS, appDefaultError, appIdentifierError, appNameLengthError, appReservedColumns, blockEntities, blockRequires, canAddInstance, conventionConfig, createQuery, createUrl, decodeDesign, defaultPreset, designConfig, designFileSource, designFormat, designOf, designSchema, diffAppTables, diffDesigns, encodeDesign, entityName, expandPreset, glueCommand, installedBlocks, instanceBlock, instanceNameProblem, instancePrefix, instancesOf, integrationsForFramework, isAppDefault, isDesignCode, isPresetName, listNames, namedPreset, parseDesign, presetAndDesignOf, presetApplyCommand, presetArgumentOf, presetBlockConflict, presetBlocksSource, presetConfig, presetConfigSource, presetField, presetFromSpec, presetGlue, presetInstallCommand, presetInstances, presetKey, presetOf, presetOfSpec, presetSpec, presetValueLabel, readDesignFile, removeComposite, resolvePreset, safeDesignFileSource, safeParseDesign, withEntityName, withInstance, withoutInstance };
|