File tree Expand file tree Collapse file tree 6 files changed +67
-2
lines changed Expand file tree Collapse file tree 6 files changed +67
-2
lines changed Original file line number Diff line number Diff line change @@ -8117,6 +8117,12 @@ declare namespace firebase.firestore {
8117
8117
*/
8118
8118
terminate ( ) : Promise < void > ;
8119
8119
8120
+ loadBundle (
8121
+ bundleData : ArrayBuffer | ReadableStream < ArrayBuffer > | string
8122
+ ) : LoadBundleTask ;
8123
+
8124
+ namedQuery ( name : string ) : Promise < Query | null > ;
8125
+
8120
8126
/**
8121
8127
* @hidden
8122
8128
*/
Original file line number Diff line number Diff line change @@ -539,6 +539,11 @@ export function loadBundle(
539
539
bundleData : ArrayBuffer | ReadableStream < Uint8Array > | string
540
540
) : LoadBundleTask ;
541
541
542
+ export function namedQuery (
543
+ firestore : FirebaseFirestore ,
544
+ name : string
545
+ ) : Promise < Query | null > ;
546
+
542
547
export type FirestoreErrorCode =
543
548
| 'cancelled'
544
549
| 'unknown'
Original file line number Diff line number Diff line change @@ -350,6 +350,6 @@ export async function namedQuery(
350
350
return null ;
351
351
}
352
352
353
- // @ts -ignore
354
- return new Query ( firestoreImpl , null , namedQuery . query ) ;
353
+ return null ;
354
+ // return new Query(firestoreImpl, null, namedQuery.query);
355
355
}
Original file line number Diff line number Diff line change
1
+ /**
2
+ * @license
3
+ * Copyright 2020 Google LLC
4
+ *
5
+ * Licensed under the Apache License, Version 2.0 (the "License");
6
+ * you may not use this file except in compliance with the License.
7
+ * You may obtain a copy of the License at
8
+ *
9
+ * http://www.apache.org/licenses/LICENSE-2.0
10
+ *
11
+ * Unless required by applicable law or agreed to in writing, software
12
+ * distributed under the License is distributed on an "AS IS" BASIS,
13
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ * See the License for the specific language governing permissions and
15
+ * limitations under the License.
16
+ */
17
+
18
+ export * from '../browser/byte_stream_reader' ;
Original file line number Diff line number Diff line change
1
+ /**
2
+ * @license
3
+ * Copyright 2020 Google LLC
4
+ *
5
+ * Licensed under the Apache License, Version 2.0 (the "License");
6
+ * you may not use this file except in compliance with the License.
7
+ * You may obtain a copy of the License at
8
+ *
9
+ * http://www.apache.org/licenses/LICENSE-2.0
10
+ *
11
+ * Unless required by applicable law or agreed to in writing, software
12
+ * distributed under the License is distributed on an "AS IS" BASIS,
13
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ * See the License for the specific language governing permissions and
15
+ * limitations under the License.
16
+ */
17
+
18
+ export * from '../node/byte_stream_reader' ;
Original file line number Diff line number Diff line change
1
+ /**
2
+ * @license
3
+ * Copyright 2020 Google LLC
4
+ *
5
+ * Licensed under the Apache License, Version 2.0 (the "License");
6
+ * you may not use this file except in compliance with the License.
7
+ * You may obtain a copy of the License at
8
+ *
9
+ * http://www.apache.org/licenses/LICENSE-2.0
10
+ *
11
+ * Unless required by applicable law or agreed to in writing, software
12
+ * distributed under the License is distributed on an "AS IS" BASIS,
13
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ * See the License for the specific language governing permissions and
15
+ * limitations under the License.
16
+ */
17
+
18
+ export * from '../rn/byte_stream_reader' ;
You can’t perform that action at this time.
0 commit comments