Composition / foldkit-composition/remote

QueryReader

interface · packages/composition/src/remote/index.ts:61

interface QueryReader<AppModel> {
  query(
    query: any,
    input: unknown,
    options: unknown,
  ): Projection<AppModel, RemoteData<unknown>>
}

Something a Remote domain can read a query with: what Remote.make returns has it.

Members

QueryReader.query

method · packages/composition/src/remote/index.ts:64

query(
  query: any,
  input: unknown,
  options: unknown,
): Projection<AppModel, RemoteData<unknown>>