15 lines
403 B
JavaScript
15 lines
403 B
JavaScript
import {SubscribeMapList} from "./SubscribeMapList.js"
|
|
import {SubscribeSet} from "./SubscribeSet.js"
|
|
import {SubscribeValue} from "./SubscribeValue.js"
|
|
|
|
const store = {
|
|
groups: new SubscribeMapList(SubscribeValue),
|
|
rooms: new SubscribeMapList(SubscribeValue),
|
|
directs: new SubscribeSet(),
|
|
activeGroup: new SubscribeValue(),
|
|
activeRoom: new SubscribeValue()
|
|
}
|
|
|
|
window.store = store
|
|
|
|
export {store}
|