graphbrainz/src/types/release-event.js

14 lines
415 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',
2016-11-26 10:37:23 +00:00
description: `Date on which a release was issued in a country/region with a
2016-11-26 01:38:32 +00:00
particular label, catalog number, barcode, and what release format was used.`,
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 }
})
})