feat: display download progress

This commit is contained in:
tdurieux
2021-09-07 12:10:25 +02:00
parent 1808fe5b2e
commit 7a44a42331
5 changed files with 39 additions and 8 deletions
@@ -10,7 +10,8 @@ const AnonymizedRepositorySchema = new Schema({
type: String,
default: "preparing",
},
errorMessage: String,
statusDate: Date,
statusMessage: String,
anonymizeDate: Date,
lastView: Date,
pageView: Number,
@@ -4,7 +4,8 @@ import { RepositoryStatus, Tree } from "../../types";
export interface IAnonymizedRepository {
repoId: string;
status?: RepositoryStatus;
errorMessage?: string;
statusMessage?: string;
statusDate: Date;
anonymizeDate: Date;
source: {
type: "GitHubDownload" | "GitHubStream" | "Zip";