A class responsible for tracking issues in the current world.

Accessors

  • get validationFailures(): object

    Retrieve the tracked validation failures.

    Returns object

Methods

  • Internal

    Add an invalid Document to the module-provided sub-type counts.

    Parameters

    • cls: new () => Document

      The Document class.

    • source: object

      The Document's source data.

    • Optionaloptions: { decrement?: boolean } = {}
      • Optionaldecrement?: boolean

        Decrement the counter rather than incrementing it.

    Returns void

  • Internal

    Detect and record certain usability error messages which are likely to result in the user having a bad experience.

    Returns void

  • Internal

    Detect and display warnings for known performance issues which may occur due to the user's hardware or browser configuration.

    Returns void

  • Internal

    Track a validation failure that occurred in a WorldCollection.

    Parameters

    • collection: WorldCollection<any>

      The parent collection.

    • source: object

      The Document's source data.

    • error: DataModelValidationError

      The validation error.

    Returns void