From bd53a51af835478d23bef4772ce7e50553dc3fdf Mon Sep 17 00:00:00 2001 From: Kit La Touche Date: Wed, 9 Oct 2024 15:32:52 -0400 Subject: Move a lot of things around --- hi-ui/src/lib/store.js | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 hi-ui/src/lib/store.js (limited to 'hi-ui/src/lib/store.js') diff --git a/hi-ui/src/lib/store.js b/hi-ui/src/lib/store.js new file mode 100644 index 0000000..5e28195 --- /dev/null +++ b/hi-ui/src/lib/store.js @@ -0,0 +1,8 @@ +import { writable } from 'svelte/store'; +import { ActiveChannel, Channels } from '$lib/store/channels'; +import { Messages } from '$lib/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()); -- cgit v1.2.3