import { Paginated } from "./Paginated";
import { CompetencyFramework } from "./CompetencyFramework";

export interface Competency {
  id: string;
  competency_framework_id: string;
  name: string;
  slug: string;
  description?: string | null;
  created_at?: Date | null;
  updated_at?: Date | null;
  competency_framework?: CompetencyFramework;
}

export interface CreateCompetencyPayload {
  competency_framework_id: string;
  name: string;
  description?: string | null;
}

export interface CompetencyResponse {
  data: Competency;
}

export type PaginatedCompetencies = Paginated<Competency>;
