From f80b677a51c47744aedf912e4445c958ec11ffd4 Mon Sep 17 00:00:00 2001 From: Joao Moreno Date: Fri, 17 Jun 2016 09:12:00 +0200 Subject: [PATCH] drop galleryApiUrl --- .../extensionManagement/common/extensionManagement.ts | 7 +++---- .../extensionManagement/node/extensionGalleryService.ts | 2 -- 2 files changed, 3 insertions(+), 6 deletions(-) diff --git a/src/vs/platform/extensionManagement/common/extensionManagement.ts b/src/vs/platform/extensionManagement/common/extensionManagement.ts index 57c9813b2cc..92508dbd627 100644 --- a/src/vs/platform/extensionManagement/common/extensionManagement.ts +++ b/src/vs/platform/extensionManagement/common/extensionManagement.ts @@ -31,7 +31,6 @@ export interface IGalleryVersion { } export interface IGalleryMetadata { - galleryApiUrl: string; id: string; publisherId: string; publisherDisplayName: string; @@ -39,13 +38,13 @@ export interface IGalleryMetadata { versions: IGalleryVersion[]; } -export interface IExtension { +export interface IGalleryExtension extends IGalleryMetadata { manifest: IExtensionManifest; - path: string; } -export interface IGalleryExtension extends IGalleryMetadata { +export interface IExtension { manifest: IExtensionManifest; + path: string; } export const IExtensionManagementService = createDecorator('extensionManagementService'); diff --git a/src/vs/platform/extensionManagement/node/extensionGalleryService.ts b/src/vs/platform/extensionManagement/node/extensionGalleryService.ts index 801036ef0f6..b2432f62573 100644 --- a/src/vs/platform/extensionManagement/node/extensionGalleryService.ts +++ b/src/vs/platform/extensionManagement/node/extensionGalleryService.ts @@ -30,7 +30,6 @@ interface IRawGalleryExtension { shortDescription: string; publisher: { displayName: string, publisherId: string, publisherName: string; }; versions: IRawGalleryExtensionVersion[]; - galleryApiUrl: string; statistics: IRawGalleryExtensionStatistics[]; } @@ -182,7 +181,6 @@ function toExtension(galleryExtension: IRawGalleryExtension, extensionsGalleryUr }; return { - galleryApiUrl: extensionsGalleryUrl, id: galleryExtension.extensionId, publisherId: galleryExtension.publisher.publisherId, publisherDisplayName: galleryExtension.publisher.displayName, -- GitLab