tstor/daemons/atorrent/.gqlgen.yml

65 lines
1.7 KiB
YAML
Raw Normal View History

2025-01-07 21:51:28 +00:00
schema:
- graphql/*.graphql
- graphql/**/*.graphql
- ../../graphql/types/*.graphql
exec:
2025-01-08 13:39:01 +00:00
filename: delivery/graphql/generated.go
2025-01-07 21:51:28 +00:00
model:
2025-01-08 13:39:01 +00:00
filename: delivery/graphql/models_gen.go
2025-01-07 21:51:28 +00:00
resolver:
2025-01-08 13:39:01 +00:00
type: Resolver
2025-01-07 21:51:28 +00:00
layout: follow-schema
2025-01-08 13:39:01 +00:00
dir: delivery/graphql
autobind:
- "git.kmsign.ru/royalcat/tstor/src/delivery/graphql/model"
2025-01-07 21:51:28 +00:00
models:
DateTime:
model: github.com/99designs/gqlgen/graphql.Time
Int:
model: github.com/99designs/gqlgen/graphql.Int64
UInt:
model:
- github.com/99designs/gqlgen/graphql.Uint
Torrent:
extraFields:
T:
type: "*git.kmsign.ru/royalcat/tstor/daemons/atorrent.Controller"
TorrentFile:
extraFields:
F:
type: "*git.kmsign.ru/royalcat/tstor/daemons/atorrent.FileController"
TorrentPeer:
extraFields:
F:
type: "*github.com/anacrolix/torrent.PeerConn"
SimpleDir:
extraFields:
Path:
type: string
FS:
type: "git.kmsign.ru/royalcat/tstor/src/vfs.Filesystem"
TorrentFS:
extraFields:
FS:
type: "*git.kmsign.ru/royalcat/tstor/daemons/atorrent.TorrentFS"
TorrentOps:
extraFields:
InfoHash:
type: "string"
TorrentPriority:
model: "github.com/anacrolix/torrent/types.PiecePriority"
enum_values:
NONE:
value: "github.com/anacrolix/torrent/types.PiecePriorityNone"
NORMAL:
value: "github.com/anacrolix/torrent/types.PiecePriorityNormal"
HIGH:
value: "github.com/anacrolix/torrent/types.PiecePriorityHigh"
READAHEAD:
value: "github.com/anacrolix/torrent/types.PiecePriorityReadahead"
NOW:
value: "github.com/anacrolix/torrent/types.PiecePriorityNow"