We should add the npm package http-status-ts to the app and use it's http code enum rather than hard-coding http codes like 404, 200, 400, 422, etc., everywhere. The main use case for this is on the backend handling the various routes, but I believe there's a few other cases scattered about, such as in the OnshapeApi classes.
We should add the npm package http-status-ts to the app and use it's http code enum rather than hard-coding http codes like 404, 200, 400, 422, etc., everywhere. The main use case for this is on the backend handling the various routes, but I believe there's a few other cases scattered about, such as in the OnshapeApi classes.