summaryrefslogtreecommitdiff
path: root/frontend-old/node_modules/@firebase/installations-compat/dist/esm/src
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/installations-compat/dist/esm/src
pain
Diffstat (limited to 'frontend-old/node_modules/@firebase/installations-compat/dist/esm/src')
-rw-r--r--frontend-old/node_modules/@firebase/installations-compat/dist/esm/src/index.d.ts33
-rw-r--r--frontend-old/node_modules/@firebase/installations-compat/dist/esm/src/installationsCompat.d.ts28
-rw-r--r--frontend-old/node_modules/@firebase/installations-compat/dist/esm/src/installationsCompat.test.d.ts17
-rw-r--r--frontend-old/node_modules/@firebase/installations-compat/dist/esm/src/testing/setup.d.ts17
-rw-r--r--frontend-old/node_modules/@firebase/installations-compat/dist/esm/src/testing/util.d.ts20
5 files changed, 115 insertions, 0 deletions
diff --git a/frontend-old/node_modules/@firebase/installations-compat/dist/esm/src/index.d.ts b/frontend-old/node_modules/@firebase/installations-compat/dist/esm/src/index.d.ts
new file mode 100644
index 0000000..1d6f1ac
--- /dev/null
+++ b/frontend-old/node_modules/@firebase/installations-compat/dist/esm/src/index.d.ts
@@ -0,0 +1,33 @@
+/**
+ * @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 { FirebaseInstallations as FirebaseInstallationsCompat } from '@firebase/installations-types';
+declare module '@firebase/component' {
+ interface NameServiceMapping {
+ 'installations-compat': FirebaseInstallationsCompat;
+ }
+}
+/**
+ * Define extension behavior of `registerInstallations`
+ */
+declare module '@firebase/app-compat' {
+ interface FirebaseNamespace {
+ installations(app?: FirebaseApp): FirebaseInstallationsCompat;
+ }
+ interface FirebaseApp {
+ installations(): FirebaseInstallationsCompat;
+ }
+}
diff --git a/frontend-old/node_modules/@firebase/installations-compat/dist/esm/src/installationsCompat.d.ts b/frontend-old/node_modules/@firebase/installations-compat/dist/esm/src/installationsCompat.d.ts
new file mode 100644
index 0000000..de08cca
--- /dev/null
+++ b/frontend-old/node_modules/@firebase/installations-compat/dist/esm/src/installationsCompat.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 { FirebaseInstallations as FirebaseInstallationsCompat } from '@firebase/installations-types';
+import { FirebaseApp, _FirebaseService } from '@firebase/app-compat';
+import { Installations, IdChangeCallbackFn, IdChangeUnsubscribeFn } from '@firebase/installations';
+export declare class InstallationsCompat implements FirebaseInstallationsCompat, _FirebaseService {
+ app: FirebaseApp;
+ readonly _delegate: Installations;
+ constructor(app: FirebaseApp, _delegate: Installations);
+ getId(): Promise<string>;
+ getToken(forceRefresh?: boolean): Promise<string>;
+ delete(): Promise<void>;
+ onIdChange(callback: IdChangeCallbackFn): IdChangeUnsubscribeFn;
+}
diff --git a/frontend-old/node_modules/@firebase/installations-compat/dist/esm/src/installationsCompat.test.d.ts b/frontend-old/node_modules/@firebase/installations-compat/dist/esm/src/installationsCompat.test.d.ts
new file mode 100644
index 0000000..b219bb7
--- /dev/null
+++ b/frontend-old/node_modules/@firebase/installations-compat/dist/esm/src/installationsCompat.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 './testing/setup';
diff --git a/frontend-old/node_modules/@firebase/installations-compat/dist/esm/src/testing/setup.d.ts b/frontend-old/node_modules/@firebase/installations-compat/dist/esm/src/testing/setup.d.ts
new file mode 100644
index 0000000..731d2d9
--- /dev/null
+++ b/frontend-old/node_modules/@firebase/installations-compat/dist/esm/src/testing/setup.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/installations-compat/dist/esm/src/testing/util.d.ts b/frontend-old/node_modules/@firebase/installations-compat/dist/esm/src/testing/util.d.ts
new file mode 100644
index 0000000..b944c7d
--- /dev/null
+++ b/frontend-old/node_modules/@firebase/installations-compat/dist/esm/src/testing/util.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 { FirebaseApp } from '@firebase/app-compat';
+import { Installations } from '@firebase/installations';
+export declare function getFakeApp(): FirebaseApp;
+export declare function getFakeInstallations(): Installations;