tstor/plugins/qbittorrent/delivery/graphql/model/models_gen.go
2025-04-21 03:38:12 +04:00

56 lines
1,008 B
Go

// Code generated by github.com/99designs/gqlgen, DO NOT EDIT.
package model
import (
"git.kmsign.ru/royalcat/tstor/server/src/delivery/filter"
)
type File interface {
IsFsEntry()
IsFile()
GetName() string
GetSize() int64
}
type Progress interface {
IsProgress()
GetCurrent() int64
GetTotal() int64
}
type CleanupResponse struct {
Count int64 `json:"count"`
Hashes []string `json:"hashes"`
}
type CleanupUnregistredResponse struct {
Count int64 `json:"count"`
Hashes []string `json:"hashes"`
}
type Mutation struct {
}
type Pagination struct {
Offset int64 `json:"offset"`
Limit int64 `json:"limit"`
}
type Query struct {
}
type Schema struct {
Query *Query `json:"query,omitempty"`
Mutation *Mutation `json:"mutation,omitempty"`
}
type Torrent struct {
Name string `json:"name"`
Hash string `json:"hash"`
SourceFiles []string `json:"sourceFiles"`
}
type TorrentFilter struct {
SourcesCount *filter.IntFilter `json:"sourcesCount,omitempty"`
}