core: interface: remove unused collections

This commit is contained in:
undefined committed 2022-09-30 02:45:28 +08:00
1 parent f77dd8dc98
commit 15b88f00a9
6 files changed
+7 -14

No files matched your search

+2 -2
View File
@@ -1,6 +1,6 @@
import { escapeRegExp, pick, uniq } from 'lodash';
import LRU from 'lru-cache';
import { Collection, ObjectID } from 'mongodb';
import { Collection, FilterQuery, ObjectID } from 'mongodb';
import { LoginError, UserAlreadyExistError, UserNotFoundError } from '../error';
import {
FileInfo, GDoc, ownerInfo,
@@ -336,7 +336,7 @@ class UserModel {
return uid;
}
static getMulti(params: any = {}) {
static getMulti(params: FilterQuery<Udoc> = {}) {
return coll.find(params);
}