You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

15 lines
317 B

import { RoleName } from '../role/role'
export class MemberItem {
constructor(
readonly id: number,
readonly user: number,
readonly role: number,
readonly username: string,
readonly rolename: RoleName
) {}
get isProjectAdmin(): boolean {
return this.rolename === 'project_admin'
}
}