Press n or j to go to the next uncovered block, b, p or k for the previous block.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 | 1x 1x 1x 1x 1x 1x 1x | import { InjectionToken } from '@angular/core'; import { RouterLinksModel } from './models'; /** Interface of APP_CONFIG */ export interface InterfaceAppConfig { /** is Unit Test running ? */ isUnitTest: boolean; } /** default configuration object */ export const APP_DI_CONFIG: InterfaceAppConfig = { isUnitTest: false }; /** configuration object for unit tests */ export const APP_UNIT_TEST_CONFIG: InterfaceAppConfig = { isUnitTest: true }; /** InjectionToken for APP_CONFIG */ export const APP_CONFIG = new InjectionToken<InterfaceAppConfig>('app.config'); /** language names by language code */ export const languageNames = { en: 'English', tr: 'Türkçe' }; /** routerLinks for English */ export const routerLinksEN: RouterLinksModel = { blogs: '/blogs', articles: '/articles', jokes: '/jokes', quotes: '/quotes', blog: '/blog', article: '/article', joke: '/joke', quote: '/quote', tag: '/tag' }; /** routerLinks for Turkish */ export const routerLinksTR: RouterLinksModel = { blogs: '/gunlukler', articles: '/makaleler', jokes: '/eglence', quotes: '/alintilar', blog: '/gunluk', article: '/makale', joke: '/fikra', quote: '/alinti', tag: '/etiket' }; |