diff options
| author | altaf-creator <dev@altafcreator.com> | 2025-11-16 19:08:29 +0800 |
|---|---|---|
| committer | altaf-creator <dev@altafcreator.com> | 2025-11-16 19:08:29 +0800 |
| commit | 434aa8343fdcbb4d5002f934979913c099489bee (patch) | |
| tree | 55bab4ec5a6151be57797d34f61faf5ea744471b /frontend-old/node_modules/@firebase/firestore/dist/firestore/test | |
| parent | 893c388d4e99442a36005e5971a87730623f946e (diff) | |
sdk, del
Diffstat (limited to 'frontend-old/node_modules/@firebase/firestore/dist/firestore/test')
153 files changed, 0 insertions, 4231 deletions
diff --git a/frontend-old/node_modules/@firebase/firestore/dist/firestore/test/integration/api/aggregation.test.d.ts b/frontend-old/node_modules/@firebase/firestore/dist/firestore/test/integration/api/aggregation.test.d.ts deleted file mode 100644 index 9b0c1ff..0000000 --- a/frontend-old/node_modules/@firebase/firestore/dist/firestore/test/integration/api/aggregation.test.d.ts +++ /dev/null @@ -1,17 +0,0 @@ -/** - * @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/firestore/test/integration/api/array_transforms.test.d.ts b/frontend-old/node_modules/@firebase/firestore/dist/firestore/test/integration/api/array_transforms.test.d.ts deleted file mode 100644 index c53048a..0000000 --- a/frontend-old/node_modules/@firebase/firestore/dist/firestore/test/integration/api/array_transforms.test.d.ts +++ /dev/null @@ -1,17 +0,0 @@ -/** - * @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/firestore/test/integration/api/batch_writes.test.d.ts b/frontend-old/node_modules/@firebase/firestore/dist/firestore/test/integration/api/batch_writes.test.d.ts deleted file mode 100644 index 9444bf8..0000000 --- a/frontend-old/node_modules/@firebase/firestore/dist/firestore/test/integration/api/batch_writes.test.d.ts +++ /dev/null @@ -1,17 +0,0 @@ -/** - * @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/firestore/test/integration/api/bundle.test.d.ts b/frontend-old/node_modules/@firebase/firestore/dist/firestore/test/integration/api/bundle.test.d.ts deleted file mode 100644 index e2ec7a1..0000000 --- a/frontend-old/node_modules/@firebase/firestore/dist/firestore/test/integration/api/bundle.test.d.ts +++ /dev/null @@ -1,17 +0,0 @@ -/** - * @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 declare const encoder: TextEncoder; diff --git a/frontend-old/node_modules/@firebase/firestore/dist/firestore/test/integration/api/composite_index_query.test.d.ts b/frontend-old/node_modules/@firebase/firestore/dist/firestore/test/integration/api/composite_index_query.test.d.ts deleted file mode 100644 index 615869e..0000000 --- a/frontend-old/node_modules/@firebase/firestore/dist/firestore/test/integration/api/composite_index_query.test.d.ts +++ /dev/null @@ -1,17 +0,0 @@ -/** - * @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/firestore/test/integration/api/cursor.test.d.ts b/frontend-old/node_modules/@firebase/firestore/dist/firestore/test/integration/api/cursor.test.d.ts deleted file mode 100644 index 9444bf8..0000000 --- a/frontend-old/node_modules/@firebase/firestore/dist/firestore/test/integration/api/cursor.test.d.ts +++ /dev/null @@ -1,17 +0,0 @@ -/** - * @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/firestore/test/integration/api/database.test.d.ts b/frontend-old/node_modules/@firebase/firestore/dist/firestore/test/integration/api/database.test.d.ts deleted file mode 100644 index 9444bf8..0000000 --- a/frontend-old/node_modules/@firebase/firestore/dist/firestore/test/integration/api/database.test.d.ts +++ /dev/null @@ -1,17 +0,0 @@ -/** - * @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/firestore/test/integration/api/fields.test.d.ts b/frontend-old/node_modules/@firebase/firestore/dist/firestore/test/integration/api/fields.test.d.ts deleted file mode 100644 index 9444bf8..0000000 --- a/frontend-old/node_modules/@firebase/firestore/dist/firestore/test/integration/api/fields.test.d.ts +++ /dev/null @@ -1,17 +0,0 @@ -/** - * @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/firestore/test/integration/api/get_options.test.d.ts b/frontend-old/node_modules/@firebase/firestore/dist/firestore/test/integration/api/get_options.test.d.ts deleted file mode 100644 index c53048a..0000000 --- a/frontend-old/node_modules/@firebase/firestore/dist/firestore/test/integration/api/get_options.test.d.ts +++ /dev/null @@ -1,17 +0,0 @@ -/** - * @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/firestore/test/integration/api/index_configuration.test.d.ts b/frontend-old/node_modules/@firebase/firestore/dist/firestore/test/integration/api/index_configuration.test.d.ts deleted file mode 100644 index daa6d5d..0000000 --- a/frontend-old/node_modules/@firebase/firestore/dist/firestore/test/integration/api/index_configuration.test.d.ts +++ /dev/null @@ -1,17 +0,0 @@ -/** - * @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/firestore/test/integration/api/numeric_transforms.test.d.ts b/frontend-old/node_modules/@firebase/firestore/dist/firestore/test/integration/api/numeric_transforms.test.d.ts deleted file mode 100644 index c53048a..0000000 --- a/frontend-old/node_modules/@firebase/firestore/dist/firestore/test/integration/api/numeric_transforms.test.d.ts +++ /dev/null @@ -1,17 +0,0 @@ -/** - * @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/firestore/test/integration/api/persistent_cache_index_manager.test.d.ts b/frontend-old/node_modules/@firebase/firestore/dist/firestore/test/integration/api/persistent_cache_index_manager.test.d.ts deleted file mode 100644 index 615869e..0000000 --- a/frontend-old/node_modules/@firebase/firestore/dist/firestore/test/integration/api/persistent_cache_index_manager.test.d.ts +++ /dev/null @@ -1,17 +0,0 @@ -/** - * @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/firestore/test/integration/api/provider.test.d.ts b/frontend-old/node_modules/@firebase/firestore/dist/firestore/test/integration/api/provider.test.d.ts deleted file mode 100644 index 9b0c1ff..0000000 --- a/frontend-old/node_modules/@firebase/firestore/dist/firestore/test/integration/api/provider.test.d.ts +++ /dev/null @@ -1,17 +0,0 @@ -/** - * @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/firestore/test/integration/api/query.test.d.ts b/frontend-old/node_modules/@firebase/firestore/dist/firestore/test/integration/api/query.test.d.ts deleted file mode 100644 index 777341d..0000000 --- a/frontend-old/node_modules/@firebase/firestore/dist/firestore/test/integration/api/query.test.d.ts +++ /dev/null @@ -1,18 +0,0 @@ -/** - * @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 { DocumentChange, DocumentChangeType } from '../util/firebase_export'; -export declare function verifyDocumentChange<T>(change: DocumentChange<T>, id: string, oldIndex: number, newIndex: number, type: DocumentChangeType): void; diff --git a/frontend-old/node_modules/@firebase/firestore/dist/firestore/test/integration/api/server_timestamp.test.d.ts b/frontend-old/node_modules/@firebase/firestore/dist/firestore/test/integration/api/server_timestamp.test.d.ts deleted file mode 100644 index 9444bf8..0000000 --- a/frontend-old/node_modules/@firebase/firestore/dist/firestore/test/integration/api/server_timestamp.test.d.ts +++ /dev/null @@ -1,17 +0,0 @@ -/** - * @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/firestore/test/integration/api/smoke.test.d.ts b/frontend-old/node_modules/@firebase/firestore/dist/firestore/test/integration/api/smoke.test.d.ts deleted file mode 100644 index 9444bf8..0000000 --- a/frontend-old/node_modules/@firebase/firestore/dist/firestore/test/integration/api/smoke.test.d.ts +++ /dev/null @@ -1,17 +0,0 @@ -/** - * @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/firestore/test/integration/api/snapshot_listener_source.test.d.ts b/frontend-old/node_modules/@firebase/firestore/dist/firestore/test/integration/api/snapshot_listener_source.test.d.ts deleted file mode 100644 index 88c3c0e..0000000 --- a/frontend-old/node_modules/@firebase/firestore/dist/firestore/test/integration/api/snapshot_listener_source.test.d.ts +++ /dev/null @@ -1,17 +0,0 @@ -/** - * @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/firestore/test/integration/api/transactions.test.d.ts b/frontend-old/node_modules/@firebase/firestore/dist/firestore/test/integration/api/transactions.test.d.ts deleted file mode 100644 index 9444bf8..0000000 --- a/frontend-old/node_modules/@firebase/firestore/dist/firestore/test/integration/api/transactions.test.d.ts +++ /dev/null @@ -1,17 +0,0 @@ -/** - * @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/firestore/test/integration/api/type.test.d.ts b/frontend-old/node_modules/@firebase/firestore/dist/firestore/test/integration/api/type.test.d.ts deleted file mode 100644 index 9444bf8..0000000 --- a/frontend-old/node_modules/@firebase/firestore/dist/firestore/test/integration/api/type.test.d.ts +++ /dev/null @@ -1,17 +0,0 @@ -/** - * @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/firestore/test/integration/api/validation.test.d.ts b/frontend-old/node_modules/@firebase/firestore/dist/firestore/test/integration/api/validation.test.d.ts deleted file mode 100644 index 9444bf8..0000000 --- a/frontend-old/node_modules/@firebase/firestore/dist/firestore/test/integration/api/validation.test.d.ts +++ /dev/null @@ -1,17 +0,0 @@ -/** - * @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/firestore/test/integration/api_internal/auth.test.d.ts b/frontend-old/node_modules/@firebase/firestore/dist/firestore/test/integration/api_internal/auth.test.d.ts deleted file mode 100644 index daa6d5d..0000000 --- a/frontend-old/node_modules/@firebase/firestore/dist/firestore/test/integration/api_internal/auth.test.d.ts +++ /dev/null @@ -1,17 +0,0 @@ -/** - * @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/firestore/test/integration/api_internal/database.test.d.ts b/frontend-old/node_modules/@firebase/firestore/dist/firestore/test/integration/api_internal/database.test.d.ts deleted file mode 100644 index 1c93d90..0000000 --- a/frontend-old/node_modules/@firebase/firestore/dist/firestore/test/integration/api_internal/database.test.d.ts +++ /dev/null @@ -1,17 +0,0 @@ -/** - * @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/firestore/test/integration/api_internal/idle_timeout.test.d.ts b/frontend-old/node_modules/@firebase/firestore/dist/firestore/test/integration/api_internal/idle_timeout.test.d.ts deleted file mode 100644 index 9444bf8..0000000 --- a/frontend-old/node_modules/@firebase/firestore/dist/firestore/test/integration/api_internal/idle_timeout.test.d.ts +++ /dev/null @@ -1,17 +0,0 @@ -/** - * @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/firestore/test/integration/api_internal/transaction.test.d.ts b/frontend-old/node_modules/@firebase/firestore/dist/firestore/test/integration/api_internal/transaction.test.d.ts deleted file mode 100644 index 1c93d90..0000000 --- a/frontend-old/node_modules/@firebase/firestore/dist/firestore/test/integration/api_internal/transaction.test.d.ts +++ /dev/null @@ -1,17 +0,0 @@ -/** - * @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/firestore/test/integration/bootstrap.d.ts b/frontend-old/node_modules/@firebase/firestore/dist/firestore/test/integration/bootstrap.d.ts deleted file mode 100644 index 1391c20..0000000 --- a/frontend-old/node_modules/@firebase/firestore/dist/firestore/test/integration/bootstrap.d.ts +++ /dev/null @@ -1,17 +0,0 @@ -/** - * @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 '../../src/index'; diff --git a/frontend-old/node_modules/@firebase/firestore/dist/firestore/test/integration/browser/indexeddb.test.d.ts b/frontend-old/node_modules/@firebase/firestore/dist/firestore/test/integration/browser/indexeddb.test.d.ts deleted file mode 100644 index 9444bf8..0000000 --- a/frontend-old/node_modules/@firebase/firestore/dist/firestore/test/integration/browser/indexeddb.test.d.ts +++ /dev/null @@ -1,17 +0,0 @@ -/** - * @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/firestore/test/integration/browser/webchannel.test.d.ts b/frontend-old/node_modules/@firebase/firestore/dist/firestore/test/integration/browser/webchannel.test.d.ts deleted file mode 100644 index 9444bf8..0000000 --- a/frontend-old/node_modules/@firebase/firestore/dist/firestore/test/integration/browser/webchannel.test.d.ts +++ /dev/null @@ -1,17 +0,0 @@ -/** - * @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/firestore/test/integration/prime_backend.test.d.ts b/frontend-old/node_modules/@firebase/firestore/dist/firestore/test/integration/prime_backend.test.d.ts deleted file mode 100644 index c53048a..0000000 --- a/frontend-old/node_modules/@firebase/firestore/dist/firestore/test/integration/prime_backend.test.d.ts +++ /dev/null @@ -1,17 +0,0 @@ -/** - * @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/firestore/test/integration/remote/remote.test.d.ts b/frontend-old/node_modules/@firebase/firestore/dist/firestore/test/integration/remote/remote.test.d.ts deleted file mode 100644 index 9444bf8..0000000 --- a/frontend-old/node_modules/@firebase/firestore/dist/firestore/test/integration/remote/remote.test.d.ts +++ /dev/null @@ -1,17 +0,0 @@ -/** - * @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/firestore/test/integration/remote/stream.test.d.ts b/frontend-old/node_modules/@firebase/firestore/dist/firestore/test/integration/remote/stream.test.d.ts deleted file mode 100644 index 4f1864c..0000000 --- a/frontend-old/node_modules/@firebase/firestore/dist/firestore/test/integration/remote/stream.test.d.ts +++ /dev/null @@ -1,54 +0,0 @@ -/** - * @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 { EmptyAuthCredentialsProvider } from '../../../src/api/credentials'; -import { SnapshotVersion } from '../../../src/core/snapshot_version'; -import { MutationResult } from '../../../src/model/mutation'; -import { PersistentListenStream, PersistentWriteStream, WatchStreamListener, WriteStreamListener } from '../../../src/remote/persistent_stream'; -import { DocumentWatchChange, ExistenceFilterChange, WatchTargetChange } from '../../../src/remote/watch_change'; -import { AsyncQueueImpl } from '../../../src/util/async_queue_impl'; -import { FirestoreError } from '../../../src/util/error'; -/** - * StreamEventType combines the events that can be observed by the - * WatchStreamListener and WriteStreamListener. - */ -type StreamEventType = 'handshakeComplete' | 'mutationResult' | 'watchChange' | 'open' | 'close' | 'connected'; -declare class StreamStatusListener implements WatchStreamListener, WriteStreamListener { - private pendingCallbacks; - private pendingPromises; - /** - * Returns a Promise that resolves when the next callback fires. Resolves the - * returned Promise immediately if there is already an unprocessed callback. - * - * This method asserts that the observed callback type matches - * `expectedCallback`. - */ - awaitCallback(expectedCallback: StreamEventType): Promise<void>; - /** - * Verifies that we did not encounter any unexpected callbacks. - */ - verifyNoPendingCallbacks(): void; - onHandshakeComplete(): Promise<void>; - onMutationResult(commitVersion: SnapshotVersion, results: MutationResult[]): Promise<void>; - onWatchChange(watchChange: DocumentWatchChange | WatchTargetChange | ExistenceFilterChange, snapshot: SnapshotVersion): Promise<void>; - onConnected(): Promise<void>; - onOpen(): Promise<void>; - onClose(err?: FirestoreError): Promise<void>; - private resolvePending; -} -export declare function withTestWriteStream(fn: (writeStream: PersistentWriteStream, streamListener: StreamStatusListener, queue: AsyncQueueImpl) => Promise<void>, credentialsProvider?: EmptyAuthCredentialsProvider): Promise<void>; -export declare function withTestWatchStream(fn: (watchStream: PersistentListenStream, streamListener: StreamStatusListener) => Promise<void>): Promise<void>; -export {}; diff --git a/frontend-old/node_modules/@firebase/firestore/dist/firestore/test/integration/util/composite_index_test_helper.d.ts b/frontend-old/node_modules/@firebase/firestore/dist/firestore/test/integration/util/composite_index_test_helper.d.ts deleted file mode 100644 index 39316df..0000000 --- a/frontend-old/node_modules/@firebase/firestore/dist/firestore/test/integration/util/composite_index_test_helper.d.ts +++ /dev/null @@ -1,41 +0,0 @@ -import { CollectionReference, DocumentData, Firestore, Query, QueryConstraint, DocumentReference, QueryCompositeFilterConstraint, QueryNonFilterConstraint, DocumentSnapshot, UpdateData, QuerySnapshot } from './firebase_export'; -import { PERSISTENCE_MODE_UNSPECIFIED, PersistenceMode } from './helpers'; -/** - * This helper class is designed to facilitate integration testing of Firestore queries that - * require composite indexes within a controlled testing environment. - * - * <p>Key Features: - * - * <ul> - * <li>Runs tests against the dedicated test collection with predefined composite indexes. - * <li>Automatically associates a test ID with documents for data isolation. - * <li>Utilizes TTL policy for automatic test data cleanup. - * <li>Constructs Firestore queries with test ID filters. - * </ul> - */ -export declare class CompositeIndexTestHelper { - private readonly testId; - private readonly TEST_ID_FIELD; - private readonly TTL_FIELD; - constructor(); - withTestDocs<T>(persistence: PersistenceMode | typeof PERSISTENCE_MODE_UNSPECIFIED, docs: { - [key: string]: DocumentData; - }, fn: (collection: CollectionReference, db: Firestore) => Promise<T>): Promise<T>; - withTestCollection<T>(persistence: PersistenceMode | typeof PERSISTENCE_MODE_UNSPECIFIED, fn: (collection: CollectionReference, db: Firestore) => Promise<T>): Promise<T>; - private toHashedId; - private toHashedIds; - addTestSpecificFieldsToDoc(doc: DocumentData): DocumentData; - private removeTestSpecificFieldsFromDoc; - private prepareTestDocuments; - assertOnlineAndOfflineResultsMatch(collection: CollectionReference, query: Query, ...expectedDocs: string[]): Promise<void>; - assertSnapshotResultIdsMatch(snapshot: QuerySnapshot, expectedIds: string[]): void; - query<T>(query_: Query<T>, ...queryConstraints: QueryConstraint[]): Query<T>; - compositeQuery<T>(query_: Query<T>, compositeFilter: QueryCompositeFilterConstraint, ...queryConstraints: QueryNonFilterConstraint[]): Query<T>; - getDocRef<T>(coll: CollectionReference<T>, docId: string): DocumentReference<T>; - addDoc<T>(reference: CollectionReference<T>, data: object): Promise<DocumentReference<T>>; - setDoc<T>(reference: DocumentReference<T>, data: object): Promise<void>; - updateDoc<T, DbModelType extends DocumentData>(reference: DocumentReference<T, DbModelType>, data: UpdateData<DbModelType>): Promise<void>; - deleteDoc<T>(reference: DocumentReference<T>): Promise<void>; - getDoc<T>(docRef: DocumentReference<T>): Promise<DocumentSnapshot<T>>; - getDocs<T>(query_: Query<T>): Promise<QuerySnapshot<T>>; -} diff --git a/frontend-old/node_modules/@firebase/firestore/dist/firestore/test/integration/util/events_accumulator.d.ts b/frontend-old/node_modules/@firebase/firestore/dist/firestore/test/integration/util/events_accumulator.d.ts deleted file mode 100644 index 629d5a9..0000000 --- a/frontend-old/node_modules/@firebase/firestore/dist/firestore/test/integration/util/events_accumulator.d.ts +++ /dev/null @@ -1,39 +0,0 @@ -/** - * @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 { DocumentSnapshot, QuerySnapshot } from './firebase_export'; -/** - * A helper object that can accumulate an arbitrary amount of events and resolve - * a promise when expected number has been emitted. - */ -export declare class EventsAccumulator<T extends DocumentSnapshot | QuerySnapshot> { - private events; - private waitingFor; - private deferred; - private rejectAdditionalEvents; - storeEvent: (evt: T) => void; - awaitEvents(length: number): Promise<T[]>; - awaitEvent(): Promise<T>; - /** Waits for a latency compensated local snapshot. */ - awaitLocalEvent(): Promise<T>; - /** Waits for multiple latency compensated local snapshot. */ - awaitLocalEvents(count: number): Promise<T[]>; - /** Waits for a snapshot that has no pending writes */ - awaitRemoteEvent(): Promise<T>; - assertNoAdditionalEvents(): Promise<void>; - allowAdditionalEvents(): void; - private checkFulfilled; -} diff --git a/frontend-old/node_modules/@firebase/firestore/dist/firestore/test/integration/util/firebase_export.d.ts b/frontend-old/node_modules/@firebase/firestore/dist/firestore/test/integration/util/firebase_export.d.ts deleted file mode 100644 index 7d96efd..0000000 --- a/frontend-old/node_modules/@firebase/firestore/dist/firestore/test/integration/util/firebase_export.d.ts +++ /dev/null @@ -1,23 +0,0 @@ -/** - * @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 { FirebaseApp } from '@firebase/app'; -import { Firestore } from '../../../src'; -import { PrivateSettings } from '../../../src/lite-api/settings'; -export declare function newTestApp(projectId: string, appName?: string): FirebaseApp; -export declare function newTestFirestore(app: FirebaseApp, settings?: PrivateSettings, dbName?: string): Firestore; -export * from '../../../src'; -export { PrivateSettings }; diff --git a/frontend-old/node_modules/@firebase/firestore/dist/firestore/test/integration/util/helpers.d.ts b/frontend-old/node_modules/@firebase/firestore/dist/firestore/test/integration/util/helpers.d.ts deleted file mode 100644 index 731369e..0000000 --- a/frontend-old/node_modules/@firebase/firestore/dist/firestore/test/integration/util/helpers.d.ts +++ /dev/null @@ -1,138 +0,0 @@ -/** - * @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 { CollectionReference, DocumentData, DocumentReference, Firestore, MemoryLocalCache, PersistentLocalCache, PrivateSettings, QuerySnapshot, SnapshotListenOptions, Query } from './firebase_export'; -export interface PersistenceMode { - readonly name: string; - readonly storage: 'memory' | 'indexeddb'; - readonly gc: 'eager' | 'lru'; - /** - * Creates and returns a new `PersistenceMode` object that is the nearest - * equivalent to this persistence mode but uses eager garbage collection. - */ - toEagerGc(): PersistenceMode; - /** - * Creates and returns a new `PersistenceMode` object that is the nearest - * equivalent to this persistence mode but uses LRU garbage collection. - */ - toLruGc(): PersistenceMode; - /** - * Creates and returns a new "local cache" object corresponding to this - * persistence type. - */ - asLocalCacheFirestoreSettings(): MemoryLocalCache | PersistentLocalCache; -} -export declare class MemoryEagerPersistenceMode implements PersistenceMode { - readonly name = "memory"; - readonly storage = "memory"; - readonly gc = "eager"; - toEagerGc(): MemoryEagerPersistenceMode; - toLruGc(): MemoryLruPersistenceMode; - asLocalCacheFirestoreSettings(): MemoryLocalCache; -} -export declare class MemoryLruPersistenceMode implements PersistenceMode { - readonly name = "memory_lru_gc"; - readonly storage = "memory"; - readonly gc = "lru"; - toEagerGc(): MemoryEagerPersistenceMode; - toLruGc(): MemoryLruPersistenceMode; - asLocalCacheFirestoreSettings(): MemoryLocalCache; -} -export declare class IndexedDbPersistenceMode implements PersistenceMode { - readonly name = "indexeddb"; - readonly storage = "indexeddb"; - readonly gc = "lru"; - toEagerGc(): MemoryEagerPersistenceMode; - toLruGc(): IndexedDbPersistenceMode; - asLocalCacheFirestoreSettings(): PersistentLocalCache; -} -export declare const PERSISTENCE_MODE_UNSPECIFIED: unique symbol; -export declare function isPersistenceAvailable(): boolean; -type ApiSuiteFunction = (message: string, testSuite: (persistence: PersistenceMode) => void) => void; -interface ApiDescribe { - (message: string, testSuite: (persistence: PersistenceMode) => void): void; - skip: ApiSuiteFunction; - only: ApiSuiteFunction; -} -export declare const apiDescribe: ApiDescribe; -/** Converts the documents in a QuerySnapshot to an array with the data of each document. */ -export declare function toDataArray(docSet: QuerySnapshot): DocumentData[]; -/** Converts the changes in a QuerySnapshot to an array with the data of each document. */ -export declare function toChangesArray(docSet: QuerySnapshot, options?: SnapshotListenOptions): DocumentData[]; -export declare function toDataMap(docSet: QuerySnapshot): { - [field: string]: DocumentData; -}; -/** Converts a DocumentSet to an array with the id of each document */ -export declare function toIds(docSet: QuerySnapshot): string[]; -export declare function withTestDb(persistence: PersistenceMode | typeof PERSISTENCE_MODE_UNSPECIFIED, fn: (db: Firestore) => Promise<void>): Promise<void>; -/** Runs provided fn with a db for an alternate project id. */ -export declare function withAlternateTestDb(persistence: PersistenceMode | typeof PERSISTENCE_MODE_UNSPECIFIED, fn: (db: Firestore) => Promise<void>): Promise<void>; -export declare function withTestDbs(persistence: PersistenceMode | typeof PERSISTENCE_MODE_UNSPECIFIED, numDbs: number, fn: (db: Firestore[]) => Promise<void>): Promise<void>; -export declare function withTestDbsSettings<T>(persistence: PersistenceMode | typeof PERSISTENCE_MODE_UNSPECIFIED, projectId: string, settings: PrivateSettings, numDbs: number, fn: (db: Firestore[]) => Promise<T>): Promise<T>; -export declare function withNamedTestDbsOrSkipUnlessUsingEmulator(persistence: PersistenceMode, dbNames: string[], fn: (db: Firestore[]) => Promise<void>): Promise<void>; -export declare function withTestDoc(persistence: PersistenceMode | typeof PERSISTENCE_MODE_UNSPECIFIED, fn: (doc: DocumentReference, db: Firestore) => Promise<void>): Promise<void>; -export declare function withTestDocAndSettings(persistence: PersistenceMode | typeof PERSISTENCE_MODE_UNSPECIFIED, settings: PrivateSettings, fn: (doc: DocumentReference) => Promise<void>): Promise<void>; -export declare function withTestDocAndInitialData(persistence: PersistenceMode | typeof PERSISTENCE_MODE_UNSPECIFIED, initialData: DocumentData | null, fn: (doc: DocumentReference, db: Firestore) => Promise<void>): Promise<void>; -export declare class RetryError extends Error { - readonly name = "FirestoreIntegrationTestRetryError"; -} -export declare function withRetry<T>(fn: (attemptNumber: number) => Promise<T>): Promise<T>; -export declare function withTestCollection<T>(persistence: PersistenceMode | typeof PERSISTENCE_MODE_UNSPECIFIED, docs: { - [key: string]: DocumentData; -}, fn: (collection: CollectionReference, db: Firestore) => Promise<T>): Promise<T>; -export declare function withEmptyTestCollection(persistence: PersistenceMode | typeof PERSISTENCE_MODE_UNSPECIFIED, fn: (collection: CollectionReference, db: Firestore) => Promise<void>): Promise<void>; -export declare function withTestCollectionSettings<T>(persistence: PersistenceMode | typeof PERSISTENCE_MODE_UNSPECIFIED, settings: PrivateSettings, docs: { - [key: string]: DocumentData; -}, fn: (collection: CollectionReference, db: Firestore) => Promise<T>): Promise<T>; -export declare function batchCommitDocsToCollection<T>(persistence: PersistenceMode | typeof PERSISTENCE_MODE_UNSPECIFIED, settings: PrivateSettings, docs: { - [key: string]: DocumentData; -}, collectionId: string, fn: (collection: CollectionReference, db: Firestore) => Promise<T>): Promise<T>; -/** - * Creates a `docs` argument suitable for specifying to `withTestCollection()` - * that defines subsets of documents with different document data. - * - * This can be useful for pre-populating a collection with some documents that - * match a query and others that do _not_ match that query. - * - * Each key of the given `partitions` object will be considered a partition - * "name". The returned object will specify `documentCount` documents with the - * `documentData` whose document IDs are prefixed with the partition "name". - */ -export declare function partitionedTestDocs(partitions: { - [partitionName: string]: { - documentData: DocumentData; - documentCount: number; - }; -}): { - [key: string]: DocumentData; -}; -/** - * Checks that running the query while online (against the backend/emulator) results in the same - * documents as running the query while offline. If `expectedDocs` is provided, it also checks - * that both online and offline query result is equal to the expected documents. - * - * This function first performs a "get" for the entire COLLECTION from the server. - * It then performs the QUERY from CACHE which, results in `executeFullCollectionScan()` - * It then performs the QUERY from SERVER. - * It then performs the QUERY from CACHE again, which results in `performQueryUsingRemoteKeys()`. - * It then ensure that all the above QUERY results are the same. - * - * @param collection The collection on which the query is performed. - * @param query The query to check - * @param expectedDocs Ordered list of document keys that are expected to match the query - */ -export declare function checkOnlineAndOfflineResultsMatch(collection: Query, query: Query, ...expectedDocs: string[]): Promise<void>; -export {}; diff --git a/frontend-old/node_modules/@firebase/firestore/dist/firestore/test/integration/util/internal_helpers.d.ts b/frontend-old/node_modules/@firebase/firestore/dist/firestore/test/integration/util/internal_helpers.d.ts deleted file mode 100644 index cd23cb2..0000000 --- a/frontend-old/node_modules/@firebase/firestore/dist/firestore/test/integration/util/internal_helpers.d.ts +++ /dev/null @@ -1,34 +0,0 @@ -/** - * @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 { CredentialChangeListener, CredentialsProvider, EmptyAuthCredentialsProvider } from '../../../src/api/credentials'; -import { User } from '../../../src/auth/user'; -import { DatabaseInfo } from '../../../src/core/database_info'; -import { Datastore } from '../../../src/remote/datastore'; -import { AsyncQueue } from '../../../src/util/async_queue'; -import { AsyncQueueImpl } from '../../../src/util/async_queue_impl'; -import { Firestore } from './firebase_export'; -import { PersistenceMode } from './helpers'; -export declare function asyncQueue(db: Firestore): AsyncQueueImpl; -export declare function getDefaultDatabaseInfo(): DatabaseInfo; -export declare function withTestDatastore(fn: (datastore: Datastore) => Promise<void>, authCredentialsProvider?: CredentialsProvider<User>, appCheckTokenProvider?: CredentialsProvider<string>): Promise<void>; -export declare class MockAuthCredentialsProvider extends EmptyAuthCredentialsProvider { - private listener; - private asyncQueue; - triggerUserChange(newUser: User): void; - start(asyncQueue: AsyncQueue, listener: CredentialChangeListener<User>): void; -} -export declare function withMockCredentialProviderTestDb(persistence: PersistenceMode, fn: (db: Firestore, mockCredential: MockAuthCredentialsProvider) => Promise<void>): Promise<void>; diff --git a/frontend-old/node_modules/@firebase/firestore/dist/firestore/test/integration/util/settings.d.ts b/frontend-old/node_modules/@firebase/firestore/dist/firestore/test/integration/util/settings.d.ts deleted file mode 100644 index 850a5f2..0000000 --- a/frontend-old/node_modules/@firebase/firestore/dist/firestore/test/integration/util/settings.d.ts +++ /dev/null @@ -1,24 +0,0 @@ -/** - * @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 { PrivateSettings } from './firebase_export'; -export declare const TARGET_DB_ID: string | '(default)'; -export declare const USE_EMULATOR: boolean; -export declare const DEFAULT_SETTINGS: PrivateSettings; -export declare function getEmulatorPort(): number; -export declare const DEFAULT_PROJECT_ID: any; -export declare const ALT_PROJECT_ID = "test-db2"; -export declare const COMPOSITE_INDEX_TEST_COLLECTION = "composite-index-test-collection"; diff --git a/frontend-old/node_modules/@firebase/firestore/dist/firestore/test/integration/util/testing_hooks_util.d.ts b/frontend-old/node_modules/@firebase/firestore/dist/firestore/test/integration/util/testing_hooks_util.d.ts deleted file mode 100644 index 600f0fd..0000000 --- a/frontend-old/node_modules/@firebase/firestore/dist/firestore/test/integration/util/testing_hooks_util.d.ts +++ /dev/null @@ -1,44 +0,0 @@ -/** - * @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. - */ -import { DocumentReference } from './firebase_export'; -/** - * Captures all existence filter mismatches in the Watch 'Listen' stream that - * occur during the execution of the given code block. - * @param callback The callback to invoke; during the invocation of this - * callback all existence filter mismatches will be captured. - * @return the captured existence filter mismatches and the result of awaiting - * the given callback. - */ -export declare function captureExistenceFilterMismatches<T>(callback: () => Promise<T>): Promise<[ExistenceFilterMismatchInfo[], T]>; -/** - * Information about an existence filter mismatch, captured during an invocation - * of `captureExistenceFilterMismatches()`. - * - * See the documentation of `ExistenceFilterMismatchInfo` in - * `testing_hooks_spi.ts` for the meaning of these values. - */ -export interface ExistenceFilterMismatchInfo { - localCacheCount: number; - existenceFilterCount: number; - bloomFilter?: { - applied: boolean; - hashCount: number; - bitmapLength: number; - padding: number; - mightContain(documentRef: DocumentReference): boolean; - }; -} diff --git a/frontend-old/node_modules/@firebase/firestore/dist/firestore/test/lite/bootstrap.d.ts b/frontend-old/node_modules/@firebase/firestore/dist/firestore/test/lite/bootstrap.d.ts deleted file mode 100644 index 731d2d9..0000000 --- a/frontend-old/node_modules/@firebase/firestore/dist/firestore/test/lite/bootstrap.d.ts +++ /dev/null @@ -1,17 +0,0 @@ -/** - * @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/firestore/test/lite/helpers.d.ts b/frontend-old/node_modules/@firebase/firestore/dist/firestore/test/lite/helpers.d.ts deleted file mode 100644 index 1033563..0000000 --- a/frontend-old/node_modules/@firebase/firestore/dist/firestore/test/lite/helpers.d.ts +++ /dev/null @@ -1,41 +0,0 @@ -/** - * @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 { Firestore } from '../../src/lite-api/database'; -import { DocumentData, CollectionReference, DocumentReference, SetOptions, PartialWithFieldValue } from '../../src/lite-api/reference'; -import { FirestoreSettings } from '../../src/lite-api/settings'; -import { QueryDocumentSnapshot } from '../../src/lite-api/snapshot'; -export declare function withTestDbSettings(projectId: string, settings: FirestoreSettings, fn: (db: Firestore) => void | Promise<void>): Promise<void>; -export declare function withTestDb(fn: (db: Firestore) => void | Promise<void>): Promise<void>; -export declare function withTestDoc(fn: (doc: DocumentReference) => void | Promise<void>): Promise<void>; -export declare function withTestDocAndInitialData(data: DocumentData, fn: (doc: DocumentReference<DocumentData>) => void | Promise<void>): Promise<void>; -export declare function withTestCollectionAndInitialData(data: DocumentData[], fn: (collRef: CollectionReference<DocumentData>) => void | Promise<void>): Promise<void>; -export declare function withTestCollection(fn: (collRef: CollectionReference) => void | Promise<void>): Promise<void>; -export declare class Post { - readonly title: string; - readonly author: string; - readonly id: number; - constructor(title: string, author: string, id?: number); - byline(): string; -} -export declare const postConverter: { - toFirestore(post: Post): DocumentData; - fromFirestore(snapshot: QueryDocumentSnapshot<DocumentData>): Post; -}; -export declare const postConverterMerge: { - toFirestore(post: PartialWithFieldValue<Post>, options?: SetOptions): DocumentData; - fromFirestore(snapshot: QueryDocumentSnapshot<DocumentData>): Post; -}; diff --git a/frontend-old/node_modules/@firebase/firestore/dist/firestore/test/lite/integration.test.d.ts b/frontend-old/node_modules/@firebase/firestore/dist/firestore/test/lite/integration.test.d.ts deleted file mode 100644 index 731d2d9..0000000 --- a/frontend-old/node_modules/@firebase/firestore/dist/firestore/test/lite/integration.test.d.ts +++ /dev/null @@ -1,17 +0,0 @@ -/** - * @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/firestore/test/register.d.ts b/frontend-old/node_modules/@firebase/firestore/dist/firestore/test/register.d.ts deleted file mode 100644 index daa6d5d..0000000 --- a/frontend-old/node_modules/@firebase/firestore/dist/firestore/test/register.d.ts +++ /dev/null @@ -1,17 +0,0 @@ -/** - * @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/firestore/test/unit/api/aggregate.test.d.ts b/frontend-old/node_modules/@firebase/firestore/dist/firestore/test/unit/api/aggregate.test.d.ts deleted file mode 100644 index 9b0c1ff..0000000 --- a/frontend-old/node_modules/@firebase/firestore/dist/firestore/test/unit/api/aggregate.test.d.ts +++ /dev/null @@ -1,17 +0,0 @@ -/** - * @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/firestore/test/unit/api/bytes.test.d.ts b/frontend-old/node_modules/@firebase/firestore/dist/firestore/test/unit/api/bytes.test.d.ts deleted file mode 100644 index 9444bf8..0000000 --- a/frontend-old/node_modules/@firebase/firestore/dist/firestore/test/unit/api/bytes.test.d.ts +++ /dev/null @@ -1,17 +0,0 @@ -/** - * @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/firestore/test/unit/api/database.test.d.ts b/frontend-old/node_modules/@firebase/firestore/dist/firestore/test/unit/api/database.test.d.ts deleted file mode 100644 index 9444bf8..0000000 --- a/frontend-old/node_modules/@firebase/firestore/dist/firestore/test/unit/api/database.test.d.ts +++ /dev/null @@ -1,17 +0,0 @@ -/** - * @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/firestore/test/unit/api/document_change.test.d.ts b/frontend-old/node_modules/@firebase/firestore/dist/firestore/test/unit/api/document_change.test.d.ts deleted file mode 100644 index 9444bf8..0000000 --- a/frontend-old/node_modules/@firebase/firestore/dist/firestore/test/unit/api/document_change.test.d.ts +++ /dev/null @@ -1,17 +0,0 @@ -/** - * @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/firestore/test/unit/api/field_path.test.d.ts b/frontend-old/node_modules/@firebase/firestore/dist/firestore/test/unit/api/field_path.test.d.ts deleted file mode 100644 index 9444bf8..0000000 --- a/frontend-old/node_modules/@firebase/firestore/dist/firestore/test/unit/api/field_path.test.d.ts +++ /dev/null @@ -1,17 +0,0 @@ -/** - * @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/firestore/test/unit/api/field_value.test.d.ts b/frontend-old/node_modules/@firebase/firestore/dist/firestore/test/unit/api/field_value.test.d.ts deleted file mode 100644 index 9444bf8..0000000 --- a/frontend-old/node_modules/@firebase/firestore/dist/firestore/test/unit/api/field_value.test.d.ts +++ /dev/null @@ -1,17 +0,0 @@ -/** - * @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/firestore/test/unit/api/geo_point.test.d.ts b/frontend-old/node_modules/@firebase/firestore/dist/firestore/test/unit/api/geo_point.test.d.ts deleted file mode 100644 index 9444bf8..0000000 --- a/frontend-old/node_modules/@firebase/firestore/dist/firestore/test/unit/api/geo_point.test.d.ts +++ /dev/null @@ -1,17 +0,0 @@ -/** - * @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/firestore/test/unit/api/long_polling_options.test.d.ts b/frontend-old/node_modules/@firebase/firestore/dist/firestore/test/unit/api/long_polling_options.test.d.ts deleted file mode 100644 index 615869e..0000000 --- a/frontend-old/node_modules/@firebase/firestore/dist/firestore/test/unit/api/long_polling_options.test.d.ts +++ /dev/null @@ -1,17 +0,0 @@ -/** - * @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/firestore/test/unit/api/timestamp.test.d.ts b/frontend-old/node_modules/@firebase/firestore/dist/firestore/test/unit/api/timestamp.test.d.ts deleted file mode 100644 index 9444bf8..0000000 --- a/frontend-old/node_modules/@firebase/firestore/dist/firestore/test/unit/api/timestamp.test.d.ts +++ /dev/null @@ -1,17 +0,0 @@ -/** - * @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/firestore/test/unit/api/vector_value.test.d.ts b/frontend-old/node_modules/@firebase/firestore/dist/firestore/test/unit/api/vector_value.test.d.ts deleted file mode 100644 index 1a6762b..0000000 --- a/frontend-old/node_modules/@firebase/firestore/dist/firestore/test/unit/api/vector_value.test.d.ts +++ /dev/null @@ -1,17 +0,0 @@ -/** - * @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/firestore/test/unit/bootstrap.d.ts b/frontend-old/node_modules/@firebase/firestore/dist/firestore/test/unit/bootstrap.d.ts deleted file mode 100644 index 6a6eae7..0000000 --- a/frontend-old/node_modules/@firebase/firestore/dist/firestore/test/unit/bootstrap.d.ts +++ /dev/null @@ -1,24 +0,0 @@ -/** - * @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/firestore/test/unit/core/event_manager.test.d.ts b/frontend-old/node_modules/@firebase/firestore/dist/firestore/test/unit/core/event_manager.test.d.ts deleted file mode 100644 index 9444bf8..0000000 --- a/frontend-old/node_modules/@firebase/firestore/dist/firestore/test/unit/core/event_manager.test.d.ts +++ /dev/null @@ -1,17 +0,0 @@ -/** - * @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/firestore/test/unit/core/filter.test.d.ts b/frontend-old/node_modules/@firebase/firestore/dist/firestore/test/unit/core/filter.test.d.ts deleted file mode 100644 index 9b0c1ff..0000000 --- a/frontend-old/node_modules/@firebase/firestore/dist/firestore/test/unit/core/filter.test.d.ts +++ /dev/null @@ -1,17 +0,0 @@ -/** - * @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/firestore/test/unit/core/listen_sequence.test.d.ts b/frontend-old/node_modules/@firebase/firestore/dist/firestore/test/unit/core/listen_sequence.test.d.ts deleted file mode 100644 index c53048a..0000000 --- a/frontend-old/node_modules/@firebase/firestore/dist/firestore/test/unit/core/listen_sequence.test.d.ts +++ /dev/null @@ -1,17 +0,0 @@ -/** - * @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/firestore/test/unit/core/query.test.d.ts b/frontend-old/node_modules/@firebase/firestore/dist/firestore/test/unit/core/query.test.d.ts deleted file mode 100644 index 9444bf8..0000000 --- a/frontend-old/node_modules/@firebase/firestore/dist/firestore/test/unit/core/query.test.d.ts +++ /dev/null @@ -1,17 +0,0 @@ -/** - * @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/firestore/test/unit/core/view.test.d.ts b/frontend-old/node_modules/@firebase/firestore/dist/firestore/test/unit/core/view.test.d.ts deleted file mode 100644 index 9444bf8..0000000 --- a/frontend-old/node_modules/@firebase/firestore/dist/firestore/test/unit/core/view.test.d.ts +++ /dev/null @@ -1,17 +0,0 @@ -/** - * @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/firestore/test/unit/core/webchannel_wrapper.test.d.ts b/frontend-old/node_modules/@firebase/firestore/dist/firestore/test/unit/core/webchannel_wrapper.test.d.ts deleted file mode 100644 index 9b0c1ff..0000000 --- a/frontend-old/node_modules/@firebase/firestore/dist/firestore/test/unit/core/webchannel_wrapper.test.d.ts +++ /dev/null @@ -1,17 +0,0 @@ -/** - * @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/firestore/test/unit/index/firestore_index_value_writer.test.d.ts b/frontend-old/node_modules/@firebase/firestore/dist/firestore/test/unit/index/firestore_index_value_writer.test.d.ts deleted file mode 100644 index cb0ff5c..0000000 --- a/frontend-old/node_modules/@firebase/firestore/dist/firestore/test/unit/index/firestore_index_value_writer.test.d.ts +++ /dev/null @@ -1 +0,0 @@ -export {}; diff --git a/frontend-old/node_modules/@firebase/firestore/dist/firestore/test/unit/index/ordered_code_writer.test.d.ts b/frontend-old/node_modules/@firebase/firestore/dist/firestore/test/unit/index/ordered_code_writer.test.d.ts deleted file mode 100644 index 23f261f..0000000 --- a/frontend-old/node_modules/@firebase/firestore/dist/firestore/test/unit/index/ordered_code_writer.test.d.ts +++ /dev/null @@ -1 +0,0 @@ -export declare function compare(left: Uint8Array, right: Uint8Array): number; diff --git a/frontend-old/node_modules/@firebase/firestore/dist/firestore/test/unit/lite-api/types.test.d.ts b/frontend-old/node_modules/@firebase/firestore/dist/firestore/test/unit/lite-api/types.test.d.ts deleted file mode 100644 index cb0ff5c..0000000 --- a/frontend-old/node_modules/@firebase/firestore/dist/firestore/test/unit/lite-api/types.test.d.ts +++ /dev/null @@ -1 +0,0 @@ -export {}; diff --git a/frontend-old/node_modules/@firebase/firestore/dist/firestore/test/unit/local/bundle_cache.test.d.ts b/frontend-old/node_modules/@firebase/firestore/dist/firestore/test/unit/local/bundle_cache.test.d.ts deleted file mode 100644 index 731d2d9..0000000 --- a/frontend-old/node_modules/@firebase/firestore/dist/firestore/test/unit/local/bundle_cache.test.d.ts +++ /dev/null @@ -1,17 +0,0 @@ -/** - * @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/firestore/test/unit/local/counting_query_engine.d.ts b/frontend-old/node_modules/@firebase/firestore/dist/firestore/test/unit/local/counting_query_engine.d.ts deleted file mode 100644 index f2f4574..0000000 --- a/frontend-old/node_modules/@firebase/firestore/dist/firestore/test/unit/local/counting_query_engine.d.ts +++ /dev/null @@ -1,60 +0,0 @@ -/** - * @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/firestore/test/unit/local/document_overlay_cache.test.d.ts b/frontend-old/node_modules/@firebase/firestore/dist/firestore/test/unit/local/document_overlay_cache.test.d.ts deleted file mode 100644 index cb0ff5c..0000000 --- a/frontend-old/node_modules/@firebase/firestore/dist/firestore/test/unit/local/document_overlay_cache.test.d.ts +++ /dev/null @@ -1 +0,0 @@ -export {}; diff --git a/frontend-old/node_modules/@firebase/firestore/dist/firestore/test/unit/local/encoded_resource_path.test.d.ts b/frontend-old/node_modules/@firebase/firestore/dist/firestore/test/unit/local/encoded_resource_path.test.d.ts deleted file mode 100644 index 9444bf8..0000000 --- a/frontend-old/node_modules/@firebase/firestore/dist/firestore/test/unit/local/encoded_resource_path.test.d.ts +++ /dev/null @@ -1,17 +0,0 @@ -/** - * @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/firestore/test/unit/local/globals_cache.test.d.ts b/frontend-old/node_modules/@firebase/firestore/dist/firestore/test/unit/local/globals_cache.test.d.ts deleted file mode 100644 index 88c3c0e..0000000 --- a/frontend-old/node_modules/@firebase/firestore/dist/firestore/test/unit/local/globals_cache.test.d.ts +++ /dev/null @@ -1,17 +0,0 @@ -/** - * @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/firestore/test/unit/local/index_backfiller.test.d.ts b/frontend-old/node_modules/@firebase/firestore/dist/firestore/test/unit/local/index_backfiller.test.d.ts deleted file mode 100644 index 9b0c1ff..0000000 --- a/frontend-old/node_modules/@firebase/firestore/dist/firestore/test/unit/local/index_backfiller.test.d.ts +++ /dev/null @@ -1,17 +0,0 @@ -/** - * @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/firestore/test/unit/local/index_manager.test.d.ts b/frontend-old/node_modules/@firebase/firestore/dist/firestore/test/unit/local/index_manager.test.d.ts deleted file mode 100644 index 1c93d90..0000000 --- a/frontend-old/node_modules/@firebase/firestore/dist/firestore/test/unit/local/index_manager.test.d.ts +++ /dev/null @@ -1,17 +0,0 @@ -/** - * @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/firestore/test/unit/local/indexeddb_persistence.test.d.ts b/frontend-old/node_modules/@firebase/firestore/dist/firestore/test/unit/local/indexeddb_persistence.test.d.ts deleted file mode 100644 index c53048a..0000000 --- a/frontend-old/node_modules/@firebase/firestore/dist/firestore/test/unit/local/indexeddb_persistence.test.d.ts +++ /dev/null @@ -1,17 +0,0 @@ -/** - * @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/firestore/test/unit/local/local_serializer.test.d.ts b/frontend-old/node_modules/@firebase/firestore/dist/firestore/test/unit/local/local_serializer.test.d.ts deleted file mode 100644 index 731d2d9..0000000 --- a/frontend-old/node_modules/@firebase/firestore/dist/firestore/test/unit/local/local_serializer.test.d.ts +++ /dev/null @@ -1,17 +0,0 @@ -/** - * @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/firestore/test/unit/local/local_store.test.d.ts b/frontend-old/node_modules/@firebase/firestore/dist/firestore/test/unit/local/local_store.test.d.ts deleted file mode 100644 index 2ec9c10..0000000 --- a/frontend-old/node_modules/@firebase/firestore/dist/firestore/test/unit/local/local_store.test.d.ts +++ /dev/null @@ -1,24 +0,0 @@ -/** - * @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/firestore/test/unit/local/local_store_indexeddb.test.d.ts b/frontend-old/node_modules/@firebase/firestore/dist/firestore/test/unit/local/local_store_indexeddb.test.d.ts deleted file mode 100644 index 9b0c1ff..0000000 --- a/frontend-old/node_modules/@firebase/firestore/dist/firestore/test/unit/local/local_store_indexeddb.test.d.ts +++ /dev/null @@ -1,17 +0,0 @@ -/** - * @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/firestore/test/unit/local/lru_garbage_collector.test.d.ts b/frontend-old/node_modules/@firebase/firestore/dist/firestore/test/unit/local/lru_garbage_collector.test.d.ts deleted file mode 100644 index c53048a..0000000 --- a/frontend-old/node_modules/@firebase/firestore/dist/firestore/test/unit/local/lru_garbage_collector.test.d.ts +++ /dev/null @@ -1,17 +0,0 @@ -/** - * @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/firestore/test/unit/local/mutation_queue.test.d.ts b/frontend-old/node_modules/@firebase/firestore/dist/firestore/test/unit/local/mutation_queue.test.d.ts deleted file mode 100644 index 9444bf8..0000000 --- a/frontend-old/node_modules/@firebase/firestore/dist/firestore/test/unit/local/mutation_queue.test.d.ts +++ /dev/null @@ -1,17 +0,0 @@ -/** - * @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/firestore/test/unit/local/persistence_promise.test.d.ts b/frontend-old/node_modules/@firebase/firestore/dist/firestore/test/unit/local/persistence_promise.test.d.ts deleted file mode 100644 index 9444bf8..0000000 --- a/frontend-old/node_modules/@firebase/firestore/dist/firestore/test/unit/local/persistence_promise.test.d.ts +++ /dev/null @@ -1,17 +0,0 @@ -/** - * @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/firestore/test/unit/local/persistence_test_helpers.d.ts b/frontend-old/node_modules/@firebase/firestore/dist/firestore/test/unit/local/persistence_test_helpers.d.ts deleted file mode 100644 index bb4c627..0000000 --- a/frontend-old/node_modules/@firebase/firestore/dist/firestore/test/unit/local/persistence_test_helpers.d.ts +++ /dev/null @@ -1,67 +0,0 @@ -/** - * @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/firestore/test/unit/local/persistence_transaction.test.d.ts b/frontend-old/node_modules/@firebase/firestore/dist/firestore/test/unit/local/persistence_transaction.test.d.ts deleted file mode 100644 index 1c93d90..0000000 --- a/frontend-old/node_modules/@firebase/firestore/dist/firestore/test/unit/local/persistence_transaction.test.d.ts +++ /dev/null @@ -1,17 +0,0 @@ -/** - * @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/firestore/test/unit/local/query_engine.test.d.ts b/frontend-old/node_modules/@firebase/firestore/dist/firestore/test/unit/local/query_engine.test.d.ts deleted file mode 100644 index 1c93d90..0000000 --- a/frontend-old/node_modules/@firebase/firestore/dist/firestore/test/unit/local/query_engine.test.d.ts +++ /dev/null @@ -1,17 +0,0 @@ -/** - * @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/firestore/test/unit/local/reference_set.test.d.ts b/frontend-old/node_modules/@firebase/firestore/dist/firestore/test/unit/local/reference_set.test.d.ts deleted file mode 100644 index 9444bf8..0000000 --- a/frontend-old/node_modules/@firebase/firestore/dist/firestore/test/unit/local/reference_set.test.d.ts +++ /dev/null @@ -1,17 +0,0 @@ -/** - * @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/firestore/test/unit/local/remote_document_cache.test.d.ts b/frontend-old/node_modules/@firebase/firestore/dist/firestore/test/unit/local/remote_document_cache.test.d.ts deleted file mode 100644 index 9444bf8..0000000 --- a/frontend-old/node_modules/@firebase/firestore/dist/firestore/test/unit/local/remote_document_cache.test.d.ts +++ /dev/null @@ -1,17 +0,0 @@ -/** - * @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/firestore/test/unit/local/remote_document_change_buffer.test.d.ts b/frontend-old/node_modules/@firebase/firestore/dist/firestore/test/unit/local/remote_document_change_buffer.test.d.ts deleted file mode 100644 index 9444bf8..0000000 --- a/frontend-old/node_modules/@firebase/firestore/dist/firestore/test/unit/local/remote_document_change_buffer.test.d.ts +++ /dev/null @@ -1,17 +0,0 @@ -/** - * @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/firestore/test/unit/local/simple_db.test.d.ts b/frontend-old/node_modules/@firebase/firestore/dist/firestore/test/unit/local/simple_db.test.d.ts deleted file mode 100644 index 9444bf8..0000000 --- a/frontend-old/node_modules/@firebase/firestore/dist/firestore/test/unit/local/simple_db.test.d.ts +++ /dev/null @@ -1,17 +0,0 @@ -/** - * @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/firestore/test/unit/local/target_cache.test.d.ts b/frontend-old/node_modules/@firebase/firestore/dist/firestore/test/unit/local/target_cache.test.d.ts deleted file mode 100644 index 9444bf8..0000000 --- a/frontend-old/node_modules/@firebase/firestore/dist/firestore/test/unit/local/target_cache.test.d.ts +++ /dev/null @@ -1,17 +0,0 @@ -/** - * @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/firestore/test/unit/local/test_bundle_cache.d.ts b/frontend-old/node_modules/@firebase/firestore/dist/firestore/test/unit/local/test_bundle_cache.d.ts deleted file mode 100644 index faff4b4..0000000 --- a/frontend-old/node_modules/@firebase/firestore/dist/firestore/test/unit/local/test_bundle_cache.d.ts +++ /dev/null @@ -1,32 +0,0 @@ -/** - * @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/firestore/test/unit/local/test_document_overlay_cache.d.ts b/frontend-old/node_modules/@firebase/firestore/dist/firestore/test/unit/local/test_document_overlay_cache.d.ts deleted file mode 100644 index c0d0c66..0000000 --- a/frontend-old/node_modules/@firebase/firestore/dist/firestore/test/unit/local/test_document_overlay_cache.d.ts +++ /dev/null @@ -1,39 +0,0 @@ -/** - * @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/firestore/test/unit/local/test_globals_cache.d.ts b/frontend-old/node_modules/@firebase/firestore/dist/firestore/test/unit/local/test_globals_cache.d.ts deleted file mode 100644 index 7388b22..0000000 --- a/frontend-old/node_modules/@firebase/firestore/dist/firestore/test/unit/local/test_globals_cache.d.ts +++ /dev/null @@ -1,29 +0,0 @@ -/** - * @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/firestore/test/unit/local/test_index_manager.d.ts b/frontend-old/node_modules/@firebase/firestore/dist/firestore/test/unit/local/test_index_manager.d.ts deleted file mode 100644 index 9cd64e1..0000000 --- a/frontend-old/node_modules/@firebase/firestore/dist/firestore/test/unit/local/test_index_manager.d.ts +++ /dev/null @@ -1,44 +0,0 @@ -/** - * @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/firestore/test/unit/local/test_mutation_queue.d.ts b/frontend-old/node_modules/@firebase/firestore/dist/firestore/test/unit/local/test_mutation_queue.d.ts deleted file mode 100644 index 56dae50..0000000 --- a/frontend-old/node_modules/@firebase/firestore/dist/firestore/test/unit/local/test_mutation_queue.d.ts +++ /dev/null @@ -1,43 +0,0 @@ -/** - * @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/firestore/test/unit/local/test_remote_document_cache.d.ts b/frontend-old/node_modules/@firebase/firestore/dist/firestore/test/unit/local/test_remote_document_cache.d.ts deleted file mode 100644 index 67fda41..0000000 --- a/frontend-old/node_modules/@firebase/firestore/dist/firestore/test/unit/local/test_remote_document_cache.d.ts +++ /dev/null @@ -1,54 +0,0 @@ -/** - * @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/firestore/test/unit/local/test_remote_document_change_buffer.d.ts b/frontend-old/node_modules/@firebase/firestore/dist/firestore/test/unit/local/test_remote_document_change_buffer.d.ts deleted file mode 100644 index 9abb942..0000000 --- a/frontend-old/node_modules/@firebase/firestore/dist/firestore/test/unit/local/test_remote_document_change_buffer.d.ts +++ /dev/null @@ -1,34 +0,0 @@ -/** - * @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/firestore/test/unit/local/test_target_cache.d.ts b/frontend-old/node_modules/@firebase/firestore/dist/firestore/test/unit/local/test_target_cache.d.ts deleted file mode 100644 index 590e9ff..0000000 --- a/frontend-old/node_modules/@firebase/firestore/dist/firestore/test/unit/local/test_target_cache.d.ts +++ /dev/null @@ -1,46 +0,0 @@ -/** - * @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/firestore/test/unit/local/web_storage_shared_client_state.test.d.ts b/frontend-old/node_modules/@firebase/firestore/dist/firestore/test/unit/local/web_storage_shared_client_state.test.d.ts deleted file mode 100644 index 342959e..0000000 --- a/frontend-old/node_modules/@firebase/firestore/dist/firestore/test/unit/local/web_storage_shared_client_state.test.d.ts +++ /dev/null @@ -1,17 +0,0 @@ -/** - * @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/firestore/test/unit/model/document.test.d.ts b/frontend-old/node_modules/@firebase/firestore/dist/firestore/test/unit/model/document.test.d.ts deleted file mode 100644 index 9444bf8..0000000 --- a/frontend-old/node_modules/@firebase/firestore/dist/firestore/test/unit/model/document.test.d.ts +++ /dev/null @@ -1,17 +0,0 @@ -/** - * @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/firestore/test/unit/model/document_set.test.d.ts b/frontend-old/node_modules/@firebase/firestore/dist/firestore/test/unit/model/document_set.test.d.ts deleted file mode 100644 index 9444bf8..0000000 --- a/frontend-old/node_modules/@firebase/firestore/dist/firestore/test/unit/model/document_set.test.d.ts +++ /dev/null @@ -1,17 +0,0 @@ -/** - * @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/firestore/test/unit/model/field_index.test.d.ts b/frontend-old/node_modules/@firebase/firestore/dist/firestore/test/unit/model/field_index.test.d.ts deleted file mode 100644 index 9b0c1ff..0000000 --- a/frontend-old/node_modules/@firebase/firestore/dist/firestore/test/unit/model/field_index.test.d.ts +++ /dev/null @@ -1,17 +0,0 @@ -/** - * @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/firestore/test/unit/model/mutation.test.d.ts b/frontend-old/node_modules/@firebase/firestore/dist/firestore/test/unit/model/mutation.test.d.ts deleted file mode 100644 index 9444bf8..0000000 --- a/frontend-old/node_modules/@firebase/firestore/dist/firestore/test/unit/model/mutation.test.d.ts +++ /dev/null @@ -1,17 +0,0 @@ -/** - * @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/firestore/test/unit/model/object_value.test.d.ts b/frontend-old/node_modules/@firebase/firestore/dist/firestore/test/unit/model/object_value.test.d.ts deleted file mode 100644 index 9444bf8..0000000 --- a/frontend-old/node_modules/@firebase/firestore/dist/firestore/test/unit/model/object_value.test.d.ts +++ /dev/null @@ -1,17 +0,0 @@ -/** - * @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/firestore/test/unit/model/object_value_builder.test.d.ts b/frontend-old/node_modules/@firebase/firestore/dist/firestore/test/unit/model/object_value_builder.test.d.ts deleted file mode 100644 index 731d2d9..0000000 --- a/frontend-old/node_modules/@firebase/firestore/dist/firestore/test/unit/model/object_value_builder.test.d.ts +++ /dev/null @@ -1,17 +0,0 @@ -/** - * @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/firestore/test/unit/model/path.test.d.ts b/frontend-old/node_modules/@firebase/firestore/dist/firestore/test/unit/model/path.test.d.ts deleted file mode 100644 index 9444bf8..0000000 --- a/frontend-old/node_modules/@firebase/firestore/dist/firestore/test/unit/model/path.test.d.ts +++ /dev/null @@ -1,17 +0,0 @@ -/** - * @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/firestore/test/unit/model/target.test.d.ts b/frontend-old/node_modules/@firebase/firestore/dist/firestore/test/unit/model/target.test.d.ts deleted file mode 100644 index 9b0c1ff..0000000 --- a/frontend-old/node_modules/@firebase/firestore/dist/firestore/test/unit/model/target.test.d.ts +++ /dev/null @@ -1,17 +0,0 @@ -/** - * @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/firestore/test/unit/model/target_index_matcher.test.d.ts b/frontend-old/node_modules/@firebase/firestore/dist/firestore/test/unit/model/target_index_matcher.test.d.ts deleted file mode 100644 index 9b0c1ff..0000000 --- a/frontend-old/node_modules/@firebase/firestore/dist/firestore/test/unit/model/target_index_matcher.test.d.ts +++ /dev/null @@ -1,17 +0,0 @@ -/** - * @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/firestore/test/unit/model/values.test.d.ts b/frontend-old/node_modules/@firebase/firestore/dist/firestore/test/unit/model/values.test.d.ts deleted file mode 100644 index 731d2d9..0000000 --- a/frontend-old/node_modules/@firebase/firestore/dist/firestore/test/unit/model/values.test.d.ts +++ /dev/null @@ -1,17 +0,0 @@ -/** - * @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/firestore/test/unit/remote/bloom_filter.test.d.ts b/frontend-old/node_modules/@firebase/firestore/dist/firestore/test/unit/remote/bloom_filter.test.d.ts deleted file mode 100644 index cb0ff5c..0000000 --- a/frontend-old/node_modules/@firebase/firestore/dist/firestore/test/unit/remote/bloom_filter.test.d.ts +++ /dev/null @@ -1 +0,0 @@ -export {}; diff --git a/frontend-old/node_modules/@firebase/firestore/dist/firestore/test/unit/remote/bloom_filter_golden_test_data/index.d.ts b/frontend-old/node_modules/@firebase/firestore/dist/firestore/test/unit/remote/bloom_filter_golden_test_data/index.d.ts deleted file mode 100644 index fda7b1b..0000000 --- a/frontend-old/node_modules/@firebase/firestore/dist/firestore/test/unit/remote/bloom_filter_golden_test_data/index.d.ts +++ /dev/null @@ -1,40 +0,0 @@ -/** - * @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/firestore/test/unit/remote/datastore.test.d.ts b/frontend-old/node_modules/@firebase/firestore/dist/firestore/test/unit/remote/datastore.test.d.ts deleted file mode 100644 index daa6d5d..0000000 --- a/frontend-old/node_modules/@firebase/firestore/dist/firestore/test/unit/remote/datastore.test.d.ts +++ /dev/null @@ -1,17 +0,0 @@ -/** - * @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/firestore/test/unit/remote/fetch_connection.test.d.ts b/frontend-old/node_modules/@firebase/firestore/dist/firestore/test/unit/remote/fetch_connection.test.d.ts deleted file mode 100644 index 1a6762b..0000000 --- a/frontend-old/node_modules/@firebase/firestore/dist/firestore/test/unit/remote/fetch_connection.test.d.ts +++ /dev/null @@ -1,17 +0,0 @@ -/** - * @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/firestore/test/unit/remote/remote_event.test.d.ts b/frontend-old/node_modules/@firebase/firestore/dist/firestore/test/unit/remote/remote_event.test.d.ts deleted file mode 100644 index 9444bf8..0000000 --- a/frontend-old/node_modules/@firebase/firestore/dist/firestore/test/unit/remote/remote_event.test.d.ts +++ /dev/null @@ -1,17 +0,0 @@ -/** - * @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/firestore/test/unit/remote/rest_connection.test.d.ts b/frontend-old/node_modules/@firebase/firestore/dist/firestore/test/unit/remote/rest_connection.test.d.ts deleted file mode 100644 index a6fa156..0000000 --- a/frontend-old/node_modules/@firebase/firestore/dist/firestore/test/unit/remote/rest_connection.test.d.ts +++ /dev/null @@ -1,28 +0,0 @@ -/** - * @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/firestore/test/unit/remote/serializer.browser.test.d.ts b/frontend-old/node_modules/@firebase/firestore/dist/firestore/test/unit/remote/serializer.browser.test.d.ts deleted file mode 100644 index 731d2d9..0000000 --- a/frontend-old/node_modules/@firebase/firestore/dist/firestore/test/unit/remote/serializer.browser.test.d.ts +++ /dev/null @@ -1,17 +0,0 @@ -/** - * @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/firestore/test/unit/remote/serializer.helper.d.ts b/frontend-old/node_modules/@firebase/firestore/dist/firestore/test/unit/remote/serializer.helper.d.ts deleted file mode 100644 index 238e66b..0000000 --- a/frontend-old/node_modules/@firebase/firestore/dist/firestore/test/unit/remote/serializer.helper.d.ts +++ /dev/null @@ -1,25 +0,0 @@ -/** - * @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/firestore/test/unit/remote/serializer.node.test.d.ts b/frontend-old/node_modules/@firebase/firestore/dist/firestore/test/unit/remote/serializer.node.test.d.ts deleted file mode 100644 index 94e3acc..0000000 --- a/frontend-old/node_modules/@firebase/firestore/dist/firestore/test/unit/remote/serializer.node.test.d.ts +++ /dev/null @@ -1,21 +0,0 @@ -/** - * @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/firestore/test/unit/specs/bundle_spec.test.d.ts b/frontend-old/node_modules/@firebase/firestore/dist/firestore/test/unit/specs/bundle_spec.test.d.ts deleted file mode 100644 index 18aa444..0000000 --- a/frontend-old/node_modules/@firebase/firestore/dist/firestore/test/unit/specs/bundle_spec.test.d.ts +++ /dev/null @@ -1,36 +0,0 @@ -/** - * @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/firestore/test/unit/specs/collection_spec.test.d.ts b/frontend-old/node_modules/@firebase/firestore/dist/firestore/test/unit/specs/collection_spec.test.d.ts deleted file mode 100644 index 9444bf8..0000000 --- a/frontend-old/node_modules/@firebase/firestore/dist/firestore/test/unit/specs/collection_spec.test.d.ts +++ /dev/null @@ -1,17 +0,0 @@ -/** - * @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/firestore/test/unit/specs/describe_spec.d.ts b/frontend-old/node_modules/@firebase/firestore/dist/firestore/test/unit/specs/describe_spec.d.ts deleted file mode 100644 index 8804b64..0000000 --- a/frontend-old/node_modules/@firebase/firestore/dist/firestore/test/unit/specs/describe_spec.d.ts +++ /dev/null @@ -1,44 +0,0 @@ -/** - * @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/firestore/test/unit/specs/existence_filter_spec.test.d.ts b/frontend-old/node_modules/@firebase/firestore/dist/firestore/test/unit/specs/existence_filter_spec.test.d.ts deleted file mode 100644 index 9444bf8..0000000 --- a/frontend-old/node_modules/@firebase/firestore/dist/firestore/test/unit/specs/existence_filter_spec.test.d.ts +++ /dev/null @@ -1,17 +0,0 @@ -/** - * @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/firestore/test/unit/specs/garbage_collection_spec.test.d.ts b/frontend-old/node_modules/@firebase/firestore/dist/firestore/test/unit/specs/garbage_collection_spec.test.d.ts deleted file mode 100644 index 615869e..0000000 --- a/frontend-old/node_modules/@firebase/firestore/dist/firestore/test/unit/specs/garbage_collection_spec.test.d.ts +++ /dev/null @@ -1,17 +0,0 @@ -/** - * @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/firestore/test/unit/specs/index_spec.test.d.ts b/frontend-old/node_modules/@firebase/firestore/dist/firestore/test/unit/specs/index_spec.test.d.ts deleted file mode 100644 index 9b0c1ff..0000000 --- a/frontend-old/node_modules/@firebase/firestore/dist/firestore/test/unit/specs/index_spec.test.d.ts +++ /dev/null @@ -1,17 +0,0 @@ -/** - * @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/firestore/test/unit/specs/limbo_spec.test.d.ts b/frontend-old/node_modules/@firebase/firestore/dist/firestore/test/unit/specs/limbo_spec.test.d.ts deleted file mode 100644 index 9444bf8..0000000 --- a/frontend-old/node_modules/@firebase/firestore/dist/firestore/test/unit/specs/limbo_spec.test.d.ts +++ /dev/null @@ -1,17 +0,0 @@ -/** - * @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/firestore/test/unit/specs/limit_spec.test.d.ts b/frontend-old/node_modules/@firebase/firestore/dist/firestore/test/unit/specs/limit_spec.test.d.ts deleted file mode 100644 index 9444bf8..0000000 --- a/frontend-old/node_modules/@firebase/firestore/dist/firestore/test/unit/specs/limit_spec.test.d.ts +++ /dev/null @@ -1,17 +0,0 @@ -/** - * @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/firestore/test/unit/specs/listen_source_spec.test.d.ts b/frontend-old/node_modules/@firebase/firestore/dist/firestore/test/unit/specs/listen_source_spec.test.d.ts deleted file mode 100644 index 88c3c0e..0000000 --- a/frontend-old/node_modules/@firebase/firestore/dist/firestore/test/unit/specs/listen_source_spec.test.d.ts +++ /dev/null @@ -1,17 +0,0 @@ -/** - * @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/firestore/test/unit/specs/listen_spec.test.d.ts b/frontend-old/node_modules/@firebase/firestore/dist/firestore/test/unit/specs/listen_spec.test.d.ts deleted file mode 100644 index 9444bf8..0000000 --- a/frontend-old/node_modules/@firebase/firestore/dist/firestore/test/unit/specs/listen_spec.test.d.ts +++ /dev/null @@ -1,17 +0,0 @@ -/** - * @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/firestore/test/unit/specs/offline_spec.test.d.ts b/frontend-old/node_modules/@firebase/firestore/dist/firestore/test/unit/specs/offline_spec.test.d.ts deleted file mode 100644 index 9444bf8..0000000 --- a/frontend-old/node_modules/@firebase/firestore/dist/firestore/test/unit/specs/offline_spec.test.d.ts +++ /dev/null @@ -1,17 +0,0 @@ -/** - * @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/firestore/test/unit/specs/orderby_spec.test.d.ts b/frontend-old/node_modules/@firebase/firestore/dist/firestore/test/unit/specs/orderby_spec.test.d.ts deleted file mode 100644 index 9444bf8..0000000 --- a/frontend-old/node_modules/@firebase/firestore/dist/firestore/test/unit/specs/orderby_spec.test.d.ts +++ /dev/null @@ -1,17 +0,0 @@ -/** - * @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/firestore/test/unit/specs/perf_spec.test.d.ts b/frontend-old/node_modules/@firebase/firestore/dist/firestore/test/unit/specs/perf_spec.test.d.ts deleted file mode 100644 index c53048a..0000000 --- a/frontend-old/node_modules/@firebase/firestore/dist/firestore/test/unit/specs/perf_spec.test.d.ts +++ /dev/null @@ -1,17 +0,0 @@ -/** - * @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/firestore/test/unit/specs/persistence_spec.test.d.ts b/frontend-old/node_modules/@firebase/firestore/dist/firestore/test/unit/specs/persistence_spec.test.d.ts deleted file mode 100644 index 9444bf8..0000000 --- a/frontend-old/node_modules/@firebase/firestore/dist/firestore/test/unit/specs/persistence_spec.test.d.ts +++ /dev/null @@ -1,17 +0,0 @@ -/** - * @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/firestore/test/unit/specs/query_spec.test.d.ts b/frontend-old/node_modules/@firebase/firestore/dist/firestore/test/unit/specs/query_spec.test.d.ts deleted file mode 100644 index 1c93d90..0000000 --- a/frontend-old/node_modules/@firebase/firestore/dist/firestore/test/unit/specs/query_spec.test.d.ts +++ /dev/null @@ -1,17 +0,0 @@ -/** - * @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/firestore/test/unit/specs/recovery_spec.test.d.ts b/frontend-old/node_modules/@firebase/firestore/dist/firestore/test/unit/specs/recovery_spec.test.d.ts deleted file mode 100644 index 731d2d9..0000000 --- a/frontend-old/node_modules/@firebase/firestore/dist/firestore/test/unit/specs/recovery_spec.test.d.ts +++ /dev/null @@ -1,17 +0,0 @@ -/** - * @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/firestore/test/unit/specs/remote_store_spec.test.d.ts b/frontend-old/node_modules/@firebase/firestore/dist/firestore/test/unit/specs/remote_store_spec.test.d.ts deleted file mode 100644 index 9444bf8..0000000 --- a/frontend-old/node_modules/@firebase/firestore/dist/firestore/test/unit/specs/remote_store_spec.test.d.ts +++ /dev/null @@ -1,17 +0,0 @@ -/** - * @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/firestore/test/unit/specs/resume_token_spec.test.d.ts b/frontend-old/node_modules/@firebase/firestore/dist/firestore/test/unit/specs/resume_token_spec.test.d.ts deleted file mode 100644 index 9444bf8..0000000 --- a/frontend-old/node_modules/@firebase/firestore/dist/firestore/test/unit/specs/resume_token_spec.test.d.ts +++ /dev/null @@ -1,17 +0,0 @@ -/** - * @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/firestore/test/unit/specs/spec_builder.d.ts b/frontend-old/node_modules/@firebase/firestore/dist/firestore/test/unit/specs/spec_builder.d.ts deleted file mode 100644 index 00705ca..0000000 --- a/frontend-old/node_modules/@firebase/firestore/dist/firestore/test/unit/specs/spec_builder.d.ts +++ /dev/null @@ -1,287 +0,0 @@ -/** - * @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/firestore/test/unit/specs/spec_rpc_error.d.ts b/frontend-old/node_modules/@firebase/firestore/dist/firestore/test/unit/specs/spec_rpc_error.d.ts deleted file mode 100644 index a104309..0000000 --- a/frontend-old/node_modules/@firebase/firestore/dist/firestore/test/unit/specs/spec_rpc_error.d.ts +++ /dev/null @@ -1,24 +0,0 @@ -/** - * @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/firestore/test/unit/specs/spec_test_components.d.ts b/frontend-old/node_modules/@firebase/firestore/dist/firestore/test/unit/specs/spec_test_components.d.ts deleted file mode 100644 index 0152128..0000000 --- a/frontend-old/node_modules/@firebase/firestore/dist/firestore/test/unit/specs/spec_test_components.d.ts +++ /dev/null @@ -1,156 +0,0 @@ -/** - * @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/firestore/test/unit/specs/spec_test_runner.d.ts b/frontend-old/node_modules/@firebase/firestore/dist/firestore/test/unit/specs/spec_test_runner.d.ts deleted file mode 100644 index 50d1714..0000000 --- a/frontend-old/node_modules/@firebase/firestore/dist/firestore/test/unit/specs/spec_test_runner.d.ts +++ /dev/null @@ -1,323 +0,0 @@ -/** - * @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/firestore/test/unit/specs/write_spec.test.d.ts b/frontend-old/node_modules/@firebase/firestore/dist/firestore/test/unit/specs/write_spec.test.d.ts deleted file mode 100644 index 9444bf8..0000000 --- a/frontend-old/node_modules/@firebase/firestore/dist/firestore/test/unit/specs/write_spec.test.d.ts +++ /dev/null @@ -1,17 +0,0 @@ -/** - * @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/firestore/test/unit/util/array.test.d.ts b/frontend-old/node_modules/@firebase/firestore/dist/firestore/test/unit/util/array.test.d.ts deleted file mode 100644 index 9b0c1ff..0000000 --- a/frontend-old/node_modules/@firebase/firestore/dist/firestore/test/unit/util/array.test.d.ts +++ /dev/null @@ -1,17 +0,0 @@ -/** - * @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/firestore/test/unit/util/assert.test.d.ts b/frontend-old/node_modules/@firebase/firestore/dist/firestore/test/unit/util/assert.test.d.ts deleted file mode 100644 index 1a6762b..0000000 --- a/frontend-old/node_modules/@firebase/firestore/dist/firestore/test/unit/util/assert.test.d.ts +++ /dev/null @@ -1,17 +0,0 @@ -/** - * @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/firestore/test/unit/util/async_queue.test.d.ts b/frontend-old/node_modules/@firebase/firestore/dist/firestore/test/unit/util/async_queue.test.d.ts deleted file mode 100644 index 9444bf8..0000000 --- a/frontend-old/node_modules/@firebase/firestore/dist/firestore/test/unit/util/async_queue.test.d.ts +++ /dev/null @@ -1,17 +0,0 @@ -/** - * @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/firestore/test/unit/util/base64.test.d.ts b/frontend-old/node_modules/@firebase/firestore/dist/firestore/test/unit/util/base64.test.d.ts deleted file mode 100644 index 731d2d9..0000000 --- a/frontend-old/node_modules/@firebase/firestore/dist/firestore/test/unit/util/base64.test.d.ts +++ /dev/null @@ -1,17 +0,0 @@ -/** - * @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/firestore/test/unit/util/bundle.test.d.ts b/frontend-old/node_modules/@firebase/firestore/dist/firestore/test/unit/util/bundle.test.d.ts deleted file mode 100644 index 56e142c..0000000 --- a/frontend-old/node_modules/@firebase/firestore/dist/firestore/test/unit/util/bundle.test.d.ts +++ /dev/null @@ -1,8 +0,0 @@ -/** - * 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/firestore/test/unit/util/bundle_data.d.ts b/frontend-old/node_modules/@firebase/firestore/dist/firestore/test/unit/util/bundle_data.d.ts deleted file mode 100644 index de7a107..0000000 --- a/frontend-old/node_modules/@firebase/firestore/dist/firestore/test/unit/util/bundle_data.d.ts +++ /dev/null @@ -1,50 +0,0 @@ -/** - * @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/firestore/test/unit/util/logic_utils.test.d.ts b/frontend-old/node_modules/@firebase/firestore/dist/firestore/test/unit/util/logic_utils.test.d.ts deleted file mode 100644 index 9b0c1ff..0000000 --- a/frontend-old/node_modules/@firebase/firestore/dist/firestore/test/unit/util/logic_utils.test.d.ts +++ /dev/null @@ -1,17 +0,0 @@ -/** - * @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/firestore/test/unit/util/misc.test.d.ts b/frontend-old/node_modules/@firebase/firestore/dist/firestore/test/unit/util/misc.test.d.ts deleted file mode 100644 index 9444bf8..0000000 --- a/frontend-old/node_modules/@firebase/firestore/dist/firestore/test/unit/util/misc.test.d.ts +++ /dev/null @@ -1,17 +0,0 @@ -/** - * @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/firestore/test/unit/util/node_api.test.d.ts b/frontend-old/node_modules/@firebase/firestore/dist/firestore/test/unit/util/node_api.test.d.ts deleted file mode 100644 index 9444bf8..0000000 --- a/frontend-old/node_modules/@firebase/firestore/dist/firestore/test/unit/util/node_api.test.d.ts +++ /dev/null @@ -1,17 +0,0 @@ -/** - * @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/firestore/test/unit/util/obj_map.test.d.ts b/frontend-old/node_modules/@firebase/firestore/dist/firestore/test/unit/util/obj_map.test.d.ts deleted file mode 100644 index 9444bf8..0000000 --- a/frontend-old/node_modules/@firebase/firestore/dist/firestore/test/unit/util/obj_map.test.d.ts +++ /dev/null @@ -1,17 +0,0 @@ -/** - * @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/firestore/test/unit/util/sorted_map.test.d.ts b/frontend-old/node_modules/@firebase/firestore/dist/firestore/test/unit/util/sorted_map.test.d.ts deleted file mode 100644 index 9444bf8..0000000 --- a/frontend-old/node_modules/@firebase/firestore/dist/firestore/test/unit/util/sorted_map.test.d.ts +++ /dev/null @@ -1,17 +0,0 @@ -/** - * @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/firestore/test/unit/util/sorted_set.test.d.ts b/frontend-old/node_modules/@firebase/firestore/dist/firestore/test/unit/util/sorted_set.test.d.ts deleted file mode 100644 index 9444bf8..0000000 --- a/frontend-old/node_modules/@firebase/firestore/dist/firestore/test/unit/util/sorted_set.test.d.ts +++ /dev/null @@ -1,17 +0,0 @@ -/** - * @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/firestore/test/util/api_helpers.d.ts b/frontend-old/node_modules/@firebase/firestore/dist/firestore/test/util/api_helpers.d.ts deleted file mode 100644 index a4a9b0c..0000000 --- a/frontend-old/node_modules/@firebase/firestore/dist/firestore/test/util/api_helpers.d.ts +++ /dev/null @@ -1,49 +0,0 @@ -/** - * @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 { DocumentReference, Firestore, Query, CollectionReference, QuerySnapshot, DocumentSnapshot } from '../../src'; -import { DocumentKeySet } from '../../src/model/collections'; -import { JsonObject } from '../../src/model/object_value'; -/** - * A mock Firestore. Will not work for integration test. - */ -export declare const FIRESTORE: Firestore; -export declare function firestore(): Firestore; -export declare function newTestFirestore(projectId?: string): Firestore; -export declare function collectionReference(path: string): CollectionReference; -export declare function documentReference(path: string): DocumentReference; -export declare function documentSnapshot(path: string, data: JsonObject<unknown> | null, fromCache: boolean, hasPendingWrites?: boolean): DocumentSnapshot; -export declare function query(path: string): Query; -/** - * A convenience method for creating a particular query snapshot for tests. - * - * @param path - To be used in constructing the query. - * @param oldDocs - Provides the prior set of documents in the QuerySnapshot. - * Each entry maps to a document, with the key being the document id, and the - * value being the document contents. - * @param docsToAdd - Specifies data to be added into the query snapshot as of - * now. Each entry maps to a document, with the key being the document id, and - * the value being the document contents. - * @param mutatedKeys - The list of document with pending writes. - * @param fromCache - Whether the query snapshot is cache result. - * @param syncStateChanged - Whether the sync state has changed. - * @returns A query snapshot that consists of both sets of documents. - */ -export declare function querySnapshot(path: string, oldDocs: { - [key: string]: JsonObject<unknown>; -}, docsToAdd: { - [key: string]: JsonObject<unknown>; -}, mutatedKeys: DocumentKeySet, fromCache: boolean, syncStateChanged: boolean, hasCachedResults?: boolean): QuerySnapshot; diff --git a/frontend-old/node_modules/@firebase/firestore/dist/firestore/test/util/equality_matcher.d.ts b/frontend-old/node_modules/@firebase/firestore/dist/firestore/test/util/equality_matcher.d.ts deleted file mode 100644 index d019ad2..0000000 --- a/frontend-old/node_modules/@firebase/firestore/dist/firestore/test/util/equality_matcher.d.ts +++ /dev/null @@ -1,33 +0,0 @@ -/** - * @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. - */ -/** - * Duck-typed interface for objects that have an isEqual() method. - * - * Note: This is copied from src/util/misc.ts to avoid importing private types. - */ -export interface Equatable<T> { - isEqual(other: T): boolean; -} -/** - * Custom equals override for types that have a free-standing equals functions - * (such as `queryEquals()`). - */ -export interface CustomMatcher<T> { - equalsFn: (left: T, right: T) => boolean; - forType: Function; -} -export declare function addEqualityMatcher(...customMatchers: Array<CustomMatcher<any>>): void; diff --git a/frontend-old/node_modules/@firebase/firestore/dist/firestore/test/util/helpers.d.ts b/frontend-old/node_modules/@firebase/firestore/dist/firestore/test/util/helpers.d.ts deleted file mode 100644 index c8acefd..0000000 --- a/frontend-old/node_modules/@firebase/firestore/dist/firestore/test/util/helpers.d.ts +++ /dev/null @@ -1,206 +0,0 @@ -/** - * @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 { Bytes, DocumentReference } from '../../src'; -import { Bound } from '../../src/core/bound'; -import { BundledDocuments } from '../../src/core/bundle'; -import { DatabaseId } from '../../src/core/database_info'; -import { FieldFilter, CompositeFilter, Filter } from '../../src/core/filter'; -import { OrderBy } from '../../src/core/order_by'; -import { Query } from '../../src/core/query'; -import { SnapshotVersion } from '../../src/core/snapshot_version'; -import { TargetId } from '../../src/core/types'; -import { LimboDocumentChange, View, ViewChange } from '../../src/core/view'; -import { UserDataReader } from '../../src/lite-api/user_data_reader'; -import { LocalViewChanges } from '../../src/local/local_view_changes'; -import { TargetData, TargetPurpose } from '../../src/local/target_data'; -import { DocumentKeySet, DocumentMap } from '../../src/model/collections'; -import { Document, MutableDocument } from '../../src/model/document'; -import { DocumentComparator } from '../../src/model/document_comparator'; -import { DocumentKey } from '../../src/model/document_key'; -import { DocumentSet } from '../../src/model/document_set'; -import { FieldIndex, IndexKind, IndexOffset } from '../../src/model/field_index'; -import { FieldMask } from '../../src/model/field_mask'; -import { DeleteMutation, MutationResult, PatchMutation, Precondition, SetMutation } from '../../src/model/mutation'; -import { JsonObject, ObjectValue } from '../../src/model/object_value'; -import { FieldPath, ResourcePath } from '../../src/model/path'; -import { NamedQuery as ProtoNamedQuery, BundleMetadata as ProtoBundleMetadata, LimitType as ProtoLimitType } from '../../src/protos/firestore_bundle_proto'; -import * as api from '../../src/protos/firestore_proto_api'; -import { RemoteEvent, TargetChange } from '../../src/remote/remote_event'; -import { ByteString } from '../../src/util/byte_string'; -import { Code } from '../../src/util/error'; -import { Dict } from '../../src/util/obj'; -import { SortedMap } from '../../src/util/sorted_map'; -import { SortedSet } from '../../src/util/sorted_set'; -export type TestSnapshotVersion = number; -export declare function testUserDataReader(useProto3Json?: boolean): UserDataReader; -export declare function version(v: TestSnapshotVersion): SnapshotVersion; -export declare function ref(key: string, offset?: number): DocumentReference; -export declare function doc(keyStr: string, ver: TestSnapshotVersion, jsonOrObjectValue: JsonObject<unknown> | ObjectValue, createTime?: TestSnapshotVersion): MutableDocument; -export declare function deletedDoc(keyStrOrDocumentKey: string | DocumentKey, ver: TestSnapshotVersion): MutableDocument; -export declare function unknownDoc(keyStr: string, ver: TestSnapshotVersion): MutableDocument; -export declare function removedDoc(keyStr: string): MutableDocument; -export declare function invalidDoc(keyStr: string): MutableDocument; -export declare function wrap(value: unknown): api.Value; -export declare function wrapObject(obj: JsonObject<unknown>): ObjectValue; -export declare function dbId(project: string, database?: string): DatabaseId; -export declare function key(path: string): DocumentKey; -export declare function keys(...documents: Array<Document | string>): DocumentKeySet; -export declare function path(path: string, offset?: number): ResourcePath; -export declare function field(path: string): FieldPath; -export declare function fieldIndex(collectionGroup: string, options?: { - id?: number; - fields?: Array<[field: string, kind: IndexKind]>; - offset?: IndexOffset; - sequenceNumber?: number; -}): FieldIndex; -export declare function mask(...paths: string[]): FieldMask; -export declare function blob(...bytes: number[]): Bytes; -export declare function filter(path: string, op: string, value: unknown): FieldFilter; -export declare function andFilter(...filters: Filter[]): CompositeFilter; -export declare function orFilter(...filters: Filter[]): CompositeFilter; -export declare function setMutation(keyStr: string, json: JsonObject<unknown>): SetMutation; -export declare function patchMutation(keyStr: string, json: JsonObject<unknown>, precondition?: Precondition): PatchMutation; -export declare function mergeMutation(keyStr: string, json: JsonObject<unknown>, updateMask: FieldPath[]): PatchMutation; -export declare function deleteMutation(keyStr: string): DeleteMutation; -export declare function mutationResult(testVersion: TestSnapshotVersion): MutationResult; -export declare function bound(values: unknown[], inclusive: boolean): Bound; -export declare function query(resourcePath: string, ...constraints: Array<OrderBy | Filter>): Query; -export declare function targetData(targetId: TargetId, queryPurpose: TargetPurpose, path: string): TargetData; -export declare function noChangeEvent(targetId: number, snapshotVersion: number, resumeToken?: ByteString): RemoteEvent; -export declare function existenceFilterEvent(targetId: number, syncedKeys: DocumentKeySet, remoteCount: number, snapshotVersion: number, bloomFilter?: api.BloomFilter): RemoteEvent; -export declare function docAddedRemoteEvent(docOrDocs: MutableDocument | MutableDocument[], updatedInTargets?: TargetId[], removedFromTargets?: TargetId[], activeTargets?: TargetId[]): RemoteEvent; -export declare function docUpdateRemoteEvent(doc: MutableDocument, updatedInTargets?: TargetId[], removedFromTargets?: TargetId[], limboTargets?: TargetId[]): RemoteEvent; -export declare class TestBundledDocuments { - documents: BundledDocuments; - bundleName: string; - constructor(documents: BundledDocuments, bundleName: string); -} -export declare function bundledDocuments(documents: MutableDocument[], queryNames?: string[][], bundleName?: string): TestBundledDocuments; -export declare class TestNamedQuery { - namedQuery: ProtoNamedQuery; - matchingDocuments: DocumentKeySet; - constructor(namedQuery: ProtoNamedQuery, matchingDocuments: DocumentKeySet); -} -export declare function namedQuery(name: string, query: Query, limitType: ProtoLimitType, readTime: SnapshotVersion, matchingDocuments?: DocumentKeySet): TestNamedQuery; -export declare function bundleMetadata(id: string, createTime: TestSnapshotVersion, version?: number, totalDocuments?: number, totalBytes?: number): ProtoBundleMetadata; -export declare function updateMapping(snapshotVersion: SnapshotVersion, added: Array<MutableDocument | string>, modified: Array<MutableDocument | string>, removed: Array<MutableDocument | string>, current?: boolean): TargetChange; -export declare function addTargetMapping(...docsOrKeys: Array<MutableDocument | string>): TargetChange; -export declare function ackTarget(...docsOrKeys: Array<MutableDocument | string>): TargetChange; -export declare function limboChanges(changes: { - added?: Document[]; - removed?: Document[]; -}): LimboDocumentChange[]; -export declare function localViewChanges(targetId: TargetId, fromCache: boolean, changes: { - added?: string[]; - removed?: string[]; -}): LocalViewChanges; -/** - * Returns a ByteString representation for the platform from the given string. - */ -export declare function byteStringFromString(value: string): ByteString; -/** - * Decodes a base 64 decoded string. - * - * Note that this is typed to accept Uint8Arrays to match the types used - * by the spec tests. Since the spec tests only use JSON strings, this method - * throws if an Uint8Array is passed. - */ -export declare function stringFromBase64String(value?: string | Uint8Array): string; -/** Creates a resume token to match the given snapshot version. */ -export declare function resumeTokenForSnapshot(snapshotVersion: SnapshotVersion): ByteString; -export declare function orderBy(path: string, op?: string): OrderBy; -/** - * Converts a sorted map to an array with inorder traversal - */ -export declare function mapAsArray<K, V>(sortedMap: SortedMap<K, V>): Array<{ - key: K; - value: V; -}>; -/** - * Converts a list of documents or document keys to a sorted map. A document - * key is used to represent a deletion and maps to null. - */ -export declare function documentUpdates(...docsOrKeys: Array<Document | DocumentKey>): DocumentMap; -/** - * Short for view.applyChanges(view.computeDocChanges(documentUpdates(docs))). - */ -export declare function applyDocChanges(view: View, ...docsOrKeys: Array<Document | DocumentKey>): ViewChange; -/** - * Constructs a document set. - */ -export declare function documentSet(comp: DocumentComparator, ...docs: Document[]): DocumentSet; -export declare function documentSet(...docs: Document[]): DocumentSet; -/** - * Constructs a document key set. - */ -export declare function keySet(...keys: DocumentKey[]): DocumentKeySet; -/** Converts a DocumentSet to an array. */ -export declare function documentSetAsArray(docs: DocumentSet): Document[]; -export declare class DocComparator { - static byField(...fields: string[]): DocumentComparator; -} -/** - * Two helper functions to simplify testing isEqual() method. - */ -export declare function expectEqual(left: any, right: any, message?: string): void; -export declare function expectNotEqual(left: any, right: any, message?: string): void; -export declare function expectEqualArrays(left: unknown[], right: unknown[], message?: string): void; -/** - * Checks that an ordered array of elements yields the correct pair-wise - * comparison result for the supplied comparator - */ -export declare function expectCorrectComparisons<T extends unknown>(array: T[], comp: (left: T, right: T) => number): void; -/** - * Takes an array of "equality group" arrays and asserts that the comparator - * returns the same as comparing the indexes of the "equality groups" - * (0 for items in the same group). - */ -export declare function expectCorrectComparisonGroups<T extends unknown>(groups: T[][], comp: (left: T, right: T) => number): void; -/** Compares SortedSet to an array */ -export declare function expectSetToEqual<T>(set: SortedSet<T>, arr: T[]): void; -/** - * Takes an array of array of elements and compares each of the elements - * to every other element. - * - * Elements in the same inner array are expect to be equal with regard to - * the provided equality function to all other elements from the same array - * (including itself) and unequal to all other elements from the other array - */ -export declare function expectEqualitySets<T>(elems: T[][], equalityFn: (v1: T, v2: T) => boolean, stringifyFn?: (v: T) => string): void; -export declare function validateFirestoreError(expectedCode: Code, actualError: Error): void; -export declare function forEachNumber<V>(obj: Dict<V>, fn: (key: number, val: V) => void): void; -/** - * Returns all possible permutations of the given array. - * For `[a, b]`, this method returns `[[a, b], [b, a]]`. - */ -export declare function computePermutations<T>(input: T[]): T[][]; -/** - * Returns all possible combinations of the given array, including an empty - * array. For `[a, b, c]` this method returns - * `[[], [a], [a, b], [a, c], [b, c], [a, b, c]`. - */ -export declare function computeCombinations<T>(input: T[]): T[][]; -/** - * Helper method to generate bloom filter proto value for mocking watch - * existence filter response. - */ -export declare function generateBloomFilterProto(config: { - contains: MutableDocument[]; - notContains: MutableDocument[]; - hashCount?: number; - bitCount?: number; -}): api.BloomFilter; diff --git a/frontend-old/node_modules/@firebase/firestore/dist/firestore/test/util/node_persistence.d.ts b/frontend-old/node_modules/@firebase/firestore/dist/firestore/test/util/node_persistence.d.ts deleted file mode 100644 index c53048a..0000000 --- a/frontend-old/node_modules/@firebase/firestore/dist/firestore/test/util/node_persistence.d.ts +++ /dev/null @@ -1,17 +0,0 @@ -/** - * @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/firestore/test/util/promise.d.ts b/frontend-old/node_modules/@firebase/firestore/dist/firestore/test/util/promise.d.ts deleted file mode 100644 index d3f8374..0000000 --- a/frontend-old/node_modules/@firebase/firestore/dist/firestore/test/util/promise.d.ts +++ /dev/null @@ -1,28 +0,0 @@ -/** - * @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 interface Resolver<R> { - (value: R | Promise<R>): void; -} -export interface Rejecter { - (reason?: Error): void; -} -export declare class Deferred<R> { - promise: Promise<R>; - resolve: Resolver<R>; - reject: Rejecter; - constructor(); -} diff --git a/frontend-old/node_modules/@firebase/firestore/dist/firestore/test/util/spec_test_helpers.d.ts b/frontend-old/node_modules/@firebase/firestore/dist/firestore/test/util/spec_test_helpers.d.ts deleted file mode 100644 index 1ae9b67..0000000 --- a/frontend-old/node_modules/@firebase/firestore/dist/firestore/test/util/spec_test_helpers.d.ts +++ /dev/null @@ -1,19 +0,0 @@ -/** - * @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'; -import { WatchChange } from '../../src/remote/watch_change'; -export declare function encodeWatchChange(watchChange: WatchChange): api.ListenResponse; diff --git a/frontend-old/node_modules/@firebase/firestore/dist/firestore/test/util/test_platform.d.ts b/frontend-old/node_modules/@firebase/firestore/dist/firestore/test/util/test_platform.d.ts deleted file mode 100644 index 8417eb4..0000000 --- a/frontend-old/node_modules/@firebase/firestore/dist/firestore/test/util/test_platform.d.ts +++ /dev/null @@ -1,61 +0,0 @@ -/** - * @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. - */ -import { DocumentLike, WindowLike } from '../../src/util/types'; -/** - * `Window` fake that implements the event and storage API that is used by - * Firestore. - */ -export declare class FakeWindow implements WindowLike { - private readonly fakeStorageArea; - private readonly fakeIndexedDb; - private storageListeners; - constructor(sharedFakeStorage: SharedFakeWebStorage, fakeIndexedDb?: IDBFactory); - get localStorage(): Storage; - get indexedDB(): IDBFactory | null; - addEventListener(type: string, listener: EventListener): void; - removeEventListener(type: string, listener: EventListener): void; -} -export declare function testWindow(sharedWebStorage?: SharedFakeWebStorage): FakeWindow; -/** - * `Document` fake that implements the `visibilitychange` API used by Firestore. - */ -export declare class FakeDocument implements DocumentLike { - private _visibilityState; - private visibilityListener; - get visibilityState(): DocumentVisibilityState; - addEventListener(type: string, listener: EventListener): void; - removeEventListener(type: string, listener: EventListener): void; - raiseVisibilityEvent(visibility: DocumentVisibilityState): void; -} -export declare function testDocument(): FakeDocument; -/** - * `WebStorage` mock that implements the WebStorage behavior for multiple - * clients. To get a client-specific storage area that implements the WebStorage - * API, invoke `getStorageArea(storageListener)`. - */ -export declare class SharedFakeWebStorage { - private readonly data; - private readonly activeClients; - getStorageArea(storageListener: EventListener): Storage; - private clear; - private getItem; - private key; - private removeItem; - private setItem; - private get length(); - private raiseStorageEvent; -} |
