Sets up the first page with some filler information (#11762)

* Sets up the first page with some filler information

* Add some valid information

* move to its own method
This commit is contained in:
Amir Omidi
2020-08-11 17:12:05 -07:00
committed by GitHub
parent 6e26261149
commit 207a9a6a25
5 changed files with 66 additions and 19 deletions

View File

@@ -25,7 +25,7 @@ export enum State {
}
export interface Model {
readonly sourceConnection: azdata.IConnectionProfile;
readonly sourceConnection: azdata.connection.Connection;
readonly currentState: State;
}
@@ -38,11 +38,11 @@ export class MigrationStateModel implements Model, vscode.Disposable {
private _stateChangeEventEmitter = new vscode.EventEmitter<StateChangeEvent>();
private _currentState: State;
constructor(private readonly _sourceConnection: azdata.IConnectionProfile) {
constructor(private readonly _sourceConnection: azdata.connection.Connection) {
this._currentState = State.INIT;
}
public get sourceConnection(): azdata.IConnectionProfile {
public get sourceConnection(): azdata.connection.Connection {
return this._sourceConnection;
}