@tmlmobilidade/go-utils-sql 20261022.1605.13 → 20261022.2353.10

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.
@@ -7,6 +7,6 @@
7
7
  export declare const SQL_FILES: {
8
8
  readonly hub: readonly ["eta/bootstrap/create-tables.sql", "eta/bootstrap/migrate-2026-09-eta-loader-p0.sql", "eta/bootstrap/mv-predict-node-etas.sql", "eta/bootstrap/mv-predict-trip-stop-etas.sql", "eta/bootstrap/mv-sync-curr-vehicle-events.sql", "eta/cleanup/1-delete-out-of-window-curr-rides.sql", "eta/cleanup/2-delete-orphan-curr-waypoints.sql", "eta/cleanup/3-delete-out-of-window-hist-rides.sql", "eta/cleanup/4-list-out-of-window-hist-node-travel-times-partitions.sql", "eta/cleanup/5-delete-out-of-window-hist-node-travel-times-aggregation.sql", "eta/cleanup/6-delete-orphan-hist-shape-nodes.sql", "eta/loader/aggregate-hist-node-travel-times.sql", "eta/loader/build-hist-node-travel-times.sql", "eta/loader/load-current-waypoints.sql", "eta/loader/load-historical-vehicle-events.sql", "eta/loader/load-rides.sql", "eta/loader/snap-waypoints.sql", "publish-eta/select-eta-by-stop.sql", "publish-eta/select-eta-by-trip.sql", "publish-eta/select-eta-gtfs.sql", "publish-eta/select-eta.sql", "publish-vehicles/select-vehicle-positions.sql"];
9
9
  readonly operation: readonly ["alerts/list-lines.sql", "alerts/list-rides.sql", "alerts/list-stops.sql", "compose-alert/fetch-lines-reference-context.sql", "compose-alert/fetch-rides-reference-context.sql", "compose-alert/fetch-stops-reference-context.sql", "rides/get-ride.sql", "rides/list-rides.sql"];
10
- readonly performance: readonly ["demand/by-agency-by-operational-date.sql"];
10
+ readonly performance: readonly ["demand/by-agency-by-operational-date.sql", "demand/clear-partition.sql", "demand/create-stage.sql", "demand/drop-stage.sql", "demand/partitions.sql", "demand/replace-partition.sql", "metrics/demand_affected_by_failed_circulations_by_day.sql", "metrics/demand_by_agency_by_day.sql", "metrics/demand_by_agency_by_month.sql", "metrics/demand_by_agency_by_year.sql", "metrics/demand_by_category_by_agency_by_day.sql", "metrics/demand_by_category_by_agency_by_month.sql", "metrics/demand_by_category_by_agency_by_year.sql", "metrics/demand_by_category_by_line_by_day.sql", "metrics/demand_by_category_by_line_by_month.sql", "metrics/demand_by_category_by_line_by_year.sql", "metrics/demand_by_category_by_pattern_by_day.sql", "metrics/demand_by_category_by_pattern_by_month.sql", "metrics/demand_by_category_by_pattern_by_year.sql", "metrics/demand_by_line_by_day.sql", "metrics/demand_by_line_by_month.sql", "metrics/demand_by_line_by_year.sql", "metrics/demand_by_pattern_by_day.sql", "metrics/demand_by_pattern_by_month.sql", "metrics/demand_by_pattern_by_year.sql", "metrics/demand_by_pattern_hour_by_day.sql", "metrics/demand_by_pattern_hour_by_month.sql", "metrics/demand_by_pattern_hour_by_year.sql", "metrics/demand_by_product_by_agency_by_day.sql", "metrics/demand_by_product_by_agency_by_month.sql", "metrics/demand_by_product_by_agency_by_year.sql", "metrics/demand_by_product_by_line_by_day.sql", "metrics/demand_by_product_by_line_by_month.sql", "metrics/demand_by_product_by_line_by_year.sql", "metrics/demand_by_product_by_pattern_by_day.sql", "metrics/demand_by_product_by_pattern_by_month.sql", "metrics/demand_by_product_by_pattern_by_year.sql", "metrics/mean_demand_by_line_by_month.sql", "metrics/realtime_demand.sql", "metrics/realtime_service_compliance.sql", "metrics/supply_by_agency_by_day.sql", "metrics/supply_by_agency_by_month.sql", "metrics/supply_by_agency_by_year.sql", "metrics/top_demand_by_agency.sql", "metrics/top_demand_by_agency_by_day_type.sql", "metrics/top_lines_30day_performance.sql", "metrics/top_mean_demand_by_line_by_month.sql", "schema.sql", "storage/calendar.sql", "storage/cleanup.sql", "storage/limits.sql", "storage/network.sql", "storage/read.sql", "storage/snapshot.sql"];
11
11
  readonly tracker: readonly ["pt-tml-fertagus-rawdb-stream/find-trip-id.sql", "pt-tml-ml-api-fetch/find-hashed-shape.sql", "pt-tml-ml-api-fetch/find-hashed-trip.sql", "pt-tml-ml-api-fetch/find-rides-for-train.sql"];
12
12
  };
