@gentrace/core
Version:
Core Gentrace Node.JS library
95 lines (92 loc) • 2.95 kB
text/typescript
/* tslint:disable */
/* eslint-disable */
/**
* Gentrace API
* These API routes are designed to ingest events from clients.
*
* The version of the OpenAPI document: 0.27.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
// May contain unused imports in some cases
// @ts-ignore
import { LocalEvaluation } from "./local-evaluation";
// May contain unused imports in some cases
// @ts-ignore
import { MetadataValueObject } from "./metadata-value-object";
// May contain unused imports in some cases
// @ts-ignore
import { RunPathSection } from "./run-path-section";
// May contain unused imports in some cases
// @ts-ignore
import { StepRun } from "./step-run";
/**
*
* @export
* @interface V1TestResultPostRequestTestRunsInner
*/
export interface V1TestResultPostRequestTestRunsInner {
/**
* The ID of the test run
* @type {string}
* @memberof V1TestResultPostRequestTestRunsInner
*/
id?: string | null;
/**
* The ID of the test case. Mutually exclusive with \'name\' and \'inputs\'.
* @type {string}
* @memberof V1TestResultPostRequestTestRunsInner
*/
caseId?: string;
/**
* Used for supplying local data. The name of the test run. Used with \'inputs\' and mutually exclusive with \'caseId\'.
* @type {string}
* @memberof V1TestResultPostRequestTestRunsInner
*/
name?: string;
/**
* Used for supplying local data. The input data for the test run. Used with \'name\' and mutually exclusive with \'caseId\'.
* @type {{ [key: string]: any; }}
* @memberof V1TestResultPostRequestTestRunsInner
*/
inputs?: { [key: string]: any };
/**
* Used for supplying local data. The expected outputs for the test run. Used with \'name\' and mutually exclusive with \'caseId\'. Optional, since not all evaluators require expected outputs.
* @type {{ [key: string]: any; }}
* @memberof V1TestResultPostRequestTestRunsInner
*/
expectedOutputs?: { [key: string]: any };
/**
*
* @type {{ [key: string]: MetadataValueObject; }}
* @memberof V1TestResultPostRequestTestRunsInner
*/
metadata?: { [key: string]: MetadataValueObject } | null;
/**
* Use outputs.steps insteads.
* @type {Array<StepRun>}
* @memberof V1TestResultPostRequestTestRunsInner
*/
stepRuns: Array<StepRun>;
/**
* Optional array of local evaluations
* @type {Array<LocalEvaluation>}
* @memberof V1TestResultPostRequestTestRunsInner
*/
evaluations?: Array<LocalEvaluation>;
/**
* Optional path which describes the organizational hierarchy of this test run in relation to all the pipeline tests.
* @type {Array<RunPathSection>}
* @memberof V1TestResultPostRequestTestRunsInner
*/
path?: Array<RunPathSection> | null;
/**
*
* @type {string}
* @memberof V1TestResultPostRequestTestRunsInner
*/
error?: string | null;
}