tstor/.gqlgen.yml

74 lines
1.9 KiB
YAML
Raw Permalink 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
2024-07-16 20:58:06 +00:00
UInt:
model:
- github.com/99designs/gqlgen/graphql.Uint
2024-01-28 20:22:49 +00:00
Torrent:
extraFields:
T:
2024-10-26 22:19:16 +00:00
type: "*git.kmsign.ru/royalcat/tstor/src/daemons/torrent.Controller"
2024-01-28 20:22:49 +00:00
TorrentFile:
extraFields:
F:
2024-10-26 22:19:16 +00:00
type: "*git.kmsign.ru/royalcat/tstor/src/daemons/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-10-26 22:19:16 +00:00
type: "*git.kmsign.ru/royalcat/tstor/src/daemons/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"