/**
 * Knowledge Entry Version entity
 * Represents a historical version of a knowledge entry
 */
export interface KnowledgeEntryVersionEntity {
  id: string;
  entryId: string;
  version: number;
  title: string;
  content: string;
  summary: string | null;
  createdAt: Date;
  createdBy: string;
  changeNote: string | null;
}

/**
 * Version list item with author information
 */
export interface KnowledgeEntryVersionWithAuthor extends KnowledgeEntryVersionEntity {
  author: {
    id: string;
    name: string;
    email: string;
  };
}

/**
 * Paginated version list response
 */
export interface PaginatedVersions {
  data: KnowledgeEntryVersionWithAuthor[];
  pagination: {
    page: number;
    limit: number;
    total: number;
    totalPages: number;
  };
}
