task has now a date
This commit is contained in:
@@ -3,6 +3,8 @@ import type { Stepable } from '@/use-cases/task/interfaces/stepable'
|
|||||||
export interface Taskable {
|
export interface Taskable {
|
||||||
id: string
|
id: string
|
||||||
title: string
|
title: string
|
||||||
|
date: Date
|
||||||
link: string | null
|
link: string | null
|
||||||
steps: Stepable[]
|
steps: Stepable[]
|
||||||
|
totalEstimation: number
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -3,6 +3,7 @@ import type { Taskable } from '@/use-cases/task/interfaces/taskable'
|
|||||||
import { Step } from '@/use-cases/task/models/step'
|
import { Step } from '@/use-cases/task/models/step'
|
||||||
|
|
||||||
export class Task implements Taskable {
|
export class Task implements Taskable {
|
||||||
|
public date = new Date()
|
||||||
public steps: Step[] = []
|
public steps: Step[] = []
|
||||||
public link: string | null = null
|
public link: string | null = null
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user