windmill-client 1.863.0 → 1.864.0

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.
@@ -29,7 +29,7 @@ const OpenAPI = {
29
29
  PASSWORD: void 0,
30
30
  TOKEN: getEnv("WM_TOKEN"),
31
31
  USERNAME: void 0,
32
- VERSION: "1.863.0",
32
+ VERSION: "1.864.0",
33
33
  WITH_CREDENTIALS: !getEnv("WM_RAW_APP"),
34
34
  interceptors: {
35
35
  request: new Interceptors(),
package/dist/index.js CHANGED
@@ -126,7 +126,7 @@ const OpenAPI = {
126
126
  PASSWORD: void 0,
127
127
  TOKEN: getEnv$1("WM_TOKEN"),
128
128
  USERNAME: void 0,
129
- VERSION: "1.863.0",
129
+ VERSION: "1.864.0",
130
130
  WITH_CREDENTIALS: !getEnv$1("WM_RAW_APP"),
131
131
  interceptors: {
132
132
  request: new Interceptors(),
@@ -6307,6 +6307,18 @@ export type WorkerPing = {
6307
6307
  * the worker received its shutdown signal and exits once its current job is done
6308
6308
  */
6309
6309
  draining?: boolean;
6310
+ /**
6311
+ * script and flow-step jobs this worker ran and how many of them failed, over its whole life, the last 24 hours and its last 100 jobs. A flow's own outcome is not counted, since its failure is that of a step already counted on the worker that ran it. Canceled jobs count as executed, not failed.
6312
+ */
6313
+ job_stats?: {
6314
+ total: WorkerJobCounts;
6315
+ last_24h: WorkerJobCounts;
6316
+ last_100: WorkerJobCounts;
6317
+ };
6318
+ };
6319
+ export type WorkerJobCounts = {
6320
+ executed: number;
6321
+ failed: number;
6310
6322
  };
6311
6323
  export type UserWorkspaceList = {
6312
6324
  email: string;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "windmill-client",
3
3
  "description": "Windmill SDK client for browsers and Node.js",
4
- "version": "1.863.0",
4
+ "version": "1.864.0",
5
5
  "author": "Ruben Fiszel",
6
6
  "license": "Apache 2.0",
7
7
  "homepage": "https://github.com/windmill-labs/windmill/tree/main/typescript-client#readme",