@@ -27,6 +27,7 @@ export class Project {
2727 path : string ;
2828 expire : number ;
2929 created_at : number ;
30+ last_extended : number ;
3031
3132 constructor (
3233 _id : string = '' , uuid : string = '' , id : string = '' ,
@@ -37,16 +38,16 @@ export class Project {
3738 low_cpu : number = null , high_cpu : number = null ,
3839 orga : string = '' , description : string = '' ,
3940 access : string = 'Group' , path : string = '' ,
40- expire : number = 0 , created_at : number = null
41+ expire : number = 0 , created_at : number = null ,
42+ last_extended : number = null
4143 ) {
4244 this . _id = _id ; this . uuid = uuid , this . id = id ; this . owner = owner ;
4345 this . managers = [ ...new Set ( [ owner , ...managers ] ) ] ; this . group = group ; this . size = size ;
4446 this . current_size = current_size ; this . low_size = low_size ; this . high_size = high_size ;
4547 this . cpu = cpu ; this . current_cpu = current_cpu ; this . low_cpu = low_cpu ; this . high_cpu = high_cpu ;
4648 this . orga = orga ; this . description = description ; this . access = access ; this . path = path ;
47- this . expire = expire ; this . created_at = created_at ;
49+ this . expire = expire ; this . created_at = created_at ; this . last_extended = last_extended ;
4850 }
49-
5051}
5152
5253@Injectable ( {
@@ -70,7 +71,8 @@ export class ProjectsService {
7071 resp . orga || '' , resp . description || '' ,
7172 resp . access || 'Group' , resp . path || '' ,
7273 new Date ( resp . expire ) . getTime ( ) || 0 ,
73- new Date ( resp . created_at ) . getTime ( ) || null
74+ new Date ( resp . created_at ) . getTime ( ) || null ,
75+ new Date ( resp . last_extended ) . getTime ( ) || null
7476 ) ;
7577 }
7678
0 commit comments