src/backend/entities/entities.service.ts
Function getEntityRelationsForUserRole
has 29 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
async getEntityRelationsForUserRole(
entity: string,
userRole: string
): Promise<IEntityRelation[]> {
const [validRelations, entityLabels, entityOrders] = await Promise.all([