export type Global = {
  name: string;
  about: string;
  about_description: string;
  about_blog: string;
  about_applications: string;
  about_categories: string;
  initials: string;
  email: string;
  site_url: string;
  rybbit_site_id: string;
  logo: string;
  all_logoLight: string;
  all_logoDark: string;
  portrait: string;
  portrait_alt: string;
  footer_image: string;
  footer_image_alt: string;
};

export type Weather = {
  id: string;
  location: string;
  latitude: string;
  longitude: string;
  timezone: string;
}

export type Post = {
  slug: string;
  title: string;
  description: string;
  tags: string[];
  category: Category;
  selected: boolean;
  published: boolean;
  content: string;
  image: string;
  image_alt: string;
  image_second: string;
  image_second_alt: string;
  published_date: Date;
  updated_date: Date;
};

export type Category = {
  slug: string;
  title: string;
  description: string;
  logoLight: string;
  logoDark: string;
};

export type HeaderImage = {
  id: string;
  image: string;
  image_alt: string;
};

export type Application = {
  id: string;
  name: string;
  isActive: boolean;
  description: string;
  highlights: string[];
  url: string;
  logoUrl: string;
};

export type Experience = {
  id: string;
  name: string;
  location: string;
  location_type: string;
  url: string;
  startDate: string;
  endDate: string;
  position: string;
  summary: string;
  responsibilities: string[];
  highlights: string[];
  achievements: string[];
  skills: string[];
};

export type Education = {
  id: string;
  institution: string;
  url: string;
  area: string;
  studyType: string;
  graduationDate: string;
  logo: string;
  logoDark: string;
};

export type Certificate = {
  id: string;
  name: string;
  issuer: string;
  issuerDate: string;
  url: string;
  logo: string;
  logoDark: string;
};

export type Project = {
  id: string;
  name: string;
  isActive: boolean;
  description: string;
  highlights: string[];
  url: string;
  source: string;
};

export type Skill = {
  id: string;
  title: string;
  description: string;
  icon: string;
  level: string;
  date_created: string;
};
