feat: a whole lot of stuff

This commit is contained in:
Spectralitree
2021-12-11 12:01:36 +01:00
parent a2f22843ee
commit eba1a4543f
10 changed files with 428 additions and 36 deletions

25
src/stores.ts Normal file
View File

@@ -0,0 +1,25 @@
import { writable } from 'svelte/store';
export const loggedIn = writable(false);
/* export const user = writable({
id: null,
uuid: null,
name: null,
description: null,
tag: null,
avatar_url: null,
banner: null,
timezone: null,
created: null,
color: null,
privacy: {
description_privacy: null,
member_list_privacy: null,
front_privacy: null,
front_history_privacy: null,
group_list_privacy: null
}
}); */
export const currentUser = writable(null);