@foblex/m-render 2.8.0 → 2.8.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/index.d.ts CHANGED
@@ -439,16 +439,12 @@ interface IHandler<TRequest, TResponse> {
439
439
  type IExecution<TRequest, TResponse> = IHandler<TRequest, TResponse>;
440
440
 
441
441
  type Constructor<T = any> = new (...args: any[]) => T;
442
- declare function MExecution<TRequest, TResponse>(requestType: {
443
- requestToken: symbol;
444
- }): (constructor: Constructor<IExecution<TRequest, TResponse>>) => void;
442
+ declare function MExecution<TRequest, TResponse>(requestType: Type<TRequest>): (constructor: Constructor<IExecution<TRequest, TResponse>>) => void;
445
443
 
446
444
  declare class Mediatr {
447
445
  private readonly _injector;
448
446
  private static _executions;
449
- static register<TRequest, TResponse>(type: {
450
- requestToken: symbol;
451
- }, handler: Type<IExecution<TRequest, TResponse>>): void;
447
+ static register<TRequest, TResponse>(type: any, handler: Type<IExecution<TRequest, TResponse>>): void;
452
448
  execute<TResponse>(request: any): TResponse;
453
449
  static ɵfac: i0.ɵɵFactoryDeclaration<Mediatr, never>;
454
450
  static ɵprov: i0.ɵɵInjectableDeclaration<Mediatr>;
@@ -508,7 +504,7 @@ declare class DynamicComponentsStore {
508
504
  static ɵprov: i0.ɵɵInjectableDeclaration<DynamicComponentsStore>;
509
505
  }
510
506
 
511
- declare const DYNAMIC_COMPONENTS_MODULE_PROVIDERS: (typeof DynamicComponentsStore | typeof RenderDynamicComponent | typeof RenderExternalComponent | typeof PreviewGroupService | typeof RenderInternalComponents)[];
507
+ declare const DYNAMIC_COMPONENTS_MODULE_PROVIDERS: (typeof RenderDynamicComponent | typeof DynamicComponentsStore | typeof RenderExternalComponent | typeof RenderInternalComponents | typeof PreviewGroupService)[];
512
508
 
513
509
  declare class DocumentationStore implements IMediaLinksProvider, IHeaderConfigurationStore {
514
510
  private readonly _configuration;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@foblex/m-render",
3
- "version": "2.8.0",
3
+ "version": "2.8.2",
4
4
  "description": "MRender is a static site generator designed for creating fast and user-friendly documentation sites based on Markdown files. MarkEngine supports extended Markdown syntax and can render Angular components directly from Markdown files.",
5
5
  "author": "Siarhei Huzarevich",
6
6
  "license": "MIT",