diff --git a/src/lib/QueryRendererHelper.ts b/src/Query/QueryRendererHelper.ts similarity index 96% rename from src/lib/QueryRendererHelper.ts rename to src/Query/QueryRendererHelper.ts index 437a397c7c..d61b8418aa 100644 --- a/src/lib/QueryRendererHelper.ts +++ b/src/Query/QueryRendererHelper.ts @@ -1,8 +1,8 @@ import type { GlobalFilter } from '../Config/GlobalFilter'; import type { GlobalQuery } from '../Config/GlobalQuery'; -import { Query } from '../Query/Query'; -import { Explainer } from '../Query/Explain/Explainer'; import type { OptionalTasksFile } from '../Scripting/TasksFile'; +import { Query } from './Query'; +import { Explainer } from './Explain/Explainer'; /** * @summary diff --git a/src/Renderer/QueryRenderer.ts b/src/Renderer/QueryRenderer.ts index 27850c7908..756aa4dbe3 100644 --- a/src/Renderer/QueryRenderer.ts +++ b/src/Renderer/QueryRenderer.ts @@ -1,7 +1,7 @@ import { type EventRef, type MarkdownPostProcessorContext, MarkdownRenderChild, MarkdownRenderer } from 'obsidian'; import { App, Keymap } from 'obsidian'; import { GlobalQuery } from '../Config/GlobalQuery'; -import { getQueryForQueryRenderer } from '../lib/QueryRendererHelper'; +import { getQueryForQueryRenderer } from '../Query/QueryRendererHelper'; import type TasksPlugin from '../main'; import type { State } from '../Obsidian/Cache'; import { getTaskLineAndFile, replaceTaskWithTasks } from '../Obsidian/File'; diff --git a/src/Renderer/QueryResultsRenderer.ts b/src/Renderer/QueryResultsRenderer.ts index f98cfe6b2a..e140540c2b 100644 --- a/src/Renderer/QueryResultsRenderer.ts +++ b/src/Renderer/QueryResultsRenderer.ts @@ -6,7 +6,7 @@ import type { IQuery } from '../IQuery'; import { QueryLayout } from '../Layout/QueryLayout'; import { TaskLayout } from '../Layout/TaskLayout'; import { PerformanceTracker } from '../lib/PerformanceTracker'; -import { explainResults, getQueryForQueryRenderer } from '../lib/QueryRendererHelper'; +import { explainResults, getQueryForQueryRenderer } from '../Query/QueryRendererHelper'; import { State } from '../Obsidian/Cache'; import type { GroupDisplayHeading } from '../Query/Group/GroupDisplayHeading'; import type { TaskGroups } from '../Query/Group/TaskGroups'; diff --git a/tests/Query/QueryRendererHelper.test.ts b/tests/Query/QueryRendererHelper.test.ts index 3092b99595..8e7475ddf4 100644 --- a/tests/Query/QueryRendererHelper.test.ts +++ b/tests/Query/QueryRendererHelper.test.ts @@ -3,7 +3,7 @@ */ import moment from 'moment'; import { Query } from '../../src/Query/Query'; -import { explainResults, getQueryForQueryRenderer } from '../../src/lib/QueryRendererHelper'; +import { explainResults, getQueryForQueryRenderer } from '../../src/Query/QueryRendererHelper'; import { GlobalFilter } from '../../src/Config/GlobalFilter'; import { GlobalQuery } from '../../src/Config/GlobalQuery'; import { TasksFile } from '../../src/Scripting/TasksFile'; diff --git a/tests/TestingTools/ApprovalTestHelpers.ts b/tests/TestingTools/ApprovalTestHelpers.ts index 1dc497eafb..646f8e3205 100644 --- a/tests/TestingTools/ApprovalTestHelpers.ts +++ b/tests/TestingTools/ApprovalTestHelpers.ts @@ -3,7 +3,7 @@ import { verify } from 'approvals/lib/Providers/Jest/JestApprovals'; import type { GlobalFilter } from '../../src/Config/GlobalFilter'; import type { GlobalQuery } from '../../src/Config/GlobalQuery'; import { Query } from '../../src/Query/Query'; -import { explainResults } from '../../src/lib/QueryRendererHelper'; +import { explainResults } from '../../src/Query/QueryRendererHelper'; import type { Task } from '../../src/Task/Task'; import { TasksFile } from '../../src/Scripting/TasksFile'; import { verifyMarkdown } from './VerifyMarkdown';