@autobusal/providers 1.42.0 → 1.43.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/users.ts +6 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@autobusal/providers",
3
- "version": "1.42.0",
3
+ "version": "1.43.0",
4
4
  "author": "Ferjolt Ozuni",
5
5
  "type": "module",
6
6
  "main": "index.ts",
package/types/users.ts CHANGED
@@ -19,6 +19,12 @@ export interface UserData {
19
19
  // operator/employee accounts - whether the company's Shipments module is
20
20
  // on, so menus can hide the link instead of advertising a 403.
21
21
  shipping_enabled?: boolean | null
22
+ // Claude - 2026-08-31: whether this admin belongs to the MAIN label. Same
23
+ // job as shipping_enabled above - the platform-wide screens (database
24
+ // backups) answer a 404 to a whitelabel admin, and a menu should hide the
25
+ // link rather than advertise a door that does not open. Null for every
26
+ // non-admin type.
27
+ is_main_label?: boolean | null
22
28
  comissions: ComissionData
23
29
  subscription: SubscribedData
24
30
  api: ApiData