Skip to content

Commit 78e7ae0

Browse files
committed
Fixing exports
1 parent e9afbe4 commit 78e7ae0

File tree

2 files changed

+44
-33
lines changed

2 files changed

+44
-33
lines changed

packages/firestore/src/api_pipelines.ts

Lines changed: 16 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -149,19 +149,32 @@ export {
149149
mapMerge,
150150
documentId,
151151
substring,
152+
countDistinct,
153+
ceil,
154+
floor,
155+
exp,
156+
pow,
157+
round,
158+
collectionId,
159+
ln,
160+
log,
161+
sqrt,
162+
stringReverse,
163+
length as len,
164+
abs,
152165
Expression,
153166
AliasedExpression,
154167
Field,
155168
FunctionExpression,
156-
Ordering
169+
Ordering,
170+
BooleanExpression,
171+
AggregateFunction
157172
} from './lite-api/expressions';
158173

159174
export type {
160175
ExpressionType,
161176
AggregateWithAlias,
162177
Selectable,
163-
BooleanExpression,
164-
AggregateFunction
165178
} from './lite-api/expressions';
166179

167180
export { _internalPipelineToExecutePipelineRequestProto } from './remote/internal_serializer';

packages/firestore/test/integration/api/pipeline.test.ts

Lines changed: 28 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -19,35 +19,6 @@ import { FirebaseError } from '@firebase/util';
1919
import { expect, use } from 'chai';
2020
import chaiAsPromised from 'chai-as-promised';
2121

22-
import {
23-
AggregateFunction,
24-
arrayGet,
25-
ascending,
26-
BooleanExpression,
27-
byteLength,
28-
FunctionExpression,
29-
timestampAdd,
30-
timestampToUnixMicros,
31-
timestampToUnixMillis,
32-
timestampToUnixSeconds,
33-
toLower,
34-
unixMicrosToTimestamp,
35-
unixMillisToTimestamp,
36-
vectorLength,
37-
countDistinct,
38-
ceil,
39-
floor,
40-
exp,
41-
pow,
42-
round,
43-
collectionId,
44-
ln,
45-
log,
46-
sqrt,
47-
stringReverse,
48-
length,
49-
abs
50-
} from '../../../src/lite-api/expressions';
5122
import { PipelineSnapshot } from '../../../src/lite-api/pipeline-result';
5223
import { addEqualityMatcher } from '../../util/equality_matcher';
5324
import { Deferred } from '../../util/promise';
@@ -140,7 +111,34 @@ import {
140111
field,
141112
constant,
142113
_internalPipelineToExecutePipelineRequestProto,
143-
FindNearestStageOptions
114+
FindNearestStageOptions,
115+
AggregateFunction,
116+
arrayGet,
117+
ascending,
118+
BooleanExpression,
119+
byteLength,
120+
FunctionExpression,
121+
timestampAdd,
122+
timestampToUnixMicros,
123+
timestampToUnixMillis,
124+
timestampToUnixSeconds,
125+
toLower,
126+
unixMicrosToTimestamp,
127+
unixMillisToTimestamp,
128+
vectorLength,
129+
countDistinct,
130+
ceil,
131+
floor,
132+
exp,
133+
pow,
134+
round,
135+
collectionId,
136+
ln,
137+
log,
138+
sqrt,
139+
stringReverse,
140+
len as length,
141+
abs
144142
} from '../util/pipeline_export';
145143

146144
use(chaiAsPromised);

0 commit comments

Comments
 (0)