mirror of
https://github.com/Zagrios/bs-manager.git
synced 2026-07-03 14:08:25 +02:00
prepare for maps downloading
This commit is contained in:
@@ -165,4 +165,18 @@ export interface MapFilter {
|
||||
maxNps?: number,
|
||||
enabledTags?: Set<MapTag>,
|
||||
excludedTags?: Set<MapTag>
|
||||
}
|
||||
}
|
||||
|
||||
export interface SearchResponse {
|
||||
docs: BsvMapDetail[],
|
||||
redirect: string
|
||||
}
|
||||
|
||||
export interface SearchParams {
|
||||
order: SearchOrder,
|
||||
filter?: MapFilter,
|
||||
page?: number,
|
||||
q?: string
|
||||
}
|
||||
|
||||
export type SearchOrder = "Latest"|"Relevance"|"Rating"|"Curated";
|
||||
Reference in New Issue
Block a user