windmill-client 1.188.1 → 1.190.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.
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.OpenAPI = void 0;
4
4
  exports.OpenAPI = {
5
5
  BASE: '/api',
6
- VERSION: '1.188.1',
6
+ VERSION: '1.190.0',
7
7
  WITH_CREDENTIALS: false,
8
8
  CREDENTIALS: 'include',
9
9
  TOKEN: undefined,
package/dist/index.d.ts CHANGED
@@ -42,6 +42,7 @@ export { GlobalUserInfo } from './models/GlobalUserInfo';
42
42
  export type { Graphql } from './models/Graphql';
43
43
  export type { Group } from './models/Group';
44
44
  export { Http } from './models/Http';
45
+ export type { HubScriptKind } from './models/HubScriptKind';
45
46
  export type { Identity } from './models/Identity';
46
47
  export type { IncludeHeader } from './models/IncludeHeader';
47
48
  export type { Input } from './models/Input';
@@ -37,6 +37,7 @@ export type CompletedJob = {
37
37
  visible_to_owner: boolean;
38
38
  mem_peak?: number;
39
39
  tag: string;
40
+ priority?: number;
40
41
  };
41
42
  export declare namespace CompletedJob {
42
43
  enum job_kind {
@@ -10,4 +10,5 @@ export type FlowMetadata = {
10
10
  draft_only?: boolean;
11
11
  tag?: string;
12
12
  ws_error_handler_muted?: boolean;
13
+ priority?: number;
13
14
  };
@@ -25,5 +25,6 @@ export type FlowModule = {
25
25
  user_auth_required?: boolean;
26
26
  user_groups_required?: InputTransform;
27
27
  };
28
+ priority?: number;
28
29
  retry?: Retry;
29
30
  };
@@ -7,4 +7,5 @@ export type FlowValue = {
7
7
  concurrency_time_window_s?: number;
8
8
  skip_expr?: string;
9
9
  cache_ttl?: number;
10
+ priority?: number;
10
11
  };
@@ -0,0 +1 @@
1
+ export type HubScriptKind = {};
@@ -0,0 +1,6 @@
1
+ "use strict";
2
+ /* generated using openapi-typescript-codegen -- do no edit */
3
+ /* istanbul ignore file */
4
+ /* tslint:disable */
5
+ /* eslint-disable */
6
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -17,6 +17,7 @@ export type NewScript = {
17
17
  cache_ttl?: number;
18
18
  dedicated_worker?: boolean;
19
19
  ws_error_handler_muted?: boolean;
20
+ priority?: number;
20
21
  };
21
22
  export declare namespace NewScript {
22
23
  enum language {
@@ -3,4 +3,5 @@ export type OpenFlowWPath = (OpenFlow & {
3
3
  path: string;
4
4
  tag?: string;
5
5
  ws_error_handler_muted?: boolean;
6
+ priority?: number;
6
7
  });
@@ -35,6 +35,7 @@ export type QueuedJob = {
35
35
  visible_to_owner: boolean;
36
36
  mem_peak?: number;
37
37
  tag: string;
38
+ priority?: number;
38
39
  };
39
40
  export declare namespace QueuedJob {
40
41
  enum job_kind {
@@ -31,6 +31,7 @@ export type Script = {
31
31
  cache_ttl?: number;
32
32
  dedicated_worker?: boolean;
33
33
  ws_error_handler_muted?: boolean;
34
+ priority?: number;
34
35
  };
35
36
  export declare namespace Script {
36
37
  enum language {
@@ -1,3 +1,4 @@
1
+ import type { HubScriptKind } from '../models/HubScriptKind';
1
2
  import type { NewScript } from '../models/NewScript';
2
3
  import type { NewScriptWithDraft } from '../models/NewScriptWithDraft';
3
4
  import type { Script } from '../models/Script';
@@ -50,7 +51,7 @@ export declare class ScriptService {
50
51
  summary: string;
51
52
  app: string;
52
53
  version_id: number;
53
- kind: 'script' | 'failure' | 'trigger' | 'approval';
54
+ kind: HubScriptKind;
54
55
  votes: number;
55
56
  views: number;
56
57
  }>;
@@ -83,7 +84,7 @@ export declare class ScriptService {
83
84
  version_id: number;
84
85
  summary: string;
85
86
  app: string;
86
- kind: 'script' | 'failure' | 'trigger' | 'approval';
87
+ kind: HubScriptKind;
87
88
  score: number;
88
89
  }>>;
89
90
  /**
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.188.1",
4
+ "version": "1.190.0",
5
5
  "author": "Ruben Fiszel",
6
6
  "license": "Apache 2.0",
7
7
  "devDependencies": {