2017-06-12 19:49:50 +02:00
|
|
|
import { IGenericObject } from '../../extensions/interfaces/igeneric-object';
|
|
|
|
|
|
|
|
export interface IPackageJSONBadge {
|
|
|
|
description: string;
|
|
|
|
href: string;
|
|
|
|
url: string;
|
|
|
|
}
|
|
|
|
|
|
|
|
export interface IPackageJSONContributes {
|
|
|
|
commands: IPackageJSONCommand[];
|
2017-06-20 14:39:45 +02:00
|
|
|
configuration: IPackageJSONConfiguration;
|
2017-06-12 19:49:50 +02:00
|
|
|
iconThemes: IPackageJSONThemeIcons[];
|
|
|
|
themes: IPackageJSONTheme[];
|
|
|
|
}
|
|
|
|
|
2017-06-20 14:39:45 +02:00
|
|
|
export interface IPackageJSONConfiguration {
|
|
|
|
properties: {
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-06-12 19:49:50 +02:00
|
|
|
export interface IPackageJSONCommand {
|
|
|
|
category: string;
|
|
|
|
command: string;
|
|
|
|
title: string;
|
|
|
|
}
|
|
|
|
|
|
|
|
export interface IPackageJSONTheme {
|
|
|
|
label: string;
|
|
|
|
path: string;
|
|
|
|
uiTheme: string;
|
|
|
|
}
|
|
|
|
|
|
|
|
export interface IPackageJSONThemeIcons {
|
|
|
|
id: string;
|
|
|
|
label: string;
|
|
|
|
path: string;
|
|
|
|
}
|
|
|
|
|
|
|
|
export interface IPackageJSON {
|
|
|
|
"activationEvents": string[]
|
|
|
|
"badges": IPackageJSONBadge[];
|
|
|
|
"contributes": IPackageJSONContributes;
|
|
|
|
"bugs": IGenericObject<string>;
|
|
|
|
"categories": string[];
|
|
|
|
"description": string;
|
|
|
|
"displayName": string;
|
|
|
|
"engines": IGenericObject<string>;
|
|
|
|
"galleryBanner": IGenericObject<string>;
|
|
|
|
"homepage": string;
|
|
|
|
"icon": string;
|
|
|
|
"license": string;
|
|
|
|
"main": string;
|
|
|
|
"name": string;
|
|
|
|
"preview": boolean;
|
|
|
|
"publisher": string;
|
|
|
|
"repository": IGenericObject<string>;
|
|
|
|
"scripts": IGenericObject<string>;
|
|
|
|
"version": string;
|
|
|
|
"devDependencies": IGenericObject<string>;
|
|
|
|
}
|