feat: Include agent field values and their associated field details in agent data retrieval.

This commit is contained in:
pradeepkumar
2026-02-01 22:46:08 +05:30
parent bc830a0208
commit 05ab2774a4

View File

@@ -283,6 +283,17 @@ export class AgentsService {
},
},
agentType: true,
fieldValues: {
include: {
field: {
select: {
slug: true,
name: true,
fieldType: true,
},
},
},
},
},
}),
this.prisma.agentProfile.count({ where }),