convexsol_stage/interfaces/convexCRM.interface.ts
2025-12-02 11:02:00 +05:30

41 lines
949 B
TypeScript

interface LogoImageDataInterface {
data: { attributes: { url: string; alternativeText: string; width?: number; height?: number } };
}
export interface CRMHeroInterface {
logo: LogoImageDataInterface;
details: string;
image: {
data: { attributes: { url: string } };
};
title: string;
heroCard: { cardTitle: string; cardDetails: string }[];
}
export interface ConvexInterface {
image: LogoImageDataInterface;
crmDetails: { details: string }[];
whyCRM: { details: string }[];
}
export interface BenefitsInterface {
title: string;
details: string;
benefitsCard: {
title: string;
logo?: LogoImageDataInterface;
isSpan?: boolean;
}[];
}
export interface AppInterface {
image: LogoImageDataInterface;
}
export interface CRMPageApiInterface {
app: AppInterface[];
benefits: BenefitsInterface;
convex: ConvexInterface;
hero: CRMHeroInterface;
}