@openinc/parse-server-opendash 1.12.0 → 1.12.1
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/package.json +1 -1
- package/schema/Knowledge_DocumentPage.json +5 -0
- package/schema/Maintenance_Article.json +5 -5
- package/schema/Maintenance_Schedule.json +5 -0
- package/schema/Maintenance_Schedule_Execution.json +60 -0
- package/schema/Maintenance_Schedule_Execution_Step.json +66 -0
- package/schema/Maintenance_Schedule_Step.json +7 -9
- package/schema/Maintenance_Ticket.json +5 -5
- package/schema/Maintenance_Ticket_Issuecategory.json +5 -5
- package/schema/Maintenance_Ticket_Kanban_State.json +5 -5
- package/schema/Maintenance_Ticket_Source.json +4 -4
package/package.json
CHANGED
|
@@ -4,11 +4,6 @@
|
|
|
4
4
|
"type": "String",
|
|
5
5
|
"required": false
|
|
6
6
|
},
|
|
7
|
-
"user": {
|
|
8
|
-
"type": "Pointer",
|
|
9
|
-
"targetClass": "_User",
|
|
10
|
-
"required": false
|
|
11
|
-
},
|
|
12
7
|
"subject": {
|
|
13
8
|
"type": "String",
|
|
14
9
|
"required": false
|
|
@@ -27,6 +22,11 @@
|
|
|
27
22
|
"type": "Pointer",
|
|
28
23
|
"targetClass": "{{PREFIX}}Tenant",
|
|
29
24
|
"required": false
|
|
25
|
+
},
|
|
26
|
+
"user": {
|
|
27
|
+
"type": "Pointer",
|
|
28
|
+
"targetClass": "_User",
|
|
29
|
+
"required": false
|
|
30
30
|
}
|
|
31
31
|
},
|
|
32
32
|
"classLevelPermissions": {
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
{
|
|
2
|
+
"fields": {
|
|
3
|
+
"user": {
|
|
4
|
+
"type": "Pointer",
|
|
5
|
+
"targetClass": "_User",
|
|
6
|
+
"required": true
|
|
7
|
+
},
|
|
8
|
+
"source": {
|
|
9
|
+
"type": "Pointer",
|
|
10
|
+
"targetClass": "{{PREFIX}}Source",
|
|
11
|
+
"required": false
|
|
12
|
+
},
|
|
13
|
+
"title": {
|
|
14
|
+
"type": "String",
|
|
15
|
+
"required": false
|
|
16
|
+
},
|
|
17
|
+
"description": {
|
|
18
|
+
"type": "String",
|
|
19
|
+
"required": false
|
|
20
|
+
},
|
|
21
|
+
"media": {
|
|
22
|
+
"type": "Relation",
|
|
23
|
+
"targetClass": "{{PREFIX}}Maintenance_Media",
|
|
24
|
+
"required": false
|
|
25
|
+
},
|
|
26
|
+
"tenant": {
|
|
27
|
+
"type": "Pointer",
|
|
28
|
+
"targetClass": "{{PREFIX}}Tenant",
|
|
29
|
+
"required": false
|
|
30
|
+
},
|
|
31
|
+
"finishedAt": {
|
|
32
|
+
"type": "Date",
|
|
33
|
+
"required": false
|
|
34
|
+
}
|
|
35
|
+
},
|
|
36
|
+
"classLevelPermissions": {
|
|
37
|
+
"find": {
|
|
38
|
+
"requiresAuthentication": true
|
|
39
|
+
},
|
|
40
|
+
"count": {
|
|
41
|
+
"requiresAuthentication": true
|
|
42
|
+
},
|
|
43
|
+
"get": {
|
|
44
|
+
"requiresAuthentication": true
|
|
45
|
+
},
|
|
46
|
+
"create": {
|
|
47
|
+
"requiresAuthentication": true
|
|
48
|
+
},
|
|
49
|
+
"update": {
|
|
50
|
+
"requiresAuthentication": true
|
|
51
|
+
},
|
|
52
|
+
"delete": {
|
|
53
|
+
"requiresAuthentication": true
|
|
54
|
+
},
|
|
55
|
+
"addField": {},
|
|
56
|
+
"protectedFields": {
|
|
57
|
+
"*": []
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
}
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
{
|
|
2
|
+
"fields": {
|
|
3
|
+
"comment": {
|
|
4
|
+
"type": "String",
|
|
5
|
+
"required": false
|
|
6
|
+
},
|
|
7
|
+
"location": {
|
|
8
|
+
"type": "String",
|
|
9
|
+
"required": false
|
|
10
|
+
},
|
|
11
|
+
"protectivegear": {
|
|
12
|
+
"type": "String",
|
|
13
|
+
"required": false
|
|
14
|
+
},
|
|
15
|
+
"type": {
|
|
16
|
+
"type": "String",
|
|
17
|
+
"required": false
|
|
18
|
+
},
|
|
19
|
+
"description": {
|
|
20
|
+
"type": "String",
|
|
21
|
+
"required": false
|
|
22
|
+
},
|
|
23
|
+
"usedmaterial": {
|
|
24
|
+
"type": "String",
|
|
25
|
+
"required": false
|
|
26
|
+
},
|
|
27
|
+
"tenant": {
|
|
28
|
+
"type": "Pointer",
|
|
29
|
+
"targetClass": "{{PREFIX}}Tenant",
|
|
30
|
+
"required": false
|
|
31
|
+
},
|
|
32
|
+
"schedule": {
|
|
33
|
+
"type": "Pointer",
|
|
34
|
+
"targetClass": "{{PREFIX}}Maintenance_Schedule_Execution",
|
|
35
|
+
"required": true
|
|
36
|
+
},
|
|
37
|
+
"done": {
|
|
38
|
+
"type": "Boolean",
|
|
39
|
+
"required": false
|
|
40
|
+
}
|
|
41
|
+
},
|
|
42
|
+
"classLevelPermissions": {
|
|
43
|
+
"find": {
|
|
44
|
+
"requiresAuthentication": true
|
|
45
|
+
},
|
|
46
|
+
"count": {
|
|
47
|
+
"requiresAuthentication": true
|
|
48
|
+
},
|
|
49
|
+
"get": {
|
|
50
|
+
"requiresAuthentication": true
|
|
51
|
+
},
|
|
52
|
+
"create": {
|
|
53
|
+
"requiresAuthentication": true
|
|
54
|
+
},
|
|
55
|
+
"update": {
|
|
56
|
+
"requiresAuthentication": true
|
|
57
|
+
},
|
|
58
|
+
"delete": {
|
|
59
|
+
"requiresAuthentication": true
|
|
60
|
+
},
|
|
61
|
+
"addField": {},
|
|
62
|
+
"protectedFields": {
|
|
63
|
+
"*": []
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
}
|
|
@@ -33,26 +33,24 @@
|
|
|
33
33
|
},
|
|
34
34
|
"classLevelPermissions": {
|
|
35
35
|
"find": {
|
|
36
|
-
"
|
|
36
|
+
"requiresAuthentication": true
|
|
37
37
|
},
|
|
38
38
|
"count": {
|
|
39
|
-
"
|
|
39
|
+
"requiresAuthentication": true
|
|
40
40
|
},
|
|
41
41
|
"get": {
|
|
42
|
-
"
|
|
42
|
+
"requiresAuthentication": true
|
|
43
43
|
},
|
|
44
44
|
"create": {
|
|
45
|
-
"
|
|
45
|
+
"requiresAuthentication": true
|
|
46
46
|
},
|
|
47
47
|
"update": {
|
|
48
|
-
"
|
|
48
|
+
"requiresAuthentication": true
|
|
49
49
|
},
|
|
50
50
|
"delete": {
|
|
51
|
-
"
|
|
52
|
-
},
|
|
53
|
-
"addField": {
|
|
54
|
-
"*": true
|
|
51
|
+
"requiresAuthentication": true
|
|
55
52
|
},
|
|
53
|
+
"addField": {},
|
|
56
54
|
"protectedFields": {
|
|
57
55
|
"*": []
|
|
58
56
|
}
|
|
@@ -4,11 +4,6 @@
|
|
|
4
4
|
"type": "String",
|
|
5
5
|
"required": false
|
|
6
6
|
},
|
|
7
|
-
"user": {
|
|
8
|
-
"type": "Pointer",
|
|
9
|
-
"targetClass": "_User",
|
|
10
|
-
"required": false
|
|
11
|
-
},
|
|
12
7
|
"enabled": {
|
|
13
8
|
"type": "Boolean",
|
|
14
9
|
"required": false,
|
|
@@ -18,6 +13,11 @@
|
|
|
18
13
|
"type": "Pointer",
|
|
19
14
|
"targetClass": "{{PREFIX}}Tenant",
|
|
20
15
|
"required": false
|
|
16
|
+
},
|
|
17
|
+
"user": {
|
|
18
|
+
"type": "Pointer",
|
|
19
|
+
"targetClass": "_User",
|
|
20
|
+
"required": false
|
|
21
21
|
}
|
|
22
22
|
},
|
|
23
23
|
"classLevelPermissions": {
|
|
@@ -1,10 +1,5 @@
|
|
|
1
1
|
{
|
|
2
2
|
"fields": {
|
|
3
|
-
"user": {
|
|
4
|
-
"type": "Pointer",
|
|
5
|
-
"targetClass": "_User",
|
|
6
|
-
"required": false
|
|
7
|
-
},
|
|
8
3
|
"ticket": {
|
|
9
4
|
"type": "Pointer",
|
|
10
5
|
"targetClass": "{{PREFIX}}Maintenance_Ticket",
|
|
@@ -19,6 +14,11 @@
|
|
|
19
14
|
"type": "Pointer",
|
|
20
15
|
"targetClass": "{{PREFIX}}Tenant",
|
|
21
16
|
"required": false
|
|
17
|
+
},
|
|
18
|
+
"user": {
|
|
19
|
+
"type": "Pointer",
|
|
20
|
+
"targetClass": "_User",
|
|
21
|
+
"required": false
|
|
22
22
|
}
|
|
23
23
|
},
|
|
24
24
|
"classLevelPermissions": {
|
|
@@ -1,10 +1,5 @@
|
|
|
1
1
|
{
|
|
2
2
|
"fields": {
|
|
3
|
-
"user": {
|
|
4
|
-
"type": "Pointer",
|
|
5
|
-
"targetClass": "_User",
|
|
6
|
-
"required": false
|
|
7
|
-
},
|
|
8
3
|
"ticket": {
|
|
9
4
|
"type": "Pointer",
|
|
10
5
|
"targetClass": "{{PREFIX}}Maintenance_Ticket",
|
|
@@ -19,6 +14,11 @@
|
|
|
19
14
|
"type": "Pointer",
|
|
20
15
|
"targetClass": "{{PREFIX}}Tenant",
|
|
21
16
|
"required": false
|
|
17
|
+
},
|
|
18
|
+
"user": {
|
|
19
|
+
"type": "Pointer",
|
|
20
|
+
"targetClass": "_User",
|
|
21
|
+
"required": false
|
|
22
22
|
}
|
|
23
23
|
},
|
|
24
24
|
"classLevelPermissions": {
|
|
@@ -10,14 +10,14 @@
|
|
|
10
10
|
"targetClass": "{{PREFIX}}Source",
|
|
11
11
|
"required": true
|
|
12
12
|
},
|
|
13
|
-
"
|
|
13
|
+
"tenant": {
|
|
14
14
|
"type": "Pointer",
|
|
15
|
-
"targetClass": "
|
|
15
|
+
"targetClass": "{{PREFIX}}Tenant",
|
|
16
16
|
"required": false
|
|
17
17
|
},
|
|
18
|
-
"
|
|
18
|
+
"user": {
|
|
19
19
|
"type": "Pointer",
|
|
20
|
-
"targetClass": "
|
|
20
|
+
"targetClass": "_User",
|
|
21
21
|
"required": false
|
|
22
22
|
}
|
|
23
23
|
},
|