n8n 1.73.1 → 1.74.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE.md +5 -3
- package/dist/abstract-server.d.ts +1 -1
- package/dist/abstract-server.js +12 -12
- package/dist/abstract-server.js.map +1 -1
- package/dist/activation-errors.service.js +2 -2
- package/dist/activation-errors.service.js.map +1 -1
- package/dist/active-executions.d.ts +1 -1
- package/dist/active-executions.js +4 -4
- package/dist/active-executions.js.map +1 -1
- package/dist/active-workflow-manager.d.ts +1 -2
- package/dist/active-workflow-manager.js +3 -4
- package/dist/active-workflow-manager.js.map +1 -1
- package/dist/auth/auth.service.d.ts +1 -1
- package/dist/auth/auth.service.js +5 -38
- package/dist/auth/auth.service.js.map +1 -1
- package/dist/auth/jwt.js +2 -2
- package/dist/auth/jwt.js.map +1 -1
- package/dist/auth/methods/email.js +5 -5
- package/dist/auth/methods/email.js.map +1 -1
- package/dist/auth/methods/ldap.js +5 -5
- package/dist/auth/methods/ldap.js.map +1 -1
- package/dist/build.tsbuildinfo +1 -1
- package/dist/collaboration/collaboration.service.js +3 -3
- package/dist/collaboration/collaboration.service.js.map +1 -1
- package/dist/collaboration/collaboration.state.js +2 -2
- package/dist/collaboration/collaboration.state.js.map +1 -1
- package/dist/commands/audit.js +3 -3
- package/dist/commands/audit.js.map +1 -1
- package/dist/commands/base-command.d.ts +1 -2
- package/dist/commands/base-command.js +23 -24
- package/dist/commands/base-command.js.map +1 -1
- package/dist/commands/db/revert.d.ts +1 -1
- package/dist/commands/db/revert.js +3 -3
- package/dist/commands/db/revert.js.map +1 -1
- package/dist/commands/execute-batch.js +6 -6
- package/dist/commands/execute-batch.js.map +1 -1
- package/dist/commands/execute.js +5 -5
- package/dist/commands/execute.js.map +1 -1
- package/dist/commands/export/credentials.js +2 -2
- package/dist/commands/export/credentials.js.map +1 -1
- package/dist/commands/export/workflow.js +2 -2
- package/dist/commands/export/workflow.js.map +1 -1
- package/dist/commands/import/credentials.js +3 -3
- package/dist/commands/import/credentials.js.map +1 -1
- package/dist/commands/import/workflow.js +10 -10
- package/dist/commands/import/workflow.js.map +1 -1
- package/dist/commands/ldap/reset.js +20 -23
- package/dist/commands/ldap/reset.js.map +1 -1
- package/dist/commands/license/clear.js +3 -3
- package/dist/commands/license/clear.js.map +1 -1
- package/dist/commands/license/info.js +2 -2
- package/dist/commands/license/info.js.map +1 -1
- package/dist/commands/list/workflow.js +2 -5
- package/dist/commands/list/workflow.js.map +1 -1
- package/dist/commands/mfa/disable.js +2 -5
- package/dist/commands/mfa/disable.js.map +1 -1
- package/dist/commands/start.js +25 -25
- package/dist/commands/start.js.map +1 -1
- package/dist/commands/update/workflow.js +4 -4
- package/dist/commands/update/workflow.js.map +1 -1
- package/dist/commands/user-management/reset.js +13 -13
- package/dist/commands/user-management/reset.js.map +1 -1
- package/dist/commands/webhook.js +7 -7
- package/dist/commands/webhook.js.map +1 -1
- package/dist/commands/worker.js +12 -13
- package/dist/commands/worker.js.map +1 -1
- package/dist/concurrency/concurrency-control.service.d.ts +1 -1
- package/dist/concurrency/concurrency-control.service.js +4 -4
- package/dist/concurrency/concurrency-control.service.js.map +1 -1
- package/dist/concurrency/concurrency-queue.js +2 -2
- package/dist/concurrency/concurrency-queue.js.map +1 -1
- package/dist/config/index.d.ts +0 -3
- package/dist/config/index.js +14 -9
- package/dist/config/index.js.map +1 -1
- package/dist/config/schema.d.ts +0 -8
- package/dist/config/schema.js +3 -11
- package/dist/config/schema.js.map +1 -1
- package/dist/constants.d.ts +5 -0
- package/dist/constants.js +14 -1
- package/dist/constants.js.map +1 -1
- package/dist/controllers/ai.controller.d.ts +22 -8
- package/dist/controllers/ai.controller.js +57 -11
- package/dist/controllers/ai.controller.js.map +1 -1
- package/dist/controllers/auth.controller.d.ts +5 -4
- package/dist/controllers/auth.controller.js +14 -29
- package/dist/controllers/auth.controller.js.map +1 -1
- package/dist/controllers/community-packages.controller.js +30 -15
- package/dist/controllers/community-packages.controller.js.map +1 -1
- package/dist/controllers/dynamic-node-parameters.controller.d.ts +7 -5
- package/dist/controllers/dynamic-node-parameters.controller.js +38 -21
- package/dist/controllers/dynamic-node-parameters.controller.js.map +1 -1
- package/dist/controllers/invitation.controller.d.ts +5 -4
- package/dist/controllers/invitation.controller.js +21 -40
- package/dist/controllers/invitation.controller.js.map +1 -1
- package/dist/controllers/me.controller.d.ts +1 -1
- package/dist/controllers/me.controller.js +8 -8
- package/dist/controllers/me.controller.js.map +1 -1
- package/dist/controllers/oauth/abstract-oauth.controller.d.ts +1 -1
- package/dist/controllers/oauth/abstract-oauth.controller.js +3 -4
- package/dist/controllers/oauth/abstract-oauth.controller.js.map +1 -1
- package/dist/controllers/owner.controller.d.ts +6 -5
- package/dist/controllers/owner.controller.js +17 -21
- package/dist/controllers/owner.controller.js.map +1 -1
- package/dist/controllers/password-reset.controller.d.ts +6 -5
- package/dist/controllers/password-reset.controller.js +19 -37
- package/dist/controllers/password-reset.controller.js.map +1 -1
- package/dist/controllers/project.controller.d.ts +3 -1
- package/dist/controllers/project.controller.js +8 -7
- package/dist/controllers/project.controller.js.map +1 -1
- package/dist/controllers/users.controller.d.ts +2 -2
- package/dist/controllers/users.controller.js +6 -7
- package/dist/controllers/users.controller.js.map +1 -1
- package/dist/controllers/workflow-statistics.controller.d.ts +1 -1
- package/dist/controllers/workflow-statistics.controller.js +2 -2
- package/dist/controllers/workflow-statistics.controller.js.map +1 -1
- package/dist/crash-journal.js +3 -4
- package/dist/crash-journal.js.map +1 -1
- package/dist/credential-types.js +2 -2
- package/dist/credential-types.js.map +1 -1
- package/dist/credentials/credentials.controller.d.ts +8 -3
- package/dist/credentials/credentials.controller.js +26 -17
- package/dist/credentials/credentials.controller.js.map +1 -1
- package/dist/credentials/credentials.service.d.ts +22 -6
- package/dist/credentials/credentials.service.ee.d.ts +3 -1
- package/dist/credentials/credentials.service.ee.js +5 -5
- package/dist/credentials/credentials.service.ee.js.map +1 -1
- package/dist/credentials/credentials.service.js +56 -25
- package/dist/credentials/credentials.service.js.map +1 -1
- package/dist/credentials-helper.js +2 -2
- package/dist/credentials-helper.js.map +1 -1
- package/dist/credentials-overwrites.d.ts +1 -1
- package/dist/credentials-overwrites.js +4 -4
- package/dist/credentials-overwrites.js.map +1 -1
- package/dist/databases/config.js +7 -7
- package/dist/databases/config.js.map +1 -1
- package/dist/databases/entities/abstract-entity.js +2 -2
- package/dist/databases/entities/abstract-entity.js.map +1 -1
- package/dist/databases/entities/credentials-entity.d.ts +1 -0
- package/dist/databases/entities/credentials-entity.js +4 -0
- package/dist/databases/entities/credentials-entity.js.map +1 -1
- package/dist/databases/entities/project.d.ts +5 -0
- package/dist/databases/entities/project.js +4 -0
- package/dist/databases/entities/project.js.map +1 -1
- package/dist/databases/entities/test-definition.ee.d.ts +2 -1
- package/dist/databases/entities/test-definition.ee.js.map +1 -1
- package/dist/databases/entities/test-run.ee.d.ts +3 -0
- package/dist/databases/entities/test-run.ee.js +12 -0
- package/dist/databases/entities/test-run.ee.js.map +1 -1
- package/dist/databases/entities/user.js +1 -1
- package/dist/databases/entities/user.js.map +1 -1
- package/dist/databases/migrations/common/1659888469333-AddJsonKeyPinData.js +2 -2
- package/dist/databases/migrations/common/1659888469333-AddJsonKeyPinData.js.map +1 -1
- package/dist/databases/migrations/common/1674509946020-CreateLdapEntities.js +1 -1
- package/dist/databases/migrations/common/1674509946020-CreateLdapEntities.js.map +1 -1
- package/dist/databases/migrations/common/1711390882123-MoveSshKeysToDatabase.js +3 -3
- package/dist/databases/migrations/common/1711390882123-MoveSshKeysToDatabase.js.map +1 -1
- package/dist/databases/migrations/common/1729607673469-AddProjectIcons.d.ts +5 -0
- package/dist/databases/migrations/common/1729607673469-AddProjectIcons.js +13 -0
- package/dist/databases/migrations/common/1729607673469-AddProjectIcons.js.map +1 -0
- package/dist/databases/migrations/common/1733133775640-AddMockedNodesColumnToTestDefinition.js +1 -1
- package/dist/databases/migrations/common/1733133775640-AddMockedNodesColumnToTestDefinition.js.map +1 -1
- package/dist/databases/migrations/common/1734479635324-AddManagedColumnToCredentialsTable.d.ts +5 -0
- package/dist/databases/migrations/common/1734479635324-AddManagedColumnToCredentialsTable.js +18 -0
- package/dist/databases/migrations/common/1734479635324-AddManagedColumnToCredentialsTable.js.map +1 -0
- package/dist/databases/migrations/common/1736172058779-AddStatsColumnsToTestRun.d.ts +5 -0
- package/dist/databases/migrations/common/1736172058779-AddStatsColumnsToTestRun.js +28 -0
- package/dist/databases/migrations/common/1736172058779-AddStatsColumnsToTestRun.js.map +1 -0
- package/dist/databases/migrations/mysqldb/index.js +6 -0
- package/dist/databases/migrations/mysqldb/index.js.map +1 -1
- package/dist/databases/migrations/postgresdb/index.js +6 -0
- package/dist/databases/migrations/postgresdb/index.js.map +1 -1
- package/dist/databases/migrations/sqlite/1690000000002-MigrateIntegerKeysToString.js +2 -2
- package/dist/databases/migrations/sqlite/1690000000002-MigrateIntegerKeysToString.js.map +1 -1
- package/dist/databases/migrations/sqlite/1729607673469-AddProjectIcons.d.ts +4 -0
- package/dist/databases/migrations/sqlite/1729607673469-AddProjectIcons.js +12 -0
- package/dist/databases/migrations/sqlite/1729607673469-AddProjectIcons.js.map +1 -0
- package/dist/databases/migrations/sqlite/index.js +6 -0
- package/dist/databases/migrations/sqlite/index.js.map +1 -1
- package/dist/databases/repositories/annotation-tag-mapping.repository.ee.js +2 -2
- package/dist/databases/repositories/annotation-tag-mapping.repository.ee.js.map +1 -1
- package/dist/databases/repositories/annotation-tag.repository.ee.js +2 -2
- package/dist/databases/repositories/annotation-tag.repository.ee.js.map +1 -1
- package/dist/databases/repositories/api-key.repository.js +2 -2
- package/dist/databases/repositories/api-key.repository.js.map +1 -1
- package/dist/databases/repositories/auth-identity.repository.js +2 -2
- package/dist/databases/repositories/auth-identity.repository.js.map +1 -1
- package/dist/databases/repositories/auth-provider-sync-history.repository.js +2 -2
- package/dist/databases/repositories/auth-provider-sync-history.repository.js.map +1 -1
- package/dist/databases/repositories/auth-user.repository.js +2 -2
- package/dist/databases/repositories/auth-user.repository.js.map +1 -1
- package/dist/databases/repositories/credentials.repository.d.ts +3 -1
- package/dist/databases/repositories/credentials.repository.js +11 -3
- package/dist/databases/repositories/credentials.repository.js.map +1 -1
- package/dist/databases/repositories/event-destinations.repository.js +2 -2
- package/dist/databases/repositories/event-destinations.repository.js.map +1 -1
- package/dist/databases/repositories/execution-annotation.repository.js +2 -2
- package/dist/databases/repositories/execution-annotation.repository.js.map +1 -1
- package/dist/databases/repositories/execution-data.repository.js +2 -2
- package/dist/databases/repositories/execution-data.repository.js.map +1 -1
- package/dist/databases/repositories/execution-metadata.repository.js +2 -2
- package/dist/databases/repositories/execution-metadata.repository.js.map +1 -1
- package/dist/databases/repositories/execution.repository.d.ts +1 -2
- package/dist/databases/repositories/execution.repository.js +3 -4
- package/dist/databases/repositories/execution.repository.js.map +1 -1
- package/dist/databases/repositories/installed-nodes.repository.js +2 -2
- package/dist/databases/repositories/installed-nodes.repository.js.map +1 -1
- package/dist/databases/repositories/installed-packages.repository.js +2 -2
- package/dist/databases/repositories/installed-packages.repository.js.map +1 -1
- package/dist/databases/repositories/invalid-auth-token.repository.js +2 -2
- package/dist/databases/repositories/invalid-auth-token.repository.js.map +1 -1
- package/dist/databases/repositories/license-metrics.repository.js +2 -2
- package/dist/databases/repositories/license-metrics.repository.js.map +1 -1
- package/dist/databases/repositories/processed-data.repository.js +2 -2
- package/dist/databases/repositories/processed-data.repository.js.map +1 -1
- package/dist/databases/repositories/project-relation.repository.js +2 -2
- package/dist/databases/repositories/project-relation.repository.js.map +1 -1
- package/dist/databases/repositories/project.repository.js +2 -2
- package/dist/databases/repositories/project.repository.js.map +1 -1
- package/dist/databases/repositories/settings.repository.js +3 -3
- package/dist/databases/repositories/settings.repository.js.map +1 -1
- package/dist/databases/repositories/shared-credentials.repository.js +2 -2
- package/dist/databases/repositories/shared-credentials.repository.js.map +1 -1
- package/dist/databases/repositories/shared-workflow.repository.js +2 -2
- package/dist/databases/repositories/shared-workflow.repository.js.map +1 -1
- package/dist/databases/repositories/tag.repository.js +2 -2
- package/dist/databases/repositories/tag.repository.js.map +1 -1
- package/dist/databases/repositories/test-definition.repository.ee.js +2 -2
- package/dist/databases/repositories/test-definition.repository.ee.js.map +1 -1
- package/dist/databases/repositories/test-metric.repository.ee.js +2 -2
- package/dist/databases/repositories/test-metric.repository.ee.js.map +1 -1
- package/dist/databases/repositories/test-run.repository.ee.d.ts +3 -1
- package/dist/databases/repositories/test-run.repository.ee.js +16 -4
- package/dist/databases/repositories/test-run.repository.ee.js.map +1 -1
- package/dist/databases/repositories/user.repository.js +2 -2
- package/dist/databases/repositories/user.repository.js.map +1 -1
- package/dist/databases/repositories/variables.repository.js +2 -2
- package/dist/databases/repositories/variables.repository.js.map +1 -1
- package/dist/databases/repositories/webhook.repository.js +2 -2
- package/dist/databases/repositories/webhook.repository.js.map +1 -1
- package/dist/databases/repositories/workflow-history.repository.js +2 -2
- package/dist/databases/repositories/workflow-history.repository.js.map +1 -1
- package/dist/databases/repositories/workflow-statistics.repository.js +2 -2
- package/dist/databases/repositories/workflow-statistics.repository.js.map +1 -1
- package/dist/databases/repositories/workflow-tag-mapping.repository.js +2 -2
- package/dist/databases/repositories/workflow-tag-mapping.repository.js.map +1 -1
- package/dist/databases/repositories/workflow.repository.js +2 -2
- package/dist/databases/repositories/workflow.repository.js.map +1 -1
- package/dist/databases/subscribers/user-subscriber.js +5 -6
- package/dist/databases/subscribers/user-subscriber.js.map +1 -1
- package/dist/databases/types.d.ts +1 -1
- package/dist/databases/types.js.map +1 -1
- package/dist/databases/utils/migration-helpers.js +7 -8
- package/dist/databases/utils/migration-helpers.js.map +1 -1
- package/dist/databases/utils/transformers.js +2 -2
- package/dist/databases/utils/transformers.js.map +1 -1
- package/dist/db.js +3 -3
- package/dist/db.js.map +1 -1
- package/dist/decorators/controller.registry.js +5 -5
- package/dist/decorators/controller.registry.js.map +1 -1
- package/dist/decorators/index.d.ts +1 -1
- package/dist/decorators/index.js +3 -1
- package/dist/decorators/index.js.map +1 -1
- package/dist/decorators/on-shutdown.js +2 -2
- package/dist/decorators/on-shutdown.js.map +1 -1
- package/dist/decorators/rest-controller.js +2 -2
- package/dist/decorators/rest-controller.js.map +1 -1
- package/dist/decorators/types.d.ts +2 -2
- package/dist/deduplication/deduplication-helper.js +10 -10
- package/dist/deduplication/deduplication-helper.js.map +1 -1
- package/dist/deprecation/deprecation.service.d.ts +1 -1
- package/dist/deprecation/deprecation.service.js +4 -4
- package/dist/deprecation/deprecation.service.js.map +1 -1
- package/dist/environments.ee/source-control/constants.js.map +1 -0
- package/dist/{environments → environments.ee}/source-control/middleware/source-control-enabled-middleware.ee.js +2 -2
- package/dist/environments.ee/source-control/middleware/source-control-enabled-middleware.ee.js.map +1 -0
- package/dist/{environments → environments.ee}/source-control/source-control-export.service.ee.d.ts +1 -2
- package/dist/{environments → environments.ee}/source-control/source-control-export.service.ee.js +7 -41
- package/dist/environments.ee/source-control/source-control-export.service.ee.js.map +1 -0
- package/dist/{environments → environments.ee}/source-control/source-control-git.service.ee.d.ts +1 -1
- package/dist/{environments → environments.ee}/source-control/source-control-git.service.ee.js +4 -4
- package/dist/environments.ee/source-control/source-control-git.service.ee.js.map +1 -0
- package/dist/{environments → environments.ee}/source-control/source-control-helper.ee.js +4 -4
- package/dist/environments.ee/source-control/source-control-helper.ee.js.map +1 -0
- package/dist/{environments → environments.ee}/source-control/source-control-import.service.ee.d.ts +1 -2
- package/dist/{environments → environments.ee}/source-control/source-control-import.service.ee.js +25 -26
- package/dist/environments.ee/source-control/source-control-import.service.ee.js.map +1 -0
- package/dist/{environments → environments.ee}/source-control/source-control-preferences.service.ee.d.ts +1 -2
- package/dist/{environments → environments.ee}/source-control/source-control-preferences.service.ee.js +8 -42
- package/dist/environments.ee/source-control/source-control-preferences.service.ee.js.map +1 -0
- package/dist/environments.ee/source-control/source-control.controller.ee.js.map +1 -0
- package/dist/{environments → environments.ee}/source-control/source-control.service.ee.d.ts +1 -1
- package/dist/{environments → environments.ee}/source-control/source-control.service.ee.js +4 -4
- package/dist/environments.ee/source-control/source-control.service.ee.js.map +1 -0
- package/dist/environments.ee/source-control/types/export-result.js.map +1 -0
- package/dist/environments.ee/source-control/types/exportable-credential.js.map +1 -0
- package/dist/environments.ee/source-control/types/exportable-workflow.js.map +1 -0
- package/dist/environments.ee/source-control/types/import-result.js.map +1 -0
- package/dist/environments.ee/source-control/types/key-pair-type.js.map +1 -0
- package/dist/environments.ee/source-control/types/key-pair.js.map +1 -0
- package/dist/environments.ee/source-control/types/requests.js.map +1 -0
- package/dist/environments.ee/source-control/types/resource-owner.js.map +1 -0
- package/dist/environments.ee/source-control/types/source-control-commit.js.map +1 -0
- package/dist/environments.ee/source-control/types/source-control-disconnect.js.map +1 -0
- package/dist/environments.ee/source-control/types/source-control-generate-key-pair.js.map +1 -0
- package/dist/environments.ee/source-control/types/source-control-get-status.js.map +1 -0
- package/dist/environments.ee/source-control/types/source-control-preferences.js.map +1 -0
- package/dist/environments.ee/source-control/types/source-control-pull-work-folder.js.map +1 -0
- package/dist/environments.ee/source-control/types/source-control-push-work-folder.js.map +1 -0
- package/dist/environments.ee/source-control/types/source-control-push.js.map +1 -0
- package/dist/environments.ee/source-control/types/source-control-set-branch.js.map +1 -0
- package/dist/environments.ee/source-control/types/source-control-set-read-only.js.map +1 -0
- package/dist/environments.ee/source-control/types/source-control-stage.js.map +1 -0
- package/dist/environments.ee/source-control/types/source-control-workflow-version-id.js.map +1 -0
- package/dist/environments.ee/source-control/types/source-controlled-file.js.map +1 -0
- package/dist/{environments → environments.ee}/variables/environment-helpers.js +4 -4
- package/dist/environments.ee/variables/environment-helpers.js.map +1 -0
- package/dist/{environments → environments.ee}/variables/variables.controller.ee.js +1 -2
- package/dist/environments.ee/variables/variables.controller.ee.js.map +1 -0
- package/dist/{environments → environments.ee}/variables/variables.service.ee.js +3 -3
- package/dist/environments.ee/variables/variables.service.ee.js.map +1 -0
- package/dist/errors/feature-not-licensed.error.js +1 -1
- package/dist/errors/feature-not-licensed.error.js.map +1 -1
- package/dist/evaluation.ee/metric.schema.js.map +1 -0
- package/dist/{evaluation → evaluation.ee}/metrics.controller.js +1 -1
- package/dist/evaluation.ee/metrics.controller.js.map +1 -0
- package/dist/{evaluation → evaluation.ee}/test-definition.schema.d.ts +5 -0
- package/dist/{evaluation → evaluation.ee}/test-definition.schema.js +1 -1
- package/dist/evaluation.ee/test-definition.schema.js.map +1 -0
- package/dist/{evaluation → evaluation.ee}/test-definition.service.ee.js +12 -5
- package/dist/evaluation.ee/test-definition.service.ee.js.map +1 -0
- package/dist/{evaluation → evaluation.ee}/test-definitions.controller.ee.d.ts +1 -1
- package/dist/{evaluation → evaluation.ee}/test-definitions.controller.ee.js +2 -2
- package/dist/evaluation.ee/test-definitions.controller.ee.js.map +1 -0
- package/dist/evaluation.ee/test-definitions.types.ee.js.map +1 -0
- package/dist/evaluation.ee/test-runner/evaluation-metrics.ee.js.map +1 -0
- package/dist/{evaluation → evaluation.ee}/test-runner/test-runner.service.ee.d.ts +3 -1
- package/dist/{evaluation → evaluation.ee}/test-runner/test-runner.service.ee.js +43 -22
- package/dist/evaluation.ee/test-runner/test-runner.service.ee.js.map +1 -0
- package/dist/{evaluation → evaluation.ee}/test-runner/utils.ee.d.ts +2 -2
- package/dist/evaluation.ee/test-runner/utils.ee.js +37 -0
- package/dist/evaluation.ee/test-runner/utils.ee.js.map +1 -0
- package/dist/{evaluation → evaluation.ee}/test-runs.controller.ee.d.ts +1 -1
- package/dist/evaluation.ee/test-runs.controller.ee.js.map +1 -0
- package/dist/eventbus/message-event-bus/message-event-bus.d.ts +1 -1
- package/dist/eventbus/message-event-bus/message-event-bus.js +4 -4
- package/dist/eventbus/message-event-bus/message-event-bus.js.map +1 -1
- package/dist/eventbus/message-event-bus-destination/message-event-bus-destination-from-db.js +3 -3
- package/dist/eventbus/message-event-bus-destination/message-event-bus-destination-from-db.js.map +1 -1
- package/dist/eventbus/message-event-bus-destination/message-event-bus-destination-syslog.ee.js +3 -3
- package/dist/eventbus/message-event-bus-destination/message-event-bus-destination-syslog.ee.js.map +1 -1
- package/dist/eventbus/message-event-bus-destination/message-event-bus-destination-webhook.ee.js +3 -3
- package/dist/eventbus/message-event-bus-destination/message-event-bus-destination-webhook.ee.js.map +1 -1
- package/dist/eventbus/message-event-bus-destination/message-event-bus-destination.ee.d.ts +1 -1
- package/dist/eventbus/message-event-bus-destination/message-event-bus-destination.ee.js +6 -6
- package/dist/eventbus/message-event-bus-destination/message-event-bus-destination.ee.js.map +1 -1
- package/dist/eventbus/message-event-bus-writer/message-event-bus-log-writer.js +6 -7
- package/dist/eventbus/message-event-bus-writer/message-event-bus-log-writer.js.map +1 -1
- package/dist/events/event.service.js +2 -2
- package/dist/events/event.service.js.map +1 -1
- package/dist/events/maps/pub-sub.event-map.d.ts +2 -4
- package/dist/events/relays/event-relay.js +2 -2
- package/dist/events/relays/event-relay.js.map +1 -1
- package/dist/events/relays/log-streaming.event-relay.js +2 -2
- package/dist/events/relays/log-streaming.event-relay.js.map +1 -1
- package/dist/events/relays/telemetry.event-relay.d.ts +3 -1
- package/dist/events/relays/telemetry.event-relay.js +22 -4
- package/dist/events/relays/telemetry.event-relay.js.map +1 -1
- package/dist/execution-lifecycle-hooks/restore-binary-data-id.js +3 -4
- package/dist/execution-lifecycle-hooks/restore-binary-data-id.js.map +1 -1
- package/dist/execution-lifecycle-hooks/save-execution-progress.js +5 -6
- package/dist/execution-lifecycle-hooks/save-execution-progress.js.map +1 -1
- package/dist/execution-lifecycle-hooks/shared/shared-hook-functions.js +6 -6
- package/dist/execution-lifecycle-hooks/shared/shared-hook-functions.js.map +1 -1
- package/dist/executions/execution-recovery.service.d.ts +1 -2
- package/dist/executions/execution-recovery.service.js +4 -5
- package/dist/executions/execution-recovery.service.js.map +1 -1
- package/dist/executions/execution.service.d.ts +1 -1
- package/dist/executions/execution.service.ee.js +2 -2
- package/dist/executions/execution.service.ee.js.map +1 -1
- package/dist/executions/execution.service.js +4 -50
- package/dist/executions/execution.service.js.map +1 -1
- package/dist/expression-evaluator.js +2 -2
- package/dist/expression-evaluator.js.map +1 -1
- package/dist/external-hooks.js +2 -2
- package/dist/external-hooks.js.map +1 -1
- package/dist/external-secrets.ee/constants.js.map +1 -0
- package/dist/external-secrets.ee/external-secrets-helper.ee.js +16 -0
- package/dist/external-secrets.ee/external-secrets-helper.ee.js.map +1 -0
- package/dist/{external-secrets → external-secrets.ee}/external-secrets-manager.ee.d.ts +1 -2
- package/dist/{external-secrets → external-secrets.ee}/external-secrets-manager.ee.js +3 -4
- package/dist/external-secrets.ee/external-secrets-manager.ee.js.map +1 -0
- package/dist/{external-secrets → external-secrets.ee}/external-secrets-providers.ee.js +2 -2
- package/dist/external-secrets.ee/external-secrets-providers.ee.js.map +1 -0
- package/dist/external-secrets.ee/external-secrets.controller.ee.js.map +1 -0
- package/dist/{external-secrets → external-secrets.ee}/external-secrets.service.ee.js +13 -46
- package/dist/external-secrets.ee/external-secrets.service.ee.js.map +1 -0
- package/dist/external-secrets.ee/providers/aws-secrets/aws-secrets-client.js.map +1 -0
- package/dist/{external-secrets → external-secrets.ee}/providers/aws-secrets/aws-secrets-manager.d.ts +1 -1
- package/dist/{external-secrets → external-secrets.ee}/providers/aws-secrets/aws-secrets-manager.js +4 -7
- package/dist/external-secrets.ee/providers/aws-secrets/aws-secrets-manager.js.map +1 -0
- package/dist/external-secrets.ee/providers/aws-secrets/types.js.map +1 -0
- package/dist/{external-secrets → external-secrets.ee}/providers/azure-key-vault/azure-key-vault.d.ts +1 -1
- package/dist/{external-secrets → external-secrets.ee}/providers/azure-key-vault/azure-key-vault.js +4 -7
- package/dist/external-secrets.ee/providers/azure-key-vault/azure-key-vault.js.map +1 -0
- package/dist/external-secrets.ee/providers/azure-key-vault/types.js.map +1 -0
- package/dist/{external-secrets → external-secrets.ee}/providers/gcp-secrets-manager/gcp-secrets-manager.d.ts +1 -1
- package/dist/{external-secrets → external-secrets.ee}/providers/gcp-secrets-manager/gcp-secrets-manager.js +4 -7
- package/dist/external-secrets.ee/providers/gcp-secrets-manager/gcp-secrets-manager.js.map +1 -0
- package/dist/external-secrets.ee/providers/gcp-secrets-manager/types.js.map +1 -0
- package/dist/external-secrets.ee/providers/infisical.js.map +1 -0
- package/dist/{external-secrets → external-secrets.ee}/providers/vault.d.ts +1 -1
- package/dist/{external-secrets → external-secrets.ee}/providers/vault.js +3 -3
- package/dist/external-secrets.ee/providers/vault.js.map +1 -0
- package/dist/help.js +3 -6
- package/dist/help.js.map +1 -1
- package/dist/ldap.ee/constants.js.map +1 -0
- package/dist/{ldap → ldap.ee}/helpers.ee.js +14 -14
- package/dist/ldap.ee/helpers.ee.js.map +1 -0
- package/dist/ldap.ee/ldap.controller.ee.js.map +1 -0
- package/dist/{ldap → ldap.ee}/ldap.service.ee.d.ts +1 -2
- package/dist/{ldap → ldap.ee}/ldap.service.ee.js +4 -5
- package/dist/ldap.ee/ldap.service.ee.js.map +1 -0
- package/dist/{logging → ldap.ee}/types.js.map +1 -1
- package/dist/license/license.service.d.ts +1 -1
- package/dist/license/license.service.js +4 -4
- package/dist/license/license.service.js.map +1 -1
- package/dist/license.d.ts +3 -2
- package/dist/license.js +11 -6
- package/dist/license.js.map +1 -1
- package/dist/load-nodes-and-credentials.d.ts +1 -2
- package/dist/load-nodes-and-credentials.js +5 -6
- package/dist/load-nodes-and-credentials.js.map +1 -1
- package/dist/manual-execution.service.d.ts +1 -1
- package/dist/manual-execution.service.js +3 -4
- package/dist/manual-execution.service.js.map +1 -1
- package/dist/metrics/license-metrics.service.js +2 -2
- package/dist/metrics/license-metrics.service.js.map +1 -1
- package/dist/metrics/prometheus-metrics.service.js +2 -2
- package/dist/metrics/prometheus-metrics.service.js.map +1 -1
- package/dist/mfa/helpers.js +2 -2
- package/dist/mfa/helpers.js.map +1 -1
- package/dist/mfa/mfa.service.js +2 -2
- package/dist/mfa/mfa.service.js.map +1 -1
- package/dist/mfa/totp.service.js +2 -2
- package/dist/mfa/totp.service.js.map +1 -1
- package/dist/middlewares/body-parser.js +2 -2
- package/dist/middlewares/body-parser.js.map +1 -1
- package/dist/middlewares/list-query/dtos/base.filter.dto.js +2 -2
- package/dist/middlewares/list-query/dtos/base.filter.dto.js.map +1 -1
- package/dist/node-types.js +2 -2
- package/dist/node-types.js.map +1 -1
- package/dist/{permissions → permissions.ee}/check-access.js +5 -5
- package/dist/permissions.ee/check-access.js.map +1 -0
- package/dist/permissions.ee/global-roles.js.map +1 -0
- package/dist/permissions.ee/project-roles.js.map +1 -0
- package/dist/permissions.ee/resource-roles.js.map +1 -0
- package/dist/posthog/index.js +2 -2
- package/dist/posthog/index.js.map +1 -1
- package/dist/public-api/index.js +6 -6
- package/dist/public-api/index.js.map +1 -1
- package/dist/public-api/v1/handlers/audit/audit.handler.js +2 -5
- package/dist/public-api/v1/handlers/audit/audit.handler.js.map +1 -1
- package/dist/public-api/v1/handlers/credentials/credentials.handler.js +4 -4
- package/dist/public-api/v1/handlers/credentials/credentials.handler.js.map +1 -1
- package/dist/public-api/v1/handlers/credentials/credentials.middleware.js +3 -3
- package/dist/public-api/v1/handlers/credentials/credentials.middleware.js.map +1 -1
- package/dist/public-api/v1/handlers/credentials/credentials.service.js +10 -10
- package/dist/public-api/v1/handlers/credentials/credentials.service.js.map +1 -1
- package/dist/public-api/v1/handlers/executions/executions.handler.js +10 -10
- package/dist/public-api/v1/handlers/executions/executions.handler.js.map +1 -1
- package/dist/public-api/v1/handlers/projects/projects.handler.js +5 -8
- package/dist/public-api/v1/handlers/projects/projects.handler.js.map +1 -1
- package/dist/public-api/v1/handlers/source-control/source-control.handler.d.ts +1 -1
- package/dist/public-api/v1/handlers/source-control/source-control.handler.js +7 -7
- package/dist/public-api/v1/handlers/source-control/source-control.handler.js.map +1 -1
- package/dist/public-api/v1/handlers/tags/tags.handler.js +10 -10
- package/dist/public-api/v1/handlers/tags/tags.handler.js.map +1 -1
- package/dist/public-api/v1/handlers/users/users.handler.ee.d.ts +3 -2
- package/dist/public-api/v1/handlers/users/users.handler.ee.js +11 -7
- package/dist/public-api/v1/handlers/users/users.handler.ee.js.map +1 -1
- package/dist/public-api/v1/handlers/users/users.service.ee.js +4 -4
- package/dist/public-api/v1/handlers/users/users.service.ee.js.map +1 -1
- package/dist/public-api/v1/handlers/variables/variables.handler.js +5 -8
- package/dist/public-api/v1/handlers/variables/variables.handler.js.map +1 -1
- package/dist/public-api/v1/handlers/workflows/workflows.handler.js +27 -27
- package/dist/public-api/v1/handlers/workflows/workflows.handler.js.map +1 -1
- package/dist/public-api/v1/handlers/workflows/workflows.service.js +11 -11
- package/dist/public-api/v1/handlers/workflows/workflows.service.js.map +1 -1
- package/dist/public-api/v1/shared/middlewares/global.middleware.js +4 -4
- package/dist/public-api/v1/shared/middlewares/global.middleware.js.map +1 -1
- package/dist/push/abstract.push.d.ts +5 -6
- package/dist/push/abstract.push.js +10 -11
- package/dist/push/abstract.push.js.map +1 -1
- package/dist/push/index.d.ts +10 -6
- package/dist/push/index.js +52 -18
- package/dist/push/index.js.map +1 -1
- package/dist/push/sse.push.js +2 -2
- package/dist/push/sse.push.js.map +1 -1
- package/dist/push/websocket.push.js +2 -2
- package/dist/push/websocket.push.js.map +1 -1
- package/dist/requests.d.ts +11 -96
- package/dist/requests.js.map +1 -1
- package/dist/response-helper.js +4 -5
- package/dist/response-helper.js.map +1 -1
- package/dist/scaling/job-processor.d.ts +4 -3
- package/dist/scaling/job-processor.js +30 -8
- package/dist/scaling/job-processor.js.map +1 -1
- package/dist/scaling/multi-main-setup.ee.d.ts +1 -2
- package/dist/scaling/multi-main-setup.ee.js +3 -4
- package/dist/scaling/multi-main-setup.ee.js.map +1 -1
- package/dist/scaling/pubsub/publisher.service.d.ts +1 -2
- package/dist/scaling/pubsub/publisher.service.js +6 -6
- package/dist/scaling/pubsub/publisher.service.js.map +1 -1
- package/dist/scaling/pubsub/pubsub-handler.d.ts +2 -2
- package/dist/scaling/pubsub/pubsub-handler.js +24 -18
- package/dist/scaling/pubsub/pubsub-handler.js.map +1 -1
- package/dist/scaling/pubsub/subscriber.service.d.ts +1 -2
- package/dist/scaling/pubsub/subscriber.service.js +6 -6
- package/dist/scaling/pubsub/subscriber.service.js.map +1 -1
- package/dist/scaling/scaling.service.d.ts +1 -2
- package/dist/scaling/scaling.service.js +16 -9
- package/dist/scaling/scaling.service.js.map +1 -1
- package/dist/scaling/scaling.types.d.ts +1 -0
- package/dist/scaling/worker-server.d.ts +1 -2
- package/dist/scaling/worker-server.js +3 -4
- package/dist/scaling/worker-server.js.map +1 -1
- package/dist/scaling/{worker-status.service.js → worker-status.service.ee.js} +3 -3
- package/dist/scaling/worker-status.service.ee.js.map +1 -0
- package/dist/{secrets-helpers.d.ts → secrets-helpers.ee.d.ts} +1 -1
- package/dist/{secrets-helpers.js → secrets-helpers.ee.js} +4 -4
- package/dist/secrets-helpers.ee.js.map +1 -0
- package/dist/security-audit/risk-reporters/credentials-risk-reporter.js +2 -2
- package/dist/security-audit/risk-reporters/credentials-risk-reporter.js.map +1 -1
- package/dist/security-audit/risk-reporters/database-risk-reporter.js +2 -2
- package/dist/security-audit/risk-reporters/database-risk-reporter.js.map +1 -1
- package/dist/security-audit/risk-reporters/filesystem-risk-reporter.js +2 -2
- package/dist/security-audit/risk-reporters/filesystem-risk-reporter.js.map +1 -1
- package/dist/security-audit/risk-reporters/instance-risk-reporter.d.ts +1 -2
- package/dist/security-audit/risk-reporters/instance-risk-reporter.js +3 -4
- package/dist/security-audit/risk-reporters/instance-risk-reporter.js.map +1 -1
- package/dist/security-audit/risk-reporters/nodes-risk-reporter.js +2 -2
- package/dist/security-audit/risk-reporters/nodes-risk-reporter.js.map +1 -1
- package/dist/security-audit/security-audit.service.js +3 -3
- package/dist/security-audit/security-audit.service.js.map +1 -1
- package/dist/server.d.ts +5 -5
- package/dist/server.js +28 -28
- package/dist/server.js.map +1 -1
- package/dist/services/access.service.js +2 -2
- package/dist/services/access.service.js.map +1 -1
- package/dist/services/active-workflows.service.d.ts +1 -1
- package/dist/services/active-workflows.service.js +4 -4
- package/dist/services/active-workflows.service.js.map +1 -1
- package/dist/services/ai.service.d.ts +5 -5
- package/dist/services/ai.service.js +10 -7
- package/dist/services/ai.service.js.map +1 -1
- package/dist/services/annotation-tag.service.ee.js +2 -2
- package/dist/services/annotation-tag.service.ee.js.map +1 -1
- package/dist/services/cache/cache.service.js +3 -3
- package/dist/services/cache/cache.service.js.map +1 -1
- package/dist/services/community-packages.service.d.ts +1 -2
- package/dist/services/community-packages.service.js +3 -4
- package/dist/services/community-packages.service.js.map +1 -1
- package/dist/services/credentials-tester.service.d.ts +1 -2
- package/dist/services/credentials-tester.service.js +4 -6
- package/dist/services/credentials-tester.service.js.map +1 -1
- package/dist/services/cta.service.js +2 -2
- package/dist/services/cta.service.js.map +1 -1
- package/dist/services/curl.service.js +2 -2
- package/dist/services/curl.service.js.map +1 -1
- package/dist/services/dynamic-node-parameters.service.d.ts +5 -1
- package/dist/services/dynamic-node-parameters.service.js +16 -4
- package/dist/services/dynamic-node-parameters.service.js.map +1 -1
- package/dist/services/execution-metadata.service.js +2 -2
- package/dist/services/execution-metadata.service.js.map +1 -1
- package/dist/services/frontend.service.d.ts +1 -2
- package/dist/services/frontend.service.js +18 -10
- package/dist/services/frontend.service.js.map +1 -1
- package/dist/services/hooks.service.js +2 -2
- package/dist/services/hooks.service.js.map +1 -1
- package/dist/services/import.service.d.ts +1 -1
- package/dist/services/import.service.js +4 -4
- package/dist/services/import.service.js.map +1 -1
- package/dist/services/jwt.service.js +2 -2
- package/dist/services/jwt.service.js.map +1 -1
- package/dist/services/naming.service.js +2 -2
- package/dist/services/naming.service.js.map +1 -1
- package/dist/services/orchestration.service.js +4 -4
- package/dist/services/orchestration.service.js.map +1 -1
- package/dist/services/ownership.service.js +4 -2
- package/dist/services/ownership.service.js.map +1 -1
- package/dist/services/password.utility.d.ts +0 -1
- package/dist/services/password.utility.js +2 -22
- package/dist/services/password.utility.js.map +1 -1
- package/dist/services/{project.service.d.ts → project.service.ee.d.ts} +7 -3
- package/dist/services/{project.service.js → project.service.ee.js} +9 -7
- package/dist/services/project.service.ee.js.map +1 -0
- package/dist/services/pruning/pruning.service.d.ts +1 -2
- package/dist/services/pruning/pruning.service.js +3 -4
- package/dist/services/pruning/pruning.service.js.map +1 -1
- package/dist/services/public-api-key.service.js +2 -2
- package/dist/services/public-api-key.service.js.map +1 -1
- package/dist/services/redis-client.service.d.ts +1 -1
- package/dist/services/redis-client.service.js +4 -4
- package/dist/services/redis-client.service.js.map +1 -1
- package/dist/services/role.service.js +5 -5
- package/dist/services/role.service.js.map +1 -1
- package/dist/services/tag.service.js +2 -2
- package/dist/services/tag.service.js.map +1 -1
- package/dist/services/url.service.js +2 -2
- package/dist/services/url.service.js.map +1 -1
- package/dist/services/user.service.d.ts +1 -1
- package/dist/services/user.service.js +4 -4
- package/dist/services/user.service.js.map +1 -1
- package/dist/services/workflow-loader.service.d.ts +7 -0
- package/dist/services/workflow-loader.service.js +33 -0
- package/dist/services/workflow-loader.service.js.map +1 -0
- package/dist/services/workflow-statistics.service.d.ts +1 -1
- package/dist/services/workflow-statistics.service.js +4 -4
- package/dist/services/workflow-statistics.service.js.map +1 -1
- package/dist/shutdown/shutdown.service.d.ts +1 -1
- package/dist/shutdown/shutdown.service.js +7 -7
- package/dist/shutdown/shutdown.service.js.map +1 -1
- package/dist/sso.ee/saml/constants.js.map +1 -0
- package/dist/sso.ee/saml/errors/invalid-saml-metadata.error.js.map +1 -0
- package/dist/sso.ee/saml/middleware/saml-enabled-middleware.js.map +1 -0
- package/dist/sso.ee/saml/routes/saml.controller.ee.d.ts +51 -0
- package/dist/{sso → sso.ee}/saml/routes/saml.controller.ee.js +20 -27
- package/dist/sso.ee/saml/routes/saml.controller.ee.js.map +1 -0
- package/dist/{sso → sso.ee}/saml/saml-helpers.d.ts +3 -5
- package/dist/{sso → sso.ee}/saml/saml-helpers.js +8 -8
- package/dist/sso.ee/saml/saml-helpers.js.map +1 -0
- package/dist/sso.ee/saml/saml-validator.d.ts +14 -0
- package/dist/sso.ee/saml/saml-validator.js +115 -0
- package/dist/sso.ee/saml/saml-validator.js.map +1 -0
- package/dist/{sso → sso.ee}/saml/saml.service.ee.d.ts +12 -7
- package/dist/{sso → sso.ee}/saml/saml.service.ee.js +22 -15
- package/dist/sso.ee/saml/saml.service.ee.js.map +1 -0
- package/dist/sso.ee/saml/schema/metadata-exchange.xsd.js.map +1 -0
- package/dist/sso.ee/saml/schema/oasis-200401-wss-wssecurity-secext-1.0.xsd.js.map +1 -0
- package/dist/sso.ee/saml/schema/oasis-200401-wss-wssecurity-utility-1.0.xsd.js.map +1 -0
- package/dist/{sso → sso.ee}/saml/schema/saml-schema-assertion-2.0.xsd.js.map +1 -1
- package/dist/{sso → sso.ee}/saml/schema/saml-schema-metadata-2.0.xsd.js.map +1 -1
- package/dist/{sso → sso.ee}/saml/schema/saml-schema-protocol-2.0.xsd.js.map +1 -1
- package/dist/sso.ee/saml/schema/ws-addr.xsd.js.map +1 -0
- package/dist/sso.ee/saml/schema/ws-authorization.xsd.js.map +1 -0
- package/dist/{sso → sso.ee}/saml/schema/ws-federation.xsd.js.map +1 -1
- package/dist/{sso → sso.ee}/saml/schema/ws-securitypolicy-1.2.xsd.js.map +1 -1
- package/dist/sso.ee/saml/schema/xenc-schema.xsd.js.map +1 -0
- package/dist/sso.ee/saml/schema/xml.xsd.js.map +1 -0
- package/dist/{sso → sso.ee}/saml/schema/xmldsig-core-schema.xsd.js.map +1 -1
- package/dist/{sso → sso.ee}/saml/service-provider.ee.d.ts +1 -1
- package/dist/{sso → sso.ee}/saml/service-provider.ee.js +4 -4
- package/dist/{sso → sso.ee}/saml/service-provider.ee.js.map +1 -1
- package/dist/sso.ee/saml/types.d.ts +4 -0
- package/dist/{ldap → sso.ee/saml}/types.js.map +1 -1
- package/dist/sso.ee/saml/views/init-sso-post.js.map +1 -0
- package/dist/{sso → sso.ee}/sso-helpers.js +2 -2
- package/dist/sso.ee/sso-helpers.js.map +1 -0
- package/dist/subworkflows/subworkflow-policy-checker.service.d.ts +1 -1
- package/dist/subworkflows/subworkflow-policy-checker.service.js +4 -4
- package/dist/subworkflows/subworkflow-policy-checker.service.js.map +1 -1
- package/dist/{runners → task-runners}/auth/task-runner-auth.controller.d.ts +1 -1
- package/dist/{runners → task-runners}/auth/task-runner-auth.controller.js +2 -2
- package/dist/task-runners/auth/task-runner-auth.controller.js.map +1 -0
- package/dist/task-runners/auth/task-runner-auth.schema.js.map +1 -0
- package/dist/{runners → task-runners}/auth/task-runner-auth.service.js +2 -2
- package/dist/task-runners/auth/task-runner-auth.service.js.map +1 -0
- package/dist/{runners → task-runners}/default-task-runner-disconnect-analyzer.d.ts +1 -1
- package/dist/{runners → task-runners}/default-task-runner-disconnect-analyzer.js +2 -2
- package/dist/task-runners/default-task-runner-disconnect-analyzer.js.map +1 -0
- package/dist/task-runners/errors/missing-auth-token.error.js.map +1 -0
- package/dist/task-runners/errors/task-runner-disconnected-error.js.map +1 -0
- package/dist/task-runners/errors/task-runner-failed-heartbeat.error.js.map +1 -0
- package/dist/task-runners/errors/task-runner-oom-error.js.map +1 -0
- package/dist/task-runners/errors/task-runner-restart-loop-error.js.map +1 -0
- package/dist/task-runners/errors/task-runner-timeout.error.js.map +1 -0
- package/dist/task-runners/errors.js.map +1 -0
- package/dist/task-runners/forward-to-logger.js.map +1 -0
- package/dist/{runners → task-runners}/internal-task-runner-disconnect-analyzer.d.ts +1 -1
- package/dist/{runners → task-runners}/internal-task-runner-disconnect-analyzer.js +2 -2
- package/dist/task-runners/internal-task-runner-disconnect-analyzer.js.map +1 -0
- package/dist/task-runners/node-process-oom-detector.js.map +1 -0
- package/dist/task-runners/sliding-window-signal.js.map +1 -0
- package/dist/{runners → task-runners}/task-broker.service.d.ts +4 -4
- package/dist/{runners → task-runners}/task-broker.service.js +9 -9
- package/dist/task-runners/task-broker.service.js.map +1 -0
- package/dist/task-runners/task-managers/data-request-response-builder.js.map +1 -0
- package/dist/task-runners/task-managers/data-request-response-stripper.js.map +1 -0
- package/dist/{runners/task-managers/local-task-manager.d.ts → task-runners/task-managers/local-task-requester.d.ts} +2 -2
- package/dist/task-runners/task-managers/local-task-requester.js +36 -0
- package/dist/task-runners/task-managers/local-task-requester.js.map +1 -0
- package/dist/{runners/task-managers/task-manager.d.ts → task-runners/task-managers/task-requester.d.ts} +1 -1
- package/dist/{runners/task-managers/task-manager.js → task-runners/task-managers/task-requester.js} +8 -8
- package/dist/task-runners/task-managers/task-requester.js.map +1 -0
- package/dist/{runners/runner-lifecycle-events.d.ts → task-runners/task-runner-lifecycle-events.d.ts} +2 -2
- package/dist/{runners/runner-lifecycle-events.js → task-runners/task-runner-lifecycle-events.js} +8 -8
- package/dist/task-runners/task-runner-lifecycle-events.js.map +1 -0
- package/dist/{runners → task-runners}/task-runner-module.d.ts +3 -4
- package/dist/{runners → task-runners}/task-runner-module.js +18 -19
- package/dist/task-runners/task-runner-module.js.map +1 -0
- package/dist/{runners → task-runners}/task-runner-process-restart-loop-detector.d.ts +2 -2
- package/dist/{runners → task-runners}/task-runner-process-restart-loop-detector.js +1 -1
- package/dist/task-runners/task-runner-process-restart-loop-detector.js.map +1 -0
- package/dist/{runners → task-runners}/task-runner-process.d.ts +3 -3
- package/dist/{runners → task-runners}/task-runner-process.js +6 -6
- package/dist/task-runners/task-runner-process.js.map +1 -0
- package/dist/{runners → task-runners}/task-runner-server.d.ts +3 -3
- package/dist/{runners → task-runners}/task-runner-server.js +15 -9
- package/dist/task-runners/task-runner-server.js.map +1 -0
- package/dist/task-runners/task-runner-types.js +3 -0
- package/dist/task-runners/task-runner-types.js.map +1 -0
- package/dist/{runners/runner-ws-server.d.ts → task-runners/task-runner-ws-server.d.ts} +4 -4
- package/dist/{runners/runner-ws-server.js → task-runners/task-runner-ws-server.js} +7 -7
- package/dist/task-runners/task-runner-ws-server.js.map +1 -0
- package/dist/telemetry/index.d.ts +1 -2
- package/dist/telemetry/index.js +9 -10
- package/dist/telemetry/index.js.map +1 -1
- package/dist/user-management/email/node-mailer.d.ts +1 -2
- package/dist/user-management/email/node-mailer.js +3 -4
- package/dist/user-management/email/node-mailer.js.map +1 -1
- package/dist/user-management/email/user-management-mailer.d.ts +1 -1
- package/dist/user-management/email/user-management-mailer.js +5 -5
- package/dist/user-management/email/user-management-mailer.js.map +1 -1
- package/dist/user-management/permission-checker.d.ts +1 -1
- package/dist/user-management/permission-checker.js +4 -4
- package/dist/user-management/permission-checker.js.map +1 -1
- package/dist/utils.d.ts +0 -3
- package/dist/utils.js +0 -4
- package/dist/utils.js.map +1 -1
- package/dist/wait-tracker.d.ts +1 -2
- package/dist/wait-tracker.js +3 -4
- package/dist/wait-tracker.js.map +1 -1
- package/dist/webhooks/live-webhooks.d.ts +1 -1
- package/dist/webhooks/live-webhooks.js +4 -4
- package/dist/webhooks/live-webhooks.js.map +1 -1
- package/dist/webhooks/test-webhook-registrations.service.js +2 -2
- package/dist/webhooks/test-webhook-registrations.service.js.map +1 -1
- package/dist/webhooks/test-webhooks.js +5 -7
- package/dist/webhooks/test-webhooks.js.map +1 -1
- package/dist/webhooks/waiting-forms.js +2 -2
- package/dist/webhooks/waiting-forms.js.map +1 -1
- package/dist/webhooks/waiting-webhooks.d.ts +1 -1
- package/dist/webhooks/waiting-webhooks.js +4 -4
- package/dist/webhooks/waiting-webhooks.js.map +1 -1
- package/dist/webhooks/webhook-helpers.js +23 -16
- package/dist/webhooks/webhook-helpers.js.map +1 -1
- package/dist/webhooks/webhook-server.js +2 -2
- package/dist/webhooks/webhook-server.js.map +1 -1
- package/dist/webhooks/webhook.service.d.ts +1 -1
- package/dist/webhooks/webhook.service.js +3 -4
- package/dist/webhooks/webhook.service.js.map +1 -1
- package/dist/workflow-execute-additional-data.js +81 -70
- package/dist/workflow-execute-additional-data.js.map +1 -1
- package/dist/workflow-helpers.js +6 -6
- package/dist/workflow-helpers.js.map +1 -1
- package/dist/workflow-runner.d.ts +1 -2
- package/dist/workflow-runner.js +14 -9
- package/dist/workflow-runner.js.map +1 -1
- package/dist/workflows/workflow-execution.service.d.ts +1 -2
- package/dist/workflows/workflow-execution.service.js +26 -4
- package/dist/workflows/workflow-execution.service.js.map +1 -1
- package/dist/workflows/{workflow-history → workflow-history.ee}/workflow-history-helper.ee.js +4 -4
- package/dist/workflows/workflow-history.ee/workflow-history-helper.ee.js.map +1 -0
- package/dist/workflows/{workflow-history → workflow-history.ee}/workflow-history-manager.ee.js +2 -2
- package/dist/workflows/workflow-history.ee/workflow-history-manager.ee.js.map +1 -0
- package/dist/workflows/workflow-history.ee/workflow-history.controller.ee.js.map +1 -0
- package/dist/workflows/{workflow-history → workflow-history.ee}/workflow-history.service.ee.d.ts +1 -1
- package/dist/workflows/{workflow-history → workflow-history.ee}/workflow-history.service.ee.js +4 -4
- package/dist/workflows/workflow-history.ee/workflow-history.service.ee.js.map +1 -0
- package/dist/workflows/workflow-sharing.service.js +2 -2
- package/dist/workflows/workflow-sharing.service.js.map +1 -1
- package/dist/workflows/workflow-static-data.service.d.ts +1 -2
- package/dist/workflows/workflow-static-data.service.js +3 -4
- package/dist/workflows/workflow-static-data.service.js.map +1 -1
- package/dist/workflows/workflow.request.d.ts +0 -3
- package/dist/workflows/workflow.service.d.ts +3 -4
- package/dist/workflows/workflow.service.ee.d.ts +2 -2
- package/dist/workflows/workflow.service.ee.js +6 -6
- package/dist/workflows/workflow.service.ee.js.map +1 -1
- package/dist/workflows/workflow.service.js +6 -7
- package/dist/workflows/workflow.service.js.map +1 -1
- package/dist/workflows/workflows.controller.d.ts +6 -4
- package/dist/workflows/workflows.controller.js +13 -14
- package/dist/workflows/workflows.controller.js.map +1 -1
- package/package.json +12 -14
- package/dist/environments/source-control/constants.js.map +0 -1
- package/dist/environments/source-control/middleware/source-control-enabled-middleware.ee.js.map +0 -1
- package/dist/environments/source-control/source-control-export.service.ee.js.map +0 -1
- package/dist/environments/source-control/source-control-git.service.ee.js.map +0 -1
- package/dist/environments/source-control/source-control-helper.ee.js.map +0 -1
- package/dist/environments/source-control/source-control-import.service.ee.js.map +0 -1
- package/dist/environments/source-control/source-control-preferences.service.ee.js.map +0 -1
- package/dist/environments/source-control/source-control.controller.ee.js.map +0 -1
- package/dist/environments/source-control/source-control.service.ee.js.map +0 -1
- package/dist/environments/source-control/types/export-result.js.map +0 -1
- package/dist/environments/source-control/types/exportable-credential.js.map +0 -1
- package/dist/environments/source-control/types/exportable-workflow.js.map +0 -1
- package/dist/environments/source-control/types/import-result.js.map +0 -1
- package/dist/environments/source-control/types/key-pair-type.js.map +0 -1
- package/dist/environments/source-control/types/key-pair.js.map +0 -1
- package/dist/environments/source-control/types/requests.js.map +0 -1
- package/dist/environments/source-control/types/resource-owner.js.map +0 -1
- package/dist/environments/source-control/types/source-control-commit.js.map +0 -1
- package/dist/environments/source-control/types/source-control-disconnect.js.map +0 -1
- package/dist/environments/source-control/types/source-control-generate-key-pair.js.map +0 -1
- package/dist/environments/source-control/types/source-control-get-status.js.map +0 -1
- package/dist/environments/source-control/types/source-control-preferences.js.map +0 -1
- package/dist/environments/source-control/types/source-control-pull-work-folder.js.map +0 -1
- package/dist/environments/source-control/types/source-control-push-work-folder.js.map +0 -1
- package/dist/environments/source-control/types/source-control-push.js.map +0 -1
- package/dist/environments/source-control/types/source-control-set-branch.js.map +0 -1
- package/dist/environments/source-control/types/source-control-set-read-only.js.map +0 -1
- package/dist/environments/source-control/types/source-control-stage.js.map +0 -1
- package/dist/environments/source-control/types/source-control-workflow-version-id.js.map +0 -1
- package/dist/environments/source-control/types/source-controlled-file.js.map +0 -1
- package/dist/environments/variables/environment-helpers.js.map +0 -1
- package/dist/environments/variables/variables.controller.ee.js.map +0 -1
- package/dist/environments/variables/variables.service.ee.js.map +0 -1
- package/dist/evaluation/metric.schema.js.map +0 -1
- package/dist/evaluation/metrics.controller.js.map +0 -1
- package/dist/evaluation/test-definition.schema.js.map +0 -1
- package/dist/evaluation/test-definition.service.ee.js.map +0 -1
- package/dist/evaluation/test-definitions.controller.ee.js.map +0 -1
- package/dist/evaluation/test-definitions.types.ee.js.map +0 -1
- package/dist/evaluation/test-runner/evaluation-metrics.ee.js.map +0 -1
- package/dist/evaluation/test-runner/test-runner.service.ee.js.map +0 -1
- package/dist/evaluation/test-runner/utils.ee.js +0 -24
- package/dist/evaluation/test-runner/utils.ee.js.map +0 -1
- package/dist/evaluation/test-runs.controller.ee.js.map +0 -1
- package/dist/external-secrets/constants.js.map +0 -1
- package/dist/external-secrets/external-secrets-helper.ee.js +0 -19
- package/dist/external-secrets/external-secrets-helper.ee.js.map +0 -1
- package/dist/external-secrets/external-secrets-manager.ee.js.map +0 -1
- package/dist/external-secrets/external-secrets-providers.ee.js.map +0 -1
- package/dist/external-secrets/external-secrets.controller.ee.js.map +0 -1
- package/dist/external-secrets/external-secrets.service.ee.js.map +0 -1
- package/dist/external-secrets/providers/aws-secrets/aws-secrets-client.js.map +0 -1
- package/dist/external-secrets/providers/aws-secrets/aws-secrets-manager.js.map +0 -1
- package/dist/external-secrets/providers/aws-secrets/types.js.map +0 -1
- package/dist/external-secrets/providers/azure-key-vault/azure-key-vault.js.map +0 -1
- package/dist/external-secrets/providers/azure-key-vault/types.js.map +0 -1
- package/dist/external-secrets/providers/gcp-secrets-manager/gcp-secrets-manager.js.map +0 -1
- package/dist/external-secrets/providers/gcp-secrets-manager/types.js.map +0 -1
- package/dist/external-secrets/providers/infisical.js.map +0 -1
- package/dist/external-secrets/providers/vault.js.map +0 -1
- package/dist/ldap/constants.js.map +0 -1
- package/dist/ldap/helpers.ee.js.map +0 -1
- package/dist/ldap/ldap.controller.ee.js.map +0 -1
- package/dist/ldap/ldap.service.ee.js.map +0 -1
- package/dist/logging/constants.d.ts +0 -2
- package/dist/logging/constants.js +0 -7
- package/dist/logging/constants.js.map +0 -1
- package/dist/logging/logger.service.d.ts +0 -32
- package/dist/logging/logger.service.js +0 -201
- package/dist/logging/logger.service.js.map +0 -1
- package/dist/logging/types.d.ts +0 -10
- package/dist/permissions/check-access.js.map +0 -1
- package/dist/permissions/global-roles.js.map +0 -1
- package/dist/permissions/project-roles.js.map +0 -1
- package/dist/permissions/resource-roles.js.map +0 -1
- package/dist/runners/auth/task-runner-auth.controller.js.map +0 -1
- package/dist/runners/auth/task-runner-auth.schema.js.map +0 -1
- package/dist/runners/auth/task-runner-auth.service.js.map +0 -1
- package/dist/runners/default-task-runner-disconnect-analyzer.js.map +0 -1
- package/dist/runners/errors/missing-auth-token.error.js.map +0 -1
- package/dist/runners/errors/task-runner-disconnected-error.js.map +0 -1
- package/dist/runners/errors/task-runner-failed-heartbeat.error.js.map +0 -1
- package/dist/runners/errors/task-runner-oom-error.js.map +0 -1
- package/dist/runners/errors/task-runner-restart-loop-error.js.map +0 -1
- package/dist/runners/errors/task-runner-timeout.error.js.map +0 -1
- package/dist/runners/errors.js.map +0 -1
- package/dist/runners/forward-to-logger.js.map +0 -1
- package/dist/runners/internal-task-runner-disconnect-analyzer.js.map +0 -1
- package/dist/runners/node-process-oom-detector.js.map +0 -1
- package/dist/runners/runner-lifecycle-events.js.map +0 -1
- package/dist/runners/runner-types.js +0 -3
- package/dist/runners/runner-types.js.map +0 -1
- package/dist/runners/runner-ws-server.js.map +0 -1
- package/dist/runners/sliding-window-signal.js.map +0 -1
- package/dist/runners/task-broker.service.js.map +0 -1
- package/dist/runners/task-managers/data-request-response-builder.js.map +0 -1
- package/dist/runners/task-managers/data-request-response-stripper.js.map +0 -1
- package/dist/runners/task-managers/local-task-manager.js +0 -69
- package/dist/runners/task-managers/local-task-manager.js.map +0 -1
- package/dist/runners/task-managers/task-manager.js.map +0 -1
- package/dist/runners/task-runner-module.js.map +0 -1
- package/dist/runners/task-runner-process-restart-loop-detector.js.map +0 -1
- package/dist/runners/task-runner-process.js.map +0 -1
- package/dist/runners/task-runner-server.js.map +0 -1
- package/dist/scaling/worker-status.service.js.map +0 -1
- package/dist/secrets-helpers.js.map +0 -1
- package/dist/services/project.service.js.map +0 -1
- package/dist/sso/saml/constants.js.map +0 -1
- package/dist/sso/saml/errors/invalid-saml-metadata.error.js.map +0 -1
- package/dist/sso/saml/middleware/saml-enabled-middleware.js.map +0 -1
- package/dist/sso/saml/routes/saml.controller.ee.d.ts +0 -41
- package/dist/sso/saml/routes/saml.controller.ee.js.map +0 -1
- package/dist/sso/saml/saml-helpers.js.map +0 -1
- package/dist/sso/saml/saml-validator.d.ts +0 -2
- package/dist/sso/saml/saml-validator.js +0 -135
- package/dist/sso/saml/saml-validator.js.map +0 -1
- package/dist/sso/saml/saml.service.ee.js.map +0 -1
- package/dist/sso/saml/schema/metadata-exchange.xsd.js.map +0 -1
- package/dist/sso/saml/schema/oasis-200401-wss-wssecurity-secext-1.0.xsd.js.map +0 -1
- package/dist/sso/saml/schema/oasis-200401-wss-wssecurity-utility-1.0.xsd.js.map +0 -1
- package/dist/sso/saml/schema/ws-addr.xsd.js.map +0 -1
- package/dist/sso/saml/schema/ws-authorization.xsd.js.map +0 -1
- package/dist/sso/saml/schema/xenc-schema.xsd.js.map +0 -1
- package/dist/sso/saml/schema/xml.xsd.js.map +0 -1
- package/dist/sso/saml/types/index.d.ts +0 -1
- package/dist/sso/saml/types/index.js +0 -3
- package/dist/sso/saml/types/index.js.map +0 -1
- package/dist/sso/saml/types/requests.d.ts +0 -11
- package/dist/sso/saml/types/requests.js +0 -3
- package/dist/sso/saml/types/requests.js.map +0 -1
- package/dist/sso/saml/types/saml-attribute-mapping.d.ts +0 -6
- package/dist/sso/saml/types/saml-attribute-mapping.js +0 -3
- package/dist/sso/saml/types/saml-attribute-mapping.js.map +0 -1
- package/dist/sso/saml/types/saml-preferences.d.ts +0 -18
- package/dist/sso/saml/types/saml-preferences.js +0 -98
- package/dist/sso/saml/types/saml-preferences.js.map +0 -1
- package/dist/sso/saml/types/saml-user-attributes.d.ts +0 -6
- package/dist/sso/saml/types/saml-user-attributes.js +0 -3
- package/dist/sso/saml/types/saml-user-attributes.js.map +0 -1
- package/dist/sso/saml/views/init-sso-post.js.map +0 -1
- package/dist/sso/sso-helpers.js.map +0 -1
- package/dist/workflows/workflow-history/workflow-history-helper.ee.js.map +0 -1
- package/dist/workflows/workflow-history/workflow-history-manager.ee.js.map +0 -1
- package/dist/workflows/workflow-history/workflow-history.controller.ee.js.map +0 -1
- package/dist/workflows/workflow-history/workflow-history.service.ee.js.map +0 -1
- /package/dist/{environments → environments.ee}/source-control/constants.d.ts +0 -0
- /package/dist/{environments → environments.ee}/source-control/constants.js +0 -0
- /package/dist/{environments → environments.ee}/source-control/middleware/source-control-enabled-middleware.ee.d.ts +0 -0
- /package/dist/{environments → environments.ee}/source-control/source-control-helper.ee.d.ts +0 -0
- /package/dist/{environments → environments.ee}/source-control/source-control.controller.ee.d.ts +0 -0
- /package/dist/{environments → environments.ee}/source-control/source-control.controller.ee.js +0 -0
- /package/dist/{environments → environments.ee}/source-control/types/export-result.d.ts +0 -0
- /package/dist/{environments → environments.ee}/source-control/types/export-result.js +0 -0
- /package/dist/{environments → environments.ee}/source-control/types/exportable-credential.d.ts +0 -0
- /package/dist/{environments → environments.ee}/source-control/types/exportable-credential.js +0 -0
- /package/dist/{environments → environments.ee}/source-control/types/exportable-workflow.d.ts +0 -0
- /package/dist/{environments → environments.ee}/source-control/types/exportable-workflow.js +0 -0
- /package/dist/{environments → environments.ee}/source-control/types/import-result.d.ts +0 -0
- /package/dist/{environments → environments.ee}/source-control/types/import-result.js +0 -0
- /package/dist/{environments → environments.ee}/source-control/types/key-pair-type.d.ts +0 -0
- /package/dist/{environments → environments.ee}/source-control/types/key-pair-type.js +0 -0
- /package/dist/{environments → environments.ee}/source-control/types/key-pair.d.ts +0 -0
- /package/dist/{environments → environments.ee}/source-control/types/key-pair.js +0 -0
- /package/dist/{environments → environments.ee}/source-control/types/requests.d.ts +0 -0
- /package/dist/{environments → environments.ee}/source-control/types/requests.js +0 -0
- /package/dist/{environments → environments.ee}/source-control/types/resource-owner.d.ts +0 -0
- /package/dist/{environments → environments.ee}/source-control/types/resource-owner.js +0 -0
- /package/dist/{environments → environments.ee}/source-control/types/source-control-commit.d.ts +0 -0
- /package/dist/{environments → environments.ee}/source-control/types/source-control-commit.js +0 -0
- /package/dist/{environments → environments.ee}/source-control/types/source-control-disconnect.d.ts +0 -0
- /package/dist/{environments → environments.ee}/source-control/types/source-control-disconnect.js +0 -0
- /package/dist/{environments → environments.ee}/source-control/types/source-control-generate-key-pair.d.ts +0 -0
- /package/dist/{environments → environments.ee}/source-control/types/source-control-generate-key-pair.js +0 -0
- /package/dist/{environments → environments.ee}/source-control/types/source-control-get-status.d.ts +0 -0
- /package/dist/{environments → environments.ee}/source-control/types/source-control-get-status.js +0 -0
- /package/dist/{environments → environments.ee}/source-control/types/source-control-preferences.d.ts +0 -0
- /package/dist/{environments → environments.ee}/source-control/types/source-control-preferences.js +0 -0
- /package/dist/{environments → environments.ee}/source-control/types/source-control-pull-work-folder.d.ts +0 -0
- /package/dist/{environments → environments.ee}/source-control/types/source-control-pull-work-folder.js +0 -0
- /package/dist/{environments → environments.ee}/source-control/types/source-control-push-work-folder.d.ts +0 -0
- /package/dist/{environments → environments.ee}/source-control/types/source-control-push-work-folder.js +0 -0
- /package/dist/{environments → environments.ee}/source-control/types/source-control-push.d.ts +0 -0
- /package/dist/{environments → environments.ee}/source-control/types/source-control-push.js +0 -0
- /package/dist/{environments → environments.ee}/source-control/types/source-control-set-branch.d.ts +0 -0
- /package/dist/{environments → environments.ee}/source-control/types/source-control-set-branch.js +0 -0
- /package/dist/{environments → environments.ee}/source-control/types/source-control-set-read-only.d.ts +0 -0
- /package/dist/{environments → environments.ee}/source-control/types/source-control-set-read-only.js +0 -0
- /package/dist/{environments → environments.ee}/source-control/types/source-control-stage.d.ts +0 -0
- /package/dist/{environments → environments.ee}/source-control/types/source-control-stage.js +0 -0
- /package/dist/{environments → environments.ee}/source-control/types/source-control-workflow-version-id.d.ts +0 -0
- /package/dist/{environments → environments.ee}/source-control/types/source-control-workflow-version-id.js +0 -0
- /package/dist/{environments → environments.ee}/source-control/types/source-controlled-file.d.ts +0 -0
- /package/dist/{environments → environments.ee}/source-control/types/source-controlled-file.js +0 -0
- /package/dist/{environments → environments.ee}/variables/environment-helpers.d.ts +0 -0
- /package/dist/{environments → environments.ee}/variables/variables.controller.ee.d.ts +0 -0
- /package/dist/{environments → environments.ee}/variables/variables.service.ee.d.ts +0 -0
- /package/dist/{evaluation → evaluation.ee}/metric.schema.d.ts +0 -0
- /package/dist/{evaluation → evaluation.ee}/metric.schema.js +0 -0
- /package/dist/{evaluation → evaluation.ee}/metrics.controller.d.ts +0 -0
- /package/dist/{evaluation → evaluation.ee}/test-definition.service.ee.d.ts +0 -0
- /package/dist/{evaluation → evaluation.ee}/test-definitions.types.ee.d.ts +0 -0
- /package/dist/{evaluation → evaluation.ee}/test-definitions.types.ee.js +0 -0
- /package/dist/{evaluation → evaluation.ee}/test-runner/evaluation-metrics.ee.d.ts +0 -0
- /package/dist/{evaluation → evaluation.ee}/test-runner/evaluation-metrics.ee.js +0 -0
- /package/dist/{evaluation → evaluation.ee}/test-runs.controller.ee.js +0 -0
- /package/dist/{external-secrets → external-secrets.ee}/constants.d.ts +0 -0
- /package/dist/{external-secrets → external-secrets.ee}/constants.js +0 -0
- /package/dist/{external-secrets → external-secrets.ee}/external-secrets-helper.ee.d.ts +0 -0
- /package/dist/{external-secrets → external-secrets.ee}/external-secrets-providers.ee.d.ts +0 -0
- /package/dist/{external-secrets → external-secrets.ee}/external-secrets.controller.ee.d.ts +0 -0
- /package/dist/{external-secrets → external-secrets.ee}/external-secrets.controller.ee.js +0 -0
- /package/dist/{external-secrets → external-secrets.ee}/external-secrets.service.ee.d.ts +0 -0
- /package/dist/{external-secrets → external-secrets.ee}/providers/aws-secrets/aws-secrets-client.d.ts +0 -0
- /package/dist/{external-secrets → external-secrets.ee}/providers/aws-secrets/aws-secrets-client.js +0 -0
- /package/dist/{external-secrets → external-secrets.ee}/providers/aws-secrets/types.d.ts +0 -0
- /package/dist/{external-secrets → external-secrets.ee}/providers/aws-secrets/types.js +0 -0
- /package/dist/{external-secrets → external-secrets.ee}/providers/azure-key-vault/types.d.ts +0 -0
- /package/dist/{external-secrets → external-secrets.ee}/providers/azure-key-vault/types.js +0 -0
- /package/dist/{external-secrets → external-secrets.ee}/providers/gcp-secrets-manager/types.d.ts +0 -0
- /package/dist/{external-secrets → external-secrets.ee}/providers/gcp-secrets-manager/types.js +0 -0
- /package/dist/{external-secrets → external-secrets.ee}/providers/infisical.d.ts +0 -0
- /package/dist/{external-secrets → external-secrets.ee}/providers/infisical.js +0 -0
- /package/dist/{ldap → ldap.ee}/constants.d.ts +0 -0
- /package/dist/{ldap → ldap.ee}/constants.js +0 -0
- /package/dist/{ldap → ldap.ee}/helpers.ee.d.ts +0 -0
- /package/dist/{ldap → ldap.ee}/ldap.controller.ee.d.ts +0 -0
- /package/dist/{ldap → ldap.ee}/ldap.controller.ee.js +0 -0
- /package/dist/{ldap → ldap.ee}/types.d.ts +0 -0
- /package/dist/{ldap → ldap.ee}/types.js +0 -0
- /package/dist/{permissions → permissions.ee}/check-access.d.ts +0 -0
- /package/dist/{permissions → permissions.ee}/global-roles.d.ts +0 -0
- /package/dist/{permissions → permissions.ee}/global-roles.js +0 -0
- /package/dist/{permissions → permissions.ee}/project-roles.d.ts +0 -0
- /package/dist/{permissions → permissions.ee}/project-roles.js +0 -0
- /package/dist/{permissions → permissions.ee}/resource-roles.d.ts +0 -0
- /package/dist/{permissions → permissions.ee}/resource-roles.js +0 -0
- /package/dist/scaling/{worker-status.service.d.ts → worker-status.service.ee.d.ts} +0 -0
- /package/dist/{sso → sso.ee}/saml/constants.d.ts +0 -0
- /package/dist/{sso → sso.ee}/saml/constants.js +0 -0
- /package/dist/{sso → sso.ee}/saml/errors/invalid-saml-metadata.error.d.ts +0 -0
- /package/dist/{sso → sso.ee}/saml/errors/invalid-saml-metadata.error.js +0 -0
- /package/dist/{sso → sso.ee}/saml/middleware/saml-enabled-middleware.d.ts +0 -0
- /package/dist/{sso → sso.ee}/saml/middleware/saml-enabled-middleware.js +0 -0
- /package/dist/{sso → sso.ee}/saml/schema/metadata-exchange.xsd.d.ts +0 -0
- /package/dist/{sso → sso.ee}/saml/schema/metadata-exchange.xsd.js +0 -0
- /package/dist/{sso → sso.ee}/saml/schema/oasis-200401-wss-wssecurity-secext-1.0.xsd.d.ts +0 -0
- /package/dist/{sso → sso.ee}/saml/schema/oasis-200401-wss-wssecurity-secext-1.0.xsd.js +0 -0
- /package/dist/{sso → sso.ee}/saml/schema/oasis-200401-wss-wssecurity-utility-1.0.xsd.d.ts +0 -0
- /package/dist/{sso → sso.ee}/saml/schema/oasis-200401-wss-wssecurity-utility-1.0.xsd.js +0 -0
- /package/dist/{sso → sso.ee}/saml/schema/saml-schema-assertion-2.0.xsd.d.ts +0 -0
- /package/dist/{sso → sso.ee}/saml/schema/saml-schema-assertion-2.0.xsd.js +0 -0
- /package/dist/{sso → sso.ee}/saml/schema/saml-schema-metadata-2.0.xsd.d.ts +0 -0
- /package/dist/{sso → sso.ee}/saml/schema/saml-schema-metadata-2.0.xsd.js +0 -0
- /package/dist/{sso → sso.ee}/saml/schema/saml-schema-protocol-2.0.xsd.d.ts +0 -0
- /package/dist/{sso → sso.ee}/saml/schema/saml-schema-protocol-2.0.xsd.js +0 -0
- /package/dist/{sso → sso.ee}/saml/schema/ws-addr.xsd.d.ts +0 -0
- /package/dist/{sso → sso.ee}/saml/schema/ws-addr.xsd.js +0 -0
- /package/dist/{sso → sso.ee}/saml/schema/ws-authorization.xsd.d.ts +0 -0
- /package/dist/{sso → sso.ee}/saml/schema/ws-authorization.xsd.js +0 -0
- /package/dist/{sso → sso.ee}/saml/schema/ws-federation.xsd.d.ts +0 -0
- /package/dist/{sso → sso.ee}/saml/schema/ws-federation.xsd.js +0 -0
- /package/dist/{sso → sso.ee}/saml/schema/ws-securitypolicy-1.2.xsd.d.ts +0 -0
- /package/dist/{sso → sso.ee}/saml/schema/ws-securitypolicy-1.2.xsd.js +0 -0
- /package/dist/{sso → sso.ee}/saml/schema/xenc-schema.xsd.d.ts +0 -0
- /package/dist/{sso → sso.ee}/saml/schema/xenc-schema.xsd.js +0 -0
- /package/dist/{sso → sso.ee}/saml/schema/xml.xsd.d.ts +0 -0
- /package/dist/{sso → sso.ee}/saml/schema/xml.xsd.js +0 -0
- /package/dist/{sso → sso.ee}/saml/schema/xmldsig-core-schema.xsd.d.ts +0 -0
- /package/dist/{sso → sso.ee}/saml/schema/xmldsig-core-schema.xsd.js +0 -0
- /package/dist/{logging → sso.ee/saml}/types.js +0 -0
- /package/dist/{sso → sso.ee}/saml/views/init-sso-post.d.ts +0 -0
- /package/dist/{sso → sso.ee}/saml/views/init-sso-post.js +0 -0
- /package/dist/{sso → sso.ee}/sso-helpers.d.ts +0 -0
- /package/dist/{runners → task-runners}/auth/task-runner-auth.schema.d.ts +0 -0
- /package/dist/{runners → task-runners}/auth/task-runner-auth.schema.js +0 -0
- /package/dist/{runners → task-runners}/auth/task-runner-auth.service.d.ts +0 -0
- /package/dist/{runners → task-runners}/errors/missing-auth-token.error.d.ts +0 -0
- /package/dist/{runners → task-runners}/errors/missing-auth-token.error.js +0 -0
- /package/dist/{runners → task-runners}/errors/task-runner-disconnected-error.d.ts +0 -0
- /package/dist/{runners → task-runners}/errors/task-runner-disconnected-error.js +0 -0
- /package/dist/{runners → task-runners}/errors/task-runner-failed-heartbeat.error.d.ts +0 -0
- /package/dist/{runners → task-runners}/errors/task-runner-failed-heartbeat.error.js +0 -0
- /package/dist/{runners → task-runners}/errors/task-runner-oom-error.d.ts +0 -0
- /package/dist/{runners → task-runners}/errors/task-runner-oom-error.js +0 -0
- /package/dist/{runners → task-runners}/errors/task-runner-restart-loop-error.d.ts +0 -0
- /package/dist/{runners → task-runners}/errors/task-runner-restart-loop-error.js +0 -0
- /package/dist/{runners → task-runners}/errors/task-runner-timeout.error.d.ts +0 -0
- /package/dist/{runners → task-runners}/errors/task-runner-timeout.error.js +0 -0
- /package/dist/{runners → task-runners}/errors.d.ts +0 -0
- /package/dist/{runners → task-runners}/errors.js +0 -0
- /package/dist/{runners → task-runners}/forward-to-logger.d.ts +0 -0
- /package/dist/{runners → task-runners}/forward-to-logger.js +0 -0
- /package/dist/{runners → task-runners}/node-process-oom-detector.d.ts +0 -0
- /package/dist/{runners → task-runners}/node-process-oom-detector.js +0 -0
- /package/dist/{runners → task-runners}/sliding-window-signal.d.ts +0 -0
- /package/dist/{runners → task-runners}/sliding-window-signal.js +0 -0
- /package/dist/{runners → task-runners}/task-managers/data-request-response-builder.d.ts +0 -0
- /package/dist/{runners → task-runners}/task-managers/data-request-response-builder.js +0 -0
- /package/dist/{runners → task-runners}/task-managers/data-request-response-stripper.d.ts +0 -0
- /package/dist/{runners → task-runners}/task-managers/data-request-response-stripper.js +0 -0
- /package/dist/{runners/runner-types.d.ts → task-runners/task-runner-types.d.ts} +0 -0
- /package/dist/workflows/{workflow-history → workflow-history.ee}/workflow-history-helper.ee.d.ts +0 -0
- /package/dist/workflows/{workflow-history → workflow-history.ee}/workflow-history-manager.ee.d.ts +0 -0
- /package/dist/workflows/{workflow-history → workflow-history.ee}/workflow-history.controller.ee.d.ts +0 -0
- /package/dist/workflows/{workflow-history → workflow-history.ee}/workflow-history.controller.ee.js +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"export-result.js","sourceRoot":"","sources":["../../../../src/environments.ee/source-control/types/export-result.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"exportable-credential.js","sourceRoot":"","sources":["../../../../src/environments.ee/source-control/types/exportable-credential.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"exportable-workflow.js","sourceRoot":"","sources":["../../../../src/environments.ee/source-control/types/exportable-workflow.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"import-result.js","sourceRoot":"","sources":["../../../../src/environments.ee/source-control/types/import-result.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"key-pair-type.js","sourceRoot":"","sources":["../../../../src/environments.ee/source-control/types/key-pair-type.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"key-pair.js","sourceRoot":"","sources":["../../../../src/environments.ee/source-control/types/key-pair.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"requests.js","sourceRoot":"","sources":["../../../../src/environments.ee/source-control/types/requests.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"resource-owner.js","sourceRoot":"","sources":["../../../../src/environments.ee/source-control/types/resource-owner.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"source-control-commit.js","sourceRoot":"","sources":["../../../../src/environments.ee/source-control/types/source-control-commit.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAA2C;AAE3C,MAAa,mBAAmB;CAG/B;AAHD,kDAGC;AADA;IADC,IAAA,0BAAQ,GAAE;;oDACK"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"source-control-disconnect.js","sourceRoot":"","sources":["../../../../src/environments.ee/source-control/types/source-control-disconnect.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAwD;AAExD,MAAa,uBAAuB;CAInC;AAJD,0DAIC;AADA;IAFC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;4DACS"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"source-control-generate-key-pair.js","sourceRoot":"","sources":["../../../../src/environments.ee/source-control/types/source-control-generate-key-pair.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAuD;AAIvD,MAAa,4BAA4B;CAIxC;AAJD,oEAIC;AADS;IAFR,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;sEAC6B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"source-control-get-status.js","sourceRoot":"","sources":["../../../../src/environments.ee/source-control/types/source-control-get-status.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAkE;AAElE,SAAS,iBAAiB,CAAC,KAAuB;IACjD,IAAI,OAAO,KAAK,KAAK,SAAS,EAAE,CAAC;QAChC,OAAO,KAAK,CAAC;IACd,CAAC;IACD,OAAO,KAAK,KAAK,MAAM,CAAC;AACzB,CAAC;AAED,MAAa,sBAAsB;IAalC,YAAY,MAIX;QACA,IAAI,CAAC,SAAS,GAAG,MAAM,CAAC,SAAS,IAAI,MAAM,CAAC;QAC5C,IAAI,CAAC,kBAAkB,GAAG,iBAAiB,CAAC,MAAM,CAAC,kBAAkB,CAAC,IAAI,IAAI,CAAC;QAC/E,IAAI,CAAC,OAAO,GAAG,iBAAiB,CAAC,MAAM,CAAC,OAAO,CAAC,IAAI,KAAK,CAAC;IAC3D,CAAC;CACD;AAtBD,wDAsBC;AAnBA;IAFC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;yDACc;AAI3B;IAFC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;kEACe;AAI5B;IAFC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;uDACI"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"source-control-preferences.js","sourceRoot":"","sources":["../../../../src/environments.ee/source-control/types/source-control-preferences.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAA8E;AAI9E,MAAa,wBAAwB;IACpC,YAAY,cAA6D,SAAS;QAWlF,eAAU,GAAG,MAAM,CAAC;QAVnB,IAAI,WAAW;YAAE,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,WAAW,CAAC,CAAC;IACnD,CAAC;IA6BD,MAAM,CAAC,QAAQ,CAAC,IAAuC;QACtD,OAAO,IAAI,wBAAwB,CAAC,IAAI,CAAC,CAAC;IAC3C,CAAC;IAED,MAAM,CAAC,KAAK,CACX,WAA8C,EAC9C,kBAAqD;QAErD,OAAO,IAAI,wBAAwB,CAAC;YACnC,SAAS,EAAE,WAAW,CAAC,SAAS,IAAI,kBAAkB,CAAC,SAAS;YAChE,aAAa,EAAE,WAAW,CAAC,aAAa,IAAI,kBAAkB,CAAC,aAAa;YAC5E,UAAU,EAAE,WAAW,CAAC,UAAU,IAAI,kBAAkB,CAAC,UAAU;YACnE,cAAc,EAAE,WAAW,CAAC,cAAc,IAAI,kBAAkB,CAAC,cAAc;YAC/E,WAAW,EAAE,WAAW,CAAC,WAAW,IAAI,kBAAkB,CAAC,WAAW;YACtE,gBAAgB,EAAE,WAAW,CAAC,gBAAgB,IAAI,kBAAkB,CAAC,gBAAgB;SACrF,CAAC,CAAC;IACJ,CAAC;CACD;AAjDD,4DAiDC;AA3CA;IADC,IAAA,2BAAS,GAAE;;2DACO;AAGnB;IADC,IAAA,0BAAQ,GAAE;;+DACW;AAGtB;IADC,IAAA,0BAAQ,GAAE;;4DACS;AAGpB;IADC,IAAA,2BAAS,GAAE;;gEACY;AAGxB;IADC,IAAA,4BAAU,GAAE;;6DACO;AAIX;IAFR,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;2DACiB;AAInB;IAFR,IAAA,4BAAU,GAAE;IACZ,IAAA,2BAAS,GAAE;;0DACgB;AAInB;IAFR,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;kEAC6B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"source-control-pull-work-folder.js","sourceRoot":"","sources":["../../../../src/environments.ee/source-control/types/source-control-pull-work-folder.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAA4E;AAE5E,MAAa,2BAA2B;IAAxC;QAOC,oBAAe,GAAa,IAAI,CAAC;IASlC,CAAC;CAAA;AAhBD,kEAgBC;AAbA;IAFC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;0DACG;AAIhB;IAFC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;oEACoB;AAIjC;IAFC,IAAA,0BAAQ,EAAC,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;IACxB,IAAA,4BAAU,GAAE;8BACL,GAAG;0DAAS;AAIpB;IAFC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;8DACyB;AAGvC,MAAa,yBAAyB;CAOrC;AAPD,8DAOC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"source-control-push-work-folder.js","sourceRoot":"","sources":["../../../../src/environments.ee/source-control/types/source-control-push-work-folder.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAkE;AAIlE,MAAa,2BAA2B;CAevC;AAfD,kEAeC;AAZA;IAFC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;0DACG;AAGhB;IADC,IAAA,0BAAQ,EAAC,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;;8DACS;AAIlC;IAFC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;4DACI;AAIjB;IAFC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;6DACM"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"source-control-push.js","sourceRoot":"","sources":["../../../../src/environments.ee/source-control/types/source-control-push.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAwD;AAExD,MAAa,iBAAiB;CAI7B;AAJD,8CAIC;AADA;IAFC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;gDACG"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"source-control-set-branch.js","sourceRoot":"","sources":["../../../../src/environments.ee/source-control/types/source-control-set-branch.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAA2C;AAE3C,MAAa,sBAAsB;CAGlC;AAHD,wDAGC;AADA;IADC,IAAA,0BAAQ,GAAE;;sDACI"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"source-control-set-read-only.js","sourceRoot":"","sources":["../../../../src/environments.ee/source-control/types/source-control-set-read-only.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAA4C;AAE5C,MAAa,wBAAwB;CAGpC;AAHD,4DAGC;AADA;IADC,IAAA,2BAAS,GAAE;;gEACY"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"source-control-stage.js","sourceRoot":"","sources":["../../../../src/environments.ee/source-control/types/source-control-stage.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAuD;AAEvD,MAAa,kBAAkB;CAY9B;AAZD,gDAYC;AATA;IAFC,IAAA,0BAAQ,EAAC,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;IACxB,IAAA,4BAAU,GAAE;8BACD,GAAG;qDAAS;AAIxB;IAFC,IAAA,0BAAQ,EAAC,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;IACxB,IAAA,4BAAU,GAAE;8BACC,GAAG;uDAAS;AAI1B;IAFC,IAAA,0BAAQ,EAAC,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;IACxB,IAAA,4BAAU,GAAE;8BACG,GAAG;yDAAS"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"source-control-workflow-version-id.js","sourceRoot":"","sources":["../../../../src/environments.ee/source-control/types/source-control-workflow-version-id.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"source-controlled-file.js","sourceRoot":"","sources":["../../../../src/environments.ee/source-control/types/source-controlled-file.ts"],"names":[],"mappings":""}
|
|
@@ -3,17 +3,17 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.isVariablesEnabled = isVariablesEnabled;
|
|
4
4
|
exports.canCreateNewVariable = canCreateNewVariable;
|
|
5
5
|
exports.getVariablesLimit = getVariablesLimit;
|
|
6
|
-
const
|
|
6
|
+
const di_1 = require("@n8n/di");
|
|
7
7
|
const license_1 = require("../../license");
|
|
8
8
|
function isVariablesEnabled() {
|
|
9
|
-
const license =
|
|
9
|
+
const license = di_1.Container.get(license_1.License);
|
|
10
10
|
return license.isVariablesEnabled();
|
|
11
11
|
}
|
|
12
12
|
function canCreateNewVariable(variableCount) {
|
|
13
13
|
if (!isVariablesEnabled()) {
|
|
14
14
|
return false;
|
|
15
15
|
}
|
|
16
|
-
const license =
|
|
16
|
+
const license = di_1.Container.get(license_1.License);
|
|
17
17
|
const limit = license.getVariablesLimit();
|
|
18
18
|
if (limit === -1) {
|
|
19
19
|
return true;
|
|
@@ -21,7 +21,7 @@ function canCreateNewVariable(variableCount) {
|
|
|
21
21
|
return limit > variableCount;
|
|
22
22
|
}
|
|
23
23
|
function getVariablesLimit() {
|
|
24
|
-
const license =
|
|
24
|
+
const license = di_1.Container.get(license_1.License);
|
|
25
25
|
return license.getVariablesLimit();
|
|
26
26
|
}
|
|
27
27
|
//# sourceMappingURL=environment-helpers.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"environment-helpers.js","sourceRoot":"","sources":["../../../src/environments.ee/variables/environment-helpers.ts"],"names":[],"mappings":";;AAIA,gDAGC;AAED,oDAYC;AAED,8CAGC;AA1BD,gCAAoC;AAEpC,uCAAoC;AAEpC,SAAgB,kBAAkB;IACjC,MAAM,OAAO,GAAG,cAAS,CAAC,GAAG,CAAC,iBAAO,CAAC,CAAC;IACvC,OAAO,OAAO,CAAC,kBAAkB,EAAE,CAAC;AACrC,CAAC;AAED,SAAgB,oBAAoB,CAAC,aAAqB;IACzD,IAAI,CAAC,kBAAkB,EAAE,EAAE,CAAC;QAC3B,OAAO,KAAK,CAAC;IACd,CAAC;IACD,MAAM,OAAO,GAAG,cAAS,CAAC,GAAG,CAAC,iBAAO,CAAC,CAAC;IAGvC,MAAM,KAAK,GAAG,OAAO,CAAC,iBAAiB,EAAE,CAAC;IAC1C,IAAI,KAAK,KAAK,CAAC,CAAC,EAAE,CAAC;QAClB,OAAO,IAAI,CAAC;IACb,CAAC;IACD,OAAO,KAAK,GAAG,aAAa,CAAC;AAC9B,CAAC;AAED,SAAgB,iBAAiB;IAChC,MAAM,OAAO,GAAG,cAAS,CAAC,GAAG,CAAC,iBAAO,CAAC,CAAC;IACvC,OAAO,OAAO,CAAC,iBAAiB,EAAE,CAAC;AACpC,CAAC"}
|
|
@@ -15,7 +15,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
15
15
|
exports.VariablesController = void 0;
|
|
16
16
|
const api_types_1 = require("@n8n/api-types");
|
|
17
17
|
const decorators_1 = require("../../decorators");
|
|
18
|
-
const args_1 = require("../../decorators/args");
|
|
19
18
|
const bad_request_error_1 = require("../../errors/response-errors/bad-request.error");
|
|
20
19
|
const not_found_error_1 = require("../../errors/response-errors/not-found.error");
|
|
21
20
|
const variable_count_limit_reached_error_1 = require("../../errors/variable-count-limit-reached.error");
|
|
@@ -79,7 +78,7 @@ exports.VariablesController = VariablesController;
|
|
|
79
78
|
__decorate([
|
|
80
79
|
(0, decorators_1.Get)('/'),
|
|
81
80
|
(0, decorators_1.GlobalScope)('variable:list'),
|
|
82
|
-
__param(2,
|
|
81
|
+
__param(2, decorators_1.Query),
|
|
83
82
|
__metadata("design:type", Function),
|
|
84
83
|
__metadata("design:paramtypes", [Object, Object, api_types_1.VariableListRequestDto]),
|
|
85
84
|
__metadata("design:returntype", Promise)
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"variables.controller.ee.js","sourceRoot":"","sources":["../../../src/environments.ee/variables/variables.controller.ee.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,8CAAwD;AAExD,6CASsB;AACtB,kFAA6E;AAC7E,8EAAyE;AACzE,oGAA6F;AAC7F,kFAA6E;AAG7E,iEAA0D;AAGnD,IAAM,mBAAmB,GAAzB,MAAM,mBAAmB;IAC/B,YAA6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C1B,IAAA,wBAAW,EAAC,iBAAiB,CAAC;;;;yDAe9B;AAIK;IAFL,IAAA,mBAAM,EAAC,YAAY,CAAC;IACpB,IAAA,wBAAW,EAAC,iBAAiB,CAAC;;;;yDAM9B;8BAhEW,mBAAmB;IAD/B,IAAA,2BAAc,EAAC,YAAY,CAAC;qCAEmB,uCAAgB;GADnD,mBAAmB,CAiE/B"}
|
|
@@ -11,7 +11,7 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
11
11
|
var VariablesService_1;
|
|
12
12
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
13
13
|
exports.VariablesService = void 0;
|
|
14
|
-
const
|
|
14
|
+
const di_1 = require("@n8n/di");
|
|
15
15
|
const variables_repository_1 = require("../../databases/repositories/variables.repository");
|
|
16
16
|
const generators_1 = require("../../databases/utils/generators");
|
|
17
17
|
const variable_count_limit_reached_error_1 = require("../../errors/variable-count-limit-reached.error");
|
|
@@ -28,7 +28,7 @@ let VariablesService = VariablesService_1 = class VariablesService {
|
|
|
28
28
|
async getAllCached(state) {
|
|
29
29
|
let variables = await this.cacheService.get('variables', {
|
|
30
30
|
async refreshFn() {
|
|
31
|
-
return await
|
|
31
|
+
return await di_1.Container.get(VariablesService_1).findAll();
|
|
32
32
|
},
|
|
33
33
|
});
|
|
34
34
|
if (variables === undefined) {
|
|
@@ -94,7 +94,7 @@ let VariablesService = VariablesService_1 = class VariablesService {
|
|
|
94
94
|
};
|
|
95
95
|
exports.VariablesService = VariablesService;
|
|
96
96
|
exports.VariablesService = VariablesService = VariablesService_1 = __decorate([
|
|
97
|
-
(0,
|
|
97
|
+
(0, di_1.Service)(),
|
|
98
98
|
__metadata("design:paramtypes", [cache_service_1.CacheService,
|
|
99
99
|
variables_repository_1.VariablesRepository,
|
|
100
100
|
event_service_1.EventService])
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"variables.service.ee.js","sourceRoot":"","sources":["../../../src/environments.ee/variables/variables.service.ee.ts"],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M,IAAI,CAAC,QAAQ,EAAE,CAAC,EAAE,CAAC;YAClD,MAAM,IAAI,mEAA8B,CAAC,yBAAyB,CAAC,CAAC;QACrE,CAAC;QACD,IAAI,CAAC,gBAAgB,CAAC,QAAQ,CAAC,CAAC;QAEhC,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,kBAAkB,CAAC,CAAC;QAC3C,MAAM,UAAU,GAAG,MAAM,IAAI,CAAC,mBAAmB,CAAC,IAAI,CACrD;YACC,GAAG,QAAQ;YACX,EAAE,EAAE,IAAA,2BAAc,GAAE;SACpB,EACD,EAAE,WAAW,EAAE,KAAK,EAAE,CACtB,CAAC;QACF,MAAM,IAAI,CAAC,WAAW,EAAE,CAAC;QACzB,OAAO,UAAU,CAAC;IACnB,CAAC;IAED,KAAK,CAAC,MAAM,CAAC,EAAU,EAAE,QAA+B;QACvD,IAAI,CAAC,gBAAgB,CAAC,QAAQ,CAAC,CAAC;QAChC,MAAM,IAAI,CAAC,mBAAmB,CAAC,MAAM,CAAC,EAAE,EAAE,QAAQ,CAAC,CAAC;QACpD,MAAM,IAAI,CAAC,WAAW,EAAE,CAAC;QACzB,OAAO,CAAC,MAAM,IAAI,CAAC,SAAS,CAAC,EAAE,CAAC,CAAE,CAAC;IACpC,CAAC;CACD,CAAA;AAzFY,4CAAgB;2BAAhB,gBAAgB;IAD5B,IAAA,YAAO,GAAE;qCAGgB,4BAAY;QACL,0CAAmB;QACnB,4BAAY;GAJhC,gBAAgB,CAyF5B"}
|
|
@@ -4,7 +4,7 @@ exports.FeatureNotLicensedError = void 0;
|
|
|
4
4
|
const n8n_workflow_1 = require("n8n-workflow");
|
|
5
5
|
class FeatureNotLicensedError extends n8n_workflow_1.ApplicationError {
|
|
6
6
|
constructor(feature) {
|
|
7
|
-
super(`Your license does not allow for ${feature}. To enable ${feature}, please upgrade to a license that supports this feature
|
|
7
|
+
super(`Your license does not allow for ${feature}. To enable ${feature}, please upgrade to a license that supports this feature.`, { level: 'warning' });
|
|
8
8
|
}
|
|
9
9
|
}
|
|
10
10
|
exports.FeatureNotLicensedError = FeatureNotLicensedError;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"feature-not-licensed.error.js","sourceRoot":"","sources":["../../src/errors/feature-not-licensed.error.ts"],"names":[],"mappings":";;;AAAA,+CAAgD;AAIhD,MAAa,uBAAwB,SAAQ,+BAAgB;IAC5D,YAAY,OAAiE;QAC5E,KAAK,CACJ,mCAAmC,OAAO,eAAe,OAAO,2DAA2D,
|
|
1
|
+
{"version":3,"file":"feature-not-licensed.error.js","sourceRoot":"","sources":["../../src/errors/feature-not-licensed.error.ts"],"names":[],"mappings":";;;AAAA,+CAAgD;AAIhD,MAAa,uBAAwB,SAAQ,+BAAgB;IAC5D,YAAY,OAAiE;QAC5E,KAAK,CACJ,mCAAmC,OAAO,eAAe,OAAO,2DAA2D,EAC3H,EAAE,KAAK,EAAE,SAAS,EAAE,CACpB,CAAC;IACH,CAAC;CACD;AAPD,0DAOC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"metric.schema.js","sourceRoot":"","sources":["../../src/evaluation.ee/metric.schema.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AAEX,QAAA,iCAAiC,GAAG,OAAC;KAChD,MAAM,CAAC;IACP,IAAI,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,GAAG,CAAC;CAChC,CAAC;KACD,MAAM,EAAE,CAAC;AAEE,QAAA,gCAAgC,GAAG,OAAC;KAC/C,MAAM,CAAC;IACP,IAAI,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,GAAG,CAAC;CAChC,CAAC;KACD,MAAM,EAAE,CAAC"}
|
|
@@ -17,7 +17,7 @@ const express_1 = __importDefault(require("express"));
|
|
|
17
17
|
const test_metric_repository_ee_1 = require("../databases/repositories/test-metric.repository.ee");
|
|
18
18
|
const decorators_1 = require("../decorators");
|
|
19
19
|
const not_found_error_1 = require("../errors/response-errors/not-found.error");
|
|
20
|
-
const metric_schema_1 = require("../evaluation/metric.schema");
|
|
20
|
+
const metric_schema_1 = require("../evaluation.ee/metric.schema");
|
|
21
21
|
const workflows_service_1 = require("../public-api/v1/handlers/workflows/workflows.service");
|
|
22
22
|
const test_definition_service_ee_1 = require("./test-definition.service.ee");
|
|
23
23
|
let TestMetricsController = class TestMetricsController {
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"metrics.controller.js","sourceRoot":"","sources":["../../src/evaluation.ee/metrics.controller.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,sDAA8B;AAE9B,kGAA0F;AAC1F,6CAAwE;AACxE,8EAAyE;AACzE,iEAGuC;AACvC,4FAA4F;AAE5F,6EAAqE;AAI9D,IAAM,qBAAqB,GAA3B,MAAM,qBAAqB;IACjC,YACkB,qBAA4C,EAC5C,oBAA0C;QAD1C,0BAAqB,GAArB,qBAAqB,CAAuB;QAC5C,yBAAoB,GAApB,oBAAoB,CAAsB;IACzD,CAAC;IAII,KAAK,CAAC,iBAAiB,CAC9B,GAK4B;QAE5B,MAAM,EAAE,gBAAgB,EAAE,GAAG,GAAG,CAAC,MAAM,CAAC;QAExC,MAAM,yBAAyB,GAAG,MAAM,IAAA,wCAAoB,EAAC,GAAG,CAAC,IAAI,EAAE,CAAC,eAAe,CAAC,CAAC,CAAC;QAE1F,MAAM,cAAc,GAAG,MAAM,IAAI,CAAC,qBAAqB,CAAC,OAAO,CAC9D,gBAAgB,EAChB,yBAAyB,CACzB,CAAC;QAEF,IAAI,CAAC,cAAc;YAAE,MAAM,IAAI,+BAAa,CAAC,2BAA2B,CAAC,CAAC;QAE1E,OAAO,cAAc,CAAC;IACvB,CAAC;IAGK,AAAN,KAAK,CAAC,OAAO,CAAC,GAA+B;QAC5C,MAAM,EAAE,gBAAgB,EAAE,GAAG,GAAG,CAAC,MAAM,C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,CAAC,CAAC;QAElC,MAAM,MAAM,GAAG,MAAM,IAAI,CAAC,oBAAoB,CAAC,OAAO,CAAC;YACtD,KAAK,EAAE,EAAE,EAAE,EAAE,QAAQ,EAAE,cAAc,EAAE,EAAE,EAAE,EAAE,gBAAgB,EAAE,EAAE;SACjE,CAAC,CAAC;QAEH,IAAI,CAAC,MAAM;YAAE,MAAM,IAAI,+BAAa,CAAC,kBAAkB,CAAC,CAAC;QAEzD,MAAM,IAAI,CAAC,oBAAoB,CAAC,MAAM,CAAC,QAAQ,CAAC,CAAC;QAEjD,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;IAC1B,CAAC;CACD,CAAA;AAlHY,sDAAqB;AA+B3B;IADL,IAAA,gBAAG,EAAC,4BAA4B,CAAC;;;;oDASjC;AAGK;IADL,IAAA,gBAAG,EAAC,gCAAgC,CAAC;;;;mDAarC;AAGK;IADL,IAAA,iBAAI,EAAC,4BAA4B,CAAC;;;;mDAgBlC;AAGK;IADL,IAAA,kBAAK,EAAC,gCAAgC,CAAC;;;;kDAsBvC;AAGK;IADL,IAAA,mBAAM,EAAC,gCAAgC,CAAC;;;;mDAexC;gCAjHW,qBAAqB;IADjC,IAAA,2BAAc,EAAC,8BAA8B,CAAC;qCAGL,kDAAqB;QACtB,gDAAoB;GAHhD,qBAAqB,CAkHjC"}
|
|
@@ -24,16 +24,20 @@ export declare const testDefinitionPatchRequestBodySchema: z.ZodObject<{
|
|
|
24
24
|
evaluationWorkflowId: z.ZodOptional<z.ZodString>;
|
|
25
25
|
annotationTagId: z.ZodOptional<z.ZodString>;
|
|
26
26
|
mockedNodes: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
27
|
+
id: z.ZodString;
|
|
27
28
|
name: z.ZodString;
|
|
28
29
|
}, "strip", z.ZodTypeAny, {
|
|
30
|
+
id: string;
|
|
29
31
|
name: string;
|
|
30
32
|
}, {
|
|
33
|
+
id: string;
|
|
31
34
|
name: string;
|
|
32
35
|
}>, "many">>;
|
|
33
36
|
}, "strict", z.ZodTypeAny, {
|
|
34
37
|
name?: string | undefined;
|
|
35
38
|
description?: string | undefined;
|
|
36
39
|
mockedNodes?: {
|
|
40
|
+
id: string;
|
|
37
41
|
name: string;
|
|
38
42
|
}[] | undefined;
|
|
39
43
|
evaluationWorkflowId?: string | undefined;
|
|
@@ -42,6 +46,7 @@ export declare const testDefinitionPatchRequestBodySchema: z.ZodObject<{
|
|
|
42
46
|
name?: string | undefined;
|
|
43
47
|
description?: string | undefined;
|
|
44
48
|
mockedNodes?: {
|
|
49
|
+
id: string;
|
|
45
50
|
name: string;
|
|
46
51
|
}[] | undefined;
|
|
47
52
|
evaluationWorkflowId?: string | undefined;
|
|
@@ -17,7 +17,7 @@ exports.testDefinitionPatchRequestBodySchema = zod_1.z
|
|
|
17
17
|
description: zod_1.z.string().optional(),
|
|
18
18
|
evaluationWorkflowId: zod_1.z.string().min(1).optional(),
|
|
19
19
|
annotationTagId: zod_1.z.string().min(1).optional(),
|
|
20
|
-
mockedNodes: zod_1.z.array(zod_1.z.object({ name: zod_1.z.string() })).optional(),
|
|
20
|
+
mockedNodes: zod_1.z.array(zod_1.z.object({ id: zod_1.z.string(), name: zod_1.z.string() })).optional(),
|
|
21
21
|
})
|
|
22
22
|
.strict();
|
|
23
23
|
//# sourceMappingURL=test-definition.schema.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"test-definition.schema.js","sourceRoot":"","sources":["../../src/evaluation.ee/test-definition.schema.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AAEX,QAAA,qCAAqC,GAAG,OAAC;KACpD,MAAM,CAAC;IACP,IAAI,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,GAAG,CAAC;IAChC,UAAU,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC;IAC7B,WAAW,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAClC,oBAAoB,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,QAAQ,EAAE;IAClD,eAAe,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,QAAQ,EAAE;CAC7C,CAAC;KACD,MAAM,EAAE,CAAC;AAEE,QAAA,oCAAoC,GAAG,OAAC;KACnD,MAAM,CAAC;IACP,IAAI,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC,QAAQ,EAAE;IAC3C,WAAW,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAClC,oBAAoB,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,QAAQ,EAAE;IAClD,eAAe,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,QAAQ,EAAE;IAC7C,WAAW,EAAE,OAAC,CAAC,KAAK,CAAC,OAAC,CAAC,MAAM,CAAC,EAAE,EAAE,EAAE,OAAC,CAAC,MAAM,EAAE,EAAE,IAAI,EAAE,OAAC,CAAC,MAAM,EAAE,EAAE,CAAC,CAAC,CAAC,QAAQ,EAAE;CAC/E,CAAC;KACD,MAAM,EAAE,CAAC"}
|
|
@@ -10,7 +10,7 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
10
10
|
};
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
12
|
exports.TestDefinitionService = void 0;
|
|
13
|
-
const
|
|
13
|
+
const di_1 = require("@n8n/di");
|
|
14
14
|
const annotation_tag_repository_ee_1 = require("../databases/repositories/annotation-tag.repository.ee");
|
|
15
15
|
const test_definition_repository_ee_1 = require("../databases/repositories/test-definition.repository.ee");
|
|
16
16
|
const bad_request_error_1 = require("../errors/response-errors/bad-request.error");
|
|
@@ -85,12 +85,19 @@ let TestDefinitionService = class TestDefinitionService {
|
|
|
85
85
|
},
|
|
86
86
|
relations: ['workflow'],
|
|
87
87
|
});
|
|
88
|
-
const existingNodeNames = new
|
|
88
|
+
const existingNodeNames = new Map(existingTestDefinition.workflow.nodes.map((n) => [n.name, n]));
|
|
89
|
+
const existingNodeIds = new Map(existingTestDefinition.workflow.nodes.map((n) => [n.id, n]));
|
|
89
90
|
attrs.mockedNodes.forEach((node) => {
|
|
90
|
-
if (!existingNodeNames.has(node.name)) {
|
|
91
|
-
throw new bad_request_error_1.BadRequestError(`Pinned node not found in the workflow: ${node.name}`);
|
|
91
|
+
if (!existingNodeIds.has(node.id) || (node.name && !existingNodeNames.has(node.name))) {
|
|
92
|
+
throw new bad_request_error_1.BadRequestError(`Pinned node not found in the workflow: ${node.id} (${node.name})`);
|
|
92
93
|
}
|
|
93
94
|
});
|
|
95
|
+
attrs.mockedNodes = attrs.mockedNodes.map((node) => {
|
|
96
|
+
return {
|
|
97
|
+
id: node.id ?? (node.name && existingNodeNames.get(node.name)?.id),
|
|
98
|
+
name: node.name ?? (node.id && existingNodeIds.get(node.id)?.name),
|
|
99
|
+
};
|
|
100
|
+
});
|
|
94
101
|
}
|
|
95
102
|
const queryResult = await this.testDefinitionRepository.update(id, this.toEntityLike(attrs));
|
|
96
103
|
if (queryResult.affected === 0) {
|
|
@@ -109,7 +116,7 @@ let TestDefinitionService = class TestDefinitionService {
|
|
|
109
116
|
};
|
|
110
117
|
exports.TestDefinitionService = TestDefinitionService;
|
|
111
118
|
exports.TestDefinitionService = TestDefinitionService = __decorate([
|
|
112
|
-
(0,
|
|
119
|
+
(0, di_1.Service)(),
|
|
113
120
|
__metadata("design:paramtypes", [test_definition_repository_ee_1.TestDefinitionRepository,
|
|
114
121
|
annotation_tag_repository_ee_1.AnnotationTagRepository])
|
|
115
122
|
], TestDefinitionService);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"test-definition.service.ee.js","sourceRoot":"","sources":["../../src/evaluation.ee/test-definition.service.ee.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,gCAAkC;AAGlC,wGAAgG;AAChG,0GAAkG;AAClG,kFAA6E;AAC7E,8EAAyE;AACzE,uDAAmD;AAa5C,IAAM,qBAAqB,GAA3B,MAAM,qBAAqB;IACjC,YACS,wBAAkD,EAClD,uBAAgD;QADhD,6BAAwB,GAAxB,wBAAwB,CAA0B;QAClD,4BAAuB,GAAvB,uBAAuB,CAAyB;IACtD,CAAC;IAEI,YAAY,CAAC,KAQpB;QACA,MAAM,MAAM,GAAuB,EAAE,CAAC;QAEtC,IAAI,KAAK,CAAC,EAAE,EAAE,CAAC;YACd,MAAM,CAAC,EAAE,GAAG,KAAK,CAAC,EAAE,CAAC;QACtB,CAAC;QAED,IAAI,KAAK,CAAC,IAAI,EAAE,CAAC;YAChB,MAAM,CAAC,IAAI,GAAG,KAAK,CAAC,IAAI,EAAE,IAAI,EAAE,CAAC;QAClC,CAAC;QAED,IAAI,KAAK,CAAC,WAAW,EAAE,CAAC;YACvB,MAAM,CAAC,WAAW,GAAG,KAAK,CAAC,WAAW,CAAC,IAAI,EAAE,CAAC;QAC/C,CAAC;QAED,IAAI,KAAK,CAAC,UAAU,EAAE,CAAC;YACtB,MAAM,CAAC,QAAQ,GAAG;gBACjB,EAAE,EAAE,KAAK,CAAC,UAAU;aACpB,CAAC;QACH,CAAC;QAED,IAAI,KAAK,CAAC,oBAAoB,EAAE,CAAC;YAChC,MAAM,CAAC,kBAAkB,GAAG;gBAC3B,EAAE,EAAE,KAAK,CAAC,oBAAoB;aAC9B,CAAC;QACH,CAAC;QAED,IAAI,KAAK,CAAC,eAAe,EAAE,CAAC;YAC3B,MAAM,CAAC,aAAa,GAAG;gBACtB,EAAE,EAAE,KAAK,CAAC,eAAe;aACzB,CAAC;QACH,CAAC;QAED,IAAI,KAAK,CAAC,WAAW,EAAE,CAAC;YACvB,MAAM,CAAC,WAAW,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CAAC,EAAE,IAAI,CAAC;iBAClE,CAAC;YACH,CAAC,CAAC,CAAC;QACJ,CAAC;QAGD,MAAM,WAAW,GAAG,MAAM,IAAI,CAAC,wBAAwB,CAAC,MAAM,CAAC,EAAE,EAAE,IAAI,CAAC,YAAY,CAAC,KAAK,CAAC,CAAC,CAAC;QAE7F,IAAI,WAAW,CAAC,QAAQ,KAAK,CAAC,EAAE,CAAC;YAChC,MAAM,IAAI,+BAAa,CAAC,2BAA2B,CAAC,CAAC;QACtD,CAAC;IACF,CAAC;IAED,KAAK,CAAC,MAAM,CAAC,EAAU,EAAE,qBAA+B;QACvD,MAAM,YAAY,GAAG,MAAM,IAAI,CAAC,wBAAwB,CAAC,UAAU,CAAC,EAAE,EAAE,qBAAqB,CAAC,CAAC;QAE/F,IAAI,YAAY,CAAC,QAAQ,KAAK,CAAC,EAAE,CAAC;YACjC,MAAM,IAAI,+BAAa,CAAC,2BAA2B,CAAC,CAAC;QACtD,CAAC;IACF,CAAC;IAED,KAAK,CAAC,OAAO,CAAC,OAA0B,EAAE,wBAAkC,EAAE;QAC7E,OAAO,MAAM,IAAI,CAAC,wBAAwB,CAAC,OAAO,CAAC,qBAAqB,EAAE,OAAO,CAAC,CAAC;IACpF,CAAC;CACD,CAAA;AAhJY,sDAAqB;gCAArB,qBAAqB;IADjC,IAAA,YAAO,GAAE;qCAG0B,wDAAwB;QACzB,sDAAuB;GAH7C,qBAAqB,CAgJjC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import express from 'express';
|
|
2
|
-
import { TestRunnerService } from '../evaluation/test-runner/test-runner.service.ee';
|
|
2
|
+
import { TestRunnerService } from '../evaluation.ee/test-runner/test-runner.service.ee';
|
|
3
3
|
import { TestDefinitionService } from './test-definition.service.ee';
|
|
4
4
|
import { TestDefinitionsRequest } from './test-definitions.types.ee';
|
|
5
5
|
export declare class TestDefinitionsController {
|
|
@@ -18,8 +18,8 @@ const node_assert_1 = __importDefault(require("node:assert"));
|
|
|
18
18
|
const decorators_1 = require("../decorators");
|
|
19
19
|
const forbidden_error_1 = require("../errors/response-errors/forbidden.error");
|
|
20
20
|
const not_found_error_1 = require("../errors/response-errors/not-found.error");
|
|
21
|
-
const test_definition_schema_1 = require("../evaluation/test-definition.schema");
|
|
22
|
-
const test_runner_service_ee_1 = require("../evaluation/test-runner/test-runner.service.ee");
|
|
21
|
+
const test_definition_schema_1 = require("../evaluation.ee/test-definition.schema");
|
|
22
|
+
const test_runner_service_ee_1 = require("../evaluation.ee/test-runner/test-runner.service.ee");
|
|
23
23
|
const middlewares_1 = require("../middlewares");
|
|
24
24
|
const workflows_service_1 = require("../public-api/v1/handlers/workflows/workflows.service");
|
|
25
25
|
const test_definition_service_ee_1 = require("./test-definition.service.ee");
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"test-definitions.controller.ee.js","sourceRoot":"","sources":["../../src/evaluation.ee/test-definitions.controller.ee.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,sDAA8B;AAC9B,8DAAiC;AAEjC,6CAAwE;AACxE,8EAA0E;AAC1E,8EAAyE;AACzE,mFAGgD;AAChD,+FAAuF;AACvF,+CAAoD;AACpD,4FAA4F;AAE5F,6EAAqE;AAI9D,IAAM,yBAAyB,GAA/B,MAAM,yBAAyB;IACrC,YACkB,qBAA4C,EAC5C,iBAAoC;QADpC,0BAAqB,GAArB,qBAAqB,CAAuB;QAC5C,sBAAiB,GAAjB,iBAAiB,CAAmB;IACnD,CAAC;IAGE,AAAN,KAAK,CAAC,OAAO,CAAC,GAAmC;QAChD,MAAM,yBAAyB,GAAG,MAAM,IAAA,wCAAoB,EAAC,GAAG,CAAC,IAAI,EAAE,CAAC,eAAe,CAAC,CAAC,CAAC;QAE1F,OAAO,MAAM,IAAI,CAAC,qBAAqB,CAAC,OAAO,CAC9C,GAAG,CAAC,gBAAgB,EACpB,yBAAyB,CACzB,CAAC;IACH,CAAC;IAGK,AAAN,KAAK,CAAC,MAAM,CAAC,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AAE,IAAI,EAAE,CAAC,CAAC;IACzC,CAAC;CACD,CAAA;AAjIY,8DAAyB;AAO/B;IADL,IAAA,gBAAG,EAAC,GAAG,EAAE,EAAE,WAAW,EAAE,iCAAmB,EAAE,CAAC;;;;wDAQ9C;AAGK;IADL,IAAA,gBAAG,EAAC,MAAM,CAAC;;;;uDAcX;AAGK;IADL,IAAA,iBAAI,EAAC,GAAG,CAAC;;;;uDAwBT;AAGK;IADL,IAAA,mBAAM,EAAC,MAAM,CAAC;;;;uDAYd;AAGK;IADL,IAAA,kBAAK,EAAC,MAAM,CAAC;;;;sDAwCb;AAGK;IADL,IAAA,iBAAI,EAAC,UAAU,CAAC;;;;wDAchB;oCAhIW,yBAAyB;IADrC,IAAA,2BAAc,EAAC,8BAA8B,CAAC;qCAGL,kDAAqB;QACzB,0CAAiB;GAH1C,yBAAyB,CAiIrC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"test-definitions.types.ee.js","sourceRoot":"","sources":["../../src/evaluation.ee/test-definitions.types.ee.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"evaluation-metrics.ee.js","sourceRoot":"","sources":["../../../src/evaluation.ee/test-runner/evaluation-metrics.ee.ts"],"names":[],"mappings":";;;AAEA,MAAa,iBAAiB;IAG7B,YAA6B,WAAwB;QAAxB,gBAAW,GAAX,WAAW,CAAa;QAFpC,qBAAgB,GAAG,IAAI,GAAG,EAAoB,CAAC;QAG/D,KAAK,MAAM,UAAU,IAAI,WAAW,EAAE,CAAC;YACtC,IAAI,CAAC,gBAAgB,CAAC,GAAG,CAAC,UAAU,EAAE,EAAE,CAAC,CAAC;QAC3C,CAAC;IACF,CAAC;IAED,UAAU,CAAC,MAAmB;QAC7B,KAAK,MAAM,CAAC,UAAU,EAAE,WAAW,CAAC,IAAI,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,EAAE,CAAC;YAChE,IAAI,OAAO,WAAW,KAAK,QAAQ,IAAI,IAAI,CAAC,WAAW,CAAC,GAAG,CAAC,UAAU,CAAC,EAAE,CAAC;gBACzE,IAAI,CAAC,gBAAgB,CAAC,GAAG,CAAC,UAAU,CAAE,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC;YAC1D,CAAC;QACF,CAAC;IACF,CAAC;IAED,oBAAoB;QACnB,MAAM,iBAAiB,GAA2B,EAAE,CAAC;QAErD,KAAK,MAAM,CAAC,UAAU,EAAE,YAAY,CAAC,IAAI,IAAI,CAAC,gBAAgB,CAAC,OAAO,EAAE,EAAE,CAAC;YAC1E,IAAI,YAAY,CAAC,MAAM,GAAG,CAAC,EAAE,CAAC;gBAC7B,MAAM,SAAS,GAAG,YAAY,CAAC,MAAM,CAAC,CAAC,GAAG,EAAE,GAAG,EAAE,EAAE,CAAC,GAAG,GAAG,GAAG,EAAE,CAAC,CAAC,CAAC;gBAClE,iBAAiB,CAAC,UAAU,CAAC,GAAG,SAAS,GAAG,YAAY,CAAC,MAAM,CAAC;YACjE,CAAC;QACF,CAAC;QAED,OAAO,iBAAiB,CAAC;IAC1B,CAAC;CACD;AA7BD,8CA6BC"}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { ErrorReporter } from 'n8n-core';
|
|
1
2
|
import { ActiveExecutions } from '../../active-executions';
|
|
2
3
|
import type { TestDefinition } from '../../databases/entities/test-definition.ee';
|
|
3
4
|
import type { User } from '../../databases/entities/user';
|
|
@@ -15,7 +16,8 @@ export declare class TestRunnerService {
|
|
|
15
16
|
private readonly testRunRepository;
|
|
16
17
|
private readonly testMetricRepository;
|
|
17
18
|
private readonly nodeTypes;
|
|
18
|
-
|
|
19
|
+
private readonly errorReporter;
|
|
20
|
+
constructor(workflowRepository: WorkflowRepository, workflowRunner: WorkflowRunner, executionRepository: ExecutionRepository, activeExecutions: ActiveExecutions, testRunRepository: TestRunRepository, testMetricRepository: TestMetricRepository, nodeTypes: NodeTypes, errorReporter: ErrorReporter);
|
|
19
21
|
private getStartNodesData;
|
|
20
22
|
private runTestCase;
|
|
21
23
|
private runTestCaseEvaluation;
|
|
@@ -13,10 +13,11 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
13
13
|
};
|
|
14
14
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
15
|
exports.TestRunnerService = void 0;
|
|
16
|
+
const di_1 = require("@n8n/di");
|
|
16
17
|
const flatted_1 = require("flatted");
|
|
18
|
+
const n8n_core_1 = require("n8n-core");
|
|
17
19
|
const n8n_workflow_1 = require("n8n-workflow");
|
|
18
20
|
const node_assert_1 = __importDefault(require("node:assert"));
|
|
19
|
-
const typedi_1 = require("typedi");
|
|
20
21
|
const active_executions_1 = require("../../active-executions");
|
|
21
22
|
const execution_repository_1 = require("../../databases/repositories/execution.repository");
|
|
22
23
|
const test_metric_repository_ee_1 = require("../../databases/repositories/test-metric.repository.ee");
|
|
@@ -28,7 +29,7 @@ const workflow_runner_1 = require("../../workflow-runner");
|
|
|
28
29
|
const evaluation_metrics_ee_1 = require("./evaluation-metrics.ee");
|
|
29
30
|
const utils_ee_1 = require("./utils.ee");
|
|
30
31
|
let TestRunnerService = class TestRunnerService {
|
|
31
|
-
constructor(workflowRepository, workflowRunner, executionRepository, activeExecutions, testRunRepository, testMetricRepository, nodeTypes) {
|
|
32
|
+
constructor(workflowRepository, workflowRunner, executionRepository, activeExecutions, testRunRepository, testMetricRepository, nodeTypes, errorReporter) {
|
|
32
33
|
this.workflowRepository = workflowRepository;
|
|
33
34
|
this.workflowRunner = workflowRunner;
|
|
34
35
|
this.executionRepository = executionRepository;
|
|
@@ -36,6 +37,7 @@ let TestRunnerService = class TestRunnerService {
|
|
|
36
37
|
this.testRunRepository = testRunRepository;
|
|
37
38
|
this.testMetricRepository = testMetricRepository;
|
|
38
39
|
this.nodeTypes = nodeTypes;
|
|
40
|
+
this.errorReporter = errorReporter;
|
|
39
41
|
}
|
|
40
42
|
getStartNodesData(workflow, pastExecutionData) {
|
|
41
43
|
const workflowInstance = new n8n_workflow_1.Workflow({
|
|
@@ -63,8 +65,8 @@ let TestRunnerService = class TestRunnerService {
|
|
|
63
65
|
triggerToStartFrom,
|
|
64
66
|
};
|
|
65
67
|
}
|
|
66
|
-
async runTestCase(workflow, pastExecutionData, mockedNodes, userId) {
|
|
67
|
-
const pinData = (0, utils_ee_1.createPinData)(workflow, mockedNodes, pastExecutionData);
|
|
68
|
+
async runTestCase(workflow, pastExecutionData, pastExecutionWorkflowData, mockedNodes, userId) {
|
|
69
|
+
const pinData = (0, utils_ee_1.createPinData)(workflow, mockedNodes, pastExecutionData, pastExecutionWorkflowData);
|
|
68
70
|
const data = {
|
|
69
71
|
...this.getStartNodesData(workflow, pastExecutionData),
|
|
70
72
|
executionMode: 'evaluation',
|
|
@@ -78,7 +80,7 @@ let TestRunnerService = class TestRunnerService {
|
|
|
78
80
|
const executePromise = this.activeExecutions.getPostExecutePromise(executionId);
|
|
79
81
|
return await executePromise;
|
|
80
82
|
}
|
|
81
|
-
async runTestCaseEvaluation(evaluationWorkflow, expectedData, actualData) {
|
|
83
|
+
async runTestCaseEvaluation(evaluationWorkflow, expectedData, actualData, testRunId) {
|
|
82
84
|
const evaluationInputData = {
|
|
83
85
|
json: {
|
|
84
86
|
originalExecution: expectedData,
|
|
@@ -86,6 +88,11 @@ let TestRunnerService = class TestRunnerService {
|
|
|
86
88
|
},
|
|
87
89
|
};
|
|
88
90
|
const data = await (0, workflow_execute_additional_data_1.getRunData)(evaluationWorkflow, [evaluationInputData]);
|
|
91
|
+
if (testRunId && data.executionData) {
|
|
92
|
+
data.executionData.resultData.metadata = {
|
|
93
|
+
testRunId,
|
|
94
|
+
};
|
|
95
|
+
}
|
|
89
96
|
data.executionMode = 'evaluation';
|
|
90
97
|
const executionId = await this.workflowRunner.run(data);
|
|
91
98
|
(0, node_assert_1.default)(executionId);
|
|
@@ -125,24 +132,37 @@ let TestRunnerService = class TestRunnerService {
|
|
|
125
132
|
.andWhere('execution.workflowId = :workflowId', { workflowId: test.workflowId })
|
|
126
133
|
.getMany();
|
|
127
134
|
const testMetricNames = await this.getTestMetricNames(test.id);
|
|
128
|
-
await this.testRunRepository.markAsRunning(testRun.id);
|
|
135
|
+
await this.testRunRepository.markAsRunning(testRun.id, pastExecutions.length);
|
|
129
136
|
const metrics = new evaluation_metrics_ee_1.EvaluationMetrics(testMetricNames);
|
|
130
137
|
for (const { id: pastExecutionId } of pastExecutions) {
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
138
|
+
try {
|
|
139
|
+
const pastExecution = await this.executionRepository.findOne({
|
|
140
|
+
where: { id: pastExecutionId },
|
|
141
|
+
relations: ['executionData', 'metadata'],
|
|
142
|
+
});
|
|
143
|
+
(0, node_assert_1.default)(pastExecution, 'Execution not found');
|
|
144
|
+
const executionData = (0, flatted_1.parse)(pastExecution.executionData.data);
|
|
145
|
+
const testCaseExecution = await this.runTestCase(workflow, executionData, pastExecution.executionData.workflowData, test.mockedNodes, user.id);
|
|
146
|
+
if (!testCaseExecution) {
|
|
147
|
+
await this.testRunRepository.incrementFailed(testRun.id);
|
|
148
|
+
continue;
|
|
149
|
+
}
|
|
150
|
+
const testCaseRunData = testCaseExecution.data.resultData.runData;
|
|
151
|
+
const originalRunData = executionData.resultData.runData;
|
|
152
|
+
const evalExecution = await this.runTestCaseEvaluation(evaluationWorkflow, originalRunData, testCaseRunData, testRun.id);
|
|
153
|
+
(0, node_assert_1.default)(evalExecution);
|
|
154
|
+
metrics.addResults(this.extractEvaluationResult(evalExecution));
|
|
155
|
+
if (evalExecution.data.resultData.error) {
|
|
156
|
+
await this.testRunRepository.incrementFailed(testRun.id);
|
|
157
|
+
}
|
|
158
|
+
else {
|
|
159
|
+
await this.testRunRepository.incrementPassed(testRun.id);
|
|
160
|
+
}
|
|
161
|
+
}
|
|
162
|
+
catch (e) {
|
|
163
|
+
await this.testRunRepository.incrementFailed(testRun.id);
|
|
164
|
+
this.errorReporter.error(e);
|
|
140
165
|
}
|
|
141
|
-
const testCaseRunData = testCaseExecution.data.resultData.runData;
|
|
142
|
-
const originalRunData = executionData.resultData.runData;
|
|
143
|
-
const evalExecution = await this.runTestCaseEvaluation(evaluationWorkflow, originalRunData, testCaseRunData);
|
|
144
|
-
(0, node_assert_1.default)(evalExecution);
|
|
145
|
-
metrics.addResults(this.extractEvaluationResult(evalExecution));
|
|
146
166
|
}
|
|
147
167
|
const aggregatedMetrics = metrics.getAggregatedMetrics();
|
|
148
168
|
await this.testRunRepository.markAsCompleted(testRun.id, aggregatedMetrics);
|
|
@@ -150,13 +170,14 @@ let TestRunnerService = class TestRunnerService {
|
|
|
150
170
|
};
|
|
151
171
|
exports.TestRunnerService = TestRunnerService;
|
|
152
172
|
exports.TestRunnerService = TestRunnerService = __decorate([
|
|
153
|
-
(0,
|
|
173
|
+
(0, di_1.Service)(),
|
|
154
174
|
__metadata("design:paramtypes", [workflow_repository_1.WorkflowRepository,
|
|
155
175
|
workflow_runner_1.WorkflowRunner,
|
|
156
176
|
execution_repository_1.ExecutionRepository,
|
|
157
177
|
active_executions_1.ActiveExecutions,
|
|
158
178
|
test_run_repository_ee_1.TestRunRepository,
|
|
159
179
|
test_metric_repository_ee_1.TestMetricRepository,
|
|
160
|
-
node_types_1.NodeTypes
|
|
180
|
+
node_types_1.NodeTypes,
|
|
181
|
+
n8n_core_1.ErrorReporter])
|
|
161
182
|
], TestRunnerService);
|
|
162
183
|
//# sourceMappingURL=test-runner.service.ee.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"test-runner.service.ee.js","sourceRoot":"","sources":["../../../src/evaluation.ee/test-runner/test-runner.service.ee.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,gCAAkC;AAClC,qCAAgC;AAChC,uCAAyC;AACzC,+CAA4D;AAS5D,8DAAiC;AAEjC,2DAAuD;AAKvD,wFAAoF;AACpF,kG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C;qBAAM,CAAC;oBACP,MAAM,IAAI,CAAC,iBAAiB,CAAC,eAAe,CAAC,OAAO,CAAC,EAAE,CAAC,CAAC;gBAC1D,CAAC;YACF,CAAC;YAAC,OAAO,CAAC,EAAE,CAAC;gBAEZ,MAAM,IAAI,CAAC,iBAAiB,CAAC,eAAe,CAAC,OAAO,CAAC,EAAE,CAAC,CAAC;gBAEzD,IAAI,CAAC,aAAa,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC;YAC7B,CAAC;QACF,CAAC;QAED,MAAM,iBAAiB,GAAG,OAAO,CAAC,oBAAoB,EAAE,CAAC;QAEzD,MAAM,IAAI,CAAC,iBAAiB,CAAC,eAAe,CAAC,OAAO,CAAC,EAAE,EAAE,iBAAiB,CAAC,CAAC;IAC7E,CAAC;CACD,CAAA;AArQY,8CAAiB;4BAAjB,iBAAiB;IAD7B,IAAA,YAAO,GAAE;qCAG6B,wCAAkB;QACtB,gCAAc;QACT,0CAAmB;QACtB,oCAAgB;QACf,0CAAiB;QACd,gDAAoB;QAC/B,sBAAS;QACL,wBAAa;GATlC,iBAAiB,CAqQ7B"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { IRunExecutionData, IPinData } from 'n8n-workflow';
|
|
1
|
+
import type { IRunExecutionData, IPinData, IWorkflowBase } from 'n8n-workflow';
|
|
2
2
|
import type { MockedNodeItem } from '../../databases/entities/test-definition.ee';
|
|
3
3
|
import type { WorkflowEntity } from '../../databases/entities/workflow-entity';
|
|
4
|
-
export declare function createPinData(workflow: WorkflowEntity, mockedNodes: MockedNodeItem[], executionData: IRunExecutionData): IPinData;
|
|
4
|
+
export declare function createPinData(workflow: WorkflowEntity, mockedNodes: MockedNodeItem[], executionData: IRunExecutionData, pastWorkflowData?: IWorkflowBase): IPinData;
|
|
5
5
|
export declare function getPastExecutionTriggerNode(executionData: IRunExecutionData): string | undefined;
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.createPinData = createPinData;
|
|
7
|
+
exports.getPastExecutionTriggerNode = getPastExecutionTriggerNode;
|
|
8
|
+
const assert_1 = __importDefault(require("assert"));
|
|
9
|
+
function createPinData(workflow, mockedNodes, executionData, pastWorkflowData) {
|
|
10
|
+
const pinData = {};
|
|
11
|
+
const workflowNodeIds = new Map(workflow.nodes.map((node) => [node.id, node.name]));
|
|
12
|
+
const pastWorkflowNodeIds = new Map();
|
|
13
|
+
if (pastWorkflowData) {
|
|
14
|
+
for (const node of pastWorkflowData.nodes) {
|
|
15
|
+
pastWorkflowNodeIds.set(node.id, node.name);
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
for (const mockedNode of mockedNodes) {
|
|
19
|
+
(0, assert_1.default)(mockedNode.id, 'Mocked node ID is missing');
|
|
20
|
+
const nodeName = workflowNodeIds.get(mockedNode.id);
|
|
21
|
+
if (nodeName) {
|
|
22
|
+
const pastNodeName = pastWorkflowNodeIds.get(mockedNode.id) ?? nodeName;
|
|
23
|
+
const nodeData = executionData.resultData.runData[pastNodeName];
|
|
24
|
+
if (nodeData?.[0]?.data?.main?.[0]) {
|
|
25
|
+
pinData[nodeName] = nodeData[0]?.data?.main?.[0];
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
return pinData;
|
|
30
|
+
}
|
|
31
|
+
function getPastExecutionTriggerNode(executionData) {
|
|
32
|
+
return Object.keys(executionData.resultData.runData).find((nodeName) => {
|
|
33
|
+
const data = executionData.resultData.runData[nodeName];
|
|
34
|
+
return !data[0].source || data[0].source.length === 0 || data[0].source[0] === null;
|
|
35
|
+
});
|
|
36
|
+
}
|
|
37
|
+
//# sourceMappingURL=utils.ee.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":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AAQ,CAAC,CAAC,CAAC,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC,CAAC,CAAC,CAAC;YAClD,CAAC;QACF,CAAC;IACF,CAAC;IAED,OAAO,OAAO,CAAC;AAChB,CAAC;AAMD,SAAgB,2BAA2B,CAAC,aAAgC;IAC3E,OAAO,MAAM,CAAC,IAAI,CAAC,aAAa,CAAC,UAAU,CAAC,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,EAAE;QACtE,MAAM,IAAI,GAAG,aAAa,CAAC,UAAU,CAAC,OAAO,CAAC,QAAQ,CAAC,CAAC;QACxD,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,MAAM,IAAI,IAAI,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,MAAM,KAAK,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,KAAK,IAAI,CAAC;IACrF,CAAC,CAAC,CAAC;AACJ,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { TestRunRepository } from '../databases/repositories/test-run.repository.ee';
|
|
2
|
-
import { TestRunsRequest } from '../evaluation/test-definitions.types.ee';
|
|
2
|
+
import { TestRunsRequest } from '../evaluation.ee/test-definitions.types.ee';
|
|
3
3
|
import { TestDefinitionService } from './test-definition.service.ee';
|
|
4
4
|
export declare class TestRunsController {
|
|
5
5
|
private readonly testDefinitionService;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"test-runs.controller.ee.js","sourceRoot":"","sources":["../../src/evaluation.ee/test-runs.controller.ee.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,4FAAoF;AACpF,6CAA2D;AAC3D,8EAAyE;AAEzE,+CAAoD;AACpD,4FAA4F;AAE5F,6EAAqE;AAG9D,IAAM,kBAAkB,GAAxB,MAAM,kBAAkB;IAC9B,YACkB,qBAA4C,EAC5C,iBAAoC;QADpC,0BAAqB,GAArB,qBAAqB,CAAuB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