Skip to content

Commit

Permalink
feat(v2): remove common/typings in experiment
Browse files Browse the repository at this point in the history
  • Loading branch information
666haiwen committed Feb 18, 2025
1 parent 74564ca commit 0d7d6c7
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions packages/vmind/__tests__/experiment/src/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,7 @@ import { capcutResult, capcutV2Result } from './results/dataExtraction/dataResul
// import { result as doubaoResult } from './results/dataExtraction/doubao1';
import { commonAnswer } from './data/dataExtractionData';
import { mergeResult, updateScoreInDataExtraction } from './pages/DataExtraction/verify';
import { AtomName, Schedule, type FieldInfo } from '../../../src';
import { DataType } from '../../../src/common/typings';
import type { SimpleFieldInfo } from '../../../src/common/typings';
import { AtomName, Schedule, type FieldInfo, DataType } from '../../../src';
import type { DataExtractionResult } from './pages/DataExtraction/type';
import { DataCleanAtom, MultipleDataCleanAtom } from '../../../src/atom';

Expand Down Expand Up @@ -88,7 +86,7 @@ function dataTypeTransfer(dataType: string): DataType {
return DataType.STRING;
}
}
export function transferFieldInfoInSimpleFieldInfo(fieldInfo: FieldInfo[]): SimpleFieldInfo[] {
export function transferFieldInfoInSimpleFieldInfo(fieldInfo: FieldInfo[]): FieldInfo[] {
return fieldInfo.map(item => ({
fieldName: item.fieldName,
description: item.description,
Expand Down

0 comments on commit 0d7d6c7

Please sign in to comment.