Skip to main content

Module: core/commandVersionUpgrades/canonicalizeAndValidateCommand

Functions

canonicalizeAndValidateCommand

canonicalizeAndValidateCommand(command): CommandComplete

Given a command argument which comes from the client, normalize it so that it conforms to the latest version of the expected cursorless command argument.

Parameters

NameTypeDescription
commandCommandThe command argument to normalize

Returns

CommandComplete

The normalized command argument

Defined in

core/commandVersionUpgrades/canonicalizeAndValidateCommand.ts:30


checkForOldInference

checkForOldInference(graph, partialTargets): Promise<void>

Parameters

NameType
graphGraph
partialTargetsPartialTargetDescriptor[]

Returns

Promise<void>

Defined in

core/commandVersionUpgrades/canonicalizeAndValidateCommand.ts:116