File tree Expand file tree Collapse file tree 4 files changed +16
-8
lines changed Expand file tree Collapse file tree 4 files changed +16
-8
lines changed Original file line number Diff line number Diff line change @@ -29,6 +29,16 @@ registerFirestore();
29
29
30
30
export { FirestoreSettings as Settings } from '../src/lite-api/settings' ;
31
31
32
+
33
+ export {
34
+ AggregateField ,
35
+ AggregateSpec ,
36
+ AggregateSpecData ,
37
+ AggregateQuerySnapshot ,
38
+ getCount ,
39
+ aggregateQuerySnapshotEqual
40
+ } from '../src/lite-api/aggregate' ;
41
+
32
42
export {
33
43
Firestore as Firestore ,
34
44
EmulatorMockTokenOptions ,
Original file line number Diff line number Diff line change @@ -20,7 +20,8 @@ export {
20
20
AggregateSpec ,
21
21
AggregateSpecData ,
22
22
AggregateQuerySnapshot ,
23
- getCountFromServer
23
+ getCountFromServer ,
24
+ aggregateQuerySnapshotEqual
24
25
} from './api/aggregate' ;
25
26
26
27
export { FieldPath , documentId } from './api/field_path' ;
Original file line number Diff line number Diff line change 17
17
18
18
import { GetOptions } from '@firebase/firestore-types' ;
19
19
20
- import { AggregateField } from '../api/aggregate' ;
20
+ import { AggregateField , AggregateQuerySnapshot } from '../api/aggregate' ;
21
21
import { LoadBundleTask } from '../api/bundle' ;
22
22
import {
23
23
CredentialChangeListener ,
24
24
CredentialsProvider
25
25
} from '../api/credentials' ;
26
26
import { User } from '../auth/user' ;
27
- import {
28
- getCount ,
29
- AggregateQuerySnapshot
30
- } from '../lite-api/aggregate' ;
27
+ import { getCount } from '../lite-api/aggregate' ;
31
28
import { Query as LiteQuery } from '../lite-api/reference' ;
32
29
import { LocalStore } from '../local/local_store' ;
33
30
import {
Original file line number Diff line number Diff line change @@ -2228,7 +2228,7 @@ describe('countQuery()', () => {
2228
2228
} ) ;
2229
2229
} ) ;
2230
2230
2231
- it ( 'aggregateSnapshotEqual on same queries be truthy' , ( ) => {
2231
+ it ( 'aggregateQuerySnapshotEqual on same queries be truthy' , ( ) => {
2232
2232
const testDocs = [
2233
2233
{ author : 'authorA' , title : 'titleA' } ,
2234
2234
{ author : 'authorA' , title : 'titleB' } ,
@@ -2245,7 +2245,7 @@ describe('countQuery()', () => {
2245
2245
} ) ;
2246
2246
} ) ;
2247
2247
2248
- it ( 'aggregateSnapshotEqual on different queries be falsy' , ( ) => {
2248
+ it ( 'aggregateQuerySnapshotEqual on different queries be falsy' , ( ) => {
2249
2249
const testDocs = [
2250
2250
{ author : 'authorA' , title : 'titleA' } ,
2251
2251
{ author : 'authorA' , title : 'titleB' } ,
You can’t perform that action at this time.
0 commit comments