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
@@ -246,7 +246,7 @@ declare module './model/problem' {
|
||||
export type { ProblemDoc } from './model/problem';
|
||||
export type ProblemDict = NumericDictionary<ProblemDoc>;
|
||||
|
||||
export interface StatusDoc {
|
||||
export interface StatusDocBase {
|
||||
_id: ObjectID,
|
||||
docId: any,
|
||||
docType: number,
|
||||
@@ -254,7 +254,7 @@ export interface StatusDoc {
|
||||
uid: number,
|
||||
}
|
||||
|
||||
export interface ProblemStatusDoc extends StatusDoc {
|
||||
export interface ProblemStatusDoc extends StatusDocBase {
|
||||
docId: number;
|
||||
docType: 10;
|
||||
rid?: ObjectID;
|
||||
@@ -609,14 +609,12 @@ export interface OauthMap {
|
||||
|
||||
export interface Collections {
|
||||
'blacklist': BlacklistDoc;
|
||||
'contest': Tdoc;
|
||||
'domain': DomainDoc;
|
||||
'domain.user': any;
|
||||
'domain.union': DomainUnion;
|
||||
'record': RecordDoc;
|
||||
'document': any;
|
||||
'document.status': any;
|
||||
'problem': ProblemDoc;
|
||||
'document.status': StatusDocBase;
|
||||
'user': Udoc;
|
||||
'user.preference': UserPreferenceDoc;
|
||||
'vuser': VUdoc;
|
||||
@@ -632,9 +630,6 @@ export interface Collections {
|
||||
'oplog': OplogDoc;
|
||||
'event': EventDoc;
|
||||
'opcount': OpCountDoc;
|
||||
'log': any;
|
||||
'fs.chunks': any;
|
||||
'fs.files': any;
|
||||
}
|
||||
|
||||
export interface Model {
|
||||
|
||||
Reference in new issue
Block a user