import { InjectionToken } from '@angular/core' ; import { environment } from '../environments/environment' ; /**
 * Created by martin on 23.03.2017.
 * Configuration Data of the application.
 */ export class AppConfig { GOOGLETRANSLATE_API_ROOT_URL ? : string ; GOOGLETRANSLATE_API_KEY ? : string ; GOOGLETRANSLATE_PROVOKE_FAILURES ? : boolean ; GITHUB_API_ROOT_URL ? : string ; GITHUB_API_KEY ? : string ; GITHUB_PROVOKE_FAILURES ? : boolean ; BUILDVERSION : string ; BUILDTIME : string ; } export const APP_CONFIG_VALUE = { 'BUILDVERSION' : '0.16.0' , 'BUILDTIME' : '2019-05-31' , GOOGLETRANSLATE_API_ROOT_URL : 'https://translation.googleapis.com/' , GOOGLETRANSLATE_API_KEY : environment . googletranslate_api_key , GOOGLETRANSLATE_PROVOKE_FAILURES : environment . googletranslate_provoke_failures , GITHUB_API_ROOT_URL : 'https://api.github.com/' , GITHUB_API_KEY : environment . github_api_key , GITHUB_PROVOKE_FAILURES : environment . github_provoke_failures , } ; export let APP_CONFIG = new InjectionToken < AppConfig > ( 'app.config' ) ;