Type Alias Query<T>

Query: T extends object ? { [K in keyof T]?: Query<T[K]> } : T

Query<T> is the type of queries for searching for contracts of template or interface type T.

Query<T> is an object consisting of a subset of the fields of T.

Comparison queries are not yet supported.

NB: This type is heavily related to the DeepPartial type that can be found in the TypeScript community.

Type Parameters

  • T

T The contract template type.