mirror of
https://github.com/bitwarden/browser
synced 2025-12-18 09:13:33 +00:00
* fix(enums-eslint): Enum Rule for ESLint - Added enums in the warnings for eslint. * fix(enums-eslint): Enum Rule for ESLint - Updated to error in both places for enums. * fix(enums-eslint): Enum Rule for ESLint - Added new eslint plugin for warning on enums. * fix(enums-eslint): Enum Rule for ESLint - Changed based on suggestion. Co-authored-by: Andreas Coroiu <acoroiu@bitwarden.com> * refactor(browser-platform-utils): Remove Deprecation and Fix Code - Changed usages of firefox to private and moved the usages to the preferred public method and removed the deprecations. * fix(enums-eslint): Enum Rule for ESLint - Updated to error and added disable rules for all other places. * fix(enums-eslint): Enum Rule for ESLint - Undid other changes by accident
16 lines
463 B
TypeScript
16 lines
463 B
TypeScript
/**
|
|
* The preferred push technology of the server.
|
|
*/
|
|
// FIXME: update to use a const object instead of a typescript enum
|
|
// eslint-disable-next-line @bitwarden/platform/no-enums
|
|
export enum PushTechnology {
|
|
/**
|
|
* Indicates that we should use SignalR over web sockets to receive push notifications from the server.
|
|
*/
|
|
SignalR = 0,
|
|
/**
|
|
* Indicatates that we should use WebPush to receive push notifications from the server.
|
|
*/
|
|
WebPush = 1,
|
|
}
|