UNPKG

convex

Version:

Client for the Convex Cloud

25 lines 769 B
import { Context } from "./context.js"; export declare type DeploymentType = "dev" | "prod"; export declare type Project = { id: string; name: string; slug: string; active_instances: number; }; declare type AdminKey = string; export declare function getUrlAndAdminKey(ctx: Context, projectSlug: string, teamSlug: string, deploymentType: DeploymentType): Promise<{ url: string; adminKey: AdminKey; }>; declare type DevDeployment = { url: string; adminKey: string; }; declare type DevDeploymentArgs = { projectSlug: string; teamSlug: string; backendVersionOverride?: string; }; export declare function getDevDeployment(ctx: Context, args: DevDeploymentArgs): Promise<DevDeployment>; export {}; //# sourceMappingURL=api.d.ts.map