@solidxai/core 0.1.12 → 0.1.13-beta.10

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 (687) hide show
  1. package/CHANGELOG.md +3786 -0
  2. package/dist/commands/run-tests.command.d.ts +7 -1
  3. package/dist/commands/run-tests.command.d.ts.map +1 -1
  4. package/dist/commands/run-tests.command.js +49 -3
  5. package/dist/commands/run-tests.command.js.map +1 -1
  6. package/dist/commands/seed.command.d.ts +2 -0
  7. package/dist/commands/seed.command.d.ts.map +1 -1
  8. package/dist/commands/seed.command.js +21 -0
  9. package/dist/commands/seed.command.js.map +1 -1
  10. package/dist/constants/chatter-message.constants.d.ts +1 -0
  11. package/dist/constants/chatter-message.constants.d.ts.map +1 -1
  12. package/dist/constants/chatter-message.constants.js +3 -1
  13. package/dist/constants/chatter-message.constants.js.map +1 -1
  14. package/dist/constants/draft-publish-fields.d.ts +2 -0
  15. package/dist/constants/draft-publish-fields.d.ts.map +1 -0
  16. package/dist/constants/draft-publish-fields.js +5 -0
  17. package/dist/constants/draft-publish-fields.js.map +1 -0
  18. package/dist/constants/media-file-types.d.ts +9 -0
  19. package/dist/constants/media-file-types.d.ts.map +1 -1
  20. package/dist/constants/media-file-types.js +27 -1
  21. package/dist/constants/media-file-types.js.map +1 -1
  22. package/dist/constants/user.constants.d.ts +2 -0
  23. package/dist/constants/user.constants.d.ts.map +1 -0
  24. package/dist/constants/user.constants.js +5 -0
  25. package/dist/constants/user.constants.js.map +1 -0
  26. package/dist/controllers/action-metadata.controller.d.ts +1 -1
  27. package/dist/controllers/action-metadata.controller.js +1 -1
  28. package/dist/controllers/agent-event.controller.d.ts +1 -1
  29. package/dist/controllers/agent-event.controller.js +1 -1
  30. package/dist/controllers/agent-session.controller.d.ts +1 -1
  31. package/dist/controllers/agent-session.controller.js +1 -1
  32. package/dist/controllers/chatter-message.controller.d.ts +5 -0
  33. package/dist/controllers/chatter-message.controller.d.ts.map +1 -1
  34. package/dist/controllers/chatter-message.controller.js +14 -0
  35. package/dist/controllers/chatter-message.controller.js.map +1 -1
  36. package/dist/controllers/dashboard-user-layout.controller.d.ts +1 -1
  37. package/dist/controllers/dashboard-user-layout.controller.js +1 -1
  38. package/dist/controllers/email-template.controller.d.ts +1 -1
  39. package/dist/controllers/email-template.controller.js +1 -1
  40. package/dist/controllers/export-template.controller.d.ts +1 -1
  41. package/dist/controllers/export-template.controller.d.ts.map +1 -1
  42. package/dist/controllers/export-template.controller.js +6 -4
  43. package/dist/controllers/export-template.controller.js.map +1 -1
  44. package/dist/controllers/export-transaction.controller.d.ts +1 -1
  45. package/dist/controllers/export-transaction.controller.js +1 -1
  46. package/dist/controllers/import-transaction-error-log.controller.d.ts +1 -1
  47. package/dist/controllers/import-transaction-error-log.controller.js +1 -1
  48. package/dist/controllers/import-transaction.controller.d.ts +1 -1
  49. package/dist/controllers/import-transaction.controller.d.ts.map +1 -1
  50. package/dist/controllers/import-transaction.controller.js +7 -7
  51. package/dist/controllers/import-transaction.controller.js.map +1 -1
  52. package/dist/controllers/list-of-values.controller.d.ts +1 -1
  53. package/dist/controllers/list-of-values.controller.js +1 -1
  54. package/dist/controllers/locale.controller.d.ts +1 -1
  55. package/dist/controllers/locale.controller.js +1 -1
  56. package/dist/controllers/mcp-audit-log.controller.d.ts +1 -1
  57. package/dist/controllers/mcp-audit-log.controller.js +1 -1
  58. package/dist/controllers/media.controller.d.ts +2 -2
  59. package/dist/controllers/media.controller.d.ts.map +1 -1
  60. package/dist/controllers/media.controller.js +13 -8
  61. package/dist/controllers/media.controller.js.map +1 -1
  62. package/dist/controllers/menu-item-metadata.controller.d.ts +1 -1
  63. package/dist/controllers/menu-item-metadata.controller.js +1 -1
  64. package/dist/controllers/model-sequence.controller.d.ts +1 -1
  65. package/dist/controllers/model-sequence.controller.js +1 -1
  66. package/dist/controllers/module-package.controller.d.ts.map +1 -1
  67. package/dist/controllers/module-package.controller.js +2 -3
  68. package/dist/controllers/module-package.controller.js.map +1 -1
  69. package/dist/controllers/mq-message-queue.controller.d.ts +1 -1
  70. package/dist/controllers/mq-message-queue.controller.js +1 -1
  71. package/dist/controllers/mq-message.controller.d.ts +1 -1
  72. package/dist/controllers/mq-message.controller.js +1 -1
  73. package/dist/controllers/permission-metadata.controller.d.ts +1 -1
  74. package/dist/controllers/permission-metadata.controller.js +1 -1
  75. package/dist/controllers/role-metadata.controller.d.ts +1 -1
  76. package/dist/controllers/role-metadata.controller.js +1 -1
  77. package/dist/controllers/saved-filters.controller.d.ts +1 -1
  78. package/dist/controllers/saved-filters.controller.js +1 -1
  79. package/dist/controllers/scheduled-job.controller.d.ts +1 -1
  80. package/dist/controllers/scheduled-job.controller.js +1 -1
  81. package/dist/controllers/security-rule.controller.d.ts +1 -1
  82. package/dist/controllers/security-rule.controller.js +1 -1
  83. package/dist/controllers/sms-template.controller.d.ts +1 -1
  84. package/dist/controllers/sms-template.controller.js +1 -1
  85. package/dist/controllers/user-activity-history.controller.d.ts +1 -1
  86. package/dist/controllers/user-activity-history.controller.js +1 -1
  87. package/dist/controllers/user-view-metadata.controller.d.ts +1 -1
  88. package/dist/controllers/user-view-metadata.controller.js +1 -1
  89. package/dist/controllers/user.controller.d.ts +2 -2
  90. package/dist/controllers/user.controller.js +2 -2
  91. package/dist/controllers/view-metadata.controller.d.ts +3 -3
  92. package/dist/controllers/view-metadata.controller.js +1 -1
  93. package/dist/controllers/workflow-definition.controller.d.ts +38 -0
  94. package/dist/controllers/workflow-definition.controller.d.ts.map +1 -0
  95. package/dist/controllers/workflow-definition.controller.js +272 -0
  96. package/dist/controllers/workflow-definition.controller.js.map +1 -0
  97. package/dist/controllers/workflow-execution-artifact.controller.d.ts +24 -0
  98. package/dist/controllers/workflow-execution-artifact.controller.d.ts.map +1 -0
  99. package/dist/controllers/workflow-execution-artifact.controller.js +179 -0
  100. package/dist/controllers/workflow-execution-artifact.controller.js.map +1 -0
  101. package/dist/controllers/workflow-execution-log.controller.d.ts +24 -0
  102. package/dist/controllers/workflow-execution-log.controller.d.ts.map +1 -0
  103. package/dist/controllers/workflow-execution-log.controller.js +179 -0
  104. package/dist/controllers/workflow-execution-log.controller.js.map +1 -0
  105. package/dist/controllers/workflow-execution.controller.d.ts +29 -0
  106. package/dist/controllers/workflow-execution.controller.d.ts.map +1 -0
  107. package/dist/controllers/workflow-execution.controller.js +227 -0
  108. package/dist/controllers/workflow-execution.controller.js.map +1 -0
  109. package/dist/controllers/workflow-secret.controller.d.ts +24 -0
  110. package/dist/controllers/workflow-secret.controller.d.ts.map +1 -0
  111. package/dist/controllers/workflow-secret.controller.js +179 -0
  112. package/dist/controllers/workflow-secret.controller.js.map +1 -0
  113. package/dist/controllers/workflow-step-execution.controller.d.ts +24 -0
  114. package/dist/controllers/workflow-step-execution.controller.d.ts.map +1 -0
  115. package/dist/controllers/workflow-step-execution.controller.js +179 -0
  116. package/dist/controllers/workflow-step-execution.controller.js.map +1 -0
  117. package/dist/controllers/workflow-trigger-execution.controller.d.ts +24 -0
  118. package/dist/controllers/workflow-trigger-execution.controller.d.ts.map +1 -0
  119. package/dist/controllers/workflow-trigger-execution.controller.js +179 -0
  120. package/dist/controllers/workflow-trigger-execution.controller.js.map +1 -0
  121. package/dist/decorators/workflow-field-data-provider.decorator.d.ts +3 -0
  122. package/dist/decorators/workflow-field-data-provider.decorator.d.ts.map +1 -0
  123. package/dist/decorators/workflow-field-data-provider.decorator.js +11 -0
  124. package/dist/decorators/workflow-field-data-provider.decorator.js.map +1 -0
  125. package/dist/decorators/workflow-node-provider.decorator.d.ts +4 -0
  126. package/dist/decorators/workflow-node-provider.decorator.d.ts.map +1 -0
  127. package/dist/decorators/workflow-node-provider.decorator.js +13 -0
  128. package/dist/decorators/workflow-node-provider.decorator.js.map +1 -0
  129. package/dist/dtos/basic-filters.dto.d.ts +0 -1
  130. package/dist/dtos/basic-filters.dto.d.ts.map +1 -1
  131. package/dist/dtos/basic-filters.dto.js +1 -6
  132. package/dist/dtos/basic-filters.dto.js.map +1 -1
  133. package/dist/dtos/create-workflow-definition.dto.d.ts +14 -0
  134. package/dist/dtos/create-workflow-definition.dto.d.ts.map +1 -0
  135. package/dist/dtos/create-workflow-definition.dto.js +92 -0
  136. package/dist/dtos/create-workflow-definition.dto.js.map +1 -0
  137. package/dist/dtos/create-workflow-execution-artifact.dto.d.ts +22 -0
  138. package/dist/dtos/create-workflow-execution-artifact.dto.d.ts.map +1 -0
  139. package/dist/dtos/create-workflow-execution-artifact.dto.js +139 -0
  140. package/dist/dtos/create-workflow-execution-artifact.dto.js.map +1 -0
  141. package/dist/dtos/create-workflow-execution-log.dto.d.ts +18 -0
  142. package/dist/dtos/create-workflow-execution-log.dto.d.ts.map +1 -0
  143. package/dist/dtos/create-workflow-execution-log.dto.js +116 -0
  144. package/dist/dtos/create-workflow-execution-log.dto.js.map +1 -0
  145. package/dist/dtos/create-workflow-execution.dto.d.ts +33 -0
  146. package/dist/dtos/create-workflow-execution.dto.d.ts.map +1 -0
  147. package/dist/dtos/create-workflow-execution.dto.js +186 -0
  148. package/dist/dtos/create-workflow-execution.dto.js.map +1 -0
  149. package/dist/dtos/create-workflow-secret.dto.d.ts +11 -0
  150. package/dist/dtos/create-workflow-secret.dto.d.ts.map +1 -0
  151. package/dist/dtos/create-workflow-secret.dto.js +74 -0
  152. package/dist/dtos/create-workflow-secret.dto.js.map +1 -0
  153. package/dist/dtos/create-workflow-step-execution.dto.d.ts +27 -0
  154. package/dist/dtos/create-workflow-step-execution.dto.d.ts.map +1 -0
  155. package/dist/dtos/create-workflow-step-execution.dto.js +171 -0
  156. package/dist/dtos/create-workflow-step-execution.dto.js.map +1 -0
  157. package/dist/dtos/create-workflow-trigger-execution.dto.d.ts +25 -0
  158. package/dist/dtos/create-workflow-trigger-execution.dto.d.ts.map +1 -0
  159. package/dist/dtos/create-workflow-trigger-execution.dto.js +158 -0
  160. package/dist/dtos/create-workflow-trigger-execution.dto.js.map +1 -0
  161. package/dist/dtos/execute-workflow.dto.d.ts +7 -0
  162. package/dist/dtos/execute-workflow.dto.d.ts.map +1 -0
  163. package/dist/dtos/execute-workflow.dto.js +11 -0
  164. package/dist/dtos/execute-workflow.dto.js.map +1 -0
  165. package/dist/dtos/update-workflow-definition.dto.d.ts +15 -0
  166. package/dist/dtos/update-workflow-definition.dto.d.ts.map +1 -0
  167. package/dist/dtos/update-workflow-definition.dto.js +97 -0
  168. package/dist/dtos/update-workflow-definition.dto.js.map +1 -0
  169. package/dist/dtos/update-workflow-execution-artifact.dto.d.ts +23 -0
  170. package/dist/dtos/update-workflow-execution-artifact.dto.d.ts.map +1 -0
  171. package/dist/dtos/update-workflow-execution-artifact.dto.js +143 -0
  172. package/dist/dtos/update-workflow-execution-artifact.dto.js.map +1 -0
  173. package/dist/dtos/update-workflow-execution-log.dto.d.ts +19 -0
  174. package/dist/dtos/update-workflow-execution-log.dto.d.ts.map +1 -0
  175. package/dist/dtos/update-workflow-execution-log.dto.js +121 -0
  176. package/dist/dtos/update-workflow-execution-log.dto.js.map +1 -0
  177. package/dist/dtos/update-workflow-execution.dto.d.ts +34 -0
  178. package/dist/dtos/update-workflow-execution.dto.d.ts.map +1 -0
  179. package/dist/dtos/update-workflow-execution.dto.js +190 -0
  180. package/dist/dtos/update-workflow-execution.dto.js.map +1 -0
  181. package/dist/dtos/update-workflow-secret.dto.d.ts +12 -0
  182. package/dist/dtos/update-workflow-secret.dto.d.ts.map +1 -0
  183. package/dist/dtos/update-workflow-secret.dto.js +80 -0
  184. package/dist/dtos/update-workflow-secret.dto.js.map +1 -0
  185. package/dist/dtos/update-workflow-step-execution.dto.d.ts +28 -0
  186. package/dist/dtos/update-workflow-step-execution.dto.d.ts.map +1 -0
  187. package/dist/dtos/update-workflow-step-execution.dto.js +175 -0
  188. package/dist/dtos/update-workflow-step-execution.dto.js.map +1 -0
  189. package/dist/dtos/update-workflow-trigger-execution.dto.d.ts +26 -0
  190. package/dist/dtos/update-workflow-trigger-execution.dto.d.ts.map +1 -0
  191. package/dist/dtos/update-workflow-trigger-execution.dto.js +163 -0
  192. package/dist/dtos/update-workflow-trigger-execution.dto.js.map +1 -0
  193. package/dist/dtos/validate-workflow-definition.dto.d.ts +4 -0
  194. package/dist/dtos/validate-workflow-definition.dto.d.ts.map +1 -0
  195. package/dist/dtos/validate-workflow-definition.dto.js +11 -0
  196. package/dist/dtos/validate-workflow-definition.dto.js.map +1 -0
  197. package/dist/entities/common.entity.d.ts +4 -0
  198. package/dist/entities/common.entity.d.ts.map +1 -1
  199. package/dist/entities/common.entity.js +25 -1
  200. package/dist/entities/common.entity.js.map +1 -1
  201. package/dist/entities/user.entity.d.ts.map +1 -1
  202. package/dist/entities/user.entity.js +36 -0
  203. package/dist/entities/user.entity.js.map +1 -1
  204. package/dist/entities/workflow-definition.entity.d.ts +15 -0
  205. package/dist/entities/workflow-definition.entity.d.ts.map +1 -0
  206. package/dist/entities/workflow-definition.entity.js +77 -0
  207. package/dist/entities/workflow-definition.entity.js.map +1 -0
  208. package/dist/entities/workflow-execution-artifact.entity.d.ts +23 -0
  209. package/dist/entities/workflow-execution-artifact.entity.d.ts.map +1 -0
  210. package/dist/entities/workflow-execution-artifact.entity.js +113 -0
  211. package/dist/entities/workflow-execution-artifact.entity.js.map +1 -0
  212. package/dist/entities/workflow-execution-log.entity.d.ts +19 -0
  213. package/dist/entities/workflow-execution-log.entity.d.ts.map +1 -0
  214. package/dist/entities/workflow-execution-log.entity.js +95 -0
  215. package/dist/entities/workflow-execution-log.entity.js.map +1 -0
  216. package/dist/entities/workflow-execution.entity.d.ts +28 -0
  217. package/dist/entities/workflow-execution.entity.d.ts.map +1 -0
  218. package/dist/entities/workflow-execution.entity.js +124 -0
  219. package/dist/entities/workflow-execution.entity.js.map +1 -0
  220. package/dist/entities/workflow-secret.entity.d.ts +12 -0
  221. package/dist/entities/workflow-secret.entity.d.ts.map +1 -0
  222. package/dist/entities/workflow-secret.entity.js +66 -0
  223. package/dist/entities/workflow-secret.entity.js.map +1 -0
  224. package/dist/entities/workflow-step-execution.entity.d.ts +28 -0
  225. package/dist/entities/workflow-step-execution.entity.d.ts.map +1 -0
  226. package/dist/entities/workflow-step-execution.entity.js +138 -0
  227. package/dist/entities/workflow-step-execution.entity.js.map +1 -0
  228. package/dist/entities/workflow-trigger-execution.entity.d.ts +26 -0
  229. package/dist/entities/workflow-trigger-execution.entity.d.ts.map +1 -0
  230. package/dist/entities/workflow-trigger-execution.entity.js +127 -0
  231. package/dist/entities/workflow-trigger-execution.entity.js.map +1 -0
  232. package/dist/factories/mail.factory.d.ts.map +1 -1
  233. package/dist/factories/mail.factory.js +4 -0
  234. package/dist/factories/mail.factory.js.map +1 -1
  235. package/dist/factories/sms.factory.d.ts.map +1 -1
  236. package/dist/factories/sms.factory.js +4 -1
  237. package/dist/factories/sms.factory.js.map +1 -1
  238. package/dist/helpers/field-crud-managers/MediaFieldCrudManager.d.ts +1 -0
  239. package/dist/helpers/field-crud-managers/MediaFieldCrudManager.d.ts.map +1 -1
  240. package/dist/helpers/field-crud-managers/MediaFieldCrudManager.js +18 -11
  241. package/dist/helpers/field-crud-managers/MediaFieldCrudManager.js.map +1 -1
  242. package/dist/helpers/file-download.helper.d.ts +9 -0
  243. package/dist/helpers/file-download.helper.d.ts.map +1 -0
  244. package/dist/helpers/file-download.helper.js +14 -0
  245. package/dist/helpers/file-download.helper.js.map +1 -0
  246. package/dist/helpers/model-metadata-helper.service.d.ts.map +1 -1
  247. package/dist/helpers/model-metadata-helper.service.js +30 -1
  248. package/dist/helpers/model-metadata-helper.service.js.map +1 -1
  249. package/dist/helpers/solid-registry.d.ts +5 -1
  250. package/dist/helpers/solid-registry.d.ts.map +1 -1
  251. package/dist/helpers/solid-registry.js +18 -1
  252. package/dist/helpers/solid-registry.js.map +1 -1
  253. package/dist/index.d.ts +59 -0
  254. package/dist/index.d.ts.map +1 -1
  255. package/dist/index.js +59 -0
  256. package/dist/index.js.map +1 -1
  257. package/dist/interfaces/workflow-node-handler.interface.d.ts +5 -0
  258. package/dist/interfaces/workflow-node-handler.interface.d.ts.map +1 -0
  259. package/dist/interfaces/workflow-node-handler.interface.js +3 -0
  260. package/dist/interfaces/workflow-node-handler.interface.js.map +1 -0
  261. package/dist/interfaces.d.ts +25 -0
  262. package/dist/interfaces.d.ts.map +1 -1
  263. package/dist/interfaces.js.map +1 -1
  264. package/dist/jobs/database/workflow-execution-publisher-database.service.d.ts +12 -0
  265. package/dist/jobs/database/workflow-execution-publisher-database.service.d.ts.map +1 -0
  266. package/dist/jobs/database/workflow-execution-publisher-database.service.js +39 -0
  267. package/dist/jobs/database/workflow-execution-publisher-database.service.js.map +1 -0
  268. package/dist/jobs/database/workflow-execution-queue-options-database.d.ts +8 -0
  269. package/dist/jobs/database/workflow-execution-queue-options-database.d.ts.map +1 -0
  270. package/dist/jobs/database/workflow-execution-queue-options-database.js +10 -0
  271. package/dist/jobs/database/workflow-execution-queue-options-database.js.map +1 -0
  272. package/dist/jobs/database/workflow-execution-subscriber-database.service.d.ts +19 -0
  273. package/dist/jobs/database/workflow-execution-subscriber-database.service.d.ts.map +1 -0
  274. package/dist/jobs/database/workflow-execution-subscriber-database.service.js +55 -0
  275. package/dist/jobs/database/workflow-execution-subscriber-database.service.js.map +1 -0
  276. package/dist/jobs/rabbitmq/workflow-execution-publisher.service.d.ts +12 -0
  277. package/dist/jobs/rabbitmq/workflow-execution-publisher.service.d.ts.map +1 -0
  278. package/dist/jobs/rabbitmq/workflow-execution-publisher.service.js +39 -0
  279. package/dist/jobs/rabbitmq/workflow-execution-publisher.service.js.map +1 -0
  280. package/dist/jobs/rabbitmq/workflow-execution-queue-options.d.ts +8 -0
  281. package/dist/jobs/rabbitmq/workflow-execution-queue-options.d.ts.map +1 -0
  282. package/dist/jobs/rabbitmq/workflow-execution-queue-options.js +10 -0
  283. package/dist/jobs/rabbitmq/workflow-execution-queue-options.js.map +1 -0
  284. package/dist/jobs/rabbitmq/workflow-execution-subscriber.service.d.ts +17 -0
  285. package/dist/jobs/rabbitmq/workflow-execution-subscriber.service.d.ts.map +1 -0
  286. package/dist/jobs/rabbitmq/workflow-execution-subscriber.service.js +52 -0
  287. package/dist/jobs/rabbitmq/workflow-execution-subscriber.service.js.map +1 -0
  288. package/dist/jobs/redis/workflow-execution-publisher-redis.service.d.ts +12 -0
  289. package/dist/jobs/redis/workflow-execution-publisher-redis.service.d.ts.map +1 -0
  290. package/dist/jobs/redis/workflow-execution-publisher-redis.service.js +39 -0
  291. package/dist/jobs/redis/workflow-execution-publisher-redis.service.js.map +1 -0
  292. package/dist/jobs/redis/workflow-execution-queue-options-redis.d.ts +8 -0
  293. package/dist/jobs/redis/workflow-execution-queue-options-redis.d.ts.map +1 -0
  294. package/dist/jobs/redis/workflow-execution-queue-options-redis.js +10 -0
  295. package/dist/jobs/redis/workflow-execution-queue-options-redis.js.map +1 -0
  296. package/dist/jobs/redis/workflow-execution-subscriber-redis.service.d.ts +17 -0
  297. package/dist/jobs/redis/workflow-execution-subscriber-redis.service.d.ts.map +1 -0
  298. package/dist/jobs/redis/workflow-execution-subscriber-redis.service.js +52 -0
  299. package/dist/jobs/redis/workflow-execution-subscriber-redis.service.js.map +1 -0
  300. package/dist/repository/security-rule.repository.d.ts +1 -0
  301. package/dist/repository/security-rule.repository.d.ts.map +1 -1
  302. package/dist/repository/security-rule.repository.js +28 -7
  303. package/dist/repository/security-rule.repository.js.map +1 -1
  304. package/dist/repository/workflow-definition.repository.d.ts +12 -0
  305. package/dist/repository/workflow-definition.repository.d.ts.map +1 -0
  306. package/dist/repository/workflow-definition.repository.js +39 -0
  307. package/dist/repository/workflow-definition.repository.js.map +1 -0
  308. package/dist/repository/workflow-execution-artifact.repository.d.ts +12 -0
  309. package/dist/repository/workflow-execution-artifact.repository.d.ts.map +1 -0
  310. package/dist/repository/workflow-execution-artifact.repository.js +39 -0
  311. package/dist/repository/workflow-execution-artifact.repository.js.map +1 -0
  312. package/dist/repository/workflow-execution-log.repository.d.ts +12 -0
  313. package/dist/repository/workflow-execution-log.repository.d.ts.map +1 -0
  314. package/dist/repository/workflow-execution-log.repository.js +39 -0
  315. package/dist/repository/workflow-execution-log.repository.js.map +1 -0
  316. package/dist/repository/workflow-execution.repository.d.ts +12 -0
  317. package/dist/repository/workflow-execution.repository.d.ts.map +1 -0
  318. package/dist/repository/workflow-execution.repository.js +39 -0
  319. package/dist/repository/workflow-execution.repository.js.map +1 -0
  320. package/dist/repository/workflow-secret.repository.d.ts +12 -0
  321. package/dist/repository/workflow-secret.repository.d.ts.map +1 -0
  322. package/dist/repository/workflow-secret.repository.js +39 -0
  323. package/dist/repository/workflow-secret.repository.js.map +1 -0
  324. package/dist/repository/workflow-step-execution.repository.d.ts +12 -0
  325. package/dist/repository/workflow-step-execution.repository.d.ts.map +1 -0
  326. package/dist/repository/workflow-step-execution.repository.js +39 -0
  327. package/dist/repository/workflow-step-execution.repository.js.map +1 -0
  328. package/dist/repository/workflow-trigger-execution.repository.d.ts +12 -0
  329. package/dist/repository/workflow-trigger-execution.repository.d.ts.map +1 -0
  330. package/dist/repository/workflow-trigger-execution.repository.js +39 -0
  331. package/dist/repository/workflow-trigger-execution.repository.js.map +1 -0
  332. package/dist/seeders/module-metadata-seeder.service.d.ts +6 -0
  333. package/dist/seeders/module-metadata-seeder.service.d.ts.map +1 -1
  334. package/dist/seeders/module-metadata-seeder.service.js +185 -27
  335. package/dist/seeders/module-metadata-seeder.service.js.map +1 -1
  336. package/dist/seeders/module-test-data.service.d.ts +3 -1
  337. package/dist/seeders/module-test-data.service.d.ts.map +1 -1
  338. package/dist/seeders/module-test-data.service.js +8 -2
  339. package/dist/seeders/module-test-data.service.js.map +1 -1
  340. package/dist/seeders/seed-data/solid-core-metadata.json +11494 -5570
  341. package/dist/services/authentication.service.d.ts +4 -1
  342. package/dist/services/authentication.service.d.ts.map +1 -1
  343. package/dist/services/authentication.service.js +52 -4
  344. package/dist/services/authentication.service.js.map +1 -1
  345. package/dist/services/chatter-message.service.d.ts +11 -0
  346. package/dist/services/chatter-message.service.d.ts.map +1 -1
  347. package/dist/services/chatter-message.service.js +53 -4
  348. package/dist/services/chatter-message.service.js.map +1 -1
  349. package/dist/services/crud-helper.service.d.ts +21 -3
  350. package/dist/services/crud-helper.service.d.ts.map +1 -1
  351. package/dist/services/crud-helper.service.js +129 -54
  352. package/dist/services/crud-helper.service.js.map +1 -1
  353. package/dist/services/crud.service.d.ts +14 -1
  354. package/dist/services/crud.service.d.ts.map +1 -1
  355. package/dist/services/crud.service.js +107 -67
  356. package/dist/services/crud.service.js.map +1 -1
  357. package/dist/services/datasource-introspection.service.d.ts.map +1 -1
  358. package/dist/services/datasource-introspection.service.js.map +1 -1
  359. package/dist/services/draft-publish-helper.service.d.ts +52 -0
  360. package/dist/services/draft-publish-helper.service.d.ts.map +1 -0
  361. package/dist/services/draft-publish-helper.service.js +368 -0
  362. package/dist/services/draft-publish-helper.service.js.map +1 -0
  363. package/dist/services/internationalisation-helper.service.d.ts +19 -0
  364. package/dist/services/internationalisation-helper.service.d.ts.map +1 -0
  365. package/dist/services/internationalisation-helper.service.js +107 -0
  366. package/dist/services/internationalisation-helper.service.js.map +1 -0
  367. package/dist/services/locale.service.d.ts +1 -1
  368. package/dist/services/media.service.d.ts +3 -2
  369. package/dist/services/media.service.d.ts.map +1 -1
  370. package/dist/services/media.service.js +44 -29
  371. package/dist/services/media.service.js.map +1 -1
  372. package/dist/services/metadata-validation.service.d.ts +7 -0
  373. package/dist/services/metadata-validation.service.d.ts.map +1 -0
  374. package/dist/services/metadata-validation.service.js +42 -0
  375. package/dist/services/metadata-validation.service.js.map +1 -0
  376. package/dist/services/model-metadata.service.d.ts.map +1 -1
  377. package/dist/services/model-metadata.service.js +2 -1
  378. package/dist/services/model-metadata.service.js.map +1 -1
  379. package/dist/services/object.utils.d.ts +2 -0
  380. package/dist/services/object.utils.d.ts.map +1 -0
  381. package/dist/services/object.utils.js +11 -0
  382. package/dist/services/object.utils.js.map +1 -0
  383. package/dist/services/settings/default-settings-provider.service.d.ts +46 -6
  384. package/dist/services/settings/default-settings-provider.service.d.ts.map +1 -1
  385. package/dist/services/settings/default-settings-provider.service.js +29 -3
  386. package/dist/services/settings/default-settings-provider.service.js.map +1 -1
  387. package/dist/services/solid-introspect.service.d.ts +1 -0
  388. package/dist/services/solid-introspect.service.d.ts.map +1 -1
  389. package/dist/services/solid-introspect.service.js +12 -0
  390. package/dist/services/solid-introspect.service.js.map +1 -1
  391. package/dist/services/user.service.d.ts +2 -2
  392. package/dist/services/user.service.d.ts.map +1 -1
  393. package/dist/services/user.service.js +9 -3
  394. package/dist/services/user.service.js.map +1 -1
  395. package/dist/services/view-metadata.service.d.ts +6 -3
  396. package/dist/services/view-metadata.service.d.ts.map +1 -1
  397. package/dist/services/view-metadata.service.js +60 -63
  398. package/dist/services/view-metadata.service.js.map +1 -1
  399. package/dist/services/workflow/nodes/execution-fail.node.d.ts +6 -0
  400. package/dist/services/workflow/nodes/execution-fail.node.d.ts.map +1 -0
  401. package/dist/services/workflow/nodes/execution-fail.node.js +81 -0
  402. package/dist/services/workflow/nodes/execution-fail.node.js.map +1 -0
  403. package/dist/services/workflow/nodes/for-each.node.d.ts +8 -0
  404. package/dist/services/workflow/nodes/for-each.node.d.ts.map +1 -0
  405. package/dist/services/workflow/nodes/for-each.node.js +204 -0
  406. package/dist/services/workflow/nodes/for-each.node.js.map +1 -0
  407. package/dist/services/workflow/nodes/http-request.node.d.ts +13 -0
  408. package/dist/services/workflow/nodes/http-request.node.d.ts.map +1 -0
  409. package/dist/services/workflow/nodes/http-request.node.js +549 -0
  410. package/dist/services/workflow/nodes/http-request.node.js.map +1 -0
  411. package/dist/services/workflow/nodes/if.node.d.ts +6 -0
  412. package/dist/services/workflow/nodes/if.node.d.ts.map +1 -0
  413. package/dist/services/workflow/nodes/if.node.js +100 -0
  414. package/dist/services/workflow/nodes/if.node.js.map +1 -0
  415. package/dist/services/workflow/nodes/log-write.node.d.ts +6 -0
  416. package/dist/services/workflow/nodes/log-write.node.d.ts.map +1 -0
  417. package/dist/services/workflow/nodes/log-write.node.js +231 -0
  418. package/dist/services/workflow/nodes/log-write.node.js.map +1 -0
  419. package/dist/services/workflow/nodes/loop-until.node.d.ts +12 -0
  420. package/dist/services/workflow/nodes/loop-until.node.d.ts.map +1 -0
  421. package/dist/services/workflow/nodes/loop-until.node.js +281 -0
  422. package/dist/services/workflow/nodes/loop-until.node.js.map +1 -0
  423. package/dist/services/workflow/nodes/parallel.node.d.ts +6 -0
  424. package/dist/services/workflow/nodes/parallel.node.d.ts.map +1 -0
  425. package/dist/services/workflow/nodes/parallel.node.js +83 -0
  426. package/dist/services/workflow/nodes/parallel.node.js.map +1 -0
  427. package/dist/services/workflow/nodes/runtime-python.node.d.ts +13 -0
  428. package/dist/services/workflow/nodes/runtime-python.node.d.ts.map +1 -0
  429. package/dist/services/workflow/nodes/runtime-python.node.js +522 -0
  430. package/dist/services/workflow/nodes/runtime-python.node.js.map +1 -0
  431. package/dist/services/workflow/nodes/sequential.node.d.ts +6 -0
  432. package/dist/services/workflow/nodes/sequential.node.d.ts.map +1 -0
  433. package/dist/services/workflow/nodes/sequential.node.js +68 -0
  434. package/dist/services/workflow/nodes/sequential.node.js.map +1 -0
  435. package/dist/services/workflow/nodes/solidx-api.helpers.d.ts +25 -0
  436. package/dist/services/workflow/nodes/solidx-api.helpers.d.ts.map +1 -0
  437. package/dist/services/workflow/nodes/solidx-api.helpers.js +143 -0
  438. package/dist/services/workflow/nodes/solidx-api.helpers.js.map +1 -0
  439. package/dist/services/workflow/nodes/solidx-crud.nodes.d.ts +48 -0
  440. package/dist/services/workflow/nodes/solidx-crud.nodes.d.ts.map +1 -0
  441. package/dist/services/workflow/nodes/solidx-crud.nodes.js +475 -0
  442. package/dist/services/workflow/nodes/solidx-crud.nodes.js.map +1 -0
  443. package/dist/services/workflow/nodes/solidx-login.node.d.ts +6 -0
  444. package/dist/services/workflow/nodes/solidx-login.node.d.ts.map +1 -0
  445. package/dist/services/workflow/nodes/solidx-login.node.js +208 -0
  446. package/dist/services/workflow/nodes/solidx-login.node.js.map +1 -0
  447. package/dist/services/workflow/nodes/solidx-send-email.node.d.ts +11 -0
  448. package/dist/services/workflow/nodes/solidx-send-email.node.d.ts.map +1 -0
  449. package/dist/services/workflow/nodes/solidx-send-email.node.js +437 -0
  450. package/dist/services/workflow/nodes/solidx-send-email.node.js.map +1 -0
  451. package/dist/services/workflow/nodes/solidx-send-sms.node.d.ts +10 -0
  452. package/dist/services/workflow/nodes/solidx-send-sms.node.d.ts.map +1 -0
  453. package/dist/services/workflow/nodes/solidx-send-sms.node.js +347 -0
  454. package/dist/services/workflow/nodes/solidx-send-sms.node.js.map +1 -0
  455. package/dist/services/workflow/nodes/switch.node.d.ts +7 -0
  456. package/dist/services/workflow/nodes/switch.node.d.ts.map +1 -0
  457. package/dist/services/workflow/nodes/switch.node.js +120 -0
  458. package/dist/services/workflow/nodes/switch.node.js.map +1 -0
  459. package/dist/services/workflow/workflow-definition-metadata-sync.service.d.ts +19 -0
  460. package/dist/services/workflow/workflow-definition-metadata-sync.service.d.ts.map +1 -0
  461. package/dist/services/workflow/workflow-definition-metadata-sync.service.js +187 -0
  462. package/dist/services/workflow/workflow-definition-metadata-sync.service.js.map +1 -0
  463. package/dist/services/workflow/workflow-definition-validator.service.d.ts +13 -0
  464. package/dist/services/workflow/workflow-definition-validator.service.d.ts.map +1 -0
  465. package/dist/services/workflow/workflow-definition-validator.service.js +166 -0
  466. package/dist/services/workflow/workflow-definition-validator.service.js.map +1 -0
  467. package/dist/services/workflow/workflow-execution-writer.service.d.ts +26 -0
  468. package/dist/services/workflow/workflow-execution-writer.service.d.ts.map +1 -0
  469. package/dist/services/workflow/workflow-execution-writer.service.js +191 -0
  470. package/dist/services/workflow/workflow-execution-writer.service.js.map +1 -0
  471. package/dist/services/workflow/workflow-expression.service.d.ts +14 -0
  472. package/dist/services/workflow/workflow-expression.service.d.ts.map +1 -0
  473. package/dist/services/workflow/workflow-expression.service.js +157 -0
  474. package/dist/services/workflow/workflow-expression.service.js.map +1 -0
  475. package/dist/services/workflow/workflow-invocation.service.d.ts +11 -0
  476. package/dist/services/workflow/workflow-invocation.service.d.ts.map +1 -0
  477. package/dist/services/workflow/workflow-invocation.service.js +37 -0
  478. package/dist/services/workflow/workflow-invocation.service.js.map +1 -0
  479. package/dist/services/workflow/workflow-node-registry.service.d.ts +19 -0
  480. package/dist/services/workflow/workflow-node-registry.service.d.ts.map +1 -0
  481. package/dist/services/workflow/workflow-node-registry.service.js +117 -0
  482. package/dist/services/workflow/workflow-node-registry.service.js.map +1 -0
  483. package/dist/services/workflow/workflow-runtime.service.d.ts +61 -0
  484. package/dist/services/workflow/workflow-runtime.service.d.ts.map +1 -0
  485. package/dist/services/workflow/workflow-runtime.service.js +706 -0
  486. package/dist/services/workflow/workflow-runtime.service.js.map +1 -0
  487. package/dist/services/workflow/workflow-scheduled-trigger.job.d.ts +10 -0
  488. package/dist/services/workflow/workflow-scheduled-trigger.job.d.ts.map +1 -0
  489. package/dist/services/workflow/workflow-scheduled-trigger.job.js +37 -0
  490. package/dist/services/workflow/workflow-scheduled-trigger.job.js.map +1 -0
  491. package/dist/services/workflow-definition.service.d.ts +52 -0
  492. package/dist/services/workflow-definition.service.d.ts.map +1 -0
  493. package/dist/services/workflow-definition.service.js +251 -0
  494. package/dist/services/workflow-definition.service.js.map +1 -0
  495. package/dist/services/workflow-execution-artifact.service.d.ts +12 -0
  496. package/dist/services/workflow-execution-artifact.service.d.ts.map +1 -0
  497. package/dist/services/workflow-execution-artifact.service.js +38 -0
  498. package/dist/services/workflow-execution-artifact.service.js.map +1 -0
  499. package/dist/services/workflow-execution-log.service.d.ts +12 -0
  500. package/dist/services/workflow-execution-log.service.d.ts.map +1 -0
  501. package/dist/services/workflow-execution-log.service.js +38 -0
  502. package/dist/services/workflow-execution-log.service.js.map +1 -0
  503. package/dist/services/workflow-execution.service.d.ts +12 -0
  504. package/dist/services/workflow-execution.service.d.ts.map +1 -0
  505. package/dist/services/workflow-execution.service.js +38 -0
  506. package/dist/services/workflow-execution.service.js.map +1 -0
  507. package/dist/services/workflow-secret.service.d.ts +25 -0
  508. package/dist/services/workflow-secret.service.d.ts.map +1 -0
  509. package/dist/services/workflow-secret.service.js +152 -0
  510. package/dist/services/workflow-secret.service.js.map +1 -0
  511. package/dist/services/workflow-step-execution.service.d.ts +12 -0
  512. package/dist/services/workflow-step-execution.service.d.ts.map +1 -0
  513. package/dist/services/workflow-step-execution.service.js +38 -0
  514. package/dist/services/workflow-step-execution.service.js.map +1 -0
  515. package/dist/services/workflow-trigger-execution.service.d.ts +12 -0
  516. package/dist/services/workflow-trigger-execution.service.d.ts.map +1 -0
  517. package/dist/services/workflow-trigger-execution.service.js +38 -0
  518. package/dist/services/workflow-trigger-execution.service.js.map +1 -0
  519. package/dist/solid-core.module.d.ts.map +1 -1
  520. package/dist/solid-core.module.js +131 -1
  521. package/dist/solid-core.module.js.map +1 -1
  522. package/dist/testing/adapters/ui/playwright-adapter.d.ts +5 -0
  523. package/dist/testing/adapters/ui/playwright-adapter.d.ts.map +1 -1
  524. package/dist/testing/adapters/ui/playwright-adapter.js +17 -1
  525. package/dist/testing/adapters/ui/playwright-adapter.js.map +1 -1
  526. package/dist/testing/adapters/ui/ui.types.d.ts +2 -0
  527. package/dist/testing/adapters/ui/ui.types.d.ts.map +1 -1
  528. package/dist/testing/adapters/ui/ui.types.js.map +1 -1
  529. package/dist/testing/steps/ui/actions.step.d.ts.map +1 -1
  530. package/dist/testing/steps/ui/actions.step.js +6 -2
  531. package/dist/testing/steps/ui/actions.step.js.map +1 -1
  532. package/dist/testing/steps/ui/assertions.step.d.ts.map +1 -1
  533. package/dist/testing/steps/ui/assertions.step.js +11 -3
  534. package/dist/testing/steps/ui/assertions.step.js.map +1 -1
  535. package/dist/testing/steps/ui/form.step.d.ts.map +1 -1
  536. package/dist/testing/steps/ui/form.step.js +9 -3
  537. package/dist/testing/steps/ui/form.step.js.map +1 -1
  538. package/dist/testing/steps/ui/manual.step.js +1 -1
  539. package/dist/testing/steps/ui/manual.step.js.map +1 -1
  540. package/dist/testing/steps/ui/navigation.step.d.ts.map +1 -1
  541. package/dist/testing/steps/ui/navigation.step.js +3 -1
  542. package/dist/testing/steps/ui/navigation.step.js.map +1 -1
  543. package/dist/transformers/empty-string-to-null-transformer.d.ts +4 -0
  544. package/dist/transformers/empty-string-to-null-transformer.d.ts.map +1 -0
  545. package/dist/transformers/empty-string-to-null-transformer.js +12 -0
  546. package/dist/transformers/empty-string-to-null-transformer.js.map +1 -0
  547. package/dist/types/workflow-dsl.types.d.ts +291 -0
  548. package/dist/types/workflow-dsl.types.d.ts.map +1 -0
  549. package/dist/types/workflow-dsl.types.js +3 -0
  550. package/dist/types/workflow-dsl.types.js.map +1 -0
  551. package/dist/types/workflow-execution-queue.types.d.ts +4 -0
  552. package/dist/types/workflow-execution-queue.types.d.ts.map +1 -0
  553. package/dist/types/workflow-execution-queue.types.js +3 -0
  554. package/dist/types/workflow-execution-queue.types.js.map +1 -0
  555. package/package.json +3 -2
  556. package/src/commands/run-tests.command.ts +47 -1
  557. package/src/commands/seed.command.ts +19 -0
  558. package/src/constants/chatter-message.constants.ts +12 -0
  559. package/src/constants/draft-publish-fields.ts +5 -0
  560. package/src/constants/media-file-types.ts +50 -0
  561. package/src/constants/user.constants.ts +13 -0
  562. package/src/controllers/chatter-message.controller.ts +8 -0
  563. package/src/controllers/export-template.controller.ts +5 -3
  564. package/src/controllers/import-transaction.controller.ts +6 -6
  565. package/src/controllers/media.controller.ts +17 -6
  566. package/src/controllers/module-package.controller.ts +2 -3
  567. package/src/controllers/workflow-definition.controller.ts +141 -0
  568. package/src/controllers/workflow-execution-artifact.controller.ts +93 -0
  569. package/src/controllers/workflow-execution-log.controller.ts +93 -0
  570. package/src/controllers/workflow-execution.controller.ts +126 -0
  571. package/src/controllers/workflow-secret.controller.ts +90 -0
  572. package/src/controllers/workflow-step-execution.controller.ts +93 -0
  573. package/src/controllers/workflow-trigger-execution.controller.ts +93 -0
  574. package/src/decorators/workflow-field-data-provider.decorator.ts +7 -0
  575. package/src/decorators/workflow-node-provider.decorator.ts +14 -0
  576. package/src/dtos/basic-filters.dto.ts +0 -4
  577. package/src/dtos/create-workflow-definition.dto.ts +60 -0
  578. package/src/dtos/create-workflow-execution-artifact.dto.ts +99 -0
  579. package/src/dtos/create-workflow-execution-log.dto.ts +80 -0
  580. package/src/dtos/create-workflow-execution.dto.ts +137 -0
  581. package/src/dtos/create-workflow-secret.dto.ts +44 -0
  582. package/src/dtos/create-workflow-step-execution.dto.ts +123 -0
  583. package/src/dtos/create-workflow-trigger-execution.dto.ts +114 -0
  584. package/src/dtos/execute-workflow.dto.ts +6 -0
  585. package/src/dtos/update-workflow-definition.dto.ts +67 -0
  586. package/src/dtos/update-workflow-execution-artifact.dto.ts +105 -0
  587. package/src/dtos/update-workflow-execution-log.dto.ts +87 -0
  588. package/src/dtos/update-workflow-execution.dto.ts +144 -0
  589. package/src/dtos/update-workflow-secret.dto.ts +53 -0
  590. package/src/dtos/update-workflow-step-execution.dto.ts +132 -0
  591. package/src/dtos/update-workflow-trigger-execution.dto.ts +122 -0
  592. package/src/dtos/validate-workflow-definition.dto.ts +3 -0
  593. package/src/entities/common.entity.ts +24 -0
  594. package/src/entities/user.entity.ts +53 -36
  595. package/src/entities/workflow-definition.entity.ts +43 -0
  596. package/src/entities/workflow-execution-artifact.entity.ts +72 -0
  597. package/src/entities/workflow-execution-log.entity.ts +58 -0
  598. package/src/entities/workflow-execution.entity.ts +82 -0
  599. package/src/entities/workflow-secret.entity.ts +33 -0
  600. package/src/entities/workflow-step-execution.entity.ts +88 -0
  601. package/src/entities/workflow-trigger-execution.entity.ts +82 -0
  602. package/src/factories/mail.factory.ts +7 -1
  603. package/src/factories/sms.factory.ts +4 -1
  604. package/src/helpers/field-crud-managers/MediaFieldCrudManager.ts +26 -12
  605. package/src/helpers/file-download.helper.ts +31 -0
  606. package/src/helpers/model-metadata-helper.service.ts +32 -1
  607. package/src/helpers/solid-registry.ts +22 -2
  608. package/src/index.ts +59 -0
  609. package/src/interfaces/workflow-node-handler.interface.ts +10 -0
  610. package/src/interfaces.ts +30 -0
  611. package/src/jobs/database/workflow-execution-publisher-database.service.ts +24 -0
  612. package/src/jobs/database/workflow-execution-queue-options-database.ts +9 -0
  613. package/src/jobs/database/workflow-execution-subscriber-database.service.ts +44 -0
  614. package/src/jobs/rabbitmq/workflow-execution-publisher.service.ts +24 -0
  615. package/src/jobs/rabbitmq/workflow-execution-queue-options.ts +9 -0
  616. package/src/jobs/rabbitmq/workflow-execution-subscriber.service.ts +42 -0
  617. package/src/jobs/redis/workflow-execution-publisher-redis.service.ts +24 -0
  618. package/src/jobs/redis/workflow-execution-queue-options-redis.ts +9 -0
  619. package/src/jobs/redis/workflow-execution-subscriber-redis.service.ts +42 -0
  620. package/src/repository/security-rule.repository.ts +52 -10
  621. package/src/repository/workflow-definition.repository.ts +19 -0
  622. package/src/repository/workflow-execution-artifact.repository.ts +19 -0
  623. package/src/repository/workflow-execution-log.repository.ts +19 -0
  624. package/src/repository/workflow-execution.repository.ts +19 -0
  625. package/src/repository/workflow-secret.repository.ts +19 -0
  626. package/src/repository/workflow-step-execution.repository.ts +19 -0
  627. package/src/repository/workflow-trigger-execution.repository.ts +19 -0
  628. package/src/seeders/module-metadata-seeder.service.ts +216 -40
  629. package/src/seeders/module-test-data.service.ts +6 -0
  630. package/src/seeders/seed-data/solid-core-metadata.json +11494 -5570
  631. package/src/services/authentication.service.ts +76 -5
  632. package/src/services/chatter-message.service.ts +107 -5
  633. package/src/services/crud-helper.service.ts +236 -56
  634. package/src/services/crud.service.ts +159 -104
  635. package/src/services/datasource-introspection.service.ts +5 -0
  636. package/src/services/draft-publish-helper.service.ts +529 -0
  637. package/src/services/internationalisation-helper.service.ts +148 -0
  638. package/src/services/media.service.ts +67 -36
  639. package/src/services/metadata-validation.service.ts +39 -0
  640. package/src/services/model-metadata.service.ts +4 -1
  641. package/src/services/object.utils.ts +10 -0
  642. package/src/services/settings/default-settings-provider.service.ts +35 -3
  643. package/src/services/solid-introspect.service.ts +19 -0
  644. package/src/services/user.service.ts +18 -3
  645. package/src/services/view-metadata.service.ts +80 -154
  646. package/src/services/workflow/nodes/execution-fail.node.ts +82 -0
  647. package/src/services/workflow/nodes/for-each.node.ts +231 -0
  648. package/src/services/workflow/nodes/http-request.node.ts +624 -0
  649. package/src/services/workflow/nodes/if.node.ts +100 -0
  650. package/src/services/workflow/nodes/log-write.node.ts +234 -0
  651. package/src/services/workflow/nodes/loop-until.node.ts +343 -0
  652. package/src/services/workflow/nodes/parallel.node.ts +88 -0
  653. package/src/services/workflow/nodes/runtime-python.node.ts +571 -0
  654. package/src/services/workflow/nodes/sequential.node.ts +65 -0
  655. package/src/services/workflow/nodes/solidx-api.helpers.ts +205 -0
  656. package/src/services/workflow/nodes/solidx-crud.nodes.ts +511 -0
  657. package/src/services/workflow/nodes/solidx-login.node.ts +222 -0
  658. package/src/services/workflow/nodes/solidx-send-email.node.ts +489 -0
  659. package/src/services/workflow/nodes/solidx-send-sms.node.ts +377 -0
  660. package/src/services/workflow/nodes/switch.node.ts +132 -0
  661. package/src/services/workflow/workflow-definition-metadata-sync.service.ts +196 -0
  662. package/src/services/workflow/workflow-definition-validator.service.ts +226 -0
  663. package/src/services/workflow/workflow-execution-writer.service.ts +244 -0
  664. package/src/services/workflow/workflow-expression.service.ts +180 -0
  665. package/src/services/workflow/workflow-invocation.service.ts +39 -0
  666. package/src/services/workflow/workflow-node-registry.service.ts +152 -0
  667. package/src/services/workflow/workflow-runtime.service.ts +934 -0
  668. package/src/services/workflow/workflow-scheduled-trigger.job.ts +33 -0
  669. package/src/services/workflow-definition.service.ts +293 -0
  670. package/src/services/workflow-execution-artifact.service.ts +20 -0
  671. package/src/services/workflow-execution-log.service.ts +20 -0
  672. package/src/services/workflow-execution.service.ts +20 -0
  673. package/src/services/workflow-secret.service.ts +161 -0
  674. package/src/services/workflow-step-execution.service.ts +20 -0
  675. package/src/services/workflow-trigger-execution.service.ts +20 -0
  676. package/src/solid-core.module.ts +144 -3
  677. package/src/testing/README.md +73 -2
  678. package/src/testing/adapters/ui/playwright-adapter.ts +25 -0
  679. package/src/testing/adapters/ui/ui.types.ts +2 -0
  680. package/src/testing/steps/ui/actions.step.ts +8 -4
  681. package/src/testing/steps/ui/assertions.step.ts +18 -5
  682. package/src/testing/steps/ui/form.step.ts +16 -6
  683. package/src/testing/steps/ui/manual.step.ts +1 -1
  684. package/src/testing/steps/ui/navigation.step.ts +4 -2
  685. package/src/transformers/empty-string-to-null-transformer.ts +11 -0
  686. package/src/types/workflow-dsl.types.ts +1030 -0
  687. package/src/types/workflow-execution-queue.types.ts +3 -0
