Switch the All GSP forecast route to use the compact flag and corresponding object structure; this should speed up the API responses and reduce the size of returned data that we use in the app.
Also adds generated types for the Quartz API, which command to re-generate on future changes to the schema.
Fixes #407
Fixes #414
How Has This Been Tested?
Locally, and unit test added using Jest library for updated rounding function; will allow unit testing of small utils etc. going forward
[x] Yes
If your changes affect data processing, have you plotted any changes? i.e. have you done a quick sanity check?
Pull Request
Description
Switch the All GSP forecast route to use the
compact
flag and corresponding object structure; this should speed up the API responses and reduce the size of returned data that we use in the app.Also adds generated types for the Quartz API, which command to re-generate on future changes to the schema.
Fixes #407 Fixes #414
How Has This Been Tested?
Locally, and unit test added using Jest library for updated rounding function; will allow unit testing of small utils etc. going forward
If your changes affect data processing, have you plotted any changes? i.e. have you done a quick sanity check?
Checklist: