UNPKG

@reliverse/rse-sdk

Version:

@reliverse/rse-sdk without cli. @reliverse/rse-sdk allows you to create new plugins for @reliverse/rse CLI, interact with reliverse.org, and even extend your own CLI functionality (you may also try @reliverse/dler-sdk for this case).

21 lines (20 loc) 1.16 kB
import type { InstanceVercel } from "../../../../../utils/instanceVercel.js"; import type { ReliverseMemory } from "../../../../../utils/schemaMemory.js"; import { type InstanceGithub } from "../../../../../utils/instanceGithub.js"; import type { VercelDeploymentConfig } from "./vercel-types"; /** * Monitors the deployment logs until the deployment reaches a READY state. */ export declare function monitorDeployment(vercelInstance: InstanceVercel, deploymentId: string, teamId: string, slug: string, showDetailedLogs?: boolean): Promise<void>; /** * Creates the initial Vercel deployment for a project. * This function handles the gitSource information by: * 1. Retrieving the local HEAD commit SHA. * 2. Using Octokit (via the GitHub token) to get the repository's numeric ID. */ export declare function createInitialVercelDeployment(githubInstance: InstanceGithub, vercelInstance: InstanceVercel, projectId: string, memory: ReliverseMemory, projectName: string, config: VercelDeploymentConfig, selectedOptions: { includes: (option: string) => boolean; }, githubUsername: string, githubToken: string): Promise<{ url: string; id: string; }>;