QueryBinding.descriptor
property · packages/remote-domain/src/adapter/query.ts:70
readonly descriptor: DRemote / foldkit-remote-domain
interface · packages/remote-domain/src/adapter/query.ts:69
interface QueryBinding<
D extends AnyListQuery = AnyListQuery,
A extends AnyApi = AnyApi,
> {
readonly descriptor: D
readonly api: A
readonly query: PagedQueryNameOf<A>
readonly entity: string
readonly input: (input: unknown) => unknown
readonly id: (entry: unknown) => string
readonly rejections: ReadonlyArray<Domain.Rejection.Any>
}A Remote query bound to the Domain Query that answers it.
QueryBinding.descriptorproperty · packages/remote-domain/src/adapter/query.ts:70
readonly descriptor: DQueryBinding.apiproperty · packages/remote-domain/src/adapter/query.ts:71
readonly api: AQueryBinding.queryproperty · packages/remote-domain/src/adapter/query.ts:72
readonly query: PagedQueryNameOf<A>QueryBinding.entityproperty · packages/remote-domain/src/adapter/query.ts:74
readonly entity: stringThe Entity the list's rows are, which must have a View bound in the same layer.
QueryBinding.inputproperty · packages/remote-domain/src/adapter/query.ts:75
readonly input: (input: unknown) => unknownQueryBinding.idproperty · packages/remote-domain/src/adapter/query.ts:76
readonly id: (entry: unknown) => stringQueryBinding.rejectionsproperty · packages/remote-domain/src/adapter/query.ts:77
readonly rejections: ReadonlyArray<Domain.Rejection.Any>