@golemio/pid 2.3.2 → 2.3.3-dev.674484788

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,4 +1,4 @@
1
- INSERT INTO "ropidgtfs_stops" (level_id,location_type,parent_station,platform_code,stop_id,stop_lat,stop_lon,stop_name,wheelchair_boarding,zone_id,asw_node_id,asw_stop_id) VALUES
1
+ INSERT INTO "ropidgtfs_stops_actual" (level_id,location_type,parent_station,platform_code,stop_id,stop_lat,stop_lon,stop_name,wheelchair_boarding,zone_id,asw_node_id,asw_stop_id) VALUES
2
2
  ('U1040L2',0,'U1040S1','1','U1040Z101P',50.069991,14.403664,'Anděl',0,'P',1040,101),
3
3
  ('U1040L2',0,'U1040S1','2','U1040Z102P',50.069967,14.403892,'Anděl',0,'P',1040,102),
4
4
  (NULL,0,NULL,'V','U1040Z16P',50.069199,14.405263,'Na Knížecí',0,'P',1040,16),
@@ -1,4 +1,4 @@
1
- INSERT INTO ropidgtfs_services_first14days
1
+ INSERT INTO ropidgtfs_services_first14days_actual
2
2
  SELECT dates.date,
3
3
  (date_part('day'::text, ((dates.date)::timestamp without time zone - (to_char(timezone('Europe/Prague'::text, now()), 'YYYY-MM-DD'::text))::timestamp without time zone)))::integer AS day_diff,
4
4
  ropidgtfs_calendar.service_id
@@ -13,7 +13,7 @@ SELECT dates.date,
13
13
  ORDER BY dates.date;
14
14
 
15
15
 
16
- INSERT INTO ropidgtfs_trips_minmaxsequences
16
+ INSERT INTO ropidgtfs_trips_minmaxsequences_actual
17
17
  SELECT ropidgtfs_stop_times.trip_id,
18
18
  max(ropidgtfs_stop_times.stop_sequence) AS max_stop_sequence,
19
19
  min(ropidgtfs_stop_times.stop_sequence) AS min_stop_sequence,
@@ -74,7 +74,7 @@ SELECT t.stop_sequence,
74
74
  LEFT JOIN ropidgtfs_stop_times t7 ON ((((t.trip_id)::text = (t7.trip_id)::text) AND (t7.stop_sequence = (t.stop_sequence - 1)))))
75
75
  WHERE t0.stop_id IS NOT NULL;
76
76
 
77
- INSERT INTO ropidgtfs_scheduled_trips
77
+ INSERT INTO ropidgtfs_scheduled_trips_actual
78
78
  SELECT t0.*,
79
79
  CASE
80
80
  WHEN EXTRACT(HOUR FROM t0.min_stop_time) > 23
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@golemio/pid",
3
- "version": "2.3.2",
3
+ "version": "2.3.3-dev.674484788",
4
4
  "description": "Golemio PID Module",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",