import type { Modules } from "./codyops-modules";
import type { Careers } from "./codyops-careers";
import type { Users } from "./codyops-users";

export interface Courses {
    id: string;
    status: string;
    sort: number | null;
    user_created?: Partial<Users>;
    user_updated: Users;
    date_created: string | null;
    date_updated: string | null;
    name: string;
    description: string;
    level: string;
    type: string;
    category: string;
    language: string;
    features: string;
    version: string;
    image: string;
    modules?: Partial<Modules>[];
    content: string;
    cloud: string;
    codyops_careers?: {
      codyops_careers_id?: Partial<Careers>;
    };
    totalCourseHours?: number;
    totalCourseMinutes?: number;
}

export interface CodyopsCourses {
  codyops_courses: Courses[];
}
