MVP back end
This commit is contained in:
parent
528b9f67d4
commit
889fc95c3d
51 changed files with 1048 additions and 426 deletions
|
@ -1,6 +1,6 @@
|
|||
import { reflection } from "first-di";
|
||||
import { Service } from "typedi";
|
||||
|
||||
@reflection
|
||||
@Service()
|
||||
export class IEnv{
|
||||
rootFolder!: string;
|
||||
constructor(){
|
||||
|
@ -14,7 +14,7 @@ export class IEnv{
|
|||
}
|
||||
}
|
||||
|
||||
@reflection
|
||||
@Service()
|
||||
export class DevEnv implements IEnv {
|
||||
rootFolder:string;
|
||||
constructor(rootFolder:string){
|
||||
|
@ -28,8 +28,7 @@ export class DevEnv implements IEnv {
|
|||
|
||||
}
|
||||
}
|
||||
|
||||
@reflection
|
||||
@Service()
|
||||
export class UnitTestEnv implements IEnv{
|
||||
rootFolder:string;
|
||||
constructor(rootFolder:string){
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue