mirror of
https://github.com/streamyfin/streamyfin.git
synced 2025-08-20 18:37:18 +02:00
refactor: home section lists
This commit is contained in:
@@ -74,7 +74,7 @@ export enum DownloadMethod {
|
||||
}
|
||||
|
||||
export type Home = {
|
||||
sections: [Object];
|
||||
sections: Array<HomeSection>;
|
||||
};
|
||||
|
||||
export type HomeSection = {
|
||||
@@ -84,6 +84,7 @@ export type HomeSection = {
|
||||
};
|
||||
|
||||
export type HomeSectionItemResolver = {
|
||||
title?: string;
|
||||
sortBy?: Array<ItemSortBy>;
|
||||
sortOrder?: Array<SortOrder>;
|
||||
includeItemTypes?: Array<BaseItemKind>;
|
||||
|
||||
Reference in New Issue
Block a user