Rename param to page limit and validate its type

Signed-off-by: Camila Belo <camilaibs@gmail.com>
This commit is contained in:
Camila Belo
2022-09-30 20:23:00 +02:00
parent 814c8a61f6
commit 60a912cd2c
5 changed files with 33 additions and 15 deletions
+2 -2
View File
@@ -23,10 +23,10 @@ import { Readable, Transform, Writable } from 'stream';
*/
export interface SearchQuery {
term: string;
filters?: JsonObject;
types?: string[];
filters?: JsonObject;
pageLimit?: number;
pageCursor?: string;
resultsPerPage?: number;
}
/**