All files / src/app/shared/interfaces app-config.interfaces.ts

100% Statements 3/3
100% Branches 0/0
100% Functions 0/0
100% Lines 3/3

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                                                          1x   1x 1x  
import { KeyValuePairs } from '../../app.interfaces';
 
export interface AppSettingsObject {
  appTitle: string,
  mainLogo: string,
  backgroundBody: string,
  backgroundBox: string,
  introHtml: string,
  legalNoticeHtml: string,
  globalWarningText: string,
  globalWarningExpiredDay: string,
  globalWarningExpiredHour: string,
  bugReportTarget: string,
  bugReportAuth: string
}
 
export type AppSettings = AppSettingsObject | Record<string, never>;
 
export interface SysConfig {
  version: string;
  customTexts: KeyValuePairs;
  appConfig: AppSettings;
  baseUrl: string;
  veronaPlayerApiVersionMin: number;
  veronaPlayerApiVersionMax: number;
  broadcastingServiceUri: string;
  fileServiceUri: string;
}
 
export const DEFAULT_LOGO = 'assets/IQB-LogoA.png';
export const DEFAULT_BACKGROUND_BODY =
  '#003333 linear-gradient(to bottom, #003333, #045659, #0d7b84, #1aa2b2, #2acae5)';
export const DEFAULT_BACKGROUND_BOX = 'lightgray';