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>( 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[]>;} Properties
priority
Methods
resolve
- resolve<T extends object = TResult>(): Promisable<undefined | T>
Returns Promisable<undefined | T>
- resolve<T extends object = TResult>(
all: "*",
options?: ObjectFilterOptions<T>,
): Promisable<T[]> Returns Promisable<T[]>
- resolve<T extends object = TResult>(
id: string,
options?: ObjectFilterOptions<T>,
): Promisable<undefined | T> Returns Promisable<undefined | T>
- resolve<T extends object = TResult>(
filter: ObjectFilter<T>,
options?: ObjectFilterOptions<T>,
): Promisable<T[]> Returns Promisable<T[]>
- resolve<T extends object = TResult>(
filter?: ObjectFilter<T>,
options?: ObjectFilterOptions<T>,
): Promisable<T[]> Returns Promisable<T[]>
- resolve<T extends object = TResult>(
idOrFilter?: string | ObjectFilter<T>,
options?: ObjectFilterOptions<T>,
): Promisable<undefined | T | T[]> Returns Promisable<undefined | T | T[]>
resolvePrivate
- resolvePrivate<T extends object = TResult>(
all: "*",
options?: ObjectFilterOptions<T>,
): Promise<T[]> Returns Promise<T[]>
- resolvePrivate<T extends object = TResult>(
id: string,
options?: ObjectFilterOptions<T>,
): Promise<undefined | T> Returns Promise<undefined | T>
- resolvePrivate<T extends object = TResult>(
id: string,
options?: ObjectFilterOptions<T>,
): Promise<undefined | T | T[]> Returns Promise<undefined | T | T[]>