usercache: cleanup, also elsewhere
removed some old FIXMEs and documented usercache nicely for once, renaming some things too.
This commit is contained in:
@@ -54,8 +54,6 @@ export interface ServerSearchReqDTO extends PaginatedReqDTO {
|
||||
queries: QueryDTO[];
|
||||
}
|
||||
|
||||
// FIXME: Generate ServerSearchReqDTO using Query.asDTO methods in serverSearch()!
|
||||
|
||||
export interface QueryDTO {
|
||||
class: "bool" | "string" | "date";
|
||||
// QueryType.getter
|
||||
@@ -647,7 +645,7 @@ export class Search {
|
||||
|
||||
constructor(c: SearchConfiguration) {
|
||||
// FIXME: Remove!
|
||||
if (c.search.id.includes("accounts")) {
|
||||
if (c.search.id.includes("activity")) {
|
||||
(window as any).s = this;
|
||||
}
|
||||
this._c = c;
|
||||
|
||||
Reference in New Issue
Block a user