LineupService

Source: LineupService.ts:3

Service for managing lineups in a choreography.


Constructor

new LineupService(): LineupService

Instance Methods

create( startCount: number, endCount: number, choreoId: string, ): Promise.<Object>

Create a new lineup.

Parameters

  • startCount (number) — Start count for the lineup
  • endCount (number) — End count for the lineup
  • choreoId (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 ID
  • data (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