better-supabase 0.56.0 → 0.57.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{agents-DJChYmXn.d.ts → agents-BXjBzFlb.d.ts} +2 -2
- package/dist/{ai-schedules-5fxfEOWM.d.ts → ai-schedules-F9MS-bie.d.ts} +1 -1
- package/dist/ai-sdk/agents/index.d.ts +1 -1
- package/dist/ai-sdk/workflow/index.d.ts +1 -1
- package/dist/{app-tables-CWnf7wpo.d.ts → app-tables-DypEnAID.d.ts} +1 -1
- package/dist/{authorization-Hh9xUm0r.d.ts → authorization-CRKL2OFQ.d.ts} +1 -1
- package/dist/{bind-CC5-eBT-.d.ts → bind-DEPqZLwv.d.ts} +3 -3
- package/dist/{block-env-CzT1OAiI.d.ts → block-env-CAdE4Q5v.d.ts} +4 -4
- package/dist/{block-tables-DOGtmm0m.d.ts → block-tables-BATer_QF.d.ts} +1 -1
- package/dist/blocks/access-requests/index.d.ts +1 -1
- package/dist/blocks/accounting/index.d.ts +1 -1
- package/dist/blocks/acknowledgements/index.d.ts +1 -1
- package/dist/blocks/activities/index.d.ts +2 -2
- package/dist/blocks/advisories/index.d.ts +1 -1
- package/dist/blocks/agent-checkout/index.d.ts +1 -1
- package/dist/blocks/agents/index.d.ts +1 -1
- package/dist/blocks/ai-cache/index.d.ts +1 -1
- package/dist/blocks/ai-chat/index.d.ts +1 -1
- package/dist/blocks/ai-evals/index.d.ts +1 -1
- package/dist/blocks/ai-files/index.d.ts +1 -1
- package/dist/blocks/ai-guardrails/index.d.ts +1 -1
- package/dist/blocks/ai-keys/index.d.ts +1 -1
- package/dist/blocks/ai-schedules/index.d.ts +2 -2
- package/dist/blocks/announcements/index.d.ts +4 -4
- package/dist/blocks/api-keys/index.d.ts +1 -1
- package/dist/blocks/appraisals/index.d.ts +1 -1
- package/dist/blocks/approvals/index.d.ts +1 -1
- package/dist/blocks/assets/index.d.ts +2 -2
- package/dist/blocks/assignment/index.d.ts +1 -1
- package/dist/blocks/attachments/index.d.ts +5 -5
- package/dist/blocks/audit/index.d.ts +2 -2
- package/dist/blocks/automations/index.d.ts +3 -3
- package/dist/blocks/banking/index.d.ts +1 -1
- package/dist/blocks/billable-time/index.d.ts +1 -1
- package/dist/blocks/billing/index.d.ts +2 -2
- package/dist/blocks/bookings/index.d.ts +2 -2
- package/dist/blocks/bulk/index.d.ts +1 -1
- package/dist/blocks/calendar/index.d.ts +3 -3
- package/dist/blocks/care/index.d.ts +27 -27
- package/dist/blocks/care-plans/index.d.ts +3 -3
- package/dist/blocks/cases/index.d.ts +3 -3
- package/dist/blocks/catalog/index.d.ts +2 -2
- package/dist/blocks/channels/index.d.ts +1 -1
- package/dist/blocks/clinical-decision-support/index.d.ts +1 -1
- package/dist/blocks/cms/index.d.ts +5 -5
- package/dist/blocks/collaboration/index.d.ts +6 -6
- package/dist/blocks/collections/index.d.ts +1 -1
- package/dist/blocks/comments/index.d.ts +2 -2
- package/dist/blocks/commerce/index.d.ts +5 -5
- package/dist/blocks/commissions/index.d.ts +1 -1
- package/dist/blocks/compliance/index.d.ts +1 -1
- package/dist/blocks/connectors/index.d.ts +1 -1
- package/dist/blocks/consents/index.d.ts +2 -2
- package/dist/blocks/contacts/index.d.ts +2 -2
- package/dist/blocks/content/index.d.ts +2 -2
- package/dist/blocks/contracts/index.d.ts +1 -1
- package/dist/blocks/courses/index.d.ts +3 -3
- package/dist/blocks/created-by/index.d.ts +2 -2
- package/dist/blocks/crm/index.d.ts +16 -16
- package/dist/blocks/custom-fields/index.d.ts +1 -1
- package/dist/blocks/dam/index.d.ts +2 -2
- package/dist/blocks/data-lifecycle/index.d.ts +2 -2
- package/dist/blocks/deadlines/index.d.ts +1 -1
- package/dist/blocks/deals/index.d.ts +1 -1
- package/dist/blocks/dispatch/index.d.ts +2 -2
- package/dist/blocks/document-templates/index.d.ts +2 -2
- package/dist/blocks/documents/index.d.ts +1 -1
- package/dist/blocks/domains/index.d.ts +1 -1
- package/dist/blocks/donations/index.d.ts +1 -1
- package/dist/blocks/drive/index.d.ts +5 -5
- package/dist/blocks/e-prescribing/index.d.ts +1 -1
- package/dist/blocks/employees/index.d.ts +1 -1
- package/dist/blocks/enrichment/index.d.ts +1 -1
- package/dist/blocks/enrollments/index.d.ts +2 -2
- package/dist/blocks/entitlements/index.d.ts +3 -3
- package/dist/blocks/events/index.d.ts +3 -3
- package/dist/blocks/expenses/index.d.ts +1 -1
- package/dist/blocks/field-history/index.d.ts +1 -1
- package/dist/blocks/filespace/index.d.ts +8 -8
- package/dist/blocks/finance/index.d.ts +5 -5
- package/dist/blocks/flags/index.d.ts +1 -1
- package/dist/blocks/forecasts/index.d.ts +1 -1
- package/dist/blocks/forms/index.d.ts +3 -3
- package/dist/blocks/funding/index.d.ts +2 -2
- package/dist/blocks/goals/index.d.ts +1 -1
- package/dist/blocks/governance/index.d.ts +4 -4
- package/dist/blocks/guests/index.d.ts +1 -1
- package/dist/blocks/hiring/index.d.ts +1 -1
- package/dist/blocks/identities/index.d.ts +1 -1
- package/dist/blocks/imports/index.d.ts +2 -2
- package/dist/blocks/inbox/index.d.ts +6 -6
- package/dist/blocks/incidents/index.d.ts +1 -1
- package/dist/blocks/index.d.ts +3 -3
- package/dist/blocks/inspections/index.d.ts +2 -2
- package/dist/blocks/inventory/index.d.ts +1 -1
- package/dist/blocks/invoices/index.d.ts +1 -1
- package/dist/blocks/knowledge/index.d.ts +1 -1
- package/dist/blocks/lead-scoring/index.d.ts +2 -2
- package/dist/blocks/learning/index.d.ts +3 -3
- package/dist/blocks/leases/index.d.ts +1 -1
- package/dist/blocks/leave/index.d.ts +1 -1
- package/dist/blocks/ledger/index.d.ts +1 -1
- package/dist/blocks/legal-entities/index.d.ts +2 -2
- package/dist/blocks/lims/index.d.ts +2 -2
- package/dist/blocks/mail-sync/index.d.ts +3 -3
- package/dist/blocks/maintenance/index.d.ts +2 -2
- package/dist/blocks/manufacturing/index.d.ts +2 -2
- package/dist/blocks/medications/index.d.ts +1 -1
- package/dist/blocks/meetings/index.d.ts +3 -3
- package/dist/blocks/memberships/index.d.ts +2 -2
- package/dist/blocks/memory/index.d.ts +1 -1
- package/dist/blocks/messaging/index.d.ts +5 -5
- package/dist/blocks/metrics/index.d.ts +1 -1
- package/dist/blocks/mfa/index.d.ts +2 -2
- package/dist/blocks/moderation/index.d.ts +2 -2
- package/dist/blocks/notifications/index.d.ts +5 -5
- package/dist/blocks/numbering/index.d.ts +1 -1
- package/dist/blocks/oauth-server/index.d.ts +1 -1
- package/dist/blocks/observations/index.d.ts +2 -2
- package/dist/blocks/onboarding/index.d.ts +2 -2
- package/dist/blocks/option-sets/index.d.ts +2 -2
- package/dist/blocks/orders/index.d.ts +1 -1
- package/dist/blocks/organizations/index.d.ts +2 -2
- package/dist/blocks/outbox/index.d.ts +1 -1
- package/dist/blocks/passes/index.d.ts +2 -2
- package/dist/blocks/payroll-export/index.d.ts +2 -2
- package/dist/blocks/people/index.d.ts +7 -7
- package/dist/blocks/periods/index.d.ts +1 -1
- package/dist/blocks/permissions/index.d.ts +3 -3
- package/dist/blocks/pipelines/index.d.ts +1 -1
- package/dist/blocks/posts/index.d.ts +2 -2
- package/dist/blocks/procurement/index.d.ts +5 -5
- package/dist/blocks/profiles/index.d.ts +1 -1
- package/dist/blocks/projects/index.d.ts +7 -7
- package/dist/blocks/promotions/index.d.ts +1 -1
- package/dist/blocks/prompts/index.d.ts +1 -1
- package/dist/blocks/push/index.d.ts +2 -2
- package/dist/blocks/qualifications/index.d.ts +2 -2
- package/dist/blocks/queue/index.d.ts +2 -2
- package/dist/blocks/quotes/index.d.ts +1 -1
- package/dist/blocks/rank/index.d.ts +1 -1
- package/dist/blocks/reactions/index.d.ts +4 -4
- package/dist/blocks/recruiting/index.d.ts +4 -4
- package/dist/blocks/referrals/index.d.ts +1 -1
- package/dist/blocks/relations/index.d.ts +1 -1
- package/dist/blocks/reminders/index.d.ts +1 -1
- package/dist/blocks/reviews/index.d.ts +1 -1
- package/dist/blocks/rfqs/index.d.ts +2 -2
- package/dist/blocks/risks/index.d.ts +2 -2
- package/dist/blocks/saas/index.d.ts +12 -12
- package/dist/blocks/sales/index.d.ts +1 -1
- package/dist/blocks/saved-views/index.d.ts +2 -2
- package/dist/blocks/scheduling/index.d.ts +4 -4
- package/dist/blocks/scores/index.d.ts +2 -2
- package/dist/blocks/search/index.d.ts +3 -3
- package/dist/blocks/security-events/index.d.ts +1 -1
- package/dist/blocks/segments/index.d.ts +2 -2
- package/dist/blocks/sequences/index.d.ts +3 -3
- package/dist/blocks/service/index.d.ts +7 -7
- package/dist/blocks/service-accounts/index.d.ts +1 -1
- package/dist/blocks/sessions/index.d.ts +2 -2
- package/dist/blocks/settings/index.d.ts +2 -2
- package/dist/blocks/share-links/index.d.ts +1 -1
- package/dist/blocks/shifts/index.d.ts +2 -2
- package/dist/blocks/shipments/index.d.ts +2 -2
- package/dist/blocks/signatures/index.d.ts +2 -2
- package/dist/blocks/signing-keys/index.d.ts +1 -1
- package/dist/blocks/sla/index.d.ts +1 -1
- package/dist/blocks/sso/index.d.ts +1 -1
- package/dist/blocks/state-machine/index.d.ts +1 -1
- package/dist/blocks/subjects/index.d.ts +2 -2
- package/dist/blocks/support/index.d.ts +5 -5
- package/dist/blocks/tags/index.d.ts +2 -2
- package/dist/blocks/tasks/index.d.ts +2 -2
- package/dist/blocks/tax/index.d.ts +2 -2
- package/dist/blocks/teams/index.d.ts +1 -1
- package/dist/blocks/templates/index.d.ts +1 -1
- package/dist/blocks/tills/index.d.ts +1 -1
- package/dist/blocks/time-tracking/index.d.ts +2 -2
- package/dist/blocks/timeline/index.d.ts +1 -1
- package/dist/blocks/trash/index.d.ts +1 -1
- package/dist/blocks/undo/index.d.ts +2 -2
- package/dist/blocks/updated-at/index.d.ts +2 -2
- package/dist/blocks/usage/index.d.ts +2 -2
- package/dist/blocks/vercel-marketplace/index.d.ts +1 -1
- package/dist/blocks/versions/index.d.ts +1 -1
- package/dist/blocks/waitlist/index.d.ts +1 -1
- package/dist/blocks/warehouse/index.d.ts +1 -1
- package/dist/blocks/webhooks/index.d.ts +1 -1
- package/dist/blocks/workflow-editor/index.d.ts +4 -4
- package/dist/blocks/workflows/index.d.ts +4 -4
- package/dist/{blocks-DvWEz8mQ.d.ts → blocks-Cf2U_jmO.d.ts} +1 -1
- package/dist/claims/index.d.ts +3 -3
- package/dist/cli/{add--O_HFhs0.js → add-CB2nU8nW.js} +2 -2
- package/dist/cli/{add-DT2QsJB0.js → add-DQXg3MLt.js} +10 -10
- package/dist/cli/add-DWUCeKIl.js +1 -0
- package/dist/cli/{app-table-files-BjMDa_7_.js → app-table-files-Ch3GTFjg.js} +2 -2
- package/dist/cli/{app-tables-D34g1ASz.js → app-tables-CwSpV4yV.js} +2 -2
- package/dist/cli/{backfill-DWD5chCd.js → backfill-Cngd3Ax2.js} +1 -1
- package/dist/cli/bin.js +1 -1
- package/dist/cli/{blocks-BduQcXFb.js → blocks--hf8elE7.js} +1 -1
- package/dist/cli/{blocks-DKs7Qj8R.js → blocks-BGHYZGoh.js} +1 -1
- package/dist/cli/{cache-EFwNdKib.js → cache-DMqncCOE.js} +1 -1
- package/dist/cli/{codemod-CuaWRwst.js → codemod-BrNMM9qN.js} +1 -1
- package/dist/cli/{content-mapper-BlOMmIM2.js → content-mapper-CBBnca0p.js} +2 -2
- package/dist/cli/{doctor-JdxWuscJ.js → doctor-BHsw2SGl.js} +15 -15
- package/dist/cli/{gen-n6l6AMLo.js → gen-BbLeZxhv.js} +11 -11
- package/dist/cli/index.d.ts +1 -1
- package/dist/cli/index.js +6 -6
- package/dist/cli/{init-BLMHN_2A.js → init-DH0LI0hx.js} +9 -9
- package/dist/cli/{live-C4uCg3ME.js → live-DFlCT5Uk.js} +2 -2
- package/dist/cli/{mcp-CFLvzFKH.js → mcp-B9ZwlZrA.js} +2 -2
- package/dist/cli/{metadata-CRp8JQTE.js → metadata-DmXQDGq9.js} +3 -3
- package/dist/cli/{migrate-BjDf0moD.js → migrate-DG4_cemN.js} +1 -1
- package/dist/cli/{migration-safety-D-QnV2BW.js → migration-safety-CMvBM2Vi.js} +1 -1
- package/dist/cli/{migrations-8dDFF8SW.js → migrations-B88uNBtB.js} +2 -2
- package/dist/cli/{module-migration-DuwIX8MO.js → module-migration-CrVdvTsm.js} +2 -2
- package/dist/cli/{powersync-CHVlZIqs.js → powersync-CiWMuRwt.js} +3 -3
- package/dist/cli/powersync-TFSmK9XH.js +1 -0
- package/dist/cli/{print-orgMiDzp.js → print-DJtwCt5U.js} +2 -2
- package/dist/cli/{providers-DWZVnoDw.js → providers-CN8w11Yf.js} +1 -1
- package/dist/cli/{prune-workflows-DelKs-zD.js → prune-workflows-Bwzd1_z4.js} +1 -1
- package/dist/cli/{remove-BH6Zwjhs.js → remove-D4fXl2zz.js} +6 -6
- package/dist/cli/{render-DyWVslCM.js → render-Fafpgh5a.js} +3 -3
- package/dist/cli/{run-BYX5n5rt.js → run-BM4C0L-r.js} +9 -9
- package/dist/cli/{run-GcSBgXCH.js → run-du7PclzJ.js} +31 -31
- package/dist/cli/{shared-BoVOOrpJ.js → shared-l0oG47Rc.js} +1 -1
- package/dist/cli/{snapshot-BZGZ9pB-.js → snapshot-DAVFBIVQ.js} +2 -2
- package/dist/cli/{source-Buw7eODS.js → source-CfPOobxZ.js} +1 -1
- package/dist/cli/{spec-CUWMpL3f.js → spec-DCSih_mA.js} +2 -2
- package/dist/cli/{spec-CnRC9FcX.js → spec-Dlbmh0EH.js} +1 -1
- package/dist/cli/{sql-layout-BZ-NhhTI.js → sql-layout-DpCFWUnX.js} +2 -2
- package/dist/cli/{sync-CFzA4xdr.js → sync-3LMoCI1x.js} +4 -4
- package/dist/cli/{upgrade-D1szGysi.js → upgrade-4A6oQN-6.js} +5 -5
- package/dist/cli/{upgrade-ukOP0GXf.js → upgrade-DyE_4LAn.js} +2 -2
- package/dist/cli/{version-D1sJX6_6.js → version-DaV4RlVP.js} +1 -1
- package/dist/client/index.d.ts +5 -5
- package/dist/client/native/index.d.ts +4 -4
- package/dist/config/index.d.ts +4 -4
- package/dist/{context-BIBqUjVz.d.ts → context-C3-QkbC2.d.ts} +3 -3
- package/dist/contract/index.d.ts +3 -3
- package/dist/{controller-DBD6WWDa.d.ts → controller-6_Uo4WEe.d.ts} +1 -1
- package/dist/{conversion-DLkof9_y.d.ts → conversion-kJKGDyKY.d.ts} +1 -1
- package/dist/create/index.d.ts +4 -4
- package/dist/create/index.js +1 -1
- package/dist/create/lite/index.d.ts +3 -3
- package/dist/create/lite/index.js +1 -1
- package/dist/{define-block-zK3QnPyG.d.ts → define-block-Dle1hNrI.d.ts} +1 -1
- package/dist/{drive-Keqe8dIg.d.ts → drive-C2EYvBxH.d.ts} +1 -1
- package/dist/{entitlements-QwMag409.d.ts → entitlements-Bb-dOARS.d.ts} +1 -1
- package/dist/{extract-CJWS6MMG.d.ts → extract-BwhGjyWJ.d.ts} +1 -1
- package/dist/{field-errors-BlyD3if3.d.ts → field-errors-CjEfOrH1.d.ts} +5 -5
- package/dist/{index-DBqRH5cj.d.ts → index-2gyZE8Rf.d.ts} +3 -3
- package/dist/{index-HANt6RDT.d.ts → index-B5Qh7kMt.d.ts} +1 -1
- package/dist/{index-DNitLhgU.d.ts → index-BE4JTKF9.d.ts} +2 -2
- package/dist/{index-CJB2uCFk.d.ts → index-BEmlle8t.d.ts} +1 -1
- package/dist/{index-DaTxv1aA.d.ts → index-BEtCBklB.d.ts} +1 -1
- package/dist/{index-_rOaXPbx.d.ts → index-BY1YQVSU.d.ts} +1 -1
- package/dist/{index-n-7IwvYP.d.ts → index-BYV1G4-b.d.ts} +2 -2
- package/dist/{index-DCeA3cFQ.d.ts → index-BjIGMnQ0.d.ts} +1 -1
- package/dist/{index-urOSlPMc.d.ts → index-BqD3Iu_J.d.ts} +2 -2
- package/dist/{index-D_g2loq-.d.ts → index-BqJum_h9.d.ts} +1 -1
- package/dist/{index-DD3Ldome.d.ts → index-Buxrux0m.d.ts} +2 -2
- package/dist/{index-D_OEwOaE.d.ts → index-BzrihVGI.d.ts} +2 -2
- package/dist/{index-DASeimpy.d.ts → index-C8S7_Q8r.d.ts} +1 -1
- package/dist/{index-B5rQ9MEl.d.ts → index-CC34bHDQ.d.ts} +1 -1
- package/dist/{index-CT0OjCk1.d.ts → index-CN3C6JkR.d.ts} +1 -1
- package/dist/{index-BSdDLEA-.d.ts → index-CNuolr9n.d.ts} +1 -1
- package/dist/{index-WXVYfOHr.d.ts → index-COIhSgY7.d.ts} +4 -4
- package/dist/{index-Do6ZAvXT.d.ts → index-Cg7SR_qX.d.ts} +1 -1
- package/dist/{index-DpwRuDBy.d.ts → index-Cm8MeW9i.d.ts} +4 -4
- package/dist/{index-DEDIPDaW.d.ts → index-CwPttFTz.d.ts} +2 -2
- package/dist/{index-BxdldeGx.d.ts → index-D1O-RJWe.d.ts} +1 -1
- package/dist/{index-B7_Mq8Qm.d.ts → index-D9nVD78s.d.ts} +1 -1
- package/dist/{index-9rajR8Ti.d.ts → index-DBFr7a8o.d.ts} +1 -1
- package/dist/{index-CPRQdNHc.d.ts → index-DOfmW2AH.d.ts} +2 -2
- package/dist/{index-BIClMq6S.d.ts → index-DSAikYZQ.d.ts} +7 -7
- package/dist/{index-Cvd24Ybb.d.ts → index-DbCYIGAY.d.ts} +1 -1
- package/dist/{index-CSdjm0Kn.d.ts → index-DdMcDiIK.d.ts} +2 -2
- package/dist/{index-BOI3eLz0.d.ts → index-Ddo11etS.d.ts} +1 -1
- package/dist/{index-XjhYgGhk.d.ts → index-DugPUkCG.d.ts} +2 -2
- package/dist/{index-BTC40rxx.d.ts → index-DwDtMCDt.d.ts} +1 -1
- package/dist/{index-COLMIEk0.d.ts → index-Dx6jNpfl.d.ts} +1 -1
- package/dist/{index-CocISf2h.d.ts → index-Dxza7aew.d.ts} +1 -1
- package/dist/{index-0AVn1Dcr.d.ts → index-NzTBsdNG.d.ts} +1 -1
- package/dist/{index-BGqvP9dE.d.ts → index-U2_mkKvZ.d.ts} +8 -8
- package/dist/{index-C7tmYYB5.d.ts → index-bTW0dRZY.d.ts} +3 -3
- package/dist/{index-DcihkEQo.d.ts → index-hctpn1Mt.d.ts} +1 -1
- package/dist/{index-QpKsKUbn.d.ts → index-yL19hBMN.d.ts} +2 -2
- package/dist/{manifest-SEhx1LFs.d.ts → manifest-2z4m-cwI.d.ts} +1 -1
- package/dist/{manifest-Bx62hgMv.d.ts → manifest-64Zd4QzL.d.ts} +1 -1
- package/dist/{manifest-BVkjX2t-.d.ts → manifest-9tZFwb_N.d.ts} +1 -1
- package/dist/{manifest-CV-9uzTU.d.ts → manifest-B0-5rKJ_.d.ts} +1 -1
- package/dist/{manifest-DHV0zxVj.d.ts → manifest-B0ByrOJ2.d.ts} +1 -1
- package/dist/{manifest-DebHyEiN.d.ts → manifest-B4yf2Fir.d.ts} +1 -1
- package/dist/{manifest-x50nYF_4.d.ts → manifest-BBETqrI-.d.ts} +1 -1
- package/dist/{manifest-Doxj-elq.d.ts → manifest-BEFiuvqo.d.ts} +1 -1
- package/dist/{manifest-BBIs-5xy.d.ts → manifest-BG6K9qvU.d.ts} +1 -1
- package/dist/{manifest-UHESrKBI.d.ts → manifest-BOkGzZcG.d.ts} +1 -1
- package/dist/{manifest-DOUGC7xP.d.ts → manifest-BReV7Ehb.d.ts} +1 -1
- package/dist/{manifest-BE6JGlFP.d.ts → manifest-BSmnJW4X.d.ts} +1 -1
- package/dist/{manifest-B4SF4ieN.d.ts → manifest-BV8_wZab.d.ts} +1 -1
- package/dist/{manifest-CJEzfFKP.d.ts → manifest-BXvY6i0C.d.ts} +1 -1
- package/dist/{manifest-BExilPWu.d.ts → manifest-BbUa_z3D.d.ts} +1 -1
- package/dist/{manifest-D2mvuqCe.d.ts → manifest-BcurR7jz.d.ts} +1 -1
- package/dist/{manifest-BeupHUUC.d.ts → manifest-BfWK-zw_.d.ts} +1 -1
- package/dist/{manifest-BX7vyeYr.d.ts → manifest-Bl4kFo6c.d.ts} +1 -1
- package/dist/{manifest-Ch8G8wad.d.ts → manifest-Bsr9SSG5.d.ts} +1 -1
- package/dist/{manifest-Bcx4GSo0.d.ts → manifest-BtI5HhXk.d.ts} +1 -1
- package/dist/{manifest-CeFiTTOx.d.ts → manifest-BxY9kn1w.d.ts} +1 -1
- package/dist/{manifest-DFGW17h3.d.ts → manifest-C2QmAn2x.d.ts} +1 -1
- package/dist/{manifest-BmI85ooO.d.ts → manifest-C5CZYXC2.d.ts} +1 -1
- package/dist/{manifest-BwwWlxof.d.ts → manifest-C9PoeugH.d.ts} +1 -1
- package/dist/{manifest-CCQYjt7L.d.ts → manifest-C9x5lxeF.d.ts} +1 -1
- package/dist/{manifest-BNhdYakH.d.ts → manifest-CKAtEVtk.d.ts} +1 -1
- package/dist/{manifest-DAQAHnHf.d.ts → manifest-CVQ3q-JJ.d.ts} +1 -1
- package/dist/{manifest-Cb0BCYmS.d.ts → manifest-CWKtnWcS.d.ts} +1 -1
- package/dist/{manifest-Duj_AN2H.d.ts → manifest-CchgUbRg.d.ts} +1 -1
- package/dist/{manifest-DBUE3KbP.d.ts → manifest-Cjt5fW9U.d.ts} +1 -1
- package/dist/{manifest-CxJtO760.d.ts → manifest-CuuE9u0c.d.ts} +1 -1
- package/dist/{manifest-DGXOQgh3.d.ts → manifest-D23v7_Fg.d.ts} +1 -1
- package/dist/{manifest-Se6qEw03.d.ts → manifest-D9fWfK2i.d.ts} +1 -1
- package/dist/{manifest-CtvRTQoq.d.ts → manifest-DGHeP3gy.d.ts} +1 -1
- package/dist/{manifest-DKk12W7u.d.ts → manifest-DGePKO35.d.ts} +1 -1
- package/dist/{manifest-DzN5YdbZ.d.ts → manifest-DHAShiq8.d.ts} +1 -1
- package/dist/{manifest-DbzB7NQP.d.ts → manifest-DPSgN4LB.d.ts} +1 -1
- package/dist/{manifest-C1plIFth.d.ts → manifest-DPeSW0P5.d.ts} +1 -1
- package/dist/{manifest-CYDtm5Yz.d.ts → manifest-DT4l91L_.d.ts} +1 -1
- package/dist/{manifest-XpSrCsAV.d.ts → manifest-DUA64Tnn.d.ts} +1 -1
- package/dist/{manifest-DPQpIRCO.d.ts → manifest-DVBfzRly.d.ts} +1 -1
- package/dist/{manifest-D_tuEFvt.d.ts → manifest-DXuOYu6Q.d.ts} +1 -1
- package/dist/{manifest-Ul7Uq35H.d.ts → manifest-D_AT0kqo.d.ts} +1 -1
- package/dist/{manifest-DElW3hfs.d.ts → manifest-D_aJ09Il.d.ts} +1 -1
- package/dist/{manifest-DujUV7Cu.d.ts → manifest-D_kxP0yH.d.ts} +1 -1
- package/dist/{manifest-C8-zVlM4.d.ts → manifest-DgtO2rew.d.ts} +1 -1
- package/dist/{manifest-CLSlmLnn.d.ts → manifest-DiKKpytg.d.ts} +1 -1
- package/dist/{manifest-Cc1r_IME.d.ts → manifest-DlWg4mC8.d.ts} +1 -1
- package/dist/{manifest-Dd0bmqd-.d.ts → manifest-DlyGRc_x.d.ts} +1 -1
- package/dist/{manifest-CANbbLyM.d.ts → manifest-DreoW4xj.d.ts} +1 -1
- package/dist/{manifest-CDIvE9Po.d.ts → manifest-Gwsis09w.d.ts} +1 -1
- package/dist/{manifest-Ciu7htmT.d.ts → manifest-K1yCH7Ai.d.ts} +1 -1
- package/dist/{manifest-iRX3gQ3g.d.ts → manifest-TSUBAvih.d.ts} +1 -1
- package/dist/{manifest-B9D-PHpo.d.ts → manifest-WuPrNtWh.d.ts} +1 -1
- package/dist/{manifest-DKCc24tm.d.ts → manifest-b1ei2NBj.d.ts} +1 -1
- package/dist/{manifest-BoKnFQJK.d.ts → manifest-byZwzlAG.d.ts} +1 -1
- package/dist/{manifest-BYxKYFcH.d.ts → manifest-fUQWT0ft.d.ts} +1 -1
- package/dist/{manifest-DPXd-wZG.d.ts → manifest-hrX9Hsgd.d.ts} +1 -1
- package/dist/{manifest-uRsVzPOJ.d.ts → manifest-iRyMyb7t.d.ts} +1 -1
- package/dist/{manifest-D8o7ivPa.d.ts → manifest-r5iVaZrT.d.ts} +1 -1
- package/dist/{manifest-P2Pzb1Jo.d.ts → manifest-xVl_34TT.d.ts} +1 -1
- package/dist/{manifest-BVnfLMPU.d.ts → manifest-yUJGXgsd.d.ts} +2 -2
- package/dist/mapper/bin.js +5 -5
- package/dist/mcp/index.d.ts +1 -1
- package/dist/next/index.d.ts +7 -7
- package/dist/{operations-Ce53BGJ0.d.ts → operations-DvIB3N20.d.ts} +1 -1
- package/dist/otel/index.js +4 -4
- package/dist/{permissions-Bi4WvjnM.d.ts → permissions-CtS73Ot8.d.ts} +1 -1
- package/dist/{ports-TvLRuWgJ.d.ts → ports-D_z0B0OU.d.ts} +1 -1
- package/dist/powersync/index.d.ts +2 -2
- package/dist/preset/index.d.ts +4 -4
- package/dist/{preview-DvpfbcDY.d.ts → preview-B0MvbKqQ.d.ts} +2 -2
- package/dist/{project-CkGGYXKd.js → project-CMRUh_6Z.js} +1 -1
- package/dist/{push-token-GJUUE_6j.d.ts → push-token--jdbVbWv.d.ts} +1 -1
- package/dist/query/index.d.ts +1 -1
- package/dist/react/index.d.ts +5 -5
- package/dist/react/native/index.d.ts +1 -1
- package/dist/react/server.d.ts +5 -5
- package/dist/realtime/index.d.ts +3 -3
- package/dist/{record-form-DhpdYw5e.d.ts → record-form-Bb3mf114.d.ts} +1 -1
- package/dist/records/index.d.ts +7 -7
- package/dist/server/index.d.ts +3 -3
- package/dist/solid/index.d.ts +5 -5
- package/dist/sql/index.d.ts +5 -5
- package/dist/sql/index.js +1 -1
- package/dist/{sql-CFsIpR4t.js → sql-DXME28Gr.js} +56 -10
- package/dist/ssr/index.d.ts +1 -1
- package/dist/svelte/index.d.ts +5 -5
- package/dist/{tenant-BTxVWIN6.d.ts → tenant-sm9d_APF.d.ts} +1 -1
- package/dist/testing/index.d.ts +6 -6
- package/dist/{timeline-9r4mx0A2.d.ts → timeline-BR-oKhI4.d.ts} +2 -2
- package/dist/{topic-_7QKu4b5.d.ts → topic-CBTgUy6t.d.ts} +1 -1
- package/dist/{types-C2qXUXjK.d.ts → types-DRNzKqdm.d.ts} +2 -2
- package/dist/vue/index.d.ts +5 -5
- package/dist/{watch-topic-Do0x41n3.d.ts → watch-topic-DYDnWH_a.d.ts} +1 -1
- package/dist/webmcp/index.d.ts +1 -1
- package/dist/yjs/index.d.ts +1 -1
- package/package.json +1 -1
- package/dist/cli/add-CUAchifS.js +0 -1
- package/dist/cli/powersync-ByqoHJwp.js +0 -1
package/dist/otel/index.js
CHANGED
|
@@ -39,9 +39,9 @@ function systemOf(executor) {
|
|
|
39
39
|
* ```
|
|
40
40
|
*/
|
|
41
41
|
function otel(options = {}) {
|
|
42
|
-
const tracer = options.tracer ?? trace.getTracer("better-supabase", "0.
|
|
42
|
+
const tracer = options.tracer ?? trace.getTracer("better-supabase", "0.57.0");
|
|
43
43
|
let histogram;
|
|
44
|
-
if (options.metrics !== false) histogram = (options.meter ?? metrics.getMeter("better-supabase", "0.
|
|
44
|
+
if (options.metrics !== false) histogram = (options.meter ?? metrics.getMeter("better-supabase", "0.57.0")).createHistogram("db.client.operation.duration", {
|
|
45
45
|
unit: "s",
|
|
46
46
|
description: "Duration of database client operations.",
|
|
47
47
|
advice: { explicitBucketBoundaries: [
|
|
@@ -230,7 +230,7 @@ function otel(options = {}) {
|
|
|
230
230
|
* `betterSupabase.events`. Returns a function that stops listening.
|
|
231
231
|
*/
|
|
232
232
|
function traceAuth(betterSupabase, options = {}) {
|
|
233
|
-
const tracer = options.tracer ?? trace.getTracer("better-supabase", "0.
|
|
233
|
+
const tracer = options.tracer ?? trace.getTracer("better-supabase", "0.57.0");
|
|
234
234
|
const offAuth = betterSupabase.events.on("auth", (event) => {
|
|
235
235
|
const span = tracer.startSpan("auth.resolve", {
|
|
236
236
|
kind: SpanKind.INTERNAL,
|
|
@@ -269,7 +269,7 @@ function traceAuth(betterSupabase, options = {}) {
|
|
|
269
269
|
* `*.denied`) set an error status. Returns a function that stops listening.
|
|
270
270
|
*/
|
|
271
271
|
function traceBlockEvents(betterSupabase, options = {}) {
|
|
272
|
-
const tracer = options.tracer ?? trace.getTracer("better-supabase", "0.
|
|
272
|
+
const tracer = options.tracer ?? trace.getTracer("better-supabase", "0.57.0");
|
|
273
273
|
return betterSupabase.events.on("block", (event) => {
|
|
274
274
|
const attributes = {
|
|
275
275
|
...options.attributes,
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { C as quoteSqliteIdent, S as likeToGlob, _ as SqliteQuery, a as postgrestTimestamp, b as SqliteValue, c as sqliteCompiler, d as SqliteDecode, f as SqliteInsertPlan, g as SqlitePlan, h as SqliteNested, i as fromSqliteError, l as SqliteColumn, m as SqliteKeys, n as SqliteDatabaseLike, o as CheckSqliteOptions, p as SqliteKeyedPlan, r as SqliteExecutorOptions, s as checkSqlite, t as SqliteContextLike, u as SqliteCompilerOptions, v as SqliteReturning, w as sqliteValue, x as compileSqlite, y as SqliteSelectPlan } from "../executor-CewY2EQK.js";
|
|
2
2
|
import { Vt as Executor } from "../types-BlBju7Wa.js";
|
|
3
3
|
import { C as UploadRouteOptions, E as uploadRoute, S as UploadRoute, T as uploadOutcome, _ as UploadConnectorOptions, b as UploadOutcome, c as LocalTablesOption, d as CreateUploadRepository, f as CrudEntryLike, g as UploadConnector, h as RejectedStore, m as RejectedChange, n as DataEngine, p as CrudQueueLike, s as LiveEngineOptions, v as UploadErrorContext, w as createUploadConnector, x as UploadRepository, y as UploadFunction } from "../data-engine-0uVsKWaB.js";
|
|
4
|
-
import { t as AuthSnapshot } from "../bind-
|
|
4
|
+
import { t as AuthSnapshot } from "../bind-DEPqZLwv.js";
|
|
5
5
|
import { t as BlockTransport } from "../block-transport-CP4wAHU-.js";
|
|
6
6
|
import { b as DbError, f as Result } from "../result-CMqlHv82.js";
|
|
7
|
-
import { n as TopicPort } from "../watch-topic-
|
|
7
|
+
import { n as TopicPort } from "../watch-topic-DYDnWH_a.js";
|
|
8
8
|
import { o as EngagementSubject } from "../activities-DPq0U9Nb.js";
|
|
9
9
|
import { a as MedicationAsNeededInput, r as MedicationAdministrationInput } from "../medications-0Uuwu3k2.js";
|
|
10
10
|
import { d as ObservationInput, t as Observation } from "../observations-ilWeRQ20.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 PresetSubjectSettings } from "../define-block-
|
|
2
|
-
import { $i as CORE_BLOCKS, $n as presetApplyCommand, An as CREATE_URL, Bn as MAX_DESIGN_CODE_LENGTH, Cn as PRESET_GROUPS, Cr as ResolvedPresetBlock, Dn as defaultPreset, Dr as resolvePreset, En as PresetName, Er as removeComposite, Fn as DesignFile, Gn as designFileSource, Hn as createUrl, In as DesignParseError, Jn as designSchema, Kn as designFormat, Ln as DesignParseIssue, Mn as DESIGN_FILE, Nn as DESIGN_FORMAT, On as isPresetName, Pn as DesignErrorCode, Qn as presetAndDesignOf, Qr as APP_COLUMN_FORMATS, Rn as DesignParseResult, Sn as PRESETS, Sr as ResolvedPreset, Tn as PresetGroup, Tr as presetBlockConflict, Un as decodeDesign, Vn as createQuery, Wn as designConfig, Xn as isDesignCode, Yn as encodeDesign, Zn as parseDesign, _r as presetSpec, aa as PresetCatalogBlock, ai as AppColumnFormat, ar as safeDesignFileSource, bn as DEFAULT_PRESET_NAME, br as PresetIntegration, cr as ExpandedConfig, dr as expandPreset, ea as INSTANCE_NAME, er as presetArgumentOf, fr as presetConfig, gr as presetOfSpec, hr as presetFromSpec, ia as PresetCatalog, ir as readDesignFile, jn as CreateDesign, kn as namedPreset, lr as PresetInput, mr as PresetSpec, na as BlockCatalog, nr as presetInstallCommand, oa as PresetCatalogManifest, or as safeParseDesign, pr as presetOf, qn as designOf, ra as BlockCatalogEntry, rr as presetKey, sa as PresetGlueItem, sr as ConfigConventions, ta as instancePrefix, tr as presetConfigSource, ur as conventionConfig, vr as CompositeRemoval, wn as PRESET_NAMES, wr as listNames, xn as NamedPreset, xr as ResolvedComposite, yr as PresetConflict, zn as DesignTooLongError } from "../context-
|
|
3
|
-
import { C as diffAppTables, D as PRESET_CATALOG, E as isAppDefault, O as BLOCK_CATALOG, S as DiffOptions, T as appDefaultError, _ as glueCommand, a as blockRequires, b as DesignChange, c as installedBlocks, d as instancesOf, f as presetInstances, g as PROVIDER_COMMENT, h as withoutInstance, i as blockEntities, l as instanceBlock, m as withInstance, n as BlockInstance, o as canAddInstance, p as withEntityName, r as PresetInstance, s as entityName, t as BlockEntity, u as instanceNameProblem, v as presetBlocksSource, w as diffDesigns, x as DesignChangeKind, y as presetGlue } from "../index-
|
|
4
|
-
import { i as appReservedColumns, n as appIdentifierError, r as appNameLengthError, t as APP_NAME_MAX } from "../app-tables-
|
|
1
|
+
import { Ar as PresetAccess, Dr as PRESET_FRAMEWORKS, Er as DEFAULT_CONVENTIONS, Fr as PresetFramework, Hr as integrationsForFramework, Lr as PresetPlatforms, Mr as PresetField, Nr as PresetFieldKey, Or as PRESET_TENANT_NAMES, Pr as PresetFieldValue, Rr as PresetScope, Tr as CONVENTION_FIELDS, Ur as presetField, Vr as PresetValueInfo, Wr as presetValueLabel, jr as PresetConventions, kr as Preset, zr as PresetSubjectSettings } from "../define-block-Dle1hNrI.js";
|
|
2
|
+
import { $i as CORE_BLOCKS, $n as presetApplyCommand, An as CREATE_URL, Bn as MAX_DESIGN_CODE_LENGTH, Cn as PRESET_GROUPS, Cr as ResolvedPresetBlock, Dn as defaultPreset, Dr as resolvePreset, En as PresetName, Er as removeComposite, Fn as DesignFile, Gn as designFileSource, Hn as createUrl, In as DesignParseError, Jn as designSchema, Kn as designFormat, Ln as DesignParseIssue, Mn as DESIGN_FILE, Nn as DESIGN_FORMAT, On as isPresetName, Pn as DesignErrorCode, Qn as presetAndDesignOf, Qr as APP_COLUMN_FORMATS, Rn as DesignParseResult, Sn as PRESETS, Sr as ResolvedPreset, Tn as PresetGroup, Tr as presetBlockConflict, Un as decodeDesign, Vn as createQuery, Wn as designConfig, Xn as isDesignCode, Yn as encodeDesign, Zn as parseDesign, _r as presetSpec, aa as PresetCatalogBlock, ai as AppColumnFormat, ar as safeDesignFileSource, bn as DEFAULT_PRESET_NAME, br as PresetIntegration, cr as ExpandedConfig, dr as expandPreset, ea as INSTANCE_NAME, er as presetArgumentOf, fr as presetConfig, gr as presetOfSpec, hr as presetFromSpec, ia as PresetCatalog, ir as readDesignFile, jn as CreateDesign, kn as namedPreset, lr as PresetInput, mr as PresetSpec, na as BlockCatalog, nr as presetInstallCommand, oa as PresetCatalogManifest, or as safeParseDesign, pr as presetOf, qn as designOf, ra as BlockCatalogEntry, rr as presetKey, sa as PresetGlueItem, sr as ConfigConventions, ta as instancePrefix, tr as presetConfigSource, ur as conventionConfig, vr as CompositeRemoval, wn as PRESET_NAMES, wr as listNames, xn as NamedPreset, xr as ResolvedComposite, yr as PresetConflict, zn as DesignTooLongError } from "../context-C3-QkbC2.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-yL19hBMN.js";
|
|
4
|
+
import { i as appReservedColumns, n as appIdentifierError, r as appNameLengthError, t as APP_NAME_MAX } from "../app-tables-DypEnAID.js";
|
|
5
5
|
export { APP_COLUMN_FORMATS, APP_NAME_MAX, type AppColumnFormat, BLOCK_CATALOG, type BlockCatalog, type BlockCatalogEntry, type BlockEntity, type BlockInstance, CONVENTION_FIELDS, CREATE_URL, type CompositeRemoval, type ConfigConventions, type CreateDesign, DEFAULT_CONVENTIONS, DEFAULT_PRESET_NAME, DESIGN_FILE, DESIGN_FORMAT, type DesignChange, type DesignChangeKind, type DesignErrorCode, type DesignFile, DesignParseError, type DesignParseIssue, type DesignParseResult, DesignTooLongError, type DiffOptions, type ExpandedConfig, INSTANCE_NAME, MAX_DESIGN_CODE_LENGTH, type NamedPreset, PRESETS, PRESET_CATALOG, PRESET_FRAMEWORKS, PRESET_GROUPS, PRESET_NAMES, PRESET_TENANT_NAMES, PROVIDER_COMMENT, type Preset, type PresetAccess, type PresetCatalog, type PresetCatalogBlock, type PresetCatalogManifest, type PresetConflict, type PresetConventions, type PresetField, type PresetFieldKey, type PresetFieldValue, type PresetFramework, type PresetGlueItem, type PresetGroup, type PresetInput, type PresetInstance, type PresetIntegration, type PresetName, type PresetPlatforms, type PresetScope, type PresetSpec, type PresetSubjectSettings, type PresetValueInfo, type ResolvedComposite, type ResolvedPreset, type ResolvedPresetBlock, CORE_BLOCKS as SINGLE_INSTANCE_BLOCKS, appDefaultError, appIdentifierError, appNameLengthError, appReservedColumns, blockEntities, blockRequires, canAddInstance, conventionConfig, createQuery, createUrl, decodeDesign, defaultPreset, designConfig, designFileSource, designFormat, designOf, designSchema, diffAppTables, diffDesigns, encodeDesign, entityName, expandPreset, glueCommand, installedBlocks, instanceBlock, instanceNameProblem, instancePrefix, instancesOf, integrationsForFramework, isAppDefault, isDesignCode, isPresetName, listNames, namedPreset, parseDesign, presetAndDesignOf, presetApplyCommand, presetArgumentOf, presetBlockConflict, presetBlocksSource, presetConfig, presetConfigSource, presetField, presetFromSpec, presetGlue, presetInstallCommand, presetInstances, presetKey, presetOf, presetOfSpec, presetSpec, presetValueLabel, readDesignFile, removeComposite, resolvePreset, safeDesignFileSource, safeParseDesign, withEntityName, withInstance, withoutInstance };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { t as BlockTransport } from "./block-transport-CP4wAHU-.js";
|
|
2
2
|
import { i as EventSink } from "./cloud-event-Dj2V1lQw.js";
|
|
3
|
-
import { Ln as AttachmentStorage } from "./define-block-
|
|
3
|
+
import { Ln as AttachmentStorage } from "./define-block-Dle1hNrI.js";
|
|
4
4
|
import { _ as JobHandler } from "./types-CTb0Uroz.js";
|
|
5
5
|
import { r as BlockTemporalOptions } from "./block-helpers-rTsuHt6v.js";
|
|
6
|
-
import { y as DrivePreviews } from "./drive-
|
|
6
|
+
import { y as DrivePreviews } from "./drive-C2EYvBxH.js";
|
|
7
7
|
import { t as AsyncResult } from "./result-CMqlHv82.js";
|
|
8
8
|
/** One rendered page: an image the drive stores under the file's previews. */
|
|
9
9
|
interface PreviewPage {
|
|
@@ -2,7 +2,7 @@ import { a as presetOf, f as resolvePreset } from "./config-CAjlOSQY.js";
|
|
|
2
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-CPUA9haY.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-z6DJn2Gr.js";
|
|
4
4
|
import { c as resolveConfig } from "./config-Bx3UYp8b.js";
|
|
5
|
-
import { H as renderBlocks, L as moduleLayout, ut as SQL_MODULES } from "./sql-
|
|
5
|
+
import { H as renderBlocks, L as moduleLayout, ut as SQL_MODULES } from "./sql-DXME28Gr.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;
|
package/dist/query/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { t as escapeLike } from "../escape-like-BtorH1tO.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-BqJum_h9.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 };
|
package/dist/react/index.d.ts
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { t as escapeLike } from "../escape-like-BtorH1tO.js";
|
|
2
2
|
import { c as Impersonator, n as AuthSession } from "../view-CVXHgadI.js";
|
|
3
3
|
import { i as DataEntry, m as RejectedChange, n as DataEngine, o as DataSyncState } from "../data-engine-0uVsKWaB.js";
|
|
4
|
-
import { r as MembershipClaim } from "../entitlements-
|
|
5
|
-
import { t as tenantOf } from "../tenant-
|
|
6
|
-
import { r as LiveCountSeed } from "../index-
|
|
7
|
-
import { C as LiveCountHookOptions, O as ProfileOf, S as ClientLike, T as LiveQueryHookOptions, _ as ActionInputOf, b as BroadcastOptions, c as DataWrites, d as BlockMutationActions, f as BlockMutationState, g as BlockRefetchOn, h as BlockQueryState, k as UseActionOptions, l as BlockEngineOptions, m as BlockQueryOptions, o as DataSource, p as BlockQueryActions, s as DataState, t as fieldErrorsOf, u as BlockEventSource, v as ActionResultOf, x as ClaimsOf } from "../field-errors-
|
|
4
|
+
import { r as MembershipClaim } from "../entitlements-Bb-dOARS.js";
|
|
5
|
+
import { t as tenantOf } from "../tenant-sm9d_APF.js";
|
|
6
|
+
import { r as LiveCountSeed } from "../index-BE4JTKF9.js";
|
|
7
|
+
import { C as LiveCountHookOptions, O as ProfileOf, S as ClientLike, T as LiveQueryHookOptions, _ as ActionInputOf, b as BroadcastOptions, c as DataWrites, d as BlockMutationActions, f as BlockMutationState, g as BlockRefetchOn, h as BlockQueryState, k as UseActionOptions, l as BlockEngineOptions, m as BlockQueryOptions, o as DataSource, p as BlockQueryActions, s as DataState, t as fieldErrorsOf, u as BlockEventSource, v as ActionResultOf, x as ClaimsOf } from "../field-errors-CjEfOrH1.js";
|
|
8
8
|
import { n as supportOf, t as SupportView } from "../support-view-Dn_YTGV4.js";
|
|
9
|
-
import { $ as ActionForm, A as useBlockEnv, B as RecordListQueryStates, C as useConflicts, D as defineDataHooks, E as DataView, F as useBlockMutation, G as RecordActionsOf, H as RecordListUrl, I as useBlockQuery, J as RecordProviderKit, K as RecordContextValue, L as RecordFormState, M as useController, N as useLatest, O as defineListHook, P as useBlockEvent, Q as createRecordProvider, R as UseRecordFormOptions, S as Conflicts, T as DataHooks, U as RecordListUrlState, V as RecordListState, W as useRecordListState, X as RecordState, Y as RecordProviderProps, Z as RecordWriteHandlers, _ as useRealtimeRelay, a as Upload, at as BetterSupabaseProvider, b as PresenceTopic, c as UseImageOptions, ct as createHooks, d as useSignedUrl, dt as useLiveCount, et as ActionHandle, f as useUpload, ft as useLiveQuery, g as UseRealtimeRelayOptions, h as useDebouncedSearch, i as StorageImage, it as BetterHooks, j as useBlockTenant, k as defineOneHook, l as UseUploadOptions, lt as useAuth, m as DebouncedSearchOptions, n as SignedUrl, nt as useAction, o as UploadStatus, ot as BetterSupabaseProviderProps, p as DebouncedSearch, pt as useSupabase, q as RecordInitial, r as SignedUrlSource, rt as useActionForm, s as UploadTarget, st as LiveCount, t as ImageSource, tt as UseActionFormOptions, u as useImage, ut as useBroadcast, v as Presence, w as useSyncStatus, x as usePresence, y as PresenceHookOptions, z as useRecordForm } from "../index-
|
|
9
|
+
import { $ as ActionForm, A as useBlockEnv, B as RecordListQueryStates, C as useConflicts, D as defineDataHooks, E as DataView, F as useBlockMutation, G as RecordActionsOf, H as RecordListUrl, I as useBlockQuery, J as RecordProviderKit, K as RecordContextValue, L as RecordFormState, M as useController, N as useLatest, O as defineListHook, P as useBlockEvent, Q as createRecordProvider, R as UseRecordFormOptions, S as Conflicts, T as DataHooks, U as RecordListUrlState, V as RecordListState, W as useRecordListState, X as RecordState, Y as RecordProviderProps, Z as RecordWriteHandlers, _ as useRealtimeRelay, a as Upload, at as BetterSupabaseProvider, b as PresenceTopic, c as UseImageOptions, ct as createHooks, d as useSignedUrl, dt as useLiveCount, et as ActionHandle, f as useUpload, ft as useLiveQuery, g as UseRealtimeRelayOptions, h as useDebouncedSearch, i as StorageImage, it as BetterHooks, j as useBlockTenant, k as defineOneHook, l as UseUploadOptions, lt as useAuth, m as DebouncedSearchOptions, n as SignedUrl, nt as useAction, o as UploadStatus, ot as BetterSupabaseProviderProps, p as DebouncedSearch, pt as useSupabase, q as RecordInitial, r as SignedUrlSource, rt as useActionForm, s as UploadTarget, st as LiveCount, t as ImageSource, tt as UseActionFormOptions, u as useImage, ut as useBroadcast, v as Presence, w as useSyncStatus, x as usePresence, y as PresenceHookOptions, z as useRecordForm } from "../index-U2_mkKvZ.js";
|
|
10
10
|
import { SessionProvider, SessionProviderProps, useSession, useSupportSession } from "./session.js";
|
|
11
11
|
import { a as useSignIn, i as SignOut, n as PendingState, o as useSignOut, r as SignIn, t as AuthHookOptions } from "../sign-in-C9pZE1kM.js";
|
|
12
12
|
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 LiveCount, type LiveCountHookOptions, type LiveCountSeed, type LiveQueryHookOptions, type MembershipClaim, type PendingState, 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 UseRealtimeRelayOptions, type UseRecordFormOptions, type UseUploadOptions, createHooks, createRecordProvider, defineDataHooks, defineListHook, defineOneHook, escapeLike, fieldErrorsOf, supportOf, tenantOf, useAction, useActionForm, useAuth, useBlockEnv, useBlockEvent, useBlockMutation, useBlockQuery, useBlockTenant, useBroadcast, useConflicts, useController, useDebouncedSearch, useImage, useLatest, useLiveCount, useLiveQuery, usePresence, useRealtimeRelay, useRecordForm, useRecordListState, useSession, useSignIn, useSignOut, useSignedUrl, useSupabase, useSupportSession, useSyncStatus, useUpload };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as AuthSnapshot } from "../../bind-
|
|
1
|
+
import { t as AuthSnapshot } from "../../bind-DEPqZLwv.js";
|
|
2
2
|
import { a as OAuthSignInOptions, i as OAuthClient, n as AuthLinkClient, o as WebBrowserLike, r as AuthLinkResult, t as AuthFailure } from "../../auth-link-DRjtI1Ky.js";
|
|
3
3
|
import { a as AppStateLike, r as PowerSyncReconnect, t as NativeAuthzRefreshClient } from "../../authz-refresh-DIqPTJZe.js";
|
|
4
4
|
import { i as authzUserTopic, r as AuthzVersionSource, t as AUTHZ_EVENT } from "../../authz-topic-C7n3kIm_.js";
|
package/dist/react/server.d.ts
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { n as supportOf, t as SupportView } from "../support-view-Dn_YTGV4.js";
|
|
2
2
|
import { c as Impersonator, n as AuthSession } from "../view-CVXHgadI.js";
|
|
3
|
-
import { $ as ActionForm, A as useBlockEnv$1, B as RecordListQueryStates, C as useConflicts$1, D as defineDataHooks$1, F as useBlockMutation$1, G as RecordActionsOf, H as RecordListUrl, I as useBlockQuery$1, J as RecordProviderKit, K as RecordContextValue, L as RecordFormState, M as useController$1, N as useLatest$1, O as defineListHook$1, P as useBlockEvent$1, Q as createRecordProvider$1, R as UseRecordFormOptions, U as RecordListUrlState, V as RecordListState, W as useRecordListState$1, X as RecordState, Y as RecordProviderProps, Z as RecordWriteHandlers, _ as useRealtimeRelay$1, a as Upload, at as BetterSupabaseProvider, b as PresenceTopic, c as UseImageOptions, d as useSignedUrl$1, et as ActionHandle, f as useUpload$1, ft as useLiveQuery, g as UseRealtimeRelayOptions, h as useDebouncedSearch$1, i as StorageImage, it as BetterHooks, j as useBlockTenant$1, k as defineOneHook$1, l as UseUploadOptions, lt as useAuth, m as DebouncedSearchOptions, n as SignedUrl, o as UploadStatus, ot as BetterSupabaseProviderProps, p as DebouncedSearch, pt as useSupabase, q as RecordInitial, r as SignedUrlSource, s as UploadTarget, st as LiveCount, t as ImageSource, tt as UseActionFormOptions, u as useImage$1, ut as useBroadcast, v as Presence, w as useSyncStatus$1, x as usePresence$1, y as PresenceHookOptions, z as useRecordForm$1 } from "../index-
|
|
3
|
+
import { $ as ActionForm, A as useBlockEnv$1, B as RecordListQueryStates, C as useConflicts$1, D as defineDataHooks$1, F as useBlockMutation$1, G as RecordActionsOf, H as RecordListUrl, I as useBlockQuery$1, J as RecordProviderKit, K as RecordContextValue, L as RecordFormState, M as useController$1, N as useLatest$1, O as defineListHook$1, P as useBlockEvent$1, Q as createRecordProvider$1, R as UseRecordFormOptions, U as RecordListUrlState, V as RecordListState, W as useRecordListState$1, X as RecordState, Y as RecordProviderProps, Z as RecordWriteHandlers, _ as useRealtimeRelay$1, a as Upload, at as BetterSupabaseProvider, b as PresenceTopic, c as UseImageOptions, d as useSignedUrl$1, et as ActionHandle, f as useUpload$1, ft as useLiveQuery, g as UseRealtimeRelayOptions, h as useDebouncedSearch$1, i as StorageImage, it as BetterHooks, j as useBlockTenant$1, k as defineOneHook$1, l as UseUploadOptions, lt as useAuth, m as DebouncedSearchOptions, n as SignedUrl, o as UploadStatus, ot as BetterSupabaseProviderProps, p as DebouncedSearch, pt as useSupabase, q as RecordInitial, r as SignedUrlSource, s as UploadTarget, st as LiveCount, t as ImageSource, tt as UseActionFormOptions, u as useImage$1, ut as useBroadcast, v as Presence, w as useSyncStatus$1, x as usePresence$1, y as PresenceHookOptions, z as useRecordForm$1 } from "../index-U2_mkKvZ.js";
|
|
4
4
|
import { st as QuerySpec } from "../db-blocks-CzhzWfvR.js";
|
|
5
|
-
import { r as LiveCountSeed } from "../index-
|
|
6
|
-
import { C as LiveCountHookOptions, O as ProfileOf, S as ClientLike, T as LiveQueryHookOptions, _ as ActionInputOf, b as BroadcastOptions, k as UseActionOptions, t as fieldErrorsOf, v as ActionResultOf, x as ClaimsOf } from "../field-errors-
|
|
5
|
+
import { r as LiveCountSeed } from "../index-BE4JTKF9.js";
|
|
6
|
+
import { C as LiveCountHookOptions, O as ProfileOf, S as ClientLike, T as LiveQueryHookOptions, _ as ActionInputOf, b as BroadcastOptions, k as UseActionOptions, t as fieldErrorsOf, v as ActionResultOf, x as ClaimsOf } from "../field-errors-CjEfOrH1.js";
|
|
7
7
|
import { a as useSignIn$1, i as SignOut, n as PendingState, o as useSignOut$1, r as SignIn, t as AuthHookOptions } from "../sign-in-C9pZE1kM.js";
|
|
8
8
|
import { SessionProvider, SessionProviderProps } from "./session.js";
|
|
9
9
|
import { t as escapeLike } from "../escape-like-BtorH1tO.js";
|
|
10
|
-
import { t as tenantOf } from "../tenant-
|
|
11
|
-
import { r as MembershipClaim } from "../entitlements-
|
|
10
|
+
import { t as tenantOf } from "../tenant-sm9d_APF.js";
|
|
11
|
+
import { r as MembershipClaim } from "../entitlements-Bb-dOARS.js";
|
|
12
12
|
/** The `react-server` build of `useSession`: await `bsb.claims()` instead. */
|
|
13
13
|
export declare const useSession: <C = unknown, P = unknown>() => AuthSession<C, P>;
|
|
14
14
|
/**
|
package/dist/realtime/index.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { D as AccessTopicPolicy, E as AccessPolicySql } from "../types-BlBju7Wa.js";
|
|
2
2
|
import { et as TemplateParams, tt as TemplateValues } from "../bucket-DJu58KBb.js";
|
|
3
3
|
import { t as RealtimeStatus } from "../realtime-status-D3oUx3o4.js";
|
|
4
|
-
import { A as TriggerTopic, C as TopicSubscription, D as TriggerLookup, E as TopicTriggerValue, F as FanOutResult, I as TopicFanOutOptions, M as defineTopic, N as rowChange, O as TriggerOptions, P as rowKeys, S as TopicSubscribeOptions, T as TopicTriggerOptions, _ as TopicMessage, a as PresenceOutput, b as TopicPermission, c as RealtimeClient, d as SubscribeOptions, f as Subscription, g as TopicHandlers, h as TopicEvent, i as PresenceOptions, j as TriggerValue, k as TriggerPayloadMode, l as RowChange, m as Topic, n as PresenceInput, o as PresenceSchema, p as SubscriptionStatus, r as PresenceMember, s as PresenceSubscription, t as EventSchemas, u as RowKeys, v as TopicOptions, w as TopicTriggerLookup, x as TopicSqlOptions, y as TopicPayload } from "../topic-
|
|
5
|
-
import { a as watchTopic, i as topicPort, n as TopicPort, r as TopicWatch, t as TopicHandle } from "../watch-topic-
|
|
6
|
-
import { S as relayTopicPort, _ as subjectPresenceValues, a as LiveSource, b as RelayEventSourceConstructor, c as liveCount, d as realtimeChanges, f as SUBJECT_PRESENCE_TEMPLATE, g as subjectPresenceTopic, h as subjectPresence, i as LiveQueryOptions, l as liveQuery, m as SubjectPresenceValues, n as LiveCountOptions, o as LiveSubscription, p as SubjectPresenceTopic, r as LiveCountSeed, s as RealtimeChangesOptions, t as CountRunner, u as liveTopic, v as RelayClientOptions, x as relayRealtimeClient, y as RelayEventSource } from "../index-
|
|
4
|
+
import { A as TriggerTopic, C as TopicSubscription, D as TriggerLookup, E as TopicTriggerValue, F as FanOutResult, I as TopicFanOutOptions, M as defineTopic, N as rowChange, O as TriggerOptions, P as rowKeys, S as TopicSubscribeOptions, T as TopicTriggerOptions, _ as TopicMessage, a as PresenceOutput, b as TopicPermission, c as RealtimeClient, d as SubscribeOptions, f as Subscription, g as TopicHandlers, h as TopicEvent, i as PresenceOptions, j as TriggerValue, k as TriggerPayloadMode, l as RowChange, m as Topic, n as PresenceInput, o as PresenceSchema, p as SubscriptionStatus, r as PresenceMember, s as PresenceSubscription, t as EventSchemas, u as RowKeys, v as TopicOptions, w as TopicTriggerLookup, x as TopicSqlOptions, y as TopicPayload } from "../topic-CBTgUy6t.js";
|
|
5
|
+
import { a as watchTopic, i as topicPort, n as TopicPort, r as TopicWatch, t as TopicHandle } from "../watch-topic-DYDnWH_a.js";
|
|
6
|
+
import { S as relayTopicPort, _ as subjectPresenceValues, a as LiveSource, b as RelayEventSourceConstructor, c as liveCount, d as realtimeChanges, f as SUBJECT_PRESENCE_TEMPLATE, g as subjectPresenceTopic, h as subjectPresence, i as LiveQueryOptions, l as liveQuery, m as SubjectPresenceValues, n as LiveCountOptions, o as LiveSubscription, p as SubjectPresenceTopic, r as LiveCountSeed, s as RealtimeChangesOptions, t as CountRunner, u as liveTopic, v as RelayClientOptions, x as relayRealtimeClient, y as RelayEventSource } from "../index-BE4JTKF9.js";
|
|
7
7
|
import { n as subjectReaders, t as SubjectReadersOptions } from "../subject-readers-fKAdJQGu.js";
|
|
8
8
|
export { type AccessPolicySql, type AccessTopicPolicy, type CountRunner, type EventSchemas, type FanOutResult, type LiveCountOptions, type LiveCountSeed, type LiveQueryOptions, type LiveSource, type LiveSubscription, type PresenceInput, type PresenceMember, type PresenceOptions, type PresenceOutput, type PresenceSchema, type PresenceSubscription, type RealtimeChangesOptions, type RealtimeClient, type RealtimeStatus, type RelayClientOptions, type RelayEventSource, type RelayEventSourceConstructor, type RowChange, type RowKeys, SUBJECT_PRESENCE_TEMPLATE, type SubjectPresenceTopic, type SubjectPresenceValues, type SubjectReadersOptions, type SubscribeOptions, type Subscription, type SubscriptionStatus, type TemplateParams, type TemplateValues, type Topic, type TopicEvent, type TopicFanOutOptions, type TopicHandle, type TopicHandlers, type TopicMessage, type TopicOptions, type TopicPayload, type TopicPermission, type TopicPort, type TopicSqlOptions, type TopicSubscribeOptions, type TopicSubscription, type TopicTriggerLookup, type TopicTriggerOptions, type TopicTriggerValue, type TopicWatch, type TriggerLookup, type TriggerOptions, type TriggerPayloadMode, type TriggerTopic, type TriggerValue, defineTopic, liveCount, liveQuery, liveTopic, realtimeChanges, relayRealtimeClient, relayTopicPort, rowChange, rowKeys, subjectPresence, subjectPresenceTopic, subjectPresenceValues, subjectReaders, topicPort, watchTopic };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { G as EntitySchema, yn as FormFieldType } from "./define-block-
|
|
1
|
+
import { G as EntitySchema, yn as FormFieldType } from "./define-block-Dle1hNrI.js";
|
|
2
2
|
/** The input a field renders: a forms block field type, or a date and time. */
|
|
3
3
|
type RecordFormInput = FormFieldType | "datetime";
|
|
4
4
|
/** One field of an entity form, in render order. */
|
package/dist/records/index.d.ts
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { n as Controller, t as AuthPort } from "../controller-
|
|
1
|
+
import { n as Controller, t as AuthPort } from "../controller-6_Uo4WEe.js";
|
|
2
2
|
import { _ as MyWorkKind, a as RecordSummaryOptions, c as Subjects, i as RecordSummary, n as MyWorkItem, r as MyWorkOptions } from "../subjects-C0_z3QUL.js";
|
|
3
3
|
import { b as DbError, f as Result, t as AsyncResult } from "../result-CMqlHv82.js";
|
|
4
|
-
import { p as SubscriptionStatus } from "../topic-
|
|
5
|
-
import { n as TopicPort } from "../watch-topic-
|
|
4
|
+
import { p as SubscriptionStatus } from "../topic-CBTgUy6t.js";
|
|
5
|
+
import { n as TopicPort } from "../watch-topic-DYDnWH_a.js";
|
|
6
6
|
import { et as RecordRef } from "../types-BlBju7Wa.js";
|
|
7
|
-
import { A as BindingBlocks, B as PermissionFlags, C as defineRecordType, D as recordPermissionKeys, E as recordCan, F as LoadBindingsOptions, H as can, I as LoadedBindings, L as bindingCan, M as BindingName, N as BindingOf, O as recordSubject, P as BindingSource, R as countBinding, S as RecordWriteInput, T as plainData, U as permissionFlags, V as PermissionSet, _ as RecordTypeBlocks, b as RecordTypeWriteInput, d as BindingWritesOf, f as Plain, g as RecordType, h as RecordCan, j as BindingCheck, k as recordWriteInput, m as PlainBindings, p as PlainBinding, v as RecordTypePermissions, w as findBindingWrite, x as RecordTypeWriteOutput, y as RecordTypeSpec, z as loadBindings } from "../index-
|
|
8
|
-
import { a as timelineBindings, c as RecordListCells, d as RecordListQuery, f as RecordListRow, h as defineRecordList, i as loadTimeline, l as RecordListColumn, m as RecordListSpec, n as Timeline, o as RecordList, p as RecordListSource, r as TimelineEntry, s as RecordListCell, t as LoadTimelineOptions, u as RecordListPage } from "../timeline-
|
|
9
|
-
import { a as RecordFormOptions, c as recordForm, i as RecordFormInput, n as RecordFormCustomField, o as RecordFormResult, r as RecordFormField, s as RecordFormValues, t as RecordForm } from "../record-form-
|
|
10
|
-
import { A as RecordBindingPermissions, B as recordBindingWrite, D as RecordBindingData, E as RecordBinding, F as RecordBindingWriteOutput, H as recordRowInput, I as RecordBindingWrites, L as RecordRowInput, M as RecordBindingWrite, N as RecordBindingWriteInput, O as RecordBindingDefinition, P as RecordBindingWriteName, R as TimelineItem, T as AnyRecordBindingWrite, V as recordEventMatches, j as RecordBindingResult, k as RecordBindingOptions, w as AnyRecordBinding, z as defineRecordBinding } from "../define-block-
|
|
7
|
+
import { A as BindingBlocks, B as PermissionFlags, C as defineRecordType, D as recordPermissionKeys, E as recordCan, F as LoadBindingsOptions, H as can, I as LoadedBindings, L as bindingCan, M as BindingName, N as BindingOf, O as recordSubject, P as BindingSource, R as countBinding, S as RecordWriteInput, T as plainData, U as permissionFlags, V as PermissionSet, _ as RecordTypeBlocks, b as RecordTypeWriteInput, d as BindingWritesOf, f as Plain, g as RecordType, h as RecordCan, j as BindingCheck, k as recordWriteInput, m as PlainBindings, p as PlainBinding, v as RecordTypePermissions, w as findBindingWrite, x as RecordTypeWriteOutput, y as RecordTypeSpec, z as loadBindings } from "../index-BqJum_h9.js";
|
|
8
|
+
import { a as timelineBindings, c as RecordListCells, d as RecordListQuery, f as RecordListRow, h as defineRecordList, i as loadTimeline, l as RecordListColumn, m as RecordListSpec, n as Timeline, o as RecordList, p as RecordListSource, r as TimelineEntry, s as RecordListCell, t as LoadTimelineOptions, u as RecordListPage } from "../timeline-BR-oKhI4.js";
|
|
9
|
+
import { a as RecordFormOptions, c as recordForm, i as RecordFormInput, n as RecordFormCustomField, o as RecordFormResult, r as RecordFormField, s as RecordFormValues, t as RecordForm } from "../record-form-Bb3mf114.js";
|
|
10
|
+
import { A as RecordBindingPermissions, B as recordBindingWrite, D as RecordBindingData, E as RecordBinding, F as RecordBindingWriteOutput, H as recordRowInput, I as RecordBindingWrites, L as RecordRowInput, M as RecordBindingWrite, N as RecordBindingWriteInput, O as RecordBindingDefinition, P as RecordBindingWriteName, R as TimelineItem, T as AnyRecordBindingWrite, V as recordEventMatches, j as RecordBindingResult, k as RecordBindingOptions, w as AnyRecordBinding, z as defineRecordBinding } from "../define-block-Dle1hNrI.js";
|
|
11
11
|
interface RecordControllerOptions<B extends BindingBlocks, N extends BindingName<B>> extends LoadBindingsOptions<B, N> {
|
|
12
12
|
readonly source: BindingSource<B>;
|
|
13
13
|
readonly auth: AuthPort;
|
package/dist/server/index.d.ts
CHANGED
|
@@ -8,16 +8,16 @@ import { C as SupportSession, D as supportClaims, E as sqlSupportStore, S as Sup
|
|
|
8
8
|
import { Dt as Events, pt as SupportEventData } from "../events-DN9PAcjq.js";
|
|
9
9
|
import { _ as SupportAuthorize, a as AutomationHooks, b as TicketSubject, c as ChatActionHook, d as IdentityRef, f as IdentityTarget, g as SubscriberPolicy, h as SubscriberEvent, i as AuthorizationHooks, l as DelegationPermissions, m as Subscriber, n as Approver, o as AutomationRef, p as PrincipalByIdentity, r as ApproverOf, s as ChatAction, t as ApprovalRequestRef, u as DelegationRef, v as SupportAuthorizeInput, x as defineAuthorizationHooks, y as SupportDecision } from "../authorization-hooks-DM_ijJsD.js";
|
|
10
10
|
import { a as PERMISSIONS_TRUNCATED_CLAIM, i as PERMISSIONS_CLAIM, n as FEATURES_CLAIM, o as PERMISSION_CAP_CLAIM, r as MEMBERSHIPS_CLAIM, t as AUTHZ_VERSION_CLAIM } from "../index-IKfbX_39.js";
|
|
11
|
-
import { i as decodeEntitlementClaim, o as ClaimsRecord, s as ClaimsSource } from "../entitlements-
|
|
11
|
+
import { i as decodeEntitlementClaim, o as ClaimsRecord, s as ClaimsSource } from "../entitlements-Bb-dOARS.js";
|
|
12
12
|
import { a as isUserSession, c as Impersonator, i as isApiKeySession, l as impersonatorOf, n as AuthSession, o as toSession, r as UserSession, s as ImpersonationOptions, t as ApiKeySession } from "../view-CVXHgadI.js";
|
|
13
|
-
import { n as isTruncated, r as permissionsOf, t as PermissionsOfOptions } from "../permissions-
|
|
13
|
+
import { n as isTruncated, r as permissionsOf, t as PermissionsOfOptions } from "../permissions-CtS73Ot8.js";
|
|
14
14
|
import { K as permissionCapOf } from "../types-CTb0Uroz.js";
|
|
15
15
|
import { n as subjectReaders, t as SubjectReadersOptions } from "../subject-readers-fKAdJQGu.js";
|
|
16
16
|
import { n as SqlClient } from "../executor-CnU5r1HS.js";
|
|
17
17
|
import { j as StorageApi } from "../bucket-DJu58KBb.js";
|
|
18
18
|
import { a as claimsFingerprint, i as SessionWatchStatus, n as SessionStatusRouteOptions, o as sessionStatusRoute, r as SessionStatusServer, t as SessionStatusBody } from "../session-status-ChvyVQgl.js";
|
|
19
19
|
import { a as ProblemFormat, c as fromProblem, d as toProblem, i as ProblemDetails, l as isProblem, n as PROBLEM_CONTENT_TYPE, o as ProblemOptions, r as PROBLEM_TYPE_BASE, s as ProblemResponseOptions, u as problemResponse } from "../problem-BkuOcWRv.js";
|
|
20
|
-
import { c as RealtimeClient } from "../topic-
|
|
20
|
+
import { c as RealtimeClient } from "../topic-CBTgUy6t.js";
|
|
21
21
|
import { n as supportOf, t as SupportView } from "../support-view-Dn_YTGV4.js";
|
|
22
22
|
import { a as GuardEntryConfig, i as withBetterSupabase, n as BetterSupabaseContributions, o as withGuard, r as BetterSupabaseEntry, t as BetterSupabaseConfig } from "../composite-Ddap_a-U.js";
|
|
23
23
|
import { a as serverCore, i as ServerCore, n as SessionEntryConfig, r as withSession, t as AuthOutageHook } from "../session-CfOsLGD_.js";
|
package/dist/solid/index.d.ts
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { t as SupportView } from "../support-view-Dn_YTGV4.js";
|
|
2
2
|
import { n as AuthSession } from "../view-CVXHgadI.js";
|
|
3
|
-
import { C as LiveCountHookOptions, D as PresenceTopic, E as PresenceHookOptions, O as ProfileOf, S as ClientLike, T as LiveQueryHookOptions, _ as ActionInputOf, a as DataRows, b as BroadcastOptions, c as DataWrites, d as BlockMutationActions, f as BlockMutationState, g as BlockRefetchOn, h as BlockQueryState, i as DataRow, k as UseActionOptions, l as BlockEngineOptions, m as BlockQueryOptions, n as DataId, o as DataSource, p as BlockQueryActions, r as DataListArgs, s as DataState, t as fieldErrorsOf, u as BlockEventSource, v as ActionResultOf, w as LiveCountSource, x as ClaimsOf, y as ActionState } from "../field-errors-
|
|
4
|
-
import { t as AuthSnapshot } from "../bind-
|
|
3
|
+
import { C as LiveCountHookOptions, D as PresenceTopic, E as PresenceHookOptions, O as ProfileOf, S as ClientLike, T as LiveQueryHookOptions, _ as ActionInputOf, a as DataRows, b as BroadcastOptions, c as DataWrites, d as BlockMutationActions, f as BlockMutationState, g as BlockRefetchOn, h as BlockQueryState, i as DataRow, k as UseActionOptions, l as BlockEngineOptions, m as BlockQueryOptions, n as DataId, o as DataSource, p as BlockQueryActions, r as DataListArgs, s as DataState, t as fieldErrorsOf, u as BlockEventSource, v as ActionResultOf, w as LiveCountSource, x as ClaimsOf, y as ActionState } from "../field-errors-CjEfOrH1.js";
|
|
4
|
+
import { t as AuthSnapshot } from "../bind-DEPqZLwv.js";
|
|
5
5
|
import { b as DbError } from "../result-CMqlHv82.js";
|
|
6
6
|
import { st as QuerySpec } from "../db-blocks-CzhzWfvR.js";
|
|
7
|
-
import { g as TopicHandlers, m as Topic, p as SubscriptionStatus, r as PresenceMember, t as EventSchemas } from "../topic-
|
|
7
|
+
import { g as TopicHandlers, m as Topic, p as SubscriptionStatus, r as PresenceMember, t as EventSchemas } from "../topic-CBTgUy6t.js";
|
|
8
8
|
import { tt as TemplateValues } from "../bucket-DJu58KBb.js";
|
|
9
|
-
import { n as Controller } from "../controller-
|
|
9
|
+
import { n as Controller } from "../controller-6_Uo4WEe.js";
|
|
10
10
|
import { D as BlockEventPattern, Dt as Events, T as BlockEvent, k as BlockEventsMatching, wt as EventMap } from "../events-DN9PAcjq.js";
|
|
11
11
|
import { n as BlockDataOf, r as BlockMethodName, t as BlockArgsOf } from "../block-method-BgPAdisB.js";
|
|
12
|
-
import { n as BlockOptions } from "../block-env-
|
|
12
|
+
import { n as BlockOptions } from "../block-env-CAdE4Q5v.js";
|
|
13
13
|
import { SupabaseClient } from "@supabase/supabase-js";
|
|
14
14
|
import { QueryClient } from "@tanstack/query-core";
|
|
15
15
|
import { Accessor, JSX } from "solid-js";
|
package/dist/sql/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { C as BlockOptionsRegistry, S as BLOCK_OPTION_SCHEMAS, b as resolveBlock } from "../blocks-
|
|
2
|
-
import { A as declaredTableColumns, C as notNullCheckName, D as addedColumnTypes, E as PolicyGrant, F as policyGrants, I as rlsTables, Jr as sameTenantLayout, M as declaredUpdatedAtTriggers, N as declaredViews, O as declaredColumnTypes, P as extensionSchema, S as blockSqlVersion, T as OwnIndex, Xr as auditRegistrations, Yr as AuditedTable, _ as BlockSqlFile, a as BlockSqlTableSpec, b as BlockSqlUpgrade, c as moduleIdType, ca as BlockSqlRead, d as appValues, da as declareRead, f as checkedValueMaps, fa as readArgSource, g as BlockSqlEntitlementsProvider, h as BlockSqlDeprecation, i as BlockSqlNames, j as declaredTables, k as declaredIndexes, l as ValueMap, la as BlockSqlReadArg, m as BlockSqlAccessProvider, n as BlockSqlContractFunction, o as MODULE_ID_TYPES, p as BlockSql, pa as readArgSqlType, qr as DeclaredForeignKey, r as BlockSqlIdType, s as isBlockSqlIdType, t as BlockSqlContext, u as ValueMaps, ua as BlockSqlReadArgType, v as BlockSqlLayout, w as DeclaredView, x as OwnView, y as BlockSqlTestFile } from "../context-
|
|
1
|
+
import { C as BlockOptionsRegistry, S as BLOCK_OPTION_SCHEMAS, b as resolveBlock } from "../blocks-Cf2U_jmO.js";
|
|
2
|
+
import { A as declaredTableColumns, C as notNullCheckName, D as addedColumnTypes, E as PolicyGrant, F as policyGrants, I as rlsTables, Jr as sameTenantLayout, M as declaredUpdatedAtTriggers, N as declaredViews, O as declaredColumnTypes, P as extensionSchema, S as blockSqlVersion, T as OwnIndex, Xr as auditRegistrations, Yr as AuditedTable, _ as BlockSqlFile, a as BlockSqlTableSpec, b as BlockSqlUpgrade, c as moduleIdType, ca as BlockSqlRead, d as appValues, da as declareRead, f as checkedValueMaps, fa as readArgSource, g as BlockSqlEntitlementsProvider, h as BlockSqlDeprecation, i as BlockSqlNames, j as declaredTables, k as declaredIndexes, l as ValueMap, la as BlockSqlReadArg, m as BlockSqlAccessProvider, n as BlockSqlContractFunction, o as MODULE_ID_TYPES, p as BlockSql, pa as readArgSqlType, qr as DeclaredForeignKey, r as BlockSqlIdType, s as isBlockSqlIdType, t as BlockSqlContext, u as ValueMaps, ua as BlockSqlReadArgType, v as BlockSqlLayout, w as DeclaredView, x as OwnView, y as BlockSqlTestFile } from "../context-C3-QkbC2.js";
|
|
3
3
|
import { a as BlockSqlEmit, i as BlockSqlAudit, n as AuditCategory, r as BlockSqlAction, t as AUDIT_CATEGORIES } from "../audit-actions-DC-AtyWB.js";
|
|
4
|
-
import { $ as compileReadSet, $t as sameBlockFile, A as renderRulePolicy, At as adoptedColumnProblems, B as PolicyInput, Bt as seedDefaultsFunctions, C as RulePolicyInput, Ct as DataExportPlan, D as policyFunctionsSql, Dt as resolveExposeColumns, E as isRule, Et as excludedColumns, F as TENANT_SCOPE_NAMES, Ft as APP_TABLES_MODULE, G as policy, Gt as BlockSqlPermissionKey, H as RenderPolicyOptions, Ht as moduleSource, I as TENANT_SCOPE_POLICY, It as appTablesFiles, J as readPolicy, Jt as modulePermissionKeys, K as readGrants, Kt as moduleEventTriggers, L as Grant, Lt as DEFAULT_ROLES, M as appTablePolicyNotes, Mt as adoptedViews, N as declaredPolicies, Nt as moduleWritesText, O as readRulePolicies, Ot as AdoptedTable, P as widenedCommands, Pt as APP_TABLES_MARKER, Q as CompiledReadSet, Qt as moduleFileVersion, R as Policy, Rt as instanceFunctions, S as RulePolicy, St as sameTenantTrigger, T as disallowedPolicyCalls, Tt as dataExportPlan, U as catalogPolicy, Ut as resolveBlocks, V as ReadPolicy, Vt as SQL_MODULES, W as maskSql, Wt as BlockSqlExtension, X as scopePolicyName, Xt as blockFileState, Y as renderPolicy, Yt as moduleSchemaExtensions, Z as hasColumnAccess, Zt as isModuleDataFile, _ as POLICY_FUNCTIONS, _n as renderBlocks, _t as subjectColumns, a as createsTable, an as BLOCK_RENAMES, at as SCOPE_ID_TYPES, b as Rule, bt as expiredFlagsQuery, c as setTableFeature, cn as renamedBlock, ct as scopeProblems, d as BsbComment, dn as moduleDeprecations, dt as CheckValues, en as moduleDataDir, et as compileReadSets, f as BsbTag, fn as upgradePlan, ft as TableCheckValues, g as setBsbTag, gn as moduleTopics, gt as blockReadRoles, h as parseBsbComment, hn as moduleBody, ht as ReadRolesModule, i as TableFeature, in as entityRenamePlan, it as moduleLayout, j as rulePolicy, jt as adoptedTables, k as renderRule, kt as AdoptedView, l as tableFeatures, ln as BlockSqlUpgradePlan, lt as templateFunctions, m as formatBsbComment, mn as customContracts, mt as declaredCheckValues, n as renderAutoEmbedding, nn as EntityRenamePlan, nt as MigrationOptionUse, o as isTableFeature, on as currentBlockName, ot as resolveProviderSql, p as commentOnTableSql, pn as BlockSqlTopic, pt as checkValues, q as readPolicies, qt as moduleHidingColumns, r as TABLE_FEATURES, rn as EntityRenameStep, rt as migrationOptionUses, s as setFeatureStatement, sn as formerBlockName, st as sameTemplateFunction, t as AutoEmbeddingConfig, tn as moduleFilePaths, tt as sharedRolesProblems, u as tableTagComments, un as InstalledBlock, ut as writtenValues, v as PolicyFunctionsOptions, vn as contractSignature, vt as TenantQuery, w as RuleValue, wt as SECRET_COLUMNS, x as RuleOperator, xt as sameTenantColumn, y as ReadRulePolicy, yt as tenantsQuery, z as PolicyCommand, zt as SeedDefaultsFunction } from "../index-
|
|
5
|
-
import { n as BlockTables, r as blockTables, t as BlockTable } from "../block-tables-
|
|
6
|
-
import { a as appTableEventTypes } from "../app-tables-
|
|
4
|
+
import { $ as compileReadSet, $t as sameBlockFile, A as renderRulePolicy, At as adoptedColumnProblems, B as PolicyInput, Bt as seedDefaultsFunctions, C as RulePolicyInput, Ct as DataExportPlan, D as policyFunctionsSql, Dt as resolveExposeColumns, E as isRule, Et as excludedColumns, F as TENANT_SCOPE_NAMES, Ft as APP_TABLES_MODULE, G as policy, Gt as BlockSqlPermissionKey, H as RenderPolicyOptions, Ht as moduleSource, I as TENANT_SCOPE_POLICY, It as appTablesFiles, J as readPolicy, Jt as modulePermissionKeys, K as readGrants, Kt as moduleEventTriggers, L as Grant, Lt as DEFAULT_ROLES, M as appTablePolicyNotes, Mt as adoptedViews, N as declaredPolicies, Nt as moduleWritesText, O as readRulePolicies, Ot as AdoptedTable, P as widenedCommands, Pt as APP_TABLES_MARKER, Q as CompiledReadSet, Qt as moduleFileVersion, R as Policy, Rt as instanceFunctions, S as RulePolicy, St as sameTenantTrigger, T as disallowedPolicyCalls, Tt as dataExportPlan, U as catalogPolicy, Ut as resolveBlocks, V as ReadPolicy, Vt as SQL_MODULES, W as maskSql, Wt as BlockSqlExtension, X as scopePolicyName, Xt as blockFileState, Y as renderPolicy, Yt as moduleSchemaExtensions, Z as hasColumnAccess, Zt as isModuleDataFile, _ as POLICY_FUNCTIONS, _n as renderBlocks, _t as subjectColumns, a as createsTable, an as BLOCK_RENAMES, at as SCOPE_ID_TYPES, b as Rule, bt as expiredFlagsQuery, c as setTableFeature, cn as renamedBlock, ct as scopeProblems, d as BsbComment, dn as moduleDeprecations, dt as CheckValues, en as moduleDataDir, et as compileReadSets, f as BsbTag, fn as upgradePlan, ft as TableCheckValues, g as setBsbTag, gn as moduleTopics, gt as blockReadRoles, h as parseBsbComment, hn as moduleBody, ht as ReadRolesModule, i as TableFeature, in as entityRenamePlan, it as moduleLayout, j as rulePolicy, jt as adoptedTables, k as renderRule, kt as AdoptedView, l as tableFeatures, ln as BlockSqlUpgradePlan, lt as templateFunctions, m as formatBsbComment, mn as customContracts, mt as declaredCheckValues, n as renderAutoEmbedding, nn as EntityRenamePlan, nt as MigrationOptionUse, o as isTableFeature, on as currentBlockName, ot as resolveProviderSql, p as commentOnTableSql, pn as BlockSqlTopic, pt as checkValues, q as readPolicies, qt as moduleHidingColumns, r as TABLE_FEATURES, rn as EntityRenameStep, rt as migrationOptionUses, s as setFeatureStatement, sn as formerBlockName, st as sameTemplateFunction, t as AutoEmbeddingConfig, tn as moduleFilePaths, tt as sharedRolesProblems, u as tableTagComments, un as InstalledBlock, ut as writtenValues, v as PolicyFunctionsOptions, vn as contractSignature, vt as TenantQuery, w as RuleValue, wt as SECRET_COLUMNS, x as RuleOperator, xt as sameTenantColumn, y as ReadRulePolicy, yt as tenantsQuery, z as PolicyCommand, zt as SeedDefaultsFunction } from "../index-2gyZE8Rf.js";
|
|
5
|
+
import { n as BlockTables, r as blockTables, t as BlockTable } from "../block-tables-BATer_QF.js";
|
|
6
|
+
import { a as appTableEventTypes } from "../app-tables-DypEnAID.js";
|
|
7
7
|
export { APP_TABLES_MARKER, APP_TABLES_MODULE, AUDIT_CATEGORIES, type AdoptedTable, type AdoptedView, type AuditCategory, type AuditedTable, type AutoEmbeddingConfig, BLOCK_OPTION_SCHEMAS, BLOCK_RENAMES, type BlockOptionsRegistry, type BlockSql, type BlockSqlAccessProvider, type BlockSqlAction, type BlockSqlAudit, type BlockSqlContext, type BlockSqlContractFunction, type BlockSqlDeprecation, type BlockSqlEmit, type BlockSqlEntitlementsProvider, type BlockSqlExtension, type BlockSqlFile, type BlockSqlIdType, type BlockSqlLayout, type BlockSqlNames, type BlockSqlPermissionKey, type BlockSqlRead, type BlockSqlReadArg, type BlockSqlReadArgType, type BlockSqlTableSpec, type BlockSqlTestFile, type BlockSqlTopic, type BlockSqlUpgrade, type BlockSqlUpgradePlan, type BlockTable, type BlockTables, type BsbComment, type BsbTag, type CheckValues, type CompiledReadSet, DEFAULT_ROLES, type DataExportPlan, type DeclaredForeignKey, type DeclaredView, type EntityRenamePlan, type EntityRenameStep, type Grant, type InstalledBlock, MODULE_ID_TYPES, type MigrationOptionUse, type OwnIndex, type OwnView, POLICY_FUNCTIONS, type Policy, type PolicyCommand, type PolicyFunctionsOptions, type PolicyGrant, type PolicyInput, type ReadPolicy, type ReadRolesModule, type ReadRulePolicy, type RenderPolicyOptions, type Rule, type RuleOperator, type RulePolicy, type RulePolicyInput, type RuleValue, SCOPE_ID_TYPES, SECRET_COLUMNS, SQL_MODULES, type SeedDefaultsFunction, TABLE_FEATURES, TENANT_SCOPE_NAMES, TENANT_SCOPE_POLICY, type TableCheckValues, type TableFeature, type TenantQuery, type ValueMap, type ValueMaps, addedColumnTypes, adoptedColumnProblems, adoptedTables, adoptedViews, appTableEventTypes, appTablePolicyNotes, appTablesFiles, appValues, auditRegistrations, blockFileState, blockReadRoles, blockSqlVersion, blockTables, catalogPolicy, checkValues, checkedValueMaps, commentOnTableSql, compileReadSet, compileReadSets, contractSignature, createsTable, currentBlockName, customContracts, dataExportPlan, declareRead, declaredCheckValues, declaredColumnTypes, declaredIndexes, declaredPolicies, declaredTableColumns, declaredTables, declaredUpdatedAtTriggers, declaredViews, disallowedPolicyCalls, entityRenamePlan, excludedColumns, expiredFlagsQuery, extensionSchema, formatBsbComment, formerBlockName, hasColumnAccess, instanceFunctions, isBlockSqlIdType, isModuleDataFile, isRule, isTableFeature, maskSql, migrationOptionUses, moduleBody, moduleDataDir, moduleDeprecations, moduleEventTriggers, moduleFilePaths, moduleFileVersion, moduleHidingColumns, moduleIdType, moduleLayout, modulePermissionKeys, moduleSchemaExtensions, moduleSource, moduleTopics, moduleWritesText, notNullCheckName, parseBsbComment, policy, policyFunctionsSql, policyGrants, readArgSource, readArgSqlType, readGrants, readPolicies, readPolicy, readRulePolicies, renamedBlock, renderAutoEmbedding, renderBlocks, renderPolicy, renderRule, renderRulePolicy, resolveBlock, resolveBlocks, resolveExposeColumns, resolveProviderSql, rlsTables, rulePolicy, sameBlockFile, sameTemplateFunction, sameTenantColumn, sameTenantLayout, sameTenantTrigger, scopePolicyName, scopeProblems, seedDefaultsFunctions, setBsbTag, setFeatureStatement, setTableFeature, sharedRolesProblems, subjectColumns, tableFeatures, tableTagComments, templateFunctions, tenantsQuery, upgradePlan, widenedCommands, writtenValues };
|
package/dist/sql/index.js
CHANGED
|
@@ -2,7 +2,7 @@ import { B as resolveBlock, T as hasColumnAccess, h as appTableEventTypes } from
|
|
|
2
2
|
import { c as scopeProblems, l as templateFunctions, o as resolveProviderSql, s as sameTemplateFunction, t as SCOPE_ID_TYPES } from "../access-sql-DH2LbcQe.js";
|
|
3
3
|
import { a as readGrants, c as renderPolicy, i as policy, o as readPolicies, r as maskSql, s as readPolicy, t as catalogPolicy } from "../policy-B9UWDXMF.js";
|
|
4
4
|
import { M as notNullCheckName } from "../shared-DwShIqeQ.js";
|
|
5
|
-
import { $ as scopePolicyName, A as adoptedColumnProblems, At as appValues, B as moduleBody, Bt as declaredViews, C as writtenValues, Ct as currentBlockName, D as tenantsQuery, Dt as isBlockSqlIdType, E as blockReadRoles, Et as MODULE_ID_TYPES, F as blockTables, Ft as declaredColumnTypes, G as appTablePolicyNotes, H as renderBlocks, Ht as policyGrants, I as seedDefaultsFunctions, It as declaredIndexes, J as moduleDataDir, K as declaredPolicies, L as moduleLayout, Lt as declaredTableColumns, M as adoptedViews, Mt as AUDIT_CATEGORIES, N as moduleWritesText, Nt as BLOCK_OPTION_SCHEMAS, O as expiredFlagsQuery, Ot as moduleIdType, P as instanceFunctions, Pt as addedColumnTypes, Q as appTablesFiles, R as entityRenamePlan, Rt as declaredTables, S as sharedRolesProblems, St as BLOCK_RENAMES, T as declaredCheckValues, Tt as renamedBlock, U as moduleDeprecations, Ut as rlsTables, V as moduleTopics, Vt as extensionSchema, W as upgradePlan, Wt as auditRegistrations, X as APP_TABLES_MARKER, Y as moduleFilePaths, Z as APP_TABLES_MODULE, _ as renderRule, _t as SECRET_COLUMNS, a as setTableFeature, at as sameBlockFile, b as compileReadSet, bt as sameTenantTrigger, c as commentOnTableSql, ct as modulePermissionKeys, d as setBsbTag, dt as moduleSource, et as renderAutoEmbedding, f as POLICY_FUNCTIONS, ft as resolveBlocks, g as readRulePolicies, gt as resolveExposeColumns, h as policyFunctionsSql, ht as excludedColumns, i as setFeatureStatement, it as moduleFileVersion, j as adoptedTables, jt as checkedValueMaps, k as sameTenantLayout, kt as contractSignature, l as formatBsbComment, lt as moduleSchemaExtensions, m as isRule, mt as TENANT_SCOPE_POLICY, n as createsTable, nt as blockFileState, o as tableFeatures, ot as moduleEventTriggers, p as disallowedPolicyCalls, pt as TENANT_SCOPE_NAMES, q as widenedCommands, r as isTableFeature, rt as isModuleDataFile, s as tableTagComments, st as moduleHidingColumns, t as TABLE_FEATURES, tt as blockSqlVersion, u as parseBsbComment, ut as SQL_MODULES, v as renderRulePolicy, vt as dataExportPlan, w as checkValues, wt as formerBlockName, x as compileReadSets, xt as migrationOptionUses, y as rulePolicy, yt as sameTenantColumn, z as customContracts, zt as declaredUpdatedAtTriggers } from "../sql-
|
|
5
|
+
import { $ as scopePolicyName, A as adoptedColumnProblems, At as appValues, B as moduleBody, Bt as declaredViews, C as writtenValues, Ct as currentBlockName, D as tenantsQuery, Dt as isBlockSqlIdType, E as blockReadRoles, Et as MODULE_ID_TYPES, F as blockTables, Ft as declaredColumnTypes, G as appTablePolicyNotes, H as renderBlocks, Ht as policyGrants, I as seedDefaultsFunctions, It as declaredIndexes, J as moduleDataDir, K as declaredPolicies, L as moduleLayout, Lt as declaredTableColumns, M as adoptedViews, Mt as AUDIT_CATEGORIES, N as moduleWritesText, Nt as BLOCK_OPTION_SCHEMAS, O as expiredFlagsQuery, Ot as moduleIdType, P as instanceFunctions, Pt as addedColumnTypes, Q as appTablesFiles, R as entityRenamePlan, Rt as declaredTables, S as sharedRolesProblems, St as BLOCK_RENAMES, T as declaredCheckValues, Tt as renamedBlock, U as moduleDeprecations, Ut as rlsTables, V as moduleTopics, Vt as extensionSchema, W as upgradePlan, Wt as auditRegistrations, X as APP_TABLES_MARKER, Y as moduleFilePaths, Z as APP_TABLES_MODULE, _ as renderRule, _t as SECRET_COLUMNS, a as setTableFeature, at as sameBlockFile, b as compileReadSet, bt as sameTenantTrigger, c as commentOnTableSql, ct as modulePermissionKeys, d as setBsbTag, dt as moduleSource, et as renderAutoEmbedding, f as POLICY_FUNCTIONS, ft as resolveBlocks, g as readRulePolicies, gt as resolveExposeColumns, h as policyFunctionsSql, ht as excludedColumns, i as setFeatureStatement, it as moduleFileVersion, j as adoptedTables, jt as checkedValueMaps, k as sameTenantLayout, kt as contractSignature, l as formatBsbComment, lt as moduleSchemaExtensions, m as isRule, mt as TENANT_SCOPE_POLICY, n as createsTable, nt as blockFileState, o as tableFeatures, ot as moduleEventTriggers, p as disallowedPolicyCalls, pt as TENANT_SCOPE_NAMES, q as widenedCommands, r as isTableFeature, rt as isModuleDataFile, s as tableTagComments, st as moduleHidingColumns, t as TABLE_FEATURES, tt as blockSqlVersion, u as parseBsbComment, ut as SQL_MODULES, v as renderRulePolicy, vt as dataExportPlan, w as checkValues, wt as formerBlockName, x as compileReadSets, xt as migrationOptionUses, y as rulePolicy, yt as sameTenantColumn, z as customContracts, zt as declaredUpdatedAtTriggers } from "../sql-DXME28Gr.js";
|
|
6
6
|
import { s as subjectColumns } from "../contributions-olp7tVYC.js";
|
|
7
7
|
import { t as DEFAULT_ROLES } from "../permissions-model-Dh9-Zzfy.js";
|
|
8
8
|
import { n as readArgSource, r as readArgSqlType, t as declareRead } from "../reads-CWVqw2JB.js";
|
|
@@ -88598,6 +88598,8 @@ function build$102(ctx) {
|
|
|
88598
88598
|
const write = ctx.permission("write", OPERATIONS["deadlines.write"]);
|
|
88599
88599
|
const approvals = ctx.installed("approvals") ? ctx.of("approvals") : void 0;
|
|
88600
88600
|
const allowed = (tenant, permission) => `(${SERVICE_CALLER$1} or (${tenant} is not null and ${ctx.can("tenant", tenant, permission)}))`;
|
|
88601
|
+
const subjects = subjectsOption(ctx);
|
|
88602
|
+
const visible = (type, id, tenant) => `(${SERVICE_CALLER$1} or ${fn("deadline_subject_readable")}(${type}, ${id}, ${tenant}))`;
|
|
88601
88603
|
const serviceOnly = (what) => `if not ${SERVICE_CALLER$1} then
|
|
88602
88604
|
${fail("DEADLINE_FORBIDDEN", `only the service role may ${what}`)}
|
|
88603
88605
|
end if;`;
|
|
@@ -88644,7 +88646,7 @@ function build$102(ctx) {
|
|
|
88644
88646
|
name: sqlIdent$1(`${deadlinesName}_read`),
|
|
88645
88647
|
command: "select",
|
|
88646
88648
|
roles: ["authenticated"],
|
|
88647
|
-
using: ctx.scope.check(d("tenant"), read)
|
|
88649
|
+
using: `${ctx.scope.check(d("tenant"), read)} and ${fn("deadline_subject_readable")}(${d("subjectType")}, ${d("subjectId")}, ${d("tenant")})`
|
|
88648
88650
|
}), {
|
|
88649
88651
|
drop: true,
|
|
88650
88652
|
target: deadlines
|
|
@@ -88750,6 +88752,29 @@ create unique index if not exists ${sqlIdent$1(`bsb_${deadlinesName}_subject_gro
|
|
|
88750
88752
|
create index if not exists ${sqlIdent$1(`${deadlinesName}_version_idx`)} on ${deadlines} (${d("ruleVersion")});
|
|
88751
88753
|
create index if not exists ${sqlIdent$1(`${deadlinesName}_due_idx`)} on ${deadlines} (${d("tenant")}, ${d("dueOn")}) where ${d("state")} = 'pending';
|
|
88752
88754
|
${lockTable(deadlines, { read: true })}
|
|
88755
|
+
|
|
88756
|
+
-- Whether the caller may read the subject a deadline belongs to: its row is
|
|
88757
|
+
-- visible to them (the subject table's own policies apply) and they hold its
|
|
88758
|
+
-- read permission, as blocks.deadlines.on or config.subjects declares it.
|
|
88759
|
+
-- Without subjects every subject passes; with them an unlisted type fails.
|
|
88760
|
+
-- plpgsql, so a subject table a later module creates binds late.
|
|
88761
|
+
create or replace function ${fn("deadline_subject_readable")}(subject_type text, subject_id text, tenant ${idType})
|
|
88762
|
+
returns boolean
|
|
88763
|
+
language plpgsql
|
|
88764
|
+
stable
|
|
88765
|
+
security invoker
|
|
88766
|
+
set search_path = ''
|
|
88767
|
+
as $$
|
|
88768
|
+
begin
|
|
88769
|
+
return ${subjects.length === 0 ? "true" : `coalesce(${subjectReadable(ctx, subjects, {
|
|
88770
|
+
type: "deadline_subject_readable.subject_type",
|
|
88771
|
+
id: "deadline_subject_readable.subject_id",
|
|
88772
|
+
tenant: "deadline_subject_readable.tenant"
|
|
88773
|
+
})}, false)`};
|
|
88774
|
+
end;
|
|
88775
|
+
$$;
|
|
88776
|
+
revoke execute on function ${fn("deadline_subject_readable")}(text, text, ${idType}) from public, anon;
|
|
88777
|
+
grant execute on function ${fn("deadline_subject_readable")}(text, text, ${idType}) to authenticated, service_role;
|
|
88753
88778
|
${readPolicy}
|
|
88754
88779
|
${evaluatorSql(fn, userGrant, triggerGrant)}
|
|
88755
88780
|
${validatorSql(fn, userGrant, triggerGrant)}
|
|
@@ -88943,8 +88968,10 @@ ${triggerGrant(`${fn("deadline_store")}(${idType}, text, text, text, text, uuid,
|
|
|
88943
88968
|
-- Computes a subject's deadlines from its facts with the rule set version that
|
|
88944
88969
|
-- applies on as_of (today by default): every group of the version, or only
|
|
88945
88970
|
-- group_key, and stores one row per group (one per month for a periodic
|
|
88946
|
-
-- rule). Returns the rows. A satisfied row is returned unchanged
|
|
88947
|
-
--
|
|
88971
|
+
-- rule). Returns the rows. A satisfied row is returned unchanged and kept as
|
|
88972
|
+
-- history. Without group_key, a pending row of this jurisdiction and kind
|
|
88973
|
+
-- that the evaluation no longer yields (its group was dropped or yields no
|
|
88974
|
+
-- row) is deleted. Needs deadlines.write and read access to the subject.
|
|
88948
88975
|
create or replace function ${fn("compute_deadlines")}(tenant ${idType}, subject_type text, subject_id text, jurisdiction text, kind text, facts jsonb default '{}', as_of date default current_date, group_key text default null)
|
|
88949
88976
|
returns jsonb
|
|
88950
88977
|
language plpgsql
|
|
@@ -88965,6 +88992,9 @@ begin
|
|
|
88965
88992
|
or compute_deadlines.as_of is null then
|
|
88966
88993
|
${fail("DEADLINE_INVALID", "a deadline needs a subject type, a subject id, facts as an object and a date", "22023")}
|
|
88967
88994
|
end if;
|
|
88995
|
+
if not ${visible("compute_deadlines.subject_type", "compute_deadlines.subject_id", "compute_deadlines.tenant")} then
|
|
88996
|
+
${fail("DEADLINE_FORBIDDEN", "not allowed to compute deadlines for this subject")}
|
|
88997
|
+
end if;
|
|
88968
88998
|
v_version := ${fn("rule_version_at")}(compute_deadlines.jurisdiction, compute_deadlines.kind, compute_deadlines.as_of);
|
|
88969
88999
|
if v_version is null then
|
|
88970
89000
|
${fail("DEADLINE_RULES_NOT_FOUND", "no approved rule set version applies", "P0002")}
|
|
@@ -88980,7 +89010,13 @@ begin
|
|
|
88980
89010
|
return ${fn("deadline_store")}(compute_deadlines.tenant, compute_deadlines.subject_type, compute_deadlines.subject_id,
|
|
88981
89011
|
compute_deadlines.jurisdiction, compute_deadlines.kind, (v_version ->> 'id')::uuid, compute_deadlines.facts, compute_deadlines.as_of,
|
|
88982
89012
|
v_results, case when compute_deadlines.group_key is null
|
|
88983
|
-
then array(
|
|
89013
|
+
then array(
|
|
89014
|
+
select g.value ->> 'key' from jsonb_array_elements(v_version -> 'groups') g(value)
|
|
89015
|
+
union
|
|
89016
|
+
select x.${d("groupKey")} from ${deadlines} x
|
|
89017
|
+
where x.${d("tenant")} = compute_deadlines.tenant and x.${d("subjectType")} = compute_deadlines.subject_type
|
|
89018
|
+
and x.${d("subjectId")} = compute_deadlines.subject_id and x.${d("jurisdiction")} = compute_deadlines.jurisdiction
|
|
89019
|
+
and x.${d("kind")} = compute_deadlines.kind)
|
|
88984
89020
|
else array[compute_deadlines.group_key] end) -> 'rows';
|
|
88985
89021
|
end;
|
|
88986
89022
|
$$;
|
|
@@ -89037,7 +89073,7 @@ $$;
|
|
|
89037
89073
|
${triggerGrant(`${fn("deadline_recompute")}(text, text, text, jsonb)`)}
|
|
89038
89074
|
|
|
89039
89075
|
-- Re-evaluates a subject's pending deadlines with extra facts. Needs
|
|
89040
|
-
-- deadlines.write.
|
|
89076
|
+
-- deadlines.write and read access to the subject.
|
|
89041
89077
|
create or replace function ${fn("recompute_deadlines")}(tenant ${idType}, subject_type text, subject_id text, facts jsonb default '{}')
|
|
89042
89078
|
returns integer
|
|
89043
89079
|
language plpgsql
|
|
@@ -89049,6 +89085,9 @@ begin
|
|
|
89049
89085
|
if not ${allowed("recompute_deadlines.tenant", write)} then
|
|
89050
89086
|
${fail("DEADLINE_FORBIDDEN", "not allowed to compute deadlines")}
|
|
89051
89087
|
end if;
|
|
89088
|
+
if not ${visible("recompute_deadlines.subject_type", "recompute_deadlines.subject_id", "recompute_deadlines.tenant")} then
|
|
89089
|
+
${fail("DEADLINE_FORBIDDEN", "not allowed to compute deadlines for this subject")}
|
|
89090
|
+
end if;
|
|
89052
89091
|
return ${fn("deadline_recompute")}(recompute_deadlines.tenant::text, recompute_deadlines.subject_type, recompute_deadlines.subject_id, recompute_deadlines.facts);
|
|
89053
89092
|
end;
|
|
89054
89093
|
$$;
|
|
@@ -89079,7 +89118,7 @@ $$;
|
|
|
89079
89118
|
${triggerGrant(`${fn("deadline_fact_trigger")}()`)}
|
|
89080
89119
|
|
|
89081
89120
|
-- Records the action that satisfied a deadline (one period of a periodic rule
|
|
89082
|
-
-- on its own). Needs deadlines.write.
|
|
89121
|
+
-- on its own). Needs deadlines.write and read access to the subject.
|
|
89083
89122
|
create or replace function ${fn("satisfy_deadline")}(deadline_id uuid, action text default null)
|
|
89084
89123
|
returns jsonb
|
|
89085
89124
|
language plpgsql
|
|
@@ -89091,7 +89130,8 @@ declare
|
|
|
89091
89130
|
v_row ${deadlines};
|
|
89092
89131
|
begin
|
|
89093
89132
|
select * into v_row from ${deadlines} x where x.${d("id")} = satisfy_deadline.deadline_id for update;
|
|
89094
|
-
if not found or not ${allowed(`v_row.${d("tenant")}`, read)}
|
|
89133
|
+
if not found or not ${allowed(`v_row.${d("tenant")}`, read)}
|
|
89134
|
+
or not ${visible(`v_row.${d("subjectType")}`, `v_row.${d("subjectId")}`, `v_row.${d("tenant")}`)} then
|
|
89095
89135
|
${missing}
|
|
89096
89136
|
end if;
|
|
89097
89137
|
if not ${allowed(`v_row.${d("tenant")}`, write)} then
|
|
@@ -89109,13 +89149,15 @@ end;
|
|
|
89109
89149
|
$$;
|
|
89110
89150
|
${userGrant(`${fn("satisfy_deadline")}(uuid, text)`)}
|
|
89111
89151
|
|
|
89112
|
-
-- An organization's deadlines
|
|
89152
|
+
-- An organization's deadlines on the subjects the caller may read, soonest
|
|
89153
|
+
-- first. Security invoker, so the read policy and the subject tables' own
|
|
89154
|
+
-- policies decide which rows it returns. filters is { subjectType,
|
|
89113
89155
|
-- subjectId, groupKey, period, state, result, provisional, dueBefore, limit }.
|
|
89114
89156
|
create or replace function ${fn("list_deadlines")}(tenant ${idType}, filters jsonb default '{}')
|
|
89115
89157
|
returns jsonb
|
|
89116
89158
|
language plpgsql
|
|
89117
89159
|
stable
|
|
89118
|
-
security
|
|
89160
|
+
security invoker
|
|
89119
89161
|
set search_path = ''
|
|
89120
89162
|
as $$
|
|
89121
89163
|
#variable_conflict use_variable
|
|
@@ -89245,7 +89287,11 @@ const DEADLINES = {
|
|
|
89245
89287
|
version: 2,
|
|
89246
89288
|
upgrades: [TO_GROUPS],
|
|
89247
89289
|
deprecated: DEPRECATED,
|
|
89248
|
-
internal: [
|
|
89290
|
+
internal: [
|
|
89291
|
+
"evaluate_deadline_rule",
|
|
89292
|
+
"compute_deadline",
|
|
89293
|
+
"deadline_subject_readable"
|
|
89294
|
+
],
|
|
89249
89295
|
names: NAMES$100,
|
|
89250
89296
|
contract: contract$90,
|
|
89251
89297
|
build: build$102
|
package/dist/ssr/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { A as serializeCookie, C as CookieScope, D as applyCookieWrites, E as StoredSession, O as parseCookies, S as CookieRecord, T as SessionEncoding, a as ResolveAuthOptions, j as sessionCookieName, k as readSession, n as AuthResolver, r as AuthState, t as AuthResolution, u as resolveAuth, w as CookieWrite, x as CookieOptions } from "../resolve-B9Rn2M5c.js";
|
|
2
2
|
import { a as sessionStatus, i as clearSessionCookies, n as SessionStatus, o as authContext, r as SessionStatusOptions, t as ClearSessionCookiesOptions } from "../ended-C-w3KU-i.js";
|
|
3
3
|
import { n as AuthSession, o as toSession } from "../view-CVXHgadI.js";
|
|
4
|
-
import { r as MembershipClaim } from "../entitlements-
|
|
4
|
+
import { r as MembershipClaim } from "../entitlements-Bb-dOARS.js";
|
|
5
5
|
export { type AuthResolution, type AuthResolver, type AuthSession, type AuthState, type ClearSessionCookiesOptions, type CookieOptions, type CookieRecord, type CookieScope, type CookieWrite, type MembershipClaim, type ResolveAuthOptions, type SessionEncoding, type SessionStatus, type SessionStatusOptions, type StoredSession, applyCookieWrites, authContext, clearSessionCookies, parseCookies, readSession, resolveAuth, serializeCookie, sessionCookieName, sessionStatus, toSession };
|
package/dist/svelte/index.d.ts
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { n as AuthSession } from "../view-CVXHgadI.js";
|
|
2
|
-
import { C as LiveCountHookOptions, D as PresenceTopic, E as PresenceHookOptions, O as ProfileOf, S as ClientLike, T as LiveQueryHookOptions, _ as ActionInputOf, a as DataRows, b as BroadcastOptions, c as DataWrites, d as BlockMutationActions, f as BlockMutationState, g as BlockRefetchOn, h as BlockQueryState, i as DataRow, k as UseActionOptions, l as BlockEngineOptions, m as BlockQueryOptions, n as DataId, o as DataSource, p as BlockQueryActions, r as DataListArgs, s as DataState, t as fieldErrorsOf, u as BlockEventSource, v as ActionResultOf, w as LiveCountSource, x as ClaimsOf, y as ActionState } from "../field-errors-
|
|
3
|
-
import { t as AuthSnapshot } from "../bind-
|
|
2
|
+
import { C as LiveCountHookOptions, D as PresenceTopic, E as PresenceHookOptions, O as ProfileOf, S as ClientLike, T as LiveQueryHookOptions, _ as ActionInputOf, a as DataRows, b as BroadcastOptions, c as DataWrites, d as BlockMutationActions, f as BlockMutationState, g as BlockRefetchOn, h as BlockQueryState, i as DataRow, k as UseActionOptions, l as BlockEngineOptions, m as BlockQueryOptions, n as DataId, o as DataSource, p as BlockQueryActions, r as DataListArgs, s as DataState, t as fieldErrorsOf, u as BlockEventSource, v as ActionResultOf, w as LiveCountSource, x as ClaimsOf, y as ActionState } from "../field-errors-CjEfOrH1.js";
|
|
3
|
+
import { t as AuthSnapshot } from "../bind-DEPqZLwv.js";
|
|
4
4
|
import { b as DbError } from "../result-CMqlHv82.js";
|
|
5
5
|
import { st as QuerySpec } from "../db-blocks-CzhzWfvR.js";
|
|
6
|
-
import { g as TopicHandlers, m as Topic, p as SubscriptionStatus, r as PresenceMember, t as EventSchemas } from "../topic-
|
|
6
|
+
import { g as TopicHandlers, m as Topic, p as SubscriptionStatus, r as PresenceMember, t as EventSchemas } from "../topic-CBTgUy6t.js";
|
|
7
7
|
import { tt as TemplateValues } from "../bucket-DJu58KBb.js";
|
|
8
|
-
import { n as Controller } from "../controller-
|
|
8
|
+
import { n as Controller } from "../controller-6_Uo4WEe.js";
|
|
9
9
|
import { D as BlockEventPattern, Dt as Events, T as BlockEvent, k as BlockEventsMatching, wt as EventMap } from "../events-DN9PAcjq.js";
|
|
10
|
-
import { n as BlockOptions } from "../block-env-
|
|
10
|
+
import { n as BlockOptions } from "../block-env-CAdE4Q5v.js";
|
|
11
11
|
import { n as BlockDataOf, r as BlockMethodName, t as BlockArgsOf } from "../block-method-BgPAdisB.js";
|
|
12
12
|
import { SupabaseClient } from "@supabase/supabase-js";
|
|
13
13
|
import { QueryClient } from "@tanstack/query-core";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { s as ClaimsSource } from "./entitlements-
|
|
1
|
+
import { s as ClaimsSource } from "./entitlements-Bb-dOARS.js";
|
|
2
2
|
/**
|
|
3
3
|
* The active tenant of a user session: the `claim` claim (`tenant_id` by
|
|
4
4
|
* default, as `config.claims.tenant`) at the top level of the token, then in
|
package/dist/testing/index.d.ts
CHANGED
|
@@ -13,28 +13,28 @@ import { i as EventSink, t as CloudEvent } from "../cloud-event-Dj2V1lQw.js";
|
|
|
13
13
|
import { n as Money } from "../money-BgpAd7d3.js";
|
|
14
14
|
import { n as Payment, o as PaymentProvider } from "../payments-DSIeov-I.js";
|
|
15
15
|
import { r as WebhookInput } from "../signatures-l_OUbLtA.js";
|
|
16
|
-
import { tn as FieldPack, w as AnyRecordBinding } from "../define-block-
|
|
16
|
+
import { tn as FieldPack, w as AnyRecordBinding } from "../define-block-Dle1hNrI.js";
|
|
17
17
|
import { l as TaxProvider, r as TaxAddress } from "../tax-DKZ62cZY.js";
|
|
18
18
|
import { Q as EInvoiceChannel, et as EInvoiceDocument, lt as EInvoiceEndpoint, t as Invoice } from "../invoices-DQB0pdnK.js";
|
|
19
19
|
import { p as ShippingProvider, s as ShipmentAddress } from "../carrier-DaIG8Q4x.js";
|
|
20
20
|
import { O as IncomingDestination, f as WebhookSecretStore, o as WebhookSigner, v as WebhookTransport } from "../signers-CPqWfc48.js";
|
|
21
21
|
import { L as QueueProvider } from "../types-CTb0Uroz.js";
|
|
22
22
|
import { w as SupportSessionStore } from "../support-DYNFoAZ8.js";
|
|
23
|
-
import { n as Controller } from "../controller-
|
|
23
|
+
import { n as Controller } from "../controller-6_Uo4WEe.js";
|
|
24
24
|
import { r as GuardOptions } from "../respond-OjgB7zlB.js";
|
|
25
25
|
import { s as ServerContext, u as ServerOptions } from "../server-types-Cf4eX4kr.js";
|
|
26
26
|
import { a as BlockTransportMiddleware } from "../block-hooks-FM9t7ol_.js";
|
|
27
|
-
import { s as AuthorizationProvider } from "../authorization-
|
|
27
|
+
import { s as AuthorizationProvider } from "../authorization-CRKL2OFQ.js";
|
|
28
28
|
import { i as AuthorizationHooks } from "../authorization-hooks-DM_ijJsD.js";
|
|
29
29
|
import { a as DeliveryTransport } from "../delivery-CWcbh87x.js";
|
|
30
30
|
import { l as VersionOf, t as AnyDocumentFormat } from "../format-BT0Z3V54.js";
|
|
31
31
|
import { t as ApiModel } from "../model-Lxa_mOzB.js";
|
|
32
|
-
import { It as GeneratorInput, Ot as Generator, Zt as ResolvedConfig, zt as GeneratorModel } from "../context-
|
|
32
|
+
import { It as GeneratorInput, Ot as Generator, Zt as ResolvedConfig, zt as GeneratorModel } from "../context-C3-QkbC2.js";
|
|
33
33
|
import { l as Transcriber, s as NoteTaker, u as TranscriberInput } from "../recordings-1yDvOqM4.js";
|
|
34
34
|
import { o as VulnerabilityFeed } from "../feed-7YjTfcqT.js";
|
|
35
|
-
import { c as AiTaskRunner, o as AiTaskRun, r as AiTask } from "../ai-schedules-
|
|
35
|
+
import { c as AiTaskRunner, o as AiTaskRun, r as AiTask } from "../ai-schedules-F9MS-bie.js";
|
|
36
36
|
import { _ as ClinicalDecisionSupport, l as CareDecisionContext } from "../clinical-decision-support-CMAg066a.js";
|
|
37
|
-
import { n as DriveTextFile, s as TextExtractor } from "../extract-
|
|
37
|
+
import { n as DriveTextFile, s as TextExtractor } from "../extract-BwhGjyWJ.js";
|
|
38
38
|
import { i as Prescription, r as PrescribedOrder, s as PrescriptionGateway } from "../e-prescribing-W0tunICr.js";
|
|
39
39
|
import { D as FundingRenderedClaim, c as FundingClaim, f as FundingClaimFormat, l as FundingClaimChannel, p as FundingClaimLine } from "../funding-C2R7BTT_.js";
|
|
40
40
|
import { r as Embedder } from "../knowledge-vrO4Poa5.js";
|