emote

package
v0.0.0-...-6d36bb5 Latest Latest
Warning

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

Go to latest
Published: Feb 22, 2024 License: Apache-2.0 Imports: 26 Imported by: 0

Documentation

Index

Constants

View Source
const EMOTE_CHANNEL_QUERY_PAGE_CAP = 500
View Source
const EMOTE_CHANNEL_QUERY_SIZE_MOST = 50

Variables

This section is empty.

Functions

Types

type Resolver

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

func (*Resolver) Activity

func (r *Resolver) Activity(ctx context.Context, obj *model.Emote, limitArg *int) ([]*model.AuditLog, error)

func (*Resolver) Channels

func (r *Resolver) Channels(ctx context.Context, obj *model.Emote, pageArg *int, limitArg *int) (*model.UserSearchResult, error)

func (*Resolver) CommonNames

func (r *Resolver) CommonNames(ctx context.Context, obj *model.Emote) ([]*model.EmoteCommonName, error)

func (*Resolver) Owner

func (r *Resolver) Owner(ctx context.Context, obj *model.Emote) (*model.UserPartial, error)

func (*Resolver) Reports

func (r *Resolver) Reports(ctx context.Context, obj *model.Emote) ([]*model.Report, error)

func (*Resolver) Trending

func (r *Resolver) Trending(ctx context.Context, obj *model.Emote) (*int, error)

type ResolverOps

type ResolverOps struct {
	types.Resolver
}

func (*ResolverOps) Merge

func (r *ResolverOps) Merge(ctx context.Context, obj *model.EmoteOps, targetID primitive.ObjectID, reasonArg *string) (*model.Emote, error)

Merge implements generated.EmoteOpsResolver

func (*ResolverOps) Rerun

func (r *ResolverOps) Rerun(ctx context.Context, obj *model.EmoteOps) (*model.Emote, error)

func (*ResolverOps) Update

func (r *ResolverOps) Update(ctx context.Context, obj *model.EmoteOps, params model.EmoteUpdate, reason *string) (*model.Emote, error)

type ResolverPartial

type ResolverPartial struct {
	types.Resolver
}

func (*ResolverPartial) Owner

Jump to

Keyboard shortcuts

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