From 9e38a66df8ef51a0a1552f1acc851c01e3fb6791 Mon Sep 17 00:00:00 2001 From: Oscar Hinton Date: Thu, 1 Jun 2023 11:07:50 +0200 Subject: [PATCH] [PM-2362] Move select options to sso component (#5497) --- .github/whitelist-capital-letters.txt | 1 - .../bit-web/src/app/auth/sso/sso.component.ts | 7 ++++++- libs/angular/src/interfaces/selectOptions.ts | 5 ----- 3 files changed, 6 insertions(+), 7 deletions(-) delete mode 100644 libs/angular/src/interfaces/selectOptions.ts diff --git a/.github/whitelist-capital-letters.txt b/.github/whitelist-capital-letters.txt index 1fbed379d6..c62b6947ee 100644 --- a/.github/whitelist-capital-letters.txt +++ b/.github/whitelist-capital-letters.txt @@ -23,7 +23,6 @@ ./libs/angular/src/validators/inputsFieldMatch.validator.ts ./libs/angular/src/validators/notAllowedValueAsync.validator.ts ./libs/angular/src/services/theming/themeBuilder.ts -./libs/angular/src/interfaces/selectOptions.ts ./libs/common/src/misc/nodeUtils.ts ./libs/common/src/misc/linkedFieldOption.decorator.ts ./libs/common/src/misc/serviceUtils.ts diff --git a/bitwarden_license/bit-web/src/app/auth/sso/sso.component.ts b/bitwarden_license/bit-web/src/app/auth/sso/sso.component.ts index f6646bd2f9..3ccdbbdff3 100644 --- a/bitwarden_license/bit-web/src/app/auth/sso/sso.component.ts +++ b/bitwarden_license/bit-web/src/app/auth/sso/sso.component.ts @@ -9,7 +9,6 @@ import { import { ActivatedRoute } from "@angular/router"; import { concatMap, Subject, takeUntil } from "rxjs"; -import { SelectOptions } from "@bitwarden/angular/interfaces/selectOptions"; import { ControlsOf } from "@bitwarden/angular/types/controls-of"; import { ApiService } from "@bitwarden/common/abstractions/api.service"; import { ConfigServiceAbstraction } from "@bitwarden/common/abstractions/config/config.service.abstraction"; @@ -35,6 +34,12 @@ import { Utils } from "@bitwarden/common/misc/utils"; import { ssoTypeValidator } from "./sso-type.validator"; +interface SelectOptions { + name: string; + value: any; + disabled?: boolean; +} + const defaultSigningAlgorithm = "http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"; @Component({ diff --git a/libs/angular/src/interfaces/selectOptions.ts b/libs/angular/src/interfaces/selectOptions.ts deleted file mode 100644 index 19da14d9f3..0000000000 --- a/libs/angular/src/interfaces/selectOptions.ts +++ /dev/null @@ -1,5 +0,0 @@ -export interface SelectOptions { - name: string; - value: any; - disabled?: boolean; -}