src/app/models/Test.ts
Properties |
|
| _id |
_id:
|
Type : string
|
| Optional |
| createdByUser |
createdByUser:
|
Type : string
|
| Optional |
| createdOn |
createdOn:
|
Type : Date
|
| Optional |
| createdOnChamber |
createdOnChamber:
|
Type : string
|
| Optional |
| forcedStatus |
forcedStatus:
|
Type : "Completed" | "Running" | "Scheduled" | "Stopped" | "Paused" | null
|
| Optional |
| isComplete |
isComplete:
|
Type : Boolean
|
| Optional |
| status |
status:
|
Type : "Completed" | "Running" | "Scheduled" | "Stopped" | "Paused"
|
| Optional |
| testConfig |
testConfig:
|
Type : any
|
| Optional |
| testDesc |
testDesc:
|
Type : string
|
| Optional |
| testEndDate |
testEndDate:
|
Type : Date
|
| Optional |
| testName |
testName:
|
Type : string
|
| Optional |
| testResult |
testResult:
|
Type : any
|
| Optional |
| testScheduleDate |
testScheduleDate:
|
Type : Date
|
| Optional |
| testStartDate |
testStartDate:
|
Type : Date
|
| Optional |
import { PayLoad } from './FormFields';
export interface Test {
_id?: string;
testName?: string;
testDesc?: string;
testConfig?: any;
testResult?: any;
isComplete?: Boolean;
testScheduleDate?: Date;
testStartDate?: Date; //actual date on which chamber starts to execute the exp
testEndDate?: Date;
createdOn?: Date;
status?: 'Completed' | 'Running' | 'Scheduled' | 'Stopped' | 'Paused';
forcedStatus?:
| 'Completed'
| 'Running'
| 'Scheduled'
| 'Stopped'
| 'Paused'
| null;
createdOnChamber?: string; //mongoose object id
createdByUser?: string; //mongoose object id
}