Fix return type
This commit is contained in:
parent
83bc2e17db
commit
d3ba4b103e
|
@ -54,6 +54,7 @@ export async function searchView(
|
|||
rows: result.rows,
|
||||
bookmark: result.bookmark,
|
||||
hasNextPage: result.hasNextPage,
|
||||
totalRows: result.totalRows,
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -24,4 +24,5 @@ export interface PaginationRequest extends BasicPaginationRequest {
|
|||
export interface PaginationResponse {
|
||||
bookmark: string | number | undefined
|
||||
hasNextPage?: boolean
|
||||
totalRows?: number
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue