diff options
| author | bobzel <zzzman@gmail.com> | 2024-08-20 19:11:00 -0400 |
|---|---|---|
| committer | bobzel <zzzman@gmail.com> | 2024-08-20 19:11:00 -0400 |
| commit | 5196009ec6bcb673fd2a4519c54442df218841f7 (patch) | |
| tree | 79f4b1d559c20a6bfd9b4759a5cbe9d8f8c00fe1 /src/client/util/SearchUtil.ts | |
| parent | 0e975569e5686138e52bdc554b3f0391f42aeead (diff) | |
| parent | e57584a1be9d428fb40fc789494a7ac0ac14fb84 (diff) | |
fixed up a bunch of things in face recognition
Diffstat (limited to 'src/client/util/SearchUtil.ts')
| -rw-r--r-- | src/client/util/SearchUtil.ts | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/client/util/SearchUtil.ts b/src/client/util/SearchUtil.ts index 609fedfa9..6cad7060b 100644 --- a/src/client/util/SearchUtil.ts +++ b/src/client/util/SearchUtil.ts @@ -5,6 +5,7 @@ import { StrCast } from '../../fields/Types'; import { DocumentType } from '../documents/DocumentTypes'; import { DocOptions, FInfo } from '../documents/Documents'; +// eslint-disable-next-line @typescript-eslint/no-namespace export namespace SearchUtil { export type HighlightingResult = { [id: string]: { [key: string]: string[] } }; @@ -22,6 +23,7 @@ export namespace SearchUtil { const results = new ObservableMap<Doc, string[]>(); if (collectionDoc) { const docs = DocListCast(collectionDoc[Doc.LayoutFieldKey(collectionDoc)]); + // eslint-disable-next-line @typescript-eslint/ban-types const docIDs: String[] = []; SearchUtil.foreachRecursiveDoc(docs, (depth: number, doc: Doc) => { const dtype = StrCast(doc.type) as DocumentType; |
