@golemio/pid 2.2.11-dev.625280191 → 2.2.12-dev.631390368
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/db/example/{00_truncate_tables.sql → 00_clear_test_data.sql} +9 -0
- package/db/example/05_vehicle_positions_dump.sql +2 -2
- package/db/example/12_metro_runs_messages.sql +5 -0
- package/db/migrations/postgresql/20220829094945-asw-attributes.js +53 -0
- package/db/migrations/postgresql/20220830144637-metro-runs-messages.js +53 -0
- package/db/migrations/postgresql/sqls/20220829094945-asw-attributes-down.sql +3 -0
- package/db/migrations/postgresql/sqls/20220829094945-asw-attributes-up.sql +3 -0
- package/db/migrations/postgresql/sqls/20220830144637-metro-runs-messages-down.sql +1 -0
- package/db/migrations/postgresql/sqls/20220830144637-metro-runs-messages-up.sql +27 -0
- package/dist/integration-engine/index.d.ts +2 -0
- package/dist/integration-engine/index.js +3 -1
- package/dist/integration-engine/index.js.map +1 -1
- package/dist/integration-engine/queueDefinitions.d.ts +3 -0
- package/dist/integration-engine/queueDefinitions.js +3 -0
- package/dist/integration-engine/queueDefinitions.js.map +1 -1
- package/dist/integration-engine/vehicle-positions/VehiclePositionsWorker.d.ts +4 -4
- package/dist/integration-engine/vehicle-positions/VehiclePositionsWorker.js +5 -4
- package/dist/integration-engine/vehicle-positions/VehiclePositionsWorker.js.map +1 -1
- package/dist/integration-engine/vehicle-positions/data-access/MetroRunsMessagesRepository.d.ts +7 -0
- package/dist/integration-engine/vehicle-positions/data-access/MetroRunsMessagesRepository.js +81 -0
- package/dist/integration-engine/vehicle-positions/data-access/MetroRunsMessagesRepository.js.map +1 -0
- package/dist/integration-engine/vehicle-positions/data-access/index.d.ts +1 -0
- package/dist/integration-engine/vehicle-positions/data-access/index.js +18 -0
- package/dist/integration-engine/vehicle-positions/data-access/index.js.map +1 -0
- package/dist/integration-engine/vehicle-positions/schema/DataDeletionSchema.d.ts +6 -0
- package/dist/integration-engine/vehicle-positions/schema/DataDeletionSchema.js +22 -0
- package/dist/integration-engine/vehicle-positions/schema/DataDeletionSchema.js.map +1 -0
- package/dist/integration-engine/vehicle-positions/schema/MetroRunsSchema.d.ts +4 -0
- package/dist/integration-engine/vehicle-positions/schema/MetroRunsSchema.js +84 -0
- package/dist/integration-engine/vehicle-positions/schema/MetroRunsSchema.js.map +1 -0
- package/dist/integration-engine/vehicle-positions/schema/MetroRunsSchemaInterfaces.d.ts +22 -0
- package/dist/integration-engine/vehicle-positions/schema/MetroRunsSchemaInterfaces.js +3 -0
- package/dist/integration-engine/vehicle-positions/schema/MetroRunsSchemaInterfaces.js.map +1 -0
- package/dist/integration-engine/vehicle-positions/schema/index.d.ts +3 -0
- package/dist/integration-engine/vehicle-positions/schema/index.js +20 -0
- package/dist/integration-engine/vehicle-positions/schema/index.js.map +1 -0
- package/dist/integration-engine/vehicle-positions/transformations/MetroRunsMessagesTransformation.d.ts +6 -0
- package/dist/integration-engine/vehicle-positions/transformations/MetroRunsMessagesTransformation.js +37 -0
- package/dist/integration-engine/vehicle-positions/transformations/MetroRunsMessagesTransformation.js.map +1 -0
- package/dist/integration-engine/vehicle-positions/transformations/index.d.ts +1 -0
- package/dist/integration-engine/vehicle-positions/transformations/index.js +1 -0
- package/dist/integration-engine/vehicle-positions/transformations/index.js.map +1 -1
- package/dist/integration-engine/vehicle-positions/workers/runs/RunsWorker.d.ts +5 -0
- package/dist/integration-engine/vehicle-positions/workers/runs/RunsWorker.js +18 -0
- package/dist/integration-engine/vehicle-positions/workers/runs/RunsWorker.js.map +1 -0
- package/dist/integration-engine/vehicle-positions/workers/runs/tasks/DeleteDataTask.d.ts +10 -0
- package/dist/integration-engine/vehicle-positions/workers/runs/tasks/DeleteDataTask.js +31 -0
- package/dist/integration-engine/vehicle-positions/workers/runs/tasks/DeleteDataTask.js.map +1 -0
- package/dist/integration-engine/vehicle-positions/workers/runs/tasks/SaveMetroRunsToDBTask.d.ts +10 -0
- package/dist/integration-engine/vehicle-positions/workers/runs/tasks/SaveMetroRunsToDBTask.js +33 -0
- package/dist/integration-engine/vehicle-positions/workers/runs/tasks/SaveMetroRunsToDBTask.js.map +1 -0
- package/dist/output-gateway/ropid-gtfs/models/GTFSStopModel.js +1 -1
- package/dist/output-gateway/ropid-gtfs/models/GTFSStopModel.js.map +1 -1
- package/dist/schema-definitions/ropid-gtfs/RopidGtfsSchedule.d.ts +34 -8
- package/dist/schema-definitions/ropid-gtfs/RopidGtfsSchedule.js +4 -0
- package/dist/schema-definitions/ropid-gtfs/RopidGtfsSchedule.js.map +1 -1
- package/dist/schema-definitions/vehicle-positions/index.d.ts +35 -11
- package/dist/schema-definitions/vehicle-positions/models/MetroRunsMessagesModel.d.ts +17 -0
- package/dist/schema-definitions/vehicle-positions/models/MetroRunsMessagesModel.js +90 -0
- package/dist/schema-definitions/vehicle-positions/models/MetroRunsMessagesModel.js.map +1 -0
- package/dist/schema-definitions/vehicle-positions/models/index.d.ts +1 -0
- package/dist/schema-definitions/vehicle-positions/models/index.js +18 -0
- package/dist/schema-definitions/vehicle-positions/models/index.js.map +1 -0
- package/dist/schema-definitions/vehicle-positions/models/interfaces/IMetroRunsMessagesModel.d.ts +10 -0
- package/dist/schema-definitions/vehicle-positions/models/interfaces/IMetroRunsMessagesModel.js +3 -0
- package/dist/schema-definitions/vehicle-positions/models/interfaces/IMetroRunsMessagesModel.js.map +1 -0
- package/package.json +4 -3
|
@@ -1,4 +1,28 @@
|
|
|
1
|
+
/// <reference types="mongoose/types/aggregate" />
|
|
2
|
+
/// <reference types="mongoose/types/callback" />
|
|
3
|
+
/// <reference types="mongoose/types/collection" />
|
|
4
|
+
/// <reference types="mongoose/types/connection" />
|
|
5
|
+
/// <reference types="mongoose/types/cursor" />
|
|
6
|
+
/// <reference types="mongoose/types/document" />
|
|
7
|
+
/// <reference types="mongoose/types/error" />
|
|
8
|
+
/// <reference types="mongoose/types/expressions" />
|
|
9
|
+
/// <reference types="mongoose/types/helpers" />
|
|
10
|
+
/// <reference types="mongoose/types/middlewares" />
|
|
11
|
+
/// <reference types="mongoose/types/indexes" />
|
|
12
|
+
/// <reference types="mongoose/types/models" />
|
|
13
|
+
/// <reference types="mongoose/types/mongooseoptions" />
|
|
14
|
+
/// <reference types="mongoose/types/pipelinestage" />
|
|
15
|
+
/// <reference types="mongoose/types/populate" />
|
|
16
|
+
/// <reference types="mongoose/types/query" />
|
|
17
|
+
/// <reference types="mongoose/types/schemaoptions" />
|
|
18
|
+
/// <reference types="mongoose/types/schematypes" />
|
|
19
|
+
/// <reference types="mongoose/types/session" />
|
|
20
|
+
/// <reference types="mongoose/types/types" />
|
|
21
|
+
/// <reference types="mongoose/types/utility" />
|
|
22
|
+
/// <reference types="mongoose/types/validation" />
|
|
23
|
+
/// <reference types="mongoose/types/virtuals" />
|
|
1
24
|
/// <reference types="mongoose" />
|
|
25
|
+
/// <reference types="mongoose/types/inferschematype" />
|
|
2
26
|
import Sequelize from "@golemio/core/dist/shared/sequelize";
|
|
3
27
|
declare const forExport: {
|
|
4
28
|
pgSchema: string;
|
|
@@ -149,7 +173,7 @@ declare const forExport: {
|
|
|
149
173
|
lastPositions: {
|
|
150
174
|
name: string;
|
|
151
175
|
outputMongooseSchemaObject: {
|
|
152
|
-
[path: string]:
|
|
176
|
+
[path: string]: import("mongoose").SchemaDefinitionProperty<undefined>;
|
|
153
177
|
};
|
|
154
178
|
outputSequelizeAttributes: Sequelize.ModelAttributes<any, any>;
|
|
155
179
|
pgTableName: string;
|
|
@@ -158,7 +182,7 @@ declare const forExport: {
|
|
|
158
182
|
positions: {
|
|
159
183
|
name: string;
|
|
160
184
|
outputMongooseSchemaObject: {
|
|
161
|
-
[path: string]:
|
|
185
|
+
[path: string]: import("mongoose").SchemaDefinitionProperty<undefined>;
|
|
162
186
|
};
|
|
163
187
|
outputSequelizeAttributes: Sequelize.ModelAttributes<any, any>;
|
|
164
188
|
pgTableName: string;
|
|
@@ -166,7 +190,7 @@ declare const forExport: {
|
|
|
166
190
|
runs: {
|
|
167
191
|
name: string;
|
|
168
192
|
outputMongooseSchemaObject: {
|
|
169
|
-
[path: string]:
|
|
193
|
+
[path: string]: import("mongoose").SchemaDefinitionProperty<undefined>;
|
|
170
194
|
};
|
|
171
195
|
outputSequelizeAttributes: Sequelize.ModelAttributes<any, any>;
|
|
172
196
|
pgTableName: string;
|
|
@@ -174,7 +198,7 @@ declare const forExport: {
|
|
|
174
198
|
runsMessages: {
|
|
175
199
|
name: string;
|
|
176
200
|
outputMongooseSchemaObject: {
|
|
177
|
-
[path: string]:
|
|
201
|
+
[path: string]: import("mongoose").SchemaDefinitionProperty<undefined>;
|
|
178
202
|
};
|
|
179
203
|
outputSequelizeAttributes: Sequelize.ModelAttributes<any, any>;
|
|
180
204
|
pgTableName: string;
|
|
@@ -182,14 +206,14 @@ declare const forExport: {
|
|
|
182
206
|
runsTrips: {
|
|
183
207
|
name: string;
|
|
184
208
|
outputMongooseSchemaObject: {
|
|
185
|
-
[path: string]:
|
|
209
|
+
[path: string]: import("mongoose").SchemaDefinitionProperty<undefined>;
|
|
186
210
|
};
|
|
187
211
|
namespacePrefix: string;
|
|
188
212
|
};
|
|
189
213
|
trips: {
|
|
190
214
|
name: string;
|
|
191
215
|
outputMongooseSchemaObject: {
|
|
192
|
-
[path: string]:
|
|
216
|
+
[path: string]: import("mongoose").SchemaDefinitionProperty<undefined>;
|
|
193
217
|
};
|
|
194
218
|
outputSequelizeAttributes: Sequelize.ModelAttributes<any, any>;
|
|
195
219
|
pgTableName: string;
|
|
@@ -197,7 +221,7 @@ declare const forExport: {
|
|
|
197
221
|
vehicleTypes: {
|
|
198
222
|
name: string;
|
|
199
223
|
outputMongooseSchemaObject: {
|
|
200
|
-
[path: string]:
|
|
224
|
+
[path: string]: import("mongoose").SchemaDefinitionProperty<undefined>;
|
|
201
225
|
};
|
|
202
226
|
outputSequelizeAttributes: Sequelize.ModelAttributes<any, any>;
|
|
203
227
|
pgTableName: string;
|
|
@@ -205,7 +229,7 @@ declare const forExport: {
|
|
|
205
229
|
tripStops: {
|
|
206
230
|
name: string;
|
|
207
231
|
outputMongooseSchemaObject: {
|
|
208
|
-
[path: string]:
|
|
232
|
+
[path: string]: import("mongoose").SchemaDefinitionProperty<undefined>;
|
|
209
233
|
};
|
|
210
234
|
namespacePrefix: string;
|
|
211
235
|
};
|
|
@@ -213,7 +237,7 @@ declare const forExport: {
|
|
|
213
237
|
lastPositions: {
|
|
214
238
|
name: string;
|
|
215
239
|
outputMongooseSchemaObject: {
|
|
216
|
-
[path: string]:
|
|
240
|
+
[path: string]: import("mongoose").SchemaDefinitionProperty<undefined>;
|
|
217
241
|
};
|
|
218
242
|
outputSequelizeAttributes: Sequelize.ModelAttributes<any, any>;
|
|
219
243
|
pgTableName: string;
|
|
@@ -221,7 +245,7 @@ declare const forExport: {
|
|
|
221
245
|
positions: {
|
|
222
246
|
name: string;
|
|
223
247
|
outputMongooseSchemaObject: {
|
|
224
|
-
[path: string]:
|
|
248
|
+
[path: string]: import("mongoose").SchemaDefinitionProperty<undefined>;
|
|
225
249
|
};
|
|
226
250
|
outputSequelizeAttributes: Sequelize.ModelAttributes<any, any>;
|
|
227
251
|
pgTableName: string;
|
|
@@ -229,7 +253,7 @@ declare const forExport: {
|
|
|
229
253
|
trips: {
|
|
230
254
|
name: string;
|
|
231
255
|
outputMongooseSchemaObject: {
|
|
232
|
-
[path: string]:
|
|
256
|
+
[path: string]: import("mongoose").SchemaDefinitionProperty<undefined>;
|
|
233
257
|
};
|
|
234
258
|
outputSequelizeAttributes: Sequelize.ModelAttributes<any, any>;
|
|
235
259
|
pgTableName: string;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { Model, ModelAttributes } from "@golemio/core/dist/shared/sequelize";
|
|
2
|
+
import { JSONSchemaType } from "@golemio/core/dist/shared/ajv";
|
|
3
|
+
import { IMetroRunsMessagesModel } from "./interfaces/IMetroRunsMessagesModel";
|
|
4
|
+
export declare class MetroRunsMessagesModel extends Model<MetroRunsMessagesModel> implements IMetroRunsMessagesModel {
|
|
5
|
+
static TABLE_NAME: string;
|
|
6
|
+
id: string;
|
|
7
|
+
route_name: string;
|
|
8
|
+
message_timestamp: string;
|
|
9
|
+
train_set_number_scheduled: string;
|
|
10
|
+
train_set_number_real: string;
|
|
11
|
+
train_number: string;
|
|
12
|
+
track_id: string;
|
|
13
|
+
delay_origin: number;
|
|
14
|
+
actual_position_timestamp_scheduled: number;
|
|
15
|
+
static attributeModel: ModelAttributes<MetroRunsMessagesModel>;
|
|
16
|
+
static arrayJsonSchema: JSONSchemaType<IMetroRunsMessagesModel[]>;
|
|
17
|
+
}
|
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.MetroRunsMessagesModel = void 0;
|
|
4
|
+
const sequelize_1 = require("@golemio/core/dist/shared/sequelize");
|
|
5
|
+
class MetroRunsMessagesModel extends sequelize_1.Model {
|
|
6
|
+
}
|
|
7
|
+
exports.MetroRunsMessagesModel = MetroRunsMessagesModel;
|
|
8
|
+
MetroRunsMessagesModel.TABLE_NAME = "vehiclepositions_metro_runs_messages";
|
|
9
|
+
MetroRunsMessagesModel.attributeModel = {
|
|
10
|
+
id: {
|
|
11
|
+
type: sequelize_1.DataTypes.INTEGER,
|
|
12
|
+
primaryKey: true,
|
|
13
|
+
autoIncrement: true,
|
|
14
|
+
},
|
|
15
|
+
route_name: {
|
|
16
|
+
type: sequelize_1.DataTypes.CHAR(1),
|
|
17
|
+
allowNull: false,
|
|
18
|
+
},
|
|
19
|
+
message_timestamp: {
|
|
20
|
+
type: sequelize_1.DataTypes.DATE,
|
|
21
|
+
allowNull: false,
|
|
22
|
+
},
|
|
23
|
+
train_set_number_scheduled: {
|
|
24
|
+
type: sequelize_1.DataTypes.STRING(15),
|
|
25
|
+
allowNull: false,
|
|
26
|
+
},
|
|
27
|
+
train_set_number_real: {
|
|
28
|
+
type: sequelize_1.DataTypes.STRING(15),
|
|
29
|
+
allowNull: false,
|
|
30
|
+
},
|
|
31
|
+
train_number: {
|
|
32
|
+
type: sequelize_1.DataTypes.STRING(15),
|
|
33
|
+
allowNull: false,
|
|
34
|
+
},
|
|
35
|
+
track_id: {
|
|
36
|
+
type: sequelize_1.DataTypes.STRING(15),
|
|
37
|
+
allowNull: false,
|
|
38
|
+
},
|
|
39
|
+
delay_origin: {
|
|
40
|
+
type: sequelize_1.DataTypes.SMALLINT,
|
|
41
|
+
allowNull: false,
|
|
42
|
+
},
|
|
43
|
+
actual_position_timestamp_scheduled: {
|
|
44
|
+
type: sequelize_1.DataTypes.DATE,
|
|
45
|
+
allowNull: false,
|
|
46
|
+
},
|
|
47
|
+
};
|
|
48
|
+
MetroRunsMessagesModel.arrayJsonSchema = {
|
|
49
|
+
type: "array",
|
|
50
|
+
items: {
|
|
51
|
+
type: "object",
|
|
52
|
+
properties: {
|
|
53
|
+
route_name: {
|
|
54
|
+
type: "string",
|
|
55
|
+
},
|
|
56
|
+
message_timestamp: {
|
|
57
|
+
type: "string",
|
|
58
|
+
},
|
|
59
|
+
train_set_number_scheduled: {
|
|
60
|
+
type: "string",
|
|
61
|
+
},
|
|
62
|
+
train_set_number_real: {
|
|
63
|
+
type: "string",
|
|
64
|
+
},
|
|
65
|
+
train_number: {
|
|
66
|
+
type: "string",
|
|
67
|
+
},
|
|
68
|
+
track_id: {
|
|
69
|
+
type: "string",
|
|
70
|
+
},
|
|
71
|
+
delay_origin: {
|
|
72
|
+
type: "integer",
|
|
73
|
+
},
|
|
74
|
+
actual_position_timestamp_scheduled: {
|
|
75
|
+
type: "number",
|
|
76
|
+
},
|
|
77
|
+
},
|
|
78
|
+
required: [
|
|
79
|
+
"route_name",
|
|
80
|
+
"message_timestamp",
|
|
81
|
+
"train_set_number_scheduled",
|
|
82
|
+
"train_set_number_real",
|
|
83
|
+
"train_number",
|
|
84
|
+
"track_id",
|
|
85
|
+
"delay_origin",
|
|
86
|
+
"actual_position_timestamp_scheduled",
|
|
87
|
+
],
|
|
88
|
+
},
|
|
89
|
+
};
|
|
90
|
+
//# sourceMappingURL=MetroRunsMessagesModel.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"MetroRunsMessagesModel.js","sourceRoot":"","sources":["../../../../src/schema-definitions/vehicle-positions/models/MetroRunsMessagesModel.ts"],"names":[],"mappings":";;;AAAA,mEAAwF;AAIxF,MAAa,sBAAuB,SAAQ,iBAA6B;;AAAzE,wDA+FC;AA9FiB,iCAAU,GAAG,sCAAsC,CAAC;AAYpD,qCAAc,GAA4C;IACpE,EAAE,EAAE;QACA,IAAI,EAAE,qBAAS,CAAC,OAAO;QACvB,UAAU,EAAE,IAAI;QAChB,aAAa,EAAE,IAAI;KACtB;IACD,UAAU,EAAE;QACR,IAAI,EAAE,qBAAS,CAAC,IAAI,CAAC,CAAC,CAAC;QACvB,SAAS,EAAE,KAAK;KACnB;IACD,iBAAiB,EAAE;QACf,IAAI,EAAE,qBAAS,CAAC,IAAI;QACpB,SAAS,EAAE,KAAK;KACnB;IACD,0BAA0B,EAAE;QACxB,IAAI,EAAE,qBAAS,CAAC,MAAM,CAAC,EAAE,CAAC;QAC1B,SAAS,EAAE,KAAK;KACnB;IACD,qBAAqB,EAAE;QACnB,IAAI,EAAE,qBAAS,CAAC,MAAM,CAAC,EAAE,CAAC;QAC1B,SAAS,EAAE,KAAK;KACnB;IACD,YAAY,EAAE;QACV,IAAI,EAAE,qBAAS,CAAC,MAAM,CAAC,EAAE,CAAC;QAC1B,SAAS,EAAE,KAAK;KACnB;IACD,QAAQ,EAAE;QACN,IAAI,EAAE,qBAAS,CAAC,MAAM,CAAC,EAAE,CAAC;QAC1B,SAAS,EAAE,KAAK;KACnB;IACD,YAAY,EAAE;QACV,IAAI,EAAE,qBAAS,CAAC,QAAQ;QACxB,SAAS,EAAE,KAAK;KACnB;IACD,mCAAmC,EAAE;QACjC,IAAI,EAAE,qBAAS,CAAC,IAAI;QACpB,SAAS,EAAE,KAAK;KACnB;CACJ,CAAC;AAEY,sCAAe,GAA8C;IACvE,IAAI,EAAE,OAAO;IACb,KAAK,EAAE;QACH,IAAI,EAAE,QAAQ;QACd,UAAU,EAAE;YACR,UAAU,EAAE;gBACR,IAAI,EAAE,QAAQ;aACjB;YACD,iBAAiB,EAAE;gBACf,IAAI,EAAE,QAAQ;aACjB;YACD,0BAA0B,EAAE;gBACxB,IAAI,EAAE,QAAQ;aACjB;YACD,qBAAqB,EAAE;gBACnB,IAAI,EAAE,QAAQ;aACjB;YACD,YAAY,EAAE;gBACV,IAAI,EAAE,QAAQ;aACjB;YACD,QAAQ,EAAE;gBACN,IAAI,EAAE,QAAQ;aACjB;YACD,YAAY,EAAE;gBACV,IAAI,EAAE,SAAS;aAClB;YACD,mCAAmC,EAAE;gBACjC,IAAI,EAAE,QAAQ;aACjB;SACJ;QACD,QAAQ,EAAE;YACN,YAAY;YACZ,mBAAmB;YACnB,4BAA4B;YAC5B,uBAAuB;YACvB,cAAc;YACd,UAAU;YACV,cAAc;YACd,qCAAqC;SACxC;KACJ;CACJ,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./MetroRunsMessagesModel";
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./MetroRunsMessagesModel"), exports);
|
|
18
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/schema-definitions/vehicle-positions/models/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,2DAAyC"}
|
package/dist/schema-definitions/vehicle-positions/models/interfaces/IMetroRunsMessagesModel.d.ts
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export interface IMetroRunsMessagesModel {
|
|
2
|
+
route_name: string;
|
|
3
|
+
message_timestamp: string;
|
|
4
|
+
train_set_number_scheduled: string;
|
|
5
|
+
train_set_number_real: string;
|
|
6
|
+
train_number: string;
|
|
7
|
+
track_id: string;
|
|
8
|
+
delay_origin: number;
|
|
9
|
+
actual_position_timestamp_scheduled: number;
|
|
10
|
+
}
|
package/dist/schema-definitions/vehicle-positions/models/interfaces/IMetroRunsMessagesModel.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"IMetroRunsMessagesModel.js","sourceRoot":"","sources":["../../../../../src/schema-definitions/vehicle-positions/models/interfaces/IMetroRunsMessagesModel.ts"],"names":[],"mappings":""}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@golemio/pid",
|
|
3
|
-
"version": "2.2.
|
|
3
|
+
"version": "2.2.12-dev.631390368",
|
|
4
4
|
"description": "Golemio PID Module",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
"@commitlint/cli": "^11.0.0",
|
|
29
29
|
"@commitlint/config-conventional": "^11.0.0",
|
|
30
30
|
"@golemio/cli": "1.3.1",
|
|
31
|
-
"@golemio/core": "1.2.
|
|
31
|
+
"@golemio/core": "1.2.18-dev.631214275",
|
|
32
32
|
"@golemio/db-common": "1.0.1",
|
|
33
33
|
"@golemio/eslint-config": "^1.1.0",
|
|
34
34
|
"@ovos-media/ts-transform-paths": "^1.7.18-1",
|
|
@@ -53,6 +53,7 @@
|
|
|
53
53
|
"nyc": "^15.1.0",
|
|
54
54
|
"prettier": "^2.5.1",
|
|
55
55
|
"pretty-quick": "^3.1.0",
|
|
56
|
+
"reflect-metadata": "^0.1.13",
|
|
56
57
|
"rimraf": "^3.0.2",
|
|
57
58
|
"sinon": "^9.2.3",
|
|
58
59
|
"source-map-support": "0.5.19",
|
|
@@ -63,7 +64,7 @@
|
|
|
63
64
|
"typescript": "4.6.4"
|
|
64
65
|
},
|
|
65
66
|
"peerDependencies": {
|
|
66
|
-
"@golemio/core": "^1.2.
|
|
67
|
+
"@golemio/core": "^1.2.17"
|
|
67
68
|
},
|
|
68
69
|
"dependencies": {
|
|
69
70
|
"@golemio/ovapi-gtfs-realtime-bindings": "1.0.0",
|