@@ -2,26 +2,36 @@ export const RedisKey = {
22 authUUID : ( uuid : string ) : string => `auth:uuid:${ uuid } ` ,
33 authFailed : ( authUUID : string ) : string => `auth:failed:${ authUUID } ` ,
44 authUserInfo : ( authUUID : string ) : string => `auth:userInfo:${ authUUID } ` ,
5+
56 bindingAuthUUID : ( uuid : string ) : string => `binding:auth:uuid:${ uuid } ` ,
67 bindingAuthStatus : ( authUUID : string ) : string => `binding:auth:status:${ authUUID } ` ,
8+
79 agoraRTCRoomUserToken : ( roomUUID : string , uid : string | number ) : string =>
810 `agora:rtc:room:${ roomUUID } :uid:${ uid } ` ,
911 agoraRTMUserToken : ( userUUID : string ) : string => `agora:rtm:userUUID:${ userUUID } ` ,
12+
1013 cloudStorageFileInfo : ( userUUID : string , fileUUID : string ) : string =>
1114 `cloudStorage:${ userUUID } :${ fileUUID } ` ,
1215 cloudStorageTempPhotoInfo : ( userUUID : string , fileUUID : string ) : string =>
1316 `cloudStorage:tempPhoto:${ userUUID } :${ fileUUID } ` ,
17+
1418 userAvatarFileInfo : ( userUUID : string , fileUUID : string ) : string =>
1519 `user:avatar:${ userUUID } :${ fileUUID } ` ,
20+
1621 roomInviteCode : ( inviteCode : string ) : string => `room:invite:${ inviteCode } ` ,
1722 roomInviteCodeReverse : ( roomUUID : string ) : string => `room:inviteReverse:${ roomUUID } ` ,
23+
1824 phoneLogin : ( phone : string ) : string => `phone:login:${ phone } ` ,
1925 phoneTryLoginCount : ( phone : string ) : string => `phone:count:login:${ phone } ` ,
26+
2027 phoneBinding : ( phone : string ) : string => `phone:binding:${ phone } ` ,
2128 phoneTryBindingCount : ( phone : string ) : string => `phone:count:binding:${ phone } ` ,
29+
2230 userDelete : ( userUUID : string ) : string => `user:delete:${ userUUID } ` ,
31+
2332 videoIllegalCount : ( roomUUID : string ) : string => `illegal:video:${ roomUUID } ` ,
2433 voiceIllegalCount : ( roomUUID : string ) : string => `illegal:voice:${ roomUUID } ` ,
34+
2535 oauthLogoFileInfo : ( oauthUUID : string , fileUUID : string ) : string =>
2636 `oauth:logo:${ oauthUUID } :${ fileUUID } ` ,
2737 oauthAccessToken : ( accessToken : string ) : string => `oauth:accessToken:${ accessToken } ` ,
@@ -36,4 +46,7 @@ export const RedisKey = {
3646 `oauth:authorize:refreshToken:${ refreshToken } ` ,
3747 oauthAuthorizeTokenByUserUUID : ( clientID : string , userUUID : string ) =>
3848 `oauth:authorize:clientID:${ clientID } :user:${ userUUID } ` ,
49+
50+ phoneRegisterOrReset : ( phone : string ) : string => `phone:register:${ phone } ` ,
51+ phoneTryRegisterOrResetCount : ( phone : string ) : string => `phone:count:register:${ phone } ` ,
3952} ;
0 commit comments