export type CreateCategoryLearningType = {
  name: string;
};

export type CategoryLearningType = {
  id: number;
  name: string;
};

export type CreateLearningType = {
  title: string;
  description: string;
  coverUrl: string;
  videoUrl: string;
  videoDuration: string;
  categoryId: string;
};

export type LearningItemType = {
  id: string;
  title: string;
  description: string;
  coverUrl: string;
  videoUrl: string;
  videoDuration: string;
  category: {
    id: string;
    createdAt: string;
    updatedAt: string;
    name: string;
  };
  createdAt: string;
  updatedAt: string;
};
