MVP back end

This commit is contained in:
IDONTSUDO 2023-10-31 09:03:39 +00:00 committed by Igor Brylyov
parent 528b9f67d4
commit 889fc95c3d
51 changed files with 1048 additions and 426 deletions

View file

@ -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){