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