add isAdmin to auth state

This commit is contained in:
jeffvli
2025-12-07 17:21:46 -08:00
parent 2f2dbbde3e
commit 4ddada1fe3
10 changed files with 51 additions and 3 deletions
+2
View File
@@ -86,6 +86,7 @@ export type QueueSong = Song & {
export type ServerListItem = {
features?: ServerFeatures;
id: string;
isAdmin?: boolean;
musicFolderId?: string[];
name: string;
preferInstantMix?: boolean;
@@ -237,6 +238,7 @@ export type Artist = {
export type AuthenticationResponse = {
credential: string;
isAdmin?: boolean;
ndCredential?: string;
userId: null | string;
username: string;