interface ObjectResolver<TResult extends EmptyObject> {
    priority: ObjectResolverPriority;
    resolve<T extends object = TResult>(): Promisable<undefined | T>;
    resolve<T extends object = TResult>(
        all: "*",
        options?: ObjectFilterOptions<T>,
    ): Promisable<T[]>;
    resolve<T extends object = TResult>(
        id: string,
        options?: ObjectFilterOptions<T>,
    ): Promisable<undefined | T>;
    resolve<T extends object = TResult>(
        filter: ObjectFilter<T>,
        options?: ObjectFilterOptions<T>,
    ): Promisable<T[]>;
    resolve<T extends object = TResult>(
        filter?: ObjectFilter<T>,
        options?: ObjectFilterOptions<T>,
    ): Promisable<T[]>;
    resolve<T extends object = TResult>(
        idOrFilter?: string | ObjectFilter<T>,
        options?: ObjectFilterOptions<T>,
    ): Promisable<undefined | T | T[]>;
    resolvePrivate<T extends object = TResult>(
        all: "*",
        options?: ObjectFilterOptions<T>,
    ): Promise<T[]>;
    resolvePrivate<T extends object = TResult>(
        id: string,
        options?: ObjectFilterOptions<T>,
    ): Promise<undefined | T>;
    resolvePrivate<T extends object = TResult>(
        id: string,
        options?: ObjectFilterOptions<T>,
    ): Promise<undefined | T | T[]>;
}

Type Parameters

Hierarchy (View Summary)

Properties

Methods

Properties

Methods

  • Type Parameters

    Returns Promisable<undefined | T>

  • Type Parameters

    Parameters

    Returns Promisable<T[]>

  • Type Parameters

    Parameters

    Returns Promisable<undefined | T>

  • Type Parameters

    Parameters

    Returns Promisable<T[]>

  • Type Parameters

    Parameters

    Returns Promisable<T[]>

  • Type Parameters

    Parameters

    Returns Promisable<undefined | T | T[]>

  • Type Parameters

    Parameters

    Returns Promise<T[]>

  • Type Parameters

    Parameters

    Returns Promise<undefined | T>

  • Type Parameters

    Parameters

    Returns Promise<undefined | T | T[]>