obs-ss-plugin-webui/types/index.ts
Decobus d6c9ac8d7f Major enhancements to stream management and UI improvements
- Changed branding from "OBS Stream Manager" to "Live Stream Manager" throughout UI
- Enhanced stream deletion with comprehensive OBS cleanup:
  - Removes stream's nested scene
  - Deletes browser source
  - Clears text files referencing the stream
  - Removes stream from all source switchers
- Enhanced team deletion to clean up all OBS components:
  - Deletes team scene/group
  - Removes team text source
  - Deletes all associated stream scenes and sources
  - Clears all related text files
- Fixed stream selection to use proper team-prefixed names in text files
- Added StreamWithTeam type for proper team data handling
- Improved browser source creation with audio controls:
  - Enabled "Control Audio via OBS" setting
  - Auto-mutes audio on creation
- Attempted multiple approaches to fix text centering (still unresolved)

Known issue: Text centering still positions left edge at center despite multiple attempts

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-20 22:27:41 -04:00

24 lines
No EOL
431 B
TypeScript

export type Stream = {
id: number;
name: string;
obs_source_name: string;
url: string;
team_id: number;
};
export type StreamWithTeam = Stream & {
team_name: string;
group_name?: string | null;
};
export type Screen = {
screen: string;
id: number;
};
export type Team = {
team_id: number;
team_name: string;
group_name?: string | null;
group_uuid?: string | null;
};