From 9e4cd378ec41962b4f651ce9a8fac488c0e036ea Mon Sep 17 00:00:00 2001 From: AayushTyagi1 Date: Tue, 17 Oct 2023 16:25:14 +0530 Subject: [PATCH] DA#242: Added: Folder Structure Modified --- .../{export => tools/ddlExport}/ddlExport.ts | 14 +++++++------- src/extension.ts | 2 +- 2 files changed, 8 insertions(+), 8 deletions(-) rename src/commands/{export => tools/ddlExport}/ddlExport.ts (94%) diff --git a/src/commands/export/ddlExport.ts b/src/commands/tools/ddlExport/ddlExport.ts similarity index 94% rename from src/commands/export/ddlExport.ts rename to src/commands/tools/ddlExport/ddlExport.ts index 161b1869..c385fd83 100644 --- a/src/commands/export/ddlExport.ts +++ b/src/commands/tools/ddlExport/ddlExport.ts @@ -1,14 +1,14 @@ import * as vscode from "vscode"; import * as path from 'path'; -import { IConnection } from "../../types/IConnection"; -import { getActiveConnection } from "../../util/connections"; -import { logger } from "../../logger/logger"; -import { getLoader } from "../../webViews/loader.webview"; -import { ddlExportWebview } from "../../webViews/tools/ddlExport.webview"; +import { IConnection } from "../../../types/IConnection"; +import { getActiveConnection } from "../../../util/connections"; +import { logger } from "../../../logger/logger"; +import { getLoader } from "../../../webViews/loader.webview"; +import { ddlExportWebview } from "../../../webViews/tools/ddlExport.webview"; import { QueryIndex, ScopeSpec } from "couchbase"; -import { getCurrentDateTime } from "../../util/util"; +import { getCurrentDateTime } from "../../../util/util"; import * as fs from "fs"; -import { getIndexDefinition } from "../../util/indexUtils"; +import { getIndexDefinition } from "../../../util/indexUtils"; const validateFormData = (formData: any): string => { const errors = []; diff --git a/src/extension.ts b/src/extension.ts index 46a7be1b..2058e401 100644 --- a/src/extension.ts +++ b/src/extension.ts @@ -65,7 +65,7 @@ import { clearDocumentFilter } from "./commands/documents/clearDocumentFilter"; import { getClusterOverviewData } from "./util/OverviewClusterUtils/getOverviewClusterData"; import { checkAndCreatePrimaryIndex } from "./commands/indexes/checkAndCreatePrimaryIndex"; import { dataExport } from "./pages/Tools/DataExport/dataExport"; -import { ddlExport } from "./commands/export/ddlExport"; +import { ddlExport } from "./commands/tools/ddlExport/ddlExport"; export function activate(context: vscode.ExtensionContext) { Global.setState(context.globalState);