Changeset 68d02ca for src/Clients/Angular/finki-chattery/src/app/core/state/question-state/question.actions.ts
- Timestamp:
- 11/04/21 22:09:29 (3 years ago)
- Branches:
- dev
- Children:
- dd264cb
- Parents:
- 91bfcf4
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/Clients/Angular/finki-chattery/src/app/core/state/question-state/question.actions.ts
r91bfcf4 r68d02ca 3 3 4 4 import { 5 AnswerResponseQuestionStateViewModel, 5 6 PreviewQuestionViewModel, 6 7 QuestionStateViewModel, … … 13 14 GetQuestionState = '[Question] Get state', 14 15 GetQuestionStateSuccess = '[Question] Get state success', 16 RespondToAnswer = '[Question] RespondToAnswer', 17 RespondToAnswerSuccess = '[Question] RespondToAnswer success', 15 18 SetCorrectAnswer = '[Question] Set Correct Answer', 16 19 SetCorrectAnswerSuccess = '[Question] Set Correct Answer success', … … 100 103 } 101 104 105 export class RespondToAnswer implements Action { 106 readonly type = QuestionActionTypes.RespondToAnswer; 107 108 constructor(public questionUid: string, public answerUid: string, public text: string) {} 109 } 110 111 export class RespondToAnswerSuccess implements Action { 112 readonly type = QuestionActionTypes.RespondToAnswerSuccess; 113 114 constructor(public payload: AnswerResponseQuestionStateViewModel, public answerUid: string) {} 115 } 116 102 117 export class EffectStartedWorking implements Action { 103 118 readonly type = QuestionActionTypes.EffectStartedWorking; … … 125 140 | VoteAnswerSuccess 126 141 | SetCorrectAnswerSuccess 142 | RespondToAnswerSuccess 127 143 | EffectStartedWorking 128 144 | EffectFinishedWorking
Note:
See TracChangeset
for help on using the changeset viewer.