Commit graph

63 commits

Author SHA1 Message Date
Brian Beck
f095cd4de7
Modernize dependencies, syntax, imports (#93)
* wip: Modernize dependencies, syntax, imports

* Use final release of ava-nock v2

* Update Travis config

* Remove Node 13 from test matrix

* Replace errorClass with parseErrorMessage in subclasses

* define exports, apply updated lint rules

* Remove markdown eslint plugin

* Update README

* v9.0.0-beta.1

* Add gql tag to exports

* v9.0.0-beta.2

* Bump ava-nock, add test

* Update dataloader loadMany usage

* Add modules note to README

* Add retry option to got calls
2021-04-15 21:34:29 -07:00
Brian Beck
24d53d4687 Reset lockfile to fix event-stream npm removal 2021-04-10 11:37:01 -07:00
Brian Beck
cb2d2a1a3f
Media tracks (#87)
* Add support for getting tracks on release objects

* Fix track number type, update docs

* Stop snapshotting tracks query because it blows up AVA

* Fix lint issue
2018-09-16 21:53:15 -07:00
Brian Beck
50d3268366
Fix browse by ISRC and artistCredits (#86)
* Fix browse by ISRC and artist-credits subqueries

* Update test suite
2018-09-16 16:21:34 -07:00
Brian Beck
01ebffad01
Support fetching ISRCs for nested recording entites (#75) 2018-08-15 20:20:39 -07:00
Brian Beck
d3bb6d2484
Automatically fix some invalid/incomplete musicVideo URLs, return empty arrays instead of null for empty fanart.tv image lists (#73) 2018-08-10 18:56:16 -07:00
Brian Beck
3ed5ba12d7 Fix for missing albums property on fanart.tv artists 2018-08-09 01:04:46 -07:00
Brian Beck
9f0172ba9d
Bump dependencies, update schemas (#72) 2018-08-04 12:04:19 -07:00
Brian Beck
f425082758
Add support for retrieving ISO 3166-2 and ISO 3166-3 codes. (#53) 2017-11-23 12:43:40 -08:00
Brian Beck
14487a747e
Use graphql-tag on extension schemas to get syntax highlighting (#52)
* Use graphql-tag on extension schemas to get syntax highlighting

* Replace graphql-tag with a simple implementation that just uses graphq.parse()
2017-11-18 15:48:23 -08:00
Brian Beck
c3be2a2e98
More resolveType fixes, this time for Relay's nodeDefinitions (#51)
* More resolveType fixes, this time for Relay's nodeDefinitions

* Add a loadExtension helper

* Use createContext in test helpers
2017-11-18 00:35:28 -08:00
Brian Beck
2de2e60079
Fix resolveType after the schema has been extended (#50) 2017-11-17 22:34:46 -08:00
Brian Beck
8c0a9f44ef
Adopt Prettier (but keep Standard) via ESLint (#48) 2017-11-06 21:54:56 -08:00
Brian Beck
35f6cf63ea
Don't fail if no extensions are passed to createContext options (#47) 2017-11-05 11:59:39 -08:00
Brian Beck
75e24c18bc
Add missing Area type/typeID, pass start() options to middleware (#46) 2017-11-04 15:32:05 -07:00
Brian Beck
e77143fbd7
Bump deps, use latest updateSchema feature from graphql-markdown (#45)
* Bump deps, use latest updateSchema feature from graphql-markdown
2017-11-01 22:40:52 -07:00
Brian Beck
d2f4d118fc Add CORS support to the standalone server 2017-10-19 21:40:29 -07:00
Brian Beck
a3fc3e97af Fix Cover Art Archive config showing in MediaWiki extension docs 2017-10-19 08:36:33 -07:00
Brian Beck
51cc879363 Add missing description to MediaWikiImage 2017-10-19 01:45:34 -07:00
Brian Beck
898ec78a6f Add a schema extension API and several extensions (#42)
* Add a schema extension API and several extensions
* Update graphql-markdown to use new diffSchema function
* Update Node support
2017-10-19 01:00:21 -07:00
Brian Beck
b5d0dcce91 Add a nodes field to every connection (#41)
* Add a nodes field to every connection
* Document nodes field
2017-10-06 19:43:15 -07:00
Brian Beck
698ba58492 Bump deps and fix rating type (#38)
* Bump deps and fix rating type
* Add a new test macro, testThrows, due to GraphQL bug
2017-10-05 20:27:53 -07:00
Brian Beck
f6ca61233c Point package.json:bin at cli.js 2017-05-15 21:28:54 -07:00
Brian Beck
1d63867e07 Fix typo in cover art docs 2016-12-19 21:53:25 -08:00
Brian Beck
4cac7ac76c Add support for cover art via the Cover Art Archive (#17) 2016-12-19 21:21:07 -08:00
Brian Beck
35a1f0f86b Bump dependencies, tweak descriptions and field/arg order 2016-12-14 23:18:53 -08:00
Brian Beck
780596480a Add Disc type, lookup, and discs field on Media (#16)
* Add Disc type, lookup, and discs field on Media
* Remove query optimization so search subqueries work
2016-12-13 21:18:33 -08:00
Brian Beck
7d45b44cda Add ratings (#15) 2016-12-13 20:50:38 -08:00
Brian Beck
003585fb86 Fix beginArea description 2016-12-13 20:05:35 -08:00
Brian Beck
e27d08b171 Add more tests for scalars 2016-12-13 00:32:21 -08:00
Brian Beck
bb8f277c13 New relationship tests, rewrite test names 2016-12-12 23:25:23 -08:00
Brian Beck
6ae2fa259d Tweak collections field description, try codecov.io reporting 2016-12-12 09:43:17 -08:00
Brian Beck
d906ec1086 Add support for release media (#14) 2016-12-12 01:01:40 -08:00
Brian Beck
9601b400b5 Give every entity a collections field (#13) 2016-12-12 00:34:26 -08:00
Brian Beck
c2f7d9b836 Move relationship connection args to end 2016-12-12 00:02:58 -08:00
Brian Beck
8b8338b332 Add Node.resolveType tests 2016-12-11 21:56:28 -08:00
Brian Beck
441c9cd8b8 Reorder args so connection pagination args come last 2016-12-11 21:09:37 -08:00
Brian Beck
ef8e67c8a6 Add support for browsing and looking up collections (#12)
Fixes #6.
2016-12-11 20:03:05 -08:00
Brian Beck
0600c2026b Use Duration scalar for recording lengths (#11) 2016-12-11 16:12:54 -08:00
Brian Beck
01b305dd50 Support browsing by Disc ID, ISRC, ISWC (#10)
* Browse queries for releases, recordings, and works now support
  browsing by Disc ID, ISRC, and ISWC, respectively
* Add `DiscID`, `ISRC`, and `ISWC` scalars
* Add missing `isrcs` field to `Recording`

Fixes #7.
2016-12-11 13:09:28 -08:00
Brian Beck
b2ec20ed2c Rename artistCredit fields to artistCredits (#9)
* Rename artistCredit field to artistCredits
* Update deprecation rendering
2016-12-11 12:32:58 -08:00
Brian Beck
94cdf5922f Add list of IPIs and ISNIs to Artist 2016-12-10 09:51:33 -08:00
Brian Beck
325c6db0ce Add support for more MusicBrainz features, improve test coverage 2016-12-09 18:55:41 -08:00
Brian Beck
3252b52dc1 Add tests, fix cases where loaders are not passed params 2016-12-08 14:33:18 -08:00
Brian Beck
19e7f978eb Add new tests and coverage 2016-12-07 00:23:02 -08:00
Brian Beck
e5072de21a Update log messages 2016-12-02 23:59:19 -08:00
Brian Beck
6cb41e1ce0 Internal renames, update dependencies, add Travis config 2016-12-02 00:21:10 -08:00
Brian Beck
8eb0feaa8a Improve support for fragments 2016-11-29 23:53:01 -08:00
Brian Beck
2dfd2aa88d Add missing Oxford commas, add descriptions for enums, render interface fields 2016-11-29 18:18:50 -08:00
Brian Beck
bbfeb12c16 Correct alias description to match schema 2016-11-29 00:12:59 -08:00