model filling
This commit is contained in:
parent
c27c061c15
commit
6ca82f8c2e
29 changed files with 245 additions and 132 deletions
|
@ -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){
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue