nope/test/modules/TestPackage.ts
Martin Karkowski 2a390a965f Fixing Loader
2020-11-07 01:45:20 +01:00

47 lines
1.1 KiB
TypeScript

/**
* @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 { IPackageDescription } from "../../lib/types/nope/nopePackage.interface";
import { HelloWorldModuleWithDecorators } from "./HelloWorldModuleWithDecorators";
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;