BaseQuery: { account?: string; filter?: Record<string, string>; model?: StreamID | string; models?: (StreamID | string)[]; queryFilters?: QueryFilters; sorting?: Sorting }

Base query to the index. Disregards pagination.

Type declaration

  • Optional account?: string
  • Optional filter?: Record<string, string>

    Deprecated

    relation filters used by ComposeDB <= 0.4

  • Optional model?: StreamID | string

    Deprecated

    single model filter used by ComposeDB <= 0.5

  • Optional models?: (StreamID | string)[]

    TODO(v3): make "models" required when removing the "model" key

  • Optional queryFilters?: QueryFilters
  • Optional sorting?: Sorting