diff options
author | GeckoEidechse <gecko.eidechse+git@pm.me> | 2022-10-04 23:19:06 +0200 |
---|---|---|
committer | GeckoEidechse <gecko.eidechse+git@pm.me> | 2022-10-04 23:19:06 +0200 |
commit | 4c812b835ddceb3eedd3201c201b6fc8828caff4 (patch) | |
tree | d5f7c066ba72ecd2c0aca6337e958ae45ecbd096 /src-vue/src/utils/NorthstarState.ts | |
parent | 7331507f2307729e62e70aa7c647cdde4ead5627 (diff) | |
download | FlightCore-4c812b835ddceb3eedd3201c201b6fc8828caff4.tar.gz FlightCore-4c812b835ddceb3eedd3201c201b6fc8828caff4.zip |
refactor: Give NorthstarState enum mapped string
So that when printing out the value for debug purposes it is clear
which value it is.
Diffstat (limited to 'src-vue/src/utils/NorthstarState.ts')
-rw-r--r-- | src-vue/src/utils/NorthstarState.ts | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src-vue/src/utils/NorthstarState.ts b/src-vue/src/utils/NorthstarState.ts index 4150a380..2c8756b1 100644 --- a/src-vue/src/utils/NorthstarState.ts +++ b/src-vue/src/utils/NorthstarState.ts @@ -1,8 +1,8 @@ export enum NorthstarState { - GAME_NOT_FOUND, - INSTALL, - INSTALLING, - MUST_UPDATE, - UPDATING, - READY_TO_PLAY + GAME_NOT_FOUND = "GAME_NOT_FOUND", + INSTALL = "INSTALL", + INSTALLING = "INSTALLING", + MUST_UPDATE = "MUST_UPDATE", + UPDATING = "UPDATING", + READY_TO_PLAY = "READY_TO_PLAY" }
\ No newline at end of file |