# types/vcs.types.ts

> 17 lines of code and 3 definitions.

Tree: GovLab Stats
Language: typescript
Layer: infrastructure
Canonical: https://banes-lab.com/anatomy/stats#file-stats-types-vcs-types-ts
Source text: https://banes-lab.com/source/stats/types/vcs.types.ts.txt

Listed in [types](https://banes-lab.com/api/source/stats/types.md), after [types/taxonomy.types.ts](https://banes-lab.com/source/stats/types/taxonomy.types.ts.md).

## Definitions

- `RepoStats` (interface_declaration, line 1, exported)
- `Contributor` (interface_declaration, line 12, exported)
- `GitStats` (interface_declaration, line 17, exported)

## Contained in

- [types](https://banes-lab.com/anatomy/stats/folder-stats-types.md)

## Source

```typescript
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[];
}
```
