Introduce override filters while searching setting (#242)

* Introduced override filters while searching setting

* update branch; change strings and method names

* fix eslint issue

* code review changes

* moved search setting types into its own type

---------

Co-authored-by: akxer <>
This commit is contained in:
akabhirav
2023-03-04 22:21:24 +05:30
committed by GitHub
parent dcc18bba00
commit a67370be62
5 changed files with 81 additions and 5 deletions

View File

@@ -83,7 +83,9 @@ export type AllowedMetadataValueTypes = string | boolean | number | undefined;
export type MangaMetadataKeys = keyof IReaderSettings;
export type AppMetadataKeys = MangaMetadataKeys;
export type SearchMetadataKeys = keyof ISearchSettings;
export type AppMetadataKeys = MangaMetadataKeys | SearchMetadataKeys;
export type MetadataKeyValuePair = [AppMetadataKeys, AllowedMetadataValueTypes];
@@ -190,6 +192,10 @@ export interface IReaderSettings {
readerType: ReaderType;
}
export interface ISearchSettings {
ignoreFilters: boolean;
}
export interface IReaderPage {
index: number;
src: string;