Commit Graph

2 Commits

Author SHA1 Message Date
hyper 23ee60bc20 feat: support named members in tuples
- Add NamedSchema interface with optional name property
- Update TupleSchema.elements to use NamedSchema[]
- Add parseNamedSchema() to support [x: number; y: number] syntax
- Update validator to parse named members in tuple values
- Fix schemaToTypeString in csv-loader for NamedSchema
- Fix createValidator to handle NamedSchema.schema
- Ensure single named element stays as tuple (not array)

Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
2026-03-31 16:36:32 +08:00
hypercross 4296c2bdcd init: inline-schema thing 2026-03-31 12:17:46 +08:00