mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-04-27 07:48:01 -07:00
Support Registration on Webatrice with a baseline of handling. (#4436)
* Support Registration on Webatrice with a baseline of handling. Still needs to support activation tokens & unit testing. * Add support for account activation with token * Activate Account refactor * Fix typo * Add Unit Testing for Commands/Events * Changes based on review feedback
This commit is contained in:
parent
ebebb9c4bb
commit
b1ef8220ee
14 changed files with 483 additions and 68 deletions
|
|
@ -4,20 +4,30 @@ export interface ServerStatus {
|
|||
}
|
||||
|
||||
export enum StatusEnum {
|
||||
DISCONNECTED = 0,
|
||||
CONNECTING = 1,
|
||||
CONNECTED = 2,
|
||||
LOGGINGIN = 3,
|
||||
LOGGEDIN = 4,
|
||||
DISCONNECTED,
|
||||
CONNECTING,
|
||||
CONNECTED,
|
||||
LOGGINGIN,
|
||||
LOGGEDIN,
|
||||
REGISTERING,
|
||||
REGISTERED,
|
||||
ACTIVATING_ACCOUNT,
|
||||
ACCOUNT_ACTIVATED,
|
||||
RECOVERING_PASSWORD,
|
||||
DISCONNECTING = 99
|
||||
}
|
||||
|
||||
export enum StatusEnumLabel {
|
||||
"Disconnected" = 0,
|
||||
"Connecting" = 1,
|
||||
"Connected" = 2,
|
||||
"Loggingin" = 3,
|
||||
"Loggedin" = 4,
|
||||
"Disconnected",
|
||||
"Connecting" ,
|
||||
"Connected" ,
|
||||
"Loggingin",
|
||||
"Loggedin",
|
||||
"Registering",
|
||||
"Registered",
|
||||
"ActivatingAccount",
|
||||
"AccountActivated",
|
||||
"RecoveringPassword",
|
||||
"Disconnecting" = 99
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue