mirror of
https://github.com/jdalrymple/gitbeaker.git
synced 2026-01-25 16:04:01 +00:00
Adding extensive typing support Unified browser and Node.JS implementations Adding support of Gitlab API 16.0
13 lines
534 B
TypeScript
13 lines
534 B
TypeScript
import { BaseResource } from '@gitbeaker/requester-utils';
|
|
import { RequestHelper } from '../infrastructure';
|
|
import type { GitlabAPIResponse, ShowExpanded, Sudo } from '../infrastructure';
|
|
|
|
export class DependencyProxy<C extends boolean = false> extends BaseResource<C> {
|
|
remove<E extends boolean = false>(
|
|
groupId: string | number,
|
|
options?: Sudo & ShowExpanded<E>,
|
|
): Promise<GitlabAPIResponse<void, C, E, void>> {
|
|
return RequestHelper.post<void>()(this, `groups/${groupId}/dependency_proxy/cache`, options);
|
|
}
|
|
}
|