Merged PR 185: Implement Messages
This commit is contained in:
parent
8a7196eeac
commit
e94671d1d8
15 changed files with 242 additions and 15 deletions
7
src/Interfaces/IGetFeedbackRequest.ts
Normal file
7
src/Interfaces/IGetFeedbackRequest.ts
Normal file
|
@ -0,0 +1,7 @@
|
|||
/* eslint-disable @typescript-eslint/naming-convention */
|
||||
import { IHistoryState } from './IHistoryState';
|
||||
|
||||
export interface IGetFeedbackRequest {
|
||||
/** Current application state */
|
||||
ApplicationState: IHistoryState
|
||||
}
|
7
src/Interfaces/IGetFeedbackResponse.ts
Normal file
7
src/Interfaces/IGetFeedbackResponse.ts
Normal file
|
@ -0,0 +1,7 @@
|
|||
/* eslint-disable @typescript-eslint/naming-convention */
|
||||
|
||||
import { IMessage } from './IMessage';
|
||||
|
||||
export interface IGetFeedbackResponse {
|
||||
messages: IMessage[]
|
||||
}
|
6
src/Interfaces/IMessage.ts
Normal file
6
src/Interfaces/IMessage.ts
Normal file
|
@ -0,0 +1,6 @@
|
|||
import { MessageType } from '../Enums/MessageType';
|
||||
|
||||
export interface IMessage {
|
||||
text: string
|
||||
type: MessageType
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue