2020-10-15 03:43:37 +00:00
|
|
|
import {SubscribeMapList} from "./SubscribeMapList.js"
|
2020-10-15 09:06:41 +00:00
|
|
|
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),
|
2020-10-15 09:06:41 +00:00
|
|
|
directs: new SubscribeSet(),
|
2020-10-15 03:43:37 +00:00
|
|
|
activeGroup: new SubscribeValue(),
|
|
|
|
activeRoom: new SubscribeValue()
|
|
|
|
}
|
|
|
|
|
|
|
|
window.store = store
|
|
|
|
|
|
|
|
export {store}
|