mirror of
https://github.com/langbot-app/LangBot.git
synced 2026-06-27 07:54:19 +00:00
f592656680
- Add PanelToolbar/PanelBody primitives so all four settings tabs share the same top-toolbar + scrollable-body rhythm under the unified header. - API panel: drop the heavy gray shadowed TabsList; move the create action into the toolbar next to the tabs, lighten per-tab hints. - Storage panel: reuse PanelToolbar for the generated-at/refresh bar. - Account panel: wrap content in PanelBody for consistent padding. - Models panel: keep the pinned LangBot Models (Space) card at the very top, above the add-custom-provider row (intentional pin), using PanelBody instead of a top toolbar.
30 lines
515 B
TypeScript
30 lines
515 B
TypeScript
export interface I18nObject {
|
|
en_US: string;
|
|
zh_Hans: string;
|
|
zh_Hant?: string;
|
|
ja_JP?: string;
|
|
th_TH?: string;
|
|
vi_VN?: string;
|
|
es_ES?: string;
|
|
ru_RU?: string;
|
|
}
|
|
|
|
export interface ComponentManifest {
|
|
apiVersion: string;
|
|
kind: string;
|
|
metadata: {
|
|
name: string;
|
|
label: I18nObject;
|
|
description?: I18nObject;
|
|
icon?: string;
|
|
repository?: string;
|
|
version?: string;
|
|
author?: string;
|
|
};
|
|
spec: Record<string, any>;
|
|
}
|
|
|
|
export interface CustomApiError {
|
|
msg?: string;
|
|
}
|