update
This commit is contained in:
parent
5591f145a9
commit
d8ee8a3a24
166 changed files with 15431 additions and 889 deletions
ui/lib/api
45
ui/lib/api/fs_entry.graphql
Normal file
45
ui/lib/api/fs_entry.graphql
Normal 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
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue