spotcharge-types 1.0.315 → 1.0.316
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,7 +1,7 @@
|
|
|
1
1
|
import { AddressApiModel } from "./address.api.model";
|
|
2
2
|
import { StationAmenities } from "./station.api.model";
|
|
3
3
|
import { GstModel } from "./gst-record-api.model";
|
|
4
|
-
import { StationSearchSource } from "../../enum";
|
|
4
|
+
import { StationFacility, StationSearchSource } from "../../enum";
|
|
5
5
|
/**
|
|
6
6
|
* Meilisearch document format for Station search index
|
|
7
7
|
*/
|
|
@@ -12,6 +12,8 @@ export interface StationSearchApiModel {
|
|
|
12
12
|
status: string;
|
|
13
13
|
address?: AddressApiModel;
|
|
14
14
|
amenities?: StationAmenities;
|
|
15
|
+
/** OCPI-aligned nearby facilities (e.g. HOTEL, RESTAURANT, PARKING_LOT). */
|
|
16
|
+
facilities?: StationFacility[];
|
|
15
17
|
gst?: GstModel | null;
|
|
16
18
|
_geo?: {
|
|
17
19
|
lat: number;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"station-search.api.model.d.ts","sourceRoot":"","sources":["../../../src/models/api/station-search.api.model.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,eAAe,EAAC,MAAM,qBAAqB,CAAC;AACpD,OAAO,EAAC,gBAAgB,EAAC,MAAM,qBAAqB,CAAC;AACrD,OAAO,EAAC,QAAQ,EAAC,MAAM,wBAAwB,CAAC;AAChD,OAAO,EAAE,mBAAmB,EAAE,MAAM,YAAY,CAAC;
|
|
1
|
+
{"version":3,"file":"station-search.api.model.d.ts","sourceRoot":"","sources":["../../../src/models/api/station-search.api.model.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,eAAe,EAAC,MAAM,qBAAqB,CAAC;AACpD,OAAO,EAAC,gBAAgB,EAAC,MAAM,qBAAqB,CAAC;AACrD,OAAO,EAAC,QAAQ,EAAC,MAAM,wBAAwB,CAAC;AAChD,OAAO,EAAE,eAAe,EAAE,mBAAmB,EAAE,MAAM,YAAY,CAAC;AAElE;;GAEG;AACH,MAAM,WAAW,qBAAqB;IAClC,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,EAAE,MAAM,CAAC;IACpB,MAAM,EAAE,MAAM,CAAC;IACf,OAAO,CAAC,EAAE,eAAe,CAAC;IAC1B,SAAS,CAAC,EAAE,gBAAgB,CAAC;IAC7B,4EAA4E;IAC5E,UAAU,CAAC,EAAE,eAAe,EAAE,CAAC;IAC/B,GAAG,CAAC,EAAE,QAAQ,GAAG,IAAI,CAAC;IACtB,IAAI,CAAC,EAAE;QACH,GAAG,EAAE,MAAM,CAAC;QACZ,GAAG,EAAE,MAAM,CAAC;KACf,GAAG,IAAI,CAAC;IACT,kBAAkB,CAAC,EAAE,MAAM,EAAE,CAAC;IAC9B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,cAAc,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC/B,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC1B;;;;OAIG;IACH,MAAM,CAAC,EAAE,mBAAmB,CAAC;IAC7B,sDAAsD;IACtD,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,mEAAmE;IACnE,YAAY,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC7B,uEAAuE;IACvE,gBAAgB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CACpC"}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {AddressApiModel} from "./address.api.model";
|
|
2
2
|
import {StationAmenities} from "./station.api.model";
|
|
3
3
|
import {GstModel} from "./gst-record-api.model";
|
|
4
|
-
import { StationSearchSource } from "../../enum";
|
|
4
|
+
import { StationFacility, StationSearchSource } from "../../enum";
|
|
5
5
|
|
|
6
6
|
/**
|
|
7
7
|
* Meilisearch document format for Station search index
|
|
@@ -13,6 +13,8 @@ export interface StationSearchApiModel {
|
|
|
13
13
|
status: string;
|
|
14
14
|
address?: AddressApiModel;
|
|
15
15
|
amenities?: StationAmenities;
|
|
16
|
+
/** OCPI-aligned nearby facilities (e.g. HOTEL, RESTAURANT, PARKING_LOT). */
|
|
17
|
+
facilities?: StationFacility[];
|
|
16
18
|
gst?: GstModel | null;
|
|
17
19
|
_geo?: {
|
|
18
20
|
lat: number;
|