Skip to content

Add segue flag to flowsheet entries#263

Open
jakebromberg wants to merge 1 commit intomainfrom
feature/segue-flag
Open

Add segue flag to flowsheet entries#263
jakebromberg wants to merge 1 commit intomainfrom
feature/segue-flag

Conversation

@jakebromberg
Copy link
Member

Summary

  • Add segue boolean column to Drizzle schema (default false) with migration
  • Update controller types (FSEntryRequestBody, UpdateRequestBody)
  • Update service layer (FSEntryFieldsRaw, FSEntryRaw, transformToIFSEntry, transformToV2)
  • Update HTTP mirror (MirrorEntry, mapEntryToTubafrenzy, mapUpdateToTubafrenzy)
  • Update SQL mirror (getAddEntrySQL for track and non-track INSERTs)
  • Add unit tests for service transforms and mirror mappers

Closes #261

Test plan

  • npm run typecheck passes
  • npm run test:unit passes (322 tests)
  • Run npm run drizzle:migrate on deployed DB
  • Verify segue round-trips through create/read/update

Add a boolean segue column to the flowsheet table to indicate when a DJ segues between tracks. The flag flows through the full stack: Drizzle schema, service layer, V2 transform, HTTP mirror, and SQL mirror. Includes migration 0031_add-segue-flag and unit tests for all layers.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add segue flag to flowsheet entries

1 participant