Add merge function for "DownloadStatus" "queue" field
This commit is contained in:
@@ -51,7 +51,16 @@ const typePolicies: StrictTypedTypePolicies = {
|
|||||||
WebUIUpdateInfo: { keyFields: [] },
|
WebUIUpdateInfo: { keyFields: [] },
|
||||||
WebUIUpdateCheck: { keyFields: [] },
|
WebUIUpdateCheck: { keyFields: [] },
|
||||||
SettingsType: { keyFields: [] },
|
SettingsType: { keyFields: [] },
|
||||||
DownloadStatus: { keyFields: [] },
|
DownloadStatus: {
|
||||||
|
keyFields: [],
|
||||||
|
fields: {
|
||||||
|
queue: {
|
||||||
|
merge(_existing, incoming) {
|
||||||
|
return incoming;
|
||||||
|
},
|
||||||
|
},
|
||||||
|
},
|
||||||
|
},
|
||||||
DownloadType: { keyFields: ['chapter'] },
|
DownloadType: { keyFields: ['chapter'] },
|
||||||
WebUIUpdateStatus: { keyFields: [] },
|
WebUIUpdateStatus: { keyFields: [] },
|
||||||
UpdateStatus: { keyFields: [] },
|
UpdateStatus: { keyFields: [] },
|
||||||
|
|||||||
Reference in New Issue
Block a user