Add rudimentary user management to dashboard
This commit is contained in:
parent
48c4b3578d
commit
3b09d2d679
12 changed files with 395 additions and 81 deletions
|
@ -8,7 +8,7 @@ export class ApiPermissionAssignment {
|
|||
@PrimaryColumn()
|
||||
guild_id: string;
|
||||
|
||||
@Column({ type: "string" })
|
||||
@Column({ type: String })
|
||||
@PrimaryColumn()
|
||||
type: ApiPermissionTypes;
|
||||
|
||||
|
@ -19,8 +19,8 @@ export class ApiPermissionAssignment {
|
|||
@Column("simple-array")
|
||||
permissions: string[];
|
||||
|
||||
@Column()
|
||||
expires_at: string;
|
||||
@Column({ type: String, nullable: true })
|
||||
expires_at: string | null;
|
||||
|
||||
@ManyToOne(
|
||||
type => ApiUserInfo,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue