@openinc/parse-server-opendash 2.4.21 → 2.4.23
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/LICENSE +20 -20
- package/README.md +31 -31
- package/dist/config.js +8 -0
- package/dist/featuremap.json +2 -0
- package/dist/functions/_init.js +1 -2
- package/dist/functions/getAdminConfig.js +1 -2
- package/dist/functions/getSchemaForAdmin.js +1 -2
- package/dist/functions/opendash-geo-features.js +1 -2
- package/dist/functions/opendash-geo-google-autocomplete.d.ts +1 -0
- package/dist/functions/opendash-geo-google-autocomplete.js +66 -0
- package/dist/functions/opendash-geo-graphhopper-geocode-reverse.d.ts +1 -0
- package/dist/functions/opendash-geo-graphhopper-geocode-reverse.js +37 -0
- package/dist/functions/opendash-geo-graphhopper-geocode.d.ts +2 -0
- package/dist/functions/opendash-geo-graphhopper-geocode.js +65 -0
- package/dist/functions/openinc-auth-change-password.js +1 -2
- package/dist/functions/openinc-auth-confirm-email.js +1 -2
- package/dist/functions/openinc-auth-email-confirmation-request.js +1 -2
- package/dist/functions/openinc-auth-email-confirmation.js +1 -2
- package/dist/functions/openinc-auth-login-admin.js +1 -2
- package/dist/functions/openinc-auth-login-passwordless.js +1 -2
- package/dist/functions/openinc-auth-login.js +1 -2
- package/dist/functions/openinc-auth-password-reset-request.js +1 -2
- package/dist/functions/openinc-auth-password-reset.js +1 -2
- package/dist/functions/openinc-auth-signup.js +1 -2
- package/dist/functions/openinc-auth-validate-token.js +1 -2
- package/dist/functions/openinc-auth.common.d.ts +0 -1
- package/dist/functions/openinc-auth.common.js +5 -6
- package/dist/functions/openinc-config.js +1 -2
- package/dist/functions/openinc-geo-google-autocomplete.js +1 -2
- package/dist/functions/openinc-geo-google.common.js +2 -3
- package/dist/functions/openinc-geo-graphhopper-geocode-reverse-raw.js +1 -2
- package/dist/functions/openinc-geo-graphhopper-geocode-reverse.js +1 -2
- package/dist/functions/openinc-geo-graphhopper-geocode.js +1 -2
- package/dist/functions/openinc-geo-graphhopper-route-simple.js +1 -2
- package/dist/functions/openinc-geo-graphhopper.common.js +2 -3
- package/dist/functions/openinc-user-roles.d.ts +1 -0
- package/dist/functions/openinc-user-roles.js +19 -0
- package/dist/functions/openservice-tickets-sorter.d.ts +1 -0
- package/dist/functions/openservice-tickets-sorter.js +7 -0
- package/dist/helper/pdf2img.js +1 -2
- package/dist/helper/transformLogin.js +1 -2
- package/dist/hooks/Alarm.js +1 -2
- package/dist/hooks/AlarmAction.js +1 -2
- package/dist/hooks/AlarmWebhook.js +1 -2
- package/dist/hooks/Attachment.js +1 -2
- package/dist/hooks/BDE_Form.js +1 -2
- package/dist/hooks/BDE_List.js +1 -2
- package/dist/hooks/BDE_ListEntry.js +1 -2
- package/dist/hooks/BDE_Page.js +1 -2
- package/dist/hooks/BDE_Result.js +1 -2
- package/dist/hooks/BDE_Unit.js +1 -2
- package/dist/hooks/Company.d.ts +1 -0
- package/dist/hooks/Company.js +15 -0
- package/dist/hooks/Config.js +1 -2
- package/dist/hooks/Contact.d.ts +1 -0
- package/dist/hooks/Contact.js +15 -0
- package/dist/hooks/Core_Email.js +4 -5
- package/dist/hooks/Core_Token.js +1 -2
- package/dist/hooks/Dashboard.js +1 -2
- package/dist/hooks/GTFS_Agency.js +1 -2
- package/dist/hooks/GTFS_Bikes_Allowed.js +1 -2
- package/dist/hooks/GTFS_Calendar.js +1 -2
- package/dist/hooks/GTFS_Direction.js +1 -2
- package/dist/hooks/GTFS_Level.js +1 -2
- package/dist/hooks/GTFS_Location_Type.js +1 -2
- package/dist/hooks/GTFS_Route.js +1 -2
- package/dist/hooks/GTFS_Route_Type.js +1 -2
- package/dist/hooks/GTFS_Stop.js +1 -2
- package/dist/hooks/GTFS_Stop_Times.js +1 -2
- package/dist/hooks/GTFS_Trip.js +1 -2
- package/dist/hooks/GTFS_Wheelchair_Accessible.js +1 -2
- package/dist/hooks/GTFS_Wheelchair_Boarding.js +1 -2
- package/dist/hooks/Group.js +1 -2
- package/dist/hooks/Knowledge_Article.js +1 -2
- package/dist/hooks/Knowledge_Category.js +1 -2
- package/dist/hooks/Knowledge_Document.js +1 -2
- package/dist/hooks/Knowledge_DocumentPage.js +1 -2
- package/dist/hooks/Knowledge_Video.js +1 -2
- package/dist/hooks/Language.js +1 -2
- package/dist/hooks/Log.js +1 -2
- package/dist/hooks/MIAAS_MDSEndpoint.js +1 -2
- package/dist/hooks/MailTemplate.js +1 -2
- package/dist/hooks/Maintenance_Article.js +1 -2
- package/dist/hooks/Maintenance_DailySchedule.js +1 -2
- package/dist/hooks/Maintenance_Downtime.js +1 -2
- package/dist/hooks/Maintenance_Duedate.js +1 -2
- package/dist/hooks/Maintenance_Frequency.js +1 -2
- package/dist/hooks/Maintenance_Issuecategory.js +1 -2
- package/dist/hooks/Maintenance_Item.js +1 -2
- package/dist/hooks/Maintenance_Kanban_State.js +1 -2
- package/dist/hooks/Maintenance_Media.js +1 -2
- package/dist/hooks/Maintenance_Message.js +1 -2
- package/dist/hooks/Maintenance_Message_Body.js +1 -2
- package/dist/hooks/Maintenance_Order.js +1 -2
- package/dist/hooks/Maintenance_Priority.js +1 -2
- package/dist/hooks/Maintenance_Restriction.js +1 -2
- package/dist/hooks/Maintenance_Schedule.js +1 -2
- package/dist/hooks/Maintenance_Schedule_Execution.js +1 -2
- package/dist/hooks/Maintenance_Schedule_Execution_Step.js +1 -2
- package/dist/hooks/Maintenance_Schedule_Step.js +1 -2
- package/dist/hooks/Maintenance_SourceMeta.js +1 -2
- package/dist/hooks/Maintenance_Ticket.js +1 -2
- package/dist/hooks/Maintenance_Ticket_Issuecategory.js +1 -2
- package/dist/hooks/Maintenance_Ticket_Kanban_State.js +1 -2
- package/dist/hooks/Maintenance_Ticket_Source.js +1 -2
- package/dist/hooks/Monitoring_DataHierachies.js +1 -2
- package/dist/hooks/Monitoring_Jobs.js +1 -2
- package/dist/hooks/Monitoring_ReportImage.js +1 -2
- package/dist/hooks/Monitoring_Slideshow.js +1 -2
- package/dist/hooks/NavigationGroup.js +1 -2
- package/dist/hooks/NavigationItem.js +1 -2
- package/dist/hooks/Notification.js +1 -2
- package/dist/hooks/Permission.js +1 -2
- package/dist/hooks/Push.js +1 -2
- package/dist/hooks/Report.js +1 -2
- package/dist/hooks/Share.js +1 -2
- package/dist/hooks/Source.js +1 -2
- package/dist/hooks/SourceMeta.js +14 -4
- package/dist/hooks/Tenant.js +1 -2
- package/dist/hooks/TenantMeta.js +1 -2
- package/dist/hooks/TenantTrustedDomain.js +1 -2
- package/dist/hooks/UserData.js +1 -2
- package/dist/hooks/VirtualKPI.js +1 -2
- package/dist/hooks/WebPush.js +1 -2
- package/dist/hooks/Widget.js +1 -2
- package/dist/hooks/WidgetPreset.js +1 -2
- package/dist/hooks/_User.js +1 -2
- package/dist/hooks/_beforeLogin.js +1 -2
- package/dist/hooks/_init.js +1 -2
- package/dist/index.js +17 -17
- package/dist/ow.js +2 -3
- package/dist/types/Alarm.d.ts +3 -1
- package/dist/types/Alarm.js +6 -0
- package/dist/types/AlarmAction.d.ts +0 -1
- package/dist/types/AlarmWebhook.d.ts +0 -1
- package/dist/types/Attachment.d.ts +0 -1
- package/dist/types/BDE_Form.d.ts +0 -1
- package/dist/types/BDE_List.d.ts +0 -1
- package/dist/types/BDE_ListEntry.d.ts +0 -1
- package/dist/types/BDE_Page.d.ts +0 -1
- package/dist/types/BDE_Result.d.ts +0 -1
- package/dist/types/BDE_Unit.d.ts +0 -1
- package/dist/types/Company.d.ts +23 -0
- package/dist/types/Company.js +29 -0
- package/dist/types/Config.d.ts +0 -1
- package/dist/types/Contact.d.ts +54 -0
- package/dist/types/Contact.js +95 -0
- package/dist/types/Core_Email.d.ts +0 -1
- package/dist/types/Core_Token.d.ts +0 -1
- package/dist/types/Dashboard.d.ts +0 -1
- package/dist/types/GTFS_Agency.d.ts +0 -1
- package/dist/types/GTFS_Bikes_Allowed.d.ts +0 -1
- package/dist/types/GTFS_Calendar.d.ts +0 -1
- package/dist/types/GTFS_Direction.d.ts +0 -1
- package/dist/types/GTFS_Level.d.ts +0 -1
- package/dist/types/GTFS_Location_Type.d.ts +0 -1
- package/dist/types/GTFS_Route.d.ts +0 -1
- package/dist/types/GTFS_Route_Type.d.ts +0 -1
- package/dist/types/GTFS_Stop.d.ts +0 -1
- package/dist/types/GTFS_Stop_Times.d.ts +0 -1
- package/dist/types/GTFS_Trip.d.ts +0 -1
- package/dist/types/GTFS_Wheelchair_Accessible.d.ts +0 -1
- package/dist/types/GTFS_Wheelchair_Boarding.d.ts +0 -1
- package/dist/types/Group.d.ts +0 -1
- package/dist/types/Knowledge_Article.d.ts +0 -1
- package/dist/types/Knowledge_Category.d.ts +0 -1
- package/dist/types/Knowledge_Document.d.ts +0 -1
- package/dist/types/Knowledge_DocumentPage.d.ts +0 -1
- package/dist/types/Knowledge_Video.d.ts +0 -1
- package/dist/types/Language.d.ts +0 -1
- package/dist/types/Log.d.ts +0 -1
- package/dist/types/MIAAS_MDSEndpoint.d.ts +0 -1
- package/dist/types/MailTemplate.d.ts +0 -1
- package/dist/types/Maintenance_Article.d.ts +0 -1
- package/dist/types/Maintenance_DailySchedule.d.ts +10 -1
- package/dist/types/Maintenance_DailySchedule.js +15 -0
- package/dist/types/Maintenance_Downtime.d.ts +0 -1
- package/dist/types/Maintenance_Duedate.d.ts +0 -1
- package/dist/types/Maintenance_File.d.ts +24 -0
- package/dist/types/Maintenance_File.js +35 -0
- package/dist/types/Maintenance_Frequency.d.ts +0 -1
- package/dist/types/Maintenance_Issuecategory.d.ts +0 -1
- package/dist/types/Maintenance_Item.d.ts +30 -1
- package/dist/types/Maintenance_Item.js +57 -0
- package/dist/types/Maintenance_Kanban_State.d.ts +0 -1
- package/dist/types/Maintenance_Media.d.ts +0 -1
- package/dist/types/Maintenance_Message.d.ts +0 -1
- package/dist/types/Maintenance_Message_Body.d.ts +0 -1
- package/dist/types/Maintenance_Order.d.ts +0 -1
- package/dist/types/Maintenance_Priority.d.ts +0 -1
- package/dist/types/Maintenance_Restriction.d.ts +0 -1
- package/dist/types/Maintenance_Schedule.d.ts +0 -1
- package/dist/types/Maintenance_Schedule_Execution.d.ts +0 -1
- package/dist/types/Maintenance_Schedule_Execution_Step.d.ts +4 -5
- package/dist/types/Maintenance_Schedule_Execution_Step.js +6 -6
- package/dist/types/Maintenance_Schedule_Step.d.ts +4 -5
- package/dist/types/Maintenance_Schedule_Step.js +6 -6
- package/dist/types/Maintenance_SourceMeta.d.ts +0 -1
- package/dist/types/Maintenance_Source_File.d.ts +25 -0
- package/dist/types/Maintenance_Source_File.js +32 -0
- package/dist/types/Maintenance_Ticket.d.ts +6 -1
- package/dist/types/Maintenance_Ticket.js +9 -0
- package/dist/types/Maintenance_Ticket_Issuecategory.d.ts +0 -1
- package/dist/types/Maintenance_Ticket_Kanban_State.d.ts +0 -1
- package/dist/types/Maintenance_Ticket_Source.d.ts +0 -1
- package/dist/types/Monitoring_DataHierachies.d.ts +0 -1
- package/dist/types/Monitoring_Jobs.d.ts +0 -1
- package/dist/types/Monitoring_ReportImage.d.ts +0 -1
- package/dist/types/Monitoring_Slideshow.d.ts +0 -1
- package/dist/types/NavigationGroup.d.ts +0 -1
- package/dist/types/NavigationItem.d.ts +0 -1
- package/dist/types/Notification.d.ts +0 -1
- package/dist/types/Permission.d.ts +6 -1
- package/dist/types/Permission.js +12 -0
- package/dist/types/Push.d.ts +0 -1
- package/dist/types/Report.d.ts +0 -1
- package/dist/types/Share.d.ts +0 -1
- package/dist/types/Source.d.ts +0 -1
- package/dist/types/SourceMeta.d.ts +13 -1
- package/dist/types/SourceMeta.js +24 -0
- package/dist/types/Tenant.d.ts +0 -1
- package/dist/types/TenantMeta.d.ts +0 -1
- package/dist/types/TenantTrustedDomain.d.ts +0 -1
- package/dist/types/UserData.d.ts +0 -1
- package/dist/types/VirtualKPI.d.ts +0 -1
- package/dist/types/WebPush.d.ts +0 -1
- package/dist/types/Widget.d.ts +0 -1
- package/dist/types/WidgetPreset.d.ts +0 -1
- package/dist/types/_Role.d.ts +0 -1
- package/dist/types/_Session.d.ts +0 -1
- package/dist/types/_User.d.ts +0 -1
- package/dist/types/index.d.ts +8 -0
- package/dist/types/index.js +10 -2
- package/package.json +8 -8
- package/schema/BDE_Form.json +52 -52
- package/schema/GTFS_Route.json +78 -78
- package/schema/GTFS_Trip.json +70 -70
- package/schema/MailTemplate.json +52 -52
- package/schema/Maintenance_DailySchedule.json +49 -49
- package/schema/Maintenance_Message.json +54 -54
- package/schema/Maintenance_Message_Body.json +51 -51
- package/schema/Maintenance_Ticket.json +62 -62
- package/schema/Monitoring_DataHierachies.json +49 -49
- package/schema/Monitoring_Jobs.json +54 -54
- package/schema/Monitoring_ReportImage.json +52 -52
- package/schema/Report.json +73 -73
- package/schema/Source.json +52 -52
- package/schema/SourceMeta.json +34 -34
- package/schema/Tenant.json +81 -81
- package/schema/TenantMeta.json +30 -30
- package/schema/VirtualKPI.json +50 -50
- package/schema/WebPush.json +42 -42
package/dist/hooks/Log.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.init =
|
|
3
|
+
exports.init = init;
|
|
4
4
|
const __1 = require("..");
|
|
5
5
|
const types_1 = require("../types");
|
|
6
6
|
async function init() {
|
|
@@ -15,4 +15,3 @@ async function init() {
|
|
|
15
15
|
// TODO
|
|
16
16
|
});
|
|
17
17
|
}
|
|
18
|
-
exports.init = init;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.init =
|
|
3
|
+
exports.init = init;
|
|
4
4
|
const __1 = require("..");
|
|
5
5
|
const types_1 = require("../types");
|
|
6
6
|
async function init() {
|
|
@@ -15,4 +15,3 @@ async function init() {
|
|
|
15
15
|
// TODO
|
|
16
16
|
});
|
|
17
17
|
}
|
|
18
|
-
exports.init = init;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.init =
|
|
3
|
+
exports.init = init;
|
|
4
4
|
const __1 = require("..");
|
|
5
5
|
const types_1 = require("../types");
|
|
6
6
|
async function init() {
|
|
@@ -15,4 +15,3 @@ async function init() {
|
|
|
15
15
|
// TODO
|
|
16
16
|
});
|
|
17
17
|
}
|
|
18
|
-
exports.init = init;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.init =
|
|
3
|
+
exports.init = init;
|
|
4
4
|
const __1 = require("..");
|
|
5
5
|
const types_1 = require("../types");
|
|
6
6
|
async function init() {
|
|
@@ -15,4 +15,3 @@ async function init() {
|
|
|
15
15
|
// TODO
|
|
16
16
|
});
|
|
17
17
|
}
|
|
18
|
-
exports.init = init;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.init =
|
|
3
|
+
exports.init = init;
|
|
4
4
|
const __1 = require("..");
|
|
5
5
|
const types_1 = require("../types");
|
|
6
6
|
async function init() {
|
|
@@ -15,4 +15,3 @@ async function init() {
|
|
|
15
15
|
// TODO
|
|
16
16
|
});
|
|
17
17
|
}
|
|
18
|
-
exports.init = init;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.init =
|
|
3
|
+
exports.init = init;
|
|
4
4
|
const __1 = require("..");
|
|
5
5
|
const types_1 = require("../types");
|
|
6
6
|
async function init() {
|
|
@@ -15,4 +15,3 @@ async function init() {
|
|
|
15
15
|
// TODO
|
|
16
16
|
});
|
|
17
17
|
}
|
|
18
|
-
exports.init = init;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.init =
|
|
3
|
+
exports.init = init;
|
|
4
4
|
const __1 = require("..");
|
|
5
5
|
const types_1 = require("../types");
|
|
6
6
|
async function init() {
|
|
@@ -15,4 +15,3 @@ async function init() {
|
|
|
15
15
|
// TODO
|
|
16
16
|
});
|
|
17
17
|
}
|
|
18
|
-
exports.init = init;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.init =
|
|
3
|
+
exports.init = init;
|
|
4
4
|
const __1 = require("..");
|
|
5
5
|
const types_1 = require("../types");
|
|
6
6
|
async function init() {
|
|
@@ -15,4 +15,3 @@ async function init() {
|
|
|
15
15
|
// TODO
|
|
16
16
|
});
|
|
17
17
|
}
|
|
18
|
-
exports.init = init;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.init =
|
|
3
|
+
exports.init = init;
|
|
4
4
|
const __1 = require("..");
|
|
5
5
|
const types_1 = require("../types");
|
|
6
6
|
async function init() {
|
|
@@ -18,4 +18,3 @@ async function init() {
|
|
|
18
18
|
// TODO
|
|
19
19
|
});
|
|
20
20
|
}
|
|
21
|
-
exports.init = init;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.init =
|
|
3
|
+
exports.init = init;
|
|
4
4
|
const __1 = require("..");
|
|
5
5
|
const types_1 = require("../types");
|
|
6
6
|
async function init() {
|
|
@@ -15,4 +15,3 @@ async function init() {
|
|
|
15
15
|
// TODO
|
|
16
16
|
});
|
|
17
17
|
}
|
|
18
|
-
exports.init = init;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.init =
|
|
3
|
+
exports.init = init;
|
|
4
4
|
const __1 = require("..");
|
|
5
5
|
const types_1 = require("../types");
|
|
6
6
|
async function init() {
|
|
@@ -15,4 +15,3 @@ async function init() {
|
|
|
15
15
|
// TODO
|
|
16
16
|
});
|
|
17
17
|
}
|
|
18
|
-
exports.init = init;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.init =
|
|
3
|
+
exports.init = init;
|
|
4
4
|
const __1 = require("..");
|
|
5
5
|
const types_1 = require("../types");
|
|
6
6
|
async function init() {
|
|
@@ -15,4 +15,3 @@ async function init() {
|
|
|
15
15
|
// TODO
|
|
16
16
|
});
|
|
17
17
|
}
|
|
18
|
-
exports.init = init;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.init =
|
|
3
|
+
exports.init = init;
|
|
4
4
|
const __1 = require("..");
|
|
5
5
|
const types_1 = require("../types");
|
|
6
6
|
async function init() {
|
|
@@ -15,4 +15,3 @@ async function init() {
|
|
|
15
15
|
// TODO
|
|
16
16
|
});
|
|
17
17
|
}
|
|
18
|
-
exports.init = init;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.init =
|
|
3
|
+
exports.init = init;
|
|
4
4
|
const __1 = require("..");
|
|
5
5
|
const types_1 = require("../types");
|
|
6
6
|
async function init() {
|
|
@@ -15,4 +15,3 @@ async function init() {
|
|
|
15
15
|
// TODO
|
|
16
16
|
});
|
|
17
17
|
}
|
|
18
|
-
exports.init = init;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.init =
|
|
3
|
+
exports.init = init;
|
|
4
4
|
const __1 = require("..");
|
|
5
5
|
const types_1 = require("../types");
|
|
6
6
|
async function init() {
|
|
@@ -15,4 +15,3 @@ async function init() {
|
|
|
15
15
|
// TODO
|
|
16
16
|
});
|
|
17
17
|
}
|
|
18
|
-
exports.init = init;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.init =
|
|
3
|
+
exports.init = init;
|
|
4
4
|
const __1 = require("..");
|
|
5
5
|
const types_1 = require("../types");
|
|
6
6
|
async function init() {
|
|
@@ -15,4 +15,3 @@ async function init() {
|
|
|
15
15
|
// TODO
|
|
16
16
|
});
|
|
17
17
|
}
|
|
18
|
-
exports.init = init;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.init =
|
|
3
|
+
exports.init = init;
|
|
4
4
|
const __1 = require("..");
|
|
5
5
|
const types_1 = require("../types");
|
|
6
6
|
async function init() {
|
|
@@ -15,4 +15,3 @@ async function init() {
|
|
|
15
15
|
// TODO
|
|
16
16
|
});
|
|
17
17
|
}
|
|
18
|
-
exports.init = init;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.init =
|
|
3
|
+
exports.init = init;
|
|
4
4
|
const __1 = require("..");
|
|
5
5
|
const types_1 = require("../types");
|
|
6
6
|
async function init() {
|
|
@@ -15,4 +15,3 @@ async function init() {
|
|
|
15
15
|
// TODO
|
|
16
16
|
});
|
|
17
17
|
}
|
|
18
|
-
exports.init = init;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.init =
|
|
3
|
+
exports.init = init;
|
|
4
4
|
const __1 = require("..");
|
|
5
5
|
const types_1 = require("../types");
|
|
6
6
|
async function init() {
|
|
@@ -15,4 +15,3 @@ async function init() {
|
|
|
15
15
|
// TODO
|
|
16
16
|
});
|
|
17
17
|
}
|
|
18
|
-
exports.init = init;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.init =
|
|
3
|
+
exports.init = init;
|
|
4
4
|
const __1 = require("..");
|
|
5
5
|
const types_1 = require("../types");
|
|
6
6
|
async function init() {
|
|
@@ -15,4 +15,3 @@ async function init() {
|
|
|
15
15
|
// TODO
|
|
16
16
|
});
|
|
17
17
|
}
|
|
18
|
-
exports.init = init;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.init =
|
|
3
|
+
exports.init = init;
|
|
4
4
|
const __1 = require("..");
|
|
5
5
|
const types_1 = require("../types");
|
|
6
6
|
async function init() {
|
|
@@ -15,4 +15,3 @@ async function init() {
|
|
|
15
15
|
// TODO
|
|
16
16
|
});
|
|
17
17
|
}
|
|
18
|
-
exports.init = init;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.init =
|
|
3
|
+
exports.init = init;
|
|
4
4
|
const __1 = require("..");
|
|
5
5
|
const types_1 = require("../types");
|
|
6
6
|
async function init() {
|
|
@@ -15,4 +15,3 @@ async function init() {
|
|
|
15
15
|
// TODO
|
|
16
16
|
});
|
|
17
17
|
}
|
|
18
|
-
exports.init = init;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.init =
|
|
3
|
+
exports.init = init;
|
|
4
4
|
const __1 = require("..");
|
|
5
5
|
const types_1 = require("../types");
|
|
6
6
|
async function init() {
|
|
@@ -15,4 +15,3 @@ async function init() {
|
|
|
15
15
|
// TODO
|
|
16
16
|
});
|
|
17
17
|
}
|
|
18
|
-
exports.init = init;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.init =
|
|
3
|
+
exports.init = init;
|
|
4
4
|
const __1 = require("..");
|
|
5
5
|
const types_1 = require("../types");
|
|
6
6
|
async function init() {
|
|
@@ -15,4 +15,3 @@ async function init() {
|
|
|
15
15
|
// TODO
|
|
16
16
|
});
|
|
17
17
|
}
|
|
18
|
-
exports.init = init;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.init =
|
|
3
|
+
exports.init = init;
|
|
4
4
|
const __1 = require("..");
|
|
5
5
|
const types_1 = require("../types");
|
|
6
6
|
async function init() {
|
|
@@ -20,4 +20,3 @@ async function init() {
|
|
|
20
20
|
// TODO
|
|
21
21
|
});
|
|
22
22
|
}
|
|
23
|
-
exports.init = init;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.init =
|
|
3
|
+
exports.init = init;
|
|
4
4
|
const __1 = require("..");
|
|
5
5
|
const types_1 = require("../types");
|
|
6
6
|
async function init() {
|
|
@@ -15,4 +15,3 @@ async function init() {
|
|
|
15
15
|
// TODO
|
|
16
16
|
});
|
|
17
17
|
}
|
|
18
|
-
exports.init = init;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.init =
|
|
3
|
+
exports.init = init;
|
|
4
4
|
const __1 = require("..");
|
|
5
5
|
const types_1 = require("../types");
|
|
6
6
|
async function init() {
|
|
@@ -15,4 +15,3 @@ async function init() {
|
|
|
15
15
|
// TODO
|
|
16
16
|
});
|
|
17
17
|
}
|
|
18
|
-
exports.init = init;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.init =
|
|
3
|
+
exports.init = init;
|
|
4
4
|
const __1 = require("..");
|
|
5
5
|
const types_1 = require("../types");
|
|
6
6
|
async function init() {
|
|
@@ -15,4 +15,3 @@ async function init() {
|
|
|
15
15
|
// TODO
|
|
16
16
|
});
|
|
17
17
|
}
|
|
18
|
-
exports.init = init;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.init =
|
|
3
|
+
exports.init = init;
|
|
4
4
|
const __1 = require("..");
|
|
5
5
|
const types_1 = require("../types");
|
|
6
6
|
async function init() {
|
|
@@ -15,4 +15,3 @@ async function init() {
|
|
|
15
15
|
// TODO
|
|
16
16
|
});
|
|
17
17
|
}
|
|
18
|
-
exports.init = init;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.init =
|
|
3
|
+
exports.init = init;
|
|
4
4
|
const __1 = require("..");
|
|
5
5
|
const types_1 = require("../types");
|
|
6
6
|
async function init() {
|
|
@@ -14,4 +14,3 @@ async function init() {
|
|
|
14
14
|
// TODO
|
|
15
15
|
});
|
|
16
16
|
}
|
|
17
|
-
exports.init = init;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.init =
|
|
3
|
+
exports.init = init;
|
|
4
4
|
const __1 = require("..");
|
|
5
5
|
const types_1 = require("../types");
|
|
6
6
|
async function init() {
|
|
@@ -12,4 +12,3 @@ async function init() {
|
|
|
12
12
|
// TODO
|
|
13
13
|
});
|
|
14
14
|
}
|
|
15
|
-
exports.init = init;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.init =
|
|
3
|
+
exports.init = init;
|
|
4
4
|
const __1 = require("..");
|
|
5
5
|
const types_1 = require("../types");
|
|
6
6
|
async function init() {
|
|
@@ -13,4 +13,3 @@ async function init() {
|
|
|
13
13
|
// TODO
|
|
14
14
|
});
|
|
15
15
|
}
|
|
16
|
-
exports.init = init;
|
|
@@ -3,7 +3,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
3
3
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
4
|
};
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.init =
|
|
6
|
+
exports.init = init;
|
|
7
7
|
const web_push_1 = __importDefault(require("web-push"));
|
|
8
8
|
const __1 = require("..");
|
|
9
9
|
const config_1 = require("../config");
|
|
@@ -51,7 +51,6 @@ async function init() {
|
|
|
51
51
|
}
|
|
52
52
|
});
|
|
53
53
|
}
|
|
54
|
-
exports.init = init;
|
|
55
54
|
async function sendWebPush(subscription, id, title, description, icon, data) {
|
|
56
55
|
try {
|
|
57
56
|
console.log("[@openinc/parse-server-opendash][Notification]", `notification="${id}"`, `type="web"`, `subscription="${subscription?.id}"`);
|
package/dist/hooks/Permission.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.init =
|
|
3
|
+
exports.init = init;
|
|
4
4
|
const __1 = require("..");
|
|
5
5
|
const types_1 = require("../types");
|
|
6
6
|
async function init() {
|
|
@@ -16,4 +16,3 @@ async function init() {
|
|
|
16
16
|
// TODO
|
|
17
17
|
});
|
|
18
18
|
}
|
|
19
|
-
exports.init = init;
|
package/dist/hooks/Push.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.init =
|
|
3
|
+
exports.init = init;
|
|
4
4
|
const __1 = require("..");
|
|
5
5
|
const types_1 = require("../types");
|
|
6
6
|
async function init() {
|
|
@@ -27,4 +27,3 @@ async function init() {
|
|
|
27
27
|
// TODO
|
|
28
28
|
});
|
|
29
29
|
}
|
|
30
|
-
exports.init = init;
|
package/dist/hooks/Report.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.init =
|
|
3
|
+
exports.init = init;
|
|
4
4
|
const __1 = require("..");
|
|
5
5
|
const types_1 = require("../types");
|
|
6
6
|
async function init() {
|
|
@@ -13,4 +13,3 @@ async function init() {
|
|
|
13
13
|
// TODO
|
|
14
14
|
});
|
|
15
15
|
}
|
|
16
|
-
exports.init = init;
|
package/dist/hooks/Share.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.init =
|
|
3
|
+
exports.init = init;
|
|
4
4
|
const __1 = require("..");
|
|
5
5
|
const types_1 = require("../types");
|
|
6
6
|
async function init() {
|
|
@@ -13,4 +13,3 @@ async function init() {
|
|
|
13
13
|
// TODO
|
|
14
14
|
});
|
|
15
15
|
}
|
|
16
|
-
exports.init = init;
|
package/dist/hooks/Source.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.init =
|
|
3
|
+
exports.init = init;
|
|
4
4
|
const __1 = require("..");
|
|
5
5
|
const types_1 = require("../types");
|
|
6
6
|
async function init() {
|
|
@@ -88,4 +88,3 @@ async function init() {
|
|
|
88
88
|
}
|
|
89
89
|
});
|
|
90
90
|
}
|
|
91
|
-
exports.init = init;
|
package/dist/hooks/SourceMeta.js
CHANGED
|
@@ -1,18 +1,28 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.init =
|
|
3
|
+
exports.init = init;
|
|
4
4
|
const __1 = require("..");
|
|
5
5
|
const types_1 = require("../types");
|
|
6
6
|
async function init() {
|
|
7
7
|
(0, __1.beforeSaveHook)(types_1.SourceMeta, async (request) => {
|
|
8
8
|
const { object, original, user } = request;
|
|
9
9
|
await (0, __1.defaultHandler)(request);
|
|
10
|
-
|
|
11
|
-
|
|
10
|
+
// ACL start
|
|
11
|
+
let acl = object.getACL();
|
|
12
|
+
if (!acl) {
|
|
13
|
+
acl = new Parse.ACL();
|
|
14
|
+
}
|
|
15
|
+
acl.setRoleReadAccess("od-admin", true);
|
|
16
|
+
acl.setRoleWriteAccess("od-admin", true);
|
|
17
|
+
const tenant = object.get("tenant");
|
|
18
|
+
if (tenant?.id) {
|
|
19
|
+
acl.setRoleReadAccess(`od-tenant-admin-${tenant?.id}`, true);
|
|
20
|
+
acl.setRoleWriteAccess(`od-tenant-admin-${tenant?.id}`, true);
|
|
21
|
+
}
|
|
22
|
+
object.setACL(acl);
|
|
12
23
|
});
|
|
13
24
|
(0, __1.afterSaveHook)(types_1.SourceMeta, async (request) => {
|
|
14
25
|
const { object, original, user } = request;
|
|
15
26
|
// TODO
|
|
16
27
|
});
|
|
17
28
|
}
|
|
18
|
-
exports.init = init;
|
package/dist/hooks/Tenant.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.init =
|
|
3
|
+
exports.init = init;
|
|
4
4
|
const __1 = require("..");
|
|
5
5
|
const types_1 = require("../types");
|
|
6
6
|
async function init() {
|
|
@@ -72,4 +72,3 @@ async function init() {
|
|
|
72
72
|
}
|
|
73
73
|
});
|
|
74
74
|
}
|
|
75
|
-
exports.init = init;
|
package/dist/hooks/TenantMeta.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.init =
|
|
3
|
+
exports.init = init;
|
|
4
4
|
const __1 = require("..");
|
|
5
5
|
const types_1 = require("../types");
|
|
6
6
|
async function init() {
|
|
@@ -15,4 +15,3 @@ async function init() {
|
|
|
15
15
|
// TODO
|
|
16
16
|
});
|
|
17
17
|
}
|
|
18
|
-
exports.init = init;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.init =
|
|
3
|
+
exports.init = init;
|
|
4
4
|
const __1 = require("..");
|
|
5
5
|
const types_1 = require("../types");
|
|
6
6
|
async function init() {
|
|
@@ -9,4 +9,3 @@ async function init() {
|
|
|
9
9
|
});
|
|
10
10
|
(0, __1.afterSaveHook)(types_1.TenantTrustedDomain, async (request) => { });
|
|
11
11
|
}
|
|
12
|
-
exports.init = init;
|
package/dist/hooks/UserData.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.init =
|
|
3
|
+
exports.init = init;
|
|
4
4
|
const __1 = require("..");
|
|
5
5
|
const types_1 = require("../types");
|
|
6
6
|
async function init() {
|
|
@@ -13,4 +13,3 @@ async function init() {
|
|
|
13
13
|
// TODO
|
|
14
14
|
});
|
|
15
15
|
}
|
|
16
|
-
exports.init = init;
|
package/dist/hooks/VirtualKPI.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.init =
|
|
3
|
+
exports.init = init;
|
|
4
4
|
const __1 = require("..");
|
|
5
5
|
const types_1 = require("../types");
|
|
6
6
|
async function init() {
|
|
@@ -15,4 +15,3 @@ async function init() {
|
|
|
15
15
|
// TODO
|
|
16
16
|
});
|
|
17
17
|
}
|
|
18
|
-
exports.init = init;
|
package/dist/hooks/WebPush.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.init =
|
|
3
|
+
exports.init = init;
|
|
4
4
|
const __1 = require("..");
|
|
5
5
|
const types_1 = require("../types");
|
|
6
6
|
async function init() {
|
|
@@ -15,4 +15,3 @@ async function init() {
|
|
|
15
15
|
// TODO
|
|
16
16
|
});
|
|
17
17
|
}
|
|
18
|
-
exports.init = init;
|
package/dist/hooks/Widget.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.init =
|
|
3
|
+
exports.init = init;
|
|
4
4
|
const __1 = require("..");
|
|
5
5
|
const types_1 = require("../types");
|
|
6
6
|
async function init() {
|
|
@@ -13,4 +13,3 @@ async function init() {
|
|
|
13
13
|
// TODO
|
|
14
14
|
});
|
|
15
15
|
}
|
|
16
|
-
exports.init = init;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.init =
|
|
3
|
+
exports.init = init;
|
|
4
4
|
const __1 = require("..");
|
|
5
5
|
const types_1 = require("../types");
|
|
6
6
|
async function init() {
|
|
@@ -15,4 +15,3 @@ async function init() {
|
|
|
15
15
|
// TODO
|
|
16
16
|
});
|
|
17
17
|
}
|
|
18
|
-
exports.init = init;
|