diff --git a/libs/asset-management/src/lib/services/asset-exchange.service.test.ts b/libs/asset-management/src/lib/services/asset-exchange.service.test.ts index 708189b..eb0e29a 100644 --- a/libs/asset-management/src/lib/services/asset-exchange.service.test.ts +++ b/libs/asset-management/src/lib/services/asset-exchange.service.test.ts @@ -1,5 +1,5 @@ import { Test, TestingModule } from '@nestjs/testing'; -import { AssetExchange } from '../../../../typeorm/src/lib/entities'; +import { AssetExchange } from '@stockdog/typeorm'; import { AssetExchangeRepository } from '../repositories'; import { Exchange } from '../types/enums'; import { AssetExchangeService } from './asset-exchange.service'; diff --git a/libs/asset-management/src/lib/services/asset.service.test.ts b/libs/asset-management/src/lib/services/asset.service.test.ts index 387bb5a..793f6bb 100644 --- a/libs/asset-management/src/lib/services/asset.service.test.ts +++ b/libs/asset-management/src/lib/services/asset.service.test.ts @@ -1,9 +1,5 @@ import { Test, TestingModule } from '@nestjs/testing'; -import { - Asset, - AssetExchange, - Exchange, -} from '../../../../typeorm/src/lib/entities'; +import { Asset, AssetExchange, Exchange } from '@stockdog/typeorm'; import { AssetDto } from '../dto'; import { AssetExchangeRepository, AssetRepository } from '../repositories'; import { AssetService } from './asset.service'; diff --git a/libs/asset-management/src/lib/services/asset.service.ts b/libs/asset-management/src/lib/services/asset.service.ts index a43b1f0..c1c9941 100644 --- a/libs/asset-management/src/lib/services/asset.service.ts +++ b/libs/asset-management/src/lib/services/asset.service.ts @@ -1,9 +1,5 @@ import { Injectable } from '@nestjs/common'; -import { - Asset, - AssetExchange, - Exchange, -} from '../../../../typeorm/src/lib/entities'; +import { Asset, AssetExchange, Exchange } from '@stockdog/typeorm'; import { AssetDto } from '../dto'; import { AssetExchangeRepository, AssetRepository } from '../repositories'; import { validateAndThrowError } from '../utils/validate-dto-error'; diff --git a/libs/asset-management/src/lib/services/delivery-data.service.test.ts b/libs/asset-management/src/lib/services/delivery-data.service.test.ts index c1ddbbc..3a5ce19 100644 --- a/libs/asset-management/src/lib/services/delivery-data.service.test.ts +++ b/libs/asset-management/src/lib/services/delivery-data.service.test.ts @@ -1,5 +1,5 @@ import { Test, TestingModule } from '@nestjs/testing'; -import { DeliveryData } from '../../../../typeorm/src/lib/entities'; +import { DeliveryData } from '@stockdog/typeorm'; import { DeliveryDataRepository } from '../repositories'; import { DeliveryDataService } from './delivery-data.service'; diff --git a/libs/asset-management/src/lib/services/delivery-data.service.ts b/libs/asset-management/src/lib/services/delivery-data.service.ts index f61e330..a8b21ce 100644 --- a/libs/asset-management/src/lib/services/delivery-data.service.ts +++ b/libs/asset-management/src/lib/services/delivery-data.service.ts @@ -1,6 +1,6 @@ import { Injectable } from '@nestjs/common'; +import { DeliveryData } from '@stockdog/typeorm'; import { InsertResult } from 'typeorm'; -import { DeliveryData } from '../../../../typeorm/src/lib/entities'; import { DeliveryDataDTO } from '../dto'; import { DeliveryDataRepository } from '../repositories'; import { validateAndThrowError } from '../utils/validate-dto-error'; diff --git a/libs/asset-management/src/lib/services/trading-data.service.test.ts b/libs/asset-management/src/lib/services/trading-data.service.test.ts index 87f4bd8..cd56f78 100644 --- a/libs/asset-management/src/lib/services/trading-data.service.test.ts +++ b/libs/asset-management/src/lib/services/trading-data.service.test.ts @@ -1,5 +1,5 @@ import { Test, TestingModule } from '@nestjs/testing'; -import { TradingData } from '../../../../typeorm/src/lib/entities'; +import { TradingData } from '@stockdog/typeorm'; import { TradingDataRepository } from '../repositories'; import { TradingDataService } from './trading-data.service'; diff --git a/libs/asset-management/src/lib/services/trading-data.service.ts b/libs/asset-management/src/lib/services/trading-data.service.ts index 8ef8a5b..34da7b1 100644 --- a/libs/asset-management/src/lib/services/trading-data.service.ts +++ b/libs/asset-management/src/lib/services/trading-data.service.ts @@ -1,6 +1,6 @@ import { Injectable } from '@nestjs/common'; +import { TradingData } from '@stockdog/typeorm'; import { InsertResult } from 'typeorm'; -import { TradingData } from '../../../../typeorm/src/lib/entities'; import { TradingDataDTO } from '../dto'; import { TradingDataRepository } from '../repositories'; import { validateAndThrowError } from '../utils/validate-dto-error';