@convex-dev/better-auth
Version:
A Better Auth component for Convex.
9 lines • 612 B
TypeScript
import { RunActionCtx, RunCtx, RunMutationCtx, RunQueryCtx } from "../client/index.js";
export declare const requireEnv: (name: string) => string;
export declare const isQueryCtx: (ctx: RunCtx) => ctx is RunQueryCtx;
export declare const isMutationCtx: (ctx: RunCtx) => ctx is RunMutationCtx;
export declare const isActionCtx: (ctx: RunCtx) => ctx is RunActionCtx;
export declare const requireQueryCtx: (ctx: RunCtx) => RunQueryCtx;
export declare const requireMutationCtx: (ctx: RunCtx) => RunMutationCtx;
export declare const requireActionCtx: (ctx: RunCtx) => RunActionCtx;
//# sourceMappingURL=index.d.ts.map