@solfacil/girassol
Version:
Girassol design system
55 lines (54 loc) • 1.28 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 {
id: 'portal' | 'shop' | 'financing' | 'ampera';
icon?: FunctionalComponent<SVGAttributes>;
title: string;
action?: Function;
}