-
-
Notifications
You must be signed in to change notification settings - Fork 79
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
873d34f
commit 6f2776b
Showing
1 changed file
with
23 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
package status | ||
|
||
type LocalBridgeAccountState string | ||
|
||
const ( | ||
// LocalBridgeAccountStateSetup means the user wants this account to be setup and connected | ||
LocalBridgeAccountStateSetup LocalBridgeAccountState = "SETUP" | ||
// LocalBridgeAccountStateDeleted means the user wants this account to be deleted | ||
LocalBridgeAccountStateDeleted LocalBridgeAccountState = "DELETED" | ||
) | ||
|
||
type LocalBridgeDeviceState string | ||
|
||
const ( | ||
// LocalBridgeDeviceStateSetup means this device is setup to be connected to this account | ||
LocalBridgeDeviceStateSetup LocalBridgeDeviceState = "SETUP" | ||
// LocalBridgeDeviceStateLoggedOut means the user has logged this particular device out while wanting their other devices to remain setup | ||
LocalBridgeDeviceStateLoggedOut LocalBridgeDeviceState = "LOGGED_OUT" | ||
// LocalBridgeDeviceStateError means this particular device has fallen into a persistent error state that may need user intervention to fix | ||
LocalBridgeDeviceStateError LocalBridgeDeviceState = "ERROR" | ||
// LocalBridgeDeviceStateDeleted means this particular device has cleaned up after the account as a whole was requested to be deleted | ||
LocalBridgeDeviceStateDeleted LocalBridgeDeviceState = "DELETED" | ||
) |