UNPKG

@reliverse/rse

Version:

@reliverse/rse is your all-in-one companion for bootstrapping and improving any kind of projects (especially web apps built with frameworks like Next.js) — whether you're kicking off something new or upgrading an existing app. It is also a little AI-power

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; }>;