UNPKG

dots-wrapper

Version:

Digital Ocean v2 api wrapper - javascript - typescript - nodejs

15 lines (14 loc) 630 B
import { IResponse, IContext } from '../../types'; import { IProject } from '..'; export interface IPatchDefaultProjectApiResponse { project: IProject; } export interface IPatchDefaultProjectApiRequest { description?: string; environment?: string; is_default?: boolean; name?: string; purpose?: string; } export type PatchDefaultProjectResponse = IResponse<IPatchDefaultProjectApiResponse>; export declare const patchDefaultProject: ({ httpClient, }: IContext) => ({ description, environment, is_default, name, purpose, }: IPatchDefaultProjectApiRequest) => Promise<Readonly<PatchDefaultProjectResponse>>;