Interface: PostSearchEntity
Defined in: packages/core/src/data/types/entities.ts:677
Interface for posts entities from the /wp/v2/search endpoint.
Extends
Indexable
[k: string]: unknown
Properties
_embedded
_embedded:
object
Defined in: packages/core/src/data/types/entities.ts:687
author
author:
AuthorEntity[]
self
self:
PostEntity[]
wp:term
wp:term:
TermEntity[][]
author?
optionalauthor:AuthorEntity[]
Defined in: packages/core/src/data/types/entities.ts:683
id
id:
number
Defined in: packages/core/src/data/types/entities.ts:656
Unique identifier for the object.
Inherited from
subtype
subtype:
string
Defined in: packages/core/src/data/types/entities.ts:681
Subtype of Search for the object.
terms?
optionalterms:Record<string,TermEntity[]>
Defined in: packages/core/src/data/types/entities.ts:685
title
title:
string
Defined in: packages/core/src/data/types/entities.ts:666
The title for the object.
Inherited from
type
type:
"post"|"term"|"post-format"
Defined in: packages/core/src/data/types/entities.ts:671
Type of Search for the object.
Inherited from
url
url:
string
Defined in: packages/core/src/data/types/entities.ts:661
URL to the object.
Inherited from
yoast_head?
optionalyoast_head:null|string
Defined in: packages/core/src/data/types/entities.ts:17
Inherited from
yoast_head_json?
optionalyoast_head_json:null|YoastJSON
Defined in: packages/core/src/data/types/entities.ts:16