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,
|
||||
clipboard_access: false,
|
||||
},
|
||||
members: [],
|
||||
members: {},
|
||||
} as NekoState
|
||||
|
||||
public get connected() {
|
||||
|
@ -12,7 +12,7 @@ export interface SystemInit {
|
||||
member_id: string
|
||||
control_host: ControlHost
|
||||
screen_size: ScreenSize
|
||||
members: MemberData[]
|
||||
members: Record<string, MemberData>
|
||||
}
|
||||
|
||||
export interface SystemAdmin {
|
||||
@ -21,7 +21,6 @@ export interface SystemAdmin {
|
||||
broadcast_status: BroadcastStatus
|
||||
}
|
||||
|
||||
// TODO: New.
|
||||
export interface SystemDisconnect {
|
||||
event: string | undefined
|
||||
message: string
|
||||
|
@ -4,7 +4,7 @@ export default interface State {
|
||||
control: Control
|
||||
screen: Screen
|
||||
member: Member
|
||||
members: Member[]
|
||||
members: Record<string, Member>
|
||||
}
|
||||
|
||||
/////////////////////////////
|
||||
|
Loading…
Reference in New Issue
Block a user