Options
All
  • Public
  • Public/Protected
  • All
Menu

The case of a successful mergeConfiguration: no errors, eventually some intrus.

Intrus are the fields in newAttributes that are actually not part of the original data structure.

Type parameters

  • T

Hierarchy

Index

Constructors

Properties

Constructors

constructor

  • new ConsistentConfiguration<T>(original: T, newAttributes: any, result: T, intrus?: string[]): ConsistentConfiguration<T>
  • Type parameters

    • T

    Parameters

    • original: T

      static persistent data (in Flux: the one defined in the settings panel of the module)

    • newAttributes: any

      the attributes that have been requested to be updated (e.g. those returned in the configuration part returned by an adaptor)

    • result: T

      the result of merging original with newAttributes

    • intrus: string[] = ...

      a list of intrus: fields in newAttributes that are actually not part of the original data structure. The values of the array are the path to the attributes.

    Returns ConsistentConfiguration<T>

Properties

Readonly intrus

intrus: string[] = ...

Readonly newAttributes

newAttributes: any

Readonly original

original: T

Readonly result

result: T

Generated using TypeDoc