dots-wrapper
Version:
Digital Ocean v2 api wrapper - javascript - typescript - nodejs
8 lines (7 loc) • 416 B
TypeScript
import { IResponse, IContext, IListResponse, IListRequest } from '../../types';
import { ISshKey } from '..';
export interface IListSshKeysApiResponse extends IListResponse {
ssh_keys: ISshKey[];
}
export type ListSshKeysResponse = IResponse<IListSshKeysApiResponse>;
export declare const listSshKeys: ({ httpClient, }: IContext) => ({ page, per_page, }: IListRequest) => Promise<Readonly<ListSshKeysResponse>>;