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

92 lines
2.2 KiB
TypeScript

interface LogoImageDataInterface {
data: { attributes: { url: string; alternativeText: string; width?: number; height?: number } };
}
export interface CaseStudiesPageInterface {
id: number;
attributes: SingleCaseStudyInterface;
}
export interface BannerInterface {
title: string;
details: string;
banner: LogoImageDataInterface;
techStack: { techName: string; techLogo: LogoImageDataInterface }[];
}
export interface ClientInterface {
title: string;
details: string;
icon: LogoImageDataInterface;
}
export interface ChallengeSolutionInterface {
title: string;
icon: LogoImageDataInterface;
details: { title: string; description: string }[];
}
export interface GoalInterface {
title: string;
icon: LogoImageDataInterface;
details: {
description: string;
tHead: string[];
tData: { col0: string; col1: string }[];
card: { title: string; details: string; icon: LogoImageDataInterface }[];
}[];
}
export interface ThoughtInterface {
title: string;
details: string;
}
export interface SingleCaseStudyInterface {
createdAt: string;
updatedAt: string;
pageUrl: string;
shortDetails: string;
projectName: string;
category: string;
industry: string;
cardImage: LogoImageDataInterface;
banner: BannerInterface;
client: ClientInterface;
challenge: ChallengeSolutionInterface;
solution: ChallengeSolutionInterface;
goals: GoalInterface;
thought: ThoughtInterface;
}
export interface CaseStudyHomeInterface {
heading: string;
description: string;
categoryLists: CategoryListInterface;
}
export interface CategoryListInterface {
data: {
attributes: {
title: string;
category: string;
icon: LogoImageDataInterface;
};
}[];
}
export interface CaseIndustryListInterface {
data: {
attributes: {
title: string;
industry: string;
icon: LogoImageDataInterface;
};
}[];
}
export interface CaseTechnologyInterface {
data: {
attributes: {
title: string;
technology: string;
icon: LogoImageDataInterface;
};
}[];
}