feat(mobile): quota (#6409)

* feat(mobile): quota

* openapi

* user entity update

* Render quota

* refresh usage upon opening the app bar

* stop backup when quota exceed
This commit is contained in:
Alex
2024-01-16 20:08:31 -06:00
committed by GitHub
parent abce82e235
commit 78de4f1312
18 changed files with 386 additions and 76 deletions

View File

@@ -36,7 +36,7 @@ export class UserResponseDto extends UserDto {
@ApiProperty({ type: 'integer', format: 'int64' })
quotaSizeInBytes!: number | null;
@ApiProperty({ type: 'integer', format: 'int64' })
quotaUsageInBytes!: number;
quotaUsageInBytes!: number | null;
}
export const mapSimpleUser = (entity: UserEntity): UserDto => {