/** * Meta System Adapter * * Provides meta configuration for entities using the modern Entity Registry. * Simplified from the legacy dual-registry system to use only entity-registry. */ import type { EntityConfig } from './types'; /** * Meta configuration interface * Derived from EntityConfig for backward compatibility */ export interface MetaEntityConfig { entityType: string; tableName: string; metaTableName: string; idColumn: string; apiPath: string; } /** * Meta System Adapter * Provides meta configuration derived from the modern entity registry */ export declare class MetaSystemAdapter { /** * Get meta configuration for an entity * Derives meta table info from the entity's slug */ getMetaConfig(entityName: string): { tableName: string; metaTableName: string; idColumn: string; apiPath: string; } | null; /** * Check if entity supports metadata */ supportsMetadata(entityName: string): boolean; /** * Get entity API path */ getApiPath(entityName: string): string | null; /** * Get all supported entity types that have metadata */ getSupportedEntityTypes(): string[]; /** * Convert entity config to meta config format */ toMetaConfig(entityConfig: EntityConfig): MetaEntityConfig | null; /** * Validate entity configuration compatibility */ validateCompatibility(entityName: string): { compatible: boolean; issues: string[]; recommendations: string[]; }; /** * Generate migration report for all entities */ generateMigrationReport(): { fullyMigrated: string[]; needsMigration: string[]; newEntitiesOnly: string[]; compatibilityIssues: Array<{ entityName: string; issues: string[]; }>; }; } export declare const metaSystemAdapter: MetaSystemAdapter; export declare function getMetaConfigForEntity(entityName: string): ReturnType; export declare function checkEntitySupportsMetadata(entityName: string): boolean; export declare function getEntityApiPath(entityName: string): string | null; export declare function validateEntityCompatibility(entityName: string): ReturnType; //# sourceMappingURL=meta-adapter.d.ts.map