tstor/.gqlgen.yml

71 lines
1.8 KiB
YAML
Raw Normal View History

2024-01-28 20:22:49 +00:00
schema:
- graphql/*.graphql
- graphql/**/*.graphql
exec:
filename: src/delivery/graphql/generated.go
package: graph
model:
filename: src/delivery/graphql/model/models_gen.go
package: model
resolver:
layout: follow-schema
dir: src/delivery/graphql/resolver
package: resolver
filename_template: "{name}.resolvers.go"
models:
DateTime:
model: github.com/99designs/gqlgen/graphql.Time
Int:
model: github.com/99designs/gqlgen/graphql.Int64
Torrent:
extraFields:
T:
2024-07-07 20:09:13 +00:00
type: "*git.kmsign.ru/royalcat/tstor/src/sources/torrent.Controller"
2024-01-28 20:22:49 +00:00
TorrentFile:
extraFields:
F:
2024-07-08 21:19:04 +00:00
type: "*git.kmsign.ru/royalcat/tstor/src/sources/torrent.FileController"
2024-01-28 20:22:49 +00:00
TorrentPeer:
extraFields:
F:
type: "*github.com/anacrolix/torrent.PeerConn"
2024-04-24 17:36:33 +00:00
SimpleDir:
extraFields:
Path:
type: string
FS:
2024-06-02 19:53:33 +00:00
type: "git.kmsign.ru/royalcat/tstor/src/vfs.Filesystem"
2024-04-24 17:36:33 +00:00
TorrentFS:
extraFields:
FS:
2024-07-07 20:09:13 +00:00
type: "*git.kmsign.ru/royalcat/tstor/src/sources/torrent.TorrentFS"
2024-04-24 17:36:33 +00:00
ResolverFS:
extraFields:
FS:
2024-06-02 19:53:33 +00:00
type: "*git.kmsign.ru/royalcat/tstor/src/vfs.ResolverFS"
2024-04-24 17:36:33 +00:00
ArchiveFS:
extraFields:
FS:
2024-06-02 19:53:33 +00:00
type: "*git.kmsign.ru/royalcat/tstor/src/vfs.ArchiveFS"
2024-07-07 20:09:13 +00:00
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"