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());