n8n 0.167.0 → 0.168.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/commands/execute.js +3 -0
- package/dist/commands/execute.js.map +1 -1
- package/dist/commands/executeBatch.d.ts +2 -0
- package/dist/commands/executeBatch.js +3 -0
- package/dist/commands/executeBatch.js.map +1 -1
- package/dist/commands/import/credentials.d.ts +10 -0
- package/dist/commands/import/credentials.js +87 -26
- package/dist/commands/import/credentials.js.map +1 -1
- package/dist/commands/import/workflow.d.ts +11 -1
- package/dist/commands/import/workflow.js +109 -48
- package/dist/commands/import/workflow.js.map +1 -1
- package/dist/commands/start.js +25 -0
- package/dist/commands/start.js.map +1 -1
- package/dist/commands/user-management/reset.d.ts +7 -0
- package/dist/commands/user-management/reset.js +66 -0
- package/dist/commands/user-management/reset.js.map +1 -0
- package/dist/commands/worker.js +4 -1
- package/dist/commands/worker.js.map +1 -1
- package/dist/config/index.d.ts +23 -0
- package/dist/config/index.js +92 -4
- package/dist/config/index.js.map +1 -1
- package/dist/src/ActiveWorkflowRunner.d.ts +2 -1
- package/dist/src/ActiveWorkflowRunner.js +44 -24
- package/dist/src/ActiveWorkflowRunner.js.map +1 -1
- package/dist/src/CredentialsHelper.d.ts +10 -2
- package/dist/src/CredentialsHelper.js +40 -11
- package/dist/src/CredentialsHelper.js.map +1 -1
- package/dist/src/Db.d.ts +4 -1
- package/dist/src/Db.js +90 -66
- package/dist/src/Db.js.map +1 -1
- package/dist/src/GenericHelpers.d.ts +6 -0
- package/dist/src/GenericHelpers.js +18 -1
- package/dist/src/GenericHelpers.js.map +1 -1
- package/dist/src/Interfaces.d.ts +74 -9
- package/dist/src/InternalHooks.d.ts +42 -6
- package/dist/src/InternalHooks.js +54 -13
- package/dist/src/InternalHooks.js.map +1 -1
- package/dist/src/ResponseHelper.js +5 -0
- package/dist/src/ResponseHelper.js.map +1 -1
- package/dist/src/Server.d.ts +2 -0
- package/dist/src/Server.js +584 -458
- package/dist/src/Server.js.map +1 -1
- package/dist/src/TagHelpers.d.ts +3 -3
- package/dist/src/TagHelpers.js +5 -24
- package/dist/src/TagHelpers.js.map +1 -1
- package/dist/src/UserManagement/Interfaces.d.ts +34 -0
- package/dist/src/UserManagement/Interfaces.js +3 -0
- package/dist/src/UserManagement/Interfaces.js.map +1 -0
- package/dist/src/UserManagement/UserManagementHelper.d.ts +17 -0
- package/dist/src/UserManagement/UserManagementHelper.js +158 -0
- package/dist/src/UserManagement/UserManagementHelper.js.map +1 -0
- package/dist/src/UserManagement/auth/jwt.d.ts +7 -0
- package/dist/src/UserManagement/auth/jwt.js +57 -0
- package/dist/src/UserManagement/auth/jwt.js.map +1 -0
- package/dist/src/UserManagement/email/Interfaces.d.ts +29 -0
- package/dist/src/UserManagement/email/Interfaces.js +3 -0
- package/dist/src/UserManagement/email/Interfaces.js.map +1 -0
- package/dist/src/UserManagement/email/NodeMailer.d.ts +7 -0
- package/dist/src/UserManagement/email/NodeMailer.js +67 -0
- package/dist/src/UserManagement/email/NodeMailer.js.map +1 -0
- package/dist/src/UserManagement/email/UserManagementMailer.d.ts +9 -0
- package/dist/src/UserManagement/email/UserManagementMailer.js +77 -0
- package/dist/src/UserManagement/email/UserManagementMailer.js.map +1 -0
- package/dist/src/UserManagement/email/index.d.ts +2 -0
- package/dist/src/UserManagement/email/index.js +7 -0
- package/dist/src/UserManagement/email/index.js.map +1 -0
- package/dist/src/UserManagement/email/templates/instanceSetup.html +5 -0
- package/dist/src/UserManagement/email/templates/invite.html +4 -0
- package/dist/src/UserManagement/email/templates/passwordReset.html +5 -0
- package/dist/src/UserManagement/index.d.ts +4 -0
- package/dist/src/UserManagement/index.js +6 -0
- package/dist/src/UserManagement/index.js.map +1 -0
- package/dist/src/UserManagement/routes/auth.d.ts +2 -0
- package/dist/src/UserManagement/routes/auth.js +74 -0
- package/dist/src/UserManagement/routes/auth.js.map +1 -0
- package/dist/src/UserManagement/routes/index.d.ts +2 -0
- package/dist/src/UserManagement/routes/index.js +100 -0
- package/dist/src/UserManagement/routes/index.js.map +1 -0
- package/dist/src/UserManagement/routes/me.d.ts +2 -0
- package/dist/src/UserManagement/routes/me.js +85 -0
- package/dist/src/UserManagement/routes/me.js.map +1 -0
- package/dist/src/UserManagement/routes/owner.d.ts +2 -0
- package/dist/src/UserManagement/routes/owner.js +68 -0
- package/dist/src/UserManagement/routes/owner.js.map +1 -0
- package/dist/src/UserManagement/routes/passwordReset.d.ts +2 -0
- package/dist/src/UserManagement/routes/passwordReset.js +129 -0
- package/dist/src/UserManagement/routes/passwordReset.js.map +1 -0
- package/dist/src/UserManagement/routes/users.d.ts +2 -0
- package/dist/src/UserManagement/routes/users.js +334 -0
- package/dist/src/UserManagement/routes/users.js.map +1 -0
- package/dist/src/WaitTracker.js +6 -0
- package/dist/src/WaitTracker.js.map +1 -1
- package/dist/src/WaitingWebhooks.js +9 -1
- package/dist/src/WaitingWebhooks.js.map +1 -1
- package/dist/src/WebhookHelpers.js +17 -1
- package/dist/src/WebhookHelpers.js.map +1 -1
- package/dist/src/WorkflowExecuteAdditionalData.d.ts +3 -3
- package/dist/src/WorkflowExecuteAdditionalData.js +41 -13
- package/dist/src/WorkflowExecuteAdditionalData.js.map +1 -1
- package/dist/src/WorkflowHelpers.d.ts +9 -10
- package/dist/src/WorkflowHelpers.js +48 -17
- package/dist/src/WorkflowHelpers.js.map +1 -1
- package/dist/src/WorkflowRunner.js +4 -2
- package/dist/src/WorkflowRunner.js.map +1 -1
- package/dist/src/WorkflowRunnerProcess.js +7 -4
- package/dist/src/WorkflowRunnerProcess.js.map +1 -1
- package/dist/src/api/credentials.api.d.ts +1 -0
- package/dist/src/api/credentials.api.js +222 -0
- package/dist/src/api/credentials.api.js.map +1 -0
- package/dist/src/constants.d.ts +5 -0
- package/dist/src/constants.js +9 -0
- package/dist/src/constants.js.map +1 -0
- package/dist/src/databases/entities/CredentialsEntity.d.ts +2 -0
- package/dist/src/databases/entities/CredentialsEntity.js +13 -2
- package/dist/src/databases/entities/CredentialsEntity.js.map +1 -1
- package/dist/src/databases/entities/Role.d.ts +16 -0
- package/dist/src/databases/entities/Role.js +87 -0
- package/dist/src/databases/entities/Role.js.map +1 -0
- package/dist/src/databases/entities/Settings.d.ts +6 -0
- package/dist/src/databases/entities/Settings.js +32 -0
- package/dist/src/databases/entities/Settings.js.map +1 -0
- package/dist/src/databases/entities/SharedCredentials.d.ts +13 -0
- package/dist/src/databases/entities/SharedCredentials.js +83 -0
- package/dist/src/databases/entities/SharedCredentials.js.map +1 -0
- package/dist/src/databases/entities/SharedWorkflow.d.ts +13 -0
- package/dist/src/databases/entities/SharedWorkflow.js +83 -0
- package/dist/src/databases/entities/SharedWorkflow.js.map +1 -0
- package/dist/src/databases/entities/TagEntity.js +6 -2
- package/dist/src/databases/entities/TagEntity.js.map +1 -1
- package/dist/src/databases/entities/User.d.ts +24 -0
- package/dist/src/databases/entities/User.js +145 -0
- package/dist/src/databases/entities/User.js.map +1 -0
- package/dist/src/databases/entities/WorkflowEntity.d.ts +2 -0
- package/dist/src/databases/entities/WorkflowEntity.js +8 -1
- package/dist/src/databases/entities/WorkflowEntity.js.map +1 -1
- package/dist/src/databases/entities/index.d.ts +10 -0
- package/dist/src/databases/entities/index.js +10 -0
- package/dist/src/databases/entities/index.js.map +1 -1
- package/dist/src/databases/mysqldb/migrations/1626183952959-AddWaitColumn.js +0 -1
- package/dist/src/databases/mysqldb/migrations/1626183952959-AddWaitColumn.js.map +1 -1
- package/dist/src/databases/mysqldb/migrations/1630451444017-UpdateWorkflowCredentials.js +0 -3
- package/dist/src/databases/mysqldb/migrations/1630451444017-UpdateWorkflowCredentials.js.map +1 -1
- package/dist/src/databases/mysqldb/migrations/1644424784709-AddExecutionEntityIndexes.js +21 -8
- package/dist/src/databases/mysqldb/migrations/1644424784709-AddExecutionEntityIndexes.js.map +1 -1
- package/dist/src/databases/mysqldb/migrations/1646992772331-CreateUserManagement.d.ts +6 -0
- package/dist/src/databases/mysqldb/migrations/1646992772331-CreateUserManagement.js +100 -0
- package/dist/src/databases/mysqldb/migrations/1646992772331-CreateUserManagement.js.map +1 -0
- package/dist/src/databases/mysqldb/migrations/index.js +2 -0
- package/dist/src/databases/mysqldb/migrations/index.js.map +1 -1
- package/dist/src/databases/postgresdb/migrations/1620824779533-UniqueWorkflowNames.d.ts +1 -1
- package/dist/src/databases/postgresdb/migrations/1620824779533-UniqueWorkflowNames.js +1 -1
- package/dist/src/databases/postgresdb/migrations/1620824779533-UniqueWorkflowNames.js.map +1 -1
- package/dist/src/databases/postgresdb/migrations/1626176912946-AddwaitTill.js +0 -1
- package/dist/src/databases/postgresdb/migrations/1626176912946-AddwaitTill.js.map +1 -1
- package/dist/src/databases/postgresdb/migrations/1630419189837-UpdateWorkflowCredentials.js +0 -3
- package/dist/src/databases/postgresdb/migrations/1630419189837-UpdateWorkflowCredentials.js.map +1 -1
- package/dist/src/databases/postgresdb/migrations/1644422880309-AddExecutionEntityIndexes.js +16 -17
- package/dist/src/databases/postgresdb/migrations/1644422880309-AddExecutionEntityIndexes.js.map +1 -1
- package/dist/src/databases/postgresdb/migrations/1646992772331-CreateUserManagement.d.ts +6 -0
- package/dist/src/databases/postgresdb/migrations/1646992772331-CreateUserManagement.js +106 -0
- package/dist/src/databases/postgresdb/migrations/1646992772331-CreateUserManagement.js.map +1 -0
- package/dist/src/databases/postgresdb/migrations/index.js +2 -0
- package/dist/src/databases/postgresdb/migrations/index.js.map +1 -1
- package/dist/src/databases/sqlite/migrations/1588102412422-InitialMigration.js +3 -0
- package/dist/src/databases/sqlite/migrations/1588102412422-InitialMigration.js.map +1 -1
- package/dist/src/databases/sqlite/migrations/1592445003908-WebhookModel.js +3 -0
- package/dist/src/databases/sqlite/migrations/1592445003908-WebhookModel.js.map +1 -1
- package/dist/src/databases/sqlite/migrations/1594825041918-CreateIndexStoppedAt.d.ts +1 -1
- package/dist/src/databases/sqlite/migrations/1594825041918-CreateIndexStoppedAt.js +3 -0
- package/dist/src/databases/sqlite/migrations/1594825041918-CreateIndexStoppedAt.js.map +1 -1
- package/dist/src/databases/sqlite/migrations/1607431743769-MakeStoppedAtNullable.d.ts +2 -1
- package/dist/src/databases/sqlite/migrations/1607431743769-MakeStoppedAtNullable.js +6 -0
- package/dist/src/databases/sqlite/migrations/1607431743769-MakeStoppedAtNullable.js.map +1 -1
- package/dist/src/databases/sqlite/migrations/1611071044839-AddWebhookId.d.ts +1 -1
- package/dist/src/databases/sqlite/migrations/1611071044839-AddWebhookId.js +3 -0
- package/dist/src/databases/sqlite/migrations/1611071044839-AddWebhookId.js.map +1 -1
- package/dist/src/databases/sqlite/migrations/1617213344594-CreateTagEntity.d.ts +1 -1
- package/dist/src/databases/sqlite/migrations/1617213344594-CreateTagEntity.js +3 -0
- package/dist/src/databases/sqlite/migrations/1617213344594-CreateTagEntity.js.map +1 -1
- package/dist/src/databases/sqlite/migrations/1620821879465-UniqueWorkflowNames.d.ts +1 -1
- package/dist/src/databases/sqlite/migrations/1620821879465-UniqueWorkflowNames.js +3 -0
- package/dist/src/databases/sqlite/migrations/1620821879465-UniqueWorkflowNames.js.map +1 -1
- package/dist/src/databases/sqlite/migrations/1621707690587-AddWaitColumn.js +3 -1
- package/dist/src/databases/sqlite/migrations/1621707690587-AddWaitColumn.js.map +1 -1
- package/dist/src/databases/sqlite/migrations/1630330987096-UpdateWorkflowCredentials.js +3 -3
- package/dist/src/databases/sqlite/migrations/1630330987096-UpdateWorkflowCredentials.js.map +1 -1
- package/dist/src/databases/sqlite/migrations/1644421939510-AddExecutionEntityIndexes.js +17 -13
- package/dist/src/databases/sqlite/migrations/1644421939510-AddExecutionEntityIndexes.js.map +1 -1
- package/dist/src/databases/sqlite/migrations/1646992772331-CreateUserManagement.d.ts +6 -0
- package/dist/src/databases/sqlite/migrations/1646992772331-CreateUserManagement.js +73 -0
- package/dist/src/databases/sqlite/migrations/1646992772331-CreateUserManagement.js.map +1 -0
- package/dist/src/databases/sqlite/migrations/index.d.ts +3 -2
- package/dist/src/databases/sqlite/migrations/index.js +4 -1
- package/dist/src/databases/sqlite/migrations/index.js.map +1 -1
- package/dist/src/databases/utils/customValidators.d.ts +1 -0
- package/dist/src/databases/utils/customValidators.js +22 -0
- package/dist/src/databases/utils/customValidators.js.map +1 -0
- package/dist/src/databases/utils/migrationHelpers.d.ts +3 -0
- package/dist/src/databases/utils/migrationHelpers.js +60 -0
- package/dist/src/databases/utils/migrationHelpers.js.map +1 -0
- package/dist/src/databases/utils/transformers.d.ts +9 -0
- package/dist/src/databases/utils/transformers.js +16 -0
- package/dist/src/databases/utils/transformers.js.map +1 -0
- package/dist/src/telemetry/index.d.ts +4 -1
- package/dist/src/telemetry/index.js +4 -2
- package/dist/src/telemetry/index.js.map +1 -1
- package/dist/test/{CredentialsHelper.test.d.ts → integration/auth.endpoints.test.d.ts} +0 -0
- package/dist/test/integration/auth.endpoints.test.js +99 -0
- package/dist/test/integration/auth.endpoints.test.js.map +1 -0
- package/dist/test/integration/auth.middleware.test.d.ts +1 -0
- package/dist/test/integration/auth.middleware.test.js +46 -0
- package/dist/test/integration/auth.middleware.test.js.map +1 -0
- package/dist/test/integration/credentials.api.test.d.ts +1 -0
- package/dist/test/integration/credentials.api.test.js +401 -0
- package/dist/test/integration/credentials.api.test.js.map +1 -0
- package/dist/test/integration/me.endpoints.test.d.ts +1 -0
- package/dist/test/integration/me.endpoints.test.js +383 -0
- package/dist/test/integration/me.endpoints.test.js.map +1 -0
- package/dist/test/integration/owner.endpoints.test.d.ts +1 -0
- package/dist/test/integration/owner.endpoints.test.js +125 -0
- package/dist/test/integration/owner.endpoints.test.js.map +1 -0
- package/dist/test/integration/passwordReset.endpoints.test.d.ts +1 -0
- package/dist/test/integration/passwordReset.endpoints.test.js +221 -0
- package/dist/test/integration/passwordReset.endpoints.test.js.map +1 -0
- package/dist/test/integration/shared/constants.d.ts +16 -0
- package/dist/test/integration/shared/constants.js +41 -0
- package/dist/test/integration/shared/constants.js.map +1 -0
- package/dist/test/integration/shared/random.d.ts +5 -0
- package/dist/test/integration/shared/random.js +34 -0
- package/dist/test/integration/shared/random.js.map +1 -0
- package/dist/test/integration/shared/testDb.d.ts +47 -0
- package/dist/test/integration/shared/testDb.js +280 -0
- package/dist/test/integration/shared/testDb.js.map +1 -0
- package/dist/test/integration/shared/utils.d.ts +20 -0
- package/dist/test/integration/shared/utils.js +132 -0
- package/dist/test/integration/shared/utils.js.map +1 -0
- package/dist/test/integration/users.endpoints.test.d.ts +1 -0
- package/dist/test/integration/users.endpoints.test.js +420 -0
- package/dist/test/integration/users.endpoints.test.js.map +1 -0
- package/dist/test/setup.d.ts +1 -0
- package/dist/test/setup.js +27 -0
- package/dist/test/setup.js.map +1 -0
- package/dist/test/teardown.d.ts +2 -0
- package/dist/test/teardown.js +33 -0
- package/dist/test/teardown.js.map +1 -0
- package/dist/test/unit/CredentialsHelper.test.d.ts +1 -0
- package/dist/test/{CredentialsHelper.test.js → unit/CredentialsHelper.test.js} +1 -1
- package/dist/test/unit/CredentialsHelper.test.js.map +1 -0
- package/dist/test/{Helpers.d.ts → unit/Helpers.d.ts} +0 -0
- package/dist/test/{Helpers.js → unit/Helpers.js} +0 -0
- package/dist/test/unit/Helpers.js.map +1 -0
- package/oclif.manifest.json +1 -1
- package/package.json +30 -29
- package/dist/src/PersonalizationSurvey.d.ts +0 -3
- package/dist/src/PersonalizationSurvey.js +0 -48
- package/dist/src/PersonalizationSurvey.js.map +0 -1
- package/dist/test/CredentialsHelper.test.js.map +0 -1
- package/dist/test/Helpers.js.map +0 -1
package/oclif.manifest.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":"0.167.0","commands":{"execute":{"id":"execute","description":"\nExecutes a given workflow","pluginName":"n8n","pluginType":"core","aliases":[],"examples":["$ n8n execute --id=5","$ n8n execute --file=workflow.json"],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"show CLI help","allowNo":false},"file":{"name":"file","type":"option","description":"path to a workflow file to execute"},"id":{"name":"id","type":"option","description":"id of the workflow to execute"},"rawOutput":{"name":"rawOutput","type":"boolean","description":"Outputs only JSON data, with no other text","allowNo":false}},"args":[]},"executeBatch":{"id":"executeBatch","description":"\nExecutes multiple workflows once","pluginName":"n8n","pluginType":"core","aliases":[],"examples":["$ n8n executeBatch","$ n8n executeBatch --concurrency=10 --skipList=/data/skipList.txt","$ n8n executeBatch --debug --output=/data/output.json","$ n8n executeBatch --ids=10,13,15 --shortOutput","$ n8n executeBatch --snapshot=/data/snapshots --shallow","$ n8n executeBatch --compare=/data/previousExecutionData --retries=2"],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"show CLI help","allowNo":false},"debug":{"name":"debug","type":"boolean","description":"Toggles on displaying all errors and debug messages.","allowNo":false},"ids":{"name":"ids","type":"option","description":"Specifies workflow IDs to get executed, separated by a comma."},"concurrency":{"name":"concurrency","type":"option","description":"How many workflows can run in parallel. Defaults to 1 which means no concurrency.","default":1},"output":{"name":"output","type":"option","description":"Enable execution saving, You must inform an existing folder to save execution via this param"},"snapshot":{"name":"snapshot","type":"option","description":"Enables snapshot saving. You must inform an existing folder to save snapshots via this param."},"compare":{"name":"compare","type":"option","description":"Compares current execution with an existing snapshot. You must inform an existing folder where the snapshots are saved."},"shallow":{"name":"shallow","type":"boolean","description":"Compares only if attributes output from node are the same, with no regards to neste JSON objects.","allowNo":false},"skipList":{"name":"skipList","type":"option","description":"File containing a comma separated list of workflow IDs to skip."},"retries":{"name":"retries","type":"option","description":"Retries failed workflows up to N tries. Default is 1. Set 0 to disable.","default":1},"shortOutput":{"name":"shortOutput","type":"boolean","description":"Omits the full execution information from output, displaying only summary.","allowNo":false}},"args":[]},"start":{"id":"start","description":"Starts n8n. Makes Web-UI available and starts active workflows","pluginName":"n8n","pluginType":"core","aliases":[],"examples":["$ n8n start","$ n8n start --tunnel","$ n8n start -o","$ n8n start --tunnel -o"],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"show CLI help","allowNo":false},"open":{"name":"open","type":"boolean","char":"o","description":"opens the UI automatically in browser","allowNo":false},"tunnel":{"name":"tunnel","type":"boolean","description":"runs the webhooks via a hooks.n8n.cloud tunnel server. Use only for testing and development!","allowNo":false}},"args":[]},"webhook":{"id":"webhook","description":"Starts n8n webhook process. Intercepts only production URLs.","pluginName":"n8n","pluginType":"core","aliases":[],"examples":["$ n8n webhook"],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"show CLI help","allowNo":false}},"args":[]},"worker":{"id":"worker","description":"\nStarts a n8n worker","pluginName":"n8n","pluginType":"core","aliases":[],"examples":["$ n8n worker --concurrency=5"],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"show CLI help","allowNo":false},"concurrency":{"name":"concurrency","type":"option","description":"How many jobs can run in parallel.","default":10}},"args":[]},"db:revert":{"id":"db:revert","description":"Revert last database migration","pluginName":"n8n","pluginType":"core","aliases":[],"examples":["$ n8n db:revert"],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"show CLI help","allowNo":false}},"args":[]},"export:credentials":{"id":"export:credentials","description":"Export credentials","pluginName":"n8n","pluginType":"core","aliases":[],"examples":["$ n8n export:credentials --all","$ n8n export:credentials --id=5 --output=file.json","$ n8n export:credentials --all --output=backups/latest.json","$ n8n export:credentials --backup --output=backups/latest/","$ n8n export:credentials --all --decrypted --output=backups/decrypted.json"],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"show CLI help","allowNo":false},"all":{"name":"all","type":"boolean","description":"Export all credentials","allowNo":false},"backup":{"name":"backup","type":"boolean","description":"Sets --all --pretty --separate for simple backups. Only --output has to be set additionally.","allowNo":false},"id":{"name":"id","type":"option","description":"The ID of the credential to export"},"output":{"name":"output","type":"option","char":"o","description":"Output file name or directory if using separate files"},"pretty":{"name":"pretty","type":"boolean","description":"Format the output in an easier to read fashion","allowNo":false},"separate":{"name":"separate","type":"boolean","description":"Exports one file per credential (useful for versioning). Must inform a directory via --output.","allowNo":false},"decrypted":{"name":"decrypted","type":"boolean","description":"Exports data decrypted / in plain text. ALL SENSITIVE INFORMATION WILL BE VISIBLE IN THE FILES. Use to migrate from a installation to another that have a different secret key (in the config file).","allowNo":false}},"args":[]},"export:workflow":{"id":"export:workflow","description":"Export workflows","pluginName":"n8n","pluginType":"core","aliases":[],"examples":["$ n8n export:workflow --all","$ n8n export:workflow --id=5 --output=file.json","$ n8n export:workflow --all --output=backups/latest/","$ n8n export:workflow --backup --output=backups/latest/"],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"show CLI help","allowNo":false},"all":{"name":"all","type":"boolean","description":"Export all workflows","allowNo":false},"backup":{"name":"backup","type":"boolean","description":"Sets --all --pretty --separate for simple backups. Only --output has to be set additionally.","allowNo":false},"id":{"name":"id","type":"option","description":"The ID of the workflow to export"},"output":{"name":"output","type":"option","char":"o","description":"Output file name or directory if using separate files"},"pretty":{"name":"pretty","type":"boolean","description":"Format the output in an easier to read fashion","allowNo":false},"separate":{"name":"separate","type":"boolean","description":"Exports one file per workflow (useful for versioning). Must inform a directory via --output.","allowNo":false}},"args":[]},"import:credentials":{"id":"import:credentials","description":"Import credentials","pluginName":"n8n","pluginType":"core","aliases":[],"examples":["$ n8n import:credentials --input=file.json","$ n8n import:credentials --separate --input=backups/latest/"],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"show CLI help","allowNo":false},"input":{"name":"input","type":"option","char":"i","description":"Input file name or directory if --separate is used"},"separate":{"name":"separate","type":"boolean","description":"Imports *.json files from directory provided by --input","allowNo":false}},"args":[]},"import:workflow":{"id":"import:workflow","description":"Import workflows","pluginName":"n8n","pluginType":"core","aliases":[],"examples":["$ n8n import:workflow --input=file.json","$ n8n import:workflow --separate --input=backups/latest/"],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"show CLI help","allowNo":false},"input":{"name":"input","type":"option","char":"i","description":"Input file name or directory if --separate is used"},"separate":{"name":"separate","type":"boolean","description":"Imports *.json files from directory provided by --input","allowNo":false}},"args":[]},"list:workflow":{"id":"list:workflow","description":"\nList workflows","pluginName":"n8n","pluginType":"core","aliases":[],"examples":["$ n8n list:workflow","$ n8n list:workflow --active=true --onlyId","$ n8n list:workflow --active=false"],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"show CLI help","allowNo":false},"active":{"name":"active","type":"option","description":"Filters workflows by active status. Can be true or false"},"onlyId":{"name":"onlyId","type":"boolean","description":"Outputs workflow IDs only, one per line.","allowNo":false}},"args":[]},"update:workflow":{"id":"update:workflow","description":"Update workflows","pluginName":"n8n","pluginType":"core","aliases":[],"examples":["$ n8n update:workflow --all --active=false","$ n8n update:workflow --id=5 --active=true"],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"show CLI help","allowNo":false},"active":{"name":"active","type":"option","description":"Active state the workflow/s should be set to"},"all":{"name":"all","type":"boolean","description":"Operate on all workflows","allowNo":false},"id":{"name":"id","type":"option","description":"The ID of the workflow to operate on"}},"args":[]}}}
|
|
1
|
+
{"version":"0.168.2","commands":{"execute":{"id":"execute","description":"\nExecutes a given workflow","pluginName":"n8n","pluginType":"core","aliases":[],"examples":["$ n8n execute --id=5","$ n8n execute --file=workflow.json"],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"show CLI help","allowNo":false},"file":{"name":"file","type":"option","description":"path to a workflow file to execute"},"id":{"name":"id","type":"option","description":"id of the workflow to execute"},"rawOutput":{"name":"rawOutput","type":"boolean","description":"Outputs only JSON data, with no other text","allowNo":false}},"args":[]},"executeBatch":{"id":"executeBatch","description":"\nExecutes multiple workflows once","pluginName":"n8n","pluginType":"core","aliases":[],"examples":["$ n8n executeBatch","$ n8n executeBatch --concurrency=10 --skipList=/data/skipList.txt","$ n8n executeBatch --debug --output=/data/output.json","$ n8n executeBatch --ids=10,13,15 --shortOutput","$ n8n executeBatch --snapshot=/data/snapshots --shallow","$ n8n executeBatch --compare=/data/previousExecutionData --retries=2"],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"show CLI help","allowNo":false},"debug":{"name":"debug","type":"boolean","description":"Toggles on displaying all errors and debug messages.","allowNo":false},"ids":{"name":"ids","type":"option","description":"Specifies workflow IDs to get executed, separated by a comma."},"concurrency":{"name":"concurrency","type":"option","description":"How many workflows can run in parallel. Defaults to 1 which means no concurrency.","default":1},"output":{"name":"output","type":"option","description":"Enable execution saving, You must inform an existing folder to save execution via this param"},"snapshot":{"name":"snapshot","type":"option","description":"Enables snapshot saving. You must inform an existing folder to save snapshots via this param."},"compare":{"name":"compare","type":"option","description":"Compares current execution with an existing snapshot. You must inform an existing folder where the snapshots are saved."},"shallow":{"name":"shallow","type":"boolean","description":"Compares only if attributes output from node are the same, with no regards to neste JSON objects.","allowNo":false},"skipList":{"name":"skipList","type":"option","description":"File containing a comma separated list of workflow IDs to skip."},"retries":{"name":"retries","type":"option","description":"Retries failed workflows up to N tries. Default is 1. Set 0 to disable.","default":1},"shortOutput":{"name":"shortOutput","type":"boolean","description":"Omits the full execution information from output, displaying only summary.","allowNo":false}},"args":[]},"start":{"id":"start","description":"Starts n8n. Makes Web-UI available and starts active workflows","pluginName":"n8n","pluginType":"core","aliases":[],"examples":["$ n8n start","$ n8n start --tunnel","$ n8n start -o","$ n8n start --tunnel -o"],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"show CLI help","allowNo":false},"open":{"name":"open","type":"boolean","char":"o","description":"opens the UI automatically in browser","allowNo":false},"tunnel":{"name":"tunnel","type":"boolean","description":"runs the webhooks via a hooks.n8n.cloud tunnel server. Use only for testing and development!","allowNo":false}},"args":[]},"webhook":{"id":"webhook","description":"Starts n8n webhook process. Intercepts only production URLs.","pluginName":"n8n","pluginType":"core","aliases":[],"examples":["$ n8n webhook"],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"show CLI help","allowNo":false}},"args":[]},"worker":{"id":"worker","description":"\nStarts a n8n worker","pluginName":"n8n","pluginType":"core","aliases":[],"examples":["$ n8n worker --concurrency=5"],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"show CLI help","allowNo":false},"concurrency":{"name":"concurrency","type":"option","description":"How many jobs can run in parallel.","default":10}},"args":[]},"db:revert":{"id":"db:revert","description":"Revert last database migration","pluginName":"n8n","pluginType":"core","aliases":[],"examples":["$ n8n db:revert"],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"show CLI help","allowNo":false}},"args":[]},"export:credentials":{"id":"export:credentials","description":"Export credentials","pluginName":"n8n","pluginType":"core","aliases":[],"examples":["$ n8n export:credentials --all","$ n8n export:credentials --id=5 --output=file.json","$ n8n export:credentials --all --output=backups/latest.json","$ n8n export:credentials --backup --output=backups/latest/","$ n8n export:credentials --all --decrypted --output=backups/decrypted.json"],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"show CLI help","allowNo":false},"all":{"name":"all","type":"boolean","description":"Export all credentials","allowNo":false},"backup":{"name":"backup","type":"boolean","description":"Sets --all --pretty --separate for simple backups. Only --output has to be set additionally.","allowNo":false},"id":{"name":"id","type":"option","description":"The ID of the credential to export"},"output":{"name":"output","type":"option","char":"o","description":"Output file name or directory if using separate files"},"pretty":{"name":"pretty","type":"boolean","description":"Format the output in an easier to read fashion","allowNo":false},"separate":{"name":"separate","type":"boolean","description":"Exports one file per credential (useful for versioning). Must inform a directory via --output.","allowNo":false},"decrypted":{"name":"decrypted","type":"boolean","description":"Exports data decrypted / in plain text. ALL SENSITIVE INFORMATION WILL BE VISIBLE IN THE FILES. Use to migrate from a installation to another that have a different secret key (in the config file).","allowNo":false}},"args":[]},"export:workflow":{"id":"export:workflow","description":"Export workflows","pluginName":"n8n","pluginType":"core","aliases":[],"examples":["$ n8n export:workflow --all","$ n8n export:workflow --id=5 --output=file.json","$ n8n export:workflow --all --output=backups/latest/","$ n8n export:workflow --backup --output=backups/latest/"],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"show CLI help","allowNo":false},"all":{"name":"all","type":"boolean","description":"Export all workflows","allowNo":false},"backup":{"name":"backup","type":"boolean","description":"Sets --all --pretty --separate for simple backups. Only --output has to be set additionally.","allowNo":false},"id":{"name":"id","type":"option","description":"The ID of the workflow to export"},"output":{"name":"output","type":"option","char":"o","description":"Output file name or directory if using separate files"},"pretty":{"name":"pretty","type":"boolean","description":"Format the output in an easier to read fashion","allowNo":false},"separate":{"name":"separate","type":"boolean","description":"Exports one file per workflow (useful for versioning). Must inform a directory via --output.","allowNo":false}},"args":[]},"import:credentials":{"id":"import:credentials","description":"Import credentials","pluginName":"n8n","pluginType":"core","aliases":[],"examples":["$ n8n import:credentials --input=file.json","$ n8n import:credentials --separate --input=backups/latest/","$ n8n import:credentials --input=file.json --userId=1d64c3d2-85fe-4a83-a649-e446b07b3aae","$ n8n import:credentials --separate --input=backups/latest/ --userId=1d64c3d2-85fe-4a83-a649-e446b07b3aae"],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"show CLI help","allowNo":false},"input":{"name":"input","type":"option","char":"i","description":"Input file name or directory if --separate is used"},"separate":{"name":"separate","type":"boolean","description":"Imports *.json files from directory provided by --input","allowNo":false},"userId":{"name":"userId","type":"option","description":"The ID of the user to assign the imported credentials to"}},"args":[]},"import:workflow":{"id":"import:workflow","description":"Import workflows","pluginName":"n8n","pluginType":"core","aliases":[],"examples":["$ n8n import:workflow --input=file.json","$ n8n import:workflow --separate --input=backups/latest/","$ n8n import:workflow --input=file.json --userId=1d64c3d2-85fe-4a83-a649-e446b07b3aae","$ n8n import:workflow --separate --input=backups/latest/ --userId=1d64c3d2-85fe-4a83-a649-e446b07b3aae"],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"show CLI help","allowNo":false},"input":{"name":"input","type":"option","char":"i","description":"Input file name or directory if --separate is used"},"separate":{"name":"separate","type":"boolean","description":"Imports *.json files from directory provided by --input","allowNo":false},"userId":{"name":"userId","type":"option","description":"The ID of the user to assign the imported workflows to"}},"args":[]},"list:workflow":{"id":"list:workflow","description":"\nList workflows","pluginName":"n8n","pluginType":"core","aliases":[],"examples":["$ n8n list:workflow","$ n8n list:workflow --active=true --onlyId","$ n8n list:workflow --active=false"],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"show CLI help","allowNo":false},"active":{"name":"active","type":"option","description":"Filters workflows by active status. Can be true or false"},"onlyId":{"name":"onlyId","type":"boolean","description":"Outputs workflow IDs only, one per line.","allowNo":false}},"args":[]},"update:workflow":{"id":"update:workflow","description":"Update workflows","pluginName":"n8n","pluginType":"core","aliases":[],"examples":["$ n8n update:workflow --all --active=false","$ n8n update:workflow --id=5 --active=true"],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"show CLI help","allowNo":false},"active":{"name":"active","type":"option","description":"Active state the workflow/s should be set to"},"all":{"name":"all","type":"boolean","description":"Operate on all workflows","allowNo":false},"id":{"name":"id","type":"option","description":"The ID of the workflow to operate on"}},"args":[]},"user-management:reset":{"id":"user-management:reset","description":"\nResets the database to the default user state","pluginName":"n8n","pluginType":"core","aliases":[],"flags":{},"args":[]}}}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "n8n",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.168.2",
|
|
4
4
|
"description": "n8n Workflow Automation Tool",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
6
6
|
"homepage": "https://n8n.io",
|
|
@@ -19,17 +19,20 @@
|
|
|
19
19
|
"bin": "n8n"
|
|
20
20
|
},
|
|
21
21
|
"scripts": {
|
|
22
|
-
"build": "tsc",
|
|
22
|
+
"build": "tsc && cp -r ./src/UserManagement/email/templates ./dist/src/UserManagement/email",
|
|
23
23
|
"dev": "concurrently -k -n \"TypeScript,Node\" -c \"yellow.bold,cyan.bold\" \"npm run watch\" \"nodemon\"",
|
|
24
24
|
"format": "cd ../.. && node_modules/prettier/bin-prettier.js packages/cli/**/**.ts --write",
|
|
25
25
|
"lint": "cd ../.. && node_modules/eslint/bin/eslint.js packages/cli",
|
|
26
26
|
"lintfix": "cd ../.. && node_modules/eslint/bin/eslint.js packages/cli --fix",
|
|
27
27
|
"postpack": "rm -f oclif.manifest.json",
|
|
28
|
-
"prepack": "
|
|
28
|
+
"prepack": "oclif-dev manifest",
|
|
29
29
|
"start": "run-script-os",
|
|
30
30
|
"start:default": "cd bin && ./n8n",
|
|
31
31
|
"start:windows": "cd bin && n8n",
|
|
32
|
-
"test": "
|
|
32
|
+
"test": "npm run test:sqlite",
|
|
33
|
+
"test:sqlite": "export DB_TYPE=sqlite && jest --forceExit",
|
|
34
|
+
"test:postgres": "export DB_TYPE=postgresdb && jest",
|
|
35
|
+
"test:mysql": "export DB_TYPE=mysqldb && jest",
|
|
33
36
|
"watch": "tsc --watch",
|
|
34
37
|
"typeorm": "ts-node ../../node_modules/typeorm/cli.js"
|
|
35
38
|
},
|
|
@@ -61,23 +64,29 @@
|
|
|
61
64
|
"@types/compression": "1.0.1",
|
|
62
65
|
"@types/connect-history-api-fallback": "^1.3.1",
|
|
63
66
|
"@types/convict": "^4.2.1",
|
|
67
|
+
"@types/cookie-parser": "^1.4.2",
|
|
64
68
|
"@types/dotenv": "^8.2.0",
|
|
65
69
|
"@types/express": "^4.17.6",
|
|
66
|
-
"@types/jest": "^
|
|
70
|
+
"@types/jest": "^27.4.0",
|
|
67
71
|
"@types/localtunnel": "^1.9.0",
|
|
68
72
|
"@types/lodash.get": "^4.4.6",
|
|
69
73
|
"@types/lodash.merge": "^4.6.6",
|
|
70
74
|
"@types/node": "14.17.27",
|
|
71
75
|
"@types/open": "^6.1.0",
|
|
72
76
|
"@types/parseurl": "^1.3.1",
|
|
77
|
+
"@types/passport-jwt": "^3.0.6",
|
|
73
78
|
"@types/request-promise-native": "~1.0.15",
|
|
79
|
+
"@types/superagent": "4.1.13",
|
|
80
|
+
"@types/supertest": "^2.0.11",
|
|
81
|
+
"@types/uuid": "^8.3.0",
|
|
74
82
|
"@types/validator": "^13.7.0",
|
|
75
83
|
"axios": "^0.21.1",
|
|
76
84
|
"concurrently": "^5.1.0",
|
|
77
|
-
"jest": "^
|
|
85
|
+
"jest": "^27.4.7",
|
|
78
86
|
"nodemon": "^2.0.2",
|
|
79
87
|
"run-script-os": "^1.0.7",
|
|
80
|
-
"
|
|
88
|
+
"supertest": "^6.2.2",
|
|
89
|
+
"ts-jest": "^27.1.3",
|
|
81
90
|
"ts-node": "^8.9.1",
|
|
82
91
|
"tslint": "^6.1.2",
|
|
83
92
|
"typescript": "~4.3.5"
|
|
@@ -94,11 +103,14 @@
|
|
|
94
103
|
"body-parser-xml": "^2.0.3",
|
|
95
104
|
"bull": "^3.19.0",
|
|
96
105
|
"callsites": "^3.1.0",
|
|
106
|
+
"change-case": "^4.1.1",
|
|
97
107
|
"class-validator": "^0.13.1",
|
|
98
108
|
"client-oauth2": "^4.2.5",
|
|
99
109
|
"compression": "^1.7.4",
|
|
100
110
|
"connect-history-api-fallback": "^1.6.0",
|
|
101
111
|
"convict": "^6.0.1",
|
|
112
|
+
"cookie-parser": "^1.4.6",
|
|
113
|
+
"crypto-js": "^4.1.1",
|
|
102
114
|
"csrf": "^3.1.0",
|
|
103
115
|
"dotenv": "^8.0.0",
|
|
104
116
|
"express": "^4.16.4",
|
|
@@ -113,37 +125,26 @@
|
|
|
113
125
|
"lodash.get": "^4.4.2",
|
|
114
126
|
"lodash.merge": "^4.6.2",
|
|
115
127
|
"mysql2": "~2.3.0",
|
|
116
|
-
"n8n-core": "~0.
|
|
117
|
-
"n8n-editor-ui": "~0.
|
|
118
|
-
"n8n-nodes-base": "~0.
|
|
119
|
-
"n8n-workflow": "~0.
|
|
128
|
+
"n8n-core": "~0.109.0",
|
|
129
|
+
"n8n-editor-ui": "~0.135.0",
|
|
130
|
+
"n8n-nodes-base": "~0.166.0",
|
|
131
|
+
"n8n-workflow": "~0.91.0",
|
|
132
|
+
"nodemailer": "^6.7.1",
|
|
120
133
|
"oauth-1.0a": "^2.2.6",
|
|
121
134
|
"open": "^7.0.0",
|
|
122
135
|
"p-cancelable": "^2.0.0",
|
|
136
|
+
"passport": "^0.5.0",
|
|
137
|
+
"passport-cookie": "^1.0.9",
|
|
138
|
+
"passport-jwt": "^4.0.0",
|
|
123
139
|
"pg": "^8.3.0",
|
|
124
140
|
"prom-client": "^13.1.0",
|
|
125
141
|
"request-promise-native": "^1.0.7",
|
|
126
|
-
"sqlite3": "^5.0.
|
|
142
|
+
"sqlite3": "^5.0.2",
|
|
127
143
|
"sse-channel": "^3.1.1",
|
|
128
144
|
"tslib": "1.14.1",
|
|
129
145
|
"typeorm": "0.2.30",
|
|
146
|
+
"uuid": "^8.3.0",
|
|
147
|
+
"validator": "13.7.0",
|
|
130
148
|
"winston": "^3.3.3"
|
|
131
|
-
},
|
|
132
|
-
"jest": {
|
|
133
|
-
"transform": {
|
|
134
|
-
"^.+\\.tsx?$": "ts-jest"
|
|
135
|
-
},
|
|
136
|
-
"testURL": "http://localhost/",
|
|
137
|
-
"testRegex": "(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$",
|
|
138
|
-
"testPathIgnorePatterns": [
|
|
139
|
-
"/dist/",
|
|
140
|
-
"/node_modules/"
|
|
141
|
-
],
|
|
142
|
-
"moduleFileExtensions": [
|
|
143
|
-
"ts",
|
|
144
|
-
"tsx",
|
|
145
|
-
"js",
|
|
146
|
-
"json"
|
|
147
|
-
]
|
|
148
149
|
}
|
|
149
150
|
}
|
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.preparePersonalizationSurvey = exports.writeSurveyToDisk = void 0;
|
|
4
|
-
const fs_1 = require("fs");
|
|
5
|
-
const util_1 = require("util");
|
|
6
|
-
const n8n_core_1 = require("n8n-core");
|
|
7
|
-
const config = require("../config");
|
|
8
|
-
const _1 = require(".");
|
|
9
|
-
const fsWriteFile = util_1.promisify(fs_1.writeFile);
|
|
10
|
-
const PERSONALIZATION_SURVEY_FILENAME = 'personalizationSurvey.json';
|
|
11
|
-
function loadSurveyFromDisk() {
|
|
12
|
-
const userSettingsPath = n8n_core_1.UserSettings.getUserN8nFolderPath();
|
|
13
|
-
try {
|
|
14
|
-
const surveyFile = fs_1.readFileSync(`${userSettingsPath}/${PERSONALIZATION_SURVEY_FILENAME}`, 'utf-8');
|
|
15
|
-
return JSON.parse(surveyFile);
|
|
16
|
-
}
|
|
17
|
-
catch (error) {
|
|
18
|
-
return undefined;
|
|
19
|
-
}
|
|
20
|
-
}
|
|
21
|
-
async function writeSurveyToDisk(surveyAnswers) {
|
|
22
|
-
const userSettingsPath = n8n_core_1.UserSettings.getUserN8nFolderPath();
|
|
23
|
-
await fsWriteFile(`${userSettingsPath}/${PERSONALIZATION_SURVEY_FILENAME}`, JSON.stringify(surveyAnswers, null, '\t'));
|
|
24
|
-
}
|
|
25
|
-
exports.writeSurveyToDisk = writeSurveyToDisk;
|
|
26
|
-
async function preparePersonalizationSurvey() {
|
|
27
|
-
var _a;
|
|
28
|
-
const survey = {
|
|
29
|
-
shouldShow: false,
|
|
30
|
-
};
|
|
31
|
-
survey.answers = loadSurveyFromDisk();
|
|
32
|
-
if (survey.answers) {
|
|
33
|
-
return survey;
|
|
34
|
-
}
|
|
35
|
-
const enabled = config.get('personalization.enabled') &&
|
|
36
|
-
config.get('diagnostics.enabled');
|
|
37
|
-
if (!enabled) {
|
|
38
|
-
return survey;
|
|
39
|
-
}
|
|
40
|
-
const workflowsExist = !!(await ((_a = _1.Db.collections.Workflow) === null || _a === void 0 ? void 0 : _a.findOne()));
|
|
41
|
-
if (workflowsExist) {
|
|
42
|
-
return survey;
|
|
43
|
-
}
|
|
44
|
-
survey.shouldShow = true;
|
|
45
|
-
return survey;
|
|
46
|
-
}
|
|
47
|
-
exports.preparePersonalizationSurvey = preparePersonalizationSurvey;
|
|
48
|
-
//# sourceMappingURL=PersonalizationSurvey.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"PersonalizationSurvey.js","sourceRoot":"","sources":["../../src/PersonalizationSurvey.ts"],"names":[],"mappings":";;;AAAA,2BAA6C;AAC7C,+BAAiC;AACjC,uCAAwC;AAExC,oCAAoC;AAEpC,wBAA8E;AA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AED,MAAM,CAAC,UAAU,GAAG,IAAI,CAAC;IACzB,OAAO,MAAM,CAAC;AACf,CAAC;AA3BD,oEA2BC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"CredentialsHelper.test.js","sourceRoot":"","sources":["../../test/CredentialsHelper.test.ts"],"names":[],"mappings":";;AAAA,gCAA4D;AAC5D,qCAAqC;AACrC,+CAYsB;AAEtB,MAAM,mBAAmB,GAAG,MAAM,CAAC;AAEnC,QAAQ,CAAC,mBAAmB,EAAE,GAAG,EAAE;IAClC,QAAQ,CAAC,cAAc,EAAE,GAAG,EAAE;QAC7B,MAAM,KAAK,GAON;YACJ;gBACC,WAAW,EAAE,4CAA4C;gBACzD,KAAK,EAAE;oBACN,WAAW,EAAE;wBACZ,IAAI,EAAE,OAAO;wBACb,QAAQ,EAAE,WAAW;qBACrB;oBACD,cAAc,EAAE,IAAI,CAAC,MAAM,OAAO;wBAAb;4BACpB,SAAI,GAAG,SAAS,CAAC;4BACjB,gBAAW,GAAG,UAAU,CAAC;4BACzB,eAAU,GAAsB;gCAC/B;oCACC,WAAW,EAAE,MAAM;oCACnB,IAAI,EAAE,MAAM;oCACZ,IAAI,EAAE,QAAQ;oCACd,OAAO,EAAE,EAAE;iCACX;gCACD;oCACC,WAAW,EAAE,UAAU;oCACvB,IAAI,EAAE,UAAU;oCAChB,IAAI,EAAE,QAAQ;oCACd,OAAO,EAAE,EAAE;iCACX;6BACD,CAAC;4BAEF,iBAAY,GAAG;gCACd,IAAI,EAAE,WAAW;gCACjB,UAAU,EAAE,EAAE;6BACY,CAAC;wBAC7B,CAAC;qBAAA,CAAC,EAAE;iBACJ;gBACD,MAAM,EAAE;oBACP,GAAG,EAAE,EAAE;oBACP,OAAO,EAAE,EAAE;oBACX,IAAI,EAAE,EAAE,QAAQ,EAAE,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE;oBAClD,EAAE,EAAE,EAAE;iBACN;aACD;YACD;gBACC,WAAW,EAAE,2C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