@golemio/parkings 1.9.6-dev.1365842509 → 1.9.6-dev.1370901754

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.
Files changed (56) hide show
  1. package/db/example/01_sql_dump.sql +6 -3
  2. package/db/example/11_parking_machines.sql +4 -0
  3. package/db/example/12_pmdp_data.sql +3 -0
  4. package/dist/helpers/data-access/CachedPmdpParkingRepository.d.ts +11 -0
  5. package/dist/helpers/data-access/CachedPmdpParkingRepository.js +65 -0
  6. package/dist/helpers/data-access/CachedPmdpParkingRepository.js.map +1 -0
  7. package/dist/integration-engine/datasources/pmdp/PmdpMeasurementsDataSource.d.ts +14 -0
  8. package/dist/integration-engine/datasources/pmdp/PmdpMeasurementsDataSource.js +70 -0
  9. package/dist/integration-engine/datasources/pmdp/PmdpMeasurementsDataSource.js.map +1 -0
  10. package/dist/integration-engine/ioc/Di.js +8 -0
  11. package/dist/integration-engine/ioc/Di.js.map +1 -1
  12. package/dist/integration-engine/ioc/ModuleContainerToken.d.ts +3 -0
  13. package/dist/integration-engine/ioc/ModuleContainerToken.js +5 -0
  14. package/dist/integration-engine/ioc/ModuleContainerToken.js.map +1 -1
  15. package/dist/integration-engine/transformations/pmdp/IPmdpMeasurementSchema.d.ts +9 -0
  16. package/dist/integration-engine/transformations/pmdp/IPmdpMeasurementSchema.js +3 -0
  17. package/dist/integration-engine/transformations/pmdp/IPmdpMeasurementSchema.js.map +1 -0
  18. package/dist/integration-engine/transformations/pmdp/PmdpMeasurementTransformation.d.ts +10 -0
  19. package/dist/integration-engine/transformations/pmdp/PmdpMeasurementTransformation.js +25 -0
  20. package/dist/integration-engine/transformations/pmdp/PmdpMeasurementTransformation.js.map +1 -0
  21. package/dist/integration-engine/workers/NewParkingsWorker.js +1 -0
  22. package/dist/integration-engine/workers/NewParkingsWorker.js.map +1 -1
  23. package/dist/integration-engine/workers/schemas/PmdpTaskTypeSchema.d.ts +6 -0
  24. package/dist/integration-engine/workers/schemas/PmdpTaskTypeSchema.js +22 -0
  25. package/dist/integration-engine/workers/schemas/PmdpTaskTypeSchema.js.map +1 -0
  26. package/dist/integration-engine/workers/tasks/SavePmdpMeasurementsTask.d.ts +16 -0
  27. package/dist/integration-engine/workers/tasks/SavePmdpMeasurementsTask.js +88 -0
  28. package/dist/integration-engine/workers/tasks/SavePmdpMeasurementsTask.js.map +1 -0
  29. package/dist/output-gateway/data-access/ParkingMachinesRepository.d.ts +1 -0
  30. package/dist/output-gateway/data-access/ParkingMachinesRepository.js +5 -0
  31. package/dist/output-gateway/data-access/ParkingMachinesRepository.js.map +1 -1
  32. package/dist/output-gateway/helpers/GeoConfigHelper.d.ts +9 -0
  33. package/dist/output-gateway/helpers/GeoConfigHelper.js +38 -0
  34. package/dist/output-gateway/helpers/GeoConfigHelper.js.map +1 -0
  35. package/dist/output-gateway/ioc/Di.js +8 -1
  36. package/dist/output-gateway/ioc/Di.js.map +1 -1
  37. package/dist/output-gateway/ioc/ModuleContainerToken.d.ts +1 -0
  38. package/dist/output-gateway/ioc/ModuleContainerToken.js +2 -0
  39. package/dist/output-gateway/ioc/ModuleContainerToken.js.map +1 -1
  40. package/dist/output-gateway/models/ParkingsModel.d.ts +1 -0
  41. package/dist/output-gateway/models/ParkingsModel.js +3 -0
  42. package/dist/output-gateway/models/ParkingsModel.js.map +1 -1
  43. package/dist/schema-definitions/datasources/pmdp/PmdpMeasurementSchema.d.ts +4 -0
  44. package/dist/schema-definitions/datasources/pmdp/PmdpMeasurementSchema.js +19 -0
  45. package/dist/schema-definitions/datasources/pmdp/PmdpMeasurementSchema.js.map +1 -0
  46. package/dist/schema-definitions/datasources/pmdp/interfaces/IPmdpMeasurement.d.ts +9 -0
  47. package/dist/schema-definitions/datasources/pmdp/interfaces/IPmdpMeasurement.js +3 -0
  48. package/dist/schema-definitions/datasources/pmdp/interfaces/IPmdpMeasurement.js.map +1 -0
  49. package/dist/schema-definitions/models/ParkingModel.d.ts +33 -0
  50. package/dist/schema-definitions/models/ParkingModel.js +47 -0
  51. package/dist/schema-definitions/models/ParkingModel.js.map +1 -0
  52. package/dist/schema-definitions/models/interfaces/IParking.d.ts +13 -11
  53. package/docs/implementation-documentation.md +21 -1
  54. package/docs/openapi-output.yaml +4 -5
  55. package/package.json +1 -1
  56. package/static-data/geojson/parkoviste_orez_okresy_max.geojson +260 -0
