49 lines
1.1 KiB
YAML
49 lines
1.1 KiB
YAML
task_id: task_create_component_player_controls
|
|
entity_id: component_player_controls
|
|
generated_at: '2025-12-18T15:16:50.312220'
|
|
workflow_version: v001
|
|
target:
|
|
type: component
|
|
definition:
|
|
id: component_player_controls
|
|
name: PlayerControls
|
|
description: Play/pause/seek controls
|
|
props:
|
|
- name: isPlaying
|
|
type: boolean
|
|
required: true
|
|
- name: currentTime
|
|
type: number
|
|
required: true
|
|
- name: duration
|
|
type: number
|
|
required: true
|
|
events:
|
|
- name: onPlay
|
|
payload: null
|
|
- name: onPause
|
|
payload: null
|
|
- name: onSeek
|
|
payload:
|
|
time: number
|
|
uses_apis: []
|
|
uses_components: []
|
|
related:
|
|
models: []
|
|
apis: []
|
|
components: []
|
|
dependencies:
|
|
entity_ids: []
|
|
definitions: []
|
|
files:
|
|
to_create:
|
|
- app/components/PlayerControls.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
|