You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

42 lines
791 B

import type { IconName } from "../external/icons";
import type { TaskResult } from "./task";
export default interface Project {
id: string
name: string
description: string
icon: IconName
active: boolean
createdTime: string
endTime?: string
statusTag?: string
}
export interface ProjectResult extends Project {
tasks: TaskResult[]
}
export interface ProjectFilter {
active?: boolean
expiring?: boolean
}
export interface ProjectInput {
name: string
description: string
icon: IconName
active: boolean
endTime?: string | Date
statusTag?: string
}
export interface ProjectUpdate {
name?: string
description?: string
icon?: string
active?: boolean
endTime?: string | Date
clearEndTime?: boolean
statusTag?: string
clearStatusTag?: boolean
}