implement usefull actions and getters

This commit is contained in:
Julien Calixte
2023-04-10 12:46:32 +02:00
parent 46b147473d
commit 46ef24dfb2
3 changed files with 69 additions and 4 deletions

View File

@@ -1,9 +1,10 @@
import type { ISODate } from '@/shared/types/date'
import type { StepRecordable } from './step-recordable'
export interface Recordable {
id: string
taskId: string
start: ISODate
end?: ISODate
stepRecords: Record<string, { start: ISODate; end?: ISODate }>
stepRecords: Record<string, StepRecordable>
}

View File

@@ -0,0 +1,6 @@
import type { ISODate } from '@/shared/types/date'
export interface StepRecordable {
start: ISODate
end?: ISODate
}