export const NONE_ONTOLOGY_VALUE = "__none__";

export type TraitMethodScaleKind = "Trait" | "Method" | "Scale";

export interface TraitMethodScaleRecord {
  id: string;
  db_id: string;
  kind: TraitMethodScaleKind;
  name: string | null;
  ontology_id: string | null;
  ontology_name: string | null;
  description: string | null;
  units: string | null;
  class: string | null;
  pui: string | null;
  formula: string | null;
  reference: string | null;
  data_type: number | null;
  decimal_places: number | null;
  valid_value_min: string | null;
  valid_value_max: string | null;
}

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