Interface UseGetCubicWebEntityQueryParams<E, EntityType>

Parameters to describe how to build a query to the API.

Type Parameters

  • E extends EntityRawSchemaArray

  • EntityType extends E[number]["type"]

Hierarchy

  • UseGetCubicWebEntityQueryParams

Properties

eid: number

The eid of the entity you want to fetch.

includeObjectRelations?: boolean

True if you want to include object relations. Defaults to false.

omittedFields?: string[]

Which attributes/relations you want to ignore while fetching the entity.

type: EntityType

The entity type you want to fetch. Allows the lib to know which entity schema to return.

Generated using TypeDoc