mirror of
https://github.com/hensm/fx_cast.git
synced 2026-06-11 18:19:58 +00:00
Remove unnecessary state module
This commit is contained in:
@@ -1,22 +0,0 @@
|
|||||||
"use strict";
|
|
||||||
|
|
||||||
import ApiConfig from "./cast/classes/ApiConfig";
|
|
||||||
import Receiver from "./cast/classes/Receiver";
|
|
||||||
import Session from "./cast/classes/Session";
|
|
||||||
|
|
||||||
export interface State {
|
|
||||||
apiConfig: ApiConfig;
|
|
||||||
receiverList: Receiver[];
|
|
||||||
sessionList: Session[];
|
|
||||||
sessionRequestInProgress: boolean;
|
|
||||||
}
|
|
||||||
|
|
||||||
// Global API state
|
|
||||||
const state: State = {
|
|
||||||
apiConfig: null
|
|
||||||
, receiverList: []
|
|
||||||
, sessionList: []
|
|
||||||
, sessionRequestInProgress: false
|
|
||||||
};
|
|
||||||
|
|
||||||
export default state;
|
|
||||||
Reference in New Issue
Block a user