nope/modules/helloworld/src/helloworld.package.ts

47 lines
1.2 KiB
TypeScript
Raw Normal View History

2020-11-16 12:06:45 +00:00
/**
* @author Martin Karkowski
* @email m.karkowski@zema.de
* @create date 2020-11-06 16:53:43
* @modify date 2020-11-07 01:06:36
* @desc [description]
*/
import { HelloWorldModuleWithDecorators } from './helloworldWithDecorators.module';
import { IPackageDescription } from "../../../lib/types/nope/nopePackage.interface"
const TYPES = {
'helloworld': Symbol.for('helloworld')
}
export const DESCRIPTION: IPackageDescription<typeof TYPES> = {
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
}
export default DESCRIPTION;