UNPKG

@mathrunet/masamune

Version:

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

29 lines (28 loc) 1.04 kB
/** * Unlock function. Unlock information is stored in the form of an overwrite of the user data. * * 機能をアンロックします。アンロックの情報はユーザーデータに上書きされる形で保存されます。 * * @param {String} targetDocumentFieldPath * The path, including the key, of the field in the document where the unlock information is to be stored. * * アンロック情報を保存するドキュメント内のフィールドのキーを含めたパス。 * * @param {String} transactionId * Specify the ID of the log. * * ログのIDを指定します。 * * @param {[key: string]: any} transactionData * Log data to be updated. * * 更新するログデータ。 */ export declare function updateUnlock({ targetDocumentFieldPath, transactionId, transactionData, firestoreInstance, }: { targetDocumentFieldPath: string; transactionId: string; transactionData: { [key: string]: any; }; firestoreInstance: FirebaseFirestore.Firestore; }): Promise<void>;