From a4473e893dc8d66c4de4c2dade3ee150d0de224b Mon Sep 17 00:00:00 2001 From: squidfunk Date: Fri, 14 Feb 2020 14:50:11 +0100 Subject: [PATCH] Fixed search integration imports --- src/assets/javascripts/components2/search/index.ts | 2 +- src/assets/javascripts/components2/search/result/index.ts | 2 +- src/assets/javascripts/observables/search/result/index.ts | 2 +- src/assets/javascripts/templates/search/index.tsx | 2 +- tsconfig.json | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/assets/javascripts/components2/search/index.ts b/src/assets/javascripts/components2/search/index.ts index 7bbf64d72..eb91b2da4 100644 --- a/src/assets/javascripts/components2/search/index.ts +++ b/src/assets/javascripts/components2/search/index.ts @@ -23,7 +23,7 @@ import { Observable, OperatorFunction, combineLatest, pipe } from "rxjs" import { map, shareReplay, switchMap } from "rxjs/operators" -import { SearchResult } from "integrations" +import { SearchResult } from "integrations/search" import { Key, SearchQuery, diff --git a/src/assets/javascripts/components2/search/result/index.ts b/src/assets/javascripts/components2/search/result/index.ts index cfbbb2a8f..7e27d325a 100644 --- a/src/assets/javascripts/components2/search/result/index.ts +++ b/src/assets/javascripts/components2/search/result/index.ts @@ -33,7 +33,7 @@ import { } from "rxjs/operators" import { setToggle } from "actions" -import { SearchResult } from "integrations" +import { SearchResult } from "integrations/search" import { Key, SearchQuery, diff --git a/src/assets/javascripts/observables/search/result/index.ts b/src/assets/javascripts/observables/search/result/index.ts index 361130a7b..896eff2b4 100644 --- a/src/assets/javascripts/observables/search/result/index.ts +++ b/src/assets/javascripts/observables/search/result/index.ts @@ -42,7 +42,7 @@ import { resetSearchResultMeta, setSearchResultMeta } from "actions" -import { SearchResult } from "integrations" +import { SearchResult } from "integrations/search" import { renderSearchResult } from "templates" import { getElementOrThrow } from "../../agent" diff --git a/src/assets/javascripts/templates/search/index.tsx b/src/assets/javascripts/templates/search/index.tsx index 293b55092..466277d57 100644 --- a/src/assets/javascripts/templates/search/index.tsx +++ b/src/assets/javascripts/templates/search/index.tsx @@ -20,7 +20,7 @@ * IN THE SOFTWARE. */ -import { SearchResult } from "integrations" +import { SearchResult } from "integrations/search" import { h, truncate } from "utilities" /* ---------------------------------------------------------------------------- diff --git a/tsconfig.json b/tsconfig.json index 9f0171add..27e05de39 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -24,7 +24,7 @@ "paths": { "actions": ["actions"], "components": ["components"], - "integrations": ["integrations"], + "integrations/*": ["integrations/*"], "observables": ["observables"], "patches": ["patches"], "templates": ["templates"],