adds conversation slice and acomoddates conversation component with the

data types
This commit is contained in:
ajaythapliyal
2023-02-19 10:36:26 +05:30
parent d20b5f3e09
commit 5b456cda16
4 changed files with 34 additions and 30 deletions

View File

@@ -0,0 +1,10 @@
export type MESSAGE_TYPE = 'QUESTION' | 'ANSWER';
export interface Message {
text: string;
type: MESSAGE_TYPE;
}
export interface ConversationState {
conversation: Message[];
}