mirror of
https://github.com/hensm/fx_cast.git
synced 2026-06-08 08:39:59 +00:00
23 lines
477 B
TypeScript
Executable File
23 lines
477 B
TypeScript
Executable File
"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;
|