graphql

package
v0.0.0-...-5435fe0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 29, 2022 License: MIT Imports: 24 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

Functions

func NewExecutableSchema

func NewExecutableSchema(cfg Config) graphql.ExecutableSchema

NewExecutableSchema creates an ExecutableSchema from the ResolverRoot interface.

func NewSchema

func NewSchema(client *ent.Client) graphql.ExecutableSchema

NewSchema creates a graphql executable schema.

Types

type AuthProvider

type AuthProvider struct {
	Type AuthProviderType `json:"type"`
	URL  string           `json:"url"`
}

type AuthProviderType

type AuthProviderType string
const (
	AuthProviderTypeGithub  AuthProviderType = "GITHUB"
	AuthProviderTypeDiscord AuthProviderType = "DISCORD"
)

func (AuthProviderType) IsValid

func (e AuthProviderType) IsValid() bool

func (AuthProviderType) MarshalGQL

func (e AuthProviderType) MarshalGQL(w io.Writer)

func (AuthProviderType) String

func (e AuthProviderType) String() string

func (*AuthProviderType) UnmarshalGQL

func (e *AuthProviderType) UnmarshalGQL(v interface{}) error

type ComplexityRoot

type ComplexityRoot struct {
	AuthProvider struct {
		Type func(childComplexity int) int
		URL  func(childComplexity int) int
	}

	DiscordAccount struct {
		Bot           func(childComplexity int) int
		DiscordID     func(childComplexity int) int
		Discriminator func(childComplexity int) int
		ID            func(childComplexity int) int
		Owner         func(childComplexity int) int
		Username      func(childComplexity int) int
	}

	DiscordAccountConnection struct {
		Edges      func(childComplexity int) int
		PageInfo   func(childComplexity int) int
		TotalCount func(childComplexity int) int
	}

	DiscordAccountEdge struct {
		Cursor func(childComplexity int) int
		Node   func(childComplexity int) int
	}

	DiscordBot struct {
		Account    func(childComplexity int) int
		ID         func(childComplexity int) int
		Project    func(childComplexity int) int
		Repository func(childComplexity int) int
	}

	DiscordBotConnection struct {
		Edges      func(childComplexity int) int
		PageInfo   func(childComplexity int) int
		TotalCount func(childComplexity int) int
	}

	DiscordBotEdge struct {
		Cursor func(childComplexity int) int
		Node   func(childComplexity int) int
	}

	GithubAccount struct {
		ID                      func(childComplexity int) int
		OrganizationMemberships func(childComplexity int) int
		Owner                   func(childComplexity int) int
		Repositories            func(childComplexity int) int
		Username                func(childComplexity int) int
	}

	GithubAccountConnection struct {
		Edges      func(childComplexity int) int
		PageInfo   func(childComplexity int) int
		TotalCount func(childComplexity int) int
	}

	GithubAccountEdge struct {
		Cursor func(childComplexity int) int
		Node   func(childComplexity int) int
	}

	GithubOrganization struct {
		DisplayName  func(childComplexity int) int
		ID           func(childComplexity int) int
		Members      func(childComplexity int) int
		Name         func(childComplexity int) int
		Repositories func(childComplexity int) int
	}

	GithubOrganizationConnection struct {
		Edges      func(childComplexity int) int
		PageInfo   func(childComplexity int) int
		TotalCount func(childComplexity int) int
	}

	GithubOrganizationEdge struct {
		Cursor func(childComplexity int) int
		Node   func(childComplexity int) int
	}

	GithubOrganizationMember struct {
		Account      func(childComplexity int) int
		ID           func(childComplexity int) int
		Organization func(childComplexity int) int
		Role         func(childComplexity int) int
	}

	GithubOrganizationMemberConnection struct {
		Edges      func(childComplexity int) int
		PageInfo   func(childComplexity int) int
		TotalCount func(childComplexity int) int
	}

	GithubOrganizationMemberEdge struct {
		Cursor func(childComplexity int) int
		Node   func(childComplexity int) int
	}

	Mutation struct {
		AssumeDevelopmentUser          func(childComplexity int, id int) int
		CreateDiscordAccount           func(childComplexity int, input ent.CreateDiscordAccountInput) int
		CreateDiscordBot               func(childComplexity int, input ent.CreateDiscordBotInput) int
		CreateGithubAccount            func(childComplexity int, input ent.CreateGithubAccountInput) int
		CreateGithubOrganization       func(childComplexity int, input ent.CreateGithubOrganizationInput) int
		CreateGithubOrganizationMember func(childComplexity int, input ent.CreateGithubOrganizationMemberInput) int
		CreateProject                  func(childComplexity int, input ent.CreateProjectInput) int
		CreateProjectAssociation       func(childComplexity int, input ent.CreateProjectAssociationInput) int
		CreateProjectContributor       func(childComplexity int, input ent.CreateProjectContributorInput) int
		CreateProjectTechnology        func(childComplexity int, input ent.CreateProjectTechnologyInput) int
		CreateRepository               func(childComplexity int, input ent.CreateRepositoryInput) int
		CreateRepositoryTechnology     func(childComplexity int, input ent.CreateRepositoryTechnologyInput) int
		CreateSite                     func(childComplexity int, input ent.CreateSiteInput) int
		CreateTechnology               func(childComplexity int, input ent.CreateTechnologyInput) int
		CreateTechnologyAssociation    func(childComplexity int, input ent.CreateTechnologyAssociationInput) int
		CreateUser                     func(childComplexity int, input ent.CreateUserInput) int
		DeleteDiscordAccount           func(childComplexity int, id int) int
		DeleteDiscordBot               func(childComplexity int, id int) int
		DeleteGithubAccount            func(childComplexity int, id int) int
		DeleteGithubOrganization       func(childComplexity int, id int) int
		DeleteGithubOrganizationMember func(childComplexity int, id int) int
		DeleteProject                  func(childComplexity int, id int) int
		DeleteProjectAssociation       func(childComplexity int, id int) int
		DeleteProjectContributor       func(childComplexity int, id int) int
		DeleteProjectTechnology        func(childComplexity int, id int) int
		DeleteRepository               func(childComplexity int, id int) int
		DeleteRepositoryTechnology     func(childComplexity int, id int) int
		DeleteSite                     func(childComplexity int, id int) int
		DeleteTechnology               func(childComplexity int, id int) int
		DeleteTechnologyAssociation    func(childComplexity int, id int) int
		DeleteUser                     func(childComplexity int, id int) int
		UpdateDiscordAccount           func(childComplexity int, id int, input ent.UpdateDiscordAccountInput) int
		UpdateDiscordBot               func(childComplexity int, id int, input ent.UpdateDiscordBotInput) int
		UpdateGithubAccount            func(childComplexity int, id int, input ent.UpdateGithubAccountInput) int
		UpdateGithubOrganization       func(childComplexity int, id int, input ent.UpdateGithubOrganizationInput) int
		UpdateGithubOrganizationMember func(childComplexity int, id int, input ent.UpdateGithubOrganizationMemberInput) int
		UpdateProject                  func(childComplexity int, id int, input ent.UpdateProjectInput) int
		UpdateProjectAssociation       func(childComplexity int, id int, input ent.UpdateProjectAssociationInput) int
		UpdateProjectContributor       func(childComplexity int, id int, input ent.UpdateProjectContributorInput) int
		UpdateProjectTechnology        func(childComplexity int, id int, input ent.UpdateProjectTechnologyInput) int
		UpdateRepository               func(childComplexity int, id int, input ent.UpdateRepositoryInput) int
		UpdateRepositoryTechnology     func(childComplexity int, id int, input ent.UpdateRepositoryTechnologyInput) int
		UpdateSite                     func(childComplexity int, id int, input ent.UpdateSiteInput) int
		UpdateTechnology               func(childComplexity int, id int, input ent.UpdateTechnologyInput) int
		UpdateTechnologyAssociation    func(childComplexity int, id int, input ent.UpdateTechnologyAssociationInput) int
		UpdateUser                     func(childComplexity int, id int, input ent.UpdateUserInput) int
	}

	PageInfo struct {
		EndCursor       func(childComplexity int) int
		HasNextPage     func(childComplexity int) int
		HasPreviousPage func(childComplexity int) int
		StartCursor     func(childComplexity int) int
	}

	Project struct {
		ChildProjects  func(childComplexity int) int
		Contributors   func(childComplexity int) int
		Description    func(childComplexity int) int
		DiscordBots    func(childComplexity int) int
		EndDate        func(childComplexity int) int
		ID             func(childComplexity int) int
		Name           func(childComplexity int) int
		ParentProjects func(childComplexity int) int
		Repositories   func(childComplexity int) int
		Sites          func(childComplexity int) int
		StartDate      func(childComplexity int) int
		Technologies   func(childComplexity int) int
	}

	ProjectAssociation struct {
		Child  func(childComplexity int) int
		ID     func(childComplexity int) int
		Parent func(childComplexity int) int
		Type   func(childComplexity int) int
	}

	ProjectAssociationConnection struct {
		Edges      func(childComplexity int) int
		PageInfo   func(childComplexity int) int
		TotalCount func(childComplexity int) int
	}

	ProjectAssociationEdge struct {
		Cursor func(childComplexity int) int
		Node   func(childComplexity int) int
	}

	ProjectConnection struct {
		Edges      func(childComplexity int) int
		PageInfo   func(childComplexity int) int
		TotalCount func(childComplexity int) int
	}

	ProjectContributor struct {
		ID      func(childComplexity int) int
		Project func(childComplexity int) int
		Role    func(childComplexity int) int
		User    func(childComplexity int) int
	}

	ProjectContributorConnection struct {
		Edges      func(childComplexity int) int
		PageInfo   func(childComplexity int) int
		TotalCount func(childComplexity int) int
	}

	ProjectContributorEdge struct {
		Cursor func(childComplexity int) int
		Node   func(childComplexity int) int
	}

	ProjectEdge struct {
		Cursor func(childComplexity int) int
		Node   func(childComplexity int) int
	}

	ProjectTechnology struct {
		ID         func(childComplexity int) int
		Project    func(childComplexity int) int
		Technology func(childComplexity int) int
		Type       func(childComplexity int) int
	}

	ProjectTechnologyConnection struct {
		Edges      func(childComplexity int) int
		PageInfo   func(childComplexity int) int
		TotalCount func(childComplexity int) int
	}

	ProjectTechnologyEdge struct {
		Cursor func(childComplexity int) int
		Node   func(childComplexity int) int
	}

	Query struct {
		AvailableAuthProviders    func(childComplexity int) int
		CurrentUser               func(childComplexity int) int
		DevelopmentMode           func(childComplexity int) int
		DiscordAccounts           func(childComplexity int, after *ent.Cursor, first *int, before *ent.Cursor, last *int, orderBy *ent.DiscordAccountOrder, where *ent.DiscordAccountWhereInput) int
		DiscordBots               func(childComplexity int, after *ent.Cursor, first *int, before *ent.Cursor, last *int, where *ent.DiscordBotWhereInput) int
		GithubAccounts            func(childComplexity int, after *ent.Cursor, first *int, before *ent.Cursor, last *int, orderBy *ent.GithubAccountOrder, where *ent.GithubAccountWhereInput) int
		GithubOrganizationMembers func(childComplexity int, after *ent.Cursor, first *int, before *ent.Cursor, last *int, orderBy *ent.GithubOrganizationMemberOrder, where *ent.GithubOrganizationMemberWhereInput) int
		GithubOrganizations       func(childComplexity int, after *ent.Cursor, first *int, before *ent.Cursor, last *int, orderBy *ent.GithubOrganizationOrder, where *ent.GithubOrganizationWhereInput) int
		Node                      func(childComplexity int, id int) int
		Nodes                     func(childComplexity int, ids []int) int
		ProjectAssociations       func(childComplexity int, after *ent.Cursor, first *int, before *ent.Cursor, last *int, orderBy *ent.ProjectAssociationOrder, where *ent.ProjectAssociationWhereInput) int
		ProjectContributors       func(childComplexity int, after *ent.Cursor, first *int, before *ent.Cursor, last *int, orderBy *ent.ProjectContributorOrder, where *ent.ProjectContributorWhereInput) int
		ProjectTechnologies       func(childComplexity int, after *ent.Cursor, first *int, before *ent.Cursor, last *int, orderBy *ent.ProjectTechnologyOrder, where *ent.ProjectTechnologyWhereInput) int
		Projects                  func(childComplexity int, after *ent.Cursor, first *int, before *ent.Cursor, last *int, orderBy *ent.ProjectOrder, where *ent.ProjectWhereInput) int
		Repositories              func(childComplexity int, after *ent.Cursor, first *int, before *ent.Cursor, last *int, orderBy *ent.RepositoryOrder, where *ent.RepositoryWhereInput) int
		RepositoryTechnologies    func(childComplexity int, after *ent.Cursor, first *int, before *ent.Cursor, last *int, orderBy *ent.RepositoryTechnologyOrder, where *ent.RepositoryTechnologyWhereInput) int
		Sites                     func(childComplexity int, after *ent.Cursor, first *int, before *ent.Cursor, last *int, orderBy *ent.SiteOrder, where *ent.SiteWhereInput) int
		Technologies              func(childComplexity int, after *ent.Cursor, first *int, before *ent.Cursor, last *int, orderBy *ent.TechnologyOrder, where *ent.TechnologyWhereInput) int
		TechnologyAssociations    func(childComplexity int, after *ent.Cursor, first *int, before *ent.Cursor, last *int, orderBy *ent.TechnologyAssociationOrder, where *ent.TechnologyAssociationWhereInput) int
		Users                     func(childComplexity int, after *ent.Cursor, first *int, before *ent.Cursor, last *int, orderBy *ent.UserOrder, where *ent.UserWhereInput) int
	}

	Repository struct {
		Description        func(childComplexity int) int
		DiscordBots        func(childComplexity int) int
		GithubAccount      func(childComplexity int) int
		GithubOrganization func(childComplexity int) int
		ID                 func(childComplexity int) int
		Name               func(childComplexity int) int
		Project            func(childComplexity int) int
		Sites              func(childComplexity int) int
		Technologies       func(childComplexity int) int
	}

	RepositoryConnection struct {
		Edges      func(childComplexity int) int
		PageInfo   func(childComplexity int) int
		TotalCount func(childComplexity int) int
	}

	RepositoryEdge struct {
		Cursor func(childComplexity int) int
		Node   func(childComplexity int) int
	}

	RepositoryTechnology struct {
		ID         func(childComplexity int) int
		Repository func(childComplexity int) int
		Technology func(childComplexity int) int
		Type       func(childComplexity int) int
	}

	RepositoryTechnologyConnection struct {
		Edges      func(childComplexity int) int
		PageInfo   func(childComplexity int) int
		TotalCount func(childComplexity int) int
	}

	RepositoryTechnologyEdge struct {
		Cursor func(childComplexity int) int
		Node   func(childComplexity int) int
	}

	Site struct {
		ID         func(childComplexity int) int
		Project    func(childComplexity int) int
		Repository func(childComplexity int) int
		URL        func(childComplexity int) int
	}

	SiteConnection struct {
		Edges      func(childComplexity int) int
		PageInfo   func(childComplexity int) int
		TotalCount func(childComplexity int) int
	}

	SiteEdge struct {
		Cursor func(childComplexity int) int
		Node   func(childComplexity int) int
	}

	Technology struct {
		ChildTechnologies  func(childComplexity int) int
		Colour             func(childComplexity int) int
		Description        func(childComplexity int) int
		ID                 func(childComplexity int) int
		Name               func(childComplexity int) int
		ParentTechnologies func(childComplexity int) int
		Projects           func(childComplexity int) int
		Repositories       func(childComplexity int) int
		Type               func(childComplexity int) int
	}

	TechnologyAssociation struct {
		Child  func(childComplexity int) int
		ID     func(childComplexity int) int
		Parent func(childComplexity int) int
		Type   func(childComplexity int) int
	}

	TechnologyAssociationConnection struct {
		Edges      func(childComplexity int) int
		PageInfo   func(childComplexity int) int
		TotalCount func(childComplexity int) int
	}

	TechnologyAssociationEdge struct {
		Cursor func(childComplexity int) int
		Node   func(childComplexity int) int
	}

	TechnologyConnection struct {
		Edges      func(childComplexity int) int
		PageInfo   func(childComplexity int) int
		TotalCount func(childComplexity int) int
	}

	TechnologyEdge struct {
		Cursor func(childComplexity int) int
		Node   func(childComplexity int) int
	}

	User struct {
		AvatarURL            func(childComplexity int) int
		DiscordAccounts      func(childComplexity int) int
		GithubAccounts       func(childComplexity int) int
		ID                   func(childComplexity int) int
		ProjectContributions func(childComplexity int) int
		Username             func(childComplexity int) int
	}

	UserConnection struct {
		Edges      func(childComplexity int) int
		PageInfo   func(childComplexity int) int
		TotalCount func(childComplexity int) int
	}

	UserEdge struct {
		Cursor func(childComplexity int) int
		Node   func(childComplexity int) int
	}
}

