export const NONE_SELECT_VALUE = "__none__";

export interface SelectOption {
  value: string;
  label: string;
}

export interface EventDateRange {
  startDate?: string | null;
  endDate?: string | null;
  discreteDates?: string[] | null;
}

export interface EventRecord {
  id: string;
  eventDbId: string;
  eventType: string | null;
  eventTypeDbId: string | null;
  eventDescription: string | null;
  studyDbId: string | null;
  studyName: string | null;
  observationUnitDbIds: string[];
  eventDateRange: EventDateRange | null;
  event_type: string | null;
  event_type_db_id: string | null;
  event_description: string | null;
  study_db_id: string | null;
  observation_unit_db_ids: string | null;
  start_date: string | null;
  end_date: string | null;
}

export interface ImageRecord {
  id: string;
  imageDbId: string;
  imageName: string | null;
  imageFileName: string | null;
  imageURL: string | null;
  mimeType: string | null;
  description: string | null;
  studyDbId: string | null;
  observationUnitDbId: string | null;
  observationDbIds: string[];
  imageTimeStamp: string | null;
  imageFileSize: number | null;
  imageWidth: number | null;
  imageHeight: number | null;
  image_name: string | null;
  image_file_name: string | null;
  image_url: string | null;
  mime_type: string | null;
  study_db_id: string | null;
  observation_unit_db_id: string | null;
  observation_db_ids: string | null;
  image_time_stamp: string | null;
  image_file_size: number | null;
  image_width: number | null;
  image_height: number | null;
}
