hide completed tasks in projects, and add individual deadline tasks to front page.
continuous-integration/drone/push Build is passing
continuous-integration/drone/push Build is passing
This commit is contained in:
@@ -1,9 +1,10 @@
|
||||
import type { IconName } from "../external/icons";
|
||||
import type Item from "./item";
|
||||
|
||||
export default interface Group {
|
||||
id: string
|
||||
name: string
|
||||
icon: string
|
||||
icon: IconName
|
||||
description: string
|
||||
}
|
||||
|
||||
|
||||
@@ -1,10 +1,11 @@
|
||||
import type { IconName } from "../external/icons";
|
||||
import type Group from "./group";
|
||||
|
||||
export default interface Item {
|
||||
id: string
|
||||
groupId: string
|
||||
groupWeight: number
|
||||
icon: string
|
||||
icon: IconName
|
||||
name: string
|
||||
description: string
|
||||
}
|
||||
|
||||
@@ -1,10 +1,11 @@
|
||||
import type { IconName } from "../external/icons";
|
||||
import type { TaskResult } from "./task";
|
||||
|
||||
export default interface Project {
|
||||
id: string
|
||||
name: string
|
||||
description: string
|
||||
icon: string
|
||||
icon: IconName
|
||||
active: boolean
|
||||
createdTime: string
|
||||
endTime?: string
|
||||
@@ -22,7 +23,7 @@ export interface ProjectFilter {
|
||||
export interface ProjectInput {
|
||||
name: string
|
||||
description: string
|
||||
icon: string
|
||||
icon: IconName
|
||||
active: boolean
|
||||
endTime?: string | Date
|
||||
}
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
import type { IconName } from "../external/icons";
|
||||
import type Item from "./item";
|
||||
import type Log from "./log";
|
||||
|
||||
@@ -8,18 +9,22 @@ export default interface Task {
|
||||
itemAmount: number
|
||||
name: string
|
||||
description: string
|
||||
icon: string
|
||||
icon: IconName
|
||||
active: boolean
|
||||
createdTime: string
|
||||
endTime?: string
|
||||
}
|
||||
|
||||
export interface TaskResult extends Task {
|
||||
item: Item
|
||||
logs: Log[]
|
||||
completedAmount: number
|
||||
}
|
||||
|
||||
export interface TaskFilter {
|
||||
active?: boolean
|
||||
expiring?: boolean
|
||||
}
|
||||
|
||||
export interface TaskInput {
|
||||
itemId: string
|
||||
projectId: string
|
||||
|
||||
Reference in New Issue
Block a user