type Config

type Config struct {
	Resolvers  ResolverRoot
	Directives DirectiveRoot
	Complexity ComplexityRoot
}

type DirectiveRoot

type DirectiveRoot struct {
}

type MutationResolver

type MutationResolver interface {
	CreateUser(ctx context.Context, input ent.CreateUserInput) (*ent.User, error)
	UpdateUser(ctx context.Context, id int, input ent.UpdateUserInput) (*ent.User, error)
	DeleteUser(ctx context.Context, id int) (*ent.User, error)
	CreateDiscordAccount(ctx context.Context, input ent.CreateDiscordAccountInput) (*ent.DiscordAccount, error)
	UpdateDiscordAccount(ctx context.Context, id int, input ent.UpdateDiscordAccountInput) (*ent.DiscordAccount, error)
	DeleteDiscordAccount(ctx context.Context, id int) (*ent.DiscordAccount, error)
	CreateDiscordBot(ctx context.Context, input ent.CreateDiscordBotInput) (*ent.DiscordBot, error)
	UpdateDiscordBot(ctx context.Context, id int, input ent.UpdateDiscordBotInput) (*ent.DiscordBot, error)
	DeleteDiscordBot(ctx context.Context, id int) (*ent.DiscordBot, error)
	CreateGithubAccount(ctx context.Context, input ent.CreateGithubAccountInput) (*ent.GithubAccount, error)
	UpdateGithubAccount(ctx context.Context, id int, input ent.UpdateGithubAccountInput) (*ent.GithubAccount, error)
	DeleteGithubAccount(ctx context.Context, id int) (*ent.GithubAccount, error)
	CreateGithubOrganization(ctx context.Context, input ent.CreateGithubOrganizationInput) (*ent.GithubOrganization, error)
	UpdateGithubOrganization(ctx context.Context, id int, input ent.UpdateGithubOrganizationInput) (*ent.GithubOrganization, error)
	DeleteGithubOrganization(ctx context.Context, id int) (*ent.GithubOrganization, error)
	CreateGithubOrganizationMember(ctx context.Context, input ent.CreateGithubOrganizationMemberInput) (*ent.GithubOrganizationMember, error)
	UpdateGithubOrganizationMember(ctx context.Context, id int, input ent.UpdateGithubOrganizationMemberInput) (*ent.GithubOrganizationMember, error)
	DeleteGithubOrganizationMember(ctx context.Context, id int) (*ent.GithubOrganizationMember, error)
	CreateProject(ctx context.Context, input ent.CreateProjectInput) (*ent.Project, error)
	UpdateProject(ctx context.Context, id int, input ent.UpdateProjectInput) (*ent.Project, error)
	DeleteProject(ctx context.Context, id int) (*ent.Project, error)
	CreateProjectContributor(ctx context.Context, input ent.CreateProjectContributorInput) (*ent.ProjectContributor, error)
	UpdateProjectContributor(ctx context.Context, id int, input ent.UpdateProjectContributorInput) (*ent.ProjectContributor, error)
	DeleteProjectContributor(ctx context.Context, id int) (*ent.ProjectContributor, error)
	CreateProjectAssociation(ctx context.Context, input ent.CreateProjectAssociationInput) (*ent.ProjectAssociation, error)
	UpdateProjectAssociation(ctx context.Context, id int, input ent.UpdateProjectAssociationInput) (*ent.ProjectAssociation, error)
	DeleteProjectAssociation(ctx context.Context, id int) (*ent.ProjectAssociation, error)
	CreateRepository(ctx context.Context, input ent.CreateRepositoryInput) (*ent.Repository, error)
	UpdateRepository(ctx context.Context, id int, input ent.UpdateRepositoryInput) (*ent.Repository, error)
	DeleteRepository(ctx context.Context, id int) (*ent.Repository, error)
	CreateSite(ctx context.Context, input ent.CreateSiteInput) (*ent.Site, error)
	UpdateSite(ctx context.Context, id int, input ent.UpdateSiteInput) (*ent.Site, error)
	DeleteSite(ctx context.Context, id int) (*ent.Site, error)
	CreateTechnology(ctx context.Context, input ent.CreateTechnologyInput) (*ent.Technology, error)
	UpdateTechnology(ctx context.Context, id int, input ent.UpdateTechnologyInput) (*ent.Technology, error)
	DeleteTechnology(ctx context.Context, id int) (*ent.Technology, error)
	CreateTechnologyAssociation(ctx context.Context, input ent.CreateTechnologyAssociationInput) (*ent.TechnologyAssociation, error)
	UpdateTechnologyAssociation(ctx context.Context, id int, input ent.UpdateTechnologyAssociationInput) (*ent.TechnologyAssociation, error)
	DeleteTechnologyAssociation(ctx context.Context, id int) (*ent.TechnologyAssociation, error)
	CreateProjectTechnology(ctx context.Context, input ent.CreateProjectTechnologyInput) (*ent.ProjectTechnology, error)
	UpdateProjectTechnology(ctx context.Context, id int, input ent.UpdateProjectTechnologyInput) (*ent.ProjectTechnology, error)
	DeleteProjectTechnology(ctx context.Context, id int) (*ent.ProjectTechnology, error)
	CreateRepositoryTechnology(ctx context.Context, input ent.CreateRepositoryTechnologyInput) (*ent.RepositoryTechnology, error)
	UpdateRepositoryTechnology(ctx context.Context, id int, input ent.UpdateRepositoryTechnologyInput) (*ent.RepositoryTechnology, error)
	DeleteRepositoryTechnology(ctx context.Context, id int) (*ent.RepositoryTechnology, error)
	AssumeDevelopmentUser(ctx context.Context, id int) (*ent.User, error)
}

