1
0
mirror of https://github.com/bitwarden/mobile.git synced 2024-09-27 03:52:57 +02:00
bitwarden-mobile/src/Core/Enums/LinkedIdType.cs
Thomas Rittson 90b62d61ae
[Linked fields] Add Linked Field as a custom field type (#1563)
* Add linked fields support

* Fix style, don't show linked field if Secure Note

* Finish basic linked fields for Login

* Use Field.LinkedId to store linked field info

* Reset Linked Custom Fields if cipherType changes

* Refactor to use ItemView class

* Use enum for LinkedId

* Detect if no linkedFieldOptions
2021-11-09 07:34:16 +10:00

39 lines
985 B
C#

namespace Bit.Core.Enums {
public enum LinkedIdType: int
{
// Login
Login_Username = 100,
Login_Password = 101,
// Card
Card_CardholderName = 300,
Card_ExpMonth = 301,
Card_ExpYear = 302,
Card_Code = 303,
Card_Brand = 304,
Card_Number = 305,
// Identity
Identity_Title = 400,
Identity_MiddleName = 401,
Identity_Address1 = 402,
Identity_Address2 = 403,
Identity_Address3 = 404,
Identity_City = 405,
Identity_State = 406,
Identity_PostalCode = 407,
Identity_Country = 408,
Identity_Company = 409,
Identity_Email = 410,
Identity_Phone = 411,
Identity_Ssn = 412,
Identity_Username = 413,
Identity_PassportNumber = 414,
Identity_LicenseNumber = 415,
Identity_FirstName = 416,
Identity_LastName = 417,
Identity_FullName = 418,
}
}