mirror of https://github.com/abpframework/abp.git
committed by
GitHub
7 changed files with 24 additions and 27 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'; |
|||
|
|||
@ -0,0 +1,4 @@ |
|||
import { InjectionToken } from '@angular/core'; |
|||
import { ABP } from '../models/common'; |
|||
|
|||
export const CORE_OPTIONS = new InjectionToken<ABP.Root>('CORE_OPTIONS'); |
|||
Loading…
Reference in new issue