usercache: cleanup, also elsewhere

removed some old FIXMEs and documented usercache nicely for once,
renaming some things too.
This commit is contained in:
Harvey Tindall
2025-05-22 14:08:17 +01:00
parent 1dfe13951f
commit b53120f271
6 changed files with 57 additions and 46 deletions
+1 -3
View File
@@ -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;