export type Categories = {
    id: number;
    name: string;
  };

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

  export interface CategoriesSliceState {
    categories: Categories[];
    status: Status;
  }
