mirror of
https://github.com/m1k1o/neko.git
synced 2024-07-24 14:40:50 +12:00
members as object.
This commit is contained in:
parent
77049128df
commit
4c247f61ff
@ -114,7 +114,7 @@
|
|||||||
can_control: false,
|
can_control: false,
|
||||||
clipboard_access: false,
|
clipboard_access: false,
|
||||||
},
|
},
|
||||||
members: [],
|
members: {},
|
||||||
} as NekoState
|
} as NekoState
|
||||||
|
|
||||||
public get connected() {
|
public get connected() {
|
||||||
|
@ -12,7 +12,7 @@ export interface SystemInit {
|
|||||||
member_id: string
|
member_id: string
|
||||||
control_host: ControlHost
|
control_host: ControlHost
|
||||||
screen_size: ScreenSize
|
screen_size: ScreenSize
|
||||||
members: MemberData[]
|
members: Record<string, MemberData>
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface SystemAdmin {
|
export interface SystemAdmin {
|
||||||
@ -21,7 +21,6 @@ export interface SystemAdmin {
|
|||||||
broadcast_status: BroadcastStatus
|
broadcast_status: BroadcastStatus
|
||||||
}
|
}
|
||||||
|
|
||||||
// TODO: New.
|
|
||||||
export interface SystemDisconnect {
|
export interface SystemDisconnect {
|
||||||
event: string | undefined
|
event: string | undefined
|
||||||
message: string
|
message: string
|
||||||
|
@ -4,7 +4,7 @@ export default interface State {
|
|||||||
control: Control
|
control: Control
|
||||||
screen: Screen
|
screen: Screen
|
||||||
member: Member
|
member: Member
|
||||||
members: Member[]
|
members: Record<string, Member>
|
||||||
}
|
}
|
||||||
|
|
||||||
/////////////////////////////
|
/////////////////////////////
|
||||||
|
Loading…
Reference in New Issue
Block a user