40 lines
828 B
TypeScript
40 lines
828 B
TypeScript
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 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>;
|