mirror of https://github.com/iv-org/invidious.git
Update Video mapping
This commit is contained in:
parent
09a9364427
commit
548ad14154
|
@ -85,32 +85,20 @@ class Video
|
|||
default: HTTP::Params.parse(""),
|
||||
converter: Video::HTTPParamConverter,
|
||||
},
|
||||
updated: Time,
|
||||
title: String,
|
||||
views: Int64,
|
||||
likes: Int32,
|
||||
dislikes: Int32,
|
||||
wilson_score: Float64,
|
||||
published: Time,
|
||||
description: String,
|
||||
language: String?,
|
||||
author: String,
|
||||
ucid: String,
|
||||
allowed_regions: {
|
||||
type: Array(String),
|
||||
nilable: true,
|
||||
default: [] of String,
|
||||
},
|
||||
is_family_friendly: {
|
||||
type: Bool,
|
||||
nilable: true,
|
||||
default: nil,
|
||||
},
|
||||
genre: {
|
||||
type: String,
|
||||
nilable: true,
|
||||
default: nil,
|
||||
},
|
||||
updated: Time,
|
||||
title: String,
|
||||
views: Int64,
|
||||
likes: Int32,
|
||||
dislikes: Int32,
|
||||
wilson_score: Float64,
|
||||
published: Time,
|
||||
description: String,
|
||||
language: String?,
|
||||
author: String,
|
||||
ucid: String,
|
||||
allowed_regions: Array(String),
|
||||
is_family_friendly: Bool,
|
||||
genre: String,
|
||||
})
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in New Issue