Feature/automatic chapter deletion more options (#484)
* Add missing translations keys * [Codegen] Update to latest server schema changes * [VersionMapping] Require server version "r1431" for preview * Rename "deleteChaptersAutoMarkedRead" metadata setting * Add more options to auto delete chapters while reading Makes it possible to delete the last to fifth to last read chapter instead of only being able to delete the last read chapter
This commit is contained in:
@@ -10,6 +10,11 @@ export type AboutServerPayloadFieldPolicy = {
|
||||
revision?: FieldPolicy<any> | FieldReadFunction<any>,
|
||||
version?: FieldPolicy<any> | FieldReadFunction<any>
|
||||
};
|
||||
export type AboutWebUIKeySpecifier = ('channel' | 'tag' | AboutWebUIKeySpecifier)[];
|
||||
export type AboutWebUIFieldPolicy = {
|
||||
channel?: FieldPolicy<any> | FieldReadFunction<any>,
|
||||
tag?: FieldPolicy<any> | FieldReadFunction<any>
|
||||
};
|
||||
export type BackupRestoreStatusKeySpecifier = ('mangaProgress' | 'state' | 'totalManga' | BackupRestoreStatusKeySpecifier)[];
|
||||
export type BackupRestoreStatusFieldPolicy = {
|
||||
mangaProgress?: FieldPolicy<any> | FieldReadFunction<any>,
|
||||
@@ -105,6 +110,13 @@ export type CheckForServerUpdatesPayloadFieldPolicy = {
|
||||
tag?: FieldPolicy<any> | FieldReadFunction<any>,
|
||||
url?: FieldPolicy<any> | FieldReadFunction<any>
|
||||
};
|
||||
export type ClearCachedImagesPayloadKeySpecifier = ('cachedPages' | 'cachedThumbnails' | 'clientMutationId' | 'downloadedThumbnails' | ClearCachedImagesPayloadKeySpecifier)[];
|
||||
export type ClearCachedImagesPayloadFieldPolicy = {
|
||||
cachedPages?: FieldPolicy<any> | FieldReadFunction<any>,
|
||||
cachedThumbnails?: FieldPolicy<any> | FieldReadFunction<any>,
|
||||
clientMutationId?: FieldPolicy<any> | FieldReadFunction<any>,
|
||||
downloadedThumbnails?: FieldPolicy<any> | FieldReadFunction<any>
|
||||
};
|
||||
export type ClearDownloaderPayloadKeySpecifier = ('clientMutationId' | 'downloadStatus' | ClearDownloaderPayloadKeySpecifier)[];
|
||||
export type ClearDownloaderPayloadFieldPolicy = {
|
||||
clientMutationId?: FieldPolicy<any> | FieldReadFunction<any>,
|
||||
@@ -390,8 +402,9 @@ export type MultiSelectListPreferenceFieldPolicy = {
|
||||
title?: FieldPolicy<any> | FieldReadFunction<any>,
|
||||
visible?: FieldPolicy<any> | FieldReadFunction<any>
|
||||
};
|
||||
export type MutationKeySpecifier = ('clearDownloader' | 'createBackup' | 'createCategory' | 'deleteCategory' | 'deleteCategoryMeta' | 'deleteChapterMeta' | 'deleteDownloadedChapter' | 'deleteDownloadedChapters' | 'deleteGlobalMeta' | 'deleteMangaMeta' | 'dequeueChapterDownload' | 'dequeueChapterDownloads' | 'downloadAhead' | 'enqueueChapterDownload' | 'enqueueChapterDownloads' | 'fetchChapterPages' | 'fetchChapters' | 'fetchExtensions' | 'fetchManga' | 'fetchSourceManga' | 'installExternalExtension' | 'reorderChapterDownload' | 'resetSettings' | 'restoreBackup' | 'setCategoryMeta' | 'setChapterMeta' | 'setGlobalMeta' | 'setMangaMeta' | 'setSettings' | 'startDownloader' | 'stopDownloader' | 'updateCategories' | 'updateCategory' | 'updateCategoryManga' | 'updateCategoryOrder' | 'updateChapter' | 'updateChapters' | 'updateExtension' | 'updateExtensions' | 'updateLibraryManga' | 'updateManga' | 'updateMangaCategories' | 'updateMangas' | 'updateMangasCategories' | 'updateSourcePreference' | 'updateStop' | 'updateWebUI' | MutationKeySpecifier)[];
|
||||
export type MutationKeySpecifier = ('clearCachedImages' | 'clearDownloader' | 'createBackup' | 'createCategory' | 'deleteCategory' | 'deleteCategoryMeta' | 'deleteChapterMeta' | 'deleteDownloadedChapter' | 'deleteDownloadedChapters' | 'deleteGlobalMeta' | 'deleteMangaMeta' | 'dequeueChapterDownload' | 'dequeueChapterDownloads' | 'downloadAhead' | 'enqueueChapterDownload' | 'enqueueChapterDownloads' | 'fetchChapterPages' | 'fetchChapters' | 'fetchExtensions' | 'fetchManga' | 'fetchSourceManga' | 'installExternalExtension' | 'reorderChapterDownload' | 'resetSettings' | 'restoreBackup' | 'setCategoryMeta' | 'setChapterMeta' | 'setGlobalMeta' | 'setMangaMeta' | 'setSettings' | 'startDownloader' | 'stopDownloader' | 'updateCategories' | 'updateCategory' | 'updateCategoryManga' | 'updateCategoryOrder' | 'updateChapter' | 'updateChapters' | 'updateExtension' | 'updateExtensions' | 'updateLibraryManga' | 'updateManga' | 'updateMangaCategories' | 'updateMangas' | 'updateMangasCategories' | 'updateSourcePreference' | 'updateStop' | 'updateWebUI' | MutationKeySpecifier)[];
|
||||
export type MutationFieldPolicy = {
|
||||
clearCachedImages?: FieldPolicy<any> | FieldReadFunction<any>,
|
||||
clearDownloader?: FieldPolicy<any> | FieldReadFunction<any>,
|
||||
createBackup?: FieldPolicy<any> | FieldReadFunction<any>,
|
||||
createCategory?: FieldPolicy<any> | FieldReadFunction<any>,
|
||||
@@ -814,6 +827,12 @@ export type ValidateBackupSourceFieldPolicy = {
|
||||
id?: FieldPolicy<any> | FieldReadFunction<any>,
|
||||
name?: FieldPolicy<any> | FieldReadFunction<any>
|
||||
};
|
||||
export type WebUIUpdateCheckKeySpecifier = ('channel' | 'tag' | 'updateAvailable' | WebUIUpdateCheckKeySpecifier)[];
|
||||
export type WebUIUpdateCheckFieldPolicy = {
|
||||
channel?: FieldPolicy<any> | FieldReadFunction<any>,
|
||||
tag?: FieldPolicy<any> | FieldReadFunction<any>,
|
||||
updateAvailable?: FieldPolicy<any> | FieldReadFunction<any>
|
||||
};
|
||||
export type WebUIUpdateInfoKeySpecifier = ('channel' | 'tag' | 'updateAvailable' | WebUIUpdateInfoKeySpecifier)[];
|
||||
export type WebUIUpdateInfoFieldPolicy = {
|
||||
channel?: FieldPolicy<any> | FieldReadFunction<any>,
|
||||
@@ -836,6 +855,10 @@ export type StrictTypedTypePolicies = {
|
||||
keyFields?: false | AboutServerPayloadKeySpecifier | (() => undefined | AboutServerPayloadKeySpecifier),
|
||||
fields?: AboutServerPayloadFieldPolicy,
|
||||
},
|
||||
AboutWebUI?: Omit<TypePolicy, "fields" | "keyFields"> & {
|
||||
keyFields?: false | AboutWebUIKeySpecifier | (() => undefined | AboutWebUIKeySpecifier),
|
||||
fields?: AboutWebUIFieldPolicy,
|
||||
},
|
||||
BackupRestoreStatus?: Omit<TypePolicy, "fields" | "keyFields"> & {
|
||||
keyFields?: false | BackupRestoreStatusKeySpecifier | (() => undefined | BackupRestoreStatusKeySpecifier),
|
||||
fields?: BackupRestoreStatusFieldPolicy,
|
||||
@@ -884,6 +907,10 @@ export type StrictTypedTypePolicies = {
|
||||
keyFields?: false | CheckForServerUpdatesPayloadKeySpecifier | (() => undefined | CheckForServerUpdatesPayloadKeySpecifier),
|
||||
fields?: CheckForServerUpdatesPayloadFieldPolicy,
|
||||
},
|
||||
ClearCachedImagesPayload?: Omit<TypePolicy, "fields" | "keyFields"> & {
|
||||
keyFields?: false | ClearCachedImagesPayloadKeySpecifier | (() => undefined | ClearCachedImagesPayloadKeySpecifier),
|
||||
fields?: ClearCachedImagesPayloadFieldPolicy,
|
||||
},
|
||||
ClearDownloaderPayload?: Omit<TypePolicy, "fields" | "keyFields"> & {
|
||||
keyFields?: false | ClearDownloaderPayloadKeySpecifier | (() => undefined | ClearDownloaderPayloadKeySpecifier),
|
||||
fields?: ClearDownloaderPayloadFieldPolicy,
|
||||
@@ -1248,6 +1275,10 @@ export type StrictTypedTypePolicies = {
|
||||
keyFields?: false | ValidateBackupSourceKeySpecifier | (() => undefined | ValidateBackupSourceKeySpecifier),
|
||||
fields?: ValidateBackupSourceFieldPolicy,
|
||||
},
|
||||
WebUIUpdateCheck?: Omit<TypePolicy, "fields" | "keyFields"> & {
|
||||
keyFields?: false | WebUIUpdateCheckKeySpecifier | (() => undefined | WebUIUpdateCheckKeySpecifier),
|
||||
fields?: WebUIUpdateCheckFieldPolicy,
|
||||
},
|
||||
WebUIUpdateInfo?: Omit<TypePolicy, "fields" | "keyFields"> & {
|
||||
keyFields?: false | WebUIUpdateInfoKeySpecifier | (() => undefined | WebUIUpdateInfoKeySpecifier),
|
||||
fields?: WebUIUpdateInfoFieldPolicy,
|
||||
|
||||
Reference in New Issue
Block a user