Add optimistic response to metadata mutations

This commit is contained in:
schroda
2024-09-21 20:01:06 +02:00
parent fab5f0b860
commit 20eaa90c10
10 changed files with 101 additions and 89 deletions

View File

@@ -41,6 +41,10 @@ const typePolicies: StrictTypedTypePolicies = {
},
},
GlobalMetaType: { keyFields: ['key'] },
MangaMetaType: { keyFields: ['mangaId', 'key'] },
ChapterMetaType: { keyFields: ['chapterId', 'key'] },
CategoryMetaType: { keyFields: ['categoryId', 'key'] },
SourceMetaType: { keyFields: ['sourceId', 'key'] },
ExtensionType: { keyFields: ['pkgName'] },
AboutServerPayload: { keyFields: [] },
AboutWebUI: { keyFields: [] },