command

package
v1.7.1 Latest Latest
Warning

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

Go to latest
Published: Dec 30, 2025 License: AGPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ArtistPatch

type ArtistPatch struct {
	Name     *string
	Username *string
	UID      *string
	ID       ouid.OUID `gorm:"-"`
}

type ArtworkArtistCreation

type ArtworkArtistCreation struct {
	Name     string
	UID      string
	Username string
}

type ArtworkBasicPatch

type ArtworkBasicPatch struct {
	Title       *string
	Description *string
	R18         *shared.R18Type
	ID          ouid.OUID `gorm:"-"`
}

type ArtworkCreation

type ArtworkCreation struct {
	Artist      ArtworkArtistCreation
	Title       string
	Description string
	SourceType  shared.SourceType
	SourceURL   string
	Tags        []string
	Pictures    []ArtworkPictureCreation
	UgoiraMetas []*ArtworkUgoiraCreation
	Videos      []ArtworkVideoCreation
	ID          ouid.OUID
	R18         bool
}

type ArtworkPictureCreation

type ArtworkPictureCreation struct {
	StorageInfo  shared.StorageInfo
	TelegramInfo shared.TelegramInfo
	Thumbnail    string
	Original     string
	Phash        string
	ThumbHash    string
	Index        uint
	Width        uint
	Height       uint
}

type ArtworkUgoiraCreation

type ArtworkUgoiraCreation struct {
	TelegramInfo    shared.TelegramInfo
	OriginalStorage shared.StorageDetail
	Data            shared.UgoiraMetaData
	Index           uint
}

type ArtworkVideoCreation added in v1.5.0

type ArtworkVideoCreation struct {
	TelegramInfo    shared.TelegramInfo
	OriginalStorage shared.StorageDetail
	URL             string
	Poster          string
	MimeType        string
	Index           uint
	Width           uint
	Height          uint
	DurationMs      uint
}

Jump to

Keyboard shortcuts

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