import { Theme } from 'src/app/model/view/theme';

export interface AppSettingsFromConfig {
  termsUrl: string;
  privacyURL: string;
  imprintURL: string;
  themes: Theme[];
  loadingScreen: LoadingScreenSettings;
  keycloak: KeycloakSettings;
  api: ApiSettings;
  languages?: string[];
}

export interface AppSettings {
  termsUrl: string;
  privacyURL: string;
  imprintURL: string;
  themes: Theme[];
  loadingScreen: LoadingScreenSettings;
  keycloak: KeycloakSettings;
  api: ApiSettings;
  languages: string[];
}

export interface LoadingScreenSettings {
  background: string;
  logo: string;
}

export interface KeycloakSettings {
  url: string;
  realm: string;
  clientId: string;
}

export interface ApiSettings {
  url: string;
  wsUrl: string;
  redirector: string;
}
