You've already forked immich
mirror of
https://github.com/immich-app/immich.git
synced 2025-08-10 23:22:22 +02:00
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:
@@ -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"
|
||||
},
|
||||
|
42
open-api/typescript-sdk/client/api.ts
generated
42
open-api/typescript-sdk/client/api.ts
generated
@@ -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}
|
||||
|
Reference in New Issue
Block a user