@decaf-ts/integrations 0.6.2 → 0.8.0

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.
Files changed (123) hide show
  1. package/dist/integrations.cjs +1 -1
  2. package/jest.config.cjs +10 -0
  3. package/lib/cjs/graph/engine/execution/GraphExecutionContext.cjs +23 -2
  4. package/lib/cjs/graph/engine/execution/GraphExecutionContext.cjs.map +1 -1
  5. package/lib/cjs/graph/engine/execution/GraphExecutionEngine.cjs +76 -0
  6. package/lib/cjs/graph/engine/execution/GraphExecutionEngine.cjs.map +1 -1
  7. package/lib/cjs/graph/engine/execution/LogGraphNodeExecutor.cjs +29 -4
  8. package/lib/cjs/graph/engine/execution/LogGraphNodeExecutor.cjs.map +1 -1
  9. package/lib/cjs/graph/index.cjs +1 -0
  10. package/lib/cjs/graph/index.cjs.map +1 -1
  11. package/lib/cjs/graph/log/GraphRunLogger.cjs +142 -0
  12. package/lib/cjs/graph/log/GraphRunLogger.cjs.map +1 -0
  13. package/lib/cjs/graph/log/LogParameters.cjs +73 -0
  14. package/lib/cjs/graph/log/LogParameters.cjs.map +1 -0
  15. package/lib/cjs/graph/shared/GraphExecutionStateMapper.cjs +97 -0
  16. package/lib/cjs/graph/shared/GraphExecutionStateMapper.cjs.map +1 -0
  17. package/lib/cjs/graph/shared/constants.cjs +56 -1
  18. package/lib/cjs/graph/shared/constants.cjs.map +1 -1
  19. package/lib/cjs/graph/shared/index.cjs +9 -1
  20. package/lib/cjs/graph/shared/index.cjs.map +1 -1
  21. package/lib/cjs/graph/shared/nodes/flow-control.cjs +50 -6
  22. package/lib/cjs/graph/shared/nodes/flow-control.cjs.map +1 -1
  23. package/lib/cjs/index.cjs +3 -3
  24. package/lib/cjs/nest/graph/GraphExecutionResultModel.cjs +1 -1
  25. package/lib/cjs/nest/graph/GraphExecutionResultModel.cjs.map +1 -1
  26. package/lib/cjs/nest/graph/GraphExecutorRegistryFactory.cjs +4 -3
  27. package/lib/cjs/nest/graph/GraphExecutorRegistryFactory.cjs.map +1 -1
  28. package/lib/cjs/nest/graph/GraphWorkflowModel.cjs +1 -5
  29. package/lib/cjs/nest/graph/GraphWorkflowModel.cjs.map +1 -1
  30. package/lib/cjs/sftp/aws/AwsSftpService.cjs +120 -0
  31. package/lib/cjs/sftp/aws/AwsSftpService.cjs.map +1 -0
  32. package/lib/cjs/sftp/core/SftpSource.cjs +29 -0
  33. package/lib/cjs/sftp/core/SftpSource.cjs.map +1 -0
  34. package/lib/cjs/sftp/core/index.cjs +19 -0
  35. package/lib/cjs/sftp/core/index.cjs.map +1 -0
  36. package/lib/cjs/sftp/index.cjs +21 -0
  37. package/lib/cjs/sftp/index.cjs.map +1 -0
  38. package/lib/cjs/sftp/ssh2/Ssh2SftpService.cjs +172 -0
  39. package/lib/cjs/sftp/ssh2/Ssh2SftpService.cjs.map +1 -0
  40. package/lib/cjs/user-requests/index.cjs +27 -0
  41. package/lib/cjs/user-requests/index.cjs.map +1 -0
  42. package/lib/esm/graph/engine/execution/GraphExecutionContext.js +23 -2
  43. package/lib/esm/graph/engine/execution/GraphExecutionContext.js.map +1 -1
  44. package/lib/esm/graph/engine/execution/GraphExecutionEngine.js +77 -1
  45. package/lib/esm/graph/engine/execution/GraphExecutionEngine.js.map +1 -1
  46. package/lib/esm/graph/engine/execution/LogGraphNodeExecutor.js +29 -4
  47. package/lib/esm/graph/engine/execution/LogGraphNodeExecutor.js.map +1 -1
  48. package/lib/esm/graph/index.js +1 -0
  49. package/lib/esm/graph/index.js.map +1 -1
  50. package/lib/esm/graph/log/GraphRunLogger.js +137 -0
  51. package/lib/esm/graph/log/GraphRunLogger.js.map +1 -0
  52. package/lib/esm/graph/log/LogParameters.js +69 -0
  53. package/lib/esm/graph/log/LogParameters.js.map +1 -0
  54. package/lib/esm/graph/shared/GraphExecutionStateMapper.js +91 -0
  55. package/lib/esm/graph/shared/GraphExecutionStateMapper.js.map +1 -0
  56. package/lib/esm/graph/shared/constants.js +82 -3
  57. package/lib/esm/graph/shared/constants.js.map +1 -1
  58. package/lib/esm/graph/shared/index.js +6 -0
  59. package/lib/esm/graph/shared/index.js.map +1 -1
  60. package/lib/esm/graph/shared/nodes/flow-control.js +49 -5
  61. package/lib/esm/graph/shared/nodes/flow-control.js.map +1 -1
  62. package/lib/esm/index.js +3 -3
  63. package/lib/esm/nest/graph/GraphExecutionResultModel.js +3 -3
  64. package/lib/esm/nest/graph/GraphExecutionResultModel.js.map +1 -1
  65. package/lib/esm/nest/graph/GraphExecutorRegistryFactory.js +4 -3
  66. package/lib/esm/nest/graph/GraphExecutorRegistryFactory.js.map +1 -1
  67. package/lib/esm/nest/graph/GraphWorkflowModel.js +3 -7
  68. package/lib/esm/nest/graph/GraphWorkflowModel.js.map +1 -1
  69. package/lib/esm/sftp/aws/AwsSftpService.js +82 -0
  70. package/lib/esm/sftp/aws/AwsSftpService.js.map +1 -0
  71. package/lib/esm/sftp/core/SftpSource.js +23 -0
  72. package/lib/esm/sftp/core/SftpSource.js.map +1 -0
  73. package/lib/esm/sftp/core/index.js +2 -0
  74. package/lib/esm/sftp/core/index.js.map +1 -0
  75. package/lib/esm/sftp/index.js +4 -0
  76. package/lib/esm/sftp/index.js.map +1 -0
  77. package/lib/esm/sftp/ssh2/Ssh2SftpService.js +135 -0
  78. package/lib/esm/sftp/ssh2/Ssh2SftpService.js.map +1 -0
  79. package/lib/esm/user-requests/index.js +10 -0
  80. package/lib/esm/user-requests/index.js.map +1 -0
  81. package/lib/types/graph/engine/execution/GraphExecutionContext.d.cts +12 -2
  82. package/lib/types/graph/engine/execution/GraphExecutionContext.d.mts +12 -2
  83. package/lib/types/graph/engine/execution/GraphExecutionEngine.d.cts +34 -1
  84. package/lib/types/graph/engine/execution/GraphExecutionEngine.d.mts +34 -1
  85. package/lib/types/graph/engine/execution/LogGraphNodeExecutor.d.cts +16 -10
  86. package/lib/types/graph/engine/execution/LogGraphNodeExecutor.d.mts +16 -10
  87. package/lib/types/graph/index.d.cts +1 -0
  88. package/lib/types/graph/index.d.mts +1 -0
  89. package/lib/types/graph/log/GraphRunLogger.d.cts +72 -0
  90. package/lib/types/graph/log/GraphRunLogger.d.mts +72 -0
  91. package/lib/types/graph/log/LogParameters.d.cts +7 -0
  92. package/lib/types/graph/log/LogParameters.d.mts +7 -0
  93. package/lib/types/graph/shared/GraphExecutionStateMapper.d.cts +66 -0
  94. package/lib/types/graph/shared/GraphExecutionStateMapper.d.mts +66 -0
  95. package/lib/types/graph/shared/constants.d.cts +70 -3
  96. package/lib/types/graph/shared/constants.d.mts +70 -3
  97. package/lib/types/graph/shared/index.d.cts +3 -0
  98. package/lib/types/graph/shared/index.d.mts +3 -0
  99. package/lib/types/graph/shared/nodes/flow-control.d.cts +20 -7
  100. package/lib/types/graph/shared/nodes/flow-control.d.mts +20 -7
  101. package/lib/types/graph/shared/types.d.cts +94 -5
  102. package/lib/types/graph/shared/types.d.mts +94 -5
  103. package/lib/types/index.d.cts +2 -2
  104. package/lib/types/index.d.mts +2 -2
  105. package/lib/types/nest/graph/GraphExecutionResultModel.d.cts +3 -3
  106. package/lib/types/nest/graph/GraphExecutionResultModel.d.mts +3 -3
  107. package/lib/types/nest/graph/GraphExecutorRegistryFactory.d.cts +3 -3
  108. package/lib/types/nest/graph/GraphExecutorRegistryFactory.d.mts +3 -3
  109. package/lib/types/nest/graph/GraphWorkflowModel.d.cts +3 -4
  110. package/lib/types/nest/graph/GraphWorkflowModel.d.mts +3 -4
  111. package/lib/types/sftp/aws/AwsSftpService.d.cts +37 -0
  112. package/lib/types/sftp/aws/AwsSftpService.d.mts +37 -0
  113. package/lib/types/sftp/core/SftpSource.d.cts +40 -0
  114. package/lib/types/sftp/core/SftpSource.d.mts +40 -0
  115. package/lib/types/sftp/core/index.d.cts +1 -0
  116. package/lib/types/sftp/core/index.d.mts +1 -0
  117. package/lib/types/sftp/index.d.cts +3 -0
  118. package/lib/types/sftp/index.d.mts +3 -0
  119. package/lib/types/sftp/ssh2/Ssh2SftpService.d.cts +47 -0
  120. package/lib/types/sftp/ssh2/Ssh2SftpService.d.mts +47 -0
  121. package/lib/types/user-requests/index.d.cts +9 -0
  122. package/lib/types/user-requests/index.d.mts +9 -0
  123. package/package.json +26 -3
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@decaf-ts/integrations",
3
- "version": "0.6.2",
3
+ "version": "0.8.0",
4
4
  "type": "module",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.mts",
