fix: restore listAugmentations() functionality and add metadata support
- Fix listAugmentations() to return actual augmentation data instead of empty array - Add category and description metadata to BaseAugmentation class - Add getInfo() method to AugmentationRegistry for detailed augmentation listing - Update augmentation classes with proper categorization (internal/core/premium) - Enhance augmentation discovery and management capabilities This fixes the broken augmentation listing API and provides better visibility into installed augmentations with their status and metadata.
This commit is contained in:
parent
8208e63169
commit
7a0ec71d23
7 changed files with 59 additions and 6 deletions
|
|
@ -37,6 +37,10 @@ export class IndexAugmentation extends BaseAugmentation {
|
|||
operations = ['add', 'updateMetadata', 'delete', 'clear', 'all'] as ('add' | 'updateMetadata' | 'delete' | 'clear' | 'all')[]
|
||||
readonly priority = 60 // Run after data operations
|
||||
|
||||
// Augmentation metadata
|
||||
readonly category = 'core' as const
|
||||
readonly description = 'Fast metadata field indexing for O(1) filtering and lookups'
|
||||
|
||||
private metadataIndex: MetadataIndexManager | null = null
|
||||
private config: IndexConfig
|
||||
private flushTimer: NodeJS.Timeout | null = null
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue