Fix return type

This commit is contained in:
Adria Navarro 2025-01-08 15:51:48 +01:00
parent 83bc2e17db
commit d3ba4b103e
2 changed files with 2 additions and 0 deletions

View File

@ -54,6 +54,7 @@ export async function searchView(
rows: result.rows,
bookmark: result.bookmark,
hasNextPage: result.hasNextPage,
totalRows: result.totalRows,
}
}

View File

@ -24,4 +24,5 @@ export interface PaginationRequest extends BasicPaginationRequest {
export interface PaginationResponse {
bookmark: string | number | undefined
hasNextPage?: boolean
totalRows?: number
}