提交 f80b677a 编写于 作者: J Joao Moreno

drop galleryApiUrl

上级 42f6b370
...@@ -31,7 +31,6 @@ export interface IGalleryVersion { ...@@ -31,7 +31,6 @@ export interface IGalleryVersion {
} }
export interface IGalleryMetadata { export interface IGalleryMetadata {
galleryApiUrl: string;
id: string; id: string;
publisherId: string; publisherId: string;
publisherDisplayName: string; publisherDisplayName: string;
...@@ -39,13 +38,13 @@ export interface IGalleryMetadata { ...@@ -39,13 +38,13 @@ export interface IGalleryMetadata {
versions: IGalleryVersion[]; versions: IGalleryVersion[];
} }
export interface IExtension { export interface IGalleryExtension extends IGalleryMetadata {
manifest: IExtensionManifest; manifest: IExtensionManifest;
path: string;
} }
export interface IGalleryExtension extends IGalleryMetadata { export interface IExtension {
manifest: IExtensionManifest; manifest: IExtensionManifest;
path: string;
} }
export const IExtensionManagementService = createDecorator<IExtensionManagementService>('extensionManagementService'); export const IExtensionManagementService = createDecorator<IExtensionManagementService>('extensionManagementService');
......
...@@ -30,7 +30,6 @@ interface IRawGalleryExtension { ...@@ -30,7 +30,6 @@ interface IRawGalleryExtension {
shortDescription: string; shortDescription: string;
publisher: { displayName: string, publisherId: string, publisherName: string; }; publisher: { displayName: string, publisherId: string, publisherName: string; };
versions: IRawGalleryExtensionVersion[]; versions: IRawGalleryExtensionVersion[];
galleryApiUrl: string;
statistics: IRawGalleryExtensionStatistics[]; statistics: IRawGalleryExtensionStatistics[];
} }
...@@ -182,7 +181,6 @@ function toExtension(galleryExtension: IRawGalleryExtension, extensionsGalleryUr ...@@ -182,7 +181,6 @@ function toExtension(galleryExtension: IRawGalleryExtension, extensionsGalleryUr
}; };
return { return {
galleryApiUrl: extensionsGalleryUrl,
id: galleryExtension.extensionId, id: galleryExtension.extensionId,
publisherId: galleryExtension.publisher.publisherId, publisherId: galleryExtension.publisher.publisherId,
publisherDisplayName: galleryExtension.publisher.displayName, publisherDisplayName: galleryExtension.publisher.displayName,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册