From f8e1bf715b57788c16c8f8565bc20696c26b1499 Mon Sep 17 00:00:00 2001 From: Nicolai Ort Date: Tue, 1 Dec 2020 17:21:44 +0100 Subject: [PATCH] Changed nameing scheme for the abstract classes since we're not useing interfaces ref #11 --- src/models/{IParticipant.ts => Participant.ts} | 4 ++-- src/models/{IScan.ts => Scan.ts} | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) rename src/models/{IParticipant.ts => Participant.ts} (96%) rename src/models/{IScan.ts => Scan.ts} (94%) diff --git a/src/models/IParticipant.ts b/src/models/Participant.ts similarity index 96% rename from src/models/IParticipant.ts rename to src/models/Participant.ts index 440e5e2..551aeec 100644 --- a/src/models/IParticipant.ts +++ b/src/models/Participant.ts @@ -11,7 +11,7 @@ import { /** * Defines the participant interface. */ -export abstract class IParticipant { +export abstract class Participant { /** * Autogenerated unique id (primary key). */ @@ -70,4 +70,4 @@ export abstract class IParticipant { @IsOptional() @IsEmail() email?: string; -} +} \ No newline at end of file diff --git a/src/models/IScan.ts b/src/models/Scan.ts similarity index 94% rename from src/models/IScan.ts rename to src/models/Scan.ts index fdd6541..dce9230 100644 --- a/src/models/IScan.ts +++ b/src/models/Scan.ts @@ -9,7 +9,7 @@ import { /** * Defines the scan interface. */ -export abstract class IScan { +export abstract class Scan { /** * Autogenerated unique id (primary key). */