From a9baab8deec005d12a5551a30ea44c35f1d9306a Mon Sep 17 00:00:00 2001 From: Mario Campos Date: Wed, 12 Aug 2026 11:26:52 -0500 Subject: [PATCH] Export CLI cache types --- src/cli/output-cache.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/cli/output-cache.ts b/src/cli/output-cache.ts index 81b5084f8..5a1d0d697 100644 --- a/src/cli/output-cache.ts +++ b/src/cli/output-cache.ts @@ -9,21 +9,21 @@ import type { VersionInfo } from "./types"; /** * The keys of the command cache. Each key corresponds to a command whose output we cache. */ -enum CommandCacheKey { +export enum CommandCacheKey { Version = "version", } /** * The mapping of CLI commands to the types of the output of each command that we cache. */ -type CommandCacheKeyOutputMap = { +export type CommandCacheKeyOutputMap = { [CommandCacheKey.Version]: VersionInfo; }; /** * The type of the command cache that is persisted to disk. */ -interface CommandCacheRecord { +export interface CommandCacheRecord { cmd: string; entries: Map; }