import { Snapshot } from '../../store/services/snapshotsStore';
import { FovTypeDto, IRegion } from '../../store/services/queryInfoStore';
import { Shape } from '@conboai/storybook.components';

export type FeedType = {
    abbreviation: string;
    assigned_feed_id: number;
    assigned_feed_name: string;
    created_at: string;
    deployment_id: string;
    feed_display_name: string;
    feed_id: string;
    feed_name: string;
    run_id: number;
    updated_at: string;
    unit_name: string;
    has_validation: boolean;
};
export type FeedStreamsData = {
    latestSnapshots: Snapshot[];
    fovInfos: FovTypeDto[];
    baseUrl?: string;
    feeds: FeedType[];
    regions: IRegion[];
};
export type ModifyShapesType = {
    fov?: Shape;
    regions: Shape[];
    crosses: Shape[];
    fovCondition?: boolean;
    regionsCondition?: boolean;
    crossesCondition?: boolean;
};
export type ImageGridItemType = {
    url: string;
    imageId: string;
    displayName: string;
    name: string;
    feedId: number | null;
    captureTime: string;
    delay: number | null;
    onClick?: (value: number | string | null) => void;
    innerLoading?: boolean;
    isError?: boolean;
    fov?: Shape;
    regions?: Shape[];
    crosses?: Shape[];
    unit: string;
    runId: number | null;
};
