forked from DebaucheryLibrarian/traxxx
Removed unnecessary actor details from releases query.
This commit is contained in:
parent
191a3628b5
commit
d7ee278b02
|
@ -97,6 +97,13 @@ const actorFields = `
|
||||||
${actorStashesFields}
|
${actorStashesFields}
|
||||||
`;
|
`;
|
||||||
|
|
||||||
|
const basicActorFields = `
|
||||||
|
id
|
||||||
|
name
|
||||||
|
slug
|
||||||
|
gender
|
||||||
|
`;
|
||||||
|
|
||||||
const movieFields = `
|
const movieFields = `
|
||||||
id
|
id
|
||||||
title
|
title
|
||||||
|
@ -240,6 +247,14 @@ const releaseActorsFragment = `
|
||||||
}
|
}
|
||||||
`;
|
`;
|
||||||
|
|
||||||
|
const releaseBasicActorsFragment = `
|
||||||
|
actors: releasesActors(orderBy: ACTOR_BY_ACTOR_ID__GENDER_ASC) {
|
||||||
|
actor {
|
||||||
|
${basicActorFields}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
`;
|
||||||
|
|
||||||
const releaseDirectorFragment = `
|
const releaseDirectorFragment = `
|
||||||
directors: releasesDirectors(orderBy: ACTOR_BY_DIRECTOR_ID__NAME_ASC) {
|
directors: releasesDirectors(orderBy: ACTOR_BY_DIRECTOR_ID__NAME_ASC) {
|
||||||
director {
|
director {
|
||||||
|
@ -379,7 +394,7 @@ const releaseFields = `
|
||||||
createdAt
|
createdAt
|
||||||
url
|
url
|
||||||
createdBatchId
|
createdBatchId
|
||||||
${releaseActorsFragment}
|
${releaseBasicActorsFragment}
|
||||||
${releaseTagsFragment}
|
${releaseTagsFragment}
|
||||||
${releasePosterFragment}
|
${releasePosterFragment}
|
||||||
${releaseCoversFragment}
|
${releaseCoversFragment}
|
||||||
|
|
Loading…
Reference in New Issue