windmill-client 1.262.1 → 1.263.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
CHANGED
|
@@ -12,7 +12,7 @@ export declare class WorkerService {
|
|
|
12
12
|
* @returns WorkerPing a list of workers
|
|
13
13
|
* @throws ApiError
|
|
14
14
|
*/
|
|
15
|
-
static listWorkers({ page, perPage, }: {
|
|
15
|
+
static listWorkers({ page, perPage, pingSince, }: {
|
|
16
16
|
/**
|
|
17
17
|
* which page to return (start at 1, default 1)
|
|
18
18
|
*/
|
|
@@ -21,6 +21,10 @@ export declare class WorkerService {
|
|
|
21
21
|
* number of items to return for a given page (default 30, max 100)
|
|
22
22
|
*/
|
|
23
23
|
perPage?: number;
|
|
24
|
+
/**
|
|
25
|
+
* number of seconds the worker must have had a last ping more recent of (default to 300)
|
|
26
|
+
*/
|
|
27
|
+
pingSince?: number;
|
|
24
28
|
}): CancelablePromise<Array<WorkerPing>>;
|
|
25
29
|
/**
|
|
26
30
|
* exists worker with tag
|
|
@@ -20,13 +20,14 @@ class WorkerService {
|
|
|
20
20
|
* @returns WorkerPing a list of workers
|
|
21
21
|
* @throws ApiError
|
|
22
22
|
*/
|
|
23
|
-
static listWorkers({ page, perPage, }) {
|
|
23
|
+
static listWorkers({ page, perPage, pingSince, }) {
|
|
24
24
|
return (0, request_1.request)(OpenAPI_1.OpenAPI, {
|
|
25
25
|
method: 'GET',
|
|
26
26
|
url: '/workers/list',
|
|
27
27
|
query: {
|
|
28
28
|
'page': page,
|
|
29
29
|
'per_page': perPage,
|
|
30
|
+
'ping_since': pingSince,
|
|
30
31
|
},
|
|
31
32
|
});
|
|
32
33
|
}
|