Class FieldType

Generic Document Type.

Constructors

  • Parameters

    • source: DeepPartial<FieldType> = {}

    Returns FieldType

Properties

commonType: null | CommonFieldType

Commonly occurring fields that have the same semantic meaning in different document types will often have a set common type.

fullName: string

Unique global field type name prefixed with the document types of all containing documents.

listIndex: null | number = null

A document can contain multiple fields of the same name, the property serves for storing natural order of such fields, null if multiple entries aren't allowed for this field.

name: string

Local field type name scoped to the containing document type.

normalizedName: string

Normalized global field type name. Fields in document types derived from the same base document type in the schema will have the same normalized name.