mutation_resolvers

package
v0.0.0-...-870ec01 Latest Latest
Warning

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

Go to latest
Published: Apr 21, 2022 License: MIT Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MetaInput

type MetaInput struct {
	FeaturedBroadcast string `json:"featured_broadcast"`
}

type MutationResolver

type MutationResolver struct{}

func (*MutationResolver) AddChannelEditor

func (*MutationResolver) AddChannelEditor(ctx context.Context, args struct {
	ChannelID string
	EditorID  string
	Reason    *string
}) (*query_resolvers.UserResolver, error)

ADD CHANNEL EDITOR

func (*MutationResolver) AddChannelEmote

func (*MutationResolver) AddChannelEmote(ctx context.Context, args struct {
	ChannelID string
	EmoteID   string
	Reason    *string
}) (*query_resolvers.UserResolver, error)

Mutate Emote - Add to Channel

func (*MutationResolver) BanUser

func (*MutationResolver) BanUser(ctx context.Context, args struct {
	VictimID string
	ExpireAt *string
	Reason   *string
}) (*response, error)

BAN USER

func (*MutationResolver) CreateEntitlement

func (*MutationResolver) CreateEntitlement(ctx context.Context, args struct {
	Kind     datastructure.EntitlementKind
	Data     entitlementCreateInput
	UserID   string
	Disabled *bool
}) (*response, error)

func (*MutationResolver) CreateRole

func (r *MutationResolver) CreateRole(ctx context.Context, args roleInput) (*query_resolvers.RoleResolver, error)

func (*MutationResolver) DeleteEmote

func (*MutationResolver) DeleteEmote(ctx context.Context, args struct {
	ID     string
	Reason string
}) (*bool, error)

func (*MutationResolver) DeleteEntitlement

func (*MutationResolver) DeleteEntitlement(ctx context.Context, args struct {
	ID string
}) (*response, error)

func (*MutationResolver) EditApp

func (*MutationResolver) EditApp(ctx context.Context, args struct {
	Properties struct {
		FeaturedBroadcast *string
	}
}) (*response, error)

func (*MutationResolver) EditChannelEmote

func (*MutationResolver) EditChannelEmote(ctx context.Context, args struct {
	ChannelID string
	EmoteID   string
	Data      struct {
		Alias *string
	}
	Reason *string
}) (*query_resolvers.UserResolver, error)

Mutate Emote

func (*MutationResolver) EditEmote

func (*MutationResolver) EditEmote(ctx context.Context, args struct {
	Emote  emoteInput
	Reason *string
}) (*query_resolvers.EmoteResolver, error)

Mutate Emote - Edit

func (*MutationResolver) EditUser

func (*MutationResolver) EditUser(ctx context.Context, args struct {
	User   userInput
	Reason *string
}) (*query_resolvers.UserResolver, error)

func (*MutationResolver) MarkNotificationsRead

func (*MutationResolver) MarkNotificationsRead(ctx context.Context, args struct {
	NotificationIDs []string
}) (*response, error)

func (*MutationResolver) MergeEmote

func (*MutationResolver) MergeEmote(ctx context.Context, args struct {
	OldID  string
	NewID  string
	Reason string
}) (*query_resolvers.EmoteResolver, error)

func (*MutationResolver) RemoveChannelEditor

func (*MutationResolver) RemoveChannelEditor(ctx context.Context, args struct {
	ChannelID string
	EditorID  string
	Reason    *string
}) (*query_resolvers.UserResolver, error)

REMOVE CHANNEL EDITOR

func (*MutationResolver) RemoveChannelEmote

func (*MutationResolver) RemoveChannelEmote(ctx context.Context, args struct {
	ChannelID string
	EmoteID   string
	Reason    *string
}) (*query_resolvers.UserResolver, error)

Mutate Emote - Remove from Channel

func (*MutationResolver) ReportEmote

func (*MutationResolver) ReportEmote(ctx context.Context, args struct {
	EmoteID string
	Reason  string
}) (*response, error)

REPORT EMOTE

func (*MutationResolver) ReportUser

func (*MutationResolver) ReportUser(ctx context.Context, args struct {
	UserID string
	Reason *string
}) (*response, error)

REPORT USER

func (*MutationResolver) RestoreEmote

func (*MutationResolver) RestoreEmote(ctx context.Context, args struct {
	ID     string
	Reason *string
}) (*response, error)

func (*MutationResolver) UnbanUser

func (*MutationResolver) UnbanUser(ctx context.Context, args struct {
	VictimID string
	Reason   *string
}) (*response, error)

Jump to

Keyboard shortcuts

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