@autobusal/providers 1.37.13 → 1.38.0
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/package.json +1 -1
- package/types/locations.ts +13 -0
- package/types/settings.ts +8 -0
package/package.json
CHANGED
package/types/locations.ts
CHANGED
|
@@ -141,6 +141,19 @@ export interface StopData {
|
|
|
141
141
|
id: number
|
|
142
142
|
name: string
|
|
143
143
|
location: string[]
|
|
144
|
+
|
|
145
|
+
/**
|
|
146
|
+
* Whether an admin has approved this stop.
|
|
147
|
+
*
|
|
148
|
+
* Claude - Date: 2026-08-21
|
|
149
|
+
* An operator can now propose a station themselves; it is created
|
|
150
|
+
* unverified, which means passengers never see it and the route builder
|
|
151
|
+
* refuses it until an admin approves. Optional because the public
|
|
152
|
+
* endpoints filter unverified stops out entirely and so never send the
|
|
153
|
+
* flag - it is present on the admin and operator reads, where the
|
|
154
|
+
* distinction is the point.
|
|
155
|
+
*/
|
|
156
|
+
verified?: boolean
|
|
144
157
|
}
|
|
145
158
|
/**
|
|
146
159
|
* A city pair people buy, for the home page's route columns.
|
package/types/settings.ts
CHANGED
|
@@ -175,6 +175,14 @@ export interface LabelSettings {
|
|
|
175
175
|
kop: string
|
|
176
176
|
njb: string
|
|
177
177
|
city: string
|
|
178
|
+
|
|
179
|
+
// Edited: Claude - Date: 2026-08-21
|
|
180
|
+
// The seller's own country, ISO 3166-1 alpha-2. Optional because the
|
|
181
|
+
// field is new and no existing brand has it - obtapi's Payments\Payer
|
|
182
|
+
// uses it as the fallback for a payer with no country of their own,
|
|
183
|
+
// instead of the hardcoded "Albania" that was there before.
|
|
184
|
+
country?: string | null
|
|
185
|
+
|
|
178
186
|
nipt: string
|
|
179
187
|
nivf: string
|
|
180
188
|
nslf: string
|