Interface ClientInterface

The interface that any auditor client must implement

interface ClientInterface {
    create(ev): Promise<void>;
    read(ev): Promise<void>;
    update<T>(ev): Promise<void>;
    delete(ev): Promise<void>;
    diff<T>(prev, next, rels): Changes<T>;
}

Methods

  • Type Parameters

    • T

    Parameters

    • prev: undefined | null | T
    • next: Partial<T>
    • rels: {
          [k in string | number | symbol]?: string
      }

    Returns Changes<T>

Generated using TypeDoc