Fix Schema (#7347)

This commit is contained in:
MeiMei
2021-03-13 22:15:20 +09:00
committed by GitHub
parent 9cf811b048
commit 9e634360fa
3 changed files with 16 additions and 8 deletions

View File

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