Files
LangBot/web/src/app/infra/entities/common.ts
T
RockChinQ f592656680 refactor(web): unify settings panel layouts with shared toolbar/body
- 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.
2026-06-16 06:02:20 -04:00

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;
}