mirror of
https://github.com/BradNut/graphbrainz
synced 2025-09-08 17:40:32 +00:00
16 lines
440 B
JavaScript
16 lines
440 B
JavaScript
|
|
import { GraphQLObjectType } from 'graphql/type'
|
||
|
|
import DateType from './date'
|
||
|
|
import AreaType from './area'
|
||
|
|
|
||
|
|
export default new GraphQLObjectType({
|
||
|
|
name: 'ReleaseEvent',
|
||
|
|
description:
|
||
|
|
'Date on which a release was released in a country/region with a ' +
|
||
|
|
'particular label, catalog number, barcode, and what release format ' +
|
||
|
|
'was used.',
|
||
|
|
fields: () => ({
|
||
|
|
area: { type: AreaType },
|
||
|
|
date: { type: DateType }
|
||
|
|
})
|
||
|
|
})
|