@elaraai/east-node-io 0.0.1-beta.3 → 0.0.1-beta.5
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/platform.d.ts +12 -0
- package/dist/platform.d.ts.map +1 -0
- package/dist/platform.js +51 -0
- package/dist/platform.js.map +1 -0
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +10 -5
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright (c) 2025 Elara AI Pty Ltd
|
|
3
|
+
* Dual-licensed under AGPL-3.0 and commercial license. See LICENSE for details.
|
|
4
|
+
*/
|
|
5
|
+
/**
|
|
6
|
+
* Complete I/O platform implementation.
|
|
7
|
+
*
|
|
8
|
+
* Pass this array to the CLI or `compile()` to enable all I/O platform functions.
|
|
9
|
+
*/
|
|
10
|
+
declare const NodeIOPlatform: import("@elaraai/east/internal").PlatformFunction[];
|
|
11
|
+
export default NodeIOPlatform;
|
|
12
|
+
//# sourceMappingURL=platform.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"platform.d.ts","sourceRoot":"","sources":["../src/platform.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAmCH;;;;GAIG;AACH,QAAA,MAAM,cAAc,qDAanB,CAAC;AAEF,eAAe,cAAc,CAAC"}
|
package/dist/platform.js
ADDED
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright (c) 2025 Elara AI Pty Ltd
|
|
3
|
+
* Dual-licensed under AGPL-3.0 and commercial license. See LICENSE for details.
|
|
4
|
+
*/
|
|
5
|
+
/**
|
|
6
|
+
* Platform export for east-node-cli.
|
|
7
|
+
*
|
|
8
|
+
* This module provides all I/O platform functions for use with the CLI.
|
|
9
|
+
* Import via `@elaraai/east-node-io/platform`.
|
|
10
|
+
*
|
|
11
|
+
* @packageDocumentation
|
|
12
|
+
*/
|
|
13
|
+
// SQL implementations
|
|
14
|
+
import { SqliteImpl } from "./sql/sqlite.js";
|
|
15
|
+
import { PostgresImpl } from "./sql/postgres.js";
|
|
16
|
+
import { MySqlImpl } from "./sql/mysql.js";
|
|
17
|
+
// Storage implementations
|
|
18
|
+
import { S3Impl } from "./storage/s3.js";
|
|
19
|
+
// Transfer implementations
|
|
20
|
+
import { FtpImpl } from "./transfer/ftp.js";
|
|
21
|
+
import { SftpImpl } from "./transfer/sftp.js";
|
|
22
|
+
// NoSQL implementations
|
|
23
|
+
import { RedisImpl } from "./nosql/redis.js";
|
|
24
|
+
import { MongoDBImpl } from "./nosql/mongodb.js";
|
|
25
|
+
// Format implementations
|
|
26
|
+
import { XlsxImpl } from "./format/xlsx.js";
|
|
27
|
+
// Compression implementations
|
|
28
|
+
import { GzipImpl } from "./compression/gzip.js";
|
|
29
|
+
import { ZipImpl } from "./compression/zip.js";
|
|
30
|
+
import { TarImpl } from "./compression/tar.js";
|
|
31
|
+
/**
|
|
32
|
+
* Complete I/O platform implementation.
|
|
33
|
+
*
|
|
34
|
+
* Pass this array to the CLI or `compile()` to enable all I/O platform functions.
|
|
35
|
+
*/
|
|
36
|
+
const NodeIOPlatform = [
|
|
37
|
+
...SqliteImpl,
|
|
38
|
+
...PostgresImpl,
|
|
39
|
+
...MySqlImpl,
|
|
40
|
+
...S3Impl,
|
|
41
|
+
...FtpImpl,
|
|
42
|
+
...SftpImpl,
|
|
43
|
+
...RedisImpl,
|
|
44
|
+
...MongoDBImpl,
|
|
45
|
+
...XlsxImpl,
|
|
46
|
+
...GzipImpl,
|
|
47
|
+
...ZipImpl,
|
|
48
|
+
...TarImpl,
|
|
49
|
+
];
|
|
50
|
+
export default NodeIOPlatform;
|
|
51
|
+
//# sourceMappingURL=platform.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"platform.js","sourceRoot":"","sources":["../src/platform.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH;;;;;;;GAOG;AAEH,sBAAsB;AACtB,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAC7C,OAAO,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AACjD,OAAO,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAE3C,0BAA0B;AAC1B,OAAO,EAAE,MAAM,EAAE,MAAM,iBAAiB,CAAC;AAEzC,2BAA2B;AAC3B,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,EAAE,QAAQ,EAAE,MAAM,oBAAoB,CAAC;AAE9C,wBAAwB;AACxB,OAAO,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAC7C,OAAO,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AAEjD,yBAAyB;AACzB,OAAO,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAE5C,8BAA8B;AAC9B,OAAO,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AACjD,OAAO,EAAE,OAAO,EAAE,MAAM,sBAAsB,CAAC;AAC/C,OAAO,EAAE,OAAO,EAAE,MAAM,sBAAsB,CAAC;AAE/C;;;;GAIG;AACH,MAAM,cAAc,GAAG;IACnB,GAAG,UAAU;IACb,GAAG,YAAY;IACf,GAAG,SAAS;IACZ,GAAG,MAAM;IACT,GAAG,OAAO;IACV,GAAG,QAAQ;IACX,GAAG,SAAS;IACZ,GAAG,WAAW;IACd,GAAG,QAAQ;IACX,GAAG,QAAQ;IACX,GAAG,OAAO;IACV,GAAG,OAAO;CACb,CAAC;AAEF,eAAe,cAAc,CAAC"}
|