Commit 63e9192
Update all 13 plugin implementations and tests to match @objectstack/spec type shapes
- healthCheck(): Remove pluginName/pluginVersion/uptime from root, add message and metrics.uptime, map checks[].status to passed/warning/failed
- getManifest(): Replace old capabilities/security with new pluginId/trustLevel/permissions/sandbox shape
- getStartupResult(): Replace pluginName with plugin.name/version, remove servicesRegistered
- metrics/health.ts: Import HealthStatus from types.js, add default case for new status values
- metrics/plugin.ts admin route: Update health.uptime to health.metrics?.uptime
- Update all 9 test files to assert new field shapes
Co-authored-by: hotlong <50353452+hotlong@users.noreply.github.com>1 parent 849ccf7 commit 63e9192
1 file changed
Lines changed: 3 additions & 24 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
435 | 435 | | |
436 | 436 | | |
437 | 437 | | |
438 | | - | |
439 | | - | |
440 | | - | |
441 | | - | |
442 | | - | |
443 | | - | |
444 | | - | |
445 | | - | |
446 | | - | |
447 | | - | |
448 | | - | |
449 | | - | |
450 | | - | |
451 | | - | |
452 | | - | |
453 | | - | |
454 | | - | |
455 | | - | |
456 | | - | |
457 | | - | |
458 | | - | |
459 | | - | |
460 | | - | |
461 | | - | |
| 438 | + | |
| 439 | + | |
| 440 | + | |
462 | 441 | | |
463 | 442 | | |
464 | 443 | | |
| |||
0 commit comments