export interface Intake {
  unit: string;
  quantity?: number;
}

export interface PersonalIntake {
  id: number;
  name: string;
  intake: Required<Intake>;
}

export interface NutrientIntake {
  '0-0.5': {
    both?: Intake;
    personal?: Intake;
  };
  '0.6-1': {
    both?: Intake;
    personal?: Intake;
  };
  '1-3': {
    both?: Intake;
    personal?: Intake;
  };
  '4-8': {
    both?: Intake;
    personal?: Intake;
  };
  '9-13': {
    male?: Intake;
    female?: Intake;
    personal?: Intake;
  };
  '14-18': {
    male?: Intake;
    female?: Intake;
    personal?: Intake;
  };
  '19-30': {
    male?: Intake;
    female?: Intake;
    personal?: Intake;
  };
  '31-50': {
    male?: Intake;
    female?: Intake;
    personal?: Intake;
  };
  '51-70': {
    male?: Intake;
    female?: Intake;
    personal?: Intake;
  };
  '>70': {
    male?: Intake;
    female?: Intake;
    personal?: Intake;
  };
}
