@go-avro/avro-js 1.6.6-rc8 → 1.6.6-rc9

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.
@@ -396,12 +396,15 @@ export class AvroQueryClient {
396
396
  patchTeamLocation(queryClient, data);
397
397
  patchMemberLocation(queryClient, data);
398
398
  });
399
- // schedule_locked lives in a Redis lock, not a row.
399
+ // schedule_locked and intuit_sync_locked live in Redis locks, not rows.
400
400
  for (const event of [
401
401
  'schedule_started',
402
402
  'schedule_complete',
403
403
  'scheduling_error',
404
404
  'schedule_adjustments',
405
+ 'intuit_sync_started',
406
+ 'intuit_sync_complete',
407
+ 'intuit_sync_error',
405
408
  ]) {
406
409
  on(event, () => {
407
410
  queryClient.invalidateQueries({ queryKey: ['companies'] });
@@ -44,6 +44,8 @@ export interface Company {
44
44
  num_routes: number;
45
45
  schedule_locked: boolean;
46
46
  schedule_locked_since: number | null;
47
+ /** A QuickBooks sync is running; another can't start until it ends. */
48
+ intuit_sync_locked: boolean;
47
49
  num_teams: number;
48
50
  num_skills: number;
49
51
  /** Legacy key, always empty. */
package/dist/version.d.ts CHANGED
@@ -1 +1 @@
1
- export declare const AVRO_JS_VERSION = "1.6.6-rc8";
1
+ export declare const AVRO_JS_VERSION = "1.6.6-rc9";
package/dist/version.js CHANGED
@@ -1,3 +1,3 @@
1
1
  // AUTO-GENERATED by scripts/gen-version.js — do not edit by hand.
2
2
  // Regenerated from package.json by the `prebuild` npm hook.
3
- export const AVRO_JS_VERSION = '1.6.6-rc8';
3
+ export const AVRO_JS_VERSION = '1.6.6-rc9';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@go-avro/avro-js",
3
- "version": "1.6.6-rc8",
3
+ "version": "1.6.6-rc9",
4
4
  "description": "JS client for Avro backend integration.",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",