refactor(chat): reorganize helper functions and update imports

This commit is contained in:
2026-07-15 10:59:23 +08:00
parent 2b90f90ab0
commit ed3e800245
20 changed files with 27 additions and 29 deletions
+2 -2
View File
@@ -1,11 +1,11 @@
import { type DoneActorEvent } from "xstate";
import { applyPromotionUnlockOutput } from "../helper/promotion";
import {
applyPromotionUnlockOutput,
applySingleUnlockOutput,
countLockedHistoryMessages,
type UnlockMessageOutput,
} from "../chat-machine.helpers";
} from "../helper/unlock";
import type { UnlockHistoryOutput } from "./actors/unlock";
import { sendMachineSetup } from "./send-flow";
import { createChatActorActionSetup } from "./setup";