forked from FoundKeyGang/FoundKey
server: remove unused avgColor attribute from types
This commit is contained in:
parent
5aa5344f2e
commit
a750c7ad57
3 changed files with 1 additions and 11 deletions
|
@ -78,7 +78,7 @@ export class DriveFile {
|
||||||
default: {},
|
default: {},
|
||||||
comment: 'The any properties of the DriveFile. For example, it includes image width/height.',
|
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')
|
@Column('boolean')
|
||||||
public storedInternal: boolean;
|
public storedInternal: boolean;
|
||||||
|
|
|
@ -60,11 +60,6 @@ export const packedDriveFileSchema = {
|
||||||
optional: true, nullable: false,
|
optional: true, nullable: false,
|
||||||
example: 8,
|
example: 8,
|
||||||
},
|
},
|
||||||
avgColor: {
|
|
||||||
type: 'string',
|
|
||||||
optional: true, nullable: false,
|
|
||||||
example: 'rgb(40,65,87)',
|
|
||||||
},
|
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
url: {
|
url: {
|
||||||
|
|
|
@ -79,11 +79,6 @@ export const meta = {
|
||||||
optional: false, nullable: false,
|
optional: false, nullable: false,
|
||||||
example: 720,
|
example: 720,
|
||||||
},
|
},
|
||||||
avgColor: {
|
|
||||||
type: 'string',
|
|
||||||
optional: true, nullable: false,
|
|
||||||
example: 'rgb(40,65,87)',
|
|
||||||
},
|
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
storedInternal: {
|
storedInternal: {
|
||||||
|
|
Loading…
Reference in a new issue