@autobusal/providers 1.37.0 → 1.37.1

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.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # Changelog
2
2
 
3
+ ## 1.37.1
4
+
5
+ ### Added
6
+
7
+ - **`MenuData.location` gains `'footer_1' | 'footer_2'`** - the site footer's two link columns are now admin-managed Menu items (same model the header nav's left/right already use) instead of hardcoded JSX. See `@autobusal/admin-menu` 1.1.3.
8
+
3
9
  ## 1.37.0
4
10
 
5
11
  ### Added
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@autobusal/providers",
3
- "version": "1.37.0",
3
+ "version": "1.37.1",
4
4
  "author": "Ferjolt Ozuni",
5
5
  "type": "module",
6
6
  "main": "index.ts"
package/types/routes.ts CHANGED
@@ -78,6 +78,12 @@ export interface TripData {
78
78
  available_seats: number
79
79
  blocked_seats: number
80
80
  seating: string
81
+
82
+ // Edited: Claude (BusMagus mobile app) - Date: 2026-08-10
83
+ // Whether this route accepts an e-ticket at boarding or requires a
84
+ // physical printout. null/unset = e-ticket accepted (every route's
85
+ // behaviour before this field existed).
86
+ ticket_delivery?: 'e_ticket' | 'printed_only' | null
81
87
  }
82
88
 
83
89
  export interface FeatureData {
package/types/settings.ts CHANGED
@@ -117,7 +117,7 @@ export interface MenuData {
117
117
  link: string
118
118
  new: 'yes' | 'no'
119
119
  children: MenuData[]
120
- location: 'any' | 'left' | 'right'
120
+ location: 'any' | 'left' | 'right' | 'footer_1' | 'footer_2'
121
121
  parent_id: number | null
122
122
  menu?: MenuData
123
123
  order_id: number