gqlmodel

package
v0.8.0-beta.5 Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2024 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Episodes

type Episodes struct {
	Label   string
	Seasons []model.Season `json:"omitempty"`
}

type TorrentContent

type TorrentContent struct {
	ID              string
	InfoHash        protocol.ID
	ContentType     model.NullContentType
	ContentSource   model.NullString
	ContentID       model.NullString
	Title           string
	Languages       []model.Language `json:"omitempty"`
	Episodes        *Episodes
	VideoResolution model.NullVideoResolution
	VideoSource     model.NullVideoSource
	VideoCodec      model.NullVideoCodec
	Video3d         model.NullVideo3d
	VideoModifier   model.NullVideoModifier
	ReleaseGroup    model.NullString
	SearchString    string
	CreatedAt       time.Time
	UpdatedAt       time.Time
	Torrent         model.Torrent
	Content         *model.Content
}

func NewTorrentContentFromResultItem

func NewTorrentContentFromResultItem(item search.TorrentContentResultItem) TorrentContent

type TorrentContentQuery added in v0.3.0

type TorrentContentQuery struct {
	TorrentContentSearch search.TorrentContentSearch
}

func (TorrentContentQuery) Search added in v0.3.0

type TorrentContentSearchResult added in v0.3.0

type TorrentContentSearchResult struct {
	TotalCount           uint
	TotalCountIsEstimate bool
	HasNextPage          bool
	Items                []TorrentContent
	Aggregations         gen.TorrentContentAggregations
}

type TorrentMutation added in v0.3.0

type TorrentMutation struct{}

type TorrentQuery added in v0.3.0

type TorrentQuery struct {
	TorrentSearch search.TorrentSearch
}

func (TorrentQuery) SuggestTags added in v0.3.0

type TorrentSource

type TorrentSource struct {
	Key      string
	Name     string
	ImportID model.NullString
	Seeders  model.NullUint
	Leechers model.NullUint
}

func TorrentSourcesFromTorrent

func TorrentSourcesFromTorrent(t model.Torrent) []TorrentSource

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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