mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-01-27 01:25:36 -05:00
21 lines
960 B
TypeScript
21 lines
960 B
TypeScript
/*---------------------------------------------------------------------------------------------
|
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
* Licensed under the Source EULA. See License.txt in the project root for license information.
|
|
*--------------------------------------------------------------------------------------------*/
|
|
|
|
import { createDecorator } from 'vs/platform/instantiation/common/instantiation';
|
|
import { Event } from 'vs/base/common/event';
|
|
|
|
import * as azdata from 'azdata';
|
|
|
|
export const IAccountPickerService = createDecorator<IAccountPickerService>('AccountPickerService');
|
|
export interface IAccountPickerService {
|
|
_serviceBrand: any;
|
|
renderAccountPicker(container: HTMLElement): void;
|
|
addAccountCompleteEvent: Event<void>;
|
|
addAccountErrorEvent: Event<string>;
|
|
addAccountStartEvent: Event<void>;
|
|
onAccountSelectionChangeEvent: Event<azdata.Account | undefined>;
|
|
selectedAccount: azdata.Account | undefined;
|
|
}
|