export const TYPE_VERSION = '1.0.0';

export const TYPE_CHANGELOG: TypeChangeLog[] = [
  {
    version: '1.0.0',
    date: '2026-03-20',
    changes: [
      'Initial unified type center setup',
      'Created Zod schemas for User, Product, Order',
      'Added DTO layer with schema-driven types',
      'Added common types: Pagination, Error, Response',
      'Added plugin message types',
      'Created zodToOpenAPI converter'
    ]
  }
];

export type TypeVersion = typeof TYPE_VERSION;

export interface TypeChangeLog {
  version: string;
  date: string;
  changes: string[];
}

export function getTypeVersion(): string {
  return TYPE_VERSION;
}

export function getLatestChanges(): TypeChangeLog {
  return TYPE_CHANGELOG[0];
}
