vscode-kanbn/src/KanbnTask.d.ts
2021-04-06 22:00:56 +01:00

34 lines
680 B
TypeScript

// Note that Date properties will be converted to strings (ISO) when a task is serialized and passed as a prop
declare type KanbnTask = {
uuid?: string,
id: string,
name: string,
description: string,
column: string,
workload?: number,
remainingWorkload?: number,
progress?: number,
metadata: {
created?: string,
updated?: string,
started?: string,
due?: string,
completed?: string,
assigned?: string,
tags?: string[]
},
relations: Array<{
type: string,
task: string
}>,
subTasks: Array<{
text: string,
completed: boolean
}>,
comments: Array<{
author: string,
date: string,
text: string
}>
};