Commit Graph

20 Commits

Author SHA1 Message Date
rijkvanzanten
801e868554 Fix remaining eslint errors
h/t @paescuj
2021-04-29 15:55:12 -04:00
Rijk van Zanten
f90c31b798 GraphQL 2.0 (#4625)
* Start on GraphQL "2.0", add methodnotallowed exceptoin

* Fix relative file pointer in peer dep

* [WIP] Add pre-filtered schema to SchemaOverview

* Use root schema as is, add reduce-schema util

* Use reduceSchema in the wild

* Base schema on local reduced schema

* Remove todo

* Use graphql-compose to build out schema

* Start restructuring resolvers

* Add create mutation

* Return boolean true for empty create mutation selections

* Add update mutation

* Add delete mutation

* Add system/items scoping

* Fix merge conflicts for real now

* Use system services, rename ids->keys

* Start on docs on mutations

* Updates to match main

* Add fetch-by-id

* Add one/many resolvers for mutations

* Check system collection rows for singleton

* Fix resolver extraction for single read

* Share delete return type

* Add comments

* Use collection root name for readable type

* Add specs endpoint for GraphQL SDL

* Update docs

* Add note on SDL spec

* Fix delete single example

* Remove package-lock

* Fix collection read scoping in non-read
2021-03-30 17:06:35 -04:00
rijkvanzanten
178e91106b Remove unused imports 2021-01-12 16:15:44 -05:00
rijkvanzanten
6b029b416b iRemove imported types that aren't needed 2021-01-12 16:11:08 -05:00
WoLfulus
c5f3802da3 Replace express-async-handler for a local function. 2020-12-22 17:11:08 -03:00
rijkvanzanten
9974cb6050 Add health endpoint 2020-12-21 15:22:39 -05:00
rijkvanzanten
8cbdfb409b Use prefetched schema info 2020-11-09 17:13:48 -05:00
rijkvanzanten
b4f82efcee Return project branding in /server/info endpoint at all times 2020-10-26 18:52:51 +01:00
rijkvanzanten
da0b97abd5 Add detailed stack info in error report button
Closes #577
2020-10-14 18:31:13 -04:00
rijkvanzanten
e1be24832a Cleanup spec service 2020-10-06 15:41:08 -04:00
Nitwel
8ae6afb4da fix endpoint not found 2020-10-05 10:42:00 +02:00
Nitwel
bc6582186f Merge branch 'main' into api-reference 2020-10-05 10:21:10 +02:00
Nitwel
af30a692b5 change way of responding 2020-10-05 10:05:00 +02:00
Nitwel
6e3841d69d add own api to servers 2020-10-05 10:02:10 +02:00
rijkvanzanten
eeedc01c53 Add /utils/revert, use in app
Fixes #485
2020-10-02 16:20:06 -04:00
Nitwel
5b936eaf4e add basic structure 2020-09-29 21:25:59 +02:00
rijkvanzanten
48fca55651 Restructure exports for services 2020-09-22 13:16:14 -04:00
rijkvanzanten
b19ffd960b Add response middleware and cache 2020-09-08 18:28:23 -04:00
rijkvanzanten
d7d3de86d2 Add server service, update returned info 2020-09-01 13:08:52 -04:00
rijkvanzanten
c2b6b2a090 Rename routes to controllers 2020-08-15 16:56:45 -06:00