mirror of https://github.com/abpframework/abp.git
2 changed files with 1 additions and 19 deletions
@ -1,18 +0,0 @@ |
|||
import { InjectionToken } from '@angular/core'; |
|||
import { Config } from '../models'; |
|||
|
|||
export function environmentFactory(environment: Config.Environment) { |
|||
return { |
|||
...environment, |
|||
}; |
|||
} |
|||
|
|||
export function configFactory(config: Config.Requirements) { |
|||
return { |
|||
...config, |
|||
}; |
|||
} |
|||
|
|||
export const ENVIRONMENT = new InjectionToken('ENVIRONMENT'); |
|||
|
|||
export const CONFIG = new InjectionToken('CONFIG'); |
|||
@ -1 +1 @@ |
|||
export * from './common.token'; |
|||
export * from './options.token'; |
|||
|
|||
Loading…
Reference in new issue