1
0
Fork 0
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:
Bill Thornton 2022-10-21 15:05:50 -04:00
parent f3dda2e783
commit 7e9bf96668
6 changed files with 39 additions and 25 deletions

View 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'
}