From abb7f7f89452cdd44bbc5f34d377a9306684fc9b Mon Sep 17 00:00:00 2001 From: Nicolai Ort Date: Tue, 1 Dec 2020 17:10:17 +0100 Subject: [PATCH] Added Basic Scan interface ref #11 --- src/models/IScan.ts | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 src/models/IScan.ts diff --git a/src/models/IScan.ts b/src/models/IScan.ts new file mode 100644 index 0000000..6906c5c --- /dev/null +++ b/src/models/IScan.ts @@ -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; +}