feat: Implement nextup for custom home

This commit is contained in:
sarendsen
2025-01-16 10:36:20 +01:00
parent 7a30a63335
commit 72b9675df4
2 changed files with 27 additions and 6 deletions

View File

@@ -80,6 +80,7 @@ export type Home = {
export type HomeSection = {
orientation?: "horizontal" | "vertical";
items?: HomeSectionItemResolver;
nextUp?: HomeSectionNextUpResolver;
};
export type HomeSectionItemResolver = {
@@ -92,6 +93,13 @@ export type HomeSectionItemResolver = {
filters?: Array<ItemFilter>;
};
export type HomeSectionNextUpResolver = {
parentId?: string;
limit?: number;
enableResumable?: boolean;
enableRewatching?: boolean;
};
export type Settings = {
home?: Home | null;
autoRotate?: boolean;