@openinc/parse-server-opendash 2.3.9 → 2.3.10
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/hooks/GTFS_Agency.js +1 -1
- package/dist/hooks/GTFS_Bikes_Allowed.js +1 -1
- package/dist/hooks/GTFS_Calendar.js +1 -1
- package/dist/hooks/GTFS_Direction.js +1 -1
- package/dist/hooks/GTFS_Level.js +1 -1
- package/dist/hooks/GTFS_Location_Type.js +1 -1
- package/dist/hooks/GTFS_Route.js +1 -1
- package/dist/hooks/GTFS_Route_Type.js +1 -1
- package/dist/hooks/GTFS_Stop.js +1 -1
- package/dist/hooks/GTFS_Stop_Times.js +1 -1
- package/dist/hooks/GTFS_Trip.js +1 -1
- package/dist/hooks/GTFS_Wheelchair_Accessible.js +1 -1
- package/dist/hooks/GTFS_Wheelchair_Boarding.js +1 -1
- package/dist/types/GTFS_Agency.d.ts +4 -0
- package/dist/types/GTFS_Agency.js +6 -0
- package/dist/types/GTFS_Bikes_Allowed.d.ts +4 -0
- package/dist/types/GTFS_Bikes_Allowed.js +6 -0
- package/dist/types/GTFS_Calendar.d.ts +4 -0
- package/dist/types/GTFS_Calendar.js +6 -0
- package/dist/types/GTFS_Direction.d.ts +4 -0
- package/dist/types/GTFS_Direction.js +6 -0
- package/dist/types/GTFS_Level.d.ts +4 -0
- package/dist/types/GTFS_Level.js +6 -0
- package/dist/types/GTFS_Location_Type.d.ts +4 -0
- package/dist/types/GTFS_Location_Type.js +6 -0
- package/dist/types/GTFS_Route.d.ts +4 -0
- package/dist/types/GTFS_Route.js +6 -0
- package/dist/types/GTFS_Route_Type.d.ts +4 -0
- package/dist/types/GTFS_Route_Type.js +6 -0
- package/dist/types/GTFS_Stop.d.ts +4 -0
- package/dist/types/GTFS_Stop.js +6 -0
- package/dist/types/GTFS_Stop_Times.d.ts +4 -0
- package/dist/types/GTFS_Stop_Times.js +6 -0
- package/dist/types/GTFS_Trip.d.ts +4 -0
- package/dist/types/GTFS_Trip.js +6 -0
- package/dist/types/GTFS_Wheelchair_Accessible.d.ts +4 -0
- package/dist/types/GTFS_Wheelchair_Accessible.js +6 -0
- package/dist/types/GTFS_Wheelchair_Boarding.d.ts +4 -0
- package/dist/types/GTFS_Wheelchair_Boarding.js +6 -0
- package/dist/types/Maintenance_Issuecategory.d.ts +3 -0
- package/dist/types/Maintenance_Issuecategory.js +6 -0
- package/package.json +1 -1
- package/schema/GTFS_Agency.json +5 -0
- package/schema/GTFS_Bikes_Allowed.json +5 -0
- package/schema/GTFS_Calendar.json +5 -0
- package/schema/GTFS_Direction.json +5 -0
- package/schema/GTFS_Level.json +5 -0
- package/schema/GTFS_Location_Type.json +5 -0
- package/schema/GTFS_Route.json +5 -0
- package/schema/GTFS_Route_Type.json +5 -0
- package/schema/GTFS_Stop.json +5 -0
- package/schema/GTFS_Stop_Times.json +5 -0
- package/schema/GTFS_Trip.json +5 -0
- package/schema/GTFS_Wheelchair_Accessible.json +5 -0
- package/schema/GTFS_Wheelchair_Boarding.json +5 -0
- package/schema/Maintenance_Issuecategory.json +5 -0
|
@@ -7,7 +7,7 @@ async function init() {
|
|
|
7
7
|
(0, __1.beforeSaveHook)(types_1.GTFS_Agency, async (request) => {
|
|
8
8
|
const { object, original, user } = request;
|
|
9
9
|
await (0, __1.defaultHandler)(request);
|
|
10
|
-
await (0, __1.defaultAclHandler)(request);
|
|
10
|
+
await (0, __1.defaultAclHandler)(request, { allowTenantUserWrite: true });
|
|
11
11
|
// TODO
|
|
12
12
|
});
|
|
13
13
|
(0, __1.afterSaveHook)(types_1.GTFS_Agency, async (request) => {
|
|
@@ -7,7 +7,7 @@ async function init() {
|
|
|
7
7
|
(0, __1.beforeSaveHook)(types_1.GTFS_Bikes_Allowed, async (request) => {
|
|
8
8
|
const { object, original, user } = request;
|
|
9
9
|
await (0, __1.defaultHandler)(request);
|
|
10
|
-
await (0, __1.defaultAclHandler)(request);
|
|
10
|
+
await (0, __1.defaultAclHandler)(request, { allowTenantUserWrite: true });
|
|
11
11
|
// TODO
|
|
12
12
|
});
|
|
13
13
|
(0, __1.afterSaveHook)(types_1.GTFS_Bikes_Allowed, async (request) => {
|
|
@@ -7,7 +7,7 @@ async function init() {
|
|
|
7
7
|
(0, __1.beforeSaveHook)(types_1.GTFS_Calendar, async (request) => {
|
|
8
8
|
const { object, original, user } = request;
|
|
9
9
|
await (0, __1.defaultHandler)(request);
|
|
10
|
-
await (0, __1.defaultAclHandler)(request);
|
|
10
|
+
await (0, __1.defaultAclHandler)(request, { allowTenantUserWrite: true });
|
|
11
11
|
// TODO
|
|
12
12
|
});
|
|
13
13
|
(0, __1.afterSaveHook)(types_1.GTFS_Calendar, async (request) => {
|
|
@@ -7,7 +7,7 @@ async function init() {
|
|
|
7
7
|
(0, __1.beforeSaveHook)(types_1.GTFS_Direction, async (request) => {
|
|
8
8
|
const { object, original, user } = request;
|
|
9
9
|
await (0, __1.defaultHandler)(request);
|
|
10
|
-
await (0, __1.defaultAclHandler)(request);
|
|
10
|
+
await (0, __1.defaultAclHandler)(request, { allowTenantUserWrite: true });
|
|
11
11
|
// TODO
|
|
12
12
|
});
|
|
13
13
|
(0, __1.afterSaveHook)(types_1.GTFS_Direction, async (request) => {
|
package/dist/hooks/GTFS_Level.js
CHANGED
|
@@ -7,7 +7,7 @@ async function init() {
|
|
|
7
7
|
(0, __1.beforeSaveHook)(types_1.GTFS_Level, async (request) => {
|
|
8
8
|
const { object, original, user } = request;
|
|
9
9
|
await (0, __1.defaultHandler)(request);
|
|
10
|
-
await (0, __1.defaultAclHandler)(request);
|
|
10
|
+
await (0, __1.defaultAclHandler)(request, { allowTenantUserWrite: true });
|
|
11
11
|
// TODO
|
|
12
12
|
});
|
|
13
13
|
(0, __1.afterSaveHook)(types_1.GTFS_Level, async (request) => {
|
|
@@ -7,7 +7,7 @@ async function init() {
|
|
|
7
7
|
(0, __1.beforeSaveHook)(types_1.GTFS_Location_Type, async (request) => {
|
|
8
8
|
const { object, original, user } = request;
|
|
9
9
|
await (0, __1.defaultHandler)(request);
|
|
10
|
-
await (0, __1.defaultAclHandler)(request);
|
|
10
|
+
await (0, __1.defaultAclHandler)(request, { allowTenantUserWrite: true });
|
|
11
11
|
// TODO
|
|
12
12
|
});
|
|
13
13
|
(0, __1.afterSaveHook)(types_1.GTFS_Location_Type, async (request) => {
|
package/dist/hooks/GTFS_Route.js
CHANGED
|
@@ -7,7 +7,7 @@ async function init() {
|
|
|
7
7
|
(0, __1.beforeSaveHook)(types_1.GTFS_Route, async (request) => {
|
|
8
8
|
const { object, original, user } = request;
|
|
9
9
|
await (0, __1.defaultHandler)(request);
|
|
10
|
-
await (0, __1.defaultAclHandler)(request);
|
|
10
|
+
await (0, __1.defaultAclHandler)(request, { allowTenantUserWrite: true });
|
|
11
11
|
// TODO
|
|
12
12
|
});
|
|
13
13
|
(0, __1.afterSaveHook)(types_1.GTFS_Route, async (request) => {
|
|
@@ -7,7 +7,7 @@ async function init() {
|
|
|
7
7
|
(0, __1.beforeSaveHook)(types_1.GTFS_Route_Type, async (request) => {
|
|
8
8
|
const { object, original, user } = request;
|
|
9
9
|
await (0, __1.defaultHandler)(request);
|
|
10
|
-
await (0, __1.defaultAclHandler)(request);
|
|
10
|
+
await (0, __1.defaultAclHandler)(request, { allowTenantUserWrite: true });
|
|
11
11
|
// TODO
|
|
12
12
|
});
|
|
13
13
|
(0, __1.afterSaveHook)(types_1.GTFS_Route_Type, async (request) => {
|
package/dist/hooks/GTFS_Stop.js
CHANGED
|
@@ -7,7 +7,7 @@ async function init() {
|
|
|
7
7
|
(0, __1.beforeSaveHook)(types_1.GTFS_Stop, async (request) => {
|
|
8
8
|
const { object, original, user } = request;
|
|
9
9
|
await (0, __1.defaultHandler)(request);
|
|
10
|
-
await (0, __1.defaultAclHandler)(request);
|
|
10
|
+
await (0, __1.defaultAclHandler)(request, { allowTenantUserWrite: true });
|
|
11
11
|
// TODO
|
|
12
12
|
});
|
|
13
13
|
(0, __1.afterSaveHook)(types_1.GTFS_Stop, async (request) => {
|
|
@@ -7,7 +7,7 @@ async function init() {
|
|
|
7
7
|
(0, __1.beforeSaveHook)(types_1.GTFS_Stop_Times, async (request) => {
|
|
8
8
|
const { object, original, user } = request;
|
|
9
9
|
await (0, __1.defaultHandler)(request);
|
|
10
|
-
await (0, __1.defaultAclHandler)(request);
|
|
10
|
+
await (0, __1.defaultAclHandler)(request, { allowTenantUserWrite: true });
|
|
11
11
|
// TODO
|
|
12
12
|
});
|
|
13
13
|
(0, __1.afterSaveHook)(types_1.GTFS_Stop_Times, async (request) => {
|
package/dist/hooks/GTFS_Trip.js
CHANGED
|
@@ -7,7 +7,7 @@ async function init() {
|
|
|
7
7
|
(0, __1.beforeSaveHook)(types_1.GTFS_Trip, async (request) => {
|
|
8
8
|
const { object, original, user } = request;
|
|
9
9
|
await (0, __1.defaultHandler)(request);
|
|
10
|
-
await (0, __1.defaultAclHandler)(request);
|
|
10
|
+
await (0, __1.defaultAclHandler)(request, { allowTenantUserWrite: true });
|
|
11
11
|
// TODO
|
|
12
12
|
});
|
|
13
13
|
(0, __1.afterSaveHook)(types_1.GTFS_Trip, async (request) => {
|
|
@@ -7,7 +7,7 @@ async function init() {
|
|
|
7
7
|
(0, __1.beforeSaveHook)(types_1.GTFS_Wheelchair_Accessible, async (request) => {
|
|
8
8
|
const { object, original, user } = request;
|
|
9
9
|
await (0, __1.defaultHandler)(request);
|
|
10
|
-
await (0, __1.defaultAclHandler)(request);
|
|
10
|
+
await (0, __1.defaultAclHandler)(request, { allowTenantUserWrite: true });
|
|
11
11
|
// TODO
|
|
12
12
|
});
|
|
13
13
|
(0, __1.afterSaveHook)(types_1.GTFS_Wheelchair_Accessible, async (request) => {
|
|
@@ -7,7 +7,7 @@ async function init() {
|
|
|
7
7
|
(0, __1.beforeSaveHook)(types_1.GTFS_Wheelchair_Boarding, async (request) => {
|
|
8
8
|
const { object, original, user } = request;
|
|
9
9
|
await (0, __1.defaultHandler)(request);
|
|
10
|
-
await (0, __1.defaultAclHandler)(request);
|
|
10
|
+
await (0, __1.defaultAclHandler)(request, { allowTenantUserWrite: true });
|
|
11
11
|
// TODO
|
|
12
12
|
});
|
|
13
13
|
(0, __1.afterSaveHook)(types_1.GTFS_Wheelchair_Boarding, async (request) => {
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
/// <reference types="parse" />
|
|
2
|
+
import type { Tenant } from "./Tenant";
|
|
2
3
|
export interface GTFS_AgencyAttributes {
|
|
3
4
|
id: string;
|
|
4
5
|
objectId: string;
|
|
@@ -12,6 +13,7 @@ export interface GTFS_AgencyAttributes {
|
|
|
12
13
|
agency_phone?: string;
|
|
13
14
|
agency_timezone: string;
|
|
14
15
|
agency_url: string;
|
|
16
|
+
tenant: Tenant;
|
|
15
17
|
}
|
|
16
18
|
export declare class GTFS_Agency extends Parse.Object<GTFS_AgencyAttributes> {
|
|
17
19
|
static className: string;
|
|
@@ -32,4 +34,6 @@ export declare class GTFS_Agency extends Parse.Object<GTFS_AgencyAttributes> {
|
|
|
32
34
|
set agency_timezone(value: string);
|
|
33
35
|
get agency_url(): string;
|
|
34
36
|
set agency_url(value: string);
|
|
37
|
+
get tenant(): Tenant;
|
|
38
|
+
set tenant(value: Tenant);
|
|
35
39
|
}
|
|
@@ -53,6 +53,12 @@ class GTFS_Agency extends Parse.Object {
|
|
|
53
53
|
set agency_url(value) {
|
|
54
54
|
super.set("agency_url", value);
|
|
55
55
|
}
|
|
56
|
+
get tenant() {
|
|
57
|
+
return super.get("tenant");
|
|
58
|
+
}
|
|
59
|
+
set tenant(value) {
|
|
60
|
+
super.set("tenant", value);
|
|
61
|
+
}
|
|
56
62
|
}
|
|
57
63
|
GTFS_Agency.className = "OD3_GTFS_Agency";
|
|
58
64
|
exports.GTFS_Agency = GTFS_Agency;
|
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
/// <reference types="parse" />
|
|
2
|
+
import type { Tenant } from "./Tenant";
|
|
2
3
|
export interface GTFS_Bikes_AllowedAttributes {
|
|
3
4
|
id: string;
|
|
4
5
|
objectId: string;
|
|
5
6
|
createdAt: Date;
|
|
6
7
|
updatedAt: Date;
|
|
7
8
|
description: string;
|
|
9
|
+
tenant: Tenant;
|
|
8
10
|
value: number;
|
|
9
11
|
}
|
|
10
12
|
export declare class GTFS_Bikes_Allowed extends Parse.Object<GTFS_Bikes_AllowedAttributes> {
|
|
@@ -12,6 +14,8 @@ export declare class GTFS_Bikes_Allowed extends Parse.Object<GTFS_Bikes_AllowedA
|
|
|
12
14
|
constructor(data?: Partial<GTFS_Bikes_AllowedAttributes>);
|
|
13
15
|
get description(): string;
|
|
14
16
|
set description(value: string);
|
|
17
|
+
get tenant(): Tenant;
|
|
18
|
+
set tenant(value: Tenant);
|
|
15
19
|
get value(): number;
|
|
16
20
|
set value(value: number);
|
|
17
21
|
}
|
|
@@ -11,6 +11,12 @@ class GTFS_Bikes_Allowed extends Parse.Object {
|
|
|
11
11
|
set description(value) {
|
|
12
12
|
super.set("description", value);
|
|
13
13
|
}
|
|
14
|
+
get tenant() {
|
|
15
|
+
return super.get("tenant");
|
|
16
|
+
}
|
|
17
|
+
set tenant(value) {
|
|
18
|
+
super.set("tenant", value);
|
|
19
|
+
}
|
|
14
20
|
get value() {
|
|
15
21
|
return super.get("value");
|
|
16
22
|
}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
/// <reference types="parse" />
|
|
2
|
+
import type { Tenant } from "./Tenant";
|
|
2
3
|
export interface GTFS_CalendarAttributes {
|
|
3
4
|
id: string;
|
|
4
5
|
objectId: string;
|
|
@@ -10,6 +11,7 @@ export interface GTFS_CalendarAttributes {
|
|
|
10
11
|
saturday?: boolean;
|
|
11
12
|
start_date: Date;
|
|
12
13
|
sunday?: boolean;
|
|
14
|
+
tenant: Tenant;
|
|
13
15
|
thursday?: boolean;
|
|
14
16
|
tuesday?: boolean;
|
|
15
17
|
wednesday?: boolean;
|
|
@@ -29,6 +31,8 @@ export declare class GTFS_Calendar extends Parse.Object<GTFS_CalendarAttributes>
|
|
|
29
31
|
set start_date(value: Date);
|
|
30
32
|
get sunday(): boolean | undefined;
|
|
31
33
|
set sunday(value: boolean | undefined);
|
|
34
|
+
get tenant(): Tenant;
|
|
35
|
+
set tenant(value: Tenant);
|
|
32
36
|
get thursday(): boolean | undefined;
|
|
33
37
|
set thursday(value: boolean | undefined);
|
|
34
38
|
get tuesday(): boolean | undefined;
|
|
@@ -41,6 +41,12 @@ class GTFS_Calendar extends Parse.Object {
|
|
|
41
41
|
set sunday(value) {
|
|
42
42
|
super.set("sunday", value);
|
|
43
43
|
}
|
|
44
|
+
get tenant() {
|
|
45
|
+
return super.get("tenant");
|
|
46
|
+
}
|
|
47
|
+
set tenant(value) {
|
|
48
|
+
super.set("tenant", value);
|
|
49
|
+
}
|
|
44
50
|
get thursday() {
|
|
45
51
|
return super.get("thursday");
|
|
46
52
|
}
|
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
/// <reference types="parse" />
|
|
2
|
+
import type { Tenant } from "./Tenant";
|
|
2
3
|
export interface GTFS_DirectionAttributes {
|
|
3
4
|
id: string;
|
|
4
5
|
objectId: string;
|
|
5
6
|
createdAt: Date;
|
|
6
7
|
updatedAt: Date;
|
|
7
8
|
description: string;
|
|
9
|
+
tenant: Tenant;
|
|
8
10
|
value: number;
|
|
9
11
|
}
|
|
10
12
|
export declare class GTFS_Direction extends Parse.Object<GTFS_DirectionAttributes> {
|
|
@@ -12,6 +14,8 @@ export declare class GTFS_Direction extends Parse.Object<GTFS_DirectionAttribute
|
|
|
12
14
|
constructor(data?: Partial<GTFS_DirectionAttributes>);
|
|
13
15
|
get description(): string;
|
|
14
16
|
set description(value: string);
|
|
17
|
+
get tenant(): Tenant;
|
|
18
|
+
set tenant(value: Tenant);
|
|
15
19
|
get value(): number;
|
|
16
20
|
set value(value: number);
|
|
17
21
|
}
|
|
@@ -11,6 +11,12 @@ class GTFS_Direction extends Parse.Object {
|
|
|
11
11
|
set description(value) {
|
|
12
12
|
super.set("description", value);
|
|
13
13
|
}
|
|
14
|
+
get tenant() {
|
|
15
|
+
return super.get("tenant");
|
|
16
|
+
}
|
|
17
|
+
set tenant(value) {
|
|
18
|
+
super.set("tenant", value);
|
|
19
|
+
}
|
|
14
20
|
get value() {
|
|
15
21
|
return super.get("value");
|
|
16
22
|
}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
/// <reference types="parse" />
|
|
2
|
+
import type { Tenant } from "./Tenant";
|
|
2
3
|
export interface GTFS_LevelAttributes {
|
|
3
4
|
id: string;
|
|
4
5
|
objectId: string;
|
|
@@ -6,6 +7,7 @@ export interface GTFS_LevelAttributes {
|
|
|
6
7
|
updatedAt: Date;
|
|
7
8
|
level_index: number;
|
|
8
9
|
level_name?: string;
|
|
10
|
+
tenant: Tenant;
|
|
9
11
|
}
|
|
10
12
|
export declare class GTFS_Level extends Parse.Object<GTFS_LevelAttributes> {
|
|
11
13
|
static className: string;
|
|
@@ -14,4 +16,6 @@ export declare class GTFS_Level extends Parse.Object<GTFS_LevelAttributes> {
|
|
|
14
16
|
set level_index(value: number);
|
|
15
17
|
get level_name(): string | undefined;
|
|
16
18
|
set level_name(value: string | undefined);
|
|
19
|
+
get tenant(): Tenant;
|
|
20
|
+
set tenant(value: Tenant);
|
|
17
21
|
}
|
package/dist/types/GTFS_Level.js
CHANGED
|
@@ -17,6 +17,12 @@ class GTFS_Level extends Parse.Object {
|
|
|
17
17
|
set level_name(value) {
|
|
18
18
|
super.set("level_name", value);
|
|
19
19
|
}
|
|
20
|
+
get tenant() {
|
|
21
|
+
return super.get("tenant");
|
|
22
|
+
}
|
|
23
|
+
set tenant(value) {
|
|
24
|
+
super.set("tenant", value);
|
|
25
|
+
}
|
|
20
26
|
}
|
|
21
27
|
GTFS_Level.className = "OD3_GTFS_Level";
|
|
22
28
|
exports.GTFS_Level = GTFS_Level;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
/// <reference types="parse" />
|
|
2
|
+
import type { Tenant } from "./Tenant";
|
|
2
3
|
export interface GTFS_Location_TypeAttributes {
|
|
3
4
|
id: string;
|
|
4
5
|
objectId: string;
|
|
@@ -6,6 +7,7 @@ export interface GTFS_Location_TypeAttributes {
|
|
|
6
7
|
updatedAt: Date;
|
|
7
8
|
description: string;
|
|
8
9
|
name: string;
|
|
10
|
+
tenant: Tenant;
|
|
9
11
|
value: number;
|
|
10
12
|
}
|
|
11
13
|
export declare class GTFS_Location_Type extends Parse.Object<GTFS_Location_TypeAttributes> {
|
|
@@ -15,6 +17,8 @@ export declare class GTFS_Location_Type extends Parse.Object<GTFS_Location_TypeA
|
|
|
15
17
|
set description(value: string);
|
|
16
18
|
get name(): string;
|
|
17
19
|
set name(value: string);
|
|
20
|
+
get tenant(): Tenant;
|
|
21
|
+
set tenant(value: Tenant);
|
|
18
22
|
get value(): number;
|
|
19
23
|
set value(value: number);
|
|
20
24
|
}
|
|
@@ -17,6 +17,12 @@ class GTFS_Location_Type extends Parse.Object {
|
|
|
17
17
|
set name(value) {
|
|
18
18
|
super.set("name", value);
|
|
19
19
|
}
|
|
20
|
+
get tenant() {
|
|
21
|
+
return super.get("tenant");
|
|
22
|
+
}
|
|
23
|
+
set tenant(value) {
|
|
24
|
+
super.set("tenant", value);
|
|
25
|
+
}
|
|
20
26
|
get value() {
|
|
21
27
|
return super.get("value");
|
|
22
28
|
}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
/// <reference types="parse" />
|
|
2
2
|
import type { GTFS_Agency } from "./GTFS_Agency";
|
|
3
|
+
import type { Tenant } from "./Tenant";
|
|
3
4
|
export interface GTFS_RouteAttributes {
|
|
4
5
|
id: string;
|
|
5
6
|
objectId: string;
|
|
@@ -15,6 +16,7 @@ export interface GTFS_RouteAttributes {
|
|
|
15
16
|
route_text_color?: string;
|
|
16
17
|
route_type: number;
|
|
17
18
|
route_url?: string;
|
|
19
|
+
tenant: Tenant;
|
|
18
20
|
}
|
|
19
21
|
export declare class GTFS_Route extends Parse.Object<GTFS_RouteAttributes> {
|
|
20
22
|
static className: string;
|
|
@@ -39,4 +41,6 @@ export declare class GTFS_Route extends Parse.Object<GTFS_RouteAttributes> {
|
|
|
39
41
|
set route_type(value: number);
|
|
40
42
|
get route_url(): string | undefined;
|
|
41
43
|
set route_url(value: string | undefined);
|
|
44
|
+
get tenant(): Tenant;
|
|
45
|
+
set tenant(value: Tenant);
|
|
42
46
|
}
|
package/dist/types/GTFS_Route.js
CHANGED
|
@@ -65,6 +65,12 @@ class GTFS_Route extends Parse.Object {
|
|
|
65
65
|
set route_url(value) {
|
|
66
66
|
super.set("route_url", value);
|
|
67
67
|
}
|
|
68
|
+
get tenant() {
|
|
69
|
+
return super.get("tenant");
|
|
70
|
+
}
|
|
71
|
+
set tenant(value) {
|
|
72
|
+
super.set("tenant", value);
|
|
73
|
+
}
|
|
68
74
|
}
|
|
69
75
|
GTFS_Route.className = "OD3_GTFS_Route";
|
|
70
76
|
exports.GTFS_Route = GTFS_Route;
|
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
/// <reference types="parse" />
|
|
2
|
+
import type { Tenant } from "./Tenant";
|
|
2
3
|
export interface GTFS_Route_TypeAttributes {
|
|
3
4
|
id: string;
|
|
4
5
|
objectId: string;
|
|
5
6
|
createdAt: Date;
|
|
6
7
|
updatedAt: Date;
|
|
7
8
|
description: string;
|
|
9
|
+
tenant: Tenant;
|
|
8
10
|
transportation_device: string;
|
|
9
11
|
value: number;
|
|
10
12
|
}
|
|
@@ -13,6 +15,8 @@ export declare class GTFS_Route_Type extends Parse.Object<GTFS_Route_TypeAttribu
|
|
|
13
15
|
constructor(data?: Partial<GTFS_Route_TypeAttributes>);
|
|
14
16
|
get description(): string;
|
|
15
17
|
set description(value: string);
|
|
18
|
+
get tenant(): Tenant;
|
|
19
|
+
set tenant(value: Tenant);
|
|
16
20
|
get transportation_device(): string;
|
|
17
21
|
set transportation_device(value: string);
|
|
18
22
|
get value(): number;
|
|
@@ -11,6 +11,12 @@ class GTFS_Route_Type extends Parse.Object {
|
|
|
11
11
|
set description(value) {
|
|
12
12
|
super.set("description", value);
|
|
13
13
|
}
|
|
14
|
+
get tenant() {
|
|
15
|
+
return super.get("tenant");
|
|
16
|
+
}
|
|
17
|
+
set tenant(value) {
|
|
18
|
+
super.set("tenant", value);
|
|
19
|
+
}
|
|
14
20
|
get transportation_device() {
|
|
15
21
|
return super.get("transportation_device");
|
|
16
22
|
}
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
import type { GTFS_Level } from "./GTFS_Level";
|
|
3
3
|
import type { GTFS_Location_Type } from "./GTFS_Location_Type";
|
|
4
4
|
import type { GTFS_Wheelchair_Boarding } from "./GTFS_Wheelchair_Boarding";
|
|
5
|
+
import type { Tenant } from "./Tenant";
|
|
5
6
|
export interface GTFS_StopAttributes {
|
|
6
7
|
id: string;
|
|
7
8
|
objectId: string;
|
|
@@ -19,6 +20,7 @@ export interface GTFS_StopAttributes {
|
|
|
19
20
|
stop_name?: string;
|
|
20
21
|
stop_timezone?: string;
|
|
21
22
|
stop_url?: string;
|
|
23
|
+
tenant: Tenant;
|
|
22
24
|
wheelchair_boarding?: GTFS_Wheelchair_Boarding;
|
|
23
25
|
zone_id?: string;
|
|
24
26
|
}
|
|
@@ -49,6 +51,8 @@ export declare class GTFS_Stop extends Parse.Object<GTFS_StopAttributes> {
|
|
|
49
51
|
set stop_timezone(value: string | undefined);
|
|
50
52
|
get stop_url(): string | undefined;
|
|
51
53
|
set stop_url(value: string | undefined);
|
|
54
|
+
get tenant(): Tenant;
|
|
55
|
+
set tenant(value: Tenant);
|
|
52
56
|
get wheelchair_boarding(): GTFS_Wheelchair_Boarding | undefined;
|
|
53
57
|
set wheelchair_boarding(value: GTFS_Wheelchair_Boarding | undefined);
|
|
54
58
|
get zone_id(): string | undefined;
|
package/dist/types/GTFS_Stop.js
CHANGED
|
@@ -77,6 +77,12 @@ class GTFS_Stop extends Parse.Object {
|
|
|
77
77
|
set stop_url(value) {
|
|
78
78
|
super.set("stop_url", value);
|
|
79
79
|
}
|
|
80
|
+
get tenant() {
|
|
81
|
+
return super.get("tenant");
|
|
82
|
+
}
|
|
83
|
+
set tenant(value) {
|
|
84
|
+
super.set("tenant", value);
|
|
85
|
+
}
|
|
80
86
|
get wheelchair_boarding() {
|
|
81
87
|
return super.get("wheelchair_boarding");
|
|
82
88
|
}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
/// <reference types="parse" />
|
|
2
2
|
import type { GTFS_Stop } from "./GTFS_Stop";
|
|
3
3
|
import type { GTFS_Trip } from "./GTFS_Trip";
|
|
4
|
+
import type { Tenant } from "./Tenant";
|
|
4
5
|
export interface GTFS_Stop_TimesAttributes {
|
|
5
6
|
id: string;
|
|
6
7
|
objectId: string;
|
|
@@ -10,6 +11,7 @@ export interface GTFS_Stop_TimesAttributes {
|
|
|
10
11
|
departure_time?: Date;
|
|
11
12
|
stop_id: GTFS_Stop;
|
|
12
13
|
stop_sequence: number;
|
|
14
|
+
tenant: Tenant;
|
|
13
15
|
trip_id: GTFS_Trip;
|
|
14
16
|
}
|
|
15
17
|
export declare class GTFS_Stop_Times extends Parse.Object<GTFS_Stop_TimesAttributes> {
|
|
@@ -23,6 +25,8 @@ export declare class GTFS_Stop_Times extends Parse.Object<GTFS_Stop_TimesAttribu
|
|
|
23
25
|
set stop_id(value: GTFS_Stop);
|
|
24
26
|
get stop_sequence(): number;
|
|
25
27
|
set stop_sequence(value: number);
|
|
28
|
+
get tenant(): Tenant;
|
|
29
|
+
set tenant(value: Tenant);
|
|
26
30
|
get trip_id(): GTFS_Trip;
|
|
27
31
|
set trip_id(value: GTFS_Trip);
|
|
28
32
|
}
|
|
@@ -29,6 +29,12 @@ class GTFS_Stop_Times extends Parse.Object {
|
|
|
29
29
|
set stop_sequence(value) {
|
|
30
30
|
super.set("stop_sequence", value);
|
|
31
31
|
}
|
|
32
|
+
get tenant() {
|
|
33
|
+
return super.get("tenant");
|
|
34
|
+
}
|
|
35
|
+
set tenant(value) {
|
|
36
|
+
super.set("tenant", value);
|
|
37
|
+
}
|
|
32
38
|
get trip_id() {
|
|
33
39
|
return super.get("trip_id");
|
|
34
40
|
}
|
|
@@ -4,6 +4,7 @@ import type { GTFS_Calendar } from "./GTFS_Calendar";
|
|
|
4
4
|
import type { GTFS_Direction } from "./GTFS_Direction";
|
|
5
5
|
import type { GTFS_Route } from "./GTFS_Route";
|
|
6
6
|
import type { GTFS_Wheelchair_Accessible } from "./GTFS_Wheelchair_Accessible";
|
|
7
|
+
import type { Tenant } from "./Tenant";
|
|
7
8
|
export interface GTFS_TripAttributes {
|
|
8
9
|
id: string;
|
|
9
10
|
objectId: string;
|
|
@@ -13,6 +14,7 @@ export interface GTFS_TripAttributes {
|
|
|
13
14
|
direction_id?: GTFS_Direction;
|
|
14
15
|
route_id: GTFS_Route;
|
|
15
16
|
service_id: GTFS_Calendar;
|
|
17
|
+
tenant: Tenant;
|
|
16
18
|
trip_headsign?: string;
|
|
17
19
|
trip_short_name?: string;
|
|
18
20
|
wheelchair_accessible?: GTFS_Wheelchair_Accessible;
|
|
@@ -28,6 +30,8 @@ export declare class GTFS_Trip extends Parse.Object<GTFS_TripAttributes> {
|
|
|
28
30
|
set route_id(value: GTFS_Route);
|
|
29
31
|
get service_id(): GTFS_Calendar;
|
|
30
32
|
set service_id(value: GTFS_Calendar);
|
|
33
|
+
get tenant(): Tenant;
|
|
34
|
+
set tenant(value: Tenant);
|
|
31
35
|
get trip_headsign(): string | undefined;
|
|
32
36
|
set trip_headsign(value: string | undefined);
|
|
33
37
|
get trip_short_name(): string | undefined;
|
package/dist/types/GTFS_Trip.js
CHANGED
|
@@ -29,6 +29,12 @@ class GTFS_Trip extends Parse.Object {
|
|
|
29
29
|
set service_id(value) {
|
|
30
30
|
super.set("service_id", value);
|
|
31
31
|
}
|
|
32
|
+
get tenant() {
|
|
33
|
+
return super.get("tenant");
|
|
34
|
+
}
|
|
35
|
+
set tenant(value) {
|
|
36
|
+
super.set("tenant", value);
|
|
37
|
+
}
|
|
32
38
|
get trip_headsign() {
|
|
33
39
|
return super.get("trip_headsign");
|
|
34
40
|
}
|
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
/// <reference types="parse" />
|
|
2
|
+
import type { Tenant } from "./Tenant";
|
|
2
3
|
export interface GTFS_Wheelchair_AccessibleAttributes {
|
|
3
4
|
id: string;
|
|
4
5
|
objectId: string;
|
|
5
6
|
createdAt: Date;
|
|
6
7
|
updatedAt: Date;
|
|
7
8
|
description: string;
|
|
9
|
+
tenant: Tenant;
|
|
8
10
|
value: number;
|
|
9
11
|
}
|
|
10
12
|
export declare class GTFS_Wheelchair_Accessible extends Parse.Object<GTFS_Wheelchair_AccessibleAttributes> {
|
|
@@ -12,6 +14,8 @@ export declare class GTFS_Wheelchair_Accessible extends Parse.Object<GTFS_Wheelc
|
|
|
12
14
|
constructor(data?: Partial<GTFS_Wheelchair_AccessibleAttributes>);
|
|
13
15
|
get description(): string;
|
|
14
16
|
set description(value: string);
|
|
17
|
+
get tenant(): Tenant;
|
|
18
|
+
set tenant(value: Tenant);
|
|
15
19
|
get value(): number;
|
|
16
20
|
set value(value: number);
|
|
17
21
|
}
|
|
@@ -11,6 +11,12 @@ class GTFS_Wheelchair_Accessible extends Parse.Object {
|
|
|
11
11
|
set description(value) {
|
|
12
12
|
super.set("description", value);
|
|
13
13
|
}
|
|
14
|
+
get tenant() {
|
|
15
|
+
return super.get("tenant");
|
|
16
|
+
}
|
|
17
|
+
set tenant(value) {
|
|
18
|
+
super.set("tenant", value);
|
|
19
|
+
}
|
|
14
20
|
get value() {
|
|
15
21
|
return super.get("value");
|
|
16
22
|
}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
/// <reference types="parse" />
|
|
2
|
+
import type { Tenant } from "./Tenant";
|
|
2
3
|
export interface GTFS_Wheelchair_BoardingAttributes {
|
|
3
4
|
id: string;
|
|
4
5
|
objectId: string;
|
|
@@ -6,6 +7,7 @@ export interface GTFS_Wheelchair_BoardingAttributes {
|
|
|
6
7
|
updatedAt: Date;
|
|
7
8
|
condition?: string;
|
|
8
9
|
description?: string;
|
|
10
|
+
tenant: Tenant;
|
|
9
11
|
value: number;
|
|
10
12
|
}
|
|
11
13
|
export declare class GTFS_Wheelchair_Boarding extends Parse.Object<GTFS_Wheelchair_BoardingAttributes> {
|
|
@@ -15,6 +17,8 @@ export declare class GTFS_Wheelchair_Boarding extends Parse.Object<GTFS_Wheelcha
|
|
|
15
17
|
set condition(value: string | undefined);
|
|
16
18
|
get description(): string | undefined;
|
|
17
19
|
set description(value: string | undefined);
|
|
20
|
+
get tenant(): Tenant;
|
|
21
|
+
set tenant(value: Tenant);
|
|
18
22
|
get value(): number;
|
|
19
23
|
set value(value: number);
|
|
20
24
|
}
|
|
@@ -17,6 +17,12 @@ class GTFS_Wheelchair_Boarding extends Parse.Object {
|
|
|
17
17
|
set description(value) {
|
|
18
18
|
super.set("description", value);
|
|
19
19
|
}
|
|
20
|
+
get tenant() {
|
|
21
|
+
return super.get("tenant");
|
|
22
|
+
}
|
|
23
|
+
set tenant(value) {
|
|
24
|
+
super.set("tenant", value);
|
|
25
|
+
}
|
|
20
26
|
get value() {
|
|
21
27
|
return super.get("value");
|
|
22
28
|
}
|
|
@@ -6,6 +6,7 @@ export interface Maintenance_IssuecategoryAttributes {
|
|
|
6
6
|
objectId: string;
|
|
7
7
|
createdAt: Date;
|
|
8
8
|
updatedAt: Date;
|
|
9
|
+
catchall: boolean;
|
|
9
10
|
enabled: boolean;
|
|
10
11
|
icon?: string;
|
|
11
12
|
issuecode?: string;
|
|
@@ -17,6 +18,8 @@ export interface Maintenance_IssuecategoryAttributes {
|
|
|
17
18
|
export declare class Maintenance_Issuecategory extends Parse.Object<Maintenance_IssuecategoryAttributes> {
|
|
18
19
|
static className: string;
|
|
19
20
|
constructor(data?: Partial<Maintenance_IssuecategoryAttributes>);
|
|
21
|
+
get catchall(): boolean;
|
|
22
|
+
set catchall(value: boolean);
|
|
20
23
|
get enabled(): boolean;
|
|
21
24
|
set enabled(value: boolean);
|
|
22
25
|
get icon(): string | undefined;
|
|
@@ -5,6 +5,12 @@ class Maintenance_Issuecategory extends Parse.Object {
|
|
|
5
5
|
constructor(data) {
|
|
6
6
|
super("OD3_Maintenance_Issuecategory", data);
|
|
7
7
|
}
|
|
8
|
+
get catchall() {
|
|
9
|
+
return super.get("catchall");
|
|
10
|
+
}
|
|
11
|
+
set catchall(value) {
|
|
12
|
+
super.set("catchall", value);
|
|
13
|
+
}
|
|
8
14
|
get enabled() {
|
|
9
15
|
return super.get("enabled");
|
|
10
16
|
}
|
package/package.json
CHANGED
package/schema/GTFS_Agency.json
CHANGED
package/schema/GTFS_Level.json
CHANGED
package/schema/GTFS_Route.json
CHANGED
package/schema/GTFS_Stop.json
CHANGED
|
@@ -51,6 +51,11 @@
|
|
|
51
51
|
"type": "String",
|
|
52
52
|
"required": false
|
|
53
53
|
},
|
|
54
|
+
"tenant": {
|
|
55
|
+
"type": "Pointer",
|
|
56
|
+
"targetClass": "{{PREFIX}}Tenant",
|
|
57
|
+
"required": true
|
|
58
|
+
},
|
|
54
59
|
"wheelchair_boarding": {
|
|
55
60
|
"type": "Pointer",
|
|
56
61
|
"targetClass": "{{PREFIX}}GTFS_Wheelchair_Boarding",
|
package/schema/GTFS_Trip.json
CHANGED