@golemio/pid 4.0.3-dev.1997942620 → 4.0.3-rc.2001599412

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 (198) hide show
  1. package/README.md +1 -1
  2. package/dist/helpers/GtfsStopParser.d.ts +0 -2
  3. package/dist/helpers/GtfsStopParser.js +8 -11
  4. package/dist/helpers/GtfsStopParser.js.map +1 -1
  5. package/dist/input-gateway/vehicle-positions/VehiclePositionsController.js +1 -0
  6. package/dist/input-gateway/vehicle-positions/VehiclePositionsController.js.map +1 -1
  7. package/dist/integration-engine/jis/ioc/Di.js +0 -10
  8. package/dist/integration-engine/jis/ioc/Di.js.map +1 -1
  9. package/dist/integration-engine/jis/ioc/JISContainerToken.d.ts +0 -4
  10. package/dist/integration-engine/jis/ioc/JISContainerToken.js +0 -5
  11. package/dist/integration-engine/jis/ioc/JISContainerToken.js.map +1 -1
  12. package/dist/integration-engine/jis/repositories/JISInfotextsRepository.d.ts +1 -6
  13. package/dist/integration-engine/jis/repositories/JISInfotextsRepository.js +2 -50
  14. package/dist/integration-engine/jis/repositories/JISInfotextsRepository.js.map +1 -1
  15. package/dist/integration-engine/jis/workers/JISWorker.js +0 -1
  16. package/dist/integration-engine/jis/workers/JISWorker.js.map +1 -1
  17. package/dist/integration-engine/jis/workers/tasks/RefreshJISInfotextsTask.d.ts +2 -1
  18. package/dist/integration-engine/jis/workers/tasks/RefreshJISInfotextsTask.js +4 -5
  19. package/dist/integration-engine/jis/workers/tasks/RefreshJISInfotextsTask.js.map +1 -1
  20. package/dist/integration-engine/ropid-gtfs/RopidGTFSStopsModel.d.ts +1 -5
  21. package/dist/integration-engine/ropid-gtfs/RopidGTFSStopsModel.js +0 -24
  22. package/dist/integration-engine/ropid-gtfs/RopidGTFSStopsModel.js.map +1 -1
  23. package/dist/integration-engine/ropid-gtfs/data-access/cache/DelayComputationRedisRepository.js.map +1 -1
  24. package/dist/integration-engine/ropid-gtfs/index.d.ts +0 -1
  25. package/dist/integration-engine/ropid-gtfs/index.js +0 -1
  26. package/dist/integration-engine/ropid-gtfs/index.js.map +1 -1
  27. package/dist/integration-engine/ropid-gtfs/ioc/Di.js +0 -8
  28. package/dist/integration-engine/ropid-gtfs/ioc/Di.js.map +1 -1
  29. package/dist/integration-engine/ropid-gtfs/ioc/RopidGtfsContainerToken.d.ts +0 -3
  30. package/dist/integration-engine/ropid-gtfs/ioc/RopidGtfsContainerToken.js +0 -3
  31. package/dist/integration-engine/ropid-gtfs/ioc/RopidGtfsContainerToken.js.map +1 -1
  32. package/dist/integration-engine/ropid-gtfs/transformations/RopidDeparturesPresetsTransformation.js +1 -1
  33. package/dist/integration-engine/ropid-gtfs/transformations/RopidDeparturesPresetsTransformation.js.map +1 -1
  34. package/dist/integration-engine/ropid-gtfs/workers/timetables/TimetableWorker.js +0 -1
  35. package/dist/integration-engine/ropid-gtfs/workers/timetables/TimetableWorker.js.map +1 -1
  36. package/dist/integration-engine/ropid-gtfs/workers/timetables/tasks/CheckSavedRowsAndReplaceTablesTask.js +5 -8
  37. package/dist/integration-engine/ropid-gtfs/workers/timetables/tasks/CheckSavedRowsAndReplaceTablesTask.js.map +1 -1
  38. package/dist/integration-engine/vehicle-positions/ioc/VPContainerToken.d.ts +0 -1
  39. package/dist/integration-engine/vehicle-positions/ioc/VPContainerToken.js +0 -1
  40. package/dist/integration-engine/vehicle-positions/ioc/VPContainerToken.js.map +1 -1
  41. package/dist/integration-engine/vehicle-positions/workers/vehicle-positions/data-access/TripsRepository.js +0 -1
  42. package/dist/integration-engine/vehicle-positions/workers/vehicle-positions/data-access/TripsRepository.js.map +1 -1
  43. package/dist/integration-engine/vehicle-positions/workers/vehicle-positions/data-access/interfaces/TripRepositoryInterfaces.d.ts +1 -2
  44. package/dist/integration-engine/vehicle-positions/workers/vehicle-positions/helpers/PositionsManager.d.ts +1 -3
  45. package/dist/integration-engine/vehicle-positions/workers/vehicle-positions/helpers/PositionsManager.js +109 -124
  46. package/dist/integration-engine/vehicle-positions/workers/vehicle-positions/helpers/PositionsManager.js.map +1 -1
  47. package/dist/integration-engine/vehicle-positions/workers/vehicle-positions/helpers/regional-bus/RegionalBusPositionsManager.d.ts +1 -3
  48. package/dist/integration-engine/vehicle-positions/workers/vehicle-positions/helpers/regional-bus/RegionalBusPositionsManager.js +85 -100
  49. package/dist/integration-engine/vehicle-positions/workers/vehicle-positions/helpers/regional-bus/RegionalBusPositionsManager.js.map +1 -1
  50. package/dist/integration-engine/vehicle-positions/workers/vehicle-positions/tasks/PropagateTrainDelayTask.js.map +1 -1
  51. package/dist/integration-engine/vehicle-positions/workers/vehicle-positions/tasks/RefreshPublicStopTimeCacheTask.js +0 -1
  52. package/dist/integration-engine/vehicle-positions/workers/vehicle-positions/tasks/RefreshPublicStopTimeCacheTask.js.map +1 -1
  53. package/dist/integration-engine/vehicle-positions/workers/vehicle-positions/transformations/PublicApiTripTransformation.js +0 -2
  54. package/dist/integration-engine/vehicle-positions/workers/vehicle-positions/transformations/PublicApiTripTransformation.js.map +1 -1
  55. package/dist/output-gateway/index.js +0 -1
  56. package/dist/output-gateway/index.js.map +1 -1
  57. package/dist/output-gateway/jis/ioc/Di.js +2 -2
  58. package/dist/output-gateway/jis/ioc/Di.js.map +1 -1
  59. package/dist/output-gateway/jis/ioc/OgJisToken.d.ts +0 -2
  60. package/dist/output-gateway/jis/ioc/OgJisToken.js +0 -2
  61. package/dist/output-gateway/jis/ioc/OgJisToken.js.map +1 -1
  62. package/dist/output-gateway/pid/controllers/v3/V3TransferBoardsController.js.map +1 -1
  63. package/dist/output-gateway/pid/domain/InfotextInterfaces.d.ts +0 -5
  64. package/dist/output-gateway/pid/helpers/JISInfotextStopSuppressionFilter.d.ts +1 -4
  65. package/dist/output-gateway/pid/helpers/JISInfotextStopSuppressionFilter.js +1 -7
  66. package/dist/output-gateway/pid/helpers/JISInfotextStopSuppressionFilter.js.map +1 -1
  67. package/dist/output-gateway/pid/index.d.ts +0 -50
  68. package/dist/output-gateway/pid/index.js.map +1 -1
  69. package/dist/output-gateway/pid/ioc/Di.js +6 -64
  70. package/dist/output-gateway/pid/ioc/Di.js.map +1 -1
  71. package/dist/output-gateway/pid/ioc/OgPidToken.d.ts +0 -12
  72. package/dist/output-gateway/pid/ioc/OgPidToken.js +0 -12
  73. package/dist/output-gateway/pid/ioc/OgPidToken.js.map +1 -1
  74. package/dist/output-gateway/pid/routers/index.d.ts +0 -1
  75. package/dist/output-gateway/pid/routers/index.js +1 -3
  76. package/dist/output-gateway/pid/routers/index.js.map +1 -1
  77. package/dist/output-gateway/pid/service/facade/InfotextFacade.d.ts +2 -7
  78. package/dist/output-gateway/pid/service/facade/InfotextFacade.js +4 -29
  79. package/dist/output-gateway/pid/service/facade/InfotextFacade.js.map +1 -1
  80. package/dist/output-gateway/pid/service/facade/StopFacade.d.ts +3 -12
  81. package/dist/output-gateway/pid/service/facade/StopFacade.js +7 -43
  82. package/dist/output-gateway/pid/service/facade/StopFacade.js.map +1 -1
  83. package/dist/output-gateway/pid/service/facade/TransferFacade.d.ts +10 -17
  84. package/dist/output-gateway/pid/service/facade/TransferFacade.js +16 -161
  85. package/dist/output-gateway/pid/service/facade/TransferFacade.js.map +1 -1
  86. package/dist/output-gateway/pid/service/helpers/PlatformCodeResolver.d.ts +1 -7
  87. package/dist/output-gateway/pid/service/helpers/PlatformCodeResolver.js +0 -9
  88. package/dist/output-gateway/pid/service/helpers/PlatformCodeResolver.js.map +1 -1
  89. package/dist/output-gateway/public/data-access/redis/PublicGtfsDepartureRepository.d.ts +1 -1
  90. package/dist/output-gateway/public/data-access/redis/PublicGtfsDepartureRepository.js +4 -7
  91. package/dist/output-gateway/public/data-access/redis/PublicGtfsDepartureRepository.js.map +1 -1
  92. package/dist/output-gateway/public/data-access/redis/PublicStopTimeRepository.d.ts +0 -1
  93. package/dist/output-gateway/public/data-access/redis/PublicStopTimeRepository.js +0 -21
  94. package/dist/output-gateway/public/data-access/redis/PublicStopTimeRepository.js.map +1 -1
  95. package/dist/output-gateway/public/data-access/redis/PublicVehiclePositionsRepository.d.ts +1 -2
  96. package/dist/output-gateway/public/data-access/redis/PublicVehiclePositionsRepository.js +15 -14
  97. package/dist/output-gateway/public/data-access/redis/PublicVehiclePositionsRepository.js.map +1 -1
  98. package/dist/output-gateway/public/domain/repository/IGtfsDepartureRepository.d.ts +1 -1
  99. package/dist/output-gateway/public/ioc/Di.js +1 -1
  100. package/dist/output-gateway/public/ioc/Di.js.map +1 -1
  101. package/dist/output-gateway/{shared → public}/service/VPSubscriber.d.ts +2 -4
  102. package/dist/output-gateway/{shared → public}/service/VPSubscriber.js +1 -1
  103. package/dist/output-gateway/public/service/VPSubscriber.js.map +1 -0
  104. package/dist/output-gateway/shared/constants/route-version.d.ts +1 -2
  105. package/dist/output-gateway/shared/constants/route-version.js +0 -1
  106. package/dist/output-gateway/shared/constants/route-version.js.map +1 -1
  107. package/dist/schema-definitions/jis/redis/const.d.ts +0 -1
  108. package/dist/schema-definitions/jis/redis/const.js +1 -2
  109. package/dist/schema-definitions/jis/redis/const.js.map +1 -1
  110. package/dist/schema-definitions/ropid-departures-presets/index.d.ts +0 -1
  111. package/dist/schema-definitions/ropid-departures-presets/index.js +0 -3
  112. package/dist/schema-definitions/ropid-departures-presets/index.js.map +1 -1
  113. package/dist/schema-definitions/ropid-gtfs/interfaces/IStopDto.d.ts +0 -1
  114. package/dist/schema-definitions/ropid-gtfs/redis/const.d.ts +0 -1
  115. package/dist/schema-definitions/ropid-gtfs/redis/const.js +1 -2
  116. package/dist/schema-definitions/ropid-gtfs/redis/const.js.map +1 -1
  117. package/dist/schema-definitions/vehicle-positions/models/views/PublicStopTimeModel.d.ts +2 -3
  118. package/dist/schema-definitions/vehicle-positions/models/views/PublicStopTimeModel.js +0 -4
  119. package/dist/schema-definitions/vehicle-positions/models/views/PublicStopTimeModel.js.map +1 -1
  120. package/dist/schema-definitions/vehicle-positions/models/views/interfaces/IPublicStopTimeDto.d.ts +0 -1
  121. package/dist/schema-definitions/vehicle-positions/redis/interfaces/IPublicApiCacheDto.d.ts +0 -2
  122. package/dist/schema-definitions/vehicle-positions/redis/interfaces/IPublicStopTimeCacheDto.d.ts +0 -1
  123. package/dist/schema-definitions/vehicle-positions/redis/schemas/PublicApiCacheDtoSchema.js +0 -8
  124. package/dist/schema-definitions/vehicle-positions/redis/schemas/PublicApiCacheDtoSchema.js.map +1 -1
  125. package/dist/schema-definitions/vehicle-positions/redis/schemas/PublicStopTimeCacheDtoSchema.js +1 -4
  126. package/dist/schema-definitions/vehicle-positions/redis/schemas/PublicStopTimeCacheDtoSchema.js.map +1 -1
  127. package/docs/asyncapi.yaml +0 -45
  128. package/docs/cache/types/redis.md +2 -82
  129. package/docs/jis/index.md +5 -15
  130. package/docs/openapi-input.yaml +2 -13
  131. package/docs/openapi-output.yaml +4 -326
  132. package/package.json +2 -2
  133. package/db/example/redis/gtfsStopsCacheMock.json +0 -8
  134. package/db/example/redis/jisCacheMock.json +0 -31
  135. package/db/migrations/postgresql/20250716143052-add-stop-name-to-combined-stop-times.js +0 -53
  136. package/db/migrations/postgresql/sqls/20250716143052-add-stop-name-to-combined-stop-times-down.sql +0 -47
  137. package/db/migrations/postgresql/sqls/20250716143052-add-stop-name-to-combined-stop-times-up.sql +0 -47
  138. package/dist/helpers/jis/JISInfotextSeverityLevelPriority.d.ts +0 -6
  139. package/dist/helpers/jis/JISInfotextSeverityLevelPriority.js +0 -11
  140. package/dist/helpers/jis/JISInfotextSeverityLevelPriority.js.map +0 -1
  141. package/dist/integration-engine/jis/repositories/JISInfotextsRedisRepository.d.ts +0 -9
  142. package/dist/integration-engine/jis/repositories/JISInfotextsRedisRepository.js +0 -86
  143. package/dist/integration-engine/jis/repositories/JISInfotextsRedisRepository.js.map +0 -1
  144. package/dist/integration-engine/jis/transformations/JISInfotextCacheTranformation.d.ts +0 -7
  145. package/dist/integration-engine/jis/transformations/JISInfotextCacheTranformation.js +0 -37
  146. package/dist/integration-engine/jis/transformations/JISInfotextCacheTranformation.js.map +0 -1
  147. package/dist/integration-engine/jis/workers/tasks/RefreshJISInfotextsCacheTask.d.ts +0 -13
  148. package/dist/integration-engine/jis/workers/tasks/RefreshJISInfotextsCacheTask.js +0 -47
  149. package/dist/integration-engine/jis/workers/tasks/RefreshJISInfotextsCacheTask.js.map +0 -1
  150. package/dist/integration-engine/ropid-gtfs/RopidGTFSCisStopsModel.d.ts +0 -18
  151. package/dist/integration-engine/ropid-gtfs/RopidGTFSCisStopsModel.js +0 -44
  152. package/dist/integration-engine/ropid-gtfs/RopidGTFSCisStopsModel.js.map +0 -1
  153. package/dist/integration-engine/ropid-gtfs/workers/timetables/tasks/RefreshGtfsStopsCacheTask.d.ts +0 -12
  154. package/dist/integration-engine/ropid-gtfs/workers/timetables/tasks/RefreshGtfsStopsCacheTask.js +0 -44
  155. package/dist/integration-engine/ropid-gtfs/workers/timetables/tasks/RefreshGtfsStopsCacheTask.js.map +0 -1
  156. package/dist/integration-engine/ropid-gtfs/workers/timetables/tasks/data-access/cache/GtfsStopsRedisRepository.d.ts +0 -12
  157. package/dist/integration-engine/ropid-gtfs/workers/timetables/tasks/data-access/cache/GtfsStopsRedisRepository.js +0 -87
  158. package/dist/integration-engine/ropid-gtfs/workers/timetables/tasks/data-access/cache/GtfsStopsRedisRepository.js.map +0 -1
  159. package/dist/output-gateway/jis/data-access/cache/JISInfotextsRedisRepository.d.ts +0 -17
  160. package/dist/output-gateway/jis/data-access/cache/JISInfotextsRedisRepository.js +0 -113
  161. package/dist/output-gateway/jis/data-access/cache/JISInfotextsRedisRepository.js.map +0 -1
  162. package/dist/output-gateway/pid/controllers/v4/V4TransferBoardsController.d.ts +0 -17
  163. package/dist/output-gateway/pid/controllers/v4/V4TransferBoardsController.js +0 -155
  164. package/dist/output-gateway/pid/controllers/v4/V4TransferBoardsController.js.map +0 -1
  165. package/dist/output-gateway/pid/controllers/v4/interfaces/ITransferBoardsParams.d.ts +0 -14
  166. package/dist/output-gateway/pid/controllers/v4/interfaces/ITransferBoardsParams.js +0 -3
  167. package/dist/output-gateway/pid/controllers/v4/interfaces/ITransferBoardsParams.js.map +0 -1
  168. package/dist/output-gateway/pid/helpers/TransferBoardFilter.d.ts +0 -5
  169. package/dist/output-gateway/pid/helpers/TransferBoardFilter.js +0 -33
  170. package/dist/output-gateway/pid/helpers/TransferBoardFilter.js.map +0 -1
  171. package/dist/output-gateway/pid/helpers/TransferBoardSorter.d.ts +0 -6
  172. package/dist/output-gateway/pid/helpers/TransferBoardSorter.js +0 -61
  173. package/dist/output-gateway/pid/helpers/TransferBoardSorter.js.map +0 -1
  174. package/dist/output-gateway/pid/routers/v4/V4PIDRouter.d.ts +0 -16
  175. package/dist/output-gateway/pid/routers/v4/V4PIDRouter.js +0 -67
  176. package/dist/output-gateway/pid/routers/v4/V4PIDRouter.js.map +0 -1
  177. package/dist/output-gateway/pid/service/transformations/JISInfotextCacheTransferTransformation.d.ts +0 -13
  178. package/dist/output-gateway/pid/service/transformations/JISInfotextCacheTransferTransformation.js +0 -31
  179. package/dist/output-gateway/pid/service/transformations/JISInfotextCacheTransferTransformation.js.map +0 -1
  180. package/dist/output-gateway/pid/service/transformations/TransferDepartureCacheTransformation.d.ts +0 -27
  181. package/dist/output-gateway/pid/service/transformations/TransferDepartureCacheTransformation.js +0 -77
  182. package/dist/output-gateway/pid/service/transformations/TransferDepartureCacheTransformation.js.map +0 -1
  183. package/dist/output-gateway/ropid-gtfs/data-access/redis/GtfsStopsRedisRepository.d.ts +0 -13
  184. package/dist/output-gateway/ropid-gtfs/data-access/redis/GtfsStopsRedisRepository.js +0 -83
  185. package/dist/output-gateway/ropid-gtfs/data-access/redis/GtfsStopsRedisRepository.js.map +0 -1
  186. package/dist/output-gateway/shared/service/VPSubscriber.js.map +0 -1
  187. package/dist/schema-definitions/jis/redis/interfaces/IJISInfotextDto.d.ts +0 -17
  188. package/dist/schema-definitions/jis/redis/interfaces/IJISInfotextDto.js +0 -3
  189. package/dist/schema-definitions/jis/redis/interfaces/IJISInfotextDto.js.map +0 -1
  190. package/dist/schema-definitions/jis/redis/schemas/JISInfotextDtoSchema.d.ts +0 -3
  191. package/dist/schema-definitions/jis/redis/schemas/JISInfotextDtoSchema.js +0 -59
  192. package/dist/schema-definitions/jis/redis/schemas/JISInfotextDtoSchema.js.map +0 -1
  193. package/dist/schema-definitions/ropid-gtfs/interfaces/IStopCisDto.d.ts +0 -16
  194. package/dist/schema-definitions/ropid-gtfs/interfaces/IStopCisDto.js +0 -3
  195. package/dist/schema-definitions/ropid-gtfs/interfaces/IStopCisDto.js.map +0 -1
  196. package/dist/schema-definitions/ropid-gtfs/models/StopCisDto.d.ts +0 -58
  197. package/dist/schema-definitions/ropid-gtfs/models/StopCisDto.js +0 -69
  198. package/dist/schema-definitions/ropid-gtfs/models/StopCisDto.js.map +0 -1
