(parent?: Context)
| 12 | parent?: Context; |
| 13 | |
| 14 | constructor(parent?: Context) { |
| 15 | this.conversation = []; |
| 16 | this.parent = parent; |
| 17 | this.state = { |
| 18 | preferences: this.getDefaultPreferences(), |
| 19 | auth: {}, |
| 20 | collected_info: {}, |
| 21 | previous_actions: [], |
| 22 | resources: {}, |
| 23 | memory: {} |
| 24 | }; |
| 25 | } |
| 26 | |
| 27 | private getDefaultPreferences(): UserPreferences { |
| 28 | return { |
nothing calls this directly
no test coverage detected