UNPKG

gitlab

Version:

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

12 lines (11 loc) 563 B
import { BaseService, BaseRequestOptions, Sudo } from '../infrastructure'; import { ProjectId } from '.'; declare class PushRule extends BaseService { create(projectId: ProjectId, options?: BaseRequestOptions): Promise<object>; edit(projectId: ProjectId, { upsert, ...options }: { upsert: boolean; } & BaseRequestOptions): Promise<object>; remove(projectId: ProjectId, options?: Sudo): Promise<object>; show(projectId: ProjectId, options?: Sudo): Promise<import("../infrastructure").GetResponse>; } export default PushRule;