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];