gitlab
Version:
Full NodeJS implementation of the GitLab API. Supports Promises, Async/Await.
16 lines (15 loc) • 980 B
TypeScript
import { BaseRequestOptions, BaseService, PaginatedRequestOptions, Sudo } from '../infrastructure';
import { ProjectId, RunnerId } from '.';
declare class Runners extends BaseService {
all({ projectId, ...options }: {
projectId: ProjectId;
} & PaginatedRequestOptions): Promise<import("../infrastructure").GetResponse>;
allOwned(options?: BaseRequestOptions): Promise<import("../infrastructure").GetResponse>;
edit(runnerId: RunnerId, options?: BaseRequestOptions): Promise<object>;
enable(projectId: ProjectId, runnerId: RunnerId, options?: Sudo): Promise<object>;
disable(projectId: ProjectId, runnerId: RunnerId, options?: Sudo): Promise<object>;
jobs(runnerId: RunnerId, options?: Sudo): Promise<import("../infrastructure").GetResponse>;
remove(runnerId: RunnerId, options?: Sudo): Promise<object>;
show(runnerId: RunnerId, options?: Sudo): Promise<import("../infrastructure").GetResponse>;
}
export default Runners;