@@ -57,6 +57,7 @@ __decorate([
57
57
  ], User.prototype, "mobile", void 0);
58
58
  __decorate([
59
59
  (0, typeorm_1.Column)({ type: "varchar", nullable: true }),
60
+ (0, class_transformer_1.Exclude)(),
60
61
  __metadata("design:type", String)
61
62
  ], User.prototype, "password", void 0);
62
63
  __decorate([
@@ -66,66 +67,82 @@ __decorate([
66
67
  ], User.prototype, "forcePasswordChange", void 0);
67
68
  __decorate([
68
69
  (0, typeorm_1.Column)({ type: "varchar", default: "local" }),
70
+ (0, class_transformer_1.Exclude)(),
69
71
  __metadata("design:type", String)
70
72
  ], User.prototype, "lastLoginProvider", void 0);
71
73
  __decorate([
72
74
  (0, typeorm_1.Column)({ type: "varchar", nullable: true }),
75
+ (0, class_transformer_1.Exclude)(),
73
76
  __metadata("design:type", String)
74
77
  ], User.prototype, "accessCode", void 0);
75
78
  __decorate([
76
79
  (0, typeorm_1.Column)({ type: "varchar", nullable: true }),
80
+ (0, class_transformer_1.Exclude)(),
77
81
  __metadata("design:type", String)
78
82
  ], User.prototype, "googleAccessToken", void 0);
79
83
  __decorate([
80
84
  (0, typeorm_1.Column)({ type: "varchar", nullable: true }),
85
+ (0, class_transformer_1.Exclude)(),
81
86
  __metadata("design:type", String)
82
87
  ], User.prototype, "googleId", void 0);
83
88
  __decorate([
84
89
  (0, typeorm_1.Column)({ type: "varchar", nullable: true }),
90
+ (0, class_transformer_1.Exclude)(),
85
91
  __metadata("design:type", String)
86
92
  ], User.prototype, "googleProfilePicture", void 0);
87
93
  __decorate([
88
94
  (0, typeorm_1.Column)({ type: "varchar", nullable: true }),
95
+ (0, class_transformer_1.Exclude)(),
89
96
  __metadata("design:type", String)
90
97
  ], User.prototype, "facebookId", void 0);
91
98
  __decorate([
92
99
  (0, typeorm_1.Column)({ type: "varchar", nullable: true }),
100
+ (0, class_transformer_1.Exclude)(),
93
101
  __metadata("design:type", String)
94
102
  ], User.prototype, "facebookAccessToken", void 0);
95
103
  __decorate([
96
104
  (0, typeorm_1.Column)({ type: "varchar", nullable: true }),
105
+ (0, class_transformer_1.Exclude)(),
97
106
  __metadata("design:type", String)
98
107
  ], User.prototype, "facebookProfilePicture", void 0);
99
108
  __decorate([
100
109
  (0, typeorm_1.Column)({ type: "varchar", nullable: true }),
110
+ (0, class_transformer_1.Exclude)(),
101
111
  __metadata("design:type", String)
102
112
  ], User.prototype, "appleId", void 0);
103
113
  __decorate([
104
114
  (0, typeorm_1.Column)({ type: "varchar", nullable: true }),
115
+ (0, class_transformer_1.Exclude)(),
105
116
  __metadata("design:type", String)
106
117
  ], User.prototype, "appleAccessToken", void 0);
107
118
  __decorate([
108
119
  (0, typeorm_1.Column)({ type: "varchar", nullable: true }),
120
+ (0, class_transformer_1.Exclude)(),
109
121
  __metadata("design:type", String)
110
122
  ], User.prototype, "microsoftId", void 0);
111
123
  __decorate([
112
124
  (0, typeorm_1.Column)({ type: "varchar", nullable: true }),
125
+ (0, class_transformer_1.Exclude)(),
113
126
  __metadata("design:type", String)
114
127
  ], User.prototype, "microsoftAccessToken", void 0);
115
128
  __decorate([
116
129
  (0, typeorm_1.Column)({ type: "varchar", nullable: true }),
130
+ (0, class_transformer_1.Exclude)(),
117
131
  __metadata("design:type", String)
118
132
  ], User.prototype, "microsoftProfilePicture", void 0);
119
133
  __decorate([
120
134
  (0, typeorm_1.Column)({ type: "varchar", nullable: true }),
135
+ (0, class_transformer_1.Exclude)(),
121
136
  __metadata("design:type", String)
122
137
  ], User.prototype, "microsoftActiveDirectoryId", void 0);
123
138
  __decorate([
124
139
  (0, typeorm_1.Column)({ type: "varchar", nullable: true }),
140
+ (0, class_transformer_1.Exclude)(),
125
141
  __metadata("design:type", String)
126
142
  ], User.prototype, "microsoftActiveDirectoryAccessToken", void 0);
127
143
  __decorate([
128
144
  (0, typeorm_1.Column)({ type: "varchar", nullable: true }),
145
+ (0, class_transformer_1.Exclude)(),
129
146
  __metadata("design:type", String)
130
147
  ], User.prototype, "microsoftActiveDirectoryProfilePicture", void 0);
131
148
  __decorate([
@@ -136,62 +153,77 @@ __decorate([
136
153
  ], User.prototype, "active", void 0);
137
154
  __decorate([
138
155
  (0, typeorm_1.Column)({ nullable: true }),
156
+ (0, class_transformer_1.Exclude)(),
139
157
  __metadata("design:type", Date)
140
158
  ], User.prototype, "forgotPasswordConfirmedAt", void 0);
141
159
  __decorate([
142
160
  (0, typeorm_1.Column)({ type: "varchar", nullable: true }),
161
+ (0, class_transformer_1.Exclude)(),
143
162
  __metadata("design:type", String)
144
163
  ], User.prototype, "verificationTokenOnForgotPassword", void 0);
145
164
  __decorate([
146
165
  (0, typeorm_1.Column)({ nullable: true }),
166
+ (0, class_transformer_1.Exclude)(),
147
167
  __metadata("design:type", Date)
148
168
  ], User.prototype, "verificationTokenOnForgotPasswordExpiresAt", void 0);
149
169
  __decorate([
150
170
  (0, typeorm_1.Column)({ nullable: true }),
171
+ (0, class_transformer_1.Exclude)(),
151
172
  __metadata("design:type", Date)
152
173
  ], User.prototype, "emailVerifiedOnRegistrationAt", void 0);
153
174
  __decorate([
154
175
  (0, typeorm_1.Column)({ type: "varchar", nullable: true }),
176
+ (0, class_transformer_1.Exclude)(),
155
177
  __metadata("design:type", String)
156
178
  ], User.prototype, "emailVerificationTokenOnRegistration", void 0);
157
179
  __decorate([
158
180
  (0, typeorm_1.Column)({ nullable: true }),
181
+ (0, class_transformer_1.Exclude)(),
159
182
  __metadata("design:type", Date)
160
183
  ], User.prototype, "emailVerificationTokenOnRegistrationExpiresAt", void 0);
161
184
  __decorate([
162
185
  (0, typeorm_1.Column)({ nullable: true }),
186
+ (0, class_transformer_1.Exclude)(),
163
187
  __metadata("design:type", Date)
164
188
  ], User.prototype, "mobileVerifiedOnRegistrationAt", void 0);
165
189
  __decorate([
166
190
  (0, typeorm_1.Column)({ type: "varchar", nullable: true }),
191
+ (0, class_transformer_1.Exclude)(),
167
192
  __metadata("design:type", String)
168
193
  ], User.prototype, "mobileVerificationTokenOnRegistration", void 0);
169
194
  __decorate([
170
195
  (0, typeorm_1.Column)({ nullable: true }),
196
+ (0, class_transformer_1.Exclude)(),
171
197
  __metadata("design:type", Date)
172
198
  ], User.prototype, "mobileVerificationTokenOnRegistrationExpiresAt", void 0);
173
199
  __decorate([
174
200
  (0, typeorm_1.Column)({ nullable: true }),
201
+ (0, class_transformer_1.Exclude)(),
175
202
  __metadata("design:type", Date)
176
203
  ], User.prototype, "emailVerifiedOnLoginAt", void 0);
177
204
  __decorate([
178
205
  (0, typeorm_1.Column)({ type: "varchar", nullable: true }),
206
+ (0, class_transformer_1.Exclude)(),
179
207
  __metadata("design:type", String)
180
208
  ], User.prototype, "emailVerificationTokenOnLogin", void 0);
181
209
  __decorate([
182
210
  (0, typeorm_1.Column)({ nullable: true }),
211
+ (0, class_transformer_1.Exclude)(),
183
212
  __metadata("design:type", Date)
184
213
  ], User.prototype, "emailVerificationTokenOnLoginExpiresAt", void 0);
185
214
  __decorate([
186
215
  (0, typeorm_1.Column)({ nullable: true }),
216
+ (0, class_transformer_1.Exclude)(),
187
217
  __metadata("design:type", Date)
188
218
  ], User.prototype, "mobileVerifiedOnLoginAt", void 0);
189
219
  __decorate([
190
220
  (0, typeorm_1.Column)({ type: "varchar", nullable: true }),
221
+ (0, class_transformer_1.Exclude)(),
191
222
  __metadata("design:type", String)
192
223
  ], User.prototype, "mobileVerificationTokenOnLogin", void 0);
193
224
  __decorate([
194
225
  (0, typeorm_1.Column)({ nullable: true }),
226
+ (0, class_transformer_1.Exclude)(),
195
227
  __metadata("design:type", Date)
196
228
  ], User.prototype, "mobileVerificationTokenOnLoginExpiresAt", void 0);
197
229
  __decorate([
@@ -207,17 +239,21 @@ __decorate([
207
239
  ], User.prototype, "roles", void 0);
208
240
  __decorate([
209
241
  (0, typeorm_1.OneToMany)(() => user_view_metadata_entity_1.UserViewMetadata, userViewMetadata => userViewMetadata.user, { cascade: true }),
242
+ (0, class_transformer_1.Exclude)(),
210
243
  __metadata("design:type", Array)
211
244
  ], User.prototype, "userViewMetadata", void 0);
212
245
  __decorate([
246
+ (0, class_transformer_1.Exclude)(),
213
247
  (0, typeorm_1.Column)({ type: "varchar", default: "bcrypt" }),
214
248
  __metadata("design:type", String)
215
249
  ], User.prototype, "passwordScheme", void 0);
216
250
  __decorate([
251
+ (0, class_transformer_1.Exclude)(),
217
252
  (0, typeorm_1.Column)({ type: "int", default: 1 }),
218
253
  __metadata("design:type", Number)
219
254
  ], User.prototype, "passwordSchemeVersion", void 0);
220
255
  __decorate([
256
+ (0, class_transformer_1.Exclude)(),
221
257
  (0, typeorm_1.Column)({ nullable: true }),
222
258
  __metadata("design:type", Date)
223
259
  ], User.prototype, "rehashedAt", void 0);
@@ -1 +1 @@
1
- {"version":3,"file":"user.entity.js","sourceRoot":"","sources":["../../src/entities/user.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;;AAAA,mDAAyD;AACzD,qCAAoG;AACpG,iEAAiE;AACjE,2EAAyE;AACzE,+DAA6D;AAC7D,yDAAoD;AAK7C,IAAM,IAAI,GAAV,MAAM,IAAK,SAAQ,4BAAY;IAA/B;;QA2BH,wBAAmB,GAAY,IAAI,CAAC;QAIpC,sBAAiB,GAAW,OAAO,CAAC;QAiEpC,WAAM,GAAY,IAAI,CAAC;QAyFvB,wBAAmB,GAAW,CAAC,CAAC;QAOhC,+BAA0B,GAAY,KAAK,CAAC;KAM/C;;2UA3KkC,IAAI,y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,IAAI,EAAE,KAAK,EAAE,OAAO,EAAE,CAAC,EAAE,CAAC;;iDACJ;AAGhC;IADC,IAAA,0BAAM,GAAE;;oCACG;AAIZ;IAFC,IAAA,gBAAM,EAAC,EAAE,OAAO,EAAE,KAAK,EAAE,CAAC;IAC1B,IAAA,0BAAM,GAAE;;wDACmC;AAI5C;IAFC,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,gCAAU,EAAE,GAAG,CAAC,EAAE,CAAC,GAAG,CAAC,IAAI,CAAC;IAC5C,IAAA,0BAAM,GAAE;;qCACa;eApMb,IAAI;IAHhB,IAAA,gBAAM,EAAC,SAAS,CAAC;IACjB,IAAA,0BAAgB,EAAC,EAAE,MAAM,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,EAAE,EAAE,CAAC;IAChF,IAAA,2BAAO,GAAE;GACG,IAAI,CAsMhB","sourcesContent":["import { CommonEntity } from \"src/entities/common.entity\"\nimport { Entity, Column, Index, JoinTable, ManyToMany, OneToMany, TableInheritance } from \"typeorm\";\nimport { RoleMetadata } from 'src/entities/role-metadata.entity';\nimport { UserViewMetadata } from 'src/entities/user-view-metadata.entity'\nimport { UserApiKey } from 'src/entities/user-api-key.entity'\nimport { Exclude, Expose } from \"class-transformer\";\n\n@Entity(\"ss_user\")\n@TableInheritance({ column: { type: \"varchar\", name: \"type\", default: \"User\" } })\n@Exclude()\nexport class User extends CommonEntity {\n @Index()\n @Column({ type: \"varchar\", nullable: true })\n @Expose()\n fullName: string;\n\n @Index({ unique: true })\n @Column({ type: \"varchar\" })\n @Expose()\n username: string;\n\n @Index()\n @Column({ type: \"varchar\", nullable: true })\n @Expose()\n email: string;\n\n @Index()\n @Column({ type: \"varchar\", nullable: true })\n @Expose()\n mobile: string;\n\n @Column({ type: \"varchar\", nullable: true })\n // don't send to client\n password: string;\n\n @Column({ nullable: true, default: true })\n @Expose()\n forcePasswordChange: boolean = true;\n\n @Column({ type: \"varchar\", default: \"local\" })\n // don't send to client\n lastLoginProvider: string = \"local\";\n\n @Column({ type: \"varchar\", nullable: true })\n // don't send to client (test)\n accessCode: string;\n\n @Column({ type: \"varchar\", nullable: true })\n // don't send to client\n googleAccessToken: string;\n\n @Column({ type: \"varchar\", nullable: true })\n // don't send to client\n googleId: string;\n\n @Column({ type: \"varchar\", nullable: true })\n // don't send to client\n googleProfilePicture: string;\n\n @Column({ type: \"varchar\", nullable: true })\n // don't send to client\n facebookId: string;\n\n @Column({ type: \"varchar\", nullable: true })\n // don't send to client\n facebookAccessToken: string;\n\n @Column({ type: \"varchar\", nullable: true })\n // don't send to client\n facebookProfilePicture: string;\n\n @Column({ type: \"varchar\", nullable: true })\n // don't send to client\n appleId: string;\n\n @Column({ type: \"varchar\", nullable: true })\n // don't send to client\n appleAccessToken: string;\n\n @Column({ type: \"varchar\", nullable: true })\n // don't send to client\n microsoftId: string;\n\n @Column({ type: \"varchar\", nullable: true })\n // don't send to client\n microsoftAccessToken: string;\n\n @Column({ type: \"varchar\", nullable: true })\n // don't send to client\n microsoftProfilePicture: string;\n\n @Column({ type: \"varchar\", nullable: true })\n // don't send to client\n microsoftActiveDirectoryId: string;\n\n @Column({ type: \"varchar\", nullable: true })\n // don't send to client\n microsoftActiveDirectoryAccessToken: string;\n\n @Column({ type: \"varchar\", nullable: true })\n // don't send to client\n microsoftActiveDirectoryProfilePicture: string;\n\n @Index()\n @Column({ default: true })\n @Expose()\n active: boolean = true;\n\n @Column({ nullable: true })\n // don't send to client\n forgotPasswordConfirmedAt: Date;\n\n @Column({ type: \"varchar\", nullable: true })\n // don't send to client\n verificationTokenOnForgotPassword: string;\n\n @Column({ nullable: true })\n // don't send to client\n verificationTokenOnForgotPasswordExpiresAt: Date;\n\n @Column({ nullable: true })\n // don't send to client\n emailVerifiedOnRegistrationAt: Date;\n\n @Column({ type: \"varchar\", nullable: true })\n // don't send to client\n emailVerificationTokenOnRegistration: string;\n\n @Column({ nullable: true })\n // don't send to client\n emailVerificationTokenOnRegistrationExpiresAt: Date;\n\n @Column({ nullable: true })\n // don't send to client\n mobileVerifiedOnRegistrationAt: Date;\n\n @Column({ type: \"varchar\", nullable: true })\n // don't send to client\n mobileVerificationTokenOnRegistration: string;\n\n @Column({ nullable: true })\n // don't send to client\n mobileVerificationTokenOnRegistrationExpiresAt: Date;\n\n @Column({ nullable: true })\n // don't send to client\n emailVerifiedOnLoginAt: Date;\n\n @Column({ type: \"varchar\", nullable: true })\n // don't send to client\n emailVerificationTokenOnLogin: string;\n\n @Column({ nullable: true })\n // don't send to client\n emailVerificationTokenOnLoginExpiresAt: Date;\n\n @Column({ nullable: true })\n // don't send to client\n mobileVerifiedOnLoginAt: Date;\n\n @Column({ type: \"varchar\", nullable: true })\n // don't send to client\n mobileVerificationTokenOnLogin: string;\n\n @Column({ nullable: true })\n // don't send to client\n mobileVerificationTokenOnLoginExpiresAt: Date;\n\n @Column({ type: \"varchar\", nullable: true })\n @Expose()\n customPayload: string;\n\n @ManyToMany(() => RoleMetadata, roleMetadata => roleMetadata.users, { cascade: true })\n @JoinTable()\n @Expose()\n roles: RoleMetadata[];\n\n @OneToMany(() => UserViewMetadata, userViewMetadata => userViewMetadata.user, { cascade: true })\n // don't send to client\n userViewMetadata: UserViewMetadata[];\n\n // dont send to client\n @Column({ type: \"varchar\", default: \"bcrypt\" })\n passwordScheme: string;\n\n // dont send to client\n @Column({ type: \"int\", default: 1 })\n passwordSchemeVersion: number;\n\n // dont send to client\n @Column({ nullable: true })\n rehashedAt: Date;\n\n @Expose()\n @Column({ type: \"int\", default: 0 })\n failedLoginAttempts: number = 0;\n\n @Expose()\n _media: any;\n\n @Column({ default: false })\n @Expose()\n isAllowedToGenerateApiKeys: boolean = false;\n\n @OneToMany(() => UserApiKey, key => key.user)\n @Expose()\n apiKeys: UserApiKey[];\n\n}\n"]}
1
+ {"version":3,"file":"user.entity.js","sourceRoot":"","sources":["../../src/entities/user.entity.ts"],"names":[],"mappings":";;;;;;;;;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IAAA,0BAAM,GAAE;IACR,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,KAAK,EAAE,OAAO,EAAE,CAAC,EAAE,CAAC;;iDACJ;AAGhC;IADC,IAAA,0BAAM,GAAE;;oCACG;AAIZ;IAFC,IAAA,gBAAM,EAAC,EAAE,OAAO,EAAE,KAAK,EAAE,CAAC;IAC1B,IAAA,0BAAM,GAAE;;wDACmC;AAI5C;IAFC,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,gCAAU,EAAE,GAAG,CAAC,EAAE,CAAC,GAAG,CAAC,IAAI,CAAC;IAC5C,IAAA,0BAAM,GAAE;;qCACa;eApMb,IAAI;IAHhB,IAAA,gBAAM,EAAC,SAAS,CAAC;IACjB,IAAA,0BAAgB,EAAC,EAAE,MAAM,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,EAAE,EAAE,CAAC;IAChF,IAAA,2BAAO,GAAE;GACG,IAAI,CAsMhB","sourcesContent":["import { CommonEntity } from \"src/entities/common.entity\"\nimport { Entity, Column, Index, JoinTable, ManyToMany, OneToMany, TableInheritance } from \"typeorm\";\nimport { RoleMetadata } from 'src/entities/role-metadata.entity';\nimport { UserViewMetadata } from 'src/entities/user-view-metadata.entity'\nimport { UserApiKey } from 'src/entities/user-api-key.entity'\nimport { Exclude, Expose } from \"class-transformer\";\n\n/**\n * Serialization is locked down twice over, and both halves are load-bearing:\n *\n * - The class-level `@Exclude()` below makes User itself an allowlist: only `@Expose()`d\n * properties are serialized.\n * - Every other property additionally carries its own `@Exclude()`. That looks redundant\n * here, and for `User` it is - but class-transformer resolves the *class-level* strategy\n * with a direct lookup on the exact constructor (MetadataStorage.getStrategy), so a\n * subclass inherits nothing and falls back to `exposeAll`. Since this entity is a\n * `@TableInheritance` root that consuming projects extend (see\n * IExtensionUserCreationProvider), an extension user that forgets its own `@Exclude()`\n * would otherwise serialize the password hash and every OAuth/verification token.\n * Property-level metadata *is* walked up the prototype chain, so the per-property\n * decorators are what actually protect subclasses.\n *\n * Keep both. Adding a new column? Give it `@Expose()` or `@Exclude()` - never neither.\n */\n@Entity(\"ss_user\")\n@TableInheritance({ column: { type: \"varchar\", name: \"type\", default: \"User\" } })\n@Exclude()\nexport class User extends CommonEntity {\n @Index()\n @Column({ type: \"varchar\", nullable: true })\n @Expose()\n fullName: string;\n\n @Index({ unique: true })\n @Column({ type: \"varchar\" })\n @Expose()\n username: string;\n\n @Index()\n @Column({ type: \"varchar\", nullable: true })\n @Expose()\n email: string;\n\n @Index()\n @Column({ type: \"varchar\", nullable: true })\n @Expose()\n mobile: string;\n\n @Column({ type: \"varchar\", nullable: true })\n @Exclude()\n password: string;\n\n @Column({ nullable: true, default: true })\n @Expose()\n forcePasswordChange: boolean = true;\n\n @Column({ type: \"varchar\", default: \"local\" })\n @Exclude()\n lastLoginProvider: string = \"local\";\n\n @Column({ type: \"varchar\", nullable: true })\n @Exclude()\n accessCode: string;\n\n @Column({ type: \"varchar\", nullable: true })\n @Exclude()\n googleAccessToken: string;\n\n @Column({ type: \"varchar\", nullable: true })\n @Exclude()\n googleId: string;\n\n @Column({ type: \"varchar\", nullable: true })\n @Exclude()\n googleProfilePicture: string;\n\n @Column({ type: \"varchar\", nullable: true })\n @Exclude()\n facebookId: string;\n\n @Column({ type: \"varchar\", nullable: true })\n @Exclude()\n facebookAccessToken: string;\n\n @Column({ type: \"varchar\", nullable: true })\n @Exclude()\n facebookProfilePicture: string;\n\n @Column({ type: \"varchar\", nullable: true })\n @Exclude()\n appleId: string;\n\n @Column({ type: \"varchar\", nullable: true })\n @Exclude()\n appleAccessToken: string;\n\n @Column({ type: \"varchar\", nullable: true })\n @Exclude()\n microsoftId: string;\n\n @Column({ type: \"varchar\", nullable: true })\n @Exclude()\n microsoftAccessToken: string;\n\n @Column({ type: \"varchar\", nullable: true })\n @Exclude()\n microsoftProfilePicture: string;\n\n @Column({ type: \"varchar\", nullable: true })\n @Exclude()\n microsoftActiveDirectoryId: string;\n\n @Column({ type: \"varchar\", nullable: true })\n @Exclude()\n microsoftActiveDirectoryAccessToken: string;\n\n @Column({ type: \"varchar\", nullable: true })\n @Exclude()\n microsoftActiveDirectoryProfilePicture: string;\n\n @Index()\n @Column({ default: true })\n @Expose()\n active: boolean = true;\n\n @Column({ nullable: true })\n @Exclude()\n forgotPasswordConfirmedAt: Date;\n\n @Column({ type: \"varchar\", nullable: true })\n @Exclude()\n verificationTokenOnForgotPassword: string;\n\n @Column({ nullable: true })\n @Exclude()\n verificationTokenOnForgotPasswordExpiresAt: Date;\n\n @Column({ nullable: true })\n @Exclude()\n emailVerifiedOnRegistrationAt: Date;\n\n @Column({ type: \"varchar\", nullable: true })\n @Exclude()\n emailVerificationTokenOnRegistration: string;\n\n @Column({ nullable: true })\n @Exclude()\n emailVerificationTokenOnRegistrationExpiresAt: Date;\n\n @Column({ nullable: true })\n @Exclude()\n mobileVerifiedOnRegistrationAt: Date;\n\n @Column({ type: \"varchar\", nullable: true })\n @Exclude()\n mobileVerificationTokenOnRegistration: string;\n\n @Column({ nullable: true })\n @Exclude()\n mobileVerificationTokenOnRegistrationExpiresAt: Date;\n\n @Column({ nullable: true })\n @Exclude()\n emailVerifiedOnLoginAt: Date;\n\n @Column({ type: \"varchar\", nullable: true })\n @Exclude()\n emailVerificationTokenOnLogin: string;\n\n @Column({ nullable: true })\n @Exclude()\n emailVerificationTokenOnLoginExpiresAt: Date;\n\n @Column({ nullable: true })\n @Exclude()\n mobileVerifiedOnLoginAt: Date;\n\n @Column({ type: \"varchar\", nullable: true })\n @Exclude()\n mobileVerificationTokenOnLogin: string;\n\n @Column({ nullable: true })\n @Exclude()\n mobileVerificationTokenOnLoginExpiresAt: Date;\n\n @Column({ type: \"varchar\", nullable: true })\n @Expose()\n customPayload: string;\n\n @ManyToMany(() => RoleMetadata, roleMetadata => roleMetadata.users, { cascade: true })\n @JoinTable()\n @Expose()\n roles: RoleMetadata[];\n\n @OneToMany(() => UserViewMetadata, userViewMetadata => userViewMetadata.user, { cascade: true })\n @Exclude()\n userViewMetadata: UserViewMetadata[];\n\n @Exclude()\n @Column({ type: \"varchar\", default: \"bcrypt\" })\n passwordScheme: string;\n\n @Exclude()\n @Column({ type: \"int\", default: 1 })\n passwordSchemeVersion: number;\n\n @Exclude()\n @Column({ nullable: true })\n rehashedAt: Date;\n\n @Expose()\n @Column({ type: \"int\", default: 0 })\n failedLoginAttempts: number = 0;\n\n @Expose()\n _media: any;\n\n @Column({ default: false })\n @Expose()\n isAllowedToGenerateApiKeys: boolean = false;\n\n @OneToMany(() => UserApiKey, key => key.user)\n @Expose()\n apiKeys: UserApiKey[];\n\n}\n"]}
@@ -0,0 +1,15 @@
1
+ import { CommonEntity } from '../entities/common.entity';
2
+ import { ModuleMetadata } from '../entities/module-metadata.entity';
3
+ export declare class WorkflowDefinition extends CommonEntity {
4
+ key: string;
5
+ moduleMetadata: ModuleMetadata;
6
+ displayName: string;
7
+ namespace: string;
8
+ description: string;
9
+ status: string;
10
+ definitionVersion: string;
11
+ definitionChecksum: string;
12
+ definitionYaml: string;
13
+ tags: any;
14
+ }
15
+ //# sourceMappingURL=workflow-definition.entity.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"workflow-definition.entity.d.ts","sourceRoot":"","sources":["../../src/entities/workflow-definition.entity.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,4BAA4B,CAAC;AAC1D,OAAO,EAAE,cAAc,EAAE,MAAM,qCAAqC,CAAC;AAGrE,qBACa,kBAAmB,SAAQ,YAAY;IAGhD,GAAG,EAAE,MAAM,CAAC;IAKZ,cAAc,EAAE,cAAc,CAAC;IAI/B,WAAW,EAAE,MAAM,CAAC;IAIpB,SAAS,EAAE,MAAM,CAAC;IAGlB,WAAW,EAAE,MAAM,CAAC;IAIpB,MAAM,EAAE,MAAM,CAAW;IAGzB,iBAAiB,EAAE,MAAM,CAAC;IAI1B,kBAAkB,EAAE,MAAM,CAAC;IAG3B,cAAc,EAAE,MAAM,CAAC;IAGvB,IAAI,EAAE,GAAG,CAAC;CACb"}
@@ -0,0 +1,77 @@
1
+ "use strict";
2
+ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
3
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
4
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
5
+ else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
6
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
7
+ };
8
+ var __metadata = (this && this.__metadata) || function (k, v) {
9
+ if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
10
+ };
11
+ Object.defineProperty(exports, "__esModule", { value: true });
12
+ exports.WorkflowDefinition = void 0;
13
+ const openapi = require("@nestjs/swagger");
14
+ const common_entity_1 = require("./common.entity");
15
+ const module_metadata_entity_1 = require("./module-metadata.entity");
16
+ const typeorm_1 = require("typeorm");
17
+ let WorkflowDefinition = class WorkflowDefinition extends common_entity_1.CommonEntity {
18
+ constructor() {
19
+ super(...arguments);
20
+ this.status = "draft";
21
+ }
22
+ static _OPENAPI_METADATA_FACTORY() {
23
+ return { key: { required: true, type: () => String }, moduleMetadata: { required: true, type: () => require("./module-metadata.entity").ModuleMetadata }, displayName: { required: true, type: () => String }, namespace: { required: true, type: () => String }, description: { required: true, type: () => String }, status: { required: true, type: () => String, default: "draft" }, definitionVersion: { required: true, type: () => String }, definitionChecksum: { required: true, type: () => String }, definitionYaml: { required: true, type: () => String }, tags: { required: true, type: () => Object } };
24
+ }
25
+ };
26
+ exports.WorkflowDefinition = WorkflowDefinition;
27
+ __decorate([
28
+ (0, typeorm_1.Index)({ unique: true }),
29
+ (0, typeorm_1.Column)({ type: "varchar" }),
30
+ __metadata("design:type", String)
31
+ ], WorkflowDefinition.prototype, "key", void 0);
32
+ __decorate([
33
+ (0, typeorm_1.Index)(),
34
+ (0, typeorm_1.ManyToOne)(() => module_metadata_entity_1.ModuleMetadata, { onDelete: "CASCADE", nullable: false }),
35
+ (0, typeorm_1.JoinColumn)(),
36
+ __metadata("design:type", module_metadata_entity_1.ModuleMetadata)
37
+ ], WorkflowDefinition.prototype, "moduleMetadata", void 0);
38
+ __decorate([
39
+ (0, typeorm_1.Index)(),
40
+ (0, typeorm_1.Column)({ type: "varchar" }),
41
+ __metadata("design:type", String)
42
+ ], WorkflowDefinition.prototype, "displayName", void 0);
43
+ __decorate([
44
+ (0, typeorm_1.Index)(),
45
+ (0, typeorm_1.Column)({ type: "varchar", nullable: true }),
46
+ __metadata("design:type", String)
47
+ ], WorkflowDefinition.prototype, "namespace", void 0);
48
+ __decorate([
49
+ (0, typeorm_1.Column)({ type: "text", nullable: true }),
50
+ __metadata("design:type", String)
51
+ ], WorkflowDefinition.prototype, "description", void 0);
52
+ __decorate([
53
+ (0, typeorm_1.Index)(),
54
+ (0, typeorm_1.Column)({ type: "varchar", default: "draft" }),
55
+ __metadata("design:type", String)
56
+ ], WorkflowDefinition.prototype, "status", void 0);
57
+ __decorate([
58
+ (0, typeorm_1.Column)({ type: "varchar", nullable: true }),
59
+ __metadata("design:type", String)
60
+ ], WorkflowDefinition.prototype, "definitionVersion", void 0);
61
+ __decorate([
62
+ (0, typeorm_1.Index)(),
63
+ (0, typeorm_1.Column)({ type: "varchar", nullable: true }),
64
+ __metadata("design:type", String)
65
+ ], WorkflowDefinition.prototype, "definitionChecksum", void 0);
66
+ __decorate([
67
+ (0, typeorm_1.Column)({ name: "definition_yaml", type: "text", nullable: true }),
68
+ __metadata("design:type", String)
69
+ ], WorkflowDefinition.prototype, "definitionYaml", void 0);
70
+ __decorate([
71
+ (0, typeorm_1.Column)({ type: "simple-json", nullable: true }),
72
+ __metadata("design:type", Object)
73
+ ], WorkflowDefinition.prototype, "tags", void 0);
74
+ exports.WorkflowDefinition = WorkflowDefinition = __decorate([
75
+ (0, typeorm_1.Entity)('ss_workflow_definition')
76
+ ], WorkflowDefinition);
77
+ //# sourceMappingURL=workflow-definition.entity.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"workflow-definition.entity.js","sourceRoot":"","sources":["../../src/entities/workflow-definition.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;;AAAA,mDAA0D;AAC1D,qEAAqE;AACrE,qCAAuE;AAGhE,IAAM,kBAAkB,GAAxB,MAAM,kBAAmB,SAAQ,4BAAY;IAA7C;;QAuBH,WAAM,GAAW,OAAO,CAAC;KAc5B;;;;CAAA,CAAA;AArCY,gDAAkB;AAG3B;IAFC,IAAA,eAAK,EAAC,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC;IACvB,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,SAAS,EAAE,CAAC;;+CAChB;AAKZ;IAHC,IAAA,eAAK,GAAE;IACP,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,uCAAc,EAAE,EAAE,QAAQ,EAAE,SAAS,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;IACzE,IAAA,oBAAU,GAAE;8BACG,uCAAc;0DAAC;AAI/B;IAFC,IAAA,eAAK,GAAE;IACP,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,SAAS,EAAE,CAAC;;uDACR;AAIpB;IAFC,IAAA,eAAK,GAAE;IACP,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,SAAS,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;qDAC1B;AAGlB;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;uDACrB;AAIpB;IAFC,IAAA,eAAK,GAAE;IACP,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,SAAS,EAAE,OAAO,EAAE,OAAO,EAAE,CAAC;;kDACrB;AAGzB;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,SAAS,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;6DAClB;AAI1B;IAFC,IAAA,eAAK,GAAE;IACP,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,SAAS,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;8DACjB;AAG3B;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,iBAAiB,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAC,CAAC;;0DAC1C;AAGvB;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,aAAa,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;gDACtC;6BApCD,kBAAkB;IAD9B,IAAA,gBAAM,EAAC,wBAAwB,CAAC;GACpB,kBAAkB,CAqC9B","sourcesContent":["import { CommonEntity } from 'src/entities/common.entity';\nimport { ModuleMetadata } from 'src/entities/module-metadata.entity';\nimport { Entity, Column, Index, JoinColumn, ManyToOne } from 'typeorm';\n\n@Entity('ss_workflow_definition')\nexport class WorkflowDefinition extends CommonEntity {\n @Index({ unique: true })\n @Column({ type: \"varchar\" })\n key: string;\n\n @Index()\n @ManyToOne(() => ModuleMetadata, { onDelete: \"CASCADE\", nullable: false })\n @JoinColumn()\n moduleMetadata: ModuleMetadata;\n\n @Index()\n @Column({ type: \"varchar\" })\n displayName: string;\n\n @Index()\n @Column({ type: \"varchar\", nullable: true })\n namespace: string;\n\n @Column({ type: \"text\", nullable: true })\n description: string;\n\n @Index()\n @Column({ type: \"varchar\", default: \"draft\" })\n status: string = \"draft\";\n\n @Column({ type: \"varchar\", nullable: true })\n definitionVersion: string;\n\n @Index()\n @Column({ type: \"varchar\", nullable: true })\n definitionChecksum: string;\n\n @Column({ name: \"definition_yaml\", type: \"text\", nullable: true})\n definitionYaml: string;\n\n @Column({ type: \"simple-json\", nullable: true })\n tags: any;\n}\n"]}
@@ -0,0 +1,23 @@
1
+ import { CommonEntity } from '../entities/common.entity';
2
+ import { WorkflowExecution } from './workflow-execution.entity';
3
+ import { WorkflowStepExecution } from './workflow-step-execution.entity';
4
+ export declare class WorkflowExecutionArtifact extends CommonEntity {
5
+ artifactKey: string;
6
+ workflowExecution: WorkflowExecution;
7
+ workflowStepExecution: WorkflowStepExecution;
8
+ name: string;
9
+ description: string;
10
+ artifactType: string;
11
+ nodeId: string;
12
+ nodeType: string;
13
+ storageProviderKey: string;
14
+ uri: string;
15
+ fileName: string;
16
+ mimeType: string;
17
+ sizeBytes: bigint;
18
+ checksum: string;
19
+ producedAt: Date;
20
+ payload: any;
21
+ metadata: any;
22
+ }
23
+ //# sourceMappingURL=workflow-execution-artifact.entity.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"workflow-execution-artifact.entity.d.ts","sourceRoot":"","sources":["../../src/entities/workflow-execution-artifact.entity.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,4BAA4B,CAAC;AAE1D,OAAO,EAAE,iBAAiB,EAAE,MAAM,6BAA6B,CAAC;AAChE,OAAO,EAAE,qBAAqB,EAAE,MAAM,kCAAkC,CAAA;AAExE,qBACa,yBAA0B,SAAQ,YAAY;IAGvD,WAAW,EAAE,MAAM,CAAC;IAKpB,iBAAiB,EAAE,iBAAiB,CAAC;IAKrC,qBAAqB,EAAE,qBAAqB,CAAC;IAI7C,IAAI,EAAE,MAAM,CAAC;IAGb,WAAW,EAAE,MAAM,CAAC;IAIpB,YAAY,EAAE,MAAM,CAAa;IAIjC,MAAM,EAAE,MAAM,CAAC;IAIf,QAAQ,EAAE,MAAM,CAAC;IAIjB,kBAAkB,EAAE,MAAM,CAAC;IAG3B,GAAG,EAAE,MAAM,CAAC;IAIZ,QAAQ,EAAE,MAAM,CAAC;IAIjB,QAAQ,EAAE,MAAM,CAAC;IAGjB,SAAS,EAAE,MAAM,CAAC;IAIlB,QAAQ,EAAE,MAAM,CAAC;IAIjB,UAAU,EAAE,IAAI,CAAC;IAGjB,OAAO,EAAE,GAAG,CAAC;IAGb,QAAQ,EAAE,GAAG,CAAC;CACjB"}
@@ -0,0 +1,113 @@
1
+ "use strict";
2
+ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
3
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
4
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
5
+ else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
6
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
7
+ };
8
+ var __metadata = (this && this.__metadata) || function (k, v) {
9
+ if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
10
+ };
11
+ Object.defineProperty(exports, "__esModule", { value: true });
12
+ exports.WorkflowExecutionArtifact = void 0;
13
+ const openapi = require("@nestjs/swagger");
14
+ const common_entity_1 = require("./common.entity");
15
+ const typeorm_1 = require("typeorm");
16
+ const workflow_execution_entity_1 = require("./workflow-execution.entity");
17
+ const workflow_step_execution_entity_1 = require("./workflow-step-execution.entity");
18
+ let WorkflowExecutionArtifact = class WorkflowExecutionArtifact extends common_entity_1.CommonEntity {
19
+ constructor() {
20
+ super(...arguments);
21
+ this.artifactType = "payload";
22
+ }
23
+ static _OPENAPI_METADATA_FACTORY() {
24
+ return { artifactKey: { required: true, type: () => String }, workflowExecution: { required: true, type: () => require("./workflow-execution.entity").WorkflowExecution }, workflowStepExecution: { required: true, type: () => require("./workflow-step-execution.entity").WorkflowStepExecution }, name: { required: true, type: () => String }, description: { required: true, type: () => String }, artifactType: { required: true, type: () => String, default: "payload" }, nodeId: { required: true, type: () => String }, nodeType: { required: true, type: () => String }, storageProviderKey: { required: true, type: () => String }, uri: { required: true, type: () => String }, fileName: { required: true, type: () => String }, mimeType: { required: true, type: () => String }, sizeBytes: { required: true, type: () => BigInt }, checksum: { required: true, type: () => String }, producedAt: { required: true, type: () => Date }, payload: { required: true, type: () => Object }, metadata: { required: true, type: () => Object } };
25
+ }
26
+ };
27
+ exports.WorkflowExecutionArtifact = WorkflowExecutionArtifact;
28
+ __decorate([
29
+ (0, typeorm_1.Index)({ unique: true }),
30
+ (0, typeorm_1.Column)({ type: "varchar" }),
31
+ __metadata("design:type", String)
32
+ ], WorkflowExecutionArtifact.prototype, "artifactKey", void 0);
33
+ __decorate([
34
+ (0, typeorm_1.Index)(),
35
+ (0, typeorm_1.ManyToOne)(() => workflow_execution_entity_1.WorkflowExecution, { onDelete: "CASCADE", nullable: false }),
36
+ (0, typeorm_1.JoinColumn)(),
37
+ __metadata("design:type", workflow_execution_entity_1.WorkflowExecution)
38
+ ], WorkflowExecutionArtifact.prototype, "workflowExecution", void 0);
39
+ __decorate([
40
+ (0, typeorm_1.Index)(),
41
+ (0, typeorm_1.ManyToOne)(() => workflow_step_execution_entity_1.WorkflowStepExecution, { onDelete: "CASCADE", nullable: true }),
42
+ (0, typeorm_1.JoinColumn)(),
43
+ __metadata("design:type", workflow_step_execution_entity_1.WorkflowStepExecution)
44
+ ], WorkflowExecutionArtifact.prototype, "workflowStepExecution", void 0);
45
+ __decorate([
46
+ (0, typeorm_1.Index)(),
47
+ (0, typeorm_1.Column)({ type: "varchar" }),
48
+ __metadata("design:type", String)
49
+ ], WorkflowExecutionArtifact.prototype, "name", void 0);
50
+ __decorate([
51
+ (0, typeorm_1.Column)({ type: "text", nullable: true }),
52
+ __metadata("design:type", String)
53
+ ], WorkflowExecutionArtifact.prototype, "description", void 0);
54
+ __decorate([
55
+ (0, typeorm_1.Index)(),
56
+ (0, typeorm_1.Column)({ type: "varchar", default: "payload" }),
57
+ __metadata("design:type", String)
58
+ ], WorkflowExecutionArtifact.prototype, "artifactType", void 0);
59
+ __decorate([
60
+ (0, typeorm_1.Index)(),
61
+ (0, typeorm_1.Column)({ type: "varchar", nullable: true }),
62
+ __metadata("design:type", String)
63
+ ], WorkflowExecutionArtifact.prototype, "nodeId", void 0);
64
+ __decorate([
65
+ (0, typeorm_1.Index)(),
66
+ (0, typeorm_1.Column)({ type: "varchar", nullable: true }),
67
+ __metadata("design:type", String)
68
+ ], WorkflowExecutionArtifact.prototype, "nodeType", void 0);
69
+ __decorate([
70
+ (0, typeorm_1.Index)(),
71
+ (0, typeorm_1.Column)({ type: "varchar", nullable: true }),
72
+ __metadata("design:type", String)
73
+ ], WorkflowExecutionArtifact.prototype, "storageProviderKey", void 0);
74
+ __decorate([
75
+ (0, typeorm_1.Column)({ type: "text", nullable: true }),
76
+ __metadata("design:type", String)
77
+ ], WorkflowExecutionArtifact.prototype, "uri", void 0);
78
+ __decorate([
79
+ (0, typeorm_1.Index)(),
80
+ (0, typeorm_1.Column)({ type: "varchar", nullable: true }),
81
+ __metadata("design:type", String)
82
+ ], WorkflowExecutionArtifact.prototype, "fileName", void 0);
83
+ __decorate([
84
+ (0, typeorm_1.Index)(),
85
+ (0, typeorm_1.Column)({ type: "varchar", nullable: true }),
86
+ __metadata("design:type", String)
87
+ ], WorkflowExecutionArtifact.prototype, "mimeType", void 0);
88
+ __decorate([
89
+ (0, typeorm_1.Column)({ type: "bigint", nullable: true }),
90
+ __metadata("design:type", BigInt)
91
+ ], WorkflowExecutionArtifact.prototype, "sizeBytes", void 0);
92
+ __decorate([
93
+ (0, typeorm_1.Index)(),
94
+ (0, typeorm_1.Column)({ type: "varchar", nullable: true }),
95
+ __metadata("design:type", String)
96
+ ], WorkflowExecutionArtifact.prototype, "checksum", void 0);
97
+ __decorate([
98
+ (0, typeorm_1.Index)(),
99
+ (0, typeorm_1.Column)({ type: "timestamp", nullable: true }),
100
+ __metadata("design:type", Date)
101
+ ], WorkflowExecutionArtifact.prototype, "producedAt", void 0);
102
+ __decorate([
103
+ (0, typeorm_1.Column)({ type: "simple-json", nullable: true }),
104
+ __metadata("design:type", Object)
105
+ ], WorkflowExecutionArtifact.prototype, "payload", void 0);
106
+ __decorate([
107
+ (0, typeorm_1.Column)({ type: "simple-json", nullable: true }),
108
+ __metadata("design:type", Object)
109
+ ], WorkflowExecutionArtifact.prototype, "metadata", void 0);
110
+ exports.WorkflowExecutionArtifact = WorkflowExecutionArtifact = __decorate([
111
+ (0, typeorm_1.Entity)('ss_workflow_execution_artifact')
112
+ ], WorkflowExecutionArtifact);
113
+ //# sourceMappingURL=workflow-execution-artifact.entity.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"workflow-execution-artifact.entity.js","sourceRoot":"","sources":["../../src/entities/workflow-execution-artifact.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;;AAAA,mDAA0D;AAC1D,qCAAuE;AACvE,2EAAgE;AAChE,qFAAwE;AAGjE,IAAM,yBAAyB,GAA/B,MAAM,yBAA0B,SAAQ,4BAAY;IAApD;;QAwBH,iBAAY,GAAW,SAAS,CAAC;KAyCpC;;;;CAAA,CAAA;AAjEY,8DAAyB;AAGlC;IAFC,IAAA,eAAK,EAAC,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC;IACvB,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,SAAS,EAAE,CAAC;;8DACR;AAKpB;IAHC,IAAA,eAAK,GAAE;IACP,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,6CAAiB,EAAE,EAAE,QAAQ,EAAE,SAAS,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;IAC5E,IAAA,oBAAU,GAAE;8BACM,6CAAiB;oEAAC;AAKrC;IAHC,IAAA,eAAK,GAAE;IACP,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,sDAAqB,EAAE,EAAE,QAAQ,EAAE,SAAS,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;IAC/E,IAAA,oBAAU,GAAE;8BACU,sDAAqB;wEAAC;AAI7C;IAFC,IAAA,eAAK,GAAE;IACP,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,SAAS,EAAE,CAAC;;uDACf;AAGb;IADC,IAAA,gBAAM,EAAC,EAAE,IA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AQ,EAAE,IAAI,EAAE,CAAC;8BAClC,IAAI;6DAAC;AAGjB;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,aAAa,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;0DACnC;AAGb;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,aAAa,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;2DAClC;oCAhEL,yBAAyB;IADrC,IAAA,gBAAM,EAAC,gCAAgC,CAAC;GAC5B,yBAAyB,CAiErC","sourcesContent":["import { CommonEntity } from 'src/entities/common.entity';\nimport { Entity, Column, Index, JoinColumn, ManyToOne } from 'typeorm';\nimport { WorkflowExecution } from './workflow-execution.entity';\nimport { WorkflowStepExecution } from './workflow-step-execution.entity'\n\n@Entity('ss_workflow_execution_artifact')\nexport class WorkflowExecutionArtifact extends CommonEntity {\n @Index({ unique: true })\n @Column({ type: \"varchar\" })\n artifactKey: string;\n\n @Index()\n @ManyToOne(() => WorkflowExecution, { onDelete: \"CASCADE\", nullable: false })\n @JoinColumn()\n workflowExecution: WorkflowExecution;\n\n @Index()\n @ManyToOne(() => WorkflowStepExecution, { onDelete: \"CASCADE\", nullable: true })\n @JoinColumn()\n workflowStepExecution: WorkflowStepExecution;\n\n @Index()\n @Column({ type: \"varchar\" })\n name: string;\n\n @Column({ type: \"text\", nullable: true })\n description: string;\n\n @Index()\n @Column({ type: \"varchar\", default: \"payload\" })\n artifactType: string = \"payload\";\n\n @Index()\n @Column({ type: \"varchar\", nullable: true })\n nodeId: string;\n\n @Index()\n @Column({ type: \"varchar\", nullable: true })\n nodeType: string;\n\n @Index()\n @Column({ type: \"varchar\", nullable: true })\n storageProviderKey: string;\n\n @Column({ type: \"text\", nullable: true })\n uri: string;\n\n @Index()\n @Column({ type: \"varchar\", nullable: true })\n fileName: string;\n\n @Index()\n @Column({ type: \"varchar\", nullable: true })\n mimeType: string;\n\n @Column({ type: \"bigint\", nullable: true })\n sizeBytes: bigint;\n\n @Index()\n @Column({ type: \"varchar\", nullable: true })\n checksum: string;\n\n @Index()\n @Column({ type: \"timestamp\", nullable: true })\n producedAt: Date;\n\n @Column({ type: \"simple-json\", nullable: true })\n payload: any;\n\n @Column({ type: \"simple-json\", nullable: true })\n metadata: any;\n}\n"]}
@@ -0,0 +1,19 @@
1
+ import { CommonEntity } from '../entities/common.entity';
2
+ import { WorkflowExecution } from './workflow-execution.entity';
3
+ import { WorkflowStepExecution } from './workflow-step-execution.entity';
4
+ export declare class WorkflowExecutionLog extends CommonEntity {
5
+ logKey: string;
6
+ workflowExecution: WorkflowExecution;
7
+ workflowStepExecution: WorkflowStepExecution;
8
+ level: string;
9
+ message: string;
10
+ eventType: string;
11
+ source: string;
12
+ nodeId: string;
13
+ nodeType: string;
14
+ sequenceNumber: number;
15
+ occurredAt: Date;
16
+ context: any;
17
+ metadata: any;
18
+ }
19
+ //# sourceMappingURL=workflow-execution-log.entity.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"workflow-execution-log.entity.d.ts","sourceRoot":"","sources":["../../src/entities/workflow-execution-log.entity.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,4BAA4B,CAAC;AAE1D,OAAO,EAAE,iBAAiB,EAAE,MAAM,6BAA6B,CAAC;AAChE,OAAO,EAAE,qBAAqB,EAAE,MAAM,kCAAkC,CAAA;AAExE,qBACa,oBAAqB,SAAQ,YAAY;IAGlD,MAAM,EAAE,MAAM,CAAC;IAKf,iBAAiB,EAAE,iBAAiB,CAAC;IAKrC,qBAAqB,EAAE,qBAAqB,CAAC;IAI7C,KAAK,EAAE,MAAM,CAAU;IAGvB,OAAO,EAAE,MAAM,CAAC;IAIhB,SAAS,EAAE,MAAM,CAAC;IAIlB,MAAM,EAAE,MAAM,CAAC;IAIf,MAAM,EAAE,MAAM,CAAC;IAIf,QAAQ,EAAE,MAAM,CAAC;IAIjB,cAAc,EAAE,MAAM,CAAC;IAIvB,UAAU,EAAE,IAAI,CAAC;IAGjB,OAAO,EAAE,GAAG,CAAC;IAGb,QAAQ,EAAE,GAAG,CAAC;CACjB"}
@@ -0,0 +1,95 @@
1
+ "use strict";
2
+ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
3
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
4
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
5
+ else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
6
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
7
+ };
8
+ var __metadata = (this && this.__metadata) || function (k, v) {
9
+ if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
10
+ };
11
+ Object.defineProperty(exports, "__esModule", { value: true });
12
+ exports.WorkflowExecutionLog = void 0;
13
+ const openapi = require("@nestjs/swagger");
14
+ const common_entity_1 = require("./common.entity");
15
+ const typeorm_1 = require("typeorm");
16
+ const workflow_execution_entity_1 = require("./workflow-execution.entity");
17
+ const workflow_step_execution_entity_1 = require("./workflow-step-execution.entity");
18
+ let WorkflowExecutionLog = class WorkflowExecutionLog extends common_entity_1.CommonEntity {
19
+ constructor() {
20
+ super(...arguments);
21
+ this.level = "info";
22
+ }
23
+ static _OPENAPI_METADATA_FACTORY() {
24
+ return { logKey: { required: true, type: () => String }, workflowExecution: { required: true, type: () => require("./workflow-execution.entity").WorkflowExecution }, workflowStepExecution: { required: true, type: () => require("./workflow-step-execution.entity").WorkflowStepExecution }, level: { required: true, type: () => String, default: "info" }, message: { required: true, type: () => String }, eventType: { required: true, type: () => String }, source: { required: true, type: () => String }, nodeId: { required: true, type: () => String }, nodeType: { required: true, type: () => String }, sequenceNumber: { required: true, type: () => Number }, occurredAt: { required: true, type: () => Date }, context: { required: true, type: () => Object }, metadata: { required: true, type: () => Object } };
25
+ }
26
+ };
27
+ exports.WorkflowExecutionLog = WorkflowExecutionLog;
28
+ __decorate([
29
+ (0, typeorm_1.Index)({ unique: true }),
30
+ (0, typeorm_1.Column)({ type: "varchar" }),
31
+ __metadata("design:type", String)
32
+ ], WorkflowExecutionLog.prototype, "logKey", void 0);
33
+ __decorate([
34
+ (0, typeorm_1.Index)(),
35
+ (0, typeorm_1.ManyToOne)(() => workflow_execution_entity_1.WorkflowExecution, { onDelete: "CASCADE", nullable: false }),
36
+ (0, typeorm_1.JoinColumn)(),
37
+ __metadata("design:type", workflow_execution_entity_1.WorkflowExecution)
38
+ ], WorkflowExecutionLog.prototype, "workflowExecution", void 0);
39
+ __decorate([
40
+ (0, typeorm_1.Index)(),
41
+ (0, typeorm_1.ManyToOne)(() => workflow_step_execution_entity_1.WorkflowStepExecution, { onDelete: "CASCADE", nullable: true }),
42
+ (0, typeorm_1.JoinColumn)(),
43
+ __metadata("design:type", workflow_step_execution_entity_1.WorkflowStepExecution)
44
+ ], WorkflowExecutionLog.prototype, "workflowStepExecution", void 0);
45
+ __decorate([
46
+ (0, typeorm_1.Index)(),
47
+ (0, typeorm_1.Column)({ type: "varchar", default: "info" }),
48
+ __metadata("design:type", String)
49
+ ], WorkflowExecutionLog.prototype, "level", void 0);
50
+ __decorate([
51
+ (0, typeorm_1.Column)({ type: "text" }),
52
+ __metadata("design:type", String)
53
+ ], WorkflowExecutionLog.prototype, "message", void 0);
54
+ __decorate([
55
+ (0, typeorm_1.Index)(),
56
+ (0, typeorm_1.Column)({ type: "varchar", nullable: true }),
57
+ __metadata("design:type", String)
58
+ ], WorkflowExecutionLog.prototype, "eventType", void 0);
59
+ __decorate([
60
+ (0, typeorm_1.Index)(),
61
+ (0, typeorm_1.Column)({ type: "varchar", nullable: true }),
62
+ __metadata("design:type", String)
63
+ ], WorkflowExecutionLog.prototype, "source", void 0);
64
+ __decorate([
65
+ (0, typeorm_1.Index)(),
66
+ (0, typeorm_1.Column)({ type: "varchar", nullable: true }),
67
+ __metadata("design:type", String)
68
+ ], WorkflowExecutionLog.prototype, "nodeId", void 0);
69
+ __decorate([
70
+ (0, typeorm_1.Index)(),
71
+ (0, typeorm_1.Column)({ type: "varchar", nullable: true }),
72
+ __metadata("design:type", String)
73
+ ], WorkflowExecutionLog.prototype, "nodeType", void 0);
74
+ __decorate([
75
+ (0, typeorm_1.Index)(),
76
+ (0, typeorm_1.Column)({ type: "integer", nullable: true }),
77
+ __metadata("design:type", Number)
78
+ ], WorkflowExecutionLog.prototype, "sequenceNumber", void 0);
79
+ __decorate([
80
+ (0, typeorm_1.Index)(),
81
+ (0, typeorm_1.Column)({ type: "timestamp" }),
82
+ __metadata("design:type", Date)
83
+ ], WorkflowExecutionLog.prototype, "occurredAt", void 0);
84
+ __decorate([
85
+ (0, typeorm_1.Column)({ type: "simple-json", nullable: true }),
86
+ __metadata("design:type", Object)
87
+ ], WorkflowExecutionLog.prototype, "context", void 0);
88
+ __decorate([
89
+ (0, typeorm_1.Column)({ type: "simple-json", nullable: true }),
90
+ __metadata("design:type", Object)
91
+ ], WorkflowExecutionLog.prototype, "metadata", void 0);
92
+ exports.WorkflowExecutionLog = WorkflowExecutionLog = __decorate([
93
+ (0, typeorm_1.Entity)('ss_workflow_execution_log')
94
+ ], WorkflowExecutionLog);
95
+ //# sourceMappingURL=workflow-execution-log.entity.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"workflow-execution-log.entity.js","sourceRoot":"","sources":["../../src/entities/workflow-execution-log.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;;AAAA,mDAA0D;AAC1D,qCAAuE;AACvE,2EAAgE;AAChE,qFAAwE;AAGjE,IAAM,oBAAoB,GAA1B,MAAM,oBAAqB,SAAQ,4BAAY;IAA/C;;QAiBH,UAAK,GAAW,MAAM,CAAC;KAkC1B;;;;CAAA,CAAA;AAnDY,oDAAoB;AAG7B;IAFC,IAAA,eAAK,EAAC,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC;IACvB,IAAA,gBAAM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,QAAQ,EAAE,IAAI,EAAE,CAAC;;4DACrB;AAIvB;IAFC,IAAA,eAAK,GAAE;IACP,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,WAAW,EAAE,CAAC;8BAClB,IAAI;wDAAC;AAGjB;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,aAAa,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;qDACnC;AAGb;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,aAAa,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;sDAClC;+BAlDL,oBAAoB;IADhC,IAAA,gBAAM,EAAC,2BAA2B,CAAC;GACvB,oBAAoB,CAmDhC","sourcesContent":["import { CommonEntity } from 'src/entities/common.entity';\nimport { Entity, Column, Index, JoinColumn, ManyToOne } from 'typeorm';\nimport { WorkflowExecution } from './workflow-execution.entity';\nimport { WorkflowStepExecution } from './workflow-step-execution.entity'\n\n@Entity('ss_workflow_execution_log')\nexport class WorkflowExecutionLog extends CommonEntity {\n @Index({ unique: true })\n @Column({ type: \"varchar\" })\n logKey: string;\n\n @Index()\n @ManyToOne(() => WorkflowExecution, { onDelete: \"CASCADE\", nullable: false })\n @JoinColumn()\n workflowExecution: WorkflowExecution;\n\n @Index()\n @ManyToOne(() => WorkflowStepExecution, { onDelete: \"CASCADE\", nullable: true })\n @JoinColumn()\n workflowStepExecution: WorkflowStepExecution;\n\n @Index()\n @Column({ type: \"varchar\", default: \"info\" })\n level: string = \"info\";\n\n @Column({ type: \"text\" })\n message: string;\n\n @Index()\n @Column({ type: \"varchar\", nullable: true })\n eventType: string;\n\n @Index()\n @Column({ type: \"varchar\", nullable: true })\n source: string;\n\n @Index()\n @Column({ type: \"varchar\", nullable: true })\n nodeId: string;\n\n @Index()\n @Column({ type: \"varchar\", nullable: true })\n nodeType: string;\n\n @Index()\n @Column({ type: \"integer\", nullable: true })\n sequenceNumber: number;\n\n @Index()\n @Column({ type: \"timestamp\" })\n occurredAt: Date;\n\n @Column({ type: \"simple-json\", nullable: true })\n context: any;\n\n @Column({ type: \"simple-json\", nullable: true })\n metadata: any;\n}\n"]}