You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: packages/live-status-gateway-api/src/generated/schema.ts
+44-9Lines changed: 44 additions & 9 deletions
Original file line number
Diff line number
Diff line change
@@ -478,6 +478,14 @@ interface TTimerStatus {
478
478
* Timer mode and timing state. Null if not configured.
479
479
*/
480
480
mode?: TTimerModeCountdown|TTimerModeFreeRun|null
481
+
/**
482
+
* Estimated timing for when we expect to reach an anchor part. Used to calculate over/under diff
483
+
*/
484
+
estimate?: TTimerEstimate|null
485
+
/**
486
+
* The Part ID that this timer is counting towards (the timing anchor)
487
+
*/
488
+
anchorPartId?: string
481
489
}
482
490
483
491
/**
@@ -495,15 +503,19 @@ enum TTimerIndex {
495
503
interfaceTTimerModeCountdown{
496
504
type: 'countdown'
497
505
/**
498
-
* Unix timestamp when timer started (milliseconds). May be adjusted when pausing/resuming.
506
+
* Whether the timer is currently paused
499
507
*/
500
-
startTime: number
508
+
paused: boolean
501
509
/**
502
-
* Unix timestamp when paused (milliseconds), or null if running
510
+
* Unix timestamp (ms) when the timer reaches/reached zero. Present when paused is false. The client calculates remaining time as zeroTime - Date.now().
503
511
*/
504
-
pauseTime: number|null
512
+
zeroTime?: number
505
513
/**
506
-
* Total countdown duration in milliseconds
514
+
* Frozen remaining duration in milliseconds. Present when paused is true.
515
+
*/
516
+
remainingMs?: number
517
+
/**
518
+
* Total countdown duration in milliseconds (the original configured duration)
* Unix timestamp when timer started (milliseconds). May be adjusted when pausing/resuming.
533
+
* Whether the timer is currently paused
522
534
*/
523
-
startTime: number
535
+
paused: boolean
536
+
/**
537
+
* Unix timestamp (ms) when the timer was at zero (i.e. when it was started). Present when paused is false. The client calculates elapsed time as Date.now() - zeroTime.
538
+
*/
539
+
zeroTime?: number
540
+
/**
541
+
* Frozen elapsed time in milliseconds. Present when paused is true.
542
+
*/
543
+
elapsedMs?: number
544
+
}
545
+
546
+
/**
547
+
* Estimate timing state for a T-timer
548
+
*/
549
+
interfaceTTimerEstimate{
550
+
/**
551
+
* Whether the estimate is frozen
552
+
*/
553
+
paused: boolean
554
+
/**
555
+
* Unix timestamp in milliseconds of estimated arrival at the anchor part
556
+
*/
557
+
zeroTime?: number
524
558
/**
525
-
* Unix timestamp when paused (milliseconds), or null if running
559
+
* Frozen remaining duration estimate in milliseconds
0 commit comments