Added Basic Scan interface

ref #11
This commit is contained in:
Nicolai Ort 2020-12-01 17:10:17 +01:00
parent 96a99c4e3b
commit abb7f7f894
1 changed files with 19 additions and 0 deletions

19
src/models/IScan.ts Normal file
View File

@ -0,0 +1,19 @@
/**
* Defines the scan interface.
*/
export interface IScan {
/**
* Autogenerated unique id (primary key).
*/
id: number;
/**
* The associated runner.
*/
runner: Runner;
/**
* The scan's distance in meters.
*/
distance: number;
}