Skip to main content

Interface: SearchObjectEntity

@headstartwp/core.SearchObjectEntity

Interface for search object entities from the /wp/v2/search endpoint.

Interfaces that extends from this one are:

Hierarchy

Properties

id

id: number

Unique identifier for the object.

Defined in

packages/core/src/data/types/entities.ts:658


title

title: string

The title for the object.

Defined in

packages/core/src/data/types/entities.ts:668


type

type: "post" | "term" | "post-format"

Type of Search for the object.

Defined in

packages/core/src/data/types/entities.ts:673


url

url: string

URL to the object.

Defined in

packages/core/src/data/types/entities.ts:663


yoast_head

Optional yoast_head: null | string

Inherited from

Entity.yoast_head

Defined in

packages/core/src/data/types/entities.ts:14


yoast_head_json

Optional yoast_head_json: null | Record<string, any>

Inherited from

Entity.yoast_head_json

Defined in

packages/core/src/data/types/entities.ts:13