prettier/tests/graphql_interface/object_type_def.graphql

23 lines
497 B
GraphQL

type Artist implements Node & Entity {
# The ID of an object
id: ID!
# The MBID of the entity.
mbid: MBID!
# A list of recordings linked to this entity.
recordings(after: String, first: Int): RecordingConnection
# A list of releases linked to this entity.
releases(
# Filter by one or more release group types.
type: [ReleaseGroupType]
# Filter by one or more release statuses.
status: [ReleaseStatus]
after: String
first: Int
): ReleaseConnection
}