@openinc/parse-server-opendash 4.0.2 → 4.0.4

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/README.md CHANGED
@@ -30,4 +30,5 @@ For a full list of options see the file at [CONFIG.md](https://github.com/open-i
30
30
 
31
31
  See the file at [DEVELOPMENT.md](https://github.com/open-inc/node-parse-server-opendash/blob/master/DEVELOPMENT.md)
32
32
 
33
+
33
34
  ##
@@ -4,12 +4,15 @@
4
4
  "OD3_AlarmWebhook": "MONITORING",
5
5
  "OD3_Assets": "CORE",
6
6
  "OD3_Attachment": "CORE",
7
+ "OD3_BDE_Article": "BDE",
7
8
  "OD3_BDE_Form": "BDE",
8
9
  "OD3_BDE_List": "BDE",
9
10
  "OD3_BDE_ListEntry": "BDE",
10
11
  "OD3_BDE_Page": "BDE",
11
12
  "OD3_BDE_Result": "BDE",
12
13
  "OD3_BDE_Unit": "BDE",
14
+ "OD3_BDE_WorkOrder": "BDE",
15
+ "OD3_BDE_WorkTime": "BDE",
13
16
  "OD3_Changelog": "CORE",
14
17
  "OD3_Company": "CORE",
15
18
  "OD3_Config": "CORE",
@@ -79,6 +82,8 @@
79
82
  "OD3_MES_Article": "MONITORING",
80
83
  "OD3_MES_Order": "MONITORING",
81
84
  "OD3_MES_OrderPlan": "MONITORING",
85
+ "OD3_Meta_Config": "CORE",
86
+ "OD3_Meta_Entry": "CORE",
82
87
  "OD3_MIAAS_MDSEndpoint": "MIAAS",
83
88
  "OD3_ML_DataSelection": "MASCHINELEARNING",
84
89
  "OD3_Monitoring_DataHierachies": "MONITORING",
@@ -0,0 +1 @@
1
+ export declare function init(): Promise<void>;
@@ -0,0 +1,17 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.init = init;
4
+ const index_js_1 = require("../features/schema/index.js");
5
+ const index_js_2 = require("../types/index.js");
6
+ async function init() {
7
+ (0, index_js_1.beforeSaveHook)(index_js_2.BDE_Article, async (request) => {
8
+ const { object, original, user } = request;
9
+ await (0, index_js_1.defaultHandler)(request);
10
+ await (0, index_js_1.defaultAclHandler)(request);
11
+ // TODO
12
+ });
13
+ (0, index_js_1.afterSaveHook)(index_js_2.BDE_Article, async (request) => {
14
+ const { object, original, user } = request;
15
+ // TODO
16
+ });
17
+ }
@@ -0,0 +1 @@
1
+ export declare function init(): Promise<void>;
@@ -0,0 +1,17 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.init = init;
4
+ const index_js_1 = require("../features/schema/index.js");
5
+ const index_js_2 = require("../types/index.js");
6
+ async function init() {
7
+ (0, index_js_1.beforeSaveHook)(index_js_2.BDE_WorkOrder, async (request) => {
8
+ const { object, original, user } = request;
9
+ await (0, index_js_1.defaultHandler)(request);
10
+ await (0, index_js_1.defaultAclHandler)(request);
11
+ // TODO
12
+ });
13
+ (0, index_js_1.afterSaveHook)(index_js_2.BDE_WorkOrder, async (request) => {
14
+ const { object, original, user } = request;
15
+ // TODO
16
+ });
17
+ }
@@ -0,0 +1 @@
1
+ export declare function init(): Promise<void>;
@@ -0,0 +1,17 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.init = init;
4
+ const index_js_1 = require("../features/schema/index.js");
5
+ const index_js_2 = require("../types/index.js");
6
+ async function init() {
7
+ (0, index_js_1.beforeSaveHook)(index_js_2.BDE_WorkTime, async (request) => {
8
+ const { object, original, user } = request;
9
+ await (0, index_js_1.defaultHandler)(request);
10
+ await (0, index_js_1.defaultAclHandler)(request);
11
+ // TODO
12
+ });
13
+ (0, index_js_1.afterSaveHook)(index_js_2.BDE_WorkTime, async (request) => {
14
+ const { object, original, user } = request;
15
+ // TODO
16
+ });
17
+ }
@@ -0,0 +1 @@
1
+ export declare function init(): Promise<void>;
@@ -0,0 +1,17 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.init = init;
4
+ const index_js_1 = require("../features/schema/index.js");
5
+ const index_js_2 = require("../types/index.js");
6
+ async function init() {
7
+ (0, index_js_1.beforeSaveHook)(index_js_2.Meta_Config, async (request) => {
8
+ const { object, original, user } = request;
9
+ await (0, index_js_1.defaultHandler)(request);
10
+ await (0, index_js_1.defaultAclHandler)(request);
11
+ // TODO
12
+ });
13
+ (0, index_js_1.afterSaveHook)(index_js_2.Meta_Config, async (request) => {
14
+ const { object, original, user } = request;
15
+ // TODO
16
+ });
17
+ }
@@ -0,0 +1 @@
1
+ export declare function init(): Promise<void>;
@@ -0,0 +1,17 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.init = init;
4
+ const index_js_1 = require("../features/schema/index.js");
5
+ const index_js_2 = require("../types/index.js");
6
+ async function init() {
7
+ (0, index_js_1.beforeSaveHook)(index_js_2.Meta_Entry, async (request) => {
8
+ const { object, original, user } = request;
9
+ await (0, index_js_1.defaultHandler)(request);
10
+ await (0, index_js_1.defaultAclHandler)(request);
11
+ // TODO
12
+ });
13
+ (0, index_js_1.afterSaveHook)(index_js_2.Meta_Entry, async (request) => {
14
+ const { object, original, user } = request;
15
+ // TODO
16
+ });
17
+ }
@@ -1,7 +1,7 @@
1
1
  import Parse from "parse/node";
2
+ import type { Tenant } from "./Tenant";
2
3
  import type { _User } from "./_User";
3
4
  import type { BDE_WorkOrder } from "./BDE_WorkOrder";
4
- import type { Tenant } from "./Tenant";
5
5
  export interface BDE_WorkTimeAttributes {
6
6
  id: string;
7
7
  objectId: string;
@@ -238,6 +238,9 @@ export { Widget } from "./Widget";
238
238
  export type { WidgetAttributes } from "./Widget";
239
239
  export { WidgetPreset } from "./WidgetPreset";
240
240
  export type { WidgetPresetAttributes } from "./WidgetPreset";
241
- export type { _Role, _RoleAttributes } from "./_Role";
242
- export type { _Session, _SessionAttributes } from "./_Session";
243
- export type { _User, _UserAttributes } from "./_User";
241
+ export type { _Role } from "./_Role";
242
+ export type { _RoleAttributes } from "./_Role";
243
+ export type { _Session } from "./_Session";
244
+ export type { _SessionAttributes } from "./_Session";
245
+ export type { _User } from "./_User";
246
+ export type { _UserAttributes } from "./_User";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openinc/parse-server-opendash",
3
- "version": "4.0.2",
3
+ "version": "4.0.4",
4
4
  "description": "Parse Server Cloud Code for open.INC Stack.",
5
5
  "packageManager": "pnpm@10.32.1",
6
6
  "keywords": [
@@ -71,14 +71,14 @@
71
71
  "cron": "^4.4.0",
72
72
  "dayjs": "^1.11.20",
73
73
  "fast-equals": "^6.0.0",
74
- "i18next": "^25.8.18",
74
+ "i18next": "^25.8.20",
75
75
  "i18next-fs-backend": "^2.6.1",
76
76
  "jsonwebtoken": "^9.0.3",
77
77
  "jwks-rsa": "^4.0.1",
78
78
  "nodemailer": "^8.0.3",
79
79
  "nunjucks": "^3.2.4",
80
80
  "parse": "^8.5.0",
81
- "parse-server": "9.6.0-alpha.37",
81
+ "parse-server": "9.6.0-alpha.43",
82
82
  "pdf-img-convert": "2.0.0",
83
83
  "rimraf": "^6.1.3",
84
84
  "semantic-release": "^25.0.3",
@@ -104,7 +104,7 @@
104
104
  "semantic-release-export-data": "^1.2.0",
105
105
  "ts-node": "^10.9.2",
106
106
  "typedoc": "^0.28.17",
107
- "typedoc-plugin-markdown": "^4.10.0",
107
+ "typedoc-plugin-markdown": "^4.11.0",
108
108
  "typescript": "^5.9.3"
109
109
  }
110
110
  }