refactor(server): use feature model (#9932)
This commit is contained in:
@@ -19,7 +19,9 @@ import type { AuthService } from '../services/auth';
|
||||
import type { UserQuotaStore } from '../stores/user-quota';
|
||||
|
||||
export class UserQuota extends Entity {
|
||||
quota$ = new LiveData<NonNullable<QuotaQuery['currentUser']>['quota']>(null);
|
||||
quota$ = new LiveData<NonNullable<QuotaQuery['currentUser']>['quota'] | null>(
|
||||
null
|
||||
);
|
||||
/** Used storage in bytes */
|
||||
used$ = new LiveData<number | null>(null);
|
||||
/** Formatted used storage */
|
||||
|
||||
Reference in New Issue
Block a user