summaryrefslogtreecommitdiff
path: root/hi-ui/src/store.js
blob: 4e6b4f11a71bc990dbaab88df1f9647c1f1142c6 (plain)
1
2
3
4
5
6
7
8
import { writable } from 'svelte/store';
import { ActiveChannel, Channels } from './store/channels';
import { Messages } from './store/messages';

export const currentUser = writable(null);
export const activeChannel = writable(new ActiveChannel());
export const channelsList = writable(new Channels());
export const messages = writable(new Messages());