@@ -10,33 +10,18 @@ import {
1010 isPluginMetadataSnapshotCompatible ,
1111 resolvePluginMetadataSnapshot ,
1212 type PluginMetadataSnapshot ,
13- type PluginMetadataSnapshotOwnerMaps ,
1413} from "./plugin-metadata-snapshot.js" ;
1514import type { PluginRegistrySnapshot } from "./plugin-registry-snapshot.js" ;
1615
17- export type PluginLookUpTableOwnerMaps = PluginMetadataSnapshotOwnerMaps ;
18-
19- export type PluginLookUpTableStartupPlan = GatewayStartupPluginPlan ;
20-
21- export type PluginLookUpTableMetrics = {
22- registrySnapshotMs : number ;
23- manifestRegistryMs : number ;
16+ export type PluginLookUpTableMetrics = PluginMetadataSnapshot [ "metrics" ] & {
2417 startupPlanMs : number ;
25- ownerMapsMs : number ;
26- totalMs : number ;
27- indexPluginCount : number ;
28- manifestPluginCount : number ;
2918 startupPluginCount : number ;
3019 deferredChannelPluginCount : number ;
3120} ;
3221
3322export type PluginLookUpTable = PluginMetadataSnapshot & {
34- startup : PluginLookUpTableStartupPlan ;
35- metrics : PluginMetadataSnapshot [ "metrics" ] &
36- Pick <
37- PluginLookUpTableMetrics ,
38- "startupPlanMs" | "startupPluginCount" | "deferredChannelPluginCount"
39- > ;
23+ startup : GatewayStartupPluginPlan ;
24+ metrics : PluginLookUpTableMetrics ;
4025} ;
4126
4227export type LoadPluginLookUpTableParams = {
0 commit comments