@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
15 lines (14 loc) • 697 B
TypeScript
import { type InstanceGithub } from "../../../../../utils/instanceGithub.js";
/**
* Checks whether there is an existing deployment for the given project.
*
* It validates that the GitHub token exists in memory and that a GitHub
* username is provided, then uses Octokit to list deployments.
*
* @param projectName - The name of the project/repository.
* @param githubUsername - The GitHub username (owner).
* @param githubToken - The GitHub token.
*
* @returns True if at least one deployment is found; false otherwise.
*/
export declare function checkVercelDeployment(projectName: string, githubUsername: string, githubToken: string, githubInstance: InstanceGithub): Promise<boolean>;