This repository was archived by the owner on Apr 4, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -786,6 +786,8 @@ export namespace firestore {
786786
787787 readonly path : string ;
788788
789+ readonly firestore : firestore ;
790+
789791 collection : ( collectionPath : string ) => CollectionReference ;
790792
791793 set : ( document : any , options ?: SetOptions ) => Promise < void > ;
@@ -804,6 +806,8 @@ export namespace firestore {
804806 }
805807
806808 export interface Query {
809+ readonly firestore : firestore ;
810+
807811 get ( options ?: GetOptions ) : Promise < QuerySnapshot > ;
808812
809813 where ( fieldPath : string , opStr : WhereFilterOp , value : any ) : Query ;
@@ -816,11 +820,19 @@ export namespace firestore {
816820
817821 startAt ( snapshot : DocumentSnapshot ) : Query ;
818822
823+ startAt ( ...fieldValues : any [ ] ) : Query ;
824+
819825 startAfter ( snapshot : DocumentSnapshot ) : Query ;
820826
827+ startAfter ( ...fieldValues : any [ ] ) : Query ;
828+
821829 endAt ( snapshot : DocumentSnapshot ) : Query ;
822830
831+ endAt ( ...fieldValues : any [ ] ) : Query ;
832+
823833 endBefore ( snapshot : DocumentSnapshot ) : Query ;
834+
835+ endBefore ( ...fieldValues : any [ ] ) : Query ;
824836 }
825837
826838 export interface CollectionReference extends Query {
You can’t perform that action at this time.
0 commit comments