UNPKG

gitlab

Version:

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

10 lines (9 loc) 635 B
import { BaseRequestOptions, BaseService, PaginatedRequestOptions, Sudo } from '../infrastructure'; import { ProjectId } from '.'; declare class ProtectedTags extends BaseService { all(projectId: ProjectId, options: PaginatedRequestOptions): Promise<import("../infrastructure").GetResponse>; protect(projectId: ProjectId, tagName: string, options: BaseRequestOptions): Promise<object>; show(projectId: ProjectId, tagName: string, options: Sudo): Promise<import("../infrastructure").GetResponse>; unprotect(projectId: ProjectId, tagName: string, options: Sudo): Promise<object>; } export default ProtectedTags;