Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface ObjectMapping

Represents the mappings from a document to an anonymous object type.

Hierarchy

Index

Properties

flags

Readonly flags that describe the mapping. This value is assigned internally and should not be modified.

Methods

addProperty

getProperty

hasFlags

validateProperty

  • validateProperty(property: Property): string
  • Validates a property before adding it to the mapping. Returns any validation error messages or undefined if none.

    Parameters

    • property: Property

      The property to validate.

    Returns string

    The error message.

Generated using TypeDoc