73 lines
1.9 KiB
YAML
73 lines
1.9 KiB
YAML
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
|
|
UInt:
|
|
model:
|
|
- github.com/99designs/gqlgen/graphql.Uint
|
|
Torrent:
|
|
extraFields:
|
|
T:
|
|
type: "*git.kmsign.ru/royalcat/tstor/src/sources/torrent.Controller"
|
|
TorrentFile:
|
|
extraFields:
|
|
F:
|
|
type: "*git.kmsign.ru/royalcat/tstor/src/sources/torrent.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/src/sources/torrent.TorrentFS"
|
|
ResolverFS:
|
|
extraFields:
|
|
FS:
|
|
type: "*git.kmsign.ru/royalcat/tstor/src/vfs.ResolverFS"
|
|
ArchiveFS:
|
|
extraFields:
|
|
FS:
|
|
type: "*git.kmsign.ru/royalcat/tstor/src/vfs.ArchiveFS"
|
|
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"
|