@reliverse/rse-sdk
Version:
@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).
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>;