diff options
| author | Georgios Andreadis <info@gandreadis.com> | 2020-07-20 12:44:04 +0200 |
|---|---|---|
| committer | Fabian Mastenbroek <mail.fabianm@gmail.com> | 2020-08-24 19:48:12 +0200 |
| commit | 53e60ccf0636e0076837d66a7dbea527e3b6e98d (patch) | |
| tree | 041f83ae919d7ee9b5691a1666dbb61af26967d0 /frontend/src/shapes | |
| parent | d8479e7e3744b8d1d31ac4d9f972e560eacd2cf8 (diff) | |
| parent | 2a5f50e591f5e9c1da5db2f2011c779a88121675 (diff) | |
Merge pull request #9 from atlarge-research/feat/opendc-node
Add simulator integration
Diffstat (limited to 'frontend/src/shapes')
| -rw-r--r-- | frontend/src/shapes/index.js | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/frontend/src/shapes/index.js b/frontend/src/shapes/index.js index 32914f25..8296055a 100644 --- a/frontend/src/shapes/index.js +++ b/frontend/src/shapes/index.js @@ -111,7 +111,9 @@ Shapes.Scenario = PropTypes.shape({ _id: PropTypes.string.isRequired, portfolioId: PropTypes.string.isRequired, name: PropTypes.string.isRequired, - simulationState: PropTypes.string.isRequired, + simulation: PropTypes.shape({ + state: PropTypes.string.isRequired, + }).isRequired, trace: PropTypes.shape({ traceId: PropTypes.string.isRequired, trace: Shapes.Trace, |
