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 {
|
||||
id: string
|
||||
title: string
|
||||
date: Date
|
||||
link: string | null
|
||||
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'
|
||||
|
||||
export class Task implements Taskable {
|
||||
public date = new Date()
|
||||
public steps: Step[] = []
|
||||
public link: string | null = null
|
||||
|
||||
|
||||
Reference in New Issue
Block a user