From 8eff962cab608341a6f2fedc640a0e32d96f26e2 Mon Sep 17 00:00:00 2001 From: altaf-creator Date: Sun, 9 Nov 2025 11:15:19 +0800 Subject: pain --- .../messaging/dist/src/util/constants.d.ts | 40 ++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 frontend-old/node_modules/@firebase/messaging/dist/src/util/constants.d.ts (limited to 'frontend-old/node_modules/@firebase/messaging/dist/src/util/constants.d.ts') diff --git a/frontend-old/node_modules/@firebase/messaging/dist/src/util/constants.d.ts b/frontend-old/node_modules/@firebase/messaging/dist/src/util/constants.d.ts new file mode 100644 index 0000000..f5a2358 --- /dev/null +++ b/frontend-old/node_modules/@firebase/messaging/dist/src/util/constants.d.ts @@ -0,0 +1,40 @@ +/** + * @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 DEFAULT_SW_PATH = "/firebase-messaging-sw.js"; +export declare const DEFAULT_SW_SCOPE = "/firebase-cloud-messaging-push-scope"; +export declare const DEFAULT_VAPID_KEY = "BDOU99-h67HcA6JeFXHbSNMu7e2yNNu3RzoMj8TM4W88jITfq7ZmPvIM1Iv-4_l2LxQcYwhqby2xGpWwzjfAnG4"; +export declare const ENDPOINT = "https://fcmregistrations.googleapis.com/v1"; +/** Key of FCM Payload in Notification's data field. */ +export declare const FCM_MSG = "FCM_MSG"; +export declare const CONSOLE_CAMPAIGN_ID = "google.c.a.c_id"; +export declare const CONSOLE_CAMPAIGN_NAME = "google.c.a.c_l"; +export declare const CONSOLE_CAMPAIGN_TIME = "google.c.a.ts"; +/** Set to '1' if Analytics is enabled for the campaign */ +export declare const CONSOLE_CAMPAIGN_ANALYTICS_ENABLED = "google.c.a.e"; +export declare const TAG = "FirebaseMessaging: "; +export declare const MAX_NUMBER_OF_EVENTS_PER_LOG_REQUEST = 1000; +export declare const MAX_RETRIES = 3; +export declare const LOG_INTERVAL_IN_MS = 86400000; +export declare const DEFAULT_BACKOFF_TIME_MS = 5000; +export declare const DEFAULT_REGISTRATION_TIMEOUT = 10000; +export declare const FCM_LOG_SOURCE = 1249; +export declare const SDK_PLATFORM_WEB = 3; +export declare const EVENT_MESSAGE_DELIVERED = 1; +export declare enum MessageType { + DATA_MESSAGE = 1, + DISPLAY_NOTIFICATION = 3 +} -- cgit v1.2.3