new LineupService()
Service for managing lineups in a choreography.
- Source
Methods
create(startCount, endCount, choreoId) → {Promise.<Object>}
Create a new lineup.
Parameters:
| Name | Type | Description |
|---|---|---|
startCount | number | Start count for the lineup |
endCount | number | End count for the lineup |
choreoId | string | Choreography ID |
- Source
Returns:
Created lineup
- Type:
- Promise.<Object>
remove(id) → {Promise.<Object>}
Remove a lineup by its ID.
Parameters:
| Name | Type | Description |
|---|---|---|
id | string | Lineup ID |
- Source
Returns:
Response data
- Type:
- Promise.<Object>
update(id, data) → {Promise.<Object>}
Update a lineup by its ID.
Parameters:
| Name | Type | Description |
|---|---|---|
id | string | Lineup ID |
data | Object | Data to update |
- Source
Returns:
Updated lineup
- Type:
- Promise.<Object>