@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
28 lines (27 loc) • 1.19 kB
TypeScript
import type { UpdateProjectRequestBody } from "@vercel/sdk/models/updateprojectop";
import type { InstanceVercel } from "../../../../../utils/instanceVercel.js";
/**
* Updates a Vercel project with the given configuration
* @see https://github.com/vercel/sdk/blob/main/docs/sdks/projects/README.md#updateproject
*/
export declare function updateProject(vercelInstance: InstanceVercel, projectId: string, config: UpdateProjectRequestBody, teamId?: string, teamSlug?: string): Promise<void>;
/**
* Enables analytics for the project
*/
export declare function enableAnalytics(vercelInstance: InstanceVercel, projectId: string): Promise<void>;
/**
* Configures branch protection settings
*/
export declare function configureBranchProtection(vercelInstance: InstanceVercel, projectId: string): Promise<void>;
/**
* Configures resource settings
*/
export declare function configureResources(vercelInstance: InstanceVercel, projectId: string): Promise<void>;
export interface ConfigurationOptions {
options: string[];
useSharedEnvVars: boolean;
}
/**
* Gets configuration options from user
*/
export declare function getConfigurationOptions(): Promise<ConfigurationOptions>;