parent
868c8fffb3
commit
6a3039f7b7
12 changed files with 107 additions and 12 deletions
|
|
@ -102,6 +102,11 @@ export class Role {
|
|||
})
|
||||
public color: string | null;
|
||||
|
||||
@Column('varchar', {
|
||||
length: 512, nullable: true,
|
||||
})
|
||||
public iconUrl: string | null;
|
||||
|
||||
@Column('enum', {
|
||||
enum: ['manual', 'conditional'],
|
||||
default: 'manual',
|
||||
|
|
@ -118,6 +123,12 @@ export class Role {
|
|||
})
|
||||
public isPublic: boolean;
|
||||
|
||||
// trueの場合ユーザー名の横にバッジとして表示
|
||||
@Column('boolean', {
|
||||
default: false,
|
||||
})
|
||||
public asBadge: boolean;
|
||||
|
||||
@Column('boolean', {
|
||||
default: false,
|
||||
})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue