mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-19 17:38:19 +08:00
core: interface: remove unused collections
This commit is contained in:
1 parent
f77dd8dc98
commit
15b88f00a9
6 files changed
+7
-14
No files matched your search
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user