- Add Schema fluent API for defining complex data types - Add @BlueprintArray decorator for array properties with itemSchema - Support primitive types: float, int, string, boolean, vector2, vector3 - Support composite types: object, array, enum, ref - Add path-utils for nested property access - Update documentation with examples and usage guide
861 B
861 B
@esengine/blueprint
| @esengine/blueprint |
|---|
| minor |
feat(blueprint): add Schema type system and @BlueprintArray decorator
-
Add
Schemafluent API for defining complex data types:- Primitive types:
Schema.float(),Schema.int(),Schema.string(),Schema.boolean(),Schema.vector2(),Schema.vector3() - Composite types:
Schema.object(),Schema.array(),Schema.enum(),Schema.ref() - Support for constraints:
min,max,step,defaultValue,placeholder, etc.
- Primitive types:
-
Add
@BlueprintArraydecorator for array properties:itemSchema: Define schema for array items using Schema APIreorderable: Allow drag-and-drop reorderingexposeElementPorts: Create individual ports for each array elementportNameTemplate: Custom naming for element ports (e.g., "Waypoint {index1}")
-
Update documentation with examples and usage guide