Skip to content

feat(presets): add isProgramUser field to PresetCall schema#213

Merged
birme merged 1 commit intomainfrom
backend/preset-program-role
Mar 30, 2026
Merged

feat(presets): add isProgramUser field to PresetCall schema#213
birme merged 1 commit intomainfrom
backend/preset-program-role

Conversation

@LucasMaupin
Copy link
Copy Markdown
Contributor

Summary

  • Adds isProgramUser?: boolean to the PresetCall TypeBox schema so presets can record whether a program output line was joined as a Listener or Audio feed.
  • Pairs with frontend PR #618 which encodes this as a :l/:p role suffix in the ?lines= URL param, enabling auto-join of program lines from presets without a role-selection card.

Test plan

  • npm run typecheck passes
  • npm test passes
  • Create a preset containing a program output line joined as Listener — verify isProgramUser: false is stored
  • Create a preset containing a program output line joined as Audio feed — verify isProgramUser: true is stored
  • Load either preset from the frontend — verify the line is auto-joined with the correct role

🤖 Generated with Claude Code

Co-Authored-By: Claude Sonnet 4.6 [email protected]

Allows presets to store whether a program output line is joined as a
listener or as an audio feed, enabling full role-aware auto-join when
loading a preset URL.

Co-Authored-By: Claude Sonnet 4.6 <[email protected]>
@LucasMaupin LucasMaupin requested a review from birme as a code owner March 30, 2026 08:42
@birme birme merged commit 3b6fa09 into main Mar 30, 2026
4 checks passed
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.

2 participants