feat(server, web): quotas (#4471)

* feat: quotas

* chore: open api

* chore: update status box and upload error message

---------

Co-authored-by: Jason Rasmussen <jrasm91@gmail.com>
This commit is contained in:
cfitzw 2024-01-12 18:43:36 -06:00 committed by GitHub
parent f4edb6c4bd
commit deb1f970a8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
63 changed files with 646 additions and 118 deletions

View file

@ -1472,6 +1472,12 @@ export interface CreateUserDto {
* @memberof CreateUserDto
*/
'password': string;
/**
*
* @type {number}
* @memberof CreateUserDto
*/
'quotaSizeInBytes'?: number | null;
/**
*
* @type {string}
@ -2479,6 +2485,18 @@ export interface PartnerResponseDto {
* @memberof PartnerResponseDto
*/
'profileImagePath': string;
/**
*
* @type {number}
* @memberof PartnerResponseDto
*/
'quotaSizeInBytes': number | null;
/**
*
* @type {number}
* @memberof PartnerResponseDto
*/
'quotaUsageInBytes': number;
/**
*
* @type {boolean}
@ -4544,6 +4562,12 @@ export interface UpdateUserDto {
* @memberof UpdateUserDto
*/
'password'?: string;
/**
*
* @type {number}
* @memberof UpdateUserDto
*/
'quotaSizeInBytes'?: number | null;
/**
*
* @type {boolean}
@ -4571,6 +4595,12 @@ export interface UsageByUserDto {
* @memberof UsageByUserDto
*/
'photos': number;
/**
*
* @type {number}
* @memberof UsageByUserDto
*/
'quotaSizeInBytes': number | null;
/**
*
* @type {number}
@ -4729,6 +4759,18 @@ export interface UserResponseDto {
* @memberof UserResponseDto
*/
'profileImagePath': string;
/**
*
* @type {number}
* @memberof UserResponseDto
*/
'quotaSizeInBytes': number | null;
/**
*
* @type {number}
* @memberof UserResponseDto
*/
'quotaUsageInBytes': number;
/**
*
* @type {boolean}