better-supabase 0.62.0 → 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/{activities-BMQuBkrQ.d.ts → activities-DFL2uhTK.d.ts} +1 -1
- package/dist/{agents-NaSREeo_.d.ts → agents-Bceu5a4z.d.ts} +1 -1
- package/dist/{agents-CRTcqx6K.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-DdoefSrp.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-C5GmF1ZU.js → api-CKdssE3U.js} +1 -1
- package/dist/{app-tables-C0w_j1sJ.d.ts → app-tables-Br5Khxij.d.ts} +1 -1
- package/dist/{assistant-BQAjAXDe.d.ts → assistant-JXmSCGyW.d.ts} +2 -2
- package/dist/{authorization-DKxttkik.d.ts → authorization-k0Y3L701.d.ts} +1 -1
- package/dist/{bind-DiQyvXnj.d.ts → bind-CuRPlZYY.d.ts} +3 -3
- package/dist/{block-env-aG5V88tR.d.ts → block-env-hdFBj6FQ.d.ts} +4 -4
- package/dist/{block-tables-lpnW9xMs.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 +2 -2
- 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 +16 -16
- 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 +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 +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 +2 -2
- 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 +2 -2
- package/dist/blocks/workflow-editor/index.d.ts +4 -4
- package/dist/blocks/workflows/index.d.ts +4 -4
- package/dist/{blocks-BaVwMDrs.d.ts → blocks-C2F_SycJ.d.ts} +4 -4
- package/dist/{bookings-6dC83XE6.d.ts → bookings-DIQGDex_.d.ts} +1 -1
- package/dist/{build-C0BLapAI.js → build-Rr77NMoY.js} +1 -1
- package/dist/claims/index.d.ts +5 -5
- package/dist/{claims-source-yTqGqUDc.d.ts → claims-source-fUk4pR24.d.ts} +1 -1
- package/dist/cli/add-BF3e5Ll7.js +1 -0
- package/dist/cli/{add-DLYO-lcP.js → add-BZwvXVWj.js} +2 -2
- package/dist/cli/{add-DH4qqKNb.js → add-C0CrFxHw.js} +9 -9
- package/dist/cli/{app-table-files--ulI7C3Z.js → app-table-files-C5DZPmHI.js} +3 -3
- package/dist/cli/{app-tables-CQVNZglP.js → app-tables-BzBFYoMr.js} +2 -2
- package/dist/cli/{backfill-Byn-Pe2a.js → backfill-BEp8YZZN.js} +1 -1
- package/dist/cli/bin.js +1 -1
- package/dist/cli/{blocks-D7DYKEOZ.js → blocks-GHzRHitY.js} +1 -1
- package/dist/cli/{blocks-BATYI3l9.js → blocks-OMAjC_Wi.js} +1 -1
- package/dist/cli/{cache-D6iHVy6b.js → cache-CcAahoyu.js} +1 -1
- package/dist/cli/{codemod-PLqZ1YGz.js → codemod-Cf0oYaKz.js} +4 -4
- package/dist/cli/{codemod-naming-BgEIRJLM.js → codemod-naming-B776pVSk.js} +1 -1
- package/dist/cli/{column-renames-B1bMtdIF.js → column-renames-CeK8sWiT.js} +2 -2
- package/dist/cli/{content-mapper-BGus1ryq.js → content-mapper-Do10cbVT.js} +1 -1
- package/dist/cli/{dev-Bd6RJwLg.js → dev-CJPEc2gr.js} +3 -3
- package/dist/cli/{doctor-DW_QzhsK.js → doctor-BEUg9HWw.js} +18 -18
- package/dist/cli/{emit-DGhalWTA.js → emit-T1WamIdk.js} +2 -2
- package/dist/cli/{gen-BjMSXpcG.js → gen-DJ2_PQ72.js} +3 -3
- package/dist/cli/{gen-tasks-D3kLr5we.js → gen-tasks-Yrk8s8md.js} +9 -9
- package/dist/cli/index.d.ts +1 -1
- package/dist/cli/index.js +7 -7
- package/dist/cli/{init-DeGm-42D.js → init-BvbU-jDh.js} +8 -8
- package/dist/cli/{live-CJ3gBXTW.js → live-DIsnNTKQ.js} +2 -2
- package/dist/cli/{mcp-C7bG8fs9.js → mcp-C_wxYL1p.js} +2 -2
- package/dist/cli/{memo-backend-BbAaoaCp.js → memo-backend-vEs4WDSK.js} +1 -1
- package/dist/cli/{metadata-Da7lPV1G.js → metadata-BAYbcHhK.js} +4 -4
- package/dist/cli/{migrate-adO6TGQx.js → migrate-B5MSSoqe.js} +1 -1
- package/dist/cli/{migration-safety-TjFxbPdK.js → migration-safety-Dnt9Czmf.js} +1 -1
- package/dist/cli/{module-migration-BOwCFfuw.js → module-migration-CEQY0Jql.js} +1 -1
- package/dist/cli/{partition-Bi76oVvt.js → partition-DT-YczYz.js} +1 -1
- package/dist/cli/powersync-BT_Dwh2S.js +1 -0
- package/dist/cli/{powersync-01LIe9WO.js → powersync-_8c5mLfZ.js} +3 -3
- package/dist/cli/{print-CoDV1AZr.js → print-DEwSsdxn.js} +2 -2
- package/dist/cli/{providers-B3VKJOGS.js → providers-QkAQXJCS.js} +1 -1
- package/dist/cli/{prune-workflows-Ck7bPjbs.js → prune-workflows-WfJvfrQe.js} +1 -1
- package/dist/cli/{remove-B0mcKNLX.js → remove-BP7juqYl.js} +6 -6
- package/dist/cli/{render-cache-Dkkervpu.js → render-cache-BiTkqTAJ.js} +1 -1
- package/dist/cli/{render-g0u-8VRx.js → render-dx7vrczW.js} +4 -4
- package/dist/cli/{run-DcjkMeLQ.js → run-CPdlEmjh.js} +30 -30
- package/dist/cli/{run-DKHipy0c.js → run-s73OXa6p.js} +7 -7
- package/dist/cli/{shared-BL_SZdUw.js → shared-CAw3LIDZ.js} +1 -1
- package/dist/cli/{source-BBn7ypvg.js → source-BFIiz5Gd.js} +1 -1
- package/dist/cli/{spec-DH55djVx.js → spec-3PdgIg4q.js} +1 -1
- package/dist/cli/{spec-COv0ojkG.js → spec-wHDGnKHu.js} +2 -2
- package/dist/cli/{sql-layout-ClqJfxAp.js → sql-layout-DTEum7p9.js} +2 -2
- package/dist/cli/{squash-Cit4Liiw.js → squash-BApxsAu3.js} +1 -1
- package/dist/cli/{sync-Ba5EvTIT.js → sync--2h-BD99.js} +4 -4
- package/dist/cli/{upgrade-BIuxR2Z-.js → upgrade-DuqWpRkE.js} +5 -5
- package/dist/cli/{upgrade-DI4ZTrXV.js → upgrade-QCfkwN9R.js} +5 -5
- package/dist/cli/{version-D_miCSxz.js → version-B_O3ame2.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-C-msUG_m.d.ts → context-DtyeoCvj.d.ts} +3 -3
- package/dist/contract/index.d.ts +3 -3
- package/dist/{controller-DMoPjq2t.d.ts → controller-D6ZUjfhv.d.ts} +1 -1
- package/dist/{conversion-Cckh_HHY.d.ts → conversion-BiAEs9ja.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 +2 -2
- package/dist/{define-block-ClbL68WH.d.ts → define-block-DpnCxELV.d.ts} +1 -1
- package/dist/{drive-DXU2QoV_.d.ts → drive-_xuMA2xw.d.ts} +1 -1
- package/dist/{embeddings-BriQ4hQ1.d.ts → embeddings-BhTNerJ8.d.ts} +2 -2
- package/dist/{entitlements-DKNLoLw3.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/{extract-CzjhSs6g.d.ts → extract-DZznUgzb.d.ts} +3 -3
- package/dist/{extras-Ctnag4x3.d.ts → extras-Cb1ZUvNK.d.ts} +1 -1
- package/dist/{field-errors-D0vkq05i.d.ts → field-errors-DSEpFDCa.d.ts} +5 -5
- 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/{index-bDmQ69hy.d.ts → index-1aGCqU0F.d.ts} +1 -1
- package/dist/{index-Bz-T_58c.d.ts → index-B2NJNoRd.d.ts} +8 -8
- package/dist/{index-B9kqCDKK.d.ts → index-BAccIXQt.d.ts} +2 -2
- package/dist/{index-C0rHOTr-.d.ts → index-BDq77p1R.d.ts} +2 -2
- package/dist/{index-BG1eY1KO.d.ts → index-BEVvxkvW.d.ts} +2 -2
- package/dist/{index-CfYIKxmO.d.ts → index-BIOLHETk.d.ts} +1 -1
- package/dist/{index-DwC5RgXo.d.ts → index-BKD8Lkn9.d.ts} +7 -7
- package/dist/{index-DewyE3_q.d.ts → index-BREewNqU.d.ts} +1 -1
- package/dist/{index-k-3GAYGO.d.ts → index-BeJMACah.d.ts} +2 -2
- package/dist/{index-JCe4Kgvs.d.ts → index-BiX0gNGQ.d.ts} +2 -2
- package/dist/{index-b_QoL2Xl.d.ts → index-Bt5jJrzR.d.ts} +1 -1
- package/dist/{index-C1rKo4z7.d.ts → index-Bx9qRuof.d.ts} +1 -1
- package/dist/{index-BO4gZI8-.d.ts → index-C-h2MrvD.d.ts} +1 -1
- package/dist/{index-DeJHUkru.d.ts → index-C8H6hpAP.d.ts} +2 -2
- package/dist/{index-CN9tlkaZ.d.ts → index-CaE6XZnq.d.ts} +3 -3
- package/dist/{index-BTgHDNoK.d.ts → index-CbKxPo6t.d.ts} +2 -2
- package/dist/{index-Cy-294dJ.d.ts → index-CjmtqiRE.d.ts} +1 -1
- package/dist/{index-M6PP_nv1.d.ts → index-CmHvVWGd.d.ts} +1 -1
- package/dist/{index-BNbcydCQ.d.ts → index-CygaT0GH.d.ts} +1 -1
- package/dist/{index-DMaROBj_.d.ts → index-D-LxyjmH.d.ts} +3 -3
- package/dist/{index-C-vdLX8y.d.ts → index-D9fhYtnp.d.ts} +2 -2
- package/dist/{index-CO_JEQpa.d.ts → index-DAYCCmVC.d.ts} +1 -1
- package/dist/{index-C7AEdCOx.d.ts → index-DEHVn5Ma.d.ts} +2 -2
- package/dist/{index-6L3fO1VW.d.ts → index-DIwhnfIi.d.ts} +2 -2
- package/dist/{index-xNtO4Cbv.d.ts → index-DUDYFfnG.d.ts} +1 -1
- package/dist/{index-OPLT30am.d.ts → index-DVmqH-jI.d.ts} +3 -3
- package/dist/{index-DLPEBVA3.d.ts → index-Dga-eftL.d.ts} +5 -5
- package/dist/{index-CaBdEfvB.d.ts → index-DitpSLYH.d.ts} +2 -2
- package/dist/{index-BwbFX9kz.d.ts → index-Dsb6-otF.d.ts} +1 -1
- package/dist/{index-tHzSmAVM.d.ts → index-DtGyj0RU.d.ts} +4 -4
- package/dist/{index-L9nFXemf.d.ts → index-RGXgZmyg.d.ts} +2 -2
- package/dist/{index-DHwwaa5c.d.ts → index-S6WKucTU.d.ts} +1 -1
- package/dist/{index-BIk7uOsB.d.ts → index-TkkZfmGg.d.ts} +1 -1
- package/dist/{index-BoidURQg.d.ts → index-_IFPpPG9.d.ts} +1 -1
- package/dist/{index-DPHg8c59.d.ts → index-bFOgwrCN.d.ts} +1 -1
- package/dist/{index-DTBxclC4.d.ts → index-jJ7Q-AYO.d.ts} +2 -2
- package/dist/{index-FfVEwPC7.d.ts → index-vOUlkC2o.d.ts} +1 -1
- package/dist/{json-schema-C8deWP59.js → json-schema-CNrq6b9q.js} +1 -1
- package/dist/{knowledge-C7RZqwQu.d.ts → knowledge-CSWQouuC.d.ts} +1 -1
- package/dist/{manifest-BZNn8jSV.d.ts → manifest-4K_pRDrE.d.ts} +1 -1
- package/dist/{manifest-Dqths6WM.d.ts → manifest-4ZM88myP.d.ts} +1 -1
- package/dist/{manifest-BTdv7qf4.d.ts → manifest-4zuq-I0U.d.ts} +1 -1
- package/dist/{manifest-D5TAMdzY.d.ts → manifest-B-5cqXlx.d.ts} +1 -1
- package/dist/{manifest-CpqWpt8p.d.ts → manifest-B11QNHpO.d.ts} +1 -1
- package/dist/{manifest-DZwGgT_z.d.ts → manifest-B1R3o592.d.ts} +1 -1
- package/dist/{manifest-C71ANbeV.d.ts → manifest-B1bfLbzz.d.ts} +1 -1
- package/dist/{manifest-CsJCoSyK.d.ts → manifest-B5y82qsH.d.ts} +2 -2
- package/dist/{manifest-DdE8MnRN.d.ts → manifest-B9FkI5Za.d.ts} +1 -1
- package/dist/{manifest-DJuZGlHR.d.ts → manifest-BBQmMfq7.d.ts} +1 -1
- package/dist/{manifest-Bk8cjM0l.d.ts → manifest-BFc_Zpzf.d.ts} +1 -1
- package/dist/{manifest-C2PHEJ5z.d.ts → manifest-BGBYLCP-.d.ts} +1 -1
- package/dist/{manifest-DJIIa2Em.d.ts → manifest-BLVRM4WX.d.ts} +1 -1
- package/dist/{manifest-Cg8WeAdC.d.ts → manifest-BLkOEccx.d.ts} +1 -1
- package/dist/{manifest-CBlNPtFA.d.ts → manifest-BND77-ps.d.ts} +2 -2
- package/dist/{manifest-CFH-eOXg.d.ts → manifest-BQYkGxek.d.ts} +1 -1
- package/dist/{manifest-Cqt64tuH.d.ts → manifest-BTZI-Jq1.d.ts} +2 -2
- package/dist/{manifest-8h7Bi6Pu.d.ts → manifest-BYHJvkqX.d.ts} +1 -1
- package/dist/{manifest-DplQt5I6.d.ts → manifest-B__S-85Q.d.ts} +1 -1
- package/dist/{manifest-DLHnAPNS.d.ts → manifest-Bgc-jWOV.d.ts} +1 -1
- package/dist/{manifest-DbZYZpku.d.ts → manifest-BsuYq-pZ.d.ts} +1 -1
- package/dist/{manifest-CFsi-Ht5.d.ts → manifest-ByfZrxkk.d.ts} +1 -1
- package/dist/{manifest-YGFH2TL_.d.ts → manifest-C0-rnYge.d.ts} +1 -1
- package/dist/{manifest-BPriFiTU.d.ts → manifest-C02JeWGr.d.ts} +1 -1
- package/dist/{manifest-BAoLDoxK.d.ts → manifest-C3-OpYr0.d.ts} +1 -1
- package/dist/{manifest-DNx5sz8h.d.ts → manifest-C3qUn0ka.d.ts} +1 -1
- package/dist/{manifest-CLdp5_oL.d.ts → manifest-C46GM61W.d.ts} +1 -1
- package/dist/{manifest-C6ITivwS.d.ts → manifest-C9Cs9rtL.d.ts} +1 -1
- package/dist/{manifest-B5Tf88Uq.d.ts → manifest-CE4rGv9r.d.ts} +1 -1
- package/dist/{manifest-CJvaMP9x.d.ts → manifest-CGnYiIs8.d.ts} +1 -1
- package/dist/{manifest-CY_k3qjM.d.ts → manifest-CKbJBLaW.d.ts} +1 -1
- package/dist/{manifest-BLOaDsUW.d.ts → manifest-CQ1Xpja6.d.ts} +1 -1
- package/dist/{manifest-C0Wdg3J2.d.ts → manifest-CRe-o25G.d.ts} +2 -2
- package/dist/{manifest-BrGySkFX.d.ts → manifest-Ca6Rm4u6.d.ts} +1 -1
- package/dist/{manifest-DSA0yeuM.d.ts → manifest-Cf8__tMA.d.ts} +17 -4
- package/dist/{manifest-BHMX17A8.d.ts → manifest-CrO5Gwed.d.ts} +1 -1
- package/dist/{manifest-sOy_ZKWF.d.ts → manifest-CzErrA0R.d.ts} +1 -1
- package/dist/{manifest-cYotBkfZ.d.ts → manifest-D-IfkyQg.d.ts} +1 -1
- package/dist/{manifest-BO1W_e-B.d.ts → manifest-DCIvxvg9.d.ts} +1 -1
- package/dist/{manifest-b3PqBQa0.d.ts → manifest-DEf81vUp.d.ts} +1 -1
- package/dist/{manifest-C5l5bb08.d.ts → manifest-DF6MWZld.d.ts} +1 -1
- package/dist/{manifest-C2rmE8qa.d.ts → manifest-DFRP7LFo.d.ts} +1 -1
- package/dist/{manifest-CiMGJyOC.d.ts → manifest-DH1wX47F.d.ts} +1 -1
- package/dist/{manifest-CEXnXtGH.d.ts → manifest-DIsc4u7U.d.ts} +1 -1
- package/dist/{manifest-BBcaI1P8.js → manifest-DVuGZaJS.js} +20 -6
- package/dist/{manifest-BzO-6IJr.d.ts → manifest-DWS1Hszm.d.ts} +1 -1
- package/dist/{manifest-ChaCvq6y.d.ts → manifest-DYMvHTJ4.d.ts} +1 -1
- package/dist/{manifest-DSvRcUhd.d.ts → manifest-D_RJDjHz.d.ts} +2 -2
- package/dist/{manifest-DsxLVrmD.d.ts → manifest-D_u0Uhd9.d.ts} +1 -1
- package/dist/{manifest-BF-mU2bV.d.ts → manifest-DgVrJNgv.d.ts} +1 -1
- package/dist/{manifest-CK3rwqU_.d.ts → manifest-DiJKbgrM.d.ts} +1 -1
- package/dist/{manifest-D17W6_c7.d.ts → manifest-DpW-TJwu.d.ts} +1 -1
- package/dist/{manifest-CAnCtcFS.d.ts → manifest-DySuHx51.d.ts} +2 -2
- package/dist/{manifest-CrVJZ86G.d.ts → manifest-IWiafJCj.d.ts} +1 -1
- package/dist/{manifest-BTw7TOwu.d.ts → manifest-MIOw1h6u.d.ts} +1 -1
- package/dist/{manifest-DuBsaflS.d.ts → manifest-Qa7Oz8op.d.ts} +3 -3
- package/dist/{manifest-myniqe46.d.ts → manifest-YV2wB81I.d.ts} +1 -1
- package/dist/{manifest-CzDKrwRf.js → manifest-_xHwNjlQ.js} +13 -9
- package/dist/{manifest-BG1VIYZT.d.ts → manifest-iwcDpOkG.d.ts} +1 -1
- package/dist/{manifest-D_wapvtH.d.ts → manifest-nsV6ZrZ7.d.ts} +1 -1
- package/dist/{manifest-D1w2lSll.d.ts → manifest-rB3i09ej.d.ts} +1 -1
- package/dist/{manifest-Doi_y4XH.d.ts → manifest-rk3V9E0p.d.ts} +1 -1
- package/dist/{manifest-D-kHfhG5.d.ts → manifest-uAf9hw_t.d.ts} +1 -1
- package/dist/{manifest-Pny9-_9a.d.ts → manifest-z_JoPdSA.d.ts} +2 -2
- package/dist/mapper/bin.js +5 -5
- package/dist/mcp/index.d.ts +1 -1
- package/dist/mcp/index.js +1 -1
- package/dist/{mcp-CZgh_ubo.js → mcp-CQi0RwZj.js} +1 -1
- package/dist/next/index.d.ts +5 -5
- package/dist/next/proxy/index.d.ts +2 -2
- package/dist/{operations-DAHER9Co.d.ts → operations-C4vxakMi.d.ts} +1 -1
- package/dist/{orders-BCR5H9Tz.d.ts → orders-DtiIfGI_.d.ts} +1 -1
- package/dist/otel/index.js +5 -5
- package/dist/{permissions-Ddma4Div.d.ts → permissions-CP5Cwz8h.d.ts} +1 -1
- package/dist/{ports-DPp4Fq_P.d.ts → ports-B1QMhbn5.d.ts} +1 -1
- package/dist/powersync/index.d.ts +3 -3
- package/dist/preset/index.d.ts +4 -4
- package/dist/{preview-nlRIsJni.d.ts → preview-ByZwgNq9.d.ts} +3 -3
- package/dist/{project-Bw5sWuoO.js → project-DYyr_iyu.js} +1 -1
- package/dist/{push-token-Dwlj0LIL.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 +5 -5
- package/dist/realtime/index.d.ts +3 -3
- package/dist/{record-form-3eD-nwYk.d.ts → record-form-53Hzv9d9.d.ts} +1 -1
- package/dist/records/index.d.ts +7 -7
- package/dist/{sandboxes-BjvFi1Wh.d.ts → sandboxes-BJy3k0km.d.ts} +1 -1
- package/dist/server/index.d.ts +5 -5
- package/dist/{sign-in-Dtd2Bqgm.d.ts → sign-in-DbXRH5zh.d.ts} +4 -4
- package/dist/solid/index.d.ts +5 -5
- package/dist/spec/index.js +2 -2
- package/dist/sql/index.d.ts +5 -5
- package/dist/sql/index.js +1 -1
- package/dist/{sql-DLuqUuGO.js → sql-DPpcMNUF.js} +345 -122
- package/dist/ssr/index.d.ts +1 -1
- package/dist/svelte/index.d.ts +5 -5
- package/dist/{tenant-DLvOWwEG.d.ts → tenant-tAtS31r8.d.ts} +1 -1
- package/dist/testing/index.d.ts +9 -9
- package/dist/testing/index.js +1 -1
- package/dist/{timeline-ChkpN8Bw.d.ts → timeline-BoKhn-Ei.d.ts} +2 -2
- package/dist/{topic-Dw4CI2so.d.ts → topic-BdTuoZRL.d.ts} +1 -1
- package/dist/{types-Cikitezb.d.ts → types-BderwMCG.d.ts} +1 -1
- package/dist/{types-_hw_fdQp.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/{version-CrTSdSoJ.js → version-CTxJCxwz.js} +1 -1
- package/dist/vue/index.d.ts +5 -5
- package/dist/{watch-topic-CPyTKYDb.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/dist/cli/add-8PulB0kB.js +0 -1
- package/dist/cli/powersync-BIncCNre.js +0 -1
|
@@ -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-
|
|
1
|
+
import { d as loadSnapshot } from "../cli/sql-layout-DTEum7p9.js";
|
|
2
2
|
import { i as discoverConfig, s as loadConfig } from "../cli/config-By5EbpdJ.js";
|
|
3
|
-
import { s as schemaStampPath } from "../cli/content-mapper-
|
|
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
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-
|
|
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";
|
|
@@ -3,7 +3,7 @@ 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-
|
|
6
|
+
import { n as toJsonSchema, r as toDraft07 } from "./json-schema-CNrq6b9q.js";
|
|
7
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";
|
package/dist/next/index.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
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
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-
|
|
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-
|
|
6
|
+
import { t as tenantOf } from "../tenant-tAtS31r8.js";
|
|
7
|
+
import { r as permissionsOf, t as PermissionsOfOptions } from "../permissions-CP5Cwz8h.js";
|
|
8
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";
|
|
@@ -13,12 +13,12 @@ import { i as ResourceContext, l as ResourceRouteOptions, o as ResourceHooks, r
|
|
|
13
13
|
import { t as defineAction } from "../resource-execute-H-XO83hu.js";
|
|
14
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-
|
|
21
|
+
import { r as MembershipClaim } from "../entitlements-Djh4bBdj.js";
|
|
22
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";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
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/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,
|
|
@@ -1,11 +1,11 @@
|
|
|
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-h098g0vY.js";
|
|
2
2
|
import { Vt as Executor } from "../types-Dizn1liT.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-nmeUijzR.js";
|
|
4
|
-
import { t as AuthSnapshot } from "../bind-
|
|
4
|
+
import { t as AuthSnapshot } from "../bind-CuRPlZYY.js";
|
|
5
5
|
import { t as BlockTransport } from "../block-transport-Bqne7_GN.js";
|
|
6
6
|
import { b as DbError, f as Result } from "../result-aun_QZHn.js";
|
|
7
|
-
import { n as TopicPort } from "../watch-topic-
|
|
8
|
-
import { o as ActivitySubject } from "../activities-
|
|
7
|
+
import { n as TopicPort } from "../watch-topic-BjkFSiGe.js";
|
|
8
|
+
import { o as ActivitySubject } from "../activities-DFL2uhTK.js";
|
|
9
9
|
import { a as MedicationAsNeededInput, r as MedicationAdministrationInput } from "../medications-3mcGOelG.js";
|
|
10
10
|
import { d as ObservationInput, t as Observation } from "../observations-8pt9Lflf.js";
|
|
11
11
|
/** The part of PowerSync's `SyncStatus` the engine reads. */
|
package/dist/preset/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Ar as PresetAccess, Dr as PRESET_FRAMEWORKS, Er as DEFAULT_CONVENTIONS, Fr as PresetFramework, Hr as integrationsForFramework, Lr as PresetPlatforms, Mr as PresetField, Nr as PresetFieldKey, Or as PRESET_TENANT_NAMES, Pr as PresetFieldValue, Rr as PresetScope, Tr as CONVENTION_FIELDS, Ur as presetField, Vr as PresetValueInfo, Wr as presetValueLabel, jr as PresetConventions, kr as Preset, zr as PresetSubjectOptions } from "../define-block-
|
|
2
|
-
import { $i as PresetGlueItem, $t as defaultPreset, An as readDesignFile, Bn as ResolvedComposite, Cn as parseDesign, Dn as presetConfigSource, En as presetArgumentOf, Fn as presetOfSpec, Gi as CORE_BLOCKS, Gn as removeComposite, Hn as ResolvedPresetBlock, In as presetSpec, Ji as BlockCatalog, Jt as PRESETS, Ki as INSTANCE_NAME, Kn as resolvePreset, Kt as DEFAULT_PRESET_NAME, Ln as CompositeRemoval, Mn as safeParseDesign, Nn as PresetSpec, On as presetInstallCommand, Pn as presetFromSpec, Qi as PresetCatalogManifest, Qt as PresetName, Rn as PresetConflict, Sn as isDesignCode, Tn as presetApplyCommand, Un as listNames, Vn as ResolvedPreset, Wn as presetBlockConflict, Wr as APP_COLUMN_FORMATS, Xi as PresetCatalog, Xt as PRESET_NAMES, Yi as BlockCatalogEntry, Yt as PRESET_GROUPS, Zi as PresetCatalogBlock, Zr as AppColumnFormat, Zt as PresetGroup, _n as designFileSource, _t as presetOf, an as DESIGN_FORMAT, bn as designSchema, cn as DesignParseError, dn as DesignTooLongError, dt as ConfigConventions, en as isPresetName, fn as MAX_DESIGN_CODE_LENGTH, ft as ExpandedConfig, gn as designConfig, gt as presetConfig, hn as decodeDesign, ht as expandPreset, in as DESIGN_FILE, jn as safeDesignFileSource, kn as presetKey, ln as DesignParseIssue, mn as createUrl, mt as conventionConfig, nn as CREATE_URL, on as DesignErrorCode, pn as createQuery, pt as PresetInput, qi as instancePrefix, qt as NamedPreset, rn as CreateDesign, sn as DesignFile, tn as namedPreset, un as DesignParseResult, vn as designFormat, wn as presetAndDesignOf, xn as encodeDesign, yn as designOf, zn as PresetIntegration } from "../context-
|
|
3
|
-
import { C as diffAppTables, D as PRESET_CATALOG, E as isAppDefault, O as BLOCK_CATALOG, S as DiffOptions, T as appDefaultError, _ as glueCommand, a as blockRequires, b as DesignChange, c as installedBlocks, d as instancesOf, f as presetInstances, g as PROVIDER_COMMENT, h as withoutInstance, i as blockEntities, l as instanceBlock, m as withInstance, n as BlockInstance, o as canAddInstance, p as withEntityName, r as PresetInstance, s as entityName, t as BlockEntity, u as instanceNameProblem, v as presetBlocksSource, w as diffDesigns, x as DesignChangeKind, y as presetGlue } from "../index-
|
|
4
|
-
import { i as appReservedColumns, n as appIdentifierError, r as appNameLengthError, t as APP_NAME_MAX } from "../app-tables-
|
|
1
|
+
import { Ar as PresetAccess, Dr as PRESET_FRAMEWORKS, Er as DEFAULT_CONVENTIONS, Fr as PresetFramework, Hr as integrationsForFramework, Lr as PresetPlatforms, Mr as PresetField, Nr as PresetFieldKey, Or as PRESET_TENANT_NAMES, Pr as PresetFieldValue, Rr as PresetScope, Tr as CONVENTION_FIELDS, Ur as presetField, Vr as PresetValueInfo, Wr as presetValueLabel, jr as PresetConventions, kr as Preset, zr as PresetSubjectOptions } from "../define-block-DpnCxELV.js";
|
|
2
|
+
import { $i as PresetGlueItem, $t as defaultPreset, An as readDesignFile, Bn as ResolvedComposite, Cn as parseDesign, Dn as presetConfigSource, En as presetArgumentOf, Fn as presetOfSpec, Gi as CORE_BLOCKS, Gn as removeComposite, Hn as ResolvedPresetBlock, In as presetSpec, Ji as BlockCatalog, Jt as PRESETS, Ki as INSTANCE_NAME, Kn as resolvePreset, Kt as DEFAULT_PRESET_NAME, Ln as CompositeRemoval, Mn as safeParseDesign, Nn as PresetSpec, On as presetInstallCommand, Pn as presetFromSpec, Qi as PresetCatalogManifest, Qt as PresetName, Rn as PresetConflict, Sn as isDesignCode, Tn as presetApplyCommand, Un as listNames, Vn as ResolvedPreset, Wn as presetBlockConflict, Wr as APP_COLUMN_FORMATS, Xi as PresetCatalog, Xt as PRESET_NAMES, Yi as BlockCatalogEntry, Yt as PRESET_GROUPS, Zi as PresetCatalogBlock, Zr as AppColumnFormat, Zt as PresetGroup, _n as designFileSource, _t as presetOf, an as DESIGN_FORMAT, bn as designSchema, cn as DesignParseError, dn as DesignTooLongError, dt as ConfigConventions, en as isPresetName, fn as MAX_DESIGN_CODE_LENGTH, ft as ExpandedConfig, gn as designConfig, gt as presetConfig, hn as decodeDesign, ht as expandPreset, in as DESIGN_FILE, jn as safeDesignFileSource, kn as presetKey, ln as DesignParseIssue, mn as createUrl, mt as conventionConfig, nn as CREATE_URL, on as DesignErrorCode, pn as createQuery, pt as PresetInput, qi as instancePrefix, qt as NamedPreset, rn as CreateDesign, sn as DesignFile, tn as namedPreset, un as DesignParseResult, vn as designFormat, wn as presetAndDesignOf, xn as encodeDesign, yn as designOf, zn as PresetIntegration } from "../context-DtyeoCvj.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-C8H6hpAP.js";
|
|
4
|
+
import { i as appReservedColumns, n as appIdentifierError, r as appNameLengthError, t as APP_NAME_MAX } from "../app-tables-Br5Khxij.js";
|
|
5
5
|
export { APP_COLUMN_FORMATS, APP_NAME_MAX, type AppColumnFormat, BLOCK_CATALOG, type BlockCatalog, type BlockCatalogEntry, type BlockEntity, type BlockInstance, CONVENTION_FIELDS, CREATE_URL, type CompositeRemoval, type ConfigConventions, type CreateDesign, DEFAULT_CONVENTIONS, DEFAULT_PRESET_NAME, DESIGN_FILE, DESIGN_FORMAT, type DesignChange, type DesignChangeKind, type DesignErrorCode, type DesignFile, DesignParseError, type DesignParseIssue, type DesignParseResult, DesignTooLongError, type DiffOptions, type ExpandedConfig, INSTANCE_NAME, MAX_DESIGN_CODE_LENGTH, type NamedPreset, PRESETS, PRESET_CATALOG, PRESET_FRAMEWORKS, PRESET_GROUPS, PRESET_NAMES, PRESET_TENANT_NAMES, PROVIDER_COMMENT, type Preset, type PresetAccess, type PresetCatalog, type PresetCatalogBlock, type PresetCatalogManifest, type PresetConflict, type PresetConventions, type PresetField, type PresetFieldKey, type PresetFieldValue, type PresetFramework, type PresetGlueItem, type PresetGroup, type PresetInput, type PresetInstance, type PresetIntegration, type PresetName, type PresetPlatforms, type PresetScope, type PresetSpec, type PresetSubjectOptions, type PresetValueInfo, type ResolvedComposite, type ResolvedPreset, type ResolvedPresetBlock, CORE_BLOCKS as SINGLE_INSTANCE_BLOCKS, appDefaultError, appIdentifierError, appNameLengthError, appReservedColumns, blockEntities, blockRequires, canAddInstance, conventionConfig, createQuery, createUrl, decodeDesign, defaultPreset, designConfig, designFileSource, designFormat, designOf, designSchema, diffAppTables, diffDesigns, encodeDesign, entityName, expandPreset, glueCommand, installedBlocks, instanceBlock, instanceNameProblem, instancePrefix, instancesOf, integrationsForFramework, isAppDefault, isDesignCode, isPresetName, listNames, namedPreset, parseDesign, presetAndDesignOf, presetApplyCommand, presetArgumentOf, presetBlockConflict, presetBlocksSource, presetConfig, presetConfigSource, presetField, presetFromSpec, presetGlue, presetInstallCommand, presetInstances, presetKey, presetOf, presetOfSpec, presetSpec, presetValueLabel, readDesignFile, removeComposite, resolvePreset, safeDesignFileSource, safeParseDesign, withEntityName, withInstance, withoutInstance };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { t as BlockTransport } from "./block-transport-Bqne7_GN.js";
|
|
2
2
|
import { i as EventSink } from "./cloud-event-B0AsPtwP.js";
|
|
3
|
-
import { Ln as AttachmentStorage } from "./define-block-
|
|
4
|
-
import { _ as JobHandler } from "./types-
|
|
3
|
+
import { Ln as AttachmentStorage } from "./define-block-DpnCxELV.js";
|
|
4
|
+
import { _ as JobHandler } from "./types-DerSPnBG.js";
|
|
5
5
|
import { r as BlockTemporalOptions } from "./block-helpers-DDotKGAf.js";
|
|
6
|
-
import { y as DrivePreviews } from "./drive-
|
|
6
|
+
import { y as DrivePreviews } from "./drive-_xuMA2xw.js";
|
|
7
7
|
import { t as AsyncResult } from "./result-aun_QZHn.js";
|
|
8
8
|
/** One rendered page: an image the drive stores under the file's previews. */
|
|
9
9
|
interface PreviewPage {
|
|
@@ -2,7 +2,7 @@ import { a as presetOf, f as resolvePreset } from "./config-L5_4kg24.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-BcwGsW_B.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-PZAWgQEX.js";
|
|
4
4
|
import { i as resolveConfig } from "./config-1kAVpZc_.js";
|
|
5
|
-
import { Ft as SQL_MODULES, ot as renderBlocks, q as moduleLayout } from "./sql-
|
|
5
|
+
import { Ft as SQL_MODULES, ot as renderBlocks, q as moduleLayout } from "./sql-DPpcMNUF.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-BvolEoGc.js";
|
|
2
2
|
import { n as invalidateTables, t as BetterQueryMeta } from "../invalidate-DAB9CaPm.js";
|
|
3
|
-
import { $ as blockQueries, G as BLOCK_READ_PREFIXES, J as BlockInvalidation, K as BlockClientQueries, Q as blockControllerEngine, X as BlockQueries, Y as BlockMethodQuery, Z as BlockVariablesOf, a as RecordBindingQueries, at as InfiniteExtras, c as RecordWriteMutations, ct as QueriesOptions, dt as QueryOptionsOf, et as invalidateOnBlockEvents, ft as TableQueries, ht as queryCache, i as optimistic, it as BetterQueries, l as invalidateOnRecordEvents, lt as QueryHelpers, mt as invalidateOnMutation, n as OptimisticSnapshot, nt as UserChangeSource, o as RecordQueries, ot as InfiniteOptionsOf, pt as createQueries, q as BlockClients, r as OptimisticTarget, rt as clearOnUserChange, s as RecordQueriesOptions, st as MutationOptionsOf, t as OptimisticHandlers, tt as queryEngine, u as recordQueries, ut as QueryKeyOf } from "../index-
|
|
3
|
+
import { $ as blockQueries, G as BLOCK_READ_PREFIXES, J as BlockInvalidation, K as BlockClientQueries, Q as blockControllerEngine, X as BlockQueries, Y as BlockMethodQuery, Z as BlockVariablesOf, a as RecordBindingQueries, at as InfiniteExtras, c as RecordWriteMutations, ct as QueriesOptions, dt as QueryOptionsOf, et as invalidateOnBlockEvents, ft as TableQueries, ht as queryCache, i as optimistic, it as BetterQueries, l as invalidateOnRecordEvents, lt as QueryHelpers, mt as invalidateOnMutation, n as OptimisticSnapshot, nt as UserChangeSource, o as RecordQueries, ot as InfiniteOptionsOf, pt as createQueries, q as BlockClients, r as OptimisticTarget, rt as clearOnUserChange, s as RecordQueriesOptions, st as MutationOptionsOf, t as OptimisticHandlers, tt as queryEngine, u as recordQueries, ut as QueryKeyOf } from "../index-DUDYFfnG.js";
|
|
4
4
|
export { BLOCK_READ_PREFIXES, type BetterQueries, type BetterQueryMeta, type BlockClientQueries, type BlockClients, type BlockInvalidation, type BlockMethodQuery, type BlockQueries, type BlockVariablesOf, type InfiniteExtras, type InfiniteOptionsOf, type MutationOptionsOf, type OptimisticHandlers, type OptimisticSnapshot, type OptimisticTarget, type QueriesOptions, type QueryHelpers, type QueryKeyOf, type QueryOptionsOf, type RecordBindingQueries, type RecordQueries, type RecordQueriesOptions, type RecordWriteMutations, type TableQueries, type UserChangeSource, blockControllerEngine, blockQueries, clearOnUserChange, createQueries, escapeLike, invalidateOnBlockEvents, invalidateOnMutation, invalidateOnRecordEvents, invalidateTables, optimistic, queryCache, queryEngine, recordQueries };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as RateLimitOptions, c as createRateLimit, i as RateLimitHit, l as rateLimited, n as RateLimitAllDecision, o as RateLimitRule, r as RateLimitDecision, s as RateLimitSource, t as RateLimit } from "../rate-limit-
|
|
1
|
+
import { a as RateLimitOptions, c as createRateLimit, i as RateLimitHit, l as rateLimited, n as RateLimitAllDecision, o as RateLimitRule, r as RateLimitDecision, s as RateLimitSource, t as RateLimit } from "../rate-limit-TxSt-_59.js";
|
|
2
2
|
export { type RateLimit, type RateLimitAllDecision, type RateLimitDecision, type RateLimitHit, type RateLimitOptions, type RateLimitRule, type RateLimitSource, createRateLimit, rateLimited };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _ as JobHandler } from "./types-
|
|
1
|
+
import { _ as JobHandler } from "./types-DerSPnBG.js";
|
|
2
2
|
import { r as BlockTemporalOptions } from "./block-helpers-DDotKGAf.js";
|
|
3
3
|
import { n as BlockHooks } from "./block-hooks-b7-RUIxS.js";
|
|
4
4
|
import { t as BlockTransport } from "./block-transport-Bqne7_GN.js";
|
package/dist/react/index.d.ts
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { t as escapeLike } from "../escape-like-BvolEoGc.js";
|
|
2
2
|
import { c as Impersonator, n as AuthSession } from "../view-DwTCw_jZ.js";
|
|
3
3
|
import { i as DataEntry, m as RejectedChange, n as DataEngine, o as DataSyncState } from "../data-engine-nmeUijzR.js";
|
|
4
|
-
import { t as tenantOf } from "../tenant-
|
|
5
|
-
import { r as LiveCountSeed } from "../index-
|
|
6
|
-
import { r as MembershipClaim } from "../entitlements-
|
|
7
|
-
import { _ as LiveQueryHookOptions, b as ProfileOf, c as DataWrites, f as BroadcastOptions, h as LiveCountHookOptions, l as ActionInputOf, m as ClientLike, o as DataSource, p as ClaimsOf, s as DataState, t as fieldErrorsOf, u as ActionResultOf, x as UseActionOptions } from "../field-errors-
|
|
4
|
+
import { t as tenantOf } from "../tenant-tAtS31r8.js";
|
|
5
|
+
import { r as LiveCountSeed } from "../index-DitpSLYH.js";
|
|
6
|
+
import { r as MembershipClaim } from "../entitlements-Djh4bBdj.js";
|
|
7
|
+
import { _ as LiveQueryHookOptions, b as ProfileOf, c as DataWrites, f as BroadcastOptions, h as LiveCountHookOptions, l as ActionInputOf, m as ClientLike, o as DataSource, p as ClaimsOf, s as DataState, t as fieldErrorsOf, u as ActionResultOf, x as UseActionOptions } from "../field-errors-DSEpFDCa.js";
|
|
8
8
|
import { n as supportOf, t as SupportView } from "../support-view-CfyHFSq4.js";
|
|
9
9
|
import { a as BlockQueryActions, c as BlockRefetchOn, i as BlockMutationState, n as BlockEventSource, o as BlockQueryOptions, r as BlockMutationActions, s as BlockQueryState, t as BlockEngineOptions } from "../block-controller-Dy-Jyy8A.js";
|
|
10
|
-
import { $ as RecordInitial, A as DataView, B as useBlockEvent, C as useConflicts, D as can, E as PermissionsProvider, F as defineOneHook, G as useRecordForm, H as useBlockQuery, I as useBlockEnv, J as RecordListUrl, K as RecordListQueryStates, L as useBlockTenant, M as defineDataHooks, N as defineInfiniteListHook, O as useCan, P as defineListHook, Q as RecordContextValue, R as useController, S as Conflicts, St as useSupabase, T as OfflineContext, U as RecordFormState, V as useBlockMutation, W as UseRecordFormOptions, X as useRecordListState, Y as RecordListUrlState, Z as RecordActionsOf, _ as useRealtimeRelay, _t as createHooks, a as Upload, at as ActionForm, b as PresenceTopic, bt as useLiveCount, c as UseImageOptions, ct as UseActionFormOptions, d as useSignedUrl, dt as useActionForm, et as RecordProviderKit, f as useUpload, ft as useOptimisticAction, g as UseRealtimeRelayOptions, gt as LiveCount, h as useDebouncedSearch, ht as BetterSupabaseProviderProps, i as StorageImage, it as createRecordProvider, j as InfiniteList, k as DataHooks, l as UseUploadOptions, lt as UseOptimisticActionOptions, m as DebouncedSearchOptions, mt as BetterSupabaseProvider, n as SignedUrl, nt as RecordState, o as UploadStatus, ot as ActionHandle, p as DebouncedSearch, pt as BetterHooks, q as RecordListState, r as SignedUrlSource, rt as RecordWriteHandlers, s as UploadTarget, st as OptimisticActionHandle, t as ImageSource, tt as RecordProviderProps, u as useImage, ut as useAction, v as Presence, vt as useAuth, w as useSyncStatus, x as usePresence, xt as useLiveQuery, y as PresenceHookOptions, yt as useBroadcast, z as useLatest } from "../index-
|
|
10
|
+
import { $ as RecordInitial, A as DataView, B as useBlockEvent, C as useConflicts, D as can, E as PermissionsProvider, F as defineOneHook, G as useRecordForm, H as useBlockQuery, I as useBlockEnv, J as RecordListUrl, K as RecordListQueryStates, L as useBlockTenant, M as defineDataHooks, N as defineInfiniteListHook, O as useCan, P as defineListHook, Q as RecordContextValue, R as useController, S as Conflicts, St as useSupabase, T as OfflineContext, U as RecordFormState, V as useBlockMutation, W as UseRecordFormOptions, X as useRecordListState, Y as RecordListUrlState, Z as RecordActionsOf, _ as useRealtimeRelay, _t as createHooks, a as Upload, at as ActionForm, b as PresenceTopic, bt as useLiveCount, c as UseImageOptions, ct as UseActionFormOptions, d as useSignedUrl, dt as useActionForm, et as RecordProviderKit, f as useUpload, ft as useOptimisticAction, g as UseRealtimeRelayOptions, gt as LiveCount, h as useDebouncedSearch, ht as BetterSupabaseProviderProps, i as StorageImage, it as createRecordProvider, j as InfiniteList, k as DataHooks, l as UseUploadOptions, lt as UseOptimisticActionOptions, m as DebouncedSearchOptions, mt as BetterSupabaseProvider, n as SignedUrl, nt as RecordState, o as UploadStatus, ot as ActionHandle, p as DebouncedSearch, pt as BetterHooks, q as RecordListState, r as SignedUrlSource, rt as RecordWriteHandlers, s as UploadTarget, st as OptimisticActionHandle, t as ImageSource, tt as RecordProviderProps, u as useImage, ut as useAction, v as Presence, vt as useAuth, w as useSyncStatus, x as usePresence, xt as useLiveQuery, y as PresenceHookOptions, yt as useBroadcast, z as useLatest } from "../index-B2NJNoRd.js";
|
|
11
11
|
import { SessionProvider, SessionProviderProps, useSession, useSupportSession } from "./session.js";
|
|
12
12
|
import { a as useSignIn, i as SignOut, n as PendingState, o as useSignOut, r as SignIn, t as AuthHookOptions } from "../sign-in-DkRvzECa.js";
|
|
13
13
|
export { type ActionForm, type ActionHandle, type ActionInputOf, type ActionResultOf, type AuthHookOptions, type AuthSession, type BetterHooks, BetterSupabaseProvider, type BetterSupabaseProviderProps, type BlockEngineOptions, type BlockEventSource, type BlockMutationActions, type BlockMutationState, type BlockQueryActions, type BlockQueryOptions, type BlockQueryState, type BlockRefetchOn, type BroadcastOptions, type ClaimsOf, type ClientLike, type Conflicts, type DataEngine, type DataEntry, type DataHooks, type DataSource, type DataState, type DataSyncState, type DataView, type DataWrites, type DebouncedSearch, type DebouncedSearchOptions, type ImageSource, type Impersonator, type InfiniteList, type LiveCount, type LiveCountHookOptions, type LiveCountSeed, type LiveQueryHookOptions, type MembershipClaim, OfflineContext, type OptimisticActionHandle, type PendingState, PermissionsProvider, type Presence, type PresenceHookOptions, type PresenceTopic, type ProfileOf, type RecordActionsOf, type RecordContextValue, type RecordFormState, type RecordInitial, type RecordListQueryStates, type RecordListState, type RecordListUrl, type RecordListUrlState, type RecordProviderKit, type RecordProviderProps, type RecordState, type RecordWriteHandlers, type RejectedChange, SessionProvider, type SessionProviderProps, type SignIn, type SignOut, type SignedUrl, type SignedUrlSource, type StorageImage, type SupportView, type Upload, type UploadStatus, type UploadTarget, type UseActionFormOptions, type UseActionOptions, type UseImageOptions, type UseOptimisticActionOptions, type UseRealtimeRelayOptions, type UseRecordFormOptions, type UseUploadOptions, can, createHooks, createRecordProvider, defineDataHooks, defineInfiniteListHook, defineListHook, defineOneHook, escapeLike, fieldErrorsOf, supportOf, tenantOf, useAction, useActionForm, useAuth, useBlockEnv, useBlockEvent, useBlockMutation, useBlockQuery, useBlockTenant, useBroadcast, useCan, useConflicts, useController, useDebouncedSearch, useImage, useLatest, useLiveCount, useLiveQuery, useOptimisticAction, usePresence, useRealtimeRelay, useRecordForm, useRecordListState, useSession, useSignIn, useSignOut, useSignedUrl, useSupabase, useSupportSession, useSyncStatus, useUpload };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as AuthSnapshot } from "../../bind-
|
|
1
|
+
import { t as AuthSnapshot } from "../../bind-CuRPlZYY.js";
|
|
2
2
|
import { a as OAuthSignInOptions, i as OAuthClient, n as AuthLinkError, o as WebBrowserLike, r as AuthLinkResult, t as AuthLinkClient } from "../../auth-link-C6n-ophf.js";
|
|
3
3
|
import { a as AppStateLike, r as PowerSyncReconnect, t as NativeAuthzRefreshClient } from "../../authz-refresh-Bg0T1i86.js";
|
|
4
4
|
import { i as authzUserTopic, r as AuthzVersionSource, t as AUTHZ_EVENT } from "../../authz-topic-C7n3kIm_.js";
|
package/dist/react/server.d.ts
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { n as supportOf, t as SupportView } from "../support-view-CfyHFSq4.js";
|
|
2
2
|
import { c as Impersonator, n as AuthSession } from "../view-DwTCw_jZ.js";
|
|
3
|
-
import { $ as RecordInitial, B as useBlockEvent$1, C as useConflicts$1, D as can, E as PermissionsProvider, F as defineOneHook$1, G as useRecordForm$1, H as useBlockQuery$1, I as useBlockEnv$1, J as RecordListUrl, K as RecordListQueryStates, L as useBlockTenant$1, M as defineDataHooks$1, N as defineInfiniteListHook$1, O as useCan$1, P as defineListHook$1, Q as RecordContextValue, R as useController$1, St as useSupabase, T as OfflineContext, U as RecordFormState, V as useBlockMutation$1, W as UseRecordFormOptions, X as useRecordListState$1, Y as RecordListUrlState, Z as RecordActionsOf, _ as useRealtimeRelay$1, a as Upload, at as ActionForm, b as PresenceTopic, c as UseImageOptions, ct as UseActionFormOptions, d as useSignedUrl$1, et as RecordProviderKit, f as useUpload$1, g as UseRealtimeRelayOptions, gt as LiveCount, h as useDebouncedSearch$1, ht as BetterSupabaseProviderProps, i as StorageImage, it as createRecordProvider$1, l as UseUploadOptions, lt as UseOptimisticActionOptions, m as DebouncedSearchOptions, mt as BetterSupabaseProvider, n as SignedUrl, nt as RecordState, o as UploadStatus, ot as ActionHandle, p as DebouncedSearch, pt as BetterHooks, q as RecordListState, r as SignedUrlSource, rt as RecordWriteHandlers, s as UploadTarget, st as OptimisticActionHandle, t as ImageSource, tt as RecordProviderProps, u as useImage$1, v as Presence, vt as useAuth, w as useSyncStatus$1, x as usePresence$1, xt as useLiveQuery, y as PresenceHookOptions, yt as useBroadcast, z as useLatest$1 } from "../index-
|
|
3
|
+
import { $ as RecordInitial, B as useBlockEvent$1, C as useConflicts$1, D as can, E as PermissionsProvider, F as defineOneHook$1, G as useRecordForm$1, H as useBlockQuery$1, I as useBlockEnv$1, J as RecordListUrl, K as RecordListQueryStates, L as useBlockTenant$1, M as defineDataHooks$1, N as defineInfiniteListHook$1, O as useCan$1, P as defineListHook$1, Q as RecordContextValue, R as useController$1, St as useSupabase, T as OfflineContext, U as RecordFormState, V as useBlockMutation$1, W as UseRecordFormOptions, X as useRecordListState$1, Y as RecordListUrlState, Z as RecordActionsOf, _ as useRealtimeRelay$1, a as Upload, at as ActionForm, b as PresenceTopic, c as UseImageOptions, ct as UseActionFormOptions, d as useSignedUrl$1, et as RecordProviderKit, f as useUpload$1, g as UseRealtimeRelayOptions, gt as LiveCount, h as useDebouncedSearch$1, ht as BetterSupabaseProviderProps, i as StorageImage, it as createRecordProvider$1, l as UseUploadOptions, lt as UseOptimisticActionOptions, m as DebouncedSearchOptions, mt as BetterSupabaseProvider, n as SignedUrl, nt as RecordState, o as UploadStatus, ot as ActionHandle, p as DebouncedSearch, pt as BetterHooks, q as RecordListState, r as SignedUrlSource, rt as RecordWriteHandlers, s as UploadTarget, st as OptimisticActionHandle, t as ImageSource, tt as RecordProviderProps, u as useImage$1, v as Presence, vt as useAuth, w as useSyncStatus$1, x as usePresence$1, xt as useLiveQuery, y as PresenceHookOptions, yt as useBroadcast, z as useLatest$1 } from "../index-B2NJNoRd.js";
|
|
4
4
|
import { dt as QuerySpec } from "../db-blocks-BQkHb77X.js";
|
|
5
|
-
import { r as LiveCountSeed } from "../index-
|
|
6
|
-
import { _ as LiveQueryHookOptions, b as ProfileOf, f as BroadcastOptions, h as LiveCountHookOptions, l as ActionInputOf, m as ClientLike, p as ClaimsOf, t as fieldErrorsOf, u as ActionResultOf, x as UseActionOptions } from "../field-errors-
|
|
5
|
+
import { r as LiveCountSeed } from "../index-DitpSLYH.js";
|
|
6
|
+
import { _ as LiveQueryHookOptions, b as ProfileOf, f as BroadcastOptions, h as LiveCountHookOptions, l as ActionInputOf, m as ClientLike, p as ClaimsOf, t as fieldErrorsOf, u as ActionResultOf, x as UseActionOptions } from "../field-errors-DSEpFDCa.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-DkRvzECa.js";
|
|
8
8
|
import { SessionProvider, SessionProviderProps } from "./session.js";
|
|
9
9
|
import { t as escapeLike } from "../escape-like-BvolEoGc.js";
|
|
10
|
-
import { t as tenantOf } from "../tenant-
|
|
11
|
-
import { r as MembershipClaim } from "../entitlements-
|
|
10
|
+
import { t as tenantOf } from "../tenant-tAtS31r8.js";
|
|
11
|
+
import { r as MembershipClaim } from "../entitlements-Djh4bBdj.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-Dizn1liT.js";
|
|
2
2
|
import { et as TemplateParams, tt as TemplateValues } from "../bucket-BJ03ZblY.js";
|
|
3
3
|
import { t as RealtimeStatus } from "../realtime-status-D3oUx3o4.js";
|
|
4
|
-
import { A as TriggerPayloadMode, C as TopicSubscribeOptions, D as TopicTriggerValue, E as TopicTriggerOptions, F as rowKeys, I as FanOutResult, L as TopicFanOutOptions, M as TriggerValue, N as defineTopic, O as TriggerLookup, P as rowChange, S as TopicSqlOptions, T as TopicTriggerLookup, _ as TopicHandlers, a as PresenceOutput, b as TopicPayload, c as RealtimeClient, d as SubscribeOptions, f as Subscription, g as TopicEvent, h as TopicBroadcast, i as PresenceOptions, j as TriggerTopic, k as TriggerOptions, 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 TopicMessage, w as TopicSubscription, x as TopicPermission, y as TopicOptions } 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 TriggerPayloadMode, C as TopicSubscribeOptions, D as TopicTriggerValue, E as TopicTriggerOptions, F as rowKeys, I as FanOutResult, L as TopicFanOutOptions, M as TriggerValue, N as defineTopic, O as TriggerLookup, P as rowChange, S as TopicSqlOptions, T as TopicTriggerLookup, _ as TopicHandlers, a as PresenceOutput, b as TopicPayload, c as RealtimeClient, d as SubscribeOptions, f as Subscription, g as TopicEvent, h as TopicBroadcast, i as PresenceOptions, j as TriggerTopic, k as TriggerOptions, 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 TopicMessage, w as TopicSubscription, x as TopicPermission, y as TopicOptions } from "../topic-BdTuoZRL.js";
|
|
5
|
+
import { a as watchTopic, i as topicPort, n as TopicPort, r as TopicWatch, t as TopicHandle } from "../watch-topic-BjkFSiGe.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-DitpSLYH.js";
|
|
7
7
|
import { n as subjectReaders, t as SubjectReadersOptions } from "../subject-readers-zsCxIZ_1.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 TopicBroadcast, 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-DpnCxELV.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-D6ZUjfhv.js";
|
|
2
2
|
import { _ as MyWorkKind, a as RecordSummaryOptions, c as Subjects, i as RecordSummary, n as MyTask, r as MyWorkOptions } from "../subjects-Bnhj8AsZ.js";
|
|
3
3
|
import { b as DbError, f as Result, t as AsyncResult } from "../result-aun_QZHn.js";
|
|
4
|
-
import { p as SubscriptionStatus } from "../topic-
|
|
5
|
-
import { n as TopicPort } from "../watch-topic-
|
|
4
|
+
import { p as SubscriptionStatus } from "../topic-BdTuoZRL.js";
|
|
5
|
+
import { n as TopicPort } from "../watch-topic-BjkFSiGe.js";
|
|
6
6
|
import { et as RecordRef } from "../types-Dizn1liT.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-DUDYFfnG.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-BoKhn-Ei.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-53Hzv9d9.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-DpnCxELV.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;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/// <reference lib="esnext.temporal" />
|
|
2
2
|
import { t as AsyncResult } from "./result-aun_QZHn.js";
|
|
3
|
-
import { _ as JobHandler } from "./types-
|
|
3
|
+
import { _ as JobHandler } from "./types-DerSPnBG.js";
|
|
4
4
|
type AiSandboxStatus = "running" | "stopping" | "stopped";
|
|
5
5
|
interface AiSandbox {
|
|
6
6
|
readonly id: string;
|