@golemio/pid 3.2.3-dev.1572823338 → 3.2.3-dev.1575424535

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.
@@ -1,13 +1,13 @@
1
1
  -- 0
2
2
  INSERT INTO jis_infotexts(id, severity_level, display_type, active_period_start, active_period_end, description_text, created_at, updated_at)
3
- VALUES ('40507cee-6468-488e-ba78-e36d9c20e67c', 'SEVERE', 'INLINE', '2024-02-07 13:11:00.000+01', NULL, '{"cs": "Provoz tramvají směrem z centra na Starý Hloubětín z důvodu údržby přerušen do neděle 18:00. Zaveden autobus X-8.", "en": "No tram service in direction to Starý Hloubětín until Sunday 18:00 due to track maintenance. Replacement bus X-8 instated."}', '2024-02-07 13:24:55.000', now() + interval '1 day');
3
+ VALUES ('40507cee-6468-488e-ba78-e36d9c20e67c', 'SEVERE', 'INLINE', '2024-02-07 13:11:00.000+01', NULL, '{"cs": "Provoz tramvají směrem z centra na Starý Hloubětín z důvodu údržby přerušen do neděle 18:00. Zaveden autobus X-8.", "en": "No tram service in direction to Starý Hloubětín until Sunday 18:00 due to track maintenance. Replacement bus X-8 instated."}', '2024-02-07 13:24:55.000', now());
4
4
 
5
5
  INSERT INTO jis_infotexts_ropidgtfs_stops(infotext_id, stop_id, created_at, updated_at)
6
6
  VALUES ('40507cee-6468-488e-ba78-e36d9c20e67c', 'U1131Z1P', '2024-04-19 09:00:00+02', now() + interval '1 day');
7
7
 
8
8
  -- 1
9
9
  INSERT INTO jis_infotexts(id, severity_level, display_type, active_period_start, active_period_end, description_text, created_at, updated_at)
10
- VALUES ('6bdc3fdb-dd18-438b-878a-7972bddb0d92', 'SEVERE', 'INLINE', '2024-03-05 08:30:00.000+02', NULL, '{"cs": "cca 8:30 - 9:15: VŠECHNY LINKY ODKLON do zast. BUDĚJOVICKÁ, stanice Kačerov uzavřena.", "en": "approx. 8:30 - 9:15: ALL LINES DEPARTURE to stop. BUDĚJOVICKÁ, station Kačerov closed."}', '2024-02-07 13:24:55.000', now() + interval '1 day');
10
+ VALUES ('6bdc3fdb-dd18-438b-878a-7972bddb0d92', 'SEVERE', 'INLINE', '2024-03-05 08:30:00.000+02', NULL, '{"cs": "cca 8:30 - 9:15: VŠECHNY LINKY ODKLON do zast. BUDĚJOVICKÁ, stanice Kačerov uzavřena.", "en": "approx. 8:30 - 9:15: ALL LINES DEPARTURE to stop. BUDĚJOVICKÁ, station Kačerov closed."}', '2024-02-07 13:24:55.000', now());
11
11
 
12
12
  INSERT INTO jis_infotexts_ropidgtfs_stops(infotext_id, stop_id, created_at, updated_at)
13
13
  VALUES ('6bdc3fdb-dd18-438b-878a-7972bddb0d92', 'U1132Z1P', '2024-04-19 09:00:00+02', now() + interval '1 day'),
