Files
new-phone-who-dis/phone/src/common/typings/call.ts
T
J Francisco Rader f6d7a3dbe1 Feature/floating notifications calling and twitter (#112)
* Add floating notifications :O

* Add phone notifications and refactor calling ui

* This is unsafe

* Fix controls null check

* Remove go to alert

* Fix phone stuck after call

* Remove lazy mount for Phone

* Fix open/close cl_main

* Use effect for notification visibility

* Remove all alerts when phone closes

* Avoid re-render useNuiEvent

* It works now :c
2021-02-23 13:19:10 -05:00

27 lines
448 B
TypeScript

export interface CallProps {
active: boolean;
accepted: boolean;
isTransmitter: boolean;
transmitter: string;
receiver: string;
}
export interface ICall {
id?: number;
identifier: string;
transmitter: string;
transmitterSource?: number;
receiver: string;
receiverSource?: number;
start: number;
end?: number;
accepted: boolean;
}
export interface ICallDuration {
ms: number;
s: number;
m: number;
h: number;
}