mirror of
https://github.com/hex248/sprint.git
synced 2026-02-07 18:23:03 +00:00
display work time in issue detail pane
This commit is contained in:
@@ -28,6 +28,7 @@ export type {
|
||||
SessionRecord,
|
||||
TimedSessionInsert,
|
||||
TimedSessionRecord,
|
||||
TimerState,
|
||||
UserInsert,
|
||||
UserRecord,
|
||||
} from "./schema";
|
||||
|
||||
@@ -186,3 +186,12 @@ export type OrganisationMemberResponse = {
|
||||
Organisation: OrganisationRecord;
|
||||
User: UserRecord;
|
||||
};
|
||||
|
||||
export type TimerState = {
|
||||
id: number;
|
||||
workTimeMs: number;
|
||||
breakTimeMs: number;
|
||||
isRunning: boolean;
|
||||
timestamps: string[];
|
||||
endedAt: string | null;
|
||||
} | null;
|
||||
|
||||
Reference in New Issue
Block a user