interface ResGroup { id: string; posLevels: ResLevel[]; posTypeName: string; posTypeRank: number; posTypeShortName: string; } interface ResLevel { id: string; posLevelName: number; posTypeName: string; posTypeId: string; posLevelAuthority: string; } interface ResListProject { id: string; projectName: string; year: number; } interface ResDataProject { year: number; projectName: string; reason: string; objective: string; metricType: string; indicators: string; target: string; calculation: string; measuRement: string; results: string; obstacles: string; suggestions: string; project: string; isPassAllocate: boolean; isPassNoAllocate: boolean; isNoPass: boolean; isBudget: boolean; isOutBudget: boolean; dateStart: Date | null; dateEnd: Date | null; totalDate: number | null; address: string; provinces: any; budget: string; accept: number | string | null; receive: number | string | null; approved: number | string | null; budgetPay: number | string | null; issues: string; chance: string; effects: string; riskLevel: string; riskManagement: string; expect: string; topicAcademic: string; addressAcademic: string; provinceActualId: string; actualPeoples: ResPeople[]; plannedPeoples: ResPeople[]; actualGoals: ResActualGoals[]; plannedGoals: ResPlannedGoals[]; projectType: string; projectCharacteristics: string; projectDay: number | null; projectNigth: number | null; projectTechniques: string; projectModal: number | null; status?: string; } interface ResPeople { groupTarget: string; amount: number | null; } interface ResActualGoals { groupTarget: string; groupTargetSub: string; position: string; posTypeActualId: string | null; posLevelActualId: string | null; type: string | null; amount: number | null; } interface ResPlannedGoals { groupTarget: string; groupTargetSub: string; plannedGoalPositions?: [ { position: string; posTypePlannedId: string; posLevelPlannedId: string; } ]; positions?: [ { position: string; posTypePlannedId: string; posLevelPlannedId: string; } ]; posTypePlannedId: string; posLevelPlannedId: string; type: string | null; amount: number | null; } export type { ResGroup, ResLevel, ResListProject, ResDataProject, ResPeople, ResActualGoals, ResPlannedGoals, };