Commit Graph

24 Commits

Author SHA1 Message Date
Andrew Kingston 13c3390da5 Invalidate cached API responses when bad response statuses are recevied and invalidate entire API cache when switching role 2022-06-09 15:33:41 +01:00
Rory Powell bf9f5488fc Merge branch 'develop' into feature/licensing 2022-03-21 17:13:16 +00:00
Rory Powell ccf2fe3d01 Self Host <-> Licensing integration 2022-03-09 21:16:22 +00:00
mike12345567 788cb19fa8 Moving APIs around after some discussion, creating a self API to make it obvious. 2022-02-10 18:34:55 +00:00
Andrew Kingston 7c669459b4 Disable API caching by default and deep clone data fetch config to avoid direct mutation side effects 2022-01-26 17:44:14 +00:00
Andrew Kingston 5b2b3e9add Remove built-in patch functionality from core API client and instead manually patch client library API endpoints 2022-01-25 19:22:43 +00:00
Andrew Kingston fee24a83ad Fix JSON content missing from handled API errors 2022-01-25 08:25:16 +00:00
Andrew Kingston 58c5493ed3 Fix custom API response parsing not working 2022-01-25 08:10:49 +00:00
Andrew Kingston 41514260be Remove log 2022-01-24 19:15:06 +00:00
Andrew Kingston 492ea41536 Include missing layout endpoints 2022-01-24 16:50:33 +00:00
Andrew Kingston c7877055a5 Move API client in builder to top level under src and fix some endpoints not being imported 2022-01-24 16:38:36 +00:00
Andrew Kingston e0cb60d011 Update remaining builder stores to use new core API and handle errors properly 2022-01-24 14:32:27 +00:00
Andrew Kingston db30c91a0b Refactor all backend stores and their usages to use new core API and handle errors 2022-01-24 12:37:22 +00:00
Andrew Kingston 09ac8408f2 Update all API usages in builder components directory 2022-01-24 10:44:37 +00:00
Andrew Kingston ca6fa1334a Add lots more work on refactoring builder to use core API 2022-01-21 15:09:27 +00:00
Andrew Kingston 1f22b4ecfe Add more work on API refactor in builder 2022-01-21 09:10:59 +00:00
Andrew Kingston 2e73a693db Update parts of builder with core API refactor 2022-01-20 18:42:30 +00:00
Andrew Kingston 55f07340e9 Add URL to error objects 2022-01-20 14:27:43 +00:00
Andrew Kingston 78a36ca988 Tidy core API client 2022-01-20 13:55:07 +00:00
Andrew Kingston 4be465cf5a Extract error mesages better when throwing errors in core api client 2022-01-20 13:37:06 +00:00
Andrew Kingston d0b645cf6e Fix recursion issue with applying API method patches 2022-01-20 11:26:43 +00:00
Andrew Kingston e3b8e44eeb Update remaining dependency issues in client 2022-01-20 10:16:13 +00:00
Andrew Kingston fd9c5d6c0b Add core API implementation and update most of client library to use it 2022-01-20 09:40:53 +00:00
Andrew Kingston 919e31d216 Add initial work on frontend-core refactor 2022-01-18 09:39:19 +00:00