@getworkbench/core 0.3.0 → 0.3.2

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.
@@ -3,7 +3,7 @@ import { Queue, RedisOptions } from 'bullmq';
3
3
  /**
4
4
  * Job status types matching BullMQ states
5
5
  */
6
- type JobStatus = "waiting" | "active" | "completed" | "failed" | "delayed" | "paused" | "unknown";
6
+ type JobStatus = "active" | "waiting" | "waiting-children" | "prioritized" | "completed" | "failed" | "delayed" | "paused" | "unknown";
7
7
  /**
8
8
  * Configuration options for Workbench
9
9
  */
@@ -50,6 +50,8 @@ interface QueueInfo {
50
50
  completed: number;
51
51
  failed: number;
52
52
  delayed: number;
53
+ prioritized: number;
54
+ "waiting-children": number;
53
55
  paused: number;
54
56
  };
55
57
  isPaused: boolean;
@@ -411,6 +413,8 @@ declare class QueueManager {
411
413
  completed: number;
412
414
  failed: number;
413
415
  delayed: number;
416
+ prioritized: number;
417
+ "waiting-children": number;
414
418
  total: number;
415
419
  timestamp: number;
416
420
  }>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@getworkbench/core",
3
- "version": "0.3.0",
3
+ "version": "0.3.2",
4
4
  "description": "Core of Workbench — QueueManager, API router, and bundled UI.",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -26,7 +26,7 @@
26
26
  "LICENSE"
27
27
  ],
28
28
  "scripts": {
29
- "build": "bun run build:ui && bun run build:lib",
29
+ "build": "bun run clean && bun run build:ui && bun run build:lib",
30
30
  "build:lib": "tsup",
31
31
  "build:ui": "vite build",
32
32
  "dev": "tsup --watch",