webstudio/server/src/core/di/env.ts

45 lines
871 B
TypeScript
Raw Normal View History

2023-11-20 00:48:40 +03:00
// import { Service } from "typedi";
2023-10-27 21:22:48 +03:00
2023-11-20 00:48:40 +03:00
// @Service()
// export class IEnv{
// rootFolder!: string;
// constructor(){
2023-11-20 00:48:40 +03:00
// }
// toStringEnv(){
// return ''
// }
// static env(){
// return ''
// }
// }
2023-11-20 00:48:40 +03:00
// @Service()
// export class DevEnv implements IEnv {
// rootFolder:string;
// constructor(rootFolder:string){
// this.rootFolder = rootFolder
// }
// toStringEnv(): string {
// return DevEnv.env()
// }
// static env(){
// return 'DevEnv'
2023-11-20 00:48:40 +03:00
// }
// }
// @Service()
// export class UnitTestEnv implements IEnv{
// rootFolder:string;
// constructor(rootFolder:string){
// this.rootFolder = rootFolder
// }
// toStringEnv(): string {
// return UnitTestEnv.env()
// }
// static env(){
// return 'UnitTestEnv'
2023-11-20 00:48:40 +03:00
// }
// }