add status tags to tasks and reorganize them to have more familiar names.
continuous-integration/drone/push Build is passing
continuous-integration/drone/push Build is passing
This commit is contained in:
@@ -28,15 +28,10 @@ export interface GoalFilter {
|
||||
export interface GoalResult extends Goal {
|
||||
group: Group
|
||||
items: GoalResultItem[]
|
||||
logs: GoalLogResult[]
|
||||
logs: LogResult[]
|
||||
completedAmount: number
|
||||
}
|
||||
|
||||
export interface GoalLogResult extends LogResult {
|
||||
itemCounted: boolean
|
||||
secondaryItemCounted: boolean
|
||||
}
|
||||
|
||||
interface GoalResultItem extends Item {
|
||||
completedAmount: number
|
||||
}
|
||||
|
||||
@@ -14,6 +14,7 @@ export default interface Task {
|
||||
active: boolean
|
||||
createdTime: string
|
||||
endTime?: string
|
||||
statusTag?: string
|
||||
}
|
||||
export interface TaskResult extends Task {
|
||||
item: Item
|
||||
@@ -35,6 +36,7 @@ export interface TaskInput {
|
||||
description: string
|
||||
active: boolean
|
||||
endTime?: string | Date
|
||||
statusTag?: string
|
||||
}
|
||||
|
||||
export interface TaskUpdate {
|
||||
@@ -45,4 +47,6 @@ export interface TaskUpdate {
|
||||
active?: boolean
|
||||
endTime?: string | Date
|
||||
clearEndTime?: boolean
|
||||
statusTag?: string
|
||||
clearStatusTag?: boolean
|
||||
}
|
||||
Reference in New Issue
Block a user