import { EntryPropertyValueType , EntryType } from "../types" ; export type EntryPropertyTypeIndex = { [ key in EntryPropertyValueType ] : { title : string ; slug : EntryPropertyValueType ; } ; } ; export type EntryTypeIndex = { [ key in EntryType ] : { title : string ; slug : EntryType ; } ; } ; memberof export const DEFAULT_ENTRY_TYPE = EntryType . Login ; memberof export const DEFAULT_FIELD_TYPE = EntryPropertyValueType . Text ; memberof export const ENTRY_TYPES = { [ EntryType . CreditCard ] : { title : "Credit Card" , slug : EntryType . CreditCard } , [ EntryType . Login ] : { title : "Login" , slug : EntryType . Login } , [ EntryType . Note ] : { title : "Note" , slug : EntryType . Note } , [ EntryType . SSHKey ] : { title : "SSH Key Pair" , slug : EntryType . SSHKey } , [ EntryType . Website ] : { title : "Website Login" , slug : EntryType . Website } } ; export const FACADE_VERSION = 2 ; memberof export const FIELD_VALUE_TYPES = { [ EntryPropertyValueType . Note ] : { title : "Note" , slug : EntryPropertyValueType . Note } , [ EntryPropertyValueType . OTP ] : { title : "OTP (One Time Password)" , slug : EntryPropertyValueType . OTP } , [ EntryPropertyValueType . Password ] : { title : "Password (secret)" , slug : EntryPropertyValueType . Password } , [ EntryPropertyValueType . Text ] : { title : "Text (default)" , slug : EntryPropertyValueType . Text } } ;