windmill-client 1.295.1 → 1.295.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.
- package/dist/client.js +2 -4
- package/dist/core/OpenAPI.js +1 -1
- package/dist/services/SettingService.d.ts +1 -12
- package/package.json +1 -1
package/dist/client.js
CHANGED
|
@@ -211,7 +211,7 @@ function runScriptAsync(path_1, hash_1, args_1) {
|
|
|
211
211
|
params["parent_job"] = parentJobId;
|
|
212
212
|
}
|
|
213
213
|
let rootJobId = getEnv("WM_ROOT_FLOW_JOB_ID");
|
|
214
|
-
if (rootJobId != undefined) {
|
|
214
|
+
if (rootJobId != undefined && rootJobId != "") {
|
|
215
215
|
params["root_job"] = rootJobId;
|
|
216
216
|
}
|
|
217
217
|
let endpoint;
|
|
@@ -233,9 +233,7 @@ function runScriptAsync(path_1, hash_1, args_1) {
|
|
|
233
233
|
Authorization: `Bearer ${index_2.OpenAPI.TOKEN}`,
|
|
234
234
|
},
|
|
235
235
|
body: JSON.stringify(args),
|
|
236
|
-
})
|
|
237
|
-
.then((res) => res.json())
|
|
238
|
-
.then((data) => data.id);
|
|
236
|
+
}).then((res) => res.text());
|
|
239
237
|
});
|
|
240
238
|
}
|
|
241
239
|
exports.runScriptAsync = runScriptAsync;
|
package/dist/core/OpenAPI.js
CHANGED
|
@@ -71,18 +71,7 @@ export declare class SettingService {
|
|
|
71
71
|
/**
|
|
72
72
|
* test object storage config
|
|
73
73
|
*/
|
|
74
|
-
requestBody:
|
|
75
|
-
type?: string;
|
|
76
|
-
bucket?: string;
|
|
77
|
-
region?: string;
|
|
78
|
-
accessKey?: string;
|
|
79
|
-
accountName?: string;
|
|
80
|
-
tenantId?: string;
|
|
81
|
-
clientId?: string;
|
|
82
|
-
access_key?: string;
|
|
83
|
-
secret_key?: string;
|
|
84
|
-
endpoint?: string;
|
|
85
|
-
};
|
|
74
|
+
requestBody: Record<string, any>;
|
|
86
75
|
}): CancelablePromise<string>;
|
|
87
76
|
/**
|
|
88
77
|
* send stats
|