Skip to content

Commit 5c5d80a

Browse files
committed
Changes to adapt underlying pipeline api changes
1 parent d248cdc commit 5c5d80a

File tree

13 files changed

+2236
-3112
lines changed

13 files changed

+2236
-3112
lines changed

packages/firestore/src/api/pipeline_impl.ts

Lines changed: 11 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -121,14 +121,17 @@ Firestore.prototype.pipeline = function (): PipelineSource<Pipeline> {
121121

122122
Firestore.prototype.realtimePipeline =
123123
function (): PipelineSource<RealtimePipeline> {
124-
return new PipelineSource<RealtimePipeline>(this._databaseId, (stages: Stage[]) => {
125-
return new RealtimePipeline(
126-
this,
127-
newUserDataReader(this),
128-
new ExpUserDataWriter(this),
129-
stages
130-
);
131-
});
124+
return new PipelineSource<RealtimePipeline>(
125+
this._databaseId,
126+
(stages: Stage[]) => {
127+
return new RealtimePipeline(
128+
this,
129+
newUserDataReader(this),
130+
new ExpUserDataWriter(this),
131+
stages
132+
);
133+
}
134+
);
132135
};
133136

134137
/**

packages/firestore/src/api/realtime_pipeline.ts

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,7 @@ import {
2020
Ordering,
2121
Selectable
2222
} from '../lite-api/expressions';
23-
import {
24-
isReadableUserData,
25-
ReadableUserData
26-
} from '../lite-api/pipeline';
23+
import { isReadableUserData, ReadableUserData } from '../lite-api/pipeline';
2724

2825
/**
2926
* Base-class implementation

0 commit comments

Comments
 (0)