mirror of
https://github.com/langbot-app/LangBot.git
synced 2026-06-12 16:56:02 +00:00
22 lines
448 B
TypeScript
22 lines
448 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
|
|
}
|