Variable MJTestRunSchemaConst
MJTestRunSchema: ZodObject<
{
__mj_CreatedAt: ZodDate;
__mj_UpdatedAt: ZodDate;
ActualOutputData: ZodNullable<ZodString>;
CompletedAt: ZodNullable<ZodDate>;
CostUSD: ZodNullable<ZodNumber>;
DurationSeconds: ZodNullable<ZodNumber>;
ErrorMessage: ZodNullable<ZodString>;
ExpectedOutputData: ZodNullable<ZodString>;
FailedChecks: ZodNullable<ZodNumber>;
ID: ZodString;
InputData: ZodNullable<ZodString>;
Log: ZodNullable<ZodString>;
MachineID: ZodNullable<ZodString>;
MachineName: ZodNullable<ZodString>;
PassedChecks: ZodNullable<ZodNumber>;
ResolvedVariables: ZodNullable<ZodString>;
ResultDetails: ZodNullable<ZodString>;
RunByUser: ZodString;
RunByUserEmail: ZodNullable<ZodString>;
RunByUserID: ZodString;
RunByUserName: ZodNullable<ZodString>;
RunContextDetails: ZodNullable<ZodString>;
Score: ZodNullable<ZodNumber>;
Sequence: ZodNullable<ZodNumber>;
StartedAt: ZodNullable<ZodDate>;
Status: ZodUnion<
[
ZodLiteral<"Error">,
ZodLiteral<"Failed">,
ZodLiteral<"Passed">,
ZodLiteral<"Pending">,
ZodLiteral<"Running">,
ZodLiteral<"Skipped">,
ZodLiteral<"Timeout">,
],
>;
Tags: ZodNullable<ZodString>;
TargetLogEntity: ZodNullable<ZodString>;
TargetLogEntityID: ZodNullable<ZodString>;
TargetLogID: ZodNullable<ZodString>;
TargetType: ZodNullable<ZodString>;
Test: ZodString;
TestID: ZodString;
TestSuiteRun: ZodNullable<ZodString>;
TestSuiteRunID: ZodNullable<ZodString>;
TotalChecks: ZodNullable<ZodNumber>;
},
"strip",
ZodTypeAny,
{
__mj_CreatedAt?: Date;
__mj_UpdatedAt?: Date;
ActualOutputData?: string;
CompletedAt?: Date;
CostUSD?: number;
DurationSeconds?: number;
ErrorMessage?: string;
ExpectedOutputData?: string;
FailedChecks?: number;
ID?: string;
InputData?: string;
Log?: string;
MachineID?: string;
MachineName?: string;
PassedChecks?: number;
ResolvedVariables?: string;
ResultDetails?: string;
RunByUser?: string;
RunByUserEmail?: string;
RunByUserID?: string;
RunByUserName?: string;
RunContextDetails?: string;
Score?: number;
Sequence?: number;
StartedAt?: Date;
Status?: | "Pending"
| "Failed"
| "Running"
| "Timeout"
| "Error"
| "Skipped"
| "Passed";
Tags?: string;
TargetLogEntity?: string;
TargetLogEntityID?: string;
TargetLogID?: string;
TargetType?: string;
Test?: string;
TestID?: string;
TestSuiteRun?: string;
TestSuiteRunID?: string;
TotalChecks?: number;
},
{
__mj_CreatedAt?: Date;
__mj_UpdatedAt?: Date;
ActualOutputData?: string;
CompletedAt?: Date;
CostUSD?: number;
DurationSeconds?: number;
ErrorMessage?: string;
ExpectedOutputData?: string;
FailedChecks?: number;
ID?: string;
InputData?: string;
Log?: string;
MachineID?: string;
MachineName?: string;
PassedChecks?: number;
ResolvedVariables?: string;
ResultDetails?: string;
RunByUser?: string;
RunByUserEmail?: string;
RunByUserID?: string;
RunByUserName?: string;
RunContextDetails?: string;
Score?: number;
Sequence?: number;
StartedAt?: Date;
Status?: | "Pending"
| "Failed"
| "Running"
| "Timeout"
| "Error"
| "Skipped"
| "Passed";
Tags?: string;
TargetLogEntity?: string;
TargetLogEntityID?: string;
TargetLogID?: string;
TargetType?: string;
Test?: string;
TestID?: string;
TestSuiteRun?: string;
TestSuiteRunID?: string;
TotalChecks?: number;
},
> = ...
zod schema definition for the entity MJ: Test Runs