schema

package
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: Jul 31, 2026 License: GPL-3.0 Imports: 8 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ApiKey

type ApiKey struct {
	ent.Schema
}

func (ApiKey) Edges

func (ApiKey) Edges() []ent.Edge

func (ApiKey) Fields

func (ApiKey) Fields() []ent.Field

func (ApiKey) Mixin

func (ApiKey) Mixin() []ent.Mixin

type DownloadRecord

type DownloadRecord struct {
	ent.Schema
}

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 Episode

type Episode struct {
	ent.Schema
}

func (Episode) Edges

func (Episode) Edges() []ent.Edge

func (Episode) Fields

func (Episode) Fields() []ent.Field

func (Episode) Mixin

func (Episode) Mixin() []ent.Mixin

type ImportScan

type ImportScan struct{ ent.Schema }

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

type ImportScanFile struct{ ent.Schema }

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

type ImportScanShow struct{ ent.Schema }

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 Invite

type Invite struct {
	ent.Schema
}

func (Invite) Edges

func (Invite) Edges() []ent.Edge

func (Invite) Fields

func (Invite) Fields() []ent.Field

func (Invite) Mixin

func (Invite) Mixin() []ent.Mixin

type MediaFile

type MediaFile struct {
	ent.Schema
}

func (MediaFile) Edges

func (MediaFile) Edges() []ent.Edge

func (MediaFile) Fields

func (MediaFile) Fields() []ent.Field

func (MediaFile) Mixin

func (MediaFile) Mixin() []ent.Mixin

type Movie

type Movie struct {
	ent.Schema
}

func (Movie) Edges

func (Movie) Edges() []ent.Edge

func (Movie) Fields

func (Movie) Fields() []ent.Field

func (Movie) Indexes

func (Movie) Indexes() []ent.Index

func (Movie) Mixin

func (Movie) Mixin() []ent.Mixin

type MovieEvent

type MovieEvent struct{ ent.Schema }

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

type OIDCIdentity struct {
	ent.Schema
}

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 Request

type Request struct {
	ent.Schema
}

func (Request) Edges

func (Request) Edges() []ent.Edge

func (Request) Fields

func (Request) Fields() []ent.Field

func (Request) Mixin

func (Request) 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

type ScheduledJob struct {
	ent.Schema
}

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 Season

type Season struct {
	ent.Schema
}

func (Season) Edges

func (Season) Edges() []ent.Edge

func (Season) Fields

func (Season) Fields() []ent.Field

func (Season) Mixin

func (Season) Mixin() []ent.Mixin

type Session

type Session struct {
	ent.Schema
}

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.

func (Session) Edges

func (Session) Edges() []ent.Edge

func (Session) Fields

func (Session) Fields() []ent.Field

func (Session) Mixin

func (Session) Mixin() []ent.Mixin

type TVShow

type TVShow struct {
	ent.Schema
}

func (TVShow) Edges

func (TVShow) Edges() []ent.Edge

func (TVShow) Fields

func (TVShow) Fields() []ent.Field

func (TVShow) Mixin

func (TVShow) Mixin() []ent.Mixin

type TorrentSession added in v1.1.0

type TorrentSession struct {
	ent.Schema
}

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

type User

type User struct {
	ent.Schema
}

func (User) Edges

func (User) Edges() []ent.Edge

func (User) Fields

func (User) Fields() []ent.Field

func (User) Mixin

func (User) Mixin() []ent.Mixin

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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