export interface IngredientCategory {
  id: number;
  code: string;
  name: string;
  itemCount: number;
}

export interface IngredientNutritionItem {
  id: number;
  categoryId: number;
  categoryCode: string;
  categoryName: string;
  name: string;
  namePl?: string | null;
  caloriesPer100G: number;
  proteinGPer100G: number;
  fatGPer100G: number;
  carbsGPer100G: number;
  fiberGPer100G: number | null;
}

export interface UpsertIngredientNutritionItemInput {
  categoryId: number;
  name: string;
  namePl?: string | null;
  caloriesPer100G: number;
  proteinGPer100G: number;
  fatGPer100G: number;
  carbsGPer100G: number;
  fiberGPer100G?: number | null;
  sortOrder?: number;
  isActive?: boolean;
}
