mirror of
https://github.com/jeffvli/feishin.git
synced 2026-08-07 21:03:27 +02:00
add isAdmin to auth state
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user