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
63 changed files with 646 additions and 118 deletions

View File

@@ -7409,6 +7409,11 @@
"password": {
"type": "string"
},
"quotaSizeInBytes": {
"format": "int64",
"nullable": true,
"type": "integer"
},
"storageLabel": {
"nullable": true,
"type": "string"
@@ -8192,6 +8197,15 @@
"profileImagePath": {
"type": "string"
},
"quotaSizeInBytes": {
"format": "int64",
"nullable": true,
"type": "integer"
},
"quotaUsageInBytes": {
"format": "int64",
"type": "integer"
},
"shouldChangePassword": {
"type": "boolean"
},
@@ -8206,10 +8220,8 @@
},
"required": [
"avatarColor",
"id",
"name",
"email",
"profileImagePath",
"quotaSizeInBytes",
"quotaUsageInBytes",
"storageLabel",
"externalPath",
"shouldChangePassword",
@@ -8217,7 +8229,11 @@
"createdAt",
"deletedAt",
"updatedAt",
"oauthId"
"oauthId",
"id",
"name",
"email",
"profileImagePath"
],
"type": "object"
},
@@ -9757,6 +9773,11 @@
"password": {
"type": "string"
},
"quotaSizeInBytes": {
"format": "int64",
"nullable": true,
"type": "integer"
},
"shouldChangePassword": {
"type": "boolean"
},
@@ -9774,6 +9795,11 @@
"photos": {
"type": "integer"
},
"quotaSizeInBytes": {
"format": "int64",
"nullable": true,
"type": "integer"
},
"usage": {
"format": "int64",
"type": "integer"
@@ -9793,7 +9819,8 @@
"userName",
"photos",
"videos",
"usage"
"usage",
"quotaSizeInBytes"
],
"type": "object"
},
@@ -9878,6 +9905,15 @@
"profileImagePath": {
"type": "string"
},
"quotaSizeInBytes": {
"format": "int64",
"nullable": true,
"type": "integer"
},
"quotaUsageInBytes": {
"format": "int64",
"type": "integer"
},
"shouldChangePassword": {
"type": "boolean"
},
@@ -9892,10 +9928,8 @@
},
"required": [
"avatarColor",
"id",
"name",
"email",
"profileImagePath",
"quotaSizeInBytes",
"quotaUsageInBytes",
"storageLabel",
"externalPath",
"shouldChangePassword",
@@ -9903,7 +9937,11 @@
"createdAt",
"deletedAt",
"updatedAt",
"oauthId"
"oauthId",
"id",
"name",
"email",
"profileImagePath"
],
"type": "object"
},