@@ -0,0 +1,260 @@
1
+ {
2
+ "type": "FeatureCollection",
3
+ "name": "parkoviste_orez_okresy_max",
4
+ "crs": { "type": "name", "properties": { "name": "urn:ogc:def:crs:OGC:1.3:CRS84" } },
5
+ "features": [
6
+ {
7
+ "type": "Feature",
8
+ "properties": {
9
+ "ogc_fid": 10255,
10
+ "osm_id": "441584",
11
+ "osm_way_id": null,
12
+ "name": "okres Praha-východ",
13
+ "type": "boundary",
14
+ "aeroway": null,
15
+ "amenity": null,
16
+ "admin_level": "7",
17
+ "barrier": null,
18
+ "boundary": "administrative",
19
+ "building": null,
20
+ "craft": null,
21
+ "geological": null,
22
+ "historic": null,
23
+ "land_area": null,
24
+ "landuse": null,
25
+ "leisure": null,
26
+ "man_made": null,
27
+ "military": null,
28
+ "natural": null,
29
+ "office": null,
30
+ "place": null,
31
+ "shop": null,
32
+ "sport": null,
33
+ "tourism": null
34
+ },
35
+ "geometry": {
36
+ "type": "MultiPolygon",
37
+ "coordinates": [
38
+ [
39
+ [
40
+ [12.45602388050232, 50.108972232378093],
41
+ [12.47003897922426, 50.216987160880919],
42
+ [12.354427486227694, 50.290784719768844],
43
+ [12.375695853202689, 50.332028510698045],
44
+ [12.45821413747054, 50.371329416431678],
45
+ [12.497626583017805, 50.412705237149389],
46
+ [12.611991866327024, 50.433395842963684],
47
+ [12.696793213951507, 50.427408802336721],
48
+ [12.721735497057804, 50.448375742960557],
49
+ [12.820701732457481, 50.478242114619334],
50
+ [12.963410901844084, 50.433726157191614],
51
+ [12.992460045999801, 50.455226900103661],
52
+ [13.016659816388559, 50.524974915500373],
53
+ [13.078435267914241, 50.518172301271093],
54
+ [13.128270731737871, 50.536392422253179],
55
+ [13.170006082834885, 50.524065787308231],
56
+ [13.231845461177048, 50.607392307003217],
57
+ [13.293146797199027, 50.608238014886091],
58
+ [13.360964440411513, 50.637367429809366],
59
+ [13.398642511799061, 50.603253099297554],
60
+ [13.458926210674587, 50.601073863584382],
61
+ [13.514842167519204, 50.5579287276515],
62
+ [13.586972962058223, 50.488368084242666],
63
+ [13.597055387918797, 50.435843227335447],
64
+ [13.631447681924381, 50.44869060983779],
65
+ [13.73164356671403, 50.436552172032258],
66
+ [13.765228099522512, 50.484704189298306],
67
+ [13.85367172292127, 50.511946365341714],
68
+ [13.881652957154536, 50.572416687218087],
69
+ [14.02132057844327, 50.604382804194785],
70
+ [14.115906564157275, 50.608664223501798],
71
+ [14.167321651898789, 50.64176075947703],
72
+ [14.198520698638575, 50.644281469957612],
73
+ [14.131973549394395, 50.702210353699186],
74
+ [14.041287598428623, 50.737913158150107],
75
+ [14.042285902518273, 50.761815333174859],
76
+ [14.011402485598072, 50.787763160115752],
77
+ [14.030593360584485, 50.82405414516068],
78
+ [14.190272620798977, 50.86932584782177],
79
+ [14.222415058923769, 50.904189527530434],
80
+ [14.35741339896466, 50.918216827096998],
81
+ [14.230725329338028, 50.984091524224681],
82
+ [14.249669714327705, 51.049325269037233],
83
+ [14.29141954288788, 51.071768617494754],
84
+ [14.370713007632121, 51.062442973097973],
85
+ [14.412997646079354, 51.03831867344492],
86
+ [14.493207529486678, 51.064121328797739],
87
+ [14.528755727538083, 51.055901469681309],
88
+ [14.534847270093328, 51.035407309193019],
89
+ [14.624722317528404, 50.994994644179378],
90
+ [14.612056656557471, 50.943055905015989],
91
+ [14.675450123074459, 50.939809033359573],
92
+ [14.681240201531205, 50.904648659826762],
93
+ [14.653227880902469, 50.868429602695514],
94
+ [14.774484829446616, 50.839658697546717],
95
+ [14.820365041514679, 50.889754399311201],
96
+ [14.968169765529993, 50.884642315645884],
97
+ [14.961990710013058, 50.92631760419534],
98
+ [14.985970353902268, 50.949625980819711],
99
+ [14.940000501694994, 50.987689397020894],
100
+ [14.966787760951602, 51.024444720915909],
101
+ [15.015765758753597, 51.040868187293341],
102
+ [15.122847444004526, 51.02512887896571],
103
+ [15.179233220524349, 51.037390980447285],
104
+ [15.203178206642971, 51.010581557423762],
105
+ [15.247487401613091, 51.015565188599417],
106
+ [15.297912140206217, 50.98938144704745],
107
+ [15.320659688447149, 50.953609640016403],
108
+ [15.298020235502284, 50.926966634500801],
109
+ [15.305089083327738, 50.897747768353859],
110
+ [15.378555801323168, 50.860291997298326],
111
+ [15.40394266236861, 50.817824121105645],
112
+ [15.43979015237816, 50.827031586236615],
113
+ [15.523667009821866, 50.80689609898981],
114
+ [15.593998848232692, 50.752467291778096],
115
+ [15.591987634211398, 50.685006618199694],
116
+ [15.630344369551944, 50.614563798227039],
117
+ [15.60975324108127, 50.588856982768398],
118
+ [15.680813507855834, 50.496192730957183],
119
+ [15.678757410197129, 50.467430701024547],
120
+ [15.712504628448155, 50.454753213300918],
121
+ [15.752705904479384, 50.407669074933374],
122
+ [15.759609721074524, 50.365243468256544],
123
+ [15.841149431385494, 50.361142655366486],
124
+ [15.905797033288403, 50.341055393009846],
125
+ [15.916505949400813, 50.322664187043671],
126
+ [15.975771169517541, 50.326688001668913],
127
+ [16.08881174795399, 50.235936385479135],
128
+ [16.084229181791837, 50.197298923551301],
129
+ [16.033115646829309, 50.15546914476402],
130
+ [16.037316762442114, 50.130530645033758],
131
+ [16.082820328796746, 50.125733121782517],
132
+ [16.166259298289397, 50.067032833984541],
133
+ [16.144238825842436, 50.015577957830082],
134
+ [16.075588777824922, 49.962935399147895],
135
+ [16.117372250409062, 49.872926762772892],
136
+ [16.174394382842056, 49.840862307430932],
137
+ [16.18140342016607, 49.78900189632401],
138
+ [16.155591766540791, 49.739890692908375],
139
+ [16.11030589769647, 49.739846253362742],
140
+ [16.116521977543016, 49.702653409226471],
141
+ [16.047591185709486, 49.693384609628943],
142
+ [16.000185856760375, 49.704322992159305],
143
+ [15.958094720663476, 49.668995708760193],
144
+ [15.894417472356791, 49.673630698511644],
145
+ [15.859271699756549, 49.615987961943446],
146
+ [15.813273475879679, 49.600293242251382],
147
+ [15.802824215816941, 49.530127890710105],
148
+ [15.747960649374317, 49.514162817692217],
149
+ [15.71504671217642, 49.483642184625523],
150
+ [15.647366040892729, 49.495749502685662],
151
+ [15.648460754799853, 49.464302776811898],
152
+ [15.600713800358019, 49.450432709734777],
153
+ [15.453875029145884, 49.479654866288378],
154
+ [15.398884418634891, 49.455760393871977],
155
+ [15.44296583504584, 49.363012750361293],
156
+ [15.408880546188641, 49.348980173789542],
157
+ [15.359670752490882, 49.262292754745062],
158
+ [15.302642104571337, 49.2558736776231],
159
+ [15.303790065780678, 49.235385727474188],
160
+ [15.3693428611701, 49.225284496755016],
161
+ [15.371529746851804, 49.171872041003574],
162
+ [15.403735815062959, 49.151021931512602],
163
+ [15.47833559402558, 49.139838112411034],
164
+ [15.550914730837997, 49.153135778160717],
165
+ [15.613948790541826, 49.113404724220921],
166
+ [15.622127189314774, 49.06825229327287],
167
+ [15.579988919856662, 49.053845978550093],
168
+ [15.544832612238627, 49.008830663864181],
169
+ [15.60494317512544, 48.973512886609917],
170
+ [15.613934307011091, 48.943829236518667],
171
+ [15.589827992994527, 48.915528048499553],
172
+ [15.53291951863895, 48.890839857655827],
173
+ [15.492845670935214, 48.902029833148966],
174
+ [15.472668166394199, 48.92640619973416],
175
+ [15.346241189950618, 48.965885150605168],
176
+ [15.297962643544542, 48.96070327874353],
177
+ [15.270717640436919, 48.936691702095374],
178
+ [15.224021667468627, 48.94068745064795],
179
+ [15.157084883818195, 48.923826847282918],
180
+ [15.128913349205323, 48.94172543230777],
181
+ [15.123939354192203, 48.979488124512791],
182
+ [15.026627227031373, 48.995701932427934],
183
+ [15.004119190133597, 48.968628172362735],
184
+ [15.011768913240847, 48.842637052814872],
185
+ [14.986645850804791, 48.808889071480898],
186
+ [15.001176483858208, 48.761493122468011],
187
+ [14.954992517075762, 48.740108490764335],
188
+ [14.839016055902563, 48.761320538666681],
189
+ [14.829110655106451, 48.722445303978731],
190
+ [14.716678444617235, 48.658042581396003],
191
+ [14.681309139086974, 48.669943214835591],
192
+ [14.603967468035144, 48.759872576158394],
193
+ [14.559945228451987, 48.78228523521792],
194
+ [14.477706697521842, 48.77752794459721],
195
+ [14.423156055360536, 48.846606857608073],
196
+ [14.373672079407802, 48.859551948058765],
197
+ [14.338520215476471, 48.895271923197825],
198
+ [14.19858599478456, 48.959591519585487],
199
+ [14.186596551685467, 49.001026134451863],
200
+ [14.246984243828141, 49.041417973554161],
201
+ [14.218529422690676, 49.075410095224214],
202
+ [14.050519104190691, 49.077045275342591],
203
+ [13.995058549824661, 49.107253161484103],
204
+ [13.861109454682891, 49.088291023136989],
205
+ [13.832504641700986, 49.115124931923525],
206
+ [13.762032879128697, 49.111573203871849],
207
+ [13.671350746387963, 49.144206570994839],
208
+ [13.657088169341232, 49.164311670141025],
209
+ [13.676137917196678, 49.203215824577384],
210
+ [13.671856199761059, 49.283382664437482],
211
+ [13.699051299908572, 49.320255230422141],
212
+ [13.741054570354937, 49.34035541112015],
213
+ [13.753417244165847, 49.362668990407983],
214
+ [13.735845960801145, 49.3863753948797],
215
+ [13.666233696847369, 49.404468387221321],
216
+ [13.612738974756811, 49.400921442600044],
217
+ [13.587396266205918, 49.415445005813709],
218
+ [13.482060196303165, 49.416278495657075],
219
+ [13.427044083275357, 49.442210626149681],
220
+ [13.428312207057822, 49.477371939775459],
221
+ [13.353570766833689, 49.458642208096137],
222
+ [13.321427678518551, 49.470640493093022],
223
+ [13.316192848520668, 49.492627503413665],
224
+ [13.27964257775743, 49.493358018719846],
225
+ [13.26074300401485, 49.509054380534067],
226
+ [13.199423011936117, 49.488820168790653],
227
+ [13.054928401276587, 49.554193782754368],
228
+ [12.943544290025613, 49.571106440970055],
229
+ [12.950914415679927, 49.623217561823971],
230
+ [13.019891294755384, 49.662797800427334],
231
+ [13.022272564138669, 49.726648339229058],
232
+ [13.059639691604621, 49.751302315586408],
233
+ [13.037430836642118, 49.768688759122973],
234
+ [13.054585882203819, 49.809792364810491],
235
+ [12.993143810829535, 49.834968673262445],
236
+ [13.010620807304452, 49.865862034335407],
237
+ [12.989857467604629, 49.894202821875929],
238
+ [12.930854721006027, 49.948747944597812],
239
+ [12.896696502443012, 49.956081617143134],
240
+ [12.895442839272267, 49.9914672090623],
241
+ [12.860805737327045, 49.98865039298078],
242
+ [12.8446504706345, 50.010808065428613],
243
+ [12.736455443238208, 50.04951854320813],
244
+ [12.616795486331066, 50.030925383528846],
245
+ [12.559166249600565, 50.04466881727123],
246
+ [12.54746600811561, 50.065718354800119],
247
+ [12.45602388050232, 50.108972232378093]
248
+ ],
249
+ [
250
+ [15.010921741790048, 48.975430627124645],
251
+ [15.010947042555804, 48.975443184902659],
252
+ [15.010927313413301, 48.97543526245704],
253
+ [15.010921741790048, 48.975430627124645]
254
+ ]
255
+ ]
256
+ ]
257
+ }
258
+ }
259
+ ]
260
+ }