Skip to content

Commit

Permalink
fix(core): Fix incorrect common import paths
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelbromley committed Aug 24, 2021
1 parent 5252644 commit 568e4b2
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 6 deletions.
2 changes: 1 addition & 1 deletion packages/core/src/entity/fulfillment/fulfillment.entity.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { DeepPartial } from '@vendure/common/lib/shared-types';
import { Column, Entity, ManyToMany, OneToMany } from 'typeorm';

import { DeepPartial } from '../../../../common/lib/shared-types';
import { HasCustomFields } from '../../config/custom-field/custom-field-types';
import { FulfillmentState } from '../../service/helpers/fulfillment-state-machine/fulfillment-state';
import { VendureEntity } from '../base/base.entity';
Expand Down
4 changes: 2 additions & 2 deletions packages/core/src/plugin/dynamic-plugin-api.module.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { DynamicModule } from '@nestjs/common';
import { Type } from '@vendure/common/lib/shared-types';
import { notNullOrUndefined } from '@vendure/common/lib/shared-utils';

import { Type } from '../../../common/lib/shared-types';
import { notNullOrUndefined } from '../../../common/lib/shared-utils';
import { getConfig } from '../config/config-helpers';

import { getModuleMetadata, graphQLResolversFor, isDynamicModule } from './plugin-metadata';
Expand Down
3 changes: 1 addition & 2 deletions packages/core/src/plugin/plugin-metadata.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
import { DynamicModule } from '@nestjs/common';
import { MODULE_METADATA } from '@nestjs/common/constants';
import { Type } from '@vendure/common/lib/shared-types';

import { notNullOrUndefined } from '../../../common/lib/shared-utils';
import { notNullOrUndefined } from '@vendure/common/lib/shared-utils';

import { APIExtensionDefinition, PluginConfigurationFn } from './vendure-plugin';

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ import {
TestShippingMethodQuote,
TestShippingMethodResult,
} from '@vendure/common/lib/generated-types';
import { ID } from '@vendure/common/lib/shared-types';

import { ID } from '../../../../common/lib/shared-types';
import { RequestContext } from '../../api/common/request-context';
import { grossPriceOf, netPriceOf } from '../../common/tax-utils';
import { ConfigService } from '../../config/config.service';
Expand Down

0 comments on commit 568e4b2

Please sign in to comment.