@@ -42,6 +42,59 @@ export const SQL_FILES = {
42
42
  ],
43
43
  performance: [
44
44
  'demand/by-agency-by-operational-date.sql',
45
+ 'demand/clear-partition.sql',
46
+ 'demand/create-stage.sql',
47
+ 'demand/drop-stage.sql',
48
+ 'demand/partitions.sql',
49
+ 'demand/replace-partition.sql',
50
+ 'metrics/demand_affected_by_failed_circulations_by_day.sql',
51
+ 'metrics/demand_by_agency_by_day.sql',
52
+ 'metrics/demand_by_agency_by_month.sql',
53
+ 'metrics/demand_by_agency_by_year.sql',
54
+ 'metrics/demand_by_category_by_agency_by_day.sql',
55
+ 'metrics/demand_by_category_by_agency_by_month.sql',
56
+ 'metrics/demand_by_category_by_agency_by_year.sql',
57
+ 'metrics/demand_by_category_by_line_by_day.sql',
58
+ 'metrics/demand_by_category_by_line_by_month.sql',
59
+ 'metrics/demand_by_category_by_line_by_year.sql',
60
+ 'metrics/demand_by_category_by_pattern_by_day.sql',
61
+ 'metrics/demand_by_category_by_pattern_by_month.sql',
62
+ 'metrics/demand_by_category_by_pattern_by_year.sql',
63
+ 'metrics/demand_by_line_by_day.sql',
64
+ 'metrics/demand_by_line_by_month.sql',
65
+ 'metrics/demand_by_line_by_year.sql',
66
+ 'metrics/demand_by_pattern_by_day.sql',
67
+ 'metrics/demand_by_pattern_by_month.sql',
68
+ 'metrics/demand_by_pattern_by_year.sql',
69
+ 'metrics/demand_by_pattern_hour_by_day.sql',
70
+ 'metrics/demand_by_pattern_hour_by_month.sql',
71
+ 'metrics/demand_by_pattern_hour_by_year.sql',
72
+ 'metrics/demand_by_product_by_agency_by_day.sql',
73
+ 'metrics/demand_by_product_by_agency_by_month.sql',
74
+ 'metrics/demand_by_product_by_agency_by_year.sql',
75
+ 'metrics/demand_by_product_by_line_by_day.sql',
76
+ 'metrics/demand_by_product_by_line_by_month.sql',
77
+ 'metrics/demand_by_product_by_line_by_year.sql',
78
+ 'metrics/demand_by_product_by_pattern_by_day.sql',
79
+ 'metrics/demand_by_product_by_pattern_by_month.sql',
80
+ 'metrics/demand_by_product_by_pattern_by_year.sql',
81
+ 'metrics/mean_demand_by_line_by_month.sql',
82
+ 'metrics/realtime_demand.sql',
83
+ 'metrics/realtime_service_compliance.sql',
84
+ 'metrics/supply_by_agency_by_day.sql',
85
+ 'metrics/supply_by_agency_by_month.sql',
86
+ 'metrics/supply_by_agency_by_year.sql',
87
+ 'metrics/top_demand_by_agency.sql',
88
+ 'metrics/top_demand_by_agency_by_day_type.sql',
89
+ 'metrics/top_lines_30day_performance.sql',
90
+ 'metrics/top_mean_demand_by_line_by_month.sql',
91
+ 'schema.sql',
92
+ 'storage/calendar.sql',
93
+ 'storage/cleanup.sql',
94
+ 'storage/limits.sql',
95
+ 'storage/network.sql',
96
+ 'storage/read.sql',
97
+ 'storage/snapshot.sql',
45
98
  ],
46
99
  tracker: [
47
100
  'pt-tml-fertagus-rawdb-stream/find-trip-id.sql',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tmlmobilidade/go-utils-sql",
3
- "version": "20261022.1605.13",
3
+ "version": "20261022.2353.10",
4
4
  "author": {
5
5
  "email": "iso@tmlmobilidade.pt",
6
6
  "name": "TML-ISO"
@@ -37,7 +37,7 @@
37
37
  },
38
38
  "devDependencies": {
39
39
  "@tmlmobilidade/go-utils-tsconfig": "*",
40
- "@types/node": "26.4.0",
40
+ "@types/node": "26.6.5",
41
41
  "resolve-tspaths": "0.8.23",
42
42
  "tsc-watch": "7.2.1",
43
43
  "typescript": "6.0.3"