refactor: add to index.d.ts & change MFACode type

This commit is contained in:
TheDevYellowy
2022-12-22 03:37:59 -08:00
parent 2c85a763f4
commit 047c4d0005
3 changed files with 17 additions and 4 deletions

View File

@@ -11,6 +11,8 @@ const Messages = {
TOKEN_INVALID: 'An invalid token was provided.',
TOKEN_MISSING: 'Request to use token, but token was unavailable to the client.',
MFA_INVALID: 'An invalid mfa code was provided',
WS_CLOSE_REQUESTED: 'WebSocket closed due to user request.',
WS_CONNECTION_EXISTS: 'There is already an existing WebSocket connection.',
WS_NOT_OPEN: (data = 'data') => `WebSocket not open to send ${data}`,