Documentation ¶
Index ¶
- Variables
- type ContentTypeAgg
- type ContentTypeFacetInput
- type GenreAgg
- type GenreFacetInput
- type LanguageAgg
- type LanguageFacetInput
- type Mutation
- type Query
- type ReleaseYearAgg
- type ReleaseYearFacetInput
- type SuggestTagsQueryInput
- type SystemQuery
- type TorrentContentAggregations
- type TorrentContentFacetsInput
- type TorrentContentOrderBy
- type TorrentContentOrderByInput
- type TorrentFileTypeAgg
- type TorrentFileTypeFacetInput
- type TorrentSourceAgg
- type TorrentSourceFacetInput
- type TorrentTagAgg
- type TorrentTagFacetInput
- type VideoResolutionAgg
- type VideoResolutionFacetInput
- type VideoSourceAgg
- type VideoSourceFacetInput
Constants ¶
This section is empty.
Variables ¶
View Source
var AllTorrentContentOrderBy = []TorrentContentOrderBy{ TorrentContentOrderByRelevance, TorrentContentOrderByPublishedAt, TorrentContentOrderByUpdatedAt, TorrentContentOrderBySize, TorrentContentOrderByFiles, TorrentContentOrderBySeeders, TorrentContentOrderByLeechers, TorrentContentOrderByName, TorrentContentOrderByInfoHash, }
Functions ¶
This section is empty.
Types ¶
type ContentTypeAgg ¶
type ContentTypeAgg struct { Value *model.ContentType `json:"value,omitempty"` Label string `json:"label"` Count int `json:"count"` IsEstimate bool `json:"isEstimate"` }
type ContentTypeFacetInput ¶
type GenreFacetInput ¶
type LanguageAgg ¶
type LanguageFacetInput ¶
type ReleaseYearAgg ¶
type ReleaseYearFacetInput ¶
type SuggestTagsQueryInput ¶ added in v0.3.0
type SystemQuery ¶ added in v0.7.10
type SystemQuery struct {
Version string `json:"version"`
}
type TorrentContentAggregations ¶
type TorrentContentAggregations struct { ContentType []ContentTypeAgg `json:"contentType,omitempty"` TorrentSource []TorrentSourceAgg `json:"torrentSource,omitempty"` TorrentTag []TorrentTagAgg `json:"torrentTag,omitempty"` TorrentFileType []TorrentFileTypeAgg `json:"torrentFileType,omitempty"` Language []LanguageAgg `json:"language,omitempty"` Genre []GenreAgg `json:"genre,omitempty"` ReleaseYear []ReleaseYearAgg `json:"releaseYear,omitempty"` VideoResolution []VideoResolutionAgg `json:"videoResolution,omitempty"` VideoSource []VideoSourceAgg `json:"videoSource,omitempty"` }
type TorrentContentFacetsInput ¶
type TorrentContentFacetsInput struct { ContentType graphql.Omittable[*ContentTypeFacetInput] `json:"contentType,omitempty"` TorrentSource graphql.Omittable[*TorrentSourceFacetInput] `json:"torrentSource,omitempty"` TorrentTag graphql.Omittable[*TorrentTagFacetInput] `json:"torrentTag,omitempty"` TorrentFileType graphql.Omittable[*TorrentFileTypeFacetInput] `json:"torrentFileType,omitempty"` Language graphql.Omittable[*LanguageFacetInput] `json:"language,omitempty"` Genre graphql.Omittable[*GenreFacetInput] `json:"genre,omitempty"` ReleaseYear graphql.Omittable[*ReleaseYearFacetInput] `json:"releaseYear,omitempty"` VideoResolution graphql.Omittable[*VideoResolutionFacetInput] `json:"videoResolution,omitempty"` VideoSource graphql.Omittable[*VideoSourceFacetInput] `json:"videoSource,omitempty"` }
type TorrentContentOrderBy ¶ added in v0.9.0
type TorrentContentOrderBy string
const ( TorrentContentOrderByRelevance TorrentContentOrderBy = "Relevance" TorrentContentOrderByPublishedAt TorrentContentOrderBy = "PublishedAt" TorrentContentOrderByUpdatedAt TorrentContentOrderBy = "UpdatedAt" TorrentContentOrderBySize TorrentContentOrderBy = "Size" TorrentContentOrderByFiles TorrentContentOrderBy = "Files" TorrentContentOrderBySeeders TorrentContentOrderBy = "Seeders" TorrentContentOrderByLeechers TorrentContentOrderBy = "Leechers" TorrentContentOrderByName TorrentContentOrderBy = "Name" TorrentContentOrderByInfoHash TorrentContentOrderBy = "InfoHash" )
func (TorrentContentOrderBy) IsValid ¶ added in v0.9.0
func (e TorrentContentOrderBy) IsValid() bool
func (TorrentContentOrderBy) MarshalGQL ¶ added in v0.9.0
func (e TorrentContentOrderBy) MarshalGQL(w io.Writer)
func (TorrentContentOrderBy) String ¶ added in v0.9.0
func (e TorrentContentOrderBy) String() string
func (*TorrentContentOrderBy) UnmarshalGQL ¶ added in v0.9.0
func (e *TorrentContentOrderBy) UnmarshalGQL(v interface{}) error
type TorrentContentOrderByInput ¶ added in v0.9.0
type TorrentContentOrderByInput struct { Field TorrentContentOrderBy `json:"field"` Descending graphql.Omittable[*bool] `json:"descending,omitempty"` }
type TorrentFileTypeAgg ¶
type TorrentSourceAgg ¶
type TorrentSourceFacetInput ¶
type TorrentTagAgg ¶ added in v0.3.0
type TorrentTagFacetInput ¶ added in v0.3.0
type VideoResolutionAgg ¶
type VideoResolutionAgg struct { Value *model.VideoResolution `json:"value,omitempty"` Label string `json:"label"` Count int `json:"count"` IsEstimate bool `json:"isEstimate"` }
type VideoSourceAgg ¶
type VideoSourceAgg struct { Value *model.VideoSource `json:"value,omitempty"` Label string `json:"label"` Count int `json:"count"` IsEstimate bool `json:"isEstimate"` }
type VideoSourceFacetInput ¶
Click to show internal directories.
Click to hide internal directories.