UNPKG

dots-wrapper

Version:

Digital Ocean v2 api wrapper - javascript - typescript - nodejs

11 lines (10 loc) 383 B
import { IResponse, IContext } from '../../types'; import { IApp } from '..'; export interface IGetAppApiResponse { app: IApp; } export interface IGetAppApiRequest { app_id: string; } export type GetAppResponse = IResponse<IGetAppApiResponse>; export declare const getApp: ({ httpClient, }: IContext) => ({ app_id, }: IGetAppApiRequest) => Promise<Readonly<GetAppResponse>>;