enhance: improve avatar decoration
This commit is contained in:
@@ -138,10 +138,14 @@ export class MiUser {
|
||||
})
|
||||
public bannerBlurhash: string | null;
|
||||
|
||||
@Column('varchar', {
|
||||
length: 512, array: true, default: '{}',
|
||||
@Column('jsonb', {
|
||||
default: [],
|
||||
})
|
||||
public avatarDecorations: string[];
|
||||
public avatarDecorations: {
|
||||
id: string;
|
||||
angle: number;
|
||||
flipH: boolean;
|
||||
}[];
|
||||
|
||||
@Index()
|
||||
@Column('varchar', {
|
||||
|
Reference in New Issue
Block a user