@ruiapp/rapid-core 0.8.1 → 0.8.3
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/dist/index.d.ts +4 -0
- package/dist/index.js +3 -1
- package/package.json +1 -1
- package/src/index.ts +6 -0
- package/src/plugins/cronJob/CronJobPlugin.ts +2 -1
package/dist/index.d.ts
CHANGED
|
@@ -7,6 +7,10 @@ export * from "./core/routeContext";
|
|
|
7
7
|
export * from "./core/server";
|
|
8
8
|
export * from "./core/http-types";
|
|
9
9
|
export * from "./core/actionHandler";
|
|
10
|
+
export { default as DataAccessor } from "./dataAccess/dataAccessor";
|
|
11
|
+
export * from "./dataAccess/dataAccessor";
|
|
12
|
+
export { default as EntityManager } from "./dataAccess/entityManager";
|
|
13
|
+
export * from "./dataAccess/entityManager";
|
|
10
14
|
export * from "./utilities/accessControlUtility";
|
|
11
15
|
export * from "./utilities/entityUtility";
|
|
12
16
|
export * from "./utilities/jwtUtility";
|
package/dist/index.js
CHANGED
|
@@ -8578,7 +8578,7 @@ class CronJobPlugin {
|
|
|
8578
8578
|
validateLicense(server);
|
|
8579
8579
|
let handlerContext = {
|
|
8580
8580
|
logger,
|
|
8581
|
-
routerContext:
|
|
8581
|
+
routerContext: RouteContext.newSystemOperationContext(server),
|
|
8582
8582
|
next: null,
|
|
8583
8583
|
server,
|
|
8584
8584
|
applicationConfig: null,
|
|
@@ -8986,8 +8986,10 @@ fixBigIntJSONSerialize();
|
|
|
8986
8986
|
exports.AuthPlugin = AuthPlugin;
|
|
8987
8987
|
exports.CacheFactory = CacheFactory;
|
|
8988
8988
|
exports.CronJobPlugin = CronJobPlugin;
|
|
8989
|
+
exports.DataAccessor = DataAccessor;
|
|
8989
8990
|
exports.DataManagePlugin = DataManager;
|
|
8990
8991
|
exports.EntityAccessControlPlugin = EntityAccessControlPlugin;
|
|
8992
|
+
exports.EntityManager = EntityManager;
|
|
8991
8993
|
exports.FileManagePlugin = FileManager;
|
|
8992
8994
|
exports.GlobalRequest = GlobalRequest;
|
|
8993
8995
|
exports.LicensePlugin = LicensePlugin;
|
package/package.json
CHANGED
package/src/index.ts
CHANGED
|
@@ -12,6 +12,12 @@ export * from "./core/server";
|
|
|
12
12
|
export * from "./core/http-types";
|
|
13
13
|
export * from "./core/actionHandler";
|
|
14
14
|
|
|
15
|
+
export { default as DataAccessor } from "./dataAccess/dataAccessor";
|
|
16
|
+
export * from "./dataAccess/dataAccessor";
|
|
17
|
+
|
|
18
|
+
export { default as EntityManager } from "./dataAccess/entityManager";
|
|
19
|
+
export * from "./dataAccess/entityManager";
|
|
20
|
+
|
|
15
21
|
export * from "./utilities/accessControlUtility";
|
|
16
22
|
export * from "./utilities/entityUtility";
|
|
17
23
|
export * from "./utilities/jwtUtility";
|
|
@@ -13,6 +13,7 @@ import {
|
|
|
13
13
|
import { ActionHandlerContext } from "~/core/actionHandler";
|
|
14
14
|
import { find } from "lodash";
|
|
15
15
|
import { validateLicense } from "~/helpers/licenseHelper";
|
|
16
|
+
import { RouteContext } from "~/core/routeContext";
|
|
16
17
|
|
|
17
18
|
class CronJobPlugin implements RapidPlugin {
|
|
18
19
|
#server: IRpdServer;
|
|
@@ -95,7 +96,7 @@ class CronJobPlugin implements RapidPlugin {
|
|
|
95
96
|
|
|
96
97
|
let handlerContext: ActionHandlerContext = {
|
|
97
98
|
logger,
|
|
98
|
-
routerContext:
|
|
99
|
+
routerContext: RouteContext.newSystemOperationContext(server),
|
|
99
100
|
next: null,
|
|
100
101
|
server,
|
|
101
102
|
applicationConfig: null,
|