UNPKG

dots-wrapper

Version:

Digital Ocean v2 api wrapper - javascript - typescript - nodejs

11 lines (10 loc) 409 B
import { IResponse, IContext } from '../../types'; import { IDomain } from '..'; export interface IGetDomainApiResponse { domain: IDomain; } export interface IGetDomainApiRequest { name: string; } export type GetDomainResponse = IResponse<IGetDomainApiResponse>; export declare const getDomain: ({ httpClient, }: IContext) => ({ name, }: IGetDomainApiRequest) => Promise<Readonly<GetDomainResponse>>;