stash/ui/v2.5/graphql/data/file.graphql

105 lines
1.2 KiB
GraphQL

fragment FolderData on Folder {
id
basename
path
}
fragment VideoFileData on VideoFile {
id
path
size
mod_time
duration
video_codec
audio_codec
width
height
frame_rate
frames
bit_rate
fingerprints {
type
value
}
}
fragment ImageFileData on ImageFile {
id
path
size
mod_time
width
height
fingerprints {
type
value
}
}
fragment GalleryFileData on GalleryFile {
id
path
size
mod_time
fingerprints {
type
value
}
}
fragment VisualFileData on VisualFile {
... on BaseFile {
id
path
size
mod_time
fingerprints {
type
value
}
}
... on ImageFile {
id
path
size
mod_time
width
height
fingerprints {
type
value
}
}
... on VideoFile {
id
path
size
mod_time
duration
video_codec
audio_codec
width
height
frame_rate
frames
bit_rate
fingerprints {
type
value
}
}
}
fragment SelectFolderData on Folder {
id
path
basename
}
fragment RecursiveFolderData on Folder {
...SelectFolderData
parent_folders {
...SelectFolderData
}
}