-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
9 changed files
with
198 additions
and
122 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,68 @@ | ||
schema: | ||
- api/graphql/schema/*.graphql | ||
|
||
exec: | ||
filename: pkg/gql/generated.go | ||
package: gql | ||
|
||
model: | ||
filename: pkg/gql/models_gen.go | ||
package: gql | ||
|
||
resolver: | ||
layout: follow-schema | ||
dir: internal/server | ||
package: server | ||
|
||
omit_slice_element_pointers: true | ||
|
||
# gqlgen will search for any type names in the schema in these go packages | ||
# if they match it will use them, otherwise it will generate them. | ||
autobind: | ||
- "github.com/nevalang/neva/internal/compiler/src" | ||
|
||
# This section declares type mapping between the GraphQL and go type systems | ||
# | ||
# The first line in each type will be used as defaults for resolver arguments and | ||
# modelgen, the others will be allowed when binding to fields. Configure them to | ||
# your liking | ||
# models: | ||
# ID: | ||
# model: | ||
# - github.com/99designs/gqlgen/graphql.IntID | ||
# Timestamp: | ||
# model: | ||
# - github.com/eqtlab/eqtbot/pkg/api.Timestamp | ||
# Decimal: | ||
# model: | ||
# - github.com/eqtlab/eqtbot/pkg/api.Decimal | ||
# Account: | ||
# model: | ||
# - github.com/eqtlab/eqtbot/internal/tracker/models.Account | ||
# fields: | ||
# assets: | ||
# resolver: true | ||
# AccountAsset: | ||
# model: | ||
# - github.com/eqtlab/eqtbot/internal/tracker/models.AccountAsset | ||
# fields: | ||
# asset: | ||
# resolver: true | ||
# balanceBase: | ||
# resolver: true | ||
# Asset: | ||
# model: | ||
# - github.com/eqtlab/eqtbot/internal/tracker/models.Asset | ||
# Transaction: | ||
# model: | ||
# - github.com/eqtlab/eqtbot/internal/tracker/models.Transaction | ||
# fields: | ||
# asset: | ||
# resolver: true | ||
# account: | ||
# resolver: true | ||
# category: | ||
# resolver: true | ||
# Category: | ||
# model: | ||
# - github.com/eqtlab/eqtbot/internal/tracker/models.Category |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
schema { | ||
mutation: Mutation | ||
query: Query | ||
} | ||
|
||
type Query { | ||
component(location: Location!, entityName: String!): Component! | ||
} | ||
|
||
type Location { | ||
pkgName: String! | ||
fileName: String! | ||
} | ||
|
||
type Component { | ||
interface: Interface! | ||
nodes: [Node!]! | ||
net: ComponentNetwork! | ||
} | ||
|
||
type Interface { | ||
typeParams: [TypeParam] | ||
} | ||
|
||
type Mutation { | ||
updateComponent(location: Location!, component: Component!): Component! | ||
} |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.