mirror of
https://github.com/m1k1o/neko.git
synced 2024-07-24 14:40:50 +12:00
fix client bugs
This commit is contained in:
parent
16e2481c1c
commit
aa1a3ec413
@ -18,6 +18,7 @@ import {
|
|||||||
ControlClipboardPayload,
|
ControlClipboardPayload,
|
||||||
ScreenConfigurationsPayload,
|
ScreenConfigurationsPayload,
|
||||||
ScreenResolutionPayload,
|
ScreenResolutionPayload,
|
||||||
|
BroadcastStatusPayload,
|
||||||
AdminPayload,
|
AdminPayload,
|
||||||
AdminTargetPayload,
|
AdminTargetPayload,
|
||||||
} from './messages'
|
} from './messages'
|
||||||
|
@ -22,7 +22,6 @@ export type WebSocketMessages =
|
|||||||
| ScreenResolutionMessage
|
| ScreenResolutionMessage
|
||||||
| ScreenConfigurationsMessage
|
| ScreenConfigurationsMessage
|
||||||
| ChatMessage
|
| ChatMessage
|
||||||
| BroadcastCreateMessage
|
|
||||||
|
|
||||||
export type WebSocketPayloads =
|
export type WebSocketPayloads =
|
||||||
| SignalProvidePayload
|
| SignalProvidePayload
|
||||||
@ -39,6 +38,7 @@ export type WebSocketPayloads =
|
|||||||
| ScreenConfigurationsPayload
|
| ScreenConfigurationsPayload
|
||||||
| AdminPayload
|
| AdminPayload
|
||||||
| BroadcastStatusPayload
|
| BroadcastStatusPayload
|
||||||
|
| BroadcastCreatePayload
|
||||||
|
|
||||||
export interface WebSocketMessage {
|
export interface WebSocketMessage {
|
||||||
event: WebSocketEvents | string
|
event: WebSocketEvents | string
|
||||||
@ -182,12 +182,11 @@ export interface ScreenConfigurationsPayload {
|
|||||||
/*
|
/*
|
||||||
BROADCAST PAYLOADS
|
BROADCAST PAYLOADS
|
||||||
*/
|
*/
|
||||||
export interface BroadcastCreateMessage extends WebSocketMessage {
|
export interface BroadcastCreatePayload {
|
||||||
event: typeof EVENT.BROADCAST.CREATE
|
|
||||||
url: string
|
url: string
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface BroadcastStatusPayload extends WebSocketMessage {
|
export interface BroadcastStatusPayload {
|
||||||
url: string
|
url: string
|
||||||
isActive: boolean
|
isActive: boolean
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user