Carbon/build/static/store/store.js

16 lines
403 B
JavaScript
Raw Normal View History

2020-10-15 03:43:37 +00:00
import {SubscribeMapList} from "./SubscribeMapList.js"
import {SubscribeSet} from "./SubscribeSet.js"
2020-10-15 03:43:37 +00:00
import {SubscribeValue} from "./SubscribeValue.js"
const store = {
groups: new SubscribeMapList(SubscribeValue),
rooms: new SubscribeMapList(SubscribeValue),
directs: new SubscribeSet(),
2020-10-15 03:43:37 +00:00
activeGroup: new SubscribeValue(),
activeRoom: new SubscribeValue()
}
window.store = store
export {store}