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

140 lines
3.4 KiB
TypeScript

interface LogoImageDataInterface {
data: { attributes: { url: string; alternativeText: string; width?: number; height?: number } };
}
export interface VZitHeroInterface {
logo: LogoImageDataInterface;
title: string;
details: string;
image: LogoImageDataInterface;
heroCardTitle: string;
heroCard: {
cardTitle: string;
image: LogoImageDataInterface;
}[];
}
export interface VZitCardInterface {
image: LogoImageDataInterface;
vzitDetails: { details: string }[];
}
export interface KeyFeaturesInterface {
details: string;
title: string;
benefitsCard: { title: string; isSpan?: boolean; logo?: LogoImageDataInterface }[];
}
export interface VZitPageApiInterface {
benefits: KeyFeaturesInterface;
vzit: VZitCardInterface;
hero: VZitHeroInterface;
}
export interface HeroInterface {
logo: LogoImageDataInterface;
title: string;
details: string;
image: LogoImageDataInterface;
btnText?: string;
}
export interface OverviewInterface {
title: string;
cardContent: { details: string; image: LogoImageDataInterface }[];
manageTitle: string;
manageCard: { title: string; details: string; icon: LogoImageDataInterface }[];
}
export interface OffersInterface {
title: string;
details: string;
image: LogoImageDataInterface;
card: { title: string; details: string; icon: LogoImageDataInterface }[];
}
export interface FeaturesInterface {
title: string;
details: string;
image: LogoImageDataInterface;
width: number;
height: number;
link?: string;
}
export interface IndustryInterface {
title: string;
details: string;
icon: LogoImageDataInterface;
}
export interface WhyUsInterface {
title: string;
details: string;
query: string;
qAns: string;
slider: { title: string; details: string; icon: LogoImageDataInterface }[];
}
export interface WorkFlowInterface {
title: string;
details: string;
image: LogoImageDataInterface;
card: { title: string; details: string; icon: LogoImageDataInterface }[];
}
export interface ParkingDataInterface {
title: string;
details: string;
image: LogoImageDataInterface;
card: { title: string; details: string; icon: LogoImageDataInterface }[];
}
export interface WhyChooseInterface {
title: string;
details: string;
icon: LogoImageDataInterface;
}
export interface FAQInterface {
details?: string;
title: string;
FAQ: {
details: string;
title: string;
icon?: LogoImageDataInterface;
}[];
}
export interface NewVZitPageApiInterface {
hero: HeroInterface;
overview: OverviewInterface;
offers: OffersInterface[];
features: FeaturesInterface[];
industry: IndustryInterface[];
whyUs: WhyUsInterface;
workFlow: WorkFlowInterface;
parking: ParkingDataInterface[];
whyChoose: WhyChooseInterface[];
faq: FAQInterface;
clients: ClientsInterface;
}
export interface HeadingDescription {
id: number;
heading: string;
description: string;
order: number;
}
export interface ClientsInterface extends HeadingDescription {
brandLogos: {
data: {
attributes: {
brands: {
name?: string;
mobile?: boolean;
logo: LogoImageDataInterface;
}[];
};
};
};
}