resolver

package
v0.0.0-...-19bfec4 Latest Latest
Warning

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

Go to latest
Published: Jan 27, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Resolver

type Resolver struct {
	ContactCreate         func(ctx context.Context, input model.ContactInput) (*model.Contact, error)
	ConversationCreate    func(ctx context.Context, input model.ConversationInput) (*model.Conversation, error)
	GetContactByEmail     func(ctx context.Context, email string) (*model.Contact, error)
	GetContactByPhone     func(ctx context.Context, e164 string) (*model.Contact, error)
	GetContactById        func(ctx context.Context, id string) (*model.Contact, error)
	PhoneNumbersByContact func(ctx context.Context, obj *model.Contact) ([]*model.PhoneNumber, error)
	EmailsByContact       func(ctx context.Context, obj *model.Contact) ([]*model.Email, error)
}

func (*Resolver) Contact

func (r *Resolver) Contact() generated.ContactResolver

Contact returns generated.ContactResolver implementation.

func (*Resolver) ContactGroup

func (r *Resolver) ContactGroup() generated.ContactGroupResolver

ContactGroup returns generated.ContactGroupResolver implementation.

func (*Resolver) ContactRole

func (r *Resolver) ContactRole() generated.ContactRoleResolver

ContactRole returns generated.ContactRoleResolver implementation.

func (*Resolver) Conversation

func (r *Resolver) Conversation() generated.ConversationResolver

Conversation returns generated.ConversationResolver implementation.

func (*Resolver) CustomField

func (r *Resolver) CustomField() generated.CustomFieldResolver

CustomField returns generated.CustomFieldResolver implementation.

func (*Resolver) EntityTemplate

func (r *Resolver) EntityTemplate() generated.EntityTemplateResolver

EntityTemplate returns generated.EntityTemplateResolver implementation.

func (*Resolver) FieldSet

func (r *Resolver) FieldSet() generated.FieldSetResolver

FieldSet returns generated.FieldSetResolver implementation.

func (*Resolver) FieldSetTemplate

func (r *Resolver) FieldSetTemplate() generated.FieldSetTemplateResolver

FieldSetTemplate returns generated.FieldSetTemplateResolver implementation.

func (*Resolver) Mutation

func (r *Resolver) Mutation() generated.MutationResolver

Mutation returns generated.MutationResolver implementation.

func (*Resolver) Note

func (r *Resolver) Note() generated.NoteResolver

Note returns generated.NoteResolver implementation.

func (*Resolver) Organization

func (r *Resolver) Organization() generated.OrganizationResolver

Organization returns generated.OrganizationResolver implementation.

func (*Resolver) Query

func (r *Resolver) Query() generated.QueryResolver

Query returns generated.QueryResolver implementation.

func (*Resolver) User

func (r *Resolver) User() generated.UserResolver

User returns generated.UserResolver implementation.

Jump to

Keyboard shortcuts

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