UNPKG

gitlab

Version:

Full NodeJS implementation of the GitLab API. Supports Promises, Async/Await.

14 lines (13 loc) 914 B
import { BaseRequestOptions, BaseService, PaginatedRequestOptions, Sudo } from '../infrastructure'; import { ProjectId, PipelineId, JobScope } from '.'; declare class Pipelines extends BaseService { all(projectId: ProjectId, options?: PaginatedRequestOptions): Promise<import("../infrastructure").GetResponse>; create(projectId: ProjectId, ref: string, options?: BaseRequestOptions): Promise<object>; show(projectId: ProjectId, pipelineId: PipelineId, options?: Sudo): Promise<import("../infrastructure").GetResponse>; retry(projectId: ProjectId, pipelineId: PipelineId, options?: Sudo): Promise<object>; cancel(projectId: ProjectId, pipelineId: PipelineId, options?: Sudo): Promise<object>; showJobs(projectId: ProjectId, pipelineId: PipelineId, options?: { scope: JobScope; } & Sudo): Promise<import("../infrastructure").GetResponse>; } export default Pipelines;