Module: item
Enumerations
Classes
Interfaces
Type Aliases
Tag
Ƭ Tag: string
A tag that can be assigned to a VaultItem
Defined in
VaultItemID
Ƭ VaultItemID: string
Unique identifier for VaultItems
Defined in
Variables
FIELD_DEFS
• Const
FIELD_DEFS: { [t in FieldType]: FieldDef }
Available field types and respective meta data (order matters for pattern matching)
Defined in
ITEM_TEMPLATES
• Const
ITEM_TEMPLATES:
ItemTemplate
[]
Defined in
Functions
createVaultItem
▸ createVaultItem(__namedParameters
):
Promise
<VaultItem
>
Creates a new vault item
Parameters
Name | Type |
---|---|
__namedParameters |
Partial <VaultItem > |
Returns
Promise
<VaultItem
>
Defined in
guessFieldType
▸ guessFieldType(__namedParameters
):
FieldType
Guesses the most appropriate field type based on field name and value
Parameters
Name | Type |
---|---|
__namedParameters |
Object |
__namedParameters.masked? |
boolean |
__namedParameters.name |
string |
__namedParameters.value? |
string |
Returns
Defined in
normalizeTag
▸ normalizeTag(tag
): Tag
Normalizes a tag value by removing invalid characters
Parameters
Name | Type |
---|---|
tag |
string |