Add *very* basic login flow

This commit is contained in:
2026-05-17 13:04:51 +02:00
parent 0d28c4172c
commit 7d75e010c7
10 changed files with 187 additions and 22 deletions

View File

@@ -1,6 +1,7 @@
import { ImageBucket, ImagePreview } from "types.slint";
export global Global {
in-out property <bool> logged-in: false;
in-out property <length> min-image-size: 160px;
in-out property <length> image-margin: 2px;
in-out property <ImagePreview> previewed-image;
@@ -12,6 +13,7 @@ export global Global {
in property <length> timeline-height;
in property <length> timeline-width;
in property <length> timeline-scroll;
callback login-api-key(url: string, api_key: string);
callback set-timeline-width(length);
callback timeline-scrolled(length);
}