1
src/components/data/index.ts
Normal file
1
src/components/data/index.ts
Normal file
@@ -0,0 +1 @@
|
||||
export * from './types'
|
||||
23
src/components/data/types.ts
Normal file
23
src/components/data/types.ts
Normal file
@@ -0,0 +1,23 @@
|
||||
/**
|
||||
* 数据系统类型定义
|
||||
* 重新导出 src/types 中的类型,方便组件内部使用
|
||||
*/
|
||||
|
||||
// 重新导出所有类型
|
||||
export type {
|
||||
WaveformPoint,
|
||||
WaveformDisplayMode,
|
||||
WaveformInteractionMode,
|
||||
WaveformAnnotationStyle,
|
||||
WaveformAnnotation,
|
||||
WaveformRenderingOptions,
|
||||
SingleWaveformData,
|
||||
WaveformSeries,
|
||||
WaveformData,
|
||||
NormalizedWaveformSeries,
|
||||
} from '../../types'
|
||||
|
||||
export type { WaveformGridOptions } from '../core/grid'
|
||||
|
||||
// 重新导出数据处理函数
|
||||
export { normalizeWaveformData, normalizeWaveformSeries } from '../../core'
|
||||
Reference in New Issue
Block a user