From 428e6d9b439dcf22d7a8fe089641a8b36196c989 Mon Sep 17 00:00:00 2001 From: Dermot Duffy Date: Sun, 15 Aug 2021 19:00:10 -0700 Subject: [PATCH] Minor cleanup. --- src/frigate-card.ts | 1 - src/types.ts | 8 -------- 2 files changed, 9 deletions(-) diff --git a/src/frigate-card.ts b/src/frigate-card.ts index ce70336b..9ba4e86c 100644 --- a/src/frigate-card.ts +++ b/src/frigate-card.ts @@ -1,6 +1,5 @@ // TODO Feature: Add title to clips / snapshots playing/viewing // 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 Last step: Add documentation & screenshots. diff --git a/src/types.ts b/src/types.ts index eda0d4db..97bf11a5 100644 --- a/src/types.ts +++ b/src/types.ts @@ -12,14 +12,6 @@ declare global { * 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 type FrigateCardView = typeof FRIGATE_CARD_VIEWS[number];