refactor code ===> สมรรถนะ

This commit is contained in:
DESKTOP-1R2VSQH\Lenovo ThinkPad E490 2025-07-15 10:50:51 +07:00
parent a3a318ba2d
commit f52cfd27a7
6 changed files with 328 additions and 213 deletions

View file

@ -58,4 +58,57 @@ interface ResAssignment {
};
}
export type { ResRound, ResDataCapacity, ResEvaluator, ResAssignment };
interface DataKPIGroup {
createdAt: string;
createdFullName: string;
createdUserId: string;
id: string;
lastUpdateFullName: string;
lastUpdateUserId: string;
lastUpdatedAt: string;
nameGroupKPI: string;
}
interface DataKPIPosition {
createdAt: string;
id: string;
isSpecial: boolean;
lastUpdateFullName: string;
lastUpdatedAt: string;
posExecutiveId: string;
posExecutiveName: string;
posLevelId: string;
posLevelName: string;
posTypeId: string;
posTypeName: string;
positionArea: string;
positionExecutiveField: string;
positionField: string;
positionIsSelected: boolean;
positionName: string;
}
interface DataKPICapacity {
capacityDetails: capacityDetails[];
description: string;
id: string;
name: string;
type: string;
}
interface DataKPIEvaluation {
description: string;
id: string;
level: number;
}
export type {
ResRound,
ResDataCapacity,
ResEvaluator,
ResAssignment,
DataKPIGroup,
DataKPIPosition,
DataKPICapacity,
DataKPIEvaluation
};