import { z } from 'zod';

export const Rezeptmasz = {
  NotSet: 0,
  Mikrogram: 1,
  Milligram: 2,
  Gram: 3,
  Dekagramm: 4,
  Lot: 5,
  Kilogram: 6,
  Pfund: 7,
  Grain: 8,
  Ounce: 9,
  Pound: 10,
  Milliliter: 11,
  Centiliter: 12,
  FluidOunce: 13,
  Deciliter: 14,
  Liter: 15,
  Mass: 16,
  Pint: 17,
  Quart: 18,
  Gallon: 19,
  Drop: 20,
  Dash: 21,
  Schuss: 22,
  Pinch: 23,
  Messerspitze: 24,
  Saitspoon: 25,
  Teaspoon: 26,
  Tablespoon: 27,
  Tasse: 28,
  Cup: 29,
  Bund: 30,
  Slice: 31,
} as const;

export const RezeptmaszSchema = z.nativeEnum(Rezeptmasz).describe('Rezeptmasz');

export type Rezeptmasz = z.infer<typeof RezeptmaszSchema>;
