better-supabase 0.59.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-DxSyD4yi.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-BAjra5Eb.js → adapter-base-DGiRWzEo.js} +2 -2
- package/dist/{agents-CbsEgoLN.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-BxBsTpji.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-DAJJ7N_0.js → api-Q23GAwx1.js} +1 -1
- package/dist/{api-keys-BlfwKpXq.d.ts → api-keys-Bfk9mJgz.d.ts} +4 -4
- package/dist/{api-wRlj_7so.d.ts → api-pGkHTqH6.d.ts} +5 -5
- package/dist/{app-tables-DBmFqdFN.d.ts → app-tables-BHoeMC9w.d.ts} +1 -1
- package/dist/{approvals-Bbxeiywy.d.ts → approvals-B1mzlyzk.d.ts} +12 -6
- package/dist/{approvals-Clg-7ghA.js → approvals-D7Xhpd52.js} +8 -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-Dq47C4vf.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-Bx0H1vAc.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-DUn5reXc.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-BaLXCQha.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/approvals/index.js +2 -2
- 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 +8 -8
- package/dist/blocks/care-plans/index.d.ts +6 -6
- package/dist/blocks/care-plans/index.js +2 -2
- package/dist/blocks/cases/index.d.ts +5 -5
- package/dist/blocks/catalog/index.d.ts +4 -4
- package/dist/blocks/channels/index.d.ts +7 -7
- package/dist/blocks/clinical-decision-support/index.d.ts +4 -4
- package/dist/blocks/cms/index.d.ts +7 -7
- package/dist/blocks/cms/index.js +1 -1
- 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 +5 -5
- 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 +3 -3
- package/dist/blocks/flags/index.d.ts +5 -5
- package/dist/blocks/forecasts/index.d.ts +3 -3
- package/dist/blocks/forms/index.d.ts +4 -4
- package/dist/blocks/funding/index.d.ts +5 -5
- package/dist/blocks/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/index.js +2 -2
- 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/invoices/index.js +1 -1
- package/dist/blocks/knowledge/index.d.ts +3 -3
- package/dist/blocks/lead-scoring/index.d.ts +4 -4
- package/dist/blocks/learning/index.d.ts +5 -5
- package/dist/blocks/leases/index.d.ts +6 -6
- package/dist/blocks/leave/index.d.ts +3 -3
- package/dist/blocks/ledger/index.d.ts +6 -6
- package/dist/blocks/legal-entities/index.d.ts +6 -6
- package/dist/blocks/lims/index.d.ts +6 -6
- package/dist/blocks/mail-sync/index.d.ts +5 -5
- package/dist/blocks/maintenance/index.d.ts +4 -4
- package/dist/blocks/manufacturing/index.d.ts +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 +2 -2
- package/dist/blocks/profiles/index.d.ts +3 -3
- package/dist/blocks/projects/index.d.ts +8 -8
- package/dist/blocks/projects/index.js +2 -2
- package/dist/blocks/promotions/index.d.ts +3 -3
- package/dist/blocks/prompts/index.d.ts +4 -4
- package/dist/blocks/push/index.d.ts +7 -7
- package/dist/blocks/qualifications/index.d.ts +4 -4
- package/dist/blocks/queue/index.d.ts +5 -5
- package/dist/blocks/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-RVd7m590.d.ts → blocks-D4ngpPJ_.d.ts} +17 -7
- 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-Rz89mkdS.js → build-CRxrX567.js} +1 -1
- package/dist/{cache-tags-BxpxsCtq.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-BEVTXHQx.d.ts → claims-source-D-4CztOl.d.ts} +2 -2
- package/dist/cli/{add-BJNTq7Ti.js → add-CN5jkEFM.js} +2 -2
- package/dist/cli/add-fra98UnY.js +1 -0
- package/dist/cli/{add-CnCt2QoB.js → add-ucxskHiv.js} +11 -11
- package/dist/cli/{app-table-files-CfB0_NuX.js → app-table-files-FcgTfOf9.js} +4 -4
- package/dist/cli/{app-tables-oieRU_sP.js → app-tables-DCpSNfJ3.js} +2 -2
- package/dist/cli/{backfill-Cr5jgVi1.js → backfill-DVP_elK_.js} +3 -3
- package/dist/cli/bin.js +1 -1
- package/dist/cli/{blocks-DLMVaOFG.js → blocks-CFKjKW4s.js} +1 -1
- package/dist/cli/{blocks-B-ANsRnH.js → blocks-iSEepN2Y.js} +1 -1
- package/dist/cli/{cache-Ba26VW2N.js → cache-CNa3fjK-.js} +1 -1
- package/dist/cli/{codemod-x1I7Mjr3.js → codemod-DH-VSZps.js} +6 -6
- package/dist/cli/{codemod-naming-CZhndoO7.js → codemod-naming-CuQ0ltfE.js} +1 -1
- package/dist/cli/{codes-DNq30BZg.js → codes-D_oa7Aw5.js} +3 -3
- package/dist/cli/{column-renames-BEEDF6P6.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-z7CrnE1s.js → content-mapper-TATvvrmb.js} +1 -1
- package/dist/cli/{db-CEUnv3hK.js → db-CZ9qHsDs.js} +2 -2
- package/dist/cli/{dev-D9nn9Gzt.js → dev-BDv1efAy.js} +5 -5
- package/dist/cli/{doctor-DCorhlir.js → doctor-CkO1yd7F.js} +242 -109
- package/dist/cli/{emit-qQdWBc9e.js → emit-OhupwGNp.js} +3 -3
- package/dist/cli/{gen-Bf1ujcTm.js → gen-1lVJoeH1.js} +5 -5
- package/dist/cli/{gen-tasks-q9JJSJ6r.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-DLLfL1uL.js → init-Defy7VJ0.js} +9 -9
- package/dist/cli/{live-D4giSEyd.js → live-DmvnAvGV.js} +2 -2
- package/dist/cli/{mcp-DwjeMbmV.js → mcp-BGKeD-lo.js} +2 -2
- package/dist/cli/{memo-backend-DPGMyJvH.js → memo-backend-3u-X51UO.js} +1 -1
- package/dist/cli/{metadata-Cft3CW1M.js → metadata-D0UazHyQ.js} +4 -4
- package/dist/cli/{migrate-Ci_UUuPv.js → migrate-PshyB8a6.js} +1 -1
- package/dist/cli/{migration-safety-D3raBuJx.js → migration-safety-DYgRA8-5.js} +2 -2
- package/dist/cli/{module-migration-DZtxNO8A.js → module-migration-CRsIlrig.js} +1 -1
- package/dist/cli/{partition-DWJ6icQ5.js → partition-ht8zldUV.js} +3 -3
- package/dist/cli/powersync-BztAuUyy.js +1 -0
- package/dist/cli/{powersync-BAyDVR-N.js → powersync-r6iL7zEo.js} +4 -4
- package/dist/cli/{print-BSy5c62C.js → print-Ca78W5ZF.js} +2 -2
- package/dist/cli/{providers-BbFKOale.js → providers-DhMSptuy.js} +1 -1
- package/dist/cli/{prune-workflows-VY7C9vhb.js → prune-workflows-DyZx-veL.js} +3 -3
- package/dist/cli/{remove-CcBoTjEO.js → remove-37g_SvZW.js} +6 -6
- package/dist/cli/{render-CIrcdge6.js → render-Bfh2EtMO.js} +5 -5
- package/dist/cli/{render-cache-bbL2UdJ6.js → render-cache-BYkVt264.js} +1 -1
- package/dist/cli/round-trips-BHfeIu6I.js +238 -0
- package/dist/cli/{run-D_p_WkPh.js → run-CfWFddfH.js} +8 -8
- package/dist/cli/{run-qCtE--0z.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-CkqZm0Bz.js → shared-BrAtQXmC.js} +1 -1
- package/dist/cli/{source-io7b1UpH.js → source-Bt6UAek-.js} +1 -1
- package/dist/cli/{source-args-yU6N6JLm.js → source-args-D5BSEgUG.js} +1 -1
- package/dist/cli/{spec-QGOfTJvS.js → spec-BJreyth3.js} +1 -1
- package/dist/cli/{spec-djAAvGKU.js → spec-DsNayDt2.js} +2 -2
- package/dist/cli/{sql-layout-1ASqdR4g.js → sql-layout-Bt7NcWXk.js} +4 -4
- package/dist/cli/{squash-DEmB47YZ.js → squash-DmbB7Gx9.js} +1 -1
- package/dist/cli/{sync-CUcxtnwa.js → sync-DFAkNjw_.js} +60 -8
- package/dist/cli/{upgrade-FWW6hKCv.js → upgrade-D8GOjXrv.js} +5 -5
- package/dist/cli/{upgrade-DV9mKpAp.js → upgrade-DP-30QID.js} +9 -7
- package/dist/cli/{verify-CrFHs8Lr.js → verify-O5zxWWuE.js} +2 -2
- package/dist/cli/{version-CSdXYnhG.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-Cjquuv8M.js → codec-CJaAdLjG.js} +2 -2
- package/dist/commerce/index.js +1 -1
- package/dist/{compiler-BwJR_BHq.d.ts → compiler-u6lO9V7r.d.ts} +2 -2
- package/dist/{composite-WUO6K2Hu.js → composite-Bxpd7oru.js} +2 -2
- package/dist/{composite-CL4zDLjs.d.ts → composite-CxojRRUF.d.ts} +7 -7
- package/dist/{composite-reads-BJeDe1yV.js → composite-reads-BJJBI4tL.js} +1 -1
- package/dist/{composite-reads-B9psRGqQ.d.ts → composite-reads-CK-Y5b6M.d.ts} +2 -2
- package/dist/config/index.d.ts +5 -5
- package/dist/config/index.js +2 -2
- package/dist/{config-C3yry9U5.js → config-cisS43w5.js} +1 -1
- 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-DMTfze4z.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-l9h4TtKg.d.ts → controller-zwQFyrOG.d.ts} +1 -1
- package/dist/{conversion-D70FELty.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 +6 -4
- 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-Db3LVXco.d.ts → db-blocks-_jJICfjp.d.ts} +16 -7
- package/dist/{define-BDrm9Vl7.d.ts → define-BVBAeKTi.d.ts} +1 -1
- package/dist/{define-block-D-Z8xB6y.d.ts → define-block-DQvTGOGv.d.ts} +14 -14
- package/dist/{define-runtime-Dv8OYnKW.js → define-runtime-DsFTahQB.js} +2 -2
- package/dist/{define-runtime-full-C4eTtJAx.js → define-runtime-full-B_cMkyCk.js} +3 -3
- package/dist/{delete-account-BHXzIUIq.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-DrD94tWF.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-B6q7TIMP.d.ts → entitlements-D4ob6MfK.d.ts} +3 -3
- package/dist/eve/index.d.ts +9 -9
- package/dist/eve/index.js +2 -2
- 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-BmcRcw83.js → executor-D24_D6dr.js} +2 -2
- package/dist/{executor-Dp4A_McY.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-D4QPFB_M.d.ts → extract-W4zb3wIh.d.ts} +5 -5
- package/dist/{extras-C0cnpjDP.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-Br3wwgbu.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/{former-permission-keys-BwJW5uc6.js → former-permission-keys-D8FbWktT.js} +2 -2
- package/dist/{framework-BUzOnlJN.d.ts → framework-BYx1ke3r.d.ts} +8 -8
- package/dist/{framework-CbjS8M33.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-DG187JM_.d.ts → index-46tesKqa.d.ts} +6 -6
- package/dist/{index-BAku12tP.d.ts → index-BHkxtS6f.d.ts} +1 -1
- package/dist/{index-BWxcC8ll.d.ts → index-BLPzvJ5v.d.ts} +9 -9
- package/dist/{index-BquYRGtV.d.ts → index-BVuN7_fC.d.ts} +8 -8
- package/dist/{index-jCKNxp8C.d.ts → index-BYDpdZxq.d.ts} +5 -5
- package/dist/{index-BZHDwHGW.d.ts → index-BZCCv04g.d.ts} +4 -4
- package/dist/{index-Dyns9a8l.d.ts → index-Bb_il0ub.d.ts} +5 -5
- package/dist/{index-CHOeFZUB.d.ts → index-BfnBjZpy.d.ts} +5 -5
- package/dist/{index-Cg0lDbXs.d.ts → index-BomyYKtC.d.ts} +6 -6
- package/dist/{index-DMyMrXPW.d.ts → index-BpQxfGSO.d.ts} +6 -6
- package/dist/{index-DU_gZYuh.d.ts → index-Bu4YwWl0.d.ts} +3 -3
- package/dist/{index-DtVZnjKf.d.ts → index-ByCXNZ2j.d.ts} +2 -2
- package/dist/{index-D3d7m03L.d.ts → index-C37Wq488.d.ts} +6 -6
- package/dist/{index-NNox0BqF.d.ts → index-CDX9U_CH.d.ts} +4 -4
- package/dist/{index-WuUhLgMp.d.ts → index-CQGi7Jnn.d.ts} +9 -9
- package/dist/{index-CnTxcNyl.d.ts → index-CWTWbIz_.d.ts} +3 -3
- package/dist/{index-ClysJ8O-.d.ts → index-CjoB5SrD.d.ts} +5 -5
- package/dist/{index-DLlAc0wg.d.ts → index-ClqA-t45.d.ts} +5 -5
- package/dist/{index-BfoKErj3.d.ts → index-CriIH7di.d.ts} +5 -5
- package/dist/{index-o2y0w9lX.d.ts → index-Crm9IjfQ.d.ts} +7 -7
- package/dist/{index-Dg4lbDzI.d.ts → index-CxX_Bgfa.d.ts} +6 -6
- package/dist/{index-DK0Hj3pi.d.ts → index-CxZV8RJE.d.ts} +6 -6
- package/dist/{index-d2TijvXV.d.ts → index-D2R8Msu5.d.ts} +1 -1
- package/dist/{index-B6h9m3ml.d.ts → index-DCqy0ESb.d.ts} +2 -2
- package/dist/{index-C7Tcervm.d.ts → index-DW_S9n3h.d.ts} +7 -7
- package/dist/{index-DkALeCTq.d.ts → index-DYh76mE_.d.ts} +2 -2
- package/dist/{index-DHjZvZWC.d.ts → index-D_0l5hHh.d.ts} +4 -4
- package/dist/{index-B4uPo3Sr.d.ts → index-DeI4h1N1.d.ts} +7 -7
- package/dist/{index-bkm44ycq.d.ts → index-Dea13gIz.d.ts} +6 -6
- package/dist/{index-BbpacfC0.d.ts → index-DlUd0CTA.d.ts} +9 -9
- package/dist/{index-BFvj-fNS.d.ts → index-DpoUltRu.d.ts} +2 -2
- package/dist/{index-DGszLnec.d.ts → index-DsNwQRWG.d.ts} +3 -3
- package/dist/{index-DYX_uL5t.d.ts → index-DyV6z0Q_.d.ts} +8 -8
- package/dist/{index-ouiV6zqH.d.ts → index-Dyhkn8FU.d.ts} +5 -5
- package/dist/{index-DKuOnwh6.d.ts → index-IrsC8TLH.d.ts} +8 -8
- package/dist/{index-D_xJSanv.d.ts → index-SWDnWdWw.d.ts} +3 -3
- package/dist/{index-C9p3wiWn.d.ts → index-SZ8qGIVO.d.ts} +15 -15
- package/dist/{index-X-ihJBuJ.d.ts → index-WoE9Z_V-.d.ts} +5 -5
- package/dist/{index-qzFFTwel.d.ts → index-r_SO6mVm.d.ts} +5 -5
- package/dist/index.d.ts +8 -8
- package/dist/index.js +2 -2
- package/dist/{invoices-CWp9jcI2.d.ts → invoices-L6khZ9kt.d.ts} +10 -5
- package/dist/{json-schema-B8f7HdoX.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-qCpvTDGH.d.ts → list-query-B6lXbY0T.d.ts} +4 -4
- package/dist/{manifest-D80LSWzZ.d.ts → manifest-2sJavyD8.d.ts} +6 -6
- package/dist/{manifest-BTR978h8.js → manifest-3XKIMZkJ.js} +1 -1
- package/dist/{manifest-Co41j70r.d.ts → manifest-4S1YGIS3.d.ts} +6 -6
- package/dist/{manifest-CZoRtSvn.d.ts → manifest-5i2UwyQr.d.ts} +4 -4
- package/dist/{manifest-CvncELVO.d.ts → manifest-B0pan6cS.d.ts} +5 -5
- package/dist/{manifest-VbHg6E4F.js → manifest-BBcaI1P8.js} +1 -1
- package/dist/{manifest-ra7MSo-3.d.ts → manifest-BEQWkGmf.d.ts} +5 -5
- package/dist/{manifest-Clzy2rSU.d.ts → manifest-BKiaRgiZ.d.ts} +3 -3
- package/dist/{manifest-BESrR9Xp.d.ts → manifest-BMilYLsh.d.ts} +3 -3
- package/dist/{manifest-dt25CCQA.js → manifest-BNmYcT7b.js} +1 -1
- package/dist/{manifest-BS8p47JO.d.ts → manifest-BRvnB8C0.d.ts} +5 -5
- package/dist/{manifest-CNLJLsHB.d.ts → manifest-BZPruG-S.d.ts} +4 -4
- package/dist/{manifest-CLG2lmYA.js → manifest-B_qm9fCI.js} +1 -1
- package/dist/{manifest-BoUGzBpS.d.ts → manifest-BaIG9QRj.d.ts} +4 -4
- package/dist/{manifest-V0QSCEfx.d.ts → manifest-Bf6Rzatq.d.ts} +4 -4
- package/dist/{manifest-TvLJWs_L.d.ts → manifest-Bfu-Cu0f.d.ts} +7 -7
- package/dist/{manifest-Dp92U_iP.d.ts → manifest-Bj8bumDU.d.ts} +6 -6
- package/dist/{manifest-WK23vBlH.js → manifest-Bkm_17rp.js} +2 -2
- package/dist/{manifest-CIVhJzKF.d.ts → manifest-BpgNJhYN.d.ts} +2 -2
- package/dist/{manifest-VCJSqffq.d.ts → manifest-BxvFH1G_.d.ts} +3 -3
- package/dist/{manifest-RitquXSE.d.ts → manifest-BzXqieUD.d.ts} +7 -7
- package/dist/{manifest-BGmmK9bZ.d.ts → manifest-C2hpeEBF.d.ts} +3 -3
- package/dist/{manifest-BLFyjEv_.js → manifest-C6bwnO77.js} +1 -1
- package/dist/{manifest-CKDaQT_5.d.ts → manifest-C95ET4CL.d.ts} +4 -4
- package/dist/{manifest-Dvm2mwFy.d.ts → manifest-CA5EhKZ9.d.ts} +3 -3
- package/dist/{manifest-CLukD6aB.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-qvMWfrZ-.d.ts → manifest-CMn61uKN.d.ts} +5 -5
- package/dist/{manifest-DlLxdk7P.d.ts → manifest-CS8I2fku.d.ts} +3 -3
- package/dist/{manifest-D08Cdndm.js → manifest-CSYLcs5d.js} +2 -2
- package/dist/{manifest--_00y416.d.ts → manifest-CWFhOuFW.d.ts} +4 -4
- package/dist/{manifest-BA-urVob.d.ts → manifest-CXdJUJjX.d.ts} +8 -8
- package/dist/{manifest-B_2lEGUS.d.ts → manifest-CYO44YUb.d.ts} +5 -5
- package/dist/{manifest-Dpad_5Lw.d.ts → manifest-Ccc0ZZup.d.ts} +6 -6
- package/dist/{manifest-QmYmc98q.d.ts → manifest-CiF1Sb29.d.ts} +6 -6
- package/dist/{manifest-BAn3lTr4.d.ts → manifest-Cl2U3bic.d.ts} +3 -3
- package/dist/{manifest-Ch08RUKa.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-DHTVfgX9.d.ts → manifest-CtL5JmoY.d.ts} +4 -4
- package/dist/{manifest-ByNpLQWh.d.ts → manifest-CumC7hH5.d.ts} +4 -4
- package/dist/{manifest-CyaHDD_i.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-CXYg8gzt.d.ts → manifest-D48Fi0bR.d.ts} +3 -3
- package/dist/{manifest-CWwdLMT0.d.ts → manifest-DOtSiMt5.d.ts} +4 -4
- package/dist/{manifest-r6DHrB4Q.d.ts → manifest-DUPKC2rO.d.ts} +5 -5
- package/dist/{manifest-CCKfdYiH.d.ts → manifest-DZyxhWcb.d.ts} +3 -3
- package/dist/{manifest-ByV81mLa.d.ts → manifest-DfC1XBrV.d.ts} +4 -4
- package/dist/{manifest-DHulRwzL.d.ts → manifest-DftU8SXo.d.ts} +5 -5
- package/dist/{manifest-CxgOFWlh.d.ts → manifest-Dg2BCyzg.d.ts} +4 -4
- package/dist/{manifest-CjzlsilW.d.ts → manifest-DiXINLQQ.d.ts} +5 -5
- package/dist/{manifest-D_wBteR5.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-C0v6IEWk.d.ts → manifest-DoZXpoG_.d.ts} +6 -6
- package/dist/{manifest-DofXV9lE.d.ts → manifest-Dp9ZtoFo.d.ts} +7 -7
- package/dist/{manifest-DLSzZMXM.d.ts → manifest-DpFy7git.d.ts} +8 -8
- package/dist/{manifest-DVZmJvrE.d.ts → manifest-DsINyvTh.d.ts} +6 -6
- package/dist/{manifest-C-pVDUC6.d.ts → manifest-DucB6ix_.d.ts} +4 -4
- package/dist/{manifest-CKCaFg8y.d.ts → manifest-DwBFwxFo.d.ts} +6 -6
- package/dist/{manifest-Cj6lOdW6.js → manifest-DwZwlGaz.js} +1 -1
- package/dist/{manifest-C8PUzse6.d.ts → manifest-FVkgBS-K.d.ts} +4 -4
- package/dist/{manifest-eUUJnoB5.d.ts → manifest-N5wuAzq4.d.ts} +8 -8
- package/dist/{manifest-BvzmDxod.d.ts → manifest-NkuGL5p2.d.ts} +4 -4
- package/dist/{manifest-DKnWcgse.d.ts → manifest-NuYSYeQT.d.ts} +5 -5
- package/dist/{manifest-D5aZyD1b.js → manifest-OxHBbWrs.js} +1 -1
- package/dist/{manifest-BEw6nEKW.d.ts → manifest-TG95ksdH.d.ts} +11 -11
- package/dist/{manifest-BMcuCUre.d.ts → manifest-YtnGn7F9.d.ts} +2 -2
- package/dist/{manifest-B7lSTuVC.d.ts → manifest-_zu02ImE.d.ts} +5 -5
- package/dist/{manifest-DCkeNzPW.d.ts → manifest-cJ3rQXtl.d.ts} +11 -11
- package/dist/{manifest-Fapf4NdA.d.ts → manifest-dOFbx7Iv.d.ts} +2 -2
- package/dist/{manifest-wbs2VkcB.d.ts → manifest-eaGk_4rq.d.ts} +6 -6
- package/dist/{manifest-B94f27dU.js → manifest-icEpY96-.js} +1 -1
- package/dist/{manifest-BYv5BqtY.d.ts → manifest-tP62uJrR.d.ts} +4 -4
- package/dist/{manifest-BgmY9fuz.d.ts → manifest-ubm80xCr.d.ts} +6 -6
- package/dist/{manifest-D0eItVsP.d.ts → manifest-wXk0ZLhO.d.ts} +4 -4
- package/dist/{manifest-Djy3wcSo.js → manifest-waO9DHVc.js} +1 -0
- package/dist/{manifest-DBfQe19Z.d.ts → manifest-x_fSttX7.d.ts} +4 -4
- package/dist/{manifest-C5LxShda.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-aMq1fkoe.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 +15 -10
- 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-nnC3pvwn.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-ZLtxCurD.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-DfDzwMCR.js → ports-BBowiGiD.js} +4 -4
- package/dist/{ports-CfVACwW_.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-BoJkQw2E.d.ts → preview-GUvVjUxf.d.ts} +6 -6
- package/dist/{project-DI09JnXz.js → project-wJ3jYipI.js} +3 -3
- package/dist/{provider-r2RjlARm.d.ts → provider-DSokOaUo.d.ts} +1 -1
- package/dist/{push-token-Rv1CxW_N.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/{read-set-BptYceHc.js → read-set-DfScfSsf.js} +3 -2
- package/dist/realtime/index.d.ts +6 -6
- package/dist/realtime/index.js +2 -2
- package/dist/{record-form-BHUYs5ju.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-Bb-zKYUc.d.ts → resource-execute-BQx_Pmeu.d.ts} +2 -2
- package/dist/{resource-types-C8kdoZ-J.d.ts → resource-types-lBguZ_8J.d.ts} +4 -4
- package/dist/{resources-B9dfA1jH.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-D_yZoFUU.js → sales-Br66jZAO.js} +3 -3
- 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-Bgugpk3A.js → server-af58-Q51.js} +10 -6
- package/dist/{server-types-C8zErBy9.d.ts → server-types-By5oBsDZ.d.ts} +18 -12
- package/dist/{session-DRn_URq0.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-Dp-X2YXo.d.ts → sign-in-TNX4Pj9E.d.ts} +18 -18
- 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-BqOBYRvI.js → sql-CP1j2jfo.js} +596 -227
- 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-Bh4zXrnl.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-BQaG8Hma.d.ts → tenant-CVRFoaDM.d.ts} +1 -1
- package/dist/testing/index.d.ts +36 -36
- package/dist/testing/index.js +38 -19
- package/dist/{timeline-D7T-qrKN.d.ts → timeline-T1qkzVdR.d.ts} +5 -5
- package/dist/{topic-CTqz7oYG.js → topic-CZ8FVS1o.js} +1 -1
- package/dist/{topic-R7kIJ_xI.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-BE6BvLv2.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-BfcOHiUP.d.ts → verify-dg8Q3iRY.d.ts} +2 -2
- package/dist/{version-CkYT3KbT.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-D18gT7-K.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-C04PIE9H.js +0 -1
- package/dist/cli/powersync-DnKUA1tu.js +0 -1
- package/dist/cli/round-trips-n_Dk1iUI.js +0 -54
- package/dist/cli/seed-CucH5loT.js +0 -1
|
@@ -4,13 +4,13 @@ import { i as PaymentEvent, n as Payment, o as PaymentProvider } from "./payment
|
|
|
4
4
|
import { t as StockDetail } from "./stock-detail-BRIt7CjU.js";
|
|
5
5
|
import { l as TaxProvider, p as TaxTransaction } from "./tax-fBGOPO9u.js";
|
|
6
6
|
import { r as FieldsOf } from "./block-fields-go27qquz.js";
|
|
7
|
-
import { n as BlockHooks } from "./block-hooks-
|
|
7
|
+
import { n as BlockHooks } from "./block-hooks-b7-RUIxS.js";
|
|
8
8
|
import { n as Logger } from "./logger-0LfhvwE4.js";
|
|
9
9
|
import { r as WebhookInput } from "./signatures-Db_koMbq.js";
|
|
10
10
|
import { t as StandardSchemaV1 } from "./standard-Vmy7ALDX.js";
|
|
11
|
-
import { _ as JobHandler } from "./types-
|
|
11
|
+
import { _ as JobHandler } from "./types-CID74uQG.js";
|
|
12
12
|
import { n as OrderVariants } from "./sales-variants-BoAmPvOd.js";
|
|
13
|
-
import { n as BlockOptions } from "./block-helpers-
|
|
13
|
+
import { n as BlockOptions } from "./block-helpers-DDotKGAf.js";
|
|
14
14
|
import { S as ShippingOption, _ as PricedCart, h as OrderStatus, l as Order, p as OrderRefundStatus, r as CartLine, t as Address, v as QuantityLine } from "./codecs-B5fYSNuM.js";
|
|
15
15
|
import { t as AsyncResult } from "./result-aun_QZHn.js";
|
|
16
16
|
interface OrderStatusTotal {
|
|
@@ -2,7 +2,7 @@ import { n as isRecord } from "./guards-CsRa6v57.js";
|
|
|
2
2
|
import { a as sqlString, i as sqlIdent } from "./template-CpYN7hZX.js";
|
|
3
3
|
import { n as blockOptions, r as option } from "./options-Bfd-k6yw.js";
|
|
4
4
|
import { $ as userGrant, C as insertExtraColumns, S as fail, Z as updateExtraColumns, b as extraFieldsArg, f as columnRef, p as columnsObject, q as splitTable, r as NOTHING } from "./shared-D-qwk29i.js";
|
|
5
|
-
import { l as tenantColumnOf, o as registeredSubjects, t as uniqueContributions } from "./contributions-
|
|
5
|
+
import { l as tenantColumnOf, o as registeredSubjects, t as uniqueContributions } from "./contributions-Ba-C1ueE.js";
|
|
6
6
|
import { t as RANK_ALPHABET } from "./rank-keys-CEBzd9Xa.js";
|
|
7
7
|
import { t as declareRead } from "./reads-CWVqw2JB.js";
|
|
8
8
|
import { c as stockHistory } from "./inventory-stock-D7rVAss1.js";
|
|
@@ -276,7 +276,7 @@ function entity(ctx, name, entry) {
|
|
|
276
276
|
const column = record["column"] ?? (record["table"] === void 0 ? void 0 : "number");
|
|
277
277
|
if (table !== void 0 && typeof table !== "string") throw new TypeError(`${where}.table must be "schema.table"`);
|
|
278
278
|
if (column !== void 0 && (typeof column !== "string" || !ENTITY.test(column))) throw new TypeError(`${where}.column must be a column name`);
|
|
279
|
-
if (table === void 0 !== (column === void 0)) throw new TypeError(`${where}.column needs a table: set table, or add a subject named "${name}" in config.
|
|
279
|
+
if (table === void 0 !== (column === void 0)) throw new TypeError(`${where}.column needs a table: set table, or add a subject named "${name}" in config.recordTypes`);
|
|
280
280
|
const sequenceColumn = record["sequenceColumn"];
|
|
281
281
|
if (sequenceColumn !== void 0 && (typeof sequenceColumn !== "string" || !ENTITY.test(sequenceColumn) || column === void 0 || sequenceColumn === column)) throw new TypeError(`${where}.sequenceColumn must be a column name other than column, with table and column set`);
|
|
282
282
|
const tenantColumn = record["tenantColumn"] ?? (typeof table === "string" ? tenantColumnOf(table, ctx.subjects, ctx.naming) : ctx.naming.rename("organization_id"));
|
package/dist/orpc/index.d.ts
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { r as AuthState } from "../resolve-
|
|
2
|
-
import { s as BetterSupabase } from "../db-blocks-
|
|
1
|
+
import { r as AuthState } from "../resolve-Pn7KvQ23.js";
|
|
2
|
+
import { s as BetterSupabase } from "../db-blocks-_jJICfjp.js";
|
|
3
3
|
import { b as DbError, f as Result } from "../result-aun_QZHn.js";
|
|
4
4
|
import { i as ProblemDetails } from "../problem-DfABfWnk.js";
|
|
5
|
-
import { O as AnyFunctions, k as AnyModels } from "../types-
|
|
6
|
-
import { c as ResourceLoaderContext, i as AuthorizeOptions } from "../kit-
|
|
5
|
+
import { O as AnyFunctions, k as AnyModels } from "../types-Dizn1liT.js";
|
|
6
|
+
import { c as ResourceLoaderContext, i as AuthorizeOptions } from "../kit-BwlTgitb.js";
|
|
7
7
|
import { a as RateLimitVerdict, c as RouteRateLimitRule, i as RateLimitRouteOptions, l as SingleRateLimitOptions, n as MultiRateLimiter, o as RateLimiter, r as RateLimitAllVerdict, s as RouteRateLimitHit, t as MultiRateLimitOptions } from "../rate-limit-DoUeCpsi.js";
|
|
8
|
-
import { i as MiddlewareOptions, r as GuardOptions } from "../respond-
|
|
9
|
-
import { r as BetterServer, s as ServerContext, u as ServerOptions } from "../server-types-
|
|
10
|
-
import { t as Api } from "../api-
|
|
11
|
-
import { a as ResourceHandler } from "../resource-types-
|
|
8
|
+
import { i as MiddlewareOptions, r as GuardOptions } from "../respond-vxhdVf23.js";
|
|
9
|
+
import { r as BetterServer, s as ServerContext, u as ServerOptions } from "../server-types-By5oBsDZ.js";
|
|
10
|
+
import { t as Api } from "../api-pGkHTqH6.js";
|
|
11
|
+
import { a as ResourceHandler } from "../resource-types-lBguZ_8J.js";
|
|
12
12
|
import { t as Validated } from "../shared-DsBcvj6q.js";
|
|
13
13
|
import { AnyEntry, Contributions } from "@supabase/middleware";
|
|
14
14
|
import { AnySchema, BuilderWithMiddlewares, DecoratedMiddleware, DecoratedProcedure, MetaPlugin, ORPCError, Schema } from "@orpc/server";
|
package/dist/orpc/index.js
CHANGED
|
@@ -2,14 +2,14 @@ import { i as toSession } from "../view-DpKWWhP2.js";
|
|
|
2
2
|
import { i as claimsOf } from "../claims-CX-ar1vt.js";
|
|
3
3
|
import { n as dbError, r as dbErrorOf } from "../errors-DK1wGb9z.js";
|
|
4
4
|
import { c as toProblem } from "../problem-BwplIuhI.js";
|
|
5
|
-
import { t as adapterBase } from "../adapter-base-
|
|
6
|
-
import { p as flushEvents } from "../sessions-
|
|
5
|
+
import { t as adapterBase } from "../adapter-base-DGiRWzEo.js";
|
|
6
|
+
import { p as flushEvents } from "../sessions-w6xril_l.js";
|
|
7
7
|
import { t as authorizeCaller } from "../kit-BgRTtW9w.js";
|
|
8
8
|
import { t as rateLimitGate } from "../rate-limit-Wolzge1m.js";
|
|
9
9
|
import { t as tenantOf } from "../tenant-Duq0dWqX.js";
|
|
10
10
|
import { r as refreshFor } from "../request-kind-BMNdlQpz.js";
|
|
11
11
|
import { i as guard, s as settle, t as assertCookieRefresh } from "../respond-DLvLJwwN.js";
|
|
12
|
-
import { n as extendServer, t as createServer } from "../server-
|
|
12
|
+
import { n as extendServer, t as createServer } from "../server-af58-Q51.js";
|
|
13
13
|
import { t as callWithInput } from "../block-method-DIbWG4Mj.js";
|
|
14
14
|
import { r as checkPermission } from "../authorizer-DtUCjKBn.js";
|
|
15
15
|
import { n as isRecord } from "../guards-CsRa6v57.js";
|
package/dist/otel/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { o as EventHub } from "../events-
|
|
2
|
-
import { Nt as Plugin } from "../types-
|
|
1
|
+
import { o as EventHub } from "../events-zz8DwtZi.js";
|
|
2
|
+
import { Nt as Plugin } from "../types-Dizn1liT.js";
|
|
3
3
|
import { t as SPEC_PINS } from "../spec-pins-Bb6V8nR2.js";
|
|
4
4
|
import { Attributes, Meter, Tracer } from "@opentelemetry/api";
|
|
5
5
|
export declare const INSTRUMENTATION_NAME = "better-supabase";
|
package/dist/otel/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { r as blockEventAttributes } from "../block-events-uKWyOpAy.js";
|
|
2
2
|
import { r as definePlugin } from "../plugin-Ca2qBiFZ.js";
|
|
3
3
|
import { t as SPEC_PINS } from "../spec-pins-Dlz8OVqi.js";
|
|
4
|
-
import "../version-
|
|
4
|
+
import "../version-B0uw5rOF.js";
|
|
5
5
|
import { SpanKind, SpanStatusCode, context, metrics, propagation, trace } from "@opentelemetry/api";
|
|
6
6
|
// src/otel/index.ts
|
|
7
7
|
const INSTRUMENTATION_NAME = "better-supabase";
|
|
@@ -40,9 +40,9 @@ function systemOf(executor) {
|
|
|
40
40
|
* ```
|
|
41
41
|
*/
|
|
42
42
|
function otel(options = {}) {
|
|
43
|
-
const tracer = options.tracer ?? trace.getTracer("better-supabase", "0.
|
|
43
|
+
const tracer = options.tracer ?? trace.getTracer("better-supabase", "0.61.0");
|
|
44
44
|
let histogram;
|
|
45
|
-
if (options.metrics !== false) histogram = (options.meter ?? metrics.getMeter("better-supabase", "0.
|
|
45
|
+
if (options.metrics !== false) histogram = (options.meter ?? metrics.getMeter("better-supabase", "0.61.0")).createHistogram("db.client.operation.duration", {
|
|
46
46
|
unit: "s",
|
|
47
47
|
description: "Duration of database client operations.",
|
|
48
48
|
advice: { explicitBucketBoundaries: [
|
|
@@ -231,7 +231,7 @@ function otel(options = {}) {
|
|
|
231
231
|
* `betterSupabase.events`. Returns a function that stops listening.
|
|
232
232
|
*/
|
|
233
233
|
function traceAuth(betterSupabase, options = {}) {
|
|
234
|
-
const tracer = options.tracer ?? trace.getTracer("better-supabase", "0.
|
|
234
|
+
const tracer = options.tracer ?? trace.getTracer("better-supabase", "0.61.0");
|
|
235
235
|
const offAuth = betterSupabase.events.on("auth", (event) => {
|
|
236
236
|
const span = tracer.startSpan("auth.resolve", {
|
|
237
237
|
kind: SpanKind.INTERNAL,
|
|
@@ -270,7 +270,7 @@ function traceAuth(betterSupabase, options = {}) {
|
|
|
270
270
|
* `*.denied`) set an error status. Returns a function that stops listening.
|
|
271
271
|
*/
|
|
272
272
|
function traceBlockEvents(betterSupabase, options = {}) {
|
|
273
|
-
const tracer = options.tracer ?? trace.getTracer("better-supabase", "0.
|
|
273
|
+
const tracer = options.tracer ?? trace.getTracer("better-supabase", "0.61.0");
|
|
274
274
|
return betterSupabase.events.on("block", (event) => {
|
|
275
275
|
const attributes = {
|
|
276
276
|
...options.attributes,
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
/// <reference lib="esnext.temporal" />
|
|
2
|
-
import { i as CursorPageOptions, n as BlockOptions } from "./block-helpers-
|
|
3
|
-
import { n as BlockHooks } from "./block-hooks-
|
|
4
|
-
import { g as SubscriberPolicy, i as AuthorizationHooks } from "./authorization-hooks-
|
|
2
|
+
import { i as CursorPageOptions, n as BlockOptions } from "./block-helpers-DDotKGAf.js";
|
|
3
|
+
import { n as BlockHooks } from "./block-hooks-b7-RUIxS.js";
|
|
4
|
+
import { g as SubscriberPolicy, i as AuthorizationHooks } from "./authorization-hooks-Oe0WJTn2.js";
|
|
5
5
|
import { b as DbError, t as AsyncResult } from "./result-aun_QZHn.js";
|
|
6
6
|
import { n as Logger } from "./logger-0LfhvwE4.js";
|
|
7
7
|
import { t as BlockProblemOptions } from "./problem-DfABfWnk.js";
|
|
8
|
-
import { i as EventSink, t as CloudEvent } from "./cloud-event-
|
|
8
|
+
import { i as EventSink, t as CloudEvent } from "./cloud-event-B0AsPtwP.js";
|
|
9
9
|
/** One row of the outbox, as `outbox_claim` and `outbox_history` return it. */
|
|
10
10
|
interface OutboxEvent {
|
|
11
11
|
/** The cursor value: increases with every event. */
|
|
@@ -2,10 +2,10 @@ import { n as isRecord } from "./guards-CsRa6v57.js";
|
|
|
2
2
|
import { a as sqlString, i as sqlIdent } from "./template-CpYN7hZX.js";
|
|
3
3
|
import { n as blockOptions, r as option } from "./options-Bfd-k6yw.js";
|
|
4
4
|
import { $ as userGrant, E as lockTable, G as sha256HexSql, H as schemaPreamble, P as quotedTable, S as fail, a as SERVICE_CALLER, b as extraFieldsArg, et as withExtraFields, f as columnRef, q as splitTable, tt as writeExtraColumns, x as extraFieldsJson } from "./shared-D-qwk29i.js";
|
|
5
|
-
import { d as subjectPermissionKey, f as subjectPermissionOf, r as checkCall, t as uniqueContributions } from "./contributions-
|
|
5
|
+
import { d as subjectPermissionKey, f as subjectPermissionOf, r as checkCall, t as uniqueContributions } from "./contributions-Ba-C1ueE.js";
|
|
6
6
|
import { t as SUBJECT_TYPE_PATTERN } from "./subject-type-BarjdHZV.js";
|
|
7
7
|
import { i as fillTemplate } from "./access-sql-Dvl7BRy0.js";
|
|
8
|
-
import {
|
|
8
|
+
import { i as accessModel, o as moduleOperations, r as OPERATIONS } from "./permissions-model-B7E_f7GV.js";
|
|
9
9
|
import { c as renderPolicy, i as policy } from "./policy-Buem9L_M.js";
|
|
10
10
|
// src/blocks/payroll-export/options.ts
|
|
11
11
|
const payrollExportSqlOptions = blockOptions({
|
|
@@ -165,7 +165,7 @@ function subjectIdMatches(subject, value) {
|
|
|
165
165
|
if (subject.idType === void 0) return `${column}::text = ${value}`;
|
|
166
166
|
return subject.idInferred === true && subject.idType === "uuid" ? `${column} = (case when ${value} ~* '${UUID_PATTERN}' then (${value})::uuid end)` : `${column} = (${value})::${subject.idType}`;
|
|
167
167
|
}
|
|
168
|
-
/** The keys of a registry entry (`config.
|
|
168
|
+
/** The keys of a registry entry (`config.recordTypes.<type>`) a module reads. */
|
|
169
169
|
function fromRegistry(entry, extraKeys) {
|
|
170
170
|
const read = subjectPermissionKey(entry.permissions?.["read"]);
|
|
171
171
|
return {
|
|
@@ -199,13 +199,13 @@ function rawSubjects(ctx, where, extraKeys, allow) {
|
|
|
199
199
|
return Object.fromEntries(Object.entries(registry).filter(([, entry]) => tenantless || entry.tenant !== false).map(([type, entry]) => [type, fromRegistry(entry, extraKeys)]));
|
|
200
200
|
}
|
|
201
201
|
if (Array.isArray(raw)) {
|
|
202
|
-
if (raw.length === 0) throw new TypeError(`${where}: list at least one config.
|
|
202
|
+
if (raw.length === 0) throw new TypeError(`${where}: list at least one config.recordTypes type, or pass an object of subject type to { table, ... }`);
|
|
203
203
|
return Object.fromEntries(raw.map((type) => {
|
|
204
|
-
if (typeof type !== "string" || !Object.hasOwn(registry, type)) throw new TypeError(`${where}: "${String(type)}" is not a subject type in config.
|
|
204
|
+
if (typeof type !== "string" || !Object.hasOwn(registry, type)) throw new TypeError(`${where}: "${String(type)}" is not a subject type in config.recordTypes. Types: ${Object.keys(registry).join(", ") || "none"}`);
|
|
205
205
|
return [type, fromRegistry(registry[type], extraKeys)];
|
|
206
206
|
}));
|
|
207
207
|
}
|
|
208
|
-
if (!isRecord(raw)) throw new TypeError(`${where}: pass a list of config.
|
|
208
|
+
if (!isRecord(raw)) throw new TypeError(`${where}: pass a list of config.recordTypes types, or an object of subject type to { table, id?, tenant?, permission?, cascade? }`);
|
|
209
209
|
return Object.fromEntries(Object.entries(raw).map(([type, entry]) => {
|
|
210
210
|
const registered = Object.hasOwn(registry, type) ? registry[type] : void 0;
|
|
211
211
|
return [type, registered && isRecord(entry) ? {
|
|
@@ -238,7 +238,7 @@ function registeredRead(entry, permission) {
|
|
|
238
238
|
/**
|
|
239
239
|
* `blocks.<instance>.on`: subject type to `{ table, id?, tenant?, permission?,
|
|
240
240
|
* cascade? }` plus the `extra` keys the module reads, falling back to the
|
|
241
|
-
* app-wide `config.
|
|
241
|
+
* app-wide `config.recordTypes` registry.
|
|
242
242
|
*/
|
|
243
243
|
function subjectsOption(ctx, extraKeys = [], allow = {}) {
|
|
244
244
|
const where = `blocks.${ctx.instance}.on`;
|
|
@@ -281,7 +281,7 @@ function subjectsOption(ctx, extraKeys = [], allow = {}) {
|
|
|
281
281
|
}
|
|
282
282
|
/**
|
|
283
283
|
* The record types `blocks.<instance>.on` allows, checked against
|
|
284
|
-
* `config.
|
|
284
|
+
* `config.recordTypes`, or `undefined` when `on` is unset and every registered
|
|
285
285
|
* type is allowed.
|
|
286
286
|
*/
|
|
287
287
|
function allowedSubjectTypes(ctx) {
|
|
@@ -424,10 +424,10 @@ function subjectReadable(ctx, subjects, args, options = {}) {
|
|
|
424
424
|
}
|
|
425
425
|
/**
|
|
426
426
|
* Whether the caller may take `action` on subject `type`/`id`, for each of
|
|
427
|
-
* `subjects` whose `config.
|
|
428
|
-
* it declares): `can_subject(type, id, action)` as the caller, so a
|
|
429
|
-
* provider's per-row grants and an owner column all count. Other types
|
|
430
|
-
* `undefined` when no subject declares one of `actions` or the `subjects`
|
|
427
|
+
* `subjects` whose `config.recordTypes` entry declares it (the first of
|
|
428
|
+
* `actions` it declares): `can_subject(type, id, action)` as the caller, so a
|
|
429
|
+
* key, the provider's per-row grants and an owner column all count. Other types
|
|
430
|
+
* pass. `undefined` when no subject declares one of `actions` or the `subjects`
|
|
431
431
|
* module isn't installed, so the module's own check stays as it was; a module
|
|
432
432
|
* that uses it lists `subjects` in `integrates`.
|
|
433
433
|
*/
|
|
@@ -774,7 +774,7 @@ function singleRevoke(ctx) {
|
|
|
774
774
|
/**
|
|
775
775
|
* Whether the subject a new link names exists in the link's tenant and the
|
|
776
776
|
* caller may share it. Block-owned types come first; registered subjects
|
|
777
|
-
* (`config.
|
|
777
|
+
* (`config.recordTypes` or `on`) check the row's tenant and the subject's read
|
|
778
778
|
* permission. Any other type fails.
|
|
779
779
|
*/
|
|
780
780
|
function allowedTypes(ctx) {
|
|
@@ -714,6 +714,18 @@ const OPERATIONS = {
|
|
|
714
714
|
"warranty.write": "warranty.write",
|
|
715
715
|
"warranty.decide": "warranty.decide"
|
|
716
716
|
};
|
|
717
|
+
/**
|
|
718
|
+
* The operations only a signed-in user may run: an API key, an OAuth client or
|
|
719
|
+
* an agent never gets their keys, whatever its scopes say.
|
|
720
|
+
*/
|
|
721
|
+
const INTERACTIVE_ONLY_OPERATIONS = [
|
|
722
|
+
"organizations.transferOwnership",
|
|
723
|
+
"organizations.delete",
|
|
724
|
+
"data-lifecycle.delete",
|
|
725
|
+
"impersonation.start",
|
|
726
|
+
"invitations.invitePlatform",
|
|
727
|
+
"sso.manage"
|
|
728
|
+
];
|
|
717
729
|
const operationsByModule = /* @__PURE__ */ new Map();
|
|
718
730
|
for (const [name, key] of Object.entries(OPERATIONS)) {
|
|
719
731
|
const dot = name.indexOf(".");
|
|
@@ -785,4 +797,4 @@ function modulePermissionKey(ctx, action, fallback) {
|
|
|
785
797
|
return ctx.permissionKey(action, target);
|
|
786
798
|
}
|
|
787
799
|
const modulePermission = (ctx, action, fallback) => sqlString(modulePermissionKey(ctx, action, fallback));
|
|
788
|
-
export {
|
|
800
|
+
export { isOperationModule as a, modulePermissionKey as c, rolesOf as d, tenantScope as f, accessModel as i, roleNames as l, INTERACTIVE_ONLY_OPERATIONS as n, moduleOperations as o, OPERATIONS as r, modulePermission as s, DEFAULT_ROLES as t, roleScopeIs as u };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { o as EventHub } from "./events-
|
|
2
|
-
import { Vt as Executor } from "./types-
|
|
1
|
+
import { o as EventHub } from "./events-zz8DwtZi.js";
|
|
2
|
+
import { Vt as Executor } from "./types-Dizn1liT.js";
|
|
3
3
|
import { n as Logger } from "./logger-0LfhvwE4.js";
|
|
4
|
-
import { n as SqlClient } from "./executor-
|
|
4
|
+
import { n as SqlClient } from "./executor-7zo2arIZ.js";
|
|
5
5
|
/** The part of a `pg` pool client `createPostgres` uses. */
|
|
6
6
|
interface PgPoolClient {
|
|
7
7
|
query(text: string, values?: unknown[]): Promise<{
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { l as postgrestExecutor } from "./codec-
|
|
1
|
+
import { l as postgrestExecutor } from "./codec-CJaAdLjG.js";
|
|
2
2
|
import { a as ok, r as err, t as AsyncResult } from "./result-DijoXEFG.js";
|
|
3
|
-
import { r as decodeJwtPayload } from "./base64-
|
|
3
|
+
import { r as decodeJwtPayload } from "./base64-DgNIlSAS.js";
|
|
4
4
|
import { i as userContext } from "./impersonation-BlU6M8zN.js";
|
|
5
|
-
import { t as provideLeanConnectionRuntime } from "./define-runtime-
|
|
6
|
-
import { n as hasAuthModule, r as claimedTenant } from "./auth-module-
|
|
5
|
+
import { t as provideLeanConnectionRuntime } from "./define-runtime-DsFTahQB.js";
|
|
6
|
+
import { n as hasAuthModule, r as claimedTenant } from "./auth-module-B19zCsb4.js";
|
|
7
7
|
import { t as currentTenant } from "./tenant-source-46lMuMEn.js";
|
|
8
8
|
import { n as identityKey } from "./user-change-Ngy8z1fZ.js";
|
|
9
9
|
import { t as createQueries } from "./queries-BDyKusHa.js";
|
package/dist/postgres/index.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { n as SqlClient, r as postgresExecutor, t as PostgresExecutorOptions } from "../executor-
|
|
1
|
+
import { n as SqlClient, r as postgresExecutor, t as PostgresExecutorOptions } from "../executor-7zo2arIZ.js";
|
|
2
2
|
import { E as RawDbError } from "../result-aun_QZHn.js";
|
|
3
|
-
import { a as PostgresTimeouts, c as createPostgres, i as PostgresOptions, n as PgPool, o as SessionOptions, r as PgPoolClient, s as SqlClaims, t as BetterPostgres } from "../pool-
|
|
4
|
-
import { m as Operation } from "../types-
|
|
5
|
-
import { t as Compiler } from "../compiler-
|
|
3
|
+
import { a as PostgresTimeouts, c as createPostgres, i as PostgresOptions, n as PgPool, o as SessionOptions, r as PgPoolClient, s as SqlClaims, t as BetterPostgres } from "../pool-Dzeln5IJ.js";
|
|
4
|
+
import { m as Operation } from "../types-Dizn1liT.js";
|
|
5
|
+
import { t as Compiler } from "../compiler-u6lO9V7r.js";
|
|
6
6
|
/** Node-postgres error fields to the shape `mapDbError` reads. */
|
|
7
7
|
export declare function fromPgError(error: unknown): RawDbError | undefined;
|
|
8
8
|
/**
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { C as quoteSqliteIdent, S as likeToGlob, _ as SqliteQuery, a as postgrestTimestamp, b as SqliteValue, c as sqliteCompiler, d as SqliteDecode, f as SqliteInsertPlan, g as SqlitePlan, h as SqliteNested, i as fromSqliteError, l as SqliteColumn, m as SqliteKeys, n as SqliteDatabaseLike, o as CheckSqliteOptions, p as SqliteKeyedPlan, r as SqliteExecutorOptions, s as checkSqlite, t as SqliteContextLike, u as SqliteCompilerOptions, v as SqliteReturning, w as sqliteValue, x as compileSqlite, y as SqliteSelectPlan } from "../executor-
|
|
2
|
-
import { Vt as Executor } from "../types-
|
|
3
|
-
import { C as UploadRouteOptions, E as uploadRoute, S as UploadRoute, T as uploadOutcome, _ as UploadConnectorOptions, b as UploadOutcome, c as LocalTablesOption, d as CreateUploadRepository, f as CrudEntryLike, g as UploadConnector, h as RejectedStore, m as RejectedChange, n as DataEngine, p as CrudQueueLike, s as LiveEngineOptions, v as UploadErrorContext, w as createUploadConnector, x as UploadRepository, y as UploadFunction } from "../data-engine-
|
|
4
|
-
import { t as AuthSnapshot } from "../bind-
|
|
5
|
-
import { t as BlockTransport } from "../block-transport-
|
|
1
|
+
import { C as quoteSqliteIdent, S as likeToGlob, _ as SqliteQuery, a as postgrestTimestamp, b as SqliteValue, c as sqliteCompiler, d as SqliteDecode, f as SqliteInsertPlan, g as SqlitePlan, h as SqliteNested, i as fromSqliteError, l as SqliteColumn, m as SqliteKeys, n as SqliteDatabaseLike, o as CheckSqliteOptions, p as SqliteKeyedPlan, r as SqliteExecutorOptions, s as checkSqlite, t as SqliteContextLike, u as SqliteCompilerOptions, v as SqliteReturning, w as sqliteValue, x as compileSqlite, y as SqliteSelectPlan } from "../executor-nx2Q8Xdy.js";
|
|
2
|
+
import { Vt as Executor } from "../types-Dizn1liT.js";
|
|
3
|
+
import { C as UploadRouteOptions, E as uploadRoute, S as UploadRoute, T as uploadOutcome, _ as UploadConnectorOptions, b as UploadOutcome, c as LocalTablesOption, d as CreateUploadRepository, f as CrudEntryLike, g as UploadConnector, h as RejectedStore, m as RejectedChange, n as DataEngine, p as CrudQueueLike, s as LiveEngineOptions, v as UploadErrorContext, w as createUploadConnector, x as UploadRepository, y as UploadFunction } from "../data-engine-nmeUijzR.js";
|
|
4
|
+
import { t as AuthSnapshot } from "../bind-B-NW7-Fd.js";
|
|
5
|
+
import { t as BlockTransport } from "../block-transport-Bqne7_GN.js";
|
|
6
6
|
import { b as DbError, f as Result } from "../result-aun_QZHn.js";
|
|
7
|
-
import { n as TopicPort } from "../watch-topic-
|
|
8
|
-
import { o as ActivitySubject } from "../activities-
|
|
9
|
-
import { a as MedicationAsNeededInput, r as MedicationAdministrationInput } from "../medications-
|
|
10
|
-
import { d as ObservationInput, t as Observation } from "../observations-
|
|
7
|
+
import { n as TopicPort } from "../watch-topic-DT31uYqF.js";
|
|
8
|
+
import { o as ActivitySubject } from "../activities-BMQuBkrQ.js";
|
|
9
|
+
import { a as MedicationAsNeededInput, r as MedicationAdministrationInput } from "../medications-3mcGOelG.js";
|
|
10
|
+
import { d as ObservationInput, t as Observation } from "../observations-8pt9Lflf.js";
|
|
11
11
|
/** The part of PowerSync's `SyncStatus` the engine reads. */
|
|
12
12
|
interface SyncStatusLike {
|
|
13
13
|
readonly connected: boolean;
|
package/dist/powersync/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as sqliteCompiler, c as quoteSqliteIdent, i as checkSqlite, l as sqliteValue, n as postgrestTimestamp, o as compileSqlite, r as sqliteExecutor, s as likeToGlob, t as fromSqliteError } from "../executor-
|
|
1
|
+
import { a as sqliteCompiler, c as quoteSqliteIdent, i as checkSqlite, l as sqliteValue, n as postgrestTimestamp, o as compileSqlite, r as sqliteExecutor, s as likeToGlob, t as fromSqliteError } from "../executor-D24_D6dr.js";
|
|
2
2
|
import { i as localEngine } from "../data-engine-MRAlinsa.js";
|
|
3
3
|
import { n as authzVersionOf } from "../snapshot-C1KUHKTc.js";
|
|
4
4
|
import { n as claimAt, s as tenantPathsFor } from "../claims-CX-ar1vt.js";
|
package/dist/preset/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Ar as PresetAccess, Dr as PRESET_FRAMEWORKS, Er as DEFAULT_CONVENTIONS, Fr as PresetFramework, Hr as integrationsForFramework, Lr as PresetPlatforms, Mr as PresetField, Nr as PresetFieldKey, Or as PRESET_TENANT_NAMES, Pr as PresetFieldValue, Rr as PresetScope, Tr as CONVENTION_FIELDS, Ur as presetField, Vr as PresetValueInfo, Wr as presetValueLabel, jr as PresetConventions, kr as Preset, zr as PresetSubjectOptions } from "../define-block-
|
|
2
|
-
import { $i as PresetGlueItem, $t as defaultPreset, An as readDesignFile, Bn as ResolvedComposite, Cn as parseDesign, Dn as presetConfigSource, En as presetArgumentOf, Fn as presetOfSpec, Gi as CORE_BLOCKS, Gn as removeComposite, Hn as ResolvedPresetBlock, In as presetSpec, Ji as BlockCatalog, Jt as PRESETS, Ki as INSTANCE_NAME, Kn as resolvePreset, Kt as DEFAULT_PRESET_NAME, Ln as CompositeRemoval, Mn as safeParseDesign, Nn as PresetSpec, On as presetInstallCommand, Pn as presetFromSpec, Qi as PresetCatalogManifest, Qt as PresetName, Rn as PresetConflict, Sn as isDesignCode, Tn as presetApplyCommand, Un as listNames, Vn as ResolvedPreset, Wn as presetBlockConflict, Wr as APP_COLUMN_FORMATS, Xi as PresetCatalog, Xt as PRESET_NAMES, Yi as BlockCatalogEntry, Yt as PRESET_GROUPS, Zi as PresetCatalogBlock, Zr as AppColumnFormat, Zt as PresetGroup, _n as designFileSource, _t as presetOf, an as DESIGN_FORMAT, bn as designSchema, cn as DesignParseError, dn as DesignTooLongError, dt as ConfigConventions, en as isPresetName, fn as MAX_DESIGN_CODE_LENGTH, ft as ExpandedConfig, gn as designConfig, gt as presetConfig, hn as decodeDesign, ht as expandPreset, in as DESIGN_FILE, jn as safeDesignFileSource, kn as presetKey, ln as DesignParseIssue, mn as createUrl, mt as conventionConfig, nn as CREATE_URL, on as DesignErrorCode, pn as createQuery, pt as PresetInput, qi as instancePrefix, qt as NamedPreset, rn as CreateDesign, sn as DesignFile, tn as namedPreset, un as DesignParseResult, vn as designFormat, wn as presetAndDesignOf, xn as encodeDesign, yn as designOf, zn as PresetIntegration } from "../context-
|
|
3
|
-
import { C as diffAppTables, D as PRESET_CATALOG, E as isAppDefault, O as BLOCK_CATALOG, S as DiffOptions, T as appDefaultError, _ as glueCommand, a as blockRequires, b as DesignChange, c as installedBlocks, d as instancesOf, f as presetInstances, g as PROVIDER_COMMENT, h as withoutInstance, i as blockEntities, l as instanceBlock, m as withInstance, n as BlockInstance, o as canAddInstance, p as withEntityName, r as PresetInstance, s as entityName, t as BlockEntity, u as instanceNameProblem, v as presetBlocksSource, w as diffDesigns, x as DesignChangeKind, y as presetGlue } from "../index-
|
|
4
|
-
import { i as appReservedColumns, n as appIdentifierError, r as appNameLengthError, t as APP_NAME_MAX } from "../app-tables-
|
|
1
|
+
import { Ar as PresetAccess, Dr as PRESET_FRAMEWORKS, Er as DEFAULT_CONVENTIONS, Fr as PresetFramework, Hr as integrationsForFramework, Lr as PresetPlatforms, Mr as PresetField, Nr as PresetFieldKey, Or as PRESET_TENANT_NAMES, Pr as PresetFieldValue, Rr as PresetScope, Tr as CONVENTION_FIELDS, Ur as presetField, Vr as PresetValueInfo, Wr as presetValueLabel, jr as PresetConventions, kr as Preset, zr as PresetSubjectOptions } from "../define-block-DQvTGOGv.js";
|
|
2
|
+
import { $i as PresetGlueItem, $t as defaultPreset, An as readDesignFile, Bn as ResolvedComposite, Cn as parseDesign, Dn as presetConfigSource, En as presetArgumentOf, Fn as presetOfSpec, Gi as CORE_BLOCKS, Gn as removeComposite, Hn as ResolvedPresetBlock, In as presetSpec, Ji as BlockCatalog, Jt as PRESETS, Ki as INSTANCE_NAME, Kn as resolvePreset, Kt as DEFAULT_PRESET_NAME, Ln as CompositeRemoval, Mn as safeParseDesign, Nn as PresetSpec, On as presetInstallCommand, Pn as presetFromSpec, Qi as PresetCatalogManifest, Qt as PresetName, Rn as PresetConflict, Sn as isDesignCode, Tn as presetApplyCommand, Un as listNames, Vn as ResolvedPreset, Wn as presetBlockConflict, Wr as APP_COLUMN_FORMATS, Xi as PresetCatalog, Xt as PRESET_NAMES, Yi as BlockCatalogEntry, Yt as PRESET_GROUPS, Zi as PresetCatalogBlock, Zr as AppColumnFormat, Zt as PresetGroup, _n as designFileSource, _t as presetOf, an as DESIGN_FORMAT, bn as designSchema, cn as DesignParseError, dn as DesignTooLongError, dt as ConfigConventions, en as isPresetName, fn as MAX_DESIGN_CODE_LENGTH, ft as ExpandedConfig, gn as designConfig, gt as presetConfig, hn as decodeDesign, ht as expandPreset, in as DESIGN_FILE, jn as safeDesignFileSource, kn as presetKey, ln as DesignParseIssue, mn as createUrl, mt as conventionConfig, nn as CREATE_URL, on as DesignErrorCode, pn as createQuery, pt as PresetInput, qi as instancePrefix, qt as NamedPreset, rn as CreateDesign, sn as DesignFile, tn as namedPreset, un as DesignParseResult, vn as designFormat, wn as presetAndDesignOf, xn as encodeDesign, yn as designOf, zn as PresetIntegration } from "../context-m-t6Kr9_.js";
|
|
3
|
+
import { C as diffAppTables, D as PRESET_CATALOG, E as isAppDefault, O as BLOCK_CATALOG, S as DiffOptions, T as appDefaultError, _ as glueCommand, a as blockRequires, b as DesignChange, c as installedBlocks, d as instancesOf, f as presetInstances, g as PROVIDER_COMMENT, h as withoutInstance, i as blockEntities, l as instanceBlock, m as withInstance, n as BlockInstance, o as canAddInstance, p as withEntityName, r as PresetInstance, s as entityName, t as BlockEntity, u as instanceNameProblem, v as presetBlocksSource, w as diffDesigns, x as DesignChangeKind, y as presetGlue } from "../index-DCqy0ESb.js";
|
|
4
|
+
import { i as appReservedColumns, n as appIdentifierError, r as appNameLengthError, t as APP_NAME_MAX } from "../app-tables-BHoeMC9w.js";
|
|
5
5
|
export { APP_COLUMN_FORMATS, APP_NAME_MAX, type AppColumnFormat, BLOCK_CATALOG, type BlockCatalog, type BlockCatalogEntry, type BlockEntity, type BlockInstance, CONVENTION_FIELDS, CREATE_URL, type CompositeRemoval, type ConfigConventions, type CreateDesign, DEFAULT_CONVENTIONS, DEFAULT_PRESET_NAME, DESIGN_FILE, DESIGN_FORMAT, type DesignChange, type DesignChangeKind, type DesignErrorCode, type DesignFile, DesignParseError, type DesignParseIssue, type DesignParseResult, DesignTooLongError, type DiffOptions, type ExpandedConfig, INSTANCE_NAME, MAX_DESIGN_CODE_LENGTH, type NamedPreset, PRESETS, PRESET_CATALOG, PRESET_FRAMEWORKS, PRESET_GROUPS, PRESET_NAMES, PRESET_TENANT_NAMES, PROVIDER_COMMENT, type Preset, type PresetAccess, type PresetCatalog, type PresetCatalogBlock, type PresetCatalogManifest, type PresetConflict, type PresetConventions, type PresetField, type PresetFieldKey, type PresetFieldValue, type PresetFramework, type PresetGlueItem, type PresetGroup, type PresetInput, type PresetInstance, type PresetIntegration, type PresetName, type PresetPlatforms, type PresetScope, type PresetSpec, type PresetSubjectOptions, type PresetValueInfo, type ResolvedComposite, type ResolvedPreset, type ResolvedPresetBlock, CORE_BLOCKS as SINGLE_INSTANCE_BLOCKS, appDefaultError, appIdentifierError, appNameLengthError, appReservedColumns, blockEntities, blockRequires, canAddInstance, conventionConfig, createQuery, createUrl, decodeDesign, defaultPreset, designConfig, designFileSource, designFormat, designOf, designSchema, diffAppTables, diffDesigns, encodeDesign, entityName, expandPreset, glueCommand, installedBlocks, instanceBlock, instanceNameProblem, instancePrefix, instancesOf, integrationsForFramework, isAppDefault, isDesignCode, isPresetName, listNames, namedPreset, parseDesign, presetAndDesignOf, presetApplyCommand, presetArgumentOf, presetBlockConflict, presetBlocksSource, presetConfig, presetConfigSource, presetField, presetFromSpec, presetGlue, presetInstallCommand, presetInstances, presetKey, presetOf, presetOfSpec, presetSpec, presetValueLabel, readDesignFile, removeComposite, resolvePreset, safeDesignFileSource, safeParseDesign, withEntityName, withInstance, withoutInstance };
|
package/dist/preset/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { C as PRESET_TENANT_NAMES, E as presetValueLabel, S as PRESET_FRAMEWORKS, T as presetField, _ as defaultPreset, a as presetOf, b as CONVENTION_FIELDS, c as presetSpec, d as removeComposite, f as resolvePreset, g as PRESET_NAMES, h as PRESET_GROUPS, i as presetConfig, l as listNames, m as PRESETS, o as presetFromSpec, p as DEFAULT_PRESET_NAME, r as expandPreset, s as presetOfSpec, t as conventionConfig, u as presetBlockConflict, v as isPresetName, w as integrationsForFramework, x as DEFAULT_CONVENTIONS, y as namedPreset } from "../config-a_CzEbpi.js";
|
|
2
2
|
import { I as PRESET_CATALOG, O as APP_COLUMN_FORMATS, b as appDefaultError, c as APP_NAME_MAX, d as appIdentifierError, f as appNameLengthError, i as instancePrefix, n as INSTANCE_NAME, p as appReservedColumns, t as CORE_BLOCKS, x as isAppDefault } from "../instances-07Lopbd1.js";
|
|
3
|
-
import { A as isDesignCode, B as safeDesignFileSource, C as decodeDesign, D as designOf, E as designFormat, F as presetArgumentOf, G as presetGlue, H as PROVIDER_COMMENT, I as presetConfigSource, K as BLOCK_CATALOG, L as presetInstallCommand, M as parseDesign, N as presetAndDesignOf, O as designSchema, P as presetApplyCommand, R as presetKey, S as createUrl, T as designFileSource, U as glueCommand, V as safeParseDesign, W as presetBlocksSource, _ as DESIGN_FORMAT, a as installedBlocks, b as MAX_DESIGN_CODE_LENGTH, c as instancesOf, d as withInstance, f as withoutInstance, g as DESIGN_FILE, h as CREATE_URL, i as entityName, k as encodeDesign, l as presetInstances, m as diffDesigns, n as blockRequires, o as instanceBlock, p as diffAppTables, r as canAddInstance, s as instanceNameProblem, t as blockEntities, u as withEntityName, v as DesignParseError, w as designConfig, x as createQuery, y as DesignTooLongError, z as readDesignFile } from "../preset-
|
|
3
|
+
import { A as isDesignCode, B as safeDesignFileSource, C as decodeDesign, D as designOf, E as designFormat, F as presetArgumentOf, G as presetGlue, H as PROVIDER_COMMENT, I as presetConfigSource, K as BLOCK_CATALOG, L as presetInstallCommand, M as parseDesign, N as presetAndDesignOf, O as designSchema, P as presetApplyCommand, R as presetKey, S as createUrl, T as designFileSource, U as glueCommand, V as safeParseDesign, W as presetBlocksSource, _ as DESIGN_FORMAT, a as installedBlocks, b as MAX_DESIGN_CODE_LENGTH, c as instancesOf, d as withInstance, f as withoutInstance, g as DESIGN_FILE, h as CREATE_URL, i as entityName, k as encodeDesign, l as presetInstances, m as diffDesigns, n as blockRequires, o as instanceBlock, p as diffAppTables, r as canAddInstance, s as instanceNameProblem, t as blockEntities, u as withEntityName, v as DesignParseError, w as designConfig, x as createQuery, y as DesignTooLongError, z as readDesignFile } from "../preset-ZZ4H2s92.js";
|
|
4
4
|
export { APP_COLUMN_FORMATS, APP_NAME_MAX, BLOCK_CATALOG, CONVENTION_FIELDS, CREATE_URL, DEFAULT_CONVENTIONS, DEFAULT_PRESET_NAME, DESIGN_FILE, DESIGN_FORMAT, DesignParseError, DesignTooLongError, INSTANCE_NAME, MAX_DESIGN_CODE_LENGTH, PRESETS, PRESET_CATALOG, PRESET_FRAMEWORKS, PRESET_GROUPS, PRESET_NAMES, PRESET_TENANT_NAMES, PROVIDER_COMMENT, CORE_BLOCKS as SINGLE_INSTANCE_BLOCKS, appDefaultError, appIdentifierError, appNameLengthError, appReservedColumns, blockEntities, blockRequires, canAddInstance, conventionConfig, createQuery, createUrl, decodeDesign, defaultPreset, designConfig, designFileSource, designFormat, designOf, designSchema, diffAppTables, diffDesigns, encodeDesign, entityName, expandPreset, glueCommand, installedBlocks, instanceBlock, instanceNameProblem, instancePrefix, instancesOf, integrationsForFramework, isAppDefault, isDesignCode, isPresetName, listNames, namedPreset, parseDesign, presetAndDesignOf, presetApplyCommand, presetArgumentOf, presetBlockConflict, presetBlocksSource, presetConfig, presetConfigSource, presetField, presetFromSpec, presetGlue, presetInstallCommand, presetInstances, presetKey, presetOf, presetOfSpec, presetSpec, presetValueLabel, readDesignFile, removeComposite, resolvePreset, safeDesignFileSource, safeParseDesign, withEntityName, withInstance, withoutInstance };
|
|
@@ -1160,7 +1160,7 @@ const BLOCK_CATALOG = {
|
|
|
1160
1160
|
"name": "state-machine",
|
|
1161
1161
|
"title": "State machine",
|
|
1162
1162
|
"category": "Work management",
|
|
1163
|
-
"description": "Allowed status transitions as the caller, a history row and a status.changed event. A machine can also write a stages timeline and keep a lifecycle row (pause, flags, pinned version). Each machine is a subject table named in options.machines, or a config.
|
|
1163
|
+
"description": "Allowed status transitions as the caller, a history row and a status.changed event. A machine can also write a stages timeline and keep a lifecycle row (pause, flags, pinned version). Each machine is a subject table named in options.machines, or a config.recordTypes type.",
|
|
1164
1164
|
"requires": ["memberships", "permissions"],
|
|
1165
1165
|
"integrates": [
|
|
1166
1166
|
"outbox",
|
|
@@ -1276,7 +1276,7 @@ const BLOCK_CATALOG = {
|
|
|
1276
1276
|
"name": "subjects",
|
|
1277
1277
|
"title": "Subjects",
|
|
1278
1278
|
"category": "Identity & access",
|
|
1279
|
-
"description": "The app-wide subject registry from config.
|
|
1279
|
+
"description": "The app-wide subject registry from config.recordTypes: subject_title, subject_url, subject_titles, can_subject, can_subject_for and record_summary for every registered type, my_work across the installed blocks, record teams (subject_members, add_subject_member, end_subject_member, list_subject_members, my_subjects) that grant subjects.<type>.team actions, read logging for types with subjects.<type>.auditReads (record_subject_read, subject_access_log), and Realtime presence on presence:<type>:<id> for readers of the subject.",
|
|
1280
1280
|
"requires": ["permissions"],
|
|
1281
1281
|
"integrates": [
|
|
1282
1282
|
"teams",
|
|
@@ -1297,7 +1297,7 @@ const BLOCK_CATALOG = {
|
|
|
1297
1297
|
"name": "rank",
|
|
1298
1298
|
"title": "Rank",
|
|
1299
1299
|
"category": "Database primitives",
|
|
1300
|
-
"description": "Fractional rank keys: rank_between, move() for every config.
|
|
1300
|
+
"description": "Fractional rank keys: rank_between, move() for every config.recordTypes entry with a rank column (through the caller's policies and any state-machine trigger), and a rebalance job.",
|
|
1301
1301
|
"requires": ["permissions", "subjects"],
|
|
1302
1302
|
"integrates": ["queue"],
|
|
1303
1303
|
"modes": ["managed", "custom"],
|
|
@@ -1360,7 +1360,7 @@ const BLOCK_CATALOG = {
|
|
|
1360
1360
|
"name": "search",
|
|
1361
1361
|
"title": "Search",
|
|
1362
1362
|
"category": "Work management",
|
|
1363
|
-
"description": "A search_documents index kept up by triggers from each config.
|
|
1363
|
+
"description": "A search_documents index kept up by triggers from each config.recordTypes search entry, with search(q) as the caller (websearch, trigram prefixes, can_subject, hybrid with embeddings), and recents and favorites from the share-links user state.",
|
|
1364
1364
|
"requires": [
|
|
1365
1365
|
"memberships",
|
|
1366
1366
|
"permissions",
|
|
@@ -2277,7 +2277,7 @@ const BLOCK_CATALOG = {
|
|
|
2277
2277
|
"name": "hiring",
|
|
2278
2278
|
"title": "Hiring",
|
|
2279
2279
|
"category": "People",
|
|
2280
|
-
"description": "Jobs and applications on a pipeline per job, candidates from config.
|
|
2280
|
+
"description": "Jobs and applications on a pipeline per job, candidates from config.recordTypes, scorecards per stage, interviews, and hire, reject and withdraw events for the app to act on.",
|
|
2281
2281
|
"requires": [
|
|
2282
2282
|
"memberships",
|
|
2283
2283
|
"permissions",
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { t as BlockTransport } from "./block-transport-
|
|
2
|
-
import { i as EventSink } from "./cloud-event-
|
|
3
|
-
import { Ln as AttachmentStorage } from "./define-block-
|
|
4
|
-
import { _ as JobHandler } from "./types-
|
|
5
|
-
import { r as BlockTemporalOptions } from "./block-helpers-
|
|
6
|
-
import { y as DrivePreviews } from "./drive-
|
|
1
|
+
import { t as BlockTransport } from "./block-transport-Bqne7_GN.js";
|
|
2
|
+
import { i as EventSink } from "./cloud-event-B0AsPtwP.js";
|
|
3
|
+
import { Ln as AttachmentStorage } from "./define-block-DQvTGOGv.js";
|
|
4
|
+
import { _ as JobHandler } from "./types-CID74uQG.js";
|
|
5
|
+
import { r as BlockTemporalOptions } from "./block-helpers-DDotKGAf.js";
|
|
6
|
+
import { y as DrivePreviews } from "./drive-DaEK5ZxU.js";
|
|
7
7
|
import { t as AsyncResult } from "./result-aun_QZHn.js";
|
|
8
8
|
/** One rendered page: an image the drive stores under the file's previews. */
|
|
9
9
|
interface PreviewPage {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { a as presetOf, f as resolvePreset } from "./config-a_CzEbpi.js";
|
|
2
|
-
import { D as designOf, M as parseDesign, j as jsonPointer, k as encodeDesign, v as DesignParseError, w as designConfig, y as DesignTooLongError } from "./preset-
|
|
2
|
+
import { D as designOf, M as parseDesign, j as jsonPointer, k as encodeDesign, v as DesignParseError, w as designConfig, y as DesignTooLongError } from "./preset-ZZ4H2s92.js";
|
|
3
3
|
import { I as PRESET_CATALOG, b as appDefaultError, d as appIdentifierError, f as appNameLengthError, p as appReservedColumns, x as isAppDefault } from "./instances-07Lopbd1.js";
|
|
4
|
-
import { i as resolveConfig } from "./config-
|
|
5
|
-
import { Ft as SQL_MODULES, ot as renderBlocks, q as moduleLayout } from "./sql-
|
|
4
|
+
import { i as resolveConfig } from "./config-cisS43w5.js";
|
|
5
|
+
import { Ft as SQL_MODULES, ot as renderBlocks, q as moduleLayout } from "./sql-CP1j2jfo.js";
|
|
6
6
|
// src/create/column-keys.ts
|
|
7
7
|
/** The most options a select takes, and the longest option. */
|
|
8
8
|
const MAX_OPTIONS = 100;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference lib="esnext.temporal" />
|
|
2
|
-
import { r as AuthState } from "./resolve-
|
|
2
|
+
import { r as AuthState } from "./resolve-Pn7KvQ23.js";
|
|
3
3
|
import { b as DbError, t as AsyncResult } from "./result-aun_QZHn.js";
|
|
4
4
|
/**
|
|
5
5
|
* Names a credential without holding it. Tables store this as a `credential_ref
|
package/dist/query/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { t as escapeLike } from "../escape-like-BvolEoGc.js";
|
|
2
2
|
import { n as invalidateTables, t as BetterQueryMeta } from "../invalidate-DAB9CaPm.js";
|
|
3
|
-
import { $ as blockQueries, G as BLOCK_READ_PREFIXES, J as BlockInvalidation, K as BlockClientQueries, Q as blockControllerEngine, X as BlockQueries, Y as BlockMethodQuery, Z as BlockVariablesOf, a as RecordBindingQueries, at as InfiniteExtras, c as RecordWriteMutations, ct as QueriesOptions, dt as QueryOptionsOf, et as invalidateOnBlockEvents, ft as TableQueries, ht as queryCache, i as optimistic, it as BetterQueries, l as invalidateOnRecordEvents, lt as QueryHelpers, mt as invalidateOnMutation, n as OptimisticSnapshot, nt as UserChangeSource, o as RecordQueries, ot as InfiniteOptionsOf, pt as createQueries, q as BlockClients, r as OptimisticTarget, rt as clearOnUserChange, s as RecordQueriesOptions, st as MutationOptionsOf, t as OptimisticHandlers, tt as queryEngine, u as recordQueries, ut as QueryKeyOf } from "../index-
|
|
3
|
+
import { $ as blockQueries, G as BLOCK_READ_PREFIXES, J as BlockInvalidation, K as BlockClientQueries, Q as blockControllerEngine, X as BlockQueries, Y as BlockMethodQuery, Z as BlockVariablesOf, a as RecordBindingQueries, at as InfiniteExtras, c as RecordWriteMutations, ct as QueriesOptions, dt as QueryOptionsOf, et as invalidateOnBlockEvents, ft as TableQueries, ht as queryCache, i as optimistic, it as BetterQueries, l as invalidateOnRecordEvents, lt as QueryHelpers, mt as invalidateOnMutation, n as OptimisticSnapshot, nt as UserChangeSource, o as RecordQueries, ot as InfiniteOptionsOf, pt as createQueries, q as BlockClients, r as OptimisticTarget, rt as clearOnUserChange, s as RecordQueriesOptions, st as MutationOptionsOf, t as OptimisticHandlers, tt as queryEngine, u as recordQueries, ut as QueryKeyOf } from "../index-Bb_il0ub.js";
|
|
4
4
|
export { BLOCK_READ_PREFIXES, type BetterQueries, type BetterQueryMeta, type BlockClientQueries, type BlockClients, type BlockInvalidation, type BlockMethodQuery, type BlockQueries, type BlockVariablesOf, type InfiniteExtras, type InfiniteOptionsOf, type MutationOptionsOf, type OptimisticHandlers, type OptimisticSnapshot, type OptimisticTarget, type QueriesOptions, type QueryHelpers, type QueryKeyOf, type QueryOptionsOf, type RecordBindingQueries, type RecordQueries, type RecordQueriesOptions, type RecordWriteMutations, type TableQueries, type UserChangeSource, blockControllerEngine, blockQueries, clearOnUserChange, createQueries, escapeLike, invalidateOnBlockEvents, invalidateOnMutation, invalidateOnRecordEvents, invalidateTables, optimistic, queryCache, queryEngine, recordQueries };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as RateLimitOptions, c as createRateLimit, i as RateLimitHit, l as rateLimited, n as RateLimitAllDecision, o as RateLimitRule, r as RateLimitDecision, s as RateLimitSource, t as RateLimit } from "../rate-limit-
|
|
1
|
+
import { a as RateLimitOptions, c as createRateLimit, i as RateLimitHit, l as rateLimited, n as RateLimitAllDecision, o as RateLimitRule, r as RateLimitDecision, s as RateLimitSource, t as RateLimit } from "../rate-limit-Ddv4xmsH.js";
|
|
2
2
|
export { type RateLimit, type RateLimitAllDecision, type RateLimitDecision, type RateLimitHit, type RateLimitOptions, type RateLimitRule, type RateLimitSource, createRateLimit, rateLimited };
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { _ as JobHandler } from "./types-
|
|
2
|
-
import { r as BlockTemporalOptions } from "./block-helpers-
|
|
3
|
-
import { n as BlockHooks } from "./block-hooks-
|
|
4
|
-
import { t as BlockTransport } from "./block-transport-
|
|
1
|
+
import { _ as JobHandler } from "./types-CID74uQG.js";
|
|
2
|
+
import { r as BlockTemporalOptions } from "./block-helpers-DDotKGAf.js";
|
|
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 { a as ProblemFormat } from "./problem-DfABfWnk.js";
|
|
8
|
-
import { n as SqlClient } from "./executor-
|
|
8
|
+
import { n as SqlClient } from "./executor-7zo2arIZ.js";
|
|
9
9
|
/** One counted hit: whether it is allowed, and when to retry if not. */
|
|
10
10
|
interface RateLimitDecision {
|
|
11
11
|
readonly allowed: boolean;
|
package/dist/react/index.d.ts
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { t as escapeLike } from "../escape-like-BvolEoGc.js";
|
|
2
|
-
import { c as Impersonator, n as AuthSession } from "../view-
|
|
3
|
-
import { i as DataEntry, m as RejectedChange, n as DataEngine, o as DataSyncState } from "../data-engine-
|
|
4
|
-
import { t as tenantOf } from "../tenant-
|
|
5
|
-
import { r as LiveCountSeed } from "../index-
|
|
6
|
-
import { r as MembershipClaim } from "../entitlements-
|
|
7
|
-
import { _ as LiveQueryHookOptions, b as ProfileOf, c as DataWrites, f as BroadcastOptions, h as LiveCountHookOptions, l as ActionInputOf, m as ClientLike, o as DataSource, p as ClaimsOf, s as DataState, t as fieldErrorsOf, u as ActionResultOf, x as UseActionOptions } from "../field-errors-
|
|
8
|
-
import { n as supportOf, t as SupportView } from "../support-view-
|
|
9
|
-
import { a as BlockQueryActions, c as BlockRefetchOn, i as BlockMutationState, n as BlockEventSource, o as BlockQueryOptions, r as BlockMutationActions, s as BlockQueryState, t as BlockEngineOptions } from "../block-controller-
|
|
10
|
-
import { $ as RecordInitial, A as DataView, B as useBlockEvent, C as useConflicts, D as can, E as PermissionsProvider, F as defineOneHook, G as useRecordForm, H as useBlockQuery, I as useBlockEnv, J as RecordListUrl, K as RecordListQueryStates, L as useBlockTenant, M as defineDataHooks, N as defineInfiniteListHook, O as useCan, P as defineListHook, Q as RecordContextValue, R as useController, S as Conflicts, St as useSupabase, T as OfflineContext, U as RecordFormState, V as useBlockMutation, W as UseRecordFormOptions, X as useRecordListState, Y as RecordListUrlState, Z as RecordActionsOf, _ as useRealtimeRelay, _t as createHooks, a as Upload, at as ActionForm, b as PresenceTopic, bt as useLiveCount, c as UseImageOptions, ct as UseActionFormOptions, d as useSignedUrl, dt as useActionForm, et as RecordProviderKit, f as useUpload, ft as useOptimisticAction, g as UseRealtimeRelayOptions, gt as LiveCount, h as useDebouncedSearch, ht as BetterSupabaseProviderProps, i as StorageImage, it as createRecordProvider, j as InfiniteList, k as DataHooks, l as UseUploadOptions, lt as UseOptimisticActionOptions, m as DebouncedSearchOptions, mt as BetterSupabaseProvider, n as SignedUrl, nt as RecordState, o as UploadStatus, ot as ActionHandle, p as DebouncedSearch, pt as BetterHooks, q as RecordListState, r as SignedUrlSource, rt as RecordWriteHandlers, s as UploadTarget, st as OptimisticActionHandle, t as ImageSource, tt as RecordProviderProps, u as useImage, ut as useAction, v as Presence, vt as useAuth, w as useSyncStatus, x as usePresence, xt as useLiveQuery, y as PresenceHookOptions, yt as useBroadcast, z as useLatest } from "../index-
|
|
2
|
+
import { c as Impersonator, n as AuthSession } from "../view-DwTCw_jZ.js";
|
|
3
|
+
import { i as DataEntry, m as RejectedChange, n as DataEngine, o as DataSyncState } from "../data-engine-nmeUijzR.js";
|
|
4
|
+
import { t as tenantOf } from "../tenant-CVRFoaDM.js";
|
|
5
|
+
import { r as LiveCountSeed } from "../index-CjoB5SrD.js";
|
|
6
|
+
import { r as MembershipClaim } from "../entitlements-D4ob6MfK.js";
|
|
7
|
+
import { _ as LiveQueryHookOptions, b as ProfileOf, c as DataWrites, f as BroadcastOptions, h as LiveCountHookOptions, l as ActionInputOf, m as ClientLike, o as DataSource, p as ClaimsOf, s as DataState, t as fieldErrorsOf, u as ActionResultOf, x as UseActionOptions } from "../field-errors-pj0uOXSg.js";
|
|
8
|
+
import { n as supportOf, t as SupportView } from "../support-view-CfyHFSq4.js";
|
|
9
|
+
import { a as BlockQueryActions, c as BlockRefetchOn, i as BlockMutationState, n as BlockEventSource, o as BlockQueryOptions, r as BlockMutationActions, s as BlockQueryState, t as BlockEngineOptions } from "../block-controller-Dy-Jyy8A.js";
|
|
10
|
+
import { $ as RecordInitial, A as DataView, B as useBlockEvent, C as useConflicts, D as can, E as PermissionsProvider, F as defineOneHook, G as useRecordForm, H as useBlockQuery, I as useBlockEnv, J as RecordListUrl, K as RecordListQueryStates, L as useBlockTenant, M as defineDataHooks, N as defineInfiniteListHook, O as useCan, P as defineListHook, Q as RecordContextValue, R as useController, S as Conflicts, St as useSupabase, T as OfflineContext, U as RecordFormState, V as useBlockMutation, W as UseRecordFormOptions, X as useRecordListState, Y as RecordListUrlState, Z as RecordActionsOf, _ as useRealtimeRelay, _t as createHooks, a as Upload, at as ActionForm, b as PresenceTopic, bt as useLiveCount, c as UseImageOptions, ct as UseActionFormOptions, d as useSignedUrl, dt as useActionForm, et as RecordProviderKit, f as useUpload, ft as useOptimisticAction, g as UseRealtimeRelayOptions, gt as LiveCount, h as useDebouncedSearch, ht as BetterSupabaseProviderProps, i as StorageImage, it as createRecordProvider, j as InfiniteList, k as DataHooks, l as UseUploadOptions, lt as UseOptimisticActionOptions, m as DebouncedSearchOptions, mt as BetterSupabaseProvider, n as SignedUrl, nt as RecordState, o as UploadStatus, ot as ActionHandle, p as DebouncedSearch, pt as BetterHooks, q as RecordListState, r as SignedUrlSource, rt as RecordWriteHandlers, s as UploadTarget, st as OptimisticActionHandle, t as ImageSource, tt as RecordProviderProps, u as useImage, ut as useAction, v as Presence, vt as useAuth, w as useSyncStatus, x as usePresence, xt as useLiveQuery, y as PresenceHookOptions, yt as useBroadcast, z as useLatest } from "../index-SZ8qGIVO.js";
|
|
11
11
|
import { SessionProvider, SessionProviderProps, useSession, useSupportSession } from "./session.js";
|
|
12
12
|
import { a as useSignIn, i as SignOut, n as PendingState, o as useSignOut, r as SignIn, t as AuthHookOptions } from "../sign-in-DkRvzECa.js";
|
|
13
13
|
export { type ActionForm, type ActionHandle, type ActionInputOf, type ActionResultOf, type AuthHookOptions, type AuthSession, type BetterHooks, BetterSupabaseProvider, type BetterSupabaseProviderProps, type BlockEngineOptions, type BlockEventSource, type BlockMutationActions, type BlockMutationState, type BlockQueryActions, type BlockQueryOptions, type BlockQueryState, type BlockRefetchOn, type BroadcastOptions, type ClaimsOf, type ClientLike, type Conflicts, type DataEngine, type DataEntry, type DataHooks, type DataSource, type DataState, type DataSyncState, type DataView, type DataWrites, type DebouncedSearch, type DebouncedSearchOptions, type ImageSource, type Impersonator, type InfiniteList, type LiveCount, type LiveCountHookOptions, type LiveCountSeed, type LiveQueryHookOptions, type MembershipClaim, OfflineContext, type OptimisticActionHandle, type PendingState, PermissionsProvider, type Presence, type PresenceHookOptions, type PresenceTopic, type ProfileOf, type RecordActionsOf, type RecordContextValue, type RecordFormState, type RecordInitial, type RecordListQueryStates, type RecordListState, type RecordListUrl, type RecordListUrlState, type RecordProviderKit, type RecordProviderProps, type RecordState, type RecordWriteHandlers, type RejectedChange, SessionProvider, type SessionProviderProps, type SignIn, type SignOut, type SignedUrl, type SignedUrlSource, type StorageImage, type SupportView, type Upload, type UploadStatus, type UploadTarget, type UseActionFormOptions, type UseActionOptions, type UseImageOptions, type UseOptimisticActionOptions, type UseRealtimeRelayOptions, type UseRecordFormOptions, type UseUploadOptions, can, createHooks, createRecordProvider, defineDataHooks, defineInfiniteListHook, defineListHook, defineOneHook, escapeLike, fieldErrorsOf, supportOf, tenantOf, useAction, useActionForm, useAuth, useBlockEnv, useBlockEvent, useBlockMutation, useBlockQuery, useBlockTenant, useBroadcast, useCan, useConflicts, useController, useDebouncedSearch, useImage, useLatest, useLiveCount, useLiveQuery, useOptimisticAction, usePresence, useRealtimeRelay, useRecordForm, useRecordListState, useSession, useSignIn, useSignOut, useSignedUrl, useSupabase, useSupportSession, useSyncStatus, useUpload };
|
package/dist/react/index.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { t as escapeLike } from "../escape-like-gxNXs145.js";
|
|
3
|
-
import { a as createHooks, d as useSupabase, i as BetterSupabaseProvider, l as useLiveCount, n as useSignIn, o as useAuth, r as useSignOut, s as useBroadcast, u as useLiveQuery } from "../sign-in-
|
|
3
|
+
import { a as createHooks, d as useSupabase, i as BetterSupabaseProvider, l as useLiveCount, n as useSignIn, o as useAuth, r as useSignOut, s as useBroadcast, u as useLiveQuery } from "../sign-in-CxnkReKM.js";
|
|
4
4
|
import { t as supportOf } from "../support-view-CvDEgyGY.js";
|
|
5
5
|
import { i as useSupportSession, r as useSession, t as SessionProvider } from "../session-BBfnagPA.js";
|
|
6
6
|
import { c as fieldErrorsOf } from "../data-hooks-Bvoc_jzM.js";
|
|
7
|
-
import { C as useBlockTenant, E as useOptimisticAction, S as useBlockEnv, T as useActionForm, _ as useBlockMutation, a as useRealtimeRelay, b as useRecordListState, c as useSyncStatus, d as useCan, f as defineDataHooks, g as useBlockEvent, h as defineOneHook, i as useDebouncedSearch, l as PermissionsProvider, m as defineListHook, n as useSignedUrl, o as usePresence, p as defineInfiniteListHook, r as useUpload, s as useConflicts, t as useImage, u as can, v as useBlockQuery, w as useAction, x as createRecordProvider, y as useRecordForm } from "../react-
|
|
7
|
+
import { C as useBlockTenant, E as useOptimisticAction, S as useBlockEnv, T as useActionForm, _ as useBlockMutation, a as useRealtimeRelay, b as useRecordListState, c as useSyncStatus, d as useCan, f as defineDataHooks, g as useBlockEvent, h as defineOneHook, i as useDebouncedSearch, l as PermissionsProvider, m as defineListHook, n as useSignedUrl, o as usePresence, p as defineInfiniteListHook, r as useUpload, s as useConflicts, t as useImage, u as can, v as useBlockQuery, w as useAction, x as createRecordProvider, y as useRecordForm } from "../react-hb2gg5UV.js";
|
|
8
8
|
import { n as useLatest, t as useController } from "../react-controller-BBT925kb.js";
|
|
9
9
|
import { t as OfflineContext } from "../offline-DC97pA8z.js";
|
|
10
10
|
import { t as tenantOf } from "../tenant-Duq0dWqX.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as AuthSnapshot } from "../../bind-
|
|
1
|
+
import { t as AuthSnapshot } from "../../bind-B-NW7-Fd.js";
|
|
2
2
|
import { a as OAuthSignInOptions, i as OAuthClient, n as AuthLinkError, o as WebBrowserLike, r as AuthLinkResult, t as AuthLinkClient } from "../../auth-link-C6n-ophf.js";
|
|
3
3
|
import { a as AppStateLike, r as PowerSyncReconnect, t as NativeAuthzRefreshClient } from "../../authz-refresh-Bg0T1i86.js";
|
|
4
4
|
import { i as authzUserTopic, r as AuthzVersionSource, t as AUTHZ_EVENT } from "../../authz-topic-C7n3kIm_.js";
|