export const NONE_SELECT_VALUE = "__none__";

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

export interface PlateQuery {
  plate_name?: string;
  plate_barcode?: string;
  program_id?: string;
  trial_id?: string;
  study_id?: string;
}

export interface PlateRecord {
  id: string;
  plateDbId: string;
  plateName: string | null;
  plateBarcode: string | null;
  plateFormat: string | null;
  sampleType: string | null;
  programDbId: string | null;
  trialDbId: string | null;
  studyDbId: string | null;
  plate_name: string | null;
  plate_barcode: string | null;
  plate_format: string | null;
  sample_type: string | null;
  program_id: string | null;
  trial_id: string | null;
  study_id: string | null;
  program_name?: string | null;
  trial_name?: string | null;
  study_name?: string | null;
  sample_count?: number;
}

export interface SampleQuery {
  sample_name?: string;
  sample_barcode?: string;
  program_id?: string;
  trial_id?: string;
  study_id?: string;
  plate_id?: string;
  observation_unit_id?: string;
}

export interface SampleRecord {
  id: string;
  sampleDbId: string;
  sampleName: string | null;
  sampleBarcode: string | null;
  samplePUI: string | null;
  sampleGroupDbId: string | null;
  sampleType: string | null;
  tissueType: string | null;
  sampleDescription: string | null;
  sampleTimestamp: string | null;
  takenBy: string | null;
  studyDbId: string | null;
  trialDbId: string | null;
  programDbId: string | null;
  germplasmDbId: string | null;
  observationUnitDbId: string | null;
  plateDbId: string | null;
  plateName: string | null;
  row: string | null;
  column: number | string | null;
  well: string | null;
  sample_name: string | null;
  sample_barcode: string | null;
  sample_pui: string | null;
  sample_group_db_id: string | null;
  sample_type: string | null;
  tissue_type: string | null;
  sample_description: string | null;
  sample_timestamp: string | null;
  taken_by: string | null;
  study_id: string | null;
  trial_id: string | null;
  program_id: string | null;
  germplasm_id: string | null;
  observation_unit_id: string | null;
  plate_id: string | null;
  plate_name: string | null;
  program_name?: string | null;
  trial_name?: string | null;
  study_name?: string | null;
}
