AniLink - v2.0.0
    Preparing search index...

    Interface OperationEntry<TOperation>

    One declarative wiring entry.

    interface OperationEntry<TOperation extends new (...args: never[]) => unknown> {
        methodName?: string;
        name: string;
        operationClass: TOperation;
    }

    Type Parameters

    • TOperation extends new (...args: never[]) => unknown

      The operation class implementing this entry.

    Index
    methodName?: string

    The async method on OperationEntry.operationClass that is bound and exposed on the facade. Defaults to OperationEntry.name.

    name: string

    The facade key the bound method is exposed under (e.g. "media").

    operationClass: TOperation

    The operation class. Constructed once per AniLink instance with the shared auth token and transport options.