command

package
v1.6.0 Latest Latest
Warning

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

Go to latest
Published: Dec 21, 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 {
	ID       ouid.OUID `gorm:"-"`
	Name     *string
	Username *string
	UID      *string
}

type ArtworkArtistCreation

type ArtworkArtistCreation struct {
	Name     string
	UID      string
	Username string
}

type ArtworkBasicPatch

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

type ArtworkCreation

type ArtworkCreation struct {
	ID          ouid.OUID
	Title       string
	Description string
	R18         bool
	SourceType  shared.SourceType
	SourceURL   string

	Artist ArtworkArtistCreation

	Tags []string

	Pictures    []ArtworkPictureCreation
	UgoiraMetas []*ArtworkUgoiraCreation
	Videos      []ArtworkVideoCreation
}

type ArtworkPictureCreation

type ArtworkPictureCreation struct {
	Index     uint
	Thumbnail string
	Original  string

	Width     uint
	Height    uint
	Phash     string
	ThumbHash string

	TelegramInfo shared.TelegramInfo
	StorageInfo  shared.StorageInfo
}

type ArtworkUgoiraCreation

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

type ArtworkVideoCreation added in v1.5.0

type ArtworkVideoCreation struct {
	Index      uint
	URL        string
	Width      uint
	Height     uint
	DurationMs uint
	Poster     string
	MimeType   string

	TelegramInfo    shared.TelegramInfo
	OriginalStorage shared.StorageDetail
}

Jump to

Keyboard shortcuts

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