fix: update comments to reflect 23 NodePropertyTypes

- Updated test comment from '22 standard types' to '23 standard types'
- Updated header comment from n8n-workflow v1.120.3 to v2.4.2

Conceived by Romuald Członkowski - https://www.aiadvisors.pl/en

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
czlonkowski
2026-01-21 10:59:14 +01:00
parent dac144e1d4
commit 9aecfcd971
3 changed files with 2 additions and 2 deletions

Binary file not shown.

View File

@@ -5,7 +5,7 @@
* These structures define the expected data format, JavaScript type, * These structures define the expected data format, JavaScript type,
* validation rules, and examples for each property type. * validation rules, and examples for each property type.
* *
* Based on n8n-workflow v1.120.3 NodePropertyTypes * Based on n8n-workflow v2.4.2 NodePropertyTypes
* *
* @module constants/type-structures * @module constants/type-structures
* @since 2.23.0 * @since 2.23.0

View File

@@ -48,7 +48,7 @@ describe('TYPE_STRUCTURES', () => {
} }
}); });
it('should not have extra types beyond the 22 standard types', () => { it('should not have extra types beyond the 23 standard types', () => {
const definedTypes = Object.keys(TYPE_STRUCTURES); const definedTypes = Object.keys(TYPE_STRUCTURES);
const extraTypes = definedTypes.filter((type) => !ALL_PROPERTY_TYPES.includes(type as NodePropertyTypes)); const extraTypes = definedTypes.filter((type) => !ALL_PROPERTY_TYPES.includes(type as NodePropertyTypes));