diff options
Diffstat (limited to 'frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/src/platform/browser')
11 files changed, 0 insertions, 273 deletions
diff --git a/frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/src/platform/browser/base64.d.ts b/frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/src/platform/browser/base64.d.ts deleted file mode 100644 index 9ea2985..0000000 --- a/frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/src/platform/browser/base64.d.ts +++ /dev/null @@ -1,22 +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. - */ -/** Converts a Base64 encoded string to a binary string. */ -export declare function decodeBase64(encoded: string): string; -/** Converts a binary string to a Base64 encoded string. */ -export declare function encodeBase64(raw: string): string; -/** True if and only if the Base64 conversion functions are available. */ -export declare function isBase64Available(): boolean; diff --git a/frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/src/platform/browser/byte_stream_reader.d.ts b/frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/src/platform/browser/byte_stream_reader.d.ts deleted file mode 100644 index 2b95861..0000000 --- a/frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/src/platform/browser/byte_stream_reader.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 { BundleSource } from '../../util/bundle_reader'; -/** - * On web, a `ReadableStream` is wrapped around by a `ByteStreamReader`. - */ -export declare function toByteStreamReader(source: BundleSource, bytesPerRead: number): ReadableStreamDefaultReader<Uint8Array>; diff --git a/frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/src/platform/browser/connection.d.ts b/frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/src/platform/browser/connection.d.ts deleted file mode 100644 index 9e35cd8..0000000 --- a/frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/src/platform/browser/connection.d.ts +++ /dev/null @@ -1,23 +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 { DatabaseInfo } from '../../core/database_info'; -import { Connection } from '../../remote/connection'; -import { ConnectivityMonitor } from '../../remote/connectivity_monitor'; -/** Initializes the WebChannelConnection for the browser. */ -export declare function newConnection(databaseInfo: DatabaseInfo): Connection; -/** Return the Platform-specific connectivity monitor. */ -export declare function newConnectivityMonitor(): ConnectivityMonitor; diff --git a/frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/src/platform/browser/connectivity_monitor.d.ts b/frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/src/platform/browser/connectivity_monitor.d.ts deleted file mode 100644 index 0f14bb7..0000000 --- a/frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/src/platform/browser/connectivity_monitor.d.ts +++ /dev/null @@ -1,33 +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 { ConnectivityMonitor, NetworkStatus } from '../../remote/connectivity_monitor'; -/** - * Browser implementation of ConnectivityMonitor. - */ -export declare class BrowserConnectivityMonitor implements ConnectivityMonitor { - private readonly networkAvailableListener; - private readonly networkUnavailableListener; - private callbacks; - constructor(); - addCallback(callback: (status: NetworkStatus) => void): void; - shutdown(): void; - private configureNetworkMonitoring; - private onNetworkAvailable; - private onNetworkUnavailable; - /** Checks that all used attributes of window are available. */ - static isAvailable(): boolean; -} diff --git a/frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/src/platform/browser/dom.d.ts b/frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/src/platform/browser/dom.d.ts deleted file mode 100644 index d2a5319..0000000 --- a/frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/src/platform/browser/dom.d.ts +++ /dev/null @@ -1,20 +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. - */ -/** The Platform's 'window' implementation or null if not available. */ -export declare function getWindow(): Window | null; -/** The Platform's 'document' implementation or null if not available. */ -export declare function getDocument(): Document | null; diff --git a/frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/src/platform/browser/format_json.d.ts b/frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/src/platform/browser/format_json.d.ts deleted file mode 100644 index 5e5f7ad..0000000 --- a/frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/src/platform/browser/format_json.d.ts +++ /dev/null @@ -1,18 +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. - */ -/** Formats an object as a JSON string, suitable for logging. */ -export declare function formatJSON(value: unknown): string; diff --git a/frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/src/platform/browser/random_bytes.d.ts b/frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/src/platform/browser/random_bytes.d.ts deleted file mode 100644 index 672e612..0000000 --- a/frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/src/platform/browser/random_bytes.d.ts +++ /dev/null @@ -1,22 +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. - */ -/** - * Generates `nBytes` of random bytes. - * - * If `nBytes < 0` , an error will be thrown. - */ -export declare function randomBytes(nBytes: number): Uint8Array; diff --git a/frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/src/platform/browser/serializer.d.ts b/frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/src/platform/browser/serializer.d.ts deleted file mode 100644 index 839e680..0000000 --- a/frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/src/platform/browser/serializer.d.ts +++ /dev/null @@ -1,20 +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. - */ -/** Return the Platform-specific serializer monitor. */ -import { DatabaseId } from '../../core/database_info'; -import { JsonProtoSerializer } from '../../remote/serializer'; -export declare function newSerializer(databaseId: DatabaseId): JsonProtoSerializer; diff --git a/frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/src/platform/browser/snapshot_to_json.d.ts b/frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/src/platform/browser/snapshot_to_json.d.ts deleted file mode 100644 index 6a75f06..0000000 --- a/frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/src/platform/browser/snapshot_to_json.d.ts +++ /dev/null @@ -1,23 +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. - */ -/** Return the Platform-specific build JSON bundle implementations. */ -import { Firestore } from '../../api/database'; -import { Query } from '../../core/query'; -import { DocumentData } from '../../lite-api/reference'; -import { Document } from '../../model/document'; -export declare function buildDocumentSnapshotJsonBundle(db: Firestore, document: Document, docData: DocumentData, path: string): string; -export declare function buildQuerySnapshotJsonBundle(db: Firestore, query: Query, bundleName: string, parent: string, paths: string[], docs: Document[], documentData: DocumentData[]): string; diff --git a/frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/src/platform/browser/text_serializer.d.ts b/frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/src/platform/browser/text_serializer.d.ts deleted file mode 100644 index 47213fb..0000000 --- a/frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/src/platform/browser/text_serializer.d.ts +++ /dev/null @@ -1,24 +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. - */ -/** - * An instance of the Platform's 'TextEncoder' implementation. - */ -export declare function newTextEncoder(): TextEncoder; -/** - * An instance of the Platform's 'TextDecoder' implementation. - */ -export declare function newTextDecoder(): TextDecoder; diff --git a/frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/src/platform/browser/webchannel_connection.d.ts b/frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/src/platform/browser/webchannel_connection.d.ts deleted file mode 100644 index 79117f7..0000000 --- a/frontend-old/node_modules/@firebase/firestore/dist/lite/firestore/src/platform/browser/webchannel_connection.d.ts +++ /dev/null @@ -1,47 +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 { WebChannel } from '@firebase/webchannel-wrapper/webchannel-blob'; -import { Token } from '../../api/credentials'; -import { DatabaseInfo } from '../../core/database_info'; -import { Stream } from '../../remote/connection'; -import { RestConnection } from '../../remote/rest_connection'; -import { StringMap } from '../../util/types'; -export declare class WebChannelConnection extends RestConnection { - private readonly forceLongPolling; - private readonly autoDetectLongPolling; - private readonly useFetchStreams; - private readonly longPollingOptions; - /** A collection of open WebChannel instances */ - private openWebChannels; - constructor(info: DatabaseInfo); - protected performRPCRequest<Req, Resp>(rpcName: string, url: string, headers: StringMap, body: Req, _forwardCredentials: boolean): Promise<Resp>; - openStream<Req, Resp>(rpcName: string, authToken: Token | null, appCheckToken: Token | null): Stream<Req, Resp>; - /** - * Closes and cleans up any resources associated with the connection. - */ - terminate(): void; - /** - * Add a WebChannel instance to the collection of open instances. - * @param webChannel - */ - addOpenWebChannel(webChannel: WebChannel): void; - /** - * Remove a WebChannel instance from the collection of open instances. - * @param webChannel - */ - removeOpenWebChannel(webChannel: WebChannel): void; -} |
