@elaraai/east-node-io 0.0.1-beta.15 → 0.0.1-beta.17
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/compression/gzip.d.ts +1 -1
- package/dist/compression/index.d.ts +16 -16
- package/dist/compression/tar.d.ts +2 -2
- package/dist/compression/types.d.ts +10 -10
- package/dist/compression/zip.d.ts +3 -3
- package/dist/format/index.d.ts +77 -77
- package/dist/format/types.d.ts +53 -53
- package/dist/format/xlsx.d.ts +20 -20
- package/dist/format/xml.d.ts +54 -54
- package/dist/nosql/index.d.ts +20 -20
- package/dist/nosql/mongodb.d.ts +5 -5
- package/dist/nosql/redis.d.ts +5 -5
- package/dist/nosql/types.d.ts +10 -10
- package/dist/sql/index.d.ts +214 -214
- package/dist/sql/mysql.d.ts +30 -30
- package/dist/sql/postgres.d.ts +30 -30
- package/dist/sql/sqlite.d.ts +26 -26
- package/dist/sql/types.d.ts +54 -54
- package/dist/storage/index.d.ts +61 -61
- package/dist/storage/s3.d.ts +43 -43
- package/dist/storage/types.d.ts +18 -18
- package/dist/transfer/ftp.d.ts +10 -10
- package/dist/transfer/index.d.ts +40 -40
- package/dist/transfer/sftp.d.ts +10 -10
- package/dist/transfer/types.d.ts +15 -15
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +3 -3
package/dist/storage/s3.d.ts
CHANGED
|
@@ -63,11 +63,11 @@ import type { PlatformFunction } from "@elaraai/east/internal";
|
|
|
63
63
|
* - All operations are asynchronous (use East.compileAsync)
|
|
64
64
|
*/
|
|
65
65
|
export declare const s3_put_object: import("@elaraai/east").AsyncPlatformDefinition<[import("@elaraai/east").StructType<{
|
|
66
|
-
region: StringType;
|
|
67
|
-
bucket: StringType;
|
|
68
|
-
accessKeyId: import("@elaraai/east").OptionType<StringType>;
|
|
69
|
-
secretAccessKey: import("@elaraai/east").OptionType<StringType>;
|
|
70
|
-
endpoint: import("@elaraai/east").OptionType<StringType>;
|
|
66
|
+
readonly region: StringType;
|
|
67
|
+
readonly bucket: StringType;
|
|
68
|
+
readonly accessKeyId: import("@elaraai/east").OptionType<StringType>;
|
|
69
|
+
readonly secretAccessKey: import("@elaraai/east").OptionType<StringType>;
|
|
70
|
+
readonly endpoint: import("@elaraai/east").OptionType<StringType>;
|
|
71
71
|
}>, StringType, BlobType], NullType>;
|
|
72
72
|
/**
|
|
73
73
|
* Downloads an object from S3.
|
|
@@ -116,11 +116,11 @@ export declare const s3_put_object: import("@elaraai/east").AsyncPlatformDefinit
|
|
|
116
116
|
* - Streams large objects automatically
|
|
117
117
|
*/
|
|
118
118
|
export declare const s3_get_object: import("@elaraai/east").AsyncPlatformDefinition<[import("@elaraai/east").StructType<{
|
|
119
|
-
region: StringType;
|
|
120
|
-
bucket: StringType;
|
|
121
|
-
accessKeyId: import("@elaraai/east").OptionType<StringType>;
|
|
122
|
-
secretAccessKey: import("@elaraai/east").OptionType<StringType>;
|
|
123
|
-
endpoint: import("@elaraai/east").OptionType<StringType>;
|
|
119
|
+
readonly region: StringType;
|
|
120
|
+
readonly bucket: StringType;
|
|
121
|
+
readonly accessKeyId: import("@elaraai/east").OptionType<StringType>;
|
|
122
|
+
readonly secretAccessKey: import("@elaraai/east").OptionType<StringType>;
|
|
123
|
+
readonly endpoint: import("@elaraai/east").OptionType<StringType>;
|
|
124
124
|
}>, StringType], BlobType>;
|
|
125
125
|
/**
|
|
126
126
|
* Retrieves object metadata from S3 without downloading the file.
|
|
@@ -179,17 +179,17 @@ export declare const s3_get_object: import("@elaraai/east").AsyncPlatformDefinit
|
|
|
179
179
|
* - Use this to implement efficient sync/caching logic
|
|
180
180
|
*/
|
|
181
181
|
export declare const s3_head_object: import("@elaraai/east").AsyncPlatformDefinition<[import("@elaraai/east").StructType<{
|
|
182
|
-
region: StringType;
|
|
183
|
-
bucket: StringType;
|
|
184
|
-
accessKeyId: import("@elaraai/east").OptionType<StringType>;
|
|
185
|
-
secretAccessKey: import("@elaraai/east").OptionType<StringType>;
|
|
186
|
-
endpoint: import("@elaraai/east").OptionType<StringType>;
|
|
182
|
+
readonly region: StringType;
|
|
183
|
+
readonly bucket: StringType;
|
|
184
|
+
readonly accessKeyId: import("@elaraai/east").OptionType<StringType>;
|
|
185
|
+
readonly secretAccessKey: import("@elaraai/east").OptionType<StringType>;
|
|
186
|
+
readonly endpoint: import("@elaraai/east").OptionType<StringType>;
|
|
187
187
|
}>, StringType], import("@elaraai/east").StructType<{
|
|
188
|
-
key: StringType;
|
|
189
|
-
size: IntegerType;
|
|
190
|
-
lastModified: import("@elaraai/east").DateTimeType;
|
|
191
|
-
contentType: import("@elaraai/east").OptionType<StringType>;
|
|
192
|
-
etag: import("@elaraai/east").OptionType<StringType>;
|
|
188
|
+
readonly key: StringType;
|
|
189
|
+
readonly size: IntegerType;
|
|
190
|
+
readonly lastModified: import("@elaraai/east").DateTimeType;
|
|
191
|
+
readonly contentType: import("@elaraai/east").OptionType<StringType>;
|
|
192
|
+
readonly etag: import("@elaraai/east").OptionType<StringType>;
|
|
193
193
|
}>>;
|
|
194
194
|
/**
|
|
195
195
|
* Deletes an object from S3.
|
|
@@ -236,11 +236,11 @@ export declare const s3_head_object: import("@elaraai/east").AsyncPlatformDefini
|
|
|
236
236
|
* - Does not delete versioned objects (only current version)
|
|
237
237
|
*/
|
|
238
238
|
export declare const s3_delete_object: import("@elaraai/east").AsyncPlatformDefinition<[import("@elaraai/east").StructType<{
|
|
239
|
-
region: StringType;
|
|
240
|
-
bucket: StringType;
|
|
241
|
-
accessKeyId: import("@elaraai/east").OptionType<StringType>;
|
|
242
|
-
secretAccessKey: import("@elaraai/east").OptionType<StringType>;
|
|
243
|
-
endpoint: import("@elaraai/east").OptionType<StringType>;
|
|
239
|
+
readonly region: StringType;
|
|
240
|
+
readonly bucket: StringType;
|
|
241
|
+
readonly accessKeyId: import("@elaraai/east").OptionType<StringType>;
|
|
242
|
+
readonly secretAccessKey: import("@elaraai/east").OptionType<StringType>;
|
|
243
|
+
readonly endpoint: import("@elaraai/east").OptionType<StringType>;
|
|
244
244
|
}>, StringType], NullType>;
|
|
245
245
|
/**
|
|
246
246
|
* Lists objects in an S3 bucket with a prefix.
|
|
@@ -291,21 +291,21 @@ export declare const s3_delete_object: import("@elaraai/east").AsyncPlatformDefi
|
|
|
291
291
|
* - maxKeys is clamped to 1-1000 range
|
|
292
292
|
*/
|
|
293
293
|
export declare const s3_list_objects: import("@elaraai/east").AsyncPlatformDefinition<[import("@elaraai/east").StructType<{
|
|
294
|
-
region: StringType;
|
|
295
|
-
bucket: StringType;
|
|
296
|
-
accessKeyId: import("@elaraai/east").OptionType<StringType>;
|
|
297
|
-
secretAccessKey: import("@elaraai/east").OptionType<StringType>;
|
|
298
|
-
endpoint: import("@elaraai/east").OptionType<StringType>;
|
|
294
|
+
readonly region: StringType;
|
|
295
|
+
readonly bucket: StringType;
|
|
296
|
+
readonly accessKeyId: import("@elaraai/east").OptionType<StringType>;
|
|
297
|
+
readonly secretAccessKey: import("@elaraai/east").OptionType<StringType>;
|
|
298
|
+
readonly endpoint: import("@elaraai/east").OptionType<StringType>;
|
|
299
299
|
}>, StringType, IntegerType], import("@elaraai/east").StructType<{
|
|
300
|
-
objects: import("@elaraai/east").ArrayType<import("@elaraai/east").StructType<{
|
|
301
|
-
key: StringType;
|
|
302
|
-
size: IntegerType;
|
|
303
|
-
lastModified: import("@elaraai/east").DateTimeType;
|
|
304
|
-
contentType: import("@elaraai/east").OptionType<StringType>;
|
|
305
|
-
etag: import("@elaraai/east").OptionType<StringType>;
|
|
300
|
+
readonly objects: import("@elaraai/east").ArrayType<import("@elaraai/east").StructType<{
|
|
301
|
+
readonly key: StringType;
|
|
302
|
+
readonly size: IntegerType;
|
|
303
|
+
readonly lastModified: import("@elaraai/east").DateTimeType;
|
|
304
|
+
readonly contentType: import("@elaraai/east").OptionType<StringType>;
|
|
305
|
+
readonly etag: import("@elaraai/east").OptionType<StringType>;
|
|
306
306
|
}>>;
|
|
307
|
-
isTruncated: import("@elaraai/east").BooleanType;
|
|
308
|
-
continuationToken: import("@elaraai/east").OptionType<StringType>;
|
|
307
|
+
readonly isTruncated: import("@elaraai/east").BooleanType;
|
|
308
|
+
readonly continuationToken: import("@elaraai/east").OptionType<StringType>;
|
|
309
309
|
}>>;
|
|
310
310
|
/**
|
|
311
311
|
* Generates a presigned URL for temporary access to an S3 object.
|
|
@@ -357,11 +357,11 @@ export declare const s3_list_objects: import("@elaraai/east").AsyncPlatformDefin
|
|
|
357
357
|
* - Maximum expiration: 7 days (604800 seconds)
|
|
358
358
|
*/
|
|
359
359
|
export declare const s3_presign_url: import("@elaraai/east").AsyncPlatformDefinition<[import("@elaraai/east").StructType<{
|
|
360
|
-
region: StringType;
|
|
361
|
-
bucket: StringType;
|
|
362
|
-
accessKeyId: import("@elaraai/east").OptionType<StringType>;
|
|
363
|
-
secretAccessKey: import("@elaraai/east").OptionType<StringType>;
|
|
364
|
-
endpoint: import("@elaraai/east").OptionType<StringType>;
|
|
360
|
+
readonly region: StringType;
|
|
361
|
+
readonly bucket: StringType;
|
|
362
|
+
readonly accessKeyId: import("@elaraai/east").OptionType<StringType>;
|
|
363
|
+
readonly secretAccessKey: import("@elaraai/east").OptionType<StringType>;
|
|
364
|
+
readonly endpoint: import("@elaraai/east").OptionType<StringType>;
|
|
365
365
|
}>, StringType, IntegerType], StringType>;
|
|
366
366
|
/**
|
|
367
367
|
* Node.js implementation of S3 platform functions.
|
package/dist/storage/types.d.ts
CHANGED
|
@@ -21,26 +21,26 @@ export declare const S3ConfigType: StructType<{
|
|
|
21
21
|
/**
|
|
22
22
|
* AWS region (e.g., "us-east-1", "eu-west-1").
|
|
23
23
|
*/
|
|
24
|
-
region: StringType;
|
|
24
|
+
readonly region: StringType;
|
|
25
25
|
/**
|
|
26
26
|
* S3 bucket name.
|
|
27
27
|
*/
|
|
28
|
-
bucket: StringType;
|
|
28
|
+
readonly bucket: StringType;
|
|
29
29
|
/**
|
|
30
30
|
* AWS access key ID for authentication.
|
|
31
31
|
* Optional, defaults to AWS credential chain.
|
|
32
32
|
*/
|
|
33
|
-
accessKeyId: OptionType<StringType>;
|
|
33
|
+
readonly accessKeyId: OptionType<StringType>;
|
|
34
34
|
/**
|
|
35
35
|
* AWS secret access key for authentication.
|
|
36
36
|
* Optional, defaults to AWS credential chain.
|
|
37
37
|
*/
|
|
38
|
-
secretAccessKey: OptionType<StringType>;
|
|
38
|
+
readonly secretAccessKey: OptionType<StringType>;
|
|
39
39
|
/**
|
|
40
40
|
* Custom endpoint for S3-compatible services (e.g., "http://localhost:9000" for MinIO).
|
|
41
41
|
* Optional, defaults to AWS S3 endpoint.
|
|
42
42
|
*/
|
|
43
|
-
endpoint: OptionType<StringType>;
|
|
43
|
+
readonly endpoint: OptionType<StringType>;
|
|
44
44
|
}>;
|
|
45
45
|
/**
|
|
46
46
|
* S3 object metadata.
|
|
@@ -51,25 +51,25 @@ export declare const S3ObjectMetadataType: StructType<{
|
|
|
51
51
|
/**
|
|
52
52
|
* Object key (path) in the bucket.
|
|
53
53
|
*/
|
|
54
|
-
key: StringType;
|
|
54
|
+
readonly key: StringType;
|
|
55
55
|
/**
|
|
56
56
|
* Object size in bytes.
|
|
57
57
|
*/
|
|
58
|
-
size: IntegerType;
|
|
58
|
+
readonly size: IntegerType;
|
|
59
59
|
/**
|
|
60
60
|
* Last modified timestamp as a Date object.
|
|
61
61
|
*/
|
|
62
|
-
lastModified: DateTimeType;
|
|
62
|
+
readonly lastModified: DateTimeType;
|
|
63
63
|
/**
|
|
64
64
|
* Content type of the object (MIME type).
|
|
65
65
|
* Optional, may be None if not set.
|
|
66
66
|
*/
|
|
67
|
-
contentType: OptionType<StringType>;
|
|
67
|
+
readonly contentType: OptionType<StringType>;
|
|
68
68
|
/**
|
|
69
69
|
* ETag of the object (entity tag for versioning/caching).
|
|
70
70
|
* Optional, may be None if not available.
|
|
71
71
|
*/
|
|
72
|
-
etag: OptionType<StringType>;
|
|
72
|
+
readonly etag: OptionType<StringType>;
|
|
73
73
|
}>;
|
|
74
74
|
/**
|
|
75
75
|
* S3 list objects result.
|
|
@@ -80,38 +80,38 @@ export declare const S3ListResultType: StructType<{
|
|
|
80
80
|
/**
|
|
81
81
|
* Array of object metadata for objects matching the prefix.
|
|
82
82
|
*/
|
|
83
|
-
objects: ArrayType<StructType<{
|
|
83
|
+
readonly objects: ArrayType<StructType<{
|
|
84
84
|
/**
|
|
85
85
|
* Object key (path) in the bucket.
|
|
86
86
|
*/
|
|
87
|
-
key: StringType;
|
|
87
|
+
readonly key: StringType;
|
|
88
88
|
/**
|
|
89
89
|
* Object size in bytes.
|
|
90
90
|
*/
|
|
91
|
-
size: IntegerType;
|
|
91
|
+
readonly size: IntegerType;
|
|
92
92
|
/**
|
|
93
93
|
* Last modified timestamp as a Date object.
|
|
94
94
|
*/
|
|
95
|
-
lastModified: DateTimeType;
|
|
95
|
+
readonly lastModified: DateTimeType;
|
|
96
96
|
/**
|
|
97
97
|
* Content type of the object (MIME type).
|
|
98
98
|
* Optional, may be None if not set.
|
|
99
99
|
*/
|
|
100
|
-
contentType: OptionType<StringType>;
|
|
100
|
+
readonly contentType: OptionType<StringType>;
|
|
101
101
|
/**
|
|
102
102
|
* ETag of the object (entity tag for versioning/caching).
|
|
103
103
|
* Optional, may be None if not available.
|
|
104
104
|
*/
|
|
105
|
-
etag: OptionType<StringType>;
|
|
105
|
+
readonly etag: OptionType<StringType>;
|
|
106
106
|
}>>;
|
|
107
107
|
/**
|
|
108
108
|
* Whether the result list is truncated (more results available).
|
|
109
109
|
*/
|
|
110
|
-
isTruncated: BooleanType;
|
|
110
|
+
readonly isTruncated: BooleanType;
|
|
111
111
|
/**
|
|
112
112
|
* Continuation token for fetching next page of results.
|
|
113
113
|
* Optional, None if no more results available.
|
|
114
114
|
*/
|
|
115
|
-
continuationToken: OptionType<StringType>;
|
|
115
|
+
readonly continuationToken: OptionType<StringType>;
|
|
116
116
|
}>;
|
|
117
117
|
//# sourceMappingURL=types.d.ts.map
|
package/dist/transfer/ftp.d.ts
CHANGED
|
@@ -60,11 +60,11 @@ import { StringType } from "./types.js";
|
|
|
60
60
|
* - All operations are asynchronous (use East.compileAsync)
|
|
61
61
|
*/
|
|
62
62
|
export declare const ftp_connect: import("@elaraai/east").AsyncPlatformDefinition<[import("@elaraai/east").StructType<{
|
|
63
|
-
host: StringType;
|
|
64
|
-
port: import("@elaraai/east").IntegerType;
|
|
65
|
-
user: StringType;
|
|
66
|
-
password: StringType;
|
|
67
|
-
secure: import("@elaraai/east").BooleanType;
|
|
63
|
+
readonly host: StringType;
|
|
64
|
+
readonly port: import("@elaraai/east").IntegerType;
|
|
65
|
+
readonly user: StringType;
|
|
66
|
+
readonly password: StringType;
|
|
67
|
+
readonly secure: import("@elaraai/east").BooleanType;
|
|
68
68
|
}>], StringType>;
|
|
69
69
|
/**
|
|
70
70
|
* Uploads a file to an FTP server.
|
|
@@ -209,11 +209,11 @@ export declare const ftp_get: import("@elaraai/east").AsyncPlatformDefinition<[S
|
|
|
209
209
|
* - Use isDirectory field to distinguish between files and directories
|
|
210
210
|
*/
|
|
211
211
|
export declare const ftp_list: import("@elaraai/east").AsyncPlatformDefinition<[StringType, StringType], ArrayType<import("@elaraai/east").StructType<{
|
|
212
|
-
name: StringType;
|
|
213
|
-
path: StringType;
|
|
214
|
-
size: import("@elaraai/east").IntegerType;
|
|
215
|
-
isDirectory: import("@elaraai/east").BooleanType;
|
|
216
|
-
modifiedTime: StringType;
|
|
212
|
+
readonly name: StringType;
|
|
213
|
+
readonly path: StringType;
|
|
214
|
+
readonly size: import("@elaraai/east").IntegerType;
|
|
215
|
+
readonly isDirectory: import("@elaraai/east").BooleanType;
|
|
216
|
+
readonly modifiedTime: StringType;
|
|
217
217
|
}>>>;
|
|
218
218
|
/**
|
|
219
219
|
* Deletes a file from an FTP server.
|
package/dist/transfer/index.d.ts
CHANGED
|
@@ -77,11 +77,11 @@ export declare const Transfer: {
|
|
|
77
77
|
* ```
|
|
78
78
|
*/
|
|
79
79
|
readonly connect: import("@elaraai/east").AsyncPlatformDefinition<[import("@elaraai/east").StructType<{
|
|
80
|
-
host: import("./types.js").StringType;
|
|
81
|
-
port: import("@elaraai/east").IntegerType;
|
|
82
|
-
user: import("./types.js").StringType;
|
|
83
|
-
password: import("./types.js").StringType;
|
|
84
|
-
secure: import("@elaraai/east").BooleanType;
|
|
80
|
+
readonly host: import("./types.js").StringType;
|
|
81
|
+
readonly port: import("@elaraai/east").IntegerType;
|
|
82
|
+
readonly user: import("./types.js").StringType;
|
|
83
|
+
readonly password: import("./types.js").StringType;
|
|
84
|
+
readonly secure: import("@elaraai/east").BooleanType;
|
|
85
85
|
}>], import("./types.js").StringType>;
|
|
86
86
|
/**
|
|
87
87
|
* Uploads a file to an FTP server.
|
|
@@ -160,11 +160,11 @@ export declare const Transfer: {
|
|
|
160
160
|
* ```
|
|
161
161
|
*/
|
|
162
162
|
readonly list: import("@elaraai/east").AsyncPlatformDefinition<[import("./types.js").StringType, import("./types.js").StringType], import("@elaraai/east").ArrayType<import("@elaraai/east").StructType<{
|
|
163
|
-
name: import("./types.js").StringType;
|
|
164
|
-
path: import("./types.js").StringType;
|
|
165
|
-
size: import("@elaraai/east").IntegerType;
|
|
166
|
-
isDirectory: import("@elaraai/east").BooleanType;
|
|
167
|
-
modifiedTime: import("./types.js").StringType;
|
|
163
|
+
readonly name: import("./types.js").StringType;
|
|
164
|
+
readonly path: import("./types.js").StringType;
|
|
165
|
+
readonly size: import("@elaraai/east").IntegerType;
|
|
166
|
+
readonly isDirectory: import("@elaraai/east").BooleanType;
|
|
167
|
+
readonly modifiedTime: import("./types.js").StringType;
|
|
168
168
|
}>>>;
|
|
169
169
|
/**
|
|
170
170
|
* Deletes a file from an FTP server.
|
|
@@ -230,21 +230,21 @@ export declare const Transfer: {
|
|
|
230
230
|
* FTP connection configuration type.
|
|
231
231
|
*/
|
|
232
232
|
readonly Config: import("@elaraai/east").StructType<{
|
|
233
|
-
host: import("./types.js").StringType;
|
|
234
|
-
port: import("@elaraai/east").IntegerType;
|
|
235
|
-
user: import("./types.js").StringType;
|
|
236
|
-
password: import("./types.js").StringType;
|
|
237
|
-
secure: import("@elaraai/east").BooleanType;
|
|
233
|
+
readonly host: import("./types.js").StringType;
|
|
234
|
+
readonly port: import("@elaraai/east").IntegerType;
|
|
235
|
+
readonly user: import("./types.js").StringType;
|
|
236
|
+
readonly password: import("./types.js").StringType;
|
|
237
|
+
readonly secure: import("@elaraai/east").BooleanType;
|
|
238
238
|
}>;
|
|
239
239
|
/**
|
|
240
240
|
* File information metadata type.
|
|
241
241
|
*/
|
|
242
242
|
readonly FileInfo: import("@elaraai/east").StructType<{
|
|
243
|
-
name: import("./types.js").StringType;
|
|
244
|
-
path: import("./types.js").StringType;
|
|
245
|
-
size: import("@elaraai/east").IntegerType;
|
|
246
|
-
isDirectory: import("@elaraai/east").BooleanType;
|
|
247
|
-
modifiedTime: import("./types.js").StringType;
|
|
243
|
+
readonly name: import("./types.js").StringType;
|
|
244
|
+
readonly path: import("./types.js").StringType;
|
|
245
|
+
readonly size: import("@elaraai/east").IntegerType;
|
|
246
|
+
readonly isDirectory: import("@elaraai/east").BooleanType;
|
|
247
|
+
readonly modifiedTime: import("./types.js").StringType;
|
|
248
248
|
}>;
|
|
249
249
|
};
|
|
250
250
|
};
|
|
@@ -281,11 +281,11 @@ export declare const Transfer: {
|
|
|
281
281
|
* ```
|
|
282
282
|
*/
|
|
283
283
|
readonly connect: import("@elaraai/east").AsyncPlatformDefinition<[import("@elaraai/east").StructType<{
|
|
284
|
-
host: import("./types.js").StringType;
|
|
285
|
-
port: import("@elaraai/east").IntegerType;
|
|
286
|
-
username: import("./types.js").StringType;
|
|
287
|
-
password: import("@elaraai/east").OptionType<import("./types.js").StringType>;
|
|
288
|
-
privateKey: import("@elaraai/east").OptionType<import("./types.js").StringType>;
|
|
284
|
+
readonly host: import("./types.js").StringType;
|
|
285
|
+
readonly port: import("@elaraai/east").IntegerType;
|
|
286
|
+
readonly username: import("./types.js").StringType;
|
|
287
|
+
readonly password: import("@elaraai/east").OptionType<import("./types.js").StringType>;
|
|
288
|
+
readonly privateKey: import("@elaraai/east").OptionType<import("./types.js").StringType>;
|
|
289
289
|
}>], import("./types.js").StringType>;
|
|
290
290
|
/**
|
|
291
291
|
* Uploads a file to an SFTP server.
|
|
@@ -364,11 +364,11 @@ export declare const Transfer: {
|
|
|
364
364
|
* ```
|
|
365
365
|
*/
|
|
366
366
|
readonly list: import("@elaraai/east").AsyncPlatformDefinition<[import("./types.js").StringType, import("./types.js").StringType], import("@elaraai/east").ArrayType<import("@elaraai/east").StructType<{
|
|
367
|
-
name: import("./types.js").StringType;
|
|
368
|
-
path: import("./types.js").StringType;
|
|
369
|
-
size: import("@elaraai/east").IntegerType;
|
|
370
|
-
isDirectory: import("@elaraai/east").BooleanType;
|
|
371
|
-
modifiedTime: import("./types.js").StringType;
|
|
367
|
+
readonly name: import("./types.js").StringType;
|
|
368
|
+
readonly path: import("./types.js").StringType;
|
|
369
|
+
readonly size: import("@elaraai/east").IntegerType;
|
|
370
|
+
readonly isDirectory: import("@elaraai/east").BooleanType;
|
|
371
|
+
readonly modifiedTime: import("./types.js").StringType;
|
|
372
372
|
}>>>;
|
|
373
373
|
/**
|
|
374
374
|
* Deletes a file from an SFTP server.
|
|
@@ -434,21 +434,21 @@ export declare const Transfer: {
|
|
|
434
434
|
* SFTP connection configuration type.
|
|
435
435
|
*/
|
|
436
436
|
readonly Config: import("@elaraai/east").StructType<{
|
|
437
|
-
host: import("./types.js").StringType;
|
|
438
|
-
port: import("@elaraai/east").IntegerType;
|
|
439
|
-
username: import("./types.js").StringType;
|
|
440
|
-
password: import("@elaraai/east").OptionType<import("./types.js").StringType>;
|
|
441
|
-
privateKey: import("@elaraai/east").OptionType<import("./types.js").StringType>;
|
|
437
|
+
readonly host: import("./types.js").StringType;
|
|
438
|
+
readonly port: import("@elaraai/east").IntegerType;
|
|
439
|
+
readonly username: import("./types.js").StringType;
|
|
440
|
+
readonly password: import("@elaraai/east").OptionType<import("./types.js").StringType>;
|
|
441
|
+
readonly privateKey: import("@elaraai/east").OptionType<import("./types.js").StringType>;
|
|
442
442
|
}>;
|
|
443
443
|
/**
|
|
444
444
|
* File information metadata type.
|
|
445
445
|
*/
|
|
446
446
|
readonly FileInfo: import("@elaraai/east").StructType<{
|
|
447
|
-
name: import("./types.js").StringType;
|
|
448
|
-
path: import("./types.js").StringType;
|
|
449
|
-
size: import("@elaraai/east").IntegerType;
|
|
450
|
-
isDirectory: import("@elaraai/east").BooleanType;
|
|
451
|
-
modifiedTime: import("./types.js").StringType;
|
|
447
|
+
readonly name: import("./types.js").StringType;
|
|
448
|
+
readonly path: import("./types.js").StringType;
|
|
449
|
+
readonly size: import("@elaraai/east").IntegerType;
|
|
450
|
+
readonly isDirectory: import("@elaraai/east").BooleanType;
|
|
451
|
+
readonly modifiedTime: import("./types.js").StringType;
|
|
452
452
|
}>;
|
|
453
453
|
};
|
|
454
454
|
};
|
package/dist/transfer/sftp.d.ts
CHANGED
|
@@ -60,11 +60,11 @@ import { StringType } from "./types.js";
|
|
|
60
60
|
* - All operations are asynchronous (use East.compileAsync)
|
|
61
61
|
*/
|
|
62
62
|
export declare const sftp_connect: import("@elaraai/east").AsyncPlatformDefinition<[import("@elaraai/east").StructType<{
|
|
63
|
-
host: StringType;
|
|
64
|
-
port: import("@elaraai/east").IntegerType;
|
|
65
|
-
username: StringType;
|
|
66
|
-
password: import("@elaraai/east").OptionType<StringType>;
|
|
67
|
-
privateKey: import("@elaraai/east").OptionType<StringType>;
|
|
63
|
+
readonly host: StringType;
|
|
64
|
+
readonly port: import("@elaraai/east").IntegerType;
|
|
65
|
+
readonly username: StringType;
|
|
66
|
+
readonly password: import("@elaraai/east").OptionType<StringType>;
|
|
67
|
+
readonly privateKey: import("@elaraai/east").OptionType<StringType>;
|
|
68
68
|
}>], StringType>;
|
|
69
69
|
/**
|
|
70
70
|
* Uploads a file to an SFTP server.
|
|
@@ -209,11 +209,11 @@ export declare const sftp_get: import("@elaraai/east").AsyncPlatformDefinition<[
|
|
|
209
209
|
* - Use isDirectory field to distinguish between files and directories
|
|
210
210
|
*/
|
|
211
211
|
export declare const sftp_list: import("@elaraai/east").AsyncPlatformDefinition<[StringType, StringType], ArrayType<import("@elaraai/east").StructType<{
|
|
212
|
-
name: StringType;
|
|
213
|
-
path: StringType;
|
|
214
|
-
size: import("@elaraai/east").IntegerType;
|
|
215
|
-
isDirectory: import("@elaraai/east").BooleanType;
|
|
216
|
-
modifiedTime: StringType;
|
|
212
|
+
readonly name: StringType;
|
|
213
|
+
readonly path: StringType;
|
|
214
|
+
readonly size: import("@elaraai/east").IntegerType;
|
|
215
|
+
readonly isDirectory: import("@elaraai/east").BooleanType;
|
|
216
|
+
readonly modifiedTime: StringType;
|
|
217
217
|
}>>>;
|
|
218
218
|
/**
|
|
219
219
|
* Deletes a file from an SFTP server.
|
package/dist/transfer/types.d.ts
CHANGED
|
@@ -21,23 +21,23 @@ export declare const FtpConfigType: StructType<{
|
|
|
21
21
|
/**
|
|
22
22
|
* FTP server hostname or IP address.
|
|
23
23
|
*/
|
|
24
|
-
host: StringType;
|
|
24
|
+
readonly host: StringType;
|
|
25
25
|
/**
|
|
26
26
|
* FTP server port (typically 21 for FTP, 990 for FTPS).
|
|
27
27
|
*/
|
|
28
|
-
port: IntegerType;
|
|
28
|
+
readonly port: IntegerType;
|
|
29
29
|
/**
|
|
30
30
|
* Username for authentication.
|
|
31
31
|
*/
|
|
32
|
-
user: StringType;
|
|
32
|
+
readonly user: StringType;
|
|
33
33
|
/**
|
|
34
34
|
* Password for authentication.
|
|
35
35
|
*/
|
|
36
|
-
password: StringType;
|
|
36
|
+
readonly password: StringType;
|
|
37
37
|
/**
|
|
38
38
|
* Use secure FTP (FTPS - FTP over SSL/TLS).
|
|
39
39
|
*/
|
|
40
|
-
secure: BooleanType;
|
|
40
|
+
readonly secure: BooleanType;
|
|
41
41
|
}>;
|
|
42
42
|
/**
|
|
43
43
|
* SFTP connection configuration.
|
|
@@ -48,25 +48,25 @@ export declare const SftpConfigType: StructType<{
|
|
|
48
48
|
/**
|
|
49
49
|
* SFTP server hostname or IP address.
|
|
50
50
|
*/
|
|
51
|
-
host: StringType;
|
|
51
|
+
readonly host: StringType;
|
|
52
52
|
/**
|
|
53
53
|
* SFTP server port (typically 22).
|
|
54
54
|
*/
|
|
55
|
-
port: IntegerType;
|
|
55
|
+
readonly port: IntegerType;
|
|
56
56
|
/**
|
|
57
57
|
* Username for authentication.
|
|
58
58
|
*/
|
|
59
|
-
username: StringType;
|
|
59
|
+
readonly username: StringType;
|
|
60
60
|
/**
|
|
61
61
|
* Password for authentication.
|
|
62
62
|
* Optional if using private key authentication.
|
|
63
63
|
*/
|
|
64
|
-
password: OptionType<StringType>;
|
|
64
|
+
readonly password: OptionType<StringType>;
|
|
65
65
|
/**
|
|
66
66
|
* SSH private key for authentication.
|
|
67
67
|
* Optional if using password authentication.
|
|
68
68
|
*/
|
|
69
|
-
privateKey: OptionType<StringType>;
|
|
69
|
+
readonly privateKey: OptionType<StringType>;
|
|
70
70
|
}>;
|
|
71
71
|
/**
|
|
72
72
|
* File information metadata.
|
|
@@ -77,23 +77,23 @@ export declare const FileInfoType: StructType<{
|
|
|
77
77
|
/**
|
|
78
78
|
* File or directory name.
|
|
79
79
|
*/
|
|
80
|
-
name: StringType;
|
|
80
|
+
readonly name: StringType;
|
|
81
81
|
/**
|
|
82
82
|
* Full path to the file or directory.
|
|
83
83
|
*/
|
|
84
|
-
path: StringType;
|
|
84
|
+
readonly path: StringType;
|
|
85
85
|
/**
|
|
86
86
|
* File size in bytes (0 for directories).
|
|
87
87
|
*/
|
|
88
|
-
size: IntegerType;
|
|
88
|
+
readonly size: IntegerType;
|
|
89
89
|
/**
|
|
90
90
|
* Whether this is a directory (true) or file (false).
|
|
91
91
|
*/
|
|
92
|
-
isDirectory: BooleanType;
|
|
92
|
+
readonly isDirectory: BooleanType;
|
|
93
93
|
/**
|
|
94
94
|
* Last modified timestamp (ISO 8601 format).
|
|
95
95
|
*/
|
|
96
|
-
modifiedTime: StringType;
|
|
96
|
+
readonly modifiedTime: StringType;
|
|
97
97
|
}>;
|
|
98
98
|
/**
|
|
99
99
|
* Opaque connection handle type.
|