@solfacil/girassol
Version:
Girassol design system
48 lines (47 loc) • 1.29 kB
TypeScript
import type { FunctionalComponent, SVGAttributes } from 'vue';
export interface User {
profile: string;
completeName: string;
}
export interface SolfacilPlus {
level: string;
isLevelBlack?: boolean;
}
export interface Responsible {
cellPhone: string;
noAccountManager: boolean;
}
export interface Partner {
partnerId: number;
companyName?: string;
responsible: Responsible;
solfacilPlus: SolfacilPlus | null;
registration_type?: 'stellar' | 'basic' | 'essential' | null;
}
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;
}