45 lines
1.0 KiB
YAML
45 lines
1.0 KiB
YAML
task_id: task_create_component_waveform_display
|
|
entity_id: component_waveform_display
|
|
generated_at: '2025-12-18T15:16:50.316857'
|
|
workflow_version: v001
|
|
target:
|
|
type: component
|
|
definition:
|
|
id: component_waveform_display
|
|
name: WaveformDisplay
|
|
description: Audio waveform visualization
|
|
props:
|
|
- name: audioUrl
|
|
type: string
|
|
required: true
|
|
- name: waveformData
|
|
type: array[number]
|
|
required: false
|
|
- name: currentTime
|
|
type: number
|
|
required: false
|
|
events:
|
|
- name: onSeek
|
|
payload:
|
|
time: number
|
|
uses_apis: []
|
|
uses_components: []
|
|
related:
|
|
models: []
|
|
apis: []
|
|
components: []
|
|
dependencies:
|
|
entity_ids: []
|
|
definitions: []
|
|
files:
|
|
to_create:
|
|
- app/components/WaveformDisplay.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
|