@golemio/waze-tt 1.1.6-dev.828583108 → 1.1.6-dev.842074412
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.
|
@@ -10,13 +10,13 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
10
10
|
};
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
12
|
exports.WazeTTWorker = void 0;
|
|
13
|
-
const
|
|
13
|
+
const index_1 = require("../schema-definitions/index");
|
|
14
14
|
const config_1 = require("@golemio/core/dist/integration-engine/config");
|
|
15
|
-
const helpers_1 = require("@golemio/core/dist/integration-engine/helpers");
|
|
16
15
|
const datasources_1 = require("@golemio/core/dist/integration-engine/datasources");
|
|
16
|
+
const helpers_1 = require("@golemio/core/dist/integration-engine/helpers");
|
|
17
17
|
const models_1 = require("@golemio/core/dist/integration-engine/models");
|
|
18
18
|
const workers_1 = require("@golemio/core/dist/integration-engine/workers");
|
|
19
|
-
const
|
|
19
|
+
const golemio_validator_1 = require("@golemio/core/dist/shared/golemio-validator");
|
|
20
20
|
const wazeTTTransformations_1 = require("./wazeTTTransformations");
|
|
21
21
|
class WazeTTWorker extends workers_1.BaseWorker {
|
|
22
22
|
constructor() {
|
|
@@ -117,37 +117,37 @@ class WazeTTWorker extends workers_1.BaseWorker {
|
|
|
117
117
|
pgSchema: index_1.WazeTT.pgSchema,
|
|
118
118
|
pgTableName: index_1.WazeTT.feeds.pgTableName,
|
|
119
119
|
savingType: "insertOrUpdate",
|
|
120
|
-
}, new golemio_validator_1.
|
|
120
|
+
}, new golemio_validator_1.JSONSchemaValidator(index_1.WazeTT.feeds.name + "ModelJSONSchemaValidator", index_1.WazeTT.feeds.outputJsonSchemaDefinition));
|
|
121
121
|
this.modelJamsStats = new models_1.PostgresModel(index_1.WazeTT.jamsStats.name + "Model", {
|
|
122
122
|
outputSequelizeAttributes: index_1.WazeTT.jamsStats.outputSequelizeAttributes,
|
|
123
123
|
pgSchema: index_1.WazeTT.pgSchema,
|
|
124
124
|
pgTableName: index_1.WazeTT.jamsStats.pgTableName,
|
|
125
125
|
savingType: "insertOrUpdate",
|
|
126
|
-
}, new golemio_validator_1.
|
|
126
|
+
}, new golemio_validator_1.JSONSchemaValidator(index_1.WazeTT.jamsStats.name + "ModelJSONSchemaValidator", index_1.WazeTT.jamsStats.outputJsonSchemaDefinition));
|
|
127
127
|
this.modelRouteLives = new models_1.PostgresModel(index_1.WazeTT.routeLives.name + "Model", {
|
|
128
128
|
outputSequelizeAttributes: index_1.WazeTT.routeLives.outputSequelizeAttributes,
|
|
129
129
|
pgSchema: index_1.WazeTT.pgSchema,
|
|
130
130
|
pgTableName: index_1.WazeTT.routeLives.pgTableName,
|
|
131
131
|
savingType: "insertOrUpdate",
|
|
132
|
-
}, new golemio_validator_1.
|
|
132
|
+
}, new golemio_validator_1.JSONSchemaValidator(index_1.WazeTT.routeLives.name + "ModelJSONSchemaValidator", index_1.WazeTT.routeLives.outputJsonSchemaDefinition));
|
|
133
133
|
this.modelRoutes = new models_1.PostgresModel(index_1.WazeTT.routes.name + "Model", {
|
|
134
134
|
outputSequelizeAttributes: index_1.WazeTT.routes.outputSequelizeAttributes,
|
|
135
135
|
pgSchema: index_1.WazeTT.pgSchema,
|
|
136
136
|
pgTableName: index_1.WazeTT.routes.pgTableName,
|
|
137
137
|
savingType: "insertOrUpdate",
|
|
138
|
-
}, new golemio_validator_1.
|
|
138
|
+
}, new golemio_validator_1.JSONSchemaValidator(index_1.WazeTT.routes.name + "ModelJSONSchemaValidator", index_1.WazeTT.routes.outputJsonSchemaDefinition));
|
|
139
139
|
this.modelSubRouteLives = new models_1.PostgresModel(index_1.WazeTT.subRouteLives.name + "Model", {
|
|
140
140
|
outputSequelizeAttributes: index_1.WazeTT.subRouteLives.outputSequelizeAttributes,
|
|
141
141
|
pgSchema: index_1.WazeTT.pgSchema,
|
|
142
142
|
pgTableName: index_1.WazeTT.subRouteLives.pgTableName,
|
|
143
143
|
savingType: "insertOnly",
|
|
144
|
-
}, new golemio_validator_1.
|
|
144
|
+
}, new golemio_validator_1.JSONSchemaValidator(index_1.WazeTT.subRouteLives.name + "ModelJSONSchemaValidator", index_1.WazeTT.subRouteLives.outputJsonSchemaDefinition));
|
|
145
145
|
this.modelSubRoutes = new models_1.PostgresModel(index_1.WazeTT.subRoutes.name + "Model", {
|
|
146
146
|
outputSequelizeAttributes: index_1.WazeTT.subRoutes.outputSequelizeAttributes,
|
|
147
147
|
pgSchema: index_1.WazeTT.pgSchema,
|
|
148
148
|
pgTableName: index_1.WazeTT.subRoutes.pgTableName,
|
|
149
149
|
savingType: "insertOrUpdate",
|
|
150
|
-
}, new golemio_validator_1.
|
|
150
|
+
}, new golemio_validator_1.JSONSchemaValidator(index_1.WazeTT.subRoutes.name + "ModelJSONSchemaValidator", index_1.WazeTT.subRoutes.outputJsonSchemaDefinition));
|
|
151
151
|
}
|
|
152
152
|
saveFeeds(data) {
|
|
153
153
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"WazeTTWorker.js","sourceRoot":"","sources":["../../src/integration-engine/WazeTTWorker.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,
|
|
1
|
+
{"version":3,"file":"WazeTTWorker.js","sourceRoot":"","sources":["../../src/integration-engine/WazeTTWorker.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,uDAAoC;AACpC,yEAAsE;AACtE,mFAA2H;AAC3H,2EAAoE;AACpE,yEAA6E;AAC7E,2EAA2E;AAC3E,mFAAkF;AAClF,mEAMiC;AAGjC,MAAa,YAAa,SAAQ,oBAAU;IAexC;QACI,KAAK,EAAE,CAAC;QAoGL,mBAAc,GAAG,CAAO,GAAQ,EAAiB,EAAE;YACtD,MAAM,aAAa,GAAG,GAAG,CAAC,OAAO,CAAC,QAAQ,EAAE,CAAC;YAE7C,IAAI,IAAI,CAAC,eAAe,CAAC,aAAa,CAAC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G,MAAM,IAAI,CAAC,wBAAwB,CAAC,SAAS,CAAC,KAAK,CAAC,CAAC;YAClF,oBAAoB,CAAC,QAAQ,GAAG,OAAO,CAAC;YACxC,oBAAoB,CAAC,WAAW,GAAG,UAAU,CAAC;YAE9C,MAAM,IAAI,CAAC,eAAe,CAAC,IAAI,CAAC,oBAAoB,CAAC,CAAC;QAC1D,CAAC;KAAA;IAEa,SAAS,CAAC,KAAU,EAAE,MAAW,EAAE,UAAe;;YAC5D,MAAM,gBAAgB,GAAG,MAAM,IAAI,CAAC,oBAAoB,CAAC,SAAS,CAAC,KAAK,CAAC,CAAC;YAC1E,gBAAgB,CAAC,OAAO,GAAG,MAAM,CAAC;YAClC,gBAAgB,CAAC,WAAW,GAAG,UAAU,CAAC;YAE1C,MAAM,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC,gBAAgB,CAAC,CAAC;QAClD,CAAC;KAAA;CACJ;AAjQD,oCAiQC"}
|
|
@@ -98,24 +98,28 @@ declare const forExport: {
|
|
|
98
98
|
feeds: {
|
|
99
99
|
name: string;
|
|
100
100
|
outputJsonSchemaDefinition: {
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
101
|
+
type: string;
|
|
102
|
+
properties: {
|
|
103
|
+
area_name: {
|
|
104
|
+
type: string;
|
|
105
|
+
};
|
|
106
|
+
bbox: {
|
|
107
|
+
type: string;
|
|
108
|
+
};
|
|
109
|
+
broadcaster_id: {
|
|
110
|
+
type: string;
|
|
111
|
+
};
|
|
112
|
+
id: {
|
|
113
|
+
type: string;
|
|
114
|
+
};
|
|
115
|
+
ismetric: {
|
|
116
|
+
type: string;
|
|
117
|
+
};
|
|
118
|
+
name: {
|
|
119
|
+
type: string;
|
|
120
|
+
};
|
|
118
121
|
};
|
|
122
|
+
required: string[];
|
|
119
123
|
};
|
|
120
124
|
outputSequelizeAttributes: Sequelize.ModelAttributes<any, any>;
|
|
121
125
|
pgTableName: string;
|
|
@@ -123,21 +127,25 @@ declare const forExport: {
|
|
|
123
127
|
jamsStats: {
|
|
124
128
|
name: string;
|
|
125
129
|
outputJsonSchemaDefinition: {
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
130
|
+
type: string;
|
|
131
|
+
properties: {
|
|
132
|
+
feed_id: {
|
|
133
|
+
type: string;
|
|
134
|
+
};
|
|
135
|
+
jam_level: {
|
|
136
|
+
type: string;
|
|
137
|
+
};
|
|
138
|
+
length_of_jams: {
|
|
139
|
+
type: string;
|
|
140
|
+
};
|
|
141
|
+
update_time: {
|
|
142
|
+
type: string;
|
|
143
|
+
};
|
|
144
|
+
wazers_count: {
|
|
145
|
+
type: string;
|
|
146
|
+
};
|
|
140
147
|
};
|
|
148
|
+
required: string[];
|
|
141
149
|
};
|
|
142
150
|
outputSequelizeAttributes: Sequelize.ModelAttributes<any, any>;
|
|
143
151
|
pgTableName: string;
|
|
@@ -146,24 +154,28 @@ declare const forExport: {
|
|
|
146
154
|
routeLives: {
|
|
147
155
|
name: string;
|
|
148
156
|
outputJsonSchemaDefinition: {
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
157
|
+
type: string;
|
|
158
|
+
properties: {
|
|
159
|
+
historic_time: {
|
|
160
|
+
type: string;
|
|
161
|
+
};
|
|
162
|
+
jam_level: {
|
|
163
|
+
type: string;
|
|
164
|
+
};
|
|
165
|
+
length: {
|
|
166
|
+
type: string;
|
|
167
|
+
};
|
|
168
|
+
route_id: {
|
|
169
|
+
type: string;
|
|
170
|
+
};
|
|
171
|
+
time: {
|
|
172
|
+
type: string;
|
|
173
|
+
};
|
|
174
|
+
update_time: {
|
|
175
|
+
type: string;
|
|
176
|
+
};
|
|
166
177
|
};
|
|
178
|
+
required: string[];
|
|
167
179
|
};
|
|
168
180
|
outputSequelizeAttributes: Sequelize.ModelAttributes<any, any>;
|
|
169
181
|
pgTableName: string;
|
|
@@ -171,29 +183,118 @@ declare const forExport: {
|
|
|
171
183
|
routes: {
|
|
172
184
|
name: string;
|
|
173
185
|
outputJsonSchemaDefinition: {
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
186
|
+
type: string;
|
|
187
|
+
properties: {
|
|
188
|
+
bbox: {
|
|
189
|
+
type: string;
|
|
190
|
+
};
|
|
191
|
+
feed_id: {
|
|
192
|
+
type: string;
|
|
193
|
+
};
|
|
194
|
+
from_name: {
|
|
195
|
+
type: string;
|
|
196
|
+
};
|
|
197
|
+
id: {
|
|
198
|
+
type: string;
|
|
199
|
+
};
|
|
200
|
+
last_update: {
|
|
201
|
+
type: string;
|
|
202
|
+
};
|
|
203
|
+
line: {
|
|
204
|
+
$ref: string;
|
|
205
|
+
};
|
|
206
|
+
name: {
|
|
207
|
+
type: string;
|
|
208
|
+
};
|
|
209
|
+
to_name: {
|
|
210
|
+
type: string;
|
|
211
|
+
};
|
|
194
212
|
};
|
|
195
|
-
|
|
196
|
-
|
|
213
|
+
required: string[];
|
|
214
|
+
definitions: {
|
|
215
|
+
geometry: {
|
|
216
|
+
$id: string;
|
|
217
|
+
title: string;
|
|
218
|
+
description: string;
|
|
219
|
+
type: string;
|
|
220
|
+
required: string[];
|
|
221
|
+
oneOf: ({
|
|
222
|
+
title: string;
|
|
223
|
+
properties: {
|
|
224
|
+
type: {
|
|
225
|
+
enum: string[];
|
|
226
|
+
};
|
|
227
|
+
coordinates: {
|
|
228
|
+
$ref: string;
|
|
229
|
+
type?: undefined;
|
|
230
|
+
items?: undefined;
|
|
231
|
+
};
|
|
232
|
+
};
|
|
233
|
+
} | {
|
|
234
|
+
title: string;
|
|
235
|
+
properties: {
|
|
236
|
+
type: {
|
|
237
|
+
enum: string[];
|
|
238
|
+
};
|
|
239
|
+
coordinates: {
|
|
240
|
+
type: string;
|
|
241
|
+
items: {
|
|
242
|
+
$ref: string;
|
|
243
|
+
};
|
|
244
|
+
$ref?: undefined;
|
|
245
|
+
};
|
|
246
|
+
};
|
|
247
|
+
})[];
|
|
248
|
+
definitions: {
|
|
249
|
+
position: {
|
|
250
|
+
description: string;
|
|
251
|
+
type: string;
|
|
252
|
+
minItems: number;
|
|
253
|
+
items: {
|
|
254
|
+
type: string;
|
|
255
|
+
}[];
|
|
256
|
+
additionalItems: boolean;
|
|
257
|
+
};
|
|
258
|
+
positionArray: {
|
|
259
|
+
description: string;
|
|
260
|
+
type: string;
|
|
261
|
+
items: {
|
|
262
|
+
$ref: string;
|
|
263
|
+
};
|
|
264
|
+
};
|
|
265
|
+
lineString: {
|
|
266
|
+
description: string;
|
|
267
|
+
allOf: ({
|
|
268
|
+
$ref: string;
|
|
269
|
+
type?: undefined;
|
|
270
|
+
minItems?: undefined;
|
|
271
|
+
} | {
|
|
272
|
+
type: string;
|
|
273
|
+
minItems: number;
|
|
274
|
+
$ref?: undefined;
|
|
275
|
+
})[];
|
|
276
|
+
};
|
|
277
|
+
linearRing: {
|
|
278
|
+
description: string;
|
|
279
|
+
allOf: ({
|
|
280
|
+
$ref: string;
|
|
281
|
+
type?: undefined;
|
|
282
|
+
minItems?: undefined;
|
|
283
|
+
} | {
|
|
284
|
+
type: string;
|
|
285
|
+
minItems: number;
|
|
286
|
+
$ref?: undefined;
|
|
287
|
+
})[];
|
|
288
|
+
};
|
|
289
|
+
polygon: {
|
|
290
|
+
description: string;
|
|
291
|
+
type: string;
|
|
292
|
+
items: {
|
|
293
|
+
$ref: string;
|
|
294
|
+
};
|
|
295
|
+
};
|
|
296
|
+
};
|
|
297
|
+
};
|
|
197
298
|
};
|
|
198
299
|
};
|
|
199
300
|
outputSequelizeAttributes: Sequelize.ModelAttributes<any, any>;
|
|
@@ -202,27 +303,31 @@ declare const forExport: {
|
|
|
202
303
|
subRouteLives: {
|
|
203
304
|
name: string;
|
|
204
305
|
outputJsonSchemaDefinition: {
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
306
|
+
type: string;
|
|
307
|
+
properties: {
|
|
308
|
+
historic_time: {
|
|
309
|
+
type: string;
|
|
310
|
+
};
|
|
311
|
+
jam_level: {
|
|
312
|
+
type: string;
|
|
313
|
+
};
|
|
314
|
+
length: {
|
|
315
|
+
type: string;
|
|
316
|
+
};
|
|
317
|
+
route_id: {
|
|
318
|
+
type: string;
|
|
319
|
+
};
|
|
320
|
+
subroute_line_md5: {
|
|
321
|
+
type: string;
|
|
322
|
+
};
|
|
323
|
+
time: {
|
|
324
|
+
type: string;
|
|
325
|
+
};
|
|
326
|
+
update_time: {
|
|
327
|
+
type: string;
|
|
328
|
+
};
|
|
225
329
|
};
|
|
330
|
+
required: string[];
|
|
226
331
|
};
|
|
227
332
|
outputSequelizeAttributes: Sequelize.ModelAttributes<any, any>;
|
|
228
333
|
pgTableName: string;
|
|
@@ -230,20 +335,109 @@ declare const forExport: {
|
|
|
230
335
|
subRoutes: {
|
|
231
336
|
name: string;
|
|
232
337
|
outputJsonSchemaDefinition: {
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
338
|
+
type: string;
|
|
339
|
+
properties: {
|
|
340
|
+
from_name: {
|
|
341
|
+
type: string;
|
|
342
|
+
};
|
|
343
|
+
line_md5: {
|
|
344
|
+
type: string;
|
|
345
|
+
};
|
|
346
|
+
line: {
|
|
347
|
+
$ref: string;
|
|
348
|
+
};
|
|
349
|
+
route_id: {
|
|
350
|
+
type: string;
|
|
351
|
+
};
|
|
352
|
+
to_name: {
|
|
353
|
+
type: string;
|
|
354
|
+
};
|
|
244
355
|
};
|
|
245
|
-
|
|
246
|
-
|
|
356
|
+
required: string[];
|
|
357
|
+
definitions: {
|
|
358
|
+
geometry: {
|
|
359
|
+
$id: string;
|
|
360
|
+
title: string;
|
|
361
|
+
description: string;
|
|
362
|
+
type: string;
|
|
363
|
+
required: string[];
|
|
364
|
+
oneOf: ({
|
|
365
|
+
title: string;
|
|
366
|
+
properties: {
|
|
367
|
+
type: {
|
|
368
|
+
enum: string[];
|
|
369
|
+
};
|
|
370
|
+
coordinates: {
|
|
371
|
+
$ref: string;
|
|
372
|
+
type?: undefined;
|
|
373
|
+
items?: undefined;
|
|
374
|
+
};
|
|
375
|
+
};
|
|
376
|
+
} | {
|
|
377
|
+
title: string;
|
|
378
|
+
properties: {
|
|
379
|
+
type: {
|
|
380
|
+
enum: string[];
|
|
381
|
+
};
|
|
382
|
+
coordinates: {
|
|
383
|
+
type: string;
|
|
384
|
+
items: {
|
|
385
|
+
$ref: string;
|
|
386
|
+
};
|
|
387
|
+
$ref?: undefined;
|
|
388
|
+
};
|
|
389
|
+
};
|
|
390
|
+
})[];
|
|
391
|
+
definitions: {
|
|
392
|
+
position: {
|
|
393
|
+
description: string;
|
|
394
|
+
type: string;
|
|
395
|
+
minItems: number;
|
|
396
|
+
items: {
|
|
397
|
+
type: string;
|
|
398
|
+
}[];
|
|
399
|
+
additionalItems: boolean;
|
|
400
|
+
};
|
|
401
|
+
positionArray: {
|
|
402
|
+
description: string;
|
|
403
|
+
type: string;
|
|
404
|
+
items: {
|
|
405
|
+
$ref: string;
|
|
406
|
+
};
|
|
407
|
+
};
|
|
408
|
+
lineString: {
|
|
409
|
+
description: string;
|
|
410
|
+
allOf: ({
|
|
411
|
+
$ref: string;
|
|
412
|
+
type?: undefined;
|
|
413
|
+
minItems?: undefined;
|
|
414
|
+
} | {
|
|
415
|
+
type: string;
|
|
416
|
+
minItems: number;
|
|
417
|
+
$ref?: undefined;
|
|
418
|
+
})[];
|
|
419
|
+
};
|
|
420
|
+
linearRing: {
|
|
421
|
+
description: string;
|
|
422
|
+
allOf: ({
|
|
423
|
+
$ref: string;
|
|
424
|
+
type?: undefined;
|
|
425
|
+
minItems?: undefined;
|
|
426
|
+
} | {
|
|
427
|
+
type: string;
|
|
428
|
+
minItems: number;
|
|
429
|
+
$ref?: undefined;
|
|
430
|
+
})[];
|
|
431
|
+
};
|
|
432
|
+
polygon: {
|
|
433
|
+
description: string;
|
|
434
|
+
type: string;
|
|
435
|
+
items: {
|
|
436
|
+
$ref: string;
|
|
437
|
+
};
|
|
438
|
+
};
|
|
439
|
+
};
|
|
440
|
+
};
|
|
247
441
|
};
|
|
248
442
|
};
|
|
249
443
|
outputSequelizeAttributes: Sequelize.ModelAttributes<any, any>;
|
|
@@ -4,6 +4,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
4
4
|
};
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
6
|
exports.WazeTT = void 0;
|
|
7
|
+
const schema_definitions_1 = require("@golemio/core/dist/schema-definitions");
|
|
7
8
|
const sequelize_1 = __importDefault(require("@golemio/core/dist/shared/sequelize"));
|
|
8
9
|
// SDMA = Sequelize DefineModelAttributes
|
|
9
10
|
const datasourceWazeTTJsonSchema = {
|
|
@@ -60,53 +61,83 @@ const datasourceWazeTTJsonSchema = {
|
|
|
60
61
|
},
|
|
61
62
|
};
|
|
62
63
|
const outputFeedsJsonSchema = {
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
64
|
+
type: "object",
|
|
65
|
+
properties: {
|
|
66
|
+
area_name: { type: "string" },
|
|
67
|
+
bbox: { type: "object" },
|
|
68
|
+
broadcaster_id: { type: "string" },
|
|
69
|
+
id: { type: "number" },
|
|
70
|
+
ismetric: { type: "boolean" },
|
|
71
|
+
name: { type: "string" },
|
|
72
|
+
},
|
|
73
|
+
required: ["area_name", "bbox", "broadcaster_id", "ismetric", "name"],
|
|
69
74
|
};
|
|
70
75
|
const outputJamsStatsJsonSchema = {
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
+
type: "object",
|
|
77
|
+
properties: {
|
|
78
|
+
feed_id: { type: "number" },
|
|
79
|
+
jam_level: { type: "number" },
|
|
80
|
+
length_of_jams: { type: "number" },
|
|
81
|
+
update_time: { type: "number" },
|
|
82
|
+
wazers_count: { type: "number" },
|
|
83
|
+
},
|
|
84
|
+
required: ["feed_id", "jam_level", "update_time"],
|
|
76
85
|
};
|
|
77
86
|
const outputRoutesJsonSchema = {
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
87
|
+
type: "object",
|
|
88
|
+
properties: {
|
|
89
|
+
bbox: { type: "object" },
|
|
90
|
+
feed_id: { type: "number" },
|
|
91
|
+
from_name: { type: "string" },
|
|
92
|
+
id: { type: "number" },
|
|
93
|
+
last_update: { type: "number" },
|
|
94
|
+
line: { $ref: "#/definitions/geometry" },
|
|
95
|
+
name: { type: "string" },
|
|
96
|
+
to_name: { type: "string" },
|
|
97
|
+
},
|
|
98
|
+
required: ["id"],
|
|
99
|
+
definitions: {
|
|
100
|
+
geometry: schema_definitions_1.SharedSchemaProvider.Geometry,
|
|
101
|
+
},
|
|
86
102
|
};
|
|
87
103
|
const outputSubRoutesJsonSchema = {
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
104
|
+
type: "object",
|
|
105
|
+
properties: {
|
|
106
|
+
from_name: { type: "string" },
|
|
107
|
+
line_md5: { type: "string" },
|
|
108
|
+
line: { $ref: "#/definitions/geometry" },
|
|
109
|
+
route_id: { type: "number" },
|
|
110
|
+
to_name: { type: "string" },
|
|
111
|
+
},
|
|
112
|
+
required: ["line_md5", "route_id"],
|
|
113
|
+
definitions: {
|
|
114
|
+
geometry: schema_definitions_1.SharedSchemaProvider.Geometry,
|
|
115
|
+
},
|
|
93
116
|
};
|
|
94
117
|
const outputRouteLivesJsonSchema = {
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
118
|
+
type: "object",
|
|
119
|
+
properties: {
|
|
120
|
+
historic_time: { type: "number" },
|
|
121
|
+
jam_level: { type: "number" },
|
|
122
|
+
length: { type: "number" },
|
|
123
|
+
route_id: { type: "number" },
|
|
124
|
+
time: { type: "number" },
|
|
125
|
+
update_time: { type: "number" },
|
|
126
|
+
},
|
|
127
|
+
required: ["route_id", "update_time"],
|
|
101
128
|
};
|
|
102
129
|
const outputSubRouteLivesJsonSchema = {
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
130
|
+
type: "object",
|
|
131
|
+
properties: {
|
|
132
|
+
historic_time: { type: "number" },
|
|
133
|
+
jam_level: { type: "number" },
|
|
134
|
+
length: { type: "number" },
|
|
135
|
+
route_id: { type: "number" },
|
|
136
|
+
subroute_line_md5: { type: "string" },
|
|
137
|
+
time: { type: "number" },
|
|
138
|
+
update_time: { type: "number" },
|
|
139
|
+
},
|
|
140
|
+
required: ["route_id", "subroute_line_md5", "update_time"],
|
|
110
141
|
};
|
|
111
142
|
const outputFeedsSDMA = {
|
|
112
143
|
area_name: sequelize_1.default.TEXT,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/schema-definitions/index.ts"],"names":[],"mappings":";;;;;;AAAA,oFAA4D;AAC5D,yCAAyC;AAEzC,MAAM,0BAA0B,GAAG;IAC/B,IAAI,EAAE,QAAQ;IACd,UAAU,EAAE;QACR,WAAW,EAAE;YACT,IAAI,EAAE,OAAO;YACb,KAAK,EAAE;gBACH,IAAI,EAAE,QAAQ;gBACd,UAAU,EAAE;oBACR,WAAW,EAAE,EAAE,IAAI,EAAE,CAAC,QAAQ,EAAE,QAAQ,CAAC,EAAE;oBAC3C,QAAQ,EAAE,EAAE,IAAI,EAAE,CAAC,SAAS,EAAE,QAAQ,CAAC,EAAE;iBAC5C;aACJ;SACJ;QACD,MAAM,EAAE;YACJ,IAAI,EAAE,OAAO;YACb,KAAK,EAAE;gBACH,IAAI,EAAE,QAAQ;gBACd,UAAU,EAAE;oBACR,MAAM,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;oBAC1B,YAAY,EAAE,EAAE,IAAI,EAAE,CAAC,SAAS,EAAE,QAAQ,CAAC,EAAE;oBAC7C,IAAI,EAAE;wBACF,IAAI,EAAE,OAAO;wBACb,KAAK,EAAE;4BACH,IAAI,EAAE,QAAQ;yBACjB;qBACJ;oBACD,IAAI,EAAE;wBACF,IAAI,EAAE,QAAQ;qBACjB;oBACD,IAAI,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;oBACxB,QAAQ,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;oBAC5B,MAAM,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;oBAC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