diff --git a/packages/@aws-cdk/toolkit-lib/lib/api/io/toolkit-action.ts b/packages/@aws-cdk/toolkit-lib/lib/api/io/toolkit-action.ts index b477f4971..6ad88707f 100644 --- a/packages/@aws-cdk/toolkit-lib/lib/api/io/toolkit-action.ts +++ b/packages/@aws-cdk/toolkit-lib/lib/api/io/toolkit-action.ts @@ -1,5 +1,5 @@ /** - * The current action being performed by the CLI. 'none' represents the absence of an action. + * The current action being performed by the Toolkit. */ export type ToolkitAction = | 'assembly' diff --git a/packages/aws-cdk/lib/cli/io-host/cli-io-host.ts b/packages/aws-cdk/lib/cli/io-host/cli-io-host.ts index 8b22623de..f46cd70f0 100644 --- a/packages/aws-cdk/lib/cli/io-host/cli-io-host.ts +++ b/packages/aws-cdk/lib/cli/io-host/cli-io-host.ts @@ -10,6 +10,9 @@ import { StackActivityProgress } from '../../commands/deploy'; export type { IIoHost, IoMessage, IoMessageCode, IoMessageLevel, IoRequest }; +/** + * The current action being performed by the CLI. 'none' represents the absence of an action. + */ type CliAction = | ToolkitAction | 'context' @@ -24,7 +27,7 @@ export interface CliIoHostProps { * * @default 'none' */ - readonly currentAction?: ToolkitAction; + readonly currentAction?: CliAction; /** * Determines the verbosity of the output.