Co-authored-by: Patrick Müller <patrick@mueller-patrick.tech> Reviewed-on: #5 Co-authored-by: Patrick Müller <patrick@plutodev.de> Co-committed-by: Patrick Müller <patrick@plutodev.de>
This commit was merged in pull request #5.
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
import express from 'express';
|
||||
|
||||
export abstract class CommonRoutesConfig {
|
||||
app: express.Application;
|
||||
name: string;
|
||||
@@ -8,8 +9,10 @@ export abstract class CommonRoutesConfig {
|
||||
this.name = name;
|
||||
this.configureRoutes();
|
||||
}
|
||||
|
||||
getName() {
|
||||
return this.name;
|
||||
}
|
||||
|
||||
abstract configureRoutes(): express.Application;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user