graphbrainz/src/types/release-event.js
2016-11-26 02:37:23 -08:00

13 lines
415 B
JavaScript

import { GraphQLObjectType } from 'graphql/type'
import { DateType } from './scalars'
import Area from './area'
export default new GraphQLObjectType({
name: 'ReleaseEvent',
description: `Date on which a release was issued in a country/region with a
particular label, catalog number, barcode, and what release format was used.`,
fields: () => ({
area: { type: Area },
date: { type: DateType }
})
})