mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-03-05 02:51:36 -05:00
* close * connection is working * formatting * adds all * formatting * removed unneeded logging * readd npm shrinkwrap * addressed comments * fix capabilities cacheing * updated shrinkwrap * fixed tests * remove dead code * vbump sqltools
51 lines
1.7 KiB
TypeScript
51 lines
1.7 KiB
TypeScript
/*---------------------------------------------------------------------------------------------
|
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
* Licensed under the Source EULA. See License.txt in the project root for license information.
|
|
*--------------------------------------------------------------------------------------------*/
|
|
'use strict';
|
|
|
|
import { RequestType } from 'vscode-languageclient';
|
|
import { Runtime, LinuxDistribution } from '../platform';
|
|
|
|
// --------------------------------- < Version Request > -------------------------------------------------
|
|
|
|
// Version request message callback declaration
|
|
export namespace VersionRequest {
|
|
export const type = new RequestType<void, VersionResult, void, void>('version');
|
|
}
|
|
|
|
// Version response format
|
|
export type VersionResult = string;
|
|
|
|
// ------------------------------- </ Version Request > --------------------------------------------------
|
|
|
|
// Constants interface for each extension
|
|
export interface IExtensionConstants {
|
|
// TODO: Fill in interface
|
|
|
|
// Definitely dependent on the extension
|
|
extensionName: string;
|
|
invalidServiceFilePath: string;
|
|
serviceName: string;
|
|
extensionConfigSectionName: string;
|
|
serviceCompatibleVersion: string;
|
|
outputChannelName: string;
|
|
languageId: string;
|
|
serviceInstallingTo: string;
|
|
serviceInitializing: string;
|
|
serviceInstalled: string;
|
|
serviceLoadingFailed: string;
|
|
serviceInstallationFailed: string;
|
|
serviceInitializingOutputChannelName: string;
|
|
commandsNotAvailableWhileInstallingTheService: string;
|
|
providerId: string;
|
|
serviceCrashMessage: string;
|
|
serviceCrashLink: string;
|
|
installFolderName: string;
|
|
telemetryExtensionName: string;
|
|
|
|
getRuntimeId(platform: string, architecture: string, distribution: LinuxDistribution): Runtime;
|
|
|
|
}
|
|
|