type QueryResolver

type QueryResolver interface {
	Node(ctx context.Context, id int) (ent.Noder, error)
	Nodes(ctx context.Context, ids []int) ([]ent.Noder, error)
	DiscordAccounts(ctx context.Context, after *ent.Cursor, first *int, before *ent.Cursor, last *int, orderBy *ent.DiscordAccountOrder, where *ent.DiscordAccountWhereInput) (*ent.DiscordAccountConnection, error)
	DiscordBots(ctx context.Context, after *ent.Cursor, first *int, before *ent.Cursor, last *int, where *ent.DiscordBotWhereInput) (*ent.DiscordBotConnection, error)
	GithubAccounts(ctx context.Context, after *ent.Cursor, first *int, before *ent.Cursor, last *int, orderBy *ent.GithubAccountOrder, where *ent.GithubAccountWhereInput) (*ent.GithubAccountConnection, error)
	GithubOrganizations(ctx context.Context, after *ent.Cursor, first *int, before *ent.Cursor, last *int, orderBy *ent.GithubOrganizationOrder, where *ent.GithubOrganizationWhereInput) (*ent.GithubOrganizationConnection, error)
	GithubOrganizationMembers(ctx context.Context, after *ent.Cursor, first *int, before *ent.Cursor, last *int, orderBy *ent.GithubOrganizationMemberOrder, where *ent.GithubOrganizationMemberWhereInput) (*ent.GithubOrganizationMemberConnection, error)
	Projects(ctx context.Context, after *ent.Cursor, first *int, before *ent.Cursor, last *int, orderBy *ent.ProjectOrder, where *ent.ProjectWhereInput) (*ent.ProjectConnection, error)
	ProjectAssociations(ctx context.Context, after *ent.Cursor, first *int, before *ent.Cursor, last *int, orderBy *ent.ProjectAssociationOrder, where *ent.ProjectAssociationWhereInput) (*ent.ProjectAssociationConnection, error)
	ProjectContributors(ctx context.Context, after *ent.Cursor, first *int, before *ent.Cursor, last *int, orderBy *ent.ProjectContributorOrder, where *ent.ProjectContributorWhereInput) (*ent.ProjectContributorConnection, error)
	ProjectTechnologies(ctx context.Context, after *ent.Cursor, first *int, before *ent.Cursor, last *int, orderBy *ent.ProjectTechnologyOrder, where *ent.ProjectTechnologyWhereInput) (*ent.ProjectTechnologyConnection, error)
	Repositories(ctx context.Context, after *ent.Cursor, first *int, before *ent.Cursor, last *int, orderBy *ent.RepositoryOrder, where *ent.RepositoryWhereInput) (*ent.RepositoryConnection, error)
	RepositoryTechnologies(ctx context.Context, after *ent.Cursor, first *int, before *ent.Cursor, last *int, orderBy *ent.RepositoryTechnologyOrder, where *ent.RepositoryTechnologyWhereInput) (*ent.RepositoryTechnologyConnection, error)
	Sites(ctx context.Context, after *ent.Cursor, first *int, before *ent.Cursor, last *int, orderBy *ent.SiteOrder, where *ent.SiteWhereInput) (*ent.SiteConnection, error)
	Technologies(ctx context.Context, after *ent.Cursor, first *int, before *ent.Cursor, last *int, orderBy *ent.TechnologyOrder, where *ent.TechnologyWhereInput) (*ent.TechnologyConnection, error)
	TechnologyAssociations(ctx context.Context, after *ent.Cursor, first *int, before *ent.Cursor, last *int, orderBy *ent.TechnologyAssociationOrder, where *ent.TechnologyAssociationWhereInput) (*ent.TechnologyAssociationConnection, error)
	Users(ctx context.Context, after *ent.Cursor, first *int, before *ent.Cursor, last *int, orderBy *ent.UserOrder, where *ent.UserWhereInput) (*ent.UserConnection, error)
	AvailableAuthProviders(ctx context.Context) ([]*AuthProvider, error)
	CurrentUser(ctx context.Context) (*ent.User, error)
	DevelopmentMode(ctx context.Context) (bool, error)
}

type Resolver

type Resolver struct {
	// contains filtered or unexported fields
}

Resolver is the resolver root.

func (*Resolver) Mutation

func (r *Resolver) Mutation() MutationResolver

Mutation returns MutationResolver implementation.

func (*Resolver) Query

func (r *Resolver) Query() QueryResolver

Query returns QueryResolver implementation.

type ResolverRoot

type ResolverRoot interface {
	Mutation() MutationResolver
	Query() QueryResolver
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL