Files

59 lines
959 B
TypeScript

export type SiteSettings = {
site_name: string;
tagline: string;
phone: string;
email: string;
address: string;
city: string;
working_hours: string;
hero_title: string;
hero_subtitle: string;
hero_image: string;
about_excerpt: string;
};
export type Page = {
id: number;
title: string;
slug: string;
intro: string;
body: string;
meta_title: string;
meta_description: string;
};
export type Service = {
id: number;
title: string;
slug: string;
short_description: string;
description: string;
icon: string;
};
export type Doctor = {
id: number;
full_name: string;
position: string;
credentials: string;
bio: string;
photo: string;
};
export type Document = {
id: number;
title: string;
category: string;
description: string;
file_url: string;
};
export type HomePayload = {
site: SiteSettings;
pages: Page[];
services: Service[];
doctors: Doctor[];
documents: Document[];
};