changed Project Stucture - Part1
This commit is contained in:
@@ -0,0 +1,3 @@
|
||||
export interface IDatabaseServices {
|
||||
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
import {IDatabaseServices} from "./IDatabaseServices";
|
||||
|
||||
export class JsonDatabaseServices implements IDatabaseServices {
|
||||
constructor(databaseOptions : string) {
|
||||
// IMPLEMENT DATABASE
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,14 @@
|
||||
import {IDatabaseServices} from "./IDatabaseServices";
|
||||
|
||||
export class MySqlDatabaseServices implements IDatabaseServices {
|
||||
|
||||
constructor(databaseOptions: {
|
||||
Host: string;
|
||||
Port: number;
|
||||
Username: string;
|
||||
Password: string;
|
||||
Database: string;
|
||||
}) {
|
||||
//IMPLEMENT DATABASE
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user