better-supabase 0.35.0 → 0.36.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/{adapter-CWzyKepA.js → adapter-ddQ9Hzka.js} +126 -91
- package/dist/{agents-DXiOPB3V.d.ts → agents-BwUHtvD6.d.ts} +4 -4
- package/dist/{ai-cache-CLiAXCPH.d.ts → ai-cache-CPOP2PYz.d.ts} +4 -4
- package/dist/{ai-chat-DlcBdOhJ.d.ts → ai-chat-BZhfCHHr.d.ts} +106 -25
- package/dist/{ai-schedules-Drx2KRTn.d.ts → ai-schedules-BZPmySUa.d.ts} +5 -5
- package/dist/ai-sdk/agents/index.d.ts +6 -6
- package/dist/ai-sdk/batches/index.d.ts +3 -3
- package/dist/ai-sdk/cache/index.d.ts +1 -1
- package/dist/ai-sdk/chat/index.d.ts +2 -2
- package/dist/ai-sdk/chat/index.js +3 -272
- package/dist/ai-sdk/embeddings/index.d.ts +2 -2
- package/dist/ai-sdk/files/index.d.ts +1 -1
- package/dist/ai-sdk/index.d.ts +5 -5
- package/dist/ai-sdk/index.js +2 -3
- package/dist/ai-sdk/mcp/index.d.ts +3 -3
- package/dist/ai-sdk/memory/index.d.ts +3 -3
- package/dist/ai-sdk/workflow/index.d.ts +6 -5
- package/dist/ai-sdk/workflow/index.js +9 -9
- package/dist/{api-myq2e9t5.d.ts → api-XEaCJbgv.d.ts} +5 -5
- package/dist/{api-keys-DbIbkGxx.d.ts → api-keys-C82fMru4.d.ts} +4 -4
- package/dist/{app-tables-X3yzJljM.d.ts → app-tables-C0XVpQEJ.d.ts} +1 -1
- package/dist/{approvals-Da4uAANx.js → approvals-D8gR1R8R.js} +95 -11
- package/dist/{approvals-DZoGtNFv.d.ts → approvals-DqCv7f-G.d.ts} +101 -7
- package/dist/{assistant-BEbRPjhn.d.ts → assistant-5heV2GeR.d.ts} +7 -3
- package/dist/assistant-BHZ6fqBR.js +300 -0
- package/dist/astro/index.d.ts +7 -7
- package/dist/astro/index.js +5 -5
- package/dist/{auth-module-CqXdm8qD.js → auth-module-DkqapRZJ.js} +1 -1
- package/dist/{authorization-D1P3VBOd.d.ts → authorization-2Rv1AJQJ.d.ts} +114 -39
- package/dist/{authorization-hooks-CxwsRnfV.d.ts → authorization-hooks-C0GfMvFm.d.ts} +8 -2
- package/dist/authz-topic-D7fPUY4P.js +13 -0
- package/dist/{availability-CebEOfMN.d.ts → availability-CZlcrkqD.d.ts} +49 -8
- package/dist/{base64-CVyKHBBw.js → base64-CEBz6-Jj.js} +9 -2
- package/dist/better-result/index.d.ts +3 -3
- package/dist/{bind-Bvv-Zrdh.d.ts → bind-C2XvMlfg.d.ts} +7 -7
- package/dist/{block-env-h_uPl2f_.d.ts → block-env-BQrtLPyc.d.ts} +4 -4
- package/dist/{block-helpers-disoUWCp.d.ts → block-helpers-BNtM1tqy.d.ts} +1 -1
- package/dist/{block-hooks-DrA_d1dJ.d.ts → block-hooks-CtMsgLQr.d.ts} +2 -2
- package/dist/{block-subjects-Br2MQNFn.d.ts → block-subjects-Bkieh2Xk.d.ts} +1 -1
- package/dist/{block-tables-pj3eHfoP.d.ts → block-tables-DPOgnT3y.d.ts} +1 -1
- package/dist/{block-transport-BEtC_Kis.d.ts → block-transport-CDmOUuLZ.d.ts} +2 -2
- package/dist/blocks/access-requests/index.d.ts +5 -5
- package/dist/blocks/activities/index.d.ts +9 -9
- package/dist/blocks/agents/index.d.ts +4 -4
- package/dist/blocks/ai-cache/index.d.ts +3 -3
- package/dist/blocks/ai-chat/index.d.ts +8 -8
- package/dist/blocks/ai-chat/index.js +80 -20
- package/dist/blocks/ai-files/index.d.ts +3 -3
- package/dist/blocks/ai-keys/index.d.ts +4 -4
- package/dist/blocks/ai-schedules/index.d.ts +3 -3
- package/dist/blocks/announcements/index.d.ts +8 -8
- package/dist/blocks/api-keys/index.d.ts +3 -3
- package/dist/blocks/approvals/index.d.ts +16 -5
- package/dist/blocks/approvals/index.js +7 -4
- package/dist/blocks/assets/index.d.ts +6 -6
- package/dist/blocks/assignment/index.d.ts +7 -7
- package/dist/blocks/attachments/index.d.ts +4 -4
- package/dist/blocks/audit/index.d.ts +13 -13
- package/dist/blocks/audit/index.js +1 -1
- package/dist/blocks/automations/index.d.ts +12 -12
- package/dist/blocks/billable-time/index.d.ts +6 -6
- package/dist/blocks/billing/index.d.ts +9 -9
- package/dist/blocks/billing/index.js +1 -1
- package/dist/blocks/bookings/index.d.ts +6 -6
- package/dist/blocks/bulk/index.d.ts +4 -4
- package/dist/blocks/calendar/index.d.ts +46 -8
- package/dist/blocks/calendar/index.js +306 -47
- package/dist/blocks/catalog/index.d.ts +39 -17
- package/dist/blocks/catalog/index.js +35 -15
- package/dist/blocks/channels/index.d.ts +7 -7
- package/dist/blocks/collections/index.d.ts +6 -6
- package/dist/blocks/comments/index.d.ts +10 -10
- package/dist/blocks/compliance/index.d.ts +5 -5
- package/dist/blocks/connectors/index.d.ts +4 -4
- package/dist/blocks/contacts/index.d.ts +6 -6
- package/dist/blocks/content/index.d.ts +5 -5
- package/dist/blocks/contracts/index.d.ts +6 -6
- package/dist/blocks/courses/index.d.ts +5 -5
- package/dist/blocks/created-by/index.d.ts +2 -2
- package/dist/blocks/custom-fields/index.d.ts +6 -6
- package/dist/blocks/data-lifecycle/index.d.ts +8 -8
- package/dist/blocks/deals/index.d.ts +6 -6
- package/dist/blocks/dispatch/index.d.ts +6 -6
- package/dist/blocks/documents/index.d.ts +4 -4
- package/dist/blocks/documents/index.js +1 -1
- package/dist/blocks/domains/index.d.ts +6 -6
- package/dist/blocks/donations/index.d.ts +6 -6
- package/dist/blocks/drive/index.d.ts +6 -6
- package/dist/blocks/employees/index.d.ts +8 -8
- package/dist/blocks/enrichment/index.d.ts +6 -6
- package/dist/blocks/enrollments/index.d.ts +74 -9
- package/dist/blocks/enrollments/index.js +67 -3
- package/dist/blocks/entitlements/index.d.ts +6 -6
- package/dist/blocks/expenses/index.d.ts +93 -6
- package/dist/blocks/expenses/index.js +95 -4
- package/dist/blocks/field-history/index.d.ts +4 -4
- package/dist/blocks/flags/index.d.ts +5 -5
- package/dist/blocks/forecasts/index.d.ts +6 -6
- package/dist/blocks/forms/index.d.ts +6 -6
- package/dist/blocks/goals/index.d.ts +4 -4
- package/dist/blocks/guests/index.d.ts +6 -6
- package/dist/blocks/hiring/index.d.ts +6 -6
- package/dist/blocks/identities/index.d.ts +5 -5
- package/dist/blocks/imports/index.d.ts +5 -5
- package/dist/blocks/inbox/index.d.ts +11 -11
- package/dist/blocks/inbox/index.js +56 -1
- package/dist/blocks/incidents/index.d.ts +5 -5
- package/dist/blocks/index.d.ts +9 -9
- package/dist/blocks/inventory/index.d.ts +6 -6
- package/dist/blocks/invoices/index.d.ts +26 -10
- package/dist/blocks/invoices/index.js +23 -7
- package/dist/blocks/knowledge/index.d.ts +4 -4
- package/dist/blocks/knowledge/index.js +1 -1
- package/dist/blocks/lead-scoring/index.d.ts +7 -7
- package/dist/blocks/leases/index.d.ts +6 -6
- package/dist/blocks/leave/index.d.ts +88 -15
- package/dist/blocks/leave/index.js +65 -14
- package/dist/blocks/ledger/index.d.ts +6 -6
- package/dist/blocks/mail-sync/index.d.ts +5 -5
- package/dist/blocks/memberships/index.d.ts +2 -2
- package/dist/blocks/memory/index.d.ts +5 -5
- package/dist/blocks/memory/index.js +30 -5
- package/dist/blocks/messaging/index.d.ts +11 -11
- package/dist/blocks/metrics/index.d.ts +6 -6
- package/dist/blocks/mfa/index.d.ts +2 -2
- package/dist/blocks/moderation/index.d.ts +6 -6
- package/dist/blocks/notifications/index.d.ts +11 -11
- package/dist/blocks/notifications/index.js +1 -1
- package/dist/blocks/numbering/index.d.ts +4 -4
- package/dist/blocks/oauth-server/index.d.ts +5 -5
- package/dist/blocks/oauth-server/index.js +1 -1
- package/dist/blocks/onboarding/index.d.ts +5 -5
- package/dist/blocks/orders/index.d.ts +7 -7
- package/dist/blocks/organizations/index.d.ts +8 -8
- package/dist/blocks/outbox/index.d.ts +4 -4
- package/dist/blocks/outbox/index.js +1 -1
- package/dist/blocks/passes/index.d.ts +8 -8
- package/dist/blocks/passes/index.js +2 -2
- package/dist/blocks/permissions/index.d.ts +7 -7
- package/dist/blocks/pipelines/index.d.ts +6 -6
- package/dist/blocks/posts/index.d.ts +5 -5
- package/dist/blocks/profiles/index.d.ts +4 -4
- package/dist/blocks/promotions/index.d.ts +5 -5
- package/dist/blocks/push/index.d.ts +7 -7
- package/dist/blocks/queue/index.d.ts +6 -6
- package/dist/blocks/queue/index.js +2 -2
- package/dist/blocks/quotes/index.d.ts +119 -27
- package/dist/blocks/quotes/index.js +111 -17
- package/dist/blocks/rank/index.d.ts +4 -4
- package/dist/blocks/reactions/index.d.ts +9 -9
- package/dist/blocks/relations/index.d.ts +7 -7
- package/dist/blocks/reminders/index.d.ts +78 -11
- package/dist/blocks/reminders/index.js +118 -6
- package/dist/blocks/reviews/index.d.ts +5 -5
- package/dist/blocks/saved-views/index.d.ts +6 -6
- package/dist/blocks/scores/index.d.ts +5 -5
- package/dist/blocks/search/index.d.ts +7 -7
- package/dist/blocks/security-events/index.d.ts +7 -7
- package/dist/blocks/security-events/index.js +1 -1
- package/dist/blocks/segments/index.d.ts +7 -7
- package/dist/blocks/sequences/index.d.ts +6 -6
- package/dist/blocks/service-accounts/index.d.ts +5 -5
- package/dist/blocks/sessions/index.d.ts +2 -2
- package/dist/blocks/sessions/index.js +1 -1
- package/dist/blocks/settings/index.d.ts +6 -6
- package/dist/blocks/share-links/index.d.ts +5 -5
- package/dist/blocks/shipments/index.d.ts +6 -6
- package/dist/blocks/shipments/index.js +1 -1
- package/dist/blocks/signatures/index.d.ts +5 -5
- package/dist/blocks/signing-keys/index.d.ts +4 -4
- package/dist/blocks/signing-keys/index.js +2 -2
- package/dist/blocks/sla/index.d.ts +7 -7
- package/dist/blocks/sso/index.d.ts +6 -6
- package/dist/blocks/state-machine/index.d.ts +27 -7
- package/dist/blocks/state-machine/index.js +7 -2
- package/dist/blocks/subjects/index.d.ts +6 -6
- package/dist/blocks/tags/index.d.ts +6 -6
- package/dist/blocks/tasks/index.d.ts +9 -9
- package/dist/blocks/teams/index.d.ts +4 -4
- package/dist/blocks/templates/index.d.ts +7 -7
- package/dist/blocks/time-tracking/index.d.ts +7 -7
- package/dist/blocks/timeline/index.d.ts +8 -8
- package/dist/blocks/trash/index.d.ts +6 -6
- package/dist/blocks/undo/index.d.ts +4 -4
- package/dist/blocks/updated-at/index.d.ts +2 -2
- package/dist/blocks/usage/index.d.ts +4 -4
- package/dist/blocks/vercel-marketplace/index.d.ts +5 -5
- package/dist/blocks/vercel-marketplace/index.js +3 -3
- package/dist/blocks/versions/index.d.ts +6 -6
- package/dist/blocks/waitlist/index.d.ts +5 -5
- package/dist/blocks/waitlist/index.js +1 -1
- package/dist/blocks/webhooks/index.d.ts +13 -13
- package/dist/blocks/webhooks/index.js +5 -5
- package/dist/blocks/workflow-editor/index.d.ts +10 -10
- package/dist/blocks/workflow-editor/index.js +65 -2
- package/dist/blocks/workflows/index.d.ts +7 -7
- package/dist/{bookings-Br0VXzaf.d.ts → bookings-Dj5cvXKv.d.ts} +4 -4
- package/dist/{bucket-DvG66r5G.d.ts → bucket-CrsJNHzi.d.ts} +1 -1
- package/dist/chat-sdk/index.d.ts +6 -6
- package/dist/claims/index.d.ts +6 -6
- package/dist/claims/index.js +2 -2
- package/dist/cli/{add-DzgsOE8V.js → add-D2CH8t_B.js} +2 -2
- package/dist/cli/add-De73Ghlh.js +1 -0
- package/dist/cli/{add-CYreXA68.js → add-Duf1-19E.js} +16 -14
- package/dist/cli/{agent-59XWXsRi.js → agent-Tqq3MAqx.js} +26 -1
- package/dist/cli/{app-table-files-BnISa3uY.js → app-table-files-ha8X0rRE.js} +2 -2
- package/dist/cli/app-tables-BIyQcsHH.js +42 -0
- package/dist/cli/{backfill-BLLTSDSa.js → backfill-CLgA6-ll.js} +3 -3
- package/dist/cli/bin.js +1 -1
- package/dist/cli/{blocks-uzh1g_0v.js → blocks-9AeouX4h.js} +2 -2
- package/dist/cli/{blocks-CpRvI7x8.js → blocks-BVB1fMMj.js} +1 -1
- package/dist/cli/{cache-BPWC7tGD.js → cache-aMk9vF1_.js} +1 -1
- package/dist/cli/{codemod-CbJVS_kG.js → codemod-B5wrcnF2.js} +113 -4
- package/dist/cli/{command-BpZ4AuhR.js → command-DM_x_yzZ.js} +6 -0
- package/dist/cli/{completion-DHTT6rjI.js → completion-CusuUJNn.js} +1 -1
- package/dist/cli/{completion-B08Q0xB3.js → completion-Cx2UYd-y.js} +2 -2
- package/dist/cli/{completion-CwL7e93t.js → completion-DbYb3N8e.js} +2 -2
- package/dist/cli/{config-D-Upz3jV.js → config-BeuImpav.js} +1 -1
- package/dist/cli/{content-mapper-Cjkm2Sg3.js → content-mapper-CEtdbshU.js} +2 -2
- package/dist/cli/{db-Diy1OebO.js → db-CeiQzhPq.js} +2 -2
- package/dist/cli/{doctor-D94FEJZs.js → doctor-DaOUWfRN.js} +386 -49
- package/dist/cli/env-BfWbheiC.js +1 -0
- package/dist/cli/{env-BAJn6wCA.js → env-DVV10l_r.js} +1 -1
- package/dist/cli/{gen-Cd0VNDjE.js → gen-BO-2NF-G.js} +14 -14
- package/dist/cli/index.d.ts +1 -1
- package/dist/cli/index.js +7 -7
- package/dist/cli/{init-Co1N9ZoA.js → init-Xit9Hnbb.js} +9 -9
- package/dist/cli/{keys-CxajkV_7.js → keys-DJTN2Avl.js} +1 -1
- package/dist/cli/{live-NFNeZsP7.js → live-CuMpyRjF.js} +2 -2
- package/dist/cli/{mcp-WZ8t7NMz.js → mcp-C7d4j5cq.js} +4 -4
- package/dist/cli/{metadata-BzMkmrZR.js → metadata-D2YvkY2D.js} +3 -3
- package/dist/cli/{migrate-C9gyDAV7.js → migrate-BCXxyTKt.js} +2 -2
- package/dist/cli/{migration-safety-BNi8PIiM.js → migration-safety-DfwTOBQ4.js} +1 -1
- package/dist/cli/{migrations-Ds0J_TmZ.js → migrations-nomh4TBo.js} +2 -2
- package/dist/cli/{module-migration-hFrlzQZ5.js → module-migration--9T_T-zt.js} +2 -2
- package/dist/cli/{moved-BAFPdJz_.js → moved-CT6i1csY.js} +1 -1
- package/dist/cli/{parse-BueItuNJ.js → parse-qgJylE_A.js} +1 -1
- package/dist/cli/{powersync-oFiwgsBi.js → powersync-DB9WZsIv.js} +4 -4
- package/dist/cli/powersync-IBM_v_eJ.js +1 -0
- package/dist/cli/{print-BtreoJSm.js → print-S6IF5rZm.js} +2 -2
- package/dist/cli/{providers-Be2dgyuR.js → providers-BDTcal71.js} +1 -1
- package/dist/cli/{prune-workflows-BPxgRrqY.js → prune-workflows-Zr2DjByi.js} +3 -3
- package/dist/cli/{remove-B4ad996E.js → remove-CPX5Tg5s.js} +6 -6
- package/dist/cli/{render-C-Mfq-o3.js → render-Bp7a7XQ9.js} +18 -4
- package/dist/cli/{run-D2nuyyPo.js → run-BclCFEyP.js} +12 -48
- package/dist/cli/{run-dY9uOC3W.js → run-BlVaLnt_.js} +2 -2
- package/dist/cli/{run-cLdnJHH0.js → run-kgG50x_Z.js} +44 -43
- package/dist/cli/{seed-BpaqqyO8.js → seed-Cn2R91cd.js} +2 -2
- package/dist/cli/seed-DGGjReq4.js +1 -0
- package/dist/cli/{shared-DCHxLAEL.js → shared-D60W9NS-.js} +1 -1
- package/dist/cli/{skills-jZThjL3B.js → skills-DH-yPDny.js} +1 -1
- package/dist/cli/{snapshot-CloKPNxv.js → snapshot-C3_eQUgY.js} +2 -2
- package/dist/cli/{source-Bwyp18Rj.js → source-Bk6XwIAK.js} +1 -1
- package/dist/cli/{spec-DsVq4_qV.js → spec-BDTpcBns.js} +1 -1
- package/dist/cli/{spec-DAUF4ybu.js → spec-C8ydQwZC.js} +3 -3
- package/dist/cli/{sql-layout-CHpEL0oq.js → sql-layout-DVQ20UMi.js} +2 -2
- package/dist/cli/{stack-147NqctC.js → stack-CmhSfY5V.js} +3 -2
- package/dist/cli/{sync-DZu1r34s.js → sync-D-WO4Yvl.js} +4 -4
- package/dist/cli/{table-D9FbJS8h.js → table-k5OABwy3.js} +1 -1
- package/dist/cli/{upgrade-Bpvi70zm.js → upgrade-DGe5Pv6v.js} +5 -5
- package/dist/cli/{upgrade-A-BALvp3.js → upgrade-XdhMuHAu.js} +3 -3
- package/dist/cli/{version-B59mZJoy.js → version-DKfeme2I.js} +1 -1
- package/dist/client/index.d.ts +6 -6
- package/dist/client/index.js +1 -1
- package/dist/client/native/index.d.ts +5 -5
- package/dist/client/native/index.js +2 -2
- package/dist/{client-Bky2z09B.js → client-DrejIxsu.js} +1 -1
- package/dist/{cloud-event-DXWmXrus.d.ts → cloud-event-BEmAUdl1.d.ts} +1 -1
- package/dist/commerce/index.js +1 -1
- package/dist/{compiler-qlXlokKn.d.ts → compiler-BOW4yPcW.d.ts} +2 -2
- package/dist/{composite-CIxjVcL1.d.ts → composite-B-oAH16L.d.ts} +7 -7
- package/dist/{composite-D2JnIiHt.js → composite-BidYZWZY.js} +3 -3
- package/dist/config/index.d.ts +3 -3
- package/dist/config/index.js +4 -4
- package/dist/{config-BZWSFxkG.js → config-BKxjItQ-.js} +3 -3
- package/dist/{config-DQP0IvDX.js → config-BrRlSxhx.js} +1 -1
- package/dist/{connectors-Cf2LeAuZ.d.ts → connectors-CrLRW4Ol.d.ts} +4 -4
- package/dist/{context-CderJRZf.d.ts → context-yfOlyAqb.d.ts} +3 -3
- package/dist/contract/index.d.ts +9 -9
- package/dist/{controller-DaWA9eWS.d.ts → controller-CAcLEndc.d.ts} +1 -1
- package/dist/{conversion-C9rndpEI.d.ts → conversion-s1NtB6S-.d.ts} +1 -1
- package/dist/create/index.d.ts +3 -3
- package/dist/create/index.js +3 -3
- package/dist/create/lite/index.d.ts +4 -4
- package/dist/create/lite/index.js +2 -2
- package/dist/credentials/index.d.ts +4 -4
- package/dist/credentials/index.js +1 -1
- package/dist/{cron-route-DSITg1yC.js → cron-route-uTsC2BD0.js} +1 -1
- package/dist/{data-engine-CMENsp3d.d.ts → data-engine-CX1oYDZl.d.ts} +1 -1
- package/dist/{define-ITQA71fw.d.ts → define-BvkaC3Oh.d.ts} +5 -5
- package/dist/{define-B6D55cO0.js → define-Duh2mMYk.js} +1 -1
- package/dist/{define-block-COmMkx2x.d.ts → define-block-Ds3aLZwz.d.ts} +12 -12
- package/dist/{documents-DeZw83ue.d.ts → documents-Btk0MhC0.d.ts} +3 -3
- package/dist/edge/index.d.ts +9 -9
- package/dist/edge/index.js +7 -7
- package/dist/elysia/index.d.ts +1 -1
- package/dist/elysia/index.js +1 -1
- package/dist/{embeddings-rVR2AKVz.d.ts → embeddings-CI6P_mtD.d.ts} +1 -1
- package/dist/{ended-NC_ZesY4.d.ts → ended-iq2wp8fc.d.ts} +8 -3
- package/dist/{entitlements-BefkpQIz.d.ts → entitlements-Dhu-4vlH.d.ts} +2 -2
- package/dist/env/index.d.ts +1 -1
- package/dist/{messages-CRk1g6oe.js → errors-0Qid9fGz.js} +107 -3
- package/dist/eve/index.d.ts +9 -9
- package/dist/eve/index.js +3 -3
- package/dist/{eve-DIKjuPp5.d.ts → eve-DleYrhwj.d.ts} +2 -2
- package/dist/{event-calendar-DUtFyRrv.d.ts → event-calendar-DPMcqy7Q.d.ts} +1 -1
- package/dist/events/index.d.ts +3 -3
- package/dist/{events-DVt3Z9hw.d.ts → events-DCw3c6pj.d.ts} +1 -1
- package/dist/{executor-DqNRrFxx.d.ts → executor-B-o7QMPp.d.ts} +16 -2
- package/dist/{executor-CFmee_nV.d.ts → executor-DoSNec_H.d.ts} +1 -1
- package/dist/{executor-CHnoKOxk.d.ts → executor-H8ZLkeHj.d.ts} +4 -4
- package/dist/{executor-BDMqPbVU.js → executor-RYiR4z47.js} +71 -37
- package/dist/expo/index.d.ts +4 -4
- package/dist/expo/index.js +7 -7
- package/dist/{field-errors-D1meOs_H.d.ts → field-errors-DXZk9Qjt.d.ts} +10 -10
- package/dist/{fields-CAVk9dxX.d.ts → fields-CP46SPNE.d.ts} +1 -1
- package/dist/{filter-evaluate-Bz3Fzhz2.d.ts → filter-evaluate-Bkbb0nuQ.d.ts} +1 -1
- package/dist/{filter-query-DV-x8fio.d.ts → filter-query-Xj40B5KT.d.ts} +1 -1
- package/dist/{flags-6emyAXly.d.ts → flags-Cuew4tGx.d.ts} +2 -2
- package/dist/flags-sdk/index.d.ts +2 -2
- package/dist/{framework-BFlaPuvv.d.ts → framework-Byr_j8G-.d.ts} +8 -8
- package/dist/{framework-ChzJYkJW.js → framework-z3KTPRjk.js} +4 -4
- package/dist/{gateway-DaekJ_Me.d.ts → gateway-B9k89AC4.d.ts} +3 -3
- package/dist/h3/index.d.ts +1 -1
- package/dist/h3/index.js +1 -1
- package/dist/h3/v1/index.d.ts +1 -1
- package/dist/h3/v1/index.js +1 -1
- package/dist/hono/index.d.ts +9 -10
- package/dist/hono/index.js +8 -8
- package/dist/{inbox-DavCzW7b.d.ts → inbox-yGfUVQr2.d.ts} +61 -6
- package/dist/{index-Dvpu22CJ.d.ts → index-1uV69AZq.d.ts} +1 -1
- package/dist/{index-BbDiBiKt.d.ts → index-6H-8Ib1w.d.ts} +4 -4
- package/dist/{index-M1izbwbN.d.ts → index-Ag-T51Jl.d.ts} +1 -1
- package/dist/{index-ZQZMQF4l.d.ts → index-BUluRi0b.d.ts} +6 -6
- package/dist/{index-BQlLxOj5.d.ts → index-C78VPlXW.d.ts} +1 -1
- package/dist/{index-D18su_r5.d.ts → index-CY612vAg.d.ts} +10 -5
- package/dist/{index-DXUiRyEk.d.ts → index-CnzGRpeH.d.ts} +5 -5
- package/dist/{index-BIAtapnD.d.ts → index-Dbd1E5Au.d.ts} +5 -5
- package/dist/{index-ChLuLxy-.d.ts → index-Dv6lfL5p.d.ts} +14 -14
- package/dist/{index-8w4OB5En.d.ts → index-F6lsRlsr.d.ts} +1 -1
- package/dist/{index-D9aV0Fvx.d.ts → index-kkZwp5M1.d.ts} +6 -6
- package/dist/{index-C13UgV67.d.ts → index-lMApFSAd.d.ts} +5 -5
- package/dist/index.d.ts +7 -7
- package/dist/index.js +1 -1
- package/dist/{instances-D9YrkoAy.js → instances-xQ2lupVE.js} +218 -11
- package/dist/jwks-cache-CBKtICNV.js +114 -0
- package/dist/{jws-B8p0ppgh.js → jws-De9qjIPV.js} +1 -1
- package/dist/{kit-9pZP5iLU.js → kit-D5rRAKWJ.js} +2 -2
- package/dist/{kit-OgFOW9rX.d.ts → kit-DCuO1ZhB.d.ts} +4 -4
- package/dist/{knowledge-DdZzUTQ-.js → knowledge-CJnZOaix.js} +67 -7
- package/dist/{knowledge-BBC2sfAY.d.ts → knowledge-DWXAxvkN.d.ts} +82 -11
- package/dist/lint/index.d.ts +1 -1
- package/dist/list/index.d.ts +3 -3
- package/dist/{list-query-C7V8kUaD.d.ts → list-query-D1h3Dmnk.d.ts} +3 -3
- package/dist/mapper/bin.js +5 -5
- package/dist/mcp/index.d.ts +3 -3
- package/dist/mcp/index.js +5 -5
- package/dist/mcp/sdk/index.d.ts +6 -6
- package/dist/mcp/sdk/index.js +2 -2
- package/dist/{messaging-D5z2TR37.d.ts → messaging-Bfe4p9Pm.d.ts} +4 -4
- package/dist/{model-messages-BcrkjsPE.js → model-messages-CIHqP7Z3.js} +1 -1
- package/dist/nestjs/index.d.ts +2 -2
- package/dist/nestjs/index.js +1 -1
- package/dist/next/client/index.d.ts +1 -1
- package/dist/next/index.d.ts +331 -79
- package/dist/next/index.js +520 -105
- package/dist/node/index.d.ts +2 -2
- package/dist/node/index.js +1 -1
- package/dist/{operations-t_hlXkS4.d.ts → operations-SWpzGC_K.d.ts} +1 -1
- package/dist/{options-D4dxMGHF.js → options-Bgnm4pTD.js} +1 -0
- package/dist/{options-C13-dVMH.js → options-D-jiqb0l.js} +2 -0
- package/dist/{options-C9bp3SEA.js → options-DqmTs2nv.js} +2 -1
- package/dist/{options-CuPWezcV.js → options-RYbyaVhv.js} +3 -1
- package/dist/options-SOjQVgfS.js +37 -0
- package/dist/{options-JnPEVbBJ.js → options-ScQ6Hnxo.js} +2 -1
- package/dist/{options-CuaWhsQS.js → options-X61tvckX.js} +2 -1
- package/dist/orpc/index.d.ts +8 -8
- package/dist/orpc/index.js +6 -6
- package/dist/otel/index.d.ts +2 -2
- package/dist/otel/index.js +4 -4
- package/dist/{outbox-7zgh-7nw.d.ts → outbox-BFZS6Kvz.d.ts} +4 -4
- package/dist/{permissions-C8p6RlIZ.d.ts → permissions-2UlVQDzY.d.ts} +1 -1
- package/dist/{pool-D-4HyhuW.d.ts → pool-yO-LzZAd.d.ts} +3 -3
- package/dist/{ports-CmEXVqhg.js → ports-CkygVOeE.js} +2 -2
- package/dist/{ports-C-8uduFM.d.ts → ports-prqYrReN.d.ts} +1 -1
- package/dist/postgres/index.d.ts +4 -4
- package/dist/{postgrest-DZtM2nIS.d.ts → postgrest-Bjain6nf.d.ts} +1 -1
- package/dist/powersync/index.d.ts +6 -6
- package/dist/preset/index.d.ts +3 -3
- package/dist/preset/index.js +3 -3
- package/dist/{preset-B_sSI9vg.js → preset-BvHNleCo.js} +2 -2
- package/dist/{project-DVlXQGEp.js → project-CBvowdKY.js} +5 -5
- package/dist/{provider-BI0KC4u5.d.ts → provider-bIAzxVMB.d.ts} +1 -1
- package/dist/{push-token-D41lOoE8.d.ts → push-token-DtqJeg8w.d.ts} +1 -1
- package/dist/query/index.d.ts +1 -1
- package/dist/{rate-limit-CRhlLFhP.js → rate-limit-BJ4EMdAy.js} +1 -1
- package/dist/react/index.d.ts +9 -9
- package/dist/react/index.js +3 -3
- package/dist/react/native/index.d.ts +1 -1
- package/dist/react/native/index.js +1 -1
- package/dist/react/server.d.ts +9 -9
- package/dist/react/server.js +2 -2
- package/dist/react/session.d.ts +2 -32
- package/dist/react/session.js +1 -37
- package/dist/{react-COIov1yC.js → react-DZ7AW2yf.js} +2 -2
- package/dist/react-router/index.d.ts +6 -6
- package/dist/react-router/index.js +5 -5
- package/dist/realtime/index.d.ts +6 -6
- package/dist/{record-form-DU2EoVsv.d.ts → record-form-BQA-lawE.d.ts} +1 -1
- package/dist/{recordings-D69Va7gP.d.ts → recordings-Bw5LoocX.d.ts} +1 -1
- package/dist/records/index.d.ts +9 -9
- package/dist/{refusal-CGi-0Q18.d.ts → refusal-BX1EvmpJ.d.ts} +3 -3
- package/dist/{refusal-5c6UMpUP.js → refusal-rnbr6RZD.js} +2 -2
- package/dist/{refresh-B8t_KE3s.js → request-kind-tNDM5Z_o.js} +15 -31
- package/dist/{resolve--LfVoOMg.d.ts → resolve-BIpQRhvF.d.ts} +97 -36
- package/dist/{resolve-FW8oeXvh.js → resolve-CZV31iCm.js} +402 -392
- package/dist/{resolved-names-h-3UbKcw.js → resolved-names-b6P2--jK.js} +1 -1
- package/dist/{resource-BbWk4hoP.js → resource-COaS9_i8.js} +1 -1
- package/dist/{resource-DWllVW8k.d.ts → resource-CaYpB07K.d.ts} +1 -1
- package/dist/{resource-execute-DUBYKTYU.d.ts → resource-execute-A1NbR-sd.d.ts} +2 -2
- package/dist/{resource-types-RgaljPs0.d.ts → resource-types-CTcc37WL.d.ts} +4 -4
- package/dist/{resources-Bki1J4jy.d.ts → resources-13ZFX1G6.d.ts} +2 -2
- package/dist/{resources-DYSx9NYM.js → resources-DhiK3yLO.js} +1 -1
- package/dist/{respond-DLH4tD2d.js → respond-8A3EOo61.js} +1 -1
- package/dist/{respond-BYOV7KZp.d.ts → respond-CAxhkwAi.d.ts} +15 -19
- package/dist/{sales-lines-DuNVoKHA.d.ts → sales-lines-wQHuL-pa.d.ts} +1 -1
- package/dist/{sandboxes-B2hBoBvJ.d.ts → sandboxes-BF9RxxCU.d.ts} +1 -1
- package/dist/{scores-FAORS4qU.d.ts → scores-Ce8MxQX9.d.ts} +5 -5
- package/dist/server/index.d.ts +58 -36
- package/dist/server/index.js +35 -41
- package/dist/{server-types-C2hlvhP4.d.ts → server-types-DEjva0MW.d.ts} +19 -17
- package/dist/{session-B4VasaAA.d.ts → session-BA0YDmjt.d.ts} +11 -12
- package/dist/session-BjPYE4dT.js +180 -0
- package/dist/session-CeYL3EPm.d.ts +77 -0
- package/dist/{session-status-D8CBxCqv.d.ts → session-status-Df6tuKY9.d.ts} +4 -3
- package/dist/{sign-in-CX1a5i2P.d.ts → sign-in-4u4vLtXG.d.ts} +16 -4
- package/dist/{sign-in-CxdoTEp5.js → sign-in-djgvab1X.js} +3 -3
- package/dist/{sign-in-BMm1xhKq.js → sign-in-k2lXELeC.js} +2 -2
- package/dist/{signatures-CBn7w4VR.js → signatures-DK01D2S7.js} +1 -1
- package/dist/{signers-6ih6i9aq.d.ts → signers-Dw9DBZjJ.d.ts} +4 -4
- package/dist/{signing-keys-De09WNJ3.d.ts → signing-keys-FglIQ6iL.d.ts} +2 -2
- package/dist/{signing-keys-BC5_hJN5.js → signing-keys-sGaXklwD.js} +1 -1
- package/dist/{snapshot-CVMSyTHH.js → snapshot-BOA7lkRg.js} +9 -17
- package/dist/solid/index.d.ts +10 -10
- package/dist/solid/index.js +1 -1
- package/dist/solid-start/index.d.ts +6 -6
- package/dist/solid-start/index.js +5 -5
- package/dist/spec/index.d.ts +2 -2
- package/dist/sql/index.d.ts +5 -5
- package/dist/sql/index.js +3 -3
- package/dist/{sql-C9nO-Mat.js → sql-BChN3Hxv.js} +7382 -2219
- package/dist/sqlite/index.d.ts +3 -3
- package/dist/{sso-CuzAjsc8.d.ts → sso-B7w7h8RJ.d.ts} +3 -3
- package/dist/ssr/index.d.ts +5 -6
- package/dist/ssr/index.js +3 -3
- package/dist/storage/index.d.ts +3 -3
- package/dist/storage/index.js +1 -1
- package/dist/streams/index.d.ts +1 -1
- package/dist/{subject-readers-BlD8tALG.d.ts → subject-readers-YL8H9G8X.d.ts} +2 -2
- package/dist/{subjects-Bv2dPflD.d.ts → subjects-CVjAE7nz.d.ts} +3 -3
- package/dist/{support-DxYI6sDM.d.ts → support-BwtMgjVg.d.ts} +4 -4
- package/dist/{support-view-DSmCett7.d.ts → support-view-GykHOIQ2.d.ts} +1 -1
- package/dist/svelte/index.d.ts +9 -9
- package/dist/svelte/index.js +1 -1
- package/dist/sveltekit/index.d.ts +7 -7
- package/dist/sveltekit/index.js +5 -5
- package/dist/{tags--k2fbPfO.d.ts → tags-CAfvzA1U.d.ts} +1 -1
- package/dist/tanstack-db/index.d.ts +3 -3
- package/dist/tanstack-start/index.d.ts +6 -6
- package/dist/tanstack-start/index.js +5 -5
- package/dist/{tenant-gezshhcs.d.ts → tenant-lBgoqg9T.d.ts} +1 -1
- package/dist/testing/index.d.ts +27 -28
- package/dist/testing/index.js +5 -5
- package/dist/{timeline-Bq658xsi.d.ts → timeline-CrO48Qa6.d.ts} +5 -5
- package/dist/{topic-BVq5RdsI.d.ts → topic-x-mrN_Ff.d.ts} +5 -5
- package/dist/{types-C8UyJOPJ.d.ts → types-6PMaLIyw.d.ts} +3 -3
- package/dist/{types-Dh2OGEW5.d.ts → types-BdhE7I8Z.d.ts} +5 -5
- package/dist/{types-BkYEUWdz.d.ts → types-BzIYSSWK.d.ts} +16 -1
- package/dist/{types-DCoqai8o.d.ts → types-C7K8mu9B.d.ts} +45 -15
- package/dist/{types-d0JBRTAg.d.ts → types-C9XfFGmA.d.ts} +128 -13
- package/dist/{types-hTj5OuFo.d.ts → types-CJqNGQKb.d.ts} +2 -2
- package/dist/{types-TH3zlMiM.d.ts → types-D5uf0l4_.d.ts} +1 -1
- package/dist/{types-BBqP9H6w.d.ts → types-auvHrNWC.d.ts} +4 -4
- package/dist/{undo-22ofP6Zp.d.ts → undo-CdKp5_2X.d.ts} +2 -2
- package/dist/{usage-CNCT6_3D.d.ts → usage-DZ8j5Tm_.d.ts} +4 -4
- package/dist/{vault-yGQD5Rdl.d.ts → vault-DjbG4XQS.d.ts} +2 -2
- package/dist/vercel-connect/index.d.ts +1 -1
- package/dist/vercel-sandbox/index.d.ts +2 -2
- package/dist/{verify-DY_j4GPZ.js → verify-96j8d5ps.js} +1 -1
- package/dist/{verify-BQu3eBNW.d.ts → verify-HOiu3lRR.d.ts} +2 -2
- package/dist/{view-BfEqjZJ_.js → view-Ch0Qtr36.js} +1 -1
- package/dist/{view-Cy2XxYp1.d.ts → view-DdDY88SC.d.ts} +1 -1
- package/dist/vue/index.d.ts +10 -10
- package/dist/vue/index.js +1 -1
- package/dist/{watch-topic-BOclyLFd.d.ts → watch-topic-D6bcqOrJ.d.ts} +1 -1
- package/dist/workflow-sdk/builder/index.d.ts +29 -5
- package/dist/workflow-sdk/builder/index.js +39 -12
- package/dist/workflow-sdk/index.d.ts +1 -1
- package/dist/workflow-sdk/index.js +2 -2
- package/dist/workflow-sdk/world/index.d.ts +1 -1
- package/dist/workflow-sdk/world/index.js +1 -1
- package/dist/{workflow-sdk-BL3wzkdp.js → workflow-sdk-CBS8L2Ku.js} +5 -0
- package/dist/{workflow-sdk-yIkECybp.d.ts → workflow-sdk-D3H10W5h.d.ts} +3 -3
- package/dist/{workflows-BljkWRxE.d.ts → workflows-BI4yKqFh.d.ts} +3 -3
- package/dist/yjs/index.d.ts +2 -2
- package/dist/yjs/index.js +1 -1
- package/package.json +1 -1
- package/schemas/config-v1.json +126 -0
- package/schemas/doctor-report-v1.json +4 -0
- package/skills/better-supabase-auth/SKILL.md +45 -11
- package/dist/cli/add-BaB3y1lv.js +0 -1
- package/dist/cli/env-UN6PJFX6.js +0 -1
- package/dist/cli/powersync-J2Kms2NT.js +0 -1
- package/dist/cli/seed-ByLneY1H.js +0 -1
- package/dist/errors-D3-4c-XF.js +0 -102
- package/dist/http-BDC1IvBX.js +0 -27
- package/dist/jwks-cache-IZaiICAV.js +0 -48
- package/dist/options-Itq7QYoW.js +0 -20
- package/dist/refresh-BtbC2rZe.d.ts +0 -52
- package/dist/snapshot-BGsJw9xn.d.ts +0 -83
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { b as DbError, f as Result } from "./result-DTOQRyGY.js";
|
|
2
|
-
import { o as EventHub } from "./events-
|
|
3
|
-
import { o as BlockTenant } from "./block-helpers-
|
|
4
|
-
import { mt as QuerySpec } from "./define-
|
|
5
|
-
import { tt as TemplateValues } from "./bucket-
|
|
6
|
-
import { n as DataEngine } from "./data-engine-
|
|
7
|
-
import { Dn as GeneratedBlocks } from "./define-block-
|
|
8
|
-
import { _ as TopicMessage, c as RealtimeClient, d as SubscribeOptions, i as PresenceOptions, s as PresenceSubscription } from "./topic-
|
|
9
|
-
import { t as ClientPorts } from "./ports-
|
|
10
|
-
import { a as ClientAuth } from "./bind-
|
|
11
|
-
import { a as LiveSource, r as LiveCountSeed } from "./index-
|
|
2
|
+
import { o as EventHub } from "./events-DCw3c6pj.js";
|
|
3
|
+
import { o as BlockTenant } from "./block-helpers-BNtM1tqy.js";
|
|
4
|
+
import { mt as QuerySpec } from "./define-BvkaC3Oh.js";
|
|
5
|
+
import { tt as TemplateValues } from "./bucket-CrsJNHzi.js";
|
|
6
|
+
import { n as DataEngine } from "./data-engine-CX1oYDZl.js";
|
|
7
|
+
import { Dn as GeneratedBlocks } from "./define-block-Ds3aLZwz.js";
|
|
8
|
+
import { _ as TopicMessage, c as RealtimeClient, d as SubscribeOptions, i as PresenceOptions, s as PresenceSubscription } from "./topic-x-mrN_Ff.js";
|
|
9
|
+
import { t as ClientPorts } from "./ports-prqYrReN.js";
|
|
10
|
+
import { a as ClientAuth } from "./bind-C2XvMlfg.js";
|
|
11
|
+
import { a as LiveSource, r as LiveCountSeed } from "./index-lMApFSAd.js";
|
|
12
12
|
import { SupabaseClient } from "@supabase/supabase-js";
|
|
13
13
|
import { QueryClient } from "@tanstack/query-core";
|
|
14
14
|
import { StandardSchemaV1 } from "@standard-schema/spec";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { D as ValidationIssue } from "./result-DTOQRyGY.js";
|
|
2
|
-
import { c as FilterFieldLabels, d as FilterLimits, h as FilterQuery, l as FilterFieldType, o as FilterField, s as FilterFieldInfo } from "./filter-query-
|
|
2
|
+
import { c as FilterFieldLabels, d as FilterLimits, h as FilterQuery, l as FilterFieldType, o as FilterField, s as FilterFieldInfo } from "./filter-query-Xj40B5KT.js";
|
|
3
3
|
/** One field of `defineRuleFields`: a value rules on the subject type may test. */
|
|
4
4
|
interface RuleFieldDefinition {
|
|
5
5
|
readonly type: FilterFieldType;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { h as FilterQuery, l as FilterFieldType, r as FilterClock } from "./filter-query-
|
|
1
|
+
import { h as FilterQuery, l as FilterFieldType, r as FilterClock } from "./filter-query-Xj40B5KT.js";
|
|
2
2
|
/**
|
|
3
3
|
* A field a filter tree can test on a plain record. `FilterFieldInfo` from a
|
|
4
4
|
* list definition fits; the rules block builds these from its field catalog.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { T as ErrorMapper } from "./result-DTOQRyGY.js";
|
|
2
|
-
import { r as BlockTemporalOptions } from "./block-helpers-
|
|
3
|
-
import { t as BlockTransport } from "./block-transport-
|
|
2
|
+
import { r as BlockTemporalOptions } from "./block-helpers-BNtM1tqy.js";
|
|
3
|
+
import { t as BlockTransport } from "./block-transport-CDmOUuLZ.js";
|
|
4
4
|
type FlagType = "boolean" | "string" | "number" | "object";
|
|
5
5
|
type FlagValue = boolean | string | number | null | FlagValue[] | {
|
|
6
6
|
[key: string]: FlagValue;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { r as AuthState } from "../resolve
|
|
2
|
-
import { a as FlagContextOptions, b as FlagsProvider, i as FlagContext, s as FlagDefinition, x as FlagsProviderOptions, y as FlagValue } from "../flags-
|
|
1
|
+
import { r as AuthState } from "../resolve-BIpQRhvF.js";
|
|
2
|
+
import { a as FlagContextOptions, b as FlagsProvider, i as FlagContext, s as FlagDefinition, x as FlagsProviderOptions, y as FlagValue } from "../flags-Cuew4tGx.js";
|
|
3
3
|
import { t as FLAG_OVERRIDES_COOKIE } from "../cookie-DDkqvqe4.js";
|
|
4
4
|
/** One Flags SDK entity; Vercel Flags targets it as `<name>.id`. */
|
|
5
5
|
interface FlagsSdkEntity {
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { O as AnyFunctions, k as AnyModels } from "./types-
|
|
2
|
-
import {
|
|
3
|
-
import { n as AuthSession } from "./view-
|
|
4
|
-
import { l as ServerOptions } from "./server-types-
|
|
5
|
-
import { n as SessionEntryConfig } from "./session-
|
|
6
|
-
import { n as BetterSupabaseContributions } from "./composite-
|
|
7
|
-
import { c as ResourceLoaderContext } from "./kit-
|
|
8
|
-
import { t as RefusalRedirects } from "./refusal-
|
|
1
|
+
import { O as AnyFunctions, k as AnyModels } from "./types-BzIYSSWK.js";
|
|
2
|
+
import { m as SessionSnapshot } from "./resolve-BIpQRhvF.js";
|
|
3
|
+
import { n as AuthSession } from "./view-DdDY88SC.js";
|
|
4
|
+
import { l as ServerOptions } from "./server-types-DEjva0MW.js";
|
|
5
|
+
import { n as SessionEntryConfig } from "./session-BA0YDmjt.js";
|
|
6
|
+
import { n as BetterSupabaseContributions } from "./composite-B-oAH16L.js";
|
|
7
|
+
import { c as ResourceLoaderContext } from "./kit-DCuO1ZhB.js";
|
|
8
|
+
import { t as RefusalRedirects } from "./refusal-BX1EvmpJ.js";
|
|
9
9
|
/**
|
|
10
10
|
* What the framework factories (`createSvelteKit`, `createReactRouter`,
|
|
11
11
|
* `createTanStackStart`) take.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { s as snapshotOf } from "./snapshot-
|
|
2
|
-
import { i as toSession } from "./view-
|
|
3
|
-
import { t as withBetterSupabase } from "./composite-
|
|
1
|
+
import { s as snapshotOf } from "./snapshot-BOA7lkRg.js";
|
|
2
|
+
import { i as toSession } from "./view-Ch0Qtr36.js";
|
|
3
|
+
import { t as withBetterSupabase } from "./composite-BidYZWZY.js";
|
|
4
4
|
// src/server/framework.ts
|
|
5
5
|
/**
|
|
6
6
|
* Every caller: the framework factories guard per loader, action or route
|
|
@@ -19,7 +19,7 @@ const EVERY_CALLER = [
|
|
|
19
19
|
*/
|
|
20
20
|
function frameworkEntry(server, options, expose) {
|
|
21
21
|
return withBetterSupabase(server, {
|
|
22
|
-
refresh: options.refresh ??
|
|
22
|
+
refresh: options.refresh ?? true,
|
|
23
23
|
allow: EVERY_CALLER,
|
|
24
24
|
expose,
|
|
25
25
|
...options.verifySession === void 0 ? {} : { verifySession: options.verifySession },
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/// <reference lib="esnext.temporal" />
|
|
2
2
|
import { b as DbError } from "./result-DTOQRyGY.js";
|
|
3
|
-
import { _ as JobHandler } from "./types-
|
|
4
|
-
import {
|
|
5
|
-
import { a as Usage, c as UsageEntry, h as UsageStatus } from "./usage-
|
|
3
|
+
import { _ as JobHandler } from "./types-BdhE7I8Z.js";
|
|
4
|
+
import { b as AiModelInput, t as AiChat } from "./ai-chat-BZhfCHHr.js";
|
|
5
|
+
import { a as Usage, c as UsageEntry, h as UsageStatus } from "./usage-DZ8j5Tm_.js";
|
|
6
6
|
import { LanguageModelUsage } from "ai";
|
|
7
7
|
/** Token counts and the gateway's cost of one generation. */
|
|
8
8
|
interface AiUsage {
|
package/dist/h3/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as RouteGuardOptions } from "../refusal-
|
|
1
|
+
import { n as RouteGuardOptions } from "../refusal-BX1EvmpJ.js";
|
|
2
2
|
import { t as Validated } from "../shared-DsBcvj6q.js";
|
|
3
3
|
import { AnyEntry, Contributions } from "@supabase/middleware";
|
|
4
4
|
/** The part of an H3 2 event the bridge reads and writes. */
|
package/dist/h3/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { a as toResponse, i as nitroCloudflareEnv, n as bufferInPlace, t as around } from "../shared-Ci1g9nl4.js";
|
|
2
|
-
import { a as routeRefusal, n as guardedLocals, t as errorResponse } from "../refusal-
|
|
2
|
+
import { a as routeRefusal, n as guardedLocals, t as errorResponse } from "../refusal-rnbr6RZD.js";
|
|
3
3
|
// src/bridges/h3.ts
|
|
4
4
|
/**
|
|
5
5
|
* Runs an entry array as H3 2 middleware (`app.use(...)`, Nitro and Nuxt server
|
package/dist/h3/v1/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as RouteGuardOptions } from "../../refusal-
|
|
1
|
+
import { n as RouteGuardOptions } from "../../refusal-BX1EvmpJ.js";
|
|
2
2
|
import { t as Validated } from "../../shared-DsBcvj6q.js";
|
|
3
3
|
import { n as NodeRequestHead, t as NodeHeaderTarget } from "../../node-headers-TnS4T7V_.js";
|
|
4
4
|
import { AnyEntry, Contributions } from "@supabase/middleware";
|
package/dist/h3/v1/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as routeRefusal, n as guardedLocals, t as errorResponse } from "../../refusal-
|
|
1
|
+
import { a as routeRefusal, n as guardedLocals, t as errorResponse } from "../../refusal-rnbr6RZD.js";
|
|
2
2
|
import { t as beforeRoute } from "../../before-route-Ra3OhI2x.js";
|
|
3
3
|
import { n as headRequest, t as applyWebHeaders } from "../../node-headers-C3FExlg9.js";
|
|
4
4
|
// src/h3/v1/index.ts
|
package/dist/hono/index.d.ts
CHANGED
|
@@ -1,14 +1,13 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { r as AuthState } from "../resolve
|
|
3
|
-
import { t as BetterSupabase } from "../define-
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import { i as ResourceContext, l as ResourceRouteOptions, o as ResourceHooks, r as ResourceAction, t as ActionArgs } from "../resource-types-RgaljPs0.js";
|
|
1
|
+
import { O as AnyFunctions, Ut as AnyAuthorizer, dt as TableKey, k as AnyModels, nn as AuthzVersionCache, rn as PermissionRef } from "../types-BzIYSSWK.js";
|
|
2
|
+
import { m as SessionSnapshot, r as AuthState } from "../resolve-BIpQRhvF.js";
|
|
3
|
+
import { t as BetterSupabase } from "../define-BvkaC3Oh.js";
|
|
4
|
+
import { n as AuthSession } from "../view-DdDY88SC.js";
|
|
5
|
+
import { l as ServerOptions, o as ServerContext, r as BetterServer, u as SharedServer } from "../server-types-DEjva0MW.js";
|
|
6
|
+
import { i as MiddlewareOptions, r as GuardOptions } from "../respond-CAxhkwAi.js";
|
|
7
|
+
import { c as ResourceLoaderContext, s as BlockRequireOptions } from "../kit-DCuO1ZhB.js";
|
|
8
|
+
import { i as ResourceContext, l as ResourceRouteOptions, o as ResourceHooks, r as ResourceAction, t as ActionArgs } from "../resource-types-CTcc37WL.js";
|
|
10
9
|
import { t as CorsOptions } from "../cors-9SDsndtb.js";
|
|
11
|
-
import { t as defineAction } from "../resource-execute-
|
|
10
|
+
import { t as defineAction } from "../resource-execute-A1NbR-sd.js";
|
|
12
11
|
import { i as RouteRateLimitRule, n as RateLimitVerdict, r as RateLimiter, t as RateLimitRouteOptions } from "../rate-limit-C89Yzwd9.js";
|
|
13
12
|
import { AnyEntry, Contributions, ValidateEntries } from "@supabase/middleware";
|
|
14
13
|
import { Context, ErrorHandler, Hono, MiddlewareHandler } from "hono";
|
package/dist/hono/index.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { r as dbErrorOf } from "../errors-B7tCfCvX.js";
|
|
2
2
|
import { o as problemResponse } from "../problem-C0SVHhd3.js";
|
|
3
|
-
import { s as snapshotOf } from "../snapshot-
|
|
4
|
-
import { i as toSession } from "../view-
|
|
5
|
-
import { a as unexpectedResponse, c as extendServer, n as flushEvents, s as createServer } from "../adapter-
|
|
6
|
-
import { n as defaultExpose, o as respond, t as assertCookieRefresh } from "../respond-
|
|
7
|
-
import { t as withBetterSupabase } from "../composite-
|
|
8
|
-
import { i as defineAction, t as defineResource } from "../resource-
|
|
9
|
-
import { i as requireCaller } from "../kit-
|
|
10
|
-
import { t as matchResource } from "../resources-
|
|
3
|
+
import { s as snapshotOf } from "../snapshot-BOA7lkRg.js";
|
|
4
|
+
import { i as toSession } from "../view-Ch0Qtr36.js";
|
|
5
|
+
import { a as unexpectedResponse, c as extendServer, n as flushEvents, s as createServer } from "../adapter-ddQ9Hzka.js";
|
|
6
|
+
import { n as defaultExpose, o as respond, t as assertCookieRefresh } from "../respond-8A3EOo61.js";
|
|
7
|
+
import { t as withBetterSupabase } from "../composite-BidYZWZY.js";
|
|
8
|
+
import { i as defineAction, t as defineResource } from "../resource-COaS9_i8.js";
|
|
9
|
+
import { i as requireCaller } from "../kit-D5rRAKWJ.js";
|
|
10
|
+
import { t as matchResource } from "../resources-DhiK3yLO.js";
|
|
11
11
|
import { r as handoffOf } from "../shared-Ci1g9nl4.js";
|
|
12
12
|
import { n as corsConfig } from "../cors-DrDFLMNn.js";
|
|
13
13
|
import { t as rateLimitGate } from "../rate-limit-DXJbLVg0.js";
|
|
@@ -1,11 +1,63 @@
|
|
|
1
1
|
/// <reference lib="esnext.temporal" />
|
|
2
2
|
import { T as ErrorMapper, t as AsyncResult } from "./result-DTOQRyGY.js";
|
|
3
3
|
import { n as Logger } from "./logger-0LfhvwE4.js";
|
|
4
|
-
import { i as CursorPageOptions, r as BlockTemporalOptions } from "./block-helpers-
|
|
5
|
-
import { t as BlockTransport } from "./block-transport-
|
|
6
|
-
import { n as BlockHooks } from "./block-hooks-
|
|
7
|
-
import { p as MessageReaction } from "./messaging-
|
|
8
|
-
import { S as StoredInboundEvent, a as ConversationEvent, b as PurgedContact, c as DeliveryStatus, d as InboxCounts, f as InboxFileSource, h as InboxUpload, i as Conversation, l as InboundResult, m as InboxRow, n as BotMode, o as ConversationPriority, p as InboxMessage, r as Contact, s as ConversationStatus, u as InboxChannel, v as MessageTemplate, x as ScheduledInboxMessage, y as PendingInboxFile } from "./types-
|
|
4
|
+
import { i as CursorPageOptions, r as BlockTemporalOptions } from "./block-helpers-BNtM1tqy.js";
|
|
5
|
+
import { t as BlockTransport } from "./block-transport-CDmOUuLZ.js";
|
|
6
|
+
import { n as BlockHooks } from "./block-hooks-CtMsgLQr.js";
|
|
7
|
+
import { p as MessageReaction } from "./messaging-Bfe4p9Pm.js";
|
|
8
|
+
import { S as StoredInboundEvent, a as ConversationEvent, b as PurgedContact, c as DeliveryStatus, d as InboxCounts, f as InboxFileSource, h as InboxUpload, i as Conversation, l as InboundResult, m as InboxRow, n as BotMode, o as ConversationPriority, p as InboxMessage, r as Contact, s as ConversationStatus, u as InboxChannel, v as MessageTemplate, x as ScheduledInboxMessage, y as PendingInboxFile } from "./types-D5uf0l4_.js";
|
|
9
|
+
/** `user` drafts belong to their author; `ai` drafts to the inbox's staff. */
|
|
10
|
+
type InboxDraftSource = "user" | "ai";
|
|
11
|
+
type InboxDraftStatus = "draft" | "sent" | "discarded";
|
|
12
|
+
/** What a draft carries: a message or a note, without the service's fields. */
|
|
13
|
+
interface InboxDraftInput {
|
|
14
|
+
/** May stay empty until the draft is sent. */
|
|
15
|
+
readonly body: string;
|
|
16
|
+
readonly kind?: "message" | "note";
|
|
17
|
+
readonly format?: "text" | "markdown";
|
|
18
|
+
readonly attachments?: readonly string[];
|
|
19
|
+
readonly mentions?: readonly string[];
|
|
20
|
+
readonly replyTo?: string;
|
|
21
|
+
readonly metadata?: Readonly<Record<string, unknown>>;
|
|
22
|
+
}
|
|
23
|
+
interface InboxDraft {
|
|
24
|
+
readonly id: string;
|
|
25
|
+
readonly tenant: string;
|
|
26
|
+
readonly conversationId: string;
|
|
27
|
+
/** None for an ai draft. */
|
|
28
|
+
readonly authorId: string | null;
|
|
29
|
+
readonly source: InboxDraftSource;
|
|
30
|
+
readonly status: InboxDraftStatus;
|
|
31
|
+
readonly body: string;
|
|
32
|
+
readonly kind: "message" | "note";
|
|
33
|
+
readonly format: "text" | "markdown" | null;
|
|
34
|
+
readonly attachments: readonly string[];
|
|
35
|
+
readonly mentions: readonly string[];
|
|
36
|
+
readonly replyTo: string | null;
|
|
37
|
+
/** The draft's own data, such as the model that wrote it. */
|
|
38
|
+
readonly metadata: Readonly<Record<string, unknown>>;
|
|
39
|
+
readonly updatedAt: Temporal.Instant;
|
|
40
|
+
}
|
|
41
|
+
interface InboxDrafts {
|
|
42
|
+
/**
|
|
43
|
+
* Saves the caller's draft on a conversation: their one open draft is
|
|
44
|
+
* replaced, else a new one starts.
|
|
45
|
+
*/
|
|
46
|
+
upsert(conversationId: string, input: InboxDraftInput, metadata?: Readonly<Record<string, unknown>>): AsyncResult<InboxDraft>;
|
|
47
|
+
/** Service only: an ai draft that staff who can reply review. */
|
|
48
|
+
suggest(conversationId: string, input: InboxDraftInput, metadata?: Readonly<Record<string, unknown>>): AsyncResult<InboxDraft>;
|
|
49
|
+
/**
|
|
50
|
+
* The open drafts the caller sees, newest first: their own and the ai drafts,
|
|
51
|
+
* on one conversation or all.
|
|
52
|
+
*/
|
|
53
|
+
list(conversationId?: string): AsyncResult<readonly InboxDraft[]>;
|
|
54
|
+
/**
|
|
55
|
+
* Sends a draft as the caller, with `edits` over its fields, and marks it
|
|
56
|
+
* sent.
|
|
57
|
+
*/
|
|
58
|
+
send(draftId: string, edits?: Partial<InboxDraftInput>): AsyncResult<InboxMessage>;
|
|
59
|
+
discard(draftId: string): AsyncResult<void>;
|
|
60
|
+
}
|
|
9
61
|
interface InboxOptions extends BlockTemporalOptions {
|
|
10
62
|
/**
|
|
11
63
|
* `sqlTransport(postgres.asUser(claims))` or `rpcTransport(supabase)` for a
|
|
@@ -145,6 +197,7 @@ type InboxHooks = BlockHooks<Inbox> & {
|
|
|
145
197
|
readonly contacts?: BlockHooks<Inbox["contacts"]>;
|
|
146
198
|
readonly conversations?: BlockHooks<Inbox["conversations"]>;
|
|
147
199
|
readonly messages?: BlockHooks<Inbox["messages"]>;
|
|
200
|
+
readonly drafts?: BlockHooks<Inbox["drafts"]>;
|
|
148
201
|
readonly files?: BlockHooks<Inbox["files"]>;
|
|
149
202
|
readonly deliveries?: BlockHooks<Inbox["deliveries"]>;
|
|
150
203
|
readonly templates?: BlockHooks<Inbox["templates"]>;
|
|
@@ -241,6 +294,8 @@ interface Inbox {
|
|
|
241
294
|
/** Deletes the caller's scheduled reply before it is sent. */
|
|
242
295
|
cancelScheduled(scheduledId: string): AsyncResult<void>;
|
|
243
296
|
};
|
|
297
|
+
/** Reply drafts: the caller's own and the ai drafts staff review. */
|
|
298
|
+
readonly drafts: InboxDrafts;
|
|
244
299
|
/** Service only: the files that arrived on channels. */
|
|
245
300
|
readonly files: {
|
|
246
301
|
/** The channel files to fetch and upload, oldest first. */
|
|
@@ -323,4 +378,4 @@ interface Inbox {
|
|
|
323
378
|
* stored webhook events. The database checks every permission.
|
|
324
379
|
*/
|
|
325
380
|
declare function createInbox(options: InboxOptions): Inbox;
|
|
326
|
-
export { Inbox as a, InboxPatch as c, ScheduledMessageInput as d, StartConversationInput as f, InboundInput as i, MessageInput as l, createInbox as m, ConversationFilter as n, InboxHooks as o, TemplateInput as p, CreateInboxInput as r, InboxOptions as s, ContactInput as t, MessagePageOptions as u };
|
|
381
|
+
export { InboxDraftSource as _, Inbox as a, InboxPatch as c, ScheduledMessageInput as d, StartConversationInput as f, InboxDraftInput as g, InboxDraft as h, InboundInput as i, MessageInput as l, createInbox as m, ConversationFilter as n, InboxHooks as o, TemplateInput as p, CreateInboxInput as r, InboxOptions as s, ContactInput as t, MessagePageOptions as u, InboxDraftStatus as v, InboxDrafts as y };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { b as DbError, f as Result, t as AsyncResult } from "./result-DTOQRyGY.js";
|
|
2
|
-
import { C as TransformOptions, N as StorageClient, Q as StoragePath, a as BucketConnectOptions, i as BucketConfig, n as Bucket, r as BucketClient, s as BucketPolicy, v as StorageAdminClient } from "./bucket-
|
|
2
|
+
import { C as TransformOptions, N as StorageClient, Q as StoragePath, a as BucketConnectOptions, i as BucketConfig, n as Bucket, r as BucketClient, s as BucketPolicy, v as StorageAdminClient } from "./bucket-CrsJNHzi.js";
|
|
3
3
|
import { SupabaseClient } from "@supabase/supabase-js";
|
|
4
4
|
/** Maps a Storage error (`StorageApiError`, fetch failures) to a `DbError`. */
|
|
5
5
|
declare function fromStorageError(raw: unknown, table?: string): DbError;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { E as AccessPolicySql } from "./types-
|
|
2
|
-
import { p as AnyBlocksConfig, t as AuthorizationFunctions } from "./authorization-
|
|
3
|
-
import { nt as ReadSet } from "./define-
|
|
4
|
-
import { R as TableGrant, Tr as AppTableConfig, Vr as CatalogPolicy, _ as BlockSqlDeprecation, b as BlockSqlLayout, c as BlockSqlIdType, cn as ResolvedConfig, g as BlockSqlAccessProvider, h as BlockSql, o as BlockSqlContractFunction, v as BlockSqlEntitlementsProvider, y as BlockSqlFile } from "./context-
|
|
1
|
+
import { E as AccessPolicySql } from "./types-BzIYSSWK.js";
|
|
2
|
+
import { p as AnyBlocksConfig, t as AuthorizationFunctions } from "./authorization-2Rv1AJQJ.js";
|
|
3
|
+
import { nt as ReadSet } from "./define-BvkaC3Oh.js";
|
|
4
|
+
import { R as TableGrant, Tr as AppTableConfig, Vr as CatalogPolicy, _ as BlockSqlDeprecation, b as BlockSqlLayout, c as BlockSqlIdType, cn as ResolvedConfig, g as BlockSqlAccessProvider, h as BlockSql, o as BlockSqlContractFunction, v as BlockSqlEntitlementsProvider, y as BlockSqlFile } from "./context-yfOlyAqb.js";
|
|
5
5
|
import { t as SubjectConfig } from "./subjects-BGwLJ3IB.js";
|
|
6
6
|
/** A module's SQL for `layout`, without header; `undefined` in custom mode. */
|
|
7
7
|
declare function moduleBody(name: string, layout?: BlockSqlLayout): string | undefined;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as RouteGuardOptions } from "./refusal-
|
|
1
|
+
import { n as RouteGuardOptions } from "./refusal-BX1EvmpJ.js";
|
|
2
2
|
import { t as Validated } from "./shared-DsBcvj6q.js";
|
|
3
3
|
import { AnyEntry, Contributions } from "@supabase/middleware";
|
|
4
4
|
import { IncomingMessage, ServerResponse } from "node:http";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { t as OperationTable } from "./operations-
|
|
3
|
-
import { t as BetterSupabase } from "./define-
|
|
4
|
-
import { l as ServerOptions, o as ServerContext, r as BetterServer } from "./server-types-
|
|
5
|
-
import { r as GuardOptions } from "./respond-
|
|
1
|
+
import { O as AnyFunctions, Ut as AnyAuthorizer, dt as TableKey, k as AnyModels, nn as AuthzVersionCache, rn as PermissionRef } from "./types-BzIYSSWK.js";
|
|
2
|
+
import { t as OperationTable } from "./operations-SWpzGC_K.js";
|
|
3
|
+
import { t as BetterSupabase } from "./define-BvkaC3Oh.js";
|
|
4
|
+
import { l as ServerOptions, o as ServerContext, r as BetterServer } from "./server-types-DEjva0MW.js";
|
|
5
|
+
import { r as GuardOptions } from "./respond-CAxhkwAi.js";
|
|
6
6
|
import { D as ResourceOperation } from "./model-Lxa_mOzB.js";
|
|
7
|
-
import { l as ResourceRouteOptions } from "./resource-types-
|
|
7
|
+
import { l as ResourceRouteOptions } from "./resource-types-CTcc37WL.js";
|
|
8
8
|
import { StandardSchemaV1 } from "@standard-schema/spec";
|
|
9
9
|
/**
|
|
10
10
|
* The JSON Schema dialect of tool schemas, which depends on the protocol
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Ar as AppTablesConfig, Mt as ResolvedPreset, Ot as presetConfig, Tr as AppTableConfig, Wn as PresetSpec, er as PresetName, gi as PresetGlueItem, gr as AppColumnConfig, pi as PresetCatalog, vr as AppColumnType, xi as Preset } from "./context-
|
|
1
|
+
import { Ar as AppTablesConfig, Mt as ResolvedPreset, Ot as presetConfig, Tr as AppTableConfig, Wn as PresetSpec, er as PresetName, gi as PresetGlueItem, gr as AppColumnConfig, pi as PresetCatalog, vr as AppColumnType, xi as Preset } from "./context-yfOlyAqb.js";
|
|
2
2
|
import { StandardSchemaV1 } from "@standard-schema/spec";
|
|
3
3
|
declare const PRESET_CATALOG: PresetCatalog;
|
|
4
4
|
/**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { d as MutationIntent,
|
|
2
|
-
import { Ct as Events, D as BlockEventPattern, T as BlockEvent, bt as EventMap, c as MutationNotice, k as BlockEventsMatching, o as EventHub, st as SubjectEventData } from "./events-
|
|
3
|
-
import { i as EventSink, n as CloudEventOptions, t as CloudEvent } from "./cloud-event-
|
|
1
|
+
import { d as MutationIntent, st as SchemaMeta } from "./types-BzIYSSWK.js";
|
|
2
|
+
import { Ct as Events, D as BlockEventPattern, T as BlockEvent, bt as EventMap, c as MutationNotice, k as BlockEventsMatching, o as EventHub, st as SubjectEventData } from "./events-DCw3c6pj.js";
|
|
3
|
+
import { i as EventSink, n as CloudEventOptions, t as CloudEvent } from "./cloud-event-BEmAUdl1.js";
|
|
4
4
|
/**
|
|
5
5
|
* Listens to the block events that match `pattern` (`'support.started'` or
|
|
6
6
|
* `'support.*'`), typed by `events`: a block's events, `defineBlocks(...)` or
|
|
@@ -207,8 +207,13 @@ interface QuoteEventData extends SubjectEventData {
|
|
|
207
207
|
readonly byName?: string;
|
|
208
208
|
/** For `quote.rejected` and `quote.changes_requested`. */
|
|
209
209
|
readonly note?: string | null;
|
|
210
|
-
/**
|
|
211
|
-
|
|
210
|
+
/**
|
|
211
|
+
* For `quote.sent`, `quote.accepted` and `quote.revised`: the revision sent,
|
|
212
|
+
* accepted or opened as a draft.
|
|
213
|
+
*/
|
|
214
|
+
readonly revision?: number;
|
|
215
|
+
/** For `quote.accepted`: the deposit due, in minor units as text. */
|
|
216
|
+
readonly depositDue?: string;
|
|
212
217
|
}
|
|
213
218
|
/** Events from the invoices module. Amounts are minor units as text. */
|
|
214
219
|
interface InvoiceEventData extends SubjectEventData {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { b as DbError, f as Result } from "./result-DTOQRyGY.js";
|
|
2
|
-
import { Ct as Events, v as ApiKeyEventData } from "./events-
|
|
3
|
-
import { r as AuthState } from "./resolve
|
|
2
|
+
import { Ct as Events, v as ApiKeyEventData } from "./events-DCw3c6pj.js";
|
|
3
|
+
import { r as AuthState } from "./resolve-BIpQRhvF.js";
|
|
4
4
|
import { t as BlockProblemOptions } from "./problem-NGBjN-TO.js";
|
|
5
|
-
import { c as BlockOf } from "./define-block-
|
|
6
|
-
import { n as Controller, t as AuthPort } from "./controller-
|
|
7
|
-
import { _ as createApiKeys, d as CreateApiKeyInput, f as CreatedApiKey, l as ApiKeys, s as ApiKeyResolverOptions, t as ApiKey } from "./api-keys-
|
|
5
|
+
import { c as BlockOf } from "./define-block-Ds3aLZwz.js";
|
|
6
|
+
import { n as Controller, t as AuthPort } from "./controller-CAcLEndc.js";
|
|
7
|
+
import { _ as createApiKeys, d as CreateApiKeyInput, f as CreatedApiKey, l as ApiKeys, s as ApiKeyResolverOptions, t as ApiKey } from "./api-keys-C82fMru4.js";
|
|
8
8
|
import { Entry } from "@supabase/middleware";
|
|
9
9
|
import { AuthMode, JWTClaims, UserClaims } from "@supabase/server";
|
|
10
10
|
interface WithApiKeyOptions<F extends object = Record<never, never>> extends ApiKeyResolverOptions<F>, BlockProblemOptions {}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
/// <reference lib="esnext.temporal" />
|
|
2
2
|
import { n as DbException } from "./escape-like-CK6L7gkj.js";
|
|
3
3
|
import { f as Result, t as AsyncResult } from "./result-DTOQRyGY.js";
|
|
4
|
-
import {
|
|
5
|
-
import { o as EventHub } from "./events-
|
|
6
|
-
import { A as OffsetPageArgs, At as GetArgs, B as Returned, C as FindExt, Ct as AggregateResult, G as UpsertArgs, Ot as CountArgs, Pt as ListArgs, Qt as CacheAdapter, S as DeleteExt, Vt as Payload, W as UpdateArgs, _ as CursorPage, bt as AggregateArgs, j as OffsetRangeArgs, k as OffsetPage, mt as QuerySpec, pt as InferResult, q as WriteArgs, t as BetterSupabase, v as CursorPageArgs, w as GetKey, x as DeleteArgs, y as Db } from "./define-
|
|
7
|
-
import { n as DataEngine, r as DataEngineOptions } from "./data-engine-
|
|
8
|
-
import { Dn as GeneratedBlocks, cn as RecordBindingResult, dn as RecordBindingWriteName, fn as RecordBindingWriteOutput, in as RecordBindingData, nn as AnyRecordBindingWrite, on as RecordBindingOptions, t as AnyBlock, tn as AnyRecordBinding, un as RecordBindingWriteInput } from "./define-block-
|
|
4
|
+
import { O as AnyFunctions, Q as PrimaryKeyValue, dt as TableKey, et as RecordRef, gt as Update, k as AnyModels, q as Insert } from "./types-BzIYSSWK.js";
|
|
5
|
+
import { o as EventHub } from "./events-DCw3c6pj.js";
|
|
6
|
+
import { A as OffsetPageArgs, At as GetArgs, B as Returned, C as FindExt, Ct as AggregateResult, G as UpsertArgs, Ot as CountArgs, Pt as ListArgs, Qt as CacheAdapter, S as DeleteExt, Vt as Payload, W as UpdateArgs, _ as CursorPage, bt as AggregateArgs, j as OffsetRangeArgs, k as OffsetPage, mt as QuerySpec, pt as InferResult, q as WriteArgs, t as BetterSupabase, v as CursorPageArgs, w as GetKey, x as DeleteArgs, y as Db } from "./define-BvkaC3Oh.js";
|
|
7
|
+
import { n as DataEngine, r as DataEngineOptions } from "./data-engine-CX1oYDZl.js";
|
|
8
|
+
import { Dn as GeneratedBlocks, cn as RecordBindingResult, dn as RecordBindingWriteName, fn as RecordBindingWriteOutput, in as RecordBindingData, nn as AnyRecordBindingWrite, on as RecordBindingOptions, t as AnyBlock, tn as AnyRecordBinding, un as RecordBindingWriteInput } from "./define-block-Ds3aLZwz.js";
|
|
9
9
|
import { t as BetterQueryMeta } from "./invalidate-DAB9CaPm.js";
|
|
10
10
|
import { DataTag, InfiniteData, QueryClient, SkipToken } from "@tanstack/query-core";
|
|
11
11
|
import { StandardSchemaV1 } from "@standard-schema/spec";
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import { b as DbError, f as Result, t as AsyncResult } from "./result-DTOQRyGY.js";
|
|
2
|
-
import {
|
|
3
|
-
import { Ct as Events, D as BlockEventPattern, T as BlockEvent, bt as EventMap, k as BlockEventsMatching } from "./events-
|
|
4
|
-
import { mt as QuerySpec } from "./define-
|
|
5
|
-
import { A as TtlPreset, C as TransformOptions, E as UrlOptions, T as UploadOptions, l as ImageTransform, tt as TemplateValues, w as UploadBody } from "./bucket-
|
|
6
|
-
import { m as RejectedChange, o as DataSyncState } from "./data-engine-
|
|
7
|
-
import { M as BindingName, S as RecordWriteInput, _ as RecordTypeBlocks, b as RecordTypeWriteInput, d as BindingWritesOf, f as Plain, g as RecordType, h as RecordCan, m as PlainBindings, x as RecordTypeWriteOutput } from "./index-
|
|
8
|
-
import { c as RealtimeClient, d as SubscribeOptions, g as TopicHandlers, i as PresenceOptions, m as Topic, p as SubscriptionStatus, r as PresenceMember, s as PresenceSubscription, t as EventSchemas } from "./topic-
|
|
9
|
-
import { t as AuthSnapshot } from "./bind-
|
|
10
|
-
import { n as AuthSession } from "./view-
|
|
11
|
-
import { r as LiveCountSeed, v as RelayClientOptions } from "./index-
|
|
12
|
-
import { n as Controller } from "./controller-
|
|
13
|
-
import { D as ProfileOf, O as UseActionOptions, S as LiveCountHookOptions, _ as ActionResultOf, a as DataRows, b as ClaimsOf, c as DataWrites, d as BlockMutationState, f as BlockQueryActions, g as ActionInputOf, i as DataRow, l as BlockEventSource, m as BlockQueryState, n as DataId, o as DataSource, p as BlockQueryOptions, r as DataListArgs, s as DataState, u as BlockMutationActions, w as LiveQueryHookOptions, x as ClientLike, y as BroadcastOptions } from "./field-errors-
|
|
14
|
-
import { t as BlockEnv } from "./block-env-
|
|
2
|
+
import { et as RecordRef } from "./types-BzIYSSWK.js";
|
|
3
|
+
import { Ct as Events, D as BlockEventPattern, T as BlockEvent, bt as EventMap, k as BlockEventsMatching } from "./events-DCw3c6pj.js";
|
|
4
|
+
import { mt as QuerySpec } from "./define-BvkaC3Oh.js";
|
|
5
|
+
import { A as TtlPreset, C as TransformOptions, E as UrlOptions, T as UploadOptions, l as ImageTransform, tt as TemplateValues, w as UploadBody } from "./bucket-CrsJNHzi.js";
|
|
6
|
+
import { m as RejectedChange, o as DataSyncState } from "./data-engine-CX1oYDZl.js";
|
|
7
|
+
import { M as BindingName, S as RecordWriteInput, _ as RecordTypeBlocks, b as RecordTypeWriteInput, d as BindingWritesOf, f as Plain, g as RecordType, h as RecordCan, m as PlainBindings, x as RecordTypeWriteOutput } from "./index-Dbd1E5Au.js";
|
|
8
|
+
import { c as RealtimeClient, d as SubscribeOptions, g as TopicHandlers, i as PresenceOptions, m as Topic, p as SubscriptionStatus, r as PresenceMember, s as PresenceSubscription, t as EventSchemas } from "./topic-x-mrN_Ff.js";
|
|
9
|
+
import { t as AuthSnapshot } from "./bind-C2XvMlfg.js";
|
|
10
|
+
import { n as AuthSession } from "./view-DdDY88SC.js";
|
|
11
|
+
import { r as LiveCountSeed, v as RelayClientOptions } from "./index-lMApFSAd.js";
|
|
12
|
+
import { n as Controller } from "./controller-CAcLEndc.js";
|
|
13
|
+
import { D as ProfileOf, O as UseActionOptions, S as LiveCountHookOptions, _ as ActionResultOf, a as DataRows, b as ClaimsOf, c as DataWrites, d as BlockMutationState, f as BlockQueryActions, g as ActionInputOf, i as DataRow, l as BlockEventSource, m as BlockQueryState, n as DataId, o as DataSource, p as BlockQueryOptions, r as DataListArgs, s as DataState, u as BlockMutationActions, w as LiveQueryHookOptions, x as ClientLike, y as BroadcastOptions } from "./field-errors-DXZk9Qjt.js";
|
|
14
|
+
import { t as BlockEnv } from "./block-env-BQrtLPyc.js";
|
|
15
15
|
import { n as BlockDataOf, r as BlockMethodName, t as BlockArgsOf } from "./block-method-QSaPsL2P.js";
|
|
16
|
-
import { s as RecordFormValues, t as RecordForm } from "./record-form-
|
|
16
|
+
import { s as RecordFormValues, t as RecordForm } from "./record-form-BQA-lawE.js";
|
|
17
17
|
import { SupabaseClient } from "@supabase/supabase-js";
|
|
18
18
|
import { DependencyList, ReactNode, SubmitEvent } from "react";
|
|
19
19
|
import { QueryClient } from "@tanstack/query-core";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { t as AsyncResult } from "./result-DTOQRyGY.js";
|
|
2
|
-
import { O as AnyFunctions, k as AnyModels } from "./types-
|
|
3
|
-
import { l as PublicEnv } from "./index-
|
|
4
|
-
import {
|
|
5
|
-
import { t as BetterSupabase } from "./define-
|
|
6
|
-
import { i as KeyboardPort, l as StoragePort, n as DeepLinkPort, r as FilePickerPort, s as PushTokenPort, t as ClientPorts } from "./ports-
|
|
7
|
-
import { i as BindClientOptions, r as BetterClient } from "./bind-
|
|
2
|
+
import { O as AnyFunctions, k as AnyModels } from "./types-BzIYSSWK.js";
|
|
3
|
+
import { l as PublicEnv } from "./index-F6lsRlsr.js";
|
|
4
|
+
import { T as SessionEncoding } from "./resolve-BIpQRhvF.js";
|
|
5
|
+
import { t as BetterSupabase } from "./define-BvkaC3Oh.js";
|
|
6
|
+
import { i as KeyboardPort, l as StoragePort, n as DeepLinkPort, r as FilePickerPort, s as PushTokenPort, t as ClientPorts } from "./ports-prqYrReN.js";
|
|
7
|
+
import { i as BindClientOptions, r as BetterClient } from "./bind-C2XvMlfg.js";
|
|
8
8
|
import { n as FunctionContract } from "./function-contract-DgDBYbXu.js";
|
|
9
9
|
import { FunctionInvokeOptions, SupabaseClient, SupabaseClientOptions } from "@supabase/supabase-js";
|
|
10
10
|
/**
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { b as DbError, f as Result } from "./result-DTOQRyGY.js";
|
|
2
|
-
import {
|
|
3
|
-
import { mt as QuerySpec } from "./define-
|
|
4
|
-
import { t as DataChanges } from "./data-engine-
|
|
5
|
-
import { c as RealtimeClient, m as Topic, p as SubscriptionStatus } from "./topic-
|
|
6
|
-
import { n as TopicPort } from "./watch-topic-
|
|
2
|
+
import { et as RecordRef, st as SchemaMeta } from "./types-BzIYSSWK.js";
|
|
3
|
+
import { mt as QuerySpec } from "./define-BvkaC3Oh.js";
|
|
4
|
+
import { t as DataChanges } from "./data-engine-CX1oYDZl.js";
|
|
5
|
+
import { c as RealtimeClient, m as Topic, p as SubscriptionStatus } from "./topic-x-mrN_Ff.js";
|
|
6
|
+
import { n as TopicPort } from "./watch-topic-D6bcqOrJ.js";
|
|
7
7
|
import { StandardSchemaV1 } from "@standard-schema/spec";
|
|
8
8
|
/** The `EventSource` the relay client reads with; the browser's fits. */
|
|
9
9
|
interface RelayEventSource {
|
package/dist/index.d.ts
CHANGED
|
@@ -2,15 +2,15 @@
|
|
|
2
2
|
import { n as DbException, t as escapeLike } from "./escape-like-CK6L7gkj.js";
|
|
3
3
|
import { A as isConflict, C as DbErrorMatchers, D as ValidationIssue, E as RawDbError, F as statusOf, M as isForeignKey, N as mapDbError, O as dbError, P as matchDbError, S as DbErrorKinds, T as ErrorMapper, _ as ok, a as BetterResultOk, b as DbError, c as DbErrorClasses, d as Ok, f as Result, g as fromBetterResult, h as err, i as BetterResultErrors, j as isDbError, k as isCheck, l as Err, m as defineBetterResultErrors, n as BetterResultApi, o as BetterResultValue, r as BetterResultErr, s as DbErrorClass, t as AsyncResult, u as MappedDbError, v as toBetterResult, w as DbErrorOf, x as DbErrorKind, y as toDbError } from "./result-DTOQRyGY.js";
|
|
4
4
|
import { n as validate, t as StandardSchemaV1 } from "./standard-DRX6Ch1j.js";
|
|
5
|
-
import { $ as
|
|
6
|
-
import { Ct as Events, O as BlockEventType, T as BlockEvent, a as EventHandler, bt as EventMap, c as MutationNotice, d as RpcNotice, i as ErrorEvent, l as QueryEvent, n as AuthOutageEvent, o as EventHub, r as BetterSupabaseEvents, s as EventName, t as AuthEvent, u as RefreshEvent } from "./events-
|
|
5
|
+
import { $ as RealtimeTableMeta, A as BootstrapMeta, At as MutationEvent, B as ForeignKeyConstraint, Bt as ExecuteResult, C as not, Ct as AnyPlugin, D as AccessTopicPolicy, Dt as ExtensionsOf, E as AccessPolicySql, Et as ExtensionOf, F as ClaimsMeta, Ft as RepositoryExtension, G as FunctionsOf, H as FunctionResult, Ht as RpcContext, I as Codec, It as RequestContext, J as ModelFlags, K as GeneratedColumns, L as ColumnMeta, Lt as WithExtension, M as BucketPolicyName, Mt as PLUGIN_API_VERSION, N as Casing, Nt as Plugin, O as AnyFunctions, Ot as HasFlag, P as CheckConstraint, Pt as RepositoryApi, Q as PrimaryKeyValue, R as DatabaseOf, Rt as definePlugin, S as column, St as Actor, T as AccessBucketPolicy, Tt as CallOptions, U as FunctionSignature, V as FunctionMeta, Vt as Executor, W as FunctionTypes, X as ModelsOf, Y as ModelTypes, Z as PrimaryKeyColumn, _ as SelectColumn, _t as WritableColumns, a as CountMode, at as Row, b as UpdateOp, c as Include, ct as Simplify, d as MutationIntent, dt as TableKey, et as RecordRef, f as MutationKind, ft as TableMeta, g as Quantifier, gt as Update, h as OrderTerm, ht as UniqueWhere, i as Condition, it as ResultColumn, j as BucketMeta, jt as NoExtension, k as AnyModels, kt as HookArgs, l as InsertOp, lt as SubjectTypeOf, m as Operation, mt as UniqueKeyName, n as Aggregation, nt as RelationTypes, o as DeleteOp, ot as Schema, p as MutationOp, pt as UniqueConstraint, q as Insert, r as ColumnOp, rt as Relations, s as FunctionSource, st as SchemaMeta, t as AggregateFn, tt as RelationMeta, u as Measure, ut as TableFlags, v as SelectOp, w as or, wt as ApplyExtension, x as and, y as Selection, z as Flags, zt as ExecuteContext } from "./types-BzIYSSWK.js";
|
|
6
|
+
import { Ct as Events, O as BlockEventType, T as BlockEvent, a as EventHandler, bt as EventMap, c as MutationNotice, d as RpcNotice, i as ErrorEvent, l as QueryEvent, n as AuthOutageEvent, o as EventHub, r as BetterSupabaseEvents, s as EventName, t as AuthEvent, u as RefreshEvent } from "./events-DCw3c6pj.js";
|
|
7
7
|
import { i as silentLogger, n as Logger, r as consoleLogger, t as LogFields } from "./logger-0LfhvwE4.js";
|
|
8
8
|
import { a as ProblemFormat, c as fromProblem, d as toProblem, i as ProblemDetails, l as isProblem, n as PROBLEM_CONTENT_TYPE, o as ProblemOptions, r as PROBLEM_TYPE_BASE, s as ProblemResponseOptions, t as BlockProblemOptions, u as problemResponse } from "./problem-NGBjN-TO.js";
|
|
9
|
-
import { $ as SearchArgs, $t as CacheTarget, A as OffsetPageArgs, At as GetArgs, B as Returned, Bt as OrderByInput, C as FindExt, Ct as AggregateResult, D as ManyWriteArgs, Dt as CountArg, E as ManyResult, Et as ColumnOrderByArg, F as PageOf, Ft as MeasureArg, G as UpsertArgs, Gt as SelectArg, Ht as ReadArgs, It as MeasureKey, J as WriteManyArgs, Jt as WhereArg, K as UpsertManyArgs, Kt as SortDirection, Lt as MutableWhere, Mt as IncludeArgs, Nt as JsonPathOps, Ot as CountArgs, Pt as ListArgs, Q as recordStats, Qt as CacheAdapter, R as Repository, Rt as NumericMeasureArg, S as DeleteExt, St as AggregateOrderByArg, Tt as ColumnOrderBy, U as RpcOptions, Ut as RelationMeasureArg, V as RowFilter, Vt as Payload, W as UpdateArgs, Wt as RequestArgs, X as EMPTY_STATS, Xt as BucketRegistry, Y as DbStats, Yt as WhereInput, Z as StatsRecorder, Zt as BucketsHelper, _ as CursorPage, _t as TableSpecs, a as explainPostgrest, at as ReadSetParamType, b as DbHelpers, bt as AggregateArgs, c as RpcDefinition, ct as ReadSetParams, dt as isReadSet, en as MemoryCache, f as BlocksHelper, ft as readSetTables, g as ConflictTarget, gt as Specs, h as DbOf, ht as ReadMethod, i as PostgrestExecutorOptions, in as rpcCacheTargets, it as ReadSetOptions, j as OffsetRangeArgs, jt as IncludeArg, k as OffsetPage, kt as FieldFilter, l as SupabaseOptions, lt as ReadSetResult, m as DbExtras, mt as QuerySpec, n as defineSupabase, nn as memoryCache, nt as ReadSet, o as postgrestExecutor, ot as ReadSetParamTypes, p as DbBlockSource, pt as InferResult, q as WriteArgs, qt as SortSpec, r as PostgrestClientLike, rn as rowKey, rt as ReadSetAuth, s as ConnectOptions, st as ReadSetParamValue, t as BetterSupabase, tn as cacheTargetOf, tt as InferReadSetParams, u as ApiOptions, ut as defineReadSet, v as CursorPageArgs, vt as isQuerySpec, w as GetKey, wt as AggregateRow, x as DeleteArgs, xt as AggregateOrderBy, y as Db, yt as specTables, z as RepositoryOf, zt as OrderByArg } from "./define-
|
|
10
|
-
import { Q as StoragePath } from "./bucket-
|
|
11
|
-
import { a as PostgrestPlan, n as PlanLimit, o as compilePostgrest, r as PlanOrder, t as PlanFilter } from "./postgrest-
|
|
9
|
+
import { $ as SearchArgs, $t as CacheTarget, A as OffsetPageArgs, At as GetArgs, B as Returned, Bt as OrderByInput, C as FindExt, Ct as AggregateResult, D as ManyWriteArgs, Dt as CountArg, E as ManyResult, Et as ColumnOrderByArg, F as PageOf, Ft as MeasureArg, G as UpsertArgs, Gt as SelectArg, Ht as ReadArgs, It as MeasureKey, J as WriteManyArgs, Jt as WhereArg, K as UpsertManyArgs, Kt as SortDirection, Lt as MutableWhere, Mt as IncludeArgs, Nt as JsonPathOps, Ot as CountArgs, Pt as ListArgs, Q as recordStats, Qt as CacheAdapter, R as Repository, Rt as NumericMeasureArg, S as DeleteExt, St as AggregateOrderByArg, Tt as ColumnOrderBy, U as RpcOptions, Ut as RelationMeasureArg, V as RowFilter, Vt as Payload, W as UpdateArgs, Wt as RequestArgs, X as EMPTY_STATS, Xt as BucketRegistry, Y as DbStats, Yt as WhereInput, Z as StatsRecorder, Zt as BucketsHelper, _ as CursorPage, _t as TableSpecs, a as explainPostgrest, at as ReadSetParamType, b as DbHelpers, bt as AggregateArgs, c as RpcDefinition, ct as ReadSetParams, dt as isReadSet, en as MemoryCache, f as BlocksHelper, ft as readSetTables, g as ConflictTarget, gt as Specs, h as DbOf, ht as ReadMethod, i as PostgrestExecutorOptions, in as rpcCacheTargets, it as ReadSetOptions, j as OffsetRangeArgs, jt as IncludeArg, k as OffsetPage, kt as FieldFilter, l as SupabaseOptions, lt as ReadSetResult, m as DbExtras, mt as QuerySpec, n as defineSupabase, nn as memoryCache, nt as ReadSet, o as postgrestExecutor, ot as ReadSetParamTypes, p as DbBlockSource, pt as InferResult, q as WriteArgs, qt as SortSpec, r as PostgrestClientLike, rn as rowKey, rt as ReadSetAuth, s as ConnectOptions, st as ReadSetParamValue, t as BetterSupabase, tn as cacheTargetOf, tt as InferReadSetParams, u as ApiOptions, ut as defineReadSet, v as CursorPageArgs, vt as isQuerySpec, w as GetKey, wt as AggregateRow, x as DeleteArgs, xt as AggregateOrderBy, y as Db, yt as specTables, z as RepositoryOf, zt as OrderByArg } from "./define-BvkaC3Oh.js";
|
|
10
|
+
import { Q as StoragePath } from "./bucket-CrsJNHzi.js";
|
|
11
|
+
import { a as PostgrestPlan, n as PlanLimit, o as compilePostgrest, r as PlanOrder, t as PlanFilter } from "./postgrest-Bjain6nf.js";
|
|
12
12
|
import { i as FieldSpec, n as TableSchema, o as TableSchemaSpec, r as tableSchema, t as StandardJSONSchemaV1 } from "./table-schema-CwXg7oBz.js";
|
|
13
|
-
import { n as postgrestCompiler, t as Compiler } from "./compiler-
|
|
13
|
+
import { n as postgrestCompiler, t as Compiler } from "./compiler-BOW4yPcW.js";
|
|
14
14
|
import { t as SPEC_PINS } from "./spec-pins-CuQ2anBw.js";
|
|
15
15
|
/**
|
|
16
16
|
* A message for every `DbError` kind: a string, or a function of the error.
|
|
@@ -176,4 +176,4 @@ export declare function simplify(condition: Condition | undefined): Condition |
|
|
|
176
176
|
export declare function toCamel(name: string): string;
|
|
177
177
|
/** `firstName` to `first_name`. */
|
|
178
178
|
export declare function toSnake(name: string): string;
|
|
179
|
-
export { type AccessBucketPolicy, type AccessPolicySql, type AccessTopicPolicy, type Actor, type AggregateArgs, type AggregateFn, type AggregateOrderBy, type AggregateOrderByArg, type AggregateResult, type AggregateRow, type Aggregation, type AnyFunctions, type AnyModels, type AnyPlugin, type ApiOptions, type ApplyExtension, AsyncResult, type AuthEvent, type AuthOutageEvent, type BetterResultApi, type BetterResultErr, type BetterResultErrors, type BetterResultOk, type BetterResultValue, BetterSupabase, type BetterSupabaseEvents, type BlockEvent, type BlockEventType, type BlockProblemOptions, type BlocksHelper, type BucketMeta, type BucketPolicyName, type BucketRegistry, type BucketsHelper, type CacheAdapter, type CacheTarget, type CallOptions, type Casing, type CheckConstraint, type ClaimsMeta, type Codec, type ColumnMeta, type ColumnOp, type ColumnOrderBy, type ColumnOrderByArg, type Compiler, type Condition, type ConflictTarget, type ConnectOptions, type CountArg, type CountArgs, type CountMode, type CursorPage, type CursorPageArgs, type DatabaseOf, type Db, type DbBlockSource, type DbError, type DbErrorClass, type DbErrorClasses, type DbErrorKind, type DbErrorKinds, type DbErrorMatchers, type DbErrorOf, DbException, type DbExtras, type DbHelpers, type DbOf, type DbStats, type DeleteArgs, type DeleteExt, type DeleteOp, EMPTY_STATS, type EnrichDatabase, type Err, type ErrorEvent, type ErrorMapper, type ErrorMessages, type EventHandler, EventHub, type EventMap, type EventName, type Events, type ExecuteContext, type ExecuteResult, type Executor, type ExtensionOf, type ExtensionsOf, type FieldFilter, type FieldSpec, type FindExt, type Flags, type ForeignKeyConstraint, type FunctionMeta, type FunctionResult, type FunctionSignature, type FunctionSource, type FunctionTypes, type FunctionsOf, type GeneratedColumns, type GetArgs, type GetKey, type HasFlag, type HookArgs, type Include, type IncludeArg, type IncludeArgs, type InferReadSetParams, type InferResult, type Insert, type InsertOp, type JsonPathOps, type ListArgs, type LogFields, type Logger, type ManyResult, type ManyWriteArgs, type MappedDbError, type Measure, type MeasureArg, type MeasureKey, type MemoryCache, type ModelFlags, type ModelTypes, type ModelsOf, type MutableWhere, type MutationEvent, type MutationIntent, type MutationKind, type MutationNotice, type MutationOp, type NoExtension, type NumericMeasureArg, type OffsetPage, type OffsetPageArgs, type OffsetRangeArgs, type Ok, type Operation, type OrderByArg, type OrderByInput, type OrderTerm, PLUGIN_API_VERSION, PROBLEM_CONTENT_TYPE, PROBLEM_TYPE_BASE, type PageOf, type Payload, type PlanFilter, type PlanLimit, type PlanOrder, type Plugin, type Policy, type PolicyDecision, type PostgrestClientLike, type PostgrestExecutorOptions, type PostgrestPlan, type PrimaryKeyColumn, type PrimaryKeyValue, type ProblemDetails, type ProblemFormat, type ProblemOptions, type ProblemResponseOptions, type Quantifier, type QueryEvent, type QuerySpec, type RawDbError, type ReadArgs, type ReadMethod, type ReadSet, type ReadSetAuth, type ReadSetOptions, type ReadSetParamType, type ReadSetParamTypes, type ReadSetParamValue, type ReadSetParams, type ReadSetResult, type RealtimeTableMeta, type RecordRef, type RefreshEvent, type RelationMeasureArg, type RelationMeta, type RelationTypes, type Relations, type Repository, type RepositoryApi, type RepositoryExtension, type RepositoryOf, type RequestArgs, type RequestContext, type Result, type ResultColumn, type Returned, type Row, type RowFilter, type RpcContext, type RpcDefinition, type RpcNotice, type RpcOptions, SPEC_PINS, type Schema, type SchemaMeta, type ScopeFor, type SearchArgs, type SelectArg, type SelectColumn, type SelectOp, type Selection, type Simplify, type SortDirection, type SortSpec, type Specs, type StandardJSONSchemaV1, type StandardSchemaV1, StatsRecorder, type StoragePath, type SubjectTypeOf, type SupabaseOptions, type TableFlags, type TableKey, type TableMeta, type TableRepositoryExtension, type TableSchema, type TableSchemaSpec, type TableSpecs, type TableValidators, type UniqueConstraint, type UniqueKeyName, type UniqueWhere, type Update, type UpdateArgs, type UpdateOp, type UpsertArgs, type UpsertManyArgs, type ValidationIssue, type ValidationOptions, type WhereArg, type WhereInput, type WithExtension, type WritableColumns, type WriteArgs, type WriteManyArgs, and, cacheTargetOf, column, compilePostgrest, consoleLogger, dbError, defineBetterResultErrors, definePlugin, defineReadSet, defineSupabase, err, escapeLike, explainPostgrest, fromBetterResult, fromProblem, isCheck, isConflict, isDbError, isForeignKey, isProblem, isQuerySpec, isReadSet, mapDbError, matchDbError, memoryCache, not, ok, or, postgrestCompiler, postgrestExecutor, problemResponse, readSetTables, recordStats, rowKey, rpcCacheTargets, silentLogger, specTables, statusOf, tableSchema, toBetterResult, toDbError, toProblem, validate };
|
|
179
|
+
export { type AccessBucketPolicy, type AccessPolicySql, type AccessTopicPolicy, type Actor, type AggregateArgs, type AggregateFn, type AggregateOrderBy, type AggregateOrderByArg, type AggregateResult, type AggregateRow, type Aggregation, type AnyFunctions, type AnyModels, type AnyPlugin, type ApiOptions, type ApplyExtension, AsyncResult, type AuthEvent, type AuthOutageEvent, type BetterResultApi, type BetterResultErr, type BetterResultErrors, type BetterResultOk, type BetterResultValue, BetterSupabase, type BetterSupabaseEvents, type BlockEvent, type BlockEventType, type BlockProblemOptions, type BlocksHelper, type BootstrapMeta, type BucketMeta, type BucketPolicyName, type BucketRegistry, type BucketsHelper, type CacheAdapter, type CacheTarget, type CallOptions, type Casing, type CheckConstraint, type ClaimsMeta, type Codec, type ColumnMeta, type ColumnOp, type ColumnOrderBy, type ColumnOrderByArg, type Compiler, type Condition, type ConflictTarget, type ConnectOptions, type CountArg, type CountArgs, type CountMode, type CursorPage, type CursorPageArgs, type DatabaseOf, type Db, type DbBlockSource, type DbError, type DbErrorClass, type DbErrorClasses, type DbErrorKind, type DbErrorKinds, type DbErrorMatchers, type DbErrorOf, DbException, type DbExtras, type DbHelpers, type DbOf, type DbStats, type DeleteArgs, type DeleteExt, type DeleteOp, EMPTY_STATS, type EnrichDatabase, type Err, type ErrorEvent, type ErrorMapper, type ErrorMessages, type EventHandler, EventHub, type EventMap, type EventName, type Events, type ExecuteContext, type ExecuteResult, type Executor, type ExtensionOf, type ExtensionsOf, type FieldFilter, type FieldSpec, type FindExt, type Flags, type ForeignKeyConstraint, type FunctionMeta, type FunctionResult, type FunctionSignature, type FunctionSource, type FunctionTypes, type FunctionsOf, type GeneratedColumns, type GetArgs, type GetKey, type HasFlag, type HookArgs, type Include, type IncludeArg, type IncludeArgs, type InferReadSetParams, type InferResult, type Insert, type InsertOp, type JsonPathOps, type ListArgs, type LogFields, type Logger, type ManyResult, type ManyWriteArgs, type MappedDbError, type Measure, type MeasureArg, type MeasureKey, type MemoryCache, type ModelFlags, type ModelTypes, type ModelsOf, type MutableWhere, type MutationEvent, type MutationIntent, type MutationKind, type MutationNotice, type MutationOp, type NoExtension, type NumericMeasureArg, type OffsetPage, type OffsetPageArgs, type OffsetRangeArgs, type Ok, type Operation, type OrderByArg, type OrderByInput, type OrderTerm, PLUGIN_API_VERSION, PROBLEM_CONTENT_TYPE, PROBLEM_TYPE_BASE, type PageOf, type Payload, type PlanFilter, type PlanLimit, type PlanOrder, type Plugin, type Policy, type PolicyDecision, type PostgrestClientLike, type PostgrestExecutorOptions, type PostgrestPlan, type PrimaryKeyColumn, type PrimaryKeyValue, type ProblemDetails, type ProblemFormat, type ProblemOptions, type ProblemResponseOptions, type Quantifier, type QueryEvent, type QuerySpec, type RawDbError, type ReadArgs, type ReadMethod, type ReadSet, type ReadSetAuth, type ReadSetOptions, type ReadSetParamType, type ReadSetParamTypes, type ReadSetParamValue, type ReadSetParams, type ReadSetResult, type RealtimeTableMeta, type RecordRef, type RefreshEvent, type RelationMeasureArg, type RelationMeta, type RelationTypes, type Relations, type Repository, type RepositoryApi, type RepositoryExtension, type RepositoryOf, type RequestArgs, type RequestContext, type Result, type ResultColumn, type Returned, type Row, type RowFilter, type RpcContext, type RpcDefinition, type RpcNotice, type RpcOptions, SPEC_PINS, type Schema, type SchemaMeta, type ScopeFor, type SearchArgs, type SelectArg, type SelectColumn, type SelectOp, type Selection, type Simplify, type SortDirection, type SortSpec, type Specs, type StandardJSONSchemaV1, type StandardSchemaV1, StatsRecorder, type StoragePath, type SubjectTypeOf, type SupabaseOptions, type TableFlags, type TableKey, type TableMeta, type TableRepositoryExtension, type TableSchema, type TableSchemaSpec, type TableSpecs, type TableValidators, type UniqueConstraint, type UniqueKeyName, type UniqueWhere, type Update, type UpdateArgs, type UpdateOp, type UpsertArgs, type UpsertManyArgs, type ValidationIssue, type ValidationOptions, type WhereArg, type WhereInput, type WithExtension, type WritableColumns, type WriteArgs, type WriteManyArgs, and, cacheTargetOf, column, compilePostgrest, consoleLogger, dbError, defineBetterResultErrors, definePlugin, defineReadSet, defineSupabase, err, escapeLike, explainPostgrest, fromBetterResult, fromProblem, isCheck, isConflict, isDbError, isForeignKey, isProblem, isQuerySpec, isReadSet, mapDbError, matchDbError, memoryCache, not, ok, or, postgrestCompiler, postgrestExecutor, problemResponse, readSetTables, recordStats, rowKey, rpcCacheTargets, silentLogger, specTables, statusOf, tableSchema, toBetterResult, toDbError, toProblem, validate };
|
package/dist/index.js
CHANGED
|
@@ -6,7 +6,7 @@ import { i as tableMeta, r as defineSchema } from "./build-D1-V9dd8.js";
|
|
|
6
6
|
import { i as or, n as column, r as not, t as and } from "./types-DnrJ_crV.js";
|
|
7
7
|
import { o as encodeValue, r as decodeValue } from "./wire-DIoLA8VL.js";
|
|
8
8
|
import { a as ok, i as fromBetterResult, n as defineBetterResultErrors, o as toBetterResult, r as err, s as toDbError, t as AsyncResult } from "./result-8xza7w5W.js";
|
|
9
|
-
import { a as decodeRows, c as rowKey, i as encodeCursor, l as rpcCacheTargets, n as defineSupabase, o as cacheTargetOf, r as decodeCursor, s as memoryCache, t as BetterSupabase } from "./define-
|
|
9
|
+
import { a as decodeRows, c as rowKey, i as encodeCursor, l as rpcCacheTargets, n as defineSupabase, o as cacheTargetOf, r as decodeCursor, s as memoryCache, t as BetterSupabase } from "./define-Duh2mMYk.js";
|
|
10
10
|
import { n as touchedTables, t as invalidationTargets } from "./tables-BSiVuKKx.js";
|
|
11
11
|
import { n as silentLogger, t as consoleLogger } from "./logger-BkF8ukXV.js";
|
|
12
12
|
import { t as EventHub } from "./events-Da482tiF.js";
|