gitlab
Version:
Full NodeJS implementation of the GitLab API. Supports Promises, Async/Await.
12 lines (11 loc) • 778 B
TypeScript
import { BaseRequestOptions, BaseService, PaginatedRequestOptions, Sudo } from '../infrastructure';
import { ProjectId, LabelId } from '.';
declare class Labels extends BaseService {
all(projectId: ProjectId, options?: PaginatedRequestOptions): Promise<import("../infrastructure").GetResponse>;
create(projectId: ProjectId, options?: BaseRequestOptions): Promise<object>;
edit(projectId: ProjectId, labelName: string, options?: BaseRequestOptions): Promise<object>;
remove(projectId: ProjectId, labelName: string, options?: Sudo): Promise<object>;
subscribe(projectId: ProjectId, labelId: LabelId, options?: Sudo): Promise<object>;
unsubscribe(projectId: ProjectId, labelId: LabelId, options?: Sudo): Promise<object>;
}
export default Labels;