import { API } from "https://deno.land/x/netzo@v0.1.85/cli/src/utils/api.ts";
Methods
getDeployments(projectId: string): Promise<Deployment[] | null>
getLogs(projectId: string, deploymentId: string): AsyncIterable<Logs>
getProject(id: string): Promise<Project | null>
getProjectByUid(projectUid: string): Promise<Project | null>
getTemplateByUid(templateUid: string): Promise<Template | null>
gitHubActionsDeploy(): AsyncIterable<DeploymentProgress>
projectId: string,
request: GitHubActionsDeploymentRequest,
files: Uint8Array[],
projectNegotiateAssets(id: string, manifest: { entries: Record<string, ManifestEntry>; }): Promise<string[]>
pushDeploy(): AsyncIterable<DeploymentProgress>
projectId: string,
request: PushDeploymentRequest,
files: Uint8Array[],
pushDeployJson(projectId: string, body: Pick<Project, "deploymentId" | "configuration" | "fs">): AsyncIterable<DeploymentProgress>
Static Methods
fromApiKey(apiKey: string)