This commit is contained in:
royalcat 2024-04-24 20:36:33 +03:00
parent 5591f145a9
commit d8ee8a3a24
166 changed files with 15431 additions and 889 deletions

View file

@ -0,0 +1,45 @@
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
}
}