@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
  };
@@ -39,6 +39,7 @@ export interface Company {
39
39
  num_events: number;
40
40
  num_jobs: number;
41
41
  num_routes: number;
42
+ schedule_locked: boolean;
42
43
  num_teams: number;
43
44
  num_skills: number;
44
45
  bills: Bill[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@go-avro/avro-js",
3
- "version": "0.0.55",
3
+ "version": "0.0.56",
4
4
  "description": "JS client for Avro backend integration.",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",