initial commit
This commit is contained in:
27
server/node_modules/firebase-admin/lib/messaging/messaging-internal.d.ts
generated
vendored
Normal file
27
server/node_modules/firebase-admin/lib/messaging/messaging-internal.d.ts
generated
vendored
Normal file
@@ -0,0 +1,27 @@
|
||||
/*! firebase-admin v13.5.0 */
|
||||
/*!
|
||||
* Copyright 2020 Google Inc.
|
||||
*
|
||||
* 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 { Message } from './messaging-api';
|
||||
export declare const BLACKLISTED_DATA_PAYLOAD_KEYS: string[];
|
||||
export declare const BLACKLISTED_OPTIONS_KEYS: string[];
|
||||
/**
|
||||
* Checks if the given Message object is valid. Recursively validates all the child objects
|
||||
* included in the message (android, apns, data etc.). If successful, transforms the message
|
||||
* in place by renaming the keys to what's expected by the remote FCM service.
|
||||
*
|
||||
* @param {Message} Message An object to be validated.
|
||||
*/
|
||||
export declare function validateMessage(message: Message): void;
|
||||
Reference in New Issue
Block a user