@@ -1,83 +0,0 @@
1
- "use strict";
2
- var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
3
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
4
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
5
- else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
6
- return c > 3 && r && Object.defineProperty(target, key, r), r;
7
- };
8
- var __metadata = (this && this.__metadata) || function (k, v) {
9
- if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
10
- };
11
- var __param = (this && this.__param) || function (paramIndex, decorator) {
12
- return function (target, key) { decorator(target, key, paramIndex); }
13
- };
14
- Object.defineProperty(exports, "__esModule", { value: true });
15
- exports.GtfsStopsRedisRepository = void 0;
16
- const const_1 = require("../../../../schema-definitions/ropid-gtfs/redis/const");
17
- const IoRedisConnector_1 = require("@golemio/core/dist/helpers/data-access/redis/IoRedisConnector");
18
- const CoreToken_1 = require("@golemio/core/dist/helpers/ioc/CoreToken");
19
- const ioc_1 = require("@golemio/core/dist/output-gateway/ioc");
20
- const golemio_errors_1 = require("@golemio/core/dist/shared/golemio-errors");
21
- const tsyringe_1 = require("@golemio/core/dist/shared/tsyringe");
22
- let GtfsStopsRedisRepository = exports.GtfsStopsRedisRepository = class GtfsStopsRedisRepository {
23
- constructor(redisConnector, log) {
24
- this.redisConnector = redisConnector;
25
- this.log = log;
26
- this.setName = undefined; // loaded via pub sub or loaded from redis
27
- }
28
- async checkSetNameAndConnection() {
29
- if (!this.redisConnector.isConnected()) {
30
- await this.redisConnector.connect();
31
- }
32
- const connection = this.redisConnector.getConnection();
33
- if (!this.setName) {
34
- const loadedSetName = await connection.get(`${const_1.GTFS_STOPS_NAMESPACE_PREFIX}:activeSetName`);
35
- if (!loadedSetName) {
36
- this.log.debug(`Empty setName for ${const_1.GTFS_STOPS_NAMESPACE_PREFIX}`);
37
- return null;
38
- }
39
- else {
40
- this.setName = loadedSetName;
41
- }
42
- }
43
- return connection;
44
- }
45
- setCurrentSetName(name) {
46
- this.setName = name;
47
- }
48
- async getAswNodeIdFromCisId(cisId) {
49
- const connection = await this.checkSetNameAndConnection();
50
- if (!connection) {
51
- return null;
52
- }
53
- try {
54
- return await connection.hget(`${this.setName}:cisToAswNode`, cisId);
55
- }
56
- catch (error) {
57
- throw new golemio_errors_1.GeneralError("Cannot get run trips from cache", this.constructor.name, error);
58
- }
59
- }
60
- async getGtfsStopIdsByAswNode(aswNodeId) {
61
- const connection = await this.checkSetNameAndConnection();
62
- if (!connection) {
63
- return [];
64
- }
65
- try {
66
- const listOfGtfsStops = await connection.hget(`${this.setName}:aswNodeToGtfsStops`, aswNodeId);
67
- if (!listOfGtfsStops) {
68
- return [];
69
- }
70
- return listOfGtfsStops.split(",");
71
- }
72
- catch (error) {
73
- throw new golemio_errors_1.GeneralError("Cannot get run trips from cache", this.constructor.name, error);
74
- }
75
- }
76
- };
77
- exports.GtfsStopsRedisRepository = GtfsStopsRedisRepository = __decorate([
78
- (0, tsyringe_1.injectable)(),
79
- __param(0, (0, tsyringe_1.inject)(ioc_1.ContainerToken.RedisConnector)),
80
- __param(1, (0, tsyringe_1.inject)(CoreToken_1.CoreToken.Logger)),
81
- __metadata("design:paramtypes", [IoRedisConnector_1.IoRedisConnector, Object])
82
- ], GtfsStopsRedisRepository);
83
- //# sourceMappingURL=GtfsStopsRedisRepository.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"GtfsStopsRedisRepository.js","sourceRoot":"","sources":["../../../../../src/output-gateway/ropid-gtfs/data-access/redis/GtfsStopsRedisRepository.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AACA,iFAA0E;AAC1E,oGAAiG;AACjG,wEAAqE;AAErE,+DAAuE;AACvE,6EAAwE;AACxE,iEAAwE;AAGjE,IAAM,wBAAwB,sCAA9B,MAAM,wBAAwB;IAGjC,YAC2C,cAAwC,EACrD,GAAoB;QADC,mBAAc,GAAd,cAAc,CAAkB;QAC7C,QAAG,GAAH,GAAG,CAAS;QAJ1C,YAAO,GAAuB,SAAS,CAAC,CAAC,0CAA0C;IAKxF,CAAC;IAEI,KAAK,CAAC,yBAAyB;QACnC,IAAI,CAAC,IAAI,CAAC,cAAc,CAAC,WAAW,EAAE,EAAE;YACpC,MAAM,IAAI,CAAC,cAAc,CAAC,OAAO,EAAE,CAAC;SACvC;QACD,MAAM,UAAU,GAAG,IAAI,CAAC,cAAc,CAAC,aAAa,EAAE,CAAC;QACvD,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE;YACf,MAAM,aAAa,GAAG,MAAM,UAAU,CAAC,GAAG,CAAC,GAAG,mCAA2B,gBAAgB,CAAC,CAAC;YAC3F,IAAI,CAAC,aAAa,EAAE;gBAChB,IAAI,CAAC,GAAG,CAAC,KAAK,CAAC,qBAAqB,mCAA2B,EAAE,CAAC,CAAC;gBACnE,OAAO,IAAI,CAAC;aACf;iBAAM;gBACH,IAAI,CAAC,OAAO,GAAG,aAAa,CAAC;aAChC;SACJ;QACD,OAAO,UA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AC,CAAA;qCADsC,mCAAgB;GAJ1E,wBAAwB,CAyDpC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"VPSubscriber.js","sourceRoot":"","sources":["../../../../src/output-gateway/shared/service/VPSubscriber.ts"],"names":[],"mappings":";;;AAAA,+GAAgI;AAEhI,MAAa,YAAa,SAAQ,iCAAe;IAC7C,YAAY,OAA2B,EAAU,UAAoC;QACjF,KAAK,CAAC,OAAO,CAAC,CAAC;QAD8B,eAAU,GAAV,UAAU,CAA0B;IAErF,CAAC;IAEM,KAAK,CAAC,UAAU;QACnB,MAAM,IAAI,CAAC,SAAS,EAAE,CAAC;QAEvB,IAAI,CAAC,MAAM,CAAC,KAAK,CAAC,2CAA2C,IAAI,CAAC,YAAY,EAAE,CAAC,CAAC;QAClF,IAAI,CAAC,MAAM,CAAC,CAAC,OAAO,EAAE,EAAE;YACpB,IAAI,CAAC,MAAM,CAAC,KAAK,CAAC,kEAAkE,CAAC,CAAC;YACtF,IAAI,OAAO,KAAK,SAAS,EAAE;gBACvB,IAAI,CAAC,UAAU,CAAC,iBAAiB,CAAC,OAAO,CAAC,CAAC;aAC9C;QACL,CAAC,CAAC,CAAC;IACP,CAAC;CACJ;AAhBD,oCAgBC"}
@@ -1,17 +0,0 @@
1
- import { JISInfotextSeverityLevel } from "../../../../helpers/jis/JISInfotextSeverityLevelEnum";
2
- export interface IJISInfotextDto {
3
- id: string;
4
- severity_level: JISInfotextSeverityLevel;
5
- display_type: string;
6
- active_period_start: string;
7
- active_period_end: string | null;
8
- description_text: {
9
- cs: string;
10
- en: string | null;
11
- };
12
- created_timestamp: string;
13
- updated_timestamp: string;
14
- stops: Array<{
15
- stop_id: string;
16
- }>;
17
- }
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=IJISInfotextDto.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"IJISInfotextDto.js","sourceRoot":"","sources":["../../../../../src/schema-definitions/jis/redis/interfaces/IJISInfotextDto.ts"],"names":[],"mappings":""}
@@ -1,3 +0,0 @@
1
- import { JSONSchemaType } from "@golemio/core/dist/shared/ajv";
2
- import { IJISInfotextDto } from "../interfaces/IJISInfotextDto";
3
- export declare const JISInfotextDtoSchema: JSONSchemaType<IJISInfotextDto[]>;
@@ -1,59 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.JISInfotextDtoSchema = void 0;
4
- exports.JISInfotextDtoSchema = {
5
- $schema: "http://json-schema.org/draft-04/schema#",
6
- title: "JISInfotextDto",
7
- type: "array",
8
- items: {
9
- type: "object",
10
- properties: {
11
- id: { type: "string" },
12
- severity_level: { type: "string" },
13
- display_type: { type: "string" },
14
- active_period_start: { type: "string", format: "date-time" },
15
- active_period_end: {
16
- oneOf: [
17
- { type: "string", format: "date-time" },
18
- { type: "null", nullable: true },
19
- ],
20
- },
21
- description_text: {
22
- type: "object",
23
- properties: {
24
- cs: { type: "string" },
25
- en: {
26
- oneOf: [{ type: "string" }, { type: "null", nullable: true }],
27
- },
28
- },
29
- required: ["cs", "en"],
30
- additionalProperties: false,
31
- },
32
- created_timestamp: { type: "string", format: "date-time" },
33
- updated_timestamp: { type: "string", format: "date-time" },
34
- stops: {
35
- type: "array",
36
- items: {
37
- type: "object",
38
- properties: {
39
- stop_id: { type: "string" },
40
- },
41
- required: ["stop_id"],
42
- additionalProperties: false,
43
- },
44
- },
45
- },
46
- required: [
47
- "id",
48
- "severity_level",
49
- "display_type",
50
- "active_period_start",
51
- "description_text",
52
- "created_timestamp",
53
- "updated_timestamp",
54
- "stops",
55
- ],
56
- additionalProperties: false,
57
- },
58
- };
59
- //# sourceMappingURL=JISInfotextDtoSchema.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"JISInfotextDtoSchema.js","sourceRoot":"","sources":["../../../../../src/schema-definitions/jis/redis/schemas/JISInfotextDtoSchema.ts"],"names":[],"mappings":";;;AAGa,QAAA,oBAAoB,GAAs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S,CAAC;oBACrB,oBAAoB,EAAE,KAAK;iBAC9B;aACJ;SACJ;QACD,QAAQ,EAAE;YACN,IAAI;YACJ,gBAAgB;YAChB,cAAc;YACd,qBAAqB;YACrB,kBAAkB;YAClB,mBAAmB;YACnB,mBAAmB;YACnB,OAAO;SACV;QACD,oBAAoB,EAAE,KAAK;KAC9B;CACJ,CAAC"}
@@ -1,16 +0,0 @@
1
- import { IStopDto } from "./IStopDto";
2
- export interface IStopCisDto {
3
- alt_idos_name: string;
4
- cis: number;
5
- id: string;
6
- jtsk_x: number;
7
- jtsk_y: number;
8
- lat: number;
9
- lon: number;
10
- platform: string;
11
- wheelchair_access: string;
12
- zone: string;
13
- created_at: Date;
14
- updated_at: Date;
15
- gtfs_stop?: IStopDto;
16
- }
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=IStopCisDto.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"IStopCisDto.js","sourceRoot":"","sources":["../../../../src/schema-definitions/ropid-gtfs/interfaces/IStopCisDto.ts"],"names":[],"mappings":""}
@@ -1,58 +0,0 @@
1
- import { IStopCisDto } from "../interfaces/IStopCisDto";
2
- import { Model, CreationOptional, ModelAttributes } from "@golemio/core/dist/shared/sequelize";
3
- export declare class StopCisDto extends Model<IStopCisDto> implements IStopCisDto {
4
- static tableName: string;
5
- alt_idos_name: string;
6
- cis: number;
7
- id: string;
8
- jtsk_x: number;
9
- jtsk_y: number;
10
- lat: number;
11
- lon: number;
12
- platform: string;
13
- wheelchair_access: string;
14
- zone: string;
15
- created_at: CreationOptional<Date>;
16
- updated_at: CreationOptional<Date>;
17
- stop_id?: string;
18
- static attributeModel: ModelAttributes<StopCisDto>;
19
- static jsonSchema: {
20
- type: string;
21
- properties: {
22
- type: string;
23
- properties: {
24
- alt_idos_name: {
25
- type: string;
26
- };
27
- cis: {
28
- type: string;
29
- };
30
- id: {
31
- type: string;
32
- };
33
- jtsk_x: {
34
- type: string;
35
- };
36
- jtsk_y: {
37
- type: string;
38
- };
39
- lat: {
40
- type: string;
41
- };
42
- lon: {
43
- type: string;
44
- };
45
- platform: {
46
- type: string;
47
- };
48
- wheelchair_access: {
49
- type: string;
50
- };
51
- zone: {
52
- type: string;
53
- };
54
- };
55
- required: string[];
56
- };
57
- };
58
- }
@@ -1,69 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.StopCisDto = void 0;
4
- const sequelize_1 = require("@golemio/core/dist/shared/sequelize");
5
- class StopCisDto extends sequelize_1.Model {
6
- }
7
- exports.StopCisDto = StopCisDto;
8
- StopCisDto.tableName = "ropidgtfs_cis_stops";
9
- StopCisDto.attributeModel = {
10
- alt_idos_name: {
11
- type: sequelize_1.DataTypes.STRING,
12
- },
13
- cis: {
14
- type: sequelize_1.DataTypes.INTEGER,
15
- },
16
- id: {
17
- primaryKey: true,
18
- type: sequelize_1.DataTypes.STRING,
19
- },
20
- jtsk_x: {
21
- type: sequelize_1.DataTypes.DOUBLE,
22
- },
23
- jtsk_y: {
24
- type: sequelize_1.DataTypes.DOUBLE,
25
- },
26
- lat: {
27
- type: sequelize_1.DataTypes.DOUBLE,
28
- },
29
- lon: {
30
- type: sequelize_1.DataTypes.DOUBLE,
31
- },
32
- platform: {
33
- type: sequelize_1.DataTypes.STRING,
34
- },
35
- wheelchair_access: {
36
- type: sequelize_1.DataTypes.STRING,
37
- },
38
- zone: {
39
- type: sequelize_1.DataTypes.STRING,
40
- },
41
- created_at: {
42
- type: sequelize_1.DataTypes.DATE,
43
- allowNull: false,
44
- },
45
- updated_at: {
46
- type: sequelize_1.DataTypes.DATE,
47
- allowNull: false,
48
- },
49
- };
50
- StopCisDto.jsonSchema = {
51
- type: "array",
52
- properties: {
53
- type: "object",
54
- properties: {
55
- alt_idos_name: { type: "string" },
56
- cis: { type: "integer" },
57
- id: { type: "string" },
58
- jtsk_x: { type: "number" },
59
- jtsk_y: { type: "number" },
60
- lat: { type: "number" },
61
- lon: { type: "number" },
62
- platform: { type: "string" },
63
- wheelchair_access: { type: "string" },
64
- zone: { type: "string" },
65
- },
66
- required: ["cis", "id"],
67
- },
68
- };
69
- //# sourceMappingURL=StopCisDto.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"StopCisDto.js","sourceRoot":"","sources":["../../../../src/schema-definitions/ropid-gtfs/models/StopCisDto.ts"],"names":[],"mappings":";;;AACA,mEAA0G;AAE1G,MAAa,UAAW,SAAQ,iBAAkB;;AAAlD,gCAkFC;AAjFiB,oBAAS,GAAG,qBAAqB,CAAC;AAoBlC,yBAAc,GAAgC;IACxD,aAAa,EAAE;QACX,IAAI,EAAE,qBAAS,CAAC,MAAM;KACzB;IACD,GAAG,EAAE;QACD,IAAI,EAAE,qBAAS,CAAC,OAAO;KAC1B;IACD,EAAE,EAAE;QACA,UAAU,EAAE,IAAI;QAChB,IAAI,EAAE,qBAAS,CAAC,MAAM;KACzB;IACD,MAAM,EAAE;QACJ,IAAI,EAAE,qBAAS,CAAC,MAAM;KACzB;IACD,MAAM,EAAE;QACJ,IAAI,EAAE,qBAAS,CAAC,MAAM;KACzB;IACD,GAAG,EAAE;QACD,IAAI,EAAE,qBAAS,CAAC,MAAM;KACzB;IACD,GAAG,EAAE;QACD,IAAI,EAAE,qBAAS,CAAC,MAAM;KACzB;IACD,QAAQ,EAAE;QACN,IAAI,EAAE,qBAAS,CAAC,MAAM;KACzB;IACD,iBAAiB,EAAE;QACf,IAAI,EAAE,qBAAS,CAAC,MAAM;KACzB;IACD,IAAI,EAAE;QACF,IAAI,EAAE,qBAAS,CAAC,MAAM;KACzB;IACD,UAAU,EAAE;QACR,IAAI,EAAE,qBAAS,CAAC,IAAI;QACpB,SAAS,EAAE,KAAK;KACnB;IACD,UAAU,EAAE;QACR,IAAI,EAAE,qBAAS,CAAC,IAAI;QACpB,SAAS,EAAE,KAAK;KACnB;CACJ,CAAC;AAEY,qBAAU,GAAG;IACvB,IAAI,EAAE,OA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