types/vcs.types.ts

types/vcs.types.ts is a file in GovLab Stats. 17 lines of code and 3 definitions.

export interface RepoStats {
    branch: string | null;
    commits: number;
    firstDate: string | null;
    head: string | null;
    label: string;
    lastDate: string | null;
    shortlog: string | null;
    tracked: number;
}

export interface Contributor {
    count: number;
    who: string;
}

export interface GitStats extends RepoStats {
    contributors: Contributor[];
}