Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface BaseType<T>

An abstract base type defining the common characteristics of all SchemaTypes

Type parameters

  • T

Hierarchy

Index

Properties

Optional attributeName

attributeName: undefined | string

The key in which this value will be persisted in DynamoDB. If not provided, the key will be assumed to be the same in the input and in the persisted record.

Optional defaultProvider

defaultProvider: undefined | function

An optional default value factory. If a type has a defined defaultProvider and its value is undefined in the provided input, the defaultProvider will be called and its return value serialized.

type

type: TypeTag

The type of node represented by this object.