feat: add a flag to know if a repo has been reseted

This commit is contained in:
tdurieux
2023-04-03 10:21:56 +02:00
parent ef1a2bfa4a
commit 344ecf2a33
6 changed files with 19 additions and 6 deletions

View File

@@ -63,6 +63,10 @@ const AnonymizedRepositorySchema = new Schema({
default: 0,
},
},
isReseted: {
type: Boolean,
default: false,
},
});
export default AnonymizedRepositorySchema;

View File

@@ -40,6 +40,7 @@ export interface IAnonymizedRepository {
storage: number;
file: number;
};
isReseted: boolean;
}
export interface IAnonymizedRepositoryDocument