graphbrainz/src/types/release-event.js

14 lines
397 B
JavaScript
Raw Normal View History

2016-08-08 07:54:06 +00:00
import { GraphQLObjectType } from 'graphql/type'
2016-08-20 05:59:32 +00:00
import { DateType } from './scalars'
import Area from './area'
2016-08-08 07:54:06 +00:00
export default new GraphQLObjectType({
name: 'ReleaseEvent',
description: `The date on which a release was issued in a country/region with
a particular label, catalog number, barcode, and format.`,
2016-08-08 07:54:06 +00:00
fields: () => ({
2016-08-20 05:59:32 +00:00
area: { type: Area },
2016-08-08 07:54:06 +00:00
date: { type: DateType }
})
})