@@ -15,7 +15,7 @@ INSERT INTO jis_infotexts_ropidgtfs_stops(infotext_id, stop_id, created_at, upda
15
15
 
16
16
  -- 2
17
17
  INSERT INTO jis_infotexts(id, severity_level, display_type, active_period_start, active_period_end, description_text, created_at, updated_at)
18
- VALUES ('eba39046-86d2-4f8c-aa39-932dfcfd6d0f', 'SEVERE', 'INLINE', '2024-03-04 13:11:00.000+02', NULL, '{"cs": "Cizí dopravní nehoda ve Psárském lese. Linka 332 je odkloněna přes Libeř, přičemž neobsluhuje zastávku Psáry,Domov Laguna.", "en": "Traffic accident in the Psar Forest. Line 332 is diverted via Libeř, while it does not serve the stop Psáry,Domov Laguna.."}', '2024-02-07 13:24:55.000', now() + interval '1 day');
18
+ VALUES ('eba39046-86d2-4f8c-aa39-932dfcfd6d0f', 'SEVERE', 'INLINE', '2024-03-04 13:11:00.000+02', NULL, '{"cs": "Cizí dopravní nehoda ve Psárském lese. Linka 332 je odkloněna přes Libeř, přičemž neobsluhuje zastávku Psáry,Domov Laguna.", "en": "Traffic accident in the Psar Forest. Line 332 is diverted via Libeř, while it does not serve the stop Psáry,Domov Laguna.."}', '2024-02-07 13:24:55.000', now());
19
19
 
20
20
  INSERT INTO jis_infotexts_ropidgtfs_stops(infotext_id, stop_id, created_at, updated_at)
21
21
  VALUES ('eba39046-86d2-4f8c-aa39-932dfcfd6d0f', 'U713Z102P', '2024-04-19 09:00:00+02', now() + interval '1 day'),
@@ -23,14 +23,14 @@ INSERT INTO jis_infotexts_ropidgtfs_stops(infotext_id, stop_id, created_at, upda
23
23
 
24
24
  -- 3
25
25
  INSERT INTO jis_infotexts(id, severity_level, display_type, active_period_start, active_period_end, description_text, created_at, updated_at)
26
- VALUES ('8556cf18-786b-453a-a516-85c8fe2b9878', 'SEVERE', 'INLINE', '2024-03-02 10:00:00.000+02', NULL, '{"cs": "Dnes v noci tramvaje mimo provoz. Zastávky náhradních autobusů X8 a X90: směr Lehovec - vlevo, u Lidlu; směr Palmovka - na chodníku u původní tramvajové zastávky.", "en": "Trams out of service tonight. Stopping points for replacement buses X8 and X90: direction Lehovec - left, near Lidl; direction Palmovka - on the pavement near the original tram stop."}', '2024-02-07 13:24:55.000', now() + interval '1 day');
26
+ VALUES ('8556cf18-786b-453a-a516-85c8fe2b9878', 'SEVERE', 'INLINE', '2024-03-02 10:00:00.000+02', NULL, '{"cs": "Dnes v noci tramvaje mimo provoz. Zastávky náhradních autobusů X8 a X90: směr Lehovec - vlevo, u Lidlu; směr Palmovka - na chodníku u původní tramvajové zastávky.", "en": "Trams out of service tonight. Stopping points for replacement buses X8 and X90: direction Lehovec - left, near Lidl; direction Palmovka - on the pavement near the original tram stop."}', '2024-02-07 13:24:55.000', now());
27
27
 
28
28
  INSERT INTO jis_infotexts_ropidgtfs_stops(infotext_id, stop_id, created_at, updated_at)
29
29
  VALUES ('8556cf18-786b-453a-a516-85c8fe2b9878', 'U1334Z2P', '2024-04-19 09:00:00+02', now() + interval '1 day');
30
30
 
31
31
  -- 4
32
32
  INSERT INTO jis_infotexts(id, severity_level, display_type, active_period_start, active_period_end, description_text, created_at, updated_at)
33
- VALUES ('9923c199-d61c-47fa-9f7e-14d01473eb18', 'SEVERE', 'GENERAL', '2024-03-18 16:00:00.000+02', NULL, '{"cs": "Dnes v sobotu 8. konání půl maratonu. Od 16h do 23h změna trasy linek 392, 395, 500, 501, 502, 503, 506, 517, 531, 754. Podrobnosti na zastávkách a pid.cz/zmeny", "en": "Today on Saturday the 8th holding of the half marathon. From 16h to 23h change of route of lines 392, 395, 500, 501, 502, 503, 506, 517, 531, 754. Details at the stops and pid.cz/changes"}', '2024-02-07 13:24:55.000', now() + interval '1 day');
33
+ VALUES ('9923c199-d61c-47fa-9f7e-14d01473eb18', 'SEVERE', 'GENERAL', '2024-03-18 16:00:00.000+02', NULL, '{"cs": "Dnes v sobotu 8. konání půl maratonu. Od 16h do 23h změna trasy linek 392, 395, 500, 501, 502, 503, 506, 517, 531, 754. Podrobnosti na zastávkách a pid.cz/zmeny", "en": "Today on Saturday the 8th holding of the half marathon. From 16h to 23h change of route of lines 392, 395, 500, 501, 502, 503, 506, 517, 531, 754. Details at the stops and pid.cz/changes"}', '2024-02-07 13:24:55.000', now());
34
34
 
35
35
  INSERT INTO jis_infotexts_ropidgtfs_stops(infotext_id, stop_id, created_at, updated_at)
36
36
  VALUES ('9923c199-d61c-47fa-9f7e-14d01473eb18', 'U376Z105P', '2024-04-19 09:00:00+02', now() + interval '1 day'),
@@ -38,7 +38,7 @@ INSERT INTO jis_infotexts_ropidgtfs_stops(infotext_id, stop_id, created_at, upda
38
38
 
39
39
  -- 5
40
40
  INSERT INTO jis_infotexts(id, severity_level, display_type, active_period_start, active_period_end, description_text, created_at, updated_at)
41
- VALUES ('0a3c97d0-43d4-4882-8a1d-27079044f51b', 'SEVERE', 'INLINE', '2024-03-25 10:00:00.000+02', NULL, '{"cs": "Do 15:00 je zastávka mimo provoz. Linky 1, 12 a 25 odjíždí ze stanoviště D, od nábřeží. Linky 8 jede ze stanoviště E od Výstaviště, linka 26 zde neprojíždí.", "en": "The stop is out of service until 15:00. Lines 1, 12 and 25 depart from Station D, from the waterfront. Line 8 departs from station E from the Exhibition Grounds, line 26 does not run here."}', '2024-02-07 13:24:55.000', now() + interval '1 day');
41
+ VALUES ('0a3c97d0-43d4-4882-8a1d-27079044f51b', 'SEVERE', 'INLINE', '2024-03-25 10:00:00.000+02', NULL, '{"cs": "Do 15:00 je zastávka mimo provoz. Linky 1, 12 a 25 odjíždí ze stanoviště D, od nábřeží. Linky 8 jede ze stanoviště E od Výstaviště, linka 26 zde neprojíždí.", "en": "The stop is out of service until 15:00. Lines 1, 12 and 25 depart from Station D, from the waterfront. Line 8 departs from station E from the Exhibition Grounds, line 26 does not run here."}', '2024-02-07 13:24:55.000', now());
42
42
 
43
43
  INSERT INTO jis_infotexts_ropidgtfs_stops(infotext_id, stop_id, created_at, updated_at)
44
44
  VALUES ('0a3c97d0-43d4-4882-8a1d-27079044f51b', 'U476Z104P', '2024-04-19 09:00:00+02', now() + interval '1 day'),
@@ -46,7 +46,7 @@ INSERT INTO jis_infotexts_ropidgtfs_stops(infotext_id, stop_id, created_at, upda
46
46
 
47
47
  -- 6
48
48
  INSERT INTO jis_infotexts(id, severity_level, display_type, active_period_start, active_period_end, description_text, created_at, updated_at)
49
- VALUES ('ba52df69-5db3-4c60-94be-8f4b5442c1e0', 'SEVERE', 'INLINE', '2024-03-11 13:11:00.000+02', NULL, '{"cs": "Do 16:00 zde nejezdí tramvaje z důvodu údržby tratě, mezi Palmovkou a Lehovcem využijte náhradní autobus X-8.", "en": "Trams do not run here until 16:00 due to track maintenance, use the alternative bus X-8 between Palmovka and Lehovec."}', '2024-02-07 13:24:55.000', now() + interval '1 day');
49
+ VALUES ('ba52df69-5db3-4c60-94be-8f4b5442c1e0', 'SEVERE', 'INLINE', '2024-03-11 13:11:00.000+02', NULL, '{"cs": "Do 16:00 zde nejezdí tramvaje z důvodu údržby tratě, mezi Palmovkou a Lehovcem využijte náhradní autobus X-8.", "en": "Trams do not run here until 16:00 due to track maintenance, use the alternative bus X-8 between Palmovka and Lehovec."}', '2024-02-07 13:24:55.000', now());
50
50
 
51
51
  INSERT INTO jis_infotexts_ropidgtfs_stops(infotext_id, stop_id, created_at, updated_at)
52
52
  VALUES ('ba52df69-5db3-4c60-94be-8f4b5442c1e0', 'U953Z102P', '2024-04-19 09:00:00+02', now() + interval '1 day'),
@@ -54,28 +54,28 @@ INSERT INTO jis_infotexts_ropidgtfs_stops(infotext_id, stop_id, created_at, upda
54
54
 
55
55
  -- 7
56
56
  INSERT INTO jis_infotexts(id, severity_level, display_type, active_period_start, active_period_end, description_text, created_at, updated_at)
57
- VALUES ('ee330c7f-cf53-4762-a231-08af9f22442f', 'SEVERE', 'INLINE', '2024-03-04 10:00:00.000+02', '2024-08-10 18:00:00.000+02', '{"cs": "Do 18:00 údržba tramvajové trati Hlubočepy – Slivenec. Tram 12 a 20 zkráceny do zastávky Hlubočepy.", "en": "Until 18:00 maintenance of the tram line Hlubočepy - Slivenec. Tram 12 and 20 shortened to the Hlubočepy stop."}', '2024-02-07 13:24:55.000', now() + interval '1 day');
57
+ VALUES ('ee330c7f-cf53-4762-a231-08af9f22442f', 'SEVERE', 'INLINE', '2024-03-04 10:00:00.000+02', '2024-08-10 18:00:00.000+02', '{"cs": "Do 18:00 údržba tramvajové trati Hlubočepy – Slivenec. Tram 12 a 20 zkráceny do zastávky Hlubočepy.", "en": "Until 18:00 maintenance of the tram line Hlubočepy - Slivenec. Tram 12 and 20 shortened to the Hlubočepy stop."}', '2024-02-07 13:24:55.000', now());
58
58
 
59
59
  INSERT INTO jis_infotexts_ropidgtfs_stops(infotext_id, stop_id, created_at, updated_at)
60
60
  VALUES ('ee330c7f-cf53-4762-a231-08af9f22442f', 'U118Z102P', '2024-04-19 09:00:00+02', now() + interval '1 day');
61
61
 
62
62
  -- 8
63
63
  INSERT INTO jis_infotexts(id, severity_level, display_type, active_period_start, active_period_end, description_text, created_at, updated_at)
64
- VALUES ('265cdc5b-d6da-48e0-a114-6901200c4d46', 'SEVERE', 'GENERAL', '2024-03-27 10:00:00.000+02', '2024-09-11 00:00:00.000+02', '{"cs": "Do 10.9. 24:00 nepojedou tramvaje mezi Výstavištěm a Strossmayerovým náměstím. Pro cestu na Strossmayerovo náměstí použijte linky 12 nebo 17.", "en": "Trams will not run between Výstaviště and Strossmayer Square until 24:00 on 24 April. Use lines 12 or 17 to get to Strossmayer Square."}', '2024-02-07 13:24:55.000', now() + interval '1 day');
64
+ VALUES ('265cdc5b-d6da-48e0-a114-6901200c4d46', 'SEVERE', 'GENERAL', '2024-03-27 10:00:00.000+02', '2024-09-11 00:00:00.000+02', '{"cs": "Do 10.9. 24:00 nepojedou tramvaje mezi Výstavištěm a Strossmayerovým náměstím. Pro cestu na Strossmayerovo náměstí použijte linky 12 nebo 17.", "en": "Trams will not run between Výstaviště and Strossmayer Square until 24:00 on 24 April. Use lines 12 or 17 to get to Strossmayer Square."}', '2024-02-07 13:24:55.000', now());
65
65
 
66
66
  INSERT INTO jis_infotexts_ropidgtfs_stops(infotext_id, stop_id, created_at, updated_at)
67
67
  VALUES ('265cdc5b-d6da-48e0-a114-6901200c4d46', 'U462Z102P', '2024-04-19 09:00:00+02', now() + interval '1 day');
68
68
 
69
69
  -- 9
70
70
  INSERT INTO jis_infotexts(id, severity_level, display_type, active_period_start, active_period_end, description_text, created_at, updated_at)
71
- VALUES ('adfd2cef-9c2c-4ed0-bd0d-be0b3216faad', 'SEVERE', 'INLINE', '2024-03-28 09:00:00.000+02', '2024-09-22 00:00:00.000+02', '{"cs": "Do nedělní půlnoci přerušen provoz odsud na Výstaviště. Linka 6 jede přes Pražskou tržnici. Polovina spojů 17 odkloněna přes Pražskou tržnici a Nádraží Holešovice. Druhá polovina pokračuje jako 27 přes Letnou na Špejchar. Využijte náhradní autobus X6.", "en": "Until Sunday midnight no tram service from here to Výstaviště. Tram 6 diverted via Pražská tržnice. Every other tram 17 diverted via Pražská tržnice and Nádraží Holešovice. The rest of 17 turns left to end at Špejchar. Use substitute bus X6."}', '2024-02-07 13:24:55.000', now() + interval '1 day');
71
+ VALUES ('adfd2cef-9c2c-4ed0-bd0d-be0b3216faad', 'SEVERE', 'INLINE', '2024-03-28 09:00:00.000+02', '2024-09-22 00:00:00.000+02', '{"cs": "Do nedělní půlnoci přerušen provoz odsud na Výstaviště. Linka 6 jede přes Pražskou tržnici. Polovina spojů 17 odkloněna přes Pražskou tržnici a Nádraží Holešovice. Druhá polovina pokračuje jako 27 přes Letnou na Špejchar. Využijte náhradní autobus X6.", "en": "Until Sunday midnight no tram service from here to Výstaviště. Tram 6 diverted via Pražská tržnice. Every other tram 17 diverted via Pražská tržnice and Nádraží Holešovice. The rest of 17 turns left to end at Špejchar. Use substitute bus X6."}', '2024-02-07 13:24:55.000', now());
72
72
 
73
73
  INSERT INTO jis_infotexts_ropidgtfs_stops(infotext_id, stop_id, created_at, updated_at)
74
74
  VALUES ('adfd2cef-9c2c-4ed0-bd0d-be0b3216faad', 'U209Z102P', '2024-04-19 09:00:00+02', now() + interval '1 day');
75
75
 
76
76
  -- 10
77
77
  INSERT INTO jis_infotexts(id, severity_level, display_type, active_period_start, active_period_end, description_text, created_at, updated_at)
78
- VALUES ('15bd72da-a3da-484b-b592-742deab84b55', 'WARNING', 'INLINE', '2024-03-22 13:11:00.000+02', '2024-10-06 13:11:00.000+02', '{"cs": "Do pondělní půlnoci probíhá výluka metra C mezi I. P. Pavlova a Nádraží Holešovice. Náhradní autobus X-C navazuje ze zastávky I. P. Pavlova.", "en": "Until Monday midnight, the C metro station is closed between I. P. Pavlova and Nádraží Holešovice. A replacement bus X-C will connect from the stop I. P. Pavlova."}', '2024-02-07 13:24:55.000', now() + interval '1 day');
78
+ VALUES ('15bd72da-a3da-484b-b592-742deab84b55', 'WARNING', 'INLINE', '2024-03-22 13:11:00.000+02', '2024-10-06 13:11:00.000+02', '{"cs": "Do pondělní půlnoci probíhá výluka metra C mezi I. P. Pavlova a Nádraží Holešovice. Náhradní autobus X-C navazuje ze zastávky I. P. Pavlova.", "en": "Until Monday midnight, the C metro station is closed between I. P. Pavlova and Nádraží Holešovice. A replacement bus X-C will connect from the stop I. P. Pavlova."}', '2024-02-07 13:24:55.000', now());
79
79
 
80
80
  INSERT INTO jis_infotexts_ropidgtfs_stops(infotext_id, stop_id, created_at, updated_at)
81
81
  VALUES ('15bd72da-a3da-484b-b592-742deab84b55', 'U476Z102P', '2024-04-19 09:00:00+02', now() + interval '1 day'),
@@ -85,7 +85,7 @@ INSERT INTO jis_infotexts_ropidgtfs_stops(infotext_id, stop_id, created_at, upda
85
85
 
86
86
  -- 11
87
87
  INSERT INTO jis_infotexts(id, severity_level, display_type, active_period_start, active_period_end, description_text, created_at, updated_at)
88
- VALUES ('a7446544-a907-4b9f-877b-b29458ad9c82', 'SEVERE', 'INLINE', '2024-03-16 10:00:00.000+02', '2024-05-15 00:00:00.000+02', '{"cs": "Do pondělní půlnoci probíhá výluka metra C mezi Nádražím Holešovice a I. P. Pavlova. Náhradní autobus X-C odjíždí z nástupiště C (jako bus 201).", "en": "Until Monday midnight, the C metro station is closed between Nádraž Holešovice and I. P. Pavlova. The replacement bus X-C departs from platform C (as bus 201)."}', '2024-02-07 13:24:55.000', now() + interval '1 day');
88
+ VALUES ('a7446544-a907-4b9f-877b-b29458ad9c82', 'SEVERE', 'INLINE', '2024-03-16 10:00:00.000+02', '2024-05-15 00:00:00.000+02', '{"cs": "Do pondělní půlnoci probíhá výluka metra C mezi Nádražím Holešovice a I. P. Pavlova. Náhradní autobus X-C odjíždí z nástupiště C (jako bus 201).", "en": "Until Monday midnight, the C metro station is closed between Nádraž Holešovice and I. P. Pavlova. The replacement bus X-C departs from platform C (as bus 201)."}', '2024-02-07 13:24:55.000', now());
89
89
 
90
90
  INSERT INTO jis_infotexts_ropidgtfs_stops(infotext_id, stop_id, created_at, updated_at)
91
91
  VALUES ('a7446544-a907-4b9f-877b-b29458ad9c82', 'U1131Z1P', '2024-04-19 09:00:00+02', now() + interval '1 day'),
@@ -95,14 +95,14 @@ INSERT INTO jis_infotexts_ropidgtfs_stops(infotext_id, stop_id, created_at, upda
95
95
 
96
96
  -- 12
97
97
  INSERT INTO jis_infotexts(id, severity_level, display_type, active_period_start, active_period_end, description_text, created_at, updated_at)
98
- VALUES ('07a8449a-52b2-4266-a611-89d2b8758637', 'SEVERE', 'INLINE', '2024-09-10 17:00:00.000+02', '2024-11-20 00:00:00.000+02', '{"cs": "Do pondělní půlnoci probíhá výluka metra C mezi Nádražím Holešovice a I. P. Pavlova. Zastávky náhradního autobusu X-C jsou na Florenci nahoře na magistrále.", "en": "Until Monday midnight, the C metro station is closed between Nádraž Holešovice and I. P. Pavlova. The stops of the replacement bus X-C are at Florence at the top of the main line."}', '2024-02-07 13:24:55.000', now() + interval '1 day');
98
+ VALUES ('07a8449a-52b2-4266-a611-89d2b8758637', 'SEVERE', 'INLINE', '2024-09-10 17:00:00.000+02', '2024-11-20 00:00:00.000+02', '{"cs": "Do pondělní půlnoci probíhá výluka metra C mezi Nádražím Holešovice a I. P. Pavlova. Zastávky náhradního autobusu X-C jsou na Florenci nahoře na magistrále.", "en": "Until Monday midnight, the C metro station is closed between Nádraž Holešovice and I. P. Pavlova. The stops of the replacement bus X-C are at Florence at the top of the main line."}', '2024-02-07 13:24:55.000', now());
99
99
 
100
100
  INSERT INTO jis_infotexts_ropidgtfs_stops(infotext_id, stop_id, created_at, updated_at)
101
101
  VALUES ('07a8449a-52b2-4266-a611-89d2b8758637', 'U1131Z2P', '2024-04-19 09:00:00+02', now() + interval '1 day');
102
102
 
103
103
  -- 13
104
104
  INSERT INTO jis_infotexts(id, severity_level, display_type, active_period_start, active_period_end, description_text, created_at, updated_at)
105
- VALUES ('59a0b461-df44-42a6-940f-2abf0fd4e980', 'INFO', 'GENERAL', '2024-03-01 00:00.000+02', '2024-06-12 00:00.000+02', '{"cs": "Do pondělí 12.6. bude uzavřen tento vstup do metra. Vstup od zastávky tramvaje v ulici Plynární zůstává v provozu.", "en": "This entrance to the metro will be closed until Monday 12 June. The entrance from the tram stop in Plynární Street will remain open."}', '2024-02-07 13:24:55.000', now() + interval '1 day');
105
+ VALUES ('59a0b461-df44-42a6-940f-2abf0fd4e980', 'INFO', 'GENERAL', '2024-03-01 00:00.000+02', '2024-06-12 00:00.000+02', '{"cs": "Do pondělí 12.6. bude uzavřen tento vstup do metra. Vstup od zastávky tramvaje v ulici Plynární zůstává v provozu.", "en": "This entrance to the metro will be closed until Monday 12 June. The entrance from the tram stop in Plynární Street will remain open."}', '2024-02-07 13:24:55.000', now());
106
106
 
107
107
  INSERT INTO jis_infotexts_ropidgtfs_stops(infotext_id, stop_id, created_at, updated_at)
108
108
  VALUES ('59a0b461-df44-42a6-940f-2abf0fd4e980', 'U52Z4P', '2024-04-19 09:00:00+02', now() + interval '1 day'),
@@ -110,14 +110,15 @@ INSERT INTO jis_infotexts_ropidgtfs_stops(infotext_id, stop_id, created_at, upda
110
110
 
111
111
  -- 14
112
112
  INSERT INTO jis_infotexts(id, severity_level, display_type, active_period_start, active_period_end, description_text, created_at, updated_at)
113
- VALUES ('e9a15133-e606-406b-b492-9af05c643e7a', 'SEVERE', 'INLINE', '2024-03-27 00:00:00.000+02', '2024-09-22 00:00:00.000+02', '{"cs": "Do pondělí probíhá výluka metra C mezi I. P. Pavlova a Nádraží Holešovice. Náhradní autobus X-C navazuje ze zastávky I. P. Pavlova.", "en": "Until Monday, the C metro station is closed between I. P. Pavlova and Nádraží Holešovice. The replacement bus X-C will connect from the stop I. P. Pavlova."}', '2024-02-07 13:24:55.000', now() + interval '1 day');
113
+ VALUES ('e9a15133-e606-406b-b492-9af05c643e7a', 'SEVERE', 'INLINE', '2024-03-27 00:00:00.000+02', '2024-09-22 00:00:00.000+02', '{"cs": "Do pondělí probíhá výluka metra C mezi I. P. Pavlova a Nádraží Holešovice. Náhradní autobus X-C navazuje ze zastávky I. P. Pavlova.", "en": "Until Monday, the C metro station is closed between I. P. Pavlova and Nádraží Holešovice. The replacement bus X-C will connect from the stop I. P. Pavlova."}', '2024-02-07 13:24:55.000', now());
114
114
 
115
115
  INSERT INTO jis_infotexts_ropidgtfs_stops(infotext_id, stop_id, created_at, updated_at)
116
116
  VALUES ('e9a15133-e606-406b-b492-9af05c643e7a', 'U52Z2P', '2024-04-19 09:00:00+02', now() + interval '1 day');
117
117
 
118
118
  -- 15
119
119
  INSERT INTO jis_infotexts(id, severity_level, display_type, active_period_start, active_period_end, description_text, created_at, updated_at)
120
- VALUES ('cdcc2d15-2cdc-4205-b82a-5cc819a79738', 'SEVERE', 'INLINE', '2023-03-27 00:00:00.000+02', null, '{"cs": "Nejede to."}', '2024-02-07 13:24:55.000', now() + interval '1 day');
120
+ VALUES ('cdcc2d15-2cdc-4205-b82a-5cc819a79738', 'SEVERE', 'INLINE', '2023-03-27 00:00:00.000+02', NULL, '{"cs": "Nejede to."}', '2024-02-07 13:24:55.000', now());
121
121
 
122
122
  INSERT INTO jis_infotexts_ropidgtfs_stops(infotext_id, stop_id, created_at, updated_at)
123
- VALUES ('cdcc2d15-2cdc-4205-b82a-5cc819a79738', 'U142Z301', '2024-04-19 09:00:00+02', now() + interval '1 day');
123
+ VALUES ('cdcc2d15-2cdc-4205-b82a-5cc819a79738', 'U142Z301', '2024-04-19 09:00:00+02', now() + interval '1 day');
124
+
@@ -4,7 +4,7 @@ import { ILogger } from "@golemio/core/dist/helpers";
4
4
  import { IDatabaseConnector } from "@golemio/core/dist/helpers/data-access/postgres/IDatabaseConnector";
5
5
  import { AbstractValidatableRepository } from "@golemio/core/dist/helpers/data-access/postgres/repositories/AbstractValidatableRepository";
6
6
  import { JSONSchemaValidator } from "@golemio/core/dist/shared/golemio-validator";
7
- import { ModelStatic, Transaction } from "@golemio/core/dist/shared/sequelize";
7
+ import { Transaction } from "@golemio/core/dist/shared/sequelize";
8
8
  type RepositoryOptions = {
9
9
  transaction?: Transaction;
10
10
  };
@@ -24,13 +24,12 @@ export declare class JISInfotextsRepository extends AbstractValidatableRepositor
24
24
  */
25
25
  deleteAllLastUpdatedBefore(dateTime: Date, options?: RepositoryOptions): Promise<number>;
26
26
  /**
27
- * Insert or update all given data. In case of an update, all attributes except for `created_at` shall be overwritten.
27
+ * Refresh all data from VYMI and delete old data
28
28
  *
29
29
  * @param data The data to be upserted
30
30
  * @param options Options for the operation
31
- * @returns The upserted items
32
31
  */
33
- upsertAll(data: IJISInfotext[], options?: RepositoryOptions): ReturnType<ModelStatic<JISInfotextsModel>["bulkCreate"]>;
32
+ refreshData(data: IJISInfotext[], options?: RepositoryOptions): Promise<JISInfotextsModel[]>;
34
33
  private getUpdateAttributes;
35
34
  /**
36
35
  * @param options
@@ -64,20 +64,45 @@ let JISInfotextsRepository = exports.JISInfotextsRepository = class JISInfotexts
64
64
  });
65
65
  }
66
66
  /**
67
- * Insert or update all given data. In case of an update, all attributes except for `created_at` shall be overwritten.
67
+ * Refresh all data from VYMI and delete old data
68
68
  *
69
69
  * @param data The data to be upserted
70
70
  * @param options Options for the operation
71
- * @returns The upserted items
72
71
  */
73
- upsertAll(data, options) {
72
+ refreshData(data, options) {
74
73
  var _a;
75
74
  return __awaiter(this, void 0, void 0, function* () {
76
75
  try {
77
- return yield this.sequelizeModel.bulkCreate(data, {
78
- updateOnDuplicate: this.getUpdateAttributes(),
79
- transaction: options === null || options === void 0 ? void 0 : options.transaction,
80
- });
76
+ const currentInfotexts = yield this.sequelizeModel.findAll({ transaction: options === null || options === void 0 ? void 0 : options.transaction });
77
+ const currentInfotextsMap = new Map();
78
+ for (const infotext of currentInfotexts) {
79
+ currentInfotextsMap.set(infotext.id, infotext);
80
+ }
81
+ const toBeUpserted = [];
82
+ for (const infotext of data) {
83
+ const info = currentInfotextsMap.get(infotext.id);
84
+ if (!info || info.updated_at <= infotext.updated_timestamp) {
85
+ toBeUpserted.push(infotext);
86
+ }
87
+ currentInfotextsMap.delete(infotext.id);
88
+ }
89
+ const toBeDeleted = [];
90
+ for (const { id } of currentInfotextsMap.values()) {
91
+ toBeDeleted.push(id);
92
+ }
93
+ const [upserted] = yield Promise.all([
94
+ this.sequelizeModel.bulkCreate(toBeUpserted, {
95
+ updateOnDuplicate: this.getUpdateAttributes(),
96
+ transaction: options === null || options === void 0 ? void 0 : options.transaction,
97
+ }),
98
+ this.sequelizeModel.destroy({
99
+ where: {
100
+ id: { [sequelize_1.Op.in]: toBeDeleted },
101
+ },
102
+ transaction: options === null || options === void 0 ? void 0 : options.transaction,
103
+ }),
104
+ ]);
105
+ return upserted;
81
106
  }
82
107
  catch (err) {
83
108
  if (err instanceof sequelize_1.ValidationError && ((_a = err.errors) === null || _a === void 0 ? void 0 : _a.length) > 0) {
@@ -1 +1 @@
1
- {"version":3,"file":"JISInfotextsRepository.js","sourceRoot":"","sources":["../../../../src/integration-engine/jis/repositories/JISInfotextsRepository.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;AAAA,6DAAuC;AACvC,gGAAsE;AAItE,8IAA2I;AAC3I,wEAAqE;AACrE,6EAAyF;AACzF,mFAAkF;AAClF,mEAAgI;AAChI,iEAAwE;AAOjE,IAAM,sBAAsB,oCAA5B,MAAM,sBAAuB,SAAQ,6DAA6B;IAOrE,YACyC,SAA6B,EACxC,MAAuB;QAEjD,KAAK,CAAC,SAAS,EAAE,MAAM,CAAC,CAAC;QAFS,WAAM,GAAN,MAAM,CAAS;QAP9C,WAAM,GAAG,iBAAS,CAAC;QACnB,cAAS,GAAG,qCAAiB,CAAC,SAAS,CAAC;QAS3C,IAAI,CAAC,SAAS,GAAG,IAAI,uCAAmB,CAAC,wBAAwB,EAAE,qCAAiB,CAAC,UAAU,CAAC,CAAC;QACjG,IAAI,CAAC,cAAc,GAAG,SAAS;aAC1B,aAAa,EAAE;aACf,MAAM,CAAC,IAAI,CAAC,SAAS,EAAE,qCAAiB,CAAC,cAAc,EAAE,EAAE,MAAM,EAAE,IAAI,CAAC,MAAM,EAAE,CAAC,CAAC;IAC3F,CAAC;IAED;;;;;;OAMG;IACU,0BAA0B,CAAC,QAAc,EAAE,OAA2B;;YAC/E,IAAI;gBACA,OAAO,MAAM,IAAI,CAAC,cAAc,CAAC,OAAO,CAAC;oBACrC,KAAK,EAAE;wBACH,UAAU,EAAE,EAAE,CAAC,cAAE,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E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,QAAQ,CAAC,SAAS,CAAC,CAAC,CAAC;IACpH,CAAC;IACD;;;OAGG;IACU,SAAS,CAAC,OAA2B;;YAC9C,IAAI;gBACA,OAAO,MAAM,IAAI,CAAC,cAAc,CAAC,OAAO,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE,WAAW,EAAE,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,WAAW,EAAE,CAAC,CAAC;aAC9F;YAAC,OAAO,GAAG,EAAE;gBACV,MAAM,IAAI,6BAAY,CAAC,oBAAoB,EAAE,IAAI,CAAC,WAAW,CAAC,IAAI,EAAE,GAAG,CAAC,CAAC;aAC5E;QACL,CAAC;KAAA;CACJ,CAAA;iCAnFY,sBAAsB;IADlC,IAAA,qBAAU,GAAE;IASJ,WAAA,IAAA,iBAAM,EAAC,qBAAS,CAAC,iBAAiB,CAAC,CAAA;IACnC,WAAA,IAAA,iBAAM,EAAC,qBAAS,CAAC,MAAM,CAAC,CAAA;;GATpB,sBAAsB,CAmFlC"}
1
+ {"version":3,"file":"JISInfotextsRepository.js","sourceRoot":"","sources":["../../../../src/integration-engine/jis/repositories/JISInfotextsRepository.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;AAAA,6DAAuC;AACvC,gGAAsE;AAItE,8IAA2I;AAC3I,wEAAqE;AACrE,6EAAyF;AACzF,mFAAkF;AAClF,mEAAgI;AAChI,iEAAwE;AAOjE,IAAM,sBAAsB,oCAA5B,MAAM,sBAAuB,SAAQ,6DAA6B;IAOrE,YACyC,SAA6B,EACxC,MAAuB;QAEjD,KAAK,CAAC,SAAS,EAAE,MAAM,CAAC,CAAC;QAFS,WAAM,GAAN,MAAM,CAAS;QAP9C,WAAM,GAAG,iBAAS,CAAC;QACnB,cAAS,GAAG,qCAAiB,CAAC,SAAS,CAAC;QAS3C,IAAI,CAAC,SAAS,GAAG,IAAI,uCAAmB,CAAC,wBAAwB,EAAE,qCAAiB,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I,gCAAe,CACrB,kCAAkC,YAAY,EAAE,EAChD,IAAI,CAAC,WAAW,CAAC,IAAI,EACrB,GAAG,EACH,SAAS,EACT,KAAK,CACR,CAAC;iBACL;gBACD,MAAM,IAAI,6BAAY,CAAC,oBAAoB,EAAE,IAAI,CAAC,WAAW,CAAC,IAAI,EAAE,GAAG,CAAC,CAAC;aAC5E;;KACJ;IAEO,mBAAmB;QACvB,OAAO,MAAM,CAAC,IAAI,CAAC,qCAAiB,CAAC,cAAc,CAAC,CAAC,MAAM,CAAC,CAAC,SAAS,EAAE,EAAE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,QAAQ,CAAC,SAAS,CAAC,CAAC,CAAC;IACpH,CAAC;IACD;;;OAGG;IACU,SAAS,CAAC,OAA2B;;YAC9C,IAAI;gBACA,OAAO,MAAM,IAAI,CAAC,cAAc,CAAC,OAAO,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE,WAAW,EAAE,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,WAAW,EAAE,CAAC,CAAC;aAC9F;YAAC,OAAO,GAAG,EAAE;gBACV,MAAM,IAAI,6BAAY,CAAC,oBAAoB,EAAE,IAAI,CAAC,WAAW,CAAC,IAAI,EAAE,GAAG,CAAC,CAAC;aAC5E;QACL,CAAC;KAAA;CACJ,CAAA;iCA/GY,sBAAsB;IADlC,IAAA,qBAAU,GAAE;IASJ,WAAA,IAAA,iBAAM,EAAC,qBAAS,CAAC,iBAAiB,CAAC,CAAA;IACnC,WAAA,IAAA,iBAAM,EAAC,qBAAS,CAAC,MAAM,CAAC,CAAA;;GATpB,sBAAsB,CA+GlC"}
@@ -56,10 +56,9 @@ let JISInfotextsDataService = exports.JISInfotextsDataService = class JISInfotex
56
56
  this.logger.info(`${this.constructor.name}.refreshData: all JIS infotexts were deleted because 0 infotexts were imported`);
57
57
  }
58
58
  else {
59
- yield this.infotextsRepository.upsertAll(infotexts, { transaction });
59
+ yield this.infotextsRepository.refreshData(infotexts, { transaction });
60
60
  yield this.infotextsRopidGTFSStopsRepository.upsertAll(infotextsRopidGTFSStops, { transaction });
61
61
  yield this.infotextsRopidGTFSStopsRepository.deleteAllLastUpdatedBefore(saveTime, { transaction });
62
- yield this.infotextsRepository.deleteAllLastUpdatedBefore(saveTime, { transaction });
63
62
  yield transaction.commit();
64
63
  this.logger.info(`${this.constructor.name}.refreshData: ${infotexts.length} JIS infotexts and ` +
65
64
  `${infotextsRopidGTFSStops.length} JIS infotextsRopidGTFSStops were saved`);
@@ -1 +1 @@
1
- {"version":3,"file":"JISInfotextsDataService.js","sourceRoot":"","sources":["../../../../src/integration-engine/jis/services/JISInfotextsDataService.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;AAAA,gEAAkE;AAClE,mFAAqF;AACrF,+GAAiH;AAIjH,wEAAqE;AACrE,6EAAwE;AACxE,iEAAwE;AAGjE,IAAM,uBAAuB,qCAA7B,MAAM,uBAAuB;IAChC,YAEY,mBAA2C,EAE3C,iCAAuE,EAClC,iBAAqC,EAChD,MAAe;QAJzC,wBAAmB,GAAnB,mBAAmB,CAAwB;QAE3C,sCAAiC,GAAjC,iCAAiC,CAAsC;QAClC,sBAAiB,GAAjB,iBAAiB,CAAoB;QAChD,WAAM,GAAN,MAAM,CAAS;QAEjD,aAAa;IACjB,CAAC;IAED;;;;;;OAMG;IACU,WAAW,CAAC,SAAyB,EAAE,uBAAsD;;YACtG,MAAM,UAAU,GAAG,IAAI,CAAC,iBAAiB,CAAC,aAAa,EAAE,CAAC;YAC1D,MAAM,WAAW,GAAG,MAAM,UAAU,CAAC,WAAW,EAAE,CAAC;YACnD,MAAM,QAAQ,GAAG,IAAI,IAAI,EAAE,CAAC;YAE5B,IAAI;gBACA,IAAI,SAAS,CAAC,MAAM,KAAK,CAAC,EAAE;oBACxB,MAAM,IAAI,CAAC,iCAAiC,CAAC,SAAS,CAAC,EAAE,WAAW,EAAE,CAAC,CAAC;oBACxE,MAAM,IAAI,CAAC,mBAAmB,C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AAC,oCAAoC,CAAC,CAAA;IAE9D,WAAA,IAAA,iBAAM,EAAC,qBAAS,CAAC,iBAAiB,CAAC,CAAA;IACnC,WAAA,IAAA,iBAAM,EAAC,qBAAS,CAAC,MAAM,CAAC,CAAA;qCAJI,+CAAsB;QAER,2EAAoC;GAL1E,uBAAuB,CAiDnC"}
1
+ {"version":3,"file":"JISInfotextsDataService.js","sourceRoot":"","sources":["../../../../src/integration-engine/jis/services/JISInfotextsDataService.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;AAAA,gEAAkE;AAClE,mFAAqF;AACrF,+GAAiH;AAIjH,wEAAqE;AACrE,6EAAwE;AACxE,iEAAwE;AAGjE,IAAM,uBAAuB,qCAA7B,MAAM,uBAAuB;IAChC,YAEY,mBAA2C,EAE3C,iCAAuE,EAClC,iBAAqC,EAChD,MAAe;QAJzC,wBAAmB,GAAnB,mBAAmB,CAAwB;QAE3C,sCAAiC,GAAjC,iCAAiC,CAAsC;QAClC,sBAAiB,GAAjB,iBAAiB,CAAoB;QAChD,WAAM,GAAN,MAAM,CAAS;QAEjD,aAAa;IACjB,CAAC;IAED;;;;;;OAMG;IACU,WAAW,CAAC,SAAyB,EAAE,uBAAsD;;YACtG,MAAM,UAAU,GAAG,IAAI,CAAC,iBAAiB,CAAC,aAAa,EAAE,CAAC;YAC1D,MAAM,WAAW,GAAG,MAAM,UAAU,CAAC,WAAW,EAAE,CAAC;YACnD,MAAM,QAAQ,GAAG,IAAI,IAAI,EAAE,CAAC;YAE5B,IAAI;gBACA,IAAI,SAAS,CAAC,MAAM,KAAK,CAAC,EAAE;oBACxB,MAAM,IAAI,CAAC,iCAAiC,CAAC,SAAS,CAAC,EAAE,WAAW,EAAE,CAAC,CAAC;oBACxE,MAAM,IAAI,CAAC,mBAAmB,CAAC,SAAS,CAAC,EAAE,WAAW,EAAE,CAAC,CAAC;oBAC1D,MAAM,WAAW,CAAC,MAAM,EAAE,CAAC;oBAC3B,IAAI,CAAC,MAAM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json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@golemio/pid",
3
- "version": "3.2.3-dev.1572823338",
3
+ "version": "3.2.3-dev.1575424535",
4
4
  "description": "Golemio PID Module",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",