enhance: convert svg to png of custom emojis

This commit is contained in:
syuilo
2022-01-21 18:47:02 +09:00
parent 43baafbebb
commit eec7e6500e
12 changed files with 49 additions and 59 deletions

View File

@ -32,13 +32,19 @@ export class Emoji {
@Column('varchar', {
length: 512,
})
public url: string;
public originalUrl: string;
@Column('varchar', {
length: 512,
})
public publicUrl: string;
@Column('varchar', {
length: 512, nullable: true,
})
public uri: string | null;
// publicUrlの方のtypeが入る
@Column('varchar', {
length: 64, nullable: true,
})