@autobusal/providers 1.37.14 → 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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/types/locations.ts +13 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@autobusal/providers",
3
- "version": "1.37.14",
3
+ "version": "1.38.0",
4
4
  "author": "Ferjolt Ozuni",
5
5
  "type": "module",
6
6
  "main": "index.ts"
@@ -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.