Skip to content

Commit

Permalink
feat: update import based on typeorm lib
Browse files Browse the repository at this point in the history
  • Loading branch information
danishjoseph committed Jul 15, 2024
1 parent 5227623 commit c66d106
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 15 deletions.
Original file line number Diff line number Diff line change
@@ -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';
Expand Down
6 changes: 1 addition & 5 deletions libs/asset-management/src/lib/services/asset.service.test.ts
Original file line number Diff line number Diff line change
@@ -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';
Expand Down
6 changes: 1 addition & 5 deletions libs/asset-management/src/lib/services/asset.service.ts
Original file line number Diff line number Diff line change
@@ -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';
Expand Down
Original file line number Diff line number Diff line change
@@ -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';

Expand Down
Original file line number Diff line number Diff line change
@@ -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';
Expand Down
Original file line number Diff line number Diff line change
@@ -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';

Expand Down
Original file line number Diff line number Diff line change
@@ -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';
Expand Down

0 comments on commit c66d106

Please sign in to comment.