mirror of
https://github.com/pavlobu/deskreen.git
synced 2025-05-18 00:10:12 -07:00
23 lines
442 B
TypeScript
23 lines
442 B
TypeScript
type CallAcceptedMessageWithPayload = {
|
|
type: 'CALL_ACCEPTED';
|
|
payload: {
|
|
signalData: string;
|
|
};
|
|
};
|
|
|
|
type DeviceDetailsMessageWithPayload = {
|
|
type: 'DEVICE_DETAILS';
|
|
payload: {
|
|
socketID: string;
|
|
deviceType: string;
|
|
os: string;
|
|
browser: string;
|
|
deviceScreenWidth: number;
|
|
deviceScreenHeight: number;
|
|
};
|
|
};
|
|
|
|
type ProcessedMessage =
|
|
| CallAcceptedMessageWithPayload
|
|
| DeviceDetailsMessageWithPayload;
|