Skip to main content

Interface: SearchObjectEntity

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

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

Interfaces that extends from this one are:

Extends​

Extended by​

Indexable​

[k: string]: unknown

Properties​

id​

id: number

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

Unique identifier for the object.


title​

title: string

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

The title for the object.


type​

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

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

Type of Search for the object.


url​

url: string

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

URL to the object.


yoast_head?​

optional yoast_head: null | string

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

Inherited from​

Entity.yoast_head


yoast_head_json?​

optional yoast_head_json: null | YoastJSON

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

Inherited from​

Entity.yoast_head_json