(action: ActionInitOpt)
| 110 | } |
| 111 | |
| 112 | append(action: ActionInitOpt) { |
| 113 | if (!action.actionType) { |
| 114 | action.actionType = action.type; |
| 115 | } |
| 116 | if (this.actions.has(action.id)) { |
| 117 | throw "duplicated action id"; |
| 118 | } |
| 119 | this.actions.set(action.id, action as ActionView); |
| 120 | } |
| 121 | |
| 122 | init() { |
| 123 | const config = this.config; |
no test coverage detected