web/api: jwt session token, clean up, move related modules to own dir

This commit is contained in:
wukko
2024-08-16 23:36:56 +06:00
parent 16acf62886
commit 4857030933
9 changed files with 255 additions and 145 deletions

View File

@@ -0,0 +1,6 @@
import { writable } from "svelte/store";
import type { Writable } from "svelte/store";
import type { CobaltSession } from "$lib/types/api";
export const cachedSession: Writable<CobaltSession | null> = writable();