Feature/tracking unbind use new mutation (#688)
* [Codegen] Update generated files * Use new "unbindTrack" mutation * Add option to delete remote track on unbind * [VersionMapping] Require server version "r1510" for preview
This commit is contained in:
@@ -305,6 +305,11 @@ export type FetchSourceMangaPayloadFieldPolicy = {
|
||||
hasNextPage?: FieldPolicy<any> | FieldReadFunction<any>,
|
||||
mangas?: FieldPolicy<any> | FieldReadFunction<any>
|
||||
};
|
||||
export type FetchTrackPayloadKeySpecifier = ('clientMutationId' | 'trackRecord' | FetchTrackPayloadKeySpecifier)[];
|
||||
export type FetchTrackPayloadFieldPolicy = {
|
||||
clientMutationId?: FieldPolicy<any> | FieldReadFunction<any>,
|
||||
trackRecord?: FieldPolicy<any> | FieldReadFunction<any>
|
||||
};
|
||||
export type GlobalMetaNodeListKeySpecifier = ('edges' | 'nodes' | 'pageInfo' | 'totalCount' | GlobalMetaNodeListKeySpecifier)[];
|
||||
export type GlobalMetaNodeListFieldPolicy = {
|
||||
edges?: FieldPolicy<any> | FieldReadFunction<any>,
|
||||
@@ -383,11 +388,12 @@ export type MangaNodeListFieldPolicy = {
|
||||
pageInfo?: FieldPolicy<any> | FieldReadFunction<any>,
|
||||
totalCount?: FieldPolicy<any> | FieldReadFunction<any>
|
||||
};
|
||||
export type MangaTypeKeySpecifier = ('age' | 'artist' | 'author' | 'categories' | 'chapters' | 'chaptersAge' | 'chaptersLastFetchedAt' | 'description' | 'downloadCount' | 'firstUnreadChapter' | 'genre' | 'id' | 'inLibrary' | 'inLibraryAt' | 'initialized' | 'lastFetchedAt' | 'lastReadChapter' | 'latestFetchedChapter' | 'latestReadChapter' | 'latestUploadedChapter' | 'meta' | 'realUrl' | 'source' | 'sourceId' | 'status' | 'thumbnailUrl' | 'thumbnailUrlLastFetched' | 'title' | 'trackRecords' | 'unreadCount' | 'updateStrategy' | 'url' | MangaTypeKeySpecifier)[];
|
||||
export type MangaTypeKeySpecifier = ('age' | 'artist' | 'author' | 'bookmarkCount' | 'categories' | 'chapters' | 'chaptersAge' | 'chaptersLastFetchedAt' | 'description' | 'downloadCount' | 'firstUnreadChapter' | 'genre' | 'id' | 'inLibrary' | 'inLibraryAt' | 'initialized' | 'lastFetchedAt' | 'lastReadChapter' | 'latestFetchedChapter' | 'latestReadChapter' | 'latestUploadedChapter' | 'meta' | 'realUrl' | 'source' | 'sourceId' | 'status' | 'thumbnailUrl' | 'thumbnailUrlLastFetched' | 'title' | 'trackRecords' | 'unreadCount' | 'updateStrategy' | 'url' | MangaTypeKeySpecifier)[];
|
||||
export type MangaTypeFieldPolicy = {
|
||||
age?: FieldPolicy<any> | FieldReadFunction<any>,
|
||||
artist?: FieldPolicy<any> | FieldReadFunction<any>,
|
||||
author?: FieldPolicy<any> | FieldReadFunction<any>,
|
||||
bookmarkCount?: FieldPolicy<any> | FieldReadFunction<any>,
|
||||
categories?: FieldPolicy<any> | FieldReadFunction<any>,
|
||||
chapters?: FieldPolicy<any> | FieldReadFunction<any>,
|
||||
chaptersAge?: FieldPolicy<any> | FieldReadFunction<any>,
|
||||
@@ -441,7 +447,7 @@ export type MultiSelectListPreferenceFieldPolicy = {
|
||||
title?: FieldPolicy<any> | FieldReadFunction<any>,
|
||||
visible?: FieldPolicy<any> | FieldReadFunction<any>
|
||||
};
|
||||
export type MutationKeySpecifier = ('bindTrack' | 'clearCachedImages' | 'clearDownloader' | 'createBackup' | 'createCategory' | 'deleteCategory' | 'deleteCategoryMeta' | 'deleteChapterMeta' | 'deleteDownloadedChapter' | 'deleteDownloadedChapters' | 'deleteGlobalMeta' | 'deleteMangaMeta' | 'deleteSourceMeta' | 'dequeueChapterDownload' | 'dequeueChapterDownloads' | 'enqueueChapterDownload' | 'enqueueChapterDownloads' | 'fetchChapterPages' | 'fetchChapters' | 'fetchExtensions' | 'fetchManga' | 'fetchSourceManga' | 'installExternalExtension' | 'loginTrackerCredentials' | 'loginTrackerOAuth' | 'logoutTracker' | 'reorderChapterDownload' | 'resetSettings' | 'resetWebUIUpdateStatus' | 'restoreBackup' | 'setCategoryMeta' | 'setChapterMeta' | 'setGlobalMeta' | 'setMangaMeta' | 'setSettings' | 'setSourceMeta' | 'startDownloader' | 'stopDownloader' | 'updateCategories' | 'updateCategory' | 'updateCategoryManga' | 'updateCategoryOrder' | 'updateChapter' | 'updateChapters' | 'updateExtension' | 'updateExtensions' | 'updateLibraryManga' | 'updateManga' | 'updateMangaCategories' | 'updateMangas' | 'updateMangasCategories' | 'updateSourcePreference' | 'updateStop' | 'updateTrack' | 'updateWebUI' | MutationKeySpecifier)[];
|
||||
export type MutationKeySpecifier = ('bindTrack' | 'clearCachedImages' | 'clearDownloader' | 'createBackup' | 'createCategory' | 'deleteCategory' | 'deleteCategoryMeta' | 'deleteChapterMeta' | 'deleteDownloadedChapter' | 'deleteDownloadedChapters' | 'deleteGlobalMeta' | 'deleteMangaMeta' | 'deleteSourceMeta' | 'dequeueChapterDownload' | 'dequeueChapterDownloads' | 'enqueueChapterDownload' | 'enqueueChapterDownloads' | 'fetchChapterPages' | 'fetchChapters' | 'fetchExtensions' | 'fetchManga' | 'fetchSourceManga' | 'fetchTrack' | 'installExternalExtension' | 'loginTrackerCredentials' | 'loginTrackerOAuth' | 'logoutTracker' | 'reorderChapterDownload' | 'resetSettings' | 'resetWebUIUpdateStatus' | 'restoreBackup' | 'setCategoryMeta' | 'setChapterMeta' | 'setGlobalMeta' | 'setMangaMeta' | 'setSettings' | 'setSourceMeta' | 'startDownloader' | 'stopDownloader' | 'trackProgress' | 'unbindTrack' | 'updateCategories' | 'updateCategory' | 'updateCategoryManga' | 'updateCategoryOrder' | 'updateChapter' | 'updateChapters' | 'updateExtension' | 'updateExtensions' | 'updateLibraryManga' | 'updateManga' | 'updateMangaCategories' | 'updateMangas' | 'updateMangasCategories' | 'updateSourcePreference' | 'updateStop' | 'updateTrack' | 'updateWebUI' | MutationKeySpecifier)[];
|
||||
export type MutationFieldPolicy = {
|
||||
bindTrack?: FieldPolicy<any> | FieldReadFunction<any>,
|
||||
clearCachedImages?: FieldPolicy<any> | FieldReadFunction<any>,
|
||||
@@ -465,6 +471,7 @@ export type MutationFieldPolicy = {
|
||||
fetchExtensions?: FieldPolicy<any> | FieldReadFunction<any>,
|
||||
fetchManga?: FieldPolicy<any> | FieldReadFunction<any>,
|
||||
fetchSourceManga?: FieldPolicy<any> | FieldReadFunction<any>,
|
||||
fetchTrack?: FieldPolicy<any> | FieldReadFunction<any>,
|
||||
installExternalExtension?: FieldPolicy<any> | FieldReadFunction<any>,
|
||||
loginTrackerCredentials?: FieldPolicy<any> | FieldReadFunction<any>,
|
||||
loginTrackerOAuth?: FieldPolicy<any> | FieldReadFunction<any>,
|
||||
@@ -481,6 +488,8 @@ export type MutationFieldPolicy = {
|
||||
setSourceMeta?: FieldPolicy<any> | FieldReadFunction<any>,
|
||||
startDownloader?: FieldPolicy<any> | FieldReadFunction<any>,
|
||||
stopDownloader?: FieldPolicy<any> | FieldReadFunction<any>,
|
||||
trackProgress?: FieldPolicy<any> | FieldReadFunction<any>,
|
||||
unbindTrack?: FieldPolicy<any> | FieldReadFunction<any>,
|
||||
updateCategories?: FieldPolicy<any> | FieldReadFunction<any>,
|
||||
updateCategory?: FieldPolicy<any> | FieldReadFunction<any>,
|
||||
updateCategoryManga?: FieldPolicy<any> | FieldReadFunction<any>,
|
||||
@@ -818,6 +827,11 @@ export type TextFilterFieldPolicy = {
|
||||
default?: FieldPolicy<any> | FieldReadFunction<any>,
|
||||
name?: FieldPolicy<any> | FieldReadFunction<any>
|
||||
};
|
||||
export type TrackProgressPayloadKeySpecifier = ('clientMutationId' | 'trackRecords' | TrackProgressPayloadKeySpecifier)[];
|
||||
export type TrackProgressPayloadFieldPolicy = {
|
||||
clientMutationId?: FieldPolicy<any> | FieldReadFunction<any>,
|
||||
trackRecords?: FieldPolicy<any> | FieldReadFunction<any>
|
||||
};
|
||||
export type TrackRecordEdgeKeySpecifier = ('cursor' | 'node' | TrackRecordEdgeKeySpecifier)[];
|
||||
export type TrackRecordEdgeFieldPolicy = {
|
||||
cursor?: FieldPolicy<any> | FieldReadFunction<any>,
|
||||
@@ -881,7 +895,7 @@ export type TrackerNodeListFieldPolicy = {
|
||||
pageInfo?: FieldPolicy<any> | FieldReadFunction<any>,
|
||||
totalCount?: FieldPolicy<any> | FieldReadFunction<any>
|
||||
};
|
||||
export type TrackerTypeKeySpecifier = ('authUrl' | 'icon' | 'id' | 'isLoggedIn' | 'isTokenExpired' | 'name' | 'scores' | 'statuses' | 'trackRecords' | TrackerTypeKeySpecifier)[];
|
||||
export type TrackerTypeKeySpecifier = ('authUrl' | 'icon' | 'id' | 'isLoggedIn' | 'isTokenExpired' | 'name' | 'scores' | 'statuses' | 'supportsTrackDeletion' | 'trackRecords' | TrackerTypeKeySpecifier)[];
|
||||
export type TrackerTypeFieldPolicy = {
|
||||
authUrl?: FieldPolicy<any> | FieldReadFunction<any>,
|
||||
icon?: FieldPolicy<any> | FieldReadFunction<any>,
|
||||
@@ -891,6 +905,7 @@ export type TrackerTypeFieldPolicy = {
|
||||
name?: FieldPolicy<any> | FieldReadFunction<any>,
|
||||
scores?: FieldPolicy<any> | FieldReadFunction<any>,
|
||||
statuses?: FieldPolicy<any> | FieldReadFunction<any>,
|
||||
supportsTrackDeletion?: FieldPolicy<any> | FieldReadFunction<any>,
|
||||
trackRecords?: FieldPolicy<any> | FieldReadFunction<any>
|
||||
};
|
||||
export type TriStateFilterKeySpecifier = ('default' | 'name' | TriStateFilterKeySpecifier)[];
|
||||
@@ -898,6 +913,11 @@ export type TriStateFilterFieldPolicy = {
|
||||
default?: FieldPolicy<any> | FieldReadFunction<any>,
|
||||
name?: FieldPolicy<any> | FieldReadFunction<any>
|
||||
};
|
||||
export type UnbindTrackPayloadKeySpecifier = ('clientMutationId' | 'trackRecord' | UnbindTrackPayloadKeySpecifier)[];
|
||||
export type UnbindTrackPayloadFieldPolicy = {
|
||||
clientMutationId?: FieldPolicy<any> | FieldReadFunction<any>,
|
||||
trackRecord?: FieldPolicy<any> | FieldReadFunction<any>
|
||||
};
|
||||
export type UpdateCategoriesPayloadKeySpecifier = ('categories' | 'clientMutationId' | UpdateCategoriesPayloadKeySpecifier)[];
|
||||
export type UpdateCategoriesPayloadFieldPolicy = {
|
||||
categories?: FieldPolicy<any> | FieldReadFunction<any>,
|
||||
@@ -1209,6 +1229,10 @@ export type StrictTypedTypePolicies = {
|
||||
keyFields?: false | FetchSourceMangaPayloadKeySpecifier | (() => undefined | FetchSourceMangaPayloadKeySpecifier),
|
||||
fields?: FetchSourceMangaPayloadFieldPolicy,
|
||||
},
|
||||
FetchTrackPayload?: Omit<TypePolicy, "fields" | "keyFields"> & {
|
||||
keyFields?: false | FetchTrackPayloadKeySpecifier | (() => undefined | FetchTrackPayloadKeySpecifier),
|
||||
fields?: FetchTrackPayloadFieldPolicy,
|
||||
},
|
||||
GlobalMetaNodeList?: Omit<TypePolicy, "fields" | "keyFields"> & {
|
||||
keyFields?: false | GlobalMetaNodeListKeySpecifier | (() => undefined | GlobalMetaNodeListKeySpecifier),
|
||||
fields?: GlobalMetaNodeListFieldPolicy,
|
||||
@@ -1397,6 +1421,10 @@ export type StrictTypedTypePolicies = {
|
||||
keyFields?: false | TextFilterKeySpecifier | (() => undefined | TextFilterKeySpecifier),
|
||||
fields?: TextFilterFieldPolicy,
|
||||
},
|
||||
TrackProgressPayload?: Omit<TypePolicy, "fields" | "keyFields"> & {
|
||||
keyFields?: false | TrackProgressPayloadKeySpecifier | (() => undefined | TrackProgressPayloadKeySpecifier),
|
||||
fields?: TrackProgressPayloadFieldPolicy,
|
||||
},
|
||||
TrackRecordEdge?: Omit<TypePolicy, "fields" | "keyFields"> & {
|
||||
keyFields?: false | TrackRecordEdgeKeySpecifier | (() => undefined | TrackRecordEdgeKeySpecifier),
|
||||
fields?: TrackRecordEdgeFieldPolicy,
|
||||
@@ -1433,6 +1461,10 @@ export type StrictTypedTypePolicies = {
|
||||
keyFields?: false | TriStateFilterKeySpecifier | (() => undefined | TriStateFilterKeySpecifier),
|
||||
fields?: TriStateFilterFieldPolicy,
|
||||
},
|
||||
UnbindTrackPayload?: Omit<TypePolicy, "fields" | "keyFields"> & {
|
||||
keyFields?: false | UnbindTrackPayloadKeySpecifier | (() => undefined | UnbindTrackPayloadKeySpecifier),
|
||||
fields?: UnbindTrackPayloadFieldPolicy,
|
||||
},
|
||||
UpdateCategoriesPayload?: Omit<TypePolicy, "fields" | "keyFields"> & {
|
||||
keyFields?: false | UpdateCategoriesPayloadKeySpecifier | (() => undefined | UpdateCategoriesPayloadKeySpecifier),
|
||||
fields?: UpdateCategoriesPayloadFieldPolicy,
|
||||
|
||||
Reference in New Issue
Block a user