From 434aa8343fdcbb4d5002f934979913c099489bee Mon Sep 17 00:00:00 2001 From: altaf-creator Date: Sun, 16 Nov 2025 19:08:29 +0800 Subject: sdk, del --- .../src/testing/fakes/firebase-dependencies.d.ts | 25 ------- .../dist/src/testing/fakes/logging-object.d.ts | 18 ----- .../dist/src/testing/fakes/messaging-service.d.ts | 18 ----- .../dist/src/testing/fakes/service-worker.d.ts | 83 ---------------------- .../dist/src/testing/fakes/token-details.d.ts | 18 ----- 5 files changed, 162 deletions(-) delete mode 100644 frontend-old/node_modules/@firebase/messaging/dist/src/testing/fakes/firebase-dependencies.d.ts delete mode 100644 frontend-old/node_modules/@firebase/messaging/dist/src/testing/fakes/logging-object.d.ts delete mode 100644 frontend-old/node_modules/@firebase/messaging/dist/src/testing/fakes/messaging-service.d.ts delete mode 100644 frontend-old/node_modules/@firebase/messaging/dist/src/testing/fakes/service-worker.d.ts delete mode 100644 frontend-old/node_modules/@firebase/messaging/dist/src/testing/fakes/token-details.d.ts (limited to 'frontend-old/node_modules/@firebase/messaging/dist/src/testing/fakes') diff --git a/frontend-old/node_modules/@firebase/messaging/dist/src/testing/fakes/firebase-dependencies.d.ts b/frontend-old/node_modules/@firebase/messaging/dist/src/testing/fakes/firebase-dependencies.d.ts deleted file mode 100644 index 8b623d4..0000000 --- a/frontend-old/node_modules/@firebase/messaging/dist/src/testing/fakes/firebase-dependencies.d.ts +++ /dev/null @@ -1,25 +0,0 @@ -/** - * @license - * Copyright 2017 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -import { FirebaseAnalyticsInternalName } from '@firebase/analytics-interop-types'; -import { FirebaseInternalDependencies } from '../../interfaces/internal-dependencies'; -import { FirebaseOptions } from '@firebase/app'; -import { Provider } from '@firebase/component'; -import { _FirebaseInstallationsInternal } from '@firebase/installations'; -export declare function getFakeFirebaseDependencies(options?: FirebaseOptions): FirebaseInternalDependencies; -export declare function getFakeApp(options?: FirebaseOptions): any; -export declare function getFakeInstallations(): _FirebaseInstallationsInternal; -export declare function getFakeAnalyticsProvider(): Provider; diff --git a/frontend-old/node_modules/@firebase/messaging/dist/src/testing/fakes/logging-object.d.ts b/frontend-old/node_modules/@firebase/messaging/dist/src/testing/fakes/logging-object.d.ts deleted file mode 100644 index 02d52f5..0000000 --- a/frontend-old/node_modules/@firebase/messaging/dist/src/testing/fakes/logging-object.d.ts +++ /dev/null @@ -1,18 +0,0 @@ -/** - * @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. - */ -import { LogEvent, LogResponse } from '../../interfaces/logging-types'; -export declare function getFakeLogEvent(): LogEvent; -export declare function getSuccessResponse(): LogResponse; -export declare function getFailedResponse(): LogResponse; diff --git a/frontend-old/node_modules/@firebase/messaging/dist/src/testing/fakes/messaging-service.d.ts b/frontend-old/node_modules/@firebase/messaging/dist/src/testing/fakes/messaging-service.d.ts deleted file mode 100644 index 154a0d9..0000000 --- a/frontend-old/node_modules/@firebase/messaging/dist/src/testing/fakes/messaging-service.d.ts +++ /dev/null @@ -1,18 +0,0 @@ -/** - * @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. - */ -import { MessagingService } from '../../messaging-service'; -export declare function getFakeMessagingService(): MessagingService; diff --git a/frontend-old/node_modules/@firebase/messaging/dist/src/testing/fakes/service-worker.d.ts b/frontend-old/node_modules/@firebase/messaging/dist/src/testing/fakes/service-worker.d.ts deleted file mode 100644 index 11b3a7d..0000000 --- a/frontend-old/node_modules/@firebase/messaging/dist/src/testing/fakes/service-worker.d.ts +++ /dev/null @@ -1,83 +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 { ExtendableEvent } from '../../util/sw-types'; -export declare function mockServiceWorker(): void; -export declare function restoreServiceWorker(): void; -export declare class FakeServiceWorkerRegistration implements ServiceWorkerRegistration { - active: null; - installing: null; - waiting: null; - onupdatefound: null; - pushManager: FakePushManager; - scope: string; - navigationPreload: NavigationPreloadManager; - updateViaCache: ServiceWorkerUpdateViaCache; - getNotifications(): Promise; - showNotification(): Promise; - update(): Promise; - unregister(): Promise; - addEventListener(): void; - removeEventListener(): void; - dispatchEvent(): boolean; -} -declare class FakePushManager implements PushManager { - private subscription; - permissionState(): Promise<"granted">; - getSubscription(): Promise; - subscribe(): Promise; -} -export declare class FakePushSubscription implements PushSubscription { - endpoint: string; - expirationTime: number; - auth: string; - p256: string; - getKey(name: PushEncryptionKeyName): Uint8Array; - unsubscribe(): Promise; - toJSON: () => PushSubscriptionJSON; - options: PushSubscriptionOptions; -} -/** - * Most of the fields in here are unused / deprecated. They are only added here to match the TS - * Event interface. - */ -export declare class FakeEvent implements ExtendableEvent { - type: string; - NONE: 0; - AT_TARGET: 2; - BUBBLING_PHASE: 3; - CAPTURING_PHASE: 1; - bubbles: boolean; - cancelable: boolean; - composed: boolean; - timeStamp: number; - isTrusted: boolean; - eventPhase: 0; - target: null; - currentTarget: null; - srcElement: null; - cancelBubble: boolean; - defaultPrevented: boolean; - returnValue: boolean; - preventDefault(): void; - stopPropagation(): void; - stopImmediatePropagation(): void; - initEvent(): void; - waitUntil(): void; - composedPath(): never[]; - constructor(type: string, options?: EventInit); -} -export {}; diff --git a/frontend-old/node_modules/@firebase/messaging/dist/src/testing/fakes/token-details.d.ts b/frontend-old/node_modules/@firebase/messaging/dist/src/testing/fakes/token-details.d.ts deleted file mode 100644 index 27d7257..0000000 --- a/frontend-old/node_modules/@firebase/messaging/dist/src/testing/fakes/token-details.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. - */ -import { TokenDetails } from '../../interfaces/token-details'; -export declare function getFakeTokenDetails(): TokenDetails; -- cgit v1.2.3