gitlab
Version:
Full NodeJS implementation of the GitLab API. Supports Promises, Async/Await.
18 lines (17 loc) • 762 B
TypeScript
import { BaseRequestOptions, BaseService, PaginatedRequestOptions } from '../infrastructure';
import { UserId } from '.';
declare class UserGPGKeys extends BaseService {
all({ userId, ...options }?: {
userId?: UserId;
} & PaginatedRequestOptions): Promise<import("../infrastructure").GetResponse>;
add(title: any, key: any, { userId, ...options }?: {
userId?: UserId;
} & BaseRequestOptions): Promise<object>;
show(keyId: any, { userId, ...options }?: {
userId?: UserId;
} & BaseRequestOptions): Promise<import("../infrastructure").GetResponse>;
remove(keyId: any, { userId, ...options }?: {
userId?: UserId;
} & BaseRequestOptions): Promise<object>;
}
export default UserGPGKeys;