40 lines
889 B
YAML
40 lines
889 B
YAML
task_id: task_create_component_header
|
|
entity_id: component_header
|
|
generated_at: '2025-12-19T06:08:12.188015'
|
|
workflow_version: v001
|
|
target:
|
|
type: component
|
|
definition:
|
|
id: component_header
|
|
name: Header
|
|
props:
|
|
- name: user
|
|
type: User | null
|
|
required: false
|
|
default: null
|
|
description: Current user for displaying name/avatar
|
|
events: []
|
|
uses_apis: []
|
|
uses_components: []
|
|
internal_state: []
|
|
variants:
|
|
- default
|
|
related:
|
|
models: []
|
|
apis: []
|
|
components: []
|
|
dependencies:
|
|
entity_ids: []
|
|
definitions: []
|
|
files:
|
|
to_create:
|
|
- app/components/Header.tsx
|
|
reference: []
|
|
acceptance:
|
|
- criterion: Component renders without errors
|
|
verification: Import and render in test
|
|
- criterion: Props are typed correctly
|
|
verification: TypeScript compilation
|
|
- criterion: Events fire correctly
|
|
verification: Test event handlers
|