From 8dcbbf2e84de72f2fac0d6fe70addc5bfe4b0dee Mon Sep 17 00:00:00 2001 From: squidfunk Date: Fri, 14 Feb 2020 12:33:15 +0100 Subject: [PATCH] Renamed modules into integrations --- src/assets/javascripts/components2/search/index.ts | 2 +- src/assets/javascripts/components2/search/result/index.ts | 2 +- src/assets/javascripts/{modules => integrations}/index.ts | 0 .../javascripts/{modules => integrations}/search/_/index.ts | 0 .../{modules => integrations}/search/document/index.ts | 0 .../{modules => integrations}/search/highlight/index.ts | 0 .../javascripts/{modules => integrations}/search/index.ts | 0 .../{modules => integrations}/source/github/index.ts | 0 src/assets/javascripts/observables/search/result/index.ts | 2 +- src/assets/javascripts/templates/search/index.tsx | 2 +- src/assets/javascripts/workers/search/_/index.ts | 2 +- src/assets/javascripts/workers/search/main/index.ts | 2 +- src/assets/javascripts/workers/search/message/index.ts | 2 +- tsconfig.json | 3 ++- 14 files changed, 9 insertions(+), 8 deletions(-) rename src/assets/javascripts/{modules => integrations}/index.ts (100%) rename src/assets/javascripts/{modules => integrations}/search/_/index.ts (100%) rename src/assets/javascripts/{modules => integrations}/search/document/index.ts (100%) rename src/assets/javascripts/{modules => integrations}/search/highlight/index.ts (100%) rename src/assets/javascripts/{modules => integrations}/search/index.ts (100%) rename src/assets/javascripts/{modules => integrations}/source/github/index.ts (100%) diff --git a/src/assets/javascripts/components2/search/index.ts b/src/assets/javascripts/components2/search/index.ts index 1d6e41144..7bbf64d72 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 "modules" +import { SearchResult } from "integrations" import { Key, SearchQuery, diff --git a/src/assets/javascripts/components2/search/result/index.ts b/src/assets/javascripts/components2/search/result/index.ts index cda6473bd..cfbbb2a8f 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 "modules" +import { SearchResult } from "integrations" import { Key, SearchQuery, diff --git a/src/assets/javascripts/modules/index.ts b/src/assets/javascripts/integrations/index.ts similarity index 100% rename from src/assets/javascripts/modules/index.ts rename to src/assets/javascripts/integrations/index.ts diff --git a/src/assets/javascripts/modules/search/_/index.ts b/src/assets/javascripts/integrations/search/_/index.ts similarity index 100% rename from src/assets/javascripts/modules/search/_/index.ts rename to src/assets/javascripts/integrations/search/_/index.ts diff --git a/src/assets/javascripts/modules/search/document/index.ts b/src/assets/javascripts/integrations/search/document/index.ts similarity index 100% rename from src/assets/javascripts/modules/search/document/index.ts rename to src/assets/javascripts/integrations/search/document/index.ts diff --git a/src/assets/javascripts/modules/search/highlight/index.ts b/src/assets/javascripts/integrations/search/highlight/index.ts similarity index 100% rename from src/assets/javascripts/modules/search/highlight/index.ts rename to src/assets/javascripts/integrations/search/highlight/index.ts diff --git a/src/assets/javascripts/modules/search/index.ts b/src/assets/javascripts/integrations/search/index.ts similarity index 100% rename from src/assets/javascripts/modules/search/index.ts rename to src/assets/javascripts/integrations/search/index.ts diff --git a/src/assets/javascripts/modules/source/github/index.ts b/src/assets/javascripts/integrations/source/github/index.ts similarity index 100% rename from src/assets/javascripts/modules/source/github/index.ts rename to src/assets/javascripts/integrations/source/github/index.ts diff --git a/src/assets/javascripts/observables/search/result/index.ts b/src/assets/javascripts/observables/search/result/index.ts index 410f4bbcb..361130a7b 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 "modules" +import { SearchResult } from "integrations" 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 47851f72b..293b55092 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 "modules" +import { SearchResult } from "integrations" import { h, truncate } from "utilities" /* ---------------------------------------------------------------------------- diff --git a/src/assets/javascripts/workers/search/_/index.ts b/src/assets/javascripts/workers/search/_/index.ts index 9e8fcc9a8..2138c8fed 100644 --- a/src/assets/javascripts/workers/search/_/index.ts +++ b/src/assets/javascripts/workers/search/_/index.ts @@ -24,7 +24,7 @@ import { Subject } from "rxjs" import { ajax } from "rxjs/ajax" import { map, pluck } from "rxjs/operators" -import { SearchIndexOptions } from "modules" +import { SearchIndexOptions } from "integrations" import { WorkerHandler, watchWorker } from "observables" import { diff --git a/src/assets/javascripts/workers/search/main/index.ts b/src/assets/javascripts/workers/search/main/index.ts index 5279e6edf..f17f1831f 100644 --- a/src/assets/javascripts/workers/search/main/index.ts +++ b/src/assets/javascripts/workers/search/main/index.ts @@ -20,7 +20,7 @@ * IN THE SOFTWARE. */ -import { SearchIndex, SearchIndexConfig } from "modules" +import { SearchIndex, SearchIndexConfig } from "integrations" import { SearchMessage, SearchMessageType } from "../message" diff --git a/src/assets/javascripts/workers/search/message/index.ts b/src/assets/javascripts/workers/search/message/index.ts index e5c6bd7ce..fefd4c465 100644 --- a/src/assets/javascripts/workers/search/message/index.ts +++ b/src/assets/javascripts/workers/search/message/index.ts @@ -20,7 +20,7 @@ * IN THE SOFTWARE. */ -import { SearchIndexOptions, SearchResult } from "modules" +import { SearchIndexOptions, SearchResult } from "integrations" /* ---------------------------------------------------------------------------- * Types diff --git a/tsconfig.json b/tsconfig.json index 5c331adda..9f0171add 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -24,8 +24,9 @@ "paths": { "actions": ["actions"], "components": ["components"], - "modules": ["modules"], + "integrations": ["integrations"], "observables": ["observables"], + "patches": ["patches"], "templates": ["templates"], "utilities": ["utilities"], "workers": ["workers"]