mirror of
https://github.com/jdalrymple/gitbeaker.git
synced 2026-01-25 16:04:01 +00:00
12 lines
468 B
TypeScript
12 lines
468 B
TypeScript
import { BaseService } from '@gitbeaker/requester-utils';
|
|
import { PaginatedRequestOptions, RequestHelper } from '../infrastructure';
|
|
import { RunnerSchema } from './Runners';
|
|
|
|
export class GroupRunners extends BaseService {
|
|
all(groupId: string | number, options?: PaginatedRequestOptions): Promise<RunnerSchema[]> {
|
|
const gId = encodeURIComponent(groupId);
|
|
|
|
return RequestHelper.get(this, `groups/${gId}/runners`, options) as Promise<RunnerSchema[]>;
|
|
}
|
|
}
|