nope/modules/mod-Transformation-Tree/assembly/manual-assembly.ts

39 lines
1.1 KiB
TypeScript
Raw Normal View History

2020-08-30 07:45:44 +00:00
/**
* @author Martin Karkowski
* @email m.karkowski@zema.de
* @create date 2018-06-20 09:06:59
* @modify date 2018-06-20 09:06:59
* @desc [description]
*/
import { ICoordinateSystem } from '../type/interfaces';
import { BaseCoordinateSystem } from '../src/BaseCoordinateSystem';
import { CoordinateSystemContainer } from '../src/CoordinateSystemContainer';
import * as TRANSFORMATION from '../type/types';
export const TYPES = TRANSFORMATION.TYPES;
import { IDescriptor } from '../../ZISS-Assembly-Builder/type/interfaces';
export const EXPORT: Array<IDescriptor> = [
{
selector: TYPES.CoordinateSystem,
factorySelector: TYPES.CoordinateSystemFactory,
type: BaseCoordinateSystem,
},
{
selector: TYPES.CoordinateContainer,
factorySelector: TYPES.CoordinateContainerFactory,
type: CoordinateSystemContainer,
options: {
scope: 'inSingletonScope'
}
},
];
export const REQUIRE = ['LOGGER', 'PUBSUB', 'GRPC'];
export type CoordinateSystem = ICoordinateSystem;
export type CoordinateContainer = CoordinateSystemContainer
export const NAME = 'TRANSFORMATION';