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