Fix types

Signed-off-by: Sebastian Martinez <sebastinez@me.com>
This commit is contained in:
Sebastian Martinez
2022-04-04 18:48:57 +02:00
committed by Alexis Sellier
parent 9620a17167
commit e2103483a9
2 changed files with 5 additions and 5 deletions
+3 -3
View File
@@ -2,11 +2,11 @@ import type { Stats } from "@app/project";
import type { Diff } from "@app/diff";
export interface CommitsHistory {
headers: CommitHeaderWithContext[];
headers: CommitMetadata[];
stats: Stats;
}
export interface CommitHeaderWithContext {
export interface CommitMetadata {
header: CommitHeader;
context: CommitContext;
}
@@ -58,7 +58,7 @@ export interface CommitHeader {
// A set of commits grouped by time.
export interface CommitGroup {
time: string;
commits: CommitHeaderWithContext[];
commits: CommitMetadata[];
}
export interface CommitStats {