mirror of
https://github.com/jdalrymple/gitbeaker.git
synced 2026-01-18 15:55:30 +00:00
42 lines
1.2 KiB
TypeScript
42 lines
1.2 KiB
TypeScript
import { ResourceIssueBoards } from '../templates';
|
|
import {
|
|
BaseServiceOptions,
|
|
BaseRequestOptions,
|
|
PaginatedRequestOptions,
|
|
Sudo,
|
|
} from '../infrastructure';
|
|
|
|
export interface ProjectIssueBoards extends ResourceIssueBoards {
|
|
all(projectId: string | number, options?: PaginatedRequestOptions);
|
|
|
|
create(projectId: string | number, name: string, options?: Sudo);
|
|
|
|
createList(projectId: string | number, boardId: number, labelId: number, options?: Sudo);
|
|
|
|
edit(projectId: string | number, boardId: number, options?: BaseRequestOptions);
|
|
|
|
editList(
|
|
projectId: string | number,
|
|
boardId: number,
|
|
listId: number,
|
|
position: number,
|
|
options?: Sudo,
|
|
);
|
|
|
|
lists(projectId: string | number, boardId: number, options?: Sudo);
|
|
|
|
remove(projectId: string | number, boardId: number, options?: Sudo);
|
|
|
|
removeList(projectId: string | number, boardId: number, listId: number, options?: Sudo);
|
|
|
|
show(projectId: string | number, boardId: number, options?: Sudo);
|
|
|
|
showList(projectId: string | number, boardId: number, listId: number, options?: Sudo);
|
|
}
|
|
|
|
export class ProjectIssueBoards extends ResourceIssueBoards {
|
|
constructor(options: BaseServiceOptions = {}) {
|
|
super('projects', options);
|
|
}
|
|
}
|