dots-wrapper
Version:
Digital Ocean v2 api wrapper - javascript - typescript - nodejs
11 lines (10 loc) • 387 B
TypeScript
import { IResponse, IContext } from '../../types';
import { ITag } from '..';
export interface IGetTagApiResponse {
tag: ITag;
}
export interface IGetTagApiRequest {
tag_name: string;
}
export type GetTagResponse = IResponse<IGetTagApiResponse>;
export declare const getTag: ({ httpClient, }: IContext) => ({ tag_name, }: IGetTagApiRequest) => Promise<Readonly<GetTagResponse>>;