Search improvements
This commit is contained in:
@@ -39,12 +39,21 @@ export type Document = {
|
||||
views: number,
|
||||
};
|
||||
|
||||
// Pagination response in an API call
|
||||
export type Pagination = {
|
||||
limit: number,
|
||||
nextPath: string,
|
||||
offset: number,
|
||||
};
|
||||
|
||||
// Pagination request params
|
||||
export type PaginationParams = {
|
||||
limit?: number,
|
||||
offset?: number,
|
||||
sort?: string,
|
||||
direction?: 'ASC' | 'DESC',
|
||||
};
|
||||
|
||||
export type ApiKey = {
|
||||
id: string,
|
||||
name: ?string,
|
||||
|
||||
Reference in New Issue
Block a user