File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -29,6 +29,16 @@ registerFirestore();
2929
3030export { FirestoreSettings as Settings } from '../src/lite-api/settings' ;
3131
32+
33+ export {
34+ AggregateField ,
35+ AggregateSpec ,
36+ AggregateSpecData ,
37+ AggregateQuerySnapshot ,
38+ getCount ,
39+ aggregateQuerySnapshotEqual
40+ } from '../src/lite-api/aggregate' ;
41+
3242export {
3343 Firestore as Firestore ,
3444 EmulatorMockTokenOptions ,
Original file line number Diff line number Diff line change @@ -20,7 +20,8 @@ export {
2020 AggregateSpec ,
2121 AggregateSpecData ,
2222 AggregateQuerySnapshot ,
23- getCountFromServer
23+ getCountFromServer ,
24+ aggregateQuerySnapshotEqual
2425} from './api/aggregate' ;
2526
2627export { FieldPath , documentId } from './api/field_path' ;
Original file line number Diff line number Diff line change 1717
1818import { GetOptions } from '@firebase/firestore-types' ;
1919
20- import { AggregateField } from '../api/aggregate' ;
20+ import { AggregateField , AggregateQuerySnapshot } from '../api/aggregate' ;
2121import { LoadBundleTask } from '../api/bundle' ;
2222import {
2323 CredentialChangeListener ,
2424 CredentialsProvider
2525} from '../api/credentials' ;
2626import { User } from '../auth/user' ;
27- import {
28- getCount ,
29- AggregateQuerySnapshot
30- } from '../lite-api/aggregate' ;
27+ import { getCount } from '../lite-api/aggregate' ;
3128import { Query as LiteQuery } from '../lite-api/reference' ;
3229import { LocalStore } from '../local/local_store' ;
3330import {
Original file line number Diff line number Diff line change @@ -2228,7 +2228,7 @@ describe('countQuery()', () => {
22282228 } ) ;
22292229 } ) ;
22302230
2231- it ( 'aggregateSnapshotEqual on same queries be truthy' , ( ) => {
2231+ it ( 'aggregateQuerySnapshotEqual on same queries be truthy' , ( ) => {
22322232 const testDocs = [
22332233 { author : 'authorA' , title : 'titleA' } ,
22342234 { author : 'authorA' , title : 'titleB' } ,
@@ -2245,7 +2245,7 @@ describe('countQuery()', () => {
22452245 } ) ;
22462246 } ) ;
22472247
2248- it ( 'aggregateSnapshotEqual on different queries be falsy' , ( ) => {
2248+ it ( 'aggregateQuerySnapshotEqual on different queries be falsy' , ( ) => {
22492249 const testDocs = [
22502250 { author : 'authorA' , title : 'titleA' } ,
22512251 { author : 'authorA' , title : 'titleB' } ,
You can’t perform that action at this time.
0 commit comments