summaryrefslogtreecommitdiff
path: root/frontend-old/node_modules/@firebase/installations/dist/src
diff options
context:
space:
mode:
authoraltaf-creator <dev@altafcreator.com>2025-11-16 19:08:29 +0800
committeraltaf-creator <dev@altafcreator.com>2025-11-16 19:08:29 +0800
commit434aa8343fdcbb4d5002f934979913c099489bee (patch)
tree55bab4ec5a6151be57797d34f61faf5ea744471b /frontend-old/node_modules/@firebase/installations/dist/src
parent893c388d4e99442a36005e5971a87730623f946e (diff)
sdk, del
Diffstat (limited to 'frontend-old/node_modules/@firebase/installations/dist/src')
-rw-r--r--frontend-old/node_modules/@firebase/installations/dist/src/api/delete-installations.d.ts24
-rw-r--r--frontend-old/node_modules/@firebase/installations/dist/src/api/get-id.d.ts25
-rw-r--r--frontend-old/node_modules/@firebase/installations/dist/src/api/get-installations.d.ts26
-rw-r--r--frontend-old/node_modules/@firebase/installations/dist/src/api/get-token.d.ts26
-rw-r--r--frontend-old/node_modules/@firebase/installations/dist/src/api/index.d.ts21
-rw-r--r--frontend-old/node_modules/@firebase/installations/dist/src/api/on-id-change.d.ts39
-rw-r--r--frontend-old/node_modules/@firebase/installations/dist/src/functions/common.d.ts38
-rw-r--r--frontend-old/node_modules/@firebase/installations/dist/src/functions/config.d.ts17
-rw-r--r--frontend-old/node_modules/@firebase/installations/dist/src/functions/create-installation-request.d.ts19
-rw-r--r--frontend-old/node_modules/@firebase/installations/dist/src/functions/delete-installation-request.d.ts19
-rw-r--r--frontend-old/node_modules/@firebase/installations/dist/src/functions/generate-auth-token-request.d.ts19
-rw-r--r--frontend-old/node_modules/@firebase/installations/dist/src/helpers/buffer-to-base64-url-safe.d.ts17
-rw-r--r--frontend-old/node_modules/@firebase/installations/dist/src/helpers/extract-app-config.d.ts19
-rw-r--r--frontend-old/node_modules/@firebase/installations/dist/src/helpers/fid-changed.d.ts25
-rw-r--r--frontend-old/node_modules/@firebase/installations/dist/src/helpers/generate-fid.d.ts23
-rw-r--r--frontend-old/node_modules/@firebase/installations/dist/src/helpers/get-installation-entry.d.ts28
-rw-r--r--frontend-old/node_modules/@firebase/installations/dist/src/helpers/idb-manager.d.ts32
-rw-r--r--frontend-old/node_modules/@firebase/installations/dist/src/helpers/refresh-auth-token.d.ts25
-rw-r--r--frontend-old/node_modules/@firebase/installations/dist/src/index.d.ts8
-rw-r--r--frontend-old/node_modules/@firebase/installations/dist/src/interfaces/api-response.d.ts31
-rw-r--r--frontend-old/node_modules/@firebase/installations/dist/src/interfaces/installation-entry.d.ts85
-rw-r--r--frontend-old/node_modules/@firebase/installations/dist/src/interfaces/installation-impl.d.ts29
-rw-r--r--frontend-old/node_modules/@firebase/installations/dist/src/interfaces/public-types.d.ts50
-rw-r--r--frontend-old/node_modules/@firebase/installations/dist/src/testing/compare-headers.d.ts21
-rw-r--r--frontend-old/node_modules/@firebase/installations/dist/src/testing/fake-generators.d.ts21
-rw-r--r--frontend-old/node_modules/@firebase/installations/dist/src/testing/setup.d.ts17
-rw-r--r--frontend-old/node_modules/@firebase/installations/dist/src/tsdoc-metadata.json11
-rw-r--r--frontend-old/node_modules/@firebase/installations/dist/src/util/constants.d.ts23
-rw-r--r--frontend-old/node_modules/@firebase/installations/dist/src/util/errors.d.ts46
-rw-r--r--frontend-old/node_modules/@firebase/installations/dist/src/util/get-key.d.ts19
-rw-r--r--frontend-old/node_modules/@firebase/installations/dist/src/util/sleep.d.ts18
31 files changed, 0 insertions, 821 deletions
diff --git a/frontend-old/node_modules/@firebase/installations/dist/src/api/delete-installations.d.ts b/frontend-old/node_modules/@firebase/installations/dist/src/api/delete-installations.d.ts
deleted file mode 100644
index 071ce49..0000000
--- a/frontend-old/node_modules/@firebase/installations/dist/src/api/delete-installations.d.ts
+++ /dev/null
@@ -1,24 +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 { Installations } from '../interfaces/public-types';
-/**
- * Deletes the Firebase Installation and all associated data.
- * @param installations - The `Installations` instance.
- *
- * @public
- */
-export declare function deleteInstallations(installations: Installations): Promise<void>;
diff --git a/frontend-old/node_modules/@firebase/installations/dist/src/api/get-id.d.ts b/frontend-old/node_modules/@firebase/installations/dist/src/api/get-id.d.ts
deleted file mode 100644
index 7041940..0000000
--- a/frontend-old/node_modules/@firebase/installations/dist/src/api/get-id.d.ts
+++ /dev/null
@@ -1,25 +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 { Installations } from '../interfaces/public-types';
-/**
- * Creates a Firebase Installation if there isn't one for the app and
- * returns the Installation ID.
- * @param installations - The `Installations` instance.
- *
- * @public
- */
-export declare function getId(installations: Installations): Promise<string>;
diff --git a/frontend-old/node_modules/@firebase/installations/dist/src/api/get-installations.d.ts b/frontend-old/node_modules/@firebase/installations/dist/src/api/get-installations.d.ts
deleted file mode 100644
index e79d514..0000000
--- a/frontend-old/node_modules/@firebase/installations/dist/src/api/get-installations.d.ts
+++ /dev/null
@@ -1,26 +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 { FirebaseApp } from '@firebase/app';
-import { Installations } from '../interfaces/public-types';
-/**
- * Returns an instance of {@link Installations} associated with the given
- * {@link @firebase/app#FirebaseApp} instance.
- * @param app - The {@link @firebase/app#FirebaseApp} instance.
- *
- * @public
- */
-export declare function getInstallations(app?: FirebaseApp): Installations;
diff --git a/frontend-old/node_modules/@firebase/installations/dist/src/api/get-token.d.ts b/frontend-old/node_modules/@firebase/installations/dist/src/api/get-token.d.ts
deleted file mode 100644
index 28b2aed..0000000
--- a/frontend-old/node_modules/@firebase/installations/dist/src/api/get-token.d.ts
+++ /dev/null
@@ -1,26 +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 { Installations } from '../interfaces/public-types';
-/**
- * Returns a Firebase Installations auth token, identifying the current
- * Firebase Installation.
- * @param installations - The `Installations` instance.
- * @param forceRefresh - Force refresh regardless of token expiration.
- *
- * @public
- */
-export declare function getToken(installations: Installations, forceRefresh?: boolean): Promise<string>;
diff --git a/frontend-old/node_modules/@firebase/installations/dist/src/api/index.d.ts b/frontend-old/node_modules/@firebase/installations/dist/src/api/index.d.ts
deleted file mode 100644
index 9af626f..0000000
--- a/frontend-old/node_modules/@firebase/installations/dist/src/api/index.d.ts
+++ /dev/null
@@ -1,21 +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 * from './get-id';
-export * from './get-token';
-export * from './delete-installations';
-export * from './on-id-change';
-export * from './get-installations';
diff --git a/frontend-old/node_modules/@firebase/installations/dist/src/api/on-id-change.d.ts b/frontend-old/node_modules/@firebase/installations/dist/src/api/on-id-change.d.ts
deleted file mode 100644
index 5f7811e..0000000
--- a/frontend-old/node_modules/@firebase/installations/dist/src/api/on-id-change.d.ts
+++ /dev/null
@@ -1,39 +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 { Installations } from '../interfaces/public-types';
-/**
- * An user defined callback function that gets called when Installations ID changes.
- *
- * @public
- */
-export type IdChangeCallbackFn = (installationId: string) => void;
-/**
- * Unsubscribe a callback function previously added via {@link IdChangeCallbackFn}.
- *
- * @public
- */
-export type IdChangeUnsubscribeFn = () => void;
-/**
- * Sets a new callback that will get called when Installation ID changes.
- * Returns an unsubscribe function that will remove the callback when called.
- * @param installations - The `Installations` instance.
- * @param callback - The callback function that is invoked when FID changes.
- * @returns A function that can be called to unsubscribe.
- *
- * @public
- */
-export declare function onIdChange(installations: Installations, callback: IdChangeCallbackFn): IdChangeUnsubscribeFn;
diff --git a/frontend-old/node_modules/@firebase/installations/dist/src/functions/common.d.ts b/frontend-old/node_modules/@firebase/installations/dist/src/functions/common.d.ts
deleted file mode 100644
index d592734..0000000
--- a/frontend-old/node_modules/@firebase/installations/dist/src/functions/common.d.ts
+++ /dev/null
@@ -1,38 +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 { FirebaseError } from '@firebase/util';
-import { GenerateAuthTokenResponse } from '../interfaces/api-response';
-import { CompletedAuthToken, RegisteredInstallationEntry } from '../interfaces/installation-entry';
-import { AppConfig } from '../interfaces/installation-impl';
-export declare function getInstallationsEndpoint({ projectId }: AppConfig): string;
-export declare function extractAuthTokenInfoFromResponse(response: GenerateAuthTokenResponse): CompletedAuthToken;
-export declare function getErrorFromResponse(requestName: string, response: Response): Promise<FirebaseError>;
-export declare function getHeaders({ apiKey }: AppConfig): Headers;
-export declare function getHeadersWithAuth(appConfig: AppConfig, { refreshToken }: RegisteredInstallationEntry): Headers;
-export interface ErrorResponse {
- error: {
- code: number;
- message: string;
- status: string;
- };
-}
-/**
- * Calls the passed in fetch wrapper and returns the response.
- * If the returned response has a status of 5xx, re-runs the function once and
- * returns the response.
- */
-export declare function retryIfServerError(fn: () => Promise<Response>): Promise<Response>;
diff --git a/frontend-old/node_modules/@firebase/installations/dist/src/functions/config.d.ts b/frontend-old/node_modules/@firebase/installations/dist/src/functions/config.d.ts
deleted file mode 100644
index 06082e0..0000000
--- a/frontend-old/node_modules/@firebase/installations/dist/src/functions/config.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 function registerInstallations(): void;
diff --git a/frontend-old/node_modules/@firebase/installations/dist/src/functions/create-installation-request.d.ts b/frontend-old/node_modules/@firebase/installations/dist/src/functions/create-installation-request.d.ts
deleted file mode 100644
index d1997d5..0000000
--- a/frontend-old/node_modules/@firebase/installations/dist/src/functions/create-installation-request.d.ts
+++ /dev/null
@@ -1,19 +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 { InProgressInstallationEntry, RegisteredInstallationEntry } from '../interfaces/installation-entry';
-import { FirebaseInstallationsImpl } from '../interfaces/installation-impl';
-export declare function createInstallationRequest({ appConfig, heartbeatServiceProvider }: FirebaseInstallationsImpl, { fid }: InProgressInstallationEntry): Promise<RegisteredInstallationEntry>;
diff --git a/frontend-old/node_modules/@firebase/installations/dist/src/functions/delete-installation-request.d.ts b/frontend-old/node_modules/@firebase/installations/dist/src/functions/delete-installation-request.d.ts
deleted file mode 100644
index d8dfda8..0000000
--- a/frontend-old/node_modules/@firebase/installations/dist/src/functions/delete-installation-request.d.ts
+++ /dev/null
@@ -1,19 +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 { AppConfig } from '../interfaces/installation-impl';
-import { RegisteredInstallationEntry } from '../interfaces/installation-entry';
-export declare function deleteInstallationRequest(appConfig: AppConfig, installationEntry: RegisteredInstallationEntry): Promise<void>;
diff --git a/frontend-old/node_modules/@firebase/installations/dist/src/functions/generate-auth-token-request.d.ts b/frontend-old/node_modules/@firebase/installations/dist/src/functions/generate-auth-token-request.d.ts
deleted file mode 100644
index 7b4179e..0000000
--- a/frontend-old/node_modules/@firebase/installations/dist/src/functions/generate-auth-token-request.d.ts
+++ /dev/null
@@ -1,19 +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 { CompletedAuthToken, RegisteredInstallationEntry } from '../interfaces/installation-entry';
-import { FirebaseInstallationsImpl } from '../interfaces/installation-impl';
-export declare function generateAuthTokenRequest({ appConfig, heartbeatServiceProvider }: FirebaseInstallationsImpl, installationEntry: RegisteredInstallationEntry): Promise<CompletedAuthToken>;
diff --git a/frontend-old/node_modules/@firebase/installations/dist/src/helpers/buffer-to-base64-url-safe.d.ts b/frontend-old/node_modules/@firebase/installations/dist/src/helpers/buffer-to-base64-url-safe.d.ts
deleted file mode 100644
index 19bcb44..0000000
--- a/frontend-old/node_modules/@firebase/installations/dist/src/helpers/buffer-to-base64-url-safe.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 declare function bufferToBase64UrlSafe(array: Uint8Array): string;
diff --git a/frontend-old/node_modules/@firebase/installations/dist/src/helpers/extract-app-config.d.ts b/frontend-old/node_modules/@firebase/installations/dist/src/helpers/extract-app-config.d.ts
deleted file mode 100644
index 4293d64..0000000
--- a/frontend-old/node_modules/@firebase/installations/dist/src/helpers/extract-app-config.d.ts
+++ /dev/null
@@ -1,19 +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 { FirebaseApp } from '@firebase/app';
-import { AppConfig } from '../interfaces/installation-impl';
-export declare function extractAppConfig(app: FirebaseApp): AppConfig;
diff --git a/frontend-old/node_modules/@firebase/installations/dist/src/helpers/fid-changed.d.ts b/frontend-old/node_modules/@firebase/installations/dist/src/helpers/fid-changed.d.ts
deleted file mode 100644
index 58dcb38..0000000
--- a/frontend-old/node_modules/@firebase/installations/dist/src/helpers/fid-changed.d.ts
+++ /dev/null
@@ -1,25 +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 { AppConfig } from '../interfaces/installation-impl';
-import { IdChangeCallbackFn } from '../api';
-/**
- * Calls the onIdChange callbacks with the new FID value, and broadcasts the
- * change to other tabs.
- */
-export declare function fidChanged(appConfig: AppConfig, fid: string): void;
-export declare function addCallback(appConfig: AppConfig, callback: IdChangeCallbackFn): void;
-export declare function removeCallback(appConfig: AppConfig, callback: IdChangeCallbackFn): void;
diff --git a/frontend-old/node_modules/@firebase/installations/dist/src/helpers/generate-fid.d.ts b/frontend-old/node_modules/@firebase/installations/dist/src/helpers/generate-fid.d.ts
deleted file mode 100644
index a1a8f8d..0000000
--- a/frontend-old/node_modules/@firebase/installations/dist/src/helpers/generate-fid.d.ts
+++ /dev/null
@@ -1,23 +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 declare const VALID_FID_PATTERN: RegExp;
-export declare const INVALID_FID = "";
-/**
- * Generates a new FID using random values from Web Crypto API.
- * Returns an empty string if FID generation fails for any reason.
- */
-export declare function generateFid(): string;
diff --git a/frontend-old/node_modules/@firebase/installations/dist/src/helpers/get-installation-entry.d.ts b/frontend-old/node_modules/@firebase/installations/dist/src/helpers/get-installation-entry.d.ts
deleted file mode 100644
index 1b0355f..0000000
--- a/frontend-old/node_modules/@firebase/installations/dist/src/helpers/get-installation-entry.d.ts
+++ /dev/null
@@ -1,28 +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 { FirebaseInstallationsImpl } from '../interfaces/installation-impl';
-import { InstallationEntry, RegisteredInstallationEntry } from '../interfaces/installation-entry';
-export interface InstallationEntryWithRegistrationPromise {
- installationEntry: InstallationEntry;
- /** Exist iff the installationEntry is not registered. */
- registrationPromise?: Promise<RegisteredInstallationEntry>;
-}
-/**
- * Updates and returns the InstallationEntry from the database.
- * Also triggers a registration request if it is necessary and possible.
- */
-export declare function getInstallationEntry(installations: FirebaseInstallationsImpl): Promise<InstallationEntryWithRegistrationPromise>;
diff --git a/frontend-old/node_modules/@firebase/installations/dist/src/helpers/idb-manager.d.ts b/frontend-old/node_modules/@firebase/installations/dist/src/helpers/idb-manager.d.ts
deleted file mode 100644
index 8ee7efa..0000000
--- a/frontend-old/node_modules/@firebase/installations/dist/src/helpers/idb-manager.d.ts
+++ /dev/null
@@ -1,32 +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 { AppConfig } from '../interfaces/installation-impl';
-import { InstallationEntry } from '../interfaces/installation-entry';
-/** Gets record(s) from the objectStore that match the given key. */
-export declare function get(appConfig: AppConfig): Promise<InstallationEntry | undefined>;
-/** Assigns or overwrites the record for the given key with the given value. */
-export declare function set<ValueType extends InstallationEntry>(appConfig: AppConfig, value: ValueType): Promise<ValueType>;
-/** Removes record(s) from the objectStore that match the given key. */
-export declare function remove(appConfig: AppConfig): Promise<void>;
-/**
- * Atomically updates a record with the result of updateFn, which gets
- * called with the current value. If newValue is undefined, the record is
- * deleted instead.
- * @return Updated value
- */
-export declare function update<ValueType extends InstallationEntry | undefined>(appConfig: AppConfig, updateFn: (previousValue: InstallationEntry | undefined) => ValueType): Promise<ValueType>;
-export declare function clear(): Promise<void>;
diff --git a/frontend-old/node_modules/@firebase/installations/dist/src/helpers/refresh-auth-token.d.ts b/frontend-old/node_modules/@firebase/installations/dist/src/helpers/refresh-auth-token.d.ts
deleted file mode 100644
index 9bf6c6b..0000000
--- a/frontend-old/node_modules/@firebase/installations/dist/src/helpers/refresh-auth-token.d.ts
+++ /dev/null
@@ -1,25 +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 { FirebaseInstallationsImpl } from '../interfaces/installation-impl';
-import { CompletedAuthToken } from '../interfaces/installation-entry';
-/**
- * Returns a valid authentication token for the installation. Generates a new
- * token if one doesn't exist, is expired or about to expire.
- *
- * Should only be called if the Firebase Installation is registered.
- */
-export declare function refreshAuthToken(installations: FirebaseInstallationsImpl, forceRefresh?: boolean): Promise<CompletedAuthToken>;
diff --git a/frontend-old/node_modules/@firebase/installations/dist/src/index.d.ts b/frontend-old/node_modules/@firebase/installations/dist/src/index.d.ts
deleted file mode 100644
index 8059f56..0000000
--- a/frontend-old/node_modules/@firebase/installations/dist/src/index.d.ts
+++ /dev/null
@@ -1,8 +0,0 @@
-/**
- * The Firebase Installations Web SDK.
- * This SDK does not work in a Node.js environment.
- *
- * @packageDocumentation
- */
-export * from './api';
-export * from './interfaces/public-types';
diff --git a/frontend-old/node_modules/@firebase/installations/dist/src/interfaces/api-response.d.ts b/frontend-old/node_modules/@firebase/installations/dist/src/interfaces/api-response.d.ts
deleted file mode 100644
index b7ab7fa..0000000
--- a/frontend-old/node_modules/@firebase/installations/dist/src/interfaces/api-response.d.ts
+++ /dev/null
@@ -1,31 +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 interface CreateInstallationResponse {
- readonly refreshToken: string;
- readonly authToken: GenerateAuthTokenResponse;
- readonly fid?: string;
-}
-export interface GenerateAuthTokenResponse {
- readonly token: string;
- /**
- * Encoded as a string with the suffix 's' (indicating seconds), preceded by
- * the number of seconds.
- *
- * Example: "604800s".
- */
- readonly expiresIn: string;
-}
diff --git a/frontend-old/node_modules/@firebase/installations/dist/src/interfaces/installation-entry.d.ts b/frontend-old/node_modules/@firebase/installations/dist/src/interfaces/installation-entry.d.ts
deleted file mode 100644
index fbdc655..0000000
--- a/frontend-old/node_modules/@firebase/installations/dist/src/interfaces/installation-entry.d.ts
+++ /dev/null
@@ -1,85 +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.
- */
-/** Status of a server request. */
-export declare const enum RequestStatus {
- NOT_STARTED = 0,
- IN_PROGRESS = 1,
- COMPLETED = 2
-}
-export interface NotStartedAuthToken {
- readonly requestStatus: RequestStatus.NOT_STARTED;
-}
-export interface InProgressAuthToken {
- readonly requestStatus: RequestStatus.IN_PROGRESS;
- /**
- * Unix timestamp when the current generateAuthRequest was initiated.
- * Used for figuring out how long the request status has been IN_PROGRESS.
- */
- readonly requestTime: number;
-}
-export interface CompletedAuthToken {
- readonly requestStatus: RequestStatus.COMPLETED;
- /**
- * Firebase Installations Authentication Token.
- * Only exists if requestStatus is COMPLETED.
- */
- readonly token: string;
- /**
- * Unix timestamp when Authentication Token was created.
- * Only exists if requestStatus is COMPLETED.
- */
- readonly creationTime: number;
- /**
- * Authentication Token time to live duration in milliseconds.
- * Only exists if requestStatus is COMPLETED.
- */
- readonly expiresIn: number;
-}
-export type AuthToken = NotStartedAuthToken | InProgressAuthToken | CompletedAuthToken;
-export interface UnregisteredInstallationEntry {
- /** Status of the Firebase Installation registration on the server. */
- readonly registrationStatus: RequestStatus.NOT_STARTED;
- /** Firebase Installation ID */
- readonly fid: string;
-}
-export interface InProgressInstallationEntry {
- /** Status of the Firebase Installation registration on the server. */
- readonly registrationStatus: RequestStatus.IN_PROGRESS;
- /**
- * Unix timestamp that shows the time when the current createInstallation
- * request was initiated.
- * Used for figuring out how long the registration status has been PENDING.
- */
- readonly registrationTime: number;
- /** Firebase Installation ID */
- readonly fid: string;
-}
-export interface RegisteredInstallationEntry {
- /** Status of the Firebase Installation registration on the server. */
- readonly registrationStatus: RequestStatus.COMPLETED;
- /** Firebase Installation ID */
- readonly fid: string;
- /**
- * Refresh Token returned from the server.
- * Used for authenticating generateAuthToken requests.
- */
- readonly refreshToken: string;
- /** Firebase Installation Authentication Token. */
- readonly authToken: AuthToken;
-}
-/** Firebase Installation ID and related data in the database. */
-export type InstallationEntry = UnregisteredInstallationEntry | InProgressInstallationEntry | RegisteredInstallationEntry;
diff --git a/frontend-old/node_modules/@firebase/installations/dist/src/interfaces/installation-impl.d.ts b/frontend-old/node_modules/@firebase/installations/dist/src/interfaces/installation-impl.d.ts
deleted file mode 100644
index 5c7f8d0..0000000
--- a/frontend-old/node_modules/@firebase/installations/dist/src/interfaces/installation-impl.d.ts
+++ /dev/null
@@ -1,29 +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 { Provider } from '@firebase/component';
-import { _FirebaseService } from '@firebase/app';
-import { Installations } from '../interfaces/public-types';
-export interface FirebaseInstallationsImpl extends Installations, _FirebaseService {
- readonly appConfig: AppConfig;
- readonly heartbeatServiceProvider: Provider<'heartbeat'>;
-}
-export interface AppConfig {
- readonly appName: string;
- readonly projectId: string;
- readonly apiKey: string;
- readonly appId: string;
-}
diff --git a/frontend-old/node_modules/@firebase/installations/dist/src/interfaces/public-types.d.ts b/frontend-old/node_modules/@firebase/installations/dist/src/interfaces/public-types.d.ts
deleted file mode 100644
index 794511e..0000000
--- a/frontend-old/node_modules/@firebase/installations/dist/src/interfaces/public-types.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 { FirebaseApp } from '@firebase/app';
-/**
- * Public interface of the Firebase Installations SDK.
- *
- * @public
- */
-export interface Installations {
- /**
- * The {@link @firebase/app#FirebaseApp} this `Installations` instance is associated with.
- */
- app: FirebaseApp;
-}
-/**
- * An interface for Firebase internal SDKs use only.
- *
- * @internal
- */
-export interface _FirebaseInstallationsInternal {
- /**
- * Creates a Firebase Installation if there isn't one for the app and
- * returns the Installation ID.
- */
- getId(): Promise<string>;
- /**
- * Returns an Authentication Token for the current Firebase Installation.
- */
- getToken(forceRefresh?: boolean): Promise<string>;
-}
-declare module '@firebase/component' {
- interface NameServiceMapping {
- 'installations': Installations;
- 'installations-internal': _FirebaseInstallationsInternal;
- }
-}
diff --git a/frontend-old/node_modules/@firebase/installations/dist/src/testing/compare-headers.d.ts b/frontend-old/node_modules/@firebase/installations/dist/src/testing/compare-headers.d.ts
deleted file mode 100644
index 11bff68..0000000
--- a/frontend-old/node_modules/@firebase/installations/dist/src/testing/compare-headers.d.ts
+++ /dev/null
@@ -1,21 +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.
- */
-declare class HeadersWithEntries extends Headers {
- entries?(): Iterable<[string, string]>;
-}
-export declare function compareHeaders(expectedHeaders: HeadersWithEntries, actualHeaders: HeadersWithEntries): void;
-export {};
diff --git a/frontend-old/node_modules/@firebase/installations/dist/src/testing/fake-generators.d.ts b/frontend-old/node_modules/@firebase/installations/dist/src/testing/fake-generators.d.ts
deleted file mode 100644
index c03290f..0000000
--- a/frontend-old/node_modules/@firebase/installations/dist/src/testing/fake-generators.d.ts
+++ /dev/null
@@ -1,21 +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 { FirebaseApp } from '@firebase/app';
-import { FirebaseInstallationsImpl, AppConfig } from '../interfaces/installation-impl';
-export declare function getFakeApp(): FirebaseApp;
-export declare function getFakeAppConfig(customValues?: Partial<AppConfig>): AppConfig;
-export declare function getFakeInstallations(): FirebaseInstallationsImpl;
diff --git a/frontend-old/node_modules/@firebase/installations/dist/src/testing/setup.d.ts b/frontend-old/node_modules/@firebase/installations/dist/src/testing/setup.d.ts
deleted file mode 100644
index 1c93d90..0000000
--- a/frontend-old/node_modules/@firebase/installations/dist/src/testing/setup.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/installations/dist/src/tsdoc-metadata.json b/frontend-old/node_modules/@firebase/installations/dist/src/tsdoc-metadata.json
deleted file mode 100644
index 6af1f6a..0000000
--- a/frontend-old/node_modules/@firebase/installations/dist/src/tsdoc-metadata.json
+++ /dev/null
@@ -1,11 +0,0 @@
-// This file is read by tools that parse documentation comments conforming to the TSDoc standard.
-// It should be published with your NPM package. It should not be tracked by Git.
-{
- "tsdocVersion": "0.12",
- "toolPackages": [
- {
- "packageName": "@microsoft/api-extractor",
- "packageVersion": "0.1.2"
- }
- ]
-}
diff --git a/frontend-old/node_modules/@firebase/installations/dist/src/util/constants.d.ts b/frontend-old/node_modules/@firebase/installations/dist/src/util/constants.d.ts
deleted file mode 100644
index 1bef807..0000000
--- a/frontend-old/node_modules/@firebase/installations/dist/src/util/constants.d.ts
+++ /dev/null
@@ -1,23 +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 declare const PENDING_TIMEOUT_MS = 10000;
-export declare const PACKAGE_VERSION: string;
-export declare const INTERNAL_AUTH_VERSION = "FIS_v2";
-export declare const INSTALLATIONS_API_URL = "https://firebaseinstallations.googleapis.com/v1";
-export declare const TOKEN_EXPIRATION_BUFFER: number;
-export declare const SERVICE = "installations";
-export declare const SERVICE_NAME = "Installations";
diff --git a/frontend-old/node_modules/@firebase/installations/dist/src/util/errors.d.ts b/frontend-old/node_modules/@firebase/installations/dist/src/util/errors.d.ts
deleted file mode 100644
index 8d596b1..0000000
--- a/frontend-old/node_modules/@firebase/installations/dist/src/util/errors.d.ts
+++ /dev/null
@@ -1,46 +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 { ErrorFactory, FirebaseError } from '@firebase/util';
-export declare const enum ErrorCode {
- MISSING_APP_CONFIG_VALUES = "missing-app-config-values",
- NOT_REGISTERED = "not-registered",
- INSTALLATION_NOT_FOUND = "installation-not-found",
- REQUEST_FAILED = "request-failed",
- APP_OFFLINE = "app-offline",
- DELETE_PENDING_REGISTRATION = "delete-pending-registration"
-}
-interface ErrorParams {
- [ErrorCode.MISSING_APP_CONFIG_VALUES]: {
- valueName: string;
- };
- [ErrorCode.REQUEST_FAILED]: {
- requestName: string;
- [index: string]: string | number;
- } & ServerErrorData;
-}
-export declare const ERROR_FACTORY: ErrorFactory<ErrorCode, ErrorParams>;
-export interface ServerErrorData {
- serverCode: number;
- serverMessage: string;
- serverStatus: string;
-}
-export type ServerError = FirebaseError & {
- customData: ServerErrorData;
-};
-/** Returns true if error is a FirebaseError that is based on an error from the server. */
-export declare function isServerError(error: unknown): error is ServerError;
-export {};
diff --git a/frontend-old/node_modules/@firebase/installations/dist/src/util/get-key.d.ts b/frontend-old/node_modules/@firebase/installations/dist/src/util/get-key.d.ts
deleted file mode 100644
index 7b20b2e..0000000
--- a/frontend-old/node_modules/@firebase/installations/dist/src/util/get-key.d.ts
+++ /dev/null
@@ -1,19 +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 { AppConfig } from '../interfaces/installation-impl';
-/** Returns a string key that can be used to identify the app. */
-export declare function getKey(appConfig: AppConfig): string;
diff --git a/frontend-old/node_modules/@firebase/installations/dist/src/util/sleep.d.ts b/frontend-old/node_modules/@firebase/installations/dist/src/util/sleep.d.ts
deleted file mode 100644
index f51e6cd..0000000
--- a/frontend-old/node_modules/@firebase/installations/dist/src/util/sleep.d.ts
+++ /dev/null
@@ -1,18 +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.
- */
-/** Returns a promise that resolves after given time passes. */
-export declare function sleep(ms: number): Promise<void>;