mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-16 10:58:30 -05:00
Assessment core extension (#10154)
This commit is contained in:
17
src/sql/platform/opener/common/openerServiceStub.ts
Normal file
17
src/sql/platform/opener/common/openerServiceStub.ts
Normal file
@@ -0,0 +1,17 @@
|
||||
/*---------------------------------------------------------------------------------------------
|
||||
* Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
* Licensed under the Source EULA. See License.txt in the project root for license information.
|
||||
*--------------------------------------------------------------------------------------------*/
|
||||
import { URI } from 'vs/base/common/uri';
|
||||
import { IOpenerService } from 'vs/platform/opener/common/opener';
|
||||
|
||||
|
||||
export class OpenerServiceStub implements IOpenerService {
|
||||
_serviceBrand: undefined;
|
||||
registerOpener() { return undefined; }
|
||||
registerValidator() { return undefined; }
|
||||
registerExternalUriResolver() { return undefined; }
|
||||
setExternalOpener() { return undefined; }
|
||||
async open(resource: URI | string, options?: any): Promise<boolean> { return Promise.resolve(true); }
|
||||
async resolveExternalUri(uri: any) { return undefined; }
|
||||
}
|
||||
@@ -64,10 +64,12 @@ export enum TelemetryView {
|
||||
Shell = 'Shell',
|
||||
ExtensionRecommendationDialog = 'ExtensionRecommendationDialog',
|
||||
ResultsPanel = 'ResultsPanel',
|
||||
Notebook = 'Notebook'
|
||||
Notebook = 'Notebook',
|
||||
SqlAssessment = 'SqlAssessment'
|
||||
}
|
||||
|
||||
export enum TelemetryAction {
|
||||
Click = 'Click',
|
||||
Open = 'Open'
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user