updated docs
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
// Define request parameters interface without query
|
||||
interface ApiPaginationRequest {
|
||||
page: number;
|
||||
size: number;
|
||||
orderFields: string[];
|
||||
orderTypes: string[];
|
||||
}
|
||||
|
||||
// Define request parameters interface with query
|
||||
interface ApiPaginationRequestWithQuery extends ApiPaginationRequest {
|
||||
query: Record<string, string>;
|
||||
}
|
||||
|
||||
export type { ApiPaginationRequest, ApiPaginationRequestWithQuery };
|
||||
Reference in New Issue
Block a user