Skip to content

Releases: DappyKit/web4-apps-specification

1.0.2

03 Mar 14:59

Choose a tag to compare

feat: refactor input validation to accept schema as an object and upd…

1.0.1

03 Mar 10:07

Choose a tag to compare

Input Data Validation System Release

Added a flexible schema validation system for validating user-provided input against JSON Schema definitions. The system:

  • Converts JSON Schema to Zod validation schemas
  • Provides type-safe runtime validation with detailed error messages
  • Supports string, number, boolean, array, and object validation with constraints
  • Includes 10 predefined schemas (Contact, Todo, Event, Recipe, etc.)
  • Features comprehensive test coverage

Use validateInputData(data, schemaPath) to validate data against schemas. This component is essential for creating applications from templates, ensuring all input meets required specifications before processing.

1.0.0

28 Feb 11:49

Choose a tag to compare

feat: init