better-supabase 0.60.0 → 0.61.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/api/naming.json +1994 -0
- package/dist/{account-parts-D-cLYi0Y.d.ts → account-parts-DtC5voD1.d.ts} +3 -3
- package/dist/{activities-BkfN6cef.d.ts → activities-BMQuBkrQ.d.ts} +8 -8
- package/dist/{adapter-base-BHtxRoRg.js → adapter-base-DGiRWzEo.js} +2 -2
- package/dist/{agents-FJk0CNex.d.ts → agents-3wTmHYZr.d.ts} +6 -6
- package/dist/{agents-B8kXBfH9.d.ts → agents-NaSREeo_.d.ts} +4 -4
- package/dist/{ai-cache-DfbYR_jG.d.ts → ai-cache-CKOJ9cLZ.d.ts} +4 -4
- package/dist/{ai-chat-DyffOt16.d.ts → ai-chat-C8FEgeTd.d.ts} +4 -4
- package/dist/{ai-guardrails-y6RVvDOH.d.ts → ai-guardrails-fzpJmgzI.d.ts} +3 -3
- package/dist/{ai-schedules-wlL3DKqu.d.ts → ai-schedules-CtxaSWA1.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/ai-sdk/workflow/index.js +1 -1
- package/dist/{api-Clu-XitC.js → api-Q23GAwx1.js} +1 -1
- package/dist/{api-keys-BlfwKpXq.d.ts → api-keys-Bfk9mJgz.d.ts} +4 -4
- package/dist/{api-CSx2F4zg.d.ts → api-pGkHTqH6.d.ts} +5 -5
- package/dist/{app-tables-C_bRG0ek.d.ts → app-tables-BHoeMC9w.d.ts} +1 -1
- package/dist/{approvals-Dn_DM4Oi.d.ts → approvals-B1mzlyzk.d.ts} +6 -6
- package/dist/{assistant-53zK5w6Q.d.ts → assistant-BQAjAXDe.d.ts} +2 -2
- package/dist/astro/index.d.ts +6 -6
- package/dist/astro/index.js +4 -4
- package/dist/{auth-module-D_RA-X_y.js → auth-module-B19zCsb4.js} +1 -1
- package/dist/{authorization-Cn_oEGoA.d.ts → authorization-glyinWcf.d.ts} +9 -3
- package/dist/{authorization-hooks-DtuVzDBf.d.ts → authorization-hooks-Oe0WJTn2.d.ts} +2 -2
- package/dist/{authz-refresh-CNV_LFEh.js → authz-refresh-27sp45FG.js} +1 -1
- package/dist/{banking-reads-4m0_lltt.js → banking-reads-Baaatsuj.js} +1 -1
- package/dist/{base64-CEBz6-Jj.js → base64-DgNIlSAS.js} +1 -1
- package/dist/better-result/index.d.ts +3 -3
- package/dist/{bind-Dopmkg_T.d.ts → bind-B-NW7-Fd.d.ts} +8 -8
- package/dist/{block-controller-CHtFwmpj.d.ts → block-controller-Dy-Jyy8A.d.ts} +2 -2
- package/dist/{block-env-4tgXDIAX.d.ts → block-env-BN4cyqTj.d.ts} +4 -4
- package/dist/{block-event-listener-B1JTV_Ca.d.ts → block-event-listener-CQrt2JR-.d.ts} +1 -1
- package/dist/{block-events-records-x6GNmg6M.d.ts → block-events-records-CUCsDp0S.d.ts} +2 -2
- package/dist/{block-helpers-D0QSs8ss.d.ts → block-helpers-DDotKGAf.d.ts} +1 -1
- package/dist/{block-hooks-StmUvtuT.d.ts → block-hooks-b7-RUIxS.d.ts} +2 -2
- package/dist/{block-subjects-DzCWFD-t.d.ts → block-subjects-CG1x9djp.d.ts} +1 -1
- package/dist/{block-tables-KnVB7FH0.d.ts → block-tables-CkbJsNys.d.ts} +1 -1
- package/dist/{block-transport-BNMvuuyC.d.ts → block-transport-Bqne7_GN.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/activities/index.js +1 -1
- package/dist/blocks/advisories/index.d.ts +5 -5
- package/dist/blocks/agent-checkout/index.d.ts +7 -7
- package/dist/blocks/agent-checkout/index.js +2 -2
- 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 +10 -10
- package/dist/blocks/audit/index.d.ts +4 -4
- package/dist/blocks/audit/index.js +1 -1
- 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/billing/index.js +1 -1
- package/dist/blocks/bookings/index.d.ts +3 -3
- package/dist/blocks/bulk-actions/index.d.ts +5 -5
- package/dist/blocks/calendar/index.d.ts +3 -3
- package/dist/blocks/care/index.d.ts +30 -30
- package/dist/blocks/care/index.js +7 -7
- 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/collaboration/index.d.ts +8 -8
- package/dist/blocks/collections/index.d.ts +15 -12
- package/dist/blocks/collections/index.js +1 -1
- package/dist/blocks/comments/index.d.ts +4 -4
- package/dist/blocks/commerce/index.d.ts +7 -7
- package/dist/blocks/commerce/index.js +1 -1
- 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/contacts/index.js +1 -1
- 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 +4 -4
- package/dist/blocks/courses/index.js +2 -2
- 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 +4 -4
- package/dist/blocks/custom-fields/index.d.ts +2 -2
- package/dist/blocks/dam/index.d.ts +6 -6
- package/dist/blocks/data-lifecycle/index.d.ts +3 -3
- package/dist/blocks/deadlines/index.d.ts +5 -5
- 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 +6 -6
- package/dist/blocks/documents/index.d.ts +4 -4
- package/dist/blocks/documents/index.js +1 -1
- 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 +1 -1
- 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/events/index.js +1 -1
- 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 +1 -1
- package/dist/blocks/finance/index.d.ts +6 -6
- package/dist/blocks/finance/index.js +2 -2
- 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/funding/index.js +1 -1
- 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/hiring/index.js +1 -1
- 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/incidents/index.d.ts +5 -5
- package/dist/blocks/index.d.ts +12 -12
- package/dist/blocks/inspections/index.d.ts +6 -6
- package/dist/blocks/inventory/index.d.ts +3 -3
- package/dist/blocks/invoices/index.d.ts +6 -6
- 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 +7 -7
- package/dist/blocks/medications/index.d.ts +4 -4
- package/dist/blocks/medications/index.js +1 -1
- 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/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/notifications/index.js +2 -2
- package/dist/blocks/numbering/index.d.ts +1 -1
- package/dist/blocks/oauth-server/index.d.ts +5 -5
- package/dist/blocks/oauth-server/index.js +1 -1
- 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 +6 -6
- 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/outbox/index.js +1 -1
- package/dist/blocks/passes/index.d.ts +4 -4
- package/dist/blocks/passes/index.js +1 -1
- 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 +4 -4
- package/dist/blocks/posts/index.d.ts +6 -6
- package/dist/blocks/procurement/index.d.ts +6 -6
- package/dist/blocks/procurement/index.js +1 -1
- package/dist/blocks/profiles/index.d.ts +3 -3
- package/dist/blocks/projects/index.d.ts +8 -8
- 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/queue/index.js +2 -2
- package/dist/blocks/quotes/index.d.ts +5 -5
- package/dist/blocks/rank/index.d.ts +7 -7
- package/dist/blocks/rank/index.js +1 -1
- package/dist/blocks/reactions/index.d.ts +6 -6
- package/dist/blocks/recruiting/index.d.ts +5 -5
- package/dist/blocks/recruiting/index.js +1 -1
- 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/reminders/index.js +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 +2 -2
- 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/scheduling/index.js +1 -1
- package/dist/blocks/scores/index.d.ts +6 -6
- package/dist/blocks/search/index.d.ts +5 -5
- package/dist/blocks/search/index.js +1 -1
- package/dist/blocks/security-events/index.d.ts +7 -7
- package/dist/blocks/security-events/index.js +1 -1
- 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-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 +6 -6
- package/dist/blocks/shipments/index.js +1 -1
- package/dist/blocks/signatures/index.d.ts +3 -3
- package/dist/blocks/signing-keys/index.d.ts +3 -3
- package/dist/blocks/signing-keys/index.js +2 -2
- 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/state-machine/index.js +1 -1
- package/dist/blocks/subjects/index.d.ts +7 -7
- package/dist/blocks/subjects/index.js +1 -1
- package/dist/blocks/support/index.d.ts +6 -6
- package/dist/blocks/tags/index.d.ts +3 -3
- package/dist/blocks/tasks/index.d.ts +4 -4
- 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 +8 -8
- package/dist/blocks/tills/index.d.ts +5 -5
- package/dist/blocks/time-entries/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/vercel-marketplace/index.js +3 -3
- package/dist/blocks/versions/index.d.ts +2 -2
- package/dist/blocks/waitlist/index.d.ts +5 -5
- package/dist/blocks/waitlist/index.js +1 -1
- package/dist/blocks/warehouse/index.d.ts +5 -5
- package/dist/blocks/warranty/index.d.ts +5 -5
- package/dist/blocks/webhooks/index.d.ts +15 -15
- package/dist/blocks/webhooks/index.js +6 -6
- package/dist/blocks/workflow-editor/index.d.ts +9 -9
- package/dist/blocks/workflows/index.d.ts +7 -7
- package/dist/{blocks-sDhFO8-h.d.ts → blocks-D4ngpPJ_.d.ts} +13 -3
- package/dist/{bookings-sBb-GMK8.d.ts → bookings-6dC83XE6.d.ts} +3 -3
- package/dist/{bootstrap-permissions-BOkRVEEh.js → bootstrap-permissions-CulW-R_u.js} +2 -2
- package/dist/{bucket-CbRyXRp3.d.ts → bucket-BJ03ZblY.d.ts} +1 -1
- package/dist/{build-QM0GdQ2B.js → build-CRxrX567.js} +1 -1
- package/dist/{cache-tags-FrJaMalu.d.ts → cache-tags-UWvxDMDO.d.ts} +1 -1
- package/dist/{care-plans-BR3TkinL.d.ts → care-plans-q3m4ph4G.d.ts} +2 -2
- package/dist/{care-plans-sql-DyB5TB6y.js → care-plans-sql-B__5eEaI.js} +1 -1
- package/dist/chat-sdk/index.d.ts +6 -6
- package/dist/claims/index.d.ts +7 -7
- package/dist/{claims-source-CeefCyGV.d.ts → claims-source-D-4CztOl.d.ts} +2 -2
- package/dist/cli/{add-djLR310z.js → add-CN5jkEFM.js} +2 -2
- package/dist/cli/add-fra98UnY.js +1 -0
- package/dist/cli/{add-OllEkXon.js → add-ucxskHiv.js} +11 -11
- package/dist/cli/{app-table-files-DnoDAkVJ.js → app-table-files-FcgTfOf9.js} +4 -4
- package/dist/cli/{app-tables-C4shCkBv.js → app-tables-DCpSNfJ3.js} +2 -2
- package/dist/cli/{backfill-_spwSvnn.js → backfill-DVP_elK_.js} +3 -3
- package/dist/cli/bin.js +1 -1
- package/dist/cli/{blocks-DFkzCFQi.js → blocks-CFKjKW4s.js} +1 -1
- package/dist/cli/{blocks-Cvs0nhC2.js → blocks-iSEepN2Y.js} +1 -1
- package/dist/cli/{cache-B0JnXfiY.js → cache-CNa3fjK-.js} +1 -1
- package/dist/cli/{codemod-D2Lnca97.js → codemod-DH-VSZps.js} +5 -5
- package/dist/cli/{codemod-naming-CHIeOTt5.js → codemod-naming-CuQ0ltfE.js} +1 -1
- package/dist/cli/{codes-DNq30BZg.js → codes-D_oa7Aw5.js} +3 -3
- package/dist/cli/{column-renames-4OHEvCAj.js → column-renames-CtcG8MR5.js} +2 -2
- package/dist/cli/{config-DkjilxeE.js → config-CoW6aoul.js} +1 -1
- package/dist/cli/{config-DD_MnPRL.js → config-DX58lDf7.js} +7 -1
- package/dist/cli/{content-mapper-DAYxPQ18.js → content-mapper-TATvvrmb.js} +1 -1
- package/dist/cli/{db-CEUnv3hK.js → db-CZ9qHsDs.js} +2 -2
- package/dist/cli/{dev-Xw7pt3KG.js → dev-BDv1efAy.js} +5 -5
- package/dist/cli/{doctor-diSKQp-6.js → doctor-CkO1yd7F.js} +20 -20
- package/dist/cli/{emit-CICey-Za.js → emit-OhupwGNp.js} +3 -3
- package/dist/cli/{gen-BVuNFeLB.js → gen-1lVJoeH1.js} +5 -5
- package/dist/cli/{gen-tasks-C2vwKKTc.js → gen-tasks-BgxoXxuF.js} +11 -11
- package/dist/cli/index.d.ts +1 -1
- package/dist/cli/index.js +8 -8
- package/dist/cli/{init-9BSoBkny.js → init-Defy7VJ0.js} +9 -9
- package/dist/cli/{live-Ce8vdcCn.js → live-DmvnAvGV.js} +2 -2
- package/dist/cli/{mcp-UW-gEnP_.js → mcp-BGKeD-lo.js} +2 -2
- package/dist/cli/{memo-backend-BMdfsihK.js → memo-backend-3u-X51UO.js} +1 -1
- package/dist/cli/{metadata-DqrbS0sS.js → metadata-D0UazHyQ.js} +4 -4
- package/dist/cli/{migrate-Cn8L_0co.js → migrate-PshyB8a6.js} +1 -1
- package/dist/cli/{migration-safety-C1Ysrthi.js → migration-safety-DYgRA8-5.js} +2 -2
- package/dist/cli/{module-migration-DXI95fqs.js → module-migration-CRsIlrig.js} +1 -1
- package/dist/cli/{partition-CJCrIueu.js → partition-ht8zldUV.js} +3 -3
- package/dist/cli/powersync-BztAuUyy.js +1 -0
- package/dist/cli/{powersync-CB-7AksZ.js → powersync-r6iL7zEo.js} +4 -4
- package/dist/cli/{print-AVVgXsLG.js → print-Ca78W5ZF.js} +2 -2
- package/dist/cli/{providers-B3FLmlud.js → providers-DhMSptuy.js} +1 -1
- package/dist/cli/{prune-workflows-CrLDmFf1.js → prune-workflows-DyZx-veL.js} +3 -3
- package/dist/cli/{remove-00SZWfyi.js → remove-37g_SvZW.js} +6 -6
- package/dist/cli/{render-3J7sk_CL.js → render-Bfh2EtMO.js} +5 -5
- package/dist/cli/{render-cache-P4gQeivH.js → render-cache-BYkVt264.js} +1 -1
- package/dist/cli/{run-D_z9ULO7.js → run-CfWFddfH.js} +8 -8
- package/dist/cli/{run-CByEIEng.js → run-DEPt1rAn.js} +37 -36
- package/dist/cli/seed-B6_MBFd2.js +1 -0
- package/dist/cli/{seed-CvDA1ItH.js → seed-pDWlnzyK.js} +2 -2
- package/dist/cli/{shared-d021xfdn.js → shared-BrAtQXmC.js} +1 -1
- package/dist/cli/{source-DdqeWoO4.js → source-Bt6UAek-.js} +1 -1
- package/dist/cli/{source-args-yU6N6JLm.js → source-args-D5BSEgUG.js} +1 -1
- package/dist/cli/{spec-Diudl7hC.js → spec-BJreyth3.js} +1 -1
- package/dist/cli/{spec-ClfqDbVv.js → spec-DsNayDt2.js} +2 -2
- package/dist/cli/{sql-layout-Bl3iOXMS.js → sql-layout-Bt7NcWXk.js} +3 -3
- package/dist/cli/{squash-C07y7CsQ.js → squash-DmbB7Gx9.js} +1 -1
- package/dist/cli/{sync-Cw0ke-3h.js → sync-DFAkNjw_.js} +60 -8
- package/dist/cli/{upgrade-oc6s5Xoe.js → upgrade-D8GOjXrv.js} +5 -5
- package/dist/cli/{upgrade-niwEovfl.js → upgrade-DP-30QID.js} +9 -7
- package/dist/cli/{verify-CrFHs8Lr.js → verify-O5zxWWuE.js} +2 -2
- package/dist/cli/{version-Bd3kCDzL.js → version-CHVFvh95.js} +1 -1
- package/dist/client/index.d.ts +6 -6
- package/dist/client/index.js +1 -1
- package/dist/client/native/index.d.ts +7 -7
- package/dist/client/native/index.js +4 -4
- package/dist/{client-D1grRDjj.js → client-CPG7YGP2.js} +1 -1
- package/dist/{client-bucket-BLVysX-A.js → client-bucket-DvoYllSB.js} +1 -1
- package/dist/{clinical-decision-support-BHRUL6qj.d.ts → clinical-decision-support-D6FWGbEw.d.ts} +3 -3
- package/dist/{cloud-event-BtWOKfsx.d.ts → cloud-event-B0AsPtwP.d.ts} +1 -1
- package/dist/{codec-BI1mq95W.js → codec-CJaAdLjG.js} +1 -1
- package/dist/commerce/index.js +1 -1
- package/dist/{compiler-BwJR_BHq.d.ts → compiler-u6lO9V7r.d.ts} +2 -2
- package/dist/{composite-Tsm5QFS2.js → composite-Bxpd7oru.js} +2 -2
- package/dist/{composite-BVEOyec_.d.ts → composite-CxojRRUF.d.ts} +7 -7
- package/dist/{composite-reads-DvN7EgDO.d.ts → composite-reads-CK-Y5b6M.d.ts} +2 -2
- package/dist/config/index.d.ts +5 -5
- package/dist/{connectors-VX1FIU-t.d.ts → connectors-BCIhimzA.d.ts} +4 -4
- package/dist/{consents-OI2OWAfb.d.ts → consents-BuIwU6T3.d.ts} +3 -3
- package/dist/{contacts-D9_KMOgs.d.ts → contacts-4xMnNBVk.d.ts} +5 -5
- package/dist/{context-C_Rx1QaW.d.ts → context-m-t6Kr9_.d.ts} +24 -10
- package/dist/contract/index.d.ts +9 -9
- package/dist/{contributions-Bh-HcHoJ.js → contributions-Ba-C1ueE.js} +6 -6
- package/dist/{controller-D9N4NKbM.d.ts → controller-zwQFyrOG.d.ts} +1 -1
- package/dist/{conversion-CruLbcu8.d.ts → conversion-b6htac73.d.ts} +1 -1
- package/dist/create/index.d.ts +4 -4
- package/dist/create/index.js +2 -2
- package/dist/create/lite/index.d.ts +4 -4
- package/dist/create/lite/index.js +5 -3
- package/dist/credentials/index.d.ts +4 -4
- package/dist/credentials/index.js +1 -1
- package/dist/{cron-route-Cg1V2MUq.js → cron-route-spE8XDgv.js} +1 -1
- package/dist/{data-engine-CQiEEoNx.d.ts → data-engine-nmeUijzR.d.ts} +1 -1
- package/dist/{db-blocks-DB8Ct8Eu.d.ts → db-blocks-_jJICfjp.d.ts} +5 -5
- package/dist/{define-BDrm9Vl7.d.ts → define-BVBAeKTi.d.ts} +1 -1
- package/dist/{define-block-Cd7dm2o6.d.ts → define-block-DQvTGOGv.d.ts} +14 -14
- package/dist/{define-runtime-Ca5NN0gu.js → define-runtime-DsFTahQB.js} +1 -1
- package/dist/{define-runtime-full-DeuaXsV7.js → define-runtime-full-B_cMkyCk.js} +2 -2
- package/dist/{delete-account-DwGFiIYv.d.ts → delete-account-BQDeafVT.d.ts} +4 -4
- package/dist/{documents-BHddH30g.d.ts → documents-B8Q_BKha.d.ts} +3 -3
- package/dist/{drive-C6thwExa.d.ts → drive-DaEK5ZxU.d.ts} +5 -5
- package/dist/e-invoicing/index.d.ts +2 -2
- package/dist/{e-prescribing-DkV1wF9y.d.ts → e-prescribing-CP0lcOje.d.ts} +4 -4
- package/dist/edge/index.d.ts +9 -9
- package/dist/edge/index.js +5 -5
- package/dist/elysia/index.d.ts +1 -1
- package/dist/{embeddings-4zY3hhO8.d.ts → embeddings-BriQ4hQ1.d.ts} +2 -2
- package/dist/{ended-B1oCwF0v.d.ts → ended-CzWPQkkG.d.ts} +2 -2
- package/dist/{entitlements-CR5HRd3S.d.ts → entitlements-D4ob6MfK.d.ts} +3 -3
- package/dist/eve/index.d.ts +9 -9
- package/dist/eve/index.js +1 -1
- package/dist/{eve-BZhRFAWs.d.ts → eve-D-hvUFYE.d.ts} +2 -2
- package/dist/events/index.d.ts +5 -5
- package/dist/{events-Bk63_mjA.d.ts → events-zz8DwtZi.d.ts} +2 -2
- package/dist/{executor-BypvvW56.d.ts → executor-7zo2arIZ.d.ts} +1 -1
- package/dist/{executor-BaFzh9pS.d.ts → executor-BLv4T8kT.d.ts} +1 -1
- package/dist/{executor-Bot0tkvU.js → executor-D24_D6dr.js} +1 -1
- package/dist/{executor-CTuilcgE.d.ts → executor-nx2Q8Xdy.d.ts} +4 -4
- package/dist/expo/index.d.ts +6 -6
- package/dist/expo/index.js +5 -5
- package/dist/{extract-B2My7IhT.d.ts → extract-W4zb3wIh.d.ts} +5 -5
- package/dist/{extras-CKwPSpGL.d.ts → extras-ByEPERCR.d.ts} +2 -2
- package/dist/fhir/index.d.ts +5 -5
- package/dist/fhir/index.js +1 -1
- package/dist/{field-errors-CihTLojJ.d.ts → field-errors-pj0uOXSg.d.ts} +9 -9
- package/dist/{fields-OBEVi7hN.d.ts → fields-BATxzuhy.d.ts} +1 -1
- package/dist/{filter-evaluate-CVwpzMX-.d.ts → filter-evaluate-C2JXrZst.d.ts} +1 -1
- package/dist/{filter-query-CI5u0oca.d.ts → filter-query-DwJ1iMQ0.d.ts} +1 -1
- package/dist/{flags-Du06K0gA.d.ts → flags-CkMvfo73.d.ts} +2 -2
- package/dist/flags-sdk/index.d.ts +2 -2
- package/dist/{framework-giXStk8k.d.ts → framework-BYx1ke3r.d.ts} +8 -8
- package/dist/{framework-BYZ8c9_g.js → framework-pfJvMQy3.js} +1 -1
- package/dist/{funding-DpFfyIiK.d.ts → funding-B4vqlKq2.d.ts} +7 -7
- package/dist/{gateway-ChuQD_IL.d.ts → gateway-eFh5pEIu.d.ts} +3 -3
- package/dist/generators/factories/index.d.ts +1 -1
- package/dist/generators/factories/index.js +1 -1
- package/dist/generators/index.d.ts +2 -2
- package/dist/generators/json-schema/index.d.ts +2 -2
- package/dist/generators/json-schema/index.js +1 -1
- package/dist/generators/nuqs/index.d.ts +1 -1
- package/dist/generators/nuqs/index.js +1 -1
- package/dist/generators/standard-schema/index.d.ts +1 -1
- package/dist/generators/standard-schema/index.js +1 -1
- package/dist/generators/valibot/index.d.ts +1 -1
- package/dist/generators/valibot/index.js +1 -1
- package/dist/generators/zod/index.d.ts +1 -1
- package/dist/generators/zod/index.js +1 -1
- 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 +4 -4
- package/dist/{inbox-CDGfVOyZ.d.ts → inbox-Cr4WDuhI.d.ts} +5 -5
- package/dist/{index-DmoaxGHV.d.ts → index-1FGquKaz.d.ts} +3 -3
- package/dist/{index-CiCmlbtu.d.ts → index-46tesKqa.d.ts} +6 -6
- package/dist/{index-BAku12tP.d.ts → index-BHkxtS6f.d.ts} +1 -1
- package/dist/{index-cgHbN_EA.d.ts → index-BLPzvJ5v.d.ts} +9 -9
- package/dist/{index-Bs6OCtxW.d.ts → index-BVuN7_fC.d.ts} +8 -8
- package/dist/{index-BqUY2MB-.d.ts → index-BYDpdZxq.d.ts} +5 -5
- package/dist/{index-BrnGYShi.d.ts → index-BZCCv04g.d.ts} +4 -4
- package/dist/{index-DflyfGR8.d.ts → index-Bb_il0ub.d.ts} +5 -5
- package/dist/{index-BvRseRob.d.ts → index-BfnBjZpy.d.ts} +5 -5
- package/dist/{index-Bv2kSYet.d.ts → index-BomyYKtC.d.ts} +6 -6
- package/dist/{index-DsLMqyB5.d.ts → index-BpQxfGSO.d.ts} +6 -6
- package/dist/{index-UQOB8v1I.d.ts → index-Bu4YwWl0.d.ts} +3 -3
- package/dist/{index-BvZ3uvj9.d.ts → index-ByCXNZ2j.d.ts} +2 -2
- package/dist/{index-C59gKJBx.d.ts → index-C37Wq488.d.ts} +6 -6
- package/dist/{index-D50ulqMJ.d.ts → index-CDX9U_CH.d.ts} +4 -4
- package/dist/{index-Cnc4wyTo.d.ts → index-CQGi7Jnn.d.ts} +9 -9
- package/dist/{index-DpXMVE12.d.ts → index-CWTWbIz_.d.ts} +3 -3
- package/dist/{index-C1na2fiY.d.ts → index-CjoB5SrD.d.ts} +5 -5
- package/dist/{index-Cpj79WyM.d.ts → index-ClqA-t45.d.ts} +5 -5
- package/dist/{index-DMHxmit5.d.ts → index-CriIH7di.d.ts} +5 -5
- package/dist/{index-74TASXlD.d.ts → index-Crm9IjfQ.d.ts} +7 -7
- package/dist/{index-B0dSXth6.d.ts → index-CxX_Bgfa.d.ts} +6 -6
- package/dist/{index-BOuJSOaf.d.ts → index-CxZV8RJE.d.ts} +6 -6
- package/dist/{index-d2TijvXV.d.ts → index-D2R8Msu5.d.ts} +1 -1
- package/dist/{index-BszN5nLs.d.ts → index-DCqy0ESb.d.ts} +2 -2
- package/dist/{index-D6px-XTD.d.ts → index-DW_S9n3h.d.ts} +7 -7
- package/dist/{index-CdoTvK2W.d.ts → index-DYh76mE_.d.ts} +2 -2
- package/dist/{index-pry9PXpK.d.ts → index-D_0l5hHh.d.ts} +4 -4
- package/dist/{index-Hzbfht3Z.d.ts → index-DeI4h1N1.d.ts} +7 -7
- package/dist/{index-Sl13L6VB.d.ts → index-Dea13gIz.d.ts} +6 -6
- package/dist/{index-CMyUugyW.d.ts → index-DlUd0CTA.d.ts} +9 -9
- package/dist/{index-DibtbiIW.d.ts → index-DpoUltRu.d.ts} +2 -2
- package/dist/{index-DzUnwtxa.d.ts → index-DsNwQRWG.d.ts} +3 -3
- package/dist/{index-_No9Jb9O.d.ts → index-DyV6z0Q_.d.ts} +8 -8
- package/dist/{index-69aFw9Id.d.ts → index-Dyhkn8FU.d.ts} +5 -5
- package/dist/{index-28PPT5w7.d.ts → index-IrsC8TLH.d.ts} +8 -8
- package/dist/{index-wc3-R_cK.d.ts → index-SWDnWdWw.d.ts} +3 -3
- package/dist/{index-BnY5lZtT.d.ts → index-SZ8qGIVO.d.ts} +15 -15
- package/dist/{index-CGAcXNod.d.ts → index-WoE9Z_V-.d.ts} +5 -5
- package/dist/{index-CiLb3DTI.d.ts → index-r_SO6mVm.d.ts} +5 -5
- package/dist/index.d.ts +7 -7
- package/dist/index.js +1 -1
- package/dist/{invoices-BXwG7Jwp.d.ts → invoices-L6khZ9kt.d.ts} +5 -5
- package/dist/{json-schema-BveJfXoz.js → json-schema-CU9Mg-_d.js} +1 -1
- package/dist/{jwks-cache-C5Bkk8wb.js → jwks-cache-DcfC4DmK.js} +1 -1
- package/dist/{jws-D5t4Ylus.js → jws-DChBKezH.js} +1 -1
- package/dist/{kit-DN6lGKB6.d.ts → kit-BwlTgitb.d.ts} +4 -4
- package/dist/{knowledge-pN-5j-oj.d.ts → knowledge-C7RZqwQu.d.ts} +9 -6
- package/dist/lint/index.d.ts +1 -1
- package/dist/list/export/index.d.ts +1 -1
- package/dist/list/index.d.ts +3 -3
- package/dist/list/order/index.d.ts +3 -3
- package/dist/{list-query-CBjzZmjx.d.ts → list-query-B6lXbY0T.d.ts} +4 -4
- package/dist/{manifest-CgljOcHt.d.ts → manifest-2sJavyD8.d.ts} +6 -6
- package/dist/{manifest-BTR978h8.js → manifest-3XKIMZkJ.js} +1 -1
- package/dist/{manifest-CGnN_2Yx.d.ts → manifest-4S1YGIS3.d.ts} +6 -6
- package/dist/{manifest-CtUKrkx1.d.ts → manifest-5i2UwyQr.d.ts} +4 -4
- package/dist/{manifest-DMhuQgOx.d.ts → manifest-B0pan6cS.d.ts} +5 -5
- package/dist/{manifest-VbHg6E4F.js → manifest-BBcaI1P8.js} +1 -1
- package/dist/{manifest-Dqf2Uw17.d.ts → manifest-BEQWkGmf.d.ts} +5 -5
- package/dist/{manifest-2JeNUq8t.d.ts → manifest-BKiaRgiZ.d.ts} +3 -3
- package/dist/{manifest-CBdMkxZD.d.ts → manifest-BMilYLsh.d.ts} +3 -3
- package/dist/{manifest-dt25CCQA.js → manifest-BNmYcT7b.js} +1 -1
- package/dist/{manifest-BVn2Xglt.d.ts → manifest-BRvnB8C0.d.ts} +5 -5
- package/dist/{manifest-Ci7NEusH.d.ts → manifest-BZPruG-S.d.ts} +4 -4
- package/dist/{manifest-CLG2lmYA.js → manifest-B_qm9fCI.js} +1 -1
- package/dist/{manifest-BWKFNoxP.d.ts → manifest-BaIG9QRj.d.ts} +4 -4
- package/dist/{manifest-Bo0SCigB.d.ts → manifest-Bf6Rzatq.d.ts} +4 -4
- package/dist/{manifest-gl856Z9G.d.ts → manifest-Bfu-Cu0f.d.ts} +7 -7
- package/dist/{manifest-DY2KtVcD.d.ts → manifest-Bj8bumDU.d.ts} +6 -6
- package/dist/{manifest-WK23vBlH.js → manifest-Bkm_17rp.js} +2 -2
- package/dist/{manifest-WpIMAJCT.d.ts → manifest-BpgNJhYN.d.ts} +2 -2
- package/dist/{manifest-CjzIpyBP.d.ts → manifest-BxvFH1G_.d.ts} +3 -3
- package/dist/{manifest-D43yma-v.d.ts → manifest-BzXqieUD.d.ts} +7 -7
- package/dist/{manifest-D1FPczc-.d.ts → manifest-C2hpeEBF.d.ts} +3 -3
- package/dist/{manifest-BLFyjEv_.js → manifest-C6bwnO77.js} +1 -1
- package/dist/{manifest-3or1oZTo.d.ts → manifest-C95ET4CL.d.ts} +4 -4
- package/dist/{manifest-d7vR6coE.d.ts → manifest-CA5EhKZ9.d.ts} +3 -3
- package/dist/{manifest-mAxLRfeu.d.ts → manifest-CF3BUmbe.d.ts} +5 -5
- package/dist/{manifest-BTgU8Kcf.js → manifest-CG38X6q2.js} +1 -1
- package/dist/{manifest-CXNXmH86.js → manifest-CK1J6NE1.js} +1 -1
- package/dist/{manifest-B1lOqNaq.js → manifest-CLw7q0PB.js} +1 -1
- package/dist/{manifest-AS4QwWdu.d.ts → manifest-CMn61uKN.d.ts} +5 -5
- package/dist/{manifest-Bi44m1V3.d.ts → manifest-CS8I2fku.d.ts} +3 -3
- package/dist/{manifest-D08Cdndm.js → manifest-CSYLcs5d.js} +2 -2
- package/dist/{manifest-iGmnzfGD.d.ts → manifest-CWFhOuFW.d.ts} +4 -4
- package/dist/{manifest-DUZUtWBi.d.ts → manifest-CXdJUJjX.d.ts} +8 -8
- package/dist/{manifest-3e0zfaQt.d.ts → manifest-CYO44YUb.d.ts} +5 -5
- package/dist/{manifest-B9m_UaiY.d.ts → manifest-Ccc0ZZup.d.ts} +6 -6
- package/dist/{manifest-CpmJIEt7.d.ts → manifest-CiF1Sb29.d.ts} +6 -6
- package/dist/{manifest-C82tY_RD.d.ts → manifest-Cl2U3bic.d.ts} +3 -3
- package/dist/{manifest-at0NS8cT.d.ts → manifest-CnVa_nHw.d.ts} +3 -3
- package/dist/{manifest-DBT7GiWE.js → manifest-CoR7UHm9.js} +1 -1
- package/dist/{manifest-Dxff277Z.js → manifest-CsJhHOcl.js} +2 -2
- package/dist/{manifest-Bluupj7R.d.ts → manifest-CtL5JmoY.d.ts} +4 -4
- package/dist/{manifest-DHN6WiIJ.d.ts → manifest-CumC7hH5.d.ts} +4 -4
- package/dist/{manifest-C20SXAzp.d.ts → manifest-Cv7Mji7w.d.ts} +5 -5
- package/dist/{manifest-iMnrzuzj.js → manifest-CwvLYm4x.js} +2 -2
- package/dist/{manifest-CUtvLTr3.js → manifest-CzDKrwRf.js} +2 -2
- package/dist/{manifest-DaB1w2xo.d.ts → manifest-D48Fi0bR.d.ts} +3 -3
- package/dist/{manifest-WJ-UHuEx.d.ts → manifest-DOtSiMt5.d.ts} +4 -4
- package/dist/{manifest-Utivc7Qa.d.ts → manifest-DUPKC2rO.d.ts} +5 -5
- package/dist/{manifest-CD5D0OWo.d.ts → manifest-DZyxhWcb.d.ts} +3 -3
- package/dist/{manifest-CH1MFzXN.d.ts → manifest-DfC1XBrV.d.ts} +4 -4
- package/dist/{manifest-CiXl1kUg.d.ts → manifest-DftU8SXo.d.ts} +5 -5
- package/dist/{manifest-C40ISJVj.d.ts → manifest-Dg2BCyzg.d.ts} +4 -4
- package/dist/{manifest-DJhjOnvk.d.ts → manifest-DiXINLQQ.d.ts} +5 -5
- package/dist/{manifest-j4_V-qhA.d.ts → manifest-Dim5U8TQ.d.ts} +3 -3
- package/dist/{manifest-CQrTRkRh.js → manifest-DkpKjNGT.js} +1 -1
- package/dist/{manifest-qOwMTJHI.js → manifest-DlNcTvH_.js} +1 -1
- package/dist/{manifest-C1--UMCz.d.ts → manifest-DoZXpoG_.d.ts} +6 -6
- package/dist/{manifest-mBKFNynL.d.ts → manifest-Dp9ZtoFo.d.ts} +7 -7
- package/dist/{manifest-BSjzLeb-.d.ts → manifest-DpFy7git.d.ts} +8 -8
- package/dist/{manifest-B7xyFqWo.d.ts → manifest-DsINyvTh.d.ts} +6 -6
- package/dist/{manifest-C7KPtGTu.d.ts → manifest-DucB6ix_.d.ts} +4 -4
- package/dist/{manifest-B9qFGJ_A.d.ts → manifest-DwBFwxFo.d.ts} +6 -6
- package/dist/{manifest-Cj6lOdW6.js → manifest-DwZwlGaz.js} +1 -1
- package/dist/{manifest-DpXgCZEd.d.ts → manifest-FVkgBS-K.d.ts} +4 -4
- package/dist/{manifest-ClDcyCPP.d.ts → manifest-N5wuAzq4.d.ts} +8 -8
- package/dist/{manifest-B1lYVfIp.d.ts → manifest-NkuGL5p2.d.ts} +4 -4
- package/dist/{manifest-Co0CBReD.d.ts → manifest-NuYSYeQT.d.ts} +5 -5
- package/dist/{manifest-CJRob2Ms.d.ts → manifest-TG95ksdH.d.ts} +11 -11
- package/dist/{manifest-DAF4J0gk.d.ts → manifest-YtnGn7F9.d.ts} +2 -2
- package/dist/{manifest-CCPioFQl.d.ts → manifest-_zu02ImE.d.ts} +5 -5
- package/dist/{manifest-ByRLUGaJ.d.ts → manifest-cJ3rQXtl.d.ts} +11 -11
- package/dist/{manifest-DQkz9UVy.d.ts → manifest-dOFbx7Iv.d.ts} +2 -2
- package/dist/{manifest-wPIH-Oo7.d.ts → manifest-eaGk_4rq.d.ts} +6 -6
- package/dist/{manifest-B94f27dU.js → manifest-icEpY96-.js} +1 -1
- package/dist/{manifest-DIl_cNua.d.ts → manifest-tP62uJrR.d.ts} +4 -4
- package/dist/{manifest-DGoI006V.d.ts → manifest-ubm80xCr.d.ts} +6 -6
- package/dist/{manifest-BXWhDMFt.d.ts → manifest-wXk0ZLhO.d.ts} +4 -4
- package/dist/{manifest-C94eugvl.d.ts → manifest-x_fSttX7.d.ts} +4 -4
- package/dist/{manifest-Cqv6c1KN.d.ts → manifest-xlpYSpLJ.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 +2 -2
- package/dist/{mcp-mSD-ic9W.js → mcp-CULIbS-b.js} +5 -5
- package/dist/{medications-Cxvrfid3.d.ts → medications-3mcGOelG.d.ts} +5 -5
- package/dist/{messaging-C-PJ2LBY.d.ts → messaging-DasXvQj7.d.ts} +4 -4
- package/dist/nestjs/index.d.ts +2 -2
- package/dist/next/client/index.d.ts +1 -1
- package/dist/next/index.d.ts +20 -20
- package/dist/next/index.js +7 -7
- package/dist/next/offline/index.d.ts +1 -1
- package/dist/next/proxy/index.d.ts +5 -5
- package/dist/next/proxy/index.js +2 -2
- package/dist/node/index.d.ts +2 -2
- package/dist/{observations-BBQZWl54.d.ts → observations-8pt9Lflf.d.ts} +3 -3
- package/dist/{operations-dIOdHqYz.d.ts → operations-D4zxY2TL.d.ts} +1 -1
- package/dist/{orders-ePaBZDl9.d.ts → orders-BCR5H9Tz.d.ts} +3 -3
- package/dist/{orders-reads-CWCAZHgZ.js → orders-reads-BGMu5-Ug.js} +2 -2
- package/dist/orpc/index.d.ts +8 -8
- package/dist/orpc/index.js +3 -3
- package/dist/otel/index.d.ts +2 -2
- package/dist/otel/index.js +5 -5
- package/dist/{outbox-EXHTONFS.d.ts → outbox-DNyzkxyX.d.ts} +4 -4
- package/dist/{payroll-export-CIVukFDd.js → payroll-export-kpVJj_Gj.js} +13 -13
- package/dist/{permissions-DG0t2lrA.d.ts → permissions-BkUcXwtV.d.ts} +1 -1
- package/dist/{permissions-model-CYfIupG0.js → permissions-model-B7E_f7GV.js} +13 -1
- package/dist/{pool-tXlDkx18.d.ts → pool-Dzeln5IJ.d.ts} +3 -3
- package/dist/{ports-DR88RF0N.js → ports-BBowiGiD.js} +4 -4
- package/dist/{ports-CfiOCL2r.d.ts → ports-DD-pDkHu.d.ts} +1 -1
- package/dist/postgres/index.d.ts +4 -4
- package/dist/{postgrest-gG_GIWFi.d.ts → postgrest-CgAxVpiW.d.ts} +1 -1
- package/dist/powersync/index.d.ts +9 -9
- package/dist/powersync/index.js +1 -1
- package/dist/preset/index.d.ts +4 -4
- package/dist/preset/index.js +1 -1
- package/dist/{preset-HzYIrxUS.js → preset-ZZ4H2s92.js} +5 -5
- package/dist/{preview-3nes4WG4.d.ts → preview-GUvVjUxf.d.ts} +6 -6
- package/dist/{project-CXcoauzs.js → project-wJ3jYipI.js} +2 -2
- package/dist/{provider-r2RjlARm.d.ts → provider-DSokOaUo.d.ts} +1 -1
- package/dist/{push-token-CRBieazN.d.ts → push-token-C8MoiM7E.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-CxN-zbLC.d.ts → rate-limit-Ddv4xmsH.d.ts} +5 -5
- package/dist/react/index.d.ts +9 -9
- package/dist/react/index.js +2 -2
- package/dist/react/native/index.d.ts +1 -1
- package/dist/react/native/index.js +3 -3
- package/dist/react/server.d.ts +8 -8
- package/dist/react/server.js +2 -2
- package/dist/react/session.d.ts +2 -2
- package/dist/{react-CvgCNgo-.js → react-hb2gg5UV.js} +2 -2
- package/dist/react-router/index.d.ts +6 -6
- package/dist/react-router/index.js +4 -4
- package/dist/realtime/index.d.ts +6 -6
- package/dist/realtime/index.js +2 -2
- package/dist/{record-form-BggNAKZA.d.ts → record-form-CbFN-AdD.d.ts} +1 -1
- package/dist/{recordings-Bdf1OnQS.d.ts → recordings-C1BOyHYu.d.ts} +1 -1
- package/dist/records/index.d.ts +9 -9
- package/dist/{refusal-DHSRBaS6.d.ts → refusal-6HGi0oY9.d.ts} +3 -3
- package/dist/{resolve-oJsHQ9Ib.js → resolve-DP8w5Nl0.js} +2 -2
- package/dist/{resolve-Chhtdk4M.d.ts → resolve-Pn7KvQ23.d.ts} +1 -1
- package/dist/{resource-BfkM1JZ0.d.ts → resource-DFEtCFTy.d.ts} +1 -1
- package/dist/{resource-execute-BIqAzA57.d.ts → resource-execute-BQx_Pmeu.d.ts} +2 -2
- package/dist/{resource-types-DcEe07vC.d.ts → resource-types-lBguZ_8J.d.ts} +4 -4
- package/dist/{resources-Bb_JRadM.d.ts → resources-CWfoS1er.d.ts} +2 -2
- package/dist/{respond-DNcBzi_Y.d.ts → respond-vxhdVf23.d.ts} +1 -1
- package/dist/{runs-CTo9cjAz.js → runs-bv1S-1JM.js} +2 -2
- package/dist/{sales-CIe7dE4J.js → sales-Br66jZAO.js} +2 -2
- package/dist/{sales-lines-CX-xpQQW.d.ts → sales-lines-DWwWHLJj.d.ts} +1 -1
- package/dist/{sandboxes-vO9Yb0Bd.d.ts → sandboxes-BjvFi1Wh.d.ts} +1 -1
- package/dist/{scores-C8fy3RXF.d.ts → scores-LZaJOHkr.d.ts} +5 -5
- package/dist/server/account/index.d.ts +3 -3
- package/dist/server/accounts/index.d.ts +6 -6
- package/dist/server/accounts/index.js +1 -1
- package/dist/server/index.d.ts +27 -27
- package/dist/server/index.js +12 -12
- package/dist/{server-DA5SRGHQ.js → server-af58-Q51.js} +10 -6
- package/dist/{server-types-Cp2en4rP.d.ts → server-types-By5oBsDZ.d.ts} +18 -12
- package/dist/{session-Bro3jmnu.d.ts → session-D5IrTUwv.d.ts} +6 -6
- package/dist/{session-status-CywvasN_.d.ts → session-status-m5VN1pW1.d.ts} +2 -2
- package/dist/{sessions-Dedk1ubX.js → sessions-w6xril_l.js} +1 -1
- package/dist/{settings-CMcdSyT4.d.ts → settings-C_zEVfCy.d.ts} +2 -2
- package/dist/{sign-in-DgvuMl59.js → sign-in-CxnkReKM.js} +2 -2
- package/dist/{sign-in-BwI5DHy5.js → sign-in-DklEPfDI.js} +2 -2
- package/dist/{sign-in-R_Ou2FMR.d.ts → sign-in-Dni-tX9B.d.ts} +1 -1
- package/dist/{sign-in-Cj7Y0mSU.d.ts → sign-in-TNX4Pj9E.d.ts} +17 -17
- package/dist/{signatures-D9_TUapq.js → signatures-BZ10RZbf.js} +1 -1
- package/dist/{signers-BnUPoU0u.d.ts → signers-DB0S8YhO.d.ts} +4 -4
- package/dist/{signing-keys-DulqHr3n.d.ts → signing-keys-BNwqmUlK.d.ts} +2 -2
- package/dist/{signing-keys-BxAcK3ve.js → signing-keys-Cr08qRGc.js} +1 -1
- package/dist/solid/index.d.ts +11 -11
- package/dist/solid/index.js +1 -1
- package/dist/solid-start/index.d.ts +6 -6
- package/dist/solid-start/index.js +4 -4
- package/dist/spec/index.d.ts +2 -2
- package/dist/spec/index.js +2 -2
- package/dist/sql/index.d.ts +5 -5
- package/dist/sql/index.js +3 -3
- package/dist/{sql-BwfPwN8v.js → sql-CP1j2jfo.js} +293 -133
- package/dist/sqlite/index.d.ts +3 -3
- package/dist/sqlite/index.js +1 -1
- package/dist/{sso-DcxycaaP.d.ts → sso-CK6_NPWp.d.ts} +3 -3
- package/dist/ssr/index.d.ts +4 -4
- package/dist/ssr/index.js +1 -1
- package/dist/storage/client/index.d.ts +2 -2
- package/dist/storage/client/index.js +1 -1
- package/dist/storage/index.d.ts +3 -3
- package/dist/storage/index.js +1 -1
- package/dist/streams/index.d.ts +1 -1
- package/dist/streams/resumable/index.d.ts +1 -1
- package/dist/{subject-readers-61Xd5vAQ.js → subject-readers-qnt9P3Tf.js} +2 -2
- package/dist/{subject-readers-DNPGHMEg.d.ts → subject-readers-zsCxIZ_1.d.ts} +5 -5
- package/dist/{subjects-Bb5-VIcs.d.ts → subjects-Bnhj8AsZ.d.ts} +9 -9
- package/dist/{support-N97YzVgD.d.ts → support-8jVUURe-.d.ts} +4 -4
- package/dist/{support--EPft3tt.js → support-B9mOOkAy.js} +1 -1
- package/dist/{support-view-D0VmaQVg.d.ts → support-view-CfyHFSq4.d.ts} +1 -1
- package/dist/{suspend-account-DcQFTDGI.d.ts → suspend-account-Bi-ebizL.d.ts} +2 -2
- package/dist/svelte/index.d.ts +10 -10
- package/dist/svelte/index.js +1 -1
- package/dist/sveltekit/index.d.ts +7 -7
- package/dist/sveltekit/index.js +4 -4
- package/dist/{tags-C7NyJTdU.d.ts → tags-Csj8VfA7.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 +4 -4
- package/dist/{tax-sql-DrR78UUW.js → tax-sql-sSJTtYtF.js} +1 -1
- package/dist/{tenant-BFABaxQ5.d.ts → tenant-CVRFoaDM.d.ts} +1 -1
- package/dist/testing/index.d.ts +36 -36
- package/dist/testing/index.js +37 -18
- package/dist/{timeline-0a7kclhg.d.ts → timeline-T1qkzVdR.d.ts} +5 -5
- package/dist/{topic-CTqz7oYG.js → topic-CZ8FVS1o.js} +1 -1
- package/dist/{topic-BH4L7H8n.d.ts → topic-DytYYyP3.d.ts} +16 -5
- package/dist/{types-BQaFrgFr.d.ts → types-BEuYPFta.d.ts} +4 -4
- package/dist/{types-BIpCfsXW.d.ts → types-BcBKymdQ.d.ts} +1 -1
- package/dist/{types-BME_OjVm.d.ts → types-CID74uQG.d.ts} +5 -5
- package/dist/{types-arsKcxoV.d.ts → types-CNE-ybHL.d.ts} +3 -3
- package/dist/{types-D9qT7VIV.d.ts → types-CVq6-P5G.d.ts} +7 -7
- package/dist/{types-BMLgTFzf.d.ts → types-Cge5o3f5.d.ts} +2 -2
- package/dist/{types-BFNVzP1M.d.ts → types-Cikitezb.d.ts} +5 -5
- package/dist/{types-BJ4cg51a.d.ts → types-Dizn1liT.d.ts} +12 -2
- package/dist/{undo-B_8VpTy2.d.ts → undo-CRejYq21.d.ts} +2 -2
- package/dist/{usage-BBR7z7ra.d.ts → usage-CrTrlxoi.d.ts} +4 -4
- package/dist/{vault-B2AI88Jz.d.ts → vault-Dyy9I0IE.d.ts} +2 -2
- package/dist/vercel-connect/index.d.ts +1 -1
- package/dist/vercel-sandbox/index.d.ts +2 -2
- package/dist/verifiable-credentials/index.js +2 -2
- package/dist/{verify-yUHyGq0u.js → verify-Bu2FKS9o.js} +1 -1
- package/dist/{verify-tK2F49Gn.d.ts → verify-dg8Q3iRY.d.ts} +2 -2
- package/dist/{version-BHgdHcZN.js → version-B0uw5rOF.js} +1 -1
- package/dist/{view-DKo-Koiu.d.ts → view-DwTCw_jZ.d.ts} +1 -1
- package/dist/vue/index.d.ts +11 -11
- package/dist/vue/index.js +1 -1
- package/dist/{watch-topic-BYfSlldk.d.ts → watch-topic-DT31uYqF.d.ts} +1 -1
- package/dist/{webhook-inbox-Bn-dV-vF.js → webhook-inbox-DIPjKka6.js} +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/index.js +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-c025kSHf.js → workflow-sdk-IPsOMGEC.js} +1 -1
- package/dist/{workflow-sdk-B_yeWl8N.d.ts → workflow-sdk-Js7efMDi.d.ts} +3 -3
- package/dist/{workflows-DR6nJ9vq.d.ts → workflows-CUcK8Axx.d.ts} +4 -4
- package/dist/yjs/index.d.ts +2 -2
- package/dist/yjs/index.js +2 -2
- package/package.json +3 -1
- package/schemas/config-v1.json +27 -0
- package/schemas/error-codes.json +3 -3
- package/skills/better-supabase/SKILL.md +2 -2
- package/skills/better-supabase/references/ui-recipes.md +2 -2
- package/dist/cli/add-BBZULhs3.js +0 -1
- package/dist/cli/powersync-JTdU1Xpy.js +0 -1
- package/dist/cli/seed-CucH5loT.js +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { l as stdinDatabaseUrl, n as databaseUrl, o as importExport } from "./config-
|
|
1
|
+
import { l as stdinDatabaseUrl, n as databaseUrl, o as importExport } from "./config-DX58lDf7.js";
|
|
2
2
|
import { i as isLocalDatabaseUrl, r as databaseHost } from "./agent-BlYLJPzM.js";
|
|
3
3
|
import { m as commandMeta, r as defineCliCommand } from "./command-fqvJ0TdG.js";
|
|
4
4
|
import { c as insideRoot, i as changeLines, n as PLAN_ARGS, r as applyPlan, s as hasConflicts, u as planResult } from "./files-NnXnawki.js";
|
|
@@ -6,7 +6,7 @@ import { t as display } from "./io-CngfGyMA.js";
|
|
|
6
6
|
import { t as connect } from "./db-B_xr3ZvK.js";
|
|
7
7
|
import { m as supabaseDir } from "./supabase-toml-B6-eEV5p.js";
|
|
8
8
|
import { d as requestSample, f as tokenPath, l as CloudError, n as cloudUrl, t as cloudFailure, u as activeLogin } from "./account-BhLbon5M.js";
|
|
9
|
-
import { r as STACK_ARG, t as DB_URL_STDIN_ARG } from "./source-args-
|
|
9
|
+
import { r as STACK_ARG, t as DB_URL_STDIN_ARG } from "./source-args-D5BSEgUG.js";
|
|
10
10
|
import { existsSync } from "node:fs";
|
|
11
11
|
import { dirname, resolve } from "node:path";
|
|
12
12
|
import { mkdir, readFile, writeFile } from "node:fs/promises";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as VERSION } from "./version-
|
|
1
|
+
import { t as VERSION } from "./version-CHVFvh95.js";
|
|
2
2
|
import { n as CliError } from "./errors-B7i-VGxk.js";
|
|
3
3
|
import { r as redactUrl } from "./redact--zOGdWzo.js";
|
|
4
4
|
import { n as HTTP_CHANNEL } from "./trace-D3TNqWBg.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { n as specEmitCommand, i as specValidateCommand } from "./spec-
|
|
1
|
+
export { n as specEmitCommand, i as specValidateCommand } from "./spec-DsNayDt2.js";
|
|
@@ -4,8 +4,8 @@ import { t as CACHE_DIR } from "./store-DP-nmqBt.js";
|
|
|
4
4
|
import { i as failedResult, n as CliError, r as errorText } from "./errors-B7i-VGxk.js";
|
|
5
5
|
import { a as changedFiles, i as changeLines, r as applyPlan } from "./files-NnXnawki.js";
|
|
6
6
|
import { t as display } from "./io-CngfGyMA.js";
|
|
7
|
-
import { s as writeAtomic } from "./cache-
|
|
8
|
-
import { t as VERSION } from "./version-
|
|
7
|
+
import { s as writeAtomic } from "./cache-CNa3fjK-.js";
|
|
8
|
+
import { t as VERSION } from "./version-CHVFvh95.js";
|
|
9
9
|
import { t as importFresh } from "./fresh-import-CdO2oQaQ.js";
|
|
10
10
|
import { t as isRecord } from "./guards-DxwRG0Uv.js";
|
|
11
11
|
import { t as loadTopics } from "./topics-CqhOV1S0.js";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { t as byCodePoint } from "./compare-yl4sSwVn.js";
|
|
2
2
|
import { t as detectProject } from "./detect-CHR-SAmE.js";
|
|
3
3
|
import { d as readSupabaseToml, f as schemaPaths, h as tomlGet, n as declarativeSchemasDir, p as sqlWorkflow, u as pgFunctionHooks } from "./supabase-toml-B6-eEV5p.js";
|
|
4
|
-
import { n as databaseUrl, p as accessToken } from "./config-
|
|
4
|
+
import { n as databaseUrl, p as accessToken } from "./config-DX58lDf7.js";
|
|
5
5
|
import { n as CliError, r as errorText } from "./errors-B7i-VGxk.js";
|
|
6
6
|
import { t as connect } from "./db-B_xr3ZvK.js";
|
|
7
|
-
import { c as TYPEGEN_VERSION, n as cachedIntrospect, u as readExtras } from "./cache-
|
|
8
|
-
import { a as toCatalog, n as managementSource, r as pgSource } from "./source-
|
|
7
|
+
import { c as TYPEGEN_VERSION, n as cachedIntrospect, u as readExtras } from "./cache-CNa3fjK-.js";
|
|
8
|
+
import { a as toCatalog, n as managementSource, r as pgSource } from "./source-Bt6UAek-.js";
|
|
9
9
|
import { existsSync } from "node:fs";
|
|
10
10
|
import { dirname, join, posix, relative, resolve, sep } from "node:path";
|
|
11
11
|
import { glob, readFile, readdir } from "node:fs/promises";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { m as commandMeta, r as defineCliCommand } from "./command-fqvJ0TdG.js";
|
|
2
2
|
import { n as CliError, r as errorText } from "./errors-B7i-VGxk.js";
|
|
3
3
|
import { r as supabaseCli } from "./exec-DBgtTCHK.js";
|
|
4
|
-
import { i as migrationsDir } from "./sql-layout-
|
|
4
|
+
import { i as migrationsDir } from "./sql-layout-Bt7NcWXk.js";
|
|
5
5
|
import { r as migrationStamp } from "./migration-names-7zAdXfcd.js";
|
|
6
6
|
import { resolve } from "node:path";
|
|
7
7
|
import { readFile, readdir, rm, writeFile } from "node:fs/promises";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { d as fileDiff, i as changeLines, l as keepHandEdit, o as handEditedError, r as applyPlan, t as HAND_EDITED, u as planResult } from "./files-NnXnawki.js";
|
|
2
2
|
import { t as display } from "./io-CngfGyMA.js";
|
|
3
|
-
import { i as migrationsDir, l as sqlPlan } from "./sql-layout-
|
|
3
|
+
import { i as migrationsDir, l as sqlPlan } from "./sql-layout-Bt7NcWXk.js";
|
|
4
4
|
import { n as CliError } from "./errors-B7i-VGxk.js";
|
|
5
5
|
import { t as loadTopics } from "./topics-CqhOV1S0.js";
|
|
6
|
-
import { c as sameModuleMigration, l as writeLatestMigration, r as latestMigration, s as renderModuleMigration, t as MODULES_SUFFIX, u as writesMigrations } from "./module-migration-
|
|
6
|
+
import { c as sameModuleMigration, l as writeLatestMigration, r as latestMigration, s as renderModuleMigration, t as MODULES_SUFFIX, u as writesMigrations } from "./module-migration-CRsIlrig.js";
|
|
7
7
|
import { t as orphanedBlockFiles } from "./orphans-ByB0gKOp.js";
|
|
8
|
-
import { r as layoutFor } from "./providers-
|
|
9
|
-
import { n as renderBlocksCached, t as cacheOf } from "./render-cache-
|
|
8
|
+
import { r as layoutFor } from "./providers-DhMSptuy.js";
|
|
9
|
+
import { n as renderBlocksCached, t as cacheOf } from "./render-cache-BYkVt264.js";
|
|
10
10
|
import { d as readSupabaseToml, f as schemaPaths, h as tomlGet, i as diffEngine, l as migrationCommand, o as findSupabaseRoot, p as sqlWorkflow, t as PGDELTA_TABLE } from "./supabase-toml-B6-eEV5p.js";
|
|
11
11
|
import { n as migrationFile, t as hasMigrationSuffix } from "./migration-names-7zAdXfcd.js";
|
|
12
12
|
import { dirname, join, resolve } from "node:path";
|
|
@@ -47,13 +47,63 @@ async function enablePgDelta(root, dryRun, base = root) {
|
|
|
47
47
|
}, { "dry-run": dryRun });
|
|
48
48
|
return [`${dryRun ? "Would enable" : "Enabled"} pg-delta in ${shown}`];
|
|
49
49
|
}
|
|
50
|
+
// src/cli/broadcast-once.ts
|
|
51
|
+
/**
|
|
52
|
+
* `realtime.send()` once per transaction and key, for triggers with `dedupe`.
|
|
53
|
+
* The md5 of the topic, event and key is kept in a transaction-local setting,
|
|
54
|
+
* which a commit or rollback clears; nothing is written to a table.
|
|
55
|
+
*/
|
|
56
|
+
const BROADCAST_ONCE_SQL = `-- better-supabase: realtime.send() once per transaction and key
|
|
57
|
+
create schema if not exists better_supabase;
|
|
58
|
+
create or replace function better_supabase.broadcast_once(
|
|
59
|
+
payload jsonb,
|
|
60
|
+
event text,
|
|
61
|
+
topic text,
|
|
62
|
+
private boolean,
|
|
63
|
+
key_fields text[]
|
|
64
|
+
)
|
|
65
|
+
returns void
|
|
66
|
+
language plpgsql
|
|
67
|
+
set search_path = ''
|
|
68
|
+
as $$
|
|
69
|
+
declare
|
|
70
|
+
sent text := md5(jsonb_build_array(topic, event, case
|
|
71
|
+
when key_fields is null then payload
|
|
72
|
+
else (select coalesce(jsonb_object_agg(f, payload -> f), '{}') from unnest(key_fields) as f)
|
|
73
|
+
end)::text);
|
|
74
|
+
seen text := coalesce(current_setting('better_supabase.broadcast_sent', true), '');
|
|
75
|
+
begin
|
|
76
|
+
if strpos(seen, sent) > 0 then
|
|
77
|
+
return;
|
|
78
|
+
end if;
|
|
79
|
+
perform set_config('better_supabase.broadcast_sent', seen || sent || ' ', true);
|
|
80
|
+
perform realtime.send(payload, event, topic, private);
|
|
81
|
+
end;
|
|
82
|
+
$$;
|
|
83
|
+
revoke execute on function better_supabase.broadcast_once(jsonb, text, text, boolean, text[]) from public, anon, authenticated;
|
|
84
|
+
`;
|
|
85
|
+
const SEND = /^(\s*)perform realtime\.send\((.*)\);$/gm;
|
|
86
|
+
/**
|
|
87
|
+
* A generated broadcast function with each `realtime.send()` turned into
|
|
88
|
+
* `better_supabase.broadcast_once()`. Throws a TypeError for a `dedupeKey`
|
|
89
|
+
* without `dedupe` or with no fields.
|
|
90
|
+
*/
|
|
91
|
+
function dedupeTrigger(sql, options) {
|
|
92
|
+
const { dedupe, dedupeKey } = options;
|
|
93
|
+
if (dedupeKey !== void 0 && (dedupe === void 0 || dedupeKey.length === 0)) throw new TypeError("dedupeKey needs dedupe and at least one field");
|
|
94
|
+
if (dedupe === void 0) return sql;
|
|
95
|
+
const key = dedupeKey === void 0 ? "null" : `array[${dedupeKey.map((field) => `'${field.replaceAll("'", "''")}'`).join(", ")}]`;
|
|
96
|
+
const deduped = sql.replaceAll(SEND, (_, indent, args) => `${indent}perform better_supabase.broadcast_once(${args}, ${key});`);
|
|
97
|
+
if (deduped === sql) throw new TypeError("dedupe needs a generated broadcast function; update better-supabase where the topics import it");
|
|
98
|
+
return deduped;
|
|
99
|
+
}
|
|
50
100
|
// src/cli/topic-policies.ts
|
|
51
101
|
const literalParts = (template) => template.replaceAll(/\{[^}]+\}/g, "{}");
|
|
52
102
|
const owns = (owned, template) => owned.endsWith("*") ? template.startsWith(owned.slice(0, -1)) : literalParts(owned) === literalParts(template);
|
|
53
103
|
const receivesOnly = (sql) => !sql.includes(" for insert ") && !sql.includes("'presence'");
|
|
54
104
|
function triggerStatement(topic, table, options, index) {
|
|
55
105
|
try {
|
|
56
|
-
return topic.trigger(table, options);
|
|
106
|
+
return dedupeTrigger(topic.trigger(table, options), options);
|
|
57
107
|
} catch (error) {
|
|
58
108
|
if (error instanceof TypeError) throw new CliError("config_invalid", `database.realtime.triggers[${String(index)}]: ${error.message}`);
|
|
59
109
|
throw error;
|
|
@@ -97,7 +147,7 @@ async function topicPolicyFile(config, owned = []) {
|
|
|
97
147
|
const where = `defineTopic("${topic.template}").broadcast[${String(at)}]`;
|
|
98
148
|
let statement;
|
|
99
149
|
try {
|
|
100
|
-
statement = topic.trigger(table, options);
|
|
150
|
+
statement = dedupeTrigger(topic.trigger(table, options), options);
|
|
101
151
|
} catch (error) {
|
|
102
152
|
if (error instanceof TypeError) throw new CliError("config_invalid", `${where}: ${error.message}`);
|
|
103
153
|
throw error;
|
|
@@ -110,12 +160,14 @@ async function topicPolicyFile(config, owned = []) {
|
|
|
110
160
|
`-- Written by \`better-supabase upgrade\` from ${policies.from.join(", ")}; edit the topics, not this file.`,
|
|
111
161
|
...skipped
|
|
112
162
|
].join("\n");
|
|
163
|
+
const statements = [...triggerSql, ...declared];
|
|
164
|
+
const once = statements.some((each) => each.includes("better_supabase.broadcast_once(")) ? [BROADCAST_ONCE_SQL] : [];
|
|
113
165
|
return {
|
|
114
166
|
path: policies.file,
|
|
115
167
|
contents: `${header}\n\n${[
|
|
116
168
|
...written.map(sqlOf),
|
|
117
|
-
...
|
|
118
|
-
...
|
|
169
|
+
...once,
|
|
170
|
+
...statements
|
|
119
171
|
].join("\n")}`
|
|
120
172
|
};
|
|
121
173
|
}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { m as commandMeta, r as defineCliCommand } from "./command-fqvJ0TdG.js";
|
|
2
|
-
import { t as shadowedBlockColumns } from "./column-renames-
|
|
3
|
-
import { n as appSchemaTexts } from "./sql-layout-
|
|
2
|
+
import { t as shadowedBlockColumns } from "./column-renames-CtcG8MR5.js";
|
|
3
|
+
import { n as appSchemaTexts } from "./sql-layout-Bt7NcWXk.js";
|
|
4
4
|
import { t as SQL_ARGS } from "./args-CS_64_tg.js";
|
|
5
|
-
import { o as dataMigration, t as syncModules } from "./sync-
|
|
6
|
-
import { r as renderStats } from "./render-cache-
|
|
7
|
-
import { t as upgrade } from "./upgrade-
|
|
5
|
+
import { o as dataMigration, t as syncModules } from "./sync-DFAkNjw_.js";
|
|
6
|
+
import { r as renderStats } from "./render-cache-BYkVt264.js";
|
|
7
|
+
import { t as upgrade } from "./upgrade-DP-30QID.js";
|
|
8
8
|
import { i as plain } from "./style-B5-nByxb.js";
|
|
9
9
|
// src/cli/commands/upgrade.ts
|
|
10
10
|
const UPGRADE_ARGS = {
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { d as fileDiff, i as changeLines, r as applyPlan } from "./files-NnXnawki.js";
|
|
2
2
|
import { t as display } from "./io-CngfGyMA.js";
|
|
3
|
-
import { i as migrationsDir, l as sqlPlan } from "./sql-layout-
|
|
3
|
+
import { i as migrationsDir, l as sqlPlan } from "./sql-layout-Bt7NcWXk.js";
|
|
4
4
|
import { d as readSupabaseToml, p as sqlWorkflow } from "./supabase-toml-B6-eEV5p.js";
|
|
5
|
-
import { a as write, r as nextStep, s as topicPolicyFile } from "./sync-
|
|
5
|
+
import { a as write, r as nextStep, s as topicPolicyFile } from "./sync-DFAkNjw_.js";
|
|
6
6
|
import { n as migrationFile } from "./migration-names-7zAdXfcd.js";
|
|
7
|
-
import { a as migrationInstances, c as sameModuleMigration, o as migrationModules, r as latestMigration, s as renderModuleMigration, t as MODULES_SUFFIX, u as writesMigrations } from "./module-migration-
|
|
8
|
-
import { r as layoutFor } from "./providers-
|
|
9
|
-
import { n as renderBlocksCached, t as cacheOf } from "./render-cache-
|
|
7
|
+
import { a as migrationInstances, c as sameModuleMigration, o as migrationModules, r as latestMigration, s as renderModuleMigration, t as MODULES_SUFFIX, u as writesMigrations } from "./module-migration-CRsIlrig.js";
|
|
8
|
+
import { r as layoutFor } from "./providers-DhMSptuy.js";
|
|
9
|
+
import { n as renderBlocksCached, t as cacheOf } from "./render-cache-BYkVt264.js";
|
|
10
10
|
import { resolve } from "node:path";
|
|
11
11
|
import { readFile, readdir } from "node:fs/promises";
|
|
12
12
|
import { PRELUDE_FUNCTIONS, PRELUDE_MODULE, SQL_MODULES, buildModel, conflicts, duplicatePolicies, entityRenamePlan, moduleFileVersion, moduleTopics, sameBlockFile, upgradePlan } from "better-supabase/sql";
|
|
@@ -44,7 +44,7 @@ async function upgrade(config, args, paint, now) {
|
|
|
44
44
|
};
|
|
45
45
|
const plan = upgradePlan(installed, sqlLayout);
|
|
46
46
|
const renamed = [...new Set(renames.steps.map((step) => step.module))];
|
|
47
|
-
const problems = moduleFileProblems(installedFiles);
|
|
47
|
+
const problems = moduleFileProblems(installedFiles, !migrations && sqlLayout.rerunnable !== true);
|
|
48
48
|
const data = {
|
|
49
49
|
upgrades: plan.map(({ module, from, to }) => ({
|
|
50
50
|
module,
|
|
@@ -204,7 +204,7 @@ async function installedFromMigration(config, sqlLayout, files, paint) {
|
|
|
204
204
|
* `transaction=false`, a top-level `insert`, and two policies that decide the
|
|
205
205
|
* same way. Doctor reports the same findings as BS369 to BS375.
|
|
206
206
|
*/
|
|
207
|
-
function moduleFileProblems(files) {
|
|
207
|
+
function moduleFileProblems(files, declarative) {
|
|
208
208
|
const model = buildModel(files);
|
|
209
209
|
const conflicting = conflicts(model).flatMap(({ declarations }) => {
|
|
210
210
|
const first = declarations[0];
|
|
@@ -213,10 +213,12 @@ function moduleFileProblems(files) {
|
|
|
213
213
|
return declarations.filter((each) => each.owner.kind === "module" && each.file !== first.file && (!prelude || each.owner.name !== PRELUDE_MODULE)).map((each) => prelude ? `${each.file} declares ${first.name.replace(/\/\d+$/, "")}, which the prelude defines. Run \`better-supabase upgrade\`.` : `${each.file} declares the ${each.kind} ${each.name.replace(/\/\d+$/, "")}, which ${first.file} also declares.`);
|
|
214
214
|
});
|
|
215
215
|
const perFile = [...model.files].flatMap(([path, parsed]) => [...parsed.outsideTransaction ? [`${path} asks for transaction=false. Remove the line.`] : [], ...parsed.inserts.map((line) => `${path}:${String(line)} inserts rows. Rows belong in the module's data file.`)]);
|
|
216
|
+
const drops = (declarative ? [...files] : []).flatMap(({ path, text }) => text.split("\n").flatMap((line, index) => /^drop\s+event\s+trigger\b/iu.test(line) ? [`${path}:${String(index + 1)} drops an event trigger. A declarative file only declares it; run better-supabase upgrade to rewrite the file.`] : []));
|
|
216
217
|
const policies = duplicatePolicies(model).map((group) => `${group.table} has the policies ${group.names.join(" and ")}, which decide the same way.`);
|
|
217
218
|
return [
|
|
218
219
|
...conflicting,
|
|
219
220
|
...perFile,
|
|
221
|
+
...drops,
|
|
220
222
|
...policies
|
|
221
223
|
];
|
|
222
224
|
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { l as stdinDatabaseUrl, n as databaseUrl } from "./config-
|
|
1
|
+
import { l as stdinDatabaseUrl, n as databaseUrl } from "./config-DX58lDf7.js";
|
|
2
2
|
import { m as commandMeta, r as defineCliCommand } from "./command-fqvJ0TdG.js";
|
|
3
3
|
import { n as CliError, r as errorText } from "./errors-B7i-VGxk.js";
|
|
4
4
|
import { t as connect } from "./db-B_xr3ZvK.js";
|
|
5
|
-
import { r as STACK_ARG, t as DB_URL_STDIN_ARG } from "./source-args-
|
|
5
|
+
import { r as STACK_ARG, t as DB_URL_STDIN_ARG } from "./source-args-D5BSEgUG.js";
|
|
6
6
|
import { dirname, join } from "node:path";
|
|
7
7
|
import { mkdir, writeFile } from "node:fs/promises";
|
|
8
8
|
import { accessMatrix, accessMatrixTests, readSecurityCatalog, verifyCatalog, verifyQuery } from "better-supabase/create/lite";
|
package/dist/client/index.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { a as DataSync, c as LocalTablesOption, i as DataEntry, l as liveEngine, n as DataEngine, o as DataSyncState, r as DataEngineOptions, s as LiveEngineOptions, t as DataChanges, u as memoryEngine } from "../data-engine-
|
|
2
|
-
import { n as TopicPort, r as TopicWatch, t as TopicHandle } from "../watch-topic-
|
|
3
|
-
import { a as PickFilesOptions, c as Shortcut, d as UploadPort, f as memoryStorage, i as KeyboardPort, l as StoragePort, n as DeepLinkPort, o as PickedFile, p as storageUpload, r as FilePickerPort, s as PushTokenPort, t as ClientPorts, u as UploadDestination } from "../ports-
|
|
4
|
-
import { a as ClientAuth, i as BindClientOptions, n as AuthUser, o as bindClient, r as BetterClient, t as AuthSnapshot } from "../bind-
|
|
5
|
-
import { a as defineController, i as ControllerState, n as Controller, o as whileSignedIn, r as ControllerParts, t as AuthPort } from "../controller-
|
|
1
|
+
import { a as DataSync, c as LocalTablesOption, i as DataEntry, l as liveEngine, n as DataEngine, o as DataSyncState, r as DataEngineOptions, s as LiveEngineOptions, t as DataChanges, u as memoryEngine } from "../data-engine-nmeUijzR.js";
|
|
2
|
+
import { n as TopicPort, r as TopicWatch, t as TopicHandle } from "../watch-topic-DT31uYqF.js";
|
|
3
|
+
import { a as PickFilesOptions, c as Shortcut, d as UploadPort, f as memoryStorage, i as KeyboardPort, l as StoragePort, n as DeepLinkPort, o as PickedFile, p as storageUpload, r as FilePickerPort, s as PushTokenPort, t as ClientPorts, u as UploadDestination } from "../ports-DD-pDkHu.js";
|
|
4
|
+
import { a as ClientAuth, i as BindClientOptions, n as AuthUser, o as bindClient, r as BetterClient, t as AuthSnapshot } from "../bind-B-NW7-Fd.js";
|
|
5
|
+
import { a as defineController, i as ControllerState, n as Controller, o as whileSignedIn, r as ControllerParts, t as AuthPort } from "../controller-zwQFyrOG.js";
|
|
6
6
|
import { i as authzUserTopic, r as AuthzVersionSource, t as AUTHZ_EVENT } from "../authz-topic-C7n3kIm_.js";
|
|
7
7
|
import { n as FunctionContract } from "../function-contract-DEVGJGzd.js";
|
|
8
|
-
import { a as webDeepLinks, c as webPorts, d as FunctionContracts, f as FunctionsHost, h as functions, i as WebPushTokenOptions, l as webPushToken, m as TypedFunctions, n as createClient, o as webFilePicker, p as InvokeOptions, r as PushRegistrationLike, s as webKeyboard, t as ClientOptions, u as webStorage } from "../index-
|
|
8
|
+
import { a as webDeepLinks, c as webPorts, d as FunctionContracts, f as FunctionsHost, h as functions, i as WebPushTokenOptions, l as webPushToken, m as TypedFunctions, n as createClient, o as webFilePicker, p as InvokeOptions, r as PushRegistrationLike, s as webKeyboard, t as ClientOptions, u as webStorage } from "../index-r_SO6mVm.js";
|
|
9
9
|
export { AUTHZ_EVENT, type AuthPort, type AuthSnapshot, type AuthUser, type AuthzVersionSource, type BetterClient, type BindClientOptions, type ClientAuth, ClientOptions, type ClientPorts, type Controller, type ControllerParts, type ControllerState, type DataChanges, type DataEngine, type DataEngineOptions, type DataEntry, type DataSync, type DataSyncState, type DeepLinkPort, type FilePickerPort, type FunctionContract, type FunctionContracts, type FunctionsHost, type InvokeOptions, type KeyboardPort, type LiveEngineOptions, type LocalTablesOption, type PickFilesOptions, type PickedFile, type PushRegistrationLike, type PushTokenPort, type Shortcut, type StoragePort, type TopicHandle, type TopicPort, type TopicWatch, type TypedFunctions, type UploadDestination, type UploadPort, type WebPushTokenOptions, authzUserTopic, bindClient, createClient, defineController, functions, liveEngine, memoryEngine, memoryStorage, storageUpload, webDeepLinks, webFilePicker, webKeyboard, webPorts, webPushToken, webStorage, whileSignedIn };
|
package/dist/client/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { i as parsePublicEnv } from "../public-CCEJuurM.js";
|
|
2
|
-
import { n as storageUpload, r as bindClient, t as memoryStorage } from "../ports-
|
|
2
|
+
import { n as storageUpload, r as bindClient, t as memoryStorage } from "../ports-BBowiGiD.js";
|
|
3
3
|
import { r as authzUserTopic, t as AUTHZ_EVENT } from "../authz-topic-D7fPUY4P.js";
|
|
4
4
|
import { n as dbError } from "../errors-DK1wGb9z.js";
|
|
5
5
|
import { i as isProblem, r as fromProblem } from "../problem-BwplIuhI.js";
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { m as DbExtraHelpers, s as BetterSupabase } from "../../db-blocks-
|
|
2
|
-
import { O as AnyFunctions, k as AnyModels } from "../../types-
|
|
3
|
-
import { a as ClientAuth, i as BindClientOptions, n as AuthUser, r as BetterClient, t as AuthSnapshot } from "../../bind-
|
|
1
|
+
import { m as DbExtraHelpers, s as BetterSupabase } from "../../db-blocks-_jJICfjp.js";
|
|
2
|
+
import { O as AnyFunctions, k as AnyModels } from "../../types-Dizn1liT.js";
|
|
3
|
+
import { a as ClientAuth, i as BindClientOptions, n as AuthUser, r as BetterClient, t as AuthSnapshot } from "../../bind-B-NW7-Fd.js";
|
|
4
4
|
import { a as OAuthSignInOptions, c as linkParams, i as OAuthClient, l as signInWithOAuthBrowser, n as AuthLinkError, o as WebBrowserLike, r as AuthLinkResult, s as handleAuthDeepLink, t as AuthLinkClient } from "../../auth-link-C6n-ophf.js";
|
|
5
|
-
import { n as TopicPort, r as TopicWatch, t as TopicHandle } from "../../watch-topic-
|
|
5
|
+
import { n as TopicPort, r as TopicWatch, t as TopicHandle } from "../../watch-topic-DT31uYqF.js";
|
|
6
6
|
import { i as authzUserTopic, r as AuthzVersionSource, t as AUTHZ_EVENT } from "../../authz-topic-C7n3kIm_.js";
|
|
7
7
|
import { a as AppStateLike, i as startNativeAuthzRefresh, n as NativeAuthzRefreshOptions, o as AutoRefreshClient, r as PowerSyncReconnect, s as autoRefreshOnForeground, t as NativeAuthzRefreshClient } from "../../authz-refresh-Bg0T1i86.js";
|
|
8
|
-
import { a as PickFilesOptions, c as Shortcut, d as UploadPort, f as memoryStorage, i as KeyboardPort, l as StoragePort, n as DeepLinkPort, o as PickedFile, p as storageUpload, r as FilePickerPort, s as PushTokenPort, t as ClientPorts, u as UploadDestination } from "../../ports-
|
|
9
|
-
import { n as ExpoPushTokenOptions, r as expoPushToken, t as ExpoNotificationsLike } from "../../push-token-
|
|
10
|
-
import { E as UploadOptions, T as UploadBody } from "../../bucket-
|
|
8
|
+
import { a as PickFilesOptions, c as Shortcut, d as UploadPort, f as memoryStorage, i as KeyboardPort, l as StoragePort, n as DeepLinkPort, o as PickedFile, p as storageUpload, r as FilePickerPort, s as PushTokenPort, t as ClientPorts, u as UploadDestination } from "../../ports-DD-pDkHu.js";
|
|
9
|
+
import { n as ExpoPushTokenOptions, r as expoPushToken, t as ExpoNotificationsLike } from "../../push-token-C8MoiM7E.js";
|
|
10
|
+
import { E as UploadOptions, T as UploadBody } from "../../bucket-BJ03ZblY.js";
|
|
11
11
|
import { t as AsyncResult } from "../../result-aun_QZHn.js";
|
|
12
12
|
import { SupabaseClient } from "@supabase/supabase-js";
|
|
13
13
|
/** `@react-native-async-storage/async-storage` or any async string store. */
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { t as provideConnectionRuntime } from "../../define-runtime-full-
|
|
2
|
-
import { n as storageUpload, r as bindClient, t as memoryStorage } from "../../ports-
|
|
3
|
-
import { i as signInWithOAuthBrowser, n as handleAuthDeepLink, r as linkParams, t as startNativeAuthzRefresh } from "../../authz-refresh-
|
|
1
|
+
import { t as provideConnectionRuntime } from "../../define-runtime-full-B_cMkyCk.js";
|
|
2
|
+
import { n as storageUpload, r as bindClient, t as memoryStorage } from "../../ports-BBowiGiD.js";
|
|
3
|
+
import { i as signInWithOAuthBrowser, n as handleAuthDeepLink, r as linkParams, t as startNativeAuthzRefresh } from "../../authz-refresh-27sp45FG.js";
|
|
4
4
|
import { r as authzUserTopic, t as AUTHZ_EVENT } from "../../authz-topic-D7fPUY4P.js";
|
|
5
5
|
import { t as expoPushToken } from "../../push-token-CO28k46S.js";
|
|
6
|
-
import { a as toBase64, i as fromBase64 } from "../../base64-
|
|
6
|
+
import { a as toBase64, i as fromBase64 } from "../../base64-DgNIlSAS.js";
|
|
7
7
|
import { n as dbError } from "../../errors-DK1wGb9z.js";
|
|
8
8
|
import { r as err, s as toDbError, t as AsyncResult } from "../../result-DijoXEFG.js";
|
|
9
9
|
// src/client/native/auto-refresh.ts
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as specKey, i as sessionUserId, r as claimedTenant, t as authModuleOf } from "./auth-module-
|
|
1
|
+
import { a as specKey, i as sessionUserId, r as claimedTenant, t as authModuleOf } from "./auth-module-B19zCsb4.js";
|
|
2
2
|
import { n as dbError } from "./errors-DK1wGb9z.js";
|
|
3
3
|
import { r as invalidateTables } from "./user-change-Ngy8z1fZ.js";
|
|
4
4
|
import { n as liveQuery, t as liveCount } from "./live-BVi3q4bX.js";
|
|
@@ -5,7 +5,7 @@ import { n as temporalMissing } from "./temporal-required-DQ1KN6UV.js";
|
|
|
5
5
|
import { c as optionalTemporal, n as isInstant } from "./temporal-VgABWvpY.js";
|
|
6
6
|
import { t as fromStorageError } from "./errors-Caj2q2hL.js";
|
|
7
7
|
import { n as parseTemplate } from "./template-CpYN7hZX.js";
|
|
8
|
-
import { r as decodeJwtPayload } from "./base64-
|
|
8
|
+
import { r as decodeJwtPayload } from "./base64-DgNIlSAS.js";
|
|
9
9
|
import { n as storageApiOf } from "./storage-api-COQr77e8.js";
|
|
10
10
|
import { a as ttlSeconds, r as transformFor, t as checkVariants } from "./variants-C2ZQOg2j.js";
|
|
11
11
|
import { o as tenantFrom, s as tenantPathsFor } from "./claims-CX-ar1vt.js";
|
package/dist/{clinical-decision-support-BHRUL6qj.d.ts → clinical-decision-support-D6FWGbEw.d.ts}
RENAMED
|
@@ -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-b7-RUIxS.js";
|
|
3
3
|
import { n as Logger } from "./logger-0LfhvwE4.js";
|
|
4
4
|
import { t as AsyncResult } from "./result-aun_QZHn.js";
|
|
5
|
-
import { et as RecordRef } from "./types-
|
|
6
|
-
import { n as BlockOptions } from "./block-helpers-
|
|
5
|
+
import { et as RecordRef } from "./types-Dizn1liT.js";
|
|
6
|
+
import { n as BlockOptions } from "./block-helpers-DDotKGAf.js";
|
|
7
7
|
/** What a rule or an alert is about. */
|
|
8
8
|
declare const CARE_ALERT_KINDS: readonly ["dose_range", "duplicate_therapy", "interaction", "allergy", "other"];
|
|
9
9
|
/** The rule kinds the built-in rule set evaluates in SQL. */
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference lib="esnext.temporal" />
|
|
2
|
-
import { E as BlockEventPattern, o as EventHub, w as BlockEvent } from "./events-
|
|
2
|
+
import { E as BlockEventPattern, o as EventHub, w as BlockEvent } from "./events-zz8DwtZi.js";
|
|
3
3
|
/** A CloudEvents 1.0 event. Extension attributes are lowercase alphanumerics. */
|
|
4
4
|
interface CloudEvent<T = unknown> {
|
|
5
5
|
readonly specversion: "1.0";
|
|
@@ -11,7 +11,7 @@ import { a as encodeArguments, n as decodeScalar, r as decodeValue, t as dateTex
|
|
|
11
11
|
import { d as createSpecs, m as specTables } from "./read-set-DfScfSsf.js";
|
|
12
12
|
import { a as ok, r as err, s as toDbError } from "./result-DijoXEFG.js";
|
|
13
13
|
import { n as simplifyOrFalse } from "./simplify-BzThKn5b.js";
|
|
14
|
-
import { o as toBase64Url, t as base64ToText } from "./base64-
|
|
14
|
+
import { o as toBase64Url, t as base64ToText } from "./base64-DgNIlSAS.js";
|
|
15
15
|
import { t as isList } from "./guards-CsRa6v57.js";
|
|
16
16
|
// src/core/cache.ts
|
|
17
17
|
/** Primary key of a row as a string, or `undefined` when it isn't returned. */
|
package/dist/commerce/index.js
CHANGED
|
@@ -2,7 +2,7 @@ import { t as ISO_4217_MINOR_UNITS } from "../iso4217-oKsif_hW.js";
|
|
|
2
2
|
import { _ as roundHalfEven, a as compareMoney, b as toDecimal, c as isMoney, d as money, f as moneyFromJson, g as parseMoney, h as negateMoney, i as applyRate, l as isRate, m as multiplyMoney, n as addMoney, o as formatMoney, p as moneyToJson, r as allocateMoney, s as isCurrency, t as CurrencyMismatchError, u as minorUnits, v as subtractMoney, y as sumMoney } from "../money-hWAOR9jq.js";
|
|
3
3
|
import { n as paymentProviderOf, t as invalidPaymentAmount } from "../payments-Bb6zllSc.js";
|
|
4
4
|
import { t as lazyStripe } from "../stripe-DKRwRWew.js";
|
|
5
|
-
import { s as verifyStripeWebhook } from "../verify-
|
|
5
|
+
import { s as verifyStripeWebhook } from "../verify-Bu2FKS9o.js";
|
|
6
6
|
import { n as dbError } from "../errors-DK1wGb9z.js";
|
|
7
7
|
import { a as ok, r as err, s as toDbError, t as AsyncResult } from "../result-DijoXEFG.js";
|
|
8
8
|
import { t as temporal } from "../temporal-required-DQ1KN6UV.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { a as PostgrestPlan } from "./postgrest-
|
|
2
|
-
import { m as Operation } from "./types-
|
|
1
|
+
import { a as PostgrestPlan } from "./postgrest-CgAxVpiW.js";
|
|
2
|
+
import { m as Operation } from "./types-Dizn1liT.js";
|
|
3
3
|
/**
|
|
4
4
|
* Turns an IR operation into something a backend runs. An `Executor` for a new
|
|
5
5
|
* backend usually pairs with a `Compiler` for it.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { a as withAuthMode, i as withAuth, o as withJwtClaims, s as withUserClaims } from "./claims-DouHL7ZL.js";
|
|
2
|
-
import { a as withSupport, i as withTenant, o as withServerContext, t as createServer } from "./server-
|
|
3
|
-
import { c as serverCore, i as withSession } from "./sessions-
|
|
2
|
+
import { a as withSupport, i as withTenant, o as withServerContext, t as createServer } from "./server-af58-Q51.js";
|
|
3
|
+
import { c as serverCore, i as withSession } from "./sessions-w6xril_l.js";
|
|
4
4
|
import { o as problemResponse } from "./problem-BwplIuhI.js";
|
|
5
5
|
import { i as guard, n as defaultExpose } from "./respond-DLvLJwwN.js";
|
|
6
6
|
import { s as withPrimaryPin } from "./replicas-DiDz-zyr.js";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { p 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 SessionEntryOptions } from "./session-
|
|
6
|
-
import { g as ReplicaState, r as BetterServer, s as ServerContext, u as ServerOptions } from "./server-types-
|
|
7
|
-
import { t as ActiveSupport } from "./support-
|
|
1
|
+
import { p as Db, s as BetterSupabase } from "./db-blocks-_jJICfjp.js";
|
|
2
|
+
import { O as AnyFunctions, k as AnyModels } from "./types-Dizn1liT.js";
|
|
3
|
+
import { r as AuthState } from "./resolve-Pn7KvQ23.js";
|
|
4
|
+
import { r as GuardOptions } from "./respond-vxhdVf23.js";
|
|
5
|
+
import { n as SessionEntryOptions } from "./session-D5IrTUwv.js";
|
|
6
|
+
import { g as ReplicaState, r as BetterServer, s as ServerContext, u as ServerOptions } from "./server-types-By5oBsDZ.js";
|
|
7
|
+
import { t as ActiveSupport } from "./support-8jVUURe-.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 { Z as ReadSetParamTypes, at as BlockReadMap, q as ReadSet, s as BetterSupabase } from "./db-blocks-
|
|
2
|
-
import { O as AnyFunctions, k as AnyModels } from "./types-
|
|
1
|
+
import { Z as ReadSetParamTypes, at as BlockReadMap, q as ReadSet, s as BetterSupabase } from "./db-blocks-_jJICfjp.js";
|
|
2
|
+
import { O as AnyFunctions, k as AnyModels } from "./types-Dizn1liT.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 { Ft as SubjectTeam, It as SubjectsConfig, Mt as SubjectConfig, Nt as SubjectPermission, Pt 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 } from "../blocks-
|
|
3
|
-
import { $r as SkillsAgent, Gr as DoctorConfig, Jr as GenTask, Kr as EnvFileConfig, Qr as PowerSyncGenConfig, Xr as KeysConfig, Yr as IntegrationName, Zr as MigrationSafetyConfig, ai as INTEGRATION_NAMES, cn as FIELD_FORMATS, dn as FieldFormatInput, ei as SkillsConfig, ii as INTEGRATION_INFO, oi as IntegrationInfo, qr as GenConfig, ri as GEN_TASKS, si as SKILLS_AGENTS, un as FieldFormat } from "../define-block-
|
|
4
|
-
import { $ as flattenConfig, $n as SeedSampleConfig, $r as AppLookupConfig, Ai as ExtrasTable, Ar as GeneratorModule, At as BlockInput, B as claimPaths, Bi as RpcFunctionArg, Bt as ColumnPrivilege, Ci as CatalogTable, Cr as GeneratorFunction, Ct as ResolvedConfig, Di as ExtrasFunction, Dr as GeneratorInputSchema, Dt as AppTablesInput, Ei as ExtrasDomain, Er as GeneratorInput, Et as AppTableInput, Fi as GeneratorMetadata, Fr as RelationsConfig, Ft as SqlInput, G as blockEventRenames, Gr as APP_COLUMN_TYPES, Gt as ResolvedExpose, H as BlockEntity, Hi as RpcFunctionReturns, Ht as ExposePrivilege, Ii as PostgresColumn, Ir as SourceConfig, It as TenantConfig, J as FormerPermissionKeyError, Jn as RealtimeConfig, Jr as APP_TABLE_EVENT_KINDS, K as blockFormerFunctions, Kr as APP_ON_DELETE_ACTIONS, Li as PostgresFunction, Lr as TableConfig, Lt as ToolingConfig, Mi as Snapshot, Mr as GeneratorTable, Mt as DatabaseConfig, Ni as SnapshotBucket, Nr as JsonSchemaSource, Nt as EnvironmentConfig, Oi as ExtrasHook, Or as GeneratorJsonSchema, Ot as AuthConfig, Pi as SnapshotExtras, Pr as JsonTypeConfig, Pt as GenGroupConfig, Q as blockEntrySource, Qn as SeedDefaultsConfig, Qr as AppColumnType, R as ClaimPaths, Ri as PostgresFunctionArg, Rr as CONFIG_DEFAULTS, Rt as EntitlementPlansSource, Si as CatalogPolicy, Sr as GeneratorField, St as HooksFramework, Ti as CatalogUnique, Tr as GeneratorImports, Tt as ApiConfig, U as blockEntities, Ui as RpcReturnColumn, Ur as APP_COLUMN_ACCESS, Ut as ExposeRole, V as tenantClaimPaths, Vi as RpcFunctionOverload, Vt as ExposeConfig, W as blockEntityRenames, Wi as RpcTypeReference, Wr as APP_COLUMN_FORMATS, Wt as Privilege, X as RENAMED_BLOCK_KEYS, Xn as ResolvedSqlConfig, Xr as AppColumnConfig, Y as CONFIG_GROUPS, Yn as ResolvedSeedConfig, Yr as AppColumnAccess, Z as RENAMED_CONFIG_KEYS, Zn as SeedConfig, Zr as AppColumnFormat, _i as CatalogForeignKey, _r as GeneratorBlockEntity, ai as AppTableConfig, ar as TopicTriggerLookupConfig, at as generatorProblem, bi as CatalogGrant, br as GeneratorConfigView, bt as DataHooksSelect, ci as AppTableEvents, cr as TopicTriggerValueConfig, ct as BucketName, di as AppTablesConfig, dr as resolveJsonSchema, ei as AppOnDeleteAction, er as SeedSampleSize, et as groupConfig, fi as Catalog, fr as ClaimsConfig, ft as ExpandedConfig, gi as CatalogEnum, gr as GeneratorBlock, hi as CatalogColumnGrant, hr as Generator, ii as AppRollupConfig, ir as TopicTriggerConfig, it as defineConfig, ji as ForeignKeyAction, jr as GeneratorNoun, jt as BlocksInput, ki as ExtrasHookFunction, kr as GeneratorModel, kt as BetterSupabaseConfig, li as AppTableSubject, lr as VectorDistance, lt as ConfigReferences, mi as CatalogColumn, mr as GeneratedFile, ni as AppReferenceTarget, nr as SqlConfig, nt as CONFIG_SCHEMA_URL, oi as AppTableEmbedding, or as TopicTriggerPayloadValueConfig, ot as resolveConfig, pi as CatalogCheck, pr as CodecsConfig, q as blockSubjectTypes, qn as BucketConfig, qr as APP_ROLLUP_AGGREGATES, ri as AppRollupAggregate, rr as SqlWorkflow, rt as ResolveInput, si as AppTableEventKind, sr as TopicTriggerTopicConfig, st as BlockTableReference, ti as AppReference, tr as SqlBlockDefaults, tt as groupEntries, ui as AppTableVersions, ur as VectorSearchConfig, ut as RoleNames, vi as CatalogFunction, vr as GeneratorCapability, vt as DataHooksConfig, wi as CatalogTrigger, wr as GeneratorFunctionArg, wt as ResolvedExtensions, xi as CatalogIndex, xr as GeneratorEntitySchemas, xt as FlatConfig, yi as CatalogFunctionArg, yr as GeneratorColumn, yt as DataHooksFramework, z as DEFAULT_CLAIMS, zi as RpcFunction, zt as EntitlementsConfig } from "../context-
|
|
5
|
-
import { _ as resolvePersonas, a as AuthorizationPermission, c as AuthorizationProvider, d as AuthorizationScope, f as AuthorizationTokenHook, g as providerApiProblem, h as permissionLevelKey, i as AuthorizationOperation, l as AuthorizationRequirement, m as PERMISSION_LEVEL_SEPARATOR, n as AuthorizationFunctions, o as AuthorizationPersona, p as AuthorizationVersions, r as AuthorizationMembership, s as AuthorizationPlatformRoles, t as AuthorizationFixtureRole, u as AuthorizationRoleSource, v as splitPermissionLevel } from "../authorization-
|
|
1
|
+
import { N as Casing } from "../types-Dizn1liT.js";
|
|
2
|
+
import { Ft as SubjectTeam, It as SubjectsConfig, Mt as SubjectConfig, Nt as SubjectPermission, Pt 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 } from "../blocks-D4ngpPJ_.js";
|
|
3
|
+
import { $r as SkillsAgent, Gr as DoctorConfig, Jr as GenTask, Kr as EnvFileConfig, Qr as PowerSyncGenConfig, Xr as KeysConfig, Yr as IntegrationName, Zr as MigrationSafetyConfig, ai as INTEGRATION_NAMES, cn as FIELD_FORMATS, dn as FieldFormatInput, ei as SkillsConfig, ii as INTEGRATION_INFO, oi as IntegrationInfo, qr as GenConfig, ri as GEN_TASKS, si as SKILLS_AGENTS, un as FieldFormat } from "../define-block-DQvTGOGv.js";
|
|
4
|
+
import { $ as flattenConfig, $n as SeedSampleConfig, $r as AppLookupConfig, Ai as ExtrasTable, Ar as GeneratorModule, At as BlockInput, B as claimPaths, Bi as RpcFunctionArg, Bt as ColumnPrivilege, Ci as CatalogTable, Cr as GeneratorFunction, Ct as ResolvedConfig, Di as ExtrasFunction, Dr as GeneratorInputSchema, Dt as AppTablesInput, Ei as ExtrasDomain, Er as GeneratorInput, Et as AppTableInput, Fi as GeneratorMetadata, Fr as RelationsConfig, Ft as SqlInput, G as blockEventRenames, Gr as APP_COLUMN_TYPES, Gt as ResolvedExpose, H as BlockEntity, Hi as RpcFunctionReturns, Ht as ExposePrivilege, Ii as PostgresColumn, Ir as SourceConfig, It as TenantConfig, J as FormerPermissionKeyError, Jn as RealtimeConfig, Jr as APP_TABLE_EVENT_KINDS, K as blockFormerFunctions, Kr as APP_ON_DELETE_ACTIONS, Li as PostgresFunction, Lr as TableConfig, Lt as ToolingConfig, Mi as Snapshot, Mr as GeneratorTable, Mt as DatabaseConfig, Ni as SnapshotBucket, Nr as JsonSchemaSource, Nt as EnvironmentConfig, Oi as ExtrasHook, Or as GeneratorJsonSchema, Ot as AuthConfig, Pi as SnapshotExtras, Pr as JsonTypeConfig, Pt as GenGroupConfig, Q as blockEntrySource, Qn as SeedDefaultsConfig, Qr as AppColumnType, R as ClaimPaths, Ri as PostgresFunctionArg, Rr as CONFIG_DEFAULTS, Rt as EntitlementPlansSource, Si as CatalogPolicy, Sr as GeneratorField, St as HooksFramework, Ti as CatalogUnique, Tr as GeneratorImports, Tt as ApiConfig, U as blockEntities, Ui as RpcReturnColumn, Ur as APP_COLUMN_ACCESS, Ut as ExposeRole, V as tenantClaimPaths, Vi as RpcFunctionOverload, Vt as ExposeConfig, W as blockEntityRenames, Wi as RpcTypeReference, Wr as APP_COLUMN_FORMATS, Wt as Privilege, X as RENAMED_BLOCK_KEYS, Xn as ResolvedSqlConfig, Xr as AppColumnConfig, Y as CONFIG_GROUPS, Yn as ResolvedSeedConfig, Yr as AppColumnAccess, Z as RENAMED_CONFIG_KEYS, Zn as SeedConfig, Zr as AppColumnFormat, _i as CatalogForeignKey, _r as GeneratorBlockEntity, ai as AppTableConfig, ar as TopicTriggerLookupConfig, at as generatorProblem, bi as CatalogGrant, br as GeneratorConfigView, bt as DataHooksSelect, ci as AppTableEvents, cr as TopicTriggerValueConfig, ct as BucketName, di as AppTablesConfig, dr as resolveJsonSchema, ei as AppOnDeleteAction, er as SeedSampleSize, et as groupConfig, fi as Catalog, fr as ClaimsConfig, ft as ExpandedConfig, gi as CatalogEnum, gr as GeneratorBlock, hi as CatalogColumnGrant, hr as Generator, ii as AppRollupConfig, ir as TopicTriggerConfig, it as defineConfig, ji as ForeignKeyAction, jr as GeneratorNoun, jt as BlocksInput, ki as ExtrasHookFunction, kr as GeneratorModel, kt as BetterSupabaseConfig, li as AppTableSubject, lr as VectorDistance, lt as ConfigReferences, mi as CatalogColumn, mr as GeneratedFile, ni as AppReferenceTarget, nr as SqlConfig, nt as CONFIG_SCHEMA_URL, oi as AppTableEmbedding, or as TopicTriggerPayloadValueConfig, ot as resolveConfig, pi as CatalogCheck, pr as CodecsConfig, q as blockSubjectTypes, qn as BucketConfig, qr as APP_ROLLUP_AGGREGATES, ri as AppRollupAggregate, rr as SqlWorkflow, rt as ResolveInput, si as AppTableEventKind, sr as TopicTriggerTopicConfig, st as BlockTableReference, ti as AppReference, tr as SqlBlockDefaults, tt as groupEntries, ui as AppTableVersions, ur as VectorSearchConfig, ut as RoleNames, vi as CatalogFunction, vr as GeneratorCapability, vt as DataHooksConfig, wi as CatalogTrigger, wr as GeneratorFunctionArg, wt as ResolvedExtensions, xi as CatalogIndex, xr as GeneratorEntitySchemas, xt as FlatConfig, yi as CatalogFunctionArg, yr as GeneratorColumn, yt as DataHooksFramework, z as DEFAULT_CLAIMS, zi as RpcFunction, zt as EntitlementsConfig } from "../context-m-t6Kr9_.js";
|
|
5
|
+
import { _ as resolvePersonas, a as AuthorizationPermission, c as AuthorizationProvider, d as AuthorizationScope, f as AuthorizationTokenHook, g as providerApiProblem, h as permissionLevelKey, i as AuthorizationOperation, l as AuthorizationRequirement, m as PERMISSION_LEVEL_SEPARATOR, n as AuthorizationFunctions, o as AuthorizationPersona, p as AuthorizationVersions, r as AuthorizationMembership, s as AuthorizationPlatformRoles, t as AuthorizationFixtureRole, u as AuthorizationRoleSource, v as splitPermissionLevel } from "../authorization-glyinWcf.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 AuthorizationFixtureRole, 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 FieldFormat, type FieldFormatInput, type FlatConfig, type ForeignKeyAction, FormerPermissionKeyError, GEN_TASKS, type GenConfig, type GenGroupConfig, type GenTask, type GeneratedFile, type Generator, type GeneratorBlock, type GeneratorBlockEntity, type GeneratorCapability, type GeneratorColumn, type GeneratorConfigView, type GeneratorEntitySchemas, type GeneratorField, type GeneratorFunction, type GeneratorFunctionArg, type GeneratorImports, type GeneratorInput, type GeneratorInputSchema, type GeneratorJsonSchema, type GeneratorMetadata, type GeneratorModel, type GeneratorModule, type GeneratorNoun, type GeneratorTable, type HooksFramework, INTEGRATION_INFO, INTEGRATION_NAMES, type IntegrationInfo, type IntegrationName, type JsonSchemaSource, type JsonTypeConfig, type KeysConfig, type MigrationSafetyConfig, type OwnTablePolicies, PERMISSION_LEVEL_SEPARATOR, 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 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 VectorDistance, type VectorSearchConfig, blockEntities, blockEntityRenames, blockEntrySource, blockEventRenames, blockFormerFunctions, blockSubjectTypes, claimPaths, defineConfig, flattenConfig, generatorProblem, groupConfig, groupEntries, permissionLevelKey, providerApiProblem, resolveConfig, resolveJsonSchema, resolvePersonas, splitPermissionLevel, tenantClaimPaths, tenantNameOf };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
/// <reference lib="esnext.temporal" />
|
|
2
2
|
import { n as ExtraFields, r as FieldsOf } from "./block-fields-go27qquz.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-b7-RUIxS.js";
|
|
4
|
+
import { t as BlockTransport } from "./block-transport-Bqne7_GN.js";
|
|
5
5
|
import { T as ErrorMapper, t as AsyncResult } from "./result-aun_QZHn.js";
|
|
6
6
|
import { n as Logger } from "./logger-0LfhvwE4.js";
|
|
7
7
|
import { t as StandardSchemaV1 } from "./standard-Vmy7ALDX.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-DSokOaUo.js";
|
|
9
|
+
import { r as BlockTemporalOptions } from "./block-helpers-DDotKGAf.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-b7-RUIxS.js";
|
|
3
3
|
import { n as Logger } from "./logger-0LfhvwE4.js";
|
|
4
4
|
import { t as AsyncResult } from "./result-aun_QZHn.js";
|
|
5
|
-
import { et as RecordRef } from "./types-
|
|
6
|
-
import { n as BlockOptions } from "./block-helpers-
|
|
5
|
+
import { et as RecordRef } from "./types-Dizn1liT.js";
|
|
6
|
+
import { n as BlockOptions } from "./block-helpers-DDotKGAf.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-go27qquz.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-b7-RUIxS.js";
|
|
5
|
+
import { t as BlockTransport } from "./block-transport-Bqne7_GN.js";
|
|
6
6
|
import { T as ErrorMapper, t as AsyncResult } from "./result-aun_QZHn.js";
|
|
7
7
|
import { n as Logger } from "./logger-0LfhvwE4.js";
|
|
8
8
|
import { t as StandardSchemaV1 } from "./standard-Vmy7ALDX.js";
|
|
9
|
-
import { i as CursorPageOptions, r as BlockTemporalOptions } from "./block-helpers-
|
|
9
|
+
import { i as CursorPageOptions, r as BlockTemporalOptions } from "./block-helpers-DDotKGAf.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. */
|
|
@@ -422,8 +422,8 @@ interface ContactsOptions<S extends StandardSchemaV1 | undefined = undefined> ex
|
|
|
422
422
|
}
|
|
423
423
|
/**
|
|
424
424
|
* The parties block: companies and people an organization works with. Register
|
|
425
|
-
* them in `config.
|
|
426
|
-
* pipelines and deals can point at them.
|
|
425
|
+
* them in `config.recordTypes` with `partiesSubjects()` so comments, tags,
|
|
426
|
+
* files, pipelines and deals can point at them.
|
|
427
427
|
*/
|
|
428
428
|
declare function createContacts<S extends StandardSchemaV1 | undefined = undefined>(options: ContactsOptions<S>): Contacts<FieldsOf<S>>;
|
|
429
429
|
export { DeliveryChannel as A, REPRESENTATIVE_AUTHORITIES as C, CREDIT_BLOCKS as D, RepresentativeRole as E, SUPPLIER_STATUSES as M, SupplierStatus as N, CreditBlock as O, PaymentTermInput as S, RepresentativeAuthority as T, RepresentedRecord as _, ContactsOptions as a, DeliveryPreferenceInput as b, PartyListOptions as c, PersonIdentity as d, PersonIdentityInput as f, Representative as g, Representation as h, Contacts as i, PARTY_ROLES as j, DELIVERY_CHANNELS as k, PartyPage as l, PersonMode as m, CompanyInput as n, Party as o, PersonInput as p, CompanyPerson as r, PartyCursor as s, Company as t, Person as u, createContacts as v, REPRESENTATIVE_ROLES as w, PaymentTerm as x, DeliveryPreference as y };
|