@openinc/parse-server-opendash 2.1.3 → 2.2.0
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/BDE_Form.json +1 -7
- package/schema/BDE_Page.json +9 -7
- package/schema/BDE_Unit.json +0 -5
- package/schema/GTFS_Bikes_Allowed.json +36 -0
- package/schema/GTFS_Direction.json +36 -0
- package/schema/GTFS_Wheelchair_Accessible.json +36 -0
- package/schema/Maintenance_Message_Body.json +1 -1
- package/schema/Maintenance_SourceMeta.json +6 -1
- package/schema/WidgetPreset.json +4 -1
package/package.json
CHANGED
package/schema/BDE_Form.json
CHANGED
|
@@ -20,27 +20,21 @@
|
|
|
20
20
|
},
|
|
21
21
|
"classLevelPermissions": {
|
|
22
22
|
"find": {
|
|
23
|
-
"role:user": true,
|
|
24
23
|
"requiresAuthentication": true
|
|
25
24
|
},
|
|
26
25
|
"count": {
|
|
27
|
-
"requiresAuthentication": true
|
|
28
|
-
"role:user": true
|
|
26
|
+
"requiresAuthentication": true
|
|
29
27
|
},
|
|
30
28
|
"get": {
|
|
31
|
-
"role:user": true,
|
|
32
29
|
"requiresAuthentication": true
|
|
33
30
|
},
|
|
34
31
|
"create": {
|
|
35
|
-
"role:user": true,
|
|
36
32
|
"requiresAuthentication": true
|
|
37
33
|
},
|
|
38
34
|
"update": {
|
|
39
|
-
"role:user": true,
|
|
40
35
|
"requiresAuthentication": true
|
|
41
36
|
},
|
|
42
37
|
"delete": {
|
|
43
|
-
"role:user": true,
|
|
44
38
|
"requiresAuthentication": true
|
|
45
39
|
},
|
|
46
40
|
"addField": {},
|
package/schema/BDE_Page.json
CHANGED
|
@@ -9,24 +9,26 @@
|
|
|
9
9
|
},
|
|
10
10
|
"classLevelPermissions": {
|
|
11
11
|
"find": {
|
|
12
|
-
"
|
|
12
|
+
"*": true
|
|
13
13
|
},
|
|
14
14
|
"count": {
|
|
15
|
-
"
|
|
15
|
+
"*": true
|
|
16
16
|
},
|
|
17
17
|
"get": {
|
|
18
|
-
"
|
|
18
|
+
"*": true
|
|
19
19
|
},
|
|
20
20
|
"create": {
|
|
21
|
-
"
|
|
21
|
+
"*": true
|
|
22
22
|
},
|
|
23
23
|
"update": {
|
|
24
|
-
"
|
|
24
|
+
"*": true
|
|
25
25
|
},
|
|
26
26
|
"delete": {
|
|
27
|
-
"
|
|
27
|
+
"*": true
|
|
28
|
+
},
|
|
29
|
+
"addField": {
|
|
30
|
+
"*": true
|
|
28
31
|
},
|
|
29
|
-
"addField": {},
|
|
30
32
|
"protectedFields": {
|
|
31
33
|
"*": []
|
|
32
34
|
}
|
package/schema/BDE_Unit.json
CHANGED
|
@@ -16,26 +16,21 @@
|
|
|
16
16
|
},
|
|
17
17
|
"classLevelPermissions": {
|
|
18
18
|
"find": {
|
|
19
|
-
"role:user": true,
|
|
20
19
|
"requiresAuthentication": true
|
|
21
20
|
},
|
|
22
21
|
"count": {
|
|
23
22
|
"requiresAuthentication": true
|
|
24
23
|
},
|
|
25
24
|
"get": {
|
|
26
|
-
"role:user": true,
|
|
27
25
|
"requiresAuthentication": true
|
|
28
26
|
},
|
|
29
27
|
"create": {
|
|
30
|
-
"role:user": true,
|
|
31
28
|
"requiresAuthentication": true
|
|
32
29
|
},
|
|
33
30
|
"update": {
|
|
34
|
-
"role:user": true,
|
|
35
31
|
"requiresAuthentication": true
|
|
36
32
|
},
|
|
37
33
|
"delete": {
|
|
38
|
-
"role:user": true,
|
|
39
34
|
"requiresAuthentication": true
|
|
40
35
|
},
|
|
41
36
|
"addField": {},
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
{
|
|
2
|
+
"fields": {
|
|
3
|
+
"description": {
|
|
4
|
+
"type": "String",
|
|
5
|
+
"required": true
|
|
6
|
+
},
|
|
7
|
+
"value": {
|
|
8
|
+
"type": "Number",
|
|
9
|
+
"required": true
|
|
10
|
+
}
|
|
11
|
+
},
|
|
12
|
+
"classLevelPermissions": {
|
|
13
|
+
"find": {
|
|
14
|
+
"requiresAuthentication": true
|
|
15
|
+
},
|
|
16
|
+
"count": {
|
|
17
|
+
"requiresAuthentication": true
|
|
18
|
+
},
|
|
19
|
+
"get": {
|
|
20
|
+
"requiresAuthentication": true
|
|
21
|
+
},
|
|
22
|
+
"create": {
|
|
23
|
+
"requiresAuthentication": true
|
|
24
|
+
},
|
|
25
|
+
"update": {
|
|
26
|
+
"requiresAuthentication": true
|
|
27
|
+
},
|
|
28
|
+
"delete": {
|
|
29
|
+
"requiresAuthentication": true
|
|
30
|
+
},
|
|
31
|
+
"addField": {},
|
|
32
|
+
"protectedFields": {
|
|
33
|
+
"*": []
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
{
|
|
2
|
+
"fields": {
|
|
3
|
+
"description": {
|
|
4
|
+
"type": "String",
|
|
5
|
+
"required": true
|
|
6
|
+
},
|
|
7
|
+
"value": {
|
|
8
|
+
"type": "Number",
|
|
9
|
+
"required": true
|
|
10
|
+
}
|
|
11
|
+
},
|
|
12
|
+
"classLevelPermissions": {
|
|
13
|
+
"find": {
|
|
14
|
+
"requiresAuthentication": true
|
|
15
|
+
},
|
|
16
|
+
"count": {
|
|
17
|
+
"requiresAuthentication": true
|
|
18
|
+
},
|
|
19
|
+
"get": {
|
|
20
|
+
"requiresAuthentication": true
|
|
21
|
+
},
|
|
22
|
+
"create": {
|
|
23
|
+
"requiresAuthentication": true
|
|
24
|
+
},
|
|
25
|
+
"update": {
|
|
26
|
+
"requiresAuthentication": true
|
|
27
|
+
},
|
|
28
|
+
"delete": {
|
|
29
|
+
"requiresAuthentication": true
|
|
30
|
+
},
|
|
31
|
+
"addField": {},
|
|
32
|
+
"protectedFields": {
|
|
33
|
+
"*": []
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
{
|
|
2
|
+
"fields": {
|
|
3
|
+
"description": {
|
|
4
|
+
"type": "String",
|
|
5
|
+
"required": true
|
|
6
|
+
},
|
|
7
|
+
"value": {
|
|
8
|
+
"type": "Number",
|
|
9
|
+
"required": true
|
|
10
|
+
}
|
|
11
|
+
},
|
|
12
|
+
"classLevelPermissions": {
|
|
13
|
+
"find": {
|
|
14
|
+
"requiresAuthentication": true
|
|
15
|
+
},
|
|
16
|
+
"count": {
|
|
17
|
+
"requiresAuthentication": true
|
|
18
|
+
},
|
|
19
|
+
"get": {
|
|
20
|
+
"requiresAuthentication": true
|
|
21
|
+
},
|
|
22
|
+
"create": {
|
|
23
|
+
"requiresAuthentication": true
|
|
24
|
+
},
|
|
25
|
+
"update": {
|
|
26
|
+
"requiresAuthentication": true
|
|
27
|
+
},
|
|
28
|
+
"delete": {
|
|
29
|
+
"requiresAuthentication": true
|
|
30
|
+
},
|
|
31
|
+
"addField": {},
|
|
32
|
+
"protectedFields": {
|
|
33
|
+
"*": []
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
}
|
|
@@ -2,13 +2,18 @@
|
|
|
2
2
|
"fields": {
|
|
3
3
|
"item": {
|
|
4
4
|
"type": "Pointer",
|
|
5
|
-
"targetClass": "{{PREFIX}}
|
|
5
|
+
"targetClass": "{{PREFIX}}Maintenance_Item",
|
|
6
6
|
"required": false
|
|
7
7
|
},
|
|
8
8
|
"source": {
|
|
9
9
|
"type": "Pointer",
|
|
10
10
|
"targetClass": "{{PREFIX}}Source",
|
|
11
11
|
"required": true
|
|
12
|
+
},
|
|
13
|
+
"tenant": {
|
|
14
|
+
"type": "Pointer",
|
|
15
|
+
"targetClass": "{{PREFIX}}Tenant",
|
|
16
|
+
"required": true
|
|
12
17
|
}
|
|
13
18
|
},
|
|
14
19
|
"classLevelPermissions": {
|