feat: add shared type
This commit is contained in:
parent
38467d96bf
commit
85dae3c954
1 changed files with 11 additions and 0 deletions
11
src/stores/types.ts
Normal file
11
src/stores/types.ts
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
export type Pagination<T> = {
|
||||
result: T;
|
||||
page: number;
|
||||
pageSize: number;
|
||||
total: number;
|
||||
};
|
||||
|
||||
export enum Status {
|
||||
CREATED,
|
||||
USED,
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue