refactor(block-h): ai sidebar tabs resolve via plugin-contributable registry
This commit is contained in:
@@ -2,7 +2,9 @@ import { create } from 'zustand';
|
||||
|
||||
export type Theme = 'light' | 'dark' | 'system';
|
||||
export type Locale = 'de' | 'en';
|
||||
export type AISidebarTab = 'proactive' | 'chat' | 'notifications' | 'team' | 'chatroom';
|
||||
// Plugin-contributed tabs add arbitrary keys (Block H / HC-G) — the union
|
||||
// keeps autocomplete for the base tabs while allowing any string key.
|
||||
export type AISidebarTab = 'proactive' | 'chat' | 'notifications' | 'team' | 'chatroom' | (string & {});
|
||||
|
||||
export interface Toast {
|
||||
id: string;
|
||||
|
||||
Reference in New Issue
Block a user