mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-03-19 03:21:36 -04:00
This reverts commit d15a3fcc98.
This commit is contained in:
@@ -10,13 +10,8 @@ export const IProductService = createDecorator<IProductService>('productService'
|
||||
export interface IProductService {
|
||||
_serviceBrand: any;
|
||||
|
||||
version: string;
|
||||
version?: string;
|
||||
commit?: string;
|
||||
|
||||
nameLong: string;
|
||||
urlProtocol: string;
|
||||
extensionAllowedProposedApi: string[];
|
||||
uiExtensions?: string[];
|
||||
|
||||
enableTelemetry: boolean;
|
||||
}
|
||||
|
||||
@@ -81,6 +81,7 @@ export interface IProductConfiguration {
|
||||
hockeyApp: {
|
||||
'win32-ia32': string;
|
||||
'win32-x64': string;
|
||||
'linux-ia32': string;
|
||||
'linux-x64': string;
|
||||
'darwin': string;
|
||||
};
|
||||
|
||||
@@ -11,17 +11,9 @@ export class ProductService implements IProductService {
|
||||
|
||||
_serviceBrand: any;
|
||||
|
||||
get version(): string { return pkg.version; }
|
||||
get version(): string | undefined { return pkg.version; }
|
||||
|
||||
get commit(): string | undefined { return product.commit; }
|
||||
|
||||
get nameLong(): string { return product.nameLong; }
|
||||
|
||||
get urlProtocol(): string { return product.urlProtocol; }
|
||||
|
||||
get extensionAllowedProposedApi(): string[] { return product.extensionAllowedProposedApi; }
|
||||
|
||||
get uiExtensions(): string[] | undefined { return product.uiExtensions; }
|
||||
|
||||
get enableTelemetry(): boolean { return product.enableTelemetry; }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user