server: remove unused avgColor attribute from types

This commit is contained in:
Johann150 2023-03-03 21:36:21 +01:00
parent 5aa5344f2e
commit a750c7ad57
Signed by untrusted user: Johann150
GPG key ID: 9EE6577A2A06F8F1
3 changed files with 1 additions and 11 deletions

View file

@ -78,7 +78,7 @@ export class DriveFile {
default: {},
comment: 'The any properties of the DriveFile. For example, it includes image width/height.',
})
public properties: { width?: number; height?: number; orientation?: number; avgColor?: string };
public properties: { width?: number; height?: number; orientation?: number; };
@Column('boolean')
public storedInternal: boolean;

View file

@ -60,11 +60,6 @@ export const packedDriveFileSchema = {
optional: true, nullable: false,
example: 8,
},
avgColor: {
type: 'string',
optional: true, nullable: false,
example: 'rgb(40,65,87)',
},
},
},
url: {

View file

@ -79,11 +79,6 @@ export const meta = {
optional: false, nullable: false,
example: 720,
},
avgColor: {
type: 'string',
optional: true, nullable: false,
example: 'rgb(40,65,87)',
},
},
},
storedInternal: {