Skip to content

Commit f8e8d75

Browse files
committed
Minor rearrangements
1 parent 46114f0 commit f8e8d75

File tree

5 files changed

+4
-4
lines changed

5 files changed

+4
-4
lines changed
File renamed without changes.

ai-assistant/src/commands/FindSimilar.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ import {
88
ISlashCommand,
99
SlashCommandContext,
1010
} from "@rocket.chat/apps-engine/definition/slashcommands";
11-
import { findSimilarModal } from "../modals/findSimilarModal";
1211
import { persistUIData } from "../utils/persistenceHandlers";
12+
import { findSimilarModal } from "./FindSimilar.modal";
1313

1414
export class FindSimilarCommand implements ISlashCommand {
1515
public command = "rcc-findsimilar";
File renamed without changes.

ai-assistant/src/commands/ImproveCommand.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ import {
88
ISlashCommand,
99
SlashCommandContext,
1010
} from "@rocket.chat/apps-engine/definition/slashcommands";
11-
import { improveModal } from "../modals/improveModal";
1211
import { persistUIData } from "../utils/persistenceHandlers";
12+
import { improveModal } from "./ImproveCommand.modal";
1313

1414
export class ImproveCommand implements ISlashCommand {
1515
public command = "rcc-improve";

ai-assistant/src/utils/handleModalViewSubmit.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,11 @@ import { UIKitViewSubmitInteractionContext } from "@rocket.chat/apps-engine/defi
99
import {
1010
FIND_SIMILAR_COMMAND_MODAL,
1111
findSimilarModalSubmitHandler,
12-
} from "../modals/findSimilarModal";
12+
} from "../commands/FindSimilar.modal";
1313
import {
1414
IMPROVE_COMMAND_MODAL,
1515
improveModalSubmitHandler,
16-
} from "../modals/improveModal";
16+
} from "../commands/ImproveCommand.modal";
1717
import { getUIData } from "./persistenceHandlers";
1818

1919
const MODALS: Record<string, any> = {

0 commit comments

Comments
 (0)