-
Type:
Task
-
Resolution: Done
-
Priority:
Major - P3
-
Affects Version/s: None
-
Component/s: None
-
None
ie. change query: Document to query: MQLQuery and pipeline: Document[] to pipeline: MQLPipeline.
And just define type MQLQuery = Document; and type MQLPipeline = Document[].
This will allow us to easily replace these in autocompleter to be mql.Query<theCollectionSchema> and mql.Pipeline<theCollectionSchema>.