tstor/.gqlgen.yml
royalcat 10c3f126f0
Some checks failed
docker / build-docker (push) Failing after 4m59s
rename old torrent module
2025-01-08 00:51:28 +03:00

44 lines
956 B
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
SimpleDir:
extraFields:
Path:
type: string
FS:
type: "git.kmsign.ru/royalcat/tstor/src/vfs.Filesystem"
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"