Skip to content

Commit ead3f7d

Browse files
committed
refactor(plugins): remove duplicate metadata type exports
1 parent f10ba2f commit ead3f7d

2 files changed

Lines changed: 2 additions & 8 deletions

File tree

‎src/plugins/plugin-metadata-snapshot.ts‎

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -41,14 +41,8 @@ const PLUGIN_METADATA_ENV_KEYS = [
4141
"XDG_CONFIG_HOME",
4242
] as const;
4343
export type {
44-
LoadPluginMetadataSnapshotParams,
45-
PluginMetadataManifestView,
46-
PluginMetadataRegistryView,
4744
PluginMetadataSnapshot,
48-
PluginMetadataSnapshotMetrics,
4945
PluginMetadataSnapshotOwnerMaps,
50-
PluginMetadataSnapshotRegistryDiagnostic,
51-
ResolvePluginMetadataSnapshotParams,
5246
} from "./plugin-metadata-snapshot.types.js";
5347

5448
function pickPluginMetadataEnv(env: NodeJS.ProcessEnv): Record<string, string> {

‎src/plugins/plugin-metadata-snapshot.types.ts‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ export type PluginMetadataSnapshotOwnerMaps = {
2727
providerRequests?: ReadonlyMap<string, PluginManifestProviderRequestProvider>;
2828
};
2929

30-
export type PluginMetadataSnapshotMetrics = {
30+
type PluginMetadataSnapshotMetrics = {
3131
registrySnapshotMs: number;
3232
manifestRegistryMs: number;
3333
ownerMapsMs: number;
@@ -36,7 +36,7 @@ export type PluginMetadataSnapshotMetrics = {
3636
manifestPluginCount: number;
3737
};
3838

39-
export type PluginMetadataSnapshotRegistryDiagnostic = {
39+
type PluginMetadataSnapshotRegistryDiagnostic = {
4040
level: "info" | "warn";
4141
code:
4242
| "persisted-registry-missing"

0 commit comments

Comments
 (0)