Switch from RabbitMQ to server-sent events

(not fully working yet)
This commit is contained in:
2021-05-03 20:58:40 +02:00
parent 533749c7c8
commit daa7209742
38 changed files with 22158 additions and 672 deletions

View File

@@ -4,8 +4,8 @@ import { IPhone } from '../phone/phone.interface';
export interface IBeat extends Document {
// [latitude, longitude, altitude, accuracy, speed]
coordinate?: number[],
accuracy: number,
speed: number,
accuracy?: number,
speed?: number,
battery?: number,
phone: IPhone,
createdAt?: Date