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: fields: name: resolver: true files: resolver: true excludedFiles: resolver: true peers: resolver: true extraFields: T: type: "*git.kmsign.ru/royalcat/tstor/src/host/torrent.Controller" TorrentFile: extraFields: F: type: "*github.com/anacrolix/torrent.File" TorrentPeer: extraFields: F: type: "*github.com/anacrolix/torrent.PeerConn" SimpleDir: fields: entries: resolver: true extraFields: Path: type: string FS: type: "git.kmsign.ru/royalcat/tstor/src/vfs.Filesystem" TorrentFS: fields: entries: resolver: true extraFields: FS: type: "*git.kmsign.ru/royalcat/tstor/src/host/torrent.TorrentFS" ResolverFS: fields: entries: resolver: true extraFields: FS: type: "*git.kmsign.ru/royalcat/tstor/src/vfs.ResolverFS" ArchiveFS: fields: entries: resolver: true extraFields: FS: type: "*git.kmsign.ru/royalcat/tstor/src/vfs.ArchiveFS"