import { BaseResource } from '@gitbeaker/requester-utils'; import { RequestHelper } from '../infrastructure'; import type { GitlabAPIResponse, ShowExpanded, Sudo } from '../infrastructure'; export interface ApplicationStatisticSchema extends Record { forks: string; issues: string; merge_requests: string; notes: string; snippets: string; ssh_keys: string; milestones: string; users: string; groups: string; projects: string; active_users: string; } export class ApplicationStatistics extends BaseResource { show( options?: Sudo & ShowExpanded, ): Promise> { return RequestHelper.get()(this, 'application/statistics', options); } }