anilist/sub_selections.go

112 lines
1.4 KiB
Go
Raw Normal View History

2022-02-03 17:23:29 +01:00
package anilist
const (
subSelectionAiringSchedule = `{
id
mediaId
airingAt
timeUntilAiring
episode
}`
subSelectionMediaList = `{
id
userId
mediaId
status
score
progress
progressVolumes
repeat
priority
private
notes
hiddenFromStatusLists
startedAt ` + subSelectionFuzzyDate + `
completedAt ` + subSelectionFuzzyDate + `
updatedAt
createdAt
media ` + subSelectionMedia + `
user ` + subSelectionUser + `
}`
subSelectionUser = `{
id
name
}`
subSelectionMedia = `{
id
title {
romaji
english
native
userPreferred
}
type
format
status
description
startDate ` + subSelectionFuzzyDate + `
endDate ` + subSelectionFuzzyDate + `
season
seasonYear
seasonInt
episodes
duration
chapters
volumes
countryOfOrigin
isLicensed
source
hashtag
trailer {
id
site
thumbnail
}
updatedAt
coverImage {
extraLarge
large
medium
color
}
bannerImage
genres
synonyms
averageScore
meanScore
popularity
isLocked
trending
favourites
tags {
id
name
description
category
rank
isGeneralSpoiler
isMediaSpoiler
isAdult
userId
}
2022-02-06 10:39:04 +01:00
nextAiringEpisode ` + subSelectionAiringSchedule + `
2022-02-03 17:23:29 +01:00
}`
subSelectionFuzzyDate = `{
year
month
day
}`
subSelectionPageInfo = `{
total
currentPage
lastPage
hasNextPage
perPage
}`
)