@autobusal/providers 1.31.1 → 1.32.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/CHANGELOG.md +6 -0
- package/package.json +1 -1
- package/types/settings.ts +12 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 1.32.0
|
|
4
|
+
|
|
5
|
+
### Added
|
|
6
|
+
|
|
7
|
+
- **`LabelSettings.theme`** — a label's chosen theme preset (`{preset, overrides}`), matching obtapi's new `labels_settings.theme` column. Optional/nullable: absent means the label still reads its colors straight out of settings.json, exactly as before this existed.
|
|
8
|
+
|
|
3
9
|
## 1.31.1
|
|
4
10
|
|
|
5
11
|
### Fixed
|
package/package.json
CHANGED
package/types/settings.ts
CHANGED
|
@@ -302,6 +302,18 @@ export interface LabelSettings {
|
|
|
302
302
|
auto_publish?: boolean
|
|
303
303
|
threshold?: number
|
|
304
304
|
}
|
|
305
|
+
|
|
306
|
+
// Edited: Ferjolt Ozuni - Date: 2026-08-08
|
|
307
|
+
// The label's chosen theme preset, or null/absent to keep reading colors
|
|
308
|
+
// straight out of settings.json exactly as before this existed - see
|
|
309
|
+
// obtapi's Settings\ViewController::applyThemePreset(). `overrides`
|
|
310
|
+
// mirrors the SAME shape as a themes.tokens row (colors.light/dark +
|
|
311
|
+
// theme), deep-merged on top of the preset - only the keys actually
|
|
312
|
+
// overridden need to be present.
|
|
313
|
+
theme?: {
|
|
314
|
+
preset: string
|
|
315
|
+
overrides: Record<string, any>
|
|
316
|
+
} | null
|
|
305
317
|
}
|
|
306
318
|
|
|
307
319
|
// Edited: Ferjolt Ozuni - Date: 2026-07-18
|