@openinc/parse-server-opendash 2.4.11 → 2.4.13
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/featuremap.json +9 -2
- package/dist/hooks/MailTemplate.d.ts +1 -0
- package/dist/hooks/MailTemplate.js +18 -0
- package/dist/hooks/Monitoring_DataHierachies.d.ts +1 -0
- package/dist/hooks/Monitoring_DataHierachies.js +18 -0
- package/dist/hooks/Monitoring_Jobs.d.ts +1 -0
- package/dist/hooks/Monitoring_Jobs.js +18 -0
- package/dist/hooks/Monitoring_ReportImage.d.ts +1 -0
- package/dist/hooks/Monitoring_ReportImage.js +18 -0
- package/dist/hooks/SourceMeta.d.ts +1 -0
- package/dist/hooks/SourceMeta.js +18 -0
- package/dist/hooks/TenantMeta.d.ts +1 -0
- package/dist/hooks/TenantMeta.js +18 -0
- package/dist/hooks/WebPush.d.ts +1 -0
- package/dist/hooks/WebPush.js +18 -0
- package/dist/types/BDE_Form.d.ts +6 -0
- package/dist/types/BDE_Form.js +12 -0
- package/dist/types/MailTemplate.d.ts +26 -0
- package/dist/types/MailTemplate.js +41 -0
- package/dist/types/Monitoring_DataHierachies.d.ts +25 -0
- package/dist/types/Monitoring_DataHierachies.js +35 -0
- package/dist/types/Monitoring_Jobs.d.ts +35 -0
- package/dist/types/Monitoring_Jobs.js +59 -0
- package/dist/types/Monitoring_ReportImage.d.ts +28 -0
- package/dist/types/Monitoring_ReportImage.js +41 -0
- package/dist/types/Report.d.ts +3 -0
- package/dist/types/Report.js +6 -0
- package/dist/types/Source.d.ts +4 -0
- package/dist/types/Source.js +6 -0
- package/dist/types/SourceMeta.d.ts +17 -0
- package/dist/types/SourceMeta.js +23 -0
- package/dist/types/Tenant.d.ts +4 -0
- package/dist/types/Tenant.js +6 -0
- package/dist/types/TenantMeta.d.ts +15 -0
- package/dist/types/TenantMeta.js +17 -0
- package/dist/types/VirtualKPI.d.ts +3 -0
- package/dist/types/VirtualKPI.js +6 -0
- package/dist/types/WebPush.d.ts +21 -0
- package/dist/types/WebPush.js +29 -0
- package/dist/types/index.d.ts +14 -0
- package/dist/types/index.js +16 -2
- package/package.json +1 -1
- package/schema/BDE_Form.json +9 -0
- package/schema/MailTemplate.json +52 -0
- package/schema/Monitoring_DataHierachies.json +49 -0
- package/schema/Monitoring_Jobs.json +54 -0
- package/schema/Monitoring_ReportImage.json +52 -0
- package/schema/Report.json +5 -0
- package/schema/Source.json +4 -0
- package/schema/SourceMeta.json +34 -0
- package/schema/Tenant.json +4 -0
- package/schema/TenantMeta.json +30 -0
- package/schema/VirtualKPI.json +5 -0
- package/schema/WebPush.json +42 -0
package/dist/types/Tenant.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
/// <reference types="parse" />
|
|
2
2
|
import type { Source } from "./Source";
|
|
3
|
+
import type { TenantMeta } from "./TenantMeta";
|
|
3
4
|
export interface TenantAttributes {
|
|
4
5
|
id: string;
|
|
5
6
|
objectId: string;
|
|
@@ -14,6 +15,7 @@ export interface TenantAttributes {
|
|
|
14
15
|
interactWithOtherTenants: boolean;
|
|
15
16
|
label: string;
|
|
16
17
|
logo?: Parse.File;
|
|
18
|
+
meta?: TenantMeta;
|
|
17
19
|
public: boolean;
|
|
18
20
|
tagPrefix?: string;
|
|
19
21
|
}
|
|
@@ -38,6 +40,8 @@ export declare class Tenant extends Parse.Object<TenantAttributes> {
|
|
|
38
40
|
set label(value: string);
|
|
39
41
|
get logo(): Parse.File | undefined;
|
|
40
42
|
set logo(value: Parse.File | undefined);
|
|
43
|
+
get meta(): TenantMeta | undefined;
|
|
44
|
+
set meta(value: TenantMeta | undefined);
|
|
41
45
|
get public(): boolean;
|
|
42
46
|
set public(value: boolean);
|
|
43
47
|
get tagPrefix(): string | undefined;
|
package/dist/types/Tenant.js
CHANGED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/// <reference types="parse" />
|
|
2
|
+
import type { Tenant } from "./Tenant";
|
|
3
|
+
export interface TenantMetaAttributes {
|
|
4
|
+
id: string;
|
|
5
|
+
objectId: string;
|
|
6
|
+
createdAt: Date;
|
|
7
|
+
updatedAt: Date;
|
|
8
|
+
tenant: Tenant;
|
|
9
|
+
}
|
|
10
|
+
export declare class TenantMeta extends Parse.Object<TenantMetaAttributes> {
|
|
11
|
+
static className: string;
|
|
12
|
+
constructor(data?: Partial<TenantMetaAttributes>);
|
|
13
|
+
get tenant(): Tenant;
|
|
14
|
+
set tenant(value: Tenant);
|
|
15
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.TenantMeta = void 0;
|
|
4
|
+
class TenantMeta extends Parse.Object {
|
|
5
|
+
constructor(data) {
|
|
6
|
+
super("OD3_TenantMeta", data);
|
|
7
|
+
}
|
|
8
|
+
get tenant() {
|
|
9
|
+
return super.get("tenant");
|
|
10
|
+
}
|
|
11
|
+
set tenant(value) {
|
|
12
|
+
super.set("tenant", value);
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
exports.TenantMeta = TenantMeta;
|
|
16
|
+
TenantMeta.className = "OD3_TenantMeta";
|
|
17
|
+
Parse.Object.registerSubclass("OD3_TenantMeta", TenantMeta);
|
|
@@ -5,6 +5,7 @@ export interface VirtualKPIAttributes {
|
|
|
5
5
|
objectId: string;
|
|
6
6
|
createdAt: Date;
|
|
7
7
|
updatedAt: Date;
|
|
8
|
+
label: string;
|
|
8
9
|
pipe: any;
|
|
9
10
|
template: any;
|
|
10
11
|
tenant?: Tenant;
|
|
@@ -12,6 +13,8 @@ export interface VirtualKPIAttributes {
|
|
|
12
13
|
export declare class VirtualKPI extends Parse.Object<VirtualKPIAttributes> {
|
|
13
14
|
static className: string;
|
|
14
15
|
constructor(data?: Partial<VirtualKPIAttributes>);
|
|
16
|
+
get label(): string;
|
|
17
|
+
set label(value: string);
|
|
15
18
|
get pipe(): any;
|
|
16
19
|
set pipe(value: any);
|
|
17
20
|
get template(): any;
|
package/dist/types/VirtualKPI.js
CHANGED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/// <reference types="parse" />
|
|
2
|
+
import type { _User } from "./_User";
|
|
3
|
+
export interface WebPushAttributes {
|
|
4
|
+
id: string;
|
|
5
|
+
objectId: string;
|
|
6
|
+
createdAt: Date;
|
|
7
|
+
updatedAt: Date;
|
|
8
|
+
label: string;
|
|
9
|
+
subscription: any;
|
|
10
|
+
user: _User;
|
|
11
|
+
}
|
|
12
|
+
export declare class WebPush extends Parse.Object<WebPushAttributes> {
|
|
13
|
+
static className: string;
|
|
14
|
+
constructor(data?: Partial<WebPushAttributes>);
|
|
15
|
+
get label(): string;
|
|
16
|
+
set label(value: string);
|
|
17
|
+
get subscription(): any;
|
|
18
|
+
set subscription(value: any);
|
|
19
|
+
get user(): _User;
|
|
20
|
+
set user(value: _User);
|
|
21
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.WebPush = void 0;
|
|
4
|
+
class WebPush extends Parse.Object {
|
|
5
|
+
constructor(data) {
|
|
6
|
+
super("OD3_WebPush", data);
|
|
7
|
+
}
|
|
8
|
+
get label() {
|
|
9
|
+
return super.get("label");
|
|
10
|
+
}
|
|
11
|
+
set label(value) {
|
|
12
|
+
super.set("label", value);
|
|
13
|
+
}
|
|
14
|
+
get subscription() {
|
|
15
|
+
return super.get("subscription");
|
|
16
|
+
}
|
|
17
|
+
set subscription(value) {
|
|
18
|
+
super.set("subscription", value);
|
|
19
|
+
}
|
|
20
|
+
get user() {
|
|
21
|
+
return super.get("user");
|
|
22
|
+
}
|
|
23
|
+
set user(value) {
|
|
24
|
+
super.set("user", value);
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
exports.WebPush = WebPush;
|
|
28
|
+
WebPush.className = "OD3_WebPush";
|
|
29
|
+
Parse.Object.registerSubclass("OD3_WebPush", WebPush);
|
package/dist/types/index.d.ts
CHANGED
|
@@ -70,6 +70,8 @@ export { Log } from "./Log";
|
|
|
70
70
|
export type { LogAttributes } from "./Log";
|
|
71
71
|
export { MIAAS_MDSEndpoint } from "./MIAAS_MDSEndpoint";
|
|
72
72
|
export type { MIAAS_MDSEndpointAttributes } from "./MIAAS_MDSEndpoint";
|
|
73
|
+
export { MailTemplate } from "./MailTemplate";
|
|
74
|
+
export type { MailTemplateAttributes } from "./MailTemplate";
|
|
73
75
|
export { Maintenance_Article } from "./Maintenance_Article";
|
|
74
76
|
export type { Maintenance_ArticleAttributes } from "./Maintenance_Article";
|
|
75
77
|
export { Maintenance_Downtime } from "./Maintenance_Downtime";
|
|
@@ -114,6 +116,12 @@ export { Maintenance_Ticket_Kanban_State } from "./Maintenance_Ticket_Kanban_Sta
|
|
|
114
116
|
export type { Maintenance_Ticket_Kanban_StateAttributes } from "./Maintenance_Ticket_Kanban_State";
|
|
115
117
|
export { Maintenance_Ticket_Source } from "./Maintenance_Ticket_Source";
|
|
116
118
|
export type { Maintenance_Ticket_SourceAttributes } from "./Maintenance_Ticket_Source";
|
|
119
|
+
export { Monitoring_DataHierachies } from "./Monitoring_DataHierachies";
|
|
120
|
+
export type { Monitoring_DataHierachiesAttributes } from "./Monitoring_DataHierachies";
|
|
121
|
+
export { Monitoring_Jobs } from "./Monitoring_Jobs";
|
|
122
|
+
export type { Monitoring_JobsAttributes } from "./Monitoring_Jobs";
|
|
123
|
+
export { Monitoring_ReportImage } from "./Monitoring_ReportImage";
|
|
124
|
+
export type { Monitoring_ReportImageAttributes } from "./Monitoring_ReportImage";
|
|
117
125
|
export { Monitoring_Slideshow } from "./Monitoring_Slideshow";
|
|
118
126
|
export type { Monitoring_SlideshowAttributes } from "./Monitoring_Slideshow";
|
|
119
127
|
export { NavigationGroup } from "./NavigationGroup";
|
|
@@ -132,14 +140,20 @@ export { Share } from "./Share";
|
|
|
132
140
|
export type { ShareAttributes } from "./Share";
|
|
133
141
|
export { Source } from "./Source";
|
|
134
142
|
export type { SourceAttributes } from "./Source";
|
|
143
|
+
export { SourceMeta } from "./SourceMeta";
|
|
144
|
+
export type { SourceMetaAttributes } from "./SourceMeta";
|
|
135
145
|
export { Tenant } from "./Tenant";
|
|
136
146
|
export type { TenantAttributes } from "./Tenant";
|
|
147
|
+
export { TenantMeta } from "./TenantMeta";
|
|
148
|
+
export type { TenantMetaAttributes } from "./TenantMeta";
|
|
137
149
|
export { TenantTrustedDomain } from "./TenantTrustedDomain";
|
|
138
150
|
export type { TenantTrustedDomainAttributes } from "./TenantTrustedDomain";
|
|
139
151
|
export { UserData } from "./UserData";
|
|
140
152
|
export type { UserDataAttributes } from "./UserData";
|
|
141
153
|
export { VirtualKPI } from "./VirtualKPI";
|
|
142
154
|
export type { VirtualKPIAttributes } from "./VirtualKPI";
|
|
155
|
+
export { WebPush } from "./WebPush";
|
|
156
|
+
export type { WebPushAttributes } from "./WebPush";
|
|
143
157
|
export { Widget } from "./Widget";
|
|
144
158
|
export type { WidgetAttributes } from "./Widget";
|
|
145
159
|
export { WidgetPreset } from "./WidgetPreset";
|
package/dist/types/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
exports.WidgetPreset = exports.Widget = exports.VirtualKPI = exports.UserData = exports.TenantTrustedDomain = exports.Tenant = exports.Source = exports.Share = exports.Report = exports.Push = exports.Permission = exports.Notification = exports.NavigationItem = exports.NavigationGroup = exports.Monitoring_Slideshow = exports.Maintenance_Ticket_Source = exports.Maintenance_Ticket_Kanban_State = exports.Maintenance_Ticket_Issuecategory = exports.Maintenance_Ticket = exports.Maintenance_SourceMeta = exports.Maintenance_Schedule_Step = exports.Maintenance_Schedule_Execution_Step = exports.Maintenance_Schedule_Execution = void 0;
|
|
3
|
+
exports.Maintenance_Restriction = exports.Maintenance_Priority = exports.Maintenance_Order = exports.Maintenance_Message_Body = exports.Maintenance_Message = exports.Maintenance_Media = exports.Maintenance_Kanban_State = exports.Maintenance_Item = exports.Maintenance_Issuecategory = exports.Maintenance_Frequency = exports.Maintenance_Duedate = exports.Maintenance_Downtime = exports.Maintenance_Article = exports.MailTemplate = exports.MIAAS_MDSEndpoint = exports.Log = exports.Language = exports.Knowledge_Video = exports.Knowledge_DocumentPage = exports.Knowledge_Document = exports.Knowledge_Category = exports.Knowledge_Article = exports.Group = exports.GTFS_Wheelchair_Boarding = exports.GTFS_Wheelchair_Accessible = exports.GTFS_Trip = exports.GTFS_Stop_Times = exports.GTFS_Stop = exports.GTFS_Route_Type = exports.GTFS_Route = exports.GTFS_Location_Type = exports.GTFS_Level = exports.GTFS_Direction = exports.GTFS_Calendar = exports.GTFS_Bikes_Allowed = exports.GTFS_Agency = exports.Dashboard = exports.Core_Token = exports.Core_Email = exports.Config = exports.BDE_Unit = exports.BDE_Result = exports.BDE_Page = exports.BDE_ListEntry = exports.BDE_List = exports.BDE_Form = exports.Attachment = exports.AlarmWebhook = exports.AlarmAction = exports.Alarm = void 0;
|
|
4
|
+
exports.WidgetPreset = exports.Widget = exports.WebPush = exports.VirtualKPI = exports.UserData = exports.TenantTrustedDomain = exports.TenantMeta = exports.Tenant = exports.SourceMeta = exports.Source = exports.Share = exports.Report = exports.Push = exports.Permission = exports.Notification = exports.NavigationItem = exports.NavigationGroup = exports.Monitoring_Slideshow = exports.Monitoring_ReportImage = exports.Monitoring_Jobs = exports.Monitoring_DataHierachies = exports.Maintenance_Ticket_Source = exports.Maintenance_Ticket_Kanban_State = exports.Maintenance_Ticket_Issuecategory = exports.Maintenance_Ticket = exports.Maintenance_SourceMeta = exports.Maintenance_Schedule_Step = exports.Maintenance_Schedule_Execution_Step = exports.Maintenance_Schedule_Execution = exports.Maintenance_Schedule = void 0;
|
|
5
5
|
var Alarm_1 = require("./Alarm");
|
|
6
6
|
Object.defineProperty(exports, "Alarm", { enumerable: true, get: function () { return Alarm_1.Alarm; } });
|
|
7
7
|
var AlarmAction_1 = require("./AlarmAction");
|
|
@@ -74,6 +74,8 @@ var Log_1 = require("./Log");
|
|
|
74
74
|
Object.defineProperty(exports, "Log", { enumerable: true, get: function () { return Log_1.Log; } });
|
|
75
75
|
var MIAAS_MDSEndpoint_1 = require("./MIAAS_MDSEndpoint");
|
|
76
76
|
Object.defineProperty(exports, "MIAAS_MDSEndpoint", { enumerable: true, get: function () { return MIAAS_MDSEndpoint_1.MIAAS_MDSEndpoint; } });
|
|
77
|
+
var MailTemplate_1 = require("./MailTemplate");
|
|
78
|
+
Object.defineProperty(exports, "MailTemplate", { enumerable: true, get: function () { return MailTemplate_1.MailTemplate; } });
|
|
77
79
|
var Maintenance_Article_1 = require("./Maintenance_Article");
|
|
78
80
|
Object.defineProperty(exports, "Maintenance_Article", { enumerable: true, get: function () { return Maintenance_Article_1.Maintenance_Article; } });
|
|
79
81
|
var Maintenance_Downtime_1 = require("./Maintenance_Downtime");
|
|
@@ -118,6 +120,12 @@ var Maintenance_Ticket_Kanban_State_1 = require("./Maintenance_Ticket_Kanban_Sta
|
|
|
118
120
|
Object.defineProperty(exports, "Maintenance_Ticket_Kanban_State", { enumerable: true, get: function () { return Maintenance_Ticket_Kanban_State_1.Maintenance_Ticket_Kanban_State; } });
|
|
119
121
|
var Maintenance_Ticket_Source_1 = require("./Maintenance_Ticket_Source");
|
|
120
122
|
Object.defineProperty(exports, "Maintenance_Ticket_Source", { enumerable: true, get: function () { return Maintenance_Ticket_Source_1.Maintenance_Ticket_Source; } });
|
|
123
|
+
var Monitoring_DataHierachies_1 = require("./Monitoring_DataHierachies");
|
|
124
|
+
Object.defineProperty(exports, "Monitoring_DataHierachies", { enumerable: true, get: function () { return Monitoring_DataHierachies_1.Monitoring_DataHierachies; } });
|
|
125
|
+
var Monitoring_Jobs_1 = require("./Monitoring_Jobs");
|
|
126
|
+
Object.defineProperty(exports, "Monitoring_Jobs", { enumerable: true, get: function () { return Monitoring_Jobs_1.Monitoring_Jobs; } });
|
|
127
|
+
var Monitoring_ReportImage_1 = require("./Monitoring_ReportImage");
|
|
128
|
+
Object.defineProperty(exports, "Monitoring_ReportImage", { enumerable: true, get: function () { return Monitoring_ReportImage_1.Monitoring_ReportImage; } });
|
|
121
129
|
var Monitoring_Slideshow_1 = require("./Monitoring_Slideshow");
|
|
122
130
|
Object.defineProperty(exports, "Monitoring_Slideshow", { enumerable: true, get: function () { return Monitoring_Slideshow_1.Monitoring_Slideshow; } });
|
|
123
131
|
var NavigationGroup_1 = require("./NavigationGroup");
|
|
@@ -136,14 +144,20 @@ var Share_1 = require("./Share");
|
|
|
136
144
|
Object.defineProperty(exports, "Share", { enumerable: true, get: function () { return Share_1.Share; } });
|
|
137
145
|
var Source_1 = require("./Source");
|
|
138
146
|
Object.defineProperty(exports, "Source", { enumerable: true, get: function () { return Source_1.Source; } });
|
|
147
|
+
var SourceMeta_1 = require("./SourceMeta");
|
|
148
|
+
Object.defineProperty(exports, "SourceMeta", { enumerable: true, get: function () { return SourceMeta_1.SourceMeta; } });
|
|
139
149
|
var Tenant_1 = require("./Tenant");
|
|
140
150
|
Object.defineProperty(exports, "Tenant", { enumerable: true, get: function () { return Tenant_1.Tenant; } });
|
|
151
|
+
var TenantMeta_1 = require("./TenantMeta");
|
|
152
|
+
Object.defineProperty(exports, "TenantMeta", { enumerable: true, get: function () { return TenantMeta_1.TenantMeta; } });
|
|
141
153
|
var TenantTrustedDomain_1 = require("./TenantTrustedDomain");
|
|
142
154
|
Object.defineProperty(exports, "TenantTrustedDomain", { enumerable: true, get: function () { return TenantTrustedDomain_1.TenantTrustedDomain; } });
|
|
143
155
|
var UserData_1 = require("./UserData");
|
|
144
156
|
Object.defineProperty(exports, "UserData", { enumerable: true, get: function () { return UserData_1.UserData; } });
|
|
145
157
|
var VirtualKPI_1 = require("./VirtualKPI");
|
|
146
158
|
Object.defineProperty(exports, "VirtualKPI", { enumerable: true, get: function () { return VirtualKPI_1.VirtualKPI; } });
|
|
159
|
+
var WebPush_1 = require("./WebPush");
|
|
160
|
+
Object.defineProperty(exports, "WebPush", { enumerable: true, get: function () { return WebPush_1.WebPush; } });
|
|
147
161
|
var Widget_1 = require("./Widget");
|
|
148
162
|
Object.defineProperty(exports, "Widget", { enumerable: true, get: function () { return Widget_1.Widget; } });
|
|
149
163
|
var WidgetPreset_1 = require("./WidgetPreset");
|
package/package.json
CHANGED
package/schema/BDE_Form.json
CHANGED
|
@@ -9,6 +9,10 @@
|
|
|
9
9
|
"name": {
|
|
10
10
|
"type": "String"
|
|
11
11
|
},
|
|
12
|
+
"pinOnFrontpageLink": {
|
|
13
|
+
"type": "String",
|
|
14
|
+
"required": false
|
|
15
|
+
},
|
|
12
16
|
"RID": {
|
|
13
17
|
"type": "String"
|
|
14
18
|
},
|
|
@@ -16,6 +20,11 @@
|
|
|
16
20
|
"type": "Boolean",
|
|
17
21
|
"required": true,
|
|
18
22
|
"defaultValue": false
|
|
23
|
+
},
|
|
24
|
+
"visible_in_app": {
|
|
25
|
+
"type": "Boolean",
|
|
26
|
+
"required": false,
|
|
27
|
+
"defaultValue": true
|
|
19
28
|
}
|
|
20
29
|
},
|
|
21
30
|
"classLevelPermissions": {
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
{
|
|
2
|
+
"fields": {
|
|
3
|
+
"disclaimer": {
|
|
4
|
+
"type": "String",
|
|
5
|
+
"required": false
|
|
6
|
+
},
|
|
7
|
+
"language": {
|
|
8
|
+
"type": "String",
|
|
9
|
+
"required": false,
|
|
10
|
+
"defaultValue": "de"
|
|
11
|
+
},
|
|
12
|
+
"template": {
|
|
13
|
+
"type": "String",
|
|
14
|
+
"required": false,
|
|
15
|
+
"defaultValue": "\"<p>\"+topic+\"</p><p>\"+text+\"</p>\""
|
|
16
|
+
},
|
|
17
|
+
"type": {
|
|
18
|
+
"type": "String",
|
|
19
|
+
"required": true
|
|
20
|
+
},
|
|
21
|
+
"watermark": {
|
|
22
|
+
"type": "String",
|
|
23
|
+
"required": false
|
|
24
|
+
}
|
|
25
|
+
},
|
|
26
|
+
"classLevelPermissions": {
|
|
27
|
+
"find": {
|
|
28
|
+
"*": true
|
|
29
|
+
},
|
|
30
|
+
"count": {
|
|
31
|
+
"*": true
|
|
32
|
+
},
|
|
33
|
+
"get": {
|
|
34
|
+
"*": true
|
|
35
|
+
},
|
|
36
|
+
"create": {
|
|
37
|
+
"*": true
|
|
38
|
+
},
|
|
39
|
+
"update": {
|
|
40
|
+
"*": true
|
|
41
|
+
},
|
|
42
|
+
"delete": {
|
|
43
|
+
"*": true
|
|
44
|
+
},
|
|
45
|
+
"addField": {
|
|
46
|
+
"*": true
|
|
47
|
+
},
|
|
48
|
+
"protectedFields": {
|
|
49
|
+
"*": []
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
}
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
{
|
|
2
|
+
"fields": {
|
|
3
|
+
"hierarchies": {
|
|
4
|
+
"type": "Array",
|
|
5
|
+
"required": true,
|
|
6
|
+
"defaultValue": []
|
|
7
|
+
},
|
|
8
|
+
"name": {
|
|
9
|
+
"type": "String",
|
|
10
|
+
"required": true
|
|
11
|
+
},
|
|
12
|
+
"source": {
|
|
13
|
+
"type": "Pointer",
|
|
14
|
+
"targetClass": "{{PREFIX}}Source",
|
|
15
|
+
"required": true
|
|
16
|
+
},
|
|
17
|
+
"tenant": {
|
|
18
|
+
"type": "Pointer",
|
|
19
|
+
"targetClass": "{{PREFIX}}Tenant",
|
|
20
|
+
"required": true
|
|
21
|
+
}
|
|
22
|
+
},
|
|
23
|
+
"classLevelPermissions": {
|
|
24
|
+
"find": {
|
|
25
|
+
"*": true
|
|
26
|
+
},
|
|
27
|
+
"count": {
|
|
28
|
+
"*": true
|
|
29
|
+
},
|
|
30
|
+
"get": {
|
|
31
|
+
"*": true
|
|
32
|
+
},
|
|
33
|
+
"create": {
|
|
34
|
+
"*": true
|
|
35
|
+
},
|
|
36
|
+
"update": {
|
|
37
|
+
"*": true
|
|
38
|
+
},
|
|
39
|
+
"delete": {
|
|
40
|
+
"*": true
|
|
41
|
+
},
|
|
42
|
+
"addField": {
|
|
43
|
+
"*": true
|
|
44
|
+
},
|
|
45
|
+
"protectedFields": {
|
|
46
|
+
"*": []
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
}
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
{
|
|
2
|
+
"fields": {
|
|
3
|
+
"group": {
|
|
4
|
+
"type": "String"
|
|
5
|
+
},
|
|
6
|
+
"interval": {
|
|
7
|
+
"type": "Object"
|
|
8
|
+
},
|
|
9
|
+
"last_execution_ow_job": {
|
|
10
|
+
"type": "Number"
|
|
11
|
+
},
|
|
12
|
+
"name": {
|
|
13
|
+
"type": "String"
|
|
14
|
+
},
|
|
15
|
+
"next_execution_ow_job": {
|
|
16
|
+
"type": "Number"
|
|
17
|
+
},
|
|
18
|
+
"options": {
|
|
19
|
+
"type": "Object"
|
|
20
|
+
},
|
|
21
|
+
"type": {
|
|
22
|
+
"type": "String"
|
|
23
|
+
},
|
|
24
|
+
"user": {
|
|
25
|
+
"type": "String"
|
|
26
|
+
}
|
|
27
|
+
},
|
|
28
|
+
"classLevelPermissions": {
|
|
29
|
+
"find": {
|
|
30
|
+
"*": true
|
|
31
|
+
},
|
|
32
|
+
"count": {
|
|
33
|
+
"*": true
|
|
34
|
+
},
|
|
35
|
+
"get": {
|
|
36
|
+
"*": true
|
|
37
|
+
},
|
|
38
|
+
"create": {
|
|
39
|
+
"*": true
|
|
40
|
+
},
|
|
41
|
+
"update": {
|
|
42
|
+
"*": true
|
|
43
|
+
},
|
|
44
|
+
"delete": {
|
|
45
|
+
"*": true
|
|
46
|
+
},
|
|
47
|
+
"addField": {
|
|
48
|
+
"*": true
|
|
49
|
+
},
|
|
50
|
+
"protectedFields": {
|
|
51
|
+
"*": []
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
}
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
{
|
|
2
|
+
"fields": {
|
|
3
|
+
"config": {
|
|
4
|
+
"type": "Object",
|
|
5
|
+
"required": true
|
|
6
|
+
},
|
|
7
|
+
"name": {
|
|
8
|
+
"type": "String",
|
|
9
|
+
"required": true
|
|
10
|
+
},
|
|
11
|
+
"source": {
|
|
12
|
+
"type": "Pointer",
|
|
13
|
+
"targetClass": "{{PREFIX}}Source",
|
|
14
|
+
"required": true
|
|
15
|
+
},
|
|
16
|
+
"tenant": {
|
|
17
|
+
"type": "Pointer",
|
|
18
|
+
"targetClass": "{{PREFIX}}Tenant",
|
|
19
|
+
"required": true
|
|
20
|
+
},
|
|
21
|
+
"type": {
|
|
22
|
+
"type": "String",
|
|
23
|
+
"required": true
|
|
24
|
+
}
|
|
25
|
+
},
|
|
26
|
+
"classLevelPermissions": {
|
|
27
|
+
"find": {
|
|
28
|
+
"*": true
|
|
29
|
+
},
|
|
30
|
+
"count": {
|
|
31
|
+
"*": true
|
|
32
|
+
},
|
|
33
|
+
"get": {
|
|
34
|
+
"*": true
|
|
35
|
+
},
|
|
36
|
+
"create": {
|
|
37
|
+
"*": true
|
|
38
|
+
},
|
|
39
|
+
"update": {
|
|
40
|
+
"*": true
|
|
41
|
+
},
|
|
42
|
+
"delete": {
|
|
43
|
+
"*": true
|
|
44
|
+
},
|
|
45
|
+
"addField": {
|
|
46
|
+
"*": true
|
|
47
|
+
},
|
|
48
|
+
"protectedFields": {
|
|
49
|
+
"*": []
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
}
|
package/schema/Report.json
CHANGED
package/schema/Source.json
CHANGED
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
{
|
|
2
|
+
"fields": {
|
|
3
|
+
"location": {
|
|
4
|
+
"type": "GeoPoint"
|
|
5
|
+
},
|
|
6
|
+
"name": {
|
|
7
|
+
"type": "String"
|
|
8
|
+
}
|
|
9
|
+
},
|
|
10
|
+
"classLevelPermissions": {
|
|
11
|
+
"find": {
|
|
12
|
+
"requiresAuthentication": true
|
|
13
|
+
},
|
|
14
|
+
"count": {
|
|
15
|
+
"requiresAuthentication": true
|
|
16
|
+
},
|
|
17
|
+
"get": {
|
|
18
|
+
"requiresAuthentication": true
|
|
19
|
+
},
|
|
20
|
+
"create": {
|
|
21
|
+
"requiresAuthentication": true
|
|
22
|
+
},
|
|
23
|
+
"update": {
|
|
24
|
+
"requiresAuthentication": true
|
|
25
|
+
},
|
|
26
|
+
"delete": {
|
|
27
|
+
"requiresAuthentication": true
|
|
28
|
+
},
|
|
29
|
+
"addField": {},
|
|
30
|
+
"protectedFields": {
|
|
31
|
+
"*": []
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
}
|
package/schema/Tenant.json
CHANGED
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
{
|
|
2
|
+
"fields": {
|
|
3
|
+
"tenant": {
|
|
4
|
+
"type": "Pointer",
|
|
5
|
+
"targetClass": "{{PREFIX}}Tenant",
|
|
6
|
+
"required": true
|
|
7
|
+
}
|
|
8
|
+
},
|
|
9
|
+
"classLevelPermissions": {
|
|
10
|
+
"find": {
|
|
11
|
+
"requiresAuthentication": true
|
|
12
|
+
},
|
|
13
|
+
"count": {
|
|
14
|
+
"requiresAuthentication": true
|
|
15
|
+
},
|
|
16
|
+
"get": {
|
|
17
|
+
"requiresAuthentication": true
|
|
18
|
+
},
|
|
19
|
+
"create": {},
|
|
20
|
+
"update": {
|
|
21
|
+
"role:od-admin": true,
|
|
22
|
+
"role:od-tenant-admin": true
|
|
23
|
+
},
|
|
24
|
+
"delete": {},
|
|
25
|
+
"addField": {},
|
|
26
|
+
"protectedFields": {
|
|
27
|
+
"*": []
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
}
|
package/schema/VirtualKPI.json
CHANGED
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
{
|
|
2
|
+
"fields": {
|
|
3
|
+
"label": {
|
|
4
|
+
"type": "String",
|
|
5
|
+
"required": false,
|
|
6
|
+
"defaultValue": ""
|
|
7
|
+
},
|
|
8
|
+
"subscription": {
|
|
9
|
+
"type": "Object",
|
|
10
|
+
"required": true
|
|
11
|
+
},
|
|
12
|
+
"user": {
|
|
13
|
+
"type": "Pointer",
|
|
14
|
+
"targetClass": "_User",
|
|
15
|
+
"required": true
|
|
16
|
+
}
|
|
17
|
+
},
|
|
18
|
+
"classLevelPermissions": {
|
|
19
|
+
"find": {
|
|
20
|
+
"requiresAuthentication": true
|
|
21
|
+
},
|
|
22
|
+
"count": {
|
|
23
|
+
"requiresAuthentication": true
|
|
24
|
+
},
|
|
25
|
+
"get": {
|
|
26
|
+
"requiresAuthentication": true
|
|
27
|
+
},
|
|
28
|
+
"create": {
|
|
29
|
+
"requiresAuthentication": true
|
|
30
|
+
},
|
|
31
|
+
"update": {
|
|
32
|
+
"requiresAuthentication": true
|
|
33
|
+
},
|
|
34
|
+
"delete": {
|
|
35
|
+
"requiresAuthentication": true
|
|
36
|
+
},
|
|
37
|
+
"addField": {},
|
|
38
|
+
"protectedFields": {
|
|
39
|
+
"*": []
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
}
|