export * from './profile';
export * from './skills';
export * from './experiences';
export * from './formations';
export * from './projects';
export * from './interests';
export * from './site';

import { ProfileSchema } from './profile';
import { SkillsSchema } from './skills';
import { ExperiencesSchema } from './experiences';
import { FormationsSchema } from './formations';
import { ProjectsSchema } from './projects';
import { InterestsSchema } from './interests';
import { SiteSchema } from './site';

export const CONTENT_SCHEMAS = {
  profile: ProfileSchema,
  skills: SkillsSchema,
  experiences: ExperiencesSchema,
  formations: FormationsSchema,
  projects: ProjectsSchema,
  interests: InterestsSchema,
  site: SiteSchema,
} as const;

export type ContentKey = keyof typeof CONTENT_SCHEMAS;
