artext

package
v1.8.0 Latest Latest
Warning

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

Go to latest
Published: Feb 2, 2024 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FxModule

func FxModule() fx.Option

Types

type Controller

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

func (*Controller) GetArtsExceptForStoryArts added in v1.4.0

func (c *Controller) GetArtsExceptForStoryArts(ctx *fiber.Ctx) error

func (*Controller) GetArtsOfStory

func (c *Controller) GetArtsOfStory(ctx *fiber.Ctx) error

func (*Controller) GetArtsOfStoryGroup

func (c *Controller) GetArtsOfStoryGroup(ctx *fiber.Ctx) error

func (*Controller) GetSiblingsOfCharacterArt added in v1.7.0

func (c *Controller) GetSiblingsOfCharacterArt(ctx *fiber.Ctx) error

type RegisterParams

type RegisterParams struct {
	fx.In
	Router fiber.Router `optional:"true"`
}

type Service

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

func (*Service) GetArtsExceptForStoryArts added in v1.4.0

func (s *Service) GetArtsExceptForStoryArts(server ark.Server) ([]*art.Art, error)

GetArtsExceptForStoryArts gets all arts but except for the arts which are present in the story tree.

func (*Service) GetArtsOfStory

func (s *Service) GetArtsOfStory(server ark.Server, storyID string) ([]*art.Art, error)

func (*Service) GetArtsOfStoryGroup

func (s *Service) GetArtsOfStoryGroup(server ark.Server, groupID string) ([]*art.Art, error)

func (*Service) GetSiblingsOfCharacterArt added in v1.7.0

func (s *Service) GetSiblingsOfCharacterArt(characterID string) (siblings []*art.Art, err error)

GetSiblingsOfCharacterArt gets the sibling characters of the specified character.

Sibling Characters: the characters that have the same base name as the specified character.

Jump to

Keyboard shortcuts

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