@lobehub/ui
Version:
Lobe UI is an open-source UI component library for building AIGC web apps
31 lines (30 loc) • 684 B
text/typescript
import { ReactNode } from "react";
//#region src/chat/types/meta.d.ts
interface MetaData {
/**
* 角色头像
* @description 可选参数,如果不传则使用默认头像
*/
avatar?: string | ReactNode;
/**
* 背景色
* @description 可选参数,如果不传则使用默认背景色
*/
backgroundColor?: string;
description?: string;
tags?: string[];
/**
* 名称
* @description 可选参数,如果不传则使用默认名称
*/
title?: string;
}
interface BaseDataModel {
createAt: number;
id: string;
meta: MetaData;
updateAt: number;
}
//#endregion
export { BaseDataModel, MetaData };
//# sourceMappingURL=meta.d.mts.map