better-supabase 0.61.1 → 0.63.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/{account-parts-DtC5voD1.d.ts → account-parts-C3mte2Y7.d.ts} +1 -1
- package/dist/{activities-BMQuBkrQ.d.ts → activities-DFL2uhTK.d.ts} +1 -1
- package/dist/{adapter-base-DGiRWzEo.js → adapter-base-DXF0tNJJ.js} +1 -1
- package/dist/{agents-NaSREeo_.d.ts → agents-Bceu5a4z.d.ts} +1 -1
- package/dist/{agents-3wTmHYZr.d.ts → agents-C8BwEXD0.d.ts} +6 -6
- package/dist/{ai-cache-CKOJ9cLZ.d.ts → ai-cache-Dnj5iteF.d.ts} +1 -1
- package/dist/{ai-chat-C8FEgeTd.d.ts → ai-chat-CVmnJZcP.d.ts} +1 -1
- package/dist/{ai-schedules-CtxaSWA1.d.ts → ai-schedules-j51dDzm3.d.ts} +2 -2
- package/dist/ai-sdk/agents/index.d.ts +2 -2
- package/dist/ai-sdk/batches/index.d.ts +1 -1
- package/dist/ai-sdk/cache/index.d.ts +1 -1
- package/dist/ai-sdk/chat/index.d.ts +2 -2
- package/dist/ai-sdk/embeddings/index.d.ts +2 -2
- package/dist/ai-sdk/index.d.ts +5 -5
- package/dist/ai-sdk/memory/index.d.ts +3 -3
- package/dist/ai-sdk/workflow/index.d.ts +4 -4
- package/dist/{api-Dq7hOzxh.js → api-CKdssE3U.js} +1 -1
- package/dist/{api-pGkHTqH6.d.ts → api-D4gZPhMd.d.ts} +1 -1
- package/dist/{app-tables-BHoeMC9w.d.ts → app-tables-Br5Khxij.d.ts} +1 -1
- package/dist/{assistant-BQAjAXDe.d.ts → assistant-JXmSCGyW.d.ts} +2 -2
- package/dist/astro/index.d.ts +3 -3
- package/dist/astro/index.js +3 -3
- package/dist/{audit-actions-DC-AtyWB.d.ts → audit-actions-be1sy-Vh.d.ts} +1 -0
- package/dist/{authorization-glyinWcf.d.ts → authorization-k0Y3L701.d.ts} +1 -1
- package/dist/better-result/index.d.ts +2 -2
- package/dist/{bind-B-NW7-Fd.d.ts → bind-CuRPlZYY.d.ts} +4 -4
- package/dist/{block-env-BN4cyqTj.d.ts → block-env-hdFBj6FQ.d.ts} +4 -4
- package/dist/{block-tables-CkbJsNys.d.ts → block-tables-1XNfpOPP.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 +3 -3
- package/dist/blocks/advisories/index.d.ts +1 -1
- package/dist/blocks/agent-checkout/index.d.ts +2 -2
- package/dist/blocks/agents/index.d.ts +3 -3
- package/dist/blocks/ai-cache/index.d.ts +2 -2
- package/dist/blocks/ai-chat/index.d.ts +3 -3
- 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 +6 -6
- 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 +3 -3
- package/dist/blocks/bookings/index.d.ts +3 -3
- package/dist/blocks/bulk-actions/index.d.ts +2 -2
- 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 +6 -6
- 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 +2 -2
- package/dist/blocks/created-by/index.d.ts +2 -2
- package/dist/blocks/crm/index.d.ts +17 -17
- package/dist/blocks/crm/index.js +1 -1
- 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 +4 -4
- 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 +5 -5
- 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 +2 -2
- 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 +3 -3
- package/dist/blocks/messaging/index.d.ts +5 -5
- package/dist/blocks/metrics/index.d.ts +2 -2
- 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 +6 -6
- package/dist/blocks/notifications/index.js +1 -1
- 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 +2 -2
- 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 +2 -2
- 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 +3 -3
- package/dist/blocks/queue/index.js +1 -1
- package/dist/blocks/quotes/index.d.ts +1 -1
- package/dist/blocks/rank/index.d.ts +2 -2
- 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/saas/index.js +1 -1
- package/dist/blocks/sales/index.d.ts +1 -1
- package/dist/blocks/saved-views/index.d.ts +3 -3
- package/dist/blocks/scheduling/index.d.ts +5 -5
- 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 +1 -1
- 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 +2 -2
- package/dist/blocks/tills/index.d.ts +1 -1
- package/dist/blocks/time-entries/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 +3 -3
- 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/warranty/index.d.ts +1 -1
- package/dist/blocks/webhooks/index.d.ts +4 -4
- package/dist/blocks/webhooks/index.js +5 -2
- package/dist/blocks/workflow-editor/index.d.ts +4 -4
- package/dist/blocks/workflows/index.d.ts +4 -4
- package/dist/{blocks-D4ngpPJ_.d.ts → blocks-C2F_SycJ.d.ts} +12 -6
- package/dist/{bookings-6dC83XE6.d.ts → bookings-DIQGDex_.d.ts} +1 -1
- package/dist/{build-Ds53XOWu.js → build-Rr77NMoY.js} +1 -1
- package/dist/{cache-tags-UWvxDMDO.d.ts → cache-tags-THgO4say.d.ts} +1 -1
- package/dist/claims/index.d.ts +5 -5
- package/dist/{claims-source-D-4CztOl.d.ts → claims-source-fUk4pR24.d.ts} +1 -1
- package/dist/cli/add-BF3e5Ll7.js +1 -0
- package/dist/cli/{add-BegIE-Rb.js → add-BZwvXVWj.js} +2 -2
- package/dist/cli/{add-BufF64Hx.js → add-C0CrFxHw.js} +11 -11
- package/dist/cli/{app-table-files-RdOXXDCt.js → app-table-files-C5DZPmHI.js} +4 -4
- package/dist/cli/{app-tables-CK-U5_ZN.js → app-tables-BzBFYoMr.js} +2 -2
- package/dist/cli/{backfill-CT6yncRM.js → backfill-BEp8YZZN.js} +3 -3
- package/dist/cli/bin.js +1 -1
- package/dist/cli/{blocks-Q7wC6dj7.js → blocks-GHzRHitY.js} +1 -1
- package/dist/cli/{blocks-CVadF4-D.js → blocks-OMAjC_Wi.js} +1 -1
- package/dist/cli/{cache-BKwYvrrJ.js → cache-CcAahoyu.js} +1 -1
- package/dist/cli/{codemod-BzEKQMSK.js → codemod-Cf0oYaKz.js} +5 -5
- package/dist/cli/{codemod-naming-BpWNTsvf.js → codemod-naming-B776pVSk.js} +1 -1
- package/dist/cli/{column-renames-7IG0Gcf3.js → column-renames-CeK8sWiT.js} +2 -2
- package/dist/cli/{config-DX58lDf7.js → config-By5EbpdJ.js} +1 -1
- package/dist/cli/{config-CoW6aoul.js → config-D4AVoIh5.js} +1 -1
- package/dist/cli/{content-mapper-BUWZw8Yr.js → content-mapper-Do10cbVT.js} +1 -1
- package/dist/cli/{db-CZ9qHsDs.js → db-C4up7wFU.js} +2 -2
- package/dist/cli/{dev-BRQUcr0M.js → dev-CJPEc2gr.js} +5 -5
- package/dist/cli/{doctor-auNf55mF.js → doctor-BEUg9HWw.js} +20 -20
- package/dist/cli/{emit-CxD5qNz7.js → emit-T1WamIdk.js} +2 -2
- package/dist/cli/{gen-B8K-GHgH.js → gen-DJ2_PQ72.js} +5 -5
- package/dist/cli/{gen-tasks-oTH8W-xH.js → gen-tasks-Yrk8s8md.js} +11 -11
- package/dist/cli/index.d.ts +1 -1
- package/dist/cli/index.js +8 -8
- package/dist/cli/{init-lNqq_JHu.js → init-BvbU-jDh.js} +9 -9
- package/dist/cli/{live-Dbt0gFSL.js → live-DIsnNTKQ.js} +2 -2
- package/dist/cli/{mcp-Bs3746MS.js → mcp-C_wxYL1p.js} +2 -2
- package/dist/cli/{memo-backend-BAduTvxg.js → memo-backend-vEs4WDSK.js} +1 -1
- package/dist/cli/{metadata-IpEhOh60.js → metadata-BAYbcHhK.js} +4 -4
- package/dist/cli/{migrate-CaEzxtNU.js → migrate-B5MSSoqe.js} +1 -1
- package/dist/cli/{migration-safety-B473uP9G.js → migration-safety-Dnt9Czmf.js} +2 -2
- package/dist/cli/{module-migration-BMmyFP2c.js → module-migration-CEQY0Jql.js} +1 -1
- package/dist/cli/{partition-C9ta6Kld.js → partition-DT-YczYz.js} +3 -3
- package/dist/cli/powersync-BT_Dwh2S.js +1 -0
- package/dist/cli/{powersync-DNUSeMtj.js → powersync-_8c5mLfZ.js} +4 -4
- package/dist/cli/{print-84kAnn1u.js → print-DEwSsdxn.js} +2 -2
- package/dist/cli/{providers-BgyVs06M.js → providers-QkAQXJCS.js} +1 -1
- package/dist/cli/{prune-workflows-D96eYjdj.js → prune-workflows-WfJvfrQe.js} +3 -3
- package/dist/cli/{remove-Y62Mu1VK.js → remove-BP7juqYl.js} +6 -6
- package/dist/cli/{render-cache-CHTWh5Rl.js → render-cache-BiTkqTAJ.js} +1 -1
- package/dist/cli/{render-Div4K_TT.js → render-dx7vrczW.js} +5 -5
- package/dist/cli/{run-Dx-CrkU_.js → run-CPdlEmjh.js} +35 -35
- package/dist/cli/{run-BkbVZBeG.js → run-s73OXa6p.js} +7 -7
- package/dist/cli/seed-B3MrC1Qe.js +1 -0
- package/dist/cli/{seed-pDWlnzyK.js → seed-BufZFJ_Q.js} +2 -2
- package/dist/cli/{shared-B0zV1qW9.js → shared-CAw3LIDZ.js} +1 -1
- package/dist/cli/{source-So9SSLFc.js → source-BFIiz5Gd.js} +1 -1
- package/dist/cli/{source-args-D5BSEgUG.js → source-args-CvgOHwlj.js} +1 -1
- package/dist/cli/{spec-BiLpXtjI.js → spec-3PdgIg4q.js} +1 -1
- package/dist/cli/{spec-BA3jaJaL.js → spec-wHDGnKHu.js} +2 -2
- package/dist/cli/{sql-layout-BH9MeAY3.js → sql-layout-DTEum7p9.js} +3 -3
- package/dist/cli/{squash-CZJcKsks.js → squash-BApxsAu3.js} +1 -1
- package/dist/cli/{sync-Csq5olpt.js → sync--2h-BD99.js} +4 -4
- package/dist/cli/{upgrade-MfDU8Z5K.js → upgrade-DuqWpRkE.js} +5 -5
- package/dist/cli/{upgrade-DBE7LYrq.js → upgrade-QCfkwN9R.js} +5 -5
- package/dist/cli/{verify-O5zxWWuE.js → verify-CR7f21Ri.js} +2 -2
- package/dist/cli/{version-ljacjTnk.js → version-B_O3ame2.js} +1 -1
- package/dist/client/index.d.ts +5 -5
- package/dist/client/index.js +1 -1
- package/dist/client/native/index.d.ts +5 -5
- package/dist/client/native/index.js +2 -2
- package/dist/{composite-CxojRRUF.d.ts → composite-BInEW9vs.d.ts} +3 -3
- package/dist/{composite-Bxpd7oru.js → composite-C13UCNgm.js} +1 -1
- package/dist/{composite-reads-CK-Y5b6M.d.ts → composite-reads-C942bzhw.d.ts} +1 -1
- package/dist/config/index.d.ts +4 -4
- package/dist/config/index.js +4 -4
- package/dist/{config-cisS43w5.js → config-1kAVpZc_.js} +3 -3
- package/dist/{config-a_CzEbpi.js → config-L5_4kg24.js} +1 -1
- package/dist/{context-m-t6Kr9_.d.ts → context-DtyeoCvj.d.ts} +4 -4
- package/dist/contract/index.d.ts +4 -4
- package/dist/{controller-zwQFyrOG.d.ts → controller-D6ZUjfhv.d.ts} +1 -1
- package/dist/{conversion-b6htac73.d.ts → conversion-BiAEs9ja.d.ts} +1 -1
- package/dist/create/index.d.ts +4 -4
- package/dist/create/index.js +3 -3
- package/dist/create/lite/index.d.ts +3 -3
- package/dist/create/lite/index.js +4 -4
- package/dist/{db-blocks-_jJICfjp.d.ts → db-blocks-BQkHb77X.d.ts} +3 -3
- package/dist/{define-block-DQvTGOGv.d.ts → define-block-DpnCxELV.d.ts} +2 -2
- package/dist/{define-runtime-DsFTahQB.js → define-runtime-BbNPkt-5.js} +17 -1
- package/dist/{define-runtime-full-B_cMkyCk.js → define-runtime-full-gpz09qAj.js} +16 -3
- package/dist/{delete-account-BQDeafVT.d.ts → delete-account-DKGAVT94.d.ts} +1 -1
- package/dist/{drive-DaEK5ZxU.d.ts → drive-_xuMA2xw.d.ts} +1 -1
- package/dist/edge/index.d.ts +5 -5
- package/dist/edge/index.js +4 -4
- package/dist/{embeddings-BriQ4hQ1.d.ts → embeddings-BhTNerJ8.d.ts} +2 -2
- package/dist/{entitlements-D4ob6MfK.d.ts → entitlements-Djh4bBdj.d.ts} +2 -2
- package/dist/eve/index.d.ts +3 -3
- package/dist/{eve-D-hvUFYE.d.ts → eve-DCA-YKQZ.d.ts} +2 -2
- package/dist/{executor-D24_D6dr.js → executor-DABWqMfV.js} +1 -1
- package/dist/{executor-nx2Q8Xdy.d.ts → executor-h098g0vY.d.ts} +2 -2
- package/dist/expo/index.d.ts +2 -2
- package/dist/expo/index.js +3 -3
- package/dist/{extract-W4zb3wIh.d.ts → extract-DZznUgzb.d.ts} +3 -3
- package/dist/{extras-ByEPERCR.d.ts → extras-Cb1ZUvNK.d.ts} +1 -1
- package/dist/{field-errors-pj0uOXSg.d.ts → field-errors-DSEpFDCa.d.ts} +6 -6
- package/dist/{former-permission-keys-D8FbWktT.js → former-permission-keys-FPrqQHXf.js} +1 -1
- package/dist/{framework-pfJvMQy3.js → framework-BQgHM3zD.js} +1 -1
- package/dist/{framework-BYx1ke3r.d.ts → framework-CEMVz7JS.d.ts} +3 -3
- package/dist/{gateway-eFh5pEIu.d.ts → gateway-oivw0R3W.d.ts} +3 -3
- package/dist/generators/factories/index.d.ts +1 -1
- package/dist/generators/factories/index.js +1 -1
- package/dist/generators/index.d.ts +2 -2
- package/dist/generators/json-schema/index.d.ts +2 -2
- package/dist/generators/json-schema/index.js +1 -1
- package/dist/generators/nuqs/index.d.ts +1 -1
- package/dist/generators/nuqs/index.js +1 -1
- package/dist/generators/standard-schema/index.d.ts +1 -1
- package/dist/generators/standard-schema/index.js +1 -1
- package/dist/generators/valibot/index.d.ts +1 -1
- package/dist/generators/valibot/index.js +1 -1
- package/dist/generators/zod/index.d.ts +1 -1
- package/dist/generators/zod/index.js +1 -1
- package/dist/hono/index.d.ts +4 -4
- package/dist/hono/index.js +3 -3
- package/dist/{index-Bu4YwWl0.d.ts → index-1aGCqU0F.d.ts} +1 -1
- package/dist/{index-SZ8qGIVO.d.ts → index-B2NJNoRd.d.ts} +9 -9
- package/dist/{index-IrsC8TLH.d.ts → index-BAccIXQt.d.ts} +2 -2
- package/dist/{index-BpQxfGSO.d.ts → index-BDq77p1R.d.ts} +2 -2
- package/dist/{index-DYh76mE_.d.ts → index-BEVvxkvW.d.ts} +2 -2
- package/dist/{index-C37Wq488.d.ts → index-BIOLHETk.d.ts} +1 -1
- package/dist/{index-DlUd0CTA.d.ts → index-BKD8Lkn9.d.ts} +7 -7
- package/dist/{index-CDX9U_CH.d.ts → index-BREewNqU.d.ts} +1 -1
- package/dist/{index-BZCCv04g.d.ts → index-BeJMACah.d.ts} +2 -2
- package/dist/{index-DW_S9n3h.d.ts → index-BiX0gNGQ.d.ts} +2 -2
- package/dist/{index-Crm9IjfQ.d.ts → index-Bt5jJrzR.d.ts} +1 -1
- package/dist/{index-BVuN7_fC.d.ts → index-Bx9qRuof.d.ts} +1 -1
- package/dist/{index-DsNwQRWG.d.ts → index-C-h2MrvD.d.ts} +1 -1
- package/dist/{index-DCqy0ESb.d.ts → index-C8H6hpAP.d.ts} +2 -2
- package/dist/{index-BfnBjZpy.d.ts → index-CaE6XZnq.d.ts} +3 -3
- package/dist/{index-CQGi7Jnn.d.ts → index-CbKxPo6t.d.ts} +2 -2
- package/dist/{index-CxX_Bgfa.d.ts → index-CjmtqiRE.d.ts} +1 -1
- package/dist/{index-CWTWbIz_.d.ts → index-CmHvVWGd.d.ts} +1 -1
- package/dist/{index-SWDnWdWw.d.ts → index-CygaT0GH.d.ts} +1 -1
- package/dist/{index-D_0l5hHh.d.ts → index-D-LxyjmH.d.ts} +3 -3
- package/dist/{index-DpoUltRu.d.ts → index-D9fhYtnp.d.ts} +2 -2
- package/dist/{index-WoE9Z_V-.d.ts → index-DAYCCmVC.d.ts} +1 -1
- package/dist/{index-DyV6z0Q_.d.ts → index-DEHVn5Ma.d.ts} +2 -2
- package/dist/{index-ByCXNZ2j.d.ts → index-DIwhnfIi.d.ts} +2 -2
- package/dist/{index-Bb_il0ub.d.ts → index-DUDYFfnG.d.ts} +2 -2
- package/dist/{index-CriIH7di.d.ts → index-DVmqH-jI.d.ts} +4 -4
- package/dist/{index-BomyYKtC.d.ts → index-Dga-eftL.d.ts} +5 -5
- package/dist/{index-CjoB5SrD.d.ts → index-DitpSLYH.d.ts} +3 -3
- package/dist/{index-BYDpdZxq.d.ts → index-Dsb6-otF.d.ts} +1 -1
- package/dist/{index-BLPzvJ5v.d.ts → index-DtGyj0RU.d.ts} +4 -4
- package/dist/{index-r_SO6mVm.d.ts → index-RGXgZmyg.d.ts} +3 -3
- package/dist/{index-46tesKqa.d.ts → index-S6WKucTU.d.ts} +1 -1
- package/dist/{index-ClqA-t45.d.ts → index-TkkZfmGg.d.ts} +1 -1
- package/dist/{index-CxZV8RJE.d.ts → index-_IFPpPG9.d.ts} +1 -1
- package/dist/{index-Dea13gIz.d.ts → index-bFOgwrCN.d.ts} +4 -4
- package/dist/{index-Dyhkn8FU.d.ts → index-jJ7Q-AYO.d.ts} +2 -2
- package/dist/{index-DeI4h1N1.d.ts → index-vOUlkC2o.d.ts} +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/{instances-07Lopbd1.js → instances-PZAWgQEX.js} +2 -1
- package/dist/{json-schema-CChz-Csz.js → json-schema-CNrq6b9q.js} +1 -1
- package/dist/{knowledge-C7RZqwQu.d.ts → knowledge-CSWQouuC.d.ts} +1 -1
- package/dist/list/export/index.d.ts +1 -1
- package/dist/list/index.d.ts +1 -1
- package/dist/list/order/index.d.ts +2 -2
- package/dist/{list-query-B6lXbY0T.d.ts → list-query-0IoIyFnQ.d.ts} +1 -1
- package/dist/{manifest-NuYSYeQT.d.ts → manifest-4K_pRDrE.d.ts} +1 -1
- package/dist/{manifest-CWFhOuFW.d.ts → manifest-4ZM88myP.d.ts} +1 -1
- package/dist/{manifest-CtL5JmoY.d.ts → manifest-4zuq-I0U.d.ts} +1 -1
- package/dist/{manifest-wXk0ZLhO.d.ts → manifest-B-5cqXlx.d.ts} +1 -1
- package/dist/{manifest-cJ3rQXtl.d.ts → manifest-B11QNHpO.d.ts} +4 -4
- package/dist/{manifest-Cl2U3bic.d.ts → manifest-B1R3o592.d.ts} +1 -1
- package/dist/{manifest-DsINyvTh.d.ts → manifest-B1bfLbzz.d.ts} +1 -1
- package/dist/{manifest-xlpYSpLJ.d.ts → manifest-B5y82qsH.d.ts} +2 -2
- package/dist/{manifest-DoZXpoG_.d.ts → manifest-B9FkI5Za.d.ts} +1 -1
- package/dist/{manifest-Bj8bumDU.d.ts → manifest-BBQmMfq7.d.ts} +1 -1
- package/dist/{manifest-CYO44YUb.d.ts → manifest-BFc_Zpzf.d.ts} +1 -1
- package/dist/{manifest-DftU8SXo.d.ts → manifest-BGBYLCP-.d.ts} +1 -1
- package/dist/{manifest-BEQWkGmf.d.ts → manifest-BLVRM4WX.d.ts} +1 -1
- package/dist/{manifest-eaGk_4rq.d.ts → manifest-BLkOEccx.d.ts} +1 -1
- package/dist/{manifest-_zu02ImE.d.ts → manifest-BND77-ps.d.ts} +2 -2
- package/dist/{manifest-FVkgBS-K.d.ts → manifest-BQYkGxek.d.ts} +1 -1
- package/dist/{manifest-Dp9ZtoFo.d.ts → manifest-BTZI-Jq1.d.ts} +2 -2
- package/dist/{manifest-NkuGL5p2.d.ts → manifest-BYHJvkqX.d.ts} +1 -1
- package/dist/{manifest-B0pan6cS.d.ts → manifest-B__S-85Q.d.ts} +1 -1
- package/dist/{manifest-YtnGn7F9.d.ts → manifest-Bgc-jWOV.d.ts} +1 -1
- package/dist/{manifest-DUPKC2rO.d.ts → manifest-BsuYq-pZ.d.ts} +1 -1
- package/dist/{manifest-BRvnB8C0.d.ts → manifest-ByfZrxkk.d.ts} +1 -1
- package/dist/{manifest-DfC1XBrV.d.ts → manifest-C0-rnYge.d.ts} +1 -1
- package/dist/{manifest-tP62uJrR.d.ts → manifest-C02JeWGr.d.ts} +1 -1
- package/dist/{manifest-Cv7Mji7w.d.ts → manifest-C3-OpYr0.d.ts} +1 -1
- package/dist/{manifest-BZPruG-S.d.ts → manifest-C3qUn0ka.d.ts} +1 -1
- package/dist/{manifest-Dim5U8TQ.d.ts → manifest-C46GM61W.d.ts} +1 -1
- package/dist/{manifest-DOtSiMt5.d.ts → manifest-C9Cs9rtL.d.ts} +1 -1
- package/dist/{manifest-CS8I2fku.d.ts → manifest-CE4rGv9r.d.ts} +1 -1
- package/dist/{manifest-BaIG9QRj.d.ts → manifest-CGnYiIs8.d.ts} +1 -1
- package/dist/{manifest-N5wuAzq4.d.ts → manifest-CKbJBLaW.d.ts} +3 -3
- package/dist/{manifest-x_fSttX7.d.ts → manifest-CQ1Xpja6.d.ts} +1 -1
- package/dist/{manifest-BKiaRgiZ.d.ts → manifest-CRe-o25G.d.ts} +2 -2
- package/dist/{manifest-ubm80xCr.d.ts → manifest-Ca6Rm4u6.d.ts} +1 -1
- package/dist/{manifest-TG95ksdH.d.ts → manifest-Cf8__tMA.d.ts} +17 -4
- package/dist/{manifest-Dg2BCyzg.d.ts → manifest-CrO5Gwed.d.ts} +1 -1
- package/dist/{manifest-CumC7hH5.d.ts → manifest-CzErrA0R.d.ts} +1 -1
- package/dist/{manifest-CiF1Sb29.d.ts → manifest-D-IfkyQg.d.ts} +1 -1
- package/dist/{manifest-D48Fi0bR.d.ts → manifest-DCIvxvg9.d.ts} +1 -1
- package/dist/{manifest-CnVa_nHw.d.ts → manifest-DEf81vUp.d.ts} +1 -1
- package/dist/{manifest-CMn61uKN.d.ts → manifest-DF6MWZld.d.ts} +1 -1
- package/dist/{manifest-Ccc0ZZup.d.ts → manifest-DFRP7LFo.d.ts} +1 -1
- package/dist/{manifest-BpgNJhYN.d.ts → manifest-DH1wX47F.d.ts} +1 -1
- package/dist/{manifest-2sJavyD8.d.ts → manifest-DIsc4u7U.d.ts} +1 -1
- package/dist/{manifest-BBcaI1P8.js → manifest-DVuGZaJS.js} +20 -6
- package/dist/{manifest-4S1YGIS3.d.ts → manifest-DWS1Hszm.d.ts} +1 -1
- package/dist/{manifest-BzXqieUD.d.ts → manifest-DYMvHTJ4.d.ts} +1 -1
- package/dist/{manifest-dOFbx7Iv.d.ts → manifest-D_RJDjHz.d.ts} +2 -2
- package/dist/{manifest-CF3BUmbe.d.ts → manifest-D_u0Uhd9.d.ts} +1 -1
- package/dist/{manifest-Bf6Rzatq.d.ts → manifest-DgVrJNgv.d.ts} +1 -1
- package/dist/{manifest-C95ET4CL.d.ts → manifest-DiJKbgrM.d.ts} +1 -1
- package/dist/{manifest-5i2UwyQr.d.ts → manifest-DpW-TJwu.d.ts} +1 -1
- package/dist/{manifest-BxvFH1G_.d.ts → manifest-DySuHx51.d.ts} +2 -2
- package/dist/{manifest-C2hpeEBF.d.ts → manifest-IWiafJCj.d.ts} +1 -1
- package/dist/{manifest-DwBFwxFo.d.ts → manifest-MIOw1h6u.d.ts} +1 -1
- package/dist/{manifest-Bfu-Cu0f.d.ts → manifest-Qa7Oz8op.d.ts} +3 -3
- package/dist/{manifest-DiXINLQQ.d.ts → manifest-YV2wB81I.d.ts} +1 -1
- package/dist/{manifest-CzDKrwRf.js → manifest-_xHwNjlQ.js} +13 -9
- package/dist/{manifest-DucB6ix_.d.ts → manifest-iwcDpOkG.d.ts} +1 -1
- package/dist/{manifest-CA5EhKZ9.d.ts → manifest-nsV6ZrZ7.d.ts} +1 -1
- package/dist/{manifest-DZyxhWcb.d.ts → manifest-rB3i09ej.d.ts} +1 -1
- package/dist/{manifest-BMilYLsh.d.ts → manifest-rk3V9E0p.d.ts} +1 -1
- package/dist/{manifest-CXdJUJjX.d.ts → manifest-uAf9hw_t.d.ts} +1 -1
- package/dist/{manifest-DpFy7git.d.ts → manifest-z_JoPdSA.d.ts} +2 -2
- package/dist/mapper/bin.js +6 -6
- package/dist/mcp/index.d.ts +2 -2
- package/dist/mcp/index.js +1 -1
- package/dist/mcp/sdk/index.d.ts +2 -2
- package/dist/mcp/sdk/index.js +1 -1
- package/dist/{mcp-B4bvacl4.js → mcp-CQi0RwZj.js} +3 -3
- package/dist/next/index.d.ts +12 -12
- package/dist/next/index.js +2 -2
- package/dist/next/proxy/index.d.ts +3 -3
- package/dist/{operations-D4zxY2TL.d.ts → operations-C4vxakMi.d.ts} +1 -1
- package/dist/{orders-BCR5H9Tz.d.ts → orders-DtiIfGI_.d.ts} +1 -1
- package/dist/orpc/index.d.ts +4 -4
- package/dist/orpc/index.js +2 -2
- package/dist/otel/index.js +5 -5
- package/dist/{permissions-BkUcXwtV.d.ts → permissions-CP5Cwz8h.d.ts} +1 -1
- package/dist/{ports-DD-pDkHu.d.ts → ports-B1QMhbn5.d.ts} +1 -1
- package/dist/{ports-BBowiGiD.js → ports-ClJbgoyt.js} +1 -1
- package/dist/powersync/index.d.ts +4 -4
- package/dist/powersync/index.js +1 -1
- package/dist/preset/index.d.ts +4 -4
- package/dist/preset/index.js +3 -3
- package/dist/{preset-ZZ4H2s92.js → preset-BcwGsW_B.js} +2 -2
- package/dist/{preview-GUvVjUxf.d.ts → preview-ByZwgNq9.d.ts} +3 -3
- package/dist/{project-wJ3jYipI.js → project-DYyr_iyu.js} +5 -5
- package/dist/{push-token-C8MoiM7E.d.ts → push-token-BAcQAeb8.d.ts} +1 -1
- package/dist/query/index.d.ts +1 -1
- package/dist/rate-limit/index.d.ts +1 -1
- package/dist/{rate-limit-Ddv4xmsH.d.ts → rate-limit-TxSt-_59.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 +6 -6
- package/dist/react-router/index.d.ts +3 -3
- package/dist/react-router/index.js +3 -3
- package/dist/realtime/index.d.ts +3 -3
- package/dist/{record-form-CbFN-AdD.d.ts → record-form-53Hzv9d9.d.ts} +1 -1
- package/dist/records/index.d.ts +7 -7
- package/dist/{resource-execute-BQx_Pmeu.d.ts → resource-execute-H-XO83hu.d.ts} +1 -1
- package/dist/{resource-types-lBguZ_8J.d.ts → resource-types-D4IZrOCo.d.ts} +1 -1
- package/dist/{resources-CWfoS1er.d.ts → resources-B5k-hJW_.d.ts} +1 -1
- package/dist/{sandboxes-BjvFi1Wh.d.ts → sandboxes-BJy3k0km.d.ts} +1 -1
- package/dist/server/account/index.d.ts +2 -2
- package/dist/server/accounts/index.d.ts +1 -1
- package/dist/server/index.d.ts +13 -13
- package/dist/server/index.js +4 -4
- package/dist/{server-af58-Q51.js → server-B0T944J9.js} +1 -1
- package/dist/{server-types-By5oBsDZ.d.ts → server-types-Bax89ShV.d.ts} +2 -2
- package/dist/{session-D5IrTUwv.d.ts → session-DitGLCxF.d.ts} +1 -1
- package/dist/{sign-in-TNX4Pj9E.d.ts → sign-in-DbXRH5zh.d.ts} +10 -10
- package/dist/{signers-DB0S8YhO.d.ts → signers-FVeDbZxq.d.ts} +5 -1
- package/dist/solid/index.d.ts +6 -6
- package/dist/solid-start/index.d.ts +3 -3
- package/dist/solid-start/index.js +3 -3
- package/dist/spec/index.d.ts +1 -1
- package/dist/spec/index.js +2 -2
- package/dist/sql/index.d.ts +6 -6
- package/dist/sql/index.js +2 -2
- package/dist/{sql-CP1j2jfo.js → sql-DPpcMNUF.js} +387 -136
- package/dist/sqlite/index.d.ts +1 -1
- package/dist/sqlite/index.js +1 -1
- package/dist/ssr/index.d.ts +1 -1
- package/dist/svelte/index.d.ts +6 -6
- package/dist/sveltekit/index.d.ts +4 -4
- package/dist/sveltekit/index.js +3 -3
- package/dist/{tags-Csj8VfA7.d.ts → tags-C3z-ntLF.d.ts} +1 -1
- package/dist/tanstack-db/index.d.ts +1 -1
- package/dist/tanstack-start/index.d.ts +3 -3
- package/dist/tanstack-start/index.js +3 -3
- package/dist/{tenant-CVRFoaDM.d.ts → tenant-tAtS31r8.d.ts} +1 -1
- package/dist/testing/index.d.ts +12 -12
- package/dist/testing/index.js +3 -3
- package/dist/{timeline-T1qkzVdR.d.ts → timeline-BoKhn-Ei.d.ts} +3 -3
- package/dist/{topic-DytYYyP3.d.ts → topic-BdTuoZRL.d.ts} +2 -2
- package/dist/{types-Cikitezb.d.ts → types-BderwMCG.d.ts} +1 -1
- package/dist/{types-Cge5o3f5.d.ts → types-D4wgpab9.d.ts} +2 -2
- package/dist/{types-CID74uQG.d.ts → types-DerSPnBG.d.ts} +3 -1
- package/dist/{usage-CrTrlxoi.d.ts → usage-BMaJFesv.d.ts} +1 -1
- package/dist/vercel-sandbox/index.d.ts +1 -1
- package/dist/{verify-dg8Q3iRY.d.ts → verify-B4daVDDR.d.ts} +1 -1
- package/dist/{version-BFYCXhul.js → version-CTxJCxwz.js} +1 -1
- package/dist/vue/index.d.ts +6 -6
- package/dist/{watch-topic-DT31uYqF.d.ts → watch-topic-BjkFSiGe.d.ts} +1 -1
- package/dist/webmcp/index.d.ts +1 -1
- package/dist/webmcp/index.js +1 -1
- package/dist/yjs/index.d.ts +1 -1
- package/package.json +1 -1
- package/schemas/config-v1.json +40 -2
- package/dist/cli/add-BXNrz9sN.js +0 -1
- package/dist/cli/powersync-BLXxgdbk.js +0 -1
- package/dist/cli/seed-B6_MBFd2.js +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as BlockOf } from "./define-block-
|
|
1
|
+
import { c as BlockOf } from "./define-block-DpnCxELV.js";
|
|
2
2
|
import { Et as Events, et as SaasEventData } from "./events-zz8DwtZi.js";
|
|
3
3
|
import { n as ExtraFields, r as FieldsOf } from "./block-fields-go27qquz.js";
|
|
4
4
|
import { n as BlockHooks } from "./block-hooks-b7-RUIxS.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference lib="esnext.temporal" />
|
|
2
|
-
import { E as RecordBinding, G as EntitySchema, L as RecordRowInput, M as RecordBindingWrite, c as BlockOf } from "./define-block-
|
|
2
|
+
import { E as RecordBinding, G as EntitySchema, L as RecordRowInput, M as RecordBindingWrite, c as BlockOf } from "./define-block-DpnCxELV.js";
|
|
3
3
|
import { Et as Events } from "./events-zz8DwtZi.js";
|
|
4
4
|
import { n as BlockHooks } from "./block-hooks-b7-RUIxS.js";
|
|
5
5
|
import { c as BlockTenantOptions, r as BlockTemporalOptions } from "./block-helpers-DDotKGAf.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as BlockOf } from "./define-block-
|
|
1
|
+
import { c as BlockOf } from "./define-block-DpnCxELV.js";
|
|
2
2
|
import { Et as Events } from "./events-zz8DwtZi.js";
|
|
3
3
|
import { C as createObservations } from "./observations-8pt9Lflf.js";
|
|
4
4
|
/** `observation_definition.created` and `.updated`: a definition was saved. */
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference lib="esnext.temporal" />
|
|
2
|
-
import { c as BlockOf, in as RankNeighbors } from "./define-block-
|
|
2
|
+
import { c as BlockOf, in as RankNeighbors } from "./define-block-DpnCxELV.js";
|
|
3
3
|
import { A as CommerceEventData, Et as Events } from "./events-zz8DwtZi.js";
|
|
4
4
|
import { n as Money } from "./money-BgpAd7d3.js";
|
|
5
5
|
import { r as FieldsOf } from "./block-fields-go27qquz.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference lib="esnext.temporal" />
|
|
2
|
-
import { c as BlockOf } from "./define-block-
|
|
2
|
+
import { c as BlockOf } from "./define-block-DpnCxELV.js";
|
|
3
3
|
import { m as ForecastSnapshotEventData } from "./block-events-records-CUCsDp0S.js";
|
|
4
4
|
import { Et as Events } from "./events-zz8DwtZi.js";
|
|
5
5
|
import { n as Money } from "./money-BgpAd7d3.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference lib="esnext.temporal" />
|
|
2
|
-
import { c as BlockOf } from "./define-block-
|
|
2
|
+
import { c as BlockOf } from "./define-block-DpnCxELV.js";
|
|
3
3
|
import { p as EnrichmentEventData } from "./block-events-records-CUCsDp0S.js";
|
|
4
4
|
import { Et as Events } from "./events-zz8DwtZi.js";
|
|
5
5
|
import { n as BlockHooks } from "./block-hooks-b7-RUIxS.js";
|
|
@@ -96,6 +96,21 @@ function filtersOf(filters) {
|
|
|
96
96
|
search: filters.search ?? null
|
|
97
97
|
};
|
|
98
98
|
}
|
|
99
|
+
function pageFiltersOf(filters) {
|
|
100
|
+
return {
|
|
101
|
+
...filters.totalCap === void 0 ? {} : { total_cap: filters.totalCap },
|
|
102
|
+
exclude_types: filters.excludeTypes ?? null,
|
|
103
|
+
subject_ids: filters.subjectIds ?? null,
|
|
104
|
+
any_of: filters.anyOf?.map((group) => ({
|
|
105
|
+
...group.types === void 0 ? {} : { types: group.types },
|
|
106
|
+
...group.excludeTypes === void 0 ? {} : { exclude_types: group.excludeTypes },
|
|
107
|
+
...group.subjectTypes === void 0 ? {} : { subject_types: group.subjectTypes },
|
|
108
|
+
...group.read === void 0 ? {} : { read: group.read },
|
|
109
|
+
...group.resolved === void 0 ? {} : { resolved: group.resolved }
|
|
110
|
+
})) ?? null,
|
|
111
|
+
order_by: filters.order ?? "newest"
|
|
112
|
+
};
|
|
113
|
+
}
|
|
99
114
|
const LEVELS = [
|
|
100
115
|
"participating",
|
|
101
116
|
"all",
|
|
@@ -749,17 +764,16 @@ function createNotifications(options) {
|
|
|
749
764
|
...cursorOf(pageOf(pageOptions).cursor),
|
|
750
765
|
max_items: pageOptions.limit ?? 50,
|
|
751
766
|
skip: pageOptions.offset ?? 0,
|
|
752
|
-
...pageOptions
|
|
767
|
+
...pageFiltersOf(pageOptions)
|
|
753
768
|
}, (value) => ({
|
|
754
769
|
items: itemsOf(isRecord(value) ? value["items"] : []),
|
|
755
770
|
total: Number(isRecord(value) ? value["total"] ?? 0 : 0),
|
|
756
771
|
totalCapped: isRecord(value) && value["totalCapped"] === true,
|
|
757
|
-
hasMore: isRecord(value) && value["hasMore"] === true
|
|
758
|
-
|
|
772
|
+
hasMore: isRecord(value) && value["hasMore"] === true,
|
|
773
|
+
limit: Number(isRecord(value) ? value["limit"] ?? 0 : 0)
|
|
774
|
+
})).andThen(({ items: found, ...counts }) => decorate(found, pageOptions).map((items) => ({
|
|
759
775
|
items,
|
|
760
|
-
|
|
761
|
-
totalCapped: found.totalCapped,
|
|
762
|
-
hasMore: found.hasMore
|
|
776
|
+
...counts
|
|
763
777
|
})));
|
|
764
778
|
},
|
|
765
779
|
counts(countOptions = {}) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference lib="esnext.temporal" />
|
|
2
|
-
import { E as RecordBinding, G as EntitySchema, M as RecordBindingWrite, c as BlockOf } from "./define-block-
|
|
2
|
+
import { E as RecordBinding, G as EntitySchema, M as RecordBindingWrite, c as BlockOf } from "./define-block-DpnCxELV.js";
|
|
3
3
|
import { O as SlaEventData } from "./block-events-records-CUCsDp0S.js";
|
|
4
4
|
import { Et as Events } from "./events-zz8DwtZi.js";
|
|
5
5
|
import { n as ExtraFields, r as FieldsOf } from "./block-fields-go27qquz.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference lib="esnext.temporal" />
|
|
2
|
-
import { c as BlockOf } from "./define-block-
|
|
2
|
+
import { c as BlockOf } from "./define-block-DpnCxELV.js";
|
|
3
3
|
import { D as BlockEventType, Et as Events, S as BillingEventData, o as EventHub } from "./events-zz8DwtZi.js";
|
|
4
4
|
import { n as BlockHooks } from "./block-hooks-b7-RUIxS.js";
|
|
5
5
|
import { t as BlockTransport } from "./block-transport-Bqne7_GN.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { c as BlockOf } from "./define-block-
|
|
2
|
-
import { y as createKnowledge } from "./knowledge-
|
|
1
|
+
import { c as BlockOf } from "./define-block-DpnCxELV.js";
|
|
2
|
+
import { y as createKnowledge } from "./knowledge-CSWQouuC.js";
|
|
3
3
|
/** The `knowledge` block's manifest (ADR 0029). */
|
|
4
4
|
declare const knowledgeBlock: BlockOf<"knowledge", typeof createKnowledge, Record<never, never>, {
|
|
5
5
|
readonly files: "optional";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference lib="esnext.temporal" />
|
|
2
|
-
import { c as BlockOf } from "./define-block-
|
|
2
|
+
import { c as BlockOf } from "./define-block-DpnCxELV.js";
|
|
3
3
|
import { Et as Events } from "./events-zz8DwtZi.js";
|
|
4
4
|
import { n as Money } from "./money-BgpAd7d3.js";
|
|
5
5
|
import { a as ListPage, n as BlockOptions } from "./block-helpers-DDotKGAf.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference lib="esnext.temporal" />
|
|
2
|
-
import { c as BlockOf } from "./define-block-
|
|
2
|
+
import { c as BlockOf } from "./define-block-DpnCxELV.js";
|
|
3
3
|
import { Et as Events } from "./events-zz8DwtZi.js";
|
|
4
4
|
import { a as ListPage, n as BlockOptions } from "./block-helpers-DDotKGAf.js";
|
|
5
5
|
import { n as BlockHooks } from "./block-hooks-b7-RUIxS.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference lib="esnext.temporal" />
|
|
2
|
-
import { E as RecordBinding, c as BlockOf } from "./define-block-
|
|
2
|
+
import { E as RecordBinding, c as BlockOf } from "./define-block-DpnCxELV.js";
|
|
3
3
|
import { Et as Events, at as SignatureEventData } from "./events-zz8DwtZi.js";
|
|
4
4
|
import { n as ExtraFields, r as FieldsOf } from "./block-fields-go27qquz.js";
|
|
5
5
|
import { n as BlockHooks } from "./block-hooks-b7-RUIxS.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference lib="esnext.temporal" />
|
|
2
|
-
import { c as BlockOf } from "./define-block-
|
|
2
|
+
import { c as BlockOf } from "./define-block-DpnCxELV.js";
|
|
3
3
|
import { Et as Events } from "./events-zz8DwtZi.js";
|
|
4
4
|
import { n as ExtraFields, r as FieldsOf } from "./block-fields-go27qquz.js";
|
|
5
5
|
import { n as BlockHooks } from "./block-hooks-b7-RUIxS.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { E as RecordBinding, M as RecordBindingWrite, c as BlockOf } from "./define-block-
|
|
1
|
+
import { E as RecordBinding, M as RecordBindingWrite, c as BlockOf } from "./define-block-DpnCxELV.js";
|
|
2
2
|
import { Et as Events, L as DriveEventData } from "./events-zz8DwtZi.js";
|
|
3
|
-
import { O as createDrive, S as DriveRevision, h as DriveNode, t as Drive } from "./drive-
|
|
3
|
+
import { O as createDrive, S as DriveRevision, h as DriveNode, t as Drive } from "./drive-_xuMA2xw.js";
|
|
4
4
|
/** The events of the `drive` block: type to data. */
|
|
5
5
|
type DriveEvents = {
|
|
6
6
|
readonly "drive_node.created": DriveEventData;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as BlockOf } from "./define-block-
|
|
1
|
+
import { c as BlockOf } from "./define-block-DpnCxELV.js";
|
|
2
2
|
import { Et as Events } from "./events-zz8DwtZi.js";
|
|
3
3
|
import { T as createCarePlans } from "./care-plans-q3m4ph4G.js";
|
|
4
4
|
/** What every `care_plan.*` event carries. */
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as BlockOf } from "./define-block-
|
|
1
|
+
import { c as BlockOf } from "./define-block-DpnCxELV.js";
|
|
2
2
|
import { n as BlockHooks } from "./block-hooks-b7-RUIxS.js";
|
|
3
3
|
import { n as Logger } from "./logger-0LfhvwE4.js";
|
|
4
4
|
import { t as AsyncResult } from "./result-aun_QZHn.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/// <reference lib="esnext.temporal" />
|
|
2
|
-
import { c as BlockOf } from "./define-block-
|
|
3
|
-
import { c as createRateLimit } from "./rate-limit-
|
|
2
|
+
import { c as BlockOf } from "./define-block-DpnCxELV.js";
|
|
3
|
+
import { c as createRateLimit } from "./rate-limit-TxSt-_59.js";
|
|
4
4
|
import { n as BlockHooks } from "./block-hooks-b7-RUIxS.js";
|
|
5
5
|
import { t as BlockTransport } from "./block-transport-Bqne7_GN.js";
|
|
6
6
|
import { T as ErrorMapper, f as Result, t as AsyncResult } from "./result-aun_QZHn.js";
|
|
@@ -8,7 +8,7 @@ import { n as Logger } from "./logger-0LfhvwE4.js";
|
|
|
8
8
|
import { t as BlockProblemOptions } from "./problem-DfABfWnk.js";
|
|
9
9
|
import { n as SqlClient } from "./executor-7zo2arIZ.js";
|
|
10
10
|
import { n as BlockOptions, r as BlockTemporalOptions } from "./block-helpers-DDotKGAf.js";
|
|
11
|
-
import { C as QueueSchemas, L as QueueProvider, S as QueueOptions, _ as JobHandler, a as DrainResult, x as Queue, z as QueueRpcClient } from "./types-
|
|
11
|
+
import { C as QueueSchemas, L as QueueProvider, S as QueueOptions, _ as JobHandler, a as DrainResult, x as Queue, z as QueueRpcClient } from "./types-DerSPnBG.js";
|
|
12
12
|
import { n as ExtraFields, r as FieldsOf } from "./block-fields-go27qquz.js";
|
|
13
13
|
import { t as StandardSchemaV1 } from "./standard-Vmy7ALDX.js";
|
|
14
14
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference lib="esnext.temporal" />
|
|
2
|
-
import { c as BlockOf } from "./define-block-
|
|
2
|
+
import { c as BlockOf } from "./define-block-DpnCxELV.js";
|
|
3
3
|
import { Et as Events } from "./events-zz8DwtZi.js";
|
|
4
4
|
import { n as ExtraFields, r as FieldsOf } from "./block-fields-go27qquz.js";
|
|
5
5
|
import { n as BlockHooks } from "./block-hooks-b7-RUIxS.js";
|
|
@@ -84,6 +84,7 @@ const scheduleInfo = (row) => ({
|
|
|
84
84
|
lastRun: instantOrNull(row.last_run),
|
|
85
85
|
leasedUntil: instantOrNull(row.lock_expires_at),
|
|
86
86
|
createdAt: instantOrNull(row.created_at),
|
|
87
|
+
probe: row.probe ?? null,
|
|
87
88
|
...row.payload === void 0 ? {} : { payload: row.payload }
|
|
88
89
|
});
|
|
89
90
|
const statsOf = (row) => ({
|
|
@@ -196,15 +197,16 @@ function sqlQueueProvider(sql, now = nowInstant) {
|
|
|
196
197
|
const [row] = await sql.queryRaw(`select better_supabase.purge_job_archive(${["queue => $1", ...named.map(([name], index) => `${name} => $${String(index + 2)}`)].join(", ")}) as purged`, [queue, ...named.map(([, value]) => value)]);
|
|
197
198
|
return row?.purged ?? 0;
|
|
198
199
|
},
|
|
199
|
-
async schedule(name, cron, queue, payload, timeZone, nextRun, tenant) {
|
|
200
|
-
await sql.queryRaw("select better_supabase.schedule_job($1, $2, $3, $4, $5, $6, $7)", [
|
|
200
|
+
async schedule(name, cron, queue, payload, timeZone, nextRun, tenant, probe) {
|
|
201
|
+
await sql.queryRaw("select better_supabase.schedule_job($1, $2, $3, $4, $5, $6, $7, $8)", [
|
|
201
202
|
name,
|
|
202
203
|
cron,
|
|
203
204
|
queue,
|
|
204
205
|
JSON.stringify(payload ?? {}),
|
|
205
206
|
timeZone,
|
|
206
207
|
nextRun.toString(),
|
|
207
|
-
tenant ?? null
|
|
208
|
+
tenant ?? null,
|
|
209
|
+
probe ?? null
|
|
208
210
|
]);
|
|
209
211
|
},
|
|
210
212
|
async listSchedules(filter) {
|
|
@@ -293,7 +295,8 @@ const PARAMS = {
|
|
|
293
295
|
"payload",
|
|
294
296
|
"timezone",
|
|
295
297
|
"next_run",
|
|
296
|
-
"tenant"
|
|
298
|
+
"tenant",
|
|
299
|
+
"probe"
|
|
297
300
|
],
|
|
298
301
|
unschedule_job: ["job_name"],
|
|
299
302
|
list_schedules: ["name_prefix", "for_tenant"],
|
|
@@ -359,8 +362,8 @@ function transportQueueProvider(transport, options = {}) {
|
|
|
359
362
|
listDead: (queue, limit, before) => rows("list_dead_jobs", queue, limit, before ?? null),
|
|
360
363
|
retryDead: (queue, ids, limit) => count("retry_dead_jobs", queue, ids === void 0 ? null : [...ids], limit),
|
|
361
364
|
purge: (queue, args) => count("purge_job_archive", queue, args.olderThan, args.batch, args.deadOlderThan),
|
|
362
|
-
async schedule(name, cron, queue, payload, timeZone, nextRun, tenant) {
|
|
363
|
-
await call("schedule_job", name, cron, queue, payload ?? {}, timeZone, nextRun.toString(), tenant ?? null);
|
|
365
|
+
async schedule(name, cron, queue, payload, timeZone, nextRun, tenant, probe) {
|
|
366
|
+
await call("schedule_job", name, cron, queue, payload ?? {}, timeZone, nextRun.toString(), tenant ?? null, probe ?? null);
|
|
364
367
|
},
|
|
365
368
|
unschedule: (name) => bool("unschedule_job", name),
|
|
366
369
|
listSchedules: async (filter) => (await rows("list_schedules", filter.prefix ?? null, filter.tenant ?? null)).map(scheduleInfo),
|
|
@@ -896,11 +899,12 @@ function createQueue(options) {
|
|
|
896
899
|
queue,
|
|
897
900
|
payload: wrapped.data,
|
|
898
901
|
timeZone,
|
|
899
|
-
tenant: scheduleOptions.tenant ?? (scheduleOptions.context ? tenantFrom(scheduleOptions.context, tenantPathsFor(void 0)) : void 0) ?? tenantDefault
|
|
902
|
+
tenant: scheduleOptions.tenant ?? (scheduleOptions.context ? tenantFrom(scheduleOptions.context, tenantPathsFor(void 0)) : void 0) ?? tenantDefault,
|
|
903
|
+
probe: scheduleOptions.probe
|
|
900
904
|
});
|
|
901
905
|
};
|
|
902
|
-
const sameSchedule = (current, prepared) => current.payload !== void 0 && current.cron === prepared.cron && current.timeZone === prepared.timeZone && current.queue === prepared.queue && (current.tenant ?? void 0) === prepared.tenant && canonicalJson(current.payload) === canonicalJson(prepared.payload ?? {});
|
|
903
|
-
const write = (prepared) => transport.schedule(prepared.name, prepared.cron, prepared.queue, prepared.payload, prepared.timeZone, millis(nextCronRun(prepared.cron, prepared.timeZone, now())), prepared.tenant);
|
|
906
|
+
const sameSchedule = (current, prepared) => current.payload !== void 0 && current.cron === prepared.cron && current.timeZone === prepared.timeZone && current.queue === prepared.queue && (current.tenant ?? void 0) === prepared.tenant && (current.probe ?? void 0) === prepared.probe && canonicalJson(current.payload) === canonicalJson(prepared.payload ?? {});
|
|
907
|
+
const write = (prepared) => transport.schedule(prepared.name, prepared.cron, prepared.queue, prepared.payload, prepared.timeZone, millis(nextCronRun(prepared.cron, prepared.timeZone, now())), prepared.tenant, prepared.probe);
|
|
904
908
|
const purge = (purgeOptions = {}) => run(async () => {
|
|
905
909
|
if (!transport.purge) sqlOnly("purge");
|
|
906
910
|
const backendPurge = transport.purge.bind(transport);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as BlockOf } from "./define-block-
|
|
1
|
+
import { c as BlockOf } from "./define-block-DpnCxELV.js";
|
|
2
2
|
import { h as InvoiceEventData } from "./block-events-records-CUCsDp0S.js";
|
|
3
3
|
import { Et as Events } from "./events-zz8DwtZi.js";
|
|
4
4
|
import { g as createInvoices } from "./invoices-L6khZ9kt.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as BlockOf } from "./define-block-
|
|
1
|
+
import { c as BlockOf } from "./define-block-DpnCxELV.js";
|
|
2
2
|
import { Et as Events, k as CollaborationEventData } from "./events-zz8DwtZi.js";
|
|
3
3
|
import { b as createApprovals } from "./approvals-B1mzlyzk.js";
|
|
4
4
|
/**
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as BlockOf } from "./define-block-
|
|
1
|
+
import { c as BlockOf } from "./define-block-DpnCxELV.js";
|
|
2
2
|
import { Et as Events, it as SettingEventData } from "./events-zz8DwtZi.js";
|
|
3
3
|
import { l as createSettings } from "./settings-C_zEVfCy.js";
|
|
4
4
|
/** The events of the `settings` block: type to data. */
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as BlockOf } from "./define-block-
|
|
1
|
+
import { c as BlockOf } from "./define-block-DpnCxELV.js";
|
|
2
2
|
import { Et as Events, U as InboxEventData } from "./events-zz8DwtZi.js";
|
|
3
3
|
import { g as createInbox } from "./inbox-Cr4WDuhI.js";
|
|
4
4
|
/** The events of the `inbox` block: type to data. */
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference lib="esnext.temporal" />
|
|
2
|
-
import { c as BlockOf } from "./define-block-
|
|
2
|
+
import { c as BlockOf } from "./define-block-DpnCxELV.js";
|
|
3
3
|
import { Et as Events, P as DataExportEventData, X as OrganizationDeletionEventData, q as LegalHoldEventData } from "./events-zz8DwtZi.js";
|
|
4
4
|
import { n as BlockHooks } from "./block-hooks-b7-RUIxS.js";
|
|
5
5
|
import { t as BlockTransport } from "./block-transport-Bqne7_GN.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference lib="esnext.temporal" />
|
|
2
|
-
import { c as BlockOf, ft as Notifier } from "./define-block-
|
|
2
|
+
import { c as BlockOf, ft as Notifier } from "./define-block-DpnCxELV.js";
|
|
3
3
|
import { Et as Events, tt as SaasSubjectEventData } from "./events-zz8DwtZi.js";
|
|
4
4
|
import { i as RowFields, r as FieldsOf } from "./block-fields-go27qquz.js";
|
|
5
5
|
import { n as BlockHooks } from "./block-hooks-b7-RUIxS.js";
|
|
@@ -10,7 +10,7 @@ import { T as ErrorMapper, t as AsyncResult } from "./result-aun_QZHn.js";
|
|
|
10
10
|
import { n as Logger } from "./logger-0LfhvwE4.js";
|
|
11
11
|
import { t as StandardSchemaV1 } from "./standard-Vmy7ALDX.js";
|
|
12
12
|
import { et as RecordRef } from "./types-Dizn1liT.js";
|
|
13
|
-
import { _ as JobHandler, c as EnqueueOnceOptions, l as EnqueueOnceResult } from "./types-
|
|
13
|
+
import { _ as JobHandler, c as EnqueueOnceOptions, l as EnqueueOnceResult } from "./types-DerSPnBG.js";
|
|
14
14
|
import { t as ExpandInput } from "./recurrence-C8ZyBzKr.js";
|
|
15
15
|
/** The events of the `reminders` block: type to data. */
|
|
16
16
|
type RemindersEvents = {
|
package/dist/mapper/bin.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { d as loadSnapshot } from "../cli/sql-layout-
|
|
2
|
-
import { i as discoverConfig, s as loadConfig } from "../cli/config-
|
|
3
|
-
import { s as schemaStampPath } from "../cli/content-mapper-
|
|
1
|
+
import { d as loadSnapshot } from "../cli/sql-layout-DTEum7p9.js";
|
|
2
|
+
import { i as discoverConfig, s as loadConfig } from "../cli/config-By5EbpdJ.js";
|
|
3
|
+
import { s as schemaStampPath } from "../cli/content-mapper-Do10cbVT.js";
|
|
4
4
|
import { i as parseEnv, n as configEnvironment } from "../cli/env-CQ831uY0.js";
|
|
5
|
-
import { i as renderTypesModule, t as mapperFilePath } from "../cli/render-
|
|
6
|
-
import { i as lastTypesModule, o as typesModuleKey, s as writeAtomic } from "../cli/cache-
|
|
7
|
-
import { t as VERSION } from "../cli/version-
|
|
5
|
+
import { i as renderTypesModule, t as mapperFilePath } from "../cli/render-dx7vrczW.js";
|
|
6
|
+
import { i as lastTypesModule, o as typesModuleKey, s as writeAtomic } from "../cli/cache-CcAahoyu.js";
|
|
7
|
+
import { t as VERSION } from "../cli/version-B_O3ame2.js";
|
|
8
8
|
import { existsSync, realpathSync } from "node:fs";
|
|
9
9
|
import { basename, dirname, join, resolve } from "node:path";
|
|
10
10
|
import { readFile } from "node:fs/promises";
|
package/dist/mcp/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { r as GuardOptions } from "../respond-vxhdVf23.js";
|
|
2
|
-
import { l as ResourceRouteOptions } from "../resource-types-
|
|
3
|
-
import { _ as ToolResult, a as ToolDecision, c as ToolResourceOptions, d as defineTool, f as MCP_PROTOCOL_VERSION, g as ToolInfo, h as ToolAnnotations, i as ToolContext, l as ToolResources, m as ServerDescription, n as McpOptions, o as ToolDefinition, p as ProtocolServer, r as McpTool, s as ToolRef, t as BetterMcp, u as createMcp, v as answerLine, y as answerMessage } from "../index-
|
|
2
|
+
import { l as ResourceRouteOptions } from "../resource-types-D4IZrOCo.js";
|
|
3
|
+
import { _ as ToolResult, a as ToolDecision, c as ToolResourceOptions, d as defineTool, f as MCP_PROTOCOL_VERSION, g as ToolInfo, h as ToolAnnotations, i as ToolContext, l as ToolResources, m as ServerDescription, n as McpOptions, o as ToolDefinition, p as ProtocolServer, r as McpTool, s as ToolRef, t as BetterMcp, u as createMcp, v as answerLine, y as answerMessage } from "../index-bFOgwrCN.js";
|
|
4
4
|
export { type BetterMcp, type GuardOptions, MCP_PROTOCOL_VERSION, type McpOptions, type McpTool, type ProtocolServer, type ResourceRouteOptions, type ServerDescription, type ToolAnnotations, type ToolContext, type ToolDecision, type ToolDefinition, type ToolInfo, type ToolRef, type ToolResourceOptions, type ToolResources, type ToolResult, answerLine, answerMessage, createMcp, defineTool };
|
package/dist/mcp/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { r as MCP_PROTOCOL_VERSION, i as answerLine, a as answerMessage, t as createMcp, n as defineTool } from "../mcp-
|
|
1
|
+
export { r as MCP_PROTOCOL_VERSION, i as answerLine, a as answerMessage, t as createMcp, n as defineTool } from "../mcp-CQi0RwZj.js";
|
package/dist/mcp/sdk/index.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { r as AuthState } from "../../resolve-Pn7KvQ23.js";
|
|
2
|
-
import { s as BetterSupabase } from "../../db-blocks-
|
|
2
|
+
import { s as BetterSupabase } from "../../db-blocks-BQkHb77X.js";
|
|
3
3
|
import { O as AnyFunctions, k as AnyModels } from "../../types-Dizn1liT.js";
|
|
4
4
|
import { r as GuardOptions, t as AllowedCaller } from "../../respond-vxhdVf23.js";
|
|
5
|
-
import { r as BetterServer, s as ServerContext$1, u as ServerOptions } from "../../server-types-
|
|
5
|
+
import { r as BetterServer, s as ServerContext$1, u as ServerOptions } from "../../server-types-Bax89ShV.js";
|
|
6
6
|
import { i as SupabaseMcpScope, n as SupabaseMcpModule, r as SupabaseMcpPlatformModule, t as SupabaseMcpFeature } from "../../supabase-mcp-DY32eoax.js";
|
|
7
7
|
import { i as CredentialRef, r as CredentialProvider } from "../../provider-DSokOaUo.js";
|
|
8
8
|
import { AuthInfo, CallToolResult, Icon, InputRequiredResult, OAuthTokenVerifier, RegisteredTool, ScopeChallengeHandler, ServerContext, StandardSchemaWithJSON, ToolAnnotations } from "@modelcontextprotocol/server";
|
package/dist/mcp/sdk/index.js
CHANGED
|
@@ -2,7 +2,7 @@ import { i as delegationOf } from "../../actor-DraVJ7tB.js";
|
|
|
2
2
|
import { h as resolveToken, p as flushEvents } from "../../sessions-w6xril_l.js";
|
|
3
3
|
import { t as withExtra } from "../../extra-Dz9n5y1s.js";
|
|
4
4
|
import { i as guard } from "../../respond-DLvLJwwN.js";
|
|
5
|
-
import { n as extendServer, t as createServer } from "../../server-
|
|
5
|
+
import { n as extendServer, t as createServer } from "../../server-B0T944J9.js";
|
|
6
6
|
import { a as withCors, i as metadataPreflight, n as endpointPreflight, r as isMetadataRequest, t as discovery } from "../../http-BRUI3qim.js";
|
|
7
7
|
import { n as dbError } from "../../errors-DK1wGb9z.js";
|
|
8
8
|
import { o as problemResponse } from "../../problem-BwplIuhI.js";
|
|
@@ -3,13 +3,13 @@ import { n as jsonResponse, t as jsonReplacer } from "./json-O5vFw243.js";
|
|
|
3
3
|
import { a as methodNotAllowed, c as toProblem, o as problemResponse } from "./problem-BwplIuhI.js";
|
|
4
4
|
import { n as validate } from "./standard-DM4THQrL.js";
|
|
5
5
|
import { t as boundedTtlCache } from "./ttl-cache-C5S0L2wx.js";
|
|
6
|
-
import { n as toJsonSchema, r as toDraft07 } from "./json-schema-
|
|
7
|
-
import { t as adapterBase } from "./adapter-base-
|
|
6
|
+
import { n as toJsonSchema, r as toDraft07 } from "./json-schema-CNrq6b9q.js";
|
|
7
|
+
import { t as adapterBase } from "./adapter-base-DXF0tNJJ.js";
|
|
8
8
|
import { p as flushEvents } from "./sessions-w6xril_l.js";
|
|
9
9
|
import { t as withExtra } from "./extra-Dz9n5y1s.js";
|
|
10
10
|
import { t as defineResource } from "./resource-BxSmk1R1.js";
|
|
11
11
|
import { i as guard, s as settle } from "./respond-DLvLJwwN.js";
|
|
12
|
-
import { n as extendServer, t as createServer } from "./server-
|
|
12
|
+
import { n as extendServer, t as createServer } from "./server-B0T944J9.js";
|
|
13
13
|
import { r as pageSchema, t as pageInputSchema } from "./resource-schemas-Bq0g2RCQ.js";
|
|
14
14
|
import { a as withCors, i as metadataPreflight, n as endpointPreflight, r as isMetadataRequest, t as discovery } from "./http-BRUI3qim.js";
|
|
15
15
|
import { t as base64ToText } from "./base64-DgNIlSAS.js";
|
package/dist/next/index.d.ts
CHANGED
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
import { O as AnyFunctions, Ut as AnyAuthorizer, et as RecordRef, in as PermissionRef, k as AnyModels, rn as AuthzVersionCache } from "../types-Dizn1liT.js";
|
|
2
|
-
import { rn as DbStats, s as BetterSupabase, sn as CacheAdapter } from "../db-blocks-
|
|
3
|
-
import { $ as RecordView, A as RouteOptions, B as SupportStarted, C as RemoteCachedOptions, D as ResendParams, E as RequireOptions, F as SignInWithOAuthParams, G as NextResourcesOptions, H as VerifySessionOptions, I as SignInWithOtpParams, J as RecordLoadOptions, K as RecordListServer, L as SignOutParams, M as SessionHandle, N as SignInCredentials, O as ResetPasswordParams, P as SignInOptions, Q as RecordTimelineOptions, R as SignUpParams, S as RemoteCacheKey, T as RequireAalOptions, U as NextResourceHandler, V as VerifyOtpParams, W as NextResourceRoutes, X as RecordServerActions, Y as RecordServer, Z as RecordServerContext, _ as NextDebugOptions, a as BlockActionParams, b as PrivateCachedOptions, c as CacheShare, d as CachedOptions, et as recordListServer, f as CachedStage, g as NextCacheOptions, h as MfaVerification, i as BetterNext, j as ScopeOptions, k as RevalidateProfile, l as CachedContext, m as ExchangeCodeParams, n as ActionMapper, nt as REQUEST_ID_HEADER, o as BootstrapOptions, p as EmailRedirect, q as RecordListView, r as ActionOptions, s as CacheScope, t as postAuthPath, tt as DbBudget, u as CachedLife, v as NextOptions, w as RemoteOptions, x as ProxyOptions, y as NextRootParams, z as SignedIn } from "../sign-in-
|
|
2
|
+
import { rn as DbStats, s as BetterSupabase, sn as CacheAdapter } from "../db-blocks-BQkHb77X.js";
|
|
3
|
+
import { $ as RecordView, A as RouteOptions, B as SupportStarted, C as RemoteCachedOptions, D as ResendParams, E as RequireOptions, F as SignInWithOAuthParams, G as NextResourcesOptions, H as VerifySessionOptions, I as SignInWithOtpParams, J as RecordLoadOptions, K as RecordListServer, L as SignOutParams, M as SessionHandle, N as SignInCredentials, O as ResetPasswordParams, P as SignInOptions, Q as RecordTimelineOptions, R as SignUpParams, S as RemoteCacheKey, T as RequireAalOptions, U as NextResourceHandler, V as VerifyOtpParams, W as NextResourceRoutes, X as RecordServerActions, Y as RecordServer, Z as RecordServerContext, _ as NextDebugOptions, a as BlockActionParams, b as PrivateCachedOptions, c as CacheShare, d as CachedOptions, et as recordListServer, f as CachedStage, g as NextCacheOptions, h as MfaVerification, i as BetterNext, j as ScopeOptions, k as RevalidateProfile, l as CachedContext, m as ExchangeCodeParams, n as ActionMapper, nt as REQUEST_ID_HEADER, o as BootstrapOptions, p as EmailRedirect, q as RecordListView, r as ActionOptions, s as CacheScope, t as postAuthPath, tt as DbBudget, u as CachedLife, v as NextOptions, w as RemoteOptions, x as ProxyOptions, y as NextRootParams, z as SignedIn } from "../sign-in-DbXRH5zh.js";
|
|
4
4
|
import { t as GateUser } from "../user-qcaSmToA.js";
|
|
5
5
|
import { _ as authzVersionOf, b as sessionCacheKey, g as SessionSnapshot, r as AuthState, v as isSessionSnapshot, y as issuedAtOf } from "../resolve-Pn7KvQ23.js";
|
|
6
|
-
import { t as tenantOf } from "../tenant-
|
|
7
|
-
import { r as permissionsOf, t as PermissionsOfOptions } from "../permissions-
|
|
8
|
-
import { b as Bootstrap, v as Access } from "../server-types-
|
|
6
|
+
import { t as tenantOf } from "../tenant-tAtS31r8.js";
|
|
7
|
+
import { r as permissionsOf, t as PermissionsOfOptions } from "../permissions-CP5Cwz8h.js";
|
|
8
|
+
import { b as Bootstrap, v as Access } from "../server-types-Bax89ShV.js";
|
|
9
9
|
import { c as safeRedirectPath, n as EmailOtpType, o as SignOutScope, r as ExistingAccount, t as AuthorizeUrlParams } from "../sign-in-Dni-tX9B.js";
|
|
10
10
|
import { n as AmrEntry, t as Aal } from "../mfa-DzVJV8QL.js";
|
|
11
|
-
import { i as tagFor, t as TagOptions } from "../tags-
|
|
12
|
-
import { i as ResourceContext, l as ResourceRouteOptions, o as ResourceHooks, r as ResourceAction, t as ActionParams } from "../resource-types-
|
|
13
|
-
import { t as defineAction } from "../resource-execute-
|
|
14
|
-
import { t as ResourceMap } from "../resources-
|
|
11
|
+
import { i as tagFor, t as TagOptions } from "../tags-C3z-ntLF.js";
|
|
12
|
+
import { i as ResourceContext, l as ResourceRouteOptions, o as ResourceHooks, r as ResourceAction, t as ActionParams } from "../resource-types-D4IZrOCo.js";
|
|
13
|
+
import { t as defineAction } from "../resource-execute-H-XO83hu.js";
|
|
14
|
+
import { t as ResourceMap } from "../resources-B5k-hJW_.js";
|
|
15
15
|
import { a as AuthorizedContext, c as ResourceLoaderContext, i as AuthorizeOptions, r as ActionResult } from "../kit-BwlTgitb.js";
|
|
16
|
-
import { r as LiveCountSeed } from "../index-
|
|
16
|
+
import { r as LiveCountSeed } from "../index-DitpSLYH.js";
|
|
17
17
|
import { n as AuthKind, r as GuardOptions } from "../respond-vxhdVf23.js";
|
|
18
18
|
import { c as Impersonator, n as AuthSession, o as toSession } from "../view-DwTCw_jZ.js";
|
|
19
19
|
import { n as supportOf, t as SupportView } from "../support-view-CfyHFSq4.js";
|
|
20
20
|
import { a as SupportOptions, c as SupportStartRequest, l as supportSessions, o as SupportPolicy, s as SupportSessions, t as ActiveSupport } from "../support-8jVUURe-.js";
|
|
21
|
-
import { r as MembershipClaim } from "../entitlements-
|
|
22
|
-
import { n as sessionTag, t as sessionIdTag } from "../cache-tags-
|
|
21
|
+
import { r as MembershipClaim } from "../entitlements-Djh4bBdj.js";
|
|
22
|
+
import { n as sessionTag, t as sessionIdTag } from "../cache-tags-THgO4say.js";
|
|
23
23
|
import { t as Validated } from "../shared-DsBcvj6q.js";
|
|
24
24
|
import { AnyEntry, Contributions } from "@supabase/middleware";
|
|
25
25
|
import { NextRequest } from "next/server.js";
|
package/dist/next/index.js
CHANGED
|
@@ -11,11 +11,11 @@ import { n as validate } from "../standard-DM4THQrL.js";
|
|
|
11
11
|
import { t as EMPTY_STATS } from "../stats-D2TN2c3B.js";
|
|
12
12
|
import { r as tagFor, t as cacheTagsOf } from "../tags-CW-KvjdL.js";
|
|
13
13
|
import { t as ACCOUNT_PARTS } from "../account-parts-CsuHH0Zs.js";
|
|
14
|
-
import { t as adapterBase } from "../adapter-base-
|
|
14
|
+
import { t as adapterBase } from "../adapter-base-DXF0tNJJ.js";
|
|
15
15
|
import { t as tenantOf } from "../tenant-Duq0dWqX.js";
|
|
16
16
|
import { c as serverCore, f as bearerRequest, m as handle } from "../sessions-w6xril_l.js";
|
|
17
17
|
import { r as permissionsOf } from "../permissions-Dk3BH3dS.js";
|
|
18
|
-
import { c as bootstrapSchema, l as bootstrapWith, n as extendServer, s as accessOf, t as createServer, u as mapBootstrapMemo } from "../server-
|
|
18
|
+
import { c as bootstrapSchema, l as bootstrapWith, n as extendServer, s as accessOf, t as createServer, u as mapBootstrapMemo } from "../server-B0T944J9.js";
|
|
19
19
|
import { t as withExtra } from "../extra-Dz9n5y1s.js";
|
|
20
20
|
import { i as requireCaller, n as formDataObject, t as authorizeCaller } from "../kit-BgRTtW9w.js";
|
|
21
21
|
import { n as resourceRouter } from "../resources-CM9wwyfa.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { s as BetterSupabase } from "../../db-blocks-
|
|
1
|
+
import { s as BetterSupabase } from "../../db-blocks-BQkHb77X.js";
|
|
2
2
|
import { O as AnyFunctions, k as AnyModels } from "../../types-Dizn1liT.js";
|
|
3
|
-
import { t as postAuthPath, v as NextOptions, x as ProxyOptions } from "../../sign-in-
|
|
4
|
-
import { r as permissionsOf } from "../../permissions-
|
|
3
|
+
import { t as postAuthPath, v as NextOptions, x as ProxyOptions } from "../../sign-in-DbXRH5zh.js";
|
|
4
|
+
import { r as permissionsOf } from "../../permissions-CP5Cwz8h.js";
|
|
5
5
|
import { o as toSession } from "../../view-DwTCw_jZ.js";
|
|
6
6
|
import { NextRequest } from "next/server.js";
|
|
7
7
|
/** A response whose headers can be changed (`Response.redirect()`'s cannot). */
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { i as AuthorizationOperation } from "./authorization-
|
|
1
|
+
import { i as AuthorizationOperation } from "./authorization-k0Y3L701.js";
|
|
2
2
|
/** Operations by name, as `authorization.operations` or a module's own defaults. */
|
|
3
3
|
type OperationTable = Readonly<Record<string, AuthorizationOperation>>;
|
|
4
4
|
export { OperationTable as t };
|
|
@@ -8,7 +8,7 @@ import { n as BlockHooks } from "./block-hooks-b7-RUIxS.js";
|
|
|
8
8
|
import { n as Logger } from "./logger-0LfhvwE4.js";
|
|
9
9
|
import { r as WebhookInput } from "./signatures-Db_koMbq.js";
|
|
10
10
|
import { t as StandardSchemaV1 } from "./standard-Vmy7ALDX.js";
|
|
11
|
-
import { _ as JobHandler } from "./types-
|
|
11
|
+
import { _ as JobHandler } from "./types-DerSPnBG.js";
|
|
12
12
|
import { n as OrderVariants } from "./sales-variants-BoAmPvOd.js";
|
|
13
13
|
import { n as BlockOptions } from "./block-helpers-DDotKGAf.js";
|
|
14
14
|
import { S as ShippingOption, _ as PricedCart, h as OrderStatus, l as Order, p as OrderRefundStatus, r as CartLine, t as Address, v as QuantityLine } from "./codecs-B5fYSNuM.js";
|
package/dist/orpc/index.d.ts
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { r as AuthState } from "../resolve-Pn7KvQ23.js";
|
|
2
|
-
import { s as BetterSupabase } from "../db-blocks-
|
|
2
|
+
import { s as BetterSupabase } from "../db-blocks-BQkHb77X.js";
|
|
3
3
|
import { b as DbError, f as Result } from "../result-aun_QZHn.js";
|
|
4
4
|
import { i as ProblemDetails } from "../problem-DfABfWnk.js";
|
|
5
5
|
import { O as AnyFunctions, k as AnyModels } from "../types-Dizn1liT.js";
|
|
6
6
|
import { c as ResourceLoaderContext, i as AuthorizeOptions } from "../kit-BwlTgitb.js";
|
|
7
7
|
import { a as RateLimitVerdict, c as RouteRateLimitRule, i as RateLimitRouteOptions, l as SingleRateLimitOptions, n as MultiRateLimiter, o as RateLimiter, r as RateLimitAllVerdict, s as RouteRateLimitHit, t as MultiRateLimitOptions } from "../rate-limit-DoUeCpsi.js";
|
|
8
8
|
import { i as MiddlewareOptions, r as GuardOptions } from "../respond-vxhdVf23.js";
|
|
9
|
-
import { r as BetterServer, s as ServerContext, u as ServerOptions } from "../server-types-
|
|
10
|
-
import { t as Api } from "../api-
|
|
11
|
-
import { a as ResourceHandler } from "../resource-types-
|
|
9
|
+
import { r as BetterServer, s as ServerContext, u as ServerOptions } from "../server-types-Bax89ShV.js";
|
|
10
|
+
import { t as Api } from "../api-D4gZPhMd.js";
|
|
11
|
+
import { a as ResourceHandler } from "../resource-types-D4IZrOCo.js";
|
|
12
12
|
import { t as Validated } from "../shared-DsBcvj6q.js";
|
|
13
13
|
import { AnyEntry, Contributions } from "@supabase/middleware";
|
|
14
14
|
import { AnySchema, BuilderWithMiddlewares, DecoratedMiddleware, DecoratedProcedure, MetaPlugin, ORPCError, Schema } from "@orpc/server";
|
package/dist/orpc/index.js
CHANGED
|
@@ -2,14 +2,14 @@ import { i as toSession } from "../view-DpKWWhP2.js";
|
|
|
2
2
|
import { i as claimsOf } from "../claims-CX-ar1vt.js";
|
|
3
3
|
import { n as dbError, r as dbErrorOf } from "../errors-DK1wGb9z.js";
|
|
4
4
|
import { c as toProblem } from "../problem-BwplIuhI.js";
|
|
5
|
-
import { t as adapterBase } from "../adapter-base-
|
|
5
|
+
import { t as adapterBase } from "../adapter-base-DXF0tNJJ.js";
|
|
6
6
|
import { p as flushEvents } from "../sessions-w6xril_l.js";
|
|
7
7
|
import { t as authorizeCaller } from "../kit-BgRTtW9w.js";
|
|
8
8
|
import { t as rateLimitGate } from "../rate-limit-Wolzge1m.js";
|
|
9
9
|
import { t as tenantOf } from "../tenant-Duq0dWqX.js";
|
|
10
10
|
import { r as refreshFor } from "../request-kind-BMNdlQpz.js";
|
|
11
11
|
import { i as guard, s as settle, t as assertCookieRefresh } from "../respond-DLvLJwwN.js";
|
|
12
|
-
import { n as extendServer, t as createServer } from "../server-
|
|
12
|
+
import { n as extendServer, t as createServer } from "../server-B0T944J9.js";
|
|
13
13
|
import { t as callWithInput } from "../block-method-DIbWG4Mj.js";
|
|
14
14
|
import { r as checkPermission } from "../authorizer-DtUCjKBn.js";
|
|
15
15
|
import { n as isRecord } from "../guards-CsRa6v57.js";
|
package/dist/otel/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { r as blockEventAttributes } from "../block-events-uKWyOpAy.js";
|
|
2
2
|
import { r as definePlugin } from "../plugin-Ca2qBiFZ.js";
|
|
3
3
|
import { t as SPEC_PINS } from "../spec-pins-Dlz8OVqi.js";
|
|
4
|
-
import "../version-
|
|
4
|
+
import "../version-CTxJCxwz.js";
|
|
5
5
|
import { SpanKind, SpanStatusCode, context, metrics, propagation, trace } from "@opentelemetry/api";
|
|
6
6
|
// src/otel/index.ts
|
|
7
7
|
const INSTRUMENTATION_NAME = "better-supabase";
|
|
@@ -40,9 +40,9 @@ function systemOf(executor) {
|
|
|
40
40
|
* ```
|
|
41
41
|
*/
|
|
42
42
|
function otel(options = {}) {
|
|
43
|
-
const tracer = options.tracer ?? trace.getTracer("better-supabase", "0.
|
|
43
|
+
const tracer = options.tracer ?? trace.getTracer("better-supabase", "0.63.0");
|
|
44
44
|
let histogram;
|
|
45
|
-
if (options.metrics !== false) histogram = (options.meter ?? metrics.getMeter("better-supabase", "0.
|
|
45
|
+
if (options.metrics !== false) histogram = (options.meter ?? metrics.getMeter("better-supabase", "0.63.0")).createHistogram("db.client.operation.duration", {
|
|
46
46
|
unit: "s",
|
|
47
47
|
description: "Duration of database client operations.",
|
|
48
48
|
advice: { explicitBucketBoundaries: [
|
|
@@ -231,7 +231,7 @@ function otel(options = {}) {
|
|
|
231
231
|
* `betterSupabase.events`. Returns a function that stops listening.
|
|
232
232
|
*/
|
|
233
233
|
function traceAuth(betterSupabase, options = {}) {
|
|
234
|
-
const tracer = options.tracer ?? trace.getTracer("better-supabase", "0.
|
|
234
|
+
const tracer = options.tracer ?? trace.getTracer("better-supabase", "0.63.0");
|
|
235
235
|
const offAuth = betterSupabase.events.on("auth", (event) => {
|
|
236
236
|
const span = tracer.startSpan("auth.resolve", {
|
|
237
237
|
kind: SpanKind.INTERNAL,
|
|
@@ -270,7 +270,7 @@ function traceAuth(betterSupabase, options = {}) {
|
|
|
270
270
|
* `*.denied`) set an error status. Returns a function that stops listening.
|
|
271
271
|
*/
|
|
272
272
|
function traceBlockEvents(betterSupabase, options = {}) {
|
|
273
|
-
const tracer = options.tracer ?? trace.getTracer("better-supabase", "0.
|
|
273
|
+
const tracer = options.tracer ?? trace.getTracer("better-supabase", "0.63.0");
|
|
274
274
|
return betterSupabase.events.on("block", (event) => {
|
|
275
275
|
const attributes = {
|
|
276
276
|
...options.attributes,
|