import type { FormControl, FormGroup } from '@angular/forms'; import type { Measurement } from '@cuby-ui/api'; import { SeasonType } from '@cuby-ui/api'; export interface SeasonForm { readonly type: SeasonType; readonly form: FormGroup; } export interface ConsumableFormGroup { readonly quantity: FormControl; readonly unit: FormControl; readonly measure: FormGroup; } export interface ConsumableMeasureFormGroup { readonly measure: FormControl; readonly unit: FormControl; readonly value: FormControl; } export interface ConsumableFormValues { readonly quantity: number; readonly unit: string; readonly measure: Measurement; }