From 7f45fd02c046dcf1e966695dc63c1caa7473e4c0 Mon Sep 17 00:00:00 2001 From: Kyle Spearrin Date: Wed, 1 Nov 2017 15:48:24 -0400 Subject: [PATCH] added static props so we can start using them --- src/services/constants.service.ts | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/src/services/constants.service.ts b/src/services/constants.service.ts index 51b8b3ef..6285ec9a 100644 --- a/src/services/constants.service.ts +++ b/src/services/constants.service.ts @@ -1,5 +1,16 @@ export default class ConstantsService { - // TODO: these should probably all be made static + static readonly environmentUrlsKey: string = 'environmentUrls'; + static readonly disableGaKey: string = 'disableGa'; + static readonly disableAddLoginNotificationKey: string = 'disableAddLoginNotification'; + static readonly disableContextMenuItemKey: string = 'disableContextMenuItem'; + static readonly disableFaviconKey: string = 'disableFavicon'; + static readonly disableAutoTotpCopyKey: string = 'disableAutoTotpCopy'; + static readonly enableAutoFillOnPageLoadKey: string = 'enableAutoFillOnPageLoad'; + static readonly lockOptionKey: string = 'lockOption'; + static readonly lastActiveKey: string = 'lastActive'; + static readonly generatedPasswordHistoryKey: string = 'generatedPasswordHistory'; + + // TODO: remove these instance properties once all references are reading from the static properties readonly environmentUrlsKey: string = 'environmentUrls'; readonly disableGaKey: string = 'disableGa'; readonly disableAddLoginNotificationKey: string = 'disableAddLoginNotification';