aboutsummaryrefslogtreecommitdiffstats
path: root/catalog-ui/src/app/ng2/config/sdc-config.config.ts
blob: 197cc8b14b4a575d235cecca9b9435131a0ea2e2 (plain)
1
2
3
4
5
6
7
8
9
10
11
import {Provider, OpaqueToken} from "@angular/core";
import {getSdcConfig, ISdcConfig} from "./sdc-config.config.factory";

export { ISdcConfig };

export const SdcConfigToken = new OpaqueToken('SdcConfigToken');

export const SdcConfig:Provider = {
    provide: SdcConfigToken,
    useFactory: getSdcConfig
};