mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
Refactor ConnectionState to a shared enum
This commit is contained in:
parent
f3dda2e783
commit
7e9bf96668
6 changed files with 39 additions and 25 deletions
10
src/utils/jellyfin-apiclient/ConnectionState.ts
Normal file
10
src/utils/jellyfin-apiclient/ConnectionState.ts
Normal file
|
@ -0,0 +1,10 @@
|
|||
/**
|
||||
* Server state values for a connected server used by jellyfin-apiclient.
|
||||
*/
|
||||
export enum ConnectionState {
|
||||
SignedIn = 'SignedIn',
|
||||
ServerSignIn = 'ServerSignIn',
|
||||
ServerSelection = 'ServerSelection',
|
||||
ServerUpdateNeeded = 'ServerUpdateNeeded',
|
||||
Unavailable = 'Unavailable'
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue