export interface StorageHealth {
  [storage: string]: boolean;
}

export interface ImageMetadata {
  available?: boolean;
  valid?: boolean;
  id: string;
  datetime: string;
  device_id: string;
  filename: string;
  frame_num: number;
  identifier: string;
  latitude: number;
  location: [number, number];
  longitude: number;
  name: string;
  place_ident: string;
  seq_id: string;
  seq_num_frames: number;
  sha512: string;
  selected?: boolean;
  image_b64?: string;
  tag?: string;
  version?: string;
  previous?: string;
}

export interface GetImageResponse {
  id: string;
  image_data: string;
  metadata: ImageMetadata;
}

export interface ImagePostResponse {
  id: string;
  filename: string;
}

export interface Validity {
  available: boolean;
  valid: boolean;
}
