small refactor*

This commit is contained in:
royalcat 2025-03-22 08:49:14 +04:00
parent b6b541e050
commit 24a4d30275
232 changed files with 2164 additions and 1906 deletions
ui/lib/api

View file

@ -1,4 +1,3 @@
directive @oneOf on INPUT_OBJECT | FIELD_DEFINITION
directive @resolver on INPUT_FIELD_DEFINITION | FIELD_DEFINITION
directive @stream on FIELD_DEFINITION
input BooleanFilter @oneOf {
@ -40,6 +39,10 @@ input Pagination {
offset: Int!
limit: Int!
}
type Plugin {
name: String!
endpountSubPath: String
}
interface Progress {
current: Int!
total: Int!
@ -68,7 +71,7 @@ type QTorrent {
sourceFiles: [String!]! @resolver
}
type Query {
qbitTorrentDaemon: QBitTorrentDaemonQuery @resolver
plugins: [Plugin!]!
fsEntry(path: String!): FsEntry
}
type ResolverFS implements Dir & FsEntry {