murashit_codex-panel/src/features/chat/user-input/drafts.ts
2026-05-29 07:26:35 +09:00

9 lines
357 B
TypeScript

import type { RequestId } from "../../../generated/app-server/RequestId";
export function userInputDraftKey(requestId: RequestId, questionId: string): string {
return `${String(requestId)}:${questionId}`;
}
export function userInputOtherDraftKey(requestId: RequestId, questionId: string): string {
return `${String(requestId)}:${questionId}:other`;
}