@xeplr/actions 1.1.1
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/LICENSE +21 -0
- package/index.js +51 -0
- package/lib/builtins/db/fetch.js +142 -0
- package/lib/builtins/db/list-columns.js +39 -0
- package/lib/builtins/db/list-procedures.js +36 -0
- package/lib/builtins/db/list-tables.js +38 -0
- package/lib/builtins/db/list-views.js +35 -0
- package/lib/builtins/db/push.js +107 -0
- package/lib/builtins/db/query.js +5 -0
- package/lib/builtins/file/move.js +8 -0
- package/lib/builtins/file/upload.js +123 -0
- package/lib/builtins/http-request.js +3 -0
- package/lib/builtins/index.js +40 -0
- package/lib/builtins/send-email.js +8 -0
- package/lib/builtins/spawn-program.js +4 -0
- package/lib/drivers/db/index.js +41 -0
- package/lib/drivers/db/mongo.js +8 -0
- package/lib/drivers/db/mssql.js +464 -0
- package/lib/drivers/db/mysql.js +425 -0
- package/lib/drivers/db/postgres.js +372 -0
- package/lib/drivers/file/google.js +8 -0
- package/lib/drivers/file/index.js +42 -0
- package/lib/drivers/file/local.js +68 -0
- package/lib/drivers/file/sftp.js +9 -0
- package/lib/drivers/file/sharepoint.js +9 -0
- package/lib/errors.js +37 -0
- package/lib/formats/_xlsx-stream.js +355 -0
- package/lib/formats/csv.js +54 -0
- package/lib/formats/excel.js +87 -0
- package/lib/formats/index.js +38 -0
- package/lib/formats/json.js +42 -0
- package/lib/formats/txt.js +6 -0
- package/lib/registry.js +75 -0
- package/lib/runner.js +81 -0
- package/lib/streaming/checkpoint.js +46 -0
- package/lib/streaming/index.js +10 -0
- package/lib/streaming/resume.js +35 -0
- package/lib/streaming/spool.js +253 -0
- package/lib/streaming/utils.js +82 -0
- package/lib/uploader/attach.js +69 -0
- package/lib/uploader/index.js +298 -0
- package/lib/uploader/infer.js +76 -0
- package/lib/uploader/meta-store-knex.js +136 -0
- package/lib/uploader/meta-store-noop.js +11 -0
- package/lib/uploader/reconcile.js +88 -0
- package/package.json +90 -0
package/package.json
ADDED
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@xeplr/actions",
|
|
3
|
+
"version": "1.1.1",
|
|
4
|
+
"description": "Named-action registry with typed inputs and safe invocation — plus built-in actions for HTTP, DB, files, email, spawn",
|
|
5
|
+
"main": "index.js",
|
|
6
|
+
"files": [
|
|
7
|
+
"index.js",
|
|
8
|
+
"lib/"
|
|
9
|
+
],
|
|
10
|
+
"keywords": [
|
|
11
|
+
"action",
|
|
12
|
+
"executor",
|
|
13
|
+
"registry",
|
|
14
|
+
"handler",
|
|
15
|
+
"runner",
|
|
16
|
+
"http",
|
|
17
|
+
"db",
|
|
18
|
+
"file",
|
|
19
|
+
"email"
|
|
20
|
+
],
|
|
21
|
+
"author": "xeplr",
|
|
22
|
+
"license": "MIT",
|
|
23
|
+
"repository": {
|
|
24
|
+
"type": "git",
|
|
25
|
+
"url": "https://github.com/Xeplr/xeplr-actions"
|
|
26
|
+
},
|
|
27
|
+
"publishConfig": {
|
|
28
|
+
"access": "public"
|
|
29
|
+
},
|
|
30
|
+
"dependencies": {
|
|
31
|
+
"@xeplr/schema-handler": "^1.0.0"
|
|
32
|
+
},
|
|
33
|
+
"peerDependencies": {
|
|
34
|
+
"@xeplr/utils": "^1.0.0",
|
|
35
|
+
"csv-parse": "^5.0.0",
|
|
36
|
+
"exceljs": "^4.0.0",
|
|
37
|
+
"knex": "^3.0.0",
|
|
38
|
+
"mongodb": "^6.0.0",
|
|
39
|
+
"mssql": "^11.0.0",
|
|
40
|
+
"mysql2": "^3.0.0",
|
|
41
|
+
"pg": "^8.0.0",
|
|
42
|
+
"saxes": "^6.0.0",
|
|
43
|
+
"ssh2-sftp-client": "^11.0.0",
|
|
44
|
+
"unzipper": "^0.12.5"
|
|
45
|
+
},
|
|
46
|
+
"peerDependenciesMeta": {
|
|
47
|
+
"@xeplr/utils": {
|
|
48
|
+
"optional": true
|
|
49
|
+
},
|
|
50
|
+
"knex": {
|
|
51
|
+
"optional": true
|
|
52
|
+
},
|
|
53
|
+
"pg": {
|
|
54
|
+
"optional": true
|
|
55
|
+
},
|
|
56
|
+
"mysql2": {
|
|
57
|
+
"optional": true
|
|
58
|
+
},
|
|
59
|
+
"mssql": {
|
|
60
|
+
"optional": true
|
|
61
|
+
},
|
|
62
|
+
"mongodb": {
|
|
63
|
+
"optional": true
|
|
64
|
+
},
|
|
65
|
+
"exceljs": {
|
|
66
|
+
"optional": true
|
|
67
|
+
},
|
|
68
|
+
"unzipper": {
|
|
69
|
+
"optional": true
|
|
70
|
+
},
|
|
71
|
+
"saxes": {
|
|
72
|
+
"optional": true
|
|
73
|
+
},
|
|
74
|
+
"csv-parse": {
|
|
75
|
+
"optional": true
|
|
76
|
+
},
|
|
77
|
+
"ssh2-sftp-client": {
|
|
78
|
+
"optional": true
|
|
79
|
+
}
|
|
80
|
+
},
|
|
81
|
+
"devDependencies": {
|
|
82
|
+
"csv-parse": "^5.0.0",
|
|
83
|
+
"express": "^4.0.0",
|
|
84
|
+
"mssql": "^12.7.0",
|
|
85
|
+
"mysql2": "^3.23.1",
|
|
86
|
+
"pg": "^8.0.0",
|
|
87
|
+
"saxes": "^6.0.0",
|
|
88
|
+
"unzipper": "^0.12.0"
|
|
89
|
+
}
|
|
90
|
+
}
|