Added 'includes' argument to scrapers to help them avoid unnecessary requests. Added movie actors and movie tags views.

This commit is contained in:
2020-03-09 16:54:45 +01:00
parent 638757b6e4
commit 61a795d634
5 changed files with 50 additions and 4 deletions

View File

@@ -169,6 +169,18 @@ const releasesFragment = `
orderBy: $orderBy,
) {
${releaseFields}
movieActors: movieActorsByMovieId(orderBy: ACTOR_BY_ACTOR_ID__GENDER_ASC) {
actor {
${actorFields}
}
}
movieTags: movieTagsByMovieId(orderBy: TAG_BY_TAG_ID__PRIORITY_DESC) {
tag {
id
name
slug
}
}
}
`;
@@ -195,6 +207,13 @@ const releaseFragment = `
${actorFields}
}
}
movieTags: movieTagsByMovieId(orderBy: TAG_BY_TAG_ID__PRIORITY_DESC) {
tag {
id
name
slug
}
}
movies: releasesMoviesBySceneId {
movie {
id