mirror of
https://github.com/stablyai/orca.git
synced 2026-11-15 10:27:33 +00:00
* Default status bar usage to Compact * Explain Compact usage to affected existing users once
8 lines
308 B
TypeScript
8 lines
308 B
TypeScript
export type StatusBarUsageMode = 'verbose' | 'compact'
|
|
|
|
export const DEFAULT_STATUS_BAR_USAGE_MODE: StatusBarUsageMode = 'compact'
|
|
|
|
export function normalizeStatusBarUsageMode(value: unknown): StatusBarUsageMode {
|
|
return value === 'verbose' || value === 'compact' ? value : DEFAULT_STATUS_BAR_USAGE_MODE
|
|
}
|