Type Alias: ContentBrowseConfig
type ContentBrowseConfig =
| BrowseModeConfig
| PreviewModeConfig;
Content browse configuration using discriminated union for type-safe launch modes.
Two modes are supported:
- Browse Mode (default): Users see template gallery first, then select to preview
- Preview Mode: Directly opens a specific template in preview, bypassing gallery
The launchMode property discriminates between these modes, enabling compile-time type checking to ensure only relevant properties are used for each mode.