[ACA-805] extensions metadata, basic extensibility for demo shell (#3966)

* bootstrap extensibility in demo shell app

* example data

* parse and store plugin metadata

* preserve root config metadata

* show plugin info in the About box

* update tests

* update gitignore

* remove unused imports

* disable flaky test

* add missing tsconfig entries

* use pre-build project as CLI 6+ does

* update package scripts

* update tsconfig

* make dist builds work locally

* update scripts

* Revert "update scripts"

This reverts commit 58d218643fe22d642ad7f3ac67f9089ed69ec33e.

* update scripts

* use lib paths

* update configs

* update tsconfig
This commit is contained in:
Denys Vuika
2018-11-19 23:24:24 +00:00
committed by Eugenio Romano
parent f528d23aff
commit c2bdbba0dc
22 changed files with 4273 additions and 3257 deletions

View File

@@ -19,11 +19,16 @@ import { RouteRef } from './routing.extensions';
import { RuleRef } from './rule.extensions';
import { ActionRef } from './action.extensions';
export interface ExtensionConfig {
export interface ExtensionRef {
$id: string;
$name: string;
$version: string;
$vendor: string;
$license: string;
$runtime: string;
$description?: string;
$references?: Array<string>;
$dependencies?: Array<string>;
rules?: Array<RuleRef>;
routes?: Array<RouteRef>;
@@ -33,3 +38,7 @@ export interface ExtensionConfig {
[key: string]: any;
};
}
export interface ExtensionConfig extends ExtensionRef {
$references?: Array<string | ExtensionRef>;
}