Add ability to pass in initial variable values to deployment wizards (#14224)

This commit is contained in:
Charles Gagnon
2021-02-10 13:55:16 -08:00
committed by GitHub
parent bb29ae00c9
commit 45adb7d8d7
8 changed files with 26 additions and 16 deletions

View File

@@ -4,6 +4,7 @@
*--------------------------------------------------------------------------------------------*/
import * as azdata from 'azdata';
import { InitialVariableValues } from '../interfaces';
import { Validator } from './modelViewUtils';
import { WizardPageInfo } from './wizardPageInfo';
@@ -29,7 +30,7 @@ export abstract class WizardPageBase<T> {
public async onLeave(_pageInfo?: WizardPageInfo): Promise<void> { }
public abstract initialize(): void;
public abstract initialize(initialVariableValues?: InitialVariableValues): void;
protected get validators(): Validator[] {
return this._validators;