updated docs

This commit is contained in:
2025-05-13 18:45:23 +03:00
parent 6dfa17c5e6
commit 3627412fe9
247 changed files with 30258 additions and 0 deletions

View File

@@ -0,0 +1,31 @@
// Define pagination interface
interface ApiPaginationResponse {
page: number;
size: number;
totalCount: number;
allCount: number;
totalPages: number;
orderFields: string[];
orderTypes: string[];
pageCount: number;
next: string;
prev: string;
}
// Define default response interface
interface ApiDefaultResponse {
completed: boolean;
message: string;
data?: Record<string, any> | null;
}
// Define default response interface with pagination
interface ApiDefaultResponseWithPagination extends ApiDefaultResponse {
pagination?: ApiPaginationResponse | null;
}
export type {
ApiPaginationResponse,
ApiDefaultResponse,
ApiDefaultResponseWithPagination,
};