UNPKG

@mathrunet/masamune

Version:

Manages packages for the server portion (NodeJS) of the Masamune framework.

36 lines (35 loc) 916 B
import * as admin from "firebase-admin"; /** * Processes scheduler commands for notification. * * 通知用のスケジューラーコマンドを処理します。 * * @param params * Private parameters. * * プライベートパラメーター。 * * @param doc * Document data. * * ドキュメントデータ。 * * @param firestoreInstance * Firestore instance. * * Firestoreインスタンス。 * * @returns * Response. All data will be overwritten into the document. * * レスポンス。データがすべてドキュメントに上書きされます。 */ export declare function notification({ doc, firestoreInstance, params, }: { doc: admin.firestore.QueryDocumentSnapshot<admin.firestore.DocumentData, admin.firestore.DocumentData>; firestoreInstance: admin.firestore.Firestore; params: { [key: string]: any; }; }): Promise<{ [key: string]: any; }>;