Livebeat is now able to send, store and show beats

This commit is contained in:
2020-10-23 00:39:36 +02:00
parent f722ee9595
commit 13f8437f29
52 changed files with 1948 additions and 442 deletions

View File

@@ -0,0 +1,11 @@
import { Document } from 'mongoose';
import { IPhone } from '../phone/phone.interface';
export interface IBeat extends Document {
coordinate?: number[],
accuracy: number,
speed: number,
battery?: number,
phone: IPhone,
createdAt?: Date
}