mirror of
https://github.com/zoriya/Kyoo.git
synced 2026-05-27 01:22:30 -04:00
Type Video in the scanner
This commit is contained in:
@@ -21,11 +21,15 @@ export const Guess = t.Recursive((Self) =>
|
||||
t.Object(
|
||||
{
|
||||
title: t.String(),
|
||||
year: t.Optional(t.Array(t.Integer(), { default: [] })),
|
||||
season: t.Optional(t.Array(t.Integer(), { default: [] })),
|
||||
episode: t.Optional(t.Array(t.Integer(), { default: [] })),
|
||||
kind: t.Optional(t.UnionEnum(["episode", "movie", "extra"])),
|
||||
extraKind: t.Optional(ExtraType),
|
||||
years: t.Optional(t.Array(t.Integer(), { default: [] })),
|
||||
episodes: t.Optional(
|
||||
t.Array(
|
||||
t.Object({ season: t.Nullable(t.Integer()), episode: t.Integer() }),
|
||||
{ default: [] },
|
||||
),
|
||||
),
|
||||
externalId: t.Optional(ExternalIds),
|
||||
|
||||
from: t.String({
|
||||
|
||||
Reference in New Issue
Block a user