mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-09 04:35:25 +03:00
Fix import
This commit is contained in:
parent
ef05f10b44
commit
2e5da205f0
@ -1,3 +1,4 @@
|
||||
import { Timeline } from "@/types/timeline";
|
||||
import { useState } from "react";
|
||||
|
||||
type TimelineEventOverlayProps = {
|
||||
|
||||
@ -1,6 +1,7 @@
|
||||
import { Recording } from "@/types/record";
|
||||
import { DynamicPlayback } from "@/types/playback";
|
||||
import { PreviewController } from "../PreviewPlayer";
|
||||
import { Timeline } from "@/types/timeline";
|
||||
|
||||
type PlayerMode = "playback" | "scrubbing";
|
||||
|
||||
|
||||
@ -8,6 +8,7 @@ import { Preview } from "@/types/preview";
|
||||
import PreviewPlayer, { PreviewController } from "../PreviewPlayer";
|
||||
import { DynamicVideoController } from "./DynamicVideoController";
|
||||
import HlsVideoPlayer from "../HlsVideoPlayer";
|
||||
import { Timeline } from "@/types/timeline";
|
||||
|
||||
/**
|
||||
* Dynamically switches between video playback and scrubbing preview player.
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
type Timeline = {
|
||||
export type Timeline = {
|
||||
camera: string;
|
||||
timestamp: number;
|
||||
data: {
|
||||
|
||||
@ -21,6 +21,7 @@ import {
|
||||
} from "react-icons/md";
|
||||
import { FaBicycle } from "react-icons/fa";
|
||||
import { endOfHourOrCurrentTime } from "./dateUtil";
|
||||
import { Timeline } from "@/types/timeline";
|
||||
|
||||
export function getTimelineIcon(timelineItem: Timeline) {
|
||||
switch (timelineItem.class_type) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user