diff --git a/.eslintignore b/.eslintignore index 03f9a24ce..2bbcd4d8e 100644 --- a/.eslintignore +++ b/.eslintignore @@ -1,3 +1,2 @@ -packages/nodes-base packages/editor-ui packages/design-system diff --git a/.eslintrc.js b/.eslintrc.js index 2a9b045e3..aead62060 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -1,4 +1,6 @@ module.exports = { + root: true, + env: { browser: true, es6: true, @@ -21,346 +23,378 @@ module.exports = { '**/migrations/**', ], - extends: [ - /** - * Config for typescript-eslint recommended ruleset (without type checking) - * - * https://github.com/typescript-eslint/typescript-eslint/blob/1c1b572c3000d72cfe665b7afbada0ec415e7855/packages/eslint-plugin/src/configs/recommended.ts - */ - 'plugin:@typescript-eslint/recommended', + overrides: [ + { + files: './packages/*(cli|core|workflow|node-dev)/**/*.ts', + plugins: [ + /** + * Plugin with lint rules for import/export syntax + * https://github.com/import-js/eslint-plugin-import + */ + 'eslint-plugin-import', - /** - * Config for typescript-eslint recommended ruleset (with type checking) - * - * https://github.com/typescript-eslint/typescript-eslint/blob/1c1b572c3000d72cfe665b7afbada0ec415e7855/packages/eslint-plugin/src/configs/recommended-requiring-type-checking.ts - */ - 'plugin:@typescript-eslint/recommended-requiring-type-checking', + /** + * @typescript-eslint/eslint-plugin is required by eslint-config-airbnb-typescript + * See step 2: https://github.com/iamturns/eslint-config-airbnb-typescript#2-install-eslint-plugins + */ + '@typescript-eslint', - /** - * Config for Airbnb style guide for TS, /base to remove React rules - * - * https://github.com/iamturns/eslint-config-airbnb-typescript - * https://github.com/airbnb/javascript/tree/master/packages/eslint-config-airbnb-base/rules - */ - 'eslint-config-airbnb-typescript/base', + /** + * Plugin to report formatting violations as lint violations + * https://github.com/prettier/eslint-plugin-prettier + */ + 'eslint-plugin-prettier', + ], + extends: [ + /** + * Config for typescript-eslint recommended ruleset (without type checking) + * + * https://github.com/typescript-eslint/typescript-eslint/blob/1c1b572c3000d72cfe665b7afbada0ec415e7855/packages/eslint-plugin/src/configs/recommended.ts + */ + 'plugin:@typescript-eslint/recommended', - /** - * Config to disable ESLint rules covered by Prettier - * - * https://github.com/prettier/eslint-config-prettier - */ - 'eslint-config-prettier', + /** + * Config for typescript-eslint recommended ruleset (with type checking) + * + * https://github.com/typescript-eslint/typescript-eslint/blob/1c1b572c3000d72cfe665b7afbada0ec415e7855/packages/eslint-plugin/src/configs/recommended-requiring-type-checking.ts + */ + 'plugin:@typescript-eslint/recommended-requiring-type-checking', + + /** + * Config for Airbnb style guide for TS, /base to remove React rules + * + * https://github.com/iamturns/eslint-config-airbnb-typescript + * https://github.com/airbnb/javascript/tree/master/packages/eslint-config-airbnb-base/rules + */ + 'eslint-config-airbnb-typescript/base', + + /** + * Config to disable ESLint rules covered by Prettier + * + * https://github.com/prettier/eslint-config-prettier + */ + 'eslint-config-prettier', + ], + rules: { + // ****************************************************************** + // required by prettier plugin + // ****************************************************************** + + // The following rule enables eslint-plugin-prettier + // See: https://github.com/prettier/eslint-plugin-prettier#recommended-configuration + + 'prettier/prettier': 'error', + + // The following two rules must be disabled when using eslint-plugin-prettier: + // See: https://github.com/prettier/eslint-plugin-prettier#arrow-body-style-and-prefer-arrow-callback-issue + + /** + * https://eslint.org/docs/rules/arrow-body-style + */ + 'arrow-body-style': 'off', + + /** + * https://eslint.org/docs/rules/prefer-arrow-callback + */ + 'prefer-arrow-callback': 'off', + + // ****************************************************************** + // additions to base ruleset + // ****************************************************************** + + // ---------------------------------- + // ESLint + // ---------------------------------- + + /** + * https://eslint.org/docs/rules/id-denylist + */ + 'id-denylist': [ + 'error', + 'err', + 'cb', + 'callback', + 'any', + 'Number', + 'number', + 'String', + 'string', + 'Boolean', + 'boolean', + 'Undefined', + 'undefined', + ], + + 'no-void': ['error', { allowAsStatement: true }], + + // ---------------------------------- + // @typescript-eslint + // ---------------------------------- + + /** + * https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/docs/rules/array-type.md + */ + '@typescript-eslint/array-type': ['error', { default: 'array-simple' }], + + /** + * https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/docs/rules/ban-ts-comment.md + */ + '@typescript-eslint/ban-ts-comment': 'off', + + /** + * https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/docs/rules/ban-types.md + */ + '@typescript-eslint/ban-types': [ + 'error', + { + types: { + Object: { + message: 'Use object instead', + fixWith: 'object', + }, + String: { + message: 'Use string instead', + fixWith: 'string', + }, + Boolean: { + message: 'Use boolean instead', + fixWith: 'boolean', + }, + Number: { + message: 'Use number instead', + fixWith: 'number', + }, + Symbol: { + message: 'Use symbol instead', + fixWith: 'symbol', + }, + Function: { + message: [ + 'The `Function` type accepts any function-like value.', + 'It provides no type safety when calling the function, which can be a common source of bugs.', + 'It also accepts things like class declarations, which will throw at runtime as they will not be called with `new`.', + 'If you are expecting the function to accept certain arguments, you should explicitly define the function shape.', + ].join('\n'), + }, + }, + extendDefaults: false, + }, + ], + + /** + * https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/docs/rules/consistent-type-assertions.md + */ + '@typescript-eslint/consistent-type-assertions': 'error', + + /** + * https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/docs/rules/explicit-member-accessibility.md + */ + '@typescript-eslint/explicit-member-accessibility': [ + 'error', + { accessibility: 'no-public' }, + ], + + /** + * https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/docs/rules/member-delimiter-style.md + */ + '@typescript-eslint/member-delimiter-style': [ + 'error', + { + multiline: { + delimiter: 'semi', + requireLast: true, + }, + singleline: { + delimiter: 'semi', + requireLast: false, + }, + }, + ], + + /** + * https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/docs/rules/naming-convention.md + */ + '@typescript-eslint/naming-convention': [ + 'error', + { + selector: 'default', + format: ['camelCase'], + }, + { + selector: 'variable', + format: ['camelCase', 'snake_case', 'UPPER_CASE'], + leadingUnderscore: 'allowSingleOrDouble', + trailingUnderscore: 'allowSingleOrDouble', + }, + { + selector: 'property', + format: ['camelCase', 'snake_case'], + leadingUnderscore: 'allowSingleOrDouble', + trailingUnderscore: 'allowSingleOrDouble', + }, + { + selector: 'typeLike', + format: ['PascalCase'], + }, + { + selector: ['method', 'function'], + format: ['camelCase'], + leadingUnderscore: 'allowSingleOrDouble', + }, + ], + + /** + * https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/docs/rules/no-duplicate-imports.md + */ + '@typescript-eslint/no-duplicate-imports': 'error', + + /** + * https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/docs/rules/no-invalid-void-type.md + */ + '@typescript-eslint/no-invalid-void-type': 'error', + + /** + * https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/docs/rules/no-misused-promises.md + */ + '@typescript-eslint/no-misused-promises': ['error', { checksVoidReturn: false }], + + /** + * https://github.com/typescript-eslint/typescript-eslint/blob/v4.30.0/packages/eslint-plugin/docs/rules/no-floating-promises.md + */ + '@typescript-eslint/no-floating-promises': ['error', { ignoreVoid: true }], + + /** + * https://github.com/typescript-eslint/typescript-eslint/blob/v4.33.0/packages/eslint-plugin/docs/rules/no-namespace.md + */ + '@typescript-eslint/no-namespace': 'off', + + /** + * https://eslint.org/docs/1.0.0/rules/no-throw-literal + */ + '@typescript-eslint/no-throw-literal': 'error', + + /** + * https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/docs/rules/no-unnecessary-boolean-literal-compare.md + */ + '@typescript-eslint/no-unnecessary-boolean-literal-compare': 'error', + + /** + * https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/docs/rules/no-unnecessary-qualifier.md + */ + '@typescript-eslint/no-unnecessary-qualifier': 'error', + + /** + * https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/docs/rules/no-unused-expressions.md + */ + '@typescript-eslint/no-unused-expressions': 'error', + + /** + * https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/docs/rules/no-unused-vars.md + */ + '@typescript-eslint/no-unused-vars': ['error', { argsIgnorePattern: '_' }], + + /** + * https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/docs/rules/prefer-nullish-coalescing.md + */ + '@typescript-eslint/prefer-nullish-coalescing': 'error', + + /** + * https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/docs/rules/prefer-optional-chain.md + */ + '@typescript-eslint/prefer-optional-chain': 'error', + + /** + * https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/docs/rules/promise-function-async.md + */ + '@typescript-eslint/promise-function-async': 'error', + + // ---------------------------------- + // eslint-plugin-import + // ---------------------------------- + + /** + * https://github.com/import-js/eslint-plugin-import/blob/master/docs/rules/no-default-export.md + */ + 'import/no-default-export': 'error', + + /** + * https://github.com/import-js/eslint-plugin-import/blob/master/docs/rules/order.md + */ + 'import/order': 'error', + + // ****************************************************************** + // overrides to base ruleset + // ****************************************************************** + + // ---------------------------------- + // ESLint + // ---------------------------------- + + /** + * https://eslint.org/docs/rules/class-methods-use-this + */ + 'class-methods-use-this': 'off', + + /** + * https://eslint.org/docs/rules/eqeqeq + */ + eqeqeq: 'error', + + /** + * https://eslint.org/docs/rules/no-plusplus + */ + 'no-plusplus': 'off', + + /** + * https://eslint.org/docs/rules/object-shorthand + */ + 'object-shorthand': 'error', + + /** + * https://eslint.org/docs/rules/prefer-const + */ + 'prefer-const': 'error', + + /** + * https://eslint.org/docs/rules/prefer-spread + */ + 'prefer-spread': 'error', + + // ---------------------------------- + // import + // ---------------------------------- + + /** + * https://github.com/import-js/eslint-plugin-import/blob/main/docs/rules/prefer-default-export.md + */ + 'import/prefer-default-export': 'off', + }, + }, + { + files: ['./packages/nodes-base/nodes/**/*.ts'], + plugins: ['eslint-plugin-n8n-nodes-base'], + rules: { + "n8n-nodes-base/node-param-default-missing": "error", + "n8n-nodes-base/node-class-description-missing-subtitle": "error", + "n8n-nodes-base/node-class-description-inputs-wrong-trigger-node": "error", + "n8n-nodes-base/node-class-description-inputs-wrong-regular-node": "error", + "n8n-nodes-base/node-class-description-outputs-wrong": "error", + "n8n-nodes-base/node-execute-block-double-assertion-for-items": "error", + "n8n-nodes-base/node-param-default-wrong-for-collection": "error", + "n8n-nodes-base/node-param-default-wrong-for-boolean": "error", + "n8n-nodes-base/node-param-collection-type-unsorted-items": "error", + "n8n-nodes-base/node-param-default-wrong-for-fixed-collection": "error", + "n8n-nodes-base/node-param-default-wrong-for-multi-options": "error", + "n8n-nodes-base/node-param-description-excess-inner-whitespace": "error", + "n8n-nodes-base/node-param-description-empty-string": "error", + "n8n-nodes-base/node-param-description-comma-separated-hyphen": "error", + "n8n-nodes-base/node-param-default-wrong-for-simplify": "error", + "n8n-nodes-base/node-param-description-missing-for-return-all": "error", + "n8n-nodes-base/node-param-description-missing-final-period": "error", + "n8n-nodes-base/node-param-description-missing-for-simplify": "error", + "n8n-nodes-base/node-param-description-missing-for-ignore-ssl-issues": "error", + "n8n-nodes-base/node-param-description-identical-to-display-name": "error", + } + }, ], - - plugins: [ - /** - * Plugin with lint rules for import/export syntax - * https://github.com/import-js/eslint-plugin-import - */ - 'eslint-plugin-import', - - /** - * @typescript-eslint/eslint-plugin is required by eslint-config-airbnb-typescript - * See step 2: https://github.com/iamturns/eslint-config-airbnb-typescript#2-install-eslint-plugins - */ - '@typescript-eslint', - - /** - * Plugin to report formatting violations as lint violations - * https://github.com/prettier/eslint-plugin-prettier - */ - 'eslint-plugin-prettier', - ], - - rules: { - // ****************************************************************** - // required by prettier plugin - // ****************************************************************** - - // The following rule enables eslint-plugin-prettier - // See: https://github.com/prettier/eslint-plugin-prettier#recommended-configuration - - 'prettier/prettier': 'error', - - // The following two rules must be disabled when using eslint-plugin-prettier: - // See: https://github.com/prettier/eslint-plugin-prettier#arrow-body-style-and-prefer-arrow-callback-issue - - /** - * https://eslint.org/docs/rules/arrow-body-style - */ - 'arrow-body-style': 'off', - - /** - * https://eslint.org/docs/rules/prefer-arrow-callback - */ - 'prefer-arrow-callback': 'off', - - // ****************************************************************** - // additions to base ruleset - // ****************************************************************** - - // ---------------------------------- - // ESLint - // ---------------------------------- - - /** - * https://eslint.org/docs/rules/id-denylist - */ - 'id-denylist': [ - 'error', - 'err', - 'cb', - 'callback', - 'any', - 'Number', - 'number', - 'String', - 'string', - 'Boolean', - 'boolean', - 'Undefined', - 'undefined', - ], - - 'no-void': ['error', { 'allowAsStatement': true }], - - // ---------------------------------- - // @typescript-eslint - // ---------------------------------- - - /** - * https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/docs/rules/array-type.md - */ - '@typescript-eslint/array-type': ['error', { default: 'array-simple' }], - - /** - * https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/docs/rules/ban-ts-comment.md - */ - '@typescript-eslint/ban-ts-comment': 'off', - - /** - * https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/docs/rules/ban-types.md - */ - '@typescript-eslint/ban-types': [ - 'error', - { - types: { - Object: { - message: 'Use object instead', - fixWith: 'object', - }, - String: { - message: 'Use string instead', - fixWith: 'string', - }, - Boolean: { - message: 'Use boolean instead', - fixWith: 'boolean', - }, - Number: { - message: 'Use number instead', - fixWith: 'number', - }, - Symbol: { - message: 'Use symbol instead', - fixWith: 'symbol', - }, - Function: { - message: [ - 'The `Function` type accepts any function-like value.', - 'It provides no type safety when calling the function, which can be a common source of bugs.', - 'It also accepts things like class declarations, which will throw at runtime as they will not be called with `new`.', - 'If you are expecting the function to accept certain arguments, you should explicitly define the function shape.', - ].join('\n'), - }, - }, - extendDefaults: false, - }, - ], - - /** - * https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/docs/rules/consistent-type-assertions.md - */ - '@typescript-eslint/consistent-type-assertions': 'error', - - /** - * https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/docs/rules/explicit-member-accessibility.md - */ - '@typescript-eslint/explicit-member-accessibility': ['error', { accessibility: 'no-public' }], - - /** - * https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/docs/rules/member-delimiter-style.md - */ - '@typescript-eslint/member-delimiter-style': [ - 'error', - { - multiline: { - delimiter: 'semi', - requireLast: true, - }, - singleline: { - delimiter: 'semi', - requireLast: false, - }, - }, - ], - - /** - * https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/docs/rules/naming-convention.md - */ - '@typescript-eslint/naming-convention': [ - 'error', - { - selector: 'default', - format: ['camelCase'], - }, - { - selector: 'variable', - format: ['camelCase', 'snake_case', 'UPPER_CASE'], - leadingUnderscore: 'allowSingleOrDouble', - trailingUnderscore: 'allowSingleOrDouble', - }, - { - selector: 'property', - format: ['camelCase', 'snake_case'], - leadingUnderscore: 'allowSingleOrDouble', - trailingUnderscore: 'allowSingleOrDouble', - }, - { - selector: 'typeLike', - format: ['PascalCase'], - }, - { - selector: ['method', 'function'], - format: ['camelCase'], - leadingUnderscore: 'allowSingleOrDouble', - }, - ], - - /** - * https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/docs/rules/no-duplicate-imports.md - */ - '@typescript-eslint/no-duplicate-imports': 'error', - - /** - * https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/docs/rules/no-invalid-void-type.md - */ - '@typescript-eslint/no-invalid-void-type': 'error', - - /** - * https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/docs/rules/no-misused-promises.md - */ - '@typescript-eslint/no-misused-promises': ['error', { checksVoidReturn: false }], - - /** - * https://github.com/typescript-eslint/typescript-eslint/blob/v4.30.0/packages/eslint-plugin/docs/rules/no-floating-promises.md - */ - '@typescript-eslint/no-floating-promises': ['error', { ignoreVoid: true }], - - /** - * https://github.com/typescript-eslint/typescript-eslint/blob/v4.33.0/packages/eslint-plugin/docs/rules/no-namespace.md - */ - '@typescript-eslint/no-namespace': 'off', - - /** - * https://eslint.org/docs/1.0.0/rules/no-throw-literal - */ - '@typescript-eslint/no-throw-literal': 'error', - - /** - * https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/docs/rules/no-unnecessary-boolean-literal-compare.md - */ - '@typescript-eslint/no-unnecessary-boolean-literal-compare': 'error', - - /** - * https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/docs/rules/no-unnecessary-qualifier.md - */ - '@typescript-eslint/no-unnecessary-qualifier': 'error', - - /** - * https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/docs/rules/no-unused-expressions.md - */ - '@typescript-eslint/no-unused-expressions': 'error', - - /** - * https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/docs/rules/no-unused-vars.md - */ - '@typescript-eslint/no-unused-vars': ['error', { argsIgnorePattern: '_' }], - - /** - * https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/docs/rules/prefer-nullish-coalescing.md - */ - '@typescript-eslint/prefer-nullish-coalescing': 'error', - - /** - * https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/docs/rules/prefer-optional-chain.md - */ - '@typescript-eslint/prefer-optional-chain': 'error', - - /** - * https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/docs/rules/promise-function-async.md - */ - '@typescript-eslint/promise-function-async': 'error', - - // ---------------------------------- - // eslint-plugin-import - // ---------------------------------- - - /** - * https://github.com/import-js/eslint-plugin-import/blob/master/docs/rules/no-default-export.md - */ - 'import/no-default-export': 'error', - - /** - * https://github.com/import-js/eslint-plugin-import/blob/master/docs/rules/order.md - */ - 'import/order': 'error', - - // ****************************************************************** - // overrides to base ruleset - // ****************************************************************** - - // ---------------------------------- - // ESLint - // ---------------------------------- - - /** - * https://eslint.org/docs/rules/class-methods-use-this - */ - 'class-methods-use-this': 'off', - - /** - * https://eslint.org/docs/rules/eqeqeq - */ - eqeqeq: 'error', - - /** - * https://eslint.org/docs/rules/no-plusplus - */ - 'no-plusplus': 'off', - - /** - * https://eslint.org/docs/rules/object-shorthand - */ - 'object-shorthand': 'error', - - /** - * https://eslint.org/docs/rules/prefer-const - */ - 'prefer-const': 'error', - - /** - * https://eslint.org/docs/rules/prefer-spread - */ - 'prefer-spread': 'error', - - // ---------------------------------- - // import - // ---------------------------------- - - /** - * https://github.com/import-js/eslint-plugin-import/blob/main/docs/rules/prefer-default-export.md - */ - 'import/prefer-default-export': 'off', - }, }; diff --git a/package-lock.json b/package-lock.json index 891321e89..e530f0c89 100644 --- a/package-lock.json +++ b/package-lock.json @@ -126,6 +126,7 @@ "eslint-config-airbnb-typescript": "^12.3.1", "eslint-config-prettier": "^8.3.0", "eslint-plugin-import": "^2.23.4", + "eslint-plugin-n8n-nodes-base": "^1.0.28", "eslint-plugin-prettier": "^3.4.0", "eslint-plugin-vue": "^7.16.0", "eventsource": "^1.0.7", @@ -14922,6 +14923,137 @@ "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz", "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==" }, + "node_modules/@typescript-eslint/utils": { + "version": "5.20.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-5.20.0.tgz", + "integrity": "sha512-lHONGJL1LIO12Ujyx8L8xKbwWSkoUKFSO+0wDAqGXiudWB2EO7WEUT+YZLtVbmOmSllAjLb9tpoIPwpRe5Tn6w==", + "dependencies": { + "@types/json-schema": "^7.0.9", + "@typescript-eslint/scope-manager": "5.20.0", + "@typescript-eslint/types": "5.20.0", + "@typescript-eslint/typescript-estree": "5.20.0", + "eslint-scope": "^5.1.1", + "eslint-utils": "^3.0.0" + }, + "engines": { + "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + }, + "peerDependencies": { + "eslint": "^6.0.0 || ^7.0.0 || ^8.0.0" + } + }, + "node_modules/@typescript-eslint/utils/node_modules/@typescript-eslint/scope-manager": { + "version": "5.20.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-5.20.0.tgz", + "integrity": "sha512-h9KtuPZ4D/JuX7rpp1iKg3zOH0WNEa+ZIXwpW/KWmEFDxlA/HSfCMhiyF1HS/drTICjIbpA6OqkAhrP/zkCStg==", + "dependencies": { + "@typescript-eslint/types": "5.20.0", + "@typescript-eslint/visitor-keys": "5.20.0" + }, + "engines": { + "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + } + }, + "node_modules/@typescript-eslint/utils/node_modules/@typescript-eslint/types": { + "version": "5.20.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-5.20.0.tgz", + "integrity": "sha512-+d8wprF9GyvPwtoB4CxBAR/s0rpP25XKgnOvMf/gMXYDvlUC3rPFHupdTQ/ow9vn7UDe5rX02ovGYQbv/IUCbg==", + "engines": { + "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + } + }, + "node_modules/@typescript-eslint/utils/node_modules/@typescript-eslint/typescript-estree": { + "version": "5.20.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-5.20.0.tgz", + "integrity": "sha512-36xLjP/+bXusLMrT9fMMYy1KJAGgHhlER2TqpUVDYUQg4w0q/NW/sg4UGAgVwAqb8V4zYg43KMUpM8vV2lve6w==", + "dependencies": { + "@typescript-eslint/types": "5.20.0", + "@typescript-eslint/visitor-keys": "5.20.0", + "debug": "^4.3.2", + "globby": "^11.0.4", + "is-glob": "^4.0.3", + "semver": "^7.3.5", + "tsutils": "^3.21.0" + }, + "engines": { + "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + }, + "peerDependenciesMeta": { + "typescript": { + "optional": true + } + } + }, + "node_modules/@typescript-eslint/utils/node_modules/@typescript-eslint/visitor-keys": { + "version": "5.20.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-5.20.0.tgz", + "integrity": "sha512-1flRpNF+0CAQkMNlTJ6L/Z5jiODG/e5+7mk6XwtPOUS3UrTz3UOiAg9jG2VtKsWI6rZQfy4C6a232QNRZTRGlg==", + "dependencies": { + "@typescript-eslint/types": "5.20.0", + "eslint-visitor-keys": "^3.0.0" + }, + "engines": { + "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + } + }, + "node_modules/@typescript-eslint/utils/node_modules/eslint-visitor-keys": { + "version": "3.3.0", + "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-3.3.0.tgz", + "integrity": "sha512-mQ+suqKJVyeuwGYHAdjMFqjCyfl8+Ldnxuyp3ldiMBFKkvytrXUZWaiPCEav8qDHKty44bD+qV1IP4T+w+xXRA==", + "engines": { + "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + } + }, + "node_modules/@typescript-eslint/utils/node_modules/lru-cache": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz", + "integrity": "sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==", + "dependencies": { + "yallist": "^4.0.0" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/@typescript-eslint/utils/node_modules/semver": { + "version": "7.3.7", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.3.7.tgz", + "integrity": "sha512-QlYTucUYOews+WeEujDoEGziz4K6c47V/Bd+LjSSYcA94p+DmINdf7ncaUinThfvZyu13lN9OY1XDxt8C0Tw0g==", + "dependencies": { + "lru-cache": "^6.0.0" + }, + "bin": { + "semver": "bin/semver.js" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/@typescript-eslint/utils/node_modules/yallist": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz", + "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==" + }, "node_modules/@typescript-eslint/visitor-keys": { "version": "4.33.0", "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-4.33.0.tgz", @@ -15495,6 +15627,21 @@ "node": ">= 6" } }, + "node_modules/@vue/cli-plugin-typescript/node_modules/ansi-styles": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", + "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", + "optional": true, + "dependencies": { + "color-convert": "^2.0.1" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/chalk/ansi-styles?sponsor=1" + } + }, "node_modules/@vue/cli-plugin-typescript/node_modules/arr-diff": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/arr-diff/-/arr-diff-4.0.0.tgz", @@ -15685,6 +15832,57 @@ "yarn": ">=1.0.0" } }, + "node_modules/@vue/cli-plugin-typescript/node_modules/fork-ts-checker-webpack-plugin-v5": { + "name": "fork-ts-checker-webpack-plugin", + "version": "5.2.1", + "resolved": "https://registry.npmjs.org/fork-ts-checker-webpack-plugin/-/fork-ts-checker-webpack-plugin-5.2.1.tgz", + "integrity": "sha512-SVi+ZAQOGbtAsUWrZvGzz38ga2YqjWvca1pXQFUArIVXqli0lLoDQ8uS0wg0kSpcwpZmaW5jVCZXQebkyUQSsw==", + "optional": true, + "dependencies": { + "@babel/code-frame": "^7.8.3", + "@types/json-schema": "^7.0.5", + "chalk": "^4.1.0", + "cosmiconfig": "^6.0.0", + "deepmerge": "^4.2.2", + "fs-extra": "^9.0.0", + "memfs": "^3.1.2", + "minimatch": "^3.0.4", + "schema-utils": "2.7.0", + "semver": "^7.3.2", + "tapable": "^1.0.0" + } + }, + "node_modules/@vue/cli-plugin-typescript/node_modules/fork-ts-checker-webpack-plugin-v5/node_modules/chalk": { + "version": "4.1.2", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", + "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", + "optional": true, + "dependencies": { + "ansi-styles": "^4.1.0", + "supports-color": "^7.1.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/chalk/chalk?sponsor=1" + } + }, + "node_modules/@vue/cli-plugin-typescript/node_modules/fork-ts-checker-webpack-plugin-v5/node_modules/semver": { + "version": "7.3.7", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.3.7.tgz", + "integrity": "sha512-QlYTucUYOews+WeEujDoEGziz4K6c47V/Bd+LjSSYcA94p+DmINdf7ncaUinThfvZyu13lN9OY1XDxt8C0Tw0g==", + "optional": true, + "dependencies": { + "lru-cache": "^6.0.0" + }, + "bin": { + "semver": "bin/semver.js" + }, + "engines": { + "node": ">=10" + } + }, "node_modules/@vue/cli-plugin-typescript/node_modules/fork-ts-checker-webpack-plugin/node_modules/micromatch": { "version": "3.1.10", "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-3.1.10.tgz", @@ -15716,6 +15914,21 @@ "semver": "bin/semver" } }, + "node_modules/@vue/cli-plugin-typescript/node_modules/fs-extra": { + "version": "9.1.0", + "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-9.1.0.tgz", + "integrity": "sha512-hcg3ZmepS30/7BSFqRvoo3DOMQu7IjqxO5nCDt+zM9XWjb33Wg7ziNT+Qvqbuc3+gWpzO02JubVyk2G4Zvo1OQ==", + "optional": true, + "dependencies": { + "at-least-node": "^1.0.0", + "graceful-fs": "^4.2.0", + "jsonfile": "^6.0.1", + "universalify": "^2.0.0" + }, + "engines": { + "node": ">=10" + } + }, "node_modules/@vue/cli-plugin-typescript/node_modules/glob-parent": { "version": "3.1.0", "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-3.1.0.tgz", @@ -15754,6 +15967,15 @@ "node": ">=6" } }, + "node_modules/@vue/cli-plugin-typescript/node_modules/has-flag": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", + "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", + "optional": true, + "engines": { + "node": ">=8" + } + }, "node_modules/@vue/cli-plugin-typescript/node_modules/ignore": { "version": "4.0.6", "resolved": "https://registry.npmjs.org/ignore/-/ignore-4.0.6.tgz", @@ -15800,6 +16022,18 @@ "json5": "lib/cli.js" } }, + "node_modules/@vue/cli-plugin-typescript/node_modules/jsonfile": { + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-6.1.0.tgz", + "integrity": "sha512-5dgndWOriYSm5cnYaJNhalLNDKOqFwyDB/rr1E9ZsGciGvKPs8R2xYGCacuf3z6K1YKDz182fd+fY3cn3pMqXQ==", + "optional": true, + "dependencies": { + "universalify": "^2.0.0" + }, + "optionalDependencies": { + "graceful-fs": "^4.1.6" + } + }, "node_modules/@vue/cli-plugin-typescript/node_modules/loader-utils": { "version": "1.4.0", "resolved": "https://registry.npmjs.org/loader-utils/-/loader-utils-1.4.0.tgz", @@ -15813,6 +16047,18 @@ "node": ">=4.0.0" } }, + "node_modules/@vue/cli-plugin-typescript/node_modules/lru-cache": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz", + "integrity": "sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==", + "optional": true, + "dependencies": { + "yallist": "^4.0.0" + }, + "engines": { + "node": ">=10" + } + }, "node_modules/@vue/cli-plugin-typescript/node_modules/memory-fs": { "version": "0.5.0", "resolved": "https://registry.npmjs.org/memory-fs/-/memory-fs-0.5.0.tgz", @@ -15863,6 +16109,24 @@ "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz", "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==" }, + "node_modules/@vue/cli-plugin-typescript/node_modules/schema-utils": { + "version": "2.7.0", + "resolved": "https://registry.npmjs.org/schema-utils/-/schema-utils-2.7.0.tgz", + "integrity": "sha512-0ilKFI6QQF5nxDZLFn2dMjvc4hjg/Wkg7rHd3jK6/A4a1Hl9VFdQWvgB1UMGoU94pad1P/8N7fMcEnLnSiju8A==", + "optional": true, + "dependencies": { + "@types/json-schema": "^7.0.4", + "ajv": "^6.12.2", + "ajv-keywords": "^3.4.1" + }, + "engines": { + "node": ">= 8.9.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/webpack" + } + }, "node_modules/@vue/cli-plugin-typescript/node_modules/slash": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/slash/-/slash-2.0.0.tgz", @@ -15879,6 +16143,18 @@ "safe-buffer": "~5.1.0" } }, + "node_modules/@vue/cli-plugin-typescript/node_modules/supports-color": { + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", + "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", + "optional": true, + "dependencies": { + "has-flag": "^4.0.0" + }, + "engines": { + "node": ">=8" + } + }, "node_modules/@vue/cli-plugin-typescript/node_modules/tapable": { "version": "1.1.3", "resolved": "https://registry.npmjs.org/tapable/-/tapable-1.1.3.tgz", @@ -15965,6 +16241,21 @@ "typescript": ">=2.1.0 || >=2.1.0-dev || >=2.2.0-dev || >=2.3.0-dev || >=2.4.0-dev || >=2.5.0-dev || >=2.6.0-dev || >=2.7.0-dev || >=2.8.0-dev || >=2.9.0-dev || >= 3.0.0-dev || >= 3.1.0-dev" } }, + "node_modules/@vue/cli-plugin-typescript/node_modules/universalify": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/universalify/-/universalify-2.0.0.tgz", + "integrity": "sha512-hAZsKq7Yy11Zu1DE0OzWjw7nnLZmJZYTDZZyEFHZdUhV8FkH5MCfoU1XMaxXovpyW5nq5scPqq0ZDP9Zyl04oQ==", + "optional": true, + "engines": { + "node": ">= 10.0.0" + } + }, + "node_modules/@vue/cli-plugin-typescript/node_modules/yallist": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz", + "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==", + "optional": true + }, "node_modules/@vue/cli-plugin-unit-jest": { "version": "4.5.17", "resolved": "https://registry.npmjs.org/@vue/cli-plugin-unit-jest/-/cli-plugin-unit-jest-4.5.17.tgz", @@ -17843,6 +18134,21 @@ "node": ">= 6" } }, + "node_modules/@vue/cli-service/node_modules/ansi-styles": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", + "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", + "optional": true, + "dependencies": { + "color-convert": "^2.0.1" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/chalk/ansi-styles?sponsor=1" + } + }, "node_modules/@vue/cli-service/node_modules/arr-diff": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/arr-diff/-/arr-diff-4.0.0.tgz", @@ -17901,6 +18207,22 @@ "node": ">=0.10.0" } }, + "node_modules/@vue/cli-service/node_modules/chalk": { + "version": "4.1.2", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", + "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", + "optional": true, + "dependencies": { + "ansi-styles": "^4.1.0", + "supports-color": "^7.1.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/chalk/chalk?sponsor=1" + } + }, "node_modules/@vue/cli-service/node_modules/dir-glob": { "version": "2.2.2", "resolved": "https://registry.npmjs.org/dir-glob/-/dir-glob-2.2.2.tgz", @@ -18039,6 +18361,15 @@ "node": ">=6" } }, + "node_modules/@vue/cli-service/node_modules/has-flag": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", + "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", + "optional": true, + "engines": { + "node": ">=8" + } + }, "node_modules/@vue/cli-service/node_modules/html-webpack-plugin": { "version": "3.2.0", "resolved": "https://registry.npmjs.org/html-webpack-plugin/-/html-webpack-plugin-3.2.0.tgz", @@ -18261,6 +18592,18 @@ "node": ">=0.10.0" } }, + "node_modules/@vue/cli-service/node_modules/supports-color": { + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", + "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", + "optional": true, + "dependencies": { + "has-flag": "^4.0.0" + }, + "engines": { + "node": ">=8" + } + }, "node_modules/@vue/cli-service/node_modules/tapable": { "version": "1.1.3", "resolved": "https://registry.npmjs.org/tapable/-/tapable-1.1.3.tgz", @@ -18352,6 +18695,44 @@ "object.getownpropertydescriptors": "^2.0.3" } }, + "node_modules/@vue/cli-service/node_modules/vue-loader-v16": { + "name": "vue-loader", + "version": "16.8.3", + "resolved": "https://registry.npmjs.org/vue-loader/-/vue-loader-16.8.3.tgz", + "integrity": "sha512-7vKN45IxsKxe5GcVCbc2qFU5aWzyiLrYJyUuMz4BQLKctCj/fmCa0w6fGiiQ2cLFetNcek1ppGJQDCup0c1hpA==", + "optional": true, + "dependencies": { + "chalk": "^4.1.0", + "hash-sum": "^2.0.0", + "loader-utils": "^2.0.0" + } + }, + "node_modules/@vue/cli-service/node_modules/vue-loader-v16/node_modules/json5": { + "version": "2.2.1", + "resolved": "https://registry.npmjs.org/json5/-/json5-2.2.1.tgz", + "integrity": "sha512-1hqLFMSrGHRHxav9q9gNjJ5EXznIxGVO09xQRrwplcS8qs28pZ8s8hupZAmqDwZUmVZ2Qb2jnyPOWcDH8m8dlA==", + "optional": true, + "bin": { + "json5": "lib/cli.js" + }, + "engines": { + "node": ">=6" + } + }, + "node_modules/@vue/cli-service/node_modules/vue-loader-v16/node_modules/loader-utils": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/loader-utils/-/loader-utils-2.0.2.tgz", + "integrity": "sha512-TM57VeHptv569d/GKh6TAYdzKblwDNiumOdkFnejjD0XwTH87K90w3O7AiJRqdQoXygvi1VQTJTLGhJl7WqA7A==", + "optional": true, + "dependencies": { + "big.js": "^5.2.2", + "emojis-list": "^3.0.0", + "json5": "^2.1.2" + }, + "engines": { + "node": ">=8.9.0" + } + }, "node_modules/@vue/cli-shared-utils": { "version": "4.5.17", "resolved": "https://registry.npmjs.org/@vue/cli-shared-utils/-/cli-shared-utils-4.5.17.tgz", @@ -27705,6 +28086,304 @@ "eslint-plugin-standard": ">=4.0.0" } }, + "node_modules/eslint-docgen": { + "version": "0.7.0", + "resolved": "https://registry.npmjs.org/eslint-docgen/-/eslint-docgen-0.7.0.tgz", + "integrity": "sha512-yCVd9wo+XXlQpLI6y5pW3fQzUNz0vTIccFMyNNQNhv9COVPfwaPgHVHZ14UCkFenKAXAATy2uOLaVBpzzvGvRQ==", + "dependencies": { + "chalk": "^4.1.2", + "ejs": "^3.1.6", + "eslint": ">=8.0.0", + "import-fresh": "^3.3.0", + "jsonschema": "^1.4.0", + "merge-options": "^3.0.4", + "mkdirp": "^1.0.4", + "pkg-dir": "^5.0.0", + "pluralize": "^8.0.0", + "simple-mock": "^0.8.0", + "upath": "^2.0.1" + }, + "engines": { + "node": ">=12.0.0" + } + }, + "node_modules/eslint-docgen/node_modules/@eslint/eslintrc": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/@eslint/eslintrc/-/eslintrc-1.2.1.tgz", + "integrity": "sha512-bxvbYnBPN1Gibwyp6NrpnFzA3YtRL3BBAyEAFVIpNTm2Rn4Vy87GA5M4aSn3InRrlsbX5N0GW7XIx+U4SAEKdQ==", + "dependencies": { + "ajv": "^6.12.4", + "debug": "^4.3.2", + "espree": "^9.3.1", + "globals": "^13.9.0", + "ignore": "^5.2.0", + "import-fresh": "^3.2.1", + "js-yaml": "^4.1.0", + "minimatch": "^3.0.4", + "strip-json-comments": "^3.1.1" + }, + "engines": { + "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + } + }, + "node_modules/eslint-docgen/node_modules/@humanwhocodes/config-array": { + "version": "0.9.5", + "resolved": "https://registry.npmjs.org/@humanwhocodes/config-array/-/config-array-0.9.5.tgz", + "integrity": "sha512-ObyMyWxZiCu/yTisA7uzx81s40xR2fD5Cg/2Kq7G02ajkNubJf6BopgDTmDyc3U7sXpNKM8cYOw7s7Tyr+DnCw==", + "dependencies": { + "@humanwhocodes/object-schema": "^1.2.1", + "debug": "^4.1.1", + "minimatch": "^3.0.4" + }, + "engines": { + "node": ">=10.10.0" + } + }, + "node_modules/eslint-docgen/node_modules/acorn": { + "version": "8.7.0", + "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.7.0.tgz", + "integrity": "sha512-V/LGr1APy+PXIwKebEWrkZPwoeoF+w1jiOBUmuxuiUIaOHtob8Qc9BTrYo7VuI5fR8tqsy+buA2WFooR5olqvQ==", + "bin": { + "acorn": "bin/acorn" + }, + "engines": { + "node": ">=0.4.0" + } + }, + "node_modules/eslint-docgen/node_modules/ansi-styles": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", + "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", + "dependencies": { + "color-convert": "^2.0.1" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/chalk/ansi-styles?sponsor=1" + } + }, + "node_modules/eslint-docgen/node_modules/argparse": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/argparse/-/argparse-2.0.1.tgz", + "integrity": "sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==" + }, + "node_modules/eslint-docgen/node_modules/chalk": { + "version": "4.1.2", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", + "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", + "dependencies": { + "ansi-styles": "^4.1.0", + "supports-color": "^7.1.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/chalk/chalk?sponsor=1" + } + }, + "node_modules/eslint-docgen/node_modules/ejs": { + "version": "3.1.7", + "resolved": "https://registry.npmjs.org/ejs/-/ejs-3.1.7.tgz", + "integrity": "sha512-BIar7R6abbUxDA3bfXrO4DSgwo8I+fB5/1zgujl3HLLjwd6+9iOnrT+t3grn2qbk9vOgBubXOFwX2m9axoFaGw==", + "dependencies": { + "jake": "^10.8.5" + }, + "bin": { + "ejs": "bin/cli.js" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/eslint-docgen/node_modules/escape-string-regexp": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-4.0.0.tgz", + "integrity": "sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA==", + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/eslint-docgen/node_modules/eslint": { + "version": "8.13.0", + "resolved": "https://registry.npmjs.org/eslint/-/eslint-8.13.0.tgz", + "integrity": "sha512-D+Xei61eInqauAyTJ6C0q6x9mx7kTUC1KZ0m0LSEexR0V+e94K12LmWX076ZIsldwfQ2RONdaJe0re0TRGQbRQ==", + "dependencies": { + "@eslint/eslintrc": "^1.2.1", + "@humanwhocodes/config-array": "^0.9.2", + "ajv": "^6.10.0", + "chalk": "^4.0.0", + "cross-spawn": "^7.0.2", + "debug": "^4.3.2", + "doctrine": "^3.0.0", + "escape-string-regexp": "^4.0.0", + "eslint-scope": "^7.1.1", + "eslint-utils": "^3.0.0", + "eslint-visitor-keys": "^3.3.0", + "espree": "^9.3.1", + "esquery": "^1.4.0", + "esutils": "^2.0.2", + "fast-deep-equal": "^3.1.3", + "file-entry-cache": "^6.0.1", + "functional-red-black-tree": "^1.0.1", + "glob-parent": "^6.0.1", + "globals": "^13.6.0", + "ignore": "^5.2.0", + "import-fresh": "^3.0.0", + "imurmurhash": "^0.1.4", + "is-glob": "^4.0.0", + "js-yaml": "^4.1.0", + "json-stable-stringify-without-jsonify": "^1.0.1", + "levn": "^0.4.1", + "lodash.merge": "^4.6.2", + "minimatch": "^3.0.4", + "natural-compare": "^1.4.0", + "optionator": "^0.9.1", + "regexpp": "^3.2.0", + "strip-ansi": "^6.0.1", + "strip-json-comments": "^3.1.0", + "text-table": "^0.2.0", + "v8-compile-cache": "^2.0.3" + }, + "bin": { + "eslint": "bin/eslint.js" + }, + "engines": { + "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + }, + "funding": { + "url": "https://opencollective.com/eslint" + } + }, + "node_modules/eslint-docgen/node_modules/eslint-scope": { + "version": "7.1.1", + "resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-7.1.1.tgz", + "integrity": "sha512-QKQM/UXpIiHcLqJ5AOyIW7XZmzjkzQXYE54n1++wb0u9V/abW3l9uQnxX8Z5Xd18xyKIMTUAyQ0k1e8pz6LUrw==", + "dependencies": { + "esrecurse": "^4.3.0", + "estraverse": "^5.2.0" + }, + "engines": { + "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + } + }, + "node_modules/eslint-docgen/node_modules/eslint-visitor-keys": { + "version": "3.3.0", + "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-3.3.0.tgz", + "integrity": "sha512-mQ+suqKJVyeuwGYHAdjMFqjCyfl8+Ldnxuyp3ldiMBFKkvytrXUZWaiPCEav8qDHKty44bD+qV1IP4T+w+xXRA==", + "engines": { + "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + } + }, + "node_modules/eslint-docgen/node_modules/espree": { + "version": "9.3.1", + "resolved": "https://registry.npmjs.org/espree/-/espree-9.3.1.tgz", + "integrity": "sha512-bvdyLmJMfwkV3NCRl5ZhJf22zBFo1y8bYh3VYb+bfzqNB4Je68P2sSuXyuFquzWLebHpNd2/d5uv7yoP9ISnGQ==", + "dependencies": { + "acorn": "^8.7.0", + "acorn-jsx": "^5.3.1", + "eslint-visitor-keys": "^3.3.0" + }, + "engines": { + "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + } + }, + "node_modules/eslint-docgen/node_modules/glob-parent": { + "version": "6.0.2", + "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-6.0.2.tgz", + "integrity": "sha512-XxwI8EOhVQgWp6iDL+3b0r86f4d6AX6zSU55HfB4ydCEuXLXc5FcYeOu+nnGftS4TEju/11rt4KJPTMgbfmv4A==", + "dependencies": { + "is-glob": "^4.0.3" + }, + "engines": { + "node": ">=10.13.0" + } + }, + "node_modules/eslint-docgen/node_modules/globals": { + "version": "13.13.0", + "resolved": "https://registry.npmjs.org/globals/-/globals-13.13.0.tgz", + "integrity": "sha512-EQ7Q18AJlPwp3vUDL4mKA0KXrXyNIQyWon6T6XQiBQF0XHvRsiCSrWmmeATpUzdJN2HhWZU6Pdl0a9zdep5p6A==", + "dependencies": { + "type-fest": "^0.20.2" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/eslint-docgen/node_modules/has-flag": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", + "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", + "engines": { + "node": ">=8" + } + }, + "node_modules/eslint-docgen/node_modules/js-yaml": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-4.1.0.tgz", + "integrity": "sha512-wpxZs9NoxZaJESJGIZTyDEaYpl0FKSA+FB9aJiyemKhMwkxQg63h4T1KJgUGHpTqPDNRcmmYLugrRjJlBtWvRA==", + "dependencies": { + "argparse": "^2.0.1" + }, + "bin": { + "js-yaml": "bin/js-yaml.js" + } + }, + "node_modules/eslint-docgen/node_modules/mkdirp": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-1.0.4.tgz", + "integrity": "sha512-vVqVZQyf3WLx2Shd0qJ9xuvqgAyKPLAiqITEtqW0oIUjzo3PePDd6fW9iFz30ef7Ysp/oiWqbhszeGWW2T6Gzw==", + "bin": { + "mkdirp": "bin/cmd.js" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/eslint-docgen/node_modules/optionator": { + "version": "0.9.1", + "resolved": "https://registry.npmjs.org/optionator/-/optionator-0.9.1.tgz", + "integrity": "sha512-74RlY5FCnhq4jRxVUPKDaRwrVNXMqsGsiW6AJw4XK8hmtm10wC0ypZBLw5IIp85NZMr91+qd1RvvENwg7jjRFw==", + "dependencies": { + "deep-is": "^0.1.3", + "fast-levenshtein": "^2.0.6", + "levn": "^0.4.1", + "prelude-ls": "^1.2.1", + "type-check": "^0.4.0", + "word-wrap": "^1.2.3" + }, + "engines": { + "node": ">= 0.8.0" + } + }, + "node_modules/eslint-docgen/node_modules/supports-color": { + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", + "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", + "dependencies": { + "has-flag": "^4.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/eslint-docgen/node_modules/upath": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/upath/-/upath-2.0.1.tgz", + "integrity": "sha512-1uEe95xksV1O0CYKXo8vQvN1JEbtJp7lb7C5U9HMsIp6IVwntkH/oNUzyVNQSd4S1sYk2FpSSW44FqMc8qee5w==", + "engines": { + "node": ">=4", + "yarn": "*" + } + }, "node_modules/eslint-import-resolver-node": { "version": "0.3.6", "resolved": "https://registry.npmjs.org/eslint-import-resolver-node/-/eslint-import-resolver-node-0.3.6.tgz", @@ -27955,6 +28634,18 @@ "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=" }, + "node_modules/eslint-plugin-n8n-nodes-base": { + "version": "1.0.28", + "resolved": "https://registry.npmjs.org/eslint-plugin-n8n-nodes-base/-/eslint-plugin-n8n-nodes-base-1.0.28.tgz", + "integrity": "sha512-1Y1380bQ3l2aRDvz3vuShoxlBao4PPCx4xQQK9NvtE4KizPs4driTNcW5ncnK8Nevo+rnqo+Eva4CM9JFwBmiA==", + "dependencies": { + "@typescript-eslint/utils": "^5.17.0", + "camel-case": "^4.1.2", + "eslint-docgen": "^0.7.0", + "pluralize": "^8.0.0", + "title-case": "^3.0.3" + } + }, "node_modules/eslint-plugin-prettier": { "version": "3.4.1", "resolved": "https://registry.npmjs.org/eslint-plugin-prettier/-/eslint-plugin-prettier-3.4.1.tgz", @@ -29202,6 +29893,33 @@ "resolved": "https://registry.npmjs.org/file-uri-to-path/-/file-uri-to-path-1.0.0.tgz", "integrity": "sha512-0Zt+s3L7Vf1biwWZ29aARiVYLx7iMGnEUl9x33fbB/j3jR81u/O2LbqK+Bm1CDSNDKVtJ/YjwY7TUd5SkeLQLw==" }, + "node_modules/filelist": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/filelist/-/filelist-1.0.3.tgz", + "integrity": "sha512-LwjCsruLWQULGYKy7TX0OPtrL9kLpojOFKc5VCTxdFTV7w5zbsgqVKfnkKG7Qgjtq50gKfO56hJv88OfcGb70Q==", + "dependencies": { + "minimatch": "^5.0.1" + } + }, + "node_modules/filelist/node_modules/brace-expansion": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.1.tgz", + "integrity": "sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==", + "dependencies": { + "balanced-match": "^1.0.0" + } + }, + "node_modules/filelist/node_modules/minimatch": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-5.0.1.tgz", + "integrity": "sha512-nLDxIFRyhDblz3qMuq+SoRZED4+miJ/G+tdDrjkkkRnjAsBexeGpgjLEQ0blJy7rHhR2b93rhQY4SvyWu9v03g==", + "dependencies": { + "brace-expansion": "^2.0.1" + }, + "engines": { + "node": ">=10" + } + }, "node_modules/filesize": { "version": "3.6.1", "resolved": "https://registry.npmjs.org/filesize/-/filesize-3.6.1.tgz", @@ -29741,178 +30459,6 @@ "yarn": ">=1.0.0" } }, - "node_modules/fork-ts-checker-webpack-plugin-v5": { - "name": "fork-ts-checker-webpack-plugin", - "version": "5.2.1", - "resolved": "https://registry.npmjs.org/fork-ts-checker-webpack-plugin/-/fork-ts-checker-webpack-plugin-5.2.1.tgz", - "integrity": "sha512-SVi+ZAQOGbtAsUWrZvGzz38ga2YqjWvca1pXQFUArIVXqli0lLoDQ8uS0wg0kSpcwpZmaW5jVCZXQebkyUQSsw==", - "optional": true, - "dependencies": { - "@babel/code-frame": "^7.8.3", - "@types/json-schema": "^7.0.5", - "chalk": "^4.1.0", - "cosmiconfig": "^6.0.0", - "deepmerge": "^4.2.2", - "fs-extra": "^9.0.0", - "memfs": "^3.1.2", - "minimatch": "^3.0.4", - "schema-utils": "2.7.0", - "semver": "^7.3.2", - "tapable": "^1.0.0" - }, - "engines": { - "node": ">=10", - "yarn": ">=1.0.0" - } - }, - "node_modules/fork-ts-checker-webpack-plugin-v5/node_modules/ansi-styles": { - "version": "4.3.0", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", - "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", - "optional": true, - "dependencies": { - "color-convert": "^2.0.1" - }, - "engines": { - "node": ">=8" - }, - "funding": { - "url": "https://github.com/chalk/ansi-styles?sponsor=1" - } - }, - "node_modules/fork-ts-checker-webpack-plugin-v5/node_modules/chalk": { - "version": "4.1.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", - "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", - "optional": true, - "dependencies": { - "ansi-styles": "^4.1.0", - "supports-color": "^7.1.0" - }, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/chalk/chalk?sponsor=1" - } - }, - "node_modules/fork-ts-checker-webpack-plugin-v5/node_modules/fs-extra": { - "version": "9.1.0", - "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-9.1.0.tgz", - "integrity": "sha512-hcg3ZmepS30/7BSFqRvoo3DOMQu7IjqxO5nCDt+zM9XWjb33Wg7ziNT+Qvqbuc3+gWpzO02JubVyk2G4Zvo1OQ==", - "optional": true, - "dependencies": { - "at-least-node": "^1.0.0", - "graceful-fs": "^4.2.0", - "jsonfile": "^6.0.1", - "universalify": "^2.0.0" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/fork-ts-checker-webpack-plugin-v5/node_modules/has-flag": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", - "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", - "optional": true, - "engines": { - "node": ">=8" - } - }, - "node_modules/fork-ts-checker-webpack-plugin-v5/node_modules/jsonfile": { - "version": "6.1.0", - "resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-6.1.0.tgz", - "integrity": "sha512-5dgndWOriYSm5cnYaJNhalLNDKOqFwyDB/rr1E9ZsGciGvKPs8R2xYGCacuf3z6K1YKDz182fd+fY3cn3pMqXQ==", - "optional": true, - "dependencies": { - "universalify": "^2.0.0" - }, - "optionalDependencies": { - "graceful-fs": "^4.1.6" - } - }, - "node_modules/fork-ts-checker-webpack-plugin-v5/node_modules/lru-cache": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz", - "integrity": "sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==", - "optional": true, - "dependencies": { - "yallist": "^4.0.0" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/fork-ts-checker-webpack-plugin-v5/node_modules/schema-utils": { - "version": "2.7.0", - "resolved": "https://registry.npmjs.org/schema-utils/-/schema-utils-2.7.0.tgz", - "integrity": "sha512-0ilKFI6QQF5nxDZLFn2dMjvc4hjg/Wkg7rHd3jK6/A4a1Hl9VFdQWvgB1UMGoU94pad1P/8N7fMcEnLnSiju8A==", - "optional": true, - "dependencies": { - "@types/json-schema": "^7.0.4", - "ajv": "^6.12.2", - "ajv-keywords": "^3.4.1" - }, - "engines": { - "node": ">= 8.9.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/webpack" - } - }, - "node_modules/fork-ts-checker-webpack-plugin-v5/node_modules/semver": { - "version": "7.3.7", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.3.7.tgz", - "integrity": "sha512-QlYTucUYOews+WeEujDoEGziz4K6c47V/Bd+LjSSYcA94p+DmINdf7ncaUinThfvZyu13lN9OY1XDxt8C0Tw0g==", - "optional": true, - "dependencies": { - "lru-cache": "^6.0.0" - }, - "bin": { - "semver": "bin/semver.js" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/fork-ts-checker-webpack-plugin-v5/node_modules/supports-color": { - "version": "7.2.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", - "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", - "optional": true, - "dependencies": { - "has-flag": "^4.0.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/fork-ts-checker-webpack-plugin-v5/node_modules/tapable": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/tapable/-/tapable-1.1.3.tgz", - "integrity": "sha512-4WK/bYZmj8xLr+HUCODHGF1ZFzsYffasLUgEiMBY4fgtltdO6B4WJtlSbPaDTLpYTcGVwM2qLnFTICEcNxs3kA==", - "optional": true, - "engines": { - "node": ">=6" - } - }, - "node_modules/fork-ts-checker-webpack-plugin-v5/node_modules/universalify": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/universalify/-/universalify-2.0.0.tgz", - "integrity": "sha512-hAZsKq7Yy11Zu1DE0OzWjw7nnLZmJZYTDZZyEFHZdUhV8FkH5MCfoU1XMaxXovpyW5nq5scPqq0ZDP9Zyl04oQ==", - "optional": true, - "engines": { - "node": ">= 10.0.0" - } - }, - "node_modules/fork-ts-checker-webpack-plugin-v5/node_modules/yallist": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz", - "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==", - "optional": true - }, "node_modules/fork-ts-checker-webpack-plugin/node_modules/arr-diff": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/arr-diff/-/arr-diff-4.0.0.tgz", @@ -35081,6 +35627,76 @@ "url": "https://github.com/sponsors/ljharb" } }, + "node_modules/jake": { + "version": "10.8.5", + "resolved": "https://registry.npmjs.org/jake/-/jake-10.8.5.tgz", + "integrity": "sha512-sVpxYeuAhWt0OTWITwT98oyV0GsXyMlXCF+3L1SuafBVUIr/uILGRB+NqwkzhgXKvoJpDIpQvqkUALgdmQsQxw==", + "dependencies": { + "async": "^3.2.3", + "chalk": "^4.0.2", + "filelist": "^1.0.1", + "minimatch": "^3.0.4" + }, + "bin": { + "jake": "bin/cli.js" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/jake/node_modules/ansi-styles": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", + "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", + "dependencies": { + "color-convert": "^2.0.1" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/chalk/ansi-styles?sponsor=1" + } + }, + "node_modules/jake/node_modules/async": { + "version": "3.2.3", + "resolved": "https://registry.npmjs.org/async/-/async-3.2.3.tgz", + "integrity": "sha512-spZRyzKL5l5BZQrr/6m/SqFdBN0q3OCI0f9rjfBzCMBIP4p75P620rR3gTmaksNOhmzgdxcaxdNfMy6anrbM0g==" + }, + "node_modules/jake/node_modules/chalk": { + "version": "4.1.2", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", + "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", + "dependencies": { + "ansi-styles": "^4.1.0", + "supports-color": "^7.1.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/chalk/chalk?sponsor=1" + } + }, + "node_modules/jake/node_modules/has-flag": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", + "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", + "engines": { + "node": ">=8" + } + }, + "node_modules/jake/node_modules/supports-color": { + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", + "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", + "dependencies": { + "has-flag": "^4.0.0" + }, + "engines": { + "node": ">=8" + } + }, "node_modules/javascript-stringify": { "version": "2.1.0", "resolved": "https://registry.npmjs.org/javascript-stringify/-/javascript-stringify-2.1.0.tgz", @@ -39812,6 +40428,14 @@ "node >= 0.2.0" ] }, + "node_modules/jsonschema": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/jsonschema/-/jsonschema-1.4.0.tgz", + "integrity": "sha512-/YgW6pRMr6M7C+4o8kS+B/2myEpHCrxO4PEWnqJNBFMjn7EWXqlQ4tGwL6xTHeRplwuZmcAncdvfOad1nT2yMw==", + "engines": { + "node": "*" + } + }, "node_modules/JSONStream": { "version": "1.3.5", "resolved": "https://registry.npmjs.org/JSONStream/-/JSONStream-1.3.5.tgz", @@ -41723,6 +42347,25 @@ "resolved": "https://registry.npmjs.org/merge-descriptors/-/merge-descriptors-1.0.1.tgz", "integrity": "sha1-sAqqVW3YtEVoFQ7J0blT8/kMu2E=" }, + "node_modules/merge-options": { + "version": "3.0.4", + "resolved": "https://registry.npmjs.org/merge-options/-/merge-options-3.0.4.tgz", + "integrity": "sha512-2Sug1+knBjkaMsMgf1ctR1Ujx+Ayku4EdJN4Z+C2+JzoeF7A3OZ9KM2GY0CpQS51NR61LTurMJrRKPhSs3ZRTQ==", + "dependencies": { + "is-plain-obj": "^2.1.0" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/merge-options/node_modules/is-plain-obj": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/is-plain-obj/-/is-plain-obj-2.1.0.tgz", + "integrity": "sha512-YWnfyRwxL/+SsrWYfOpUtz5b3YD+nyfkHvjbcanzk8zgyO4ASD67uVMRt8k5bM4lLMDnXfriRhOpemw+NfT1eA==", + "engines": { + "node": ">=8" + } + }, "node_modules/merge-source-map": { "version": "1.1.0", "resolved": "https://registry.npmjs.org/merge-source-map/-/merge-source-map-1.1.0.tgz", @@ -45474,6 +46117,14 @@ "node": ">=0.10.0" } }, + "node_modules/pluralize": { + "version": "8.0.0", + "resolved": "https://registry.npmjs.org/pluralize/-/pluralize-8.0.0.tgz", + "integrity": "sha512-Nc3IT5yHzflTfbjgqWcCPpo7DaKy4FnpB0l/zCAW0Tc7jxAiuqSxHasntB3D7887LSrA93kDJ9IXovxJYxyLCA==", + "engines": { + "node": ">=4" + } + }, "node_modules/pn": { "version": "1.1.0", "resolved": "https://registry.npmjs.org/pn/-/pn-1.1.0.tgz", @@ -50013,6 +50664,11 @@ "resolved": "https://registry.npmjs.org/simple-lru-cache/-/simple-lru-cache-0.0.2.tgz", "integrity": "sha1-1ZzDoZPBpdAyD4Tucy9uRxPlEd0=" }, + "node_modules/simple-mock": { + "version": "0.8.0", + "resolved": "https://registry.npmjs.org/simple-mock/-/simple-mock-0.8.0.tgz", + "integrity": "sha1-ScmiI/pu6o4sT9aUj+gwDNillPM=" + }, "node_modules/simple-swizzle": { "version": "0.2.2", "resolved": "https://registry.npmjs.org/simple-swizzle/-/simple-swizzle-0.2.2.tgz", @@ -55559,73 +56215,6 @@ } } }, - "node_modules/vue-loader-v16": { - "name": "vue-loader", - "version": "16.8.3", - "resolved": "https://registry.npmjs.org/vue-loader/-/vue-loader-16.8.3.tgz", - "integrity": "sha512-7vKN45IxsKxe5GcVCbc2qFU5aWzyiLrYJyUuMz4BQLKctCj/fmCa0w6fGiiQ2cLFetNcek1ppGJQDCup0c1hpA==", - "optional": true, - "dependencies": { - "chalk": "^4.1.0", - "hash-sum": "^2.0.0", - "loader-utils": "^2.0.0" - }, - "peerDependencies": { - "webpack": "^4.1.0 || ^5.0.0-0" - } - }, - "node_modules/vue-loader-v16/node_modules/ansi-styles": { - "version": "4.3.0", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", - "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", - "optional": true, - "dependencies": { - "color-convert": "^2.0.1" - }, - "engines": { - "node": ">=8" - }, - "funding": { - "url": "https://github.com/chalk/ansi-styles?sponsor=1" - } - }, - "node_modules/vue-loader-v16/node_modules/chalk": { - "version": "4.1.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", - "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", - "optional": true, - "dependencies": { - "ansi-styles": "^4.1.0", - "supports-color": "^7.1.0" - }, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/chalk/chalk?sponsor=1" - } - }, - "node_modules/vue-loader-v16/node_modules/has-flag": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", - "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", - "optional": true, - "engines": { - "node": ">=8" - } - }, - "node_modules/vue-loader-v16/node_modules/supports-color": { - "version": "7.2.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", - "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", - "optional": true, - "dependencies": { - "has-flag": "^4.0.0" - }, - "engines": { - "node": ">=8" - } - }, "node_modules/vue-loader/node_modules/hash-sum": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/hash-sum/-/hash-sum-1.0.2.tgz", @@ -70278,6 +70867,84 @@ } } }, + "@typescript-eslint/utils": { + "version": "5.20.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-5.20.0.tgz", + "integrity": "sha512-lHONGJL1LIO12Ujyx8L8xKbwWSkoUKFSO+0wDAqGXiudWB2EO7WEUT+YZLtVbmOmSllAjLb9tpoIPwpRe5Tn6w==", + "requires": { + "@types/json-schema": "^7.0.9", + "@typescript-eslint/scope-manager": "5.20.0", + "@typescript-eslint/types": "5.20.0", + "@typescript-eslint/typescript-estree": "5.20.0", + "eslint-scope": "^5.1.1", + "eslint-utils": "^3.0.0" + }, + "dependencies": { + "@typescript-eslint/scope-manager": { + "version": "5.20.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-5.20.0.tgz", + "integrity": "sha512-h9KtuPZ4D/JuX7rpp1iKg3zOH0WNEa+ZIXwpW/KWmEFDxlA/HSfCMhiyF1HS/drTICjIbpA6OqkAhrP/zkCStg==", + "requires": { + "@typescript-eslint/types": "5.20.0", + "@typescript-eslint/visitor-keys": "5.20.0" + } + }, + "@typescript-eslint/types": { + "version": "5.20.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-5.20.0.tgz", + "integrity": "sha512-+d8wprF9GyvPwtoB4CxBAR/s0rpP25XKgnOvMf/gMXYDvlUC3rPFHupdTQ/ow9vn7UDe5rX02ovGYQbv/IUCbg==" + }, + "@typescript-eslint/typescript-estree": { + "version": "5.20.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-5.20.0.tgz", + "integrity": "sha512-36xLjP/+bXusLMrT9fMMYy1KJAGgHhlER2TqpUVDYUQg4w0q/NW/sg4UGAgVwAqb8V4zYg43KMUpM8vV2lve6w==", + "requires": { + "@typescript-eslint/types": "5.20.0", + "@typescript-eslint/visitor-keys": "5.20.0", + "debug": "^4.3.2", + "globby": "^11.0.4", + "is-glob": "^4.0.3", + "semver": "^7.3.5", + "tsutils": "^3.21.0" + } + }, + "@typescript-eslint/visitor-keys": { + "version": "5.20.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-5.20.0.tgz", + "integrity": "sha512-1flRpNF+0CAQkMNlTJ6L/Z5jiODG/e5+7mk6XwtPOUS3UrTz3UOiAg9jG2VtKsWI6rZQfy4C6a232QNRZTRGlg==", + "requires": { + "@typescript-eslint/types": "5.20.0", + "eslint-visitor-keys": "^3.0.0" + } + }, + "eslint-visitor-keys": { + "version": "3.3.0", + "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-3.3.0.tgz", + "integrity": "sha512-mQ+suqKJVyeuwGYHAdjMFqjCyfl8+Ldnxuyp3ldiMBFKkvytrXUZWaiPCEav8qDHKty44bD+qV1IP4T+w+xXRA==" + }, + "lru-cache": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz", + "integrity": "sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==", + "requires": { + "yallist": "^4.0.0" + } + }, + "semver": { + "version": "7.3.7", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.3.7.tgz", + "integrity": "sha512-QlYTucUYOews+WeEujDoEGziz4K6c47V/Bd+LjSSYcA94p+DmINdf7ncaUinThfvZyu13lN9OY1XDxt8C0Tw0g==", + "requires": { + "lru-cache": "^6.0.0" + } + }, + "yallist": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz", + "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==" + } + } + }, "@typescript-eslint/visitor-keys": { "version": "4.33.0", "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-4.33.0.tgz", @@ -70722,6 +71389,15 @@ "resolved": "https://registry.npmjs.org/@nodelib/fs.stat/-/fs.stat-1.1.3.tgz", "integrity": "sha512-shAmDyaQC4H92APFoIaVDHCx5bStIocgvbwQyxPRrbUY20V1EYTbSDchWbuwlMG3V17cprZhA6+78JfB+3DTPw==" }, + "ansi-styles": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", + "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", + "optional": true, + "requires": { + "color-convert": "^2.0.1" + } + }, "arr-diff": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/arr-diff/-/arr-diff-4.0.0.tgz", @@ -70902,6 +71578,58 @@ } } }, + "fork-ts-checker-webpack-plugin-v5": { + "version": "npm:fork-ts-checker-webpack-plugin@5.2.1", + "resolved": "https://registry.npmjs.org/fork-ts-checker-webpack-plugin/-/fork-ts-checker-webpack-plugin-5.2.1.tgz", + "integrity": "sha512-SVi+ZAQOGbtAsUWrZvGzz38ga2YqjWvca1pXQFUArIVXqli0lLoDQ8uS0wg0kSpcwpZmaW5jVCZXQebkyUQSsw==", + "optional": true, + "requires": { + "@babel/code-frame": "^7.8.3", + "@types/json-schema": "^7.0.5", + "chalk": "^4.1.0", + "cosmiconfig": "^6.0.0", + "deepmerge": "^4.2.2", + "fs-extra": "^9.0.0", + "memfs": "^3.1.2", + "minimatch": "^3.0.4", + "schema-utils": "2.7.0", + "semver": "^7.3.2", + "tapable": "^1.0.0" + }, + "dependencies": { + "chalk": { + "version": "4.1.2", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", + "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", + "optional": true, + "requires": { + "ansi-styles": "^4.1.0", + "supports-color": "^7.1.0" + } + }, + "semver": { + "version": "7.3.7", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.3.7.tgz", + "integrity": "sha512-QlYTucUYOews+WeEujDoEGziz4K6c47V/Bd+LjSSYcA94p+DmINdf7ncaUinThfvZyu13lN9OY1XDxt8C0Tw0g==", + "optional": true, + "requires": { + "lru-cache": "^6.0.0" + } + } + } + }, + "fs-extra": { + "version": "9.1.0", + "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-9.1.0.tgz", + "integrity": "sha512-hcg3ZmepS30/7BSFqRvoo3DOMQu7IjqxO5nCDt+zM9XWjb33Wg7ziNT+Qvqbuc3+gWpzO02JubVyk2G4Zvo1OQ==", + "optional": true, + "requires": { + "at-least-node": "^1.0.0", + "graceful-fs": "^4.2.0", + "jsonfile": "^6.0.1", + "universalify": "^2.0.0" + } + }, "glob-parent": { "version": "3.1.0", "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-3.1.0.tgz", @@ -70936,6 +71664,12 @@ "slash": "^2.0.0" } }, + "has-flag": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", + "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", + "optional": true + }, "ignore": { "version": "4.0.6", "resolved": "https://registry.npmjs.org/ignore/-/ignore-4.0.6.tgz", @@ -70972,6 +71706,16 @@ "minimist": "^1.2.0" } }, + "jsonfile": { + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-6.1.0.tgz", + "integrity": "sha512-5dgndWOriYSm5cnYaJNhalLNDKOqFwyDB/rr1E9ZsGciGvKPs8R2xYGCacuf3z6K1YKDz182fd+fY3cn3pMqXQ==", + "optional": true, + "requires": { + "graceful-fs": "^4.1.6", + "universalify": "^2.0.0" + } + }, "loader-utils": { "version": "1.4.0", "resolved": "https://registry.npmjs.org/loader-utils/-/loader-utils-1.4.0.tgz", @@ -70982,6 +71726,15 @@ "json5": "^1.0.1" } }, + "lru-cache": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz", + "integrity": "sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==", + "optional": true, + "requires": { + "yallist": "^4.0.0" + } + }, "memory-fs": { "version": "0.5.0", "resolved": "https://registry.npmjs.org/memory-fs/-/memory-fs-0.5.0.tgz", @@ -71025,6 +71778,17 @@ "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz", "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==" }, + "schema-utils": { + "version": "2.7.0", + "resolved": "https://registry.npmjs.org/schema-utils/-/schema-utils-2.7.0.tgz", + "integrity": "sha512-0ilKFI6QQF5nxDZLFn2dMjvc4hjg/Wkg7rHd3jK6/A4a1Hl9VFdQWvgB1UMGoU94pad1P/8N7fMcEnLnSiju8A==", + "optional": true, + "requires": { + "@types/json-schema": "^7.0.4", + "ajv": "^6.12.2", + "ajv-keywords": "^3.4.1" + } + }, "slash": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/slash/-/slash-2.0.0.tgz", @@ -71038,6 +71802,15 @@ "safe-buffer": "~5.1.0" } }, + "supports-color": { + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", + "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", + "optional": true, + "requires": { + "has-flag": "^4.0.0" + } + }, "tapable": { "version": "1.1.3", "resolved": "https://registry.npmjs.org/tapable/-/tapable-1.1.3.tgz", @@ -71098,6 +71871,18 @@ "requires": { "tslib": "^1.8.1" } + }, + "universalify": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/universalify/-/universalify-2.0.0.tgz", + "integrity": "sha512-hAZsKq7Yy11Zu1DE0OzWjw7nnLZmJZYTDZZyEFHZdUhV8FkH5MCfoU1XMaxXovpyW5nq5scPqq0ZDP9Zyl04oQ==", + "optional": true + }, + "yallist": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz", + "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==", + "optional": true } } }, @@ -72589,6 +73374,15 @@ "resolved": "https://registry.npmjs.org/@nodelib/fs.stat/-/fs.stat-1.1.3.tgz", "integrity": "sha512-shAmDyaQC4H92APFoIaVDHCx5bStIocgvbwQyxPRrbUY20V1EYTbSDchWbuwlMG3V17cprZhA6+78JfB+3DTPw==" }, + "ansi-styles": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", + "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", + "optional": true, + "requires": { + "color-convert": "^2.0.1" + } + }, "arr-diff": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/arr-diff/-/arr-diff-4.0.0.tgz", @@ -72634,6 +73428,16 @@ } } }, + "chalk": { + "version": "4.1.2", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", + "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", + "optional": true, + "requires": { + "ansi-styles": "^4.1.0", + "supports-color": "^7.1.0" + } + }, "dir-glob": { "version": "2.2.2", "resolved": "https://registry.npmjs.org/dir-glob/-/dir-glob-2.2.2.tgz", @@ -72743,6 +73547,12 @@ "slash": "^2.0.0" } }, + "has-flag": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", + "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", + "optional": true + }, "html-webpack-plugin": { "version": "3.2.0", "resolved": "https://registry.npmjs.org/html-webpack-plugin/-/html-webpack-plugin-3.2.0.tgz", @@ -72912,6 +73722,15 @@ "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==" }, + "supports-color": { + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", + "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", + "optional": true, + "requires": { + "has-flag": "^4.0.0" + } + }, "tapable": { "version": "1.1.3", "resolved": "https://registry.npmjs.org/tapable/-/tapable-1.1.3.tgz", @@ -72977,6 +73796,36 @@ "define-properties": "^1.1.2", "object.getownpropertydescriptors": "^2.0.3" } + }, + "vue-loader-v16": { + "version": "npm:vue-loader@16.8.3", + "resolved": "https://registry.npmjs.org/vue-loader/-/vue-loader-16.8.3.tgz", + "integrity": "sha512-7vKN45IxsKxe5GcVCbc2qFU5aWzyiLrYJyUuMz4BQLKctCj/fmCa0w6fGiiQ2cLFetNcek1ppGJQDCup0c1hpA==", + "optional": true, + "requires": { + "chalk": "^4.1.0", + "hash-sum": "^2.0.0", + "loader-utils": "^2.0.0" + }, + "dependencies": { + "json5": { + "version": "2.2.1", + "resolved": "https://registry.npmjs.org/json5/-/json5-2.2.1.tgz", + "integrity": "sha512-1hqLFMSrGHRHxav9q9gNjJ5EXznIxGVO09xQRrwplcS8qs28pZ8s8hupZAmqDwZUmVZ2Qb2jnyPOWcDH8m8dlA==", + "optional": true + }, + "loader-utils": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/loader-utils/-/loader-utils-2.0.2.tgz", + "integrity": "sha512-TM57VeHptv569d/GKh6TAYdzKblwDNiumOdkFnejjD0XwTH87K90w3O7AiJRqdQoXygvi1VQTJTLGhJl7WqA7A==", + "optional": true, + "requires": { + "big.js": "^5.2.2", + "emojis-list": "^3.0.0", + "json5": "^2.1.2" + } + } + } } } }, @@ -80533,6 +81382,218 @@ "resolved": "https://registry.npmjs.org/eslint-config-standard/-/eslint-config-standard-14.1.1.tgz", "integrity": "sha512-Z9B+VR+JIXRxz21udPTL9HpFMyoMUEeX1G251EQ6e05WD9aPVtVBn09XUmZ259wCMlCDmYDSZG62Hhm+ZTJcUg==" }, + "eslint-docgen": { + "version": "0.7.0", + "resolved": "https://registry.npmjs.org/eslint-docgen/-/eslint-docgen-0.7.0.tgz", + "integrity": "sha512-yCVd9wo+XXlQpLI6y5pW3fQzUNz0vTIccFMyNNQNhv9COVPfwaPgHVHZ14UCkFenKAXAATy2uOLaVBpzzvGvRQ==", + "requires": { + "chalk": "^4.1.2", + "ejs": "^3.1.6", + "eslint": ">=8.0.0", + "import-fresh": "^3.3.0", + "jsonschema": "^1.4.0", + "merge-options": "^3.0.4", + "mkdirp": "^1.0.4", + "pkg-dir": "^5.0.0", + "pluralize": "^8.0.0", + "simple-mock": "^0.8.0", + "upath": "^2.0.1" + }, + "dependencies": { + "@eslint/eslintrc": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/@eslint/eslintrc/-/eslintrc-1.2.1.tgz", + "integrity": "sha512-bxvbYnBPN1Gibwyp6NrpnFzA3YtRL3BBAyEAFVIpNTm2Rn4Vy87GA5M4aSn3InRrlsbX5N0GW7XIx+U4SAEKdQ==", + "requires": { + "ajv": "^6.12.4", + "debug": "^4.3.2", + "espree": "^9.3.1", + "globals": "^13.9.0", + "ignore": "^5.2.0", + "import-fresh": "^3.2.1", + "js-yaml": "^4.1.0", + "minimatch": "^3.0.4", + "strip-json-comments": "^3.1.1" + } + }, + "@humanwhocodes/config-array": { + "version": "0.9.5", + "resolved": "https://registry.npmjs.org/@humanwhocodes/config-array/-/config-array-0.9.5.tgz", + "integrity": "sha512-ObyMyWxZiCu/yTisA7uzx81s40xR2fD5Cg/2Kq7G02ajkNubJf6BopgDTmDyc3U7sXpNKM8cYOw7s7Tyr+DnCw==", + "requires": { + "@humanwhocodes/object-schema": "^1.2.1", + "debug": "^4.1.1", + "minimatch": "^3.0.4" + } + }, + "acorn": { + "version": "8.7.0", + "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.7.0.tgz", + "integrity": "sha512-V/LGr1APy+PXIwKebEWrkZPwoeoF+w1jiOBUmuxuiUIaOHtob8Qc9BTrYo7VuI5fR8tqsy+buA2WFooR5olqvQ==" + }, + "ansi-styles": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", + "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", + "requires": { + "color-convert": "^2.0.1" + } + }, + "argparse": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/argparse/-/argparse-2.0.1.tgz", + "integrity": "sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==" + }, + "chalk": { + "version": "4.1.2", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", + "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", + "requires": { + "ansi-styles": "^4.1.0", + "supports-color": "^7.1.0" + } + }, + "ejs": { + "version": "3.1.7", + "resolved": "https://registry.npmjs.org/ejs/-/ejs-3.1.7.tgz", + "integrity": "sha512-BIar7R6abbUxDA3bfXrO4DSgwo8I+fB5/1zgujl3HLLjwd6+9iOnrT+t3grn2qbk9vOgBubXOFwX2m9axoFaGw==", + "requires": { + "jake": "^10.8.5" + } + }, + "escape-string-regexp": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-4.0.0.tgz", + "integrity": "sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA==" + }, + "eslint": { + "version": "8.13.0", + "resolved": "https://registry.npmjs.org/eslint/-/eslint-8.13.0.tgz", + "integrity": "sha512-D+Xei61eInqauAyTJ6C0q6x9mx7kTUC1KZ0m0LSEexR0V+e94K12LmWX076ZIsldwfQ2RONdaJe0re0TRGQbRQ==", + "requires": { + "@eslint/eslintrc": "^1.2.1", + "@humanwhocodes/config-array": "^0.9.2", + "ajv": "^6.10.0", + "chalk": "^4.0.0", + "cross-spawn": "^7.0.2", + "debug": "^4.3.2", + "doctrine": "^3.0.0", + "escape-string-regexp": "^4.0.0", + "eslint-scope": "^7.1.1", + "eslint-utils": "^3.0.0", + "eslint-visitor-keys": "^3.3.0", + "espree": "^9.3.1", + "esquery": "^1.4.0", + "esutils": "^2.0.2", + "fast-deep-equal": "^3.1.3", + "file-entry-cache": "^6.0.1", + "functional-red-black-tree": "^1.0.1", + "glob-parent": "^6.0.1", + "globals": "^13.6.0", + "ignore": "^5.2.0", + "import-fresh": "^3.0.0", + "imurmurhash": "^0.1.4", + "is-glob": "^4.0.0", + "js-yaml": "^4.1.0", + "json-stable-stringify-without-jsonify": "^1.0.1", + "levn": "^0.4.1", + "lodash.merge": "^4.6.2", + "minimatch": "^3.0.4", + "natural-compare": "^1.4.0", + "optionator": "^0.9.1", + "regexpp": "^3.2.0", + "strip-ansi": "^6.0.1", + "strip-json-comments": "^3.1.0", + "text-table": "^0.2.0", + "v8-compile-cache": "^2.0.3" + } + }, + "eslint-scope": { + "version": "7.1.1", + "resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-7.1.1.tgz", + "integrity": "sha512-QKQM/UXpIiHcLqJ5AOyIW7XZmzjkzQXYE54n1++wb0u9V/abW3l9uQnxX8Z5Xd18xyKIMTUAyQ0k1e8pz6LUrw==", + "requires": { + "esrecurse": "^4.3.0", + "estraverse": "^5.2.0" + } + }, + "eslint-visitor-keys": { + "version": "3.3.0", + "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-3.3.0.tgz", + "integrity": "sha512-mQ+suqKJVyeuwGYHAdjMFqjCyfl8+Ldnxuyp3ldiMBFKkvytrXUZWaiPCEav8qDHKty44bD+qV1IP4T+w+xXRA==" + }, + "espree": { + "version": "9.3.1", + "resolved": "https://registry.npmjs.org/espree/-/espree-9.3.1.tgz", + "integrity": "sha512-bvdyLmJMfwkV3NCRl5ZhJf22zBFo1y8bYh3VYb+bfzqNB4Je68P2sSuXyuFquzWLebHpNd2/d5uv7yoP9ISnGQ==", + "requires": { + "acorn": "^8.7.0", + "acorn-jsx": "^5.3.1", + "eslint-visitor-keys": "^3.3.0" + } + }, + "glob-parent": { + "version": "6.0.2", + "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-6.0.2.tgz", + "integrity": "sha512-XxwI8EOhVQgWp6iDL+3b0r86f4d6AX6zSU55HfB4ydCEuXLXc5FcYeOu+nnGftS4TEju/11rt4KJPTMgbfmv4A==", + "requires": { + "is-glob": "^4.0.3" + } + }, + "globals": { + "version": "13.13.0", + "resolved": "https://registry.npmjs.org/globals/-/globals-13.13.0.tgz", + "integrity": "sha512-EQ7Q18AJlPwp3vUDL4mKA0KXrXyNIQyWon6T6XQiBQF0XHvRsiCSrWmmeATpUzdJN2HhWZU6Pdl0a9zdep5p6A==", + "requires": { + "type-fest": "^0.20.2" + } + }, + "has-flag": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", + "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==" + }, + "js-yaml": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-4.1.0.tgz", + "integrity": "sha512-wpxZs9NoxZaJESJGIZTyDEaYpl0FKSA+FB9aJiyemKhMwkxQg63h4T1KJgUGHpTqPDNRcmmYLugrRjJlBtWvRA==", + "requires": { + "argparse": "^2.0.1" + } + }, + "mkdirp": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-1.0.4.tgz", + "integrity": "sha512-vVqVZQyf3WLx2Shd0qJ9xuvqgAyKPLAiqITEtqW0oIUjzo3PePDd6fW9iFz30ef7Ysp/oiWqbhszeGWW2T6Gzw==" + }, + "optionator": { + "version": "0.9.1", + "resolved": "https://registry.npmjs.org/optionator/-/optionator-0.9.1.tgz", + "integrity": "sha512-74RlY5FCnhq4jRxVUPKDaRwrVNXMqsGsiW6AJw4XK8hmtm10wC0ypZBLw5IIp85NZMr91+qd1RvvENwg7jjRFw==", + "requires": { + "deep-is": "^0.1.3", + "fast-levenshtein": "^2.0.6", + "levn": "^0.4.1", + "prelude-ls": "^1.2.1", + "type-check": "^0.4.0", + "word-wrap": "^1.2.3" + } + }, + "supports-color": { + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", + "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", + "requires": { + "has-flag": "^4.0.0" + } + }, + "upath": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/upath/-/upath-2.0.1.tgz", + "integrity": "sha512-1uEe95xksV1O0CYKXo8vQvN1JEbtJp7lb7C5U9HMsIp6IVwntkH/oNUzyVNQSd4S1sYk2FpSSW44FqMc8qee5w==" + } + } + }, "eslint-import-resolver-node": { "version": "0.3.6", "resolved": "https://registry.npmjs.org/eslint-import-resolver-node/-/eslint-import-resolver-node-0.3.6.tgz", @@ -80739,6 +81800,18 @@ } } }, + "eslint-plugin-n8n-nodes-base": { + "version": "1.0.28", + "resolved": "https://registry.npmjs.org/eslint-plugin-n8n-nodes-base/-/eslint-plugin-n8n-nodes-base-1.0.28.tgz", + "integrity": "sha512-1Y1380bQ3l2aRDvz3vuShoxlBao4PPCx4xQQK9NvtE4KizPs4driTNcW5ncnK8Nevo+rnqo+Eva4CM9JFwBmiA==", + "requires": { + "@typescript-eslint/utils": "^5.17.0", + "camel-case": "^4.1.2", + "eslint-docgen": "^0.7.0", + "pluralize": "^8.0.0", + "title-case": "^3.0.3" + } + }, "eslint-plugin-prettier": { "version": "3.4.1", "resolved": "https://registry.npmjs.org/eslint-plugin-prettier/-/eslint-plugin-prettier-3.4.1.tgz", @@ -81575,6 +82648,32 @@ "resolved": "https://registry.npmjs.org/file-uri-to-path/-/file-uri-to-path-1.0.0.tgz", "integrity": "sha512-0Zt+s3L7Vf1biwWZ29aARiVYLx7iMGnEUl9x33fbB/j3jR81u/O2LbqK+Bm1CDSNDKVtJ/YjwY7TUd5SkeLQLw==" }, + "filelist": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/filelist/-/filelist-1.0.3.tgz", + "integrity": "sha512-LwjCsruLWQULGYKy7TX0OPtrL9kLpojOFKc5VCTxdFTV7w5zbsgqVKfnkKG7Qgjtq50gKfO56hJv88OfcGb70Q==", + "requires": { + "minimatch": "^5.0.1" + }, + "dependencies": { + "brace-expansion": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.1.tgz", + "integrity": "sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==", + "requires": { + "balanced-match": "^1.0.0" + } + }, + "minimatch": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-5.0.1.tgz", + "integrity": "sha512-nLDxIFRyhDblz3qMuq+SoRZED4+miJ/G+tdDrjkkkRnjAsBexeGpgjLEQ0blJy7rHhR2b93rhQY4SvyWu9v03g==", + "requires": { + "brace-expansion": "^2.0.1" + } + } + } + }, "filesize": { "version": "3.6.1", "resolved": "https://registry.npmjs.org/filesize/-/filesize-3.6.1.tgz", @@ -82129,130 +83228,6 @@ } } }, - "fork-ts-checker-webpack-plugin-v5": { - "version": "npm:fork-ts-checker-webpack-plugin@5.2.1", - "resolved": "https://registry.npmjs.org/fork-ts-checker-webpack-plugin/-/fork-ts-checker-webpack-plugin-5.2.1.tgz", - "integrity": "sha512-SVi+ZAQOGbtAsUWrZvGzz38ga2YqjWvca1pXQFUArIVXqli0lLoDQ8uS0wg0kSpcwpZmaW5jVCZXQebkyUQSsw==", - "optional": true, - "requires": { - "@babel/code-frame": "^7.8.3", - "@types/json-schema": "^7.0.5", - "chalk": "^4.1.0", - "cosmiconfig": "^6.0.0", - "deepmerge": "^4.2.2", - "fs-extra": "^9.0.0", - "memfs": "^3.1.2", - "minimatch": "^3.0.4", - "schema-utils": "2.7.0", - "semver": "^7.3.2", - "tapable": "^1.0.0" - }, - "dependencies": { - "ansi-styles": { - "version": "4.3.0", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", - "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", - "optional": true, - "requires": { - "color-convert": "^2.0.1" - } - }, - "chalk": { - "version": "4.1.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", - "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", - "optional": true, - "requires": { - "ansi-styles": "^4.1.0", - "supports-color": "^7.1.0" - } - }, - "fs-extra": { - "version": "9.1.0", - "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-9.1.0.tgz", - "integrity": "sha512-hcg3ZmepS30/7BSFqRvoo3DOMQu7IjqxO5nCDt+zM9XWjb33Wg7ziNT+Qvqbuc3+gWpzO02JubVyk2G4Zvo1OQ==", - "optional": true, - "requires": { - "at-least-node": "^1.0.0", - "graceful-fs": "^4.2.0", - "jsonfile": "^6.0.1", - "universalify": "^2.0.0" - } - }, - "has-flag": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", - "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", - "optional": true - }, - "jsonfile": { - "version": "6.1.0", - "resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-6.1.0.tgz", - "integrity": "sha512-5dgndWOriYSm5cnYaJNhalLNDKOqFwyDB/rr1E9ZsGciGvKPs8R2xYGCacuf3z6K1YKDz182fd+fY3cn3pMqXQ==", - "optional": true, - "requires": { - "graceful-fs": "^4.1.6", - "universalify": "^2.0.0" - } - }, - "lru-cache": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz", - "integrity": "sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==", - "optional": true, - "requires": { - "yallist": "^4.0.0" - } - }, - "schema-utils": { - "version": "2.7.0", - "resolved": "https://registry.npmjs.org/schema-utils/-/schema-utils-2.7.0.tgz", - "integrity": "sha512-0ilKFI6QQF5nxDZLFn2dMjvc4hjg/Wkg7rHd3jK6/A4a1Hl9VFdQWvgB1UMGoU94pad1P/8N7fMcEnLnSiju8A==", - "optional": true, - "requires": { - "@types/json-schema": "^7.0.4", - "ajv": "^6.12.2", - "ajv-keywords": "^3.4.1" - } - }, - "semver": { - "version": "7.3.7", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.3.7.tgz", - "integrity": "sha512-QlYTucUYOews+WeEujDoEGziz4K6c47V/Bd+LjSSYcA94p+DmINdf7ncaUinThfvZyu13lN9OY1XDxt8C0Tw0g==", - "optional": true, - "requires": { - "lru-cache": "^6.0.0" - } - }, - "supports-color": { - "version": "7.2.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", - "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", - "optional": true, - "requires": { - "has-flag": "^4.0.0" - } - }, - "tapable": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/tapable/-/tapable-1.1.3.tgz", - "integrity": "sha512-4WK/bYZmj8xLr+HUCODHGF1ZFzsYffasLUgEiMBY4fgtltdO6B4WJtlSbPaDTLpYTcGVwM2qLnFTICEcNxs3kA==", - "optional": true - }, - "universalify": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/universalify/-/universalify-2.0.0.tgz", - "integrity": "sha512-hAZsKq7Yy11Zu1DE0OzWjw7nnLZmJZYTDZZyEFHZdUhV8FkH5MCfoU1XMaxXovpyW5nq5scPqq0ZDP9Zyl04oQ==", - "optional": true - }, - "yallist": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz", - "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==", - "optional": true - } - } - }, "form-data": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/form-data/-/form-data-4.0.0.tgz", @@ -86103,6 +87078,54 @@ "iterate-iterator": "^1.0.1" } }, + "jake": { + "version": "10.8.5", + "resolved": "https://registry.npmjs.org/jake/-/jake-10.8.5.tgz", + "integrity": "sha512-sVpxYeuAhWt0OTWITwT98oyV0GsXyMlXCF+3L1SuafBVUIr/uILGRB+NqwkzhgXKvoJpDIpQvqkUALgdmQsQxw==", + "requires": { + "async": "^3.2.3", + "chalk": "^4.0.2", + "filelist": "^1.0.1", + "minimatch": "^3.0.4" + }, + "dependencies": { + "ansi-styles": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", + "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", + "requires": { + "color-convert": "^2.0.1" + } + }, + "async": { + "version": "3.2.3", + "resolved": "https://registry.npmjs.org/async/-/async-3.2.3.tgz", + "integrity": "sha512-spZRyzKL5l5BZQrr/6m/SqFdBN0q3OCI0f9rjfBzCMBIP4p75P620rR3gTmaksNOhmzgdxcaxdNfMy6anrbM0g==" + }, + "chalk": { + "version": "4.1.2", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", + "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", + "requires": { + "ansi-styles": "^4.1.0", + "supports-color": "^7.1.0" + } + }, + "has-flag": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", + "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==" + }, + "supports-color": { + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", + "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", + "requires": { + "has-flag": "^4.0.0" + } + } + } + }, "javascript-stringify": { "version": "2.1.0", "resolved": "https://registry.npmjs.org/javascript-stringify/-/javascript-stringify-2.1.0.tgz", @@ -89689,6 +90712,11 @@ "integrity": "sha1-P02uSpH6wxX3EGL4UhzCOfE2YoA=", "dev": true }, + "jsonschema": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/jsonschema/-/jsonschema-1.4.0.tgz", + "integrity": "sha512-/YgW6pRMr6M7C+4o8kS+B/2myEpHCrxO4PEWnqJNBFMjn7EWXqlQ4tGwL6xTHeRplwuZmcAncdvfOad1nT2yMw==" + }, "JSONStream": { "version": "1.3.5", "resolved": "https://registry.npmjs.org/JSONStream/-/JSONStream-1.3.5.tgz", @@ -91306,6 +92334,21 @@ "resolved": "https://registry.npmjs.org/merge-descriptors/-/merge-descriptors-1.0.1.tgz", "integrity": "sha1-sAqqVW3YtEVoFQ7J0blT8/kMu2E=" }, + "merge-options": { + "version": "3.0.4", + "resolved": "https://registry.npmjs.org/merge-options/-/merge-options-3.0.4.tgz", + "integrity": "sha512-2Sug1+knBjkaMsMgf1ctR1Ujx+Ayku4EdJN4Z+C2+JzoeF7A3OZ9KM2GY0CpQS51NR61LTurMJrRKPhSs3ZRTQ==", + "requires": { + "is-plain-obj": "^2.1.0" + }, + "dependencies": { + "is-plain-obj": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/is-plain-obj/-/is-plain-obj-2.1.0.tgz", + "integrity": "sha512-YWnfyRwxL/+SsrWYfOpUtz5b3YD+nyfkHvjbcanzk8zgyO4ASD67uVMRt8k5bM4lLMDnXfriRhOpemw+NfT1eA==" + } + } + }, "merge-source-map": { "version": "1.1.0", "resolved": "https://registry.npmjs.org/merge-source-map/-/merge-source-map-1.1.0.tgz", @@ -94302,6 +95345,11 @@ "extend-shallow": "^1.1.2" } }, + "pluralize": { + "version": "8.0.0", + "resolved": "https://registry.npmjs.org/pluralize/-/pluralize-8.0.0.tgz", + "integrity": "sha512-Nc3IT5yHzflTfbjgqWcCPpo7DaKy4FnpB0l/zCAW0Tc7jxAiuqSxHasntB3D7887LSrA93kDJ9IXovxJYxyLCA==" + }, "pn": { "version": "1.1.0", "resolved": "https://registry.npmjs.org/pn/-/pn-1.1.0.tgz", @@ -97903,6 +98951,11 @@ "resolved": "https://registry.npmjs.org/simple-lru-cache/-/simple-lru-cache-0.0.2.tgz", "integrity": "sha1-1ZzDoZPBpdAyD4Tucy9uRxPlEd0=" }, + "simple-mock": { + "version": "0.8.0", + "resolved": "https://registry.npmjs.org/simple-mock/-/simple-mock-0.8.0.tgz", + "integrity": "sha1-ScmiI/pu6o4sT9aUj+gwDNillPM=" + }, "simple-swizzle": { "version": "0.2.2", "resolved": "https://registry.npmjs.org/simple-swizzle/-/simple-swizzle-0.2.2.tgz", @@ -102226,53 +103279,6 @@ } } }, - "vue-loader-v16": { - "version": "npm:vue-loader@16.8.3", - "resolved": "https://registry.npmjs.org/vue-loader/-/vue-loader-16.8.3.tgz", - "integrity": "sha512-7vKN45IxsKxe5GcVCbc2qFU5aWzyiLrYJyUuMz4BQLKctCj/fmCa0w6fGiiQ2cLFetNcek1ppGJQDCup0c1hpA==", - "optional": true, - "requires": { - "chalk": "^4.1.0", - "hash-sum": "^2.0.0", - "loader-utils": "^2.0.0" - }, - "dependencies": { - "ansi-styles": { - "version": "4.3.0", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", - "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", - "optional": true, - "requires": { - "color-convert": "^2.0.1" - } - }, - "chalk": { - "version": "4.1.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", - "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", - "optional": true, - "requires": { - "ansi-styles": "^4.1.0", - "supports-color": "^7.1.0" - } - }, - "has-flag": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", - "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", - "optional": true - }, - "supports-color": { - "version": "7.2.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", - "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", - "optional": true, - "requires": { - "has-flag": "^4.0.0" - } - } - } - }, "vue-prism-editor": { "version": "0.3.0", "resolved": "https://registry.npmjs.org/vue-prism-editor/-/vue-prism-editor-0.3.0.tgz", diff --git a/packages/nodes-base/nodes/ActionNetwork/descriptions/SharedFields.ts b/packages/nodes-base/nodes/ActionNetwork/descriptions/SharedFields.ts index 5ad716634..9bebbf81e 100644 --- a/packages/nodes-base/nodes/ActionNetwork/descriptions/SharedFields.ts +++ b/packages/nodes-base/nodes/ActionNetwork/descriptions/SharedFields.ts @@ -128,7 +128,7 @@ const postalAddressesFields: INodeProperties[] = [ displayName: 'Location', name: 'location', type: 'fixedCollection', - default: '', + default: {}, options: [ { displayName: 'Location Fields', diff --git a/packages/nodes-base/nodes/ActiveCampaign/AccountContactDescription.ts b/packages/nodes-base/nodes/ActiveCampaign/AccountContactDescription.ts index 65febe909..e5ae4472b 100644 --- a/packages/nodes-base/nodes/ActiveCampaign/AccountContactDescription.ts +++ b/packages/nodes-base/nodes/ActiveCampaign/AccountContactDescription.ts @@ -56,7 +56,6 @@ export const accountContactFields: INodeProperties[] = [ ], }, }, - description: 'Account ID', }, { displayName: 'Contact ID', @@ -74,7 +73,6 @@ export const accountContactFields: INodeProperties[] = [ ], }, }, - description: 'Contact ID', }, { displayName: 'Additional Fields', diff --git a/packages/nodes-base/nodes/ActiveCampaign/ContactListDescription.ts b/packages/nodes-base/nodes/ActiveCampaign/ContactListDescription.ts index 01a748f54..639e8a241 100644 --- a/packages/nodes-base/nodes/ActiveCampaign/ContactListDescription.ts +++ b/packages/nodes-base/nodes/ActiveCampaign/ContactListDescription.ts @@ -51,7 +51,6 @@ export const contactListFields: INodeProperties[] = [ ], }, }, - description: 'List ID', }, { displayName: 'Contact ID', @@ -69,7 +68,6 @@ export const contactListFields: INodeProperties[] = [ ], }, }, - description: 'Contact ID', }, // ---------------------------------- @@ -91,7 +89,6 @@ export const contactListFields: INodeProperties[] = [ ], }, }, - description: 'List ID', }, { displayName: 'Contact ID', @@ -109,6 +106,5 @@ export const contactListFields: INodeProperties[] = [ ], }, }, - description: 'Contact ID', }, ]; diff --git a/packages/nodes-base/nodes/ActiveCampaign/ContactTagDescription.ts b/packages/nodes-base/nodes/ActiveCampaign/ContactTagDescription.ts index 5bbe4990a..02b8cfc70 100644 --- a/packages/nodes-base/nodes/ActiveCampaign/ContactTagDescription.ts +++ b/packages/nodes-base/nodes/ActiveCampaign/ContactTagDescription.ts @@ -54,7 +54,6 @@ export const contactTagFields: INodeProperties[] = [ ], }, }, - description: 'Tag ID', }, { displayName: 'Contact ID', @@ -72,7 +71,6 @@ export const contactTagFields: INodeProperties[] = [ ], }, }, - description: 'Contact ID', }, // ---------------------------------- // contactTag:delete diff --git a/packages/nodes-base/nodes/ActiveCampaign/EcomOrderDescription.ts b/packages/nodes-base/nodes/ActiveCampaign/EcomOrderDescription.ts index 3eeb3f668..e89a770b5 100644 --- a/packages/nodes-base/nodes/ActiveCampaign/EcomOrderDescription.ts +++ b/packages/nodes-base/nodes/ActiveCampaign/EcomOrderDescription.ts @@ -73,7 +73,7 @@ export const ecomOrderFields: INodeProperties[] = [ ], }, }, - description: 'The id of the order in the external service. ONLY REQUIRED IF EXTERNALCHECKOUTID NOT INCLUDED', + description: 'The id of the order in the external service. ONLY REQUIRED IF EXTERNALCHECKOUTID NOT INCLUDED.', }, { displayName: 'External checkout ID', @@ -437,7 +437,7 @@ export const ecomOrderFields: INodeProperties[] = [ name: 'externalid', type: 'string', default: '', - description: 'The id of the order in the external service. ONLY REQUIRED IF EXTERNALCHECKOUTID NOT INCLUDED', + description: 'The id of the order in the external service. ONLY REQUIRED IF EXTERNALCHECKOUTID NOT INCLUDED.', }, { displayName: 'External checkout ID', diff --git a/packages/nodes-base/nodes/Affinity/Affinity.node.ts b/packages/nodes-base/nodes/Affinity/Affinity.node.ts index 13d7099ff..109df93f4 100644 --- a/packages/nodes-base/nodes/Affinity/Affinity.node.ts +++ b/packages/nodes-base/nodes/Affinity/Affinity.node.ts @@ -155,7 +155,7 @@ export class Affinity implements INodeType { async execute(this: IExecuteFunctions): Promise { const items = this.getInputData(); const returnData: IDataObject[] = []; - const length = items.length as unknown as number; + const length = items.length; let responseData; const qs: IDataObject = {}; const resource = this.getNodeParameter('resource', 0) as string; diff --git a/packages/nodes-base/nodes/AgileCrm/CompanyDescription.ts b/packages/nodes-base/nodes/AgileCrm/CompanyDescription.ts index 7d421ece1..15fd31dd3 100644 --- a/packages/nodes-base/nodes/AgileCrm/CompanyDescription.ts +++ b/packages/nodes-base/nodes/AgileCrm/CompanyDescription.ts @@ -183,6 +183,7 @@ export const companyFields: INodeProperties[] = [ ], }, }, + // eslint-disable-next-line n8n-nodes-base/node-param-default-wrong-for-simplify default: false, description: 'Return a simplified version of the response instead of the raw data.', }, @@ -206,7 +207,7 @@ export const companyFields: INodeProperties[] = [ ], }, }, - default: '', + default: {}, placeholder: 'Add Condition', options: [ { @@ -319,7 +320,6 @@ export const companyFields: INodeProperties[] = [ }, }, default: '', - description: '', }, { displayName: 'Options', @@ -388,7 +388,6 @@ export const companyFields: INodeProperties[] = [ name: 'jsonParameters', type: 'boolean', default: false, - description: '', displayOptions: { show: { resource: [ @@ -600,7 +599,6 @@ export const companyFields: INodeProperties[] = [ name: 'customProperties', type: 'fixedCollection', default: {}, - description: 'Custom Properties', typeOptions: { multipleValues: true, }, @@ -686,7 +684,6 @@ export const companyFields: INodeProperties[] = [ name: 'jsonParameters', type: 'boolean', default: false, - description: '', displayOptions: { show: { resource: [ @@ -898,7 +895,6 @@ export const companyFields: INodeProperties[] = [ name: 'customProperties', type: 'fixedCollection', default: {}, - description: 'Custom Properties', typeOptions: { multipleValues: true, }, diff --git a/packages/nodes-base/nodes/AgileCrm/ContactDescription.ts b/packages/nodes-base/nodes/AgileCrm/ContactDescription.ts index ba839988f..e552616ad 100644 --- a/packages/nodes-base/nodes/AgileCrm/ContactDescription.ts +++ b/packages/nodes-base/nodes/AgileCrm/ContactDescription.ts @@ -183,6 +183,7 @@ export const contactFields: INodeProperties[] = [ ], }, }, + // eslint-disable-next-line n8n-nodes-base/node-param-default-wrong-for-simplify default: false, description: 'Return a simplified version of the response instead of the raw data.', }, @@ -206,7 +207,7 @@ export const contactFields: INodeProperties[] = [ ], }, }, - default: '', + default: {}, placeholder: 'Add Condition', options: [ { @@ -319,7 +320,6 @@ export const contactFields: INodeProperties[] = [ }, }, default: '', - description: '', }, { displayName: 'Options', @@ -389,7 +389,6 @@ export const contactFields: INodeProperties[] = [ name: 'jsonParameters', type: 'boolean', default: false, - description: '', displayOptions: { show: { resource: [ @@ -539,7 +538,6 @@ export const contactFields: INodeProperties[] = [ type: 'string', required: true, default: '', - description: 'Email', }, ], }, @@ -769,7 +767,6 @@ export const contactFields: INodeProperties[] = [ name: 'customProperties', type: 'fixedCollection', default: {}, - description: 'Custom Properties', typeOptions: { multipleValues: true, }, @@ -855,7 +852,6 @@ export const contactFields: INodeProperties[] = [ name: 'jsonParameters', type: 'boolean', default: false, - description: '', displayOptions: { show: { resource: [ @@ -1003,7 +999,6 @@ export const contactFields: INodeProperties[] = [ type: 'string', required: true, default: '', - description: 'Email', }, ], }, @@ -1233,7 +1228,6 @@ export const contactFields: INodeProperties[] = [ name: 'customProperties', type: 'fixedCollection', default: {}, - description: 'Custom Properties', typeOptions: { multipleValues: true, }, diff --git a/packages/nodes-base/nodes/AgileCrm/DealDescription.ts b/packages/nodes-base/nodes/AgileCrm/DealDescription.ts index 813dec807..cffa0633a 100644 --- a/packages/nodes-base/nodes/AgileCrm/DealDescription.ts +++ b/packages/nodes-base/nodes/AgileCrm/DealDescription.ts @@ -231,7 +231,6 @@ export const dealFields: INodeProperties[] = [ name: 'jsonParameters', type: 'boolean', default: false, - description: '', displayOptions: { show: { resource: [ @@ -302,7 +301,6 @@ export const dealFields: INodeProperties[] = [ name: 'customData', type: 'fixedCollection', default: {}, - description: 'Custom Data', typeOptions: { multipleValues: true, }, @@ -381,7 +379,6 @@ export const dealFields: INodeProperties[] = [ name: 'jsonParameters', type: 'boolean', default: false, - description: '', displayOptions: { show: { resource: [ @@ -482,7 +479,6 @@ export const dealFields: INodeProperties[] = [ name: 'customData', type: 'fixedCollection', default: {}, - description: 'Custom Data', typeOptions: { multipleValues: true, }, diff --git a/packages/nodes-base/nodes/Airtable/Airtable.node.ts b/packages/nodes-base/nodes/Airtable/Airtable.node.ts index 5fc9cb486..5c30522d9 100644 --- a/packages/nodes-base/nodes/Airtable/Airtable.node.ts +++ b/packages/nodes-base/nodes/Airtable/Airtable.node.ts @@ -433,7 +433,7 @@ export class Airtable implements INodeType { }, }, default: '', - description: 'Comma separated list of fields to ignore.', + description: 'Comma-separated list of fields to ignore.', }, { displayName: 'Typecast', diff --git a/packages/nodes-base/nodes/Automizy/Automizy.node.ts b/packages/nodes-base/nodes/Automizy/Automizy.node.ts index f376caacf..929ee378c 100644 --- a/packages/nodes-base/nodes/Automizy/Automizy.node.ts +++ b/packages/nodes-base/nodes/Automizy/Automizy.node.ts @@ -137,7 +137,7 @@ export class Automizy implements INodeType { async execute(this: IExecuteFunctions): Promise { const items = this.getInputData(); const returnData: IDataObject[] = []; - const length = (items.length as unknown) as number; + const length = items.length; const qs: IDataObject = {}; let responseData; const resource = this.getNodeParameter('resource', 0) as string; diff --git a/packages/nodes-base/nodes/Automizy/ContactDescription.ts b/packages/nodes-base/nodes/Automizy/ContactDescription.ts index 5a46d4592..348435a86 100644 --- a/packages/nodes-base/nodes/Automizy/ContactDescription.ts +++ b/packages/nodes-base/nodes/Automizy/ContactDescription.ts @@ -110,7 +110,7 @@ export const contactFields: INodeProperties[] = [ displayName: 'Custom Fields', name: 'customFieldsUi', type: 'fixedCollection', - default: '', + default: {}, placeholder: 'Add Custom Field', typeOptions: { multipleValues: true, @@ -394,7 +394,7 @@ export const contactFields: INodeProperties[] = [ displayName: 'Custom Fields', name: 'customFieldsUi', type: 'fixedCollection', - default: '', + default: {}, placeholder: 'Add Custom Field', typeOptions: { multipleValues: true, diff --git a/packages/nodes-base/nodes/Autopilot/Autopilot.node.ts b/packages/nodes-base/nodes/Autopilot/Autopilot.node.ts index 5cae162bc..cc0c01c83 100644 --- a/packages/nodes-base/nodes/Autopilot/Autopilot.node.ts +++ b/packages/nodes-base/nodes/Autopilot/Autopilot.node.ts @@ -153,7 +153,7 @@ export class Autopilot implements INodeType { async execute(this: IExecuteFunctions): Promise { const items = this.getInputData(); const returnData: IDataObject[] = []; - const length = (items.length as unknown) as number; + const length = items.length; const qs: IDataObject = {}; let responseData; const resource = this.getNodeParameter('resource', 0) as string; diff --git a/packages/nodes-base/nodes/Autopilot/ContactDescription.ts b/packages/nodes-base/nodes/Autopilot/ContactDescription.ts index 6617486da..d4f14af20 100644 --- a/packages/nodes-base/nodes/Autopilot/ContactDescription.ts +++ b/packages/nodes-base/nodes/Autopilot/ContactDescription.ts @@ -91,7 +91,7 @@ export const contactFields: INodeProperties[] = [ displayName: 'Custom Fields', name: 'customFieldsUi', type: 'fixedCollection', - default: '', + default: {}, placeholder: 'Add Custom Field', typeOptions: { multipleValues: true, diff --git a/packages/nodes-base/nodes/Aws/DynamoDB/ItemDescription.ts b/packages/nodes-base/nodes/Aws/DynamoDB/ItemDescription.ts index d64d37b50..5d2881e7f 100644 --- a/packages/nodes-base/nodes/Aws/DynamoDB/ItemDescription.ts +++ b/packages/nodes-base/nodes/Aws/DynamoDB/ItemDescription.ts @@ -172,10 +172,10 @@ export const itemFields: INodeProperties[] = [ { displayName: 'Expression Attribute Values', name: 'eavUi', - description: 'Substitution tokens for attribute names in an expression. Only needed when the parameter "condition expression" is set', + description: 'Substitution tokens for attribute names in an expression. Only needed when the parameter "condition expression" is set.', placeholder: 'Add Attribute Value', type: 'fixedCollection', - default: '', + default: {}, required: true, typeOptions: { multipleValues: true, @@ -223,14 +223,14 @@ export const itemFields: INodeProperties[] = [ name: 'conditionExpression', type: 'string', default: '', - description: 'A condition that must be satisfied in order for a conditional upsert to succeed. View details', + description: 'A condition that must be satisfied in order for a conditional upsert to succeed. View details.', }, { displayName: 'Expression Attribute Names', name: 'eanUi', placeholder: 'Add Expression', type: 'fixedCollection', - default: '', + default: {}, typeOptions: { multipleValues: true, }, @@ -254,7 +254,7 @@ export const itemFields: INodeProperties[] = [ ], }, ], - description: 'One or more substitution tokens for attribute names in an expression. View details', + description: 'One or more substitution tokens for attribute names in an expression. View details.', }, ], }, @@ -401,7 +401,7 @@ export const itemFields: INodeProperties[] = [ name: 'eanUi', placeholder: 'Add Expression', type: 'fixedCollection', - default: '', + default: {}, typeOptions: { multipleValues: true, }, @@ -425,15 +425,15 @@ export const itemFields: INodeProperties[] = [ ], }, ], - description: 'One or more substitution tokens for attribute names in an expression. Check Info', + description: 'One or more substitution tokens for attribute names in an expression. Check Info.', }, { displayName: 'Expression Attribute Values', name: 'expressionAttributeUi', - description: 'Substitution tokens for attribute names in an expression. Only needed when the parameter "condition expression" is set', + description: 'Substitution tokens for attribute names in an expression. Only needed when the parameter "condition expression" is set.', placeholder: 'Add Attribute Value', type: 'fixedCollection', - default: '', + default: {}, required: true, typeOptions: { multipleValues: true, @@ -624,7 +624,7 @@ export const itemFields: INodeProperties[] = [ name: 'eanUi', placeholder: 'Add Expression', type: 'fixedCollection', - default: '', + default: {}, typeOptions: { multipleValues: true, }, @@ -648,7 +648,7 @@ export const itemFields: INodeProperties[] = [ ], }, ], - description: 'One or more substitution tokens for attribute names in an expression. View details', + description: 'One or more substitution tokens for attribute names in an expression. View details.', }, { displayName: 'Read Type', @@ -665,7 +665,7 @@ export const itemFields: INodeProperties[] = [ }, ], default: 'eventuallyConsistentRead', - description: 'Type of read to perform on the table. View details', + description: 'Type of read to perform on the table. View details.', }, ], }, @@ -688,7 +688,7 @@ export const itemFields: INodeProperties[] = [ }, }, default: false, - description: 'Whether to do an scan or query. Check differences', + description: 'Whether to do an scan or query. Check differences.', }, { displayName: 'Filter Expression', @@ -733,7 +733,7 @@ export const itemFields: INodeProperties[] = [ description: 'Substitution tokens for attribute names in an expression', placeholder: 'Add Attribute Value', type: 'fixedCollection', - default: '', + default: {}, required: true, typeOptions: { multipleValues: true, @@ -924,14 +924,14 @@ export const itemFields: INodeProperties[] = [ }, }, default: '', - description: 'Text that contains conditions that DynamoDB applies after the Query operation, but before the data is returned. Items that do not satisfy the FilterExpression criteria are not returned', + description: 'Text that contains conditions that DynamoDB applies after the Query operation, but before the data is returned. Items that do not satisfy the FilterExpression criteria are not returned.', }, { displayName: 'Expression Attribute Names', name: 'eanUi', placeholder: 'Add Expression', type: 'fixedCollection', - default: '', + default: {}, typeOptions: { multipleValues: true, }, @@ -955,7 +955,7 @@ export const itemFields: INodeProperties[] = [ ], }, ], - description: 'One or more substitution tokens for attribute names in an expression. Check Info', + description: 'One or more substitution tokens for attribute names in an expression. Check Info.', }, ], }, diff --git a/packages/nodes-base/nodes/Aws/Rekognition/AwsRekognition.node.ts b/packages/nodes-base/nodes/Aws/Rekognition/AwsRekognition.node.ts index ff3367b65..854fdc2fb 100644 --- a/packages/nodes-base/nodes/Aws/Rekognition/AwsRekognition.node.ts +++ b/packages/nodes-base/nodes/Aws/Rekognition/AwsRekognition.node.ts @@ -205,7 +205,7 @@ export class AwsRekognition implements INodeType { displayName: 'Regions of Interest', name: 'regionsOfInterestUi', type: 'fixedCollection', - default: '', + default: {}, placeholder: 'Add Region of Interest', displayOptions: { show: { @@ -272,7 +272,7 @@ export class AwsRekognition implements INodeType { displayName: 'Word Filter', name: 'wordFilterUi', type: 'collection', - default: '', + default: {}, placeholder: 'Add Word Filter', displayOptions: { show: { diff --git a/packages/nodes-base/nodes/Aws/S3/BucketDescription.ts b/packages/nodes-base/nodes/Aws/S3/BucketDescription.ts index d0f868c1f..c104c17e9 100644 --- a/packages/nodes-base/nodes/Aws/S3/BucketDescription.ts +++ b/packages/nodes-base/nodes/Aws/S3/BucketDescription.ts @@ -348,7 +348,7 @@ export const bucketFields: INodeProperties[] = [ name: 'startAfter', type: 'string', default: '', - description: 'StartAfter is where you want Amazon S3 to start listing from. Amazon S3 starts listing after this specified key', + description: 'StartAfter is where you want Amazon S3 to start listing from. Amazon S3 starts listing after this specified key.', }, ], }, diff --git a/packages/nodes-base/nodes/Aws/S3/FileDescription.ts b/packages/nodes-base/nodes/Aws/S3/FileDescription.ts index 11bdfc8e5..c83286e03 100644 --- a/packages/nodes-base/nodes/Aws/S3/FileDescription.ts +++ b/packages/nodes-base/nodes/Aws/S3/FileDescription.ts @@ -671,7 +671,7 @@ export const fileFields: INodeProperties[] = [ name: 'tagsUi', placeholder: 'Add Tag', type: 'fixedCollection', - default: '', + default: {}, typeOptions: { multipleValues: true, }, @@ -695,14 +695,12 @@ export const fileFields: INodeProperties[] = [ name: 'key', type: 'string', default: '', - description: '', }, { displayName: 'Value', name: 'value', type: 'string', default: '', - description: '', }, ], }, diff --git a/packages/nodes-base/nodes/Aws/Textract/AwsTextract.node.ts b/packages/nodes-base/nodes/Aws/Textract/AwsTextract.node.ts index 1650da1dd..29eb00359 100644 --- a/packages/nodes-base/nodes/Aws/Textract/AwsTextract.node.ts +++ b/packages/nodes-base/nodes/Aws/Textract/AwsTextract.node.ts @@ -55,7 +55,6 @@ export class AwsTextract implements INodeType { }, ], default: 'analyzeExpense', - description: '', }, { displayName: 'Input Data Field Name', @@ -70,7 +69,7 @@ export class AwsTextract implements INodeType { }, }, required: true, - description: 'The name of the input field containing the binary file data to be uploaded. Supported file types: PNG, JPEG', + description: 'The name of the input field containing the binary file data to be uploaded. Supported file types: PNG, JPEG.', }, { displayName: 'Simplify Response', diff --git a/packages/nodes-base/nodes/BambooHr/v1/actions/companyReport/index.ts b/packages/nodes-base/nodes/BambooHr/v1/actions/companyReport/index.ts index e6bc7aa7c..ae4817fc1 100644 --- a/packages/nodes-base/nodes/BambooHr/v1/actions/companyReport/index.ts +++ b/packages/nodes-base/nodes/BambooHr/v1/actions/companyReport/index.ts @@ -28,7 +28,6 @@ export const descriptions: INodeProperties[] = [ }, ], default: 'get', - description: '', }, ...get.description, ]; diff --git a/packages/nodes-base/nodes/BambooHr/v1/actions/employee/create/shareDescription.ts b/packages/nodes-base/nodes/BambooHr/v1/actions/employee/create/shareDescription.ts index b4eb7a024..ddd887d73 100644 --- a/packages/nodes-base/nodes/BambooHr/v1/actions/employee/create/shareDescription.ts +++ b/packages/nodes-base/nodes/BambooHr/v1/actions/employee/create/shareDescription.ts @@ -50,7 +50,7 @@ export const createEmployeeSharedDescription = (sync = false): INodeProperties[] type: 'string', default: '', placeholder: 'United States', - description: 'The name of the country. Must exist in the BambooHr country list', + description: 'The name of the country. Must exist in the BambooHr country list.', }, ], }, diff --git a/packages/nodes-base/nodes/BambooHr/v1/actions/employee/index.ts b/packages/nodes-base/nodes/BambooHr/v1/actions/employee/index.ts index 83c4832e0..be7962820 100644 --- a/packages/nodes-base/nodes/BambooHr/v1/actions/employee/index.ts +++ b/packages/nodes-base/nodes/BambooHr/v1/actions/employee/index.ts @@ -49,7 +49,6 @@ export const descriptions: INodeProperties[] = [ }, ], default: 'create', - description: '', }, ...create.description, ...get.description, diff --git a/packages/nodes-base/nodes/BambooHr/v1/actions/employee/update/sharedDescription.ts b/packages/nodes-base/nodes/BambooHr/v1/actions/employee/update/sharedDescription.ts index 5f4407988..e439e3339 100644 --- a/packages/nodes-base/nodes/BambooHr/v1/actions/employee/update/sharedDescription.ts +++ b/packages/nodes-base/nodes/BambooHr/v1/actions/employee/update/sharedDescription.ts @@ -50,7 +50,7 @@ export const updateEmployeeSharedDescription = (sync = false): INodeProperties[] type: 'string', default: '', placeholder: 'United States', - description: 'The name of the country. Must exist in the BambooHr country list', + description: 'The name of the country. Must exist in the BambooHr country list.', }, ], }, diff --git a/packages/nodes-base/nodes/BambooHr/v1/actions/employeeDocument/upload/description.ts b/packages/nodes-base/nodes/BambooHr/v1/actions/employeeDocument/upload/description.ts index 18061ba44..adb67e261 100644 --- a/packages/nodes-base/nodes/BambooHr/v1/actions/employeeDocument/upload/description.ts +++ b/packages/nodes-base/nodes/BambooHr/v1/actions/employeeDocument/upload/description.ts @@ -54,7 +54,7 @@ export const employeeDocumentUploadDescription: EmployeeDocumentProperties = [ }, }, required: true, - description: 'The name of the input field containing the binary file data to be uploaded. Supported file types: PNG, JPEG', + description: 'The name of the input field containing the binary file data to be uploaded. Supported file types: PNG, JPEG.', }, { displayName: 'Options', diff --git a/packages/nodes-base/nodes/BambooHr/v1/actions/file/index.ts b/packages/nodes-base/nodes/BambooHr/v1/actions/file/index.ts index 5ea62514e..62ee66ad5 100644 --- a/packages/nodes-base/nodes/BambooHr/v1/actions/file/index.ts +++ b/packages/nodes-base/nodes/BambooHr/v1/actions/file/index.ts @@ -56,7 +56,6 @@ export const descriptions: INodeProperties[] = [ }, ], default: 'delete', - description: '', }, ...del.description, ...download.description, diff --git a/packages/nodes-base/nodes/BambooHr/v1/actions/file/upload/description.ts b/packages/nodes-base/nodes/BambooHr/v1/actions/file/upload/description.ts index 4c70aed54..d642d4a1e 100644 --- a/packages/nodes-base/nodes/BambooHr/v1/actions/file/upload/description.ts +++ b/packages/nodes-base/nodes/BambooHr/v1/actions/file/upload/description.ts @@ -17,7 +17,7 @@ export const fileUploadDescription: INodeProperties[] = [ }, }, required: true, - description: 'The name of the input field containing the binary file data to be uploaded. Supported file types: PNG, JPEG', + description: 'The name of the input field containing the binary file data to be uploaded. Supported file types: PNG, JPEG.', }, { displayName: 'Category Name/ID', diff --git a/packages/nodes-base/nodes/Bannerbear/Bannerbear.node.ts b/packages/nodes-base/nodes/Bannerbear/Bannerbear.node.ts index 4b0d74a1d..854aec280 100644 --- a/packages/nodes-base/nodes/Bannerbear/Bannerbear.node.ts +++ b/packages/nodes-base/nodes/Bannerbear/Bannerbear.node.ts @@ -113,7 +113,7 @@ export class Bannerbear implements INodeType { async execute(this: IExecuteFunctions): Promise { const items = this.getInputData(); const returnData: IDataObject[] = []; - const length = items.length as unknown as number; + const length = items.length; let responseData; const qs: IDataObject = {}; const resource = this.getNodeParameter('resource', 0) as string; diff --git a/packages/nodes-base/nodes/Baserow/OperationDescription.ts b/packages/nodes-base/nodes/Baserow/OperationDescription.ts index a0f5aab6e..a1dd76f55 100644 --- a/packages/nodes-base/nodes/Baserow/OperationDescription.ts +++ b/packages/nodes-base/nodes/Baserow/OperationDescription.ts @@ -297,37 +297,37 @@ export const operationFields: INodeProperties[] = [ { name: 'Date Equal', value: 'date_equal', - description: 'Field is date. Format: \'YYYY-MM-DD\'', + description: 'Field is date. Format: \'YYYY-MM-DD\'.', }, { name: 'Date Not Equal', value: 'date_not_equal', - description: 'Field is not date. Format: \'YYYY-MM-DD\'', + description: 'Field is not date. Format: \'YYYY-MM-DD\'.', }, { name: 'Date Equals Today', value: 'date_equals_today', - description: 'Field is today. Format: string', + description: 'Field is today. Format: string.', }, { name: 'Date Equals Month', value: 'date_equals_month', - description: 'Field in this month. Format: string', + description: 'Field in this month. Format: string.', }, { name: 'Date Equals Year', value: 'date_equals_year', - description: 'Field in this year. Format: string', + description: 'Field in this year. Format: string.', }, { name: 'Date Before Date', value: 'date_before', - description: 'Field before this date. Format: \'YYYY-MM-DD\'', + description: 'Field before this date. Format: \'YYYY-MM-DD\'.', }, { name: 'Date After Date', value: 'date_after', - description: 'Field after this date. Format: \'YYYY-MM-DD\'', + description: 'Field after this date. Format: \'YYYY-MM-DD\'.', }, { name: 'Filename Contains', diff --git a/packages/nodes-base/nodes/Beeminder/Beeminder.node.ts b/packages/nodes-base/nodes/Beeminder/Beeminder.node.ts index 11f7093be..42a3156da 100644 --- a/packages/nodes-base/nodes/Beeminder/Beeminder.node.ts +++ b/packages/nodes-base/nodes/Beeminder/Beeminder.node.ts @@ -174,7 +174,6 @@ export class Beeminder implements INodeType { name: 'datapointId', type: 'string', default: '', - description: 'Datapoint id', displayOptions: { show: { operation: [ @@ -207,7 +206,6 @@ export class Beeminder implements INodeType { name: 'comment', type: 'string', default: '', - description: 'Comment', }, { displayName: 'Timestamp', @@ -284,7 +282,6 @@ export class Beeminder implements INodeType { name: 'comment', type: 'string', default: '', - description: 'Comment', }, { displayName: 'Timestamp', @@ -326,7 +323,7 @@ export class Beeminder implements INodeType { const items = this.getInputData(); const returnData: IDataObject[] = []; - const length = items.length as unknown as number; + const length = items.length; const timezone = this.getTimezone(); const resource = this.getNodeParameter('resource', 0) as string; diff --git a/packages/nodes-base/nodes/Bitly/Bitly.node.ts b/packages/nodes-base/nodes/Bitly/Bitly.node.ts index dfedb25f7..2fae9aa8c 100644 --- a/packages/nodes-base/nodes/Bitly/Bitly.node.ts +++ b/packages/nodes-base/nodes/Bitly/Bitly.node.ts @@ -134,7 +134,7 @@ export class Bitly implements INodeType { async execute(this: IExecuteFunctions): Promise { const items = this.getInputData(); const returnData: IDataObject[] = []; - const length = items.length as unknown as number; + const length = items.length; const qs: IDataObject = {}; let responseData; const resource = this.getNodeParameter('resource', 0) as string; diff --git a/packages/nodes-base/nodes/Box/Box.node.ts b/packages/nodes-base/nodes/Box/Box.node.ts index f9f139b4e..5f07e0c46 100644 --- a/packages/nodes-base/nodes/Box/Box.node.ts +++ b/packages/nodes-base/nodes/Box/Box.node.ts @@ -80,7 +80,7 @@ export class Box implements INodeType { async execute(this: IExecuteFunctions): Promise { const items = this.getInputData(); const returnData: IDataObject[] = []; - const length = items.length as unknown as number; + const length = items.length; const qs: IDataObject = {}; let responseData; const timezone = this.getTimezone(); diff --git a/packages/nodes-base/nodes/Box/FileDescription.ts b/packages/nodes-base/nodes/Box/FileDescription.ts index 9be6f6b9f..bffa351e3 100644 --- a/packages/nodes-base/nodes/Box/FileDescription.ts +++ b/packages/nodes-base/nodes/Box/FileDescription.ts @@ -77,7 +77,6 @@ export const fileFields: INodeProperties[] = [ }, }, default: '', - description: 'File ID', }, { displayName: 'Parent ID', @@ -94,7 +93,7 @@ export const fileFields: INodeProperties[] = [ ], }, }, - description: 'The ID of folder to copy the file to. If not defined will be copied to the root folder', + description: 'The ID of folder to copy the file to. If not defined will be copied to the root folder.', }, { displayName: 'Additional Fields', @@ -176,7 +175,6 @@ export const fileFields: INodeProperties[] = [ }, }, default: '', - description: 'File ID', }, { displayName: 'Binary Property', @@ -327,7 +325,7 @@ export const fileFields: INodeProperties[] = [ name: 'contet_types', type: 'string', default: '', - description: `Limits search results to items with the given content types. Content types are defined as a comma separated lists of Box recognized content types.`, + description: 'Limits search results to items with the given content types. Content types are defined as a comma-separated lists of Box recognized content types.', }, { displayName: 'Created At Range', @@ -396,7 +394,7 @@ export const fileFields: INodeProperties[] = [ name: 'ancestor_folder_ids', type: 'string', default: '', - description: `Limits search results to items within the given list of folders. Folders are defined as a comma separated lists of folder IDs.`, + description: 'Limits search results to items within the given list of folders. Folders are defined as a comma-separated lists of folder IDs.', }, { displayName: 'Scope', @@ -421,7 +419,7 @@ export const fileFields: INodeProperties[] = [ type: 'string', default: '', placeholder: '1000000,5000000', - description: `Limits search results to items within a given file size range. File size ranges are defined as comma separated byte sizes.`, + description: 'Limits search results to items within a given file size range. File size ranges are defined as comma-separated byte sizes.', }, { displayName: 'Sort', @@ -492,7 +490,7 @@ export const fileFields: INodeProperties[] = [ name: 'owner_user_ids', type: 'string', default: '', - description: `Limits search results to items owned by the given list of owners. Owners are defined as a comma separated list of user IDs.`, + description: 'Limits search results to items owned by the given list of owners. Owners are defined as a comma-separated list of user IDs.', }, ], }, @@ -830,6 +828,6 @@ export const fileFields: INodeProperties[] = [ }, }, default: '', - description: 'ID of the parent folder that will contain the file. If not it will be uploaded to the root folder', + description: 'ID of the parent folder that will contain the file. If not it will be uploaded to the root folder.', }, ]; diff --git a/packages/nodes-base/nodes/Box/FolderDescription.ts b/packages/nodes-base/nodes/Box/FolderDescription.ts index 25ce833b3..66f71478f 100644 --- a/packages/nodes-base/nodes/Box/FolderDescription.ts +++ b/packages/nodes-base/nodes/Box/FolderDescription.ts @@ -89,7 +89,7 @@ export const folderFields: INodeProperties[] = [ }, }, default: '', - description: 'ID of the folder you want to create the new folder in. if not defined it will be created on the root folder', + description: 'ID of the folder you want to create the new folder in. if not defined it will be created on the root folder.', }, { displayName: 'Options', @@ -155,7 +155,6 @@ export const folderFields: INodeProperties[] = [ }, }, default: '', - description: 'Folder ID', }, /* -------------------------------------------------------------------------- */ @@ -176,7 +175,6 @@ export const folderFields: INodeProperties[] = [ }, }, default: '', - description: 'Folder ID', }, { displayName: 'Recursive', @@ -279,7 +277,7 @@ export const folderFields: INodeProperties[] = [ name: 'contet_types', type: 'string', default: '', - description: `Limits search results to items with the given content types. Content types are defined as a comma separated lists of Box recognized content types.`, + description: 'Limits search results to items with the given content types. Content types are defined as a comma-separated lists of Box recognized content types.', }, { displayName: 'Created At Range', @@ -348,7 +346,7 @@ export const folderFields: INodeProperties[] = [ name: 'ancestor_folder_ids', type: 'string', default: '', - description: `Limits search results to items within the given list of folders. Folders are defined as a comma separated lists of folder IDs.`, + description: 'Limits search results to items within the given list of folders. Folders are defined as a comma-separated lists of folder IDs.', }, { displayName: 'Scope', @@ -373,7 +371,7 @@ export const folderFields: INodeProperties[] = [ type: 'string', default: '', placeholder: '1000000,5000000', - description: `Limits search results to items within a given file size range. File size ranges are defined as comma separated byte sizes.`, + description: 'Limits search results to items within a given file size range. File size ranges are defined as comma-separated byte sizes.', }, { displayName: 'Sort', @@ -444,7 +442,7 @@ export const folderFields: INodeProperties[] = [ name: 'owner_user_ids', type: 'string', default: '', - description: `Limits search results to items owned by the given list of owners. Owners are defined as a comma separated list of user IDs.`, + description: 'Limits search results to items owned by the given list of owners. Owners are defined as a comma-separated list of user IDs.', }, ], }, @@ -703,7 +701,6 @@ export const folderFields: INodeProperties[] = [ }, }, default: '', - description: 'Folder ID', }, { displayName: 'Update Fields', diff --git a/packages/nodes-base/nodes/Brandfetch/Brandfetch.node.ts b/packages/nodes-base/nodes/Brandfetch/Brandfetch.node.ts index d437e9b6e..f83b51a4f 100644 --- a/packages/nodes-base/nodes/Brandfetch/Brandfetch.node.ts +++ b/packages/nodes-base/nodes/Brandfetch/Brandfetch.node.ts @@ -161,7 +161,7 @@ export class Brandfetch implements INodeType { async execute(this: IExecuteFunctions): Promise { const items = this.getInputData(); - const length = items.length as unknown as number; + const length = items.length; const operation = this.getNodeParameter('operation', 0) as string; const responseData = []; diff --git a/packages/nodes-base/nodes/Bubble/ObjectDescription.ts b/packages/nodes-base/nodes/Bubble/ObjectDescription.ts index f8444b055..af270a95c 100644 --- a/packages/nodes-base/nodes/Bubble/ObjectDescription.ts +++ b/packages/nodes-base/nodes/Bubble/ObjectDescription.ts @@ -297,7 +297,6 @@ export const objectFields: INodeProperties[] = [ name: 'jsonParameters', type: 'boolean', default: false, - description: '', displayOptions: { show: { resource: [ @@ -471,7 +470,7 @@ export const objectFields: INodeProperties[] = [ }, }, placeholder: `[ { "key": "name", "constraint_type": "text contains", "value": "cafe" } , { "key": "address", "constraint_type": "geographic_search", "value": { "range":10, "origin_address":"New York" } } ]`, - description: 'Refine the list that is returned by the Data API with search constraints, exactly as you define a search in Bubble. See link', + description: 'Refine the list that is returned by the Data API with search constraints, exactly as you define a search in Bubble. See link.', }, { displayName: 'Sort', @@ -492,7 +491,7 @@ export const objectFields: INodeProperties[] = [ name: 'sort_field', type: 'string', default: '', - description: `Specify the field to use for sorting. Either use a fielddefined for the current typeor use _random_sorting to get the entries in a random order`, + description: 'Specify the field to use for sorting. Either use a fielddefined for the current typeor use _random_sorting to get the entries in a random order.', }, { displayName: 'Descending', diff --git a/packages/nodes-base/nodes/CircleCi/CircleCi.node.ts b/packages/nodes-base/nodes/CircleCi/CircleCi.node.ts index 5b1e8b170..36d4349b1 100644 --- a/packages/nodes-base/nodes/CircleCi/CircleCi.node.ts +++ b/packages/nodes-base/nodes/CircleCi/CircleCi.node.ts @@ -61,7 +61,7 @@ export class CircleCi implements INodeType { async execute(this: IExecuteFunctions): Promise { const items = this.getInputData(); const returnData: IDataObject[] = []; - const length = items.length as unknown as number; + const length = items.length; const qs: IDataObject = {}; let responseData; const resource = this.getNodeParameter('resource', 0) as string; diff --git a/packages/nodes-base/nodes/Cisco/Webex/GenericFunctions.ts b/packages/nodes-base/nodes/Cisco/Webex/GenericFunctions.ts index a410dd161..75d0abed4 100644 --- a/packages/nodes-base/nodes/Cisco/Webex/GenericFunctions.ts +++ b/packages/nodes-base/nodes/Cisco/Webex/GenericFunctions.ts @@ -164,7 +164,7 @@ export function getActionInheritedProperties(): INodeProperties[] { name: 'iconUrl', type: 'string', default: '', - description: 'Optional icon to be shown on the action in conjunction with the title. Supports data URI in version 1.2+', + description: 'Optional icon to be shown on the action in conjunction with the title. Supports data URI in version 1.2+.', }, { displayName: 'Style', @@ -205,7 +205,7 @@ export function getTextBlockProperties(): INodeProperties[] { }, }, required: true, - description: 'Text to display. A subset of markdown is supported (https://aka.ms/ACTextFeatures)', + description: 'Text to display. A subset of markdown is supported (https://aka.ms/ACTextFeatures).', }, { displayName: 'Color', @@ -407,7 +407,7 @@ export function getTextBlockProperties(): INodeProperties[] { }, }, default: true, - description: 'If true, allow text to wrap. Otherwise, text is clipped', + description: 'If true, allow text to wrap. Otherwise, text is clipped.', }, { displayName: 'Height', @@ -537,7 +537,7 @@ export function getInputTextProperties(): INodeProperties[] { }, }, default: '', - description: 'Unique identifier for the value. Used to identify collected input when the Submit action is performed', + description: 'Unique identifier for the value. Used to identify collected input when the Submit action is performed.', }, { displayName: 'Is Multiline', @@ -579,7 +579,7 @@ export function getInputTextProperties(): INodeProperties[] { }, }, default: '', - description: 'Description of the input desired. Displayed when no text has been input', + description: 'Description of the input desired. Displayed when no text has been input.', }, { displayName: 'Regex', diff --git a/packages/nodes-base/nodes/Cisco/Webex/descriptions/MeetingDescription.ts b/packages/nodes-base/nodes/Cisco/Webex/descriptions/MeetingDescription.ts index 22d47ca3c..c6b158d14 100644 --- a/packages/nodes-base/nodes/Cisco/Webex/descriptions/MeetingDescription.ts +++ b/packages/nodes-base/nodes/Cisco/Webex/descriptions/MeetingDescription.ts @@ -61,7 +61,7 @@ export const meetingFields: INodeProperties[] = [ ], }, }, - description: 'Meeting title. The title can be a maximum of 128 characters long', + description: 'Meeting title. The title can be a maximum of 128 characters long.', }, { displayName: 'Start', @@ -79,7 +79,7 @@ export const meetingFields: INodeProperties[] = [ ], }, }, - description: 'Date and time for the start of the meeting. Acceptable format', + description: 'Date and time for the start of the meeting. Acceptable format.', }, { displayName: 'End', @@ -97,7 +97,7 @@ export const meetingFields: INodeProperties[] = [ ], }, }, - description: 'Date and time for the end of the meeting. Acceptable format', + description: 'Date and time for the end of the meeting. Acceptable format.', }, { displayName: 'Additional Fields', @@ -121,7 +121,7 @@ export const meetingFields: INodeProperties[] = [ name: 'agenda', type: 'string', default: '', - description: 'Meeting agenda. The agenda can be a maximum of 1300 characters long', + description: 'Meeting agenda. The agenda can be a maximum of 1300 characters long.', }, { displayName: 'Allow Any User To Be Co-Host', @@ -184,14 +184,14 @@ export const meetingFields: INodeProperties[] = [ name: 'hostEmail', type: 'string', default: '', - description: `Email address for the meeting host. Can only be set if you're an admin`, + description: 'Email address for the meeting host. Can only be set if you\'re an admin.', }, { displayName: 'Integration Tags', name: 'integrationTags', type: 'string', default: '', - description: `External keys created by an integration application in its own domain. They could be Zendesk ticket IDs, Jira IDs, Salesforce Opportunity IDs, etc`, + description: 'External keys created by an integration application in its own domain. They could be Zendesk ticket IDs, Jira IDs, Salesforce Opportunity IDs, etc.', }, { displayName: 'Invitees', @@ -200,7 +200,7 @@ export const meetingFields: INodeProperties[] = [ typeOptions: { multipleValues: true, }, - default: '', + default: {}, placeholder: 'Add Invitee', options: [ { @@ -270,7 +270,7 @@ export const meetingFields: INodeProperties[] = [ name: 'recurrence', type: 'string', default: '', - description: `Rule for how the meeting should recur. Acceptable format`, + description: 'Rule for how the meeting should recur. Acceptable format.', }, { displayName: 'Required Registration Info', @@ -355,7 +355,7 @@ export const meetingFields: INodeProperties[] = [ loadOptionsMethod: 'getSites', }, default: '', - description: `URL of the Webex site which the meeting is created on. If not specified, the meeting is created on user's preferred site`, + description: 'URL of the Webex site which the meeting is created on. If not specified, the meeting is created on user\'s preferred site.', }, ], }, @@ -403,7 +403,7 @@ export const meetingFields: INodeProperties[] = [ name: 'hostEmail', type: 'string', default: '', - description: 'Email address for the meeting host. This parameter is only used if the user or application calling the API has the admin-level scopes', + description: 'Email address for the meeting host. This parameter is only used if the user or application calling the API has the admin-level scopes.', }, { displayName: 'Send Email', @@ -458,21 +458,21 @@ export const meetingFields: INodeProperties[] = [ name: 'hostEmail', type: 'string', default: '', - description: 'Email address for the meeting host. This parameter is only used if the user or application calling the API has the admin-level scopes', + description: 'Email address for the meeting host. This parameter is only used if the user or application calling the API has the admin-level scopes.', }, { displayName: 'Password', name: 'password', type: 'string', default: '', - description: `Meeting password. It's required when the meeting is protected by a password and the current user is not privileged to view it if they are not a host, co-host or invitee of the meeting`, + description: 'Meeting password. It\'s required when the meeting is protected by a password and the current user is not privileged to view it if they are not a host, co-host or invitee of the meeting.', }, { displayName: 'Send Email', name: 'sendEmail', type: 'boolean', default: true, - description: 'Whether or not to send emails to host and invitees. It is an optional field and default value is true', + description: 'Whether or not to send emails to host and invitees. It is an optional field and default value is true.', }, ], }, @@ -542,7 +542,7 @@ export const meetingFields: INodeProperties[] = [ name: 'from', type: 'dateTime', default: '', - description: 'Start date and time (inclusive) for the meeting. Acceptable format', + description: 'Start date and time (inclusive) for the meeting. Acceptable format.', }, { displayName: 'Host Email', @@ -658,7 +658,7 @@ export const meetingFields: INodeProperties[] = [ name: 'to', type: 'dateTime', default: '', - description: 'End date and time (inclusive) for the meeting. Acceptable format', + description: 'End date and time (inclusive) for the meeting. Acceptable format.', }, { displayName: 'Weblink', @@ -713,7 +713,7 @@ export const meetingFields: INodeProperties[] = [ name: 'agenda', type: 'string', default: '', - description: `The meeting's agenda. Cannot be longer that 1300 characters`, + description: 'The meeting\'s agenda. Cannot be longer that 1300 characters.', }, { displayName: 'Allow Any User To Be Co-Host', @@ -762,7 +762,7 @@ export const meetingFields: INodeProperties[] = [ name: 'end', type: 'dateTime', default: '', - description: 'Date and time for the end of the meeting. Acceptable format', + description: 'Date and time for the end of the meeting. Acceptable format.', }, { displayName: 'Exclude Password', @@ -776,7 +776,7 @@ export const meetingFields: INodeProperties[] = [ name: 'hostEmail', type: 'string', default: '', - description: `Email address for the meeting host. This attribute should only be set if the user or application calling the API has the admin-level scopes`, + description: 'Email address for the meeting host. This attribute should only be set if the user or application calling the API has the admin-level scopes.', }, { displayName: 'Invitees', @@ -785,7 +785,7 @@ export const meetingFields: INodeProperties[] = [ typeOptions: { multipleValues: true, }, - default: '', + default: {}, placeholder: 'Add Invitee', options: [ { @@ -937,7 +937,7 @@ export const meetingFields: INodeProperties[] = [ name: 'sendEmail', type: 'boolean', default: false, - description: `Whether or not to send emails to host and invitees. It is an optional field and default value is true`, + description: 'Whether or not to send emails to host and invitees. It is an optional field and default value is true.', }, { displayName: 'Site URL', @@ -947,14 +947,14 @@ export const meetingFields: INodeProperties[] = [ loadOptionsMethod: 'getSites', }, default: '', - description: `URL of the Webex site which the meeting is created on. If not specified, the meeting is created on user's preferred site`, + description: 'URL of the Webex site which the meeting is created on. If not specified, the meeting is created on user\'s preferred site.', }, { displayName: 'Start', name: 'start', type: 'dateTime', default: '', - description: 'Date and time for the start of the meeting. Acceptable format', + description: 'Date and time for the start of the meeting. Acceptable format.', }, { displayName: 'Title', diff --git a/packages/nodes-base/nodes/Cisco/Webex/descriptions/MessageDescription.ts b/packages/nodes-base/nodes/Cisco/Webex/descriptions/MessageDescription.ts index e04a9d09b..fd4640528 100644 --- a/packages/nodes-base/nodes/Cisco/Webex/descriptions/MessageDescription.ts +++ b/packages/nodes-base/nodes/Cisco/Webex/descriptions/MessageDescription.ts @@ -133,7 +133,6 @@ export const messageFields: INodeProperties[] = [ { displayName: 'Person ID', name: 'toPersonId', - description: 'The person ID', type: 'string', required: true, default: '', @@ -249,7 +248,6 @@ export const messageFields: INodeProperties[] = [ }, ], default: 'textBlock', - description: '', }, ...getTextBlockProperties(), ...getInputTextProperties(), @@ -290,7 +288,6 @@ export const messageFields: INodeProperties[] = [ }, ], default: 'openUrl', - description: '', }, { displayName: 'URL', @@ -319,7 +316,7 @@ export const messageFields: INodeProperties[] = [ }, }, default: '', - description: 'Any extra data to pass along. These are essentially ‘hidden’ properties', + description: 'Any extra data to pass along. These are essentially ‘hidden’ properties.', }, { displayName: 'Verb', @@ -373,7 +370,6 @@ export const messageFields: INodeProperties[] = [ }, ], default: 'url', - description: '', }, { displayName: 'Input Field With File', @@ -413,7 +409,7 @@ export const messageFields: INodeProperties[] = [ name: 'markdown', type: 'string', default: '', - description: 'The message in markdown format. When used the text parameter is used to provide alternate text for UI clients that do not support rich text', + description: 'The message in markdown format. When used the text parameter is used to provide alternate text for UI clients that do not support rich text.', }, ], }, @@ -637,7 +633,7 @@ export const messageFields: INodeProperties[] = [ { displayName: 'Markdown', name: 'markdownText', - description: 'The message, in Markdown format. The maximum message length is 7439 bytes', + description: 'The message, in Markdown format. The maximum message length is 7439 bytes.', type: 'string', required: true, default: '', diff --git a/packages/nodes-base/nodes/Clearbit/Clearbit.node.ts b/packages/nodes-base/nodes/Clearbit/Clearbit.node.ts index e0a4d36bb..2e63669a4 100644 --- a/packages/nodes-base/nodes/Clearbit/Clearbit.node.ts +++ b/packages/nodes-base/nodes/Clearbit/Clearbit.node.ts @@ -57,8 +57,7 @@ export class Clearbit implements INodeType { { name: 'Person', value: 'person', - description: `The Person API lets you retrieve social information associated with an email address, - such as a person’s name, location and Twitter handle.`, + description: 'The Person API lets you retrieve social information associated with an email address, such as a person’s name, location and Twitter handle.', }, ], default: 'company', @@ -74,7 +73,7 @@ export class Clearbit implements INodeType { async execute(this: IExecuteFunctions): Promise { const items = this.getInputData(); const returnData: IDataObject[] = []; - const length = items.length as unknown as number; + const length = items.length; const qs: IDataObject = {}; let responseData; const resource = this.getNodeParameter('resource', 0) as string; diff --git a/packages/nodes-base/nodes/ClickUp/ClickUp.node.ts b/packages/nodes-base/nodes/ClickUp/ClickUp.node.ts index b0c1e5bce..9e200fa8a 100644 --- a/packages/nodes-base/nodes/ClickUp/ClickUp.node.ts +++ b/packages/nodes-base/nodes/ClickUp/ClickUp.node.ts @@ -473,7 +473,7 @@ export class ClickUp implements INodeType { async execute(this: IExecuteFunctions): Promise { const items = this.getInputData(); const returnData: IDataObject[] = []; - const length = items.length as unknown as number; + const length = items.length; const qs: IDataObject = {}; let responseData; diff --git a/packages/nodes-base/nodes/ClickUp/TaskDescription.ts b/packages/nodes-base/nodes/ClickUp/TaskDescription.ts index 4b8b5e4b6..2a4d0eee6 100644 --- a/packages/nodes-base/nodes/ClickUp/TaskDescription.ts +++ b/packages/nodes-base/nodes/ClickUp/TaskDescription.ts @@ -372,7 +372,6 @@ export const taskFields: INodeProperties[] = [ ], }, }, - description: 'Task ID', }, { displayName: 'Update Fields', @@ -396,7 +395,7 @@ export const taskFields: INodeProperties[] = [ name: 'addAssignees', type: 'string', default: '', - description: 'Assignees IDs. Multiple ca be added separated by comma', + description: 'Assignees IDs. Multiple ca be added separated by comma.', }, { displayName: 'Content', @@ -459,14 +458,13 @@ export const taskFields: INodeProperties[] = [ name: 'removeAssignees', type: 'string', default: '', - description: 'Assignees IDs. Multiple ca be added separated by comma', + description: 'Assignees IDs. Multiple ca be added separated by comma.', }, { displayName: 'Status', name: 'status', type: 'string', default: '', - description: 'status', }, { displayName: 'Start Date', @@ -510,7 +508,6 @@ export const taskFields: INodeProperties[] = [ ], }, }, - description: 'Task ID', }, /* -------------------------------------------------------------------------- */ @@ -943,7 +940,6 @@ export const taskFields: INodeProperties[] = [ ], }, }, - description: 'task ID', }, /* -------------------------------------------------------------------------- */ @@ -965,7 +961,6 @@ export const taskFields: INodeProperties[] = [ ], }, }, - description: 'Task ID', }, { displayName: 'Return All', @@ -1063,9 +1058,7 @@ export const taskFields: INodeProperties[] = [ }, }, default: false, - description: `The value is JSON and will be parsed as such. Is needed - if for example needed for labels which expects the value - to be an array.`, + description: 'The value is JSON and will be parsed as such. Is needed if for example needed for labels which expects the value to be an array.', }, { displayName: 'Value', diff --git a/packages/nodes-base/nodes/Clockify/Clockify.node.ts b/packages/nodes-base/nodes/Clockify/Clockify.node.ts index 7d166c2b4..0f259901e 100644 --- a/packages/nodes-base/nodes/Clockify/Clockify.node.ts +++ b/packages/nodes-base/nodes/Clockify/Clockify.node.ts @@ -231,7 +231,7 @@ export class Clockify implements INodeType { const returnData: IDataObject[] = []; - const length = (items.length as unknown) as number; + const length = items.length; const qs: IDataObject = {}; diff --git a/packages/nodes-base/nodes/Clockify/ClockifyTrigger.node.ts b/packages/nodes-base/nodes/Clockify/ClockifyTrigger.node.ts index 1e9e2813c..4a5826b87 100644 --- a/packages/nodes-base/nodes/Clockify/ClockifyTrigger.node.ts +++ b/packages/nodes-base/nodes/Clockify/ClockifyTrigger.node.ts @@ -50,6 +50,7 @@ export class ClockifyTrigger implements INodeType { required: true, default: '', }, + // eslint-disable-next-line n8n-nodes-base/node-param-default-missing { displayName: 'Trigger', name: 'watchField', diff --git a/packages/nodes-base/nodes/Clockify/ProjectDescription.ts b/packages/nodes-base/nodes/Clockify/ProjectDescription.ts index 90b60fb1e..ac2c9bd42 100644 --- a/packages/nodes-base/nodes/Clockify/ProjectDescription.ts +++ b/packages/nodes-base/nodes/Clockify/ProjectDescription.ts @@ -295,7 +295,7 @@ export const projectFields: INodeProperties[] = [ name: 'contains-client', type: 'boolean', default: false, - description: 'If provided, projects will be filtered by whether they have a client.; ', + description: 'If provided, projects will be filtered by whether they have a client.; ', }, { displayName: 'Client Status', diff --git a/packages/nodes-base/nodes/Cockpit/Cockpit.node.ts b/packages/nodes-base/nodes/Cockpit/Cockpit.node.ts index eb53f9b71..b142dfe23 100644 --- a/packages/nodes-base/nodes/Cockpit/Cockpit.node.ts +++ b/packages/nodes-base/nodes/Cockpit/Cockpit.node.ts @@ -112,7 +112,7 @@ export class Cockpit implements INodeType { async execute(this: IExecuteFunctions): Promise { const items = this.getInputData(); const returnData: IDataObject[] = []; - const length = items.length as unknown as number; + const length = items.length; const resource = this.getNodeParameter('resource', 0) as string; const operation = this.getNodeParameter('operation', 0) as string; diff --git a/packages/nodes-base/nodes/Cockpit/CollectionDescription.ts b/packages/nodes-base/nodes/Cockpit/CollectionDescription.ts index f8621d58a..8ad60fb9f 100644 --- a/packages/nodes-base/nodes/Cockpit/CollectionDescription.ts +++ b/packages/nodes-base/nodes/Cockpit/CollectionDescription.ts @@ -122,7 +122,7 @@ export const collectionFields: INodeProperties[] = [ alwaysOpenEditWindow: true, }, placeholder: '_id,name', - description: 'Comma separated list of fields to get.', + description: 'Comma-separated list of fields to get.', }, { displayName: 'Filter Query', @@ -192,7 +192,6 @@ export const collectionFields: INodeProperties[] = [ ], }, }, - description: 'The entry ID.', }, // Collection:entry:create diff --git a/packages/nodes-base/nodes/Coda/TableDescription.ts b/packages/nodes-base/nodes/Coda/TableDescription.ts index 90a581224..259f838f5 100644 --- a/packages/nodes-base/nodes/Coda/TableDescription.ts +++ b/packages/nodes-base/nodes/Coda/TableDescription.ts @@ -133,8 +133,7 @@ export const tableFields: INodeProperties[] = [ name: 'keyColumns', type: 'string', default: '', - description: `Optional column IDs, URLs, or names (fragile and discouraged), - specifying columns to be used as upsert keys. If more than one separate by a comma (,)`, + description: 'Optional column IDs, URLs, or names (fragile and discouraged), specifying columns to be used as upsert keys. If more than one separate by a comma (,)', }, ], }, @@ -202,11 +201,7 @@ export const tableFields: INodeProperties[] = [ ], }, }, - description: `ID or name of the row. Names are discouraged because - they're easily prone to being changed by users. If you're - using a name, be sure to URI-encode it. If there are - multiple rows with the same value in the identifying column, - an arbitrary one will be selected`, + description: 'ID or name of the row. Names are discouraged because they\'re easily prone to being changed by users. If you\'re using a name, be sure to URI-encode it. If there are multiple rows with the same value in the identifying column, an arbitrary one will be selected', }, { displayName: 'Options', @@ -569,11 +564,7 @@ export const tableFields: INodeProperties[] = [ ], }, }, - description: `ID or name of the row. Names are discouraged because - they're easily prone to being changed by users. If you're - using a name, be sure to URI-encode it. If there are multiple - rows with the same value in the identifying column, an arbitrary - one will be selected`, + description: 'ID or name of the row. Names are discouraged because they\'re easily prone to being changed by users. If you\'re using a name, be sure to URI-encode it. If there are multiple rows with the same value in the identifying column, an arbitrary one will be selected', }, { displayName: 'Column', diff --git a/packages/nodes-base/nodes/CoinGecko/CoinDescription.ts b/packages/nodes-base/nodes/CoinGecko/CoinDescription.ts index d09b22575..9f382e811 100644 --- a/packages/nodes-base/nodes/CoinGecko/CoinDescription.ts +++ b/packages/nodes-base/nodes/CoinGecko/CoinDescription.ts @@ -111,7 +111,6 @@ export const coinFields: INodeProperties[] = [ }, default: '', placeholder: 'bitcoin', - description: 'Coin ID', }, { displayName: 'Base Currency', @@ -178,7 +177,6 @@ export const coinFields: INodeProperties[] = [ }, default: '', placeholder: 'bitcoin', - description: 'Coin ID', }, { displayName: 'Base Currencies', @@ -275,7 +273,7 @@ export const coinFields: INodeProperties[] = [ ], }, }, - description: 'The contract address of tokens, comma separated.', + description: 'The contract address of tokens, comma-separated.', }, { displayName: 'Base Currency', @@ -488,7 +486,7 @@ export const coinFields: INodeProperties[] = [ type: 'string', placeholder: 'bitcoin', default: '', - description: 'Filter results by comma separated list of coin ID.', + description: 'Filter results by comma-separated list of coin ID.', }, { displayName: 'Category', @@ -669,7 +667,6 @@ export const coinFields: INodeProperties[] = [ name: 'include_exchange_logo', type: 'boolean', default: false, - description: 'Include exchange logo.', }, { displayName: 'Order', diff --git a/packages/nodes-base/nodes/CoinGecko/CoinGecko.node.ts b/packages/nodes-base/nodes/CoinGecko/CoinGecko.node.ts index 34ad9a32d..a7706e235 100644 --- a/packages/nodes-base/nodes/CoinGecko/CoinGecko.node.ts +++ b/packages/nodes-base/nodes/CoinGecko/CoinGecko.node.ts @@ -162,7 +162,7 @@ export class CoinGecko implements INodeType { async execute(this: IExecuteFunctions): Promise { const items = this.getInputData(); const returnData: IDataObject[] = []; - const length = (items.length as unknown) as number; + const length = items.length; const qs: IDataObject = {}; let responseData; const resource = this.getNodeParameter('resource', 0) as string; diff --git a/packages/nodes-base/nodes/Compression/Compression.node.ts b/packages/nodes-base/nodes/Compression/Compression.node.ts index 308d6a02e..de2a8b6b0 100644 --- a/packages/nodes-base/nodes/Compression/Compression.node.ts +++ b/packages/nodes-base/nodes/Compression/Compression.node.ts @@ -96,7 +96,7 @@ export class Compression implements INodeType { }, placeholder: '', - description: 'Name of the binary property which contains the data for the file(s) to be compress/decompress. Multiple can be used separated by a comma (,)', + description: 'Name of the binary property which contains the data for the file(s) to be compress/decompress. Multiple can be used separated by a comma (,).', }, { displayName: 'Output Format', @@ -199,7 +199,7 @@ export class Compression implements INodeType { async execute(this: IExecuteFunctions): Promise { const items = this.getInputData(); - const length = items.length as unknown as number; + const length = items.length; const returnData: INodeExecutionData[] = []; const operation = this.getNodeParameter('operation', 0) as string; diff --git a/packages/nodes-base/nodes/Contentful/AssetDescription.ts b/packages/nodes-base/nodes/Contentful/AssetDescription.ts index ed672542a..6277c6400 100644 --- a/packages/nodes-base/nodes/Contentful/AssetDescription.ts +++ b/packages/nodes-base/nodes/Contentful/AssetDescription.ts @@ -159,7 +159,7 @@ export const fields: INodeProperties[] = [ type: 'string', placeholder: 'fields.title', default: '', - description: 'The select operator allows you to choose what fields to return from an entity. You can choose multiple values by combining comma separated operators.', + description: 'The select operator allows you to choose what fields to return from an entity. You can choose multiple values by combining comma-separated operators.', }, { displayName: 'Include', diff --git a/packages/nodes-base/nodes/Contentful/EntryDescription.ts b/packages/nodes-base/nodes/Contentful/EntryDescription.ts index be9b06709..7c315e738 100644 --- a/packages/nodes-base/nodes/Contentful/EntryDescription.ts +++ b/packages/nodes-base/nodes/Contentful/EntryDescription.ts @@ -149,7 +149,7 @@ export const fields: INodeProperties[] = [ type: 'string', placeholder: 'fields.title', default: '', - description: 'The select operator allows you to choose what fields to return from an entity. You can choose multiple values by combining comma separated operators.', + description: 'The select operator allows you to choose what fields to return from an entity. You can choose multiple values by combining comma-separated operators.', }, { displayName: 'Include', diff --git a/packages/nodes-base/nodes/ConvertKit/FormDescription.ts b/packages/nodes-base/nodes/ConvertKit/FormDescription.ts index fc02144f7..1a015e1aa 100644 --- a/packages/nodes-base/nodes/ConvertKit/FormDescription.ts +++ b/packages/nodes-base/nodes/ConvertKit/FormDescription.ts @@ -57,7 +57,6 @@ export const formFields: INodeProperties[] = [ }, }, default: '', - description: 'Form ID.', }, { displayName: 'Email', diff --git a/packages/nodes-base/nodes/ConvertKit/SequenceDescription.ts b/packages/nodes-base/nodes/ConvertKit/SequenceDescription.ts index 747fbfb7d..538cc2dba 100644 --- a/packages/nodes-base/nodes/ConvertKit/SequenceDescription.ts +++ b/packages/nodes-base/nodes/ConvertKit/SequenceDescription.ts @@ -57,7 +57,6 @@ export const sequenceFields: INodeProperties[] = [ }, }, default: '', - description: 'Sequence ID.', }, { displayName: 'Email', diff --git a/packages/nodes-base/nodes/Cortex/Cortex.node.ts b/packages/nodes-base/nodes/Cortex/Cortex.node.ts index dfe25d1e0..431b063ed 100644 --- a/packages/nodes-base/nodes/Cortex/Cortex.node.ts +++ b/packages/nodes-base/nodes/Cortex/Cortex.node.ts @@ -195,7 +195,7 @@ export class Cortex implements INodeType { async execute(this: IExecuteFunctions): Promise { const items = this.getInputData(); const returnData: IDataObject[] = []; - const length = (items.length as unknown) as number; + const length = items.length; const qs: IDataObject = {}; let responseData; const resource = this.getNodeParameter('resource', 0) as string; diff --git a/packages/nodes-base/nodes/Cortex/ResponderDescription.ts b/packages/nodes-base/nodes/Cortex/ResponderDescription.ts index 8ece48af4..838d537ed 100644 --- a/packages/nodes-base/nodes/Cortex/ResponderDescription.ts +++ b/packages/nodes-base/nodes/Cortex/ResponderDescription.ts @@ -146,7 +146,7 @@ export const responderFields: INodeProperties[] = [ value: 3, }, ], - description: 'Severity of the case. Default=Medium', + description: 'Severity of the case. Default=Medium.', }, { displayName: 'Start Date', @@ -192,7 +192,7 @@ export const responderFields: INodeProperties[] = [ value: TLP.red, }, ], - description: 'Traffict Light Protocol (TLP). Default=Amber', + description: 'Traffict Light Protocol (TLP). Default=Amber.', }, { displayName: 'Tags', @@ -277,7 +277,7 @@ export const responderFields: INodeProperties[] = [ value: 3, }, ], - description: 'Severity of the case. Default=Medium', + description: 'Severity of the case. Default=Medium.', }, { displayName: 'Date', @@ -315,7 +315,7 @@ export const responderFields: INodeProperties[] = [ value: TLP.red, }, ], - description: 'Traffict Light Protocol (TLP). Default=Amber', + description: 'Traffict Light Protocol (TLP). Default=Amber.', }, { displayName: 'Status', @@ -340,7 +340,7 @@ export const responderFields: INodeProperties[] = [ value: 'Imported', }, ], - description: 'Status of the alert. Default=New', + description: 'Status of the alert. Default=New.', }, { displayName: 'Type', @@ -448,7 +448,6 @@ export const responderFields: INodeProperties[] = [ value: 'user-agent', }, ], - description: '', }, { displayName: 'Data', @@ -462,7 +461,6 @@ export const responderFields: INodeProperties[] = [ }, }, default: '', - description: '', }, { displayName: 'Binary Property', @@ -476,21 +474,18 @@ export const responderFields: INodeProperties[] = [ }, }, default: 'data', - description: '', }, { displayName: 'Message', name: 'message', type: 'string', default: '', - description: '', }, { displayName: 'Tags', name: 'tags', type: 'string', default: '', - description: '', }, ], }, @@ -668,7 +663,7 @@ export const responderFields: INodeProperties[] = [ value: TLP.red, }, ], - description: 'Traffict Light Protocol (TLP). Default=Amber', + description: 'Traffict Light Protocol (TLP). Default=Amber.', }, { displayName: 'IOC', diff --git a/packages/nodes-base/nodes/CrateDb/CrateDb.node.ts b/packages/nodes-base/nodes/CrateDb/CrateDb.node.ts index aaf9f6fac..5c748eb45 100644 --- a/packages/nodes-base/nodes/CrateDb/CrateDb.node.ts +++ b/packages/nodes-base/nodes/CrateDb/CrateDb.node.ts @@ -124,8 +124,7 @@ export class CrateDb implements INodeType { }, default: '', placeholder: 'id,name,description', - description: - 'Comma separated list of the properties which should used as columns for the new rows.', + description: 'Comma-separated list of the properties which should used as columns for the new rows.', }, // ---------------------------------- @@ -168,8 +167,7 @@ export class CrateDb implements INodeType { }, default: 'id', required: true, - description: - 'Comma separated list of the properties which decides which rows in the database should be updated. Normally that would be "id".', + description: `Comma-separated list of the properties which decides which rows in the database should be updated. Normally that would be "id".`, }, { displayName: 'Columns', @@ -182,8 +180,7 @@ export class CrateDb implements INodeType { }, default: '', placeholder: 'name,description', - description: - 'Comma separated list of the properties which should used as columns for rows to update.', + description: `Comma-separated list of the properties which should used as columns for rows to update.`, }, // ---------------------------------- @@ -199,7 +196,7 @@ export class CrateDb implements INodeType { }, }, default: '*', - description: 'Comma separated list of the fields that the operation will return', + description: 'Comma-separated list of the fields that the operation will return', }, // ---------------------------------- // additional fields @@ -243,7 +240,7 @@ export class CrateDb implements INodeType { }, default: '', placeholder: 'quantity,price', - description: 'Comma separated list of properties which should be used as query parameters.', + description: 'Comma-separated list of properties which should be used as query parameters.', }, ], }, diff --git a/packages/nodes-base/nodes/Cron/Cron.node.ts b/packages/nodes-base/nodes/Cron/Cron.node.ts index 54782b08f..dfe887179 100644 --- a/packages/nodes-base/nodes/Cron/Cron.node.ts +++ b/packages/nodes-base/nodes/Cron/Cron.node.ts @@ -31,6 +31,7 @@ export class Cron implements INodeType { name: 'Cron', color: '#00FF00', }, + // eslint-disable-next-line n8n-nodes-base/node-class-description-inputs-wrong-regular-node inputs: [], outputs: ['main'], properties: [ @@ -202,7 +203,7 @@ export class Cron implements INodeType { }, }, default: '* * * * * *', - description: 'Use custom cron expression. Values and ranges as follows:
  • Seconds: 0-59
  • Minutes: 0 - 59
  • Hours: 0 - 23
  • Day of Month: 1 - 31
  • Months: 0 - 11 (Jan - Dec)
  • Day of Week: 0 - 6 (Sun - Sat)
', + description: 'Use custom cron expression. Values and ranges as follows:
  • Seconds: 0-59
  • Minutes: 0 - 59
  • Hours: 0 - 23
  • Day of Month: 1 - 31
  • Months: 0 - 11 (Jan - Dec)
  • Day of Week: 0 - 6 (Sun - Sat)
.', }, { displayName: 'Value', diff --git a/packages/nodes-base/nodes/Crypto/Crypto.node.ts b/packages/nodes-base/nodes/Crypto/Crypto.node.ts index 7bf787b76..99828de18 100644 --- a/packages/nodes-base/nodes/Crypto/Crypto.node.ts +++ b/packages/nodes-base/nodes/Crypto/Crypto.node.ts @@ -441,7 +441,7 @@ export class Crypto implements INodeType { const items = this.getInputData(); const returnData: INodeExecutionData[] = []; - const length = items.length as unknown as number; + const length = items.length; const action = this.getNodeParameter('action', 0) as string; let item: INodeExecutionData; diff --git a/packages/nodes-base/nodes/CustomerIo/CampaignDescription.ts b/packages/nodes-base/nodes/CustomerIo/CampaignDescription.ts index afebb7fe9..a765e6dbb 100644 --- a/packages/nodes-base/nodes/CustomerIo/CampaignDescription.ts +++ b/packages/nodes-base/nodes/CustomerIo/CampaignDescription.ts @@ -114,7 +114,6 @@ export const campaignFields: INodeProperties[] = [ name: 'jsonParameters', type: 'boolean', default: false, - description: '', displayOptions: { show: { resource: [ diff --git a/packages/nodes-base/nodes/CustomerIo/CustomerDescription.ts b/packages/nodes-base/nodes/CustomerIo/CustomerDescription.ts index 58bcd3cfd..0d4f99953 100644 --- a/packages/nodes-base/nodes/CustomerIo/CustomerDescription.ts +++ b/packages/nodes-base/nodes/CustomerIo/CustomerDescription.ts @@ -79,7 +79,6 @@ export const customerFields: INodeProperties[] = [ name: 'jsonParameters', type: 'boolean', default: false, - description: '', displayOptions: { show: { resource: [ @@ -139,7 +138,6 @@ export const customerFields: INodeProperties[] = [ name: 'customProperties', type: 'fixedCollection', default: {}, - description: 'Custom Properties', typeOptions: { multipleValues: true, }, diff --git a/packages/nodes-base/nodes/CustomerIo/EventDescription.ts b/packages/nodes-base/nodes/CustomerIo/EventDescription.ts index 5c8d302f6..a74a96572 100644 --- a/packages/nodes-base/nodes/CustomerIo/EventDescription.ts +++ b/packages/nodes-base/nodes/CustomerIo/EventDescription.ts @@ -74,7 +74,6 @@ export const eventFields: INodeProperties[] = [ name: 'jsonParameters', type: 'boolean', default: false, - description: '', displayOptions: { show: { resource: [ @@ -201,7 +200,6 @@ export const eventFields: INodeProperties[] = [ name: 'jsonParameters', type: 'boolean', default: false, - description: '', displayOptions: { show: { resource: [ diff --git a/packages/nodes-base/nodes/DateTime/DateTime.node.ts b/packages/nodes-base/nodes/DateTime/DateTime.node.ts index 03e9823f8..36d91248d 100644 --- a/packages/nodes-base/nodes/DateTime/DateTime.node.ts +++ b/packages/nodes-base/nodes/DateTime/DateTime.node.ts @@ -386,7 +386,7 @@ export class DateTime implements INodeType { async execute(this: IExecuteFunctions): Promise { const items = this.getInputData(); - const length = items.length as unknown as number; + const length = items.length; const returnData: INodeExecutionData[] = []; const workflowTimezone = this.getTimezone(); diff --git a/packages/nodes-base/nodes/Demio/Demio.node.ts b/packages/nodes-base/nodes/Demio/Demio.node.ts index 510c9343f..cf28495da 100644 --- a/packages/nodes-base/nodes/Demio/Demio.node.ts +++ b/packages/nodes-base/nodes/Demio/Demio.node.ts @@ -131,7 +131,7 @@ export class Demio implements INodeType { async execute(this: IExecuteFunctions): Promise { const items = this.getInputData(); const returnData: IDataObject[] = []; - const length = items.length as unknown as number; + const length = items.length; const qs: IDataObject = {}; let responseData; const resource = this.getNodeParameter('resource', 0) as string; diff --git a/packages/nodes-base/nodes/Demio/EventDescription.ts b/packages/nodes-base/nodes/Demio/EventDescription.ts index 1568300fe..28794cefc 100644 --- a/packages/nodes-base/nodes/Demio/EventDescription.ts +++ b/packages/nodes-base/nodes/Demio/EventDescription.ts @@ -131,7 +131,6 @@ export const eventFields: INodeProperties[] = [ type: 'string', default: '', required: true, - description: 'Event ID', displayOptions: { show: { resource: [ @@ -198,7 +197,6 @@ export const eventFields: INodeProperties[] = [ }, }, default: '', - description: 'Event ID', }, { displayName: 'First Name', diff --git a/packages/nodes-base/nodes/Demio/ReportDescription.ts b/packages/nodes-base/nodes/Demio/ReportDescription.ts index 67f5639de..850401cd1 100644 --- a/packages/nodes-base/nodes/Demio/ReportDescription.ts +++ b/packages/nodes-base/nodes/Demio/ReportDescription.ts @@ -47,7 +47,6 @@ export const reportFields: INodeProperties[] = [ }, }, default: '', - description: 'Event ID', }, { displayName: 'Session ID', diff --git a/packages/nodes-base/nodes/Discourse/Discourse.node.ts b/packages/nodes-base/nodes/Discourse/Discourse.node.ts index 38ff72cb8..8a86a723a 100644 --- a/packages/nodes-base/nodes/Discourse/Discourse.node.ts +++ b/packages/nodes-base/nodes/Discourse/Discourse.node.ts @@ -149,7 +149,7 @@ export class Discourse implements INodeType { async execute(this: IExecuteFunctions): Promise { const items = this.getInputData(); const returnData: IDataObject[] = []; - const length = (items.length as unknown) as number; + const length = items.length; const qs: IDataObject = {}; let responseData; const resource = this.getNodeParameter('resource', 0) as string; diff --git a/packages/nodes-base/nodes/Discourse/UserGroupDescription.ts b/packages/nodes-base/nodes/Discourse/UserGroupDescription.ts index c9a4295e5..ead855c6f 100644 --- a/packages/nodes-base/nodes/Discourse/UserGroupDescription.ts +++ b/packages/nodes-base/nodes/Discourse/UserGroupDescription.ts @@ -52,7 +52,7 @@ export const userGroupFields: INodeProperties[] = [ }, }, default: '', - description: 'Usernames to add to group. Multiples can be defined separated by comma', + description: 'Usernames to add to group. Multiples can be defined separated by comma.', }, { displayName: 'Group ID', diff --git a/packages/nodes-base/nodes/Drift/Drift.node.ts b/packages/nodes-base/nodes/Drift/Drift.node.ts index cf362e53f..3b741bc85 100644 --- a/packages/nodes-base/nodes/Drift/Drift.node.ts +++ b/packages/nodes-base/nodes/Drift/Drift.node.ts @@ -95,7 +95,7 @@ export class Drift implements INodeType { async execute(this: IExecuteFunctions): Promise { const items = this.getInputData(); const returnData: IDataObject[] = []; - const length = items.length as unknown as number; + const length = items.length; let responseData; const qs: IDataObject = {}; const resource = this.getNodeParameter('resource', 0) as string; diff --git a/packages/nodes-base/nodes/Dropbox/Dropbox.node.ts b/packages/nodes-base/nodes/Dropbox/Dropbox.node.ts index 41a6e54b1..a188d97ba 100644 --- a/packages/nodes-base/nodes/Dropbox/Dropbox.node.ts +++ b/packages/nodes-base/nodes/Dropbox/Dropbox.node.ts @@ -617,7 +617,7 @@ export class Dropbox implements INodeType { name: 'file_extensions', type: 'string', default: '', - description: 'Multiple file extensions can be set separated by comma. Example: jpg,pdf', + description: 'Multiple file extensions can be set separated by comma. Example: jpg,pdf.', }, { displayName: 'Folder', diff --git a/packages/nodes-base/nodes/Dropcontact/Dropcontact.node.ts b/packages/nodes-base/nodes/Dropcontact/Dropcontact.node.ts index cd8bb4889..d926267c9 100644 --- a/packages/nodes-base/nodes/Dropcontact/Dropcontact.node.ts +++ b/packages/nodes-base/nodes/Dropcontact/Dropcontact.node.ts @@ -121,6 +121,7 @@ export class Dropcontact implements INodeType { ], }, }, + // eslint-disable-next-line n8n-nodes-base/node-param-default-wrong-for-simplify default: false, description: 'When off, waits for the contact data before completing. Waiting time can be adjusted with Extend Wait Time option. When on, returns a request_id that can be used later in the Fetch Request operation.', }, @@ -235,14 +236,14 @@ export class Dropcontact implements INodeType { }, }, default: 45, - description: 'When not simplifying the response, data will be fetched in two steps. This parameter controls how long to wait (in seconds) before trying the second step', + description: 'When not simplifying the response, data will be fetched in two steps. This parameter controls how long to wait (in seconds) before trying the second step.', }, { displayName: 'French Company Enrich', name: 'siren', type: 'boolean', default: false, - description: `Whether you want the SIREN number, NAF code, TVA number, company address and informations about the company leader. Only applies to french companies`, + description: 'Whether you want the SIREN number, NAF code, TVA number, company address and informations about the company leader. Only applies to french companies.', }, { displayName: 'Language', diff --git a/packages/nodes-base/nodes/ERPNext/DocumentDescription.ts b/packages/nodes-base/nodes/ERPNext/DocumentDescription.ts index bab80be8e..aca6208cf 100644 --- a/packages/nodes-base/nodes/ERPNext/DocumentDescription.ts +++ b/packages/nodes-base/nodes/ERPNext/DocumentDescription.ts @@ -135,7 +135,7 @@ export const documentFields: INodeProperties[] = [ 'docType', ], }, - default: '', + default: [], description: 'Comma-separated list of fields to return.', placeholder: 'name,country', }, diff --git a/packages/nodes-base/nodes/EditImage/EditImage.node.ts b/packages/nodes-base/nodes/EditImage/EditImage.node.ts index 935c1ba64..34e58ad7e 100644 --- a/packages/nodes-base/nodes/EditImage/EditImage.node.ts +++ b/packages/nodes-base/nodes/EditImage/EditImage.node.ts @@ -1089,7 +1089,7 @@ export class EditImage implements INodeType { const items = this.getInputData(); const returnData: INodeExecutionData[] = []; - const length = items.length as unknown as number; + const length = items.length; let item: INodeExecutionData; for (let itemIndex = 0; itemIndex < length; itemIndex++) { diff --git a/packages/nodes-base/nodes/Egoi/Egoi.node.ts b/packages/nodes-base/nodes/Egoi/Egoi.node.ts index c4ac07377..fec8dcdd3 100644 --- a/packages/nodes-base/nodes/Egoi/Egoi.node.ts +++ b/packages/nodes-base/nodes/Egoi/Egoi.node.ts @@ -588,7 +588,7 @@ export class Egoi implements INodeType { let responseData; const returnData: IDataObject[] = []; const items = this.getInputData(); - const length = items.length as unknown as number; + const length = items.length; const operation = this.getNodeParameter('operation', 0) as string; const resource = this.getNodeParameter('resource', 0) as string; for (let i = 0; i < length; i++) { diff --git a/packages/nodes-base/nodes/Elastic/Elasticsearch/descriptions/DocumentDescription.ts b/packages/nodes-base/nodes/Elastic/Elasticsearch/descriptions/DocumentDescription.ts index 4c08204c8..1b67a405e 100644 --- a/packages/nodes-base/nodes/Elastic/Elasticsearch/descriptions/DocumentDescription.ts +++ b/packages/nodes-base/nodes/Elastic/Elasticsearch/descriptions/DocumentDescription.ts @@ -179,7 +179,7 @@ export const documentFields: INodeProperties[] = [ { displayName: 'Stored Fields', name: 'stored_fields', - description: 'If true, retrieve the document fields stored in the index rather than the document _source. Defaults to false', + description: 'If true, retrieve the document fields stored in the index rather than the document _source. Defaults to false.', type: 'boolean', default: false, }, @@ -284,21 +284,21 @@ export const documentFields: INodeProperties[] = [ { displayName: 'Allow No Indices', name: 'allow_no_indices', - description: 'If false, return an error if any of the following targets only missing/closed indices: wildcard expression, index alias, or _all value. Defaults to true', + description: 'If false, return an error if any of the following targets only missing/closed indices: wildcard expression, index alias, or _all value. Defaults to true.', type: 'boolean', default: true, }, { displayName: 'Allow Partial Search Results', name: 'allow_partial_search_results', - description: '

If true, return partial results if there are shard request timeouts or shard failures.

If false, returns an error with no partial results. Defaults to true.

', + description: '

If true, return partial results if there are shard request timeouts or shard failures.

If false, returns an error with no partial results. Defaults to true.

.', type: 'boolean', default: true, }, { displayName: 'Batched Reduce Size', name: 'batched_reduce_size', - description: 'Number of shard results that should be reduced at once on the coordinating node. Defaults to 512', + description: 'Number of shard results that should be reduced at once on the coordinating node. Defaults to 512.', type: 'number', typeOptions: { minValue: 2, @@ -308,7 +308,7 @@ export const documentFields: INodeProperties[] = [ { displayName: 'CCS Minimize Roundtrips', name: 'ccs_minimize_roundtrips', - description: 'If true, network round-trips between the coordinating node and the remote clusters are minimized when executing cross-cluster search (CCS) requests. Defaults to true', + description: 'If true, network round-trips between the coordinating node and the remote clusters are minimized when executing cross-cluster search (CCS) requests. Defaults to true.', type: 'boolean', default: true, }, @@ -351,35 +351,35 @@ export const documentFields: INodeProperties[] = [ { displayName: 'Explain', name: 'explain', - description: 'If true, return detailed information about score computation as part of a hit. Defaults to false', + description: 'If true, return detailed information about score computation as part of a hit. Defaults to false.', type: 'boolean', default: false, }, { displayName: 'Ignore Throttled', name: 'ignore_throttled', - description: 'If true, concrete, expanded or aliased indices are ignored when frozen. Defaults to true', + description: 'If true, concrete, expanded or aliased indices are ignored when frozen. Defaults to true.', type: 'boolean', default: true, }, { displayName: 'Ignore Unavailable', name: 'ignore_unavailable', - description: 'If true, missing or closed indices are not included in the response. Defaults to false', + description: 'If true, missing or closed indices are not included in the response. Defaults to false.', type: 'boolean', default: false, }, { displayName: 'Max Concurrent Shard Requests', name: 'max_concurrent_shard_requests', - description: 'Define the number of shard requests per node this search executes concurrently. Defaults to 5', + description: 'Define the number of shard requests per node this search executes concurrently. Defaults to 5.', type: 'number', default: 5, }, { displayName: 'Pre-Filter Shard Size', name: 'pre_filter_shard_size', - description: 'Define a threshold that enforces a pre-filter roundtrip to prefilter search shards based on query rewriting. Only used if the number of shards the search request expands to exceeds the threshold', + description: 'Define a threshold that enforces a pre-filter roundtrip to prefilter search shards based on query rewriting. Only used if the number of shards the search request expands to exceeds the threshold.', type: 'number', typeOptions: { minValue: 1, @@ -400,7 +400,7 @@ export const documentFields: INodeProperties[] = [ { displayName: 'Request Cache', name: 'request_cache', - description: 'If true, the caching of search results is enabled for requests where size is 0. See Elasticsearch shard request cache settings', + description: 'If true, the caching of search results is enabled for requests where size is 0. See Elasticsearch shard request cache settings.', type: 'boolean', default: false, }, @@ -414,7 +414,7 @@ export const documentFields: INodeProperties[] = [ { displayName: 'Search Type', name: 'search_type', - description: 'How distributed term frequencies are calculated for relevance scoring. Defaults to Query then Fetch', + description: 'How distributed term frequencies are calculated for relevance scoring. Defaults to Query then Fetch.', type: 'options', options: [ { @@ -431,7 +431,7 @@ export const documentFields: INodeProperties[] = [ { displayName: 'Sequence Number and Primary Term', name: 'seq_no_primary_term', - description: 'If true, return the sequence number and primary term of the last modification of each hit. See Optimistic concurrency control', + description: 'If true, return the sequence number and primary term of the last modification of each hit. See Optimistic concurrency control.', type: 'boolean', default: false, }, @@ -452,7 +452,7 @@ export const documentFields: INodeProperties[] = [ { displayName: 'Stored Fields', name: 'stored_fields', - description: 'If true, retrieve the document fields stored in the index rather than the document _source. Defaults to false', + description: 'If true, retrieve the document fields stored in the index rather than the document _source. Defaults to false.', type: 'boolean', default: false, }, @@ -473,21 +473,21 @@ export const documentFields: INodeProperties[] = [ { displayName: 'Track Scores', name: 'track_scores', - description: 'If true, calculate and return document scores, even if the scores are not used for sorting. Defaults to false', + description: 'If true, calculate and return document scores, even if the scores are not used for sorting. Defaults to false.', type: 'boolean', default: false, }, { displayName: 'Track Total Hits', name: 'track_total_hits', - description: 'Number of hits matching the query to count accurately. Defaults to 10000', + description: 'Number of hits matching the query to count accurately. Defaults to 10000.', type: 'number', default: 10000, }, { displayName: 'Version', name: 'version', - description: 'If true, return document version as part of a hit. Defaults to false', + description: 'If true, return document version as part of a hit. Defaults to false.', type: 'boolean', default: false, }, @@ -563,7 +563,7 @@ export const documentFields: INodeProperties[] = [ }, default: '', required: false, - description: 'List of input properties to avoid sending, separated by commas. Leave empty to send all properties', + description: 'List of input properties to avoid sending, separated by commas. Leave empty to send all properties.', placeholder: 'Enter properties...', }, { @@ -738,7 +738,7 @@ export const documentFields: INodeProperties[] = [ }, default: '', required: false, - description: 'List of input properties to avoid sending, separated by commas. Leave empty to send all properties', + description: 'List of input properties to avoid sending, separated by commas. Leave empty to send all properties.', placeholder: 'Enter properties...', }, { diff --git a/packages/nodes-base/nodes/Elastic/Elasticsearch/descriptions/IndexDescription.ts b/packages/nodes-base/nodes/Elastic/Elasticsearch/descriptions/IndexDescription.ts index 1a983eb6f..6c881cec5 100644 --- a/packages/nodes-base/nodes/Elastic/Elasticsearch/descriptions/IndexDescription.ts +++ b/packages/nodes-base/nodes/Elastic/Elasticsearch/descriptions/IndexDescription.ts @@ -92,7 +92,7 @@ export const indexFields: INodeProperties[] = [ { displayName: 'Include Type Name', name: 'include_type_name', - description: 'If true, a mapping type is expected in the body of mappings. Defaults to false', + description: 'If true, a mapping type is expected in the body of mappings. Defaults to false.', type: 'boolean', default: false, }, @@ -205,7 +205,7 @@ export const indexFields: INodeProperties[] = [ { displayName: 'Allow No Indices', name: 'allow_no_indices', - description: 'If false, return an error if any of the following targets only missing/closed indices: wildcard expression, index alias, or _all value. Defaults to true', + description: 'If false, return an error if any of the following targets only missing/closed indices: wildcard expression, index alias, or _all value. Defaults to true.', type: 'boolean', default: true, }, @@ -241,28 +241,28 @@ export const indexFields: INodeProperties[] = [ { displayName: 'Flat Settings', name: 'flat_settings', - description: 'If true, return settings in flat format. Defaults to false', + description: 'If true, return settings in flat format. Defaults to false.', type: 'boolean', default: false, }, { displayName: 'Ignore Unavailable', name: 'ignore_unavailable', - description: 'If false, requests that target a missing index return an error. Defaults to false', + description: 'If false, requests that target a missing index return an error. Defaults to false.', type: 'boolean', default: false, }, { displayName: 'Include Defaults', name: 'include_defaults', - description: 'If true, return all default settings in the response. Defaults to false', + description: 'If true, return all default settings in the response. Defaults to false.', type: 'boolean', default: false, }, { displayName: 'Local', name: 'local', - description: 'If true, retrieve information from the local node only. Defaults to false', + description: 'If true, retrieve information from the local node only. Defaults to false.', type: 'boolean', default: false, }, diff --git a/packages/nodes-base/nodes/EmailReadImap/EmailReadImap.node.ts b/packages/nodes-base/nodes/EmailReadImap/EmailReadImap.node.ts index 24842fc8f..8015ce62c 100644 --- a/packages/nodes-base/nodes/EmailReadImap/EmailReadImap.node.ts +++ b/packages/nodes-base/nodes/EmailReadImap/EmailReadImap.node.ts @@ -153,7 +153,7 @@ export class EmailReadImap implements INodeType { name: 'customEmailConfig', type: 'string', default: '["UNSEEN"]', - description: 'Custom email fetching rules. See node-imap\'s search function for more details', + description: 'Custom email fetching rules. See node-imap\'s search function for more details.', }, { displayName: 'Ignore SSL Issues', diff --git a/packages/nodes-base/nodes/EmailSend/EmailSend.node.ts b/packages/nodes-base/nodes/EmailSend/EmailSend.node.ts index c4645559c..df07edfdf 100644 --- a/packages/nodes-base/nodes/EmailSend/EmailSend.node.ts +++ b/packages/nodes-base/nodes/EmailSend/EmailSend.node.ts @@ -100,7 +100,7 @@ export class EmailSend implements INodeType { name: 'attachments', type: 'string', default: '', - description: 'Name of the binary properties that contain data to add to email as attachment. Multiple ones can be comma separated.', + description: 'Name of the binary properties that contain data to add to email as attachment. Multiple ones can be comma-separated.', }, { displayName: 'Options', @@ -126,7 +126,7 @@ export class EmailSend implements INodeType { const items = this.getInputData(); const returnData: INodeExecutionData[] = []; - const length = items.length as unknown as number; + const length = items.length; let item: INodeExecutionData; for (let itemIndex = 0; itemIndex < length; itemIndex++) { diff --git a/packages/nodes-base/nodes/Eventbrite/EventbriteTrigger.node.ts b/packages/nodes-base/nodes/Eventbrite/EventbriteTrigger.node.ts index f3a4cc9a7..d212a2fce 100644 --- a/packages/nodes-base/nodes/Eventbrite/EventbriteTrigger.node.ts +++ b/packages/nodes-base/nodes/Eventbrite/EventbriteTrigger.node.ts @@ -181,7 +181,7 @@ export class EventbriteTrigger implements INodeType { name: 'resolveData', type: 'boolean', default: true, - description: 'By default does the webhook-data only contain the URL to receive the object data manually. If this option gets activated, it will resolve the data automatically', + description: 'By default does the webhook-data only contain the URL to receive the object data manually. If this option gets activated, it will resolve the data automatically.', }, ], }; diff --git a/packages/nodes-base/nodes/Facebook/FacebookGraphApi.node.ts b/packages/nodes-base/nodes/Facebook/FacebookGraphApi.node.ts index c6e4e2d4f..f594f43dc 100644 --- a/packages/nodes-base/nodes/Facebook/FacebookGraphApi.node.ts +++ b/packages/nodes-base/nodes/Facebook/FacebookGraphApi.node.ts @@ -166,7 +166,7 @@ export class FacebookGraphApi implements INodeType { name: 'allowUnauthorizedCerts', type: 'boolean', default: false, - description: 'Still download the response even if SSL certificate validation is not possible. (Not recommended)', + description: 'Still download the response even if SSL certificate validation is not possible. (Not recommended).', }, { displayName: 'Send Binary Data', diff --git a/packages/nodes-base/nodes/Figma/FigmaTrigger.node.ts b/packages/nodes-base/nodes/Figma/FigmaTrigger.node.ts index b963ac778..967fce4cb 100644 --- a/packages/nodes-base/nodes/Figma/FigmaTrigger.node.ts +++ b/packages/nodes-base/nodes/Figma/FigmaTrigger.node.ts @@ -57,7 +57,7 @@ export class FigmaTrigger implements INodeType { type: 'string', required: true, default: '', - description: 'Trigger will monitor this Figma Team for changes. Team ID can be found in the URL of a Figma Team page when viewed in a web browser: figma.com/files/team/{TEAM-ID}/', + description: 'Trigger will monitor this Figma Team for changes. Team ID can be found in the URL of a Figma Team page when viewed in a web browser: figma.com/files/team/{TEAM-ID}/.', }, { displayName: 'Trigger On', @@ -72,12 +72,12 @@ export class FigmaTrigger implements INodeType { { name: 'File Deleted', value: 'fileDelete', - description: 'Triggers whenever a file has been deleted. Does not trigger on all files within a folder, if the folder is deleted', + description: 'Triggers whenever a file has been deleted. Does not trigger on all files within a folder, if the folder is deleted.', }, { name: 'File Updated', value: 'fileUpdate', - description: 'Triggers whenever a file saves or is deleted. This occurs whenever a file is closed or within 30 seconds after changes have been made', + description: 'Triggers whenever a file saves or is deleted. This occurs whenever a file is closed or within 30 seconds after changes have been made.', }, { name: 'File Version Updated', diff --git a/packages/nodes-base/nodes/Flow/Flow.node.ts b/packages/nodes-base/nodes/Flow/Flow.node.ts index 931ffd67c..29d2f6c5a 100644 --- a/packages/nodes-base/nodes/Flow/Flow.node.ts +++ b/packages/nodes-base/nodes/Flow/Flow.node.ts @@ -50,7 +50,7 @@ export class Flow implements INodeType { { name: 'Task', value: 'task', - description: `Tasks are units of work that can be private or assigned to a list. Through this endpoint, you can manipulate your tasks in Flow, including creating new ones`, + description: 'Tasks are units of work that can be private or assigned to a list. Through this endpoint, you can manipulate your tasks in Flow, including creating new ones.', }, ], default: 'task', @@ -66,7 +66,7 @@ export class Flow implements INodeType { const items = this.getInputData(); const returnData: IDataObject[] = []; - const length = items.length as unknown as number; + const length = items.length; let responseData; const qs: IDataObject = {}; const resource = this.getNodeParameter('resource', 0) as string; diff --git a/packages/nodes-base/nodes/Flow/TaskDescription.ts b/packages/nodes-base/nodes/Flow/TaskDescription.ts index 4ebaa7e8e..76cd2354e 100644 --- a/packages/nodes-base/nodes/Flow/TaskDescription.ts +++ b/packages/nodes-base/nodes/Flow/TaskDescription.ts @@ -265,7 +265,6 @@ export const taskFields: INodeProperties[] = [ ], }, }, - description: '', }, { displayName: 'Update Fields', @@ -435,7 +434,6 @@ export const taskFields: INodeProperties[] = [ ], }, }, - description: '', }, { displayName: 'Filters', diff --git a/packages/nodes-base/nodes/FormIo/FormIoTrigger.node.ts b/packages/nodes-base/nodes/FormIo/FormIoTrigger.node.ts index 786e68a01..b2c36a8b3 100644 --- a/packages/nodes-base/nodes/FormIo/FormIoTrigger.node.ts +++ b/packages/nodes-base/nodes/FormIo/FormIoTrigger.node.ts @@ -53,7 +53,7 @@ export class FormIoTrigger implements INodeType { }, required: true, default: '', - description: `Choose from the list or specify an ID. You can also specify the ID using an expression`, + description: 'Choose from the list or specify an ID. You can also specify the ID using an expression', }, { displayName: 'Form Name/ID', @@ -67,7 +67,7 @@ export class FormIoTrigger implements INodeType { }, required: true, default: '', - description: `Choose from the list or specify an ID. You can also specify the ID using an expression`, + description: 'Choose from the list or specify an ID. You can also specify the ID using an expression', }, { displayName: 'Trigger Events', @@ -84,7 +84,7 @@ export class FormIoTrigger implements INodeType { }, ], required: true, - default: '', + default: [], }, { displayName: 'Simplify Response', diff --git a/packages/nodes-base/nodes/Formstack/FormstackTrigger.node.ts b/packages/nodes-base/nodes/Formstack/FormstackTrigger.node.ts index 9724cf547..bd37a5120 100644 --- a/packages/nodes-base/nodes/Formstack/FormstackTrigger.node.ts +++ b/packages/nodes-base/nodes/Formstack/FormstackTrigger.node.ts @@ -80,7 +80,6 @@ export class FormstackTrigger implements INodeType { }, ], default: 'accessToken', - description: '', }, { displayName: 'Form Name/ID', diff --git a/packages/nodes-base/nodes/Freshdesk/Freshdesk.node.ts b/packages/nodes-base/nodes/Freshdesk/Freshdesk.node.ts index 577065cbd..bac284f55 100644 --- a/packages/nodes-base/nodes/Freshdesk/Freshdesk.node.ts +++ b/packages/nodes-base/nodes/Freshdesk/Freshdesk.node.ts @@ -207,7 +207,6 @@ export class Freshdesk implements INodeType { }, ], default: 'requesterId', - description: 'Requester Identification', }, { displayName: 'Value', @@ -261,7 +260,6 @@ export class Freshdesk implements INodeType { }, ], default: 'pending', - description: 'Status', }, { displayName: 'Priority', @@ -297,7 +295,6 @@ export class Freshdesk implements INodeType { }, ], default: 'low', - description: 'Priority', }, { displayName: 'Source', @@ -407,7 +404,7 @@ export class Freshdesk implements INodeType { typeOptions: { loadOptionsMethod: 'getCompanies', }, - description: `Company ID of the requester. This attribute can only be set if the Multiple Companies feature is enabled (Estate plan and above)`, + description: 'Company ID of the requester. This attribute can only be set if the Multiple Companies feature is enabled (Estate plan and above).', }, { displayName: 'Description', @@ -432,8 +429,7 @@ export class Freshdesk implements INodeType { name: 'emailConfigId', type: 'number', default: '', - description: `ID of email config which is used for this ticket. (i.e., support@yourcompany.com/sales@yourcompany.com) - If product_id is given and email_config_id is not given, product's primary email_config_id will be set`, + description: 'ID of email config which is used for this ticket. (i.e., support@yourcompany.com/sales@yourcompany.com) If product_id is given and email_config_id is not given, product\'s primary email_config_id will be set', }, { displayName: 'FR Due By', @@ -450,7 +446,7 @@ export class Freshdesk implements INodeType { typeOptions: { loadOptionsMethod: 'getGroups', }, - description: `ID of the group to which the ticket has been assigned. The default value is the ID of the group that is associated with the given email_config_id`, + description: 'ID of the group to which the ticket has been assigned. The default value is the ID of the group that is associated with the given email_config_id.', }, { displayName: 'Name', @@ -468,8 +464,7 @@ export class Freshdesk implements INodeType { typeOptions: { loadOptionsMethod: 'getProducts', }, - description: `ID of the product to which the ticket is associated. - It will be ignored if the email_config_id attribute is set in the request.`, + description: 'ID of the product to which the ticket is associated. It will be ignored if the email_config_id attribute is set in the request.', }, { displayName: 'Subject', @@ -607,7 +602,6 @@ export class Freshdesk implements INodeType { }, }, default: '', - description: 'Ticket ID', }, { displayName: 'Update Fields', @@ -651,7 +645,7 @@ export class Freshdesk implements INodeType { typeOptions: { loadOptionsMethod: 'getCompanies', }, - description: `Company ID of the requester. This attribute can only be set if the Multiple Companies feature is enabled (Estate plan and above)`, + description: 'Company ID of the requester. This attribute can only be set if the Multiple Companies feature is enabled (Estate plan and above).', }, { displayName: 'Due By', @@ -665,8 +659,7 @@ export class Freshdesk implements INodeType { name: 'emailConfigId', type: 'number', default: '', - description: `ID of email config which is used for this ticket. (i.e., support@yourcompany.com/sales@yourcompany.com) - If product_id is given and email_config_id is not given, product's primary email_config_id will be set`, + description: 'ID of email config which is used for this ticket. (i.e., support@yourcompany.com/sales@yourcompany.com) If product_id is given and email_config_id is not given, product\'s primary email_config_id will be set', }, { displayName: 'FR Due By', @@ -683,7 +676,7 @@ export class Freshdesk implements INodeType { typeOptions: { loadOptionsMethod: 'getGroups', }, - description: `ID of the group to which the ticket has been assigned. The default value is the ID of the group that is associated with the given email_config_id`, + description: 'ID of the group to which the ticket has been assigned. The default value is the ID of the group that is associated with the given email_config_id.', }, { displayName: 'Name', @@ -701,8 +694,7 @@ export class Freshdesk implements INodeType { typeOptions: { loadOptionsMethod: 'getProducts', }, - description: `ID of the product to which the ticket is associated. - It will be ignored if the email_config_id attribute is set in the request.`, + description: 'ID of the product to which the ticket is associated. It will be ignored if the email_config_id attribute is set in the request.', }, { displayName: 'Priority', @@ -728,7 +720,6 @@ export class Freshdesk implements INodeType { }, ], default: 'low', - description: 'Priority', }, { displayName: 'Requester Identification', @@ -767,7 +758,6 @@ export class Freshdesk implements INodeType { }, ], default: 'requesterId', - description: 'Requester Identification', }, { displayName: 'Requester Value', @@ -800,7 +790,6 @@ export class Freshdesk implements INodeType { }, ], default: 'pending', - description: 'Status', }, { displayName: 'Source', @@ -895,7 +884,6 @@ export class Freshdesk implements INodeType { }, }, default: '', - description: 'Ticket ID', }, { displayName: 'Return All', @@ -1059,7 +1047,6 @@ export class Freshdesk implements INodeType { }, }, default: '', - description: 'Ticket ID', }, // CONTACTS ...contactOperations, diff --git a/packages/nodes-base/nodes/FreshworksCrm/descriptions/AppointmentDescription.ts b/packages/nodes-base/nodes/FreshworksCrm/descriptions/AppointmentDescription.ts index fcdb127dd..08823c398 100644 --- a/packages/nodes-base/nodes/FreshworksCrm/descriptions/AppointmentDescription.ts +++ b/packages/nodes-base/nodes/FreshworksCrm/descriptions/AppointmentDescription.ts @@ -374,7 +374,7 @@ export const appointmentFields: INodeProperties[] = [ displayName: 'Filters', name: 'filters', type: 'collection', - default: '', + default: {}, placeholder: 'Add Filter', displayOptions: { show: { diff --git a/packages/nodes-base/nodes/FreshworksCrm/descriptions/TaskDescription.ts b/packages/nodes-base/nodes/FreshworksCrm/descriptions/TaskDescription.ts index b3eb19a42..f577e0a83 100644 --- a/packages/nodes-base/nodes/FreshworksCrm/descriptions/TaskDescription.ts +++ b/packages/nodes-base/nodes/FreshworksCrm/descriptions/TaskDescription.ts @@ -294,7 +294,7 @@ export const taskFields: INodeProperties[] = [ displayName: 'Filters', name: 'filters', type: 'collection', - default: false, + default: {}, placeholder: 'Add Filter', displayOptions: { show: { diff --git a/packages/nodes-base/nodes/Ftp/Ftp.node.ts b/packages/nodes-base/nodes/Ftp/Ftp.node.ts index 0454a522c..4994da963 100644 --- a/packages/nodes-base/nodes/Ftp/Ftp.node.ts +++ b/packages/nodes-base/nodes/Ftp/Ftp.node.ts @@ -238,7 +238,6 @@ export class Ftp implements INodeType { name: 'oldPath', type: 'string', default: '', - description: 'The old path', required: true, }, { @@ -253,7 +252,6 @@ export class Ftp implements INodeType { name: 'newPath', type: 'string', default: '', - description: 'The new path', required: true, }, { diff --git a/packages/nodes-base/nodes/FunctionItem/FunctionItem.node.ts b/packages/nodes-base/nodes/FunctionItem/FunctionItem.node.ts index b05f681c8..85cf79de1 100644 --- a/packages/nodes-base/nodes/FunctionItem/FunctionItem.node.ts +++ b/packages/nodes-base/nodes/FunctionItem/FunctionItem.node.ts @@ -56,7 +56,7 @@ return item;`, const items = this.getInputData(); const returnData: INodeExecutionData[] = []; - const length = items.length as unknown as number; + const length = items.length; let item: INodeExecutionData; const cleanupData = (inputData: IDataObject): IDataObject => { diff --git a/packages/nodes-base/nodes/GetResponse/ContactDescription.ts b/packages/nodes-base/nodes/GetResponse/ContactDescription.ts index 0cf2736f0..2c6d1fae0 100644 --- a/packages/nodes-base/nodes/GetResponse/ContactDescription.ts +++ b/packages/nodes-base/nodes/GetResponse/ContactDescription.ts @@ -65,7 +65,6 @@ export const contactFields: INodeProperties[] = [ }, }, default: '', - description: '', }, { displayName: 'Campaign ID', @@ -108,7 +107,7 @@ export const contactFields: INodeProperties[] = [ displayName: 'Custom Fields', name: 'customFieldsUi', type: 'fixedCollection', - default: '', + default: {}, placeholder: 'Add Custom Field', typeOptions: { multipleValues: true, @@ -182,7 +181,7 @@ export const contactFields: INodeProperties[] = [ typeOptions: { loadOptionsMethod: 'getTags', }, - default: '', + default: [], }, ], }, @@ -557,7 +556,7 @@ export const contactFields: INodeProperties[] = [ displayName: 'Custom Fields', name: 'customFieldsUi', type: 'fixedCollection', - default: '', + default: {}, placeholder: 'Add Custom Field', typeOptions: { multipleValues: true, @@ -637,7 +636,7 @@ export const contactFields: INodeProperties[] = [ typeOptions: { loadOptionsMethod: 'getTags', }, - default: '', + default: [], }, ], }, diff --git a/packages/nodes-base/nodes/GetResponse/GetResponse.node.ts b/packages/nodes-base/nodes/GetResponse/GetResponse.node.ts index 5f4d054c3..a93da30e0 100644 --- a/packages/nodes-base/nodes/GetResponse/GetResponse.node.ts +++ b/packages/nodes-base/nodes/GetResponse/GetResponse.node.ts @@ -162,7 +162,7 @@ export class GetResponse implements INodeType { async execute(this: IExecuteFunctions): Promise { const items = this.getInputData(); const returnData: IDataObject[] = []; - const length = (items.length as unknown) as number; + const length = items.length; const qs: IDataObject = {}; let responseData; const resource = this.getNodeParameter('resource', 0) as string; diff --git a/packages/nodes-base/nodes/Ghost/Ghost.node.ts b/packages/nodes-base/nodes/Ghost/Ghost.node.ts index 2cb065866..a55d1fda6 100644 --- a/packages/nodes-base/nodes/Ghost/Ghost.node.ts +++ b/packages/nodes-base/nodes/Ghost/Ghost.node.ts @@ -148,7 +148,7 @@ export class Ghost implements INodeType { async execute(this: IExecuteFunctions): Promise { const items = this.getInputData(); const returnData: IDataObject[] = []; - const length = (items.length as unknown) as number; + const length = items.length; const timezone = this.getTimezone(); const qs: IDataObject = {}; let responseData; diff --git a/packages/nodes-base/nodes/Ghost/PostDescription.ts b/packages/nodes-base/nodes/Ghost/PostDescription.ts index 2d3674014..a01560698 100644 --- a/packages/nodes-base/nodes/Ghost/PostDescription.ts +++ b/packages/nodes-base/nodes/Ghost/PostDescription.ts @@ -181,7 +181,7 @@ export const postFields: INodeProperties[] = [ }, default: '', - description: 'Mobiledoc is the raw JSON format that Ghost uses to store post contents. Info', + description: 'Mobiledoc is the raw JSON format that Ghost uses to store post contents. Info.', }, { displayName: 'Additional Fields', @@ -820,7 +820,7 @@ export const postFields: INodeProperties[] = [ }, }, default: '', - description: 'Mobiledoc is the raw JSON format that Ghost uses to store post contents. Info.', + description: 'Mobiledoc is the raw JSON format that Ghost uses to store post contents. Info..', }, { displayName: 'Featured', diff --git a/packages/nodes-base/nodes/Git/descriptions/AddDescription.ts b/packages/nodes-base/nodes/Git/descriptions/AddDescription.ts index 42ecd5f05..a7c0b4138 100644 --- a/packages/nodes-base/nodes/Git/descriptions/AddDescription.ts +++ b/packages/nodes-base/nodes/Git/descriptions/AddDescription.ts @@ -16,7 +16,7 @@ export const addFields: INodeProperties[] = [ }, default: '', placeholder: 'README.md', - description: 'Comma separated list of paths (absolute or relative to Repository Path) of files or folders to add.', + description: 'Comma-separated list of paths (absolute or relative to Repository Path) of files or folders to add.', required: true, }, ]; diff --git a/packages/nodes-base/nodes/Git/descriptions/CommitDescription.ts b/packages/nodes-base/nodes/Git/descriptions/CommitDescription.ts index 307ed5fe6..4bef7ebe7 100644 --- a/packages/nodes-base/nodes/Git/descriptions/CommitDescription.ts +++ b/packages/nodes-base/nodes/Git/descriptions/CommitDescription.ts @@ -37,7 +37,7 @@ export const commitFields: INodeProperties[] = [ type: 'string', default: '', placeholder: '/data/file1.json', - description: `Comma separated list of paths (absolute or relative to Repository Path) of files or folders to commit. If not set will all "added" files and folders be committed.`, + description: 'Comma-separated list of paths (absolute or relative to Repository Path) of files or folders to commit. If not set will all "added" files and folders be committed.', }, ], }, diff --git a/packages/nodes-base/nodes/Github/Github.node.ts b/packages/nodes-base/nodes/Github/Github.node.ts index 998409368..a59d6b2b1 100644 --- a/packages/nodes-base/nodes/Github/Github.node.ts +++ b/packages/nodes-base/nodes/Github/Github.node.ts @@ -539,7 +539,6 @@ export class Github implements INodeType { ], }, }, - description: 'The commit message.', }, { displayName: 'Additional Parameters', @@ -1144,7 +1143,6 @@ export class Github implements INodeType { ], }, }, - description: 'The release ID.', }, // ---------------------------------- @@ -1631,7 +1629,6 @@ export class Github implements INodeType { displayName: 'Additional Fields', name: 'additionalFields', placeholder: 'Add Field', - description: 'Additional fields.', type: 'collection', default: {}, displayOptions: { diff --git a/packages/nodes-base/nodes/Github/GithubTrigger.node.ts b/packages/nodes-base/nodes/Github/GithubTrigger.node.ts index c968364fd..e61963104 100644 --- a/packages/nodes-base/nodes/Github/GithubTrigger.node.ts +++ b/packages/nodes-base/nodes/Github/GithubTrigger.node.ts @@ -313,7 +313,7 @@ export class GithubTrigger implements INodeType { { name: 'team', value: 'team', - description: 'Triggered when an organization\'s team is created, deleted, edited, added_to_repository, or removed_from_repository. Organization hooks only', + description: 'Triggered when an organization\'s team is created, deleted, edited, added_to_repository, or removed_from_repository. Organization hooks only.', }, { name: 'team_add', diff --git a/packages/nodes-base/nodes/Google/Analytics/ReportDescription.ts b/packages/nodes-base/nodes/Google/Analytics/ReportDescription.ts index d70bcfadd..aaaeb042a 100644 --- a/packages/nodes-base/nodes/Google/Analytics/ReportDescription.ts +++ b/packages/nodes-base/nodes/Google/Analytics/ReportDescription.ts @@ -141,14 +141,12 @@ export const reportFields: INodeProperties[] = [ name: 'startDate', type: 'dateTime', default: '', - description: 'Start date', }, { displayName: 'End Date', name: 'endDate', type: 'dateTime', default: '', - description: 'End date', }, ], }, @@ -310,7 +308,7 @@ export const reportFields: INodeProperties[] = [ name: 'expression', type: 'string', default: 'ga:newUsers', - description: `

A metric expression in the request. An expression is constructed from one or more metrics and numbers.

Accepted operators include: Plus (+), Minus (-), Negation (Unary -), Divided by (/), Multiplied by (*), Parenthesis, Positive cardinal numbers (0-9), can include decimals and is limited to 1024 characters.

Example ga:totalRefunds/ga:users, in most cases the metric expression is just a single metric name like ga:users.

Adding mixed MetricType (E.g., CURRENCY + PERCENTAGE) metrics will result in unexpected results.

`, + description: '

A metric expression in the request. An expression is constructed from one or more metrics and numbers.

Accepted operators include: Plus (+), Minus (-), Negation (Unary -), Divided by (/), Multiplied by (*), Parenthesis, Positive cardinal numbers (0-9), can include decimals and is limited to 1024 characters.

Example ga:totalRefunds/ga:users, in most cases the metric expression is just a single metric name like ga:users.

Adding mixed MetricType (E.g., CURRENCY + PERCENTAGE) metrics will result in unexpected results.

.', }, { displayName: 'Formatting Type', diff --git a/packages/nodes-base/nodes/Google/BigQuery/GoogleBigQuery.node.ts b/packages/nodes-base/nodes/Google/BigQuery/GoogleBigQuery.node.ts index 30c7e5fb7..a5408a783 100644 --- a/packages/nodes-base/nodes/Google/BigQuery/GoogleBigQuery.node.ts +++ b/packages/nodes-base/nodes/Google/BigQuery/GoogleBigQuery.node.ts @@ -162,7 +162,7 @@ export class GoogleBigQuery implements INodeType { async execute(this: IExecuteFunctions): Promise { const items = this.getInputData(); const returnData: IDataObject[] = []; - const length = (items.length as unknown) as number; + const length = items.length; const qs: IDataObject = {}; let responseData; const resource = this.getNodeParameter('resource', 0) as string; diff --git a/packages/nodes-base/nodes/Google/Books/GoogleBooks.node.ts b/packages/nodes-base/nodes/Google/Books/GoogleBooks.node.ts index 2a90e72b6..bfae98ad6 100644 --- a/packages/nodes-base/nodes/Google/Books/GoogleBooks.node.ts +++ b/packages/nodes-base/nodes/Google/Books/GoogleBooks.node.ts @@ -376,7 +376,7 @@ export class GoogleBooks implements INodeType { async execute(this: IExecuteFunctions): Promise { const items = this.getInputData(); - const length = items.length as unknown as number; + const length = items.length; const returnData: IDataObject[] = []; const resource = this.getNodeParameter('resource', 0) as string; const operation = this.getNodeParameter('operation', 0) as string; diff --git a/packages/nodes-base/nodes/Google/Calendar/EventDescription.ts b/packages/nodes-base/nodes/Google/Calendar/EventDescription.ts index 521654411..cecc1d431 100644 --- a/packages/nodes-base/nodes/Google/Calendar/EventDescription.ts +++ b/packages/nodes-base/nodes/Google/Calendar/EventDescription.ts @@ -143,7 +143,7 @@ export const eventFields: INodeProperties[] = [ { displayName: 'All Day', name: 'allday', - type: 'boolean', + type: 'options', options: [ { name: 'Yes', @@ -258,7 +258,7 @@ export const eventFields: INodeProperties[] = [ name: 'maxAttendees', type: 'number', default: 0, - description: `The maximum number of attendees to include in the response. If there are more than the specified number of attendees, only the participant is returned`, + description: 'The maximum number of attendees to include in the response. If there are more than the specified number of attendees, only the participant is returned.', }, { displayName: 'Repeat Frecuency', @@ -324,7 +324,7 @@ export const eventFields: INodeProperties[] = [ { name: 'None', value: 'none', - description: 'No notifications are sent. This value should only be used for migration use case', + description: 'No notifications are sent. This value should only be used for migration use case.', }, ], description: 'Whether to send notifications about the creation of the new event', @@ -391,7 +391,7 @@ export const eventFields: INodeProperties[] = [ displayName: 'Reminders', name: 'remindersUi', type: 'fixedCollection', - default: '', + default: {}, placeholder: 'Add Reminder', typeOptions: { multipleValues: true, @@ -502,7 +502,7 @@ export const eventFields: INodeProperties[] = [ { name: 'None', value: 'none', - description: 'No notifications are sent. This value should only be used for migration use case', + description: 'No notifications are sent. This value should only be used for migration use case.', }, ], description: 'Whether to send notifications about the creation of the new event', @@ -552,7 +552,7 @@ export const eventFields: INodeProperties[] = [ name: 'maxAttendees', type: 'number', default: 0, - description: `The maximum number of attendees to include in the response. If there are more than the specified number of attendees, only the participant is returned`, + description: 'The maximum number of attendees to include in the response. If there are more than the specified number of attendees, only the participant is returned.', }, { displayName: 'Timezone', @@ -640,7 +640,7 @@ export const eventFields: INodeProperties[] = [ name: 'maxAttendees', type: 'number', default: 0, - description: `The maximum number of attendees to include in the response. If there are more than the specified number of attendees, only the participant is returned`, + description: 'The maximum number of attendees to include in the response. If there are more than the specified number of attendees, only the participant is returned.', }, { displayName: 'Order By', @@ -780,7 +780,7 @@ export const eventFields: INodeProperties[] = [ { displayName: 'All Day', name: 'allday', - type: 'boolean', + type: 'options', options: [ { name: 'Yes', @@ -871,7 +871,7 @@ export const eventFields: INodeProperties[] = [ name: 'maxAttendees', type: 'number', default: 0, - description: `The maximum number of attendees to include in the response. If there are more than the specified number of attendees, only the participant is returned`, + description: 'The maximum number of attendees to include in the response. If there are more than the specified number of attendees, only the participant is returned.', }, { displayName: 'Repeat Frecuency', @@ -944,7 +944,7 @@ export const eventFields: INodeProperties[] = [ { name: 'None', value: 'none', - description: 'No notifications are sent. This value should only be used for migration use case', + description: 'No notifications are sent. This value should only be used for migration use case.', }, ], description: 'Whether to send notifications about the creation of the new event', @@ -1011,7 +1011,7 @@ export const eventFields: INodeProperties[] = [ displayName: 'Reminders', name: 'remindersUi', type: 'fixedCollection', - default: '', + default: {}, placeholder: 'Add Reminder', typeOptions: { multipleValues: true, diff --git a/packages/nodes-base/nodes/Google/Calendar/GoogleCalendar.node.ts b/packages/nodes-base/nodes/Google/Calendar/GoogleCalendar.node.ts index dbd031de5..1f74ffbb0 100644 --- a/packages/nodes-base/nodes/Google/Calendar/GoogleCalendar.node.ts +++ b/packages/nodes-base/nodes/Google/Calendar/GoogleCalendar.node.ts @@ -176,7 +176,7 @@ export class GoogleCalendar implements INodeType { async execute(this: IExecuteFunctions): Promise { const items = this.getInputData(); const returnData: IDataObject[] = []; - const length = (items.length as unknown) as number; + const length = items.length; const qs: IDataObject = {}; let responseData; const resource = this.getNodeParameter('resource', 0) as string; diff --git a/packages/nodes-base/nodes/Google/Calendar/GoogleCalendarTrigger.node.ts b/packages/nodes-base/nodes/Google/Calendar/GoogleCalendarTrigger.node.ts index 1cf9103b1..8195919bb 100644 --- a/packages/nodes-base/nodes/Google/Calendar/GoogleCalendarTrigger.node.ts +++ b/packages/nodes-base/nodes/Google/Calendar/GoogleCalendarTrigger.node.ts @@ -74,7 +74,6 @@ export class GoogleCalendarTrigger implements INodeType { value: 'eventUpdated', }, ], - description: '', }, { displayName: 'Options', diff --git a/packages/nodes-base/nodes/Google/Chat/GoogleChat.node.ts b/packages/nodes-base/nodes/Google/Chat/GoogleChat.node.ts index ffe7f6161..f6a089d83 100644 --- a/packages/nodes-base/nodes/Google/Chat/GoogleChat.node.ts +++ b/packages/nodes-base/nodes/Google/Chat/GoogleChat.node.ts @@ -216,7 +216,7 @@ export class GoogleChat implements INodeType { async execute(this: IExecuteFunctions): Promise { const items = this.getInputData(); const returnData: IDataObject[] = []; - const length = (items.length as unknown) as number; + const length = items.length; const qs: IDataObject = {}; let responseData; const resource = this.getNodeParameter('resource', 0) as string; diff --git a/packages/nodes-base/nodes/Google/CloudNaturalLanguage/GoogleCloudNaturalLanguage.node.ts b/packages/nodes-base/nodes/Google/CloudNaturalLanguage/GoogleCloudNaturalLanguage.node.ts index 749f8b1c7..ad4166317 100644 --- a/packages/nodes-base/nodes/Google/CloudNaturalLanguage/GoogleCloudNaturalLanguage.node.ts +++ b/packages/nodes-base/nodes/Google/CloudNaturalLanguage/GoogleCloudNaturalLanguage.node.ts @@ -149,7 +149,6 @@ export class GoogleCloudNaturalLanguage implements INodeType { }, }, default: {}, - description: '', placeholder: 'Add Option', options: [ { @@ -276,7 +275,7 @@ export class GoogleCloudNaturalLanguage implements INodeType { async execute(this: IExecuteFunctions): Promise { const items = this.getInputData(); - const length = items.length as unknown as number; + const length = items.length; const resource = this.getNodeParameter('resource', 0) as string; const operation = this.getNodeParameter('operation', 0) as string; const responseData = []; diff --git a/packages/nodes-base/nodes/Google/Contacts/ContactDescription.ts b/packages/nodes-base/nodes/Google/Contacts/ContactDescription.ts index 959a41659..0880be76a 100644 --- a/packages/nodes-base/nodes/Google/Contacts/ContactDescription.ts +++ b/packages/nodes-base/nodes/Google/Contacts/ContactDescription.ts @@ -121,14 +121,12 @@ export const contactFields: INodeProperties[] = [ name: 'city', type: 'string', default: '', - description: 'City', }, { displayName: 'Region', name: 'region', type: 'string', default: '', - description: 'Region', }, { displayName: 'Country Code', @@ -141,7 +139,6 @@ export const contactFields: INodeProperties[] = [ name: 'postalCode', type: 'string', default: '', - description: 'Postal code', }, { displayName: 'Type', @@ -177,7 +174,7 @@ export const contactFields: INodeProperties[] = [ displayName: 'Company', name: 'companyUi', type: 'fixedCollection', - default: '', + default: {}, placeholder: 'Add Company', typeOptions: { multipleValues: true, @@ -219,7 +216,7 @@ export const contactFields: INodeProperties[] = [ displayName: 'Custom Fields', name: 'customFieldsUi', type: 'fixedCollection', - default: '', + default: {}, placeholder: 'Add Custom Field', typeOptions: { multipleValues: true, @@ -251,7 +248,7 @@ export const contactFields: INodeProperties[] = [ displayName: 'Emails', name: 'emailsUi', type: 'fixedCollection', - default: '', + default: {}, placeholder: 'Add Email', typeOptions: { multipleValues: true, @@ -280,7 +277,7 @@ export const contactFields: INodeProperties[] = [ }, ], default: '', - description: `The type of the email address. The type can be custom or one of these predefined values`, + description: 'The type of the email address. The type can be custom or one of these predefined values.', }, { displayName: 'Value', @@ -297,7 +294,7 @@ export const contactFields: INodeProperties[] = [ displayName: 'Events', name: 'eventsUi', type: 'fixedCollection', - default: '', + default: {}, placeholder: 'Add Event', description: 'An event related to the person.', typeOptions: { @@ -330,7 +327,7 @@ export const contactFields: INodeProperties[] = [ }, ], default: '', - description: `The type of the event. The type can be custom or one of these predefined values`, + description: 'The type of the event. The type can be custom or one of these predefined values.', }, ], }, @@ -383,7 +380,7 @@ export const contactFields: INodeProperties[] = [ displayName: 'Phone', name: 'phoneUi', type: 'fixedCollection', - default: '', + default: {}, placeholder: 'Add Phone', typeOptions: { multipleValues: true, @@ -464,7 +461,7 @@ export const contactFields: INodeProperties[] = [ displayName: 'Relations', name: 'relationsUi', type: 'fixedCollection', - default: '', + default: {}, placeholder: 'Add Relation', typeOptions: { multipleValues: true, @@ -540,7 +537,7 @@ export const contactFields: INodeProperties[] = [ }, ], default: '', - description: `The person's relation to the other person. The type can be custom or one of these predefined values`, + description: 'The person\'s relation to the other person. The type can be custom or one of these predefined values.', }, ], }, @@ -704,7 +701,7 @@ export const contactFields: INodeProperties[] = [ ], }, }, - default: '', + default: [], description: 'A field mask to restrict which fields on each person are returned. Multiple fields can be specified by separating them with commas.', }, { @@ -884,7 +881,7 @@ export const contactFields: INodeProperties[] = [ ], }, }, - default: '', + default: [], description: 'A field mask to restrict which fields on each person are returned. Multiple fields can be specified by separating them with commas.', }, { @@ -1128,7 +1125,7 @@ export const contactFields: INodeProperties[] = [ ], }, }, - default: '', + default: [], description: 'A field mask to restrict which fields on each person are returned. Multiple fields can be specified by separating them with commas.', }, { @@ -1189,14 +1186,12 @@ export const contactFields: INodeProperties[] = [ name: 'city', type: 'string', default: '', - description: 'City', }, { displayName: 'Region', name: 'region', type: 'string', default: '', - description: 'Region', }, { displayName: 'Country Code', @@ -1209,7 +1204,6 @@ export const contactFields: INodeProperties[] = [ name: 'postalCode', type: 'string', default: '', - description: 'Postal code', }, { displayName: 'Type', @@ -1245,7 +1239,7 @@ export const contactFields: INodeProperties[] = [ displayName: 'Company', name: 'companyUi', type: 'fixedCollection', - default: '', + default: {}, placeholder: 'Add Company', typeOptions: { multipleValues: true, @@ -1287,7 +1281,7 @@ export const contactFields: INodeProperties[] = [ displayName: 'Custom Fields', name: 'customFieldsUi', type: 'fixedCollection', - default: '', + default: {}, placeholder: 'Add Custom Field', typeOptions: { multipleValues: true, @@ -1319,7 +1313,7 @@ export const contactFields: INodeProperties[] = [ displayName: 'Emails', name: 'emailsUi', type: 'fixedCollection', - default: '', + default: {}, placeholder: 'Add Email', typeOptions: { multipleValues: true, @@ -1348,7 +1342,7 @@ export const contactFields: INodeProperties[] = [ }, ], default: '', - description: `The type of the email address. The type can be custom or one of these predefined values`, + description: 'The type of the email address. The type can be custom or one of these predefined values.', }, { displayName: 'Value', @@ -1365,7 +1359,7 @@ export const contactFields: INodeProperties[] = [ displayName: 'Events', name: 'eventsUi', type: 'fixedCollection', - default: '', + default: {}, placeholder: 'Add Event', description: 'An event related to the person.', typeOptions: { @@ -1398,7 +1392,7 @@ export const contactFields: INodeProperties[] = [ }, ], default: '', - description: `The type of the event. The type can be custom or one of these predefined values`, + description: 'The type of the event. The type can be custom or one of these predefined values.', }, ], }, @@ -1451,7 +1445,7 @@ export const contactFields: INodeProperties[] = [ displayName: 'Phone', name: 'phoneUi', type: 'fixedCollection', - default: '', + default: {}, placeholder: 'Add Phone', typeOptions: { multipleValues: true, @@ -1532,7 +1526,7 @@ export const contactFields: INodeProperties[] = [ displayName: 'Relations', name: 'relationsUi', type: 'fixedCollection', - default: '', + default: {}, placeholder: 'Add Relation', typeOptions: { multipleValues: true, @@ -1608,7 +1602,7 @@ export const contactFields: INodeProperties[] = [ }, ], default: '', - description: `The person's relation to the other person. The type can be custom or one of these predefined values`, + description: 'The person\'s relation to the other person. The type can be custom or one of these predefined values.', }, ], }, diff --git a/packages/nodes-base/nodes/Google/Contacts/GoogleContacts.node.ts b/packages/nodes-base/nodes/Google/Contacts/GoogleContacts.node.ts index 052db7513..b02751296 100644 --- a/packages/nodes-base/nodes/Google/Contacts/GoogleContacts.node.ts +++ b/packages/nodes-base/nodes/Google/Contacts/GoogleContacts.node.ts @@ -95,7 +95,7 @@ export class GoogleContacts implements INodeType { async execute(this: IExecuteFunctions): Promise { const items = this.getInputData(); const returnData: IDataObject[] = []; - const length = (items.length as unknown) as number; + const length = items.length; const qs: IDataObject = {}; let responseData; const resource = this.getNodeParameter('resource', 0) as string; diff --git a/packages/nodes-base/nodes/Google/Drive/GoogleDrive.node.ts b/packages/nodes-base/nodes/Google/Drive/GoogleDrive.node.ts index 45bf35f72..1e3660b5b 100644 --- a/packages/nodes-base/nodes/Google/Drive/GoogleDrive.node.ts +++ b/packages/nodes-base/nodes/Google/Drive/GoogleDrive.node.ts @@ -410,7 +410,7 @@ export class GoogleDrive implements INodeType { name: 'fileName', type: 'string', default: '', - description: 'File name. Ex: data.pdf', + description: 'File name. Ex: data.pdf.', }, ], }, @@ -632,7 +632,6 @@ export class GoogleDrive implements INodeType { ], }, }, - description: 'Custom Mime Type', }, ], }, @@ -1275,7 +1274,7 @@ export class GoogleDrive implements INodeType { ], }, }, - default: '', + default: false, description: `

This parameter only takes effect if the item is not in a shared drive and the request is attempting to transfer the ownership of the item.

When set to true, the item is moved to the new owner's My Drive root folder and all prior parents removed.

`, }, { @@ -1348,7 +1347,7 @@ export class GoogleDrive implements INodeType { }, }, default: false, - description: `Perform the operation as domain administrator, i.e. if you are an administrator of the domain to which the shared drive belongs, you will be granted access automatically`, + description: 'Perform the operation as domain administrator, i.e. if you are an administrator of the domain to which the shared drive belongs, you will be granted access automatically.', }, { @@ -1741,27 +1740,21 @@ export class GoogleDrive implements INodeType { name: 'adminManagedRestrictions', type: 'boolean', default: false, - description: `Whether the options to copy, print, or download files inside this shared drive, - should be disabled for readers and commenters. When this restriction is set to true, it will - override the similarly named field to true for any file inside this shared drive.`, + description: 'Whether the options to copy, print, or download files inside this shared drive, should be disabled for readers and commenters. When this restriction is set to true, it will override the similarly named field to true for any file inside this shared drive.', }, { displayName: 'Copy Requires Writer Permission', name: 'copyRequiresWriterPermission', type: 'boolean', default: false, - description: `Whether the options to copy, print, or download files inside this shared drive, - should be disabled for readers and commenters. When this restriction is set to true, it will - override the similarly named field to true for any file inside this shared drive.`, + description: 'Whether the options to copy, print, or download files inside this shared drive, should be disabled for readers and commenters. When this restriction is set to true, it will override the similarly named field to true for any file inside this shared drive.', }, { displayName: 'Domain Users Only', name: 'domainUsersOnly', type: 'boolean', default: false, - description: `Whether access to this shared drive and items inside this shared drive - is restricted to users of the domain to which this shared drive belongs. This restriction - may be overridden by other sharing policies controlled outside of this shared drive.`, + description: 'Whether access to this shared drive and items inside this shared drive is restricted to users of the domain to which this shared drive belongs. This restriction may be overridden by other sharing policies controlled outside of this shared drive.', }, { displayName: 'Drive Members Only', @@ -1838,7 +1831,7 @@ export class GoogleDrive implements INodeType { name: 'useDomainAdminAccess', type: 'boolean', default: false, - description: 'Issue the request as a domain administrator; if set to true, then the requester will be granted access if they are an administrator of the domain to which the shared drive belongs. (Default: false)', + description: 'Issue the request as a domain administrator; if set to true, then the requester will be granted access if they are an administrator of the domain to which the shared drive belongs. (Default: false).', }, ], }, @@ -1915,7 +1908,7 @@ export class GoogleDrive implements INodeType { name: 'useDomainAdminAccess', type: 'boolean', default: false, - description: 'Issue the request as a domain administrator; if set to true, then the requester will be granted access if they are an administrator of the domain to which the shared drive belongs. (Default: false)', + description: 'Issue the request as a domain administrator; if set to true, then the requester will be granted access if they are an administrator of the domain to which the shared drive belongs. (Default: false).', }, ], }, @@ -1983,27 +1976,21 @@ export class GoogleDrive implements INodeType { name: 'adminManagedRestrictions', type: 'boolean', default: false, - description: `Whether the options to copy, print, or download files inside this shared drive, - should be disabled for readers and commenters. When this restriction is set to true, it will - override the similarly named field to true for any file inside this shared drive.`, + description: 'Whether the options to copy, print, or download files inside this shared drive, should be disabled for readers and commenters. When this restriction is set to true, it will override the similarly named field to true for any file inside this shared drive.', }, { displayName: 'Copy Requires Writer Permission', name: 'copyRequiresWriterPermission', type: 'boolean', default: false, - description: `Whether the options to copy, print, or download files inside this shared drive, - should be disabled for readers and commenters. When this restriction is set to true, it will - override the similarly named field to true for any file inside this shared drive.`, + description: 'Whether the options to copy, print, or download files inside this shared drive, should be disabled for readers and commenters. When this restriction is set to true, it will override the similarly named field to true for any file inside this shared drive.', }, { displayName: 'Domain Users Only', name: 'domainUsersOnly', type: 'boolean', default: false, - description: `Whether access to this shared drive and items inside this shared drive - is restricted to users of the domain to which this shared drive belongs. This restriction - may be overridden by other sharing policies controlled outside of this shared drive.`, + description: 'Whether access to this shared drive and items inside this shared drive is restricted to users of the domain to which this shared drive belongs. This restriction may be overridden by other sharing policies controlled outside of this shared drive.', }, { displayName: 'Drive Members Only', @@ -2038,7 +2025,7 @@ export class GoogleDrive implements INodeType { name: 'appPropertiesUi', placeholder: 'Add Property', type: 'fixedCollection', - default: '', + default: {}, typeOptions: { multipleValues: true, }, @@ -2071,7 +2058,7 @@ export class GoogleDrive implements INodeType { name: 'propertiesUi', placeholder: 'Add Property', type: 'fixedCollection', - default: '', + default: {}, typeOptions: { multipleValues: true, }, diff --git a/packages/nodes-base/nodes/Google/Drive/GoogleDriveTrigger.node.ts b/packages/nodes-base/nodes/Google/Drive/GoogleDriveTrigger.node.ts index 939e8d0e0..ae8bafa1f 100644 --- a/packages/nodes-base/nodes/Google/Drive/GoogleDriveTrigger.node.ts +++ b/packages/nodes-base/nodes/Google/Drive/GoogleDriveTrigger.node.ts @@ -96,7 +96,6 @@ export class GoogleDriveTrigger implements INodeType { // value: 'anyFileFolder', // }, ], - description: '', }, { displayName: 'File URL or ID', diff --git a/packages/nodes-base/nodes/Google/Firebase/CloudFirestore/DocumentDescription.ts b/packages/nodes-base/nodes/Google/Firebase/CloudFirestore/DocumentDescription.ts index 8487a841d..693db6920 100644 --- a/packages/nodes-base/nodes/Google/Firebase/CloudFirestore/DocumentDescription.ts +++ b/packages/nodes-base/nodes/Google/Firebase/CloudFirestore/DocumentDescription.ts @@ -229,7 +229,6 @@ export const documentFields: INodeProperties[] = [ }, }, default: '', - description: 'Document ID', required: true, }, { @@ -445,7 +444,6 @@ export const documentFields: INodeProperties[] = [ }, }, default: '', - description: 'Document ID', required: true, }, // /* ---------------------------------------------------------------------- */ diff --git a/packages/nodes-base/nodes/Google/Firebase/RealtimeDatabase/RealtimeDatabase.node.ts b/packages/nodes-base/nodes/Google/Firebase/RealtimeDatabase/RealtimeDatabase.node.ts index cd7cd66de..8835a1885 100644 --- a/packages/nodes-base/nodes/Google/Firebase/RealtimeDatabase/RealtimeDatabase.node.ts +++ b/packages/nodes-base/nodes/Google/Firebase/RealtimeDatabase/RealtimeDatabase.node.ts @@ -168,7 +168,7 @@ export class RealtimeDatabase implements INodeType { async execute(this: IExecuteFunctions): Promise { const items = this.getInputData(); const returnData: IDataObject[] = []; - const length = (items.length as unknown) as number; + const length = items.length; let responseData; const operation = this.getNodeParameter('operation', 0) as string; //https://firebase.google.com/docs/reference/rest/database diff --git a/packages/nodes-base/nodes/Google/GSuiteAdmin/GSuiteAdmin.node.ts b/packages/nodes-base/nodes/Google/GSuiteAdmin/GSuiteAdmin.node.ts index 5a3d38a69..e16e73c8b 100644 --- a/packages/nodes-base/nodes/Google/GSuiteAdmin/GSuiteAdmin.node.ts +++ b/packages/nodes-base/nodes/Google/GSuiteAdmin/GSuiteAdmin.node.ts @@ -124,7 +124,7 @@ export class GSuiteAdmin implements INodeType { async execute(this: IExecuteFunctions): Promise { const items = this.getInputData(); const returnData: IDataObject[] = []; - const length = (items.length as unknown) as number; + const length = items.length; const qs: IDataObject = {}; let responseData; const resource = this.getNodeParameter('resource', 0) as string; diff --git a/packages/nodes-base/nodes/Google/GSuiteAdmin/GroupDescripion.ts b/packages/nodes-base/nodes/Google/GSuiteAdmin/GroupDescripion.ts index 5f94961cd..88dc72527 100644 --- a/packages/nodes-base/nodes/Google/GSuiteAdmin/GroupDescripion.ts +++ b/packages/nodes-base/nodes/Google/GSuiteAdmin/GroupDescripion.ts @@ -90,7 +90,7 @@ export const groupFields: INodeProperties[] = [ name: 'description', type: 'string', default: '', - description: `An extended description to help users determine the purpose of a group. For example, you can include information about who should join the group, the types of messages to send to the group, links to FAQs about the group, or related groups`, + description: 'An extended description to help users determine the purpose of a group. For example, you can include information about who should join the group, the types of messages to send to the group, links to FAQs about the group, or related groups.', }, { displayName: 'Name', @@ -209,7 +209,7 @@ export const groupFields: INodeProperties[] = [ name: 'customer', type: 'string', default: '', - description: `The unique ID for the customer's G Suite account. In case of a multi-domain account, to fetch all groups for a customer, fill this field instead of domain`, + description: 'The unique ID for the customer\'s G Suite account. In case of a multi-domain account, to fetch all groups for a customer, fill this field instead of domain.', }, { displayName: 'Domain', @@ -236,7 +236,7 @@ export const groupFields: INodeProperties[] = [ name: 'query', type: 'string', default: '', - description: `Query string search. Complete documentation is at`, + description: 'Query string search. Complete documentation is at.', }, { displayName: 'Sort Order', @@ -307,7 +307,7 @@ export const groupFields: INodeProperties[] = [ name: 'description', type: 'string', default: '', - description: `An extended description to help users determine the purpose of a group. For example, you can include information about who should join the group, the types of messages to send to the group, links to FAQs about the group, or related groups`, + description: 'An extended description to help users determine the purpose of a group. For example, you can include information about who should join the group, the types of messages to send to the group, links to FAQs about the group, or related groups.', }, { displayName: 'Email', diff --git a/packages/nodes-base/nodes/Google/GSuiteAdmin/UserDescription.ts b/packages/nodes-base/nodes/Google/GSuiteAdmin/UserDescription.ts index a881da453..d46ec45eb 100644 --- a/packages/nodes-base/nodes/Google/GSuiteAdmin/UserDescription.ts +++ b/packages/nodes-base/nodes/Google/GSuiteAdmin/UserDescription.ts @@ -605,7 +605,7 @@ export const userFields: INodeProperties[] = [ name: 'customer', type: 'string', default: '', - description: `The unique ID for the customer's G Suite account. In case of a multi-domain account, to fetch all groups for a customer, fill this field instead of domain`, + description: 'The unique ID for the customer\'s G Suite account. In case of a multi-domain account, to fetch all groups for a customer, fill this field instead of domain.', }, { displayName: 'Domain', @@ -640,7 +640,7 @@ export const userFields: INodeProperties[] = [ name: 'query', type: 'string', default: '', - description: `Free text search terms to find users that match these terms in any field, except for extended properties. For more information on constructing user queries, see Search for Users`, + description: 'Free text search terms to find users that match these terms in any field, except for extended properties. For more information on constructing user queries, see Search for Users.', }, { displayName: 'Show Deleted', diff --git a/packages/nodes-base/nodes/Google/Gmail/DraftDescription.ts b/packages/nodes-base/nodes/Google/Gmail/DraftDescription.ts index c7e039fa4..0f63664cb 100644 --- a/packages/nodes-base/nodes/Google/Gmail/DraftDescription.ts +++ b/packages/nodes-base/nodes/Google/Gmail/DraftDescription.ts @@ -214,7 +214,7 @@ export const draftFields: INodeProperties[] = [ ], }, ], - default: '', + default: {}, description: 'Array of supported attachments to add to the message.', }, ], diff --git a/packages/nodes-base/nodes/Google/Gmail/MessageDescription.ts b/packages/nodes-base/nodes/Google/Gmail/MessageDescription.ts index b1d70ff31..c3acf8302 100644 --- a/packages/nodes-base/nodes/Google/Gmail/MessageDescription.ts +++ b/packages/nodes-base/nodes/Google/Gmail/MessageDescription.ts @@ -249,7 +249,7 @@ export const messageFields: INodeProperties[] = [ ], }, ], - default: '', + default: {}, description: 'Array of supported attachments to add to the message.', }, { diff --git a/packages/nodes-base/nodes/Google/Gmail/MessageLabelDescription.ts b/packages/nodes-base/nodes/Google/Gmail/MessageLabelDescription.ts index fcc297469..d22057110 100644 --- a/packages/nodes-base/nodes/Google/Gmail/MessageLabelDescription.ts +++ b/packages/nodes-base/nodes/Google/Gmail/MessageLabelDescription.ts @@ -59,7 +59,7 @@ export const messageLabelFields: INodeProperties[] = [ typeOptions: { loadOptionsMethod: 'getLabels', }, - default: '', + default: [], required: true, displayOptions: { show: { diff --git a/packages/nodes-base/nodes/Google/Perspective/GooglePerspective.node.ts b/packages/nodes-base/nodes/Google/Perspective/GooglePerspective.node.ts index 555fc296b..c89b52208 100644 --- a/packages/nodes-base/nodes/Google/Perspective/GooglePerspective.node.ts +++ b/packages/nodes-base/nodes/Google/Perspective/GooglePerspective.node.ts @@ -82,7 +82,7 @@ export class GooglePerspective implements INodeType { displayName: 'Attributes to Analyze', name: 'requestedAttributesUi', type: 'fixedCollection', - default: '', + default: {}, typeOptions: { multipleValues: true, }, @@ -138,7 +138,7 @@ export class GooglePerspective implements INodeType { value: 'toxicity', }, ], - description: 'Attribute to analyze in the text. Details here', + description: 'Attribute to analyze in the text. Details here.', default: 'flirtation', }, { @@ -179,7 +179,7 @@ export class GooglePerspective implements INodeType { loadOptionsMethod: 'getLanguages', }, default: '', - description: 'Languages of the text input. If unspecified, the API will auto-detect the comment language', + description: 'Languages of the text input. If unspecified, the API will auto-detect the comment language.', }, ], }, diff --git a/packages/nodes-base/nodes/Google/Sheet/GoogleSheets.node.ts b/packages/nodes-base/nodes/Google/Sheet/GoogleSheets.node.ts index 5736a56b3..c82735f39 100644 --- a/packages/nodes-base/nodes/Google/Sheet/GoogleSheets.node.ts +++ b/packages/nodes-base/nodes/Google/Sheet/GoogleSheets.node.ts @@ -184,7 +184,7 @@ export class GoogleSheets implements INodeType { }, default: '', required: true, - description: 'The ID of the Google Spreadsheet. Found as part of the sheet URL https://docs.google.com/spreadsheets/d/{ID}/', + description: 'The ID of the Google Spreadsheet. Found as part of the sheet URL https://docs.google.com/spreadsheets/d/{ID}/.', }, { displayName: 'Range', @@ -874,7 +874,7 @@ export class GoogleSheets implements INodeType { name: 'gridProperties', type: 'collection', placeholder: 'Add Property', - default: '', + default: {}, options: [ { displayName: 'Column Count', diff --git a/packages/nodes-base/nodes/Google/Task/GoogleTasks.node.ts b/packages/nodes-base/nodes/Google/Task/GoogleTasks.node.ts index 98f256f22..ac8cb8a64 100644 --- a/packages/nodes-base/nodes/Google/Task/GoogleTasks.node.ts +++ b/packages/nodes-base/nodes/Google/Task/GoogleTasks.node.ts @@ -89,7 +89,7 @@ export class GoogleTasks implements INodeType { async execute(this: IExecuteFunctions): Promise { const items = this.getInputData(); const returnData: IDataObject[] = []; - const length = (items.length as unknown) as number; + const length = items.length; const qs: IDataObject = {}; let responseData; const resource = this.getNodeParameter('resource', 0) as string; diff --git a/packages/nodes-base/nodes/Google/Translate/GoogleTranslate.node.ts b/packages/nodes-base/nodes/Google/Translate/GoogleTranslate.node.ts index b6a2684b7..383932668 100644 --- a/packages/nodes-base/nodes/Google/Translate/GoogleTranslate.node.ts +++ b/packages/nodes-base/nodes/Google/Translate/GoogleTranslate.node.ts @@ -172,7 +172,7 @@ export class GoogleTranslate implements INodeType { async execute(this: IExecuteFunctions): Promise { const items = this.getInputData(); - const length = items.length as unknown as number; + const length = items.length; const resource = this.getNodeParameter('resource', 0) as string; const operation = this.getNodeParameter('operation', 0) as string; diff --git a/packages/nodes-base/nodes/Google/YouTube/ChannelDescription.ts b/packages/nodes-base/nodes/Google/YouTube/ChannelDescription.ts index e41e23e63..0e527e51f 100644 --- a/packages/nodes-base/nodes/Google/YouTube/ChannelDescription.ts +++ b/packages/nodes-base/nodes/Google/YouTube/ChannelDescription.ts @@ -366,7 +366,7 @@ export const channelFields: INodeProperties[] = [ displayName: 'Channel', name: 'channel', type: 'collection', - default: '', + default: {}, placeholder: 'Add Channel Settings', typeOptions: { multipleValues: false, @@ -482,7 +482,7 @@ export const channelFields: INodeProperties[] = [ displayName: 'Image', name: 'image', type: 'collection', - default: '', + default: {}, placeholder: 'Add Channel Settings', description: `The image object encapsulates information about images that display on the channel's channel page or video watch pages.`, typeOptions: { @@ -519,7 +519,7 @@ export const channelFields: INodeProperties[] = [ displayName: 'Status', name: 'status', type: 'collection', - default: '', + default: {}, placeholder: 'Add Status', typeOptions: { multipleValues: false, diff --git a/packages/nodes-base/nodes/Google/YouTube/PlaylistDescription.ts b/packages/nodes-base/nodes/Google/YouTube/PlaylistDescription.ts index 987a83ccc..d1e170549 100644 --- a/packages/nodes-base/nodes/Google/YouTube/PlaylistDescription.ts +++ b/packages/nodes-base/nodes/Google/YouTube/PlaylistDescription.ts @@ -118,7 +118,7 @@ export const playlistFields: INodeProperties[] = [ name: 'tags', type: 'string', default: '', - description: `Keyword tags associated with the playlist. Mulplie can be defined separated by comma`, + description: 'Keyword tags associated with the playlist. Mulplie can be defined separated by comma.', }, { displayName: 'Default Language', @@ -557,7 +557,7 @@ export const playlistFields: INodeProperties[] = [ name: 'tags', type: 'string', default: '', - description: `Keyword tags associated with the playlist. Mulplie can be defined separated by comma`, + description: 'Keyword tags associated with the playlist. Mulplie can be defined separated by comma.', }, ], }, diff --git a/packages/nodes-base/nodes/Google/YouTube/VideoDescription.ts b/packages/nodes-base/nodes/Google/YouTube/VideoDescription.ts index 3df9d6dc4..4f2ca01b1 100644 --- a/packages/nodes-base/nodes/Google/YouTube/VideoDescription.ts +++ b/packages/nodes-base/nodes/Google/YouTube/VideoDescription.ts @@ -249,7 +249,7 @@ export const videoFields: INodeProperties[] = [ name: 'tags', type: 'string', default: '', - description: `Keyword tags associated with the playlist. Mulplie can be defined separated by comma`, + description: 'Keyword tags associated with the playlist. Mulplie can be defined separated by comma.', }, ], }, @@ -868,7 +868,7 @@ export const videoFields: INodeProperties[] = [ name: 'tags', type: 'string', default: '', - description: `Keyword tags associated with the playlist. Mulplie can be defined separated by comma`, + description: 'Keyword tags associated with the playlist. Mulplie can be defined separated by comma.', }, ], }, diff --git a/packages/nodes-base/nodes/Google/YouTube/YouTube.node.ts b/packages/nodes-base/nodes/Google/YouTube/YouTube.node.ts index 29bcad172..d2101e6df 100644 --- a/packages/nodes-base/nodes/Google/YouTube/YouTube.node.ts +++ b/packages/nodes-base/nodes/Google/YouTube/YouTube.node.ts @@ -211,7 +211,7 @@ export class YouTube implements INodeType { async execute(this: IExecuteFunctions): Promise { const items = this.getInputData(); const returnData: IDataObject[] = []; - const length = (items.length as unknown) as number; + const length = items.length; const qs: IDataObject = {}; let responseData; const resource = this.getNodeParameter('resource', 0) as string; diff --git a/packages/nodes-base/nodes/Gotify/Gotify.node.ts b/packages/nodes-base/nodes/Gotify/Gotify.node.ts index 0fe8772bc..ec5ec48b9 100644 --- a/packages/nodes-base/nodes/Gotify/Gotify.node.ts +++ b/packages/nodes-base/nodes/Gotify/Gotify.node.ts @@ -143,7 +143,6 @@ export class Gotify implements INodeType { }, }, default: '', - description: `The message id.`, }, { displayName: 'Return All', @@ -187,7 +186,7 @@ export class Gotify implements INodeType { async execute(this: IExecuteFunctions): Promise { const items = this.getInputData(); const returnData: IDataObject[] = []; - const length = (items.length as unknown) as number; + const length = items.length; const qs: IDataObject = {}; let responseData; const resource = this.getNodeParameter('resource', 0) as string; diff --git a/packages/nodes-base/nodes/Gumroad/GumroadTrigger.node.ts b/packages/nodes-base/nodes/Gumroad/GumroadTrigger.node.ts index 2e2e5262d..071795217 100644 --- a/packages/nodes-base/nodes/Gumroad/GumroadTrigger.node.ts +++ b/packages/nodes-base/nodes/Gumroad/GumroadTrigger.node.ts @@ -15,6 +15,7 @@ import { } from './GenericFunctions'; export class GumroadTrigger implements INodeType { + // eslint-disable-next-line n8n-nodes-base/node-class-description-missing-subtitle description: INodeTypeDescription = { displayName: 'Gumroad Trigger', name: 'gumroadTrigger', diff --git a/packages/nodes-base/nodes/HackerNews/HackerNews.node.ts b/packages/nodes-base/nodes/HackerNews/HackerNews.node.ts index 6ab9ddc71..acdbccb27 100644 --- a/packages/nodes-base/nodes/HackerNews/HackerNews.node.ts +++ b/packages/nodes-base/nodes/HackerNews/HackerNews.node.ts @@ -284,7 +284,7 @@ export class HackerNews implements INodeType { description: 'Returns query results filtered by Front Page tag', }, ], - default: '', + default: [], description: 'Tags for filtering the results of the query.', }, ], diff --git a/packages/nodes-base/nodes/Harvest/ProjectDescription.ts b/packages/nodes-base/nodes/Harvest/ProjectDescription.ts index d8e294978..b7c5a2350 100644 --- a/packages/nodes-base/nodes/Harvest/ProjectDescription.ts +++ b/packages/nodes-base/nodes/Harvest/ProjectDescription.ts @@ -355,7 +355,7 @@ export const projectFields: INodeProperties[] = [ name: 'is_active', type: 'boolean', default: true, - description: 'Whether the project is active or archived. Defaults to true', + description: 'Whether the project is active or archived. Defaults to true.', }, { displayName: 'Is Fixed Fee', @@ -529,7 +529,7 @@ export const projectFields: INodeProperties[] = [ name: 'is_active', type: 'boolean', default: true, - description: 'Whether the project is active or archived. Defaults to true', + description: 'Whether the project is active or archived. Defaults to true.', }, { displayName: 'Is Billable', diff --git a/packages/nodes-base/nodes/Harvest/TaskDescription.ts b/packages/nodes-base/nodes/Harvest/TaskDescription.ts index 00d059ef3..43bdc6bdb 100644 --- a/packages/nodes-base/nodes/Harvest/TaskDescription.ts +++ b/packages/nodes-base/nodes/Harvest/TaskDescription.ts @@ -226,7 +226,7 @@ export const taskFields: INodeProperties[] = [ name: 'is_active', type: 'boolean', default: true, - description: 'Whether this task is active or archived. Defaults to true', + description: 'Whether this task is active or archived. Defaults to true.', }, { displayName: 'Is Default', @@ -277,7 +277,7 @@ export const taskFields: INodeProperties[] = [ displayName: 'Billable By Default', name: 'billable_by_default', type: 'boolean', - default: '', + default: false, description: 'Used in determining whether default tasks should be marked billable when creating a new project. Defaults to true.', }, { @@ -292,7 +292,7 @@ export const taskFields: INodeProperties[] = [ name: 'is_active', type: 'boolean', default: true, - description: 'Whether this task is active or archived. Defaults to true', + description: 'Whether this task is active or archived. Defaults to true.', }, { displayName: 'Is Default', diff --git a/packages/nodes-base/nodes/HelpScout/ConversationDescription.ts b/packages/nodes-base/nodes/HelpScout/ConversationDescription.ts index d29d2a85a..9389d077f 100644 --- a/packages/nodes-base/nodes/HelpScout/ConversationDescription.ts +++ b/packages/nodes-base/nodes/HelpScout/ConversationDescription.ts @@ -195,8 +195,7 @@ export const conversationFields: INodeProperties[] = [ name: 'autoReply', type: 'boolean', default: false, - description: `When autoReply is set to true, an auto reply will be sent - as long as there is at least one customer thread in the conversation.`, + description: 'When autoReply is set to true, an auto reply will be sent as long as there is at least one customer thread in the conversation.', }, { displayName: 'Closed At', @@ -385,7 +384,6 @@ export const conversationFields: INodeProperties[] = [ ], }, }, - description: 'conversation ID', }, /* -------------------------------------------------------------------------- */ /* conversation:delete */ @@ -406,7 +404,6 @@ export const conversationFields: INodeProperties[] = [ ], }, }, - description: 'conversation ID', }, /* -------------------------------------------------------------------------- */ /* conversation:getAll */ diff --git a/packages/nodes-base/nodes/HelpScout/CustomerDescription.ts b/packages/nodes-base/nodes/HelpScout/CustomerDescription.ts index dd2afd369..f0b142feb 100644 --- a/packages/nodes-base/nodes/HelpScout/CustomerDescription.ts +++ b/packages/nodes-base/nodes/HelpScout/CustomerDescription.ts @@ -149,14 +149,12 @@ export const customerFields: INodeProperties[] = [ alwaysOpenEditWindow: true, }, default: '', - description: `Notes`, }, { displayName: 'Organization', name: 'organization', type: 'string', default: '', - description: 'Organization', }, { displayName: 'Photo Url', @@ -207,14 +205,12 @@ export const customerFields: INodeProperties[] = [ name: 'city', type: 'string', default: '', - description: 'City', }, { displayName: 'State', name: 'state', type: 'string', default: '', - description: 'State', }, { displayName: 'Country', @@ -224,14 +220,12 @@ export const customerFields: INodeProperties[] = [ loadOptionsMethod: 'getCountriesCodes', }, default: '', - description: 'Country', }, { displayName: 'Postal Code', name: 'postalCode', type: 'string', default: '', - description: 'Postal code', }, ], }, @@ -724,7 +718,6 @@ export const customerFields: INodeProperties[] = [ ], }, }, - description: 'Customer ID', }, /* -------------------------------------------------------------------------- */ /* customer:update */ @@ -744,7 +737,6 @@ export const customerFields: INodeProperties[] = [ ], }, }, - description: 'Customer ID', }, { displayName: 'Update Fields', @@ -830,14 +822,12 @@ export const customerFields: INodeProperties[] = [ alwaysOpenEditWindow: true, }, default: '', - description: `Notes`, }, { displayName: 'Organization', name: 'organization', type: 'string', default: '', - description: 'Organization', }, { displayName: 'Photo Url', diff --git a/packages/nodes-base/nodes/HelpScout/HelpScout.node.ts b/packages/nodes-base/nodes/HelpScout/HelpScout.node.ts index 1e28fddf7..4eec114b1 100644 --- a/packages/nodes-base/nodes/HelpScout/HelpScout.node.ts +++ b/packages/nodes-base/nodes/HelpScout/HelpScout.node.ts @@ -165,7 +165,7 @@ export class HelpScout implements INodeType { async execute(this: IExecuteFunctions): Promise { const items = this.getInputData(); const returnData: IDataObject[] = []; - const length = items.length as unknown as number; + const length = items.length; const qs: IDataObject = {}; let responseData; const resource = this.getNodeParameter('resource', 0) as string; diff --git a/packages/nodes-base/nodes/HelpScout/ThreadDescription.ts b/packages/nodes-base/nodes/HelpScout/ThreadDescription.ts index 95dfedfa5..7025db1c7 100644 --- a/packages/nodes-base/nodes/HelpScout/ThreadDescription.ts +++ b/packages/nodes-base/nodes/HelpScout/ThreadDescription.ts @@ -49,7 +49,6 @@ export const threadFields: INodeProperties[] = [ ], }, }, - description: 'conversation ID', }, { displayName: 'Type', @@ -230,7 +229,7 @@ export const threadFields: INodeProperties[] = [ ], }, ], - default: '', + default: {}, description: 'Array of supported attachments to add to the message.', }, /* -------------------------------------------------------------------------- */ @@ -252,7 +251,6 @@ export const threadFields: INodeProperties[] = [ ], }, }, - description: 'conversation ID', }, { displayName: 'Return All', diff --git a/packages/nodes-base/nodes/HomeAssistant/CameraProxyDescription.ts b/packages/nodes-base/nodes/HomeAssistant/CameraProxyDescription.ts index 302ba4b14..8c85a64b9 100644 --- a/packages/nodes-base/nodes/HomeAssistant/CameraProxyDescription.ts +++ b/packages/nodes-base/nodes/HomeAssistant/CameraProxyDescription.ts @@ -49,7 +49,6 @@ export const cameraProxyFields: INodeProperties[] = [ ], }, }, - description: 'The camera entity ID.', }, { displayName: 'Binary Property', diff --git a/packages/nodes-base/nodes/HomeAssistant/LogDescription.ts b/packages/nodes-base/nodes/HomeAssistant/LogDescription.ts index ca9c31a0f..8265cc96d 100644 --- a/packages/nodes-base/nodes/HomeAssistant/LogDescription.ts +++ b/packages/nodes-base/nodes/HomeAssistant/LogDescription.ts @@ -64,7 +64,6 @@ export const logFields: INodeProperties[] = [ name: 'entityId', type: 'string', default: '', - description: 'The entity ID.', }, { displayName: 'Start Time', diff --git a/packages/nodes-base/nodes/HomeAssistant/StateDescription.ts b/packages/nodes-base/nodes/HomeAssistant/StateDescription.ts index dd58042eb..1d1957c07 100644 --- a/packages/nodes-base/nodes/HomeAssistant/StateDescription.ts +++ b/packages/nodes-base/nodes/HomeAssistant/StateDescription.ts @@ -59,7 +59,6 @@ export const stateFields: INodeProperties[] = [ }, required: true, default: '', - description: 'The entity ID.', }, /* -------------------------------------------------------------------------- */ diff --git a/packages/nodes-base/nodes/HomeAssistant/TemplateDescription.ts b/packages/nodes-base/nodes/HomeAssistant/TemplateDescription.ts index 42503defa..716f91c0a 100644 --- a/packages/nodes-base/nodes/HomeAssistant/TemplateDescription.ts +++ b/packages/nodes-base/nodes/HomeAssistant/TemplateDescription.ts @@ -47,6 +47,6 @@ export const templateFields: INodeProperties[] = [ }, required: true, default: '', - description: 'Render a Home Assistant template. See template docs for more information.', + description: 'Render a Home Assistant template. See template docs for more information..', }, ]; diff --git a/packages/nodes-base/nodes/HtmlExtract/HtmlExtract.node.ts b/packages/nodes-base/nodes/HtmlExtract/HtmlExtract.node.ts index 3a9e92348..c985af77d 100644 --- a/packages/nodes-base/nodes/HtmlExtract/HtmlExtract.node.ts +++ b/packages/nodes-base/nodes/HtmlExtract/HtmlExtract.node.ts @@ -114,7 +114,6 @@ export class HtmlExtract implements INodeType { typeOptions: { multipleValues: true, }, - description: 'The extraction values.', default: {}, options: [ { diff --git a/packages/nodes-base/nodes/Hubspot/CompanyDescription.ts b/packages/nodes-base/nodes/Hubspot/CompanyDescription.ts index ae051da87..871e6a3e1 100644 --- a/packages/nodes-base/nodes/Hubspot/CompanyDescription.ts +++ b/packages/nodes-base/nodes/Hubspot/CompanyDescription.ts @@ -895,7 +895,7 @@ export const companyFields: INodeProperties[] = [ typeOptions: { loadOptionsMethod: 'getCompanyProperties', }, - default: '', + default: [], description: `

Used to include specific company properties in the results. By default, the results will only include company ID and will not include the values for any properties for your companies.

Including this parameter will include the data for the specified property in the results. You can include this parameter multiple times to request multiple properties separated by a comma: ,.

`, }, { @@ -1095,7 +1095,7 @@ export const companyFields: INodeProperties[] = [ typeOptions: { loadOptionsMethod: 'getCompanyProperties', }, - default: '', + default: [], description: `

Used to include specific company properties in the results. By default, the results will only include company ID and will not include the values for any properties for your company.

Including this parameter will include the data for the specified property in the results. You can include this parameter multiple times to request multiple properties separated by a comma: ,.

`, }, ], diff --git a/packages/nodes-base/nodes/Hubspot/ContactDescription.ts b/packages/nodes-base/nodes/Hubspot/ContactDescription.ts index b0635ca88..484ca1ce2 100644 --- a/packages/nodes-base/nodes/Hubspot/ContactDescription.ts +++ b/packages/nodes-base/nodes/Hubspot/ContactDescription.ts @@ -396,7 +396,7 @@ export const contactFields: INodeProperties[] = [ ], }, }, - default: '', + default: [], description: `

Used to include specific company properties in the results. By default, the results will only include company ID and will not include the values for any properties for your company.

Including this parameter will include the data for the specified property in the results. You can include this parameter multiple times to request multiple properties separated by a comma: ,.

`, }, { @@ -576,7 +576,7 @@ export const contactFields: INodeProperties[] = [ typeOptions: { loadOptionsMethod: 'getContactProperties', }, - default: '', + default: [], description: `

Used to include specific company properties in the results. By default, the results will only include company ID and will not include the values for any properties for your company.

Including this parameter will include the data for the specified property in the results. You can include this parameter multiple times to request multiple properties separated by a comma: ,.

`, }, { @@ -699,7 +699,7 @@ export const contactFields: INodeProperties[] = [ typeOptions: { loadOptionsMethod: 'getContactProperties', }, - default: '', + default: [], description: `

Used to include specific company properties in the results. By default, the results will only include company ID and will not include the values for any properties for your company.

Including this parameter will include the data for the specified property in the results. You can include this parameter multiple times to request multiple properties separated by a comma: ,.

`, }, { @@ -844,7 +844,7 @@ export const contactFields: INodeProperties[] = [ typeOptions: { loadOptionsMethod: 'getContactProperties', }, - default: '', + default: [], description: `

Used to include specific company properties in the results. By default, the results will only include company ID and will not include the values for any properties for your company.

Including this parameter will include the data for the specified property in the results. You can include this parameter multiple times to request multiple properties separated by a comma: ,.

`, }, { @@ -915,7 +915,7 @@ export const contactFields: INodeProperties[] = [ displayName: 'Filter Groups', name: 'filterGroupsUi', type: 'fixedCollection', - default: '', + default: {}, placeholder: 'Add Filter Group', typeOptions: { multipleValues: true, @@ -940,7 +940,7 @@ export const contactFields: INodeProperties[] = [ displayName: 'Filters', name: 'filtersUi', type: 'fixedCollection', - default: '', + default: {}, placeholder: 'Add Filter', typeOptions: { multipleValues: true, @@ -1025,7 +1025,7 @@ export const contactFields: INodeProperties[] = [ ], }, ], - description: 'Use filters to limit the results to only CRM objects with matching property values. More info here', + description: 'Use filters to limit the results to only CRM objects with matching property values. More info here.', }, ], }, diff --git a/packages/nodes-base/nodes/Hubspot/DealDescription.ts b/packages/nodes-base/nodes/Hubspot/DealDescription.ts index 41248ff01..f7a61dc2e 100644 --- a/packages/nodes-base/nodes/Hubspot/DealDescription.ts +++ b/packages/nodes-base/nodes/Hubspot/DealDescription.ts @@ -440,8 +440,7 @@ export const dealFields: INodeProperties[] = [ name: 'includeAssociations', type: 'boolean', default: false, - description: `Include the IDs of the associated contacts and companies in the results. - This will also automatically include the num_associated_contacts property.`, + description: 'Include the IDs of the associated contacts and companies in the results. This will also automatically include the num_associated_contacts property.', }, { displayName: 'Properties', @@ -618,7 +617,7 @@ export const dealFields: INodeProperties[] = [ displayName: 'Filter Groups', name: 'filterGroupsUi', type: 'fixedCollection', - default: '', + default: {}, placeholder: 'Add Filter Group', typeOptions: { multipleValues: true, @@ -643,7 +642,7 @@ export const dealFields: INodeProperties[] = [ displayName: 'Filters', name: 'filtersUi', type: 'fixedCollection', - default: '', + default: {}, placeholder: 'Add Filter', typeOptions: { multipleValues: true, @@ -728,7 +727,7 @@ export const dealFields: INodeProperties[] = [ ], }, ], - description: 'Use filters to limit the results to only CRM objects with matching property values. More info here', + description: 'Use filters to limit the results to only CRM objects with matching property values. More info here.', }, ], }, diff --git a/packages/nodes-base/nodes/Hubspot/EngagementDescription.ts b/packages/nodes-base/nodes/Hubspot/EngagementDescription.ts index dbe09ff01..a0475a088 100644 --- a/packages/nodes-base/nodes/Hubspot/EngagementDescription.ts +++ b/packages/nodes-base/nodes/Hubspot/EngagementDescription.ts @@ -106,7 +106,6 @@ export const engagementFields: INodeProperties[] = [ name: 'body', type: 'string', default: '', - description: '', }, { displayName: 'For Object Type', @@ -123,7 +122,6 @@ export const engagementFields: INodeProperties[] = [ }, ], default: '', - description: '', }, { displayName: 'Status', @@ -152,14 +150,12 @@ export const engagementFields: INodeProperties[] = [ }, ], default: '', - description: '', }, { displayName: 'Subject', name: 'subject', type: 'string', default: '', - description: '', }, ], }, @@ -192,7 +188,6 @@ export const engagementFields: INodeProperties[] = [ multipleValueButtonText: 'Add BCC', }, default: '', - description: '', }, { displayName: 'CC', @@ -203,7 +198,6 @@ export const engagementFields: INodeProperties[] = [ multipleValueButtonText: 'Add CC', }, default: '', - description: '', }, { displayName: 'From Email', @@ -216,28 +210,24 @@ export const engagementFields: INodeProperties[] = [ name: 'firstName', type: 'string', default: '', - description: '', }, { displayName: 'From Last Name', name: 'lastName', type: 'string', default: '', - description: '', }, { displayName: 'HTML', name: 'html', type: 'string', default: '', - description: '', }, { displayName: 'Subject', name: 'subject', type: 'string', default: '', - description: '', }, { displayName: 'To Emails', @@ -248,7 +238,6 @@ export const engagementFields: INodeProperties[] = [ multipleValueButtonText: 'Add Email', }, default: '', - description: '', }, ], }, @@ -277,35 +266,30 @@ export const engagementFields: INodeProperties[] = [ name: 'body', type: 'string', default: '', - description: '', }, { displayName: 'End Time', name: 'endTime', type: 'dateTime', default: '', - description: '', }, { displayName: 'Internal Meeting Notes', name: 'internalMeetingNotes', type: 'string', default: '', - description: '', }, { displayName: 'Start Time', name: 'startTime', type: 'dateTime', default: '', - description: '', }, { displayName: 'Title', name: 'title', type: 'string', default: '', - description: '', }, ], }, @@ -334,28 +318,24 @@ export const engagementFields: INodeProperties[] = [ name: 'body', type: 'string', default: '', - description: '', }, { displayName: 'Duration Milliseconds', name: 'durationMilliseconds', type: 'number', default: 0, - description: '', }, { displayName: 'From Number', name: 'fromNumber', type: 'string', default: '', - description: '', }, { displayName: 'Recording URL', name: 'recordingUrl', type: 'string', default: '', - description: '', }, { displayName: 'Status', @@ -404,14 +384,12 @@ export const engagementFields: INodeProperties[] = [ }, ], default: 'QUEUED', - description: '', }, { displayName: 'To Number', name: 'toNumber', type: 'string', default: '', - description: '', }, ], }, @@ -444,35 +422,30 @@ export const engagementFields: INodeProperties[] = [ name: 'companyIds', type: 'string', default: '', - description: '', }, { displayName: 'Contact IDs', name: 'contactIds', type: 'string', default: '', - description: '', }, { displayName: 'Deals IDs', name: 'dealIds', type: 'string', default: '', - description: '', }, { displayName: 'Owner IDs', name: 'ownerIds', type: 'string', default: '', - description: '', }, { displayName: 'Ticket IDs', name: 'ticketIds', type: 'string', default: '', - description: '', }, ], }, diff --git a/packages/nodes-base/nodes/Hubspot/Hubspot.node.ts b/packages/nodes-base/nodes/Hubspot/Hubspot.node.ts index 2d04ca540..88d27a031 100644 --- a/packages/nodes-base/nodes/Hubspot/Hubspot.node.ts +++ b/packages/nodes-base/nodes/Hubspot/Hubspot.node.ts @@ -929,7 +929,7 @@ export class Hubspot implements INodeType { async execute(this: IExecuteFunctions): Promise { const items = this.getInputData(); const returnData: IDataObject[] = []; - const length = items.length as unknown as number; + const length = items.length; let responseData; const qs: IDataObject = {}; const resource = this.getNodeParameter('resource', 0) as string; diff --git a/packages/nodes-base/nodes/Hubspot/TicketDescription.ts b/packages/nodes-base/nodes/Hubspot/TicketDescription.ts index b8448f442..d389a6f07 100644 --- a/packages/nodes-base/nodes/Hubspot/TicketDescription.ts +++ b/packages/nodes-base/nodes/Hubspot/TicketDescription.ts @@ -223,7 +223,7 @@ export const ticketFields: INodeProperties[] = [ loadOptionsMethod: 'getOwners', }, default: '', - description: `The user from your team that the ticket is assigned to. You can assign additional users to a ticket record by creating a custom HubSpot user property`, + description: 'The user from your team that the ticket is assigned to. You can assign additional users to a ticket record by creating a custom HubSpot user property.', }, ], }, @@ -374,7 +374,7 @@ export const ticketFields: INodeProperties[] = [ loadOptionsMethod: 'getOwners', }, default: '', - description: `The user from your team that the ticket is assigned to. You can assign additional users to a ticket record by creating a custom HubSpot user property`, + description: 'The user from your team that the ticket is assigned to. You can assign additional users to a ticket record by creating a custom HubSpot user property.', }, ], }, diff --git a/packages/nodes-base/nodes/HumanticAI/HumanticAi.node.ts b/packages/nodes-base/nodes/HumanticAI/HumanticAi.node.ts index 38b51f40f..6b57058a9 100644 --- a/packages/nodes-base/nodes/HumanticAI/HumanticAi.node.ts +++ b/packages/nodes-base/nodes/HumanticAI/HumanticAi.node.ts @@ -64,7 +64,7 @@ export class HumanticAi implements INodeType { async execute(this: IExecuteFunctions): Promise { const items = this.getInputData(); const returnData: IDataObject[] = []; - const length = items.length as unknown as number; + const length = items.length; const qs: IDataObject = {}; let responseData; const resource = this.getNodeParameter('resource', 0) as string; diff --git a/packages/nodes-base/nodes/Hunter/Hunter.node.ts b/packages/nodes-base/nodes/Hunter/Hunter.node.ts index f2adbcf13..eddb3a8d3 100644 --- a/packages/nodes-base/nodes/Hunter/Hunter.node.ts +++ b/packages/nodes-base/nodes/Hunter/Hunter.node.ts @@ -287,7 +287,7 @@ export class Hunter implements INodeType { async execute(this: IExecuteFunctions): Promise { const items = this.getInputData(); const returnData: IDataObject[] = []; - const length = items.length as unknown as number; + const length = items.length; const qs: IDataObject = {}; let responseData; for (let i = 0; i < length; i++) { diff --git a/packages/nodes-base/nodes/ICalendar/ICalendar.node.ts b/packages/nodes-base/nodes/ICalendar/ICalendar.node.ts index 15c901243..a28c0b592 100644 --- a/packages/nodes-base/nodes/ICalendar/ICalendar.node.ts +++ b/packages/nodes-base/nodes/ICalendar/ICalendar.node.ts @@ -60,7 +60,7 @@ export class ICalendar implements INodeType { type: 'dateTime', default: '', required: true, - description: 'Date and time at which the event begins. (For all-day events, the time will be ignored.)', + description: 'Date and time at which the event begins. (For all-day events, the time will be ignored.).', }, { displayName: 'End', @@ -68,7 +68,7 @@ export class ICalendar implements INodeType { type: 'dateTime', default: '', required: true, - description: 'Date and time at which the event ends. (For all-day events, the time will be ignored.)', + description: 'Date and time at which the event ends. (For all-day events, the time will be ignored.).', }, { displayName: 'All Day', @@ -217,7 +217,7 @@ export class ICalendar implements INodeType { name: 'recurrenceRule', type: 'string', default: '', - description: `A rule to define the repeat pattern of the event (RRULE). (Rule generator)`, + description: 'A rule to define the repeat pattern of the event (RRULE). (Rule generator).', }, { displayName: 'Organizer', @@ -299,7 +299,7 @@ export class ICalendar implements INodeType { async execute(this: IExecuteFunctions): Promise { const items = this.getInputData(); - const length = (items.length as unknown) as number; + const length = items.length; const returnData: INodeExecutionData[] = []; const operation = this.getNodeParameter('operation', 0) as string; if (operation === 'createEventFile') { diff --git a/packages/nodes-base/nodes/If/If.node.ts b/packages/nodes-base/nodes/If/If.node.ts index b623027e7..bc570b0c6 100644 --- a/packages/nodes-base/nodes/If/If.node.ts +++ b/packages/nodes-base/nodes/If/If.node.ts @@ -23,6 +23,7 @@ export class If implements INodeType { color: '#408000', }, inputs: ['main'], + // eslint-disable-next-line n8n-nodes-base/node-class-description-outputs-wrong outputs: ['main', 'main'], outputNames: ['true', 'false'], properties: [ diff --git a/packages/nodes-base/nodes/Intercom/CompanyDescription.ts b/packages/nodes-base/nodes/Intercom/CompanyDescription.ts index 0a79b6c39..b7226ca1a 100644 --- a/packages/nodes-base/nodes/Intercom/CompanyDescription.ts +++ b/packages/nodes-base/nodes/Intercom/CompanyDescription.ts @@ -76,7 +76,6 @@ export const companyFields: INodeProperties[] = [ }, ], default: '', - description: 'List by', }, { displayName: 'Value', @@ -298,7 +297,6 @@ export const companyFields: INodeProperties[] = [ name: 'jsonParameters', type: 'boolean', default: false, - description: '', displayOptions: { show: { operation: [ @@ -404,7 +402,7 @@ export const companyFields: INodeProperties[] = [ displayName: 'Custom Attributes', name: 'customAttributesUi', type: 'fixedCollection', - default: '', + default: {}, placeholder: 'Add Attribute', typeOptions: { multipleValues: true, diff --git a/packages/nodes-base/nodes/Intercom/Intercom.node.ts b/packages/nodes-base/nodes/Intercom/Intercom.node.ts index 35e8114fc..fc4e11c94 100644 --- a/packages/nodes-base/nodes/Intercom/Intercom.node.ts +++ b/packages/nodes-base/nodes/Intercom/Intercom.node.ts @@ -122,7 +122,7 @@ export class Intercom implements INodeType { async execute(this: IExecuteFunctions): Promise { const items = this.getInputData(); const returnData: IDataObject[] = []; - const length = items.length as unknown as number; + const length = items.length; let qs: IDataObject; let responseData; for (let i = 0; i < length; i++) { diff --git a/packages/nodes-base/nodes/Intercom/LeadDescription.ts b/packages/nodes-base/nodes/Intercom/LeadDescription.ts index f80e08fe6..5d79ebcaa 100644 --- a/packages/nodes-base/nodes/Intercom/LeadDescription.ts +++ b/packages/nodes-base/nodes/Intercom/LeadDescription.ts @@ -76,7 +76,6 @@ export const leadFields: INodeProperties[] = [ }, ], default: '', - description: 'Delete by', }, { displayName: 'Value', @@ -313,7 +312,6 @@ export const leadFields: INodeProperties[] = [ name: 'jsonParameters', type: 'boolean', default: false, - description: '', displayOptions: { show: { operation: [ @@ -472,7 +470,7 @@ export const leadFields: INodeProperties[] = [ displayName: 'Custom Attributes', name: 'customAttributesUi', type: 'fixedCollection', - default: '', + default: {}, placeholder: 'Add Attribute', typeOptions: { multipleValues: true, diff --git a/packages/nodes-base/nodes/Intercom/UserDescription.ts b/packages/nodes-base/nodes/Intercom/UserDescription.ts index 45b3ab577..6baadb3d1 100644 --- a/packages/nodes-base/nodes/Intercom/UserDescription.ts +++ b/packages/nodes-base/nodes/Intercom/UserDescription.ts @@ -326,7 +326,6 @@ export const userFields: INodeProperties[] = [ name: 'jsonParameters', type: 'boolean', default: false, - description: '', displayOptions: { show: { operation: [ @@ -446,7 +445,7 @@ export const userFields: INodeProperties[] = [ displayName: 'Unsubscribed From Emails', name: 'unsubscribedFromEmails', type: 'boolean', - default: '', + default: false, placeholder: '', description: 'Whether the user is unsubscribed from emails', }, @@ -524,7 +523,7 @@ export const userFields: INodeProperties[] = [ displayName: 'Custom Attributes', name: 'customAttributesUi', type: 'fixedCollection', - default: '', + default: {}, placeholder: 'Add Attribute', typeOptions: { multipleValues: true, diff --git a/packages/nodes-base/nodes/Interval/Interval.node.ts b/packages/nodes-base/nodes/Interval/Interval.node.ts index 61b78455b..cb5fce2b4 100644 --- a/packages/nodes-base/nodes/Interval/Interval.node.ts +++ b/packages/nodes-base/nodes/Interval/Interval.node.ts @@ -21,6 +21,7 @@ export class Interval implements INodeType { name: 'Interval', color: '#00FF00', }, + // eslint-disable-next-line n8n-nodes-base/node-class-description-inputs-wrong-regular-node inputs: [], outputs: ['main'], properties: [ diff --git a/packages/nodes-base/nodes/InvoiceNinja/InvoiceNinja.node.ts b/packages/nodes-base/nodes/InvoiceNinja/InvoiceNinja.node.ts index d9b7f00b2..20195e203 100644 --- a/packages/nodes-base/nodes/InvoiceNinja/InvoiceNinja.node.ts +++ b/packages/nodes-base/nodes/InvoiceNinja/InvoiceNinja.node.ts @@ -242,7 +242,7 @@ export class InvoiceNinja implements INodeType { async execute(this: IExecuteFunctions): Promise { const items = this.getInputData(); const returnData: IDataObject[] = []; - const length = items.length as unknown as number; + const length = items.length; let responseData; const qs: IDataObject = {}; const resource = this.getNodeParameter('resource', 0) as string; diff --git a/packages/nodes-base/nodes/ItemLists/ItemLists.node.ts b/packages/nodes-base/nodes/ItemLists/ItemLists.node.ts index ff04ee293..247c90f53 100644 --- a/packages/nodes-base/nodes/ItemLists/ItemLists.node.ts +++ b/packages/nodes-base/nodes/ItemLists/ItemLists.node.ts @@ -227,7 +227,7 @@ export class ItemLists implements INodeType { }, type: 'string', default: '', - description: 'The name of the field to put the aggregated data in. Leave blank to use the input field name', + description: 'The name of the field to put the aggregated data in. Leave blank to use the input field name.', }, ], }, @@ -544,7 +544,7 @@ return 0;`, name: 'removeOtherFields', type: 'boolean', default: false, - description: 'Whether to remove any fields that are not being compared. If disabled, will keep the values from the first of the duplicates', + description: 'Whether to remove any fields that are not being compared. If disabled, will keep the values from the first of the duplicates.', }, { displayName: 'Disable Dot Notation', @@ -666,7 +666,7 @@ return 0;`, async execute(this: IExecuteFunctions): Promise { const items = this.getInputData(); - const length = (items.length as unknown) as number; + const length = items.length; const returnData: INodeExecutionData[] = []; const resource = this.getNodeParameter('resource', 0) as string; const operation = this.getNodeParameter('operation', 0) as string; diff --git a/packages/nodes-base/nodes/Iterable/EventDescription.ts b/packages/nodes-base/nodes/Iterable/EventDescription.ts index 5bc30efc0..b239f8bc5 100644 --- a/packages/nodes-base/nodes/Iterable/EventDescription.ts +++ b/packages/nodes-base/nodes/Iterable/EventDescription.ts @@ -84,7 +84,7 @@ export const eventFields: INodeProperties[] = [ displayName: 'Data Fields', name: 'dataFieldsUi', type: 'fixedCollection', - default: '', + default: {}, placeholder: 'Add Data Field', typeOptions: { multipleValues: true, @@ -131,7 +131,6 @@ export const eventFields: INodeProperties[] = [ name: 'templateId', type: 'string', default: '', - description: `Template id`, }, { displayName: 'User ID', diff --git a/packages/nodes-base/nodes/Iterable/Iterable.node.ts b/packages/nodes-base/nodes/Iterable/Iterable.node.ts index 051c01011..d190e8124 100644 --- a/packages/nodes-base/nodes/Iterable/Iterable.node.ts +++ b/packages/nodes-base/nodes/Iterable/Iterable.node.ts @@ -105,7 +105,7 @@ export class Iterable implements INodeType { async execute(this: IExecuteFunctions): Promise { const items = this.getInputData(); const returnData: IDataObject[] = []; - const length = (items.length as unknown) as number; + const length = items.length; const timezone = this.getTimezone(); const qs: IDataObject = {}; let responseData; diff --git a/packages/nodes-base/nodes/Iterable/UserDescription.ts b/packages/nodes-base/nodes/Iterable/UserDescription.ts index deb77b224..ae4505fe6 100644 --- a/packages/nodes-base/nodes/Iterable/UserDescription.ts +++ b/packages/nodes-base/nodes/Iterable/UserDescription.ts @@ -128,7 +128,7 @@ export const userFields: INodeProperties[] = [ displayName: 'Data Fields', name: 'dataFieldsUi', type: 'fixedCollection', - default: '', + default: {}, placeholder: 'Add Data Field', typeOptions: { multipleValues: true, diff --git a/packages/nodes-base/nodes/Jenkins/Jenkins.node.ts b/packages/nodes-base/nodes/Jenkins/Jenkins.node.ts index d2beca5c6..53f5b2168 100644 --- a/packages/nodes-base/nodes/Jenkins/Jenkins.node.ts +++ b/packages/nodes-base/nodes/Jenkins/Jenkins.node.ts @@ -170,7 +170,7 @@ export class Jenkins implements INodeType { }, }, required: true, - default: '', + default: {}, typeOptions: { multipleValues: true, }, @@ -518,7 +518,7 @@ export class Jenkins implements INodeType { async execute(this: IExecuteFunctions): Promise { const items = this.getInputData(); const returnData: IDataObject[] = []; - const length = items.length as unknown as number; + const length = items.length; let responseData; const resource = this.getNodeParameter('resource', 0) as string; const operation = this.getNodeParameter('operation', 0) as string; diff --git a/packages/nodes-base/nodes/Jira/IssueAttachmentDescription.ts b/packages/nodes-base/nodes/Jira/IssueAttachmentDescription.ts index cee1ba02f..43a9b95ec 100644 --- a/packages/nodes-base/nodes/Jira/IssueAttachmentDescription.ts +++ b/packages/nodes-base/nodes/Jira/IssueAttachmentDescription.ts @@ -62,7 +62,6 @@ export const issueAttachmentFields: INodeProperties[] = [ }, }, default: '', - description: 'Issue Key', }, { displayName: 'Binary Property', @@ -161,7 +160,6 @@ export const issueAttachmentFields: INodeProperties[] = [ }, }, default: '', - description: 'Issue Key', }, { displayName: 'Return All', diff --git a/packages/nodes-base/nodes/Jira/IssueDescription.ts b/packages/nodes-base/nodes/Jira/IssueDescription.ts index 5eace303a..e9331d3bb 100644 --- a/packages/nodes-base/nodes/Jira/IssueDescription.ts +++ b/packages/nodes-base/nodes/Jira/IssueDescription.ts @@ -88,7 +88,6 @@ export const issueFields: INodeProperties[] = [ 'jiraVersion', ], }, - description: 'Project', }, { displayName: 'Issue Type', @@ -130,7 +129,6 @@ export const issueFields: INodeProperties[] = [ }, }, default: '', - description: 'Summary', }, { displayName: 'Additional Fields', @@ -157,14 +155,12 @@ export const issueFields: INodeProperties[] = [ loadOptionsMethod: 'getUsers', }, default: '', - description: 'Assignee', }, { displayName: 'Description', name: 'description', type: 'string', default: '', - description: 'Description', }, { displayName: 'Components', @@ -182,7 +178,7 @@ export const issueFields: INodeProperties[] = [ displayName: 'Custom Fields', name: 'customFieldsUi', type: 'fixedCollection', - default: '', + default: {}, placeholder: 'Add Custom Field', typeOptions: { multipleValues: true, @@ -224,7 +220,6 @@ export const issueFields: INodeProperties[] = [ loadOptionsMethod: 'getLabels', }, default: [], - description: 'Labels', displayOptions: { show: { '/jiraVersion': [ @@ -238,7 +233,6 @@ export const issueFields: INodeProperties[] = [ name: 'serverLabels', type: 'string', default: [], - description: 'Labels', displayOptions: { show: { '/jiraVersion': [ @@ -255,7 +249,6 @@ export const issueFields: INodeProperties[] = [ name: 'parentIssueKey', type: 'string', default: '', - description: 'Parent Issue Key', }, { displayName: 'Priority', @@ -265,7 +258,6 @@ export const issueFields: INodeProperties[] = [ loadOptionsMethod: 'getPriorities', }, default: '', - description: 'Priority', }, { displayName: 'Reporter', @@ -275,15 +267,13 @@ export const issueFields: INodeProperties[] = [ loadOptionsMethod: 'getUsers', }, default: '', - description: 'Reporter', }, { displayName: 'Update History', name: 'updateHistory', type: 'boolean', default: false, - description: `Whether the project in which the issue is created is added to the user's - Recently viewed project list, as shown under Projects in Jira.`, + description: 'Whether the project in which the issue is created is added to the user\'s Recently viewed project list, as shown under Projects in Jira.', }, ], }, @@ -307,7 +297,6 @@ export const issueFields: INodeProperties[] = [ }, }, default: '', - description: 'Issue Key', }, { displayName: 'Update Fields', @@ -334,20 +323,18 @@ export const issueFields: INodeProperties[] = [ loadOptionsMethod: 'getUsers', }, default: '', - description: 'Assignee', }, { displayName: 'Description', name: 'description', type: 'string', default: '', - description: 'Description', }, { displayName: 'Custom Fields', name: 'customFieldsUi', type: 'fixedCollection', - default: '', + default: {}, placeholder: 'Add Custom Field', typeOptions: { multipleValues: true, @@ -396,7 +383,6 @@ export const issueFields: INodeProperties[] = [ loadOptionsMethod: 'getLabels', }, default: [], - description: 'Labels', displayOptions: { show: { '/jiraVersion': [ @@ -410,7 +396,6 @@ export const issueFields: INodeProperties[] = [ name: 'serverLabels', type: 'string', default: [], - description: 'Labels', displayOptions: { show: { '/jiraVersion': [ @@ -427,7 +412,6 @@ export const issueFields: INodeProperties[] = [ name: 'parentIssueKey', type: 'string', default: '', - description: 'Parent Issue Key', }, { displayName: 'Priority', @@ -437,7 +421,6 @@ export const issueFields: INodeProperties[] = [ loadOptionsMethod: 'getPriorities', }, default: '', - description: 'Priority', }, { displayName: 'Reporter', @@ -447,14 +430,12 @@ export const issueFields: INodeProperties[] = [ loadOptionsMethod: 'getUsers', }, default: '', - description: 'Reporter', }, { displayName: 'Summary', name: 'summary', type: 'string', default: '', - description: 'Summary', }, { displayName: 'Status ID', @@ -488,7 +469,6 @@ export const issueFields: INodeProperties[] = [ }, }, default: '', - description: 'Issue Key', }, { displayName: 'Delete Subtasks', @@ -506,7 +486,6 @@ export const issueFields: INodeProperties[] = [ }, }, default: false, - description: 'Delete Subtasks', }, /* -------------------------------------------------------------------------- */ @@ -528,7 +507,6 @@ export const issueFields: INodeProperties[] = [ }, }, default: '', - description: 'Issue Key', }, { displayName: 'Simplify Output', @@ -545,6 +523,7 @@ export const issueFields: INodeProperties[] = [ ], }, }, + // eslint-disable-next-line n8n-nodes-base/node-param-default-wrong-for-simplify default: false, description: `Return a simplified output of the issues fields.`, }, @@ -607,9 +586,7 @@ export const issueFields: INodeProperties[] = [ name: 'updateHistory', type: 'boolean', default: false, - description: `Whether the project in which the issue is created is added to the user's - Recently viewed project list, as shown under Projects in Jira. This also populates the - JQL issues search lastViewed field.`, + description: 'Whether the project in which the issue is created is added to the user\'s Recently viewed project list, as shown under Projects in Jira. This also populates the JQL issues search lastViewed field.', }, ], }, @@ -679,7 +656,7 @@ export const issueFields: INodeProperties[] = [ displayName: 'Expand', name: 'expand', type: 'multiOptions', - default: '', + default: [], options: [ { name: 'Changelog', @@ -769,7 +746,6 @@ export const issueFields: INodeProperties[] = [ }, }, default: '', - description: 'Issue Key', }, { displayName: 'Return All', @@ -831,14 +807,12 @@ export const issueFields: INodeProperties[] = [ }, }, default: '', - description: 'Issue Key', }, { displayName: 'JSON Parameters', name: 'jsonParameters', type: 'boolean', default: false, - description: '', displayOptions: { show: { resource: [ @@ -882,8 +856,7 @@ export const issueFields: INodeProperties[] = [ name: 'subject', type: 'string', default: '', - description: `The subject of the email notification for the issue. If this is not specified, - then the subject is set to the issue key and summary.`, + description: 'The subject of the email notification for the issue. If this is not specified, then the subject is set to the issue key and summary.', }, { displayName: 'Text Body', @@ -893,8 +866,7 @@ export const issueFields: INodeProperties[] = [ alwaysOpenEditWindow: true, }, default: '', - description: `The subject of the email notification for the issue. - If this is not specified, then the subject is set to the issue key and summary.`, + description: 'The subject of the email notification for the issue. If this is not specified, then the subject is set to the issue key and summary.', }, ], }, @@ -1098,7 +1070,6 @@ export const issueFields: INodeProperties[] = [ }, }, default: '', - description: 'Issue Key', }, { displayName: 'Additional Fields', @@ -1136,8 +1107,7 @@ export const issueFields: INodeProperties[] = [ name: 'skipRemoteOnlyCondition', type: 'boolean', default: false, - description: `Indicates whether transitions with the condition Hide - From User Condition are included in the response.`, + description: 'Indicates whether transitions with the condition Hide From User Condition are included in the response.', }, ], }, diff --git a/packages/nodes-base/nodes/Jira/Jira.node.ts b/packages/nodes-base/nodes/Jira/Jira.node.ts index 4eb318aa8..bca765580 100644 --- a/packages/nodes-base/nodes/Jira/Jira.node.ts +++ b/packages/nodes-base/nodes/Jira/Jira.node.ts @@ -442,7 +442,7 @@ export class Jira implements INodeType { async execute(this: IExecuteFunctions): Promise { const items = this.getInputData(); const returnData: IDataObject[] = []; - const length = items.length as unknown as number; + const length = items.length; let responseData; const qs: IDataObject = {}; diff --git a/packages/nodes-base/nodes/Kafka/Kafka.node.ts b/packages/nodes-base/nodes/Kafka/Kafka.node.ts index e5eb9a7bc..fdabddec6 100644 --- a/packages/nodes-base/nodes/Kafka/Kafka.node.ts +++ b/packages/nodes-base/nodes/Kafka/Kafka.node.ts @@ -200,7 +200,7 @@ export class Kafka implements INodeType { async execute(this: IExecuteFunctions): Promise { const items = this.getInputData(); - const length = items.length as unknown as number; + const length = items.length; const topicMessages: TopicMessages[] = []; diff --git a/packages/nodes-base/nodes/Keap/CompanyDescription.ts b/packages/nodes-base/nodes/Keap/CompanyDescription.ts index 52398290e..ca5824350 100644 --- a/packages/nodes-base/nodes/Keap/CompanyDescription.ts +++ b/packages/nodes-base/nodes/Keap/CompanyDescription.ts @@ -106,7 +106,7 @@ export const companyFields: INodeProperties[] = [ typeOptions: { multipleValues: false, }, - default: '', + default: {}, placeholder: 'Add Address', displayOptions: { show: { @@ -366,7 +366,7 @@ export const companyFields: INodeProperties[] = [ name: 'fields', type: 'string', default: '', - description: `Comma-delimited list of Company properties to include in the response. (Fields such as notes, fax_number and custom_fields aren't included, by default.)`, + description: 'Comma-delimited list of Company properties to include in the response. (Fields such as notes, fax_number and custom_fields aren\'t included, by default.).', }, ], }, diff --git a/packages/nodes-base/nodes/Keap/ContactDescription.ts b/packages/nodes-base/nodes/Keap/ContactDescription.ts index 4693a9425..8d7759c20 100644 --- a/packages/nodes-base/nodes/Keap/ContactDescription.ts +++ b/packages/nodes-base/nodes/Keap/ContactDescription.ts @@ -72,7 +72,7 @@ export const contactFields: INodeProperties[] = [ }, }, default: 'email', - description: `Performs duplicate checking by one of the following options: Email, EmailAndName. If a match is found using the option provided, the existing contact will be updated`, + description: 'Performs duplicate checking by one of the following options: Email, EmailAndName. If a match is found using the option provided, the existing contact will be updated.', }, { displayName: 'Additional Fields', @@ -241,7 +241,7 @@ export const contactFields: INodeProperties[] = [ typeOptions: { multipleValues: true, }, - default: '', + default: {}, placeholder: 'Add Address', displayOptions: { show: { @@ -506,7 +506,7 @@ export const contactFields: INodeProperties[] = [ typeOptions: { multipleValues: true, }, - default: '', + default: {}, placeholder: 'Add Social Account', displayOptions: { show: { @@ -615,7 +615,7 @@ export const contactFields: INodeProperties[] = [ name: 'fields', type: 'string', default: '', - description: `Comma-delimited list of Contact properties to include in the response. (Some fields such as lead_source_id, custom_fields, and job_title aren't included, by default.)`, + description: 'Comma-delimited list of Contact properties to include in the response. (Some fields such as lead_source_id, custom_fields, and job_title aren\'t included, by default.).', }, ], }, diff --git a/packages/nodes-base/nodes/Keap/EcommerceOrderDescripion.ts b/packages/nodes-base/nodes/Keap/EcommerceOrderDescripion.ts index 874ce3d7a..443bbd1a7 100644 --- a/packages/nodes-base/nodes/Keap/EcommerceOrderDescripion.ts +++ b/packages/nodes-base/nodes/Keap/EcommerceOrderDescripion.ts @@ -175,7 +175,7 @@ export const ecommerceOrderFields: INodeProperties[] = [ typeOptions: { multipleValues: false, }, - default: '', + default: {}, placeholder: 'Add Address', displayOptions: { show: { diff --git a/packages/nodes-base/nodes/Keap/EmailDescription.ts b/packages/nodes-base/nodes/Keap/EmailDescription.ts index 661ebcefd..5bc6e6348 100644 --- a/packages/nodes-base/nodes/Keap/EmailDescription.ts +++ b/packages/nodes-base/nodes/Keap/EmailDescription.ts @@ -341,7 +341,7 @@ export const emailFields: INodeProperties[] = [ }, }, default: '', - description: 'Contact Ids to receive the email. Multiple can be added seperated by comma', + description: 'Contact Ids to receive the email. Multiple can be added seperated by comma.', }, { displayName: 'Subject', @@ -456,7 +456,7 @@ export const emailFields: INodeProperties[] = [ ], }, ], - default: '', + default: {}, description: 'Attachments to be sent with each copy of the email, maximum of 10 with size of 1MB each', }, ]; diff --git a/packages/nodes-base/nodes/Keap/Keap.node.ts b/packages/nodes-base/nodes/Keap/Keap.node.ts index 8b314f254..e9332d03d 100644 --- a/packages/nodes-base/nodes/Keap/Keap.node.ts +++ b/packages/nodes-base/nodes/Keap/Keap.node.ts @@ -289,7 +289,7 @@ export class Keap implements INodeType { async execute(this: IExecuteFunctions): Promise { const items = this.getInputData(); const returnData: IDataObject[] = []; - const length = items.length as unknown as number; + const length = items.length; const qs: IDataObject = {}; let responseData; const resource = this.getNodeParameter('resource', 0) as string; diff --git a/packages/nodes-base/nodes/KoBoToolbox/FormDescription.ts b/packages/nodes-base/nodes/KoBoToolbox/FormDescription.ts index daf053620..e204977ae 100644 --- a/packages/nodes-base/nodes/KoBoToolbox/FormDescription.ts +++ b/packages/nodes-base/nodes/KoBoToolbox/FormDescription.ts @@ -122,7 +122,7 @@ export const formFields: INodeProperties[] = [ typeOptions: { multipleValues: false, }, - default: '', + default: {}, placeholder: 'Add Sort', options: [ { diff --git a/packages/nodes-base/nodes/KoBoToolbox/Options.ts b/packages/nodes-base/nodes/KoBoToolbox/Options.ts index 2824225e5..db5c32108 100644 --- a/packages/nodes-base/nodes/KoBoToolbox/Options.ts +++ b/packages/nodes-base/nodes/KoBoToolbox/Options.ts @@ -67,7 +67,7 @@ export const options = { name: 'selectMask', type: 'string', default: 'select_*', - description: 'Comma-separated list of wildcard-style selectors for fields that should be treated as multiselect fields, i.e. parsed as arrays', + description: 'Comma-separated list of wildcard-style selectors for fields that should be treated as multiselect fields, i.e. parsed as arrays.', }, { displayName: 'Number Mask', diff --git a/packages/nodes-base/nodes/KoBoToolbox/SubmissionDescription.ts b/packages/nodes-base/nodes/KoBoToolbox/SubmissionDescription.ts index 8caaa3e7b..65b221194 100644 --- a/packages/nodes-base/nodes/KoBoToolbox/SubmissionDescription.ts +++ b/packages/nodes-base/nodes/KoBoToolbox/SubmissionDescription.ts @@ -237,7 +237,7 @@ export const submissionFields: INodeProperties[] = [ name: 'fields', type: 'string', default: '', - description: 'Comma-separated list of fields to retrieve (e.g. _submission_time,_submitted_by). If left blank, all fields are retrieved', + description: 'Comma-separated list of fields to retrieve (e.g. _submission_time,_submitted_by). If left blank, all fields are retrieved.', }, { displayName: 'File Size', @@ -276,7 +276,7 @@ export const submissionFields: INodeProperties[] = [ name: 'selectMask', type: 'string', default: 'select_*', - description: 'Comma-separated list of wildcard-style selectors for fields that should be treated as multiselect fields, i.e. parsed as arrays', + description: 'Comma-separated list of wildcard-style selectors for fields that should be treated as multiselect fields, i.e. parsed as arrays.', }, { displayName: 'Number Mask', diff --git a/packages/nodes-base/nodes/Line/Line.node.ts b/packages/nodes-base/nodes/Line/Line.node.ts index 0d0c54436..4f25af9e4 100644 --- a/packages/nodes-base/nodes/Line/Line.node.ts +++ b/packages/nodes-base/nodes/Line/Line.node.ts @@ -69,7 +69,7 @@ export class Line implements INodeType { async execute(this: IExecuteFunctions): Promise { const items = this.getInputData(); const returnData: IDataObject[] = []; - const length = (items.length as unknown) as number; + const length = items.length; const qs: IDataObject = {}; let responseData; const resource = this.getNodeParameter('resource', 0) as string; diff --git a/packages/nodes-base/nodes/Line/NotificationDescription.ts b/packages/nodes-base/nodes/Line/NotificationDescription.ts index 148164115..05b58475f 100644 --- a/packages/nodes-base/nodes/Line/NotificationDescription.ts +++ b/packages/nodes-base/nodes/Line/NotificationDescription.ts @@ -97,7 +97,7 @@ export const notificationFields: INodeProperties[] = [ ], }, }, - description: 'HTTP/HTTPS URL. Maximum size of 2048×2048px JPEG', + description: 'HTTP/HTTPS URL. Maximum size of 2048×2048px JPEG.', }, { displayName: 'Image Thumbnail', @@ -111,7 +111,7 @@ export const notificationFields: INodeProperties[] = [ }, }, default: '', - description: 'HTTP/HTTPS URL. Maximum size of 240×240px JPEG', + description: 'HTTP/HTTPS URL. Maximum size of 240×240px JPEG.', }, { displayName: 'Binary Property', @@ -157,7 +157,6 @@ export const notificationFields: INodeProperties[] = [ name: 'stickerId', type: 'number', default: '', - description: 'Sticker ID', }, { displayName: 'Sticker Package ID', diff --git a/packages/nodes-base/nodes/Linear/Linear.node.ts b/packages/nodes-base/nodes/Linear/Linear.node.ts index 83a2e7c1a..2ed4874ef 100644 --- a/packages/nodes-base/nodes/Linear/Linear.node.ts +++ b/packages/nodes-base/nodes/Linear/Linear.node.ts @@ -158,7 +158,7 @@ export class Linear implements INodeType { async execute(this: IExecuteFunctions): Promise { const items = this.getInputData(); const returnData: IDataObject[] = []; - const length = items.length as unknown as number; + const length = items.length; let responseData; const qs: IDataObject = {}; const resource = this.getNodeParameter('resource', 0) as string; diff --git a/packages/nodes-base/nodes/LingvaNex/LingvaNex.node.ts b/packages/nodes-base/nodes/LingvaNex/LingvaNex.node.ts index a024fb48e..baafa44ab 100644 --- a/packages/nodes-base/nodes/LingvaNex/LingvaNex.node.ts +++ b/packages/nodes-base/nodes/LingvaNex/LingvaNex.node.ts @@ -115,7 +115,6 @@ export class LingvaNex implements INodeType { name: 'platform', type: 'string', default: 'api', - description: '', }, { displayName: 'Translate Mode', @@ -155,7 +154,7 @@ export class LingvaNex implements INodeType { async execute(this: IExecuteFunctions): Promise { const items = this.getInputData(); - const length = items.length as unknown as number; + const length = items.length; const operation = this.getNodeParameter('operation', 0) as string; const responseData = []; diff --git a/packages/nodes-base/nodes/LinkedIn/LinkedIn.node.ts b/packages/nodes-base/nodes/LinkedIn/LinkedIn.node.ts index 80cb1a875..68370fcea 100644 --- a/packages/nodes-base/nodes/LinkedIn/LinkedIn.node.ts +++ b/packages/nodes-base/nodes/LinkedIn/LinkedIn.node.ts @@ -15,6 +15,7 @@ import { } from './PostDescription'; export class LinkedIn implements INodeType { + // eslint-disable-next-line n8n-nodes-base/node-class-description-missing-subtitle description: INodeTypeDescription = { displayName: 'LinkedIn', name: 'linkedIn', diff --git a/packages/nodes-base/nodes/LocalFileTrigger/LocalFileTrigger.node.ts b/packages/nodes-base/nodes/LocalFileTrigger/LocalFileTrigger.node.ts index ac38f1e2d..e6b064135 100644 --- a/packages/nodes-base/nodes/LocalFileTrigger/LocalFileTrigger.node.ts +++ b/packages/nodes-base/nodes/LocalFileTrigger/LocalFileTrigger.node.ts @@ -136,6 +136,7 @@ export class LocalFileTrigger implements INodeType { placeholder: '**/*.txt', description: 'Files or paths to ignore. The whole path is tested, not just the filename. Supports Anymatch- syntax.', }, + // eslint-disable-next-line n8n-nodes-base/node-param-default-missing { displayName: 'Max Folder Depth', name: 'depth', diff --git a/packages/nodes-base/nodes/MQTT/Mqtt.node.ts b/packages/nodes-base/nodes/MQTT/Mqtt.node.ts index 712b712b7..a5b371927 100644 --- a/packages/nodes-base/nodes/MQTT/Mqtt.node.ts +++ b/packages/nodes-base/nodes/MQTT/Mqtt.node.ts @@ -107,7 +107,7 @@ export class Mqtt implements INodeType { async execute(this: IExecuteFunctions): Promise { const items = this.getInputData(); - const length = (items.length as unknown) as number; + const length = items.length; const credentials = await this.getCredentials('mqtt'); const protocol = credentials.protocol as string || 'mqtt'; diff --git a/packages/nodes-base/nodes/Magento/GenericFunctions.ts b/packages/nodes-base/nodes/Magento/GenericFunctions.ts index baede8153..e086f7d08 100644 --- a/packages/nodes-base/nodes/Magento/GenericFunctions.ts +++ b/packages/nodes-base/nodes/Magento/GenericFunctions.ts @@ -283,7 +283,7 @@ export function getSearchFilters(resource: string, filterableAttributeFunction: ], }, }, - default: '', + default: {}, placeholder: 'Add Condition', options: [ { @@ -335,7 +335,6 @@ export function getSearchFilters(resource: string, filterableAttributeFunction: }, }, default: '', - description: '', }, { displayName: 'Options', @@ -571,7 +570,7 @@ export function getCustomerOptionalFields(): INodeProperties[] { typeOptions: { multipleValues: true, }, - default: '', + default: {}, placeholder: 'Add Custom Attribute', options: [ { diff --git a/packages/nodes-base/nodes/Magento/Magento2.node.ts b/packages/nodes-base/nodes/Magento/Magento2.node.ts index b1ac7c941..396819d83 100644 --- a/packages/nodes-base/nodes/Magento/Magento2.node.ts +++ b/packages/nodes-base/nodes/Magento/Magento2.node.ts @@ -284,7 +284,7 @@ export class Magento2 implements INodeType { async execute(this: IExecuteFunctions): Promise { const items = this.getInputData(); const returnData: IDataObject[] = []; - const length = (items.length as unknown) as number; + const length = items.length; const timezone = this.getTimezone(); let responseData; const resource = this.getNodeParameter('resource', 0) as string; diff --git a/packages/nodes-base/nodes/Mailcheck/Mailcheck.node.ts b/packages/nodes-base/nodes/Mailcheck/Mailcheck.node.ts index 0e1805a5f..6f5060b51 100644 --- a/packages/nodes-base/nodes/Mailcheck/Mailcheck.node.ts +++ b/packages/nodes-base/nodes/Mailcheck/Mailcheck.node.ts @@ -88,7 +88,7 @@ export class Mailcheck implements INodeType { async execute(this: IExecuteFunctions): Promise { const items = this.getInputData(); const returnData: IDataObject[] = []; - const length = items.length as unknown as number; + const length = items.length; let responseData; const resource = this.getNodeParameter('resource', 0) as string; diff --git a/packages/nodes-base/nodes/Mailchimp/Mailchimp.node.ts b/packages/nodes-base/nodes/Mailchimp/Mailchimp.node.ts index fdca21ebe..5d5c0b5f1 100644 --- a/packages/nodes-base/nodes/Mailchimp/Mailchimp.node.ts +++ b/packages/nodes-base/nodes/Mailchimp/Mailchimp.node.ts @@ -1209,8 +1209,7 @@ export class Mailchimp implements INodeType { name: 'skipMergeValidation', type: 'boolean', default: false, - description: `If skip_merge_validation is true, member data will be accepted without merge field values, - even if the merge field is usually required`, + description: 'If skip_merge_validation is true, member data will be accepted without merge field values, even if the merge field is usually required', }, { displayName: 'Status', @@ -1854,7 +1853,7 @@ export class Mailchimp implements INodeType { async execute(this: IExecuteFunctions): Promise { const items = this.getInputData(); const returnData: IDataObject[] = []; - const length = items.length as unknown as number; + const length = items.length; let responseData; const qs: IDataObject = {}; const resource = this.getNodeParameter('resource', 0) as string; diff --git a/packages/nodes-base/nodes/MailerLite/MailerLite.node.ts b/packages/nodes-base/nodes/MailerLite/MailerLite.node.ts index 700297d9f..48f3c0636 100644 --- a/packages/nodes-base/nodes/MailerLite/MailerLite.node.ts +++ b/packages/nodes-base/nodes/MailerLite/MailerLite.node.ts @@ -81,7 +81,7 @@ export class MailerLite implements INodeType { async execute(this: IExecuteFunctions): Promise { const items = this.getInputData(); const returnData: IDataObject[] = []; - const length = (items.length as unknown) as number; + const length = items.length; const qs: IDataObject = {}; let responseData; const resource = this.getNodeParameter('resource', 0) as string; diff --git a/packages/nodes-base/nodes/Mailgun/Mailgun.node.ts b/packages/nodes-base/nodes/Mailgun/Mailgun.node.ts index 3bd11cd85..62b4ab38d 100644 --- a/packages/nodes-base/nodes/Mailgun/Mailgun.node.ts +++ b/packages/nodes-base/nodes/Mailgun/Mailgun.node.ts @@ -97,7 +97,7 @@ export class Mailgun implements INodeType { name: 'attachments', type: 'string', default: '', - description: 'Name of the binary properties which contain data which should be added to email as attachment. Multiple ones can be comma separated.', + description: 'Name of the binary properties which contain data which should be added to email as attachment. Multiple ones can be comma-separated.', }, ], }; @@ -107,7 +107,7 @@ export class Mailgun implements INodeType { const items = this.getInputData(); const returnData: INodeExecutionData[] = []; - const length = items.length as unknown as number; + const length = items.length; let item: INodeExecutionData; for (let itemIndex = 0; itemIndex < length; itemIndex++) { diff --git a/packages/nodes-base/nodes/Mailjet/Mailjet.node.ts b/packages/nodes-base/nodes/Mailjet/Mailjet.node.ts index 9881ae304..37eec5828 100644 --- a/packages/nodes-base/nodes/Mailjet/Mailjet.node.ts +++ b/packages/nodes-base/nodes/Mailjet/Mailjet.node.ts @@ -137,7 +137,7 @@ export class Mailjet implements INodeType { async execute(this: IExecuteFunctions): Promise { const items = this.getInputData(); const returnData: IDataObject[] = []; - const length = items.length as unknown as number; + const length = items.length; let responseData; const resource = this.getNodeParameter('resource', 0) as string; const operation = this.getNodeParameter('operation', 0) as string; diff --git a/packages/nodes-base/nodes/Mandrill/Mandrill.node.ts b/packages/nodes-base/nodes/Mandrill/Mandrill.node.ts index 97cc9b152..b556af02e 100644 --- a/packages/nodes-base/nodes/Mandrill/Mandrill.node.ts +++ b/packages/nodes-base/nodes/Mandrill/Mandrill.node.ts @@ -216,7 +216,6 @@ export class Mandrill implements INodeType { name: 'jsonParameters', type: 'boolean', default: false, - description: '', displayOptions: { show: { operation: [ @@ -458,7 +457,7 @@ export class Mandrill implements INodeType { name: 'mergeVarsUi', placeholder: 'Add Merge Vars', type: 'fixedCollection', - default: '', + default: {}, typeOptions: { multipleValues: true, }, @@ -496,7 +495,7 @@ export class Mandrill implements INodeType { name: 'metadataUi', placeholder: 'Add Metadata', type: 'fixedCollection', - default: '', + default: {}, typeOptions: { multipleValues: true, }, @@ -634,7 +633,7 @@ export class Mandrill implements INodeType { ], }, ], - default: '', + default: {}, description: 'Array of supported attachments to add to the message.', }, { @@ -662,7 +661,7 @@ export class Mandrill implements INodeType { name: 'headersUi', placeholder: 'Add Headers', type: 'fixedCollection', - default: '', + default: {}, typeOptions: { multipleValues: true, }, @@ -683,14 +682,12 @@ export class Mandrill implements INodeType { name: 'name', type: 'string', default: '', - description: '', }, { displayName: 'Value', name: 'value', type: 'string', default: '', - description: '', }, ], }, diff --git a/packages/nodes-base/nodes/Markdown/Markdown.node.ts b/packages/nodes-base/nodes/Markdown/Markdown.node.ts index 8a5bec541..9cb2dd9e0 100644 --- a/packages/nodes-base/nodes/Markdown/Markdown.node.ts +++ b/packages/nodes-base/nodes/Markdown/Markdown.node.ts @@ -321,6 +321,7 @@ export class Markdown implements INodeType { displayName: 'Automatic Linking To URLs', name: 'simplifiedAutoLink', type: 'boolean', + // eslint-disable-next-line n8n-nodes-base/node-param-default-wrong-for-simplify default: false, description: 'Whether to enable automatic linking to urls', }, @@ -478,6 +479,7 @@ export class Markdown implements INodeType { displayName: 'Simple Line Breaks', name: 'simpleLineBreaks', type: 'boolean', + // eslint-disable-next-line n8n-nodes-base/node-param-default-wrong-for-simplify default: false, description: 'Whether to parse line breaks as
, like GitHub does, without needing 2 spaces at the end of the line', diff --git a/packages/nodes-base/nodes/Matrix/MessageDescription.ts b/packages/nodes-base/nodes/Matrix/MessageDescription.ts index 3b98e822b..5cb75915b 100644 --- a/packages/nodes-base/nodes/Matrix/MessageDescription.ts +++ b/packages/nodes-base/nodes/Matrix/MessageDescription.ts @@ -188,7 +188,7 @@ export const messageFields: INodeProperties[] = [ ], }, }, - description: 'The token to start returning events from. This token can be obtained from a prev_batch token returned for each room by the sync API', + description: 'The token to start returning events from. This token can be obtained from a prev_batch token returned for each room by the sync API.', required: true, }, { @@ -248,7 +248,6 @@ export const messageFields: INodeProperties[] = [ }, }, default: {}, - description: 'Other options', placeholder: 'Add options', options: [ { diff --git a/packages/nodes-base/nodes/Matrix/RoomDescription.ts b/packages/nodes-base/nodes/Matrix/RoomDescription.ts index a08821e9c..e2fb624b5 100644 --- a/packages/nodes-base/nodes/Matrix/RoomDescription.ts +++ b/packages/nodes-base/nodes/Matrix/RoomDescription.ts @@ -138,7 +138,6 @@ export const roomFields: INodeProperties[] = [ }, }, default: '', - description: 'Room ID or alias', required: true, }, @@ -163,7 +162,6 @@ export const roomFields: INodeProperties[] = [ }, }, default: '', - description: 'Room ID', required: true, }, @@ -188,7 +186,6 @@ export const roomFields: INodeProperties[] = [ }, }, default: '', - description: 'Room ID', required: true, }, @@ -234,7 +231,6 @@ export const roomFields: INodeProperties[] = [ }, }, default: '', - description: 'Room ID', required: true, }, { diff --git a/packages/nodes-base/nodes/Matrix/RoomMemberDescription.ts b/packages/nodes-base/nodes/Matrix/RoomMemberDescription.ts index 5b596dfe7..00405f772 100644 --- a/packages/nodes-base/nodes/Matrix/RoomMemberDescription.ts +++ b/packages/nodes-base/nodes/Matrix/RoomMemberDescription.ts @@ -49,7 +49,6 @@ export const roomMemberFields: INodeProperties[] = [ }, }, default: '', - description: 'Room ID', required: true, }, { diff --git a/packages/nodes-base/nodes/Mattermost/v1/actions/message/post/description.ts b/packages/nodes-base/nodes/Mattermost/v1/actions/message/post/description.ts index ea00997f4..ce17d4104 100644 --- a/packages/nodes-base/nodes/Mattermost/v1/actions/message/post/description.ts +++ b/packages/nodes-base/nodes/Mattermost/v1/actions/message/post/description.ts @@ -71,7 +71,7 @@ export const messagePostDescription: MessageProperties = [ displayName: 'Actions', name: 'actions', placeholder: 'Add Actions', - description: 'Actions to add to message. More information can be found here', + description: 'Actions to add to message. More information can be found here.', type: 'fixedCollection', typeOptions: { multipleValues: true, diff --git a/packages/nodes-base/nodes/Mautic/CampaignContactDescription.ts b/packages/nodes-base/nodes/Mautic/CampaignContactDescription.ts index 6ce9fa2d2..2bff30bdd 100644 --- a/packages/nodes-base/nodes/Mautic/CampaignContactDescription.ts +++ b/packages/nodes-base/nodes/Mautic/CampaignContactDescription.ts @@ -53,7 +53,6 @@ export const campaignContactFields: INodeProperties[] = [ }, }, default: '', - description: 'Contact ID', }, { @@ -76,7 +75,6 @@ export const campaignContactFields: INodeProperties[] = [ loadOptionsMethod: 'getCampaigns', }, default: '', - description: 'Campaign ID', }, ]; diff --git a/packages/nodes-base/nodes/Mautic/CompanyDescription.ts b/packages/nodes-base/nodes/Mautic/CompanyDescription.ts index 4eae5da1b..9d8e4cf51 100644 --- a/packages/nodes-base/nodes/Mautic/CompanyDescription.ts +++ b/packages/nodes-base/nodes/Mautic/CompanyDescription.ts @@ -243,7 +243,7 @@ export const companyFields: INodeProperties[] = [ name: 'overwriteWithBlank', type: 'boolean', default: false, - description: 'If true, then empty values are set to fields. Otherwise empty values are skipped', + description: 'If true, then empty values are set to fields. Otherwise empty values are skipped.', }, { displayName: 'Phone', @@ -461,7 +461,7 @@ export const companyFields: INodeProperties[] = [ name: 'overwriteWithBlank', type: 'boolean', default: false, - description: 'If true, then empty values are set to fields. Otherwise empty values are skipped', + description: 'If true, then empty values are set to fields. Otherwise empty values are skipped.', }, { displayName: 'Phone', diff --git a/packages/nodes-base/nodes/Mautic/ContactDescription.ts b/packages/nodes-base/nodes/Mautic/ContactDescription.ts index cda3cb04a..26081104b 100644 --- a/packages/nodes-base/nodes/Mautic/ContactDescription.ts +++ b/packages/nodes-base/nodes/Mautic/ContactDescription.ts @@ -71,7 +71,6 @@ export const contactFields: INodeProperties[] = [ name: 'jsonParameters', type: 'boolean', default: false, - description: '', displayOptions: { show: { operation: [ @@ -121,7 +120,6 @@ export const contactFields: INodeProperties[] = [ }, }, default: '', - description: 'First Name', }, { displayName: 'Last Name', @@ -141,7 +139,6 @@ export const contactFields: INodeProperties[] = [ }, }, default: '', - description: 'Last Name', }, { displayName: 'Primary Company', @@ -164,7 +161,6 @@ export const contactFields: INodeProperties[] = [ }, }, default: '', - description: 'Primary company', }, { displayName: 'Position', @@ -184,7 +180,6 @@ export const contactFields: INodeProperties[] = [ }, }, default: '', - description: 'Position', }, { displayName: 'Title', @@ -204,7 +199,6 @@ export const contactFields: INodeProperties[] = [ }, }, default: '', - description: 'Title', }, { displayName: 'Body', @@ -438,7 +432,7 @@ export const contactFields: INodeProperties[] = [ typeOptions: { loadOptionsMethod: 'getTags', }, - default: '', + default: [], }, { displayName: 'Social Media', @@ -521,14 +515,12 @@ export const contactFields: INodeProperties[] = [ }, }, default: '', - description: 'Contact ID', }, { displayName: 'JSON Parameters', name: 'jsonParameters', type: 'boolean', default: false, - description: '', displayOptions: { show: { operation: [ @@ -743,7 +735,6 @@ export const contactFields: INodeProperties[] = [ }, }, default: '', - description: 'First Name', }, { displayName: 'Has Purchased', @@ -852,7 +843,6 @@ export const contactFields: INodeProperties[] = [ }, }, default: '', - description: 'Position', }, { displayName: 'Primary Company', @@ -869,7 +859,6 @@ export const contactFields: INodeProperties[] = [ }, }, default: '', - description: 'Primary company', }, { displayName: 'Prospect or Customer', @@ -937,7 +926,7 @@ export const contactFields: INodeProperties[] = [ typeOptions: { loadOptionsMethod: 'getTags', }, - default: '', + default: [], }, { displayName: 'Title', @@ -951,7 +940,6 @@ export const contactFields: INodeProperties[] = [ }, }, default: '', - description: 'Title', }, { displayName: 'Social Media', @@ -1062,7 +1050,6 @@ export const contactFields: INodeProperties[] = [ }, }, default: '', - description: 'Contact ID', }, { displayName: 'Action', @@ -1181,7 +1168,6 @@ export const contactFields: INodeProperties[] = [ }, }, default: '', - description: 'Contact ID', }, { displayName: 'Action', @@ -1243,7 +1229,6 @@ export const contactFields: INodeProperties[] = [ }, }, default: '', - description: 'Contact ID', }, /* -------------------------------------------------------------------------- */ @@ -1309,7 +1294,6 @@ export const contactFields: INodeProperties[] = [ }, }, default: '', - description: 'Contact ID', }, /* -------------------------------------------------------------------------- */ @@ -1436,8 +1420,7 @@ export const contactFields: INodeProperties[] = [ name: 'rawData', type: 'boolean', default: true, - description: `By default only the data of the fields get returned. If this - options gets set the RAW response with all data gets returned.`, + description: 'By default only the data of the fields get returned. If this options gets set the RAW response with all data gets returned.', }, ], }, diff --git a/packages/nodes-base/nodes/Mautic/ContactSegmentDescription.ts b/packages/nodes-base/nodes/Mautic/ContactSegmentDescription.ts index 9038f8e87..acaada72e 100644 --- a/packages/nodes-base/nodes/Mautic/ContactSegmentDescription.ts +++ b/packages/nodes-base/nodes/Mautic/ContactSegmentDescription.ts @@ -53,7 +53,6 @@ export const contactSegmentFields: INodeProperties[] = [ }, }, default: '', - description: 'Contact ID', }, { @@ -76,7 +75,6 @@ export const contactSegmentFields: INodeProperties[] = [ loadOptionsMethod: 'getSegments', }, default: '', - description: 'Segment ID', }, ]; diff --git a/packages/nodes-base/nodes/Mautic/Mautic.node.ts b/packages/nodes-base/nodes/Mautic/Mautic.node.ts index a1ee45190..6c46b4895 100644 --- a/packages/nodes-base/nodes/Mautic/Mautic.node.ts +++ b/packages/nodes-base/nodes/Mautic/Mautic.node.ts @@ -351,7 +351,7 @@ export class Mautic implements INodeType { async execute(this: IExecuteFunctions): Promise { const items = this.getInputData(); const returnData: IDataObject[] = []; - const length = items.length as unknown as number; + const length = items.length; let qs: IDataObject; let responseData; diff --git a/packages/nodes-base/nodes/Mautic/MauticTrigger.node.ts b/packages/nodes-base/nodes/Mautic/MauticTrigger.node.ts index 5853ed656..5c03fd307 100644 --- a/packages/nodes-base/nodes/Mautic/MauticTrigger.node.ts +++ b/packages/nodes-base/nodes/Mautic/MauticTrigger.node.ts @@ -107,7 +107,7 @@ export class MauticTrigger implements INodeType { value: 'DESC', }, ], - description: 'Order direction for queued events in one webhook. Can be “DESC” or “ASC”', + description: 'Order direction for queued events in one webhook. Can be “DESC” or “ASC”.', }, ], }; diff --git a/packages/nodes-base/nodes/Medium/Medium.node.ts b/packages/nodes-base/nodes/Medium/Medium.node.ts index 7888b15cc..dc89b0034 100644 --- a/packages/nodes-base/nodes/Medium/Medium.node.ts +++ b/packages/nodes-base/nodes/Medium/Medium.node.ts @@ -171,7 +171,7 @@ export class Medium implements INodeType { ], }, }, - description: 'Title of the post. Max Length : 100 characters', + description: 'Title of the post. Max Length : 100 characters.', }, { displayName: 'Content Format', diff --git a/packages/nodes-base/nodes/Merge/Merge.node.ts b/packages/nodes-base/nodes/Merge/Merge.node.ts index 72572c1fc..37fc11b81 100644 --- a/packages/nodes-base/nodes/Merge/Merge.node.ts +++ b/packages/nodes-base/nodes/Merge/Merge.node.ts @@ -90,17 +90,17 @@ export class Merge implements INodeType { { name: 'Inner Join', value: 'inner', - description: 'Merges as many items as both inputs contain. (Example: Input1 = 5 items, Input2 = 3 items | Output will contain 3 items)', + description: 'Merges as many items as both inputs contain. (Example: Input1 = 5 items, Input2 = 3 items | Output will contain 3 items).', }, { name: 'Left Join', value: 'left', - description: 'Merges as many items as first input contains. (Example: Input1 = 3 items, Input2 = 5 items | Output will contain 3 items)', + description: 'Merges as many items as first input contains. (Example: Input1 = 3 items, Input2 = 5 items | Output will contain 3 items).', }, { name: 'Outer Join', value: 'outer', - description: 'Merges as many items as input contains with most items. (Example: Input1 = 3 items, Input2 = 5 items | Output will contain 5 items)', + description: 'Merges as many items as input contains with most items. (Example: Input1 = 3 items, Input2 = 5 items | Output will contain 5 items).', }, ], default: 'left', diff --git a/packages/nodes-base/nodes/Microsoft/Dynamics/GenericFunctions.ts b/packages/nodes-base/nodes/Microsoft/Dynamics/GenericFunctions.ts index 370561c02..d4ca3b139 100644 --- a/packages/nodes-base/nodes/Microsoft/Dynamics/GenericFunctions.ts +++ b/packages/nodes-base/nodes/Microsoft/Dynamics/GenericFunctions.ts @@ -274,7 +274,6 @@ export function getAccountFields(): INodeProperties[] { name: 'fax', type: 'string', default: '', - description: '', }, { displayName: 'FTP site URL', @@ -315,7 +314,7 @@ export function getAccountFields(): INodeProperties[] { name: 'creditlimit', type: 'number', default: '', - description: 'Credit limit of the account. This is a useful reference when you address invoice and accounting issues with the customer', + description: 'Credit limit of the account. This is a useful reference when you address invoice and accounting issues with the customer.', }, { displayName: 'Number Of Employees', @@ -369,14 +368,12 @@ export function getAccountFields(): INodeProperties[] { name: 'primarysatoriid', type: 'string', default: '', - description: '', }, { displayName: 'Primary Twitter ID', name: 'primarytwitterid', type: 'string', default: '', - description: '', }, { displayName: 'Revenue', @@ -390,7 +387,7 @@ export function getAccountFields(): INodeProperties[] { name: 'sharesoutstanding', type: 'number', default: '', - description: 'The number of shares available to the public for the account. This number is used as an indicator in financial performance analysis', + description: 'The number of shares available to the public for the account. This number is used as an indicator in financial performance analysis.', }, { displayName: 'Shipping Method', @@ -414,7 +411,6 @@ export function getAccountFields(): INodeProperties[] { name: 'stageid', type: 'string', default: '', - description: '', }, { displayName: 'Stock Exchange', @@ -459,7 +455,7 @@ export function getAccountFields(): INodeProperties[] { name: 'tickersymbol', type: 'string', default: '', - description: 'Type the stock exchange symbol for the account to track financial performance of the company. You can click the code entered in this field to access the latest trading information from MSN Money', + description: 'Type the stock exchange symbol for the account to track financial performance of the company. You can click the code entered in this field to access the latest trading information from MSN Money.', }, { displayName: 'Website URL', diff --git a/packages/nodes-base/nodes/Microsoft/Dynamics/MicrosoftDynamicsCrm.node.ts b/packages/nodes-base/nodes/Microsoft/Dynamics/MicrosoftDynamicsCrm.node.ts index 01094d40d..28afd8ce0 100644 --- a/packages/nodes-base/nodes/Microsoft/Dynamics/MicrosoftDynamicsCrm.node.ts +++ b/packages/nodes-base/nodes/Microsoft/Dynamics/MicrosoftDynamicsCrm.node.ts @@ -122,7 +122,7 @@ export class MicrosoftDynamicsCrm implements INodeType { async execute(this: IExecuteFunctions): Promise { const items = this.getInputData(); const returnData: IDataObject[] = []; - const length = items.length as unknown as number; + const length = items.length; const qs: IDataObject = {}; let responseData; const resource = this.getNodeParameter('resource', 0) as string; diff --git a/packages/nodes-base/nodes/Microsoft/Dynamics/descriptions/AccountDescription.ts b/packages/nodes-base/nodes/Microsoft/Dynamics/descriptions/AccountDescription.ts index 6d323549f..bbc494531 100644 --- a/packages/nodes-base/nodes/Microsoft/Dynamics/descriptions/AccountDescription.ts +++ b/packages/nodes-base/nodes/Microsoft/Dynamics/descriptions/AccountDescription.ts @@ -178,7 +178,7 @@ export const accountFields: INodeProperties[] = [ typeOptions: { loadOptionsMethod: 'getAccountFields', }, - default: '', + default: [], }, { displayName: 'Expand Fields', @@ -187,7 +187,7 @@ export const accountFields: INodeProperties[] = [ typeOptions: { loadOptionsMethod: 'getExpandableAccountFields', }, - default: '', + default: [], }, ], }, @@ -213,7 +213,7 @@ export const accountFields: INodeProperties[] = [ name: 'query', type: 'string', default: '', - description: 'Query to filter the results. Check filters', + description: 'Query to filter the results. Check filters.', }, ], }, @@ -266,7 +266,7 @@ export const accountFields: INodeProperties[] = [ typeOptions: { loadOptionsMethod: 'getAccountFields', }, - default: '', + default: [], description: 'Fields the response will include', }, ], diff --git a/packages/nodes-base/nodes/Microsoft/Excel/MicrosoftExcel.node.ts b/packages/nodes-base/nodes/Microsoft/Excel/MicrosoftExcel.node.ts index d0023011c..a85db45c3 100644 --- a/packages/nodes-base/nodes/Microsoft/Excel/MicrosoftExcel.node.ts +++ b/packages/nodes-base/nodes/Microsoft/Excel/MicrosoftExcel.node.ts @@ -153,7 +153,7 @@ export class MicrosoftExcel implements INodeType { async execute(this: IExecuteFunctions): Promise { const items = this.getInputData(); const returnData: IDataObject[] = []; - const length = items.length as unknown as number; + const length = items.length; let qs: IDataObject = {}; const result: IDataObject[] = []; let responseData; diff --git a/packages/nodes-base/nodes/Microsoft/OneDrive/FileDescription.ts b/packages/nodes-base/nodes/Microsoft/OneDrive/FileDescription.ts index 98b13754b..eaf6993fb 100644 --- a/packages/nodes-base/nodes/Microsoft/OneDrive/FileDescription.ts +++ b/packages/nodes-base/nodes/Microsoft/OneDrive/FileDescription.ts @@ -76,7 +76,6 @@ export const fileFields: INodeProperties[] = [ }, }, default: '', - description: 'File ID', }, { displayName: 'Additional Fields', @@ -218,7 +217,6 @@ export const fileFields: INodeProperties[] = [ }, }, default: '', - description: 'File ID', }, { displayName: 'Binary Property', @@ -276,8 +274,7 @@ export const fileFields: INodeProperties[] = [ }, }, default: '', - description: `The query text used to search for items. Values may be matched - across several fields including filename, metadata, and file content.`, + description: 'The query text used to search for items. Values may be matched across several fields including filename, metadata, and file content.', }, /* -------------------------------------------------------------------------- */ /* file:share */ @@ -297,7 +294,6 @@ export const fileFields: INodeProperties[] = [ }, }, default: '', - description: 'File ID', }, { displayName: 'Type', diff --git a/packages/nodes-base/nodes/Microsoft/OneDrive/FolderDescription.ts b/packages/nodes-base/nodes/Microsoft/OneDrive/FolderDescription.ts index 5e9ee8a5d..0b31456ae 100644 --- a/packages/nodes-base/nodes/Microsoft/OneDrive/FolderDescription.ts +++ b/packages/nodes-base/nodes/Microsoft/OneDrive/FolderDescription.ts @@ -115,7 +115,6 @@ export const folderFields: INodeProperties[] = [ }, }, default: '', - description: 'Folder ID', }, /* -------------------------------------------------------------------------- */ /* folder:search */ @@ -135,8 +134,7 @@ export const folderFields: INodeProperties[] = [ }, }, default: '', - description: `The query text used to search for items. Values may be matched - across several fields including filename, metadata, and file content.`, + description: 'The query text used to search for items. Values may be matched across several fields including filename, metadata, and file content.', }, /* -------------------------------------------------------------------------- */ /* folder:share */ diff --git a/packages/nodes-base/nodes/Microsoft/OneDrive/MicrosoftOneDrive.node.ts b/packages/nodes-base/nodes/Microsoft/OneDrive/MicrosoftOneDrive.node.ts index 0531943d5..0777a3b9a 100644 --- a/packages/nodes-base/nodes/Microsoft/OneDrive/MicrosoftOneDrive.node.ts +++ b/packages/nodes-base/nodes/Microsoft/OneDrive/MicrosoftOneDrive.node.ts @@ -75,7 +75,7 @@ export class MicrosoftOneDrive implements INodeType { async execute(this: IExecuteFunctions): Promise { const items = this.getInputData(); const returnData: IDataObject[] = []; - const length = items.length as unknown as number; + const length = items.length; const qs: IDataObject = {}; let responseData; const resource = this.getNodeParameter('resource', 0) as string; diff --git a/packages/nodes-base/nodes/Microsoft/Outlook/DraftDescription.ts b/packages/nodes-base/nodes/Microsoft/Outlook/DraftDescription.ts index 202647534..b36380a97 100644 --- a/packages/nodes-base/nodes/Microsoft/Outlook/DraftDescription.ts +++ b/packages/nodes-base/nodes/Microsoft/Outlook/DraftDescription.ts @@ -50,7 +50,6 @@ export const draftFields: INodeProperties[] = [ { displayName: 'Message ID', name: 'messageId', - description: 'Message ID', type: 'string', required: true, default: '', diff --git a/packages/nodes-base/nodes/Microsoft/Outlook/FolderDescription.ts b/packages/nodes-base/nodes/Microsoft/Outlook/FolderDescription.ts index aa5c92bef..6ee4f09ff 100644 --- a/packages/nodes-base/nodes/Microsoft/Outlook/FolderDescription.ts +++ b/packages/nodes-base/nodes/Microsoft/Outlook/FolderDescription.ts @@ -50,7 +50,6 @@ export const folderFields: INodeProperties[] = [ { displayName: 'Folder ID', name: 'folderId', - description: 'Folder ID', type: 'string', required: true, default: '', diff --git a/packages/nodes-base/nodes/Microsoft/Outlook/FolderMessageDecription.ts b/packages/nodes-base/nodes/Microsoft/Outlook/FolderMessageDecription.ts index 7fe4350e8..30f200290 100644 --- a/packages/nodes-base/nodes/Microsoft/Outlook/FolderMessageDecription.ts +++ b/packages/nodes-base/nodes/Microsoft/Outlook/FolderMessageDecription.ts @@ -30,7 +30,6 @@ export const folderMessageFields: INodeProperties[] = [ { displayName: 'Folder ID', name: 'folderId', - description: 'Folder ID', type: 'string', required: true, default: '', diff --git a/packages/nodes-base/nodes/Microsoft/Outlook/MessageAttachmentDescription.ts b/packages/nodes-base/nodes/Microsoft/Outlook/MessageAttachmentDescription.ts index 4011d81fc..f03d9941d 100644 --- a/packages/nodes-base/nodes/Microsoft/Outlook/MessageAttachmentDescription.ts +++ b/packages/nodes-base/nodes/Microsoft/Outlook/MessageAttachmentDescription.ts @@ -45,7 +45,6 @@ export const messageAttachmentFields: INodeProperties[] = [ { displayName: 'Message ID', name: 'messageId', - description: 'Message ID', type: 'string', required: true, default: '', @@ -66,7 +65,6 @@ export const messageAttachmentFields: INodeProperties[] = [ { displayName: 'Attachment ID', name: 'attachmentId', - description: 'Attachment ID', type: 'string', required: true, default: '', diff --git a/packages/nodes-base/nodes/Microsoft/Outlook/MessageDescription.ts b/packages/nodes-base/nodes/Microsoft/Outlook/MessageDescription.ts index 4ea67ef48..1b6457559 100644 --- a/packages/nodes-base/nodes/Microsoft/Outlook/MessageDescription.ts +++ b/packages/nodes-base/nodes/Microsoft/Outlook/MessageDescription.ts @@ -65,7 +65,6 @@ export const messageFields: INodeProperties[] = [ { displayName: 'Message ID', name: 'messageId', - description: 'Message ID', type: 'string', required: true, default: '', diff --git a/packages/nodes-base/nodes/Microsoft/Outlook/MicrosoftOutlook.node.ts b/packages/nodes-base/nodes/Microsoft/Outlook/MicrosoftOutlook.node.ts index b155812b6..b99f6b451 100644 --- a/packages/nodes-base/nodes/Microsoft/Outlook/MicrosoftOutlook.node.ts +++ b/packages/nodes-base/nodes/Microsoft/Outlook/MicrosoftOutlook.node.ts @@ -142,7 +142,7 @@ export class MicrosoftOutlook implements INodeType { async execute(this: IExecuteFunctions): Promise { const items = this.getInputData(); const returnData: IDataObject[] = []; - const length = items.length as unknown as number; + const length = items.length; const qs: IDataObject = {}; let responseData; diff --git a/packages/nodes-base/nodes/Microsoft/Sql/MicrosoftSql.node.ts b/packages/nodes-base/nodes/Microsoft/Sql/MicrosoftSql.node.ts index b3e27a498..a5ea4382f 100644 --- a/packages/nodes-base/nodes/Microsoft/Sql/MicrosoftSql.node.ts +++ b/packages/nodes-base/nodes/Microsoft/Sql/MicrosoftSql.node.ts @@ -130,8 +130,7 @@ export class MicrosoftSql implements INodeType { }, default: '', placeholder: 'id,name,description', - description: - 'Comma separated list of the properties which should used as columns for the new rows.', + description: `Comma-separated list of the properties which should used as columns for the new rows.`, }, // ---------------------------------- @@ -175,8 +174,7 @@ export class MicrosoftSql implements INodeType { }, default: '', placeholder: 'name,description', - description: - 'Comma separated list of the properties which should used as columns for rows to update.', + description: `Comma-separated list of the properties which should used as columns for rows to update.`, }, // ---------------------------------- diff --git a/packages/nodes-base/nodes/Microsoft/Teams/ChannelDescription.ts b/packages/nodes-base/nodes/Microsoft/Teams/ChannelDescription.ts index c3556a4e6..6b188f220 100644 --- a/packages/nodes-base/nodes/Microsoft/Teams/ChannelDescription.ts +++ b/packages/nodes-base/nodes/Microsoft/Teams/ChannelDescription.ts @@ -70,7 +70,6 @@ export const channelFields: INodeProperties[] = [ }, }, default: '', - description: 'Team ID', }, { displayName: 'Name', @@ -159,7 +158,6 @@ export const channelFields: INodeProperties[] = [ }, }, default: '', - description: 'Team ID', }, { displayName: 'Channel ID', @@ -182,7 +180,6 @@ export const channelFields: INodeProperties[] = [ }, }, default: '', - description: 'channel ID', }, /* -------------------------------------------------------------------------- */ @@ -207,7 +204,6 @@ export const channelFields: INodeProperties[] = [ }, }, default: '', - description: 'Team ID', }, { displayName: 'Channel ID', @@ -230,7 +226,6 @@ export const channelFields: INodeProperties[] = [ }, }, default: '', - description: 'channel ID', }, /* -------------------------------------------------------------------------- */ @@ -255,7 +250,6 @@ export const channelFields: INodeProperties[] = [ }, }, default: '', - description: 'Team ID', }, { displayName: 'Return All', @@ -321,7 +315,6 @@ export const channelFields: INodeProperties[] = [ }, }, default: '', - description: 'Team ID', }, { displayName: 'Channel ID', @@ -344,7 +337,6 @@ export const channelFields: INodeProperties[] = [ }, }, default: '', - description: 'Channel ID', }, { displayName: 'Update Fields', diff --git a/packages/nodes-base/nodes/Microsoft/Teams/ChannelMessageDescription.ts b/packages/nodes-base/nodes/Microsoft/Teams/ChannelMessageDescription.ts index ac48429ac..0c31578e3 100644 --- a/packages/nodes-base/nodes/Microsoft/Teams/ChannelMessageDescription.ts +++ b/packages/nodes-base/nodes/Microsoft/Teams/ChannelMessageDescription.ts @@ -55,7 +55,6 @@ export const channelMessageFields: INodeProperties[] = [ }, }, default: '', - description: 'Team ID', }, { displayName: 'Channel ID', @@ -78,7 +77,6 @@ export const channelMessageFields: INodeProperties[] = [ }, }, default: '', - description: 'Channel ID', }, { displayName: 'Message Type', @@ -177,7 +175,6 @@ export const channelMessageFields: INodeProperties[] = [ }, }, default: '', - description: 'Team ID', }, { displayName: 'Channel ID', @@ -200,7 +197,6 @@ export const channelMessageFields: INodeProperties[] = [ }, }, default: '', - description: 'Channel ID', }, { displayName: 'Return All', diff --git a/packages/nodes-base/nodes/Microsoft/Teams/ChatMessageDescription.ts b/packages/nodes-base/nodes/Microsoft/Teams/ChatMessageDescription.ts index 7ad403084..0cb29f074 100644 --- a/packages/nodes-base/nodes/Microsoft/Teams/ChatMessageDescription.ts +++ b/packages/nodes-base/nodes/Microsoft/Teams/ChatMessageDescription.ts @@ -61,7 +61,6 @@ export const chatMessageFields: INodeProperties[] = [ }, }, default: '', - description: 'Chat ID', }, { displayName: 'Message Type', @@ -155,7 +154,6 @@ export const chatMessageFields: INodeProperties[] = [ }, }, default: '', - description: 'Chat ID', }, { displayName: 'Return All', diff --git a/packages/nodes-base/nodes/Microsoft/Teams/MicrosoftTeams.node.ts b/packages/nodes-base/nodes/Microsoft/Teams/MicrosoftTeams.node.ts index e042dacb5..907315857 100644 --- a/packages/nodes-base/nodes/Microsoft/Teams/MicrosoftTeams.node.ts +++ b/packages/nodes-base/nodes/Microsoft/Teams/MicrosoftTeams.node.ts @@ -229,7 +229,7 @@ export class MicrosoftTeams implements INodeType { async execute(this: IExecuteFunctions): Promise { const items = this.getInputData(); const returnData: IDataObject[] = []; - const length = items.length as unknown as number; + const length = items.length; const qs: IDataObject = {}; let responseData; const resource = this.getNodeParameter('resource', 0) as string; diff --git a/packages/nodes-base/nodes/Microsoft/Teams/TaskDescription.ts b/packages/nodes-base/nodes/Microsoft/Teams/TaskDescription.ts index e3d0ed8ee..9cf53d073 100644 --- a/packages/nodes-base/nodes/Microsoft/Teams/TaskDescription.ts +++ b/packages/nodes-base/nodes/Microsoft/Teams/TaskDescription.ts @@ -70,7 +70,6 @@ export const taskFields: INodeProperties[] = [ }, }, default: '', - description: 'Group ID', }, { displayName: 'Plan ID', @@ -221,7 +220,6 @@ export const taskFields: INodeProperties[] = [ }, }, default: '', - description: 'Task ID', }, /* -------------------------------------------------------------------------- */ @@ -243,7 +241,6 @@ export const taskFields: INodeProperties[] = [ }, }, default: '', - description: 'Task ID', }, /* -------------------------------------------------------------------------- */ @@ -268,7 +265,6 @@ export const taskFields: INodeProperties[] = [ }, }, default: '', - description: 'Group ID', }, { displayName: 'Member ID', @@ -292,7 +288,6 @@ export const taskFields: INodeProperties[] = [ }, }, default: '', - description: 'Member ID', }, { displayName: 'Return All', @@ -406,7 +401,6 @@ export const taskFields: INodeProperties[] = [ name: 'groupId', type: 'string', default: '', - description: 'Group ID', }, { displayName: 'Labels', diff --git a/packages/nodes-base/nodes/Microsoft/ToDo/MicrosoftToDo.node.ts b/packages/nodes-base/nodes/Microsoft/ToDo/MicrosoftToDo.node.ts index 5f3b87032..42d365ace 100644 --- a/packages/nodes-base/nodes/Microsoft/ToDo/MicrosoftToDo.node.ts +++ b/packages/nodes-base/nodes/Microsoft/ToDo/MicrosoftToDo.node.ts @@ -106,7 +106,7 @@ export class MicrosoftToDo implements INodeType { async execute(this: IExecuteFunctions): Promise { const items = this.getInputData(); const returnData: IDataObject[] = []; - const length = items.length as unknown as number; + const length = items.length; const qs: IDataObject = {}; let responseData; const timezone = this.getTimezone(); diff --git a/packages/nodes-base/nodes/Mindee/Mindee.node.ts b/packages/nodes-base/nodes/Mindee/Mindee.node.ts index 7211fe64d..19e9db6be 100644 --- a/packages/nodes-base/nodes/Mindee/Mindee.node.ts +++ b/packages/nodes-base/nodes/Mindee/Mindee.node.ts @@ -118,7 +118,7 @@ export class Mindee implements INodeType { async execute(this: IExecuteFunctions): Promise { const items = this.getInputData(); const returnData: IDataObject[] = []; - const length = (items.length as unknown) as number; + const length = items.length; const qs: IDataObject = {}; let responseData; const resource = this.getNodeParameter('resource', 0) as string; diff --git a/packages/nodes-base/nodes/Mocean/Mocean.node.ts b/packages/nodes-base/nodes/Mocean/Mocean.node.ts index 06009320e..8e8e533c8 100644 --- a/packages/nodes-base/nodes/Mocean/Mocean.node.ts +++ b/packages/nodes-base/nodes/Mocean/Mocean.node.ts @@ -206,7 +206,6 @@ export class Mocean implements INodeType { type: 'string', default: '', placeholder: '', - description: 'Delivery report URL', }, ], }, diff --git a/packages/nodes-base/nodes/MondayCom/MondayCom.node.ts b/packages/nodes-base/nodes/MondayCom/MondayCom.node.ts index 9fd0775e8..6fc58401d 100644 --- a/packages/nodes-base/nodes/MondayCom/MondayCom.node.ts +++ b/packages/nodes-base/nodes/MondayCom/MondayCom.node.ts @@ -255,7 +255,7 @@ export class MondayCom implements INodeType { async execute(this: IExecuteFunctions): Promise { const items = this.getInputData(); const returnData: IDataObject[] = []; - const length = items.length as unknown as number; + const length = items.length; let responseData; const qs: IDataObject = {}; const resource = this.getNodeParameter('resource', 0) as string; diff --git a/packages/nodes-base/nodes/MongoDb/mongo.node.options.ts b/packages/nodes-base/nodes/MongoDb/mongo.node.options.ts index 2951436b5..d2f2120c5 100644 --- a/packages/nodes-base/nodes/MongoDb/mongo.node.options.ts +++ b/packages/nodes-base/nodes/MongoDb/mongo.node.options.ts @@ -195,8 +195,7 @@ export const nodeDescription: INodeTypeDescription = { }, default: '', placeholder: 'name,description', - description: - 'Comma separated list of the fields to be included into the new document.', + description: `Comma-separated list of the fields to be included into the new document.`, }, // ---------------------------------- @@ -231,8 +230,7 @@ export const nodeDescription: INodeTypeDescription = { }, default: '', placeholder: 'name,description', - description: - 'Comma separated list of the fields to be included into the new document.', + description: `Comma-separated list of the fields to be included into the new document.`, }, { displayName: 'Upsert', diff --git a/packages/nodes-base/nodes/MoveBinaryData/MoveBinaryData.node.ts b/packages/nodes-base/nodes/MoveBinaryData/MoveBinaryData.node.ts index 7343ba86b..e96959e47 100644 --- a/packages/nodes-base/nodes/MoveBinaryData/MoveBinaryData.node.ts +++ b/packages/nodes-base/nodes/MoveBinaryData/MoveBinaryData.node.ts @@ -109,7 +109,7 @@ export class MoveBinaryData implements INodeType { default: 'data', required: true, placeholder: 'data', - description: 'The name of the binary key to get data from. It is also possible to define deep keys by using dot-notation like for example: "level1.level2.currentKey"', + description: 'The name of the binary key to get data from. It is also possible to define deep keys by using dot-notation like for example: "level1.level2.currentKey".', }, { displayName: 'Destination Key', @@ -128,7 +128,7 @@ export class MoveBinaryData implements INodeType { default: 'data', required: true, placeholder: '', - description: 'The name the JSON key to copy data to. It is also possible to define deep keys by using dot-notation like for example: "level1.level2.newKey"', + description: 'The name the JSON key to copy data to. It is also possible to define deep keys by using dot-notation like for example: "level1.level2.newKey".', }, // ---------------------------------- @@ -165,7 +165,7 @@ export class MoveBinaryData implements INodeType { default: 'data', required: true, placeholder: 'data', - description: 'The name of the JSON key to get data from. It is also possible to define deep keys by using dot-notation like for example: "level1.level2.currentKey"', + description: 'The name of the JSON key to get data from. It is also possible to define deep keys by using dot-notation like for example: "level1.level2.currentKey".', }, { displayName: 'Destination Key', @@ -181,7 +181,7 @@ export class MoveBinaryData implements INodeType { default: 'data', required: true, placeholder: 'data', - description: 'The name the binary key to copy data to. It is also possible to define deep keys by using dot-notation like for example: "level1.level2.newKey"', + description: 'The name the binary key to copy data to. It is also possible to define deep keys by using dot-notation like for example: "level1.level2.newKey".', }, { diff --git a/packages/nodes-base/nodes/MySql/MySql.node.ts b/packages/nodes-base/nodes/MySql/MySql.node.ts index e71036ef6..8d69ef369 100644 --- a/packages/nodes-base/nodes/MySql/MySql.node.ts +++ b/packages/nodes-base/nodes/MySql/MySql.node.ts @@ -111,7 +111,7 @@ export class MySql implements INodeType { }, default: '', placeholder: 'id,name,description', - description: 'Comma separated list of the properties which should used as columns for the new rows.', + description: 'Comma-separated list of the properties which should used as columns for the new rows.', }, { displayName: 'Options', @@ -204,7 +204,7 @@ export class MySql implements INodeType { }, default: '', placeholder: 'name,description', - description: 'Comma separated list of the properties which should used as columns for rows to update.', + description: 'Comma-separated list of the properties which should used as columns for rows to update.', }, ], diff --git a/packages/nodes-base/nodes/N8nTrainingCustomerDatastore/N8nTrainingCustomerDatastore.node.ts b/packages/nodes-base/nodes/N8nTrainingCustomerDatastore/N8nTrainingCustomerDatastore.node.ts index b63e5f210..02d0b7c77 100644 --- a/packages/nodes-base/nodes/N8nTrainingCustomerDatastore/N8nTrainingCustomerDatastore.node.ts +++ b/packages/nodes-base/nodes/N8nTrainingCustomerDatastore/N8nTrainingCustomerDatastore.node.ts @@ -127,7 +127,7 @@ export class N8nTrainingCustomerDatastore implements INodeType { async execute(this: IExecuteFunctions): Promise { const items = this.getInputData(); const returnData: IDataObject[] = []; - const length = (items.length as unknown) as number; + const length = items.length; const operation = this.getNodeParameter('operation', 0) as string; let responseData; diff --git a/packages/nodes-base/nodes/N8nTrainingCustomerMessenger/N8nTrainingCustomerMessenger.node.ts b/packages/nodes-base/nodes/N8nTrainingCustomerMessenger/N8nTrainingCustomerMessenger.node.ts index 93cee13b4..b0cd4113e 100644 --- a/packages/nodes-base/nodes/N8nTrainingCustomerMessenger/N8nTrainingCustomerMessenger.node.ts +++ b/packages/nodes-base/nodes/N8nTrainingCustomerMessenger/N8nTrainingCustomerMessenger.node.ts @@ -46,7 +46,7 @@ export class N8nTrainingCustomerMessenger implements INodeType { async execute(this: IExecuteFunctions): Promise { const items = this.getInputData(); const returnData: IDataObject[] = []; - const length = (items.length as unknown) as number; + const length = items.length; let responseData; for (let i = 0; i < length; i++) { diff --git a/packages/nodes-base/nodes/Nasa/Nasa.node.ts b/packages/nodes-base/nodes/Nasa/Nasa.node.ts index eb53135e5..459e303b8 100644 --- a/packages/nodes-base/nodes/Nasa/Nasa.node.ts +++ b/packages/nodes-base/nodes/Nasa/Nasa.node.ts @@ -600,7 +600,7 @@ export class Nasa implements INodeType { }, }, default: true, - description: 'By default just the url of the image is returned. When set to true the image will be downloaded', + description: 'By default just the url of the image is returned. When set to true the image will be downloaded.', }, { displayName: 'Binary Property', diff --git a/packages/nodes-base/nodes/Netlify/Netlify.node.ts b/packages/nodes-base/nodes/Netlify/Netlify.node.ts index 60100cb70..2fc041167 100644 --- a/packages/nodes-base/nodes/Netlify/Netlify.node.ts +++ b/packages/nodes-base/nodes/Netlify/Netlify.node.ts @@ -94,7 +94,7 @@ export class Netlify implements INodeType { async execute(this: IExecuteFunctions): Promise { const items = this.getInputData(); - const length = items.length as unknown as number; + const length = items.length; let responseData; const returnData: IDataObject[] = []; const qs: IDataObject = {}; diff --git a/packages/nodes-base/nodes/NextCloud/NextCloud.node.ts b/packages/nodes-base/nodes/NextCloud/NextCloud.node.ts index 186695d4f..e869c8f60 100644 --- a/packages/nodes-base/nodes/NextCloud/NextCloud.node.ts +++ b/packages/nodes-base/nodes/NextCloud/NextCloud.node.ts @@ -262,7 +262,7 @@ export class NextCloud implements INodeType { }, }, placeholder: '/invoices/original.txt', - description: 'The path of file or folder to copy. The path should start with "/"', + description: 'The path of file or folder to copy. The path should start with "/".', }, { displayName: 'To Path', @@ -282,7 +282,7 @@ export class NextCloud implements INodeType { }, }, placeholder: '/invoices/copy.txt', - description: 'The destination path of file or folder. The path should start with "/"', + description: 'The destination path of file or folder. The path should start with "/".', }, // ---------------------------------- @@ -330,7 +330,7 @@ export class NextCloud implements INodeType { }, }, placeholder: '/invoices/old_name.txt', - description: 'The path of file or folder to move. The path should start with "/"', + description: 'The path of file or folder to move. The path should start with "/".', }, { displayName: 'To Path', @@ -350,7 +350,7 @@ export class NextCloud implements INodeType { }, }, placeholder: '/invoices/new_name.txt', - description: 'The new path of file or folder. The path should start with "/"', + description: 'The new path of file or folder. The path should start with "/".', }, // ---------------------------------- @@ -432,7 +432,6 @@ export class NextCloud implements INodeType { ], }, }, - description: '', }, { displayName: 'File Content', @@ -744,7 +743,7 @@ export class NextCloud implements INodeType { }, }, placeholder: '/invoices/2019/', - description: 'The path of which to list the content. The path should start with "/"', + description: 'The path of which to list the content. The path should start with "/".', }, // ---------------------------------- diff --git a/packages/nodes-base/nodes/NocoDB/OperationDescription.ts b/packages/nodes-base/nodes/NocoDB/OperationDescription.ts index dbb2331cd..b10df3c0b 100644 --- a/packages/nodes-base/nodes/NocoDB/OperationDescription.ts +++ b/packages/nodes-base/nodes/NocoDB/OperationDescription.ts @@ -307,7 +307,7 @@ export const operationFields: INodeProperties[] = [ }, default: '', required: false, - description: 'List of input properties to avoid sending, separated by commas. Leave empty to send all properties', + description: 'List of input properties to avoid sending, separated by commas. Leave empty to send all properties.', placeholder: 'Enter properties...', }, { diff --git a/packages/nodes-base/nodes/Notion/BlockDescription.ts b/packages/nodes-base/nodes/Notion/BlockDescription.ts index 5d1c15ec5..725cf4ac8 100644 --- a/packages/nodes-base/nodes/Notion/BlockDescription.ts +++ b/packages/nodes-base/nodes/Notion/BlockDescription.ts @@ -55,7 +55,7 @@ export const blockFields = [ ], }, }, - description: `The Block URL from Notion's 'copy link' functionality (or just the ID contained within the URL). Pages are also blocks, so you can use a page URL/ID here too`, + description: 'The Block URL from Notion\'s \'copy link\' functionality (or just the ID contained within the URL). Pages are also blocks, so you can use a page URL/ID here too.', }, ...blocks('block', 'append'), /* -------------------------------------------------------------------------- */ @@ -77,7 +77,7 @@ export const blockFields = [ ], }, }, - description: `The Block URL from Notion's 'copy link' functionality (or just the ID contained within the URL). Pages are also blocks, so you can use a page URL/ID here too`, + description: 'The Block URL from Notion\'s \'copy link\' functionality (or just the ID contained within the URL). Pages are also blocks, so you can use a page URL/ID here too.', }, { displayName: 'Return All', diff --git a/packages/nodes-base/nodes/Notion/Blocks.ts b/packages/nodes-base/nodes/Notion/Blocks.ts index e9f365485..3c418798f 100644 --- a/packages/nodes-base/nodes/Notion/Blocks.ts +++ b/packages/nodes-base/nodes/Notion/Blocks.ts @@ -169,7 +169,7 @@ const typeMention: INodeProperties[] = [ }, ], default: '', - description: `An inline mention of a user, page, database, or date. In the app these are created by typing @ followed by the name of a user, page, database, or a date`, + description: 'An inline mention of a user, page, database, or date. In the app these are created by typing @ followed by the name of a user, page, database, or a date.', }, { displayName: 'User ID', @@ -282,7 +282,7 @@ const typeMention: INodeProperties[] = [ }, type: 'dateTime', default: '', - description: `An ISO 8601 formatted date, with optional time. Represents the end of a date range`, + description: 'An ISO 8601 formatted date, with optional time. Represents the end of a date range.', }, ]; @@ -299,7 +299,6 @@ const typeEquation: INodeProperties[] = [ }, }, default: '', - description: '', }, ]; @@ -316,8 +315,7 @@ const typeText: INodeProperties[] = [ }, type: 'string', default: '', - description: `Text content. This field contains the actual content - of your text and is probably the field you'll use most often`, + description: 'Text content. This field contains the actual content of your text and is probably the field you\'ll use most often', }, { displayName: 'Is Link', @@ -357,7 +355,7 @@ export const text = (displayOptions: IDisplayOptions): INodeProperties[] => [ name: 'text', placeholder: 'Add Text', type: 'fixedCollection', - default: '', + default: {}, typeOptions: { multipleValues: true, }, @@ -386,7 +384,6 @@ export const text = (displayOptions: IDisplayOptions): INodeProperties[] => [ }, ], default: 'text', - description: '', }, ...typeText, ...typeMention, @@ -526,7 +523,7 @@ export const blocks = (resource: string, operation: string): INodeProperties[] = typeOptions: { multipleValues: true, }, - default: '', + default: {}, displayOptions: { show: { resource: [ diff --git a/packages/nodes-base/nodes/Notion/DatabasePageDescription.ts b/packages/nodes-base/nodes/Notion/DatabasePageDescription.ts index c300bcf63..ae0d60bbf 100644 --- a/packages/nodes-base/nodes/Notion/DatabasePageDescription.ts +++ b/packages/nodes-base/nodes/Notion/DatabasePageDescription.ts @@ -134,7 +134,7 @@ export const databasePageFields = [ ], }, }, - description: 'Page title. Appears at the top of the page and can be found via Quick Find', + description: 'Page title. Appears at the top of the page and can be found via Quick Find.', }, { displayName: 'Simplify Output', @@ -170,7 +170,7 @@ export const databasePageFields = [ ], }, }, - default: '', + default: {}, placeholder: 'Add Property', options: [ { @@ -259,7 +259,7 @@ export const databasePageFields = [ }, }, default: '', - description: `Phone number. No structure is enforced`, + description: 'Phone number. No structure is enforced.', }, { displayName: 'Options', @@ -276,8 +276,7 @@ export const databasePageFields = [ }, }, default: [], - description: `Name of the options you want to set. - Multiples can be defined separated by comma`, + description: 'Name of the options you want to set. Multiples can be defined separated by comma', }, { displayName: 'Option', @@ -339,7 +338,7 @@ export const databasePageFields = [ }, }, default: [], - description: 'List of users. Multiples can be defined separated by comma', + description: 'List of users. Multiples can be defined separated by comma.', }, { displayName: 'Relation IDs', @@ -356,7 +355,7 @@ export const databasePageFields = [ }, }, default: [], - description: 'List of databases that belong to another database. Multiples can be defined separated by comma', + description: 'List of databases that belong to another database. Multiples can be defined separated by comma.', }, { displayName: 'Checked', @@ -463,8 +462,7 @@ export const databasePageFields = [ }, type: 'dateTime', default: '', - description: ` - An ISO 8601 formatted date, with optional time. Represents the end of a date range`, + description: ' An ISO 8601 formatted date, with optional time. Represents the end of a date range', }, { displayName: 'Timezone', @@ -481,7 +479,7 @@ export const databasePageFields = [ loadOptionsMethod: 'getTimezones', }, default: 'default', - description: 'Time zone to use. By default n8n timezone is used', + description: 'Time zone to use. By default n8n timezone is used.', }, { displayName: 'File URLs', @@ -585,7 +583,7 @@ export const databasePageFields = [ ], }, }, - default: '', + default: {}, placeholder: 'Add Property', options: [ { @@ -674,7 +672,7 @@ export const databasePageFields = [ }, }, default: '', - description: `Phone number. No structure is enforced`, + description: 'Phone number. No structure is enforced.', }, { displayName: 'Options', @@ -750,7 +748,7 @@ export const databasePageFields = [ }, }, default: [], - description: 'List of users. Multiples can be defined separated by comma', + description: 'List of users. Multiples can be defined separated by comma.', }, { displayName: 'Relation IDs', @@ -767,7 +765,7 @@ export const databasePageFields = [ }, }, default: [], - description: 'List of databases that belong to another database. Multiples can be defined separated by comma', + description: 'List of databases that belong to another database. Multiples can be defined separated by comma.', }, { displayName: 'Checked', @@ -874,8 +872,7 @@ export const databasePageFields = [ }, type: 'dateTime', default: '', - description: ` - An ISO 8601 formatted date, with optional time. Represents the end of a date range`, + description: ' An ISO 8601 formatted date, with optional time. Represents the end of a date range', }, { displayName: 'Timezone', @@ -892,7 +889,7 @@ export const databasePageFields = [ loadOptionsMethod: 'getTimezones', }, default: 'default', - description: 'Time zone to use. By default n8n timezone is used', + description: 'Time zone to use. By default n8n timezone is used.', }, { displayName: 'File URLs', diff --git a/packages/nodes-base/nodes/Notion/Filters.ts b/packages/nodes-base/nodes/Notion/Filters.ts index f0d8e20b9..21ab45d78 100644 --- a/packages/nodes-base/nodes/Notion/Filters.ts +++ b/packages/nodes-base/nodes/Notion/Filters.ts @@ -77,7 +77,7 @@ export const filters = (conditions: any) => [{ }, }, default: '', - description: `Phone number. No structure is enforced`, + description: 'Phone number. No structure is enforced.', }, { displayName: 'Option', @@ -182,7 +182,7 @@ export const filters = (conditions: any) => [{ }, }, default: '', - description: 'List of users. Multiples can be defined separated by comma', + description: 'List of users. Multiples can be defined separated by comma.', }, { displayName: 'User ID', @@ -205,7 +205,7 @@ export const filters = (conditions: any) => [{ }, }, default: '', - description: 'List of users. Multiples can be defined separated by comma', + description: 'List of users. Multiples can be defined separated by comma.', }, { displayName: 'User ID', @@ -228,7 +228,7 @@ export const filters = (conditions: any) => [{ }, }, default: '', - description: 'List of users. Multiples can be defined separated by comma', + description: 'List of users. Multiples can be defined separated by comma.', }, { displayName: 'Relation ID', diff --git a/packages/nodes-base/nodes/Notion/GenericFunctions.ts b/packages/nodes-base/nodes/Notion/GenericFunctions.ts index 5c8c2a354..02d6c6e02 100644 --- a/packages/nodes-base/nodes/Notion/GenericFunctions.ts +++ b/packages/nodes-base/nodes/Notion/GenericFunctions.ts @@ -874,7 +874,7 @@ export function getSearchFilters(resource: string) { ], }, }, - default: '', + default: {}, placeholder: 'Add Condition', options: [ { @@ -932,7 +932,6 @@ export function getSearchFilters(resource: string) { }, }, default: '', - description: '', }, ]; } diff --git a/packages/nodes-base/nodes/Notion/PageDescription.ts b/packages/nodes-base/nodes/Notion/PageDescription.ts index 1898e5715..650b8c080 100644 --- a/packages/nodes-base/nodes/Notion/PageDescription.ts +++ b/packages/nodes-base/nodes/Notion/PageDescription.ts @@ -158,7 +158,7 @@ export const pageFields = [ ], }, }, - description: 'Page title. Appears at the top of the page and can be found via Quick Find', + description: 'Page title. Appears at the top of the page and can be found via Quick Find.', }, { displayName: 'Simplify Output', diff --git a/packages/nodes-base/nodes/Notion/v1/NotionV1.node.ts b/packages/nodes-base/nodes/Notion/v1/NotionV1.node.ts index 8cccf7b3f..26aff7ae2 100644 --- a/packages/nodes-base/nodes/Notion/v1/NotionV1.node.ts +++ b/packages/nodes-base/nodes/Notion/v1/NotionV1.node.ts @@ -192,7 +192,7 @@ export class NotionV1 implements INodeType { async execute(this: IExecuteFunctions): Promise { const items = this.getInputData(); const returnData: IDataObject[] = []; - const length = items.length as unknown as number; + const length = items.length; let responseData; const qs: IDataObject = {}; const timezone = this.getTimezone(); diff --git a/packages/nodes-base/nodes/Notion/v2/NotionV2.node.ts b/packages/nodes-base/nodes/Notion/v2/NotionV2.node.ts index e4a7c8e52..fb2be1f43 100644 --- a/packages/nodes-base/nodes/Notion/v2/NotionV2.node.ts +++ b/packages/nodes-base/nodes/Notion/v2/NotionV2.node.ts @@ -217,7 +217,7 @@ export class NotionV2 implements INodeType { async execute(this: IExecuteFunctions): Promise { const items = this.getInputData(); const returnData: IDataObject[] = []; - const length = items.length as unknown as number; + const length = items.length; let responseData; const qs: IDataObject = {}; const timezone = this.getTimezone(); diff --git a/packages/nodes-base/nodes/OneSimpleApi/OneSimpleApi.node.ts b/packages/nodes-base/nodes/OneSimpleApi/OneSimpleApi.node.ts index 03c406cd5..fb744f0d3 100644 --- a/packages/nodes-base/nodes/OneSimpleApi/OneSimpleApi.node.ts +++ b/packages/nodes-base/nodes/OneSimpleApi/OneSimpleApi.node.ts @@ -300,15 +300,13 @@ export class OneSimpleApi implements INodeType { }, ], default: '', - description: 'The page size', }, { displayName: 'Force Refresh', name: 'force', type: 'boolean', default: false, - description: `Normally the API will reuse a previously taken screenshot of the URL to give a faster response. - This option allows you to retake the screenshot at that exact time, for those times when it's necessary`, + description: 'Normally the API will reuse a previously taken screenshot of the URL to give a faster response. This option allows you to retake the screenshot at that exact time, for those times when it\'s necessary', }, ], }, @@ -529,22 +527,20 @@ export class OneSimpleApi implements INodeType { }, ], default: '', - description: 'The screen size', }, { displayName: 'Force Refresh', name: 'force', type: 'boolean', default: false, - description: `Normally the API will reuse a previously taken screenshot of the URL to give a faster response. - This option allows you to retake the screenshot at that exact time, for those times when it's necessary`, + description: 'Normally the API will reuse a previously taken screenshot of the URL to give a faster response. This option allows you to retake the screenshot at that exact time, for those times when it\'s necessary', }, { displayName: 'Full Page', name: 'fullpage', type: 'boolean', default: false, - description: 'The API takes a screenshot of the viewable area for the desired screen size. If you need a screenshot of the whole length of the page, use this option', + description: 'The API takes a screenshot of the viewable area for the desired screen size. If you need a screenshot of the whole length of the page, use this option.', }, ], }, @@ -622,7 +618,6 @@ export class OneSimpleApi implements INodeType { }, }, default: '', - description: 'From Currency', }, { displayName: 'To Currency', @@ -641,7 +636,6 @@ export class OneSimpleApi implements INodeType { }, }, default: '', - description: 'To Currency', }, // information: imageMetadata { @@ -703,7 +697,6 @@ export class OneSimpleApi implements INodeType { name: 'headers', type: 'boolean', default: false, - description: '', }, ], }, @@ -724,7 +717,6 @@ export class OneSimpleApi implements INodeType { }, }, default: '', - description: 'Email Address', }, // utility: expandURL { @@ -751,7 +743,7 @@ export class OneSimpleApi implements INodeType { async execute(this: IExecuteFunctions): Promise { const items = this.getInputData(); const returnData: IDataObject[] = []; - const length = items.length as unknown as number; + const length = items.length; const qs: IDataObject = {}; let responseData; let download; diff --git a/packages/nodes-base/nodes/Onfleet/descriptions/ContainerDescription.ts b/packages/nodes-base/nodes/Onfleet/descriptions/ContainerDescription.ts index 7f90f044e..78081cdca 100644 --- a/packages/nodes-base/nodes/Onfleet/descriptions/ContainerDescription.ts +++ b/packages/nodes-base/nodes/Onfleet/descriptions/ContainerDescription.ts @@ -54,7 +54,6 @@ const containerTypeField = { }, ], default: '', - description: 'Container type', } as INodeProperties; const containerIdField = { diff --git a/packages/nodes-base/nodes/OpenThesaurus/OpenThesaurus.node.ts b/packages/nodes-base/nodes/OpenThesaurus/OpenThesaurus.node.ts index 6e1c8da2e..2f0404680 100644 --- a/packages/nodes-base/nodes/OpenThesaurus/OpenThesaurus.node.ts +++ b/packages/nodes-base/nodes/OpenThesaurus/OpenThesaurus.node.ts @@ -138,7 +138,7 @@ export class OpenThesaurus implements INodeType { async execute(this: IExecuteFunctions): Promise { const items = this.getInputData(); const returnData: IDataObject[] = []; - const length = items.length as unknown as number; + const length = items.length; const qs: IDataObject = {}; let responseData; const operation = this.getNodeParameter('operation', 0) as string; diff --git a/packages/nodes-base/nodes/OpenWeatherMap/OpenWeatherMap.node.ts b/packages/nodes-base/nodes/OpenWeatherMap/OpenWeatherMap.node.ts index 3671dc3a6..e2a2c5ad5 100644 --- a/packages/nodes-base/nodes/OpenWeatherMap/OpenWeatherMap.node.ts +++ b/packages/nodes-base/nodes/OpenWeatherMap/OpenWeatherMap.node.ts @@ -136,7 +136,7 @@ export class OpenWeatherMap implements INodeType { ], }, }, - description: 'The id of city to return the weather of. List can be downloaded here: http://bulk.openweathermap.org/sample/', + description: 'The id of city to return the weather of. List can be downloaded here: http://bulk.openweathermap.org/sample/.', }, { @@ -187,7 +187,7 @@ export class OpenWeatherMap implements INodeType { ], }, }, - description: 'The id of city to return the weather of. List can be downloaded here: http://bulk.openweathermap.org/sample/', + description: 'The id of city to return the weather of. List can be downloaded here: http://bulk.openweathermap.org/sample/.', }, { diff --git a/packages/nodes-base/nodes/Orbit/MemberDescription.ts b/packages/nodes-base/nodes/Orbit/MemberDescription.ts index c220f72fa..a500f9ac4 100644 --- a/packages/nodes-base/nodes/Orbit/MemberDescription.ts +++ b/packages/nodes-base/nodes/Orbit/MemberDescription.ts @@ -75,7 +75,6 @@ export const memberFields: INodeProperties[] = [ ], }, }, - description: 'The workspace', }, { displayName: 'Member ID', @@ -93,7 +92,6 @@ export const memberFields: INodeProperties[] = [ ], }, }, - description: 'Member ID', }, @@ -119,7 +117,6 @@ export const memberFields: INodeProperties[] = [ ], }, }, - description: 'The workspace', }, { displayName: 'Member ID', @@ -137,7 +134,6 @@ export const memberFields: INodeProperties[] = [ ], }, }, - description: 'Member ID', }, { displayName: 'Resolve Identities', @@ -179,7 +175,6 @@ export const memberFields: INodeProperties[] = [ ], }, }, - description: 'The workspace', }, { displayName: 'Return All', @@ -304,7 +299,6 @@ export const memberFields: INodeProperties[] = [ ], }, }, - description: 'The workspace', }, { displayName: 'Source', diff --git a/packages/nodes-base/nodes/Orbit/NoteDescription.ts b/packages/nodes-base/nodes/Orbit/NoteDescription.ts index b6f425b1e..1efb0f42b 100644 --- a/packages/nodes-base/nodes/Orbit/NoteDescription.ts +++ b/packages/nodes-base/nodes/Orbit/NoteDescription.ts @@ -60,7 +60,6 @@ export const noteFields: INodeProperties[] = [ ], }, }, - description: 'The workspace', }, { displayName: 'Member ID', diff --git a/packages/nodes-base/nodes/Orbit/Orbit.node.ts b/packages/nodes-base/nodes/Orbit/Orbit.node.ts index b55526f6a..61e06e519 100644 --- a/packages/nodes-base/nodes/Orbit/Orbit.node.ts +++ b/packages/nodes-base/nodes/Orbit/Orbit.node.ts @@ -142,7 +142,7 @@ export class Orbit implements INodeType { async execute(this: IExecuteFunctions): Promise { const items = this.getInputData(); const returnData: IDataObject[] = []; - const length = items.length as unknown as number; + const length = items.length; const qs: IDataObject = {}; let responseData; const resource = this.getNodeParameter('resource', 0) as string; diff --git a/packages/nodes-base/nodes/Paddle/CouponDescription.ts b/packages/nodes-base/nodes/Paddle/CouponDescription.ts index 3e6c6f5c3..2a92fe600 100644 --- a/packages/nodes-base/nodes/Paddle/CouponDescription.ts +++ b/packages/nodes-base/nodes/Paddle/CouponDescription.ts @@ -93,7 +93,7 @@ export const couponFields: INodeProperties[] = [ ], }, }, - default: '', + default: [], description: 'Comma-separated list of product IDs. Required if coupon_type is product.', required: true, }, @@ -314,7 +314,6 @@ export const couponFields: INodeProperties[] = [ name: 'jsonParameters', type: 'boolean', default: false, - description: '', displayOptions: { show: { resource: [ @@ -577,7 +576,6 @@ export const couponFields: INodeProperties[] = [ name: 'jsonParameters', type: 'boolean', default: false, - description: '', displayOptions: { show: { resource: [ @@ -643,7 +641,7 @@ export const couponFields: INodeProperties[] = [ displayName: 'Discount', name: 'discount', type: 'fixedCollection', - default: 'discountProperties', + default: {}, options: [ { displayName: 'Discount Properties', diff --git a/packages/nodes-base/nodes/Paddle/Paddle.node.ts b/packages/nodes-base/nodes/Paddle/Paddle.node.ts index 2f8f272ad..1e0a2d6a0 100644 --- a/packages/nodes-base/nodes/Paddle/Paddle.node.ts +++ b/packages/nodes-base/nodes/Paddle/Paddle.node.ts @@ -184,7 +184,7 @@ export class Paddle implements INodeType { async execute(this: IExecuteFunctions): Promise { const items = this.getInputData(); const returnData: IDataObject[] = []; - const length = items.length as unknown as number; + const length = items.length; let responseData; const body: IDataObject = {}; const resource = this.getNodeParameter('resource', 0) as string; diff --git a/packages/nodes-base/nodes/Paddle/PaymentDescription.ts b/packages/nodes-base/nodes/Paddle/PaymentDescription.ts index 443862599..57457e345 100644 --- a/packages/nodes-base/nodes/Paddle/PaymentDescription.ts +++ b/packages/nodes-base/nodes/Paddle/PaymentDescription.ts @@ -81,7 +81,6 @@ export const paymentFields: INodeProperties[] = [ name: 'jsonParameters', type: 'boolean', default: false, - description: '', displayOptions: { show: { resource: [ diff --git a/packages/nodes-base/nodes/Paddle/UserDescription.ts b/packages/nodes-base/nodes/Paddle/UserDescription.ts index 9fe2dfda4..b4e9d7331 100644 --- a/packages/nodes-base/nodes/Paddle/UserDescription.ts +++ b/packages/nodes-base/nodes/Paddle/UserDescription.ts @@ -77,7 +77,6 @@ export const userFields: INodeProperties[] = [ name: 'jsonParameters', type: 'boolean', default: false, - description: '', displayOptions: { show: { resource: [ diff --git a/packages/nodes-base/nodes/PagerDuty/IncidentDescription.ts b/packages/nodes-base/nodes/PagerDuty/IncidentDescription.ts index b553964d2..124714243 100644 --- a/packages/nodes-base/nodes/PagerDuty/IncidentDescription.ts +++ b/packages/nodes-base/nodes/PagerDuty/IncidentDescription.ts @@ -142,8 +142,7 @@ export const incidentFields: INodeProperties[] = [ name: 'incidentKey', type: 'string', default: '', - description: `Sending subsequent requests referencing the same service and with the same incident_key - will result in those requests being rejected if an open incident matches that incident_key.`, + description: 'Sending subsequent requests referencing the same service and with the same incident_key will result in those requests being rejected if an open incident matches that incident_key.', }, { displayName: 'Priority ID', @@ -370,7 +369,7 @@ export const incidentFields: INodeProperties[] = [ typeOptions: { loadOptionsMethod: 'getServices', }, - default: '', + default: [], description: 'Returns only the incidents associated with the passed service(s).', }, { @@ -378,7 +377,7 @@ export const incidentFields: INodeProperties[] = [ name: 'since', type: 'dateTime', default: '', - description: 'The start of the date range over which you want to search. (the limit on date ranges is 6 months)', + description: 'The start of the date range over which you want to search. (the limit on date ranges is 6 months).', }, { displayName: 'Sort By', @@ -406,7 +405,7 @@ export const incidentFields: INodeProperties[] = [ value: 'triggered', }, ], - default: '', + default: [], description: 'Returns only the incidents associated with the passed service(s).', }, { @@ -424,14 +423,14 @@ export const incidentFields: INodeProperties[] = [ loadOptionsMethod: 'getTimezones', }, default: '', - description: 'Time zone in which dates in the result will be rendered. If not set dates will return UTC', + description: 'Time zone in which dates in the result will be rendered. If not set dates will return UTC.', }, { displayName: 'Until', name: 'until', type: 'dateTime', default: '', - description: 'The end of the date range over which you want to search. (the limit on date ranges is 6 months)', + description: 'The end of the date range over which you want to search. (the limit on date ranges is 6 months).', }, { displayName: 'Urgencies', @@ -447,7 +446,7 @@ export const incidentFields: INodeProperties[] = [ value: 'low', }, ], - default: '', + default: [], description: 'urgencies of the incidents to be returned. Defaults to all urgencies. Account must have the urgencies ability to do this', }, { @@ -455,7 +454,7 @@ export const incidentFields: INodeProperties[] = [ name: 'userIds', type: 'string', default: '', - description: 'Returns only the incidents currently assigned to the passed user(s). This expects one or more user IDs (multiple Ids can be added separated by comma)', + description: 'Returns only the incidents currently assigned to the passed user(s). This expects one or more user IDs (multiple Ids can be added separated by comma).', }, ], }, diff --git a/packages/nodes-base/nodes/PagerDuty/LogEntryDescription.ts b/packages/nodes-base/nodes/PagerDuty/LogEntryDescription.ts index 063e47268..79d180cf1 100644 --- a/packages/nodes-base/nodes/PagerDuty/LogEntryDescription.ts +++ b/packages/nodes-base/nodes/PagerDuty/LogEntryDescription.ts @@ -151,7 +151,7 @@ export const logEntryFields: INodeProperties[] = [ name: 'since', type: 'dateTime', default: '', - description: 'The start of the date range over which you want to search. (the limit on date ranges is 6 months)', + description: 'The start of the date range over which you want to search. (the limit on date ranges is 6 months).', }, { displayName: 'Timezone', @@ -161,14 +161,14 @@ export const logEntryFields: INodeProperties[] = [ loadOptionsMethod: 'getTimezones', }, default: '', - description: 'Time zone in which dates in the result will be rendered. If not set dates will return UTC', + description: 'Time zone in which dates in the result will be rendered. If not set dates will return UTC.', }, { displayName: 'Until', name: 'until', type: 'dateTime', default: '', - description: 'The end of the date range over which you want to search. (the limit on date ranges is 6 months)', + description: 'The end of the date range over which you want to search. (the limit on date ranges is 6 months).', }, ], }, diff --git a/packages/nodes-base/nodes/PagerDuty/PagerDuty.node.ts b/packages/nodes-base/nodes/PagerDuty/PagerDuty.node.ts index 164b1b01f..be6f5a2a1 100644 --- a/packages/nodes-base/nodes/PagerDuty/PagerDuty.node.ts +++ b/packages/nodes-base/nodes/PagerDuty/PagerDuty.node.ts @@ -211,7 +211,7 @@ export class PagerDuty implements INodeType { async execute(this: IExecuteFunctions): Promise { const items = this.getInputData(); const returnData: IDataObject[] = []; - const length = items.length as unknown as number; + const length = items.length; let responseData; const qs: IDataObject = {}; const resource = this.getNodeParameter('resource', 0) as string; diff --git a/packages/nodes-base/nodes/PayPal/PayPal.node.ts b/packages/nodes-base/nodes/PayPal/PayPal.node.ts index 36e4d6ee3..d35b7623d 100644 --- a/packages/nodes-base/nodes/PayPal/PayPal.node.ts +++ b/packages/nodes-base/nodes/PayPal/PayPal.node.ts @@ -137,7 +137,7 @@ export class PayPal implements INodeType { async execute(this: IExecuteFunctions): Promise { const items = this.getInputData(); const returnData: IDataObject[] = []; - const length = items.length as unknown as number; + const length = items.length; let responseData; const qs: IDataObject = {}; diff --git a/packages/nodes-base/nodes/PayPal/PaymentDescription.ts b/packages/nodes-base/nodes/PayPal/PaymentDescription.ts index 5cf89c539..0e2dbdb84 100644 --- a/packages/nodes-base/nodes/PayPal/PaymentDescription.ts +++ b/packages/nodes-base/nodes/PayPal/PaymentDescription.ts @@ -58,7 +58,6 @@ export const payoutFields: INodeProperties[] = [ name: 'jsonParameters', type: 'boolean', default: false, - description: '', displayOptions: { show: { resource: [ @@ -164,7 +163,6 @@ export const payoutFields: INodeProperties[] = [ }, ], default: 'USD', - description: 'Currency', }, { displayName: 'Amount', @@ -206,7 +204,6 @@ export const payoutFields: INodeProperties[] = [ }, ], default: 'paypal', - description: 'The recipient wallet', }, ], }, diff --git a/packages/nodes-base/nodes/Peekalink/Peekalink.node.ts b/packages/nodes-base/nodes/Peekalink/Peekalink.node.ts index 60b328253..5de464e02 100644 --- a/packages/nodes-base/nodes/Peekalink/Peekalink.node.ts +++ b/packages/nodes-base/nodes/Peekalink/Peekalink.node.ts @@ -58,7 +58,6 @@ export class Peekalink implements INodeType { name: 'url', type: 'string', default: '', - description: '', required: true, }, ], @@ -67,7 +66,7 @@ export class Peekalink implements INodeType { async execute(this: IExecuteFunctions): Promise { const items = this.getInputData(); const returnData: IDataObject[] = []; - const length = items.length as unknown as number; + const length = items.length; const qs: IDataObject = {}; let responseData; const operation = this.getNodeParameter('operation', 0) as string; diff --git a/packages/nodes-base/nodes/Phantombuster/AgentDescription.ts b/packages/nodes-base/nodes/Phantombuster/AgentDescription.ts index 875bfd2c7..b8df55332 100644 --- a/packages/nodes-base/nodes/Phantombuster/AgentDescription.ts +++ b/packages/nodes-base/nodes/Phantombuster/AgentDescription.ts @@ -290,7 +290,6 @@ export const agentFields: INodeProperties[] = [ name: 'jsonParameters', type: 'boolean', default: false, - description: '', displayOptions: { show: { operation: [ @@ -338,7 +337,7 @@ export const agentFields: INodeProperties[] = [ name: 'argumentsUi', placeholder: 'Add Argument', type: 'fixedCollection', - default: '', + default: {}, typeOptions: { multipleValues: true, }, @@ -377,7 +376,7 @@ export const agentFields: INodeProperties[] = [ name: 'bonusArgumentUi', placeholder: 'Add Bonus Argument', type: 'fixedCollection', - default: '', + default: {}, typeOptions: { multipleValues: true, }, diff --git a/packages/nodes-base/nodes/Phantombuster/Phantombuster.node.ts b/packages/nodes-base/nodes/Phantombuster/Phantombuster.node.ts index 1f1b537ef..9c3eeb9b6 100644 --- a/packages/nodes-base/nodes/Phantombuster/Phantombuster.node.ts +++ b/packages/nodes-base/nodes/Phantombuster/Phantombuster.node.ts @@ -115,7 +115,7 @@ export class Phantombuster implements INodeType { async execute(this: IExecuteFunctions): Promise { const items = this.getInputData(); const returnData: IDataObject[] = []; - const length = (items.length as unknown) as number; + const length = items.length; const qs: IDataObject = {}; let responseData; const resource = this.getNodeParameter('resource', 0) as string; diff --git a/packages/nodes-base/nodes/PhilipsHue/LightDescription.ts b/packages/nodes-base/nodes/PhilipsHue/LightDescription.ts index 4e155f01e..784a026d2 100644 --- a/packages/nodes-base/nodes/PhilipsHue/LightDescription.ts +++ b/packages/nodes-base/nodes/PhilipsHue/LightDescription.ts @@ -250,7 +250,7 @@ export const lightFields: INodeProperties[] = [ maxValue: 65534, }, default: 0, - description: 'Increments or decrements the value of the ct. ct_inc is ignored if the ct attribute is provided', + description: 'Increments or decrements the value of the ct. ct_inc is ignored if the ct attribute is provided.', }, { displayName: 'Coordinates', diff --git a/packages/nodes-base/nodes/PhilipsHue/PhilipsHue.node.ts b/packages/nodes-base/nodes/PhilipsHue/PhilipsHue.node.ts index f23a3d276..41f083390 100644 --- a/packages/nodes-base/nodes/PhilipsHue/PhilipsHue.node.ts +++ b/packages/nodes-base/nodes/PhilipsHue/PhilipsHue.node.ts @@ -106,7 +106,7 @@ export class PhilipsHue implements INodeType { async execute(this: IExecuteFunctions): Promise { const items = this.getInputData(); const returnData: IDataObject[] = []; - const length = (items.length as unknown) as number; + const length = items.length; const qs: IDataObject = {}; let responseData; const resource = this.getNodeParameter('resource', 0) as string; diff --git a/packages/nodes-base/nodes/Pipedrive/Pipedrive.node.ts b/packages/nodes-base/nodes/Pipedrive/Pipedrive.node.ts index fe5db8d3b..432c13b0a 100644 --- a/packages/nodes-base/nodes/Pipedrive/Pipedrive.node.ts +++ b/packages/nodes-base/nodes/Pipedrive/Pipedrive.node.ts @@ -1918,7 +1918,7 @@ export class Pipedrive implements INodeType { name: 'includeFields', type: 'string', default: '', - description: 'Supports including optional fields in the results which are not provided by default. Example: deal.cc_email', + description: 'Supports including optional fields in the results which are not provided by default. Example: deal.cc_email.', }, { displayName: 'Organization ID', @@ -3580,7 +3580,7 @@ export class Pipedrive implements INodeType { name: 'exclude', type: 'string', default: '', - description: 'A comma separated Activity Ids, to exclude from result. Ex. 4, 9, 11, ...', + description: 'A comma-separated Activity Ids, to exclude from result. Ex. 4, 9, 11, ...', }, ], }, diff --git a/packages/nodes-base/nodes/PostHog/PostHog.node.ts b/packages/nodes-base/nodes/PostHog/PostHog.node.ts index 7981aaa3c..e84c63a9f 100644 --- a/packages/nodes-base/nodes/PostHog/PostHog.node.ts +++ b/packages/nodes-base/nodes/PostHog/PostHog.node.ts @@ -99,7 +99,7 @@ export class PostHog implements INodeType { async execute(this: IExecuteFunctions): Promise { const items = this.getInputData(); const returnData: IDataObject[] = []; - const length = (items.length as unknown) as number; + const length = items.length; const qs: IDataObject = {}; let responseData; const resource = this.getNodeParameter('resource', 0) as string; diff --git a/packages/nodes-base/nodes/Postgres/Postgres.node.ts b/packages/nodes-base/nodes/Postgres/Postgres.node.ts index 982c27bb0..cc2b32514 100644 --- a/packages/nodes-base/nodes/Postgres/Postgres.node.ts +++ b/packages/nodes-base/nodes/Postgres/Postgres.node.ts @@ -117,8 +117,7 @@ export class Postgres implements INodeType { }, default: '', placeholder: 'id:int,name:text,description', - description: - 'Comma separated list of the properties which should used as columns for the new rows. You can use type casting with colons (:) like id:int.', + description: `Comma-separated list of the properties which should used as columns for the new rows. You can use type casting with colons (:) like id:int.`, }, // ---------------------------------- @@ -161,7 +160,7 @@ export class Postgres implements INodeType { }, default: 'id', required: true, - description: 'Comma separated list of the properties which decides which rows in the database should be updated. Normally that would be "id".', + description: 'Comma-separated list of the properties which decides which rows in the database should be updated. Normally that would be "id".', }, { displayName: 'Columns', @@ -174,8 +173,7 @@ export class Postgres implements INodeType { }, default: '', placeholder: 'name:text,description', - description: - 'Comma separated list of the properties which should used as columns for rows to update. You can use type casting with colons (:) like id:int.', + description: `Comma-separated list of the properties which should used as columns for rows to update. You can use type casting with colons (:) like id:int.`, }, // ---------------------------------- @@ -191,7 +189,7 @@ export class Postgres implements INodeType { }, }, default: '*', - description: 'Comma separated list of the fields that the operation will return', + description: 'Comma-separated list of the fields that the operation will return', }, // ---------------------------------- // Additional fields @@ -240,7 +238,7 @@ export class Postgres implements INodeType { }, default: '', placeholder: 'quantity,price', - description: 'Comma separated list of properties which should be used as query parameters.', + description: 'Comma-separated list of properties which should be used as query parameters.', }, ], }, diff --git a/packages/nodes-base/nodes/ProfitWell/MetricDescription.ts b/packages/nodes-base/nodes/ProfitWell/MetricDescription.ts index 07640bd2f..a5e48025a 100644 --- a/packages/nodes-base/nodes/ProfitWell/MetricDescription.ts +++ b/packages/nodes-base/nodes/ProfitWell/MetricDescription.ts @@ -81,7 +81,7 @@ export const metricFields: INodeProperties[] = [ ], }, }, - description: 'Can only be the current or previous month. Format should be YYYY-MM', + description: 'Can only be the current or previous month. Format should be YYYY-MM.', }, { displayName: 'Simplify Response', @@ -215,7 +215,7 @@ export const metricFields: INodeProperties[] = [ description: `How much upgrades and plan length increases affect your MRR`, }, ], - default: '', + default: [], description: 'Comma-separated list of metric trends to return (the default is to return all metric)', }, { @@ -431,7 +431,7 @@ export const metricFields: INodeProperties[] = [ description: `Net change in revenue for this plan`, }, ], - default: '', + default: [], description: 'Comma-separated list of metric trends to return (the default is to return all metric)', }, ], diff --git a/packages/nodes-base/nodes/ProfitWell/ProfitWell.node.ts b/packages/nodes-base/nodes/ProfitWell/ProfitWell.node.ts index 8babf555c..c66019ad9 100644 --- a/packages/nodes-base/nodes/ProfitWell/ProfitWell.node.ts +++ b/packages/nodes-base/nodes/ProfitWell/ProfitWell.node.ts @@ -97,7 +97,7 @@ export class ProfitWell implements INodeType { async execute(this: IExecuteFunctions): Promise { const items = this.getInputData(); const returnData: IDataObject[] = []; - const length = items.length as unknown as number; + const length = items.length; const qs: IDataObject = {}; let responseData; const resource = this.getNodeParameter('resource', 0) as string; diff --git a/packages/nodes-base/nodes/Pushbullet/Pushbullet.node.ts b/packages/nodes-base/nodes/Pushbullet/Pushbullet.node.ts index 38306bdf3..cab788509 100644 --- a/packages/nodes-base/nodes/Pushbullet/Pushbullet.node.ts +++ b/packages/nodes-base/nodes/Pushbullet/Pushbullet.node.ts @@ -446,7 +446,7 @@ export class Pushbullet implements INodeType { async execute(this: IExecuteFunctions): Promise { const items = this.getInputData(); const returnData: IDataObject[] = []; - const length = (items.length as unknown) as number; + const length = items.length; const qs: IDataObject = {}; let responseData; const resource = this.getNodeParameter('resource', 0) as string; diff --git a/packages/nodes-base/nodes/Pushcut/Pushcut.node.ts b/packages/nodes-base/nodes/Pushcut/Pushcut.node.ts index 1ff5123a4..c6ccb6824 100644 --- a/packages/nodes-base/nodes/Pushcut/Pushcut.node.ts +++ b/packages/nodes-base/nodes/Pushcut/Pushcut.node.ts @@ -113,8 +113,8 @@ export class Pushcut implements INodeType { typeOptions: { loadOptionsMethod: 'getDevices', }, - default: '', - description: 'List of devices this notification is sent to. (default is all devices)', + default: [], + description: 'List of devices this notification is sent to. (default is all devices).', }, { displayName: 'Input', @@ -176,7 +176,7 @@ export class Pushcut implements INodeType { async execute(this: IExecuteFunctions): Promise { const items = this.getInputData(); const returnData: IDataObject[] = []; - const length = (items.length as unknown) as number; + const length = items.length; const qs: IDataObject = {}; let responseData; const resource = this.getNodeParameter('resource', 0) as string; diff --git a/packages/nodes-base/nodes/Pushcut/PushcutTrigger.node.ts b/packages/nodes-base/nodes/Pushcut/PushcutTrigger.node.ts index a5a0ade8f..529ee689f 100644 --- a/packages/nodes-base/nodes/Pushcut/PushcutTrigger.node.ts +++ b/packages/nodes-base/nodes/Pushcut/PushcutTrigger.node.ts @@ -46,7 +46,7 @@ export class PushcutTrigger implements INodeType { displayName: 'Action Name', name: 'actionName', type: 'string', - description: 'Choose any name you would like. It will show up as a server action in the app', + description: 'Choose any name you would like. It will show up as a server action in the app.', default: '', }, ], diff --git a/packages/nodes-base/nodes/Pushover/Pushover.node.ts b/packages/nodes-base/nodes/Pushover/Pushover.node.ts index 9f5438409..e978014b2 100644 --- a/packages/nodes-base/nodes/Pushover/Pushover.node.ts +++ b/packages/nodes-base/nodes/Pushover/Pushover.node.ts @@ -108,6 +108,7 @@ export class Pushover implements INodeType { default: '', description: `Your message`, }, + // eslint-disable-next-line n8n-nodes-base/node-param-default-missing { displayName: 'Priority', name: 'priority', @@ -237,7 +238,7 @@ export class Pushover implements INodeType { ], }, ], - default: '', + default: {}, }, { displayName: 'Device', @@ -308,7 +309,7 @@ export class Pushover implements INodeType { async execute(this: IExecuteFunctions): Promise { const items = this.getInputData(); const returnData: IDataObject[] = []; - const length = (items.length as unknown) as number; + const length = items.length; const qs: IDataObject = {}; let responseData; const resource = this.getNodeParameter('resource', 0) as string; diff --git a/packages/nodes-base/nodes/QuestDb/QuestDb.node.ts b/packages/nodes-base/nodes/QuestDb/QuestDb.node.ts index 6c11d3372..c16b41312 100644 --- a/packages/nodes-base/nodes/QuestDb/QuestDb.node.ts +++ b/packages/nodes-base/nodes/QuestDb/QuestDb.node.ts @@ -120,8 +120,7 @@ export class QuestDb implements INodeType { }, default: '', placeholder: 'id,name,description', - description: - 'Comma separated list of the properties which should used as columns for the new rows.', + description: `Comma-separated list of the properties which should used as columns for the new rows.`, }, { displayName: 'Return Fields', @@ -133,7 +132,7 @@ export class QuestDb implements INodeType { }, }, default: '*', - description: 'Comma separated list of the fields that the operation will return', + description: 'Comma-separated list of the fields that the operation will return', }, // ---------------------------------- // additional fields @@ -184,7 +183,7 @@ export class QuestDb implements INodeType { }, default: '', placeholder: 'quantity,price', - description: 'Comma separated list of properties which should be used as query parameters.', + description: 'Comma-separated list of properties which should be used as query parameters.', }, ], }, diff --git a/packages/nodes-base/nodes/QuickBase/QuickBase.node.ts b/packages/nodes-base/nodes/QuickBase/QuickBase.node.ts index b095e8cd0..facfa1724 100644 --- a/packages/nodes-base/nodes/QuickBase/QuickBase.node.ts +++ b/packages/nodes-base/nodes/QuickBase/QuickBase.node.ts @@ -130,7 +130,7 @@ export class QuickBase implements INodeType { async execute(this: IExecuteFunctions): Promise { const items = this.getInputData(); const returnData: IDataObject[] = []; - const length = (items.length as unknown) as number; + const length = items.length; const qs: IDataObject = {}; const headers: IDataObject = {}; let responseData; diff --git a/packages/nodes-base/nodes/QuickBase/RecordDescription.ts b/packages/nodes-base/nodes/QuickBase/RecordDescription.ts index 86de74ca3..dbb382985 100644 --- a/packages/nodes-base/nodes/QuickBase/RecordDescription.ts +++ b/packages/nodes-base/nodes/QuickBase/RecordDescription.ts @@ -85,7 +85,7 @@ export const recordFields: INodeProperties[] = [ default: '', required: true, placeholder: 'Select Fields...', - description: 'Comma separated list of the properties which should used as columns for the new rows.', + description: 'Comma-separated list of the properties which should used as columns for the new rows.', }, { displayName: 'Simplify Response', @@ -363,7 +363,7 @@ export const recordFields: INodeProperties[] = [ default: '', required: true, placeholder: 'id,name,description', - description: 'Comma separated list of the properties which should used as columns for the new rows.', + description: 'Comma-separated list of the properties which should used as columns for the new rows.', }, { displayName: 'Update Key', @@ -488,7 +488,7 @@ export const recordFields: INodeProperties[] = [ default: '', required: true, placeholder: 'id,name,description', - description: 'Comma separated list of the properties which should used as columns for the new rows.', + description: 'Comma-separated list of the properties which should used as columns for the new rows.', }, { displayName: 'Update Key', diff --git a/packages/nodes-base/nodes/QuickBooks/descriptions/Transaction/TransactionDescription.ts b/packages/nodes-base/nodes/QuickBooks/descriptions/Transaction/TransactionDescription.ts index 982f3d379..afd1f7b3c 100644 --- a/packages/nodes-base/nodes/QuickBooks/descriptions/Transaction/TransactionDescription.ts +++ b/packages/nodes-base/nodes/QuickBooks/descriptions/Transaction/TransactionDescription.ts @@ -102,7 +102,7 @@ export const transactionFields: INodeProperties[] = [ displayName: 'Columns', name: 'columns', type: 'multiOptions', - default: '', + default: [], description: 'Columns to return', options: TRANSACTION_REPORT_COLUMNS, }, diff --git a/packages/nodes-base/nodes/Raindrop/descriptions/TagDescription.ts b/packages/nodes-base/nodes/Raindrop/descriptions/TagDescription.ts index 6ce13508a..3d526a805 100644 --- a/packages/nodes-base/nodes/Raindrop/descriptions/TagDescription.ts +++ b/packages/nodes-base/nodes/Raindrop/descriptions/TagDescription.ts @@ -76,7 +76,7 @@ export const tagFields: INodeProperties[] = [ loadOptionsMethod: 'getCollections', }, default: '', - description: `It's possible to restrict remove action to just one collection. It's optional`, + description: 'It\'s possible to restrict remove action to just one collection. It\'s optional.', }, ], }, diff --git a/packages/nodes-base/nodes/ReadBinaryFile/ReadBinaryFile.node.ts b/packages/nodes-base/nodes/ReadBinaryFile/ReadBinaryFile.node.ts index b378f9722..d2df0783a 100644 --- a/packages/nodes-base/nodes/ReadBinaryFile/ReadBinaryFile.node.ts +++ b/packages/nodes-base/nodes/ReadBinaryFile/ReadBinaryFile.node.ts @@ -51,7 +51,7 @@ export class ReadBinaryFile implements INodeType { const items = this.getInputData(); const returnData: INodeExecutionData[] = []; - const length = items.length as unknown as number; + const length = items.length; let item: INodeExecutionData; for (let itemIndex = 0; itemIndex < length; itemIndex++) { diff --git a/packages/nodes-base/nodes/ReadPdf/ReadPdf.node.ts b/packages/nodes-base/nodes/ReadPdf/ReadPdf.node.ts index 7ca735d54..74939919d 100644 --- a/packages/nodes-base/nodes/ReadPdf/ReadPdf.node.ts +++ b/packages/nodes-base/nodes/ReadPdf/ReadPdf.node.ts @@ -38,7 +38,7 @@ export class ReadPdf implements INodeType { const items = this.getInputData(); const returnData: INodeExecutionData[] = []; - const length = items.length as unknown as number; + const length = items.length; let item: INodeExecutionData; for (let itemIndex = 0; itemIndex < length; itemIndex++) { diff --git a/packages/nodes-base/nodes/Redis/RedisTrigger.node.ts b/packages/nodes-base/nodes/Redis/RedisTrigger.node.ts index 037b39943..4ac8ac221 100644 --- a/packages/nodes-base/nodes/Redis/RedisTrigger.node.ts +++ b/packages/nodes-base/nodes/Redis/RedisTrigger.node.ts @@ -38,7 +38,7 @@ export class RedisTrigger implements INodeType { type: 'string', default: '', required: true, - description: `Channels to subscribe to, multiple channels be defined with comma. Wildcard character(*) is supported`, + description: 'Channels to subscribe to, multiple channels be defined with comma. Wildcard character(*) is supported.', }, { displayName: 'Options', diff --git a/packages/nodes-base/nodes/RenameKeys/RenameKeys.node.ts b/packages/nodes-base/nodes/RenameKeys/RenameKeys.node.ts index 167be3234..6dc5e261e 100644 --- a/packages/nodes-base/nodes/RenameKeys/RenameKeys.node.ts +++ b/packages/nodes-base/nodes/RenameKeys/RenameKeys.node.ts @@ -53,7 +53,7 @@ export class RenameKeys implements INodeType { type: 'string', default: '', placeholder: 'currentKey', - description: 'The current name of the key. It is also possible to define deep keys by using dot-notation like for example: "level1.level2.currentKey"', + description: 'The current name of the key. It is also possible to define deep keys by using dot-notation like for example: "level1.level2.currentKey".', }, { displayName: 'New Key Name', @@ -61,7 +61,7 @@ export class RenameKeys implements INodeType { type: 'string', default: '', placeholder: 'newKey', - description: 'the name the key should be renamed to. It is also possible to define deep keys by using dot-notation like for example: "level1.level2.newKey"', + description: 'the name the key should be renamed to. It is also possible to define deep keys by using dot-notation like for example: "level1.level2.newKey".', }, ], }, diff --git a/packages/nodes-base/nodes/Rocketchat/Rocketchat.node.ts b/packages/nodes-base/nodes/Rocketchat/Rocketchat.node.ts index 1f6ad54fb..bf4b4a9ad 100644 --- a/packages/nodes-base/nodes/Rocketchat/Rocketchat.node.ts +++ b/packages/nodes-base/nodes/Rocketchat/Rocketchat.node.ts @@ -143,7 +143,6 @@ export class Rocketchat implements INodeType { name: 'jsonParameters', type: 'boolean', default: false, - description: '', displayOptions: { show: { resource: [ @@ -336,7 +335,7 @@ export class Rocketchat implements INodeType { typeOptions: { multipleValues: true, }, - default: '', + default: {}, options: [ { name: 'fieldsValues', @@ -391,14 +390,13 @@ export class Rocketchat implements INodeType { }, default: '', required: false, - description: '', }, ], }; async execute(this: IExecuteFunctions): Promise { const items = this.getInputData(); - const length = (items.length as unknown) as number; + const length = items.length; let responseData; const returnData: IDataObject[] = []; const resource = this.getNodeParameter('resource', 0) as string; diff --git a/packages/nodes-base/nodes/Rundeck/Rundeck.node.ts b/packages/nodes-base/nodes/Rundeck/Rundeck.node.ts index c96cea109..f90c5e9f6 100644 --- a/packages/nodes-base/nodes/Rundeck/Rundeck.node.ts +++ b/packages/nodes-base/nodes/Rundeck/Rundeck.node.ts @@ -158,7 +158,7 @@ export class Rundeck implements INodeType { // Input data const items = this.getInputData(); const returnData: IDataObject[] = []; - const length = items.length as unknown as number; + const length = items.length; const operation = this.getNodeParameter('operation', 0) as string; const resource = this.getNodeParameter('resource', 0) as string; diff --git a/packages/nodes-base/nodes/Salesforce/AccountDescription.ts b/packages/nodes-base/nodes/Salesforce/AccountDescription.ts index 75f796bbe..fd39d5c0c 100644 --- a/packages/nodes-base/nodes/Salesforce/AccountDescription.ts +++ b/packages/nodes-base/nodes/Salesforce/AccountDescription.ts @@ -106,7 +106,7 @@ export const accountFields: INodeProperties[] = [ ], }, }, - description: `If this value exists in the 'match against' field, update the account. Otherwise create a new one`, + description: 'If this value exists in the \'match against\' field, update the account. Otherwise create a new one.', }, { displayName: 'Name', @@ -279,7 +279,6 @@ export const accountFields: INodeProperties[] = [ name: 'numberOfEmployees', type: 'number', default: '', - description: 'Number of employees', }, { displayName: 'Owner', @@ -339,7 +338,7 @@ export const accountFields: INodeProperties[] = [ name: 'shippingCity', type: 'string', default: '', - description: 'Details of the shipping address for this account. City maximum size is 40 characters', + description: 'Details of the shipping address for this account. City maximum size is 40 characters.', }, { displayName: 'Shipping Country', @@ -594,7 +593,6 @@ export const accountFields: INodeProperties[] = [ name: 'numberOfEmployees', type: 'number', default: '', - description: 'Number of employees', }, { displayName: 'Parent ID', @@ -618,7 +616,7 @@ export const accountFields: INodeProperties[] = [ name: 'shippingCity', type: 'string', default: '', - description: 'Details of the shipping address for this account. City maximum size is 40 characters', + description: 'Details of the shipping address for this account. City maximum size is 40 characters.', }, { displayName: 'Shipping Country', diff --git a/packages/nodes-base/nodes/Salesforce/AttachmentDescription.ts b/packages/nodes-base/nodes/Salesforce/AttachmentDescription.ts index c2797035b..698f45df6 100644 --- a/packages/nodes-base/nodes/Salesforce/AttachmentDescription.ts +++ b/packages/nodes-base/nodes/Salesforce/AttachmentDescription.ts @@ -72,7 +72,6 @@ export const attachmentFields: INodeProperties[] = [ ], }, }, - description: '', }, { displayName: 'Name', diff --git a/packages/nodes-base/nodes/Salesforce/CaseDescription.ts b/packages/nodes-base/nodes/Salesforce/CaseDescription.ts index 263bcd943..db8f94de7 100644 --- a/packages/nodes-base/nodes/Salesforce/CaseDescription.ts +++ b/packages/nodes-base/nodes/Salesforce/CaseDescription.ts @@ -253,7 +253,7 @@ export const caseFields: INodeProperties[] = [ name: 'suppliedName', type: 'string', default: '', - description: `The name that was entered when the case was created. This field can't be updated after the case has been created`, + description: 'The name that was entered when the case was created. This field can\'t be updated after the case has been created.', }, { displayName: 'Supplied Phone', @@ -459,7 +459,7 @@ export const caseFields: INodeProperties[] = [ name: 'suppliedName', type: 'string', default: '', - description: `The name that was entered when the case was created. This field can't be updated after the case has been created`, + description: 'The name that was entered when the case was created. This field can\'t be updated after the case has been created.', }, { displayName: 'Supplied Phone', diff --git a/packages/nodes-base/nodes/Salesforce/ContactDescription.ts b/packages/nodes-base/nodes/Salesforce/ContactDescription.ts index a49fe57c5..68ce2b758 100644 --- a/packages/nodes-base/nodes/Salesforce/ContactDescription.ts +++ b/packages/nodes-base/nodes/Salesforce/ContactDescription.ts @@ -111,7 +111,7 @@ export const contactFields: INodeProperties[] = [ ], }, }, - description: `If this value exists in the 'match against' field, update the contact. Otherwise create a new one`, + description: 'If this value exists in the \'match against\' field, update the contact. Otherwise create a new one.', }, { displayName: 'Last Name', @@ -278,8 +278,7 @@ export const contactFields: INodeProperties[] = [ name: 'jigsaw', type: 'string', default: '', - description: `references the ID of a contact in Data.com. - If a contact has a value in this field, it means that a contact was imported as a contact from Data.com.`, + description: 'references the ID of a contact in Data.com. If a contact has a value in this field, it means that a contact was imported as a contact from Data.com.', }, { displayName: 'Lead Source', @@ -576,8 +575,7 @@ export const contactFields: INodeProperties[] = [ name: 'jigsaw', type: 'string', default: '', - description: `references the ID of a contact in Data.com. - If a contact has a value in this field, it means that a contact was imported as a contact from Data.com.`, + description: 'references the ID of a contact in Data.com. If a contact has a value in this field, it means that a contact was imported as a contact from Data.com.', }, { displayName: 'Last Name', diff --git a/packages/nodes-base/nodes/Salesforce/CustomObjectDescription.ts b/packages/nodes-base/nodes/Salesforce/CustomObjectDescription.ts index 77ac5be94..9b599e3ea 100644 --- a/packages/nodes-base/nodes/Salesforce/CustomObjectDescription.ts +++ b/packages/nodes-base/nodes/Salesforce/CustomObjectDescription.ts @@ -118,7 +118,7 @@ export const customObjectFields: INodeProperties[] = [ ], }, }, - description: `If this value exists in the 'match against' field, update the object. Otherwise create a new one`, + description: 'If this value exists in the \'match against\' field, update the object. Otherwise create a new one.', }, { displayName: 'Fields', @@ -507,7 +507,7 @@ export const customObjectFields: INodeProperties[] = [ 'customObject', ], }, - default: '', + default: [], description: 'Fields to include separated by ,', }, ], diff --git a/packages/nodes-base/nodes/Salesforce/LeadDescription.ts b/packages/nodes-base/nodes/Salesforce/LeadDescription.ts index 05c5c6742..e6bf20fca 100644 --- a/packages/nodes-base/nodes/Salesforce/LeadDescription.ts +++ b/packages/nodes-base/nodes/Salesforce/LeadDescription.ts @@ -111,7 +111,7 @@ export const leadFields: INodeProperties[] = [ ], }, }, - description: `If this value exists in the 'match against' field, update the lead. Otherwise create a new one`, + description: 'If this value exists in the \'match against\' field, update the lead. Otherwise create a new one.', }, { displayName: 'Company', @@ -265,8 +265,7 @@ export const leadFields: INodeProperties[] = [ name: 'jigsaw', type: 'string', default: '', - description: `references the ID of a contact in Data.com. - If a lead has a value in this field, it means that a contact was imported as a lead from Data.com.`, + description: 'references the ID of a contact in Data.com. If a lead has a value in this field, it means that a contact was imported as a lead from Data.com.', }, { displayName: 'Lead Source', @@ -521,8 +520,7 @@ export const leadFields: INodeProperties[] = [ name: 'jigsaw', type: 'string', default: '', - description: `references the ID of a contact in Data.com. - If a lead has a value in this field, it means that a contact was imported as a lead from Data.com.`, + description: 'references the ID of a contact in Data.com. If a lead has a value in this field, it means that a contact was imported as a lead from Data.com.', }, { displayName: 'Last Name', diff --git a/packages/nodes-base/nodes/Salesforce/OpportunityDescription.ts b/packages/nodes-base/nodes/Salesforce/OpportunityDescription.ts index 3d78f17cc..160b5d7b3 100644 --- a/packages/nodes-base/nodes/Salesforce/OpportunityDescription.ts +++ b/packages/nodes-base/nodes/Salesforce/OpportunityDescription.ts @@ -106,7 +106,7 @@ export const opportunityFields: INodeProperties[] = [ ], }, }, - description: `If this value exists in the 'match against' field, update the opportunity. Otherwise create a new one`, + description: 'If this value exists in the \'match against\' field, update the opportunity. Otherwise create a new one.', }, { displayName: 'Name', diff --git a/packages/nodes-base/nodes/Salesforce/TaskDescription.ts b/packages/nodes-base/nodes/Salesforce/TaskDescription.ts index 17bf443fb..91bebcb04 100644 --- a/packages/nodes-base/nodes/Salesforce/TaskDescription.ts +++ b/packages/nodes-base/nodes/Salesforce/TaskDescription.ts @@ -109,17 +109,14 @@ export const taskFields: INodeProperties[] = [ alwaysOpenEditWindow: true, }, default: '', - description: `Represents the result of a given call, for example, “we'll call back,” or “call - unsuccessful.” Limit is 255 characters. Not subject to field-level security, available for any user - in an organization with Salesforce CRM Call Center.`, + description: 'Represents the result of a given call, for example, “we\'ll call back,” or “call unsuccessful.” Limit is 255 characters. Not subject to field-level security, available for any user in an organization with Salesforce CRM Call Center.', }, { displayName: 'Call Duration In Seconds', name: 'callDurationInSeconds', type: 'number', default: '', - description: `Duration of the call in seconds. Not subject to field-level security, - available for any user in an organization with Salesforce CRM Call Center`, + description: 'Duration of the call in seconds. Not subject to field-level security, available for any user in an organization with Salesforce CRM Call Center', }, { displayName: 'Call Object', @@ -232,7 +229,7 @@ export const taskFields: INodeProperties[] = [ loadOptionsMethod: 'getTaskRecurrenceInstances', }, default: '', - description: `The frequency of the recurring task. For example, “2nd” or “3rd.”`, + description: 'The frequency of the recurring task. For example, “2nd” or “3rd.”.', }, { displayName: 'Recurrence Interval', @@ -260,8 +257,7 @@ export const taskFields: INodeProperties[] = [ name: 'recurrenceEndDateOnly', type: 'dateTime', default: '', - description: `The last date on which the task repeats. This field has a timestamp that - is always set to midnight in the Coordinated Universal Time (UTC) time zone.`, + description: 'The last date on which the task repeats. This field has a timestamp that is always set to midnight in the Coordinated Universal Time (UTC) time zone.', }, { displayName: 'Recurrence Month Of Year', @@ -360,10 +356,7 @@ export const taskFields: INodeProperties[] = [ name: 'reminderDateTime', type: 'dateTime', default: '', - description: `Represents the time when the reminder is scheduled to fire, - if IsReminderSet is set to true. If IsReminderSet is set to false, then the - user may have deselected the reminder checkbox in the Salesforce user interface, - or the reminder has already fired at the time indicated by the value.`, + description: 'Represents the time when the reminder is scheduled to fire, if IsReminderSet is set to true. If IsReminderSet is set to false, then the user may have deselected the reminder checkbox in the Salesforce user interface, or the reminder has already fired at the time indicated by the value.', }, { displayName: 'Subject', @@ -390,9 +383,7 @@ export const taskFields: INodeProperties[] = [ name: 'whatId', type: 'string', default: '', - description: `The WhatId represents nonhuman objects such as accounts, opportunities, - campaigns, cases, or custom objects. WhatIds are polymorphic. Polymorphic means a - WhatId is equivalent to the ID of a related object.`, + description: 'The WhatId represents nonhuman objects such as accounts, opportunities, campaigns, cases, or custom objects. WhatIds are polymorphic. Polymorphic means a WhatId is equivalent to the ID of a related object.', }, { displayName: 'Who Id', @@ -457,17 +448,14 @@ export const taskFields: INodeProperties[] = [ alwaysOpenEditWindow: true, }, default: '', - description: `Represents the result of a given call, for example, “we'll call back,” or “call - unsuccessful.” Limit is 255 characters. Not subject to field-level security, available for any user - in an organization with Salesforce CRM Call Center.`, + description: 'Represents the result of a given call, for example, “we\'ll call back,” or “call unsuccessful.” Limit is 255 characters. Not subject to field-level security, available for any user in an organization with Salesforce CRM Call Center.', }, { displayName: 'Call Duration In Seconds', name: 'callDurationInSeconds', type: 'number', default: '', - description: `Duration of the call in seconds. Not subject to field-level security, - available for any user in an organization with Salesforce CRM Call Center`, + description: 'Duration of the call in seconds. Not subject to field-level security, available for any user in an organization with Salesforce CRM Call Center', }, { displayName: 'Call Object', @@ -601,8 +589,7 @@ export const taskFields: INodeProperties[] = [ name: 'recurrenceEndDateOnly', type: 'dateTime', default: '', - description: `The last date on which the task repeats. This field has a timestamp that - is always set to midnight in the Coordinated Universal Time (UTC) time zone.`, + description: 'The last date on which the task repeats. This field has a timestamp that is always set to midnight in the Coordinated Universal Time (UTC) time zone.', }, { displayName: 'Recurrence Instance', @@ -612,7 +599,7 @@ export const taskFields: INodeProperties[] = [ loadOptionsMethod: 'getTaskRecurrenceInstances', }, default: '', - description: `The frequency of the recurring task. For example, “2nd” or “3rd.”`, + description: 'The frequency of the recurring task. For example, “2nd” or “3rd.”.', }, { displayName: 'Recurrence Interval', @@ -728,10 +715,7 @@ export const taskFields: INodeProperties[] = [ name: 'reminderDateTime', type: 'dateTime', default: '', - description: `Represents the time when the reminder is scheduled to fire, - if IsReminderSet is set to true. If IsReminderSet is set to false, then the - user may have deselected the reminder checkbox in the Salesforce user interface, - or the reminder has already fired at the time indicated by the value.`, + description: 'Represents the time when the reminder is scheduled to fire, if IsReminderSet is set to true. If IsReminderSet is set to false, then the user may have deselected the reminder checkbox in the Salesforce user interface, or the reminder has already fired at the time indicated by the value.', }, { displayName: 'Type', @@ -748,9 +732,7 @@ export const taskFields: INodeProperties[] = [ name: 'whatId', type: 'string', default: '', - description: `The WhatId represents nonhuman objects such as accounts, opportunities, - campaigns, cases, or custom objects. WhatIds are polymorphic. Polymorphic means a - WhatId is equivalent to the ID of a related object.`, + description: 'The WhatId represents nonhuman objects such as accounts, opportunities, campaigns, cases, or custom objects. WhatIds are polymorphic. Polymorphic means a WhatId is equivalent to the ID of a related object.', }, { displayName: 'Who Id', diff --git a/packages/nodes-base/nodes/Salesmate/ActivityDescription.ts b/packages/nodes-base/nodes/Salesmate/ActivityDescription.ts index 0c97c5e41..e880fcb57 100644 --- a/packages/nodes-base/nodes/Salesmate/ActivityDescription.ts +++ b/packages/nodes-base/nodes/Salesmate/ActivityDescription.ts @@ -204,7 +204,6 @@ export const activityFields: INodeProperties[] = [ ], }, }, - description: 'activity ID', }, { displayName: 'RAW Data', @@ -325,7 +324,6 @@ export const activityFields: INodeProperties[] = [ ], }, }, - description: 'activity ID', }, { displayName: 'RAW Data', @@ -393,7 +391,6 @@ export const activityFields: INodeProperties[] = [ name: 'jsonParameters', type: 'boolean', default: false, - description: '', displayOptions: { show: { operation: [ @@ -427,7 +424,7 @@ export const activityFields: INodeProperties[] = [ name: 'fields', type: 'string', default: '', - description: 'Comma separated list of fields to return.', + description: 'Comma-separated list of fields to return.', }, { displayName: 'Sort By', @@ -451,7 +448,6 @@ export const activityFields: INodeProperties[] = [ }, ], default: 'desc', - description: 'Sort order', }, ], }, diff --git a/packages/nodes-base/nodes/Salesmate/CompanyDescription.ts b/packages/nodes-base/nodes/Salesmate/CompanyDescription.ts index f1dbb1603..0943344f0 100644 --- a/packages/nodes-base/nodes/Salesmate/CompanyDescription.ts +++ b/packages/nodes-base/nodes/Salesmate/CompanyDescription.ts @@ -243,7 +243,6 @@ export const companyFields: INodeProperties[] = [ ], }, }, - description: 'company ID', }, { displayName: 'RAW Data', @@ -418,7 +417,6 @@ export const companyFields: INodeProperties[] = [ ], }, }, - description: 'company ID', }, { displayName: 'RAW Data', @@ -486,7 +484,6 @@ export const companyFields: INodeProperties[] = [ name: 'jsonParameters', type: 'boolean', default: false, - description: '', displayOptions: { show: { operation: [ @@ -520,7 +517,7 @@ export const companyFields: INodeProperties[] = [ name: 'fields', type: 'string', default: '', - description: 'Comma separated list of fields to return.', + description: 'Comma-separated list of fields to return.', }, { displayName: 'Sort By', @@ -544,7 +541,6 @@ export const companyFields: INodeProperties[] = [ }, ], default: 'desc', - description: 'Sort order', }, ], }, diff --git a/packages/nodes-base/nodes/Salesmate/DealDescription.ts b/packages/nodes-base/nodes/Salesmate/DealDescription.ts index 65b5cc1b8..6d3027618 100644 --- a/packages/nodes-base/nodes/Salesmate/DealDescription.ts +++ b/packages/nodes-base/nodes/Salesmate/DealDescription.ts @@ -357,7 +357,6 @@ export const dealFields: INodeProperties[] = [ ], }, }, - description: 'deal ID', }, { displayName: 'RAW Data', @@ -589,7 +588,6 @@ export const dealFields: INodeProperties[] = [ ], }, }, - description: 'deal ID', }, { displayName: 'RAW Data', @@ -657,7 +655,6 @@ export const dealFields: INodeProperties[] = [ name: 'jsonParameters', type: 'boolean', default: false, - description: '', displayOptions: { show: { operation: [ @@ -691,7 +688,7 @@ export const dealFields: INodeProperties[] = [ name: 'fields', type: 'string', default: '', - description: 'Comma separated list of fields to return.', + description: 'Comma-separated list of fields to return.', }, { displayName: 'Sort By', @@ -715,7 +712,6 @@ export const dealFields: INodeProperties[] = [ }, ], default: 'desc', - description: 'Sort order', }, ], }, diff --git a/packages/nodes-base/nodes/Salesmate/Salesmate.node.ts b/packages/nodes-base/nodes/Salesmate/Salesmate.node.ts index 2dcdc5682..810e99697 100644 --- a/packages/nodes-base/nodes/Salesmate/Salesmate.node.ts +++ b/packages/nodes-base/nodes/Salesmate/Salesmate.node.ts @@ -150,7 +150,7 @@ export class Salesmate implements INodeType { async execute(this: IExecuteFunctions): Promise { const items = this.getInputData(); const returnData: IDataObject[] = []; - const length = items.length as unknown as number; + const length = items.length; const qs: IDataObject = {}; let responseData; const resource = this.getNodeParameter('resource', 0) as string; diff --git a/packages/nodes-base/nodes/SecurityScorecard/SecurityScorecard.node.ts b/packages/nodes-base/nodes/SecurityScorecard/SecurityScorecard.node.ts index f21f902e4..e992cbf80 100644 --- a/packages/nodes-base/nodes/SecurityScorecard/SecurityScorecard.node.ts +++ b/packages/nodes-base/nodes/SecurityScorecard/SecurityScorecard.node.ts @@ -125,7 +125,7 @@ export class SecurityScorecard implements INodeType { const items = this.getInputData(); const returnData: IDataObject[] = []; let responseData; - const length = (items.length as unknown) as number; + const length = items.length; const resource = this.getNodeParameter('resource', 0) as string; const operation = this.getNodeParameter('operation', 0) as string; diff --git a/packages/nodes-base/nodes/SecurityScorecard/descriptions/CompanyDescription.ts b/packages/nodes-base/nodes/SecurityScorecard/descriptions/CompanyDescription.ts index dc0e33b58..3d09e3f3a 100644 --- a/packages/nodes-base/nodes/SecurityScorecard/descriptions/CompanyDescription.ts +++ b/packages/nodes-base/nodes/SecurityScorecard/descriptions/CompanyDescription.ts @@ -50,7 +50,7 @@ export const companyFields: INodeProperties[] = [ { displayName: 'Scorecard Identifier', name: 'scorecardIdentifier', - description: 'Primary identifier of a company or scorecard, i.e. domain', + description: 'Primary identifier of a company or scorecard, i.e. domain.', type: 'string', default: '', required: true, @@ -180,7 +180,7 @@ export const companyFields: INodeProperties[] = [ }, { displayName: 'Severity In', - description: 'Filter issues by comma separated severity list', + description: 'Filter issues by comma-separated severity list', name: 'severity_in', type: 'string', default: '', diff --git a/packages/nodes-base/nodes/SecurityScorecard/descriptions/PortfolioDescription.ts b/packages/nodes-base/nodes/SecurityScorecard/descriptions/PortfolioDescription.ts index a9d0594c2..89935332e 100644 --- a/packages/nodes-base/nodes/SecurityScorecard/descriptions/PortfolioDescription.ts +++ b/packages/nodes-base/nodes/SecurityScorecard/descriptions/PortfolioDescription.ts @@ -137,7 +137,6 @@ export const portfolioFields: INodeProperties[] = [ ], }, }, - description: 'Description', }, { displayName: 'Privacy', diff --git a/packages/nodes-base/nodes/SecurityScorecard/descriptions/ReportDescription.ts b/packages/nodes-base/nodes/SecurityScorecard/descriptions/ReportDescription.ts index 34d21d464..9e53384fa 100644 --- a/packages/nodes-base/nodes/SecurityScorecard/descriptions/ReportDescription.ts +++ b/packages/nodes-base/nodes/SecurityScorecard/descriptions/ReportDescription.ts @@ -133,7 +133,7 @@ export const reportFields: INodeProperties[] = [ { displayName: 'Scorecard Identifier', name: 'scorecardIdentifier', - description: 'Primary identifier of a company or scorecard, i.e. domain', + description: 'Primary identifier of a company or scorecard, i.e. domain.', type: 'string', required: true, default: '', @@ -176,7 +176,6 @@ export const reportFields: INodeProperties[] = [ ], }, }, - description: 'Portfolio ID', }, { displayName: 'Branding', diff --git a/packages/nodes-base/nodes/Segment/GroupDescription.ts b/packages/nodes-base/nodes/Segment/GroupDescription.ts index 84bfa7654..ad805a711 100644 --- a/packages/nodes-base/nodes/Segment/GroupDescription.ts +++ b/packages/nodes-base/nodes/Segment/GroupDescription.ts @@ -95,14 +95,12 @@ export const groupFields: INodeProperties[] = [ name: 'key', type: 'string', default: '', - description: '', }, { displayName: 'Value', name: 'value', type: 'string', default: '', - description: '', }, ], }, @@ -136,7 +134,7 @@ export const groupFields: INodeProperties[] = [ displayName: 'Active', name: 'active', type: 'boolean', - default: '', + default: false, description: 'Whether a user is active', }, { diff --git a/packages/nodes-base/nodes/Segment/IdentifyDescription.ts b/packages/nodes-base/nodes/Segment/IdentifyDescription.ts index 976da4ff3..58d116b75 100644 --- a/packages/nodes-base/nodes/Segment/IdentifyDescription.ts +++ b/packages/nodes-base/nodes/Segment/IdentifyDescription.ts @@ -77,14 +77,12 @@ export const identifyFields: INodeProperties[] = [ name: 'key', type: 'string', default: '', - description: '', }, { displayName: 'Value', name: 'value', type: 'string', default: '', - description: '', }, ], }, @@ -118,7 +116,7 @@ export const identifyFields: INodeProperties[] = [ displayName: 'Active', name: 'active', type: 'boolean', - default: '', + default: false, description: 'Whether a user is active', }, { diff --git a/packages/nodes-base/nodes/Segment/Segment.node.ts b/packages/nodes-base/nodes/Segment/Segment.node.ts index 5552fef62..e00357e0a 100644 --- a/packages/nodes-base/nodes/Segment/Segment.node.ts +++ b/packages/nodes-base/nodes/Segment/Segment.node.ts @@ -96,7 +96,7 @@ export class Segment implements INodeType { async execute(this: IExecuteFunctions): Promise { const items = this.getInputData(); const returnData: IDataObject[] = []; - const length = items.length as unknown as number; + const length = items.length; const qs: IDataObject = {}; let responseData; const resource = this.getNodeParameter('resource', 0) as string; diff --git a/packages/nodes-base/nodes/Segment/TrackDescription.ts b/packages/nodes-base/nodes/Segment/TrackDescription.ts index 96a064897..ece3239c8 100644 --- a/packages/nodes-base/nodes/Segment/TrackDescription.ts +++ b/packages/nodes-base/nodes/Segment/TrackDescription.ts @@ -99,7 +99,7 @@ export const trackFields: INodeProperties[] = [ displayName: 'Active', name: 'active', type: 'boolean', - default: '', + default: false, description: 'Whether a user is active', }, { @@ -341,14 +341,12 @@ export const trackFields: INodeProperties[] = [ name: 'key', type: 'string', default: '', - description: '', }, { displayName: 'Value', name: 'value', type: 'string', default: '', - description: '', }, ], }, @@ -418,7 +416,7 @@ export const trackFields: INodeProperties[] = [ displayName: 'Active', name: 'active', type: 'boolean', - default: '', + default: false, description: 'Whether a user is active', }, { @@ -660,14 +658,12 @@ export const trackFields: INodeProperties[] = [ name: 'key', type: 'string', default: '', - description: '', }, { displayName: 'Value', name: 'value', type: 'string', default: '', - description: '', }, ], }, diff --git a/packages/nodes-base/nodes/SendGrid/ContactDescription.ts b/packages/nodes-base/nodes/SendGrid/ContactDescription.ts index e8befc399..d46bece1a 100644 --- a/packages/nodes-base/nodes/SendGrid/ContactDescription.ts +++ b/packages/nodes-base/nodes/SendGrid/ContactDescription.ts @@ -108,7 +108,7 @@ export const contactFields: INodeProperties[] = [ name: 'query', type: 'string', default: '', - description: 'The query field accepts valid SGQL for searching for a contact.', + description: 'The query field accepts valid SGQL for searching for a contact.', }, ], }, @@ -242,7 +242,7 @@ export const contactFields: INodeProperties[] = [ typeOptions: { loadOptionsMethod: 'getListIds', }, - default: '', + default: [], description: 'ID of the field to set.', }, ], diff --git a/packages/nodes-base/nodes/SendGrid/SendGrid.node.ts b/packages/nodes-base/nodes/SendGrid/SendGrid.node.ts index 5dc37dab4..ca640e89d 100644 --- a/packages/nodes-base/nodes/SendGrid/SendGrid.node.ts +++ b/packages/nodes-base/nodes/SendGrid/SendGrid.node.ts @@ -124,7 +124,7 @@ export class SendGrid implements INodeType { async execute(this: IExecuteFunctions): Promise { const items = this.getInputData(); - const length = (items.length as unknown) as number; + const length = items.length; const qs: IDataObject = {}; let responseData; const timezone = this.getTimezone(); diff --git a/packages/nodes-base/nodes/Sendy/Sendy.node.ts b/packages/nodes-base/nodes/Sendy/Sendy.node.ts index 6f2650fb1..85f5dfc71 100644 --- a/packages/nodes-base/nodes/Sendy/Sendy.node.ts +++ b/packages/nodes-base/nodes/Sendy/Sendy.node.ts @@ -73,7 +73,7 @@ export class Sendy implements INodeType { async execute(this: IExecuteFunctions): Promise { const items = this.getInputData(); const returnData: IDataObject[] = []; - const length = (items.length as unknown) as number; + const length = items.length; const qs: IDataObject = {}; let responseData; const resource = this.getNodeParameter('resource', 0) as string; diff --git a/packages/nodes-base/nodes/SentryIo/ReleaseDescription.ts b/packages/nodes-base/nodes/SentryIo/ReleaseDescription.ts index a33b4b630..0937042cf 100644 --- a/packages/nodes-base/nodes/SentryIo/ReleaseDescription.ts +++ b/packages/nodes-base/nodes/SentryIo/ReleaseDescription.ts @@ -251,7 +251,7 @@ export const releaseFields: INodeProperties[] = [ typeOptions: { loadOptionsMethod: 'getProjects', }, - default: '', + default: [], displayOptions: { show: { resource: [ diff --git a/packages/nodes-base/nodes/SentryIo/SentryIo.node.ts b/packages/nodes-base/nodes/SentryIo/SentryIo.node.ts index 881862f07..70ee65a25 100644 --- a/packages/nodes-base/nodes/SentryIo/SentryIo.node.ts +++ b/packages/nodes-base/nodes/SentryIo/SentryIo.node.ts @@ -309,7 +309,7 @@ export class SentryIo implements INodeType { async execute(this: IExecuteFunctions): Promise { const items = this.getInputData(); const returnData: IDataObject[] = []; - const length = items.length as unknown as number; + const length = items.length; let responseData; const qs: IDataObject = {}; const resource = this.getNodeParameter('resource', 0) as string; diff --git a/packages/nodes-base/nodes/ServiceNow/IncidentDescription.ts b/packages/nodes-base/nodes/ServiceNow/IncidentDescription.ts index 744ee3547..74a21afc0 100644 --- a/packages/nodes-base/nodes/ServiceNow/IncidentDescription.ts +++ b/packages/nodes-base/nodes/ServiceNow/IncidentDescription.ts @@ -115,7 +115,6 @@ export const incidentFields: INodeProperties[] = [ loadOptionsMethod: 'getBusinessServices', }, default: '', - description: 'The business service', }, { displayName: 'Caller ID', @@ -176,7 +175,6 @@ export const incidentFields: INodeProperties[] = [ }, ], default: '', - description: 'The contact type', }, { displayName: 'Description', @@ -531,7 +529,6 @@ export const incidentFields: INodeProperties[] = [ loadOptionsMethod: 'getBusinessServices', }, default: '', - description: 'The business service', }, { displayName: 'Caller ID', @@ -592,7 +589,6 @@ export const incidentFields: INodeProperties[] = [ }, ], default: '', - description: 'The contact type', }, { displayName: 'Description', @@ -632,7 +628,7 @@ export const incidentFields: INodeProperties[] = [ }, default: '', // nodelinter-ignore-next-line - description: 'The resolution code of the incident. \'close_code\' in metadata', + description: 'The resolution code of the incident. \'close_code\' in metadata.', }, { displayName: 'On Hold Reason', diff --git a/packages/nodes-base/nodes/ServiceNow/TableRecordDescription.ts b/packages/nodes-base/nodes/ServiceNow/TableRecordDescription.ts index a48cb4725..44bcde3e7 100644 --- a/packages/nodes-base/nodes/ServiceNow/TableRecordDescription.ts +++ b/packages/nodes-base/nodes/ServiceNow/TableRecordDescription.ts @@ -64,7 +64,6 @@ export const tableRecordFields: INodeProperties[] = [ }, }, required: true, - description: 'The table name', }, { displayName: 'Data to Send', @@ -192,7 +191,6 @@ export const tableRecordFields: INodeProperties[] = [ }, }, required: true, - description: 'The table name', }, { displayName: 'Return All', @@ -432,7 +430,6 @@ export const tableRecordFields: INodeProperties[] = [ }, }, required: true, - description: 'The table name', }, { displayName: 'Table Record ID', diff --git a/packages/nodes-base/nodes/ServiceNow/UserDescription.ts b/packages/nodes-base/nodes/ServiceNow/UserDescription.ts index 7a26f845b..1e264cc0f 100644 --- a/packages/nodes-base/nodes/ServiceNow/UserDescription.ts +++ b/packages/nodes-base/nodes/ServiceNow/UserDescription.ts @@ -222,7 +222,6 @@ export const userFields: INodeProperties[] = [ name: 'source', type: 'string', default: '', - description: 'The source', }, { displayName: 'State', @@ -701,7 +700,6 @@ export const userFields: INodeProperties[] = [ name: 'source', type: 'string', default: '', - description: 'The source', }, { displayName: 'State', diff --git a/packages/nodes-base/nodes/Shopify/OrderDescription.ts b/packages/nodes-base/nodes/Shopify/OrderDescription.ts index eaf1549c9..20be0ec57 100644 --- a/packages/nodes-base/nodes/Shopify/OrderDescription.ts +++ b/packages/nodes-base/nodes/Shopify/OrderDescription.ts @@ -73,11 +73,10 @@ export const orderFields: INodeProperties[] = [ name: 'billingAddressUi', placeholder: 'Add Billing Address', type: 'fixedCollection', - default: '', + default: {}, typeOptions: { multipleValues: false, }, - description: 'Billing address', options: [ { name: 'billingAddressValues', @@ -152,7 +151,7 @@ export const orderFields: INodeProperties[] = [ name: 'discountCodesUi', placeholder: 'Add Discount Code', type: 'fixedCollection', - default: '', + default: {}, typeOptions: { multipleValues: true, }, @@ -302,11 +301,10 @@ export const orderFields: INodeProperties[] = [ name: 'shippingAddressUi', placeholder: 'Add Shipping', type: 'fixedCollection', - default: '', + default: {}, typeOptions: { multipleValues: false, }, - description: 'Shipping Address', options: [ { name: 'shippingAddressValues', @@ -381,7 +379,7 @@ export const orderFields: INodeProperties[] = [ name: 'sourceName', type: 'string', default: '', - description: 'Where the order originated. Can be set only during order creation, and is not writeable afterwards', + description: 'Where the order originated. Can be set only during order creation, and is not writeable afterwards.', }, { displayName: 'Tags', @@ -394,7 +392,7 @@ export const orderFields: INodeProperties[] = [ displayName: 'Test', name: 'test', type: 'boolean', - default: '', + default: false, description: 'Whether this is a test order.', }, ], @@ -536,7 +534,7 @@ export const orderFields: INodeProperties[] = [ name: 'fields', type: 'string', default: '', - description: 'Fields the order will return, formatted as a string of comma-separated values. By default all the fields are returned', + description: 'Fields the order will return, formatted as a string of comma-separated values. By default all the fields are returned.', }, ], }, @@ -715,7 +713,7 @@ export const orderFields: INodeProperties[] = [ name: 'fields', type: 'string', default: '', - description: 'Fields the orders will return, formatted as a string of comma-separated values. By default all the fields are returned', + description: 'Fields the orders will return, formatted as a string of comma-separated values. By default all the fields are returned.', }, { displayName: 'IDs', @@ -859,11 +857,10 @@ export const orderFields: INodeProperties[] = [ name: 'shippingAddressUi', placeholder: 'Add Shipping', type: 'fixedCollection', - default: '', + default: {}, typeOptions: { multipleValues: false, }, - description: 'Shipping Address', options: [ { name: 'shippingAddressValues', @@ -938,7 +935,7 @@ export const orderFields: INodeProperties[] = [ name: 'sourceName', type: 'string', default: '', - description: 'Where the order originated. Can be set only during order creation, and is not writeable afterwards', + description: 'Where the order originated. Can be set only during order creation, and is not writeable afterwards.', }, { displayName: 'Tags', diff --git a/packages/nodes-base/nodes/Shopify/ProductDescription.ts b/packages/nodes-base/nodes/Shopify/ProductDescription.ts index ed56cddbe..a794cca95 100644 --- a/packages/nodes-base/nodes/Shopify/ProductDescription.ts +++ b/packages/nodes-base/nodes/Shopify/ProductDescription.ts @@ -172,7 +172,7 @@ export const productFields: INodeProperties[] = [ name: 'src', type: 'string', default: '', - description: `

Specifies the location of the product image. This parameter supports URL filters that you can use to retrieve modified copies of the image.

For example, add _small, to the filename to retrieve a scaled copy of the image at 100 x 100 px (for example, ipod-nano_small.png), or add _2048x2048 to retrieve a copy of the image constrained at 2048 x 2048 px resolution (for example, ipod-nano_2048x2048.png).

`, + description: '

Specifies the location of the product image. This parameter supports URL filters that you can use to retrieve modified copies of the image.

For example, add _small, to the filename to retrieve a scaled copy of the image at 100 x 100 px (for example, ipod-nano_small.png), or add _2048x2048 to retrieve a copy of the image constrained at 2048 x 2048 px resolution (for example, ipod-nano_2048x2048.png).

.', }, { displayName: 'Width', @@ -390,7 +390,7 @@ export const productFields: INodeProperties[] = [ name: 'src', type: 'string', default: '', - description: `

Specifies the location of the product image. This parameter supports URL filters that you can use to retrieve modified copies of the image.

For example, add _small, to the filename to retrieve a scaled copy of the image at 100 x 100 px (for example, ipod-nano_small.png), or add _2048x2048 to retrieve a copy of the image constrained at 2048 x 2048 px resolution (for example, ipod-nano_2048x2048.png).

`, + description: '

Specifies the location of the product image. This parameter supports URL filters that you can use to retrieve modified copies of the image.

For example, add _small, to the filename to retrieve a scaled copy of the image at 100 x 100 px (for example, ipod-nano_small.png), or add _2048x2048 to retrieve a copy of the image constrained at 2048 x 2048 px resolution (for example, ipod-nano_2048x2048.png).

.', }, { displayName: 'Width', @@ -592,8 +592,7 @@ export const productFields: INodeProperties[] = [ name: 'fields', type: 'string', default: '', - description: `Fields the product will return, formatted as a string of comma-separated values. - By default all the fields are returned`, + description: 'Fields the product will return, formatted as a string of comma-separated values. By default all the fields are returned', }, ], }, diff --git a/packages/nodes-base/nodes/Shopify/Shopify.node.ts b/packages/nodes-base/nodes/Shopify/Shopify.node.ts index d19a147a7..d6cc17bc3 100644 --- a/packages/nodes-base/nodes/Shopify/Shopify.node.ts +++ b/packages/nodes-base/nodes/Shopify/Shopify.node.ts @@ -124,7 +124,7 @@ export class Shopify implements INodeType { async execute(this: IExecuteFunctions): Promise { const items = this.getInputData(); const returnData: IDataObject[] = []; - const length = items.length as unknown as number; + const length = items.length; let responseData; const qs: IDataObject = {}; const resource = this.getNodeParameter('resource', 0) as string; diff --git a/packages/nodes-base/nodes/Signl4/Signl4.node.ts b/packages/nodes-base/nodes/Signl4/Signl4.node.ts index d7a46663d..1ebcade84 100644 --- a/packages/nodes-base/nodes/Signl4/Signl4.node.ts +++ b/packages/nodes-base/nodes/Signl4/Signl4.node.ts @@ -167,7 +167,7 @@ export class Signl4 implements INodeType { displayName: 'Filtering', name: 'filtering', type: 'boolean', - default: 'false', + default: false, description: `Specify a boolean value of true or false to apply event filtering for this event, or not. If set to true, the event will only trigger a notification to the team, if it contains at least one keyword from one of your services and system categories (i.e. it is whitelisted)`, }, { @@ -234,8 +234,7 @@ export class Signl4 implements INodeType { ], }, }, - description: `If the event originates from a record in a 3rd party system, use this parameter to pass - the unique ID of that record. That ID will be communicated in outbound webhook notifications from SIGNL4, which is great for correlation/synchronization of that record with the alert. If you resolve / close an alert you must use the same External ID as in the original alert.`, + description: 'If the event originates from a record in a 3rd party system, use this parameter to pass the unique ID of that record. That ID will be communicated in outbound webhook notifications from SIGNL4, which is great for correlation/synchronization of that record with the alert. If you resolve / close an alert you must use the same External ID as in the original alert.', }, ], }; @@ -243,7 +242,7 @@ export class Signl4 implements INodeType { async execute(this: IExecuteFunctions): Promise { const items = this.getInputData(); const returnData: IDataObject[] = []; - const length = (items.length as unknown) as number; + const length = items.length; const qs: IDataObject = {}; let responseData; const resource = this.getNodeParameter('resource', 0) as string; diff --git a/packages/nodes-base/nodes/Slack/ChannelDescription.ts b/packages/nodes-base/nodes/Slack/ChannelDescription.ts index 5d4a5e6dd..ce9d53368 100644 --- a/packages/nodes-base/nodes/Slack/ChannelDescription.ts +++ b/packages/nodes-base/nodes/Slack/ChannelDescription.ts @@ -238,7 +238,7 @@ export const channelFields: INodeProperties[] = [ typeOptions: { loadOptionsMethod: 'getUsers', }, - default: '', + default: [], displayOptions: { show: { operation: [ @@ -702,7 +702,7 @@ export const channelFields: INodeProperties[] = [ name: 'channelId', type: 'string', default: '', - description: `Resume a conversation by supplying an im or mpim's ID. Or provide the users field instead`, + description: 'Resume a conversation by supplying an im or mpim\'s ID. Or provide the users field instead.', }, { displayName: 'Return IM', diff --git a/packages/nodes-base/nodes/Slack/Slack.node.ts b/packages/nodes-base/nodes/Slack/Slack.node.ts index af5a20c09..9f0a39866 100644 --- a/packages/nodes-base/nodes/Slack/Slack.node.ts +++ b/packages/nodes-base/nodes/Slack/Slack.node.ts @@ -294,7 +294,7 @@ export class Slack implements INodeType { async execute(this: IExecuteFunctions): Promise { const items = this.getInputData(); const returnData: IDataObject[] = []; - const length = items.length as unknown as number; + const length = items.length; let qs: IDataObject; let responseData; const authentication = this.getNodeParameter('authentication', 0) as string; diff --git a/packages/nodes-base/nodes/Slack/UserGroupDescription.ts b/packages/nodes-base/nodes/Slack/UserGroupDescription.ts index 87a707405..3854cd533 100644 --- a/packages/nodes-base/nodes/Slack/UserGroupDescription.ts +++ b/packages/nodes-base/nodes/Slack/UserGroupDescription.ts @@ -94,7 +94,7 @@ export const userGroupFields: INodeProperties[] = [ loadOptionsMethod: 'getChannels', }, default: [], - description: 'A comma separated string of encoded channel IDs for which the User Group uses as a default.', + description: 'A comma-separated string of encoded channel IDs for which the User Group uses as a default.', }, { displayName: 'Description', @@ -343,7 +343,7 @@ export const userGroupFields: INodeProperties[] = [ loadOptionsMethod: 'getChannels', }, default: [], - description: 'A comma separated string of encoded channel IDs for which the User Group uses as a default.', + description: 'A comma-separated string of encoded channel IDs for which the User Group uses as a default.', }, { displayName: 'Description', diff --git a/packages/nodes-base/nodes/Slack/UserProfileDescription.ts b/packages/nodes-base/nodes/Slack/UserProfileDescription.ts index 30a170c45..d92ed6d46 100644 --- a/packages/nodes-base/nodes/Slack/UserProfileDescription.ts +++ b/packages/nodes-base/nodes/Slack/UserProfileDescription.ts @@ -126,7 +126,7 @@ export const userProfileFields: INodeProperties[] = [ name: 'status_expiration', type: 'dateTime', default: '', - description: `is an integer specifying seconds since the epoch, more commonly known as "UNIX time". Providing 0 or omitting this field results in a custom status that will not expire`, + description: 'is an integer specifying seconds since the epoch, more commonly known as "UNIX time". Providing 0 or omitting this field results in a custom status that will not expire.', }, { displayName: 'Status Text', diff --git a/packages/nodes-base/nodes/Sms77/Sms77.node.ts b/packages/nodes-base/nodes/Sms77/Sms77.node.ts index f1308e4ff..e07c21d33 100644 --- a/packages/nodes-base/nodes/Sms77/Sms77.node.ts +++ b/packages/nodes-base/nodes/Sms77/Sms77.node.ts @@ -113,7 +113,7 @@ export class Sms77 implements INodeType { ], }, }, - description: 'The caller ID displayed in the receivers display. Max 16 numeric or 11 alphanumeric characters', + description: 'The caller ID displayed in the receivers display. Max 16 numeric or 11 alphanumeric characters.', }, { displayName: 'To', @@ -133,7 +133,7 @@ export class Sms77 implements INodeType { ], }, }, - description: 'The number of your recipient(s) separated by comma. Can be regular numbers or contact/groups from Sms77', + description: 'The number of your recipient(s) separated by comma. Can be regular numbers or contact/groups from Sms77.', }, { displayName: 'Message', @@ -267,7 +267,7 @@ export class Sms77 implements INodeType { type: 'string', default: '', placeholder: '+4901234567890', - description: 'The caller ID. Please use only verified sender IDs, one of your virtual inbound numbers or one of our shared virtual numbers', + description: 'The caller ID. Please use only verified sender IDs, one of your virtual inbound numbers or one of our shared virtual numbers.', }, { displayName: 'XML', diff --git a/packages/nodes-base/nodes/Snowflake/Snowflake.node.ts b/packages/nodes-base/nodes/Snowflake/Snowflake.node.ts index 0bace7309..301bad4fe 100644 --- a/packages/nodes-base/nodes/Snowflake/Snowflake.node.ts +++ b/packages/nodes-base/nodes/Snowflake/Snowflake.node.ts @@ -118,7 +118,7 @@ export class Snowflake implements INodeType { }, default: '', placeholder: 'id,name,description', - description: 'Comma separated list of the properties which should used as columns for the new rows.', + description: 'Comma-separated list of the properties which should used as columns for the new rows.', }, @@ -168,7 +168,7 @@ export class Snowflake implements INodeType { }, default: '', placeholder: 'name,description', - description: 'Comma separated list of the properties which should used as columns for rows to update.', + description: 'Comma-separated list of the properties which should used as columns for rows to update.', }, ], diff --git a/packages/nodes-base/nodes/Spontit/PushDescription.ts b/packages/nodes-base/nodes/Spontit/PushDescription.ts index 140ac0e11..21a34e6b7 100644 --- a/packages/nodes-base/nodes/Spontit/PushDescription.ts +++ b/packages/nodes-base/nodes/Spontit/PushDescription.ts @@ -45,8 +45,7 @@ export const pushFields: INodeProperties[] = [ ], }, }, - description: `To provide text in a push, supply one of either "content" or "pushContent" (or both). - Limited to 2500 characters. (Required if a value for "pushContent" is not provided).`, + description: 'To provide text in a push, supply one of either "content" or "pushContent" (or both). Limited to 2500 characters. (Required if a value for "pushContent" is not provided).', }, { displayName: 'Additional Fields', @@ -113,21 +112,21 @@ export const pushFields: INodeProperties[] = [ type: 'string', default: '', required: false, - description: `

Emails (strings) to whom to send the notification. If all three attributes 'pushToFollowers', 'pushToPhoneNumbers' and 'pushToEmails' are not supplied, then everyone who follows the channel will receive the push notification.

If 'pushToFollowers' is supplied, only those listed in the array will receive the push notification.

If one of the userIds supplied does not follow the specified channel, then that userId value will be ignored.

See the "Followers" section to learn how to list the userIds of those who follow one of your channels.

`, + description: '

Emails (strings) to whom to send the notification. If all three attributes \'pushToFollowers\', \'pushToPhoneNumbers\' and \'pushToEmails\' are not supplied, then everyone who follows the channel will receive the push notification.

If \'pushToFollowers\' is supplied, only those listed in the array will receive the push notification.

If one of the userIds supplied does not follow the specified channel, then that userId value will be ignored.

See the "Followers" section to learn how to list the userIds of those who follow one of your channels.

.', }, { displayName: 'Push To Followers', name: 'pushToFollowers', type: 'string', default: '', - description: `

User IDs (strings) to whom to send the notification. If all three attributes 'pushToFollowers', 'pushToPhoneNumbers' and 'pushToEmails' are not supplied, then everyone who follows the channel will receive the push notification.

If 'pushToFollowers' is supplied, only those listed in the array will receive the push notification.

If one of the userIds supplied does not follow the specified channel, then that userId value will be ignored.

See the "Followers" section to learn how to list the userIds of those who follow one of your channels.

`, + description: '

User IDs (strings) to whom to send the notification. If all three attributes \'pushToFollowers\', \'pushToPhoneNumbers\' and \'pushToEmails\' are not supplied, then everyone who follows the channel will receive the push notification.

If \'pushToFollowers\' is supplied, only those listed in the array will receive the push notification.

If one of the userIds supplied does not follow the specified channel, then that userId value will be ignored.

See the "Followers" section to learn how to list the userIds of those who follow one of your channels.

.', }, { displayName: 'Push To Phone Numbers', name: 'pushToPhoneNumbers', type: 'string', default: '', - description: `

Phone numbers (strings) to whom to send the notification. If all three attributes 'pushToFollowers', 'pushToPhoneNumbers' and 'pushToEmails' are not supplied, then everyone who follows the channel will receive the push notification.

If 'pushToFollowers' is supplied, only those listed in the array will receive the push notification.

If one of the userIds supplied does not follow the specified channel, then that userId value will be ignored.

See the "Followers" section to learn how to list the userIds of those who follow one of your channels.

`, + description: '

Phone numbers (strings) to whom to send the notification. If all three attributes \'pushToFollowers\', \'pushToPhoneNumbers\' and \'pushToEmails\' are not supplied, then everyone who follows the channel will receive the push notification.

If \'pushToFollowers\' is supplied, only those listed in the array will receive the push notification.

If one of the userIds supplied does not follow the specified channel, then that userId value will be ignored.

See the "Followers" section to learn how to list the userIds of those who follow one of your channels.

.', }, { displayName: 'Schedule', diff --git a/packages/nodes-base/nodes/Stackby/Stackby.node.ts b/packages/nodes-base/nodes/Stackby/Stackby.node.ts index dc527d561..cc7aa5a8c 100644 --- a/packages/nodes-base/nodes/Stackby/Stackby.node.ts +++ b/packages/nodes-base/nodes/Stackby/Stackby.node.ts @@ -181,7 +181,7 @@ export class Stackby implements INodeType { default: '', required: true, placeholder: 'id,name,description', - description: 'Comma separated list of the properties which should used as columns for the new rows.', + description: 'Comma-separated list of the properties which should used as columns for the new rows.', }, ], }; @@ -189,7 +189,7 @@ export class Stackby implements INodeType { async execute(this: IExecuteFunctions): Promise { const items = this.getInputData(); const returnData: IDataObject[] = []; - const length = items.length as unknown as number; + const length = items.length; let responseData; const qs: IDataObject = {}; const operation = this.getNodeParameter('operation', 0) as string; diff --git a/packages/nodes-base/nodes/Start/Start.node.ts b/packages/nodes-base/nodes/Start/Start.node.ts index 81e01892c..feb446294 100644 --- a/packages/nodes-base/nodes/Start/Start.node.ts +++ b/packages/nodes-base/nodes/Start/Start.node.ts @@ -19,6 +19,7 @@ export class Start implements INodeType { name: 'Start', color: '#00e000', }, + // eslint-disable-next-line n8n-nodes-base/node-class-description-inputs-wrong-regular-node inputs: [], outputs: ['main'], properties: [ diff --git a/packages/nodes-base/nodes/StopAndError/StopAndError.node.ts b/packages/nodes-base/nodes/StopAndError/StopAndError.node.ts index b8d8ffb10..f8bdc4785 100644 --- a/packages/nodes-base/nodes/StopAndError/StopAndError.node.ts +++ b/packages/nodes-base/nodes/StopAndError/StopAndError.node.ts @@ -27,6 +27,7 @@ export class StopAndError implements INodeType { color: '#ff0000', }, inputs: ['main'], + // eslint-disable-next-line n8n-nodes-base/node-class-description-outputs-wrong outputs: [], properties: [ { diff --git a/packages/nodes-base/nodes/Storyblok/Storyblok.node.ts b/packages/nodes-base/nodes/Storyblok/Storyblok.node.ts index 1bfc03986..cb7f27e00 100644 --- a/packages/nodes-base/nodes/Storyblok/Storyblok.node.ts +++ b/packages/nodes-base/nodes/Storyblok/Storyblok.node.ts @@ -179,7 +179,7 @@ export class Storyblok implements INodeType { async execute(this: IExecuteFunctions): Promise { const items = this.getInputData(); const returnData: IDataObject[] = []; - const length = items.length as unknown as number; + const length = items.length; const qs: IDataObject = {}; let responseData; const source = this.getNodeParameter('source', 0) as string; diff --git a/packages/nodes-base/nodes/Strapi/EntryDescription.ts b/packages/nodes-base/nodes/Strapi/EntryDescription.ts index 6be3506f3..638dec204 100644 --- a/packages/nodes-base/nodes/Strapi/EntryDescription.ts +++ b/packages/nodes-base/nodes/Strapi/EntryDescription.ts @@ -85,7 +85,7 @@ export const entryFields: INodeProperties[] = [ }, default: '', placeholder: 'id,name,description', - description: 'Comma separated list of the properties which should used as columns for the new rows', + description: 'Comma-separated list of the properties which should used as columns for the new rows', }, /* -------------------------------------------------------------------------- */ @@ -344,6 +344,6 @@ export const entryFields: INodeProperties[] = [ }, default: '', placeholder: 'id,name,description', - description: 'Comma separated list of the properties which should used as columns for the new rows', + description: 'Comma-separated list of the properties which should used as columns for the new rows', }, ]; diff --git a/packages/nodes-base/nodes/Strapi/Strapi.node.ts b/packages/nodes-base/nodes/Strapi/Strapi.node.ts index 9400e6a6d..06af434b2 100644 --- a/packages/nodes-base/nodes/Strapi/Strapi.node.ts +++ b/packages/nodes-base/nodes/Strapi/Strapi.node.ts @@ -107,7 +107,7 @@ export class Strapi implements INodeType { async execute(this: IExecuteFunctions): Promise { const items = this.getInputData(); const returnData: IDataObject[] = []; - const length = (items.length as unknown) as number; + const length = items.length; const qs: IDataObject = {}; const headers: IDataObject = {}; let responseData; diff --git a/packages/nodes-base/nodes/Strava/ActivityDescription.ts b/packages/nodes-base/nodes/Strava/ActivityDescription.ts index d4e34765b..4187ddbd4 100644 --- a/packages/nodes-base/nodes/Strava/ActivityDescription.ts +++ b/packages/nodes-base/nodes/Strava/ActivityDescription.ts @@ -255,7 +255,7 @@ export const activityFields: INodeProperties[] = [ name: 'gear_id', type: 'string', default: '', - description: 'Identifier for the gear associated with the activity. ‘none’ clears gear from activity', + description: 'Identifier for the gear associated with the activity. ‘none’ clears gear from activity.', }, { displayName: 'Name', diff --git a/packages/nodes-base/nodes/Strava/Strava.node.ts b/packages/nodes-base/nodes/Strava/Strava.node.ts index 7b76bd8f8..97255a49e 100644 --- a/packages/nodes-base/nodes/Strava/Strava.node.ts +++ b/packages/nodes-base/nodes/Strava/Strava.node.ts @@ -63,7 +63,7 @@ export class Strava implements INodeType { async execute(this: IExecuteFunctions): Promise { const items = this.getInputData(); const returnData: IDataObject[] = []; - const length = (items.length as unknown) as number; + const length = items.length; const qs: IDataObject = {}; let responseData; const resource = this.getNodeParameter('resource', 0) as string; diff --git a/packages/nodes-base/nodes/Stripe/descriptions/ChargeDescription.ts b/packages/nodes-base/nodes/Stripe/descriptions/ChargeDescription.ts index 61341ac68..a15f3c216 100644 --- a/packages/nodes-base/nodes/Stripe/descriptions/ChargeDescription.ts +++ b/packages/nodes-base/nodes/Stripe/descriptions/ChargeDescription.ts @@ -94,7 +94,7 @@ export const chargeFields: INodeProperties[] = [ }, required: true, default: '', - description: 'Three-letter ISO currency code, e.g. USD or EUR. It must be a Stripe-supported currency', + description: 'Three-letter ISO currency code, e.g. USD or EUR. It must be a Stripe-supported currency.', displayOptions: { show: { resource: [ diff --git a/packages/nodes-base/nodes/Stripe/descriptions/CouponDescription.ts b/packages/nodes-base/nodes/Stripe/descriptions/CouponDescription.ts index 614022f95..e026c9394 100644 --- a/packages/nodes-base/nodes/Stripe/descriptions/CouponDescription.ts +++ b/packages/nodes-base/nodes/Stripe/descriptions/CouponDescription.ts @@ -125,7 +125,7 @@ export const couponFields: INodeProperties[] = [ }, required: true, default: '', - description: 'Three-letter ISO currency code, e.g. USD or EUR. It must be a Stripe-supported currency', + description: 'Three-letter ISO currency code, e.g. USD or EUR. It must be a Stripe-supported currency.', displayOptions: { show: { resource: [ diff --git a/packages/nodes-base/nodes/Stripe/descriptions/SourceDescription.ts b/packages/nodes-base/nodes/Stripe/descriptions/SourceDescription.ts index 26b9e96d2..aa0e312e0 100644 --- a/packages/nodes-base/nodes/Stripe/descriptions/SourceDescription.ts +++ b/packages/nodes-base/nodes/Stripe/descriptions/SourceDescription.ts @@ -111,7 +111,7 @@ export const sourceFields: INodeProperties[] = [ loadOptionsMethod: 'getCurrencies', }, default: '', - description: 'Three-letter ISO currency code, e.g. USD or EUR. It must be a Stripe-supported currency', + description: 'Three-letter ISO currency code, e.g. USD or EUR. It must be a Stripe-supported currency.', displayOptions: { show: { resource: [ diff --git a/packages/nodes-base/nodes/Supabase/GenericFunctions.ts b/packages/nodes-base/nodes/Supabase/GenericFunctions.ts index 2b30eb40a..5e21b46af 100644 --- a/packages/nodes-base/nodes/Supabase/GenericFunctions.ts +++ b/packages/nodes-base/nodes/Supabase/GenericFunctions.ts @@ -130,7 +130,7 @@ export function getFilters( ], }, }, - default: '', + default: {}, placeholder: 'Add Condition', options: [ { diff --git a/packages/nodes-base/nodes/Supabase/RowDescription.ts b/packages/nodes-base/nodes/Supabase/RowDescription.ts index 76d0b88ce..980ad14d6 100644 --- a/packages/nodes-base/nodes/Supabase/RowDescription.ts +++ b/packages/nodes-base/nodes/Supabase/RowDescription.ts @@ -126,7 +126,6 @@ export const rowFields: INodeProperties[] = [ }, }, default: 'defineBelow', - description: '', }, { displayName: 'Inputs to Ignore', @@ -243,7 +242,7 @@ export const rowFields: INodeProperties[] = [ ], }, }, - default: '', + default: {}, placeholder: 'Add Condition', options: [ { diff --git a/packages/nodes-base/nodes/Supabase/Supabase.node.ts b/packages/nodes-base/nodes/Supabase/Supabase.node.ts index fe2685c68..36e77af34 100644 --- a/packages/nodes-base/nodes/Supabase/Supabase.node.ts +++ b/packages/nodes-base/nodes/Supabase/Supabase.node.ts @@ -125,7 +125,7 @@ export class Supabase implements INodeType { async execute(this: IExecuteFunctions): Promise { const items = this.getInputData(); const returnData: IDataObject[] = []; - const length = (items.length as unknown) as number; + const length = items.length; const qs: IDataObject = {}; const resource = this.getNodeParameter('resource', 0) as string; const operation = this.getNodeParameter('operation', 0) as string; diff --git a/packages/nodes-base/nodes/Switch/Switch.node.ts b/packages/nodes-base/nodes/Switch/Switch.node.ts index 43a299605..2ecf02c82 100644 --- a/packages/nodes-base/nodes/Switch/Switch.node.ts +++ b/packages/nodes-base/nodes/Switch/Switch.node.ts @@ -22,6 +22,7 @@ export class Switch implements INodeType { color: '#506000', }, inputs: ['main'], + // eslint-disable-next-line n8n-nodes-base/node-class-description-outputs-wrong outputs: ['main', 'main', 'main', 'main'], outputNames: ['0', '1', '2', '3'], properties: [ @@ -143,7 +144,6 @@ export class Switch implements INodeType { ], }, }, - description: 'The routing rules.', default: {}, options: [ { @@ -228,7 +228,6 @@ export class Switch implements INodeType { ], }, }, - description: 'The routing rules.', default: {}, options: [ { @@ -313,7 +312,6 @@ export class Switch implements INodeType { ], }, }, - description: 'The routing rules.', default: {}, options: [ { @@ -414,7 +412,6 @@ export class Switch implements INodeType { ], }, }, - description: 'The routing rules.', default: {}, options: [ { @@ -518,6 +515,7 @@ export class Switch implements INodeType { }, + // eslint-disable-next-line n8n-nodes-base/node-param-default-missing { displayName: 'Fallback Output', name: 'fallbackOutput', diff --git a/packages/nodes-base/nodes/SyncroMSP/v1/actions/contact/index.ts b/packages/nodes-base/nodes/SyncroMSP/v1/actions/contact/index.ts index 7ba19a8be..884c2765f 100644 --- a/packages/nodes-base/nodes/SyncroMSP/v1/actions/contact/index.ts +++ b/packages/nodes-base/nodes/SyncroMSP/v1/actions/contact/index.ts @@ -56,7 +56,6 @@ export const descriptions = [ }, ], default: 'getAll', - description: '', }, ...getAll.description, ...create.description, diff --git a/packages/nodes-base/nodes/SyncroMSP/v1/actions/customer/index.ts b/packages/nodes-base/nodes/SyncroMSP/v1/actions/customer/index.ts index ac57ad014..da8643a0e 100644 --- a/packages/nodes-base/nodes/SyncroMSP/v1/actions/customer/index.ts +++ b/packages/nodes-base/nodes/SyncroMSP/v1/actions/customer/index.ts @@ -56,7 +56,6 @@ export const descriptions = [ }, ], default: 'getAll', - description: '', }, ...getAll.description, ...get.description, diff --git a/packages/nodes-base/nodes/SyncroMSP/v1/actions/rmm/index.ts b/packages/nodes-base/nodes/SyncroMSP/v1/actions/rmm/index.ts index 49cbfc2ed..b92b557d8 100644 --- a/packages/nodes-base/nodes/SyncroMSP/v1/actions/rmm/index.ts +++ b/packages/nodes-base/nodes/SyncroMSP/v1/actions/rmm/index.ts @@ -56,7 +56,6 @@ export const descriptions = [ }, ], default: 'getAll', - description: '', }, ...getAll.description, ...get.description, diff --git a/packages/nodes-base/nodes/SyncroMSP/v1/actions/ticket/index.ts b/packages/nodes-base/nodes/SyncroMSP/v1/actions/ticket/index.ts index afd2d9ea7..f89566f0f 100644 --- a/packages/nodes-base/nodes/SyncroMSP/v1/actions/ticket/index.ts +++ b/packages/nodes-base/nodes/SyncroMSP/v1/actions/ticket/index.ts @@ -55,7 +55,6 @@ export const descriptions = [ }, ], default: 'getAll', - description: '', }, ...getAll.description, ...create.description, diff --git a/packages/nodes-base/nodes/Taiga/TaigaTrigger.node.ts b/packages/nodes-base/nodes/Taiga/TaigaTrigger.node.ts index 107fc948b..81ba5658c 100644 --- a/packages/nodes-base/nodes/Taiga/TaigaTrigger.node.ts +++ b/packages/nodes-base/nodes/Taiga/TaigaTrigger.node.ts @@ -59,7 +59,6 @@ export class TaigaTrigger implements INodeType { loadOptionsMethod: 'getUserProjects', }, default: '', - description: 'Project ID', required: true, }, { diff --git a/packages/nodes-base/nodes/Taiga/descriptions/EpicDescription.ts b/packages/nodes-base/nodes/Taiga/descriptions/EpicDescription.ts index 9eca036de..750765df3 100644 --- a/packages/nodes-base/nodes/Taiga/descriptions/EpicDescription.ts +++ b/packages/nodes-base/nodes/Taiga/descriptions/EpicDescription.ts @@ -123,7 +123,7 @@ export const epicFields: INodeProperties[] = [ name: 'blocked_note', type: 'string', default: '', - description: 'Reason why the epic is blocked. Requires "Is Blocked" toggle to be enabled', + description: 'Reason why the epic is blocked. Requires "Is Blocked" toggle to be enabled.', }, { displayName: 'Color', @@ -384,7 +384,7 @@ export const epicFields: INodeProperties[] = [ name: 'blocked_note', type: 'string', default: '', - description: 'Reason why the epic is blocked. Requires "Is Blocked" toggle to be enabled', + description: 'Reason why the epic is blocked. Requires "Is Blocked" toggle to be enabled.', }, { displayName: 'Color', diff --git a/packages/nodes-base/nodes/Taiga/descriptions/IssueDescription.ts b/packages/nodes-base/nodes/Taiga/descriptions/IssueDescription.ts index 02baf9075..bf0470ccd 100644 --- a/packages/nodes-base/nodes/Taiga/descriptions/IssueDescription.ts +++ b/packages/nodes-base/nodes/Taiga/descriptions/IssueDescription.ts @@ -123,7 +123,7 @@ export const issueFields: INodeProperties[] = [ name: 'blocked_note', type: 'string', default: '', - description: 'Reason why the issue is blocked. Requires "Is Blocked" toggle to be enabled', + description: 'Reason why the issue is blocked. Requires "Is Blocked" toggle to be enabled.', }, { displayName: 'Description', @@ -563,7 +563,7 @@ export const issueFields: INodeProperties[] = [ name: 'blocked_note', type: 'string', default: '', - description: 'Reason why the issue is blocked. Requires "Is Blocked" toggle to be enabled', + description: 'Reason why the issue is blocked. Requires "Is Blocked" toggle to be enabled.', }, { displayName: 'Description', diff --git a/packages/nodes-base/nodes/Taiga/descriptions/TaskDescription.ts b/packages/nodes-base/nodes/Taiga/descriptions/TaskDescription.ts index 08072d335..4b4a256a3 100644 --- a/packages/nodes-base/nodes/Taiga/descriptions/TaskDescription.ts +++ b/packages/nodes-base/nodes/Taiga/descriptions/TaskDescription.ts @@ -123,7 +123,7 @@ export const taskFields: INodeProperties[] = [ name: 'blocked_note', type: 'string', default: '', - description: 'Reason why the task is blocked. Requires "Is Blocked" toggle to be enabled', + description: 'Reason why the task is blocked. Requires "Is Blocked" toggle to be enabled.', }, { displayName: 'Description', @@ -512,7 +512,7 @@ export const taskFields: INodeProperties[] = [ name: 'blocked_note', type: 'string', default: '', - description: 'Reason why the task is blocked. Requires "Is Blocked" toggle to be enabled', + description: 'Reason why the task is blocked. Requires "Is Blocked" toggle to be enabled.', }, { displayName: 'Description', diff --git a/packages/nodes-base/nodes/Taiga/descriptions/UserStoryDescription.ts b/packages/nodes-base/nodes/Taiga/descriptions/UserStoryDescription.ts index 24475befe..739161229 100644 --- a/packages/nodes-base/nodes/Taiga/descriptions/UserStoryDescription.ts +++ b/packages/nodes-base/nodes/Taiga/descriptions/UserStoryDescription.ts @@ -133,7 +133,7 @@ export const userStoryFields: INodeProperties[] = [ name: 'blocked_note', type: 'string', default: '', - description: 'Reason why the user story is blocked. Requires "Is Blocked" toggle to be enabled', + description: 'Reason why the user story is blocked. Requires "Is Blocked" toggle to be enabled.', }, { displayName: 'Description', @@ -525,7 +525,7 @@ export const userStoryFields: INodeProperties[] = [ name: 'blocked_note', type: 'string', default: '', - description: 'Reason why the user story is blocked. Requires "Is Blocked" toggle to be enabled', + description: 'Reason why the user story is blocked. Requires "Is Blocked" toggle to be enabled.', }, { displayName: 'Description', diff --git a/packages/nodes-base/nodes/Tapfiliate/AffiliateDescription.ts b/packages/nodes-base/nodes/Tapfiliate/AffiliateDescription.ts index 631ea7417..8846fc4ca 100644 --- a/packages/nodes-base/nodes/Tapfiliate/AffiliateDescription.ts +++ b/packages/nodes-base/nodes/Tapfiliate/AffiliateDescription.ts @@ -298,7 +298,6 @@ export const affiliateFields: INodeProperties[] = [ name: 'click_id', type: 'string', default: '', - description: 'Click ID.', }, { displayName: 'Email', @@ -326,7 +325,6 @@ export const affiliateFields: INodeProperties[] = [ name: 'source_id', type: 'string', default: '', - description: 'The Source ID.', }, ], }, diff --git a/packages/nodes-base/nodes/Tapfiliate/AffiliateMetadataDescription.ts b/packages/nodes-base/nodes/Tapfiliate/AffiliateMetadataDescription.ts index 37441deb0..2ce45e67b 100644 --- a/packages/nodes-base/nodes/Tapfiliate/AffiliateMetadataDescription.ts +++ b/packages/nodes-base/nodes/Tapfiliate/AffiliateMetadataDescription.ts @@ -73,7 +73,7 @@ export const affiliateMetadataFields: INodeProperties[] = [ ], }, }, - default: '', + default: {}, typeOptions: { multipleValues: true, }, diff --git a/packages/nodes-base/nodes/Tapfiliate/ProgramAffiliateDescription.ts b/packages/nodes-base/nodes/Tapfiliate/ProgramAffiliateDescription.ts index ac2985280..365ca05de 100644 --- a/packages/nodes-base/nodes/Tapfiliate/ProgramAffiliateDescription.ts +++ b/packages/nodes-base/nodes/Tapfiliate/ProgramAffiliateDescription.ts @@ -356,7 +356,6 @@ export const programAffiliateFields: INodeProperties[] = [ name: 'source_id', type: 'string', default: '', - description: 'Source ID.', }, ], }, diff --git a/packages/nodes-base/nodes/Tapfiliate/Tapfiliate.node.ts b/packages/nodes-base/nodes/Tapfiliate/Tapfiliate.node.ts index 0407fc9be..5b3689087 100644 --- a/packages/nodes-base/nodes/Tapfiliate/Tapfiliate.node.ts +++ b/packages/nodes-base/nodes/Tapfiliate/Tapfiliate.node.ts @@ -103,7 +103,7 @@ export class Tapfiliate implements INodeType { async execute(this: IExecuteFunctions): Promise { const items = this.getInputData(); - const length = (items.length as unknown) as number; + const length = items.length; const qs: IDataObject = {}; let responseData; const returnData: IDataObject[] = []; diff --git a/packages/nodes-base/nodes/Telegram/Telegram.node.ts b/packages/nodes-base/nodes/Telegram/Telegram.node.ts index 5904dff36..813bc62b6 100644 --- a/packages/nodes-base/nodes/Telegram/Telegram.node.ts +++ b/packages/nodes-base/nodes/Telegram/Telegram.node.ts @@ -889,7 +889,7 @@ export class Telegram implements INodeType { ], }, }, - description: 'Animation to send. Pass a file_id to send an animation that exists on the Telegram servers (recommended), an HTTP URL for Telegram to get an animation from the Internet', + description: 'Animation to send. Pass a file_id to send an animation that exists on the Telegram servers (recommended), an HTTP URL for Telegram to get an animation from the Internet.', }, @@ -915,7 +915,7 @@ export class Telegram implements INodeType { ], }, }, - description: 'Audio file to send. Pass a file_id to send a file that exists on the Telegram servers (recommended), an HTTP URL for Telegram to get a file from the Internet', + description: 'Audio file to send. Pass a file_id to send a file that exists on the Telegram servers (recommended), an HTTP URL for Telegram to get a file from the Internet.', }, @@ -1006,7 +1006,7 @@ export class Telegram implements INodeType { ], }, }, - description: 'Document to send. Pass a file_id to send a file that exists on the Telegram servers (recommended), an HTTP URL for Telegram to get a file from the Internet', + description: 'Document to send. Pass a file_id to send a file that exists on the Telegram servers (recommended), an HTTP URL for Telegram to get a file from the Internet.', }, @@ -1201,7 +1201,7 @@ export class Telegram implements INodeType { ], }, }, - description: 'Photo to send. Pass a file_id to send a photo that exists on the Telegram servers (recommended), an HTTP URL for Telegram to get a photo from the Internet', + description: 'Photo to send. Pass a file_id to send a photo that exists on the Telegram servers (recommended), an HTTP URL for Telegram to get a photo from the Internet.', }, @@ -1226,7 +1226,7 @@ export class Telegram implements INodeType { ], }, }, - description: 'Sticker to send. Pass a file_id to send a file that exists on the Telegram servers (recommended), an HTTP URL for Telegram to get a .webp file from the Internet', + description: 'Sticker to send. Pass a file_id to send a file that exists on the Telegram servers (recommended), an HTTP URL for Telegram to get a .webp file from the Internet.', }, @@ -1251,7 +1251,7 @@ export class Telegram implements INodeType { ], }, }, - description: 'Video file to send. Pass a file_id to send a file that exists on the Telegram servers (recommended), an HTTP URL for Telegram to get a file from the Internet', + description: 'Video file to send. Pass a file_id to send a file that exists on the Telegram servers (recommended), an HTTP URL for Telegram to get a file from the Internet.', }, // ---------------------------------- diff --git a/packages/nodes-base/nodes/TheHive/TheHive.node.ts b/packages/nodes-base/nodes/TheHive/TheHive.node.ts index 526ca7f0d..f3a2f5e8c 100644 --- a/packages/nodes-base/nodes/TheHive/TheHive.node.ts +++ b/packages/nodes-base/nodes/TheHive/TheHive.node.ts @@ -316,7 +316,7 @@ export class TheHive implements INodeType { async execute(this: IExecuteFunctions): Promise { const items = this.getInputData(); const returnData: IDataObject[] = []; - const length = (items.length as unknown) as number; + const length = items.length; const qs: IDataObject = {}; let responseData; const resource = this.getNodeParameter('resource', 0) as string; diff --git a/packages/nodes-base/nodes/TheHive/descriptions/AlertDescription.ts b/packages/nodes-base/nodes/TheHive/descriptions/AlertDescription.ts index 86ebd8631..c2eef82a4 100644 --- a/packages/nodes-base/nodes/TheHive/descriptions/AlertDescription.ts +++ b/packages/nodes-base/nodes/TheHive/descriptions/AlertDescription.ts @@ -176,7 +176,7 @@ export const alertFields: INodeProperties[] = [ ], }, }, - description: 'Severity of the alert. Default=Medium', + description: 'Severity of the alert. Default=Medium.', }, { displayName: 'Date', @@ -248,7 +248,7 @@ export const alertFields: INodeProperties[] = [ ], }, }, - description: 'Traffict Light Protocol (TLP). Default=Amber', + description: 'Traffict Light Protocol (TLP). Default=Amber.', }, { displayName: 'Status', @@ -363,7 +363,7 @@ export const alertFields: INodeProperties[] = [ name: 'artifactUi', type: 'fixedCollection', placeholder: 'Add Artifact', - default: '', + default: {}, displayOptions: { show: { resource: [ @@ -404,7 +404,6 @@ export const alertFields: INodeProperties[] = [ }, }, default: '', - description: '', }, { displayName: 'Binary Property', @@ -418,21 +417,18 @@ export const alertFields: INodeProperties[] = [ }, }, default: 'data', - description: '', }, { displayName: 'Message', name: 'message', type: 'string', default: '', - description: '', }, { displayName: 'Case Tags', name: 'tags', type: 'string', default: '', - description: '', }, ], }, @@ -493,7 +489,7 @@ export const alertFields: INodeProperties[] = [ placeholder: 'Add Field', type: 'collection', required: false, - default: '', + default: {}, displayOptions: { show: { resource: [ @@ -577,7 +573,7 @@ export const alertFields: INodeProperties[] = [ placeholder: 'Add Field', type: 'collection', required: false, - default: '', + default: {}, displayOptions: { show: { resource: [ @@ -604,7 +600,7 @@ export const alertFields: INodeProperties[] = [ name: 'updateFields', type: 'collection', placeholder: 'Add Field', - default: '', + default: {}, displayOptions: { show: { resource: [ @@ -621,7 +617,7 @@ export const alertFields: INodeProperties[] = [ name: 'artifactUi', type: 'fixedCollection', placeholder: 'Add Artifact', - default: '', + default: {}, typeOptions: { multipleValues: true, }, @@ -779,7 +775,7 @@ export const alertFields: INodeProperties[] = [ }, ], default: 2, - description: 'Severity of the alert. Default=Medium', + description: 'Severity of the alert. Default=Medium.', }, { displayName: 'Status', @@ -844,7 +840,7 @@ export const alertFields: INodeProperties[] = [ value: TLP.red, }, ], - description: 'Traffict Light Protocol (TLP). Default=Amber', + description: 'Traffict Light Protocol (TLP). Default=Amber.', }, ], }, @@ -960,7 +956,7 @@ export const alertFields: INodeProperties[] = [ }, ], default: 2, - description: 'Severity of the alert. Default=Medium', + description: 'Severity of the alert. Default=Medium.', }, { displayName: 'Tags', @@ -998,7 +994,7 @@ export const alertFields: INodeProperties[] = [ value: TLP.red, }, ], - description: 'Traffict Light Protocol (TLP). Default=Amber', + description: 'Traffict Light Protocol (TLP). Default=Amber.', }, ], }, diff --git a/packages/nodes-base/nodes/TheHive/descriptions/CaseDescription.ts b/packages/nodes-base/nodes/TheHive/descriptions/CaseDescription.ts index f6dd1b3a5..e34e211f8 100644 --- a/packages/nodes-base/nodes/TheHive/descriptions/CaseDescription.ts +++ b/packages/nodes-base/nodes/TheHive/descriptions/CaseDescription.ts @@ -158,7 +158,7 @@ export const caseFields: INodeProperties[] = [ ], }, }, - description: 'Severity of the alert. Default=Medium', + description: 'Severity of the alert. Default=Medium.', }, { displayName: 'Start Date', @@ -247,7 +247,7 @@ export const caseFields: INodeProperties[] = [ ], }, }, - description: 'Traffict Light Protocol (TLP). Default=Amber', + description: 'Traffict Light Protocol (TLP). Default=Amber.', }, { displayName: 'Tags', @@ -329,7 +329,7 @@ export const caseFields: INodeProperties[] = [ }, }, required: false, - default: '', + default: {}, options: [ { displayName: 'Custom Fields', @@ -433,7 +433,7 @@ export const caseFields: INodeProperties[] = [ }, }, required: false, - default: '', + default: {}, options: [ { displayName: 'Custom Fields', @@ -600,7 +600,7 @@ export const caseFields: INodeProperties[] = [ }, ], default: 2, - description: 'Severity of the alert. Default=Medium', + description: 'Severity of the alert. Default=Medium.', }, { displayName: 'Start Date', @@ -672,7 +672,7 @@ export const caseFields: INodeProperties[] = [ value: TLP.red, }, ], - description: 'Traffict Light Protocol (TLP). Default=Amber', + description: 'Traffict Light Protocol (TLP). Default=Amber.', }, ], }, @@ -852,7 +852,7 @@ export const caseFields: INodeProperties[] = [ }, ], default: 2, - description: 'Severity of the alert. Default=Medium', + description: 'Severity of the alert. Default=Medium.', }, { displayName: 'Start Date', @@ -925,7 +925,7 @@ export const caseFields: INodeProperties[] = [ value: TLP.red, }, ], - description: 'Traffict Light Protocol (TLP). Default=Amber', + description: 'Traffict Light Protocol (TLP). Default=Amber.', }, ], }, diff --git a/packages/nodes-base/nodes/TheHive/descriptions/ObservableDescription.ts b/packages/nodes-base/nodes/TheHive/descriptions/ObservableDescription.ts index 76d345e03..641330ac2 100644 --- a/packages/nodes-base/nodes/TheHive/descriptions/ObservableDescription.ts +++ b/packages/nodes-base/nodes/TheHive/descriptions/ObservableDescription.ts @@ -249,7 +249,7 @@ export const observableFields: INodeProperties[] = [ value: TLP.red, }, ], - description: 'Traffict Light Protocol (TLP). Default=Amber', + description: 'Traffict Light Protocol (TLP). Default=Amber.', }, { displayName: 'IOC', @@ -313,7 +313,7 @@ export const observableFields: INodeProperties[] = [ ], }, }, - description: 'Status of the observable. Default=Ok', + description: 'Status of the observable. Default=Ok.', }, // required for analyzer execution { @@ -382,7 +382,7 @@ export const observableFields: INodeProperties[] = [ type: 'collection', placeholder: 'Add Option', required: false, - default: '', + default: {}, displayOptions: { show: { resource: [ @@ -410,7 +410,7 @@ export const observableFields: INodeProperties[] = [ name: 'updateFields', type: 'collection', required: false, - default: '', + default: {}, displayOptions: { show: { resource: [ @@ -460,7 +460,7 @@ export const observableFields: INodeProperties[] = [ value: TLP.red, }, ], - description: 'Traffict Light Protocol (TLP). Default=Amber', + description: 'Traffict Light Protocol (TLP). Default=Amber.', }, { displayName: 'IOC', @@ -491,7 +491,7 @@ export const observableFields: INodeProperties[] = [ value: 'Deleted', }, ], - description: 'Status of the observable. Default=Ok', + description: 'Status of the observable. Default=Ok.', }, ], }, @@ -530,7 +530,7 @@ export const observableFields: INodeProperties[] = [ name: 'filters', type: 'collection', required: false, - default: '', + default: {}, placeholder: 'Add Filter', displayOptions: { show: { @@ -638,7 +638,7 @@ export const observableFields: INodeProperties[] = [ value: 'Deleted', }, ], - description: 'Status of the observable. Default=Ok', + description: 'Status of the observable. Default=Ok.', }, { displayName: 'TLP', @@ -663,7 +663,7 @@ export const observableFields: INodeProperties[] = [ value: TLP.red, }, ], - description: 'Traffict Light Protocol (TLP). Default=Amber', + description: 'Traffict Light Protocol (TLP). Default=Amber.', }, { displayName: 'Value', diff --git a/packages/nodes-base/nodes/TheHive/descriptions/TaskDescription.ts b/packages/nodes-base/nodes/TheHive/descriptions/TaskDescription.ts index 6c2a20c03..c2b427e72 100644 --- a/packages/nodes-base/nodes/TheHive/descriptions/TaskDescription.ts +++ b/packages/nodes-base/nodes/TheHive/descriptions/TaskDescription.ts @@ -159,7 +159,7 @@ export const taskFields: INodeProperties[] = [ ], }, }, - description: 'Status of the task. Default=Waiting', + description: 'Status of the task. Default=Waiting.', }, { displayName: 'Flag', @@ -177,7 +177,7 @@ export const taskFields: INodeProperties[] = [ ], }, }, - description: 'Flag of the task. Default=false', + description: 'Flag of the task. Default=false.', }, // required for responder execution { @@ -215,7 +215,7 @@ export const taskFields: INodeProperties[] = [ name: 'options', placeholder: 'Add Option', required: false, - default: '', + default: {}, displayOptions: { show: { resource: [ @@ -239,21 +239,21 @@ export const taskFields: INodeProperties[] = [ name: 'endDate', type: 'dateTime', default: '', - description: 'Date of the end of the task. This is automatically set when status is set to Completed', + description: 'Date of the end of the task. This is automatically set when status is set to Completed.', }, { displayName: 'Owner', name: 'owner', type: 'string', default: '', - description: `User who owns the task. This is automatically set to current user when status is set to InProgress`, + description: 'User who owns the task. This is automatically set to current user when status is set to InProgress.', }, { displayName: 'Start Date', name: 'startDate', type: 'dateTime', default: '', - description: 'Date of the beginning of the task. This is automatically set when status is set to Open', + description: 'Date of the beginning of the task. This is automatically set when status is set to Open.', }, ], }, @@ -264,7 +264,7 @@ export const taskFields: INodeProperties[] = [ type: 'collection', name: 'updateFields', placeholder: 'Add Field', - default: '', + default: {}, required: false, displayOptions: { show: { @@ -289,28 +289,28 @@ export const taskFields: INodeProperties[] = [ name: 'endDate', type: 'dateTime', default: '', - description: 'Date of the end of the task. This is automatically set when status is set to Completed', + description: 'Date of the end of the task. This is automatically set when status is set to Completed.', }, { displayName: 'Flag', name: 'flag', type: 'boolean', default: false, - description: 'Flag of the task. Default=false', + description: 'Flag of the task. Default=false.', }, { displayName: 'Owner', name: 'owner', type: 'string', default: '', - description: `User who owns the task. This is automatically set to current user when status is set to InProgress`, + description: 'User who owns the task. This is automatically set to current user when status is set to InProgress.', }, { displayName: 'Start Date', name: 'startDate', type: 'dateTime', default: '', - description: 'Date of the beginning of the task. This is automatically set when status is set to Open', + description: 'Date of the beginning of the task. This is automatically set when status is set to Open.', }, { displayName: 'Status', @@ -335,7 +335,7 @@ export const taskFields: INodeProperties[] = [ value: 'Waiting', }, ], - description: 'Status of the task. Default=Waiting', + description: 'Status of the task. Default=Waiting.', }, { displayName: 'Title', @@ -408,28 +408,28 @@ export const taskFields: INodeProperties[] = [ name: 'endDate', type: 'dateTime', default: '', - description: 'Date of the end of the task. This is automatically set when status is set to Completed', + description: 'Date of the end of the task. This is automatically set when status is set to Completed.', }, { displayName: 'Flag', name: 'flag', type: 'boolean', default: false, - description: 'Flag of the task. Default=false', + description: 'Flag of the task. Default=false.', }, { displayName: 'Owner', name: 'owner', type: 'string', default: '', - description: `User who owns the task. This is automatically set to current user when status is set to InProgress`, + description: 'User who owns the task. This is automatically set to current user when status is set to InProgress.', }, { displayName: 'Start Date', name: 'startDate', type: 'dateTime', default: '', - description: 'Date of the beginning of the task. This is automatically set when status is set to Open', + description: 'Date of the beginning of the task. This is automatically set when status is set to Open.', }, { displayName: 'Status', @@ -454,7 +454,7 @@ export const taskFields: INodeProperties[] = [ value: 'Waiting', }, ], - description: 'Status of the task. Default=Waiting', + description: 'Status of the task. Default=Waiting.', }, { displayName: 'Title', diff --git a/packages/nodes-base/nodes/TimescaleDb/TimescaleDb.node.ts b/packages/nodes-base/nodes/TimescaleDb/TimescaleDb.node.ts index 58398d289..4ca2dd209 100644 --- a/packages/nodes-base/nodes/TimescaleDb/TimescaleDb.node.ts +++ b/packages/nodes-base/nodes/TimescaleDb/TimescaleDb.node.ts @@ -130,8 +130,7 @@ export class TimescaleDb implements INodeType { }, default: '', placeholder: 'id,name,description', - description: - 'Comma separated list of the properties which should used as columns for the new rows.', + description: `Comma-separated list of the properties which should used as columns for the new rows.`, }, // ---------------------------------- @@ -196,8 +195,7 @@ export class TimescaleDb implements INodeType { }, default: '', placeholder: 'name,description', - description: - 'Comma separated list of the properties which should used as columns for rows to update.', + description: 'Comma-separated list of the properties which should used as columns for rows to update.', }, // ---------------------------------- // insert,update @@ -212,7 +210,7 @@ export class TimescaleDb implements INodeType { }, }, default: '*', - description: 'Comma separated list of the fields that the operation will return', + description: 'Comma-separated list of the fields that the operation will return', }, // ---------------------------------- // additional fields @@ -261,7 +259,7 @@ export class TimescaleDb implements INodeType { }, default: '', placeholder: 'quantity,price', - description: 'Comma separated list of properties which should be used as query parameters.', + description: 'Comma-separated list of properties which should be used as query parameters.', }, ], }, diff --git a/packages/nodes-base/nodes/Todoist/Todoist.node.ts b/packages/nodes-base/nodes/Todoist/Todoist.node.ts index b56ae933c..9fe16b03a 100644 --- a/packages/nodes-base/nodes/Todoist/Todoist.node.ts +++ b/packages/nodes-base/nodes/Todoist/Todoist.node.ts @@ -194,7 +194,6 @@ export class Todoist implements INodeType { }, default: [], required: false, - description: 'Labels', }, { displayName: 'Content', @@ -379,7 +378,7 @@ export class Todoist implements INodeType { name: 'ids', type: 'string', default: '', - description: 'A list of the task IDs to retrieve, this should be a comma separated list.', + description: 'A list of the task IDs to retrieve, this should be a comma-separated list.', }, { displayName: 'Label ID', @@ -471,7 +470,6 @@ export class Todoist implements INodeType { }, default: [], required: false, - description: 'Labels', }, { displayName: 'Priority', @@ -556,7 +554,7 @@ export class Todoist implements INodeType { async execute(this: IExecuteFunctions): Promise { const items = this.getInputData(); const returnData: IDataObject[] = []; - const length = items.length as unknown as number; + const length = items.length; const qs: IDataObject = {}; let responseData; diff --git a/packages/nodes-base/nodes/TravisCi/BuildDescription.ts b/packages/nodes-base/nodes/TravisCi/BuildDescription.ts index 184bf4ab5..b2b619532 100644 --- a/packages/nodes-base/nodes/TravisCi/BuildDescription.ts +++ b/packages/nodes-base/nodes/TravisCi/BuildDescription.ts @@ -349,7 +349,6 @@ export const buildFields: INodeProperties[] = [ }, ], default: '', - description: '', }, ], }, diff --git a/packages/nodes-base/nodes/TravisCi/TravisCi.node.ts b/packages/nodes-base/nodes/TravisCi/TravisCi.node.ts index 6abe61c01..11e41e4b1 100644 --- a/packages/nodes-base/nodes/TravisCi/TravisCi.node.ts +++ b/packages/nodes-base/nodes/TravisCi/TravisCi.node.ts @@ -61,7 +61,7 @@ export class TravisCi implements INodeType { async execute(this: IExecuteFunctions): Promise { const items = this.getInputData(); const returnData: IDataObject[] = []; - const length = items.length as unknown as number; + const length = items.length; const qs: IDataObject = {}; let responseData; const resource = this.getNodeParameter('resource', 0) as string; diff --git a/packages/nodes-base/nodes/Trello/BoardDescription.ts b/packages/nodes-base/nodes/Trello/BoardDescription.ts index df2402d97..f534007b4 100644 --- a/packages/nodes-base/nodes/Trello/BoardDescription.ts +++ b/packages/nodes-base/nodes/Trello/BoardDescription.ts @@ -368,7 +368,7 @@ export const boardFields: INodeProperties[] = [ name: 'fields', type: 'string', default: 'all', - description: 'Fields to return. Either "all" or a comma-separated list: closed, dateLastActivity, dateLastView, desc, descData, idOrganization, invitations, invited, labelNames, memberships, name, pinned, powerUps, prefs, shortLink, shortUrl, starred, subscribed, url', + description: 'Fields to return. Either "all" or a comma-separated list: closed, dateLastActivity, dateLastView, desc, descData, idOrganization, invitations, invited, labelNames, memberships, name, pinned, powerUps, prefs, shortLink, shortUrl, starred, subscribed, url.', }, { displayName: 'Plugin Data', diff --git a/packages/nodes-base/nodes/Trello/CardDescription.ts b/packages/nodes-base/nodes/Trello/CardDescription.ts index 0a998d11a..d06ada249 100644 --- a/packages/nodes-base/nodes/Trello/CardDescription.ts +++ b/packages/nodes-base/nodes/Trello/CardDescription.ts @@ -173,7 +173,7 @@ export const cardFields: INodeProperties[] = [ name: 'keepFromSource', type: 'string', default: 'all', - description: 'If using idCardSource you can specify which properties to copy over. all or comma-separated list of: attachments, checklists, comments, due, labels, members, stickers', + description: 'If using idCardSource you can specify which properties to copy over. all or comma-separated list of: attachments, checklists, comments, due, labels, members, stickers.', }, ], }, @@ -243,7 +243,7 @@ export const cardFields: INodeProperties[] = [ name: 'fields', type: 'string', default: 'all', - description: 'Fields to return. Either "all" or a comma-separated list: badges, checkItemStates, closed, dateLastActivity, desc, descData, due, email, idBoard, idChecklists, idLabels, idList, idMembers, idShort, idAttachmentCover, manualCoverAttachment, labels, name, pos, shortUrl, url', + description: 'Fields to return. Either "all" or a comma-separated list: badges, checkItemStates, closed, dateLastActivity, desc, descData, due, email, idBoard, idChecklists, idLabels, idList, idMembers, idShort, idAttachmentCover, manualCoverAttachment, labels, name, pos, shortUrl, url.', }, { displayName: 'Board', @@ -257,7 +257,7 @@ export const cardFields: INodeProperties[] = [ name: 'board_fields', type: 'string', default: 'all', - description: 'Fields to return. Either "all" or a comma-separated list: name, desc, descData, closed, idOrganization, pinned, url, prefs', + description: 'Fields to return. Either "all" or a comma-separated list: name, desc, descData, closed, idOrganization, pinned, url, prefs.', }, { displayName: 'Custom Field Items', @@ -278,7 +278,7 @@ export const cardFields: INodeProperties[] = [ name: 'member_fields', type: 'string', default: 'all', - description: 'Fields to return. Either "all" or a comma-separated list: avatarHash, fullName, initials, username', + description: 'Fields to return. Either "all" or a comma-separated list: avatarHash, fullName, initials, username.', }, { displayName: 'Plugin Data', diff --git a/packages/nodes-base/nodes/Twake/Twake.node.ts b/packages/nodes-base/nodes/Twake/Twake.node.ts index bc3c1f50e..8f27146b9 100644 --- a/packages/nodes-base/nodes/Twake/Twake.node.ts +++ b/packages/nodes-base/nodes/Twake/Twake.node.ts @@ -164,7 +164,6 @@ export class Twake implements INodeType { name: 'senderName', type: 'string', default: '', - description: 'Sender name', }, ], }, @@ -194,7 +193,7 @@ export class Twake implements INodeType { async execute(this: IExecuteFunctions): Promise { const items = this.getInputData(); const returnData: IDataObject[] = []; - const length = (items.length as unknown) as number; + const length = items.length; const qs: IDataObject = {}; let responseData; const resource = this.getNodeParameter('resource', 0) as string; diff --git a/packages/nodes-base/nodes/Twist/ChannelDescription.ts b/packages/nodes-base/nodes/Twist/ChannelDescription.ts index bc7ae3418..5ce5e2f46 100644 --- a/packages/nodes-base/nodes/Twist/ChannelDescription.ts +++ b/packages/nodes-base/nodes/Twist/ChannelDescription.ts @@ -187,6 +187,7 @@ export const channelFields: INodeProperties[] = [ default: false, description: 'If enabled, the channel will be marked as public.', }, + // eslint-disable-next-line n8n-nodes-base/node-param-default-missing { displayName: 'Temp ID', name: 'temp_id', diff --git a/packages/nodes-base/nodes/Twist/Twist.node.ts b/packages/nodes-base/nodes/Twist/Twist.node.ts index ce94ac1a3..6d9e47f0d 100644 --- a/packages/nodes-base/nodes/Twist/Twist.node.ts +++ b/packages/nodes-base/nodes/Twist/Twist.node.ts @@ -168,7 +168,7 @@ export class Twist implements INodeType { async execute(this: IExecuteFunctions): Promise { const items = this.getInputData(); const returnData: IDataObject[] = []; - const length = (items.length as unknown) as number; + const length = items.length; const qs: IDataObject = {}; let responseData; const resource = this.getNodeParameter('resource', 0) as string; diff --git a/packages/nodes-base/nodes/Twitter/TweetDescription.ts b/packages/nodes-base/nodes/Twitter/TweetDescription.ts index 1632b4081..2229e9f48 100644 --- a/packages/nodes-base/nodes/Twitter/TweetDescription.ts +++ b/packages/nodes-base/nodes/Twitter/TweetDescription.ts @@ -93,7 +93,7 @@ export const tweetFields: INodeProperties[] = [ name: 'attachments', type: 'string', default: 'data', - description: 'Name of the binary properties which contain data which should be added to tweet as attachment. Multiple ones can be comma separated.', + description: 'Name of the binary properties which contain data which should be added to tweet as attachment. Multiple ones can be comma-separated.', }, { displayName: 'Display Coordinates', diff --git a/packages/nodes-base/nodes/Twitter/Twitter.node.ts b/packages/nodes-base/nodes/Twitter/Twitter.node.ts index 70cd850f9..c684efadd 100644 --- a/packages/nodes-base/nodes/Twitter/Twitter.node.ts +++ b/packages/nodes-base/nodes/Twitter/Twitter.node.ts @@ -104,7 +104,7 @@ export class Twitter implements INodeType { async execute(this: IExecuteFunctions): Promise { const items = this.getInputData(); const returnData: IDataObject[] = []; - const length = items.length as unknown as number; + const length = items.length; let responseData; const resource = this.getNodeParameter('resource', 0) as string; const operation = this.getNodeParameter('operation', 0) as string; diff --git a/packages/nodes-base/nodes/UProc/UProc.node.ts b/packages/nodes-base/nodes/UProc/UProc.node.ts index a22121ff5..78e4cd3c6 100644 --- a/packages/nodes-base/nodes/UProc/UProc.node.ts +++ b/packages/nodes-base/nodes/UProc/UProc.node.ts @@ -85,7 +85,7 @@ export class UProc implements INodeType { async execute(this: IExecuteFunctions): Promise { const items = this.getInputData(); const returnData: IDataObject[] = []; - const length = items.length as unknown as number; + const length = items.length; let responseData; const group = this.getNodeParameter('group', 0) as string; const tool = this.getNodeParameter('tool', 0) as string; diff --git a/packages/nodes-base/nodes/UnleashedSoftware/SalesOrderDescription.ts b/packages/nodes-base/nodes/UnleashedSoftware/SalesOrderDescription.ts index 47080b1c1..72bf575b8 100644 --- a/packages/nodes-base/nodes/UnleashedSoftware/SalesOrderDescription.ts +++ b/packages/nodes-base/nodes/UnleashedSoftware/SalesOrderDescription.ts @@ -95,7 +95,7 @@ export const salesOrderFields: INodeProperties[] = [ type: 'string', default: '', placeholder: 'XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX', - description: 'Only returns orders for a specified Customer GUID. The CustomerId can be specified as a list of comma-separated GUIDs', + description: 'Only returns orders for a specified Customer GUID. The CustomerId can be specified as a list of comma-separated GUIDs.', }, { displayName: 'Customer Code', diff --git a/packages/nodes-base/nodes/UnleashedSoftware/StockOnHandDescription.ts b/packages/nodes-base/nodes/UnleashedSoftware/StockOnHandDescription.ts index bc290756e..44125b2ad 100644 --- a/packages/nodes-base/nodes/UnleashedSoftware/StockOnHandDescription.ts +++ b/packages/nodes-base/nodes/UnleashedSoftware/StockOnHandDescription.ts @@ -124,7 +124,7 @@ export const stockOnHandFields: INodeProperties[] = [ displayName: 'Is Assembled', name: 'IsAssembled', type: 'boolean', - default: '', + default: false, description: 'If set to True, the AvailableQty will also include the quantity that can be assembled.', }, { diff --git a/packages/nodes-base/nodes/Uplead/Uplead.node.ts b/packages/nodes-base/nodes/Uplead/Uplead.node.ts index c8cdce5fe..eb7deff98 100644 --- a/packages/nodes-base/nodes/Uplead/Uplead.node.ts +++ b/packages/nodes-base/nodes/Uplead/Uplead.node.ts @@ -69,7 +69,7 @@ export class Uplead implements INodeType { async execute(this: IExecuteFunctions): Promise { const items = this.getInputData(); const returnData: IDataObject[] = []; - const length = items.length as unknown as number; + const length = items.length; const qs: IDataObject = {}; let responseData; const resource = this.getNodeParameter('resource', 0) as string; diff --git a/packages/nodes-base/nodes/UptimeRobot/MonitorDescription.ts b/packages/nodes-base/nodes/UptimeRobot/MonitorDescription.ts index 2d2ec294a..0d59a1bb7 100644 --- a/packages/nodes-base/nodes/UptimeRobot/MonitorDescription.ts +++ b/packages/nodes-base/nodes/UptimeRobot/MonitorDescription.ts @@ -263,7 +263,7 @@ export const monitorFields: INodeProperties[] = [ displayName: 'Statuses', name: 'statuses', type: 'multiOptions', - default: '', + default: [], options: [ { name: 'Paused', @@ -291,7 +291,7 @@ export const monitorFields: INodeProperties[] = [ displayName: 'Types', name: 'types', type: 'multiOptions', - default: '', + default: [], options: [ { name: 'Heartbeat', diff --git a/packages/nodes-base/nodes/Vero/EventDescripion.ts b/packages/nodes-base/nodes/Vero/EventDescripion.ts index 5ba1f5d13..ecfb4dcb8 100644 --- a/packages/nodes-base/nodes/Vero/EventDescripion.ts +++ b/packages/nodes-base/nodes/Vero/EventDescripion.ts @@ -64,7 +64,6 @@ export const eventFields: INodeProperties[] = [ ], }, }, - description: 'Email', }, { displayName: 'Event Name', @@ -89,7 +88,6 @@ export const eventFields: INodeProperties[] = [ name: 'jsonParameters', type: 'boolean', default: false, - description: '', displayOptions: { show: { resource: [ diff --git a/packages/nodes-base/nodes/Vero/UserDescription.ts b/packages/nodes-base/nodes/Vero/UserDescription.ts index 4fee2cfaf..1df11cb7b 100644 --- a/packages/nodes-base/nodes/Vero/UserDescription.ts +++ b/packages/nodes-base/nodes/Vero/UserDescription.ts @@ -83,7 +83,6 @@ export const userFields: INodeProperties[] = [ name: 'jsonParameters', type: 'boolean', default: false, - description: '', displayOptions: { show: { resource: [ diff --git a/packages/nodes-base/nodes/Vero/Vero.node.ts b/packages/nodes-base/nodes/Vero/Vero.node.ts index 17c41a55f..dead0507e 100644 --- a/packages/nodes-base/nodes/Vero/Vero.node.ts +++ b/packages/nodes-base/nodes/Vero/Vero.node.ts @@ -72,7 +72,7 @@ export class Vero implements INodeType { async execute(this: IExecuteFunctions): Promise { const items = this.getInputData(); const returnData: IDataObject[] = []; - const length = items.length as unknown as number; + const length = items.length; let responseData; for (let i = 0; i < length; i++) { try { diff --git a/packages/nodes-base/nodes/Vonage/Vonage.node.ts b/packages/nodes-base/nodes/Vonage/Vonage.node.ts index ca2b1ae6f..876d9f706 100644 --- a/packages/nodes-base/nodes/Vonage/Vonage.node.ts +++ b/packages/nodes-base/nodes/Vonage/Vonage.node.ts @@ -348,7 +348,7 @@ export class Vonage implements INodeType { name: 'account-ref', type: 'string', default: '', - description: 'An optional string used to identify separate accounts using the SMS endpoint for billing purposes. To use this feature, please email support@nexmo.com', + description: 'An optional string used to identify separate accounts using the SMS endpoint for billing purposes. To use this feature, please email support@nexmo.com.', }, { displayName: 'Callback', @@ -418,7 +418,7 @@ export class Vonage implements INodeType { async execute(this: IExecuteFunctions): Promise { const items = this.getInputData(); const returnData: IDataObject[] = []; - const length = (items.length as unknown) as number; + const length = items.length; const qs: IDataObject = {}; let responseData; const resource = this.getNodeParameter('resource', 0) as string; diff --git a/packages/nodes-base/nodes/Wait/Wait.node.ts b/packages/nodes-base/nodes/Wait/Wait.node.ts index ba447c3df..8fd8eb5fc 100644 --- a/packages/nodes-base/nodes/Wait/Wait.node.ts +++ b/packages/nodes-base/nodes/Wait/Wait.node.ts @@ -346,21 +346,21 @@ export class Wait implements INodeType { { name: 'All Entries', value: 'allEntries', - description: 'Returns all the entries of the last node. Always returns an array', + description: 'Returns all the entries of the last node. Always returns an array.', }, { name: 'First Entry JSON', value: 'firstEntryJson', - description: 'Returns the JSON data of the first entry of the last node. Always returns a JSON object', + description: 'Returns the JSON data of the first entry of the last node. Always returns a JSON object.', }, { name: 'First Entry Binary', value: 'firstEntryBinary', - description: 'Returns the binary data of the first entry of the last node. Always returns a binary file', + description: 'Returns the binary data of the first entry of the last node. Always returns a binary file.', }, ], default: 'firstEntryJson', - description: 'What data should be returned. If it should return all the items as array or only the first item as object', + description: 'What data should be returned. If it should return all the items as array or only the first item as object.', }, { displayName: 'Property Name', @@ -385,8 +385,7 @@ export class Wait implements INodeType { name: 'limitWaitTime', type: 'boolean', default: false, - description: `If no webhook call is received, the workflow will automatically - resume execution after the specified limit type`, + description: 'If no webhook call is received, the workflow will automatically resume execution after the specified limit type', displayOptions: { show: { resume: [ @@ -549,9 +548,7 @@ export class Wait implements INodeType { ], }, }, - description: `Name of the binary property to which to write the data of - the received file. If the data gets received via "Form-Data Multipart" - it will be the prefix and a number starting with 0 will be attached to it.`, + description: 'Name of the binary property to which to write the data of the received file. If the data gets received via "Form-Data Multipart" it will be the prefix and a number starting with 0 will be attached to it.', }, { displayName: 'Ignore Bots', diff --git a/packages/nodes-base/nodes/Webhook/Webhook.node.ts b/packages/nodes-base/nodes/Webhook/Webhook.node.ts index 3ce2e0138..0a6281b74 100644 --- a/packages/nodes-base/nodes/Webhook/Webhook.node.ts +++ b/packages/nodes-base/nodes/Webhook/Webhook.node.ts @@ -53,6 +53,7 @@ export class Webhook implements INodeType { defaults: { name: 'Webhook', }, + // eslint-disable-next-line n8n-nodes-base/node-class-description-inputs-wrong-regular-node inputs: [], outputs: ['main'], credentials: [ @@ -300,9 +301,7 @@ export class Webhook implements INodeType { ], }, }, - description: `Name of the binary property to write the data of - the received file to. If the data gets received via "Form-Data Multipart" - it will be the prefix and a number starting with 0 will be attached to it.`, + description: 'Name of the binary property to write the data of the received file to. If the data gets received via "Form-Data Multipart" it will be the prefix and a number starting with 0 will be attached to it.', }, { displayName: 'Ignore Bots', diff --git a/packages/nodes-base/nodes/Wekan/CardDescription.ts b/packages/nodes-base/nodes/Wekan/CardDescription.ts index 418902140..ca7f9127a 100644 --- a/packages/nodes-base/nodes/Wekan/CardDescription.ts +++ b/packages/nodes-base/nodes/Wekan/CardDescription.ts @@ -160,7 +160,6 @@ export const cardFields: INodeProperties[] = [ ], }, }, - description: 'The author ID.', }, { displayName: 'Additional Fields', @@ -186,7 +185,7 @@ export const cardFields: INodeProperties[] = [ typeOptions: { loadOptionsMethod: 'getUsers', }, - default: '', + default: [], description: 'The new list of assignee IDs attached to the card.', }, { @@ -203,7 +202,7 @@ export const cardFields: INodeProperties[] = [ typeOptions: { loadOptionsMethod: 'getUsers', }, - default: '', + default: [], description: 'The new list of member IDs attached to the card.', }, ], @@ -400,7 +399,6 @@ export const cardFields: INodeProperties[] = [ }, ], default: '', - description: '', }, { displayName: 'List ID', @@ -604,7 +602,7 @@ export const cardFields: INodeProperties[] = [ typeOptions: { loadOptionsMethod: 'getUsers', }, - default: '', + default: [], description: 'The new list of assignee IDs attached to the card.', }, { @@ -764,7 +762,7 @@ export const cardFields: INodeProperties[] = [ typeOptions: { loadOptionsMethod: 'getUsers', }, - default: '', + default: [], description: 'The new list of member IDs attached to the card.', }, { diff --git a/packages/nodes-base/nodes/WooCommerce/OrderDescription.ts b/packages/nodes-base/nodes/WooCommerce/OrderDescription.ts index f1e8f9ba4..176c0f29e 100644 --- a/packages/nodes-base/nodes/WooCommerce/OrderDescription.ts +++ b/packages/nodes-base/nodes/WooCommerce/OrderDescription.ts @@ -78,7 +78,7 @@ export const orderFields: INodeProperties[] = [ name: 'customerId', type: 'string', default: '', - description: 'User ID who owns the order. 0 for guests', + description: 'User ID who owns the order. 0 for guests.', }, { displayName: 'Customer Note', @@ -102,21 +102,19 @@ export const orderFields: INodeProperties[] = [ name: 'paymentMethodId', type: 'string', default: '', - description: 'Payment method ID.', }, { displayName: 'Payment Method Title', name: 'paymentMethodTitle', type: 'string', default: '', - description: 'Payment method title.', }, { displayName: 'Set Paid', name: 'setPaid', type: 'boolean', default: false, - description: 'Define if the order is paid. It will set the status to processing and reduce stock items', + description: 'Define if the order is paid. It will set the status to processing and reduce stock items.', }, { displayName: 'Status', @@ -173,7 +171,7 @@ export const orderFields: INodeProperties[] = [ name: 'billingUi', placeholder: 'Add Billing', type: 'fixedCollection', - default: '', + default: {}, typeOptions: { multipleValues: false, }, @@ -263,7 +261,7 @@ export const orderFields: INodeProperties[] = [ name: 'couponLinesUi', placeholder: 'Add Coupon Line', type: 'fixedCollection', - default: '', + default: {}, typeOptions: { multipleValues: true, }, @@ -295,7 +293,7 @@ export const orderFields: INodeProperties[] = [ name: 'metadataUi', placeholder: 'Add Metadata', type: 'fixedCollection', - default: '', + default: {}, typeOptions: { multipleValues: true, }, @@ -332,7 +330,7 @@ export const orderFields: INodeProperties[] = [ name: 'feeLinesUi', placeholder: 'Add Fee Line', type: 'fixedCollection', - default: '', + default: {}, typeOptions: { multipleValues: true, }, @@ -395,7 +393,7 @@ export const orderFields: INodeProperties[] = [ name: 'metadataUi', placeholder: 'Add Metadata', type: 'fixedCollection', - default: '', + default: {}, typeOptions: { multipleValues: true, }, @@ -432,7 +430,7 @@ export const orderFields: INodeProperties[] = [ name: 'lineItemsUi', placeholder: 'Add Line Item', type: 'fixedCollection', - default: '', + default: {}, typeOptions: { multipleValues: true, }, @@ -464,7 +462,6 @@ export const orderFields: INodeProperties[] = [ name: 'productId', type: 'number', default: 0, - description: 'Product ID.', }, { displayName: 'Variation ID', @@ -506,7 +503,7 @@ export const orderFields: INodeProperties[] = [ name: 'metadataUi', placeholder: 'Add Metadata', type: 'fixedCollection', - default: '', + default: {}, typeOptions: { multipleValues: true, }, @@ -543,7 +540,7 @@ export const orderFields: INodeProperties[] = [ name: 'metadataUi', placeholder: 'Add Metadata', type: 'fixedCollection', - default: '', + default: {}, typeOptions: { multipleValues: true, }, @@ -586,7 +583,7 @@ export const orderFields: INodeProperties[] = [ name: 'shippingUi', placeholder: 'Add Shipping', type: 'fixedCollection', - default: '', + default: {}, typeOptions: { multipleValues: false, }, @@ -664,7 +661,7 @@ export const orderFields: INodeProperties[] = [ name: 'shippingLinesUi', placeholder: 'Add Shipping Line', type: 'fixedCollection', - default: '', + default: {}, typeOptions: { multipleValues: true, }, @@ -710,7 +707,7 @@ export const orderFields: INodeProperties[] = [ name: 'metadataUi', placeholder: 'Add Metadata', type: 'fixedCollection', - default: '', + default: {}, typeOptions: { multipleValues: true, }, @@ -760,7 +757,6 @@ export const orderFields: INodeProperties[] = [ }, }, default: '', - description: 'order ID.', }, { displayName: 'Update Fields', @@ -791,7 +787,7 @@ export const orderFields: INodeProperties[] = [ name: 'customerId', type: 'string', default: '', - description: 'User ID who owns the order. 0 for guests', + description: 'User ID who owns the order. 0 for guests.', }, { displayName: 'Customer Note', @@ -815,14 +811,12 @@ export const orderFields: INodeProperties[] = [ name: 'paymentMethodId', type: 'string', default: '', - description: 'Payment method ID.', }, { displayName: 'Payment Method Title', name: 'paymentMethodTitle', type: 'string', default: '', - description: 'Payment method title.', }, { displayName: 'Status', @@ -879,7 +873,7 @@ export const orderFields: INodeProperties[] = [ name: 'billingUi', placeholder: 'Add Billing', type: 'fixedCollection', - default: '', + default: {}, typeOptions: { multipleValues: false, }, @@ -969,7 +963,7 @@ export const orderFields: INodeProperties[] = [ name: 'couponLinesUi', placeholder: 'Add Coupon Line', type: 'fixedCollection', - default: '', + default: {}, typeOptions: { multipleValues: true, }, @@ -1001,7 +995,7 @@ export const orderFields: INodeProperties[] = [ name: 'metadataUi', placeholder: 'Add Metadata', type: 'fixedCollection', - default: '', + default: {}, typeOptions: { multipleValues: true, }, @@ -1038,7 +1032,7 @@ export const orderFields: INodeProperties[] = [ name: 'feeLinesUi', placeholder: 'Add Fee Line', type: 'fixedCollection', - default: '', + default: {}, typeOptions: { multipleValues: true, }, @@ -1101,7 +1095,7 @@ export const orderFields: INodeProperties[] = [ name: 'metadataUi', placeholder: 'Add Metadata', type: 'fixedCollection', - default: '', + default: {}, typeOptions: { multipleValues: true, }, @@ -1138,7 +1132,7 @@ export const orderFields: INodeProperties[] = [ name: 'lineItemsUi', placeholder: 'Add Line Item', type: 'fixedCollection', - default: '', + default: {}, typeOptions: { multipleValues: true, }, @@ -1170,7 +1164,6 @@ export const orderFields: INodeProperties[] = [ name: 'productId', type: 'number', default: 0, - description: 'Product ID.', }, { displayName: 'Variation ID', @@ -1212,7 +1205,7 @@ export const orderFields: INodeProperties[] = [ name: 'metadataUi', placeholder: 'Add Metadata', type: 'fixedCollection', - default: '', + default: {}, typeOptions: { multipleValues: true, }, @@ -1249,7 +1242,7 @@ export const orderFields: INodeProperties[] = [ name: 'metadataUi', placeholder: 'Add Metadata', type: 'fixedCollection', - default: '', + default: {}, typeOptions: { multipleValues: true, }, @@ -1292,7 +1285,7 @@ export const orderFields: INodeProperties[] = [ name: 'shippingUi', placeholder: 'Add Shipping', type: 'fixedCollection', - default: '', + default: {}, typeOptions: { multipleValues: false, }, @@ -1370,7 +1363,7 @@ export const orderFields: INodeProperties[] = [ name: 'shippingLinesUi', placeholder: 'Add Shipping Line', type: 'fixedCollection', - default: '', + default: {}, typeOptions: { multipleValues: true, }, @@ -1416,7 +1409,7 @@ export const orderFields: INodeProperties[] = [ name: 'metadataUi', placeholder: 'Add Metadata', type: 'fixedCollection', - default: '', + default: {}, typeOptions: { multipleValues: true, }, @@ -1466,7 +1459,6 @@ export const orderFields: INodeProperties[] = [ }, }, default: '', - description: 'order ID.', }, /* -------------------------------------------------------------------------- */ /* order:getAll */ @@ -1686,6 +1678,5 @@ export const orderFields: INodeProperties[] = [ }, }, default: '', - description: 'order ID.', }, ]; diff --git a/packages/nodes-base/nodes/WooCommerce/ProductDescription.ts b/packages/nodes-base/nodes/WooCommerce/ProductDescription.ts index 9eb30f590..e7472f07e 100644 --- a/packages/nodes-base/nodes/WooCommerce/ProductDescription.ts +++ b/packages/nodes-base/nodes/WooCommerce/ProductDescription.ts @@ -135,7 +135,6 @@ export const productFields: INodeProperties[] = [ }, ], default: 'visible', - description: 'Catalog visibility.', }, { displayName: 'Categories', @@ -152,7 +151,7 @@ export const productFields: INodeProperties[] = [ name: 'crossSellIds', type: 'string', default: '', - description: 'List of cross-sell products IDs. Multiple can be added separated by ,', + description: 'List of cross-sell products IDs. Multiple can be added separated by ,.', }, { displayName: 'Date On Sale From', @@ -313,7 +312,6 @@ export const productFields: INodeProperties[] = [ name: 'stockQuantity', type: 'number', default: 1, - description: 'Stock quantity.', }, { displayName: 'Stock Status', @@ -351,7 +349,6 @@ export const productFields: INodeProperties[] = [ name: 'taxClass', type: 'string', default: '', - description: 'Tax class.', }, { displayName: 'Tax Status', @@ -372,7 +369,6 @@ export const productFields: INodeProperties[] = [ }, ], default: 'taxable', - description: 'Tax status.', }, { displayName: 'Type', @@ -404,7 +400,7 @@ export const productFields: INodeProperties[] = [ name: 'upsellIds', type: 'string', default: '', - description: 'List of up-sell products IDs. Multiple can be added separated by ,', + description: 'List of up-sell products IDs. Multiple can be added separated by ,.', }, { displayName: 'Virtual', @@ -427,7 +423,7 @@ export const productFields: INodeProperties[] = [ name: 'dimensionsUi', placeholder: 'Add Dimension', type: 'fixedCollection', - default: '', + default: {}, typeOptions: { multipleValues: false, }, @@ -477,7 +473,7 @@ export const productFields: INodeProperties[] = [ name: 'imagesUi', placeholder: 'Add Image', type: 'fixedCollection', - default: '', + default: {}, typeOptions: { multipleValues: true, }, @@ -527,7 +523,7 @@ export const productFields: INodeProperties[] = [ name: 'metadataUi', placeholder: 'Add Metadata', type: 'fixedCollection', - default: '', + default: {}, typeOptions: { multipleValues: true, }, @@ -583,7 +579,6 @@ export const productFields: INodeProperties[] = [ }, }, default: '', - description: 'Product ID.', }, { displayName: 'Update Fields', @@ -653,7 +648,6 @@ export const productFields: INodeProperties[] = [ }, ], default: 'visible', - description: 'Catalog visibility.', }, { displayName: 'Categories', @@ -670,7 +664,7 @@ export const productFields: INodeProperties[] = [ name: 'crossSellIds', type: 'string', default: '', - description: 'List of cross-sell products IDs. Multiple can be added separated by ,', + description: 'List of cross-sell products IDs. Multiple can be added separated by ,.', }, { displayName: 'Date On Sale From', @@ -838,7 +832,6 @@ export const productFields: INodeProperties[] = [ name: 'stockQuantity', type: 'number', default: 1, - description: 'Stock quantity.', }, { displayName: 'Stock Status', @@ -876,7 +869,6 @@ export const productFields: INodeProperties[] = [ name: 'taxClass', type: 'string', default: '', - description: 'Tax class.', }, { displayName: 'Tax Status', @@ -897,7 +889,6 @@ export const productFields: INodeProperties[] = [ }, ], default: 'taxable', - description: 'Tax status.', }, { displayName: 'Type', @@ -929,7 +920,7 @@ export const productFields: INodeProperties[] = [ name: 'upsellIds', type: 'string', default: '', - description: 'List of up-sell products IDs. Multiple can be added separated by ,', + description: 'List of up-sell products IDs. Multiple can be added separated by ,.', }, { displayName: 'Virtual', @@ -952,7 +943,7 @@ export const productFields: INodeProperties[] = [ name: 'dimensionsUi', placeholder: 'Add Dimension', type: 'fixedCollection', - default: '', + default: {}, typeOptions: { multipleValues: false, }, @@ -1002,7 +993,7 @@ export const productFields: INodeProperties[] = [ name: 'imagesUi', placeholder: 'Add Image', type: 'fixedCollection', - default: '', + default: {}, typeOptions: { multipleValues: true, }, @@ -1052,7 +1043,7 @@ export const productFields: INodeProperties[] = [ name: 'metadataUi', placeholder: 'Add Metadata', type: 'fixedCollection', - default: '', + default: {}, typeOptions: { multipleValues: true, }, @@ -1108,7 +1099,6 @@ export const productFields: INodeProperties[] = [ }, }, default: '', - description: 'Product ID.', }, /* -------------------------------------------------------------------------- */ /* product:getAll */ @@ -1430,6 +1420,5 @@ export const productFields: INodeProperties[] = [ }, }, default: '', - description: 'Product ID.', }, ]; diff --git a/packages/nodes-base/nodes/WooCommerce/WooCommerce.node.ts b/packages/nodes-base/nodes/WooCommerce/WooCommerce.node.ts index 2f345ec5e..abe6a7074 100644 --- a/packages/nodes-base/nodes/WooCommerce/WooCommerce.node.ts +++ b/packages/nodes-base/nodes/WooCommerce/WooCommerce.node.ts @@ -133,7 +133,7 @@ export class WooCommerce implements INodeType { async execute(this: IExecuteFunctions): Promise { const items = this.getInputData(); const returnData: IDataObject[] = []; - const length = items.length as unknown as number; + const length = items.length; let responseData; const qs: IDataObject = {}; const resource = this.getNodeParameter('resource', 0) as string; diff --git a/packages/nodes-base/nodes/Wordpress/Wordpress.node.ts b/packages/nodes-base/nodes/Wordpress/Wordpress.node.ts index 32c4166fe..a3f72a838 100644 --- a/packages/nodes-base/nodes/Wordpress/Wordpress.node.ts +++ b/packages/nodes-base/nodes/Wordpress/Wordpress.node.ts @@ -57,12 +57,10 @@ export class Wordpress implements INodeType { { name: 'Post', value: 'post', - description: '', }, { name: 'User', value: 'user', - description: '', }, ], default: 'post', @@ -131,7 +129,7 @@ export class Wordpress implements INodeType { async execute(this: IExecuteFunctions): Promise { const items = this.getInputData(); const returnData: IDataObject[] = []; - const length = items.length as unknown as number; + const length = items.length; let responseData; const qs: IDataObject = {}; const resource = this.getNodeParameter('resource', 0) as string; diff --git a/packages/nodes-base/nodes/Workable/WorkableTrigger.node.ts b/packages/nodes-base/nodes/Workable/WorkableTrigger.node.ts index eee3c936d..40f1bdc37 100644 --- a/packages/nodes-base/nodes/Workable/WorkableTrigger.node.ts +++ b/packages/nodes-base/nodes/Workable/WorkableTrigger.node.ts @@ -91,7 +91,7 @@ export class WorkableTrigger implements INodeType { loadOptionsMethod: 'getStages', }, default: '', - description: `Get notifications for specific stages. e.g. 'hired'`, + description: 'Get notifications for specific stages. e.g. \'hired\'.', }, ], }, diff --git a/packages/nodes-base/nodes/WriteBinaryFile/WriteBinaryFile.node.ts b/packages/nodes-base/nodes/WriteBinaryFile/WriteBinaryFile.node.ts index 923f01c11..1741993f2 100644 --- a/packages/nodes-base/nodes/WriteBinaryFile/WriteBinaryFile.node.ts +++ b/packages/nodes-base/nodes/WriteBinaryFile/WriteBinaryFile.node.ts @@ -55,7 +55,7 @@ export class WriteBinaryFile implements INodeType { const items = this.getInputData(); const returnData: INodeExecutionData[] = []; - const length = items.length as unknown as number; + const length = items.length; let item: INodeExecutionData; for (let itemIndex = 0; itemIndex < length; itemIndex++) { diff --git a/packages/nodes-base/nodes/Xero/ContactDescription.ts b/packages/nodes-base/nodes/Xero/ContactDescription.ts index 3599965b9..99f51f8d6 100644 --- a/packages/nodes-base/nodes/Xero/ContactDescription.ts +++ b/packages/nodes-base/nodes/Xero/ContactDescription.ts @@ -115,7 +115,7 @@ export const contactFields: INodeProperties[] = [ typeOptions: { multipleValues: true, }, - default: '', + default: {}, placeholder: 'Add Address', options: [ { @@ -257,7 +257,7 @@ export const contactFields: INodeProperties[] = [ typeOptions: { multipleValues: true, }, - default: '', + default: {}, placeholder: 'Add Phone', options: [ { @@ -504,7 +504,6 @@ export const contactFields: INodeProperties[] = [ }, ], default: '', - description: 'Sort order', }, { displayName: 'Where', @@ -515,7 +514,7 @@ export const contactFields: INodeProperties[] = [ }, placeholder: 'EmailAddress!=null&&EmailAddress.StartsWith("boom")', default: '', - description: `The where parameter allows you to filter on endpoints and elements that don't have explicit parameters. Examples Here`, + description: 'The where parameter allows you to filter on endpoints and elements that don\'t have explicit parameters. Examples Here.', }, ], }, @@ -590,7 +589,7 @@ export const contactFields: INodeProperties[] = [ typeOptions: { multipleValues: true, }, - default: '', + default: {}, placeholder: 'Add Address', options: [ { @@ -739,7 +738,7 @@ export const contactFields: INodeProperties[] = [ typeOptions: { multipleValues: true, }, - default: '', + default: {}, placeholder: 'Add Phone', options: [ { diff --git a/packages/nodes-base/nodes/Xero/InvoiceDescription.ts b/packages/nodes-base/nodes/Xero/InvoiceDescription.ts index 1d73c5f3e..7e54ef920 100644 --- a/packages/nodes-base/nodes/Xero/InvoiceDescription.ts +++ b/packages/nodes-base/nodes/Xero/InvoiceDescription.ts @@ -112,14 +112,13 @@ export const invoiceFields: INodeProperties[] = [ }, }, required: true, - description: 'Contact ID', }, { displayName: 'Line Items', name: 'lineItemsUi', placeholder: 'Add Line Item', type: 'fixedCollection', - default: '', + default: {}, typeOptions: { multipleValues: true, }, @@ -211,7 +210,6 @@ export const invoiceFields: INodeProperties[] = [ ], default: '', required: true, - description: 'Tax Type', }, { displayName: 'Tax Amount', @@ -232,7 +230,7 @@ export const invoiceFields: INodeProperties[] = [ name: 'discountRate', type: 'string', default: '', - description: 'Percentage discount or discount amount being applied to a line item. Only supported on ACCREC invoices - ACCPAY invoices and credit notes in Xero do not support discounts', + description: 'Percentage discount or discount amount being applied to a line item. Only supported on ACCREC invoices - ACCPAY invoices and credit notes in Xero do not support discounts.', }, // { // displayName: 'Tracking', @@ -336,7 +334,7 @@ export const invoiceFields: INodeProperties[] = [ name: 'date', type: 'dateTime', default: '', - description: 'Date invoice was issued - YYYY-MM-DD. If the Date element is not specified it will default to the current date based on the timezone setting of the organisation', + description: 'Date invoice was issued - YYYY-MM-DD. If the Date element is not specified it will default to the current date based on the timezone setting of the organisation.', }, { displayName: 'Due Date', @@ -400,7 +398,7 @@ export const invoiceFields: INodeProperties[] = [ name: 'sendToContact', type: 'boolean', default: false, - description: 'Whether the invoice in the Xero app should be marked as "sent". This can be set only on invoices that have been approved', + description: 'Whether the invoice in the Xero app should be marked as "sent". This can be set only on invoices that have been approved.', }, { displayName: 'Status', @@ -470,7 +468,6 @@ export const invoiceFields: INodeProperties[] = [ ], }, }, - description: 'Invoice ID', }, { displayName: 'Update Fields', @@ -506,7 +503,6 @@ export const invoiceFields: INodeProperties[] = [ name: 'contactId', type: 'string', default: '', - description: 'Contact ID', }, { displayName: 'Currency', @@ -532,7 +528,7 @@ export const invoiceFields: INodeProperties[] = [ name: 'date', type: 'dateTime', default: '', - description: 'Date invoice was issued - YYYY-MM-DD. If the Date element is not specified it will default to the current date based on the timezone setting of the organisation', + description: 'Date invoice was issued - YYYY-MM-DD. If the Date element is not specified it will default to the current date based on the timezone setting of the organisation.', }, { displayName: 'Due Date', @@ -582,7 +578,7 @@ export const invoiceFields: INodeProperties[] = [ name: 'lineItemsUi', placeholder: 'Add Line Item', type: 'fixedCollection', - default: '', + default: {}, typeOptions: { multipleValues: true, }, @@ -671,7 +667,6 @@ export const invoiceFields: INodeProperties[] = [ ], default: '', required: true, - description: 'Tax Type', }, { displayName: 'Tax Amount', @@ -692,7 +687,7 @@ export const invoiceFields: INodeProperties[] = [ name: 'discountRate', type: 'string', default: '', - description: 'Percentage discount or discount amount being applied to a line item. Only supported on ACCREC invoices - ACCPAY invoices and credit notes in Xero do not support discounts', + description: 'Percentage discount or discount amount being applied to a line item. Only supported on ACCREC invoices - ACCPAY invoices and credit notes in Xero do not support discounts.', }, // { // displayName: 'Tracking', @@ -762,7 +757,7 @@ export const invoiceFields: INodeProperties[] = [ name: 'sendToContact', type: 'boolean', default: false, - description: 'Whether the invoice in the Xero app should be marked as "sent". This can be set only on invoices that have been approved', + description: 'Whether the invoice in the Xero app should be marked as "sent". This can be set only on invoices that have been approved.', }, { displayName: 'Status', @@ -832,7 +827,6 @@ export const invoiceFields: INodeProperties[] = [ ], }, }, - description: 'Invoice ID', }, /* -------------------------------------------------------------------------- */ /* invoice:getAll */ @@ -945,7 +939,6 @@ export const invoiceFields: INodeProperties[] = [ }, ], default: '', - description: 'Sort order', }, { displayName: 'Statuses', @@ -976,7 +969,7 @@ export const invoiceFields: INodeProperties[] = [ }, placeholder: 'EmailAddress!=null&&EmailAddress.StartsWith("boom")', default: '', - description: `The where parameter allows you to filter on endpoints and elements that don't have explicit parameters. Examples Here`, + description: 'The where parameter allows you to filter on endpoints and elements that don\'t have explicit parameters. Examples Here.', }, ], }, diff --git a/packages/nodes-base/nodes/Xero/Xero.node.ts b/packages/nodes-base/nodes/Xero/Xero.node.ts index a73670098..3b937974c 100644 --- a/packages/nodes-base/nodes/Xero/Xero.node.ts +++ b/packages/nodes-base/nodes/Xero/Xero.node.ts @@ -206,7 +206,7 @@ export class Xero implements INodeType { async execute(this: IExecuteFunctions): Promise { const items = this.getInputData(); const returnData: IDataObject[] = []; - const length = items.length as unknown as number; + const length = items.length; const qs: IDataObject = {}; let responseData; for (let i = 0; i < length; i++) { diff --git a/packages/nodes-base/nodes/Yourls/Yourls.node.ts b/packages/nodes-base/nodes/Yourls/Yourls.node.ts index 8ffb1ec58..fb7c6cd81 100644 --- a/packages/nodes-base/nodes/Yourls/Yourls.node.ts +++ b/packages/nodes-base/nodes/Yourls/Yourls.node.ts @@ -60,7 +60,7 @@ export class Yourls implements INodeType { async execute(this: IExecuteFunctions): Promise { const items = this.getInputData(); const returnData: IDataObject[] = []; - const length = (items.length as unknown) as number; + const length = items.length; const qs: IDataObject = {}; let responseData; const resource = this.getNodeParameter('resource', 0) as string; diff --git a/packages/nodes-base/nodes/Zammad/descriptions/GroupDescription.ts b/packages/nodes-base/nodes/Zammad/descriptions/GroupDescription.ts index 26db09a35..dbc5339fa 100644 --- a/packages/nodes-base/nodes/Zammad/descriptions/GroupDescription.ts +++ b/packages/nodes-base/nodes/Zammad/descriptions/GroupDescription.ts @@ -150,7 +150,7 @@ export const groupDescription: INodeProperties[] = [ displayName: 'Custom Fields', name: 'customFieldsUi', type: 'fixedCollection', - default: '', + default: {}, placeholder: 'Add Custom Field', typeOptions: { multipleValues: true, @@ -219,7 +219,7 @@ export const groupDescription: INodeProperties[] = [ displayName: 'Custom Fields', name: 'customFieldsUi', type: 'fixedCollection', - default: '', + default: {}, placeholder: 'Add Custom Field', typeOptions: { multipleValues: true, diff --git a/packages/nodes-base/nodes/Zammad/descriptions/OrganizationDescription.ts b/packages/nodes-base/nodes/Zammad/descriptions/OrganizationDescription.ts index e0ca4e944..b069ebec8 100644 --- a/packages/nodes-base/nodes/Zammad/descriptions/OrganizationDescription.ts +++ b/packages/nodes-base/nodes/Zammad/descriptions/OrganizationDescription.ts @@ -149,7 +149,7 @@ export const organizationDescription: INodeProperties[] = [ displayName: 'Custom Fields', name: 'customFieldsUi', type: 'fixedCollection', - default: '', + default: {}, placeholder: 'Add Custom Field', typeOptions: { multipleValues: true, @@ -218,7 +218,7 @@ export const organizationDescription: INodeProperties[] = [ displayName: 'Custom Fields', name: 'customFieldsUi', type: 'fixedCollection', - default: '', + default: {}, placeholder: 'Add Custom Field', typeOptions: { multipleValues: true, diff --git a/packages/nodes-base/nodes/Zammad/descriptions/TicketDescription.ts b/packages/nodes-base/nodes/Zammad/descriptions/TicketDescription.ts index 2a6a9a978..b70a54a94 100644 --- a/packages/nodes-base/nodes/Zammad/descriptions/TicketDescription.ts +++ b/packages/nodes-base/nodes/Zammad/descriptions/TicketDescription.ts @@ -257,7 +257,7 @@ export const ticketDescription: INodeProperties[] = [ displayName: 'Custom Fields', name: 'customFieldsUi', type: 'fixedCollection', - default: '', + default: {}, placeholder: 'Add Custom Field', typeOptions: { multipleValues: true, diff --git a/packages/nodes-base/nodes/Zammad/descriptions/UserDescription.ts b/packages/nodes-base/nodes/Zammad/descriptions/UserDescription.ts index 7d876e2ab..55b20a1ed 100644 --- a/packages/nodes-base/nodes/Zammad/descriptions/UserDescription.ts +++ b/packages/nodes-base/nodes/Zammad/descriptions/UserDescription.ts @@ -216,7 +216,7 @@ export const userDescription: INodeProperties[] = [ displayName: 'Custom Fields', name: 'customFieldsUi', type: 'fixedCollection', - default: '', + default: {}, placeholder: 'Add Custom Field', typeOptions: { multipleValues: true, @@ -393,7 +393,7 @@ export const userDescription: INodeProperties[] = [ displayName: 'Custom Fields', name: 'customFieldsUi', type: 'fixedCollection', - default: '', + default: {}, placeholder: 'Add Custom Field', typeOptions: { multipleValues: true, diff --git a/packages/nodes-base/nodes/Zendesk/OrganizationDescription.ts b/packages/nodes-base/nodes/Zendesk/OrganizationDescription.ts index df0a2ee87..98b66c5a8 100644 --- a/packages/nodes-base/nodes/Zendesk/OrganizationDescription.ts +++ b/packages/nodes-base/nodes/Zendesk/OrganizationDescription.ts @@ -289,7 +289,6 @@ export const organizationFields: INodeProperties[] = [ ], }, }, - description: 'Organization ID', }, /* -------------------------------------------------------------------------- */ /* organization:getAll */ diff --git a/packages/nodes-base/nodes/Zendesk/TicketDescription.ts b/packages/nodes-base/nodes/Zendesk/TicketDescription.ts index 851dca37d..73b81a16d 100644 --- a/packages/nodes-base/nodes/Zendesk/TicketDescription.ts +++ b/packages/nodes-base/nodes/Zendesk/TicketDescription.ts @@ -82,7 +82,6 @@ export const ticketFields: INodeProperties[] = [ name: 'jsonParameters', type: 'boolean', default: false, - description: '', displayOptions: { show: { resource: [ @@ -293,14 +292,12 @@ export const ticketFields: INodeProperties[] = [ ], }, }, - description: 'Ticket ID', }, { displayName: 'JSON Parameters', name: 'jsonParameters', type: 'boolean', default: false, - description: '', displayOptions: { show: { resource: [ @@ -563,7 +560,6 @@ export const ticketFields: INodeProperties[] = [ ], }, }, - description: 'Ticket ID', }, { displayName: 'Suspended Ticket ID', @@ -722,7 +718,6 @@ export const ticketFields: INodeProperties[] = [ }, ], default: 'asc', - description: 'Sort order', }, { displayName: 'Status', @@ -789,7 +784,6 @@ export const ticketFields: INodeProperties[] = [ ], }, }, - description: 'Ticket ID', }, { displayName: 'Suspended Ticket ID', diff --git a/packages/nodes-base/nodes/Zendesk/UserDescription.ts b/packages/nodes-base/nodes/Zendesk/UserDescription.ts index 3c55fe213..48f311a71 100644 --- a/packages/nodes-base/nodes/Zendesk/UserDescription.ts +++ b/packages/nodes-base/nodes/Zendesk/UserDescription.ts @@ -174,7 +174,7 @@ export const userFields: INodeProperties[] = [ }, type: 'options', default: '', - description: `The id of the user's organization. If the user has more than one organization memberships, the id of the user's default organization`, + description: 'The id of the user\'s organization. If the user has more than one organization memberships, the id of the user\'s default organization.', }, { displayName: 'Phone', @@ -223,14 +223,14 @@ export const userFields: INodeProperties[] = [ name: 'signature', type: 'string', default: '', - description: `The user's signature. Only agents and admins can have signatures`, + description: 'The user\'s signature. Only agents and admins can have signatures.', }, { displayName: 'Suspended', name: 'suspended', type: 'boolean', default: false, - description: `If the agent is suspended. Tickets from suspended users are also suspended, and these users cannot sign in to the end user portal`, + description: 'If the agent is suspended. Tickets from suspended users are also suspended, and these users cannot sign in to the end user portal.', }, { displayName: 'Tags', @@ -338,7 +338,6 @@ export const userFields: INodeProperties[] = [ ], }, }, - description: 'User ID', }, { displayName: 'Update Fields', @@ -438,7 +437,7 @@ export const userFields: INodeProperties[] = [ }, type: 'options', default: '', - description: `The id of the user's organization. If the user has more than one organization memberships, the id of the user's default organization`, + description: 'The id of the user\'s organization. If the user has more than one organization memberships, the id of the user\'s default organization.', }, { displayName: 'Phone', @@ -487,14 +486,14 @@ export const userFields: INodeProperties[] = [ name: 'signature', type: 'string', default: '', - description: `The user's signature. Only agents and admins can have signatures`, + description: 'The user\'s signature. Only agents and admins can have signatures.', }, { displayName: 'Suspended', name: 'suspended', type: 'boolean', default: false, - description: `If the agent is suspended. Tickets from suspended users are also suspended, and these users cannot sign in to the end user portal`, + description: 'If the agent is suspended. Tickets from suspended users are also suspended, and these users cannot sign in to the end user portal.', }, { displayName: 'Tags', @@ -602,7 +601,6 @@ export const userFields: INodeProperties[] = [ ], }, }, - description: 'User ID', }, /* -------------------------------------------------------------------------- */ /* user:getAll */ @@ -781,7 +779,6 @@ export const userFields: INodeProperties[] = [ ], }, }, - description: 'User ID', }, /* -------------------------------------------------------------------------- */ /* user:getRelatedData */ diff --git a/packages/nodes-base/nodes/Zendesk/Zendesk.node.ts b/packages/nodes-base/nodes/Zendesk/Zendesk.node.ts index 11bd7637f..5199fcd73 100644 --- a/packages/nodes-base/nodes/Zendesk/Zendesk.node.ts +++ b/packages/nodes-base/nodes/Zendesk/Zendesk.node.ts @@ -268,7 +268,7 @@ export class Zendesk implements INodeType { async execute(this: IExecuteFunctions): Promise { const items = this.getInputData(); const returnData: IDataObject[] = []; - const length = items.length as unknown as number; + const length = items.length; const qs: IDataObject = {}; let responseData; for (let i = 0; i < length; i++) { diff --git a/packages/nodes-base/nodes/Zendesk/ZendeskTrigger.node.ts b/packages/nodes-base/nodes/Zendesk/ZendeskTrigger.node.ts index 62d161940..40a24f266 100644 --- a/packages/nodes-base/nodes/Zendesk/ZendeskTrigger.node.ts +++ b/packages/nodes-base/nodes/Zendesk/ZendeskTrigger.node.ts @@ -104,7 +104,6 @@ export class ZendeskTrigger implements INodeType { }, ], default: 'support', - description: '', }, { displayName: 'Options', diff --git a/packages/nodes-base/nodes/Zoom/MeetingDescription.ts b/packages/nodes-base/nodes/Zoom/MeetingDescription.ts index fcc6528b7..90bf22166 100644 --- a/packages/nodes-base/nodes/Zoom/MeetingDescription.ts +++ b/packages/nodes-base/nodes/Zoom/MeetingDescription.ts @@ -178,21 +178,18 @@ export const meetingFields: INodeProperties[] = [ }, ], default: 'none', - description: 'Auto recording.', }, { displayName: 'Host Meeting in China', name: 'cnMeeting', type: 'boolean', default: false, - description: 'Host Meeting in China.', }, { displayName: 'Host Meeting in India', name: 'inMeeting', type: 'boolean', default: false, - description: 'Host Meeting in India.', }, { displayName: 'Host Video', @@ -241,7 +238,7 @@ export const meetingFields: INodeProperties[] = [ }, ], default: 1, - description: 'Registration type. Used for recurring meetings with fixed time only', + description: 'Registration type. Used for recurring meetings with fixed time only.', }, { displayName: 'Watermark', @@ -347,7 +344,7 @@ export const meetingFields: INodeProperties[] = [ displayName: 'Show Previous Occurrences', name: 'showPreviousOccurrences', type: 'boolean', - default: '', + default: false, description: 'To view meeting details of all previous occurrences of the recurring meeting.', }, ], @@ -622,21 +619,18 @@ export const meetingFields: INodeProperties[] = [ }, ], default: 'none', - description: 'Auto recording.', }, { displayName: 'Host Meeting in China', name: 'cnMeeting', type: 'boolean', default: false, - description: 'Host Meeting in China.', }, { displayName: 'Host Meeting in India', name: 'inMeeting', type: 'boolean', default: false, - description: 'Host Meeting in India.', }, { displayName: 'Host Video', @@ -685,7 +679,7 @@ export const meetingFields: INodeProperties[] = [ }, ], default: 1, - description: 'Registration type. Used for recurring meetings with fixed time only', + description: 'Registration type. Used for recurring meetings with fixed time only.', }, { displayName: 'Watermark', diff --git a/packages/nodes-base/nodes/Zoom/MeetingRegistrantDescription.ts b/packages/nodes-base/nodes/Zoom/MeetingRegistrantDescription.ts index 3f889a41e..2f92f83a6 100644 --- a/packages/nodes-base/nodes/Zoom/MeetingRegistrantDescription.ts +++ b/packages/nodes-base/nodes/Zoom/MeetingRegistrantDescription.ts @@ -57,7 +57,6 @@ export const meetingRegistrantFields: INodeProperties[] = [ ], }, }, - description: 'Meeting ID.', }, { displayName: 'Email', @@ -93,7 +92,6 @@ export const meetingRegistrantFields: INodeProperties[] = [ ], }, }, - description: 'First Name.', }, { displayName: 'Additional Fields', @@ -153,7 +151,6 @@ export const meetingRegistrantFields: INodeProperties[] = [ name: 'lastName', type: 'string', default: '', - description: 'Last Name.', }, { displayName: 'Occurrence IDs', @@ -229,7 +226,6 @@ export const meetingRegistrantFields: INodeProperties[] = [ ], default: '', - description: 'Role in purchase process.', }, { displayName: 'State', @@ -267,7 +263,6 @@ export const meetingRegistrantFields: INodeProperties[] = [ ], }, }, - description: 'Meeting ID.', }, { displayName: 'Return All', @@ -333,7 +328,6 @@ export const meetingRegistrantFields: INodeProperties[] = [ name: 'occurrenceId', type: 'string', default: '', - description: `Occurrence ID.`, }, { displayName: 'Status', @@ -378,7 +372,6 @@ export const meetingRegistrantFields: INodeProperties[] = [ ], }, }, - description: 'Meeting ID.', }, { displayName: 'Action', @@ -434,7 +427,6 @@ export const meetingRegistrantFields: INodeProperties[] = [ name: 'occurrenceId', type: 'string', default: '', - description: 'Occurrence ID.', }, ], diff --git a/packages/nodes-base/nodes/Zoom/WebinarDescription.ts b/packages/nodes-base/nodes/Zoom/WebinarDescription.ts index 5e1213b01..551577ee0 100644 --- a/packages/nodes-base/nodes/Zoom/WebinarDescription.ts +++ b/packages/nodes-base/nodes/Zoom/WebinarDescription.ts @@ -119,7 +119,6 @@ export const webinarFields: INodeProperties[] = [ }, ], default: 2, - description: 'Approval type.', }, { displayName: 'Audio', @@ -162,14 +161,12 @@ export const webinarFields: INodeProperties[] = [ }, ], default: 'none', - description: 'Auto recording.', }, { displayName: 'Duration', name: 'duration', type: 'string', default: '', - description: 'Duration.', }, { displayName: 'Host Video', @@ -218,7 +215,7 @@ export const webinarFields: INodeProperties[] = [ }, ], default: 1, - description: 'Registration type. Used for recurring webinar with fixed time only', + description: 'Registration type. Used for recurring webinar with fixed time only.', }, { displayName: 'Start Time', @@ -242,7 +239,6 @@ export const webinarFields: INodeProperties[] = [ name: 'topic', type: 'string', default: '', - description: `Webinar topic.`, }, { displayName: 'Webinar Type', @@ -263,7 +259,6 @@ export const webinarFields: INodeProperties[] = [ }, ], default: 5, - description: 'Webinar type.', }, ], @@ -287,7 +282,6 @@ export const webinarFields: INodeProperties[] = [ ], }, }, - description: 'Webinar ID.', }, { displayName: 'Additional Fields', @@ -318,7 +312,7 @@ export const webinarFields: INodeProperties[] = [ displayName: 'Show Previous Occurrences', name: 'showPreviousOccurrences', type: 'boolean', - default: '', + default: false, description: 'To view webinar details of all previous occurrences of the recurring webinar.', }, ], @@ -404,7 +398,6 @@ export const webinarFields: INodeProperties[] = [ ], }, }, - description: 'Webinar ID.', }, { displayName: 'Additional Fields', @@ -506,7 +499,6 @@ export const webinarFields: INodeProperties[] = [ }, ], default: 2, - description: 'Approval type.', }, { displayName: 'Auto Recording', @@ -527,7 +519,6 @@ export const webinarFields: INodeProperties[] = [ }, ], default: 'none', - description: 'Auto recording.', }, { displayName: 'Audio', @@ -556,7 +547,6 @@ export const webinarFields: INodeProperties[] = [ name: 'duration', type: 'string', default: '', - description: 'Duration.', }, { displayName: 'Host Video', @@ -636,7 +626,6 @@ export const webinarFields: INodeProperties[] = [ name: 'topic', type: 'string', default: '', - description: `Webinar topic.`, }, { displayName: 'Webinar Type', @@ -657,7 +646,6 @@ export const webinarFields: INodeProperties[] = [ }, ], default: 5, - description: 'Webinar type.', }, ], }, diff --git a/packages/nodes-base/nodes/Zulip/MessageDescription.ts b/packages/nodes-base/nodes/Zulip/MessageDescription.ts index 9c23bcdd2..871918914 100644 --- a/packages/nodes-base/nodes/Zulip/MessageDescription.ts +++ b/packages/nodes-base/nodes/Zulip/MessageDescription.ts @@ -62,7 +62,7 @@ export const messageFields: INodeProperties[] = [ loadOptionsMethod: 'getUsers', }, required: true, - default: '', + default: [], displayOptions: { show: { resource: [ @@ -73,7 +73,7 @@ export const messageFields: INodeProperties[] = [ ], }, }, - description: 'The destination stream, or a comma separated list containing the usernames (emails) of the recipients.', + description: 'The destination stream, or a comma-separated list containing the usernames (emails) of the recipients.', }, { displayName: 'Content', @@ -118,7 +118,7 @@ export const messageFields: INodeProperties[] = [ ], }, }, - description: 'The destination stream, or a comma separated list containing the usernames (emails) of the recipients.', + description: 'The destination stream, or a comma-separated list containing the usernames (emails) of the recipients.', }, { displayName: 'Topic', @@ -239,7 +239,7 @@ export const messageFields: INodeProperties[] = [ name: 'topic', type: 'string', default: '', - description: 'The topic of the message. Only required for stream messages', + description: 'The topic of the message. Only required for stream messages.', }, ], }, diff --git a/packages/nodes-base/nodes/Zulip/StreamDescription.ts b/packages/nodes-base/nodes/Zulip/StreamDescription.ts index 3ea83a622..4464adb06 100644 --- a/packages/nodes-base/nodes/Zulip/StreamDescription.ts +++ b/packages/nodes-base/nodes/Zulip/StreamDescription.ts @@ -53,7 +53,6 @@ export const streamFields: INodeProperties[] = [ name: 'jsonParameters', type: 'boolean', default: false, - description: '', displayOptions: { show: { resource: [ @@ -351,7 +350,6 @@ export const streamFields: INodeProperties[] = [ name: 'jsonParameters', type: 'boolean', default: false, - description: '', displayOptions: { show: { resource: [ diff --git a/packages/nodes-base/nodes/Zulip/Zulip.node.ts b/packages/nodes-base/nodes/Zulip/Zulip.node.ts index cde0ac831..20142727f 100644 --- a/packages/nodes-base/nodes/Zulip/Zulip.node.ts +++ b/packages/nodes-base/nodes/Zulip/Zulip.node.ts @@ -147,7 +147,7 @@ export class Zulip implements INodeType { async execute(this: IExecuteFunctions): Promise { const items = this.getInputData(); const returnData: IDataObject[] = []; - const length = items.length as unknown as number; + const length = items.length; let responseData; const qs: IDataObject = {}; const resource = this.getNodeParameter('resource', 0) as string; diff --git a/packages/nodes-base/package.json b/packages/nodes-base/package.json index e03267bed..aceece0ab 100644 --- a/packages/nodes-base/package.json +++ b/packages/nodes-base/package.json @@ -20,7 +20,7 @@ "build:translations": "gulp build:translations", "format": "cd ../.. && node_modules/prettier/bin-prettier.js packages/nodes-base/**/**.ts --write", "lint": "tslint -p tsconfig.json -c tslint.json", - "lintfix": "tslint --fix -p tsconfig.json -c tslint.json", + "lintfix": "tslint --fix -p tsconfig.json -c tslint.json; cd ../.. && node_modules/eslint/bin/eslint.js packages/nodes-base/nodes --fix", "nodelinter": "nodelinter", "watch": "tsc --watch", "test": "jest" @@ -713,6 +713,7 @@ "@types/tmp": "^0.2.0", "@types/uuid": "^8.3.2", "@types/xml2js": "^0.4.3", + "eslint-plugin-n8n-nodes-base": "^1.0.28", "gulp": "^4.0.0", "jest": "^27.4.7", "n8n-workflow": "~0.96.0",