init
This commit is contained in:
@@ -0,0 +1,2 @@
|
||||
// Language 类型定义
|
||||
export type Language = 'zh' | 'en'
|
||||
@@ -0,0 +1,11 @@
|
||||
// Milestone 类型定义
|
||||
export interface Milestone {
|
||||
id?: number
|
||||
name: string
|
||||
startDate: string
|
||||
endDate?: string
|
||||
assignee?: string
|
||||
type: string
|
||||
icon?: string
|
||||
description?: string
|
||||
}
|
||||
@@ -0,0 +1,20 @@
|
||||
// Task 类型定义
|
||||
export interface Task {
|
||||
id: number
|
||||
name: string
|
||||
predecessor?: string
|
||||
assignee?: string
|
||||
startDate?: string
|
||||
endDate?: string
|
||||
progress?: number
|
||||
estimatedHours?: number
|
||||
actualHours?: number
|
||||
parentId?: number // 上级任务ID
|
||||
children?: Task[]
|
||||
collapsed?: boolean
|
||||
isParent?: boolean
|
||||
type?: string
|
||||
description?: string
|
||||
icon?: string
|
||||
level?: number
|
||||
}
|
||||
Reference in New Issue
Block a user