qna
This commit is contained in:
@@ -10,7 +10,7 @@ import {
|
||||
|
||||
export const codesCacheRefresh = () => {
|
||||
return resultify(
|
||||
axios.post<CodesCacheRefreshResponse>(API_URL.counselList()),
|
||||
axios.post<CodesCacheRefreshResponse>(API_URL.codesCacheRefresh()),
|
||||
);
|
||||
};
|
||||
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
export const DEFAULT_PAGE_PARAM = {
|
||||
cursor: 'string',
|
||||
page: 0,
|
||||
size: 0,
|
||||
sortBy: 'string',
|
||||
sortOrder: 'ASC',
|
||||
orderBy: 'string',
|
||||
limit: 0,
|
||||
offset: 0
|
||||
};
|
||||
@@ -1,3 +1,11 @@
|
||||
export interface DefaultRequestPagination {
|
||||
page: number;
|
||||
size: number;
|
||||
sortBy: string;
|
||||
sortOrder: string;
|
||||
orderBy: string;
|
||||
offset: number;
|
||||
};
|
||||
export interface DefaulResponsePagination {
|
||||
nextCursor: string | null;
|
||||
hasNext: boolean;
|
||||
|
||||
Reference in New Issue
Block a user