Skip to content
This repository has been archived by the owner on Jul 15, 2022. It is now read-only.

LIVE-545 Add feature flag for enabling USB firmware update on LLM #1843

Merged
Merged
4 changes: 4 additions & 0 deletions src/errors.ts
Original file line number Diff line number Diff line change
Expand Up @@ -205,6 +205,10 @@ export const FreshAddressIndexInvalid = createCustomErrorClass(
"FreshAddressIndexInvalid"
);

export const BluetoothNotSupportedError = createCustomErrorClass(
"FwUpdateBluetoothNotSupported"
);

export const UnsupportedDerivation = createCustomErrorClass(
"UnsupportedDerivation"
);
Expand Down
7 changes: 6 additions & 1 deletion src/featureFlags/types.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
// Add others with union (e.g. "learn" | "market" | "foo")
export type FeatureId = "learn" | "pushNotifications" | "ratings";
export type FeatureId =
| "learn"
| "pushNotifications"
| "llmUsbFirmwareUpdate"
| "ratings"
| string;

// We use objects instead of direct booleans for potential future improvements
// like feature versioning etc
Expand Down