@openinc/parse-server-opendash 2.4.54 → 2.4.59
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/config.js +9 -0
- package/dist/featuremap.json +7 -5
- package/dist/functions/openinc-deregister-permission.d.ts +5 -0
- package/dist/functions/openinc-deregister-permission.js +61 -0
- package/dist/functions/openinc-register-permission.d.ts +10 -0
- package/dist/functions/openinc-register-permission.js +51 -0
- package/dist/helper/catchError.d.ts +7 -0
- package/dist/helper/catchError.js +24 -0
- package/dist/helper/removeShorltyPreviousEntry.d.ts +2 -0
- package/dist/helper/removeShorltyPreviousEntry.js +23 -0
- package/dist/hooks/Company.js +1 -0
- package/dist/hooks/Contact.js +1 -0
- package/dist/hooks/{Maintenance_Article.js → Documentation_Category.js} +2 -2
- package/dist/hooks/Documentation_Document.js +17 -0
- package/dist/hooks/{Maintenance_File.js → Knowledge_Chat.js} +2 -2
- package/dist/hooks/Knowledge_ChatMessage.d.ts +1 -0
- package/dist/hooks/{Maintenance_Schedule.js → Knowledge_ChatMessage.js} +2 -2
- package/dist/hooks/Maintenance_Downtime.js +16 -2
- package/dist/hooks/Maintenance_Duedate.js +16 -1
- package/dist/hooks/Maintenance_Frequency.js +16 -1
- package/dist/hooks/Maintenance_Priority.js +16 -2
- package/dist/hooks/Maintenance_Restriction.js +16 -1
- package/dist/hooks/Maintenance_Schedule_Execution.js +48 -2
- package/dist/hooks/Maintenance_Schedule_Template.d.ts +1 -0
- package/dist/hooks/Maintenance_Schedule_Template.js +17 -0
- package/dist/hooks/Maintenance_Ticket_Assignment.d.ts +1 -0
- package/dist/hooks/Maintenance_Ticket_Assignment.js +17 -0
- package/dist/hooks/Maintenance_Ticket_Issuecategory.js +16 -2
- package/dist/hooks/Maintenance_Ticket_Kanban_State.js +24 -7
- package/dist/hooks/Maintenance_Ticket_Source.js +16 -0
- package/dist/hooks/Maintenance_Ticket_Title.d.ts +1 -0
- package/dist/hooks/Maintenance_Ticket_Title.js +33 -0
- package/dist/hooks/Notification.js +1 -0
- package/dist/index.js +1 -0
- package/dist/types/Contact.d.ts +0 -3
- package/dist/types/Contact.js +0 -6
- package/dist/types/Documentation_Category.d.ts +16 -0
- package/dist/types/Documentation_Category.js +23 -0
- package/dist/types/Documentation_Document.d.ts +30 -0
- package/dist/types/Documentation_Document.js +47 -0
- package/dist/types/Maintenance_Media.d.ts +3 -3
- package/dist/types/Maintenance_Media.js +4 -4
- package/dist/types/Maintenance_Schedule_Execution.d.ts +7 -4
- package/dist/types/Maintenance_Schedule_Execution.js +6 -0
- package/dist/types/Maintenance_Schedule_Execution_Step.d.ts +20 -28
- package/dist/types/Maintenance_Schedule_Execution_Step.js +16 -34
- package/dist/types/Maintenance_Schedule_Step.d.ts +11 -23
- package/dist/types/Maintenance_Schedule_Step.js +14 -38
- package/dist/types/Maintenance_Schedule_Template.d.ts +32 -0
- package/dist/types/Maintenance_Schedule_Template.js +47 -0
- package/dist/types/Maintenance_Source_File.d.ts +3 -3
- package/dist/types/Maintenance_Ticket.d.ts +0 -3
- package/dist/types/Maintenance_Ticket.js +0 -3
- package/dist/types/Maintenance_Ticket_Assignment.d.ts +32 -0
- package/dist/types/Maintenance_Ticket_Assignment.js +47 -0
- package/dist/types/Maintenance_Ticket_Title.d.ts +25 -0
- package/dist/types/Maintenance_Ticket_Title.js +35 -0
- package/dist/types/Notification.d.ts +3 -0
- package/dist/types/Notification.js +6 -0
- package/dist/types/Report.d.ts +9 -0
- package/dist/types/Report.js +18 -0
- package/dist/types/index.d.ts +10 -6
- package/dist/types/index.js +12 -8
- package/package.json +5 -3
- package/schema/Contact.json +0 -4
- package/schema/Documentation_Category.json +40 -0
- package/schema/Documentation_Document.json +57 -0
- package/schema/Maintenance_Media.json +2 -2
- package/schema/Maintenance_Schedule_Execution.json +5 -1
- package/schema/Maintenance_Schedule_Execution_Step.json +24 -28
- package/schema/Maintenance_Schedule_Step.json +9 -22
- package/schema/{Maintenance_Schedule.json → Maintenance_Schedule_Template.json} +19 -21
- package/schema/Maintenance_Source_File.json +1 -1
- package/schema/Maintenance_Ticket.json +0 -5
- package/schema/{Maintenance_Article.json → Maintenance_Ticket_Assignment.json} +20 -17
- package/schema/{Maintenance_File.json → Maintenance_Ticket_Title.json} +18 -15
- package/schema/Notification.json +5 -0
- package/schema/Report.json +13 -0
- package/dist/types/Maintenance_Article.d.ts +0 -31
- package/dist/types/Maintenance_Article.js +0 -44
- package/dist/types/Maintenance_File.d.ts +0 -24
- package/dist/types/Maintenance_File.js +0 -35
- package/dist/types/Maintenance_Schedule.d.ts +0 -36
- package/dist/types/Maintenance_Schedule.js +0 -56
- /package/dist/hooks/{Maintenance_Article.d.ts → Documentation_Category.d.ts} +0 -0
- /package/dist/hooks/{Maintenance_File.d.ts → Documentation_Document.d.ts} +0 -0
- /package/dist/hooks/{Maintenance_Schedule.d.ts → Knowledge_Chat.d.ts} +0 -0
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
{
|
|
2
|
+
"fields": {
|
|
3
|
+
"name": {
|
|
4
|
+
"type": "String",
|
|
5
|
+
"required": true,
|
|
6
|
+
"defaultValue": ""
|
|
7
|
+
},
|
|
8
|
+
"parent": {
|
|
9
|
+
"type": "Pointer",
|
|
10
|
+
"targetClass": "{{PREFIX}}Documentation_Category",
|
|
11
|
+
"required": false
|
|
12
|
+
}
|
|
13
|
+
},
|
|
14
|
+
"classLevelPermissions": {
|
|
15
|
+
"find": {
|
|
16
|
+
"*": true
|
|
17
|
+
},
|
|
18
|
+
"count": {
|
|
19
|
+
"*": true
|
|
20
|
+
},
|
|
21
|
+
"get": {
|
|
22
|
+
"*": true
|
|
23
|
+
},
|
|
24
|
+
"create": {
|
|
25
|
+
"*": true
|
|
26
|
+
},
|
|
27
|
+
"update": {
|
|
28
|
+
"*": true
|
|
29
|
+
},
|
|
30
|
+
"delete": {
|
|
31
|
+
"*": true
|
|
32
|
+
},
|
|
33
|
+
"addField": {
|
|
34
|
+
"*": true
|
|
35
|
+
},
|
|
36
|
+
"protectedFields": {
|
|
37
|
+
"*": []
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
}
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
{
|
|
2
|
+
"fields": {
|
|
3
|
+
"category": {
|
|
4
|
+
"type": "Pointer",
|
|
5
|
+
"targetClass": "{{PREFIX}}Documentation_Category",
|
|
6
|
+
"required": true
|
|
7
|
+
},
|
|
8
|
+
"content": {
|
|
9
|
+
"type": "String",
|
|
10
|
+
"required": true
|
|
11
|
+
},
|
|
12
|
+
"createdBy": {
|
|
13
|
+
"type": "Pointer",
|
|
14
|
+
"targetClass": "_User",
|
|
15
|
+
"required": true
|
|
16
|
+
},
|
|
17
|
+
"tags": {
|
|
18
|
+
"type": "Array",
|
|
19
|
+
"required": true
|
|
20
|
+
},
|
|
21
|
+
"title": {
|
|
22
|
+
"type": "String",
|
|
23
|
+
"required": true
|
|
24
|
+
},
|
|
25
|
+
"updatedBy": {
|
|
26
|
+
"type": "Pointer",
|
|
27
|
+
"targetClass": "_User",
|
|
28
|
+
"required": true
|
|
29
|
+
}
|
|
30
|
+
},
|
|
31
|
+
"classLevelPermissions": {
|
|
32
|
+
"find": {
|
|
33
|
+
"*": true
|
|
34
|
+
},
|
|
35
|
+
"count": {
|
|
36
|
+
"*": true
|
|
37
|
+
},
|
|
38
|
+
"get": {
|
|
39
|
+
"*": true
|
|
40
|
+
},
|
|
41
|
+
"create": {
|
|
42
|
+
"*": true
|
|
43
|
+
},
|
|
44
|
+
"update": {
|
|
45
|
+
"*": true
|
|
46
|
+
},
|
|
47
|
+
"delete": {
|
|
48
|
+
"*": true
|
|
49
|
+
},
|
|
50
|
+
"addField": {
|
|
51
|
+
"*": true
|
|
52
|
+
},
|
|
53
|
+
"protectedFields": {
|
|
54
|
+
"*": []
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
}
|
|
@@ -8,6 +8,10 @@
|
|
|
8
8
|
"type": "Date",
|
|
9
9
|
"required": false
|
|
10
10
|
},
|
|
11
|
+
"material": {
|
|
12
|
+
"type": "Array",
|
|
13
|
+
"required": false
|
|
14
|
+
},
|
|
11
15
|
"media": {
|
|
12
16
|
"type": "Relation",
|
|
13
17
|
"targetClass": "{{PREFIX}}Maintenance_Media",
|
|
@@ -15,7 +19,7 @@
|
|
|
15
19
|
},
|
|
16
20
|
"origin": {
|
|
17
21
|
"type": "Pointer",
|
|
18
|
-
"targetClass": "{{PREFIX}}
|
|
22
|
+
"targetClass": "{{PREFIX}}Maintenance_Schedule_Template",
|
|
19
23
|
"required": false
|
|
20
24
|
},
|
|
21
25
|
"source": {
|
|
@@ -10,65 +10,61 @@
|
|
|
10
10
|
},
|
|
11
11
|
"done": {
|
|
12
12
|
"type": "Boolean",
|
|
13
|
-
"required": false
|
|
14
|
-
|
|
15
|
-
"group": {
|
|
16
|
-
"type": "Pointer",
|
|
17
|
-
"targetClass": "{{PREFIX}}Group",
|
|
18
|
-
"required": true
|
|
13
|
+
"required": false,
|
|
14
|
+
"defaultValue": false
|
|
19
15
|
},
|
|
20
|
-
"
|
|
21
|
-
"type": "
|
|
22
|
-
"required": false
|
|
16
|
+
"fields": {
|
|
17
|
+
"type": "Array",
|
|
18
|
+
"required": false,
|
|
19
|
+
"defaultValue": []
|
|
23
20
|
},
|
|
24
|
-
"
|
|
25
|
-
"type": "
|
|
21
|
+
"media": {
|
|
22
|
+
"type": "Relation",
|
|
23
|
+
"targetClass": "{{PREFIX}}Maintenance_Media",
|
|
26
24
|
"required": false
|
|
27
25
|
},
|
|
28
|
-
"
|
|
29
|
-
"type": "
|
|
26
|
+
"roles": {
|
|
27
|
+
"type": "Relation",
|
|
30
28
|
"targetClass": "_Role",
|
|
31
29
|
"required": false
|
|
32
30
|
},
|
|
33
|
-
"
|
|
31
|
+
"scheduleexecution": {
|
|
34
32
|
"type": "Pointer",
|
|
35
33
|
"targetClass": "{{PREFIX}}Maintenance_Schedule_Execution",
|
|
36
|
-
"required":
|
|
34
|
+
"required": false
|
|
37
35
|
},
|
|
38
36
|
"tenant": {
|
|
39
37
|
"type": "Pointer",
|
|
40
38
|
"targetClass": "{{PREFIX}}Tenant",
|
|
41
|
-
"required":
|
|
42
|
-
},
|
|
43
|
-
"type": {
|
|
44
|
-
"type": "String",
|
|
45
|
-
"required": false
|
|
39
|
+
"required": true
|
|
46
40
|
},
|
|
47
|
-
"
|
|
41
|
+
"title": {
|
|
48
42
|
"type": "String",
|
|
49
43
|
"required": false
|
|
50
44
|
}
|
|
51
45
|
},
|
|
52
46
|
"classLevelPermissions": {
|
|
53
47
|
"find": {
|
|
54
|
-
"
|
|
48
|
+
"*": true
|
|
55
49
|
},
|
|
56
50
|
"count": {
|
|
57
|
-
"
|
|
51
|
+
"*": true
|
|
58
52
|
},
|
|
59
53
|
"get": {
|
|
60
|
-
"
|
|
54
|
+
"*": true
|
|
61
55
|
},
|
|
62
56
|
"create": {
|
|
63
|
-
"
|
|
57
|
+
"*": true
|
|
64
58
|
},
|
|
65
59
|
"update": {
|
|
66
|
-
"
|
|
60
|
+
"*": true
|
|
67
61
|
},
|
|
68
62
|
"delete": {
|
|
69
|
-
"
|
|
63
|
+
"*": true
|
|
64
|
+
},
|
|
65
|
+
"addField": {
|
|
66
|
+
"*": true
|
|
70
67
|
},
|
|
71
|
-
"addField": {},
|
|
72
68
|
"protectedFields": {
|
|
73
69
|
"*": []
|
|
74
70
|
}
|
|
@@ -1,42 +1,29 @@
|
|
|
1
1
|
{
|
|
2
2
|
"fields": {
|
|
3
|
-
"
|
|
4
|
-
"type": "
|
|
3
|
+
"data": {
|
|
4
|
+
"type": "Object",
|
|
5
5
|
"required": false
|
|
6
6
|
},
|
|
7
|
-
"
|
|
8
|
-
"type": "Pointer",
|
|
9
|
-
"targetClass": "{{PREFIX}}Group",
|
|
10
|
-
"required": true
|
|
11
|
-
},
|
|
12
|
-
"location": {
|
|
7
|
+
"description": {
|
|
13
8
|
"type": "String",
|
|
14
9
|
"required": false
|
|
15
10
|
},
|
|
16
|
-
"
|
|
17
|
-
"type": "
|
|
11
|
+
"media": {
|
|
12
|
+
"type": "Relation",
|
|
13
|
+
"targetClass": "{{PREFIX}}Maintenance_Media",
|
|
18
14
|
"required": false
|
|
19
15
|
},
|
|
20
|
-
"
|
|
21
|
-
"type": "
|
|
16
|
+
"roles": {
|
|
17
|
+
"type": "Relation",
|
|
22
18
|
"targetClass": "_Role",
|
|
23
19
|
"required": false
|
|
24
20
|
},
|
|
25
|
-
"schedule": {
|
|
26
|
-
"type": "Pointer",
|
|
27
|
-
"targetClass": "{{PREFIX}}Maintenance_Schedule",
|
|
28
|
-
"required": true
|
|
29
|
-
},
|
|
30
21
|
"tenant": {
|
|
31
22
|
"type": "Pointer",
|
|
32
23
|
"targetClass": "{{PREFIX}}Tenant",
|
|
33
24
|
"required": false
|
|
34
25
|
},
|
|
35
|
-
"
|
|
36
|
-
"type": "String",
|
|
37
|
-
"required": false
|
|
38
|
-
},
|
|
39
|
-
"usedmaterial": {
|
|
26
|
+
"title": {
|
|
40
27
|
"type": "String",
|
|
41
28
|
"required": false
|
|
42
29
|
}
|
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"fields": {
|
|
3
|
+
"cron": {
|
|
4
|
+
"type": "Object",
|
|
5
|
+
"required": false
|
|
6
|
+
},
|
|
3
7
|
"description": {
|
|
4
8
|
"type": "String",
|
|
5
9
|
"required": false
|
|
@@ -9,24 +13,16 @@
|
|
|
9
13
|
"required": false,
|
|
10
14
|
"defaultValue": true
|
|
11
15
|
},
|
|
12
|
-
"
|
|
16
|
+
"sources": {
|
|
13
17
|
"type": "Relation",
|
|
14
|
-
"targetClass": "{{PREFIX}}
|
|
15
|
-
"required": false
|
|
16
|
-
},
|
|
17
|
-
"run_cron": {
|
|
18
|
-
"type": "String",
|
|
18
|
+
"targetClass": "{{PREFIX}}Source",
|
|
19
19
|
"required": false
|
|
20
20
|
},
|
|
21
|
-
"
|
|
22
|
-
"type": "
|
|
21
|
+
"steps": {
|
|
22
|
+
"type": "Relation",
|
|
23
|
+
"targetClass": "{{PREFIX}}Maintenance_Schedule_Step",
|
|
23
24
|
"required": false
|
|
24
25
|
},
|
|
25
|
-
"source": {
|
|
26
|
-
"type": "Pointer",
|
|
27
|
-
"targetClass": "{{PREFIX}}Source",
|
|
28
|
-
"required": true
|
|
29
|
-
},
|
|
30
26
|
"tenant": {
|
|
31
27
|
"type": "Pointer",
|
|
32
28
|
"targetClass": "{{PREFIX}}Tenant",
|
|
@@ -34,29 +30,31 @@
|
|
|
34
30
|
},
|
|
35
31
|
"title": {
|
|
36
32
|
"type": "String",
|
|
37
|
-
"required":
|
|
33
|
+
"required": false
|
|
38
34
|
}
|
|
39
35
|
},
|
|
40
36
|
"classLevelPermissions": {
|
|
41
37
|
"find": {
|
|
42
|
-
"
|
|
38
|
+
"*": true
|
|
43
39
|
},
|
|
44
40
|
"count": {
|
|
45
|
-
"
|
|
41
|
+
"*": true
|
|
46
42
|
},
|
|
47
43
|
"get": {
|
|
48
|
-
"
|
|
44
|
+
"*": true
|
|
49
45
|
},
|
|
50
46
|
"create": {
|
|
51
|
-
"
|
|
47
|
+
"*": true
|
|
52
48
|
},
|
|
53
49
|
"update": {
|
|
54
|
-
"
|
|
50
|
+
"*": true
|
|
55
51
|
},
|
|
56
52
|
"delete": {
|
|
57
|
-
"
|
|
53
|
+
"*": true
|
|
54
|
+
},
|
|
55
|
+
"addField": {
|
|
56
|
+
"*": true
|
|
58
57
|
},
|
|
59
|
-
"addField": {},
|
|
60
58
|
"protectedFields": {
|
|
61
59
|
"*": []
|
|
62
60
|
}
|
|
@@ -1,17 +1,18 @@
|
|
|
1
1
|
{
|
|
2
2
|
"fields": {
|
|
3
|
-
"
|
|
4
|
-
"type": "
|
|
3
|
+
"assignedRole": {
|
|
4
|
+
"type": "Pointer",
|
|
5
|
+
"targetClass": "_Role",
|
|
5
6
|
"required": false
|
|
6
7
|
},
|
|
7
|
-
"
|
|
8
|
-
"type": "
|
|
9
|
-
"targetClass": "
|
|
8
|
+
"assignedUser": {
|
|
9
|
+
"type": "Pointer",
|
|
10
|
+
"targetClass": "_User",
|
|
10
11
|
"required": false
|
|
11
12
|
},
|
|
12
|
-
"
|
|
13
|
-
"type": "
|
|
14
|
-
"required":
|
|
13
|
+
"batchStamp": {
|
|
14
|
+
"type": "Date",
|
|
15
|
+
"required": true
|
|
15
16
|
},
|
|
16
17
|
"tenant": {
|
|
17
18
|
"type": "Pointer",
|
|
@@ -21,34 +22,36 @@
|
|
|
21
22
|
"ticket": {
|
|
22
23
|
"type": "Pointer",
|
|
23
24
|
"targetClass": "{{PREFIX}}Maintenance_Ticket",
|
|
24
|
-
"required":
|
|
25
|
+
"required": false
|
|
25
26
|
},
|
|
26
27
|
"user": {
|
|
27
28
|
"type": "Pointer",
|
|
28
29
|
"targetClass": "_User",
|
|
29
|
-
"required":
|
|
30
|
+
"required": true
|
|
30
31
|
}
|
|
31
32
|
},
|
|
32
33
|
"classLevelPermissions": {
|
|
33
34
|
"find": {
|
|
34
|
-
"
|
|
35
|
+
"*": true
|
|
35
36
|
},
|
|
36
37
|
"count": {
|
|
37
|
-
"
|
|
38
|
+
"*": true
|
|
38
39
|
},
|
|
39
40
|
"get": {
|
|
40
|
-
"
|
|
41
|
+
"*": true
|
|
41
42
|
},
|
|
42
43
|
"create": {
|
|
43
|
-
"
|
|
44
|
+
"*": true
|
|
44
45
|
},
|
|
45
46
|
"update": {
|
|
46
|
-
"
|
|
47
|
+
"*": true
|
|
47
48
|
},
|
|
48
49
|
"delete": {
|
|
49
|
-
"
|
|
50
|
+
"*": true
|
|
51
|
+
},
|
|
52
|
+
"addField": {
|
|
53
|
+
"*": true
|
|
50
54
|
},
|
|
51
|
-
"addField": {},
|
|
52
55
|
"protectedFields": {
|
|
53
56
|
"*": []
|
|
54
57
|
}
|
|
@@ -1,44 +1,47 @@
|
|
|
1
1
|
{
|
|
2
2
|
"fields": {
|
|
3
|
-
"
|
|
4
|
-
"type": "
|
|
3
|
+
"tenant": {
|
|
4
|
+
"type": "Pointer",
|
|
5
|
+
"targetClass": "{{PREFIX}}Tenant",
|
|
5
6
|
"required": false
|
|
6
7
|
},
|
|
7
|
-
"
|
|
8
|
-
"type": "
|
|
8
|
+
"ticket": {
|
|
9
|
+
"type": "Pointer",
|
|
10
|
+
"targetClass": "{{PREFIX}}Maintenance_Ticket",
|
|
9
11
|
"required": true
|
|
10
12
|
},
|
|
11
|
-
"
|
|
12
|
-
"type": "
|
|
13
|
-
"targetClass": "{{PREFIX}}Tenant",
|
|
13
|
+
"title": {
|
|
14
|
+
"type": "String",
|
|
14
15
|
"required": false
|
|
15
16
|
},
|
|
16
17
|
"user": {
|
|
17
18
|
"type": "Pointer",
|
|
18
19
|
"targetClass": "_User",
|
|
19
|
-
"required":
|
|
20
|
+
"required": true
|
|
20
21
|
}
|
|
21
22
|
},
|
|
22
23
|
"classLevelPermissions": {
|
|
23
24
|
"find": {
|
|
24
|
-
"
|
|
25
|
+
"*": true
|
|
25
26
|
},
|
|
26
27
|
"count": {
|
|
27
|
-
"
|
|
28
|
+
"*": true
|
|
28
29
|
},
|
|
29
30
|
"get": {
|
|
30
|
-
"
|
|
31
|
+
"*": true
|
|
31
32
|
},
|
|
32
33
|
"create": {
|
|
33
|
-
"
|
|
34
|
+
"*": true
|
|
34
35
|
},
|
|
35
36
|
"update": {
|
|
36
|
-
"
|
|
37
|
+
"*": true
|
|
37
38
|
},
|
|
38
39
|
"delete": {
|
|
39
|
-
"
|
|
40
|
+
"*": true
|
|
41
|
+
},
|
|
42
|
+
"addField": {
|
|
43
|
+
"*": true
|
|
40
44
|
},
|
|
41
|
-
"addField": {},
|
|
42
45
|
"protectedFields": {
|
|
43
46
|
"*": []
|
|
44
47
|
}
|
package/schema/Notification.json
CHANGED
package/schema/Report.json
CHANGED
|
@@ -4,6 +4,15 @@
|
|
|
4
4
|
"type": "String",
|
|
5
5
|
"required": false
|
|
6
6
|
},
|
|
7
|
+
"icon": {
|
|
8
|
+
"type": "String",
|
|
9
|
+
"required": false
|
|
10
|
+
},
|
|
11
|
+
"iconColor": {
|
|
12
|
+
"type": "String",
|
|
13
|
+
"required": false,
|
|
14
|
+
"defaultValue": "#000000"
|
|
15
|
+
},
|
|
7
16
|
"images": {
|
|
8
17
|
"type": "Array",
|
|
9
18
|
"required": true,
|
|
@@ -14,6 +23,10 @@
|
|
|
14
23
|
"required": true,
|
|
15
24
|
"defaultValue": []
|
|
16
25
|
},
|
|
26
|
+
"language": {
|
|
27
|
+
"type": "String",
|
|
28
|
+
"required": false
|
|
29
|
+
},
|
|
17
30
|
"masterData": {
|
|
18
31
|
"type": "Object",
|
|
19
32
|
"required": true,
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import type { Maintenance_Media } from "./Maintenance_Media";
|
|
2
|
-
import type { Maintenance_Ticket } from "./Maintenance_Ticket";
|
|
3
|
-
import type { Tenant } from "./Tenant";
|
|
4
|
-
import type { _User } from "./_User";
|
|
5
|
-
export interface Maintenance_ArticleAttributes {
|
|
6
|
-
id: string;
|
|
7
|
-
objectId: string;
|
|
8
|
-
createdAt: Date;
|
|
9
|
-
updatedAt: Date;
|
|
10
|
-
body?: string;
|
|
11
|
-
media: Parse.Relation<Maintenance_Article, Maintenance_Media>;
|
|
12
|
-
subject?: string;
|
|
13
|
-
tenant?: Tenant;
|
|
14
|
-
ticket: Maintenance_Ticket;
|
|
15
|
-
user?: _User;
|
|
16
|
-
}
|
|
17
|
-
export declare class Maintenance_Article extends Parse.Object<Maintenance_ArticleAttributes> {
|
|
18
|
-
static className: string;
|
|
19
|
-
constructor(data?: Partial<Maintenance_ArticleAttributes>);
|
|
20
|
-
get body(): string | undefined;
|
|
21
|
-
set body(value: string | undefined);
|
|
22
|
-
get media(): Parse.Relation<Maintenance_Article, Maintenance_Media>;
|
|
23
|
-
get subject(): string | undefined;
|
|
24
|
-
set subject(value: string | undefined);
|
|
25
|
-
get tenant(): Tenant | undefined;
|
|
26
|
-
set tenant(value: Tenant | undefined);
|
|
27
|
-
get ticket(): Maintenance_Ticket;
|
|
28
|
-
set ticket(value: Maintenance_Ticket);
|
|
29
|
-
get user(): _User | undefined;
|
|
30
|
-
set user(value: _User | undefined);
|
|
31
|
-
}
|
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.Maintenance_Article = void 0;
|
|
4
|
-
class Maintenance_Article extends Parse.Object {
|
|
5
|
-
constructor(data) {
|
|
6
|
-
super("OD3_Maintenance_Article", data);
|
|
7
|
-
}
|
|
8
|
-
get body() {
|
|
9
|
-
return super.get("body");
|
|
10
|
-
}
|
|
11
|
-
set body(value) {
|
|
12
|
-
super.set("body", value);
|
|
13
|
-
}
|
|
14
|
-
get media() {
|
|
15
|
-
return super.relation("media");
|
|
16
|
-
}
|
|
17
|
-
get subject() {
|
|
18
|
-
return super.get("subject");
|
|
19
|
-
}
|
|
20
|
-
set subject(value) {
|
|
21
|
-
super.set("subject", value);
|
|
22
|
-
}
|
|
23
|
-
get tenant() {
|
|
24
|
-
return super.get("tenant");
|
|
25
|
-
}
|
|
26
|
-
set tenant(value) {
|
|
27
|
-
super.set("tenant", value);
|
|
28
|
-
}
|
|
29
|
-
get ticket() {
|
|
30
|
-
return super.get("ticket");
|
|
31
|
-
}
|
|
32
|
-
set ticket(value) {
|
|
33
|
-
super.set("ticket", value);
|
|
34
|
-
}
|
|
35
|
-
get user() {
|
|
36
|
-
return super.get("user");
|
|
37
|
-
}
|
|
38
|
-
set user(value) {
|
|
39
|
-
super.set("user", value);
|
|
40
|
-
}
|
|
41
|
-
}
|
|
42
|
-
exports.Maintenance_Article = Maintenance_Article;
|
|
43
|
-
Maintenance_Article.className = "OD3_Maintenance_Article";
|
|
44
|
-
Parse.Object.registerSubclass("OD3_Maintenance_Article", Maintenance_Article);
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import type { Tenant } from "./Tenant";
|
|
2
|
-
import type { _User } from "./_User";
|
|
3
|
-
export interface Maintenance_FileAttributes {
|
|
4
|
-
id: string;
|
|
5
|
-
objectId: string;
|
|
6
|
-
createdAt: Date;
|
|
7
|
-
updatedAt: Date;
|
|
8
|
-
description?: string;
|
|
9
|
-
file: Parse.File;
|
|
10
|
-
tenant?: Tenant;
|
|
11
|
-
user?: _User;
|
|
12
|
-
}
|
|
13
|
-
export declare class Maintenance_File extends Parse.Object<Maintenance_FileAttributes> {
|
|
14
|
-
static className: string;
|
|
15
|
-
constructor(data?: Partial<Maintenance_FileAttributes>);
|
|
16
|
-
get description(): string | undefined;
|
|
17
|
-
set description(value: string | undefined);
|
|
18
|
-
get file(): Parse.File;
|
|
19
|
-
set file(value: Parse.File);
|
|
20
|
-
get tenant(): Tenant | undefined;
|
|
21
|
-
set tenant(value: Tenant | undefined);
|
|
22
|
-
get user(): _User | undefined;
|
|
23
|
-
set user(value: _User | undefined);
|
|
24
|
-
}
|