Added dedicated movie photo table, renamed scene photo function.

This commit is contained in:
DebaucheryLibrarian
2022-03-27 23:42:03 +02:00
parent 295573c1ef
commit 15c9af8057
8 changed files with 61 additions and 36 deletions

View File

@@ -4,6 +4,8 @@ import {
releaseFragment,
releaseFields,
movieFields,
mediaFragment,
mediaFields,
} from '../fragments';
import { curateRelease } from '../curate';
import getDateRange from '../get-date-range';
@@ -225,25 +227,11 @@ function initReleasesActions(store, router) {
slug
name
}
photos {
id
index
path
thumbnail
lazy
width
height
thumbnailWidth
thumbnailHeight
isS3
comment
sfw: sfwMedia {
id
thumbnail
lazy
path
comment
}
photos: moviesPhotos {
${mediaFragment}
}
scenesPhotos {
${mediaFields}
}
entity {
id