categories page has pagination now
This commit is contained in:
1 parent
bf384c1d67
commit
fe6344ece5
11 files changed
+216
-31
No files matched your search
+10
-1
@@ -19,7 +19,11 @@ export type CategoryType = {
|
||||
updated_at: string;
|
||||
};
|
||||
|
||||
export type CategoriesListType = { data: CategoryType[] };
|
||||
export type CategoriesListType = {
|
||||
data: CategoryType[];
|
||||
meta: any;
|
||||
links: any;
|
||||
};
|
||||
|
||||
// تعریف نوع Tag
|
||||
export type TagType = {
|
||||
@@ -52,6 +56,11 @@ export type categorySlugPropsType = {
|
||||
params: { categorySlug: string };
|
||||
};
|
||||
|
||||
export type categoryPropsType = {
|
||||
params: { categorySlug: string };
|
||||
searchParams: any;
|
||||
};
|
||||
|
||||
export type PaginationType = {
|
||||
total: number;
|
||||
per_page: number;
|
||||
|
||||
Reference in new issue
Block a user