fix: Next.js Docker 빌드 오류 수정 (CreateDispatchRequest import 경로 및 next.config 빌드 옵션 보완)
This commit is contained in:
@@ -2,9 +2,9 @@
|
||||
|
||||
import React, { useState, useEffect } from 'react';
|
||||
import { X, Save, AlertCircle, Search } from 'lucide-react';
|
||||
import employeeService from '@/services/employeeService';
|
||||
import employeeService, { type CreateDispatchRequest } from '@/services/employeeService';
|
||||
import projectService from '@/services/projectService';
|
||||
import type { Employee, Project, CreateDispatchRequest } from '@/types';
|
||||
import type { Employee, Project } from '@/types';
|
||||
|
||||
interface CreateDispatchModalProps {
|
||||
isOpen: boolean;
|
||||
|
||||
@@ -119,6 +119,16 @@ export interface DispatchHistory {
|
||||
internalRating: number | null;
|
||||
}
|
||||
|
||||
export interface CreateDispatchRequest {
|
||||
employeeId: number;
|
||||
projectId: number;
|
||||
roleTitle: string;
|
||||
contributionRate: number;
|
||||
individualTech: string;
|
||||
performedTasks: string;
|
||||
startDate?: string;
|
||||
}
|
||||
|
||||
// ============================================
|
||||
// IssueTicket (SR 티켓)
|
||||
// ============================================
|
||||
|
||||
Reference in New Issue
Block a user