import { injectable } from 'inversify' import { Role } from '../Domain/Role/Role' import { ProjectorInterface } from './ProjectorInterface' @injectable() export class RoleProjector implements ProjectorInterface { projectSimple(role: Role): Record { return { uuid: role.uuid, name: role.name, } } projectCustom(_projectionType: string, _role: Role): Record { throw Error('not implemented') } projectFull(_role: Role): Record { throw Error('not implemented') } }