Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewExecutableSchema ¶
func NewExecutableSchema(cfg Config) graphql.ExecutableSchema
NewExecutableSchema creates an ExecutableSchema from the ResolverRoot interface.
Types ¶
type ComplexityRoot ¶
type ComplexityRoot struct { Launchpad struct { ID func(childComplexity int) int IsCanceled func(childComplexity int) int IsReady func(childComplexity int) int IsSoldOut func(childComplexity int) int MinterContract func(childComplexity int) int Project func(childComplexity int) int PublicSaleOpen func(childComplexity int) int WhitelistedSaleOpen func(childComplexity int) int } Metadata struct { Milestones func(childComplexity int) int Rating func(childComplexity int) int TonPrice func(childComplexity int) int } Milestone struct { Boost func(childComplexity int) int Ceil func(childComplexity int) int Ha func(childComplexity int) int Id func(childComplexity int) int Ton func(childComplexity int) int } Mint struct { ID func(childComplexity int) int MaxValuePerTx func(childComplexity int) int MinValuePerTx func(childComplexity int) int MinterAddress func(childComplexity int) int Project func(childComplexity int) int } MinterContract struct { Abi func(childComplexity int) int Address func(childComplexity int) int } PageInfo struct { EndCursor func(childComplexity int) int HasNextPage func(childComplexity int) int HasPreviousPage func(childComplexity int) int StartCursor func(childComplexity int) int } PaymentToken struct { Address func(childComplexity int) int Symbol func(childComplexity int) int } Project struct { Address func(childComplexity int) int ForecastedApr func(childComplexity int) int ID func(childComplexity int) int Launchpad func(childComplexity int) int Metadata func(childComplexity int) int Mint func(childComplexity int) int Name func(childComplexity int) int PaymentToken func(childComplexity int) int Slot func(childComplexity int) int Slug func(childComplexity int) int TotalValue func(childComplexity int) int ValueDecimal func(childComplexity int) int } ProjectDetails struct { Launchpad func(childComplexity int) int Mint func(childComplexity int) int Project func(childComplexity int) int } Query struct { Details func(childComplexity int, slug string) int List func(childComplexity int) int Node func(childComplexity int, id string) int Nodes func(childComplexity int, ids []string) int } }
type Config ¶
type Config struct { Schema *ast.Schema Resolvers ResolverRoot Directives DirectiveRoot Complexity ComplexityRoot }
type DirectiveRoot ¶
type DirectiveRoot struct { }
type MilestoneResolver ¶
type MinterContractResolver ¶
type ProjectDetails ¶
type ProjectDetails struct { Project *ent.Project `json:"project"` Mint *ent.Mint `json:"mint"` Launchpad *ent.Launchpad `json:"launchpad"` }
Aggregated project data.
type QueryResolver ¶
type ResolverRoot ¶
type ResolverRoot interface { Milestone() MilestoneResolver MinterContract() MinterContractResolver Query() QueryResolver }
Click to show internal directories.
Click to hide internal directories.