Magek Framework
    Preparing search index...

    Function CalculatedField

    • Decorator to mark a property as a calculated field with dependencies. Supports both legacy and Stage 3 decorators.

      Parameters

      • options: CalculatedFieldOptions

        A CalculatedFieldOptions object indicating the dependencies.

      Returns (
          target: object | Function,
          propertyKeyOrContext: string | symbol | Stage3GetterContext,
      ) => void