@tmlmobilidade/consts 20260602.1654.41 → 20260602.2317.22

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.
@@ -198,6 +198,7 @@ export declare const API_ROUTES: Readonly<{
198
198
  readonly hub: {
199
199
  readonly BASE: string;
200
200
  readonly ALERTS_GTFS: `${string}/v1/alerts/gtfs`;
201
+ readonly ALERTS_GTFS_CM: `${string}/v1/alerts/gtfs-cm`;
201
202
  readonly ALERTS_GTFS_PB: `${string}/v1/alerts/gtfs.pb`;
202
203
  readonly ALERTS_LIST: `${string}/v1/alerts`;
203
204
  readonly ALERTS_RSS: `${string}/v1/alerts.rss`;
@@ -214,6 +215,7 @@ export declare const API_ROUTES: Readonly<{
214
215
  readonly NETWORK_LINES: `${string}/v1/network/lines`;
215
216
  readonly NETWORK_PATTERNS: (id: string) => string;
216
217
  readonly NETWORK_ROUTES: `${string}/v1/network/routes`;
218
+ readonly NETWORK_SHAPES: (id: string) => string;
217
219
  readonly NETWORK_STOPS: `${string}/v1/network/stops`;
218
220
  readonly PLANS_GTFS: `${string}/v1/plans/gtfs`;
219
221
  readonly PLANS_GTFS_CM: `${string}/v1/plans/gtfs/cm`;
@@ -271,6 +271,7 @@ export const API_ROUTES = Object.freeze({
271
271
  BASE: `${getModuleConfig('hub', 'api_url')}`,
272
272
  // ALERTS
273
273
  ALERTS_GTFS: `${getModuleConfig('hub', 'api_url')}/v1/alerts/gtfs`,
274
+ ALERTS_GTFS_CM: `${getModuleConfig('hub', 'api_url')}/v1/alerts/gtfs-cm`,
274
275
  ALERTS_GTFS_PB: `${getModuleConfig('hub', 'api_url')}/v1/alerts/gtfs.pb`,
275
276
  ALERTS_LIST: `${getModuleConfig('hub', 'api_url')}/v1/alerts`,
276
277
  ALERTS_RSS: `${getModuleConfig('hub', 'api_url')}/v1/alerts.rss`,
@@ -290,6 +291,7 @@ export const API_ROUTES = Object.freeze({
290
291
  NETWORK_LINES: `${getModuleConfig('hub', 'api_url')}/v1/network/lines`,
291
292
  NETWORK_PATTERNS: (id) => `${getModuleConfig('hub', 'api_url')}/v1/network/patterns/${id}`,
292
293
  NETWORK_ROUTES: `${getModuleConfig('hub', 'api_url')}/v1/network/routes`,
294
+ NETWORK_SHAPES: (id) => `${getModuleConfig('hub', 'api_url')}/v1/network/shapes/${id}`,
293
295
  NETWORK_STOPS: `${getModuleConfig('hub', 'api_url')}/v1/network/stops`,
294
296
  // PLANS
295
297
  PLANS_GTFS: `${getModuleConfig('hub', 'api_url')}/v1/plans/gtfs`,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tmlmobilidade/consts",
3
- "version": "20260602.1654.41",
3
+ "version": "20260602.2317.22",
4
4
  "author": {
5
5
  "email": "iso@tmlmobilidade.pt",
6
6
  "name": "TML-ISO"