UNPKG

dots-wrapper

Version:

Digital Ocean v2 api wrapper - javascript - typescript - nodejs

11 lines (10 loc) 383 B
import { IResponse, IContext } from '../../types'; import { IVpc } from '..'; export interface IGetVpcApiResponse { vpc: IVpc; } export interface IGetVpcApiRequest { vpc_id: string; } export type GetVpcResponse = IResponse<IGetVpcApiResponse>; export declare const getVpc: ({ httpClient, }: IContext) => ({ vpc_id, }: IGetVpcApiRequest) => Promise<Readonly<GetVpcResponse>>;