refactor(server): mime types (#3197)

* refactor(server): mime type check

* chore: open api

* chore: remove duplicate test
This commit is contained in:
Jason Rasmussen 2023-07-10 13:56:45 -04:00 committed by GitHub
parent 785f61ba70
commit 6180828ed2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
26 changed files with 287 additions and 324 deletions

View file

@ -78,9 +78,6 @@ export class AssetEntity {
@Column({ type: 'boolean', default: false })
isReadOnly!: boolean;
@Column({ type: 'varchar', nullable: true })
mimeType!: string | null;
@Column({ type: 'bytea' })
@Index()
checksum!: Buffer; // sha1 checksum