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