feat: Implement product management features including CRUD operations and UI components
This commit is contained in:
@@ -1,10 +1,16 @@
|
||||
export interface IPaginatedQuery<LastSeen = string> {
|
||||
lastSeen: LastSeen;
|
||||
export interface IPaginatedQuery {
|
||||
page: number;
|
||||
pageSize: number;
|
||||
}
|
||||
|
||||
export interface IPaginatedResponse<T, LastSeen = string> {
|
||||
lastSeen: LastSeen;
|
||||
totalCount: number;
|
||||
items: T[];
|
||||
export interface IPaginatedResponse<T> {
|
||||
meta: IResponseMetadata;
|
||||
data: T[];
|
||||
}
|
||||
|
||||
export interface IResponseMetadata {
|
||||
page: number;
|
||||
perPage: number;
|
||||
totalPages: number;
|
||||
totalRecords: number;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user