summaryrefslogtreecommitdiff
path: root/frontend-old/node_modules/@firebase/auth-compat/dist/auth-compat
diff options
context:
space:
mode:
authoraltaf-creator <dev@altafcreator.com>2025-11-09 11:15:19 +0800
committeraltaf-creator <dev@altafcreator.com>2025-11-09 11:15:19 +0800
commit8eff962cab608341a6f2fedc640a0e32d96f26e2 (patch)
tree05534d1a720ddc3691d346c69b4972555820a061 /frontend-old/node_modules/@firebase/auth-compat/dist/auth-compat
pain
Diffstat (limited to 'frontend-old/node_modules/@firebase/auth-compat/dist/auth-compat')
-rw-r--r--frontend-old/node_modules/@firebase/auth-compat/dist/auth-compat/index.d.ts112
-rw-r--r--frontend-old/node_modules/@firebase/auth-compat/dist/auth-compat/index.node.d.ts24
-rw-r--r--frontend-old/node_modules/@firebase/auth-compat/dist/auth-compat/scripts/run_node_tests.d.ts17
-rw-r--r--frontend-old/node_modules/@firebase/auth-compat/dist/auth-compat/src/auth.d.ts72
-rw-r--r--frontend-old/node_modules/@firebase/auth-compat/dist/auth-compat/src/auth.test.d.ts17
-rw-r--r--frontend-old/node_modules/@firebase/auth-compat/dist/auth-compat/src/persistence.d.ts29
-rw-r--r--frontend-old/node_modules/@firebase/auth-compat/dist/auth-compat/src/phone_auth_provider.d.ts29
-rw-r--r--frontend-old/node_modules/@firebase/auth-compat/dist/auth-compat/src/platform.d.ts39
-rw-r--r--frontend-old/node_modules/@firebase/auth-compat/dist/auth-compat/src/popup_redirect.d.ts34
-rw-r--r--frontend-old/node_modules/@firebase/auth-compat/dist/auth-compat/src/popup_redirect.test.d.ts17
-rw-r--r--frontend-old/node_modules/@firebase/auth-compat/dist/auth-compat/src/recaptcha_verifier.d.ts28
-rw-r--r--frontend-old/node_modules/@firebase/auth-compat/dist/auth-compat/src/user.d.ts64
-rw-r--r--frontend-old/node_modules/@firebase/auth-compat/dist/auth-compat/src/user_credential.d.ts20
-rw-r--r--frontend-old/node_modules/@firebase/auth-compat/dist/auth-compat/src/wrap.d.ts26
-rw-r--r--frontend-old/node_modules/@firebase/auth-compat/dist/auth-compat/test/helpers/helpers.d.ts24
-rw-r--r--frontend-old/node_modules/@firebase/auth-compat/dist/auth-compat/test/integration/flows/anonymous.test.d.ts17
-rw-r--r--frontend-old/node_modules/@firebase/auth-compat/dist/auth-compat/test/integration/flows/custom.test.d.ts17
-rw-r--r--frontend-old/node_modules/@firebase/auth-compat/dist/auth-compat/test/integration/flows/email.test.d.ts17
-rw-r--r--frontend-old/node_modules/@firebase/auth-compat/dist/auth-compat/test/integration/flows/idp.test.d.ts17
-rw-r--r--frontend-old/node_modules/@firebase/auth-compat/dist/auth-compat/test/integration/flows/oob.test.d.ts17
-rw-r--r--frontend-old/node_modules/@firebase/auth-compat/dist/auth-compat/test/integration/flows/phone.test.d.ts17
21 files changed, 654 insertions, 0 deletions
diff --git a/frontend-old/node_modules/@firebase/auth-compat/dist/auth-compat/index.d.ts b/frontend-old/node_modules/@firebase/auth-compat/dist/auth-compat/index.d.ts
new file mode 100644
index 0000000..1c0f9ae
--- /dev/null
+++ b/frontend-old/node_modules/@firebase/auth-compat/dist/auth-compat/index.d.ts
@@ -0,0 +1,112 @@
+/**
+ * @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 types from '@firebase/auth-types';
+declare module '@firebase/component' {
+ interface NameServiceMapping {
+ 'auth-compat': types.FirebaseAuth;
+ }
+}
+declare module '@firebase/app-compat' {
+ interface FirebaseNamespace {
+ auth: {
+ (app?: FirebaseApp): types.FirebaseAuth;
+ Auth: typeof types.FirebaseAuth;
+ EmailAuthProvider: typeof types.EmailAuthProvider;
+ EmailAuthProvider_Instance: typeof types.EmailAuthProvider_Instance;
+ FacebookAuthProvider: typeof types.FacebookAuthProvider;
+ FacebookAuthProvider_Instance: typeof types.FacebookAuthProvider_Instance;
+ GithubAuthProvider: typeof types.GithubAuthProvider;
+ GithubAuthProvider_Instance: typeof types.GithubAuthProvider_Instance;
+ GoogleAuthProvider: typeof types.GoogleAuthProvider;
+ GoogleAuthProvider_Instance: typeof types.GoogleAuthProvider_Instance;
+ OAuthProvider: typeof types.OAuthProvider;
+ SAMLAuthProvider: typeof types.SAMLAuthProvider;
+ PhoneAuthProvider: typeof types.PhoneAuthProvider;
+ PhoneAuthProvider_Instance: typeof types.PhoneAuthProvider_Instance;
+ PhoneMultiFactorGenerator: typeof types.PhoneMultiFactorGenerator;
+ RecaptchaVerifier: typeof types.RecaptchaVerifier;
+ RecaptchaVerifier_Instance: typeof types.RecaptchaVerifier_Instance;
+ TwitterAuthProvider: typeof types.TwitterAuthProvider;
+ TwitterAuthProvider_Instance: typeof types.TwitterAuthProvider_Instance;
+ };
+ }
+ interface FirebaseApp {
+ auth?(): types.FirebaseAuth;
+ }
+}
+
+import { FirebaseApp as FirebaseAppCompat } from "@firebase/app-compat";
+import { type User, type Unsubscribe, type ActionCodeInfo, type UserCredential, type Auth, type IdTokenResult, type MultiFactorError, type MultiFactorResolver, type PopupRedirectResolver, type Dependencies, type AuthCredential, type ApplicationVerifier, type ConfirmationResult, type AuthProvider, type MultiFactorUser, type NextOrObserver, type ErrorFn, type CompleteFn, type ActionCodeSettings, type Persistence, type PhoneAuthCredential, type PasswordValidationStatus } from "@firebase/auth";
+declare module "@firebase/auth" {
+ function applyActionCode(auth: types.FirebaseAuth, oobCode: string): Promise<void>;
+ function beforeAuthStateChanged(auth: types.FirebaseAuth, callback: (user: User | null) => void | Promise<void>, onAbort?: () => void): Unsubscribe;
+ function checkActionCode(auth: types.FirebaseAuth, oobCode: string): Promise<ActionCodeInfo>;
+ function confirmPasswordReset(auth: types.FirebaseAuth, oobCode: string, newPassword: string): Promise<void>;
+ function connectAuthEmulator(auth: types.FirebaseAuth, url: string, options?: {
+ disableWarnings: boolean;
+ }): void;
+ function createUserWithEmailAndPassword(auth: types.FirebaseAuth, email: string, password: string): Promise<UserCredential>;
+ function deleteUser(user: types.User): Promise<void>;
+ function fetchSignInMethodsForEmail(auth: types.FirebaseAuth, email: string): Promise<string[]>;
+ function getAuth(app?: FirebaseAppCompat): Auth;
+ function getIdToken(user: types.User, forceRefresh?: boolean): Promise<string>;
+ function getIdTokenResult(user: types.User, forceRefresh?: boolean): Promise<IdTokenResult>;
+ function getMultiFactorResolver(auth: types.FirebaseAuth, error: MultiFactorError): MultiFactorResolver;
+ function getRedirectResult(auth: types.FirebaseAuth, resolver?: PopupRedirectResolver): Promise<UserCredential | null>;
+ function initializeAuth(app: FirebaseAppCompat, deps?: Dependencies): Auth;
+ function initializeRecaptchaConfig(auth: types.FirebaseAuth): Promise<void>;
+ function isSignInWithEmailLink(auth: types.FirebaseAuth, emailLink: string): boolean;
+ function linkWithCredential(user: types.User, credential: AuthCredential): Promise<UserCredential>;
+ function linkWithPhoneNumber(user: types.User, phoneNumber: string, appVerifier?: ApplicationVerifier): Promise<ConfirmationResult>;
+ function linkWithPopup(user: types.User, provider: AuthProvider, resolver?: PopupRedirectResolver): Promise<UserCredential>;
+ function linkWithRedirect(user: types.User, provider: AuthProvider, resolver?: PopupRedirectResolver): Promise<never>;
+ function multiFactor(user: types.User): MultiFactorUser;
+ function onAuthStateChanged(auth: types.FirebaseAuth, nextOrObserver: NextOrObserver<User>, error?: ErrorFn, completed?: CompleteFn): Unsubscribe;
+ function onIdTokenChanged(auth: types.FirebaseAuth, nextOrObserver: NextOrObserver<User>, error?: ErrorFn, completed?: CompleteFn): Unsubscribe;
+ function reauthenticateWithCredential(user: types.User, credential: AuthCredential): Promise<UserCredential>;
+ function reauthenticateWithPhoneNumber(user: types.User, phoneNumber: string, appVerifier?: ApplicationVerifier): Promise<ConfirmationResult>;
+ function reauthenticateWithPopup(user: types.User, provider: AuthProvider, resolver?: PopupRedirectResolver): Promise<UserCredential>;
+ function reauthenticateWithRedirect(user: types.User, provider: AuthProvider, resolver?: PopupRedirectResolver): Promise<never>;
+ function reload(user: types.User): Promise<void>;
+ function revokeAccessToken(auth: types.FirebaseAuth, token: string): Promise<void>;
+ function sendEmailVerification(user: types.User, actionCodeSettings?: ActionCodeSettings | null): Promise<void>;
+ function sendPasswordResetEmail(auth: types.FirebaseAuth, email: string, actionCodeSettings?: ActionCodeSettings): Promise<void>;
+ function sendSignInLinkToEmail(auth: types.FirebaseAuth, email: string, actionCodeSettings: ActionCodeSettings): Promise<void>;
+ function setPersistence(auth: types.FirebaseAuth, persistence: Persistence): Promise<void>;
+ function signInAnonymously(auth: types.FirebaseAuth): Promise<UserCredential>;
+ function signInWithCredential(auth: types.FirebaseAuth, credential: AuthCredential): Promise<UserCredential>;
+ function signInWithCustomToken(auth: types.FirebaseAuth, customToken: string): Promise<UserCredential>;
+ function signInWithEmailAndPassword(auth: types.FirebaseAuth, email: string, password: string): Promise<UserCredential>;
+ function signInWithEmailLink(auth: types.FirebaseAuth, email: string, emailLink?: string): Promise<UserCredential>;
+ function signInWithPhoneNumber(auth: types.FirebaseAuth, phoneNumber: string, appVerifier?: ApplicationVerifier): Promise<ConfirmationResult>;
+ function signInWithPopup(auth: types.FirebaseAuth, provider: AuthProvider, resolver?: PopupRedirectResolver): Promise<UserCredential>;
+ function signInWithRedirect(auth: types.FirebaseAuth, provider: AuthProvider, resolver?: PopupRedirectResolver): Promise<never>;
+ function signOut(auth: types.FirebaseAuth): Promise<void>;
+ function unlink(user: types.User, providerId: string): Promise<User>;
+ function updateCurrentUser(auth: types.FirebaseAuth, user: User | null): Promise<void>;
+ function updateEmail(user: types.User, newEmail: string): Promise<void>;
+ function updatePassword(user: types.User, newPassword: string): Promise<void>;
+ function updatePhoneNumber(user: types.User, credential: PhoneAuthCredential): Promise<void>;
+ function updateProfile(user: types.User, { displayName, photoURL: photoUrl }: {
+ displayName?: string | null;
+ photoURL?: string | null;
+ }): Promise<void>;
+ function useDeviceLanguage(auth: types.FirebaseAuth): void;
+ function validatePassword(auth: types.FirebaseAuth, password: string): Promise<PasswordValidationStatus>;
+ function verifyBeforeUpdateEmail(user: types.User, newEmail: string, actionCodeSettings?: ActionCodeSettings | null): Promise<void>;
+ function verifyPasswordResetCode(auth: types.FirebaseAuth, code: string): Promise<string>;
+}
diff --git a/frontend-old/node_modules/@firebase/auth-compat/dist/auth-compat/index.node.d.ts b/frontend-old/node_modules/@firebase/auth-compat/dist/auth-compat/index.node.d.ts
new file mode 100644
index 0000000..a26a7c5
--- /dev/null
+++ b/frontend-old/node_modules/@firebase/auth-compat/dist/auth-compat/index.node.d.ts
@@ -0,0 +1,24 @@
+/**
+ * @license
+ * Copyright 2017 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+/**
+ * This is the file that people using Node.js will actually import. You should
+ * only include this file if you have something specific about your
+ * implementation that mandates having a separate entrypoint. Otherwise you can
+ * just use index.ts
+ */
+export * from './index';
+import './index';
diff --git a/frontend-old/node_modules/@firebase/auth-compat/dist/auth-compat/scripts/run_node_tests.d.ts b/frontend-old/node_modules/@firebase/auth-compat/dist/auth-compat/scripts/run_node_tests.d.ts
new file mode 100644
index 0000000..731d2d9
--- /dev/null
+++ b/frontend-old/node_modules/@firebase/auth-compat/dist/auth-compat/scripts/run_node_tests.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/auth-compat/dist/auth-compat/src/auth.d.ts b/frontend-old/node_modules/@firebase/auth-compat/dist/auth-compat/src/auth.d.ts
new file mode 100644
index 0000000..9a838dd
--- /dev/null
+++ b/frontend-old/node_modules/@firebase/auth-compat/dist/auth-compat/src/auth.d.ts
@@ -0,0 +1,72 @@
+/**
+ * @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, _FirebaseService } from '@firebase/app-compat';
+import * as exp from '@firebase/auth/internal';
+import * as compat from '@firebase/auth-types';
+import { Provider } from '@firebase/component';
+import { Observer, Unsubscribe } from '@firebase/util';
+import { Wrapper } from './wrap';
+export declare class Auth implements compat.FirebaseAuth, Wrapper<exp.Auth>, _FirebaseService {
+ readonly app: FirebaseApp;
+ static Persistence: {
+ LOCAL: string;
+ NONE: string;
+ SESSION: string;
+ };
+ readonly _delegate: exp.AuthImpl;
+ constructor(app: FirebaseApp, provider: Provider<'auth'>);
+ get emulatorConfig(): compat.EmulatorConfig | null;
+ get currentUser(): compat.User | null;
+ get languageCode(): string | null;
+ set languageCode(languageCode: string | null);
+ get settings(): compat.AuthSettings;
+ get tenantId(): string | null;
+ set tenantId(tid: string | null);
+ useDeviceLanguage(): void;
+ signOut(): Promise<void>;
+ useEmulator(url: string, options?: {
+ disableWarnings: boolean;
+ }): void;
+ applyActionCode(code: string): Promise<void>;
+ checkActionCode(code: string): Promise<compat.ActionCodeInfo>;
+ confirmPasswordReset(code: string, newPassword: string): Promise<void>;
+ createUserWithEmailAndPassword(email: string, password: string): Promise<compat.UserCredential>;
+ fetchProvidersForEmail(email: string): Promise<string[]>;
+ fetchSignInMethodsForEmail(email: string): Promise<string[]>;
+ isSignInWithEmailLink(emailLink: string): boolean;
+ getRedirectResult(): Promise<compat.UserCredential>;
+ addFrameworkForLogging(framework: string): void;
+ onAuthStateChanged(nextOrObserver: Observer<unknown> | ((a: compat.User | null) => unknown), errorFn?: (error: compat.Error) => unknown, completed?: Unsubscribe): Unsubscribe;
+ onIdTokenChanged(nextOrObserver: Observer<unknown> | ((a: compat.User | null) => unknown), errorFn?: (error: compat.Error) => unknown, completed?: Unsubscribe): Unsubscribe;
+ sendSignInLinkToEmail(email: string, actionCodeSettings: compat.ActionCodeSettings): Promise<void>;
+ sendPasswordResetEmail(email: string, actionCodeSettings?: compat.ActionCodeSettings | null): Promise<void>;
+ setPersistence(persistence: string): Promise<void>;
+ signInAndRetrieveDataWithCredential(credential: compat.AuthCredential): Promise<compat.UserCredential>;
+ signInAnonymously(): Promise<compat.UserCredential>;
+ signInWithCredential(credential: compat.AuthCredential): Promise<compat.UserCredential>;
+ signInWithCustomToken(token: string): Promise<compat.UserCredential>;
+ signInWithEmailAndPassword(email: string, password: string): Promise<compat.UserCredential>;
+ signInWithEmailLink(email: string, emailLink?: string): Promise<compat.UserCredential>;
+ signInWithPhoneNumber(phoneNumber: string, applicationVerifier: compat.ApplicationVerifier): Promise<compat.ConfirmationResult>;
+ signInWithPopup(provider: compat.AuthProvider): Promise<compat.UserCredential>;
+ signInWithRedirect(provider: compat.AuthProvider): Promise<void>;
+ updateCurrentUser(user: compat.User | null): Promise<void>;
+ verifyPasswordResetCode(code: string): Promise<string>;
+ unwrap(): exp.Auth;
+ _delete(): Promise<void>;
+ private linkUnderlyingAuth;
+}
diff --git a/frontend-old/node_modules/@firebase/auth-compat/dist/auth-compat/src/auth.test.d.ts b/frontend-old/node_modules/@firebase/auth-compat/dist/auth-compat/src/auth.test.d.ts
new file mode 100644
index 0000000..731d2d9
--- /dev/null
+++ b/frontend-old/node_modules/@firebase/auth-compat/dist/auth-compat/src/auth.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/auth-compat/dist/auth-compat/src/persistence.d.ts b/frontend-old/node_modules/@firebase/auth-compat/dist/auth-compat/src/persistence.d.ts
new file mode 100644
index 0000000..354f8d0
--- /dev/null
+++ b/frontend-old/node_modules/@firebase/auth-compat/dist/auth-compat/src/persistence.d.ts
@@ -0,0 +1,29 @@
+/**
+ * @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 exp from '@firebase/auth/internal';
+export declare const Persistence: {
+ LOCAL: string;
+ NONE: string;
+ SESSION: string;
+};
+/**
+ * Validates that an argument is a valid persistence value. If an invalid type
+ * is specified, an error is thrown synchronously.
+ */
+export declare function _validatePersistenceArgument(auth: exp.Auth, persistence: string): void;
+export declare function _savePersistenceForRedirect(auth: exp.AuthInternal): Promise<void>;
+export declare function _getPersistencesFromRedirect(apiKey: string, appName: string): exp.Persistence[];
diff --git a/frontend-old/node_modules/@firebase/auth-compat/dist/auth-compat/src/phone_auth_provider.d.ts b/frontend-old/node_modules/@firebase/auth-compat/dist/auth-compat/src/phone_auth_provider.d.ts
new file mode 100644
index 0000000..17318cf
--- /dev/null
+++ b/frontend-old/node_modules/@firebase/auth-compat/dist/auth-compat/src/phone_auth_provider.d.ts
@@ -0,0 +1,29 @@
+/**
+ * @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 exp from '@firebase/auth/internal';
+import * as compat from '@firebase/auth-types';
+import { Compat } from '@firebase/util';
+export declare class PhoneAuthProvider implements compat.PhoneAuthProvider, Compat<exp.PhoneAuthProvider> {
+ providerId: string;
+ readonly _delegate: exp.PhoneAuthProvider;
+ static PHONE_SIGN_IN_METHOD: "phone";
+ static PROVIDER_ID: "phone";
+ static credential(verificationId: string, verificationCode: string): compat.AuthCredential;
+ constructor();
+ verifyPhoneNumber(phoneInfoOptions: string | compat.PhoneSingleFactorInfoOptions | compat.PhoneMultiFactorEnrollInfoOptions | compat.PhoneMultiFactorSignInInfoOptions, applicationVerifier: compat.ApplicationVerifier): Promise<string>;
+ unwrap(): exp.PhoneAuthProvider;
+}
diff --git a/frontend-old/node_modules/@firebase/auth-compat/dist/auth-compat/src/platform.d.ts b/frontend-old/node_modules/@firebase/auth-compat/dist/auth-compat/src/platform.d.ts
new file mode 100644
index 0000000..e5b3923
--- /dev/null
+++ b/frontend-old/node_modules/@firebase/auth-compat/dist/auth-compat/src/platform.d.ts
@@ -0,0 +1,39 @@
+/**
+ * @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.
+ */
+declare global {
+ interface Document {
+ documentMode?: number;
+ }
+}
+/**
+ * @param {?string=} ua The user agent.
+ * @return {boolean} Whether the app is rendered in a mobile iOS or Android
+ * Cordova environment.
+ */
+export declare function _isAndroidOrIosCordovaScheme(ua?: string): boolean;
+/** @return {boolean} Whether web storage is supported. */
+export declare function _isWebStorageSupported(): boolean;
+/**
+ * @param {?Object=} global The optional global scope.
+ * @return {boolean} Whether current environment is a worker.
+ */
+export declare function _isWorker(): boolean;
+export declare function _isPopupRedirectSupported(): boolean;
+/** Quick check that indicates the platform *may* be Cordova */
+export declare function _isLikelyCordova(): boolean;
+export declare function _isCordova(): Promise<boolean>;
+export declare function _getSelfWindow(): Window | null;
diff --git a/frontend-old/node_modules/@firebase/auth-compat/dist/auth-compat/src/popup_redirect.d.ts b/frontend-old/node_modules/@firebase/auth-compat/dist/auth-compat/src/popup_redirect.d.ts
new file mode 100644
index 0000000..db392ce
--- /dev/null
+++ b/frontend-old/node_modules/@firebase/auth-compat/dist/auth-compat/src/popup_redirect.d.ts
@@ -0,0 +1,34 @@
+/**
+ * @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 exp from '@firebase/auth/internal';
+/** Platform-agnostic popup-redirect resolver */
+export declare class CompatPopupRedirectResolver implements exp.PopupRedirectResolverInternal {
+ private readonly browserResolver;
+ private readonly cordovaResolver;
+ private underlyingResolver;
+ _redirectPersistence: exp.Persistence;
+ _completeRedirectFn: (auth: exp.Auth, resolver: exp.PopupRedirectResolver, bypassAuthState: boolean) => Promise<exp.UserCredential | null>;
+ _overrideRedirectResult: typeof exp._overrideRedirectResult;
+ _initialize(auth: exp.AuthImpl): Promise<exp.EventManager>;
+ _openPopup(auth: exp.AuthImpl, provider: exp.AuthProvider, authType: exp.AuthEventType, eventId?: string): Promise<exp.AuthPopup>;
+ _openRedirect(auth: exp.AuthImpl, provider: exp.AuthProvider, authType: exp.AuthEventType, eventId?: string): Promise<void>;
+ _isIframeWebStorageSupported(auth: exp.AuthImpl, cb: (support: boolean) => unknown): void;
+ _originValidation(auth: exp.Auth): Promise<void>;
+ get _shouldInitProactively(): boolean;
+ private get assertedUnderlyingResolver();
+ private selectUnderlyingResolver;
+}
diff --git a/frontend-old/node_modules/@firebase/auth-compat/dist/auth-compat/src/popup_redirect.test.d.ts b/frontend-old/node_modules/@firebase/auth-compat/dist/auth-compat/src/popup_redirect.test.d.ts
new file mode 100644
index 0000000..731d2d9
--- /dev/null
+++ b/frontend-old/node_modules/@firebase/auth-compat/dist/auth-compat/src/popup_redirect.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/auth-compat/dist/auth-compat/src/recaptcha_verifier.d.ts b/frontend-old/node_modules/@firebase/auth-compat/dist/auth-compat/src/recaptcha_verifier.d.ts
new file mode 100644
index 0000000..19385c9
--- /dev/null
+++ b/frontend-old/node_modules/@firebase/auth-compat/dist/auth-compat/src/recaptcha_verifier.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 { FirebaseApp } from '@firebase/app-compat';
+import * as exp from '@firebase/auth/internal';
+import * as compat from '@firebase/auth-types';
+import { Compat } from '@firebase/util';
+export declare class RecaptchaVerifier implements compat.RecaptchaVerifier, Compat<exp.ApplicationVerifier> {
+ readonly _delegate: exp.RecaptchaVerifier;
+ type: string;
+ constructor(container: HTMLElement | string, parameters?: object | null, app?: FirebaseApp);
+ clear(): void;
+ render(): Promise<number>;
+ verify(): Promise<string>;
+}
diff --git a/frontend-old/node_modules/@firebase/auth-compat/dist/auth-compat/src/user.d.ts b/frontend-old/node_modules/@firebase/auth-compat/dist/auth-compat/src/user.d.ts
new file mode 100644
index 0000000..127ed22
--- /dev/null
+++ b/frontend-old/node_modules/@firebase/auth-compat/dist/auth-compat/src/user.d.ts
@@ -0,0 +1,64 @@
+/**
+ * @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 exp from '@firebase/auth/internal';
+import * as compat from '@firebase/auth-types';
+import { Compat } from '@firebase/util';
+export declare class User implements compat.User, Compat<exp.User> {
+ readonly _delegate: exp.User;
+ private static readonly USER_MAP;
+ readonly multiFactor: compat.MultiFactorUser;
+ private constructor();
+ static getOrCreate(user: exp.User): User;
+ delete(): Promise<void>;
+ reload(): Promise<void>;
+ toJSON(): object;
+ getIdTokenResult(forceRefresh?: boolean): Promise<compat.IdTokenResult>;
+ getIdToken(forceRefresh?: boolean): Promise<string>;
+ linkAndRetrieveDataWithCredential(credential: compat.AuthCredential): Promise<compat.UserCredential>;
+ linkWithCredential(credential: compat.AuthCredential): Promise<compat.UserCredential>;
+ linkWithPhoneNumber(phoneNumber: string, applicationVerifier: compat.ApplicationVerifier): Promise<compat.ConfirmationResult>;
+ linkWithPopup(provider: compat.AuthProvider): Promise<compat.UserCredential>;
+ linkWithRedirect(provider: compat.AuthProvider): Promise<void>;
+ reauthenticateAndRetrieveDataWithCredential(credential: compat.AuthCredential): Promise<compat.UserCredential>;
+ reauthenticateWithCredential(credential: compat.AuthCredential): Promise<compat.UserCredential>;
+ reauthenticateWithPhoneNumber(phoneNumber: string, applicationVerifier: compat.ApplicationVerifier): Promise<compat.ConfirmationResult>;
+ reauthenticateWithPopup(provider: compat.AuthProvider): Promise<compat.UserCredential>;
+ reauthenticateWithRedirect(provider: compat.AuthProvider): Promise<void>;
+ sendEmailVerification(actionCodeSettings?: compat.ActionCodeSettings | null): Promise<void>;
+ unlink(providerId: string): Promise<compat.User>;
+ updateEmail(newEmail: string): Promise<void>;
+ updatePassword(newPassword: string): Promise<void>;
+ updatePhoneNumber(phoneCredential: compat.AuthCredential): Promise<void>;
+ updateProfile(profile: {
+ displayName?: string | null;
+ photoURL?: string | null;
+ }): Promise<void>;
+ verifyBeforeUpdateEmail(newEmail: string, actionCodeSettings?: compat.ActionCodeSettings | null): Promise<void>;
+ get emailVerified(): boolean;
+ get isAnonymous(): boolean;
+ get metadata(): compat.UserMetadata;
+ get phoneNumber(): string | null;
+ get providerData(): Array<compat.UserInfo | null>;
+ get refreshToken(): string;
+ get tenantId(): string | null;
+ get displayName(): string | null;
+ get email(): string | null;
+ get photoURL(): string | null;
+ get providerId(): string;
+ get uid(): string;
+ private get auth();
+}
diff --git a/frontend-old/node_modules/@firebase/auth-compat/dist/auth-compat/src/user_credential.d.ts b/frontend-old/node_modules/@firebase/auth-compat/dist/auth-compat/src/user_credential.d.ts
new file mode 100644
index 0000000..336406e
--- /dev/null
+++ b/frontend-old/node_modules/@firebase/auth-compat/dist/auth-compat/src/user_credential.d.ts
@@ -0,0 +1,20 @@
+/**
+ * @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 exp from '@firebase/auth/internal';
+import * as compat from '@firebase/auth-types';
+export declare function convertCredential(auth: exp.Auth, credentialPromise: Promise<exp.UserCredential>): Promise<compat.UserCredential>;
+export declare function convertConfirmationResult(auth: exp.Auth, confirmationResultPromise: Promise<exp.ConfirmationResult>): Promise<compat.ConfirmationResult>;
diff --git a/frontend-old/node_modules/@firebase/auth-compat/dist/auth-compat/src/wrap.d.ts b/frontend-old/node_modules/@firebase/auth-compat/dist/auth-compat/src/wrap.d.ts
new file mode 100644
index 0000000..7a247c5
--- /dev/null
+++ b/frontend-old/node_modules/@firebase/auth-compat/dist/auth-compat/src/wrap.d.ts
@@ -0,0 +1,26 @@
+/**
+ * @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.
+ */
+/** Forward direction wrapper from Compat --unwrap-> Exp */
+export interface Wrapper<T> {
+ unwrap(): T;
+}
+/** Reverse direction wrapper from Exp --wrapped--> Compat */
+export interface ReverseWrapper<T> {
+ wrapped(): T;
+}
+export declare function unwrap<T>(object: unknown): T;
+export declare function wrapped<T>(object: unknown): T;
diff --git a/frontend-old/node_modules/@firebase/auth-compat/dist/auth-compat/test/helpers/helpers.d.ts b/frontend-old/node_modules/@firebase/auth-compat/dist/auth-compat/test/helpers/helpers.d.ts
new file mode 100644
index 0000000..4d61a11
--- /dev/null
+++ b/frontend-old/node_modules/@firebase/auth-compat/dist/auth-compat/test/helpers/helpers.d.ts
@@ -0,0 +1,24 @@
+/**
+ * @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 '@firebase/auth-compat';
+import { Provider } from '@firebase/component';
+import '../..';
+export declare const FAKE_HEARTBEAT_CONTROLLER_PROVIDER: Provider<"heartbeat">;
+export declare const FAKE_APP_CHECK_CONTROLLER_PROVIDER: Provider<"app-check-internal">;
+export declare function initializeTestInstance(): void;
+export declare function cleanUpTestInstance(): Promise<void>;
+export declare function randomEmail(): string;
diff --git a/frontend-old/node_modules/@firebase/auth-compat/dist/auth-compat/test/integration/flows/anonymous.test.d.ts b/frontend-old/node_modules/@firebase/auth-compat/dist/auth-compat/test/integration/flows/anonymous.test.d.ts
new file mode 100644
index 0000000..731d2d9
--- /dev/null
+++ b/frontend-old/node_modules/@firebase/auth-compat/dist/auth-compat/test/integration/flows/anonymous.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/auth-compat/dist/auth-compat/test/integration/flows/custom.test.d.ts b/frontend-old/node_modules/@firebase/auth-compat/dist/auth-compat/test/integration/flows/custom.test.d.ts
new file mode 100644
index 0000000..5f037d7
--- /dev/null
+++ b/frontend-old/node_modules/@firebase/auth-compat/dist/auth-compat/test/integration/flows/custom.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.
+ */
+import '@firebase/auth-compat';
diff --git a/frontend-old/node_modules/@firebase/auth-compat/dist/auth-compat/test/integration/flows/email.test.d.ts b/frontend-old/node_modules/@firebase/auth-compat/dist/auth-compat/test/integration/flows/email.test.d.ts
new file mode 100644
index 0000000..731d2d9
--- /dev/null
+++ b/frontend-old/node_modules/@firebase/auth-compat/dist/auth-compat/test/integration/flows/email.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/auth-compat/dist/auth-compat/test/integration/flows/idp.test.d.ts b/frontend-old/node_modules/@firebase/auth-compat/dist/auth-compat/test/integration/flows/idp.test.d.ts
new file mode 100644
index 0000000..daa6d5d
--- /dev/null
+++ b/frontend-old/node_modules/@firebase/auth-compat/dist/auth-compat/test/integration/flows/idp.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/auth-compat/dist/auth-compat/test/integration/flows/oob.test.d.ts b/frontend-old/node_modules/@firebase/auth-compat/dist/auth-compat/test/integration/flows/oob.test.d.ts
new file mode 100644
index 0000000..731d2d9
--- /dev/null
+++ b/frontend-old/node_modules/@firebase/auth-compat/dist/auth-compat/test/integration/flows/oob.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/auth-compat/dist/auth-compat/test/integration/flows/phone.test.d.ts b/frontend-old/node_modules/@firebase/auth-compat/dist/auth-compat/test/integration/flows/phone.test.d.ts
new file mode 100644
index 0000000..731d2d9
--- /dev/null
+++ b/frontend-old/node_modules/@firebase/auth-compat/dist/auth-compat/test/integration/flows/phone.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 {};