model filling

This commit is contained in:
IDONTSUDO 2023-10-27 21:22:48 +03:00
parent c27c061c15
commit 6ca82f8c2e
29 changed files with 245 additions and 132 deletions

View file

@ -1,4 +1,6 @@
import { Service } from "typedi";
@Service()
export class IEnv{
rootFolder!: string;
constructor(){
@ -12,7 +14,8 @@ export class IEnv{
}
}
export class DevEnv implements IEnv {
@Service()
export class DevEnv implements IEnv {
rootFolder:string;
constructor(rootFolder:string){
this.rootFolder = rootFolder
@ -25,7 +28,7 @@ export class IEnv{
}
}
@Service()
export class UnitTestEnv implements IEnv{
rootFolder:string;
constructor(rootFolder:string){