import { Feature } from '@msfa-enums/feature.enum';
import { Ciam } from './ciam.model';

export interface Environment {
  version?: string;
  production: boolean;
  api: {
    url: string;
    headers: { [key: string]: string };
    skipHeadersOn: string[];
  };
  ciam: Ciam;
  activeFeatures: Feature[];
  elastic?: {
    serviceName: string;
    serverUrl: string;
    environment?: 'DEV' | 'SYS' | 'TEST' | 'ACC' | 'PROD';
  };
  idle: {
    idleAfterMS: number;
    logoutAfterMS: number;
  };
}
