hook

package
v0.27.1 Latest Latest
Warning

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

Go to latest
Published: Oct 10, 2024 License: AGPL-3.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

Functions

This section is empty.

Types

type TriggerEnum

type TriggerEnum string
const (
	SceneMarkerCreatePost  TriggerEnum = "SceneMarker.Create.Post"
	SceneMarkerUpdatePost  TriggerEnum = "SceneMarker.Update.Post"
	SceneMarkerDestroyPost TriggerEnum = "SceneMarker.Destroy.Post"

	SceneCreatePost  TriggerEnum = "Scene.Create.Post"
	SceneUpdatePost  TriggerEnum = "Scene.Update.Post"
	SceneDestroyPost TriggerEnum = "Scene.Destroy.Post"

	ImageCreatePost  TriggerEnum = "Image.Create.Post"
	ImageUpdatePost  TriggerEnum = "Image.Update.Post"
	ImageDestroyPost TriggerEnum = "Image.Destroy.Post"

	GalleryCreatePost  TriggerEnum = "Gallery.Create.Post"
	GalleryUpdatePost  TriggerEnum = "Gallery.Update.Post"
	GalleryDestroyPost TriggerEnum = "Gallery.Destroy.Post"

	GalleryChapterCreatePost  TriggerEnum = "GalleryChapter.Create.Post"
	GalleryChapterUpdatePost  TriggerEnum = "GalleryChapter.Update.Post"
	GalleryChapterDestroyPost TriggerEnum = "GalleryChapter.Destroy.Post"

	// deprecated - use Group hooks instead
	// for now, both movie and group hooks will be executed
	MovieCreatePost  TriggerEnum = "Movie.Create.Post"
	MovieUpdatePost  TriggerEnum = "Movie.Update.Post"
	MovieDestroyPost TriggerEnum = "Movie.Destroy.Post"

	GroupCreatePost  TriggerEnum = "Group.Create.Post"
	GroupUpdatePost  TriggerEnum = "Group.Update.Post"
	GroupDestroyPost TriggerEnum = "Group.Destroy.Post"

	PerformerCreatePost  TriggerEnum = "Performer.Create.Post"
	PerformerUpdatePost  TriggerEnum = "Performer.Update.Post"
	PerformerDestroyPost TriggerEnum = "Performer.Destroy.Post"

	StudioCreatePost  TriggerEnum = "Studio.Create.Post"
	StudioUpdatePost  TriggerEnum = "Studio.Update.Post"
	StudioDestroyPost TriggerEnum = "Studio.Destroy.Post"

	TagCreatePost  TriggerEnum = "Tag.Create.Post"
	TagUpdatePost  TriggerEnum = "Tag.Update.Post"
	TagMergePost   TriggerEnum = "Tag.Merge.Post"
	TagDestroyPost TriggerEnum = "Tag.Destroy.Post"
)

func (TriggerEnum) IsValid

func (e TriggerEnum) IsValid() bool

func (TriggerEnum) String

func (e TriggerEnum) String() string

Jump to

Keyboard shortcuts

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