mirror of
https://github.com/langbot-app/LangBot.git
synced 2026-06-11 00:06:04 +00:00
26 lines
501 B
TypeScript
26 lines
501 B
TypeScript
export interface I18nObject {
|
|
en_US: string;
|
|
zh_Hans: string;
|
|
zh_Hant?: string;
|
|
ja_JP?: 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>; // eslint-disable-line @typescript-eslint/no-explicit-any
|
|
}
|
|
|
|
export interface CustomApiError {
|
|
msg?: string;
|
|
}
|