@wix/evalforge-types 0.5.0 → 0.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/index.js +184 -180
- package/build/index.js.map +3 -3
- package/build/index.mjs +184 -180
- package/build/index.mjs.map +3 -3
- package/build/types/evaluation/eval-result.d.ts +14 -0
- package/build/types/evaluation/eval-run.d.ts +14 -0
- package/package.json +2 -2
package/build/index.mjs
CHANGED
|
@@ -516,96 +516,13 @@ var LLMTraceSchema = z21.object({
|
|
|
516
516
|
});
|
|
517
517
|
|
|
518
518
|
// src/evaluation/eval-result.ts
|
|
519
|
-
import { z as
|
|
520
|
-
var AssertionResultStatus = /* @__PURE__ */ ((AssertionResultStatus2) => {
|
|
521
|
-
AssertionResultStatus2["PASSED"] = "passed";
|
|
522
|
-
AssertionResultStatus2["FAILED"] = "failed";
|
|
523
|
-
AssertionResultStatus2["SKIPPED"] = "skipped";
|
|
524
|
-
AssertionResultStatus2["ERROR"] = "error";
|
|
525
|
-
return AssertionResultStatus2;
|
|
526
|
-
})(AssertionResultStatus || {});
|
|
527
|
-
var AssertionResultSchema = z22.object({
|
|
528
|
-
id: z22.string(),
|
|
529
|
-
assertionId: z22.string(),
|
|
530
|
-
assertionType: z22.string(),
|
|
531
|
-
assertionName: z22.string(),
|
|
532
|
-
status: z22.enum(AssertionResultStatus),
|
|
533
|
-
message: z22.string().optional(),
|
|
534
|
-
expected: z22.string().optional(),
|
|
535
|
-
actual: z22.string().optional(),
|
|
536
|
-
duration: z22.number().optional(),
|
|
537
|
-
details: z22.record(z22.string(), z22.unknown()).optional(),
|
|
538
|
-
llmTraceSteps: z22.array(LLMTraceStepSchema).optional()
|
|
539
|
-
});
|
|
540
|
-
var EvalRunResultSchema = z22.object({
|
|
541
|
-
id: z22.string(),
|
|
542
|
-
targetId: z22.string(),
|
|
543
|
-
targetName: z22.string().optional(),
|
|
544
|
-
scenarioId: z22.string(),
|
|
545
|
-
scenarioName: z22.string(),
|
|
546
|
-
modelConfig: ModelConfigSchema.optional(),
|
|
547
|
-
assertionResults: z22.array(AssertionResultSchema),
|
|
548
|
-
metrics: EvalMetricsSchema.optional(),
|
|
549
|
-
passed: z22.number(),
|
|
550
|
-
failed: z22.number(),
|
|
551
|
-
passRate: z22.number(),
|
|
552
|
-
duration: z22.number(),
|
|
553
|
-
outputText: z22.string().optional(),
|
|
554
|
-
files: z22.array(ExpectedFileSchema).optional(),
|
|
555
|
-
startedAt: z22.string().optional(),
|
|
556
|
-
completedAt: z22.string().optional(),
|
|
557
|
-
llmTrace: LLMTraceSchema.optional()
|
|
558
|
-
});
|
|
559
|
-
var PromptResultSchema = z22.object({
|
|
560
|
-
text: z22.string(),
|
|
561
|
-
files: z22.array(z22.unknown()).optional(),
|
|
562
|
-
finishReason: z22.string().optional(),
|
|
563
|
-
reasoning: z22.string().optional(),
|
|
564
|
-
reasoningDetails: z22.unknown().optional(),
|
|
565
|
-
toolCalls: z22.array(z22.unknown()).optional(),
|
|
566
|
-
toolResults: z22.array(z22.unknown()).optional(),
|
|
567
|
-
warnings: z22.array(z22.unknown()).optional(),
|
|
568
|
-
sources: z22.array(z22.unknown()).optional(),
|
|
569
|
-
steps: z22.array(z22.unknown()),
|
|
570
|
-
generationTimeMs: z22.number(),
|
|
571
|
-
prompt: z22.string(),
|
|
572
|
-
systemPrompt: z22.string(),
|
|
573
|
-
usage: z22.object({
|
|
574
|
-
totalTokens: z22.number().optional(),
|
|
575
|
-
totalMicrocentsSpent: z22.number().optional()
|
|
576
|
-
})
|
|
577
|
-
});
|
|
578
|
-
var EvaluationResultSchema = z22.object({
|
|
579
|
-
id: z22.string(),
|
|
580
|
-
runId: z22.string(),
|
|
581
|
-
timestamp: z22.number(),
|
|
582
|
-
promptResult: PromptResultSchema,
|
|
583
|
-
testResults: z22.array(z22.unknown()),
|
|
584
|
-
tags: z22.array(z22.string()).optional(),
|
|
585
|
-
feedback: z22.string().optional(),
|
|
586
|
-
score: z22.number(),
|
|
587
|
-
suiteId: z22.string().optional()
|
|
588
|
-
});
|
|
589
|
-
var LeanEvaluationResultSchema = z22.object({
|
|
590
|
-
id: z22.string(),
|
|
591
|
-
runId: z22.string(),
|
|
592
|
-
timestamp: z22.number(),
|
|
593
|
-
tags: z22.array(z22.string()).optional(),
|
|
594
|
-
scenarioId: z22.string(),
|
|
595
|
-
scenarioVersion: z22.number().optional(),
|
|
596
|
-
targetId: z22.string(),
|
|
597
|
-
targetVersion: z22.number().optional(),
|
|
598
|
-
suiteId: z22.string().optional(),
|
|
599
|
-
score: z22.number(),
|
|
600
|
-
time: z22.number().optional(),
|
|
601
|
-
microcentsSpent: z22.number().optional()
|
|
602
|
-
});
|
|
519
|
+
import { z as z24 } from "zod";
|
|
603
520
|
|
|
604
521
|
// src/evaluation/eval-run.ts
|
|
605
|
-
import { z as
|
|
522
|
+
import { z as z23 } from "zod";
|
|
606
523
|
|
|
607
524
|
// src/evaluation/live-trace.ts
|
|
608
|
-
import { z as
|
|
525
|
+
import { z as z22 } from "zod";
|
|
609
526
|
var LiveTraceEventType = /* @__PURE__ */ ((LiveTraceEventType2) => {
|
|
610
527
|
LiveTraceEventType2["THINKING"] = "thinking";
|
|
611
528
|
LiveTraceEventType2["TOOL_USE"] = "tool_use";
|
|
@@ -614,31 +531,31 @@ var LiveTraceEventType = /* @__PURE__ */ ((LiveTraceEventType2) => {
|
|
|
614
531
|
LiveTraceEventType2["DIAGNOSTIC"] = "diagnostic";
|
|
615
532
|
return LiveTraceEventType2;
|
|
616
533
|
})(LiveTraceEventType || {});
|
|
617
|
-
var LiveTraceEventSchema =
|
|
534
|
+
var LiveTraceEventSchema = z22.object({
|
|
618
535
|
/** The evaluation run ID */
|
|
619
|
-
evalRunId:
|
|
536
|
+
evalRunId: z22.string(),
|
|
620
537
|
/** The scenario ID being executed */
|
|
621
|
-
scenarioId:
|
|
538
|
+
scenarioId: z22.string(),
|
|
622
539
|
/** The scenario name for display */
|
|
623
|
-
scenarioName:
|
|
540
|
+
scenarioName: z22.string(),
|
|
624
541
|
/** The target ID (skill, agent, etc.) */
|
|
625
|
-
targetId:
|
|
542
|
+
targetId: z22.string(),
|
|
626
543
|
/** The target name for display */
|
|
627
|
-
targetName:
|
|
544
|
+
targetName: z22.string(),
|
|
628
545
|
/** Step number in the current scenario execution */
|
|
629
|
-
stepNumber:
|
|
546
|
+
stepNumber: z22.number(),
|
|
630
547
|
/** Type of trace event */
|
|
631
|
-
type:
|
|
548
|
+
type: z22.enum(LiveTraceEventType),
|
|
632
549
|
/** Tool name if this is a tool_use event */
|
|
633
|
-
toolName:
|
|
550
|
+
toolName: z22.string().optional(),
|
|
634
551
|
/** Tool arguments preview (truncated JSON) */
|
|
635
|
-
toolArgs:
|
|
552
|
+
toolArgs: z22.string().optional(),
|
|
636
553
|
/** Output preview (truncated text) */
|
|
637
|
-
outputPreview:
|
|
554
|
+
outputPreview: z22.string().optional(),
|
|
638
555
|
/** Timestamp when this event occurred */
|
|
639
|
-
timestamp:
|
|
556
|
+
timestamp: z22.string(),
|
|
640
557
|
/** Whether this is the final event for this scenario */
|
|
641
|
-
isComplete:
|
|
558
|
+
isComplete: z22.boolean()
|
|
642
559
|
});
|
|
643
560
|
var TRACE_EVENT_PREFIX = "TRACE_EVENT:";
|
|
644
561
|
function parseTraceEventLine(line) {
|
|
@@ -666,14 +583,14 @@ var TriggerType = /* @__PURE__ */ ((TriggerType2) => {
|
|
|
666
583
|
TriggerType2["MANUAL"] = "MANUAL";
|
|
667
584
|
return TriggerType2;
|
|
668
585
|
})(TriggerType || {});
|
|
669
|
-
var TriggerMetadataSchema =
|
|
670
|
-
version:
|
|
671
|
-
resourceUpdated:
|
|
586
|
+
var TriggerMetadataSchema = z23.object({
|
|
587
|
+
version: z23.string().optional(),
|
|
588
|
+
resourceUpdated: z23.array(z23.string()).optional()
|
|
672
589
|
});
|
|
673
|
-
var TriggerSchema =
|
|
674
|
-
id:
|
|
590
|
+
var TriggerSchema = z23.object({
|
|
591
|
+
id: z23.string(),
|
|
675
592
|
metadata: TriggerMetadataSchema.optional(),
|
|
676
|
-
type:
|
|
593
|
+
type: z23.enum(TriggerType)
|
|
677
594
|
});
|
|
678
595
|
var FailureCategory = /* @__PURE__ */ ((FailureCategory2) => {
|
|
679
596
|
FailureCategory2["MISSING_FILE"] = "missing_file";
|
|
@@ -691,89 +608,89 @@ var FailureSeverity = /* @__PURE__ */ ((FailureSeverity2) => {
|
|
|
691
608
|
FailureSeverity2["LOW"] = "low";
|
|
692
609
|
return FailureSeverity2;
|
|
693
610
|
})(FailureSeverity || {});
|
|
694
|
-
var DiffLineTypeSchema =
|
|
695
|
-
var DiffLineSchema =
|
|
611
|
+
var DiffLineTypeSchema = z23.enum(["added", "removed", "unchanged"]);
|
|
612
|
+
var DiffLineSchema = z23.object({
|
|
696
613
|
type: DiffLineTypeSchema,
|
|
697
|
-
content:
|
|
698
|
-
lineNumber:
|
|
699
|
-
});
|
|
700
|
-
var DiffContentSchema =
|
|
701
|
-
path:
|
|
702
|
-
expected:
|
|
703
|
-
actual:
|
|
704
|
-
diffLines:
|
|
705
|
-
});
|
|
706
|
-
var CommandExecutionSchema =
|
|
707
|
-
command:
|
|
708
|
-
exitCode:
|
|
709
|
-
output:
|
|
710
|
-
duration:
|
|
711
|
-
});
|
|
712
|
-
var FileModificationSchema =
|
|
713
|
-
path:
|
|
714
|
-
action:
|
|
715
|
-
});
|
|
716
|
-
var ApiCallSchema =
|
|
717
|
-
endpoint:
|
|
718
|
-
tokensUsed:
|
|
719
|
-
duration:
|
|
720
|
-
});
|
|
721
|
-
var ExecutionTraceSchema =
|
|
722
|
-
commands:
|
|
723
|
-
filesModified:
|
|
724
|
-
apiCalls:
|
|
725
|
-
totalDuration:
|
|
726
|
-
});
|
|
727
|
-
var FailureAnalysisSchema =
|
|
728
|
-
category:
|
|
729
|
-
severity:
|
|
730
|
-
summary:
|
|
731
|
-
details:
|
|
732
|
-
rootCause:
|
|
733
|
-
suggestedFix:
|
|
734
|
-
relatedAssertions:
|
|
735
|
-
codeSnippet:
|
|
736
|
-
similarIssues:
|
|
737
|
-
patternId:
|
|
614
|
+
content: z23.string(),
|
|
615
|
+
lineNumber: z23.number()
|
|
616
|
+
});
|
|
617
|
+
var DiffContentSchema = z23.object({
|
|
618
|
+
path: z23.string(),
|
|
619
|
+
expected: z23.string(),
|
|
620
|
+
actual: z23.string(),
|
|
621
|
+
diffLines: z23.array(DiffLineSchema)
|
|
622
|
+
});
|
|
623
|
+
var CommandExecutionSchema = z23.object({
|
|
624
|
+
command: z23.string(),
|
|
625
|
+
exitCode: z23.number(),
|
|
626
|
+
output: z23.string().optional(),
|
|
627
|
+
duration: z23.number()
|
|
628
|
+
});
|
|
629
|
+
var FileModificationSchema = z23.object({
|
|
630
|
+
path: z23.string(),
|
|
631
|
+
action: z23.enum(["created", "modified", "deleted"])
|
|
632
|
+
});
|
|
633
|
+
var ApiCallSchema = z23.object({
|
|
634
|
+
endpoint: z23.string(),
|
|
635
|
+
tokensUsed: z23.number(),
|
|
636
|
+
duration: z23.number()
|
|
637
|
+
});
|
|
638
|
+
var ExecutionTraceSchema = z23.object({
|
|
639
|
+
commands: z23.array(CommandExecutionSchema),
|
|
640
|
+
filesModified: z23.array(FileModificationSchema),
|
|
641
|
+
apiCalls: z23.array(ApiCallSchema),
|
|
642
|
+
totalDuration: z23.number()
|
|
643
|
+
});
|
|
644
|
+
var FailureAnalysisSchema = z23.object({
|
|
645
|
+
category: z23.enum(FailureCategory),
|
|
646
|
+
severity: z23.enum(FailureSeverity),
|
|
647
|
+
summary: z23.string(),
|
|
648
|
+
details: z23.string(),
|
|
649
|
+
rootCause: z23.string(),
|
|
650
|
+
suggestedFix: z23.string(),
|
|
651
|
+
relatedAssertions: z23.array(z23.string()),
|
|
652
|
+
codeSnippet: z23.string().optional(),
|
|
653
|
+
similarIssues: z23.array(z23.string()).optional(),
|
|
654
|
+
patternId: z23.string().optional(),
|
|
738
655
|
// Extended fields for detailed debugging
|
|
739
656
|
diff: DiffContentSchema.optional(),
|
|
740
657
|
executionTrace: ExecutionTraceSchema.optional()
|
|
741
658
|
});
|
|
742
659
|
var EvalRunSchema = TenantEntitySchema.extend({
|
|
743
660
|
/** Agent ID for this run */
|
|
744
|
-
agentId:
|
|
661
|
+
agentId: z23.string().optional(),
|
|
745
662
|
/** Skills group ID for this run */
|
|
746
|
-
skillsGroupId:
|
|
663
|
+
skillsGroupId: z23.string().optional(),
|
|
747
664
|
/** Scenario IDs to run */
|
|
748
|
-
scenarioIds:
|
|
665
|
+
scenarioIds: z23.array(z23.string()),
|
|
749
666
|
/** Current status */
|
|
750
667
|
status: EvalStatusSchema,
|
|
751
668
|
/** Progress percentage (0-100) */
|
|
752
|
-
progress:
|
|
669
|
+
progress: z23.number(),
|
|
753
670
|
/** Results for each scenario/target combination */
|
|
754
|
-
results:
|
|
671
|
+
results: z23.array(EvalRunResultSchema),
|
|
755
672
|
/** Aggregated metrics across all results */
|
|
756
673
|
aggregateMetrics: EvalMetricsSchema,
|
|
757
674
|
/** Failure analyses */
|
|
758
|
-
failureAnalyses:
|
|
675
|
+
failureAnalyses: z23.array(FailureAnalysisSchema).optional(),
|
|
759
676
|
/** Aggregated LLM trace summary */
|
|
760
677
|
llmTraceSummary: LLMTraceSummarySchema.optional(),
|
|
761
678
|
/** What triggered this run */
|
|
762
679
|
trigger: TriggerSchema.optional(),
|
|
763
680
|
/** When the run started (set when evaluation is triggered) */
|
|
764
|
-
startedAt:
|
|
681
|
+
startedAt: z23.string().optional(),
|
|
765
682
|
/** When the run completed */
|
|
766
|
-
completedAt:
|
|
683
|
+
completedAt: z23.string().optional(),
|
|
767
684
|
/** Live trace events captured during execution (for playback on results page) */
|
|
768
|
-
liveTraceEvents:
|
|
685
|
+
liveTraceEvents: z23.array(LiveTraceEventSchema).optional(),
|
|
769
686
|
/** Remote job ID for tracking execution in Dev Machines */
|
|
770
|
-
jobId:
|
|
687
|
+
jobId: z23.string().optional(),
|
|
771
688
|
/** Remote job status from the Dev Machine API (PENDING, RUNNING, COMPLETED, FAILED, CANCELLED) */
|
|
772
|
-
jobStatus:
|
|
689
|
+
jobStatus: z23.string().optional(),
|
|
773
690
|
/** Remote job error message if the job failed */
|
|
774
|
-
jobError:
|
|
691
|
+
jobError: z23.string().optional(),
|
|
775
692
|
/** Timestamp of the last job status check */
|
|
776
|
-
jobStatusCheckedAt:
|
|
693
|
+
jobStatusCheckedAt: z23.string().optional()
|
|
777
694
|
});
|
|
778
695
|
var CreateEvalRunInputSchema = EvalRunSchema.omit({
|
|
779
696
|
id: true,
|
|
@@ -786,32 +703,119 @@ var CreateEvalRunInputSchema = EvalRunSchema.omit({
|
|
|
786
703
|
startedAt: true,
|
|
787
704
|
completedAt: true
|
|
788
705
|
});
|
|
789
|
-
var EvaluationProgressSchema =
|
|
790
|
-
runId:
|
|
791
|
-
targetId:
|
|
792
|
-
totalScenarios:
|
|
793
|
-
completedScenarios:
|
|
794
|
-
scenarioProgress:
|
|
795
|
-
|
|
796
|
-
scenarioId:
|
|
797
|
-
currentStep:
|
|
798
|
-
error:
|
|
706
|
+
var EvaluationProgressSchema = z23.object({
|
|
707
|
+
runId: z23.string(),
|
|
708
|
+
targetId: z23.string(),
|
|
709
|
+
totalScenarios: z23.number(),
|
|
710
|
+
completedScenarios: z23.number(),
|
|
711
|
+
scenarioProgress: z23.array(
|
|
712
|
+
z23.object({
|
|
713
|
+
scenarioId: z23.string(),
|
|
714
|
+
currentStep: z23.string(),
|
|
715
|
+
error: z23.string().optional()
|
|
799
716
|
})
|
|
800
717
|
),
|
|
801
|
-
createdAt:
|
|
718
|
+
createdAt: z23.number()
|
|
802
719
|
});
|
|
803
|
-
var EvaluationLogSchema =
|
|
804
|
-
runId:
|
|
805
|
-
scenarioId:
|
|
806
|
-
log:
|
|
807
|
-
level:
|
|
808
|
-
message:
|
|
809
|
-
args:
|
|
810
|
-
error:
|
|
720
|
+
var EvaluationLogSchema = z23.object({
|
|
721
|
+
runId: z23.string(),
|
|
722
|
+
scenarioId: z23.string(),
|
|
723
|
+
log: z23.object({
|
|
724
|
+
level: z23.enum(["info", "error", "debug"]),
|
|
725
|
+
message: z23.string().optional(),
|
|
726
|
+
args: z23.array(z23.any()).optional(),
|
|
727
|
+
error: z23.string().optional()
|
|
811
728
|
})
|
|
812
729
|
});
|
|
813
730
|
var LLM_TIMEOUT = 12e4;
|
|
814
731
|
|
|
732
|
+
// src/evaluation/eval-result.ts
|
|
733
|
+
var AssertionResultStatus = /* @__PURE__ */ ((AssertionResultStatus2) => {
|
|
734
|
+
AssertionResultStatus2["PASSED"] = "passed";
|
|
735
|
+
AssertionResultStatus2["FAILED"] = "failed";
|
|
736
|
+
AssertionResultStatus2["SKIPPED"] = "skipped";
|
|
737
|
+
AssertionResultStatus2["ERROR"] = "error";
|
|
738
|
+
return AssertionResultStatus2;
|
|
739
|
+
})(AssertionResultStatus || {});
|
|
740
|
+
var AssertionResultSchema = z24.object({
|
|
741
|
+
id: z24.string(),
|
|
742
|
+
assertionId: z24.string(),
|
|
743
|
+
assertionType: z24.string(),
|
|
744
|
+
assertionName: z24.string(),
|
|
745
|
+
status: z24.enum(AssertionResultStatus),
|
|
746
|
+
message: z24.string().optional(),
|
|
747
|
+
expected: z24.string().optional(),
|
|
748
|
+
actual: z24.string().optional(),
|
|
749
|
+
duration: z24.number().optional(),
|
|
750
|
+
details: z24.record(z24.string(), z24.unknown()).optional(),
|
|
751
|
+
llmTraceSteps: z24.array(LLMTraceStepSchema).optional()
|
|
752
|
+
});
|
|
753
|
+
var EvalRunResultSchema = z24.object({
|
|
754
|
+
id: z24.string(),
|
|
755
|
+
targetId: z24.string(),
|
|
756
|
+
targetName: z24.string().optional(),
|
|
757
|
+
scenarioId: z24.string(),
|
|
758
|
+
scenarioName: z24.string(),
|
|
759
|
+
modelConfig: ModelConfigSchema.optional(),
|
|
760
|
+
assertionResults: z24.array(AssertionResultSchema),
|
|
761
|
+
metrics: EvalMetricsSchema.optional(),
|
|
762
|
+
passed: z24.number(),
|
|
763
|
+
failed: z24.number(),
|
|
764
|
+
passRate: z24.number(),
|
|
765
|
+
duration: z24.number(),
|
|
766
|
+
outputText: z24.string().optional(),
|
|
767
|
+
files: z24.array(ExpectedFileSchema).optional(),
|
|
768
|
+
/** File diffs showing changes made by the agent during execution */
|
|
769
|
+
fileDiffs: z24.array(DiffContentSchema).optional(),
|
|
770
|
+
startedAt: z24.string().optional(),
|
|
771
|
+
completedAt: z24.string().optional(),
|
|
772
|
+
llmTrace: LLMTraceSchema.optional()
|
|
773
|
+
});
|
|
774
|
+
var PromptResultSchema = z24.object({
|
|
775
|
+
text: z24.string(),
|
|
776
|
+
files: z24.array(z24.unknown()).optional(),
|
|
777
|
+
finishReason: z24.string().optional(),
|
|
778
|
+
reasoning: z24.string().optional(),
|
|
779
|
+
reasoningDetails: z24.unknown().optional(),
|
|
780
|
+
toolCalls: z24.array(z24.unknown()).optional(),
|
|
781
|
+
toolResults: z24.array(z24.unknown()).optional(),
|
|
782
|
+
warnings: z24.array(z24.unknown()).optional(),
|
|
783
|
+
sources: z24.array(z24.unknown()).optional(),
|
|
784
|
+
steps: z24.array(z24.unknown()),
|
|
785
|
+
generationTimeMs: z24.number(),
|
|
786
|
+
prompt: z24.string(),
|
|
787
|
+
systemPrompt: z24.string(),
|
|
788
|
+
usage: z24.object({
|
|
789
|
+
totalTokens: z24.number().optional(),
|
|
790
|
+
totalMicrocentsSpent: z24.number().optional()
|
|
791
|
+
})
|
|
792
|
+
});
|
|
793
|
+
var EvaluationResultSchema = z24.object({
|
|
794
|
+
id: z24.string(),
|
|
795
|
+
runId: z24.string(),
|
|
796
|
+
timestamp: z24.number(),
|
|
797
|
+
promptResult: PromptResultSchema,
|
|
798
|
+
testResults: z24.array(z24.unknown()),
|
|
799
|
+
tags: z24.array(z24.string()).optional(),
|
|
800
|
+
feedback: z24.string().optional(),
|
|
801
|
+
score: z24.number(),
|
|
802
|
+
suiteId: z24.string().optional()
|
|
803
|
+
});
|
|
804
|
+
var LeanEvaluationResultSchema = z24.object({
|
|
805
|
+
id: z24.string(),
|
|
806
|
+
runId: z24.string(),
|
|
807
|
+
timestamp: z24.number(),
|
|
808
|
+
tags: z24.array(z24.string()).optional(),
|
|
809
|
+
scenarioId: z24.string(),
|
|
810
|
+
scenarioVersion: z24.number().optional(),
|
|
811
|
+
targetId: z24.string(),
|
|
812
|
+
targetVersion: z24.number().optional(),
|
|
813
|
+
suiteId: z24.string().optional(),
|
|
814
|
+
score: z24.number(),
|
|
815
|
+
time: z24.number().optional(),
|
|
816
|
+
microcentsSpent: z24.number().optional()
|
|
817
|
+
});
|
|
818
|
+
|
|
815
819
|
// src/project/project.ts
|
|
816
820
|
import { z as z25 } from "zod";
|
|
817
821
|
var ProjectSchema = BaseEntitySchema.extend({
|