Add option to include and exclude categories from the global update (#265)

This commit is contained in:
schroda
2023-04-22 13:03:51 +02:00
committed by GitHub
parent 79b2305e54
commit 9a27335760
5 changed files with 262 additions and 0 deletions

View File

@@ -173,11 +173,18 @@ export interface IPartialChapter {
lastPageRead: number;
}
export enum IncludeInGlobalUpdate {
EXCLUDE = 0,
INCLUDE = 1,
UNSET = -1,
}
export interface ICategory {
id: number;
order: number;
name: string;
default: boolean;
includeInUpdate: IncludeInGlobalUpdate;
meta: Metadata;
size: number;
}