Rename param to page limit and validate its type
Signed-off-by: Camila Belo <camilaibs@gmail.com>
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user