Minor cleanup.

This commit is contained in:
Dermot Duffy
2021-08-15 19:00:10 -07:00
parent 505ea85afa
commit 428e6d9b43
2 changed files with 0 additions and 9 deletions
-1
View File
@@ -1,6 +1,5 @@
// TODO Feature: Add title to clips / snapshots playing/viewing // TODO Feature: Add title to clips / snapshots playing/viewing
// TODO Feature: Automatically reload views as events happen. // TODO Feature: Automatically reload views as events happen.
// TODO Quality: Single enum for view modes across enum and types and editor.
// TODO Bug: Sometimes webrtc component shows up as not found in browser (maybe after fresh build?) // TODO Bug: Sometimes webrtc component shows up as not found in browser (maybe after fresh build?)
// TODO Last step: Add documentation & screenshots. // TODO Last step: Add documentation & screenshots.
-8
View File
@@ -12,14 +12,6 @@ declare global {
* Internal types. * Internal types.
*/ */
// enum FrigateCardView {
// LIVE = "live", // Show the live camera.
// CLIP = "clip", // Show a clip video.
// CLIPS = "clips", // Show the clips gallery.
// SNAPSHOT = "snapshot", // Show a snapshot.
// SNAPSHOTS = "snapshots", // Show the snapshots gallery.
// }
export const FRIGATE_CARD_VIEWS = ["live", "clip", "clips", "snapshot", "snapshots"] as const; export const FRIGATE_CARD_VIEWS = ["live", "clip", "clips", "snapshot", "snapshots"] as const;
export type FrigateCardView = typeof FRIGATE_CARD_VIEWS[number]; export type FrigateCardView = typeof FRIGATE_CARD_VIEWS[number];