-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Milestone
Description
Deliverable: Event schemas extracted from code and displayed in Eclair
Context
The Riviere schema supports eventSchema on Event components, and Eclair displays it. However:
- The CLI has no way to add eventSchema when adding Event components
- The extraction workflow doesn't capture event schemas from TypeScript types
Delivers
- CLI supports adding eventSchema when creating Event components
- Extraction workflow captures event schemas from code
- Demo app extraction produces graphs with event schemas
Acceptance Criteria
- Given Event type, When add-component called with --event-schema, Then eventSchema is set
- Given TypeScript event type definition, When extraction runs, Then eventSchema captured
- Given Eclair, When viewing Event component, Then schema is displayed
Related Code
packages/riviere-cli/src/commands/builder/add-component.tspackages/riviere-schema/src/schema.ts:85
Migrated from Task Master #65
Metadata
Metadata
Assignees
Labels
No labels