@golemio/pid 2.0.10-dev.372675355 → 2.0.11-dev.373518907
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/integration-engine/queueDefinitions.js +5 -25
- package/dist/integration-engine/queueDefinitions.js.map +1 -1
- package/dist/integration-engine/ropid-gtfs/RopidGTFSMetadataModel.d.ts +9 -2
- package/dist/integration-engine/ropid-gtfs/RopidGTFSMetadataModel.js +39 -21
- package/dist/integration-engine/ropid-gtfs/RopidGTFSMetadataModel.js.map +1 -1
- package/dist/integration-engine/ropid-gtfs/RopidGTFSWorker.d.ts +34 -18
- package/dist/integration-engine/ropid-gtfs/RopidGTFSWorker.js +300 -269
- package/dist/integration-engine/ropid-gtfs/RopidGTFSWorker.js.map +1 -1
- package/dist/integration-engine/ropid-gtfs/index.d.ts +4 -4
- package/dist/integration-engine/ropid-gtfs/index.js +4 -4
- package/dist/integration-engine/ropid-gtfs/index.js.map +1 -1
- package/dist/integration-engine/ropid-gtfs/{RopidDeparturesPresetsTransformation.d.ts → transformations/RopidDeparturesPresetsTransformation.d.ts} +1 -1
- package/dist/integration-engine/ropid-gtfs/{RopidDeparturesPresetsTransformation.js → transformations/RopidDeparturesPresetsTransformation.js} +1 -1
- package/dist/integration-engine/ropid-gtfs/transformations/RopidDeparturesPresetsTransformation.js.map +1 -0
- package/dist/integration-engine/ropid-gtfs/transformations/RopidGTFSCisStopsTransformation.d.ts +25 -0
- package/dist/integration-engine/ropid-gtfs/{RopidGTFSCisStopsTransformation.js → transformations/RopidGTFSCisStopsTransformation.js} +25 -7
- package/dist/integration-engine/ropid-gtfs/transformations/RopidGTFSCisStopsTransformation.js.map +1 -0
- package/dist/integration-engine/ropid-gtfs/transformations/RopidGTFSOisTransformation.d.ts +15 -0
- package/dist/integration-engine/ropid-gtfs/transformations/RopidGTFSOisTransformation.js +38 -0
- package/dist/integration-engine/ropid-gtfs/transformations/RopidGTFSOisTransformation.js.map +1 -0
- package/dist/integration-engine/ropid-gtfs/transformations/RopidGTFSRunNumbersTransformation.d.ts +15 -0
- package/dist/integration-engine/ropid-gtfs/{RopidGTFSRunNumbersTransformation.js → transformations/RopidGTFSRunNumbersTransformation.js} +14 -6
- package/dist/integration-engine/ropid-gtfs/transformations/RopidGTFSRunNumbersTransformation.js.map +1 -0
- package/dist/integration-engine/ropid-gtfs/{RopidGTFSTransformation.d.ts → transformations/RopidGTFSTransformation.d.ts} +5 -4
- package/dist/integration-engine/ropid-gtfs/{RopidGTFSTransformation.js → transformations/RopidGTFSTransformation.js} +8 -12
- package/dist/integration-engine/ropid-gtfs/transformations/RopidGTFSTransformation.js.map +1 -0
- package/dist/output-gateway/ropid-gtfs/models/GTFSStopModel.js +3 -5
- package/dist/output-gateway/ropid-gtfs/models/GTFSStopModel.js.map +1 -1
- package/dist/schema-definitions/ropid-gtfs/RopidGTFSCisStopGroups.d.ts +143 -0
- package/dist/schema-definitions/ropid-gtfs/RopidGTFSCisStopGroups.js +91 -0
- package/dist/schema-definitions/ropid-gtfs/RopidGTFSCisStopGroups.js.map +1 -0
- package/dist/schema-definitions/ropid-gtfs/RopidGTFSCisStops.d.ts +119 -0
- package/dist/schema-definitions/ropid-gtfs/RopidGTFSCisStops.js +82 -0
- package/dist/schema-definitions/ropid-gtfs/RopidGTFSCisStops.js.map +1 -0
- package/dist/schema-definitions/ropid-gtfs/RopidGTFSOisMapping.d.ts +60 -0
- package/dist/schema-definitions/ropid-gtfs/RopidGTFSOisMapping.js +76 -0
- package/dist/schema-definitions/ropid-gtfs/RopidGTFSOisMapping.js.map +1 -0
- package/dist/schema-definitions/ropid-gtfs/RopidGTFSRunNumbers.d.ts +18 -2
- package/dist/schema-definitions/ropid-gtfs/RopidGTFSRunNumbers.js +2 -2
- package/dist/schema-definitions/ropid-gtfs/RopidGTFSRunNumbers.js.map +1 -1
- package/dist/schema-definitions/ropid-gtfs/index.d.ts +262 -18
- package/dist/schema-definitions/ropid-gtfs/index.js +7 -91
- package/dist/schema-definitions/ropid-gtfs/index.js.map +1 -1
- package/package.json +1 -1
- package/dist/integration-engine/ropid-gtfs/RopidDeparturesPresetsTransformation.js.map +0 -1
- package/dist/integration-engine/ropid-gtfs/RopidGTFSCisStopsTransformation.d.ts +0 -10
- package/dist/integration-engine/ropid-gtfs/RopidGTFSCisStopsTransformation.js.map +0 -1
- package/dist/integration-engine/ropid-gtfs/RopidGTFSRunNumbersTransformation.d.ts +0 -7
- package/dist/integration-engine/ropid-gtfs/RopidGTFSRunNumbersTransformation.js.map +0 -1
- package/dist/integration-engine/ropid-gtfs/RopidGTFSTransformation.js.map +0 -1
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.RopidGTFSCisStopGroups = void 0;
|
|
4
|
+
const sequelize_1 = require("@golemio/core/dist/shared/sequelize");
|
|
5
|
+
const datasourceJsonSchema = {
|
|
6
|
+
type: "array",
|
|
7
|
+
items: {
|
|
8
|
+
$ref: "#/$defs/Item",
|
|
9
|
+
},
|
|
10
|
+
$defs: {
|
|
11
|
+
Item: {
|
|
12
|
+
type: "object",
|
|
13
|
+
properties: {
|
|
14
|
+
avgJtskX: { type: "number" },
|
|
15
|
+
avgJtskY: { type: "number" },
|
|
16
|
+
avgLat: { type: "number" },
|
|
17
|
+
avgLon: { type: "number" },
|
|
18
|
+
cis: { type: "number" },
|
|
19
|
+
districtCode: { type: "string" },
|
|
20
|
+
fullName: { type: "string" },
|
|
21
|
+
idosCategory: { type: "string" },
|
|
22
|
+
idosName: { type: "string" },
|
|
23
|
+
municipality: { type: "string" },
|
|
24
|
+
name: { type: "string" },
|
|
25
|
+
node: { type: "number" },
|
|
26
|
+
uniqueName: { type: "string" },
|
|
27
|
+
},
|
|
28
|
+
required: ["cis"],
|
|
29
|
+
},
|
|
30
|
+
},
|
|
31
|
+
};
|
|
32
|
+
const outputJsonSchema = {
|
|
33
|
+
type: "array",
|
|
34
|
+
items: {
|
|
35
|
+
$ref: "#/$defs/Item",
|
|
36
|
+
$defs: {
|
|
37
|
+
Item: {
|
|
38
|
+
type: "object",
|
|
39
|
+
properties: {
|
|
40
|
+
avg_jtsk_x: { type: "number" },
|
|
41
|
+
avg_jtsk_y: { type: "number" },
|
|
42
|
+
avg_lat: { type: "number" },
|
|
43
|
+
avg_lon: { type: "number" },
|
|
44
|
+
cis: { type: "number" },
|
|
45
|
+
district_code: { type: "string" },
|
|
46
|
+
full_name: { type: "string" },
|
|
47
|
+
idos_category: { type: "string" },
|
|
48
|
+
idos_name: { type: "string" },
|
|
49
|
+
municipality: { type: "string" },
|
|
50
|
+
name: { type: "string" },
|
|
51
|
+
node: { type: "number" },
|
|
52
|
+
unique_name: { type: "string" },
|
|
53
|
+
},
|
|
54
|
+
required: ["cis"],
|
|
55
|
+
},
|
|
56
|
+
},
|
|
57
|
+
},
|
|
58
|
+
};
|
|
59
|
+
const outputSequelizeAttributes = {
|
|
60
|
+
avg_jtsk_x: sequelize_1.DataTypes.DOUBLE,
|
|
61
|
+
avg_jtsk_y: sequelize_1.DataTypes.DOUBLE,
|
|
62
|
+
avg_lat: sequelize_1.DataTypes.DOUBLE,
|
|
63
|
+
avg_lon: sequelize_1.DataTypes.DOUBLE,
|
|
64
|
+
cis: {
|
|
65
|
+
primaryKey: true,
|
|
66
|
+
type: sequelize_1.DataTypes.INTEGER,
|
|
67
|
+
},
|
|
68
|
+
district_code: sequelize_1.DataTypes.STRING,
|
|
69
|
+
full_name: sequelize_1.DataTypes.STRING,
|
|
70
|
+
idos_category: sequelize_1.DataTypes.STRING,
|
|
71
|
+
idos_name: sequelize_1.DataTypes.STRING,
|
|
72
|
+
municipality: sequelize_1.DataTypes.STRING,
|
|
73
|
+
name: sequelize_1.DataTypes.STRING,
|
|
74
|
+
node: sequelize_1.DataTypes.INTEGER,
|
|
75
|
+
unique_name: sequelize_1.DataTypes.STRING,
|
|
76
|
+
// Audit fields
|
|
77
|
+
create_batch_id: sequelize_1.DataTypes.BIGINT,
|
|
78
|
+
created_at: sequelize_1.DataTypes.DATE,
|
|
79
|
+
created_by: sequelize_1.DataTypes.STRING,
|
|
80
|
+
update_batch_id: sequelize_1.DataTypes.BIGINT,
|
|
81
|
+
updated_at: sequelize_1.DataTypes.DATE,
|
|
82
|
+
updated_by: sequelize_1.DataTypes.STRING,
|
|
83
|
+
};
|
|
84
|
+
exports.RopidGTFSCisStopGroups = {
|
|
85
|
+
name: "RopidGTFSCisStopGroups",
|
|
86
|
+
datasourceJsonSchema,
|
|
87
|
+
outputJsonSchema,
|
|
88
|
+
outputSequelizeAttributes,
|
|
89
|
+
pgTableName: "ropidgtfs_cis_stop_groups",
|
|
90
|
+
};
|
|
91
|
+
//# sourceMappingURL=RopidGTFSCisStopGroups.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"RopidGTFSCisStopGroups.js","sourceRoot":"","sources":["../../../src/schema-definitions/ropid-gtfs/RopidGTFSCisStopGroups.ts"],"names":[],"mappings":";;;AAAA,mEAAiF;AAoCjF,MAAM,oBAAoB,GAAG;IACzB,IAAI,EAAE,OAAO;IACb,KAAK,EAAE;QACH,IAAI,EAAE,cAAc;KACvB;IACD,KAAK,EAAE;QACH,IAAI,EAAE;YACF,IAAI,EAAE,QAAQ;YACd,UAAU,EAAE;gBACR,QAAQ,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;gBAC5B,QAAQ,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;gBAC5B,MAAM,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;gBAC1B,MAAM,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;gBAC1B,GAAG,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;gBACvB,YAAY,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;gBAChC,QAAQ,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;gBAC5B,YAAY,EAAE,EAAE,IAAI,EAAE,QA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CAAC;AAEF,MAAM,yBAAyB,GAAsD;IACjF,UAAU,EAAE,qBAAS,CAAC,MAAM;IAC5B,UAAU,EAAE,qBAAS,CAAC,MAAM;IAC5B,OAAO,EAAE,qBAAS,CAAC,MAAM;IACzB,OAAO,EAAE,qBAAS,CAAC,MAAM;IACzB,GAAG,EAAE;QACD,UAAU,EAAE,IAAI;QAChB,IAAI,EAAE,qBAAS,CAAC,OAAO;KAC1B;IACD,aAAa,EAAE,qBAAS,CAAC,MAAM;IAC/B,SAAS,EAAE,qBAAS,CAAC,MAAM;IAC3B,aAAa,EAAE,qBAAS,CAAC,MAAM;IAC/B,SAAS,EAAE,qBAAS,CAAC,MAAM;IAC3B,YAAY,EAAE,qBAAS,CAAC,MAAM;IAC9B,IAAI,EAAE,qBAAS,CAAC,MAAM;IACtB,IAAI,EAAE,qBAAS,CAAC,OAAO;IACvB,WAAW,EAAE,qBAAS,CAAC,MAAM;IAE7B,eAAe;IACf,eAAe,EAAE,qBAAS,CAAC,MAAM;IACjC,UAAU,EAAE,qBAAS,CAAC,IAAI;IAC1B,UAAU,EAAE,qBAAS,CAAC,MAAM;IAC5B,eAAe,EAAE,qBAAS,CAAC,MAAM;IACjC,UAAU,EAAE,qBAAS,CAAC,IAAI;IAC1B,UAAU,EAAE,qBAAS,CAAC,MAAM;CAC/B,CAAC;AAEW,QAAA,sBAAsB,GAAG;IAClC,IAAI,EAAE,wBAAwB;IAC9B,oBAAoB;IACpB,gBAAgB;IAChB,yBAAyB;IACzB,WAAW,EAAE,2BAA2B;CAC3C,CAAC"}
|
|
@@ -0,0 +1,119 @@
|
|
|
1
|
+
import { ModelAttributes } from "@golemio/core/dist/shared/sequelize";
|
|
2
|
+
export interface IRopidGTFSCisStopsInputData {
|
|
3
|
+
altIdosName: string;
|
|
4
|
+
cis: number;
|
|
5
|
+
id: string;
|
|
6
|
+
jtskX: number;
|
|
7
|
+
jtskY: number;
|
|
8
|
+
lat: number;
|
|
9
|
+
lon: number;
|
|
10
|
+
platform: string;
|
|
11
|
+
wheelchairAccess: string;
|
|
12
|
+
zone: string;
|
|
13
|
+
}
|
|
14
|
+
export interface IRopidGTFSCisStopsData {
|
|
15
|
+
alt_idos_name: string;
|
|
16
|
+
cis: number;
|
|
17
|
+
id: string;
|
|
18
|
+
jtsk_x: number;
|
|
19
|
+
jtsk_y: number;
|
|
20
|
+
lat: number;
|
|
21
|
+
lon: number;
|
|
22
|
+
platform: string;
|
|
23
|
+
wheelchair_access: string;
|
|
24
|
+
zone: string;
|
|
25
|
+
[auditFields: string]: unknown;
|
|
26
|
+
}
|
|
27
|
+
export declare const RopidGTFSCisStops: {
|
|
28
|
+
name: string;
|
|
29
|
+
datasourceJsonSchema: {
|
|
30
|
+
type: string;
|
|
31
|
+
items: {
|
|
32
|
+
$ref: string;
|
|
33
|
+
};
|
|
34
|
+
$defs: {
|
|
35
|
+
Item: {
|
|
36
|
+
type: string;
|
|
37
|
+
properties: {
|
|
38
|
+
altIdosName: {
|
|
39
|
+
type: string;
|
|
40
|
+
};
|
|
41
|
+
cis: {
|
|
42
|
+
type: string;
|
|
43
|
+
};
|
|
44
|
+
id: {
|
|
45
|
+
type: string;
|
|
46
|
+
};
|
|
47
|
+
jtskX: {
|
|
48
|
+
type: string;
|
|
49
|
+
};
|
|
50
|
+
jtskY: {
|
|
51
|
+
type: string;
|
|
52
|
+
};
|
|
53
|
+
lat: {
|
|
54
|
+
type: string;
|
|
55
|
+
};
|
|
56
|
+
lon: {
|
|
57
|
+
type: string;
|
|
58
|
+
};
|
|
59
|
+
platform: {
|
|
60
|
+
type: string;
|
|
61
|
+
};
|
|
62
|
+
wheelchairAccess: {
|
|
63
|
+
type: string;
|
|
64
|
+
};
|
|
65
|
+
zone: {
|
|
66
|
+
type: string;
|
|
67
|
+
};
|
|
68
|
+
};
|
|
69
|
+
required: string[];
|
|
70
|
+
};
|
|
71
|
+
};
|
|
72
|
+
};
|
|
73
|
+
outputJsonSchema: {
|
|
74
|
+
type: string;
|
|
75
|
+
items: {
|
|
76
|
+
$ref: string;
|
|
77
|
+
$defs: {
|
|
78
|
+
Item: {
|
|
79
|
+
type: string;
|
|
80
|
+
properties: {
|
|
81
|
+
alt_idos_name: {
|
|
82
|
+
type: string;
|
|
83
|
+
};
|
|
84
|
+
cis: {
|
|
85
|
+
type: string;
|
|
86
|
+
};
|
|
87
|
+
id: {
|
|
88
|
+
type: string;
|
|
89
|
+
};
|
|
90
|
+
jtsk_x: {
|
|
91
|
+
type: string;
|
|
92
|
+
};
|
|
93
|
+
jtsk_y: {
|
|
94
|
+
type: string;
|
|
95
|
+
};
|
|
96
|
+
lat: {
|
|
97
|
+
type: string;
|
|
98
|
+
};
|
|
99
|
+
lon: {
|
|
100
|
+
type: string;
|
|
101
|
+
};
|
|
102
|
+
platform: {
|
|
103
|
+
type: string;
|
|
104
|
+
};
|
|
105
|
+
wheelchair_access: {
|
|
106
|
+
type: string;
|
|
107
|
+
};
|
|
108
|
+
zone: {
|
|
109
|
+
type: string;
|
|
110
|
+
};
|
|
111
|
+
};
|
|
112
|
+
required: string[];
|
|
113
|
+
};
|
|
114
|
+
};
|
|
115
|
+
};
|
|
116
|
+
};
|
|
117
|
+
outputSequelizeAttributes: ModelAttributes<any, IRopidGTFSCisStopsData>;
|
|
118
|
+
pgTableName: string;
|
|
119
|
+
};
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.RopidGTFSCisStops = void 0;
|
|
4
|
+
const sequelize_1 = require("@golemio/core/dist/shared/sequelize");
|
|
5
|
+
const datasourceJsonSchema = {
|
|
6
|
+
type: "array",
|
|
7
|
+
items: {
|
|
8
|
+
$ref: "#/$defs/Item",
|
|
9
|
+
},
|
|
10
|
+
$defs: {
|
|
11
|
+
Item: {
|
|
12
|
+
type: "object",
|
|
13
|
+
properties: {
|
|
14
|
+
altIdosName: { type: "string" },
|
|
15
|
+
cis: { type: "integer" },
|
|
16
|
+
id: { type: "string" },
|
|
17
|
+
jtskX: { type: "number" },
|
|
18
|
+
jtskY: { type: "number" },
|
|
19
|
+
lat: { type: "number" },
|
|
20
|
+
lon: { type: "number" },
|
|
21
|
+
platform: { type: "string" },
|
|
22
|
+
wheelchairAccess: { type: "string" },
|
|
23
|
+
zone: { type: "string" },
|
|
24
|
+
},
|
|
25
|
+
required: ["id"],
|
|
26
|
+
},
|
|
27
|
+
},
|
|
28
|
+
};
|
|
29
|
+
const outputJsonSchema = {
|
|
30
|
+
type: "array",
|
|
31
|
+
items: {
|
|
32
|
+
$ref: "#/$defs/Item",
|
|
33
|
+
$defs: {
|
|
34
|
+
Item: {
|
|
35
|
+
type: "object",
|
|
36
|
+
properties: {
|
|
37
|
+
alt_idos_name: { type: "string" },
|
|
38
|
+
cis: { type: "integer" },
|
|
39
|
+
id: { type: "string" },
|
|
40
|
+
jtsk_x: { type: "number" },
|
|
41
|
+
jtsk_y: { type: "number" },
|
|
42
|
+
lat: { type: "number" },
|
|
43
|
+
lon: { type: "number" },
|
|
44
|
+
platform: { type: "string" },
|
|
45
|
+
wheelchair_access: { type: "string" },
|
|
46
|
+
zone: { type: "string" },
|
|
47
|
+
},
|
|
48
|
+
required: ["cis"],
|
|
49
|
+
},
|
|
50
|
+
},
|
|
51
|
+
},
|
|
52
|
+
};
|
|
53
|
+
const outputSequelizeAttributes = {
|
|
54
|
+
alt_idos_name: sequelize_1.DataTypes.STRING,
|
|
55
|
+
cis: sequelize_1.DataTypes.INTEGER,
|
|
56
|
+
id: {
|
|
57
|
+
primaryKey: true,
|
|
58
|
+
type: sequelize_1.DataTypes.STRING,
|
|
59
|
+
},
|
|
60
|
+
jtsk_x: sequelize_1.DataTypes.DOUBLE,
|
|
61
|
+
jtsk_y: sequelize_1.DataTypes.DOUBLE,
|
|
62
|
+
lat: sequelize_1.DataTypes.DOUBLE,
|
|
63
|
+
lon: sequelize_1.DataTypes.DOUBLE,
|
|
64
|
+
platform: sequelize_1.DataTypes.STRING,
|
|
65
|
+
wheelchair_access: sequelize_1.DataTypes.STRING,
|
|
66
|
+
zone: sequelize_1.DataTypes.STRING,
|
|
67
|
+
// Audit fields
|
|
68
|
+
create_batch_id: sequelize_1.DataTypes.BIGINT,
|
|
69
|
+
created_at: sequelize_1.DataTypes.DATE,
|
|
70
|
+
created_by: sequelize_1.DataTypes.STRING,
|
|
71
|
+
update_batch_id: sequelize_1.DataTypes.BIGINT,
|
|
72
|
+
updated_at: sequelize_1.DataTypes.DATE,
|
|
73
|
+
updated_by: sequelize_1.DataTypes.STRING,
|
|
74
|
+
};
|
|
75
|
+
exports.RopidGTFSCisStops = {
|
|
76
|
+
name: "RopidGTFSCisStops",
|
|
77
|
+
datasourceJsonSchema,
|
|
78
|
+
outputJsonSchema,
|
|
79
|
+
outputSequelizeAttributes,
|
|
80
|
+
pgTableName: "ropidgtfs_cis_stops",
|
|
81
|
+
};
|
|
82
|
+
//# sourceMappingURL=RopidGTFSCisStops.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"RopidGTFSCisStops.js","sourceRoot":"","sources":["../../../src/schema-definitions/ropid-gtfs/RopidGTFSCisStops.ts"],"names":[],"mappings":";;;AAAA,mEAAiF;AA8BjF,MAAM,oBAAoB,GAAG;IACzB,IAAI,EAAE,OAAO;IACb,KAAK,EAAE;QACH,IAAI,EAAE,cAAc;KACvB;IACD,KAAK,EAAE;QACH,IAAI,EAAE;YACF,IAAI,EAAE,QAAQ;YACd,UAAU,EAAE;gBACR,WAAW,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;gBAC/B,GAAG,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE;gBACxB,EAAE,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;gBACtB,KAAK,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;gBACzB,KAAK,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;gBACzB,GAAG,EAAE,EAAE,IAAI,EAAE,QAAQ,EAA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AAE,qBAAS,CAAC,MAAM;IACxB,MAAM,EAAE,qBAAS,CAAC,MAAM;IACxB,GAAG,EAAE,qBAAS,CAAC,MAAM;IACrB,GAAG,EAAE,qBAAS,CAAC,MAAM;IACrB,QAAQ,EAAE,qBAAS,CAAC,MAAM;IAC1B,iBAAiB,EAAE,qBAAS,CAAC,MAAM;IACnC,IAAI,EAAE,qBAAS,CAAC,MAAM;IAEtB,eAAe;IACf,eAAe,EAAE,qBAAS,CAAC,MAAM;IACjC,UAAU,EAAE,qBAAS,CAAC,IAAI;IAC1B,UAAU,EAAE,qBAAS,CAAC,MAAM;IAC5B,eAAe,EAAE,qBAAS,CAAC,MAAM;IACjC,UAAU,EAAE,qBAAS,CAAC,IAAI;IAC1B,UAAU,EAAE,qBAAS,CAAC,MAAM;CAC/B,CAAC;AAEW,QAAA,iBAAiB,GAAG;IAC7B,IAAI,EAAE,mBAAmB;IACzB,oBAAoB;IACpB,gBAAgB;IAChB,yBAAyB;IACzB,WAAW,EAAE,qBAAqB;CACrC,CAAC"}
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
import Sequelize from "@golemio/core/dist/shared/sequelize";
|
|
2
|
+
export interface IRopidGTFSOisMappingInputData {
|
|
3
|
+
ois: number;
|
|
4
|
+
node: number;
|
|
5
|
+
name: string;
|
|
6
|
+
}
|
|
7
|
+
export interface IRopidGTFSOisMappingData extends IRopidGTFSOisMappingInputData {
|
|
8
|
+
[auditFields: string]: unknown;
|
|
9
|
+
}
|
|
10
|
+
export declare const RopidGTFSOisMapping: {
|
|
11
|
+
name: string;
|
|
12
|
+
datasourceJsonSchema: {
|
|
13
|
+
type: string;
|
|
14
|
+
items: {
|
|
15
|
+
$ref: string;
|
|
16
|
+
};
|
|
17
|
+
$defs: {
|
|
18
|
+
Item: {
|
|
19
|
+
type: string;
|
|
20
|
+
properties: {
|
|
21
|
+
ois: {
|
|
22
|
+
type: string;
|
|
23
|
+
};
|
|
24
|
+
node: {
|
|
25
|
+
type: string;
|
|
26
|
+
};
|
|
27
|
+
name: {
|
|
28
|
+
type: string;
|
|
29
|
+
};
|
|
30
|
+
};
|
|
31
|
+
required: string[];
|
|
32
|
+
};
|
|
33
|
+
};
|
|
34
|
+
};
|
|
35
|
+
outputJsonSchema: {
|
|
36
|
+
type: string;
|
|
37
|
+
items: {
|
|
38
|
+
$ref: string;
|
|
39
|
+
};
|
|
40
|
+
$defs: {
|
|
41
|
+
Item: {
|
|
42
|
+
type: string;
|
|
43
|
+
properties: {
|
|
44
|
+
ois: {
|
|
45
|
+
type: string;
|
|
46
|
+
};
|
|
47
|
+
node: {
|
|
48
|
+
type: string;
|
|
49
|
+
};
|
|
50
|
+
name: {
|
|
51
|
+
type: string;
|
|
52
|
+
};
|
|
53
|
+
};
|
|
54
|
+
required: string[];
|
|
55
|
+
};
|
|
56
|
+
};
|
|
57
|
+
};
|
|
58
|
+
outputSequelizeAttributes: Sequelize.ModelAttributes<any, IRopidGTFSOisMappingData>;
|
|
59
|
+
pgTableName: string;
|
|
60
|
+
};
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
5
|
+
}) : (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
o[k2] = m[k];
|
|
8
|
+
}));
|
|
9
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
10
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
11
|
+
}) : function(o, v) {
|
|
12
|
+
o["default"] = v;
|
|
13
|
+
});
|
|
14
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
15
|
+
if (mod && mod.__esModule) return mod;
|
|
16
|
+
var result = {};
|
|
17
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
18
|
+
__setModuleDefault(result, mod);
|
|
19
|
+
return result;
|
|
20
|
+
};
|
|
21
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
22
|
+
exports.RopidGTFSOisMapping = void 0;
|
|
23
|
+
const sequelize_1 = __importStar(require("@golemio/core/dist/shared/sequelize"));
|
|
24
|
+
const datasourceJsonSchema = {
|
|
25
|
+
type: "array",
|
|
26
|
+
items: {
|
|
27
|
+
$ref: "#/$defs/Item",
|
|
28
|
+
},
|
|
29
|
+
$defs: {
|
|
30
|
+
Item: {
|
|
31
|
+
type: "object",
|
|
32
|
+
properties: {
|
|
33
|
+
ois: {
|
|
34
|
+
type: "number",
|
|
35
|
+
},
|
|
36
|
+
node: {
|
|
37
|
+
type: "number",
|
|
38
|
+
},
|
|
39
|
+
name: {
|
|
40
|
+
type: "string",
|
|
41
|
+
},
|
|
42
|
+
},
|
|
43
|
+
required: ["ois", "node", "name"],
|
|
44
|
+
},
|
|
45
|
+
},
|
|
46
|
+
};
|
|
47
|
+
const outputJsonSchema = datasourceJsonSchema;
|
|
48
|
+
const outputSequelizeAttributes = {
|
|
49
|
+
ois: {
|
|
50
|
+
primaryKey: true,
|
|
51
|
+
type: sequelize_1.default.INTEGER,
|
|
52
|
+
},
|
|
53
|
+
node: {
|
|
54
|
+
type: sequelize_1.default.INTEGER,
|
|
55
|
+
allowNull: false,
|
|
56
|
+
},
|
|
57
|
+
name: {
|
|
58
|
+
type: sequelize_1.default.STRING(255),
|
|
59
|
+
allowNull: false,
|
|
60
|
+
},
|
|
61
|
+
// Audit fields
|
|
62
|
+
create_batch_id: sequelize_1.DataTypes.BIGINT,
|
|
63
|
+
created_at: sequelize_1.DataTypes.DATE,
|
|
64
|
+
created_by: sequelize_1.DataTypes.STRING,
|
|
65
|
+
update_batch_id: sequelize_1.DataTypes.BIGINT,
|
|
66
|
+
updated_at: sequelize_1.DataTypes.DATE,
|
|
67
|
+
updated_by: sequelize_1.DataTypes.STRING,
|
|
68
|
+
};
|
|
69
|
+
exports.RopidGTFSOisMapping = {
|
|
70
|
+
name: "RopidGTFSOisMapping",
|
|
71
|
+
datasourceJsonSchema,
|
|
72
|
+
outputJsonSchema,
|
|
73
|
+
outputSequelizeAttributes,
|
|
74
|
+
pgTableName: "ropidgtfs_ois",
|
|
75
|
+
};
|
|
76
|
+
//# sourceMappingURL=RopidGTFSOisMapping.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"RopidGTFSOisMapping.js","sourceRoot":"","sources":["../../../src/schema-definitions/ropid-gtfs/RopidGTFSOisMapping.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;AAAA,iFAA4F;AAY5F,MAAM,oBAAoB,GAAG;IACzB,IAAI,EAAE,OAAO;IACb,KAAK,EAAE;QACH,IAAI,EAAE,cAAc;KACvB;IACD,KAAK,EAAE;QACH,IAAI,EAAE;YACF,IAAI,EAAE,QAAQ;YACd,UAAU,EAAE;gBACR,GAAG,EAAE;oBACD,IAAI,EAAE,QAAQ;iBACjB;gBACD,IAAI,EAAE;oBACF,IAAI,EAAE,QAAQ;iBACjB;gBACD,IAAI,EAAE;oBACF,IAAI,EAAE,QAAQ;iBACjB;aACJ;YACD,QAAQ,EAAE,CAAC,KAAK,EAAE,MAAM,EAAE,MAAM,CAAC;SACpC;KACJ;CACJ,CAAC;AAEF,MAAM,gBAAgB,GAAG,oBAAoB,CAAC;AAE9C,MAAM,yBAAyB,GAAmD;IAC9E,GAAG,EAAE;QACD,UAAU,EAAE,IAAI;QAChB,IAAI,EAAE,mBAAS,CAAC,OAAO;KAC1B;IACD,IAAI,EAAE;QACF,IAAI,EAAE,mBAAS,CAAC,OAAO;QACvB,SAAS,EAAE,KAAK;KACnB;IACD,IAAI,EAAE;QACF,IAAI,EAAE,mBAAS,CAAC,MAAM,CAAC,GAAG,CAAC;QAC3B,SAAS,EAAE,KAAK;KACnB;IAED,eAAe;IACf,eAAe,EAAE,qBAAS,CAAC,MAAM;IACjC,UAAU,EAAE,qBAAS,CAAC,IAAI;IAC1B,UAAU,EAAE,qBAAS,CAAC,MAAM;IAC5B,eAAe,EAAE,qBAAS,CAAC,MAAM;IACjC,UAAU,EAAE,qBAAS,CAAC,IAAI;IAC1B,UAAU,EAAE,qBAAS,CAAC,MAAM;CAC/B,CAAC;AAEW,QAAA,mBAAmB,GAAG;IAC/B,IAAI,EAAE,qBAAqB;IAC3B,oBAAoB;IACpB,gBAAgB;IAChB,yBAAyB;IACzB,WAAW,EAAE,eAAe;CAC/B,CAAC"}
|
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
import { ModelAttributes } from "@golemio/core/dist/shared/sequelize";
|
|
2
|
-
export
|
|
2
|
+
export interface IRopidGTFSRunNumbersInputData {
|
|
3
|
+
route_id: string;
|
|
4
|
+
run_number: string;
|
|
5
|
+
service_id: string;
|
|
6
|
+
trip_id: string;
|
|
7
|
+
vehicle_type: string;
|
|
8
|
+
}
|
|
9
|
+
export declare type IRopidGTFSRunNumbersData = IRopidGTFSRunNumbersInputData | {
|
|
10
|
+
run_number: number;
|
|
11
|
+
vehicle_type: number;
|
|
12
|
+
[auditFields: string]: unknown;
|
|
13
|
+
};
|
|
14
|
+
export declare const RopidGTFSRunNumbers: {
|
|
3
15
|
name: string;
|
|
4
16
|
datasourceJsonSchema: {
|
|
5
17
|
type: string;
|
|
@@ -59,6 +71,10 @@ export declare const runNumbers: {
|
|
|
59
71
|
$ref: string;
|
|
60
72
|
};
|
|
61
73
|
};
|
|
62
|
-
outputSequelizeAttributes: ModelAttributes<any,
|
|
74
|
+
outputSequelizeAttributes: ModelAttributes<any, {
|
|
75
|
+
[auditFields: string]: unknown;
|
|
76
|
+
run_number: number;
|
|
77
|
+
vehicle_type: number;
|
|
78
|
+
}>;
|
|
63
79
|
pgTableName: string;
|
|
64
80
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
3
|
+
exports.RopidGTFSRunNumbers = void 0;
|
|
4
4
|
const sequelize_1 = require("@golemio/core/dist/shared/sequelize");
|
|
5
5
|
const datasourceJsonSchema = {
|
|
6
6
|
type: "array",
|
|
@@ -79,7 +79,7 @@ const outputSequelizeAttributes = {
|
|
|
79
79
|
updated_at: sequelize_1.DataTypes.DATE,
|
|
80
80
|
updated_by: sequelize_1.DataTypes.STRING,
|
|
81
81
|
};
|
|
82
|
-
exports.
|
|
82
|
+
exports.RopidGTFSRunNumbers = {
|
|
83
83
|
name: "RopidGTFSRunNumbers",
|
|
84
84
|
datasourceJsonSchema,
|
|
85
85
|
outputJsonSchema,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RopidGTFSRunNumbers.js","sourceRoot":"","sources":["../../../src/schema-definitions/ropid-gtfs/RopidGTFSRunNumbers.ts"],"names":[],"mappings":";;;AAAA,mEAAiF;
|
|
1
|
+
{"version":3,"file":"RopidGTFSRunNumbers.js","sourceRoot":"","sources":["../../../src/schema-definitions/ropid-gtfs/RopidGTFSRunNumbers.ts"],"names":[],"mappings":";;;AAAA,mEAAiF;AAkBjF,MAAM,oBAAoB,GAAG;IACzB,IAAI,EAAE,OAAO;IACb,KAAK,EAAE;QACH,IAAI,EAAE,cAAc;KACvB;IACD,KAAK,EAAE;QACH,IAAI,EAAE;YACF,IAAI,EAAE,QAAQ;YACd,UAAU,EAAE;gBACR,QAAQ,EAAE;oBACN,IAAI,EAAE,QAAQ;iBACjB;gBACD,UAAU,EAAE;oBACR,IAAI,EAAE,QAAQ;iBACjB;gBACD,UAAU,EAAE;oBACR,IAAI,EAAE,QAAQ;iBACjB;gBACD,OAAO,EAAE;oBACL,IAAI,EAAE,QAAQ;iBACjB;gBACD,YAAY,EAAE;oBACV,IAAI,EAAE,QAAQ;iBACjB;aACJ;YACD,QAAQ,EAAE,CAAC,UAAU,EAAE,YAAY,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