diff --git a/src/mappings_editor/src/assets/scripts/MappingFileEditor/MappingFileEditor.ts b/src/mappings_editor/src/assets/scripts/MappingFileEditor/MappingFileEditor.ts index e6667fd..6de4fab 100644 --- a/src/mappings_editor/src/assets/scripts/MappingFileEditor/MappingFileEditor.ts +++ b/src/mappings_editor/src/assets/scripts/MappingFileEditor/MappingFileEditor.ts @@ -15,7 +15,7 @@ import { StringProperty, } from "../MappingFile"; import FlexSearch from "flexsearch"; -import type { MappingObjectDocument } from "./MappingObjectDocumentType"; +import type { MappingObjectDocument } from "./MappingObjectDocument"; export class MappingFileEditor extends EventEmitter { /** @@ -46,8 +46,7 @@ export class MappingFileEditor extends EventEmitter { /** * The editor's search index. */ - public searchIndex: MappingObjectDocument; - + public searchIndex: Document; /** * The editor's undo stack. */ diff --git a/src/mappings_editor/src/assets/scripts/MappingFileEditor/MappingObjectDocumentType.ts b/src/mappings_editor/src/assets/scripts/MappingFileEditor/MappingObjectDocument.ts similarity index 100% rename from src/mappings_editor/src/assets/scripts/MappingFileEditor/MappingObjectDocumentType.ts rename to src/mappings_editor/src/assets/scripts/MappingFileEditor/MappingObjectDocument.ts diff --git a/src/mappings_editor/src/assets/scripts/MappingFileEditor/index.ts b/src/mappings_editor/src/assets/scripts/MappingFileEditor/index.ts index 537b5e5..b928413 100644 --- a/src/mappings_editor/src/assets/scripts/MappingFileEditor/index.ts +++ b/src/mappings_editor/src/assets/scripts/MappingFileEditor/index.ts @@ -1,4 +1,4 @@ export * from "./EditorCommands"; export * from "./MappingFileView"; export * from "./MappingFileEditor"; -export * from "./MappingObjectDocumentType"; \ No newline at end of file +export * from "./MappingObjectDocument"; \ No newline at end of file