dots-wrapper
Version:
Digital Ocean v2 api wrapper - javascript - typescript - nodejs
11 lines (10 loc) • 409 B
TypeScript
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>>;