Skip to content

Commit b4ee745

Browse files
authored
Fix externs (#2194)
* fixed externs by adding ActionCodeInfo.Operation definition
1 parent 3583ba4 commit b4ee745

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

packages/firebase/externs/firebase-auth-externs.js

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -877,6 +877,29 @@ firebase.auth.ActionCodeInfo.prototype.data;
877877
*/
878878
firebase.auth.ActionCodeInfo.prototype.operation;
879879

880+
/**
881+
* @enum {string}
882+
* An enumeration of the possible email action types.
883+
*/
884+
firebase.auth.ActionCodeInfo.Operation = {
885+
/**
886+
* The email link sign in email action.
887+
*/
888+
EMAIL_SIGNIN: 'EMAIL_SIGNIN',
889+
/**
890+
* The reset password email action.
891+
*/
892+
PASSWORD_RESET: 'PASSWORD_RESET',
893+
/**
894+
* The email revocation action.
895+
*/
896+
RECOVER_EMAIL: 'RECOVER_EMAIL',
897+
/**
898+
* The email verification action.
899+
*/
900+
VERIFY_EMAIL: 'VERIFY_EMAIL'
901+
};
902+
880903
/**
881904
* A utility class to parse email action URLs.
882905
*

0 commit comments

Comments
 (0)