@openinc/parse-server-opendash 2.4.23 → 2.4.32
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/package.json +10 -9
- 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/functions/opendash-geo-google-autocomplete.d.ts +0 -1
- package/dist/functions/opendash-geo-google-autocomplete.js +0 -66
- package/dist/functions/opendash-geo-graphhopper-geocode-reverse.d.ts +0 -1
- package/dist/functions/opendash-geo-graphhopper-geocode-reverse.js +0 -37
- package/dist/functions/opendash-geo-graphhopper-geocode.d.ts +0 -2
- package/dist/functions/opendash-geo-graphhopper-geocode.js +0 -65
- package/dist/functions/openservice-tickets-sorter.d.ts +0 -1
- package/dist/functions/openservice-tickets-sorter.js +0 -7
package/LICENSE
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
MIT License
|
|
2
|
-
|
|
3
|
-
Copyright (c) Sebastian Zilles
|
|
4
|
-
|
|
5
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
-
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
-
in the Software without restriction, including without limitation the rights
|
|
8
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
-
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
-
furnished to do so, subject to the following conditions:
|
|
11
|
-
|
|
12
|
-
The above copyright notice and this permission notice shall be included in all
|
|
13
|
-
copies or substantial portions of the Software.
|
|
14
|
-
|
|
15
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) Sebastian Zilles
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
21
|
SOFTWARE.
|
package/README.md
CHANGED
|
@@ -1,31 +1,31 @@
|
|
|
1
|
-
# @openinc/parse-server-opendash
|
|
2
|
-
|
|
3
|
-
Parse Server Cloud Code for open.DASH/open.WARE
|
|
4
|
-
|
|
5
|
-
## Usage
|
|
6
|
-
|
|
7
|
-
```
|
|
8
|
-
npm i @openinc/parse-server-opendash
|
|
9
|
-
```
|
|
10
|
-
|
|
11
|
-
```ts
|
|
12
|
-
// cloud/main.js
|
|
13
|
-
|
|
14
|
-
const { init } = require("@openinc/parse-server-opendash");
|
|
15
|
-
|
|
16
|
-
init();
|
|
17
|
-
```
|
|
18
|
-
|
|
19
|
-
For a full list of exports see the file at [EXPORTS.md](./EXPORTS.md)
|
|
20
|
-
|
|
21
|
-
## Configuration
|
|
22
|
-
|
|
23
|
-
The configuration of this cloud code is done using environment variables.
|
|
24
|
-
|
|
25
|
-
By default no classes will be created. To create classes from the schema definition, you need to enable the feature flags according your needs.
|
|
26
|
-
|
|
27
|
-
For a full list of options see the file at [CONFIG.md](./CONFIG.md)
|
|
28
|
-
|
|
29
|
-
## Development
|
|
30
|
-
|
|
31
|
-
See the file at [DEVELOPMENT.md](./DEVELOPMENT.md)
|
|
1
|
+
# @openinc/parse-server-opendash
|
|
2
|
+
|
|
3
|
+
Parse Server Cloud Code for open.DASH/open.WARE
|
|
4
|
+
|
|
5
|
+
## Usage
|
|
6
|
+
|
|
7
|
+
```
|
|
8
|
+
npm i @openinc/parse-server-opendash
|
|
9
|
+
```
|
|
10
|
+
|
|
11
|
+
```ts
|
|
12
|
+
// cloud/main.js
|
|
13
|
+
|
|
14
|
+
const { init } = require("@openinc/parse-server-opendash");
|
|
15
|
+
|
|
16
|
+
init();
|
|
17
|
+
```
|
|
18
|
+
|
|
19
|
+
For a full list of exports see the file at [EXPORTS.md](./EXPORTS.md)
|
|
20
|
+
|
|
21
|
+
## Configuration
|
|
22
|
+
|
|
23
|
+
The configuration of this cloud code is done using environment variables.
|
|
24
|
+
|
|
25
|
+
By default no classes will be created. To create classes from the schema definition, you need to enable the feature flags according your needs.
|
|
26
|
+
|
|
27
|
+
For a full list of options see the file at [CONFIG.md](./CONFIG.md)
|
|
28
|
+
|
|
29
|
+
## Development
|
|
30
|
+
|
|
31
|
+
See the file at [DEVELOPMENT.md](./DEVELOPMENT.md)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@openinc/parse-server-opendash",
|
|
3
|
-
"version": "2.4.
|
|
3
|
+
"version": "2.4.32",
|
|
4
4
|
"description": "Parse Server Cloud Code for open.DASH",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"parse",
|
|
@@ -12,6 +12,14 @@
|
|
|
12
12
|
"dist",
|
|
13
13
|
"schema"
|
|
14
14
|
],
|
|
15
|
+
"scripts": {
|
|
16
|
+
"start": "tsc -w",
|
|
17
|
+
"build": "tsc",
|
|
18
|
+
"deploy": "opendash deploy",
|
|
19
|
+
"schema-down": "parse-server-schema down --prefix OD3_ ./schema",
|
|
20
|
+
"schema-ts": "parse-server-schema typescript --prefix OD3_ --global-sdk ./src/types",
|
|
21
|
+
"typedoc": "typedoc --plugin typedoc-plugin-markdown --hideBreadcrumbs --out docs src/index.ts"
|
|
22
|
+
},
|
|
15
23
|
"dependencies": {
|
|
16
24
|
"@openinc/parse-server-schema": "^1.6.0",
|
|
17
25
|
"fast-equals": "^5.0.1",
|
|
@@ -33,12 +41,5 @@
|
|
|
33
41
|
"typedoc": "^0.26.7",
|
|
34
42
|
"typedoc-plugin-markdown": "^4.2.7",
|
|
35
43
|
"typescript": "^5.6.2"
|
|
36
|
-
},
|
|
37
|
-
"scripts": {
|
|
38
|
-
"start": "tsc -w",
|
|
39
|
-
"build": "tsc",
|
|
40
|
-
"schema-down": "parse-server-schema down --prefix OD3_ ./schema",
|
|
41
|
-
"schema-ts": "parse-server-schema typescript --prefix OD3_ --global-sdk ./src/types",
|
|
42
|
-
"typedoc": "typedoc --plugin typedoc-plugin-markdown --hideBreadcrumbs --out docs src/index.ts"
|
|
43
44
|
}
|
|
44
|
-
}
|
|
45
|
+
}
|
package/schema/BDE_Form.json
CHANGED
|
@@ -1,52 +1,52 @@
|
|
|
1
|
-
{
|
|
2
|
-
"fields": {
|
|
3
|
-
"entries": {
|
|
4
|
-
"type": "Array"
|
|
5
|
-
},
|
|
6
|
-
"form": {
|
|
7
|
-
"type": "Object"
|
|
8
|
-
},
|
|
9
|
-
"name": {
|
|
10
|
-
"type": "String"
|
|
11
|
-
},
|
|
12
|
-
"pinOnFrontpageLink": {
|
|
13
|
-
"type": "String",
|
|
14
|
-
"required": false
|
|
15
|
-
},
|
|
16
|
-
"RID": {
|
|
17
|
-
"type": "String"
|
|
18
|
-
},
|
|
19
|
-
"storeUserInfo": {
|
|
20
|
-
"type": "Boolean",
|
|
21
|
-
"required": true,
|
|
22
|
-
"defaultValue": false
|
|
23
|
-
},
|
|
24
|
-
"visible_in_app": {
|
|
25
|
-
"type": "Boolean",
|
|
26
|
-
"required": false,
|
|
27
|
-
"defaultValue": true
|
|
28
|
-
}
|
|
29
|
-
},
|
|
30
|
-
"classLevelPermissions": {
|
|
31
|
-
"find": {
|
|
32
|
-
"requiresAuthentication": true
|
|
33
|
-
},
|
|
34
|
-
"count": {
|
|
35
|
-
"requiresAuthentication": true
|
|
36
|
-
},
|
|
37
|
-
"get": {
|
|
38
|
-
"requiresAuthentication": true
|
|
39
|
-
},
|
|
40
|
-
"create": {
|
|
41
|
-
"requiresAuthentication": true
|
|
42
|
-
},
|
|
43
|
-
"update": {
|
|
44
|
-
"requiresAuthentication": true
|
|
45
|
-
},
|
|
46
|
-
"delete": {
|
|
47
|
-
"requiresAuthentication": true
|
|
48
|
-
},
|
|
49
|
-
"addField": {},
|
|
50
|
-
"protectedFields": {}
|
|
51
|
-
}
|
|
52
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"fields": {
|
|
3
|
+
"entries": {
|
|
4
|
+
"type": "Array"
|
|
5
|
+
},
|
|
6
|
+
"form": {
|
|
7
|
+
"type": "Object"
|
|
8
|
+
},
|
|
9
|
+
"name": {
|
|
10
|
+
"type": "String"
|
|
11
|
+
},
|
|
12
|
+
"pinOnFrontpageLink": {
|
|
13
|
+
"type": "String",
|
|
14
|
+
"required": false
|
|
15
|
+
},
|
|
16
|
+
"RID": {
|
|
17
|
+
"type": "String"
|
|
18
|
+
},
|
|
19
|
+
"storeUserInfo": {
|
|
20
|
+
"type": "Boolean",
|
|
21
|
+
"required": true,
|
|
22
|
+
"defaultValue": false
|
|
23
|
+
},
|
|
24
|
+
"visible_in_app": {
|
|
25
|
+
"type": "Boolean",
|
|
26
|
+
"required": false,
|
|
27
|
+
"defaultValue": true
|
|
28
|
+
}
|
|
29
|
+
},
|
|
30
|
+
"classLevelPermissions": {
|
|
31
|
+
"find": {
|
|
32
|
+
"requiresAuthentication": true
|
|
33
|
+
},
|
|
34
|
+
"count": {
|
|
35
|
+
"requiresAuthentication": true
|
|
36
|
+
},
|
|
37
|
+
"get": {
|
|
38
|
+
"requiresAuthentication": true
|
|
39
|
+
},
|
|
40
|
+
"create": {
|
|
41
|
+
"requiresAuthentication": true
|
|
42
|
+
},
|
|
43
|
+
"update": {
|
|
44
|
+
"requiresAuthentication": true
|
|
45
|
+
},
|
|
46
|
+
"delete": {
|
|
47
|
+
"requiresAuthentication": true
|
|
48
|
+
},
|
|
49
|
+
"addField": {},
|
|
50
|
+
"protectedFields": {}
|
|
51
|
+
}
|
|
52
|
+
}
|
package/schema/GTFS_Route.json
CHANGED
|
@@ -1,78 +1,78 @@
|
|
|
1
|
-
{
|
|
2
|
-
"fields": {
|
|
3
|
-
"agency_id": {
|
|
4
|
-
"type": "Pointer",
|
|
5
|
-
"targetClass": "{{PREFIX}}GTFS_Agency",
|
|
6
|
-
"required": true
|
|
7
|
-
},
|
|
8
|
-
"key": {
|
|
9
|
-
"type": "String",
|
|
10
|
-
"required": true
|
|
11
|
-
},
|
|
12
|
-
"route_color": {
|
|
13
|
-
"type": "String",
|
|
14
|
-
"required": false
|
|
15
|
-
},
|
|
16
|
-
"route_desc": {
|
|
17
|
-
"type": "String",
|
|
18
|
-
"required": false
|
|
19
|
-
},
|
|
20
|
-
"route_id": {
|
|
21
|
-
"type": "String",
|
|
22
|
-
"required": true
|
|
23
|
-
},
|
|
24
|
-
"route_long_name": {
|
|
25
|
-
"type": "String",
|
|
26
|
-
"required": false
|
|
27
|
-
},
|
|
28
|
-
"route_short_name": {
|
|
29
|
-
"type": "String",
|
|
30
|
-
"required": false
|
|
31
|
-
},
|
|
32
|
-
"route_sort_order": {
|
|
33
|
-
"type": "Number",
|
|
34
|
-
"required": false
|
|
35
|
-
},
|
|
36
|
-
"route_text_color": {
|
|
37
|
-
"type": "String",
|
|
38
|
-
"required": false
|
|
39
|
-
},
|
|
40
|
-
"route_type": {
|
|
41
|
-
"type": "Number",
|
|
42
|
-
"required": true
|
|
43
|
-
},
|
|
44
|
-
"route_url": {
|
|
45
|
-
"type": "String",
|
|
46
|
-
"required": false
|
|
47
|
-
},
|
|
48
|
-
"tenant": {
|
|
49
|
-
"type": "Pointer",
|
|
50
|
-
"targetClass": "{{PREFIX}}Tenant",
|
|
51
|
-
"required": true
|
|
52
|
-
}
|
|
53
|
-
},
|
|
54
|
-
"classLevelPermissions": {
|
|
55
|
-
"find": {
|
|
56
|
-
"requiresAuthentication": true
|
|
57
|
-
},
|
|
58
|
-
"count": {
|
|
59
|
-
"requiresAuthentication": true
|
|
60
|
-
},
|
|
61
|
-
"get": {
|
|
62
|
-
"requiresAuthentication": true
|
|
63
|
-
},
|
|
64
|
-
"create": {
|
|
65
|
-
"requiresAuthentication": true
|
|
66
|
-
},
|
|
67
|
-
"update": {
|
|
68
|
-
"requiresAuthentication": true
|
|
69
|
-
},
|
|
70
|
-
"delete": {
|
|
71
|
-
"requiresAuthentication": true
|
|
72
|
-
},
|
|
73
|
-
"addField": {},
|
|
74
|
-
"protectedFields": {
|
|
75
|
-
"*": []
|
|
76
|
-
}
|
|
77
|
-
}
|
|
78
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"fields": {
|
|
3
|
+
"agency_id": {
|
|
4
|
+
"type": "Pointer",
|
|
5
|
+
"targetClass": "{{PREFIX}}GTFS_Agency",
|
|
6
|
+
"required": true
|
|
7
|
+
},
|
|
8
|
+
"key": {
|
|
9
|
+
"type": "String",
|
|
10
|
+
"required": true
|
|
11
|
+
},
|
|
12
|
+
"route_color": {
|
|
13
|
+
"type": "String",
|
|
14
|
+
"required": false
|
|
15
|
+
},
|
|
16
|
+
"route_desc": {
|
|
17
|
+
"type": "String",
|
|
18
|
+
"required": false
|
|
19
|
+
},
|
|
20
|
+
"route_id": {
|
|
21
|
+
"type": "String",
|
|
22
|
+
"required": true
|
|
23
|
+
},
|
|
24
|
+
"route_long_name": {
|
|
25
|
+
"type": "String",
|
|
26
|
+
"required": false
|
|
27
|
+
},
|
|
28
|
+
"route_short_name": {
|
|
29
|
+
"type": "String",
|
|
30
|
+
"required": false
|
|
31
|
+
},
|
|
32
|
+
"route_sort_order": {
|
|
33
|
+
"type": "Number",
|
|
34
|
+
"required": false
|
|
35
|
+
},
|
|
36
|
+
"route_text_color": {
|
|
37
|
+
"type": "String",
|
|
38
|
+
"required": false
|
|
39
|
+
},
|
|
40
|
+
"route_type": {
|
|
41
|
+
"type": "Number",
|
|
42
|
+
"required": true
|
|
43
|
+
},
|
|
44
|
+
"route_url": {
|
|
45
|
+
"type": "String",
|
|
46
|
+
"required": false
|
|
47
|
+
},
|
|
48
|
+
"tenant": {
|
|
49
|
+
"type": "Pointer",
|
|
50
|
+
"targetClass": "{{PREFIX}}Tenant",
|
|
51
|
+
"required": true
|
|
52
|
+
}
|
|
53
|
+
},
|
|
54
|
+
"classLevelPermissions": {
|
|
55
|
+
"find": {
|
|
56
|
+
"requiresAuthentication": true
|
|
57
|
+
},
|
|
58
|
+
"count": {
|
|
59
|
+
"requiresAuthentication": true
|
|
60
|
+
},
|
|
61
|
+
"get": {
|
|
62
|
+
"requiresAuthentication": true
|
|
63
|
+
},
|
|
64
|
+
"create": {
|
|
65
|
+
"requiresAuthentication": true
|
|
66
|
+
},
|
|
67
|
+
"update": {
|
|
68
|
+
"requiresAuthentication": true
|
|
69
|
+
},
|
|
70
|
+
"delete": {
|
|
71
|
+
"requiresAuthentication": true
|
|
72
|
+
},
|
|
73
|
+
"addField": {},
|
|
74
|
+
"protectedFields": {
|
|
75
|
+
"*": []
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
}
|
package/schema/GTFS_Trip.json
CHANGED
|
@@ -1,70 +1,70 @@
|
|
|
1
|
-
{
|
|
2
|
-
"fields": {
|
|
3
|
-
"bikes_allowed": {
|
|
4
|
-
"type": "Pointer",
|
|
5
|
-
"targetClass": "{{PREFIX}}GTFS_Bikes_Allowed",
|
|
6
|
-
"required": false
|
|
7
|
-
},
|
|
8
|
-
"direction_id": {
|
|
9
|
-
"type": "Pointer",
|
|
10
|
-
"targetClass": "{{PREFIX}}GTFS_Direction",
|
|
11
|
-
"required": false
|
|
12
|
-
},
|
|
13
|
-
"key": {
|
|
14
|
-
"type": "String",
|
|
15
|
-
"required": true
|
|
16
|
-
},
|
|
17
|
-
"route_id": {
|
|
18
|
-
"type": "Pointer",
|
|
19
|
-
"targetClass": "{{PREFIX}}GTFS_Route",
|
|
20
|
-
"required": true
|
|
21
|
-
},
|
|
22
|
-
"service_id": {
|
|
23
|
-
"type": "Pointer",
|
|
24
|
-
"targetClass": "{{PREFIX}}GTFS_Calendar",
|
|
25
|
-
"required": true
|
|
26
|
-
},
|
|
27
|
-
"tenant": {
|
|
28
|
-
"type": "Pointer",
|
|
29
|
-
"targetClass": "{{PREFIX}}Tenant",
|
|
30
|
-
"required": true
|
|
31
|
-
},
|
|
32
|
-
"trip_headsign": {
|
|
33
|
-
"type": "String",
|
|
34
|
-
"required": false
|
|
35
|
-
},
|
|
36
|
-
"trip_short_name": {
|
|
37
|
-
"type": "String",
|
|
38
|
-
"required": false
|
|
39
|
-
},
|
|
40
|
-
"wheelchair_accessible": {
|
|
41
|
-
"type": "Pointer",
|
|
42
|
-
"targetClass": "{{PREFIX}}GTFS_Wheelchair_Accessible",
|
|
43
|
-
"required": false
|
|
44
|
-
}
|
|
45
|
-
},
|
|
46
|
-
"classLevelPermissions": {
|
|
47
|
-
"find": {
|
|
48
|
-
"requiresAuthentication": true
|
|
49
|
-
},
|
|
50
|
-
"count": {
|
|
51
|
-
"requiresAuthentication": true
|
|
52
|
-
},
|
|
53
|
-
"get": {
|
|
54
|
-
"requiresAuthentication": true
|
|
55
|
-
},
|
|
56
|
-
"create": {
|
|
57
|
-
"requiresAuthentication": true
|
|
58
|
-
},
|
|
59
|
-
"update": {
|
|
60
|
-
"requiresAuthentication": true
|
|
61
|
-
},
|
|
62
|
-
"delete": {
|
|
63
|
-
"requiresAuthentication": true
|
|
64
|
-
},
|
|
65
|
-
"addField": {},
|
|
66
|
-
"protectedFields": {
|
|
67
|
-
"*": []
|
|
68
|
-
}
|
|
69
|
-
}
|
|
70
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"fields": {
|
|
3
|
+
"bikes_allowed": {
|
|
4
|
+
"type": "Pointer",
|
|
5
|
+
"targetClass": "{{PREFIX}}GTFS_Bikes_Allowed",
|
|
6
|
+
"required": false
|
|
7
|
+
},
|
|
8
|
+
"direction_id": {
|
|
9
|
+
"type": "Pointer",
|
|
10
|
+
"targetClass": "{{PREFIX}}GTFS_Direction",
|
|
11
|
+
"required": false
|
|
12
|
+
},
|
|
13
|
+
"key": {
|
|
14
|
+
"type": "String",
|
|
15
|
+
"required": true
|
|
16
|
+
},
|
|
17
|
+
"route_id": {
|
|
18
|
+
"type": "Pointer",
|
|
19
|
+
"targetClass": "{{PREFIX}}GTFS_Route",
|
|
20
|
+
"required": true
|
|
21
|
+
},
|
|
22
|
+
"service_id": {
|
|
23
|
+
"type": "Pointer",
|
|
24
|
+
"targetClass": "{{PREFIX}}GTFS_Calendar",
|
|
25
|
+
"required": true
|
|
26
|
+
},
|
|
27
|
+
"tenant": {
|
|
28
|
+
"type": "Pointer",
|
|
29
|
+
"targetClass": "{{PREFIX}}Tenant",
|
|
30
|
+
"required": true
|
|
31
|
+
},
|
|
32
|
+
"trip_headsign": {
|
|
33
|
+
"type": "String",
|
|
34
|
+
"required": false
|
|
35
|
+
},
|
|
36
|
+
"trip_short_name": {
|
|
37
|
+
"type": "String",
|
|
38
|
+
"required": false
|
|
39
|
+
},
|
|
40
|
+
"wheelchair_accessible": {
|
|
41
|
+
"type": "Pointer",
|
|
42
|
+
"targetClass": "{{PREFIX}}GTFS_Wheelchair_Accessible",
|
|
43
|
+
"required": false
|
|
44
|
+
}
|
|
45
|
+
},
|
|
46
|
+
"classLevelPermissions": {
|
|
47
|
+
"find": {
|
|
48
|
+
"requiresAuthentication": true
|
|
49
|
+
},
|
|
50
|
+
"count": {
|
|
51
|
+
"requiresAuthentication": true
|
|
52
|
+
},
|
|
53
|
+
"get": {
|
|
54
|
+
"requiresAuthentication": true
|
|
55
|
+
},
|
|
56
|
+
"create": {
|
|
57
|
+
"requiresAuthentication": true
|
|
58
|
+
},
|
|
59
|
+
"update": {
|
|
60
|
+
"requiresAuthentication": true
|
|
61
|
+
},
|
|
62
|
+
"delete": {
|
|
63
|
+
"requiresAuthentication": true
|
|
64
|
+
},
|
|
65
|
+
"addField": {},
|
|
66
|
+
"protectedFields": {
|
|
67
|
+
"*": []
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
}
|
package/schema/MailTemplate.json
CHANGED
|
@@ -1,52 +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
|
-
}
|
|
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
|
+
}
|