From 99733fad59b3864c1bb359a8cfe1a407d835ddcd Mon Sep 17 00:00:00 2001 From: Michael Bromley Date: Thu, 9 Apr 2020 10:13:36 +0200 Subject: [PATCH] fix(elasticsearch-plugin): Fix bad import paths --- packages/elasticsearch-plugin/src/custom-mappings.resolver.ts | 3 +-- packages/elasticsearch-plugin/src/types.ts | 4 +--- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/packages/elasticsearch-plugin/src/custom-mappings.resolver.ts b/packages/elasticsearch-plugin/src/custom-mappings.resolver.ts index 414e09759c..f6b090c1ad 100644 --- a/packages/elasticsearch-plugin/src/custom-mappings.resolver.ts +++ b/packages/elasticsearch-plugin/src/custom-mappings.resolver.ts @@ -1,7 +1,6 @@ import { Inject } from '@nestjs/common'; import { ResolveField, Resolver } from '@nestjs/graphql'; - -import { DeepRequired } from '../../common/lib/shared-types'; +import { DeepRequired } from '@vendure/common/lib/shared-types'; import { ELASTIC_SEARCH_OPTIONS } from './constants'; import { ElasticsearchOptions } from './options'; diff --git a/packages/elasticsearch-plugin/src/types.ts b/packages/elasticsearch-plugin/src/types.ts index 641cc55875..35b03d8543 100644 --- a/packages/elasticsearch-plugin/src/types.ts +++ b/packages/elasticsearch-plugin/src/types.ts @@ -6,11 +6,9 @@ import { SearchResponse, SearchResult, } from '@vendure/common/lib/generated-types'; -import { ID } from '@vendure/common/lib/shared-types'; +import { ID, JsonCompatible } from '@vendure/common/lib/shared-types'; import { Asset, SerializedRequestContext, WorkerMessage } from '@vendure/core'; -import { JsonCompatible } from '../../common/src/shared-types'; - export type ElasticSearchInput = SearchInput & { priceRange?: PriceRange; priceRangeWithTax?: PriceRange;