@solfacil/girassol
Version:
Girassol design system
56 lines (55 loc) • 1.41 kB
TypeScript
import type { FunctionalComponent, SVGAttributes } from 'vue';
export interface ProductOptions {
id: string;
text: string;
link: string;
}
export interface User {
profile: string;
completeName: string;
}
export interface SolfacilPlus {
level: string;
currentScore: string;
goScore: string;
nextTransitionDate: string;
hasRisk: boolean;
isLevelBlack?: boolean;
}
export interface Responsible {
cellPhone: string;
noAccountManager: boolean;
}
export interface Partner {
partnerId: number;
companyName?: string;
responsible: Responsible;
solfacilPlus: SolfacilPlus;
}
export interface NotificationValues {
templateName: string;
actionUrl: string;
message: string;
title: string;
}
export interface Notification {
id: number;
clickedAt: Date | string | null;
readAt: Date | string | null;
createdAt: Date | string;
notification: NotificationValues;
}
export interface NotificationsList {
count: number;
countNotification: number;
totalCount: number;
nextCursor: string;
data: Notification[];
}
export interface Product {
/** @deprecated 'ampera' está deprecated e será removido em uma versão futura. Use 'portal', 'shop' ou 'financing'. */
id: 'portal' | 'shop' | 'financing' | 'ampera';
icon?: FunctionalComponent<SVGAttributes>;
title: string;
action?: Function;
}