mirror of
https://github.com/jeffvli/feishin.git
synced 2026-05-07 04:20:12 +02:00
optimize ND/JF list fetch
- no longer requires 2 separate fetches for count and data - the list count includes the first page so we set the query data directly
This commit is contained in:
@@ -487,7 +487,7 @@ export interface AlbumListQuery extends AlbumListNavidromeQuery, BaseQuery<Album
|
||||
// Album List
|
||||
export type AlbumListResponse = BasePaginatedResponse<Album[]>;
|
||||
|
||||
export type ListCountQuery<TQuery> = Omit<TQuery, 'limit' | 'startIndex'>;
|
||||
export type ListCountQuery<TQuery> = Omit<TQuery, 'startIndex'>;
|
||||
|
||||
interface AlbumListNavidromeQuery {
|
||||
hasRating?: boolean;
|
||||
|
||||
Reference in New Issue
Block a user