export type PizzaToCard = {
    id: number;
    title: string;
    description: string;
    heft_trad:number;
    img_trad: string;
  };

  export enum Status {
    LOADING = 'loading',
    SUCCESS = 'completed',
    ERROR = 'error',
  }

  export type GetPizzaParams = {
    id: number;
  };

  export interface PizzaToCardSliceState {
    pizzaToCard_items: PizzaToCard[];
    pizzaToCard_status: Status;
  }
