Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface IDataStoreParameters<SchemaType>

Type parameters

  • SchemaType

Hierarchy

  • IDataStoreParameters

Index

Properties

Optional algorithm

algorithm: undefined | string

The algorithm used on encryption

default

'aes-256-cbc'

Optional encrypt

encrypt: undefined | boolean

Active mechanism of encryption

default

true

fileName

fileName: string

The name od file to save data

Optional overwrite

overwrite: undefined | boolean

Can overwrite data on file ? If omited, false is default

default

true

schema

schema: SchemaType

Object base to use as schema

Optional secret

secret: undefined | string

The string key to encrypt/decrypt If omited, a random key will be generate

Generated using TypeDoc