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

164 lines
3.9 KiB
TypeScript

import { WhyUsInterface } from './about.interface';
import { BrandLogoDataInterface } from './home.interface';
import { FaqInterface } from './microsoftPowerPage.interface';
import { CaseStudiesPageInterface } from './newCaseStudies.interface';
interface LogoImageDataInterface {
data: { attributes: { url: string; alternativeText: string; width?: number; height?: number } };
}
export interface DevelopmentServiceInterface {
title: string;
description?: string;
service: {
heading: string;
details: string;
logo: LogoImageDataInterface;
}[];
}
export interface PortfolioInterface {
image: LogoImageDataInterface;
logo: LogoImageDataInterface;
backgroundColor?: string;
category: string;
title: string;
}
export interface SecureWebInterface {
title: string;
details: string;
image: LogoImageDataInterface;
}
export interface DevTechInterface {
title: string;
techStack: {
name: string;
logo: LogoImageDataInterface;
}[];
}
export interface ProcessInterface {
title: string;
details: string;
label: string;
}
export interface HeroInterface {
heroTitle: string;
heroDetails: string;
buttonText: string;
buttonIcon: LogoImageDataInterface;
bottomImages: { data: { attributes: { url: string; alternativeText: string; width?: number; height?: number } }[] };
slideText?: string[];
}
export interface LeftRightInterface {
title: string;
card: {
title: string;
description: string;
image: LogoImageDataInterface;
icon: LogoImageDataInterface;
}[];
}
export interface BusinessInterface {
title: string;
card: {
title: string;
details: string;
icon: LogoImageDataInterface;
}[];
}
export interface OptimizeServiceInterface {
Title: string;
details?: string;
buttonText: string;
FAQ: {
title: string;
details?: string;
icon?: LogoImageDataInterface;
}[];
}
export interface ProspectsInterface {
title: string;
description: string;
icon: LogoImageDataInterface;
techStack: {
name: string;
logo: LogoImageDataInterface;
}[];
}
export interface NewTechInterface {
title: string;
description?: string;
serviceList: {
process: string;
description: string;
image: LogoImageDataInterface;
}[];
}
export interface CaseStudiesInterface {
data: CaseStudiesPageInterface[];
}
export interface ChooseUsInterface {
title: string;
description: string;
content: {
title: string;
description: string;
image: LogoImageDataInterface;
}[];
}
export interface MethodologiesInterface {
title: string;
details: string;
chooseCard: {
process: string;
description: string;
image: LogoImageDataInterface;
}[];
}
export interface ServiceDetailsPageApiInterface {
hero: HeroInterface;
leftRightCom: LeftRightInterface;
businessNeed: BusinessInterface;
brandLogo: BrandLogoDataInterface[];
whyUs: WhyUsInterface;
optimizeService: OptimizeServiceInterface;
businessProspects: ProspectsInterface[];
developmentService: DevelopmentServiceInterface;
newTech: NewTechInterface;
caseStudies: CaseStudiesInterface;
processData: ProcessInterface[];
chooseUs: ChooseUsInterface;
methodologies: MethodologiesInterface;
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;
}[];
};
};
};
}