tstor/.gqlgen.yml
royalcat 832f5b9710
Some checks failed
docker / build-docker (push) Has been cancelled
wip
2025-01-20 05:18:15 +03:00

44 lines
964 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"