@firebase/firestore 3.4.4 → 3.4.5-canary.8ac8fb099
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +12 -0
- package/dist/firestore/src/api/credentials.d.ts +1 -0
- package/dist/firestore/src/api/{query.d.ts → filter.d.ts} +0 -0
- package/dist/firestore/src/api/snapshot.d.ts +1 -2
- package/dist/firestore/src/api.d.ts +1 -1
- package/dist/firestore/src/core/database_info.d.ts +1 -0
- package/dist/firestore/src/core/target.d.ts +34 -5
- package/dist/firestore/src/index/index_byte_encoder.d.ts +18 -1
- package/dist/firestore/src/index/index_entry.d.ts +32 -0
- package/dist/firestore/src/lite-api/query.d.ts +2 -2
- package/dist/firestore/src/local/document_overlay_cache.d.ts +72 -0
- package/dist/firestore/src/local/index_manager.d.ts +52 -0
- package/dist/firestore/src/local/indexeddb_document_overlay_cache.d.ts +45 -0
- package/dist/firestore/src/local/indexeddb_index_manager.d.ts +87 -2
- package/dist/firestore/src/local/indexeddb_persistence.d.ts +6 -4
- package/dist/firestore/src/local/indexeddb_remote_document_cache.d.ts +2 -8
- package/dist/firestore/src/local/indexeddb_schema.d.ts +195 -7
- package/dist/firestore/src/local/local_documents_view.d.ts +0 -1
- package/dist/firestore/src/local/local_serializer.d.ts +19 -3
- package/dist/firestore/src/local/memory_document_overlay_cache.d.ts +37 -0
- package/dist/firestore/src/local/memory_index_manager.d.ts +11 -0
- package/dist/firestore/src/local/memory_persistence.d.ts +6 -2
- package/dist/firestore/src/local/memory_remote_document_cache.d.ts +1 -3
- package/dist/firestore/src/local/persistence.d.ts +8 -2
- package/dist/firestore/src/local/remote_document_cache.d.ts +7 -9
- package/dist/firestore/src/local/remote_document_change_buffer.d.ts +3 -12
- package/dist/firestore/src/local/simple_db.d.ts +12 -0
- package/dist/firestore/src/model/document.d.ts +7 -0
- package/dist/firestore/src/model/document_key.d.ts +6 -0
- package/dist/firestore/src/model/field_index.d.ts +89 -7
- package/dist/firestore/src/model/overlay.d.ts +32 -0
- package/dist/firestore/src/model/target_index_matcher.d.ts +70 -0
- package/dist/firestore/src/model/type_order.d.ts +2 -1
- package/dist/firestore/src/model/values.d.ts +7 -0
- package/dist/firestore/src/platform/node/base64.d.ts +1 -0
- package/dist/firestore/src/platform/node/grpc_connection.d.ts +2 -2
- package/dist/firestore/src/platform/node/load_protos.d.ts +2 -2
- package/dist/firestore/src/util/sorted_set.d.ts +18 -0
- package/dist/firestore/test/unit/local/counting_query_engine.d.ts +3 -3
- package/dist/firestore/test/unit/local/document_overlay_cache.test.d.ts +1 -0
- package/dist/firestore/test/unit/local/persistence_test_helpers.d.ts +1 -0
- package/dist/firestore/test/unit/local/test_document_overlay_cache.d.ts +38 -0
- package/dist/firestore/test/unit/local/test_index_manager.d.ts +11 -0
- package/dist/firestore/test/unit/local/test_remote_document_cache.d.ts +5 -3
- package/dist/firestore/test/unit/local/test_remote_document_change_buffer.d.ts +1 -1
- package/dist/firestore/test/unit/model/field_index.test.d.ts +17 -0
- package/dist/firestore/test/unit/model/target.test.d.ts +17 -0
- package/dist/firestore/test/unit/model/target_index_matcher.test.d.ts +17 -0
- package/dist/firestore/test/util/helpers.d.ts +8 -2
- package/dist/index.d.ts +1 -2
- package/dist/index.esm2017.js +5415 -3839
- package/dist/index.esm2017.js.map +1 -1
- package/dist/index.esm5.js +5039 -3613
- package/dist/index.esm5.js.map +1 -1
- package/dist/index.node.cjs.js +2908 -592
- package/dist/index.node.cjs.js.map +1 -1
- package/dist/index.node.mjs +2888 -593
- package/dist/index.node.mjs.map +1 -1
- package/dist/index.rn.js +5396 -3862
- package/dist/index.rn.js.map +1 -1
- package/dist/internal.d.ts +265 -26
- package/dist/lite/firestore/src/api/credentials.d.ts +1 -0
- package/dist/lite/firestore/src/api/{query.d.ts → filter.d.ts} +0 -0
- package/dist/lite/firestore/src/api/snapshot.d.ts +1 -2
- package/dist/lite/firestore/src/api.d.ts +1 -1
- package/dist/lite/firestore/src/core/database_info.d.ts +1 -0
- package/dist/lite/firestore/src/core/target.d.ts +34 -5
- package/dist/lite/firestore/src/index/index_byte_encoder.d.ts +18 -1
- package/dist/lite/firestore/src/index/index_entry.d.ts +32 -0
- package/dist/lite/firestore/src/lite-api/query.d.ts +2 -2
- package/dist/lite/firestore/src/local/document_overlay_cache.d.ts +72 -0
- package/dist/lite/firestore/src/local/index_manager.d.ts +52 -0
- package/dist/lite/firestore/src/local/indexeddb_document_overlay_cache.d.ts +45 -0
- package/dist/lite/firestore/src/local/indexeddb_index_manager.d.ts +87 -2
- package/dist/lite/firestore/src/local/indexeddb_persistence.d.ts +6 -4
- package/dist/lite/firestore/src/local/indexeddb_remote_document_cache.d.ts +2 -8
- package/dist/lite/firestore/src/local/indexeddb_schema.d.ts +195 -7
- package/dist/lite/firestore/src/local/local_documents_view.d.ts +0 -1
- package/dist/lite/firestore/src/local/local_serializer.d.ts +19 -3
- package/dist/lite/firestore/src/local/memory_document_overlay_cache.d.ts +37 -0
- package/dist/lite/firestore/src/local/memory_index_manager.d.ts +11 -0
- package/dist/lite/firestore/src/local/memory_persistence.d.ts +6 -2
- package/dist/lite/firestore/src/local/memory_remote_document_cache.d.ts +1 -3
- package/dist/lite/firestore/src/local/persistence.d.ts +8 -2
- package/dist/lite/firestore/src/local/remote_document_cache.d.ts +7 -9
- package/dist/lite/firestore/src/local/remote_document_change_buffer.d.ts +3 -12
- package/dist/lite/firestore/src/local/simple_db.d.ts +12 -0
- package/dist/lite/firestore/src/model/document.d.ts +7 -0
- package/dist/lite/firestore/src/model/document_key.d.ts +6 -0
- package/dist/lite/firestore/src/model/field_index.d.ts +89 -7
- package/dist/lite/firestore/src/model/overlay.d.ts +32 -0
- package/dist/lite/firestore/src/model/target_index_matcher.d.ts +70 -0
- package/dist/lite/firestore/src/model/type_order.d.ts +2 -1
- package/dist/lite/firestore/src/model/values.d.ts +7 -0
- package/dist/lite/firestore/src/platform/node/base64.d.ts +1 -0
- package/dist/lite/firestore/src/platform/node/grpc_connection.d.ts +2 -2
- package/dist/lite/firestore/src/platform/node/load_protos.d.ts +2 -2
- package/dist/lite/firestore/src/util/sorted_set.d.ts +18 -0
- package/dist/lite/firestore/test/unit/local/counting_query_engine.d.ts +3 -3
- package/dist/lite/firestore/test/unit/local/document_overlay_cache.test.d.ts +1 -0
- package/dist/lite/firestore/test/unit/local/persistence_test_helpers.d.ts +1 -0
- package/dist/lite/firestore/test/unit/local/test_document_overlay_cache.d.ts +38 -0
- package/dist/lite/firestore/test/unit/local/test_index_manager.d.ts +11 -0
- package/dist/lite/firestore/test/unit/local/test_remote_document_cache.d.ts +5 -3
- package/dist/lite/firestore/test/unit/local/test_remote_document_change_buffer.d.ts +1 -1
- package/dist/lite/firestore/test/unit/model/field_index.test.d.ts +17 -0
- package/dist/lite/firestore/test/unit/model/target.test.d.ts +17 -0
- package/dist/lite/firestore/test/unit/model/target_index_matcher.test.d.ts +17 -0
- package/dist/lite/firestore/test/util/helpers.d.ts +8 -2
- package/dist/lite/index.browser.esm2017.js +1207 -1174
- package/dist/lite/index.browser.esm2017.js.map +1 -1
- package/dist/lite/index.browser.esm5.js +370 -361
- package/dist/lite/index.browser.esm5.js.map +1 -1
- package/dist/lite/index.node.cjs.js +83 -41
- package/dist/lite/index.node.cjs.js.map +1 -1
- package/dist/lite/index.node.mjs +83 -41
- package/dist/lite/index.node.mjs.map +1 -1
- package/dist/lite/index.rn.esm2017.js +375 -342
- package/dist/lite/index.rn.esm2017.js.map +1 -1
- package/dist/lite/internal.d.ts +16 -2
- package/dist/lite/packages/firestore/dist/lite/index.browser.esm2017.d.ts +125 -124
- package/dist/lite/packages/firestore/src/api/credentials.d.ts +1 -0
- package/dist/lite/packages/firestore/src/api/{query.d.ts → filter.d.ts} +0 -0
- package/dist/lite/packages/firestore/src/api/snapshot.d.ts +1 -2
- package/dist/lite/packages/firestore/src/api.d.ts +1 -1
- package/dist/lite/packages/firestore/src/core/database_info.d.ts +1 -0
- package/dist/lite/packages/firestore/src/core/target.d.ts +34 -5
- package/dist/lite/packages/firestore/src/index/index_byte_encoder.d.ts +18 -1
- package/dist/lite/packages/firestore/src/index/index_entry.d.ts +32 -0
- package/dist/lite/packages/firestore/src/lite-api/query.d.ts +2 -2
- package/dist/lite/packages/firestore/src/local/document_overlay_cache.d.ts +72 -0
- package/dist/lite/packages/firestore/src/local/index_manager.d.ts +52 -0
- package/dist/lite/packages/firestore/src/local/indexeddb_document_overlay_cache.d.ts +45 -0
- package/dist/lite/packages/firestore/src/local/indexeddb_index_manager.d.ts +87 -2
- package/dist/lite/packages/firestore/src/local/indexeddb_persistence.d.ts +6 -4
- package/dist/lite/packages/firestore/src/local/indexeddb_remote_document_cache.d.ts +2 -8
- package/dist/lite/packages/firestore/src/local/indexeddb_schema.d.ts +195 -7
- package/dist/lite/packages/firestore/src/local/local_documents_view.d.ts +0 -1
- package/dist/lite/packages/firestore/src/local/local_serializer.d.ts +19 -3
- package/dist/lite/packages/firestore/src/local/memory_document_overlay_cache.d.ts +37 -0
- package/dist/lite/packages/firestore/src/local/memory_index_manager.d.ts +11 -0
- package/dist/lite/packages/firestore/src/local/memory_persistence.d.ts +6 -2
- package/dist/lite/packages/firestore/src/local/memory_remote_document_cache.d.ts +1 -3
- package/dist/lite/packages/firestore/src/local/persistence.d.ts +8 -2
- package/dist/lite/packages/firestore/src/local/remote_document_cache.d.ts +7 -9
- package/dist/lite/packages/firestore/src/local/remote_document_change_buffer.d.ts +3 -12
- package/dist/lite/packages/firestore/src/local/simple_db.d.ts +12 -0
- package/dist/lite/packages/firestore/src/model/document.d.ts +7 -0
- package/dist/lite/packages/firestore/src/model/document_key.d.ts +6 -0
- package/dist/lite/packages/firestore/src/model/field_index.d.ts +89 -7
- package/dist/lite/packages/firestore/src/model/overlay.d.ts +32 -0
- package/dist/lite/packages/firestore/src/model/target_index_matcher.d.ts +70 -0
- package/dist/lite/packages/firestore/src/model/type_order.d.ts +2 -1
- package/dist/lite/packages/firestore/src/model/values.d.ts +7 -0
- package/dist/lite/packages/firestore/src/platform/node/base64.d.ts +1 -0
- package/dist/lite/packages/firestore/src/platform/node/grpc_connection.d.ts +2 -2
- package/dist/lite/packages/firestore/src/platform/node/load_protos.d.ts +2 -2
- package/dist/lite/packages/firestore/src/util/sorted_set.d.ts +18 -0
- package/dist/lite/packages/firestore/test/unit/local/counting_query_engine.d.ts +3 -3
- package/dist/lite/packages/firestore/test/unit/local/document_overlay_cache.test.d.ts +1 -0
- package/dist/lite/packages/firestore/test/unit/local/persistence_test_helpers.d.ts +1 -0
- package/dist/lite/packages/firestore/test/unit/local/test_document_overlay_cache.d.ts +38 -0
- package/dist/lite/packages/firestore/test/unit/local/test_index_manager.d.ts +11 -0
- package/dist/lite/packages/firestore/test/unit/local/test_remote_document_cache.d.ts +5 -3
- package/dist/lite/packages/firestore/test/unit/local/test_remote_document_change_buffer.d.ts +1 -1
- package/dist/lite/packages/firestore/test/unit/model/field_index.test.d.ts +17 -0
- package/dist/lite/packages/firestore/test/unit/model/target.test.d.ts +17 -0
- package/dist/lite/packages/firestore/test/unit/model/target_index_matcher.test.d.ts +17 -0
- package/dist/lite/packages/firestore/test/util/helpers.d.ts +8 -2
- package/dist/lite/private.d.ts +9 -2
- package/dist/packages/firestore/dist/index.esm2017.d.ts +199 -194
- package/dist/packages/firestore/src/api/credentials.d.ts +1 -0
- package/dist/packages/firestore/src/api/{query.d.ts → filter.d.ts} +0 -0
- package/dist/packages/firestore/src/api/snapshot.d.ts +1 -2
- package/dist/packages/firestore/src/api.d.ts +1 -1
- package/dist/packages/firestore/src/core/database_info.d.ts +1 -0
- package/dist/packages/firestore/src/core/target.d.ts +34 -5
- package/dist/packages/firestore/src/index/index_byte_encoder.d.ts +18 -1
- package/dist/packages/firestore/src/index/index_entry.d.ts +32 -0
- package/dist/packages/firestore/src/lite-api/query.d.ts +2 -2
- package/dist/packages/firestore/src/local/document_overlay_cache.d.ts +72 -0
- package/dist/packages/firestore/src/local/index_manager.d.ts +52 -0
- package/dist/packages/firestore/src/local/indexeddb_document_overlay_cache.d.ts +45 -0
- package/dist/packages/firestore/src/local/indexeddb_index_manager.d.ts +87 -2
- package/dist/packages/firestore/src/local/indexeddb_persistence.d.ts +6 -4
- package/dist/packages/firestore/src/local/indexeddb_remote_document_cache.d.ts +2 -8
- package/dist/packages/firestore/src/local/indexeddb_schema.d.ts +195 -7
- package/dist/packages/firestore/src/local/local_documents_view.d.ts +0 -1
- package/dist/packages/firestore/src/local/local_serializer.d.ts +19 -3
- package/dist/packages/firestore/src/local/memory_document_overlay_cache.d.ts +37 -0
- package/dist/packages/firestore/src/local/memory_index_manager.d.ts +11 -0
- package/dist/packages/firestore/src/local/memory_persistence.d.ts +6 -2
- package/dist/packages/firestore/src/local/memory_remote_document_cache.d.ts +1 -3
- package/dist/packages/firestore/src/local/persistence.d.ts +8 -2
- package/dist/packages/firestore/src/local/remote_document_cache.d.ts +7 -9
- package/dist/packages/firestore/src/local/remote_document_change_buffer.d.ts +3 -12
- package/dist/packages/firestore/src/local/simple_db.d.ts +12 -0
- package/dist/packages/firestore/src/model/document.d.ts +7 -0
- package/dist/packages/firestore/src/model/document_key.d.ts +6 -0
- package/dist/packages/firestore/src/model/field_index.d.ts +89 -7
- package/dist/packages/firestore/src/model/overlay.d.ts +32 -0
- package/dist/packages/firestore/src/model/target_index_matcher.d.ts +70 -0
- package/dist/packages/firestore/src/model/type_order.d.ts +2 -1
- package/dist/packages/firestore/src/model/values.d.ts +7 -0
- package/dist/packages/firestore/src/platform/node/base64.d.ts +1 -0
- package/dist/packages/firestore/src/platform/node/grpc_connection.d.ts +2 -2
- package/dist/packages/firestore/src/platform/node/load_protos.d.ts +2 -2
- package/dist/packages/firestore/src/util/sorted_set.d.ts +18 -0
- package/dist/packages/firestore/test/unit/local/counting_query_engine.d.ts +3 -3
- package/dist/packages/firestore/test/unit/local/document_overlay_cache.test.d.ts +1 -0
- package/dist/packages/firestore/test/unit/local/persistence_test_helpers.d.ts +1 -0
- package/dist/packages/firestore/test/unit/local/test_document_overlay_cache.d.ts +38 -0
- package/dist/packages/firestore/test/unit/local/test_index_manager.d.ts +11 -0
- package/dist/packages/firestore/test/unit/local/test_remote_document_cache.d.ts +5 -3
- package/dist/packages/firestore/test/unit/local/test_remote_document_change_buffer.d.ts +1 -1
- package/dist/packages/firestore/test/unit/model/field_index.test.d.ts +17 -0
- package/dist/packages/firestore/test/unit/model/target.test.d.ts +17 -0
- package/dist/packages/firestore/test/unit/model/target_index_matcher.test.d.ts +17 -0
- package/dist/packages/firestore/test/util/helpers.d.ts +8 -2
- package/dist/private.d.ts +258 -26
- package/package.json +9 -9
|
@@ -19,14 +19,14 @@
|
|
|
19
19
|
* to the user.
|
|
20
20
|
*
|
|
21
21
|
* @internal
|
|
22
|
-
*/ declare class
|
|
22
|
+
*/ declare class qh {
|
|
23
23
|
convertValue(t: any, e?: string): any;
|
|
24
24
|
convertObject(t: any, e: any): {};
|
|
25
|
-
convertGeoPoint(t: any):
|
|
25
|
+
convertGeoPoint(t: any): La;
|
|
26
26
|
convertArray(t: any, e: any): any;
|
|
27
27
|
convertServerTimestamp(t: any, e: any): any;
|
|
28
|
-
convertTimestamp(t: any):
|
|
29
|
-
convertDocumentKey(t: any, e: any):
|
|
28
|
+
convertTimestamp(t: any): ut;
|
|
29
|
+
convertDocumentKey(t: any, e: any): xt;
|
|
30
30
|
}
|
|
31
31
|
/**
|
|
32
32
|
* @license
|
|
@@ -46,18 +46,18 @@
|
|
|
46
46
|
*/
|
|
47
47
|
/**
|
|
48
48
|
* An immutable object representing an array of bytes.
|
|
49
|
-
*/ declare class
|
|
49
|
+
*/ declare class Fa {
|
|
50
50
|
/**
|
|
51
51
|
* Creates a new `Bytes` object from the given Base64 string, converting it to
|
|
52
52
|
* bytes.
|
|
53
53
|
*
|
|
54
54
|
* @param base64 - The Base64 string used to create the `Bytes` object.
|
|
55
|
-
*/ static fromBase64String(t: any):
|
|
55
|
+
*/ static fromBase64String(t: any): Fa;
|
|
56
56
|
/**
|
|
57
57
|
* Creates a new `Bytes` object from the given Uint8Array.
|
|
58
58
|
*
|
|
59
59
|
* @param array - The Uint8Array used to create the `Bytes` object.
|
|
60
|
-
*/ static fromUint8Array(t: any):
|
|
60
|
+
*/ static fromUint8Array(t: any): Fa;
|
|
61
61
|
/** @hideconstructor */
|
|
62
62
|
constructor(t: any);
|
|
63
63
|
_byteString: any;
|
|
@@ -99,11 +99,11 @@
|
|
|
99
99
|
* See the License for the specific language governing permissions and
|
|
100
100
|
* limitations under the License.
|
|
101
101
|
*/
|
|
102
|
-
/** DOMException error code constants. */ declare const
|
|
102
|
+
/** DOMException error code constants. */ declare const pa: -1;
|
|
103
103
|
/**
|
|
104
104
|
* A `CollectionReference` object can be used for adding documents, getting
|
|
105
105
|
* document references, and querying for documents (using {@link query}).
|
|
106
|
-
*/ declare class
|
|
106
|
+
*/ declare class ha extends aa {
|
|
107
107
|
_path: any;
|
|
108
108
|
/** The collection's identifier. */ get id(): any;
|
|
109
109
|
/**
|
|
@@ -113,7 +113,7 @@
|
|
|
113
113
|
/**
|
|
114
114
|
* A reference to the containing `DocumentReference` if this is a
|
|
115
115
|
* subcollection. If this isn't a subcollection, the reference is null.
|
|
116
|
-
*/ get parent():
|
|
116
|
+
*/ get parent(): ua | null;
|
|
117
117
|
}
|
|
118
118
|
/**
|
|
119
119
|
* @license
|
|
@@ -135,7 +135,7 @@
|
|
|
135
135
|
* A `DocumentReference` refers to a document location in a Firestore database
|
|
136
136
|
* and can be used to write, read, or listen to the location. The document at
|
|
137
137
|
* the referenced location may or may not exist.
|
|
138
|
-
*/ declare class
|
|
138
|
+
*/ declare class ua {
|
|
139
139
|
/** @hideconstructor */
|
|
140
140
|
constructor(t: any, e: any, n: any);
|
|
141
141
|
converter: any;
|
|
@@ -153,8 +153,8 @@
|
|
|
153
153
|
*/ get path(): any;
|
|
154
154
|
/**
|
|
155
155
|
* The collection this `DocumentReference` belongs to.
|
|
156
|
-
*/ get parent():
|
|
157
|
-
withConverter(t: any):
|
|
156
|
+
*/ get parent(): ha;
|
|
157
|
+
withConverter(t: any): ua;
|
|
158
158
|
}
|
|
159
159
|
/**
|
|
160
160
|
* A `DocumentSnapshot` contains data read from a document in your Firestore
|
|
@@ -164,7 +164,7 @@
|
|
|
164
164
|
* For a `DocumentSnapshot` that points to a non-existing document, any data
|
|
165
165
|
* access will return 'undefined'. You can use the `exists()` method to
|
|
166
166
|
* explicitly verify a document's existence.
|
|
167
|
-
*/ declare class
|
|
167
|
+
*/ declare class gh extends dh {
|
|
168
168
|
/** @hideconstructor protected */
|
|
169
169
|
constructor(t: any, e: any, n: any, s: any, i: any, r: any);
|
|
170
170
|
_firestoreImpl: any;
|
|
@@ -210,7 +210,7 @@
|
|
|
210
210
|
* Create a `FieldPath` by providing field names. If more than one field
|
|
211
211
|
* name is provided, the path will point to a nested field in a document.
|
|
212
212
|
*/
|
|
213
|
-
declare class
|
|
213
|
+
declare class $a {
|
|
214
214
|
/**
|
|
215
215
|
* Creates a `FieldPath` from the provided field names. If more than one field
|
|
216
216
|
* name is provided, the path will point to a nested field in a document.
|
|
@@ -245,7 +245,7 @@ declare class eu {
|
|
|
245
245
|
/**
|
|
246
246
|
* Sentinel values that can be used when writing document fields with `set()`
|
|
247
247
|
* or `update()`.
|
|
248
|
-
*/ declare class
|
|
248
|
+
*/ declare class Ba {
|
|
249
249
|
/**
|
|
250
250
|
* @param _methodName - The public API endpoint that returns this class.
|
|
251
251
|
* @hideconstructor
|
|
@@ -258,10 +258,10 @@ declare class eu {
|
|
|
258
258
|
*
|
|
259
259
|
* Do not call this constructor directly. Instead, use {@link getFirestore}.
|
|
260
260
|
*/
|
|
261
|
-
declare class
|
|
262
|
-
_queue:
|
|
261
|
+
declare class Ia extends oa {
|
|
262
|
+
_queue: ma;
|
|
263
263
|
}
|
|
264
|
-
/** An error returned by a Firestore operation. */ declare class
|
|
264
|
+
/** An error returned by a Firestore operation. */ declare class j extends u {
|
|
265
265
|
/** @hideconstructor */
|
|
266
266
|
constructor(t: any, e: any);
|
|
267
267
|
}
|
|
@@ -287,7 +287,7 @@ declare class La extends ba {
|
|
|
287
287
|
*
|
|
288
288
|
* Latitude values are in the range of [-90, 90].
|
|
289
289
|
* Longitude values are in the range of [-180, 180].
|
|
290
|
-
*/ declare class
|
|
290
|
+
*/ declare class La {
|
|
291
291
|
/**
|
|
292
292
|
* Creates a new immutable `GeoPoint` object with the provided latitude and
|
|
293
293
|
* longitude values.
|
|
@@ -318,9 +318,9 @@ declare class La extends ba {
|
|
|
318
318
|
* with an underscore.
|
|
319
319
|
*/ _compareTo(t: any): 0 | 1 | -1;
|
|
320
320
|
}
|
|
321
|
-
declare class
|
|
321
|
+
declare class ya {
|
|
322
322
|
_progressObserver: {};
|
|
323
|
-
_taskCompletionResolver:
|
|
323
|
+
_taskCompletionResolver: Q;
|
|
324
324
|
_lastProgress: {
|
|
325
325
|
taskState: string;
|
|
326
326
|
totalBytes: number;
|
|
@@ -370,7 +370,7 @@ declare class Ma {
|
|
|
370
370
|
/**
|
|
371
371
|
* A `Query` refers to a query which you can read or listen to. You can also
|
|
372
372
|
* construct refined `Query` objects by adding filters and ordering.
|
|
373
|
-
*/ declare class
|
|
373
|
+
*/ declare class aa {
|
|
374
374
|
/** @hideconstructor protected */
|
|
375
375
|
constructor(t: any, e: any, n: any);
|
|
376
376
|
converter: any;
|
|
@@ -378,7 +378,7 @@ declare class Ma {
|
|
|
378
378
|
/** The type of this Firestore reference. */
|
|
379
379
|
type: string;
|
|
380
380
|
firestore: any;
|
|
381
|
-
withConverter(t: any):
|
|
381
|
+
withConverter(t: any): aa;
|
|
382
382
|
}
|
|
383
383
|
/**
|
|
384
384
|
* A `QueryConstraint` is used to narrow the set of documents returned by a
|
|
@@ -387,7 +387,7 @@ declare class Ma {
|
|
|
387
387
|
* endBefore:1}, {@link (endAt:1)}, {@link limit} or {@link limitToLast} and
|
|
388
388
|
* can then be passed to {@link query} to create a new query instance that
|
|
389
389
|
* also contains this `QueryConstraint`.
|
|
390
|
-
*/ declare class
|
|
390
|
+
*/ declare class Ah {
|
|
391
391
|
}
|
|
392
392
|
/**
|
|
393
393
|
* A `QueryDocumentSnapshot` contains data read from a document in your
|
|
@@ -399,7 +399,7 @@ declare class Ma {
|
|
|
399
399
|
* `DocumentSnapshot`. Since query results contain only existing documents, the
|
|
400
400
|
* `exists` property will always be true and `data()` will never return
|
|
401
401
|
* 'undefined'.
|
|
402
|
-
*/ declare class
|
|
402
|
+
*/ declare class yh extends gh {
|
|
403
403
|
}
|
|
404
404
|
/**
|
|
405
405
|
* A `QuerySnapshot` contains zero or more `DocumentSnapshot` objects
|
|
@@ -407,13 +407,13 @@ declare class Ma {
|
|
|
407
407
|
* array via the `docs` property or enumerated using the `forEach` method. The
|
|
408
408
|
* number of documents can be determined via the `empty` and `size`
|
|
409
409
|
* properties.
|
|
410
|
-
*/ declare class
|
|
410
|
+
*/ declare class ph {
|
|
411
411
|
/** @hideconstructor */
|
|
412
412
|
constructor(t: any, e: any, n: any, s: any);
|
|
413
413
|
_firestore: any;
|
|
414
414
|
_userDataWriter: any;
|
|
415
415
|
_snapshot: any;
|
|
416
|
-
metadata:
|
|
416
|
+
metadata: mh;
|
|
417
417
|
query: any;
|
|
418
418
|
/** An array of all the documents in the `QuerySnapshot`. */ get docs(): any[];
|
|
419
419
|
/** The number of documents in the `QuerySnapshot`. */ get size(): any;
|
|
@@ -455,7 +455,7 @@ declare class Ma {
|
|
|
455
455
|
*/
|
|
456
456
|
/**
|
|
457
457
|
* Metadata about a snapshot, describing the state of the snapshot.
|
|
458
|
-
*/ declare class
|
|
458
|
+
*/ declare class mh {
|
|
459
459
|
/** @hideconstructor */
|
|
460
460
|
constructor(t: any, e: any);
|
|
461
461
|
hasPendingWrites: any;
|
|
@@ -497,19 +497,19 @@ declare class Ma {
|
|
|
497
497
|
* For examples and further specifications, refer to the
|
|
498
498
|
* {@link https://github.com/google/protobuf/blob/master/src/google/protobuf/timestamp.proto | Timestamp definition}.
|
|
499
499
|
*/
|
|
500
|
-
declare class
|
|
500
|
+
declare class ut {
|
|
501
501
|
/**
|
|
502
502
|
* Creates a new timestamp with the current date, with millisecond precision.
|
|
503
503
|
*
|
|
504
504
|
* @returns a new timestamp representing the current date.
|
|
505
|
-
*/ static now():
|
|
505
|
+
*/ static now(): ut;
|
|
506
506
|
/**
|
|
507
507
|
* Creates a new timestamp from the given date.
|
|
508
508
|
*
|
|
509
509
|
* @param date - The date to initialize the `Timestamp` from.
|
|
510
510
|
* @returns A new `Timestamp` representing the same point in time as the given
|
|
511
511
|
* date.
|
|
512
|
-
*/ static fromDate(t: any):
|
|
512
|
+
*/ static fromDate(t: any): ut;
|
|
513
513
|
/**
|
|
514
514
|
* Creates a new timestamp from the given number of milliseconds.
|
|
515
515
|
*
|
|
@@ -517,7 +517,7 @@ declare class at {
|
|
|
517
517
|
* 1970-01-01T00:00:00Z.
|
|
518
518
|
* @returns A new `Timestamp` representing the same point in time as the given
|
|
519
519
|
* number of milliseconds.
|
|
520
|
-
*/ static fromMillis(t: any):
|
|
520
|
+
*/ static fromMillis(t: any): ut;
|
|
521
521
|
/**
|
|
522
522
|
* Creates a new timestamp.
|
|
523
523
|
*
|
|
@@ -564,11 +564,11 @@ declare class at {
|
|
|
564
564
|
* to be compared using the `>`, `<=`, `>=` and `>` operators.
|
|
565
565
|
*/ valueOf(): string;
|
|
566
566
|
}
|
|
567
|
-
declare const
|
|
567
|
+
declare const ul_base: {
|
|
568
568
|
new (t: any, e: any): {
|
|
569
569
|
_firestore: any;
|
|
570
570
|
_transaction: any;
|
|
571
|
-
_dataReader:
|
|
571
|
+
_dataReader: Qa;
|
|
572
572
|
/**
|
|
573
573
|
* Reads the document referenced by the provided {@link DocumentReference}.
|
|
574
574
|
*
|
|
@@ -607,7 +607,7 @@ declare const vh_base: {
|
|
|
607
607
|
* The `Transaction` object passed to a transaction's `updateFunction` provides
|
|
608
608
|
* the methods to read and write data within the transaction context. See
|
|
609
609
|
* {@link runTransaction}.
|
|
610
|
-
*/ declare class
|
|
610
|
+
*/ declare class ul extends ul_base {
|
|
611
611
|
}
|
|
612
612
|
/**
|
|
613
613
|
* @license
|
|
@@ -632,22 +632,22 @@ declare const vh_base: {
|
|
|
632
632
|
* provides methods for adding writes to the write batch. None of the writes
|
|
633
633
|
* will be committed (or visible locally) until {@link WriteBatch.commit} is
|
|
634
634
|
* called.
|
|
635
|
-
*/ declare class
|
|
635
|
+
*/ declare class jh {
|
|
636
636
|
/** @hideconstructor */
|
|
637
637
|
constructor(t: any, e: any);
|
|
638
638
|
_firestore: any;
|
|
639
639
|
_commitHandler: any;
|
|
640
640
|
_mutations: any[];
|
|
641
641
|
_committed: boolean;
|
|
642
|
-
_dataReader:
|
|
643
|
-
set(t: any, e: any, n: any):
|
|
644
|
-
update(t: any, e: any, n: any, ...s: any[]):
|
|
642
|
+
_dataReader: Qa;
|
|
643
|
+
set(t: any, e: any, n: any): jh;
|
|
644
|
+
update(t: any, e: any, n: any, ...s: any[]): jh;
|
|
645
645
|
/**
|
|
646
646
|
* Deletes the document referred to by the provided {@link DocumentReference}.
|
|
647
647
|
*
|
|
648
648
|
* @param documentRef - A reference to the document to be deleted.
|
|
649
649
|
* @returns This `WriteBatch` instance. Used for chaining method calls.
|
|
650
|
-
*/ delete(t: any):
|
|
650
|
+
*/ delete(t: any): jh;
|
|
651
651
|
/**
|
|
652
652
|
* Commits all of the writes in this write batch as a single atomic unit.
|
|
653
653
|
*
|
|
@@ -667,7 +667,8 @@ declare const vh_base: {
|
|
|
667
667
|
* Represents the database ID a Firestore client is associated with.
|
|
668
668
|
* @internal
|
|
669
669
|
*/
|
|
670
|
-
declare class
|
|
670
|
+
declare class vt {
|
|
671
|
+
static empty(): vt;
|
|
671
672
|
constructor(t: any, e: any);
|
|
672
673
|
projectId: any;
|
|
673
674
|
database: any;
|
|
@@ -692,9 +693,10 @@ declare class _a {
|
|
|
692
693
|
*/
|
|
693
694
|
/**
|
|
694
695
|
* @internal
|
|
695
|
-
*/ declare class
|
|
696
|
-
static fromPath(t: any):
|
|
697
|
-
static fromName(t: any):
|
|
696
|
+
*/ declare class xt {
|
|
697
|
+
static fromPath(t: any): xt;
|
|
698
|
+
static fromName(t: any): xt;
|
|
699
|
+
static empty(): xt;
|
|
698
700
|
static comparator(t: any, e: any): 0 | 1 | -1;
|
|
699
701
|
static isDocumentKey(t: any): boolean;
|
|
700
702
|
/**
|
|
@@ -702,10 +704,13 @@ declare class _a {
|
|
|
702
704
|
*
|
|
703
705
|
* @param segments - The segments of the path to the document
|
|
704
706
|
* @returns A new instance of DocumentKey
|
|
705
|
-
*/ static fromSegments(t: any):
|
|
707
|
+
*/ static fromSegments(t: any): xt;
|
|
706
708
|
constructor(t: any);
|
|
707
709
|
path: any;
|
|
710
|
+
get collectionGroup(): any;
|
|
708
711
|
/** Returns true if the document is in the specified collectionId. */ hasCollectionId(t: any): boolean;
|
|
712
|
+
/** Returns the collection group (i.e. the name of the parent collection) for this key. */ getCollectionGroup(): any;
|
|
713
|
+
/** Returns the fully qualified path to the parent collection. */ getCollectionPath(): any;
|
|
709
714
|
isEqual(t: any): boolean;
|
|
710
715
|
toString(): any;
|
|
711
716
|
}
|
|
@@ -756,7 +761,7 @@ declare class _a {
|
|
|
756
761
|
* Returns true if this field references the key of a document.
|
|
757
762
|
*/ isKeyField(): boolean;
|
|
758
763
|
}
|
|
759
|
-
declare function
|
|
764
|
+
declare function sa(t: any, e: any): any;
|
|
760
765
|
/**
|
|
761
766
|
* Fails if the given assertion condition is false, throwing an Error with the
|
|
762
767
|
* given message if it did.
|
|
@@ -804,11 +809,11 @@ declare function yt(): boolean;
|
|
|
804
809
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
805
810
|
* See the License for the specific language governing permissions and
|
|
806
811
|
* limitations under the License.
|
|
807
|
-
*/ declare function
|
|
812
|
+
*/ declare function ml(t: any, e: any): Promise<void>;
|
|
808
813
|
/**
|
|
809
814
|
* Validates that two boolean options are not set at the same time.
|
|
810
815
|
* @internal
|
|
811
|
-
*/ declare function
|
|
816
|
+
*/ declare function Zu(t: any, e: any, n: any, s: any): void;
|
|
812
817
|
/**
|
|
813
818
|
* Add a new document to specified `CollectionReference` with the given data,
|
|
814
819
|
* assigning it a document ID automatically.
|
|
@@ -818,7 +823,7 @@ declare function yt(): boolean;
|
|
|
818
823
|
* @returns A `Promise` resolved with a `DocumentReference` pointing to the
|
|
819
824
|
* newly created document after it has been written to the backend (Note that it
|
|
820
825
|
* won't resolve while you're offline).
|
|
821
|
-
*/ declare function
|
|
826
|
+
*/ declare function sl(t: any, e: any): Promise<ua>;
|
|
822
827
|
/**
|
|
823
828
|
* Returns a special value that can be used with {@link (setDoc:1)} or {@link
|
|
824
829
|
* updateDoc:1} that tells the server to remove the given elements from any
|
|
@@ -829,7 +834,7 @@ declare function yt(): boolean;
|
|
|
829
834
|
* @param elements - The elements to remove from the array.
|
|
830
835
|
* @returns The `FieldValue` sentinel for use in a call to `setDoc()` or
|
|
831
836
|
* `updateDoc()`
|
|
832
|
-
*/ declare function
|
|
837
|
+
*/ declare function dl(...t: any[]): Za;
|
|
833
838
|
/**
|
|
834
839
|
* Returns a special value that can be used with {@link @firebase/firestore/lite#(setDoc:1)} or {@link
|
|
835
840
|
* @firebase/firestore/lite#(updateDoc:1)} that tells the server to union the given elements with any array
|
|
@@ -841,9 +846,9 @@ declare function yt(): boolean;
|
|
|
841
846
|
* @param elements - The elements to union into the array.
|
|
842
847
|
* @returns The `FieldValue` sentinel for use in a call to `setDoc()` or
|
|
843
848
|
* `updateDoc()`.
|
|
844
|
-
*/ declare function
|
|
845
|
-
declare function
|
|
846
|
-
declare function
|
|
849
|
+
*/ declare function fl(...t: any[]): Xa;
|
|
850
|
+
declare function va(t: any): Promise<any>;
|
|
851
|
+
declare function la(t: any, e: any, ...n: any[]): ha;
|
|
847
852
|
/**
|
|
848
853
|
* Creates and returns a new `Query` instance that includes all documents in the
|
|
849
854
|
* database that are contained in a collection or subcollection with the
|
|
@@ -854,15 +859,15 @@ declare function Da(t: any, e: any, ...n: any[]): Sa;
|
|
|
854
859
|
* collection or subcollection with this ID as the last segment of its path
|
|
855
860
|
* will be included. Cannot contain a slash.
|
|
856
861
|
* @returns The created `Query`.
|
|
857
|
-
*/ declare function
|
|
858
|
-
declare function
|
|
862
|
+
*/ declare function fa(t: any, e: any): aa;
|
|
863
|
+
declare function ca(t: any, e: any, n: any, s?: {}): void;
|
|
859
864
|
/**
|
|
860
865
|
* Deletes the document referred to by the specified `DocumentReference`.
|
|
861
866
|
*
|
|
862
867
|
* @param reference - A reference to the document to delete.
|
|
863
868
|
* @returns A Promise resolved once the document has been successfully
|
|
864
869
|
* deleted from the backend (note that it won't resolve while you're offline).
|
|
865
|
-
*/ declare function
|
|
870
|
+
*/ declare function nl(t: any): Promise<any>;
|
|
866
871
|
/**
|
|
867
872
|
* @license
|
|
868
873
|
* Copyright 2020 Google LLC
|
|
@@ -882,7 +887,7 @@ declare function Pa(t: any, e: any, n: any, s?: {}): void;
|
|
|
882
887
|
/**
|
|
883
888
|
* Returns a sentinel for use with {@link @firebase/firestore/lite#(updateDoc:1)} or
|
|
884
889
|
* {@link @firebase/firestore/lite#(setDoc:1)} with `{merge: true}` to mark a field for deletion.
|
|
885
|
-
*/ declare function
|
|
890
|
+
*/ declare function hl(): Ha;
|
|
886
891
|
/**
|
|
887
892
|
* Disables network usage for this instance. It can be re-enabled via {@link
|
|
888
893
|
* enableNetwork}. While the network is disabled, any snapshot listeners,
|
|
@@ -890,12 +895,12 @@ declare function Pa(t: any, e: any, n: any, s?: {}): void;
|
|
|
890
895
|
* operations will be queued until the network is restored.
|
|
891
896
|
*
|
|
892
897
|
* @returns A `Promise` that is resolved once the network has been disabled.
|
|
893
|
-
*/ declare function
|
|
894
|
-
declare function
|
|
898
|
+
*/ declare function Ca(t: any): any;
|
|
899
|
+
declare function da(t: any, e: any, ...n: any[]): ua;
|
|
895
900
|
/**
|
|
896
901
|
* Returns a special sentinel `FieldPath` to refer to the ID of a document.
|
|
897
902
|
* It can be used in queries to sort or filter by the document ID.
|
|
898
|
-
*/ declare function
|
|
903
|
+
*/ declare function Ma(): $a;
|
|
899
904
|
/**
|
|
900
905
|
* Attempts to enable persistent storage, if possible.
|
|
901
906
|
*
|
|
@@ -918,7 +923,7 @@ declare function Na(t: any, e: any, ...n: any[]): va;
|
|
|
918
923
|
* @param persistenceSettings - Optional settings object to configure
|
|
919
924
|
* persistence.
|
|
920
925
|
* @returns A `Promise` that represents successfully enabling persistent storage.
|
|
921
|
-
*/ declare function
|
|
926
|
+
*/ declare function Pa(t: any, e: any): any;
|
|
922
927
|
/**
|
|
923
928
|
* Attempts to enable multi-tab persistent storage, if possible. If enabled
|
|
924
929
|
* across all tabs, all operations share access to local persistence, including
|
|
@@ -940,22 +945,22 @@ declare function Na(t: any, e: any, ...n: any[]): va;
|
|
|
940
945
|
* @param firestore - The {@link Firestore} instance to enable persistence for.
|
|
941
946
|
* @returns A `Promise` that represents successfully enabling persistent
|
|
942
947
|
* storage.
|
|
943
|
-
*/ declare function
|
|
948
|
+
*/ declare function ba(t: any): any;
|
|
944
949
|
/**
|
|
945
950
|
* Re-enables use of the network for this {@link Firestore} instance after a prior
|
|
946
951
|
* call to {@link disableNetwork}.
|
|
947
952
|
*
|
|
948
953
|
* @returns A `Promise` that is resolved once the network has been enabled.
|
|
949
|
-
*/ declare function
|
|
950
|
-
declare function
|
|
951
|
-
declare function
|
|
954
|
+
*/ declare function Da(t: any): any;
|
|
955
|
+
declare function Mh(...t: any[]): Oh;
|
|
956
|
+
declare function $h(...t: any[]): Oh;
|
|
952
957
|
/**
|
|
953
958
|
* @internal
|
|
954
|
-
*/ declare function
|
|
959
|
+
*/ declare function Aa(t: any): any;
|
|
955
960
|
/**
|
|
956
961
|
* Locally writes `mutations` on the async queue.
|
|
957
962
|
* @internal
|
|
958
|
-
*/ declare function
|
|
963
|
+
*/ declare function ol(t: any, e: any): Promise<any>;
|
|
959
964
|
/**
|
|
960
965
|
* @license
|
|
961
966
|
* Copyright 2020 Google LLC
|
|
@@ -1007,21 +1012,21 @@ declare function eh(...t: any[]): th;
|
|
|
1007
1012
|
* @returns A Promise resolved with a `DocumentSnapshot` containing the
|
|
1008
1013
|
* current document contents.
|
|
1009
1014
|
*/
|
|
1010
|
-
declare function
|
|
1015
|
+
declare function Wh(t: any): Promise<gh>;
|
|
1011
1016
|
/**
|
|
1012
1017
|
* Reads the document referred to by this `DocumentReference` from cache.
|
|
1013
1018
|
* Returns an error if the document is not currently cached.
|
|
1014
1019
|
*
|
|
1015
1020
|
* @returns A `Promise` resolved with a `DocumentSnapshot` containing the
|
|
1016
1021
|
* current document contents.
|
|
1017
|
-
*/ declare function
|
|
1022
|
+
*/ declare function Hh(t: any): Promise<gh>;
|
|
1018
1023
|
/**
|
|
1019
1024
|
* Reads the document referred to by this `DocumentReference` from the server.
|
|
1020
1025
|
* Returns an error if the network is not available.
|
|
1021
1026
|
*
|
|
1022
1027
|
* @returns A `Promise` resolved with a `DocumentSnapshot` containing the
|
|
1023
1028
|
* current document contents.
|
|
1024
|
-
*/ declare function
|
|
1029
|
+
*/ declare function Jh(t: any): Promise<gh>;
|
|
1025
1030
|
/**
|
|
1026
1031
|
* Executes the query and returns the results as a `QuerySnapshot`.
|
|
1027
1032
|
*
|
|
@@ -1031,19 +1036,19 @@ declare function fh(t: any): Promise<Ou>;
|
|
|
1031
1036
|
* invoke {@link getDocsFromCache} or {@link getDocsFromServer}.
|
|
1032
1037
|
*
|
|
1033
1038
|
* @returns A `Promise` that will be resolved with the results of the query.
|
|
1034
|
-
*/ declare function
|
|
1039
|
+
*/ declare function Yh(t: any): Promise<ph>;
|
|
1035
1040
|
/**
|
|
1036
1041
|
* Executes the query and returns the results as a `QuerySnapshot` from cache.
|
|
1037
1042
|
* Returns an error if the document is not currently cached.
|
|
1038
1043
|
*
|
|
1039
1044
|
* @returns A `Promise` that will be resolved with the results of the query.
|
|
1040
|
-
*/ declare function
|
|
1045
|
+
*/ declare function Xh(t: any): Promise<ph>;
|
|
1041
1046
|
/**
|
|
1042
1047
|
* Executes the query and returns the results as a `QuerySnapshot` from the
|
|
1043
1048
|
* server. Returns an error if the network is not available.
|
|
1044
1049
|
*
|
|
1045
1050
|
* @returns A `Promise` that will be resolved with the results of the query.
|
|
1046
|
-
*/ declare function
|
|
1051
|
+
*/ declare function Zh(t: any): Promise<ph>;
|
|
1047
1052
|
/**
|
|
1048
1053
|
* Returns the existing {@link Firestore} instance that is associated with the
|
|
1049
1054
|
* provided {@link @firebase/app#FirebaseApp}. If no instance exists, initializes a new
|
|
@@ -1052,7 +1057,7 @@ declare function fh(t: any): Promise<Ou>;
|
|
|
1052
1057
|
* @param app - The {@link @firebase/app#FirebaseApp} instance that the returned {@link Firestore}
|
|
1053
1058
|
* instance is associated with.
|
|
1054
1059
|
* @returns The {@link Firestore} instance of the provided app.
|
|
1055
|
-
*/ declare function
|
|
1060
|
+
*/ declare function Ta(e?: import("@firebase/app").FirebaseApp): import("../src").Firestore;
|
|
1056
1061
|
/**
|
|
1057
1062
|
* Returns a special value that can be used with {@link @firebase/firestore/lite#(setDoc:1)} or {@link
|
|
1058
1063
|
* @firebase/firestore/lite#(updateDoc:1)} that tells the server to increment the field's current value by
|
|
@@ -1071,7 +1076,7 @@ declare function fh(t: any): Promise<Ou>;
|
|
|
1071
1076
|
* @param n - The value to increment by.
|
|
1072
1077
|
* @returns The `FieldValue` sentinel for use in a call to `setDoc()` or
|
|
1073
1078
|
* `updateDoc()`
|
|
1074
|
-
*/ declare function
|
|
1079
|
+
*/ declare function _l(t: any): th;
|
|
1075
1080
|
/**
|
|
1076
1081
|
* Initializes a new instance of {@link Firestore} with the provided settings.
|
|
1077
1082
|
* Can only be called before any other function, including
|
|
@@ -1082,13 +1087,13 @@ declare function fh(t: any): Promise<Ou>;
|
|
|
1082
1087
|
* be associated.
|
|
1083
1088
|
* @param settings - A settings object to configure the {@link Firestore} instance.
|
|
1084
1089
|
* @returns A newly initialized {@link Firestore} instance.
|
|
1085
|
-
*/ declare function
|
|
1090
|
+
*/ declare function Ea(t: any, e: any): import("../src").Firestore;
|
|
1086
1091
|
/**
|
|
1087
1092
|
* Creates a {@link QueryConstraint} that only returns the first matching documents.
|
|
1088
1093
|
*
|
|
1089
1094
|
* @param limit - The maximum number of items to return.
|
|
1090
1095
|
* @returns The created {@link Query}.
|
|
1091
|
-
*/ declare function
|
|
1096
|
+
*/ declare function Dh(t: any): Sh;
|
|
1092
1097
|
/**
|
|
1093
1098
|
* Creates a {@link QueryConstraint} that only returns the last matching documents.
|
|
1094
1099
|
*
|
|
@@ -1097,7 +1102,7 @@ declare function fh(t: any): Promise<Ou>;
|
|
|
1097
1102
|
*
|
|
1098
1103
|
* @param limit - The maximum number of items to return.
|
|
1099
1104
|
* @returns The created {@link Query}.
|
|
1100
|
-
*/ declare function
|
|
1105
|
+
*/ declare function Ch(t: any): Sh;
|
|
1101
1106
|
/**
|
|
1102
1107
|
* Loads a Firestore bundle into the local cache.
|
|
1103
1108
|
*
|
|
@@ -1108,7 +1113,7 @@ declare function fh(t: any): Promise<Ou>;
|
|
|
1108
1113
|
* @returns A `LoadBundleTask` object, which notifies callers with progress
|
|
1109
1114
|
* updates, and completion or error events. It can be used as a
|
|
1110
1115
|
* `Promise<LoadBundleTaskProgress>`.
|
|
1111
|
-
*/ declare function
|
|
1116
|
+
*/ declare function Na(t: any, e: any): ya;
|
|
1112
1117
|
/**
|
|
1113
1118
|
* Reads a Firestore {@link Query} from local cache, identified by the given
|
|
1114
1119
|
* name.
|
|
@@ -1120,9 +1125,9 @@ declare function fh(t: any): Promise<Ou>;
|
|
|
1120
1125
|
* @param firestore - The {@link Firestore} instance to read the query from.
|
|
1121
1126
|
* @param name - The name of the query.
|
|
1122
1127
|
* @returns A `Promise` that is resolved with the Query or `null`.
|
|
1123
|
-
*/ declare function
|
|
1124
|
-
declare function
|
|
1125
|
-
declare function
|
|
1128
|
+
*/ declare function ka(t: any, e: any): any;
|
|
1129
|
+
declare function il(t: any, ...e: any[]): () => void;
|
|
1130
|
+
declare function rl(t: any, e: any): () => void;
|
|
1126
1131
|
/**
|
|
1127
1132
|
* Creates a {@link QueryConstraint} that sorts the query result by the
|
|
1128
1133
|
* specified field, optionally in descending order instead of ascending.
|
|
@@ -1131,7 +1136,7 @@ declare function Rh(t: any, e: any): () => void;
|
|
|
1131
1136
|
* @param directionStr - Optional direction to sort by ('asc' or 'desc'). If
|
|
1132
1137
|
* not specified, order will be ascending.
|
|
1133
1138
|
* @returns The created {@link Query}.
|
|
1134
|
-
*/ declare function
|
|
1139
|
+
*/ declare function vh(t: any, e?: string): Vh;
|
|
1135
1140
|
/**
|
|
1136
1141
|
* Creates a new immutable instance of {@link Query} that is extended to also include
|
|
1137
1142
|
* additional query constraints.
|
|
@@ -1140,7 +1145,7 @@ declare function Rh(t: any, e: any): () => void;
|
|
|
1140
1145
|
* @param queryConstraints - The list of {@link QueryConstraint}s to apply.
|
|
1141
1146
|
* @throws if any of the provided query constraints cannot be combined with the
|
|
1142
1147
|
* existing or new constraints.
|
|
1143
|
-
*/ declare function
|
|
1148
|
+
*/ declare function Rh(t: any, ...e: any[]): any;
|
|
1144
1149
|
/**
|
|
1145
1150
|
* Returns true if the provided queries point to the same collection and apply
|
|
1146
1151
|
* the same constraints.
|
|
@@ -1149,7 +1154,7 @@ declare function Rh(t: any, e: any): () => void;
|
|
|
1149
1154
|
* @param right - A `Query` to compare.
|
|
1150
1155
|
* @returns true if the references point to the same location in the same
|
|
1151
1156
|
* Firestore database.
|
|
1152
|
-
*/ declare function
|
|
1157
|
+
*/ declare function wa(t: any, e: any): boolean;
|
|
1153
1158
|
/**
|
|
1154
1159
|
* Returns true if the provided references are equal.
|
|
1155
1160
|
*
|
|
@@ -1157,7 +1162,7 @@ declare function Rh(t: any, e: any): () => void;
|
|
|
1157
1162
|
* @param right - A reference to compare.
|
|
1158
1163
|
* @returns true if the references point to the same location in the same
|
|
1159
1164
|
* Firestore database.
|
|
1160
|
-
*/ declare function
|
|
1165
|
+
*/ declare function _a(t: any, e: any): boolean;
|
|
1161
1166
|
/**
|
|
1162
1167
|
* Executes the given `updateFunction` and then attempts to commit the changes
|
|
1163
1168
|
* applied within the transaction. If any document read within the transaction
|
|
@@ -1174,12 +1179,12 @@ declare function Rh(t: any, e: any): () => void;
|
|
|
1174
1179
|
* (the `updateFunction` returned a failed promise), the promise returned by the
|
|
1175
1180
|
* `updateFunction `is returned here. Otherwise, if the transaction failed, a
|
|
1176
1181
|
* rejected promise with the corresponding failure error is returned.
|
|
1177
|
-
*/ declare function
|
|
1182
|
+
*/ declare function al(t: any, e: any): Promise<any>;
|
|
1178
1183
|
/**
|
|
1179
1184
|
* Returns a sentinel used with {@link @firebase/firestore/lite#(setDoc:1)} or {@link @firebase/firestore/lite#(updateDoc:1)} to
|
|
1180
1185
|
* include a server-generated timestamp in the written data.
|
|
1181
|
-
*/ declare function
|
|
1182
|
-
declare function
|
|
1186
|
+
*/ declare function ll(): Ya;
|
|
1187
|
+
declare function tl(t: any, e: any, n: any): Promise<any>;
|
|
1183
1188
|
/**
|
|
1184
1189
|
* Sets the verbosity of Cloud Firestore logs (debug, error, or silent).
|
|
1185
1190
|
*
|
|
@@ -1192,16 +1197,16 @@ declare function ph(t: any, e: any, n: any): Promise<any>;
|
|
|
1192
1197
|
* <li>`error` to log errors only.</li>
|
|
1193
1198
|
* <li><code>`silent` to turn off logging.</li>
|
|
1194
1199
|
* </ul>
|
|
1195
|
-
*/ declare function
|
|
1200
|
+
*/ declare function O(t: any): void;
|
|
1196
1201
|
/**
|
|
1197
1202
|
* Returns true if the provided snapshots are equal.
|
|
1198
1203
|
*
|
|
1199
1204
|
* @param left - A snapshot to compare.
|
|
1200
1205
|
* @param right - A snapshot to compare.
|
|
1201
1206
|
* @returns true if the snapshots are equal.
|
|
1202
|
-
*/ declare function
|
|
1203
|
-
declare function
|
|
1204
|
-
declare function
|
|
1207
|
+
*/ declare function Eh(t: any, e: any): any;
|
|
1208
|
+
declare function kh(...t: any[]): xh;
|
|
1209
|
+
declare function Nh(...t: any[]): xh;
|
|
1205
1210
|
/**
|
|
1206
1211
|
* Terminates the provided {@link Firestore} instance.
|
|
1207
1212
|
*
|
|
@@ -1223,8 +1228,8 @@ declare function Xu(...t: any[]): Yu;
|
|
|
1223
1228
|
*
|
|
1224
1229
|
* @returns A `Promise` that is resolved when the instance has been successfully
|
|
1225
1230
|
* terminated.
|
|
1226
|
-
*/ declare function
|
|
1227
|
-
declare function
|
|
1231
|
+
*/ declare function xa(t: any): any;
|
|
1232
|
+
declare function el(t: any, e: any, n: any, ...s: any[]): Promise<any>;
|
|
1228
1233
|
/**
|
|
1229
1234
|
* Waits until all currently pending writes for the active user have been
|
|
1230
1235
|
* acknowledged by the backend.
|
|
@@ -1240,7 +1245,7 @@ declare function Th(t: any, e: any, n: any, ...s: any[]): Promise<any>;
|
|
|
1240
1245
|
*
|
|
1241
1246
|
* @returns A `Promise` which resolves when all currently pending writes have been
|
|
1242
1247
|
* acknowledged by the backend.
|
|
1243
|
-
*/ declare function
|
|
1248
|
+
*/ declare function Sa(t: any): Promise<any>;
|
|
1244
1249
|
/**
|
|
1245
1250
|
* Creates a {@link QueryConstraint} that enforces that documents must contain the
|
|
1246
1251
|
* specified field and that the value should satisfy the relation constraint
|
|
@@ -1251,7 +1256,7 @@ declare function Th(t: any, e: any, n: any, ...s: any[]): Promise<any>;
|
|
|
1251
1256
|
* "<=", "!=").
|
|
1252
1257
|
* @param value - The value for comparison
|
|
1253
1258
|
* @returns The created {@link Query}.
|
|
1254
|
-
*/ declare function
|
|
1259
|
+
*/ declare function bh(t: any, e: any, n: any): Ph;
|
|
1255
1260
|
/**
|
|
1256
1261
|
* @license
|
|
1257
1262
|
* Copyright 2020 Google LLC
|
|
@@ -1278,7 +1283,7 @@ declare function Th(t: any, e: any, n: any, ...s: any[]): Promise<any>;
|
|
|
1278
1283
|
*
|
|
1279
1284
|
* @returns A {@link WriteBatch} that can be used to atomically execute multiple
|
|
1280
1285
|
* writes.
|
|
1281
|
-
*/ declare function
|
|
1286
|
+
*/ declare function wl(t: any): jh;
|
|
1282
1287
|
/**
|
|
1283
1288
|
* @license
|
|
1284
1289
|
* Copyright 2020 Google LLC
|
|
@@ -1303,7 +1308,7 @@ declare function Th(t: any, e: any, n: any, ...s: any[]): Promise<any>;
|
|
|
1303
1308
|
* For a `DocumentSnapshot` that points to a non-existing document, any data
|
|
1304
1309
|
* access will return 'undefined'. You can use the `exists()` method to
|
|
1305
1310
|
* explicitly verify a document's existence.
|
|
1306
|
-
*/ declare class
|
|
1311
|
+
*/ declare class dh {
|
|
1307
1312
|
/** @hideconstructor protected */
|
|
1308
1313
|
constructor(t: any, e: any, n: any, s: any, i: any);
|
|
1309
1314
|
_firestore: any;
|
|
@@ -1314,7 +1319,7 @@ declare function Th(t: any, e: any, n: any, ...s: any[]): Promise<any>;
|
|
|
1314
1319
|
/** Property of the `DocumentSnapshot` that provides the document's ID. */ get id(): any;
|
|
1315
1320
|
/**
|
|
1316
1321
|
* The `DocumentReference` for the document included in the `DocumentSnapshot`.
|
|
1317
|
-
*/ get ref():
|
|
1322
|
+
*/ get ref(): ua;
|
|
1318
1323
|
/**
|
|
1319
1324
|
* Signals whether or not the document at the snapshot's location exists.
|
|
1320
1325
|
*
|
|
@@ -1358,7 +1363,7 @@ declare function Th(t: any, e: any, n: any, ...s: any[]): Promise<any>;
|
|
|
1358
1363
|
* The Cloud Firestore service interface.
|
|
1359
1364
|
*
|
|
1360
1365
|
* Do not call this constructor directly. Instead, use {@link getFirestore}.
|
|
1361
|
-
*/ declare class
|
|
1366
|
+
*/ declare class oa {
|
|
1362
1367
|
/** @hideconstructor */
|
|
1363
1368
|
constructor(t: any, e: any, n: any);
|
|
1364
1369
|
_authCredentials: any;
|
|
@@ -1368,9 +1373,9 @@ declare function Th(t: any, e: any, n: any, ...s: any[]): Promise<any>;
|
|
|
1368
1373
|
*/
|
|
1369
1374
|
type: string;
|
|
1370
1375
|
_persistenceKey: string;
|
|
1371
|
-
_settings:
|
|
1376
|
+
_settings: ra;
|
|
1372
1377
|
_settingsFrozen: boolean;
|
|
1373
|
-
_databaseId:
|
|
1378
|
+
_databaseId: vt;
|
|
1374
1379
|
_app: any;
|
|
1375
1380
|
/**
|
|
1376
1381
|
* The {@link @firebase/app#FirebaseApp} associated with this `Firestore` service
|
|
@@ -1379,14 +1384,14 @@ declare function Th(t: any, e: any, n: any, ...s: any[]): Promise<any>;
|
|
|
1379
1384
|
get _initialized(): boolean;
|
|
1380
1385
|
get _terminated(): boolean;
|
|
1381
1386
|
_setSettings(t: any): void;
|
|
1382
|
-
_getSettings():
|
|
1383
|
-
_freezeSettings():
|
|
1387
|
+
_getSettings(): ra;
|
|
1388
|
+
_freezeSettings(): ra;
|
|
1384
1389
|
_delete(): Promise<void>;
|
|
1385
1390
|
_terminateTask: Promise<void> | undefined;
|
|
1386
1391
|
/** Returns a JSON-serializable representation of this `Firestore` instance. */ toJSON(): {
|
|
1387
1392
|
app: any;
|
|
1388
|
-
databaseId:
|
|
1389
|
-
settings:
|
|
1393
|
+
databaseId: vt;
|
|
1394
|
+
settings: ra;
|
|
1390
1395
|
};
|
|
1391
1396
|
/**
|
|
1392
1397
|
* Terminates all components used by this client. Subclasses can override
|
|
@@ -1411,17 +1416,17 @@ declare function Th(t: any, e: any, n: any, ...s: any[]): Promise<any>;
|
|
|
1411
1416
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
1412
1417
|
* See the License for the specific language governing permissions and
|
|
1413
1418
|
* limitations under the License.
|
|
1414
|
-
*/ declare class
|
|
1415
|
-
|
|
1416
|
-
|
|
1417
|
-
|
|
1418
|
-
|
|
1419
|
-
|
|
1420
|
-
|
|
1421
|
-
|
|
1422
|
-
|
|
1423
|
-
|
|
1424
|
-
|
|
1419
|
+
*/ declare class ma {
|
|
1420
|
+
Du: Promise<void>;
|
|
1421
|
+
Cu: any[];
|
|
1422
|
+
xu: boolean;
|
|
1423
|
+
Nu: any[];
|
|
1424
|
+
ku: any;
|
|
1425
|
+
Ou: boolean;
|
|
1426
|
+
$u: boolean;
|
|
1427
|
+
Mu: any[];
|
|
1428
|
+
Vo: Lo;
|
|
1429
|
+
Fu: () => void;
|
|
1425
1430
|
get isShuttingDown(): boolean;
|
|
1426
1431
|
/**
|
|
1427
1432
|
* Adds a new operation to the queue without waiting for it to complete (i.e.
|
|
@@ -1434,32 +1439,32 @@ declare function Th(t: any, e: any, n: any, ...s: any[]): Promise<any>;
|
|
|
1434
1439
|
/**
|
|
1435
1440
|
* Runs the next operation from the retryable queue. If the operation fails,
|
|
1436
1441
|
* reschedules with backoff.
|
|
1437
|
-
*/
|
|
1438
|
-
|
|
1439
|
-
enqueueAfterDelay(t: any, e: any, n: any):
|
|
1440
|
-
|
|
1442
|
+
*/ Uu(): Promise<void>;
|
|
1443
|
+
Lu(t: any): Promise<any>;
|
|
1444
|
+
enqueueAfterDelay(t: any, e: any, n: any): Ec;
|
|
1445
|
+
Bu(): void;
|
|
1441
1446
|
verifyOperationInProgress(): void;
|
|
1442
1447
|
/**
|
|
1443
1448
|
* Waits until all currently queued tasks are finished executing. Delayed
|
|
1444
1449
|
* operations are not run.
|
|
1445
|
-
*/
|
|
1450
|
+
*/ Ku(): Promise<void>;
|
|
1446
1451
|
/**
|
|
1447
1452
|
* For Tests: Determine if a delayed operation with a particular TimerId
|
|
1448
1453
|
* exists.
|
|
1449
|
-
*/
|
|
1454
|
+
*/ Gu(t: any): boolean;
|
|
1450
1455
|
/**
|
|
1451
1456
|
* For Tests: Runs some or all delayed operations early.
|
|
1452
1457
|
*
|
|
1453
1458
|
* @param lastTimerId - Delayed operations up to and including this TimerId
|
|
1454
1459
|
* will be drained. Pass TimerId.All to run all delayed operations.
|
|
1455
1460
|
* @returns a Promise that resolves once all operations have been run.
|
|
1456
|
-
*/
|
|
1461
|
+
*/ ju(t: any): Promise<void>;
|
|
1457
1462
|
/**
|
|
1458
1463
|
* For Tests: Skip all subsequent delays for a timer id.
|
|
1459
|
-
*/
|
|
1460
|
-
/** Called once a DelayedOperation is run or canceled. */
|
|
1464
|
+
*/ Qu(t: any): void;
|
|
1465
|
+
/** Called once a DelayedOperation is run or canceled. */ qu(t: any): void;
|
|
1461
1466
|
}
|
|
1462
|
-
import { FirebaseError as
|
|
1467
|
+
import { FirebaseError as u } from "@firebase/util/dist/src/errors";
|
|
1463
1468
|
/**
|
|
1464
1469
|
* @license
|
|
1465
1470
|
* Copyright 2017 Google LLC
|
|
@@ -1475,7 +1480,7 @@ import { FirebaseError as a } from "@firebase/util/dist/src/errors";
|
|
|
1475
1480
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
1476
1481
|
* See the License for the specific language governing permissions and
|
|
1477
1482
|
* limitations under the License.
|
|
1478
|
-
*/ declare class
|
|
1483
|
+
*/ declare class Q {
|
|
1479
1484
|
promise: Promise<any>;
|
|
1480
1485
|
resolve: (value: any) => void;
|
|
1481
1486
|
reject: (reason?: any) => void;
|
|
@@ -1483,12 +1488,12 @@ import { FirebaseError as a } from "@firebase/util/dist/src/errors";
|
|
|
1483
1488
|
/**
|
|
1484
1489
|
* Helper for parsing raw user input (provided via the API) into internal model
|
|
1485
1490
|
* classes.
|
|
1486
|
-
*/ declare class
|
|
1491
|
+
*/ declare class Qa {
|
|
1487
1492
|
constructor(t: any, e: any, n: any);
|
|
1488
1493
|
databaseId: any;
|
|
1489
1494
|
ignoreUndefinedProperties: any;
|
|
1490
|
-
|
|
1491
|
-
/** Creates a new top-level parse context. */
|
|
1495
|
+
O: any;
|
|
1496
|
+
/** Creates a new top-level parse context. */ ia(t: any, e: any, n: any, s?: boolean): ja;
|
|
1492
1497
|
}
|
|
1493
1498
|
declare class Z {
|
|
1494
1499
|
constructor(t: any);
|
|
@@ -1536,67 +1541,67 @@ declare class dt {
|
|
|
1536
1541
|
forEach(t: any): void;
|
|
1537
1542
|
toArray(): any;
|
|
1538
1543
|
}
|
|
1539
|
-
declare class
|
|
1544
|
+
declare class Za extends Ba {
|
|
1540
1545
|
constructor(t: any, e: any);
|
|
1541
|
-
|
|
1542
|
-
_toFieldTransform(t: any):
|
|
1546
|
+
ra: any;
|
|
1547
|
+
_toFieldTransform(t: any): cn;
|
|
1543
1548
|
isEqual(t: any): boolean;
|
|
1544
1549
|
}
|
|
1545
|
-
declare class
|
|
1550
|
+
declare class Xa extends Ba {
|
|
1546
1551
|
constructor(t: any, e: any);
|
|
1547
|
-
|
|
1548
|
-
_toFieldTransform(t: any):
|
|
1552
|
+
ra: any;
|
|
1553
|
+
_toFieldTransform(t: any): cn;
|
|
1549
1554
|
isEqual(t: any): boolean;
|
|
1550
1555
|
}
|
|
1551
|
-
declare class
|
|
1556
|
+
declare class Ha extends Ba {
|
|
1552
1557
|
_toFieldTransform(t: any): null;
|
|
1553
1558
|
isEqual(t: any): boolean;
|
|
1554
1559
|
}
|
|
1555
|
-
declare class
|
|
1560
|
+
declare class Oh extends Ah {
|
|
1556
1561
|
constructor(t: any, e: any, n: any);
|
|
1557
1562
|
type: any;
|
|
1558
|
-
|
|
1559
|
-
|
|
1560
|
-
_apply(t: any):
|
|
1563
|
+
da: any;
|
|
1564
|
+
_a: any;
|
|
1565
|
+
_apply(t: any): aa;
|
|
1561
1566
|
}
|
|
1562
|
-
declare class
|
|
1567
|
+
declare class th extends Ba {
|
|
1563
1568
|
constructor(t: any, e: any);
|
|
1564
|
-
|
|
1565
|
-
_toFieldTransform(t: any):
|
|
1569
|
+
oa: any;
|
|
1570
|
+
_toFieldTransform(t: any): cn;
|
|
1566
1571
|
isEqual(t: any): boolean;
|
|
1567
1572
|
}
|
|
1568
|
-
declare class
|
|
1573
|
+
declare class Sh extends Ah {
|
|
1569
1574
|
constructor(t: any, e: any, n: any);
|
|
1570
1575
|
type: any;
|
|
1571
|
-
|
|
1572
|
-
|
|
1573
|
-
_apply(t: any):
|
|
1576
|
+
la: any;
|
|
1577
|
+
fa: any;
|
|
1578
|
+
_apply(t: any): aa;
|
|
1574
1579
|
}
|
|
1575
|
-
declare class
|
|
1580
|
+
declare class Vh extends Ah {
|
|
1576
1581
|
constructor(t: any, e: any);
|
|
1577
|
-
|
|
1578
|
-
|
|
1582
|
+
ca: any;
|
|
1583
|
+
ha: any;
|
|
1579
1584
|
type: string;
|
|
1580
|
-
_apply(t: any):
|
|
1585
|
+
_apply(t: any): aa;
|
|
1581
1586
|
}
|
|
1582
|
-
declare class
|
|
1583
|
-
_toFieldTransform(t: any):
|
|
1587
|
+
declare class Ya extends Ba {
|
|
1588
|
+
_toFieldTransform(t: any): cn;
|
|
1584
1589
|
isEqual(t: any): boolean;
|
|
1585
1590
|
}
|
|
1586
|
-
declare class
|
|
1591
|
+
declare class xh extends Ah {
|
|
1587
1592
|
constructor(t: any, e: any, n: any);
|
|
1588
1593
|
type: any;
|
|
1589
|
-
|
|
1590
|
-
|
|
1591
|
-
_apply(t: any):
|
|
1594
|
+
da: any;
|
|
1595
|
+
_a: any;
|
|
1596
|
+
_apply(t: any): aa;
|
|
1592
1597
|
}
|
|
1593
|
-
declare class
|
|
1598
|
+
declare class Ph extends Ah {
|
|
1594
1599
|
constructor(t: any, e: any, n: any);
|
|
1595
|
-
|
|
1596
|
-
|
|
1597
|
-
|
|
1600
|
+
ca: any;
|
|
1601
|
+
ua: any;
|
|
1602
|
+
aa: any;
|
|
1598
1603
|
type: string;
|
|
1599
|
-
_apply(t: any):
|
|
1604
|
+
_apply(t: any): aa;
|
|
1600
1605
|
}
|
|
1601
1606
|
/**
|
|
1602
1607
|
* @license
|
|
@@ -1619,7 +1624,7 @@ declare class ju extends qu {
|
|
|
1619
1624
|
* user-supplied `FirestoreSettings` object. This is a separate type so that
|
|
1620
1625
|
* defaults can be supplied and the value can be checked for equality.
|
|
1621
1626
|
*/
|
|
1622
|
-
declare class
|
|
1627
|
+
declare class ra {
|
|
1623
1628
|
constructor(t: any);
|
|
1624
1629
|
host: any;
|
|
1625
1630
|
ssl: any;
|
|
@@ -1643,17 +1648,17 @@ declare class Ra {
|
|
|
1643
1648
|
* base delay. This prevents clients from accidentally synchronizing their
|
|
1644
1649
|
* delays causing spikes of load to the backend.
|
|
1645
1650
|
*/
|
|
1646
|
-
declare class
|
|
1651
|
+
declare class Lo {
|
|
1647
1652
|
constructor(t: any, e: any, n?: number, s?: number, i?: number);
|
|
1648
|
-
|
|
1653
|
+
Hn: any;
|
|
1649
1654
|
timerId: any;
|
|
1650
|
-
|
|
1651
|
-
|
|
1652
|
-
|
|
1653
|
-
|
|
1654
|
-
|
|
1655
|
+
ao: number;
|
|
1656
|
+
ho: number;
|
|
1657
|
+
lo: number;
|
|
1658
|
+
fo: number;
|
|
1659
|
+
_o: any;
|
|
1655
1660
|
/** The last backoff attempt, as epoch milliseconds. */
|
|
1656
|
-
|
|
1661
|
+
wo: number;
|
|
1657
1662
|
/**
|
|
1658
1663
|
* Resets the backoff delay.
|
|
1659
1664
|
*
|
|
@@ -1664,15 +1669,15 @@ declare class no {
|
|
|
1664
1669
|
/**
|
|
1665
1670
|
* Resets the backoff delay to the maximum delay (e.g. for use after a
|
|
1666
1671
|
* RESOURCE_EXHAUSTED error).
|
|
1667
|
-
*/
|
|
1672
|
+
*/ mo(): void;
|
|
1668
1673
|
/**
|
|
1669
1674
|
* Returns a promise that resolves after currentDelayMs, and increases the
|
|
1670
1675
|
* delay for any subsequent attempts. If there was a pending backoff operation
|
|
1671
1676
|
* already, it will be canceled.
|
|
1672
|
-
*/
|
|
1673
|
-
|
|
1677
|
+
*/ yo(t: any): void;
|
|
1678
|
+
Io(): void;
|
|
1674
1679
|
cancel(): void;
|
|
1675
|
-
/** Returns a random value in the range [-currentBaseMs/2, currentBaseMs/2] */
|
|
1680
|
+
/** Returns a random value in the range [-currentBaseMs/2, currentBaseMs/2] */ po(): number;
|
|
1676
1681
|
}
|
|
1677
1682
|
/**
|
|
1678
1683
|
* @license
|
|
@@ -1701,7 +1706,7 @@ declare class no {
|
|
|
1701
1706
|
* in newer versions of TypeScript defines `finally`, which is not available in
|
|
1702
1707
|
* IE.
|
|
1703
1708
|
*/
|
|
1704
|
-
declare class
|
|
1709
|
+
declare class Ec {
|
|
1705
1710
|
/**
|
|
1706
1711
|
* Creates and returns a DelayedOperation that has been scheduled to be
|
|
1707
1712
|
* executed on the provided asyncQueue after the provided delayMs.
|
|
@@ -1715,14 +1720,14 @@ declare class Fo {
|
|
|
1715
1720
|
* from its delayedOperations list.
|
|
1716
1721
|
* PORTING NOTE: This exists to prevent making removeDelayedOperation() and
|
|
1717
1722
|
* the DelayedOperation class public.
|
|
1718
|
-
*/ static createAndSchedule(t: any, e: any, n: any, s: any, i: any):
|
|
1723
|
+
*/ static createAndSchedule(t: any, e: any, n: any, s: any, i: any): Ec;
|
|
1719
1724
|
constructor(t: any, e: any, n: any, s: any, i: any);
|
|
1720
1725
|
asyncQueue: any;
|
|
1721
1726
|
timerId: any;
|
|
1722
1727
|
targetTimeMs: any;
|
|
1723
1728
|
op: any;
|
|
1724
1729
|
removalCallback: any;
|
|
1725
|
-
deferred:
|
|
1730
|
+
deferred: Q;
|
|
1726
1731
|
then: <TResult1 = any, TResult2 = never>(onfulfilled?: ((value: any) => TResult1 | PromiseLike<TResult1>) | null | undefined, onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | null | undefined) => Promise<TResult1 | TResult2>;
|
|
1727
1732
|
/**
|
|
1728
1733
|
* Starts the timer. This is called immediately after construction by
|
|
@@ -1743,7 +1748,7 @@ declare class Fo {
|
|
|
1743
1748
|
handleDelayElapsed(): void;
|
|
1744
1749
|
clearTimeout(): void;
|
|
1745
1750
|
}
|
|
1746
|
-
/** A "context" object passed around while parsing user data. */ declare class
|
|
1751
|
+
/** A "context" object passed around while parsing user data. */ declare class ja {
|
|
1747
1752
|
/**
|
|
1748
1753
|
* Initializes a ParseContext with the given source and path.
|
|
1749
1754
|
*
|
|
@@ -1765,20 +1770,20 @@ declare class Fo {
|
|
|
1765
1770
|
constructor(t: any, e: any, n: any, s: any, i: any, r: any);
|
|
1766
1771
|
settings: any;
|
|
1767
1772
|
databaseId: any;
|
|
1768
|
-
|
|
1773
|
+
O: any;
|
|
1769
1774
|
ignoreUndefinedProperties: any;
|
|
1770
1775
|
fieldTransforms: any;
|
|
1771
1776
|
fieldMask: any;
|
|
1772
1777
|
get path(): any;
|
|
1773
|
-
get
|
|
1774
|
-
/** Returns a new context with the specified settings overwritten. */
|
|
1775
|
-
|
|
1776
|
-
|
|
1777
|
-
|
|
1778
|
-
|
|
1778
|
+
get zu(): any;
|
|
1779
|
+
/** Returns a new context with the specified settings overwritten. */ Hu(t: any): ja;
|
|
1780
|
+
Ju(t: any): ja;
|
|
1781
|
+
Zu(t: any): ja;
|
|
1782
|
+
ta(t: any): ja;
|
|
1783
|
+
ea(t: any): j;
|
|
1779
1784
|
/** Returns 'true' if 'fieldPath' was traversed when creating this context. */ contains(t: any): boolean;
|
|
1780
|
-
|
|
1781
|
-
|
|
1785
|
+
Wu(): void;
|
|
1786
|
+
Xu(t: any): void;
|
|
1782
1787
|
}
|
|
1783
1788
|
/**
|
|
1784
1789
|
* @license
|
|
@@ -1796,9 +1801,9 @@ declare class Fo {
|
|
|
1796
1801
|
* See the License for the specific language governing permissions and
|
|
1797
1802
|
* limitations under the License.
|
|
1798
1803
|
*/
|
|
1799
|
-
/** A field path and the TransformOperation to perform upon it. */ declare class
|
|
1804
|
+
/** A field path and the TransformOperation to perform upon it. */ declare class cn {
|
|
1800
1805
|
constructor(t: any, e: any);
|
|
1801
1806
|
field: any;
|
|
1802
1807
|
transform: any;
|
|
1803
1808
|
}
|
|
1804
|
-
export {
|
|
1809
|
+
export { qh as AbstractUserDataWriter, Fa as Bytes, pa as CACHE_SIZE_UNLIMITED, ha as CollectionReference, ua as DocumentReference, gh as DocumentSnapshot, $a as FieldPath, Ba as FieldValue, Ia as Firestore, j as FirestoreError, La as GeoPoint, ya as LoadBundleTask, aa as Query, Ah as QueryConstraint, yh as QueryDocumentSnapshot, ph as QuerySnapshot, mh as SnapshotMetadata, ut as Timestamp, ul as Transaction, jh as WriteBatch, vt as _DatabaseId, xt as _DocumentKey, et as _EmptyAppCheckTokenProvider, z as _EmptyAuthCredentialsProvider, mt as _FieldPath, sa as _cast, q as _debugAssert, yt as _isBase64Available, F as _logWarn, ml as _setIndexConfiguration, Zu as _validateIsNotUsedTogether, sl as addDoc, dl as arrayRemove, fl as arrayUnion, va as clearIndexedDbPersistence, la as collection, fa as collectionGroup, ca as connectFirestoreEmulator, nl as deleteDoc, hl as deleteField, Ca as disableNetwork, da as doc, Ma as documentId, Pa as enableIndexedDbPersistence, ba as enableMultiTabIndexedDbPersistence, Da as enableNetwork, Mh as endAt, $h as endBefore, Aa as ensureFirestoreConfigured, ol as executeWrite, Wh as getDoc, Hh as getDocFromCache, Jh as getDocFromServer, Yh as getDocs, Xh as getDocsFromCache, Zh as getDocsFromServer, Ta as getFirestore, _l as increment, Ea as initializeFirestore, Dh as limit, Ch as limitToLast, Na as loadBundle, ka as namedQuery, il as onSnapshot, rl as onSnapshotsInSync, vh as orderBy, Rh as query, wa as queryEqual, _a as refEqual, al as runTransaction, ll as serverTimestamp, tl as setDoc, O as setLogLevel, Eh as snapshotEqual, kh as startAfter, Nh as startAt, xa as terminate, el as updateDoc, Sa as waitForPendingWrites, bh as where, wl as writeBatch };
|