You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

21 lines
371 B

export type Stoke = {
id: number;
title_one: string;
title_two: string;
sale: string;
color: string;
img: string;
status: number;
adding_time: string;
};
export enum Status {
LOADING = 'loading',
SUCCESS = 'completed',
ERROR = 'error',
}
export interface StockSliceState {
items: Stoke[];
status: Status;
}