Add Heartwood translation layer for file diffs

Co-authored-by: xphoniex <dj.2dixx@gmail.com>
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
This commit is contained in:
Rūdolfs Ošiņš
2022-12-29 09:58:59 +01:00
co-authored by xphoniex
parent ca10a69ee5
commit 4bb34023c2
8 changed files with 69 additions and 34 deletions
+1 -6
View File
@@ -1,5 +1,5 @@
import type { Stats, Person } from "@app/lib/project";
import type { Diff } from "@app/lib/diff";
import type { Diff, DiffStats } from "@app/lib/diff";
import { ApiError } from "@app/lib/api";
import { getDaysPassed } from "@app/lib/utils";
@@ -63,11 +63,6 @@ export interface WeeklyActivity {
week: number;
}
export interface DiffStats {
additions: number;
deletions: number;
}
export interface Commit {
header: CommitHeader;
stats: DiffStats;