2017-11-18 23:48:23 +00:00
|
|
|
|
import gql from '../../tag'
|
|
|
|
|
|
|
|
|
|
|
|
export default gql`
|
2018-08-04 19:04:19 +00:00
|
|
|
|
"""
|
|
|
|
|
|
The image sizes that may be requested at [fanart.tv](https://fanart.tv/).
|
|
|
|
|
|
"""
|
2017-11-18 23:48:23 +00:00
|
|
|
|
enum FanArtImageSize {
|
2018-08-04 19:04:19 +00:00
|
|
|
|
"""
|
|
|
|
|
|
The image’s full original dimensions.
|
|
|
|
|
|
"""
|
2017-11-18 23:48:23 +00:00
|
|
|
|
FULL
|
|
|
|
|
|
|
2018-08-04 19:04:19 +00:00
|
|
|
|
"""
|
|
|
|
|
|
A maximum dimension of 200px.
|
|
|
|
|
|
"""
|
2017-11-18 23:48:23 +00:00
|
|
|
|
PREVIEW
|
|
|
|
|
|
}
|
|
|
|
|
|
|
2018-08-04 19:04:19 +00:00
|
|
|
|
"""
|
|
|
|
|
|
A single image from [fanart.tv](https://fanart.tv/).
|
|
|
|
|
|
"""
|
2017-11-18 23:48:23 +00:00
|
|
|
|
type FanArtImage {
|
2018-08-04 19:04:19 +00:00
|
|
|
|
"""
|
|
|
|
|
|
The ID of the image on fanart.tv.
|
|
|
|
|
|
"""
|
2017-11-18 23:48:23 +00:00
|
|
|
|
imageID: ID
|
|
|
|
|
|
|
2018-08-04 19:04:19 +00:00
|
|
|
|
"""
|
|
|
|
|
|
The URL of the image.
|
|
|
|
|
|
"""
|
2017-11-18 23:48:23 +00:00
|
|
|
|
url(
|
2018-08-04 19:04:19 +00:00
|
|
|
|
"""
|
|
|
|
|
|
The size of the image to retrieve.
|
|
|
|
|
|
"""
|
2017-11-18 23:48:23 +00:00
|
|
|
|
size: FanArtImageSize = FULL
|
|
|
|
|
|
): URLString
|
|
|
|
|
|
|
2018-08-04 19:04:19 +00:00
|
|
|
|
"""
|
|
|
|
|
|
The number of likes the image has received by fanart.tv users.
|
|
|
|
|
|
"""
|
2017-11-18 23:48:23 +00:00
|
|
|
|
likeCount: Int
|
|
|
|
|
|
}
|
|
|
|
|
|
|
2018-08-04 19:04:19 +00:00
|
|
|
|
"""
|
|
|
|
|
|
A disc image from [fanart.tv](https://fanart.tv/).
|
|
|
|
|
|
"""
|
2017-11-18 23:48:23 +00:00
|
|
|
|
type FanArtDiscImage {
|
2018-08-04 19:04:19 +00:00
|
|
|
|
"""
|
|
|
|
|
|
The ID of the image on fanart.tv.
|
|
|
|
|
|
"""
|
2017-11-18 23:48:23 +00:00
|
|
|
|
imageID: ID
|
|
|
|
|
|
|
2018-08-04 19:04:19 +00:00
|
|
|
|
"""
|
|
|
|
|
|
The URL of the image.
|
|
|
|
|
|
"""
|
2017-11-18 23:48:23 +00:00
|
|
|
|
url(
|
2018-08-04 19:04:19 +00:00
|
|
|
|
"""
|
|
|
|
|
|
The size of the image to retrieve.
|
|
|
|
|
|
"""
|
2017-11-18 23:48:23 +00:00
|
|
|
|
size: FanArtImageSize = FULL
|
|
|
|
|
|
): URLString
|
|
|
|
|
|
|
2018-08-04 19:04:19 +00:00
|
|
|
|
"""
|
|
|
|
|
|
The number of likes the image has received by fanart.tv users.
|
|
|
|
|
|
"""
|
2017-11-18 23:48:23 +00:00
|
|
|
|
likeCount: Int
|
|
|
|
|
|
|
2018-08-04 19:04:19 +00:00
|
|
|
|
"""
|
|
|
|
|
|
The disc number.
|
|
|
|
|
|
"""
|
2017-11-18 23:48:23 +00:00
|
|
|
|
discNumber: Int
|
|
|
|
|
|
|
2018-08-04 19:04:19 +00:00
|
|
|
|
"""
|
|
|
|
|
|
The width and height of the (square) disc image.
|
|
|
|
|
|
"""
|
2017-11-18 23:48:23 +00:00
|
|
|
|
size: Int
|
|
|
|
|
|
}
|
|
|
|
|
|
|
2018-08-04 19:04:19 +00:00
|
|
|
|
"""
|
|
|
|
|
|
A music label image from [fanart.tv](https://fanart.tv/).
|
|
|
|
|
|
"""
|
2017-11-18 23:48:23 +00:00
|
|
|
|
type FanArtLabelImage {
|
2018-08-04 19:04:19 +00:00
|
|
|
|
"""
|
|
|
|
|
|
The ID of the image on fanart.tv.
|
|
|
|
|
|
"""
|
2017-11-18 23:48:23 +00:00
|
|
|
|
imageID: ID
|
|
|
|
|
|
|
2018-08-04 19:04:19 +00:00
|
|
|
|
"""
|
|
|
|
|
|
The URL of the image.
|
|
|
|
|
|
"""
|
2017-11-18 23:48:23 +00:00
|
|
|
|
url(
|
2018-08-04 19:04:19 +00:00
|
|
|
|
"""
|
|
|
|
|
|
The size of the image to retrieve.
|
|
|
|
|
|
"""
|
2017-11-18 23:48:23 +00:00
|
|
|
|
size: FanArtImageSize = FULL
|
|
|
|
|
|
): URLString
|
|
|
|
|
|
|
2018-08-04 19:04:19 +00:00
|
|
|
|
"""
|
|
|
|
|
|
The number of likes the image has received by fanart.tv users.
|
|
|
|
|
|
"""
|
2017-11-18 23:48:23 +00:00
|
|
|
|
likeCount: Int
|
|
|
|
|
|
|
2018-08-04 19:04:19 +00:00
|
|
|
|
"""
|
|
|
|
|
|
The type of color content in the image (usually “white” or “colour”).
|
|
|
|
|
|
"""
|
2017-11-18 23:48:23 +00:00
|
|
|
|
color: String
|
|
|
|
|
|
}
|
|
|
|
|
|
|
2018-08-04 19:04:19 +00:00
|
|
|
|
"""
|
|
|
|
|
|
An object containing lists of the different types of artist images from
|
|
|
|
|
|
[fanart.tv](https://fanart.tv/).
|
|
|
|
|
|
"""
|
2017-11-18 23:48:23 +00:00
|
|
|
|
type FanArtArtist {
|
2018-08-04 19:04:19 +00:00
|
|
|
|
"""
|
|
|
|
|
|
A list of 1920x1080 JPG images picturing the artist, suitable for use as
|
|
|
|
|
|
backgrounds.
|
|
|
|
|
|
"""
|
2017-11-18 23:48:23 +00:00
|
|
|
|
backgrounds: [FanArtImage]
|
|
|
|
|
|
|
2018-08-04 19:04:19 +00:00
|
|
|
|
"""
|
|
|
|
|
|
A list of 1000x185 JPG images containing the artist and their logo or name.
|
|
|
|
|
|
"""
|
2017-11-18 23:48:23 +00:00
|
|
|
|
banners: [FanArtImage]
|
|
|
|
|
|
|
2018-08-04 19:04:19 +00:00
|
|
|
|
"""
|
|
|
|
|
|
A list of 400x155 PNG images containing the artist’s logo or name, with
|
|
|
|
|
|
transparent backgrounds.
|
|
|
|
|
|
"""
|
2017-11-18 23:48:23 +00:00
|
|
|
|
logos: [FanArtImage]
|
|
|
|
|
|
|
2018-08-04 19:04:19 +00:00
|
|
|
|
"""
|
|
|
|
|
|
A list of 800x310 PNG images containing the artist’s logo or name, with
|
|
|
|
|
|
transparent backgrounds.
|
|
|
|
|
|
"""
|
2017-11-18 23:48:23 +00:00
|
|
|
|
logosHD: [FanArtImage]
|
|
|
|
|
|
|
2018-08-04 19:04:19 +00:00
|
|
|
|
"""
|
|
|
|
|
|
A list of 1000x1000 JPG thumbnail images picturing the artist (usually
|
|
|
|
|
|
containing every member of a band).
|
|
|
|
|
|
"""
|
2017-11-18 23:48:23 +00:00
|
|
|
|
thumbnails: [FanArtImage]
|
|
|
|
|
|
}
|
|
|
|
|
|
|
2018-08-04 19:04:19 +00:00
|
|
|
|
"""
|
|
|
|
|
|
An object containing lists of the different types of label images from
|
|
|
|
|
|
[fanart.tv](https://fanart.tv/).
|
|
|
|
|
|
"""
|
2017-11-18 23:48:23 +00:00
|
|
|
|
type FanArtLabel {
|
2018-08-04 19:04:19 +00:00
|
|
|
|
"""
|
|
|
|
|
|
A list of 400x270 PNG images containing the label’s logo. There will
|
|
|
|
|
|
usually be a black version, a color version, and a white version, all with
|
|
|
|
|
|
transparent backgrounds.
|
|
|
|
|
|
"""
|
2017-11-18 23:48:23 +00:00
|
|
|
|
logos: [FanArtLabelImage]
|
|
|
|
|
|
}
|
|
|
|
|
|
|
2018-08-04 19:04:19 +00:00
|
|
|
|
"""
|
|
|
|
|
|
An object containing lists of the different types of release group images from
|
|
|
|
|
|
[fanart.tv](https://fanart.tv/).
|
|
|
|
|
|
"""
|
2017-11-18 23:48:23 +00:00
|
|
|
|
type FanArtAlbum {
|
2018-08-04 19:04:19 +00:00
|
|
|
|
"""
|
|
|
|
|
|
A list of 1000x1000 JPG images of the cover artwork of the release group.
|
|
|
|
|
|
"""
|
2017-11-18 23:48:23 +00:00
|
|
|
|
albumCovers: [FanArtImage]
|
|
|
|
|
|
|
2018-08-04 19:04:19 +00:00
|
|
|
|
"""
|
|
|
|
|
|
A list of 1000x1000 PNG images of the physical disc media for the release
|
|
|
|
|
|
group, with transparent backgrounds.
|
|
|
|
|
|
"""
|
2017-11-18 23:48:23 +00:00
|
|
|
|
discImages: [FanArtDiscImage]
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
extend type Artist {
|
2018-08-04 19:04:19 +00:00
|
|
|
|
"""
|
|
|
|
|
|
Images of the artist from [fanart.tv](https://fanart.tv/).
|
|
|
|
|
|
This field is provided by the fanart.tv extension.
|
|
|
|
|
|
"""
|
2017-11-18 23:48:23 +00:00
|
|
|
|
fanArt: FanArtArtist
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
extend type Label {
|
2018-08-04 19:04:19 +00:00
|
|
|
|
"""
|
|
|
|
|
|
Images of the label from [fanart.tv](https://fanart.tv/).
|
|
|
|
|
|
This field is provided by the fanart.tv extension.
|
|
|
|
|
|
"""
|
2017-11-18 23:48:23 +00:00
|
|
|
|
fanArt: FanArtLabel
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
extend type ReleaseGroup {
|
2018-08-04 19:04:19 +00:00
|
|
|
|
"""
|
|
|
|
|
|
Images of the release group from [fanart.tv](https://fanart.tv/).
|
|
|
|
|
|
This field is provided by the fanart.tv extension.
|
|
|
|
|
|
"""
|
2017-11-18 23:48:23 +00:00
|
|
|
|
fanArt: FanArtAlbum
|
|
|
|
|
|
}
|
2017-10-19 08:00:21 +00:00
|
|
|
|
`
|