better-supabase 0.6.0 → 0.7.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-Bc1o3zyy.js → adapter-B-tL8hqg.js} +104 -25
- package/dist/ai-sdk/batches/index.d.ts +1 -1
- package/dist/ai-sdk/index.d.ts +1 -1
- package/dist/ai-sdk/mcp/index.d.ts +3 -3
- package/dist/{api-keys-rCGtKaZA.d.ts → api-keys-CIjghYjV.d.ts} +1 -1
- package/dist/astro/index.d.ts +4 -4
- package/dist/astro/index.js +2 -2
- package/dist/blocks/ai-providers/index.d.ts +1 -1
- package/dist/blocks/api-keys/index.d.ts +2 -2
- package/dist/blocks/attachments/index.d.ts +18 -4
- package/dist/blocks/attachments/index.js +16 -4
- package/dist/blocks/audit/index.js +1 -1
- package/dist/blocks/connectors/index.d.ts +1 -1
- package/dist/blocks/data-lifecycle/index.d.ts +11 -3
- package/dist/blocks/data-lifecycle/index.js +8 -3
- package/dist/blocks/entitlements/index.d.ts +1 -1
- package/dist/blocks/index.d.ts +1 -1
- package/dist/blocks/sso/index.d.ts +1 -1
- package/dist/blocks/workflow-builder/index.d.ts +2 -2
- package/dist/blocks/workflow-builder/react/index.d.ts +1 -1
- package/dist/chat-sdk/index.d.ts +1 -1
- package/dist/cli/bin.js +1 -1
- package/dist/cli/{doctor-B4JOm_ox.js → doctor-CVdnLahA.js} +66 -14
- package/dist/cli/{gen-BGLb_zou.js → gen-AIf4MREI.js} +1 -1
- package/dist/cli/gen-DSrahEdX.js +2 -0
- package/dist/cli/index.d.ts +1 -1
- package/dist/cli/index.js +3 -3
- package/dist/cli/{init-BIIwclPg.js → init-Cr6arjXU.js} +1 -1
- package/dist/cli/{introspect-DNUTuNvb.js → introspect-Bzuv1HHj.js} +1 -1
- package/dist/cli/{run-DNWxHynX.js → run-BO052mki.js} +7 -7
- package/dist/cli/{sql-D0GUtUPp.js → sql-B8csQPyn.js} +13 -54
- package/dist/cli/sql-layout-D6cphHT3.js +69 -0
- package/dist/cli/{version-hr88OZG0.js → version-Bp4fyubI.js} +1 -1
- package/dist/{composite-DhE66P5u.js → composite-C6I8ZyaF.js} +1 -1
- package/dist/{composite-Bt1YK3Ke.d.ts → composite-CpHLEo-G.d.ts} +3 -3
- package/dist/{connectors-hkLCwyEz.d.ts → connectors-CrpknU0P.d.ts} +1 -1
- package/dist/credentials/index.d.ts +2 -2
- package/dist/{csv-CPAzEmB6.js → csv-DCK-PT1n.js} +1 -1
- package/dist/edge/index.d.ts +5 -5
- package/dist/edge/index.js +3 -3
- package/dist/elysia/index.d.ts +1 -1
- package/dist/{ended-jLfvw8h-.d.ts → ended-XjeGQ5XW.d.ts} +4 -1
- package/dist/{entitlements-DHrY2UDZ.d.ts → entitlements-BKSVGtrG.d.ts} +1 -1
- package/dist/eve/index.d.ts +2 -2
- package/dist/eve/index.js +1 -1
- package/dist/{executor-D14tGopJ.d.ts → executor-BVBFM86G.d.ts} +1 -1
- package/dist/expo/index.d.ts +2 -2
- package/dist/expo/index.js +3 -3
- package/dist/{framework-CONDyPYx.js → framework-BDCpJI7o.js} +1 -1
- package/dist/{framework-DuVb4Xa8.d.ts → framework-KIPvRQJU.d.ts} +4 -4
- package/dist/h3/index.d.ts +1 -1
- package/dist/h3/v1/index.d.ts +1 -1
- package/dist/hono/index.d.ts +6 -6
- package/dist/hono/index.js +2 -2
- package/dist/{index-DDrYaUcq.d.ts → index-CdZKQF98.d.ts} +1 -1
- package/dist/{index-CtuakVRc.d.ts → index-CewnYSpv.d.ts} +1 -1
- package/dist/{kit-B5tid-q5.d.ts → kit-CkNzZUqv.d.ts} +3 -3
- package/dist/mcp/index.d.ts +3 -3
- package/dist/mcp/index.js +1 -1
- package/dist/mcp/sdk/index.d.ts +3 -3
- package/dist/mcp/sdk/index.js +1 -1
- package/dist/nestjs/index.d.ts +2 -2
- package/dist/next/index.d.ts +13 -8
- package/dist/next/index.js +5 -5
- package/dist/node/index.d.ts +2 -2
- package/dist/orpc/index.d.ts +4 -4
- package/dist/orpc/index.js +1 -1
- package/dist/otel/index.js +5 -5
- package/dist/{provider-BH5UWZJ6.d.ts → provider-D-UEMvSD.d.ts} +1 -1
- package/dist/react/index.d.ts +5 -5
- package/dist/react/server.d.ts +5 -5
- package/dist/react/session.d.ts +2 -2
- package/dist/react-router/index.d.ts +4 -4
- package/dist/react-router/index.js +2 -2
- package/dist/{refusal-D1rgbzNq.d.ts → refusal-DhSU2Vvr.d.ts} +1 -1
- package/dist/{resolve-KW8nCeL6.d.ts → resolve-ChTYeTEl.d.ts} +3 -0
- package/dist/{resolve-D_IcnvFd.js → resolve-tJZY3FEa.js} +12 -7
- package/dist/{resource-D6Uc7Sk7.d.ts → resource-IPS5xi9q.d.ts} +1 -1
- package/dist/{respond-DoBijysA.d.ts → respond-DprrgyXX.d.ts} +1 -1
- package/dist/server/index.d.ts +47 -10
- package/dist/server/index.js +27 -5
- package/dist/{server-CeVeeXwz.d.ts → server-ZSJ9rCcV.d.ts} +27 -3
- package/dist/solid/index.d.ts +2 -2
- package/dist/solid-start/index.d.ts +4 -4
- package/dist/solid-start/index.js +2 -2
- package/dist/sql/index.d.ts +10 -0
- package/dist/sql/index.js +82 -13
- package/dist/ssr/index.d.ts +4 -4
- package/dist/ssr/index.js +1 -1
- package/dist/{support-BivNqSpK.js → support-DWwzVf-O.js} +1 -1
- package/dist/{support-view-33Oi07TT.d.ts → support-view-CVOJJLpc.d.ts} +1 -1
- package/dist/svelte/index.d.ts +1 -1
- package/dist/sveltekit/index.d.ts +4 -4
- package/dist/sveltekit/index.js +2 -2
- package/dist/tanstack-start/index.d.ts +4 -4
- package/dist/tanstack-start/index.js +2 -2
- package/dist/{tenant-icPeuUBN.d.ts → tenant-BxNFk9bx.d.ts} +1 -1
- package/dist/testing/index.d.ts +5 -5
- package/dist/{types-TaiEeBGA.d.ts → types-6rocye-y.d.ts} +1 -1
- package/dist/{types-BI-0Sl2v.d.ts → types-AYOvcyep.d.ts} +1 -1
- package/dist/{vault-CSO7ss5C.d.ts → vault-wlbBhqm7.d.ts} +1 -1
- package/dist/vercel-connect/index.d.ts +1 -1
- package/dist/{version-Bvv6aLjZ.js → version--AolB5ej.js} +1 -1
- package/dist/{view-DbxLNu8L.d.ts → view-CF7ihnkg.d.ts} +1 -1
- package/dist/vue/index.d.ts +2 -2
- package/dist/workflow-sdk/builder/index.d.ts +2 -2
- package/package.json +1 -1
- package/schemas/doctor-report-v1.json +2 -0
- package/dist/cli/gen-DAH8FM2W.js +0 -2
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { c as extendServer, n as flushEvents, s as createServer } from "../adapter-
|
|
1
|
+
import { c as extendServer, n as flushEvents, s as createServer } from "../adapter-B-tL8hqg.js";
|
|
2
2
|
import { t as defaultExpose } from "../respond-BUgsXNgk.js";
|
|
3
3
|
import { i as requireCaller, o as runAction } from "../kit-Fm-Fv7q5.js";
|
|
4
4
|
import { n as bufferInPlace, t as around } from "../shared-CBxosKK3.js";
|
|
5
|
-
import { i as localsOf, r as frameworkEntry } from "../framework-
|
|
5
|
+
import { i as localsOf, r as frameworkEntry } from "../framework-BDCpJI7o.js";
|
|
6
6
|
import { r as refusalResponse } from "../refusal-CeJWxmkH.js";
|
|
7
7
|
//#region src/bridges/tanstack-start.ts
|
|
8
8
|
/** The `response` of a request middleware's `next()` result; server function results have none. */
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as AuthSnapshot } from "./bind-Bu_ZNa3W.js";
|
|
2
|
-
import { t as AuthSession } from "./view-
|
|
2
|
+
import { t as AuthSession } from "./view-CF7ihnkg.js";
|
|
3
3
|
//#region src/auth/tenant.d.ts
|
|
4
4
|
/**
|
|
5
5
|
* The active tenant of a user session: the `claim` claim (`tenant_id` by
|
package/dist/testing/index.d.ts
CHANGED
|
@@ -2,25 +2,25 @@ import { H as Update, L as TableKey, P as SchemaMeta, a as AnyModels, i as AnyFu
|
|
|
2
2
|
import { r as Executor } from "../executor-DvsBbNBS.js";
|
|
3
3
|
import { t as SqlClient } from "../executor-DbvExCFC.js";
|
|
4
4
|
import { m as RequestContext, n as AnyPlugin } from "../plugin-FGY8UhYm.js";
|
|
5
|
-
import { n as AuthResolver } from "../resolve-
|
|
6
|
-
import { a as CredentialSubject, i as CredentialRef, r as CredentialProvider } from "../provider-
|
|
5
|
+
import { n as AuthResolver } from "../resolve-ChTYeTEl.js";
|
|
6
|
+
import { a as CredentialSubject, i as CredentialRef, r as CredentialProvider } from "../provider-D-UEMvSD.js";
|
|
7
7
|
import { k as QueueBackend } from "../queue-CLJurhdy.js";
|
|
8
8
|
import { n as Embedder } from "../knowledge-BXBbT0Tr.js";
|
|
9
9
|
import { o as StreamStore } from "../store-CGjgWu5n.js";
|
|
10
10
|
import { B as DbStats, b as Db, t as BetterSupabase, u as CacheAdapter } from "../define-CJJkkr1-.js";
|
|
11
11
|
import { r as EventSink, t as CloudEvent } from "../cloud-event-C1JCc1bH.js";
|
|
12
12
|
import { t as BetterPostgres } from "../pool-CAu2nLrL.js";
|
|
13
|
-
import {
|
|
13
|
+
import { V as SupportSessionStore, i as ServerContext, o as ServerOptions } from "../server-ZSJ9rCcV.js";
|
|
14
14
|
import { s as Impersonator } from "../mfa-Daak8ukG.js";
|
|
15
15
|
import { n as SessionActor, r as SessionDelegation } from "../actor-CQTlc1Hh.js";
|
|
16
|
-
import { r as GuardOptions } from "../respond-
|
|
16
|
+
import { r as GuardOptions } from "../respond-DprrgyXX.js";
|
|
17
17
|
import { i as AuthorizationProvider } from "../authorization-BFCqamMs.js";
|
|
18
18
|
import { i as AiTaskRun, o as AiTaskRunner, t as AiTask } from "../ai-tasks-Cd1HMFvB.js";
|
|
19
19
|
import { D as ResolvedConfig, _ as GeneratorInput, h as Generator, v as GeneratorModel } from "../config-D44Y7PAv.js";
|
|
20
20
|
import { a as BlockTransportMiddleware } from "../block-hooks-plbZ0AbJ.js";
|
|
21
21
|
import { t as NotificationChannel } from "../channel-_2Mx1Oyu.js";
|
|
22
22
|
import { c as WebhookSecretStore, i as WebhookSigner, m as WebhookTransport } from "../signers-4y62_VIi.js";
|
|
23
|
-
import { T as WorkflowGraph, i as BuilderStarter, r as BuilderStartCall, s as GraphCompiler } from "../types-
|
|
23
|
+
import { T as WorkflowGraph, i as BuilderStarter, r as BuilderStartCall, s as GraphCompiler } from "../types-AYOvcyep.js";
|
|
24
24
|
import { t as EveDocumentBackend } from "../eve-gT2Fpjut.js";
|
|
25
25
|
import { SupabaseClient } from "@supabase/supabase-js";
|
|
26
26
|
import { Message, StateAdapter } from "chat";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/// <reference lib="esnext.temporal" />
|
|
2
2
|
import { t as AsyncResult, w as ErrorMapper } from "./result-D7y2fT87.js";
|
|
3
3
|
import { t as BlockTransport } from "./block-transport-DvaoPuZ9.js";
|
|
4
|
-
import { i as CredentialRef, r as CredentialProvider } from "./provider-
|
|
4
|
+
import { i as CredentialRef, r as CredentialProvider } from "./provider-D-UEMvSD.js";
|
|
5
5
|
import { i as CursorPageOptions, r as BlockTemporalOptions } from "./block-helpers-CKtbFcRv.js";
|
|
6
6
|
//#region src/blocks/ai-providers/types.d.ts
|
|
7
7
|
/** A tenant's own key for a provider. The key itself stays in the credential provider. */
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/// <reference lib="esnext.temporal" />
|
|
2
2
|
import { t as AsyncResult, w as ErrorMapper } from "./result-D7y2fT87.js";
|
|
3
3
|
import { t as BlockTransport } from "./block-transport-DvaoPuZ9.js";
|
|
4
|
-
import { i as CredentialRef, o as CredentialToken, r as CredentialProvider } from "./provider-
|
|
4
|
+
import { i as CredentialRef, o as CredentialToken, r as CredentialProvider } from "./provider-D-UEMvSD.js";
|
|
5
5
|
import { r as BlockTemporalOptions } from "./block-helpers-CKtbFcRv.js";
|
|
6
6
|
import { a as WorkflowSchedule, u as WorkflowStarter } from "./workflows-B0j9WKPu.js";
|
|
7
7
|
//#region src/blocks/workflow-builder/graph.d.ts
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as AsyncResult, w as ErrorMapper } from "./result-D7y2fT87.js";
|
|
2
2
|
import { t as BlockTransport } from "./block-transport-DvaoPuZ9.js";
|
|
3
|
-
import { c as SetCredentialOptions, i as CredentialRef, r as CredentialProvider } from "./provider-
|
|
3
|
+
import { c as SetCredentialOptions, i as CredentialRef, r as CredentialProvider } from "./provider-D-UEMvSD.js";
|
|
4
4
|
//#region src/credentials/vault.d.ts
|
|
5
5
|
/** How a request the third party sends is signed with the stored secret. */
|
|
6
6
|
type VaultInboundScheme = "standard-webhooks" | "hmac-sha256" | "shared-secret";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as CredentialSubject, r as CredentialProvider } from "../provider-
|
|
1
|
+
import { a as CredentialSubject, r as CredentialProvider } from "../provider-D-UEMvSD.js";
|
|
2
2
|
//#region src/vercel-connect/vercel-connect.d.ts
|
|
3
3
|
interface ConnectTokenParams {
|
|
4
4
|
subject: CredentialSubject;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { b as DbError } from "./result-D7y2fT87.js";
|
|
2
|
-
import { i as InvalidReason, r as AuthState } from "./resolve-
|
|
2
|
+
import { i as InvalidReason, r as AuthState } from "./resolve-ChTYeTEl.js";
|
|
3
3
|
import { n as AmrEntry, s as Impersonator, t as Aal } from "./mfa-Daak8ukG.js";
|
|
4
4
|
import { n as SessionActor, r as SessionDelegation } from "./actor-CQTlc1Hh.js";
|
|
5
5
|
import { JWTClaims, UserClaims } from "@supabase/server";
|
package/dist/vue/index.d.ts
CHANGED
|
@@ -2,9 +2,9 @@ import { b as DbError } from "../result-D7y2fT87.js";
|
|
|
2
2
|
import { it as QuerySpec } from "../define-CJJkkr1-.js";
|
|
3
3
|
import { n as TemplateValues } from "../template-CwO38Do8.js";
|
|
4
4
|
import { t as AuthSnapshot } from "../bind-Bu_ZNa3W.js";
|
|
5
|
-
import { t as AuthSession } from "../view-
|
|
5
|
+
import { t as AuthSession } from "../view-CF7ihnkg.js";
|
|
6
6
|
import { S as Topic, f as PresenceMember, u as EventSchemas, w as TopicHandlers, x as SubscriptionStatus } from "../index-DunNRdnT.js";
|
|
7
|
-
import { t as SupportView } from "../support-view-
|
|
7
|
+
import { t as SupportView } from "../support-view-CVOJJLpc.js";
|
|
8
8
|
import { a as BroadcastOptions, c as LiveCountSource, d as PresenceTopic, f as UseActionOptions, i as ActionState, l as LiveQueryHookOptions, n as ActionInputOf, o as ClientLike, r as ActionResultOf, s as LiveCountHookOptions, t as fieldErrorsOf, u as PresenceHookOptions } from "../field-errors-BFOa7WhB.js";
|
|
9
9
|
import { SupabaseClient } from "@supabase/supabase-js";
|
|
10
10
|
import { App, ComputedRef, MaybeRefOrGetter, Ref } from "vue";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { T as WorkflowGraph, c as NodeRunRecord, i as BuilderStarter } from "../../types-
|
|
2
|
-
import { i as executeGraph, n as GraphStepCall, r as approvalToken, t as GraphRuntime } from "../../executor-
|
|
1
|
+
import { T as WorkflowGraph, c as NodeRunRecord, i as BuilderStarter } from "../../types-AYOvcyep.js";
|
|
2
|
+
import { i as executeGraph, n as GraphStepCall, r as approvalToken, t as GraphRuntime } from "../../executor-BVBFM86G.js";
|
|
3
3
|
import { o as WorkflowFn } from "../../workflow-sdk-B3yLD6Br.js";
|
|
4
4
|
import { World } from "@workflow/world";
|
|
5
5
|
//#region src/workflow-sdk/builder/builder.d.ts
|
package/package.json
CHANGED
package/dist/cli/gen-DAH8FM2W.js
DELETED