diff --git a/src/vs/platform/extensionManagement/common/extensionManagement.ts b/src/vs/platform/extensionManagement/common/extensionManagement.ts index 57c9813b2ccc1681d5ba6d862dc554b81346eb1f..92508dbd62787dcec30beb97607dd44a546c8ee3 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 801036ef0f6a58b142435e54697df45361302ec8..b2432f62573c46eff1d9a91918f12af51de1d251 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,