tstor/ui/lib/api/fs_entry.graphql
royalcat d8ee8a3a24
All checks were successful
docker / build-docker (linux/amd64) (push) Successful in 1m34s
docker / build-docker (linux/386) (push) Successful in 1m37s
docker / build-docker (linux/arm64/v8) (push) Successful in 7m37s
docker / build-docker (linux/arm64) (push) Successful in 7m44s
docker / build-docker (linux/arm/v7) (push) Successful in 8m12s
update
2024-04-24 20:36:33 +03:00

45 lines
No EOL
587 B
GraphQL

fragment File on File {
name
size
}
fragment TorrentDir on TorrentFS {
name
torrent {
name
infohash
bytesCompleted
torrentFilePath
bytesMissing
}
}
fragment ArchiveDir on ArchiveFS {
name
size
}
fragment DirEntry on FsEntry {
name
...TorrentDir
...ArchiveDir
...File
}
query ListDir($path: String!) {
fsEntry(path: $path) {
name
... on Dir {
entries {
...DirEntry
}
}
...TorrentDir
...ArchiveDir
}
}