render-core 1.4.6 → 1.4.8

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "render-core",
3
- "version": "1.4.6",
3
+ "version": "1.4.8",
4
4
  "description": "The extendable javascript web framework",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",
@@ -1,7 +1,7 @@
1
- import { RouterAction } from "../../../tension/prototype/RouterAction";
2
1
  import { HttpAction } from "../../prototype/HttpAction";
3
- export declare function set_system_ext_router(router: RouterAction): void;
4
- export declare function get_system_ext_router(): RouterAction;
2
+ import { RouterGeneric } from "../../../tension/generic/router/RouterGeneric";
3
+ export declare function set_system_ext_router(router: RouterGeneric): void;
4
+ export declare function get_system_ext_router(): RouterGeneric;
5
5
  export declare function get_user_ext_http(): HttpAction;
6
6
  export declare function set_user_ext_http(http: HttpAction): void;
7
7
  export declare function set_user_anonymous_ext(name: string, ext: any): void;
@@ -1,10 +1,8 @@
1
1
  import { HttpAction } from "../system/prototype/HttpAction";
2
- import { RouterAction } from "./prototype/RouterAction";
3
2
  var SystemInitPlugin = /** @class */ (function () {
4
3
  function SystemInitPlugin() {
5
4
  }
6
5
  SystemInitPlugin.prototype.plugin = function (preface, hooks) {
7
- preface.add_system_router(new RouterAction(hooks));
8
6
  preface.add_user_http(new HttpAction());
9
7
  };
10
8
  return SystemInitPlugin;
@@ -1,8 +1,8 @@
1
1
  import { HttpAction } from "../../../../system/prototype/HttpAction";
2
- import { RouterAction } from "../../../prototype/RouterAction";
3
2
  import { Component } from "../../../../index";
3
+ import { RouterGeneric } from "../../router/RouterGeneric";
4
4
  export interface PrefaceGeneric {
5
- add_system_router(router: RouterAction): void;
5
+ add_system_router(router: RouterGeneric): void;
6
6
  add_user_http(http: HttpAction): void;
7
7
  add_anonymous_extension(name: string, plugin: object): void;
8
8
  add_anonymous_filed(name: string, value: any): void;
@@ -1,11 +1,11 @@
1
1
  import { PrefaceGeneric } from "../generic/plugin/preface/PrefaceGeneric";
2
2
  import { Component } from "../../index";
3
- import { RouterAction } from "./RouterAction";
4
3
  import { HttpAction } from "../../system/prototype/HttpAction";
4
+ import { RouterGeneric } from "../generic/router/RouterGeneric";
5
5
  export declare class PrefaceAction implements PrefaceGeneric {
6
6
  add_anonymous_extension(name: string, plugin: object): void;
7
7
  add_anonymous_filed(name: string, value: any): void;
8
- add_system_router(router: RouterAction): void;
8
+ add_system_router(router: RouterGeneric): void;
9
9
  add_user_http(http: HttpAction): void;
10
10
  register_component(component: Component): void;
11
11
  set_field_route_mode(value: boolean): void;