Skip to main content

Type Alias: QueriedObject

QueriedObject = object

Defined in: packages/core/src/data/types/entities.ts:767

The QueriedObject represents the object that the current requests is subjected to.

Querying by taxonomy and/or author will set the queried object.

Properties

author?

optional author: AuthorEntity

Defined in: packages/core/src/data/types/entities.ts:771

If the request is an author query, this will be populated with the author object


optional search: SearchEntity

Defined in: packages/core/src/data/types/entities.ts:781

If the request is a search query, this will be populated with the search entity object


term?

optional term: TermEntity

Defined in: packages/core/src/data/types/entities.ts:776

If the request is a term query, this will be populated with the term object