prorm API Reference
    Preparing search index...

    Function Audit

    • Mark a model class for automatic audit logging.

      Hooks are registered via ModelClass.addHook if the method exists, so this decorator is compatible with both Prorm-style models and plain mock classes that expose addHook manually in tests.

      Parameters

      Returns ClassDecorator