windmill-client 1.308.1 → 1.309.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.
- package/dist/core/OpenAPI.js +1 -1
- package/dist/models/AppWithLastVersion.d.ts +1 -1
- package/dist/models/FlowMetadata.d.ts +1 -2
- package/dist/models/Job.d.ts +5 -4
- package/dist/models/Job.js +0 -1
- package/dist/services/JobService.d.ts +9 -0
- package/dist/services/JobService.js +15 -0
- package/package.json +1 -1
package/dist/core/OpenAPI.js
CHANGED
|
@@ -7,7 +7,7 @@ export type AppWithLastVersion = {
|
|
|
7
7
|
versions: Array<number>;
|
|
8
8
|
created_by: string;
|
|
9
9
|
created_at: string;
|
|
10
|
-
value: any
|
|
10
|
+
value: Record<string, any>;
|
|
11
11
|
policy: Policy;
|
|
12
12
|
execution_mode: AppWithLastVersion.execution_mode;
|
|
13
13
|
extra_perms: Record<string, boolean>;
|
package/dist/models/Job.d.ts
CHANGED
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import type { CompletedJob } from './CompletedJob';
|
|
2
2
|
import type { QueuedJob } from './QueuedJob';
|
|
3
|
-
export type Job = ((CompletedJob
|
|
3
|
+
export type Job = ((CompletedJob & {
|
|
4
4
|
type?: Job.type;
|
|
5
|
-
})
|
|
5
|
+
}) | (QueuedJob & {
|
|
6
|
+
type?: Job.type;
|
|
7
|
+
}));
|
|
6
8
|
export declare namespace Job {
|
|
7
9
|
enum type {
|
|
8
|
-
COMPLETED_JOB = "CompletedJob"
|
|
9
|
-
QUEUED_JOB = "QueuedJob"
|
|
10
|
+
COMPLETED_JOB = "CompletedJob"
|
|
10
11
|
}
|
|
11
12
|
}
|
package/dist/models/Job.js
CHANGED
|
@@ -810,6 +810,15 @@ export declare class JobService {
|
|
|
810
810
|
mem_peak?: number;
|
|
811
811
|
flow_status?: WorkflowStatusRecord;
|
|
812
812
|
}>;
|
|
813
|
+
/**
|
|
814
|
+
* get log file from object store
|
|
815
|
+
* @returns any job log
|
|
816
|
+
* @throws ApiError
|
|
817
|
+
*/
|
|
818
|
+
static getLogFileFromStore({ workspace, path, }: {
|
|
819
|
+
workspace: string;
|
|
820
|
+
path: string;
|
|
821
|
+
}): CancelablePromise<any>;
|
|
813
822
|
/**
|
|
814
823
|
* get flow debug info
|
|
815
824
|
* @returns any flow debug info details
|
|
@@ -552,6 +552,21 @@ class JobService {
|
|
|
552
552
|
},
|
|
553
553
|
});
|
|
554
554
|
}
|
|
555
|
+
/**
|
|
556
|
+
* get log file from object store
|
|
557
|
+
* @returns any job log
|
|
558
|
+
* @throws ApiError
|
|
559
|
+
*/
|
|
560
|
+
static getLogFileFromStore({ workspace, path, }) {
|
|
561
|
+
return (0, request_1.request)(OpenAPI_1.OpenAPI, {
|
|
562
|
+
method: 'GET',
|
|
563
|
+
url: '/w/{workspace}/jobs_u/get_log_file/{path}',
|
|
564
|
+
path: {
|
|
565
|
+
'workspace': workspace,
|
|
566
|
+
'path': path,
|
|
567
|
+
},
|
|
568
|
+
});
|
|
569
|
+
}
|
|
555
570
|
/**
|
|
556
571
|
* get flow debug info
|
|
557
572
|
* @returns any flow debug info details
|