모든 프로젝트 1차 병합 .
This commit is contained in:
1 parent
b65de5a5f2
commit
c3d96fb7d3
4 files changed
+160
-9
No files matched your search
@@ -4,6 +4,7 @@ import type { ApiResult } from '@/apis/types'
|
||||
import type {
|
||||
ChatInitData,
|
||||
ChatMessage,
|
||||
ChatSummary,
|
||||
NextInputMode,
|
||||
UserInputType,
|
||||
} from '@/features/chat/types'
|
||||
@@ -23,6 +24,7 @@ export interface ChatMessageWire {
|
||||
chat_end?: boolean
|
||||
indicator_value?: number | null
|
||||
bot_chat_type?: string | null
|
||||
summary?: ChatSummary | null
|
||||
}
|
||||
|
||||
export interface ChatInitResponse {
|
||||
@@ -75,7 +77,7 @@ export function mapMessage(w: ChatMessageWire): ChatMessage {
|
||||
next_input_type: w.next_input_type ?? null,
|
||||
step: w.step ?? '',
|
||||
display_step: w.display_step ?? '',
|
||||
summary: null, // (범위 외) 최종 요약 카드는 추후
|
||||
summary: w.summary ?? null, // 종료 스텝(협상완료/결과안내)에서 백엔드가 채워 내려줌
|
||||
indicator_value: w.indicator_value ?? null,
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user