2017-06-28 05:30:58 +03:00
|
|
|
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
|
|
|
2018-07-03 09:06:29 +03:00
|
|
|
exports[`interface.graphql - graphql-verify 1`] = `
|
2017-06-28 05:30:58 +03:00
|
|
|
interface Actor {
|
|
|
|
id: ID
|
|
|
|
name: String
|
|
|
|
}
|
|
|
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
|
|
interface Actor {
|
|
|
|
id: ID
|
|
|
|
name: String
|
|
|
|
}
|
|
|
|
|
|
|
|
`;
|
2018-03-27 09:52:57 +03:00
|
|
|
|
2018-07-03 09:06:29 +03:00
|
|
|
exports[`object_type_def.graphql - graphql-verify 1`] = `
|
2018-03-27 09:52:57 +03:00
|
|
|
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
|
|
|
|
|
|
|
|
}
|
|
|
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
|
|
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
|
|
|
|
}
|
|
|
|
|
|
|
|
`;
|
|
|
|
|
2018-07-03 09:06:29 +03:00
|
|
|
exports[`object_type_def_mixed_syntax.graphql - graphql-verify 1`] = `
|
2018-03-27 09:52:57 +03:00
|
|
|
type MixedArtist implements Node, Entity & Releasable {
|
|
|
|
# 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
|
|
|
|
|
|
|
|
}
|
|
|
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
|
|
type MixedArtist implements Node & Entity & Releasable {
|
|
|
|
# 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
|
|
|
|
}
|
|
|
|
|
|
|
|
`;
|
|
|
|
|
2018-07-03 09:06:29 +03:00
|
|
|
exports[`object_type_def_old_syntax.graphql - graphql-verify 1`] = `
|
2018-03-27 09:52:57 +03:00
|
|
|
type OldArtist 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
|
|
|
|
|
|
|
|
}
|
|
|
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
|
|
type OldArtist 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
|
|
|
|
}
|
|
|
|
|
|
|
|
`;
|