UNPKG

gitlab

Version:

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

15 lines (14 loc) 842 B
import { BaseService, PaginatedRequestOptions, Sudo } from '../infrastructure'; import { ProjectId } from '.'; declare class ReleaseLinks extends BaseService { all(projectId: ProjectId, tagName: string, options?: PaginatedRequestOptions): Promise<import("../infrastructure").GetResponse>; create(projectId: ProjectId, tagName: string, name: string, url: string, options?: Sudo): Promise<object>; edit(projectId: ProjectId, tagName: string, linkId: number, options: Sudo & ({ name: string; } | { url: string; })): Promise<object>; remove(projectId: ProjectId, tagName: string, linkId: number, options?: Sudo): Promise<object>; show(projectId: ProjectId, tagName: string, linkId: number, options?: Sudo): Promise<import("../infrastructure").GetResponse>; } export default ReleaseLinks;