import { IExplanationMap } from "@zowe/imperative" ; export interface export interface IPromptVariable { type { string } memberof name : string ; type { string } memberof value : string ; type { boolean } memberof required : boolean ; type { string } memberof label : string ; type { string } memberof description : string ; type { string } memberof abstract : string ; type { string } memberof type : string ; type { boolean } memberof "must-be-choice" : boolean ; type { string [ ] } memberof choices : string [ ] ; type { string } memberof regex : string ; type { boolean } memberof "multi-line" : boolean ; type { string } memberof min : string ; type { string } memberof max : string ; type { string } memberof places : string ; type { string } memberof "error-message" : string ; } memberof const prettySummary = { name : "Name" , description : "Description" , type : "Type" } ; memberof const prettyFull = { ... prettySummary , "required" : "Required" , "min" : "Minimum Value/Length" , "max" : "Maximum Value/Length" , "must-be-choice" : "Select from Choices" , "choices" : "Allowable Choices" } ; type { IExplanationMap } memberof export const explainPromptVariableSummary = { ... prettySummary , ignoredKeys : "required, min, max, must-be-choice, choices" , explainedParentKey : null } ; type { IExplanationMap } memberof export const explainPromptVariableFull = { ... prettyFull , ignoredKeys : null , explainedParentKey : null } ;