Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
tank
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Container Registry
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
AURA
tank
Commits
82197fd3
Verified
Commit
82197fd3
authored
3 months ago
by
Ernesto Rico Schmidt
Browse files
Options
Downloads
Patches
Plain Diff
feat: remove last remaining Playlist & PlaylistEntry types
parent
c736cb3a
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
store/types.go
+0
-25
0 additions, 25 deletions
store/types.go
with
0 additions
and
25 deletions
store/types.go
+
0
−
25
View file @
82197fd3
...
...
@@ -178,28 +178,3 @@ type ImportLog struct {
// Mind that ImportLogs is not []ImportLog but rather a map containing objects of type LOG
type
ImportLogs
map
[
string
]
*
Log
//******* Playlists
type
PlaylistEntry
struct
{
ID
uint64
`json:"-" gorm:"primaryKey"`
PlaylistID
uint64
`json:"-" gorm:"not null;index;uniqueIndex:unique_playlist_line_numbers"`
LineNum
uint
`json:"-" gorm:"not null;uniqueIndex:unique_playlist_line_numbers"`
URI
string
`json:"uri" gorm:"size:1024"`
Duration
*
float64
`json:"duration,omitempty"`
File
*
File
`json:"file,omitempty" gorm:"associationAutoUpdate:false;associationAutoCreate:false"`
FileID
*
uint64
`json:"-" gorm:"index"`
}
type
Playlist
struct
{
ID
uint64
`json:"id" gorm:"primaryKey"`
CreatedAt
time
.
Time
`json:"created"`
UpdatedAt
time
.
Time
`json:"updated"`
Description
string
`json:"description"`
PlayoutMode
string
`json:"playoutMode" gorm:"not null;default:'linear'"`
ShowID
uint64
`json:"showId" gorm:"not null;index"`
Show
Show
`json:"-" gorm:"associationForeignKey:ID"`
Entries
[]
PlaylistEntry
`json:"entries"`
}
//****************
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment