Files
trade/data/db/entities/index.ts
T
Rekey b540b7611c chore: 合并 AGENTS 配置为单文件 AGENTS.md,精简 reasonix.toml
- 删除 AGENTS/ 目录下 8 个拆分 .md 文件,统一为根目录 AGENTS.md
- 删除 .reasonix.toml,配置合并到 reasonix.toml
- reasonix.toml 精简为仅保留实际生效的 3 项配置
- KlineInterval 类型导出源从 kline.entity 改到 ../../types
2026-06-16 13:32:05 +08:00

13 lines
605 B
TypeScript

// ============================================================
// entities/index.ts — 实体统一导出
// ============================================================
// TypeORM DataSource 通过 import * as entities from "../entities"
// 自动注册所有实体,无需手动逐个添加。
// ============================================================
export { CommonBaseEntity } from "./common.entity";
export { Exchange } from "./exchange.entity";
export { TradingPair } from "./trading-pair.entity";
export { Kline } from "./kline.entity";
export type { KlineInterval } from "../../types";