import { IPermission } from './permissions'; interface IRole { id: number; name: string; project: string | null; description: string; type: string; } export interface IRoleWithPermissions extends IRole { permissions: IPermission[]; } export interface IProjectRole { id: number; name: string; description: string; type: string; } export default IRole;