From 8eff962cab608341a6f2fedc640a0e32d96f26e2 Mon Sep 17 00:00:00 2001 From: altaf-creator Date: Sun, 9 Nov 2025 11:15:19 +0800 Subject: pain --- .../test/unit/remote/bloom_filter.test.d.ts | 1 + .../bloom_filter_golden_test_data/index.d.ts | 40 ++++++++++++++++++++++ .../firestore/test/unit/remote/datastore.test.d.ts | 17 +++++++++ .../test/unit/remote/fetch_connection.test.d.ts | 17 +++++++++ .../test/unit/remote/remote_event.test.d.ts | 17 +++++++++ .../test/unit/remote/rest_connection.test.d.ts | 28 +++++++++++++++ .../test/unit/remote/serializer.browser.test.d.ts | 17 +++++++++ .../test/unit/remote/serializer.helper.d.ts | 25 ++++++++++++++ .../test/unit/remote/serializer.node.test.d.ts | 21 ++++++++++++ 9 files changed, 183 insertions(+) create mode 100644 frontend-old/node_modules/@firebase/firestore/dist/firestore/test/unit/remote/bloom_filter.test.d.ts create mode 100644 frontend-old/node_modules/@firebase/firestore/dist/firestore/test/unit/remote/bloom_filter_golden_test_data/index.d.ts create mode 100644 frontend-old/node_modules/@firebase/firestore/dist/firestore/test/unit/remote/datastore.test.d.ts create mode 100644 frontend-old/node_modules/@firebase/firestore/dist/firestore/test/unit/remote/fetch_connection.test.d.ts create mode 100644 frontend-old/node_modules/@firebase/firestore/dist/firestore/test/unit/remote/remote_event.test.d.ts create mode 100644 frontend-old/node_modules/@firebase/firestore/dist/firestore/test/unit/remote/rest_connection.test.d.ts create mode 100644 frontend-old/node_modules/@firebase/firestore/dist/firestore/test/unit/remote/serializer.browser.test.d.ts create mode 100644 frontend-old/node_modules/@firebase/firestore/dist/firestore/test/unit/remote/serializer.helper.d.ts create mode 100644 frontend-old/node_modules/@firebase/firestore/dist/firestore/test/unit/remote/serializer.node.test.d.ts (limited to 'frontend-old/node_modules/@firebase/firestore/dist/firestore/test/unit/remote') 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 new file mode 100644 index 0000000..cb0ff5c --- /dev/null +++ b/frontend-old/node_modules/@firebase/firestore/dist/firestore/test/unit/remote/bloom_filter.test.d.ts @@ -0,0 +1 @@ +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 new file mode 100644 index 0000000..fda7b1b --- /dev/null +++ b/frontend-old/node_modules/@firebase/firestore/dist/firestore/test/unit/remote/bloom_filter_golden_test_data/index.d.ts @@ -0,0 +1,40 @@ +/** + * @license + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +export { default as count1Rate1TestData } from './Validation_BloomFilterTest_MD5_1_1_bloom_filter_proto.json'; +export { default as count1Rate1TestResult } from './Validation_BloomFilterTest_MD5_1_1_membership_test_result.json'; +export { default as count1Rate01TestData } from './Validation_BloomFilterTest_MD5_1_01_bloom_filter_proto.json'; +export { default as count1Rate01TestResult } from './Validation_BloomFilterTest_MD5_1_01_membership_test_result.json'; +export { default as count1Rate0001TestData } from './Validation_BloomFilterTest_MD5_1_0001_bloom_filter_proto.json'; +export { default as count1Rate0001TestResult } from './Validation_BloomFilterTest_MD5_1_0001_membership_test_result.json'; +export { default as count500Rate1TestData } from './Validation_BloomFilterTest_MD5_500_1_bloom_filter_proto.json'; +export { default as count500Rate1TestResult } from './Validation_BloomFilterTest_MD5_500_1_membership_test_result.json'; +export { default as count500Rate01TestData } from './Validation_BloomFilterTest_MD5_500_01_bloom_filter_proto.json'; +export { default as count500Rate01TestResult } from './Validation_BloomFilterTest_MD5_500_01_membership_test_result.json'; +export { default as count500Rate0001TestData } from './Validation_BloomFilterTest_MD5_500_0001_bloom_filter_proto.json'; +export { default as count500Rate0001TestResult } from './Validation_BloomFilterTest_MD5_500_0001_membership_test_result.json'; +export { default as count5000Rate1TestData } from './Validation_BloomFilterTest_MD5_5000_1_bloom_filter_proto.json'; +export { default as count5000Rate1TestResult } from './Validation_BloomFilterTest_MD5_5000_1_membership_test_result.json'; +export { default as count5000Rate01TestData } from './Validation_BloomFilterTest_MD5_5000_01_bloom_filter_proto.json'; +export { default as count5000Rate01TestResult } from './Validation_BloomFilterTest_MD5_5000_01_membership_test_result.json'; +export { default as count5000Rate0001TestData } from './Validation_BloomFilterTest_MD5_5000_0001_bloom_filter_proto.json'; +export { default as count5000Rate0001TestResult } from './Validation_BloomFilterTest_MD5_5000_0001_membership_test_result.json'; +export { default as count50000Rate1TestData } from './Validation_BloomFilterTest_MD5_50000_1_bloom_filter_proto.json'; +export { default as count50000Rate1TestResult } from './Validation_BloomFilterTest_MD5_50000_1_membership_test_result.json'; +export { default as count50000Rate01TestData } from './Validation_BloomFilterTest_MD5_50000_01_bloom_filter_proto.json'; +export { default as count50000Rate01TestResult } from './Validation_BloomFilterTest_MD5_50000_01_membership_test_result.json'; +export { default as count50000Rate0001TestData } from './Validation_BloomFilterTest_MD5_50000_0001_bloom_filter_proto.json'; +export { default as count50000Rate0001TestResult } from './Validation_BloomFilterTest_MD5_50000_0001_membership_test_result.json'; diff --git a/frontend-old/node_modules/@firebase/firestore/dist/firestore/test/unit/remote/datastore.test.d.ts b/frontend-old/node_modules/@firebase/firestore/dist/firestore/test/unit/remote/datastore.test.d.ts new file mode 100644 index 0000000..daa6d5d --- /dev/null +++ b/frontend-old/node_modules/@firebase/firestore/dist/firestore/test/unit/remote/datastore.test.d.ts @@ -0,0 +1,17 @@ +/** + * @license + * Copyright 2021 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +export {}; diff --git a/frontend-old/node_modules/@firebase/firestore/dist/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 new file mode 100644 index 0000000..1a6762b --- /dev/null +++ b/frontend-old/node_modules/@firebase/firestore/dist/firestore/test/unit/remote/fetch_connection.test.d.ts @@ -0,0 +1,17 @@ +/** + * @license + * Copyright 2025 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +export {}; diff --git a/frontend-old/node_modules/@firebase/firestore/dist/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 new file mode 100644 index 0000000..9444bf8 --- /dev/null +++ b/frontend-old/node_modules/@firebase/firestore/dist/firestore/test/unit/remote/remote_event.test.d.ts @@ -0,0 +1,17 @@ +/** + * @license + * Copyright 2017 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +export {}; diff --git a/frontend-old/node_modules/@firebase/firestore/dist/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 new file mode 100644 index 0000000..a6fa156 --- /dev/null +++ b/frontend-old/node_modules/@firebase/firestore/dist/firestore/test/unit/remote/rest_connection.test.d.ts @@ -0,0 +1,28 @@ +/** + * @license + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +import { Token } from '../../../src/api/credentials'; +import { Stream } from '../../../src/remote/connection'; +import { RestConnection } from '../../../src/remote/rest_connection'; +import { StringMap } from '../../../src/util/types'; +export declare class TestRestConnection extends RestConnection { + lastUrl: string; + lastHeaders: StringMap; + lastRequestBody: unknown; + nextResponse: Promise; + openStream(rpcName: string, authToken: Token | null, appCheckToken: Token | null): Stream; + protected performRPCRequest(rpcName: string, url: string, headers: StringMap, body: Req): Promise; +} 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 new file mode 100644 index 0000000..731d2d9 --- /dev/null +++ b/frontend-old/node_modules/@firebase/firestore/dist/firestore/test/unit/remote/serializer.browser.test.d.ts @@ -0,0 +1,17 @@ +/** + * @license + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +export {}; diff --git a/frontend-old/node_modules/@firebase/firestore/dist/firestore/test/unit/remote/serializer.helper.d.ts b/frontend-old/node_modules/@firebase/firestore/dist/firestore/test/unit/remote/serializer.helper.d.ts new file mode 100644 index 0000000..238e66b --- /dev/null +++ b/frontend-old/node_modules/@firebase/firestore/dist/firestore/test/unit/remote/serializer.helper.d.ts @@ -0,0 +1,25 @@ +/** + * @license + * Copyright 2017 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +import * as api from '../../../src/protos/firestore_proto_api'; +/** + * Runs the serializer test with an optional ProtobufJS verification step + * (only provided in Node). + * + * These tests are initialized in 'serializer.browser.test.ts' and + * 'serializer.node.test.ts'. + */ +export declare function serializerTest(protobufJsVerifier?: (jsonValue: api.Value) => void): void; diff --git a/frontend-old/node_modules/@firebase/firestore/dist/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 new file mode 100644 index 0000000..94e3acc --- /dev/null +++ b/frontend-old/node_modules/@firebase/firestore/dist/firestore/test/unit/remote/serializer.node.test.d.ts @@ -0,0 +1,21 @@ +/** + * @license + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +import * as api from '../../../src/protos/firestore_proto_api'; +/** + * Verifies full round-trip of JSON protos through ProtobufJs. + */ +export declare function verifyProtobufJsRoundTrip(jsonValue: api.Value): void; -- cgit v1.2.3