Commit 6b665cc
feat: implement IMetadataService contract in MetadataManager
- MetadataManager now implements full IMetadataService contract
- Core CRUD: register/get/list/unregister/exists/listNames/getObject/listObjects
- Query: query with filtering, sorting, pagination
- Bulk: bulkRegister/bulkUnregister
- Overlay: getOverlay/saveOverlay/removeOverlay/getEffective
- Watch: watchService returning MetadataWatchHandle
- Import/Export: exportMetadata/importMetadata with conflict resolution
- Validation: validate method
- Type Registry: getRegisteredTypes/getTypeInfo using DEFAULT_METADATA_TYPE_REGISTRY
- Dependency Tracking: getDependencies/getDependents/addDependency
- MetadataPlugin updated to use spec's type registry and load order
- Updated exports with IMetadataService and kernel types
- 52 new tests for IMetadataService contract, all passing (97 total)
Co-authored-by: hotlong <50353452+hotlong@users.noreply.github.com>1 parent cd58af2 commit 6b665cc
6 files changed
Lines changed: 1325 additions & 75 deletions
File tree
- packages/metadata
- src
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
| 6 | + | |
| 7 | + | |
7 | 8 | | |
8 | 9 | | |
9 | 10 | | |
| |||
39 | 40 | | |
40 | 41 | | |
41 | 42 | | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
0 commit comments