1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-20 10:13:31 +00:00

Move card brand fieldnames to CC constants

This commit is contained in:
Daniel James Smith
2022-01-02 14:18:17 +01:00
parent 7e5b50a6cb
commit 5c66dade4a
2 changed files with 9 additions and 1 deletions

View File

@@ -162,6 +162,14 @@ export class CreditCardAutoFillConstants {
"ccv",
];
static readonly CardBrandFieldNames: string[] = [
"cc-type",
"card-type",
"card-brand",
"cc-brand",
"cb-type",
];
// Each index represents a language. These three arrays should all be the same length.
// 0: English, 1: Danish, 2: German/Dutch, 3: French/Spanish/Italian, 4: Russian, 5: Portuguese
static readonly MonthAbbr = ["mm", "mm", "mm", "mm", "mm", "mm"];