fix: restore admin role in User type, use image logo

- Add "admin" back to User.role union to fix backend TS build
- Replace SVG PeonyIcon with logo.png image in Logo component

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-03-06 18:04:49 +01:00
parent 454c477c40
commit aed7b4a16f
3 changed files with 2 additions and 5 deletions

View File

@@ -21,7 +21,7 @@ export interface User {
slug: string | null;
description: string | null;
tags: string[] | null;
role: "model" | "viewer";
role: "model" | "viewer" | "admin";
is_admin: boolean;
/** UUID of the avatar file */
avatar: string | null;