import { Metadata } from '../Report/Feature';

export interface MongoDb{
  dbName: string;
  dbHost: string;
  dbPort: number;
  collections: {
    reports?: string;
    features?: string;
    scenarios?: string;
    steps?: string;
    outputs?: string;
  };
}

export interface UserProperties {
  jsonDir: string;
  isLinkToServer?: boolean;
  projectName?: string;
  reportPath?: string;
  date?: Date;
  featuresFolder?: string | undefined;
  saveReportInMongoDb?: boolean;
  saveCollectedJSON?: boolean;
  saveEnrichedJSON?: boolean;
  showExecutionTime?: boolean;
  metadata?: Metadata[];
  expandStepsNotPassed?: boolean;
  navigateToFeatureIfThereIsOnlyOne?: boolean;
  openReportInBrowser?: boolean;
  disableLog?: boolean;
  server?: {
    serverPort?: number;
    serverView?: string;
  };
  mongoDb?: MongoDb;
}
