mirror of
https://gitea.invidious.io/iv-org/invidious-copy-2022-08-14.git
synced 2024-08-15 00:53:20 +00:00
Update Video mapping
This commit is contained in:
parent
09a9364427
commit
548ad14154
1 changed files with 14 additions and 26 deletions
|
@ -85,32 +85,20 @@ class Video
|
||||||
default: HTTP::Params.parse(""),
|
default: HTTP::Params.parse(""),
|
||||||
converter: Video::HTTPParamConverter,
|
converter: Video::HTTPParamConverter,
|
||||||
},
|
},
|
||||||
updated: Time,
|
updated: Time,
|
||||||
title: String,
|
title: String,
|
||||||
views: Int64,
|
views: Int64,
|
||||||
likes: Int32,
|
likes: Int32,
|
||||||
dislikes: Int32,
|
dislikes: Int32,
|
||||||
wilson_score: Float64,
|
wilson_score: Float64,
|
||||||
published: Time,
|
published: Time,
|
||||||
description: String,
|
description: String,
|
||||||
language: String?,
|
language: String?,
|
||||||
author: String,
|
author: String,
|
||||||
ucid: String,
|
ucid: String,
|
||||||
allowed_regions: {
|
allowed_regions: Array(String),
|
||||||
type: Array(String),
|
is_family_friendly: Bool,
|
||||||
nilable: true,
|
genre: String,
|
||||||
default: [] of String,
|
|
||||||
},
|
|
||||||
is_family_friendly: {
|
|
||||||
type: Bool,
|
|
||||||
nilable: true,
|
|
||||||
default: nil,
|
|
||||||
},
|
|
||||||
genre: {
|
|
||||||
type: String,
|
|
||||||
nilable: true,
|
|
||||||
default: nil,
|
|
||||||
},
|
|
||||||
})
|
})
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue