XYO Platform SDK - v3.10.6
    Preparing search index...

    Interface ObjectResolver<TResult>

    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>(
            id?: string,
            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)

    Index

    Properties

    Methods

    Properties

    Methods

    • Type Parameters

      Returns Promisable<undefined | T>

      do not pass undefined. If trying to get all, pass '*'

    • Type Parameters

      Parameters

      Returns Promisable<T[]>

    • Type Parameters

      Parameters

      Returns Promisable<undefined | 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[]>