Skip to content

Commit

Permalink
fix(core): Fix bad imports from common module
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelbromley committed Jun 6, 2019
1 parent e5f5ae1 commit 960b647
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 8 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { ConfigArgType } from '../../../../common/lib/generated-types';
import { ConfigArgType } from '@vendure/common/lib/generated-types';

import { ShippingEligibilityChecker } from './shipping-eligibility-checker';

Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import { ID, Type } from '@vendure/common/lib/shared-types';
import { unique } from '@vendure/common/lib/unique';
import { Connection, ConnectionOptions, createConnection, SelectQueryBuilder } from 'typeorm';
import { FindOptionsUtils } from 'typeorm/find-options/FindOptionsUtils';

import { ID, Type } from '../../../../../common/lib/shared-types';
import { unique } from '../../../../../common/lib/unique';
import { RequestContext } from '../../../api/common/request-context';
import { FacetValue } from '../../../entity/facet-value/facet-value.entity';
import { ProductVariant } from '../../../entity/product-variant/product-variant.entity';
Expand Down
3 changes: 2 additions & 1 deletion packages/core/src/service/helpers/job-manager/job.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import { JobState } from '../../../../../common/lib/generated-types';
import { JobState } from '@vendure/common/lib/generated-types';

import { generatePublicId } from '../../../common/generate-public-id';

import { JobReporter } from './job-manager';
Expand Down
4 changes: 1 addition & 3 deletions packages/core/src/service/services/search.service.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
import { Injectable } from '@nestjs/common';
import { JobInfo } from '@vendure/common/lib/generated-types';
import { JobState, Maybe, Scalars } from '../../../../common/src/generated-types';
import { JobInfo, JobState } from '@vendure/common/lib/generated-types';

import { RequestContext } from '../../api/common/request-context';
import { InternalServerError } from '../../common/error/errors';
import { Logger } from '../../config/logger/vendure-logger';

/**
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import { Injectable } from '@nestjs/common';
import { InjectConnection } from '@nestjs/typeorm';
import { StockMovementListOptions } from '@vendure/common/lib/generated-types';
import { ID, PaginatedList } from '@vendure/common/lib/shared-types';
import { Connection } from 'typeorm';

import { ID, PaginatedList } from '../../../../common/lib/shared-types';
import { RequestContext } from '../../api/common/request-context';
import { InternalServerError } from '../../common/error/errors';
import { ShippingCalculator } from '../../config/shipping-method/shipping-calculator';
Expand Down

0 comments on commit 960b647

Please sign in to comment.