Bookmark optional

This commit is contained in:
adrinr 2023-03-21 11:20:17 +00:00
parent 10e465e07d
commit 771e3b8862
2 changed files with 1 additions and 2 deletions

View File

@ -555,7 +555,6 @@ async function runQuery<T>(
let output: SearchResponse<T> = { let output: SearchResponse<T> = {
rows: [], rows: [],
totalRows: 0, totalRows: 0,
} }
if (json.rows != null && json.rows.length > 0) { if (json.rows != null && json.rows.length > 0) {

View File

@ -22,6 +22,6 @@ export interface PaginationRequest extends BasicPaginationRequest {
} }
export interface PaginationResponse { export interface PaginationResponse {
bookmark: string bookmark: string | undefined
hasNextPage: boolean hasNextPage: boolean
} }