summaryrefslogtreecommitdiff
path: root/frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit
diff options
context:
space:
mode:
authoraltaf-creator <dev@altafcreator.com>2025-11-09 11:15:19 +0800
committeraltaf-creator <dev@altafcreator.com>2025-11-09 11:15:19 +0800
commit8eff962cab608341a6f2fedc640a0e32d96f26e2 (patch)
tree05534d1a720ddc3691d346c69b4972555820a061 /frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit
pain
Diffstat (limited to 'frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit')
-rw-r--r--frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/api/aggregate.test.d.ts17
-rw-r--r--frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/api/bytes.test.d.ts17
-rw-r--r--frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/api/database.test.d.ts17
-rw-r--r--frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/api/document_change.test.d.ts17
-rw-r--r--frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/api/field_path.test.d.ts17
-rw-r--r--frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/api/field_value.test.d.ts17
-rw-r--r--frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/api/geo_point.test.d.ts17
-rw-r--r--frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/api/long_polling_options.test.d.ts17
-rw-r--r--frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/api/timestamp.test.d.ts17
-rw-r--r--frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/api/vector_value.test.d.ts17
-rw-r--r--frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/bootstrap.d.ts24
-rw-r--r--frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/core/event_manager.test.d.ts17
-rw-r--r--frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/core/filter.test.d.ts17
-rw-r--r--frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/core/listen_sequence.test.d.ts17
-rw-r--r--frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/core/query.test.d.ts17
-rw-r--r--frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/core/view.test.d.ts17
-rw-r--r--frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/core/webchannel_wrapper.test.d.ts17
-rw-r--r--frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/index/firestore_index_value_writer.test.d.ts1
-rw-r--r--frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/index/ordered_code_writer.test.d.ts1
-rw-r--r--frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/lite-api/types.test.d.ts1
-rw-r--r--frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/local/bundle_cache.test.d.ts17
-rw-r--r--frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/local/counting_query_engine.d.ts60
-rw-r--r--frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/local/document_overlay_cache.test.d.ts1
-rw-r--r--frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/local/encoded_resource_path.test.d.ts17
-rw-r--r--frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/local/globals_cache.test.d.ts17
-rw-r--r--frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/local/index_backfiller.test.d.ts17
-rw-r--r--frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/local/index_manager.test.d.ts17
-rw-r--r--frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/local/indexeddb_persistence.test.d.ts17
-rw-r--r--frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/local/local_serializer.test.d.ts17
-rw-r--r--frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/local/local_store.test.d.ts24
-rw-r--r--frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/local/local_store_indexeddb.test.d.ts17
-rw-r--r--frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/local/lru_garbage_collector.test.d.ts17
-rw-r--r--frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/local/mutation_queue.test.d.ts17
-rw-r--r--frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/local/persistence_promise.test.d.ts17
-rw-r--r--frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/local/persistence_test_helpers.d.ts67
-rw-r--r--frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/local/persistence_transaction.test.d.ts17
-rw-r--r--frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/local/query_engine.test.d.ts17
-rw-r--r--frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/local/reference_set.test.d.ts17
-rw-r--r--frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/local/remote_document_cache.test.d.ts17
-rw-r--r--frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/local/remote_document_change_buffer.test.d.ts17
-rw-r--r--frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/local/simple_db.test.d.ts17
-rw-r--r--frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/local/target_cache.test.d.ts17
-rw-r--r--frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/local/test_bundle_cache.d.ts32
-rw-r--r--frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/local/test_document_overlay_cache.d.ts39
-rw-r--r--frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/local/test_globals_cache.d.ts29
-rw-r--r--frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/local/test_index_manager.d.ts44
-rw-r--r--frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/local/test_mutation_queue.d.ts43
-rw-r--r--frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/local/test_remote_document_cache.d.ts54
-rw-r--r--frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/local/test_remote_document_change_buffer.d.ts34
-rw-r--r--frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/local/test_target_cache.d.ts46
-rw-r--r--frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/local/web_storage_shared_client_state.test.d.ts17
-rw-r--r--frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/model/document.test.d.ts17
-rw-r--r--frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/model/document_set.test.d.ts17
-rw-r--r--frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/model/field_index.test.d.ts17
-rw-r--r--frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/model/mutation.test.d.ts17
-rw-r--r--frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/model/object_value.test.d.ts17
-rw-r--r--frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/model/object_value_builder.test.d.ts17
-rw-r--r--frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/model/path.test.d.ts17
-rw-r--r--frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/model/target.test.d.ts17
-rw-r--r--frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/model/target_index_matcher.test.d.ts17
-rw-r--r--frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/model/values.test.d.ts17
-rw-r--r--frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/remote/bloom_filter.test.d.ts1
-rw-r--r--frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/remote/bloom_filter_golden_test_data/index.d.ts40
-rw-r--r--frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/remote/datastore.test.d.ts17
-rw-r--r--frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/remote/fetch_connection.test.d.ts17
-rw-r--r--frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/remote/remote_event.test.d.ts17
-rw-r--r--frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/remote/rest_connection.test.d.ts28
-rw-r--r--frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/remote/serializer.browser.test.d.ts17
-rw-r--r--frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/remote/serializer.helper.d.ts25
-rw-r--r--frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/remote/serializer.node.test.d.ts21
-rw-r--r--frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/specs/bundle_spec.test.d.ts36
-rw-r--r--frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/specs/collection_spec.test.d.ts17
-rw-r--r--frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/specs/describe_spec.d.ts44
-rw-r--r--frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/specs/existence_filter_spec.test.d.ts17
-rw-r--r--frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/specs/garbage_collection_spec.test.d.ts17
-rw-r--r--frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/specs/index_spec.test.d.ts17
-rw-r--r--frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/specs/limbo_spec.test.d.ts17
-rw-r--r--frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/specs/limit_spec.test.d.ts17
-rw-r--r--frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/specs/listen_source_spec.test.d.ts17
-rw-r--r--frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/specs/listen_spec.test.d.ts17
-rw-r--r--frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/specs/offline_spec.test.d.ts17
-rw-r--r--frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/specs/orderby_spec.test.d.ts17
-rw-r--r--frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/specs/perf_spec.test.d.ts17
-rw-r--r--frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/specs/persistence_spec.test.d.ts17
-rw-r--r--frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/specs/query_spec.test.d.ts17
-rw-r--r--frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/specs/recovery_spec.test.d.ts17
-rw-r--r--frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/specs/remote_store_spec.test.d.ts17
-rw-r--r--frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/specs/resume_token_spec.test.d.ts17
-rw-r--r--frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/specs/spec_builder.d.ts287
-rw-r--r--frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/specs/spec_rpc_error.d.ts24
-rw-r--r--frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/specs/spec_test_components.d.ts156
-rw-r--r--frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/specs/spec_test_runner.d.ts323
-rw-r--r--frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/specs/write_spec.test.d.ts17
-rw-r--r--frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/util/array.test.d.ts17
-rw-r--r--frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/util/assert.test.d.ts17
-rw-r--r--frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/util/async_queue.test.d.ts17
-rw-r--r--frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/util/base64.test.d.ts17
-rw-r--r--frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/util/bundle.test.d.ts8
-rw-r--r--frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/util/bundle_data.d.ts50
-rw-r--r--frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/util/logic_utils.test.d.ts17
-rw-r--r--frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/util/misc.test.d.ts17
-rw-r--r--frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/util/node_api.test.d.ts17
-rw-r--r--frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/util/obj_map.test.d.ts17
-rw-r--r--frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/util/sorted_map.test.d.ts17
-rw-r--r--frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/util/sorted_set.test.d.ts17
105 files changed, 2835 insertions, 0 deletions
diff --git a/frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/api/aggregate.test.d.ts b/frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/api/aggregate.test.d.ts
new file mode 100644
index 0000000..9b0c1ff
--- /dev/null
+++ b/frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/api/aggregate.test.d.ts
@@ -0,0 +1,17 @@
+/**
+ * @license
+ * Copyright 2022 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+export {};
diff --git a/frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/api/bytes.test.d.ts b/frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/api/bytes.test.d.ts
new file mode 100644
index 0000000..9444bf8
--- /dev/null
+++ b/frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/api/bytes.test.d.ts
@@ -0,0 +1,17 @@
+/**
+ * @license
+ * Copyright 2017 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+export {};
diff --git a/frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/api/database.test.d.ts b/frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/api/database.test.d.ts
new file mode 100644
index 0000000..9444bf8
--- /dev/null
+++ b/frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/api/database.test.d.ts
@@ -0,0 +1,17 @@
+/**
+ * @license
+ * Copyright 2017 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+export {};
diff --git a/frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/api/document_change.test.d.ts b/frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/api/document_change.test.d.ts
new file mode 100644
index 0000000..9444bf8
--- /dev/null
+++ b/frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/api/document_change.test.d.ts
@@ -0,0 +1,17 @@
+/**
+ * @license
+ * Copyright 2017 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+export {};
diff --git a/frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/api/field_path.test.d.ts b/frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/api/field_path.test.d.ts
new file mode 100644
index 0000000..9444bf8
--- /dev/null
+++ b/frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/api/field_path.test.d.ts
@@ -0,0 +1,17 @@
+/**
+ * @license
+ * Copyright 2017 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+export {};
diff --git a/frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/api/field_value.test.d.ts b/frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/api/field_value.test.d.ts
new file mode 100644
index 0000000..9444bf8
--- /dev/null
+++ b/frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/api/field_value.test.d.ts
@@ -0,0 +1,17 @@
+/**
+ * @license
+ * Copyright 2017 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+export {};
diff --git a/frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/api/geo_point.test.d.ts b/frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/api/geo_point.test.d.ts
new file mode 100644
index 0000000..9444bf8
--- /dev/null
+++ b/frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/api/geo_point.test.d.ts
@@ -0,0 +1,17 @@
+/**
+ * @license
+ * Copyright 2017 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+export {};
diff --git a/frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/api/long_polling_options.test.d.ts b/frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/api/long_polling_options.test.d.ts
new file mode 100644
index 0000000..615869e
--- /dev/null
+++ b/frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/api/long_polling_options.test.d.ts
@@ -0,0 +1,17 @@
+/**
+ * @license
+ * Copyright 2023 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+export {};
diff --git a/frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/api/timestamp.test.d.ts b/frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/api/timestamp.test.d.ts
new file mode 100644
index 0000000..9444bf8
--- /dev/null
+++ b/frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/api/timestamp.test.d.ts
@@ -0,0 +1,17 @@
+/**
+ * @license
+ * Copyright 2017 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+export {};
diff --git a/frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/api/vector_value.test.d.ts b/frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/api/vector_value.test.d.ts
new file mode 100644
index 0000000..1a6762b
--- /dev/null
+++ b/frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/api/vector_value.test.d.ts
@@ -0,0 +1,17 @@
+/**
+ * @license
+ * Copyright 2025 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+export {};
diff --git a/frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/bootstrap.d.ts b/frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/bootstrap.d.ts
new file mode 100644
index 0000000..6a6eae7
--- /dev/null
+++ b/frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/bootstrap.d.ts
@@ -0,0 +1,24 @@
+/**
+ * @license
+ * Copyright 2017 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+/**
+ * This will include all of the test files and compile them as needed
+ *
+ * Taken from karma-webpack source:
+ * https://github.com/webpack-contrib/karma-webpack#alternative-usage
+ */
+declare const testsContext: any;
+declare const browserTests: any;
diff --git a/frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/core/event_manager.test.d.ts b/frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/core/event_manager.test.d.ts
new file mode 100644
index 0000000..9444bf8
--- /dev/null
+++ b/frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/core/event_manager.test.d.ts
@@ -0,0 +1,17 @@
+/**
+ * @license
+ * Copyright 2017 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+export {};
diff --git a/frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/core/filter.test.d.ts b/frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/core/filter.test.d.ts
new file mode 100644
index 0000000..9b0c1ff
--- /dev/null
+++ b/frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/core/filter.test.d.ts
@@ -0,0 +1,17 @@
+/**
+ * @license
+ * Copyright 2022 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+export {};
diff --git a/frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/core/listen_sequence.test.d.ts b/frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/core/listen_sequence.test.d.ts
new file mode 100644
index 0000000..c53048a
--- /dev/null
+++ b/frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/core/listen_sequence.test.d.ts
@@ -0,0 +1,17 @@
+/**
+ * @license
+ * Copyright 2018 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+export {};
diff --git a/frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/core/query.test.d.ts b/frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/core/query.test.d.ts
new file mode 100644
index 0000000..9444bf8
--- /dev/null
+++ b/frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/core/query.test.d.ts
@@ -0,0 +1,17 @@
+/**
+ * @license
+ * Copyright 2017 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+export {};
diff --git a/frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/core/view.test.d.ts b/frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/core/view.test.d.ts
new file mode 100644
index 0000000..9444bf8
--- /dev/null
+++ b/frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/core/view.test.d.ts
@@ -0,0 +1,17 @@
+/**
+ * @license
+ * Copyright 2017 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+export {};
diff --git a/frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/core/webchannel_wrapper.test.d.ts b/frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/core/webchannel_wrapper.test.d.ts
new file mode 100644
index 0000000..9b0c1ff
--- /dev/null
+++ b/frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/core/webchannel_wrapper.test.d.ts
@@ -0,0 +1,17 @@
+/**
+ * @license
+ * Copyright 2022 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+export {};
diff --git a/frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/index/firestore_index_value_writer.test.d.ts b/frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/index/firestore_index_value_writer.test.d.ts
new file mode 100644
index 0000000..cb0ff5c
--- /dev/null
+++ b/frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/index/firestore_index_value_writer.test.d.ts
@@ -0,0 +1 @@
+export {};
diff --git a/frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/index/ordered_code_writer.test.d.ts b/frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/index/ordered_code_writer.test.d.ts
new file mode 100644
index 0000000..23f261f
--- /dev/null
+++ b/frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/index/ordered_code_writer.test.d.ts
@@ -0,0 +1 @@
+export declare function compare(left: Uint8Array, right: Uint8Array): number;
diff --git a/frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/lite-api/types.test.d.ts b/frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/lite-api/types.test.d.ts
new file mode 100644
index 0000000..cb0ff5c
--- /dev/null
+++ b/frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/lite-api/types.test.d.ts
@@ -0,0 +1 @@
+export {};
diff --git a/frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/local/bundle_cache.test.d.ts b/frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/local/bundle_cache.test.d.ts
new file mode 100644
index 0000000..731d2d9
--- /dev/null
+++ b/frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/local/bundle_cache.test.d.ts
@@ -0,0 +1,17 @@
+/**
+ * @license
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+export {};
diff --git a/frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/local/counting_query_engine.d.ts b/frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/local/counting_query_engine.d.ts
new file mode 100644
index 0000000..f2f4574
--- /dev/null
+++ b/frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/local/counting_query_engine.d.ts
@@ -0,0 +1,60 @@
+/**
+ * @license
+ * Copyright 2019 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+import { Query } from '../../../src/core/query';
+import { SnapshotVersion } from '../../../src/core/snapshot_version';
+import { IndexManager } from '../../../src/local/index_manager';
+import { LocalDocumentsView } from '../../../src/local/local_documents_view';
+import { PersistencePromise } from '../../../src/local/persistence_promise';
+import { PersistenceTransaction } from '../../../src/local/persistence_transaction';
+import { QueryEngine } from '../../../src/local/query_engine';
+import { DocumentKeySet, DocumentMap } from '../../../src/model/collections';
+import { MutationType } from '../../../src/model/mutation';
+/**
+ * A test-only query engine that forwards all API calls and exposes the number
+ * of documents and mutations read.
+ */
+export declare class CountingQueryEngine extends QueryEngine {
+ /**
+ * The number of overlays returned by the DocumentOverlayCache's
+ * `getOverlaysByCollection(Group)` API (since the last call to
+ * `resetCounts()`)
+ */
+ overlaysReadByCollection: number;
+ /**
+ * The number of overlays returned by the DocumentOverlayCache's
+ * `getOverlay(s)` APIs (since the last call to `resetCounts()`)
+ */
+ overlaysReadByKey: number;
+ overlayTypes: {
+ [k: string]: MutationType;
+ };
+ /**
+ * The number of documents returned by the RemoteDocumentCache's
+ * `getAll()` API (since the last call to `resetCounts()`).
+ */
+ documentsReadByCollection: number;
+ /**
+ * The number of documents returned by the RemoteDocumentCache's `getEntry()`
+ * and `getEntries()` APIs (since the last call to `resetCounts()`)
+ */
+ documentsReadByKey: number;
+ resetCounts(): void;
+ getDocumentsMatchingQuery(transaction: PersistenceTransaction, query: Query, lastLimboFreeSnapshotVersion: SnapshotVersion, remoteKeys: DocumentKeySet): PersistencePromise<DocumentMap>;
+ initialize(localDocuments: LocalDocumentsView, indexManager: IndexManager): void;
+ private wrapRemoteDocumentCache;
+ private wrapOverlayCache;
+}
diff --git a/frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/local/document_overlay_cache.test.d.ts b/frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/local/document_overlay_cache.test.d.ts
new file mode 100644
index 0000000..cb0ff5c
--- /dev/null
+++ b/frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/local/document_overlay_cache.test.d.ts
@@ -0,0 +1 @@
+export {};
diff --git a/frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/local/encoded_resource_path.test.d.ts b/frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/local/encoded_resource_path.test.d.ts
new file mode 100644
index 0000000..9444bf8
--- /dev/null
+++ b/frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/local/encoded_resource_path.test.d.ts
@@ -0,0 +1,17 @@
+/**
+ * @license
+ * Copyright 2017 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+export {};
diff --git a/frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/local/globals_cache.test.d.ts b/frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/local/globals_cache.test.d.ts
new file mode 100644
index 0000000..88c3c0e
--- /dev/null
+++ b/frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/local/globals_cache.test.d.ts
@@ -0,0 +1,17 @@
+/**
+ * @license
+ * Copyright 2024 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+export {};
diff --git a/frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/local/index_backfiller.test.d.ts b/frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/local/index_backfiller.test.d.ts
new file mode 100644
index 0000000..9b0c1ff
--- /dev/null
+++ b/frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/local/index_backfiller.test.d.ts
@@ -0,0 +1,17 @@
+/**
+ * @license
+ * Copyright 2022 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+export {};
diff --git a/frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/local/index_manager.test.d.ts b/frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/local/index_manager.test.d.ts
new file mode 100644
index 0000000..1c93d90
--- /dev/null
+++ b/frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/local/index_manager.test.d.ts
@@ -0,0 +1,17 @@
+/**
+ * @license
+ * Copyright 2019 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+export {};
diff --git a/frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/local/indexeddb_persistence.test.d.ts b/frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/local/indexeddb_persistence.test.d.ts
new file mode 100644
index 0000000..c53048a
--- /dev/null
+++ b/frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/local/indexeddb_persistence.test.d.ts
@@ -0,0 +1,17 @@
+/**
+ * @license
+ * Copyright 2018 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+export {};
diff --git a/frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/local/local_serializer.test.d.ts b/frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/local/local_serializer.test.d.ts
new file mode 100644
index 0000000..731d2d9
--- /dev/null
+++ b/frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/local/local_serializer.test.d.ts
@@ -0,0 +1,17 @@
+/**
+ * @license
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+export {};
diff --git a/frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/local/local_store.test.d.ts b/frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/local/local_store.test.d.ts
new file mode 100644
index 0000000..2ec9c10
--- /dev/null
+++ b/frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/local/local_store.test.d.ts
@@ -0,0 +1,24 @@
+/**
+ * @license
+ * Copyright 2017 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+import { LocalStore } from '../../../src/local/local_store';
+import { Persistence } from '../../../src/local/persistence';
+import { CountingQueryEngine } from './counting_query_engine';
+export interface LocalStoreComponents {
+ queryEngine: CountingQueryEngine;
+ persistence: Persistence;
+ localStore: LocalStore;
+}
diff --git a/frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/local/local_store_indexeddb.test.d.ts b/frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/local/local_store_indexeddb.test.d.ts
new file mode 100644
index 0000000..9b0c1ff
--- /dev/null
+++ b/frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/local/local_store_indexeddb.test.d.ts
@@ -0,0 +1,17 @@
+/**
+ * @license
+ * Copyright 2022 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+export {};
diff --git a/frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/local/lru_garbage_collector.test.d.ts b/frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/local/lru_garbage_collector.test.d.ts
new file mode 100644
index 0000000..c53048a
--- /dev/null
+++ b/frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/local/lru_garbage_collector.test.d.ts
@@ -0,0 +1,17 @@
+/**
+ * @license
+ * Copyright 2018 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+export {};
diff --git a/frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/local/mutation_queue.test.d.ts b/frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/local/mutation_queue.test.d.ts
new file mode 100644
index 0000000..9444bf8
--- /dev/null
+++ b/frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/local/mutation_queue.test.d.ts
@@ -0,0 +1,17 @@
+/**
+ * @license
+ * Copyright 2017 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+export {};
diff --git a/frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/local/persistence_promise.test.d.ts b/frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/local/persistence_promise.test.d.ts
new file mode 100644
index 0000000..9444bf8
--- /dev/null
+++ b/frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/local/persistence_promise.test.d.ts
@@ -0,0 +1,17 @@
+/**
+ * @license
+ * Copyright 2017 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+export {};
diff --git a/frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/local/persistence_test_helpers.d.ts b/frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/local/persistence_test_helpers.d.ts
new file mode 100644
index 0000000..bb4c627
--- /dev/null
+++ b/frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/local/persistence_test_helpers.d.ts
@@ -0,0 +1,67 @@
+/**
+ * @license
+ * Copyright 2017 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+import { User } from '../../../src/auth/user';
+import { DatabaseId } from '../../../src/core/database_info';
+import { SequenceNumberSyncer } from '../../../src/core/listen_sequence';
+import { BatchId, TargetId } from '../../../src/core/types';
+import { IndexedDbPersistence } from '../../../src/local/indexeddb_persistence';
+import { LocalSerializer } from '../../../src/local/local_serializer';
+import { LruParams } from '../../../src/local/lru_garbage_collector';
+import { MemoryPersistence } from '../../../src/local/memory_persistence';
+import { ClientId } from '../../../src/local/shared_client_state';
+import { JsonProtoSerializer } from '../../../src/remote/serializer';
+import { AsyncQueue } from '../../../src/util/async_queue';
+import { WindowLike } from '../../../src/util/types';
+export declare const MOCK_SEQUENCE_NUMBER_SYNCER: SequenceNumberSyncer;
+/** The Database ID used by most tests that use a serializer. */
+export declare const TEST_PROJECT = "test-project";
+export declare const TEST_DATABASE_ID: DatabaseId;
+export declare const TEST_PERSISTENCE_KEY = "[PersistenceTestHelpers]";
+export declare const TEST_APP_ID = "test-app-id";
+/** The persistence prefix used for testing in IndexedBD and LocalStorage. */
+export declare const TEST_PERSISTENCE_PREFIX: string;
+/**
+ * The database name used by tests that access IndexedDb. To be used in
+ * conjunction with `TEST_DATABASE_INFO` and
+ * `TEST_DATABASE_ID`.
+ */
+export declare const INDEXEDDB_TEST_DATABASE_NAME: string;
+export declare const JSON_SERIALIZER: JsonProtoSerializer;
+/**
+ * IndexedDb serializer that uses `TEST_DATABASE_ID` as its database
+ * id.
+ */
+export declare const TEST_SERIALIZER: LocalSerializer;
+/**
+ * Creates and starts an IndexedDbPersistence instance for testing, destroying
+ * any previous contents if they existed.
+ */
+export declare function testIndexedDbPersistence(options?: {
+ dontPurgeData?: boolean;
+ synchronizeTabs?: boolean;
+ queue?: AsyncQueue;
+ schemaVersion?: number;
+}, lruParams?: LruParams): Promise<IndexedDbPersistence>;
+/** Creates and starts a MemoryPersistence instance for testing. */
+export declare function testMemoryEagerPersistence(): Promise<MemoryPersistence>;
+export declare function testMemoryLruPersistence(params?: LruParams): Promise<MemoryPersistence>;
+/** Clears the persistence in tests */
+export declare function clearTestPersistence(): Promise<void>;
+/**
+ * Populates Web Storage with instance data from a preexisting client.
+ */
+export declare function populateWebStorage(user: User, window: WindowLike, existingClientId: ClientId, existingMutationBatchIds: BatchId[], existingQueryTargetIds: TargetId[]): Promise<void>;
diff --git a/frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/local/persistence_transaction.test.d.ts b/frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/local/persistence_transaction.test.d.ts
new file mode 100644
index 0000000..1c93d90
--- /dev/null
+++ b/frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/local/persistence_transaction.test.d.ts
@@ -0,0 +1,17 @@
+/**
+ * @license
+ * Copyright 2019 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+export {};
diff --git a/frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/local/query_engine.test.d.ts b/frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/local/query_engine.test.d.ts
new file mode 100644
index 0000000..1c93d90
--- /dev/null
+++ b/frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/local/query_engine.test.d.ts
@@ -0,0 +1,17 @@
+/**
+ * @license
+ * Copyright 2019 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+export {};
diff --git a/frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/local/reference_set.test.d.ts b/frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/local/reference_set.test.d.ts
new file mode 100644
index 0000000..9444bf8
--- /dev/null
+++ b/frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/local/reference_set.test.d.ts
@@ -0,0 +1,17 @@
+/**
+ * @license
+ * Copyright 2017 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+export {};
diff --git a/frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/local/remote_document_cache.test.d.ts b/frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/local/remote_document_cache.test.d.ts
new file mode 100644
index 0000000..9444bf8
--- /dev/null
+++ b/frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/local/remote_document_cache.test.d.ts
@@ -0,0 +1,17 @@
+/**
+ * @license
+ * Copyright 2017 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+export {};
diff --git a/frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/local/remote_document_change_buffer.test.d.ts b/frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/local/remote_document_change_buffer.test.d.ts
new file mode 100644
index 0000000..9444bf8
--- /dev/null
+++ b/frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/local/remote_document_change_buffer.test.d.ts
@@ -0,0 +1,17 @@
+/**
+ * @license
+ * Copyright 2017 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+export {};
diff --git a/frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/local/simple_db.test.d.ts b/frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/local/simple_db.test.d.ts
new file mode 100644
index 0000000..9444bf8
--- /dev/null
+++ b/frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/local/simple_db.test.d.ts
@@ -0,0 +1,17 @@
+/**
+ * @license
+ * Copyright 2017 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+export {};
diff --git a/frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/local/target_cache.test.d.ts b/frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/local/target_cache.test.d.ts
new file mode 100644
index 0000000..9444bf8
--- /dev/null
+++ b/frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/local/target_cache.test.d.ts
@@ -0,0 +1,17 @@
+/**
+ * @license
+ * Copyright 2017 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+export {};
diff --git a/frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/local/test_bundle_cache.d.ts b/frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/local/test_bundle_cache.d.ts
new file mode 100644
index 0000000..faff4b4
--- /dev/null
+++ b/frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/local/test_bundle_cache.d.ts
@@ -0,0 +1,32 @@
+/**
+ * @license
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+import { BundleMetadata, NamedQuery } from '../../../src/core/bundle';
+import { Persistence } from '../../../src/local/persistence';
+import { NamedQuery as ProtoNamedQuery, BundleMetadata as ProtoBundleMetadata } from '../../../src/protos/firestore_bundle_proto';
+/**
+ * A wrapper around a BundleCache that automatically creates a
+ * transaction around every operation to reduce test boilerplate.
+ */
+export declare class TestBundleCache {
+ private readonly persistence;
+ private readonly cache;
+ constructor(persistence: Persistence);
+ getBundleMetadata(bundleId: string): Promise<BundleMetadata | undefined>;
+ saveBundleMetadata(metadata: ProtoBundleMetadata): Promise<void>;
+ getNamedQuery(name: string): Promise<NamedQuery | undefined>;
+ setNamedQuery(query: ProtoNamedQuery): Promise<void>;
+}
diff --git a/frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/local/test_document_overlay_cache.d.ts b/frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/local/test_document_overlay_cache.d.ts
new file mode 100644
index 0000000..c0d0c66
--- /dev/null
+++ b/frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/local/test_document_overlay_cache.d.ts
@@ -0,0 +1,39 @@
+/**
+ * @license
+ * Copyright 2022 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+import { DocumentOverlayCache } from '../../../src/local/document_overlay_cache';
+import { Persistence } from '../../../src/local/persistence';
+import { DocumentKeySet, MutationMap, OverlayMap } from '../../../src/model/collections';
+import { DocumentKey } from '../../../src/model/document_key';
+import { Mutation } from '../../../src/model/mutation';
+import { Overlay } from '../../../src/model/overlay';
+import { ResourcePath } from '../../../src/model/path';
+/**
+ * A wrapper around a DocumentOverlayCache that automatically creates a
+ * transaction around every operation to reduce test boilerplate.
+ */
+export declare class TestDocumentOverlayCache {
+ private persistence;
+ private cache;
+ constructor(persistence: Persistence, cache: DocumentOverlayCache);
+ saveOverlays(largestBatch: number, data: MutationMap): Promise<void>;
+ getOverlay(key: DocumentKey): Promise<Overlay | null>;
+ getOverlays(keys: DocumentKey[]): Promise<OverlayMap>;
+ getOverlayMutation(docKey: string): Promise<Mutation | null>;
+ getOverlaysForCollection(path: ResourcePath, sinceBatchId: number): Promise<OverlayMap>;
+ getOverlaysForCollectionGroup(collectionGroup: string, sinceBatchId: number, count: number): Promise<OverlayMap>;
+ removeOverlaysForBatchId(documentKeys: DocumentKeySet, batchId: number): Promise<void>;
+}
diff --git a/frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/local/test_globals_cache.d.ts b/frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/local/test_globals_cache.d.ts
new file mode 100644
index 0000000..7388b22
--- /dev/null
+++ b/frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/local/test_globals_cache.d.ts
@@ -0,0 +1,29 @@
+/**
+ * @license
+ * Copyright 2024 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+import { Persistence } from '../../../src/local/persistence';
+import { ByteString } from '../../../src/util/byte_string';
+/**
+ * A wrapper around a GlobalsCache that automatically creates a
+ * transaction around every operation to reduce test boilerplate.
+ */
+export declare class TestGlobalsCache {
+ private readonly persistence;
+ private readonly cache;
+ constructor(persistence: Persistence);
+ getSessionToken(): Promise<ByteString>;
+ setSessionToken(sessionToken: ByteString): Promise<void>;
+}
diff --git a/frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/local/test_index_manager.d.ts b/frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/local/test_index_manager.d.ts
new file mode 100644
index 0000000..9cd64e1
--- /dev/null
+++ b/frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/local/test_index_manager.d.ts
@@ -0,0 +1,44 @@
+/**
+ * @license
+ * Copyright 2019 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+import { Target } from '../../../src/core/target';
+import { IndexManager, IndexType } from '../../../src/local/index_manager';
+import { Persistence } from '../../../src/local/persistence';
+import { DocumentMap } from '../../../src/model/collections';
+import { DocumentKey } from '../../../src/model/document_key';
+import { FieldIndex, IndexOffset } from '../../../src/model/field_index';
+import { ResourcePath } from '../../../src/model/path';
+/**
+ * A wrapper around IndexManager that automatically creates a
+ * transaction around every operation to reduce test boilerplate.
+ */
+export declare class TestIndexManager {
+ persistence: Persistence;
+ indexManager: IndexManager;
+ constructor(persistence: Persistence, indexManager: IndexManager);
+ addToCollectionParentIndex(collectionPath: ResourcePath): Promise<void>;
+ getCollectionParents(collectionId: string): Promise<ResourcePath[]>;
+ addFieldIndex(index: FieldIndex): Promise<void>;
+ deleteFieldIndex(index: FieldIndex): Promise<void>;
+ createTargetIndexes(target: Target): Promise<void>;
+ deleteAllFieldIndexes(): Promise<void>;
+ getFieldIndexes(collectionGroup?: string): Promise<FieldIndex[]>;
+ getIndexType(target: Target): Promise<IndexType>;
+ getDocumentsMatchingTarget(target: Target): Promise<DocumentKey[] | null>;
+ getNextCollectionGroupToUpdate(): Promise<string | null>;
+ updateCollectionGroup(collectionGroup: string, offset: IndexOffset): Promise<void>;
+ updateIndexEntries(documents: DocumentMap): Promise<void>;
+}
diff --git a/frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/local/test_mutation_queue.d.ts b/frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/local/test_mutation_queue.d.ts
new file mode 100644
index 0000000..56dae50
--- /dev/null
+++ b/frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/local/test_mutation_queue.d.ts
@@ -0,0 +1,43 @@
+/**
+ * @license
+ * Copyright 2017 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+import { Query } from '../../../src/core/query';
+import { BatchId } from '../../../src/core/types';
+import { MutationQueue } from '../../../src/local/mutation_queue';
+import { Persistence } from '../../../src/local/persistence';
+import { DocumentKeySet } from '../../../src/model/collections';
+import { DocumentKey } from '../../../src/model/document_key';
+import { Mutation } from '../../../src/model/mutation';
+import { MutationBatch } from '../../../src/model/mutation_batch';
+/**
+ * A wrapper around a MutationQueue that automatically creates a
+ * transaction around every operation to reduce test boilerplate.
+ */
+export declare class TestMutationQueue {
+ persistence: Persistence;
+ queue: MutationQueue;
+ constructor(persistence: Persistence, queue: MutationQueue);
+ checkEmpty(): Promise<boolean>;
+ countBatches(): Promise<number>;
+ addMutationBatch(mutations: Mutation[]): Promise<MutationBatch>;
+ lookupMutationBatch(batchId: BatchId): Promise<MutationBatch | null>;
+ getNextMutationBatchAfterBatchId(batchId: BatchId): Promise<MutationBatch | null>;
+ getAllMutationBatches(): Promise<MutationBatch[]>;
+ getAllMutationBatchesAffectingDocumentKey(documentKey: DocumentKey): Promise<MutationBatch[]>;
+ getAllMutationBatchesAffectingDocumentKeys(documentKeys: DocumentKeySet): Promise<MutationBatch[]>;
+ getAllMutationBatchesAffectingQuery(query: Query): Promise<MutationBatch[]>;
+ removeMutationBatch(batch: MutationBatch): Promise<void>;
+}
diff --git a/frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/local/test_remote_document_cache.d.ts b/frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/local/test_remote_document_cache.d.ts
new file mode 100644
index 0000000..67fda41
--- /dev/null
+++ b/frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/local/test_remote_document_cache.d.ts
@@ -0,0 +1,54 @@
+/**
+ * @license
+ * Copyright 2017 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+import { Query } from '../../../src/core/query';
+import { SnapshotVersion } from '../../../src/core/snapshot_version';
+import { IndexManager } from '../../../src/local/index_manager';
+import { Persistence } from '../../../src/local/persistence';
+import { RemoteDocumentChangeBuffer } from '../../../src/local/remote_document_change_buffer';
+import { DocumentKeySet, MutableDocumentMap, OverlayMap } from '../../../src/model/collections';
+import { MutableDocument } from '../../../src/model/document';
+import { DocumentKey } from '../../../src/model/document_key';
+import { IndexOffset } from '../../../src/model/field_index';
+/**
+ * A wrapper around a RemoteDocumentCache that automatically creates a
+ * transaction around every operation to reduce test boilerplate.
+ */
+export declare class TestRemoteDocumentCache {
+ private readonly persistence;
+ private readonly cache;
+ constructor(persistence: Persistence);
+ setIndexManager(indexManager: IndexManager): void;
+ /**
+ * Reads all of the documents first so we can safely add them and keep the size calculation in
+ * sync.
+ */
+ addEntries(documents: MutableDocument[]): Promise<void>;
+ /**
+ * Adds a single document using the document's version as its read time.
+ * Reads the document first to track the document size internally.
+ */
+ addEntry(document: MutableDocument): Promise<void>;
+ removeEntry(documentKey: DocumentKey, version?: SnapshotVersion): Promise<void>;
+ getEntry(documentKey: DocumentKey): Promise<MutableDocument>;
+ getEntries(documentKeys: DocumentKeySet): Promise<MutableDocumentMap>;
+ getDocumentsMatchingQuery(query: Query, offset: IndexOffset, mutatedDocs: OverlayMap): Promise<MutableDocumentMap>;
+ getAllFromCollectionGroup(collectionGroup: string, offset: IndexOffset, limit: number): Promise<MutableDocumentMap>;
+ getSize(): Promise<number>;
+ newChangeBuffer(options?: {
+ trackRemovals: boolean;
+ }): RemoteDocumentChangeBuffer;
+}
diff --git a/frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/local/test_remote_document_change_buffer.d.ts b/frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/local/test_remote_document_change_buffer.d.ts
new file mode 100644
index 0000000..9abb942
--- /dev/null
+++ b/frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/local/test_remote_document_change_buffer.d.ts
@@ -0,0 +1,34 @@
+/**
+ * @license
+ * Copyright 2017 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+import { SnapshotVersion } from '../../../src/core/snapshot_version';
+import { Persistence } from '../../../src/local/persistence';
+import { RemoteDocumentChangeBuffer } from '../../../src/local/remote_document_change_buffer';
+import { MutableDocument } from '../../../src/model/document';
+import { DocumentKey } from '../../../src/model/document_key';
+/**
+ * A wrapper around a RemoteDocumentChangeBuffer that automatically creates a
+ * transaction around operations to reduce test boilerplate.
+ */
+export declare class TestRemoteDocumentChangeBuffer {
+ persistence: Persistence;
+ buffer: RemoteDocumentChangeBuffer;
+ constructor(persistence: Persistence, buffer: RemoteDocumentChangeBuffer);
+ addEntry(document: MutableDocument, readTime: SnapshotVersion): void;
+ removeEntry(key: DocumentKey, readTime: SnapshotVersion): void;
+ getEntry(documentKey: DocumentKey): Promise<MutableDocument>;
+ apply(): Promise<void>;
+}
diff --git a/frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/local/test_target_cache.d.ts b/frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/local/test_target_cache.d.ts
new file mode 100644
index 0000000..590e9ff
--- /dev/null
+++ b/frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/local/test_target_cache.d.ts
@@ -0,0 +1,46 @@
+/**
+ * @license
+ * Copyright 2017 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+import { SnapshotVersion } from '../../../src/core/snapshot_version';
+import { Target } from '../../../src/core/target';
+import { ListenSequenceNumber, TargetId } from '../../../src/core/types';
+import { Persistence } from '../../../src/local/persistence';
+import { TargetCache } from '../../../src/local/target_cache';
+import { TargetData } from '../../../src/local/target_data';
+import { DocumentKey } from '../../../src/model/document_key';
+/**
+ * A wrapper around a TargetCache that automatically creates a
+ * transaction around every operation to reduce test boilerplate.
+ */
+export declare class TestTargetCache {
+ persistence: Persistence;
+ cache: TargetCache;
+ constructor(persistence: Persistence, cache: TargetCache);
+ addTargetData(targetData: TargetData): Promise<void>;
+ updateTargetData(targetData: TargetData): Promise<void>;
+ getTargetCount(): Promise<number>;
+ removeTargetData(targetData: TargetData): Promise<void>;
+ getTargetData(target: Target): Promise<TargetData | null>;
+ getLastRemoteSnapshotVersion(): Promise<SnapshotVersion>;
+ getHighestSequenceNumber(): Promise<ListenSequenceNumber>;
+ allocateTargetId(): Promise<TargetId>;
+ addMatchingKeys(keys: DocumentKey[], targetId: TargetId): Promise<void>;
+ removeMatchingKeys(keys: DocumentKey[], targetId: TargetId): Promise<void>;
+ getMatchingKeysForTargetId(targetId: TargetId): Promise<DocumentKey[]>;
+ removeMatchingKeysForTargetId(targetId: TargetId): Promise<void>;
+ containsKey(key: DocumentKey): Promise<boolean>;
+ setTargetsMetadata(highestListenSequenceNumber: ListenSequenceNumber, lastRemoteSnapshotVersion?: SnapshotVersion): Promise<void>;
+}
diff --git a/frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/local/web_storage_shared_client_state.test.d.ts b/frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/local/web_storage_shared_client_state.test.d.ts
new file mode 100644
index 0000000..342959e
--- /dev/null
+++ b/frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/local/web_storage_shared_client_state.test.d.ts
@@ -0,0 +1,17 @@
+/**
+ * @license
+ * Copyright 2018 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * withOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+export {};
diff --git a/frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/model/document.test.d.ts b/frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/model/document.test.d.ts
new file mode 100644
index 0000000..9444bf8
--- /dev/null
+++ b/frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/model/document.test.d.ts
@@ -0,0 +1,17 @@
+/**
+ * @license
+ * Copyright 2017 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+export {};
diff --git a/frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/model/document_set.test.d.ts b/frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/model/document_set.test.d.ts
new file mode 100644
index 0000000..9444bf8
--- /dev/null
+++ b/frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/model/document_set.test.d.ts
@@ -0,0 +1,17 @@
+/**
+ * @license
+ * Copyright 2017 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+export {};
diff --git a/frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/model/field_index.test.d.ts b/frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/model/field_index.test.d.ts
new file mode 100644
index 0000000..9b0c1ff
--- /dev/null
+++ b/frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/model/field_index.test.d.ts
@@ -0,0 +1,17 @@
+/**
+ * @license
+ * Copyright 2022 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+export {};
diff --git a/frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/model/mutation.test.d.ts b/frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/model/mutation.test.d.ts
new file mode 100644
index 0000000..9444bf8
--- /dev/null
+++ b/frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/model/mutation.test.d.ts
@@ -0,0 +1,17 @@
+/**
+ * @license
+ * Copyright 2017 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+export {};
diff --git a/frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/model/object_value.test.d.ts b/frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/model/object_value.test.d.ts
new file mode 100644
index 0000000..9444bf8
--- /dev/null
+++ b/frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/model/object_value.test.d.ts
@@ -0,0 +1,17 @@
+/**
+ * @license
+ * Copyright 2017 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+export {};
diff --git a/frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/model/object_value_builder.test.d.ts b/frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/model/object_value_builder.test.d.ts
new file mode 100644
index 0000000..731d2d9
--- /dev/null
+++ b/frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/model/object_value_builder.test.d.ts
@@ -0,0 +1,17 @@
+/**
+ * @license
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+export {};
diff --git a/frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/model/path.test.d.ts b/frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/model/path.test.d.ts
new file mode 100644
index 0000000..9444bf8
--- /dev/null
+++ b/frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/model/path.test.d.ts
@@ -0,0 +1,17 @@
+/**
+ * @license
+ * Copyright 2017 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+export {};
diff --git a/frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/model/target.test.d.ts b/frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/model/target.test.d.ts
new file mode 100644
index 0000000..9b0c1ff
--- /dev/null
+++ b/frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/model/target.test.d.ts
@@ -0,0 +1,17 @@
+/**
+ * @license
+ * Copyright 2022 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+export {};
diff --git a/frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/model/target_index_matcher.test.d.ts b/frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/model/target_index_matcher.test.d.ts
new file mode 100644
index 0000000..9b0c1ff
--- /dev/null
+++ b/frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/model/target_index_matcher.test.d.ts
@@ -0,0 +1,17 @@
+/**
+ * @license
+ * Copyright 2022 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+export {};
diff --git a/frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/model/values.test.d.ts b/frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/model/values.test.d.ts
new file mode 100644
index 0000000..731d2d9
--- /dev/null
+++ b/frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/model/values.test.d.ts
@@ -0,0 +1,17 @@
+/**
+ * @license
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+export {};
diff --git a/frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/remote/bloom_filter.test.d.ts b/frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/remote/bloom_filter.test.d.ts
new file mode 100644
index 0000000..cb0ff5c
--- /dev/null
+++ b/frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/remote/bloom_filter.test.d.ts
@@ -0,0 +1 @@
+export {};
diff --git a/frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/remote/bloom_filter_golden_test_data/index.d.ts b/frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/remote/bloom_filter_golden_test_data/index.d.ts
new file mode 100644
index 0000000..fda7b1b
--- /dev/null
+++ b/frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/remote/bloom_filter_golden_test_data/index.d.ts
@@ -0,0 +1,40 @@
+/**
+ * @license
+ * Copyright 2022 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+export { default as count1Rate1TestData } from './Validation_BloomFilterTest_MD5_1_1_bloom_filter_proto.json';
+export { default as count1Rate1TestResult } from './Validation_BloomFilterTest_MD5_1_1_membership_test_result.json';
+export { default as count1Rate01TestData } from './Validation_BloomFilterTest_MD5_1_01_bloom_filter_proto.json';
+export { default as count1Rate01TestResult } from './Validation_BloomFilterTest_MD5_1_01_membership_test_result.json';
+export { default as count1Rate0001TestData } from './Validation_BloomFilterTest_MD5_1_0001_bloom_filter_proto.json';
+export { default as count1Rate0001TestResult } from './Validation_BloomFilterTest_MD5_1_0001_membership_test_result.json';
+export { default as count500Rate1TestData } from './Validation_BloomFilterTest_MD5_500_1_bloom_filter_proto.json';
+export { default as count500Rate1TestResult } from './Validation_BloomFilterTest_MD5_500_1_membership_test_result.json';
+export { default as count500Rate01TestData } from './Validation_BloomFilterTest_MD5_500_01_bloom_filter_proto.json';
+export { default as count500Rate01TestResult } from './Validation_BloomFilterTest_MD5_500_01_membership_test_result.json';
+export { default as count500Rate0001TestData } from './Validation_BloomFilterTest_MD5_500_0001_bloom_filter_proto.json';
+export { default as count500Rate0001TestResult } from './Validation_BloomFilterTest_MD5_500_0001_membership_test_result.json';
+export { default as count5000Rate1TestData } from './Validation_BloomFilterTest_MD5_5000_1_bloom_filter_proto.json';
+export { default as count5000Rate1TestResult } from './Validation_BloomFilterTest_MD5_5000_1_membership_test_result.json';
+export { default as count5000Rate01TestData } from './Validation_BloomFilterTest_MD5_5000_01_bloom_filter_proto.json';
+export { default as count5000Rate01TestResult } from './Validation_BloomFilterTest_MD5_5000_01_membership_test_result.json';
+export { default as count5000Rate0001TestData } from './Validation_BloomFilterTest_MD5_5000_0001_bloom_filter_proto.json';
+export { default as count5000Rate0001TestResult } from './Validation_BloomFilterTest_MD5_5000_0001_membership_test_result.json';
+export { default as count50000Rate1TestData } from './Validation_BloomFilterTest_MD5_50000_1_bloom_filter_proto.json';
+export { default as count50000Rate1TestResult } from './Validation_BloomFilterTest_MD5_50000_1_membership_test_result.json';
+export { default as count50000Rate01TestData } from './Validation_BloomFilterTest_MD5_50000_01_bloom_filter_proto.json';
+export { default as count50000Rate01TestResult } from './Validation_BloomFilterTest_MD5_50000_01_membership_test_result.json';
+export { default as count50000Rate0001TestData } from './Validation_BloomFilterTest_MD5_50000_0001_bloom_filter_proto.json';
+export { default as count50000Rate0001TestResult } from './Validation_BloomFilterTest_MD5_50000_0001_membership_test_result.json';
diff --git a/frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/remote/datastore.test.d.ts b/frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/remote/datastore.test.d.ts
new file mode 100644
index 0000000..daa6d5d
--- /dev/null
+++ b/frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/remote/datastore.test.d.ts
@@ -0,0 +1,17 @@
+/**
+ * @license
+ * Copyright 2021 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+export {};
diff --git a/frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/remote/fetch_connection.test.d.ts b/frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/remote/fetch_connection.test.d.ts
new file mode 100644
index 0000000..1a6762b
--- /dev/null
+++ b/frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/remote/fetch_connection.test.d.ts
@@ -0,0 +1,17 @@
+/**
+ * @license
+ * Copyright 2025 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+export {};
diff --git a/frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/remote/remote_event.test.d.ts b/frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/remote/remote_event.test.d.ts
new file mode 100644
index 0000000..9444bf8
--- /dev/null
+++ b/frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/remote/remote_event.test.d.ts
@@ -0,0 +1,17 @@
+/**
+ * @license
+ * Copyright 2017 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+export {};
diff --git a/frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/remote/rest_connection.test.d.ts b/frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/remote/rest_connection.test.d.ts
new file mode 100644
index 0000000..a6fa156
--- /dev/null
+++ b/frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/remote/rest_connection.test.d.ts
@@ -0,0 +1,28 @@
+/**
+ * @license
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+import { Token } from '../../../src/api/credentials';
+import { Stream } from '../../../src/remote/connection';
+import { RestConnection } from '../../../src/remote/rest_connection';
+import { StringMap } from '../../../src/util/types';
+export declare class TestRestConnection extends RestConnection {
+ lastUrl: string;
+ lastHeaders: StringMap;
+ lastRequestBody: unknown;
+ nextResponse: Promise<unknown>;
+ openStream<Req, Resp>(rpcName: string, authToken: Token | null, appCheckToken: Token | null): Stream<Req, Resp>;
+ protected performRPCRequest<Req, Resp>(rpcName: string, url: string, headers: StringMap, body: Req): Promise<Resp>;
+}
diff --git a/frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/remote/serializer.browser.test.d.ts b/frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/remote/serializer.browser.test.d.ts
new file mode 100644
index 0000000..731d2d9
--- /dev/null
+++ b/frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/remote/serializer.browser.test.d.ts
@@ -0,0 +1,17 @@
+/**
+ * @license
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+export {};
diff --git a/frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/remote/serializer.helper.d.ts b/frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/remote/serializer.helper.d.ts
new file mode 100644
index 0000000..238e66b
--- /dev/null
+++ b/frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/remote/serializer.helper.d.ts
@@ -0,0 +1,25 @@
+/**
+ * @license
+ * Copyright 2017 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+import * as api from '../../../src/protos/firestore_proto_api';
+/**
+ * Runs the serializer test with an optional ProtobufJS verification step
+ * (only provided in Node).
+ *
+ * These tests are initialized in 'serializer.browser.test.ts' and
+ * 'serializer.node.test.ts'.
+ */
+export declare function serializerTest(protobufJsVerifier?: (jsonValue: api.Value) => void): void;
diff --git a/frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/remote/serializer.node.test.d.ts b/frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/remote/serializer.node.test.d.ts
new file mode 100644
index 0000000..94e3acc
--- /dev/null
+++ b/frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/remote/serializer.node.test.d.ts
@@ -0,0 +1,21 @@
+/**
+ * @license
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+import * as api from '../../../src/protos/firestore_proto_api';
+/**
+ * Verifies full round-trip of JSON protos through ProtobufJs.
+ */
+export declare function verifyProtobufJsRoundTrip(jsonValue: api.Value): void;
diff --git a/frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/specs/bundle_spec.test.d.ts b/frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/specs/bundle_spec.test.d.ts
new file mode 100644
index 0000000..18aa444
--- /dev/null
+++ b/frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/specs/bundle_spec.test.d.ts
@@ -0,0 +1,36 @@
+/**
+ * @license
+ * Copyright 2017 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+import { Query } from '../../../src/core/query';
+import { DocumentKey } from '../../../src/model/document_key';
+import { JsonObject } from '../../../src/model/object_value';
+import { LimitType } from '../../../src/protos/firestore_bundle_proto';
+import { TestSnapshotVersion } from '../../util/helpers';
+interface TestBundleDocument {
+ key: DocumentKey;
+ readTime: TestSnapshotVersion;
+ createTime?: TestSnapshotVersion;
+ updateTime?: TestSnapshotVersion;
+ content?: JsonObject<unknown>;
+}
+interface TestBundledQuery {
+ name: string;
+ readTime: TestSnapshotVersion;
+ query: Query;
+ limitType?: LimitType;
+}
+export declare function bundleWithDocumentAndQuery(testDoc: TestBundleDocument, testQuery?: TestBundledQuery): string;
+export {};
diff --git a/frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/specs/collection_spec.test.d.ts b/frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/specs/collection_spec.test.d.ts
new file mode 100644
index 0000000..9444bf8
--- /dev/null
+++ b/frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/specs/collection_spec.test.d.ts
@@ -0,0 +1,17 @@
+/**
+ * @license
+ * Copyright 2017 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+export {};
diff --git a/frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/specs/describe_spec.d.ts b/frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/specs/describe_spec.d.ts
new file mode 100644
index 0000000..8804b64
--- /dev/null
+++ b/frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/specs/describe_spec.d.ts
@@ -0,0 +1,44 @@
+/**
+ * @license
+ * Copyright 2017 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+import { SpecBuilder } from './spec_builder';
+export declare const MULTI_CLIENT_TAG = "multi-client";
+/**
+ * If you call this function before your describeSpec, then the spec test will
+ * be written using the given function instead of running as a normal test.
+ */
+export declare function setSpecJSONHandler(writer: (json: string) => void): void;
+/**
+ * Like it(), but for spec tests.
+ * @param name - A name to give the test.
+ * @param tags - Tags to apply to the test (e.g. 'exclusive' to only run
+ * individual tests)
+ * @param builder - A function that returns a spec.
+ * If writeToJSONFile has been called, the spec will be stored in
+ * `specsInThisTest`. Otherwise, it will be run, just as it() would run it.
+ */
+export declare function specTest(name: string, tags: string[], builder: () => SpecBuilder): void;
+export declare function specTest(name: string, tags: string[], comment: string, builder: () => SpecBuilder): void;
+/**
+ * Like describe, but for spec tests.
+ * @param name - A name to give the test.
+ * @param tags - Tags to apply to all tests in the spec (e.g. 'exclusive' to
+ * only run individual tests)
+ * @param builder - A function that calls specTest for each test case.
+ * If writeToJSONFile has been called, the specs will be stored in
+ * that file. Otherwise, they will be run, just as describe would run.
+ */
+export declare function describeSpec(name: string, tags: string[], builder: () => void): void;
diff --git a/frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/specs/existence_filter_spec.test.d.ts b/frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/specs/existence_filter_spec.test.d.ts
new file mode 100644
index 0000000..9444bf8
--- /dev/null
+++ b/frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/specs/existence_filter_spec.test.d.ts
@@ -0,0 +1,17 @@
+/**
+ * @license
+ * Copyright 2017 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+export {};
diff --git a/frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/specs/garbage_collection_spec.test.d.ts b/frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/specs/garbage_collection_spec.test.d.ts
new file mode 100644
index 0000000..615869e
--- /dev/null
+++ b/frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/specs/garbage_collection_spec.test.d.ts
@@ -0,0 +1,17 @@
+/**
+ * @license
+ * Copyright 2023 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+export {};
diff --git a/frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/specs/index_spec.test.d.ts b/frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/specs/index_spec.test.d.ts
new file mode 100644
index 0000000..9b0c1ff
--- /dev/null
+++ b/frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/specs/index_spec.test.d.ts
@@ -0,0 +1,17 @@
+/**
+ * @license
+ * Copyright 2022 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+export {};
diff --git a/frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/specs/limbo_spec.test.d.ts b/frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/specs/limbo_spec.test.d.ts
new file mode 100644
index 0000000..9444bf8
--- /dev/null
+++ b/frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/specs/limbo_spec.test.d.ts
@@ -0,0 +1,17 @@
+/**
+ * @license
+ * Copyright 2017 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+export {};
diff --git a/frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/specs/limit_spec.test.d.ts b/frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/specs/limit_spec.test.d.ts
new file mode 100644
index 0000000..9444bf8
--- /dev/null
+++ b/frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/specs/limit_spec.test.d.ts
@@ -0,0 +1,17 @@
+/**
+ * @license
+ * Copyright 2017 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+export {};
diff --git a/frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/specs/listen_source_spec.test.d.ts b/frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/specs/listen_source_spec.test.d.ts
new file mode 100644
index 0000000..88c3c0e
--- /dev/null
+++ b/frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/specs/listen_source_spec.test.d.ts
@@ -0,0 +1,17 @@
+/**
+ * @license
+ * Copyright 2024 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+export {};
diff --git a/frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/specs/listen_spec.test.d.ts b/frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/specs/listen_spec.test.d.ts
new file mode 100644
index 0000000..9444bf8
--- /dev/null
+++ b/frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/specs/listen_spec.test.d.ts
@@ -0,0 +1,17 @@
+/**
+ * @license
+ * Copyright 2017 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+export {};
diff --git a/frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/specs/offline_spec.test.d.ts b/frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/specs/offline_spec.test.d.ts
new file mode 100644
index 0000000..9444bf8
--- /dev/null
+++ b/frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/specs/offline_spec.test.d.ts
@@ -0,0 +1,17 @@
+/**
+ * @license
+ * Copyright 2017 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+export {};
diff --git a/frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/specs/orderby_spec.test.d.ts b/frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/specs/orderby_spec.test.d.ts
new file mode 100644
index 0000000..9444bf8
--- /dev/null
+++ b/frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/specs/orderby_spec.test.d.ts
@@ -0,0 +1,17 @@
+/**
+ * @license
+ * Copyright 2017 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+export {};
diff --git a/frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/specs/perf_spec.test.d.ts b/frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/specs/perf_spec.test.d.ts
new file mode 100644
index 0000000..c53048a
--- /dev/null
+++ b/frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/specs/perf_spec.test.d.ts
@@ -0,0 +1,17 @@
+/**
+ * @license
+ * Copyright 2018 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+export {};
diff --git a/frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/specs/persistence_spec.test.d.ts b/frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/specs/persistence_spec.test.d.ts
new file mode 100644
index 0000000..9444bf8
--- /dev/null
+++ b/frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/specs/persistence_spec.test.d.ts
@@ -0,0 +1,17 @@
+/**
+ * @license
+ * Copyright 2017 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+export {};
diff --git a/frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/specs/query_spec.test.d.ts b/frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/specs/query_spec.test.d.ts
new file mode 100644
index 0000000..1c93d90
--- /dev/null
+++ b/frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/specs/query_spec.test.d.ts
@@ -0,0 +1,17 @@
+/**
+ * @license
+ * Copyright 2019 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+export {};
diff --git a/frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/specs/recovery_spec.test.d.ts b/frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/specs/recovery_spec.test.d.ts
new file mode 100644
index 0000000..731d2d9
--- /dev/null
+++ b/frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/specs/recovery_spec.test.d.ts
@@ -0,0 +1,17 @@
+/**
+ * @license
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+export {};
diff --git a/frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/specs/remote_store_spec.test.d.ts b/frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/specs/remote_store_spec.test.d.ts
new file mode 100644
index 0000000..9444bf8
--- /dev/null
+++ b/frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/specs/remote_store_spec.test.d.ts
@@ -0,0 +1,17 @@
+/**
+ * @license
+ * Copyright 2017 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+export {};
diff --git a/frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/specs/resume_token_spec.test.d.ts b/frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/specs/resume_token_spec.test.d.ts
new file mode 100644
index 0000000..9444bf8
--- /dev/null
+++ b/frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/specs/resume_token_spec.test.d.ts
@@ -0,0 +1,17 @@
+/**
+ * @license
+ * Copyright 2017 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+export {};
diff --git a/frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/specs/spec_builder.d.ts b/frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/specs/spec_builder.d.ts
new file mode 100644
index 0000000..00705ca
--- /dev/null
+++ b/frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/specs/spec_builder.d.ts
@@ -0,0 +1,287 @@
+/**
+ * @license
+ * Copyright 2017 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+import { IndexConfiguration } from '../../../src/api/index_configuration';
+import { Query } from '../../../src/core/query';
+import { Target } from '../../../src/core/target';
+import { TargetIdGenerator } from '../../../src/core/target_id_generator';
+import { TargetId } from '../../../src/core/types';
+import { TargetPurpose } from '../../../src/local/target_data';
+import { Document } from '../../../src/model/document';
+import { DocumentKey } from '../../../src/model/document_key';
+import { FieldIndex } from '../../../src/model/field_index';
+import { JsonObject } from '../../../src/model/object_value';
+import { BloomFilter as ProtoBloomFilter } from '../../../src/protos/firestore_proto_api';
+import { TimerId } from '../../../src/util/async_queue';
+import { Code } from '../../../src/util/error';
+import { ObjectMap } from '../../../src/util/obj_map';
+import { TestSnapshotVersion } from '../../util/helpers';
+import { RpcError } from './spec_rpc_error';
+import { PersistenceAction, SpecConfig, SpecQuery, SpecStep } from './spec_test_runner';
+export interface LimboMap {
+ [key: string]: TargetId;
+}
+export interface ActiveTargetSpec {
+ queries: SpecQuery[];
+ targetPurpose?: TargetPurpose;
+ resumeToken?: string;
+ readTime?: TestSnapshotVersion;
+ expectedCount?: number;
+}
+export interface ActiveTargetMap {
+ [targetId: string]: ActiveTargetSpec;
+}
+export interface ResumeSpec {
+ resumeToken?: string;
+ readTime?: TestSnapshotVersion;
+ expectedCount?: number;
+}
+/**
+ * Tracks the expected memory state of a client (e.g. the expected active watch
+ * targets based on userListens(), userUnlistens(), and watchRemoves()
+ * as well as the expectActiveTargets() and expectLimboDocs() expectations).
+ *
+ * Automatically keeping track of the active targets makes writing tests
+ * much simpler and the tests much easier to follow.
+ *
+ * Whenever the map changes, the expected state is automatically encoded in
+ * the tests.
+ */
+export declare class ClientMemoryState {
+ activeTargets: ActiveTargetMap;
+ queryMapping: ObjectMap<Target, number>;
+ limboMapping: LimboMap;
+ limboIdGenerator: TargetIdGenerator;
+ injectFailures: boolean;
+ constructor();
+ /** Reset all internal memory state (as done during a client restart). */
+ reset(): void;
+ /**
+ * Reset the internal limbo mapping (as done during a primary lease failover).
+ */
+ resetLimboMapping(): void;
+}
+/**
+ * Provides a high-level language to construct spec tests that can be exported
+ * to the spec JSON format or be run as a spec test directly.
+ *
+ * Exported JSON tests can be used in other clients without the need to
+ * duplicate tests in every client.
+ */
+export declare class SpecBuilder {
+ protected config: SpecConfig;
+ protected currentStep: SpecStep | null;
+ private steps;
+ private queryIdGenerator;
+ private readonly currentClientState;
+ protected get clientState(): ClientMemoryState;
+ private get limboIdGenerator();
+ private get queryMapping();
+ private get limboMapping();
+ private get activeTargets();
+ private get injectFailures();
+ private set injectFailures(value);
+ /**
+ * Exports the spec steps as a JSON object that be used in the spec runner.
+ */
+ toJSON(): {
+ config: SpecConfig;
+ steps: SpecStep[];
+ };
+ /**
+ * Run the spec as a test. If persistence is available it will run it with and
+ * without persistence enabled.
+ */
+ runAsTest(name: string, tags: string[], usePersistence: boolean): Promise<void>;
+ ensureManualLruGC(): this;
+ withMaxConcurrentLimboResolutions(value?: number): this;
+ private addUserListenStep;
+ userListens(query: Query, resume?: ResumeSpec): this;
+ /** Listen to query using the same options as executing a getDoc or getDocs */
+ userListensForGet(query: Query, resume?: ResumeSpec): this;
+ userListensToCache(query: Query, resume?: ResumeSpec): this;
+ /**
+ * Registers a previously active target with the test expectations after a
+ * stream disconnect.
+ */
+ restoreListen(query: Query, resumeToken: string, expectedCount?: number): this;
+ userUnlistens(query: Query, shouldRemoveWatchTarget?: boolean): this;
+ userUnlistensToCache(query: Query): this;
+ userSets(key: string, value: JsonObject<unknown>): this;
+ userPatches(key: string, value: JsonObject<unknown>): this;
+ userDeletes(key: string): this;
+ userAddsSnapshotsInSyncListener(): this;
+ userRemovesSnapshotsInSyncListener(): this;
+ loadBundle(bundleContent: string): this;
+ setIndexConfiguration(jsonOrConfiguration: string | IndexConfiguration): this;
+ becomeHidden(): this;
+ becomeVisible(): this;
+ runTimer(timerId: TimerId): this;
+ changeUser(uid: string | null): this;
+ disableNetwork(): this;
+ enableNetwork(): this;
+ clearPersistence(): this;
+ restart(): this;
+ shutdown(): this;
+ /**
+ * Fails the specified database transaction until `recoverDatabase()` is
+ * called.
+ */
+ failDatabaseTransactions(...actions: PersistenceAction[]): this;
+ /** Stops failing database operations. */
+ recoverDatabase(): this;
+ expectIsShutdown(): this;
+ /** Expects indexes to exist (in any order) */
+ expectIndexes(indexes: FieldIndex[]): this;
+ /** Overrides the currently expected set of active targets. */
+ expectActiveTargets(...targets: Array<{
+ query: Query;
+ targetPurpose?: TargetPurpose;
+ resumeToken?: string;
+ readTime?: TestSnapshotVersion;
+ expectedCount?: number;
+ }>): this;
+ /**
+ * Expects a document to be in limbo. A targetId is assigned if it's not in
+ * limbo yet.
+ */
+ expectLimboDocs(...keys: DocumentKey[]): this;
+ /**
+ * Expects a document to be in limbo, enqueued for limbo resolution, and
+ * therefore *without* an active targetId.
+ */
+ expectEnqueuedLimboDocs(...keys: DocumentKey[]): this;
+ /**
+ * Special helper for limbo documents that acks with either a document or
+ * with no document for NoDocument. This is translated into normal watch
+ * messages.
+ */
+ ackLimbo(version: TestSnapshotVersion, doc: Document): this;
+ /**
+ * Special helper for limbo documents that acks an unlisten for a limbo doc
+ * with either a document or with no document for NoDocument. This is
+ * translated into normal watch messages.
+ */
+ watchRemovesLimboTarget(doc: Document): this;
+ /**
+ * Acks a write with a version and optional additional options.
+ *
+ * expectUserCallback defaults to true if omitted.
+ */
+ writeAcks(doc: string, version: TestSnapshotVersion, options?: {
+ expectUserCallback?: boolean;
+ keepInQueue?: boolean;
+ }): this;
+ /**
+ * Fails a write with an error and optional additional options.
+ *
+ * expectUserCallback defaults to true if omitted.
+ */
+ failWrite(doc: string, error: RpcError, options?: {
+ expectUserCallback?: boolean;
+ keepInQueue?: boolean;
+ }): this;
+ watchAcks(query: Query): this;
+ watchCurrents(query: Query, resumeToken: string): this;
+ watchRemoves(query: Query, cause?: RpcError): this;
+ watchSends(targets: {
+ affects?: Query[];
+ removed?: Query[];
+ }, ...docs: Document[]): this;
+ watchRemovesDoc(key: DocumentKey, ...targets: Query[]): this;
+ watchDeletesDoc(key: DocumentKey, version: TestSnapshotVersion, ...targets: Query[]): this;
+ watchFilters(queries: Query[], docs?: DocumentKey[], bloomFilter?: ProtoBloomFilter): this;
+ watchResets(...queries: Query[]): this;
+ watchSnapshots(version: TestSnapshotVersion, targets?: Query[], resumeToken?: string): this;
+ watchAcksFull(query: Query, version: TestSnapshotVersion, ...docs: Document[]): this;
+ watchStreamCloses(error: Code, opts?: {
+ runBackoffTimer: boolean;
+ }): this;
+ waitForPendingWrites(): this;
+ expectUserCallbacks(docs: {
+ acknowledged?: string[];
+ rejected?: string[];
+ }): this;
+ expectEvents(query: Query, events: {
+ fromCache?: boolean;
+ hasPendingWrites?: boolean;
+ added?: Document[];
+ modified?: Document[];
+ removed?: Document[];
+ metadata?: Document[];
+ errorCode?: Code;
+ }): this;
+ private registerQuery;
+ /** Registers a query that is active in another tab. */
+ expectListen(query: Query, resume?: ResumeSpec): this;
+ /** Registers a query that is listening to cache and active in another tab. */
+ expectListenToCache(query: Query, resume?: ResumeSpec): this;
+ removeQuery(query: Query, shouldRemoveWatchTarget?: boolean): this;
+ /** Removes a query that is no longer active in any tab. */
+ expectUnlisten(query: Query): this;
+ /** Removes a query that is listening to cache and no longer active in any tab. */
+ expectUnlistenToCache(query: Query): this;
+ /**
+ * Verifies the total number of requests sent to the write backend since test
+ * initialization.
+ */
+ expectWriteStreamRequestCount(num: number): this;
+ /**
+ * Verifies the total number of requests sent to the watch backend since test
+ * initialization.
+ */
+ expectWatchStreamRequestCount(num: number): this;
+ expectNumOutstandingWrites(num: number): this;
+ expectNumActiveClients(num: number): this;
+ expectPrimaryState(isPrimary: boolean): this;
+ expectSnapshotsInSyncEvent(count?: number): this;
+ expectWaitForPendingWritesEvent(count?: number): this;
+ triggerLruGC(cacheThreshold: number): this;
+ removeExpectedTargetMapping(query: Query): this;
+ private static queryToSpec;
+ private static docToSpec;
+ private static keyToSpec;
+ protected nextStep(): void;
+ /**
+ * Add the specified `Query` under give active targe id. If it is already
+ * added, this is a no-op.
+ */
+ private addQueryToActiveTargets;
+ private removeQueryFromActiveTargets;
+ private assertStep;
+ private getTargetId;
+}
+/**
+ * SpecBuilder that supports serialized interactions between different clients.
+ *
+ * Use `client(clientIndex)` to switch between clients.
+ */
+export declare class MultiClientSpecBuilder extends SpecBuilder {
+ private activeClientIndex;
+ private clientStates;
+ protected get clientState(): ClientMemoryState;
+ client(clientIndex: number): MultiClientSpecBuilder;
+ /**
+ * Take the primary lease, even if another client has already obtained the
+ * lease.
+ */
+ stealPrimaryLease(): this;
+ protected nextStep(): void;
+}
+/** Starts a new single-client SpecTest. */
+export declare function spec(): SpecBuilder;
+/** Starts a new multi-client SpecTest. */
+export declare function client(num: number): MultiClientSpecBuilder;
diff --git a/frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/specs/spec_rpc_error.d.ts b/frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/specs/spec_rpc_error.d.ts
new file mode 100644
index 0000000..a104309
--- /dev/null
+++ b/frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/specs/spec_rpc_error.d.ts
@@ -0,0 +1,24 @@
+/**
+ * @license
+ * Copyright 2017 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+import { Code } from '../../../src/util/error';
+/**
+ * An error encountered making RPCs.
+ */
+export declare class RpcError extends Error {
+ code: number;
+ constructor(code: Code | number, message: string);
+}
diff --git a/frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/specs/spec_test_components.d.ts b/frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/specs/spec_test_components.d.ts
new file mode 100644
index 0000000..0152128
--- /dev/null
+++ b/frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/specs/spec_test_components.d.ts
@@ -0,0 +1,156 @@
+/**
+ * @license
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+import { Token } from '../../../src/api/credentials';
+import { ComponentConfiguration, MemoryOfflineComponentProvider, OnlineComponentProvider, MultiTabOfflineComponentProvider } from '../../../src/core/component_provider';
+import { Observer } from '../../../src/core/event_manager';
+import { Query } from '../../../src/core/query';
+import { ViewSnapshot } from '../../../src/core/view_snapshot';
+import { IndexedDbPersistence } from '../../../src/local/indexeddb_persistence';
+import { LocalStore } from '../../../src/local/local_store';
+import { MemoryPersistence } from '../../../src/local/memory_persistence';
+import { Scheduler, Persistence } from '../../../src/local/persistence';
+import { PersistencePromise } from '../../../src/local/persistence_promise';
+import { PersistenceTransaction, PersistenceTransactionMode } from '../../../src/local/persistence_transaction';
+import { SharedClientState } from '../../../src/local/shared_client_state';
+import { Mutation } from '../../../src/model/mutation';
+import * as api from '../../../src/protos/firestore_proto_api';
+import { ApiClientObjectMap } from '../../../src/protos/firestore_proto_api';
+import { Connection, Stream } from '../../../src/remote/connection';
+import { Datastore } from '../../../src/remote/datastore';
+import { StreamBridge } from '../../../src/remote/stream_bridge';
+import { AsyncQueue } from '../../../src/util/async_queue';
+import { FirestoreError } from '../../../src/util/error';
+import { Deferred } from '../../../src/util/promise';
+import { WindowLike } from '../../../src/util/types';
+import { FakeDocument } from '../../util/test_platform';
+import { PersistenceAction } from './spec_test_runner';
+/**
+ * A test-only MemoryPersistence implementation that is able to inject
+ * transaction failures.
+ */
+export declare class MockMemoryPersistence extends MemoryPersistence {
+ injectFailures: PersistenceAction[];
+ runTransaction<T>(action: string, mode: PersistenceTransactionMode, transactionOperation: (transaction: PersistenceTransaction) => PersistencePromise<T>): Promise<T>;
+}
+/**
+ * A test-only IndexedDbPersistence implementation that is able to inject
+ * transaction failures.
+ */
+export declare class MockIndexedDbPersistence extends IndexedDbPersistence {
+ injectFailures: PersistenceAction[];
+ runTransaction<T>(action: string, mode: PersistenceTransactionMode, transactionOperation: (transaction: PersistenceTransaction) => PersistencePromise<T>): Promise<T>;
+}
+export declare class MockOnlineComponentProvider extends OnlineComponentProvider {
+ private readonly connection;
+ constructor(connection: MockConnection);
+ createDatastore(cfg: ComponentConfiguration): Datastore;
+}
+export declare class MockMultiTabOfflineComponentProvider extends MultiTabOfflineComponentProvider {
+ private readonly window;
+ private readonly document;
+ persistence: MockIndexedDbPersistence;
+ constructor(window: WindowLike, document: FakeDocument, onlineComponentProvider: OnlineComponentProvider);
+ createGarbageCollectionScheduler(cfg: ComponentConfiguration, localStore: LocalStore): Scheduler | null;
+ createIndexBackfillerScheduler(cfg: ComponentConfiguration, localStore: LocalStore): Scheduler | null;
+ createSharedClientState(cfg: ComponentConfiguration): SharedClientState;
+ createPersistence(cfg: ComponentConfiguration): MockIndexedDbPersistence;
+}
+export declare class MockMemoryOfflineComponentProvider extends MemoryOfflineComponentProvider {
+ private readonly eagerGCEnabled;
+ persistence: MockMemoryPersistence;
+ connection: MockConnection;
+ constructor(eagerGCEnabled: boolean);
+ createGarbageCollectionScheduler(cfg: ComponentConfiguration): Scheduler | null;
+ createPersistence(cfg: ComponentConfiguration): Persistence;
+}
+export declare class MockConnection implements Connection {
+ private queue;
+ watchStream: StreamBridge<api.ListenRequest, api.ListenResponse> | null;
+ writeStream: StreamBridge<api.WriteRequest, api.WriteResponse> | null;
+ /**
+ * Used to make sure a write was actually sent out on the network before the
+ * test runner continues.
+ */
+ writeSendBarriers: Array<Deferred<api.WriteRequest>>;
+ /**
+ * The set of mutations sent out before there was a corresponding
+ * writeSendBarrier.
+ */
+ earlyWrites: api.WriteRequest[];
+ /** The total number of requests sent to the watch stream. */
+ watchStreamRequestCount: number;
+ /** The total number of requests sent to the write stream. */
+ writeStreamRequestCount: number;
+ nextWriteStreamToken: number;
+ constructor(queue: AsyncQueue);
+ terminate(): void;
+ shouldResourcePathBeIncludedInRequest: boolean;
+ /**
+ * Tracks the currently active watch targets as detected by the mock watch //
+ * stream, as a mapping from target ID to query Target. //
+ */
+ activeTargets: {
+ [targetId: number]: {
+ target: api.Target;
+ labels?: ApiClientObjectMap<string>;
+ };
+ };
+ /** A Deferred that is resolved once watch opens. */
+ watchOpen: Deferred<void>;
+ /** Whether the Watch stream is open. */
+ isWatchOpen: boolean;
+ invokeRPC<Req>(rpcName: string, request: Req): never;
+ invokeStreamingRPC<Req>(rpcName: string, request: Req): never;
+ waitForWriteRequest(): Promise<api.WriteRequest>;
+ waitForWatchOpen(): Promise<void>;
+ ackWrite(commitTime?: api.Timestamp, mutationResults?: api.WriteResult[]): void;
+ failWrite(err: FirestoreError): void;
+ private resetAndCloseWriteStream;
+ failWatchStream(err?: FirestoreError): void;
+ private resetAndCloseWatchStream;
+ openStream<Req, Resp>(rpcName: string, token: Token | null): Stream<Req, Resp>;
+}
+/**
+ * An Observer<ViewSnapshot> that forwards events to the provided callback.
+ */
+export declare class EventAggregator implements Observer<ViewSnapshot> {
+ private query;
+ private pushEvent;
+ constructor(query: Query, pushEvent: (e: QueryEvent) => void);
+ next(view: ViewSnapshot): void;
+ error(error: Error): void;
+}
+/**
+ * FIFO queue that tracks all outstanding mutations for a single test run.
+ * As these mutations are shared among the set of active clients, any client can
+ * add or retrieve mutations.
+ */
+export declare class SharedWriteTracker {
+ private writes;
+ push(write: Mutation[]): void;
+ peek(): Mutation[];
+ shift(): Mutation[];
+}
+/**
+ * Interface used for object that contain exactly one of either a view snapshot
+ * or an error for the given query.
+ */
+export interface QueryEvent {
+ query: Query;
+ view?: ViewSnapshot;
+ error?: FirestoreError;
+}
diff --git a/frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/specs/spec_test_runner.d.ts b/frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/specs/spec_test_runner.d.ts
new file mode 100644
index 0000000..50d1714
--- /dev/null
+++ b/frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/specs/spec_test_runner.d.ts
@@ -0,0 +1,323 @@
+/**
+ * @license
+ * Copyright 2017 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+import { IndexConfiguration } from '../../../src/api/index_configuration';
+import { ListenOptions } from '../../../src/core/event_manager';
+import { Query } from '../../../src/core/query';
+import { TargetId } from '../../../src/core/types';
+import { FieldIndex } from '../../../src/model/field_index';
+import { JsonObject } from '../../../src/model/object_value';
+import * as api from '../../../src/protos/firestore_proto_api';
+import { TestSnapshotVersion } from '../../util/helpers';
+import { ActiveTargetMap } from './spec_builder';
+interface DocumentOptions {
+ hasLocalMutations?: boolean;
+ hasCommittedMutations?: boolean;
+}
+export declare function parseQuery(querySpec: string | SpecQuery): Query;
+/**
+ * Runs a spec test case.
+ *
+ * The spec consists of an array of individual steps to run in sequence.
+ */
+export declare function runSpec(name: string, tags: string[], usePersistence: boolean, config: SpecConfig, steps: SpecStep[]): Promise<void>;
+/** Specifies initial configuration information for the test. */
+export interface SpecConfig {
+ /** A boolean to enable / disable eager GC for memory persistence. */
+ useEagerGCForMemory: boolean;
+ /** The number of active clients for this test run. */
+ numClients: number;
+ /**
+ * The maximum number of concurrently-active listens for limbo resolutions.
+ * This value must be strictly greater than zero, or undefined to use the
+ * default value.
+ */
+ maxConcurrentLimboResolutions?: number;
+}
+/**
+ * The cumulative list of actions run against Persistence. This is used by the
+ * Spec tests to fail specific types of actions.
+ */
+export type PersistenceAction = 'Get next mutation batch' | 'read document' | 'Allocate target' | 'Release target' | 'Execute query' | 'Handle user change' | 'Locally write mutations' | 'Acknowledge batch' | 'Reject batch' | 'Get highest unacknowledged batch id' | 'Get last stream token' | 'Set last stream token' | 'Get last remote snapshot version' | 'Set last remote snapshot version' | 'Apply remote event' | 'notifyLocalViewChanges' | 'Remote document keys' | 'Collect garbage' | 'maybeGarbageCollectMultiClientState' | 'Lookup mutation documents' | 'Get target data' | 'Get new document changes' | 'Synchronize last document change read time' | 'updateClientMetadataAndTryBecomePrimary' | 'getHighestListenSequenceNumber';
+/**
+ * Union type for each step. The step consists of exactly one `field`
+ * set and optionally expected events in the `expect` field.
+ */
+export interface SpecStep {
+ /** The index of the local client for multi-client spec tests. */
+ clientIndex?: number;
+ /** Listen to a new query (must be unique) */
+ userListen?: SpecUserListen;
+ /** Unlisten from a query (must be listened to) */
+ userUnlisten?: SpecUserUnlisten;
+ /** Perform a user initiated set */
+ userSet?: SpecUserSet;
+ /** Perform a user initiated patch */
+ userPatch?: SpecUserPatch;
+ /** Perform a user initiated delete */
+ userDelete?: SpecUserDelete;
+ /** Listens to a SnapshotsInSync event. */
+ addSnapshotsInSyncListener?: true;
+ /** Unlistens from a SnapshotsInSync event. */
+ removeSnapshotsInSyncListener?: true;
+ /** Loads a bundle from a string. */
+ loadBundle?: string;
+ /** Ack for a query in the watch stream */
+ watchAck?: SpecWatchAck;
+ /** Marks the query results as current */
+ watchCurrent?: SpecWatchCurrent;
+ /** Reset the results of a query */
+ watchReset?: SpecWatchReset;
+ /** Ack for remove or rejection of a query in the watch stream */
+ watchRemove?: SpecWatchRemove;
+ /** Document update in the watch stream */
+ watchEntity?: SpecWatchEntity;
+ /** Existence filter in the watch stream */
+ watchFilter?: SpecWatchFilter;
+ /** Snapshot ("NO_CHANGE") event in the watch stream. */
+ watchSnapshot?: SpecWatchSnapshot;
+ /** A step that the watch stream restarts. */
+ watchStreamClose?: SpecWatchStreamClose;
+ /** Ack the last write */
+ writeAck?: SpecWriteAck;
+ /** Fail a write */
+ failWrite?: SpecWriteFailure;
+ /** Add a new `waitForPendingWrites` listener. */
+ waitForPendingWrites?: true;
+ /** Fails the listed database actions. */
+ failDatabase?: false | PersistenceAction[];
+ /**
+ * Set Index Configuration
+ */
+ setIndexConfiguration?: string | IndexConfiguration;
+ /**
+ * Run a queued timer task (without waiting for the delay to expire). See
+ * TimerId enum definition for possible values).
+ */
+ runTimer?: string;
+ /**
+ * Process all events currently enqueued in the AsyncQueue.
+ */
+ drainQueue?: true;
+ /** Enable or disable RemoteStore's network connection. */
+ enableNetwork?: boolean;
+ /** Clears the persistent storage in IndexedDB. */
+ clearPersistence?: true;
+ /** Changes the metadata state of a client instance. */
+ applyClientState?: SpecClientState;
+ /** Change to a new active user (specified by uid or null for anonymous). */
+ changeUser?: string | null;
+ /** Trigger a GC event with given cache threshold in bytes. */
+ triggerLruGC?: number;
+ /**
+ * Restarts the SyncEngine from scratch, except re-uses persistence and auth
+ * components. This allows you to queue writes, get documents into cache,
+ * etc. and then simulate an app restart.
+ */
+ restart?: true;
+ /** Shut down the client and close it network connection. */
+ shutdown?: true;
+ /**
+ * Optional list of expected events.
+ * If not provided, the test will fail if the step causes events to be raised.
+ */
+ expectedSnapshotEvents?: SnapshotEvent[];
+ /**
+ * Optional dictionary of expected states.
+ */
+ expectedState?: StateExpectation;
+ /**
+ * Optional expected number of onSnapshotsInSync callbacks to be called.
+ * If not provided, the test will fail if the step causes events to be raised.
+ */
+ expectedSnapshotsInSyncEvents?: number;
+ /**
+ * Optional expected number of waitForPendingWrite callbacks to be called.
+ * If not provided, the test will fail if the step causes events to be raised.
+ */
+ expectedWaitForPendingWritesEvents?: number;
+}
+export interface SpecUserListen {
+ targetId: TargetId;
+ query: string | SpecQuery;
+ options?: ListenOptions;
+}
+/** [<target-id>, <query-path>] */
+export type SpecUserUnlisten = [TargetId, string | SpecQuery];
+/** [<key>, <value>] */
+export type SpecUserSet = [string, JsonObject<unknown>];
+/** [<key>, <patches>] */
+export type SpecUserPatch = [string, JsonObject<unknown>];
+/** key */
+export type SpecUserDelete = string;
+/** [<target-id>, ...] */
+export type SpecWatchAck = TargetId[];
+/** [[<target-id>, ...], <resume-token>] */
+export type SpecWatchCurrent = [TargetId[], string];
+/** [<target-id>, ...] */
+export type SpecWatchReset = TargetId[];
+export interface SpecError {
+ code: number;
+ message: string;
+}
+export interface SpecWatchRemove {
+ targetIds: TargetId[];
+ cause?: SpecError;
+}
+export interface SpecWatchSnapshot {
+ version: TestSnapshotVersion;
+ targetIds: TargetId[];
+ resumeToken?: string;
+}
+export interface SpecWatchStreamClose {
+ error: SpecError;
+ runBackoffTimer: boolean;
+}
+export interface SpecWriteAck {
+ /** The version the backend uses to ack the write. */
+ version: TestSnapshotVersion;
+ /**
+ * Whether we should keep the write in our internal queue. This should only
+ * be set to 'true' if the client ignores the write (e.g. a secondary client
+ * which ignores write acknowledgments).
+ *
+ * Defaults to false.
+ */
+ keepInQueue?: boolean;
+}
+export interface SpecWriteFailure {
+ /** The error the backend uses to fail the write. */
+ error: SpecError;
+ /**
+ * Whether we should keep the write in our internal queue. This should be set
+ * to 'true' for transient errors or if the client ignores the failure
+ * (e.g. a secondary client which ignores write rejections).
+ *
+ * Defaults to false.
+ */
+ keepInQueue?: boolean;
+}
+export interface SpecWatchEntity {
+ key?: string;
+ /** [<key>, <version>, <value>] */
+ doc?: SpecDocument;
+ /** [<key>, <version>, <value>][] */
+ docs?: SpecDocument[];
+ /** [<target-id>, ...] */
+ targets?: TargetId[];
+ /** [<target-id>, ...] */
+ removedTargets?: TargetId[];
+}
+export interface SpecClientState {
+ /** The visibility state of the browser tab running the client. */
+ visibility?: DocumentVisibilityState;
+ /** Whether this tab should try to forcefully become primary. */
+ primary?: true;
+}
+/**
+ * The filter is based of a list of keys to match in the existence filter
+ */
+export interface SpecWatchFilter {
+ targetIds: TargetId[];
+ keys: string[];
+ bloomFilter?: api.BloomFilter;
+}
+export type SpecLimitType = 'LimitToFirst' | 'LimitToLast';
+/**
+ * [field, op, value]
+ * Op must be the `name` of an `Operator`.
+ */
+export type SpecQueryFilter = [string, string, unknown];
+/**
+ * [field, direction]
+ * Direction can be 'asc' or 'desc'.
+ */
+export type SpecQueryOrderBy = [string, string];
+/**
+ * A representation of a query.
+ */
+export interface SpecQuery {
+ path: string;
+ collectionGroup?: string;
+ limit?: number;
+ limitType?: SpecLimitType;
+ filters?: SpecQueryFilter[];
+ orderBys?: SpecQueryOrderBy[];
+}
+/**
+ * [<key>, <version>, <value>, <doc-options> (optional), ...]
+ * Represents a document. <value> is null for deleted documents.
+ * Doc options are:
+ * 'local': document has local modifications
+ */
+export interface SpecDocument {
+ key: string;
+ version: TestSnapshotVersion;
+ createTime: TestSnapshotVersion;
+ value: JsonObject<unknown> | null;
+ options?: DocumentOptions;
+}
+export interface SnapshotEvent {
+ query: SpecQuery;
+ errorCode?: number;
+ fromCache?: boolean;
+ hasPendingWrites?: boolean;
+ added?: SpecDocument[];
+ removed?: SpecDocument[];
+ modified?: SpecDocument[];
+ metadata?: SpecDocument[];
+}
+export interface StateExpectation {
+ /** Number of outstanding writes in the datastore queue. */
+ numOutstandingWrites?: number;
+ /** Number of clients currently marked active. Used in multi-client tests. */
+ numActiveClients?: number;
+ /** Number of requests sent to the write stream. */
+ writeStreamRequestCount?: number;
+ /** Number of requests sent to the watch stream. */
+ watchStreamRequestCount?: number;
+ /**
+ * Current documents in limbo that have an active target.
+ * Verified in each step until overwritten.
+ */
+ activeLimboDocs?: string[];
+ /**
+ * Current documents in limbo that are enqueued and therefore do not have an
+ * active target.
+ * Verified in each step until overwritten.
+ */
+ enqueuedLimboDocs?: string[];
+ /**
+ * Whether the instance holds the primary lease. Used in multi-client tests.
+ */
+ isPrimary?: boolean;
+ /** Whether the client is shutdown. */
+ isShutdown?: boolean;
+ /**
+ * Current expected active targets. Verified in each step until overwritten.
+ */
+ activeTargets?: ActiveTargetMap;
+ /**
+ * Expected set of callbacks for previously written docs.
+ */
+ userCallbacks?: {
+ acknowledgedDocs: string[];
+ rejectedDocs: string[];
+ };
+ /** Indexes */
+ indexes?: FieldIndex[];
+}
+export {};
diff --git a/frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/specs/write_spec.test.d.ts b/frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/specs/write_spec.test.d.ts
new file mode 100644
index 0000000..9444bf8
--- /dev/null
+++ b/frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/specs/write_spec.test.d.ts
@@ -0,0 +1,17 @@
+/**
+ * @license
+ * Copyright 2017 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+export {};
diff --git a/frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/util/array.test.d.ts b/frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/util/array.test.d.ts
new file mode 100644
index 0000000..9b0c1ff
--- /dev/null
+++ b/frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/util/array.test.d.ts
@@ -0,0 +1,17 @@
+/**
+ * @license
+ * Copyright 2022 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+export {};
diff --git a/frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/util/assert.test.d.ts b/frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/util/assert.test.d.ts
new file mode 100644
index 0000000..1a6762b
--- /dev/null
+++ b/frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/util/assert.test.d.ts
@@ -0,0 +1,17 @@
+/**
+ * @license
+ * Copyright 2025 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+export {};
diff --git a/frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/util/async_queue.test.d.ts b/frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/util/async_queue.test.d.ts
new file mode 100644
index 0000000..9444bf8
--- /dev/null
+++ b/frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/util/async_queue.test.d.ts
@@ -0,0 +1,17 @@
+/**
+ * @license
+ * Copyright 2017 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+export {};
diff --git a/frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/util/base64.test.d.ts b/frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/util/base64.test.d.ts
new file mode 100644
index 0000000..731d2d9
--- /dev/null
+++ b/frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/util/base64.test.d.ts
@@ -0,0 +1,17 @@
+/**
+ * @license
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+export {};
diff --git a/frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/util/bundle.test.d.ts b/frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/util/bundle.test.d.ts
new file mode 100644
index 0000000..56e142c
--- /dev/null
+++ b/frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/util/bundle.test.d.ts
@@ -0,0 +1,8 @@
+/**
+ * Create a `ReadableStream` from a string.
+ *
+ * @param content - Bundle in string.
+ * @param bytesPerRead - How many bytes to read from the underlying buffer from
+ * each read through the stream.
+ */
+export declare function byteStreamReaderFromString(content: string, bytesPerRead: number): ReadableStreamDefaultReader<Uint8Array>;
diff --git a/frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/util/bundle_data.d.ts b/frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/util/bundle_data.d.ts
new file mode 100644
index 0000000..de7a107
--- /dev/null
+++ b/frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/util/bundle_data.d.ts
@@ -0,0 +1,50 @@
+/**
+ * @license
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+import { DatabaseId } from '../../../src/core/database_info';
+import { Query } from '../../../src/core/query';
+import { DocumentKey } from '../../../src/model/document_key';
+import { BundleElement } from '../../../src/protos/firestore_bundle_proto';
+import * as api from '../../../src/protos/firestore_proto_api';
+import { Value } from '../../../src/protos/firestore_proto_api';
+export declare const encoder: TextEncoder;
+export declare class TestBundleBuilder {
+ private databaseId;
+ readonly elements: BundleElement[];
+ private serializer;
+ constructor(databaseId: DatabaseId);
+ addDocumentMetadata(docKey: DocumentKey, readTime: api.Timestamp, exists: boolean): TestBundleBuilder;
+ addDocument(docKey: DocumentKey, createTime: api.Timestamp, updateTime: api.Timestamp, fields: api.ApiClientObjectMap<Value>): TestBundleBuilder;
+ addNamedQuery(name: string, readTime: api.Timestamp, query: Query): TestBundleBuilder;
+ getMetadataElement(id: string, createTime: api.Timestamp, version?: number): BundleElement;
+ build(id: string, createTime: api.Timestamp, version?: number): string;
+}
+export declare const meta: BundleElement;
+export declare const metaString: string;
+export declare const doc1Meta: BundleElement;
+export declare const doc1MetaString: string;
+export declare const doc1: BundleElement;
+export declare const doc1String: string;
+export declare const doc2Meta: BundleElement;
+export declare const doc2MetaString: string;
+export declare const doc2: BundleElement;
+export declare const doc2String: string;
+export declare const noDocMeta: BundleElement;
+export declare const noDocMetaString: string;
+export declare const limitQuery: BundleElement;
+export declare const limitQueryString: string;
+export declare const limitToLastQuery: BundleElement;
+export declare const limitToLastQueryString: string;
diff --git a/frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/util/logic_utils.test.d.ts b/frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/util/logic_utils.test.d.ts
new file mode 100644
index 0000000..9b0c1ff
--- /dev/null
+++ b/frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/util/logic_utils.test.d.ts
@@ -0,0 +1,17 @@
+/**
+ * @license
+ * Copyright 2022 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+export {};
diff --git a/frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/util/misc.test.d.ts b/frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/util/misc.test.d.ts
new file mode 100644
index 0000000..9444bf8
--- /dev/null
+++ b/frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/util/misc.test.d.ts
@@ -0,0 +1,17 @@
+/**
+ * @license
+ * Copyright 2017 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+export {};
diff --git a/frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/util/node_api.test.d.ts b/frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/util/node_api.test.d.ts
new file mode 100644
index 0000000..9444bf8
--- /dev/null
+++ b/frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/util/node_api.test.d.ts
@@ -0,0 +1,17 @@
+/**
+ * @license
+ * Copyright 2017 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+export {};
diff --git a/frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/util/obj_map.test.d.ts b/frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/util/obj_map.test.d.ts
new file mode 100644
index 0000000..9444bf8
--- /dev/null
+++ b/frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/util/obj_map.test.d.ts
@@ -0,0 +1,17 @@
+/**
+ * @license
+ * Copyright 2017 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+export {};
diff --git a/frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/util/sorted_map.test.d.ts b/frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/util/sorted_map.test.d.ts
new file mode 100644
index 0000000..9444bf8
--- /dev/null
+++ b/frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/util/sorted_map.test.d.ts
@@ -0,0 +1,17 @@
+/**
+ * @license
+ * Copyright 2017 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+export {};
diff --git a/frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/util/sorted_set.test.d.ts b/frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/util/sorted_set.test.d.ts
new file mode 100644
index 0000000..9444bf8
--- /dev/null
+++ b/frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/test/unit/util/sorted_set.test.d.ts
@@ -0,0 +1,17 @@
+/**
+ * @license
+ * Copyright 2017 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+export {};