Merge branch 'staging_environment' of gitlab.com:brandx/bxt-app into staging_environment

This commit is contained in:
Carter 2025-05-22 15:11:31 -06:00
commit 422ee9a070
7 changed files with 32 additions and 7 deletions

View file

@ -14,6 +14,7 @@ interface FeatureVersionByPlatform {
v2CellGreen: string;
v2WifiBlue: string;
v2CellBlue: string;
v2EthBlue: string;
}
const featureVersions: Map<string, FeatureVersionByPlatform> = new Map([
@ -29,7 +30,8 @@ const featureVersions: Map<string, FeatureVersionByPlatform> = new Map([
v2CellBlack: "2.0.44",
v2CellGreen: "2.0.44",
v2WifiBlue: "2.0.44",
v2CellBlue: "2.0.44"
v2CellBlue: "2.0.44",
v2EthBlue: "2.0.44"
}
]
]);
@ -118,6 +120,8 @@ export class Device {
return this.status.firmwareVersion >= versions.v2WifiBlue;
case pond.DevicePlatform.DEVICE_PLATFORM_V2_CELLULAR_BLUE:
return this.status.firmwareVersion >= versions.v2CellBlue;
case pond.DevicePlatform.DEVICE_PLATFORM_V2_ETHERNET_BLUE:
return this.status.firmwareVersion >= versions.v2EthBlue;
default:
return false;
}