diff options
| author | Owen Jacobson <owen@grimoire.ca> | 2025-03-24 11:24:22 -0400 |
|---|---|---|
| committer | Owen Jacobson <owen@grimoire.ca> | 2025-03-24 11:24:22 -0400 |
| commit | c3d774545cefd6168cfdc69c128a84bf9dee4776 (patch) | |
| tree | 710980e34acf4a84594872df93aa3fc13be4d7ab /ui/lib/state/remote/logins.svelte.js | |
| parent | d581218e8907b9ae2b5df5457b47d788cd8a67ff (diff) | |
Rename `login` to `user` in the client.
Diffstat (limited to 'ui/lib/state/remote/logins.svelte.js')
| -rw-r--r-- | ui/lib/state/remote/logins.svelte.js | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/ui/lib/state/remote/logins.svelte.js b/ui/lib/state/remote/logins.svelte.js deleted file mode 100644 index d19068d..0000000 --- a/ui/lib/state/remote/logins.svelte.js +++ /dev/null @@ -1,18 +0,0 @@ -import { SvelteMap } from 'svelte/reactivity'; - -export class Logins { - all = $state(); - - static boot(logins) { - const all = new SvelteMap(logins.map((login) => [login.id, login])); - return new Logins({ all }); - } - - constructor({ all }) { - this.all = all; - } - - add({ id, name }) { - this.all.set(id, { id, name }); - } -} |
