2020-11-16 12:06:45 +00:00
|
|
|
/**
|
|
|
|
* @author Martin Karkowski
|
|
|
|
* @email m.karkowski@zema.de
|
|
|
|
* @create date 2020-11-06 16:53:43
|
2020-12-30 18:57:03 +00:00
|
|
|
* @modify date 2020-12-30 18:37:18
|
2020-11-16 12:06:45 +00:00
|
|
|
* @desc [description]
|
|
|
|
*/
|
|
|
|
|
2020-12-30 18:57:03 +00:00
|
|
|
import { IPackageDescription } from "../../../lib/types/nope/nopePackage.interface";
|
|
|
|
import { HelloWorldModuleWithDecorators } from "./helloworldWithDecorators.module";
|
2020-11-16 12:06:45 +00:00
|
|
|
|
|
|
|
const TYPES = {
|
2020-12-30 18:57:03 +00:00
|
|
|
helloworld: Symbol.for("helloworld")
|
|
|
|
};
|
2020-11-16 12:06:45 +00:00
|
|
|
|
|
|
|
export const DESCRIPTION: IPackageDescription<typeof TYPES> = {
|
2020-12-30 18:57:03 +00:00
|
|
|
activationHandlers: [],
|
|
|
|
autostart: {},
|
|
|
|
defaultInstances: [
|
|
|
|
{
|
|
|
|
selector: "helloworld",
|
|
|
|
options: {
|
|
|
|
identifier: "instance01",
|
|
|
|
type: "helloworld",
|
|
|
|
params: []
|
|
|
|
}
|
|
|
|
}
|
|
|
|
],
|
|
|
|
nameOfPackage: "helloworldpackage",
|
|
|
|
providedClasses: [
|
|
|
|
{
|
|
|
|
description: {
|
|
|
|
name: "helloworld",
|
|
|
|
selector: TYPES.helloworld,
|
|
|
|
type: HelloWorldModuleWithDecorators
|
|
|
|
},
|
|
|
|
settings: {
|
|
|
|
allowInstanceGeneration: true
|
|
|
|
}
|
|
|
|
}
|
|
|
|
],
|
|
|
|
providedFunctions: [],
|
|
|
|
requiredPackages: [],
|
|
|
|
types: TYPES
|
|
|
|
};
|
2020-11-16 12:06:45 +00:00
|
|
|
|
2020-12-30 18:57:03 +00:00
|
|
|
export default DESCRIPTION;
|