windmill-client 1.278.2 → 1.278.3
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.d.ts +3 -3
- package/dist/client.js +3 -3
- package/dist/core/OpenAPI.js +1 -1
- package/package.json +1 -1
package/dist/client.d.ts
CHANGED
|
@@ -84,7 +84,7 @@ export declare function denoS3LightClientSettings(s3_resource_path: string | und
|
|
|
84
84
|
* console.log(text);
|
|
85
85
|
* ```
|
|
86
86
|
*/
|
|
87
|
-
export declare function loadS3File(s3object: S3Object, s3ResourcePath
|
|
87
|
+
export declare function loadS3File(s3object: S3Object, s3ResourcePath?: string | undefined): Promise<Uint8Array | undefined>;
|
|
88
88
|
/**
|
|
89
89
|
* Load the content of a file stored in S3 as a stream. If the s3ResourcePath is undefined, it will default to the workspace S3 resource.
|
|
90
90
|
*
|
|
@@ -94,7 +94,7 @@ export declare function loadS3File(s3object: S3Object, s3ResourcePath: string |
|
|
|
94
94
|
* console.log(await fileContentBlob.text());
|
|
95
95
|
* ```
|
|
96
96
|
*/
|
|
97
|
-
export declare function loadS3FileStream(s3object: S3Object, s3ResourcePath
|
|
97
|
+
export declare function loadS3FileStream(s3object: S3Object, s3ResourcePath?: string | undefined): Promise<Blob | undefined>;
|
|
98
98
|
/**
|
|
99
99
|
* Persist a file to the S3 bucket. If the s3ResourcePath is undefined, it will default to the workspace S3 resource.
|
|
100
100
|
*
|
|
@@ -104,7 +104,7 @@ export declare function loadS3FileStream(s3object: S3Object, s3ResourcePath: str
|
|
|
104
104
|
* console.log(fileContentAsUtf8Str)
|
|
105
105
|
* ```
|
|
106
106
|
*/
|
|
107
|
-
export declare function writeS3File(s3object: S3Object | undefined, fileContent: string | Blob, s3ResourcePath
|
|
107
|
+
export declare function writeS3File(s3object: S3Object | undefined, fileContent: string | Blob, s3ResourcePath?: string | undefined): Promise<S3Object>;
|
|
108
108
|
/**
|
|
109
109
|
* Get URLs needed for resuming a flow after this step
|
|
110
110
|
* @param approver approver name
|
package/dist/client.js
CHANGED
|
@@ -318,7 +318,7 @@ exports.denoS3LightClientSettings = denoS3LightClientSettings;
|
|
|
318
318
|
* console.log(text);
|
|
319
319
|
* ```
|
|
320
320
|
*/
|
|
321
|
-
function loadS3File(s3object, s3ResourcePath) {
|
|
321
|
+
function loadS3File(s3object, s3ResourcePath = undefined) {
|
|
322
322
|
return __awaiter(this, void 0, void 0, function* () {
|
|
323
323
|
!clientSet && setClient();
|
|
324
324
|
const fileContentBlob = yield loadS3FileStream(s3object, s3ResourcePath);
|
|
@@ -358,7 +358,7 @@ exports.loadS3File = loadS3File;
|
|
|
358
358
|
* console.log(await fileContentBlob.text());
|
|
359
359
|
* ```
|
|
360
360
|
*/
|
|
361
|
-
function loadS3FileStream(s3object, s3ResourcePath) {
|
|
361
|
+
function loadS3FileStream(s3object, s3ResourcePath = undefined) {
|
|
362
362
|
return __awaiter(this, void 0, void 0, function* () {
|
|
363
363
|
!clientSet && setClient();
|
|
364
364
|
let params = {};
|
|
@@ -387,7 +387,7 @@ exports.loadS3FileStream = loadS3FileStream;
|
|
|
387
387
|
* console.log(fileContentAsUtf8Str)
|
|
388
388
|
* ```
|
|
389
389
|
*/
|
|
390
|
-
function writeS3File(s3object, fileContent, s3ResourcePath) {
|
|
390
|
+
function writeS3File(s3object, fileContent, s3ResourcePath = undefined) {
|
|
391
391
|
return __awaiter(this, void 0, void 0, function* () {
|
|
392
392
|
!clientSet && setClient();
|
|
393
393
|
let fileContentBlob;
|
package/dist/core/OpenAPI.js
CHANGED