Documentation
¶
Index ¶
- type ApiKey
- type DownloadRecord
- type Episode
- type ImportScan
- type ImportScanFile
- type ImportScanShow
- type Invite
- type MediaFile
- type Movie
- type MovieEvent
- type OIDCIdentity
- type Request
- type ScannedCandidate
- type ScannedShowCandidate
- type ScheduledJob
- type Season
- type Session
- type TVShow
- type TorrentSession
- type User
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DownloadRecord ¶
func (DownloadRecord) Edges ¶
func (DownloadRecord) Edges() []ent.Edge
func (DownloadRecord) Fields ¶
func (DownloadRecord) Fields() []ent.Field
func (DownloadRecord) Mixin ¶
func (DownloadRecord) Mixin() []ent.Mixin
type ImportScan ¶
func (ImportScan) Edges ¶
func (ImportScan) Edges() []ent.Edge
func (ImportScan) Fields ¶
func (ImportScan) Fields() []ent.Field
func (ImportScan) Indexes ¶
func (ImportScan) Indexes() []ent.Index
func (ImportScan) Mixin ¶
func (ImportScan) Mixin() []ent.Mixin
type ImportScanFile ¶
func (ImportScanFile) Edges ¶
func (ImportScanFile) Edges() []ent.Edge
func (ImportScanFile) Fields ¶
func (ImportScanFile) Fields() []ent.Field
func (ImportScanFile) Indexes ¶
func (ImportScanFile) Indexes() []ent.Index
func (ImportScanFile) Mixin ¶
func (ImportScanFile) Mixin() []ent.Mixin
type ImportScanShow ¶
ImportScanShow is one detected show folder in a series import scan.
func (ImportScanShow) Edges ¶
func (ImportScanShow) Edges() []ent.Edge
func (ImportScanShow) Fields ¶
func (ImportScanShow) Fields() []ent.Field
func (ImportScanShow) Indexes ¶
func (ImportScanShow) Indexes() []ent.Index
func (ImportScanShow) Mixin ¶
func (ImportScanShow) Mixin() []ent.Mixin
type MovieEvent ¶
func (MovieEvent) Edges ¶
func (MovieEvent) Edges() []ent.Edge
func (MovieEvent) Fields ¶
func (MovieEvent) Fields() []ent.Field
func (MovieEvent) Indexes ¶
func (MovieEvent) Indexes() []ent.Index
func (MovieEvent) Mixin ¶
func (MovieEvent) Mixin() []ent.Mixin
type OIDCIdentity ¶
func (OIDCIdentity) Edges ¶
func (OIDCIdentity) Edges() []ent.Edge
func (OIDCIdentity) Fields ¶
func (OIDCIdentity) Fields() []ent.Field
func (OIDCIdentity) Indexes ¶
func (OIDCIdentity) Indexes() []ent.Index
func (OIDCIdentity) Mixin ¶
func (OIDCIdentity) Mixin() []ent.Mixin
type ScannedCandidate ¶
type ScannedCandidate struct {
TMDBID uint32 `json:"tmdb_id"`
Title string `json:"title"`
Year uint16 `json:"year"`
}
ScannedCandidate is the JSON inner type stored in ImportScanFile.candidates. Defined here (rather than in the bulkimport package) so ent code-gen can reference it without an import cycle.
type ScannedShowCandidate ¶
type ScannedShowCandidate struct {
TVDBID uint32 `json:"tvdb_id"`
Title string `json:"title"`
Year uint16 `json:"year,omitempty"`
}
ScannedShowCandidate is a TVDB match option surfaced for a show folder. Stored as JSON in ImportScanShow.candidates; defined here so ent code-gen can reference it without an import cycle (mirrors ScannedCandidate).
type ScheduledJob ¶
func (ScheduledJob) Edges ¶
func (ScheduledJob) Edges() []ent.Edge
func (ScheduledJob) Fields ¶
func (ScheduledJob) Fields() []ent.Field
func (ScheduledJob) Mixin ¶
func (ScheduledJob) Mixin() []ent.Mixin
type Session ¶
Session represents an active authenticated session for a user. Each JWT carries a jti (JWT ID) that maps 1:1 to a row here so the server can revoke individual sessions without rotating the signing secret.
type TorrentSession ¶ added in v1.1.0
TorrentSession is one torrent held by the builtin BitTorrent engine. Rows are re-added to the engine on boot; piece completion lives in the engine's bolt file, so a re-add never re-hashes or re-downloads.
func (TorrentSession) Fields ¶ added in v1.1.0
func (TorrentSession) Fields() []ent.Field
func (TorrentSession) Mixin ¶ added in v1.1.0
func (TorrentSession) Mixin() []ent.Mixin