♻️ (record) time range instead of step recordable

This commit is contained in:
Julien Calixte
2023-04-16 10:16:42 +02:00
parent 81cfab485e
commit d5c616e22b
4 changed files with 7 additions and 11 deletions

View File

@@ -1,14 +1,10 @@
import type { ISODate } from '@/shared/types/date'
import type { StepRecordable } from './step-recordable'
import type { TimeRange } from './time-range'
export interface Recordable {
taskId: string
/**
* @deprecated
* TODO: Compute this data from step records
*/
start: ISODate
end?: ISODate
stepRecords: Record<string, StepRecordable>
stepRecords: Record<string, TimeRange>
notes: string
}