Files
LangBot/web/src/app/infra/entities/common.ts
2025-08-17 11:43:38 +08:00

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
}