April 10, 2025 - Generating schemas from TypeScript types and interfaces in application build process

Change Header


Change Type: Feature
Product area: Application enablement & solutions
Component: Web SDK
Deployed at: eu.latest.cumulocity.com

Technical details

Build artifact: ui-c8y (1021.56.0)
Internal ID: MTM-62204

Change Description


It is now possible to generate schemas from TypeScript types and interfaces in your project, which can then be imported during runtime. A custom webpack plugin makes this functionality possible by collecting all types imported with the c8y-schema-loader prefix during the application build process. The enhancement enables runtime validation capabilities, such as validating widget configurations (since TypeScript types are not retained in the built application). This supports upcoming advanced features such as dashboard export and import.