Add library filter for trackers

This commit is contained in:
schroda
2024-03-28 20:00:46 +01:00
parent 511b1f7c5e
commit 816cbee145
6 changed files with 49 additions and 6 deletions

View File

@@ -21,6 +21,7 @@ import {
MetaType,
SourcePreferenceChangeInput,
} from '@/lib/graphql/generated/graphql.ts';
import { TBaseTracker } from '@/lib/data/Trackers.ts';
type GenericLocation<State = any> = Omit<Location, 'state'> & { state?: State };
@@ -391,6 +392,7 @@ export interface LibraryOptions {
sorts: NullAndUndefined<LibrarySortMode>;
sortDesc: NullAndUndefined<boolean>;
showTabSize: boolean;
tracker: Record<TBaseTracker['id'], NullAndUndefined<boolean>>;
}
export type UpdateCheck = {