@solidxai/core 0.1.12 → 0.1.13-beta.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/controllers/view-metadata.controller.d.ts +1 -1
- package/dist/controllers/workflow-definition.controller.d.ts +38 -0
- package/dist/controllers/workflow-definition.controller.d.ts.map +1 -0
- package/dist/controllers/workflow-definition.controller.js +272 -0
- package/dist/controllers/workflow-definition.controller.js.map +1 -0
- package/dist/controllers/workflow-execution-artifact.controller.d.ts +24 -0
- package/dist/controllers/workflow-execution-artifact.controller.d.ts.map +1 -0
- package/dist/controllers/workflow-execution-artifact.controller.js +179 -0
- package/dist/controllers/workflow-execution-artifact.controller.js.map +1 -0
- package/dist/controllers/workflow-execution-log.controller.d.ts +24 -0
- package/dist/controllers/workflow-execution-log.controller.d.ts.map +1 -0
- package/dist/controllers/workflow-execution-log.controller.js +179 -0
- package/dist/controllers/workflow-execution-log.controller.js.map +1 -0
- package/dist/controllers/workflow-execution.controller.d.ts +29 -0
- package/dist/controllers/workflow-execution.controller.d.ts.map +1 -0
- package/dist/controllers/workflow-execution.controller.js +227 -0
- package/dist/controllers/workflow-execution.controller.js.map +1 -0
- package/dist/controllers/workflow-secret.controller.d.ts +24 -0
- package/dist/controllers/workflow-secret.controller.d.ts.map +1 -0
- package/dist/controllers/workflow-secret.controller.js +179 -0
- package/dist/controllers/workflow-secret.controller.js.map +1 -0
- package/dist/controllers/workflow-step-execution.controller.d.ts +24 -0
- package/dist/controllers/workflow-step-execution.controller.d.ts.map +1 -0
- package/dist/controllers/workflow-step-execution.controller.js +179 -0
- package/dist/controllers/workflow-step-execution.controller.js.map +1 -0
- package/dist/controllers/workflow-trigger-execution.controller.d.ts +24 -0
- package/dist/controllers/workflow-trigger-execution.controller.d.ts.map +1 -0
- package/dist/controllers/workflow-trigger-execution.controller.js +179 -0
- package/dist/controllers/workflow-trigger-execution.controller.js.map +1 -0
- package/dist/decorators/workflow-field-data-provider.decorator.d.ts +3 -0
- package/dist/decorators/workflow-field-data-provider.decorator.d.ts.map +1 -0
- package/dist/decorators/workflow-field-data-provider.decorator.js +11 -0
- package/dist/decorators/workflow-field-data-provider.decorator.js.map +1 -0
- package/dist/decorators/workflow-node-provider.decorator.d.ts +4 -0
- package/dist/decorators/workflow-node-provider.decorator.d.ts.map +1 -0
- package/dist/decorators/workflow-node-provider.decorator.js +13 -0
- package/dist/decorators/workflow-node-provider.decorator.js.map +1 -0
- package/dist/dtos/create-workflow-definition.dto.d.ts +14 -0
- package/dist/dtos/create-workflow-definition.dto.d.ts.map +1 -0
- package/dist/dtos/create-workflow-definition.dto.js +92 -0
- package/dist/dtos/create-workflow-definition.dto.js.map +1 -0
- package/dist/dtos/create-workflow-execution-artifact.dto.d.ts +22 -0
- package/dist/dtos/create-workflow-execution-artifact.dto.d.ts.map +1 -0
- package/dist/dtos/create-workflow-execution-artifact.dto.js +139 -0
- package/dist/dtos/create-workflow-execution-artifact.dto.js.map +1 -0
- package/dist/dtos/create-workflow-execution-log.dto.d.ts +18 -0
- package/dist/dtos/create-workflow-execution-log.dto.d.ts.map +1 -0
- package/dist/dtos/create-workflow-execution-log.dto.js +116 -0
- package/dist/dtos/create-workflow-execution-log.dto.js.map +1 -0
- package/dist/dtos/create-workflow-execution.dto.d.ts +33 -0
- package/dist/dtos/create-workflow-execution.dto.d.ts.map +1 -0
- package/dist/dtos/create-workflow-execution.dto.js +186 -0
- package/dist/dtos/create-workflow-execution.dto.js.map +1 -0
- package/dist/dtos/create-workflow-secret.dto.d.ts +11 -0
- package/dist/dtos/create-workflow-secret.dto.d.ts.map +1 -0
- package/dist/dtos/create-workflow-secret.dto.js +74 -0
- package/dist/dtos/create-workflow-secret.dto.js.map +1 -0
- package/dist/dtos/create-workflow-step-execution.dto.d.ts +27 -0
- package/dist/dtos/create-workflow-step-execution.dto.d.ts.map +1 -0
- package/dist/dtos/create-workflow-step-execution.dto.js +171 -0
- package/dist/dtos/create-workflow-step-execution.dto.js.map +1 -0
- package/dist/dtos/create-workflow-trigger-execution.dto.d.ts +25 -0
- package/dist/dtos/create-workflow-trigger-execution.dto.d.ts.map +1 -0
- package/dist/dtos/create-workflow-trigger-execution.dto.js +158 -0
- package/dist/dtos/create-workflow-trigger-execution.dto.js.map +1 -0
- package/dist/dtos/execute-workflow.dto.d.ts +7 -0
- package/dist/dtos/execute-workflow.dto.d.ts.map +1 -0
- package/dist/dtos/execute-workflow.dto.js +11 -0
- package/dist/dtos/execute-workflow.dto.js.map +1 -0
- package/dist/dtos/update-workflow-definition.dto.d.ts +15 -0
- package/dist/dtos/update-workflow-definition.dto.d.ts.map +1 -0
- package/dist/dtos/update-workflow-definition.dto.js +97 -0
- package/dist/dtos/update-workflow-definition.dto.js.map +1 -0
- package/dist/dtos/update-workflow-execution-artifact.dto.d.ts +23 -0
- package/dist/dtos/update-workflow-execution-artifact.dto.d.ts.map +1 -0
- package/dist/dtos/update-workflow-execution-artifact.dto.js +143 -0
- package/dist/dtos/update-workflow-execution-artifact.dto.js.map +1 -0
- package/dist/dtos/update-workflow-execution-log.dto.d.ts +19 -0
- package/dist/dtos/update-workflow-execution-log.dto.d.ts.map +1 -0
- package/dist/dtos/update-workflow-execution-log.dto.js +121 -0
- package/dist/dtos/update-workflow-execution-log.dto.js.map +1 -0
- package/dist/dtos/update-workflow-execution.dto.d.ts +34 -0
- package/dist/dtos/update-workflow-execution.dto.d.ts.map +1 -0
- package/dist/dtos/update-workflow-execution.dto.js +190 -0
- package/dist/dtos/update-workflow-execution.dto.js.map +1 -0
- package/dist/dtos/update-workflow-secret.dto.d.ts +12 -0
- package/dist/dtos/update-workflow-secret.dto.d.ts.map +1 -0
- package/dist/dtos/update-workflow-secret.dto.js +80 -0
- package/dist/dtos/update-workflow-secret.dto.js.map +1 -0
- package/dist/dtos/update-workflow-step-execution.dto.d.ts +28 -0
- package/dist/dtos/update-workflow-step-execution.dto.d.ts.map +1 -0
- package/dist/dtos/update-workflow-step-execution.dto.js +175 -0
- package/dist/dtos/update-workflow-step-execution.dto.js.map +1 -0
- package/dist/dtos/update-workflow-trigger-execution.dto.d.ts +26 -0
- package/dist/dtos/update-workflow-trigger-execution.dto.d.ts.map +1 -0
- package/dist/dtos/update-workflow-trigger-execution.dto.js +163 -0
- package/dist/dtos/update-workflow-trigger-execution.dto.js.map +1 -0
- package/dist/dtos/validate-workflow-definition.dto.d.ts +4 -0
- package/dist/dtos/validate-workflow-definition.dto.d.ts.map +1 -0
- package/dist/dtos/validate-workflow-definition.dto.js +11 -0
- package/dist/dtos/validate-workflow-definition.dto.js.map +1 -0
- package/dist/entities/saved-filters.entity.js +3 -3
- package/dist/entities/saved-filters.entity.js.map +1 -1
- package/dist/entities/workflow-definition.entity.d.ts +15 -0
- package/dist/entities/workflow-definition.entity.d.ts.map +1 -0
- package/dist/entities/workflow-definition.entity.js +77 -0
- package/dist/entities/workflow-definition.entity.js.map +1 -0
- package/dist/entities/workflow-execution-artifact.entity.d.ts +23 -0
- package/dist/entities/workflow-execution-artifact.entity.d.ts.map +1 -0
- package/dist/entities/workflow-execution-artifact.entity.js +113 -0
- package/dist/entities/workflow-execution-artifact.entity.js.map +1 -0
- package/dist/entities/workflow-execution-log.entity.d.ts +19 -0
- package/dist/entities/workflow-execution-log.entity.d.ts.map +1 -0
- package/dist/entities/workflow-execution-log.entity.js +95 -0
- package/dist/entities/workflow-execution-log.entity.js.map +1 -0
- package/dist/entities/workflow-execution.entity.d.ts +28 -0
- package/dist/entities/workflow-execution.entity.d.ts.map +1 -0
- package/dist/entities/workflow-execution.entity.js +124 -0
- package/dist/entities/workflow-execution.entity.js.map +1 -0
- package/dist/entities/workflow-secret.entity.d.ts +12 -0
- package/dist/entities/workflow-secret.entity.d.ts.map +1 -0
- package/dist/entities/workflow-secret.entity.js +66 -0
- package/dist/entities/workflow-secret.entity.js.map +1 -0
- package/dist/entities/workflow-step-execution.entity.d.ts +28 -0
- package/dist/entities/workflow-step-execution.entity.d.ts.map +1 -0
- package/dist/entities/workflow-step-execution.entity.js +138 -0
- package/dist/entities/workflow-step-execution.entity.js.map +1 -0
- package/dist/entities/workflow-trigger-execution.entity.d.ts +26 -0
- package/dist/entities/workflow-trigger-execution.entity.d.ts.map +1 -0
- package/dist/entities/workflow-trigger-execution.entity.js +127 -0
- package/dist/entities/workflow-trigger-execution.entity.js.map +1 -0
- package/dist/factories/sms.factory.d.ts.map +1 -1
- package/dist/factories/sms.factory.js +4 -1
- package/dist/factories/sms.factory.js.map +1 -1
- package/dist/helpers/solid-registry.d.ts +5 -1
- package/dist/helpers/solid-registry.d.ts.map +1 -1
- package/dist/helpers/solid-registry.js +17 -0
- package/dist/helpers/solid-registry.js.map +1 -1
- package/dist/index.d.ts +55 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +55 -0
- package/dist/index.js.map +1 -1
- package/dist/interfaces/workflow-node-handler.interface.d.ts +5 -0
- package/dist/interfaces/workflow-node-handler.interface.d.ts.map +1 -0
- package/dist/interfaces/workflow-node-handler.interface.js +3 -0
- package/dist/interfaces/workflow-node-handler.interface.js.map +1 -0
- package/dist/interfaces.d.ts +24 -0
- package/dist/interfaces.d.ts.map +1 -1
- package/dist/interfaces.js.map +1 -1
- package/dist/jobs/database/workflow-execution-publisher-database.service.d.ts +12 -0
- package/dist/jobs/database/workflow-execution-publisher-database.service.d.ts.map +1 -0
- package/dist/jobs/database/workflow-execution-publisher-database.service.js +39 -0
- package/dist/jobs/database/workflow-execution-publisher-database.service.js.map +1 -0
- package/dist/jobs/database/workflow-execution-queue-options-database.d.ts +8 -0
- package/dist/jobs/database/workflow-execution-queue-options-database.d.ts.map +1 -0
- package/dist/jobs/database/workflow-execution-queue-options-database.js +10 -0
- package/dist/jobs/database/workflow-execution-queue-options-database.js.map +1 -0
- package/dist/jobs/database/workflow-execution-subscriber-database.service.d.ts +19 -0
- package/dist/jobs/database/workflow-execution-subscriber-database.service.d.ts.map +1 -0
- package/dist/jobs/database/workflow-execution-subscriber-database.service.js +55 -0
- package/dist/jobs/database/workflow-execution-subscriber-database.service.js.map +1 -0
- package/dist/jobs/rabbitmq/workflow-execution-publisher.service.d.ts +12 -0
- package/dist/jobs/rabbitmq/workflow-execution-publisher.service.d.ts.map +1 -0
- package/dist/jobs/rabbitmq/workflow-execution-publisher.service.js +39 -0
- package/dist/jobs/rabbitmq/workflow-execution-publisher.service.js.map +1 -0
- package/dist/jobs/rabbitmq/workflow-execution-queue-options.d.ts +8 -0
- package/dist/jobs/rabbitmq/workflow-execution-queue-options.d.ts.map +1 -0
- package/dist/jobs/rabbitmq/workflow-execution-queue-options.js +10 -0
- package/dist/jobs/rabbitmq/workflow-execution-queue-options.js.map +1 -0
- package/dist/jobs/rabbitmq/workflow-execution-subscriber.service.d.ts +17 -0
- package/dist/jobs/rabbitmq/workflow-execution-subscriber.service.d.ts.map +1 -0
- package/dist/jobs/rabbitmq/workflow-execution-subscriber.service.js +52 -0
- package/dist/jobs/rabbitmq/workflow-execution-subscriber.service.js.map +1 -0
- package/dist/jobs/redis/workflow-execution-publisher-redis.service.d.ts +12 -0
- package/dist/jobs/redis/workflow-execution-publisher-redis.service.d.ts.map +1 -0
- package/dist/jobs/redis/workflow-execution-publisher-redis.service.js +39 -0
- package/dist/jobs/redis/workflow-execution-publisher-redis.service.js.map +1 -0
- package/dist/jobs/redis/workflow-execution-queue-options-redis.d.ts +8 -0
- package/dist/jobs/redis/workflow-execution-queue-options-redis.d.ts.map +1 -0
- package/dist/jobs/redis/workflow-execution-queue-options-redis.js +10 -0
- package/dist/jobs/redis/workflow-execution-queue-options-redis.js.map +1 -0
- package/dist/jobs/redis/workflow-execution-subscriber-redis.service.d.ts +17 -0
- package/dist/jobs/redis/workflow-execution-subscriber-redis.service.d.ts.map +1 -0
- package/dist/jobs/redis/workflow-execution-subscriber-redis.service.js +52 -0
- package/dist/jobs/redis/workflow-execution-subscriber-redis.service.js.map +1 -0
- package/dist/repository/security-rule.repository.d.ts +1 -0
- package/dist/repository/security-rule.repository.d.ts.map +1 -1
- package/dist/repository/security-rule.repository.js +28 -7
- package/dist/repository/security-rule.repository.js.map +1 -1
- package/dist/repository/workflow-definition.repository.d.ts +12 -0
- package/dist/repository/workflow-definition.repository.d.ts.map +1 -0
- package/dist/repository/workflow-definition.repository.js +39 -0
- package/dist/repository/workflow-definition.repository.js.map +1 -0
- package/dist/repository/workflow-execution-artifact.repository.d.ts +12 -0
- package/dist/repository/workflow-execution-artifact.repository.d.ts.map +1 -0
- package/dist/repository/workflow-execution-artifact.repository.js +39 -0
- package/dist/repository/workflow-execution-artifact.repository.js.map +1 -0
- package/dist/repository/workflow-execution-log.repository.d.ts +12 -0
- package/dist/repository/workflow-execution-log.repository.d.ts.map +1 -0
- package/dist/repository/workflow-execution-log.repository.js +39 -0
- package/dist/repository/workflow-execution-log.repository.js.map +1 -0
- package/dist/repository/workflow-execution.repository.d.ts +12 -0
- package/dist/repository/workflow-execution.repository.d.ts.map +1 -0
- package/dist/repository/workflow-execution.repository.js +39 -0
- package/dist/repository/workflow-execution.repository.js.map +1 -0
- package/dist/repository/workflow-secret.repository.d.ts +12 -0
- package/dist/repository/workflow-secret.repository.d.ts.map +1 -0
- package/dist/repository/workflow-secret.repository.js +39 -0
- package/dist/repository/workflow-secret.repository.js.map +1 -0
- package/dist/repository/workflow-step-execution.repository.d.ts +12 -0
- package/dist/repository/workflow-step-execution.repository.d.ts.map +1 -0
- package/dist/repository/workflow-step-execution.repository.js +39 -0
- package/dist/repository/workflow-step-execution.repository.js.map +1 -0
- package/dist/repository/workflow-trigger-execution.repository.d.ts +12 -0
- package/dist/repository/workflow-trigger-execution.repository.d.ts.map +1 -0
- package/dist/repository/workflow-trigger-execution.repository.js +39 -0
- package/dist/repository/workflow-trigger-execution.repository.js.map +1 -0
- package/dist/seeders/module-metadata-seeder.service.d.ts +6 -0
- package/dist/seeders/module-metadata-seeder.service.d.ts.map +1 -1
- package/dist/seeders/module-metadata-seeder.service.js +141 -0
- package/dist/seeders/module-metadata-seeder.service.js.map +1 -1
- package/dist/seeders/seed-data/solid-core-metadata.json +11437 -5567
- package/dist/services/chatter-message.service.d.ts.map +1 -1
- package/dist/services/chatter-message.service.js +1 -1
- package/dist/services/chatter-message.service.js.map +1 -1
- package/dist/services/crud-helper.service.d.ts +16 -1
- package/dist/services/crud-helper.service.d.ts.map +1 -1
- package/dist/services/crud-helper.service.js +99 -22
- package/dist/services/crud-helper.service.js.map +1 -1
- package/dist/services/crud.service.d.ts +1 -0
- package/dist/services/crud.service.d.ts.map +1 -1
- package/dist/services/crud.service.js +15 -0
- package/dist/services/crud.service.js.map +1 -1
- package/dist/services/solid-introspect.service.d.ts +1 -0
- package/dist/services/solid-introspect.service.d.ts.map +1 -1
- package/dist/services/solid-introspect.service.js +12 -0
- package/dist/services/solid-introspect.service.js.map +1 -1
- package/dist/services/view-metadata.service.d.ts +5 -1
- package/dist/services/view-metadata.service.d.ts.map +1 -1
- package/dist/services/view-metadata.service.js +63 -14
- package/dist/services/view-metadata.service.js.map +1 -1
- package/dist/services/workflow/nodes/for-each.node.d.ts +6 -0
- package/dist/services/workflow/nodes/for-each.node.d.ts.map +1 -0
- package/dist/services/workflow/nodes/for-each.node.js +95 -0
- package/dist/services/workflow/nodes/for-each.node.js.map +1 -0
- package/dist/services/workflow/nodes/http-request.node.d.ts +13 -0
- package/dist/services/workflow/nodes/http-request.node.d.ts.map +1 -0
- package/dist/services/workflow/nodes/http-request.node.js +549 -0
- package/dist/services/workflow/nodes/http-request.node.js.map +1 -0
- package/dist/services/workflow/nodes/if.node.d.ts +6 -0
- package/dist/services/workflow/nodes/if.node.d.ts.map +1 -0
- package/dist/services/workflow/nodes/if.node.js +93 -0
- package/dist/services/workflow/nodes/if.node.js.map +1 -0
- package/dist/services/workflow/nodes/log-write.node.d.ts +6 -0
- package/dist/services/workflow/nodes/log-write.node.d.ts.map +1 -0
- package/dist/services/workflow/nodes/log-write.node.js +229 -0
- package/dist/services/workflow/nodes/log-write.node.js.map +1 -0
- package/dist/services/workflow/nodes/parallel.node.d.ts +6 -0
- package/dist/services/workflow/nodes/parallel.node.d.ts.map +1 -0
- package/dist/services/workflow/nodes/parallel.node.js +76 -0
- package/dist/services/workflow/nodes/parallel.node.js.map +1 -0
- package/dist/services/workflow/nodes/runtime-python.node.d.ts +13 -0
- package/dist/services/workflow/nodes/runtime-python.node.d.ts.map +1 -0
- package/dist/services/workflow/nodes/runtime-python.node.js +522 -0
- package/dist/services/workflow/nodes/runtime-python.node.js.map +1 -0
- package/dist/services/workflow/nodes/sequential.node.d.ts +6 -0
- package/dist/services/workflow/nodes/sequential.node.d.ts.map +1 -0
- package/dist/services/workflow/nodes/sequential.node.js +61 -0
- package/dist/services/workflow/nodes/sequential.node.js.map +1 -0
- package/dist/services/workflow/nodes/solidx-api.helpers.d.ts +25 -0
- package/dist/services/workflow/nodes/solidx-api.helpers.d.ts.map +1 -0
- package/dist/services/workflow/nodes/solidx-api.helpers.js +143 -0
- package/dist/services/workflow/nodes/solidx-api.helpers.js.map +1 -0
- package/dist/services/workflow/nodes/solidx-crud.nodes.d.ts +48 -0
- package/dist/services/workflow/nodes/solidx-crud.nodes.d.ts.map +1 -0
- package/dist/services/workflow/nodes/solidx-crud.nodes.js +475 -0
- package/dist/services/workflow/nodes/solidx-crud.nodes.js.map +1 -0
- package/dist/services/workflow/nodes/solidx-login.node.d.ts +6 -0
- package/dist/services/workflow/nodes/solidx-login.node.d.ts.map +1 -0
- package/dist/services/workflow/nodes/solidx-login.node.js +208 -0
- package/dist/services/workflow/nodes/solidx-login.node.js.map +1 -0
- package/dist/services/workflow/nodes/solidx-send-email.node.d.ts +11 -0
- package/dist/services/workflow/nodes/solidx-send-email.node.d.ts.map +1 -0
- package/dist/services/workflow/nodes/solidx-send-email.node.js +437 -0
- package/dist/services/workflow/nodes/solidx-send-email.node.js.map +1 -0
- package/dist/services/workflow/nodes/solidx-send-sms.node.d.ts +10 -0
- package/dist/services/workflow/nodes/solidx-send-sms.node.d.ts.map +1 -0
- package/dist/services/workflow/nodes/solidx-send-sms.node.js +347 -0
- package/dist/services/workflow/nodes/solidx-send-sms.node.js.map +1 -0
- package/dist/services/workflow/nodes/switch.node.d.ts +7 -0
- package/dist/services/workflow/nodes/switch.node.d.ts.map +1 -0
- package/dist/services/workflow/nodes/switch.node.js +113 -0
- package/dist/services/workflow/nodes/switch.node.js.map +1 -0
- package/dist/services/workflow/workflow-definition-metadata-sync.service.d.ts +19 -0
- package/dist/services/workflow/workflow-definition-metadata-sync.service.d.ts.map +1 -0
- package/dist/services/workflow/workflow-definition-metadata-sync.service.js +187 -0
- package/dist/services/workflow/workflow-definition-metadata-sync.service.js.map +1 -0
- package/dist/services/workflow/workflow-definition-validator.service.d.ts +13 -0
- package/dist/services/workflow/workflow-definition-validator.service.d.ts.map +1 -0
- package/dist/services/workflow/workflow-definition-validator.service.js +163 -0
- package/dist/services/workflow/workflow-definition-validator.service.js.map +1 -0
- package/dist/services/workflow/workflow-execution-writer.service.d.ts +26 -0
- package/dist/services/workflow/workflow-execution-writer.service.d.ts.map +1 -0
- package/dist/services/workflow/workflow-execution-writer.service.js +191 -0
- package/dist/services/workflow/workflow-execution-writer.service.js.map +1 -0
- package/dist/services/workflow/workflow-expression.service.d.ts +14 -0
- package/dist/services/workflow/workflow-expression.service.d.ts.map +1 -0
- package/dist/services/workflow/workflow-expression.service.js +152 -0
- package/dist/services/workflow/workflow-expression.service.js.map +1 -0
- package/dist/services/workflow/workflow-invocation.service.d.ts +11 -0
- package/dist/services/workflow/workflow-invocation.service.d.ts.map +1 -0
- package/dist/services/workflow/workflow-invocation.service.js +37 -0
- package/dist/services/workflow/workflow-invocation.service.js.map +1 -0
- package/dist/services/workflow/workflow-node-registry.service.d.ts +18 -0
- package/dist/services/workflow/workflow-node-registry.service.d.ts.map +1 -0
- package/dist/services/workflow/workflow-node-registry.service.js +110 -0
- package/dist/services/workflow/workflow-node-registry.service.js.map +1 -0
- package/dist/services/workflow/workflow-runtime.service.d.ts +53 -0
- package/dist/services/workflow/workflow-runtime.service.d.ts.map +1 -0
- package/dist/services/workflow/workflow-runtime.service.js +541 -0
- package/dist/services/workflow/workflow-runtime.service.js.map +1 -0
- package/dist/services/workflow/workflow-scheduled-trigger.job.d.ts +10 -0
- package/dist/services/workflow/workflow-scheduled-trigger.job.d.ts.map +1 -0
- package/dist/services/workflow/workflow-scheduled-trigger.job.js +37 -0
- package/dist/services/workflow/workflow-scheduled-trigger.job.js.map +1 -0
- package/dist/services/workflow-definition.service.d.ts +52 -0
- package/dist/services/workflow-definition.service.d.ts.map +1 -0
- package/dist/services/workflow-definition.service.js +251 -0
- package/dist/services/workflow-definition.service.js.map +1 -0
- package/dist/services/workflow-execution-artifact.service.d.ts +12 -0
- package/dist/services/workflow-execution-artifact.service.d.ts.map +1 -0
- package/dist/services/workflow-execution-artifact.service.js +38 -0
- package/dist/services/workflow-execution-artifact.service.js.map +1 -0
- package/dist/services/workflow-execution-log.service.d.ts +12 -0
- package/dist/services/workflow-execution-log.service.d.ts.map +1 -0
- package/dist/services/workflow-execution-log.service.js +38 -0
- package/dist/services/workflow-execution-log.service.js.map +1 -0
- package/dist/services/workflow-execution.service.d.ts +12 -0
- package/dist/services/workflow-execution.service.d.ts.map +1 -0
- package/dist/services/workflow-execution.service.js +38 -0
- package/dist/services/workflow-execution.service.js.map +1 -0
- package/dist/services/workflow-secret.service.d.ts +25 -0
- package/dist/services/workflow-secret.service.d.ts.map +1 -0
- package/dist/services/workflow-secret.service.js +152 -0
- package/dist/services/workflow-secret.service.js.map +1 -0
- package/dist/services/workflow-step-execution.service.d.ts +12 -0
- package/dist/services/workflow-step-execution.service.d.ts.map +1 -0
- package/dist/services/workflow-step-execution.service.js +38 -0
- package/dist/services/workflow-step-execution.service.js.map +1 -0
- package/dist/services/workflow-trigger-execution.service.d.ts +12 -0
- package/dist/services/workflow-trigger-execution.service.d.ts.map +1 -0
- package/dist/services/workflow-trigger-execution.service.js +38 -0
- package/dist/services/workflow-trigger-execution.service.js.map +1 -0
- package/dist/solid-core.module.d.ts.map +1 -1
- package/dist/solid-core.module.js +117 -0
- package/dist/solid-core.module.js.map +1 -1
- package/dist/transformers/empty-string-to-null-transformer.d.ts +4 -0
- package/dist/transformers/empty-string-to-null-transformer.d.ts.map +1 -0
- package/dist/transformers/empty-string-to-null-transformer.js +12 -0
- package/dist/transformers/empty-string-to-null-transformer.js.map +1 -0
- package/dist/types/workflow-dsl.types.d.ts +277 -0
- package/dist/types/workflow-dsl.types.d.ts.map +1 -0
- package/dist/types/workflow-dsl.types.js +3 -0
- package/dist/types/workflow-dsl.types.js.map +1 -0
- package/dist/types/workflow-execution-queue.types.d.ts +4 -0
- package/dist/types/workflow-execution-queue.types.d.ts.map +1 -0
- package/dist/types/workflow-execution-queue.types.js +3 -0
- package/dist/types/workflow-execution-queue.types.js.map +1 -0
- package/package.json +3 -2
- package/src/controllers/workflow-definition.controller.ts +141 -0
- package/src/controllers/workflow-execution-artifact.controller.ts +93 -0
- package/src/controllers/workflow-execution-log.controller.ts +93 -0
- package/src/controllers/workflow-execution.controller.ts +126 -0
- package/src/controllers/workflow-secret.controller.ts +90 -0
- package/src/controllers/workflow-step-execution.controller.ts +93 -0
- package/src/controllers/workflow-trigger-execution.controller.ts +93 -0
- package/src/decorators/workflow-field-data-provider.decorator.ts +7 -0
- package/src/decorators/workflow-node-provider.decorator.ts +14 -0
- package/src/dtos/create-workflow-definition.dto.ts +60 -0
- package/src/dtos/create-workflow-execution-artifact.dto.ts +99 -0
- package/src/dtos/create-workflow-execution-log.dto.ts +80 -0
- package/src/dtos/create-workflow-execution.dto.ts +137 -0
- package/src/dtos/create-workflow-secret.dto.ts +44 -0
- package/src/dtos/create-workflow-step-execution.dto.ts +123 -0
- package/src/dtos/create-workflow-trigger-execution.dto.ts +114 -0
- package/src/dtos/execute-workflow.dto.ts +6 -0
- package/src/dtos/update-workflow-definition.dto.ts +67 -0
- package/src/dtos/update-workflow-execution-artifact.dto.ts +105 -0
- package/src/dtos/update-workflow-execution-log.dto.ts +87 -0
- package/src/dtos/update-workflow-execution.dto.ts +144 -0
- package/src/dtos/update-workflow-secret.dto.ts +53 -0
- package/src/dtos/update-workflow-step-execution.dto.ts +132 -0
- package/src/dtos/update-workflow-trigger-execution.dto.ts +122 -0
- package/src/dtos/validate-workflow-definition.dto.ts +3 -0
- package/src/entities/saved-filters.entity.ts +3 -3
- package/src/entities/workflow-definition.entity.ts +43 -0
- package/src/entities/workflow-execution-artifact.entity.ts +72 -0
- package/src/entities/workflow-execution-log.entity.ts +58 -0
- package/src/entities/workflow-execution.entity.ts +82 -0
- package/src/entities/workflow-secret.entity.ts +33 -0
- package/src/entities/workflow-step-execution.entity.ts +88 -0
- package/src/entities/workflow-trigger-execution.entity.ts +82 -0
- package/src/factories/sms.factory.ts +4 -1
- package/src/helpers/solid-registry.ts +21 -1
- package/src/index.ts +55 -0
- package/src/interfaces/workflow-node-handler.interface.ts +10 -0
- package/src/interfaces.ts +29 -0
- package/src/jobs/database/workflow-execution-publisher-database.service.ts +24 -0
- package/src/jobs/database/workflow-execution-queue-options-database.ts +9 -0
- package/src/jobs/database/workflow-execution-subscriber-database.service.ts +44 -0
- package/src/jobs/rabbitmq/workflow-execution-publisher.service.ts +24 -0
- package/src/jobs/rabbitmq/workflow-execution-queue-options.ts +9 -0
- package/src/jobs/rabbitmq/workflow-execution-subscriber.service.ts +42 -0
- package/src/jobs/redis/workflow-execution-publisher-redis.service.ts +24 -0
- package/src/jobs/redis/workflow-execution-queue-options-redis.ts +9 -0
- package/src/jobs/redis/workflow-execution-subscriber-redis.service.ts +42 -0
- package/src/repository/security-rule.repository.ts +52 -10
- package/src/repository/workflow-definition.repository.ts +19 -0
- package/src/repository/workflow-execution-artifact.repository.ts +19 -0
- package/src/repository/workflow-execution-log.repository.ts +19 -0
- package/src/repository/workflow-execution.repository.ts +19 -0
- package/src/repository/workflow-secret.repository.ts +19 -0
- package/src/repository/workflow-step-execution.repository.ts +19 -0
- package/src/repository/workflow-trigger-execution.repository.ts +19 -0
- package/src/seeders/module-metadata-seeder.service.ts +166 -4
- package/src/seeders/seed-data/solid-core-metadata.json +11437 -5567
- package/src/services/chatter-message.service.ts +5 -1
- package/src/services/crud-helper.service.ts +220 -22
- package/src/services/crud.service.ts +30 -0
- package/src/services/solid-introspect.service.ts +19 -0
- package/src/services/view-metadata.service.ts +87 -21
- package/src/services/workflow/nodes/for-each.node.ts +97 -0
- package/src/services/workflow/nodes/http-request.node.ts +624 -0
- package/src/services/workflow/nodes/if.node.ts +93 -0
- package/src/services/workflow/nodes/log-write.node.ts +232 -0
- package/src/services/workflow/nodes/parallel.node.ts +81 -0
- package/src/services/workflow/nodes/runtime-python.node.ts +571 -0
- package/src/services/workflow/nodes/sequential.node.ts +58 -0
- package/src/services/workflow/nodes/solidx-api.helpers.ts +205 -0
- package/src/services/workflow/nodes/solidx-crud.nodes.ts +511 -0
- package/src/services/workflow/nodes/solidx-login.node.ts +222 -0
- package/src/services/workflow/nodes/solidx-send-email.node.ts +489 -0
- package/src/services/workflow/nodes/solidx-send-sms.node.ts +377 -0
- package/src/services/workflow/nodes/switch.node.ts +125 -0
- package/src/services/workflow/workflow-definition-metadata-sync.service.ts +196 -0
- package/src/services/workflow/workflow-definition-validator.service.ts +223 -0
- package/src/services/workflow/workflow-execution-writer.service.ts +244 -0
- package/src/services/workflow/workflow-expression.service.ts +175 -0
- package/src/services/workflow/workflow-invocation.service.ts +39 -0
- package/src/services/workflow/workflow-node-registry.service.ts +141 -0
- package/src/services/workflow/workflow-runtime.service.ts +699 -0
- package/src/services/workflow/workflow-scheduled-trigger.job.ts +33 -0
- package/src/services/workflow-definition.service.ts +293 -0
- package/src/services/workflow-execution-artifact.service.ts +20 -0
- package/src/services/workflow-execution-log.service.ts +20 -0
- package/src/services/workflow-execution.service.ts +20 -0
- package/src/services/workflow-secret.service.ts +161 -0
- package/src/services/workflow-step-execution.service.ts +20 -0
- package/src/services/workflow-trigger-execution.service.ts +20 -0
- package/src/solid-core.module.ts +124 -0
- package/src/transformers/empty-string-to-null-transformer.ts +11 -0
- package/src/types/workflow-dsl.types.ts +987 -0
- package/src/types/workflow-execution-queue.types.ts +3 -0
|
@@ -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":"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","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,EAAC,EAAE,IAAI,EAAE,SAAS,EAAE,CAAC;;oDACb;AAKf;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;+DAAC;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;mEAAC;AAI7C;IAFC,IAAA,eAAK,GAAE;IACP,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,SAAS,EAAE,OAAO,EAAE,MAAM,EAAE,CAAC;;mDACtB;AAGvB;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;;qDACT;AAIhB;IAFC,IAAA,eAAK,GAAE;IACP,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,SAAS,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;uDAC1B;AAIlB;IAFC,IAAA,eAAK,GAAE;IACP,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,SAAS,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;oDAC7B;AAIf;IAFC,IAAA,eAAK,GAAE;IACP,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,SAAS,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;oDAC7B;AAIf;IAFC,IAAA,eAAK,GAAE;IACP,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,SAAS,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;sDAC3B;AAIjB;IAFC,IAAA,eAAK,GAAE;IACP,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,SAAS,EAAE,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"]}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { CommonEntity } from '../entities/common.entity';
|
|
2
|
+
import { WorkflowDefinition } from './workflow-definition.entity';
|
|
3
|
+
import { WorkflowStepExecution } from './workflow-step-execution.entity';
|
|
4
|
+
import { WorkflowExecutionLog } from './workflow-execution-log.entity';
|
|
5
|
+
import { WorkflowExecutionArtifact } from './workflow-execution-artifact.entity';
|
|
6
|
+
export declare class WorkflowExecution extends CommonEntity {
|
|
7
|
+
executionIdentifier: string;
|
|
8
|
+
workflowDefinition: WorkflowDefinition;
|
|
9
|
+
workflowKey: string;
|
|
10
|
+
workflowDisplayName: string;
|
|
11
|
+
status: string;
|
|
12
|
+
triggerType: string;
|
|
13
|
+
startedAt: Date;
|
|
14
|
+
finishedAt: Date;
|
|
15
|
+
durationMs: bigint;
|
|
16
|
+
inputPayload: any;
|
|
17
|
+
outputPayload: any;
|
|
18
|
+
definitionVersion: string;
|
|
19
|
+
definitionChecksum: string;
|
|
20
|
+
definitionSnapshot: string;
|
|
21
|
+
errorSummary: string;
|
|
22
|
+
errorDetails: any;
|
|
23
|
+
requestedByUserId: bigint;
|
|
24
|
+
workflowStepExecutions: WorkflowStepExecution[];
|
|
25
|
+
workflowExecutionLogs: WorkflowExecutionLog[];
|
|
26
|
+
workflowExecutionArtifacts: WorkflowExecutionArtifact[];
|
|
27
|
+
}
|
|
28
|
+
//# sourceMappingURL=workflow-execution.entity.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"workflow-execution.entity.d.ts","sourceRoot":"","sources":["../../src/entities/workflow-execution.entity.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,4BAA4B,CAAC;AAE1D,OAAO,EAAE,kBAAkB,EAAE,MAAM,8BAA8B,CAAA;AACjE,OAAO,EAAE,qBAAqB,EAAE,MAAM,kCAAkC,CAAC;AACzE,OAAO,EAAE,oBAAoB,EAAE,MAAM,iCAAiC,CAAC;AACvE,OAAO,EAAE,yBAAyB,EAAE,MAAM,sCAAsC,CAAC;AAEjF,qBACa,iBAAkB,SAAQ,YAAY;IAG/C,mBAAmB,EAAE,MAAM,CAAC;IAK5B,kBAAkB,EAAE,kBAAkB,CAAC;IAIvC,WAAW,EAAE,MAAM,CAAC;IAGpB,mBAAmB,EAAE,MAAM,CAAC;IAI5B,MAAM,EAAE,MAAM,CAAa;IAI3B,WAAW,EAAE,MAAM,CAAY;IAI/B,SAAS,EAAE,IAAI,CAAC;IAIhB,UAAU,EAAE,IAAI,CAAC;IAGjB,UAAU,EAAE,MAAM,CAAC;IAGnB,YAAY,EAAE,GAAG,CAAC;IAMlB,aAAa,EAAE,GAAG,CAAC;IAGnB,iBAAiB,EAAE,MAAM,CAAC;IAI1B,kBAAkB,EAAE,MAAM,CAAC;IAG3B,kBAAkB,EAAE,MAAM,CAAC;IAG3B,YAAY,EAAE,MAAM,CAAC;IAGrB,YAAY,EAAE,GAAG,CAAC;IAIlB,iBAAiB,EAAE,MAAM,CAAC;IAG1B,sBAAsB,EAAE,qBAAqB,EAAE,CAAC;IAGhD,qBAAqB,EAAE,oBAAoB,EAAE,CAAC;IAG9C,0BAA0B,EAAE,yBAAyB,EAAE,CAAC;CAC3D"}
|
|
@@ -0,0 +1,124 @@
|
|
|
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.WorkflowExecution = 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_definition_entity_1 = require("./workflow-definition.entity");
|
|
17
|
+
const workflow_step_execution_entity_1 = require("./workflow-step-execution.entity");
|
|
18
|
+
const workflow_execution_log_entity_1 = require("./workflow-execution-log.entity");
|
|
19
|
+
const workflow_execution_artifact_entity_1 = require("./workflow-execution-artifact.entity");
|
|
20
|
+
let WorkflowExecution = class WorkflowExecution extends common_entity_1.CommonEntity {
|
|
21
|
+
constructor() {
|
|
22
|
+
super(...arguments);
|
|
23
|
+
this.status = "created";
|
|
24
|
+
this.triggerType = "manual";
|
|
25
|
+
}
|
|
26
|
+
static _OPENAPI_METADATA_FACTORY() {
|
|
27
|
+
return { executionIdentifier: { required: true, type: () => String }, workflowDefinition: { required: true, type: () => require("./workflow-definition.entity").WorkflowDefinition }, workflowKey: { required: true, type: () => String }, workflowDisplayName: { required: true, type: () => String }, status: { required: true, type: () => String, default: "created" }, triggerType: { required: true, type: () => String, default: "manual" }, startedAt: { required: true, type: () => Date }, finishedAt: { required: true, type: () => Date }, durationMs: { required: true, type: () => BigInt }, inputPayload: { required: true, type: () => Object }, outputPayload: { required: true, type: () => Object }, definitionVersion: { required: true, type: () => String }, definitionChecksum: { required: true, type: () => String }, definitionSnapshot: { required: true, type: () => String }, errorSummary: { required: true, type: () => String }, errorDetails: { required: true, type: () => Object }, requestedByUserId: { required: true, type: () => BigInt }, workflowStepExecutions: { required: true, type: () => [require("./workflow-step-execution.entity").WorkflowStepExecution] }, workflowExecutionLogs: { required: true, type: () => [require("./workflow-execution-log.entity").WorkflowExecutionLog] }, workflowExecutionArtifacts: { required: true, type: () => [require("./workflow-execution-artifact.entity").WorkflowExecutionArtifact] } };
|
|
28
|
+
}
|
|
29
|
+
};
|
|
30
|
+
exports.WorkflowExecution = WorkflowExecution;
|
|
31
|
+
__decorate([
|
|
32
|
+
(0, typeorm_1.Index)({ unique: true }),
|
|
33
|
+
(0, typeorm_1.Column)({ type: "varchar" }),
|
|
34
|
+
__metadata("design:type", String)
|
|
35
|
+
], WorkflowExecution.prototype, "executionIdentifier", void 0);
|
|
36
|
+
__decorate([
|
|
37
|
+
(0, typeorm_1.Index)(),
|
|
38
|
+
(0, typeorm_1.ManyToOne)(() => workflow_definition_entity_1.WorkflowDefinition, { onDelete: "CASCADE", nullable: false }),
|
|
39
|
+
(0, typeorm_1.JoinColumn)(),
|
|
40
|
+
__metadata("design:type", workflow_definition_entity_1.WorkflowDefinition)
|
|
41
|
+
], WorkflowExecution.prototype, "workflowDefinition", void 0);
|
|
42
|
+
__decorate([
|
|
43
|
+
(0, typeorm_1.Index)(),
|
|
44
|
+
(0, typeorm_1.Column)({ type: "varchar" }),
|
|
45
|
+
__metadata("design:type", String)
|
|
46
|
+
], WorkflowExecution.prototype, "workflowKey", void 0);
|
|
47
|
+
__decorate([
|
|
48
|
+
(0, typeorm_1.Column)({ type: "varchar", nullable: true }),
|
|
49
|
+
__metadata("design:type", String)
|
|
50
|
+
], WorkflowExecution.prototype, "workflowDisplayName", void 0);
|
|
51
|
+
__decorate([
|
|
52
|
+
(0, typeorm_1.Index)(),
|
|
53
|
+
(0, typeorm_1.Column)({ type: "varchar", default: "created" }),
|
|
54
|
+
__metadata("design:type", String)
|
|
55
|
+
], WorkflowExecution.prototype, "status", void 0);
|
|
56
|
+
__decorate([
|
|
57
|
+
(0, typeorm_1.Index)(),
|
|
58
|
+
(0, typeorm_1.Column)({ type: "varchar", default: "manual" }),
|
|
59
|
+
__metadata("design:type", String)
|
|
60
|
+
], WorkflowExecution.prototype, "triggerType", void 0);
|
|
61
|
+
__decorate([
|
|
62
|
+
(0, typeorm_1.Index)(),
|
|
63
|
+
(0, typeorm_1.Column)({ type: "timestamp", nullable: true }),
|
|
64
|
+
__metadata("design:type", Date)
|
|
65
|
+
], WorkflowExecution.prototype, "startedAt", void 0);
|
|
66
|
+
__decorate([
|
|
67
|
+
(0, typeorm_1.Index)(),
|
|
68
|
+
(0, typeorm_1.Column)({ type: "timestamp", nullable: true }),
|
|
69
|
+
__metadata("design:type", Date)
|
|
70
|
+
], WorkflowExecution.prototype, "finishedAt", void 0);
|
|
71
|
+
__decorate([
|
|
72
|
+
(0, typeorm_1.Column)({ type: "bigint", nullable: true }),
|
|
73
|
+
__metadata("design:type", BigInt)
|
|
74
|
+
], WorkflowExecution.prototype, "durationMs", void 0);
|
|
75
|
+
__decorate([
|
|
76
|
+
(0, typeorm_1.Column)({ type: "simple-json", nullable: true }),
|
|
77
|
+
__metadata("design:type", Object)
|
|
78
|
+
], WorkflowExecution.prototype, "inputPayload", void 0);
|
|
79
|
+
__decorate([
|
|
80
|
+
(0, typeorm_1.Column)({ type: "simple-json", nullable: true }),
|
|
81
|
+
__metadata("design:type", Object)
|
|
82
|
+
], WorkflowExecution.prototype, "outputPayload", void 0);
|
|
83
|
+
__decorate([
|
|
84
|
+
(0, typeorm_1.Column)({ type: "varchar", nullable: true }),
|
|
85
|
+
__metadata("design:type", String)
|
|
86
|
+
], WorkflowExecution.prototype, "definitionVersion", void 0);
|
|
87
|
+
__decorate([
|
|
88
|
+
(0, typeorm_1.Index)(),
|
|
89
|
+
(0, typeorm_1.Column)({ type: "varchar", nullable: true }),
|
|
90
|
+
__metadata("design:type", String)
|
|
91
|
+
], WorkflowExecution.prototype, "definitionChecksum", void 0);
|
|
92
|
+
__decorate([
|
|
93
|
+
(0, typeorm_1.Column)({ name: "definition_snapshot", type: "text", nullable: true }),
|
|
94
|
+
__metadata("design:type", String)
|
|
95
|
+
], WorkflowExecution.prototype, "definitionSnapshot", void 0);
|
|
96
|
+
__decorate([
|
|
97
|
+
(0, typeorm_1.Column)({ type: "text", nullable: true }),
|
|
98
|
+
__metadata("design:type", String)
|
|
99
|
+
], WorkflowExecution.prototype, "errorSummary", void 0);
|
|
100
|
+
__decorate([
|
|
101
|
+
(0, typeorm_1.Column)({ type: "simple-json", nullable: true }),
|
|
102
|
+
__metadata("design:type", Object)
|
|
103
|
+
], WorkflowExecution.prototype, "errorDetails", void 0);
|
|
104
|
+
__decorate([
|
|
105
|
+
(0, typeorm_1.Index)(),
|
|
106
|
+
(0, typeorm_1.Column)({ type: "bigint", nullable: true }),
|
|
107
|
+
__metadata("design:type", BigInt)
|
|
108
|
+
], WorkflowExecution.prototype, "requestedByUserId", void 0);
|
|
109
|
+
__decorate([
|
|
110
|
+
(0, typeorm_1.OneToMany)(() => workflow_step_execution_entity_1.WorkflowStepExecution, workflowStepExecution => workflowStepExecution.workflowExecution, { cascade: true }),
|
|
111
|
+
__metadata("design:type", Array)
|
|
112
|
+
], WorkflowExecution.prototype, "workflowStepExecutions", void 0);
|
|
113
|
+
__decorate([
|
|
114
|
+
(0, typeorm_1.OneToMany)(() => workflow_execution_log_entity_1.WorkflowExecutionLog, workflowExecutionLog => workflowExecutionLog.workflowExecution, { cascade: true }),
|
|
115
|
+
__metadata("design:type", Array)
|
|
116
|
+
], WorkflowExecution.prototype, "workflowExecutionLogs", void 0);
|
|
117
|
+
__decorate([
|
|
118
|
+
(0, typeorm_1.OneToMany)(() => workflow_execution_artifact_entity_1.WorkflowExecutionArtifact, workflowExecutionArtifact => workflowExecutionArtifact.workflowExecution, { cascade: true }),
|
|
119
|
+
__metadata("design:type", Array)
|
|
120
|
+
], WorkflowExecution.prototype, "workflowExecutionArtifacts", void 0);
|
|
121
|
+
exports.WorkflowExecution = WorkflowExecution = __decorate([
|
|
122
|
+
(0, typeorm_1.Entity)('ss_workflow_execution')
|
|
123
|
+
], WorkflowExecution);
|
|
124
|
+
//# sourceMappingURL=workflow-execution.entity.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"workflow-execution.entity.js","sourceRoot":"","sources":["../../src/entities/workflow-execution.entity.ts"],"names":[],"mappings":"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","sourcesContent":["import { CommonEntity } from 'src/entities/common.entity';\nimport { Entity, Column, Index, JoinColumn, ManyToOne, OneToMany } from 'typeorm';\nimport { WorkflowDefinition } from './workflow-definition.entity'\nimport { WorkflowStepExecution } from './workflow-step-execution.entity';\nimport { WorkflowExecutionLog } from './workflow-execution-log.entity';\nimport { WorkflowExecutionArtifact } from './workflow-execution-artifact.entity';\n\n@Entity('ss_workflow_execution')\nexport class WorkflowExecution extends CommonEntity {\n @Index({ unique: true })\n @Column({ type: \"varchar\" })\n executionIdentifier: string;\n\n @Index()\n @ManyToOne(() => WorkflowDefinition, { onDelete: \"CASCADE\", nullable: false })\n @JoinColumn()\n workflowDefinition: WorkflowDefinition;\n\n @Index()\n @Column({ type: \"varchar\" })\n workflowKey: string;\n\n @Column({ type: \"varchar\", nullable: true })\n workflowDisplayName: string;\n\n @Index()\n @Column({ type: \"varchar\", default: \"created\" })\n status: string = \"created\";\n\n @Index()\n @Column({ type: \"varchar\", default: \"manual\" })\n triggerType: string = \"manual\";\n\n @Index()\n @Column({ type: \"timestamp\", nullable: true })\n startedAt: Date;\n\n @Index()\n @Column({ type: \"timestamp\", nullable: true })\n finishedAt: Date;\n\n @Column({ type: \"bigint\", nullable: true })\n durationMs: bigint;\n\n @Column({ type: \"simple-json\", nullable: true })\n inputPayload: any;\n\n // Retained for schema/backward compatibility only. Combined workflow output\n // is no longer persisted here because large loops can make this payload\n // duplicate all step outputs and cause OOMs; use step execution outputs.\n @Column({ type: \"simple-json\", nullable: true })\n outputPayload: any;\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_snapshot\", type: \"text\", nullable: true})\n definitionSnapshot: string;\n\n @Column({ type: \"text\", nullable: true })\n errorSummary: string;\n\n @Column({ type: \"simple-json\", nullable: true })\n errorDetails: any;\n\n @Index()\n @Column({ type: \"bigint\", nullable: true })\n requestedByUserId: bigint;\n\n @OneToMany(() => WorkflowStepExecution, workflowStepExecution => workflowStepExecution.workflowExecution, { cascade: true })\n workflowStepExecutions: WorkflowStepExecution[];\n\n @OneToMany(() => WorkflowExecutionLog, workflowExecutionLog => workflowExecutionLog.workflowExecution, { cascade: true })\n workflowExecutionLogs: WorkflowExecutionLog[];\n\n @OneToMany(() => WorkflowExecutionArtifact, workflowExecutionArtifact => workflowExecutionArtifact.workflowExecution, { cascade: true })\n workflowExecutionArtifacts: WorkflowExecutionArtifact[];\n}\n"]}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { CommonEntity } from '../entities/common.entity';
|
|
2
|
+
export declare class WorkflowSecret extends CommonEntity {
|
|
3
|
+
key: string;
|
|
4
|
+
displayName: string;
|
|
5
|
+
description: string;
|
|
6
|
+
value: string;
|
|
7
|
+
valueType: string;
|
|
8
|
+
status: string;
|
|
9
|
+
lastRotatedAt: Date;
|
|
10
|
+
lastAccessedAt: Date;
|
|
11
|
+
}
|
|
12
|
+
//# sourceMappingURL=workflow-secret.entity.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"workflow-secret.entity.d.ts","sourceRoot":"","sources":["../../src/entities/workflow-secret.entity.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,4BAA4B,CAAC;AAG1D,qBACa,cAAe,SAAQ,YAAY;IAG5C,GAAG,EAAE,MAAM,CAAC;IAIZ,WAAW,EAAE,MAAM,CAAC;IAGpB,WAAW,EAAE,MAAM,CAAC;IAGpB,KAAK,EAAE,MAAM,CAAC;IAId,SAAS,EAAE,MAAM,CAAY;IAI7B,MAAM,EAAE,MAAM,CAAY;IAG1B,aAAa,EAAE,IAAI,CAAC;IAGpB,cAAc,EAAE,IAAI,CAAC;CACxB"}
|
|
@@ -0,0 +1,66 @@
|
|
|
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.WorkflowSecret = void 0;
|
|
13
|
+
const openapi = require("@nestjs/swagger");
|
|
14
|
+
const common_entity_1 = require("./common.entity");
|
|
15
|
+
const typeorm_1 = require("typeorm");
|
|
16
|
+
let WorkflowSecret = class WorkflowSecret extends common_entity_1.CommonEntity {
|
|
17
|
+
constructor() {
|
|
18
|
+
super(...arguments);
|
|
19
|
+
this.valueType = "string";
|
|
20
|
+
this.status = "active";
|
|
21
|
+
}
|
|
22
|
+
static _OPENAPI_METADATA_FACTORY() {
|
|
23
|
+
return { key: { required: true, type: () => String }, displayName: { required: true, type: () => String }, description: { required: true, type: () => String }, value: { required: true, type: () => String }, valueType: { required: true, type: () => String, default: "string" }, status: { required: true, type: () => String, default: "active" }, lastRotatedAt: { required: true, type: () => Date }, lastAccessedAt: { required: true, type: () => Date } };
|
|
24
|
+
}
|
|
25
|
+
};
|
|
26
|
+
exports.WorkflowSecret = WorkflowSecret;
|
|
27
|
+
__decorate([
|
|
28
|
+
(0, typeorm_1.Index)({ unique: true }),
|
|
29
|
+
(0, typeorm_1.Column)({ type: "varchar" }),
|
|
30
|
+
__metadata("design:type", String)
|
|
31
|
+
], WorkflowSecret.prototype, "key", void 0);
|
|
32
|
+
__decorate([
|
|
33
|
+
(0, typeorm_1.Index)(),
|
|
34
|
+
(0, typeorm_1.Column)({ type: "varchar" }),
|
|
35
|
+
__metadata("design:type", String)
|
|
36
|
+
], WorkflowSecret.prototype, "displayName", void 0);
|
|
37
|
+
__decorate([
|
|
38
|
+
(0, typeorm_1.Column)({ type: "text", nullable: true }),
|
|
39
|
+
__metadata("design:type", String)
|
|
40
|
+
], WorkflowSecret.prototype, "description", void 0);
|
|
41
|
+
__decorate([
|
|
42
|
+
(0, typeorm_1.Column)({ type: "text" }),
|
|
43
|
+
__metadata("design:type", String)
|
|
44
|
+
], WorkflowSecret.prototype, "value", void 0);
|
|
45
|
+
__decorate([
|
|
46
|
+
(0, typeorm_1.Index)(),
|
|
47
|
+
(0, typeorm_1.Column)({ type: "varchar", default: "string" }),
|
|
48
|
+
__metadata("design:type", String)
|
|
49
|
+
], WorkflowSecret.prototype, "valueType", void 0);
|
|
50
|
+
__decorate([
|
|
51
|
+
(0, typeorm_1.Index)(),
|
|
52
|
+
(0, typeorm_1.Column)({ type: "varchar", default: "active" }),
|
|
53
|
+
__metadata("design:type", String)
|
|
54
|
+
], WorkflowSecret.prototype, "status", void 0);
|
|
55
|
+
__decorate([
|
|
56
|
+
(0, typeorm_1.Column)({ type: "timestamp", nullable: true }),
|
|
57
|
+
__metadata("design:type", Date)
|
|
58
|
+
], WorkflowSecret.prototype, "lastRotatedAt", void 0);
|
|
59
|
+
__decorate([
|
|
60
|
+
(0, typeorm_1.Column)({ type: "timestamp", nullable: true }),
|
|
61
|
+
__metadata("design:type", Date)
|
|
62
|
+
], WorkflowSecret.prototype, "lastAccessedAt", void 0);
|
|
63
|
+
exports.WorkflowSecret = WorkflowSecret = __decorate([
|
|
64
|
+
(0, typeorm_1.Entity)('ss_workflow_secret')
|
|
65
|
+
], WorkflowSecret);
|
|
66
|
+
//# sourceMappingURL=workflow-secret.entity.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"workflow-secret.entity.js","sourceRoot":"","sources":["../../src/entities/workflow-secret.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;;AAAA,mDAA0D;AAC1D,qCAAgD;AAGzC,IAAM,cAAc,GAApB,MAAM,cAAe,SAAQ,4BAAY;IAAzC;;QAiBH,cAAS,GAAW,QAAQ,CAAC;QAI7B,WAAM,GAAW,QAAQ,CAAC;KAO7B;;;;CAAA,CAAA;AA5BY,wCAAc;AAGvB;IAFC,IAAA,eAAK,EAAC,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC;IACvB,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,SAAS,EAAE,CAAC;;2CAChB;AAIZ;IAFC,IAAA,eAAK,GAAE;IACP,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,SAAS,EAAE,CAAC;;mDACR;AAGpB;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;mDACrB;AAGpB;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;;6CACX;AAId;IAFC,IAAA,eAAK,GAAE;IACP,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,SAAS,EAAE,OAAO,EAAE,QAAQ,EAAE,CAAC;;iDAClB;AAI7B;IAFC,IAAA,eAAK,GAAE;IACP,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,SAAS,EAAE,OAAO,EAAE,QAAQ,EAAE,CAAC;;8CACrB;AAG1B;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,WAAW,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;8BAC/B,IAAI;qDAAC;AAGpB;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,WAAW,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;8BAC9B,IAAI;sDAAC;yBA3BZ,cAAc;IAD1B,IAAA,gBAAM,EAAC,oBAAoB,CAAC;GAChB,cAAc,CA4B1B","sourcesContent":["import { CommonEntity } from 'src/entities/common.entity';\nimport { Entity, Column, Index } from 'typeorm';\n\n@Entity('ss_workflow_secret')\nexport class WorkflowSecret extends CommonEntity {\n @Index({ unique: true })\n @Column({ type: \"varchar\" })\n key: string;\n\n @Index()\n @Column({ type: \"varchar\" })\n displayName: string;\n\n @Column({ type: \"text\", nullable: true })\n description: string;\n\n @Column({ type: \"text\" })\n value: string;\n\n @Index()\n @Column({ type: \"varchar\", default: \"string\" })\n valueType: string = \"string\";\n\n @Index()\n @Column({ type: \"varchar\", default: \"active\" })\n status: string = \"active\";\n\n @Column({ type: \"timestamp\", nullable: true })\n lastRotatedAt: Date;\n\n @Column({ type: \"timestamp\", nullable: true })\n lastAccessedAt: Date;\n}\n"]}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { CommonEntity } from '../entities/common.entity';
|
|
2
|
+
import { WorkflowExecution } from './workflow-execution.entity';
|
|
3
|
+
export declare class WorkflowStepExecution extends CommonEntity {
|
|
4
|
+
stepExecutionKey: string;
|
|
5
|
+
workflowExecution: WorkflowExecution;
|
|
6
|
+
nodeId: string;
|
|
7
|
+
nodeName: string;
|
|
8
|
+
nodeKind: string;
|
|
9
|
+
nodeType: string;
|
|
10
|
+
status: string;
|
|
11
|
+
attemptNumber: number;
|
|
12
|
+
retryCount: number;
|
|
13
|
+
maxRetries: number;
|
|
14
|
+
parentNodeId: string;
|
|
15
|
+
parentStepExecutionKey: string;
|
|
16
|
+
sequenceNumber: number;
|
|
17
|
+
startedAt: Date;
|
|
18
|
+
finishedAt: Date;
|
|
19
|
+
durationMs: bigint;
|
|
20
|
+
timeoutMs: bigint;
|
|
21
|
+
inputPayload: any;
|
|
22
|
+
outputPayload: any;
|
|
23
|
+
runtimeContext: any;
|
|
24
|
+
nodeSnapshot: any;
|
|
25
|
+
errorSummary: string;
|
|
26
|
+
errorDetails: any;
|
|
27
|
+
}
|
|
28
|
+
//# sourceMappingURL=workflow-step-execution.entity.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"workflow-step-execution.entity.d.ts","sourceRoot":"","sources":["../../src/entities/workflow-step-execution.entity.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,4BAA4B,CAAC;AAE1D,OAAO,EAAE,iBAAiB,EAAE,MAAM,6BAA6B,CAAA;AAE/D,qBACa,qBAAsB,SAAQ,YAAY;IAGnD,gBAAgB,EAAE,MAAM,CAAC;IAKzB,iBAAiB,EAAE,iBAAiB,CAAC;IAIrC,MAAM,EAAE,MAAM,CAAC;IAGf,QAAQ,EAAE,MAAM,CAAC;IAIjB,QAAQ,EAAE,MAAM,CAAU;IAI1B,QAAQ,EAAE,MAAM,CAAC;IAIjB,MAAM,EAAE,MAAM,CAAa;IAI3B,aAAa,EAAE,MAAM,CAAK;IAG1B,UAAU,EAAE,MAAM,CAAK;IAGvB,UAAU,EAAE,MAAM,CAAC;IAInB,YAAY,EAAE,MAAM,CAAC;IAIrB,sBAAsB,EAAE,MAAM,CAAC;IAI/B,cAAc,EAAE,MAAM,CAAC;IAIvB,SAAS,EAAE,IAAI,CAAC;IAIhB,UAAU,EAAE,IAAI,CAAC;IAGjB,UAAU,EAAE,MAAM,CAAC;IAGnB,SAAS,EAAE,MAAM,CAAC;IAGlB,YAAY,EAAE,GAAG,CAAC;IAGlB,aAAa,EAAE,GAAG,CAAC;IAGnB,cAAc,EAAE,GAAG,CAAC;IAGpB,YAAY,EAAE,GAAG,CAAC;IAGlB,YAAY,EAAE,MAAM,CAAC;IAGrB,YAAY,EAAE,GAAG,CAAC;CACrB"}
|