export type PizzaToCard = {
    id: number;
    title: string;
    description: string;
    heft_trad:number;
    img_trad: string;
    img_thin: string;
    name: string;
    price: number;
    size: string;
    feature: string;
  };

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

  export type GetPizzaParams = {
    id: number;
  };

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