namespace Bitvault; public record ItemConfiguration { public IList Sections { get; set; } = new List(); public static ItemConfiguration Identity => new() { Sections = new List { } }; public static ItemConfiguration BankAccount => new() { Sections = new List { } }; public static ItemConfiguration Note => new() { Sections = new List { } }; public static ItemConfiguration Document => new() { Sections = new List { } }; public static ItemConfiguration DrivingLicence => new() { Sections = new List { } }; public static ItemConfiguration Login => new() { Sections = new List { new() { Entries = new List { new TextEntryConfiguration { Label = "Username" }, new PasswordEntryConfiguration { Label = "Password" } } } } }; public static ItemConfiguration Password => new() { Sections = new List { new() { Entries = new List { new PasswordEntryConfiguration { Label = "Password" } } } } }; public static ItemConfiguration CreditCard => new() { Sections = new List { new() { Entries = new List { new TextEntryConfiguration { Label = "Cardholder name" }, new DropdownEntryConfiguration { Label = "Type", Values = ["American Express", "Discover", "Maestro", "Mastercard", "Visa"], }, new MaskedTextEntryConfiguration { Label = "Card number", Pattern = "0000-0000-0000-0000", Value = "____-____-____-____", }, new MaskedTextEntryConfiguration { Label = "Expiry date", Pattern = "00/00", Value = "__/__", }, new MaskedTextEntryConfiguration { Label = "Card verification code", Pattern = "000", Value = "___", }, } } } }; }