colouring-montreal/app
mz8i c63f42f921
Refactor types and await for user/building backend (#476)
* Refactor buildings API for async/await, types

* Return building data after update

* Refactor users API for await, TS types

* Refactor building service to remove repetition

As part of this refactor, these changes in functionality were made:
- tx isolation lvl for save/like/unlike building is always serializable
- both reverse and forward patch updated for like/unlike
- comparing old and new data uses == instead of ===
 (this is because the new data even for numbers comes in as string)
- the checking of no data change in case of building unlike was fixed
 (didn't work because it re-used code for like which is different)

* Improve param order, docs for updateBuildingData
2019-10-21 15:19:35 +01:00
..
map_styles Activate type category and colour map (#446) 2019-10-02 14:34:44 +01:00
public Add square logo for social sharing image 2019-10-03 13:19:44 +01:00
src Refactor types and await for user/building backend (#476) 2019-10-21 15:19:35 +01:00
.eslintignore Configure eslint 2019-05-27 16:13:11 +01:00
.eslintrc Lint prefer-const 2019-05-27 18:35:12 +01:00
.gitignore Merge frontend/api into universal react app 2018-09-09 22:22:44 +01:00
package-lock.json Merge pull request #423 from mz8i/feature/tile-server-refactor 2019-09-30 14:29:21 +01:00
package.json Merge pull request #423 from mz8i/feature/tile-server-refactor 2019-09-30 14:29:21 +01:00
razzle.config.js Setup TS build (failing), rename files to .ts/.tsx 2019-08-09 15:44:11 +01:00
tsconfig.json Fix ES to TS module import errors 2019-08-12 10:24:38 +01:00
tslint.json Add first TSLint rule 2019-08-29 17:54:50 +01:00