260507_01_ENH: SafetyInspectionTotal, SafetyInspectionDivDetail 페이지 구현
This commit is contained in:
@@ -2,4 +2,38 @@ import {CATEGORY_KEY_MAP, DIV_KEY_MAP} from "@/config/kfpaConfig";
|
||||
|
||||
export type CategoryKey = keyof typeof CATEGORY_KEY_MAP;
|
||||
|
||||
export type DivKey = keyof typeof DIV_KEY_MAP;
|
||||
export type DivKey = keyof typeof DIV_KEY_MAP;
|
||||
|
||||
export type CommentValue = {
|
||||
directExperience: string;
|
||||
indirectExperience: string;
|
||||
capability: string;
|
||||
};
|
||||
|
||||
export type RequestWriteDivComment = {
|
||||
divId: number;
|
||||
commentValues: Record<string, CommentValue>;
|
||||
};
|
||||
|
||||
export type CsiData = {
|
||||
wave: number;
|
||||
csi: number;
|
||||
safeHelp: number;
|
||||
recHelp: number;
|
||||
staffProf: number;
|
||||
staffAtt: number;
|
||||
};
|
||||
|
||||
export type CsiRank = {
|
||||
csi: number;
|
||||
divRank: number;
|
||||
};
|
||||
|
||||
export type DivDetailData = {
|
||||
csiRanks: Record<string, CsiRank>;
|
||||
commentValues: Record<string, CommentValue>;
|
||||
};
|
||||
|
||||
export type CsiDataMap = Record<string, CsiData[]>;
|
||||
|
||||
export type DivDetailDataMap = Record<string, DivDetailData>;
|
||||
|
||||
Reference in New Issue
Block a user