@@ -104,6 +104,17 @@
104
104
  },
105
105
  "default": "./lib/esm/feature-flags/index.js"
106
106
  },
107
+ "./user-requests": {
108
+ "import": {
109
+ "types": "./lib/types/user-requests/index.d.mts",
110
+ "default": "./lib/esm/user-requests/index.js"
111
+ },
112
+ "require": {
113
+ "types": "./lib/types/user-requests/index.d.cts",
114
+ "default": "./lib/cjs/user-requests/index.cjs"
115
+ },
116
+ "default": "./lib/esm/user-requests/index.js"
117
+ },
107
118
  "./secrets": {
108
119
  "import": {
109
120
  "types": "./lib/types/secrets/index.d.mts",
@@ -258,6 +269,17 @@
258
269
  },
259
270
  "default": "./lib/esm/graph/index.js"
260
271
  },
272
+ "./sftp": {
273
+ "import": {
274
+ "types": "./lib/types/sftp/index.d.mts",
275
+ "default": "./lib/esm/sftp/index.js"
276
+ },
277
+ "require": {
278
+ "types": "./lib/types/sftp/index.d.cts",
279
+ "default": "./lib/cjs/sftp/index.cjs"
280
+ },
281
+ "default": "./lib/esm/sftp/index.js"
282
+ },
261
283
  "./graph/shared": {
262
284
  "import": {
263
285
  "types": "./lib/types/graph/shared/index.d.mts",
@@ -329,7 +351,7 @@
329
351
  "lint": "eslint .",
330
352
  "lint-fix": "eslint --fix .",
331
353
  "prepare-pr": "npm run lint-fix && npm run build:prod && npm run coverage && npm run docs",
332
- "prepare-release": "npm run lint-fix && npm run build:prod && npm run coverage && npm run docs",
354
+ "prepare-release": "npm run lint-fix && npm run build:prod && npm run docs",
333
355
  "release": "./bin/tag-release.sh",
334
356
  "clean-publish": "npx clean-publish",
335
357
  "drawings": "for FILE in workdocs/drawings/*.drawio; do echo \"converting $FILE to image...\" && docker run --rm -v $(pwd):/data rlespinasse/drawio-export --format png $FILE; done && cp -rf workdocs/drawings/export/* workdocs/resources/",
@@ -419,6 +441,7 @@
419
441
  "hashicorp-vault": "^0.1.0",
420
442
  "keycloak-admin": "^24.0.5",
421
443
  "kubo-rpc-client": "^7.1.0",
422
- "onelogin-node": "^0.1.0"
444
+ "onelogin-node": "^0.1.0",
445
+ "ssh2": "^1.16.0"
423
446
  }
424
447
  }