mirror of
https://github.com/tdurieux/anonymous_github.git
synced 2026-11-14 00:07:00 +01:00
feat: measure and display user quota (#72)
This commit is contained in:
1 parent
91014fbae2
commit
20e8d533f4
9 files changed
+199
-33
No files matched your search
@@ -46,8 +46,14 @@ const AnonymizedRepositorySchema = new Schema({
|
||||
default: new Date(),
|
||||
},
|
||||
size: {
|
||||
type: Number,
|
||||
default: 0,
|
||||
storage: {
|
||||
type: Number,
|
||||
default: 0,
|
||||
},
|
||||
file: {
|
||||
type: Number,
|
||||
default: 0,
|
||||
},
|
||||
},
|
||||
});
|
||||
|
||||
|
||||
@@ -34,7 +34,10 @@ export interface IAnonymizedRepository {
|
||||
};
|
||||
pageView: number;
|
||||
lastView: Date;
|
||||
size: number;
|
||||
size: {
|
||||
storage: number;
|
||||
file: number;
|
||||
};
|
||||
}
|
||||
|
||||
export interface IAnonymizedRepositoryDocument
|
||||
|
||||
Reference in new issue
Block a user