diff --git a/src/components/PerformanceMockup.tsx b/src/components/PerformanceMockup.tsx
index 960b1de..4aa7e60 100644
--- a/src/components/PerformanceMockup.tsx
+++ b/src/components/PerformanceMockup.tsx
@@ -29,7 +29,7 @@ export default function PerformanceMockup() {
return
{result}
;
}
- const { recordingURL } = result;
+ const { recordingURL } = result.analysisResult;
const recordingId = getRecordingId();
assert(recordingId);
@@ -40,7 +40,7 @@ export default function PerformanceMockup() {
- {result.summaries.map((summary, index) => {
+ {result.analysisResult.summaries.map((summary, index) => {
const props = { summary };
return ;
})}
diff --git a/src/performance/interfaceTypes.ts b/src/performance/interfaceTypes.ts
index 57b314e..135d09b 100644
--- a/src/performance/interfaceTypes.ts
+++ b/src/performance/interfaceTypes.ts
@@ -241,8 +241,12 @@ export interface AnalysisPointError {
}
export interface PerformanceAnalysisResult {
- spec: PerformanceAnalysisSpec;
- summaries: OriginSummary[];
- errors: AnalysisPointError[];
- recordingURL: string;
+ analysisResult: {
+ spec: PerformanceAnalysisSpec;
+ summaries: OriginSummary[];
+ errors: AnalysisPointError[];
+ recordingURL: string;
+ };
+ result: string;
+ version: number;
}