Remote / foldkit-remote-server

EntitySourceContext

interface · packages/remote-server/src/index.ts:91

interface EntitySourceContext<P> {
  readonly ids: readonly string[]
  readonly fields: readonly string[]
  readonly windows?: Readonly<Record<string, QueryWindow>> | undefined
  readonly principal: P
}

Members

EntitySourceContext.ids

property · packages/remote-server/src/index.ts:92

readonly ids: readonly string[]

EntitySourceContext.fields

property · packages/remote-server/src/index.ts:93

readonly fields: readonly string[]

EntitySourceContext.windows

property · packages/remote-server/src/index.ts:95

readonly windows?: Readonly<Record<string, QueryWindow>> | undefined

A pagination window per requested relation field.

EntitySourceContext.principal

property · packages/remote-server/src/index.ts:96

readonly principal: P