Merge branch 'worktree-agent-aed43cff'
This commit is contained in:
@@ -55,3 +55,34 @@ export const RESOURCE_DIRECTORY_SELECT = {
|
||||
chapter: true,
|
||||
isActive: true,
|
||||
} as const;
|
||||
|
||||
/**
|
||||
* Explicit select for the resource list endpoint (listStaff).
|
||||
* Omits large JSONB columns that are unused in all list consumers:
|
||||
* - availability (~several KB per row, only needed for scheduling calculations)
|
||||
* - valueScoreBreakdown (JSON, only needed in detail/dashboard views)
|
||||
* - aiSummary / aiSummaryUpdatedAt / skillMatrixUpdatedAt / portfolioUrl
|
||||
* This keeps skills and dynamicFields because they are rendered in the resource table.
|
||||
*/
|
||||
export const RESOURCE_LIST_SELECT = {
|
||||
id: true,
|
||||
eid: true,
|
||||
displayName: true,
|
||||
email: true,
|
||||
chapter: true,
|
||||
lcrCents: true,
|
||||
ucrCents: true,
|
||||
currency: true,
|
||||
chargeabilityTarget: true,
|
||||
skills: true,
|
||||
dynamicFields: true,
|
||||
blueprintId: true,
|
||||
isActive: true,
|
||||
roleId: true,
|
||||
federalState: true,
|
||||
valueScore: true,
|
||||
rolledOff: true,
|
||||
departed: true,
|
||||
createdAt: true,
|
||||
updatedAt: true,
|
||||
} as const;
|
||||
|
||||
Reference in New Issue
Block a user