auth & sidebar

This commit is contained in:
Face 2025-05-22 13:17:11 +03:00
parent 8086aa8f38
commit af078e7ba2
74 changed files with 3262 additions and 133 deletions

View file

@ -0,0 +1,13 @@
import { writable } from 'svelte/store';
export type User = {
id: string;
name: string;
email: string;
isAdmin: boolean;
image: string;
isBanned: boolean;
banReason: string | null;
} | null;
export const USER_DATA = writable<User>(undefined);