@tmlmobilidade/geo 20261012.1852.32 → 20261013.1121.17

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.
@@ -15,4 +15,4 @@ import { type SimplifiedVehicleEvent } from '@tmlmobilidade/go-types-vehicle-eve
15
15
  * - lon: Vehicle longitude
16
16
  * - trip_id: Associated trip identifier
17
17
  */
18
- export declare function transformVehicleDataIntoGeoJsonFeature(event: HubV1ApiVehiclePosition | SimplifiedVehicleEvent, vehicleData?: Vehicle): GeoJSON.Feature<GeoJSON.Point>;
18
+ export declare function transformVehicleDataIntoGeoJsonFeature<T extends HubV1ApiVehiclePosition | SimplifiedVehicleEvent>(event: T, vehicleData?: Vehicle): GeoJSON.Feature<GeoJSON.Point, Partial<Vehicle> & T>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tmlmobilidade/geo",
3
- "version": "20261012.1852.32",
3
+ "version": "20261013.1121.17",
4
4
  "author": {
5
5
  "email": "iso@tmlmobilidade.pt",
6
6
  "name": "TML-ISO"
@@ -37,6 +37,7 @@
37
37
  },
38
38
  "dependencies": {
39
39
  "@tmlmobilidade/go-types-hub": "*",
40
+ "@tmlmobilidade/go-types-operation": "*",
40
41
  "@tmlmobilidade/go-types-vehicle-events": "*",
41
42
  "@turf/turf": "7.4.0"
42
43
  },