|
@@ -22,7 +22,7 @@ export function fromAnalysisModel(mode: 'tongue' | 'face', data: Record<string,
|
|
|
export interface AnalysisModel {
|
|
|
table: {
|
|
|
columns: string[];
|
|
|
- data: (string[] & { exception: boolean; invalid?: boolean })[];
|
|
|
+ data: { exception: boolean; invalid?: boolean; columns: string[] }[];
|
|
|
};
|
|
|
exception: AnalysisException[];
|
|
|
exceptionGroup: {
|
|
@@ -128,6 +128,9 @@ function fromAnalysisException(exception: AnalysisException[], $title = (label:
|
|
|
}
|
|
|
return title;
|
|
|
}) ?? [];
|
|
|
- return Object.assign([label, values.join('<br>'), data?.standardValue ?? ''], { exception: is, invalid });
|
|
|
+ return {
|
|
|
+ exception: is, invalid,
|
|
|
+ columns: [label, values.join('<br>'), data?.standardValue ?? '']
|
|
|
+ }
|
|
|
};
|
|
|
}
|