summaryrefslogtreecommitdiff
path: root/packages/backend
diff options
context:
space:
mode:
authorMar0xy <marie@kaifa.ch>2023-11-21 22:23:55 +0100
committerMar0xy <marie@kaifa.ch>2023-11-21 22:23:55 +0100
commitcb9cbc8f15eb8e7f94100c96b81bcc7c8d47bd93 (patch)
treee106c89de0a1c4155136f7984f1ba396d09dd011 /packages/backend
parentupd: use Meilisearch for file type searching (diff)
downloadsharkey-cb9cbc8f15eb8e7f94100c96b81bcc7c8d47bd93.tar.gz
sharkey-cb9cbc8f15eb8e7f94100c96b81bcc7c8d47bd93.tar.bz2
sharkey-cb9cbc8f15eb8e7f94100c96b81bcc7c8d47bd93.zip
chore: remove unused type
Diffstat (limited to 'packages/backend')
-rw-r--r--packages/backend/src/core/SearchService.ts3
1 files changed, 1 insertions, 2 deletions
diff --git a/packages/backend/src/core/SearchService.ts b/packages/backend/src/core/SearchService.ts
index 2a241d2e31..b399ace0ae 100644
--- a/packages/backend/src/core/SearchService.ts
+++ b/packages/backend/src/core/SearchService.ts
@@ -29,8 +29,7 @@ type Q =
{ op: 'is not null', k: K} |
{ op: 'and', qs: Q[] } |
{ op: 'or', qs: Q[] } |
- { op: 'not', q: Q } |
- { op: 'in', qs: Q[] };
+ { op: 'not', q: Q };
function compileValue(value: V): string {
if (typeof value === 'string') {