@go-avro/avro-js 0.0.55 → 0.0.56
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -288,7 +288,7 @@ const SOCKET_EVENT_CONFIG = {
|
|
|
288
288
|
},
|
|
289
289
|
// ── Scheduling ──
|
|
290
290
|
schedule_complete: {
|
|
291
|
-
invalidateKeys: [['routes'], ['jobs'], ['infinite', 'jobs']],
|
|
291
|
+
invalidateKeys: [['routes'], ['jobs'], ['infinite', 'jobs'], ['companies']],
|
|
292
292
|
},
|
|
293
293
|
// ── Location ──
|
|
294
294
|
location_update: { invalidateKeys: [['teams']] },
|
|
@@ -106,6 +106,7 @@ AvroQueryClient.prototype.useScheduleRoutes = function () {
|
|
|
106
106
|
queryClient.invalidateQueries({ queryKey: ['routes'] });
|
|
107
107
|
queryClient.invalidateQueries({ queryKey: ['jobs'] });
|
|
108
108
|
queryClient.invalidateQueries({ queryKey: ['infinite', 'jobs'] });
|
|
109
|
+
queryClient.invalidateQueries({ queryKey: ['companies'] });
|
|
109
110
|
},
|
|
110
111
|
});
|
|
111
112
|
};
|