From 49156a4f0dd168103ff57169c2ec7dff7cd94038 Mon Sep 17 00:00:00 2001 From: Eva Date: Mon, 5 Feb 2024 23:00:51 -0500 Subject: [PATCH] review changes --- .../assets/scripts/MappingFileEditor/MappingFileEditor.ts | 5 ++--- ...MappingObjectDocumentType.ts => MappingObjectDocument.ts} | 0 .../src/assets/scripts/MappingFileEditor/index.ts | 2 +- 3 files changed, 3 insertions(+), 4 deletions(-) rename src/mappings_editor/src/assets/scripts/MappingFileEditor/{MappingObjectDocumentType.ts => MappingObjectDocument.ts} (100%) 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