Skip to content
Snippets Groups Projects
Unverified Commit 1d10ac5f authored by Tasso Evangelista's avatar Tasso Evangelista Committed by GitHub
Browse files

refactor(client): Remove dangling `direct` field on minimongo collections (#28833)

parent 778024e4
No related branches found
No related tags found
No related merge requests found
......@@ -22,8 +22,6 @@ class ChatMessageCollection
public declare _collection: MinimongoCollection<IMessage & { ignored?: boolean }>['_collection'];
public declare direct: MinimongoCollection<IMessage & { ignored?: boolean }>['direct'];
public declare queries: MinimongoCollection<IMessage & { ignored?: boolean }>['queries'];
}
......
......@@ -50,8 +50,6 @@ class RolesCollection extends Mongo.Collection<IRole> implements MinimongoCollec
public declare _collection: MinimongoCollection<IRole>['_collection'];
public declare direct: MinimongoCollection<IRole>['direct'];
public declare queries: MinimongoCollection<IRole>['queries'];
}
......
......@@ -10,6 +10,5 @@ export type MinimongoCollection<T extends Document> = Mongo.Collection<T> & {
};
_recomputeResults: (query: unknown) => void;
};
direct: Mongo.Collection<T>;
queries: unknown[];
};
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment