Methods
Type parameters
Parameters
name: T
unique: boolean = false
- run(type: REQUEST, params: [data: unknown, ctx: { map: MapSVGMap; repository: Repository<Model>; request: MapsvgRequest }]): Record<string, unknown>
- run(type: RESPONSE, params: [data: unknown, ctx: { map: MapSVGMap; repository: Repository<Model>; request: MapsvgRequest; response: MapsvgResponse }]): string | Record<string, unknown>
- run(type: RENDER, params: [data: Record<string, unknown>, ctx: { controller: BaseController }]): Record<string, unknown>
- run(type: MAP_LOAD, params: [data: MapOptions, ctx: { map: MapSVGMap }]): MapOptions
Parameters
Returns Record<string, unknown>