LineupService
Source: LineupService.ts:3
Service for managing lineups in a choreography.
Constructor
new LineupService(): LineupServiceInstance Methods
create(
startCount: number,
endCount: number,
choreoId: string,
): Promise.<Object>
Create a new lineup.
Parameters
startCount(number) — Start count for the lineupendCount(number) — End count for the lineupchoreoId(string) — Choreography ID
Returns
Promise.<Object>— Created lineup
update(id: string, data: Object): Promise.<Object>
Update a lineup by its ID.
Parameters
id(string) — Lineup IDdata(Object) — Data to update
Returns
Promise.<Object>— Updated lineup
remove(id: string): Promise.<Object>
Remove a lineup by its ID.
Parameters
id(string) — Lineup ID
Returns
Promise.<Object>— Response data