import { Feature } from '@msfa-enums/feature.enum';
import { Environment } from '@msfa-models/environment.model';
import { ACTIVE_FEATURES_TEST } from './active-features';
import { CIAM_MOCK } from './ciam';

export const environment: Environment = {
  version: 'mock',
  production: false,
  api: {
    url: '/api',
    headers: {},
    skipHeadersOn: [],
  },
  activeFeatures: [...ACTIVE_FEATURES_TEST, Feature.MOCK_LOGIN],
  ciam: CIAM_MOCK,
  idle: {
    idleAfterMS: 10 * 60 * 1000, // 10 minutes
    logoutAfterMS: 2 * 60 * 1000, // 2 minutes
  },
};
