prodap-chatbot-domain
Version:
Classes utilizadas na resposta de todas as Intents do Assistente Virtual
33 lines (32 loc) • 699 B
TypeScript
import { StyleType, TextType } from '../../common/types';
export interface Icon {
base64: string;
height: number;
width: number;
}
export type BadgeStyle = {
width: number;
height: number;
borderRadius: number;
};
type legendData = {
subtitle: TextType;
text?: TextType;
color: string;
badgeStyle?: BadgeStyle;
icon?: Icon;
style?: StyleType;
refIndexData?: number[];
textMetric?: string;
};
export default class ItemLegend {
description: TextType;
color: string;
badgeStyle?: BadgeStyle;
icon?: Icon;
style?: StyleType;
refIndexData?: number[];
textMetric?: string;
constructor(data: legendData);
}
export {};